@alivault/pico 0.14.0 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/public/_shell.html +19 -0
- package/.output/public/assets/PatchDiff-SN-mXa3p.js +343 -0
- package/.output/public/assets/{angular-html-BZNntD0J.js → angular-html-B9LEBPKs.js} +1 -1
- package/.output/public/assets/{angular-ts-SQQMYL2C.js → angular-ts-CD6u-Ij9.js} +1 -1
- package/.output/public/assets/{apl-D5V6uPDr.js → apl-VeDHIFIx.js} +1 -1
- package/.output/public/assets/app-shell-common-0xa28gDm.js +1 -0
- package/.output/public/assets/{astro-DeXKSaFP.js → astro-Dd8L1z6M.js} +1 -1
- package/.output/public/assets/{blade-Bu5re0Vg.js → blade-BNxrbiva.js} +1 -1
- package/.output/public/assets/{bsl-B1qbqNES.js → bsl-B0twaj2j.js} +1 -1
- package/.output/public/assets/{cairo-BDj8wWhy.js → cairo-DASKFAWI.js} +1 -1
- package/.output/public/assets/{cobol-nvZDS9LT.js → cobol-D_qN8j4K.js} +1 -1
- package/.output/public/assets/{coffee-BKLOTq4e.js → coffee-60nIQewd.js} +1 -1
- package/.output/public/assets/{cpp-D6g1DVNt.js → cpp-e1j1tDCV.js} +1 -1
- package/.output/public/assets/{crystal-DfoZI57w.js → crystal-brDfRjQ_.js} +1 -1
- package/.output/public/assets/{edge-DwocGnOF.js → edge-DadfRK3Q.js} +1 -1
- package/.output/public/assets/{elixir-Dtbfds1r.js → elixir-CsoHPmz3.js} +1 -1
- package/.output/public/assets/{elm-CpPtm471.js → elm-BLTa0sZG.js} +1 -1
- package/.output/public/assets/{erb--z3IM9Cb.js → erb-DIR2QRkp.js} +1 -1
- package/.output/public/assets/{erlang-Bc4hQuqa.js → erlang-DnbJbitJ.js} +1 -1
- package/.output/public/assets/{fortran-fixed-form-B02FOYI-.js → fortran-fixed-form-Bse4XUyD.js} +1 -1
- package/.output/public/assets/{fsharp-DhdR18vN.js → fsharp-Dy8OnZ0O.js} +1 -1
- package/.output/public/assets/{gdresource-DgnrMPIx.js → gdresource-BD_7yRHA.js} +1 -1
- package/.output/public/assets/{git-commit-DGJi7qBD.js → git-commit-CIMjlyHf.js} +1 -1
- package/.output/public/assets/{git-rebase-Ce47xoa6.js → git-rebase-DV2DyQK7.js} +1 -1
- package/.output/public/assets/{glimmer-js-C0BuzxQC.js → glimmer-js-DVG5pFvd.js} +1 -1
- package/.output/public/assets/{glimmer-ts-irOZ-cAQ.js → glimmer-ts-BeWaLARz.js} +1 -1
- package/.output/public/assets/{glsl-JAhLUe0P.js → glsl-BrOWUUEh.js} +1 -1
- package/.output/public/assets/{graphql-D2ba3BkR.js → graphql-B_3o81z5.js} +1 -1
- package/.output/public/assets/{hack-CgzUpY8l.js → hack-BW-0PxQy.js} +1 -1
- package/.output/public/assets/{haml-C-oIZcDo.js → haml-DnNXiHAO.js} +1 -1
- package/.output/public/assets/{handlebars-CbP-Mhzf.js → handlebars-CftcPtku.js} +1 -1
- package/.output/public/assets/{html-ddqpqPg0.js → html-D5IqfVuz.js} +1 -1
- package/.output/public/assets/{html-derivative-DWGxf_At.js → html-derivative-QNqmMkaY.js} +1 -1
- package/.output/public/assets/{http-Bg1nG1nG.js → http-Dd7eRKUa.js} +1 -1
- package/.output/public/assets/{hurl-zm47Pi1n.js → hurl-kBs5Ibg1.js} +1 -1
- package/.output/public/assets/{hxml-adC65L_J.js → hxml-CGx66ebi.js} +1 -1
- package/.output/public/assets/index-C-mxWGZ5.css +2 -0
- package/.output/public/assets/index-FOqZaR4L.js +48 -0
- package/.output/public/assets/{jinja-Bnj4awH5.js → jinja-BPoCSjyd.js} +1 -1
- package/.output/public/assets/{jison-CuCNs9Q3.js → jison-WHPVy3Jl.js} +1 -1
- package/.output/public/assets/{julia-DNYHzXlE.js → julia-BaKiQMPf.js} +1 -1
- package/.output/public/assets/{just-BlWkkmf2.js → just-BKMc7tVT.js} +1 -1
- package/.output/public/assets/{latex-DqPzjMIt.js → latex-Cczzu1HI.js} +1 -1
- package/.output/public/assets/{liquid-BURJK16h.js → liquid-DrJZrMEf.js} +1 -1
- package/.output/public/assets/{lua-31hdJClp.js → lua-CFIwCMnP.js} +1 -1
- package/.output/public/assets/{marko-C2ZcdSLh.js → marko-BreagErn.js} +1 -1
- package/.output/public/assets/{mdc-N1ii9pk5.js → mdc-CBcMHZUq.js} +1 -1
- package/.output/public/assets/{nextflow-JEyYUlIq.js → nextflow-CZbrTmS2.js} +1 -1
- package/.output/public/assets/{nginx-BuomO0W8.js → nginx-CMOi8dTH.js} +1 -1
- package/.output/public/assets/{nim-hKoEPsYL.js → nim-DbDZ9Wa-.js} +1 -1
- package/.output/public/assets/{perl-CAGVW6Ra.js → perl-DyRCGnKu.js} +1 -1
- package/.output/public/assets/{php-BycclmzS.js → php-Ciarv7b4.js} +1 -1
- package/.output/public/assets/plus-B1rJPgNv.js +1 -0
- package/.output/public/assets/preload-helper-Csz9R64u.js +5 -0
- package/.output/public/assets/{pug-4maJHz9G.js → pug-CVCqbfEm.js} +1 -1
- package/.output/public/assets/{qml-JLIQfzyb.js → qml-DechmdFA.js} +1 -1
- package/.output/public/assets/query-keys-C9jMaRnO.js +1 -0
- package/.output/public/assets/{razor-P8rbooCh.js → razor-bgzHke67.js} +1 -1
- package/.output/public/assets/right-sidebar-CWvXcZzC.js +1831 -0
- package/.output/public/assets/routes-CXlaorp4.js +23 -0
- package/.output/public/assets/{rst-C6GHyL-N.js → rst-Ce6_XwFd.js} +1 -1
- package/.output/public/assets/{ruby-Cl8PVkbY.js → ruby-BtLKlt8E.js} +1 -1
- package/.output/public/assets/{sas-CXoVwlZN.js → sas-Bco5tnse.js} +1 -1
- package/.output/public/assets/{scss-DNczJ95n.js → scss-KPCA05M8.js} +1 -1
- package/.output/public/assets/{shaderlab-DZ3Lsiak.js → shaderlab-uUHiM5Mm.js} +1 -1
- package/.output/public/assets/{shellsession-COm1V40U.js → shellsession-BnUZVYXU.js} +1 -1
- package/.output/public/assets/{soy-DwewhJ_3.js → soy-Dsrg4bVI.js} +1 -1
- package/.output/public/assets/{sparql-B9c85a_o.js → sparql-D5zsvcbT.js} +1 -1
- package/.output/public/assets/{stata-Bl--TAbZ.js → stata-BdK5CFUf.js} +1 -1
- package/.output/public/assets/{surrealql-BW79EE-U.js → surrealql-Blm5wp47.js} +1 -1
- package/.output/public/assets/{svelte-ziMErdPi.js → svelte-DZrj_gMz.js} +1 -1
- package/.output/public/assets/{templ-C_9I6ncv.js → templ-CJ7sDrtu.js} +1 -1
- package/.output/public/assets/terminal-panel-YGR6v-ZH.js +1 -0
- package/.output/public/assets/{tex-D8LVuLf5.js → tex-CvSRdXZA.js} +1 -1
- package/.output/public/assets/{ts-tags-DKuFCGsc.js → ts-tags-DgGFCSef.js} +1 -1
- package/.output/public/assets/{twig-Bs1kcsO6.js → twig-D8_PS89g.js} +1 -1
- package/.output/public/assets/{vue-Dnf0y5RU.js → vue-KvGEuYod.js} +1 -1
- package/.output/public/assets/{vue-html-CRtKS76J.js → vue-html-qAt9D-IF.js} +1 -1
- package/.output/public/assets/{vue-vine-BxjPqU7T.js → vue-vine-j1nOqxMu.js} +1 -1
- package/.output/public/assets/{xml-eU7M3iZJ.js → xml-BrFkMwfd.js} +1 -1
- package/.output/public/assets/{xsl-DSqe4nTO.js → xsl-OmCo2PyZ.js} +1 -1
- package/.output/public/index.html +19 -0
- package/README.md +171 -46
- package/bin/native-runtime.mjs +265 -0
- package/bin/pico.mjs +289 -222
- package/package.json +34 -31
- package/.output/nitro.json +0 -17
- package/.output/public/assets/index-DBVxXDtw.js +0 -54
- package/.output/public/assets/routes-yUxD2q-l.js +0 -2194
- package/.output/public/assets/styles-CUVz7jV9.css +0 -2
- package/.output/server/__23tanstack-start-plugin-adapters-y_fshQDY.mjs +0 -5
- package/.output/server/_chunks/ssr-renderer.mjs +0 -15
- package/.output/server/_libs/@base-ui/react+[...].mjs +0 -14512
- package/.output/server/_libs/@dnd-kit/core+[...].mjs +0 -2748
- package/.output/server/_libs/@pierre/diffs+[...].mjs +0 -19314
- package/.output/server/_libs/@pierre/trees+[...].mjs +0 -9236
- package/.output/server/_libs/@radix-ui/react-dialog+[...].mjs +0 -1789
- package/.output/server/_libs/@radix-ui/react-primitive+[...].mjs +0 -136
- package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +0 -196
- package/.output/server/_libs/@tanstack/hotkeys+[...].mjs +0 -1607
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +0 -13950
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +0 -90
- package/.output/server/_libs/bail.mjs +0 -13
- package/.output/server/_libs/character-entities.mjs +0 -2135
- package/.output/server/_libs/class-variance-authority+clsx.mjs +0 -69
- package/.output/server/_libs/cmdk.mjs +0 -473
- package/.output/server/_libs/crossws.mjs +0 -2929
- package/.output/server/_libs/decode-named-character-reference+[...].mjs +0 -19
- package/.output/server/_libs/devlop.mjs +0 -5
- package/.output/server/_libs/diff.mjs +0 -732
- package/.output/server/_libs/dnd-kit__accessibility.mjs +0 -46
- package/.output/server/_libs/dnd-kit__sortable.mjs +0 -400
- package/.output/server/_libs/entities.mjs +0 -372
- package/.output/server/_libs/escape-string-regexp.mjs +0 -7
- package/.output/server/_libs/estree-util-is-identifier-name.mjs +0 -20
- package/.output/server/_libs/extend.mjs +0 -75
- package/.output/server/_libs/h3+rou3+srvx.mjs +0 -1216
- package/.output/server/_libs/hast-util-from-parse5+[...].mjs +0 -741
- package/.output/server/_libs/hast-util-raw+[...].mjs +0 -7897
- package/.output/server/_libs/hast-util-sanitize.mjs +0 -780
- package/.output/server/_libs/hast-util-to-jsx-runtime+[...].mjs +0 -1165
- package/.output/server/_libs/hookable.mjs +0 -41
- package/.output/server/_libs/html-url-attributes.mjs +0 -44
- package/.output/server/_libs/is-plain-obj.mjs +0 -8
- package/.output/server/_libs/longest-streak.mjs +0 -29
- package/.output/server/_libs/lucide-react.mjs +0 -788
- package/.output/server/_libs/markdown-table.mjs +0 -289
- package/.output/server/_libs/mdast-util-find-and-replace.mjs +0 -198
- package/.output/server/_libs/mdast-util-from-markdown+[...].mjs +0 -8409
- package/.output/server/_libs/mdast-util-gfm+[...].mjs +0 -2062
- package/.output/server/_libs/mdast-util-to-hast+[...].mjs +0 -1771
- package/.output/server/_libs/micromark-extension-gfm+[...].mjs +0 -2234
- package/.output/server/_libs/next-themes.mjs +0 -124
- package/.output/server/_libs/pierre__theme.mjs +0 -10
- package/.output/server/_libs/radix-ui__primitive.mjs +0 -9
- package/.output/server/_libs/radix-ui__react-compose-refs.mjs +0 -30
- package/.output/server/_libs/radix-ui__react-context.mjs +0 -88
- package/.output/server/_libs/react-markdown+[...].mjs +0 -2316
- package/.output/server/_libs/rehype-raw.mjs +0 -37
- package/.output/server/_libs/rehype-sanitize.mjs +0 -27
- package/.output/server/_libs/remark-gfm.mjs +0 -34
- package/.output/server/_libs/shiki.mjs +0 -16
- package/.output/server/_libs/shikijs__langs.mjs +0 -1355
- package/.output/server/_libs/shikijs__themes.mjs +0 -262
- package/.output/server/_libs/sonner.mjs +0 -908
- package/.output/server/_libs/tailwind-merge.mjs +0 -1962
- package/.output/server/_libs/tanstack__history.mjs +0 -342
- package/.output/server/_libs/tanstack__pacer.mjs +0 -1111
- package/.output/server/_libs/tanstack__query-core.mjs +0 -2202
- package/.output/server/_libs/tanstack__react-hotkeys.mjs +0 -152
- package/.output/server/_libs/tanstack__react-query.mjs +0 -180
- package/.output/server/_libs/tanstack__react-store.mjs +0 -39
- package/.output/server/_libs/tanstack__router-core.mjs +0 -6
- package/.output/server/_libs/tanstack__store.mjs +0 -28
- package/.output/server/_libs/ufo.mjs +0 -64
- package/.output/server/_libs/unctx.mjs +0 -82
- package/.output/server/_libs/ungap__structured-clone.mjs +0 -197
- package/.output/server/_libs/vaul.mjs +0 -1250
- package/.output/server/_libs/xterm__addon-fit.mjs +0 -44
- package/.output/server/_libs/xterm__xterm.mjs +0 -10234
- package/.output/server/_libs/zod.mjs +0 -3341
- package/.output/server/_routes/api/terminal/[id]/ws.mjs +0 -8874
- package/.output/server/_runtime.mjs +0 -35
- package/.output/server/_ssr/router-CN4JMm2A.mjs +0 -9733
- package/.output/server/_ssr/routes-BsQ26pbY.mjs +0 -29306
- package/.output/server/_ssr/routes-DbjuMLFI.mjs +0 -3400
- package/.output/server/_ssr/ssr.mjs +0 -5176
- package/.output/server/_ssr/start-jIczsXlR.mjs +0 -4
- package/.output/server/_tanstack-start-manifest_v-Bs4g_j1_.mjs +0 -77
- package/.output/server/index.mjs +0 -2670
- package/.output/server/node_modules/node-pty/LICENSE +0 -69
- package/.output/server/node_modules/node-pty/README.md +0 -165
- package/.output/server/node_modules/node-pty/binding.gyp +0 -111
- package/.output/server/node_modules/node-pty/build/Makefile +0 -369
- package/.output/server/node_modules/node-pty/build/Release/pty.node +0 -0
- package/.output/server/node_modules/node-pty/build/binding.Makefile +0 -6
- package/.output/server/node_modules/node-pty/build/pty.target.mk +0 -168
- package/.output/server/node_modules/node-pty/deps/.editorconfig +0 -2
- package/.output/server/node_modules/node-pty/deps/winpty/.drone.yml +0 -17
- package/.output/server/node_modules/node-pty/deps/winpty/.gitattributes +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/LICENSE +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/Makefile +0 -166
- package/.output/server/node_modules/node-pty/deps/winpty/README.md +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
- package/.output/server/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
- package/.output/server/node_modules/node-pty/deps/winpty/configure +0 -167
- package/.output/server/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
- package/.output/server/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
- package/.output/server/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
- package/.output/server/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
- package/.output/server/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
- package/.output/server/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
- package/.output/server/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
- package/.output/server/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js +0 -16
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js +0 -47
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/index.js +0 -52
- package/.output/server/node_modules/node-pty/lib/index.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/interfaces.js +0 -7
- package/.output/server/node_modules/node-pty/lib/interfaces.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/shared/conout.js +0 -11
- package/.output/server/node_modules/node-pty/lib/shared/conout.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.js +0 -190
- package/.output/server/node_modules/node-pty/lib/terminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.test.js +0 -139
- package/.output/server/node_modules/node-pty/lib/terminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js +0 -28
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/types.js +0 -7
- package/.output/server/node_modules/node-pty/lib/types.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js +0 -346
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/utils.js +0 -39
- package/.output/server/node_modules/node-pty/lib/utils.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js +0 -125
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js +0 -320
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js +0 -199
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js +0 -22
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
- package/.output/server/node_modules/node-pty/package.json +0 -64
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
- package/.output/server/node_modules/node-pty/scripts/increment-version.js +0 -54
- package/.output/server/node_modules/node-pty/scripts/post-install.js +0 -80
- package/.output/server/node_modules/node-pty/scripts/prebuild.js +0 -34
- package/.output/server/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
- package/.output/server/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
- package/.output/server/node_modules/node-pty/src/eventEmitter2.ts +0 -48
- package/.output/server/node_modules/node-pty/src/index.ts +0 -52
- package/.output/server/node_modules/node-pty/src/interfaces.ts +0 -130
- package/.output/server/node_modules/node-pty/src/native.d.ts +0 -54
- package/.output/server/node_modules/node-pty/src/shared/conout.ts +0 -15
- package/.output/server/node_modules/node-pty/src/terminal.test.ts +0 -119
- package/.output/server/node_modules/node-pty/src/terminal.ts +0 -211
- package/.output/server/node_modules/node-pty/src/testUtils.test.ts +0 -23
- package/.output/server/node_modules/node-pty/src/tsconfig.json +0 -22
- package/.output/server/node_modules/node-pty/src/types.ts +0 -15
- package/.output/server/node_modules/node-pty/src/unix/pty.cc +0 -799
- package/.output/server/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
- package/.output/server/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
- package/.output/server/node_modules/node-pty/src/unixTerminal.ts +0 -388
- package/.output/server/node_modules/node-pty/src/utils.ts +0 -29
- package/.output/server/node_modules/node-pty/src/win/conpty.cc +0 -583
- package/.output/server/node_modules/node-pty/src/win/conpty.h +0 -41
- package/.output/server/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
- package/.output/server/node_modules/node-pty/src/win/path_util.cc +0 -95
- package/.output/server/node_modules/node-pty/src/win/path_util.h +0 -26
- package/.output/server/node_modules/node-pty/src/win/winpty.cc +0 -333
- package/.output/server/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
- package/.output/server/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
- package/.output/server/node_modules/node-pty/src/windowsTerminal.ts +0 -203
- package/.output/server/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/typings/node-pty.d.ts +0 -211
- package/.output/server/node_modules/tslib/modules/index.js +0 -70
- package/.output/server/node_modules/tslib/modules/package.json +0 -3
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/package.json +0 -10
- package/scripts/release.mjs +0 -173
- package/vendor/node-domexception/index.js +0 -3
- package/vendor/node-domexception/package.json +0 -10
- /package/.output/public/assets/{abap-smLpETzL.js → abap-CglpPUUh.js} +0 -0
- /package/.output/public/assets/{actionscript-3-o-aRvjY5.js → actionscript-3-CGv72Q9E.js} +0 -0
- /package/.output/public/assets/{ada-D5RRX1i4.js → ada-CfxXaXwr.js} +0 -0
- /package/.output/public/assets/{addon-fit-CMMXLNsg.js → addon-fit-C9RD8ot3.js} +0 -0
- /package/.output/public/assets/{andromeeda-N4z3YzmR.js → andromeeda-DXsn6mTE.js} +0 -0
- /package/.output/public/assets/{apache-DttKlSqg.js → apache-D5xAQKSB.js} +0 -0
- /package/.output/public/assets/{apex-DL7j-a2n.js → apex-qgfedJV2.js} +0 -0
- /package/.output/public/assets/{applescript-DCbL_2FX.js → applescript-DqumQxTt.js} +0 -0
- /package/.output/public/assets/{ara-DqheWJCe.js → ara-Ditv3ow6.js} +0 -0
- /package/.output/public/assets/{asciidoc-BH2sf2K4.js → asciidoc-DL8QwiT7.js} +0 -0
- /package/.output/public/assets/{asm-rfjOMz3U.js → asm-K6TMxl3o.js} +0 -0
- /package/.output/public/assets/{aurora-x-CND-FqEb.js → aurora-x-DGv-xZaa.js} +0 -0
- /package/.output/public/assets/{awk-CMV5n9Z7.js → awk-CYSfQSDT.js} +0 -0
- /package/.output/public/assets/{ayu-dark-on7xzq_B.js → ayu-dark-DGBaJbpH.js} +0 -0
- /package/.output/public/assets/{ayu-light-DnGeGGc2.js → ayu-light-BQrGPVs2.js} +0 -0
- /package/.output/public/assets/{ayu-mirage-DG3LlYC_.js → ayu-mirage-Do-5o2VL.js} +0 -0
- /package/.output/public/assets/{ballerina-BjMqJjlr.js → ballerina-BE-8n54s.js} +0 -0
- /package/.output/public/assets/{bat-BaVbo_qw.js → bat-B1zTc1QZ.js} +0 -0
- /package/.output/public/assets/{beancount-DBt5Mbc_.js → beancount-DhObrvif.js} +0 -0
- /package/.output/public/assets/{berry-Cyjuxiss.js → berry-Cnbvthv1.js} +0 -0
- /package/.output/public/assets/{bibtex-BV_0nsPq.js → bibtex-pp5SrwZy.js} +0 -0
- /package/.output/public/assets/{bicep-C2gEwu4J.js → bicep-BL6eYxbs.js} +0 -0
- /package/.output/public/assets/{bird2-BRyaEJd0.js → bird2-BQaXYY9n.js} +0 -0
- /package/.output/public/assets/{c-Nc9zJT78.js → c-BHFJ4Jk3.js} +0 -0
- /package/.output/public/assets/{c3-DTTbp5N2.js → c3-BHTco5Hb.js} +0 -0
- /package/.output/public/assets/{cadence-CPz83cmI.js → cadence-CoPxW0qb.js} +0 -0
- /package/.output/public/assets/{catppuccin-frappe-Dr22sraq.js → catppuccin-frappe-9fYwMJCf.js} +0 -0
- /package/.output/public/assets/{catppuccin-latte-C57EeX8c.js → catppuccin-latte-BUiKH1yZ.js} +0 -0
- /package/.output/public/assets/{catppuccin-macchiato-CpheI4uD.js → catppuccin-macchiato-ZmO2e0M_.js} +0 -0
- /package/.output/public/assets/{catppuccin-mocha-D8Lmdks_.js → catppuccin-mocha-CFwbXQfO.js} +0 -0
- /package/.output/public/assets/{clarity-CFJ2Yc3q.js → clarity-DVUGm1xP.js} +0 -0
- /package/.output/public/assets/{clojure-6R01QgJC.js → clojure-BgXJG6FG.js} +0 -0
- /package/.output/public/assets/{cmake-D5rSbMir.js → cmake-CZndsvm6.js} +0 -0
- /package/.output/public/assets/{codeowners-_3A-ClkN.js → codeowners-Dd7a447M.js} +0 -0
- /package/.output/public/assets/{codeql-DlIhJTR7.js → codeql-XJR6llG-.js} +0 -0
- /package/.output/public/assets/{common-lisp-BvQzz173.js → common-lisp-BOMbLvgT.js} +0 -0
- /package/.output/public/assets/{coq-DTNXReIC.js → coq-DnhmQYDa.js} +0 -0
- /package/.output/public/assets/{csharp-BDKQY1K9.js → csharp-BdEyRqBm.js} +0 -0
- /package/.output/public/assets/{css-DRmnABqB.js → css-CsTDDTLq.js} +0 -0
- /package/.output/public/assets/{csv-DNUpVBxl.js → csv-CXchYFbz.js} +0 -0
- /package/.output/public/assets/{cue-DDdBc2s3.js → cue-D7YpBZvd.js} +0 -0
- /package/.output/public/assets/{cypher-CguaznO2.js → cypher-XIm1N8YJ.js} +0 -0
- /package/.output/public/assets/{d-CHcoyjv3.js → d-DvB0pbZH.js} +0 -0
- /package/.output/public/assets/{dark-plus-CqeW_0kH.js → dark-plus-BUdpMFIA.js} +0 -0
- /package/.output/public/assets/{dart-RM3aRphk.js → dart-CwpSKTMB.js} +0 -0
- /package/.output/public/assets/{dax-nbnY1d79.js → dax-CEynWJsU.js} +0 -0
- /package/.output/public/assets/{desktop-BD76cvxT.js → desktop-Dk-YiYS_.js} +0 -0
- /package/.output/public/assets/{diff-CdkWtnkL.js → diff-abLZ-xM1.js} +0 -0
- /package/.output/public/assets/{docker-ZyPHc6zB.js → docker-BT48KsRJ.js} +0 -0
- /package/.output/public/assets/{dotenv-BdJZEwA6.js → dotenv-NOMQQbM0.js} +0 -0
- /package/.output/public/assets/{dracula-CtqCPLGa.js → dracula-BUW0ZyNO.js} +0 -0
- /package/.output/public/assets/{dracula-soft-DmBpwRAy.js → dracula-soft-BMjAt1_u.js} +0 -0
- /package/.output/public/assets/{dream-maker-BJL4qlg3.js → dream-maker-D26TP1Q3.js} +0 -0
- /package/.output/public/assets/{emacs-lisp-_LyYa2Ky.js → emacs-lisp-C2EvfotR.js} +0 -0
- /package/.output/public/assets/{everforest-dark-CrbyKk4n.js → everforest-dark-hC6a272f.js} +0 -0
- /package/.output/public/assets/{everforest-light-DRbSh8Tm.js → everforest-light-BTpbYY5G.js} +0 -0
- /package/.output/public/assets/{fennel-CC2BkRsS.js → fennel-DWOL-Ewx.js} +0 -0
- /package/.output/public/assets/{fish-D2ZCzqcE.js → fish-CQPQq0pQ.js} +0 -0
- /package/.output/public/assets/{fluent-DKAm3m7q.js → fluent-BYdsr2M8.js} +0 -0
- /package/.output/public/assets/{fortran-free-form-BPTf0lbT.js → fortran-free-form-C_EtY4F9.js} +0 -0
- /package/.output/public/assets/{gdscript-CsadCSaZ.js → gdscript-CH_tD-VB.js} +0 -0
- /package/.output/public/assets/{gdshader-PfnN_8tR.js → gdshader-BemFblFP.js} +0 -0
- /package/.output/public/assets/{genie-Bj-orPAV.js → genie-hCPg_eq7.js} +0 -0
- /package/.output/public/assets/{gherkin-COVWpJ-Q.js → gherkin-CO0ypD1P.js} +0 -0
- /package/.output/public/assets/{github-dark-ipGuFGYC.js → github-dark-cA72fqmI.js} +0 -0
- /package/.output/public/assets/{github-dark-default-DX3IG_X0.js → github-dark-default-DiYTFvY5.js} +0 -0
- /package/.output/public/assets/{github-dark-dimmed-CH6p_7ez.js → github-dark-dimmed-D-uBHzyG.js} +0 -0
- /package/.output/public/assets/{github-dark-high-contrast-Bg2sSao5.js → github-dark-high-contrast-BrUSkckI.js} +0 -0
- /package/.output/public/assets/{github-light-default-DwpDd1IQ.js → github-light-default-BT-6Vf7C.js} +0 -0
- /package/.output/public/assets/{github-light-high-contrast-C0QeixPf.js → github-light-high-contrast-DqmEyTTc.js} +0 -0
- /package/.output/public/assets/{github-light-BxjqOQl0.js → github-light-piFPqU8R.js} +0 -0
- /package/.output/public/assets/{gleam-BF2NigGj.js → gleam-CWJA_H5i.js} +0 -0
- /package/.output/public/assets/{gn-CMIt9roj.js → gn-nlTwLSjP.js} +0 -0
- /package/.output/public/assets/{gnuplot-DgWlRTEj.js → gnuplot-wYV0MbPl.js} +0 -0
- /package/.output/public/assets/{go-DLnOLj8q.js → go-BUPBDRDo.js} +0 -0
- /package/.output/public/assets/{groovy-B9qLWIkE.js → groovy-BusafOA8.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-hard-BIMX9ePb.js → gruvbox-dark-hard-BrrZYoPF.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-medium-DxuwyVzM.js → gruvbox-dark-medium-DsxcLuUs.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-soft-ba2fjht0.js → gruvbox-dark-soft-DQXOs_GH.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-hard-DAJK2PqC.js → gruvbox-light-hard-CtHwj_cB.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-medium-WRifDAJD.js → gruvbox-light-medium-CPJMdgXQ.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-soft-B0dBOoVB.js → gruvbox-light-soft-C4Xh9Hc-.js} +0 -0
- /package/.output/public/assets/{haskell-BaGpmm_c.js → haskell-CaDqJkn4.js} +0 -0
- /package/.output/public/assets/{haxe-DfXTCEOz.js → haxe-Dxg-8_J7.js} +0 -0
- /package/.output/public/assets/{hcl-CbCtpSbi.js → hcl-Bjg-rMJ0.js} +0 -0
- /package/.output/public/assets/{hjson-_4-w-pHU.js → hjson-BMbeOOMg.js} +0 -0
- /package/.output/public/assets/{hlsl-DpuYn7pp.js → hlsl-D-cuwCFV.js} +0 -0
- /package/.output/public/assets/{horizon-C5RtD1fY.js → horizon-BofYY9of.js} +0 -0
- /package/.output/public/assets/{horizon-bright-pEOice34.js → horizon-bright-CFOVQsf2.js} +0 -0
- /package/.output/public/assets/{houston-A0zg9vNP.js → houston-BIBYxFpQ.js} +0 -0
- /package/.output/public/assets/{hy-t9zDXBje.js → hy-Cye3Jt7O.js} +0 -0
- /package/.output/public/assets/{imba-Bxu-TDfw.js → imba-CjkQtgD2.js} +0 -0
- /package/.output/public/assets/{ini-D-v34c8N.js → ini-BvMtfDNl.js} +0 -0
- /package/.output/public/assets/{java-DVLnIrqC.js → java-BYO3uQJZ.js} +0 -0
- /package/.output/public/assets/{javascript-Cop1kpy_.js → javascript-BsdGTPv_.js} +0 -0
- /package/.output/public/assets/{json-CTw4n7kn.js → json-Kp2u6f_f.js} +0 -0
- /package/.output/public/assets/{json5-D0XL1D5m.js → json5-BCxDPjxU.js} +0 -0
- /package/.output/public/assets/{jsonc-BBgf3TX3.js → jsonc-BV8VFjqO.js} +0 -0
- /package/.output/public/assets/{jsonl-KrKLbtB7.js → jsonl-DHrr7c-M.js} +0 -0
- /package/.output/public/assets/{jsonnet-B2ZwWMOt.js → jsonnet-xURar8mu.js} +0 -0
- /package/.output/public/assets/{jssm-ByRpI9-B.js → jssm-DtoLUQAt.js} +0 -0
- /package/.output/public/assets/{jsx-0oMUGqZj.js → jsx-CyrO086S.js} +0 -0
- /package/.output/public/assets/{kanagawa-dragon-CtPmcCMp.js → kanagawa-dragon-COwlYgQB.js} +0 -0
- /package/.output/public/assets/{kanagawa-lotus-DpOXEGCa.js → kanagawa-lotus-GZWqyq_E.js} +0 -0
- /package/.output/public/assets/{kanagawa-wave-CLVCyc-n.js → kanagawa-wave-CP4uw3DX.js} +0 -0
- /package/.output/public/assets/{kdl-6FPPEH4H.js → kdl-DGo2N7N5.js} +0 -0
- /package/.output/public/assets/{kotlin-D4L3Nd2D.js → kotlin-Cm4W8Bbs.js} +0 -0
- /package/.output/public/assets/{kusto-D-mmc07O.js → kusto-DQ22_tcT.js} +0 -0
- /package/.output/public/assets/{laserwave-7fEj4XGb.js → laserwave-DfABGYsD.js} +0 -0
- /package/.output/public/assets/{lean-BMVMuP2E.js → lean-D-8a6Wwv.js} +0 -0
- /package/.output/public/assets/{less-C95PyOu0.js → less-B-qZzFKw.js} +0 -0
- /package/.output/public/assets/{light-plus-DHI2dh3p.js → light-plus-DS_rmE1N.js} +0 -0
- /package/.output/public/assets/{llvm-Dy3qORTl.js → llvm-Ch-k6TUk.js} +0 -0
- /package/.output/public/assets/{log-BQop7fzg.js → log-BGwbCG2S.js} +0 -0
- /package/.output/public/assets/{logo-DKtnYmrp.js → logo-DHGHbFWy.js} +0 -0
- /package/.output/public/assets/{luau-Dha4KG0q.js → luau-qsvm_nYh.js} +0 -0
- /package/.output/public/assets/{make-DfmS6buu.js → make-Dlfjp_Q8.js} +0 -0
- /package/.output/public/assets/{markdown-BaI9LyM4.js → markdown-COh4ruD_.js} +0 -0
- /package/.output/public/assets/{material-theme-Dm6ETY8i.js → material-theme-Ccrl1jie.js} +0 -0
- /package/.output/public/assets/{material-theme-darker-BeyjmM5Z.js → material-theme-darker-CcOH0iHe.js} +0 -0
- /package/.output/public/assets/{material-theme-lighter-CCOYYzKL.js → material-theme-lighter-DoKpC7NM.js} +0 -0
- /package/.output/public/assets/{material-theme-ocean-CUtPiiX3.js → material-theme-ocean-BcvBZHgH.js} +0 -0
- /package/.output/public/assets/{material-theme-palenight-2L4zMwIM.js → material-theme-palenight-DIL4EAzl.js} +0 -0
- /package/.output/public/assets/{matlab-BT79Cq_j.js → matlab-CBqMuw7w.js} +0 -0
- /package/.output/public/assets/{mdx-CxGBwLNt.js → mdx-BjoJxHxW.js} +0 -0
- /package/.output/public/assets/{mermaid-DLf3axBN.js → mermaid-DjAh2yR5.js} +0 -0
- /package/.output/public/assets/{min-dark-B8TUPGHg.js → min-dark-CbwghdE5.js} +0 -0
- /package/.output/public/assets/{min-light-BDOoBxcA.js → min-light-_F39d_94.js} +0 -0
- /package/.output/public/assets/{mipsasm-DXuU_0cI.js → mipsasm-DA1H0O78.js} +0 -0
- /package/.output/public/assets/{mojo-1Omp2pIo.js → mojo-BVgjRjTn.js} +0 -0
- /package/.output/public/assets/{monokai-E_VBmXGZ.js → monokai-CxgvaWkX.js} +0 -0
- /package/.output/public/assets/{moonbit-DZzq699o.js → moonbit-tKY94ZOM.js} +0 -0
- /package/.output/public/assets/{move-DxDAOJVd.js → move-B5WspEjG.js} +0 -0
- /package/.output/public/assets/{narrat-CxDcPPb9.js → narrat-CDPRStf_.js} +0 -0
- /package/.output/public/assets/{nextflow-groovy-wvmJO4hi.js → nextflow-groovy-1GYTZoD5.js} +0 -0
- /package/.output/public/assets/{night-owl-DefhalNX.js → night-owl-CCydx7ZR.js} +0 -0
- /package/.output/public/assets/{night-owl-light-byb3AbEn.js → night-owl-light-CLM7UUPY.js} +0 -0
- /package/.output/public/assets/{nix-DsFTDHWT.js → nix-DXFN4IwW.js} +0 -0
- /package/.output/public/assets/{nord-D5rQzHT-.js → nord-CiCWZ1de.js} +0 -0
- /package/.output/public/assets/{nushell-BQ_rO0AM.js → nushell-Ck9o2qOx.js} +0 -0
- /package/.output/public/assets/{objective-c-BMq6JT_m.js → objective-c-4koxci9E.js} +0 -0
- /package/.output/public/assets/{objective-cpp-DRwojuGv.js → objective-cpp-BPFAgSN9.js} +0 -0
- /package/.output/public/assets/{ocaml-e4_gKO6E.js → ocaml-BdlBLhZV.js} +0 -0
- /package/.output/public/assets/{odin-mdTPwYOg.js → odin-BcGOLCqZ.js} +0 -0
- /package/.output/public/assets/{one-dark-pro-DxXww9jg.js → one-dark-pro-DEMdTgiO.js} +0 -0
- /package/.output/public/assets/{one-light-D9c03w7t.js → one-light-Cmpe9X1u.js} +0 -0
- /package/.output/public/assets/{openscad-D2aTdNfr.js → openscad-DBveSHYE.js} +0 -0
- /package/.output/public/assets/{pascal-D4n_G8vj.js → pascal-DxOVE99u.js} +0 -0
- /package/.output/public/assets/{pierre-dark-CizZ1Z5z.js → pierre-dark-DIUCKU6U.js} +0 -0
- /package/.output/public/assets/{pierre-light-CHMWfAMe.js → pierre-light-DVO2KPlh.js} +0 -0
- /package/.output/public/assets/{pkl-DcjhAp0L.js → pkl-pIvtf7Vu.js} +0 -0
- /package/.output/public/assets/{plastic-uOsw7z1x.js → plastic-Dvdf8qVN.js} +0 -0
- /package/.output/public/assets/{plsql-BSy3Ag0J.js → plsql-d50MFTFK.js} +0 -0
- /package/.output/public/assets/{po-Be96RYkA.js → po-CboxWwYg.js} +0 -0
- /package/.output/public/assets/{poimandres-CyO4HORD.js → poimandres-DHgQGH4M.js} +0 -0
- /package/.output/public/assets/{polar-BmhMKWum.js → polar-DNp7Oek8.js} +0 -0
- /package/.output/public/assets/{postcss-BTQso3H9.js → postcss-LpmI6XQv.js} +0 -0
- /package/.output/public/assets/{powerquery-DVyQv3M2.js → powerquery-BNCl8Uwz.js} +0 -0
- /package/.output/public/assets/{powershell-BmtCGJVD.js → powershell-CZ9J0XuS.js} +0 -0
- /package/.output/public/assets/{prisma-CCFA9rEj.js → prisma-AELUiJCl.js} +0 -0
- /package/.output/public/assets/{prolog-DWGEEo78.js → prolog-BlqwejRD.js} +0 -0
- /package/.output/public/assets/{proto-C3eop1kM.js → proto-DRQC3swD.js} +0 -0
- /package/.output/public/assets/{puppet-C0_7Nv5A.js → puppet-DBKR8MlH.js} +0 -0
- /package/.output/public/assets/{purescript-Bv-B8yRw.js → purescript-DItLzxZS.js} +0 -0
- /package/.output/public/assets/{python-CKg5r0C3.js → python-D9t_ETu8.js} +0 -0
- /package/.output/public/assets/{qmldir-Cqfb4Lox.js → qmldir-DP_KD1nk.js} +0 -0
- /package/.output/public/assets/{qss-Csho9BH8.js → qss-CL02opOd.js} +0 -0
- /package/.output/public/assets/{r-UcxRcvcA.js → r-DmmrCFmB.js} +0 -0
- /package/.output/public/assets/{racket-D8-uWeQH.js → racket-K0frLTWj.js} +0 -0
- /package/.output/public/assets/{raku-Cj4JSa8p.js → raku-DwgLlPg9.js} +0 -0
- /package/.output/public/assets/{red-z4H4llUY.js → red-DzDu-aXc.js} +0 -0
- /package/.output/public/assets/{reg-DXGFiJSl.js → reg-B_y3c7di.js} +0 -0
- /package/.output/public/assets/{regexp-3-A0406L.js → regexp--eMB47Xx.js} +0 -0
- /package/.output/public/assets/{rel-CunnVTBK.js → rel-CT65ywJp.js} +0 -0
- /package/.output/public/assets/{riscv-C8BcOCkS.js → riscv-Qv5W2vIg.js} +0 -0
- /package/.output/public/assets/{ron-DiDyR9oa.js → ron-cRHu9zPp.js} +0 -0
- /package/.output/public/assets/{rose-pine-BADquuIH.js → rose-pine-DFmTJHIJ.js} +0 -0
- /package/.output/public/assets/{rose-pine-dawn-BLcEeBoh.js → rose-pine-dawn-YIuK9wUm.js} +0 -0
- /package/.output/public/assets/{rose-pine-moon-BK_tLY1Y.js → rose-pine-moon-BYEHfkUB.js} +0 -0
- /package/.output/public/assets/{rosmsg-CHmL1Uyj.js → rosmsg-_L1z4wrx.js} +0 -0
- /package/.output/public/assets/{rust-DjJFInu3.js → rust-BA5wQ_EY.js} +0 -0
- /package/.output/public/assets/{sass-D3xZ5o-v.js → sass-sd__ov8V.js} +0 -0
- /package/.output/public/assets/{scala-B0IRml5w.js → scala--cVG4U7H.js} +0 -0
- /package/.output/public/assets/{scheme-BhwcV3Av.js → scheme-D6Q1O-kY.js} +0 -0
- /package/.output/public/assets/{sdbl-BmWYR-pI.js → sdbl-jB0DUrL_.js} +0 -0
- /package/.output/public/assets/{shellscript-DaVPunOM.js → shellscript-DyWRuzkj.js} +0 -0
- /package/.output/public/assets/{slack-dark-DOnVms5P.js → slack-dark-DHhAlQBa.js} +0 -0
- /package/.output/public/assets/{slack-ochin-DcRTft4q.js → slack-ochin-PZXbcZaN.js} +0 -0
- /package/.output/public/assets/{smalltalk-DVQuUMII.js → smalltalk-C7VkdTlv.js} +0 -0
- /package/.output/public/assets/{snazzy-light-x9CLJ1W9.js → snazzy-light-CPc_Qts9.js} +0 -0
- /package/.output/public/assets/{solarized-dark-BB1sh-pe.js → solarized-dark-DCCfKtTh.js} +0 -0
- /package/.output/public/assets/{solarized-light-9-RPS998.js → solarized-light-B84T-R9X.js} +0 -0
- /package/.output/public/assets/{solidity-gQ4WXILB.js → solidity-DVsDPpDS.js} +0 -0
- /package/.output/public/assets/{splunk-OB48_RcD.js → splunk-A-BwP6Va.js} +0 -0
- /package/.output/public/assets/{sql-CrTmZCMa.js → sql-CRzu7iKx.js} +0 -0
- /package/.output/public/assets/{ssh-config-DA9YMRGV.js → ssh-config-CFPv6mTy.js} +0 -0
- /package/.output/public/assets/{stylus-sKwvsUaC.js → stylus-CUf3IESt.js} +0 -0
- /package/.output/public/assets/{swift-C72NbAtg.js → swift-CSiiYB_Q.js} +0 -0
- /package/.output/public/assets/{synthwave-84-eJ9uRN_S.js → synthwave-84-uJp1j2Jd.js} +0 -0
- /package/.output/public/assets/{system-verilog-CnWMF7Nq.js → system-verilog-rMjKy-O9.js} +0 -0
- /package/.output/public/assets/{systemd-DMzItW5N.js → systemd-R-KDM4-t.js} +0 -0
- /package/.output/public/assets/{talonscript-DopQCWDL.js → talonscript-D666vCtm.js} +0 -0
- /package/.output/public/assets/{tasl-C28SYKbq.js → tasl-68cbBocU.js} +0 -0
- /package/.output/public/assets/{tcl-DHq7zmoF.js → tcl-Y39dJ_pX.js} +0 -0
- /package/.output/public/assets/{terraform-CogS1YKX.js → terraform-BF7wAo-b.js} +0 -0
- /package/.output/public/assets/{tokyo-night-B9N7LyrF.js → tokyo-night-EeABtN82.js} +0 -0
- /package/.output/public/assets/{toml-BH_iPsgK.js → toml-BrMFN1JF.js} +0 -0
- /package/.output/public/assets/{tsv-BIkdBZX1.js → tsv-Dp2l5v7f.js} +0 -0
- /package/.output/public/assets/{tsx-BjkCKOtw.js → tsx-CQqypS0k.js} +0 -0
- /package/.output/public/assets/{turtle-CqNXyJWZ.js → turtle-_N1aDtpV.js} +0 -0
- /package/.output/public/assets/{typescript-BoHeP9q1.js → typescript-CPmDkqmE.js} +0 -0
- /package/.output/public/assets/{typespec-CQ9LYD_e.js → typespec-ghgF2GAI.js} +0 -0
- /package/.output/public/assets/{typst-T-Fsk-Sv.js → typst-DP_izaNK.js} +0 -0
- /package/.output/public/assets/{v-BhMEOw9x.js → v-CdNC_Wok.js} +0 -0
- /package/.output/public/assets/{vala-DzajMnwt.js → vala-Bu4pYkLC.js} +0 -0
- /package/.output/public/assets/{vb-7Xr8dEYW.js → vb-u84IyWSS.js} +0 -0
- /package/.output/public/assets/{verilog-AvXtwZir.js → verilog-BC33pi7Z.js} +0 -0
- /package/.output/public/assets/{vesper-CtgQQ2sf.js → vesper-7-XtS0Kg.js} +0 -0
- /package/.output/public/assets/{vhdl-BHu0zg1P.js → vhdl-BBxTOQe0.js} +0 -0
- /package/.output/public/assets/{viml-Di0QpLfC.js → viml-X_r-ivXA.js} +0 -0
- /package/.output/public/assets/{vitesse-black-jXdfyqgD.js → vitesse-black-DRdlY-cW.js} +0 -0
- /package/.output/public/assets/{vitesse-dark-B88PxG1r.js → vitesse-dark-Bz0hOFHJ.js} +0 -0
- /package/.output/public/assets/{vitesse-light-BXxZh2iV.js → vitesse-light-7kCLd0yn.js} +0 -0
- /package/.output/public/assets/{vyper-C3R5yXgx.js → vyper-E7qIwMXy.js} +0 -0
- /package/.output/public/assets/{wasm-D_MQmneJ.js → wasm-BqG9CUph.js} +0 -0
- /package/.output/public/assets/{wasm-Chsuwt1A.js → wasm-C18OEcCL.js} +0 -0
- /package/.output/public/assets/{wenyan-BonVcr2i.js → wenyan-siXAC4el.js} +0 -0
- /package/.output/public/assets/{wgsl-D59WYmNq.js → wgsl-BJQt8Uld.js} +0 -0
- /package/.output/public/assets/{wikitext-ariTI2Wk.js → wikitext-Ci0ePJmf.js} +0 -0
- /package/.output/public/assets/{wit-EA4fa3Dt.js → wit-BdDJ7geN.js} +0 -0
- /package/.output/public/assets/{wolfram-DDp7LhyU.js → wolfram-Bi-O1IUM.js} +0 -0
- /package/.output/public/assets/{xterm-CCMwI7sy.js → xterm-TTe2Bv9Z.js} +0 -0
- /package/.output/public/assets/{yaml-BTD1XHJG.js → yaml-DgkO7CC2.js} +0 -0
- /package/.output/public/assets/{zenscript-4WaROUyc.js → zenscript-CnkrxCBw.js} +0 -0
- /package/.output/public/assets/{zig-CJoLJGwV.js → zig-CgMsxF9-.js} +0 -0
|
@@ -1,1789 +0,0 @@
|
|
|
1
|
-
import { i as __toESM } from "../../_runtime.mjs";
|
|
2
|
-
import { $ as require_react, Q as require_jsx_runtime, X as require_react_dom } from "../@base-ui/react+[...].mjs";
|
|
3
|
-
import { t as composeEventHandlers } from "../radix-ui__primitive.mjs";
|
|
4
|
-
import { n as useComposedRefs, t as composeRefs } from "../radix-ui__react-compose-refs.mjs";
|
|
5
|
-
import { n as createContextScope, t as createContext2 } from "../radix-ui__react-context.mjs";
|
|
6
|
-
import { __assign, __rest, __spreadArray } from "tslib";
|
|
7
|
-
//#region node_modules/.pnpm/@radix-ui+react-use-layout-effect@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs
|
|
8
|
-
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
9
|
-
var useLayoutEffect2 = globalThis?.document ? import_react.useLayoutEffect : () => {};
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region node_modules/.pnpm/@radix-ui+react-id@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
12
|
-
var useReactId = import_react[" useId ".trim().toString()] || (() => void 0);
|
|
13
|
-
var count$1 = 0;
|
|
14
|
-
function useId(deterministicId) {
|
|
15
|
-
const [id, setId] = import_react.useState(useReactId());
|
|
16
|
-
useLayoutEffect2(() => {
|
|
17
|
-
if (!deterministicId) setId((reactId) => reactId ?? String(count$1++));
|
|
18
|
-
}, [deterministicId]);
|
|
19
|
-
return deterministicId || (id ? `radix-${id}` : "");
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region node_modules/.pnpm/@radix-ui+react-use-controllable-state@1.2.2_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
23
|
-
var useInsertionEffect = import_react[" useInsertionEffect ".trim().toString()] || useLayoutEffect2;
|
|
24
|
-
function useControllableState({ prop, defaultProp, onChange = () => {}, caller }) {
|
|
25
|
-
const [uncontrolledProp, setUncontrolledProp, onChangeRef] = useUncontrolledState({
|
|
26
|
-
defaultProp,
|
|
27
|
-
onChange
|
|
28
|
-
});
|
|
29
|
-
const isControlled = prop !== void 0;
|
|
30
|
-
const value = isControlled ? prop : uncontrolledProp;
|
|
31
|
-
{
|
|
32
|
-
const isControlledRef = import_react.useRef(prop !== void 0);
|
|
33
|
-
import_react.useEffect(() => {
|
|
34
|
-
const wasControlled = isControlledRef.current;
|
|
35
|
-
if (wasControlled !== isControlled) console.warn(`${caller} is changing from ${wasControlled ? "controlled" : "uncontrolled"} to ${isControlled ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`);
|
|
36
|
-
isControlledRef.current = isControlled;
|
|
37
|
-
}, [isControlled, caller]);
|
|
38
|
-
}
|
|
39
|
-
return [value, import_react.useCallback((nextValue) => {
|
|
40
|
-
if (isControlled) {
|
|
41
|
-
const value2 = isFunction(nextValue) ? nextValue(prop) : nextValue;
|
|
42
|
-
if (value2 !== prop) onChangeRef.current?.(value2);
|
|
43
|
-
} else setUncontrolledProp(nextValue);
|
|
44
|
-
}, [
|
|
45
|
-
isControlled,
|
|
46
|
-
prop,
|
|
47
|
-
setUncontrolledProp,
|
|
48
|
-
onChangeRef
|
|
49
|
-
])];
|
|
50
|
-
}
|
|
51
|
-
function useUncontrolledState({ defaultProp, onChange }) {
|
|
52
|
-
const [value, setValue] = import_react.useState(defaultProp);
|
|
53
|
-
const prevValueRef = import_react.useRef(value);
|
|
54
|
-
const onChangeRef = import_react.useRef(onChange);
|
|
55
|
-
useInsertionEffect(() => {
|
|
56
|
-
onChangeRef.current = onChange;
|
|
57
|
-
}, [onChange]);
|
|
58
|
-
import_react.useEffect(() => {
|
|
59
|
-
if (prevValueRef.current !== value) {
|
|
60
|
-
onChangeRef.current?.(value);
|
|
61
|
-
prevValueRef.current = value;
|
|
62
|
-
}
|
|
63
|
-
}, [value, prevValueRef]);
|
|
64
|
-
return [
|
|
65
|
-
value,
|
|
66
|
-
setValue,
|
|
67
|
-
onChangeRef
|
|
68
|
-
];
|
|
69
|
-
}
|
|
70
|
-
function isFunction(value) {
|
|
71
|
-
return typeof value === "function";
|
|
72
|
-
}
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region node_modules/.pnpm/@radix-ui+react-slot@1.2.3_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
75
|
-
var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
|
|
76
|
-
var import_jsx_runtime = require_jsx_runtime();
|
|
77
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
78
|
-
function createSlot(ownerName) {
|
|
79
|
-
const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);
|
|
80
|
-
const Slot2 = import_react.forwardRef((props, forwardedRef) => {
|
|
81
|
-
const { children, ...slotProps } = props;
|
|
82
|
-
const childrenArray = import_react.Children.toArray(children);
|
|
83
|
-
const slottable = childrenArray.find(isSlottable);
|
|
84
|
-
if (slottable) {
|
|
85
|
-
const newElement = slottable.props.children;
|
|
86
|
-
const newChildren = childrenArray.map((child) => {
|
|
87
|
-
if (child === slottable) {
|
|
88
|
-
if (import_react.Children.count(newElement) > 1) return import_react.Children.only(null);
|
|
89
|
-
return import_react.isValidElement(newElement) ? newElement.props.children : null;
|
|
90
|
-
} else return child;
|
|
91
|
-
});
|
|
92
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlotClone, {
|
|
93
|
-
...slotProps,
|
|
94
|
-
ref: forwardedRef,
|
|
95
|
-
children: import_react.isValidElement(newElement) ? import_react.cloneElement(newElement, void 0, newChildren) : null
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlotClone, {
|
|
99
|
-
...slotProps,
|
|
100
|
-
ref: forwardedRef,
|
|
101
|
-
children
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
Slot2.displayName = `${ownerName}.Slot`;
|
|
105
|
-
return Slot2;
|
|
106
|
-
}
|
|
107
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
108
|
-
function createSlotClone(ownerName) {
|
|
109
|
-
const SlotClone = import_react.forwardRef((props, forwardedRef) => {
|
|
110
|
-
const { children, ...slotProps } = props;
|
|
111
|
-
if (import_react.isValidElement(children)) {
|
|
112
|
-
const childrenRef = getElementRef$1(children);
|
|
113
|
-
const props2 = mergeProps(slotProps, children.props);
|
|
114
|
-
if (children.type !== import_react.Fragment) props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;
|
|
115
|
-
return import_react.cloneElement(children, props2);
|
|
116
|
-
}
|
|
117
|
-
return import_react.Children.count(children) > 1 ? import_react.Children.only(null) : null;
|
|
118
|
-
});
|
|
119
|
-
SlotClone.displayName = `${ownerName}.SlotClone`;
|
|
120
|
-
return SlotClone;
|
|
121
|
-
}
|
|
122
|
-
var SLOTTABLE_IDENTIFIER = Symbol("radix.slottable");
|
|
123
|
-
function isSlottable(child) {
|
|
124
|
-
return import_react.isValidElement(child) && typeof child.type === "function" && "__radixId" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;
|
|
125
|
-
}
|
|
126
|
-
function mergeProps(slotProps, childProps) {
|
|
127
|
-
const overrideProps = { ...childProps };
|
|
128
|
-
for (const propName in childProps) {
|
|
129
|
-
const slotPropValue = slotProps[propName];
|
|
130
|
-
const childPropValue = childProps[propName];
|
|
131
|
-
if (/^on[A-Z]/.test(propName)) {
|
|
132
|
-
if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
|
|
133
|
-
const result = childPropValue(...args);
|
|
134
|
-
slotPropValue(...args);
|
|
135
|
-
return result;
|
|
136
|
-
};
|
|
137
|
-
else if (slotPropValue) overrideProps[propName] = slotPropValue;
|
|
138
|
-
} else if (propName === "style") overrideProps[propName] = {
|
|
139
|
-
...slotPropValue,
|
|
140
|
-
...childPropValue
|
|
141
|
-
};
|
|
142
|
-
else if (propName === "className") overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(" ");
|
|
143
|
-
}
|
|
144
|
-
return {
|
|
145
|
-
...slotProps,
|
|
146
|
-
...overrideProps
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
function getElementRef$1(element) {
|
|
150
|
-
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
151
|
-
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
152
|
-
if (mayWarn) return element.ref;
|
|
153
|
-
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
154
|
-
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
155
|
-
if (mayWarn) return element.props.ref;
|
|
156
|
-
return element.props.ref || element.ref;
|
|
157
|
-
}
|
|
158
|
-
//#endregion
|
|
159
|
-
//#region node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.2.3_@types+react@19.2.14__@types+re_004379973539b6d86227cd4562b544dc/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
160
|
-
var Primitive = [
|
|
161
|
-
"a",
|
|
162
|
-
"button",
|
|
163
|
-
"div",
|
|
164
|
-
"form",
|
|
165
|
-
"h2",
|
|
166
|
-
"h3",
|
|
167
|
-
"img",
|
|
168
|
-
"input",
|
|
169
|
-
"label",
|
|
170
|
-
"li",
|
|
171
|
-
"nav",
|
|
172
|
-
"ol",
|
|
173
|
-
"p",
|
|
174
|
-
"select",
|
|
175
|
-
"span",
|
|
176
|
-
"svg",
|
|
177
|
-
"ul"
|
|
178
|
-
].reduce((primitive, node) => {
|
|
179
|
-
const Slot = /* @__PURE__ */ createSlot(`Primitive.${node}`);
|
|
180
|
-
const Node = import_react.forwardRef((props, forwardedRef) => {
|
|
181
|
-
const { asChild, ...primitiveProps } = props;
|
|
182
|
-
const Comp = asChild ? Slot : node;
|
|
183
|
-
if (typeof window !== "undefined") window[Symbol.for("radix-ui")] = true;
|
|
184
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, {
|
|
185
|
-
...primitiveProps,
|
|
186
|
-
ref: forwardedRef
|
|
187
|
-
});
|
|
188
|
-
});
|
|
189
|
-
Node.displayName = `Primitive.${node}`;
|
|
190
|
-
return {
|
|
191
|
-
...primitive,
|
|
192
|
-
[node]: Node
|
|
193
|
-
};
|
|
194
|
-
}, {});
|
|
195
|
-
function dispatchDiscreteCustomEvent(target, event) {
|
|
196
|
-
if (target) import_react_dom.flushSync(() => target.dispatchEvent(event));
|
|
197
|
-
}
|
|
198
|
-
//#endregion
|
|
199
|
-
//#region node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
200
|
-
function useCallbackRef$1(callback) {
|
|
201
|
-
const callbackRef = import_react.useRef(callback);
|
|
202
|
-
import_react.useEffect(() => {
|
|
203
|
-
callbackRef.current = callback;
|
|
204
|
-
});
|
|
205
|
-
return import_react.useMemo(() => (...args) => callbackRef.current?.(...args), []);
|
|
206
|
-
}
|
|
207
|
-
//#endregion
|
|
208
|
-
//#region node_modules/.pnpm/@radix-ui+react-use-escape-keydown@1.1.1_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs
|
|
209
|
-
function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {
|
|
210
|
-
const onEscapeKeyDown = useCallbackRef$1(onEscapeKeyDownProp);
|
|
211
|
-
import_react.useEffect(() => {
|
|
212
|
-
const handleKeyDown = (event) => {
|
|
213
|
-
if (event.key === "Escape") onEscapeKeyDown(event);
|
|
214
|
-
};
|
|
215
|
-
ownerDocument.addEventListener("keydown", handleKeyDown, { capture: true });
|
|
216
|
-
return () => ownerDocument.removeEventListener("keydown", handleKeyDown, { capture: true });
|
|
217
|
-
}, [onEscapeKeyDown, ownerDocument]);
|
|
218
|
-
}
|
|
219
|
-
//#endregion
|
|
220
|
-
//#region node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.11_@types+react-dom@19.2.3_@types+react@19.2.14___1028c2c016475a479b27a6c04520b6b2/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
221
|
-
var DISMISSABLE_LAYER_NAME = "DismissableLayer";
|
|
222
|
-
var CONTEXT_UPDATE = "dismissableLayer.update";
|
|
223
|
-
var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
|
|
224
|
-
var FOCUS_OUTSIDE = "dismissableLayer.focusOutside";
|
|
225
|
-
var originalBodyPointerEvents;
|
|
226
|
-
var DismissableLayerContext = import_react.createContext({
|
|
227
|
-
layers: /* @__PURE__ */ new Set(),
|
|
228
|
-
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
229
|
-
branches: /* @__PURE__ */ new Set()
|
|
230
|
-
});
|
|
231
|
-
var DismissableLayer = import_react.forwardRef((props, forwardedRef) => {
|
|
232
|
-
const { disableOutsidePointerEvents = false, onEscapeKeyDown, onPointerDownOutside, onFocusOutside, onInteractOutside, onDismiss, ...layerProps } = props;
|
|
233
|
-
const context = import_react.useContext(DismissableLayerContext);
|
|
234
|
-
const [node, setNode] = import_react.useState(null);
|
|
235
|
-
const ownerDocument = node?.ownerDocument ?? globalThis?.document;
|
|
236
|
-
const [, force] = import_react.useState({});
|
|
237
|
-
const composedRefs = useComposedRefs(forwardedRef, (node2) => setNode(node2));
|
|
238
|
-
const layers = Array.from(context.layers);
|
|
239
|
-
const [highestLayerWithOutsidePointerEventsDisabled] = [...context.layersWithOutsidePointerEventsDisabled].slice(-1);
|
|
240
|
-
const highestLayerWithOutsidePointerEventsDisabledIndex = layers.indexOf(highestLayerWithOutsidePointerEventsDisabled);
|
|
241
|
-
const index = node ? layers.indexOf(node) : -1;
|
|
242
|
-
const isBodyPointerEventsDisabled = context.layersWithOutsidePointerEventsDisabled.size > 0;
|
|
243
|
-
const isPointerEventsEnabled = index >= highestLayerWithOutsidePointerEventsDisabledIndex;
|
|
244
|
-
const pointerDownOutside = usePointerDownOutside((event) => {
|
|
245
|
-
const target = event.target;
|
|
246
|
-
const isPointerDownOnBranch = [...context.branches].some((branch) => branch.contains(target));
|
|
247
|
-
if (!isPointerEventsEnabled || isPointerDownOnBranch) return;
|
|
248
|
-
onPointerDownOutside?.(event);
|
|
249
|
-
onInteractOutside?.(event);
|
|
250
|
-
if (!event.defaultPrevented) onDismiss?.();
|
|
251
|
-
}, ownerDocument);
|
|
252
|
-
const focusOutside = useFocusOutside((event) => {
|
|
253
|
-
const target = event.target;
|
|
254
|
-
if ([...context.branches].some((branch) => branch.contains(target))) return;
|
|
255
|
-
onFocusOutside?.(event);
|
|
256
|
-
onInteractOutside?.(event);
|
|
257
|
-
if (!event.defaultPrevented) onDismiss?.();
|
|
258
|
-
}, ownerDocument);
|
|
259
|
-
useEscapeKeydown((event) => {
|
|
260
|
-
if (!(index === context.layers.size - 1)) return;
|
|
261
|
-
onEscapeKeyDown?.(event);
|
|
262
|
-
if (!event.defaultPrevented && onDismiss) {
|
|
263
|
-
event.preventDefault();
|
|
264
|
-
onDismiss();
|
|
265
|
-
}
|
|
266
|
-
}, ownerDocument);
|
|
267
|
-
import_react.useEffect(() => {
|
|
268
|
-
if (!node) return;
|
|
269
|
-
if (disableOutsidePointerEvents) {
|
|
270
|
-
if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
|
|
271
|
-
originalBodyPointerEvents = ownerDocument.body.style.pointerEvents;
|
|
272
|
-
ownerDocument.body.style.pointerEvents = "none";
|
|
273
|
-
}
|
|
274
|
-
context.layersWithOutsidePointerEventsDisabled.add(node);
|
|
275
|
-
}
|
|
276
|
-
context.layers.add(node);
|
|
277
|
-
dispatchUpdate();
|
|
278
|
-
return () => {
|
|
279
|
-
if (disableOutsidePointerEvents && context.layersWithOutsidePointerEventsDisabled.size === 1) ownerDocument.body.style.pointerEvents = originalBodyPointerEvents;
|
|
280
|
-
};
|
|
281
|
-
}, [
|
|
282
|
-
node,
|
|
283
|
-
ownerDocument,
|
|
284
|
-
disableOutsidePointerEvents,
|
|
285
|
-
context
|
|
286
|
-
]);
|
|
287
|
-
import_react.useEffect(() => {
|
|
288
|
-
return () => {
|
|
289
|
-
if (!node) return;
|
|
290
|
-
context.layers.delete(node);
|
|
291
|
-
context.layersWithOutsidePointerEventsDisabled.delete(node);
|
|
292
|
-
dispatchUpdate();
|
|
293
|
-
};
|
|
294
|
-
}, [node, context]);
|
|
295
|
-
import_react.useEffect(() => {
|
|
296
|
-
const handleUpdate = () => force({});
|
|
297
|
-
document.addEventListener(CONTEXT_UPDATE, handleUpdate);
|
|
298
|
-
return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
|
|
299
|
-
}, []);
|
|
300
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
301
|
-
...layerProps,
|
|
302
|
-
ref: composedRefs,
|
|
303
|
-
style: {
|
|
304
|
-
pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? "auto" : "none" : void 0,
|
|
305
|
-
...props.style
|
|
306
|
-
},
|
|
307
|
-
onFocusCapture: composeEventHandlers(props.onFocusCapture, focusOutside.onFocusCapture),
|
|
308
|
-
onBlurCapture: composeEventHandlers(props.onBlurCapture, focusOutside.onBlurCapture),
|
|
309
|
-
onPointerDownCapture: composeEventHandlers(props.onPointerDownCapture, pointerDownOutside.onPointerDownCapture)
|
|
310
|
-
});
|
|
311
|
-
});
|
|
312
|
-
DismissableLayer.displayName = DISMISSABLE_LAYER_NAME;
|
|
313
|
-
var BRANCH_NAME = "DismissableLayerBranch";
|
|
314
|
-
var DismissableLayerBranch = import_react.forwardRef((props, forwardedRef) => {
|
|
315
|
-
const context = import_react.useContext(DismissableLayerContext);
|
|
316
|
-
const ref = import_react.useRef(null);
|
|
317
|
-
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
318
|
-
import_react.useEffect(() => {
|
|
319
|
-
const node = ref.current;
|
|
320
|
-
if (node) {
|
|
321
|
-
context.branches.add(node);
|
|
322
|
-
return () => {
|
|
323
|
-
context.branches.delete(node);
|
|
324
|
-
};
|
|
325
|
-
}
|
|
326
|
-
}, [context.branches]);
|
|
327
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
328
|
-
...props,
|
|
329
|
-
ref: composedRefs
|
|
330
|
-
});
|
|
331
|
-
});
|
|
332
|
-
DismissableLayerBranch.displayName = BRANCH_NAME;
|
|
333
|
-
function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
|
|
334
|
-
const handlePointerDownOutside = useCallbackRef$1(onPointerDownOutside);
|
|
335
|
-
const isPointerInsideReactTreeRef = import_react.useRef(false);
|
|
336
|
-
const handleClickRef = import_react.useRef(() => {});
|
|
337
|
-
import_react.useEffect(() => {
|
|
338
|
-
const handlePointerDown = (event) => {
|
|
339
|
-
if (event.target && !isPointerInsideReactTreeRef.current) {
|
|
340
|
-
let handleAndDispatchPointerDownOutsideEvent2 = function() {
|
|
341
|
-
handleAndDispatchCustomEvent(POINTER_DOWN_OUTSIDE, handlePointerDownOutside, eventDetail, { discrete: true });
|
|
342
|
-
};
|
|
343
|
-
const eventDetail = { originalEvent: event };
|
|
344
|
-
if (event.pointerType === "touch") {
|
|
345
|
-
ownerDocument.removeEventListener("click", handleClickRef.current);
|
|
346
|
-
handleClickRef.current = handleAndDispatchPointerDownOutsideEvent2;
|
|
347
|
-
ownerDocument.addEventListener("click", handleClickRef.current, { once: true });
|
|
348
|
-
} else handleAndDispatchPointerDownOutsideEvent2();
|
|
349
|
-
} else ownerDocument.removeEventListener("click", handleClickRef.current);
|
|
350
|
-
isPointerInsideReactTreeRef.current = false;
|
|
351
|
-
};
|
|
352
|
-
const timerId = window.setTimeout(() => {
|
|
353
|
-
ownerDocument.addEventListener("pointerdown", handlePointerDown);
|
|
354
|
-
}, 0);
|
|
355
|
-
return () => {
|
|
356
|
-
window.clearTimeout(timerId);
|
|
357
|
-
ownerDocument.removeEventListener("pointerdown", handlePointerDown);
|
|
358
|
-
ownerDocument.removeEventListener("click", handleClickRef.current);
|
|
359
|
-
};
|
|
360
|
-
}, [ownerDocument, handlePointerDownOutside]);
|
|
361
|
-
return { onPointerDownCapture: () => isPointerInsideReactTreeRef.current = true };
|
|
362
|
-
}
|
|
363
|
-
function useFocusOutside(onFocusOutside, ownerDocument = globalThis?.document) {
|
|
364
|
-
const handleFocusOutside = useCallbackRef$1(onFocusOutside);
|
|
365
|
-
const isFocusInsideReactTreeRef = import_react.useRef(false);
|
|
366
|
-
import_react.useEffect(() => {
|
|
367
|
-
const handleFocus = (event) => {
|
|
368
|
-
if (event.target && !isFocusInsideReactTreeRef.current) handleAndDispatchCustomEvent(FOCUS_OUTSIDE, handleFocusOutside, { originalEvent: event }, { discrete: false });
|
|
369
|
-
};
|
|
370
|
-
ownerDocument.addEventListener("focusin", handleFocus);
|
|
371
|
-
return () => ownerDocument.removeEventListener("focusin", handleFocus);
|
|
372
|
-
}, [ownerDocument, handleFocusOutside]);
|
|
373
|
-
return {
|
|
374
|
-
onFocusCapture: () => isFocusInsideReactTreeRef.current = true,
|
|
375
|
-
onBlurCapture: () => isFocusInsideReactTreeRef.current = false
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
function dispatchUpdate() {
|
|
379
|
-
const event = new CustomEvent(CONTEXT_UPDATE);
|
|
380
|
-
document.dispatchEvent(event);
|
|
381
|
-
}
|
|
382
|
-
function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
|
|
383
|
-
const target = detail.originalEvent.target;
|
|
384
|
-
const event = new CustomEvent(name, {
|
|
385
|
-
bubbles: false,
|
|
386
|
-
cancelable: true,
|
|
387
|
-
detail
|
|
388
|
-
});
|
|
389
|
-
if (handler) target.addEventListener(name, handler, { once: true });
|
|
390
|
-
if (discrete) dispatchDiscreteCustomEvent(target, event);
|
|
391
|
-
else target.dispatchEvent(event);
|
|
392
|
-
}
|
|
393
|
-
//#endregion
|
|
394
|
-
//#region node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.2.3_@types+react@19.2.14__@types+_ba36e4abb1b5b8160094c10bc652129f/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
395
|
-
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
396
|
-
var AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount";
|
|
397
|
-
var EVENT_OPTIONS = {
|
|
398
|
-
bubbles: false,
|
|
399
|
-
cancelable: true
|
|
400
|
-
};
|
|
401
|
-
var FOCUS_SCOPE_NAME = "FocusScope";
|
|
402
|
-
var FocusScope = import_react.forwardRef((props, forwardedRef) => {
|
|
403
|
-
const { loop = false, trapped = false, onMountAutoFocus: onMountAutoFocusProp, onUnmountAutoFocus: onUnmountAutoFocusProp, ...scopeProps } = props;
|
|
404
|
-
const [container, setContainer] = import_react.useState(null);
|
|
405
|
-
const onMountAutoFocus = useCallbackRef$1(onMountAutoFocusProp);
|
|
406
|
-
const onUnmountAutoFocus = useCallbackRef$1(onUnmountAutoFocusProp);
|
|
407
|
-
const lastFocusedElementRef = import_react.useRef(null);
|
|
408
|
-
const composedRefs = useComposedRefs(forwardedRef, (node) => setContainer(node));
|
|
409
|
-
const focusScope = import_react.useRef({
|
|
410
|
-
paused: false,
|
|
411
|
-
pause() {
|
|
412
|
-
this.paused = true;
|
|
413
|
-
},
|
|
414
|
-
resume() {
|
|
415
|
-
this.paused = false;
|
|
416
|
-
}
|
|
417
|
-
}).current;
|
|
418
|
-
import_react.useEffect(() => {
|
|
419
|
-
if (trapped) {
|
|
420
|
-
let handleFocusIn2 = function(event) {
|
|
421
|
-
if (focusScope.paused || !container) return;
|
|
422
|
-
const target = event.target;
|
|
423
|
-
if (container.contains(target)) lastFocusedElementRef.current = target;
|
|
424
|
-
else focus(lastFocusedElementRef.current, { select: true });
|
|
425
|
-
}, handleFocusOut2 = function(event) {
|
|
426
|
-
if (focusScope.paused || !container) return;
|
|
427
|
-
const relatedTarget = event.relatedTarget;
|
|
428
|
-
if (relatedTarget === null) return;
|
|
429
|
-
if (!container.contains(relatedTarget)) focus(lastFocusedElementRef.current, { select: true });
|
|
430
|
-
}, handleMutations2 = function(mutations) {
|
|
431
|
-
if (document.activeElement !== document.body) return;
|
|
432
|
-
for (const mutation of mutations) if (mutation.removedNodes.length > 0) focus(container);
|
|
433
|
-
};
|
|
434
|
-
document.addEventListener("focusin", handleFocusIn2);
|
|
435
|
-
document.addEventListener("focusout", handleFocusOut2);
|
|
436
|
-
const mutationObserver = new MutationObserver(handleMutations2);
|
|
437
|
-
if (container) mutationObserver.observe(container, {
|
|
438
|
-
childList: true,
|
|
439
|
-
subtree: true
|
|
440
|
-
});
|
|
441
|
-
return () => {
|
|
442
|
-
document.removeEventListener("focusin", handleFocusIn2);
|
|
443
|
-
document.removeEventListener("focusout", handleFocusOut2);
|
|
444
|
-
mutationObserver.disconnect();
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
}, [
|
|
448
|
-
trapped,
|
|
449
|
-
container,
|
|
450
|
-
focusScope.paused
|
|
451
|
-
]);
|
|
452
|
-
import_react.useEffect(() => {
|
|
453
|
-
if (container) {
|
|
454
|
-
focusScopesStack.add(focusScope);
|
|
455
|
-
const previouslyFocusedElement = document.activeElement;
|
|
456
|
-
if (!container.contains(previouslyFocusedElement)) {
|
|
457
|
-
const mountEvent = new CustomEvent(AUTOFOCUS_ON_MOUNT, EVENT_OPTIONS);
|
|
458
|
-
container.addEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
|
|
459
|
-
container.dispatchEvent(mountEvent);
|
|
460
|
-
if (!mountEvent.defaultPrevented) {
|
|
461
|
-
focusFirst(removeLinks(getTabbableCandidates(container)), { select: true });
|
|
462
|
-
if (document.activeElement === previouslyFocusedElement) focus(container);
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
return () => {
|
|
466
|
-
container.removeEventListener(AUTOFOCUS_ON_MOUNT, onMountAutoFocus);
|
|
467
|
-
setTimeout(() => {
|
|
468
|
-
const unmountEvent = new CustomEvent(AUTOFOCUS_ON_UNMOUNT, EVENT_OPTIONS);
|
|
469
|
-
container.addEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
|
|
470
|
-
container.dispatchEvent(unmountEvent);
|
|
471
|
-
if (!unmountEvent.defaultPrevented) focus(previouslyFocusedElement ?? document.body, { select: true });
|
|
472
|
-
container.removeEventListener(AUTOFOCUS_ON_UNMOUNT, onUnmountAutoFocus);
|
|
473
|
-
focusScopesStack.remove(focusScope);
|
|
474
|
-
}, 0);
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
|
-
}, [
|
|
478
|
-
container,
|
|
479
|
-
onMountAutoFocus,
|
|
480
|
-
onUnmountAutoFocus,
|
|
481
|
-
focusScope
|
|
482
|
-
]);
|
|
483
|
-
const handleKeyDown = import_react.useCallback((event) => {
|
|
484
|
-
if (!loop && !trapped) return;
|
|
485
|
-
if (focusScope.paused) return;
|
|
486
|
-
const isTabKey = event.key === "Tab" && !event.altKey && !event.ctrlKey && !event.metaKey;
|
|
487
|
-
const focusedElement = document.activeElement;
|
|
488
|
-
if (isTabKey && focusedElement) {
|
|
489
|
-
const container2 = event.currentTarget;
|
|
490
|
-
const [first, last] = getTabbableEdges(container2);
|
|
491
|
-
if (!(first && last)) {
|
|
492
|
-
if (focusedElement === container2) event.preventDefault();
|
|
493
|
-
} else if (!event.shiftKey && focusedElement === last) {
|
|
494
|
-
event.preventDefault();
|
|
495
|
-
if (loop) focus(first, { select: true });
|
|
496
|
-
} else if (event.shiftKey && focusedElement === first) {
|
|
497
|
-
event.preventDefault();
|
|
498
|
-
if (loop) focus(last, { select: true });
|
|
499
|
-
}
|
|
500
|
-
}
|
|
501
|
-
}, [
|
|
502
|
-
loop,
|
|
503
|
-
trapped,
|
|
504
|
-
focusScope.paused
|
|
505
|
-
]);
|
|
506
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
507
|
-
tabIndex: -1,
|
|
508
|
-
...scopeProps,
|
|
509
|
-
ref: composedRefs,
|
|
510
|
-
onKeyDown: handleKeyDown
|
|
511
|
-
});
|
|
512
|
-
});
|
|
513
|
-
FocusScope.displayName = FOCUS_SCOPE_NAME;
|
|
514
|
-
function focusFirst(candidates, { select = false } = {}) {
|
|
515
|
-
const previouslyFocusedElement = document.activeElement;
|
|
516
|
-
for (const candidate of candidates) {
|
|
517
|
-
focus(candidate, { select });
|
|
518
|
-
if (document.activeElement !== previouslyFocusedElement) return;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
function getTabbableEdges(container) {
|
|
522
|
-
const candidates = getTabbableCandidates(container);
|
|
523
|
-
return [findVisible(candidates, container), findVisible(candidates.reverse(), container)];
|
|
524
|
-
}
|
|
525
|
-
function getTabbableCandidates(container) {
|
|
526
|
-
const nodes = [];
|
|
527
|
-
const walker = document.createTreeWalker(container, NodeFilter.SHOW_ELEMENT, { acceptNode: (node) => {
|
|
528
|
-
const isHiddenInput = node.tagName === "INPUT" && node.type === "hidden";
|
|
529
|
-
if (node.disabled || node.hidden || isHiddenInput) return NodeFilter.FILTER_SKIP;
|
|
530
|
-
return node.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
531
|
-
} });
|
|
532
|
-
while (walker.nextNode()) nodes.push(walker.currentNode);
|
|
533
|
-
return nodes;
|
|
534
|
-
}
|
|
535
|
-
function findVisible(elements, container) {
|
|
536
|
-
for (const element of elements) if (!isHidden(element, { upTo: container })) return element;
|
|
537
|
-
}
|
|
538
|
-
function isHidden(node, { upTo }) {
|
|
539
|
-
if (getComputedStyle(node).visibility === "hidden") return true;
|
|
540
|
-
while (node) {
|
|
541
|
-
if (upTo !== void 0 && node === upTo) return false;
|
|
542
|
-
if (getComputedStyle(node).display === "none") return true;
|
|
543
|
-
node = node.parentElement;
|
|
544
|
-
}
|
|
545
|
-
return false;
|
|
546
|
-
}
|
|
547
|
-
function isSelectableInput(element) {
|
|
548
|
-
return element instanceof HTMLInputElement && "select" in element;
|
|
549
|
-
}
|
|
550
|
-
function focus(element, { select = false } = {}) {
|
|
551
|
-
if (element && element.focus) {
|
|
552
|
-
const previouslyFocusedElement = document.activeElement;
|
|
553
|
-
element.focus({ preventScroll: true });
|
|
554
|
-
if (element !== previouslyFocusedElement && isSelectableInput(element) && select) element.select();
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
var focusScopesStack = createFocusScopesStack();
|
|
558
|
-
function createFocusScopesStack() {
|
|
559
|
-
let stack = [];
|
|
560
|
-
return {
|
|
561
|
-
add(focusScope) {
|
|
562
|
-
const activeFocusScope = stack[0];
|
|
563
|
-
if (focusScope !== activeFocusScope) activeFocusScope?.pause();
|
|
564
|
-
stack = arrayRemove(stack, focusScope);
|
|
565
|
-
stack.unshift(focusScope);
|
|
566
|
-
},
|
|
567
|
-
remove(focusScope) {
|
|
568
|
-
stack = arrayRemove(stack, focusScope);
|
|
569
|
-
stack[0]?.resume();
|
|
570
|
-
}
|
|
571
|
-
};
|
|
572
|
-
}
|
|
573
|
-
function arrayRemove(array, item) {
|
|
574
|
-
const updatedArray = [...array];
|
|
575
|
-
const index = updatedArray.indexOf(item);
|
|
576
|
-
if (index !== -1) updatedArray.splice(index, 1);
|
|
577
|
-
return updatedArray;
|
|
578
|
-
}
|
|
579
|
-
function removeLinks(items) {
|
|
580
|
-
return items.filter((item) => item.tagName !== "A");
|
|
581
|
-
}
|
|
582
|
-
//#endregion
|
|
583
|
-
//#region node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_1cce15ec7b8f692335f3eff7d631e14a/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
584
|
-
var PORTAL_NAME$1 = "Portal";
|
|
585
|
-
var Portal$1 = import_react.forwardRef((props, forwardedRef) => {
|
|
586
|
-
const { container: containerProp, ...portalProps } = props;
|
|
587
|
-
const [mounted, setMounted] = import_react.useState(false);
|
|
588
|
-
useLayoutEffect2(() => setMounted(true), []);
|
|
589
|
-
const container = containerProp || mounted && globalThis?.document?.body;
|
|
590
|
-
return container ? import_react_dom.createPortal(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
591
|
-
...portalProps,
|
|
592
|
-
ref: forwardedRef
|
|
593
|
-
}), container) : null;
|
|
594
|
-
});
|
|
595
|
-
Portal$1.displayName = PORTAL_NAME$1;
|
|
596
|
-
//#endregion
|
|
597
|
-
//#region node_modules/.pnpm/@radix-ui+react-presence@1.1.5_@types+react-dom@19.2.3_@types+react@19.2.14__@types+rea_bb0422da16a13d2aa5012c2e1c1c5a99/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
598
|
-
function useStateMachine(initialState, machine) {
|
|
599
|
-
return import_react.useReducer((state, event) => {
|
|
600
|
-
return machine[state][event] ?? state;
|
|
601
|
-
}, initialState);
|
|
602
|
-
}
|
|
603
|
-
var Presence = (props) => {
|
|
604
|
-
const { present, children } = props;
|
|
605
|
-
const presence = usePresence(present);
|
|
606
|
-
const child = typeof children === "function" ? children({ present: presence.isPresent }) : import_react.Children.only(children);
|
|
607
|
-
const ref = useComposedRefs(presence.ref, getElementRef(child));
|
|
608
|
-
return typeof children === "function" || presence.isPresent ? import_react.cloneElement(child, { ref }) : null;
|
|
609
|
-
};
|
|
610
|
-
Presence.displayName = "Presence";
|
|
611
|
-
function usePresence(present) {
|
|
612
|
-
const [node, setNode] = import_react.useState();
|
|
613
|
-
const stylesRef = import_react.useRef(null);
|
|
614
|
-
const prevPresentRef = import_react.useRef(present);
|
|
615
|
-
const prevAnimationNameRef = import_react.useRef("none");
|
|
616
|
-
const [state, send] = useStateMachine(present ? "mounted" : "unmounted", {
|
|
617
|
-
mounted: {
|
|
618
|
-
UNMOUNT: "unmounted",
|
|
619
|
-
ANIMATION_OUT: "unmountSuspended"
|
|
620
|
-
},
|
|
621
|
-
unmountSuspended: {
|
|
622
|
-
MOUNT: "mounted",
|
|
623
|
-
ANIMATION_END: "unmounted"
|
|
624
|
-
},
|
|
625
|
-
unmounted: { MOUNT: "mounted" }
|
|
626
|
-
});
|
|
627
|
-
import_react.useEffect(() => {
|
|
628
|
-
const currentAnimationName = getAnimationName(stylesRef.current);
|
|
629
|
-
prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
|
|
630
|
-
}, [state]);
|
|
631
|
-
useLayoutEffect2(() => {
|
|
632
|
-
const styles = stylesRef.current;
|
|
633
|
-
const wasPresent = prevPresentRef.current;
|
|
634
|
-
if (wasPresent !== present) {
|
|
635
|
-
const prevAnimationName = prevAnimationNameRef.current;
|
|
636
|
-
const currentAnimationName = getAnimationName(styles);
|
|
637
|
-
if (present) send("MOUNT");
|
|
638
|
-
else if (currentAnimationName === "none" || styles?.display === "none") send("UNMOUNT");
|
|
639
|
-
else if (wasPresent && prevAnimationName !== currentAnimationName) send("ANIMATION_OUT");
|
|
640
|
-
else send("UNMOUNT");
|
|
641
|
-
prevPresentRef.current = present;
|
|
642
|
-
}
|
|
643
|
-
}, [present, send]);
|
|
644
|
-
useLayoutEffect2(() => {
|
|
645
|
-
if (node) {
|
|
646
|
-
let timeoutId;
|
|
647
|
-
const ownerWindow = node.ownerDocument.defaultView ?? window;
|
|
648
|
-
const handleAnimationEnd = (event) => {
|
|
649
|
-
const isCurrentAnimation = getAnimationName(stylesRef.current).includes(CSS.escape(event.animationName));
|
|
650
|
-
if (event.target === node && isCurrentAnimation) {
|
|
651
|
-
send("ANIMATION_END");
|
|
652
|
-
if (!prevPresentRef.current) {
|
|
653
|
-
const currentFillMode = node.style.animationFillMode;
|
|
654
|
-
node.style.animationFillMode = "forwards";
|
|
655
|
-
timeoutId = ownerWindow.setTimeout(() => {
|
|
656
|
-
if (node.style.animationFillMode === "forwards") node.style.animationFillMode = currentFillMode;
|
|
657
|
-
});
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
};
|
|
661
|
-
const handleAnimationStart = (event) => {
|
|
662
|
-
if (event.target === node) prevAnimationNameRef.current = getAnimationName(stylesRef.current);
|
|
663
|
-
};
|
|
664
|
-
node.addEventListener("animationstart", handleAnimationStart);
|
|
665
|
-
node.addEventListener("animationcancel", handleAnimationEnd);
|
|
666
|
-
node.addEventListener("animationend", handleAnimationEnd);
|
|
667
|
-
return () => {
|
|
668
|
-
ownerWindow.clearTimeout(timeoutId);
|
|
669
|
-
node.removeEventListener("animationstart", handleAnimationStart);
|
|
670
|
-
node.removeEventListener("animationcancel", handleAnimationEnd);
|
|
671
|
-
node.removeEventListener("animationend", handleAnimationEnd);
|
|
672
|
-
};
|
|
673
|
-
} else send("ANIMATION_END");
|
|
674
|
-
}, [node, send]);
|
|
675
|
-
return {
|
|
676
|
-
isPresent: ["mounted", "unmountSuspended"].includes(state),
|
|
677
|
-
ref: import_react.useCallback((node2) => {
|
|
678
|
-
stylesRef.current = node2 ? getComputedStyle(node2) : null;
|
|
679
|
-
setNode(node2);
|
|
680
|
-
}, [])
|
|
681
|
-
};
|
|
682
|
-
}
|
|
683
|
-
function getAnimationName(styles) {
|
|
684
|
-
return styles?.animationName || "none";
|
|
685
|
-
}
|
|
686
|
-
function getElementRef(element) {
|
|
687
|
-
let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
|
|
688
|
-
let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
689
|
-
if (mayWarn) return element.ref;
|
|
690
|
-
getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
|
|
691
|
-
mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
|
|
692
|
-
if (mayWarn) return element.props.ref;
|
|
693
|
-
return element.props.ref || element.ref;
|
|
694
|
-
}
|
|
695
|
-
//#endregion
|
|
696
|
-
//#region node_modules/.pnpm/@radix-ui+react-focus-guards@1.1.3_@types+react@19.2.14_react@19.2.5/node_modules/@radix-ui/react-focus-guards/dist/index.mjs
|
|
697
|
-
var count = 0;
|
|
698
|
-
function useFocusGuards() {
|
|
699
|
-
import_react.useEffect(() => {
|
|
700
|
-
const edgeGuards = document.querySelectorAll("[data-radix-focus-guard]");
|
|
701
|
-
document.body.insertAdjacentElement("afterbegin", edgeGuards[0] ?? createFocusGuard());
|
|
702
|
-
document.body.insertAdjacentElement("beforeend", edgeGuards[1] ?? createFocusGuard());
|
|
703
|
-
count++;
|
|
704
|
-
return () => {
|
|
705
|
-
if (count === 1) document.querySelectorAll("[data-radix-focus-guard]").forEach((node) => node.remove());
|
|
706
|
-
count--;
|
|
707
|
-
};
|
|
708
|
-
}, []);
|
|
709
|
-
}
|
|
710
|
-
function createFocusGuard() {
|
|
711
|
-
const element = document.createElement("span");
|
|
712
|
-
element.setAttribute("data-radix-focus-guard", "");
|
|
713
|
-
element.tabIndex = 0;
|
|
714
|
-
element.style.outline = "none";
|
|
715
|
-
element.style.opacity = "0";
|
|
716
|
-
element.style.position = "fixed";
|
|
717
|
-
element.style.pointerEvents = "none";
|
|
718
|
-
return element;
|
|
719
|
-
}
|
|
720
|
-
//#endregion
|
|
721
|
-
//#region node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll-bar/dist/es2015/constants.js
|
|
722
|
-
var zeroRightClassName = "right-scroll-bar-position";
|
|
723
|
-
var fullWidthClassName = "width-before-scroll-bar";
|
|
724
|
-
var noScrollbarsClassName = "with-scroll-bars-hidden";
|
|
725
|
-
/**
|
|
726
|
-
* Name of a CSS variable containing the amount of "hidden" scrollbar
|
|
727
|
-
* ! might be undefined ! use will fallback!
|
|
728
|
-
*/
|
|
729
|
-
var removedBarSizeVariable = "--removed-body-scroll-bar-size";
|
|
730
|
-
//#endregion
|
|
731
|
-
//#region node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.5/node_modules/use-callback-ref/dist/es2015/assignRef.js
|
|
732
|
-
/**
|
|
733
|
-
* Assigns a value for a given ref, no matter of the ref format
|
|
734
|
-
* @param {RefObject} ref - a callback function or ref object
|
|
735
|
-
* @param value - a new value
|
|
736
|
-
*
|
|
737
|
-
* @see https://github.com/theKashey/use-callback-ref#assignref
|
|
738
|
-
* @example
|
|
739
|
-
* const refObject = useRef();
|
|
740
|
-
* const refFn = (ref) => {....}
|
|
741
|
-
*
|
|
742
|
-
* assignRef(refObject, "refValue");
|
|
743
|
-
* assignRef(refFn, "refValue");
|
|
744
|
-
*/
|
|
745
|
-
function assignRef(ref, value) {
|
|
746
|
-
if (typeof ref === "function") ref(value);
|
|
747
|
-
else if (ref) ref.current = value;
|
|
748
|
-
return ref;
|
|
749
|
-
}
|
|
750
|
-
//#endregion
|
|
751
|
-
//#region node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.5/node_modules/use-callback-ref/dist/es2015/useRef.js
|
|
752
|
-
/**
|
|
753
|
-
* creates a MutableRef with ref change callback
|
|
754
|
-
* @param initialValue - initial ref value
|
|
755
|
-
* @param {Function} callback - a callback to run when value changes
|
|
756
|
-
*
|
|
757
|
-
* @example
|
|
758
|
-
* const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);
|
|
759
|
-
* ref.current = 1;
|
|
760
|
-
* // prints 0 -> 1
|
|
761
|
-
*
|
|
762
|
-
* @see https://reactjs.org/docs/hooks-reference.html#useref
|
|
763
|
-
* @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref
|
|
764
|
-
* @returns {MutableRefObject}
|
|
765
|
-
*/
|
|
766
|
-
function useCallbackRef(initialValue, callback) {
|
|
767
|
-
var ref = (0, import_react.useState)(function() {
|
|
768
|
-
return {
|
|
769
|
-
value: initialValue,
|
|
770
|
-
callback,
|
|
771
|
-
facade: {
|
|
772
|
-
get current() {
|
|
773
|
-
return ref.value;
|
|
774
|
-
},
|
|
775
|
-
set current(value) {
|
|
776
|
-
var last = ref.value;
|
|
777
|
-
if (last !== value) {
|
|
778
|
-
ref.value = value;
|
|
779
|
-
ref.callback(value, last);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
};
|
|
784
|
-
})[0];
|
|
785
|
-
ref.callback = callback;
|
|
786
|
-
return ref.facade;
|
|
787
|
-
}
|
|
788
|
-
//#endregion
|
|
789
|
-
//#region node_modules/.pnpm/use-callback-ref@1.3.3_@types+react@19.2.14_react@19.2.5/node_modules/use-callback-ref/dist/es2015/useMergeRef.js
|
|
790
|
-
var useIsomorphicLayoutEffect = typeof window !== "undefined" ? import_react.useLayoutEffect : import_react.useEffect;
|
|
791
|
-
var currentValues = /* @__PURE__ */ new WeakMap();
|
|
792
|
-
/**
|
|
793
|
-
* Merges two or more refs together providing a single interface to set their value
|
|
794
|
-
* @param {RefObject|Ref} refs
|
|
795
|
-
* @returns {MutableRefObject} - a new ref, which translates all changes to {refs}
|
|
796
|
-
*
|
|
797
|
-
* @see {@link mergeRefs} a version without buit-in memoization
|
|
798
|
-
* @see https://github.com/theKashey/use-callback-ref#usemergerefs
|
|
799
|
-
* @example
|
|
800
|
-
* const Component = React.forwardRef((props, ref) => {
|
|
801
|
-
* const ownRef = useRef();
|
|
802
|
-
* const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together
|
|
803
|
-
* return <div ref={domRef}>...</div>
|
|
804
|
-
* }
|
|
805
|
-
*/
|
|
806
|
-
function useMergeRefs(refs, defaultValue) {
|
|
807
|
-
var callbackRef = useCallbackRef(defaultValue || null, function(newValue) {
|
|
808
|
-
return refs.forEach(function(ref) {
|
|
809
|
-
return assignRef(ref, newValue);
|
|
810
|
-
});
|
|
811
|
-
});
|
|
812
|
-
useIsomorphicLayoutEffect(function() {
|
|
813
|
-
var oldValue = currentValues.get(callbackRef);
|
|
814
|
-
if (oldValue) {
|
|
815
|
-
var prevRefs_1 = new Set(oldValue);
|
|
816
|
-
var nextRefs_1 = new Set(refs);
|
|
817
|
-
var current_1 = callbackRef.current;
|
|
818
|
-
prevRefs_1.forEach(function(ref) {
|
|
819
|
-
if (!nextRefs_1.has(ref)) assignRef(ref, null);
|
|
820
|
-
});
|
|
821
|
-
nextRefs_1.forEach(function(ref) {
|
|
822
|
-
if (!prevRefs_1.has(ref)) assignRef(ref, current_1);
|
|
823
|
-
});
|
|
824
|
-
}
|
|
825
|
-
currentValues.set(callbackRef, refs);
|
|
826
|
-
}, [refs]);
|
|
827
|
-
return callbackRef;
|
|
828
|
-
}
|
|
829
|
-
//#endregion
|
|
830
|
-
//#region node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.14_react@19.2.5/node_modules/use-sidecar/dist/es2015/medium.js
|
|
831
|
-
function ItoI(a) {
|
|
832
|
-
return a;
|
|
833
|
-
}
|
|
834
|
-
function innerCreateMedium(defaults, middleware) {
|
|
835
|
-
if (middleware === void 0) middleware = ItoI;
|
|
836
|
-
var buffer = [];
|
|
837
|
-
var assigned = false;
|
|
838
|
-
return {
|
|
839
|
-
read: function() {
|
|
840
|
-
if (assigned) throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
841
|
-
if (buffer.length) return buffer[buffer.length - 1];
|
|
842
|
-
return defaults;
|
|
843
|
-
},
|
|
844
|
-
useMedium: function(data) {
|
|
845
|
-
var item = middleware(data, assigned);
|
|
846
|
-
buffer.push(item);
|
|
847
|
-
return function() {
|
|
848
|
-
buffer = buffer.filter(function(x) {
|
|
849
|
-
return x !== item;
|
|
850
|
-
});
|
|
851
|
-
};
|
|
852
|
-
},
|
|
853
|
-
assignSyncMedium: function(cb) {
|
|
854
|
-
assigned = true;
|
|
855
|
-
while (buffer.length) {
|
|
856
|
-
var cbs = buffer;
|
|
857
|
-
buffer = [];
|
|
858
|
-
cbs.forEach(cb);
|
|
859
|
-
}
|
|
860
|
-
buffer = {
|
|
861
|
-
push: function(x) {
|
|
862
|
-
return cb(x);
|
|
863
|
-
},
|
|
864
|
-
filter: function() {
|
|
865
|
-
return buffer;
|
|
866
|
-
}
|
|
867
|
-
};
|
|
868
|
-
},
|
|
869
|
-
assignMedium: function(cb) {
|
|
870
|
-
assigned = true;
|
|
871
|
-
var pendingQueue = [];
|
|
872
|
-
if (buffer.length) {
|
|
873
|
-
var cbs = buffer;
|
|
874
|
-
buffer = [];
|
|
875
|
-
cbs.forEach(cb);
|
|
876
|
-
pendingQueue = buffer;
|
|
877
|
-
}
|
|
878
|
-
var executeQueue = function() {
|
|
879
|
-
var cbs = pendingQueue;
|
|
880
|
-
pendingQueue = [];
|
|
881
|
-
cbs.forEach(cb);
|
|
882
|
-
};
|
|
883
|
-
var cycle = function() {
|
|
884
|
-
return Promise.resolve().then(executeQueue);
|
|
885
|
-
};
|
|
886
|
-
cycle();
|
|
887
|
-
buffer = {
|
|
888
|
-
push: function(x) {
|
|
889
|
-
pendingQueue.push(x);
|
|
890
|
-
cycle();
|
|
891
|
-
},
|
|
892
|
-
filter: function(filter) {
|
|
893
|
-
pendingQueue = pendingQueue.filter(filter);
|
|
894
|
-
return buffer;
|
|
895
|
-
}
|
|
896
|
-
};
|
|
897
|
-
}
|
|
898
|
-
};
|
|
899
|
-
}
|
|
900
|
-
function createSidecarMedium(options) {
|
|
901
|
-
if (options === void 0) options = {};
|
|
902
|
-
var medium = innerCreateMedium(null);
|
|
903
|
-
medium.options = __assign({
|
|
904
|
-
async: true,
|
|
905
|
-
ssr: false
|
|
906
|
-
}, options);
|
|
907
|
-
return medium;
|
|
908
|
-
}
|
|
909
|
-
//#endregion
|
|
910
|
-
//#region node_modules/.pnpm/use-sidecar@1.1.3_@types+react@19.2.14_react@19.2.5/node_modules/use-sidecar/dist/es2015/exports.js
|
|
911
|
-
var SideCar = function(_a) {
|
|
912
|
-
var sideCar = _a.sideCar, rest = __rest(_a, ["sideCar"]);
|
|
913
|
-
if (!sideCar) throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
914
|
-
var Target = sideCar.read();
|
|
915
|
-
if (!Target) throw new Error("Sidecar medium not found");
|
|
916
|
-
return import_react.createElement(Target, __assign({}, rest));
|
|
917
|
-
};
|
|
918
|
-
SideCar.isSideCarExport = true;
|
|
919
|
-
function exportSidecar(medium, exported) {
|
|
920
|
-
medium.useMedium(exported);
|
|
921
|
-
return SideCar;
|
|
922
|
-
}
|
|
923
|
-
//#endregion
|
|
924
|
-
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/medium.js
|
|
925
|
-
var effectCar = createSidecarMedium();
|
|
926
|
-
//#endregion
|
|
927
|
-
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/UI.js
|
|
928
|
-
var nothing = function() {};
|
|
929
|
-
/**
|
|
930
|
-
* Removes scrollbar from the page and contain the scroll within the Lock
|
|
931
|
-
*/
|
|
932
|
-
var RemoveScroll = import_react.forwardRef(function(props, parentRef) {
|
|
933
|
-
var ref = import_react.useRef(null);
|
|
934
|
-
var _a = import_react.useState({
|
|
935
|
-
onScrollCapture: nothing,
|
|
936
|
-
onWheelCapture: nothing,
|
|
937
|
-
onTouchMoveCapture: nothing
|
|
938
|
-
}), callbacks = _a[0], setCallbacks = _a[1];
|
|
939
|
-
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? "div" : _b, gapMode = props.gapMode, rest = __rest(props, [
|
|
940
|
-
"forwardProps",
|
|
941
|
-
"children",
|
|
942
|
-
"className",
|
|
943
|
-
"removeScrollBar",
|
|
944
|
-
"enabled",
|
|
945
|
-
"shards",
|
|
946
|
-
"sideCar",
|
|
947
|
-
"noRelative",
|
|
948
|
-
"noIsolation",
|
|
949
|
-
"inert",
|
|
950
|
-
"allowPinchZoom",
|
|
951
|
-
"as",
|
|
952
|
-
"gapMode"
|
|
953
|
-
]);
|
|
954
|
-
var SideCar = sideCar;
|
|
955
|
-
var containerRef = useMergeRefs([ref, parentRef]);
|
|
956
|
-
var containerProps = __assign(__assign({}, rest), callbacks);
|
|
957
|
-
return import_react.createElement(import_react.Fragment, null, enabled && import_react.createElement(SideCar, {
|
|
958
|
-
sideCar: effectCar,
|
|
959
|
-
removeScrollBar,
|
|
960
|
-
shards,
|
|
961
|
-
noRelative,
|
|
962
|
-
noIsolation,
|
|
963
|
-
inert,
|
|
964
|
-
setCallbacks,
|
|
965
|
-
allowPinchZoom: !!allowPinchZoom,
|
|
966
|
-
lockRef: ref,
|
|
967
|
-
gapMode
|
|
968
|
-
}), forwardProps ? import_react.cloneElement(import_react.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef })) : import_react.createElement(Container, __assign({}, containerProps, {
|
|
969
|
-
className,
|
|
970
|
-
ref: containerRef
|
|
971
|
-
}), children));
|
|
972
|
-
});
|
|
973
|
-
RemoveScroll.defaultProps = {
|
|
974
|
-
enabled: true,
|
|
975
|
-
removeScrollBar: true,
|
|
976
|
-
inert: false
|
|
977
|
-
};
|
|
978
|
-
RemoveScroll.classNames = {
|
|
979
|
-
fullWidth: fullWidthClassName,
|
|
980
|
-
zeroRight: zeroRightClassName
|
|
981
|
-
};
|
|
982
|
-
//#endregion
|
|
983
|
-
//#region node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js
|
|
984
|
-
var currentNonce;
|
|
985
|
-
var getNonce = function() {
|
|
986
|
-
if (currentNonce) return currentNonce;
|
|
987
|
-
if (typeof __webpack_nonce__ !== "undefined") return __webpack_nonce__;
|
|
988
|
-
};
|
|
989
|
-
//#endregion
|
|
990
|
-
//#region node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.14_react@19.2.5/node_modules/react-style-singleton/dist/es2015/singleton.js
|
|
991
|
-
function makeStyleTag() {
|
|
992
|
-
if (!document) return null;
|
|
993
|
-
var tag = document.createElement("style");
|
|
994
|
-
tag.type = "text/css";
|
|
995
|
-
var nonce = getNonce();
|
|
996
|
-
if (nonce) tag.setAttribute("nonce", nonce);
|
|
997
|
-
return tag;
|
|
998
|
-
}
|
|
999
|
-
function injectStyles(tag, css) {
|
|
1000
|
-
if (tag.styleSheet) tag.styleSheet.cssText = css;
|
|
1001
|
-
else tag.appendChild(document.createTextNode(css));
|
|
1002
|
-
}
|
|
1003
|
-
function insertStyleTag(tag) {
|
|
1004
|
-
(document.head || document.getElementsByTagName("head")[0]).appendChild(tag);
|
|
1005
|
-
}
|
|
1006
|
-
var stylesheetSingleton = function() {
|
|
1007
|
-
var counter = 0;
|
|
1008
|
-
var stylesheet = null;
|
|
1009
|
-
return {
|
|
1010
|
-
add: function(style) {
|
|
1011
|
-
if (counter == 0) {
|
|
1012
|
-
if (stylesheet = makeStyleTag()) {
|
|
1013
|
-
injectStyles(stylesheet, style);
|
|
1014
|
-
insertStyleTag(stylesheet);
|
|
1015
|
-
}
|
|
1016
|
-
}
|
|
1017
|
-
counter++;
|
|
1018
|
-
},
|
|
1019
|
-
remove: function() {
|
|
1020
|
-
counter--;
|
|
1021
|
-
if (!counter && stylesheet) {
|
|
1022
|
-
stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);
|
|
1023
|
-
stylesheet = null;
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
};
|
|
1027
|
-
};
|
|
1028
|
-
//#endregion
|
|
1029
|
-
//#region node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.14_react@19.2.5/node_modules/react-style-singleton/dist/es2015/hook.js
|
|
1030
|
-
/**
|
|
1031
|
-
* creates a hook to control style singleton
|
|
1032
|
-
* @see {@link styleSingleton} for a safer component version
|
|
1033
|
-
* @example
|
|
1034
|
-
* ```tsx
|
|
1035
|
-
* const useStyle = styleHookSingleton();
|
|
1036
|
-
* ///
|
|
1037
|
-
* useStyle('body { overflow: hidden}');
|
|
1038
|
-
*/
|
|
1039
|
-
var styleHookSingleton = function() {
|
|
1040
|
-
var sheet = stylesheetSingleton();
|
|
1041
|
-
return function(styles, isDynamic) {
|
|
1042
|
-
import_react.useEffect(function() {
|
|
1043
|
-
sheet.add(styles);
|
|
1044
|
-
return function() {
|
|
1045
|
-
sheet.remove();
|
|
1046
|
-
};
|
|
1047
|
-
}, [styles && isDynamic]);
|
|
1048
|
-
};
|
|
1049
|
-
};
|
|
1050
|
-
//#endregion
|
|
1051
|
-
//#region node_modules/.pnpm/react-style-singleton@2.2.3_@types+react@19.2.14_react@19.2.5/node_modules/react-style-singleton/dist/es2015/component.js
|
|
1052
|
-
/**
|
|
1053
|
-
* create a Component to add styles on demand
|
|
1054
|
-
* - styles are added when first instance is mounted
|
|
1055
|
-
* - styles are removed when the last instance is unmounted
|
|
1056
|
-
* - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior
|
|
1057
|
-
*/
|
|
1058
|
-
var styleSingleton = function() {
|
|
1059
|
-
var useStyle = styleHookSingleton();
|
|
1060
|
-
var Sheet = function(_a) {
|
|
1061
|
-
var styles = _a.styles, dynamic = _a.dynamic;
|
|
1062
|
-
useStyle(styles, dynamic);
|
|
1063
|
-
return null;
|
|
1064
|
-
};
|
|
1065
|
-
return Sheet;
|
|
1066
|
-
};
|
|
1067
|
-
//#endregion
|
|
1068
|
-
//#region node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll-bar/dist/es2015/utils.js
|
|
1069
|
-
var zeroGap = {
|
|
1070
|
-
left: 0,
|
|
1071
|
-
top: 0,
|
|
1072
|
-
right: 0,
|
|
1073
|
-
gap: 0
|
|
1074
|
-
};
|
|
1075
|
-
var parse = function(x) {
|
|
1076
|
-
return parseInt(x || "", 10) || 0;
|
|
1077
|
-
};
|
|
1078
|
-
var getOffset = function(gapMode) {
|
|
1079
|
-
var cs = window.getComputedStyle(document.body);
|
|
1080
|
-
var left = cs[gapMode === "padding" ? "paddingLeft" : "marginLeft"];
|
|
1081
|
-
var top = cs[gapMode === "padding" ? "paddingTop" : "marginTop"];
|
|
1082
|
-
var right = cs[gapMode === "padding" ? "paddingRight" : "marginRight"];
|
|
1083
|
-
return [
|
|
1084
|
-
parse(left),
|
|
1085
|
-
parse(top),
|
|
1086
|
-
parse(right)
|
|
1087
|
-
];
|
|
1088
|
-
};
|
|
1089
|
-
var getGapWidth = function(gapMode) {
|
|
1090
|
-
if (gapMode === void 0) gapMode = "margin";
|
|
1091
|
-
if (typeof window === "undefined") return zeroGap;
|
|
1092
|
-
var offsets = getOffset(gapMode);
|
|
1093
|
-
var documentWidth = document.documentElement.clientWidth;
|
|
1094
|
-
var windowWidth = window.innerWidth;
|
|
1095
|
-
return {
|
|
1096
|
-
left: offsets[0],
|
|
1097
|
-
top: offsets[1],
|
|
1098
|
-
right: offsets[2],
|
|
1099
|
-
gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0])
|
|
1100
|
-
};
|
|
1101
|
-
};
|
|
1102
|
-
//#endregion
|
|
1103
|
-
//#region node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll-bar/dist/es2015/component.js
|
|
1104
|
-
var Style = styleSingleton();
|
|
1105
|
-
var lockAttribute = "data-scroll-locked";
|
|
1106
|
-
var getStyles = function(_a, allowRelative, gapMode, important) {
|
|
1107
|
-
var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;
|
|
1108
|
-
if (gapMode === void 0) gapMode = "margin";
|
|
1109
|
-
return "\n .".concat(noScrollbarsClassName, " {\n overflow: hidden ").concat(important, ";\n padding-right: ").concat(gap, "px ").concat(important, ";\n }\n body[").concat(lockAttribute, "] {\n overflow: hidden ").concat(important, ";\n overscroll-behavior: contain;\n ").concat([
|
|
1110
|
-
allowRelative && "position: relative ".concat(important, ";"),
|
|
1111
|
-
gapMode === "margin" && "\n padding-left: ".concat(left, "px;\n padding-top: ").concat(top, "px;\n padding-right: ").concat(right, "px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(gap, "px ").concat(important, ";\n "),
|
|
1112
|
-
gapMode === "padding" && "padding-right: ".concat(gap, "px ").concat(important, ";")
|
|
1113
|
-
].filter(Boolean).join(""), "\n }\n \n .").concat(zeroRightClassName, " {\n right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(fullWidthClassName, " {\n margin-right: ").concat(gap, "px ").concat(important, ";\n }\n \n .").concat(zeroRightClassName, " .").concat(zeroRightClassName, " {\n right: 0 ").concat(important, ";\n }\n \n .").concat(fullWidthClassName, " .").concat(fullWidthClassName, " {\n margin-right: 0 ").concat(important, ";\n }\n \n body[").concat(lockAttribute, "] {\n ").concat(removedBarSizeVariable, ": ").concat(gap, "px;\n }\n");
|
|
1114
|
-
};
|
|
1115
|
-
var getCurrentUseCounter = function() {
|
|
1116
|
-
var counter = parseInt(document.body.getAttribute("data-scroll-locked") || "0", 10);
|
|
1117
|
-
return isFinite(counter) ? counter : 0;
|
|
1118
|
-
};
|
|
1119
|
-
var useLockAttribute = function() {
|
|
1120
|
-
import_react.useEffect(function() {
|
|
1121
|
-
document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());
|
|
1122
|
-
return function() {
|
|
1123
|
-
var newCounter = getCurrentUseCounter() - 1;
|
|
1124
|
-
if (newCounter <= 0) document.body.removeAttribute(lockAttribute);
|
|
1125
|
-
else document.body.setAttribute(lockAttribute, newCounter.toString());
|
|
1126
|
-
};
|
|
1127
|
-
}, []);
|
|
1128
|
-
};
|
|
1129
|
-
/**
|
|
1130
|
-
* Removes page scrollbar and blocks page scroll when mounted
|
|
1131
|
-
*/
|
|
1132
|
-
var RemoveScrollBar = function(_a) {
|
|
1133
|
-
var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? "margin" : _b;
|
|
1134
|
-
useLockAttribute();
|
|
1135
|
-
var gap = import_react.useMemo(function() {
|
|
1136
|
-
return getGapWidth(gapMode);
|
|
1137
|
-
}, [gapMode]);
|
|
1138
|
-
return import_react.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? "!important" : "") });
|
|
1139
|
-
};
|
|
1140
|
-
//#endregion
|
|
1141
|
-
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js
|
|
1142
|
-
var passiveSupported = false;
|
|
1143
|
-
if (typeof window !== "undefined") try {
|
|
1144
|
-
var options = Object.defineProperty({}, "passive", { get: function() {
|
|
1145
|
-
passiveSupported = true;
|
|
1146
|
-
return true;
|
|
1147
|
-
} });
|
|
1148
|
-
window.addEventListener("test", options, options);
|
|
1149
|
-
window.removeEventListener("test", options, options);
|
|
1150
|
-
} catch (err) {
|
|
1151
|
-
passiveSupported = false;
|
|
1152
|
-
}
|
|
1153
|
-
var nonPassive = passiveSupported ? { passive: false } : false;
|
|
1154
|
-
//#endregion
|
|
1155
|
-
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/handleScroll.js
|
|
1156
|
-
var alwaysContainsScroll = function(node) {
|
|
1157
|
-
return node.tagName === "TEXTAREA";
|
|
1158
|
-
};
|
|
1159
|
-
var elementCanBeScrolled = function(node, overflow) {
|
|
1160
|
-
if (!(node instanceof Element)) return false;
|
|
1161
|
-
var styles = window.getComputedStyle(node);
|
|
1162
|
-
return styles[overflow] !== "hidden" && !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === "visible");
|
|
1163
|
-
};
|
|
1164
|
-
var elementCouldBeVScrolled = function(node) {
|
|
1165
|
-
return elementCanBeScrolled(node, "overflowY");
|
|
1166
|
-
};
|
|
1167
|
-
var elementCouldBeHScrolled = function(node) {
|
|
1168
|
-
return elementCanBeScrolled(node, "overflowX");
|
|
1169
|
-
};
|
|
1170
|
-
var locationCouldBeScrolled = function(axis, node) {
|
|
1171
|
-
var ownerDocument = node.ownerDocument;
|
|
1172
|
-
var current = node;
|
|
1173
|
-
do {
|
|
1174
|
-
if (typeof ShadowRoot !== "undefined" && current instanceof ShadowRoot) current = current.host;
|
|
1175
|
-
if (elementCouldBeScrolled(axis, current)) {
|
|
1176
|
-
var _a = getScrollVariables(axis, current);
|
|
1177
|
-
if (_a[1] > _a[2]) return true;
|
|
1178
|
-
}
|
|
1179
|
-
current = current.parentNode;
|
|
1180
|
-
} while (current && current !== ownerDocument.body);
|
|
1181
|
-
return false;
|
|
1182
|
-
};
|
|
1183
|
-
var getVScrollVariables = function(_a) {
|
|
1184
|
-
return [
|
|
1185
|
-
_a.scrollTop,
|
|
1186
|
-
_a.scrollHeight,
|
|
1187
|
-
_a.clientHeight
|
|
1188
|
-
];
|
|
1189
|
-
};
|
|
1190
|
-
var getHScrollVariables = function(_a) {
|
|
1191
|
-
return [
|
|
1192
|
-
_a.scrollLeft,
|
|
1193
|
-
_a.scrollWidth,
|
|
1194
|
-
_a.clientWidth
|
|
1195
|
-
];
|
|
1196
|
-
};
|
|
1197
|
-
var elementCouldBeScrolled = function(axis, node) {
|
|
1198
|
-
return axis === "v" ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);
|
|
1199
|
-
};
|
|
1200
|
-
var getScrollVariables = function(axis, node) {
|
|
1201
|
-
return axis === "v" ? getVScrollVariables(node) : getHScrollVariables(node);
|
|
1202
|
-
};
|
|
1203
|
-
var getDirectionFactor = function(axis, direction) {
|
|
1204
|
-
/**
|
|
1205
|
-
* If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,
|
|
1206
|
-
* and then increasingly negative as you scroll towards the end of the content.
|
|
1207
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft
|
|
1208
|
-
*/
|
|
1209
|
-
return axis === "h" && direction === "rtl" ? -1 : 1;
|
|
1210
|
-
};
|
|
1211
|
-
var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
|
|
1212
|
-
var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);
|
|
1213
|
-
var delta = directionFactor * sourceDelta;
|
|
1214
|
-
var target = event.target;
|
|
1215
|
-
var targetInLock = endTarget.contains(target);
|
|
1216
|
-
var shouldCancelScroll = false;
|
|
1217
|
-
var isDeltaPositive = delta > 0;
|
|
1218
|
-
var availableScroll = 0;
|
|
1219
|
-
var availableScrollTop = 0;
|
|
1220
|
-
do {
|
|
1221
|
-
if (!target) break;
|
|
1222
|
-
var _a = getScrollVariables(axis, target), position = _a[0];
|
|
1223
|
-
var elementScroll = _a[1] - _a[2] - directionFactor * position;
|
|
1224
|
-
if (position || elementScroll) {
|
|
1225
|
-
if (elementCouldBeScrolled(axis, target)) {
|
|
1226
|
-
availableScroll += elementScroll;
|
|
1227
|
-
availableScrollTop += position;
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
var parent_1 = target.parentNode;
|
|
1231
|
-
target = parent_1 && parent_1.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? parent_1.host : parent_1;
|
|
1232
|
-
} while (!targetInLock && target !== document.body || targetInLock && (endTarget.contains(target) || endTarget === target));
|
|
1233
|
-
if (isDeltaPositive && (noOverscroll && Math.abs(availableScroll) < 1 || !noOverscroll && delta > availableScroll)) shouldCancelScroll = true;
|
|
1234
|
-
else if (!isDeltaPositive && (noOverscroll && Math.abs(availableScrollTop) < 1 || !noOverscroll && -delta > availableScrollTop)) shouldCancelScroll = true;
|
|
1235
|
-
return shouldCancelScroll;
|
|
1236
|
-
};
|
|
1237
|
-
//#endregion
|
|
1238
|
-
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/SideEffect.js
|
|
1239
|
-
var getTouchXY = function(event) {
|
|
1240
|
-
return "changedTouches" in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];
|
|
1241
|
-
};
|
|
1242
|
-
var getDeltaXY = function(event) {
|
|
1243
|
-
return [event.deltaX, event.deltaY];
|
|
1244
|
-
};
|
|
1245
|
-
var extractRef = function(ref) {
|
|
1246
|
-
return ref && "current" in ref ? ref.current : ref;
|
|
1247
|
-
};
|
|
1248
|
-
var deltaCompare = function(x, y) {
|
|
1249
|
-
return x[0] === y[0] && x[1] === y[1];
|
|
1250
|
-
};
|
|
1251
|
-
var generateStyle = function(id) {
|
|
1252
|
-
return "\n .block-interactivity-".concat(id, " {pointer-events: none;}\n .allow-interactivity-").concat(id, " {pointer-events: all;}\n");
|
|
1253
|
-
};
|
|
1254
|
-
var idCounter = 0;
|
|
1255
|
-
var lockStack = [];
|
|
1256
|
-
function RemoveScrollSideCar(props) {
|
|
1257
|
-
var shouldPreventQueue = import_react.useRef([]);
|
|
1258
|
-
var touchStartRef = import_react.useRef([0, 0]);
|
|
1259
|
-
var activeAxis = import_react.useRef();
|
|
1260
|
-
var id = import_react.useState(idCounter++)[0];
|
|
1261
|
-
var Style = import_react.useState(styleSingleton)[0];
|
|
1262
|
-
var lastProps = import_react.useRef(props);
|
|
1263
|
-
import_react.useEffect(function() {
|
|
1264
|
-
lastProps.current = props;
|
|
1265
|
-
}, [props]);
|
|
1266
|
-
import_react.useEffect(function() {
|
|
1267
|
-
if (props.inert) {
|
|
1268
|
-
document.body.classList.add("block-interactivity-".concat(id));
|
|
1269
|
-
var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);
|
|
1270
|
-
allow_1.forEach(function(el) {
|
|
1271
|
-
return el.classList.add("allow-interactivity-".concat(id));
|
|
1272
|
-
});
|
|
1273
|
-
return function() {
|
|
1274
|
-
document.body.classList.remove("block-interactivity-".concat(id));
|
|
1275
|
-
allow_1.forEach(function(el) {
|
|
1276
|
-
return el.classList.remove("allow-interactivity-".concat(id));
|
|
1277
|
-
});
|
|
1278
|
-
};
|
|
1279
|
-
}
|
|
1280
|
-
}, [
|
|
1281
|
-
props.inert,
|
|
1282
|
-
props.lockRef.current,
|
|
1283
|
-
props.shards
|
|
1284
|
-
]);
|
|
1285
|
-
var shouldCancelEvent = import_react.useCallback(function(event, parent) {
|
|
1286
|
-
if ("touches" in event && event.touches.length === 2 || event.type === "wheel" && event.ctrlKey) return !lastProps.current.allowPinchZoom;
|
|
1287
|
-
var touch = getTouchXY(event);
|
|
1288
|
-
var touchStart = touchStartRef.current;
|
|
1289
|
-
var deltaX = "deltaX" in event ? event.deltaX : touchStart[0] - touch[0];
|
|
1290
|
-
var deltaY = "deltaY" in event ? event.deltaY : touchStart[1] - touch[1];
|
|
1291
|
-
var currentAxis;
|
|
1292
|
-
var target = event.target;
|
|
1293
|
-
var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? "h" : "v";
|
|
1294
|
-
if ("touches" in event && moveDirection === "h" && target.type === "range") return false;
|
|
1295
|
-
var selection = window.getSelection();
|
|
1296
|
-
var anchorNode = selection && selection.anchorNode;
|
|
1297
|
-
if (anchorNode ? anchorNode === target || anchorNode.contains(target) : false) return false;
|
|
1298
|
-
var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);
|
|
1299
|
-
if (!canBeScrolledInMainDirection) return true;
|
|
1300
|
-
if (canBeScrolledInMainDirection) currentAxis = moveDirection;
|
|
1301
|
-
else {
|
|
1302
|
-
currentAxis = moveDirection === "v" ? "h" : "v";
|
|
1303
|
-
canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);
|
|
1304
|
-
}
|
|
1305
|
-
if (!canBeScrolledInMainDirection) return false;
|
|
1306
|
-
if (!activeAxis.current && "changedTouches" in event && (deltaX || deltaY)) activeAxis.current = currentAxis;
|
|
1307
|
-
if (!currentAxis) return true;
|
|
1308
|
-
var cancelingAxis = activeAxis.current || currentAxis;
|
|
1309
|
-
return handleScroll(cancelingAxis, parent, event, cancelingAxis === "h" ? deltaX : deltaY, true);
|
|
1310
|
-
}, []);
|
|
1311
|
-
var shouldPrevent = import_react.useCallback(function(_event) {
|
|
1312
|
-
var event = _event;
|
|
1313
|
-
if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) return;
|
|
1314
|
-
var delta = "deltaY" in event ? getDeltaXY(event) : getTouchXY(event);
|
|
1315
|
-
var sourceEvent = shouldPreventQueue.current.filter(function(e) {
|
|
1316
|
-
return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta);
|
|
1317
|
-
})[0];
|
|
1318
|
-
if (sourceEvent && sourceEvent.should) {
|
|
1319
|
-
if (event.cancelable) event.preventDefault();
|
|
1320
|
-
return;
|
|
1321
|
-
}
|
|
1322
|
-
if (!sourceEvent) {
|
|
1323
|
-
var shardNodes = (lastProps.current.shards || []).map(extractRef).filter(Boolean).filter(function(node) {
|
|
1324
|
-
return node.contains(event.target);
|
|
1325
|
-
});
|
|
1326
|
-
if (shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation) {
|
|
1327
|
-
if (event.cancelable) event.preventDefault();
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
}, []);
|
|
1331
|
-
var shouldCancel = import_react.useCallback(function(name, delta, target, should) {
|
|
1332
|
-
var event = {
|
|
1333
|
-
name,
|
|
1334
|
-
delta,
|
|
1335
|
-
target,
|
|
1336
|
-
should,
|
|
1337
|
-
shadowParent: getOutermostShadowParent(target)
|
|
1338
|
-
};
|
|
1339
|
-
shouldPreventQueue.current.push(event);
|
|
1340
|
-
setTimeout(function() {
|
|
1341
|
-
shouldPreventQueue.current = shouldPreventQueue.current.filter(function(e) {
|
|
1342
|
-
return e !== event;
|
|
1343
|
-
});
|
|
1344
|
-
}, 1);
|
|
1345
|
-
}, []);
|
|
1346
|
-
var scrollTouchStart = import_react.useCallback(function(event) {
|
|
1347
|
-
touchStartRef.current = getTouchXY(event);
|
|
1348
|
-
activeAxis.current = void 0;
|
|
1349
|
-
}, []);
|
|
1350
|
-
var scrollWheel = import_react.useCallback(function(event) {
|
|
1351
|
-
shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
1352
|
-
}, []);
|
|
1353
|
-
var scrollTouchMove = import_react.useCallback(function(event) {
|
|
1354
|
-
shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));
|
|
1355
|
-
}, []);
|
|
1356
|
-
import_react.useEffect(function() {
|
|
1357
|
-
lockStack.push(Style);
|
|
1358
|
-
props.setCallbacks({
|
|
1359
|
-
onScrollCapture: scrollWheel,
|
|
1360
|
-
onWheelCapture: scrollWheel,
|
|
1361
|
-
onTouchMoveCapture: scrollTouchMove
|
|
1362
|
-
});
|
|
1363
|
-
document.addEventListener("wheel", shouldPrevent, nonPassive);
|
|
1364
|
-
document.addEventListener("touchmove", shouldPrevent, nonPassive);
|
|
1365
|
-
document.addEventListener("touchstart", scrollTouchStart, nonPassive);
|
|
1366
|
-
return function() {
|
|
1367
|
-
lockStack = lockStack.filter(function(inst) {
|
|
1368
|
-
return inst !== Style;
|
|
1369
|
-
});
|
|
1370
|
-
document.removeEventListener("wheel", shouldPrevent, nonPassive);
|
|
1371
|
-
document.removeEventListener("touchmove", shouldPrevent, nonPassive);
|
|
1372
|
-
document.removeEventListener("touchstart", scrollTouchStart, nonPassive);
|
|
1373
|
-
};
|
|
1374
|
-
}, []);
|
|
1375
|
-
var removeScrollBar = props.removeScrollBar, inert = props.inert;
|
|
1376
|
-
return import_react.createElement(import_react.Fragment, null, inert ? import_react.createElement(Style, { styles: generateStyle(id) }) : null, removeScrollBar ? import_react.createElement(RemoveScrollBar, {
|
|
1377
|
-
noRelative: props.noRelative,
|
|
1378
|
-
gapMode: props.gapMode
|
|
1379
|
-
}) : null);
|
|
1380
|
-
}
|
|
1381
|
-
function getOutermostShadowParent(node) {
|
|
1382
|
-
var shadowParent = null;
|
|
1383
|
-
while (node !== null) {
|
|
1384
|
-
if (node instanceof ShadowRoot) {
|
|
1385
|
-
shadowParent = node.host;
|
|
1386
|
-
node = node.host;
|
|
1387
|
-
}
|
|
1388
|
-
node = node.parentNode;
|
|
1389
|
-
}
|
|
1390
|
-
return shadowParent;
|
|
1391
|
-
}
|
|
1392
|
-
//#endregion
|
|
1393
|
-
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/sidecar.js
|
|
1394
|
-
var sidecar_default = exportSidecar(effectCar, RemoveScrollSideCar);
|
|
1395
|
-
//#endregion
|
|
1396
|
-
//#region node_modules/.pnpm/react-remove-scroll@2.7.2_@types+react@19.2.14_react@19.2.5/node_modules/react-remove-scroll/dist/es2015/Combination.js
|
|
1397
|
-
var ReactRemoveScroll = import_react.forwardRef(function(props, ref) {
|
|
1398
|
-
return import_react.createElement(RemoveScroll, __assign({}, props, {
|
|
1399
|
-
ref,
|
|
1400
|
-
sideCar: sidecar_default
|
|
1401
|
-
}));
|
|
1402
|
-
});
|
|
1403
|
-
ReactRemoveScroll.classNames = RemoveScroll.classNames;
|
|
1404
|
-
//#endregion
|
|
1405
|
-
//#region node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js
|
|
1406
|
-
var getDefaultParent = function(originalTarget) {
|
|
1407
|
-
if (typeof document === "undefined") return null;
|
|
1408
|
-
return (Array.isArray(originalTarget) ? originalTarget[0] : originalTarget).ownerDocument.body;
|
|
1409
|
-
};
|
|
1410
|
-
var counterMap = /* @__PURE__ */ new WeakMap();
|
|
1411
|
-
var uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
1412
|
-
var markerMap = {};
|
|
1413
|
-
var lockCount = 0;
|
|
1414
|
-
var unwrapHost = function(node) {
|
|
1415
|
-
return node && (node.host || unwrapHost(node.parentNode));
|
|
1416
|
-
};
|
|
1417
|
-
var correctTargets = function(parent, targets) {
|
|
1418
|
-
return targets.map(function(target) {
|
|
1419
|
-
if (parent.contains(target)) return target;
|
|
1420
|
-
var correctedTarget = unwrapHost(target);
|
|
1421
|
-
if (correctedTarget && parent.contains(correctedTarget)) return correctedTarget;
|
|
1422
|
-
console.error("aria-hidden", target, "in not contained inside", parent, ". Doing nothing");
|
|
1423
|
-
return null;
|
|
1424
|
-
}).filter(function(x) {
|
|
1425
|
-
return Boolean(x);
|
|
1426
|
-
});
|
|
1427
|
-
};
|
|
1428
|
-
/**
|
|
1429
|
-
* Marks everything except given node(or nodes) as aria-hidden
|
|
1430
|
-
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
1431
|
-
* @param [parentNode] - top element, defaults to document.body
|
|
1432
|
-
* @param {String} [markerName] - a special attribute to mark every node
|
|
1433
|
-
* @param {String} [controlAttribute] - html Attribute to control
|
|
1434
|
-
* @return {Undo} undo command
|
|
1435
|
-
*/
|
|
1436
|
-
var applyAttributeToOthers = function(originalTarget, parentNode, markerName, controlAttribute) {
|
|
1437
|
-
var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
1438
|
-
if (!markerMap[markerName]) markerMap[markerName] = /* @__PURE__ */ new WeakMap();
|
|
1439
|
-
var markerCounter = markerMap[markerName];
|
|
1440
|
-
var hiddenNodes = [];
|
|
1441
|
-
var elementsToKeep = /* @__PURE__ */ new Set();
|
|
1442
|
-
var elementsToStop = new Set(targets);
|
|
1443
|
-
var keep = function(el) {
|
|
1444
|
-
if (!el || elementsToKeep.has(el)) return;
|
|
1445
|
-
elementsToKeep.add(el);
|
|
1446
|
-
keep(el.parentNode);
|
|
1447
|
-
};
|
|
1448
|
-
targets.forEach(keep);
|
|
1449
|
-
var deep = function(parent) {
|
|
1450
|
-
if (!parent || elementsToStop.has(parent)) return;
|
|
1451
|
-
Array.prototype.forEach.call(parent.children, function(node) {
|
|
1452
|
-
if (elementsToKeep.has(node)) deep(node);
|
|
1453
|
-
else try {
|
|
1454
|
-
var attr = node.getAttribute(controlAttribute);
|
|
1455
|
-
var alreadyHidden = attr !== null && attr !== "false";
|
|
1456
|
-
var counterValue = (counterMap.get(node) || 0) + 1;
|
|
1457
|
-
var markerValue = (markerCounter.get(node) || 0) + 1;
|
|
1458
|
-
counterMap.set(node, counterValue);
|
|
1459
|
-
markerCounter.set(node, markerValue);
|
|
1460
|
-
hiddenNodes.push(node);
|
|
1461
|
-
if (counterValue === 1 && alreadyHidden) uncontrolledNodes.set(node, true);
|
|
1462
|
-
if (markerValue === 1) node.setAttribute(markerName, "true");
|
|
1463
|
-
if (!alreadyHidden) node.setAttribute(controlAttribute, "true");
|
|
1464
|
-
} catch (e) {
|
|
1465
|
-
console.error("aria-hidden: cannot operate on ", node, e);
|
|
1466
|
-
}
|
|
1467
|
-
});
|
|
1468
|
-
};
|
|
1469
|
-
deep(parentNode);
|
|
1470
|
-
elementsToKeep.clear();
|
|
1471
|
-
lockCount++;
|
|
1472
|
-
return function() {
|
|
1473
|
-
hiddenNodes.forEach(function(node) {
|
|
1474
|
-
var counterValue = counterMap.get(node) - 1;
|
|
1475
|
-
var markerValue = markerCounter.get(node) - 1;
|
|
1476
|
-
counterMap.set(node, counterValue);
|
|
1477
|
-
markerCounter.set(node, markerValue);
|
|
1478
|
-
if (!counterValue) {
|
|
1479
|
-
if (!uncontrolledNodes.has(node)) node.removeAttribute(controlAttribute);
|
|
1480
|
-
uncontrolledNodes.delete(node);
|
|
1481
|
-
}
|
|
1482
|
-
if (!markerValue) node.removeAttribute(markerName);
|
|
1483
|
-
});
|
|
1484
|
-
lockCount--;
|
|
1485
|
-
if (!lockCount) {
|
|
1486
|
-
counterMap = /* @__PURE__ */ new WeakMap();
|
|
1487
|
-
counterMap = /* @__PURE__ */ new WeakMap();
|
|
1488
|
-
uncontrolledNodes = /* @__PURE__ */ new WeakMap();
|
|
1489
|
-
markerMap = {};
|
|
1490
|
-
}
|
|
1491
|
-
};
|
|
1492
|
-
};
|
|
1493
|
-
/**
|
|
1494
|
-
* Marks everything except given node(or nodes) as aria-hidden
|
|
1495
|
-
* @param {Element | Element[]} originalTarget - elements to keep on the page
|
|
1496
|
-
* @param [parentNode] - top element, defaults to document.body
|
|
1497
|
-
* @param {String} [markerName] - a special attribute to mark every node
|
|
1498
|
-
* @return {Undo} undo command
|
|
1499
|
-
*/
|
|
1500
|
-
var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
1501
|
-
if (markerName === void 0) markerName = "data-aria-hidden";
|
|
1502
|
-
var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);
|
|
1503
|
-
var activeParentNode = parentNode || getDefaultParent(originalTarget);
|
|
1504
|
-
if (!activeParentNode) return function() {
|
|
1505
|
-
return null;
|
|
1506
|
-
};
|
|
1507
|
-
targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll("[aria-live], script")));
|
|
1508
|
-
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
1509
|
-
};
|
|
1510
|
-
//#endregion
|
|
1511
|
-
//#region node_modules/.pnpm/@radix-ui+react-dialog@1.1.15_@types+react-dom@19.2.3_@types+react@19.2.14__@types+reac_2bb6e144a4a4887664c34982a66175eb/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
1512
|
-
var DIALOG_NAME = "Dialog";
|
|
1513
|
-
var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
|
|
1514
|
-
var [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);
|
|
1515
|
-
var Dialog = (props) => {
|
|
1516
|
-
const { __scopeDialog, children, open: openProp, defaultOpen, onOpenChange, modal = true } = props;
|
|
1517
|
-
const triggerRef = import_react.useRef(null);
|
|
1518
|
-
const contentRef = import_react.useRef(null);
|
|
1519
|
-
const [open, setOpen] = useControllableState({
|
|
1520
|
-
prop: openProp,
|
|
1521
|
-
defaultProp: defaultOpen ?? false,
|
|
1522
|
-
onChange: onOpenChange,
|
|
1523
|
-
caller: DIALOG_NAME
|
|
1524
|
-
});
|
|
1525
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogProvider, {
|
|
1526
|
-
scope: __scopeDialog,
|
|
1527
|
-
triggerRef,
|
|
1528
|
-
contentRef,
|
|
1529
|
-
contentId: useId(),
|
|
1530
|
-
titleId: useId(),
|
|
1531
|
-
descriptionId: useId(),
|
|
1532
|
-
open,
|
|
1533
|
-
onOpenChange: setOpen,
|
|
1534
|
-
onOpenToggle: import_react.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),
|
|
1535
|
-
modal,
|
|
1536
|
-
children
|
|
1537
|
-
});
|
|
1538
|
-
};
|
|
1539
|
-
Dialog.displayName = DIALOG_NAME;
|
|
1540
|
-
var TRIGGER_NAME = "DialogTrigger";
|
|
1541
|
-
var DialogTrigger = import_react.forwardRef((props, forwardedRef) => {
|
|
1542
|
-
const { __scopeDialog, ...triggerProps } = props;
|
|
1543
|
-
const context = useDialogContext(TRIGGER_NAME, __scopeDialog);
|
|
1544
|
-
const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);
|
|
1545
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.button, {
|
|
1546
|
-
type: "button",
|
|
1547
|
-
"aria-haspopup": "dialog",
|
|
1548
|
-
"aria-expanded": context.open,
|
|
1549
|
-
"aria-controls": context.contentId,
|
|
1550
|
-
"data-state": getState(context.open),
|
|
1551
|
-
...triggerProps,
|
|
1552
|
-
ref: composedTriggerRef,
|
|
1553
|
-
onClick: composeEventHandlers(props.onClick, context.onOpenToggle)
|
|
1554
|
-
});
|
|
1555
|
-
});
|
|
1556
|
-
DialogTrigger.displayName = TRIGGER_NAME;
|
|
1557
|
-
var PORTAL_NAME = "DialogPortal";
|
|
1558
|
-
var [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, { forceMount: void 0 });
|
|
1559
|
-
var DialogPortal = (props) => {
|
|
1560
|
-
const { __scopeDialog, forceMount, children, container } = props;
|
|
1561
|
-
const context = useDialogContext(PORTAL_NAME, __scopeDialog);
|
|
1562
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PortalProvider, {
|
|
1563
|
-
scope: __scopeDialog,
|
|
1564
|
-
forceMount,
|
|
1565
|
-
children: import_react.Children.map(children, (child) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Presence, {
|
|
1566
|
-
present: forceMount || context.open,
|
|
1567
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Portal$1, {
|
|
1568
|
-
asChild: true,
|
|
1569
|
-
container,
|
|
1570
|
-
children: child
|
|
1571
|
-
})
|
|
1572
|
-
}))
|
|
1573
|
-
});
|
|
1574
|
-
};
|
|
1575
|
-
DialogPortal.displayName = PORTAL_NAME;
|
|
1576
|
-
var OVERLAY_NAME = "DialogOverlay";
|
|
1577
|
-
var DialogOverlay = import_react.forwardRef((props, forwardedRef) => {
|
|
1578
|
-
const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);
|
|
1579
|
-
const { forceMount = portalContext.forceMount, ...overlayProps } = props;
|
|
1580
|
-
const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);
|
|
1581
|
-
return context.modal ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Presence, {
|
|
1582
|
-
present: forceMount || context.open,
|
|
1583
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogOverlayImpl, {
|
|
1584
|
-
...overlayProps,
|
|
1585
|
-
ref: forwardedRef
|
|
1586
|
-
})
|
|
1587
|
-
}) : null;
|
|
1588
|
-
});
|
|
1589
|
-
DialogOverlay.displayName = OVERLAY_NAME;
|
|
1590
|
-
var Slot = /* @__PURE__ */ createSlot("DialogOverlay.RemoveScroll");
|
|
1591
|
-
var DialogOverlayImpl = import_react.forwardRef((props, forwardedRef) => {
|
|
1592
|
-
const { __scopeDialog, ...overlayProps } = props;
|
|
1593
|
-
const context = useDialogContext(OVERLAY_NAME, __scopeDialog);
|
|
1594
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ReactRemoveScroll, {
|
|
1595
|
-
as: Slot,
|
|
1596
|
-
allowPinchZoom: true,
|
|
1597
|
-
shards: [context.contentRef],
|
|
1598
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.div, {
|
|
1599
|
-
"data-state": getState(context.open),
|
|
1600
|
-
...overlayProps,
|
|
1601
|
-
ref: forwardedRef,
|
|
1602
|
-
style: {
|
|
1603
|
-
pointerEvents: "auto",
|
|
1604
|
-
...overlayProps.style
|
|
1605
|
-
}
|
|
1606
|
-
})
|
|
1607
|
-
});
|
|
1608
|
-
});
|
|
1609
|
-
var CONTENT_NAME = "DialogContent";
|
|
1610
|
-
var DialogContent = import_react.forwardRef((props, forwardedRef) => {
|
|
1611
|
-
const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);
|
|
1612
|
-
const { forceMount = portalContext.forceMount, ...contentProps } = props;
|
|
1613
|
-
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
1614
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Presence, {
|
|
1615
|
-
present: forceMount || context.open,
|
|
1616
|
-
children: context.modal ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogContentModal, {
|
|
1617
|
-
...contentProps,
|
|
1618
|
-
ref: forwardedRef
|
|
1619
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogContentNonModal, {
|
|
1620
|
-
...contentProps,
|
|
1621
|
-
ref: forwardedRef
|
|
1622
|
-
})
|
|
1623
|
-
});
|
|
1624
|
-
});
|
|
1625
|
-
DialogContent.displayName = CONTENT_NAME;
|
|
1626
|
-
var DialogContentModal = import_react.forwardRef((props, forwardedRef) => {
|
|
1627
|
-
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
1628
|
-
const contentRef = import_react.useRef(null);
|
|
1629
|
-
const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);
|
|
1630
|
-
import_react.useEffect(() => {
|
|
1631
|
-
const content = contentRef.current;
|
|
1632
|
-
if (content) return hideOthers(content);
|
|
1633
|
-
}, []);
|
|
1634
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogContentImpl, {
|
|
1635
|
-
...props,
|
|
1636
|
-
ref: composedRefs,
|
|
1637
|
-
trapFocus: context.open,
|
|
1638
|
-
disableOutsidePointerEvents: true,
|
|
1639
|
-
onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {
|
|
1640
|
-
event.preventDefault();
|
|
1641
|
-
context.triggerRef.current?.focus();
|
|
1642
|
-
}),
|
|
1643
|
-
onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {
|
|
1644
|
-
const originalEvent = event.detail.originalEvent;
|
|
1645
|
-
const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;
|
|
1646
|
-
if (originalEvent.button === 2 || ctrlLeftClick) event.preventDefault();
|
|
1647
|
-
}),
|
|
1648
|
-
onFocusOutside: composeEventHandlers(props.onFocusOutside, (event) => event.preventDefault())
|
|
1649
|
-
});
|
|
1650
|
-
});
|
|
1651
|
-
var DialogContentNonModal = import_react.forwardRef((props, forwardedRef) => {
|
|
1652
|
-
const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);
|
|
1653
|
-
const hasInteractedOutsideRef = import_react.useRef(false);
|
|
1654
|
-
const hasPointerDownOutsideRef = import_react.useRef(false);
|
|
1655
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogContentImpl, {
|
|
1656
|
-
...props,
|
|
1657
|
-
ref: forwardedRef,
|
|
1658
|
-
trapFocus: false,
|
|
1659
|
-
disableOutsidePointerEvents: false,
|
|
1660
|
-
onCloseAutoFocus: (event) => {
|
|
1661
|
-
props.onCloseAutoFocus?.(event);
|
|
1662
|
-
if (!event.defaultPrevented) {
|
|
1663
|
-
if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();
|
|
1664
|
-
event.preventDefault();
|
|
1665
|
-
}
|
|
1666
|
-
hasInteractedOutsideRef.current = false;
|
|
1667
|
-
hasPointerDownOutsideRef.current = false;
|
|
1668
|
-
},
|
|
1669
|
-
onInteractOutside: (event) => {
|
|
1670
|
-
props.onInteractOutside?.(event);
|
|
1671
|
-
if (!event.defaultPrevented) {
|
|
1672
|
-
hasInteractedOutsideRef.current = true;
|
|
1673
|
-
if (event.detail.originalEvent.type === "pointerdown") hasPointerDownOutsideRef.current = true;
|
|
1674
|
-
}
|
|
1675
|
-
const target = event.target;
|
|
1676
|
-
if (context.triggerRef.current?.contains(target)) event.preventDefault();
|
|
1677
|
-
if (event.detail.originalEvent.type === "focusin" && hasPointerDownOutsideRef.current) event.preventDefault();
|
|
1678
|
-
}
|
|
1679
|
-
});
|
|
1680
|
-
});
|
|
1681
|
-
var DialogContentImpl = import_react.forwardRef((props, forwardedRef) => {
|
|
1682
|
-
const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;
|
|
1683
|
-
const context = useDialogContext(CONTENT_NAME, __scopeDialog);
|
|
1684
|
-
const contentRef = import_react.useRef(null);
|
|
1685
|
-
const composedRefs = useComposedRefs(forwardedRef, contentRef);
|
|
1686
|
-
useFocusGuards();
|
|
1687
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(FocusScope, {
|
|
1688
|
-
asChild: true,
|
|
1689
|
-
loop: true,
|
|
1690
|
-
trapped: trapFocus,
|
|
1691
|
-
onMountAutoFocus: onOpenAutoFocus,
|
|
1692
|
-
onUnmountAutoFocus: onCloseAutoFocus,
|
|
1693
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DismissableLayer, {
|
|
1694
|
-
role: "dialog",
|
|
1695
|
-
id: context.contentId,
|
|
1696
|
-
"aria-describedby": context.descriptionId,
|
|
1697
|
-
"aria-labelledby": context.titleId,
|
|
1698
|
-
"data-state": getState(context.open),
|
|
1699
|
-
...contentProps,
|
|
1700
|
-
ref: composedRefs,
|
|
1701
|
-
onDismiss: () => context.onOpenChange(false)
|
|
1702
|
-
})
|
|
1703
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TitleWarning, { titleId: context.titleId }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DescriptionWarning, {
|
|
1704
|
-
contentRef,
|
|
1705
|
-
descriptionId: context.descriptionId
|
|
1706
|
-
})] })] });
|
|
1707
|
-
});
|
|
1708
|
-
var TITLE_NAME = "DialogTitle";
|
|
1709
|
-
var DialogTitle = import_react.forwardRef((props, forwardedRef) => {
|
|
1710
|
-
const { __scopeDialog, ...titleProps } = props;
|
|
1711
|
-
const context = useDialogContext(TITLE_NAME, __scopeDialog);
|
|
1712
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.h2, {
|
|
1713
|
-
id: context.titleId,
|
|
1714
|
-
...titleProps,
|
|
1715
|
-
ref: forwardedRef
|
|
1716
|
-
});
|
|
1717
|
-
});
|
|
1718
|
-
DialogTitle.displayName = TITLE_NAME;
|
|
1719
|
-
var DESCRIPTION_NAME = "DialogDescription";
|
|
1720
|
-
var DialogDescription = import_react.forwardRef((props, forwardedRef) => {
|
|
1721
|
-
const { __scopeDialog, ...descriptionProps } = props;
|
|
1722
|
-
const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);
|
|
1723
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.p, {
|
|
1724
|
-
id: context.descriptionId,
|
|
1725
|
-
...descriptionProps,
|
|
1726
|
-
ref: forwardedRef
|
|
1727
|
-
});
|
|
1728
|
-
});
|
|
1729
|
-
DialogDescription.displayName = DESCRIPTION_NAME;
|
|
1730
|
-
var CLOSE_NAME = "DialogClose";
|
|
1731
|
-
var DialogClose = import_react.forwardRef((props, forwardedRef) => {
|
|
1732
|
-
const { __scopeDialog, ...closeProps } = props;
|
|
1733
|
-
const context = useDialogContext(CLOSE_NAME, __scopeDialog);
|
|
1734
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.button, {
|
|
1735
|
-
type: "button",
|
|
1736
|
-
...closeProps,
|
|
1737
|
-
ref: forwardedRef,
|
|
1738
|
-
onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))
|
|
1739
|
-
});
|
|
1740
|
-
});
|
|
1741
|
-
DialogClose.displayName = CLOSE_NAME;
|
|
1742
|
-
function getState(open) {
|
|
1743
|
-
return open ? "open" : "closed";
|
|
1744
|
-
}
|
|
1745
|
-
var TITLE_WARNING_NAME = "DialogTitleWarning";
|
|
1746
|
-
var [WarningProvider, useWarningContext] = createContext2(TITLE_WARNING_NAME, {
|
|
1747
|
-
contentName: CONTENT_NAME,
|
|
1748
|
-
titleName: TITLE_NAME,
|
|
1749
|
-
docsSlug: "dialog"
|
|
1750
|
-
});
|
|
1751
|
-
var TitleWarning = ({ titleId }) => {
|
|
1752
|
-
const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);
|
|
1753
|
-
const MESSAGE = `\`${titleWarningContext.contentName}\` requires a \`${titleWarningContext.titleName}\` for the component to be accessible for screen reader users.
|
|
1754
|
-
|
|
1755
|
-
If you want to hide the \`${titleWarningContext.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
1756
|
-
|
|
1757
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;
|
|
1758
|
-
import_react.useEffect(() => {
|
|
1759
|
-
if (titleId) {
|
|
1760
|
-
if (!document.getElementById(titleId)) console.error(MESSAGE);
|
|
1761
|
-
}
|
|
1762
|
-
}, [MESSAGE, titleId]);
|
|
1763
|
-
return null;
|
|
1764
|
-
};
|
|
1765
|
-
var DESCRIPTION_WARNING_NAME = "DialogDescriptionWarning";
|
|
1766
|
-
var DescriptionWarning = ({ contentRef, descriptionId }) => {
|
|
1767
|
-
const MESSAGE = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${useWarningContext(DESCRIPTION_WARNING_NAME).contentName}}.`;
|
|
1768
|
-
import_react.useEffect(() => {
|
|
1769
|
-
const describedById = contentRef.current?.getAttribute("aria-describedby");
|
|
1770
|
-
if (descriptionId && describedById) {
|
|
1771
|
-
if (!document.getElementById(descriptionId)) console.warn(MESSAGE);
|
|
1772
|
-
}
|
|
1773
|
-
}, [
|
|
1774
|
-
MESSAGE,
|
|
1775
|
-
contentRef,
|
|
1776
|
-
descriptionId
|
|
1777
|
-
]);
|
|
1778
|
-
return null;
|
|
1779
|
-
};
|
|
1780
|
-
var Root = Dialog;
|
|
1781
|
-
var Trigger = DialogTrigger;
|
|
1782
|
-
var Portal = DialogPortal;
|
|
1783
|
-
var Overlay = DialogOverlay;
|
|
1784
|
-
var Content = DialogContent;
|
|
1785
|
-
var Title = DialogTitle;
|
|
1786
|
-
var Description = DialogDescription;
|
|
1787
|
-
var Close = DialogClose;
|
|
1788
|
-
//#endregion
|
|
1789
|
-
export { Portal as a, Trigger as c, Overlay as i, useId as l, Content as n, Root as o, Description as r, Title as s, Close as t };
|