wiki-viewer 3.0.4 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +3 -3
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/api/agent/activity/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/events/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/files/[...path]/route.js +3 -3
- package/.next/standalone/.next/server/app/api/agent/files/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/fs/file/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/fs/ls/[[...path]]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/fs/move/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/fs/search/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/settings/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/agent/sidecar/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/app-proxy/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/assets/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/pdf/save/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/share/[token]/asset/route.js +1 -1
- package/.next/standalone/.next/server/app/api/share/[token]/asset/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/share/[token]/route.js +9 -8
- package/.next/standalone/.next/server/app/api/share/[token]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/share/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/system/browse/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/system/reveal/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/system/workspaces/[id]/branch/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/system/workspaces/[id]/open/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/system/workspaces/[id]/refresh/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/system/workspaces/[id]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/system/workspaces/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/upload/[...path]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/app/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/backlinks/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/content/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/download/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/folder/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/git-branches/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/git-checkout/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/git-diff/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/git-file-info/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/git-history/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/git-pull/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/hosted-apps/[slug]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/hosted-apps/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/move/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/new-file/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/outlinks/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/page/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/presence/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/preview-token/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/scratch/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/search/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/slugs/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/upload/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/wiki/watch/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/app/[slug]/[[...rest]]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/s/[token]/page/react-loadable-manifest.json +6 -3
- package/.next/standalone/.next/server/app/s/[token]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/s/[token]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/signin/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/chunks/0.u4_next_dist_esm_build_templates_app-route_12q-bgc.js +3 -0
- package/.next/standalone/.next/server/chunks/{[externals]__0pbxe4i._.js → [externals]__0k160xp._.js} +2 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__01aj28~._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__034zu-9._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0490w4y._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0_2j7pq._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0b1c__~._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__128augu._.js → [root-of-the-server]__0i9yw0.._.js} +3 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ivbizg._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0j3mjvx._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0k2nouu._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0puvgme._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0u7wq9p._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ul.gyt._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0wcg8qs._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0yzumg-._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__101dr96._.js +4 -4
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__10gr1bo._.js +20 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__10i6erq._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__11ltgmp._.js +4 -4
- package/.next/standalone/.next/server/chunks/ssr/{0~w0_katex_dist_katex_mjs_10cht08._.js → 0~w0_katex_dist_katex_mjs_004-6gg._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0gvf9ub._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0cvdst3._.js → [root-of-the-server]__0zzulxc._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_0_j0j3f._.js +187 -0
- package/.next/standalone/.next/server/chunks/ssr/_0x_nhpz._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_0ydcz3a._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0a6kqvf._.js → node_modules__pnpm_01szzw7._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_09h4wu8._.js → node_modules__pnpm_02sz98s._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_01mrx7s._.js → node_modules__pnpm_0336q.m._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0qhuwah._.js → node_modules__pnpm_051n.bu._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0h5~9y~._.js → node_modules__pnpm_06txdm6._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0g_0et~._.js → node_modules__pnpm_0799nrj._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0ue8lv5._.js → node_modules__pnpm_07i6nnw._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0t9_wi1._.js → node_modules__pnpm_098x-sh._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0t6xsn9._.js → node_modules__pnpm_0b9bnj1._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0mus7ah._.js → node_modules__pnpm_0c1zkc8._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_05m3zxe._.js → node_modules__pnpm_0d9rl81._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_05jxr.d._.js → node_modules__pnpm_0g4ogpv._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0v~pnm.._.js → node_modules__pnpm_0kwshwu._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0oqzhc1._.js → node_modules__pnpm_0m~epyq._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0dir6h3._.js → node_modules__pnpm_0n-3pyt._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_085kv-l._.js → node_modules__pnpm_0ov8khx._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0uap1~z._.js → node_modules__pnpm_0p~s2t8._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0g.7k_n._.js → node_modules__pnpm_0rwoobw._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_00b2ftc._.js → node_modules__pnpm_0stxmvb._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0hptidd._.js → node_modules__pnpm_0whug6y._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0-y2e10._.js → node_modules__pnpm_0wsap-p._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0mwe-i3._.js → node_modules__pnpm_0yv85cb._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0gh6xw7._.js → node_modules__pnpm_0zmfyg1._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_00tpvdu._.js → node_modules__pnpm_0zzmyff._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0tc8zr6._.js → node_modules__pnpm_10a8956._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_029sanw._.js → node_modules__pnpm_12i_666._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/{node_modules__pnpm_0w.m8_8._.js → node_modules__pnpm_12lszjz._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/src_app_s_[token]_page_tsx_0_fzrmd._.js +3 -0
- package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/.next/server/middleware.js +2 -2
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/static/chunks/04rw10yyyszwm.js +1 -0
- package/.next/standalone/.next/static/chunks/06t6t8alcyt6t.js +185 -0
- package/.next/standalone/.next/static/chunks/{136jk6_h2z_jw.js → 0atu_qcd~4ox3.js} +1 -1
- package/.next/standalone/.next/static/chunks/0awx2jmztt7~v.js +1 -0
- package/.next/standalone/.next/static/chunks/0azp.ftsp.56w.js +1 -0
- package/.next/standalone/.next/static/chunks/{0lsw6lsaj7lby.js → 0ebe2favul_io.js} +1 -1
- package/.next/standalone/.next/static/chunks/0f8vcij0xcgfj.css +1 -0
- package/.next/standalone/.next/static/chunks/0gcwvlawxhe9m.js +1 -0
- package/.next/standalone/.next/static/chunks/0geoueeyd9~sr.js +12 -0
- package/.next/standalone/.next/static/chunks/0vf2x0i9qqll7.js +1 -0
- package/.next/standalone/.next/static/chunks/{0ccw-uc_3ao.w.js → 0wk88u86juf-9.js} +1 -1
- package/.next/standalone/.next/static/chunks/16m10irvo-y13.js +1 -0
- package/.next/standalone/.next/static/chunks/{0_6~i5v43qpgh.js → 1700k0l32z3_f.js} +1 -1
- package/.next/standalone/package.json +1 -1
- package/.next/standalone/server.js +1 -1
- package/package.json +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__05h6fe-._.js +0 -20
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0ah~dki._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_chunk-EIO257PC_0bbzsue.js +0 -24
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_data_image-GAAHSSAO_02qfk03.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ar-SA-G6X2FPQ2_0bgz3ij.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_az-AZ-76LH7QW2_0l.fl3a.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_bg-BG-XCXSNQG7_04hl.7k.js +0 -7
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_bn-BD-2XOGV67Q_01xbnnb.js +0 -7
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ca-ES-6MX7JW3Y_0wojdyn.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_cs-CZ-2BRQDIVT_033w-8o.js +0 -13
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_da-DK-5WZEPLOC_0p28n6z.js +0 -7
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_de-DE-XR44H4JA_091-v9i.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_el-GR-BZB4AONW_0e~_nvm.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_en-B4ZKOASM_0re7gz~.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_es-ES-U4NZUMDT_0.ma57u.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_eu-ES-A7QVB2H4_0-3jlza.js +0 -13
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_fa-IR-HGAKTJCU_0kyo75j.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_fi-FI-Z5N7JZ37_03~-wak.js +0 -8
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_fr-FR-RHASNOE6_0vj4.6m.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_gl-ES-HMX3MZ6V_0ge3k2a.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_he-IL-6SHJWFNN_02mvq6w.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_hi-IN-IWLTKZ5I_0ykyas7.js +0 -6
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_hu-HU-A5ZG7DT2_0qes2r3.js +0 -9
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_id-ID-SAP4L64H_10-q2pe.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_it-IT-JPQ66NNP_0v01xnc.js +0 -13
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ja-JP-DBVTYXUO_0.eic25.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_kaa-6HZHGXH3_13id57-.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_kab-KAB-ZGHBKWFO_0jqbq6p.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_kk-KZ-P5N5QNE5_0y68938.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_km-KH-HSX4SM5Z_0t81hs4.js +0 -13
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ko-KR-MTYHY66A_00hd9ok.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ku-TR-6OUDTVRD_0aj9zjv.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_lt-LT-XHIRWOB4_01n4nxs.js +0 -5
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_lv-LV-5QDEKY6T_09th_og.js +0 -9
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_mr-IN-CRQNXWMA_0f.mmnm.js +0 -15
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_my-MM-5M5IBNSE_0cmji~9.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_nb-NO-T6EIAALU_0ku81lh.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_nl-NL-IS3SIHDZ_014e40r.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_nn-NO-6E72VCQL_0__ozrm.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_oc-FR-POXYY2M6_10wf8hz.js +0 -10
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_pa-IN-N4M65BXN_0_-oitq.js +0 -6
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_percentages-BXMCSKIN_0zq.~3u.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_pl-PL-T2D74RX3_0iycp0l.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_pt-BR-5N22H2LF_13u2gn5.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_pt-PT-UZXXM6DQ_06zpa4y.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ro-RO-JPDTUUEW_0smzsn~.js +0 -13
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ru-RU-B4JR7IUQ_0k7tnk..js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_si-LK-N5RQ5JYF_0smiu._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_sk-SK-C5VTKIMK_0mw.bwx.js +0 -8
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_sl-SI-NN7IZMDC_0a~zfj2.js +0 -8
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_sv-SE-XGPEYMSR_13eyd19.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_ta-IN-2NMHFXQM_0gro~.p.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_th-TH-HPSO5L25_0g9-jlz.js +0 -4
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_tr-TR-DEFEU3FU_0hz_ysn.js +0 -9
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_uk-UA-QMV73CPH_0a-1zm_.js +0 -8
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_vi-VN-M7AON7JQ_064lk16.js +0 -7
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_zh-CN-LNUGB5OW_0tjfdi9.js +0 -12
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_zh-HK-E62DVLB3_02lyow7.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_locales_zh-TW-RAJ6MFWO_0_w~-rv.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_subset-shared_chunk_0ul_fou.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0e-l_@excalidraw_excalidraw_dist_prod_subset-worker_chunk_0zcuc2..js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0ga5_browser-fs-access_dist_directory-open-01563666_07ib74n.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0ga5_browser-fs-access_dist_directory-open-4ed118d0_0b4y6i6.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0ga5_browser-fs-access_dist_file-open-002ab408_0ez_z90.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0ga5_browser-fs-access_dist_file-open-7c801643_0y_pemm.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0ga5_browser-fs-access_dist_file-save-3189631c_0n_ka1t.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0ga5_browser-fs-access_dist_file-save-745eba88_0zl-ssm.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0lk~_image-blob-reduce_dist_image-blob-reduce_esm_mjs_12flbzg._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0o~2_canvas-roundrect-polyfill_roundRect_0e3y_~n.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0sd7_pica_dist_pica_05egg_..js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/0~w0_katex_dist_katex_mjs_0gmvgrf._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0d89mrm._.js +0 -14
- package/.next/standalone/.next/server/chunks/ssr/_0d28.zp._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0e1uo~z._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0k6g8yo._.js +0 -187
- package/.next/standalone/.next/server/chunks/ssr/_0sr4wj.._.js +0 -110
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0045hhh._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_02uqova._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_06xoojz._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0883ifk._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_08wjj_6._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_098q_0q._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0_rahb~._.js +0 -26
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0cxv0mk._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0d34dhx._.js +0 -11
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0deg.gs._.js +0 -31
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0djcgeo._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0fbxocr._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0fk6r5-._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0gict7y._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0mtv_af._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0orvks9._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0oupw24._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0rqsp1j._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0tnriso._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0tz8-2x._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0w5u-~w._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0ws7ot~._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0yect_i._.js +0 -45
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0ygdthn._.js +0 -42
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0z7wvui._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_0~ycrqy._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_1032cax._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_107~rhn._.js +0 -17
- package/.next/standalone/.next/server/chunks/ssr/node_modules__pnpm_13icm5c._.js +0 -3
- package/.next/standalone/.next/static/chunks/03d9mze.e_uaz.js +0 -12
- package/.next/standalone/.next/static/chunks/0_7f_-q0ts6hi.js +0 -1
- package/.next/standalone/.next/static/chunks/0dbqnlb6493qs.js +0 -1
- package/.next/standalone/.next/static/chunks/0drn9l.ihdwh-.js +0 -1
- package/.next/standalone/.next/static/chunks/0rows7ykoflq3.js +0 -1
- package/.next/standalone/.next/static/chunks/0ujpqxim7iqme.js +0 -1
- package/.next/standalone/.next/static/chunks/0xhfr19ysckbq.js +0 -185
- package/.next/standalone/.next/static/chunks/13yj3_o5lzr7c.css +0 -1
- /package/.next/standalone/.next/static/{BD2zQ3enmSM757-mX63JF → VYZLLvwqLcFG8USaPLlzQ}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{BD2zQ3enmSM757-mX63JF → VYZLLvwqLcFG8USaPLlzQ}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{BD2zQ3enmSM757-mX63JF → VYZLLvwqLcFG8USaPLlzQ}/_ssgManifest.js +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[754400,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.BLANK_URL=c.relativeFirstCharacters=c.whitespaceEscapeCharsRegex=c.urlSchemeRegex=c.ctrlCharactersRegex=c.htmlCtrlEntityRegex=c.htmlEntitiesRegex=c.invalidProtocolRegex=void 0,c.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,c.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,c.htmlCtrlEntityRegex=/&(newline|tab);/gi,c.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,c.urlSchemeRegex=/^.+(:|:)/gim,c.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,c.relativeFirstCharacters=[".","/"],c.BLANK_URL="about:blank"},319120,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.sanitizeUrl=function(a){if(!a)return d.BLANK_URL;var b,c=e(a.trim());do b=(c=e(c=c.replace(d.ctrlCharactersRegex,"").replace(d.htmlEntitiesRegex,function(a,b){return String.fromCharCode(b)}).replace(d.htmlCtrlEntityRegex,"").replace(d.ctrlCharactersRegex,"").replace(d.whitespaceEscapeCharsRegex,"").trim())).match(d.ctrlCharactersRegex)||c.match(d.htmlEntitiesRegex)||c.match(d.htmlCtrlEntityRegex)||c.match(d.whitespaceEscapeCharsRegex);while(b&&b.length>0)var f=c;if(!f)return d.BLANK_URL;if(d.relativeFirstCharacters.indexOf(f[0])>-1)return f;var g=f.trimStart(),h=g.match(d.urlSchemeRegex);if(!h)return f;var i=h[0].toLowerCase().trim();if(d.invalidProtocolRegex.test(i))return d.BLANK_URL;var j=g.replace(/\\/g,"/");if("mailto:"===i||i.includes("://"))return j;if("http:"===i||"https:"===i){if(!URL.canParse(j))return d.BLANK_URL;var k=new URL(j);return k.protocol=k.protocol.toLowerCase(),k.hostname=k.hostname.toLowerCase(),k.toString()}return j};var d=a.r(754400);function e(a){try{return decodeURIComponent(a)}catch(b){return a}}},774086,a=>{"use strict";let b=Math.abs,c=Math.atan2,d=Math.cos,e=Math.max,f=Math.min,g=Math.sin,h=Math.sqrt,i=Math.PI,j=i/2;a.s(["abs",0,b,"acos",0,function(a){return a>1?0:a<-1?i:Math.acos(a)},"asin",0,function(a){return a>=1?j:a<=-1?-j:Math.asin(a)},"atan2",0,c,"cos",0,d,"epsilon",0,1e-12,"halfPi",0,j,"max",0,e,"min",0,f,"pi",0,i,"sin",0,g,"sqrt",0,h,"tau",0,2*i])},389424,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0~w0_katex_dist_katex_mjs_0-.ao2a._.js"].map(b=>a.l(b))).then(()=>b(706823)))}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=node_modules__pnpm_0z7wvui._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[706860,a=>{"use strict";var b=a.i(604225),c=a.i(762939),d=(0,c.__name)(a=>{let{handDrawnSeed:c}=(0,b.getConfig2)();return{fill:a,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:a,seed:c}},"solidStateFill"),e=(0,c.__name)(a=>{let b=f([...a.cssCompiledStyles||[],...a.cssStyles||[],...a.labelStyle||[]]);return{stylesMap:b,stylesArray:[...b]}},"compileStyles"),f=(0,c.__name)(a=>{let b=new Map;return a.forEach(a=>{let[c,d]=a.split(":");b.set(c.trim(),d?.trim())}),b},"styles2Map"),g=(0,c.__name)(a=>"color"===a||"font-size"===a||"font-family"===a||"font-weight"===a||"font-style"===a||"text-decoration"===a||"text-align"===a||"text-transform"===a||"line-height"===a||"letter-spacing"===a||"word-spacing"===a||"text-shadow"===a||"text-overflow"===a||"white-space"===a||"word-wrap"===a||"word-break"===a||"overflow-wrap"===a||"hyphens"===a,"isLabelStyle"),h=(0,c.__name)(a=>{let{stylesArray:b}=e(a),c=[],d=[],f=[],h=[];return b.forEach(a=>{let b=a[0];g(b)?c.push(a.join(":")+" !important"):(d.push(a.join(":")+" !important"),b.includes("stroke")&&f.push(a.join(":")+" !important"),"fill"===b&&h.push(a.join(":")+" !important"))}),{labelStyles:c.join(";"),nodeStyles:d.join(";"),stylesArray:b,borderStyles:f,backgroundStyles:h}},"styles2String"),i=(0,c.__name)((a,c)=>{let{themeVariables:d,handDrawnSeed:f}=(0,b.getConfig2)(),{nodeBorder:g,mainBkg:h}=d,{stylesMap:i}=e(a);return Object.assign({roughness:.7,fill:i.get("fill")||h,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:i.get("stroke")||g,seed:f,strokeWidth:i.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:j(i.get("stroke-dasharray"))},c)},"userNodeOverrides"),j=(0,c.__name)(a=>{if(!a)return[0,0];let b=a.trim().split(/\s+/).map(Number);if(1===b.length){let a=isNaN(b[0])?0:b[0];return[a,a]}return[isNaN(b[0])?0:b[0],isNaN(b[1])?0:b[1]]},"getStrokeDashArray");a.s(["compileStyles",0,e,"isLabelStyle",0,g,"solidStateFill",0,d,"styles2String",0,h,"userNodeOverrides",0,i])},754400,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.BLANK_URL=c.relativeFirstCharacters=c.whitespaceEscapeCharsRegex=c.urlSchemeRegex=c.ctrlCharactersRegex=c.htmlCtrlEntityRegex=c.htmlEntitiesRegex=c.invalidProtocolRegex=void 0,c.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,c.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,c.htmlCtrlEntityRegex=/&(newline|tab);/gi,c.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,c.urlSchemeRegex=/^.+(:|:)/gim,c.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,c.relativeFirstCharacters=[".","/"],c.BLANK_URL="about:blank"},319120,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.sanitizeUrl=function(a){if(!a)return d.BLANK_URL;var b,c=e(a.trim());do b=(c=e(c=c.replace(d.ctrlCharactersRegex,"").replace(d.htmlEntitiesRegex,function(a,b){return String.fromCharCode(b)}).replace(d.htmlCtrlEntityRegex,"").replace(d.ctrlCharactersRegex,"").replace(d.whitespaceEscapeCharsRegex,"").trim())).match(d.ctrlCharactersRegex)||c.match(d.htmlEntitiesRegex)||c.match(d.htmlCtrlEntityRegex)||c.match(d.whitespaceEscapeCharsRegex);while(b&&b.length>0)var f=c;if(!f)return d.BLANK_URL;if(d.relativeFirstCharacters.indexOf(f[0])>-1)return f;var g=f.trimStart(),h=g.match(d.urlSchemeRegex);if(!h)return f;var i=h[0].toLowerCase().trim();if(d.invalidProtocolRegex.test(i))return d.BLANK_URL;var j=g.replace(/\\/g,"/");if("mailto:"===i||i.includes("://"))return j;if("http:"===i||"https:"===i){if(!URL.canParse(j))return d.BLANK_URL;var k=new URL(j);return k.protocol=k.protocol.toLowerCase(),k.hostname=k.hostname.toLowerCase(),k.toString()}return j};var d=a.r(754400);function e(a){try{return decodeURIComponent(a)}catch(b){return a}}},774086,a=>{"use strict";let b=Math.abs,c=Math.atan2,d=Math.cos,e=Math.max,f=Math.min,g=Math.sin,h=Math.sqrt,i=Math.PI,j=i/2;a.s(["abs",0,b,"acos",0,function(a){return a>1?0:a<-1?i:Math.acos(a)},"asin",0,function(a){return a>=1?j:a<=-1?-j:Math.asin(a)},"atan2",0,c,"cos",0,d,"epsilon",0,1e-12,"halfPi",0,j,"max",0,e,"min",0,f,"pi",0,i,"sin",0,g,"sqrt",0,h,"tau",0,2*i])},233111,514312,a=>{"use strict";a.s(["default",0,function(a){return function(){return a}}],233111);let b=Math.PI,c=2*b,d=c-1e-6;function e(a){this._+=a[0];for(let b=1,c=a.length;b<c;++b)this._+=arguments[b]+a[b]}class f{constructor(a){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==a?e:function(a){let b=Math.floor(a);if(!(b>=0))throw Error(`invalid digits: ${a}`);if(b>15)return e;let c=10**b;return function(a){this._+=a[0];for(let b=1,d=a.length;b<d;++b)this._+=Math.round(arguments[b]*c)/c+a[b]}}(a)}moveTo(a,b){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+b}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(a,b){this._append`L${this._x1=+a},${this._y1=+b}`}quadraticCurveTo(a,b,c,d){this._append`Q${+a},${+b},${this._x1=+c},${this._y1=+d}`}bezierCurveTo(a,b,c,d,e,f){this._append`C${+a},${+b},${+c},${+d},${this._x1=+e},${this._y1=+f}`}arcTo(a,c,d,e,f){if(a*=1,c*=1,d*=1,e*=1,(f*=1)<0)throw Error(`negative radius: ${f}`);let g=this._x1,h=this._y1,i=d-a,j=e-c,k=g-a,l=h-c,m=k*k+l*l;if(null===this._x1)this._append`M${this._x1=a},${this._y1=c}`;else if(m>1e-6)if(Math.abs(l*i-j*k)>1e-6&&f){let n=d-g,o=e-h,p=i*i+j*j,q=Math.sqrt(p),r=Math.sqrt(m),s=f*Math.tan((b-Math.acos((p+m-(n*n+o*o))/(2*q*r)))/2),t=s/r,u=s/q;Math.abs(t-1)>1e-6&&this._append`L${a+t*k},${c+t*l}`,this._append`A${f},${f},0,0,${+(l*n>k*o)},${this._x1=a+u*i},${this._y1=c+u*j}`}else this._append`L${this._x1=a},${this._y1=c}`}arc(a,e,f,g,h,i){if(a*=1,e*=1,f*=1,i=!!i,f<0)throw Error(`negative radius: ${f}`);let j=f*Math.cos(g),k=f*Math.sin(g),l=a+j,m=e+k,n=1^i,o=i?g-h:h-g;null===this._x1?this._append`M${l},${m}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-m)>1e-6)&&this._append`L${l},${m}`,f&&(o<0&&(o=o%c+c),o>d?this._append`A${f},${f},0,1,${n},${a-j},${e-k}A${f},${f},0,1,${n},${this._x1=l},${this._y1=m}`:o>1e-6&&this._append`A${f},${f},0,${+(o>=b)},${n},${this._x1=a+f*Math.cos(h)},${this._y1=e+f*Math.sin(h)}`)}rect(a,b,c,d){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+b}h${c*=1}v${+d}h${-c}Z`}toString(){return this._}}f.prototype,a.s(["withPath",0,function(a){let b=3;return a.digits=function(c){if(!arguments.length)return b;if(null==c)b=null;else{let a=Math.floor(c);if(!(a>=0))throw RangeError(`invalid digits: ${c}`);b=a}return a},()=>new f(b)}],514312)},604145,a=>{"use strict";Array.prototype.slice,a.s(["default",0,function(a){return"object"==typeof a&&"length"in a?a:Array.from(a)}])},298648,a=>{"use strict";var b=a.i(604145),c=a.i(233111),d=a.i(955072),e=a.i(514312);function f(a){return a[0]}function g(a){return a[1]}a.s(["line",0,function(a,h){var i=(0,c.default)(!0),j=null,k=d.default,l=null,m=(0,e.withPath)(n);function n(c){var d,e,f,g=(c=(0,b.default)(c)).length,n=!1;for(null==j&&(l=k(f=m())),d=0;d<=g;++d)!(d<g&&i(e=c[d],d,c))===n&&((n=!n)?l.lineStart():l.lineEnd()),n&&l.point(+a(e,d,c),+h(e,d,c));if(f)return l=null,f+""||null}return a="function"==typeof a?a:void 0===a?f:(0,c.default)(a),h="function"==typeof h?h:void 0===h?g:(0,c.default)(h),n.x=function(b){return arguments.length?(a="function"==typeof b?b:(0,c.default)(+b),n):a},n.y=function(a){return arguments.length?(h="function"==typeof a?a:(0,c.default)(+a),n):h},n.defined=function(a){return arguments.length?(i="function"==typeof a?a:(0,c.default)(!!a),n):i},n.curve=function(a){return arguments.length?(k=a,null!=j&&(l=k(j)),n):k},n.context=function(a){return arguments.length?(null==a?j=l=null:l=k(j=a),n):j},n}],298648)},211193,a=>{"use strict";var b=a.i(197112),c=a.i(604225),d=a.i(762939),e=(0,d.__name)(({flowchart:a})=>{let b=a?.subGraphTitleMargin?.top??0,c=a?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:b,subGraphTitleBottomMargin:c,subGraphTitleTotalMargin:b+c}},"getSubGraphTitleMargins");async function f(a,e){let f=a.getElementsByTagName("img");if(!f||0===f.length)return;let g=""===e.replace(/<img[^>]*>/g,"").trim();await Promise.all([...f].map(a=>new Promise(e=>{function f(){if(a.style.display="flex",a.style.flexDirection="column",g){let d=(0,c.getConfig2)().fontSize?(0,c.getConfig2)().fontSize:window.getComputedStyle(document.body).fontSize,[e=c.defaultConfig_default.fontSize]=(0,b.parseFontSize)(d),f=5*e+"px";a.style.minWidth=f,a.style.maxWidth=f}else a.style.width="100%";e(a)}(0,d.__name)(f,"setupImage"),setTimeout(()=>{a.complete&&f()}),a.addEventListener("error",f),a.addEventListener("load",f)})))}(0,d.__name)(f,"configureLabelImages"),a.s(["configureLabelImages",0,f,"getSubGraphTitleMargins",0,e])},764901,a=>{"use strict";var b=a.i(762939),c=(0,b.__name)((a,b)=>{if(b)return"translate("+-a.width/2+", "+-a.height/2+")";let c=a.x??0,d=a.y??0;return"translate("+-(c+a.width/2)+", "+-(d+a.height/2)+")"},"computeLabelTransform"),d={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5};function e(a,b){if(void 0===a||void 0===b)return{angle:0,deltaX:0,deltaY:0};a=f(a),b=f(b);let[c,d]=[a.x,a.y],[e,g]=[b.x,b.y],h=e-c,i=g-d;return{angle:Math.atan(i/h),deltaX:h,deltaY:i}}(0,b.__name)(e,"calculateDeltaAndAngle");var f=(0,b.__name)(a=>Array.isArray(a)?{x:a[0],y:a[1]}:a,"pointTransformer"),g=(0,b.__name)(a=>({x:(0,b.__name)(function(b,c,g){let h=0,i=f(g[0]).x<f(g[g.length-1]).x?"left":"right";if(0===c&&Object.hasOwn(d,a.arrowTypeStart)){let{angle:b,deltaX:c}=e(g[0],g[1]);h=d[a.arrowTypeStart]*Math.cos(b)*(c>=0?1:-1)}else if(c===g.length-1&&Object.hasOwn(d,a.arrowTypeEnd)){let{angle:b,deltaX:c}=e(g[g.length-1],g[g.length-2]);h=d[a.arrowTypeEnd]*Math.cos(b)*(c>=0?1:-1)}let j=Math.abs(f(b).x-f(g[g.length-1]).x),k=Math.abs(f(b).y-f(g[g.length-1]).y),l=Math.abs(f(b).x-f(g[0]).x),m=Math.abs(f(b).y-f(g[0]).y),n=d[a.arrowTypeStart],o=d[a.arrowTypeEnd];if(j<o&&j>0&&k<o){let a=o+1-j;a*="right"===i?-1:1,h-=a}if(l<n&&l>0&&m<n){let a=n+1-l;a*="right"===i?-1:1,h+=a}return f(b).x+h},"x"),y:(0,b.__name)(function(b,c,g){let h=0,i=f(g[0]).y<f(g[g.length-1]).y?"down":"up";if(0===c&&Object.hasOwn(d,a.arrowTypeStart)){let{angle:b,deltaY:c}=e(g[0],g[1]);h=d[a.arrowTypeStart]*Math.abs(Math.sin(b))*(c>=0?1:-1)}else if(c===g.length-1&&Object.hasOwn(d,a.arrowTypeEnd)){let{angle:b,deltaY:c}=e(g[g.length-1],g[g.length-2]);h=d[a.arrowTypeEnd]*Math.abs(Math.sin(b))*(c>=0?1:-1)}let j=Math.abs(f(b).y-f(g[g.length-1]).y),k=Math.abs(f(b).x-f(g[g.length-1]).x),l=Math.abs(f(b).y-f(g[0]).y),m=Math.abs(f(b).x-f(g[0]).x),n=d[a.arrowTypeStart],o=d[a.arrowTypeEnd];if(j<o&&j>0&&k<o){let a=o+1-j;a*="up"===i?-1:1,h-=a}if(l<n&&l>0&&m<n){let a=n+1-l;a*="up"===i?-1:1,h+=a}return f(b).y+h},"y")}),"getLineFunctionsWithOffset");a.s(["computeLabelTransform",0,c,"getLineFunctionsWithOffset",0,g,"markerOffsets",0,d,"markerOffsets2",0,{arrow_point:4,arrow_cross:12.5,arrow_circle:12.5}])},389424,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0~w0_katex_dist_katex_mjs_0-.ao2a._.js"].map(b=>a.l(b))).then(()=>b(706823)))}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=node_modules__pnpm_0~ycrqy._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[98071,a=>{"use strict";a.s(["initRange",0,function(a,b){switch(arguments.length){case 0:break;case 1:this.range(a);break;default:this.range(b).domain(a)}return this}])},443104,a=>{"use strict";class b extends Map{constructor(a,b=d){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:b}}),null!=a)for(const[b,c]of a)this.set(b,c)}get(a){return super.get(c(this,a))}has(a){return super.has(c(this,a))}set(a,b){return super.set(function({_intern:a,_key:b},c){let d=b(c);return a.has(d)?a.get(d):(a.set(d,c),c)}(this,a),b)}delete(a){return super.delete(function({_intern:a,_key:b},c){let d=b(c);return a.has(d)&&(c=a.get(d),a.delete(d)),c}(this,a))}}function c({_intern:a,_key:b},d){let e=b(d);return a.has(e)?a.get(e):d}function d(a){return null!==a&&"object"==typeof a?a.valueOf():a}var e=a.i(98071);let f=Symbol("implicit");a.s(["default",0,function a(){var c=new b,d=[],g=[],h=f;function i(a){let b=c.get(a);if(void 0===b){if(h!==f)return h;c.set(a,b=d.push(a)-1)}return g[b%g.length]}return i.domain=function(a){if(!arguments.length)return d.slice();for(let e of(d=[],c=new b,a))c.has(e)||c.set(e,d.push(e)-1);return i},i.range=function(a){return arguments.length?(g=Array.from(a),i):g.slice()},i.unknown=function(a){return arguments.length?(h=a,i):h},i.copy=function(){return a(d,g).unknown(h)},e.initRange.apply(i,arguments),i}],443104)},349876,a=>{"use strict";var b=a.i(443104);a.s(["scaleOrdinal",()=>b.default])},389424,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0~w0_katex_dist_katex_mjs_0-.ao2a._.js"].map(b=>a.l(b))).then(()=>b(706823)))}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=node_modules__pnpm_1032cax._.js.map
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports=[754400,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.BLANK_URL=c.relativeFirstCharacters=c.whitespaceEscapeCharsRegex=c.urlSchemeRegex=c.ctrlCharactersRegex=c.htmlCtrlEntityRegex=c.htmlEntitiesRegex=c.invalidProtocolRegex=void 0,c.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,c.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,c.htmlCtrlEntityRegex=/&(newline|tab);/gi,c.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,c.urlSchemeRegex=/^.+(:|:)/gim,c.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,c.relativeFirstCharacters=[".","/"],c.BLANK_URL="about:blank"},319120,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.sanitizeUrl=function(a){if(!a)return d.BLANK_URL;var b,c=e(a.trim());do b=(c=e(c=c.replace(d.ctrlCharactersRegex,"").replace(d.htmlEntitiesRegex,function(a,b){return String.fromCharCode(b)}).replace(d.htmlCtrlEntityRegex,"").replace(d.ctrlCharactersRegex,"").replace(d.whitespaceEscapeCharsRegex,"").trim())).match(d.ctrlCharactersRegex)||c.match(d.htmlEntitiesRegex)||c.match(d.htmlCtrlEntityRegex)||c.match(d.whitespaceEscapeCharsRegex);while(b&&b.length>0)var f=c;if(!f)return d.BLANK_URL;if(d.relativeFirstCharacters.indexOf(f[0])>-1)return f;var g=f.trimStart(),h=g.match(d.urlSchemeRegex);if(!h)return f;var i=h[0].toLowerCase().trim();if(d.invalidProtocolRegex.test(i))return d.BLANK_URL;var j=g.replace(/\\/g,"/");if("mailto:"===i||i.includes("://"))return j;if("http:"===i||"https:"===i){if(!URL.canParse(j))return d.BLANK_URL;var k=new URL(j);return k.protocol=k.protocol.toLowerCase(),k.hostname=k.hostname.toLowerCase(),k.toString()}return j};var d=a.r(754400);function e(a){try{return decodeURIComponent(a)}catch(b){return a}}},774086,a=>{"use strict";let b=Math.abs,c=Math.atan2,d=Math.cos,e=Math.max,f=Math.min,g=Math.sin,h=Math.sqrt,i=Math.PI,j=i/2;a.s(["abs",0,b,"acos",0,function(a){return a>1?0:a<-1?i:Math.acos(a)},"asin",0,function(a){return a>=1?j:a<=-1?-j:Math.asin(a)},"atan2",0,c,"cos",0,d,"epsilon",0,1e-12,"halfPi",0,j,"max",0,e,"min",0,f,"pi",0,i,"sin",0,g,"sqrt",0,h,"tau",0,2*i])},233111,514312,a=>{"use strict";a.s(["default",0,function(a){return function(){return a}}],233111);let b=Math.PI,c=2*b,d=c-1e-6;function e(a){this._+=a[0];for(let b=1,c=a.length;b<c;++b)this._+=arguments[b]+a[b]}class f{constructor(a){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==a?e:function(a){let b=Math.floor(a);if(!(b>=0))throw Error(`invalid digits: ${a}`);if(b>15)return e;let c=10**b;return function(a){this._+=a[0];for(let b=1,d=a.length;b<d;++b)this._+=Math.round(arguments[b]*c)/c+a[b]}}(a)}moveTo(a,b){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+b}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(a,b){this._append`L${this._x1=+a},${this._y1=+b}`}quadraticCurveTo(a,b,c,d){this._append`Q${+a},${+b},${this._x1=+c},${this._y1=+d}`}bezierCurveTo(a,b,c,d,e,f){this._append`C${+a},${+b},${+c},${+d},${this._x1=+e},${this._y1=+f}`}arcTo(a,c,d,e,f){if(a*=1,c*=1,d*=1,e*=1,(f*=1)<0)throw Error(`negative radius: ${f}`);let g=this._x1,h=this._y1,i=d-a,j=e-c,k=g-a,l=h-c,m=k*k+l*l;if(null===this._x1)this._append`M${this._x1=a},${this._y1=c}`;else if(m>1e-6)if(Math.abs(l*i-j*k)>1e-6&&f){let n=d-g,o=e-h,p=i*i+j*j,q=Math.sqrt(p),r=Math.sqrt(m),s=f*Math.tan((b-Math.acos((p+m-(n*n+o*o))/(2*q*r)))/2),t=s/r,u=s/q;Math.abs(t-1)>1e-6&&this._append`L${a+t*k},${c+t*l}`,this._append`A${f},${f},0,0,${+(l*n>k*o)},${this._x1=a+u*i},${this._y1=c+u*j}`}else this._append`L${this._x1=a},${this._y1=c}`}arc(a,e,f,g,h,i){if(a*=1,e*=1,f*=1,i=!!i,f<0)throw Error(`negative radius: ${f}`);let j=f*Math.cos(g),k=f*Math.sin(g),l=a+j,m=e+k,n=1^i,o=i?g-h:h-g;null===this._x1?this._append`M${l},${m}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-m)>1e-6)&&this._append`L${l},${m}`,f&&(o<0&&(o=o%c+c),o>d?this._append`A${f},${f},0,1,${n},${a-j},${e-k}A${f},${f},0,1,${n},${this._x1=l},${this._y1=m}`:o>1e-6&&this._append`A${f},${f},0,${+(o>=b)},${n},${this._x1=a+f*Math.cos(h)},${this._y1=e+f*Math.sin(h)}`)}rect(a,b,c,d){this._append`M${this._x0=this._x1=+a},${this._y0=this._y1=+b}h${c*=1}v${+d}h${-c}Z`}toString(){return this._}}f.prototype,a.s(["withPath",0,function(a){let b=3;return a.digits=function(c){if(!arguments.length)return b;if(null==c)b=null;else{let a=Math.floor(c);if(!(a>=0))throw RangeError(`invalid digits: ${c}`);b=a}return a},()=>new f(b)}],514312)},107198,a=>{"use strict";var b=(0,a.i(762939).__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");a.s(["getIconStyles",0,b])},357904,a=>{"use strict";var b=a.i(604225),c=a.i(762939),d=a.i(319120);a.i(43066);var e=a.i(455784),f=(0,c.__name)((a,b)=>{let c=a.append("rect");if(c.attr("x",b.x),c.attr("y",b.y),c.attr("fill",b.fill),c.attr("stroke",b.stroke),c.attr("width",b.width),c.attr("height",b.height),b.name&&c.attr("name",b.name),b.rx&&c.attr("rx",b.rx),b.ry&&c.attr("ry",b.ry),void 0!==b.attrs)for(let a in b.attrs)c.attr(a,b.attrs[a]);return b.class&&c.attr("class",b.class),c},"drawRect"),g=(0,c.__name)((a,b)=>{f(a,{x:b.startx,y:b.starty,width:b.stopx-b.startx,height:b.stopy-b.starty,fill:b.fill,stroke:b.stroke,class:"rect"}).lower()},"drawBackgroundRect"),h=(0,c.__name)((a,c)=>{let d=c.text.replace(b.lineBreakRegex," "),e=a.append("text");e.attr("x",c.x),e.attr("y",c.y),e.attr("class","legend"),e.style("text-anchor",c.anchor),c.class&&e.attr("class",c.class);let f=e.append("tspan");return f.attr("x",c.x+2*c.textMargin),f.text(d),e},"drawText"),i=(0,c.__name)((a,b,c,e)=>{let f=a.append("image");f.attr("x",b),f.attr("y",c);let g=(0,d.sanitizeUrl)(e);f.attr("xlink:href",g)},"drawImage"),j=(0,c.__name)((a,b,c,e)=>{let f=a.append("use");f.attr("x",b),f.attr("y",c);let g=(0,d.sanitizeUrl)(e);f.attr("xlink:href",`#${g}`)},"drawEmbeddedImage"),k=(0,c.__name)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),l=(0,c.__name)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),m=(0,c.__name)(()=>{let a=(0,e.select)(".mermaidTooltip");return a.empty()&&(a=(0,e.select)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),a},"createTooltip");a.s(["createTooltip",0,m,"drawBackgroundRect",0,g,"drawEmbeddedImage",0,j,"drawImage",0,i,"drawRect",0,f,"drawText",0,h,"getNoteRect",0,k,"getTextObj",0,l])},365007,a=>{"use strict";var b=a.i(233111),c=a.i(774086),d=a.i(514312);function e(a){return a.innerRadius}function f(a){return a.outerRadius}function g(a){return a.startAngle}function h(a){return a.endAngle}function i(a){return a&&a.padAngle}function j(a,b,d,e,f,g,h){var i=a-d,j=b-e,k=(h?g:-g)/(0,c.sqrt)(i*i+j*j),l=k*j,m=-k*i,n=a+l,o=b+m,p=d+l,q=e+m,r=(n+p)/2,s=(o+q)/2,t=p-n,u=q-o,v=t*t+u*u,w=f-g,x=n*q-p*o,y=(u<0?-1:1)*(0,c.sqrt)((0,c.max)(0,w*w*v-x*x)),z=(x*u-t*y)/v,A=(-x*t-u*y)/v,B=(x*u+t*y)/v,C=(-x*t+u*y)/v,D=z-r,E=A-s,F=B-r,G=C-s;return D*D+E*E>F*F+G*G&&(z=B,A=C),{cx:z,cy:A,x01:-l,y01:-m,x11:z*(f/w-1),y11:A*(f/w-1)}}a.s(["arc",0,function(){var a=e,k=f,l=(0,b.default)(0),m=null,n=g,o=h,p=i,q=null,r=(0,d.withPath)(s);function s(){var b,d,e=+a.apply(this,arguments),f=+k.apply(this,arguments),g=n.apply(this,arguments)-c.halfPi,h=o.apply(this,arguments)-c.halfPi,i=(0,c.abs)(h-g),s=h>g;if(q||(q=b=r()),f<e&&(d=f,f=e,e=d),f>c.epsilon)if(i>c.tau-c.epsilon)q.moveTo(f*(0,c.cos)(g),f*(0,c.sin)(g)),q.arc(0,0,f,g,h,!s),e>c.epsilon&&(q.moveTo(e*(0,c.cos)(h),e*(0,c.sin)(h)),q.arc(0,0,e,h,g,s));else{var t,u,v=g,w=h,x=g,y=h,z=i,A=i,B=p.apply(this,arguments)/2,C=B>c.epsilon&&(m?+m.apply(this,arguments):(0,c.sqrt)(e*e+f*f)),D=(0,c.min)((0,c.abs)(f-e)/2,+l.apply(this,arguments)),E=D,F=D;if(C>c.epsilon){var G=(0,c.asin)(C/e*(0,c.sin)(B)),H=(0,c.asin)(C/f*(0,c.sin)(B));(z-=2*G)>c.epsilon?(G*=s?1:-1,x+=G,y-=G):(z=0,x=y=(g+h)/2),(A-=2*H)>c.epsilon?(H*=s?1:-1,v+=H,w-=H):(A=0,v=w=(g+h)/2)}var I=f*(0,c.cos)(v),J=f*(0,c.sin)(v),K=e*(0,c.cos)(y),L=e*(0,c.sin)(y);if(D>c.epsilon){var M,N=f*(0,c.cos)(w),O=f*(0,c.sin)(w),P=e*(0,c.cos)(x),Q=e*(0,c.sin)(x);if(i<c.pi)if(M=function(a,b,d,e,f,g,h,i){var j=d-a,k=e-b,l=h-f,m=i-g,n=m*j-l*k;if(!(n*n<c.epsilon))return n=(l*(b-g)-m*(a-f))/n,[a+n*j,b+n*k]}(I,J,P,Q,N,O,K,L)){var R=I-M[0],S=J-M[1],T=N-M[0],U=O-M[1],V=1/(0,c.sin)((0,c.acos)((R*T+S*U)/((0,c.sqrt)(R*R+S*S)*(0,c.sqrt)(T*T+U*U)))/2),W=(0,c.sqrt)(M[0]*M[0]+M[1]*M[1]);E=(0,c.min)(D,(e-W)/(V-1)),F=(0,c.min)(D,(f-W)/(V+1))}else E=F=0}A>c.epsilon?F>c.epsilon?(t=j(P,Q,I,J,f,F,s),u=j(N,O,K,L,f,F,s),q.moveTo(t.cx+t.x01,t.cy+t.y01),F<D?q.arc(t.cx,t.cy,F,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(u.y01,u.x01),!s):(q.arc(t.cx,t.cy,F,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(t.y11,t.x11),!s),q.arc(0,0,f,(0,c.atan2)(t.cy+t.y11,t.cx+t.x11),(0,c.atan2)(u.cy+u.y11,u.cx+u.x11),!s),q.arc(u.cx,u.cy,F,(0,c.atan2)(u.y11,u.x11),(0,c.atan2)(u.y01,u.x01),!s))):(q.moveTo(I,J),q.arc(0,0,f,v,w,!s)):q.moveTo(I,J),e>c.epsilon&&z>c.epsilon?E>c.epsilon?(t=j(K,L,N,O,e,-E,s),u=j(I,J,P,Q,e,-E,s),q.lineTo(t.cx+t.x01,t.cy+t.y01),E<D?q.arc(t.cx,t.cy,E,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(u.y01,u.x01),!s):(q.arc(t.cx,t.cy,E,(0,c.atan2)(t.y01,t.x01),(0,c.atan2)(t.y11,t.x11),!s),q.arc(0,0,e,(0,c.atan2)(t.cy+t.y11,t.cx+t.x11),(0,c.atan2)(u.cy+u.y11,u.cx+u.x11),s),q.arc(u.cx,u.cy,E,(0,c.atan2)(u.y11,u.x11),(0,c.atan2)(u.y01,u.x01),!s))):q.arc(0,0,e,y,x,s):q.lineTo(K,L)}else q.moveTo(0,0);if(q.closePath(),b)return q=null,b+""||null}return s.centroid=function(){var b=(+a.apply(this,arguments)+ +k.apply(this,arguments))/2,d=(+n.apply(this,arguments)+ +o.apply(this,arguments))/2-c.pi/2;return[(0,c.cos)(d)*b,(0,c.sin)(d)*b]},s.innerRadius=function(c){return arguments.length?(a="function"==typeof c?c:(0,b.default)(+c),s):a},s.outerRadius=function(a){return arguments.length?(k="function"==typeof a?a:(0,b.default)(+a),s):k},s.cornerRadius=function(a){return arguments.length?(l="function"==typeof a?a:(0,b.default)(+a),s):l},s.padRadius=function(a){return arguments.length?(m=null==a?null:"function"==typeof a?a:(0,b.default)(+a),s):m},s.startAngle=function(a){return arguments.length?(n="function"==typeof a?a:(0,b.default)(+a),s):n},s.endAngle=function(a){return arguments.length?(o="function"==typeof a?a:(0,b.default)(+a),s):o},s.padAngle=function(a){return arguments.length?(p="function"==typeof a?a:(0,b.default)(+a),s):p},s.context=function(a){return arguments.length?(q=null==a?null:a,s):q},s}],365007)},389424,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0~w0_katex_dist_katex_mjs_0-.ao2a._.js"].map(b=>a.l(b))).then(()=>b(706823)))}];
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=node_modules__pnpm_107~rhn._.js.map
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
module.exports=[432623,a=>{"use strict";var b=a.i(604225),c=a.i(762939),d=(0,c.__name)((a,d,g,h)=>{a.attr("class",g);let{width:i,height:j,x:k,y:l}=e(a,d);(0,b.configureSvgSize)(a,j,i,h);let m=f(k,l,i,j,d);a.attr("viewBox",m),c.log.debug(`viewBox configured: ${m} with padding: ${d}`)},"setupViewPortForSVG"),e=(0,c.__name)((a,b)=>{let c=a.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:c.width+2*b,height:c.height+2*b,x:c.x,y:c.y}},"calculateDimensionsWithPadding"),f=(0,c.__name)((a,b,c,d,e)=>`${a-e} ${b-e} ${c} ${d}`,"createViewBox");a.s(["setupViewPortForSVG",0,d])},394900,a=>{"use strict";var b=a.i(762939);a.i(43066);var c=a.i(455784),d=(0,b.__name)((a,b)=>{let d;return"sandbox"===b&&(d=(0,c.select)("#i"+a)),("sandbox"===b?(0,c.select)(d.nodes()[0].contentDocument.body):(0,c.select)("body")).select(`[id="${a}"]`)},"getDiagramElement");a.s(["getDiagramElement",0,d])},493028,a=>{"use strict";var b=a.i(927163);a.i(394900),a.i(432623),a.i(616300),a.i(762927),a.i(764901),a.i(215586),a.i(211193),a.i(706860),a.i(654669),a.i(197112),a.i(604225);var c=a.i(762939),d={parser:b.stateDiagram_default,get db(){return new b.StateDB(2)},renderer:b.stateRenderer_v3_unified_default,styles:b.styles_default,init:(0,c.__name)(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")};a.s(["diagram",0,d])},389424,a=>{a.v(b=>Promise.all(["server/chunks/ssr/0~w0_katex_dist_katex_mjs_0-.ao2a._.js"].map(b=>a.l(b))).then(()=>b(706823)))},765822,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules__pnpm_0~ycrqy._.js","server/chunks/ssr/12y~_mermaid_dist_chunks_mermaid_core_dagre-BM42HDAG_mjs_05ekknz._.js","server/chunks/ssr/12y~_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_0v4oeem._.js","server/chunks/ssr/node_modules__pnpm_00krony._.js","server/chunks/ssr/0hhx_roughjs_bundled_rough_esm_0hyphnf.js","server/chunks/ssr/12y~_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_11437bo._.js","server/chunks/ssr/12y~_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_01i7moi._.js","server/chunks/ssr/08s9_dagre-d3-es_src_dagre_index_0iwjukf.js","server/chunks/ssr/node_modules__pnpm_0aq-myi._.js","server/chunks/ssr/12y~_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_09p1amp._.js","server/chunks/ssr/12y~_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_0z1.978._.js"].map(b=>a.l(b))).then(()=>b(231095)))},862132,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules__pnpm_00krony._.js","server/chunks/ssr/0x1o_cytoscape_dist_cytoscape_esm_mjs_07j31s-._.js","server/chunks/ssr/node_modules__pnpm_0e02cc2._.js"].map(b=>a.l(b))).then(()=>b(871672)))}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=node_modules__pnpm_13icm5c._.js.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,294598,e=>{"use strict";var t=Object.defineProperty,a=e.z;e.s(["a",0,a,"b",0,e=>t=>{var a=e[t];if(a)return a();throw Error("Module not found in bundle: "+t)},"c",0,(e,a)=>{for(var r in a)t(e,r,{get:a[r],enumerable:!0})},"d",0,(e,a,r)=>{let n;return(n="symbol"!=typeof a?a+"":a)in e?t(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r}])},354502,e=>{"use strict";e.s(["apiUrl",0,function(e){if(!e.startsWith("/"))return e;let t=window.__WIKI_PREFIX??"";return!t||e.startsWith(t+"/")||e===t?e:t+e},"isLite",0,function(){return!0===window.__WIKI_LITE}])},691520,e=>{"use strict";let t=(0,e.i(605993).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],691520)},897802,455470,e=>{"use strict";e.s(["ok",0,function(){},"unreachable",0,function(){}],897802);let t=c(/[A-Za-z]/),a=c(/[\dA-Za-z]/),r=c(/[#-'*+\--9=?A-Z^-~]/),n=c(/\d/),o=c(/[\dA-Fa-f]/),i=c(/[!-/:-@[-`{-~]/),s=c(/\p{P}|\p{S}/u),l=c(/\s/);function c(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}e.s(["asciiAlpha",0,t,"asciiAlphanumeric",0,a,"asciiAtext",0,r,"asciiControl",0,function(e){return null!==e&&(e<32||127===e)},"asciiDigit",0,n,"asciiHexDigit",0,o,"asciiPunctuation",0,i,"markdownLineEnding",0,function(e){return null!==e&&e<-2},"markdownLineEndingOrSpace",0,function(e){return null!==e&&(e<0||32===e)},"markdownSpace",0,function(e){return -2===e||-1===e||32===e},"unicodePunctuation",0,s,"unicodeWhitespace",0,l],455470)},106227,e=>{"use strict";e.s(["default",0,function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}])},402652,173119,e=>{"use strict";let t=function(e){var n,o;if(null==e)return r;if("function"==typeof e)return a(e);if("object"==typeof e){return Array.isArray(e)?function(e){let r=[],n=-1;for(;++n<e.length;)r[n]=t(e[n]);return a(function(...e){let t=-1;for(;++t<r.length;)if(r[t].apply(this,e))return!0;return!1})}(e):(n=e,a(function(e){let t;for(t in n)if(e[t]!==n[t])return!1;return!0}))}if("string"==typeof e){return o=e,a(function(e){return e&&e.type===o})}throw Error("Expected function, string, or object as test")};function a(e){return function(t,a,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof a?a:void 0,r||void 0))}}function r(){return!0}e.s(["convert",0,t],173119);let n=[];e.s(["EXIT",0,!1,"visitParents",0,function(e,a,r,o){let i;"function"==typeof a&&"function"!=typeof r?(o=r,r=a):i=a;let s=t(i),l=o?-1:1;(function e(t,i,c){let d=t&&"object"==typeof t?t:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(u,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return u;function u(){var d;let u,m,h,p=n;if((!a||s(t,i,c[c.length-1]||void 0))&&!1===(p=Array.isArray(d=r(t,c))?d:"number"==typeof d?[!0,d]:null==d?n:[d])[0])return p;if("children"in t&&t.children&&t.children&&"skip"!==p[0])for(m=(o?t.children.length:-1)+l,h=c.concat(t);m>-1&&m<t.children.length;){if(!1===(u=e(t.children[m],m,h)())[0])return u;m="number"==typeof u[1]?u[1]:m+l}return p}})(e,void 0,[])()}],402652)},216920,e=>{"use strict";var t=e.i(402652);e.s(["visit",0,function(e,a,r,n){let o,i,s;"function"==typeof a&&"function"!=typeof r?(i=void 0,s=a,o=r):(i=a,s=r,o=n),(0,t.visitParents)(e,i,function(e,t){let a=t[t.length-1],r=a?a.children.indexOf(e):void 0;return s(e,r,a)},o)}])},470284,e=>{"use strict";e.s(["ccount",0,function(e,t){let a=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,n=a.indexOf(t);for(;-1!==n;)r++,n=a.indexOf(t,n+t.length);return r}])},784484,e=>{"use strict";e.s(["normalizeIdentifier",0,function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}])},227066,e=>{"use strict";var t=e.i(455470);e.s(["classifyCharacter",0,function(e){return null===e||(0,t.markdownLineEndingOrSpace)(e)||(0,t.unicodeWhitespace)(e)?1:(0,t.unicodePunctuation)(e)?2:void 0}])},12105,e=>{"use strict";let t={};function a(e,t,a){var n;if((n=e)&&"object"==typeof n){if("value"in e)return"html"!==e.type||a?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return r(e.children,t,a)}return Array.isArray(e)?r(e,t,a):""}function r(e,t,r){let n=[],o=-1;for(;++o<e.length;)n[o]=a(e[o],t,r);return n.join("")}e.s(["toString",0,function(e,r){let n=r||t;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}])},144819,559245,e=>{"use strict";function t(e,t,a,r){let n,o=e.length,i=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,a=a>0?a:0,r.length<1e4)(n=Array.from(r)).unshift(t,a),e.splice(...n);else for(a&&e.splice(t,a);i<r.length;)(n=r.slice(i,i+1e4)).unshift(t,0),e.splice(...n),i+=1e4,t+=1e4}e.s(["push",0,function(e,a){return e.length>0?(t(e,e.length,0,a),e):a},"splice",0,t],559245);let a={}.hasOwnProperty;e.s(["combineExtensions",0,function(e){let r={},n=-1;for(;++n<e.length;)!function(e,r){let n;for(n in r){let o,i=(a.call(e,n)?e[n]:void 0)||(e[n]={}),s=r[n];if(s)for(o in s){a.call(i,o)||(i[o]=[]);let e=s[o];!function(e,a){let r=-1,n=[];for(;++r<a.length;)("after"===a[r].add?e:n).push(a[r]);t(e,0,0,n)}(i[o],Array.isArray(e)?e:e?[e]:[])}}}(r,e[n]);return r}],144819)},51256,133220,e=>{"use strict";var t=e.i(455470);function a(e,a,r,n){let o=n?n-1:1/0,i=0;return function(n){return(0,t.markdownSpace)(n)?(e.enter(r),function n(s){return(0,t.markdownSpace)(s)&&i++<o?(e.consume(s),n):(e.exit(r),a(s))}(n)):a(n)}}e.s(["factorySpace",0,a],133220),e.s(["blankLine",0,{partial:!0,tokenize:function(e,r,n){return function(r){return(0,t.markdownSpace)(r)?a(e,o,"linePrefix")(r):o(r)};function o(e){return null===e||(0,t.markdownLineEnding)(e)?r(e):n(e)}}}],51256)},705568,e=>{"use strict";e.s(["resolveAll",0,function(e,t,a){let r=[],n=-1;for(;++n<e.length;){let o=e[n].resolveAll;o&&!r.includes(o)&&(t=o(t,a),r.push(o))}return t}])},139825,e=>{"use strict";e.s(["a",0,100,"b",0,36,"c",0,{"ar-SA":94,"az-AZ":17,"bg-BG":71,"bn-BD":52,"ca-ES":83,"cs-CZ":86,"da-DK":61,"de-DE":100,"el-GR":80,en:100,"es-ES":96,"eu-ES":97,"fa-IR":84,"fi-FI":76,"fr-FR":99,"gl-ES":86,"he-IL":77,"hi-IN":76,"hu-HU":76,"id-ID":91,"it-IT":98,"ja-JP":90,kaa:36,"kab-KAB":76,"kk-KZ":18,"km-KH":83,"ko-KR":100,"ku-TR":87,"lt-LT":48,"lv-LV":77,"mr-IN":98,"my-MM":35,"nb-NO":93,"nl-NL":75,"nn-NO":67,"oc-FR":92,"pa-IN":78,"pl-PL":99,"pt-BR":91,"pt-PT":83,"ro-RO":99,"ru-RU":92,"si-LK":7,"sk-SK":100,"sl-SI":100,"sv-SE":100,"ta-IN":81,"th-TH":44,"tr-TR":87,"uk-UA":93,"vi-VN":49,"zh-CN":100,"zh-HK":22,"zh-TW":100}])},238533,e=>{"use strict";var t={paste:"Paste",pasteAsPlaintext:"Paste as plaintext",pasteCharts:"Paste charts",selectAll:"Select all",multiSelect:"Add element to selection",moveCanvas:"Move canvas",cut:"Cut",copy:"Copy",copyAsPng:"Copy to clipboard as PNG",copyAsSvg:"Copy to clipboard as SVG",copyText:"Copy to clipboard as text",copySource:"Copy source to clipboard",convertToCode:"Convert to code",bringForward:"Bring forward",sendToBack:"Send to back",bringToFront:"Bring to front",sendBackward:"Send backward",delete:"Delete",copyStyles:"Copy styles",pasteStyles:"Paste styles",stroke:"Stroke",changeStroke:"Change stroke color",background:"Background",changeBackground:"Change background color",fill:"Fill",strokeWidth:"Stroke width",strokeStyle:"Stroke style",strokeStyle_solid:"Solid",strokeStyle_dashed:"Dashed",strokeStyle_dotted:"Dotted",sloppiness:"Sloppiness",opacity:"Opacity",textAlign:"Text align",edges:"Edges",sharp:"Sharp",round:"Round",arrowheads:"Arrowheads",arrowhead_none:"None",arrowhead_arrow:"Arrow",arrowhead_bar:"Bar",arrowhead_circle:"Circle",arrowhead_circle_outline:"Circle (outline)",arrowhead_triangle:"Triangle",arrowhead_triangle_outline:"Triangle (outline)",arrowhead_diamond:"Diamond",arrowhead_diamond_outline:"Diamond (outline)",arrowhead_crowfoot_many:"Crow's foot (many)",arrowhead_crowfoot_one:"Crow's foot (one)",arrowhead_crowfoot_one_or_many:"Crow's foot (one or many)",more_options:"More options",arrowtypes:"Arrow type",arrowtype_sharp:"Sharp arrow",arrowtype_round:"Curved arrow",arrowtype_elbowed:"Elbow arrow",fontSize:"Font size",fontFamily:"Font family",addWatermark:'Add "Made with Excalidraw"',handDrawn:"Hand-drawn",normal:"Normal",code:"Code",small:"Small",medium:"Medium",large:"Large",veryLarge:"Very large",solid:"Solid",hachure:"Hachure",zigzag:"Zigzag",crossHatch:"Cross-hatch",thin:"Thin",bold:"Bold",left:"Left",center:"Center",right:"Right",extraBold:"Extra bold",architect:"Architect",artist:"Artist",cartoonist:"Cartoonist",fileTitle:"File name",colorPicker:"Color picker",canvasColors:"Used on canvas",canvasBackground:"Canvas background",drawingCanvas:"Drawing canvas",clearCanvas:"Clear canvas",layers:"Layers",actions:"Actions",language:"Language",liveCollaboration:"Live collaboration...",duplicateSelection:"Duplicate",untitled:"Untitled",name:"Name",yourName:"Your name",madeWithExcalidraw:"Made with Excalidraw",group:"Group selection",ungroup:"Ungroup selection",collaborators:"Collaborators",toggleGrid:"Toggle grid",addToLibrary:"Add to library",removeFromLibrary:"Remove from library",libraryLoadingMessage:"Loading library…",libraries:"Browse libraries",loadingScene:"Loading scene…",loadScene:"Load scene from file",align:"Align",alignTop:"Align top",alignBottom:"Align bottom",alignLeft:"Align left",alignRight:"Align right",centerVertically:"Center vertically",centerHorizontally:"Center horizontally",distributeHorizontally:"Distribute horizontally",distributeVertically:"Distribute vertically",flipHorizontal:"Flip horizontal",flipVertical:"Flip vertical",viewMode:"View mode",share:"Share",showStroke:"Show stroke color picker",showBackground:"Show background color picker",showFonts:"Show font picker",toggleTheme:"Toggle light/dark theme",theme:"Theme",personalLib:"Personal Library",excalidrawLib:"Excalidraw Library",decreaseFontSize:"Decrease font size",increaseFontSize:"Increase font size",unbindText:"Unbind text",bindText:"Bind text to the container",createContainerFromText:"Wrap text in a container",link:{edit:"Edit link",editEmbed:"Edit embeddable link",create:"Add link",label:"Link",labelEmbed:"Link & embed",empty:"No link is set",hint:"Type or paste your link here",goToElement:"Go to target element"},lineEditor:{edit:"Edit line",editArrow:"Edit arrow"},elementLock:{lock:"Lock",unlock:"Unlock",lockAll:"Lock all",unlockAll:"Unlock all"},statusPublished:"Published",sidebarLock:"Keep sidebar open",selectAllElementsInFrame:"Select all elements in frame",removeAllElementsFromFrame:"Remove all elements from frame",eyeDropper:"Pick color from canvas",textToDiagram:"Text to diagram",prompt:"Prompt",followUs:"Follow us",discordChat:"Discord chat",zoomToFitViewport:"Zoom to fit in viewport",zoomToFitSelection:"Zoom to fit selection",zoomToFit:"Zoom to fit all elements",installPWA:"Install Excalidraw locally (PWA)",autoResize:"Enable text auto-resizing",imageCropping:"Image cropping",unCroppedDimension:"Uncropped dimension",copyElementLink:"Copy link to object",linkToElement:"Link to object",wrapSelectionInFrame:"Wrap selection in frame"},a={title:"Link to object",desc:"Click on a shape on canvas or paste a link.",notFound:"Linked object wasn't found on canvas."},r={noItems:"No items added yet...",hint_emptyLibrary:"Select an item on canvas to add it here, or install a library from the public repository, below.",hint_emptyPrivateLibrary:"Select an item on canvas to add it here."},n={title:"Find on canvas",noMatch:"No matches found...",singleResult:"result",multipleResults:"results",placeholder:"Find text on canvas..."},o={clearReset:"Reset the canvas",exportJSON:"Export to file",exportImage:"Export image...",export:"Save to...",copyToClipboard:"Copy to clipboard",copyLink:"Copy link",save:"Save to current file",saveAs:"Save as",load:"Open",getShareableLink:"Get shareable link",close:"Close",selectLanguage:"Select language",scrollBackToContent:"Scroll back to content",zoomIn:"Zoom in",zoomOut:"Zoom out",resetZoom:"Reset zoom",menu:"Menu",done:"Done",edit:"Edit",undo:"Undo",redo:"Redo",resetLibrary:"Reset library",createNewRoom:"Create new room",fullScreen:"Full screen",darkMode:"Dark mode",lightMode:"Light mode",systemMode:"System mode",zenMode:"Zen mode",objectsSnapMode:"Snap to objects",exitZenMode:"Exit zen mode",cancel:"Cancel",clear:"Clear",remove:"Remove",embed:"Toggle embedding",publishLibrary:"Publish",submit:"Submit",confirm:"Confirm",embeddableInteractionButton:"Click to interact"},i={clearReset:"This will clear the whole canvas. Are you sure?",couldNotCreateShareableLink:"Couldn't create shareable link.",couldNotCreateShareableLinkTooBig:"Couldn't create shareable link: the scene is too big",couldNotLoadInvalidFile:"Couldn't load invalid file",importBackendFailed:"Importing from backend failed.",cannotExportEmptyCanvas:"Cannot export empty canvas.",couldNotCopyToClipboard:"Couldn't copy to clipboard.",decryptFailed:"Couldn't decrypt data.",uploadedSecurly:"The upload has been secured with end-to-end encryption, which means that Excalidraw server and third parties can't read the content.",loadSceneOverridePrompt:"Loading external drawing will replace your existing content. Do you wish to continue?",collabStopOverridePrompt:`Stopping the session will overwrite your previous, locally stored drawing. Are you sure?
|
|
2
|
-
|
|
3
|
-
(If you want to keep your local drawing, simply close the browser tab instead.)`,errorAddingToLibrary:"Couldn't add item to the library",errorRemovingFromLibrary:"Couldn't remove item from the library",confirmAddLibrary:"This will add {{numShapes}} shape(s) to your library. Are you sure?",imageDoesNotContainScene:"This image does not seem to contain any scene data. Have you enabled scene embedding during export?",cannotRestoreFromImage:"Scene couldn't be restored from this image file",invalidSceneUrl:"Couldn't import scene from the supplied URL. It's either malformed, or doesn't contain valid Excalidraw JSON data.",resetLibrary:"This will clear your library. Are you sure?",removeItemsFromsLibrary:"Delete {{count}} item(s) from library?",invalidEncryptionKey:"Encryption key must be of 22 characters. Live collaboration is disabled.",collabOfflineWarning:`No internet connection available.
|
|
4
|
-
Your changes will not be saved!`},s={unsupportedFileType:"Unsupported file type.",imageInsertError:"Couldn't insert image. Try again later...",fileTooBig:"File is too big. Maximum allowed size is {{maxSize}}.",svgImageInsertError:"Couldn't insert SVG image. The SVG markup looks invalid.",failedToFetchImage:"Failed to fetch image.",cannotResolveCollabServer:"Couldn't connect to the collab server. Please reload the page and try again.",importLibraryError:"Couldn't load library",saveLibraryError:"Couldn't save library to storage. Please save your library to a file locally to make sure you don't lose changes.",collabSaveFailed:"Couldn't save to the backend database. If problems persist, you should save your file locally to ensure you don't lose your work.",collabSaveFailed_sizeExceeded:"Couldn't save to the backend database, the canvas seems to be too big. You should save the file locally to ensure you don't lose your work.",imageToolNotSupported:"Images are disabled.",brave_measure_text_error:{line1:"Looks like you are using Brave browser with the <bold>Aggressively Block Fingerprinting</bold> setting enabled.",line2:"This could result in breaking the <bold>Text Elements</bold> in your drawings.",line3:"We strongly recommend disabling this setting. You can follow <link>these steps</link> on how to do so.",line4:"If disabling this setting doesn't fix the display of text elements, please open an <issueLink>issue</issueLink> on our GitHub, or write us on <discordLink>Discord</discordLink>"},libraryElementTypeError:{embeddable:"Embeddable elements cannot be added to the library.",iframe:"IFrame elements cannot be added to the library.",image:"Support for adding images to the library coming soon!"},asyncPasteFailedOnRead:"Couldn't paste (couldn't read from system clipboard).",asyncPasteFailedOnParse:"Couldn't paste.",copyToSystemClipboardFailed:"Couldn't copy to clipboard."},l={selection:"Selection",image:"Insert image",rectangle:"Rectangle",diamond:"Diamond",ellipse:"Ellipse",arrow:"Arrow",line:"Line",freedraw:"Draw",text:"Text",library:"Library",lock:"Keep selected tool active after drawing",penMode:"Pen mode - prevent touch",link:"Add / Update link for a selected shape",eraser:"Eraser",frame:"Frame tool",magicframe:"Wireframe to code",embeddable:"Web Embed",laser:"Laser pointer",hand:"Hand (panning tool)",extraTools:"More tools",mermaidToExcalidraw:"Mermaid to Excalidraw"},c={rectangle:"Rectangle",diamond:"Diamond",ellipse:"Ellipse",arrow:"Arrow",line:"Line",freedraw:"Freedraw",text:"Text",image:"Image",group:"Group",frame:"Frame",magicframe:"Wireframe to code",embeddable:"Web Embed",selection:"Selection",iframe:"IFrame"},d={canvasActions:"Canvas actions",selectedShapeActions:"Selected shape actions",shapes:"Shapes"},u={dismissSearch:"Escape to dismiss search",canvasPanning:"To move canvas, hold mouse wheel or spacebar while dragging, or use the hand tool",linearElement:"Click to start multiple points, drag for single line",arrowTool:"Click to start multiple points, drag for single line. Press {{arrowShortcut}} again to change arrow type.",freeDraw:"Click and drag, release when you're finished",text:"Tip: you can also add text by double-clicking anywhere with the selection tool",embeddable:"Click-drag to create a website embed",text_selected:"Double-click or press ENTER to edit text",text_editing:"Press Escape or CtrlOrCmd+ENTER to finish editing",linearElementMulti:"Click on last point or press Escape or Enter to finish",lockAngle:"You can constrain angle by holding SHIFT",resize:`You can constrain proportions by holding SHIFT while resizing,
|
|
5
|
-
hold ALT to resize from the center`,resizeImage:`You can resize freely by holding SHIFT,
|
|
6
|
-
hold ALT to resize from the center`,rotate:"You can constrain angles by holding SHIFT while rotating",lineEditor_info:"Hold CtrlOrCmd and Double-click or press CtrlOrCmd + Enter to edit points",lineEditor_pointSelected:`Press Delete to remove point(s),
|
|
7
|
-
CtrlOrCmd+D to duplicate, or drag to move`,lineEditor_nothingSelected:`Select a point to edit (hold SHIFT to select multiple),
|
|
8
|
-
or hold Alt and click to add new points`,placeImage:"Click to place the image, or click and drag to set its size manually",publishLibrary:"Publish your own library",bindTextToElement:"Press enter to add text",createFlowchart:"Hold CtrlOrCmd and Arrow key to create a flowchart",deepBoxSelect:"Hold CtrlOrCmd to deep select, and to prevent dragging",eraserRevert:"Hold Alt to revert the elements marked for deletion",firefox_clipboard_write:'This feature can likely be enabled by setting the "dom.events.asyncClipboard.clipboardItem" flag to "true". To change the browser flags in Firefox, visit the "about:config" page.',disableSnapping:"Hold CtrlOrCmd to disable snapping",enterCropEditor:"Double click the image or press ENTER to crop the image",leaveCropEditor:"Click outside the image or press ENTER or ESCAPE to finish cropping"},m={cannotShowPreview:"Cannot show preview",canvasTooBig:"The canvas may be too big.",canvasTooBigTip:"Tip: try moving the farthest elements a bit closer together."},h={headingMain:"Encountered an error. Try <button>reloading the page</button>.",clearCanvasMessage:"If reloading doesn't work, try <button>clearing the canvas</button>.",clearCanvasCaveat:" This will result in loss of work ",trackedToSentry:"The error with identifier {{eventId}} was tracked on our system.",openIssueMessage:"We were very cautious not to include your scene information on the error. If your scene is not private, please consider following up on our <button>bug tracker</button>. Please include information below by copying and pasting into the GitHub issue.",sceneContent:"Scene content:"},p={or:"Or"},g={desc_intro:"Invite people to collaborate on your drawing.",desc_privacy:"Don't worry, the session is end-to-end encrypted, and fully private. Not even our server can see what you draw.",button_startSession:"Start session",button_stopSession:"Stop session",desc_inProgressIntro:"Live-collaboration session is now in progress.",desc_shareLink:"Share this link with anyone you want to collaborate with:",desc_exitSession:"Stopping the session will disconnect you from the room, but you'll be able to continue working with the scene, locally. Note that this won't affect other people, and they'll still be able to collaborate on their version.",shareTitle:"Join a live collaboration session on Excalidraw"},f={title:"Error"},b={disk_title:"Save to disk",disk_details:"Export the scene data to a file from which you can import later.",disk_button:"Save to file",link_title:"Shareable link",link_details:"Export as a read-only link.",link_button:"Export to Link",excalidrawplus_description:"Save the scene to your Excalidraw+ workspace.",excalidrawplus_button:"Export",excalidrawplus_exportError:"Couldn't export to Excalidraw+ at this moment..."},x={blog:"Read our blog",click:"click",deepSelect:"Deep select",deepBoxSelect:"Deep select within box, and prevent dragging",createFlowchart:"Create a flowchart from a generic element",navigateFlowchart:"Navigate a flowchart",curvedArrow:"Curved arrow",curvedLine:"Curved line",documentation:"Documentation",doubleClick:"double-click",drag:"drag",editor:"Editor",editLineArrowPoints:"Edit line/arrow points",editText:"Edit text / add label",github:"Found an issue? Submit",howto:"Follow our guides",or:"or",preventBinding:"Prevent arrow binding",tools:"Tools",shortcuts:"Keyboard shortcuts",textFinish:"Finish editing (text editor)",textNewLine:"Add new line (text editor)",title:"Help",view:"View",zoomToFit:"Zoom to fit all elements",zoomToSelection:"Zoom to selection",toggleElementLock:"Lock/unlock selection",movePageUpDown:"Move page up/down",movePageLeftRight:"Move page left/right",cropStart:"Crop image",cropFinish:"Finish image cropping"},w={title:"Clear canvas"},y={title:"Publish library",itemName:"Item name",authorName:"Author name",githubUsername:"GitHub username",twitterUsername:"Twitter username",libraryName:"Library name",libraryDesc:"Library description",website:"Website",placeholder:{authorName:"Your name or username",libraryName:"Name of your library",libraryDesc:"Description of your library to help people understand its usage",githubHandle:"GitHub handle (optional), so you can edit the library once submitted for review",twitterHandle:"Twitter username (optional), so we know who to credit when promoting over Twitter",website:"Link to your personal website or elsewhere (optional)"},errors:{required:"Required",website:"Enter a valid URL"},noteDescription:"Submit your library to be included in the <link>public library repository</link> for other people to use in their drawings.",noteGuidelines:"The library needs to be manually approved first. Please read the <link>guidelines</link> before submitting. You will need a GitHub account to communicate and make changes if requested, but it is not strictly required.",noteLicense:"By submitting, you agree the library will be published under the <link>MIT License</link>, which in short means anyone can use them without restrictions.",noteItems:"Each library item must have its own name so it's filterable. The following library items will be included:",atleastOneLibItem:"Please select at least one library item to get started",republishWarning:"Note: some of the selected items are marked as already published/submitted. You should only resubmit items when updating an existing library or submission."},v={title:"Library submitted",content:"Thank you {{authorName}}. Your library has been submitted for review. You can track the status <link>here</link>"},k={resetLibrary:"Reset library",removeItemsFromLib:"Remove selected items from library"},j={header:"Export image",label:{withBackground:"Background",onlySelected:"Only selected",darkMode:"Dark mode",embedScene:"Embed scene",scale:"Scale",padding:"Padding"},tooltip:{embedScene:`Scene data will be saved into the exported PNG/SVG file so that the scene can be restored from it.
|
|
9
|
-
Will increase exported file size.`},title:{exportToPng:"Export to PNG",exportToSvg:"Export to SVG",copyPngToClipboard:"Copy PNG to clipboard"},button:{exportToPng:"PNG",exportToSvg:"SVG",copyPngToClipboard:"Copy to clipboard"}},S={tooltip:"Your drawings are end-to-end encrypted so Excalidraw's servers will never see them.",link:"Blog post on end-to-end encryption in Excalidraw"},C={angle:"Angle",shapes:"Shapes",height:"Height",scene:"Scene",selected:"Selected",storage:"Storage",fullTitle:"Canvas & Shape properties",title:"Properties",generalStats:"General",elementProperties:"Shape properties",total:"Total",version:"Version",versionCopy:"Click to copy",versionNotAvailable:"Version not available",width:"Width"},E={addedToLibrary:"Added to library",copyStyles:"Copied styles.",copyToClipboard:"Copied to clipboard.",copyToClipboardAsPng:`Copied {{exportSelection}} to clipboard as PNG
|
|
10
|
-
({{exportColorScheme}})`,copyToClipboardAsSvg:`Copied {{exportSelection}} to clipboard as SVG
|
|
11
|
-
({{exportColorScheme}})`,fileSaved:"File saved.",fileSavedToFilename:"Saved to {filename}",canvas:"canvas",selection:"selection",pasteAsSingleElement:`Use {{shortcut}} to paste as a single element,
|
|
12
|
-
or paste into an existing text editor`,unableToEmbed:"Embedding this url is currently not allowed. Raise an issue on GitHub to request the url whitelisted",unrecognizedLinkFormat:"The link you embedded does not match the expected format. Please try to paste the 'embed' string provided by the source site",elementLinkCopied:"Link copied to clipboard"},N={transparent:"Transparent",black:"Black",white:"White",red:"Red",pink:"Pink",grape:"Grape",violet:"Violet",gray:"Gray",blue:"Blue",cyan:"Cyan",teal:"Teal",green:"Green",yellow:"Yellow",orange:"Orange",bronze:"Bronze"},P={app:{center_heading:"All your data is saved locally in your browser.",center_heading_plus:"Did you want to go to the Excalidraw+ instead?",menuHint:"Export, preferences, languages, ..."},defaults:{menuHint:"Export, preferences, and more...",center_heading:"Diagrams. Made. Simple.",toolbarHint:"Pick a tool & Start drawing!",helpHint:"Shortcuts & help"}},T={mostUsedCustomColors:"Most used custom colors",colors:"Colors",shades:"Shades",hexCode:"Hex code",noShades:"No shades available for this color"},L={action:{exportToImage:{title:"Export as image",button:"Export as image",description:"Export the scene data as an image from which you can import later."},saveToDisk:{title:"Save to disk",button:"Save to disk",description:"Export the scene data to a file from which you can import later."},excalidrawPlus:{title:"Excalidraw+",button:"Export to Excalidraw+",description:"Save the scene to your Excalidraw+ workspace."}},modal:{loadFromFile:{title:"Load from file",button:"Load from file",description:"Loading from a file will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first using one of the options below."},shareableLink:{title:"Load from link",button:"Replace my content",description:"Loading external drawing will <bold>replace your existing content</bold>.<br></br>You can back up your drawing first by using one of the options below."}}},_={title:"Mermaid to Excalidraw",button:"Insert",description:"Currently only <flowchartLink>Flowchart</flowchartLink>,<sequenceLink> Sequence, </sequenceLink> and <classLink>Class </classLink>Diagrams are supported. The other types will be rendered as image in Excalidraw.",syntax:"Mermaid Syntax",preview:"Preview"},A={placeholder:"Quick search"},F={badge:{old:"old"},sceneFonts:"In this scene",availableFonts:"Available fonts",empty:"No fonts found"},z={empty:"No users found",hint:{text:"Click on user to follow",followStatus:"You're currently following this user",inCall:"User is in a voice call",micMuted:"User's microphone is muted",isSpeaking:"User is speaking"}},I={title:"Command palette",shortcuts:{select:"Select",confirm:"Confirm",close:"Close"},recents:"Recently used",search:{placeholder:"Search menus, commands, and discover hidden gems",noMatch:"No matching commands..."},itemNotAvailable:"Command is not available...",shortcutHint:"For Command palette, use {{shortcut}}"};e.s(["A",0,N,"B",0,P,"C",0,T,"D",0,L,"E",0,_,"F",0,A,"G",0,F,"H",0,z,"I",0,I,"J",0,{labels:t,elementLink:a,library:r,search:n,buttons:o,alerts:i,errors:s,toolBar:l,element:c,headings:d,hints:u,canvasError:m,errorSplash:h,shareDialog:p,roomDialog:g,errorDialog:f,exportDialog:b,helpDialog:x,clearCanvasDialog:w,publishDialog:y,publishSuccessDialog:v,confirmDialog:k,imageExportDialog:j,encrypted:S,stats:C,toast:E,colors:N,welcomeScreen:P,colorPicker:T,overwriteConfirm:L,mermaid:_,quickSearch:A,fontList:F,userList:z,commandPalette:I},"a",0,t,"b",0,a,"c",0,r,"d",0,n,"e",0,o,"f",0,i,"g",0,s,"h",0,l,"i",0,c,"j",0,d,"k",0,u,"l",0,m,"m",0,h,"n",0,p,"o",0,g,"p",0,f,"q",0,b,"r",0,x,"s",0,w,"t",0,y,"u",0,v,"v",0,k,"w",0,j,"x",0,S,"y",0,C,"z",0,E])},793513,e=>{"use strict";var t=e.i(468317),a=e.i(905381),r=e.i(59805),n=e.i(736099);e.i(308798);var o=e.i(898862),o=o,i=e.i(61086),s=e.i(519455),l=e.i(671485);window.EXCALIDRAW_ASSET_PATH="/excalidraw-assets/";let c=(0,a.default)(()=>e.A(986841).then(e=>e.Excalidraw),{loadableGenerated:{modules:[743771]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"flex h-full items-center justify-center text-sm text-muted-foreground",children:"Loading canvas…"})});function d(e){if(null===e)throw Error("Canvas file could not be loaded.");if(""===e.trim())return{elements:[]};let t=JSON.parse(e);if(!t||"object"!=typeof t||!Array.isArray(t.elements))throw Error("Canvas JSON must contain an elements array.");return t}function u(e){let t={...e};return delete t.theme,delete t.scrollX,delete t.scrollY,delete t.zoom,delete t.selectedElementIds,delete t.editingElement,delete t.resizingElement,delete t.newElement,delete t.multiElement,delete t.selectionElement,t}function m(e){let t=JSON.parse((0,o.Jh)(e.elements,e.appState??{},e.files??{},"database"));return t.appState&&(t.appState=u(t.appState)),e.files&&Object.keys(e.files).length>0&&(t.files=e.files),JSON.stringify(t,null,2)}e.s(["CanvasViewer",0,function({content:e,initialSha:a,path:h,title:p,readOnly:g=!1}){let f="u">typeof document&&document.documentElement.classList.contains("dark")?"dark":"light",b=(0,r.useMemo)(()=>{try{let t=d(e);return{value:t,normalized:m(t),error:null}}catch(e){return{value:null,normalized:"",error:e instanceof Error?e.message:"Invalid canvas JSON."}}},[e]),[x,w]=(0,r.useState)(null),y=(0,r.useRef)(null),[v,k]=(0,r.useState)(b.normalized),j=(0,r.useRef)(b.normalized),[S,C]=(0,r.useState)(a),E=(0,r.useRef)(a),[N,P]=(0,r.useState)(null),[T,L]=(0,r.useState)(null),_=(0,r.useRef)(null),A=(0,r.useRef)(!1),F=(0,r.useRef)(!1),z=(0,r.useRef)(()=>{});(0,r.useEffect)(()=>{k(b.normalized),j.current=b.normalized,C(a),E.current=a},[a,b.normalized]);let I=(0,r.useCallback)(async()=>{let e=y.current;if(e){if(A.current){F.current=!0;return}A.current=!0,P("saving"),L(null);try{let t=(0,o.Jh)(e.getSceneElements(),e.getAppState(),e.getFiles(),"database"),a=JSON.parse(t);a.appState&&(a.appState=u(a.appState));let r=e.getFiles();Object.keys(r).length>0&&(a.files=r);let n=JSON.stringify(a,null,2);if(n===j.current)return void P("saved");let i=await (0,l.wsFetch)("/api/wiki/content",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({path:h,content:n,baseSha:E.current})});if(i.ok){let e=await i.json();j.current=n,k(n),E.current=e.sha??E.current,C(E.current),P("saved");return}let s=await i.json();if(409===i.status&&"STALE_SHA"===s.error){let t=await (0,l.wsFetch)(`/api/wiki/content?path=${encodeURIComponent(h)}`);if(!t.ok)throw Error("Could not reload canvas after conflict.");let a=await t.json(),r=d(a.content),n=m(r);e.updateScene({elements:r.elements,appState:u(r.appState??{})}),r.files&&e.addFiles(Object.values(r.files)),j.current=n,k(n),E.current=t.headers.get("X-Wiki-Sha256"),C(E.current),P("reloaded");return}throw Error(s.error??"Save failed")}catch(e){L(e instanceof Error?e.message:"Save failed"),P("error")}finally{A.current=!1,F.current&&(F.current=!1,_.current=setTimeout(()=>{_.current=null,z.current()},800))}}},[h]);z.current=I;let D=(0,r.useCallback)(()=>{_.current&&clearTimeout(_.current),_.current=setTimeout(()=>{_.current=null,I()},800)},[I]);return(0,r.useEffect)(()=>()=>{_.current&&(clearTimeout(_.current),_.current=null,z.current())},[]),(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden",children:[(0,t.jsx)(i.ViewerToolbar,{path:h,badge:"CANVAS",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs text-muted-foreground",children:[(0,t.jsx)(n.PencilRuler,{className:"h-3.5 w-3.5 text-violet-500"}),g?"Read-only":"saving"===N?"Saving…":"saved"===N?"Saved":"reloaded"===N?"Reloaded":"Editable"]})}),b.error?(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col items-center justify-center gap-3 p-8 text-center",children:[(0,t.jsx)(n.PencilRuler,{className:"h-10 w-10 text-destructive"}),(0,t.jsx)("p",{className:"font-medium text-destructive",children:"Could not render canvas"}),(0,t.jsx)("p",{className:"max-w-lg text-sm text-muted-foreground",children:b.error}),(0,t.jsx)(s.Button,{variant:"outline",size:"sm",onClick:()=>window.location.reload(),children:"Reload"})]}):(0,t.jsxs)("div",{className:"min-h-0 flex-1 bg-background",children:[(0,t.jsx)(c,{initialData:b.value,excalidrawAPI:e=>{y.current=e,w(e)},onChange:()=>{!g&&x&&D()},viewModeEnabled:g,theme:f,name:p,autoFocus:!1}),T&&(0,t.jsx)("p",{className:"px-3 py-1 text-xs text-destructive",children:T})]})]})}],793513)},670977,e=>{"use strict";var t=e.i(468317),a=e.i(425732),r=e.i(301138),n=e.i(567776),o=e.i(691520),i=e.i(764143),s=e.i(391548),l=e.i(43240),c=e.i(59805),d=e.i(354502),u=e.i(519455),m=e.i(793479),h=e.i(515288),p=e.i(427423),g=e.i(792934),f=e.i(755146),b=e.i(395624);function x({className:e}){let a=(0,b.useViewWidthStore)(e=>e.width),r=(0,b.useViewWidthStore)(e=>e.setWidth),n=(0,b.useViewWidthStore)(e=>e.align),o=(0,b.useViewWidthStore)(e=>e.setAlign);return(0,t.jsxs)(f.DropdownMenu,{children:[(0,t.jsx)(f.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)(u.Button,{size:"sm",variant:"ghost",className:`h-7 w-7 p-0 ${e??""}`,title:`Content width: ${b.VIEW_WIDTH_LABEL[a]}`,children:(0,t.jsx)(g.AlignJustify,{className:"h-3.5 w-3.5"})})}),(0,t.jsxs)(f.DropdownMenuContent,{align:"end",className:"w-36",children:[(0,t.jsx)(f.DropdownMenuLabel,{className:"text-[11px] text-muted-foreground",children:"Width"}),b.VIEW_WIDTH_ORDER.map(e=>(0,t.jsxs)(f.DropdownMenuItem,{onClick:()=>r(e),className:"flex items-center justify-between text-xs",children:[b.VIEW_WIDTH_LABEL[e],e===a&&(0,t.jsx)(l.Check,{className:"h-3.5 w-3.5"})]},e)),(0,t.jsx)(f.DropdownMenuSeparator,{}),(0,t.jsx)(f.DropdownMenuLabel,{className:"text-[11px] text-muted-foreground",children:"Alignment"}),b.VIEW_ALIGN_ORDER.map(e=>(0,t.jsxs)(f.DropdownMenuItem,{onClick:()=>o(e),className:"flex items-center justify-between text-xs",children:[b.VIEW_ALIGN_LABEL[e],e===n&&(0,t.jsx)(l.Check,{className:"h-3.5 w-3.5"})]},e))]})]})}var w=e.i(409082),y=e.i(847463),v=e.i(917356);function k({className:e}){let{resolvedTheme:a,setTheme:r}=(0,v.useTheme)();return(0,t.jsx)(u.Button,{size:"sm",variant:"ghost",className:`h-7 w-7 p-0 ${e??""}`,title:"dark"===a?"Switch to light":"Switch to dark",onClick:()=>r("dark"===a?"light":"dark"),children:"dark"===a?(0,t.jsx)(y.Sun,{className:"h-3.5 w-3.5"}):(0,t.jsx)(w.Moon,{className:"h-3.5 w-3.5"})})}var j=e.i(406347),S=e.i(727551),C=e.i(496366),E=e.i(793513),N=e.i(797715);function P(e){let t=e.lastIndexOf(".");return t<0?"":e.slice(t+1).toLowerCase()}function T(e){let t=P(e);return["md","markdown"].includes(t)?"markdown":"excalidraw"===t?"canvas":["csv","tsv"].includes(t)?"csv":["pdf"].includes(t)?"pdf":["html","htm"].includes(t)?"html":["png","jpg","jpeg","gif","webp","svg","avif","ico","bmp"].includes(t)?"image":["mp4","webm","mov","m4v","mp3","wav","ogg","m4a","aac"].includes(t)?"media":["txt","log","ini","env","conf"].includes(t)?"text":["py","js","ts","tsx","jsx","go","rs","java","c","cpp","h","sh","bash","zsh","rb","php","swift","kt","lua","sql","yaml","yml","toml","json","xml","css","scss","mmd","mermaid"].includes(t)?"source":"binary"}function L({content:e,filename:a,filePath:r,token:n}){switch(T(a)){case"markdown":return(0,t.jsx)(_,{content:e});case"canvas":return(0,t.jsx)(E.CanvasViewer,{content:e,initialSha:null,path:r,title:a,readOnly:!0});case"image":return(0,t.jsx)(A,{filename:a,token:n});case"pdf":return(0,t.jsx)(F,{filename:a,token:n});case"media":return(0,t.jsx)(z,{filename:a,token:n});case"html":return(0,t.jsx)(I,{content:e,filename:a});case"csv":return(0,t.jsx)(R,{content:e});case"source":case"text":return(0,t.jsx)(D,{content:e,filename:a});case"binary":return(0,t.jsx)(B,{filename:a,token:n})}}function _({content:e}){let[a,r]=(0,c.useState)("");return(0,c.useEffect)(()=>{let t=!1;return(0,N.markdownToHtml)(e,{sanitize:!0}).then(e=>{t||r(e)}),()=>{t=!0}},[e]),(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:(0,t.jsx)("div",{className:"mx-auto max-w-4xl px-4 py-8 prose prose-neutral dark:prose-invert",children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})})})}function A({filename:e,token:a}){let r=(0,d.apiUrl)(`/api/share/${a}/asset`);return(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center p-8 bg-[repeating-conic-gradient(hsl(var(--muted))_0%_25%,transparent_0%_50%)] bg-[length:20px_20px]",children:(0,t.jsx)("img",{src:r,alt:e,className:"max-w-full max-h-[80vh] object-contain rounded-sm"})})}function F({filename:e,token:a}){let r=(0,d.apiUrl)(`/api/share/${a}/asset`);return(0,t.jsx)("div",{className:"flex-1 flex flex-col min-h-0",children:(0,t.jsx)("iframe",{src:r,title:e,className:"flex-1 w-full border-0",style:{minHeight:"80vh"}})})}function z({filename:e,token:a}){let r=(0,d.apiUrl)(`/api/share/${a}/asset`),n=["mp4","webm","mov","m4v"].includes(P(e));return(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center p-8",children:n?(0,t.jsx)("video",{controls:!0,className:"max-w-full max-h-[80vh] rounded-sm",src:r}):(0,t.jsxs)("div",{className:"w-full max-w-md",children:[(0,t.jsx)("audio",{controls:!0,className:"w-full",src:r}),(0,t.jsx)("p",{className:"text-center text-sm text-muted-foreground mt-3",children:e})]})})}function I({content:e,filename:a}){let[r,n]=(0,c.useState)(!1);return(0,t.jsxs)("div",{className:"flex-1 flex flex-col min-h-0",children:[(0,t.jsx)("div",{className:"flex items-center justify-end gap-2 px-4 py-2 border-b bg-muted/30",children:(0,t.jsx)(u.Button,{variant:"ghost",size:"sm",className:"h-7 gap-1.5 text-xs",onClick:()=>n(e=>!e),children:r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.Ban,{className:"h-3.5 w-3.5"}),"Disable scripts"]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(S.Play,{className:"h-3.5 w-3.5"}),"Enable scripts"]})})}),(0,t.jsx)("iframe",{srcDoc:e,title:a,className:"flex-1 w-full border-0 bg-white",style:{minHeight:"80vh"},sandbox:r?"allow-scripts allow-forms allow-popups allow-top-navigation-by-user-activation":"allow-forms allow-popups allow-top-navigation-by-user-activation"},r?"scripts-on":"scripts-off")]})}function D({content:e,filename:a}){let r=e.split("\n"),n=r.length,[o,i]=(0,c.useState)(n<=500),s=o?r:r.slice(0,500);return(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:(0,t.jsxs)("div",{className:"mx-auto max-w-4xl",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between px-4 py-2 border-b bg-muted/30",children:[(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:a}),(0,t.jsxs)("span",{className:"text-xs text-muted-foreground",children:[n.toLocaleString()," lines"]})]}),(0,t.jsx)("pre",{className:"text-[13px] font-mono leading-relaxed",children:(0,t.jsx)("table",{className:"w-full border-collapse",children:(0,t.jsx)("tbody",{children:s.map((e,a)=>(0,t.jsxs)("tr",{className:"hover:bg-muted/50",children:[(0,t.jsx)("td",{className:"select-none text-right pr-4 pl-4 py-0 text-muted-foreground/50 text-xs w-[1%] whitespace-nowrap align-top",children:a+1}),(0,t.jsx)("td",{className:"pr-4 py-0 whitespace-pre-wrap break-all",children:e||" "})]},a))})})}),!o&&n>500&&(0,t.jsx)("div",{className:"flex justify-center py-4 border-t",children:(0,t.jsxs)(u.Button,{size:"sm",variant:"ghost",onClick:()=>i(!0),children:["Show all ",n.toLocaleString()," lines"]})})]})})}function R({content:e}){let a=(0,c.useMemo)(()=>e.split("\n").filter(Boolean).map(e=>{let t=[],a="",r=!1;for(let n=0;n<e.length;n++){let o=e[n];'"'===o?r=!r:","!==o&&" "!==o||r?a+=o:(t.push(a.trim()),a="")}return t.push(a.trim()),t}),[e]);if(0===a.length)return null;let r=a[0],n=a.slice(1);return(0,t.jsx)("div",{className:"flex-1 overflow-auto",children:(0,t.jsx)("div",{className:"mx-auto max-w-6xl p-4",children:(0,t.jsxs)("table",{className:"w-full text-sm border-collapse",children:[(0,t.jsx)("thead",{children:(0,t.jsx)("tr",{children:r.map((e,a)=>(0,t.jsx)("th",{className:"text-left px-3 py-2 border-b-2 border-border font-medium bg-muted/50 whitespace-nowrap",children:e},a))})}),(0,t.jsx)("tbody",{children:n.map((e,a)=>(0,t.jsx)("tr",{className:"hover:bg-muted/30",children:e.map((e,a)=>(0,t.jsx)("td",{className:"px-3 py-1.5 border-b border-border/50 whitespace-nowrap",children:e},a))},a))})]})})})}function B({filename:e,token:a}){let r=(0,d.apiUrl)(`/api/share/${a}/asset`);return(0,t.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center gap-4 p-8",children:[(0,t.jsx)(i.FileText,{className:"h-12 w-12 text-muted-foreground"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:e}),(0,t.jsx)("a",{href:r,download:e,children:(0,t.jsxs)(u.Button,{size:"sm",variant:"outline",className:"gap-1.5",children:[(0,t.jsx)(j.Download,{className:"h-3.5 w-3.5"}),"Download file"]})})]})}e.s(["default",0,function({params:e}){let[g,f]=(0,c.useState)(null),[b,w]=(0,c.useState)({kind:"loading"}),[y,v]=(0,c.useState)(""),[j,S]=(0,c.useState)(!1),[C,E]=(0,c.useState)(!1),[N,P]=(0,c.useState)(null),_="content"===b.kind?T(b.filename):"markdown",A=["markdown","source","text","csv","html"].includes(_),F=e=>{P(e),setTimeout(()=>P(null),2e3)},z=async()=>{if("content"===b.kind)try{await navigator.clipboard.writeText(b.content),F("raw")}catch{}},I=(0,c.useCallback)(async()=>{if(g){w({kind:"loading"});try{let e=await fetch((0,d.apiUrl)(`/api/share/${g}`)),t=await e.json();e.ok&&"string"==typeof t.content?w({kind:"content",content:t.content,filename:String(t.filename??"document"),filePath:String(t.filePath??t.filename??"document"),viewCount:"number"==typeof t.viewCount?t.viewCount:0}):401===e.status&&t.protected?w({kind:"password",message:String(t.message??"")}):410===e.status?w({kind:"error",title:"Link unavailable",message:String(t.message??"This share link is no longer available.")}):404===e.status?w({kind:"error",title:"Not found",message:"This share link does not exist."}):w({kind:"error",title:"Error",message:String(t.message??"Something went wrong. Try again later.")})}catch{w({kind:"error",title:"Connection error",message:"Could not reach the server. Check your connection."})}}},[g]);(0,c.useEffect)(()=>{e.then(e=>f(e.token))},[e]),(0,c.useEffect)(()=>{g&&I()},[g,I]);let D=async e=>{if(e.preventDefault(),y.trim()&&g){S(!0),E(!1);try{let e=await fetch((0,d.apiUrl)(`/api/share/${g}`),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({password:y.trim()})}),t=await e.json();e.ok&&"string"==typeof t.content?w({kind:"content",content:t.content,filename:String(t.filename??"document"),filePath:String(t.filePath??t.filename??"document"),viewCount:"number"==typeof t.viewCount?t.viewCount:0}):403===e.status?(E(!0),w({kind:"password",message:"Incorrect password"})):429===e.status?w({kind:"password",message:"Too many attempts. Try again later."}):w({kind:"error",title:"Error",message:String(t.message??"Something went wrong.")})}catch{w({kind:"error",title:"Connection error",message:"Could not reach the server."})}S(!1)}};return(0,t.jsx)(p.ThemeProvider,{children:(0,t.jsxs)("div",{className:"min-h-screen flex flex-col bg-background text-foreground",children:[(0,t.jsx)("header",{className:"border-b border-border bg-muted/50",children:(0,t.jsx)("div",{className:"mx-auto flex max-w-4xl items-center gap-2 px-4 py-2",children:"content"===b.kind?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-success shrink-0"}),(0,t.jsx)("span",{className:"text-sm truncate",title:b.filename,children:b.filename})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1 shrink-0",children:[(0,t.jsxs)(u.Button,{size:"sm",variant:"ghost",className:"h-7 gap-1.5 px-2 text-xs",onClick:()=>{g&&(navigator.clipboard.writeText(`${window.location.origin}/s/${g}`),F("link"))},title:"Copy share link",children:["link"===N?(0,t.jsx)(l.Check,{className:"h-3.5 w-3.5 text-success"}):(0,t.jsx)(s.Copy,{className:"h-3.5 w-3.5"}),"Link"]}),A&&(0,t.jsxs)(u.Button,{size:"sm",variant:"ghost",className:"h-7 gap-1.5 px-2 text-xs",onClick:z,title:"Copy raw content",children:["raw"===N?(0,t.jsx)(l.Check,{className:"h-3.5 w-3.5 text-success"}):(0,t.jsx)(i.FileText,{className:"h-3.5 w-3.5"}),"Raw"]}),"markdown"===_&&(0,t.jsx)(x,{}),(0,t.jsx)(k,{}),(0,t.jsxs)("span",{className:"text-xs text-muted-foreground ml-2",children:[b.viewCount," view",1!==b.viewCount?"s":""]})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.Eye,{className:"h-4 w-4 text-muted-foreground"}),(0,t.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:"Shared document"})]})})}),"loading"===b.kind&&(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,t.jsx)(o.Loader2,{className:"h-6 w-6 animate-spin text-muted-foreground"})}),"password"===b.kind&&(0,t.jsx)("div",{className:"flex-1 flex items-center justify-center px-4",children:(0,t.jsx)(h.Card,{className:"max-w-sm w-full p-6",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4 text-center",children:[(0,t.jsx)("div",{className:"rounded-full bg-muted p-3",children:(0,t.jsx)(n.Lock,{className:"h-6 w-6 text-muted-foreground"})}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h1",{className:"text-base font-medium",children:"Password required"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:b.message||"This document is password-protected."})]}),(0,t.jsxs)("form",{onSubmit:D,className:"w-full space-y-3",children:[(0,t.jsx)(m.Input,{type:"password",placeholder:"Enter password",value:y,onChange:e=>{v(e.target.value),E(!1)},autoFocus:!0}),C&&(0,t.jsxs)("p",{className:"text-xs text-destructive flex items-center gap-1",children:[(0,t.jsx)(a.AlertCircle,{className:"h-3 w-3"}),"Wrong password. Try again."]}),(0,t.jsx)(u.Button,{type:"submit",className:"w-full",disabled:j||!y.trim(),children:j?(0,t.jsx)(o.Loader2,{className:"h-4 w-4 animate-spin"}):"View document"})]})]})})}),"error"===b.kind&&(0,t.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center gap-4 px-4 text-center",children:[(0,t.jsx)("div",{className:"rounded-full bg-muted p-3",children:(0,t.jsx)(a.AlertCircle,{className:"h-6 w-6 text-muted-foreground"})}),(0,t.jsxs)("div",{className:"space-y-1",children:[(0,t.jsx)("h1",{className:"text-base font-medium",children:b.title}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:b.message})]})]}),"content"===b.kind&&(0,t.jsx)(L,{content:b.content,filename:b.filename,filePath:b.filePath,token:g}),"content"===b.kind&&(0,t.jsx)("footer",{className:"border-t border-border bg-muted/30",children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-4xl items-center gap-2 px-4 py-2",children:[(0,t.jsx)(i.FileText,{className:"h-3 w-3 text-muted-foreground"}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:b.filename})]})})]})})}],670977)},251445,e=>{e.v(t=>Promise.all(["static/chunks/02dxg-hhy_wc1.js"].map(t=>e.l(t))).then(()=>t(257117)))},573621,e=>{e.v(t=>Promise.all(["static/chunks/0e0n5bezlmnws.js"].map(t=>e.l(t))).then(()=>t(817814)))},721212,e=>{e.v(t=>Promise.all(["static/chunks/0z7nv2~tcg._e.js"].map(t=>e.l(t))).then(()=>t(837574)))},301278,e=>{e.v(t=>Promise.all(["static/chunks/0l-~4w6i7k.y0.js"].map(t=>e.l(t))).then(()=>t(336282)))},274562,e=>{e.v(t=>Promise.all(["static/chunks/0dm8chiy87kdy.js"].map(t=>e.l(t))).then(()=>t(140860)))},878933,e=>{e.v(t=>Promise.all(["static/chunks/0l3l_yh6z.al~.js"].map(t=>e.l(t))).then(()=>t(463083)))},381736,e=>{e.v(t=>Promise.all(["static/chunks/0dgd-m3hj_-z1.js"].map(t=>e.l(t))).then(()=>t(623810)))},887533,e=>{e.v(t=>Promise.all(["static/chunks/0lv402d9xebjg.js"].map(t=>e.l(t))).then(()=>t(349535)))},894072,e=>{e.v(t=>Promise.all(["static/chunks/05q_8y34swg_c.js"].map(t=>e.l(t))).then(()=>t(145013)))},774629,e=>{e.v(t=>Promise.all(["static/chunks/0l-u.f3bblq8e.js","static/chunks/0-x1o2hyxthri.js"].map(t=>e.l(t))).then(()=>t(116853)))},462714,e=>{e.v(t=>Promise.all(["static/chunks/12utbyg~_l5bn.js","static/chunks/0-x1o2hyxthri.js"].map(t=>e.l(t))).then(()=>t(545761)))},214499,e=>{e.v(t=>Promise.all(["static/chunks/0qbipwbvdnj1f.js","static/chunks/0l4qtf8hgz.11.js","static/chunks/17bs24a7sa-tp.js","static/chunks/1674m~gp3w-8h.js","static/chunks/0~ikzdp3hga8n.js","static/chunks/0rldt2m_ic3fr.js","static/chunks/0q_xpywc4mr6r.js","static/chunks/0~fvcxnmv6g_x.js","static/chunks/105.j2~dvdym3.js","static/chunks/0q0.5-57agpll.js"].map(t=>e.l(t))).then(()=>t(304733)))},291174,e=>{e.v(t=>Promise.all(["static/chunks/0~snwj8vud1e9.js"].map(t=>e.l(t))).then(()=>t(113054)))},534089,e=>{e.v(t=>Promise.all(["static/chunks/03kndvtgz7df6.js"].map(t=>e.l(t))).then(()=>t(691475)))},538212,e=>{e.v(t=>Promise.all(["static/chunks/0wlcao7hskwbe.js"].map(t=>e.l(t))).then(()=>t(659877)))},903780,e=>{e.v(t=>Promise.all(["static/chunks/0iuutn3t~grg~.js"].map(t=>e.l(t))).then(()=>t(742216)))},93831,e=>{e.v(t=>Promise.all(["static/chunks/0wk.rl6_wf28q.js"].map(t=>e.l(t))).then(()=>t(706699)))},387916,e=>{e.v(t=>Promise.all(["static/chunks/14z5yndbt6l-5.js"].map(t=>e.l(t))).then(()=>t(240891)))},625768,e=>{e.v(t=>Promise.all(["static/chunks/0thi-a_xcuffh.js"].map(t=>e.l(t))).then(()=>t(69714)))},819245,e=>{e.v(t=>Promise.all(["static/chunks/0-ddysmepid49.js"].map(t=>e.l(t))).then(()=>t(117012)))},19924,e=>{e.v(t=>Promise.all(["static/chunks/0u4j4xb36_eu1.js"].map(t=>e.l(t))).then(()=>t(486952)))},955200,e=>{e.v(t=>Promise.all(["static/chunks/0r7d-1tq61fa1.js"].map(t=>e.l(t))).then(()=>t(538920)))},977404,e=>{e.v(t=>Promise.all(["static/chunks/0px-hy~y0644d.js"].map(t=>e.l(t))).then(()=>t(273253)))},710563,e=>{e.v(t=>Promise.all(["static/chunks/0ht1k40cd5q1n.js"].map(t=>e.l(t))).then(()=>t(404992)))},368593,e=>{e.v(t=>Promise.all(["static/chunks/0qt3_7k1ycaci.js"].map(t=>e.l(t))).then(()=>t(713784)))},908401,e=>{e.v(t=>Promise.all(["static/chunks/0dwbkzy._45vy.js"].map(t=>e.l(t))).then(()=>t(888814)))},269e3,e=>{e.v(t=>Promise.all(["static/chunks/0qz2mqqigsrbg.js"].map(t=>e.l(t))).then(()=>t(700967)))},117776,e=>{e.v(t=>Promise.all(["static/chunks/0fxah9k~fcqct.js"].map(t=>e.l(t))).then(()=>t(220577)))},177455,e=>{e.v(t=>Promise.all(["static/chunks/16_~4tr.~curs.js"].map(t=>e.l(t))).then(()=>t(157880)))},686382,e=>{e.v(t=>Promise.all(["static/chunks/0xe--m_1x.lcb.js"].map(t=>e.l(t))).then(()=>t(695244)))},500965,e=>{e.v(t=>Promise.all(["static/chunks/0ca5_r07.asq1.js"].map(t=>e.l(t))).then(()=>t(174104)))},576494,e=>{e.v(t=>Promise.all(["static/chunks/0lr13ke45qhib.js"].map(t=>e.l(t))).then(()=>t(566017)))},220389,e=>{e.v(t=>Promise.all(["static/chunks/0zhfmw6woi7wb.js"].map(t=>e.l(t))).then(()=>t(228008)))},301646,e=>{e.v(t=>Promise.all(["static/chunks/0doj4__hv87-0.js"].map(t=>e.l(t))).then(()=>t(885925)))},476523,e=>{e.v(t=>Promise.all(["static/chunks/0qftmjb-ya14p.js"].map(t=>e.l(t))).then(()=>t(109749)))},769293,e=>{e.v(t=>Promise.all(["static/chunks/07qiyns883j.b.js"].map(t=>e.l(t))).then(()=>t(621733)))},999959,e=>{e.v(t=>Promise.all(["static/chunks/0j9z0xbs.n01h.js"].map(t=>e.l(t))).then(()=>t(451812)))},16794,e=>{e.v(t=>Promise.all(["static/chunks/0_5a8_n~bzs11.js"].map(t=>e.l(t))).then(()=>t(776376)))},198070,e=>{e.v(t=>Promise.all(["static/chunks/17ejw52en9.xq.js"].map(t=>e.l(t))).then(()=>t(662657)))},118631,e=>{e.v(t=>Promise.all(["static/chunks/0ipunyddk-t_8.js"].map(t=>e.l(t))).then(()=>t(748683)))},737788,e=>{e.v(t=>Promise.all(["static/chunks/07hxh_~ssmy1~.js"].map(t=>e.l(t))).then(()=>t(606291)))},670179,e=>{e.v(t=>Promise.all(["static/chunks/0g2qawqgg~3i9.js"].map(t=>e.l(t))).then(()=>t(517044)))},523015,e=>{e.v(t=>Promise.all(["static/chunks/0vnkqj.wmi635.js"].map(t=>e.l(t))).then(()=>t(446117)))},972190,e=>{e.v(t=>Promise.all(["static/chunks/161-vxg65snpt.js"].map(t=>e.l(t))).then(()=>t(266454)))},905694,e=>{e.v(t=>Promise.all(["static/chunks/180yj~97z12l..js"].map(t=>e.l(t))).then(()=>t(293015)))},745541,e=>{e.v(t=>Promise.all(["static/chunks/0w-~49cmz_0d3.js"].map(t=>e.l(t))).then(()=>t(576097)))},700499,e=>{e.v(t=>Promise.all(["static/chunks/0cbn4fn-ce2oo.js"].map(t=>e.l(t))).then(()=>t(596052)))},282365,e=>{e.v(t=>Promise.all(["static/chunks/10y9usx3.0~e1.js"].map(t=>e.l(t))).then(()=>t(865138)))},129500,e=>{e.v(t=>Promise.all(["static/chunks/0bpxmmilieaj7.js"].map(t=>e.l(t))).then(()=>t(995957)))},709338,e=>{e.v(t=>Promise.all(["static/chunks/11r4v51ax3cuk.js"].map(t=>e.l(t))).then(()=>t(394456)))},261853,e=>{e.v(t=>Promise.all(["static/chunks/03f5~5haag-5j.js"].map(t=>e.l(t))).then(()=>t(388511)))},777246,e=>{e.v(t=>Promise.all(["static/chunks/048..g2.nyph1.js"].map(t=>e.l(t))).then(()=>t(376221)))},72384,e=>{e.v(t=>Promise.all(["static/chunks/0a80r~16ddp48.js"].map(t=>e.l(t))).then(()=>t(238211)))},815162,e=>{e.v(t=>Promise.all(["static/chunks/0jjo24odlg~rk.js"].map(t=>e.l(t))).then(()=>t(750568)))},927555,e=>{e.v(t=>Promise.all(["static/chunks/07~-03k35a8k_.js"].map(t=>e.l(t))).then(()=>t(672386)))},724399,e=>{e.v(t=>Promise.all(["static/chunks/0qouyihzczxkx.js"].map(t=>e.l(t))).then(()=>t(341209)))},973071,e=>{e.v(t=>Promise.all(["static/chunks/0ws0keab8s-sp.js"].map(t=>e.l(t))).then(()=>t(940769)))},400482,e=>{e.v(t=>Promise.all(["static/chunks/0cf4laa~lb8te.js"].map(t=>e.l(t))).then(()=>t(122110)))},895893,e=>{e.v(t=>Promise.all(["static/chunks/0kidua.g3mc1m.js"].map(t=>e.l(t))).then(()=>t(871650)))},923842,e=>{e.v(t=>Promise.all(["static/chunks/0nzspv~qn9pt6.js"].map(t=>e.l(t))).then(()=>t(66359)))},360387,e=>{e.v(t=>Promise.all(["static/chunks/10rwkbqojevd_.js"].map(t=>e.l(t))).then(()=>t(86853)))},549750,e=>{e.v(t=>Promise.all(["static/chunks/0~l1u8c5kvhsp.js"].map(t=>e.l(t))).then(()=>t(628282)))},719595,e=>{e.v(t=>Promise.all(["static/chunks/0of2m13~g4-wt.js"].map(t=>e.l(t))).then(()=>t(511136)))},106407,e=>{e.v(t=>Promise.all(["static/chunks/0n7mncqbi12l-.js"].map(t=>e.l(t))).then(()=>t(378467)))},268423,e=>{e.v(t=>Promise.all(["static/chunks/0pd2jpq09qwjm.js"].map(t=>e.l(t))).then(()=>t(445932)))},100220,e=>{e.v(t=>Promise.all(["static/chunks/0gvtzau8.73c3.js"].map(t=>e.l(t))).then(()=>t(483233)))},793386,e=>{e.v(t=>Promise.all(["static/chunks/0.v.kwrcv0353.js"].map(t=>e.l(t))).then(()=>t(386582)))},483897,e=>{e.v(t=>Promise.all(["static/chunks/05ult4~0iitco.js"].map(t=>e.l(t))).then(()=>t(779772)))},986841,e=>{e.v(t=>Promise.all(["static/chunks/02tjfml726a-p.js"].map(t=>e.l(t))).then(()=>t(743771)))}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,605993,e=>{"use strict";var r=e.i(59805);let t=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},o=(...e)=>e.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:a="",children:i,iconNode:c,...d},p)=>(0,r.createElement)("svg",{ref:p,...n,width:t,height:t,stroke:e,strokeWidth:s?24*Number(l)/Number(t):l,className:o("lucide",a),...!i&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(i)?i:[i]]));e.s(["default",0,(e,n)=>{let s=(0,r.forwardRef)(({className:s,...a},i)=>(0,r.createElement)(l,{ref:i,iconNode:n,className:o(`lucide-${t(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...a}));return s.displayName=t(e),s}],605993)},206102,967928,e=>{"use strict";var r=e.i(59805);function t(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function o(...e){return r=>{let o=!1,n=e.map(e=>{let n=t(e,r);return o||"function"!=typeof n||(o=!0),n});if(o)return()=>{for(let r=0;r<n.length;r++){let o=n[r];"function"==typeof o?o():t(e[r],null)}}}}e.s(["composeRefs",0,o,"useComposedRefs",0,function(...e){return r.useCallback(o(...e),e)}],967928);var n=e.i(468317),l=Symbol.for("react.lazy"),s=r[" use ".trim().toString()];function a(e){var r;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(r=e._payload)&&null!==r&&"then"in r}function i(e){var t;let l,i=(t=e,(l=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(a(n)&&"function"==typeof s&&(n=s(n._payload)),r.isValidElement(n)){var i;let e,s,a=(i=n,(s=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(s=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=function(e,r){let t={...r};for(let o in r){let n=e[o],l=r[o];/^on[A-Z]/.test(o)?n&&l?t[o]=(...e)=>{let r=l(...e);return n(...e),r}:n&&(t[o]=n):"style"===o?t[o]={...n,...l}:"className"===o&&(t[o]=[n,l].filter(Boolean).join(" "))}return{...e,...t}}(l,n.props);return n.type!==r.Fragment&&(c.ref=t?o(t,a):a),r.cloneElement(n,c)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${t}.SlotClone`,l),c=r.forwardRef((e,t)=>{let{children:o,...l}=e;a(o)&&"function"==typeof s&&(o=s(o._payload));let c=r.Children.toArray(o),d=c.find(p);if(d){let e=d.props.children,o=c.map(t=>t!==d?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,n.jsx)(i,{...l,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,n.jsx)(i,{...l,ref:t,children:o})});return c.displayName=`${e}.Slot`,c}var c=i("Slot"),d=Symbol("radix.slottable");function p(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}e.s(["Slot",0,c,"createSlot",0,i],206102)},7284,e=>{"use strict";e.s(["clsx",0,function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=function e(r){var t,o,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r)if(Array.isArray(r)){var l=r.length;for(t=0;t<l;t++)r[t]&&(o=e(r[t]))&&(n&&(n+=" "),n+=o)}else for(o in r)r[o]&&(n&&(n+=" "),n+=o);return n}(e))&&(o&&(o+=" "),o+=r);return o}])},294237,e=>{"use strict";var r=e.i(7284);let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=r.clsx;e.s(["cva",0,(e,r)=>n=>{var l;if((null==r?void 0:r.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:s,defaultVariants:a}=r,i=Object.keys(s).map(e=>{let r=null==n?void 0:n[e],o=null==a?void 0:a[e];if(null===r)return null;let l=t(r)||t(o);return s[e][l]}),c=n&&Object.entries(n).reduce((e,r)=>{let[t,o]=r;return void 0===o||(e[t]=o),e},{});return o(e,i,null==r||null==(l=r.compoundVariants)?void 0:l.reduce((e,r)=>{let{class:t,className:o,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...c}[r]):({...a,...c})[r]===t})?[...e,t,o]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}])},975157,e=>{"use strict";var r=e.i(7284);let t=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),o=[],n=(e,r,t)=>{if(0==e.length-r)return t.classGroupId;let o=e[r],l=t.nextPart.get(o);if(l){let t=n(e,r+1,l);if(t)return t}let s=t.validators;if(null===s)return;let a=0===r?e.join("-"):e.slice(r).join("-"),i=s.length;for(let e=0;e<i;e++){let r=s[e];if(r.validator(a))return r.classGroupId}},l=(e,r)=>{let o=t();for(let t in e)s(e[t],o,t,r);return o},s=(e,r,t,o)=>{let n=e.length;for(let l=0;l<n;l++)a(e[l],r,t,o)},a=(e,r,t,o)=>{"string"==typeof e?i(e,r,t):"function"==typeof e?c(e,r,t,o):d(e,r,t,o)},i=(e,r,t)=>{(""===e?r:p(r,e)).classGroupId=t},c=(e,r,t,o)=>{m(e)?s(e(o),r,t,o):(null===r.validators&&(r.validators=[]),r.validators.push({classGroupId:t,validator:e}))},d=(e,r,t,o)=>{let n=Object.entries(e),l=n.length;for(let e=0;e<l;e++){let[l,a]=n[e];s(a,p(r,l),t,o)}},p=(e,r)=>{let o=e,n=r.split("-"),l=n.length;for(let e=0;e<l;e++){let r=n[e],l=o.nextPart.get(r);l||(l=t(),o.nextPart.set(r,l)),o=l}return o},m=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,u=[],f=(e,r,t,o,n)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:n}),b=/\s+/,g=e=>{let r;if("string"==typeof e)return e;let t="";for(let o=0;o<e.length;o++)e[o]&&(r=g(e[o]))&&(t&&(t+=" "),t+=r);return t},h=[],x=e=>{let r=r=>r[e]||h;return r.isThemeGetter=!0,r},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,k=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,z=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,j=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>v.test(e),W=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),S=e=>e.endsWith("%")&&W(e.slice(0,-1)),A=e=>y.test(e),O=()=>!0,U=e=>z.test(e)&&!j.test(e),_=()=>!1,I=e=>C.test(e),G=e=>$.test(e),P=e=>!T(e)&&!K(e),E=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),L=e=>et(e,es,_),T=e=>w.test(e),B=e=>et(e,ea,U),V=e=>et(e,ei,W),M=e=>et(e,ed,O),F=e=>et(e,ec,_),D=e=>et(e,en,_),Z=e=>et(e,el,G),q=e=>et(e,ep,I),K=e=>k.test(e),H=e=>eo(e,ea),J=e=>eo(e,ec),Q=e=>eo(e,en),X=e=>eo(e,es),Y=e=>eo(e,el),ee=e=>eo(e,ep,!0),er=e=>eo(e,ed,!0),et=(e,r,t)=>{let o=w.exec(e);return!!o&&(o[1]?r(o[1]):t(o[2]))},eo=(e,r,t=!1)=>{let o=k.exec(e);return!!o&&(o[1]?r(o[1]):t)},en=e=>"position"===e||"percentage"===e,el=e=>"image"===e||"url"===e,es=e=>"length"===e||"size"===e||"bg-size"===e,ea=e=>"length"===e,ei=e=>"number"===e,ec=e=>"family-name"===e,ed=e=>"number"===e||"weight"===e,ep=e=>"shadow"===e,em=((e,...r)=>{let t,s,a,i,c=e=>{let r=s(e);if(r)return r;let o=((e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:l,postfixLookupClassGroupIds:s}=r,a=[],i=e.trim().split(b),c="";for(let e=i.length-1;e>=0;e-=1){let r,d=i[e],{isExternal:p,modifiers:m,hasImportantModifier:u,baseClassName:f,maybePostfixModifierPosition:b}=t(d);if(p){c=d+(c.length>0?" "+c:c);continue}let g=!!b;if(g){let e=(r=o(f.substring(0,b)))&&s[r]?o(f):void 0;e&&e!==r&&(r=e,g=!1)}else r=o(f);if(!r){if(!g||!(r=o(f))){c=d+(c.length>0?" "+c:c);continue}g=!1}let h=0===m.length?"":1===m.length?m[0]:l(m).join(":"),x=u?h+"!":h,w=x+r;if(a.indexOf(w)>-1)continue;a.push(w);let k=n(r,g);for(let e=0;e<k.length;++e){let r=k[e];a.push(x+r)}c=d+(c.length>0?" "+c:c)}return c})(e,t);return a(e,o),o};return i=d=>{var p;let m;return s=(t={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null),n=(n,l)=>{t[n]=l,++r>e&&(r=0,o=t,t=Object.create(null))};return{get(e){let r=t[e];return void 0!==r?r:void 0!==(r=o[e])?(n(e,r),r):void 0},set(e,r){e in t?t[e]=r:n(e,r)}}})((p=r.reduce((e,r)=>r(e),e())).cacheSize),parseClassName:(e=>{let{prefix:r,experimentalParseClassName:t}=e,o=e=>{let r,t=[],o=0,n=0,l=0,s=e.length;for(let a=0;a<s;a++){let s=e[a];if(0===o&&0===n){if(":"===s){t.push(e.slice(l,a)),l=a+1;continue}if("/"===s){r=a;continue}}"["===s?o++:"]"===s?o--:"("===s?n++:")"===s&&n--}let a=0===t.length?e:e.slice(l),i=a,c=!1;return a.endsWith("!")?(i=a.slice(0,-1),c=!0):a.startsWith("!")&&(i=a.slice(1),c=!0),f(t,c,i,r&&r>l?r-l:void 0)};if(r){let e=r+":",t=o;o=r=>r.startsWith(e)?t(r.slice(e.length)):f(u,!1,r,void 0,!0)}if(t){let e=o;o=r=>t({className:r,parseClassName:e})}return o})(p),sortModifiers:(m=new Map,p.orderSensitiveModifiers.forEach((e,r)=>{m.set(e,1e6+r)}),e=>{let r=[],t=[];for(let o=0;o<e.length;o++){let n=e[o],l="["===n[0],s=m.has(n);l||s?(t.length>0&&(t.sort(),r.push(...t),t=[]),r.push(n)):t.push(n)}return t.length>0&&(t.sort(),r.push(...t)),r}),postfixLookupClassGroupIds:(e=>{let r=Object.create(null),t=e.postfixLookupClassGroups;if(t)for(let e=0;e<t.length;e++)r[t[e]]=!0;return r})(p),...(e=>{let r=(e=>{let{theme:r,classGroups:t}=e;return l(t,r)})(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var t;let r,o,n;return -1===(t=e).slice(1,-1).indexOf(":")?void 0:(o=(r=t.slice(1,-1)).indexOf(":"),(n=r.slice(0,o))?"arbitrary.."+n:void 0)}let o=e.split("-"),l=+(""===o[0]&&o.length>1);return n(o,l,r)},getConflictingClassGroupIds:(e,r)=>{if(r){let r=s[e],n=t[e];if(r){if(n){let e=Array(n.length+r.length);for(let r=0;r<n.length;r++)e[r]=n[r];for(let t=0;t<r.length;t++)e[n.length+t]=r[t];return e}return r}return n||o}return t[e]||o}}})(p)}).cache.get,a=t.cache.set,i=c,c(d)},(...e)=>i(((...e)=>{let r,t,o=0,n="";for(;o<e.length;)(r=e[o++])&&(t=g(r))&&(n&&(n+=" "),n+=t);return n})(...e))})(()=>{let e=x("color"),r=x("font"),t=x("text"),o=x("font-weight"),n=x("tracking"),l=x("leading"),s=x("breakpoint"),a=x("container"),i=x("spacing"),c=x("radius"),d=x("shadow"),p=x("inset-shadow"),m=x("text-shadow"),u=x("drop-shadow"),f=x("blur"),b=x("perspective"),g=x("aspect"),h=x("ease"),w=x("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],y=()=>[...v(),K,T],z=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],C=()=>[K,T,i],$=()=>[N,"full","auto",...C()],U=()=>[R,"none","subgrid",K,T],_=()=>["auto",{span:["full",R,K,T]},R,K,T],I=()=>[R,"auto",K,T],G=()=>["auto","min","max","fr",K,T],et=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],eo=()=>["start","end","center","stretch","center-safe","end-safe"],en=()=>["auto",...C()],el=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],es=()=>[N,"screen","full","dvw","lvw","svw","min","max","fit",...C()],ea=()=>[N,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],ei=()=>[e,K,T],ec=()=>[...v(),Q,D,{position:[K,T]}],ed=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ep=()=>["auto","cover","contain",X,L,{size:[K,T]}],em=()=>[S,H,B],eu=()=>["","none","full",c,K,T],ef=()=>["",W,H,B],eb=()=>["solid","dashed","dotted","double"],eg=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eh=()=>[W,S,Q,D],ex=()=>["","none",f,K,T],ew=()=>["none",W,K,T],ek=()=>["none",W,K,T],ev=()=>[W,K,T],ey=()=>[N,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[A],breakpoint:[A],color:[O],container:[A],"drop-shadow":[A],ease:["in","out","in-out"],font:[P],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[A],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[A],shadow:[A],spacing:["px",W],text:[A],"text-shadow":[A],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,T,K,g]}],container:["container"],"container-type":[{"@container":["","normal","size",K,T]}],"container-named":[E],columns:[{columns:[W,T,K,a]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",K,T]}],basis:[{basis:[N,"full","auto",a,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[W,N,"auto","initial","none",T]}],grow:[{grow:["",W,K,T]}],shrink:[{shrink:["",W,K,T]}],order:[{order:[R,"first","last","none",K,T]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...et(),"normal"]}],"justify-items":[{"justify-items":[...eo(),"normal"]}],"justify-self":[{"justify-self":["auto",...eo()]}],"align-content":[{content:["normal",...et()]}],"align-items":[{items:[...eo(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...eo(),{baseline:["","last"]}]}],"place-content":[{"place-content":et()}],"place-items":[{"place-items":[...eo(),"baseline"]}],"place-self":[{"place-self":["auto",...eo()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:en()}],mx:[{mx:en()}],my:[{my:en()}],ms:[{ms:en()}],me:[{me:en()}],mbs:[{mbs:en()}],mbe:[{mbe:en()}],mt:[{mt:en()}],mr:[{mr:en()}],mb:[{mb:en()}],ml:[{ml:en()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:el()}],"inline-size":[{inline:["auto",...es()]}],"min-inline-size":[{"min-inline":["auto",...es()]}],"max-inline-size":[{"max-inline":["none",...es()]}],"block-size":[{block:["auto",...ea()]}],"min-block-size":[{"min-block":["auto",...ea()]}],"max-block-size":[{"max-block":["none",...ea()]}],w:[{w:[a,"screen",...el()]}],"min-w":[{"min-w":[a,"screen","none",...el()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...el()]}],h:[{h:["screen","lh",...el()]}],"min-h":[{"min-h":["screen","lh","none",...el()]}],"max-h":[{"max-h":["screen","lh",...el()]}],"font-size":[{text:["base",t,H,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,er,M]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",S,T]}],"font-family":[{font:[J,F,r]}],"font-features":[{"font-features":[T]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,K,T]}],"line-clamp":[{"line-clamp":[W,"none",K,V]}],leading:[{leading:[l,...C()]}],"list-image":[{"list-image":["none",K,T]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ei()}],"text-color":[{text:ei()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eb(),"wavy"]}],"text-decoration-thickness":[{decoration:[W,"from-font","auto",K,B]}],"text-decoration-color":[{decoration:ei()}],"underline-offset":[{"underline-offset":[W,"auto",K,T]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"tab-size":[{tab:[R,K,T]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K,T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ec()}],"bg-repeat":[{bg:ed()}],"bg-size":[{bg:ep()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,K,T],radial:["",K,T],conic:[R,K,T]},Y,Z]}],"bg-color":[{bg:ei()}],"gradient-from-pos":[{from:em()}],"gradient-via-pos":[{via:em()}],"gradient-to-pos":[{to:em()}],"gradient-from":[{from:ei()}],"gradient-via":[{via:ei()}],"gradient-to":[{to:ei()}],rounded:[{rounded:eu()}],"rounded-s":[{"rounded-s":eu()}],"rounded-e":[{"rounded-e":eu()}],"rounded-t":[{"rounded-t":eu()}],"rounded-r":[{"rounded-r":eu()}],"rounded-b":[{"rounded-b":eu()}],"rounded-l":[{"rounded-l":eu()}],"rounded-ss":[{"rounded-ss":eu()}],"rounded-se":[{"rounded-se":eu()}],"rounded-ee":[{"rounded-ee":eu()}],"rounded-es":[{"rounded-es":eu()}],"rounded-tl":[{"rounded-tl":eu()}],"rounded-tr":[{"rounded-tr":eu()}],"rounded-br":[{"rounded-br":eu()}],"rounded-bl":[{"rounded-bl":eu()}],"border-w":[{border:ef()}],"border-w-x":[{"border-x":ef()}],"border-w-y":[{"border-y":ef()}],"border-w-s":[{"border-s":ef()}],"border-w-e":[{"border-e":ef()}],"border-w-bs":[{"border-bs":ef()}],"border-w-be":[{"border-be":ef()}],"border-w-t":[{"border-t":ef()}],"border-w-r":[{"border-r":ef()}],"border-w-b":[{"border-b":ef()}],"border-w-l":[{"border-l":ef()}],"divide-x":[{"divide-x":ef()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ef()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...eb(),"hidden","none"]}],"divide-style":[{divide:[...eb(),"hidden","none"]}],"border-color":[{border:ei()}],"border-color-x":[{"border-x":ei()}],"border-color-y":[{"border-y":ei()}],"border-color-s":[{"border-s":ei()}],"border-color-e":[{"border-e":ei()}],"border-color-bs":[{"border-bs":ei()}],"border-color-be":[{"border-be":ei()}],"border-color-t":[{"border-t":ei()}],"border-color-r":[{"border-r":ei()}],"border-color-b":[{"border-b":ei()}],"border-color-l":[{"border-l":ei()}],"divide-color":[{divide:ei()}],"outline-style":[{outline:[...eb(),"none","hidden"]}],"outline-offset":[{"outline-offset":[W,K,T]}],"outline-w":[{outline:["",W,H,B]}],"outline-color":[{outline:ei()}],shadow:[{shadow:["","none",d,ee,q]}],"shadow-color":[{shadow:ei()}],"inset-shadow":[{"inset-shadow":["none",p,ee,q]}],"inset-shadow-color":[{"inset-shadow":ei()}],"ring-w":[{ring:ef()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ei()}],"ring-offset-w":[{"ring-offset":[W,B]}],"ring-offset-color":[{"ring-offset":ei()}],"inset-ring-w":[{"inset-ring":ef()}],"inset-ring-color":[{"inset-ring":ei()}],"text-shadow":[{"text-shadow":["none",m,ee,q]}],"text-shadow-color":[{"text-shadow":ei()}],opacity:[{opacity:[W,K,T]}],"mix-blend":[{"mix-blend":[...eg(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":eg()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[W]}],"mask-image-linear-from-pos":[{"mask-linear-from":eh()}],"mask-image-linear-to-pos":[{"mask-linear-to":eh()}],"mask-image-linear-from-color":[{"mask-linear-from":ei()}],"mask-image-linear-to-color":[{"mask-linear-to":ei()}],"mask-image-t-from-pos":[{"mask-t-from":eh()}],"mask-image-t-to-pos":[{"mask-t-to":eh()}],"mask-image-t-from-color":[{"mask-t-from":ei()}],"mask-image-t-to-color":[{"mask-t-to":ei()}],"mask-image-r-from-pos":[{"mask-r-from":eh()}],"mask-image-r-to-pos":[{"mask-r-to":eh()}],"mask-image-r-from-color":[{"mask-r-from":ei()}],"mask-image-r-to-color":[{"mask-r-to":ei()}],"mask-image-b-from-pos":[{"mask-b-from":eh()}],"mask-image-b-to-pos":[{"mask-b-to":eh()}],"mask-image-b-from-color":[{"mask-b-from":ei()}],"mask-image-b-to-color":[{"mask-b-to":ei()}],"mask-image-l-from-pos":[{"mask-l-from":eh()}],"mask-image-l-to-pos":[{"mask-l-to":eh()}],"mask-image-l-from-color":[{"mask-l-from":ei()}],"mask-image-l-to-color":[{"mask-l-to":ei()}],"mask-image-x-from-pos":[{"mask-x-from":eh()}],"mask-image-x-to-pos":[{"mask-x-to":eh()}],"mask-image-x-from-color":[{"mask-x-from":ei()}],"mask-image-x-to-color":[{"mask-x-to":ei()}],"mask-image-y-from-pos":[{"mask-y-from":eh()}],"mask-image-y-to-pos":[{"mask-y-to":eh()}],"mask-image-y-from-color":[{"mask-y-from":ei()}],"mask-image-y-to-color":[{"mask-y-to":ei()}],"mask-image-radial":[{"mask-radial":[K,T]}],"mask-image-radial-from-pos":[{"mask-radial-from":eh()}],"mask-image-radial-to-pos":[{"mask-radial-to":eh()}],"mask-image-radial-from-color":[{"mask-radial-from":ei()}],"mask-image-radial-to-color":[{"mask-radial-to":ei()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[W]}],"mask-image-conic-from-pos":[{"mask-conic-from":eh()}],"mask-image-conic-to-pos":[{"mask-conic-to":eh()}],"mask-image-conic-from-color":[{"mask-conic-from":ei()}],"mask-image-conic-to-color":[{"mask-conic-to":ei()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ec()}],"mask-repeat":[{mask:ed()}],"mask-size":[{mask:ep()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,T]}],filter:[{filter:["","none",K,T]}],blur:[{blur:ex()}],brightness:[{brightness:[W,K,T]}],contrast:[{contrast:[W,K,T]}],"drop-shadow":[{"drop-shadow":["","none",u,ee,q]}],"drop-shadow-color":[{"drop-shadow":ei()}],grayscale:[{grayscale:["",W,K,T]}],"hue-rotate":[{"hue-rotate":[W,K,T]}],invert:[{invert:["",W,K,T]}],saturate:[{saturate:[W,K,T]}],sepia:[{sepia:["",W,K,T]}],"backdrop-filter":[{"backdrop-filter":["","none",K,T]}],"backdrop-blur":[{"backdrop-blur":ex()}],"backdrop-brightness":[{"backdrop-brightness":[W,K,T]}],"backdrop-contrast":[{"backdrop-contrast":[W,K,T]}],"backdrop-grayscale":[{"backdrop-grayscale":["",W,K,T]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[W,K,T]}],"backdrop-invert":[{"backdrop-invert":["",W,K,T]}],"backdrop-opacity":[{"backdrop-opacity":[W,K,T]}],"backdrop-saturate":[{"backdrop-saturate":[W,K,T]}],"backdrop-sepia":[{"backdrop-sepia":["",W,K,T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,T]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[W,"initial",K,T]}],ease:[{ease:["linear","initial",h,K,T]}],delay:[{delay:[W,K,T]}],animate:[{animate:["none",w,K,T]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,K,T]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:ew()}],"rotate-x":[{"rotate-x":ew()}],"rotate-y":[{"rotate-y":ew()}],"rotate-z":[{"rotate-z":ew()}],scale:[{scale:ek()}],"scale-x":[{"scale-x":ek()}],"scale-y":[{"scale-y":ek()}],"scale-z":[{"scale-z":ek()}],"scale-3d":["scale-3d"],skew:[{skew:ev()}],"skew-x":[{"skew-x":ev()}],"skew-y":[{"skew-y":ev()}],transform:[{transform:[K,T,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ey()}],"translate-x":[{"translate-x":ey()}],"translate-y":[{"translate-y":ey()}],"translate-z":[{"translate-z":ey()}],"translate-none":["translate-none"],zoom:[{zoom:[R,K,T]}],accent:[{accent:ei()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ei()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K,T]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":ei()}],"scrollbar-track-color":[{"scrollbar-track":ei()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K,T]}],fill:[{fill:["none",...ei()]}],"stroke-w":[{stroke:[W,H,B,V]}],stroke:[{stroke:["none",...ei()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});e.s(["cn",0,function(...e){return em((0,r.clsx)(e))}],975157)},519455,e=>{"use strict";var r=e.i(468317),t=e.i(206102),o=e.i(294237),n=e.i(59805),l=e.i(975157);let s=(0,o.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium normal-case transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-e-1 hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-e-1 hover:bg-destructive/90",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-e-1 hover:bg-secondary/80",ghost:"bg-transparent hover:bg-accent/10 text-foreground",link:"text-foreground underline underline-offset-4 hover:text-accent"},size:{default:"h-10 p-3 rounded-full",sm:"h-8 rounded-full px-3 text-xs",lg:"h-10 rounded-full px-8",icon:"h-9 w-9 rounded-full"}},defaultVariants:{variant:"default",size:"default"}}),a=n.forwardRef(({className:e,variant:o,size:n,asChild:a=!1,...i},c)=>{let d=a?t.Slot:"button";return(0,r.jsx)(d,{className:(0,l.cn)(s({variant:o,size:n,className:e})),ref:c,...i})});a.displayName="Button",e.s(["Button",0,a])},61086,e=>{"use strict";var r=e.i(468317),t=e.i(59805),o=e.i(788160),n=e.i(975157);let l=(0,t.createContext)(null),s=(0,t.createContext)(null);e.s(["ViewerToolbar",0,function({path:e,badge:a,sublabel:i,showBreadcrumb:c=!0,leading:d,children:p,className:m}){let u=(0,t.useContext)(l),f=(0,t.useContext)(s);return u?(0,r.jsxs)(r.Fragment,{children:[a&&(f?(0,o.createPortal)((0,r.jsx)("span",{className:"shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground/50",children:a}),f):(0,o.createPortal)((0,r.jsx)("span",{className:"shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground/50",children:a}),u)),(0,o.createPortal)((0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground/40",children:i}),p]}),u)]}):(0,r.jsxs)("div",{className:(0,n.cn)("flex shrink-0 items-center justify-between gap-3 border-b border-border bg-background px-4 py-2",m),children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[d,e&&(0,r.jsx)("span",{className:"text-xs text-muted-foreground truncate",title:e,children:e.split("/").pop()??e}),a&&(0,r.jsx)("span",{className:"shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground/50",children:a}),i&&(0,r.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground/40",children:i})]}),(0,r.jsx)("div",{className:"flex shrink-0 items-center gap-1",children:p})]})},"ViewerToolbarBadgeSlotContext",0,s,"ViewerToolbarSlotContext",0,l])},671485,e=>{"use strict";var r=e.i(748576),t=e.i(354502);let o=["/api/wiki","/api/assets/","/api/upload/","/api/pdf/","/api/system/reveal","/api/app-proxy/"],n=["/api/agent/admin","/api/agent/register","/api/agents"];function l(){return new URLSearchParams(window.location.search).get("ws")}function s(){return new URLSearchParams(window.location.search).get("root")}function a(e){let r=s(),a=r?null:l(),i=e.indexOf("?"),c=-1===i?e:e.slice(0,i),d=-1===i?"":e.slice(i+1);if(function(e){for(let r of n)if(e===r||e.startsWith(r+"/"))return!1;if(e.startsWith("/api/agent/"))return!0;for(let r of o)if(e.startsWith(r))return!0;return!1}(c)){let e=new URLSearchParams(d);if(!e.has("root")&&!e.has("ws")){r?e.set("root",r):a&&e.set("ws",a);let o=e.toString();return(0,t.apiUrl)(o?`${c}?${o}`:c)}}return(0,t.apiUrl)(e)}function i(e,r){return fetch(a(e),r)}function c(e){let o=e.split("/").map(e=>encodeURIComponent(e)).join("/"),n=s();if(n)return(0,t.apiUrl)(`/api/assets/_root/${("function"==typeof btoa?btoa(n):r.Buffer.from(n).toString("base64")).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}/${o}`);let a=l();return a?(0,t.apiUrl)(`/api/assets/_ws/${encodeURIComponent(a)}/${o}`):(0,t.apiUrl)(`/api/assets/${o}`)}let d=new Map;async function p(e){let r=e.split("/").map(e=>encodeURIComponent(e)).join("/"),o=e.lastIndexOf("/"),n=o<=0?"":e.slice(0,o),a=`${s()??l()??""}:${n}`,p=d.get(a),m=p&&p.expiresAt-Date.now()>3e4?p.token:null;if(m)return(0,t.apiUrl)(`/api/assets/_p/${m}/${r}`);try{let o=await i(`/api/wiki/preview-token?path=${encodeURIComponent(e)}`);if(!o.ok)return c(e);let n=await o.json();if(!n.token||"number"!=typeof n.expiresAt)return c(e);return d.set(a,{token:n.token,expiresAt:n.expiresAt}),(0,t.apiUrl)(`/api/assets/_p/${n.token}/${r}`)}catch{return c(e)}}e.s(["assetPreviewUrl",0,c,"getActiveWorkspaceId",0,l,"getEphemeralRoot",0,s,"previewAssetUrl",0,p,"toRootRelative",0,function(e,r){if(!e.startsWith("/"))return e;if(!r)return null;let t=r.endsWith("/")?r.slice(0,-1):r;return e===t?"":e.startsWith(t+"/")?e.slice(t.length+1):null},"withWs",0,a,"wsFetch",0,i])}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,605993,e=>{"use strict";var r=e.i(59805);let t=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},o=(...e)=>e.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim();var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,r.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:l=2,absoluteStrokeWidth:s,className:a="",children:i,iconNode:c,...d},p)=>(0,r.createElement)("svg",{ref:p,...n,width:t,height:t,stroke:e,strokeWidth:s?24*Number(l)/Number(t):l,className:o("lucide",a),...!i&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,t])=>(0,r.createElement)(e,t)),...Array.isArray(i)?i:[i]]));e.s(["default",0,(e,n)=>{let s=(0,r.forwardRef)(({className:s,...a},i)=>(0,r.createElement)(l,{ref:i,iconNode:n,className:o(`lucide-${t(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,s),...a}));return s.displayName=t(e),s}],605993)},206102,967928,e=>{"use strict";var r=e.i(59805);function t(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function o(...e){return r=>{let o=!1,n=e.map(e=>{let n=t(e,r);return o||"function"!=typeof n||(o=!0),n});if(o)return()=>{for(let r=0;r<n.length;r++){let o=n[r];"function"==typeof o?o():t(e[r],null)}}}}e.s(["composeRefs",0,o,"useComposedRefs",0,function(...e){return r.useCallback(o(...e),e)}],967928);var n=e.i(468317),l=Symbol.for("react.lazy"),s=r[" use ".trim().toString()];function a(e){var r;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(r=e._payload)&&null!==r&&"then"in r}function i(e){var t;let l,i=(t=e,(l=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(a(n)&&"function"==typeof s&&(n=s(n._payload)),r.isValidElement(n)){var i;let e,s,a=(i=n,(s=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(s=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=function(e,r){let t={...r};for(let o in r){let n=e[o],l=r[o];/^on[A-Z]/.test(o)?n&&l?t[o]=(...e)=>{let r=l(...e);return n(...e),r}:n&&(t[o]=n):"style"===o?t[o]={...n,...l}:"className"===o&&(t[o]=[n,l].filter(Boolean).join(" "))}return{...e,...t}}(l,n.props);return n.type!==r.Fragment&&(c.ref=t?o(t,a):a),r.cloneElement(n,c)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${t}.SlotClone`,l),c=r.forwardRef((e,t)=>{let{children:o,...l}=e;a(o)&&"function"==typeof s&&(o=s(o._payload));let c=r.Children.toArray(o),d=c.find(p);if(d){let e=d.props.children,o=c.map(t=>t!==d?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,n.jsx)(i,{...l,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,o):null})}return(0,n.jsx)(i,{...l,ref:t,children:o})});return c.displayName=`${e}.Slot`,c}var c=i("Slot"),d=Symbol("radix.slottable");function p(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}e.s(["Slot",0,c,"createSlot",0,i],206102)},7284,e=>{"use strict";e.s(["clsx",0,function(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=function e(r){var t,o,n="";if("string"==typeof r||"number"==typeof r)n+=r;else if("object"==typeof r)if(Array.isArray(r)){var l=r.length;for(t=0;t<l;t++)r[t]&&(o=e(r[t]))&&(n&&(n+=" "),n+=o)}else for(o in r)r[o]&&(n&&(n+=" "),n+=o);return n}(e))&&(o&&(o+=" "),o+=r);return o}])},294237,e=>{"use strict";var r=e.i(7284);let t=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,o=r.clsx;e.s(["cva",0,(e,r)=>n=>{var l;if((null==r?void 0:r.variants)==null)return o(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:s,defaultVariants:a}=r,i=Object.keys(s).map(e=>{let r=null==n?void 0:n[e],o=null==a?void 0:a[e];if(null===r)return null;let l=t(r)||t(o);return s[e][l]}),c=n&&Object.entries(n).reduce((e,r)=>{let[t,o]=r;return void 0===o||(e[t]=o),e},{});return o(e,i,null==r||null==(l=r.compoundVariants)?void 0:l.reduce((e,r)=>{let{class:t,className:o,...n}=r;return Object.entries(n).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...a,...c}[r]):({...a,...c})[r]===t})?[...e,t,o]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}])},975157,e=>{"use strict";var r=e.i(7284);let t=(e=new Map,r=null,t)=>({nextPart:e,validators:r,classGroupId:t}),o=[],n=(e,r,t)=>{if(0==e.length-r)return t.classGroupId;let o=e[r],l=t.nextPart.get(o);if(l){let t=n(e,r+1,l);if(t)return t}let s=t.validators;if(null===s)return;let a=0===r?e.join("-"):e.slice(r).join("-"),i=s.length;for(let e=0;e<i;e++){let r=s[e];if(r.validator(a))return r.classGroupId}},l=(e,r)=>{let o=t();for(let t in e)s(e[t],o,t,r);return o},s=(e,r,t,o)=>{let n=e.length;for(let l=0;l<n;l++)a(e[l],r,t,o)},a=(e,r,t,o)=>{"string"==typeof e?i(e,r,t):"function"==typeof e?c(e,r,t,o):d(e,r,t,o)},i=(e,r,t)=>{(""===e?r:p(r,e)).classGroupId=t},c=(e,r,t,o)=>{m(e)?s(e(o),r,t,o):(null===r.validators&&(r.validators=[]),r.validators.push({classGroupId:t,validator:e}))},d=(e,r,t,o)=>{let n=Object.entries(e),l=n.length;for(let e=0;e<l;e++){let[l,a]=n[e];s(a,p(r,l),t,o)}},p=(e,r)=>{let o=e,n=r.split("-"),l=n.length;for(let e=0;e<l;e++){let r=n[e],l=o.nextPart.get(r);l||(l=t(),o.nextPart.set(r,l)),o=l}return o},m=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,u=[],f=(e,r,t,o,n)=>({modifiers:e,hasImportantModifier:r,baseClassName:t,maybePostfixModifierPosition:o,isExternal:n}),b=/\s+/,g=e=>{let r;if("string"==typeof e)return e;let t="";for(let o=0;o<e.length;o++)e[o]&&(r=g(e[o]))&&(t&&(t+=" "),t+=r);return t},h=[],x=e=>{let r=r=>r[e]||h;return r.isThemeGetter=!0,r},w=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,k=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,z=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,j=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,C=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,$=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,N=e=>v.test(e),W=e=>!!e&&!Number.isNaN(Number(e)),R=e=>!!e&&Number.isInteger(Number(e)),S=e=>e.endsWith("%")&&W(e.slice(0,-1)),A=e=>y.test(e),O=()=>!0,U=e=>z.test(e)&&!j.test(e),_=()=>!1,I=e=>C.test(e),G=e=>$.test(e),P=e=>!T(e)&&!K(e),E=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),L=e=>et(e,es,_),T=e=>w.test(e),B=e=>et(e,ea,U),V=e=>et(e,ei,W),M=e=>et(e,ed,O),F=e=>et(e,ec,_),D=e=>et(e,en,_),Z=e=>et(e,el,G),q=e=>et(e,ep,I),K=e=>k.test(e),H=e=>eo(e,ea),J=e=>eo(e,ec),Q=e=>eo(e,en),X=e=>eo(e,es),Y=e=>eo(e,el),ee=e=>eo(e,ep,!0),er=e=>eo(e,ed,!0),et=(e,r,t)=>{let o=w.exec(e);return!!o&&(o[1]?r(o[1]):t(o[2]))},eo=(e,r,t=!1)=>{let o=k.exec(e);return!!o&&(o[1]?r(o[1]):t)},en=e=>"position"===e||"percentage"===e,el=e=>"image"===e||"url"===e,es=e=>"length"===e||"size"===e||"bg-size"===e,ea=e=>"length"===e,ei=e=>"number"===e,ec=e=>"family-name"===e,ed=e=>"number"===e||"weight"===e,ep=e=>"shadow"===e,em=((e,...r)=>{let t,s,a,i,c=e=>{let r=s(e);if(r)return r;let o=((e,r)=>{let{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:l,postfixLookupClassGroupIds:s}=r,a=[],i=e.trim().split(b),c="";for(let e=i.length-1;e>=0;e-=1){let r,d=i[e],{isExternal:p,modifiers:m,hasImportantModifier:u,baseClassName:f,maybePostfixModifierPosition:b}=t(d);if(p){c=d+(c.length>0?" "+c:c);continue}let g=!!b;if(g){let e=(r=o(f.substring(0,b)))&&s[r]?o(f):void 0;e&&e!==r&&(r=e,g=!1)}else r=o(f);if(!r){if(!g||!(r=o(f))){c=d+(c.length>0?" "+c:c);continue}g=!1}let h=0===m.length?"":1===m.length?m[0]:l(m).join(":"),x=u?h+"!":h,w=x+r;if(a.indexOf(w)>-1)continue;a.push(w);let k=n(r,g);for(let e=0;e<k.length;++e){let r=k[e];a.push(x+r)}c=d+(c.length>0?" "+c:c)}return c})(e,t);return a(e,o),o};return i=d=>{var p;let m;return s=(t={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let r=0,t=Object.create(null),o=Object.create(null),n=(n,l)=>{t[n]=l,++r>e&&(r=0,o=t,t=Object.create(null))};return{get(e){let r=t[e];return void 0!==r?r:void 0!==(r=o[e])?(n(e,r),r):void 0},set(e,r){e in t?t[e]=r:n(e,r)}}})((p=r.reduce((e,r)=>r(e),e())).cacheSize),parseClassName:(e=>{let{prefix:r,experimentalParseClassName:t}=e,o=e=>{let r,t=[],o=0,n=0,l=0,s=e.length;for(let a=0;a<s;a++){let s=e[a];if(0===o&&0===n){if(":"===s){t.push(e.slice(l,a)),l=a+1;continue}if("/"===s){r=a;continue}}"["===s?o++:"]"===s?o--:"("===s?n++:")"===s&&n--}let a=0===t.length?e:e.slice(l),i=a,c=!1;return a.endsWith("!")?(i=a.slice(0,-1),c=!0):a.startsWith("!")&&(i=a.slice(1),c=!0),f(t,c,i,r&&r>l?r-l:void 0)};if(r){let e=r+":",t=o;o=r=>r.startsWith(e)?t(r.slice(e.length)):f(u,!1,r,void 0,!0)}if(t){let e=o;o=r=>t({className:r,parseClassName:e})}return o})(p),sortModifiers:(m=new Map,p.orderSensitiveModifiers.forEach((e,r)=>{m.set(e,1e6+r)}),e=>{let r=[],t=[];for(let o=0;o<e.length;o++){let n=e[o],l="["===n[0],s=m.has(n);l||s?(t.length>0&&(t.sort(),r.push(...t),t=[]),r.push(n)):t.push(n)}return t.length>0&&(t.sort(),r.push(...t)),r}),postfixLookupClassGroupIds:(e=>{let r=Object.create(null),t=e.postfixLookupClassGroups;if(t)for(let e=0;e<t.length;e++)r[t[e]]=!0;return r})(p),...(e=>{let r=(e=>{let{theme:r,classGroups:t}=e;return l(t,r)})(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var t;let r,o,n;return -1===(t=e).slice(1,-1).indexOf(":")?void 0:(o=(r=t.slice(1,-1)).indexOf(":"),(n=r.slice(0,o))?"arbitrary.."+n:void 0)}let o=e.split("-"),l=+(""===o[0]&&o.length>1);return n(o,l,r)},getConflictingClassGroupIds:(e,r)=>{if(r){let r=s[e],n=t[e];if(r){if(n){let e=Array(n.length+r.length);for(let r=0;r<n.length;r++)e[r]=n[r];for(let t=0;t<r.length;t++)e[n.length+t]=r[t];return e}return r}return n||o}return t[e]||o}}})(p)}).cache.get,a=t.cache.set,i=c,c(d)},(...e)=>i(((...e)=>{let r,t,o=0,n="";for(;o<e.length;)(r=e[o++])&&(t=g(r))&&(n&&(n+=" "),n+=t);return n})(...e))})(()=>{let e=x("color"),r=x("font"),t=x("text"),o=x("font-weight"),n=x("tracking"),l=x("leading"),s=x("breakpoint"),a=x("container"),i=x("spacing"),c=x("radius"),d=x("shadow"),p=x("inset-shadow"),m=x("text-shadow"),u=x("drop-shadow"),f=x("blur"),b=x("perspective"),g=x("aspect"),h=x("ease"),w=x("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],y=()=>[...v(),K,T],z=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],C=()=>[K,T,i],$=()=>[N,"full","auto",...C()],U=()=>[R,"none","subgrid",K,T],_=()=>["auto",{span:["full",R,K,T]},R,K,T],I=()=>[R,"auto",K,T],G=()=>["auto","min","max","fr",K,T],et=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],eo=()=>["start","end","center","stretch","center-safe","end-safe"],en=()=>["auto",...C()],el=()=>[N,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],es=()=>[N,"screen","full","dvw","lvw","svw","min","max","fit",...C()],ea=()=>[N,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],ei=()=>[e,K,T],ec=()=>[...v(),Q,D,{position:[K,T]}],ed=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ep=()=>["auto","cover","contain",X,L,{size:[K,T]}],em=()=>[S,H,B],eu=()=>["","none","full",c,K,T],ef=()=>["",W,H,B],eb=()=>["solid","dashed","dotted","double"],eg=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],eh=()=>[W,S,Q,D],ex=()=>["","none",f,K,T],ew=()=>["none",W,K,T],ek=()=>["none",W,K,T],ev=()=>[W,K,T],ey=()=>[N,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[A],breakpoint:[A],color:[O],container:[A],"drop-shadow":[A],ease:["in","out","in-out"],font:[P],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[A],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[A],shadow:[A],spacing:["px",W],text:[A],"text-shadow":[A],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",N,T,K,g]}],container:["container"],"container-type":[{"@container":["","normal","size",K,T]}],"container-named":[E],columns:[{columns:[W,T,K,a]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:$()}],"inset-x":[{"inset-x":$()}],"inset-y":[{"inset-y":$()}],start:[{"inset-s":$(),start:$()}],end:[{"inset-e":$(),end:$()}],"inset-bs":[{"inset-bs":$()}],"inset-be":[{"inset-be":$()}],top:[{top:$()}],right:[{right:$()}],bottom:[{bottom:$()}],left:[{left:$()}],visibility:["visible","invisible","collapse"],z:[{z:[R,"auto",K,T]}],basis:[{basis:[N,"full","auto",a,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[W,N,"auto","initial","none",T]}],grow:[{grow:["",W,K,T]}],shrink:[{shrink:["",W,K,T]}],order:[{order:[R,"first","last","none",K,T]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":G()}],"auto-rows":[{"auto-rows":G()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...et(),"normal"]}],"justify-items":[{"justify-items":[...eo(),"normal"]}],"justify-self":[{"justify-self":["auto",...eo()]}],"align-content":[{content:["normal",...et()]}],"align-items":[{items:[...eo(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...eo(),{baseline:["","last"]}]}],"place-content":[{"place-content":et()}],"place-items":[{"place-items":[...eo(),"baseline"]}],"place-self":[{"place-self":["auto",...eo()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:en()}],mx:[{mx:en()}],my:[{my:en()}],ms:[{ms:en()}],me:[{me:en()}],mbs:[{mbs:en()}],mbe:[{mbe:en()}],mt:[{mt:en()}],mr:[{mr:en()}],mb:[{mb:en()}],ml:[{ml:en()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:el()}],"inline-size":[{inline:["auto",...es()]}],"min-inline-size":[{"min-inline":["auto",...es()]}],"max-inline-size":[{"max-inline":["none",...es()]}],"block-size":[{block:["auto",...ea()]}],"min-block-size":[{"min-block":["auto",...ea()]}],"max-block-size":[{"max-block":["none",...ea()]}],w:[{w:[a,"screen",...el()]}],"min-w":[{"min-w":[a,"screen","none",...el()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...el()]}],h:[{h:["screen","lh",...el()]}],"min-h":[{"min-h":["screen","lh","none",...el()]}],"max-h":[{"max-h":["screen","lh",...el()]}],"font-size":[{text:["base",t,H,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,er,M]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",S,T]}],"font-family":[{font:[J,F,r]}],"font-features":[{"font-features":[T]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,K,T]}],"line-clamp":[{"line-clamp":[W,"none",K,V]}],leading:[{leading:[l,...C()]}],"list-image":[{"list-image":["none",K,T]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ei()}],"text-color":[{text:ei()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...eb(),"wavy"]}],"text-decoration-thickness":[{decoration:[W,"from-font","auto",K,B]}],"text-decoration-color":[{decoration:ei()}],"underline-offset":[{"underline-offset":[W,"auto",K,T]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"tab-size":[{tab:[R,K,T]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",K,T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ec()}],"bg-repeat":[{bg:ed()}],"bg-size":[{bg:ep()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},R,K,T],radial:["",K,T],conic:[R,K,T]},Y,Z]}],"bg-color":[{bg:ei()}],"gradient-from-pos":[{from:em()}],"gradient-via-pos":[{via:em()}],"gradient-to-pos":[{to:em()}],"gradient-from":[{from:ei()}],"gradient-via":[{via:ei()}],"gradient-to":[{to:ei()}],rounded:[{rounded:eu()}],"rounded-s":[{"rounded-s":eu()}],"rounded-e":[{"rounded-e":eu()}],"rounded-t":[{"rounded-t":eu()}],"rounded-r":[{"rounded-r":eu()}],"rounded-b":[{"rounded-b":eu()}],"rounded-l":[{"rounded-l":eu()}],"rounded-ss":[{"rounded-ss":eu()}],"rounded-se":[{"rounded-se":eu()}],"rounded-ee":[{"rounded-ee":eu()}],"rounded-es":[{"rounded-es":eu()}],"rounded-tl":[{"rounded-tl":eu()}],"rounded-tr":[{"rounded-tr":eu()}],"rounded-br":[{"rounded-br":eu()}],"rounded-bl":[{"rounded-bl":eu()}],"border-w":[{border:ef()}],"border-w-x":[{"border-x":ef()}],"border-w-y":[{"border-y":ef()}],"border-w-s":[{"border-s":ef()}],"border-w-e":[{"border-e":ef()}],"border-w-bs":[{"border-bs":ef()}],"border-w-be":[{"border-be":ef()}],"border-w-t":[{"border-t":ef()}],"border-w-r":[{"border-r":ef()}],"border-w-b":[{"border-b":ef()}],"border-w-l":[{"border-l":ef()}],"divide-x":[{"divide-x":ef()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ef()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...eb(),"hidden","none"]}],"divide-style":[{divide:[...eb(),"hidden","none"]}],"border-color":[{border:ei()}],"border-color-x":[{"border-x":ei()}],"border-color-y":[{"border-y":ei()}],"border-color-s":[{"border-s":ei()}],"border-color-e":[{"border-e":ei()}],"border-color-bs":[{"border-bs":ei()}],"border-color-be":[{"border-be":ei()}],"border-color-t":[{"border-t":ei()}],"border-color-r":[{"border-r":ei()}],"border-color-b":[{"border-b":ei()}],"border-color-l":[{"border-l":ei()}],"divide-color":[{divide:ei()}],"outline-style":[{outline:[...eb(),"none","hidden"]}],"outline-offset":[{"outline-offset":[W,K,T]}],"outline-w":[{outline:["",W,H,B]}],"outline-color":[{outline:ei()}],shadow:[{shadow:["","none",d,ee,q]}],"shadow-color":[{shadow:ei()}],"inset-shadow":[{"inset-shadow":["none",p,ee,q]}],"inset-shadow-color":[{"inset-shadow":ei()}],"ring-w":[{ring:ef()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ei()}],"ring-offset-w":[{"ring-offset":[W,B]}],"ring-offset-color":[{"ring-offset":ei()}],"inset-ring-w":[{"inset-ring":ef()}],"inset-ring-color":[{"inset-ring":ei()}],"text-shadow":[{"text-shadow":["none",m,ee,q]}],"text-shadow-color":[{"text-shadow":ei()}],opacity:[{opacity:[W,K,T]}],"mix-blend":[{"mix-blend":[...eg(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":eg()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[W]}],"mask-image-linear-from-pos":[{"mask-linear-from":eh()}],"mask-image-linear-to-pos":[{"mask-linear-to":eh()}],"mask-image-linear-from-color":[{"mask-linear-from":ei()}],"mask-image-linear-to-color":[{"mask-linear-to":ei()}],"mask-image-t-from-pos":[{"mask-t-from":eh()}],"mask-image-t-to-pos":[{"mask-t-to":eh()}],"mask-image-t-from-color":[{"mask-t-from":ei()}],"mask-image-t-to-color":[{"mask-t-to":ei()}],"mask-image-r-from-pos":[{"mask-r-from":eh()}],"mask-image-r-to-pos":[{"mask-r-to":eh()}],"mask-image-r-from-color":[{"mask-r-from":ei()}],"mask-image-r-to-color":[{"mask-r-to":ei()}],"mask-image-b-from-pos":[{"mask-b-from":eh()}],"mask-image-b-to-pos":[{"mask-b-to":eh()}],"mask-image-b-from-color":[{"mask-b-from":ei()}],"mask-image-b-to-color":[{"mask-b-to":ei()}],"mask-image-l-from-pos":[{"mask-l-from":eh()}],"mask-image-l-to-pos":[{"mask-l-to":eh()}],"mask-image-l-from-color":[{"mask-l-from":ei()}],"mask-image-l-to-color":[{"mask-l-to":ei()}],"mask-image-x-from-pos":[{"mask-x-from":eh()}],"mask-image-x-to-pos":[{"mask-x-to":eh()}],"mask-image-x-from-color":[{"mask-x-from":ei()}],"mask-image-x-to-color":[{"mask-x-to":ei()}],"mask-image-y-from-pos":[{"mask-y-from":eh()}],"mask-image-y-to-pos":[{"mask-y-to":eh()}],"mask-image-y-from-color":[{"mask-y-from":ei()}],"mask-image-y-to-color":[{"mask-y-to":ei()}],"mask-image-radial":[{"mask-radial":[K,T]}],"mask-image-radial-from-pos":[{"mask-radial-from":eh()}],"mask-image-radial-to-pos":[{"mask-radial-to":eh()}],"mask-image-radial-from-color":[{"mask-radial-from":ei()}],"mask-image-radial-to-color":[{"mask-radial-to":ei()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[W]}],"mask-image-conic-from-pos":[{"mask-conic-from":eh()}],"mask-image-conic-to-pos":[{"mask-conic-to":eh()}],"mask-image-conic-from-color":[{"mask-conic-from":ei()}],"mask-image-conic-to-color":[{"mask-conic-to":ei()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ec()}],"mask-repeat":[{mask:ed()}],"mask-size":[{mask:ep()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,T]}],filter:[{filter:["","none",K,T]}],blur:[{blur:ex()}],brightness:[{brightness:[W,K,T]}],contrast:[{contrast:[W,K,T]}],"drop-shadow":[{"drop-shadow":["","none",u,ee,q]}],"drop-shadow-color":[{"drop-shadow":ei()}],grayscale:[{grayscale:["",W,K,T]}],"hue-rotate":[{"hue-rotate":[W,K,T]}],invert:[{invert:["",W,K,T]}],saturate:[{saturate:[W,K,T]}],sepia:[{sepia:["",W,K,T]}],"backdrop-filter":[{"backdrop-filter":["","none",K,T]}],"backdrop-blur":[{"backdrop-blur":ex()}],"backdrop-brightness":[{"backdrop-brightness":[W,K,T]}],"backdrop-contrast":[{"backdrop-contrast":[W,K,T]}],"backdrop-grayscale":[{"backdrop-grayscale":["",W,K,T]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[W,K,T]}],"backdrop-invert":[{"backdrop-invert":["",W,K,T]}],"backdrop-opacity":[{"backdrop-opacity":[W,K,T]}],"backdrop-saturate":[{"backdrop-saturate":[W,K,T]}],"backdrop-sepia":[{"backdrop-sepia":["",W,K,T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,T]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[W,"initial",K,T]}],ease:[{ease:["linear","initial",h,K,T]}],delay:[{delay:[W,K,T]}],animate:[{animate:["none",w,K,T]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,K,T]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:ew()}],"rotate-x":[{"rotate-x":ew()}],"rotate-y":[{"rotate-y":ew()}],"rotate-z":[{"rotate-z":ew()}],scale:[{scale:ek()}],"scale-x":[{"scale-x":ek()}],"scale-y":[{"scale-y":ek()}],"scale-z":[{"scale-z":ek()}],"scale-3d":["scale-3d"],skew:[{skew:ev()}],"skew-x":[{"skew-x":ev()}],"skew-y":[{"skew-y":ev()}],transform:[{transform:[K,T,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ey()}],"translate-x":[{"translate-x":ey()}],"translate-y":[{"translate-y":ey()}],"translate-z":[{"translate-z":ey()}],"translate-none":["translate-none"],zoom:[{zoom:[R,K,T]}],accent:[{accent:ei()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ei()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",K,T]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":ei()}],"scrollbar-track-color":[{"scrollbar-track":ei()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",K,T]}],fill:[{fill:["none",...ei()]}],"stroke-w":[{stroke:[W,H,B,V]}],stroke:[{stroke:["none",...ei()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});e.s(["cn",0,function(...e){return em((0,r.clsx)(e))}],975157)},519455,e=>{"use strict";var r=e.i(468317),t=e.i(206102),o=e.i(294237),n=e.i(59805),l=e.i(975157);let s=(0,o.cva)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium normal-case transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-e-1 hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-e-1 hover:bg-destructive/90",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-e-1 hover:bg-secondary/80",ghost:"bg-transparent hover:bg-accent/10 text-foreground",link:"text-foreground underline underline-offset-4 hover:text-accent"},size:{default:"h-10 p-3 rounded-full",sm:"h-8 rounded-full px-3 text-xs",lg:"h-10 rounded-full px-8",icon:"h-9 w-9 rounded-full"}},defaultVariants:{variant:"default",size:"default"}}),a=n.forwardRef(({className:e,variant:o,size:n,asChild:a=!1,...i},c)=>{let d=a?t.Slot:"button";return(0,r.jsx)(d,{className:(0,l.cn)(s({variant:o,size:n,className:e})),ref:c,...i})});a.displayName="Button",e.s(["Button",0,a])},671485,e=>{"use strict";var r=e.i(748576),t=e.i(354502);let o=["/api/wiki","/api/assets/","/api/upload/","/api/pdf/","/api/system/reveal","/api/app-proxy/"],n=["/api/agent/admin","/api/agent/register","/api/agents"];function l(){return new URLSearchParams(window.location.search).get("ws")}function s(){return new URLSearchParams(window.location.search).get("root")}function a(e){let r=s(),a=r?null:l(),i=e.indexOf("?"),c=-1===i?e:e.slice(0,i),d=-1===i?"":e.slice(i+1);if(function(e){for(let r of n)if(e===r||e.startsWith(r+"/"))return!1;if(e.startsWith("/api/agent/"))return!0;for(let r of o)if(e.startsWith(r))return!0;return!1}(c)){let e=new URLSearchParams(d);if(!e.has("root")&&!e.has("ws")){r?e.set("root",r):a&&e.set("ws",a);let o=e.toString();return(0,t.apiUrl)(o?`${c}?${o}`:c)}}return(0,t.apiUrl)(e)}function i(e,r){return fetch(a(e),r)}function c(e){let o=e.split("/").map(e=>encodeURIComponent(e)).join("/"),n=s();if(n)return(0,t.apiUrl)(`/api/assets/_root/${("function"==typeof btoa?btoa(n):r.Buffer.from(n).toString("base64")).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}/${o}`);let a=l();return a?(0,t.apiUrl)(`/api/assets/_ws/${encodeURIComponent(a)}/${o}`):(0,t.apiUrl)(`/api/assets/${o}`)}let d=new Map;async function p(e){let r=e.split("/").map(e=>encodeURIComponent(e)).join("/"),o=e.lastIndexOf("/"),n=o<=0?"":e.slice(0,o),a=`${s()??l()??""}:${n}`,p=d.get(a),m=p&&p.expiresAt-Date.now()>3e4?p.token:null;if(m)return(0,t.apiUrl)(`/api/assets/_p/${m}/${r}`);try{let o=await i(`/api/wiki/preview-token?path=${encodeURIComponent(e)}`);if(!o.ok)return c(e);let n=await o.json();if(!n.token||"number"!=typeof n.expiresAt)return c(e);return d.set(a,{token:n.token,expiresAt:n.expiresAt}),(0,t.apiUrl)(`/api/assets/_p/${n.token}/${r}`)}catch{return c(e)}}e.s(["assetPreviewUrl",0,c,"getActiveWorkspaceId",0,l,"getEphemeralRoot",0,s,"previewAssetUrl",0,p,"toRootRelative",0,function(e,r){if(!e.startsWith("/"))return e;if(!r)return null;let t=r.endsWith("/")?r.slice(0,-1):r;return e===t?"":e.startsWith(t+"/")?e.slice(t.length+1):null},"withWs",0,a,"wsFetch",0,i])},61086,e=>{"use strict";var r=e.i(468317),t=e.i(59805),o=e.i(788160),n=e.i(975157);let l=(0,t.createContext)(null),s=(0,t.createContext)(null);e.s(["ViewerToolbar",0,function({path:e,badge:a,sublabel:i,showBreadcrumb:c=!0,leading:d,children:p,className:m}){let u=(0,t.useContext)(l),f=(0,t.useContext)(s);return u?(0,r.jsxs)(r.Fragment,{children:[a&&(f?(0,o.createPortal)((0,r.jsx)("span",{className:"shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground/50",children:a}),f):(0,o.createPortal)((0,r.jsx)("span",{className:"shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground/50",children:a}),u)),(0,o.createPortal)((0,r.jsxs)(r.Fragment,{children:[i&&(0,r.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground/40",children:i}),p]}),u)]}):(0,r.jsxs)("div",{className:(0,n.cn)("flex shrink-0 items-center justify-between gap-3 border-b border-border bg-background px-4 py-2",m),children:[(0,r.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[d,e&&(0,r.jsx)("span",{className:"text-xs text-muted-foreground truncate",title:e,children:e.split("/").pop()??e}),a&&(0,r.jsx)("span",{className:"shrink-0 rounded bg-muted px-1.5 py-0.5 text-xs text-muted-foreground/50",children:a}),i&&(0,r.jsx)("span",{className:"shrink-0 text-xs text-muted-foreground/40",children:i})]}),(0,r.jsx)("div",{className:"flex shrink-0 items-center gap-1",children:p})]})},"ViewerToolbarBadgeSlotContext",0,s,"ViewerToolbarSlotContext",0,l])}]);
|