nextjs-studio 1.0.1 → 1.0.5

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 (236) hide show
  1. package/dist/bin/nextjs-studio.js +6246 -64
  2. package/dist/cli/ui/standalone.tar.gz +0 -0
  3. package/dist/{query-builder-KXz9cPzF.d.ts → query-builder-BOu-D7a1.d.ts} +10 -0
  4. package/package.json +102 -122
  5. package/dist/bin/nextjs-studio.d.ts +0 -1
  6. package/dist/bin/nextjs-studio.js.map +0 -1
  7. package/dist/cli/ui/.next/BUILD_ID +0 -1
  8. package/dist/cli/ui/.next/app-path-routes-manifest.json +0 -12
  9. package/dist/cli/ui/.next/build-manifest.json +0 -20
  10. package/dist/cli/ui/.next/export-marker.json +0 -6
  11. package/dist/cli/ui/.next/images-manifest.json +0 -67
  12. package/dist/cli/ui/.next/next-minimal-server.js.nft.json +0 -1
  13. package/dist/cli/ui/.next/next-server.js.nft.json +0 -1
  14. package/dist/cli/ui/.next/package.json +0 -1
  15. package/dist/cli/ui/.next/prerender-manifest.json +0 -61
  16. package/dist/cli/ui/.next/react-loadable-manifest.json +0 -286
  17. package/dist/cli/ui/.next/required-server-files.js +0 -338
  18. package/dist/cli/ui/.next/required-server-files.json +0 -338
  19. package/dist/cli/ui/.next/routes-manifest.json +0 -125
  20. package/dist/cli/ui/.next/server/app/_global-error/page.js +0 -3
  21. package/dist/cli/ui/.next/server/app/_global-error/page.js.nft.json +0 -1
  22. package/dist/cli/ui/.next/server/app/_global-error/page_client-reference-manifest.js +0 -1
  23. package/dist/cli/ui/.next/server/app/_global-error.html +0 -2
  24. package/dist/cli/ui/.next/server/app/_global-error.meta +0 -16
  25. package/dist/cli/ui/.next/server/app/_global-error.rsc +0 -12
  26. package/dist/cli/ui/.next/server/app/_global-error.segments/_full.segment.rsc +0 -12
  27. package/dist/cli/ui/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +0 -5
  28. package/dist/cli/ui/.next/server/app/_global-error.segments/_global-error.segment.rsc +0 -4
  29. package/dist/cli/ui/.next/server/app/_global-error.segments/_head.segment.rsc +0 -5
  30. package/dist/cli/ui/.next/server/app/_global-error.segments/_index.segment.rsc +0 -4
  31. package/dist/cli/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +0 -1
  32. package/dist/cli/ui/.next/server/app/_not-found/page.js +0 -2
  33. package/dist/cli/ui/.next/server/app/_not-found/page.js.nft.json +0 -1
  34. package/dist/cli/ui/.next/server/app/_not-found/page_client-reference-manifest.js +0 -1
  35. package/dist/cli/ui/.next/server/app/_not-found.html +0 -1
  36. package/dist/cli/ui/.next/server/app/_not-found.meta +0 -16
  37. package/dist/cli/ui/.next/server/app/_not-found.rsc +0 -15
  38. package/dist/cli/ui/.next/server/app/_not-found.segments/_full.segment.rsc +0 -15
  39. package/dist/cli/ui/.next/server/app/_not-found.segments/_head.segment.rsc +0 -5
  40. package/dist/cli/ui/.next/server/app/_not-found.segments/_index.segment.rsc +0 -7
  41. package/dist/cli/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +0 -5
  42. package/dist/cli/ui/.next/server/app/_not-found.segments/_not-found.segment.rsc +0 -4
  43. package/dist/cli/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +0 -2
  44. package/dist/cli/ui/.next/server/app/api/media/[collection]/[filename]/route.js +0 -1
  45. package/dist/cli/ui/.next/server/app/api/media/[collection]/[filename]/route.js.nft.json +0 -1
  46. package/dist/cli/ui/.next/server/app/api/media/[collection]/[filename]/route_client-reference-manifest.js +0 -1
  47. package/dist/cli/ui/.next/server/app/api/media/[collection]/route.js +0 -1
  48. package/dist/cli/ui/.next/server/app/api/media/[collection]/route.js.nft.json +0 -1
  49. package/dist/cli/ui/.next/server/app/api/media/[collection]/route_client-reference-manifest.js +0 -1
  50. package/dist/cli/ui/.next/server/app/api/public/[...path]/route.js +0 -1
  51. package/dist/cli/ui/.next/server/app/api/public/[...path]/route.js.nft.json +0 -1
  52. package/dist/cli/ui/.next/server/app/api/public/[...path]/route_client-reference-manifest.js +0 -1
  53. package/dist/cli/ui/.next/server/app/api/sync/[collection]/route.js +0 -1
  54. package/dist/cli/ui/.next/server/app/api/sync/[collection]/route.js.nft.json +0 -1
  55. package/dist/cli/ui/.next/server/app/api/sync/[collection]/route_client-reference-manifest.js +0 -1
  56. package/dist/cli/ui/.next/server/app/api/watch/route.js +0 -3
  57. package/dist/cli/ui/.next/server/app/api/watch/route.js.nft.json +0 -1
  58. package/dist/cli/ui/.next/server/app/api/watch/route_client-reference-manifest.js +0 -1
  59. package/dist/cli/ui/.next/server/app/collection/[name]/[slug]/page.js +0 -99
  60. package/dist/cli/ui/.next/server/app/collection/[name]/[slug]/page.js.nft.json +0 -1
  61. package/dist/cli/ui/.next/server/app/collection/[name]/[slug]/page_client-reference-manifest.js +0 -1
  62. package/dist/cli/ui/.next/server/app/collection/[name]/page.js +0 -5
  63. package/dist/cli/ui/.next/server/app/collection/[name]/page.js.nft.json +0 -1
  64. package/dist/cli/ui/.next/server/app/collection/[name]/page_client-reference-manifest.js +0 -1
  65. package/dist/cli/ui/.next/server/app/page.js +0 -2
  66. package/dist/cli/ui/.next/server/app/page.js.nft.json +0 -1
  67. package/dist/cli/ui/.next/server/app/page_client-reference-manifest.js +0 -1
  68. package/dist/cli/ui/.next/server/app-paths-manifest.json +0 -12
  69. package/dist/cli/ui/.next/server/chunks/1875.js +0 -1
  70. package/dist/cli/ui/.next/server/chunks/2198.js +0 -1
  71. package/dist/cli/ui/.next/server/chunks/2446.js +0 -36
  72. package/dist/cli/ui/.next/server/chunks/2474.js +0 -148
  73. package/dist/cli/ui/.next/server/chunks/2490.js +0 -55
  74. package/dist/cli/ui/.next/server/chunks/2717.js +0 -56
  75. package/dist/cli/ui/.next/server/chunks/2729.js +0 -166
  76. package/dist/cli/ui/.next/server/chunks/2774.js +0 -1
  77. package/dist/cli/ui/.next/server/chunks/2796.js +0 -1
  78. package/dist/cli/ui/.next/server/chunks/3145.js +0 -1
  79. package/dist/cli/ui/.next/server/chunks/3186.js +0 -1
  80. package/dist/cli/ui/.next/server/chunks/3494.js +0 -24
  81. package/dist/cli/ui/.next/server/chunks/3610.js +0 -1
  82. package/dist/cli/ui/.next/server/chunks/3659.js +0 -93
  83. package/dist/cli/ui/.next/server/chunks/3744.js +0 -1
  84. package/dist/cli/ui/.next/server/chunks/3806.js +0 -136
  85. package/dist/cli/ui/.next/server/chunks/408.js +0 -1
  86. package/dist/cli/ui/.next/server/chunks/4189.js +0 -62
  87. package/dist/cli/ui/.next/server/chunks/4293.js +0 -1
  88. package/dist/cli/ui/.next/server/chunks/4469.js +0 -4
  89. package/dist/cli/ui/.next/server/chunks/4484.js +0 -1
  90. package/dist/cli/ui/.next/server/chunks/449.js +0 -82
  91. package/dist/cli/ui/.next/server/chunks/4607.js +0 -22
  92. package/dist/cli/ui/.next/server/chunks/479.js +0 -5
  93. package/dist/cli/ui/.next/server/chunks/4931.js +0 -63
  94. package/dist/cli/ui/.next/server/chunks/528.js +0 -1
  95. package/dist/cli/ui/.next/server/chunks/5341.js +0 -1
  96. package/dist/cli/ui/.next/server/chunks/5585.js +0 -29
  97. package/dist/cli/ui/.next/server/chunks/5677.js +0 -1
  98. package/dist/cli/ui/.next/server/chunks/5724.js +0 -1
  99. package/dist/cli/ui/.next/server/chunks/5760.js +0 -174
  100. package/dist/cli/ui/.next/server/chunks/5784.js +0 -24
  101. package/dist/cli/ui/.next/server/chunks/6.js +0 -262
  102. package/dist/cli/ui/.next/server/chunks/6040.js +0 -1
  103. package/dist/cli/ui/.next/server/chunks/6067.js +0 -13
  104. package/dist/cli/ui/.next/server/chunks/6553.js +0 -1
  105. package/dist/cli/ui/.next/server/chunks/6656.js +0 -201
  106. package/dist/cli/ui/.next/server/chunks/6672.js +0 -1
  107. package/dist/cli/ui/.next/server/chunks/6872.js +0 -1
  108. package/dist/cli/ui/.next/server/chunks/7146.js +0 -59
  109. package/dist/cli/ui/.next/server/chunks/7354.js +0 -1
  110. package/dist/cli/ui/.next/server/chunks/7677.js +0 -1
  111. package/dist/cli/ui/.next/server/chunks/7781.js +0 -1
  112. package/dist/cli/ui/.next/server/chunks/8194.js +0 -215
  113. package/dist/cli/ui/.next/server/chunks/8231.js +0 -1
  114. package/dist/cli/ui/.next/server/chunks/8319.js +0 -2
  115. package/dist/cli/ui/.next/server/chunks/8339.js +0 -1
  116. package/dist/cli/ui/.next/server/chunks/8775.js +0 -1
  117. package/dist/cli/ui/.next/server/chunks/9503.js +0 -43
  118. package/dist/cli/ui/.next/server/chunks/958.js +0 -131
  119. package/dist/cli/ui/.next/server/chunks/9739.js +0 -1
  120. package/dist/cli/ui/.next/server/functions-config-manifest.json +0 -4
  121. package/dist/cli/ui/.next/server/interception-route-rewrite-manifest.js +0 -1
  122. package/dist/cli/ui/.next/server/middleware-build-manifest.js +0 -1
  123. package/dist/cli/ui/.next/server/middleware-manifest.json +0 -6
  124. package/dist/cli/ui/.next/server/middleware-react-loadable-manifest.js +0 -1
  125. package/dist/cli/ui/.next/server/next-font-manifest.js +0 -1
  126. package/dist/cli/ui/.next/server/next-font-manifest.json +0 -1
  127. package/dist/cli/ui/.next/server/pages/404.html +0 -1
  128. package/dist/cli/ui/.next/server/pages/500.html +0 -2
  129. package/dist/cli/ui/.next/server/pages-manifest.json +0 -4
  130. package/dist/cli/ui/.next/server/server-reference-manifest.js +0 -1
  131. package/dist/cli/ui/.next/server/server-reference-manifest.json +0 -1
  132. package/dist/cli/ui/.next/server/webpack-runtime.js +0 -1
  133. package/dist/cli/ui/.next/static/chunks/0937d497-2b220e2d0368e918.js +0 -1
  134. package/dist/cli/ui/.next/static/chunks/1013.5541c1c75688ef6e.js +0 -1
  135. package/dist/cli/ui/.next/static/chunks/1039.d26ef6a818f26d70.js +0 -4
  136. package/dist/cli/ui/.next/static/chunks/1325.cb67348b484ce7a0.js +0 -24
  137. package/dist/cli/ui/.next/static/chunks/1858-d10f8bead2218ad2.js +0 -2
  138. package/dist/cli/ui/.next/static/chunks/1882.05c68ab6bdcd8c31.js +0 -1
  139. package/dist/cli/ui/.next/static/chunks/2011.7e73842f1e8e2cde.js +0 -1
  140. package/dist/cli/ui/.next/static/chunks/2046.73486ea936c9afd2.js +0 -1
  141. package/dist/cli/ui/.next/static/chunks/2389.b73d3a1286a228d0.js +0 -1
  142. package/dist/cli/ui/.next/static/chunks/2430.08df5899978ebf26.js +0 -43
  143. package/dist/cli/ui/.next/static/chunks/2462-4255d8f51dc56f12.js +0 -1
  144. package/dist/cli/ui/.next/static/chunks/3098-4269da0468edc350.js +0 -1
  145. package/dist/cli/ui/.next/static/chunks/317.b4fcc40f219152b1.js +0 -1
  146. package/dist/cli/ui/.next/static/chunks/3197.d2f3398e552228e4.js +0 -1
  147. package/dist/cli/ui/.next/static/chunks/3212-1a9c9d110d15abab.js +0 -4
  148. package/dist/cli/ui/.next/static/chunks/3809.8df186de2ff997f8.js +0 -1
  149. package/dist/cli/ui/.next/static/chunks/3918.caaf4eb4f6450524.js +0 -1
  150. package/dist/cli/ui/.next/static/chunks/3987-6d3217e36ae5b4dc.js +0 -1
  151. package/dist/cli/ui/.next/static/chunks/3c774391-ec08594272867fd5.js +0 -79
  152. package/dist/cli/ui/.next/static/chunks/4075052f.9006147a6182ed95.js +0 -1
  153. package/dist/cli/ui/.next/static/chunks/4389.e7a3c58aa62118e3.js +0 -82
  154. package/dist/cli/ui/.next/static/chunks/46bdbe0e-f5103600b23143b8.js +0 -1
  155. package/dist/cli/ui/.next/static/chunks/4860.2ba51d1d81857c81.js +0 -1
  156. package/dist/cli/ui/.next/static/chunks/4882.794e2a9231f129e5.js +0 -55
  157. package/dist/cli/ui/.next/static/chunks/5149.8de9918b9ace58f5.js +0 -166
  158. package/dist/cli/ui/.next/static/chunks/5230.b7c87400f0d8516f.js +0 -215
  159. package/dist/cli/ui/.next/static/chunks/5263.7adc3ade53cd4ed3.js +0 -24
  160. package/dist/cli/ui/.next/static/chunks/5313.1dfcc2126f85a8f8.js +0 -1
  161. package/dist/cli/ui/.next/static/chunks/5350-17c792e27bf38c77.js +0 -1
  162. package/dist/cli/ui/.next/static/chunks/5638.e3a2119354708654.js +0 -1
  163. package/dist/cli/ui/.next/static/chunks/5758.33b45c6c407ecd94.js +0 -1
  164. package/dist/cli/ui/.next/static/chunks/589.019158de5d02c262.js +0 -1
  165. package/dist/cli/ui/.next/static/chunks/6013.e33e73569339afee.js +0 -62
  166. package/dist/cli/ui/.next/static/chunks/6084.7511ad4ebb4f9df5.js +0 -1
  167. package/dist/cli/ui/.next/static/chunks/612.d3aeebcaaaf06fb2.js +0 -1
  168. package/dist/cli/ui/.next/static/chunks/6239.6c0cd99ea36222b6.js +0 -5
  169. package/dist/cli/ui/.next/static/chunks/6299-79a74877b87acf9f.js +0 -1
  170. package/dist/cli/ui/.next/static/chunks/6484.d38aa531768c3452.js +0 -148
  171. package/dist/cli/ui/.next/static/chunks/6505.731f74c28b8980b3.js +0 -1
  172. package/dist/cli/ui/.next/static/chunks/6584.be94a55391bcdcce.js +0 -262
  173. package/dist/cli/ui/.next/static/chunks/6800.1066ad1f5add7c75.js +0 -1
  174. package/dist/cli/ui/.next/static/chunks/7052.89e2de773d10ac20.js +0 -131
  175. package/dist/cli/ui/.next/static/chunks/7127.360abfa43dc4427e.js +0 -36
  176. package/dist/cli/ui/.next/static/chunks/7430.2b247d9ac6ef694c.js +0 -149
  177. package/dist/cli/ui/.next/static/chunks/7444.66c4d6bbc19309b3.js +0 -59
  178. package/dist/cli/ui/.next/static/chunks/7546.4cb4db4685212384.js +0 -63
  179. package/dist/cli/ui/.next/static/chunks/7564.7b9271fcf06df80c.js +0 -29
  180. package/dist/cli/ui/.next/static/chunks/7664.8268c156d8988844.js +0 -174
  181. package/dist/cli/ui/.next/static/chunks/7722-04e64cc1b26cfa65.js +0 -1
  182. package/dist/cli/ui/.next/static/chunks/8701.3995b58a75e43147.js +0 -56
  183. package/dist/cli/ui/.next/static/chunks/8800.548c3da26cfebf06.js +0 -1
  184. package/dist/cli/ui/.next/static/chunks/8814-7b64110c79ce7209.js +0 -15
  185. package/dist/cli/ui/.next/static/chunks/9058.a195d15265251194.js +0 -1
  186. package/dist/cli/ui/.next/static/chunks/9211.91144a0d23e4cf6d.js +0 -1
  187. package/dist/cli/ui/.next/static/chunks/9690.c1f08c02a675b9ce.js +0 -1
  188. package/dist/cli/ui/.next/static/chunks/9919.1ccc9ca4a749d9b7.js +0 -93
  189. package/dist/cli/ui/.next/static/chunks/app/_global-error/page-ad53913b77389472.js +0 -1
  190. package/dist/cli/ui/.next/static/chunks/app/_not-found/page-202c1e16a4b86ac8.js +0 -1
  191. package/dist/cli/ui/.next/static/chunks/app/api/media/[collection]/[filename]/route-ad53913b77389472.js +0 -1
  192. package/dist/cli/ui/.next/static/chunks/app/api/media/[collection]/route-ad53913b77389472.js +0 -1
  193. package/dist/cli/ui/.next/static/chunks/app/api/public/[...path]/route-ad53913b77389472.js +0 -1
  194. package/dist/cli/ui/.next/static/chunks/app/api/sync/[collection]/route-ad53913b77389472.js +0 -1
  195. package/dist/cli/ui/.next/static/chunks/app/api/watch/route-ad53913b77389472.js +0 -1
  196. package/dist/cli/ui/.next/static/chunks/app/collection/[name]/[slug]/page-7ea9eff252374845.js +0 -6
  197. package/dist/cli/ui/.next/static/chunks/app/collection/[name]/loading-03fc0b653e7060ae.js +0 -1
  198. package/dist/cli/ui/.next/static/chunks/app/collection/[name]/page-ad5976bebc9820cf.js +0 -1
  199. package/dist/cli/ui/.next/static/chunks/app/layout-74cd2ebe3fac00e7.js +0 -1
  200. package/dist/cli/ui/.next/static/chunks/app/page-ed5acadf20146966.js +0 -1
  201. package/dist/cli/ui/.next/static/chunks/b1767599.6a816b06e55b02a1.js +0 -1
  202. package/dist/cli/ui/.next/static/chunks/c6164070.3b9741bce302db0f.js +0 -136
  203. package/dist/cli/ui/.next/static/chunks/fb2ceba8.7fc23e46ca00cfd1.js +0 -53
  204. package/dist/cli/ui/.next/static/chunks/framework-ada624c9bf38edc6.js +0 -1
  205. package/dist/cli/ui/.next/static/chunks/main-0513ff42a7f2e1a0.js +0 -5
  206. package/dist/cli/ui/.next/static/chunks/main-app-b8d23dfb755744e8.js +0 -1
  207. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/app-error-ad53913b77389472.js +0 -1
  208. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/forbidden-ad53913b77389472.js +0 -1
  209. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/global-error-558ee1074f45044b.js +0 -1
  210. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/not-found-ad53913b77389472.js +0 -1
  211. package/dist/cli/ui/.next/static/chunks/next/dist/client/components/builtin/unauthorized-ad53913b77389472.js +0 -1
  212. package/dist/cli/ui/.next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
  213. package/dist/cli/ui/.next/static/chunks/webpack-acb903cd88aafa6f.js +0 -1
  214. package/dist/cli/ui/.next/static/css/e143949aa3f17880.css +0 -3
  215. package/dist/cli/ui/.next/static/media/034d78ad42e9620c-s.woff2 +0 -0
  216. package/dist/cli/ui/.next/static/media/0484562807a97172-s.p.woff2 +0 -0
  217. package/dist/cli/ui/.next/static/media/29a4aea02fdee119-s.woff2 +0 -0
  218. package/dist/cli/ui/.next/static/media/29e7bbdce9332268-s.woff2 +0 -0
  219. package/dist/cli/ui/.next/static/media/4c285fdca692ea22-s.p.woff2 +0 -0
  220. package/dist/cli/ui/.next/static/media/6c177e25b87fd9cd-s.woff2 +0 -0
  221. package/dist/cli/ui/.next/static/media/6c9a125e97d835e1-s.woff2 +0 -0
  222. package/dist/cli/ui/.next/static/media/8888a3826f4a3af4-s.p.woff2 +0 -0
  223. package/dist/cli/ui/.next/static/media/a1386beebedccca4-s.woff2 +0 -0
  224. package/dist/cli/ui/.next/static/media/b957ea75a84b6ea7-s.p.woff2 +0 -0
  225. package/dist/cli/ui/.next/static/media/c3bc380753a8436c-s.woff2 +0 -0
  226. package/dist/cli/ui/.next/static/media/db911767852bc875-s.woff2 +0 -0
  227. package/dist/cli/ui/.next/static/media/eafabf029ad39a43-s.p.woff2 +0 -0
  228. package/dist/cli/ui/.next/static/media/f10b8e9d91f3edcb-s.woff2 +0 -0
  229. package/dist/cli/ui/.next/static/media/fe0777f1195381cb-s.woff2 +0 -0
  230. package/dist/cli/ui/.next/static/zkOuvkSWApTVHCrj7neNk/_buildManifest.js +0 -1
  231. package/dist/cli/ui/.next/static/zkOuvkSWApTVHCrj7neNk/_ssgManifest.js +0 -1
  232. package/dist/core/index.d.ts +0 -117
  233. package/dist/core/index.js.map +0 -1
  234. package/dist/core/server.d.ts +0 -135
  235. package/dist/core/server.js +0 -707
  236. package/dist/core/server.js.map +0 -1
