@vibedeckx/linux-x64 0.1.10
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.
- package/dist/agent-provider.d.ts +92 -0
- package/dist/agent-provider.js +8 -0
- package/dist/agent-session-manager.d.ts +165 -0
- package/dist/agent-session-manager.js +985 -0
- package/dist/agent-types.d.ts +148 -0
- package/dist/agent-types.js +4 -0
- package/dist/bin.d.ts +2 -0
- package/dist/bin.js +4 -0
- package/dist/browser-manager.d.ts +46 -0
- package/dist/browser-manager.js +182 -0
- package/dist/chat-session-manager.d.ts +101 -0
- package/dist/chat-session-manager.js +1425 -0
- package/dist/command.d.ts +1 -0
- package/dist/command.js +163 -0
- package/dist/constants.d.ts +3 -0
- package/dist/constants.js +5 -0
- package/dist/conversation-patch.d.ts +103 -0
- package/dist/conversation-patch.js +69 -0
- package/dist/dialog.d.ts +1 -0
- package/dist/dialog.js +41 -0
- package/dist/entry-index-provider.d.ts +74 -0
- package/dist/entry-index-provider.js +105 -0
- package/dist/event-bus.d.ts +47 -0
- package/dist/event-bus.js +16 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/plugins/shared-services.d.ts +8 -0
- package/dist/plugins/shared-services.js +65 -0
- package/dist/process-manager.d.ts +146 -0
- package/dist/process-manager.js +779 -0
- package/dist/providers/claude-code-provider.d.ts +13 -0
- package/dist/providers/claude-code-provider.js +127 -0
- package/dist/providers/codex-provider.d.ts +41 -0
- package/dist/providers/codex-provider.js +354 -0
- package/dist/providers/index.d.ts +5 -0
- package/dist/providers/index.js +19 -0
- package/dist/remote-patch-cache.d.ts +67 -0
- package/dist/remote-patch-cache.js +190 -0
- package/dist/reverse-connect-client.d.ts +27 -0
- package/dist/reverse-connect-client.js +255 -0
- package/dist/reverse-connect-manager.d.ts +31 -0
- package/dist/reverse-connect-manager.js +287 -0
- package/dist/reverse-connect-types.d.ts +55 -0
- package/dist/reverse-connect-types.js +7 -0
- package/dist/routes/agent-session-routes.d.ts +4 -0
- package/dist/routes/agent-session-routes.js +442 -0
- package/dist/routes/browser-proxy-routes.d.ts +25 -0
- package/dist/routes/browser-proxy-routes.js +421 -0
- package/dist/routes/browser-routes.d.ts +4 -0
- package/dist/routes/browser-routes.js +73 -0
- package/dist/routes/chat-session-routes.d.ts +7 -0
- package/dist/routes/chat-session-routes.js +69 -0
- package/dist/routes/diff-routes.d.ts +4 -0
- package/dist/routes/diff-routes.js +208 -0
- package/dist/routes/event-routes.d.ts +4 -0
- package/dist/routes/event-routes.js +52 -0
- package/dist/routes/executor-group-routes.d.ts +4 -0
- package/dist/routes/executor-group-routes.js +76 -0
- package/dist/routes/executor-routes.d.ts +4 -0
- package/dist/routes/executor-routes.js +106 -0
- package/dist/routes/file-routes.d.ts +4 -0
- package/dist/routes/file-routes.js +331 -0
- package/dist/routes/process-routes.d.ts +4 -0
- package/dist/routes/process-routes.js +183 -0
- package/dist/routes/project-remote-routes.d.ts +4 -0
- package/dist/routes/project-remote-routes.js +82 -0
- package/dist/routes/project-routes.d.ts +4 -0
- package/dist/routes/project-routes.js +286 -0
- package/dist/routes/remote-routes.d.ts +4 -0
- package/dist/routes/remote-routes.js +59 -0
- package/dist/routes/remote-server-routes.d.ts +4 -0
- package/dist/routes/remote-server-routes.js +157 -0
- package/dist/routes/reverse-connect-routes.d.ts +4 -0
- package/dist/routes/reverse-connect-routes.js +33 -0
- package/dist/routes/settings-routes.d.ts +4 -0
- package/dist/routes/settings-routes.js +129 -0
- package/dist/routes/task-routes.d.ts +4 -0
- package/dist/routes/task-routes.js +107 -0
- package/dist/routes/terminal-routes.d.ts +4 -0
- package/dist/routes/terminal-routes.js +187 -0
- package/dist/routes/translate-routes.d.ts +4 -0
- package/dist/routes/translate-routes.js +38 -0
- package/dist/routes/websocket-routes.d.ts +4 -0
- package/dist/routes/websocket-routes.js +604 -0
- package/dist/routes/worktree-routes.d.ts +4 -0
- package/dist/routes/worktree-routes.js +511 -0
- package/dist/server-types.d.ts +41 -0
- package/dist/server-types.js +1 -0
- package/dist/server.d.ts +23 -0
- package/dist/server.js +238 -0
- package/dist/storage/sqlite.d.ts +2 -0
- package/dist/storage/sqlite.js +1073 -0
- package/dist/storage/types.d.ts +281 -0
- package/dist/storage/types.js +1 -0
- package/dist/ui/404/index.html +1 -0
- package/dist/ui/404.html +1 -0
- package/dist/ui/__next.__PAGE__.txt +10 -0
- package/dist/ui/__next._full.txt +25 -0
- package/dist/ui/__next._head.txt +6 -0
- package/dist/ui/__next._index.txt +9 -0
- package/dist/ui/__next._tree.txt +6 -0
- package/dist/ui/_next/static/7vIIuOQPJu8rdb6uAhwtg/_buildManifest.js +11 -0
- package/dist/ui/_next/static/7vIIuOQPJu8rdb6uAhwtg/_clientMiddlewareManifest.json +1 -0
- package/dist/ui/_next/static/7vIIuOQPJu8rdb6uAhwtg/_ssgManifest.js +1 -0
- package/dist/ui/_next/static/chunks/002f5a047b8d07d4.js +1 -0
- package/dist/ui/_next/static/chunks/01178e167ba3e5b4.js +1 -0
- package/dist/ui/_next/static/chunks/020d675d21be28d4.js +1 -0
- package/dist/ui/_next/static/chunks/024926197424b4a5.js +1 -0
- package/dist/ui/_next/static/chunks/02c93f6ca211a65d.js +1 -0
- package/dist/ui/_next/static/chunks/0364437dee56dc96.js +1 -0
- package/dist/ui/_next/static/chunks/03fc6b527b16efdc.js +1 -0
- package/dist/ui/_next/static/chunks/04f9a7932751cf2d.js +1 -0
- package/dist/ui/_next/static/chunks/0624b8204e5ae457.js +136 -0
- package/dist/ui/_next/static/chunks/067d8978cf41b901.js +1 -0
- package/dist/ui/_next/static/chunks/06d96238e85cdbb3.js +1 -0
- package/dist/ui/_next/static/chunks/071b9575dbdf1dcb.js +1 -0
- package/dist/ui/_next/static/chunks/073d5b9dc87ceab0.js +1 -0
- package/dist/ui/_next/static/chunks/0876a7111934d6f7.js +1 -0
- package/dist/ui/_next/static/chunks/08ffc3bf406c665d.js +1 -0
- package/dist/ui/_next/static/chunks/0969e8274c92c2d8.js +1 -0
- package/dist/ui/_next/static/chunks/0a3f62f00d7bec78.js +1 -0
- package/dist/ui/_next/static/chunks/0b80166023d89049.js +5 -0
- package/dist/ui/_next/static/chunks/0c2a941e61c395b6.js +1 -0
- package/dist/ui/_next/static/chunks/0c5eac8493334420.js +1 -0
- package/dist/ui/_next/static/chunks/0cc61d37b2333469.js +1 -0
- package/dist/ui/_next/static/chunks/0d440843348b2871.js +1 -0
- package/dist/ui/_next/static/chunks/0da3d15845f17208.js +1 -0
- package/dist/ui/_next/static/chunks/0e1982b1a6cbd127.js +53 -0
- package/dist/ui/_next/static/chunks/0e81d5bc1c725b75.js +1 -0
- package/dist/ui/_next/static/chunks/0e862e51b01e904b.js +63 -0
- package/dist/ui/_next/static/chunks/0ed7b6d86744b723.js +1 -0
- package/dist/ui/_next/static/chunks/0f0b3025f4e268b1.js +1 -0
- package/dist/ui/_next/static/chunks/10a30eb52825da36.js +1 -0
- package/dist/ui/_next/static/chunks/10c48da576fd8eef.js +1 -0
- package/dist/ui/_next/static/chunks/133e9f1435ca5f45.js +29 -0
- package/dist/ui/_next/static/chunks/16f4db3a54f167fd.js +1 -0
- package/dist/ui/_next/static/chunks/1988e3ecf5ad06d3.js +1 -0
- package/dist/ui/_next/static/chunks/1acfae010fd77014.js +152 -0
- package/dist/ui/_next/static/chunks/1ae53c2f1fff8cc2.js +1 -0
- package/dist/ui/_next/static/chunks/1af4fbc6c1256fae.js +1 -0
- package/dist/ui/_next/static/chunks/1b758c732032b236.js +1 -0
- package/dist/ui/_next/static/chunks/1ba26455a9f70c08.js +1 -0
- package/dist/ui/_next/static/chunks/1d22644cb4049d6b.css +1 -0
- package/dist/ui/_next/static/chunks/1d241f3b57c14cf7.js +1 -0
- package/dist/ui/_next/static/chunks/1d640bbe1c2c7869.js +1 -0
- package/dist/ui/_next/static/chunks/1da6354c9cb6f0de.js +1 -0
- package/dist/ui/_next/static/chunks/1dcd49914412f67b.js +1 -0
- package/dist/ui/_next/static/chunks/1e3b3771294825a4.js +1 -0
- package/dist/ui/_next/static/chunks/1eaa8ad7eca7f957.js +1 -0
- package/dist/ui/_next/static/chunks/1ebc88f60cadb128.js +1 -0
- package/dist/ui/_next/static/chunks/1ecb57b258088259.js +1 -0
- package/dist/ui/_next/static/chunks/1f5ba6b80fe19200.js +1 -0
- package/dist/ui/_next/static/chunks/20a5531534828366.js +1 -0
- package/dist/ui/_next/static/chunks/20b511fc299dfe9a.js +1 -0
- package/dist/ui/_next/static/chunks/20bff4eb9a0a6872.css +1 -0
- package/dist/ui/_next/static/chunks/219b7d9e437c6bd8.js +15 -0
- package/dist/ui/_next/static/chunks/21b32f530e0df2c5.js +1 -0
- package/dist/ui/_next/static/chunks/21fc6dc60e7647b1.js +1 -0
- package/dist/ui/_next/static/chunks/221a27e65aa5fbfd.js +1 -0
- package/dist/ui/_next/static/chunks/23a1e247c32bcc61.js +93 -0
- package/dist/ui/_next/static/chunks/2473c16c0c2f6b5f.css +2 -0
- package/dist/ui/_next/static/chunks/2615c71c0f8fe9bd.js +1 -0
- package/dist/ui/_next/static/chunks/263327288d5e2703.js +1 -0
- package/dist/ui/_next/static/chunks/2663fbaf43239e38.js +1 -0
- package/dist/ui/_next/static/chunks/27332c590d59f4e5.js +1 -0
- package/dist/ui/_next/static/chunks/27ca4a4e8191093f.js +1 -0
- package/dist/ui/_next/static/chunks/29b7618dcaa8edba.js +1 -0
- package/dist/ui/_next/static/chunks/2ba1d2b55b82f4da.js +21 -0
- package/dist/ui/_next/static/chunks/2cb23686e72468c8.js +1 -0
- package/dist/ui/_next/static/chunks/2d46f05dcbf1cbc2.js +1 -0
- package/dist/ui/_next/static/chunks/2d4c0fd06ca34510.js +2 -0
- package/dist/ui/_next/static/chunks/2f3d1d07474b8f79.js +1 -0
- package/dist/ui/_next/static/chunks/2f85c2849249a0dd.js +1 -0
- package/dist/ui/_next/static/chunks/3001d378f166eec9.js +1 -0
- package/dist/ui/_next/static/chunks/3018714f3827e360.js +1 -0
- package/dist/ui/_next/static/chunks/301cc25e0d489351.js +1 -0
- package/dist/ui/_next/static/chunks/305242b22ba8b49b.js +1 -0
- package/dist/ui/_next/static/chunks/3067c6e369066bd6.js +1 -0
- package/dist/ui/_next/static/chunks/311a77c9d5cb9de9.js +1 -0
- package/dist/ui/_next/static/chunks/320c001380e81470.js +1 -0
- package/dist/ui/_next/static/chunks/329db6c551df0faf.js +1 -0
- package/dist/ui/_next/static/chunks/33da178724072b3d.js +1 -0
- package/dist/ui/_next/static/chunks/33e8248c9296537a.js +1 -0
- package/dist/ui/_next/static/chunks/35a9992a8958f93b.js +1 -0
- package/dist/ui/_next/static/chunks/35bb90cf09892b72.js +1 -0
- package/dist/ui/_next/static/chunks/379f91b92366dc15.js +1 -0
- package/dist/ui/_next/static/chunks/391f22359769763f.js +1 -0
- package/dist/ui/_next/static/chunks/39231cb1044f7823.js +1 -0
- package/dist/ui/_next/static/chunks/394e8b7a1c2c58c6.js +1 -0
- package/dist/ui/_next/static/chunks/3a2cfdeb5f76ebd2.js +1 -0
- package/dist/ui/_next/static/chunks/3a3bd015fd042386.js +1 -0
- package/dist/ui/_next/static/chunks/3ad1bee238af9b5a.js +1 -0
- package/dist/ui/_next/static/chunks/3b2b2f7a9b7b130d.js +1 -0
- package/dist/ui/_next/static/chunks/3b586f80547e3a22.js +1 -0
- package/dist/ui/_next/static/chunks/3ca412e72bd3707a.js +1 -0
- package/dist/ui/_next/static/chunks/3cbb3bdceb4230af.js +1 -0
- package/dist/ui/_next/static/chunks/3ed1465109fecc2d.js +1 -0
- package/dist/ui/_next/static/chunks/3fd0801238b3b099.js +1 -0
- package/dist/ui/_next/static/chunks/401df66bd5da2115.js +15 -0
- package/dist/ui/_next/static/chunks/4211f4efe510f7ac.js +1 -0
- package/dist/ui/_next/static/chunks/43085364d0a41d1d.js +1 -0
- package/dist/ui/_next/static/chunks/4310c821dbee7a16.js +1 -0
- package/dist/ui/_next/static/chunks/46382f31f63e59cf.js +1 -0
- package/dist/ui/_next/static/chunks/468836b90ddf24d6.js +1 -0
- package/dist/ui/_next/static/chunks/470d091143104517.js +1 -0
- package/dist/ui/_next/static/chunks/4712e4f7e6b6ddc1.js +1 -0
- package/dist/ui/_next/static/chunks/4899f1e3f21c077e.js +1 -0
- package/dist/ui/_next/static/chunks/492ce6930bf61811.js +1 -0
- package/dist/ui/_next/static/chunks/494485a20952ffa3.js +1 -0
- package/dist/ui/_next/static/chunks/49535db309898f43.js +1 -0
- package/dist/ui/_next/static/chunks/4b8d2612d69e2013.js +1 -0
- package/dist/ui/_next/static/chunks/4c4a0f67891826a3.js +1 -0
- package/dist/ui/_next/static/chunks/4cc11ce32f4453b0.js +1 -0
- package/dist/ui/_next/static/chunks/4d03a0bc963fc3d4.js +1 -0
- package/dist/ui/_next/static/chunks/4d603a66c067134e.js +1 -0
- package/dist/ui/_next/static/chunks/4d8d7e62c2743f71.js +15 -0
- package/dist/ui/_next/static/chunks/4da42f10a5460b36.js +1 -0
- package/dist/ui/_next/static/chunks/4e832ffb65e75807.js +1 -0
- package/dist/ui/_next/static/chunks/4e954e1cec89a9ea.js +1 -0
- package/dist/ui/_next/static/chunks/4f2bc7a7a6b05a8b.js +55 -0
- package/dist/ui/_next/static/chunks/4f9c934abf34ceb9.js +1 -0
- package/dist/ui/_next/static/chunks/4fa248b0d2586928.js +1 -0
- package/dist/ui/_next/static/chunks/4fafbac2156844ca.js +1 -0
- package/dist/ui/_next/static/chunks/502039e483cc5e48.js +1 -0
- package/dist/ui/_next/static/chunks/509c91c38224448a.js +1 -0
- package/dist/ui/_next/static/chunks/5159d6f8d4307f36.js +1 -0
- package/dist/ui/_next/static/chunks/5179ab56aaaed42d.js +1 -0
- package/dist/ui/_next/static/chunks/5269ea07faff562d.js +1 -0
- package/dist/ui/_next/static/chunks/529f3f0f7d42444a.js +1 -0
- package/dist/ui/_next/static/chunks/5317db6783ee8dc9.js +1 -0
- package/dist/ui/_next/static/chunks/53a7b7c0ab020902.js +1 -0
- package/dist/ui/_next/static/chunks/544869c670c1dd8e.js +1 -0
- package/dist/ui/_next/static/chunks/547c0db6a433370e.js +1 -0
- package/dist/ui/_next/static/chunks/54d5670f5fa2abbe.css +1 -0
- package/dist/ui/_next/static/chunks/55761e35a8946a1d.js +15 -0
- package/dist/ui/_next/static/chunks/558f73c16b7ff14f.js +1 -0
- package/dist/ui/_next/static/chunks/55c76f605958d671.js +1 -0
- package/dist/ui/_next/static/chunks/55dc6750fb117bf9.js +1 -0
- package/dist/ui/_next/static/chunks/584bad9cf2498405.js +1 -0
- package/dist/ui/_next/static/chunks/593b85b9abea3ea6.js +1 -0
- package/dist/ui/_next/static/chunks/5a79af73c96155d4.js +1 -0
- package/dist/ui/_next/static/chunks/5ee54b9b6b400134.js +1 -0
- package/dist/ui/_next/static/chunks/5f27ee48dc820109.js +1 -0
- package/dist/ui/_next/static/chunks/5ffd50a08d82e2f3.js +1 -0
- package/dist/ui/_next/static/chunks/61d65fe807f69413.js +62 -0
- package/dist/ui/_next/static/chunks/626a650bcaaecdb8.js +1 -0
- package/dist/ui/_next/static/chunks/62baecafed4dbced.js +1 -0
- package/dist/ui/_next/static/chunks/634a4b5b6a38ccab.js +1 -0
- package/dist/ui/_next/static/chunks/643c359cf3f7364e.js +1 -0
- package/dist/ui/_next/static/chunks/649e65f4820a772b.js +1 -0
- package/dist/ui/_next/static/chunks/65028938188a230c.js +1 -0
- package/dist/ui/_next/static/chunks/65b3658348e8d4fd.js +1 -0
- package/dist/ui/_next/static/chunks/65eed220466cbdbc.js +1 -0
- package/dist/ui/_next/static/chunks/66714687cfd91953.js +1 -0
- package/dist/ui/_next/static/chunks/66ccaa3e69ed7a69.js +1 -0
- package/dist/ui/_next/static/chunks/6754600af0c6b3a8.js +1 -0
- package/dist/ui/_next/static/chunks/67a1d37727697340.js +1 -0
- package/dist/ui/_next/static/chunks/67e965a7f9531cee.js +1 -0
- package/dist/ui/_next/static/chunks/6816bf02e4c22a55.js +1 -0
- package/dist/ui/_next/static/chunks/68621b90909ec4e6.js +1 -0
- package/dist/ui/_next/static/chunks/6929ceb718c6e4c6.js +1 -0
- package/dist/ui/_next/static/chunks/69362fff2240a17b.js +1 -0
- package/dist/ui/_next/static/chunks/69dab47a307b1a37.js +1 -0
- package/dist/ui/_next/static/chunks/6afa71c8b3358dd5.js +1 -0
- package/dist/ui/_next/static/chunks/6bf54dc328e667f7.js +1 -0
- package/dist/ui/_next/static/chunks/6c44508faf13f6f0.js +1 -0
- package/dist/ui/_next/static/chunks/6c9c2b61c905a2de.js +1 -0
- package/dist/ui/_next/static/chunks/6cc2e3d7873522b9.js +1 -0
- package/dist/ui/_next/static/chunks/6d01e8902e85bfe0.js +1 -0
- package/dist/ui/_next/static/chunks/6dc69e4a91f7a353.js +1 -0
- package/dist/ui/_next/static/chunks/6e832e016b60ae19.js +1 -0
- package/dist/ui/_next/static/chunks/6eab0d8815c18a6d.js +1 -0
- package/dist/ui/_next/static/chunks/6f862eb588fa3b7e.js +1 -0
- package/dist/ui/_next/static/chunks/6ff7b0a8653036b2.js +1 -0
- package/dist/ui/_next/static/chunks/710ce144a9645f3c.js +1 -0
- package/dist/ui/_next/static/chunks/71293e300c639b6b.js +1 -0
- package/dist/ui/_next/static/chunks/7186d7cce354a012.js +1 -0
- package/dist/ui/_next/static/chunks/7215d586009e8158.js +1 -0
- package/dist/ui/_next/static/chunks/726fdeaff53a89ac.js +1 -0
- package/dist/ui/_next/static/chunks/7322a00d61e7ffad.js +1 -0
- package/dist/ui/_next/static/chunks/73c60ee9f233051d.js +1 -0
- package/dist/ui/_next/static/chunks/740f5627b5c57baa.js +1 -0
- package/dist/ui/_next/static/chunks/74438794a8e9ba80.js +1 -0
- package/dist/ui/_next/static/chunks/74ffcd7d13b3fea0.js +1 -0
- package/dist/ui/_next/static/chunks/7510496048ab1ad4.js +1 -0
- package/dist/ui/_next/static/chunks/7636f89f38cbc3e3.js +1 -0
- package/dist/ui/_next/static/chunks/782a93ec4348b666.js +1 -0
- package/dist/ui/_next/static/chunks/7850bbac1925646c.js +1 -0
- package/dist/ui/_next/static/chunks/790dcc1e825d2504.js +1 -0
- package/dist/ui/_next/static/chunks/798597a1c1248d29.js +1 -0
- package/dist/ui/_next/static/chunks/7a70641f70a5c72d.js +60 -0
- package/dist/ui/_next/static/chunks/7c62789391c35dce.js +1 -0
- package/dist/ui/_next/static/chunks/7d533d3f2ab624f2.js +1 -0
- package/dist/ui/_next/static/chunks/7d6087c3fabf9ded.js +1 -0
- package/dist/ui/_next/static/chunks/7d84c9cb810e6902.js +1 -0
- package/dist/ui/_next/static/chunks/7dc4f5ba8c25c409.js +1 -0
- package/dist/ui/_next/static/chunks/7e10c0644fbb99d1.js +1 -0
- package/dist/ui/_next/static/chunks/7e7aaacf104c17f4.js +1 -0
- package/dist/ui/_next/static/chunks/7e92979509de57ed.js +1 -0
- package/dist/ui/_next/static/chunks/7f9a52e36f9f001e.js +1 -0
- package/dist/ui/_next/static/chunks/7fc4ae2e7cf2e37e.js +1 -0
- package/dist/ui/_next/static/chunks/801232fdde8ce252.js +1 -0
- package/dist/ui/_next/static/chunks/808ed0f189237446.js +1 -0
- package/dist/ui/_next/static/chunks/8199e6b3fa54b2ff.js +1 -0
- package/dist/ui/_next/static/chunks/81fa0fa05a94eb02.js +1 -0
- package/dist/ui/_next/static/chunks/821b5389566b82d2.js +1 -0
- package/dist/ui/_next/static/chunks/82b9e04f88e657df.js +1 -0
- package/dist/ui/_next/static/chunks/830c79cc12f2c5a4.js +1 -0
- package/dist/ui/_next/static/chunks/8388ae863590404b.js +4 -0
- package/dist/ui/_next/static/chunks/83ab70f11a82a8c6.js +1 -0
- package/dist/ui/_next/static/chunks/83faf7904ac18d7f.js +1 -0
- package/dist/ui/_next/static/chunks/850d850bd879606f.js +1 -0
- package/dist/ui/_next/static/chunks/864d4b5cf4ae2226.js +1 -0
- package/dist/ui/_next/static/chunks/86d8962196053f53.js +139 -0
- package/dist/ui/_next/static/chunks/8723d7000b263475.js +1 -0
- package/dist/ui/_next/static/chunks/87e5597a4336e2c1.js +1 -0
- package/dist/ui/_next/static/chunks/899fe56c4c707c65.js +1 -0
- package/dist/ui/_next/static/chunks/8bda52f55493ae9b.js +1 -0
- package/dist/ui/_next/static/chunks/8ce5668c3da0679a.js +1 -0
- package/dist/ui/_next/static/chunks/8d1c22aafb4783c5.js +1 -0
- package/dist/ui/_next/static/chunks/8deda0adfe811d18.js +1 -0
- package/dist/ui/_next/static/chunks/8eed597098a27801.js +1 -0
- package/dist/ui/_next/static/chunks/8ff7a1947b8d114b.js +1 -0
- package/dist/ui/_next/static/chunks/90367a2ee1e720b2.js +1 -0
- package/dist/ui/_next/static/chunks/9097640e1931c0de.js +1 -0
- package/dist/ui/_next/static/chunks/912457473a4c91c3.js +1 -0
- package/dist/ui/_next/static/chunks/91f7dd388c6b88c6.js +1 -0
- package/dist/ui/_next/static/chunks/932d4334e5f98b7c.js +1 -0
- package/dist/ui/_next/static/chunks/94b1efc14d44707b.js +1 -0
- package/dist/ui/_next/static/chunks/956107bc3ba52911.js +1 -0
- package/dist/ui/_next/static/chunks/962e5cad8ea716fc.js +36 -0
- package/dist/ui/_next/static/chunks/96acf903dff8ecf7.js +1 -0
- package/dist/ui/_next/static/chunks/96b274c82c194b4f.js +1 -0
- package/dist/ui/_next/static/chunks/96b3c1b1afe3201d.js +1 -0
- package/dist/ui/_next/static/chunks/9880c26551206d33.js +1 -0
- package/dist/ui/_next/static/chunks/98ea228d01556617.js +1 -0
- package/dist/ui/_next/static/chunks/9951c25a8b05148f.js +1 -0
- package/dist/ui/_next/static/chunks/9b10895d33be5f6e.js +1 -0
- package/dist/ui/_next/static/chunks/9b50a76ddbe4934d.js +1 -0
- package/dist/ui/_next/static/chunks/9bbb1c0146042008.js +1 -0
- package/dist/ui/_next/static/chunks/9ccab70823e99451.js +1 -0
- package/dist/ui/_next/static/chunks/9cd7bcb29e0b3418.js +24 -0
- package/dist/ui/_next/static/chunks/9d06bd5d701ace73.js +1 -0
- package/dist/ui/_next/static/chunks/9e5d9fc30c12fbdd.js +1 -0
- package/dist/ui/_next/static/chunks/9ec3bc5544bcc15a.js +1 -0
- package/dist/ui/_next/static/chunks/9f47133184a7455a.js +1 -0
- package/dist/ui/_next/static/chunks/a002d3850b7c7c59.js +1 -0
- package/dist/ui/_next/static/chunks/a0bc5573cadd1377.js +1 -0
- package/dist/ui/_next/static/chunks/a1d3de9e7615662e.js +160 -0
- package/dist/ui/_next/static/chunks/a2ce60768a8373e7.js +1 -0
- package/dist/ui/_next/static/chunks/a305087b1a55b367.js +1 -0
- package/dist/ui/_next/static/chunks/a41df0d443f66c68.js +1 -0
- package/dist/ui/_next/static/chunks/a49d2e9f31886b5e.js +1 -0
- package/dist/ui/_next/static/chunks/a50922e0883f65cd.js +1 -0
- package/dist/ui/_next/static/chunks/a60e84ee8b6c5ffc.js +43 -0
- package/dist/ui/_next/static/chunks/a6dad97d9634a72d.js +1 -0
- package/dist/ui/_next/static/chunks/a6dad97d9634a72d.js.map +1 -0
- package/dist/ui/_next/static/chunks/a7c40c289b5e2384.js +1 -0
- package/dist/ui/_next/static/chunks/a7fdfeea5fd894c1.js +59 -0
- package/dist/ui/_next/static/chunks/a81381241f4f484c.js +1 -0
- package/dist/ui/_next/static/chunks/a8a3989305bcc136.js +215 -0
- package/dist/ui/_next/static/chunks/a8cf26088e63128c.js +1 -0
- package/dist/ui/_next/static/chunks/aac4ca816d9ccdb6.js +1 -0
- package/dist/ui/_next/static/chunks/ab432bc28a971c8f.js +1 -0
- package/dist/ui/_next/static/chunks/abccff1b09b6effa.js +1 -0
- package/dist/ui/_next/static/chunks/ac8a8986f09ec520.js +1 -0
- package/dist/ui/_next/static/chunks/accbf306b5ddb732.js +1 -0
- package/dist/ui/_next/static/chunks/af7b09aba1d477ff.js +1 -0
- package/dist/ui/_next/static/chunks/af8114430894d79e.js +1 -0
- package/dist/ui/_next/static/chunks/afe2ff5d0727a240.js +1 -0
- package/dist/ui/_next/static/chunks/b096fa008120f0ae.js +1 -0
- package/dist/ui/_next/static/chunks/b0bc568eaff56dad.js +1 -0
- package/dist/ui/_next/static/chunks/b225dddc0852f85c.js +215 -0
- package/dist/ui/_next/static/chunks/b2342c5099957971.js +1 -0
- package/dist/ui/_next/static/chunks/b2d8c64d7d6a06b7.js +1 -0
- package/dist/ui/_next/static/chunks/b331c855cfc8fd57.js +1 -0
- package/dist/ui/_next/static/chunks/b356ee8615740392.js +1 -0
- package/dist/ui/_next/static/chunks/b3beaac9b7957d3f.js +1 -0
- package/dist/ui/_next/static/chunks/b4e7d4a109c4c080.js +1 -0
- package/dist/ui/_next/static/chunks/b5010f2ea9df9d00.js +77 -0
- package/dist/ui/_next/static/chunks/b5f9d21bd1b51a48.js +1 -0
- package/dist/ui/_next/static/chunks/b6a16eb77c5c9831.js +1 -0
- package/dist/ui/_next/static/chunks/b6a8e7c2216683ca.js +262 -0
- package/dist/ui/_next/static/chunks/b873c4d327a450e0.js +1 -0
- package/dist/ui/_next/static/chunks/b8aec8caed569fd2.js +24 -0
- package/dist/ui/_next/static/chunks/b8e7601e2379fd74.js +1 -0
- package/dist/ui/_next/static/chunks/ba3d03bf2f33f2a3.js +1 -0
- package/dist/ui/_next/static/chunks/ba698805336b2cb2.js +1 -0
- package/dist/ui/_next/static/chunks/bc48735eee7d1345.js +1 -0
- package/dist/ui/_next/static/chunks/bcb48aab1bdae96a.js +1 -0
- package/dist/ui/_next/static/chunks/bde2ca9d150d96ff.js +1 -0
- package/dist/ui/_next/static/chunks/be4af851547fc916.js +1 -0
- package/dist/ui/_next/static/chunks/be70ba8c4ba5cdb6.js +1 -0
- package/dist/ui/_next/static/chunks/be87578ee895734b.js +1 -0
- package/dist/ui/_next/static/chunks/c0aeb40fcca7d006.js +1 -0
- package/dist/ui/_next/static/chunks/c32156843c32ebca.js +1 -0
- package/dist/ui/_next/static/chunks/c57a3e045f3722c1.js +1 -0
- package/dist/ui/_next/static/chunks/c5add23cde4a234a.js +1 -0
- package/dist/ui/_next/static/chunks/c60897f3554a9388.js +1 -0
- package/dist/ui/_next/static/chunks/c648a36722afd12a.js +1 -0
- package/dist/ui/_next/static/chunks/c652f05e0a0d7b81.js +1 -0
- package/dist/ui/_next/static/chunks/c678d9303ed453b4.js +1 -0
- package/dist/ui/_next/static/chunks/c681430c24597d06.js +1 -0
- package/dist/ui/_next/static/chunks/c890870fb65940bc.js +1 -0
- package/dist/ui/_next/static/chunks/c94c394aeec71e21.js +1 -0
- package/dist/ui/_next/static/chunks/ca1eb1e2978389e4.js +1 -0
- package/dist/ui/_next/static/chunks/ca3512025a981c82.js +1 -0
- package/dist/ui/_next/static/chunks/ca6db0d999bad46b.js +1 -0
- package/dist/ui/_next/static/chunks/ca926babdf75597c.js +1 -0
- package/dist/ui/_next/static/chunks/cb0877764d4a31f2.js +1 -0
- package/dist/ui/_next/static/chunks/cb15e0c2ff49cf52.js +1 -0
- package/dist/ui/_next/static/chunks/cb1ae84204260ecd.js +1 -0
- package/dist/ui/_next/static/chunks/cb2ef733c53d80f7.js +1 -0
- package/dist/ui/_next/static/chunks/cbaa87ba8930fb75.js +1 -0
- package/dist/ui/_next/static/chunks/cbd29ba61906e19f.js +1 -0
- package/dist/ui/_next/static/chunks/ccf1e618faea3d02.js +148 -0
- package/dist/ui/_next/static/chunks/cd91712ea04f43ba.js +13 -0
- package/dist/ui/_next/static/chunks/cdd85dc039d450f3.js +1 -0
- package/dist/ui/_next/static/chunks/ce663833f73b1ec5.js +1 -0
- package/dist/ui/_next/static/chunks/ceda8fcac21d8e70.js +1 -0
- package/dist/ui/_next/static/chunks/cf565875b66f8cad.js +1 -0
- package/dist/ui/_next/static/chunks/d127ded39a594c84.js +1 -0
- package/dist/ui/_next/static/chunks/d34124988f5b8f6d.js +1 -0
- package/dist/ui/_next/static/chunks/d36807add3e11d59.js +60 -0
- package/dist/ui/_next/static/chunks/d3f2e4603faebed8.js +1 -0
- package/dist/ui/_next/static/chunks/d414302c23047b9b.js +1 -0
- package/dist/ui/_next/static/chunks/d42adc0237103e65.js +1 -0
- package/dist/ui/_next/static/chunks/d4a06b205f0a641b.js +1 -0
- package/dist/ui/_next/static/chunks/d4e5289ace3acef0.js +1 -0
- package/dist/ui/_next/static/chunks/d53b4725d3328076.js +1 -0
- package/dist/ui/_next/static/chunks/d5bd04634f922925.js +1 -0
- package/dist/ui/_next/static/chunks/d642c9229900dc48.js +1 -0
- package/dist/ui/_next/static/chunks/d6651bb78c09d144.js +5 -0
- package/dist/ui/_next/static/chunks/d7276c56aa62ceed.js +1 -0
- package/dist/ui/_next/static/chunks/d85cd9cda46f2d1b.js +1 -0
- package/dist/ui/_next/static/chunks/d8978f4b468bbad4.js +1 -0
- package/dist/ui/_next/static/chunks/d8fb9668a83c0603.js +1 -0
- package/dist/ui/_next/static/chunks/d95c62472fc41baf.js +1 -0
- package/dist/ui/_next/static/chunks/da13170b983f7ebf.js +1 -0
- package/dist/ui/_next/static/chunks/dae86e12c7741e6c.js +19 -0
- package/dist/ui/_next/static/chunks/db44023a744297d1.js +1 -0
- package/dist/ui/_next/static/chunks/dbe7840308be36b8.js +1 -0
- package/dist/ui/_next/static/chunks/dc0a4df8f7080b29.js +1 -0
- package/dist/ui/_next/static/chunks/dc4a6f59be156511.js +1 -0
- package/dist/ui/_next/static/chunks/dcda5e7b57ed88e0.js +1 -0
- package/dist/ui/_next/static/chunks/de9ff8c97f75b947.js +1 -0
- package/dist/ui/_next/static/chunks/df6abcdb3eb0b236.js +1 -0
- package/dist/ui/_next/static/chunks/df8a0933ca385a63.js +1 -0
- package/dist/ui/_next/static/chunks/dff6434c44c2dfaa.js +1 -0
- package/dist/ui/_next/static/chunks/e037ec5e62b2bdc3.js +1 -0
- package/dist/ui/_next/static/chunks/e212cf1f5a503899.js +1 -0
- package/dist/ui/_next/static/chunks/e2bfdac0a2305cc1.js +1 -0
- package/dist/ui/_next/static/chunks/e2dce648399ad4d4.js +1 -0
- package/dist/ui/_next/static/chunks/e318291bb8d74aee.js +1 -0
- package/dist/ui/_next/static/chunks/e33e40c2e7ab7629.js +1 -0
- package/dist/ui/_next/static/chunks/e410dfbcccddc478.js +1 -0
- package/dist/ui/_next/static/chunks/e411d58b52ab342b.js +1 -0
- package/dist/ui/_next/static/chunks/e57f7ffd0803a922.js +117 -0
- package/dist/ui/_next/static/chunks/e6b56ceb762e84c4.js +1 -0
- package/dist/ui/_next/static/chunks/e6d9a6ca68017eef.js +1 -0
- package/dist/ui/_next/static/chunks/e6ec2663605cf5a7.js +29 -0
- package/dist/ui/_next/static/chunks/e834330589be0639.js +1 -0
- package/dist/ui/_next/static/chunks/e8f662ba8bc76802.js +1 -0
- package/dist/ui/_next/static/chunks/e9e8e72d7ff45812.js +1 -0
- package/dist/ui/_next/static/chunks/eadd25eb66104a63.js +1 -0
- package/dist/ui/_next/static/chunks/ec3a7a7f48a8aca9.js +1 -0
- package/dist/ui/_next/static/chunks/ed62e349fb1ce14c.js +1 -0
- package/dist/ui/_next/static/chunks/ed6caa113f5769a5.js +1 -0
- package/dist/ui/_next/static/chunks/f02ac565bb5bc450.js +1 -0
- package/dist/ui/_next/static/chunks/f1a7a173e3da4ff4.js +1 -0
- package/dist/ui/_next/static/chunks/f268093817d3b260.js +1 -0
- package/dist/ui/_next/static/chunks/f6f811ccfe79e963.js +1 -0
- package/dist/ui/_next/static/chunks/f8955634331fd956.js +1 -0
- package/dist/ui/_next/static/chunks/f8c965a996875e30.js +56 -0
- package/dist/ui/_next/static/chunks/f9bb8411d37b06d7.js +1 -0
- package/dist/ui/_next/static/chunks/f9d4f77d8c130497.js +1 -0
- package/dist/ui/_next/static/chunks/fba113a516eb485f.js +1 -0
- package/dist/ui/_next/static/chunks/fc069e49a569d83c.js +1 -0
- package/dist/ui/_next/static/chunks/fc245016ffebdde3.js +1 -0
- package/dist/ui/_next/static/chunks/fc2d01d74dcf3921.js +1 -0
- package/dist/ui/_next/static/chunks/fe2ad0e00041a87d.js +1 -0
- package/dist/ui/_next/static/chunks/fe571740188dea3a.js +1 -0
- package/dist/ui/_next/static/chunks/turbopack-a5ce95b200d58f7a.js +4 -0
- package/dist/ui/_next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2 +0 -0
- package/dist/ui/_next/static/media/7178b3e590c64307-s.b97b3418.woff2 +0 -0
- package/dist/ui/_next/static/media/797e433ab948586e-s.p.dbea232f.woff2 +0 -0
- package/dist/ui/_next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_AMS-Regular.892f691b.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_AMS-Regular.c30af439.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_AMS-Regular.e6a3cada.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Caligraphic-Bold.2f97783e.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Caligraphic-Bold.a36b8125.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Caligraphic-Bold.db991531.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Caligraphic-Regular.2b13f013.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Caligraphic-Regular.7c50032c.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Caligraphic-Regular.c20eee08.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Fraktur-Bold.5fa2f5e4.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Fraktur-Bold.d514bd28.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Fraktur-Bold.e311399d.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Fraktur-Regular.18139813.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Fraktur-Regular.2a73476d.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Fraktur-Regular.5d62e468.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Bold.6d137c77.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Bold.c24b5ba7.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Bold.f4e2828d.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-BoldItalic.079b33ae.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-BoldItalic.c003d3ec.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-BoldItalic.f1884480.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Italic.26a3619b.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Italic.61da3e93.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Italic.a3746929.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Regular.12644167.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Regular.876b86ad.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Main-Regular.d511f158.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Math-BoldItalic.5c6a6a93.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Math-BoldItalic.ad4dffd5.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Math-BoldItalic.e73b3bf0.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Math-Italic.03974bc4.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Math-Italic.1cd2c488.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Math-Italic.d8564edb.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Bold.a03f9428.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Bold.d4608ed5.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Bold.ff51ef5c.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Italic.8ed740d6.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Italic.9245afda.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Italic.c0b22b1e.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Regular.128c9bc2.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Regular.156dbd4e.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_SansSerif-Regular.ee7b0a16.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Script-Regular.00d9a561.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Script-Regular.186c7155.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Script-Regular.afc2fd5a.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size1-Regular.4450ef36.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size1-Regular.9aaff96b.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size1-Regular.e5bf4c74.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size2-Regular.6a97527b.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size2-Regular.8fbd32af.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size2-Regular.f11810ed.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size3-Regular.45ae8eba.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size3-Regular.54b7ce9d.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size3-Regular.9812ade2.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size4-Regular.44a4d487.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size4-Regular.927fc5b9.woff2 +0 -0
- package/dist/ui/_next/static/media/KaTeX_Size4-Regular.b211e3d3.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Typewriter-Regular.68b6c3a9.woff +0 -0
- package/dist/ui/_next/static/media/KaTeX_Typewriter-Regular.a1a7ff52.ttf +0 -0
- package/dist/ui/_next/static/media/KaTeX_Typewriter-Regular.ff99d643.woff2 +0 -0
- package/dist/ui/_next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2 +0 -0
- package/dist/ui/_next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2 +0 -0
- package/dist/ui/_next/static/media/favicon.0b3bf435.ico +0 -0
- package/dist/ui/_not-found/__next._full.txt +18 -0
- package/dist/ui/_not-found/__next._head.txt +6 -0
- package/dist/ui/_not-found/__next._index.txt +9 -0
- package/dist/ui/_not-found/__next._not-found.__PAGE__.txt +5 -0
- package/dist/ui/_not-found/__next._not-found.txt +4 -0
- package/dist/ui/_not-found/__next._tree.txt +3 -0
- package/dist/ui/_not-found/index.html +1 -0
- package/dist/ui/_not-found/index.txt +18 -0
- package/dist/ui/favicon.ico +0 -0
- package/dist/ui/file.svg +1 -0
- package/dist/ui/globe.svg +1 -0
- package/dist/ui/index.html +1 -0
- package/dist/ui/index.txt +25 -0
- package/dist/ui/next.svg +1 -0
- package/dist/ui/vercel.svg +1 -0
- package/dist/ui/window.svg +1 -0
- package/dist/utils/chat-model.d.ts +11 -0
- package/dist/utils/chat-model.js +37 -0
- package/dist/utils/diff-parser.d.ts +20 -0
- package/dist/utils/diff-parser.js +100 -0
- package/dist/utils/proxy-manager.d.ts +18 -0
- package/dist/utils/proxy-manager.js +42 -0
- package/dist/utils/remote-proxy.d.ts +40 -0
- package/dist/utils/remote-proxy.js +145 -0
- package/dist/utils/worktree-paths.d.ts +13 -0
- package/dist/utils/worktree-paths.js +64 -0
- package/dist/virtual-ws-adapter.d.ts +26 -0
- package/dist/virtual-ws-adapter.js +54 -0
- package/package.json +19 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,993936,t=>{"use strict";var e=(0,t.i(658295).__name)(()=>`
|
|
2
|
+
/* Font Awesome icon styling - consolidated */
|
|
3
|
+
.label-icon {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
height: 1em;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
vertical-align: -0.125em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.node .label-icon path {
|
|
11
|
+
fill: currentColor;
|
|
12
|
+
stroke: revert;
|
|
13
|
+
stroke-width: revert;
|
|
14
|
+
}
|
|
15
|
+
`,"getIconStyles");t.s(["getIconStyles",()=>e])},169158,t=>{"use strict";var e=t.i(459721),n=t.i(658295),i=t.i(693890),a=(0,n.__name)((t,e)=>{let n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),e.name&&n.attr("name",e.name),e.rx&&n.attr("rx",e.rx),e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return e.class&&n.attr("class",e.class),n},"drawRect"),r=(0,n.__name)((t,e)=>{a(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),s=(0,n.__name)((t,n)=>{let i=n.text.replace(e.lineBreakRegex," "),a=t.append("text");a.attr("x",n.x),a.attr("y",n.y),a.attr("class","legend"),a.style("text-anchor",n.anchor),n.class&&a.attr("class",n.class);let r=a.append("tspan");return r.attr("x",n.x+2*n.textMargin),r.text(i),a},"drawText"),l=(0,n.__name)((t,e,n,a)=>{let r=t.append("image");r.attr("x",e),r.attr("y",n);let s=(0,i.sanitizeUrl)(a);r.attr("xlink:href",s)},"drawImage"),o=(0,n.__name)((t,e,n,a)=>{let r=t.append("use");r.attr("x",e),r.attr("y",n);let s=(0,i.sanitizeUrl)(a);r.attr("xlink:href",`#${s}`)},"drawEmbeddedImage"),c=(0,n.__name)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=(0,n.__name)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");t.s(["drawBackgroundRect",()=>r,"drawEmbeddedImage",()=>o,"drawImage",()=>l,"drawRect",()=>a,"drawText",()=>s,"getNoteRect",()=>c,"getTextObj",()=>h])},506511,t=>{"use strict";var e=t.i(459683),n=t.i(424885),i=t.i(199518);function a(t){return t.innerRadius}function r(t){return t.outerRadius}function s(t){return t.startAngle}function l(t){return t.endAngle}function o(t){return t&&t.padAngle}function c(t,e,i,a,r,s,l){var o=t-i,c=e-a,h=(l?s:-s)/(0,n.sqrt)(o*o+c*c),u=h*c,p=-h*o,y=t+u,d=e+p,f=i+u,g=a+p,m=(y+f)/2,_=(d+g)/2,x=f-y,k=g-d,b=x*x+k*k,v=r-s,w=y*g-f*d,$=(k<0?-1:1)*(0,n.sqrt)((0,n.max)(0,v*v*b-w*w)),T=(w*k-x*$)/b,M=(-w*x-k*$)/b,A=(w*k+x*$)/b,S=(-w*x+k*$)/b,C=T-m,E=M-_,I=A-m,P=S-_;return C*C+E*E>I*I+P*P&&(T=A,M=S),{cx:T,cy:M,x01:-u,y01:-p,x11:T*(r/v-1),y11:M*(r/v-1)}}t.s(["arc",0,function(){var t=a,h=r,u=(0,e.default)(0),p=null,y=s,d=l,f=o,g=null,m=(0,i.withPath)(_);function _(){var e,i,a=+t.apply(this,arguments),r=+h.apply(this,arguments),s=y.apply(this,arguments)-n.halfPi,l=d.apply(this,arguments)-n.halfPi,o=(0,n.abs)(l-s),_=l>s;if(g||(g=e=m()),r<a&&(i=r,r=a,a=i),r>n.epsilon)if(o>n.tau-n.epsilon)g.moveTo(r*(0,n.cos)(s),r*(0,n.sin)(s)),g.arc(0,0,r,s,l,!_),a>n.epsilon&&(g.moveTo(a*(0,n.cos)(l),a*(0,n.sin)(l)),g.arc(0,0,a,l,s,_));else{var x,k,b=s,v=l,w=s,$=l,T=o,M=o,A=f.apply(this,arguments)/2,S=A>n.epsilon&&(p?+p.apply(this,arguments):(0,n.sqrt)(a*a+r*r)),C=(0,n.min)((0,n.abs)(r-a)/2,+u.apply(this,arguments)),E=C,I=C;if(S>n.epsilon){var P=(0,n.asin)(S/a*(0,n.sin)(A)),R=(0,n.asin)(S/r*(0,n.sin)(A));(T-=2*P)>n.epsilon?(P*=_?1:-1,w+=P,$-=P):(T=0,w=$=(s+l)/2),(M-=2*R)>n.epsilon?(R*=_?1:-1,b+=R,v-=R):(M=0,b=v=(s+l)/2)}var j=r*(0,n.cos)(b),B=r*(0,n.sin)(b),F=a*(0,n.cos)($),V=a*(0,n.sin)($);if(C>n.epsilon){var D,O=r*(0,n.cos)(v),N=r*(0,n.sin)(v),L=a*(0,n.cos)(w),z=a*(0,n.sin)(w);if(o<n.pi)if(D=function(t,e,i,a,r,s,l,o){var c=i-t,h=a-e,u=l-r,p=o-s,y=p*c-u*h;if(!(y*y<n.epsilon))return y=(u*(e-s)-p*(t-r))/y,[t+y*c,e+y*h]}(j,B,L,z,O,N,F,V)){var q=j-D[0],U=B-D[1],Y=O-D[0],W=N-D[1],X=1/(0,n.sin)((0,n.acos)((q*Y+U*W)/((0,n.sqrt)(q*q+U*U)*(0,n.sqrt)(Y*Y+W*W)))/2),K=(0,n.sqrt)(D[0]*D[0]+D[1]*D[1]);E=(0,n.min)(C,(a-K)/(X-1)),I=(0,n.min)(C,(r-K)/(X+1))}else E=I=0}M>n.epsilon?I>n.epsilon?(x=c(L,z,j,B,r,I,_),k=c(O,N,F,V,r,I,_),g.moveTo(x.cx+x.x01,x.cy+x.y01),I<C?g.arc(x.cx,x.cy,I,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(k.y01,k.x01),!_):(g.arc(x.cx,x.cy,I,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(x.y11,x.x11),!_),g.arc(0,0,r,(0,n.atan2)(x.cy+x.y11,x.cx+x.x11),(0,n.atan2)(k.cy+k.y11,k.cx+k.x11),!_),g.arc(k.cx,k.cy,I,(0,n.atan2)(k.y11,k.x11),(0,n.atan2)(k.y01,k.x01),!_))):(g.moveTo(j,B),g.arc(0,0,r,b,v,!_)):g.moveTo(j,B),a>n.epsilon&&T>n.epsilon?E>n.epsilon?(x=c(F,V,O,N,a,-E,_),k=c(j,B,L,z,a,-E,_),g.lineTo(x.cx+x.x01,x.cy+x.y01),E<C?g.arc(x.cx,x.cy,E,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(k.y01,k.x01),!_):(g.arc(x.cx,x.cy,E,(0,n.atan2)(x.y01,x.x01),(0,n.atan2)(x.y11,x.x11),!_),g.arc(0,0,a,(0,n.atan2)(x.cy+x.y11,x.cx+x.x11),(0,n.atan2)(k.cy+k.y11,k.cx+k.x11),_),g.arc(k.cx,k.cy,E,(0,n.atan2)(k.y11,k.x11),(0,n.atan2)(k.y01,k.x01),!_))):g.arc(0,0,a,$,w,_):g.lineTo(F,V)}else g.moveTo(0,0);if(g.closePath(),e)return g=null,e+""||null}return _.centroid=function(){var e=(+t.apply(this,arguments)+ +h.apply(this,arguments))/2,i=(+y.apply(this,arguments)+ +d.apply(this,arguments))/2-n.pi/2;return[(0,n.cos)(i)*e,(0,n.sin)(i)*e]},_.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:(0,e.default)(+n),_):t},_.outerRadius=function(t){return arguments.length?(h="function"==typeof t?t:(0,e.default)(+t),_):h},_.cornerRadius=function(t){return arguments.length?(u="function"==typeof t?t:(0,e.default)(+t),_):u},_.padRadius=function(t){return arguments.length?(p=null==t?null:"function"==typeof t?t:(0,e.default)(+t),_):p},_.startAngle=function(t){return arguments.length?(y="function"==typeof t?t:(0,e.default)(+t),_):y},_.endAngle=function(t){return arguments.length?(d="function"==typeof t?t:(0,e.default)(+t),_):d},_.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:(0,e.default)(+t),_):f},_.context=function(t){return arguments.length?(g=null==t?null:t,_):g},_}],506511)},633352,t=>{"use strict";var e=t.i(169158),n=t.i(993936),i=t.i(459721),a=t.i(658295);t.i(991577);var r=t.i(692423),s=t.i(506511),l=function(){var t=(0,a.__name)(function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],i=[1,10],r=[1,11],s=[1,12],l=[1,13],o=[1,14],c={trace:(0,a.__name)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:(0,a.__name)(function(t,e,n,i,a,r,s){var l=r.length-1;switch(a){case 1:return r[l-1];case 2:case 6:case 7:this.$=[];break;case 3:r[l-1].push(r[l]),this.$=r[l-1];break;case 4:case 5:this.$=r[l];break;case 8:i.setDiagramTitle(r[l].substr(6)),this.$=r[l].substr(6);break;case 9:this.$=r[l].trim(),i.setAccTitle(this.$);break;case 10:case 11:this.$=r[l].trim(),i.setAccDescription(this.$);break;case 12:i.addSection(r[l].substr(8)),this.$=r[l].substr(8);break;case 13:i.addTask(r[l-1],r[l]),this.$="task"}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:r,16:s,17:l,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:i,14:r,16:s,17:l,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:(0,a.__name)(function(t,e){if(e.recoverable)this.trace(t);else{var n=Error(t);throw n.hash=e,n}},"parseError"),parse:(0,a.__name)(function(t){var e=this,n=[0],i=[],r=[null],s=[],l=this.table,o="",c=0,h=0,u=0,p=s.slice.call(arguments,1),y=Object.create(this.lexer),d={};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(d[f]=this.yy[f]);y.setInput(t,d),d.lexer=y,d.parser=this,void 0===y.yylloc&&(y.yylloc={});var g=y.yylloc;s.push(g);var m=y.options&&y.options.ranges;function _(){var t;return"number"!=typeof(t=i.pop()||y.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof d.parseError?this.parseError=d.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.__name)(function(t){n.length=n.length-2*t,r.length=r.length-t,s.length=s.length-t},"popStack"),(0,a.__name)(_,"lex");for(var x,k,b,v,w,$,T,M,A,S={};;){if(b=n[n.length-1],this.defaultActions[b]?v=this.defaultActions[b]:(null==x&&(x=_()),v=l[b]&&l[b][x]),void 0===v||!v.length||!v[0]){var C="";for($ in A=[],l[b])this.terminals_[$]&&$>2&&A.push("'"+this.terminals_[$]+"'");C=y.showPosition?"Parse error on line "+(c+1)+":\n"+y.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(C,{text:y.match,token:this.terminals_[x]||x,line:y.yylineno,loc:g,expected:A})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+b+", token: "+x);switch(v[0]){case 1:n.push(x),r.push(y.yytext),s.push(y.yylloc),n.push(v[1]),x=null,k?(x=k,k=null):(h=y.yyleng,o=y.yytext,c=y.yylineno,g=y.yylloc,u>0&&u--);break;case 2:if(T=this.productions_[v[1]][1],S.$=r[r.length-T],S._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},m&&(S._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(w=this.performAction.apply(S,[o,h,c,d,v[1],r,s].concat(p))))return w;T&&(n=n.slice(0,-1*T*2),r=r.slice(0,-1*T),s=s.slice(0,-1*T)),n.push(this.productions_[v[1]][0]),r.push(S.$),s.push(S._$),M=l[n[n.length-2]][n[n.length-1]],n.push(M);break;case 3:return!0}}return!0},"parse")};function h(){this.yy={}}return c.lexer={EOF:1,parseError:(0,a.__name)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.__name)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,a.__name)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:(0,a.__name)(function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.__name)(function(){return this._more=!0,this},"more"),reject:(0,a.__name)(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,a.__name)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.__name)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.__name)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,a.__name)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.__name)(function(t,e){var n,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack)for(var r in a)this[r]=a[r];return!1},"test_match"),next:(0,a.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,n,i,a=this._currentRules(),r=0;r<a.length;r++)if((n=this._input.match(this.rules[a[r]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,a[r])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===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,a.__name)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,a.__name)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.__name)(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,a.__name)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.__name)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.__name)(function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},"anonymous"),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}},(0,a.__name)(h,"Parser"),h.prototype=c,c.Parser=h,new h}();l.parser=l;var o="",c=[],h=[],u=[],p=(0,a.__name)(function(){c.length=0,h.length=0,o="",u.length=0,(0,i.clear)()},"clear"),y=(0,a.__name)(function(t){o=t,c.push(t)},"addSection"),d=(0,a.__name)(function(){return c},"getSections"),f=(0,a.__name)(function(){let t=x(),e=0;for(;!t&&e<100;)t=x(),e++;return h.push(...u),h},"getTasks"),g=(0,a.__name)(function(){let t=[];return h.forEach(e=>{e.people&&t.push(...e.people)}),[...new Set(t)].sort()},"updateActors"),m=(0,a.__name)(function(t,e){let n=e.substr(1).split(":"),i=0,a=[];1===n.length?(i=Number(n[0]),a=[]):(i=Number(n[0]),a=n[1].split(","));let r=a.map(t=>t.trim()),s={section:o,type:o,people:r,task:t,score:i};u.push(s)},"addTask"),_=(0,a.__name)(function(t){let e={section:o,type:o,description:t,task:t,classes:[]};h.push(e)},"addTaskOrg"),x=(0,a.__name)(function(){let t=(0,a.__name)(function(t){return u[t].processed},"compileTask"),e=!0;for(let[n,i]of u.entries())t(n),e=e&&i.processed;return e},"compileTasks"),k=(0,a.__name)(function(){return g()},"getActors"),b={getConfig:(0,a.__name)(()=>(0,i.getConfig2)().journey,"getConfig"),clear:p,setDiagramTitle:i.setDiagramTitle,getDiagramTitle:i.getDiagramTitle,setAccTitle:i.setAccTitle,getAccTitle:i.getAccTitle,setAccDescription:i.setAccDescription,getAccDescription:i.getAccDescription,addSection:y,getSections:d,getTasks:f,addTask:m,addTaskOrg:_,getActors:k},v=(0,a.__name)(t=>`.label {
|
|
16
|
+
font-family: ${t.fontFamily};
|
|
17
|
+
color: ${t.textColor};
|
|
18
|
+
}
|
|
19
|
+
.mouth {
|
|
20
|
+
stroke: #666;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
line {
|
|
24
|
+
stroke: ${t.textColor}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.legend {
|
|
28
|
+
fill: ${t.textColor};
|
|
29
|
+
font-family: ${t.fontFamily};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.label text {
|
|
33
|
+
fill: #333;
|
|
34
|
+
}
|
|
35
|
+
.label {
|
|
36
|
+
color: ${t.textColor}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.face {
|
|
40
|
+
${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};
|
|
41
|
+
stroke: #999;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.node rect,
|
|
45
|
+
.node circle,
|
|
46
|
+
.node ellipse,
|
|
47
|
+
.node polygon,
|
|
48
|
+
.node path {
|
|
49
|
+
fill: ${t.mainBkg};
|
|
50
|
+
stroke: ${t.nodeBorder};
|
|
51
|
+
stroke-width: 1px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.node .label {
|
|
55
|
+
text-align: center;
|
|
56
|
+
}
|
|
57
|
+
.node.clickable {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.arrowheadPath {
|
|
62
|
+
fill: ${t.arrowheadColor};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.edgePath .path {
|
|
66
|
+
stroke: ${t.lineColor};
|
|
67
|
+
stroke-width: 1.5px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.flowchart-link {
|
|
71
|
+
stroke: ${t.lineColor};
|
|
72
|
+
fill: none;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.edgeLabel {
|
|
76
|
+
background-color: ${t.edgeLabelBackground};
|
|
77
|
+
rect {
|
|
78
|
+
opacity: 0.5;
|
|
79
|
+
}
|
|
80
|
+
text-align: center;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.cluster rect {
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.cluster text {
|
|
87
|
+
fill: ${t.titleColor};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
div.mermaidTooltip {
|
|
91
|
+
position: absolute;
|
|
92
|
+
text-align: center;
|
|
93
|
+
max-width: 200px;
|
|
94
|
+
padding: 2px;
|
|
95
|
+
font-family: ${t.fontFamily};
|
|
96
|
+
font-size: 12px;
|
|
97
|
+
background: ${t.tertiaryColor};
|
|
98
|
+
border: 1px solid ${t.border2};
|
|
99
|
+
border-radius: 2px;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
z-index: 100;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.task-type-0, .section-type-0 {
|
|
105
|
+
${t.fillType0?`fill: ${t.fillType0}`:""};
|
|
106
|
+
}
|
|
107
|
+
.task-type-1, .section-type-1 {
|
|
108
|
+
${t.fillType0?`fill: ${t.fillType1}`:""};
|
|
109
|
+
}
|
|
110
|
+
.task-type-2, .section-type-2 {
|
|
111
|
+
${t.fillType0?`fill: ${t.fillType2}`:""};
|
|
112
|
+
}
|
|
113
|
+
.task-type-3, .section-type-3 {
|
|
114
|
+
${t.fillType0?`fill: ${t.fillType3}`:""};
|
|
115
|
+
}
|
|
116
|
+
.task-type-4, .section-type-4 {
|
|
117
|
+
${t.fillType0?`fill: ${t.fillType4}`:""};
|
|
118
|
+
}
|
|
119
|
+
.task-type-5, .section-type-5 {
|
|
120
|
+
${t.fillType0?`fill: ${t.fillType5}`:""};
|
|
121
|
+
}
|
|
122
|
+
.task-type-6, .section-type-6 {
|
|
123
|
+
${t.fillType0?`fill: ${t.fillType6}`:""};
|
|
124
|
+
}
|
|
125
|
+
.task-type-7, .section-type-7 {
|
|
126
|
+
${t.fillType0?`fill: ${t.fillType7}`:""};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.actor-0 {
|
|
130
|
+
${t.actor0?`fill: ${t.actor0}`:""};
|
|
131
|
+
}
|
|
132
|
+
.actor-1 {
|
|
133
|
+
${t.actor1?`fill: ${t.actor1}`:""};
|
|
134
|
+
}
|
|
135
|
+
.actor-2 {
|
|
136
|
+
${t.actor2?`fill: ${t.actor2}`:""};
|
|
137
|
+
}
|
|
138
|
+
.actor-3 {
|
|
139
|
+
${t.actor3?`fill: ${t.actor3}`:""};
|
|
140
|
+
}
|
|
141
|
+
.actor-4 {
|
|
142
|
+
${t.actor4?`fill: ${t.actor4}`:""};
|
|
143
|
+
}
|
|
144
|
+
.actor-5 {
|
|
145
|
+
${t.actor5?`fill: ${t.actor5}`:""};
|
|
146
|
+
}
|
|
147
|
+
${(0,n.getIconStyles)()}
|
|
148
|
+
`,"getStyles"),w=(0,a.__name)(function(t,n){return(0,e.drawRect)(t,n)},"drawRect"),$=(0,a.__name)(function(t,e){let n=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible"),i=t.append("g");function r(t){let n=(0,s.arc)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}function l(t){let n=(0,s.arc)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}function o(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}return i.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),i.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),(0,a.__name)(r,"smile"),(0,a.__name)(l,"sad"),(0,a.__name)(o,"ambivalent"),e.score>3?r(i):e.score<3?l(i):o(i),n},"drawFace"),T=(0,a.__name)(function(t,e){let n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},"drawCircle"),M=(0,a.__name)(function(t,n){return(0,e.drawText)(t,n)},"drawText"),A=(0,a.__name)(function(t,n,i){let a=t.append("g"),r=(0,e.getNoteRect)();r.x=n.x,r.y=n.y,r.fill=n.fill,r.width=i.width*n.taskCount+i.diagramMarginX*(n.taskCount-1),r.height=i.height,r.class="journey-section section-type-"+n.num,r.rx=3,r.ry=3,w(a,r),E(i)(n.text,a,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+n.num},i,n.colour)},"drawSection"),S=-1,C=(0,a.__name)(function(t,n,i){let a=n.x+i.width/2,r=t.append("g");S++,r.append("line").attr("id","task"+S).attr("x1",a).attr("y1",n.y).attr("x2",a).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),$(r,{cx:a,cy:300+(5-n.score)*30,score:n.score});let s=(0,e.getNoteRect)();s.x=n.x,s.y=n.y,s.fill=n.fill,s.width=i.width,s.height=i.height,s.class="task task-type-"+n.num,s.rx=3,s.ry=3,w(r,s);let l=n.x+14;n.people.forEach(t=>{let e=n.actors[t].color;T(r,{cx:l,cy:n.y,r:7,fill:e,stroke:"#000",title:t,pos:n.actors[t].position}),l+=10}),E(i)(n.task,r,s.x,s.y,s.width,s.height,{class:"task"},i,n.colour)},"drawTask"),E=function(){function t(t,e,n,a,r,s,l,o){i(e.append("text").attr("x",n+r/2).attr("y",a+s/2+5).style("font-color",o).style("text-anchor","middle").text(t),l)}function e(t,e,n,a,r,s,l,o,c){let{taskFontSize:h,taskFontFamily:u}=o,p=t.split(/<br\s*\/?>/gi);for(let t=0;t<p.length;t++){let o=t*h-h*(p.length-1)/2,y=e.append("text").attr("x",n+r/2).attr("y",a).attr("fill",c).style("text-anchor","middle").style("font-size",h).style("font-family",u);y.append("tspan").attr("x",n+r/2).attr("dy",o).text(p[t]),y.attr("y",a+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(y,l)}}function n(t,n,a,r,s,l,o,c){let h=n.append("switch"),u=h.append("foreignObject").attr("x",a).attr("y",r).attr("width",s).attr("height",l).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");u.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,h,a,r,s,l,o,c),i(u,o)}function i(t,e){for(let n in e)n in e&&t.attr(n,e[n])}return(0,a.__name)(t,"byText"),(0,a.__name)(e,"byTspan"),(0,a.__name)(n,"byFo"),(0,a.__name)(i,"_setTextAttrs"),function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),I=(0,a.__name)(function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z")},"initGraphics"),P=(0,a.__name)(function(t){Object.keys(t).forEach(function(e){F[e]=t[e]})},"setConf"),R={},j=0;function B(t){let e=(0,i.getConfig2)().journey,n=e.maxLabelWidth;j=0;let a=60;Object.keys(R).forEach(i=>{let r=R[i].color;T(t,{cx:20,cy:a,r:7,fill:r,stroke:"#000",pos:R[i].position});let s=t.append("text").attr("visibility","hidden").text(i),l=s.node().getBoundingClientRect().width;s.remove();let o=[];if(l<=n)o=[i];else{let e=i.split(" "),a="";s=t.append("text").attr("visibility","hidden"),e.forEach(t=>{let e=a?`${a} ${t}`:t;if(s.text(e),s.node().getBoundingClientRect().width>n){if(a&&o.push(a),a=t,s.text(t),s.node().getBoundingClientRect().width>n){let e="";for(let i of t)e+=i,s.text(e+"-"),s.node().getBoundingClientRect().width>n&&(o.push(e.slice(0,-1)+"-"),e=i);a=e}}else a=e}),a&&o.push(a),s.remove()}o.forEach((n,i)=>{let r=M(t,{x:40,y:a+7+20*i,fill:"#666",text:n,textMargin:e.boxTextMargin??5}).node().getBoundingClientRect().width;r>j&&r>e.leftMargin-r&&(j=r)}),a+=Math.max(20,20*o.length)})}(0,a.__name)(B,"drawActorLegend");var F=(0,i.getConfig2)().journey,V=0,D=(0,a.__name)(function(t,e,n,a){let s,l=(0,i.getConfig2)(),o=l.journey.titleColor,c=l.journey.titleFontSize,h=l.journey.titleFontFamily,u=l.securityLevel;"sandbox"===u&&(s=(0,r.select)("#i"+e));let p="sandbox"===u?(0,r.select)(s.nodes()[0].contentDocument.body):(0,r.select)("body");O.init();let y=p.select("#"+e);I(y);let d=a.db.getTasks(),f=a.db.getDiagramTitle(),g=a.db.getActors();for(let t in R)delete R[t];let m=0;g.forEach(t=>{R[t]={color:F.actorColours[m%F.actorColours.length],position:m},m++}),B(y),V=F.leftMargin+j,O.insert(0,0,V,50*Object.keys(R).length),z(y,d,0);let _=O.getBounds();f&&y.append("text").text(f).attr("x",V).attr("font-size",c).attr("font-weight","bold").attr("y",25).attr("fill",o).attr("font-family",h);let x=_.stopy-_.starty+2*F.diagramMarginY,k=V+_.stopx+2*F.diagramMarginX;(0,i.configureSvgSize)(y,x,k,F.useMaxWidth),y.append("line").attr("x1",V).attr("y1",4*F.height).attr("x2",k-V-4).attr("y2",4*F.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");let b=70*!!f;y.attr("viewBox",`${_.startx} -25 ${k} ${x+b}`),y.attr("preserveAspectRatio","xMinYMin meet"),y.attr("height",x+b+25)},"draw"),O={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:(0,a.__name)(function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},"init"),updateVal:(0,a.__name)(function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},"updateVal"),updateBounds:(0,a.__name)(function(t,e,n,r){let s=(0,i.getConfig2)().journey,l=this,o=0;function c(i){return(0,a.__name)(function(a){o++;let c=l.sequenceItems.length-o+1;l.updateVal(a,"starty",e-c*s.boxMargin,Math.min),l.updateVal(a,"stopy",r+c*s.boxMargin,Math.max),l.updateVal(O.data,"startx",t-c*s.boxMargin,Math.min),l.updateVal(O.data,"stopx",n+c*s.boxMargin,Math.max),"activation"!==i&&(l.updateVal(a,"startx",t-c*s.boxMargin,Math.min),l.updateVal(a,"stopx",n+c*s.boxMargin,Math.max),l.updateVal(O.data,"starty",e-c*s.boxMargin,Math.min),l.updateVal(O.data,"stopy",r+c*s.boxMargin,Math.max))},"updateItemBounds")}(0,a.__name)(c,"updateFn"),this.sequenceItems.forEach(c())},"updateBounds"),insert:(0,a.__name)(function(t,e,n,i){let a=Math.min(t,n),r=Math.max(t,n),s=Math.min(e,i),l=Math.max(e,i);this.updateVal(O.data,"startx",a,Math.min),this.updateVal(O.data,"starty",s,Math.min),this.updateVal(O.data,"stopx",r,Math.max),this.updateVal(O.data,"stopy",l,Math.max),this.updateBounds(a,s,r,l)},"insert"),bumpVerticalPos:(0,a.__name)(function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},"bumpVerticalPos"),getVerticalPos:(0,a.__name)(function(){return this.verticalPos},"getVerticalPos"),getBounds:(0,a.__name)(function(){return this.data},"getBounds")},N=F.sectionFills,L=F.sectionColours,z=(0,a.__name)(function(t,e,n){let a=(0,i.getConfig2)().journey,r="",s=n+(2*a.height+a.diagramMarginY),l=0,o="#CCC",c="black",h=0;for(let[n,i]of e.entries()){if(r!==i.section){o=N[l%N.length],h=l%N.length,c=L[l%L.length];let s=0,u=i.section;for(let t=n;t<e.length;t++)if(e[t].section==u)s+=1;else break;A(t,{x:n*a.taskMargin+n*a.width+V,y:50,text:i.section,fill:o,num:h,colour:c,taskCount:s},a),r=i.section,l++}let u=i.people.reduce((t,e)=>(R[e]&&(t[e]=R[e]),t),{});i.x=n*a.taskMargin+n*a.width+V,i.y=s,i.width=a.diagramMarginX,i.height=a.diagramMarginY,i.colour=c,i.fill=o,i.num=h,i.actors=u,C(t,i,a),O.insert(i.x,i.y,i.x+i.width+a.taskMargin,450)}},"drawTasks"),q={setConf:P,draw:D},U={parser:l,db:b,renderer:q,styles:v,init:(0,a.__name)(t=>{q.setConf(t.journey),b.clear()},"init")};t.s(["diagram",()=>U])}]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,775949,705471,166891,493405,e=>{"use strict";var t=e.i(917152),a=(0,e.i(836673).default)(Object.keys,Object),r=Object.prototype.hasOwnProperty;let i=function(e){if(!(0,t.default)(e))return a(e);var i=[];for(var s in Object(e))r.call(e,s)&&"constructor"!=s&&i.push(s);return i};e.s(["default",0,i],705471);var s=e.i(693916),n=e.i(997740),l=(0,s.default)(n.default,"DataView"),o=e.i(134380),d=(0,s.default)(n.default,"Promise"),c=(0,s.default)(n.default,"Set");e.s(["default",0,c],166891);var p=(0,s.default)(n.default,"WeakMap"),m=e.i(124277),h=e.i(871973),u="[object Map]",f="[object Promise]",g="[object Set]",y="[object WeakMap]",_="[object DataView]",b=(0,h.default)(l),k=(0,h.default)(o.default),w=(0,h.default)(d),x=(0,h.default)(c),v=(0,h.default)(p),M=m.default;(l&&M(new l(new ArrayBuffer(1)))!=_||o.default&&M(new o.default)!=u||d&&M(d.resolve())!=f||c&&M(new c)!=g||p&&M(new p)!=y)&&(M=function(e){var t=(0,m.default)(e),a="[object Object]"==t?e.constructor:void 0,r=a?(0,h.default)(a):"";if(r)switch(r){case b:return _;case k:return u;case w:return f;case x:return g;case v:return y}return t});let L=M;e.s(["default",0,L],493405);var $=e.i(822500),S=e.i(494878),j=e.i(42125),E=e.i(215529),C=e.i(341720),T=Object.prototype.hasOwnProperty;e.s(["default",0,function(e){if(null==e)return!0;if((0,j.default)(e)&&((0,S.default)(e)||"string"==typeof e||"function"==typeof e.splice||(0,E.default)(e)||(0,C.default)(e)||(0,$.default)(e)))return!e.length;var a=L(e);if("[object Map]"==a||"[object Set]"==a)return!e.size;if((0,t.default)(e))return!i(e).length;for(var r in e)if(T.call(e,r))return!1;return!0}],775949)},564228,e=>{"use strict";var t=e.i(459721),a=e.i(658295);e.i(991577);var r=e.i(692423),i=(0,a.__name)(e=>{let{securityLevel:a}=(0,t.getConfig2)(),i=(0,r.select)("body");if("sandbox"===a){let t=(0,r.select)(`#i${e}`),a=t.node()?.contentDocument??document;i=(0,r.select)(a.body)}return i.select(`#${e}`)},"selectSvgElement");e.s(["selectSvgElement",()=>i])},679685,e=>{"use strict";var t=(0,e.i(658295).__name)(({flowchart:e})=>{let t=e?.subGraphTitleMargin?.top??0,a=e?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:a,subGraphTitleTotalMargin:t+a}},"getSubGraphTitleMargins");e.s(["getSubGraphTitleMargins",()=>t])},352545,e=>{"use strict";var t=e.i(459721),a=e.i(658295),r=(0,a.__name)(e=>{let{handDrawnSeed:a}=(0,t.getConfig2)();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:a}},"solidStateFill"),i=(0,a.__name)(e=>{let t=s([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},"compileStyles"),s=(0,a.__name)(e=>{let t=new Map;return e.forEach(e=>{let[a,r]=e.split(":");t.set(a.trim(),r?.trim())}),t},"styles2Map"),n=(0,a.__name)(e=>"color"===e||"font-size"===e||"font-family"===e||"font-weight"===e||"font-style"===e||"text-decoration"===e||"text-align"===e||"text-transform"===e||"line-height"===e||"letter-spacing"===e||"word-spacing"===e||"text-shadow"===e||"text-overflow"===e||"white-space"===e||"word-wrap"===e||"word-break"===e||"overflow-wrap"===e||"hyphens"===e,"isLabelStyle"),l=(0,a.__name)(e=>{let{stylesArray:t}=i(e),a=[],r=[],s=[],l=[];return t.forEach(e=>{let t=e[0];n(t)?a.push(e.join(":")+" !important"):(r.push(e.join(":")+" !important"),t.includes("stroke")&&s.push(e.join(":")+" !important"),"fill"===t&&l.push(e.join(":")+" !important"))}),{labelStyles:a.join(";"),nodeStyles:r.join(";"),stylesArray:t,borderStyles:s,backgroundStyles:l}},"styles2String"),o=(0,a.__name)((e,a)=>{let{themeVariables:r,handDrawnSeed:s}=(0,t.getConfig2)(),{nodeBorder:n,mainBkg:l}=r,{stylesMap:o}=i(e);return Object.assign({roughness:.7,fill:o.get("fill")||l,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:o.get("stroke")||n,seed:s,strokeWidth:o.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:d(o.get("stroke-dasharray"))},a)},"userNodeOverrides"),d=(0,a.__name)(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(1===t.length){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},"getStrokeDashArray");e.s(["compileStyles",()=>i,"isLabelStyle",()=>n,"solidStateFill",()=>r,"styles2String",()=>l,"userNodeOverrides",()=>o])},459683,199518,e=>{"use strict";e.s(["default",0,function(e){return function(){return e}}],459683);let t=Math.PI,a=2*t,r=a-1e-6;function i(e){this._+=e[0];for(let t=1,a=e.length;t<a;++t)this._+=arguments[t]+e[t]}class s{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?i:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return i;let a=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*a)/a+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,a,r){this._append`Q${+e},${+t},${this._x1=+a},${this._y1=+r}`}bezierCurveTo(e,t,a,r,i,s){this._append`C${+e},${+t},${+a},${+r},${this._x1=+i},${this._y1=+s}`}arcTo(e,a,r,i,s){if(e*=1,a*=1,r*=1,i*=1,(s*=1)<0)throw Error(`negative radius: ${s}`);let n=this._x1,l=this._y1,o=r-e,d=i-a,c=n-e,p=l-a,m=c*c+p*p;if(null===this._x1)this._append`M${this._x1=e},${this._y1=a}`;else if(m>1e-6)if(Math.abs(p*o-d*c)>1e-6&&s){let h=r-n,u=i-l,f=o*o+d*d,g=Math.sqrt(f),y=Math.sqrt(m),_=s*Math.tan((t-Math.acos((f+m-(h*h+u*u))/(2*g*y)))/2),b=_/y,k=_/g;Math.abs(b-1)>1e-6&&this._append`L${e+b*c},${a+b*p}`,this._append`A${s},${s},0,0,${+(p*h>c*u)},${this._x1=e+k*o},${this._y1=a+k*d}`}else this._append`L${this._x1=e},${this._y1=a}`}arc(e,i,s,n,l,o){if(e*=1,i*=1,s*=1,o=!!o,s<0)throw Error(`negative radius: ${s}`);let d=s*Math.cos(n),c=s*Math.sin(n),p=e+d,m=i+c,h=1^o,u=o?n-l:l-n;null===this._x1?this._append`M${p},${m}`:(Math.abs(this._x1-p)>1e-6||Math.abs(this._y1-m)>1e-6)&&this._append`L${p},${m}`,s&&(u<0&&(u=u%a+a),u>r?this._append`A${s},${s},0,1,${h},${e-d},${i-c}A${s},${s},0,1,${h},${this._x1=p},${this._y1=m}`:u>1e-6&&this._append`A${s},${s},0,${+(u>=t)},${h},${this._x1=e+s*Math.cos(l)},${this._y1=i+s*Math.sin(l)}`)}rect(e,t,a,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${a*=1}v${+r}h${-a}Z`}toString(){return this._}}function n(e){let t=3;return e.digits=function(a){if(!arguments.length)return t;if(null==a)t=null;else{let e=Math.floor(a);if(!(e>=0))throw RangeError(`invalid digits: ${a}`);t=e}return e},()=>new s(t)}s.prototype,e.s(["withPath",()=>n],199518)},251934,e=>{"use strict";Array.prototype.slice,e.s(["default",0,function(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}])},358424,e=>{"use strict";var t=e.i(251934),a=e.i(459683),r=e.i(566635),i=e.i(199518);function s(e){return e[0]}function n(e){return e[1]}e.s(["line",0,function(e,l){var o=(0,a.default)(!0),d=null,c=r.default,p=null,m=(0,i.withPath)(h);function h(a){var r,i,s,n=(a=(0,t.default)(a)).length,h=!1;for(null==d&&(p=c(s=m())),r=0;r<=n;++r)!(r<n&&o(i=a[r],r,a))===h&&((h=!h)?p.lineStart():p.lineEnd()),h&&p.point(+e(i,r,a),+l(i,r,a));if(s)return p=null,s+""||null}return e="function"==typeof e?e:void 0===e?s:(0,a.default)(e),l="function"==typeof l?l:void 0===l?n:(0,a.default)(l),h.x=function(t){return arguments.length?(e="function"==typeof t?t:(0,a.default)(+t),h):e},h.y=function(e){return arguments.length?(l="function"==typeof e?e:(0,a.default)(+e),h):l},h.defined=function(e){return arguments.length?(o="function"==typeof e?e:(0,a.default)(!!e),h):o},h.curve=function(e){return arguments.length?(c=e,null!=d&&(p=c(d)),h):c},h.context=function(e){return arguments.length?(null==e?d=p=null:p=c(d=e),h):d},h}],358424)},599154,e=>{"use strict";var t=e.i(658295),a={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4},r={arrow_point:9,arrow_cross:12.5,arrow_circle:12.5};function i(e,t){if(void 0===e||void 0===t)return{angle:0,deltaX:0,deltaY:0};e=s(e),t=s(t);let[a,r]=[e.x,e.y],[i,n]=[t.x,t.y],l=i-a,o=n-r;return{angle:Math.atan(o/l),deltaX:l,deltaY:o}}(0,t.__name)(i,"calculateDeltaAndAngle");var s=(0,t.__name)(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,"pointTransformer"),n=(0,t.__name)(e=>({x:(0,t.__name)(function(t,r,n){let l=0,o=s(n[0]).x<s(n[n.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(a,e.arrowTypeStart)){let{angle:t,deltaX:r}=i(n[0],n[1]);l=a[e.arrowTypeStart]*Math.cos(t)*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(a,e.arrowTypeEnd)){let{angle:t,deltaX:r}=i(n[n.length-1],n[n.length-2]);l=a[e.arrowTypeEnd]*Math.cos(t)*(r>=0?1:-1)}let d=Math.abs(s(t).x-s(n[n.length-1]).x),c=Math.abs(s(t).y-s(n[n.length-1]).y),p=Math.abs(s(t).x-s(n[0]).x),m=Math.abs(s(t).y-s(n[0]).y),h=a[e.arrowTypeStart],u=a[e.arrowTypeEnd];if(d<u&&d>0&&c<u){let e=u+1-d;e*="right"===o?-1:1,l-=e}if(p<h&&p>0&&m<h){let e=h+1-p;e*="right"===o?-1:1,l+=e}return s(t).x+l},"x"),y:(0,t.__name)(function(t,r,n){let l=0,o=s(n[0]).y<s(n[n.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(a,e.arrowTypeStart)){let{angle:t,deltaY:r}=i(n[0],n[1]);l=a[e.arrowTypeStart]*Math.abs(Math.sin(t))*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(a,e.arrowTypeEnd)){let{angle:t,deltaY:r}=i(n[n.length-1],n[n.length-2]);l=a[e.arrowTypeEnd]*Math.abs(Math.sin(t))*(r>=0?1:-1)}let d=Math.abs(s(t).y-s(n[n.length-1]).y),c=Math.abs(s(t).x-s(n[n.length-1]).x),p=Math.abs(s(t).y-s(n[0]).y),m=Math.abs(s(t).x-s(n[0]).x),h=a[e.arrowTypeStart],u=a[e.arrowTypeEnd];if(d<u&&d>0&&c<u){let e=u+1-d;e*="up"===o?-1:1,l-=e}if(p<h&&p>0&&m<h){let e=h+1-p;e*="up"===o?-1:1,l+=e}return s(t).y+l},"y")}),"getLineFunctionsWithOffset");e.s(["getLineFunctionsWithOffset",()=>n,"markerOffsets",()=>a,"markerOffsets2",()=>r])},401972,e=>{"use strict";var t=e.i(599154),a=e.i(962485),r=e.i(679685),i=e.i(352545),s=e.i(133055),n=e.i(944836),l=e.i(459721),o=e.i(658295);e.i(991577);var d=e.i(352195),c=e.i(460605),p=e.i(488446),m=e.i(219412),h=e.i(334236),u=e.i(187580),f=e.i(114605),g=e.i(211986),y=e.i(12669),_=e.i(373593),b=e.i(814826),k=e.i(472737),w=e.i(358424),x=e.i(692423),v=e.i(570126),M=(0,o.__name)((e,t,a,r,i,s)=>{t.arrowTypeStart&&$(e,"start",t.arrowTypeStart,a,r,i,s),t.arrowTypeEnd&&$(e,"end",t.arrowTypeEnd,a,r,i,s)},"addEdgeMarkers"),L={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},$=(0,o.__name)((e,t,a,r,i,s,n)=>{let l=L[a];if(!l)return void o.log.warn(`Unknown arrow type: ${a}`);let d=l.type,c=`${i}_${s}-${d}${"start"===t?"Start":"End"}`;if(n&&""!==n.trim()){let a=n.replace(/[^\dA-Za-z]/g,"_"),i=`${c}_${a}`;if(!document.getElementById(i)){let e=document.getElementById(c);if(e){let t=e.cloneNode(!0);t.id=i,t.querySelectorAll("path, circle, line").forEach(e=>{e.setAttribute("stroke",n),l.fill&&e.setAttribute("fill",n)}),e.parentNode?.appendChild(t)}}e.attr(`marker-${t}`,`url(${r}#${i})`)}else e.attr(`marker-${t}`,`url(${r}#${c})`)},"addEdgeMarker"),S=new Map,j=new Map,E=(0,o.__name)(()=>{S.clear(),j.clear()},"clear"),C=(0,o.__name)(e=>e?e.reduce((e,t)=>e+";"+t,""):"","getLabelStyles"),T=(0,o.__name)(async(e,t)=>{let r,n=(0,l.evaluate)((0,l.getConfig2)().flowchart.htmlLabels),{labelStyles:d}=(0,i.styles2String)(t);t.labelStyle=d;let c=await (0,s.createText)(e,t.label,{style:t.labelStyle,useHtmlLabels:n,addSvgBackground:!0,isNode:!1});o.log.info("abc82",t,t.labelType);let p=e.insert("g").attr("class","edgeLabel"),m=p.insert("g").attr("class","label").attr("data-id",t.id);m.node().appendChild(c);let h=c.getBBox();if(n){let e=c.children[0],t=(0,x.select)(c);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}if(m.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),S.set(t.id,p),t.width=h.width,t.height=h.height,t.startLabelLeft){let i=await (0,a.createLabel_default)(t.startLabelLeft,C(t.labelStyle)),s=e.insert("g").attr("class","edgeTerminals"),n=s.insert("g").attr("class","inner");r=n.node().appendChild(i);let l=i.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),j.get(t.id)||j.set(t.id,{}),j.get(t.id).startLeft=s,A(r,t.startLabelLeft)}if(t.startLabelRight){let i=await (0,a.createLabel_default)(t.startLabelRight,C(t.labelStyle)),s=e.insert("g").attr("class","edgeTerminals"),n=s.insert("g").attr("class","inner");r=s.node().appendChild(i),n.node().appendChild(i);let l=i.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),j.get(t.id)||j.set(t.id,{}),j.get(t.id).startRight=s,A(r,t.startLabelRight)}if(t.endLabelLeft){let i=await (0,a.createLabel_default)(t.endLabelLeft,C(t.labelStyle)),s=e.insert("g").attr("class","edgeTerminals"),n=s.insert("g").attr("class","inner");r=n.node().appendChild(i);let l=i.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),s.node().appendChild(i),j.get(t.id)||j.set(t.id,{}),j.get(t.id).endLeft=s,A(r,t.endLabelLeft)}if(t.endLabelRight){let i=await (0,a.createLabel_default)(t.endLabelRight,C(t.labelStyle)),s=e.insert("g").attr("class","edgeTerminals"),n=s.insert("g").attr("class","inner");r=n.node().appendChild(i);let l=i.getBBox();n.attr("transform","translate("+-l.width/2+", "+-l.height/2+")"),s.node().appendChild(i),j.get(t.id)||j.set(t.id,{}),j.get(t.id).endRight=s,A(r,t.endLabelRight)}return c},"insertEdgeLabel");function A(e,t){(0,l.getConfig2)().flowchart.htmlLabels&&e&&(e.style.width=9*t.length+"px",e.style.height="12px")}(0,o.__name)(A,"setTerminalWidth");var O=(0,o.__name)((e,t)=>{o.log.debug("Moving label abc88 ",e.id,e.label,S.get(e.id),t);let a=t.updatedPath?t.updatedPath:t.originalPath,i=(0,l.getConfig2)(),{subGraphTitleTotalMargin:s}=(0,r.getSubGraphTitleMargins)(i);if(e.label){let r=S.get(e.id),i=e.x,l=e.y;if(a){let r=n.utils_default.calcLabelPosition(a);o.log.debug("Moving label "+e.label+" from (",i,",",l,") to (",r.x,",",r.y,") abc88"),t.updatedPath&&(i=r.x,l=r.y)}r.attr("transform",`translate(${i}, ${l+s/2})`)}if(e.startLabelLeft){let t=j.get(e.id).startLeft,r=e.x,i=e.y;if(a){let t=n.utils_default.calcTerminalLabelPosition(10*!!e.arrowTypeStart,"start_left",a);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}if(e.startLabelRight){let t=j.get(e.id).startRight,r=e.x,i=e.y;if(a){let t=n.utils_default.calcTerminalLabelPosition(10*!!e.arrowTypeStart,"start_right",a);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=j.get(e.id).endLeft,r=e.x,i=e.y;if(a){let t=n.utils_default.calcTerminalLabelPosition(10*!!e.arrowTypeEnd,"end_left",a);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}if(e.endLabelRight){let t=j.get(e.id).endRight,r=e.x,i=e.y;if(a){let t=n.utils_default.calcTerminalLabelPosition(10*!!e.arrowTypeEnd,"end_right",a);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}},"positionEdgeLabel"),P=(0,o.__name)((e,t)=>{let a=e.x,r=e.y,i=Math.abs(t.x-a),s=Math.abs(t.y-r),n=e.width/2,l=e.height/2;return i>=n||s>=l},"outsideNode"),D=(0,o.__name)((e,t,a)=>{o.log.debug(`intersection calc abc89:
|
|
2
|
+
outsidePoint: ${JSON.stringify(t)}
|
|
3
|
+
insidePoint : ${JSON.stringify(a)}
|
|
4
|
+
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let r=e.x,i=e.y,s=Math.abs(r-a.x),n=e.width/2,l=a.x<t.x?n-s:n+s,d=e.height/2,c=Math.abs(t.y-a.y),p=Math.abs(t.x-a.x);if(Math.abs(i-t.y)*n>Math.abs(r-t.x)*d){let e=a.y<t.y?t.y-d-i:i-d-t.y;l=p*e/c;let r={x:a.x<t.x?a.x+l:a.x-p+l,y:a.y<t.y?a.y+c-e:a.y-c+e};return 0===l&&(r.x=t.x,r.y=t.y),0===p&&(r.x=t.x),0===c&&(r.y=t.y),o.log.debug(`abc89 top/bottom calc, Q ${c}, q ${e}, R ${p}, r ${l}`,r),r}{let e=c*(l=a.x<t.x?t.x-n-r:r-n-t.x)/p,i=a.x<t.x?a.x+p-l:a.x-p+l,s=a.y<t.y?a.y+e:a.y-e;return o.log.debug(`sides calc abc89, Q ${c}, q ${e}, R ${p}, r ${l}`,{_x:i,_y:s}),0===l&&(i=t.x,s=t.y),0===p&&(i=t.x),0===c&&(s=t.y),{x:i,y:s}}},"intersection"),z=(0,o.__name)((e,t)=>{o.log.warn("abc88 cutPathAtIntersect",e,t);let a=[],r=e[0],i=!1;return e.forEach(e=>{if(o.log.info("abc88 checking point",e,t),P(t,e)||i)o.log.warn("abc88 outside",e,r),r=e,i||a.push(e);else{let s=D(t,r,e);o.log.debug("abc88 inside",e,r,s),o.log.debug("abc88 intersection",s,t);let n=!1;a.forEach(e=>{n=n||e.x===s.x&&e.y===s.y}),a.some(e=>e.x===s.x&&e.y===s.y)?o.log.warn("abc88 no intersect",s,a):a.push(s),i=!0}}),o.log.debug("returning points",a),a},"cutPathAtIntersect");function R(e){let t=[],a=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],s=e[r],n=e[r+1];i.x===s.x&&s.y===n.y&&Math.abs(s.x-n.x)>5&&Math.abs(s.y-i.y)>5?(t.push(s),a.push(r)):i.y===s.y&&s.x===n.x&&Math.abs(s.x-i.x)>5&&Math.abs(s.y-n.y)>5&&(t.push(s),a.push(r))}return{cornerPoints:t,cornerPointPositions:a}}(0,o.__name)(R,"extractCornerPoints");var B=(0,o.__name)(function(e,t,a){let r=t.x-e.x,i=t.y-e.y,s=a/Math.sqrt(r*r+i*i);return{x:t.x-s*r,y:t.y-s*i}},"findAdjacentPoint"),W=(0,o.__name)(function(e){let{cornerPointPositions:t}=R(e),a=[];for(let r=0;r<e.length;r++)if(t.includes(r)){let t=e[r-1],i=e[r+1],s=e[r],n=B(t,s,5),l=B(i,s,5),d=l.x-n.x,c=l.y-n.y;a.push(n);let p=2*Math.sqrt(2),m={x:s.x,y:s.y};Math.abs(i.x-t.x)>10&&Math.abs(i.y-t.y)>=10?(o.log.debug("Corner point fixing",Math.abs(i.x-t.x),Math.abs(i.y-t.y)),m=s.x===n.x?{x:d<0?n.x-5+p:n.x+5-p,y:c<0?n.y-p:n.y+p}:{x:d<0?n.x-p:n.x+p,y:c<0?n.y-5+p:n.y+5-p}):o.log.debug("Corner point skipping fixing",Math.abs(i.x-t.x),Math.abs(i.y-t.y)),a.push(m,l)}else a.push(e[r]);return a},"fixCorners"),H=(0,o.__name)((e,t,a)=>{let r=Array(Math.floor((e-t-a)/4)).fill("2 2").join(" ");return`0 ${t} ${r} ${a}`},"generateDashArray"),q=(0,o.__name)(function(e,a,r,s,L,$,S,j=!1){let E,C,{handDrawnSeed:T}=(0,l.getConfig2)(),A=a.points,O=!1,P=[];for(let e in a.cssCompiledStyles)(0,i.isLabelStyle)(e)||P.push(a.cssCompiledStyles[e]);o.log.debug("UIO intersect check",a.points,$.x,L.x),$.intersect&&L.intersect&&!j&&((A=A.slice(1,a.points.length-1)).unshift(L.intersect(A[0])),o.log.debug("Last point UIO",a.start,"-->",a.end,A[A.length-1],$,$.intersect(A[A.length-1])),A.push($.intersect(A[A.length-1])));let D=btoa(JSON.stringify(A));a.toCluster&&(o.log.info("to cluster abc88",r.get(a.toCluster)),A=z(a.points,r.get(a.toCluster).node),O=!0),a.fromCluster&&(o.log.debug("from cluster abc88",r.get(a.fromCluster),JSON.stringify(A,null,2)),A=z(A.reverse(),r.get(a.fromCluster).node).reverse(),O=!0);let R=A.filter(e=>!Number.isNaN(e.y));R=W(R);let B=d.curveBasis;switch(B=c.curveLinear,a.curve){case"linear":B=c.curveLinear;break;case"basis":default:B=d.curveBasis;break;case"cardinal":B=p.curveCardinal;break;case"bumpX":B=m.curveBumpX;break;case"bumpY":B=h.curveBumpY;break;case"catmullRom":B=u.curveCatmullRom;break;case"monotoneX":B=f.curveMonotoneX;break;case"monotoneY":B=g.curveMonotoneY;break;case"natural":B=y.curveNatural;break;case"step":B=_.curveStep;break;case"stepAfter":B=b.curveStepAfter;break;case"stepBefore":B=k.curveStepBefore}let{x:q,y:X}=(0,t.getLineFunctionsWithOffset)(a),F=(0,w.line)().x(q).y(X).curve(B);switch(a.thickness){case"normal":default:E="edge-thickness-normal";break;case"thick":E="edge-thickness-thick";break;case"invisible":E="edge-thickness-invisible"}switch(a.pattern){case"solid":default:E+=" edge-pattern-solid";break;case"dotted":E+=" edge-pattern-dotted";break;case"dashed":E+=" edge-pattern-dashed"}let N="rounded"===a.curve?Y(I(R,a),5):F(R),U=Array.isArray(a.style)?a.style:[a.style],V=U.find(e=>e?.startsWith("stroke:")),G=!1;if("handDrawn"===a.look){let t=v.default.svg(e);Object.assign([],R);let r=t.path(N,{roughness:.3,seed:T});E+=" transition";let i=(C=(0,x.select)(r).select("path").attr("id",a.id).attr("class"," "+E+(a.classes?" "+a.classes:"")).attr("style",U?U.reduce((e,t)=>e+";"+t,""):"")).attr("d");C.attr("d",i),e.node().appendChild(C.node())}else{let r=P.join(";"),i=U?U.reduce((e,t)=>e+t+";",""):"",s="";a.animate&&(s=" edge-animation-fast"),a.animation&&(s=" edge-animation-"+a.animation);let n=(r?r+";"+i+";":i)+";"+(U?U.reduce((e,t)=>e+";"+t,""):"");C=e.append("path").attr("d",N).attr("id",a.id).attr("class"," "+E+(a.classes?" "+a.classes:"")+(s??"")).attr("style",n),V=n.match(/stroke:([^;]+)/)?.[1],G=!0===a.animate||!!a.animation||r.includes("animation");let l=C.node(),o="function"==typeof l.getTotalLength?l.getTotalLength():0,d=t.markerOffsets2[a.arrowTypeStart]||0,c=t.markerOffsets2[a.arrowTypeEnd]||0;if("neo"===a.look&&!G){let e="dotted"===a.pattern||"dashed"===a.pattern?H(o,d,c):`0 ${d} ${o-d-c} ${c}`,t=`stroke-dasharray: ${e}; stroke-dashoffset: 0;`;C.attr("style",t+C.attr("style"))}}C.attr("data-edge",!0),C.attr("data-et","edge"),C.attr("data-id",a.id),C.attr("data-points",D),a.showPoints&&R.forEach(t=>{e.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",t.x).attr("cy",t.y)});let Q="";((0,l.getConfig2)().flowchart.arrowMarkerAbsolute||(0,l.getConfig2)().state.arrowMarkerAbsolute)&&(Q=(Q=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),o.log.info("arrowTypeStart",a.arrowTypeStart),o.log.info("arrowTypeEnd",a.arrowTypeEnd),M(C,a,Q,S,s,V);let Z=Math.floor(A.length/2),J=A[Z];n.utils_default.isLabelCoordinateInPath(J,C.attr("d"))||(O=!0);let K={};return O&&(K.updatedPath=A),K.originalPath=a.points,K},"insertEdge");function Y(e,t){if(e.length<2)return"";let a="",r=e.length;for(let i=0;i<r;i++){let s=e[i],n=e[i-1],l=e[i+1];if(0===i)a+=`M${s.x},${s.y}`;else if(i===r-1)a+=`L${s.x},${s.y}`;else{let e=s.x-n.x,r=s.y-n.y,i=l.x-s.x,o=l.y-s.y,d=Math.hypot(e,r),c=Math.hypot(i,o);if(d<1e-5||c<1e-5){a+=`L${s.x},${s.y}`;continue}let p=e/d,m=r/d,h=i/c,u=o/c,f=Math.acos(Math.max(-1,Math.min(1,p*h+m*u)));if(f<1e-5||1e-5>Math.abs(Math.PI-f)){a+=`L${s.x},${s.y}`;continue}let g=Math.min(t/Math.sin(f/2),d/2,c/2),y=s.x-p*g,_=s.y-m*g,b=s.x+h*g,k=s.y+u*g;a+=`L${y},${_}Q${s.x},${s.y} ${b},${k}`}}return a}function X(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let a=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,a),deltaX:a,deltaY:r}}function I(e,a){let r=e.map(e=>({...e}));if(e.length>=2&&t.markerOffsets[a.arrowTypeStart]){let i=t.markerOffsets[a.arrowTypeStart],s=e[0],{angle:n}=X(s,e[1]),l=i*Math.cos(n),o=i*Math.sin(n);r[0].x=s.x+l,r[0].y=s.y+o}let i=e.length;if(i>=2&&t.markerOffsets[a.arrowTypeEnd]){let s=t.markerOffsets[a.arrowTypeEnd],n=e[i-1],{angle:l}=X(e[i-2],n),o=s*Math.cos(l),d=s*Math.sin(l);r[i-1].x=n.x-o,r[i-1].y=n.y-d}return r}(0,o.__name)(Y,"generateRoundedPath"),(0,o.__name)(X,"calculateDeltaAndAngle"),(0,o.__name)(I,"applyMarkerOffsetsToPoints");var F=(0,o.__name)((e,t,a,r)=>{t.forEach(t=>{es[t](e,a,r)})},"insertMarkers"),N=(0,o.__name)((e,t,a)=>{o.log.trace("Making markers for ",a),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),U=(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),V=(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),G=(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),Q=(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),Z=(0,o.__name)((e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),J=(0,o.__name)((e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),K=(0,o.__name)((e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),ee=(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),et=(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),e.append("defs").append("marker").attr("id",a+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),ea=(0,o.__name)((e,t,a)=>{let r=e.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");r.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("d","M9,0 L9,18");let i=e.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),er=(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),e.append("defs").append("marker").attr("id",a+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),ei=(0,o.__name)((e,t,a)=>{let r=e.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");r.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let i=e.append("defs").append("marker").attr("id",a+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),es={extension:N,composition:U,aggregation:V,dependency:G,lollipop:Q,point:Z,circle:J,cross:K,barb:ee,only_one:et,zero_or_one:ea,one_or_more:er,zero_or_more:ei,requirement_arrow:(0,o.__name)((e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
|
|
5
|
+
L20,10
|
|
6
|
+
M20,10
|
|
7
|
+
L0,20`)},"requirement_arrow"),requirement_contains:(0,o.__name)((e,t,a)=>{let r=e.append("defs").append("marker").attr("id",a+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");r.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),r.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),r.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains")};e.s(["clear",()=>E,"insertEdge",()=>q,"insertEdgeLabel",()=>T,"markers_default",()=>F,"positionEdgeLabel",()=>O])},2318,e=>{"use strict";var t=e.i(401972),a=e.i(962485),r=e.i(944836),i=e.i(459721),s=e.i(658295),n={common:i.common_default,getConfig:i.getConfig,insertCluster:a.insertCluster,insertEdge:t.insertEdge,insertEdgeLabel:t.insertEdgeLabel,insertMarkers:t.markers_default,insertNode:a.insertNode,interpolateToCurve:r.interpolateToCurve,labelHelper:a.labelHelper,log:s.log,positionEdgeLabel:t.positionEdgeLabel},l={},o=(0,s.__name)(e=>{for(let t of e)l[t.name]=t},"registerLayoutLoaders");(0,s.__name)(()=>{o([{name:"dagre",loader:(0,s.__name)(async()=>await e.A(546857),"loader")},{name:"cose-bilkent",loader:(0,s.__name)(async()=>await e.A(381589),"loader")}])},"registerDefaultLayoutLoaders")();var d=(0,s.__name)(async(e,t)=>{if(!(e.layoutAlgorithm in l))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);let a=l[e.layoutAlgorithm];return(await a.loader()).render(e,t,n,{algorithm:a.algorithm})},"render"),c=(0,s.__name)((e="",{fallback:t="dagre"}={})=>{if(e in l)return e;if(t in l)return s.log.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},"getRegisteredLayoutAlgorithm");e.s(["getRegisteredLayoutAlgorithm",()=>c,"registerLayoutLoaders",()=>o,"render",()=>d])},715538,e=>{"use strict";var t={name:"mermaid",version:"11.12.2",description:"Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",type:"module",module:"./dist/mermaid.core.mjs",types:"./dist/mermaid.d.ts",exports:{".":{types:"./dist/mermaid.d.ts",import:"./dist/mermaid.core.mjs",default:"./dist/mermaid.core.mjs"},"./*":"./*"},keywords:["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph","mindmap","packet diagram","c4 diagram","er diagram","pie chart","pie diagram","quadrant chart","requirement diagram","graph"],scripts:{clean:"rimraf dist",dev:"pnpm -w dev","docs:code":"typedoc src/defaultConfig.ts src/config.ts src/mermaid.ts && prettier --write ./src/docs/config/setup","docs:build":"rimraf ../../docs && pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts","docs:verify":"pnpm docs:code && pnpm docs:spellcheck && tsx scripts/docs.cli.mts --verify","docs:pre:vitepress":"pnpm --filter ./src/docs prefetch && rimraf src/vitepress && pnpm docs:code && tsx scripts/docs.cli.mts --vitepress && pnpm --filter ./src/vitepress install --no-frozen-lockfile --ignore-scripts","docs:build:vitepress":"pnpm docs:pre:vitepress && (cd src/vitepress && pnpm run build) && cpy --flat src/docs/landing/ ./src/vitepress/.vitepress/dist/landing","docs:dev":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:dev:docker":'pnpm docs:pre:vitepress && concurrently "pnpm --filter ./src/vitepress dev:docker" "tsx scripts/docs.cli.mts --watch --vitepress"',"docs:serve":"pnpm docs:build:vitepress && vitepress serve src/vitepress","docs:spellcheck":'cspell "src/docs/**/*.md"',"docs:release-version":"tsx scripts/update-release-version.mts","docs:verify-version":"tsx scripts/update-release-version.mts --verify","types:build-config":"tsx scripts/create-types-from-json-schema.mts","types:verify-config":"tsx scripts/create-types-from-json-schema.mts --verify",checkCircle:"npx madge --circular ./src",prepublishOnly:"pnpm docs:verify-version"},repository:{type:"git",url:"https://github.com/mermaid-js/mermaid"},author:"Knut Sveidqvist",license:"MIT",standard:{ignore:["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],globals:["page"]},dependencies:{"@braintree/sanitize-url":"^7.1.1","@iconify/utils":"^3.0.1","@mermaid-js/parser":"workspace:^","@types/d3":"^7.4.3",cytoscape:"^3.29.3","cytoscape-cose-bilkent":"^4.1.0","cytoscape-fcose":"^2.2.0",d3:"^7.9.0","d3-sankey":"^0.12.3","dagre-d3-es":"7.0.13",dayjs:"^1.11.18",dompurify:"^3.2.5",katex:"^0.16.22",khroma:"^2.1.0","lodash-es":"^4.17.21",marked:"^16.2.1",roughjs:"^4.6.6",stylis:"^4.3.6","ts-dedent":"^2.2.0",uuid:"^11.1.0"},devDependencies:{"@adobe/jsonschema2md":"^8.0.5","@iconify/types":"^2.0.0","@types/cytoscape":"^3.21.9","@types/cytoscape-fcose":"^2.2.4","@types/d3-sankey":"^0.12.4","@types/d3-scale":"^4.0.9","@types/d3-scale-chromatic":"^3.1.0","@types/d3-selection":"^3.0.11","@types/d3-shape":"^3.1.7","@types/jsdom":"^21.1.7","@types/katex":"^0.16.7","@types/lodash-es":"^4.17.12","@types/micromatch":"^4.0.9","@types/stylis":"^4.2.7","@types/uuid":"^10.0.0",ajv:"^8.17.1",canvas:"^3.1.2",chokidar:"3.6.0",concurrently:"^9.1.2","csstree-validator":"^4.0.1",globby:"^14.1.0",jison:"^0.4.18","js-base64":"^3.7.8",jsdom:"^26.1.0","json-schema-to-typescript":"^15.0.4",micromatch:"^4.0.8","path-browserify":"^1.0.1",prettier:"^3.5.3",remark:"^15.0.1","remark-frontmatter":"^5.0.0","remark-gfm":"^4.0.1",rimraf:"^6.0.1","start-server-and-test":"^2.0.13","type-fest":"^4.35.0",typedoc:"^0.28.12","typedoc-plugin-markdown":"^4.8.1",typescript:"~5.7.3","unist-util-flatmap":"^1.0.0","unist-util-visit":"^5.0.0",vitepress:"^1.6.4","vitepress-plugin-search":"1.0.4-alpha.22"},files:["dist/","README.md"],publishConfig:{access:"public"}};e.s(["package_default",()=>t])},810139,e=>{"use strict";var t=e.i(715538),a=e.i(564228),r=e.i(364699),i=e.i(2318);e.i(401972),e.i(599154),e.i(962485),e.i(679685),e.i(352545);var s=e.i(133055),n=e.i(944836),l=e.i(459721),o=e.i(658295),d=e.i(392380);e.i(991577);var c=e.i(692423),p="comm",m="rule",h="decl",u=Math.abs,f=String.fromCharCode;function g(e,t,a){return e.replace(t,a)}function y(e,t){return 0|e.charCodeAt(t)}function _(e,t,a){return e.slice(t,a)}function b(e){return e.length}function k(e,t){return t.push(e),e}var w=1,x=1,v=0,M=0,L=0,$="";function S(e,t,a,r,i,s,n,l){return{value:e,root:t,parent:a,type:r,props:i,children:s,line:w,column:x,length:n,return:"",siblings:l}}function j(){return L=M<v?y($,M++):0,x++,10===L&&(x=1,w++),L}function E(){return y($,M)}function C(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){var t,a;return(t=M-1,a=function e(t){for(;j();)switch(L){case t:return M;case 34:case 39:34!==t&&39!==t&&e(L);break;case 40:41===t&&e(t);break;case 92:j()}return M}(91===e?e+2:40===e?e+1:e),_($,t,a)).trim()}function A(e,t,a,r,i,s,n,l,o,d,c,p){for(var h=i-1,f=0===i?s:[""],y=f.length,b=0,k=0,w=0;b<r;++b)for(var x=0,v=_(e,h+1,h=u(k=n[b])),M=e;x<y;++x)(M=(k>0?f[x]+" "+v:g(v,/&\f/g,f[x])).trim())&&(o[w++]=M);return S(e,t,a,0===i?m:l,o,d,c,p)}function O(e,t,a,r,i){return S(e,t,a,h,_(e,0,r),_(e,r+1,-1),r,i)}function P(e,t){for(var a="",r=0;r<e.length;r++)a+=t(e[r],r,e,t)||"";return a}function D(e,t,a,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"@namespace":case h:return e.return=e.return||e.value;case p:return"";case"@keyframes":return e.return=e.value+"{"+P(e.children,r)+"}";case m:if(!b(e.value=e.props.join(",")))return""}return b(a=P(e.children,r))?e.return=e.value+"{"+a+"}":""}var z=e.i(401983),R=e.i(775949),B={id:"c4",detector:(0,o.__name)(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),loader:(0,o.__name)(async()=>{let{diagram:t}=await e.A(81722);return{id:"c4",diagram:t}},"loader")},W="flowchart",H=(0,o.__name)((e,t)=>t?.flowchart?.defaultRenderer!=="dagre-wrapper"&&t?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(e),"detector"),q=(0,o.__name)(async()=>{let{diagram:t}=await e.A(934841);return{id:W,diagram:t}},"loader"),Y={id:W,detector:H,loader:q},X="flowchart-v2",I=(0,o.__name)((e,t)=>t?.flowchart?.defaultRenderer!=="dagre-d3"&&(t?.flowchart?.defaultRenderer==="elk"&&(t.layout="elk"),!!/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(e)),"detector"),F=(0,o.__name)(async()=>{let{diagram:t}=await e.A(934841);return{id:X,diagram:t}},"loader"),N={id:X,detector:I,loader:F},U={id:"er",detector:(0,o.__name)(e=>/^\s*erDiagram/.test(e),"detector"),loader:(0,o.__name)(async()=>{let{diagram:t}=await e.A(164508);return{id:"er",diagram:t}},"loader")},V="gitGraph",G=(0,o.__name)(e=>/^\s*gitGraph/.test(e),"detector"),Q=(0,o.__name)(async()=>{let{diagram:t}=await e.A(380662);return{id:V,diagram:t}},"loader"),Z={id:V,detector:G,loader:Q},J="gantt",K=(0,o.__name)(e=>/^\s*gantt/.test(e),"detector"),ee=(0,o.__name)(async()=>{let{diagram:t}=await e.A(554979);return{id:J,diagram:t}},"loader"),et={id:J,detector:K,loader:ee},ea="info",er=(0,o.__name)(e=>/^\s*info/.test(e),"detector"),ei=(0,o.__name)(async()=>{let{diagram:t}=await e.A(175586);return{id:ea,diagram:t}},"loader"),es={id:ea,detector:er,loader:ei},en={id:"pie",detector:(0,o.__name)(e=>/^\s*pie/.test(e),"detector"),loader:(0,o.__name)(async()=>{let{diagram:t}=await e.A(682917);return{id:"pie",diagram:t}},"loader")},el="quadrantChart",eo=(0,o.__name)(e=>/^\s*quadrantChart/.test(e),"detector"),ed=(0,o.__name)(async()=>{let{diagram:t}=await e.A(826108);return{id:el,diagram:t}},"loader"),ec={id:el,detector:eo,loader:ed},ep="xychart",em=(0,o.__name)(e=>/^\s*xychart(-beta)?/.test(e),"detector"),eh=(0,o.__name)(async()=>{let{diagram:t}=await e.A(17515);return{id:ep,diagram:t}},"loader"),eu={id:ep,detector:em,loader:eh},ef="requirement",eg=(0,o.__name)(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),ey=(0,o.__name)(async()=>{let{diagram:t}=await e.A(975995);return{id:ef,diagram:t}},"loader"),e_={id:ef,detector:eg,loader:ey},eb="sequence",ek=(0,o.__name)(e=>/^\s*sequenceDiagram/.test(e),"detector"),ew=(0,o.__name)(async()=>{let{diagram:t}=await e.A(880871);return{id:eb,diagram:t}},"loader"),ex={id:eb,detector:ek,loader:ew},ev="class",eM=(0,o.__name)((e,t)=>t?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(e),"detector"),eL=(0,o.__name)(async()=>{let{diagram:t}=await e.A(972384);return{id:ev,diagram:t}},"loader"),e$={id:ev,detector:eM,loader:eL},eS="classDiagram",ej=(0,o.__name)((e,t)=>!!/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(e),"detector"),eE=(0,o.__name)(async()=>{let{diagram:t}=await e.A(530011);return{id:eS,diagram:t}},"loader"),eC={id:eS,detector:ej,loader:eE},eT="state",eA=(0,o.__name)((e,t)=>t?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(e),"detector"),eO=(0,o.__name)(async()=>{let{diagram:t}=await e.A(970577);return{id:eT,diagram:t}},"loader"),eP={id:eT,detector:eA,loader:eO},eD="stateDiagram",ez=(0,o.__name)((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer==="dagre-wrapper"),"detector"),eR=(0,o.__name)(async()=>{let{diagram:t}=await e.A(236462);return{id:eD,diagram:t}},"loader"),eB={id:eD,detector:ez,loader:eR},eW="journey",eH=(0,o.__name)(e=>/^\s*journey/.test(e),"detector"),eq=(0,o.__name)(async()=>{let{diagram:t}=await e.A(9868);return{id:eW,diagram:t}},"loader"),eY={id:eW,detector:eH,loader:eq},eX={draw:(0,o.__name)((e,t,r)=>{o.log.debug("rendering svg for syntax error\n");let i=(0,a.selectSvgElement)(t),s=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,l.configureSvgSize)(i,100,512,!0),s.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),s.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),s.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),s.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),s.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),s.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),s.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),s.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},eI={db:{},renderer:eX,parser:{parse:(0,o.__name)(()=>{},"parse")}},eF="flowchart-elk",eN=(0,o.__name)((e,t={})=>!!(/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer==="elk")&&(t.layout="elk",!0),"detector"),eU=(0,o.__name)(async()=>{let{diagram:t}=await e.A(934841);return{id:eF,diagram:t}},"loader"),eV={id:eF,detector:eN,loader:eU},eG="timeline",eQ=(0,o.__name)(e=>/^\s*timeline/.test(e),"detector"),eZ=(0,o.__name)(async()=>{let{diagram:t}=await e.A(907344);return{id:eG,diagram:t}},"loader"),eJ={id:eG,detector:eQ,loader:eZ},eK="mindmap",e0=(0,o.__name)(e=>/^\s*mindmap/.test(e),"detector"),e1=(0,o.__name)(async()=>{let{diagram:t}=await e.A(122096);return{id:eK,diagram:t}},"loader"),e2={id:eK,detector:e0,loader:e1},e6="kanban",e5=(0,o.__name)(e=>/^\s*kanban/.test(e),"detector"),e8=(0,o.__name)(async()=>{let{diagram:t}=await e.A(605321);return{id:e6,diagram:t}},"loader"),e3={id:e6,detector:e5,loader:e8},e4="sankey",e9=(0,o.__name)(e=>/^\s*sankey(-beta)?/.test(e),"detector"),e7=(0,o.__name)(async()=>{let{diagram:t}=await e.A(63673);return{id:e4,diagram:t}},"loader"),te={id:e4,detector:e9,loader:e7},tt="packet",ta=(0,o.__name)(e=>/^\s*packet(-beta)?/.test(e),"detector"),tr=(0,o.__name)(async()=>{let{diagram:t}=await e.A(116451);return{id:tt,diagram:t}},"loader"),ti={id:tt,detector:ta,loader:tr},ts="radar",tn=(0,o.__name)(e=>/^\s*radar-beta/.test(e),"detector"),tl=(0,o.__name)(async()=>{let{diagram:t}=await e.A(464847);return{id:ts,diagram:t}},"loader"),to={id:ts,detector:tn,loader:tl},td="block",tc=(0,o.__name)(e=>/^\s*block(-beta)?/.test(e),"detector"),tp=(0,o.__name)(async()=>{let{diagram:t}=await e.A(583770);return{id:td,diagram:t}},"loader"),tm={id:td,detector:tc,loader:tp},th="architecture",tu=(0,o.__name)(e=>/^\s*architecture/.test(e),"detector"),tf=(0,o.__name)(async()=>{let{diagram:t}=await e.A(972042);return{id:th,diagram:t}},"loader"),tg={id:th,detector:tu,loader:tf},ty="treemap",t_=(0,o.__name)(e=>/^\s*treemap/.test(e),"detector"),tb=(0,o.__name)(async()=>{let{diagram:t}=await e.A(468839);return{id:ty,diagram:t}},"loader"),tk={id:ty,detector:t_,loader:tb},tw=!1,tx=(0,o.__name)(()=>{tw||(tw=!0,(0,l.registerDiagram)("error",eI,e=>"error"===e.toLowerCase().trim()),(0,l.registerDiagram)("---",{db:{clear:(0,o.__name)(()=>{},"clear")},styles:{},renderer:{draw:(0,o.__name)(()=>{},"draw")},parser:{parse:(0,o.__name)(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:(0,o.__name)(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),(0,l.registerLazyLoadedDiagrams)(eV,e2,tg),(0,l.registerLazyLoadedDiagrams)(B,e3,eC,e$,U,et,es,en,e_,ex,N,Y,eJ,Z,eB,eP,eY,ec,te,ti,eu,tm,to,tk))},"addDiagrams"),tv=(0,o.__name)(async()=>{o.log.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(l.detectors).map(async([e,{detector:t,loader:a}])=>{if(a)try{(0,l.getDiagram)(e)}catch{try{let{diagram:e,id:r}=await a();(0,l.registerDiagram)(r,e,t)}catch(t){throw o.log.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete l.detectors[e],t}}}))).filter(e=>"rejected"===e.status);if(e.length>0){for(let t of(o.log.error(`Failed to load ${e.length} external diagrams`),e))o.log.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams");function tM(e,t){e.attr("role","graphics-document document"),""!==t&&e.attr("aria-roledescription",t)}function tL(e,t,a,r){if(void 0!==e.insert){if(a){let t=`chart-desc-${r}`;e.attr("aria-describedby",t),e.insert("desc",":first-child").attr("id",t).text(a)}if(t){let a=`chart-title-${r}`;e.attr("aria-labelledby",a),e.insert("title",":first-child").attr("id",a).text(t)}}}(0,o.__name)(tM,"setA11yDiagramInfo"),(0,o.__name)(tL,"addSVGa11yTitleDescription");var t$=class e{constructor(e,t,a,r,i){this.type=e,this.text=t,this.db=a,this.parser=r,this.renderer=i}static{(0,o.__name)(this,"Diagram")}static async fromText(t,a={}){let r=(0,l.getConfig)(),i=(0,l.detectType)(t,r);t=(0,n.encodeEntities)(t)+"\n";try{(0,l.getDiagram)(i)}catch{let e=(0,l.getDiagramLoader)(i);if(!e)throw new l.UnknownDiagramError(`Diagram ${i} not found.`);let{id:t,diagram:a}=await e();(0,l.registerDiagram)(t,a)}let{db:s,parser:o,renderer:d,init:c}=(0,l.getDiagram)(i);return o.parser&&(o.parser.yy=s),s.clear?.(),c?.(r),a.title&&s.setDiagramTitle?.(a.title),await o.parse(t),new e(i,t,s,o,d)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},tS=[],tj=(0,o.__name)(()=>{tS.forEach(e=>{e()}),tS=[]},"attachFunctions"),tE=(0,o.__name)(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function tC(e){let t=e.match(l.frontMatterRegex);if(!t)return{text:e,metadata:{}};let a=(0,r.load)(t[1],{schema:r.JSON_SCHEMA})??{};a="object"!=typeof a||Array.isArray(a)?{}:a;let i={};return a.displayMode&&(i.displayMode=a.displayMode.toString()),a.title&&(i.title=a.title.toString()),a.config&&(i.config=a.config),{text:e.slice(t[0].length),metadata:i}}(0,o.__name)(tC,"extractFrontMatter");var tT=(0,o.__name)(e=>e.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(e,t,a)=>"<"+t+a.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),tA=(0,o.__name)(e=>{let{text:t,metadata:a}=tC(e),{displayMode:r,title:i,config:s={}}=a;return r&&(s.gantt||(s.gantt={}),s.gantt.displayMode=r),{title:i,config:s,text:t}},"processFrontmatter"),tO=(0,o.__name)(e=>{let t=n.utils_default.detectInit(e)??{},a=n.utils_default.detectDirective(e,"wrap");return Array.isArray(a)?t.wrap=a.some(({type:e})=>"wrap"===e):a?.type==="wrap"&&(t.wrap=!0),{text:(0,n.removeDirectives)(e),directive:t}},"processDirectives");function tP(e){let t=tA(tT(e)),a=tO(t.text),r=(0,n.cleanAndMerge)(t.config,a.directive);return{code:e=tE(a.text),title:t.title,config:r}}function tD(e){return btoa(Array.from(new TextEncoder().encode(e),e=>String.fromCodePoint(e)).join(""))}(0,o.__name)(tP,"preprocessDiagram"),(0,o.__name)(tD,"toBase64");var tz=["foreignobject"],tR=["dominant-baseline"];function tB(e){let t=tP(e);return(0,l.reset)(),(0,l.addDirective)(t.config??{}),t}async function tW(e,t){tx();try{let{code:t,config:a}=tB(e);return{diagramType:(await tQ(t)).type,config:a}}catch(e){if(t?.suppressErrors)return!1;throw e}}(0,o.__name)(tB,"processAndSetConfigs"),(0,o.__name)(tW,"parse");var tH=(0,o.__name)((e,t,a=[])=>`
|
|
8
|
+
.${e} ${t} { ${a.join(" !important; ")} !important; }`,"cssImportantStyles"),tq=(0,o.__name)((e,t=new Map)=>{let a="";if(void 0!==e.themeCSS&&(a+=`
|
|
9
|
+
${e.themeCSS}`),void 0!==e.fontFamily&&(a+=`
|
|
10
|
+
:root { --mermaid-font-family: ${e.fontFamily}}`),void 0!==e.altFontFamily&&(a+=`
|
|
11
|
+
:root { --mermaid-alt-font-family: ${e.altFontFamily}}`),t instanceof Map){let r=e.htmlLabels??e.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];t.forEach(e=>{(0,R.default)(e.styles)||r.forEach(t=>{a+=tH(e.id,t,e.styles)}),(0,R.default)(e.textStyles)||(a+=tH(e.id,"tspan",(e?.textStyles||[]).map(e=>e.replace("color","fill"))))})}return a},"createCssStyles"),tY=(0,o.__name)((e,t,a,r)=>{var i,s,n;let o=tq(e,a),d=(0,l.styles_default)(t,o,e.themeVariables);return P((n=function e(t,a,r,i,s,n,l,o,d){for(var c,m,h,v,P,D,z=0,R=0,B=l,W=0,H=0,q=0,Y=1,X=1,I=1,F=0,N="",U=s,V=n,G=i,Q=N;X;)switch(q=F,F=j()){case 40:if(108!=q&&58==y(Q,B-1)){-1!=(P=Q+=g(T(F),"&","&\f"),D=u(z?o[z-1]:0),P.indexOf("&\f",D))&&(I=-1);break}case 34:case 39:case 91:Q+=T(F);break;case 9:case 10:case 13:case 32:Q+=function(e){for(;L=E();)if(L<33)j();else break;return C(e)>2||C(L)>3?"":" "}(q);break;case 92:Q+=function(e,t){for(var a;--t&&j()&&!(L<48)&&!(L>102)&&(!(L>57)||!(L<65))&&(!(L>70)||!(L<97)););return a=M+(t<6&&32==E()&&32==j()),_($,e,a)}(M-1,7);continue;case 47:switch(E()){case 42:case 47:k((c=function(e,t){for(;j();)if(e+L===57)break;else if(e+L===84&&47===E())break;return"/*"+_($,t,M-1)+"*"+f(47===e?e:j())}(j(),M),m=a,h=r,v=d,S(c,m,h,p,f(L),_(c,2,-2),0,v)),d),(5==C(q||1)||5==C(E()||1))&&b(Q)&&" "!==_(Q,-1,void 0)&&(Q+=" ");break;default:Q+="/"}break;case 123*Y:o[z++]=b(Q)*I;case 125*Y:case 59:case 0:switch(F){case 0:case 125:X=0;case 59+R:-1==I&&(Q=g(Q,/\f/g,"")),H>0&&(b(Q)-B||0===Y&&47===q)&&k(H>32?O(Q+";",i,r,B-1,d):O(g(Q," ","")+";",i,r,B-2,d),d);break;case 59:Q+=";";default:if(k(G=A(Q,a,r,z,R,s,o,N,U=[],V=[],B,n),n),123===F)if(0===R)e(Q,a,G,G,U,n,B,o,V);else{switch(W){case 99:if(110===y(Q,3))break;case 108:if(97===y(Q,2))break;default:R=0;case 100:case 109:case 115:}R?e(t,G,G,i&&k(A(t,G,G,0,0,s,o,N,s,U=[],B,V),V),s,V,B,o,i?U:V):e(Q,G,G,G,[""],V,0,o,V)}}z=R=H=0,Y=I=1,N=Q="",B=l;break;case 58:B=1+b(Q),H=q;default:if(Y<1){if(123==F)--Y;else if(125==F&&0==Y++&&125==(L=M>0?y($,--M):0,x--,10===L&&(x=1,w--),L))continue}switch(Q+=f(F),F*Y){case 38:I=R>0?1:(Q+="\f",-1);break;case 44:o[z++]=(b(Q)-1)*I,I=1;break;case 64:45===E()&&(Q+=T(j())),W=E(),R=B=b(N=Q+=function(e){for(;!C(E());)j();return _($,e,M)}(M)),F++;break;case 45:45===q&&2==b(Q)&&(Y=0)}}return n}("",null,null,null,[""],(s=i=`${r}{${d}}`,w=x=1,v=b($=s),M=0,i=[]),0,[0],i),$="",n),D)},"createUserStyles"),tX=(0,o.__name)((e="",t,a)=>{let r=e;return a||t||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=(r=(0,n.decodeEntities)(r)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),tI=(0,o.__name)((e="",t)=>{let a=t?.viewBox?.baseVal?.height?t.viewBox.baseVal.height+"px":"100%",r=tD(`<body style="margin:0">${e}</body>`);return`<iframe style="width:100%;height:${a};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${r}" sandbox="allow-top-navigation-by-user-activation allow-popups">
|
|
12
|
+
The "iframe" tag is not supported by your browser.
|
|
13
|
+
</iframe>`},"putIntoIFrame"),tF=(0,o.__name)((e,t,a,r,i)=>{let s=e.append("div");s.attr("id",a),r&&s.attr("style",r);let n=s.append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&n.attr("xmlns:xlink",i),n.append("g"),e},"appendDivSvgG");function tN(e,t){return e.append("iframe").attr("id",t).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,o.__name)(tN,"sandboxedIframe");var tU=(0,o.__name)((e,t,a,r)=>{e.getElementById(t)?.remove(),e.getElementById(a)?.remove(),e.getElementById(r)?.remove()},"removeExistingElements"),tV=(0,o.__name)(async function(e,a,r){let i,s;tx();let n=tB(a);a=n.code;let d=(0,l.getConfig)();o.log.debug(d),a.length>(d?.maxTextSize??5e4)&&(a="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let p="#"+e,m="i"+e,h="#"+m,u="d"+e,f="#"+u,g=(0,o.__name)(()=>{let e=_?h:f,t=(0,c.select)(e).node();t&&"remove"in t&&t.remove()},"removeTempElements"),y=(0,c.select)("body"),_="sandbox"===d.securityLevel,b="loose"===d.securityLevel,k=d.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),_){let e=tN((0,c.select)(r),m);(y=(0,c.select)(e.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,c.select)(r);tF(y,e,u,`font-family: ${k}`,"http://www.w3.org/1999/xlink")}else{if(tU(document,e,u,m),_){let e=tN((0,c.select)("body"),m);(y=(0,c.select)(e.nodes()[0].contentDocument.body)).node().style.margin=0}else y=(0,c.select)("body");tF(y,e,u)}try{i=await t$.fromText(a,{title:n.title})}catch(e){if(d.suppressErrorRendering)throw g(),e;i=await t$.fromText("error"),s=e}let w=y.select(f).node(),x=i.type,v=w.firstChild,M=v.firstChild,L=tY(d,x,i.renderer.getClasses?.(a,i),p),$=document.createElement("style");$.innerHTML=L,v.insertBefore($,M);try{await i.renderer.draw(a,e,t.package_default.version,i)}catch(r){throw d.suppressErrorRendering?g():eX.draw(a,e,t.package_default.version),r}tZ(x,y.select(`${f} svg`),i.db.getAccTitle?.(),i.db.getAccDescription?.()),y.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let S=y.select(f).node().innerHTML;if(o.log.debug("config.arrowMarkerAbsolute",d.arrowMarkerAbsolute),S=tX(S,_,(0,l.evaluate)(d.arrowMarkerAbsolute)),_?S=tI(S,y.select(f+" svg").node()):b||(S=z.default.sanitize(S,{ADD_TAGS:tz,ADD_ATTR:tR,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),tj(),s)throw s;return g(),{diagramType:x,svg:S,bindFunctions:i.db.bindFunctions}},"render");function tG(e={}){let t=(0,l.assignWithDepth_default)({},e);t?.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),(0,l.saveConfigFromInitialize)(t),t?.theme&&t.theme in l.themes_default?t.themeVariables=l.themes_default[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=l.themes_default.default.getThemeVariables(t.themeVariables));let a="object"==typeof t?(0,l.setSiteConfig)(t):(0,l.getSiteConfig)();(0,o.setLogLevel)(a.logLevel),tx()}(0,o.__name)(tG,"initialize");var tQ=(0,o.__name)((e,t={})=>{let{code:a}=tP(e);return t$.fromText(a,t)},"getDiagramFromText");function tZ(e,t,a,r){tM(t,e),tL(t,a,r,t.attr("id"))}(0,o.__name)(tZ,"addA11yInfo");var tJ=Object.freeze({render:tV,parse:tW,getDiagramFromText:tQ,initialize:tG,getConfig:l.getConfig,setConfig:l.setConfig,getSiteConfig:l.getSiteConfig,updateSiteConfig:l.updateSiteConfig,reset:(0,o.__name)(()=>{(0,l.reset)()},"reset"),globalReset:(0,o.__name)(()=>{(0,l.reset)(l.defaultConfig)},"globalReset"),defaultConfig:l.defaultConfig});(0,o.setLogLevel)((0,l.getConfig)().logLevel),(0,l.reset)((0,l.getConfig)());var tK=(0,o.__name)((e,t,a)=>{o.log.warn(e),(0,n.isDetailedError)(e)?(a&&a(e.str,e.hash),t.push({...e,message:e.str,error:e})):(a&&a(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},"handleError"),t0=(0,o.__name)(async function(e={querySelector:".mermaid"}){try{await t1(e)}catch(t){if((0,n.isDetailedError)(t)&&o.log.error(t.str),ar.parseError&&ar.parseError(t),!e.suppressErrors)throw o.log.error("Use the suppressErrors option to suppress these errors"),t}},"run"),t1=(0,o.__name)(async function({postRenderCallback:e,querySelector:t,nodes:a}={querySelector:".mermaid"}){let r,i,s=tJ.getConfig();if(o.log.debug(`${!e?"No ":""}Callback function found`),a)r=a;else if(t)r=document.querySelectorAll(t);else throw Error("Nodes and querySelector are both undefined");o.log.debug(`Found ${r.length} diagrams`),s?.startOnLoad!==void 0&&(o.log.debug("Start On Load: "+s?.startOnLoad),tJ.updateSiteConfig({startOnLoad:s?.startOnLoad}));let l=new n.utils_default.InitIDGenerator(s.deterministicIds,s.deterministicIDSeed),c=[];for(let t of Array.from(r)){if(o.log.info("Rendering diagram: "+t.id),t.getAttribute("data-processed"))continue;t.setAttribute("data-processed","true");let a=`mermaid-${l.next()}`;i=t.innerHTML,i=(0,d.dedent)(n.utils_default.entityDecode(i)).trim().replace(/<br\s*\/?>/gi,"<br/>");let r=n.utils_default.detectInit(i);r&&o.log.debug("Detected early reinit: ",r);try{let{svg:r,bindFunctions:s}=await at(a,i,t);t.innerHTML=r,e&&await e(a),s&&s(t)}catch(e){tK(e,c,ar.parseError)}}if(c.length>0)throw c[0]},"runThrowsErrors"),t2=(0,o.__name)(function(e){tJ.initialize(e)},"initialize"),t6=(0,o.__name)(async function(e,t,a){o.log.warn("mermaid.init is deprecated. Please use run instead."),e&&t2(e);let r={postRenderCallback:a,querySelector:".mermaid"};"string"==typeof t?r.querySelector=t:t&&(t instanceof HTMLElement?r.nodes=[t]:r.nodes=t),await t0(r)},"init"),t5=(0,o.__name)(async(e,{lazyLoad:t=!0}={})=>{tx(),(0,l.registerLazyLoadedDiagrams)(...e),!1===t&&await tv()},"registerExternalDiagrams"),t8=(0,o.__name)(function(){if(ar.startOnLoad){let{startOnLoad:e}=tJ.getConfig();e&&ar.run().catch(e=>o.log.error("Mermaid failed to initialize",e))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",t8,!1);var t3=(0,o.__name)(function(e){ar.parseError=e},"setParseErrorHandler"),t4=[],t9=!1,t7=(0,o.__name)(async()=>{if(!t9){for(t9=!0;t4.length>0;){let e=t4.shift();if(e)try{await e()}catch(e){o.log.error("Error executing queue",e)}}t9=!1}},"executeQueue"),ae=(0,o.__name)(async(e,t)=>new Promise((a,r)=>{let i=(0,o.__name)(()=>new Promise((i,s)=>{tJ.parse(e,t).then(e=>{i(e),a(e)},e=>{o.log.error("Error parsing",e),ar.parseError?.(e),s(e),r(e)})}),"performCall");t4.push(i),t7().catch(r)}),"parse"),at=(0,o.__name)((e,t,a)=>new Promise((r,i)=>{let s=(0,o.__name)(()=>new Promise((s,n)=>{tJ.render(e,t,a).then(e=>{s(e),r(e)},e=>{o.log.error("Error parsing",e),ar.parseError?.(e),n(e),i(e)})}),"performCall");t4.push(s),t7().catch(i)}),"render"),aa=(0,o.__name)(()=>Object.keys(l.detectors).map(e=>({id:e})),"getRegisteredDiagramsMetadata"),ar={startOnLoad:!0,mermaidAPI:tJ,parse:ae,render:at,init:t6,run:t0,registerExternalDiagrams:t5,registerLayoutLoaders:i.registerLayoutLoaders,initialize:t2,parseError:void 0,contentLoaded:t8,setParseErrorHandler:t3,detectType:l.detectType,registerIconPacks:s.registerIconPacks,getRegisteredDiagramsMetadata:aa};e.s(["default",()=>ar],810139)},933556,e=>{e.v(e=>Promise.resolve().then(()=>e(628751)))},546857,e=>{e.v(t=>Promise.all(["static/chunks/626a650bcaaecdb8.js","static/chunks/39231cb1044f7823.js","static/chunks/6bf54dc328e667f7.js"].map(t=>e.l(t))).then(()=>t(754028)))},381589,e=>{e.v(t=>Promise.all(["static/chunks/584bad9cf2498405.js","static/chunks/dc0a4df8f7080b29.js"].map(t=>e.l(t))).then(()=>t(755847)))},81722,e=>{e.v(t=>Promise.all(["static/chunks/801232fdde8ce252.js","static/chunks/0b80166023d89049.js"].map(t=>e.l(t))).then(()=>t(163379)))},934841,e=>{e.v(t=>Promise.all(["static/chunks/55761e35a8946a1d.js","static/chunks/1acfae010fd77014.js"].map(t=>e.l(t))).then(()=>t(391538)))},164508,e=>{e.v(t=>Promise.all(["static/chunks/4f2bc7a7a6b05a8b.js"].map(t=>e.l(t))).then(()=>t(167878)))},380662,e=>{e.v(t=>Promise.all(["static/chunks/0c2a941e61c395b6.js","static/chunks/7a70641f70a5c72d.js","static/chunks/0e862e51b01e904b.js"].map(t=>e.l(t))).then(()=>t(276503)))},554979,e=>{e.v(t=>Promise.all(["static/chunks/899fe56c4c707c65.js","static/chunks/b6a8e7c2216683ca.js"].map(t=>e.l(t))).then(()=>t(304235)))},175586,e=>{e.v(t=>Promise.all(["static/chunks/8deda0adfe811d18.js","static/chunks/7a70641f70a5c72d.js","static/chunks/0c2a941e61c395b6.js"].map(t=>e.l(t))).then(()=>t(984078)))},682917,e=>{e.v(t=>Promise.all(["static/chunks/133e9f1435ca5f45.js","static/chunks/7a70641f70a5c72d.js","static/chunks/0c2a941e61c395b6.js"].map(t=>e.l(t))).then(()=>t(260264)))},826108,e=>{e.v(t=>Promise.all(["static/chunks/7e7aaacf104c17f4.js"].map(t=>e.l(t))).then(()=>t(106212)))},17515,e=>{e.v(t=>Promise.all(["static/chunks/1ae53c2f1fff8cc2.js","static/chunks/be87578ee895734b.js"].map(t=>e.l(t))).then(()=>t(692409)))},975995,e=>{e.v(t=>Promise.all(["static/chunks/a7fdfeea5fd894c1.js"].map(t=>e.l(t))).then(()=>t(403170)))},880871,e=>{e.v(t=>Promise.all(["static/chunks/7dc4f5ba8c25c409.js","static/chunks/0624b8204e5ae457.js"].map(t=>e.l(t))).then(()=>t(326790)))},972384,e=>{e.v(t=>Promise.all(["static/chunks/219b7d9e437c6bd8.js","static/chunks/a1d3de9e7615662e.js"].map(t=>e.l(t))).then(()=>t(472162)))},530011,e=>{e.v(t=>Promise.all(["static/chunks/4d8d7e62c2743f71.js","static/chunks/a1d3de9e7615662e.js"].map(t=>e.l(t))).then(()=>t(750883)))},970577,e=>{e.v(t=>Promise.all(["static/chunks/626a650bcaaecdb8.js","static/chunks/39231cb1044f7823.js","static/chunks/b225dddc0852f85c.js"].map(t=>e.l(t))).then(()=>t(37189)))},236462,e=>{e.v(t=>Promise.all(["static/chunks/a8a3989305bcc136.js"].map(t=>e.l(t))).then(()=>t(92263)))},9868,e=>{e.v(t=>Promise.all(["static/chunks/ccf1e618faea3d02.js"].map(t=>e.l(t))).then(()=>t(633352)))},907344,e=>{e.v(t=>Promise.all(["static/chunks/f8c965a996875e30.js"].map(t=>e.l(t))).then(()=>t(565115)))},122096,e=>{e.v(t=>Promise.all(["static/chunks/61d65fe807f69413.js"].map(t=>e.l(t))).then(()=>t(353181)))},605321,e=>{e.v(t=>Promise.all(["static/chunks/23a1e247c32bcc61.js"].map(t=>e.l(t))).then(()=>t(488280)))},63673,e=>{e.v(t=>Promise.all(["static/chunks/8388ae863590404b.js"].map(t=>e.l(t))).then(()=>t(47439)))},116451,e=>{e.v(t=>Promise.all(["static/chunks/9cd7bcb29e0b3418.js","static/chunks/7a70641f70a5c72d.js","static/chunks/0c2a941e61c395b6.js"].map(t=>e.l(t))).then(()=>t(753585)))},464847,e=>{e.v(t=>Promise.all(["static/chunks/a60e84ee8b6c5ffc.js","static/chunks/7a70641f70a5c72d.js","static/chunks/0c2a941e61c395b6.js"].map(t=>e.l(t))).then(()=>t(726805)))},583770,e=>{e.v(t=>Promise.all(["static/chunks/401df66bd5da2115.js","static/chunks/e57f7ffd0803a922.js","static/chunks/cb1ae84204260ecd.js"].map(t=>e.l(t))).then(()=>t(263967)))},972042,e=>{e.v(t=>Promise.all(["static/chunks/71293e300c639b6b.js","static/chunks/0c2a941e61c395b6.js","static/chunks/962e5cad8ea716fc.js","static/chunks/7a70641f70a5c72d.js","static/chunks/dc0a4df8f7080b29.js"].map(t=>e.l(t))).then(()=>t(8812)))},468839,e=>{e.v(t=>Promise.all(["static/chunks/0c2a941e61c395b6.js","static/chunks/7a70641f70a5c72d.js","static/chunks/b8aec8caed569fd2.js"].map(t=>e.l(t))).then(()=>t(50397)))}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,777681,e=>{"use strict";let n=Object.freeze(JSON.parse('{"displayName":"KDL","name":"kdl","patterns":[{"include":"#forbidden_ident"},{"include":"#null"},{"include":"#boolean"},{"include":"#float_keyword"},{"include":"#float_fraction"},{"include":"#float_exp"},{"include":"#decimal"},{"include":"#hexadecimal"},{"include":"#octal"},{"include":"#binary"},{"include":"#raw-string"},{"include":"#string_multi_line"},{"include":"#string_single_line"},{"include":"#block_comment"},{"include":"#block_doc_comment"},{"include":"#slashdash_block_comment"},{"include":"#slashdash_comment"},{"include":"#slashdash_node_comment"},{"include":"#slashdash_node_with_children_comment"},{"include":"#line_comment"},{"include":"#attribute"},{"include":"#node_name"},{"include":"#ident_string"}],"repository":{"attribute":{"captures":{"1":{"name":"punctuation.separator.key-value.kdl"}},"match":"(?![]#/;=\\\\[\\\\\\\\{}])[!$-.:<>?@^_`|~\\\\w]+\\\\d*[!$-.:<>?@^_`|~\\\\w]*(=)","name":"entity.other.attribute-name.kdl"},"binary":{"match":"\\\\b0b[01][01_]*\\\\b","name":"constant.numeric.integer.binary.rust"},"block_comment":{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.kdl","patterns":[{"include":"#block_doc_comment"},{"include":"#block_comment"}]},"block_doc_comment":{"begin":"/\\\\*[!*](?![*/])","end":"\\\\*/","name":"comment.block.documentation.kdl","patterns":[{"include":"#block_doc_comment"},{"include":"#block_comment"}]},"boolean":{"match":"#(?:true|false)","name":"constant.language.boolean.kdl"},"decimal":{"match":"\\\\b[-+0-9][0-9_]*\\\\b","name":"constant.numeric.integer.decimal.rust"},"float_exp":{"match":"\\\\b[0-9][0-9_]*(\\\\.[0-9][0-9_]*)?[Ee][-+]?[0-9_]+\\\\b","name":"constant.numeric.float.rust"},"float_fraction":{"match":"\\\\b([-+0-9])[0-9_]*\\\\.[0-9][0-9_]*([Ee][-+]?[0-9_]+)?\\\\b","name":"constant.numeric.float.rust"},"float_keyword":{"match":"#(?:nan|inf|-inf)","name":"constant.language.other.kdl"},"forbidden_ident":{"match":"(?<!#)(?:true|false|null|nan|-?inf)","name":"invalid.illegal.kdl.bad-ident"},"hexadecimal":{"match":"\\\\b0x\\\\h[_\\\\h]*\\\\b","name":"constant.numeric.integer.hexadecimal.rust"},"ident_string":{"match":"(?![]#/;=\\\\[\\\\\\\\{}])[!$-.:<>?@^_`|~\\\\w]+\\\\d*[!$-.:<>?@^_`|~\\\\w]*","name":"string.unquoted"},"line_comment":{"begin":"//","end":"$","name":"comment.line.double-slash.kdl"},"node_name":{"match":"((?<=[;{])|^)\\\\s*(?![]#/;=\\\\[\\\\\\\\{}])[!$-.:<>?@^_`|~\\\\w]+\\\\d*[!$-.:<>?@^_`|~\\\\w]*","name":"entity.name.tag"},"null":{"match":"#null","name":"constant.language.null.kdl"},"octal":{"match":"\\\\b0o[0-7][0-7_]*\\\\b","name":"constant.numeric.integer.octal.rust"},"raw-string":{"begin":"(#+)(\\"(?:\\"\\"|))","end":"\\\\2\\\\1","name":"string.quoted.other.raw.kdl"},"slashdash_block_comment":{"begin":"/-\\\\s*\\\\{","end":"}","name":"comment.block.slashdash.kdl"},"slashdash_comment":{"begin":"(?<!^)\\\\s*/-\\\\s*","end":"\\\\s","name":"comment.block.slashdash.kdl"},"slashdash_node_comment":{"begin":"(?<=^)\\\\s*/-[^{]+$","end":";|(?<!\\\\\\\\)$","name":"comment.block.slashdash.kdl"},"slashdash_node_with_children_comment":{"begin":"(?<=^)\\\\s*/-[^{]+\\\\{","end":"}","name":"comment.block.slashdash.kdl"},"string_multi_line":{"begin":"\\"\\"\\"","end":"\\"\\"\\"","name":"string.quoted.triple.kdl","patterns":[{"match":"\\\\\\\\(:?[\\"\\\\\\\\bfnrst]|u\\\\{\\\\h{1,6}})","name":"constant.character.escape.kdl"}]},"string_single_line":{"begin":"\\"","end":"\\"","name":"string.quoted.double.kdl","patterns":[{"match":"\\\\\\\\(:?[\\"\\\\\\\\bfnrst]|u\\\\{\\\\h{1,6}})","name":"constant.character.escape.kdl"}]}},"scopeName":"source.kdl"}'));e.s(["default",0,[n]])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,181691,e=>{"use strict";let a=Object.freeze(JSON.parse('{"displayName":"Haskell","fileTypes":["hs","hs-boot","hsig"],"name":"haskell","patterns":[{"include":"#liquid_haskell"},{"include":"#comment_like"},{"include":"#numeric_literals"},{"include":"#string_literal"},{"include":"#char_literal"},{"match":"(?<![#@])-}","name":"invalid"},{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()\\\\s*(\\\\))","name":"constant.language.unit.haskell"},{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"keyword.operator.hash.haskell"},"3":{"name":"keyword.operator.hash.haskell"},"4":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()(#)\\\\s*(#)(\\\\))","name":"constant.language.unit.unboxed.haskell"},{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()\\\\s*,[,\\\\s]*(\\\\))","name":"support.constant.tuple.haskell"},{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"keyword.operator.hash.haskell"},"3":{"name":"keyword.operator.hash.haskell"},"4":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()(#)\\\\s*,[,\\\\s]*(#)(\\\\))","name":"support.constant.tuple.unboxed.haskell"},{"captures":{"1":{"name":"punctuation.bracket.haskell"},"2":{"name":"punctuation.bracket.haskell"}},"match":"(\\\\[)\\\\s*(])","name":"constant.language.empty-list.haskell"},{"begin":"(\\\\b(?<!\')(module)|^(signature))\\\\b((?!\'))","beginCaptures":{"2":{"name":"keyword.other.module.haskell"},"3":{"name":"keyword.other.signature.haskell"}},"end":"(?=\\\\b(?<!\')where\\\\b(?!\'))","name":"meta.declaration.module.haskell","patterns":[{"include":"#comment_like"},{"include":"#module_name"},{"include":"#module_exports"},{"match":"[a-z]+","name":"invalid"}]},{"include":"#ffi"},{"begin":"^(\\\\s*)(class)\\\\b((?!\'))","beginCaptures":{"2":{"name":"keyword.other.class.haskell"}},"end":"(?=(?<!\')\\\\bwhere\\\\b(?!\'))|(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.class.haskell","patterns":[{"include":"#comment_like"},{"include":"#where"},{"include":"#type_signature"}]},{"begin":"^(\\\\s*)(data|newtype)(?:\\\\s+(instance))?\\\\s+((?:(?!(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:=|--+)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])|\\\\b(?<!\')(?:where|deriving)\\\\b(?!\')|\\\\{-).)*)(?=\\\\b(?<!\'\')where\\\\b(?!\'\'))","beginCaptures":{"2":{"name":"keyword.other.$2.haskell"},"3":{"name":"keyword.other.instance.haskell"},"4":{"patterns":[{"include":"#type_signature"}]}},"end":"(?=(?<!\')\\\\bderiving\\\\b(?!\'))|(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.$2.generalized.haskell","patterns":[{"include":"#comment_like"},{"begin":"(?<!\')\\\\b(where)\\\\s*(\\\\{)(?!-)","beginCaptures":{"1":{"name":"keyword.other.where.haskell"},"2":{"name":"punctuation.brace.haskell"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.brace.haskell"}},"patterns":[{"include":"#comment_like"},{"include":"#gadt_constructor"},{"match":";","name":"punctuation.semicolon.haskell"}]},{"match":"\\\\b(?<!\')(where)\\\\b(?!\')","name":"keyword.other.where.haskell"},{"include":"#deriving"},{"include":"#gadt_constructor"}]},{"include":"#role_annotation"},{"begin":"^(\\\\s*)(pattern)\\\\s+(.*?)\\\\s+(::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])","beginCaptures":{"2":{"name":"keyword.other.pattern.haskell"},"3":{"patterns":[{"include":"#comma"},{"include":"#data_constructor"}]},"4":{"name":"keyword.operator.double-colon.haskell"}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.pattern.type.haskell","patterns":[{"include":"#type_signature"}]},{"begin":"^\\\\s*(pattern)\\\\b(?!\')","captures":{"1":{"name":"keyword.other.pattern.haskell"}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.pattern.haskell","patterns":[{"include":"$self"}]},{"begin":"^(\\\\s*)(data|newtype)(?:\\\\s+(family|instance))?\\\\s+(((?!(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:=|--+)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])|\\\\b(?<!\')(?:where|deriving)\\\\b(?!\')|\\\\{-).)*)","beginCaptures":{"2":{"name":"keyword.other.$2.haskell"},"3":{"name":"keyword.other.$3.haskell"},"4":{"patterns":[{"include":"#type_signature"}]}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.$2.algebraic.haskell","patterns":[{"include":"#comment_like"},{"include":"#deriving"},{"include":"#forall"},{"include":"#adt_constructor"},{"include":"#context"},{"include":"#record_decl"},{"include":"#type_signature"}]},{"begin":"^(\\\\s*)(type)\\\\s+(family)\\\\b(?!\')(((?!(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:=|--+)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])|\\\\b(?<!\')where\\\\b(?!\')|\\\\{-).)*)","beginCaptures":{"2":{"name":"keyword.other.type.haskell"},"3":{"name":"keyword.other.family.haskell"},"4":{"patterns":[{"include":"#comment_like"},{"include":"#where"},{"include":"#type_signature"}]}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.type.family.haskell","patterns":[{"include":"#comment_like"},{"include":"#where"},{"include":"#type_signature"}]},{"begin":"^(\\\\s*)(type)(?:\\\\s+(instance))?\\\\s+(((?!(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:=|--+|::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])|\\\\{-).)*)","beginCaptures":{"2":{"name":"keyword.other.type.haskell"},"3":{"name":"keyword.other.instance.haskell"},"4":{"patterns":[{"include":"#type_signature"}]}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.type.haskell","patterns":[{"include":"#type_signature"}]},{"begin":"^(\\\\s*)(instance)\\\\b((?!\'))","beginCaptures":{"2":{"name":"keyword.other.instance.haskell"}},"end":"(?=\\\\b(?<!\')(where)\\\\b(?!\'))|(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.declaration.instance.haskell","patterns":[{"include":"#comment_like"},{"include":"#where"},{"include":"#type_signature"}]},{"begin":"^(\\\\s*)(import)\\\\b((?!\'))","beginCaptures":{"2":{"name":"keyword.other.import.haskell"}},"end":"(?=\\\\b(?<!\')(where)\\\\b(?!\'))|(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.import.haskell","patterns":[{"include":"#comment_like"},{"include":"#where"},{"captures":{"1":{"name":"keyword.other.$1.haskell"}},"match":"(qualified|as|hiding)"},{"include":"#module_name"},{"include":"#module_exports"}]},{"include":"#deriving"},{"include":"#layout_herald"},{"include":"#keyword"},{"captures":{"1":{"name":"keyword.other.$1.haskell"},"2":{"patterns":[{"include":"#comment_like"},{"include":"#integer_literals"},{"include":"#infix_op"}]}},"match":"^\\\\s*(infix[lr]?)\\\\s+(.*)","name":"meta.fixity-declaration.haskell"},{"include":"#overloaded_label"},{"include":"#type_application"},{"include":"#reserved_symbol"},{"include":"#fun_decl"},{"include":"#qualifier"},{"include":"#data_constructor"},{"include":"#start_type_signature"},{"include":"#prefix_op"},{"include":"#infix_op"},{"begin":"(\\\\()(#)\\\\s","beginCaptures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"keyword.operator.hash.haskell"}},"end":"(#)(\\\\))","endCaptures":{"1":{"name":"keyword.operator.hash.haskell"},"2":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comma"},{"include":"$self"}]},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.paren.haskell"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comma"},{"include":"$self"}]},{"include":"#quasi_quote"},{"begin":"(\\\\[)","beginCaptures":{"1":{"name":"punctuation.bracket.haskell"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.bracket.haskell"}},"patterns":[{"include":"#comma"},{"include":"$self"}]},{"include":"#record"}],"repository":{"adt_constructor":{"patterns":[{"include":"#comment_like"},{"begin":"(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:(=)|(\\\\|))(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])","beginCaptures":{"1":{"name":"keyword.operator.eq.haskell"},"2":{"name":"keyword.operator.pipe.haskell"}},"end":"(?:\\\\G|^)\\\\s*(?:(?<!\')\\\\b([\'._\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]+)|(\'?(?<paren>\\\\((?:[^()]?|\\\\g<paren>)*\\\\)))|(\'?(?<brac>\\\\((?:[^]\\\\[]?|\\\\g<brac>)*])))\\\\s*(?:(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(:[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]*)|(`)([\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(`))|(?<!\')\\\\b([\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)|(\\\\()\\\\s*(:[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]*)\\\\s*(\\\\))","endCaptures":{"1":{"patterns":[{"include":"#type_signature"}]},"2":{"patterns":[{"include":"#type_signature"}]},"4":{"patterns":[{"include":"#type_signature"}]},"6":{"name":"constant.other.operator.haskell"},"7":{"name":"punctuation.backtick.haskell"},"8":{"name":"constant.other.haskell"},"9":{"name":"punctuation.backtick.haskell"},"10":{"name":"constant.other.haskell"},"11":{"name":"punctuation.paren.haskell"},"12":{"name":"constant.other.operator.haskell"},"13":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comment_like"},{"include":"#deriving"},{"include":"#record_decl"},{"include":"#forall"},{"include":"#context"}]}]},"block_comment":{"applyEndPatternLast":1,"begin":"\\\\{-","captures":{"0":{"name":"punctuation.definition.comment.haskell"}},"end":"-}","name":"comment.block.haskell","patterns":[{"include":"#block_comment"}]},"char_literal":{"captures":{"1":{"name":"punctuation.definition.string.begin.haskell"},"2":{"name":"constant.character.escape.haskell"},"3":{"name":"constant.character.escape.octal.haskell"},"4":{"name":"constant.character.escape.hexadecimal.haskell"},"5":{"name":"constant.character.escape.control.haskell"},"6":{"name":"punctuation.definition.string.end.haskell"}},"match":"(?<![\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d])(\')(?:[ -\\\\[\\\\]-~]|(\\\\\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\\"\\\\&\'\\\\\\\\abfnrtv]))|(\\\\\\\\o[0-7]+)|(\\\\\\\\x\\\\h+)|(\\\\\\\\\\\\^[@-_]))(\')","name":"string.quoted.single.haskell"},"comma":{"match":",","name":"punctuation.separator.comma.haskell"},"comment_like":{"patterns":[{"include":"#cpp"},{"include":"#pragma"},{"include":"#comments"}]},"comments":{"patterns":[{"begin":"^(\\\\s*)(--\\\\s[$|])","beginCaptures":{"2":{"name":"punctuation.whitespace.comment.leading.haskell"}},"end":"(?=^(?!\\\\1--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])))","name":"comment.block.documentation.haskell"},{"begin":"(^[\\\\t ]+)?(--\\\\s[*^])","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.haskell"}},"end":"\\\\n","name":"comment.line.documentation.haskell"},{"applyEndPatternLast":1,"begin":"\\\\{-\\\\s?[$*^|]","captures":{"0":{"name":"punctuation.definition.comment.haskell"}},"end":"-}","name":"comment.block.documentation.haskell","patterns":[{"include":"#block_comment"}]},{"begin":"(^[\\\\t ]+)?(?=--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]))","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.haskell"}},"end":"(?!\\\\G)","patterns":[{"begin":"--","beginCaptures":{"0":{"name":"punctuation.definition.comment.haskell"}},"end":"\\\\n","name":"comment.line.double-dash.haskell"}]},{"include":"#block_comment"}]},"context":{"captures":{"1":{"patterns":[{"include":"#comment_like"},{"include":"#type_signature"}]},"2":{"name":"keyword.operator.big-arrow.haskell"}},"match":"(.*)(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(=>|⇒)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])"},"cpp":{"captures":{"1":{"name":"punctuation.definition.preprocessor.c"}},"match":"^(#).*$","name":"meta.preprocessor.c"},"data_constructor":{"match":"\\\\b(?<!\')[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(?![\'.\\\\w])","name":"constant.other.haskell"},"deriving":{"patterns":[{"begin":"^(\\\\s*)(deriving)\\\\s+(?:(via|stock|newtype|anyclass)\\\\s+)?","beginCaptures":{"2":{"name":"keyword.other.deriving.haskell"},"3":{"name":"keyword.other.deriving.strategy.$3.haskell"}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.deriving.haskell","patterns":[{"include":"#comment_like"},{"match":"(?<!\')\\\\b(instance)\\\\b(?!\')","name":"keyword.other.instance.haskell"},{"captures":{"1":{"name":"keyword.other.deriving.strategy.$1.haskell"}},"match":"(?<!\')\\\\b(via|stock|newtype|anyclass)\\\\b(?!\')"},{"include":"#type_signature"}]},{"begin":"(deriving)(?:\\\\s+(stock|newtype|anyclass))?\\\\s*(\\\\()","beginCaptures":{"1":{"name":"keyword.other.deriving.haskell"},"2":{"name":"keyword.other.deriving.strategy.$2.haskell"},"3":{"name":"punctuation.paren.haskell"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.paren.haskell"}},"name":"meta.deriving.haskell","patterns":[{"include":"#type_signature"}]},{"captures":{"1":{"name":"keyword.other.deriving.haskell"},"2":{"name":"keyword.other.deriving.strategy.$2.haskell"},"3":{"patterns":[{"include":"#type_signature"}]},"5":{"name":"keyword.other.deriving.strategy.via.haskell"},"6":{"patterns":[{"include":"#type_signature"}]}},"match":"(deriving)(?:\\\\s+(stock|newtype|anyclass))?\\\\s+([\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(\\\\s+(via)\\\\s+(.*)$)?","name":"meta.deriving.haskell"},{"match":"(?<!\')\\\\b(via)\\\\b(?!\')","name":"keyword.other.deriving.strategy.via.haskell"}]},"double_colon":{"captures":{"1":{"name":"keyword.operator.double-colon.haskell"}},"match":"\\\\s*(::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])\\\\s*"},"export_constructs":{"patterns":[{"include":"#comment_like"},{"begin":"\\\\b(?<!\')(pattern)\\\\b(?!\')","beginCaptures":{"1":{"name":"keyword.other.pattern.haskell"}},"end":"([\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)|(\\\\()\\\\s*(:[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+)\\\\s*(\\\\))","endCaptures":{"1":{"name":"constant.other.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"constant.other.operator.haskell"},"4":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comment_like"}]},{"begin":"\\\\b(?<!\')(type)\\\\b(?!\')","beginCaptures":{"1":{"name":"keyword.other.type.haskell"}},"end":"([\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)|(\\\\()\\\\s*([[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+)\\\\s*(\\\\))","endCaptures":{"1":{"name":"storage.type.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"storage.type.operator.haskell"},"4":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comment_like"}]},{"match":"(?<!\')\\\\b[_\\\\p{Ll}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*","name":"entity.name.function.haskell"},{"match":"(?<!\')\\\\b[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*","name":"storage.type.haskell"},{"include":"#record_wildcard"},{"include":"#reserved_symbol"},{"include":"#prefix_op"}]},"ffi":{"begin":"^(\\\\s*)(foreign)\\\\s+((?:im|ex)port)\\\\s+","beginCaptures":{"2":{"name":"keyword.other.foreign.haskell"},"3":{"name":"keyword.other.$3.haskell"}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.$3.foreign.haskell","patterns":[{"include":"#comment_like"},{"captures":{"1":{"name":"keyword.other.calling-convention.$1.haskell"}},"match":"\\\\b(?<!\')(ccall|cplusplus|dotnet|jvm|stdcall|prim|capi)\\\\s+"},{"begin":"(?=\\")|(?=\\\\b(?<!\')([_\\\\p{Ll}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\b(?!\'))","end":"(?=(::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]))","patterns":[{"include":"#comment_like"},{"captures":{"1":{"name":"keyword.other.safety.$1.haskell"},"2":{"name":"entity.name.foreign.haskell","patterns":[{"include":"#string_literal"}]},"3":{"name":"entity.name.function.haskell"},"4":{"name":"entity.name.function.infix.haskell"}},"match":"\\\\b(?<!\')(safe|unsafe|interruptible)\\\\b(?!\')\\\\s*(\\"(?:\\\\\\\\\\"|[^\\"])*\\")?\\\\s*(?:\\\\b(?<!\'\')([_\\\\p{Ll}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\b(?!\')|\\\\(\\\\s*(?!--+\\\\))([[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+)\\\\s*\\\\))"},{"captures":{"1":{"name":"keyword.other.safety.$1.haskell"},"2":{"name":"entity.name.foreign.haskell","patterns":[{"include":"#string_literal"}]}},"match":"\\\\b(?<!\')(safe|unsafe|interruptible)\\\\b(?!\')\\\\s*(\\"(?:\\\\\\\\\\"|[^\\"])*\\")?\\\\s*$"},{"captures":{"0":{"name":"entity.name.foreign.haskell","patterns":[{"include":"#string_literal"}]}},"match":"\\"(?:\\\\\\\\\\"|[^\\"])*\\""},{"captures":{"1":{"name":"entity.name.function.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"entity.name.function.infix.haskell"},"4":{"name":"punctuation.paren.haskell"}},"match":"\\\\b(?<!\'\')([_\\\\p{Ll}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)\\\\b(?!\')|(\\\\()\\\\s*(?!--+\\\\))([[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+)\\\\s*(\\\\))"}]},{"include":"#double_colon"},{"include":"#type_signature"}]},"float_literals":{"captures":{"1":{"name":"constant.numeric.floating.decimal.haskell"},"2":{"name":"constant.numeric.floating.hexadecimal.haskell"}},"match":"\\\\b(?<!\')(?:([0-9][0-9_]*\\\\.[0-9][0-9_]*(?:[Ee][-+]?[0-9][0-9_]*)?|[0-9][0-9_]*[Ee][-+]?[0-9][0-9_]*)|(0(?:[Xx]_*\\\\h[_\\\\h]*\\\\.\\\\h[_\\\\h]*(?:[Pp][-+]?[0-9][0-9_]*)?|[Xx]_*\\\\h[_\\\\h]*[Pp][-+]?[0-9][0-9_]*)))\\\\b(?!\')"},"forall":{"begin":"\\\\b(?<!\')(forall|∀)\\\\b(?!\')","beginCaptures":{"1":{"name":"keyword.other.forall.haskell"}},"end":"(\\\\.)|(->|→)","endCaptures":{"1":{"name":"keyword.operator.period.haskell"},"2":{"name":"keyword.operator.arrow.haskell"}},"patterns":[{"include":"#comment_like"},{"include":"#type_variable"},{"include":"#type_signature"}]},"fun_decl":{"begin":"^(\\\\s*)(?<fn>(?:[_\\\\p{Ll}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*#*|\\\\(\\\\s*(?!--+\\\\))[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),:;\\\\[_`{}]][[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]*\\\\s*\\\\))(?:\\\\s*,\\\\s*\\\\g<fn>)?)\\\\s*(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'),;_`}]])(::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^\\"\'(,;\\\\[_`{]])","beginCaptures":{"2":{"name":"entity.name.function.haskell","patterns":[{"include":"#reserved_symbol"},{"include":"#prefix_op"}]},"3":{"name":"keyword.operator.double-colon.haskell"}},"end":"(?=(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])((<-|←)|(=)|(-<|↢)|(-<<|⤛))([]\\"\'(),;\\\\[_`{}[^\\\\p{S}\\\\p{P}]]))|(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.function.type-declaration.haskell","patterns":[{"include":"#type_signature"}]},"gadt_constructor":{"patterns":[{"begin":"^(\\\\s*)(?:\\\\b((?<!\')[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)|(\\\\()\\\\s*(:[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]*)\\\\s*(\\\\)))","beginCaptures":{"2":{"name":"constant.other.haskell"},"3":{"name":"punctuation.paren.haskell"},"4":{"name":"constant.other.operator.haskell"},"5":{"name":"punctuation.paren.haskell"}},"end":"(?=\\\\b(?<!\'\')deriving\\\\b(?!\'))|(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","patterns":[{"include":"#comment_like"},{"include":"#deriving"},{"include":"#double_colon"},{"include":"#record_decl"},{"include":"#type_signature"}]},{"begin":"\\\\b((?<!\')[\\\\p{Lu}\\\\p{Lt}][_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)|(\\\\()\\\\s*(:[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]*)\\\\s*(\\\\))","beginCaptures":{"1":{"name":"constant.other.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"constant.other.operator.haskell"},"4":{"name":"punctuation.paren.haskell"}},"end":"$","patterns":[{"include":"#comment_like"},{"include":"#deriving"},{"include":"#double_colon"},{"include":"#record_decl"},{"include":"#type_signature"}]}]},"infix_op":{"patterns":[{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"entity.name.namespace.haskell"},"3":{"name":"keyword.operator.infix.haskell"}},"match":"((?:(?<!\'\')(\'\')?[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\\\.)*)(#+|[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+(?<!#))"},{"captures":{"1":{"name":"punctuation.backtick.haskell"},"2":{"name":"entity.name.namespace.haskell"},"3":{"patterns":[{"include":"#data_constructor"}]},"4":{"name":"punctuation.backtick.haskell"}},"match":"(`)((?:[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\\\.)*)([_\\\\p{Ll}\\\\p{Lu}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(`)","name":"keyword.operator.function.infix.haskell"}]},"inline_phase":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.bracket.haskell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.bracket.haskell"}},"name":"meta.inlining-phase.haskell","patterns":[{"match":"~","name":"punctuation.tilde.haskell"},{"include":"#integer_literals"},{"match":"\\\\w*","name":"invalid"}]},"integer_literals":{"captures":{"1":{"name":"constant.numeric.integral.decimal.haskell"},"2":{"name":"constant.numeric.integral.hexadecimal.haskell"},"3":{"name":"constant.numeric.integral.octal.haskell"},"4":{"name":"constant.numeric.integral.binary.haskell"}},"match":"\\\\b(?<!\')(?:([0-9][0-9_]*)|(0[Xx]_*\\\\h[_\\\\h]*)|(0[Oo]_*[0-7][0-7_]*)|(0[Bb]_*[01][01_]*))\\\\b(?!\')"},"keyword":{"captures":{"1":{"name":"keyword.other.$1.haskell"},"2":{"name":"keyword.control.$2.haskell"}},"match":"\\\\b(?<!\')(?:(where|let|in|default)|(m?do|if|then|else|case|of|proc|rec))\\\\b(?!\')"},"layout_herald":{"begin":"(?<!\')\\\\b(?:(where|let|m?do)|(of))\\\\s*(\\\\{)(?!-)","beginCaptures":{"1":{"name":"keyword.other.$1.haskell"},"2":{"name":"keyword.control.of.haskell"},"3":{"name":"punctuation.brace.haskell"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.brace.haskell"}},"patterns":[{"include":"$self"},{"match":";","name":"punctuation.semicolon.haskell"}]},"liquid_haskell":{"begin":"\\\\{-@","end":"@-}","name":"block.liquidhaskell.haskell","patterns":[{"include":"$self"}]},"module_exports":{"applyEndPatternLast":1,"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.paren.haskell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.paren.haskell"}},"name":"meta.declaration.exports.haskell","patterns":[{"include":"#comment_like"},{"captures":{"1":{"name":"keyword.other.module.haskell"}},"match":"\\\\b(?<!\')(module)\\\\b(?!\')"},{"include":"#comma"},{"include":"#export_constructs"},{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.paren.haskell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comment_like"},{"include":"#record_wildcard"},{"include":"#export_constructs"},{"include":"#comma"}]}]},"module_name":{"match":"(?<conid>[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*(\\\\.\\\\g<conid>)?)","name":"entity.name.namespace.haskell"},"numeric_literals":{"patterns":[{"include":"#float_literals"},{"include":"#integer_literals"}]},"overloaded_label":{"patterns":[{"captures":{"1":{"name":"keyword.operator.prefix.hash.haskell"},"2":{"patterns":[{"include":"#string_literal"}]}},"match":"(?<![[_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d\\\\p{S}\\\\p{P}]&&[^(,;\\\\[`{]])(#)(?:(\\"(?:\\\\\\\\\\"|[^\\"])*\\")|[\'._\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]+)","name":"entity.name.label.haskell"}]},"pragma":{"begin":"\\\\{-#","end":"#-}","name":"meta.preprocessor.haskell","patterns":[{"begin":"(?i)\\\\b(?<!\')(LANGUAGE)\\\\b(?!\')","beginCaptures":{"1":{"name":"keyword.other.preprocessor.pragma.haskell"}},"end":"(?=#-})","patterns":[{"match":"(?:No)?(?:AutoDeriveTypeable|DatatypeContexts|DoRec|IncoherentInstances|MonadFailDesugaring|MonoPatBinds|NullaryTypeClasses|OverlappingInstances|PatternSignatures|RecordPuns|RelaxedPolyRec)","name":"invalid.deprecated"},{"captures":{"1":{"name":"keyword.other.preprocessor.extension.haskell"}},"match":"((?:No)?(?:AllowAmbiguousTypes|AlternativeLayoutRule|AlternativeLayoutRuleTransitional|Arrows|BangPatterns|BinaryLiterals|CApiFFI|CPP|CUSKs|ConstrainedClassMethods|ConstraintKinds|DataKinds|DefaultSignatures|DeriveAnyClass|DeriveDataTypeable|DeriveFoldable|DeriveFunctor|DeriveGeneric|DeriveLift|DeriveTraversable|DerivingStrategies|DerivingVia|DisambiguateRecordFields|DoAndIfThenElse|BlockArguments|DuplicateRecordFields|EmptyCase|EmptyDataDecls|EmptyDataDeriving|ExistentialQuantification|ExplicitForAll|ExplicitNamespaces|ExtendedDefaultRules|FlexibleContexts|FlexibleInstances|ForeignFunctionInterface|FunctionalDependencies|GADTSyntax|GADTs|GHCForeignImportPrim|Generali[sz]edNewtypeDeriving|ImplicitParams|ImplicitPrelude|ImportQualifiedPost|ImpredicativeTypes|TypeFamilyDependencies|InstanceSigs|ApplicativeDo|InterruptibleFFI|JavaScriptFFI|KindSignatures|LambdaCase|LiberalTypeSynonyms|MagicHash|MonadComprehensions|MonoLocalBinds|MonomorphismRestriction|MultiParamTypeClasses|MultiWayIf|NumericUnderscores|NPlusKPatterns|NamedFieldPuns|NamedWildCards|NegativeLiterals|HexFloatLiterals|NondecreasingIndentation|NumDecimals|OverloadedLabels|OverloadedLists|OverloadedStrings|PackageImports|ParallelArrays|ParallelListComp|PartialTypeSignatures|PatternGuards|PatternSynonyms|PolyKinds|PolymorphicComponents|QuantifiedConstraints|PostfixOperators|QuasiQuotes|Rank2Types|RankNTypes|RebindableSyntax|RecordWildCards|RecursiveDo|RelaxedLayout|RoleAnnotations|ScopedTypeVariables|StandaloneDeriving|StarIsType|StaticPointers|Strict|StrictData|TemplateHaskell|TemplateHaskellQuotes|StandaloneKindSignatures|TraditionalRecordSyntax|TransformListComp|TupleSections|TypeApplications|TypeInType|TypeFamilies|TypeOperators|TypeSynonymInstances|UnboxedTuples|UnboxedSums|UndecidableInstances|UndecidableSuperClasses|UnicodeSyntax|UnliftedFFITypes|UnliftedNewtypes|ViewPatterns))"},{"include":"#comma"}]},{"begin":"(?i)\\\\b(?<!\')(SPECIALI[SZ]E)(?:\\\\s*(\\\\[[^]\\\\[]*])?\\\\s*|\\\\s+)(instance)\\\\b(?!\')","beginCaptures":{"1":{"name":"keyword.other.preprocessor.pragma.haskell"},"2":{"patterns":[{"include":"#inline_phase"}]},"3":{"name":"keyword.other.instance.haskell"}},"end":"(?=#-})","patterns":[{"include":"#type_signature"}]},{"begin":"(?i)\\\\b(?<!\')(SPECIALI[SZ]E)\\\\b(?!\')(?:\\\\s+(INLINE)\\\\b(?!\'))?\\\\s*(\\\\[[^]\\\\[]*])?\\\\s*","beginCaptures":{"1":{"name":"keyword.other.preprocessor.pragma.haskell"},"2":{"name":"keyword.other.preprocessor.pragma.haskell"},"3":{"patterns":[{"include":"#inline_phase"}]}},"end":"(?=#-})","patterns":[{"include":"$self"}]},{"match":"(?i)\\\\b(?<!\')(LANGUAGE|OPTIONS_GHC|INCLUDE|MINIMAL|UNPACK|OVERLAPS|INCOHERENT|NOUNPACK|SOURCE|OVERLAPPING|OVERLAPPABLE|INLINE|NOINLINE|INLINE?ABLE|CONLIKE|LINE|COLUMN|RULES|COMPLETE)\\\\b(?!\')","name":"keyword.other.preprocessor.haskell"},{"begin":"(?i)\\\\b(DEPRECATED|WARNING)\\\\b","beginCaptures":{"1":{"name":"keyword.other.preprocessor.pragma.haskell"}},"end":"(?=#-})","patterns":[{"include":"#string_literal"}]}]},"prefix_op":{"patterns":[{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"entity.name.function.infix.haskell"},"3":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()\\\\s*(?!(?:--+|\\\\.\\\\.)\\\\))(#+|[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+(?<!#))\\\\s*(\\\\))"}]},"qualifier":{"match":"\\\\b(?<!\')[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\\\.","name":"entity.name.namespace.haskell"},"quasi_quote":{"patterns":[{"begin":"(\\\\[)([dep])?(\\\\|\\\\|?)","beginCaptures":{"1":{"name":"keyword.operator.quasi-quotation.begin.haskell"},"2":{"name":"entity.name.quasi-quoter.haskell"},"3":{"name":"keyword.operator.quasi-quotation.begin.haskell"}},"end":"\\\\3]","endCaptures":{"0":{"name":"keyword.operator.quasi-quotation.end.haskell"}},"name":"meta.quasi-quotation.haskell","patterns":[{"include":"$self"}]},{"begin":"(\\\\[)(t)(\\\\|\\\\|?)","beginCaptures":{"1":{"name":"keyword.operator.quasi-quotation.begin.haskell"},"2":{"name":"entity.name.quasi-quoter.haskell"},"3":{"name":"keyword.operator.quasi-quotation.begin.haskell"}},"end":"\\\\3]","endCaptures":{"0":{"name":"keyword.operator.quasi-quotation.end.haskell"}},"name":"meta.quasi-quotation.haskell","patterns":[{"include":"#type_signature"}]},{"begin":"(\\\\[)(?:(\\\\$\\\\$)|(\\\\$))?([\'._[^\\\\s\\\\p{S}\\\\p{P}]]*)(\\\\|\\\\|?)","beginCaptures":{"1":{"name":"keyword.operator.quasi-quotation.begin.haskell"},"2":{"name":"keyword.operator.prefix.double-dollar.haskell"},"3":{"name":"keyword.operator.prefix.dollar.haskell"},"4":{"name":"entity.name.quasi-quoter.haskell","patterns":[{"include":"#qualifier"}]},"5":{"name":"keyword.operator.quasi-quotation.begin.haskell"}},"end":"\\\\5]","endCaptures":{"0":{"name":"keyword.operator.quasi-quotation.end.haskell"}},"name":"meta.quasi-quotation.haskell"}]},"record":{"begin":"(\\\\{)(?!-)","beginCaptures":{"1":{"name":"punctuation.brace.haskell"}},"end":"(?<!-)(})","endCaptures":{"1":{"name":"punctuation.brace.haskell"}},"name":"meta.record.haskell","patterns":[{"include":"#comment_like"},{"include":"#record_field"}]},"record_decl":{"begin":"(\\\\{)(?!-)","beginCaptures":{"1":{"name":"punctuation.brace.haskell"}},"end":"(?<!-)(})","endCaptures":{"1":{"name":"punctuation.brace.haskell"}},"name":"meta.record.definition.haskell","patterns":[{"include":"#comment_like"},{"include":"#record_decl_field"}]},"record_decl_field":{"begin":"([_\\\\p{Ll}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)|(\\\\()\\\\s*([[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+)\\\\s*(\\\\))","beginCaptures":{"1":{"name":"variable.other.member.definition.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"variable.other.member.definition.haskell"},"4":{"name":"punctuation.paren.haskell"}},"end":"(,)|(?=})","endCaptures":{"1":{"name":"punctuation.comma.haskell"}},"patterns":[{"include":"#comment_like"},{"include":"#comma"},{"include":"#double_colon"},{"include":"#type_signature"},{"include":"#record_decl_field"}]},"record_field":{"patterns":[{"begin":"([_\\\\p{Ll}\\\\p{Lu}][\'._\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)|(\\\\()\\\\s*([[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+)\\\\s*(\\\\))","beginCaptures":{"1":{"name":"variable.other.member.haskell","patterns":[{"include":"#qualifier"}]},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"variable.other.member.haskell"},"4":{"name":"punctuation.paren.haskell"}},"end":"(,)|(?=})","endCaptures":{"1":{"name":"punctuation.comma.haskell"}},"patterns":[{"include":"#comment_like"},{"include":"#comma"},{"include":"$self"}]},{"include":"#record_wildcard"}]},"record_wildcard":{"captures":{"1":{"name":"variable.other.member.wildcard.haskell"}},"match":"(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(\\\\.\\\\.)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])"},"reserved_symbol":{"patterns":[{"captures":{"1":{"name":"keyword.operator.double-dot.haskell"},"2":{"name":"keyword.operator.colon.haskell"},"3":{"name":"keyword.operator.eq.haskell"},"4":{"name":"keyword.operator.lambda.haskell"},"5":{"name":"keyword.operator.pipe.haskell"},"6":{"name":"keyword.operator.arrow.left.haskell"},"7":{"name":"keyword.operator.arrow.haskell"},"8":{"name":"keyword.operator.arrow.left.tail.haskell"},"9":{"name":"keyword.operator.arrow.left.tail.double.haskell"},"10":{"name":"keyword.operator.arrow.tail.haskell"},"11":{"name":"keyword.operator.arrow.tail.double.haskell"},"12":{"name":"keyword.other.forall.haskell"}},"match":"(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:(\\\\.\\\\.)|(:)|(=)|(\\\\\\\\)|(\\\\|)|(<-|←)|(->|→)|(-<|↢)|(-<<|⤛)|(>-|⤚)|(>>-|⤜)|(∀))(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])"},{"captures":{"1":{"name":"keyword.operator.postfix.hash.haskell"}},"match":"(?<=[[_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d\\\\p{S}\\\\p{P}]&&[^#,;\\\\[`{]])(#+)(?![[_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d\\\\p{S}\\\\p{P}]&&[^]),;`}]])"},{"captures":{"1":{"name":"keyword.operator.infix.tight.at.haskell"}},"match":"(?<=[])_}\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d])(@)(?=[(\\\\[_{\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d])"},{"captures":{"1":{"name":"keyword.operator.prefix.tilde.haskell"},"2":{"name":"keyword.operator.prefix.bang.haskell"},"3":{"name":"keyword.operator.prefix.minus.haskell"},"4":{"name":"keyword.operator.prefix.dollar.haskell"},"5":{"name":"keyword.operator.prefix.double-dollar.haskell"}},"match":"(?<![[_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d\\\\p{S}\\\\p{P}]&&[^(,;\\\\[`{]])(?:(~)|(!)|(-)|(\\\\$)|(\\\\$\\\\$))(?=[(\\\\[_{\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d])"}]},"role_annotation":{"patterns":[{"begin":"^(\\\\s*)(type)\\\\s+(role)\\\\b(?!\')","beginCaptures":{"2":{"name":"keyword.other.type.haskell"},"3":{"name":"keyword.other.role.haskell"}},"end":"(?=[;}])|^(?!\\\\1\\\\s+\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$))","name":"meta.role-annotation.haskell","patterns":[{"include":"#comment_like"},{"include":"#type_constructor"},{"captures":{"1":{"name":"keyword.other.role.$1.haskell"}},"match":"\\\\b(?<!\')(nominal|representational|phantom)\\\\b(?!\')"}]}]},"start_type_signature":{"patterns":[{"begin":"^(\\\\s*)(::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^\\"\'(,;\\\\[_`{]])\\\\s*","beginCaptures":{"2":{"name":"keyword.operator.double-colon.haskell"}},"end":"(?=#?\\\\)|[],]|(?<!\')\\\\b(in|then|else|of)\\\\b(?!\')|(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:([\\\\\\\\λ])|(<-|←)|(=)|(-<|↢)|(-<<|⤛))([]\\"\'(),;\\\\[_`{}[^\\\\p{S}\\\\p{P}]])|([#@])-}|(?=[;}])|^(?!\\\\1\\\\s*\\\\S|\\\\s*(?:$|\\\\{-[^@]|--+(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]).*$)))","name":"meta.type-declaration.haskell","patterns":[{"include":"#type_signature"}]},{"begin":"(?<![[\\\\p{S}\\\\p{P}]&&[^\\"\'(,;\\\\[_`{]])(::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^\\"\'(,;\\\\[_`{]])","beginCaptures":{"1":{"name":"keyword.operator.double-colon.haskell"}},"end":"(?=#?\\\\)|[],]|\\\\b(?<!\')(in|then|else|of)\\\\b(?!\')|([#@])-}|(?<![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])(?:([\\\\\\\\λ])|(<-|←)|(=)|(-<|↢)|(-<<|⤛))([]\\"\'(),;\\\\[_`{}[^\\\\p{S}\\\\p{P}]])|(?=[;}])|$)","patterns":[{"include":"#type_signature"}]}]},"string_literal":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.haskell"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.haskell"}},"name":"string.quoted.double.haskell","patterns":[{"match":"\\\\\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[\\"\\\\&\'\\\\\\\\abfnrtv])","name":"constant.character.escape.haskell"},{"match":"\\\\\\\\(?:o[0-7]+|x\\\\h+|[0-9]+)","name":"constant.character.escape.octal.haskell"},{"match":"\\\\\\\\\\\\^[@-_]","name":"constant.character.escape.control.haskell"},{"begin":"\\\\\\\\\\\\s","beginCaptures":{"0":{"name":"constant.character.escape.begin.haskell"}},"end":"\\\\\\\\","endCaptures":{"0":{"name":"constant.character.escape.end.haskell"}},"patterns":[{"match":"\\\\S+","name":"invalid.illegal.character-not-allowed-here.haskell"}]}]},"type_application":{"patterns":[{"begin":"(?<=[]\\",;\\\\[{}\\\\s])(@)(\')?(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.prefix.at.haskell"},"2":{"name":"keyword.operator.promotion.haskell"},"3":{"name":"punctuation.paren.haskell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.paren.haskell"}},"name":"meta.type-application.haskell","patterns":[{"include":"#type_signature"}]},{"begin":"(?<=[]\\",;\\\\[{}\\\\s])(@)(\')?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.prefix.at.haskell"},"2":{"name":"keyword.operator.promotion.haskell"},"3":{"name":"punctuation.bracket.haskell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.bracket.haskell"}},"name":"meta.type-application.haskell","patterns":[{"include":"#type_signature"}]},{"begin":"(?<=[]\\",;\\\\[{}\\\\s])(@)(?=\\")","beginCaptures":{"1":{"name":"keyword.operator.prefix.at.haskell"}},"end":"(?<=\\")","name":"meta.type-application.haskell","patterns":[{"include":"#string_literal"}]},{"begin":"(?<=[]\\",;\\\\[{}\\\\s])(@)(?=[\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d])","beginCaptures":{"1":{"name":"keyword.operator.prefix.at.haskell"}},"end":"(?![\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d])","name":"meta.type-application.haskell","patterns":[{"include":"#type_signature"}]}]},"type_constructor":{"patterns":[{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"entity.name.namespace.haskell"},"3":{"name":"storage.type.haskell"}},"match":"(\')?((?:\\\\b[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\\\.)*)\\\\b([\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)"},{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"entity.name.namespace.haskell"},"4":{"name":"storage.type.operator.haskell"},"5":{"name":"punctuation.paren.haskell"}},"match":"(\')?(\\\\()\\\\s*((?:[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\\\.)*)([[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+)\\\\s*(\\\\))"}]},"type_operator":{"patterns":[{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"entity.name.namespace.haskell"},"3":{"name":"storage.type.operator.infix.haskell"}},"match":"(?:(?<!\')(\'))?((?:\\\\b[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\\\.)*)(?![#@]?-})(#+|[[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]]+(?<!#))"},{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"punctuation.backtick.haskell"},"3":{"name":"entity.name.namespace.haskell"},"4":{"name":"storage.type.infix.haskell"},"5":{"name":"punctuation.backtick.haskell"}},"match":"(\')?(`)((?:[\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*\\\\.)*)([\\\\p{Lu}\\\\p{Lt}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*)(`)"}]},"type_signature":{"patterns":[{"include":"#comment_like"},{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"punctuation.paren.haskell"}},"match":"(\')?(\\\\()\\\\s*(\\\\))","name":"support.constant.unit.haskell"},{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"keyword.operator.hash.haskell"},"3":{"name":"keyword.operator.hash.haskell"},"4":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()(#)\\\\s*(#)(\\\\))","name":"support.constant.unit.unboxed.haskell"},{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"punctuation.paren.haskell"},"3":{"name":"punctuation.paren.haskell"}},"match":"(\')?(\\\\()\\\\s*,[,\\\\s]*(\\\\))","name":"support.constant.tuple.haskell"},{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"keyword.operator.hash.haskell"},"3":{"name":"keyword.operator.hash.haskell"},"4":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()(#)\\\\s*(#)(\\\\))","name":"support.constant.unit.unboxed.haskell"},{"captures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"keyword.operator.hash.haskell"},"3":{"name":"keyword.operator.hash.haskell"},"4":{"name":"punctuation.paren.haskell"}},"match":"(\\\\()(#)\\\\s*,[,\\\\s]*(#)(\\\\))","name":"support.constant.tuple.unboxed.haskell"},{"captures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"punctuation.bracket.haskell"},"3":{"name":"punctuation.bracket.haskell"}},"match":"(\')?(\\\\[)\\\\s*(])","name":"support.constant.empty-list.haskell"},{"include":"#integer_literals"},{"match":"(::|∷)(?![[\\\\p{S}\\\\p{P}]&&[^]\\"\'(),;\\\\[_`{}]])","name":"keyword.operator.double-colon.haskell"},{"include":"#forall"},{"match":"=>|⇒","name":"keyword.operator.big-arrow.haskell"},{"include":"#string_literal"},{"match":"\'[^\']\'","name":"invalid"},{"include":"#type_application"},{"include":"#reserved_symbol"},{"include":"#type_operator"},{"include":"#type_constructor"},{"begin":"(\\\\()(#)","beginCaptures":{"1":{"name":"punctuation.paren.haskell"},"2":{"name":"keyword.operator.hash.haskell"}},"end":"(#)(\\\\))","endCaptures":{"1":{"name":"keyword.operator.hash.haskell"},"2":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comma"},{"include":"#type_signature"}]},{"begin":"(\')?(\\\\()","beginCaptures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"punctuation.paren.haskell"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.paren.haskell"}},"patterns":[{"include":"#comma"},{"include":"#type_signature"}]},{"begin":"(\')?(\\\\[)","beginCaptures":{"1":{"name":"keyword.operator.promotion.haskell"},"2":{"name":"punctuation.bracket.haskell"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.bracket.haskell"}},"patterns":[{"include":"#comma"},{"include":"#type_signature"}]},{"include":"#type_variable"}]},"type_variable":{"match":"\\\\b(?<!\')(?!(?:forall|deriving)\\\\b(?!\'))[_\\\\p{Ll}][\'_\\\\p{Ll}\\\\p{Lu}\\\\p{Lt}\\\\d]*","name":"variable.other.generic-type.haskell"},"where":{"patterns":[{"begin":"(?<!\')\\\\b(where)\\\\s*(\\\\{)(?!-)","beginCaptures":{"1":{"name":"keyword.other.where.haskell"},"2":{"name":"punctuation.brace.haskell"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.brace.haskell"}},"patterns":[{"include":"$self"},{"match":";","name":"punctuation.semicolon.haskell"}]},{"match":"\\\\b(?<!\')(where)\\\\b(?!\')","name":"keyword.other.where.haskell"}]}},"scopeName":"source.haskell","aliases":["hs"]}'));e.s(["default",0,[a]])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,717391,e=>{"use strict";let i=Object.freeze(JSON.parse('{"displayName":"Dockerfile","name":"docker","patterns":[{"captures":{"1":{"name":"keyword.other.special-method.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*\\\\b(?i:(FROM))\\\\b.*?\\\\b(?i:(AS))\\\\b"},{"captures":{"1":{"name":"keyword.control.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*(?i:(ONBUILD)\\\\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\\\\s"},{"captures":{"1":{"name":"keyword.operator.dockerfile"},"2":{"name":"keyword.other.special-method.dockerfile"}},"match":"^\\\\s*(?i:(ONBUILD)\\\\s+)?(?i:(CMD|ENTRYPOINT))\\\\s"},{"include":"#string-character-escape"},{"begin":"\\"","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"\\"","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.double.dockerfile","patterns":[{"include":"#string-character-escape"}]},{"begin":"\'","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dockerfile"}},"end":"\'","endCaptures":{"1":{"name":"punctuation.definition.string.end.dockerfile"}},"name":"string.quoted.single.dockerfile","patterns":[{"include":"#string-character-escape"}]},{"captures":{"1":{"name":"punctuation.whitespace.comment.leading.dockerfile"},"2":{"name":"comment.line.number-sign.dockerfile"},"3":{"name":"punctuation.definition.comment.dockerfile"}},"match":"^(\\\\s*)((#).*$\\\\n?)"}],"repository":{"string-character-escape":{"match":"\\\\\\\\.","name":"constant.character.escaped.dockerfile"}},"scopeName":"source.dockerfile","aliases":["dockerfile"]}'));e.s(["default",0,[i]])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,131916,e=>{"use strict";let t=Object.freeze(JSON.parse('{"displayName":"GN","name":"gn","patterns":[{"include":"#expression"}],"repository":{"boolean":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.gn"},"builtins":{"patterns":[{"match":"\\\\b(action|action_foreach|bundle_data|copy|create_bundle|executable|generated_file|group|loadable_module|rust_library|rust_proc_macro|shared_library|source_set|static_library|target)\\\\b","name":"support.function.gn"},{"match":"\\\\b(assert|config|declare_args|defined|exec_script|filter_exclude|filter_include|filter_labels_exclude|filter_labels_include|foreach|forward_variables_from|get_label_info|get_path_info|get_target_outputs|getenv|import|label_matches|not_needed|pool|print|print_stack_trace|process_file_template|read_file|rebase_path|set_default_toolchain|set_defaults|split_list|string_join|string_replace|string_split|template|tool|toolchain|write_file)\\\\b","name":"support.function.gn"},{"match":"\\\\b(current_cpu|current_os|current_toolchain|default_toolchain|gn_version|host_cpu|host_os|invoker|python_path|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_name|target_os|target_out_dir)\\\\b","name":"variable.language.gn"},{"match":"\\\\b(aliased_deps|all_dependent_configs|allow_circular_includes_from|arflags|args|asmflags|assert_no_deps|bridge_header|bundle_contents_dir|bundle_deps_filter|bundle_executable_dir|bundle_resources_dir|bundle_root_dir|cflags|cflags_cc??|cflags_objcc??|check_includes|code_signing_args|code_signing_outputs|code_signing_script|code_signing_sources|complete_static_lib|configs|contents|crate_name|crate_root|crate_type|data|data_deps|data_keys|defines|depfile|deps|externs|framework_dirs|frameworks|friend|gen_deps|include_dirs|inputs|ldflags|lib_dirs|libs|metadata|mnemonic|module_name|output_conversion|output_dir|output_extension|output_name|output_prefix_override|outputs|partial_info_plist|pool|post_processing_args|post_processing_outputs|post_processing_script|post_processing_sources|precompiled_header|precompiled_header_type|precompiled_source|product_type|public|public_configs|public_deps|rebase|response_file_contents|rustflags|script|sources|swiftflags|testonly|transparent|visibility|walk_keys|weak_frameworks|write_runtime_deps|xcasset_compiler_flags|xcode_extra_attributes|xcode_test_application_name)\\\\b","name":"variable.language.gn"}]},"call":{"begin":"\\\\b([A-Z_a-z][0-9A-Z_a-z]*)\\\\s*\\\\(","beginCaptures":{"1":{"name":"entity.name.function.gn"}},"end":"\\\\)","patterns":[{"include":"#expression"}]},"comment":{"begin":"#","end":"$","name":"comment.line.number-sign.gn"},"expression":{"patterns":[{"include":"#keywords"},{"include":"#builtins"},{"include":"#call"},{"include":"#literals"},{"include":"#identifier"},{"include":"#operators"},{"include":"#comment"}]},"identifier":{"match":"\\\\b[A-Z_a-z][0-9A-Z_a-z]*\\\\b","name":"variable.general.gn"},"keywords":{"match":"\\\\b(if|else)\\\\b","name":"keyword.control.if.gn"},"literals":{"patterns":[{"include":"#string"},{"include":"#number"},{"include":"#boolean"}]},"number":{"match":"\\\\b-?\\\\d+\\\\b","name":"constant.numeric.gn"},"operators":{"match":"\\\\b(\\\\+=??|==|!=|-=??|<=??|[!=>]|>=|&&|\\\\|\\\\|\\\\.)\\\\b","name":"keyword.operator.gn"},"string":{"begin":"\\"","end":"\\"","name":"string.quoted.double.gn","patterns":[{"match":"\\\\\\\\[\\"$\\\\\\\\]","name":"constant.character.escape.gn"},{"match":"\\\\$0x\\\\h\\\\h","name":"constant.character.hex.gn"},{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.gn"}},"contentName":"meta.embedded.substitution.gn","end":"}","endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.gn"}},"patterns":[{"include":"#expression"}]},{"captures":{"1":{"name":"punctuation.definition.template-expression.begin.gn"},"2":{"name":"meta.embedded.substitution.gn variable.general.gn"}},"match":"(\\\\$)([A-Z_a-z][0-9A-Z_a-z]*)"}]}},"scopeName":"source.gn"}'));e.s(["default",0,[t]])}]);
|