@epic-web/workshop-app 6.90.6 → 6.90.7
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/build/client/assets/_-CeOzxmar.js +2 -0
- package/build/client/assets/_baseUniq-4oH_Q7Vk.js +2 -0
- package/build/client/assets/_exerciseNumber-BPVcfbY_.js +2 -0
- package/build/client/assets/_exerciseNumber_._stepNumber.index-C8tkrxSn.js +2 -0
- package/build/client/assets/_exerciseNumber_.finished-BvS9YyJr.js +2 -0
- package/build/client/assets/_extra-CgUsEuSs.js +2 -0
- package/build/client/assets/_layout-1LavVfsQ.js +2 -0
- package/build/client/assets/_layout-BbSfH6WO.js +2 -0
- package/build/client/assets/_layout-CqKqCySJ.js +2 -0
- package/build/client/assets/_layout-DbT1htXr.js +2 -0
- package/build/client/assets/_layout-TMDK8aRH.js +2 -0
- package/build/client/assets/abap-byQSk9zq.js +2 -0
- package/build/client/assets/account-C_TpDcKl.js +2 -0
- package/build/client/assets/actionscript-3-D8ryTY1T.js +2 -0
- package/build/client/assets/ada-rexpK-0k.js +2 -0
- package/build/client/assets/andromeeda-BMx72KOl.js +2 -0
- package/build/client/assets/angular-html-DN2DrPrW.js +2 -0
- package/build/client/assets/angular-ts-Bqs0-RYU.js +2 -0
- package/build/client/assets/apache-D5lRis66.js +2 -0
- package/build/client/assets/apex-DUQXPXaM.js +2 -0
- package/build/client/assets/apl-BXjC_AhZ.js +2 -0
- package/build/client/assets/app-D_IyS6OK.js +2 -0
- package/build/client/assets/applescript-DiF_fBG4.js +2 -0
- package/build/client/assets/ara-BBjcN_KV.js +2 -0
- package/build/client/assets/arc-97mLvBJs.js +2 -0
- package/build/client/assets/architectureDiagram-Q4EWVU46-tXc3t5Fp.js +37 -0
- package/build/client/assets/asciidoc-Ea478Kdm.js +2 -0
- package/build/client/assets/asm-rQDUXsm1.js +2 -0
- package/build/client/assets/astro-W3JdfXJD.js +2 -0
- package/build/client/assets/aurora-x-BFI1bxxP.js +2 -0
- package/build/client/assets/awk-Dkc4n7Wq.js +2 -0
- package/build/client/assets/ayu-dark-CAp8-qkL.js +2 -0
- package/build/client/assets/ayu-light-Zs_tvfY8.js +2 -0
- package/build/client/assets/ayu-mirage-Cop5fZoa.js +2 -0
- package/build/client/assets/ballerina-CVD5M1DM.js +2 -0
- package/build/client/assets/bat-DJm67GvI.js +2 -0
- package/build/client/assets/beancount-CaH73hvE.js +2 -0
- package/build/client/assets/berry-BL6SRVUx.js +2 -0
- package/build/client/assets/bibtex-Db7y0Szc.js +2 -0
- package/build/client/assets/bicep-WJZr01Cp.js +2 -0
- package/build/client/assets/blade-B54rOr3_.js +2 -0
- package/build/client/assets/blockDiagram-DXYQGD6D-C6N3Mmxx.js +133 -0
- package/build/client/assets/bsl-DMZEeTeS.js +2 -0
- package/build/client/assets/button-CrkJGN0z.js +2 -0
- package/build/client/assets/c-D5UmkVx3.js +2 -0
- package/build/client/assets/c3-r0SqpI4u.js +2 -0
- package/build/client/assets/c4Diagram-AHTNJAMY-CLFCelti.js +11 -0
- package/build/client/assets/cache-BbimrefB.js +2 -0
- package/build/client/assets/cadence-BgEOZUPS.js +2 -0
- package/build/client/assets/cairo-ShlBB_eq.js +2 -0
- package/build/client/assets/catppuccin-frappe-Cf17ERmI.js +2 -0
- package/build/client/assets/catppuccin-latte-CCGO0cP4.js +2 -0
- package/build/client/assets/catppuccin-macchiato-BwXyl1F-.js +2 -0
- package/build/client/assets/catppuccin-mocha-BILCBg-_.js +2 -0
- package/build/client/assets/channel-BDgedWvN.js +2 -0
- package/build/client/assets/chunk-4BX2VUAB-QhHyiTUv.js +2 -0
- package/build/client/assets/chunk-4TB4RGXK-NiXVm09Y.js +207 -0
- package/build/client/assets/chunk-55IACEB6-CEv2yvrN.js +2 -0
- package/build/client/assets/chunk-EDXVE4YY-CU9TPsHm.js +2 -0
- package/build/client/assets/chunk-FMBD7UC4-C4LSd3dz.js +16 -0
- package/build/client/assets/chunk-OYMX7WX6-Dlrc5aXM.js +232 -0
- package/build/client/assets/chunk-QUQL4437-kpuzqnaw.js +27 -0
- package/build/client/assets/chunk-QZHKN3VN-DcMRudAX.js +2 -0
- package/build/client/assets/chunk-S54KXAEJ-kTBT1CfB.js +6 -0
- package/build/client/assets/chunk-YZCP3GAM-BB-Y35AA.js +2 -0
- package/build/client/assets/clarity-BgQ4Xysm.js +2 -0
- package/build/client/assets/classDiagram-6PBFFD2Q-BGDxxZzm.js +2 -0
- package/build/client/assets/classDiagram-v2-HSJHXN6E-HYI8nGKN.js +2 -0
- package/build/client/assets/client-only-DaabpI_X.js +2 -0
- package/build/client/assets/clojure-DyCCRvw1.js +2 -0
- package/build/client/assets/clone-CYg5xyyL.js +2 -0
- package/build/client/assets/cmake-DSi7BWes.js +2 -0
- package/build/client/assets/cobol-osDAXFiA.js +2 -0
- package/build/client/assets/codeowners-DnHNXnY3.js +2 -0
- package/build/client/assets/codeql-DrubBTmN.js +2 -0
- package/build/client/assets/coerce-CyQQzAuA.js +2 -0
- package/build/client/assets/coffee-CjqJUi4n.js +2 -0
- package/build/client/assets/command-palette-I-_up1Op.js +2 -0
- package/build/client/assets/common-lisp-D6sqHwbR.js +2 -0
- package/build/client/assets/coq-wKyumYMb.js +2 -0
- package/build/client/assets/cose-bilkent-S5V4N54A-CzS2xbNF.js +2 -0
- package/build/client/assets/cpp-CP3Y4rZa.js +2 -0
- package/build/client/assets/crystal-BitkbvUF.js +2 -0
- package/build/client/assets/csharp-mO60AZIG.js +2 -0
- package/build/client/assets/css-DtF9O-lR.js +2 -0
- package/build/client/assets/csv-DNIy0YTg.js +2 -0
- package/build/client/assets/cue-DvqLWlW1.js +2 -0
- package/build/client/assets/cypher-vt8NtIQs.js +2 -0
- package/build/client/assets/cytoscape.esm-BtxluEcA.js +322 -0
- package/build/client/assets/d-iAZ5PQqW.js +2 -0
- package/build/client/assets/dagre-KV5264BT-Bh_fOMzy.js +5 -0
- package/build/client/assets/dark-plus-BNvf88AW.js +2 -0
- package/build/client/assets/dart-wVFyRSbS.js +2 -0
- package/build/client/assets/dax-BdTLI_FR.js +2 -0
- package/build/client/assets/db-DTsUoX01.js +2 -0
- package/build/client/assets/defaultLocale-DiJEZJPB.js +2 -0
- package/build/client/assets/desktop-DPbu7U4l.js +2 -0
- package/build/client/assets/diagram-5BDNPKRD-BnRiHcI6.js +11 -0
- package/build/client/assets/diagram-G4DWMVQ6-DG2fHaOd.js +25 -0
- package/build/client/assets/diagram-MMDJMWI5-Dlw6_EFe.js +44 -0
- package/build/client/assets/diagram-TYMM5635-ha-swrkU.js +25 -0
- package/build/client/assets/dialog-C73DXmHQ.js +6 -0
- package/build/client/assets/diff-DGoMvYqv.js +1893 -0
- package/build/client/assets/diff-DKCy7AKQ.js +2 -0
- package/build/client/assets/diff-bEwy2oVO.js +2 -0
- package/build/client/assets/discord-B9iIcOYz.js +2 -0
- package/build/client/assets/discord-DEYL-Mwo.js +2 -0
- package/build/client/assets/docker-C5UmBw_5.js +2 -0
- package/build/client/assets/dotenv-C0V_1-ci.js +2 -0
- package/build/client/assets/dracula-Lro1Nqsh.js +2 -0
- package/build/client/assets/dracula-soft-yyvHwMI-.js +2 -0
- package/build/client/assets/dream-maker-De821lD0.js +2 -0
- package/build/client/assets/edge-DFXivibW.js +2 -0
- package/build/client/assets/elixir-CzhipBDL.js +2 -0
- package/build/client/assets/elm-CxUjMTgY.js +2 -0
- package/build/client/assets/emacs-lisp-CfHcBkKt.js +2 -0
- package/build/client/assets/entry.client-DW6TO1Kk.js +11 -0
- package/build/client/assets/epic-video-CrGMrew8.js +3397 -0
- package/build/client/assets/epic-video-Pcq3BNiR.js +2 -0
- package/build/client/assets/erDiagram-SMLLAGMA-I7lj02oU.js +86 -0
- package/build/client/assets/erb-D5bGzvxn.js +2 -0
- package/build/client/assets/erlang-CaHr1Cwa.js +2 -0
- package/build/client/assets/error-boundary-DGa4jbqI.js +3 -0
- package/build/client/assets/error-boundary-VU-3zeX0.js +2 -0
- package/build/client/assets/everforest-dark-DYptU2h3.js +2 -0
- package/build/client/assets/everforest-light-5FePKg0m.js +2 -0
- package/build/client/assets/fennel-xtXqfQBq.js +2 -0
- package/build/client/assets/finished-DYnPHQ8t.js +2 -0
- package/build/client/assets/fish-B760ydBq.js +2 -0
- package/build/client/assets/flowDiagram-DWJPFMVM-1Ip3XlkP.js +163 -0
- package/build/client/assets/fluent-0BcckDGr.js +2 -0
- package/build/client/assets/format-W-QSSWdx.js +2 -0
- package/build/client/assets/fortran-fixed-form-DJ6GQjhM.js +2 -0
- package/build/client/assets/fortran-free-form-DwYeZnAo.js +2 -0
- package/build/client/assets/fsharp-Ms6xf9HW.js +2 -0
- package/build/client/assets/ganttDiagram-T4ZO3ILL-Ce510V2V.js +293 -0
- package/build/client/assets/gdresource-Aowq0jlb.js +2 -0
- package/build/client/assets/gdscript-B3ruvh5w.js +2 -0
- package/build/client/assets/gdshader-cURPUD1e.js +2 -0
- package/build/client/assets/genie-D8TNl90H.js +2 -0
- package/build/client/assets/gherkin-BzZx82sX.js +2 -0
- package/build/client/assets/git-commit-U4VUsuhV.js +2 -0
- package/build/client/assets/git-rebase-uUqC9PFw.js +2 -0
- package/build/client/assets/gitGraphDiagram-UUTBAWPF-DPvxpSLn.js +107 -0
- package/build/client/assets/github-dark-BJnq_KdY.js +2 -0
- package/build/client/assets/github-dark-default-CDzocFkt.js +2 -0
- package/build/client/assets/github-dark-dimmed-Bz8hP-ES.js +2 -0
- package/build/client/assets/github-dark-high-contrast-etikhqst.js +2 -0
- package/build/client/assets/github-light-BtBZ78lj.js +2 -0
- package/build/client/assets/github-light-default-DS4CdPco.js +2 -0
- package/build/client/assets/github-light-high-contrast-Cw4BYG1N.js +2 -0
- package/build/client/assets/gleam-SxPq50Vy.js +2 -0
- package/build/client/assets/glimmer-js-CO4GX1om.js +2 -0
- package/build/client/assets/glimmer-ts-DSWzURkC.js +2 -0
- package/build/client/assets/glsl-BM4booah.js +2 -0
- package/build/client/assets/gn-NPM0MBY9.js +2 -0
- package/build/client/assets/gnuplot-Ab7fiYuK.js +2 -0
- package/build/client/assets/go-tiloYATV.js +2 -0
- package/build/client/assets/graph-C2j3OKyS.js +2 -0
- package/build/client/assets/graphql-DDzRjUKm.js +2 -0
- package/build/client/assets/groovy-D0dm61Sa.js +2 -0
- package/build/client/assets/gruvbox-dark-hard-BRyU-Z9T.js +2 -0
- package/build/client/assets/gruvbox-dark-medium-BFJIO2td.js +2 -0
- package/build/client/assets/gruvbox-dark-soft-DFrnsgpJ.js +2 -0
- package/build/client/assets/gruvbox-light-hard-BunH96hz.js +2 -0
- package/build/client/assets/gruvbox-light-medium-DaE5zFs0.js +2 -0
- package/build/client/assets/gruvbox-light-soft-IaQxBIAV.js +2 -0
- package/build/client/assets/guide-Ch4Lr1Dw.js +9 -0
- package/build/client/assets/hack-C13LyMYG.js +2 -0
- package/build/client/assets/haml-CjeqELV-.js +2 -0
- package/build/client/assets/handlebars-CXcNTpqX.js +2 -0
- package/build/client/assets/haskell-BLVKiEoY.js +2 -0
- package/build/client/assets/haxe-CP7ihQCR.js +2 -0
- package/build/client/assets/hcl-_TY3c3Y-.js +2 -0
- package/build/client/assets/hjson-BeXwcdga.js +2 -0
- package/build/client/assets/hlsl-D_c_-4YH.js +2 -0
- package/build/client/assets/horizon-ZPIrE8ZY.js +2 -0
- package/build/client/assets/houston-VVcNrX3e.js +2 -0
- package/build/client/assets/html-derivative-DcdYSEDa.js +2 -0
- package/build/client/assets/html-fXAxKGJ5.js +2 -0
- package/build/client/assets/http-NvQXtJK1.js +2 -0
- package/build/client/assets/hurl-D7TQwZrO.js +2 -0
- package/build/client/assets/hxml-DRBbM2YR.js +2 -0
- package/build/client/assets/hy-Dxw_zSY3.js +2 -0
- package/build/client/assets/imba-ClTtx8r7.js +2 -0
- package/build/client/assets/index-BUXIIF05.js +2 -0
- package/build/client/assets/index-Bq9jqoy-.js +42 -0
- package/build/client/assets/index-C3EO5kb-.js +2 -0
- package/build/client/assets/index-CRGxju6N.js +2 -0
- package/build/client/assets/index-CSdZbHqH.js +2 -0
- package/build/client/assets/index-C_kGL22K.js +2 -0
- package/build/client/assets/index-D-D0gQk3.js +83 -0
- package/build/client/assets/index-D0TSikTe.js +2 -0
- package/build/client/assets/index-DT-sx19c.js +2 -0
- package/build/client/assets/index-DdBpWYMx.js +2 -0
- package/build/client/assets/index-DkKihKb6.js +2 -0
- package/build/client/assets/index-fw1eSWL4.js +2 -0
- package/build/client/assets/index.client-CYMXv5rv.js +500 -0
- package/build/client/assets/infoDiagram-42DDH7IO-DyxPf_mF.js +3 -0
- package/build/client/assets/ini-BGYtKvfa.js +2 -0
- package/build/client/assets/init-D-jO4ZZc.js +2 -0
- package/build/client/assets/ishikawaDiagram-UXIWVN3A-DxYdnZwr.js +71 -0
- package/build/client/assets/java-0Ul3dUvI.js +2 -0
- package/build/client/assets/javascript-B6G-zMnZ.js +2 -0
- package/build/client/assets/jinja-CeBA5dGW.js +2 -0
- package/build/client/assets/jison-bKJ3tnAW.js +2 -0
- package/build/client/assets/journeyDiagram-VCZTEJTY-DaBf2Mv6.js +140 -0
- package/build/client/assets/json-7ROVR4TO.js +2 -0
- package/build/client/assets/json5-CIiaKc8M.js +2 -0
- package/build/client/assets/jsonc-BHeHM4rx.js +2 -0
- package/build/client/assets/jsonl-SgRdudTK.js +2 -0
- package/build/client/assets/jsonnet-CcgmW2J0.js +2 -0
- package/build/client/assets/jssm-DvIwT33d.js +2 -0
- package/build/client/assets/jsx-DcY6fHXf.js +2 -0
- package/build/client/assets/jsx-runtime-FQotuiPu.js +2 -0
- package/build/client/assets/julia-BG5yEOgW.js +2 -0
- package/build/client/assets/kanagawa-dragon-Bo6c9IX-.js +2 -0
- package/build/client/assets/kanagawa-lotus-d6SAvmfs.js +2 -0
- package/build/client/assets/kanagawa-wave-C_5us7q_.js +2 -0
- package/build/client/assets/kanban-definition-6JOO6SKY-DeFOyAfQ.js +90 -0
- package/build/client/assets/katex-DiEtE_Nh.js +262 -0
- package/build/client/assets/kdl-KNFgXISj.js +2 -0
- package/build/client/assets/kotlin-BcD-sWIx.js +2 -0
- package/build/client/assets/kusto-DzGc37C-.js +2 -0
- package/build/client/assets/l-CdOq9nPw.js +2 -0
- package/build/client/assets/laserwave-CnTxgXoc.js +2 -0
- package/build/client/assets/latex-C7Eiol85.js +2 -0
- package/build/client/assets/launch-editor-rPsRgb2y.js +2 -0
- package/build/client/assets/layout-BlWbNT4S.js +2 -0
- package/build/client/assets/lean-B9-2cLhS.js +2 -0
- package/build/client/assets/less-BaDVrDp8.js +2 -0
- package/build/client/assets/light-plus-CDIVL_JB.js +2 -0
- package/build/client/assets/linear-D3vRehHE.js +2 -0
- package/build/client/assets/liquid-7J29w03w.js +2 -0
- package/build/client/assets/llvm-Dq3L9LV0.js +2 -0
- package/build/client/assets/loading-sD3pz07j.js +2 -0
- package/build/client/assets/log-B8DzGA1B.js +2 -0
- package/build/client/assets/login-C7lxRizf.js +2 -0
- package/build/client/assets/logo-BlrFuEhY.js +2 -0
- package/build/client/assets/lua-BM8UdNvz.js +2 -0
- package/build/client/assets/luau-hT1xCo02.js +2 -0
- package/build/client/assets/make-B6ajAMex.js +2 -0
- package/build/client/assets/manifest-068009ce.js +1 -0
- package/build/client/assets/markdown-CMB-GTYf.js +2 -0
- package/build/client/assets/marko-BE--xCxg.js +2 -0
- package/build/client/assets/material-theme-C66HSA7r.js +2 -0
- package/build/client/assets/material-theme-darker-D9e4sOl3.js +2 -0
- package/build/client/assets/material-theme-lighter-DLbXHD-2.js +2 -0
- package/build/client/assets/material-theme-ocean-B42gQAQD.js +2 -0
- package/build/client/assets/material-theme-palenight-u0VCF9BN.js +2 -0
- package/build/client/assets/matlab-nni7P-yO.js +2 -0
- package/build/client/assets/mdc-beMAKqGo.js +2 -0
- package/build/client/assets/mdx-BqgMaLzQ.js +2 -0
- package/build/client/assets/mdx-D0_ieFOK.js +3 -0
- package/build/client/assets/mermaid-ymjjz9EV.js +2 -0
- package/build/client/assets/mermaid.core-m9wGmjCE.js +304 -0
- package/build/client/assets/min-DouydeEo.js +2 -0
- package/build/client/assets/min-dark-BHXUTHHs.js +2 -0
- package/build/client/assets/min-light-FW5BSreM.js +2 -0
- package/build/client/assets/mindmap-definition-QFDTVHPH-BB0pMiFS.js +97 -0
- package/build/client/assets/mipsasm-CgRmh_OL.js +2 -0
- package/build/client/assets/misc-UFW3ume0.js +2 -0
- package/build/client/assets/mojo-AoWiJ7h-.js +2 -0
- package/build/client/assets/monokai-DkZy6Yx-.js +2 -0
- package/build/client/assets/moonbit-DEdMLwRs.js +2 -0
- package/build/client/assets/move-CJJi2H3v.js +2 -0
- package/build/client/assets/narrat-CknEW0wd.js +2 -0
- package/build/client/assets/nav-chevrons-7heY3xio.js +2 -0
- package/build/client/assets/nextflow-DWvCWoJN.js +2 -0
- package/build/client/assets/nginx-DXVf61T8.js +2 -0
- package/build/client/assets/night-owl-CqHw66N1.js +2 -0
- package/build/client/assets/night-owl-light-D9Tr2VP2.js +2 -0
- package/build/client/assets/nim-CXnrqaV0.js +2 -0
- package/build/client/assets/nix-3QDgrXUr.js +2 -0
- package/build/client/assets/nord-B4EPuvTS.js +2 -0
- package/build/client/assets/nushell-CIKmRmZd.js +2 -0
- package/build/client/assets/objective-c-D09rXGFB.js +2 -0
- package/build/client/assets/objective-cpp-DWVBicWO.js +2 -0
- package/build/client/assets/ocaml-Hy6j1JvE.js +2 -0
- package/build/client/assets/odin-Bvr2TkVl.js +2 -0
- package/build/client/assets/offline-videos-pXVmKG-g.js +2 -0
- package/build/client/assets/onboarding-indicator-DKbWFydN.js +2 -0
- package/build/client/assets/one-dark-pro-BokqyPi0.js +2 -0
- package/build/client/assets/one-light-Cv_x6Teq.js +2 -0
- package/build/client/assets/online-B5-X8KDc.js +2 -0
- package/build/client/assets/openscad-DT4trKrh.js +2 -0
- package/build/client/assets/ordinal-UpVZY21V.js +2 -0
- package/build/client/assets/pascal-K10vUcCe.js +2 -0
- package/build/client/assets/pe-DgSIUG2F.js +2 -0
- package/build/client/assets/perl-CehExkQd.js +2 -0
- package/build/client/assets/php-DTCVL47O.js +2 -0
- package/build/client/assets/pieDiagram-DEJITSTG-nCpVQRKI.js +31 -0
- package/build/client/assets/pierre-dark-CiSBqgb7.js +2 -0
- package/build/client/assets/pierre-light-CTPRGoHm.js +2 -0
- package/build/client/assets/pkl-CK_32GLD.js +2 -0
- package/build/client/assets/plastic-Bwm2qYYb.js +2 -0
- package/build/client/assets/playground-pAekctZf.js +2 -0
- package/build/client/assets/playground-window-CthP9DYu.js +2 -0
- package/build/client/assets/plsql-D-se-QE5.js +2 -0
- package/build/client/assets/po-CNiiCyHU.js +2 -0
- package/build/client/assets/poimandres-BPjzoJxp.js +2 -0
- package/build/client/assets/polar-DxRUbaH6.js +2 -0
- package/build/client/assets/popover-BUuLZ1aS.js +2 -0
- package/build/client/assets/postcss-Cz_lqpzK.js +2 -0
- package/build/client/assets/powerquery-CrYI0b8t.js +2 -0
- package/build/client/assets/powershell-tpL89_co.js +2 -0
- package/build/client/assets/preferences-2sjR7rtK.js +2 -0
- package/build/client/assets/preload-helper-SQDUwI8Z.js +2 -0
- package/build/client/assets/presence-B0doGnm5.js +61 -0
- package/build/client/assets/preview-DD8OB0U2.js +2 -0
- package/build/client/assets/prisma-Dhb6T30q.js +2 -0
- package/build/client/assets/product-Oc8rv16n.js +2 -0
- package/build/client/assets/progress-BwS4WcxJ.js +2 -0
- package/build/client/assets/progress-bar-CaEW-hJp.js +2 -0
- package/build/client/assets/prolog-DLlgTXUV.js +2 -0
- package/build/client/assets/proto-DZHlK4Xj.js +2 -0
- package/build/client/assets/pug-C6qao8dL.js +2 -0
- package/build/client/assets/puppet-DKUN1eWf.js +2 -0
- package/build/client/assets/purescript-CTvJz2Xt.js +2 -0
- package/build/client/assets/python-ujugpcDT.js +2 -0
- package/build/client/assets/qml-DmC-hIud.js +2 -0
- package/build/client/assets/qmldir-4pSuQdtf.js +2 -0
- package/build/client/assets/qss-DVzAq_vY.js +2 -0
- package/build/client/assets/quadrantDiagram-34T5L4WZ-D4j18GTC.js +8 -0
- package/build/client/assets/r-CxSPMAqw.js +2 -0
- package/build/client/assets/racket-DAA_D6TO.js +2 -0
- package/build/client/assets/raku-r7JHY7Nz.js +2 -0
- package/build/client/assets/razor-BvtNxVbn.js +2 -0
- package/build/client/assets/react-error-boundary-DoYThmDP.js +2 -0
- package/build/client/assets/red-DhIi7hFE.js +2 -0
- package/build/client/assets/reg-BIdCoJY1.js +2 -0
- package/build/client/assets/regexp-DVLa3RL7.js +2 -0
- package/build/client/assets/rel-4LWlunvr.js +2 -0
- package/build/client/assets/requirementDiagram-MS252O5E-DW4k8ugT.js +85 -0
- package/build/client/assets/retrieval-practice-aumcv7GA.js +2 -0
- package/build/client/assets/revalidation-ws-C3q-cy4A.js +2 -0
- package/build/client/assets/riscv-CpXQGk8K.js +2 -0
- package/build/client/assets/ron-B-MWgYsV.js +2 -0
- package/build/client/assets/root-DtkiHZ4P.js +3 -0
- package/build/client/assets/root-loader-DvPELdx8.js +2 -0
- package/build/client/assets/rose-pine-BBU6zkjD.js +2 -0
- package/build/client/assets/rose-pine-dawn-CMG3dA1F.js +2 -0
- package/build/client/assets/rose-pine-moon-DCt7gzm3.js +2 -0
- package/build/client/assets/rosmsg-DDFYk60i.js +2 -0
- package/build/client/assets/rst-CFQvb2WI.js +2 -0
- package/build/client/assets/ruby-BbNy6EIZ.js +2 -0
- package/build/client/assets/rust-DiOApjDH.js +2 -0
- package/build/client/assets/sankeyDiagram-XADWPNL6-Av-eUHBX.js +11 -0
- package/build/client/assets/sas-CgIygQJv.js +2 -0
- package/build/client/assets/sass-CGFaE0hv.js +2 -0
- package/build/client/assets/scala-DjNxNmTv.js +2 -0
- package/build/client/assets/schemas-CS68GhMp.js +41 -0
- package/build/client/assets/scheme-D1MrQGpz.js +2 -0
- package/build/client/assets/scss-CLRzAvMA.js +2 -0
- package/build/client/assets/sdbl-D5weiajD.js +2 -0
- package/build/client/assets/seo-CXz0-KG0.js +2 -0
- package/build/client/assets/sequenceDiagram-FGHM5R23-DqJ_svax.js +158 -0
- package/build/client/assets/set-playground-CxadG1pn.js +2 -0
- package/build/client/assets/shaderlab-Dwkan7rv.js +2 -0
- package/build/client/assets/shellscript-DeCthD29.js +2 -0
- package/build/client/assets/shellsession-B112AdGs.js +2 -0
- package/build/client/assets/slack-dark-D0KdSrVV.js +2 -0
- package/build/client/assets/slack-ochin-BcZeDbL3.js +2 -0
- package/build/client/assets/smalltalk-Yup8NVX_.js +2 -0
- package/build/client/assets/snazzy-light-PqPksPTt.js +2 -0
- package/build/client/assets/solarized-dark-C6RMcPI_.js +2 -0
- package/build/client/assets/solarized-light-lD9UIlfj.js +2 -0
- package/build/client/assets/solidity-Da2kzSwQ.js +2 -0
- package/build/client/assets/soy-B1td8Oy4.js +2 -0
- package/build/client/assets/sparql-DyYdkEyc.js +2 -0
- package/build/client/assets/split-layout-IPhSKhNl.js +2 -0
- package/build/client/assets/splunk-B0rLphxC.js +2 -0
- package/build/client/assets/sql-P6vJ6uWO.js +2 -0
- package/build/client/assets/ssh-config-DUb7AQey.js +2 -0
- package/build/client/assets/stata-B2hetKyH.js +2 -0
- package/build/client/assets/stateDiagram-FHFEXIEX-Bklnut2e.js +2 -0
- package/build/client/assets/stateDiagram-v2-QKLJ7IA2-B_Pl7-FD.js +2 -0
- package/build/client/assets/status-indicator-BU2uXO0M.js +2 -0
- package/build/client/assets/stylus-ChpkqizR.js +2 -0
- package/build/client/assets/support-CxdIV7Xh.js +2 -0
- package/build/client/assets/surrealql-DGUE8br1.js +2 -0
- package/build/client/assets/svelte-Cj6lLbUY.js +2 -0
- package/build/client/assets/swift-BRV97A16.js +2 -0
- package/build/client/assets/synthwave-84-C1I7SVi6.js +2 -0
- package/build/client/assets/system-verilog-DVce-pHU.js +2 -0
- package/build/client/assets/systemd-wA4zCY-x.js +2 -0
- package/build/client/assets/talonscript-DRAnCggq.js +2 -0
- package/build/client/assets/tasl-CYKXVSGy.js +2 -0
- package/build/client/assets/tcl-CnF8U-MX.js +2 -0
- package/build/client/assets/templ-BxXcQ3_2.js +2 -0
- package/build/client/assets/terraform-DmWdjdEU.js +2 -0
- package/build/client/assets/test-jGAjStIr.js +2 -0
- package/build/client/assets/tests-Duhf1Yk8.js +4 -0
- package/build/client/assets/tex-0dZg7QNg.js +2 -0
- package/build/client/assets/timeline-definition-GMOUNBTQ-DIfk5YPk.js +121 -0
- package/build/client/assets/tokyo-night-DFdN1k09.js +2 -0
- package/build/client/assets/toml-BNYpBOYX.js +2 -0
- package/build/client/assets/tooltip-DlWej1xM.js +2 -0
- package/build/client/assets/ts-tags-D8a-tEEF.js +2 -0
- package/build/client/assets/tsv-C8q3w82H.js +2 -0
- package/build/client/assets/tsx-CLIdgMab.js +2 -0
- package/build/client/assets/turtle-Dizg2cb3.js +2 -0
- package/build/client/assets/twig-BrfT2gCY.js +2 -0
- package/build/client/assets/typescript-CGlWVuoO.js +2 -0
- package/build/client/assets/typespec-5QFww9rJ.js +2 -0
- package/build/client/assets/typst-IXwD9l-g.js +2 -0
- package/build/client/assets/user-DVe8xryX.js +2 -0
- package/build/client/assets/v-31dZynUn.js +2 -0
- package/build/client/assets/vala-CAx3yg12.js +2 -0
- package/build/client/assets/vb-Fs3R-9pA.js +2 -0
- package/build/client/assets/vennDiagram-DHZGUBPP-DzMONiqs.js +35 -0
- package/build/client/assets/verilog-CldYt9I8.js +2 -0
- package/build/client/assets/version-DXfjANIc.js +2 -0
- package/build/client/assets/vesper-DqG2lzjo.js +2 -0
- package/build/client/assets/vhdl-w787J0I5.js +2 -0
- package/build/client/assets/viml-DmB3q70g.js +2 -0
- package/build/client/assets/vitesse-black-MzBYDtE2.js +2 -0
- package/build/client/assets/vitesse-dark-BGmr91cQ.js +2 -0
- package/build/client/assets/vitesse-light-BnsVAKqI.js +2 -0
- package/build/client/assets/vue-DZeuVzj9.js +2 -0
- package/build/client/assets/vue-html-CB-EHRk3.js +2 -0
- package/build/client/assets/vue-vine-B5f6o8ei.js +2 -0
- package/build/client/assets/vyper-OKEky2gV.js +2 -0
- package/build/client/assets/wardley-RL74JXVD-ByxKe0eG.js +163 -0
- package/build/client/assets/wardleyDiagram-NUSXRM2D-CpmI_Ti0.js +21 -0
- package/build/client/assets/wasm-B_iiA3sw.js +2 -0
- package/build/client/assets/wasm-CxSxUlwc.js +2 -0
- package/build/client/assets/wenyan-CsSJ_DEk.js +2 -0
- package/build/client/assets/wgsl-DMTHDDu-.js +2 -0
- package/build/client/assets/wikitext-CJdYMSas.js +2 -0
- package/build/client/assets/wit-B3AD_nVa.js +2 -0
- package/build/client/assets/wolfram-BPGl9k8p.js +2 -0
- package/build/client/assets/workshop-config-BgZBCkY8.js +2 -0
- package/build/client/assets/workspace-structure-6iQfroxA.js +2 -0
- package/build/client/assets/xml-DG3YtR_A.js +2 -0
- package/build/client/assets/xsl-CdJoIZnT.js +2 -0
- package/build/client/assets/xychartDiagram-5P7HB3ND-BBZcQ3Ip.js +8 -0
- package/build/client/assets/yaml-5tavdPSK.js +2 -0
- package/build/client/assets/zenscript-CvgYt7F2.js +2 -0
- package/build/client/assets/zig-CAIfdTBL.js +2 -0
- package/build/server/index.js +4 -4
- package/package.json +8 -8
- package/build/client/assets/_-ffRWfkRK.js +0 -2
- package/build/client/assets/_baseUniq-DWkqdhmR.js +0 -2
- package/build/client/assets/_exerciseNumber-Bj-h5Zi5.js +0 -2
- package/build/client/assets/_exerciseNumber_._stepNumber.index-DVomK2r1.js +0 -2
- package/build/client/assets/_exerciseNumber_.finished-B9k9JvmW.js +0 -2
- package/build/client/assets/_extra-oqnMsfjF.js +0 -2
- package/build/client/assets/_layout-B_45pI8g.js +0 -2
- package/build/client/assets/_layout-CKgtfKrt.js +0 -2
- package/build/client/assets/_layout-DG2L0YAC.js +0 -2
- package/build/client/assets/_layout-Droo6Krp.js +0 -2
- package/build/client/assets/_layout-iZ9UEkxS.js +0 -2
- package/build/client/assets/abap-8xpNE2uf.js +0 -2
- package/build/client/assets/account-Dg0y2t65.js +0 -2
- package/build/client/assets/actionscript-3-B5_mYHKy.js +0 -2
- package/build/client/assets/ada-DLYZWqHN.js +0 -2
- package/build/client/assets/andromeeda-BzUAwGEK.js +0 -2
- package/build/client/assets/angular-html-E5_wEHH2.js +0 -2
- package/build/client/assets/angular-ts-DP8rgVUO.js +0 -2
- package/build/client/assets/apache-COz5pag8.js +0 -2
- package/build/client/assets/apex-J5ZWxmAz.js +0 -2
- package/build/client/assets/apl-D-nfqOQT.js +0 -2
- package/build/client/assets/app-D27i9BXK.js +0 -2
- package/build/client/assets/applescript-Cyj7MWp9.js +0 -2
- package/build/client/assets/ara-dYQ8yvq6.js +0 -2
- package/build/client/assets/arc-Cd6dYJwo.js +0 -2
- package/build/client/assets/architectureDiagram-Q4EWVU46-BS8moN_T.js +0 -37
- package/build/client/assets/asciidoc-kLk06t_0.js +0 -2
- package/build/client/assets/asm-BQzmnNoc.js +0 -2
- package/build/client/assets/astro-v9NXsKbL.js +0 -2
- package/build/client/assets/aurora-x-Bi_LSHUr.js +0 -2
- package/build/client/assets/awk-DmUoHQrr.js +0 -2
- package/build/client/assets/ayu-dark-BjlfN32N.js +0 -2
- package/build/client/assets/ayu-light--jjDIteF.js +0 -2
- package/build/client/assets/ayu-mirage--pTJDVzy.js +0 -2
- package/build/client/assets/ballerina-CLRneHkt.js +0 -2
- package/build/client/assets/bat-pf1CIqHY.js +0 -2
- package/build/client/assets/beancount-CELiw_fI.js +0 -2
- package/build/client/assets/berry-JO92d33e.js +0 -2
- package/build/client/assets/bibtex-D-K1Jy2N.js +0 -2
- package/build/client/assets/bicep-DHvAxomH.js +0 -2
- package/build/client/assets/blade-Cwg-jlK7.js +0 -2
- package/build/client/assets/blockDiagram-DXYQGD6D-CxIaRyPa.js +0 -133
- package/build/client/assets/bsl-D-ETBUBs.js +0 -2
- package/build/client/assets/button-BZrOhnfE.js +0 -2
- package/build/client/assets/c-Y7mX2f8T.js +0 -2
- package/build/client/assets/c3-BjbBssR7.js +0 -2
- package/build/client/assets/c4Diagram-AHTNJAMY-DHKLyNM1.js +0 -11
- package/build/client/assets/cache-CuwQP4ZB.js +0 -2
- package/build/client/assets/cadence-DFR3Pl9i.js +0 -2
- package/build/client/assets/cairo-D-AC5JFA.js +0 -2
- package/build/client/assets/catppuccin-frappe-DILgpfgv.js +0 -2
- package/build/client/assets/catppuccin-latte-BPMrZSF7.js +0 -2
- package/build/client/assets/catppuccin-macchiato-D91OhEIP.js +0 -2
- package/build/client/assets/catppuccin-mocha-DwIFQbNc.js +0 -2
- package/build/client/assets/channel-B9HiWVIg.js +0 -2
- package/build/client/assets/chunk-4BX2VUAB-DiOK6nSr.js +0 -2
- package/build/client/assets/chunk-4TB4RGXK-BmuVgjYJ.js +0 -207
- package/build/client/assets/chunk-55IACEB6-DVki2EfA.js +0 -2
- package/build/client/assets/chunk-EDXVE4YY-Dq4viu-_.js +0 -2
- package/build/client/assets/chunk-EVOBXE3Y-C9rbaNlK.js +0 -27
- package/build/client/assets/chunk-FMBD7UC4-BIeP5o8w.js +0 -16
- package/build/client/assets/chunk-OYMX7WX6-CjGAnf_B.js +0 -232
- package/build/client/assets/chunk-QZHKN3VN-B4ocEIaX.js +0 -2
- package/build/client/assets/chunk-YQSHRJWW-D7Fu_OFX.js +0 -6
- package/build/client/assets/chunk-YZCP3GAM-BV4XytZ3.js +0 -2
- package/build/client/assets/clarity-BPmbfnSV.js +0 -2
- package/build/client/assets/classDiagram-6PBFFD2Q-BJrr-iU0.js +0 -2
- package/build/client/assets/classDiagram-v2-HSJHXN6E-Cw8g3u1w.js +0 -2
- package/build/client/assets/client-only-CUD7uQlK.js +0 -2
- package/build/client/assets/clojure-CeL8DYOf.js +0 -2
- package/build/client/assets/clone-B1ILNDeO.js +0 -2
- package/build/client/assets/cmake-DhktI_ws.js +0 -2
- package/build/client/assets/cobol-DMwEZ6Uw.js +0 -2
- package/build/client/assets/codeowners-Bb1MFuwn.js +0 -2
- package/build/client/assets/codeql-2qCfQjrC.js +0 -2
- package/build/client/assets/coerce-BhpdixZK.js +0 -2
- package/build/client/assets/coffee-R_7JD-pM.js +0 -2
- package/build/client/assets/command-palette-DwxbXpmE.js +0 -2
- package/build/client/assets/common-lisp-Bwlp-sI9.js +0 -2
- package/build/client/assets/coq-DVbqWdoB.js +0 -2
- package/build/client/assets/cose-bilkent-S5V4N54A-BHk_hUqk.js +0 -2
- package/build/client/assets/cpp-CbghCe9A.js +0 -2
- package/build/client/assets/crystal-3WSOg-4-.js +0 -2
- package/build/client/assets/csharp-BIvGHw5K.js +0 -2
- package/build/client/assets/css-DfRbsD8j.js +0 -2
- package/build/client/assets/csv-hdSkPGGX.js +0 -2
- package/build/client/assets/cue-CKqzZFPv.js +0 -2
- package/build/client/assets/cypher-DgGcg3do.js +0 -2
- package/build/client/assets/cytoscape.esm-Dfd5pjwH.js +0 -322
- package/build/client/assets/d-CgduuWd3.js +0 -2
- package/build/client/assets/dagre-KV5264BT-BjTj1WUO.js +0 -5
- package/build/client/assets/dark-plus-CButAU9n.js +0 -2
- package/build/client/assets/dart-DYDl6gFs.js +0 -2
- package/build/client/assets/dax-DuazVn-2.js +0 -2
- package/build/client/assets/db-CNLe78tj.js +0 -2
- package/build/client/assets/defaultLocale-pkrxi_Vf.js +0 -2
- package/build/client/assets/desktop-YQWGQO4S.js +0 -2
- package/build/client/assets/diagram-5BDNPKRD-C_mGcA55.js +0 -11
- package/build/client/assets/diagram-G4DWMVQ6-Bj01pXlI.js +0 -25
- package/build/client/assets/diagram-MMDJMWI5-C7MJmRdR.js +0 -44
- package/build/client/assets/diagram-TYMM5635-TeSVI_7s.js +0 -25
- package/build/client/assets/dialog-f30cWRIw.js +0 -6
- package/build/client/assets/diff-CFmVVuL9.js +0 -2
- package/build/client/assets/diff-CYxhVhNQ.js +0 -1893
- package/build/client/assets/diff-D6zHg7BN.js +0 -2
- package/build/client/assets/discord-Bxc44W0R.js +0 -2
- package/build/client/assets/discord-CHR0IwqA.js +0 -2
- package/build/client/assets/docker-ZdL8wdM_.js +0 -2
- package/build/client/assets/dotenv-T0p1x83Z.js +0 -2
- package/build/client/assets/dracula-CgD8kCv4.js +0 -2
- package/build/client/assets/dracula-soft-DmqUUf5s.js +0 -2
- package/build/client/assets/dream-maker-CRZzml0P.js +0 -2
- package/build/client/assets/edge-DrszevfY.js +0 -2
- package/build/client/assets/elixir-vepHNU5n.js +0 -2
- package/build/client/assets/elm-rF_i7i37.js +0 -2
- package/build/client/assets/emacs-lisp-DEMTbW4o.js +0 -2
- package/build/client/assets/entry.client-ScdadvkF.js +0 -11
- package/build/client/assets/epic-video-CJp08llB.js +0 -2
- package/build/client/assets/epic-video-DVhhaRRv.js +0 -3397
- package/build/client/assets/erDiagram-SMLLAGMA-O8Y5mxuM.js +0 -86
- package/build/client/assets/erb-BdAy8LfW.js +0 -2
- package/build/client/assets/erlang-CJMxJUUV.js +0 -2
- package/build/client/assets/error-boundary-0U8qFb0S.js +0 -2
- package/build/client/assets/error-boundary-KUWfSiBn.js +0 -3
- package/build/client/assets/everforest-dark-_TI5fWWG.js +0 -2
- package/build/client/assets/everforest-light-D-m1TywL.js +0 -2
- package/build/client/assets/fennel-wCiKVgQu.js +0 -2
- package/build/client/assets/finished-lEHN0mig.js +0 -2
- package/build/client/assets/fish-BN73Jsny.js +0 -2
- package/build/client/assets/flowDiagram-DWJPFMVM-kQf8Ihl_.js +0 -163
- package/build/client/assets/fluent-DOkALUKS.js +0 -2
- package/build/client/assets/format-mtEymuvm.js +0 -2
- package/build/client/assets/fortran-fixed-form-CD_Xj2pL.js +0 -2
- package/build/client/assets/fortran-free-form-Cr_qVsz1.js +0 -2
- package/build/client/assets/fsharp-BaFu76kg.js +0 -2
- package/build/client/assets/ganttDiagram-T4ZO3ILL-CPJrD_Fp.js +0 -293
- package/build/client/assets/gdresource-C2rkt36_.js +0 -2
- package/build/client/assets/gdscript-VUAKN1of.js +0 -2
- package/build/client/assets/gdshader-Cocp9Jc9.js +0 -2
- package/build/client/assets/genie-DT0sarRC.js +0 -2
- package/build/client/assets/gherkin-C0ydOh9X.js +0 -2
- package/build/client/assets/git-commit-B2PmKXLq.js +0 -2
- package/build/client/assets/git-rebase-CKo1gips.js +0 -2
- package/build/client/assets/gitGraphDiagram-UUTBAWPF-BR9bkENp.js +0 -107
- package/build/client/assets/github-dark-Corc0rgA.js +0 -2
- package/build/client/assets/github-dark-default-DvJILCHE.js +0 -2
- package/build/client/assets/github-dark-dimmed-DSVBLYeK.js +0 -2
- package/build/client/assets/github-dark-high-contrast-Dpb2Zo9o.js +0 -2
- package/build/client/assets/github-light-P_hlWvui.js +0 -2
- package/build/client/assets/github-light-default-Czt09fIY.js +0 -2
- package/build/client/assets/github-light-high-contrast-Cx4U38k-.js +0 -2
- package/build/client/assets/gleam-DLNv-rqs.js +0 -2
- package/build/client/assets/glimmer-js-IioI6Zr5.js +0 -2
- package/build/client/assets/glimmer-ts-Bf4zDS-9.js +0 -2
- package/build/client/assets/glsl-I8Wd2ddK.js +0 -2
- package/build/client/assets/gn-BdAi4DgO.js +0 -2
- package/build/client/assets/gnuplot-DUAQXw-h.js +0 -2
- package/build/client/assets/go-WgbmtKUD.js +0 -2
- package/build/client/assets/graph-DhdtqY4z.js +0 -2
- package/build/client/assets/graphql-iRn9ZE5J.js +0 -2
- package/build/client/assets/groovy-B25gxlmj.js +0 -2
- package/build/client/assets/gruvbox-dark-hard-CQ9rcquZ.js +0 -2
- package/build/client/assets/gruvbox-dark-medium-Bl4hCeg0.js +0 -2
- package/build/client/assets/gruvbox-dark-soft-CkAAwzH9.js +0 -2
- package/build/client/assets/gruvbox-light-hard-BjYrOBKe.js +0 -2
- package/build/client/assets/gruvbox-light-medium-Du1Wpl0l.js +0 -2
- package/build/client/assets/gruvbox-light-soft-BmxaNMG9.js +0 -2
- package/build/client/assets/guide-CCF7727J.js +0 -9
- package/build/client/assets/hack-BFVrIPOc.js +0 -2
- package/build/client/assets/haml-G92sbXiZ.js +0 -2
- package/build/client/assets/handlebars-BMFpNe3U.js +0 -2
- package/build/client/assets/haskell-BwKD0-AI.js +0 -2
- package/build/client/assets/haxe--RL-BA6b.js +0 -2
- package/build/client/assets/hcl-DTx0gdBd.js +0 -2
- package/build/client/assets/hjson-BOfZR0mM.js +0 -2
- package/build/client/assets/hlsl-BUdDB_Jv.js +0 -2
- package/build/client/assets/horizon-DJhq3KqZ.js +0 -2
- package/build/client/assets/houston-DVSJqRF7.js +0 -2
- package/build/client/assets/html-DAFs3joi.js +0 -2
- package/build/client/assets/html-derivative-DxYDI4_2.js +0 -2
- package/build/client/assets/http-9n-dGitB.js +0 -2
- package/build/client/assets/hurl-Cu5ebry_.js +0 -2
- package/build/client/assets/hxml-RHRlkFgd.js +0 -2
- package/build/client/assets/hy-Dlm__5QB.js +0 -2
- package/build/client/assets/imba-BU9PHwdg.js +0 -2
- package/build/client/assets/index-0BSt_2Qq.js +0 -2
- package/build/client/assets/index-2KtsVV3Q.js +0 -2
- package/build/client/assets/index-BOeHZU8o.js +0 -2
- package/build/client/assets/index-BPlzVvec.js +0 -42
- package/build/client/assets/index-C08tyxik.js +0 -2
- package/build/client/assets/index-CQj35bwX.js +0 -2
- package/build/client/assets/index-CiwEkDNK.js +0 -2
- package/build/client/assets/index-DDPKiKu3.js +0 -2
- package/build/client/assets/index-DIxTcZpS.js +0 -83
- package/build/client/assets/index-DXbSpGlq.js +0 -2
- package/build/client/assets/index-OqTkiVcB.js +0 -2
- package/build/client/assets/index-x0O_KRXj.js +0 -2
- package/build/client/assets/index.client-C-obkpZJ.js +0 -500
- package/build/client/assets/infoDiagram-42DDH7IO-D5_5U3EX.js +0 -3
- package/build/client/assets/ini-DKitJ4sV.js +0 -2
- package/build/client/assets/init-mpi31_Rt.js +0 -2
- package/build/client/assets/ishikawaDiagram-UXIWVN3A-_4wwdfJj.js +0 -71
- package/build/client/assets/java-BQfIZTH5.js +0 -2
- package/build/client/assets/javascript-CdH8esvq.js +0 -2
- package/build/client/assets/jinja-BgzW1dZT.js +0 -2
- package/build/client/assets/jison-CY83jp3J.js +0 -2
- package/build/client/assets/journeyDiagram-VCZTEJTY-DnfnKhfj.js +0 -140
- package/build/client/assets/json-BWPH1mFe.js +0 -2
- package/build/client/assets/json5-B16ULGpx.js +0 -2
- package/build/client/assets/jsonc-CUAcLcmz.js +0 -2
- package/build/client/assets/jsonl-DRnwfqGS.js +0 -2
- package/build/client/assets/jsonnet-BHmEbwH0.js +0 -2
- package/build/client/assets/jssm-70Il7iqB.js +0 -2
- package/build/client/assets/jsx-DDB6Rdwh.js +0 -2
- package/build/client/assets/jsx-runtime-BjGehehp.js +0 -2
- package/build/client/assets/julia-DcMeHdgg.js +0 -2
- package/build/client/assets/kanagawa-dragon-C1b2GvZ_.js +0 -2
- package/build/client/assets/kanagawa-lotus-HKWqouxF.js +0 -2
- package/build/client/assets/kanagawa-wave-C98RPPHh.js +0 -2
- package/build/client/assets/kanban-definition-6JOO6SKY-s35Sa7CH.js +0 -90
- package/build/client/assets/katex-BnzIjos5.js +0 -262
- package/build/client/assets/kdl-CN3mBQsu.js +0 -2
- package/build/client/assets/kotlin-um8ua3sm.js +0 -2
- package/build/client/assets/kusto-BJIH6f7b.js +0 -2
- package/build/client/assets/l-Cs30f2vq.js +0 -2
- package/build/client/assets/laserwave-CqPil2o3.js +0 -2
- package/build/client/assets/latex-B9AebqLQ.js +0 -2
- package/build/client/assets/launch-editor-DUZo5CGn.js +0 -2
- package/build/client/assets/layout-Bs_D8N3W.js +0 -2
- package/build/client/assets/lean-Dn9TcuDN.js +0 -2
- package/build/client/assets/less-BXSKKoPJ.js +0 -2
- package/build/client/assets/light-plus-CvfEqFGe.js +0 -2
- package/build/client/assets/linear-DqmW_a3Q.js +0 -2
- package/build/client/assets/liquid-BPblK9Qq.js +0 -2
- package/build/client/assets/llvm-DgecM7gE.js +0 -2
- package/build/client/assets/loading-D6-zfbvC.js +0 -2
- package/build/client/assets/log-DQat2HRc.js +0 -2
- package/build/client/assets/login-BRXkPLDS.js +0 -2
- package/build/client/assets/logo-CsUTRxtP.js +0 -2
- package/build/client/assets/lua-jmLFeOY3.js +0 -2
- package/build/client/assets/luau-BoBUWcg7.js +0 -2
- package/build/client/assets/make-BAFrrAjy.js +0 -2
- package/build/client/assets/manifest-d2274206.js +0 -1
- package/build/client/assets/markdown-t1r1N6Qw.js +0 -2
- package/build/client/assets/marko-CsiMRYK8.js +0 -2
- package/build/client/assets/material-theme-BWef2O-2.js +0 -2
- package/build/client/assets/material-theme-darker-BKbl1GKO.js +0 -2
- package/build/client/assets/material-theme-lighter-BVVDFoOT.js +0 -2
- package/build/client/assets/material-theme-ocean-CMeIXCLp.js +0 -2
- package/build/client/assets/material-theme-palenight-DQyLIjkf.js +0 -2
- package/build/client/assets/matlab-D6736jtu.js +0 -2
- package/build/client/assets/mdc-D-tDBSdS.js +0 -2
- package/build/client/assets/mdx-D982awoB.js +0 -2
- package/build/client/assets/mdx-bQO8mevj.js +0 -3
- package/build/client/assets/mermaid-BfXbL6bj.js +0 -2
- package/build/client/assets/mermaid.core-BHbHcFkC.js +0 -304
- package/build/client/assets/min-DZk7Xj70.js +0 -2
- package/build/client/assets/min-dark-DB9x7E03.js +0 -2
- package/build/client/assets/min-light-Dm5OiJHG.js +0 -2
- package/build/client/assets/mindmap-definition-QFDTVHPH-CmxO8rCq.js +0 -97
- package/build/client/assets/mipsasm-Q8saXQRL.js +0 -2
- package/build/client/assets/misc-DDl-_Lmh.js +0 -2
- package/build/client/assets/mojo-Ct2YXZPk.js +0 -2
- package/build/client/assets/monokai-CcnZhaYe.js +0 -2
- package/build/client/assets/moonbit-CSZEhg5j.js +0 -2
- package/build/client/assets/move-CLBRbtAj.js +0 -2
- package/build/client/assets/narrat-C5AV-lGC.js +0 -2
- package/build/client/assets/nav-chevrons-Zp9ly_z6.js +0 -2
- package/build/client/assets/nextflow-DpLOh0K5.js +0 -2
- package/build/client/assets/nginx-BOcUzYJD.js +0 -2
- package/build/client/assets/night-owl-Cic8oJCi.js +0 -2
- package/build/client/assets/night-owl-light-DRw4t4I0.js +0 -2
- package/build/client/assets/nim-BlSY79b6.js +0 -2
- package/build/client/assets/nix-BGNKPstR.js +0 -2
- package/build/client/assets/nord-DfQi39If.js +0 -2
- package/build/client/assets/nushell-6NiDoemw.js +0 -2
- package/build/client/assets/objective-c-DgB7_zDb.js +0 -2
- package/build/client/assets/objective-cpp-DADFqYoj.js +0 -2
- package/build/client/assets/ocaml-BHPNp9Y_.js +0 -2
- package/build/client/assets/odin-BvdYH5Og.js +0 -2
- package/build/client/assets/offline-videos-QQ61vI44.js +0 -2
- package/build/client/assets/onboarding-indicator-CGlgNa6x.js +0 -2
- package/build/client/assets/one-dark-pro-6NhYCf6f.js +0 -2
- package/build/client/assets/one-light-BI73EdOh.js +0 -2
- package/build/client/assets/online-DZoAhvon.js +0 -2
- package/build/client/assets/openscad-ChFqWp6f.js +0 -2
- package/build/client/assets/ordinal-BAO4IIld.js +0 -2
- package/build/client/assets/pascal-BSU0A0b1.js +0 -2
- package/build/client/assets/pe-pXj7Imct.js +0 -2
- package/build/client/assets/perl-CiPLVfG7.js +0 -2
- package/build/client/assets/php-DWOwMCjq.js +0 -2
- package/build/client/assets/pieDiagram-DEJITSTG-BZO391Eo.js +0 -31
- package/build/client/assets/pierre-dark-D9O-tOLb.js +0 -2
- package/build/client/assets/pierre-light-hbokjghU.js +0 -2
- package/build/client/assets/pkl-DhB9ATTv.js +0 -2
- package/build/client/assets/plastic-CmVY7g_B.js +0 -2
- package/build/client/assets/playground-iT1xgtQn.js +0 -2
- package/build/client/assets/playground-window-BkNT27jF.js +0 -2
- package/build/client/assets/plsql-ClCbm7xi.js +0 -2
- package/build/client/assets/po-CKXktKEW.js +0 -2
- package/build/client/assets/poimandres-CdTdqkx1.js +0 -2
- package/build/client/assets/polar-BMDTxLQz.js +0 -2
- package/build/client/assets/popover-DpysbSLK.js +0 -2
- package/build/client/assets/postcss-CwyZJCU9.js +0 -2
- package/build/client/assets/powerquery-CmbTTmsK.js +0 -2
- package/build/client/assets/powershell-DhvlFO0_.js +0 -2
- package/build/client/assets/preferences-BQKUtmsq.js +0 -2
- package/build/client/assets/preload-helper-BL6dGT1F.js +0 -2
- package/build/client/assets/presence-C04QnUyq.js +0 -61
- package/build/client/assets/preview-Dh3HAT9q.js +0 -2
- package/build/client/assets/prisma-CjoNUdYs.js +0 -2
- package/build/client/assets/product-BmHxiDnq.js +0 -2
- package/build/client/assets/progress-bar-CR8Ai6a0.js +0 -2
- package/build/client/assets/progress-f-X-25nU.js +0 -2
- package/build/client/assets/prolog-CQRlpqeI.js +0 -2
- package/build/client/assets/proto-DGzZI8SR.js +0 -2
- package/build/client/assets/pug-DUoBGuIY.js +0 -2
- package/build/client/assets/puppet-Ds_dBVh3.js +0 -2
- package/build/client/assets/purescript-41XdRWYs.js +0 -2
- package/build/client/assets/python-BMS9g5KW.js +0 -2
- package/build/client/assets/qml-CrltJH9q.js +0 -2
- package/build/client/assets/qmldir-CN9lvQHY.js +0 -2
- package/build/client/assets/qss-vDsDkOJp.js +0 -2
- package/build/client/assets/quadrantDiagram-34T5L4WZ-C6F6jAyi.js +0 -8
- package/build/client/assets/r-B_XuO_JW.js +0 -2
- package/build/client/assets/racket-DcqPG0_4.js +0 -2
- package/build/client/assets/raku-Vbod_QG1.js +0 -2
- package/build/client/assets/razor-BNdEZS2d.js +0 -2
- package/build/client/assets/react-error-boundary-DQb3WqZm.js +0 -2
- package/build/client/assets/red-C_QuTpvq.js +0 -2
- package/build/client/assets/reg-304-P1N2.js +0 -2
- package/build/client/assets/regexp-C44cFJEx.js +0 -2
- package/build/client/assets/rel-TmPF5io9.js +0 -2
- package/build/client/assets/requirementDiagram-MS252O5E-DHlrGq61.js +0 -85
- package/build/client/assets/retrieval-practice-D72eE2Wu.js +0 -2
- package/build/client/assets/revalidation-ws-npaB4Q5O.js +0 -2
- package/build/client/assets/riscv-Bwf3PgCd.js +0 -2
- package/build/client/assets/ron-CDKFthgq.js +0 -2
- package/build/client/assets/root-BhKSGxur.js +0 -3
- package/build/client/assets/root-loader-N2ogcY7A.js +0 -2
- package/build/client/assets/rose-pine-CXlRGLPN.js +0 -2
- package/build/client/assets/rose-pine-dawn-D5kYEaMx.js +0 -2
- package/build/client/assets/rose-pine-moon-BFjjew9N.js +0 -2
- package/build/client/assets/rosmsg-1EIoVjuf.js +0 -2
- package/build/client/assets/rst-BHqaP3sK.js +0 -2
- package/build/client/assets/ruby-D_GbY8NW.js +0 -2
- package/build/client/assets/rust-BgRJs6ZT.js +0 -2
- package/build/client/assets/sankeyDiagram-XADWPNL6-CWAw5aGs.js +0 -11
- package/build/client/assets/sas-C2U0xklt.js +0 -2
- package/build/client/assets/sass-DolagbLm.js +0 -2
- package/build/client/assets/scala-CklFCmpw.js +0 -2
- package/build/client/assets/schemas-Dc0Bmuzl.js +0 -41
- package/build/client/assets/scheme-CdXCA9j6.js +0 -2
- package/build/client/assets/scss-CYhJPHQO.js +0 -2
- package/build/client/assets/sdbl-CaDAOy3P.js +0 -2
- package/build/client/assets/seo-SmYgRm7h.js +0 -2
- package/build/client/assets/sequenceDiagram-FGHM5R23-Di4RJ5rL.js +0 -158
- package/build/client/assets/set-playground-CPAZDLlm.js +0 -2
- package/build/client/assets/shaderlab-n0FESknj.js +0 -2
- package/build/client/assets/shellscript-BLXq_QmQ.js +0 -2
- package/build/client/assets/shellsession-CF50ppuW.js +0 -2
- package/build/client/assets/slack-dark-CSO2SIJm.js +0 -2
- package/build/client/assets/slack-ochin-C6h2TTHw.js +0 -2
- package/build/client/assets/smalltalk-CHdYKbyD.js +0 -2
- package/build/client/assets/snazzy-light-Bx0KDZIa.js +0 -2
- package/build/client/assets/solarized-dark-CM2p3rnx.js +0 -2
- package/build/client/assets/solarized-light-t2zzqPhZ.js +0 -2
- package/build/client/assets/solidity-BB4owxoj.js +0 -2
- package/build/client/assets/soy-DOyvl0MN.js +0 -2
- package/build/client/assets/sparql-Ac7t2GYj.js +0 -2
- package/build/client/assets/split-layout-B_VdlD4U.js +0 -2
- package/build/client/assets/splunk-Cm83EDof.js +0 -2
- package/build/client/assets/sql-XhHjjB-k.js +0 -2
- package/build/client/assets/ssh-config-BfRZiFqp.js +0 -2
- package/build/client/assets/stata-CccVTH-3.js +0 -2
- package/build/client/assets/stateDiagram-FHFEXIEX-BQRuNAke.js +0 -2
- package/build/client/assets/stateDiagram-v2-QKLJ7IA2-5ocLt98r.js +0 -2
- package/build/client/assets/status-indicator-Kd94fH2E.js +0 -2
- package/build/client/assets/stylus-4MIP8tdP.js +0 -2
- package/build/client/assets/support-BQRedXX2.js +0 -2
- package/build/client/assets/surrealql-O9GK4Hay.js +0 -2
- package/build/client/assets/svelte-DQe8Nwah.js +0 -2
- package/build/client/assets/swift-37h0MXK7.js +0 -2
- package/build/client/assets/synthwave-84-Cf-GHiWI.js +0 -2
- package/build/client/assets/system-verilog-BU6hbTS6.js +0 -2
- package/build/client/assets/systemd-BCIQGXA7.js +0 -2
- package/build/client/assets/talonscript-CtW6IWz-.js +0 -2
- package/build/client/assets/tasl-D93QXLPG.js +0 -2
- package/build/client/assets/tcl-WSCDJvma.js +0 -2
- package/build/client/assets/templ-JeRmS2yt.js +0 -2
- package/build/client/assets/terraform-1eNURCWP.js +0 -2
- package/build/client/assets/test-C8v4sldk.js +0 -2
- package/build/client/assets/tests-fReESF4a.js +0 -4
- package/build/client/assets/tex-CGn9s0dY.js +0 -2
- package/build/client/assets/timeline-definition-GMOUNBTQ-C0Mm9ej5.js +0 -121
- package/build/client/assets/tokyo-night-B_nh7EVH.js +0 -2
- package/build/client/assets/toml-D8rNcvuP.js +0 -2
- package/build/client/assets/tooltip-CJhH9OyX.js +0 -2
- package/build/client/assets/ts-tags-CMH71GE2.js +0 -2
- package/build/client/assets/tsv-Xow3Tm8i.js +0 -2
- package/build/client/assets/tsx--IXOlUhf.js +0 -2
- package/build/client/assets/turtle-DyxG7PGj.js +0 -2
- package/build/client/assets/twig-CpB27gQz.js +0 -2
- package/build/client/assets/typescript-D1xTVAuo.js +0 -2
- package/build/client/assets/typespec-CW5ZjcEg.js +0 -2
- package/build/client/assets/typst-7dC1K6yM.js +0 -2
- package/build/client/assets/user-Vh0AyKWQ.js +0 -2
- package/build/client/assets/v-1eh86G6P.js +0 -2
- package/build/client/assets/vala-DrwIFfTc.js +0 -2
- package/build/client/assets/vb-Qa558fn0.js +0 -2
- package/build/client/assets/vennDiagram-DHZGUBPP-DOHgFLbQ.js +0 -35
- package/build/client/assets/verilog-BjoEp9YH.js +0 -2
- package/build/client/assets/version-CAAEv6S1.js +0 -2
- package/build/client/assets/vesper-BzHCUoKM.js +0 -2
- package/build/client/assets/vhdl-DAnGgqRU.js +0 -2
- package/build/client/assets/viml-DNZGGkkF.js +0 -2
- package/build/client/assets/vitesse-black-DXLlyIds.js +0 -2
- package/build/client/assets/vitesse-dark-BepmkOpX.js +0 -2
- package/build/client/assets/vitesse-light-BtMFH13c.js +0 -2
- package/build/client/assets/vue-B5lXTvvS.js +0 -2
- package/build/client/assets/vue-html-C2odheCj.js +0 -2
- package/build/client/assets/vue-vine-Coft98O-.js +0 -2
- package/build/client/assets/vyper-BFzEhmUJ.js +0 -2
- package/build/client/assets/wardley-RL74JXVD-DXyokd_R.js +0 -163
- package/build/client/assets/wardleyDiagram-NUSXRM2D-D4fGc1bi.js +0 -21
- package/build/client/assets/wasm-B7YQs7Xe.js +0 -2
- package/build/client/assets/wasm-csQaSvSD.js +0 -2
- package/build/client/assets/wenyan-DdR_1XA1.js +0 -2
- package/build/client/assets/wgsl-Db0lkku5.js +0 -2
- package/build/client/assets/wikitext-DcHnia5j.js +0 -2
- package/build/client/assets/wit-gZZBdplB.js +0 -2
- package/build/client/assets/wolfram-CX1V742a.js +0 -2
- package/build/client/assets/workshop-config--qtf7s_N.js +0 -2
- package/build/client/assets/workspace-structure-Bh84JyiC.js +0 -2
- package/build/client/assets/xml-DztPeTod.js +0 -2
- package/build/client/assets/xsl-D9AhzFCJ.js +0 -2
- package/build/client/assets/xychartDiagram-5P7HB3ND-BDr6w8U1.js +0 -8
- package/build/client/assets/yaml-DuBSe7jd.js +0 -2
- package/build/client/assets/zenscript-BZKVI6kH.js +0 -2
- package/build/client/assets/zig-BZPJgPbe.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7fa22e9f-1305-4f19-900a-ea1ad7f5fd37",e._sentryDebugIdIdentifier="sentry-dbid-7fa22e9f-1305-4f19-900a-ea1ad7f5fd37")}catch{}})();const r=Object.freeze(JSON.parse('{"displayName":"PowerQuery","fileTypes":["pq","pqm"],"name":"powerquery","patterns":[{"include":"#Noise"},{"include":"#LiteralExpression"},{"include":"#Keywords"},{"include":"#ImplicitVariable"},{"include":"#IntrinsicVariable"},{"include":"#Operators"},{"include":"#DotOperators"},{"include":"#TypeName"},{"include":"#RecordExpression"},{"include":"#Punctuation"},{"include":"#QuotedIdentifier"},{"include":"#Identifier"}],"repository":{"BlockComment":{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.powerquery"},"DecimalNumber":{"match":"(?<![\\\\d\\\\w])(\\\\d*\\\\.\\\\d+)\\\\b","name":"constant.numeric.decimal.powerquery"},"DotOperators":{"captures":{"1":{"name":"keyword.operator.ellipsis.powerquery"},"2":{"name":"keyword.operator.list.powerquery"}},"match":"(?<!\\\\.)(?:(\\\\.\\\\.\\\\.)|(\\\\.\\\\.))(?!\\\\.)"},"EscapeSequence":{"begin":"#\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.escapesequence.begin.powerquery"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.escapesequence.end.powerquery"}},"name":"constant.character.escapesequence.powerquery","patterns":[{"match":"(#|\\\\h{4}|\\\\h{8}|cr|lf|tab)(?:,(#|\\\\h{4}|\\\\h{8}|cr|lf|tab))*"},{"match":"[^)]","name":"invalid.illegal.escapesequence.powerquery"}]},"FloatNumber":{"match":"(\\\\d*\\\\.)?\\\\d+([Ee])([-+])?\\\\d+","name":"constant.numeric.float.powerquery"},"HexNumber":{"match":"0([Xx])\\\\h+","name":"constant.numeric.integer.hexadecimal.powerquery"},"Identifier":{"captures":{"1":{"name":"keyword.operator.inclusiveidentifier.powerquery"},"2":{"name":"entity.name.powerquery"}},"match":"(?<![._\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}])(@?)([_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}][_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}]*(?:\\\\.[_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}][_\\\\p{Lu}\\\\p{Ll}\\\\p{Lt}\\\\p{Lm}\\\\p{Lo}\\\\p{Nl}\\\\d\\\\p{Pc}\\\\p{Mn}\\\\p{Mc}\\\\p{Cf}])*)\\\\b"},"ImplicitVariable":{"match":"\\\\b_\\\\b","name":"keyword.operator.implicitvariable.powerquery"},"InclusiveIdentifier":{"captures":{"0":{"name":"inclusiveidentifier.powerquery"}},"match":"@"},"IntNumber":{"captures":{"1":{"name":"constant.numeric.integer.powerquery"}},"match":"\\\\b(\\\\d+)\\\\b"},"IntrinsicVariable":{"captures":{"1":{"name":"constant.language.intrinsicvariable.powerquery"}},"match":"(?<![\\\\d\\\\w])(#s(?:ections|hared))\\\\b"},"Keywords":{"captures":{"1":{"name":"keyword.operator.word.logical.powerquery"},"2":{"name":"keyword.control.conditional.powerquery"},"3":{"name":"keyword.control.exception.powerquery"},"4":{"name":"keyword.other.powerquery"},"5":{"name":"keyword.powerquery"}},"match":"\\\\b(?:(and|or|not)|(if|then|else)|(try|otherwise)|(as|each|in|is|let|meta|type|error)|(s(?:ection|hared)))\\\\b"},"LineComment":{"match":"//.*","name":"comment.line.double-slash.powerquery"},"LiteralExpression":{"patterns":[{"include":"#String"},{"include":"#NumericConstant"},{"include":"#LogicalConstant"},{"include":"#NullConstant"},{"include":"#FloatNumber"},{"include":"#DecimalNumber"},{"include":"#HexNumber"},{"include":"#IntNumber"}]},"LogicalConstant":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.logical.powerquery"},"Noise":{"patterns":[{"include":"#BlockComment"},{"include":"#LineComment"},{"include":"#Whitespace"}]},"NullConstant":{"match":"\\\\b(null)\\\\b","name":"constant.language.null.powerquery"},"NumericConstant":{"captures":{"1":{"name":"constant.language.numeric.float.powerquery"}},"match":"(?<![\\\\d\\\\w])(#(?:infinity|nan))\\\\b"},"Operators":{"captures":{"1":{"name":"keyword.operator.function.powerquery"},"2":{"name":"keyword.operator.assignment-or-comparison.powerquery"},"3":{"name":"keyword.operator.comparison.powerquery"},"4":{"name":"keyword.operator.combination.powerquery"},"5":{"name":"keyword.operator.arithmetic.powerquery"},"6":{"name":"keyword.operator.sectionaccess.powerquery"},"7":{"name":"keyword.operator.optional.powerquery"}},"match":"(=>)|(=)|(<>|[<>]|<=|>=)|(&)|([-*+/])|(!)|(\\\\?)"},"Punctuation":{"captures":{"1":{"name":"punctuation.separator.powerquery"},"2":{"name":"punctuation.section.parens.begin.powerquery"},"3":{"name":"punctuation.section.parens.end.powerquery"},"4":{"name":"punctuation.section.braces.begin.powerquery"},"5":{"name":"punctuation.section.braces.end.powerquery"}},"match":"(,)|(\\\\()|(\\\\))|(\\\\{)|(})"},"QuotedIdentifier":{"begin":"#\\"","beginCaptures":{"0":{"name":"punctuation.definition.quotedidentifier.begin.powerquery"}},"end":"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.definition.quotedidentifier.end.powerquery"}},"name":"entity.name.powerquery","patterns":[{"match":"\\"\\"","name":"constant.character.escape.quote.powerquery"},{"include":"#EscapeSequence"}]},"RecordExpression":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.section.brackets.begin.powerquery"}},"contentName":"meta.recordexpression.powerquery","end":"]","endCaptures":{"0":{"name":"punctuation.section.brackets.end.powerquery"}},"patterns":[{"include":"$self"}]},"String":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.powerquery"}},"end":"\\"(?!\\")","endCaptures":{"0":{"name":"punctuation.definition.string.end.powerquery"}},"name":"string.quoted.double.powerquery","patterns":[{"match":"\\"\\"","name":"constant.character.escape.quote.powerquery"},{"include":"#EscapeSequence"}]},"TypeName":{"captures":{"1":{"name":"storage.modifier.powerquery"},"2":{"name":"storage.type.powerquery"}},"match":"\\\\b(?:(optional|nullable)|(action|any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|null|number|record|table|text|type))\\\\b"},"Whitespace":{"match":"\\\\s+"}},"scopeName":"source.powerquery"}')),a=[r];export{a as default};
|
|
2
|
+
//# sourceMappingURL=powerquery-CrYI0b8t.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d85f3ebe-4100-476a-a4ea-3e304196f389",e._sentryDebugIdIdentifier="sentry-dbid-d85f3ebe-4100-476a-a4ea-3e304196f389")}catch{}})();const t=Object.freeze(JSON.parse('{"displayName":"PowerShell","name":"powershell","patterns":[{"begin":"<#","beginCaptures":{"0":{"name":"punctuation.definition.comment.block.begin.powershell"}},"end":"#>","endCaptures":{"0":{"name":"punctuation.definition.comment.block.end.powershell"}},"name":"comment.block.powershell","patterns":[{"include":"#commentEmbeddedDocs"}]},{"match":"[2-6]>&1|>>?|<<|[<>]|>\\\\||[1-6]>|[1-6]>>","name":"keyword.operator.redirection.powershell"},{"include":"#commands"},{"include":"#commentLine"},{"include":"#variable"},{"include":"#subexpression"},{"include":"#function"},{"include":"#attribute"},{"include":"#UsingDirective"},{"include":"#type"},{"include":"#hashtable"},{"include":"#doubleQuotedString"},{"include":"#scriptblock"},{"include":"#doubleQuotedStringEscapes"},{"applyEndPatternLast":true,"begin":"[\'‘-‛]","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.powershell"}},"end":"[\'‘-‛]","endCaptures":{"0":{"name":"punctuation.definition.string.end.powershell"}},"name":"string.quoted.single.powershell","patterns":[{"match":"[\'‘-‛]{2}","name":"constant.character.escape.powershell"}]},{"begin":"(@[\\"“”„])\\\\s*$","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.powershell"}},"end":"^[\\"“”„]@","endCaptures":{"0":{"name":"punctuation.definition.string.end.powershell"}},"name":"string.quoted.double.heredoc.powershell","patterns":[{"include":"#variableNoProperty"},{"include":"#doubleQuotedStringEscapes"},{"include":"#interpolation"}]},{"begin":"(@[\'‘-‛])\\\\s*$","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.powershell"}},"end":"^[\'‘-‛]@","endCaptures":{"0":{"name":"punctuation.definition.string.end.powershell"}},"name":"string.quoted.single.heredoc.powershell"},{"include":"#numericConstant"},{"begin":"(@)(\\\\()","beginCaptures":{"1":{"name":"keyword.other.array.begin.powershell"},"2":{"name":"punctuation.section.group.begin.powershell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.powershell"}},"name":"meta.group.array-expression.powershell","patterns":[{"include":"$self"}]},{"begin":"((\\\\$))(\\\\()","beginCaptures":{"1":{"name":"keyword.other.substatement.powershell"},"2":{"name":"punctuation.definition.subexpression.powershell"},"3":{"name":"punctuation.section.group.begin.powershell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.powershell"}},"name":"meta.group.complex.subexpression.powershell","patterns":[{"include":"$self"}]},{"match":"\\\\b((([-.0-9A-Z_a-z]+)\\\\.(?i:exe|com|cmd|bat)))\\\\b","name":"support.function.powershell"},{"match":"(?<![-.\\\\w])((?i:begin|break|catch|clean|continue|data|default|define|do|dynamicparam|else|elseif|end|exit|finally|for|from|if|in|inlinescript|parallel|param|process|return|sequence|switch|throw|trap|try|until|var|while)|[%?])(?!\\\\w)","name":"keyword.control.powershell"},{"match":"(?<![-\\\\w]|[^)]\\\\.)((?i:(foreach|where)(?!-object))|[%?])(?!\\\\w)","name":"keyword.control.powershell"},{"begin":"(?<!\\\\w)(--%)(?!\\\\w)","beginCaptures":{"1":{"name":"keyword.control.powershell"}},"end":"$","patterns":[{"match":".+","name":"string.unquoted.powershell"}]},{"match":"(?<!\\\\w)((?i:hidden|static))(?!\\\\w)","name":"storage.modifier.powershell"},{"captures":{"1":{"name":"storage.type.powershell"},"2":{"name":"entity.name.function"}},"match":"(?<![-\\\\w])((?i:class)|[%?])\\\\s+([-_\\\\p{L}\\\\d]?{1,})\\\\b"},{"match":"(?<!\\\\w)-(?i:is(?:not)?|as)\\\\b","name":"keyword.operator.comparison.powershell"},{"match":"(?<!\\\\w)-(?i:[ci]?(?:eq|ne|[gl][et]|(?:not)?(?:like|match|contains|in)|replace))(?!\\\\p{L})","name":"keyword.operator.comparison.powershell"},{"match":"(?<!\\\\w)-(?i:join|split)(?!\\\\p{L})|!","name":"keyword.operator.unary.powershell"},{"match":"(?<!\\\\w)-(?i:and|or|not|xor)(?!\\\\p{L})|!","name":"keyword.operator.logical.powershell"},{"match":"(?<!\\\\w)-(?i:band|bor|bnot|bxor|shl|shr)(?!\\\\p{L})","name":"keyword.operator.bitwise.powershell"},{"match":"(?<!\\\\w)-(?i:f)(?!\\\\p{L})","name":"keyword.operator.string-format.powershell"},{"match":"[-%*+/]?=|[-%*+/]","name":"keyword.operator.assignment.powershell"},{"match":"\\\\|{2}|&{2}|;","name":"punctuation.terminator.statement.powershell"},{"match":"&|(?<!\\\\w)\\\\.(?= )|[,`|]","name":"keyword.operator.other.powershell"},{"match":"(?<!\\\\s|^)\\\\.\\\\.(?=-?\\\\d|[$(])","name":"keyword.operator.range.powershell"}],"repository":{"RequiresDirective":{"begin":"(?<=#)(?i:(requires))\\\\s","beginCaptures":{"0":{"name":"keyword.control.requires.powershell"}},"end":"$","name":"meta.requires.powershell","patterns":[{"match":"-(?i:Modules|PSSnapin|RunAsAdministrator|ShellId|Version|Assembly|PSEdition)","name":"keyword.other.powershell"},{"match":"(?<!-)\\\\b\\\\p{L}+|\\\\d+(?:\\\\.\\\\d+)*","name":"variable.parameter.powershell"},{"include":"#hashtable"}]},"UsingDirective":{"captures":{"1":{"name":"keyword.control.using.powershell"},"2":{"name":"keyword.other.powershell"},"3":{"name":"variable.parameter.powershell"}},"match":"(?<!\\\\w)(?i:(using))\\\\s+(?i:(namespace|module))\\\\s+(?i:((?:\\\\w+\\\\.?)+))"},"attribute":{"begin":"(\\\\[)\\\\s*\\\\b(?i)(cmdletbinding|alias|outputtype|parameter|validatenotnull|validatenotnullorempty|validatecount|validateset|allownull|allowemptycollection|allowemptystring|validatescript|validaterange|validatepattern|validatelength|supportswildcards)\\\\b","beginCaptures":{"1":{"name":"punctuation.section.bracket.begin.powershell"},"2":{"name":"support.function.attribute.powershell"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.section.bracket.end.powershell"}},"name":"meta.attribute.powershell","patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.powershell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.powershell"}},"patterns":[{"include":"$self"},{"captures":{"1":{"name":"variable.parameter.attribute.powershell"},"2":{"name":"keyword.operator.assignment.powershell"}},"match":"(?i)\\\\b(mandatory|valuefrompipeline|valuefrompipelinebypropertyname|valuefromremainingarguments|position|parametersetname|defaultparametersetname|supportsshouldprocess|supportspaging|positionalbinding|helpuri|confirmimpact|helpmessage)\\\\b\\\\s+{0,1}(=)?"}]}]},"commands":{"patterns":[{"match":"(?:([-:\\\\\\\\_\\\\p{L}\\\\d])*\\\\\\\\)?\\\\b(?i:Add|Approve|Assert|Backup|Block|Build|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Deploy|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Write)-.+?(?:\\\\.(?i:exe|cmd|bat|ps1))?\\\\b","name":"support.function.powershell"},{"match":"(?<!\\\\w)(?i:foreach-object)(?!\\\\w)","name":"support.function.powershell"},{"match":"(?<!\\\\w)(?i:where-object)(?!\\\\w)","name":"support.function.powershell"},{"match":"(?<!\\\\w)(?i:sort-object)(?!\\\\w)","name":"support.function.powershell"},{"match":"(?<!\\\\w)(?i:tee-object)(?!\\\\w)","name":"support.function.powershell"}]},"commentEmbeddedDocs":{"patterns":[{"captures":{"1":{"name":"constant.string.documentation.powershell"},"2":{"name":"keyword.operator.documentation.powershell"}},"match":"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(COMPONENT|DESCRIPTION|EXAMPLE|FUNCTIONALITY|INPUTS|LINK|NOTES|OUTPUTS|ROLE|SYNOPSIS))\\\\s*$","name":"comment.documentation.embedded.powershell"},{"captures":{"1":{"name":"constant.string.documentation.powershell"},"2":{"name":"keyword.operator.documentation.powershell"},"3":{"name":"keyword.operator.documentation.powershell"}},"match":"(?:^|\\\\G)(?i:\\\\s*(\\\\.)(EXTERNALHELP|FORWARDHELP(?:CATEGORY|TARGETNAME)|PARAMETER|REMOTEHELPRUNSPACE))\\\\s+(.+?)\\\\s*$","name":"comment.documentation.embedded.powershell"}]},"commentLine":{"begin":"(?<![-\\\\\\\\`])(#)#*","captures":{"1":{"name":"punctuation.definition.comment.powershell"}},"end":"$\\\\n?","name":"comment.line.powershell","patterns":[{"include":"#commentEmbeddedDocs"},{"include":"#RequiresDirective"}]},"doubleQuotedString":{"applyEndPatternLast":true,"begin":"[\\"“”„]","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.powershell"}},"end":"[\\"“”„]","endCaptures":{"0":{"name":"punctuation.definition.string.end.powershell"}},"name":"string.quoted.double.powershell","patterns":[{"match":"(?i)\\\\b[-%+.0-9A-Z_]+@[-.0-9A-Z]+\\\\.[A-Z]{2,64}\\\\b"},{"include":"#variableNoProperty"},{"include":"#doubleQuotedStringEscapes"},{"match":"[\\"“”„]{2}","name":"constant.character.escape.powershell"},{"include":"#interpolation"},{"match":"`\\\\s*$","name":"keyword.other.powershell"}]},"doubleQuotedStringEscapes":{"patterns":[{"match":"`[\\"$\'0`abefnrtv‘-„]","name":"constant.character.escape.powershell"},{"include":"#unicodeEscape"}]},"function":{"begin":"^\\\\s*+(?i)(function|filter|configuration|workflow)\\\\s+(?:(global|local|script|private):)?([-._\\\\p{L}\\\\d]+)","beginCaptures":{"0":{"name":"meta.function.powershell"},"1":{"name":"storage.type.powershell"},"2":{"name":"storage.modifier.scope.powershell"},"3":{"name":"entity.name.function.powershell"}},"end":"(?=[({])","patterns":[{"include":"#commentLine"}]},"hashtable":{"begin":"(@)(\\\\{)","beginCaptures":{"1":{"name":"keyword.other.hashtable.begin.powershell"},"2":{"name":"punctuation.section.braces.begin.powershell"}},"end":"(})","endCaptures":{"1":{"name":"punctuation.section.braces.end.powershell"}},"name":"meta.hashtable.powershell","patterns":[{"captures":{"1":{"name":"punctuation.definition.string.begin.powershell"},"2":{"name":"variable.other.readwrite.powershell"},"3":{"name":"punctuation.definition.string.end.powershell"},"4":{"name":"keyword.operator.assignment.powershell"}},"match":"\\\\b([\\"\']?)(\\\\w+)([\\"\']?)\\\\s+{0,1}(=)\\\\s+{0,1}","name":"meta.hashtable.assignment.powershell"},{"include":"#scriptblock"},{"include":"$self"}]},"interpolation":{"begin":"(((\\\\$)))((\\\\())","beginCaptures":{"1":{"name":"keyword.other.substatement.powershell"},"2":{"name":"punctuation.definition.substatement.powershell"},"3":{"name":"punctuation.section.embedded.substatement.begin.powershell"},"4":{"name":"punctuation.section.group.begin.powershell"},"5":{"name":"punctuation.section.embedded.substatement.begin.powershell"}},"contentName":"interpolated.complex.source.powershell","end":"(\\\\))","endCaptures":{"0":{"name":"punctuation.section.group.end.powershell"},"1":{"name":"punctuation.section.embedded.substatement.end.powershell"}},"name":"meta.embedded.substatement.powershell","patterns":[{"include":"$self"}]},"numericConstant":{"patterns":[{"captures":{"1":{"name":"constant.numeric.hex.powershell"},"2":{"name":"keyword.other.powershell"}},"match":"(?<!\\\\w)([-+]?0[Xx][_\\\\h]+(?:[LUlu]|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[gkmpt]b)?)\\\\b"},{"captures":{"1":{"name":"constant.numeric.integer.powershell"},"2":{"name":"keyword.other.powershell"}},"match":"(?<!\\\\w)([-+]?[0-9_]+{0,1}\\\\.[0-9_]+(?:[Ee][0-9]+)?[DFMdfm]?)((?i:[gkmpt]b)?)\\\\b"},{"captures":{"1":{"name":"constant.numeric.octal.powershell"},"2":{"name":"keyword.other.powershell"}},"match":"(?<!\\\\w)([-+]?0[Bb][01_]+(?:[LUlu]|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[gkmpt]b)?)\\\\b"},{"captures":{"1":{"name":"constant.numeric.integer.powershell"},"2":{"name":"keyword.other.powershell"}},"match":"(?<!\\\\w)([-+]?[0-9_]+[Ee][0-9_]?+[DFMdfm]?)((?i:[gkmpt]b)?)\\\\b"},{"captures":{"1":{"name":"constant.numeric.integer.powershell"},"2":{"name":"keyword.other.powershell"}},"match":"(?<!\\\\w)([-+]?[0-9_]+\\\\.[Ee][0-9_]?+[DFMdfm]?)((?i:[gkmpt]b)?)\\\\b"},{"captures":{"1":{"name":"constant.numeric.integer.powershell"},"2":{"name":"keyword.other.powershell"}},"match":"(?<!\\\\w)([-+]?[0-9_]+\\\\.?[DFMdfm])((?i:[gkmpt]b)?)\\\\b"},{"captures":{"1":{"name":"constant.numeric.integer.powershell"},"2":{"name":"keyword.other.powershell"}},"match":"(?<!\\\\w)([-+]?[0-9_]+\\\\.?(?:[LUlu]|UL|Ul|uL|ul|LU|Lu|lU|lu)?)((?i:[gkmpt]b)?)\\\\b"}]},"scriptblock":{"begin":"\\\\{","beginCaptures":{"0":{"name":"punctuation.section.braces.begin.powershell"}},"end":"}","endCaptures":{"0":{"name":"punctuation.section.braces.end.powershell"}},"name":"meta.scriptblock.powershell","patterns":[{"include":"$self"}]},"subexpression":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.powershell"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.powershell"}},"name":"meta.group.simple.subexpression.powershell","patterns":[{"include":"$self"}]},"type":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.section.bracket.begin.powershell"}},"end":"]","endCaptures":{"0":{"name":"punctuation.section.bracket.end.powershell"}},"patterns":[{"match":"(?!\\\\d+|\\\\.)[.\\\\p{L}\\\\p{N}]+","name":"storage.type.powershell"},{"include":"$self"}]},"unicodeEscape":{"patterns":[{"match":"`u\\\\{(?:(?:10)?(\\\\h){1,4}|0?\\\\g<1>{1,5})}","name":"constant.character.escape.powershell"},{"match":"`u(?:\\\\{\\\\h{0,6}.)?","name":"invalid.character.escape.powershell"}]},"variable":{"patterns":[{"captures":{"0":{"name":"constant.language.powershell"},"1":{"name":"punctuation.definition.variable.powershell"}},"match":"(\\\\$)(?i:(False|Null|True))\\\\b"},{"captures":{"0":{"name":"support.constant.variable.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"3":{"name":"variable.other.member.powershell"}},"match":"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\\\\b"},{"captures":{"0":{"name":"support.variable.automatic.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"3":{"name":"variable.other.member.powershell"}},"match":"(\\\\$)([$?^]|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?"},{"captures":{"0":{"name":"variable.language.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"3":{"name":"variable.other.member.powershell"}},"match":"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?\\\\b"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"storage.modifier.scope.powershell"},"4":{"name":"variable.other.member.powershell"}},"match":"(?i:([$@])(global|local|private|script|using|workflow):([_\\\\p{L}\\\\d]+))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"punctuation.section.braces.begin.powershell"},"3":{"name":"storage.modifier.scope.powershell"},"5":{"name":"punctuation.section.braces.end.powershell"},"6":{"name":"variable.other.member.powershell"}},"match":"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^`}])(}))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"support.variable.drive.powershell"},"4":{"name":"variable.other.member.powershell"}},"match":"(?i:([$@])([_\\\\p{L}\\\\d]+:)?([_\\\\p{L}\\\\d]+))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"punctuation.section.braces.begin.powershell"},"3":{"name":"support.variable.drive.powershell"},"5":{"name":"punctuation.section.braces.end.powershell"},"6":{"name":"variable.other.member.powershell"}},"match":"(?i:(\\\\$)(\\\\{)([_\\\\p{L}\\\\d]+:)?([^}]*[^`}])(}))((?:\\\\.[_\\\\p{L}\\\\d]+)*\\\\b)?"}]},"variableNoProperty":{"patterns":[{"captures":{"0":{"name":"constant.language.powershell"},"1":{"name":"punctuation.definition.variable.powershell"}},"match":"(\\\\$)(?i:(False|Null|True))\\\\b"},{"captures":{"0":{"name":"support.constant.variable.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"3":{"name":"variable.other.member.powershell"}},"match":"(\\\\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))\\\\b"},{"captures":{"0":{"name":"support.variable.automatic.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"3":{"name":"variable.other.member.powershell"}},"match":"(\\\\$)([$?^]|(?i:_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This)\\\\b)"},{"captures":{"0":{"name":"variable.language.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"3":{"name":"variable.other.member.powershell"}},"match":"(\\\\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|InformationPreference|LogCommandHealthEvent|LogCommandLifecycleEvent|LogEngineHealthEvent|LogEngineLifecycleEvent|LogProviderHealthEvent|LogProviderLifecycleEvent|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|PSCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoLoadingPreference|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|ProgressPreference|VerbosePreference|WarningPreference|WhatIfPreference))\\\\b"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"storage.modifier.scope.powershell"},"4":{"name":"variable.other.member.powershell"}},"match":"(?i:(\\\\$)(global|local|private|script|using|workflow):([_\\\\p{L}\\\\d]+))"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"storage.modifier.scope.powershell"},"4":{"name":"keyword.other.powershell"},"5":{"name":"variable.other.member.powershell"}},"match":"(?i:(\\\\$)(\\\\{)(global|local|private|script|using|workflow):([^}]*[^`}])(}))"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"support.variable.drive.powershell"},"4":{"name":"variable.other.member.powershell"}},"match":"(?i:(\\\\$)([_\\\\p{L}\\\\d]+:)?([_\\\\p{L}\\\\d]+))"},{"captures":{"0":{"name":"variable.other.readwrite.powershell"},"1":{"name":"punctuation.definition.variable.powershell"},"2":{"name":"punctuation.section.braces.begin"},"3":{"name":"support.variable.drive.powershell"},"5":{"name":"punctuation.section.braces.end"}},"match":"(?i:(\\\\$)(\\\\{)([_\\\\p{L}\\\\d]+:)?([^}]*[^`}])(}))"}]}},"scopeName":"source.powershell","aliases":["ps","ps1"]}')),r=[t];export{r as default};
|
|
2
|
+
//# sourceMappingURL=powershell-tpL89_co.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{w as N,b as D,k as V,f as P,F as x,L as R}from"./chunk-QUQL4437-kpuzqnaw.js";import{j as e}from"./jsx-runtime-FQotuiPu.js";import{B as f}from"./button-CrkJGN0z.js";import{b as S,I as l}from"./misc-UFW3ume0.js";import{S as t}from"./tooltip-DlWej1xM.js";import{f as h}from"./format-W-QSSWdx.js";import{u as k}from"./root-loader-DvPELdx8.js";import"./index-DkKihKb6.js";import"./index-C_kGL22K.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var a=new n.Error().stack;a&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[a]="70812e96-ffd7-40b2-aa79-5dd88aac3d3d",n._sentryDebugIdIdentifier="sentry-dbid-70812e96-ffd7-40b2-aa79-5dd88aac3d3d")}catch{}})();const F=[{value:"best",label:"Best available"},{value:"high",label:"High"},{value:"medium",label:"Medium"},{value:"low",label:"Low"}],C=N(function(){const a=D(),o=k(),m=o.preferences?.player,p=o.preferences?.offlineVideo,b=o.preferences?.fontSize,g=o.preferences?.presence,j=o.preferences?.playground,v=o.preferences?.exerciseWarning,w=V(),r=P(),s=r.data?.offlineVideos??a.offlineVideos,i=s.downloadState.status==="running",u=[s.unavailableVideos>0?`${s.unavailableVideos} unavailable`:null,s.notDownloadableVideos>0?`${s.notDownloadableVideos} not downloadable`:null].filter(Boolean).join(", "),y=s.totalVideos>0&&s.downloadedVideos<s.totalVideos&&s.remainingDownloadBytes>0,d=w.state==="submitting";return S(()=>{r.state==="idle"&&r.load("/resources/offline-videos")},i?2e3:null),e.jsx("div",{className:"h-full w-full overflow-y-auto",children:e.jsxs("main",{className:"container mt-12 flex w-full max-w-3xl grow flex-col gap-4 pb-24",children:[e.jsx("h1",{className:"text-h1 mb-4",children:"Preferences"}),e.jsxs(x,{method:"post",className:"flex w-full max-w-sm flex-col gap-4",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-body-xl mb-2",children:"Video Player Preferences"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("label",{htmlFor:"minResolution",children:"Minimum Resolution:"}),e.jsxs("select",{id:"minResolution",name:"minResolution",defaultValue:m?.minResolution,className:"border-border bg-background text-foreground rounded-md border px-2 py-1",children:[e.jsx("option",{value:"",children:"Auto"}),e.jsx("option",{value:"480",children:"480p"}),e.jsx("option",{value:"720",children:"720p"}),e.jsx("option",{value:"1080",children:"1080p"}),e.jsx("option",{value:"1440",children:"1440p"}),e.jsx("option",{value:"2160",children:"2160p (4K)"})]})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("label",{htmlFor:"maxResolution",children:"Maximum Resolution:"}),e.jsxs("select",{id:"maxResolution",name:"maxResolution",defaultValue:m?.maxResolution,className:"border-border bg-background text-foreground rounded-md border px-2 py-1",children:[e.jsx("option",{value:"",children:"Auto"}),e.jsx("option",{value:"720",children:"720p"}),e.jsx("option",{value:"1080",children:"1080p"}),e.jsx("option",{value:"1440",children:"1440p"}),e.jsx("option",{value:"2160",children:"2160p (4K)"})]})]})]}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-body-xl mb-2",children:"Offline Video Downloads"}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("label",{htmlFor:"downloadResolution",children:"Download Resolution:"}),e.jsx("select",{id:"downloadResolution",name:"downloadResolution",defaultValue:p?.downloadResolution??"best",className:"border-border bg-background text-foreground rounded-md border px-2 py-1",children:F.map(c=>e.jsx("option",{value:c.value,children:c.label},c.value))})]}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Defaults to the best available resolution."})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-center gap-2",children:[e.jsx("h2",{className:"text-body-xl",children:"Font Size Preference"}),e.jsx(t,{content:"Defaults to 16px",children:e.jsx(l,{name:"Question",tabIndex:0})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("label",{htmlFor:"fontSize",children:"Font Size"}),e.jsx("input",{type:"number",id:"fontSize",name:"fontSize",defaultValue:b??16,step:"1",min:"12",max:"26",className:"border-border bg-background text-foreground rounded-md border px-2 py-1"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-center gap-2",children:[e.jsx("h2",{className:"text-body-xl",children:"Presence Preference"}),e.jsx(t,{content:"This controls whether your name and avatar are displayed in the pile of faces in navigation",children:e.jsx(l,{name:"Question",tabIndex:0})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"checkbox",id:"optOutPresence",name:"optOutPresence",defaultChecked:g?.optOut}),e.jsx("label",{htmlFor:"optOutPresence",children:"Opt out of presence features"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-center gap-2",children:[e.jsx("h2",{className:"text-body-xl",children:"Persist Playground"}),e.jsx(t,{content:'When enabled, clicking "Set to Playground" will save the current playground in the "saved-playgrounds" directory.',children:e.jsx(l,{name:"Question",tabIndex:0})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"checkbox",id:"persistPlayground",name:"persistPlayground",defaultChecked:j?.persist}),e.jsx("label",{htmlFor:"persistPlayground",children:"Enable saving playground"})]})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"mb-2 flex items-center gap-2",children:[e.jsx("h2",{className:"text-body-xl",children:"Exercise Directory Warning"}),e.jsx(t,{content:"When enabled, you'll see a warning banner when you have changes in the exercises directory. This helps remind you to work in the playground directory instead.",children:e.jsx(l,{name:"Question",tabIndex:0})})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("input",{type:"checkbox",id:"dismissExerciseWarning",name:"dismissExerciseWarning",defaultChecked:v?.dismissed}),e.jsx("label",{htmlFor:"dismissExerciseWarning",children:"Dismiss exercise directory warnings"})]})]}),e.jsx("div",{className:"h-4"}),e.jsx(f,{varient:"primary",type:"submit",name:"intent",value:"update-preferences",disabled:d,children:d?"Updating...":"Update Preferences"})]}),e.jsxs("section",{className:"border-border mt-6 flex w-full max-w-xl flex-col gap-3 border-t pt-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("h2",{className:"text-body-xl",children:"Offline videos"}),e.jsx(t,{content:"Keep videos ready to watch when you're offline.",children:e.jsx(l,{name:"Question",tabIndex:0})})]}),e.jsx("p",{className:"text-muted-foreground text-sm",children:"Download all workshop videos so you can watch them when offline."}),e.jsxs("p",{className:"text-muted-foreground text-sm",children:["Admins can manage all downloaded videos on the"," ",e.jsx(R,{className:"text-foreground underline",to:"/admin/offline-videos",children:"Offline videos admin page"}),"."]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3",children:[e.jsx(x,{method:"post",children:e.jsx(f,{varient:"primary",type:"submit",name:"intent",value:"download-offline-videos",disabled:i||d||s.totalVideos===0,children:i?"Downloading...":"Download all videos"})}),e.jsx(x,{method:"post",children:e.jsx("button",{type:"submit",name:"intent",value:"delete-offline-videos",disabled:d||s.downloadedVideos===0,className:"border-border text-foreground hover:bg-muted inline-flex items-center gap-2 rounded border px-3 py-2 text-sm disabled:cursor-not-allowed disabled:opacity-50",children:"Delete offline videos"})}),e.jsxs("span",{className:"text-muted-foreground text-sm",children:[s.downloadedVideos," of ",s.totalVideos," ","downloaded",u?` (${u})`:null]})]}),e.jsxs("div",{className:"text-muted-foreground text-sm",children:[s.downloadedVideos>0?e.jsxs("p",{children:["Downloaded size: ",h(s.totalBytes)]}):null,y?e.jsxs("p",{children:["Download all size:"," ",h(s.remainingDownloadBytes)]}):null]}),i?e.jsxs("div",{className:"text-muted-foreground text-sm",children:[e.jsxs("p",{children:["Downloading ",s.downloadState.completed," of"," ",s.downloadState.total," videos"]}),s.downloadState.current?e.jsxs("p",{className:"truncate",children:["Current: ",s.downloadState.current.title]}):null]}):null]})]})})});export{C as default};
|
|
2
|
+
//# sourceMappingURL=preferences-2sjR7rtK.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a3b0f1c9-b2a8-4645-a8b2-1a64490058ae",t._sentryDebugIdIdentifier="sentry-dbid-a3b0f1c9-b2a8-4645-a8b2-1a64490058ae")}catch{}})();const h="modulepreload",y=function(t){return"/"+t},u={},E=function(a,i,p){let l=Promise.resolve();if(i&&i.length>0){let f=function(e){return Promise.all(e.map(s=>Promise.resolve(s).then(c=>({status:"fulfilled",value:c}),c=>({status:"rejected",reason:c}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),n=o?.nonce||o?.getAttribute("nonce");l=f(i.map(e=>{if(e=y(e),e in u)return;u[e]=!0;const s=e.endsWith(".css"),c=s?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${c}`))return;const r=document.createElement("link");if(r.rel=s?"stylesheet":h,s||(r.as="script"),r.crossOrigin="",r.href=e,n&&r.setAttribute("nonce",n),document.head.appendChild(r),s)return new Promise((b,m)=>{r.addEventListener("load",b),r.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${e}`)))})}))}function d(o){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=o,window.dispatchEvent(n),!n.defaultPrevented)throw o}return l.then(o=>{for(const n of o||[])n.status==="rejected"&&d(n.reason);return a().catch(d)})};export{E as _};
|
|
2
|
+
//# sourceMappingURL=preload-helper-SQDUwI8Z.js.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import{j as oe}from"./jsx-runtime-FQotuiPu.js";import{r as z}from"./index-DkKihKb6.js";import{i as Wt}from"./chunk-QUQL4437-kpuzqnaw.js";import{u as Vt}from"./online-B5-X8KDc.js";import{u as M,b as Ht}from"./root-loader-DvPELdx8.js";import{o as Gt,u as Bt,l as Pe}from"./schemas-CS68GhMp.js";import{n as Te}from"./coerce-CyQQzAuA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="17d337cf-9480-41ab-ba4f-e0a2a77f4ac1",e._sentryDebugIdIdentifier="sentry-dbid-17d337cf-9480-41ab-ba4f-e0a2a77f4ac1")}catch{}})();function a(e,t,n){function r(c,u){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:u,constr:i,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),t(c,u);const l=i.prototype,f=Object.keys(l);for(let d=0;d<f.length;d++){const h=f[d];h in c||(c[h]=l[h].bind(c))}}const o=n?.Parent??Object;class s extends o{}Object.defineProperty(s,"name",{value:e});function i(c){var u;const l=n?.Parent?new s:this;r(l,c),(u=l._zod).deferred??(u.deferred=[]);for(const f of l._zod.deferred)f();return l}return Object.defineProperty(i,"init",{value:r}),Object.defineProperty(i,Symbol.hasInstance,{value:c=>n?.Parent&&c instanceof n.Parent?!0:c?._zod?.traits?.has(e)}),Object.defineProperty(i,"name",{value:e}),i}class V extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class it extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const ct={};function L(e){return ct}function ut(e){const t=Object.values(e).filter(r=>typeof r=="number");return Object.entries(e).filter(([r,o])=>t.indexOf(+r)===-1).map(([r,o])=>o)}function _e(e,t){return typeof t=="bigint"?t.toString():t}function we(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function ke(e){return e==null}function ze(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function qt(e,t){const n=(e.toString().split(".")[1]||"").length,r=t.toString();let o=(r.split(".")[1]||"").length;if(o===0&&/\d?e-\d?/.test(r)){const u=r.match(/\d?e-(\d?)/);u?.[1]&&(o=Number.parseInt(u[1]))}const s=n>o?n:o,i=Number.parseInt(e.toFixed(s).replace(".","")),c=Number.parseInt(t.toFixed(s).replace(".",""));return i%c/10**s}const Ne=Symbol("evaluating");function g(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==Ne)return r===void 0&&(r=Ne,r=n()),r},set(o){Object.defineProperty(e,t,{value:o})},configurable:!0})}function J(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function C(...e){const t={};for(const n of e){const r=Object.getOwnPropertyDescriptors(n);Object.assign(t,r)}return Object.defineProperties({},t)}function Ie(e){return JSON.stringify(e)}function Kt(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const at="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function se(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Yt=we(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function K(e){if(se(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(se(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function lt(e){return K(e)?{...e}:Array.isArray(e)?[...e]:e}const Xt=new Set(["string","number","symbol"]);function H(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function R(e,t,n){const r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function m(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Qt(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const en={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function tn(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const s=C(e._zod.def,{get shape(){const i={};for(const c in t){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&(i[c]=n.shape[c])}return J(this,"shape",i),i},checks:[]});return R(e,s)}function nn(e,t){const n=e._zod.def,r=n.checks;if(r&&r.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const s=C(e._zod.def,{get shape(){const i={...e._zod.def.shape};for(const c in t){if(!(c in n.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&delete i[c]}return J(this,"shape",i),i},checks:[]});return R(e,s)}function rn(e,t){if(!K(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const s=e._zod.def.shape;for(const i in t)if(Object.getOwnPropertyDescriptor(s,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const o=C(e._zod.def,{get shape(){const s={...e._zod.def.shape,...t};return J(this,"shape",s),s}});return R(e,o)}function on(e,t){if(!K(t))throw new Error("Invalid input to safeExtend: expected a plain object");const n=C(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return J(this,"shape",r),r}});return R(e,n)}function sn(e,t){const n=C(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return J(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:[]});return R(e,n)}function cn(e,t,n){const o=t._zod.def.checks;if(o&&o.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const i=C(t._zod.def,{get shape(){const c=t._zod.def.shape,u={...c};if(n)for(const l in n){if(!(l in c))throw new Error(`Unrecognized key: "${l}"`);n[l]&&(u[l]=e?new e({type:"optional",innerType:c[l]}):c[l])}else for(const l in c)u[l]=e?new e({type:"optional",innerType:c[l]}):c[l];return J(this,"shape",u),u},checks:[]});return R(t,i)}function un(e,t,n){const r=C(t._zod.def,{get shape(){const o=t._zod.def.shape,s={...o};if(n)for(const i in n){if(!(i in s))throw new Error(`Unrecognized key: "${i}"`);n[i]&&(s[i]=new e({type:"nonoptional",innerType:o[i]}))}else for(const i in o)s[i]=new e({type:"nonoptional",innerType:o[i]});return J(this,"shape",s),s}});return R(t,r)}function W(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function ft(e,t){return t.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(e),n})}function ee(e){return typeof e=="string"?e:e?.message}function F(e,t,n){const r={...e,path:e.path??[]};if(!e.message){const o=ee(e.inst?._zod.def?.error?.(e))??ee(t?.error?.(e))??ee(n.customError?.(e))??ee(n.localeError?.(e))??"Invalid input";r.message=o}return delete r.inst,delete r.continue,t?.reportInput||delete r.input,r}function $e(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Y(...e){const[t,n,r]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:r}:{...t}}const dt=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,_e,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},ht=a("$ZodError",dt),pt=a("$ZodError",dt,{Parent:Error});function an(e,t=n=>n.message){const n={},r=[];for(const o of e.issues)o.path.length>0?(n[o.path[0]]=n[o.path[0]]||[],n[o.path[0]].push(t(o))):r.push(t(o));return{formErrors:r,fieldErrors:n}}function ln(e,t=n=>n.message){const n={_errors:[]},r=o=>{for(const s of o.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(i=>r({issues:i}));else if(s.code==="invalid_key")r({issues:s.issues});else if(s.code==="invalid_element")r({issues:s.issues});else if(s.path.length===0)n._errors.push(t(s));else{let i=n,c=0;for(;c<s.path.length;){const u=s.path[c];c===s.path.length-1?(i[u]=i[u]||{_errors:[]},i[u]._errors.push(t(s))):i[u]=i[u]||{_errors:[]},i=i[u],c++}}};return r(e),n}const Se=e=>(t,n,r,o)=>{const s=r?Object.assign(r,{async:!1}):{async:!1},i=t._zod.run({value:n,issues:[]},s);if(i instanceof Promise)throw new V;if(i.issues.length){const c=new(o?.Err??e)(i.issues.map(u=>F(u,s,L())));throw at(c,o?.callee),c}return i.value},Ee=e=>async(t,n,r,o)=>{const s=r?Object.assign(r,{async:!0}):{async:!0};let i=t._zod.run({value:n,issues:[]},s);if(i instanceof Promise&&(i=await i),i.issues.length){const c=new(o?.Err??e)(i.issues.map(u=>F(u,s,L())));throw at(c,o?.callee),c}return i.value},le=e=>(t,n,r)=>{const o=r?{...r,async:!1}:{async:!1},s=t._zod.run({value:n,issues:[]},o);if(s instanceof Promise)throw new V;return s.issues.length?{success:!1,error:new(e??ht)(s.issues.map(i=>F(i,o,L())))}:{success:!0,data:s.value}},fn=le(pt),fe=e=>async(t,n,r)=>{const o=r?Object.assign(r,{async:!0}):{async:!0};let s=t._zod.run({value:n,issues:[]},o);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(i=>F(i,o,L())))}:{success:!0,data:s.value}},dn=fe(pt),hn=e=>(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Se(e)(t,n,o)},pn=e=>(t,n,r)=>Se(e)(t,n,r),mn=e=>async(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return Ee(e)(t,n,o)},_n=e=>async(t,n,r)=>Ee(e)(t,n,r),gn=e=>(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return le(e)(t,n,o)},vn=e=>(t,n,r)=>le(e)(t,n,r),bn=e=>async(t,n,r)=>{const o=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return fe(e)(t,n,o)},yn=e=>async(t,n,r)=>fe(e)(t,n,r),wn=/^[cC][^\s-]{8,}$/,kn=/^[0-9a-z]+$/,zn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,$n=/^[0-9a-vA-V]{20}$/,Sn=/^[A-Za-z0-9]{27}$/,En=/^[a-zA-Z0-9_-]{21}$/,On=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Zn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,xe=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,Pn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Tn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Nn(){return new RegExp(Tn,"u")}const In=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,xn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Cn=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Rn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,An=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,mt=/^[A-Za-z0-9_-]*$/,jn=/^\+[1-9]\d{6,14}$/,_t="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",Dn=new RegExp(`^${_t}$`);function gt(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Un(e){return new RegExp(`^${gt(e)}$`)}function Ln(e){const t=gt({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${t}(?:${n.join("|")})`;return new RegExp(`^${_t}T(?:${r})$`)}const Fn=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Mn=/^-?\d+$/,Jn=/^-?\d+(?:\.\d+)?$/,Wn=/^(?:true|false)$/i,Vn=/^[^A-Z]*$/,Hn=/^[^a-z]*$/,Z=a("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),vt={number:"number",bigint:"bigint",object:"date"},bt=a("$ZodCheckLessThan",(e,t)=>{Z.init(e,t);const n=vt[typeof t.value];e._zod.onattach.push(r=>{const o=r._zod.bag,s=(t.inclusive?o.maximum:o.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<s&&(t.inclusive?o.maximum=t.value:o.exclusiveMaximum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),yt=a("$ZodCheckGreaterThan",(e,t)=>{Z.init(e,t);const n=vt[typeof t.value];e._zod.onattach.push(r=>{const o=r._zod.bag,s=(t.inclusive?o.minimum:o.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>s&&(t.inclusive?o.minimum=t.value:o.exclusiveMinimum=t.value)}),e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Gn=a("$ZodCheckMultipleOf",(e,t)=>{Z.init(e,t),e._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%t.value===BigInt(0):qt(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Bn=a("$ZodCheckNumberFormat",(e,t)=>{Z.init(e,t),t.format=t.format||"float64";const n=t.format?.includes("int"),r=n?"int":"number",[o,s]=en[t.format];e._zod.onattach.push(i=>{const c=i._zod.bag;c.format=t.format,c.minimum=o,c.maximum=s,n&&(c.pattern=Mn)}),e._zod.check=i=>{const c=i.value;if(n){if(!Number.isInteger(c)){i.issues.push({expected:r,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?i.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort}):i.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}c<o&&i.issues.push({origin:"number",input:c,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),c>s&&i.issues.push({origin:"number",input:c,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!t.abort})}}),qn=a("$ZodCheckMaxLength",(e,t)=>{var n;Z.init(e,t),(n=e._zod.def).when??(n.when=r=>{const o=r.value;return!ke(o)&&o.length!==void 0}),e._zod.onattach.push(r=>{const o=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<o&&(r._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{const o=r.value;if(o.length<=t.maximum)return;const i=$e(o);r.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),Kn=a("$ZodCheckMinLength",(e,t)=>{var n;Z.init(e,t),(n=e._zod.def).when??(n.when=r=>{const o=r.value;return!ke(o)&&o.length!==void 0}),e._zod.onattach.push(r=>{const o=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>o&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{const o=r.value;if(o.length>=t.minimum)return;const i=$e(o);r.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:o,inst:e,continue:!t.abort})}}),Yn=a("$ZodCheckLengthEquals",(e,t)=>{var n;Z.init(e,t),(n=e._zod.def).when??(n.when=r=>{const o=r.value;return!ke(o)&&o.length!==void 0}),e._zod.onattach.push(r=>{const o=r._zod.bag;o.minimum=t.length,o.maximum=t.length,o.length=t.length}),e._zod.check=r=>{const o=r.value,s=o.length;if(s===t.length)return;const i=$e(o),c=s>t.length;r.issues.push({origin:i,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),de=a("$ZodCheckStringFormat",(e,t)=>{var n,r;Z.init(e,t),e._zod.onattach.push(o=>{const s=o._zod.bag;s.format=t.format,t.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=o=>{t.pattern.lastIndex=0,!t.pattern.test(o.value)&&o.issues.push({origin:"string",code:"invalid_format",format:t.format,input:o.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Xn=a("$ZodCheckRegex",(e,t)=>{de.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Qn=a("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Vn),de.init(e,t)}),er=a("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Hn),de.init(e,t)}),tr=a("$ZodCheckIncludes",(e,t)=>{Z.init(e,t);const n=H(t.includes),r=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(o=>{const s=o._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(r)}),e._zod.check=o=>{o.value.includes(t.includes,t.position)||o.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:o.value,inst:e,continue:!t.abort})}}),nr=a("$ZodCheckStartsWith",(e,t)=>{Z.init(e,t);const n=new RegExp(`^${H(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(n)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),rr=a("$ZodCheckEndsWith",(e,t)=>{Z.init(e,t);const n=new RegExp(`.*${H(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(r=>{const o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(n)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),or=a("$ZodCheckOverwrite",(e,t)=>{Z.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class sr{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const r=t.split(`
|
|
2
|
+
`).filter(i=>i),o=Math.min(...r.map(i=>i.length-i.trimStart().length)),s=r.map(i=>i.slice(o)).map(i=>" ".repeat(this.indent*2)+i);for(const i of s)this.content.push(i)}compile(){const t=Function,n=this?.args,o=[...(this?.content??[""]).map(s=>` ${s}`)];return new t(...n,o.join(`
|
|
3
|
+
`))}}const ir={major:4,minor:3,patch:6},w=a("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=ir;const r=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&r.unshift(e);for(const o of r)for(const s of o._zod.onattach)s(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const o=(i,c,u)=>{let l=W(i),f;for(const d of c){if(d._zod.def.when){if(!d._zod.def.when(i))continue}else if(l)continue;const h=i.issues.length,p=d._zod.check(i);if(p instanceof Promise&&u?.async===!1)throw new V;if(f||p instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await p,i.issues.length!==h&&(l||(l=W(i,h)))});else{if(i.issues.length===h)continue;l||(l=W(i,h))}}return f?f.then(()=>i):i},s=(i,c,u)=>{if(W(i))return i.aborted=!0,i;const l=o(c,r,u);if(l instanceof Promise){if(u.async===!1)throw new V;return l.then(f=>e._zod.parse(f,u))}return e._zod.parse(l,u)};e._zod.run=(i,c)=>{if(c.skipChecks)return e._zod.parse(i,c);if(c.direction==="backward"){const l=e._zod.parse({value:i.value,issues:[]},{...c,skipChecks:!0});return l instanceof Promise?l.then(f=>s(f,i,c)):s(l,i,c)}const u=e._zod.parse(i,c);if(u instanceof Promise){if(c.async===!1)throw new V;return u.then(l=>o(l,r,c))}return o(u,r,c)}}g(e,"~standard",()=>({validate:o=>{try{const s=fn(e,o);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return dn(e,o).then(i=>i.success?{value:i.data}:{issues:i.error?.issues})}},vendor:"zod",version:1}))}),Oe=a("$ZodString",(e,t)=>{w.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Fn(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),b=a("$ZodStringFormat",(e,t)=>{de.init(e,t),Oe.init(e,t)}),cr=a("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Zn),b.init(e,t)}),ur=a("$ZodUUID",(e,t)=>{if(t.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(r===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=xe(r))}else t.pattern??(t.pattern=xe());b.init(e,t)}),ar=a("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Pn),b.init(e,t)}),lr=a("$ZodURL",(e,t)=>{b.init(e,t),e._zod.check=n=>{try{const r=n.value.trim(),o=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=o.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),fr=a("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Nn()),b.init(e,t)}),dr=a("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=En),b.init(e,t)}),hr=a("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=wn),b.init(e,t)}),pr=a("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=kn),b.init(e,t)}),mr=a("$ZodULID",(e,t)=>{t.pattern??(t.pattern=zn),b.init(e,t)}),_r=a("$ZodXID",(e,t)=>{t.pattern??(t.pattern=$n),b.init(e,t)}),gr=a("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Sn),b.init(e,t)}),vr=a("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=Ln(t)),b.init(e,t)}),br=a("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Dn),b.init(e,t)}),yr=a("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Un(t)),b.init(e,t)}),wr=a("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=On),b.init(e,t)}),kr=a("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=In),b.init(e,t),e._zod.bag.format="ipv4"}),zr=a("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=xn),b.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),$r=a("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=Cn),b.init(e,t)}),Sr=a("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=Rn),b.init(e,t),e._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[o,s]=r;if(!s)throw new Error;const i=Number(s);if(`${i}`!==s)throw new Error;if(i<0||i>128)throw new Error;new URL(`http://[${o}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function wt(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Er=a("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=An),b.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{wt(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function Or(e){if(!mt.test(e))return!1;const t=e.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return wt(n)}const Zr=a("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=mt),b.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{Or(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Pr=a("$ZodE164",(e,t)=>{t.pattern??(t.pattern=jn),b.init(e,t)});function Tr(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const o=JSON.parse(atob(r));return!("typ"in o&&o?.typ!=="JWT"||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}}const Nr=a("$ZodJWT",(e,t)=>{b.init(e,t),e._zod.check=n=>{Tr(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),kt=a("$ZodNumber",(e,t)=>{w.init(e,t),e._zod.pattern=e._zod.bag.pattern??Jn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const o=n.value;if(typeof o=="number"&&!Number.isNaN(o)&&Number.isFinite(o))return n;const s=typeof o=="number"?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...s?{received:s}:{}}),n}}),Ir=a("$ZodNumberFormat",(e,t)=>{Bn.init(e,t),kt.init(e,t)}),xr=a("$ZodBoolean",(e,t)=>{w.init(e,t),e._zod.pattern=Wn,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}const o=n.value;return typeof o=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),n}}),Cr=a("$ZodUnknown",(e,t)=>{w.init(e,t),e._zod.parse=n=>n}),Rr=a("$ZodNever",(e,t)=>{w.init(e,t),e._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function Ce(e,t,n){e.issues.length&&t.issues.push(...ft(n,e.issues)),t.value[n]=e.value}const Ar=a("$ZodArray",(e,t)=>{w.init(e,t),e._zod.parse=(n,r)=>{const o=n.value;if(!Array.isArray(o))return n.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),n;n.value=Array(o.length);const s=[];for(let i=0;i<o.length;i++){const c=o[i],u=t.element._zod.run({value:c,issues:[]},r);u instanceof Promise?s.push(u.then(l=>Ce(l,n,i))):Ce(u,n,i)}return s.length?Promise.all(s).then(()=>n):n}});function ie(e,t,n,r,o){if(e.issues.length){if(o&&!(n in r))return;t.issues.push(...ft(n,e.issues))}e.value===void 0?n in r&&(t.value[n]=void 0):t.value[n]=e.value}function zt(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const n=Qt(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function $t(e,t,n,r,o,s){const i=[],c=o.keySet,u=o.catchall._zod,l=u.def.type,f=u.optout==="optional";for(const d in t){if(c.has(d))continue;if(l==="never"){i.push(d);continue}const h=u.run({value:t[d],issues:[]},r);h instanceof Promise?e.push(h.then(p=>ie(p,n,d,t,f))):ie(h,n,d,t,f)}return i.length&&n.issues.push({code:"unrecognized_keys",keys:i,input:t,inst:s}),e.length?Promise.all(e).then(()=>n):n}const jr=a("$ZodObject",(e,t)=>{if(w.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const c=t.shape;Object.defineProperty(t,"shape",{get:()=>{const u={...c};return Object.defineProperty(t,"shape",{value:u}),u}})}const r=we(()=>zt(t));g(e._zod,"propValues",()=>{const c=t.shape,u={};for(const l in c){const f=c[l]._zod;if(f.values){u[l]??(u[l]=new Set);for(const d of f.values)u[l].add(d)}}return u});const o=se,s=t.catchall;let i;e._zod.parse=(c,u)=>{i??(i=r.value);const l=c.value;if(!o(l))return c.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),c;c.value={};const f=[],d=i.shape;for(const h of i.keys){const p=d[h],_=p._zod.optout==="optional",v=p._zod.run({value:l[h],issues:[]},u);v instanceof Promise?f.push(v.then(x=>ie(x,c,h,l,_))):ie(v,c,h,l,_)}return s?$t(f,l,c,u,r.value,e):f.length?Promise.all(f).then(()=>c):c}}),Dr=a("$ZodObjectJIT",(e,t)=>{jr.init(e,t);const n=e._zod.parse,r=we(()=>zt(t)),o=h=>{const p=new sr(["shape","payload","ctx"]),_=r.value,v=N=>{const E=Ie(N);return`shape[${E}]._zod.run({ value: input[${E}], issues: [] }, ctx)`};p.write("const input = payload.value;");const x=Object.create(null);let A=0;for(const N of _.keys)x[N]=`key_${A++}`;p.write("const newResult = {};");for(const N of _.keys){const E=x[N],T=Ie(N),Jt=h[N]?._zod?.optout==="optional";p.write(`const ${E} = ${v(N)};`),Jt?p.write(`
|
|
4
|
+
if (${E}.issues.length) {
|
|
5
|
+
if (${T} in input) {
|
|
6
|
+
payload.issues = payload.issues.concat(${E}.issues.map(iss => ({
|
|
7
|
+
...iss,
|
|
8
|
+
path: iss.path ? [${T}, ...iss.path] : [${T}]
|
|
9
|
+
})));
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (${E}.value === undefined) {
|
|
14
|
+
if (${T} in input) {
|
|
15
|
+
newResult[${T}] = undefined;
|
|
16
|
+
}
|
|
17
|
+
} else {
|
|
18
|
+
newResult[${T}] = ${E}.value;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
`):p.write(`
|
|
22
|
+
if (${E}.issues.length) {
|
|
23
|
+
payload.issues = payload.issues.concat(${E}.issues.map(iss => ({
|
|
24
|
+
...iss,
|
|
25
|
+
path: iss.path ? [${T}, ...iss.path] : [${T}]
|
|
26
|
+
})));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
if (${E}.value === undefined) {
|
|
30
|
+
if (${T} in input) {
|
|
31
|
+
newResult[${T}] = undefined;
|
|
32
|
+
}
|
|
33
|
+
} else {
|
|
34
|
+
newResult[${T}] = ${E}.value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
`)}p.write("payload.value = newResult;"),p.write("return payload;");const j=p.compile();return(N,E)=>j(h,N,E)};let s;const i=se,c=!ct.jitless,l=c&&Yt.value,f=t.catchall;let d;e._zod.parse=(h,p)=>{d??(d=r.value);const _=h.value;return i(_)?c&&l&&p?.async===!1&&p.jitless!==!0?(s||(s=o(t.shape)),h=s(h,p),f?$t([],_,h,p,d,e):h):n(h,p):(h.issues.push({expected:"object",code:"invalid_type",input:_,inst:e}),h)}});function Re(e,t,n,r){for(const s of e)if(s.issues.length===0)return t.value=s.value,t;const o=e.filter(s=>!W(s));return o.length===1?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(s=>s.issues.map(i=>F(i,r,L())))}),t)}const Ur=a("$ZodUnion",(e,t)=>{w.init(e,t),g(e._zod,"optin",()=>t.options.some(o=>o._zod.optin==="optional")?"optional":void 0),g(e._zod,"optout",()=>t.options.some(o=>o._zod.optout==="optional")?"optional":void 0),g(e._zod,"values",()=>{if(t.options.every(o=>o._zod.values))return new Set(t.options.flatMap(o=>Array.from(o._zod.values)))}),g(e._zod,"pattern",()=>{if(t.options.every(o=>o._zod.pattern)){const o=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${o.map(s=>ze(s.source)).join("|")})$`)}});const n=t.options.length===1,r=t.options[0]._zod.run;e._zod.parse=(o,s)=>{if(n)return r(o,s);let i=!1;const c=[];for(const u of t.options){const l=u._zod.run({value:o.value,issues:[]},s);if(l instanceof Promise)c.push(l),i=!0;else{if(l.issues.length===0)return l;c.push(l)}}return i?Promise.all(c).then(u=>Re(u,o,e,s)):Re(c,o,e,s)}}),Lr=a("$ZodIntersection",(e,t)=>{w.init(e,t),e._zod.parse=(n,r)=>{const o=n.value,s=t.left._zod.run({value:o,issues:[]},r),i=t.right._zod.run({value:o,issues:[]},r);return s instanceof Promise||i instanceof Promise?Promise.all([s,i]).then(([u,l])=>Ae(n,u,l)):Ae(n,s,i)}});function ge(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(K(e)&&K(t)){const n=Object.keys(t),r=Object.keys(e).filter(s=>n.indexOf(s)!==-1),o={...e,...t};for(const s of r){const i=ge(e[s],t[s]);if(!i.valid)return{valid:!1,mergeErrorPath:[s,...i.mergeErrorPath]};o[s]=i.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<e.length;r++){const o=e[r],s=t[r],i=ge(o,s);if(!i.valid)return{valid:!1,mergeErrorPath:[r,...i.mergeErrorPath]};n.push(i.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Ae(e,t,n){const r=new Map;let o;for(const c of t.issues)if(c.code==="unrecognized_keys"){o??(o=c);for(const u of c.keys)r.has(u)||r.set(u,{}),r.get(u).l=!0}else e.issues.push(c);for(const c of n.issues)if(c.code==="unrecognized_keys")for(const u of c.keys)r.has(u)||r.set(u,{}),r.get(u).r=!0;else e.issues.push(c);const s=[...r].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(s.length&&o&&e.issues.push({...o,keys:s}),W(e))return e;const i=ge(t.value,n.value);if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}const Fr=a("$ZodEnum",(e,t)=>{w.init(e,t);const n=ut(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter(o=>Xt.has(typeof o)).map(o=>typeof o=="string"?H(o):o.toString()).join("|")})$`),e._zod.parse=(o,s)=>{const i=o.value;return r.has(i)||o.issues.push({code:"invalid_value",values:n,input:i,inst:e}),o}}),Mr=a("$ZodLiteral",(e,t)=>{if(w.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?H(r):r?H(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,o)=>{const s=r.value;return n.has(s)||r.issues.push({code:"invalid_value",values:t.values,input:s,inst:e}),r}}),Jr=a("$ZodTransform",(e,t)=>{w.init(e,t),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new it(e.constructor.name);const o=t.transform(n.value,n);if(r.async)return(o instanceof Promise?o:Promise.resolve(o)).then(i=>(n.value=i,n));if(o instanceof Promise)throw new V;return n.value=o,n}});function je(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const St=a("$ZodOptional",(e,t)=>{w.init(e,t),e._zod.optin="optional",e._zod.optout="optional",g(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),g(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${ze(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(s=>je(s,n.value)):je(o,n.value)}return n.value===void 0?n:t.innerType._zod.run(n,r)}}),Wr=a("$ZodExactOptional",(e,t)=>{St.init(e,t),g(e._zod,"values",()=>t.innerType._zod.values),g(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>t.innerType._zod.run(n,r)}),Vr=a("$ZodNullable",(e,t)=>{w.init(e,t),g(e._zod,"optin",()=>t.innerType._zod.optin),g(e._zod,"optout",()=>t.innerType._zod.optout),g(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${ze(n.source)}|null)$`):void 0}),g(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,r)=>n.value===null?n:t.innerType._zod.run(n,r)}),Hr=a("$ZodDefault",(e,t)=>{w.init(e,t),e._zod.optin="optional",g(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(s=>De(s,t)):De(o,t)}});function De(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Gr=a("$ZodPrefault",(e,t)=>{w.init(e,t),e._zod.optin="optional",g(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,r))}),Br=a("$ZodNonOptional",(e,t)=>{w.init(e,t),g(e._zod,"values",()=>{const n=t.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,r)=>{const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(s=>Ue(s,e)):Ue(o,e)}});function Ue(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const qr=a("$ZodCatch",(e,t)=>{w.init(e,t),g(e._zod,"optin",()=>t.innerType._zod.optin),g(e._zod,"optout",()=>t.innerType._zod.optout),g(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(s=>(n.value=s.value,s.issues.length&&(n.value=t.catchValue({...n,error:{issues:s.issues.map(i=>F(i,r,L()))},input:n.value}),n.issues=[]),n)):(n.value=o.value,o.issues.length&&(n.value=t.catchValue({...n,error:{issues:o.issues.map(s=>F(s,r,L()))},input:n.value}),n.issues=[]),n)}}),Kr=a("$ZodPipe",(e,t)=>{w.init(e,t),g(e._zod,"values",()=>t.in._zod.values),g(e._zod,"optin",()=>t.in._zod.optin),g(e._zod,"optout",()=>t.out._zod.optout),g(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){const s=t.out._zod.run(n,r);return s instanceof Promise?s.then(i=>te(i,t.in,r)):te(s,t.in,r)}const o=t.in._zod.run(n,r);return o instanceof Promise?o.then(s=>te(s,t.out,r)):te(o,t.out,r)}});function te(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const Yr=a("$ZodReadonly",(e,t)=>{w.init(e,t),g(e._zod,"propValues",()=>t.innerType._zod.propValues),g(e._zod,"values",()=>t.innerType._zod.values),g(e._zod,"optin",()=>t.innerType?._zod?.optin),g(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);const o=t.innerType._zod.run(n,r);return o instanceof Promise?o.then(Le):Le(o)}});function Le(e){return e.value=Object.freeze(e.value),e}const Xr=a("$ZodCustom",(e,t)=>{Z.init(e,t),w.init(e,t),e._zod.parse=(n,r)=>n,e._zod.check=n=>{const r=n.value,o=t.fn(r);if(o instanceof Promise)return o.then(s=>Fe(s,n,r,e));Fe(o,n,r,e)}});function Fe(e,t,n,r){if(!e){const o={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(o.params=r._zod.def.params),t.issues.push(Y(o))}}var Me;class Qr{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const r=n[0];return this._map.set(t,r),r&&typeof r=="object"&&"id"in r&&this._idmap.set(r.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const o={...r,...this._map.get(t)};return Object.keys(o).length?o:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function eo(){return new Qr}(Me=globalThis).__zod_globalRegistry??(Me.__zod_globalRegistry=eo());const B=globalThis.__zod_globalRegistry;function to(e,t){return new e({type:"string",...m(t)})}function no(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...m(t)})}function Je(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...m(t)})}function ro(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...m(t)})}function oo(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...m(t)})}function so(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...m(t)})}function io(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...m(t)})}function co(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...m(t)})}function uo(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...m(t)})}function ao(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...m(t)})}function lo(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...m(t)})}function fo(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...m(t)})}function ho(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...m(t)})}function po(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...m(t)})}function mo(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...m(t)})}function _o(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...m(t)})}function go(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...m(t)})}function vo(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...m(t)})}function bo(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...m(t)})}function yo(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...m(t)})}function wo(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...m(t)})}function ko(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...m(t)})}function zo(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...m(t)})}function $o(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...m(t)})}function So(e,t){return new e({type:"string",format:"date",check:"string_format",...m(t)})}function Eo(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...m(t)})}function Oo(e,t){return new e({type:"string",format:"duration",check:"string_format",...m(t)})}function Zo(e,t){return new e({type:"number",checks:[],...m(t)})}function Po(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...m(t)})}function To(e,t){return new e({type:"boolean",...m(t)})}function No(e){return new e({type:"unknown"})}function Io(e,t){return new e({type:"never",...m(t)})}function We(e,t){return new bt({check:"less_than",...m(t),value:e,inclusive:!1})}function he(e,t){return new bt({check:"less_than",...m(t),value:e,inclusive:!0})}function Ve(e,t){return new yt({check:"greater_than",...m(t),value:e,inclusive:!1})}function pe(e,t){return new yt({check:"greater_than",...m(t),value:e,inclusive:!0})}function He(e,t){return new Gn({check:"multiple_of",...m(t),value:e})}function Et(e,t){return new qn({check:"max_length",...m(t),maximum:e})}function ce(e,t){return new Kn({check:"min_length",...m(t),minimum:e})}function Ot(e,t){return new Yn({check:"length_equals",...m(t),length:e})}function xo(e,t){return new Xn({check:"string_format",format:"regex",...m(t),pattern:e})}function Co(e){return new Qn({check:"string_format",format:"lowercase",...m(e)})}function Ro(e){return new er({check:"string_format",format:"uppercase",...m(e)})}function Ao(e,t){return new tr({check:"string_format",format:"includes",...m(t),includes:e})}function jo(e,t){return new nr({check:"string_format",format:"starts_with",...m(t),prefix:e})}function Do(e,t){return new rr({check:"string_format",format:"ends_with",...m(t),suffix:e})}function G(e){return new or({check:"overwrite",tx:e})}function Uo(e){return G(t=>t.normalize(e))}function Lo(){return G(e=>e.trim())}function Fo(){return G(e=>e.toLowerCase())}function Mo(){return G(e=>e.toUpperCase())}function Jo(){return G(e=>Kt(e))}function Wo(e,t,n){return new e({type:"array",element:t,...m(n)})}function Vo(e,t,n){return new e({type:"custom",check:"custom",fn:t,...m(n)})}function Ho(e){const t=Go(n=>(n.addIssue=r=>{if(typeof r=="string")n.issues.push(Y(r,n.value,t._zod.def));else{const o=r;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=t),o.continue??(o.continue=!t._zod.def.abort),n.issues.push(Y(o))}},e(n.value,n)));return t}function Go(e,t){const n=new Z({check:"custom",...m(t)});return n._zod.check=e,n}function Zt(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??B,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function $(e,t,n={path:[],schemaPath:[]}){var r;const o=e._zod.def,s=t.seen.get(e);if(s)return s.count++,n.schemaPath.includes(e)&&(s.cycle=n.path),s.schema;const i={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,i);const c=e._zod.toJSONSchema?.();if(c)i.schema=c;else{const f={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,i.schema,f);else{const h=i.schema,p=t.processors[o.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${o.type}`);p(e,t,h,f)}const d=e._zod.parent;d&&(i.ref||(i.ref=d),$(d,t,f),t.seen.get(d).isParent=!0)}const u=t.metadataRegistry.get(e);return u&&Object.assign(i.schema,u),t.io==="input"&&S(e)&&(delete i.schema.examples,delete i.schema.default),t.io==="input"&&i.schema._prefault&&((r=i.schema).default??(r.default=i.schema._prefault)),delete i.schema._prefault,t.seen.get(e).schema}function Pt(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=new Map;for(const i of e.seen.entries()){const c=e.metadataRegistry.get(i[0])?.id;if(c){const u=r.get(c);if(u&&u!==i[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(c,i[0])}}const o=i=>{const c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const d=e.external.registry.get(i[0])?.id,h=e.external.uri??(_=>_);if(d)return{ref:h(d)};const p=i[1].defId??i[1].schema.id??`schema${e.counter++}`;return i[1].defId=p,{defId:p,ref:`${h("__shared")}#/${c}/${p}`}}if(i[1]===n)return{ref:"#"};const l=`#/${c}/`,f=i[1].schema.id??`__schema${e.counter++}`;return{defId:f,ref:l+f}},s=i=>{if(i[1].schema.$ref)return;const c=i[1],{ref:u,defId:l}=o(i);c.def={...c.schema},l&&(c.defId=l);const f=c.schema;for(const d in f)delete f[d];f.$ref=u};if(e.cycles==="throw")for(const i of e.seen.entries()){const c=i[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
|
|
38
|
+
|
|
39
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const i of e.seen.entries()){const c=i[1];if(t===i[0]){s(i);continue}if(e.external){const l=e.external.registry.get(i[0])?.id;if(t!==i[0]&&l){s(i);continue}}if(e.metadataRegistry.get(i[0])?.id){s(i);continue}if(c.cycle){s(i);continue}if(c.count>1&&e.reused==="ref"){s(i);continue}}}function Tt(e,t){const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=i=>{const c=e.seen.get(i);if(c.ref===null)return;const u=c.def??c.schema,l={...u},f=c.ref;if(c.ref=null,f){r(f);const h=e.seen.get(f),p=h.schema;if(p.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(u.allOf=u.allOf??[],u.allOf.push(p)):Object.assign(u,p),Object.assign(u,l),i._zod.parent===f)for(const v in u)v==="$ref"||v==="allOf"||v in l||delete u[v];if(p.$ref&&h.def)for(const v in u)v==="$ref"||v==="allOf"||v in h.def&&JSON.stringify(u[v])===JSON.stringify(h.def[v])&&delete u[v]}const d=i._zod.parent;if(d&&d!==f){r(d);const h=e.seen.get(d);if(h?.schema.$ref&&(u.$ref=h.schema.$ref,h.def))for(const p in u)p==="$ref"||p==="allOf"||p in h.def&&JSON.stringify(u[p])===JSON.stringify(h.def[p])&&delete u[p]}e.override({zodSchema:i,jsonSchema:u,path:c.path??[]})};for(const i of[...e.seen.entries()].reverse())r(i[0]);const o={};if(e.target==="draft-2020-12"?o.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?o.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?o.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const i=e.external.registry.get(t)?.id;if(!i)throw new Error("Schema is missing an `id` property");o.$id=e.external.uri(i)}Object.assign(o,n.def??n.schema);const s=e.external?.defs??{};for(const i of e.seen.entries()){const c=i[1];c.def&&c.defId&&(s[c.defId]=c.def)}e.external||Object.keys(s).length>0&&(e.target==="draft-2020-12"?o.$defs=s:o.definitions=s);try{const i=JSON.parse(JSON.stringify(o));return Object.defineProperty(i,"~standard",{value:{...t["~standard"],jsonSchema:{input:ue(t,"input",e.processors),output:ue(t,"output",e.processors)}},enumerable:!1,writable:!1}),i}catch{throw new Error("Error converting schema to JSON.")}}function S(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const r=e._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return S(r.element,n);if(r.type==="set")return S(r.valueType,n);if(r.type==="lazy")return S(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return S(r.innerType,n);if(r.type==="intersection")return S(r.left,n)||S(r.right,n);if(r.type==="record"||r.type==="map")return S(r.keyType,n)||S(r.valueType,n);if(r.type==="pipe")return S(r.in,n)||S(r.out,n);if(r.type==="object"){for(const o in r.shape)if(S(r.shape[o],n))return!0;return!1}if(r.type==="union"){for(const o of r.options)if(S(o,n))return!0;return!1}if(r.type==="tuple"){for(const o of r.items)if(S(o,n))return!0;return!!(r.rest&&S(r.rest,n))}return!1}const Bo=(e,t={})=>n=>{const r=Zt({...n,processors:t});return $(e,r),Pt(r,e),Tt(r,e)},ue=(e,t,n={})=>r=>{const{libraryOptions:o,target:s}=r??{},i=Zt({...o??{},target:s,io:t,processors:n});return $(e,i),Pt(i,e),Tt(i,e)},qo={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Ko=(e,t,n,r)=>{const o=n;o.type="string";const{minimum:s,maximum:i,format:c,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof s=="number"&&(o.minLength=s),typeof i=="number"&&(o.maxLength=i),c&&(o.format=qo[c]??c,o.format===""&&delete o.format,c==="time"&&delete o.format),l&&(o.contentEncoding=l),u&&u.size>0){const f=[...u];f.length===1?o.pattern=f[0].source:f.length>1&&(o.allOf=[...f.map(d=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:d.source}))])}},Yo=(e,t,n,r)=>{const o=n,{minimum:s,maximum:i,format:c,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:f}=e._zod.bag;typeof c=="string"&&c.includes("int")?o.type="integer":o.type="number",typeof f=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.minimum=f,o.exclusiveMinimum=!0):o.exclusiveMinimum=f),typeof s=="number"&&(o.minimum=s,typeof f=="number"&&t.target!=="draft-04"&&(f>=s?delete o.minimum:delete o.exclusiveMinimum)),typeof l=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(o.maximum=l,o.exclusiveMaximum=!0):o.exclusiveMaximum=l),typeof i=="number"&&(o.maximum=i,typeof l=="number"&&t.target!=="draft-04"&&(l<=i?delete o.maximum:delete o.exclusiveMaximum)),typeof u=="number"&&(o.multipleOf=u)},Xo=(e,t,n,r)=>{n.type="boolean"},Qo=(e,t,n,r)=>{n.not={}},es=(e,t,n,r)=>{},ts=(e,t,n,r)=>{const o=e._zod.def,s=ut(o.entries);s.every(i=>typeof i=="number")&&(n.type="number"),s.every(i=>typeof i=="string")&&(n.type="string"),n.enum=s},ns=(e,t,n,r)=>{const o=e._zod.def,s=[];for(const i of o.values)if(i===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof i=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");s.push(Number(i))}else s.push(i);if(s.length!==0)if(s.length===1){const i=s[0];n.type=i===null?"null":typeof i,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[i]:n.const=i}else s.every(i=>typeof i=="number")&&(n.type="number"),s.every(i=>typeof i=="string")&&(n.type="string"),s.every(i=>typeof i=="boolean")&&(n.type="boolean"),s.every(i=>i===null)&&(n.type="null"),n.enum=s},rs=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},os=(e,t,n,r)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},ss=(e,t,n,r)=>{const o=n,s=e._zod.def,{minimum:i,maximum:c}=e._zod.bag;typeof i=="number"&&(o.minItems=i),typeof c=="number"&&(o.maxItems=c),o.type="array",o.items=$(s.element,t,{...r,path:[...r.path,"items"]})},is=(e,t,n,r)=>{const o=n,s=e._zod.def;o.type="object",o.properties={};const i=s.shape;for(const l in i)o.properties[l]=$(i[l],t,{...r,path:[...r.path,"properties",l]});const c=new Set(Object.keys(i)),u=new Set([...c].filter(l=>{const f=s.shape[l]._zod;return t.io==="input"?f.optin===void 0:f.optout===void 0}));u.size>0&&(o.required=Array.from(u)),s.catchall?._zod.def.type==="never"?o.additionalProperties=!1:s.catchall?s.catchall&&(o.additionalProperties=$(s.catchall,t,{...r,path:[...r.path,"additionalProperties"]})):t.io==="output"&&(o.additionalProperties=!1)},cs=(e,t,n,r)=>{const o=e._zod.def,s=o.inclusive===!1,i=o.options.map((c,u)=>$(c,t,{...r,path:[...r.path,s?"oneOf":"anyOf",u]}));s?n.oneOf=i:n.anyOf=i},us=(e,t,n,r)=>{const o=e._zod.def,s=$(o.left,t,{...r,path:[...r.path,"allOf",0]}),i=$(o.right,t,{...r,path:[...r.path,"allOf",1]}),c=l=>"allOf"in l&&Object.keys(l).length===1,u=[...c(s)?s.allOf:[s],...c(i)?i.allOf:[i]];n.allOf=u},as=(e,t,n,r)=>{const o=e._zod.def,s=$(o.innerType,t,r),i=t.seen.get(e);t.target==="openapi-3.0"?(i.ref=o.innerType,n.nullable=!0):n.anyOf=[s,{type:"null"}]},ls=(e,t,n,r)=>{const o=e._zod.def;$(o.innerType,t,r);const s=t.seen.get(e);s.ref=o.innerType},fs=(e,t,n,r)=>{const o=e._zod.def;$(o.innerType,t,r);const s=t.seen.get(e);s.ref=o.innerType,n.default=JSON.parse(JSON.stringify(o.defaultValue))},ds=(e,t,n,r)=>{const o=e._zod.def;$(o.innerType,t,r);const s=t.seen.get(e);s.ref=o.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(o.defaultValue)))},hs=(e,t,n,r)=>{const o=e._zod.def;$(o.innerType,t,r);const s=t.seen.get(e);s.ref=o.innerType;let i;try{i=o.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=i},ps=(e,t,n,r)=>{const o=e._zod.def,s=t.io==="input"?o.in._zod.def.type==="transform"?o.out:o.in:o.out;$(s,t,r);const i=t.seen.get(e);i.ref=s},ms=(e,t,n,r)=>{const o=e._zod.def;$(o.innerType,t,r);const s=t.seen.get(e);s.ref=o.innerType,n.readOnly=!0},Nt=(e,t,n,r)=>{const o=e._zod.def;$(o.innerType,t,r);const s=t.seen.get(e);s.ref=o.innerType},_s=a("ZodISODateTime",(e,t)=>{vr.init(e,t),y.init(e,t)});function gs(e){return $o(_s,e)}const vs=a("ZodISODate",(e,t)=>{br.init(e,t),y.init(e,t)});function bs(e){return So(vs,e)}const ys=a("ZodISOTime",(e,t)=>{yr.init(e,t),y.init(e,t)});function ws(e){return Eo(ys,e)}const ks=a("ZodISODuration",(e,t)=>{wr.init(e,t),y.init(e,t)});function zs(e){return Oo(ks,e)}const $s=(e,t)=>{ht.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>ln(e,n)},flatten:{value:n=>an(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,_e,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,_e,2)}},isEmpty:{get(){return e.issues.length===0}}})},P=a("ZodError",$s,{Parent:Error}),Ss=Se(P),Es=Ee(P),Os=le(P),Zs=fe(P),Ps=hn(P),Ts=pn(P),Ns=mn(P),Is=_n(P),xs=gn(P),Cs=vn(P),Rs=bn(P),As=yn(P),k=a("ZodType",(e,t)=>(w.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:ue(e,"input"),output:ue(e,"output")}}),e.toJSONSchema=Bo(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...n)=>e.clone(C(t,{checks:[...t.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0}),e.with=e.check,e.clone=(n,r)=>R(e,n,r),e.brand=()=>e,e.register=((n,r)=>(n.add(e,r),e)),e.parse=(n,r)=>Ss(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>Os(e,n,r),e.parseAsync=async(n,r)=>Es(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>Zs(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>Ps(e,n,r),e.decode=(n,r)=>Ts(e,n,r),e.encodeAsync=async(n,r)=>Ns(e,n,r),e.decodeAsync=async(n,r)=>Is(e,n,r),e.safeEncode=(n,r)=>xs(e,n,r),e.safeDecode=(n,r)=>Cs(e,n,r),e.safeEncodeAsync=async(n,r)=>Rs(e,n,r),e.safeDecodeAsync=async(n,r)=>As(e,n,r),e.refine=(n,r)=>e.check(Pi(n,r)),e.superRefine=n=>e.check(Ti(n)),e.overwrite=n=>e.check(G(n)),e.optional=()=>Ke(e),e.exactOptional=()=>_i(e),e.nullable=()=>Ye(e),e.nullish=()=>Ke(Ye(e)),e.nonoptional=n=>ki(e,n),e.array=()=>X(e),e.or=n=>Ct([e,n]),e.and=n=>li(e,n),e.transform=n=>Xe(e,pi(n)),e.default=n=>bi(e,n),e.prefault=n=>wi(e,n),e.catch=n=>$i(e,n),e.pipe=n=>Xe(e,n),e.readonly=()=>Oi(e),e.describe=n=>{const r=e.clone();return B.add(r,{description:n}),r},Object.defineProperty(e,"description",{get(){return B.get(e)?.description},configurable:!0}),e.meta=(...n)=>{if(n.length===0)return B.get(e);const r=e.clone();return B.add(r,n[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=n=>n(e),e)),It=a("_ZodString",(e,t)=>{Oe.init(e,t),k.init(e,t),e._zod.processJSONSchema=(r,o,s)=>Ko(e,r,o);const n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,e.regex=(...r)=>e.check(xo(...r)),e.includes=(...r)=>e.check(Ao(...r)),e.startsWith=(...r)=>e.check(jo(...r)),e.endsWith=(...r)=>e.check(Do(...r)),e.min=(...r)=>e.check(ce(...r)),e.max=(...r)=>e.check(Et(...r)),e.length=(...r)=>e.check(Ot(...r)),e.nonempty=(...r)=>e.check(ce(1,...r)),e.lowercase=r=>e.check(Co(r)),e.uppercase=r=>e.check(Ro(r)),e.trim=()=>e.check(Lo()),e.normalize=(...r)=>e.check(Uo(...r)),e.toLowerCase=()=>e.check(Fo()),e.toUpperCase=()=>e.check(Mo()),e.slugify=()=>e.check(Jo())}),js=a("ZodString",(e,t)=>{Oe.init(e,t),It.init(e,t),e.email=n=>e.check(no(Ds,n)),e.url=n=>e.check(co(Us,n)),e.jwt=n=>e.check(zo(ei,n)),e.emoji=n=>e.check(uo(Ls,n)),e.guid=n=>e.check(Je(Ge,n)),e.uuid=n=>e.check(ro(ne,n)),e.uuidv4=n=>e.check(oo(ne,n)),e.uuidv6=n=>e.check(so(ne,n)),e.uuidv7=n=>e.check(io(ne,n)),e.nanoid=n=>e.check(ao(Fs,n)),e.guid=n=>e.check(Je(Ge,n)),e.cuid=n=>e.check(lo(Ms,n)),e.cuid2=n=>e.check(fo(Js,n)),e.ulid=n=>e.check(ho(Ws,n)),e.base64=n=>e.check(yo(Ys,n)),e.base64url=n=>e.check(wo(Xs,n)),e.xid=n=>e.check(po(Vs,n)),e.ksuid=n=>e.check(mo(Hs,n)),e.ipv4=n=>e.check(_o(Gs,n)),e.ipv6=n=>e.check(go(Bs,n)),e.cidrv4=n=>e.check(vo(qs,n)),e.cidrv6=n=>e.check(bo(Ks,n)),e.e164=n=>e.check(ko(Qs,n)),e.datetime=n=>e.check(gs(n)),e.date=n=>e.check(bs(n)),e.time=n=>e.check(ws(n)),e.duration=n=>e.check(zs(n))});function O(e){return to(js,e)}const y=a("ZodStringFormat",(e,t)=>{b.init(e,t),It.init(e,t)}),Ds=a("ZodEmail",(e,t)=>{ar.init(e,t),y.init(e,t)}),Ge=a("ZodGUID",(e,t)=>{cr.init(e,t),y.init(e,t)}),ne=a("ZodUUID",(e,t)=>{ur.init(e,t),y.init(e,t)}),Us=a("ZodURL",(e,t)=>{lr.init(e,t),y.init(e,t)}),Ls=a("ZodEmoji",(e,t)=>{fr.init(e,t),y.init(e,t)}),Fs=a("ZodNanoID",(e,t)=>{dr.init(e,t),y.init(e,t)}),Ms=a("ZodCUID",(e,t)=>{hr.init(e,t),y.init(e,t)}),Js=a("ZodCUID2",(e,t)=>{pr.init(e,t),y.init(e,t)}),Ws=a("ZodULID",(e,t)=>{mr.init(e,t),y.init(e,t)}),Vs=a("ZodXID",(e,t)=>{_r.init(e,t),y.init(e,t)}),Hs=a("ZodKSUID",(e,t)=>{gr.init(e,t),y.init(e,t)}),Gs=a("ZodIPv4",(e,t)=>{kr.init(e,t),y.init(e,t)}),Bs=a("ZodIPv6",(e,t)=>{zr.init(e,t),y.init(e,t)}),qs=a("ZodCIDRv4",(e,t)=>{$r.init(e,t),y.init(e,t)}),Ks=a("ZodCIDRv6",(e,t)=>{Sr.init(e,t),y.init(e,t)}),Ys=a("ZodBase64",(e,t)=>{Er.init(e,t),y.init(e,t)}),Xs=a("ZodBase64URL",(e,t)=>{Zr.init(e,t),y.init(e,t)}),Qs=a("ZodE164",(e,t)=>{Pr.init(e,t),y.init(e,t)}),ei=a("ZodJWT",(e,t)=>{Nr.init(e,t),y.init(e,t)}),xt=a("ZodNumber",(e,t)=>{kt.init(e,t),k.init(e,t),e._zod.processJSONSchema=(r,o,s)=>Yo(e,r,o),e.gt=(r,o)=>e.check(Ve(r,o)),e.gte=(r,o)=>e.check(pe(r,o)),e.min=(r,o)=>e.check(pe(r,o)),e.lt=(r,o)=>e.check(We(r,o)),e.lte=(r,o)=>e.check(he(r,o)),e.max=(r,o)=>e.check(he(r,o)),e.int=r=>e.check(Be(r)),e.safe=r=>e.check(Be(r)),e.positive=r=>e.check(Ve(0,r)),e.nonnegative=r=>e.check(pe(0,r)),e.negative=r=>e.check(We(0,r)),e.nonpositive=r=>e.check(he(0,r)),e.multipleOf=(r,o)=>e.check(He(r,o)),e.step=(r,o)=>e.check(He(r,o)),e.finite=()=>e;const n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function ae(e){return Zo(xt,e)}const ti=a("ZodNumberFormat",(e,t)=>{Ir.init(e,t),xt.init(e,t)});function Be(e){return Po(ti,e)}const ni=a("ZodBoolean",(e,t)=>{xr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Xo(e,n,r)});function ve(e){return To(ni,e)}const ri=a("ZodUnknown",(e,t)=>{Cr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>es()});function qe(){return No(ri)}const oi=a("ZodNever",(e,t)=>{Rr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Qo(e,n,r)});function si(e){return Io(oi,e)}const ii=a("ZodArray",(e,t)=>{Ar.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>ss(e,n,r,o),e.element=t.element,e.min=(n,r)=>e.check(ce(n,r)),e.nonempty=n=>e.check(ce(1,n)),e.max=(n,r)=>e.check(Et(n,r)),e.length=(n,r)=>e.check(Ot(n,r)),e.unwrap=()=>e.element});function X(e,t){return Wo(ii,e,t)}const ci=a("ZodObject",(e,t)=>{Dr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>is(e,n,r,o),g(e,"shape",()=>t.shape),e.keyof=()=>fi(Object.keys(e._zod.def.shape)),e.catchall=n=>e.clone({...e._zod.def,catchall:n}),e.passthrough=()=>e.clone({...e._zod.def,catchall:qe()}),e.loose=()=>e.clone({...e._zod.def,catchall:qe()}),e.strict=()=>e.clone({...e._zod.def,catchall:si()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=n=>rn(e,n),e.safeExtend=n=>on(e,n),e.merge=n=>sn(e,n),e.pick=n=>tn(e,n),e.omit=n=>nn(e,n),e.partial=(...n)=>cn(Rt,e,n[0]),e.required=(...n)=>un(At,e,n[0])});function I(e,t){const n={type:"object",shape:e??{},...m(t)};return new ci(n)}const ui=a("ZodUnion",(e,t)=>{Ur.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>cs(e,n,r,o),e.options=t.options});function Ct(e,t){return new ui({type:"union",options:e,...m(t)})}const ai=a("ZodIntersection",(e,t)=>{Lr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>us(e,n,r,o)});function li(e,t){return new ai({type:"intersection",left:e,right:t})}const be=a("ZodEnum",(e,t)=>{Fr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(r,o,s)=>ts(e,r,o),e.enum=t.entries,e.options=Object.values(t.entries);const n=new Set(Object.keys(t.entries));e.extract=(r,o)=>{const s={};for(const i of r)if(n.has(i))s[i]=t.entries[i];else throw new Error(`Key ${i} not found in enum`);return new be({...t,checks:[],...m(o),entries:s})},e.exclude=(r,o)=>{const s={...t.entries};for(const i of r)if(n.has(i))delete s[i];else throw new Error(`Key ${i} not found in enum`);return new be({...t,checks:[],...m(o),entries:s})}});function fi(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(r=>[r,r])):e;return new be({type:"enum",entries:n,...m(t)})}const di=a("ZodLiteral",(e,t)=>{Mr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>ns(e,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function q(e,t){return new di({type:"literal",values:Array.isArray(e)?e:[e],...m(t)})}const hi=a("ZodTransform",(e,t)=>{Jr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>os(e,n),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new it(e.constructor.name);n.addIssue=s=>{if(typeof s=="string")n.issues.push(Y(s,n.value,t));else{const i=s;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=n.value),i.inst??(i.inst=e),n.issues.push(Y(i))}};const o=t.transform(n.value,n);return o instanceof Promise?o.then(s=>(n.value=s,n)):(n.value=o,n)}});function pi(e){return new hi({type:"transform",transform:e})}const Rt=a("ZodOptional",(e,t)=>{St.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Nt(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function Ke(e){return new Rt({type:"optional",innerType:e})}const mi=a("ZodExactOptional",(e,t)=>{Wr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>Nt(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function _i(e){return new mi({type:"optional",innerType:e})}const gi=a("ZodNullable",(e,t)=>{Vr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>as(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function Ye(e){return new gi({type:"nullable",innerType:e})}const vi=a("ZodDefault",(e,t)=>{Hr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>fs(e,n,r,o),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function bi(e,t){return new vi({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():lt(t)}})}const yi=a("ZodPrefault",(e,t)=>{Gr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>ds(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function wi(e,t){return new yi({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():lt(t)}})}const At=a("ZodNonOptional",(e,t)=>{Br.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>ls(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function ki(e,t){return new At({type:"nonoptional",innerType:e,...m(t)})}const zi=a("ZodCatch",(e,t)=>{qr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>hs(e,n,r,o),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function $i(e,t){return new zi({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const Si=a("ZodPipe",(e,t)=>{Kr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>ps(e,n,r,o),e.in=t.in,e.out=t.out});function Xe(e,t){return new Si({type:"pipe",in:e,out:t})}const Ei=a("ZodReadonly",(e,t)=>{Yr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>ms(e,n,r,o),e.unwrap=()=>e._zod.def.innerType});function Oi(e){return new Ei({type:"readonly",innerType:e})}const Zi=a("ZodCustom",(e,t)=>{Xr.init(e,t),k.init(e,t),e._zod.processJSONSchema=(n,r,o)=>rs(e,n)});function Pi(e,t={}){return Vo(Zi,e,t)}function Ti(e){return Ho(e)}const jt="epic-web-presence",Ni=`https://epic-web-presence.kentcdodds.partykit.dev/parties/main/${jt}`,Ii=I({updatesAvailable:ve().nullable().optional(),commitsAhead:ae().nullable().optional(),commitsBehind:ae().nullable().optional(),localCommit:O().nullable().optional(),remoteCommit:O().nullable().optional()}),Qe=I({workshopTitle:O().nullable().optional(),origin:O().nullable().optional(),productHost:O().nullable().optional(),exercise:I({type:Ct([q("problem"),q("solution")]).nullable().optional(),exerciseNumber:ae().nullable().optional(),stepNumber:ae().nullable().optional()}).nullable().optional(),epicshopVersion:O().nullable().optional(),repoStatus:Ii.nullable().optional(),lastUpdatedAt:O().nullable().optional()}),ye=I({id:O(),hasAccess:ve().nullable().optional(),avatarUrl:O().nullable().optional(),imageUrlSmall:O().nullable().optional(),imageUrlLarge:O().nullable().optional(),name:O().nullable().optional(),optOut:ve().nullable().optional(),loggedInProductHosts:X(O()).nullable().optional(),location:Qe.nullable().optional(),locations:X(Qe).nullable().optional()}),xi=I({type:q("remove-user"),payload:I({id:O()})}).or(I({type:q("add-user"),payload:ye})).or(I({type:q("presence"),payload:I({users:X(ye)})}));I({users:X(ye)});const Ci={"www.epicreact.dev":"🚀","www.epicai.pro":"⚡","www.epicweb.dev":"🌌"};function fc(e){return e?Ci[e]??null:null}(!globalThis.EventTarget||!globalThis.Event)&&console.error(`
|
|
40
|
+
PartySocket requires a global 'EventTarget' class to be available!
|
|
41
|
+
You can polyfill this global by adding this to your code before any partysocket imports:
|
|
42
|
+
|
|
43
|
+
\`\`\`
|
|
44
|
+
import 'partysocket/event-target-polyfill';
|
|
45
|
+
\`\`\`
|
|
46
|
+
Please file an issue at https://github.com/partykit/partykit if you're still having trouble.
|
|
47
|
+
`);var Dt=class extends Event{message;error;constructor(e,t){super("error",t),this.message=e.message,this.error=e}},Ut=class extends Event{code;reason;wasClean=!0;constructor(e=1e3,t="",n){super("close",n),this.code=e,this.reason=t}};const me={Event,ErrorEvent:Dt,CloseEvent:Ut};function Ri(e,t){if(!e)throw new Error(t)}function Ai(e){return new e.constructor(e.type,e)}function ji(e){return"data"in e?new MessageEvent(e.type,e):"code"in e||"reason"in e?new Ut(e.code||1999,e.reason||"unknown reason",e):"error"in e?new Dt(e.error,e):new Event(e.type,e)}const Di=typeof process<"u"&&typeof process.versions?.node<"u",Ui=typeof navigator<"u"&&navigator.product==="ReactNative",re=Di||Ui?ji:Ai,D={maxReconnectionDelay:1e4,minReconnectionDelay:1e3+Math.random()*4e3,minUptime:5e3,reconnectionDelayGrowFactor:1.3,connectionTimeout:4e3,maxRetries:Number.POSITIVE_INFINITY,maxEnqueuedMessages:Number.POSITIVE_INFINITY};let et=!1;var Li=class U extends EventTarget{_ws;_retryCount=-1;_uptimeTimeout;_connectTimeout;_shouldReconnect=!0;_connectLock=!1;_binaryType="blob";_closeCalled=!1;_messageQueue=[];_debugLogger=console.log.bind(console);_url;_protocols;_options;constructor(t,n,r={}){super(),this._url=t,this._protocols=n,this._options=r,this._options.startClosed&&(this._shouldReconnect=!1),this._options.debugLogger&&(this._debugLogger=this._options.debugLogger),this._connect()}static get CONNECTING(){return 0}static get OPEN(){return 1}static get CLOSING(){return 2}static get CLOSED(){return 3}get CONNECTING(){return U.CONNECTING}get OPEN(){return U.OPEN}get CLOSING(){return U.CLOSING}get CLOSED(){return U.CLOSED}get binaryType(){return this._ws?this._ws.binaryType:this._binaryType}set binaryType(t){this._binaryType=t,this._ws&&(this._ws.binaryType=t)}get retryCount(){return Math.max(this._retryCount,0)}get bufferedAmount(){return this._messageQueue.reduce((t,n)=>(typeof n=="string"?t+=n.length:n instanceof Blob?t+=n.size:t+=n.byteLength,t),0)+(this._ws?this._ws.bufferedAmount:0)}get extensions(){return this._ws?this._ws.extensions:""}get protocol(){return this._ws?this._ws.protocol:""}get readyState(){return this._ws?this._ws.readyState:this._options.startClosed?U.CLOSED:U.CONNECTING}get url(){return this._ws?this._ws.url:""}get shouldReconnect(){return this._shouldReconnect}onclose=null;onerror=null;onmessage=null;onopen=null;close(t=1e3,n){if(this._closeCalled=!0,this._shouldReconnect=!1,this._clearTimeouts(),!this._ws){this._debug("close enqueued: no ws instance");return}if(this._ws.readyState===this.CLOSED){this._debug("close: already closed");return}this._ws.close(t,n)}reconnect(t,n){this._shouldReconnect=!0,this._closeCalled=!1,this._retryCount=-1,!this._ws||this._ws.readyState===this.CLOSED?this._connect():(this._disconnect(t,n),this._connect())}send(t){if(this._ws&&this._ws.readyState===this.OPEN)this._debug("send",t),this._ws.send(t);else{const{maxEnqueuedMessages:n=D.maxEnqueuedMessages}=this._options;this._messageQueue.length<n&&(this._debug("enqueue",t),this._messageQueue.push(t))}}_debug(...t){this._options.debug&&this._debugLogger("RWS>",...t)}_getNextDelay(){const{reconnectionDelayGrowFactor:t=D.reconnectionDelayGrowFactor,minReconnectionDelay:n=D.minReconnectionDelay,maxReconnectionDelay:r=D.maxReconnectionDelay}=this._options;let o=0;return this._retryCount>0&&(o=n*t**(this._retryCount-1),o>r&&(o=r)),this._debug("next delay",o),o}_wait(){return new Promise(t=>{setTimeout(t,this._getNextDelay())})}_getNextProtocols(t){if(!t)return Promise.resolve(null);if(typeof t=="string"||Array.isArray(t))return Promise.resolve(t);if(typeof t=="function"){const n=t();if(!n)return Promise.resolve(null);if(typeof n=="string"||Array.isArray(n))return Promise.resolve(n);if(n.then)return n}throw Error("Invalid protocols")}_getNextUrl(t){if(typeof t=="string")return Promise.resolve(t);if(typeof t=="function"){const n=t();if(typeof n=="string")return Promise.resolve(n);if(n.then)return n}throw Error("Invalid URL")}_connect(){if(this._connectLock||!this._shouldReconnect)return;this._connectLock=!0;const{maxRetries:t=D.maxRetries,connectionTimeout:n=D.connectionTimeout}=this._options;if(this._retryCount>=t){this._debug("max retries reached",this._retryCount,">=",t),this._connectLock=!1;return}this._retryCount++,this._debug("connect",this._retryCount),this._removeListeners(),this._wait().then(()=>Promise.all([this._getNextUrl(this._url),this._getNextProtocols(this._protocols||null)])).then(([r,o])=>{if(this._closeCalled){this._connectLock=!1;return}!this._options.WebSocket&&typeof WebSocket>"u"&&!et&&(console.error(`‼️ No WebSocket implementation available. You should define options.WebSocket.
|
|
48
|
+
|
|
49
|
+
For example, if you're using node.js, run \`npm install ws\`, and then in your code:
|
|
50
|
+
|
|
51
|
+
import PartySocket from 'partysocket';
|
|
52
|
+
import WS from 'ws';
|
|
53
|
+
|
|
54
|
+
const partysocket = new PartySocket({
|
|
55
|
+
host: "127.0.0.1:1999",
|
|
56
|
+
room: "test-room",
|
|
57
|
+
WebSocket: WS
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
`),et=!0);const s=this._options.WebSocket||WebSocket;this._debug("connect",{url:r,protocols:o}),this._ws=o?new s(r,o):new s(r),this._ws.binaryType=this._binaryType,this._connectLock=!1,this._addListeners(),this._connectTimeout=setTimeout(()=>this._handleTimeout(),n)}).catch(r=>{this._connectLock=!1,this._handleError(new me.ErrorEvent(Error(r.message),this))})}_handleTimeout(){this._debug("timeout event"),this._handleError(new me.ErrorEvent(Error("TIMEOUT"),this))}_disconnect(t=1e3,n){if(this._clearTimeouts(),!!this._ws){this._removeListeners();try{(this._ws.readyState===this.OPEN||this._ws.readyState===this.CONNECTING)&&this._ws.close(t,n),this._handleClose(new me.CloseEvent(t,n,this))}catch{}}}_acceptOpen(){this._debug("accept open"),this._retryCount=0}_handleOpen=t=>{this._debug("open event");const{minUptime:n=D.minUptime}=this._options;clearTimeout(this._connectTimeout),this._uptimeTimeout=setTimeout(()=>this._acceptOpen(),n),Ri(this._ws,"WebSocket is not defined"),this._ws.binaryType=this._binaryType,this._messageQueue.forEach(r=>{this._ws?.send(r)}),this._messageQueue=[],this.onopen&&this.onopen(t),this.dispatchEvent(re(t))};_handleMessage=t=>{this._debug("message event"),this.onmessage&&this.onmessage(t),this.dispatchEvent(re(t))};_handleError=t=>{this._debug("error event",t.message),this._disconnect(void 0,t.message==="TIMEOUT"?"timeout":void 0),this.onerror&&this.onerror(t),this._debug("exec error listeners"),this.dispatchEvent(re(t)),this._connect()};_handleClose=t=>{this._debug("close event"),this._clearTimeouts(),this._shouldReconnect&&this._connect(),this.onclose&&this.onclose(t),this.dispatchEvent(re(t))};_removeListeners(){this._ws&&(this._debug("removeListeners"),this._ws.removeEventListener("open",this._handleOpen),this._ws.removeEventListener("close",this._handleClose),this._ws.removeEventListener("message",this._handleMessage),this._ws.removeEventListener("error",this._handleError))}_addListeners(){this._ws&&(this._debug("addListeners"),this._ws.addEventListener("open",this._handleOpen),this._ws.addEventListener("close",this._handleClose),this._ws.addEventListener("message",this._handleMessage),this._ws.addEventListener("error",this._handleError))}_clearTimeouts(){clearTimeout(this._connectTimeout),clearTimeout(this._uptimeTimeout)}};const Fi=e=>e[1]!==null&&e[1]!==void 0;function Mi(){if(crypto?.randomUUID)return crypto.randomUUID();let e=Date.now(),t=performance?.now&&performance.now()*1e3||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){let r=Math.random()*16;return e>0?(r=(e+r)%16|0,e=Math.floor(e/16)):(r=(t+r)%16|0,t=Math.floor(t/16)),(n==="x"?r:r&3|8).toString(16)})}function Lt(e,t,n={}){const{host:r,path:o,protocol:s,room:i,party:c,basePath:u,prefix:l,query:f}=e;let d=r.replace(/^(http|https|ws|wss):\/\//,"");if(d.endsWith("/")&&(d=d.slice(0,-1)),o?.startsWith("/"))throw new Error("path must not start with a slash");const h=c??"main",p=o?`/${o}`:"",_=s||(d.startsWith("localhost:")||d.startsWith("127.0.0.1:")||d.startsWith("192.168.")||d.startsWith("10.")||d.startsWith("172.")&&d.split(".")[1]>="16"&&d.split(".")[1]<="31"||d.startsWith("[::ffff:7f00:1]:")?t:`${t}s`),v=`${_}://${d}/${u||`${l||"parties"}/${h}/${i}`}${p}`,x=(j={})=>`${v}?${new URLSearchParams([...Object.entries(n),...Object.entries(j).filter(Fi)])}`,A=typeof f=="function"?async()=>x(await f()):x(f);return{host:d,path:p,room:i,name:h,protocol:_,partyUrl:v,urlProvider:A}}var Ji=class extends Li{_pk;_pkurl;name;room;host;path;basePath;constructor(e){const t=tt(e);if(super(t.urlProvider,t.protocols,t.socketOptions),this.partySocketOptions=e,this.setWSProperties(t),!e.startClosed&&!this.room&&!this.basePath)throw this.close(),new Error("Either room or basePath must be provided to connect. Use startClosed: true to create a socket and set them via updateProperties before calling reconnect().");e.disableNameValidation||(e.party?.includes("/")&&console.warn(`PartySocket: party name "${e.party}" contains forward slash which may cause routing issues. Consider using a name without forward slashes or set disableNameValidation: true to bypass this warning.`),e.room?.includes("/")&&console.warn(`PartySocket: room name "${e.room}" contains forward slash which may cause routing issues. Consider using a name without forward slashes or set disableNameValidation: true to bypass this warning.`))}updateProperties(e){const t=tt({...this.partySocketOptions,...e,host:e.host??this.host,room:e.room??this.room,path:e.path??this.path,basePath:e.basePath??this.basePath});this._url=t.urlProvider,this._protocols=t.protocols,this._options=t.socketOptions,this.setWSProperties(t)}setWSProperties(e){const{_pk:t,_pkurl:n,name:r,room:o,host:s,path:i,basePath:c}=e;this._pk=t,this._pkurl=n,this.name=r,this.room=o,this.host=s,this.path=i,this.basePath=c}reconnect(e,t){if(!this.host)throw new Error("The host must be set before connecting, use `updateProperties` method to set it or pass it to the constructor.");if(!this.room&&!this.basePath)throw new Error("The room (or basePath) must be set before connecting, use `updateProperties` method to set it or pass it to the constructor.");super.reconnect(e,t)}get id(){return this._pk}get roomUrl(){return this._pkurl}static async fetch(e,t){const n=Lt(e,"http"),r=typeof n.urlProvider=="string"?n.urlProvider:await n.urlProvider();return(e.fetch??fetch)(r,t)}};function tt(e){const{id:t,host:n,path:r,party:o,room:s,protocol:i,query:c,protocols:u,...l}=e,f=t||Mi(),d=Lt(e,"ws",{_pk:f});return{_pk:f,_pkurl:d.partyUrl,name:d.name,room:d.room,host:d.host,path:d.path,basePath:e.basePath,protocols:u,socketOptions:l,urlProvider:d.urlProvider}}const Wi=(e,t)=>{const n=z.useRef(t);n.current=t,z.useEffect(()=>{const r=c=>n.current?.onOpen?.(c),o=c=>n.current?.onMessage?.(c),s=c=>n.current?.onClose?.(c),i=c=>n.current?.onError?.(c);return e.addEventListener("open",r),e.addEventListener("close",s),e.addEventListener("error",i),e.addEventListener("message",o),()=>{e.removeEventListener("open",r),e.removeEventListener("close",s),e.removeEventListener("error",i),e.removeEventListener("message",o)}},[e])},Vi=e=>[e.startClosed,e.minUptime,e.maxRetries,e.connectionTimeout,e.maxEnqueuedMessages,e.maxReconnectionDelay,e.minReconnectionDelay,e.reconnectionDelayGrowFactor,e.debug];function Hi({options:e,createSocket:t,createSocketMemoKey:n}){const{enabled:r=!0}=e,o=z.useMemo(()=>e,[n(e)]),[s,i]=z.useState(()=>t({...o,startClosed:!0})),c=z.useRef(null),u=z.useRef(t);u.current=t;const l=z.useRef(r),f=z.useRef(o),d=z.useRef(!1);return z.useEffect(()=>{const h=f.current!==o;if(f.current=o,!r)return s.close(),l.current=r,h&&(d.current=!0),()=>{s.close()};if(!l.current&&r){l.current=r;const p=h||d.current;if(d.current=!1,!p)return s.reconnect(),()=>{s.close()};const _=u.current({...o,startClosed:!0});return i(_),()=>{_.close()}}if(l.current=r,c.current===s)if(h){const p=u.current({...o,startClosed:!0});return i(p),()=>{p.close()}}else return o.startClosed!==!0&&s.reconnect(),()=>{s.close()};else return c.current?c.current!==s&&s.reconnect():o.startClosed!==!0&&s.reconnect(),c.current=s,()=>{s.close()}},[s,o,r]),s}function Gi(e){const{host:t,...n}=e,r=Hi({options:{host:t||(typeof window<"u"?window.location.host:"dummy-domain.com"),...n},createSocket:o=>new Ji(o),createSocketMemoKey:o=>JSON.stringify([o.query,o.id,o.host,o.room,o.party,o.path,o.protocol,o.protocols,o.basePath,o.prefix,...Vi(o)])});return Wi(r,e),r}const Ze=z.createContext(null);function Bi(){return M()?.preferences?.presence??null}function qi(){return M()?.workshopTitle??null}const Ki=Gt({type:Bt([Pe("problem"),Pe("solution")]).optional(),exerciseNumber:Te().finite(),stepNumber:Te().finite().optional()});function Yi(e,t){const[n]=z.useState(()=>new Promise(c=>setTimeout(c,t))),r=z.useRef(!0),o=z.useRef(null),s=z.useRef(e);return z.useEffect(()=>{s.current=e},[e]),z.useCallback((...c)=>{const u=Symbol();o.current=u,n.then(()=>{r.current&&o.current===u&&s.current(...c)})},[n])}function Xi(){return M()?.workshopConfig?.product?.host??null}function Qi(){return M()?.loggedInProductHosts??[]}function Ft(){const e=qi(),t=Ht(),n=Xi(),r=Wt(),o=Ki.safeParse(r),s=o.success?o.data:null,{ENV:i,repoUpdates:c}=M()??{},u=i?.EPICSHOP_APP_VERSION??null,l=c&&"updatesAvailable"in c?{...c}:null;return{workshopTitle:e,origin:t.origin,productHost:n,epicshopVersion:u,repoStatus:l,...s?{exercise:{type:s.type,exerciseNumber:s.exerciseNumber,stepNumber:s.stepNumber}}:null}}function ec(e){const t=Bi(),{userId:n,presence:r,userHasAccess:o}=M()??{},[s,i]=z.useState(r?.users??[]),c=Ft(),u=Qi(),l=Yi(A=>{const j=xi.safeParse(JSON.parse(String(A.data)));j.success&&j.data.type==="presence"&&i(j.data.payload.users)},2e3),f=Gi({host:new URL(Ni).host,room:jt,onMessage:l}),d=e?.id??n?.id,p=(d?r?.users?.find(A=>A.id===d):null)??e??{};let _=null;d&&(t?.optOut?_={type:"add-user",payload:{...p,id:d,hasAccess:o,optOut:!0,loggedInProductHosts:u,location:c}}:_={type:"add-user",payload:{...p,id:d,hasAccess:o,location:c,loggedInProductHosts:u}});const v=_?JSON.stringify(_):null;return z.useEffect(()=>{v&&f.send(v)},[v,f]),{users:Mt({id:n?.id,location:c},s)}}function Q(e){return e.locations&&e.locations.length>0?e.locations.filter(Boolean):e.location?[e.location]:[]}function Mt(e,t){const{location:n}=e;return t.map(o=>{let s=0;if(o.optOut)return{user:o,score:0};const i=Q(o);for(const c of i)n?.workshopTitle&&n.workshopTitle===c.workshopTitle?(s=Math.max(s,.4),n.exercise?.exerciseNumber!=null&&n.exercise.exerciseNumber===c.exercise?.exerciseNumber&&(s=Math.max(s,.6),n.exercise.stepNumber!=null&&n.exercise.stepNumber===c.exercise?.stepNumber&&(s=Math.max(s,.8),n.exercise.type&&n.exercise.type===c.exercise?.type&&(s=1)))):n?.productHost&&n.productHost===c.productHost&&(s=Math.max(s,.2));return{user:o,score:s}}).sort((o,s)=>{if(o.user.id===e.id)return-1;if(s.user.id===e.id||o.user.optOut&&!s.user.optOut)return 1;if(!o.user.optOut&&s.user.optOut)return-1;const i=nt(n,o.user),c=nt(n,s.user);if(i&&!c)return-1;if(!i&&c)return 1;const u=rt(n,o.user),l=rt(n,s.user);if(u&&!l)return-1;if(!u&&l)return 1;const f=ot(n,o.user),d=ot(n,s.user);if(f&&!d)return-1;if(!f&&d)return 1;const h=st(n,o.user),p=st(n,s.user);if(h&&!p)return-1;if(!h&&p)return 1;const _=o.user.loggedInProductHosts?.length??0,v=s.user.loggedInProductHosts?.length??0;return _!==v?v-_:0})}function nt(e,t){return e?.exercise?Q(t).some(r=>r.workshopTitle===e.workshopTitle&&r.exercise?.exerciseNumber===e.exercise?.exerciseNumber&&r.exercise?.stepNumber===e.exercise?.stepNumber&&r.exercise?.type===e.exercise?.type):!1}function rt(e,t){return e?.exercise?.exerciseNumber?Q(t).some(r=>r.workshopTitle===e.workshopTitle&&r.exercise?.exerciseNumber===e.exercise?.exerciseNumber):!1}function ot(e,t){return e?.workshopTitle?Q(t).some(r=>r.workshopTitle===e.workshopTitle):!1}function st(e,t){return e?.productHost?Q(t).some(r=>r.productHost===e.productHost):!1}function tc({user:e,children:t}){return oe.jsx(Ze.Provider,{value:ec(e),children:t})}function nc({user:e,children:t}){const n=Ft(),{presence:r}=M()??{};return oe.jsx(Ze.Provider,{value:{users:Mt({id:e?.id,location:n},r?.users??[])},children:t})}function dc({user:e,children:t}){return Vt()?oe.jsx(tc,{user:e,children:t}):oe.jsx(nc,{user:e,children:t})}function hc(){const e=z.useContext(Ze);if(!e)throw new Error("usePresence must be used within a PresenceProvider");return e}export{dc as P,fc as g,Ci as p,hc as u};
|
|
61
|
+
//# sourceMappingURL=presence-B0doGnm5.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{j as e}from"./jsx-runtime-FQotuiPu.js";import{r as c}from"./index-DkKihKb6.js";import{f as k,d as $}from"./chunk-QUQL4437-kpuzqnaw.js";import{M as z}from"./mdx-D0_ieFOK.js";import{L as q}from"./launch-editor-rPsRgb2y.js";import{I as v,c as w,u as K,n as U,a as Q}from"./misc-UFW3ume0.js";import{P as E,a as R,b as I}from"./popover-BUuLZ1aS.js";import{B as T,L as W}from"./button-CrkJGN0z.js";import{L as A}from"./loading-sD3pz07j.js";import{s as P}from"./progress-bar-CaEW-hJp.js";import{u as C}from"./pe-DgSIUG2F.js";import{u as F}from"./index-D-D0gQk3.js";import{b as M}from"./root-loader-DvPELdx8.js";import{n as H,T as L,j as B,k as D}from"./tooltip-DlWej1xM.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="a4c80c7f-1bd9-4805-9395-4d978001109f",s._sentryDebugIdIdentifier="sentry-dbid-a4c80c7f-1bd9-4805-9395-4d978001109f")}catch{}})();function Y(s,t){return`/app/${encodeURIComponent(s)}/${t.split("/").map(encodeURIComponent).join("/")}`}function G(s){const t=new Map,a=new Map,o=new Map,n=new Map;function u(r,l){let i=o.get(r);if(i||(i=new Set,o.set(r,i)),i.has(l.path))return;i.add(l.path);let d=a.get(r);d||(d=[],a.set(r,d)),d.push(l)}const h=[...s].sort((r,l)=>r.path.localeCompare(l.path));for(const r of h){t.set(r.path,r),n.set("",n.get("")??r.path);const l=r.path.split("/").filter(Boolean);for(const[i,d]of l.entries()){const m=l.slice(0,i+1).join("/"),p=i===0?"":l.slice(0,i).join("/"),g=i<l.length-1;u(p,{name:d,path:m,isDirectory:g}),g&&!n.has(m)&&n.set(m,r.path)}}for(const r of a.values())r.sort((l,i)=>l.isDirectory&&!i.isDirectory?-1:!l.isDirectory&&i.isDirectory?1:l.name.localeCompare(i.name));return{filesByPath:t,childrenByDirectory:a,firstFileByDirectory:n}}function J(s){const t=[];if(!s)return t;const a=s.split("/").filter(Boolean);for(const[o,n]of a.entries())t.push({label:n,path:a.slice(0,o+1).join("/"),parentPath:o===0?"":a.slice(0,o).join("/"),isDirectory:o<a.length-1});return t}function V(s,t){return s.isDirectory?t.get(s.path)??null:s.path}function X({entries:s,selectedPath:t,firstFileByDirectory:a,onSelectPath:o}){return s.length===0?e.jsx("p",{className:"text-muted-foreground px-3 py-2 text-xs",children:"No files available."}):e.jsx("div",{className:"max-h-72 overflow-y-auto",children:s.map(n=>{const u=V(n,a),h=!n.isDirectory&&t===n.path;return e.jsxs("button",{type:"button",onClick:()=>{u&&o(u)},className:w("hover:bg-muted/70 flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-sm",h?"bg-muted":null),children:[e.jsx(v,{name:"Files",className:w("size-3.5 shrink-0",n.isDirectory?"text-muted-foreground":"text-foreground/80"),"aria-hidden":!0}),e.jsxs("span",{className:"truncate",children:[n.name,n.isDirectory?"/":""]})]},n.path)})})}function Z({appName:s,file:t}){const[a,o]=c.useState(null),[n,u]=c.useState(null),[h,r]=c.useState(!1),l=t?Y(s,t.path):null,i=t?.kind==="text"||t?.kind==="markdown";if(c.useEffect(()=>{if(!t||!i){o(null),u(null),r(!1);return}const d=new AbortController;o(null),u(null),r(!0);const m=new URLSearchParams({path:t.path,kind:t.kind,...t.language?{language:t.language}:{}});return fetch(`/app/${encodeURIComponent(s)}/file-preview?${m}`,{signal:d.signal}).then(async p=>{if(!p.ok)throw new Error(`Failed to render file (${p.status})`);const g=await p.json();o(g.code),r(!1)}).catch(p=>{d.signal.aborted||(u(p instanceof Error?p.message:String(p)),r(!1))}),()=>d.abort()},[s,t,i]),!t)return e.jsx("div",{className:"text-muted-foreground flex h-full items-center justify-center p-6 text-sm",children:"Choose a file from the file picker."});if(n)return e.jsx("div",{className:"text-foreground-destructive p-4 text-sm",children:n});if(i){if(h||!a)return e.jsx("div",{className:"text-muted-foreground flex h-full items-center justify-center p-6 text-sm",children:"Rendering file..."});const d=t.kind==="text"?"max-w-none [&_.group]:w-full [&_pre]:w-full":"prose dark:prose-invert max-w-none";return e.jsx("div",{className:"h-full overflow-auto p-4",children:e.jsx("div",{className:d,children:e.jsx(z,{code:a})})})}return t.kind==="image"&&l?e.jsx("div",{className:"flex h-full items-center justify-center p-4",children:e.jsx("img",{src:l,alt:t.path,className:"border-border max-h-full max-w-full rounded border object-contain"})}):t.kind==="video"&&l?e.jsx("div",{className:"flex h-full items-center justify-center p-4",children:e.jsx("video",{src:l,controls:!0,className:"bg-background border-border max-h-full max-w-full rounded border"})}):e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-3 p-6 text-center",children:[e.jsxs("p",{className:"text-muted-foreground text-sm",children:["Preview is not available for this file type (",t.mimeType,")."]}),l?e.jsx("a",{href:l,target:"_blank",rel:"noreferrer",className:"text-sm underline",children:"Open file"}):null]})}function ee({appName:s}){const[t,a]=c.useState([]),[o,n]=c.useState(!0),[u,h]=c.useState(null),[r,l]=c.useState(null),[i,d]=c.useState(!1),[m,p]=c.useState(""),g=c.useRef(null);c.useEffect(()=>{const f=new AbortController;return a([]),n(!0),h(null),l(null),fetch(`/app/${encodeURIComponent(s)}/files`,{signal:f.signal}).then(async x=>{if(!x.ok)throw new Error(`Failed to load files (${x.status})`);const S=await x.json();a(S.files??[]),n(!1)}).catch(x=>{f.signal.aborted||(h(x instanceof Error?x.message:String(x)),n(!1))}),()=>f.abort()},[s]);const b=c.useMemo(()=>G(t),[t]),j=r?b.filesByPath.get(r)??null:null,y=c.useMemo(()=>J(r),[r]),N=c.useMemo(()=>{const f=m.trim().toLowerCase();return f?t.filter(x=>x.path.toLowerCase().includes(f)):t},[m,t]);return c.useEffect(()=>{r&&b.filesByPath.has(r)||l(t[0]?.path??null)},[t,b.filesByPath,r]),c.useEffect(()=>{const f=g.current;if(!f)return;const x=requestAnimationFrame(()=>{f.scrollLeft=f.scrollWidth});return()=>cancelAnimationFrame(x)},[r]),o?e.jsx("div",{className:"text-muted-foreground flex h-full items-center justify-center text-sm",children:"Loading files..."}):u?e.jsx("div",{className:"text-foreground-destructive flex h-full items-center justify-center px-3 text-sm",children:u}):t.length===0?e.jsx("div",{className:"text-muted-foreground flex h-full items-center justify-center text-sm",children:"No files to display."}):e.jsxs("div",{className:"bg-background flex h-full min-h-0 w-full flex-col",children:[e.jsxs("div",{className:"border-border flex h-10 shrink-0 items-center gap-2 border-b px-2",children:[e.jsxs(E,{open:i,onOpenChange:d,children:[e.jsx(R,{asChild:!0,children:e.jsx("button",{type:"button","aria-label":"Open file chooser",className:"hover:bg-muted text-foreground inline-flex h-8 w-8 items-center justify-center rounded border border-transparent",children:e.jsx(v,{name:"Files",className:"size-4"})})}),e.jsxs(I,{align:"start",className:"w-[min(420px,80vw)] p-0",children:[e.jsx("div",{className:"border-border border-b p-2",children:e.jsx("input",{type:"text",value:m,onChange:f=>p(f.currentTarget.value),placeholder:"Filter files...",className:"border-border bg-background w-full rounded border px-2 py-1 text-sm outline-none"})}),e.jsx("div",{className:"max-h-80 overflow-y-auto p-1",children:N.length?N.map(f=>e.jsx("button",{type:"button",onClick:()=>{l(f.path),d(!1)},className:w("hover:bg-muted/70 block w-full rounded px-2 py-1.5 text-left font-mono text-xs",r===f.path?"bg-muted":null),children:f.path},f.path)):e.jsx("p",{className:"text-muted-foreground px-2 py-2 text-xs",children:"No matching files."})})]})]}),e.jsx("div",{ref:g,className:"scrollbar-thin scrollbar-thumb-scrollbar min-w-0 flex-1 overflow-x-auto",children:e.jsxs("div",{className:"flex w-max min-w-full items-center gap-1 pr-2",children:[y.length>0?e.jsx("span",{className:"text-muted-foreground text-xs",children:"/"}):null,y.map((f,x)=>{const S=b.childrenByDirectory.get(f.parentPath),_=f.path===r;return e.jsxs(c.Fragment,{children:[e.jsxs(E,{children:[e.jsx(R,{asChild:!0,children:e.jsx("button",{type:"button",className:w("hover:bg-muted inline-flex h-7 items-center rounded px-2 font-mono text-xs",_?"bg-muted text-foreground":"text-muted-foreground"),children:f.label})}),e.jsx(I,{align:"start",className:"w-72 p-1",children:e.jsx(X,{entries:S??[],selectedPath:r,firstFileByDirectory:b.firstFileByDirectory,onSelectPath:l})})]}),x<y.length-1?e.jsx("span",{className:"text-muted-foreground text-xs",children:"/"}):null]},`${f.path}:${x}`)})]})}),j?e.jsx(q,{appName:s,appFile:`${j.path},1,1`,className:"text-muted-foreground hover:text-foreground text-xs",children:"Open in editor"}):null]}),e.jsx("div",{className:"min-h-0 flex-1",children:e.jsx(Z,{appName:s,file:j})})]})}function te({name:s}){const t=k(),a=C(),o=t.formData?.get("intent"),n=o==="stop"?"Stopping App":o==="restart"?"Restarting App":null,u=K();return e.jsxs(t.Form,{method:"POST",action:"/start",children:[a,P,e.jsx("input",{type:"hidden",name:"name",value:s}),e.jsx("button",{type:"submit",name:"intent",value:u?"restart":"stop",className:"h-full border-r px-3 py-4 font-mono text-xs leading-none uppercase",children:n||(u?"Restart App":"Stop App")})]})}function O({port:s}){const t=k(),a=C();return e.jsxs(t.Form,{method:"POST",action:"/start",children:[a,P,e.jsx("input",{type:"hidden",name:"port",value:s}),e.jsx(T,{varient:"mono",type:"submit",name:"intent",value:"stop-port",children:t.state==="idle"?"Stop Port":"Stopping Port"})]})}function re({name:s}){const t=k(),a=C();return t.data?.status==="app-not-started"?t.data.error==="port-unavailable"?e.jsxs("div",{children:["The port is unavailable. Would you like to stop whatever is running on that port and try again?",e.jsx(O,{port:t.data.port})]}):e.jsx("div",{children:"An unknown error has happened."}):e.jsxs(t.Form,{method:"POST",action:"/start",children:[a,P,e.jsx("input",{type:"hidden",name:"name",value:s}),t.state==="idle"?e.jsx(T,{type:"submit",name:"intent",value:"start",varient:"mono",children:"Start App"}):e.jsx("div",{children:e.jsx(A,{children:"Starting App"})})]})}function se({name:s,port:t,portIsAvailable:a,isRunning:o,baseUrl:n,id:u,initialRoute:h,ref:r}){const l=M(),[i,d]=c.useState(!1);return o||i?e.jsx(ne,{baseUrl:n,id:u,name:s,ref:r,initialRoute:h}):a===!1?e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsxs("p",{className:"max-w-xs pb-5 text-center",role:"status",children:["The port for this app is unavailable. It could be that you're running it ",e.jsx("a",{href:U({domain:l.domain,port:t}),className:"underline",target:"_blank",rel:"noreferrer",children:"elsewhere"}),". ",e.jsx(W,{onClick:()=>d(!0),children:"Show here anyway"})]}),e.jsx(O,{port:t})]}):e.jsx("div",{className:"flex h-full flex-col items-center justify-center",children:e.jsx(re,{name:s})})}function ne({baseUrl:s,id:t,name:a,initialRoute:o,ref:n}){const u=F(),[h,r]=c.useState(0),l=t+h,i=c.useRef(null),d=new URL(o,s),[m,p]=c.useState(d),g=c.useRef(t);g.current!==t&&(g.current=t,p(d));function b(j){if(j){const y=new URL(j,s);p(y),r(N=>N+1)}}return c.useImperativeHandle(n,()=>({handleExtrnalNavigation:b})),e.jsx(H,{children:e.jsxs("div",{className:"flex h-full grow flex-col",children:[e.jsxs("div",{className:"flex items-center justify-between border-b pl-1.5",children:[e.jsx("div",{className:"mr-2 flex items-center justify-center gap-2 px-1",children:e.jsxs(L,{children:[e.jsx(B,{asChild:!0,children:e.jsx("button",{type:"button",className:"flex aspect-square h-full w-full items-center justify-center p-1 transition disabled:opacity-40",onClick:()=>{r(j=>j+1)},children:e.jsx(v,{name:"Refresh","aria-hidden":"true"})})}),e.jsx(D,{children:"Refresh"})]})}),e.jsx("div",{className:"bg-background text-foreground flex flex-1 items-center border-x p-3 leading-none",children:e.jsx("a",{href:m.toString(),target:"_blank",rel:"noreferrer",children:m.toString()})}),e.jsx(te,{name:a}),e.jsxs(L,{children:[e.jsx(B,{asChild:!0,children:e.jsx("a",{href:m.toString(),target:"_blank",rel:"noreferrer",className:Q("flex aspect-square items-center justify-center px-3.5"),children:e.jsx(v,{name:"ExternalLink"})})}),e.jsx(D,{children:"Open in new tab"})]})]}),e.jsx("div",{className:"bg-background flex h-full w-full grow",children:e.jsx("iframe",{title:a,ref:i,src:m.toString(),className:"bg-background h-full w-full grow",style:{colorScheme:u},allow:"clipboard-write"},l)})]})})}function we({id:s,appInfo:t,inBrowserBrowserRef:a}){const o=M(),[n]=$(),u=F();if(!t)return e.jsx("p",{children:"No app here. Sorry."});const{isRunning:h,dev:r,name:l,portIsAvailable:i,title:d}=t;if(!r)return e.jsx("div",{className:"flex h-full items-center justify-center text-lg",children:e.jsx("p",{children:"No preview available for this app."})});if(ENV.EPICSHOP_DEPLOYED&&t.stackBlitzUrl){const m=new URL(t.stackBlitzUrl);return m.searchParams.set("embed","1"),m.searchParams.set("theme",u),e.jsx(le,{title:d,url:m.toString(),loadingContent:e.jsx(A,{children:e.jsxs("span",{children:["Loading"," ",e.jsxs("a",{className:"underline",href:t.stackBlitzUrl,children:['"',d,'"']})]})})})}if(r.type==="script"){const m=U({domain:o.domain,port:r.portNumber});return e.jsx(se,{ref:a,isRunning:h,id:s??l,name:l,portIsAvailable:i,port:r.portNumber,baseUrl:m,initialRoute:n.get("pathname")??r.initialRoute})}else return r.type==="browser"||r.type==="export"?e.jsxs("div",{className:"scrollbar-thin scrollbar-thumb-scrollbar relative h-full grow overflow-y-auto",children:[e.jsxs("a",{href:r.pathname,target:"_blank",rel:"noreferrer",className:w("bg-muted text-foreground hover:bg-muted/80 absolute right-5 bottom-5 flex items-center justify-center rounded-full p-2.5 transition"),children:[e.jsx(v,{name:"ExternalLink","aria-hidden":"true"}),e.jsx("span",{className:"sr-only",children:"Open in New Window"})]}),e.jsx("iframe",{title:d,src:r.pathname,className:"bg-background h-full w-full grow",style:{colorScheme:u},allow:"clipboard-write"})]}):r.type==="file"?e.jsx(ee,{appName:t.appName??l}):e.jsx("div",{className:"flex h-full items-center justify-center text-lg",children:e.jsxs("p",{children:["Preview for dev type of ",e.jsx("code",{children:r.type})," not supported."]})})}function le({url:s,title:t,loadingContent:a}){const o=F(),[n,u]=c.useState(!1);return e.jsxs("div",{className:"h-full w-full grow",children:[n?null:e.jsx("div",{className:"absolute inset-0 z-10 flex items-center justify-center",children:a}),e.jsx("iframe",{onLoad:()=>u(!0),onError:()=>u(!0),src:s,className:w("h-full w-full grow transition-opacity duration-300",n?"opacity-100":"opacity-0"),title:t,sandbox:"allow-forms allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",allow:"clipboard-write",style:{colorScheme:o}})]})}export{we as P};
|
|
2
|
+
//# sourceMappingURL=preview-DD8OB0U2.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="87f411c6-fbcf-40cc-a409-53f11df5c3f6",e._sentryDebugIdIdentifier="sentry-dbid-87f411c6-fbcf-40cc-a409-53f11df5c3f6")}catch{}})();const t=Object.freeze(JSON.parse('{"displayName":"Prisma","fileTypes":["prisma"],"name":"prisma","patterns":[{"include":"#triple_comment"},{"include":"#double_comment"},{"include":"#multi_line_comment"},{"include":"#model_block_definition"},{"include":"#config_block_definition"},{"include":"#enum_block_definition"},{"include":"#type_definition"}],"repository":{"array":{"begin":"\\\\[","beginCaptures":{"1":{"name":"punctuation.definition.tag.prisma"}},"end":"]","endCaptures":{"1":{"name":"punctuation.definition.tag.prisma"}},"name":"source.prisma.array","patterns":[{"include":"#value"}]},"assignment":{"patterns":[{"begin":"^\\\\s*(\\\\w+)\\\\s*(=)\\\\s*","beginCaptures":{"1":{"name":"variable.other.assignment.prisma"},"2":{"name":"keyword.operator.terraform"}},"end":"\\\\n","patterns":[{"include":"#value"},{"include":"#double_comment_inline"}]}]},"attribute":{"captures":{"1":{"name":"entity.name.function.attribute.prisma"}},"match":"(@@?[.\\\\w]+)","name":"source.prisma.attribute"},"attribute_with_arguments":{"begin":"(@@?[.\\\\w]+)(\\\\()","beginCaptures":{"1":{"name":"entity.name.function.attribute.prisma"},"2":{"name":"punctuation.definition.tag.prisma"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.tag.prisma"}},"name":"source.prisma.attribute.with_arguments","patterns":[{"include":"#named_argument"},{"include":"#value"}]},"boolean":{"match":"\\\\b(true|false)\\\\b","name":"constant.language.boolean.prisma"},"config_block_definition":{"begin":"^\\\\s*(generator|datasource)\\\\s+([A-Za-z]\\\\w*)\\\\s+(\\\\{)","beginCaptures":{"1":{"name":"storage.type.config.prisma"},"2":{"name":"entity.name.type.config.prisma"},"3":{"name":"punctuation.definition.tag.prisma"}},"end":"\\\\s*}","endCaptures":{"1":{"name":"punctuation.definition.tag.prisma"}},"name":"source.prisma.embedded.source","patterns":[{"include":"#triple_comment"},{"include":"#double_comment"},{"include":"#multi_line_comment"},{"include":"#assignment"}]},"double_comment":{"begin":"//","end":"$\\\\n?","name":"comment.prisma"},"double_comment_inline":{"match":"//[^\\\\n]*","name":"comment.prisma"},"double_quoted_string":{"begin":"\\"","beginCaptures":{"0":{"name":"string.quoted.double.start.prisma"}},"end":"\\"","endCaptures":{"0":{"name":"string.quoted.double.end.prisma"}},"name":"unnamed","patterns":[{"include":"#string_interpolation"},{"match":"([-%./:=?@\\\\\\\\_\\\\w]+)","name":"string.quoted.double.prisma"}]},"enum_block_definition":{"begin":"^\\\\s*(enum)\\\\s+([A-Za-z]\\\\w*)\\\\s+(\\\\{)","beginCaptures":{"1":{"name":"storage.type.enum.prisma"},"2":{"name":"entity.name.type.enum.prisma"},"3":{"name":"punctuation.definition.tag.prisma"}},"end":"\\\\s*}","endCaptures":{"0":{"name":"punctuation.definition.tag.prisma"}},"name":"source.prisma.embedded.source","patterns":[{"include":"#triple_comment"},{"include":"#double_comment"},{"include":"#multi_line_comment"},{"include":"#enum_value_definition"}]},"enum_value_definition":{"patterns":[{"captures":{"1":{"name":"variable.other.assignment.prisma"}},"match":"^\\\\s*(\\\\w+)\\\\s*"},{"include":"#attribute_with_arguments"},{"include":"#attribute"}]},"field_definition":{"name":"scalar.field","patterns":[{"captures":{"1":{"name":"variable.other.assignment.prisma"},"2":{"name":"invalid.illegal.colon.prisma"},"3":{"name":"variable.language.relations.prisma"},"4":{"name":"support.type.primitive.prisma"},"5":{"name":"keyword.operator.list_type.prisma"},"6":{"name":"keyword.operator.optional_type.prisma"},"7":{"name":"invalid.illegal.required_type.prisma"}},"match":"^\\\\s*(\\\\w+)(\\\\s*:)?\\\\s+((?!(?:Int|BigInt|String|DateTime|Bytes|Decimal|Float|Json|Boolean)\\\\b)\\\\b\\\\w+)?(Int|BigInt|String|DateTime|Bytes|Decimal|Float|Json|Boolean)?(\\\\[])?(\\\\?)?(!)?"},{"include":"#attribute_with_arguments"},{"include":"#attribute"}]},"functional":{"begin":"(\\\\w+)(\\\\()","beginCaptures":{"1":{"name":"support.function.functional.prisma"},"2":{"name":"punctuation.definition.tag.prisma"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.tag.prisma"}},"name":"source.prisma.functional","patterns":[{"include":"#value"}]},"identifier":{"patterns":[{"match":"\\\\b(\\\\w)+\\\\b","name":"support.constant.constant.prisma"}]},"literal":{"name":"source.prisma.literal","patterns":[{"include":"#boolean"},{"include":"#number"},{"include":"#double_quoted_string"},{"include":"#identifier"}]},"map_key":{"name":"source.prisma.key","patterns":[{"captures":{"1":{"name":"variable.parameter.key.prisma"},"2":{"name":"punctuation.definition.separator.key-value.prisma"}},"match":"(\\\\w+)\\\\s*(:)\\\\s*"}]},"model_block_definition":{"begin":"^\\\\s*(model|type|view)\\\\s+([A-Za-z]\\\\w*)\\\\s*(\\\\{)","beginCaptures":{"1":{"name":"storage.type.model.prisma"},"2":{"name":"entity.name.type.model.prisma"},"3":{"name":"punctuation.definition.tag.prisma"}},"end":"\\\\s*}","endCaptures":{"0":{"name":"punctuation.definition.tag.prisma"}},"name":"source.prisma.embedded.source","patterns":[{"include":"#triple_comment"},{"include":"#double_comment"},{"include":"#multi_line_comment"},{"include":"#field_definition"}]},"multi_line_comment":{"begin":"/\\\\*","end":"\\\\*/","name":"comment.prisma"},"named_argument":{"name":"source.prisma.named_argument","patterns":[{"include":"#map_key"},{"include":"#value"}]},"number":{"match":"((0([Xx])\\\\h*)|([-+])?\\\\b(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)([DFLUdfglu]|UL|ul)?\\\\b","name":"constant.numeric.prisma"},"string_interpolation":{"patterns":[{"begin":"\\\\$\\\\{","beginCaptures":{"0":{"name":"keyword.control.interpolation.start.prisma"}},"end":"\\\\s*}","endCaptures":{"0":{"name":"keyword.control.interpolation.end.prisma"}},"name":"source.tag.embedded.source.prisma","patterns":[{"include":"#value"}]}]},"triple_comment":{"begin":"///","end":"$\\\\n?","name":"comment.prisma"},"type_definition":{"patterns":[{"captures":{"1":{"name":"storage.type.type.prisma"},"2":{"name":"entity.name.type.type.prisma"},"3":{"name":"support.type.primitive.prisma"}},"match":"^\\\\s*(type)\\\\s+(\\\\w+)\\\\s*=\\\\s*(\\\\w+)"},{"include":"#attribute_with_arguments"},{"include":"#attribute"}]},"value":{"name":"source.prisma.value","patterns":[{"include":"#array"},{"include":"#functional"},{"include":"#literal"}]}},"scopeName":"source.prisma"}')),a=[t];export{a as default};
|
|
2
|
+
//# sourceMappingURL=prisma-Dhb6T30q.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{j as s}from"./jsx-runtime-FQotuiPu.js";import{u as m}from"./index-D-D0gQk3.js";import{c as d}from"./misc-UFW3ume0.js";import{u as g}from"./workshop-config-BgZBCkY8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"57a5d94c592019f597062595cc0255cc8fd172e6"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9639c611-470d-4e15-8ed3-6807cf1893ce",e._sentryDebugIdIdentifier="sentry-dbid-9639c611-470d-4e15-8ed3-6807cf1893ce")}catch{}})();const a={font:"w-[1em] h-[1em]",xs:"w-3 h-3",sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6",xl:"w-7 h-7","2xl":"w-8 h-8"},h={font:"gap-1.5",xs:"gap-1.5",sm:"gap-1.5",md:"gap-2",lg:"gap-2",xl:"gap-3","2xl":"gap-4"};function y({size:e="font",style:n="themed",className:t,children:l,...r}){const{product:{logo:o,displayName:c}}=g(),f=m(),i=o.includes(".svg")?s.jsxs("svg",{...r,className:d(a[e],"inline self-center",t),children:[s.jsx("title",{children:c}),s.jsx("use",{href:`${o}#${n==="themed"?f:"monochrome"}`})]}):s.jsx("img",{src:o,alt:c,...r,className:d(a[e],"inline self-center",t)});return l?s.jsxs("span",{className:`inline-flex items-center ${h[e]}`,children:[i,l]}):i}export{y as L};
|
|
2
|
+
//# sourceMappingURL=product-Oc8rv16n.js.map
|