@@ -1 +0,0 @@
1
- "use strict";exports.id=6672,exports.ids=[6672],exports.modules={2953:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(37230);function e(a){var b=-1,c=null==a?0:a.length;for(this.__data__=new d.A;++b<c;)this.add(a[b])}e.prototype.add=e.prototype.push=function(a){return this.__data__.set(a,"__lodash_hash_undefined__"),this},e.prototype.has=function(a){return this.__data__.has(a)};let f=e},12468:(a,b,c)=>{c.d(b,{A:()=>j});var d=c(42174),e=c(42005),f=c(539),g=c(61103),h=c(51848),i=c(66283);let j=function(a,b,c){b=(0,d.A)(b,a);for(var j=-1,k=b.length,l=!1;++j<k;){var m=(0,i.A)(b[j]);if(!(l=null!=a&&c(a,m)))break;a=a[m]}return l||++j!=k?l:!!(k=null==a?0:a.length)&&(0,h.A)(k)&&(0,g.A)(m,k)&&((0,f.A)(a)||(0,e.A)(a))}},12742:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(88044),e=c(70983),f=Object.prototype.propertyIsEnumerable,g=Object.getOwnPropertySymbols;let h=g?function(a){return null==a?[]:(a=Object(a),(0,d.A)(g(a),function(b){return f.call(a,b)}))}:e.A},19875:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a){return function(b){return null==b?void 0:b[a]}}},21134:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b){for(var c=-1,d=null==a?0:a.length;++c<d;)if(b(a[c],c,a))return!0;return!1}},23481:(a,b,c)=>{c.d(b,{A:()=>f});let d=function(a,b){return null!=a&&b in Object(a)};var e=c(12468);let f=function(a,b){return null!=a&&(0,e.A)(a,b,d)}},24892:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(48921),e=c(12742),f=c(47868);let g=function(a){return(0,d.A)(a,f.A,e.A)}},36390:(a,b,c)=>{c.d(b,{A:()=>g});var d,e=c(54875),f=c(34856);let g=(d=e.A,function(a,b){if(null==a)return a;if(!(0,f.A)(a))return d(a,b);for(var c=a.length,e=-1,g=Object(a);++e<c&&!1!==b(g[e],e,g););return a})},40644:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(42174),e=c(66283);let f=function(a,b){b=(0,d.A)(b,a);for(var c=0,f=b.length;null!=a&&c<f;)a=a[(0,e.A)(b[c++])];return c&&c==f?a:void 0}},40700:(a,b,c)=>{c.d(b,{A:()=>l});var d=c(45447),e=c(67574),f=c(539),g=c(73440),h=1/0,i=d.A?d.A.prototype:void 0,j=i?i.toString:void 0;let k=function a(b){if("string"==typeof b)return b;if((0,f.A)(b))return(0,e.A)(b,a)+"";if((0,g.A)(b))return j?j.call(b):"";var c=b+"";return"0"==c&&1/b==-h?"-0":c},l=function(a){return null==a?"":k(a)}},42174:(a,b,c)=>{c.d(b,{A:()=>n});var d,e,f,g=c(539),h=c(64668),i=c(10102),j=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,k=/\\(\\)?/g,l=(d=function(a){var b=[];return 46===a.charCodeAt(0)&&b.push(""),a.replace(j,function(a,c,d,e){b.push(d?e.replace(k,"$1"):c||a)}),b},f=(e=(0,i.A)(d,function(a){return 500===f.size&&f.clear(),a})).cache,e),m=c(40700);let n=function(a,b){return(0,g.A)(a)?a:(0,h.A)(a,b)?[a]:l((0,m.A)(a))}},43845:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a){var b=-1,c=Array(a.size);return a.forEach(function(a){c[++b]=a}),c}},47868:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(88592),e=c(99973),f=c(34856);let g=function(a){return(0,f.A)(a)?(0,d.A)(a):(0,e.A)(a)}},48921:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(51946),e=c(539);let f=function(a,b,c){var f=b(a);return(0,e.A)(a)?f:(0,d.A)(f,c(a))}},51946:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b){for(var c=-1,d=b.length,e=a.length;++c<d;)a[e+c]=b[c];return a}},51949:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b){return a.has(b)}},54875:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(79076),e=c(47868);let f=function(a,b){return a&&(0,d.A)(a,b,e.A)}},64668:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(539),e=c(73440),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/;let h=function(a,b){if((0,d.A)(a))return!1;var c=typeof a;return!!("number"==c||"symbol"==c||"boolean"==c||null==a||(0,e.A)(a))||g.test(a)||!f.test(a)||null!=b&&a in Object(b)}},66283:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(73440),e=1/0;let f=function(a){if("string"==typeof a||(0,d.A)(a))return a;var b=a+"";return"0"==b&&1/a==-e?"-0":b}},67574:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b){for(var c=-1,d=null==a?0:a.length,e=Array(d);++c<d;)e[c]=b(a[c],c,a);return e}},70983:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(){return[]}},73440:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(97506),e=c(29032);let f=function(a){return"symbol"==typeof a||(0,e.A)(a)&&"[object Symbol]"==(0,d.A)(a)}},83023:(a,b,c)=>{c.d(b,{A:()=>T});var d=c(97961),e=c(2953),f=c(21134),g=c(51949);let h=function(a,b,c,d,h,i){var j=1&c,k=a.length,l=b.length;if(k!=l&&!(j&&l>k))return!1;var m=i.get(a),n=i.get(b);if(m&&n)return m==b&&n==a;var o=-1,p=!0,q=2&c?new e.A:void 0;for(i.set(a,b),i.set(b,a);++o<k;){var r=a[o],s=b[o];if(d)var t=j?d(s,r,o,b,a,i):d(r,s,o,a,b,i);if(void 0!==t){if(t)continue;p=!1;break}if(q){if(!(0,f.A)(b,function(a,b){if(!(0,g.A)(q,b)&&(r===a||h(r,a,c,d,i)))return q.push(b)})){p=!1;break}}else if(!(r===s||h(r,s,c,d,i))){p=!1;break}}return i.delete(a),i.delete(b),p};var i=c(45447),j=c(71234),k=c(24202);let l=function(a){var b=-1,c=Array(a.size);return a.forEach(function(a,d){c[++b]=[d,a]}),c};var m=c(43845),n=i.A?i.A.prototype:void 0,o=n?n.valueOf:void 0;let p=function(a,b,c,d,e,f,g){switch(c){case"[object DataView]":if(a.byteLength!=b.byteLength||a.byteOffset!=b.byteOffset)break;a=a.buffer,b=b.buffer;case"[object ArrayBuffer]":if(a.byteLength!=b.byteLength||!f(new j.A(a),new j.A(b)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,k.A)(+a,+b);case"[object Error]":return a.name==b.name&&a.message==b.message;case"[object RegExp]":case"[object String]":return a==b+"";case"[object Map]":var i=l;case"[object Set]":var n=1&d;if(i||(i=m.A),a.size!=b.size&&!n)break;var p=g.get(a);if(p)return p==b;d|=2,g.set(a,b);var q=h(i(a),i(b),d,e,f,g);return g.delete(a),q;case"[object Symbol]":if(o)return o.call(a)==o.call(b)}return!1};var q=c(24892),r=Object.prototype.hasOwnProperty;let s=function(a,b,c,d,e,f){var g=1&c,h=(0,q.A)(a),i=h.length;if(i!=(0,q.A)(b).length&&!g)return!1;for(var j=i;j--;){var k=h[j];if(!(g?k in b:r.call(b,k)))return!1}var l=f.get(a),m=f.get(b);if(l&&m)return l==b&&m==a;var n=!0;f.set(a,b),f.set(b,a);for(var o=g;++j<i;){var p=a[k=h[j]],s=b[k];if(d)var t=g?d(s,p,k,b,a,f):d(p,s,k,a,b,f);if(!(void 0===t?p===s||e(p,s,c,d,f):t)){n=!1;break}o||(o="constructor"==k)}if(n&&!o){var u=a.constructor,v=b.constructor;u!=v&&"constructor"in a&&"constructor"in b&&!("function"==typeof u&&u instanceof u&&"function"==typeof v&&v instanceof v)&&(n=!1)}return f.delete(a),f.delete(b),n};var t=c(70716),u=c(539),v=c(73503),w=c(48926),x="[object Arguments]",y="[object Array]",z="[object Object]",A=Object.prototype.hasOwnProperty;let B=function(a,b,c,e,f,g){var i=(0,u.A)(a),j=(0,u.A)(b),k=i?y:(0,t.A)(a),l=j?y:(0,t.A)(b);k=k==x?z:k,l=l==x?z:l;var m=k==z,n=l==z,o=k==l;if(o&&(0,v.A)(a)){if(!(0,v.A)(b))return!1;i=!0,m=!1}if(o&&!m)return g||(g=new d.A),i||(0,w.A)(a)?h(a,b,c,e,f,g):p(a,b,k,c,e,f,g);if(!(1&c)){var q=m&&A.call(a,"__wrapped__"),r=n&&A.call(b,"__wrapped__");if(q||r){var B=q?a.value():a,C=r?b.value():b;return g||(g=new d.A),f(B,C,c,e,g)}}return!!o&&(g||(g=new d.A),s(a,b,c,e,f,g))};var C=c(29032);let D=function a(b,c,d,e,f){return b===c||(null!=b&&null!=c&&((0,C.A)(b)||(0,C.A)(c))?B(b,c,d,e,a,f):b!=b&&c!=c)},E=function(a,b,c,e){var f=c.length,g=f,h=!e;if(null==a)return!g;for(a=Object(a);f--;){var i=c[f];if(h&&i[2]?i[1]!==a[i[0]]:!(i[0]in a))return!1}for(;++f<g;){var j=(i=c[f])[0],k=a[j],l=i[1];if(h&&i[2]){if(void 0===k&&!(j in a))return!1}else{var m=new d.A;if(e)var n=e(k,l,j,a,b,m);if(!(void 0===n?D(l,k,3,e,m):n))return!1}}return!0};var F=c(27899);let G=function(a){return a==a&&!(0,F.A)(a)};var H=c(47868);let I=function(a){for(var b=(0,H.A)(a),c=b.length;c--;){var d=b[c],e=a[d];b[c]=[d,e,G(e)]}return b},J=function(a,b){return function(c){return null!=c&&c[a]===b&&(void 0!==b||a in Object(c))}},K=function(a){var b=I(a);return 1==b.length&&b[0][2]?J(b[0][0],b[0][1]):function(c){return c===a||E(c,a,b)}};var L=c(40644);let M=function(a,b,c){var d=null==a?void 0:(0,L.A)(a,b);return void 0===d?c:d};var N=c(23481),O=c(64668),P=c(66283),Q=c(79918),R=c(19875);let S=function(a){return(0,O.A)(a)?(0,R.A)((0,P.A)(a)):function(b){return(0,L.A)(b,a)}},T=function(a){if("function"==typeof a)return a;if(null==a)return Q.A;if("object"==typeof a){var b,c;return(0,u.A)(a)?(b=a[0],c=a[1],(0,O.A)(b)&&G(c)?J((0,P.A)(b),c):function(a){var d=M(a,b);return void 0===d&&d===c?(0,N.A)(a,b):D(c,d,3)}):K(a)}return S(a)}},88044:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b){for(var c=-1,d=null==a?0:a.length,e=0,f=[];++c<d;){var g=a[c];b(g,c,a)&&(f[e++]=g)}return f}}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=6872,exports.ids=[6872],exports.modules={16872:(a,b,c)=>{c.d(b,{diagram:()=>D});var d,e=c(18194);c(33983),c(74122),c(27771),c(41462),c(82432),c(95716),c(60667),c(25793),c(51862);var f=c(66860),g=c(99103),h=c(19195),i=c(44824),j=c(6040),k=c(45547),l=(0,h.K2)(a=>a.append("circle").attr("class","start-state").attr("r",(0,g.D7)().state.sizeUnit).attr("cx",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit).attr("cy",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit),"drawStartState"),m=(0,h.K2)(a=>a.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,g.D7)().state.textHeight).attr("class","divider").attr("x2",2*(0,g.D7)().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),n=(0,h.K2)((a,b)=>{let c=a.append("text").attr("x",2*(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.textHeight+2*(0,g.D7)().state.padding).attr("font-size",(0,g.D7)().state.fontSize).attr("class","state-title").text(b.id),d=c.node().getBBox();return a.insert("rect",":first-child").attr("x",(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.padding).attr("width",d.width+2*(0,g.D7)().state.padding).attr("height",d.height+2*(0,g.D7)().state.padding).attr("rx",(0,g.D7)().state.radius),c},"drawSimpleState"),o=(0,h.K2)((a,b)=>{let c=(0,h.K2)(function(a,b,c){let d=a.append("tspan").attr("x",2*(0,g.D7)().state.padding).text(b);c||d.attr("dy",(0,g.D7)().state.textHeight)},"addTspan"),d=a.append("text").attr("x",2*(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.textHeight+1.3*(0,g.D7)().state.padding).attr("font-size",(0,g.D7)().state.fontSize).attr("class","state-title").text(b.descriptions[0]).node().getBBox(),e=d.height,f=a.append("text").attr("x",(0,g.D7)().state.padding).attr("y",e+.4*(0,g.D7)().state.padding+(0,g.D7)().state.dividerMargin+(0,g.D7)().state.textHeight).attr("class","state-description"),i=!0,j=!0;b.descriptions.forEach(function(a){i||(c(f,a,j),j=!1),i=!1});let k=a.append("line").attr("x1",(0,g.D7)().state.padding).attr("y1",(0,g.D7)().state.padding+e+(0,g.D7)().state.dividerMargin/2).attr("y2",(0,g.D7)().state.padding+e+(0,g.D7)().state.dividerMargin/2).attr("class","descr-divider"),l=f.node().getBBox(),m=Math.max(l.width,d.width);return k.attr("x2",m+3*(0,g.D7)().state.padding),a.insert("rect",":first-child").attr("x",(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.padding).attr("width",m+2*(0,g.D7)().state.padding).attr("height",l.height+e+2*(0,g.D7)().state.padding).attr("rx",(0,g.D7)().state.radius),a},"drawDescrState"),p=(0,h.K2)((a,b,c)=>{let d,e=(0,g.D7)().state.padding,f=2*(0,g.D7)().state.padding,h=a.node().getBBox(),i=h.width,j=h.x,k=a.append("text").attr("x",0).attr("y",(0,g.D7)().state.titleShift).attr("font-size",(0,g.D7)().state.fontSize).attr("class","state-title").text(b.id),l=k.node().getBBox().width+f,m=Math.max(l,i);m===i&&(m+=f);let n=a.node().getBBox();b.doc,d=j-e,l>i&&(d=(i-m)/2+e),Math.abs(j-n.x)<e&&l>i&&(d=j-(l-i)/2);let o=1-(0,g.D7)().state.textHeight;return a.insert("rect",":first-child").attr("x",d).attr("y",o).attr("class",c?"alt-composit":"composit").attr("width",m).attr("height",n.height+(0,g.D7)().state.textHeight+(0,g.D7)().state.titleShift+1).attr("rx","0"),k.attr("x",d+e),l<=i&&k.attr("x",j+(m-f)/2-l/2+e),a.insert("rect",":first-child").attr("x",d).attr("y",(0,g.D7)().state.titleShift-(0,g.D7)().state.textHeight-(0,g.D7)().state.padding).attr("width",m).attr("height",3*(0,g.D7)().state.textHeight).attr("rx",(0,g.D7)().state.radius),a.insert("rect",":first-child").attr("x",d).attr("y",(0,g.D7)().state.titleShift-(0,g.D7)().state.textHeight-(0,g.D7)().state.padding).attr("width",m).attr("height",n.height+3+2*(0,g.D7)().state.textHeight).attr("rx",(0,g.D7)().state.radius),a},"addTitleAndBox"),q=(0,h.K2)(a=>(a.append("circle").attr("class","end-state-outer").attr("r",(0,g.D7)().state.sizeUnit+(0,g.D7)().state.miniPadding).attr("cx",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+(0,g.D7)().state.miniPadding).attr("cy",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+(0,g.D7)().state.miniPadding),a.append("circle").attr("class","end-state-inner").attr("r",(0,g.D7)().state.sizeUnit).attr("cx",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+2).attr("cy",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+2)),"drawEndState"),r=(0,h.K2)((a,b)=>{let c=(0,g.D7)().state.forkWidth,d=(0,g.D7)().state.forkHeight;if(b.parentId){let a=c;c=d,d=a}return a.append("rect").style("stroke","black").style("fill","black").attr("width",c).attr("height",d).attr("x",(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.padding)},"drawForkJoinState"),s=(0,h.K2)((a,b,c,d)=>{let e=0,f=d.append("text");f.style("text-anchor","start"),f.attr("class","noteText");let h=a.replace(/\r\n/g,"<br/>"),i=(h=h.replace(/\n/g,"<br/>")).split(g.Y2.lineBreakRegex),j=1.25*(0,g.D7)().state.noteMargin;for(let a of i){let d=a.trim();if(d.length>0){let a=f.append("tspan");a.text(d),0===j&&(j+=a.node().getBBox().height),e+=j,a.attr("x",b+(0,g.D7)().state.noteMargin),a.attr("y",c+e+1.25*(0,g.D7)().state.noteMargin)}}return{textWidth:f.node().getBBox().width,textHeight:e}},"_drawLongText"),t=(0,h.K2)((a,b)=>{b.attr("class","state-note");let c=b.append("rect").attr("x",0).attr("y",(0,g.D7)().state.padding),{textWidth:d,textHeight:e}=s(a,0,0,b.append("g"));return c.attr("height",e+2*(0,g.D7)().state.noteMargin),c.attr("width",d+2*(0,g.D7)().state.noteMargin),c},"drawNote"),u=(0,h.K2)(function(a,b){let c=b.id,d={id:c,label:b.id,width:0,height:0},e=a.append("g").attr("id",c).attr("class","stateGroup");"start"===b.type&&l(e),"end"===b.type&&q(e),("fork"===b.type||"join"===b.type)&&r(e,b),"note"===b.type&&t(b.note.text,e),"divider"===b.type&&m(e),"default"===b.type&&0===b.descriptions.length&&n(e,b),"default"===b.type&&b.descriptions.length>0&&o(e,b);let f=e.node().getBBox();return d.width=f.width+2*(0,g.D7)().state.padding,d.height=f.height+2*(0,g.D7)().state.padding,d},"drawState"),v=0,w=(0,h.K2)(function(a,b,c){let d=(0,h.K2)(function(a){switch(a){case e.u4.relationType.AGGREGATION:return"aggregation";case e.u4.relationType.EXTENSION:return"extension";case e.u4.relationType.COMPOSITION:return"composition";case e.u4.relationType.DEPENDENCY:return"dependency"}},"getRelationType");b.points=b.points.filter(a=>!Number.isNaN(a.y));let j=b.points,k=(0,i.n8j)().x(function(a){return a.x}).y(function(a){return a.y}).curve(i.qrM),l=a.append("path").attr("d",k(j)).attr("id","edge"+v).attr("class","transition"),m="";if((0,g.D7)().state.arrowMarkerAbsolute&&(m=(0,g.ID)(!0)),l.attr("marker-end","url("+m+"#"+d(e.u4.relationType.DEPENDENCY)+"End)"),void 0!==c.title){let d=a.append("g").attr("class","stateLabel"),{x:e,y:i}=f._K.calcLabelPosition(b.points),j=g.Y2.getRows(c.title),k=0,l=[],m=0,n=0;for(let a=0;a<=j.length;a++){let b=d.append("text").attr("text-anchor","middle").text(j[a]).attr("x",e).attr("y",i+k),c=b.node().getBBox();m=Math.max(m,c.width),n=Math.min(n,c.x),h.Rm.info(c.x,e,i+k),0===k&&(k=b.node().getBBox().height,h.Rm.info("Title height",k,i)),l.push(b)}let o=k*j.length;if(j.length>1){let a=(j.length-1)*k*.5;l.forEach((b,c)=>b.attr("y",i+c*k-a)),o=k*j.length}let p=d.node().getBBox();d.insert("rect",":first-child").attr("class","box").attr("x",e-m/2-(0,g.D7)().state.padding/2).attr("y",i-o/2-(0,g.D7)().state.padding/2-3.5).attr("width",m+(0,g.D7)().state.padding).attr("height",o+(0,g.D7)().state.padding),h.Rm.info(p)}v++},"drawEdge"),x={},y=(0,h.K2)(function(){},"setConf"),z=(0,h.K2)(function(a){a.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),A=(0,h.K2)(function(a,b,c,e){let f;d=(0,g.D7)().state;let j=(0,g.D7)().securityLevel;"sandbox"===j&&(f=(0,i.Ltv)("#i"+b));let k="sandbox"===j?(0,i.Ltv)(f.nodes()[0].contentDocument.body):(0,i.Ltv)("body"),l="sandbox"===j?f.nodes()[0].contentDocument:document;h.Rm.debug("Rendering diagram "+a);let m=k.select(`[id='${b}']`);z(m),C(e.db.getRootDoc(),m,void 0,!1,k,l,e);let n=d.padding,o=m.node().getBBox(),p=o.width+2*n,q=o.height+2*n;(0,g.a$)(m,q,1.75*p,d.useMaxWidth),m.attr("viewBox",`${o.x-d.padding} ${o.y-d.padding} `+p+" "+q)},"draw"),B=(0,h.K2)(a=>a?a.length*d.fontSizeFactor:1,"getLabelWidth"),C=(0,h.K2)((a,b,c,e,f,i,l)=>{let m,n=new k.T({compound:!0,multigraph:!0}),o=!0;for(m=0;m<a.length;m++)if("relation"===a[m].stmt){o=!1;break}c?n.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:o?1:d.edgeLengthFactor,nodeSep:o?1:50,isMultiGraph:!0}):n.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:o?1:d.edgeLengthFactor,nodeSep:o?1:50,ranker:"tight-tree",isMultiGraph:!0}),n.setDefaultEdgeLabel(function(){return{}});let q=l.db.getStates(),r=l.db.getRelations();for(let a of Object.keys(q)){let g,h=q[a];if(c&&(h.parentId=c),h.doc){let a=b.append("g").attr("id",h.id).attr("class","stateGroup");g=C(h.doc,a,h.id,!e,f,i,l);{let b=(a=p(a,h,e)).node().getBBox();g.width=b.width,g.height=b.height+d.padding/2,x[h.id]={y:d.compositTitleSize}}}else g=u(b,h,n);if(h.note){let a=u(b,{descriptions:[],id:h.id+"-note",note:h.note,type:"note"},n);"left of"===h.note.position?(n.setNode(g.id+"-note",a),n.setNode(g.id,g)):(n.setNode(g.id,g),n.setNode(g.id+"-note",a)),n.setParent(g.id,g.id+"-group"),n.setParent(g.id+"-note",g.id+"-group")}else n.setNode(g.id,g)}h.Rm.debug("Count=",n.nodeCount(),n);let s=0;r.forEach(function(a){s++,h.Rm.debug("Setting edge",a),n.setEdge(a.id1,a.id2,{relation:a,width:B(a.title),height:d.labelHeight*g.Y2.getRows(a.title).length,labelpos:"c"},"id"+s)}),(0,j.Zp)(n),h.Rm.debug("Graph after layout",n.nodes());let t=b.node();n.nodes().forEach(function(a){void 0!==a&&void 0!==n.node(a)?(h.Rm.warn("Node "+a+": "+JSON.stringify(n.node(a))),f.select("#"+t.id+" #"+a).attr("transform","translate("+(n.node(a).x-n.node(a).width/2)+","+(n.node(a).y+(x[a]?x[a].y:0)-n.node(a).height/2)+" )"),f.select("#"+t.id+" #"+a).attr("data-x-shift",n.node(a).x-n.node(a).width/2),i.querySelectorAll("#"+t.id+" #"+a+" .divider").forEach(a=>{let b=a.parentElement,c=0,d=0;b&&(b.parentElement&&(c=b.parentElement.getBBox().width),Number.isNaN(d=parseInt(b.getAttribute("data-x-shift"),10))&&(d=0)),a.setAttribute("x1",0-d+8),a.setAttribute("x2",c-d-8)})):h.Rm.debug("No Node "+a+": "+JSON.stringify(n.node(a)))});let v=t.getBBox();n.edges().forEach(function(a){void 0!==a&&void 0!==n.edge(a)&&(h.Rm.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(n.edge(a))),w(b,n.edge(a),n.edge(a).relation))});let y={id:c||"root",label:c||"root",width:0,height:0};return y.width=(v=t.getBBox()).width+2*d.padding,y.height=v.height+2*d.padding,h.Rm.debug("Doc rendered",y,n),y},"renderDoc"),D={parser:e.Zk,get db(){return new e.u4(1)},renderer:{setConf:y,draw:A},styles:e.tM,init:(0,h.K2)(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")}}};
@@ -1,59 +0,0 @@
1
- "use strict";exports.id=7146,exports.ids=[7146],exports.modules={33983:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(19195),e=c(44824),f=(0,d.K2)((a,b)=>{let c;return"sandbox"===b&&(c=(0,e.Ltv)("#i"+a)),("sandbox"===b?(0,e.Ltv)(c.nodes()[0].contentDocument.body):(0,e.Ltv)("body")).select(`[id="${a}"]`)},"getDiagramElement")},74122:(a,b,c)=>{c.d(b,{P:()=>f});var d=c(99103),e=c(19195),f=(0,e.K2)((a,b,c,f)=>{a.attr("class",c);let{width:i,height:j,x:k,y:l}=g(a,b);(0,d.a$)(a,j,i,f);let m=h(k,l,i,j,b);a.attr("viewBox",m),e.Rm.debug(`viewBox configured: ${m} with padding: ${b}`)},"setupViewPortForSVG"),g=(0,e.K2)((a,b)=>{let c=a.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:c.width+2*b,height:c.height+2*b,x:c.x,y:c.y}},"calculateDimensionsWithPadding"),h=(0,e.K2)((a,b,c,d,e)=>`${a-e} ${b-e} ${c} ${d}`,"createViewBox")},77146:(a,b,c)=>{c.d(b,{diagram:()=>o});var d=c(33983),e=c(74122),f=c(27771);c(41462),c(82432),c(95716),c(60667),c(25793),c(51862);var g=c(66860),h=c(99103),i=c(19195),j=function(){var a=(0,i.K2)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[1,3],c=[1,4],d=[1,5],e=[1,6],f=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],g=[1,22],h=[2,7],j=[1,26],k=[1,27],l=[1,28],m=[1,29],n=[1,33],o=[1,34],p=[1,35],q=[1,36],r=[1,37],s=[1,38],t=[1,24],u=[1,31],v=[1,32],w=[1,30],x=[1,39],y=[1,40],z=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],A=[1,61],B=[89,90],C=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],D=[27,29],E=[1,70],F=[1,71],G=[1,72],H=[1,73],I=[1,74],J=[1,75],K=[1,76],L=[1,83],M=[1,80],N=[1,84],O=[1,85],P=[1,86],Q=[1,87],R=[1,88],S=[1,89],T=[1,90],U=[1,91],V=[1,92],W=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],X=[63,64],Y=[1,101],Z=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],$=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],_=[1,110],aa=[1,106],ab=[1,107],ac=[1,108],ad=[1,109],ae=[1,111],af=[1,116],ag=[1,117],ah=[1,114],ai=[1,115],aj={trace:(0,i.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:(0,i.K2)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 4:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 5:case 6:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:d.setDirection("TB");break;case 18:d.setDirection("BT");break;case 19:d.setDirection("RL");break;case 20:d.setDirection("LR");break;case 21:d.addRequirement(f[h-3],f[h-4]);break;case 22:d.addRequirement(f[h-5],f[h-6]),d.setClass([f[h-5]],f[h-3]);break;case 23:d.setNewReqId(f[h-2]);break;case 24:d.setNewReqText(f[h-2]);break;case 25:d.setNewReqRisk(f[h-2]);break;case 26:d.setNewReqVerifyMethod(f[h-2]);break;case 29:this.$=d.RequirementType.REQUIREMENT;break;case 30:this.$=d.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=d.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=d.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=d.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=d.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=d.RiskLevel.LOW_RISK;break;case 36:this.$=d.RiskLevel.MED_RISK;break;case 37:this.$=d.RiskLevel.HIGH_RISK;break;case 38:this.$=d.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=d.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=d.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=d.VerifyType.VERIFY_TEST;break;case 42:d.addElement(f[h-3]);break;case 43:d.addElement(f[h-5]),d.setClass([f[h-5]],f[h-3]);break;case 44:d.setNewElementType(f[h-2]);break;case 45:d.setNewElementDocRef(f[h-2]);break;case 48:d.addRelationship(f[h-2],f[h],f[h-4]);break;case 49:d.addRelationship(f[h-2],f[h-4],f[h]);break;case 50:this.$=d.Relationships.CONTAINS;break;case 51:this.$=d.Relationships.COPIES;break;case 52:this.$=d.Relationships.DERIVES;break;case 53:this.$=d.Relationships.SATISFIES;break;case 54:this.$=d.Relationships.VERIFIES;break;case 55:this.$=d.Relationships.REFINES;break;case 56:this.$=d.Relationships.TRACES;break;case 57:this.$=f[h-2],d.defineClass(f[h-1],f[h]);break;case 58:d.setClass(f[h-1],f[h]);break;case 59:d.setClass([f[h-2]],f[h]);break;case 60:case 62:case 65:this.$=[f[h]];break;case 61:case 63:this.$=f[h-2].concat([f[h]]);break;case 64:this.$=f[h-2],d.setCssStyle(f[h-1],f[h]);break;case 66:f[h-2].push(f[h]),this.$=f[h-2];break;case 68:this.$=f[h-1]+f[h]}},"anonymous"),table:[{3:1,4:2,6:b,9:c,11:d,13:e},{1:[3]},{3:8,4:2,5:[1,7],6:b,9:c,11:d,13:e},{5:[1,9]},{10:[1,10]},{12:[1,11]},a(f,[2,6]),{3:12,4:2,6:b,9:c,11:d,13:e},{1:[2,2]},{4:17,5:g,7:13,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},a(f,[2,4]),a(f,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:g,7:42,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:43,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:44,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:45,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:46,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:47,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:48,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:49,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{4:17,5:g,7:50,8:h,9:c,11:d,13:e,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:j,22:k,23:l,24:m,25:23,33:25,41:n,42:o,43:p,44:q,45:r,46:s,54:t,72:u,74:v,77:w,89:x,90:y},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},a(z,[2,17]),a(z,[2,18]),a(z,[2,19]),a(z,[2,20]),{30:60,33:62,75:A,89:x,90:y},{30:63,33:62,75:A,89:x,90:y},{30:64,33:62,75:A,89:x,90:y},a(B,[2,29]),a(B,[2,30]),a(B,[2,31]),a(B,[2,32]),a(B,[2,33]),a(B,[2,34]),a(C,[2,81]),a(C,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},a(D,[2,79]),a(D,[2,80]),{27:[1,67],29:[1,68]},a(D,[2,85]),a(D,[2,86]),{62:69,65:E,66:F,67:G,68:H,69:I,70:J,71:K},{62:77,65:E,66:F,67:G,68:H,69:I,70:J,71:K},{30:78,33:62,75:A,89:x,90:y},{73:79,75:L,76:M,78:81,79:82,80:N,81:O,82:P,83:Q,84:R,85:S,86:T,87:U,88:V},a(W,[2,60]),a(W,[2,62]),{73:93,75:L,76:M,78:81,79:82,80:N,81:O,82:P,83:Q,84:R,85:S,86:T,87:U,88:V},{30:94,33:62,75:A,76:M,89:x,90:y},{5:[1,95]},{30:96,33:62,75:A,89:x,90:y},{5:[1,97]},{30:98,33:62,75:A,89:x,90:y},{63:[1,99]},a(X,[2,50]),a(X,[2,51]),a(X,[2,52]),a(X,[2,53]),a(X,[2,54]),a(X,[2,55]),a(X,[2,56]),{64:[1,100]},a(z,[2,59],{76:M}),a(z,[2,64],{76:Y}),{33:103,75:[1,102],89:x,90:y},a(Z,[2,65],{79:104,75:L,80:N,81:O,82:P,83:Q,84:R,85:S,86:T,87:U,88:V}),a($,[2,67]),a($,[2,69]),a($,[2,70]),a($,[2,71]),a($,[2,72]),a($,[2,73]),a($,[2,74]),a($,[2,75]),a($,[2,76]),a($,[2,77]),a($,[2,78]),a(z,[2,57],{76:Y}),a(z,[2,58],{76:M}),{5:_,28:105,31:aa,34:ab,36:ac,38:ad,40:ae},{27:[1,112],76:M},{5:af,40:ag,56:113,57:ah,59:ai},{27:[1,118],76:M},{33:119,89:x,90:y},{33:120,89:x,90:y},{75:L,78:121,79:82,80:N,81:O,82:P,83:Q,84:R,85:S,86:T,87:U,88:V},a(W,[2,61]),a(W,[2,63]),a($,[2,68]),a(z,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:_,28:126,31:aa,34:ab,36:ac,38:ad,40:ae},a(z,[2,28]),{5:[1,127]},a(z,[2,42]),{32:[1,128]},{32:[1,129]},{5:af,40:ag,56:130,57:ah,59:ai},a(z,[2,47]),{5:[1,131]},a(z,[2,48]),a(z,[2,49]),a(Z,[2,66],{79:104,75:L,80:N,81:O,82:P,83:Q,84:R,85:S,86:T,87:U,88:V}),{33:132,89:x,90:y},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},a(z,[2,27]),{5:_,28:145,31:aa,34:ab,36:ac,38:ad,40:ae},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},a(z,[2,46]),{5:af,40:ag,56:152,57:ah,59:ai},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},a(z,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},a(z,[2,43]),{5:_,28:159,31:aa,34:ab,36:ac,38:ad,40:ae},{5:_,28:160,31:aa,34:ab,36:ac,38:ad,40:ae},{5:_,28:161,31:aa,34:ab,36:ac,38:ad,40:ae},{5:_,28:162,31:aa,34:ab,36:ac,38:ad,40:ae},{5:af,40:ag,56:163,57:ah,59:ai},{5:af,40:ag,56:164,57:ah,59:ai},a(z,[2,23]),a(z,[2,24]),a(z,[2,25]),a(z,[2,26]),a(z,[2,44]),a(z,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:(0,i.K2)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,i.K2)(function(a){var b=this,c=[0],d=[],e=[null],f=[],g=this.table,h="",j=0,k=0,l=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.K2)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,i.K2)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=g[v]&&g[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],g[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(j+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(k=n.yyleng,h=n.yytext,j=n.yylineno,q=n.yylloc,l>0&&l--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[h,k,j,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=g[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function ak(){this.yy={}}return aj.lexer={EOF:1,parseError:(0,i.K2)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,i.K2)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,i.K2)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,i.K2)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.K2)(function(){return this._more=!0,this},"more"),reject:(0,i.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,i.K2)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,i.K2)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.K2)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,i.K2)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,i.K2)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,i.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.K2)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,i.K2)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,i.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.K2)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,i.K2)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,i.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.K2)(function(a,b,c,d){switch(c){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 58:case 65:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 21;case 9:return 22;case 10:return 23;case 11:return 24;case 12:return 5;case 13:case 14:case 15:case 56:break;case 16:return 8;case 17:return 6;case 18:return 27;case 19:return 40;case 20:return 29;case 21:return 32;case 22:return 31;case 23:return 34;case 24:return 36;case 25:return 38;case 26:return 41;case 27:return 42;case 28:return 43;case 29:return 44;case 30:return 45;case 31:return 46;case 32:return 47;case 33:return 48;case 34:return 49;case 35:return 50;case 36:return 51;case 37:return 52;case 38:return 53;case 39:return 54;case 40:return 65;case 41:return 66;case 42:return 67;case 43:return 68;case 44:return 69;case 45:return 70;case 46:return 71;case 47:return 57;case 48:return 59;case 49:return this.begin("style"),77;case 50:case 68:return 75;case 51:return 81;case 52:return 88;case 53:return"PERCENT";case 54:return 86;case 55:return 84;case 57:case 64:this.begin("string");break;case 59:return this.begin("style"),72;case 60:return this.begin("style"),74;case 61:return 61;case 62:return 64;case 63:return 63;case 66:return"qString";case 67:return b.yytext=b.yytext.trim(),89;case 69:return 80;case 70:return 76}},"anonymous"),rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::{3})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:style\b)/i,/^(?:\w+)/i,/^(?::)/i,/^(?:;)/i,/^(?:%)/i,/^(?:-)/i,/^(?:#)/i,/^(?: )/i,/^(?:["])/i,/^(?:\n)/i,/^(?:classDef\b)/i,/^(?:class\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^:,\r\n\{\<\>\-\=]*)/i,/^(?:\w+)/i,/^(?:[0-9]+)/i,/^(?:,)/i],conditions:{acc_descr_multiline:{rules:[6,7,68,69,70],inclusive:!1},acc_descr:{rules:[4,68,69,70],inclusive:!1},acc_title:{rules:[2,68,69,70],inclusive:!1},style:{rules:[50,51,52,53,54,55,56,57,58,68,69,70],inclusive:!1},unqString:{rules:[68,69,70],inclusive:!1},token:{rules:[68,69,70],inclusive:!1},string:{rules:[65,66,68,69,70],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,59,60,61,62,63,64,67,68,69,70],inclusive:!0}}},(0,i.K2)(ak,"Parser"),ak.prototype=aj,aj.Parser=ak,new ak}();j.parser=j;var k=class{constructor(){this.relations=[],this.latestRequirement=this.getInitialRequirement(),this.requirements=new Map,this.latestElement=this.getInitialElement(),this.elements=new Map,this.classes=new Map,this.direction="TB",this.RequirementType={REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},this.RiskLevel={LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},this.VerifyType={VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},this.Relationships={CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},this.setAccTitle=h.SV,this.getAccTitle=h.iN,this.setAccDescription=h.EI,this.getAccDescription=h.m7,this.setDiagramTitle=h.ke,this.getDiagramTitle=h.ab,this.getConfig=(0,i.K2)(()=>(0,h.D7)().requirement,"getConfig"),this.clear(),this.setDirection=this.setDirection.bind(this),this.addRequirement=this.addRequirement.bind(this),this.setNewReqId=this.setNewReqId.bind(this),this.setNewReqRisk=this.setNewReqRisk.bind(this),this.setNewReqText=this.setNewReqText.bind(this),this.setNewReqVerifyMethod=this.setNewReqVerifyMethod.bind(this),this.addElement=this.addElement.bind(this),this.setNewElementType=this.setNewElementType.bind(this),this.setNewElementDocRef=this.setNewElementDocRef.bind(this),this.addRelationship=this.addRelationship.bind(this),this.setCssStyle=this.setCssStyle.bind(this),this.setClass=this.setClass.bind(this),this.defineClass=this.defineClass.bind(this),this.setAccTitle=this.setAccTitle.bind(this),this.setAccDescription=this.setAccDescription.bind(this)}static{(0,i.K2)(this,"RequirementDB")}getDirection(){return this.direction}setDirection(a){this.direction=a}resetLatestRequirement(){this.latestRequirement=this.getInitialRequirement()}resetLatestElement(){this.latestElement=this.getInitialElement()}getInitialRequirement(){return{requirementId:"",text:"",risk:"",verifyMethod:"",name:"",type:"",cssStyles:[],classes:["default"]}}getInitialElement(){return{name:"",type:"",docRef:"",cssStyles:[],classes:["default"]}}addRequirement(a,b){return this.requirements.has(a)||this.requirements.set(a,{name:a,type:b,requirementId:this.latestRequirement.requirementId,text:this.latestRequirement.text,risk:this.latestRequirement.risk,verifyMethod:this.latestRequirement.verifyMethod,cssStyles:[],classes:["default"]}),this.resetLatestRequirement(),this.requirements.get(a)}getRequirements(){return this.requirements}setNewReqId(a){void 0!==this.latestRequirement&&(this.latestRequirement.requirementId=a)}setNewReqText(a){void 0!==this.latestRequirement&&(this.latestRequirement.text=a)}setNewReqRisk(a){void 0!==this.latestRequirement&&(this.latestRequirement.risk=a)}setNewReqVerifyMethod(a){void 0!==this.latestRequirement&&(this.latestRequirement.verifyMethod=a)}addElement(a){return this.elements.has(a)||(this.elements.set(a,{name:a,type:this.latestElement.type,docRef:this.latestElement.docRef,cssStyles:[],classes:["default"]}),i.Rm.info("Added new element: ",a)),this.resetLatestElement(),this.elements.get(a)}getElements(){return this.elements}setNewElementType(a){void 0!==this.latestElement&&(this.latestElement.type=a)}setNewElementDocRef(a){void 0!==this.latestElement&&(this.latestElement.docRef=a)}addRelationship(a,b,c){this.relations.push({type:a,src:b,dst:c})}getRelationships(){return this.relations}clear(){this.relations=[],this.resetLatestRequirement(),this.requirements=new Map,this.resetLatestElement(),this.elements=new Map,this.classes=new Map,(0,h.IU)()}setCssStyle(a,b){for(let c of a){let a=this.requirements.get(c)??this.elements.get(c);if(!b||!a)return;for(let c of b)c.includes(",")?a.cssStyles.push(...c.split(",")):a.cssStyles.push(c)}}setClass(a,b){for(let c of a){let a=this.requirements.get(c)??this.elements.get(c);if(a)for(let c of b){a.classes.push(c);let b=this.classes.get(c)?.styles;b&&a.cssStyles.push(...b)}}}defineClass(a,b){for(let c of a){let a=this.classes.get(c);void 0===a&&(a={id:c,styles:[],textStyles:[]},this.classes.set(c,a)),b&&b.forEach(function(b){if(/color/.exec(b)){let c=b.replace("fill","bgFill");a.textStyles.push(c)}a.styles.push(b)}),this.requirements.forEach(a=>{a.classes.includes(c)&&a.cssStyles.push(...b.flatMap(a=>a.split(",")))}),this.elements.forEach(a=>{a.classes.includes(c)&&a.cssStyles.push(...b.flatMap(a=>a.split(",")))})}}getClasses(){return this.classes}getData(){let a=(0,h.D7)(),b=[],c=[];for(let c of this.requirements.values())c.id=c.name,c.cssStyles=c.cssStyles,c.cssClasses=c.classes.join(" "),c.shape="requirementBox",c.look=a.look,b.push(c);for(let c of this.elements.values())c.shape="requirementBox",c.look=a.look,c.id=c.name,c.cssStyles=c.cssStyles,c.cssClasses=c.classes.join(" "),b.push(c);for(let b of this.relations){let d=0,e=b.type===this.Relationships.CONTAINS,f={id:`${b.src}-${b.dst}-${d}`,start:this.requirements.get(b.src)?.name??this.elements.get(b.src)?.name,end:this.requirements.get(b.dst)?.name??this.elements.get(b.dst)?.name,label:`&lt;&lt;${b.type}&gt;&gt;`,classes:"relationshipLine",style:["fill:none",e?"":"stroke-dasharray: 10,7"],labelpos:"c",thickness:"normal",type:"normal",pattern:e?"normal":"dashed",arrowTypeStart:e?"requirement_contains":"",arrowTypeEnd:e?"":"requirement_arrow",look:a.look};c.push(f),d++}return{nodes:b,edges:c,other:{},config:a,direction:this.getDirection()}}},l=(0,i.K2)(a=>`
2
-
3
- marker {
4
- fill: ${a.relationColor};
5
- stroke: ${a.relationColor};
6
- }
7
-
8
- marker.cross {
9
- stroke: ${a.lineColor};
10
- }
11
-
12
- svg {
13
- font-family: ${a.fontFamily};
14
- font-size: ${a.fontSize};
15
- }
16
-
17
- .reqBox {
18
- fill: ${a.requirementBackground};
19
- fill-opacity: 1.0;
20
- stroke: ${a.requirementBorderColor};
21
- stroke-width: ${a.requirementBorderSize};
22
- }
23
-
24
- .reqTitle, .reqLabel{
25
- fill: ${a.requirementTextColor};
26
- }
27
- .reqLabelBox {
28
- fill: ${a.relationLabelBackground};
29
- fill-opacity: 1.0;
30
- }
31
-
32
- .req-title-line {
33
- stroke: ${a.requirementBorderColor};
34
- stroke-width: ${a.requirementBorderSize};
35
- }
36
- .relationshipLine {
37
- stroke: ${a.relationColor};
38
- stroke-width: 1;
39
- }
40
- .relationshipLabel {
41
- fill: ${a.relationLabelColor};
42
- }
43
- .divider {
44
- stroke: ${a.nodeBorder};
45
- stroke-width: 1;
46
- }
47
- .label {
48
- font-family: ${a.fontFamily};
49
- color: ${a.nodeTextColor||a.textColor};
50
- }
51
- .label text,span {
52
- fill: ${a.nodeTextColor||a.textColor};
53
- color: ${a.nodeTextColor||a.textColor};
54
- }
55
- .labelBkg {
56
- background-color: ${a.edgeLabelBackground};
57
- }
58
-
59
- `,"getStyles"),m={};(0,i.VA)(m,{draw:()=>n});var n=(0,i.K2)(async function(a,b,c,j){i.Rm.info("REF0:"),i.Rm.info("Drawing requirement diagram (unified)",b);let{securityLevel:k,state:l,layout:m}=(0,h.D7)(),n=j.db.getData(),o=(0,d.A)(b,k);n.type=j.type,n.layoutAlgorithm=(0,f.q7)(m),n.nodeSpacing=l?.nodeSpacing??50,n.rankSpacing=l?.rankSpacing??50,n.markers=["requirement_contains","requirement_arrow"],n.diagramId=b,await (0,f.XX)(n,o),g._K.insertTitle(o,"requirementDiagramTitleText",l?.titleTopMargin??25,j.db.getDiagramTitle()),(0,e.P)(o,8,"requirementDiagram",l?.useMaxWidth??!0)},"draw"),o={parser:j,get db(){return new k},renderer:m,styles:l}}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=7354,exports.ids=[7354],exports.modules={539:(a,b,c)=>{c.d(b,{A:()=>d});let d=Array.isArray},5207:(a,b,c)=>{c.d(b,{A:()=>e});var d=Function.prototype.toString;let e=function(a){if(null!=a){try{return d.call(a)}catch(a){}try{return a+""}catch(a){}}return""}},6313:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(96543),e=c(92603);let f=(0,d.A)(e.A,"Map")},8133:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b){return function(c){return a(b(c))}}},10102:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(37230);function e(a,b){if("function"!=typeof a||null!=b&&"function"!=typeof b)throw TypeError("Expected a function");var c=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=c.cache;if(f.has(e))return f.get(e);var g=a.apply(this,d);return c.cache=f.set(e,g)||f,g};return c.cache=new(e.Cache||d.A),c}e.Cache=d.A;let f=e},24202:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b){return a===b||a!=a&&b!=b}},27899:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a){var b=typeof a;return null!=a&&("object"==b||"function"==b)}},29032:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a){return null!=a&&"object"==typeof a}},34856:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(47608),e=c(51848);let f=function(a){return null!=a&&(0,e.A)(a.length)&&!(0,d.A)(a)}},36187:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(24202);let e=function(a,b){for(var c=a.length;c--;)if((0,d.A)(a[c][0],b))return c;return -1};var f=Array.prototype.splice;function g(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}g.prototype.clear=function(){this.__data__=[],this.size=0},g.prototype.delete=function(a){var b=this.__data__,c=e(b,a);return!(c<0)&&(c==b.length-1?b.pop():f.call(b,c,1),--this.size,!0)},g.prototype.get=function(a){var b=this.__data__,c=e(b,a);return c<0?void 0:b[c][1]},g.prototype.has=function(a){return e(this.__data__,a)>-1},g.prototype.set=function(a,b){var c=this.__data__,d=e(c,a);return d<0?(++this.size,c.push([a,b])):c[d][1]=b,this};let h=g},37230:(a,b,c)=>{c.d(b,{A:()=>m});var d=(0,c(96543).A)(Object,"create"),e=Object.prototype.hasOwnProperty,f=Object.prototype.hasOwnProperty;function g(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}g.prototype.clear=function(){this.__data__=d?d(null):{},this.size=0},g.prototype.delete=function(a){var b=this.has(a)&&delete this.__data__[a];return this.size-=!!b,b},g.prototype.get=function(a){var b=this.__data__;if(d){var c=b[a];return"__lodash_hash_undefined__"===c?void 0:c}return e.call(b,a)?b[a]:void 0},g.prototype.has=function(a){var b=this.__data__;return d?void 0!==b[a]:f.call(b,a)},g.prototype.set=function(a,b){var c=this.__data__;return this.size+=+!this.has(a),c[a]=d&&void 0===b?"__lodash_hash_undefined__":b,this};var h=c(36187),i=c(6313);let j=function(a){var b=typeof a;return"string"==b||"number"==b||"symbol"==b||"boolean"==b?"__proto__"!==a:null===a},k=function(a,b){var c=a.__data__;return j(b)?c["string"==typeof b?"string":"hash"]:c.map};function l(a){var b=-1,c=null==a?0:a.length;for(this.clear();++b<c;){var d=a[b];this.set(d[0],d[1])}}l.prototype.clear=function(){this.size=0,this.__data__={hash:new g,map:new(i.A||h.A),string:new g}},l.prototype.delete=function(a){var b=k(this,a).delete(a);return this.size-=!!b,b},l.prototype.get=function(a){return k(this,a).get(a)},l.prototype.has=function(a){return k(this,a).has(a)},l.prototype.set=function(a,b){var c=k(this,a),d=c.size;return c.set(a,b),this.size+=+(c.size!=d),this};let m=l},40275:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(81398),e="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=e&&"object"==typeof module&&module&&!module.nodeType&&module,g=f&&f.exports===e&&d.A.process;let h=function(){try{var a=f&&f.require&&f.require("util").types;if(a)return a;return g&&g.binding&&g.binding("util")}catch(a){}}()},41395:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(96543),e=c(92603);let f=(0,d.A)(e.A,"Set")},42005:(a,b,c)=>{c.d(b,{A:()=>j});var d=c(97506),e=c(29032);let f=function(a){return(0,e.A)(a)&&"[object Arguments]"==(0,d.A)(a)};var g=Object.prototype,h=g.hasOwnProperty,i=g.propertyIsEnumerable;let j=f(function(){return arguments}())?f:function(a){return(0,e.A)(a)&&h.call(a,"callee")&&!i.call(a,"callee")}},45447:(a,b,c)=>{c.d(b,{A:()=>d});let d=c(92603).A.Symbol},47608:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(97506),e=c(27899);let f=function(a){if(!(0,e.A)(a))return!1;var b=(0,d.A)(a);return"[object Function]"==b||"[object GeneratorFunction]"==b||"[object AsyncFunction]"==b||"[object Proxy]"==b}},48926:(a,b,c)=>{c.d(b,{A:()=>k});var d=c(97506),e=c(51848),f=c(29032),g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g["[object Arguments]"]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g["[object Error]"]=g["[object Function]"]=g["[object Map]"]=g["[object Number]"]=g["[object Object]"]=g["[object RegExp]"]=g["[object Set]"]=g["[object String]"]=g["[object WeakMap]"]=!1;var h=c(84315),i=c(40275),j=i.A&&i.A.isTypedArray;let k=j?(0,h.A)(j):function(a){return(0,f.A)(a)&&(0,e.A)(a.length)&&!!g[(0,d.A)(a)]}},51848:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=0x1fffffffffffff}},61103:(a,b,c)=>{c.d(b,{A:()=>e});var d=/^(?:0|[1-9]\d*)$/;let e=function(a,b){var c=typeof a;return!!(b=null==b?0x1fffffffffffff:b)&&("number"==c||"symbol"!=c&&d.test(a))&&a>-1&&a%1==0&&a<b}},70337:(a,b,c)=>{c.d(b,{A:()=>e});var d=Object.prototype;let e=function(a){var b=a&&a.constructor;return a===("function"==typeof b&&b.prototype||d)}},70716:(a,b,c)=>{c.d(b,{A:()=>x});var d=c(96543),e=c(92603),f=(0,d.A)(e.A,"DataView"),g=c(6313),h=(0,d.A)(e.A,"Promise"),i=c(41395),j=(0,d.A)(e.A,"WeakMap"),k=c(97506),l=c(5207),m="[object Map]",n="[object Promise]",o="[object Set]",p="[object WeakMap]",q="[object DataView]",r=(0,l.A)(f),s=(0,l.A)(g.A),t=(0,l.A)(h),u=(0,l.A)(i.A),v=(0,l.A)(j),w=k.A;(f&&w(new f(new ArrayBuffer(1)))!=q||g.A&&w(new g.A)!=m||h&&w(h.resolve())!=n||i.A&&w(new i.A)!=o||j&&w(new j)!=p)&&(w=function(a){var b=(0,k.A)(a),c="[object Object]"==b?a.constructor:void 0,d=c?(0,l.A)(c):"";if(d)switch(d){case r:return q;case s:return m;case t:return n;case u:return o;case v:return p}return b});let x=w},71234:(a,b,c)=>{c.d(b,{A:()=>d});let d=c(92603).A.Uint8Array},73503:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(92603),e="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=e&&"object"==typeof module&&module&&!module.nodeType&&module,g=f&&f.exports===e?d.A.Buffer:void 0;let h=(g?g.isBuffer:void 0)||function(){return!1}},79076:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a,b,c){for(var d=-1,e=Object(a),f=c(a),g=f.length;g--;){var h=f[++d];if(!1===b(e[h],h,e))break}return a}},79918:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a){return a}},81398:(a,b,c)=>{c.d(b,{A:()=>d});let d="object"==typeof global&&global&&global.Object===Object&&global},84315:(a,b,c)=>{c.d(b,{A:()=>d});let d=function(a){return function(b){return a(b)}}},88592:(a,b,c)=>{c.d(b,{A:()=>k});let d=function(a,b){for(var c=-1,d=Array(a);++c<a;)d[c]=b(c);return d};var e=c(42005),f=c(539),g=c(73503),h=c(61103),i=c(48926),j=Object.prototype.hasOwnProperty;let k=function(a,b){var c=(0,f.A)(a),k=!c&&(0,e.A)(a),l=!c&&!k&&(0,g.A)(a),m=!c&&!k&&!l&&(0,i.A)(a),n=c||k||l||m,o=n?d(a.length,String):[],p=o.length;for(var q in a)(b||j.call(a,q))&&!(n&&("length"==q||l&&("offset"==q||"parent"==q)||m&&("buffer"==q||"byteLength"==q||"byteOffset"==q)||(0,h.A)(q,p)))&&o.push(q);return o}},92603:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(81398),e="object"==typeof self&&self&&self.Object===Object&&self;let f=d.A||e||Function("return this")()},96543:(a,b,c)=>{c.d(b,{A:()=>p});var d,e=c(47608),f=c(92603).A["__core-js_shared__"],g=(d=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+d:"",h=c(27899),i=c(5207),j=/^\[object .+?Constructor\]$/,k=Object.prototype,l=Function.prototype.toString,m=k.hasOwnProperty,n=RegExp("^"+l.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let o=function(a){return!!(0,h.A)(a)&&(!g||!(g in a))&&((0,e.A)(a)?n:j).test((0,i.A)(a))},p=function(a,b){var c=null==a?void 0:a[b];return o(c)?c:void 0}},97506:(a,b,c)=>{c.d(b,{A:()=>l});var d=c(45447),e=Object.prototype,f=e.hasOwnProperty,g=e.toString,h=d.A?d.A.toStringTag:void 0;let i=function(a){var b=f.call(a,h),c=a[h];try{a[h]=void 0;var d=!0}catch(a){}var e=g.call(a);return d&&(b?a[h]=c:delete a[h]),e};var j=Object.prototype.toString,k=d.A?d.A.toStringTag:void 0;let l=function(a){return null==a?void 0===a?"[object Undefined]":"[object Null]":k&&k in Object(a)?i(a):j.call(a)}},97961:(a,b,c)=>{c.d(b,{A:()=>h});var d=c(36187),e=c(6313),f=c(37230);function g(a){var b=this.__data__=new d.A(a);this.size=b.size}g.prototype.clear=function(){this.__data__=new d.A,this.size=0},g.prototype.delete=function(a){var b=this.__data__,c=b.delete(a);return this.size=b.size,c},g.prototype.get=function(a){return this.__data__.get(a)},g.prototype.has=function(a){return this.__data__.has(a)},g.prototype.set=function(a,b){var c=this.__data__;if(c instanceof d.A){var g=c.__data__;if(!e.A||g.length<199)return g.push([a,b]),this.size=++c.size,this;c=this.__data__=new f.A(g)}return c.set(a,b),this.size=c.size,this};let h=g},99973:(a,b,c)=>{c.d(b,{A:()=>g});var d=c(70337),e=(0,c(8133).A)(Object.keys,Object),f=Object.prototype.hasOwnProperty;let g=function(a){if(!(0,d.A)(a))return e(a);var b=[];for(var c in Object(a))f.call(a,c)&&"constructor"!=c&&b.push(c);return b}}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=7677,exports.ids=[7677],exports.modules={27677:(a,b,c)=>{c.d(b,{createRadarServices:()=>d.f});var d=c(20823);c(9405)}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=7781,exports.ids=[7781],exports.modules={7781:(a,b,c)=>{c.d(b,{diagram:()=>F});var d=c(99103),e=c(19195),f=c(44824),g=function(){var a=(0,e.K2)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[1,3],c=[1,4],d=[1,5],f=[1,6],g=[1,7],h=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],i=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],j=[55,56,57],k=[2,36],l=[1,37],m=[1,36],n=[1,38],o=[1,35],p=[1,43],q=[1,41],r=[1,14],s=[1,23],t=[1,18],u=[1,19],v=[1,20],w=[1,21],x=[1,22],y=[1,24],z=[1,25],A=[1,26],B=[1,27],C=[1,28],D=[1,29],E=[1,32],F=[1,33],G=[1,34],H=[1,39],I=[1,40],J=[1,42],K=[1,44],L=[1,62],M=[1,61],N=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],O=[1,65],P=[1,66],Q=[1,67],R=[1,68],S=[1,69],T=[1,70],U=[1,71],V=[1,72],W=[1,73],X=[1,74],Y=[1,75],Z=[1,76],$=[4,5,6,7,8,9,10,11,12,13,14,15,18],_=[1,90],aa=[1,91],ab=[1,92],ac=[1,99],ad=[1,93],ae=[1,96],af=[1,94],ag=[1,95],ah=[1,97],ai=[1,98],aj=[1,102],ak=[10,55,56,57],al=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],am={trace:(0,e.K2)(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:(0,e.K2)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 23:case 68:this.$=f[h];break;case 24:case 69:this.$=f[h-1]+""+f[h];break;case 26:this.$=f[h-1]+f[h];break;case 27:this.$=[f[h].trim()];break;case 28:f[h-2].push(f[h].trim()),this.$=f[h-2];break;case 29:this.$=f[h-4],d.addClass(f[h-2],f[h]);break;case 37:this.$=[];break;case 42:this.$=f[h].trim(),d.setDiagramTitle(this.$);break;case 43:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 44:case 45:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 46:d.addSection(f[h].substr(8)),this.$=f[h].substr(8);break;case 47:d.addPoint(f[h-3],"",f[h-1],f[h],[]);break;case 48:d.addPoint(f[h-4],f[h-3],f[h-1],f[h],[]);break;case 49:d.addPoint(f[h-4],"",f[h-2],f[h-1],f[h]);break;case 50:d.addPoint(f[h-5],f[h-4],f[h-2],f[h-1],f[h]);break;case 51:d.setXAxisLeftText(f[h-2]),d.setXAxisRightText(f[h]);break;case 52:f[h-1].text+=" ⟶ ",d.setXAxisLeftText(f[h-1]);break;case 53:d.setXAxisLeftText(f[h]);break;case 54:d.setYAxisBottomText(f[h-2]),d.setYAxisTopText(f[h]);break;case 55:f[h-1].text+=" ⟶ ",d.setYAxisBottomText(f[h-1]);break;case 56:d.setYAxisBottomText(f[h]);break;case 57:d.setQuadrant1Text(f[h]);break;case 58:d.setQuadrant2Text(f[h]);break;case 59:d.setQuadrant3Text(f[h]);break;case 60:d.setQuadrant4Text(f[h]);break;case 64:case 66:this.$={text:f[h],type:"text"};break;case 65:this.$={text:f[h-1].text+""+f[h],type:f[h-1].type};break;case 67:this.$={text:f[h],type:"markdown"}}},"anonymous"),table:[{18:b,26:1,27:2,28:c,55:d,56:f,57:g},{1:[3]},{18:b,26:8,27:2,28:c,55:d,56:f,57:g},{18:b,26:9,27:2,28:c,55:d,56:f,57:g},a(h,[2,33],{29:10}),a(i,[2,61]),a(i,[2,62]),a(i,[2,63]),{1:[2,30]},{1:[2,31]},a(j,k,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:l,5:m,10:n,12:o,13:p,14:q,18:r,25:s,35:t,37:u,39:v,41:w,42:x,48:y,50:z,51:A,52:B,53:C,54:D,60:E,61:F,63:G,64:H,65:I,66:J,67:K}),a(h,[2,34]),{27:45,55:d,56:f,57:g},a(j,[2,37]),a(j,k,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:l,5:m,10:n,12:o,13:p,14:q,18:r,25:s,35:t,37:u,39:v,41:w,42:x,48:y,50:z,51:A,52:B,53:C,54:D,60:E,61:F,63:G,64:H,65:I,66:J,67:K}),a(j,[2,39]),a(j,[2,40]),a(j,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},a(j,[2,45]),a(j,[2,46]),{18:[1,50]},{4:l,5:m,10:n,12:o,13:p,14:q,43:51,58:31,60:E,61:F,63:G,64:H,65:I,66:J,67:K},{4:l,5:m,10:n,12:o,13:p,14:q,43:52,58:31,60:E,61:F,63:G,64:H,65:I,66:J,67:K},{4:l,5:m,10:n,12:o,13:p,14:q,43:53,58:31,60:E,61:F,63:G,64:H,65:I,66:J,67:K},{4:l,5:m,10:n,12:o,13:p,14:q,43:54,58:31,60:E,61:F,63:G,64:H,65:I,66:J,67:K},{4:l,5:m,10:n,12:o,13:p,14:q,43:55,58:31,60:E,61:F,63:G,64:H,65:I,66:J,67:K},{4:l,5:m,10:n,12:o,13:p,14:q,43:56,58:31,60:E,61:F,63:G,64:H,65:I,66:J,67:K},{4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,44:[1,57],47:[1,58],58:60,59:59,63:G,64:H,65:I,66:J,67:K},a(N,[2,64]),a(N,[2,66]),a(N,[2,67]),a(N,[2,70]),a(N,[2,71]),a(N,[2,72]),a(N,[2,73]),a(N,[2,74]),a(N,[2,75]),a(N,[2,76]),a(N,[2,77]),a(N,[2,78]),a(N,[2,79]),a(N,[2,80]),a(h,[2,35]),a(j,[2,38]),a(j,[2,42]),a(j,[2,43]),a(j,[2,44]),{3:64,4:O,5:P,6:Q,7:R,8:S,9:T,10:U,11:V,12:W,13:X,14:Y,15:Z,21:63},a(j,[2,53],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,49:[1,77],63:G,64:H,65:I,66:J,67:K}),a(j,[2,56],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,49:[1,78],63:G,64:H,65:I,66:J,67:K}),a(j,[2,57],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,63:G,64:H,65:I,66:J,67:K}),a(j,[2,58],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,63:G,64:H,65:I,66:J,67:K}),a(j,[2,59],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,63:G,64:H,65:I,66:J,67:K}),a(j,[2,60],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,63:G,64:H,65:I,66:J,67:K}),{45:[1,79]},{44:[1,80]},a(N,[2,65]),a(N,[2,81]),a(N,[2,82]),a(N,[2,83]),{3:82,4:O,5:P,6:Q,7:R,8:S,9:T,10:U,11:V,12:W,13:X,14:Y,15:Z,18:[1,81]},a($,[2,23]),a($,[2,1]),a($,[2,2]),a($,[2,3]),a($,[2,4]),a($,[2,5]),a($,[2,6]),a($,[2,7]),a($,[2,8]),a($,[2,9]),a($,[2,10]),a($,[2,11]),a($,[2,12]),a(j,[2,52],{58:31,43:83,4:l,5:m,10:n,12:o,13:p,14:q,60:E,61:F,63:G,64:H,65:I,66:J,67:K}),a(j,[2,55],{58:31,43:84,4:l,5:m,10:n,12:o,13:p,14:q,60:E,61:F,63:G,64:H,65:I,66:J,67:K}),{46:[1,85]},{45:[1,86]},{4:_,5:aa,6:ab,8:ac,11:ad,13:ae,16:89,17:af,18:ag,19:ah,20:ai,22:88,23:87},a($,[2,24]),a(j,[2,51],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,63:G,64:H,65:I,66:J,67:K}),a(j,[2,54],{59:59,58:60,4:l,5:m,8:L,10:n,12:o,13:p,14:q,18:M,63:G,64:H,65:I,66:J,67:K}),a(j,[2,47],{22:88,16:89,23:100,4:_,5:aa,6:ab,8:ac,11:ad,13:ae,17:af,18:ag,19:ah,20:ai}),{46:[1,101]},a(j,[2,29],{10:aj}),a(ak,[2,27],{16:103,4:_,5:aa,6:ab,8:ac,11:ad,13:ae,17:af,18:ag,19:ah,20:ai}),a(al,[2,25]),a(al,[2,13]),a(al,[2,14]),a(al,[2,15]),a(al,[2,16]),a(al,[2,17]),a(al,[2,18]),a(al,[2,19]),a(al,[2,20]),a(al,[2,21]),a(al,[2,22]),a(j,[2,49],{10:aj}),a(j,[2,48],{22:88,16:89,23:104,4:_,5:aa,6:ab,8:ac,11:ad,13:ae,17:af,18:ag,19:ah,20:ai}),{4:_,5:aa,6:ab,8:ac,11:ad,13:ae,16:89,17:af,18:ag,19:ah,20:ai,22:105},a(al,[2,26]),a(j,[2,50],{10:aj}),a(ak,[2,28],{16:103,4:_,5:aa,6:ab,8:ac,11:ad,13:ae,17:af,18:ag,19:ah,20:ai})],defaultActions:{8:[2,30],9:[2,31]},parseError:(0,e.K2)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,e.K2)(function(a){var b=this,c=[0],d=[],f=[null],g=[],h=this.table,i="",j=0,k=0,l=0,m=g.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;g.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,e.K2)(function(a){c.length=c.length-2*a,f.length=f.length-a,g.length=g.length-a},"popStack"),(0,e.K2)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=h[v]&&h[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],h[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(j+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),f.push(n.yytext),g.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(k=n.yyleng,i=n.yytext,j=n.yylineno,q=n.yylloc,l>0&&l--);break;case 2:if(z=this.productions_[w[1]][1],C.$=f[f.length-z],C._$={first_line:g[g.length-(z||1)].first_line,last_line:g[g.length-1].last_line,first_column:g[g.length-(z||1)].first_column,last_column:g[g.length-1].last_column},r&&(C._$.range=[g[g.length-(z||1)].range[0],g[g.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[i,k,j,o,w[1],f,g].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),f=f.slice(0,-1*z),g=g.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),f.push(C.$),g.push(C._$),A=h[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function an(){this.yy={}}return am.lexer={EOF:1,parseError:(0,e.K2)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,e.K2)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,e.K2)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,e.K2)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,e.K2)(function(){return this._more=!0,this},"more"),reject:(0,e.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,e.K2)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,e.K2)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,e.K2)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,e.K2)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,e.K2)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,e.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,e.K2)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,e.K2)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,e.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,e.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,e.K2)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,e.K2)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,e.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,e.K2)(function(a,b,c,d){switch(c){case 0:case 1:case 3:break;case 2:return 55;case 4:return this.begin("title"),35;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),37;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),39;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 23:case 25:case 31:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 48;case 14:return 50;case 15:return 49;case 16:return 51;case 17:return 52;case 18:return 53;case 19:return 54;case 20:return 25;case 21:this.begin("md_string");break;case 22:return"MD_STR";case 24:this.begin("string");break;case 26:return"STR";case 27:this.begin("class_name");break;case 28:return this.popState(),47;case 29:return this.begin("point_start"),44;case 30:return this.begin("point_x"),45;case 32:this.popState(),this.begin("point_y");break;case 33:return this.popState(),46;case 34:return 28;case 35:return 4;case 36:return 11;case 37:return 64;case 38:return 10;case 39:case 40:return 65;case 41:return 14;case 42:return 13;case 43:return 67;case 44:return 66;case 45:return 12;case 46:return 8;case 47:return 5;case 48:return 18;case 49:return 56;case 50:return 63;case 51:return 57}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:classDef\b)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::::)/i,/^(?:^\w+)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{class_name:{rules:[28],inclusive:!1},point_y:{rules:[33],inclusive:!1},point_x:{rules:[32],inclusive:!1},point_start:{rules:[30,31],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[22,23],inclusive:!1},string:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,21,24,27,29,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}},(0,e.K2)(an,"Parser"),an.prototype=am,am.Parser=an,new an}();g.parser=g;var h=(0,d.P$)(),i=class{constructor(){this.classes=new Map,this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}static{(0,e.K2)(this,"QuadrantBuilder")}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:d.UI.quadrantChart?.chartWidth||500,chartWidth:d.UI.quadrantChart?.chartHeight||500,titlePadding:d.UI.quadrantChart?.titlePadding||10,titleFontSize:d.UI.quadrantChart?.titleFontSize||20,quadrantPadding:d.UI.quadrantChart?.quadrantPadding||5,xAxisLabelPadding:d.UI.quadrantChart?.xAxisLabelPadding||5,yAxisLabelPadding:d.UI.quadrantChart?.yAxisLabelPadding||5,xAxisLabelFontSize:d.UI.quadrantChart?.xAxisLabelFontSize||16,yAxisLabelFontSize:d.UI.quadrantChart?.yAxisLabelFontSize||16,quadrantLabelFontSize:d.UI.quadrantChart?.quadrantLabelFontSize||16,quadrantTextTopPadding:d.UI.quadrantChart?.quadrantTextTopPadding||5,pointTextPadding:d.UI.quadrantChart?.pointTextPadding||5,pointLabelFontSize:d.UI.quadrantChart?.pointLabelFontSize||12,pointRadius:d.UI.quadrantChart?.pointRadius||5,xAxisPosition:d.UI.quadrantChart?.xAxisPosition||"top",yAxisPosition:d.UI.quadrantChart?.yAxisPosition||"left",quadrantInternalBorderStrokeWidth:d.UI.quadrantChart?.quadrantInternalBorderStrokeWidth||1,quadrantExternalBorderStrokeWidth:d.UI.quadrantChart?.quadrantExternalBorderStrokeWidth||2}}getDefaultThemeConfig(){return{quadrant1Fill:h.quadrant1Fill,quadrant2Fill:h.quadrant2Fill,quadrant3Fill:h.quadrant3Fill,quadrant4Fill:h.quadrant4Fill,quadrant1TextFill:h.quadrant1TextFill,quadrant2TextFill:h.quadrant2TextFill,quadrant3TextFill:h.quadrant3TextFill,quadrant4TextFill:h.quadrant4TextFill,quadrantPointFill:h.quadrantPointFill,quadrantPointTextFill:h.quadrantPointTextFill,quadrantXAxisTextFill:h.quadrantXAxisTextFill,quadrantYAxisTextFill:h.quadrantYAxisTextFill,quadrantTitleFill:h.quadrantTitleFill,quadrantInternalBorderStrokeFill:h.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:h.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),this.classes=new Map,e.Rm.info("clear called")}setData(a){this.data={...this.data,...a}}addPoints(a){this.data.points=[...a,...this.data.points]}addClass(a,b){this.classes.set(a,b)}setConfig(a){e.Rm.trace("setConfig called with: ",a),this.config={...this.config,...a}}setThemeConfig(a){e.Rm.trace("setThemeConfig called with: ",a),this.themeConfig={...this.themeConfig,...a}}calculateSpace(a,b,c,d){let e=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,f={top:"top"===a&&b?e:0,bottom:"bottom"===a&&b?e:0},g=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,h={left:"left"===this.config.yAxisPosition&&c?g:0,right:"right"===this.config.yAxisPosition&&c?g:0},i=this.config.titleFontSize+2*this.config.titlePadding,j={top:d?i:0},k=this.config.quadrantPadding+h.left,l=this.config.quadrantPadding+f.top+j.top,m=this.config.chartWidth-2*this.config.quadrantPadding-h.left-h.right,n=this.config.chartHeight-2*this.config.quadrantPadding-f.top-f.bottom-j.top;return{xAxisSpace:f,yAxisSpace:h,titleSpace:j,quadrantSpace:{quadrantLeft:k,quadrantTop:l,quadrantWidth:m,quadrantHalfWidth:m/2,quadrantHeight:n,quadrantHalfHeight:n/2}}}getAxisLabels(a,b,c,d){let{quadrantSpace:e,titleSpace:f}=d,{quadrantHalfHeight:g,quadrantHeight:h,quadrantLeft:i,quadrantHalfWidth:j,quadrantTop:k,quadrantWidth:l}=e,m=!!this.data.xAxisRightText,n=!!this.data.yAxisTopText,o=[];return this.data.xAxisLeftText&&b&&o.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:i+(m?j/2:0),y:"top"===a?this.config.xAxisLabelPadding+f.top:this.config.xAxisLabelPadding+k+h+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&b&&o.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:i+j+(m?j/2:0),y:"top"===a?this.config.xAxisLabelPadding+f.top:this.config.xAxisLabelPadding+k+h+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:m?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&c&&o.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+i+l+this.config.quadrantPadding,y:k+h-(n?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:n?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&c&&o.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+i+l+this.config.quadrantPadding,y:k+g-(n?g/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:n?"center":"left",horizontalPos:"top",rotation:-90}),o}getQuadrants(a){let{quadrantSpace:b}=a,{quadrantHalfHeight:c,quadrantLeft:d,quadrantHalfWidth:e,quadrantTop:f}=b,g=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:d+e,y:f,width:e,height:c,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:d,y:f,width:e,height:c,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:d,y:f+c,width:e,height:c,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:d+e,y:f+c,width:e,height:c,fill:this.themeConfig.quadrant4Fill}];for(let a of g)a.text.x=a.x+a.width/2,0===this.data.points.length?(a.text.y=a.y+a.height/2,a.text.horizontalPos="middle"):(a.text.y=a.y+this.config.quadrantTextTopPadding,a.text.horizontalPos="top");return g}getQuadrantPoints(a){let{quadrantSpace:b}=a,{quadrantHeight:c,quadrantLeft:d,quadrantTop:e,quadrantWidth:g}=b,h=(0,f.m4Y)().domain([0,1]).range([d,g+d]),i=(0,f.m4Y)().domain([0,1]).range([c+e,e]);return this.data.points.map(a=>{let b=this.classes.get(a.className);return b&&(a={...b,...a}),{x:h(a.x),y:i(a.y),fill:a.color??this.themeConfig.quadrantPointFill,radius:a.radius??this.config.pointRadius,text:{text:a.text,fill:this.themeConfig.quadrantPointTextFill,x:h(a.x),y:i(a.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0},strokeColor:a.strokeColor??this.themeConfig.quadrantPointFill,strokeWidth:a.strokeWidth??"0px"}})}getBorders(a){let b=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:c}=a,{quadrantHalfHeight:d,quadrantHeight:e,quadrantLeft:f,quadrantHalfWidth:g,quadrantTop:h,quadrantWidth:i}=c;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f-b,y1:h,x2:f+i+b,y2:h},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f+i,y1:h+b,x2:f+i,y2:h+e-b},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f-b,y1:h+e,x2:f+i+b,y2:h+e},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:f,y1:h+b,x2:f,y2:h+e-b},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:f+g,y1:h+b,x2:f+g,y2:h+e-b},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:f+b,y1:h+d,x2:f+i-b,y2:h+d}]}getTitle(a){if(a)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){let a=this.config.showXAxis&&!!(this.data.xAxisLeftText||this.data.xAxisRightText),b=this.config.showYAxis&&!!(this.data.yAxisTopText||this.data.yAxisBottomText),c=this.config.showTitle&&!!this.data.titleText,d=this.data.points.length>0?"bottom":this.config.xAxisPosition,e=this.calculateSpace(d,a,b,c);return{points:this.getQuadrantPoints(e),quadrants:this.getQuadrants(e),axisLabels:this.getAxisLabels(d,a,b,e),borderLines:this.getBorders(e),title:this.getTitle(c)}}},j=class extends Error{static{(0,e.K2)(this,"InvalidStyleError")}constructor(a,b,c){super(`value for ${a} ${b} is invalid, please use a valid ${c}`),this.name="InvalidStyleError"}};function k(a){return!/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(a)}function l(a){return!/^\d+$/.test(a)}function m(a){return!/^\d+px$/.test(a)}(0,e.K2)(k,"validateHexCode"),(0,e.K2)(l,"validateNumber"),(0,e.K2)(m,"validateSizeInPixels");var n=(0,d.D7)();function o(a){return(0,d.jZ)(a.trim(),n)}(0,e.K2)(o,"textSanitizer");var p=new i;function q(a){p.setData({quadrant1Text:o(a.text)})}function r(a){p.setData({quadrant2Text:o(a.text)})}function s(a){p.setData({quadrant3Text:o(a.text)})}function t(a){p.setData({quadrant4Text:o(a.text)})}function u(a){p.setData({xAxisLeftText:o(a.text)})}function v(a){p.setData({xAxisRightText:o(a.text)})}function w(a){p.setData({yAxisTopText:o(a.text)})}function x(a){p.setData({yAxisBottomText:o(a.text)})}function y(a){let b={};for(let c of a){let[a,d]=c.trim().split(/\s*:\s*/);if("radius"===a){if(l(d))throw new j(a,d,"number");b.radius=parseInt(d)}else if("color"===a){if(k(d))throw new j(a,d,"hex code");b.color=d}else if("stroke-color"===a){if(k(d))throw new j(a,d,"hex code");b.strokeColor=d}else if("stroke-width"===a){if(m(d))throw new j(a,d,"number of pixels (eg. 10px)");b.strokeWidth=d}else throw Error(`style named ${a} is not supported.`)}return b}function z(a,b,c,d,e){let f=y(e);p.addPoints([{x:c,y:d,text:o(a.text),className:b,...f}])}function A(a,b){p.addClass(a,y(b))}function B(a){p.setConfig({chartWidth:a})}function C(a){p.setConfig({chartHeight:a})}function D(){let{themeVariables:a,quadrantChart:b}=(0,d.D7)();return b&&p.setConfig(b),p.setThemeConfig({quadrant1Fill:a.quadrant1Fill,quadrant2Fill:a.quadrant2Fill,quadrant3Fill:a.quadrant3Fill,quadrant4Fill:a.quadrant4Fill,quadrant1TextFill:a.quadrant1TextFill,quadrant2TextFill:a.quadrant2TextFill,quadrant3TextFill:a.quadrant3TextFill,quadrant4TextFill:a.quadrant4TextFill,quadrantPointFill:a.quadrantPointFill,quadrantPointTextFill:a.quadrantPointTextFill,quadrantXAxisTextFill:a.quadrantXAxisTextFill,quadrantYAxisTextFill:a.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:a.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:a.quadrantInternalBorderStrokeFill,quadrantTitleFill:a.quadrantTitleFill}),p.setData({titleText:(0,d.ab)()}),p.build()}(0,e.K2)(q,"setQuadrant1Text"),(0,e.K2)(r,"setQuadrant2Text"),(0,e.K2)(s,"setQuadrant3Text"),(0,e.K2)(t,"setQuadrant4Text"),(0,e.K2)(u,"setXAxisLeftText"),(0,e.K2)(v,"setXAxisRightText"),(0,e.K2)(w,"setYAxisTopText"),(0,e.K2)(x,"setYAxisBottomText"),(0,e.K2)(y,"parseStyles"),(0,e.K2)(z,"addPoint"),(0,e.K2)(A,"addClass"),(0,e.K2)(B,"setWidth"),(0,e.K2)(C,"setHeight"),(0,e.K2)(D,"getQuadrantData");var E={setWidth:B,setHeight:C,setQuadrant1Text:q,setQuadrant2Text:r,setQuadrant3Text:s,setQuadrant4Text:t,setXAxisLeftText:u,setXAxisRightText:v,setYAxisTopText:w,setYAxisBottomText:x,parseStyles:y,addPoint:z,addClass:A,getQuadrantData:D,clear:(0,e.K2)(function(){p.clear(),(0,d.IU)()},"clear"),setAccTitle:d.SV,getAccTitle:d.iN,setDiagramTitle:d.ke,getDiagramTitle:d.ab,getAccDescription:d.m7,setAccDescription:d.EI},F={parser:g,db:E,renderer:{draw:(0,e.K2)((a,b,c,g)=>{let h;function i(a){return"top"===a?"hanging":"middle"}function j(a){return"left"===a?"start":"middle"}function k(a){return`translate(${a.x}, ${a.y}) rotate(${a.rotation||0})`}(0,e.K2)(i,"getDominantBaseLine"),(0,e.K2)(j,"getTextAnchor"),(0,e.K2)(k,"getTransformation");let l=(0,d.D7)();e.Rm.debug("Rendering quadrant chart\n"+a);let m=l.securityLevel;"sandbox"===m&&(h=(0,f.Ltv)("#i"+b));let n=("sandbox"===m?(0,f.Ltv)(h.nodes()[0].contentDocument.body):(0,f.Ltv)("body")).select(`[id="${b}"]`),o=n.append("g").attr("class","main"),p=l.quadrantChart?.chartWidth??500,q=l.quadrantChart?.chartHeight??500;(0,d.a$)(n,q,p,l.quadrantChart?.useMaxWidth??!0),n.attr("viewBox","0 0 "+p+" "+q),g.db.setHeight(q),g.db.setWidth(p);let r=g.db.getQuadrantData(),s=o.append("g").attr("class","quadrants"),t=o.append("g").attr("class","border"),u=o.append("g").attr("class","data-points"),v=o.append("g").attr("class","labels"),w=o.append("g").attr("class","title");r.title&&w.append("text").attr("x",0).attr("y",0).attr("fill",r.title.fill).attr("font-size",r.title.fontSize).attr("dominant-baseline",i(r.title.horizontalPos)).attr("text-anchor",j(r.title.verticalPos)).attr("transform",k(r.title)).text(r.title.text),r.borderLines&&t.selectAll("line").data(r.borderLines).enter().append("line").attr("x1",a=>a.x1).attr("y1",a=>a.y1).attr("x2",a=>a.x2).attr("y2",a=>a.y2).style("stroke",a=>a.strokeFill).style("stroke-width",a=>a.strokeWidth);let x=s.selectAll("g.quadrant").data(r.quadrants).enter().append("g").attr("class","quadrant");x.append("rect").attr("x",a=>a.x).attr("y",a=>a.y).attr("width",a=>a.width).attr("height",a=>a.height).attr("fill",a=>a.fill),x.append("text").attr("x",0).attr("y",0).attr("fill",a=>a.text.fill).attr("font-size",a=>a.text.fontSize).attr("dominant-baseline",a=>i(a.text.horizontalPos)).attr("text-anchor",a=>j(a.text.verticalPos)).attr("transform",a=>k(a.text)).text(a=>a.text.text),v.selectAll("g.label").data(r.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text(a=>a.text).attr("fill",a=>a.fill).attr("font-size",a=>a.fontSize).attr("dominant-baseline",a=>i(a.horizontalPos)).attr("text-anchor",a=>j(a.verticalPos)).attr("transform",a=>k(a));let y=u.selectAll("g.data-point").data(r.points).enter().append("g").attr("class","data-point");y.append("circle").attr("cx",a=>a.x).attr("cy",a=>a.y).attr("r",a=>a.radius).attr("fill",a=>a.fill).attr("stroke",a=>a.strokeColor).attr("stroke-width",a=>a.strokeWidth),y.append("text").attr("x",0).attr("y",0).text(a=>a.text.text).attr("fill",a=>a.text.fill).attr("font-size",a=>a.text.fontSize).attr("dominant-baseline",a=>i(a.text.horizontalPos)).attr("text-anchor",a=>j(a.text.verticalPos)).attr("transform",a=>k(a.text))},"draw")},styles:(0,e.K2)(()=>"","styles")}}};
@@ -1,215 +0,0 @@
1
- "use strict";exports.id=8194,exports.ids=[8194],exports.modules={18194:(a,b,c)=>{c.d(b,{Zk:()=>k,q7:()=>M,tM:()=>ac,u4:()=>ab});var d=c(33983),e=c(74122),f=c(27771),g=c(66860),h=c(99103),i=c(19195),j=function(){var a=(0,i.K2)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[1,2],c=[1,3],d=[1,4],e=[2,4],f=[1,9],g=[1,11],h=[1,16],j=[1,17],k=[1,18],l=[1,19],m=[1,33],n=[1,20],o=[1,21],p=[1,22],q=[1,23],r=[1,24],s=[1,26],t=[1,27],u=[1,28],v=[1,29],w=[1,30],x=[1,31],y=[1,32],z=[1,35],A=[1,36],B=[1,37],C=[1,38],D=[1,34],E=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],F=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],G=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],H={trace:(0,i.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,i.K2)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 3:return d.setRootDoc(f[h]),f[h];case 4:this.$=[];break;case 5:"nl"!=f[h]&&(f[h-1].push(f[h]),this.$=f[h-1]);break;case 6:case 7:case 12:this.$=f[h];break;case 8:this.$="nl";break;case 13:let i=f[h-1];i.description=d.trimColon(f[h]),this.$=i;break;case 14:this.$={stmt:"relation",state1:f[h-2],state2:f[h]};break;case 15:let j=d.trimColon(f[h]);this.$={stmt:"relation",state1:f[h-3],state2:f[h-1],description:j};break;case 19:this.$={stmt:"state",id:f[h-3],type:"default",description:"",doc:f[h-1]};break;case 20:var k=f[h],l=f[h-2].trim();if(f[h].match(":")){var m=f[h].split(":");k=m[0],l=[l,m[1]]}this.$={stmt:"state",id:k,type:"default",description:l};break;case 21:this.$={stmt:"state",id:f[h-3],type:"default",description:f[h-5],doc:f[h-1]};break;case 22:this.$={stmt:"state",id:f[h],type:"fork"};break;case 23:this.$={stmt:"state",id:f[h],type:"join"};break;case 24:this.$={stmt:"state",id:f[h],type:"choice"};break;case 25:this.$={stmt:"state",id:d.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:f[h-1].trim(),note:{position:f[h-2].trim(),text:f[h].trim()}};break;case 29:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 30:case 31:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:f[h-3],url:f[h-2],tooltip:f[h-1]};break;case 33:this.$={stmt:"click",id:f[h-3],url:f[h-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:f[h-1].trim(),classes:f[h].trim()};break;case 36:this.$={stmt:"style",id:f[h-1].trim(),styleClass:f[h].trim()};break;case 37:this.$={stmt:"applyClass",id:f[h-1].trim(),styleClass:f[h].trim()};break;case 38:d.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:d.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:d.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:d.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:f[h].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:f[h-2].trim(),classes:[f[h].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:b,5:c,6:d},{1:[3]},{3:5,4:b,5:c,6:d},{3:6,4:b,5:c,6:d},a([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],e,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:f,5:g,8:8,9:10,10:12,11:13,12:14,13:15,16:h,17:j,19:k,22:l,24:m,25:n,26:o,27:p,28:q,29:r,32:25,33:s,35:t,37:u,38:v,41:w,45:x,48:y,51:z,52:A,53:B,54:C,57:D},a(E,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:h,17:j,19:k,22:l,24:m,25:n,26:o,27:p,28:q,29:r,32:25,33:s,35:t,37:u,38:v,41:w,45:x,48:y,51:z,52:A,53:B,54:C,57:D},a(E,[2,7]),a(E,[2,8]),a(E,[2,9]),a(E,[2,10]),a(E,[2,11]),a(E,[2,12],{14:[1,40],15:[1,41]}),a(E,[2,16]),{18:[1,42]},a(E,[2,18],{20:[1,43]}),{23:[1,44]},a(E,[2,22]),a(E,[2,23]),a(E,[2,24]),a(E,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},a(E,[2,28]),{34:[1,49]},{36:[1,50]},a(E,[2,31]),{13:51,24:m,57:D},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},a(F,[2,44],{58:[1,56]}),a(F,[2,45],{58:[1,57]}),a(E,[2,38]),a(E,[2,39]),a(E,[2,40]),a(E,[2,41]),a(E,[2,6]),a(E,[2,13]),{13:58,24:m,57:D},a(E,[2,17]),a(G,e,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},a(E,[2,29]),a(E,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},a(E,[2,14],{14:[1,71]}),{4:f,5:g,8:8,9:10,10:12,11:13,12:14,13:15,16:h,17:j,19:k,21:[1,72],22:l,24:m,25:n,26:o,27:p,28:q,29:r,32:25,33:s,35:t,37:u,38:v,41:w,45:x,48:y,51:z,52:A,53:B,54:C,57:D},a(E,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},a(E,[2,34]),a(E,[2,35]),a(E,[2,36]),a(E,[2,37]),a(F,[2,46]),a(F,[2,47]),a(E,[2,15]),a(E,[2,19]),a(G,e,{7:78}),a(E,[2,26]),a(E,[2,27]),{5:[1,79]},{5:[1,80]},{4:f,5:g,8:8,9:10,10:12,11:13,12:14,13:15,16:h,17:j,19:k,21:[1,81],22:l,24:m,25:n,26:o,27:p,28:q,29:r,32:25,33:s,35:t,37:u,38:v,41:w,45:x,48:y,51:z,52:A,53:B,54:C,57:D},a(E,[2,32]),a(E,[2,33]),a(E,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:(0,i.K2)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,i.K2)(function(a){var b=this,c=[0],d=[],e=[null],f=[],g=this.table,h="",j=0,k=0,l=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,i.K2)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,i.K2)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=g[v]&&g[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],g[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(j+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(j+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(k=n.yyleng,h=n.yytext,j=n.yylineno,q=n.yylloc,l>0&&l--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[h,k,j,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=g[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function I(){this.yy={}}return H.lexer={EOF:1,parseError:(0,i.K2)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,i.K2)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,i.K2)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,i.K2)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,i.K2)(function(){return this._more=!0,this},"more"),reject:(0,i.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,i.K2)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,i.K2)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,i.K2)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,i.K2)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,i.K2)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,i.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,i.K2)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,i.K2)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,i.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,i.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,i.K2)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,i.K2)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,i.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,i.K2)(function(a,b,c,d){switch(c){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:case 45:return 51;case 5:case 46:return 52;case 6:case 47:return 53;case 7:case 48:return 54;case 8:case 9:case 11:case 12:case 13:case 14:case 57:case 59:case 65:break;case 10:case 80:return 5;case 15:case 35:return this.pushState("SCALE"),17;case 16:case 36:return 18;case 17:case 23:case 37:case 52:case 55:this.popState();break;case 18:return this.begin("acc_title"),33;case 19:return this.popState(),"acc_title_value";case 20:return this.begin("acc_descr"),35;case 21:return this.popState(),"acc_descr_value";case 22:this.begin("acc_descr_multiline");break;case 24:return"acc_descr_multiline_value";case 25:return this.pushState("CLASSDEF"),41;case 26:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 27:return this.popState(),this.pushState("CLASSDEFID"),42;case 28:return this.popState(),43;case 29:return this.pushState("CLASS"),48;case 30:return this.popState(),this.pushState("CLASS_STYLE"),49;case 31:return this.popState(),50;case 32:return this.pushState("STYLE"),45;case 33:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 34:return this.popState(),47;case 38:this.pushState("STATE");break;case 39:case 42:return this.popState(),b.yytext=b.yytext.slice(0,-8).trim(),25;case 40:case 43:return this.popState(),b.yytext=b.yytext.slice(0,-8).trim(),26;case 41:case 44:return this.popState(),b.yytext=b.yytext.slice(0,-10).trim(),27;case 49:this.pushState("STATE_STRING");break;case 50:return this.pushState("STATE_ID"),"AS";case 51:case 67:return this.popState(),"ID";case 53:return"STATE_DESCR";case 54:return 19;case 56:return this.popState(),this.pushState("struct"),20;case 58:return this.popState(),21;case 60:return this.begin("NOTE"),29;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:return this.popState(),this.pushState("NOTE_ID"),60;case 63:this.popState(),this.pushState("FLOATING_NOTE");break;case 64:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 66:return"NOTE_TEXT";case 68:return this.popState(),this.pushState("NOTE_TEXT"),24;case 69:return this.popState(),b.yytext=b.yytext.substr(2).trim(),31;case 70:return this.popState(),b.yytext=b.yytext.slice(0,-8).trim(),31;case 71:case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return b.yytext=b.yytext.trim(),14;case 77:return 15;case 78:return 28;case 79:return 58;case 81:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}},(0,i.K2)(I,"Parser"),I.prototype=H,H.Parser=I,new I}();j.parser=j;var k=j,l="TB",m="state",n="root",o="relation",p="default",q="divider",r="fill:none",s="fill: #333",t="text",u="normal",v="rect",w="rectWithTitle",x="divider",y="roundedWithTitle",z="statediagram",A=`${z}-state`,B="transition",C=`${B} note-edge`,D=`${z}-note`,E=`${z}-cluster`,F=`${z}-cluster-alt`,G="parent",H="note",I="----",J=`${I}${H}`,K=`${I}${G}`,L=(0,i.K2)((a,b=l)=>{if(!a.doc)return b;let c=b;for(let b of a.doc)"dir"===b.stmt&&(c=b.value);return c},"getDir"),M={getClasses:(0,i.K2)(function(a,b){return b.db.getClasses()},"getClasses"),draw:(0,i.K2)(async function(a,b,c,j){i.Rm.info("REF0:"),i.Rm.info("Drawing state diagram (v2)",b);let{securityLevel:k,state:l,layout:m}=(0,h.D7)();j.db.extract(j.db.getRootDocV2());let n=j.db.getData(),o=(0,d.A)(b,k);n.type=j.type,n.layoutAlgorithm=m,n.nodeSpacing=l?.nodeSpacing||50,n.rankSpacing=l?.rankSpacing||50,n.markers=["barb"],n.diagramId=b,await (0,f.XX)(n,o);try{("function"==typeof j.db.getLinks?j.db.getLinks():new Map).forEach((a,b)=>{let c,d="string"==typeof b?b:"string"==typeof b?.id?b.id:"";if(!d)return void i.Rm.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(b));let e=o.node()?.querySelectorAll("g");if(e?.forEach(a=>{a.textContent?.trim()===d&&(c=a)}),!c)return void i.Rm.warn("⚠️ Could not find node matching text:",d);let f=c.parentNode;if(!f)return void i.Rm.warn("⚠️ Node has no parent, cannot wrap:",d);let g=document.createElementNS("http://www.w3.org/2000/svg","a"),h=a.url.replace(/^"+|"+$/g,"");if(g.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",h),g.setAttribute("target","_blank"),a.tooltip){let b=a.tooltip.replace(/^"+|"+$/g,"");g.setAttribute("title",b)}f.replaceChild(g,c),g.appendChild(c),i.Rm.info("\uD83D\uDD17 Wrapped node in <a> tag for:",d,a.url)})}catch(a){i.Rm.error("❌ Error injecting clickable links:",a)}g._K.insertTitle(o,"statediagramTitleText",l?.titleTopMargin??25,j.db.getDiagramTitle()),(0,e.P)(o,8,z,l?.useMaxWidth??!0)},"draw"),getDir:L},N=new Map,O=0;function P(a="",b=0,c="",d=I){let e=null!==c&&c.length>0?`${d}${c}`:"";return`state-${a}${e}-${b}`}(0,i.K2)(P,"stateDomId");var Q=(0,i.K2)((a,b,c,d,e,f,g,j)=>{i.Rm.trace("items",b),b.forEach(b=>{switch(b.stmt){case m:case p:V(a,b,c,d,e,f,g,j);break;case o:{V(a,b.state1,c,d,e,f,g,j),V(a,b.state2,c,d,e,f,g,j);let i={id:"edge"+O,start:b.state1.id,end:b.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:r,labelStyle:"",label:h.Y2.sanitizeText(b.description??"",(0,h.D7)()),arrowheadStyle:s,labelpos:"c",labelType:t,thickness:u,classes:B,look:g};e.push(i),O++}}})},"setupDoc"),R=(0,i.K2)((a,b=l)=>{let c=b;if(a.doc)for(let b of a.doc)"dir"===b.stmt&&(c=b.value);return c},"getDir");function S(a,b,c){if(!b.id||"</join></fork>"===b.id||"</choice>"===b.id)return;b.cssClasses&&(Array.isArray(b.cssCompiledStyles)||(b.cssCompiledStyles=[]),b.cssClasses.split(" ").forEach(a=>{let d=c.get(a);d&&(b.cssCompiledStyles=[...b.cssCompiledStyles??[],...d.styles])}));let d=a.find(a=>a.id===b.id);d?Object.assign(d,b):a.push(b)}function T(a){return a?.classes?.join(" ")??""}function U(a){return a?.styles??[]}(0,i.K2)(S,"insertOrUpdateNode"),(0,i.K2)(T,"getClassesFromDbInfo"),(0,i.K2)(U,"getStylesFromDbInfo");var V=(0,i.K2)((a,b,c,d,e,f,g,j)=>{let k=b.id,l=c.get(k),m=T(l),n=U(l),o=(0,h.D7)();if(i.Rm.info("dataFetcher parsedItem",b,l,n),"root"!==k){let c=v;!0===b.start?c="stateStart":!1===b.start&&(c="stateEnd"),b.type!==p&&(c=b.type),N.get(k)||N.set(k,{id:k,shape:c,description:h.Y2.sanitizeText(k,o),cssClasses:`${m} ${A}`,cssStyles:n});let l=N.get(k);b.description&&(Array.isArray(l.description)?(l.shape=w,l.description.push(b.description)):l.description?.length&&l.description.length>0?(l.shape=w,l.description===k?l.description=[b.description]:l.description=[l.description,b.description]):(l.shape=v,l.description=b.description),l.description=h.Y2.sanitizeTextOrArray(l.description,o)),l.description?.length===1&&l.shape===w&&("group"===l.type?l.shape=y:l.shape=v),!l.type&&b.doc&&(i.Rm.info("Setting cluster for XCX",k,R(b)),l.type="group",l.isGroup=!0,l.dir=R(b),l.shape=b.type===q?x:y,l.cssClasses=`${l.cssClasses} ${E} ${f?F:""}`);let z={labelStyle:"",shape:l.shape,label:l.description,cssClasses:l.cssClasses,cssCompiledStyles:[],cssStyles:l.cssStyles,id:k,dir:l.dir,domId:P(k,O),type:l.type,isGroup:"group"===l.type,padding:8,rx:10,ry:10,look:g};if(z.shape===x&&(z.label=""),a&&"root"!==a.id&&(i.Rm.trace("Setting node ",k," to be child of its parent ",a.id),z.parentId=a.id),z.centerLabel=!0,b.note){let a={labelStyle:"",shape:"note",label:b.note.text,cssClasses:D,cssStyles:[],cssCompiledStyles:[],id:k+J+"-"+O,domId:P(k,O,H),type:l.type,isGroup:"group"===l.type,padding:o.flowchart?.padding,look:g,position:b.note.position},c=k+K,f={labelStyle:"",shape:"noteGroup",label:b.note.text,cssClasses:l.cssClasses,cssStyles:[],id:k+K,domId:P(k,O,G),type:"group",isGroup:!0,padding:16,look:g,position:b.note.position};O++,f.id=c,a.parentId=c,S(d,f,j),S(d,a,j),S(d,z,j);let h=k,i=a.id;"left of"===b.note.position&&(h=a.id,i=k),e.push({id:h+"-"+i,start:h,end:i,arrowhead:"none",arrowTypeEnd:"",style:r,labelStyle:"",classes:C,arrowheadStyle:s,labelpos:"c",labelType:t,thickness:u,look:g})}else S(d,z,j)}b.doc&&(i.Rm.trace("Adding nodes children "),Q(b,b.doc,c,d,e,!f,g,j))},"dataFetcher"),W=(0,i.K2)(()=>{N.clear(),O=0},"reset"),X="start",Y="color",Z="fill",$=(0,i.K2)(()=>new Map,"newClassesList"),_=(0,i.K2)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),aa=(0,i.K2)(a=>JSON.parse(JSON.stringify(a)),"clone"),ab=class{constructor(a){this.version=a,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=$(),this.documents={root:_()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=h.iN,this.setAccTitle=h.SV,this.getAccDescription=h.m7,this.setAccDescription=h.EI,this.setDiagramTitle=h.ke,this.getDiagramTitle=h.ab,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}static{(0,i.K2)(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(a){for(let b of(this.clear(!0),Array.isArray(a)?a:a.doc))switch(b.stmt){case m:this.addState(b.id.trim(),b.type,b.doc,b.description,b.note);break;case o:this.addRelation(b.state1,b.state2,b.description);break;case"classDef":this.addStyleClass(b.id.trim(),b.classes);break;case"style":this.handleStyleDef(b);break;case"applyClass":this.setCssClass(b.id.trim(),b.styleClass);break;case"click":this.addLink(b.id,b.url,b.tooltip)}let b=this.getStates(),c=(0,h.D7)();for(let a of(W(),V(void 0,this.getRootDocV2(),b,this.nodes,this.edges,!0,c.look,this.classes),this.nodes))if(Array.isArray(a.label)){if(a.description=a.label.slice(1),a.isGroup&&a.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${a.id}]`);a.label=a.label[0]}}handleStyleDef(a){let b=a.id.trim().split(","),c=a.styleClass.split(",");for(let a of b){let b=this.getState(a);if(!b){let c=a.trim();this.addState(c),b=this.getState(c)}b&&(b.styles=c.map(a=>a.replace(/;/g,"")?.trim()))}}setRootDoc(a){i.Rm.info("Setting root doc",a),this.rootDoc=a,1===this.version?this.extract(a):this.extract(this.getRootDocV2())}docTranslator(a,b,c){if(b.stmt===o){this.docTranslator(a,b.state1,!0),this.docTranslator(a,b.state2,!1);return}if(b.stmt===m&&("[*]"===b.id?(b.id=a.id+(c?"_start":"_end"),b.start=c):b.id=b.id.trim()),b.stmt!==n&&b.stmt!==m||!b.doc)return;let d=[],e=[];for(let a of b.doc)if(a.type===q){let b=aa(a);b.doc=aa(e),d.push(b),e=[]}else e.push(a);if(d.length>0&&e.length>0){let a={stmt:m,id:(0,g.$C)(),type:"divider",doc:aa(e)};d.push(aa(a)),b.doc=d}b.doc.forEach(a=>this.docTranslator(b,a,!0))}getRootDocV2(){return this.docTranslator({id:n,stmt:n},{id:n,stmt:n,doc:this.rootDoc},!0),{id:n,doc:this.rootDoc}}addState(a,b=p,c,d,e,f,g,j){let k=a?.trim();if(this.currentDocument.states.has(k)){let a=this.currentDocument.states.get(k);if(!a)throw Error(`State not found: ${k}`);a.doc||(a.doc=c),a.type||(a.type=b)}else i.Rm.info("Adding state ",k,d),this.currentDocument.states.set(k,{stmt:m,id:k,descriptions:[],type:b,doc:c,note:e,classes:[],styles:[],textStyles:[]});if(d&&(i.Rm.info("Setting state description",k,d),(Array.isArray(d)?d:[d]).forEach(a=>this.addDescription(k,a.trim()))),e){let a=this.currentDocument.states.get(k);if(!a)throw Error(`State not found: ${k}`);a.note=e,a.note.text=h.Y2.sanitizeText(a.note.text,(0,h.D7)())}f&&(i.Rm.info("Setting state classes",k,f),(Array.isArray(f)?f:[f]).forEach(a=>this.setCssClass(k,a.trim()))),g&&(i.Rm.info("Setting state styles",k,g),(Array.isArray(g)?g:[g]).forEach(a=>this.setStyle(k,a.trim()))),j&&(i.Rm.info("Setting state styles",k,g),(Array.isArray(j)?j:[j]).forEach(a=>this.setTextStyle(k,a.trim())))}clear(a){this.nodes=[],this.edges=[],this.documents={root:_()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=$(),a||(this.links=new Map,(0,h.IU)())}getState(a){return this.currentDocument.states.get(a)}getStates(){return this.currentDocument.states}logDocuments(){i.Rm.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(a,b,c){this.links.set(a,{url:b,tooltip:c}),i.Rm.warn("Adding link",a,b,c)}getLinks(){return this.links}startIdIfNeeded(a=""){return"[*]"===a?(this.startEndCount++,`${X}${this.startEndCount}`):a}startTypeIfNeeded(a="",b=p){return"[*]"===a?X:b}endIdIfNeeded(a=""){return"[*]"===a?(this.startEndCount++,`end${this.startEndCount}`):a}endTypeIfNeeded(a="",b=p){return"[*]"===a?"end":b}addRelationObjs(a,b,c=""){let d=this.startIdIfNeeded(a.id.trim()),e=this.startTypeIfNeeded(a.id.trim(),a.type),f=this.startIdIfNeeded(b.id.trim()),g=this.startTypeIfNeeded(b.id.trim(),b.type);this.addState(d,e,a.doc,a.description,a.note,a.classes,a.styles,a.textStyles),this.addState(f,g,b.doc,b.description,b.note,b.classes,b.styles,b.textStyles),this.currentDocument.relations.push({id1:d,id2:f,relationTitle:h.Y2.sanitizeText(c,(0,h.D7)())})}addRelation(a,b,c){if("object"==typeof a&&"object"==typeof b)this.addRelationObjs(a,b,c);else if("string"==typeof a&&"string"==typeof b){let d=this.startIdIfNeeded(a.trim()),e=this.startTypeIfNeeded(a),f=this.endIdIfNeeded(b.trim()),g=this.endTypeIfNeeded(b);this.addState(d,e),this.addState(f,g),this.currentDocument.relations.push({id1:d,id2:f,relationTitle:c?h.Y2.sanitizeText(c,(0,h.D7)()):void 0})}}addDescription(a,b){let c=this.currentDocument.states.get(a),d=b.startsWith(":")?b.replace(":","").trim():b;c?.descriptions?.push(h.Y2.sanitizeText(d,(0,h.D7)()))}cleanupLabel(a){return a.startsWith(":")?a.slice(2).trim():a.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(a,b=""){this.classes.has(a)||this.classes.set(a,{id:a,styles:[],textStyles:[]});let c=this.classes.get(a);b&&c&&b.split(",").forEach(a=>{let b=a.replace(/([^;]*);/,"$1").trim();if(RegExp(Y).exec(a)){let a=b.replace(Z,"bgFill").replace(Y,Z);c.textStyles.push(a)}c.styles.push(b)})}getClasses(){return this.classes}setCssClass(a,b){a.split(",").forEach(a=>{let c=this.getState(a);if(!c){let b=a.trim();this.addState(b),c=this.getState(b)}c?.classes?.push(b)})}setStyle(a,b){this.getState(a)?.styles?.push(b)}setTextStyle(a,b){this.getState(a)?.textStyles?.push(b)}getDirectionStatement(){return this.rootDoc.find(a=>"dir"===a.stmt)}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(a){let b=this.getDirectionStatement();b?b.value=a:this.rootDoc.unshift({stmt:"dir",value:a})}trimColon(a){return a.startsWith(":")?a.slice(1).trim():a.trim()}getData(){let a=(0,h.D7)();return{nodes:this.nodes,edges:this.edges,other:{},config:a,direction:L(this.getRootDocV2())}}getConfig(){return(0,h.D7)().state}},ac=(0,i.K2)(a=>`
2
- defs #statediagram-barbEnd {
3
- fill: ${a.transitionColor};
4
- stroke: ${a.transitionColor};
5
- }
6
- g.stateGroup text {
7
- fill: ${a.nodeBorder};
8
- stroke: none;
9
- font-size: 10px;
10
- }
11
- g.stateGroup text {
12
- fill: ${a.textColor};
13
- stroke: none;
14
- font-size: 10px;
15
-
16
- }
17
- g.stateGroup .state-title {
18
- font-weight: bolder;
19
- fill: ${a.stateLabelColor};
20
- }
21
-
22
- g.stateGroup rect {
23
- fill: ${a.mainBkg};
24
- stroke: ${a.nodeBorder};
25
- }
26
-
27
- g.stateGroup line {
28
- stroke: ${a.lineColor};
29
- stroke-width: 1;
30
- }
31
-
32
- .transition {
33
- stroke: ${a.transitionColor};
34
- stroke-width: 1;
35
- fill: none;
36
- }
37
-
38
- .stateGroup .composit {
39
- fill: ${a.background};
40
- border-bottom: 1px
41
- }
42
-
43
- .stateGroup .alt-composit {
44
- fill: #e0e0e0;
45
- border-bottom: 1px
46
- }
47
-
48
- .state-note {
49
- stroke: ${a.noteBorderColor};
50
- fill: ${a.noteBkgColor};
51
-
52
- text {
53
- fill: ${a.noteTextColor};
54
- stroke: none;
55
- font-size: 10px;
56
- }
57
- }
58
-
59
- .stateLabel .box {
60
- stroke: none;
61
- stroke-width: 0;
62
- fill: ${a.mainBkg};
63
- opacity: 0.5;
64
- }
65
-
66
- .edgeLabel .label rect {
67
- fill: ${a.labelBackgroundColor};
68
- opacity: 0.5;
69
- }
70
- .edgeLabel {
71
- background-color: ${a.edgeLabelBackground};
72
- p {
73
- background-color: ${a.edgeLabelBackground};
74
- }
75
- rect {
76
- opacity: 0.5;
77
- background-color: ${a.edgeLabelBackground};
78
- fill: ${a.edgeLabelBackground};
79
- }
80
- text-align: center;
81
- }
82
- .edgeLabel .label text {
83
- fill: ${a.transitionLabelColor||a.tertiaryTextColor};
84
- }
85
- .label div .edgeLabel {
86
- color: ${a.transitionLabelColor||a.tertiaryTextColor};
87
- }
88
-
89
- .stateLabel text {
90
- fill: ${a.stateLabelColor};
91
- font-size: 10px;
92
- font-weight: bold;
93
- }
94
-
95
- .node circle.state-start {
96
- fill: ${a.specialStateColor};
97
- stroke: ${a.specialStateColor};
98
- }
99
-
100
- .node .fork-join {
101
- fill: ${a.specialStateColor};
102
- stroke: ${a.specialStateColor};
103
- }
104
-
105
- .node circle.state-end {
106
- fill: ${a.innerEndBackground};
107
- stroke: ${a.background};
108
- stroke-width: 1.5
109
- }
110
- .end-state-inner {
111
- fill: ${a.compositeBackground||a.background};
112
- // stroke: ${a.background};
113
- stroke-width: 1.5
114
- }
115
-
116
- .node rect {
117
- fill: ${a.stateBkg||a.mainBkg};
118
- stroke: ${a.stateBorder||a.nodeBorder};
119
- stroke-width: 1px;
120
- }
121
- .node polygon {
122
- fill: ${a.mainBkg};
123
- stroke: ${a.stateBorder||a.nodeBorder};;
124
- stroke-width: 1px;
125
- }
126
- #statediagram-barbEnd {
127
- fill: ${a.lineColor};
128
- }
129
-
130
- .statediagram-cluster rect {
131
- fill: ${a.compositeTitleBackground};
132
- stroke: ${a.stateBorder||a.nodeBorder};
133
- stroke-width: 1px;
134
- }
135
-
136
- .cluster-label, .nodeLabel {
137
- color: ${a.stateLabelColor};
138
- // line-height: 1;
139
- }
140
-
141
- .statediagram-cluster rect.outer {
142
- rx: 5px;
143
- ry: 5px;
144
- }
145
- .statediagram-state .divider {
146
- stroke: ${a.stateBorder||a.nodeBorder};
147
- }
148
-
149
- .statediagram-state .title-state {
150
- rx: 5px;
151
- ry: 5px;
152
- }
153
- .statediagram-cluster.statediagram-cluster .inner {
154
- fill: ${a.compositeBackground||a.background};
155
- }
156
- .statediagram-cluster.statediagram-cluster-alt .inner {
157
- fill: ${a.altBackground?a.altBackground:"#efefef"};
158
- }
159
-
160
- .statediagram-cluster .inner {
161
- rx:0;
162
- ry:0;
163
- }
164
-
165
- .statediagram-state rect.basic {
166
- rx: 5px;
167
- ry: 5px;
168
- }
169
- .statediagram-state rect.divider {
170
- stroke-dasharray: 10,10;
171
- fill: ${a.altBackground?a.altBackground:"#efefef"};
172
- }
173
-
174
- .note-edge {
175
- stroke-dasharray: 5;
176
- }
177
-
178
- .statediagram-note rect {
179
- fill: ${a.noteBkgColor};
180
- stroke: ${a.noteBorderColor};
181
- stroke-width: 1px;
182
- rx: 0;
183
- ry: 0;
184
- }
185
- .statediagram-note rect {
186
- fill: ${a.noteBkgColor};
187
- stroke: ${a.noteBorderColor};
188
- stroke-width: 1px;
189
- rx: 0;
190
- ry: 0;
191
- }
192
-
193
- .statediagram-note text {
194
- fill: ${a.noteTextColor};
195
- }
196
-
197
- .statediagram-note .nodeLabel {
198
- color: ${a.noteTextColor};
199
- }
200
- .statediagram .edgeLabel {
201
- color: red; // ${a.noteTextColor};
202
- }
203
-
204
- #dependencyStart, #dependencyEnd {
205
- fill: ${a.lineColor};
206
- stroke: ${a.lineColor};
207
- stroke-width: 1;
208
- }
209
-
210
- .statediagramTitleText {
211
- text-anchor: middle;
212
- font-size: 18px;
213
- fill: ${a.textColor};
214
- }
215
- `,"getStyles")},33983:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(19195),e=c(44824),f=(0,d.K2)((a,b)=>{let c;return"sandbox"===b&&(c=(0,e.Ltv)("#i"+a)),("sandbox"===b?(0,e.Ltv)(c.nodes()[0].contentDocument.body):(0,e.Ltv)("body")).select(`[id="${a}"]`)},"getDiagramElement")},74122:(a,b,c)=>{c.d(b,{P:()=>f});var d=c(99103),e=c(19195),f=(0,e.K2)((a,b,c,f)=>{a.attr("class",c);let{width:i,height:j,x:k,y:l}=g(a,b);(0,d.a$)(a,j,i,f);let m=h(k,l,i,j,b);a.attr("viewBox",m),e.Rm.debug(`viewBox configured: ${m} with padding: ${b}`)},"setupViewPortForSVG"),g=(0,e.K2)((a,b)=>{let c=a.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:c.width+2*b,height:c.height+2*b,x:c.x,y:c.y}},"calculateDimensionsWithPadding"),h=(0,e.K2)((a,b,c,d,e)=>`${a-e} ${b-e} ${c} ${d}`,"createViewBox")}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=8231,exports.ids=[8231],exports.modules={68231:(a,b,c)=>{c.d(b,{createPacketServices:()=>d.$});var d=c(90228);c(9405)}};