@vasfal/vellum 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +5 -5
- package/.next/build-manifest.json +13 -14
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +3 -3
- package/.next/required-server-files.js +2 -0
- package/.next/required-server-files.json +2 -0
- package/.next/server/app/(app)/page.js +2 -15
- package/.next/server/app/(app)/page.js.nft.json +1 -1
- package/.next/server/app/(app)/page_client-reference-manifest.js +1 -3
- package/.next/server/app/(app)/session/[name]/page.js +2 -15
- package/.next/server/app/(app)/session/[name]/page.js.nft.json +1 -1
- package/.next/server/app/(app)/session/[name]/page_client-reference-manifest.js +1 -3
- package/.next/server/app/(app)/settings/key/page.js +2 -15
- package/.next/server/app/(app)/settings/key/page.js.nft.json +1 -1
- package/.next/server/app/(app)/settings/key/page_client-reference-manifest.js +1 -3
- package/.next/server/app/_global-error/page.js +32 -9
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.meta +2 -1
- package/.next/server/app/_global-error.rsc +7 -7
- package/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/.next/server/app/_global-error.segments/{__PAGE__.segment.rsc → _global-error/__PAGE__.segment.rsc} +2 -2
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +5 -0
- package/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -13
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -3
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +14 -12
- package/.next/server/app/_not-found.segments/_full.segment.rsc +14 -12
- package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_index.segment.rsc +6 -6
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/api/analyze/route.js +12 -9
- package/.next/server/app/api/analyze/route.js.nft.json +1 -1
- package/.next/server/app/api/analyze/route_client-reference-manifest.js +1 -3
- package/.next/server/app/api/key/route.js +1 -8
- package/.next/server/app/api/key/route.js.nft.json +1 -1
- package/.next/server/app/api/key/route_client-reference-manifest.js +1 -3
- package/.next/server/app/api/key-status/route.js +1 -7
- package/.next/server/app/api/key-status/route.js.nft.json +1 -1
- package/.next/server/app/api/key-status/route_client-reference-manifest.js +1 -3
- package/.next/server/app/api/models/route.js +1 -7
- package/.next/server/app/api/models/route.js.nft.json +1 -1
- package/.next/server/app/api/models/route_client-reference-manifest.js +1 -3
- package/.next/server/app/api/revise/route.js +1 -8
- package/.next/server/app/api/revise/route.js.nft.json +1 -1
- package/.next/server/app/api/revise/route_client-reference-manifest.js +1 -3
- package/.next/server/app/icon.svg/route.js +1 -7
- package/.next/server/app/icon.svg/route.js.nft.json +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +24 -27
- package/.next/server/app/index.segments/!KGFwcCk/__PAGE__.segment.rsc +6 -6
- package/.next/server/app/index.segments/!KGFwcCk.segment.rsc +9 -9
- package/.next/server/app/index.segments/_full.segment.rsc +24 -27
- package/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/server/app/index.segments/_index.segment.rsc +6 -6
- package/.next/server/app/index.segments/_tree.segment.rsc +4 -4
- package/.next/server/app/record-test/page.js +8 -14
- package/.next/server/app/record-test/page.js.nft.json +1 -1
- package/.next/server/app/record-test/page_client-reference-manifest.js +1 -3
- package/.next/server/app/record-test.html +2 -2
- package/.next/server/app/record-test.rsc +16 -16
- package/.next/server/app/record-test.segments/_full.segment.rsc +16 -16
- package/.next/server/app/record-test.segments/_head.segment.rsc +4 -4
- package/.next/server/app/record-test.segments/_index.segment.rsc +6 -6
- package/.next/server/app/record-test.segments/_tree.segment.rsc +4 -4
- package/.next/server/app/record-test.segments/record-test/__PAGE__.segment.rsc +4 -4
- package/.next/server/app/record-test.segments/record-test.segment.rsc +3 -3
- package/.next/server/app/settings/key.html +1 -1
- package/.next/server/app/settings/key.rsc +28 -34
- package/.next/server/app/settings/key.segments/!KGFwcCk/settings/key/__PAGE__.segment.rsc +5 -5
- package/.next/server/app/settings/key.segments/!KGFwcCk/settings/key.segment.rsc +3 -3
- package/.next/server/app/settings/key.segments/!KGFwcCk/settings.segment.rsc +3 -3
- package/.next/server/app/settings/key.segments/!KGFwcCk.segment.rsc +9 -9
- package/.next/server/app/settings/key.segments/_full.segment.rsc +28 -34
- package/.next/server/app/settings/key.segments/_head.segment.rsc +4 -4
- package/.next/server/app/settings/key.segments/_index.segment.rsc +6 -6
- package/.next/server/app/settings/key.segments/_tree.segment.rsc +4 -4
- package/.next/server/app/styleguide/page.js +2 -15
- package/.next/server/app/styleguide/page.js.nft.json +1 -1
- package/.next/server/app/styleguide/page_client-reference-manifest.js +1 -3
- package/.next/server/app/styleguide.html +1 -1
- package/.next/server/app/styleguide.rsc +68 -71
- package/.next/server/app/styleguide.segments/_full.segment.rsc +68 -71
- package/.next/server/app/styleguide.segments/_head.segment.rsc +4 -4
- package/.next/server/app/styleguide.segments/_index.segment.rsc +6 -6
- package/.next/server/app/styleguide.segments/_tree.segment.rsc +4 -4
- package/.next/server/app/styleguide.segments/styleguide/__PAGE__.segment.rsc +43 -45
- package/.next/server/app/styleguide.segments/styleguide.segment.rsc +3 -3
- package/.next/server/app-paths-manifest.json +5 -5
- package/.next/server/chunks/15.js +1 -0
- package/.next/server/chunks/319.js +45 -0
- package/.next/server/chunks/367.js +122 -0
- package/.next/server/chunks/393.js +4 -0
- package/.next/server/chunks/491.js +2 -0
- package/.next/server/chunks/497.js +1 -0
- package/.next/server/chunks/546.js +1 -0
- package/.next/server/chunks/592.js +44 -0
- package/.next/server/chunks/607.js +4 -0
- package/.next/server/chunks/724.js +1 -0
- package/.next/server/chunks/741.js +18 -0
- package/.next/server/chunks/813.js +1 -0
- package/.next/server/chunks/837.js +75 -0
- package/.next/server/chunks/852.js +14 -0
- package/.next/server/chunks/907.js +62 -0
- package/.next/server/chunks/915.js +8 -0
- package/.next/server/chunks/994.js +8 -0
- package/.next/server/middleware-build-manifest.js +1 -21
- package/.next/server/middleware-manifest.json +2 -2
- package/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/server/next-font-manifest.js +1 -1
- package/.next/server/next-font-manifest.json +1 -31
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -5
- package/.next/server/webpack-runtime.js +1 -0
- package/.next/static/FExJe2q2O67X3zxf-SYQ_/_buildManifest.js +1 -0
- package/.next/static/chunks/185-9c51ded7cd36ca7e.js +1 -0
- package/.next/static/chunks/20-cca33f633fa125b2.js +1 -0
- package/.next/static/chunks/27-02413cc56fbb4570.js +1 -0
- package/.next/static/chunks/376-6f7bc95550542e0b.js +62 -0
- package/.next/static/chunks/479-ea67f878851afbcd.js +1 -0
- package/.next/static/chunks/493-6bd8c75c972d3abd.js +2 -0
- package/.next/static/chunks/4bd1b696-deb4a0a1da1923b0.js +1 -0
- package/.next/static/chunks/603-6235d4d53b37035c.js +1 -0
- package/.next/static/chunks/743-c183133e0fbf1564.js +44 -0
- package/.next/static/chunks/793-5e37343b804eb1d9.js +1 -0
- package/.next/static/chunks/794-dc751ec6c8c611f8.js +32 -0
- package/.next/static/chunks/924-9226750edc5c2c2f.js +1 -0
- package/.next/static/chunks/95247769-a29d70f7fbba27c6.js +1 -0
- package/.next/static/chunks/app/(app)/layout-aad46049bfd54648.js +1 -0
- package/.next/static/chunks/app/(app)/page-d75e1fccccdbe30e.js +1 -0
- package/.next/static/chunks/app/(app)/session/[name]/page-60529ed1fd7a66a1.js +1 -0
- package/.next/static/chunks/app/(app)/settings/key/page-c2aab9f11db98d4e.js +1 -0
- package/.next/static/chunks/app/_global-error/page-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/app/_not-found/page-6830be21b0ed0c95.js +1 -0
- package/.next/static/chunks/app/api/analyze/route-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/app/api/key/route-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/app/api/key-status/route-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/app/api/models/route-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/app/api/revise/route-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/app/layout-aa71ca14e7f13c0c.js +1 -0
- package/.next/static/chunks/app/record-test/page-efb4287dda79ede4.js +7 -0
- package/.next/static/chunks/app/styleguide/page-f39510e82c1f9f31.js +1 -0
- package/.next/static/chunks/framework-b29f9083d3cda3b2.js +1 -0
- package/.next/static/chunks/main-app-39f57c6e6702740e.js +1 -0
- package/.next/static/chunks/main-fac8900b4f9c4833.js +5 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/global-error-c1d4bb24e31b66a2.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-b1c3f51315835726.js +1 -0
- package/.next/static/chunks/webpack-ceb933bd5f77076f.js +1 -0
- package/.next/static/css/e2905f0858acd77d.css +3 -0
- package/.next/types/app/(app)/page.ts +87 -0
- package/.next/types/app/(app)/session/[name]/page.ts +87 -0
- package/.next/types/app/(app)/settings/key/page.ts +87 -0
- package/.next/types/app/api/analyze/route.ts +351 -0
- package/.next/types/app/api/key/route.ts +351 -0
- package/.next/types/app/api/key-status/route.ts +351 -0
- package/.next/types/app/api/models/route.ts +351 -0
- package/.next/types/app/api/revise/route.ts +351 -0
- package/.next/types/app/layout.ts +87 -0
- package/.next/types/app/record-test/page.ts +87 -0
- package/.next/types/app/styleguide/page.ts +87 -0
- package/.next/types/package.json +1 -0
- package/README.md +4 -6
- package/next.config.ts +8 -0
- package/package.json +4 -4
- package/.next/build/56416d4ae4ce586f.js +0 -6
- package/.next/build/56416d4ae4ce586f.js.map +0 -5
- package/.next/build/chunks/[root-of-the-server]__0oj80bi._.js +0 -206
- package/.next/build/chunks/[root-of-the-server]__0oj80bi._.js.map +0 -8
- package/.next/build/chunks/[root-of-the-server]__1f933tp._.js +0 -500
- package/.next/build/chunks/[root-of-the-server]__1f933tp._.js.map +0 -11
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_0b7xl6g._.js +0 -13
- package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_0b7xl6g._.js.map +0 -5
- package/.next/build/chunks/[turbopack]_runtime.js +0 -890
- package/.next/build/chunks/[turbopack]_runtime.js.map +0 -11
- package/.next/build/chunks/node_modules_20v-8wl._.js +0 -6832
- package/.next/build/chunks/node_modules_20v-8wl._.js.map +0 -47
- package/.next/build/package.json +0 -1
- package/.next/cache/.previewinfo +0 -1
- package/.next/cache/.rscinfo +0 -1
- package/.next/cache/.tsbuildinfo +0 -1
- package/.next/diagnostics/route-bundle-stats.json +0 -111
- package/.next/fallback-build-manifest.json +0 -13
- package/.next/server/app/(app)/page/app-paths-manifest.json +0 -3
- package/.next/server/app/(app)/page/build-manifest.json +0 -17
- package/.next/server/app/(app)/page/next-font-manifest.json +0 -11
- package/.next/server/app/(app)/page/server-reference-manifest.json +0 -4
- package/.next/server/app/(app)/page.js.map +0 -5
- package/.next/server/app/(app)/session/[name]/page/app-paths-manifest.json +0 -3
- package/.next/server/app/(app)/session/[name]/page/build-manifest.json +0 -17
- package/.next/server/app/(app)/session/[name]/page/next-font-manifest.json +0 -11
- package/.next/server/app/(app)/session/[name]/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/(app)/session/[name]/page/server-reference-manifest.json +0 -4
- package/.next/server/app/(app)/session/[name]/page.js.map +0 -5
- package/.next/server/app/(app)/settings/key/page/app-paths-manifest.json +0 -3
- package/.next/server/app/(app)/settings/key/page/build-manifest.json +0 -17
- package/.next/server/app/(app)/settings/key/page/next-font-manifest.json +0 -11
- package/.next/server/app/(app)/settings/key/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/(app)/settings/key/page/server-reference-manifest.json +0 -4
- package/.next/server/app/(app)/settings/key/page.js.map +0 -5
- package/.next/server/app/_global-error/page/app-paths-manifest.json +0 -3
- package/.next/server/app/_global-error/page/build-manifest.json +0 -17
- package/.next/server/app/_global-error/page/next-font-manifest.json +0 -6
- package/.next/server/app/_global-error/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/_global-error/page/server-reference-manifest.json +0 -4
- package/.next/server/app/_global-error/page.js.map +0 -5
- package/.next/server/app/_not-found/page/app-paths-manifest.json +0 -3
- package/.next/server/app/_not-found/page/build-manifest.json +0 -17
- package/.next/server/app/_not-found/page/next-font-manifest.json +0 -11
- package/.next/server/app/_not-found/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/_not-found/page/server-reference-manifest.json +0 -4
- package/.next/server/app/_not-found/page.js.map +0 -5
- package/.next/server/app/api/analyze/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/analyze/route/build-manifest.json +0 -9
- package/.next/server/app/api/analyze/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/analyze/route.js.map +0 -5
- package/.next/server/app/api/key/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/key/route/build-manifest.json +0 -9
- package/.next/server/app/api/key/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/key/route.js.map +0 -5
- package/.next/server/app/api/key-status/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/key-status/route/build-manifest.json +0 -9
- package/.next/server/app/api/key-status/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/key-status/route.js.map +0 -5
- package/.next/server/app/api/models/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/models/route/build-manifest.json +0 -9
- package/.next/server/app/api/models/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/models/route.js.map +0 -5
- package/.next/server/app/api/revise/route/app-paths-manifest.json +0 -3
- package/.next/server/app/api/revise/route/build-manifest.json +0 -9
- package/.next/server/app/api/revise/route/server-reference-manifest.json +0 -4
- package/.next/server/app/api/revise/route.js.map +0 -5
- package/.next/server/app/icon.svg/route/app-paths-manifest.json +0 -3
- package/.next/server/app/icon.svg/route/build-manifest.json +0 -9
- package/.next/server/app/icon.svg/route.js.map +0 -5
- package/.next/server/app/record-test/page/app-paths-manifest.json +0 -3
- package/.next/server/app/record-test/page/build-manifest.json +0 -17
- package/.next/server/app/record-test/page/next-font-manifest.json +0 -11
- package/.next/server/app/record-test/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/record-test/page/server-reference-manifest.json +0 -4
- package/.next/server/app/record-test/page.js.map +0 -5
- package/.next/server/app/styleguide/page/app-paths-manifest.json +0 -3
- package/.next/server/app/styleguide/page/build-manifest.json +0 -17
- package/.next/server/app/styleguide/page/next-font-manifest.json +0 -11
- package/.next/server/app/styleguide/page/react-loadable-manifest.json +0 -1
- package/.next/server/app/styleguide/page/server-reference-manifest.json +0 -4
- package/.next/server/app/styleguide/page.js.map +0 -5
- package/.next/server/chunks/[externals]__1l0bqbz._.js +0 -3
- package/.next/server/chunks/[externals]__1l0bqbz._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__00u0a0m._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__00u0a0m._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__02oblj7._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__02oblj7._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__04dzkv1._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__04dzkv1._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__081zp1m._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__081zp1m._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__0dkua3v._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0dkua3v._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__0ezil_h._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ezil_h._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__0ww_12a._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0ww_12a._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__0x-kpif._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__0x-kpif._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__15bjnu5._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__15bjnu5._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__1kmbnvv._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1kmbnvv._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__1kp4vwc._.js +0 -14
- package/.next/server/chunks/[root-of-the-server]__1kp4vwc._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__1lbd3kd._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1lbd3kd._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__1ra6psc._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1ra6psc._.js.map +0 -1
- package/.next/server/chunks/[root-of-the-server]__1zn977r._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__1zn977r._.js.map +0 -1
- package/.next/server/chunks/[turbopack]_runtime.js +0 -903
- package/.next/server/chunks/[turbopack]_runtime.js.map +0 -11
- package/.next/server/chunks/_04h1cv_._.js +0 -185
- package/.next/server/chunks/_04h1cv_._.js.map +0 -1
- package/.next/server/chunks/_0pqmhjh._.js +0 -185
- package/.next/server/chunks/_0pqmhjh._.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_analyze_route_actions_0lx-23h.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_analyze_route_actions_0lx-23h.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_key-status_route_actions_1qgztm2.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_key-status_route_actions_1qgztm2.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_key_route_actions_15n2qsb.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_key_route_actions_15n2qsb.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_models_route_actions_1h6mkqp.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_models_route_actions_1h6mkqp.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_api_revise_route_actions_19kk3m-.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_api_revise_route_actions_19kk3m-.js.map +0 -1
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ub.js +0 -3
- package/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_1r2h_ub.js.map +0 -1
- package/.next/server/chunks/node_modules_0x51oh_._.js +0 -10
- package/.next/server/chunks/node_modules_0x51oh_._.js.map +0 -1
- package/.next/server/chunks/node_modules_19bvt3l._.js +0 -6
- package/.next/server/chunks/node_modules_19bvt3l._.js.map +0 -1
- package/.next/server/chunks/node_modules_1_-az43._.js +0 -16
- package/.next/server/chunks/node_modules_1_-az43._.js.map +0 -1
- package/.next/server/chunks/node_modules_1t2pqct._.js +0 -10
- package/.next/server/chunks/node_modules_1t2pqct._.js.map +0 -1
- package/.next/server/chunks/node_modules_next_08s853w._.js +0 -13
- package/.next/server/chunks/node_modules_next_08s853w._.js.map +0 -1
- package/.next/server/chunks/node_modules_node-fetch_src_index_1gf-_pn.js +0 -3
- package/.next/server/chunks/node_modules_node-fetch_src_index_1gf-_pn.js.map +0 -1
- package/.next/server/chunks/ssr/[externals]__1l0bqbz._.js +0 -3
- package/.next/server/chunks/ssr/[externals]__1l0bqbz._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__06ync7f._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__06ync7f._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0hml-pd._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0hml-pd._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0ntia6u._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0ntia6u._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0sdpd0o._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__0sdpd0o._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__0w2pa_y._.js +0 -33
- package/.next/server/chunks/ssr/[root-of-the-server]__0w2pa_y._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__10y0-wv._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__10y0-wv._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__11_7weu._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__11_7weu._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1_stkwn._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1_stkwn._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1dky4g0._.js +0 -33
- package/.next/server/chunks/ssr/[root-of-the-server]__1dky4g0._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1k6ey-q._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1k6ey-q._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1la73u1._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1la73u1._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1nshnxm._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1nshnxm._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1pssg49._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1pssg49._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1q6zd30._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1q6zd30._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1qlmg27._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__1qlmg27._.js.map +0 -1
- package/.next/server/chunks/ssr/[turbopack]_runtime.js +0 -903
- package/.next/server/chunks/ssr/[turbopack]_runtime.js.map +0 -11
- package/.next/server/chunks/ssr/_01pksvc._.js +0 -78
- package/.next/server/chunks/ssr/_01pksvc._.js.map +0 -1
- package/.next/server/chunks/ssr/_03lgii8._.js +0 -3
- package/.next/server/chunks/ssr/_03lgii8._.js.map +0 -1
- package/.next/server/chunks/ssr/_05tft_r._.js +0 -3
- package/.next/server/chunks/ssr/_05tft_r._.js.map +0 -1
- package/.next/server/chunks/ssr/_06gt995._.js +0 -3
- package/.next/server/chunks/ssr/_06gt995._.js.map +0 -1
- package/.next/server/chunks/ssr/_0jrh37c._.js +0 -46
- package/.next/server/chunks/ssr/_0jrh37c._.js.map +0 -1
- package/.next/server/chunks/ssr/_0kw6yq_._.js +0 -3
- package/.next/server/chunks/ssr/_0kw6yq_._.js.map +0 -1
- package/.next/server/chunks/ssr/_0l3c05z._.js +0 -3
- package/.next/server/chunks/ssr/_0l3c05z._.js.map +0 -1
- package/.next/server/chunks/ssr/_0n-ojw-._.js +0 -3
- package/.next/server/chunks/ssr/_0n-ojw-._.js.map +0 -1
- package/.next/server/chunks/ssr/_0t6a1ln._.js +0 -6
- package/.next/server/chunks/ssr/_0t6a1ln._.js.map +0 -1
- package/.next/server/chunks/ssr/_0td-xk-._.js +0 -3
- package/.next/server/chunks/ssr/_0td-xk-._.js.map +0 -1
- package/.next/server/chunks/ssr/_0y92f-y._.js +0 -46
- package/.next/server/chunks/ssr/_0y92f-y._.js.map +0 -1
- package/.next/server/chunks/ssr/_1b6au28._.js +0 -3
- package/.next/server/chunks/ssr/_1b6au28._.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_(app)_page_actions_1gxdy57.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app_(app)_page_actions_1gxdy57.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_(app)_session_[name]_page_actions_115d_ja.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app_(app)_session_[name]_page_actions_115d_ja.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_(app)_settings_key_page_actions_1jsc3or.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app_(app)_settings_key_page_actions_1jsc3or.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yr.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yr.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_record-test_page_actions_0a_yofw.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app_record-test_page_actions_0a_yofw.js.map +0 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_styleguide_page_actions_174h7x7.js +0 -3
- package/.next/server/chunks/ssr/_next-internal_server_app_styleguide_page_actions_174h7x7.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_0el53_h._.js +0 -10
- package/.next/server/chunks/ssr/node_modules_0el53_h._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_0h91jdk._.js +0 -33
- package/.next/server/chunks/ssr/node_modules_0h91jdk._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_1fxqp22._.js +0 -10
- package/.next/server/chunks/ssr/node_modules_1fxqp22._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_1loo6j7._.js +0 -6
- package/.next/server/chunks/ssr/node_modules_1loo6j7._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_1pvqj0r._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_1pvqj0r._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_0uboya6._.js +0 -6
- package/.next/server/chunks/ssr/node_modules_next_dist_0uboya6._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_172hvm-._.js +0 -19
- package/.next/server/chunks/ssr/node_modules_next_dist_172hvm-._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +0 -3
- package/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0_q50sh.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0_q50sh.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0_xbpm0.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0_xbpm0.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_119i6eu.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_119i6eu.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_14nl2rs.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_14nl2rs.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18u8k23.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18u8k23.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1_iwj0a.js +0 -4
- package/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1_iwj0a.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules_node-fetch_src_index_1e0t9p6.js +0 -3
- package/.next/server/chunks/ssr/node_modules_node-fetch_src_index_1e0t9p6.js.map +0 -1
- package/.next/server/chunks/ssr/src_19oqe9t._.js +0 -3
- package/.next/server/chunks/ssr/src_19oqe9t._.js.map +0 -1
- package/.next/server/chunks/ssr/src_app_record-test_page_tsx_08-2bld._.js +0 -9
- package/.next/server/chunks/ssr/src_app_record-test_page_tsx_08-2bld._.js.map +0 -1
- package/.next/server/chunks/ssr/src_components_app-sidebar_tsx_1xx2k53._.js +0 -3
- package/.next/server/chunks/ssr/src_components_app-sidebar_tsx_1xx2k53._.js.map +0 -1
- package/.next/server/chunks/ssr/src_components_settings_key-setup_tsx_0jxhnpa._.js +0 -3
- package/.next/server/chunks/ssr/src_components_settings_key-setup_tsx_0jxhnpa._.js.map +0 -1
- package/.next/server/chunks/ssr/src_components_ui_0lq7ewx._.js +0 -3
- package/.next/server/chunks/ssr/src_components_ui_0lq7ewx._.js.map +0 -1
- package/.next/static/CIZxngYjzUw1Kb0KrE473/_buildManifest.js +0 -11
- package/.next/static/CIZxngYjzUw1Kb0KrE473/_clientMiddlewareManifest.js +0 -1
- package/.next/static/chunks/05-c3ty_6dwfk.js +0 -1
- package/.next/static/chunks/07-hzktxqjvzd.js +0 -4
- package/.next/static/chunks/09bn0buuu6k2x.js +0 -1
- package/.next/static/chunks/0kkimqpuecvfn.js +0 -1
- package/.next/static/chunks/0mk1g55o6kl1e.js +0 -2
- package/.next/static/chunks/0ul837-9k0zx_.js +0 -63
- package/.next/static/chunks/0wpges32btt_p.js +0 -1
- package/.next/static/chunks/18qo-4_hfuwko.js +0 -1
- package/.next/static/chunks/1_dsevxz78b97.js +0 -1
- package/.next/static/chunks/2-oqhnxovgl_2.js +0 -44
- package/.next/static/chunks/2et_7fxuzt9cq.js +0 -31
- package/.next/static/chunks/2im7c515bo69p.js +0 -1
- package/.next/static/chunks/2merpuxt1zcvf.js +0 -1
- package/.next/static/chunks/2qb8lge1e2sv2.js +0 -1
- package/.next/static/chunks/2sj0gufu0lojq.css +0 -3
- package/.next/static/chunks/2zloaj9ja_vpy.js +0 -1
- package/.next/static/chunks/3rvy2rc9d_hwt.js +0 -1
- package/.next/static/chunks/3uci2qhsbp444.js +0 -50
- package/.next/static/chunks/3yao5u25-bf0g.js +0 -1
- package/.next/static/chunks/41_0qs6kjmoek.js +0 -1
- package/.next/static/chunks/4395sbjm36lbl.js +0 -1
- package/.next/static/chunks/turbopack-2cevjmbuh84ft.js +0 -1
- package/.next/static/media/icon.2_sgat73yt9an.svg +0 -7
- package/.next/trace +0 -1
- package/.next/trace-build +0 -1
- package/.next/turbopack +0 -0
- /package/.next/{server/app/(app)/page/react-loadable-manifest.json → react-loadable-manifest.json} +0 -0
- /package/.next/static/{CIZxngYjzUw1Kb0KrE473 → FExJe2q2O67X3zxf-SYQ_}/_ssgManifest.js +0 -0
- /package/.next/static/chunks/{0cz1d0mv5g_q7.js → polyfills-42372ed130431b0a.js} +0 -0
- /package/.next/static/media/{5ce348bf30bf5439-s.31988l_ccedte.woff2 → 013b72fa676f92e0-s.woff2} +0 -0
- /package/.next/static/media/{5476f68d60460930-s.2uwcyprjm3xu3.woff2 → 19cfc7226ec3afaa-s.woff2} +0 -0
- /package/.next/static/media/{9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2 → 21350d82a1f187e9-s.woff2} +0 -0
- /package/.next/static/media/{bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2 → 2b5b02fc7e511755-s.woff2} +0 -0
- /package/.next/static/media/{6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2 → 65f03d54ccadf4a8-s.woff2} +0 -0
- /package/.next/static/media/{797e433ab948586e-s.p.0r6juujl39pe6.woff2 → 7d4881bb7e1bf84d-s.p.woff2} +0 -0
- /package/.next/static/media/{1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2 → 8e9860b6e62d6359-s.woff2} +0 -0
- /package/.next/static/media/{4fa387ec64143e14-s.2tuy5pz7dlieh.woff2 → b9408752a0c24fb9-s.woff2} +0 -0
- /package/.next/static/media/{2c55a0e60120577a-s.0-dom-5bn10r2.woff2 → ba9851c3c22cd980-s.woff2} +0 -0
- /package/.next/static/media/{ad66f9afd8947f86-s.3lvt2whj97whp.woff2 → c5fe6dc8356a8c31-s.woff2} +0 -0
- /package/.next/static/media/{2bbe8d2671613f1f-s.0k62hbripvv8p.woff2 → df0a9ae256c0569c-s.woff2} +0 -0
- /package/.next/static/media/{7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2 → e038a29029a234f2-s.woff2} +0 -0
- /package/.next/static/media/{83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2 → e4af272ccee01ff0-s.p.woff2} +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
module.exports=[58430,90864,a=>{"use strict";let b=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim();a.s(["mergeClasses",0,b],58430);var c=a.i(72131),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let e=(0,c.createContext)({}),f=(0,c.forwardRef)(({color:a,size:f,strokeWidth:g,absoluteStrokeWidth:h,className:i="",children:j,iconNode:k,...l},m)=>{let{size:n=24,strokeWidth:o=2,absoluteStrokeWidth:p=!1,color:q="currentColor",className:r=""}=(0,c.useContext)(e)??{},s=h??p?24*Number(g??o)/Number(f??n):g??o;return(0,c.createElement)("svg",{ref:m,...d,width:f??n??d.width,height:f??n??d.height,stroke:a??q,strokeWidth:s,className:b("lucide",r,i),...!j&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(l)&&{"aria-hidden":"true"},...l},[...k.map(([a,b])=>(0,c.createElement)(a,b)),...Array.isArray(j)?j:[j]])});a.s(["default",0,f],90864)},64831,a=>{"use strict";var b=a.i(72131),c=a.i(58430);let d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e=a.i(90864);a.s(["default",0,(a,f)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(e.default,{ref:i,iconNode:f,className:(0,c.mergeClasses)(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g}],64831)},76013,82707,a=>{"use strict";async function b(a,b){var c;let d,e=(c=b,d=a=>String(a).padStart(2,"0"),`${c.getFullYear()}-${d(c.getMonth()+1)}-${d(c.getDate())}-${d(c.getHours())}-${d(c.getMinutes())}`),f=e,g=1;for(;g<1e3;){try{await a.getDirectoryHandle(f)}catch(b){if(b instanceof DOMException&&"NotFoundError"===b.name)return{dir:await a.getDirectoryHandle(f,{create:!0}),name:f};throw b}g+=1,f=`${e}-${g}`}throw Error(`Could not create a unique session folder for "${e}"`)}a.s(["createSessionDir",0,b],82707);let c="recording.webm";async function d(a,d){let{dir:e,name:f}=await b(a,d),g=await e.getFileHandle(c,{create:!0}),h=await g.createWritable(),i=Promise.resolve();return{sessionDirName:f,relativePath:`${f}/${c}`,write:a=>i=i.then(()=>h.write(a)),close:async()=>{await i,await h.close()}}}a.s(["createRecordingSink",0,d,"pickWorkspaceDirectory",0,function(){return window.showDirectoryPicker({mode:"readwrite"})}],76013)},66548,a=>{"use strict";let b="video/webm; codecs=vp9,opus";a.s(["VELLUM_MIME",0,b,"VELLUM_TIMESLICE_MS",0,1e3,"createRecorder",0,function({stream:a,onChunk:c,onError:d}){if(!MediaRecorder.isTypeSupported(b))throw Error(`MediaRecorder cannot record "${b}" in this browser`);let e=new MediaRecorder(a,{mimeType:b,videoBitsPerSecond:25e5});return e.addEventListener("dataavailable",a=>{a.data.size>0&&c(a.data)}),e.addEventListener("error",a=>{let b=a.error;d?.(b??Error("MediaRecorder error"))}),{start:()=>e.start(1e3),pause:()=>e.pause(),resume:()=>e.resume(),stop:()=>new Promise(a=>{e.addEventListener("stop",()=>a(),{once:!0}),e.stop()}),state:()=>e.state}}])},77445,a=>{"use strict";var b=a.i(72131);let c=`
|
|
2
|
-
:root { color-scheme: dark; }
|
|
3
|
-
body {
|
|
4
|
-
margin: 0;
|
|
5
|
-
background: oklch(0.145 0 0);
|
|
6
|
-
color: oklch(0.985 0 0);
|
|
7
|
-
font-family: ui-sans-serif, system-ui, sans-serif;
|
|
8
|
-
-webkit-font-smoothing: antialiased;
|
|
9
|
-
}
|
|
10
|
-
@keyframes vellum-rec-pulse {
|
|
11
|
-
0%, 100% { opacity: 1; transform: scale(1); }
|
|
12
|
-
50% { opacity: 0.35; transform: scale(0.82); }
|
|
13
|
-
}
|
|
14
|
-
.vellum-rec-dot { animation: vellum-rec-pulse 1.6s ease-in-out infinite; }
|
|
15
|
-
|
|
16
|
-
.vellum-pip-btn {
|
|
17
|
-
display: inline-flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
width: 34px;
|
|
21
|
-
height: 34px;
|
|
22
|
-
padding: 0;
|
|
23
|
-
background: oklch(0.205 0 0);
|
|
24
|
-
color: oklch(0.985 0 0);
|
|
25
|
-
border: 1px solid oklch(1 0 0 / 8%);
|
|
26
|
-
border-radius: 7px;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
transition: background-color 150ms ease-out, transform 150ms ease-out;
|
|
29
|
-
}
|
|
30
|
-
.vellum-pip-btn:hover { background: oklch(0.245 0 0); }
|
|
31
|
-
.vellum-pip-btn:active { transform: scale(0.95); }
|
|
32
|
-
.vellum-pip-btn:disabled {
|
|
33
|
-
background: oklch(0.205 0 0);
|
|
34
|
-
color: oklch(0.47 0 0);
|
|
35
|
-
cursor: not-allowed;
|
|
36
|
-
}
|
|
37
|
-
/* Stop = high-emphasis (inverted), the primary action of the widget. */
|
|
38
|
-
.vellum-pip-btn[data-variant="stop"] {
|
|
39
|
-
background: oklch(0.985 0 0);
|
|
40
|
-
color: oklch(0.145 0 0);
|
|
41
|
-
border-color: transparent;
|
|
42
|
-
}
|
|
43
|
-
.vellum-pip-btn[data-variant="stop"]:hover { background: oklch(0.9 0 0); }
|
|
44
|
-
`;a.s(["useDocumentPip",0,function({onClose:a}={}){let[d,e]=(0,b.useState)(null),f=(0,b.useSyncExternalStore)(()=>()=>{},()=>"documentPictureInPicture"in window,()=>!1),g=(0,b.useRef)(a);(0,b.useEffect)(()=>{g.current=a});let h=(0,b.useCallback)(async({width:a,height:b})=>{let d=window.documentPictureInPicture;if(!d)return null;let f=await d.requestWindow({width:a,height:b}),h=f.document.createElement("style");return h.textContent=c,f.document.head.appendChild(h),f.addEventListener("pagehide",()=>{e(null),g.current?.()},{once:!0}),e(f),f},[]),i=(0,b.useCallback)(()=>{d?.close()},[d]),j=(0,b.useRef)(null);return(0,b.useEffect)(()=>{j.current=d},[d]),(0,b.useEffect)(()=>()=>j.current?.close(),[]),{isSupported:f,pipWindow:d,open:h,close:i}}])},69712,40990,20917,49140,38835,19895,67534,a=>{"use strict";var b=a.i(87924),c=a.i(64831);let d=(0,c.default)("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]);a.s(["Mic",0,d],40990);let e=(0,c.default)("mic-off",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]]);a.s(["MicOff",0,e],20917);let f=(0,c.default)("pause",[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]]);a.s(["Pause",0,f],49140);let g=(0,c.default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);a.s(["Play",0,g],38835);let h=(0,c.default)("square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);a.s(["Square",0,h],19895);var i=a.i(72131);function j(a){let b=Math.floor(a/1e3),c=b%60,d=Math.floor(b/60)%60,e=Math.floor(b/3600),f=a=>String(a).padStart(2,"0");return e>0?`${e}:${f(d)}:${f(c)}`:`${d}:${f(c)}`}a.s(["formatElapsed",0,j,"useRecordingElapsed",0,function(){let a=(0,i.useRef)(0),b=(0,i.useRef)(null),c=(0,i.useRef)("inactive"),[d,e]=(0,i.useState)(0),[f,g]=(0,i.useState)(!1),h=(0,i.useCallback)(()=>a.current+(null!==b.current?performance.now()-b.current:0),[]),j=(0,i.useCallback)(d=>{let f=c.current;if(d===f)return;let i=performance.now();"recording"===d?("inactive"===f&&(a.current=0),b.current=i):null!==b.current&&(a.current+=i-b.current,b.current=null),c.current=d,e(h()),g("recording"===d)},[h]);return(0,i.useEffect)(()=>{if(!f)return;let a=window.setInterval(()=>e(h()),200);return()=>window.clearInterval(a)},[f,h]),{elapsedMs:d,setState:j}}],67534);let k="oklch(0.985 0 0)",l="oklch(0.708 0 0)";a.s(["PipRecorderControls",0,function({recState:a,elapsedMs:c,micEnabled:i,onPauseResume:m,onStop:n,onToggleMic:o}){let p="recording"===a,q="paused"===a,r=p||q,s=q?`1.5px solid ${k}`:"none",t=r?k:l;return(0,b.jsxs)("div",{style:{boxSizing:"border-box",width:"100%",height:"100vh",display:"flex",alignItems:"center",gap:"12px",padding:"0 14px"},children:[(0,b.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"9px",minWidth:0},children:[(0,b.jsx)("span",{className:p?"vellum-rec-dot":void 0,style:{width:"9px",height:"9px",borderRadius:"50%",background:p?k:q?"transparent":"oklch(0.47 0 0)",border:s,boxSizing:"border-box",flexShrink:0}}),(0,b.jsxs)("span",{style:{display:"flex",flexDirection:"column",lineHeight:1.1},children:[(0,b.jsx)("span",{style:{fontSize:"9px",fontWeight:600,letterSpacing:"0.1em",color:t,fontFamily:"ui-monospace, 'Geist Mono', monospace"},children:p?"REC":q?"PAUSED":"IDLE"}),(0,b.jsx)("span",{style:{fontSize:"19px",fontVariantNumeric:"tabular-nums",fontFamily:"ui-monospace, 'Geist Mono', monospace",letterSpacing:"0.02em",color:t},children:j(c)})]})]}),(0,b.jsx)("span",{style:{flex:1}}),(0,b.jsx)("button",{type:"button",className:"vellum-pip-btn",onClick:o,"aria-label":i?"Mute microphone":"Unmute microphone",title:i?"Mic on":"Mic off",style:i?void 0:{color:l},children:i?(0,b.jsx)(d,{size:16,strokeWidth:1.75}):(0,b.jsx)(e,{size:16,strokeWidth:1.75})}),(0,b.jsx)("button",{type:"button",className:"vellum-pip-btn",onClick:m,disabled:!r,"aria-label":q?"Resume recording":"Pause recording",title:q?"Resume":"Pause",children:q?(0,b.jsx)(g,{size:16,strokeWidth:1.75}):(0,b.jsx)(f,{size:16,strokeWidth:1.75})}),(0,b.jsx)("button",{type:"button",className:"vellum-pip-btn","data-variant":"stop",onClick:n,disabled:!r,"aria-label":"Stop recording",title:"Stop",children:(0,b.jsx)(h,{size:15,strokeWidth:2,fill:"currentColor"})})]})}],69712)}];
|
|
45
|
-
|
|
46
|
-
//# sourceMappingURL=_0y92f-y._.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../node_modules/shared/src/utils/hasA11yProp.ts","../../../../node_modules/lucide-react/src/defaultAttributes.ts","../../../../node_modules/shared/src/utils/mergeClasses.ts","../../../../node_modules/lucide-react/src/context.ts","../../../../node_modules/lucide-react/src/Icon.ts","../../../../node_modules/shared/src/utils/toCamelCase.ts","../../../../node_modules/shared/src/utils/toKebabCase.ts","../../../../node_modules/shared/src/utils/toPascalCase.ts","../../../../node_modules/lucide-react/src/createLucideIcon.ts","../../../../src/lib/filesystem/session-dir.ts","../../../../src/lib/filesystem/recording-sink.ts","../../../../src/lib/recording/recorder.ts","../../../../src/hooks/useDocumentPip.ts","../../../../src/components/recording/pip-recorder-controls.tsx","../../../../src/hooks/useRecordingElapsed.ts","../../../../node_modules/lucide-react/src/icons/pause.ts","../../../../node_modules/lucide-react/src/icons/square.ts","../../../../node_modules/lucide-react/src/icons/mic.ts","../../../../node_modules/lucide-react/src/icons/mic-off.ts","../../../../node_modules/lucide-react/src/icons/play.ts"],"sourcesContent":["/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record<string, any>) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = <ClassType = string | undefined | null>(...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","'use client';\n\nimport { createContext, createElement, type ReactNode, useContext, useMemo } from 'react';\nimport { LucideProps } from './types';\n\ntype LucideConfig = {\n size: number;\n color: string;\n strokeWidth: number;\n absoluteStrokeWidth: boolean;\n className: string;\n};\n\nconst LucideContext = createContext<LucideProps>({});\n\ntype LucideProviderProps = {\n children: ReactNode;\n} & Partial<LucideConfig>;\n\nexport function LucideProvider({\n children,\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n className,\n}: LucideProviderProps) {\n const value = useMemo(\n () => ({\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n className,\n }),\n [size, color, strokeWidth, absoluteStrokeWidth, className],\n );\n\n return createElement(LucideContext.Provider, { value }, children);\n}\n\nexport const useLucideContext = () => useContext(LucideContext);\n","'use client';\n\nimport { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\nimport { useLucideContext } from './context';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef<SVGSVGElement, IconComponentProps>(\n (\n { color, size, strokeWidth, absoluteStrokeWidth, className = '', children, iconNode, ...rest },\n ref,\n ) => {\n const {\n size: contextSize = 24,\n strokeWidth: contextStrokeWidth = 2,\n absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,\n color: contextColor = 'currentColor',\n className: contextClass = '',\n } = useLucideContext() ?? {};\n\n const calculatedStrokeWidth =\n absoluteStrokeWidth ?? contextAbsoluteStrokeWidth\n ? (Number(strokeWidth ?? contextStrokeWidth) * 24) / Number(size ?? contextSize)\n : strokeWidth ?? contextStrokeWidth;\n\n return createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size ?? contextSize ?? defaultAttributes.width,\n height: size ?? contextSize ?? defaultAttributes.height,\n stroke: color ?? contextColor,\n strokeWidth: calculatedStrokeWidth,\n className: mergeClasses('lucide', contextClass, className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n );\n },\n);\n\nexport default Icon;\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = <T extends string>(string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = <T extends string>(string: T): CamelToPascal<T> => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal<T>;\n};\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","// Create a fresh <timestamp> session folder in the workspace.\n//\n// Extracted from recording-sink.ts (TASK-12) so both entry points to a session\n// share ONE implementation: recording new (TASK-25) and importing an existing\n// video (TASK-30). The naming rule is ARCHITECTURE §Local storage layout: a\n// minute-grained, local-time folder (`2026-06-30-14-30`), suffixed `-2`, `-3`, …\n// on a same-minute collision.\n//\n// `now` is injected (not read from the clock here) so the folder name is\n// deterministic and testable.\n\nexport interface CreatedSessionDir {\n dir: FileSystemDirectoryHandle;\n /** The folder name actually created (post-collision suffix). */\n name: string;\n}\n\n/**\n * Create the session folder, suffixing -2, -3, … if a folder of that name\n * already exists (two sessions started in the same minute). Probes existence\n * with a no-create getDirectoryHandle, which throws NotFoundError when the name\n * is free — that's our signal to claim it.\n */\nexport async function createSessionDir(\n workspace: FileSystemDirectoryHandle,\n now: Date,\n): Promise<CreatedSessionDir> {\n const baseName = formatSessionTimestamp(now);\n let name = baseName;\n let suffix = 1;\n\n // Bounded loop — a runaway here would mean thousands of same-minute folders.\n while (suffix < 1000) {\n try {\n await workspace.getDirectoryHandle(name); // exists? → collision, try next\n } catch (err) {\n if (err instanceof DOMException && err.name === \"NotFoundError\") {\n const dir = await workspace.getDirectoryHandle(name, { create: true });\n return { dir, name };\n }\n throw err; // anything else (e.g. permission) is a real failure — fail loud\n }\n suffix += 1;\n name = `${baseName}-${suffix}`;\n }\n\n throw new Error(`Could not create a unique session folder for \"${baseName}\"`);\n}\n\n/** \"2026-06-30-14-30\" — minute-grained, local time, per ARCHITECTURE §Local storage layout. */\nfunction formatSessionTimestamp(d: Date): string {\n const pad = (n: number) => String(n).padStart(2, \"0\");\n return (\n `${d.getFullYear()}-${pad(d.getMonth() + 1)}-${pad(d.getDate())}-` +\n `${pad(d.getHours())}-${pad(d.getMinutes())}`\n );\n}\n","// TASK-12 — stream a recording to disk via the File System Access API.\n//\n// Consumes the per-chunk `onChunk` seam from the MediaRecorder wrapper\n// (lib/recording/recorder.ts, TASK-11): every timeslice chunk is written to a\n// `createWritable()` stream the moment it arrives, so the full recording is\n// never held in one buffer. That gives OOM-safety on long recordings and means\n// a tab crash loses at most one chunk (ARCHITECTURE §Error handling: \"recording\n// tab crash\").\n//\n// Layout (ARCHITECTURE §Local storage layout): the recording lands at\n// <workspace>/<timestamp>/recording.webm, where <timestamp> is a minute-grained\n// session folder (e.g. 2026-06-30-14-30), with a -2/-3 suffix on collision.\n//\n// SCOPE: this module is only \"pick a folder + stream the file\". Workspace\n// markers (.vellum-workspace.json) and IndexedDB handle persistence are TASK-15\n// (Phase 3) and intentionally not here.\n//\n// CRASH-RECOVERY NOTE (the reason AC#3 is worded the way it is): createWritable()\n// writes to a temporary swap file (Chromium names it `recording.webm.crswap`)\n// and only renames it onto `recording.webm` on close(). So a crash mid-recording\n// leaves the partial bytes in that .crswap sibling, not in recording.webm — the\n// data survives and the WebM plays back truncated, but recovery means renaming\n// the swap file. There is no in-place write mode in the spec. Surfacing those\n// orphaned swap files on next open is recovery-on-open work, tracked separately.\n\nimport { createSessionDir } from \"./session-dir\";\n\nconst RECORDING_FILENAME = \"recording.webm\";\n\n/**\n * Show the native directory picker, requesting read+write upfront so we never\n * have to re-prompt at save time. Throws `AbortError` if the user cancels —\n * callers treat that as \"no-op\", not a failure (fail loud only on real errors).\n */\nexport function pickWorkspaceDirectory(): Promise<FileSystemDirectoryHandle> {\n return window.showDirectoryPicker({ mode: \"readwrite\" });\n}\n\nexport interface RecordingSink {\n /** Session folder name — the <timestamp> dir actually created (post-collision). */\n readonly sessionDirName: string;\n /** Relative path written, e.g. \"2026-06-30-14-30/recording.webm\" — for logs/handoff. */\n readonly relativePath: string;\n /**\n * Enqueue one chunk for writing. Resolves once this chunk and every prior one\n * have hit the swap file. Wire this straight to the recorder's `onChunk`.\n */\n write: (chunk: Blob) => Promise<void>;\n /** Drain the write queue, then commit the swap file to recording.webm. */\n close: () => Promise<void>;\n}\n\n/**\n * Open a streaming sink for a fresh recording inside `workspace`. Creates the\n * timestamp session folder and the recording.webm writable before returning, so\n * the first chunk can be written with zero further setup latency.\n *\n * `now` is injected (not read from the clock here) so the folder name is\n * deterministic and testable.\n */\nexport async function createRecordingSink(\n workspace: FileSystemDirectoryHandle,\n now: Date,\n): Promise<RecordingSink> {\n const { dir, name } = await createSessionDir(workspace, now);\n const fileHandle = await dir.getFileHandle(RECORDING_FILENAME, { create: true });\n // Default options: swap file starts empty (we're writing a brand-new file).\n const writable = await fileHandle.createWritable();\n\n // `dataavailable` fires ~once/second and synchronously, but writable.write()\n // is async and concurrent writes to one stream corrupt it. Serialize through\n // a single promise tail: each write waits for the previous one to land.\n let tail: Promise<void> = Promise.resolve();\n\n return {\n sessionDirName: name,\n relativePath: `${name}/${RECORDING_FILENAME}`,\n write: (chunk) => {\n tail = tail.then(() => writable.write(chunk));\n return tail;\n },\n close: async () => {\n await tail; // let every queued chunk finish writing\n await writable.close(); // atomically commit swap file → recording.webm\n },\n };\n}\n","// TASK-11 — MediaRecorder wrapper.\n//\n// Wraps a combined screen+mic MediaStream (built in TASK-10) in a MediaRecorder\n// configured to Vellum's recording defaults: VP9 video + Opus audio in a WebM\n// container, ~2.5 Mbps target bitrate (ARCHITECTURE §Recording defaults).\n//\n// The seam for TASK-12 (write-to-disk via File System Access) is `onChunk`:\n// every `dataavailable` fires `onChunk(blob)` so the consumer can stream each\n// chunk straight to disk as it arrives. That is the whole point of the\n// timeslice — the full recording is never held in one buffer, which gives both\n// OOM-safety on long recordings and crash-recovery of the partial file\n// (ARCHITECTURE §Error handling: \"recording tab crash\"). This module never\n// accumulates chunks itself; whoever wants the assembled Blob collects it from\n// `onChunk` (the record-test page does this for short verification recordings).\n\n// VP9 + Opus in WebM — best quality/size in Chromium (CLAUDE.md §MediaRecorder).\nexport const VELLUM_MIME = \"video/webm; codecs=vp9,opus\";\n\n// ~2.5 Mbps — UI-text legibility vs file size, ~1.1 GB/hour (ARCHITECTURE\n// §Recording defaults, AC#4). Audio rides Opus at its own default bitrate.\nexport const VELLUM_VIDEO_BITS_PER_SECOND = 2_500_000;\n\n// 1s chunks: small enough that a tab crash loses ≤1s, large enough to keep\n// per-chunk overhead negligible. Passed to MediaRecorder.start(timeslice).\nexport const VELLUM_TIMESLICE_MS = 1000;\n\nexport type RecorderState = \"inactive\" | \"recording\" | \"paused\";\n\nexport interface RecorderHandle {\n start: () => void;\n pause: () => void;\n resume: () => void;\n /**\n * Stops recording; resolves once the final `dataavailable` has fired (so a\n * consumer collecting chunks via `onChunk` has the complete set). Does not\n * return a Blob — assembling one would mean holding the whole recording in\n * memory, the exact thing the timeslice avoids.\n */\n stop: () => Promise<void>;\n state: () => RecorderState;\n}\n\nexport interface CreateRecorderOptions {\n stream: MediaStream;\n /** Fired once per `dataavailable` — the per-chunk seam TASK-12 writes to disk. */\n onChunk: (chunk: Blob) => void;\n /** Optional surfacing of MediaRecorder errors (fail loud, never swallow). */\n onError?: (error: Error) => void;\n}\n\n/**\n * Build a MediaRecorder around `stream`. Throws synchronously if the browser\n * can't record VP9/Opus WebM — we fail loud rather than silently fall back to a\n * codec Gemini or the report pipeline doesn't expect (ARCHITECTURE §Error\n * handling: \"fail loud\").\n */\nexport function createRecorder({\n stream,\n onChunk,\n onError,\n}: CreateRecorderOptions): RecorderHandle {\n if (!MediaRecorder.isTypeSupported(VELLUM_MIME)) {\n throw new Error(`MediaRecorder cannot record \"${VELLUM_MIME}\" in this browser`);\n }\n\n const recorder = new MediaRecorder(stream, {\n mimeType: VELLUM_MIME,\n videoBitsPerSecond: VELLUM_VIDEO_BITS_PER_SECOND,\n });\n\n recorder.addEventListener(\"dataavailable\", (event) => {\n // The final chunk on stop() can be empty; don't forward zero-byte blobs.\n if (event.data.size > 0) onChunk(event.data);\n });\n\n recorder.addEventListener(\"error\", (event) => {\n // MediaRecorderErrorEvent.error is the underlying DOMException.\n const err = (event as unknown as { error?: DOMException }).error;\n onError?.(err ?? new Error(\"MediaRecorder error\"));\n });\n\n return {\n start: () => recorder.start(VELLUM_TIMESLICE_MS),\n pause: () => recorder.pause(),\n resume: () => recorder.resume(),\n stop: () =>\n new Promise<void>((resolve) => {\n recorder.addEventListener(\"stop\", () => resolve(), { once: true });\n recorder.stop();\n }),\n state: () => recorder.state,\n };\n}\n","\"use client\";\n\n// TASK-16 — Document Picture-in-Picture lifecycle for the floating recording\n// controls (ADR-007). Opens an always-on-top OS window we render React controls\n// into via a portal, then tears it down cleanly. Chromium-only: callers feature-\n// detect with `isSupported` and fall back to the in-page controls (AC#5).\n//\n// Why a portal (not a separate React root or a moved DOM node): the controls\n// stay part of the opener's React tree, so they read the same recorder ref and\n// state — pause/stop/mic in the PiP window and in-page drive ONE recorder, and\n// state stays in sync both ways for free (AC#3). Styles do NOT cross into the\n// PiP document automatically, so we inject a small base stylesheet here; the\n// widget itself is inline-styled with the TASK-2 tokens.\n\nimport { useCallback, useEffect, useRef, useState, useSyncExternalStore } from \"react\";\n\n// The Document Picture-in-Picture API is not yet in TypeScript's bundled DOM\n// lib, so we declare the minimal surface we use. (CLAUDE.md §6 — typed escape\n// hatch, documented rather than `any`.)\ninterface DocumentPictureInPicture {\n requestWindow(options?: { width?: number; height?: number }): Promise<Window>;\n readonly window: Window | null;\n}\ndeclare global {\n interface Window {\n readonly documentPictureInPicture?: DocumentPictureInPicture;\n }\n}\n\nexport interface DocumentPipHandle {\n /** True only in browsers that expose the Document PiP API (Chromium). */\n isSupported: boolean;\n /** The open PiP window, or null when closed. Drives the React portal. */\n pipWindow: Window | null;\n /** Open the PiP window at the given size; resolves to it (or null on failure). */\n open: (size: { width: number; height: number }) => Promise<Window | null>;\n /** Close the PiP window if open (no-op otherwise). */\n close: () => void;\n}\n\nexport interface UseDocumentPipOptions {\n /** Called when the window closes for ANY reason (user, our close(), nav). */\n onClose?: () => void;\n}\n\nexport function useDocumentPip({ onClose }: UseDocumentPipOptions = {}): DocumentPipHandle {\n const [pipWindow, setPipWindow] = useState<Window | null>(null);\n\n // Feature detection reads `window`, so it's SSR-safe via useSyncExternalStore:\n // the server snapshot is false; the client snapshot checks the real API. The\n // capability never changes after load, so the subscription is a no-op.\n const isSupported = useSyncExternalStore(\n () => () => {},\n () => \"documentPictureInPicture\" in window,\n () => false,\n );\n\n // Keep the latest onClose without re-binding the pagehide listener each render.\n // Written in an effect (not during render) per React's ref rules.\n const onCloseRef = useRef(onClose);\n useEffect(() => {\n onCloseRef.current = onClose;\n });\n\n const open = useCallback(async ({ width, height }: { width: number; height: number }) => {\n const dpip = window.documentPictureInPicture;\n if (!dpip) return null;\n // requestWindow must be called from a user gesture (the caller is a click).\n const pip = await dpip.requestWindow({ width, height });\n\n // The PiP document starts blank — styles are NOT inherited from the opener.\n // Inject app background + the rec-dot keyframes; the widget supplies the rest\n // inline with the TASK-2 tokens.\n const style = pip.document.createElement(\"style\");\n style.textContent = PIP_BASE_CSS;\n pip.document.head.appendChild(style);\n\n // Closing the window (browser control, Window.close(), or navigation) fires\n // pagehide on the PiP window. We clear our state and notify the caller — and\n // deliberately do NOT touch the recorder, so closing PiP never loses the\n // recording (AC#4: closing PiP ≠ stopping the recording).\n pip.addEventListener(\n \"pagehide\",\n () => {\n setPipWindow(null);\n onCloseRef.current?.();\n },\n { once: true },\n );\n\n setPipWindow(pip);\n return pip;\n }, []);\n\n const close = useCallback(() => {\n // Triggers the pagehide handler above, which clears state + calls onClose.\n pipWindow?.close();\n }, [pipWindow]);\n\n // Safety net: if the opener page unmounts while PiP is open, close it so we\n // never orphan a floating window. Unmount-only — reads the live window via a\n // ref kept current in an effect (per React's ref rules).\n const pipWindowRef = useRef<Window | null>(null);\n useEffect(() => {\n pipWindowRef.current = pipWindow;\n }, [pipWindow]);\n useEffect(() => () => pipWindowRef.current?.close(), []);\n\n return { isSupported, pipWindow, open, close };\n}\n\n// Lives in the PiP document only. Base look (dark app background, no body\n// margin) + the rec-dot pulse and the shared button styles. Interaction states\n// (:hover / :active) live here because inline styles can't express them — the\n// widget references these classes (ADR-005: real :active feedback). Colors are\n// the TASK-2 monochrome ramp values from globals.css.\nconst PIP_BASE_CSS = `\n :root { color-scheme: dark; }\n body {\n margin: 0;\n background: oklch(0.145 0 0);\n color: oklch(0.985 0 0);\n font-family: ui-sans-serif, system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n }\n @keyframes vellum-rec-pulse {\n 0%, 100% { opacity: 1; transform: scale(1); }\n 50% { opacity: 0.35; transform: scale(0.82); }\n }\n .vellum-rec-dot { animation: vellum-rec-pulse 1.6s ease-in-out infinite; }\n\n .vellum-pip-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 34px;\n height: 34px;\n padding: 0;\n background: oklch(0.205 0 0);\n color: oklch(0.985 0 0);\n border: 1px solid oklch(1 0 0 / 8%);\n border-radius: 7px;\n cursor: pointer;\n transition: background-color 150ms ease-out, transform 150ms ease-out;\n }\n .vellum-pip-btn:hover { background: oklch(0.245 0 0); }\n .vellum-pip-btn:active { transform: scale(0.95); }\n .vellum-pip-btn:disabled {\n background: oklch(0.205 0 0);\n color: oklch(0.47 0 0);\n cursor: not-allowed;\n }\n /* Stop = high-emphasis (inverted), the primary action of the widget. */\n .vellum-pip-btn[data-variant=\"stop\"] {\n background: oklch(0.985 0 0);\n color: oklch(0.145 0 0);\n border-color: transparent;\n }\n .vellum-pip-btn[data-variant=\"stop\"]:hover { background: oklch(0.9 0 0); }\n`;\n","\"use client\";\n\n// TASK-16 — the floating recording widget rendered into the Document PiP window\n// (ADR-007). Compact, dark, monochrome (ADR-004) using the TASK-2 token values.\n//\n// It is a pure presentational component: every action calls a handler passed\n// from the record page, which drives the SAME recorder as the in-page controls.\n// Because it renders through a portal into the PiP document (see useDocumentPip),\n// it stays in the opener's React tree — so `recState`/`elapsedMs`/`micEnabled`\n// update here the instant they change in-page, and vice versa (AC#3).\n//\n// Inline styles only (plus the .vellum-* classes injected into the PiP document\n// by useDocumentPip): the PiP document has none of the app's CSS variables, so\n// the TASK-2 ramp is referenced here as literal oklch values.\n\nimport { Mic, MicOff, Pause, Play, Square } from \"lucide-react\";\nimport type { RecorderState } from \"@/lib/recording/recorder\";\nimport { formatElapsed } from \"@/hooks/useRecordingElapsed\";\n\n// TASK-2 monochrome ramp (globals.css), as literals because the PiP document\n// doesn't load globals.css and so has no var(--gray-*) to resolve.\nconst TOKEN = {\n fg: \"oklch(0.985 0 0)\", // --gray-12 foreground\n muted: \"oklch(0.708 0 0)\", // --gray-11 muted foreground\n dim: \"oklch(0.47 0 0)\", // --gray-8 disabled foreground\n ring: \"oklch(0.34 0 0)\", // --gray-6 hollow-ring border (paused dot)\n border: \"oklch(1 0 0 / 8%)\", // --border hairline\n} as const;\n\nexport interface PipRecorderControlsProps {\n recState: RecorderState;\n elapsedMs: number;\n micEnabled: boolean;\n onPauseResume: () => void;\n onStop: () => void;\n onToggleMic: () => void;\n}\n\nexport function PipRecorderControls({\n recState,\n elapsedMs,\n micEnabled,\n onPauseResume,\n onStop,\n onToggleMic,\n}: PipRecorderControlsProps) {\n const isRecording = recState === \"recording\";\n const isPaused = recState === \"paused\";\n const isActive = isRecording || isPaused; // a recording exists (not stopped)\n\n // Mirrors the in-page RecIndicator: bright pulsing dot while recording,\n // hollow ring when paused, dim when idle. Monochrome (ADR-004).\n const dotColor = isRecording ? TOKEN.fg : isPaused ? \"transparent\" : TOKEN.dim;\n const dotBorder = isPaused ? `1.5px solid ${TOKEN.fg}` : \"none\";\n const label = isRecording ? \"REC\" : isPaused ? \"PAUSED\" : \"IDLE\";\n const fg = isActive ? TOKEN.fg : TOKEN.muted;\n\n return (\n <div\n style={{\n boxSizing: \"border-box\",\n width: \"100%\",\n height: \"100vh\",\n display: \"flex\",\n alignItems: \"center\",\n gap: \"12px\",\n padding: \"0 14px\",\n }}\n >\n {/* Indicator + elapsed timer */}\n <div style={{ display: \"flex\", alignItems: \"center\", gap: \"9px\", minWidth: 0 }}>\n <span\n className={isRecording ? \"vellum-rec-dot\" : undefined}\n style={{\n width: \"9px\",\n height: \"9px\",\n borderRadius: \"50%\",\n background: dotColor,\n border: dotBorder,\n boxSizing: \"border-box\",\n flexShrink: 0,\n }}\n />\n <span\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n lineHeight: 1.1,\n }}\n >\n <span\n style={{\n fontSize: \"9px\",\n fontWeight: 600,\n letterSpacing: \"0.1em\",\n color: fg,\n fontFamily: \"ui-monospace, 'Geist Mono', monospace\",\n }}\n >\n {label}\n </span>\n <span\n style={{\n fontSize: \"19px\",\n fontVariantNumeric: \"tabular-nums\",\n fontFamily: \"ui-monospace, 'Geist Mono', monospace\",\n letterSpacing: \"0.02em\",\n color: fg,\n }}\n >\n {formatElapsed(elapsedMs)}\n </span>\n </span>\n </div>\n\n <span style={{ flex: 1 }} />\n\n {/* Controls — same handlers as the in-page buttons (AC#3) */}\n <button\n type=\"button\"\n className=\"vellum-pip-btn\"\n onClick={onToggleMic}\n aria-label={micEnabled ? \"Mute microphone\" : \"Unmute microphone\"}\n title={micEnabled ? \"Mic on\" : \"Mic off\"}\n style={!micEnabled ? { color: TOKEN.muted } : undefined}\n >\n {micEnabled ? <Mic size={16} strokeWidth={1.75} /> : <MicOff size={16} strokeWidth={1.75} />}\n </button>\n\n <button\n type=\"button\"\n className=\"vellum-pip-btn\"\n onClick={onPauseResume}\n disabled={!isActive}\n aria-label={isPaused ? \"Resume recording\" : \"Pause recording\"}\n title={isPaused ? \"Resume\" : \"Pause\"}\n >\n {isPaused ? <Play size={16} strokeWidth={1.75} /> : <Pause size={16} strokeWidth={1.75} />}\n </button>\n\n <button\n type=\"button\"\n className=\"vellum-pip-btn\"\n data-variant=\"stop\"\n onClick={onStop}\n disabled={!isActive}\n aria-label=\"Stop recording\"\n title=\"Stop\"\n >\n <Square size={15} strokeWidth={2} fill=\"currentColor\" />\n </button>\n </div>\n );\n}\n","// TASK-13 — elapsed *recording* time, paused-aware.\n//\n// Shows ACTIVE recording time, not wall-clock: MediaRecorder.pause() stops\n// capturing, so a pause must not add time — otherwise the timer drifts away\n// from the real duration of the WebM (ARCHITECTURE §Recording defaults).\n//\n// Segment-accumulator model (the accurate one): we sum completed active\n// segments into `accumulatedRef` and, while recording, add the live tail\n// (now - segmentStart). Segment boundaries are captured with performance.now()\n// at the exact moment the recorder state changes — the caller drives that by\n// calling `setState` right where it flips MediaRecorder, so the boundary is\n// precise rather than rounded to the render tick.\n//\n// The recorder's own state ('recording'/'paused'/'inactive') is the source of\n// truth; `setState` mirrors each transition:\n// inactive → recording : fresh recording, reset to 0, open a segment\n// paused → recording : resume, open a new segment (keep accumulated)\n// recording→ paused : close the segment (freeze; pause adds no time)\n// * → inactive : stop, close any open segment, freeze final value\n// A new recording (inactive → recording) is the only thing that resets to 0,\n// so the final duration stays on screen after Stop until the next Record.\n\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nimport type { RecorderState } from \"@/lib/recording/recorder\";\n\n// 200ms keeps the seconds digit honest without busy-looping; the displayed\n// value is always recomputed from timestamps, so the interval only paces\n// repaints — it never accumulates its own rounding error (that was approach B).\nconst TICK_MS = 200;\n\nexport interface RecordingElapsed {\n /** Active recording time in ms. Re-renders while recording; frozen otherwise. */\n elapsedMs: number;\n /** Mirror every recorder transition here, alongside the MediaRecorder call. */\n setState: (next: RecorderState) => void;\n}\n\nexport function useRecordingElapsed(): RecordingElapsed {\n const accumulatedRef = useRef(0); // sum of completed active segments\n const segmentStartRef = useRef<number | null>(null); // performance.now() of open segment, or null\n const statusRef = useRef<RecorderState>(\"inactive\");\n const [elapsedMs, setElapsedMs] = useState(0);\n const [running, setRunning] = useState(false);\n\n const compute = useCallback(\n () =>\n accumulatedRef.current +\n (segmentStartRef.current !== null ? performance.now() - segmentStartRef.current : 0),\n [],\n );\n\n const setState = useCallback(\n (next: RecorderState) => {\n const prev = statusRef.current;\n if (next === prev) return; // idempotent — safe to call freely\n const now = performance.now();\n\n if (next === \"recording\") {\n if (prev === \"inactive\") accumulatedRef.current = 0; // fresh recording resets\n segmentStartRef.current = now; // start or resume opens a segment\n } else if (segmentStartRef.current !== null) {\n // pause or stop closes the open segment; the tail counts up to NOW only\n accumulatedRef.current += now - segmentStartRef.current;\n segmentStartRef.current = null;\n }\n\n statusRef.current = next;\n setElapsedMs(compute());\n setRunning(next === \"recording\");\n },\n [compute],\n );\n\n // Repaint while recording. Cleared on pause/stop, so a paused timer truly\n // stands still rather than re-rendering the same number.\n useEffect(() => {\n if (!running) return;\n const id = window.setInterval(() => setElapsedMs(compute()), TICK_MS);\n return () => window.clearInterval(id);\n }, [running, compute]);\n\n return { elapsedMs, setState };\n}\n\n/** Format active ms as m:ss, widening to h:mm:ss past the hour. */\nexport function formatElapsed(ms: number): string {\n const total = Math.floor(ms / 1000);\n const s = total % 60;\n const m = Math.floor(total / 60) % 60;\n const h = Math.floor(total / 3600);\n const pad = (n: number) => String(n).padStart(2, \"0\");\n return h > 0 ? `${h}:${pad(m)}:${pad(s)}` : `${m}:${pad(s)}`;\n}\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { x: '14', y: '3', width: '5', height: '18', rx: '1', key: 'kaeet6' }],\n ['rect', { x: '5', y: '3', width: '5', height: '18', rx: '1', key: '1wsw3u' }],\n];\n\n/**\n * @component @name Pause\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/pause\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Pause = createLucideIcon('pause', __iconNode);\n\nexport default Pause;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['rect', { width: '18', height: '18', x: '3', y: '3', rx: '2', key: 'afitv7' }],\n];\n\n/**\n * @component @name Square\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/square\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Square = createLucideIcon('square', __iconNode);\n\nexport default Square;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 19v3', key: 'npa21l' }],\n ['path', { d: 'M19 10v2a7 7 0 0 1-14 0v-2', key: '1vc78b' }],\n ['rect', { x: '9', y: '2', width: '6', height: '13', rx: '3', key: 's6n7sd' }],\n];\n\n/**\n * @component @name Mic\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/mic\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Mic = createLucideIcon('mic', __iconNode);\n\nexport default Mic;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n ['path', { d: 'M12 19v3', key: 'npa21l' }],\n ['path', { d: 'M15 9.34V5a3 3 0 0 0-5.68-1.33', key: '1gzdoj' }],\n ['path', { d: 'M16.95 16.95A7 7 0 0 1 5 12v-2', key: 'cqa7eg' }],\n ['path', { d: 'M18.89 13.23A7 7 0 0 0 19 12v-2', key: '16hl24' }],\n ['path', { d: 'm2 2 20 20', key: '1ooewy' }],\n ['path', { d: 'M9 9v3a3 3 0 0 0 5.12 2.12', key: 'r2i35w' }],\n];\n\n/**\n * @component @name MicOff\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/mic-off\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst MicOff = createLucideIcon('mic-off', __iconNode);\n\nexport default MicOff;\n","import createLucideIcon from '../createLucideIcon';\nimport { IconNode } from '../types';\n\nexport const __iconNode: IconNode = [\n [\n 'path',\n {\n d: 'M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z',\n key: '10ikf1',\n },\n ],\n];\n\n/**\n * @component @name Play\n * @description Lucide SVG icon component, renders SVG Element with children.\n *\n * @preview  - https://lucide.dev/icons/play\n * @see https://lucide.dev/guide/packages/lucide-react - Documentation\n *\n * @param {Object} props - Lucide icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst Play = createLucideIcon('play', __iconNode);\n\nexport default Play;\n"],"names":["createSessionDir","workspace","now","baseName","formatSessionTimestamp","name","suffix","getDirectoryHandle","err","DOMException","dir","create","Error","d","pad","n","String","padStart","getFullYear","getMonth","getDate","getHours","getMinutes","VELLUM_MIME","VELLUM_VIDEO_BITS_PER_SECOND","VELLUM_TIMESLICE_MS","createRecorder","stream","onChunk","onError","MediaRecorder","isTypeSupported","recorder","mimeType","videoBitsPerSecond","addEventListener","event","data","size","error","start","pause","resume","stop","Promise","resolve","once","state","useDocumentPip","onClose","pipWindow","setPipWindow","isSupported","window","onCloseRef","current","open","width","height","dpip","documentPictureInPicture","pip","requestWindow","style","document","createElement","textContent","PIP_BASE_CSS","head","appendChild","close","pipWindowRef"],"mappings":"2DEOE,CAAA,CACG,AADH,CACG,AADH,CACG,AADH,CACG,AADH,CACG,AADH,CAAA,AACG,CAAA,CAAO,CAAC,CAAA,CAAW,AAAX,CAAW,AAAX,CAAA,AAAW,AAAO,CAAlB,AAAW,CAAX,AAAW,CAAX,CAAA,CAAA,AAAkB,CAAlB,AAAkB,CAAA,CAAA,CAAA,AAGU,CAAA,AAHA,CAGA,CAAA,CAAA,CAAA,EAAX,CAAA,CAAA,CAAA,CAAA,CAAA,GACtB,EAAM,CAAA,CAAA,CAAN,AAAM,CAAA,CAAA,CAAA,CAAA,CAAQ,CAAA,CAAA,CAAA,CAAA,CAAe,AAAf,CAAe,AAAf,CAAe,AAAf,CAAe,AAAf,CAAe,AAAN,CAAA,AAAM,sHDT3B,CAAA,CAAA,SACC,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,OACH,yCAEO,CAAA,eACE,CAAA,CAAA,CAAA,CAAA,CAAA,qLGwBP,KAAA,EAAA,EAAA,CACgB,YAAA,EAAA,CAAA,CACc,oBAAA,GAAA,CAAA,CACgB,MAAA,EAAA,cAAA,CAAA,UAAA,EAAA,EAAA,CAExB,CAAA,qBAAA,CAAA,2CAQ5B,MAAA,CAAA,EAAA,EAAA,aAAA,EAAO,MACL,KACA,EACE,GAAA,CAAA,CACG,MAAA,GAAA,GAAA,EAAA,KAAA,CAC6C,OAAA,GAAA,GAAA,EAAA,MAAA,CACC,OAAA,GAAA,EAChC,YAAA,EACJ,UAAA,EAAA,SAAA,EAAA,GAC4C,GAAA,CAAA,GAAA,CAAA,CJhDtC,AAAC,IAC1B,CEEI,AFFJ,ACNA,CCQI,ADRJ,ADMA,CCNA,ACQI,AFFJ,CAAA,IAAW,CCNJ,ADMI,CCNJ,ADMI,CEGL,ADTC,ADMI,EAAQ,CCNZ,ACSO,CDTP,AC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.trim()&&c.indexOf(a)===b).join(" ").trim();a.s(["mergeClasses",0,b],58430);var c=a.i(72131),d={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let e=(0,c.createContext)({}),f=(0,c.forwardRef)(({color:a,size:f,strokeWidth:g,absoluteStrokeWidth:h,className:i="",children:j,iconNode:k,...l},m)=>{let{size:n=24,strokeWidth:o=2,absoluteStrokeWidth:p=!1,color:q="currentColor",className:r=""}=(0,c.useContext)(e)??{},s=h??p?24*Number(g??o)/Number(f??n):g??o;return(0,c.createElement)("svg",{ref:m,...d,width:f??n??d.width,height:f??n??d.height,stroke:a??q,strokeWidth:s,className:b("lucide",r,i),...!j&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0;return!1})(l)&&{"aria-hidden":"true"},...l},[...k.map(([a,b])=>(0,c.createElement)(a,b)),...Array.isArray(j)?j:[j]])});a.s(["default",0,f],90864)},64831,a=>{"use strict";var b=a.i(72131),c=a.i(58430);let d=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)};var e=a.i(90864);a.s(["default",0,(a,f)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(e.default,{ref:i,iconNode:f,className:(0,c.mergeClasses)(`lucide-${d(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=d(a),g}],64831)},14574,a=>{"use strict";var b=a.i(87924),c=a.i(94203),d=a.i(68114),e=a.i(99570),f=a.i(23251);function g({...a}){return(0,b.jsx)(c.Dialog.Portal,{"data-slot":"dialog-portal",...a})}function h({className:a,...e}){return(0,b.jsx)(c.Dialog.Backdrop,{"data-slot":"dialog-overlay",className:(0,d.cn)("fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",a),...e})}a.s(["Dialog",0,function({...a}){return(0,b.jsx)(c.Dialog.Root,{"data-slot":"dialog",...a})},"DialogClose",0,function({...a}){return(0,b.jsx)(c.Dialog.Close,{"data-slot":"dialog-close",...a})},"DialogContent",0,function({className:a,children:i,showCloseButton:j=!0,...k}){return(0,b.jsxs)(g,{children:[(0,b.jsx)(h,{}),(0,b.jsxs)(c.Dialog.Popup,{"data-slot":"dialog-content",className:(0,d.cn)("fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",a),...k,children:[i,j&&(0,b.jsxs)(c.Dialog.Close,{"data-slot":"dialog-close",render:(0,b.jsx)(e.Button,{variant:"ghost",className:"absolute top-2 right-2",size:"icon-sm"}),children:[(0,b.jsx)(f.XIcon,{}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"DialogDescription",0,function({className:a,...e}){return(0,b.jsx)(c.Dialog.Description,{"data-slot":"dialog-description",className:(0,d.cn)("text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",a),...e})},"DialogFooter",0,function({className:a,showCloseButton:f=!1,children:g,...h}){return(0,b.jsxs)("div",{"data-slot":"dialog-footer",className:(0,d.cn)("-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end",a),...h,children:[g,f&&(0,b.jsx)(c.Dialog.Close,{render:(0,b.jsx)(e.Button,{variant:"outline"}),children:"Close"})]})},"DialogHeader",0,function({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"dialog-header",className:(0,d.cn)("flex flex-col gap-2",a),...c})},"DialogOverlay",0,h,"DialogPortal",0,g,"DialogTitle",0,function({className:a,...e}){return(0,b.jsx)(c.Dialog.Title,{"data-slot":"dialog-title",className:(0,d.cn)("font-heading text-base leading-none font-medium",a),...e})},"DialogTrigger",0,function({...a}){return(0,b.jsx)(c.Dialog.Trigger,{"data-slot":"dialog-trigger",...a})}])},9392,a=>{"use strict";var b=a.i(72131);let c=b.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});a.s(["CompositeListContext",0,c,"useCompositeListContext",0,function(){return b.useContext(c)}])},79923,a=>{"use strict";var b=a.i(72131),c=a.i(79549),d=a.i(54401),e=a.i(57738),f=a.i(9392),g=a.i(87924);function h(){return new Map}function i(){return new Set}function j(a,b){let c=a.compareDocumentPosition(b);return c&Node.DOCUMENT_POSITION_FOLLOWING||c&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:c&Node.DOCUMENT_POSITION_PRECEDING||c&Node.DOCUMENT_POSITION_CONTAINS?1:0}a.s(["CompositeList",0,function(a){let{children:k,elementsRef:l,labelsRef:m,onMapChange:n}=a,o=(0,d.useStableCallback)(n),p=b.useRef(0),q=(0,c.useRefWithInit)(i).current,r=(0,c.useRefWithInit)(h).current,[s,t]=b.useState(0),u=b.useRef(s),v=(0,d.useStableCallback)((a,b)=>{r.set(a,b??null),u.current+=1,t(u.current)}),w=(0,d.useStableCallback)(a=>{r.delete(a),u.current+=1,t(u.current)}),x=b.useMemo(()=>{let a=new Map;return Array.from(r.keys()).filter(a=>a.isConnected).sort(j).forEach((b,c)=>{let d=r.get(b)??{};a.set(b,{...d,index:c})}),a},[r,s]);(0,e.useIsoLayoutEffect)(()=>{if("function"!=typeof MutationObserver||0===x.size)return;let a=new MutationObserver(a=>{let b=new Set,c=a=>b.has(a)?b.delete(a):b.add(a);a.forEach(a=>{a.removedNodes.forEach(c),a.addedNodes.forEach(c)}),0===b.size&&(u.current+=1,t(u.current))});return x.forEach((b,c)=>{c.parentElement&&a.observe(c.parentElement,{childList:!0})}),()=>{a.disconnect()}},[x]),(0,e.useIsoLayoutEffect)(()=>{u.current===s&&(l.current.length!==x.size&&(l.current.length=x.size),m&&m.current.length!==x.size&&(m.current.length=x.size),p.current=x.size),o(x)},[o,x,l,m,s]),(0,e.useIsoLayoutEffect)(()=>()=>{l.current=[]},[l]),(0,e.useIsoLayoutEffect)(()=>()=>{m&&(m.current=[])},[m]);let y=(0,d.useStableCallback)(a=>(q.add(a),()=>{q.delete(a)}));(0,e.useIsoLayoutEffect)(()=>{q.forEach(a=>a(x))},[q,x]);let z=b.useMemo(()=>({register:v,unregister:w,subscribeMapChange:y,elementsRef:l,labelsRef:m,nextIndexRef:p}),[v,w,y,l,m,p]);return(0,g.jsx)(f.CompositeListContext.Provider,{value:z,children:k})}])},92403,a=>{"use strict";var b,c=a.i(72131),d=a.i(57738),e=a.i(9392);let f=((b={})[b.None=0]="None",b[b.GuessFromOrder=1]="GuessFromOrder",b);a.s(["IndexGuessBehavior",0,f,"useCompositeListItem",0,function(a={}){let{label:b,metadata:g,textRef:h,indexGuessBehavior:i,index:j}=a,{register:k,unregister:l,subscribeMapChange:m,elementsRef:n,labelsRef:o,nextIndexRef:p}=(0,e.useCompositeListContext)(),q=c.useRef(-1),[r,s]=c.useState(j??(i===f.GuessFromOrder?()=>{if(-1===q.current){let a=p.current;p.current+=1,q.current=a}return q.current}:-1)),t=c.useRef(null),u=c.useCallback(a=>{if(t.current=a,-1!==r&&null!==a&&(n.current[r]=a,o)){let c=void 0!==b;o.current[r]=c?b:h?.current?.textContent??a.textContent}},[r,n,o,b,h]);return(0,d.useIsoLayoutEffect)(()=>{if(null!=j)return;let a=t.current;if(a)return k(a,g),()=>{l(a)}},[j,k,l,g]),(0,d.useIsoLayoutEffect)(()=>{if(null==j)return m(a=>{let b=t.current?a.get(t.current)?.index:null;null!=b&&s(b)})},[j,m,s]),{ref:u,index:r}}])},75898,a=>{"use strict";var b=a.i(72131);let c=b.createContext(void 0),d={disableStyleElements:!1};a.s(["useCSPContext",0,function(){return b.useContext(c)??d}])},52466,a=>{"use strict";a.s(["isElementDisabled",0,function(a){return null==a||a.hasAttribute("disabled")||"true"===a.getAttribute("aria-disabled")}])},40210,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(68114);a.s(["Logo",0,function({className:a}){let[e,f]=(0,c.useState)(0),g=()=>f(a=>a+90);return(0,b.jsxs)("svg",{viewBox:"0 0 122 16",className:(0,d.cn)("h-4 w-auto text-foreground",a),fill:"currentColor",role:"img","aria-label":"Vellum",xmlns:"http://www.w3.org/2000/svg",onMouseEnter:g,onMouseLeave:g,children:[(0,b.jsx)("g",{className:"origin-center transition-transform duration-500 ease-out motion-reduce:transition-none",style:{transformBox:"fill-box",transform:`rotate(${e}deg)`},children:(0,b.jsx)("path",{d:"M6.50391 3.5H9.50391V1H12.5039V3.5H15.0039V6.5H12.5039V9.5H15.0039V12.5H12.5039V15H9.50391V12.5H6.50391V15H3.50391V12.5H1.00391V9.5H3.50391V6.5H1.00391V3.5H3.50391V1H6.50391V3.5ZM6.50391 9.5H9.50391V6.5H6.50391V9.5Z"})}),(0,b.jsx)("path",{d:"M86.7959 7.94043C86.7959 9.45243 87.2643 11.4512 90.4863 11.4512H90.5762C93.78 11.4511 94.2119 9.4524 94.2119 7.94043V1.40723H98.4961V7.99512C98.496 10.6591 97.6497 14.9971 90.792 14.9971H90.2695C83.1422 14.9969 82.5118 10.6411 82.5117 7.99512V1.40723H86.7959V7.94043ZM27.3057 10.9473L31.5176 1.40723H36.0898L29.9697 14.7988H24.498L18.1084 1.40723H23.0938L27.3057 10.9473ZM50.6113 4.48438H42.043V6.42871H50.3418V9.61523H42.043V11.6846H50.7197V14.7988H37.7773V1.40723H50.6113V4.48438ZM57.8643 11.3066H65.9648V14.7988H53.5625V1.40723H57.8643V11.3066ZM72.7354 11.3066H80.8359V14.7988H68.4336V1.40723H72.7354V11.3066ZM111.343 9.74121L115.374 1.40723H120.918V14.7988H116.706V6.24902L112.692 14.7988H109.704L105.708 6.24902V14.7988H101.568V1.40723H107.4L111.343 9.74121Z"})]})}])},16966,a=>{"use strict";var b=a.i(72131),c=a.i(1811),d=a.i(59539),e=a.i(92403);a.s(["useCompositeItem",0,function(a={}){let{highlightItemOnHover:f,highlightedIndex:g,onHighlightedIndexChange:h}=(0,d.useCompositeRootContext)(),{ref:i,index:j}=(0,e.useCompositeListItem)(a),k=g===j,l=b.useRef(null),m=(0,c.useMergedRefs)(i,l);return{compositeProps:{tabIndex:k?0:-1,onFocus(){h(j)},onMouseMove(){let a=l.current;if(!f||!a)return;let b=a.hasAttribute("disabled")||"true"===a.ariaDisabled;k||b||a.focus()}},compositeRef:m,index:j}}])}];
|
|
2
|
-
|
|
3
|
-
//# sourceMappingURL=_1b6au28._.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../node_modules/shared/src/utils/hasA11yProp.ts","../../../../node_modules/lucide-react/src/defaultAttributes.ts","../../../../node_modules/shared/src/utils/mergeClasses.ts","../../../../node_modules/lucide-react/src/context.ts","../../../../node_modules/lucide-react/src/Icon.ts","../../../../node_modules/shared/src/utils/toCamelCase.ts","../../../../node_modules/shared/src/utils/toKebabCase.ts","../../../../node_modules/shared/src/utils/toPascalCase.ts","../../../../node_modules/lucide-react/src/createLucideIcon.ts","../../../../src/components/ui/dialog.tsx","../../../../node_modules/%40base-ui/react/internals/composite/list/CompositeListContext.mjs","../../../../node_modules/%40base-ui/react/internals/composite/list/CompositeList.mjs","../../../../node_modules/%40base-ui/react/internals/composite/list/useCompositeListItem.mjs","../../../../node_modules/%40base-ui/react/internals/csp-context/CSPContext.mjs","../../../../node_modules/%40base-ui/utils/isElementDisabled.mjs","../../../../src/components/logo.tsx","../../../../node_modules/%40base-ui/react/internals/composite/item/useCompositeItem.mjs"],"sourcesContent":["/**\n * Check if a component has an accessibility prop\n *\n * @param {object} props\n * @returns {boolean} Whether the component has an accessibility prop\n */\nexport const hasA11yProp = (props: Record<string, any>) => {\n for (const prop in props) {\n if (prop.startsWith('aria-') || prop === 'role' || prop === 'title') {\n return true;\n }\n }\n\n return false;\n};\n","export default {\n xmlns: 'http://www.w3.org/2000/svg',\n width: 24,\n height: 24,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n};\n","/**\n * Merges classes into a single string\n *\n * @param {array} classes\n * @returns {string} A string of classes\n */\nexport const mergeClasses = <ClassType = string | undefined | null>(...classes: ClassType[]) =>\n classes\n .filter((className, index, array) => {\n return (\n Boolean(className) &&\n (className as string).trim() !== '' &&\n array.indexOf(className) === index\n );\n })\n .join(' ')\n .trim();\n","'use client';\n\nimport { createContext, createElement, type ReactNode, useContext, useMemo } from 'react';\nimport { LucideProps } from './types';\n\ntype LucideConfig = {\n size: number;\n color: string;\n strokeWidth: number;\n absoluteStrokeWidth: boolean;\n className: string;\n};\n\nconst LucideContext = createContext<LucideProps>({});\n\ntype LucideProviderProps = {\n children: ReactNode;\n} & Partial<LucideConfig>;\n\nexport function LucideProvider({\n children,\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n className,\n}: LucideProviderProps) {\n const value = useMemo(\n () => ({\n size,\n color,\n strokeWidth,\n absoluteStrokeWidth,\n className,\n }),\n [size, color, strokeWidth, absoluteStrokeWidth, className],\n );\n\n return createElement(LucideContext.Provider, { value }, children);\n}\n\nexport const useLucideContext = () => useContext(LucideContext);\n","'use client';\n\nimport { createElement, forwardRef } from 'react';\nimport defaultAttributes from './defaultAttributes';\nimport { IconNode, LucideProps } from './types';\nimport { mergeClasses, hasA11yProp } from '@lucide/shared';\nimport { useLucideContext } from './context';\n\ninterface IconComponentProps extends LucideProps {\n iconNode: IconNode;\n}\n\n/**\n * Lucide icon component\n *\n * @component Icon\n * @param {object} props\n * @param {string} props.color - The color of the icon\n * @param {number} props.size - The size of the icon\n * @param {number} props.strokeWidth - The stroke width of the icon\n * @param {boolean} props.absoluteStrokeWidth - Whether to use absolute stroke width\n * @param {string} props.className - The class name of the icon\n * @param {IconNode} props.children - The children of the icon\n * @param {IconNode} props.iconNode - The icon node of the icon\n *\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst Icon = forwardRef<SVGSVGElement, IconComponentProps>(\n (\n { color, size, strokeWidth, absoluteStrokeWidth, className = '', children, iconNode, ...rest },\n ref,\n ) => {\n const {\n size: contextSize = 24,\n strokeWidth: contextStrokeWidth = 2,\n absoluteStrokeWidth: contextAbsoluteStrokeWidth = false,\n color: contextColor = 'currentColor',\n className: contextClass = '',\n } = useLucideContext() ?? {};\n\n const calculatedStrokeWidth =\n absoluteStrokeWidth ?? contextAbsoluteStrokeWidth\n ? (Number(strokeWidth ?? contextStrokeWidth) * 24) / Number(size ?? contextSize)\n : strokeWidth ?? contextStrokeWidth;\n\n return createElement(\n 'svg',\n {\n ref,\n ...defaultAttributes,\n width: size ?? contextSize ?? defaultAttributes.width,\n height: size ?? contextSize ?? defaultAttributes.height,\n stroke: color ?? contextColor,\n strokeWidth: calculatedStrokeWidth,\n className: mergeClasses('lucide', contextClass, className),\n ...(!children && !hasA11yProp(rest) && { 'aria-hidden': 'true' }),\n ...rest,\n },\n [\n ...iconNode.map(([tag, attrs]) => createElement(tag, attrs)),\n ...(Array.isArray(children) ? children : [children]),\n ],\n );\n },\n);\n\nexport default Icon;\n","/**\n * Converts string to camel case\n *\n * @param {string} string\n * @returns {string} A camelized string\n */\nexport const toCamelCase = <T extends string>(string: T) =>\n string.replace(/^([A-Z])|[\\s-_]+(\\w)/g, (match, p1, p2) =>\n p2 ? p2.toUpperCase() : p1.toLowerCase(),\n );\n","/**\n * Converts string to kebab case\n *\n * @param {string} string\n * @returns {string} A kebabized string\n */\nexport const toKebabCase = (string: string) =>\n string.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n","import { CamelToPascal } from '../utility-types';\nimport { toCamelCase } from './toCamelCase';\n\n/**\n * Converts string to pascal case\n *\n * @param {string} string\n * @returns {string} A pascalized string\n */\nexport const toPascalCase = <T extends string>(string: T): CamelToPascal<T> => {\n const camelCase = toCamelCase(string);\n\n return (camelCase.charAt(0).toUpperCase() + camelCase.slice(1)) as CamelToPascal<T>;\n};\n","import { createElement, forwardRef } from 'react';\nimport { mergeClasses, toKebabCase, toPascalCase } from '@lucide/shared';\nimport { IconNode, LucideProps } from './types';\nimport Icon from './Icon';\n\n/**\n * Create a Lucide icon component\n * @param {string} iconName\n * @param {array} iconNode\n * @returns {ForwardRefExoticComponent} LucideIcon\n */\nconst createLucideIcon = (iconName: string, iconNode: IconNode) => {\n const Component = forwardRef<SVGSVGElement, LucideProps>(({ className, ...props }, ref) =>\n createElement(Icon, {\n ref,\n iconNode,\n className: mergeClasses(\n `lucide-${toKebabCase(toPascalCase(iconName))}`,\n `lucide-${iconName}`,\n className,\n ),\n ...props,\n }),\n );\n\n Component.displayName = toPascalCase(iconName);\n\n return Component;\n};\n\nexport default createLucideIcon;\n","\"use client\"\n\nimport * as React from \"react\"\nimport { Dialog as DialogPrimitive } from \"@base-ui/react/dialog\"\n\nimport { cn } from \"@/lib/utils\"\nimport { Button } from \"@/components/ui/button\"\nimport { XIcon } from \"lucide-react\"\n\nfunction Dialog({ ...props }: DialogPrimitive.Root.Props) {\n return <DialogPrimitive.Root data-slot=\"dialog\" {...props} />\n}\n\nfunction DialogTrigger({ ...props }: DialogPrimitive.Trigger.Props) {\n return <DialogPrimitive.Trigger data-slot=\"dialog-trigger\" {...props} />\n}\n\nfunction DialogPortal({ ...props }: DialogPrimitive.Portal.Props) {\n return <DialogPrimitive.Portal data-slot=\"dialog-portal\" {...props} />\n}\n\nfunction DialogClose({ ...props }: DialogPrimitive.Close.Props) {\n return <DialogPrimitive.Close data-slot=\"dialog-close\" {...props} />\n}\n\nfunction DialogOverlay({\n className,\n ...props\n}: DialogPrimitive.Backdrop.Props) {\n return (\n <DialogPrimitive.Backdrop\n data-slot=\"dialog-overlay\"\n className={cn(\n \"fixed inset-0 isolate z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DialogContent({\n className,\n children,\n showCloseButton = true,\n ...props\n}: DialogPrimitive.Popup.Props & {\n showCloseButton?: boolean\n}) {\n return (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Popup\n data-slot=\"dialog-content\"\n className={cn(\n \"fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-sm text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95\",\n className\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close\n data-slot=\"dialog-close\"\n render={\n <Button\n variant=\"ghost\"\n className=\"absolute top-2 right-2\"\n size=\"icon-sm\"\n />\n }\n >\n <XIcon\n />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n )}\n </DialogPrimitive.Popup>\n </DialogPortal>\n )\n}\n\nfunction DialogHeader({ className, ...props }: React.ComponentProps<\"div\">) {\n return (\n <div\n data-slot=\"dialog-header\"\n className={cn(\"flex flex-col gap-2\", className)}\n {...props}\n />\n )\n}\n\nfunction DialogFooter({\n className,\n showCloseButton = false,\n children,\n ...props\n}: React.ComponentProps<\"div\"> & {\n showCloseButton?: boolean\n}) {\n return (\n <div\n data-slot=\"dialog-footer\"\n className={cn(\n \"-mx-4 -mb-4 flex flex-col-reverse gap-2 rounded-b-xl border-t bg-muted/50 p-4 sm:flex-row sm:justify-end\",\n className\n )}\n {...props}\n >\n {children}\n {showCloseButton && (\n <DialogPrimitive.Close render={<Button variant=\"outline\" />}>\n Close\n </DialogPrimitive.Close>\n )}\n </div>\n )\n}\n\nfunction DialogTitle({ className, ...props }: DialogPrimitive.Title.Props) {\n return (\n <DialogPrimitive.Title\n data-slot=\"dialog-title\"\n className={cn(\n \"font-heading text-base leading-none font-medium\",\n className\n )}\n {...props}\n />\n )\n}\n\nfunction DialogDescription({\n className,\n ...props\n}: DialogPrimitive.Description.Props) {\n return (\n <DialogPrimitive.Description\n data-slot=\"dialog-description\"\n className={cn(\n \"text-sm text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground\",\n className\n )}\n {...props}\n />\n )\n}\n\nexport {\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n}\n","'use client';\n\nimport * as React from 'react';\nexport const CompositeListContext = /*#__PURE__*/React.createContext({\n register: () => {},\n unregister: () => {},\n subscribeMapChange: () => {\n return () => {};\n },\n elementsRef: {\n current: []\n },\n nextIndexRef: {\n current: 0\n }\n});\nif (process.env.NODE_ENV !== \"production\") CompositeListContext.displayName = \"CompositeListContext\";\nexport function useCompositeListContext() {\n return React.useContext(CompositeListContext);\n}","/* eslint-disable no-bitwise */\n'use client';\n\nimport * as React from 'react';\nimport { useRefWithInit } from '@base-ui/utils/useRefWithInit';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { CompositeListContext } from \"./CompositeListContext.mjs\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Provides context for a list of items in a composite component.\n * @internal\n */\nexport function CompositeList(props) {\n const {\n children,\n elementsRef,\n labelsRef,\n onMapChange: onMapChangeProp\n } = props;\n const onMapChange = useStableCallback(onMapChangeProp);\n const nextIndexRef = React.useRef(0);\n const listeners = useRefWithInit(createListeners).current;\n\n // We use a stable `map` to avoid O(n^2) re-allocation costs for large lists.\n // `mapTick` is our re-render trigger mechanism. We also need to update the\n // elements and label refs, but there's a lot of async work going on and sometimes\n // the effect that handles `onMapChange` gets called after those refs have been\n // filled, and we don't want to lose those values by setting their lengths to `0`.\n // We also need to have them at the proper length because floating-ui uses that\n // information for list navigation.\n\n const map = useRefWithInit(createMap).current;\n // `mapTick` uses a counter rather than objects for low precision-loss risk and better memory efficiency\n const [mapTick, setMapTick] = React.useState(0);\n const lastTickRef = React.useRef(mapTick);\n const register = useStableCallback((node, metadata) => {\n map.set(node, metadata ?? null);\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n });\n const unregister = useStableCallback(node => {\n map.delete(node);\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n });\n const sortedMap = React.useMemo(() => {\n // `mapTick` is the `useMemo` trigger as `map` is stable.\n disableEslintWarning(mapTick);\n const newMap = new Map();\n // Filter out disconnected elements before sorting to avoid inconsistent\n // compareDocumentPosition results when elements are detached from the DOM.\n const sortedNodes = Array.from(map.keys()).filter(node => node.isConnected).sort(sortByDocumentPosition);\n sortedNodes.forEach((node, index) => {\n const metadata = map.get(node) ?? {};\n newMap.set(node, {\n ...metadata,\n index\n });\n });\n return newMap;\n }, [map, mapTick]);\n useIsoLayoutEffect(() => {\n if (typeof MutationObserver !== 'function' || sortedMap.size === 0) {\n return undefined;\n }\n const mutationObserver = new MutationObserver(entries => {\n const diff = new Set();\n const updateDiff = node => diff.has(node) ? diff.delete(node) : diff.add(node);\n entries.forEach(entry => {\n entry.removedNodes.forEach(updateDiff);\n entry.addedNodes.forEach(updateDiff);\n });\n if (diff.size === 0) {\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n }\n });\n sortedMap.forEach((_, node) => {\n if (node.parentElement) {\n mutationObserver.observe(node.parentElement, {\n childList: true\n });\n }\n });\n return () => {\n mutationObserver.disconnect();\n };\n }, [sortedMap]);\n useIsoLayoutEffect(() => {\n const shouldUpdateLengths = lastTickRef.current === mapTick;\n if (shouldUpdateLengths) {\n if (elementsRef.current.length !== sortedMap.size) {\n elementsRef.current.length = sortedMap.size;\n }\n if (labelsRef && labelsRef.current.length !== sortedMap.size) {\n labelsRef.current.length = sortedMap.size;\n }\n nextIndexRef.current = sortedMap.size;\n }\n onMapChange(sortedMap);\n }, [onMapChange, sortedMap, elementsRef, labelsRef, mapTick]);\n useIsoLayoutEffect(() => {\n return () => {\n elementsRef.current = [];\n };\n }, [elementsRef]);\n useIsoLayoutEffect(() => {\n return () => {\n if (labelsRef) {\n labelsRef.current = [];\n }\n };\n }, [labelsRef]);\n const subscribeMapChange = useStableCallback(fn => {\n listeners.add(fn);\n return () => {\n listeners.delete(fn);\n };\n });\n useIsoLayoutEffect(() => {\n listeners.forEach(l => l(sortedMap));\n }, [listeners, sortedMap]);\n const contextValue = React.useMemo(() => ({\n register,\n unregister,\n subscribeMapChange,\n elementsRef,\n labelsRef,\n nextIndexRef\n }), [register, unregister, subscribeMapChange, elementsRef, labelsRef, nextIndexRef]);\n return /*#__PURE__*/_jsx(CompositeListContext.Provider, {\n value: contextValue,\n children: children\n });\n}\nfunction createMap() {\n return new Map();\n}\nfunction createListeners() {\n return new Set();\n}\nfunction sortByDocumentPosition(a, b) {\n const position = a.compareDocumentPosition(b);\n if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n return -1;\n }\n if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) {\n return 1;\n }\n return 0;\n}\nfunction disableEslintWarning(_) {}","'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { useCompositeListContext } from \"./CompositeListContext.mjs\";\nexport let IndexGuessBehavior = /*#__PURE__*/function (IndexGuessBehavior) {\n IndexGuessBehavior[IndexGuessBehavior[\"None\"] = 0] = \"None\";\n IndexGuessBehavior[IndexGuessBehavior[\"GuessFromOrder\"] = 1] = \"GuessFromOrder\";\n return IndexGuessBehavior;\n}({});\n\n/**\n * Used to register a list item and its index (DOM position) in the `CompositeList`.\n */\nexport function useCompositeListItem(params = {}) {\n const {\n label,\n metadata,\n textRef,\n indexGuessBehavior,\n index: externalIndex\n } = params;\n const {\n register,\n unregister,\n subscribeMapChange,\n elementsRef,\n labelsRef,\n nextIndexRef\n } = useCompositeListContext();\n const indexRef = React.useRef(-1);\n const [index, setIndex] = React.useState(externalIndex ?? (indexGuessBehavior === IndexGuessBehavior.GuessFromOrder ? () => {\n if (indexRef.current === -1) {\n const newIndex = nextIndexRef.current;\n nextIndexRef.current += 1;\n indexRef.current = newIndex;\n }\n return indexRef.current;\n } : -1));\n const componentRef = React.useRef(null);\n const ref = React.useCallback(node => {\n componentRef.current = node;\n if (index !== -1 && node !== null) {\n elementsRef.current[index] = node;\n if (labelsRef) {\n const isLabelDefined = label !== undefined;\n labelsRef.current[index] = isLabelDefined ? label : textRef?.current?.textContent ?? node.textContent;\n }\n }\n }, [index, elementsRef, labelsRef, label, textRef]);\n useIsoLayoutEffect(() => {\n if (externalIndex != null) {\n return undefined;\n }\n const node = componentRef.current;\n if (node) {\n register(node, metadata);\n return () => {\n unregister(node);\n };\n }\n return undefined;\n }, [externalIndex, register, unregister, metadata]);\n useIsoLayoutEffect(() => {\n if (externalIndex != null) {\n return undefined;\n }\n return subscribeMapChange(map => {\n const i = componentRef.current ? map.get(componentRef.current)?.index : null;\n if (i != null) {\n setIndex(i);\n }\n });\n }, [externalIndex, subscribeMapChange, setIndex]);\n return {\n ref,\n index\n };\n}","'use client';\n\nimport * as React from 'react';\n/**\n * @internal\n */\nexport const CSPContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") CSPContext.displayName = \"CSPContext\";\nconst DEFAULT_CSP_CONTEXT_VALUE = {\n disableStyleElements: false\n};\n\n/**\n * @internal\n */\nexport function useCSPContext() {\n return React.useContext(CSPContext) ?? DEFAULT_CSP_CONTEXT_VALUE;\n}","export function isElementDisabled(element) {\n return element == null || element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true';\n}","\"use client\";\n\nimport { useState } from \"react\";\n\nimport { cn } from \"@/lib/utils\";\n\n// The leading \"#\" grid glyph, split out from the wordmark so it can spin on its\n// own. Its hole (inner square) is the trailing subpath, kept in the same winding\n// order as the original combined path so it still renders as a cut-out.\nconst GLYPH_D =\n \"M6.50391 3.5H9.50391V1H12.5039V3.5H15.0039V6.5H12.5039V9.5H15.0039V12.5H12.5039V15H9.50391V12.5H6.50391V15H3.50391V12.5H1.00391V9.5H3.50391V6.5H1.00391V3.5H3.50391V1H6.50391V3.5ZM6.50391 9.5H9.50391V6.5H6.50391V9.5Z\";\n\n// The \"VELLUM\" letters — static.\nconst TEXT_D =\n \"M86.7959 7.94043C86.7959 9.45243 87.2643 11.4512 90.4863 11.4512H90.5762C93.78 11.4511 94.2119 9.4524 94.2119 7.94043V1.40723H98.4961V7.99512C98.496 10.6591 97.6497 14.9971 90.792 14.9971H90.2695C83.1422 14.9969 82.5118 10.6411 82.5117 7.99512V1.40723H86.7959V7.94043ZM27.3057 10.9473L31.5176 1.40723H36.0898L29.9697 14.7988H24.498L18.1084 1.40723H23.0938L27.3057 10.9473ZM50.6113 4.48438H42.043V6.42871H50.3418V9.61523H42.043V11.6846H50.7197V14.7988H37.7773V1.40723H50.6113V4.48438ZM57.8643 11.3066H65.9648V14.7988H53.5625V1.40723H57.8643V11.3066ZM72.7354 11.3066H80.8359V14.7988H68.4336V1.40723H72.7354V11.3066ZM111.343 9.74121L115.374 1.40723H120.918V14.7988H116.706V6.24902L112.692 14.7988H109.704L105.708 6.24902V14.7988H101.568V1.40723H107.4L111.343 9.74121Z\";\n\n// The Vellum wordmark (grid glyph + type). currentColor → foreground so it renders\n// on any surface and tracks the theme. Defined once and reused everywhere the\n// brand appears (sidebar, workspace gate screens). Sized by height via className;\n// width is auto from the 122×16 viewBox.\n//\n// The grid glyph turns a quarter (90°) each time the pointer enters AND each time\n// it leaves — always in the SAME direction, so it keeps advancing forward and\n// never snaps back to where it came from (a # reads identical every 90°, so it\n// just looks like it's turning onward). It pivots on its own centre\n// (transform-box: fill-box). Stilled under prefers-reduced-motion (ADR-005).\nexport function Logo({ className }: { className?: string }) {\n const [rotation, setRotation] = useState(0);\n const advance = () => setRotation((r) => r + 90);\n\n return (\n <svg\n viewBox=\"0 0 122 16\"\n className={cn(\"h-4 w-auto text-foreground\", className)}\n fill=\"currentColor\"\n role=\"img\"\n aria-label=\"Vellum\"\n xmlns=\"http://www.w3.org/2000/svg\"\n onMouseEnter={advance}\n onMouseLeave={advance}\n >\n <g\n className=\"origin-center transition-transform duration-500 ease-out motion-reduce:transition-none\"\n style={{ transformBox: \"fill-box\", transform: `rotate(${rotation}deg)` }}\n >\n <path d={GLYPH_D} />\n </g>\n <path d={TEXT_D} />\n </svg>\n );\n}\n","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui/utils/useMergedRefs';\nimport { useCompositeRootContext } from \"../root/CompositeRootContext.mjs\";\nimport { useCompositeListItem } from \"../list/useCompositeListItem.mjs\";\nexport function useCompositeItem(params = {}) {\n const {\n highlightItemOnHover,\n highlightedIndex,\n onHighlightedIndexChange\n } = useCompositeRootContext();\n const {\n ref,\n index\n } = useCompositeListItem(params);\n const isHighlighted = highlightedIndex === index;\n const itemRef = React.useRef(null);\n const mergedRef = useMergedRefs(ref, itemRef);\n const compositeProps = {\n tabIndex: isHighlighted ? 0 : -1,\n onFocus() {\n onHighlightedIndexChange(index);\n },\n onMouseMove() {\n const item = itemRef.current;\n if (!highlightItemOnHover || !item) {\n return;\n }\n const disabled = item.hasAttribute('disabled') || item.ariaDisabled === 'true';\n if (!isHighlighted && !disabled) {\n item.focus();\n }\n }\n };\n return {\n compositeProps,\n compositeRef: mergedRef,\n index\n };\n}"],"names":["Dialog","props","Root","DialogTrigger","Trigger","DialogPortal","Portal","DialogClose","Close","DialogOverlay","className","Backdrop","DialogContent","children","showCloseButton","Popup","render","variant","size","DialogHeader","DialogFooter","DialogTitle","Title","DialogDescription","Description","CompositeListContext","register","unregister","subscribeMapChange","elementsRef","current","nextIndexRef","useCompositeListContext","CompositeList","labelsRef","onMapChange","onMapChangeProp","listeners","createListeners","map","createMap","mapTick","setMapTick","lastTickRef","node","metadata","set","delete","sortedMap","disableEslintWarning","newMap","Map","sortedNodes","Array","from","keys","filter","isConnected","sort","sortByDocumentPosition","forEach","index","get","MutationObserver","undefined","mutationObserver","entries","diff","Set","updateDiff","has","add","entry","removedNodes","addedNodes","_","parentElement","observe","childList","disconnect","shouldUpdateLengths","length","fn","l","contextValue","Provider","value","a","b","position","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_PRECEDING","DOCUMENT_POSITION_CONTAINS","IndexGuessBehavior","useCompositeListItem","params","label","textRef","indexGuessBehavior","externalIndex","indexRef","setIndex","GuessFromOrder","newIndex","componentRef","ref","isLabelDefined","textContent","i","CSPContext","DEFAULT_CSP_CONTEXT_VALUE","disableStyleElements","useCSPContext","isElementDisabled","element","hasAttribute","getAttribute","GLYPH_D","TEXT_D","Logo","rotation","setRotation","advance","r","viewBox","fill","role","xmlns","onMouseEnter","onMouseLeave","style","transformBox","transform","d","useCompositeItem","highlightItemOnHover","highlightedIndex","onHighlightedIndexChange","isHighlighted","itemRef","mergedRef","compositeProps","tabIndex","onFocus","onMouseMove","item","disabled","ariaDisabled","focus","compositeRef"],"mappings":"2DEOE,CAAA,CACG,AADH,CACG,AADH,CACG,AADH,CACG,AADH,CACG,AADH,CAAA,AACG,CAAA,CAAO,CAAC,CAAA,CAAA,AAAW,CAAX,AAAW,CAAX,AAAW,AAAO,CAAP,AAAX,CAAA,AAAW,CAAX,CAAA,CAAA,AAAkB,CAAA,AAAlB,CAAkB,CAAA,CAAA,AAGU,CAHA,AAGA,CAAA,CAAA,CAAA,CAAA,EAAX,CAAA,CAAA,CAAA,CAAA,CAAA,GACtB,EAAM,CAAA,CAAA,CAA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mCehB,6NAEX,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAKgB,EAjCV,CAiCaf,kwBAGf,4BChDA,IAAA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,MACA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,iCACO,SAASgB,AAAiBvC,EAAS,CAAC,CAAC,EAC1C,GAAM,sBACJwC,CAAoB,kBACpBC,CAAgB,0BAChBC,CAAwB,CACzB,CAAG,CAAA,EAAA,EAAA,uBAAA,AAAuB,IACrB,KACJhC,CAAG,OACH/C,CAAK,CACN,CAAG,CAAA,EAAA,EAAA,oBAAA,AAAoB,EAACqC,GACnB2C,EAAgBF,IAAqB9E,EACrCiF,EAAU,EAAA,MAAY,CAAC,MACvBC,EAAY,CAAA,EAAA,EAAA,aAAA,AAAa,EAACnC,EAAKkC,GAiBrC,MAAO,CACLE,eAjBqB,CACrBC,SAAUJ,EAAgB,EAAI,CAAC,EAC/BK,UACEN,EAAyB/E,EAC3B,EACAsF,cACE,IAAMC,EAAON,EAAQhH,OAAO,CAC5B,GAAI,CAAC4G,GAAwB,CAACU,EAC5B,IADkC,GAGpC,IAAMC,EAAWD,EAAK9B,YAAY,CAAC,aAAqC,SAAtB8B,EAAKE,YAAY,AAC/D,CAACT,GAAkBQ,GACrBD,EAAKG,KAD0B,AACrB,EAEd,CACF,CAJ0B,CAOxBC,aAAcT,QACdlF,CACF,CACF","ignoreList":[0,1,2,3,4,5,6,7,8,10,11,12,13,14,16]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
package/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
package/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yr.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
package/.next/server/chunks/ssr/_next-internal_server_app_record-test_page_actions_0a_yofw.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
package/.next/server/chunks/ssr/_next-internal_server_app_styleguide_page_actions_174h7x7.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
module.exports=[50573,(a,b,c)=>{if(!globalThis.DOMException)try{let{MessageChannel:b}=a.r(37702),c=new b().port1,d=new ArrayBuffer;c.postMessage(d,[d,d])}catch(a){"DOMException"===a.constructor.name&&(globalThis.DOMException=a.constructor)}b.exports=globalThis.DOMException},1944,(a,b,c)=>{a.e,function(b){"use strict";var c,d,e;let f,g;function h(){}function i(a){return"object"==typeof a&&null!==a||"function"==typeof a}function j(a,b){try{Object.defineProperty(a,"name",{value:b,configurable:!0})}catch(a){}}let k=Promise,l=Promise.prototype.then,m=Promise.reject.bind(k);function n(a){return new k(a)}function o(a){return n(b=>b(a))}function p(a,b,c){return l.call(a,b,c)}function q(a,b,c){p(p(a,b,c),void 0,h)}function r(a,b){q(a,void 0,b)}function s(a){p(a,void 0,h)}let t=a=>{if("function"==typeof queueMicrotask)t=queueMicrotask;else{let a=o(void 0);t=b=>p(a,b)}return t(a)};function u(a,b,c){if("function"!=typeof a)throw TypeError("Argument is not a function");return Function.prototype.apply.call(a,b,c)}function v(a,b,c){try{return o(u(a,b,c))}catch(a){return m(a)}}class w{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(a){let b=this._back,c=b;16383===b._elements.length&&(c={_elements:[],_next:void 0}),b._elements.push(a),c!==b&&(this._back=c,b._next=c),++this._size}shift(){let a=this._front,b=a,c=this._cursor,d=c+1,e=a._elements,f=e[c];return 16384===d&&(b=a._next,d=0),--this._size,this._cursor=d,a!==b&&(this._front=b),e[c]=void 0,f}forEach(a){let b=this._cursor,c=this._front,d=c._elements;for(;(b!==d.length||void 0!==c._next)&&(b!==d.length||(d=(c=c._next)._elements,b=0,0!==d.length));)a(d[b]),++b}peek(){let a=this._front,b=this._cursor;return a._elements[b]}}let x=Symbol("[[AbortSteps]]"),y=Symbol("[[ErrorSteps]]"),z=Symbol("[[CancelSteps]]"),A=Symbol("[[PullSteps]]"),B=Symbol("[[ReleaseSteps]]");function C(a,b){var c,d,e;a._ownerReadableStream=b,b._reader=a,"readable"===b._state?G(a):"closed"===b._state?(G(c=a),I(c)):(d=a,e=b._storedError,G(d),H(d,e))}function D(a,b){return b4(a._ownerReadableStream,b)}function E(a){let b=a._ownerReadableStream;"readable"===b._state?H(a,TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(a,b){G(a),H(a,b)}(a,TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),b._readableStreamController[B](),b._reader=void 0,a._ownerReadableStream=void 0}function F(a){return TypeError("Cannot "+a+" a stream using a released reader")}function G(a){a._closedPromise=n((b,c)=>{a._closedPromise_resolve=b,a._closedPromise_reject=c})}function H(a,b){void 0!==a._closedPromise_reject&&(s(a._closedPromise),a._closedPromise_reject(b),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0)}function I(a){void 0!==a._closedPromise_resolve&&(a._closedPromise_resolve(void 0),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0)}let J=Number.isFinite||function(a){return"number"==typeof a&&isFinite(a)},K=Math.trunc||function(a){return a<0?Math.ceil(a):Math.floor(a)};function L(a,b){if(void 0!==a&&"object"!=typeof a&&"function"!=typeof a)throw TypeError(`${b} is not an object.`)}function M(a,b){if("function"!=typeof a)throw TypeError(`${b} is not a function.`)}function N(a,b){if(("object"!=typeof a||null===a)&&"function"!=typeof a)throw TypeError(`${b} is not an object.`)}function O(a,b,c){if(void 0===a)throw TypeError(`Parameter ${b} is required in '${c}'.`)}function P(a,b,c){if(void 0===a)throw TypeError(`${b} is required in '${c}'.`)}function Q(a){return Number(a)}function R(a,b){var c,d;let e=Number.MAX_SAFE_INTEGER,f=Number(a);if(!J(f=0===(c=f)?0:c))throw TypeError(`${b} is not a finite number`);if((f=0===(d=K(f))?0:d)<0||f>e)throw TypeError(`${b} is outside the accepted range of 0 to ${e}, inclusive`);return J(f)&&0!==f?f:0}function S(a,b){if(!b2(a))throw TypeError(`${b} is not a ReadableStream.`)}function T(a){return new Y(a)}function U(a,b){a._reader._readRequests.push(b)}function V(a,b,c){let d=a._reader._readRequests.shift();c?d._closeSteps():d._chunkSteps(b)}function W(a){return a._reader._readRequests.length}function X(a){let b=a._reader;return void 0!==b&&!!Z(b)}class Y{constructor(a){if(O(a,1,"ReadableStreamDefaultReader"),S(a,"First parameter"),b3(a))throw TypeError("This stream has already been locked for exclusive reading by another reader");C(this,a),this._readRequests=new w}get closed(){return Z(this)?this._closedPromise:m(aa("closed"))}cancel(a){return Z(this)?void 0===this._ownerReadableStream?m(F("cancel")):D(this,a):m(aa("cancel"))}read(){let a,b;if(!Z(this))return m(aa("read"));if(void 0===this._ownerReadableStream)return m(F("read from"));let c=n((c,d)=>{a=c,b=d});return $(this,{_chunkSteps:b=>a({value:b,done:!1}),_closeSteps:()=>a({value:void 0,done:!0}),_errorSteps:a=>b(a)}),c}releaseLock(){var a;if(!Z(this))throw aa("releaseLock");void 0!==this._ownerReadableStream&&(a=this,E(a),_(a,TypeError("Reader was released")))}}function Z(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_readRequests")&&a instanceof Y}function $(a,b){let c=a._ownerReadableStream;c._disturbed=!0,"closed"===c._state?b._closeSteps():"errored"===c._state?b._errorSteps(c._storedError):c._readableStreamController[A](b)}function _(a,b){let c=a._readRequests;a._readRequests=new w,c.forEach(a=>{a._errorSteps(b)})}function aa(a){return TypeError(`ReadableStreamDefaultReader.prototype.${a} can only be used on a ReadableStreamDefaultReader`)}Object.defineProperties(Y.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),j(Y.prototype.cancel,"cancel"),j(Y.prototype.read,"read"),j(Y.prototype.releaseLock,"releaseLock"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(Y.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});let ab=Object.getPrototypeOf(Object.getPrototypeOf(async function*(){}).prototype);class ac{constructor(a,b){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=a,this._preventCancel=b}next(){let a=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?p(this._ongoingPromise,a,a):a(),this._ongoingPromise}return(a){let b=()=>this._returnSteps(a);return this._ongoingPromise?p(this._ongoingPromise,b,b):b()}_nextSteps(){let a,b;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let c=this._reader,d=n((c,d)=>{a=c,b=d});return $(c,{_chunkSteps:b=>{this._ongoingPromise=void 0,t(()=>a({value:b,done:!1}))},_closeSteps:()=>{this._ongoingPromise=void 0,this._isFinished=!0,E(c),a({value:void 0,done:!0})},_errorSteps:a=>{this._ongoingPromise=void 0,this._isFinished=!0,E(c),b(a)}}),d}_returnSteps(a){if(this._isFinished)return Promise.resolve({value:a,done:!0});this._isFinished=!0;let b=this._reader;if(!this._preventCancel){let c=D(b,a);return E(b),p(c,()=>({value:a,done:!0}),void 0)}return E(b),o({value:a,done:!0})}}let ad={next(){return ae(this)?this._asyncIteratorImpl.next():m(af("next"))},return(a){return ae(this)?this._asyncIteratorImpl.return(a):m(af("return"))}};function ae(a){if(!i(a)||!Object.prototype.hasOwnProperty.call(a,"_asyncIteratorImpl"))return!1;try{return a._asyncIteratorImpl instanceof ac}catch(a){return!1}}function af(a){return TypeError(`ReadableStreamAsyncIterator.${a} can only be used on a ReadableSteamAsyncIterator`)}Object.setPrototypeOf(ad,ab);let ag=Number.isNaN||function(a){return a!=a};function ah(a){return a.slice()}function ai(a,b,c,d,e){new Uint8Array(a).set(new Uint8Array(c,d,e),b)}let aj=a=>(aj="function"==typeof a.transfer?a=>a.transfer():"function"==typeof structuredClone?a=>structuredClone(a,{transfer:[a]}):a=>a)(a),ak=a=>(ak="boolean"==typeof a.detached?a=>a.detached:a=>0===a.byteLength)(a);function al(a,b,c){if(a.slice)return a.slice(b,c);let d=c-b,e=new ArrayBuffer(d);return ai(e,0,a,b,d),e}function am(a,b){let c=a[b];if(null!=c){if("function"!=typeof c)throw TypeError(`${String(b)} is not a function`);return c}}let an=null!=(e=null!=(c=Symbol.asyncIterator)?c:null==(d=Symbol.for)?void 0:d.call(Symbol,"Symbol.asyncIterator"))?e:"@@asyncIterator";function ao(a){return new Uint8Array(al(a.buffer,a.byteOffset,a.byteOffset+a.byteLength))}function ap(a){let b=a._queue.shift();return a._queueTotalSize-=b.size,a._queueTotalSize<0&&(a._queueTotalSize=0),b.value}function aq(a,b,c){if(!(!("number"!=typeof c||ag(c))&&!(c<0)&&1)||c===1/0)throw RangeError("Size must be a finite, non-NaN, non-negative number.");a._queue.push({value:b,size:c}),a._queueTotalSize+=c}function ar(a){a._queue=new w,a._queueTotalSize=0}function as(a){return a===DataView}class at{constructor(){throw TypeError("Illegal constructor")}get view(){if(!aw(this))throw aV("view");return this._view}respond(a){if(!aw(this))throw aV("respond");if(O(a,1,"respond"),a=R(a,"First parameter"),void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");if(ak(this._view.buffer))throw TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");aS(this._associatedReadableByteStreamController,a)}respondWithNewView(a){if(!aw(this))throw aV("respondWithNewView");if(O(a,1,"respondWithNewView"),!ArrayBuffer.isView(a))throw TypeError("You can only respond with array buffer views");if(void 0===this._associatedReadableByteStreamController)throw TypeError("This BYOB request has been invalidated");if(ak(a.buffer))throw TypeError("The given view's buffer has been detached and so cannot be used as a response");aT(this._associatedReadableByteStreamController,a)}}Object.defineProperties(at.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),j(at.prototype.respond,"respond"),j(at.prototype.respondWithNewView,"respondWithNewView"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(at.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});class au{constructor(){throw TypeError("Illegal constructor")}get byobRequest(){if(!av(this))throw aW("byobRequest");return aQ(this)}get desiredSize(){if(!av(this))throw aW("desiredSize");return aR(this)}close(){if(!av(this))throw aW("close");if(this._closeRequested)throw TypeError("The stream has already been closed; do not close it again!");let a=this._controlledReadableByteStream._state;if("readable"!==a)throw TypeError(`The stream (in ${a} state) is not in the readable state and cannot be closed`);aM(this)}enqueue(a){if(!av(this))throw aW("enqueue");if(O(a,1,"enqueue"),!ArrayBuffer.isView(a))throw TypeError("chunk must be an array buffer view");if(0===a.byteLength)throw TypeError("chunk must have non-zero byteLength");if(0===a.buffer.byteLength)throw TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw TypeError("stream is closed or draining");let b=this._controlledReadableByteStream._state;if("readable"!==b)throw TypeError(`The stream (in ${b} state) is not in the readable state and cannot be enqueued to`);aN(this,a)}error(a){if(!av(this))throw aW("error");aO(this,a)}[z](a){ay(this),ar(this);let b=this._cancelAlgorithm(a);return aL(this),b}[A](a){let b=this._controlledReadableByteStream;if(this._queueTotalSize>0)return void aP(this,a);let c=this._autoAllocateChunkSize;if(void 0!==c){let b;try{b=new ArrayBuffer(c)}catch(b){a._errorSteps(b);return}let d={buffer:b,bufferByteLength:c,byteOffset:0,byteLength:c,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(d)}U(b,a),ax(this)}[B](){if(this._pendingPullIntos.length>0){let a=this._pendingPullIntos.peek();a.readerType="none",this._pendingPullIntos=new w,this._pendingPullIntos.push(a)}}}function av(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_controlledReadableByteStream")&&a instanceof au}function aw(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_associatedReadableByteStreamController")&&a instanceof at}function ax(a){var b;let c;if("readable"===(c=(b=a)._controlledReadableByteStream)._state&&!b._closeRequested&&b._started&&(X(c)&&W(c)>0||aZ(c)&&aY(c)>0||aR(b)>0)){if(a._pulling){a._pullAgain=!0;return}a._pulling=!0,q(a._pullAlgorithm(),()=>(a._pulling=!1,a._pullAgain&&(a._pullAgain=!1,ax(a)),null),b=>(aO(a,b),null))}}function ay(a){aH(a),a._pendingPullIntos=new w}function az(a,b){var c,d,e;let f,g=!1;"closed"===a._state&&(g=!0);let h=aA(b);"default"===b.readerType?V(a,h,g):(c=a,d=h,e=g,f=c._reader._readIntoRequests.shift(),e?f._closeSteps(d):f._chunkSteps(d))}function aA(a){let b=a.bytesFilled,c=a.elementSize;return new a.viewConstructor(a.buffer,a.byteOffset,b/c)}function aB(a,b,c,d){a._queue.push({buffer:b,byteOffset:c,byteLength:d}),a._queueTotalSize+=d}function aC(a,b,c,d){let e;try{e=al(b,c,c+d)}catch(b){throw aO(a,b),b}aB(a,e,0,d)}function aD(a,b){b.bytesFilled>0&&aC(a,b.buffer,b.byteOffset,b.bytesFilled),aK(a)}function aE(a,b){let c=Math.min(a._queueTotalSize,b.byteLength-b.bytesFilled),d=b.bytesFilled+c,e=c,f=!1,g=d%b.elementSize,h=d-g;h>=b.minimumFill&&(e=h-b.bytesFilled,f=!0);let i=a._queue;for(;e>0;){let c=i.peek(),d=Math.min(e,c.byteLength),f=b.byteOffset+b.bytesFilled;ai(b.buffer,f,c.buffer,c.byteOffset,d),c.byteLength===d?i.shift():(c.byteOffset+=d,c.byteLength-=d),a._queueTotalSize-=d,aF(a,d,b),e-=d}return f}function aF(a,b,c){c.bytesFilled+=b}function aG(a){0===a._queueTotalSize&&a._closeRequested?(aL(a),b5(a._controlledReadableByteStream)):ax(a)}function aH(a){null!==a._byobRequest&&(a._byobRequest._associatedReadableByteStreamController=void 0,a._byobRequest._view=null,a._byobRequest=null)}function aI(a){for(;a._pendingPullIntos.length>0;){if(0===a._queueTotalSize)return;let b=a._pendingPullIntos.peek();aE(a,b)&&(aK(a),az(a._controlledReadableByteStream,b))}}function aJ(a,b){let c=a._pendingPullIntos.peek();if(aH(a),"closed"===a._controlledReadableByteStream._state){"none"===c.readerType&&aK(a);let b=a._controlledReadableByteStream;if(aZ(b))for(;aY(b)>0;)az(b,aK(a))}else!function(a,b,c){if(aF(a,b,c),"none"===c.readerType){aD(a,c),aI(a);return}if(c.bytesFilled<c.minimumFill)return;aK(a);let d=c.bytesFilled%c.elementSize;if(d>0){let b=c.byteOffset+c.bytesFilled;aC(a,c.buffer,b-d,d)}c.bytesFilled-=d,az(a._controlledReadableByteStream,c),aI(a)}(a,b,c);ax(a)}function aK(a){return a._pendingPullIntos.shift()}function aL(a){a._pullAlgorithm=void 0,a._cancelAlgorithm=void 0}function aM(a){let b=a._controlledReadableByteStream;if(!a._closeRequested&&"readable"===b._state){if(a._queueTotalSize>0){a._closeRequested=!0;return}if(a._pendingPullIntos.length>0){let b=a._pendingPullIntos.peek();if(b.bytesFilled%b.elementSize!=0){let b=TypeError("Insufficient bytes to fill elements in the given buffer");throw aO(a,b),b}}aL(a),b5(b)}}function aN(a,b){let c=a._controlledReadableByteStream;if(a._closeRequested||"readable"!==c._state)return;let{buffer:d,byteOffset:e,byteLength:f}=b;if(ak(d))throw TypeError("chunk's buffer is detached and so cannot be enqueued");let g=aj(d);if(a._pendingPullIntos.length>0){let b=a._pendingPullIntos.peek();if(ak(b.buffer))throw TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");aH(a),b.buffer=aj(b.buffer),"none"===b.readerType&&aD(a,b)}X(c)?(!function(a){let b=a._controlledReadableByteStream._reader;for(;b._readRequests.length>0;){if(0===a._queueTotalSize)return;aP(a,b._readRequests.shift())}}(a),0===W(c)?aB(a,g,e,f):(a._pendingPullIntos.length>0&&aK(a),V(c,new Uint8Array(g,e,f),!1))):aZ(c)?(aB(a,g,e,f),aI(a)):aB(a,g,e,f),ax(a)}function aO(a,b){let c=a._controlledReadableByteStream;"readable"===c._state&&(ay(a),ar(a),aL(a),b6(c,b))}function aP(a,b){let c=a._queue.shift();a._queueTotalSize-=c.byteLength,aG(a);let d=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);b._chunkSteps(d)}function aQ(a){if(null===a._byobRequest&&a._pendingPullIntos.length>0){var b,c,d;let e=a._pendingPullIntos.peek(),f=new Uint8Array(e.buffer,e.byteOffset+e.bytesFilled,e.byteLength-e.bytesFilled),g=Object.create(at.prototype);b=g,c=a,d=f,b._associatedReadableByteStreamController=c,b._view=d,a._byobRequest=g}return a._byobRequest}function aR(a){let b=a._controlledReadableByteStream._state;return"errored"===b?null:"closed"===b?0:a._strategyHWM-a._queueTotalSize}function aS(a,b){let c=a._pendingPullIntos.peek();if("closed"===a._controlledReadableByteStream._state){if(0!==b)throw TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(0===b)throw TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(c.bytesFilled+b>c.byteLength)throw RangeError("bytesWritten out of range")}c.buffer=aj(c.buffer),aJ(a,b)}function aT(a,b){let c=a._pendingPullIntos.peek();if("closed"===a._controlledReadableByteStream._state){if(0!==b.byteLength)throw TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(0===b.byteLength)throw TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(c.byteOffset+c.bytesFilled!==b.byteOffset)throw RangeError("The region specified by view does not match byobRequest");if(c.bufferByteLength!==b.buffer.byteLength)throw RangeError("The buffer of view has different capacity than byobRequest");if(c.bytesFilled+b.byteLength>c.byteLength)throw RangeError("The region specified by view is larger than byobRequest");let d=b.byteLength;c.buffer=aj(b.buffer),aJ(a,d)}function aU(a,b,c,d,e,f,g){b._controlledReadableByteStream=a,b._pullAgain=!1,b._pulling=!1,b._byobRequest=null,b._queue=b._queueTotalSize=void 0,ar(b),b._closeRequested=!1,b._started=!1,b._strategyHWM=f,b._pullAlgorithm=d,b._cancelAlgorithm=e,b._autoAllocateChunkSize=g,b._pendingPullIntos=new w,a._readableStreamController=b,q(o(c()),()=>(b._started=!0,ax(b),null),a=>(aO(b,a),null))}function aV(a){return TypeError(`ReadableStreamBYOBRequest.prototype.${a} can only be used on a ReadableStreamBYOBRequest`)}function aW(a){return TypeError(`ReadableByteStreamController.prototype.${a} can only be used on a ReadableByteStreamController`)}Object.defineProperties(au.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),j(au.prototype.close,"close"),j(au.prototype.enqueue,"enqueue"),j(au.prototype.error,"error"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(au.prototype,Symbol.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function aX(a,b){a._reader._readIntoRequests.push(b)}function aY(a){return a._reader._readIntoRequests.length}function aZ(a){let b=a._reader;return void 0!==b&&!!a_(b)}class a${constructor(a){if(O(a,1,"ReadableStreamBYOBReader"),S(a,"First parameter"),b3(a))throw TypeError("This stream has already been locked for exclusive reading by another reader");if(!av(a._readableStreamController))throw TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");C(this,a),this._readIntoRequests=new w}get closed(){return a_(this)?this._closedPromise:m(a2("closed"))}cancel(a){return a_(this)?void 0===this._ownerReadableStream?m(F("cancel")):D(this,a):m(a2("cancel"))}read(a,b={}){let c,d,e;if(!a_(this))return m(a2("read"));if(!ArrayBuffer.isView(a))return m(TypeError("view must be an array buffer view"));if(0===a.byteLength)return m(TypeError("view must have non-zero byteLength"));if(0===a.buffer.byteLength)return m(TypeError("view's buffer must have non-zero byteLength"));if(ak(a.buffer))return m(TypeError("view's buffer has been detached"));try{var f;L(b,"options"),c={min:R(null!=(f=null==b?void 0:b.min)?f:1,"options has member 'min' that")}}catch(a){return m(a)}let g=c.min;if(0===g)return m(TypeError("options.min must be greater than 0"));if(as(a.constructor)){if(g>a.byteLength)return m(RangeError("options.min must be less than or equal to view's byteLength"))}else if(g>a.length)return m(RangeError("options.min must be less than or equal to view's length"));if(void 0===this._ownerReadableStream)return m(F("read from"));let h=n((a,b)=>{d=a,e=b});return a0(this,a,g,{_chunkSteps:a=>d({value:a,done:!1}),_closeSteps:a=>d({value:a,done:!0}),_errorSteps:a=>e(a)}),h}releaseLock(){var a;if(!a_(this))throw a2("releaseLock");void 0!==this._ownerReadableStream&&(a=this,E(a),a1(a,TypeError("Reader was released")))}}function a_(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_readIntoRequests")&&a instanceof a$}function a0(a,b,c,d){let e=a._ownerReadableStream;e._disturbed=!0,"errored"===e._state?d._errorSteps(e._storedError):function(a,b,c,d){let e,f=a._controlledReadableByteStream,g=b.constructor,h=as(g)?1:g.BYTES_PER_ELEMENT,{byteOffset:i,byteLength:j}=b;try{e=aj(b.buffer)}catch(a){d._errorSteps(a);return}let k={buffer:e,bufferByteLength:e.byteLength,byteOffset:i,byteLength:j,bytesFilled:0,minimumFill:c*h,elementSize:h,viewConstructor:g,readerType:"byob"};if(a._pendingPullIntos.length>0){a._pendingPullIntos.push(k),aX(f,d);return}if("closed"===f._state){let a=new g(k.buffer,k.byteOffset,0);d._closeSteps(a);return}if(a._queueTotalSize>0){if(aE(a,k)){let b=aA(k);aG(a),d._chunkSteps(b);return}if(a._closeRequested){let b=TypeError("Insufficient bytes to fill elements in the given buffer");aO(a,b),d._errorSteps(b);return}}a._pendingPullIntos.push(k),aX(f,d),ax(a)}(e._readableStreamController,b,c,d)}function a1(a,b){let c=a._readIntoRequests;a._readIntoRequests=new w,c.forEach(a=>{a._errorSteps(b)})}function a2(a){return TypeError(`ReadableStreamBYOBReader.prototype.${a} can only be used on a ReadableStreamBYOBReader`)}function a3(a,b){let{highWaterMark:c}=a;if(void 0===c)return b;if(ag(c)||c<0)throw RangeError("Invalid highWaterMark");return c}function a4(a){let{size:b}=a;return b||(()=>1)}function a5(a,b){var c;L(a,b);let d=null==a?void 0:a.highWaterMark,e=null==a?void 0:a.size;return{highWaterMark:void 0===d?void 0:Q(d),size:void 0===e?void 0:(M(c=e,`${b} has member 'size' that`),a=>Q(c(a)))}}function a6(a,b){if(!ba(a))throw TypeError(`${b} is not a WritableStream.`)}Object.defineProperties(a$.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),j(a$.prototype.cancel,"cancel"),j(a$.prototype.read,"read"),j(a$.prototype.releaseLock,"releaseLock"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(a$.prototype,Symbol.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});let a7="function"==typeof AbortController;class a8{constructor(a={},b={}){void 0===a?a=null:N(a,"First parameter");const c=a5(b,"Second parameter"),d=function(a,b){var c,d,e,f,g,h,i,j;L(a,b);let k=null==a?void 0:a.abort,l=null==a?void 0:a.close,m=null==a?void 0:a.start,n=null==a?void 0:a.type,o=null==a?void 0:a.write;return{abort:void 0===k?void 0:(c=k,d=a,M(c,`${b} has member 'abort' that`),a=>v(c,d,[a])),close:void 0===l?void 0:(e=l,f=a,M(e,`${b} has member 'close' that`),()=>v(e,f,[])),start:void 0===m?void 0:(g=m,h=a,M(g,`${b} has member 'start' that`),a=>u(g,h,[a])),write:void 0===o?void 0:(i=o,j=a,M(i,`${b} has member 'write' that`),(a,b)=>v(i,j,[a,b])),type:n}}(a,"First parameter");if(a9(this),void 0!==d.type)throw RangeError("Invalid type is specified");const e=a4(c);!function(a,b,c,d){let e,f,g=Object.create(br.prototype);e=void 0!==b.start?()=>b.start(g):()=>void 0,f=void 0!==b.write?a=>b.write(a,g):()=>o(void 0),bt(a,g,e,f,void 0!==b.close?()=>b.close():()=>o(void 0),void 0!==b.abort?a=>b.abort(a):()=>o(void 0),c,d)}(this,d,a3(c,1),e)}get locked(){if(!ba(this))throw bz("locked");return bb(this)}abort(a){return ba(this)?bb(this)?m(TypeError("Cannot abort a stream that already has a writer")):bc(this,a):m(bz("abort"))}close(){return ba(this)?bb(this)?m(TypeError("Cannot close a stream that already has a writer")):bh(this)?m(TypeError("Cannot close an already-closing stream")):bd(this):m(bz("close"))}getWriter(){var a;if(!ba(this))throw bz("getWriter");return a=this,new bk(a)}}function a9(a){a._state="writable",a._storedError=void 0,a._writer=void 0,a._writableStreamController=void 0,a._writeRequests=new w,a._inFlightWriteRequest=void 0,a._closeRequest=void 0,a._inFlightCloseRequest=void 0,a._pendingAbortRequest=void 0,a._backpressure=!1}function ba(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_writableStreamController")&&a instanceof a8}function bb(a){return void 0!==a._writer}function bc(a,b){var c;if("closed"===a._state||"errored"===a._state)return o(void 0);a._writableStreamController._abortReason=b,null==(c=a._writableStreamController._abortController)||c.abort(b);let d=a._state;if("closed"===d||"errored"===d)return o(void 0);if(void 0!==a._pendingAbortRequest)return a._pendingAbortRequest._promise;let e=!1;"erroring"===d&&(e=!0,b=void 0);let f=n((c,d)=>{a._pendingAbortRequest={_promise:void 0,_resolve:c,_reject:d,_reason:b,_wasAlreadyErroring:e}});return a._pendingAbortRequest._promise=f,e||bf(a,b),f}function bd(a){var b;let c=a._state;if("closed"===c||"errored"===c)return m(TypeError(`The stream (in ${c} state) is not in the writable state and cannot be closed`));let d=n((b,c)=>{a._closeRequest={_resolve:b,_reject:c}}),e=a._writer;return void 0!==e&&a._backpressure&&"writable"===c&&bJ(e),aq(b=a._writableStreamController,bq,0),bw(b),d}function be(a,b){"writable"===a._state?bf(a,b):bg(a)}function bf(a,b){var c;let d=a._writableStreamController;a._state="erroring",a._storedError=b;let e=a._writer;void 0!==e&&bn(e,b),void 0===(c=a)._inFlightWriteRequest&&void 0===c._inFlightCloseRequest&&d._started&&bg(a)}function bg(a){a._state="errored",a._writableStreamController[y]();let b=a._storedError;if(a._writeRequests.forEach(a=>{a._reject(b)}),a._writeRequests=new w,void 0===a._pendingAbortRequest)return void bi(a);let c=a._pendingAbortRequest;if(a._pendingAbortRequest=void 0,c._wasAlreadyErroring){c._reject(b),bi(a);return}q(a._writableStreamController[x](c._reason),()=>(c._resolve(),bi(a),null),b=>(c._reject(b),bi(a),null))}function bh(a){return void 0!==a._closeRequest||void 0!==a._inFlightCloseRequest}function bi(a){void 0!==a._closeRequest&&(a._closeRequest._reject(a._storedError),a._closeRequest=void 0);let b=a._writer;void 0!==b&&bE(b,a._storedError)}function bj(a,b){let c=a._writer;void 0!==c&&b!==a._backpressure&&(b?bG(c):bJ(c)),a._backpressure=b}Object.defineProperties(a8.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),j(a8.prototype.abort,"abort"),j(a8.prototype.close,"close"),j(a8.prototype.getWriter,"getWriter"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(a8.prototype,Symbol.toStringTag,{value:"WritableStream",configurable:!0});class bk{constructor(a){if(O(a,1,"WritableStreamDefaultWriter"),a6(a,"First parameter"),bb(a))throw TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=a,a._writer=this;const b=a._state;if("writable"===b)!bh(a)&&a._backpressure?bG(this):function(a){bG(a),bJ(a)}(this),bD(this);else if("erroring"===b)bH(this,a._storedError),bD(this);else if("closed"===b)(function(a){bG(a),bJ(a)})(this),function(a){bD(a),bF(a)}(this);else{const b=a._storedError;bH(this,b),function(a,b){bD(a),bE(a,b)}(this,b)}}get closed(){return bl(this)?this._closedPromise:m(bB("closed"))}get desiredSize(){var a;let b,c;if(!bl(this))throw bB("desiredSize");if(void 0===this._ownerWritableStream)throw bC("desiredSize");return a=this,"errored"===(c=(b=a._ownerWritableStream)._state)||"erroring"===c?null:"closed"===c?0:bv(b._writableStreamController)}get ready(){return bl(this)?this._readyPromise:m(bB("ready"))}abort(a){var b,c;if(!bl(this))return m(bB("abort"));if(void 0===this._ownerWritableStream)return m(bC("abort"));return b=this,c=a,bc(b._ownerWritableStream,c)}close(){if(!bl(this))return m(bB("close"));let a=this._ownerWritableStream;return void 0===a?m(bC("close")):bh(a)?m(TypeError("Cannot close an already-closing stream")):bm(this)}releaseLock(){if(!bl(this))throw bB("releaseLock");void 0!==this._ownerWritableStream&&bo(this)}write(a){return bl(this)?void 0===this._ownerWritableStream?m(bC("write to")):bp(this,a):m(bB("write"))}}function bl(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_ownerWritableStream")&&a instanceof bk}function bm(a){return bd(a._ownerWritableStream)}function bn(a,b){"pending"===a._readyPromiseState?bI(a,b):bH(a,b)}function bo(a){let b=a._ownerWritableStream,c=TypeError("Writer was released and can no longer be used to monitor the stream's closedness");bn(a,c),"pending"===a._closedPromiseState?bE(a,c):function(a,b){bD(a),bE(a,b)}(a,c),b._writer=void 0,a._ownerWritableStream=void 0}function bp(a,b){let c=a._ownerWritableStream,d=c._writableStreamController,e=function(a,b){try{return a._strategySizeAlgorithm(b)}catch(b){return bx(a,b),1}}(d,b);if(c!==a._ownerWritableStream)return m(bC("write to"));let f=c._state;if("errored"===f)return m(c._storedError);if(bh(c)||"closed"===f)return m(TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===f)return m(c._storedError);let g=n((a,b)=>{c._writeRequests.push({_resolve:a,_reject:b})});return function(a,b,c){try{aq(a,b,c)}catch(b){bx(a,b);return}let d=a._controlledWritableStream;bh(d)||"writable"!==d._state||bj(d,function(a){return 0>=bv(a)}(a)),bw(a)}(d,b,e),g}Object.defineProperties(bk.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),j(bk.prototype.abort,"abort"),j(bk.prototype.close,"close"),j(bk.prototype.releaseLock,"releaseLock"),j(bk.prototype.write,"write"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(bk.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});let bq={};class br{constructor(){throw TypeError("Illegal constructor")}get abortReason(){if(!bs(this))throw bA("abortReason");return this._abortReason}get signal(){if(!bs(this))throw bA("signal");if(void 0===this._abortController)throw TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(a){if(!bs(this))throw bA("error");"writable"===this._controlledWritableStream._state&&by(this,a)}[x](a){let b=this._abortAlgorithm(a);return bu(this),b}[y](){ar(this)}}function bs(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_controlledWritableStream")&&a instanceof br}function bt(a,b,c,d,e,f,g,h){b._controlledWritableStream=a,a._writableStreamController=b,b._queue=void 0,b._queueTotalSize=void 0,ar(b),b._abortReason=void 0,b._abortController=function(){if(a7)return new AbortController}(),b._started=!1,b._strategySizeAlgorithm=h,b._strategyHWM=g,b._writeAlgorithm=d,b._closeAlgorithm=e,b._abortAlgorithm=f,bj(a,0>=bv(b)),q(o(c()),()=>(b._started=!0,bw(b),null),c=>(b._started=!0,be(a,c),null))}function bu(a){a._writeAlgorithm=void 0,a._closeAlgorithm=void 0,a._abortAlgorithm=void 0,a._strategySizeAlgorithm=void 0}function bv(a){return a._strategyHWM-a._queueTotalSize}function bw(a){let b=a._controlledWritableStream;if(!a._started||void 0!==b._inFlightWriteRequest)return;if("erroring"===b._state)return void bg(b);if(0===a._queue.length)return;let c=a._queue.peek().value;c===bq?function(a){let b=a._controlledWritableStream;b._inFlightCloseRequest=b._closeRequest,b._closeRequest=void 0,ap(a);let c=a._closeAlgorithm();bu(a),q(c,()=>{let a;return b._inFlightCloseRequest._resolve(void 0),b._inFlightCloseRequest=void 0,"erroring"===b._state&&(b._storedError=void 0,void 0!==b._pendingAbortRequest&&(b._pendingAbortRequest._resolve(),b._pendingAbortRequest=void 0)),b._state="closed",void 0!==(a=b._writer)&&bF(a),null},a=>(b._inFlightCloseRequest._reject(a),b._inFlightCloseRequest=void 0,void 0!==b._pendingAbortRequest&&(b._pendingAbortRequest._reject(a),b._pendingAbortRequest=void 0),be(b,a),null))}(a):function(a,b){let c=a._controlledWritableStream;c._inFlightWriteRequest=c._writeRequests.shift(),q(a._writeAlgorithm(b),()=>{c._inFlightWriteRequest._resolve(void 0),c._inFlightWriteRequest=void 0;let b=c._state;return ap(a),bh(c)||"writable"!==b||bj(c,function(a){return 0>=bv(a)}(a)),bw(a),null},b=>("writable"===c._state&&bu(a),c._inFlightWriteRequest._reject(b),c._inFlightWriteRequest=void 0,be(c,b),null))}(a,c)}function bx(a,b){"writable"===a._controlledWritableStream._state&&by(a,b)}function by(a,b){let c=a._controlledWritableStream;bu(a),bf(c,b)}function bz(a){return TypeError(`WritableStream.prototype.${a} can only be used on a WritableStream`)}function bA(a){return TypeError(`WritableStreamDefaultController.prototype.${a} can only be used on a WritableStreamDefaultController`)}function bB(a){return TypeError(`WritableStreamDefaultWriter.prototype.${a} can only be used on a WritableStreamDefaultWriter`)}function bC(a){return TypeError("Cannot "+a+" a stream using a released writer")}function bD(a){a._closedPromise=n((b,c)=>{a._closedPromise_resolve=b,a._closedPromise_reject=c,a._closedPromiseState="pending"})}Object.defineProperties(br.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(br.prototype,Symbol.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function bE(a,b){void 0!==a._closedPromise_reject&&(s(a._closedPromise),a._closedPromise_reject(b),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0,a._closedPromiseState="rejected")}function bF(a){void 0!==a._closedPromise_resolve&&(a._closedPromise_resolve(void 0),a._closedPromise_resolve=void 0,a._closedPromise_reject=void 0,a._closedPromiseState="resolved")}function bG(a){a._readyPromise=n((b,c)=>{a._readyPromise_resolve=b,a._readyPromise_reject=c}),a._readyPromiseState="pending"}function bH(a,b){bG(a),bI(a,b)}function bI(a,b){void 0!==a._readyPromise_reject&&(s(a._readyPromise),a._readyPromise_reject(b),a._readyPromise_resolve=void 0,a._readyPromise_reject=void 0,a._readyPromiseState="rejected")}function bJ(a){void 0!==a._readyPromise_resolve&&(a._readyPromise_resolve(void 0),a._readyPromise_resolve=void 0,a._readyPromise_reject=void 0,a._readyPromiseState="fulfilled")}let bK="u">typeof globalThis?globalThis:"u">typeof self?self:a.g,bL=(!function(a){if("function"!=typeof a&&"object"!=typeof a||"DOMException"!==a.name)return!1;try{return new a,!0}catch(a){return!1}}(f=null==bK?void 0:bK.DOMException)?void 0:f)||(j(g=function(a,b){this.message=a||"",this.name=b||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)},"DOMException"),g.prototype=Object.create(Error.prototype),Object.defineProperty(g.prototype,"constructor",{value:g,writable:!0,configurable:!0}),g);function bM(a,b,c,d,e,f){let g=T(a),i=new bk(b);a._disturbed=!0;let j=!1,k=o(void 0);return n((l,t)=>{var u,v,w;let x;if(void 0!==f){if(x=()=>{let c=void 0!==f.reason?f.reason:new bL("Aborted","AbortError"),g=[];d||g.push(()=>"writable"===b._state?bc(b,c):o(void 0)),e||g.push(()=>"readable"===a._state?b4(a,c):o(void 0)),A(()=>Promise.all(g.map(a=>a())),!0,c)},f.aborted)return void x();f.addEventListener("abort",x)}if(z(a,g._closedPromise,a=>(d?B(!0,a):A(()=>bc(b,a),!0,a),null)),z(b,i._closedPromise,b=>(e?B(!0,b):A(()=>b4(a,b),!0,b),null)),u=a,v=g._closedPromise,w=()=>(c?B():A(()=>{var a;let b,c;return c=(b=(a=i)._ownerWritableStream)._state,bh(b)||"closed"===c?o(void 0):"errored"===c?m(b._storedError):bm(a)}),null),"closed"===u._state?w():q(v,w),bh(b)||"closed"===b._state){let b=TypeError("the destination writable stream closed before all data could be piped to it");e?B(!0,b):A(()=>b4(a,b),!0,b)}function y(){let a=k;return p(k,()=>a!==k?y():void 0)}function z(a,b,c){"errored"===a._state?c(a._storedError):r(b,c)}function A(a,c,d){if(!j)if(j=!0,"writable"!==b._state||bh(b))e();else q(y(),e);function e(){return q(a(),()=>C(c,d),a=>C(!0,a)),null}}function B(a,c){if(!j)if(j=!0,"writable"!==b._state||bh(b))C(a,c);else q(y(),()=>C(a,c))}function C(a,b){return bo(i),E(g),void 0!==f&&f.removeEventListener("abort",x),a?t(b):l(void 0),null}s(n((a,b)=>{!function c(d){d?a():p(j?o(!0):p(i._readyPromise,()=>n((a,b)=>{$(g,{_chunkSteps:b=>{k=p(bp(i,b),void 0,h),a(!1)},_closeSteps:()=>a(!0),_errorSteps:b})})),c,b)}(!1)}))})}class bN{constructor(){throw TypeError("Illegal constructor")}get desiredSize(){if(!bO(this))throw bY("desiredSize");return bV(this)}close(){if(!bO(this))throw bY("close");if(!bW(this))throw TypeError("The stream is not in a state that permits close");bS(this)}enqueue(a){if(!bO(this))throw bY("enqueue");if(!bW(this))throw TypeError("The stream is not in a state that permits enqueue");return bT(this,a)}error(a){if(!bO(this))throw bY("error");bU(this,a)}[z](a){ar(this);let b=this._cancelAlgorithm(a);return bR(this),b}[A](a){let b=this._controlledReadableStream;if(this._queue.length>0){let c=ap(this);this._closeRequested&&0===this._queue.length?(bR(this),b5(b)):bP(this),a._chunkSteps(c)}else U(b,a),bP(this)}[B](){}}function bO(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_controlledReadableStream")&&a instanceof bN}function bP(a){if(bQ(a)){if(a._pulling){a._pullAgain=!0;return}a._pulling=!0,q(a._pullAlgorithm(),()=>(a._pulling=!1,a._pullAgain&&(a._pullAgain=!1,bP(a)),null),b=>(bU(a,b),null))}}function bQ(a){let b=a._controlledReadableStream;return!!bW(a)&&!!a._started&&!!(b3(b)&&W(b)>0||bV(a)>0)}function bR(a){a._pullAlgorithm=void 0,a._cancelAlgorithm=void 0,a._strategySizeAlgorithm=void 0}function bS(a){if(!bW(a))return;let b=a._controlledReadableStream;a._closeRequested=!0,0===a._queue.length&&(bR(a),b5(b))}function bT(a,b){if(!bW(a))return;let c=a._controlledReadableStream;if(b3(c)&&W(c)>0)V(c,b,!1);else{let c;try{c=a._strategySizeAlgorithm(b)}catch(b){throw bU(a,b),b}try{aq(a,b,c)}catch(b){throw bU(a,b),b}}bP(a)}function bU(a,b){let c=a._controlledReadableStream;"readable"===c._state&&(ar(a),bR(a),b6(c,b))}function bV(a){let b=a._controlledReadableStream._state;return"errored"===b?null:"closed"===b?0:a._strategyHWM-a._queueTotalSize}function bW(a){let b=a._controlledReadableStream._state;return!a._closeRequested&&"readable"===b}function bX(a,b,c,d,e,f,g){b._controlledReadableStream=a,b._queue=void 0,b._queueTotalSize=void 0,ar(b),b._started=!1,b._closeRequested=!1,b._pullAgain=!1,b._pulling=!1,b._strategySizeAlgorithm=g,b._strategyHWM=f,b._pullAlgorithm=d,b._cancelAlgorithm=e,a._readableStreamController=b,q(o(c()),()=>(b._started=!0,bP(b),null),a=>(bU(b,a),null))}function bY(a){return TypeError(`ReadableStreamDefaultController.prototype.${a} can only be used on a ReadableStreamDefaultController`)}function bZ(a,b){L(a,b);let c=null==a?void 0:a.preventAbort,d=null==a?void 0:a.preventCancel,e=null==a?void 0:a.preventClose,f=null==a?void 0:a.signal;return void 0!==f&&function(a,b){if(!function(a){if("object"!=typeof a||null===a)return!1;try{return"boolean"==typeof a.aborted}catch(a){return!1}}(a))throw TypeError(`${b} is not an AbortSignal.`)}(f,`${b} has member 'signal' that`),{preventAbort:!!c,preventCancel:!!d,preventClose:!!e,signal:f}}Object.defineProperties(bN.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),j(bN.prototype.close,"close"),j(bN.prototype.enqueue,"enqueue"),j(bN.prototype.error,"error"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(bN.prototype,Symbol.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});class b${constructor(a={},b={}){void 0===a?a=null:N(a,"First parameter");const c=a5(b,"Second parameter"),d=function(a,b){var c,d,e,f,g,h;L(a,b);let i=null==a?void 0:a.autoAllocateChunkSize,j=null==a?void 0:a.cancel,k=null==a?void 0:a.pull,l=null==a?void 0:a.start,m=null==a?void 0:a.type;return{autoAllocateChunkSize:void 0===i?void 0:R(i,`${b} has member 'autoAllocateChunkSize' that`),cancel:void 0===j?void 0:(c=j,d=a,M(c,`${b} has member 'cancel' that`),a=>v(c,d,[a])),pull:void 0===k?void 0:(e=k,f=a,M(e,`${b} has member 'pull' that`),a=>v(e,f,[a])),start:void 0===l?void 0:(g=l,h=a,M(g,`${b} has member 'start' that`),a=>u(g,h,[a])),type:void 0===m?void 0:function(a,b){if("bytes"!=(a=`${a}`))throw TypeError(`${b} '${a}' is not a valid enumeration value for ReadableStreamType`);return a}(m,`${b} has member 'type' that`)}}(a,"First parameter");if(b1(this),"bytes"===d.type){if(void 0!==c.size)throw RangeError("The strategy for a byte stream cannot have a size function");!function(a,b,c){let d,e,f,g=Object.create(au.prototype);d=void 0!==b.start?()=>b.start(g):()=>void 0,e=void 0!==b.pull?()=>b.pull(g):()=>o(void 0),f=void 0!==b.cancel?a=>b.cancel(a):()=>o(void 0);let h=b.autoAllocateChunkSize;if(0===h)throw TypeError("autoAllocateChunkSize must be greater than 0");aU(a,g,d,e,f,c,h)}(this,d,a3(c,0))}else{const a=a4(c);!function(a,b,c,d){let e,f,g=Object.create(bN.prototype);e=void 0!==b.start?()=>b.start(g):()=>void 0,f=void 0!==b.pull?()=>b.pull(g):()=>o(void 0),bX(a,g,e,f,void 0!==b.cancel?a=>b.cancel(a):()=>o(void 0),c,d)}(this,d,a3(c,1),a)}}get locked(){if(!b2(this))throw b7("locked");return b3(this)}cancel(a){return b2(this)?b3(this)?m(TypeError("Cannot cancel a stream that already has a reader")):b4(this,a):m(b7("cancel"))}getReader(a){var b;let c;if(!b2(this))throw b7("getReader");return void 0===(L(a,b="First parameter"),{mode:void 0===(c=null==a?void 0:a.mode)?void 0:function(a,b){if("byob"!=(a=`${a}`))throw TypeError(`${b} '${a}' is not a valid enumeration value for ReadableStreamReaderMode`);return a}(c,`${b} has member 'mode' that`)}).mode?T(this):new a$(this)}pipeThrough(a,b={}){var c;let d,e;if(!b2(this))throw b7("pipeThrough");O(a,1,"pipeThrough");let f=(L(a,c="First parameter"),P(d=null==a?void 0:a.readable,"readable","ReadableWritablePair"),S(d,`${c} has member 'readable' that`),P(e=null==a?void 0:a.writable,"writable","ReadableWritablePair"),a6(e,`${c} has member 'writable' that`),{readable:d,writable:e}),g=bZ(b,"Second parameter");if(b3(this))throw TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(bb(f.writable))throw TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return s(bM(this,f.writable,g.preventClose,g.preventAbort,g.preventCancel,g.signal)),f.readable}pipeTo(a,b={}){let c;if(!b2(this))return m(b7("pipeTo"));if(void 0===a)return m("Parameter 1 is required in 'pipeTo'.");if(!ba(a))return m(TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));try{c=bZ(b,"Second parameter")}catch(a){return m(a)}return b3(this)?m(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):bb(a)?m(TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):bM(this,a,c.preventClose,c.preventAbort,c.preventCancel,c.signal)}tee(){if(!b2(this))throw b7("tee");let a=av(this._readableStreamController)?function(a){let b,c,d,e,f,g=T(a),h=!1,i=!1,j=!1,k=!1,l=!1,m=n(a=>{f=a});function p(a){r(a._closedPromise,b=>(a!==g||(aO(d._readableStreamController,b),aO(e._readableStreamController,b),k&&l||f(void 0)),null))}function q(){a_(g)&&(E(g),p(g=T(a))),$(g,{_chunkSteps:b=>{t(()=>{i=!1,j=!1;let c=b;if(!k&&!l)try{c=ao(b)}catch(b){aO(d._readableStreamController,b),aO(e._readableStreamController,b),f(b4(a,b));return}k||aN(d._readableStreamController,b),l||aN(e._readableStreamController,c),h=!1,i?u():j&&v()})},_closeSteps:()=>{h=!1,k||aM(d._readableStreamController),l||aM(e._readableStreamController),d._readableStreamController._pendingPullIntos.length>0&&aS(d._readableStreamController,0),e._readableStreamController._pendingPullIntos.length>0&&aS(e._readableStreamController,0),k&&l||f(void 0)},_errorSteps:()=>{h=!1}})}function s(b,c){Z(g)&&(E(g),p(g=new a$(a)));let m=c?e:d,n=c?d:e;a0(g,b,1,{_chunkSteps:b=>{t(()=>{i=!1,j=!1;let d=c?l:k;if(c?k:l)d||aT(m._readableStreamController,b);else{let c;try{c=ao(b)}catch(b){aO(m._readableStreamController,b),aO(n._readableStreamController,b),f(b4(a,b));return}d||aT(m._readableStreamController,b),aN(n._readableStreamController,c)}h=!1,i?u():j&&v()})},_closeSteps:a=>{h=!1;let b=c?l:k,d=c?k:l;b||aM(m._readableStreamController),d||aM(n._readableStreamController),void 0!==a&&(b||aT(m._readableStreamController,a),!d&&n._readableStreamController._pendingPullIntos.length>0&&aS(n._readableStreamController,0)),b&&d||f(void 0)},_errorSteps:()=>{h=!1}})}function u(){if(h)return i=!0,o(void 0);h=!0;let a=aQ(d._readableStreamController);return null===a?q():s(a._view,!1),o(void 0)}function v(){if(h)return j=!0,o(void 0);h=!0;let a=aQ(e._readableStreamController);return null===a?q():s(a._view,!0),o(void 0)}function w(){}return d=b0(w,u,function(d){if(k=!0,b=d,l){let d=b4(a,ah([b,c]));f(d)}return m}),e=b0(w,v,function(d){if(l=!0,c=d,k){let d=b4(a,ah([b,c]));f(d)}return m}),p(g),[d,e]}(this):function(a){let b,c,d,e,f,g=T(a),h=!1,i=!1,j=!1,k=!1,l=n(a=>{f=a});function m(){return h?i=!0:(h=!0,$(g,{_chunkSteps:a=>{t(()=>{i=!1,j||bT(d._readableStreamController,a),k||bT(e._readableStreamController,a),h=!1,i&&m()})},_closeSteps:()=>{h=!1,j||bS(d._readableStreamController),k||bS(e._readableStreamController),j&&k||f(void 0)},_errorSteps:()=>{h=!1}})),o(void 0)}function p(){}return d=b_(p,m,function(d){if(j=!0,b=d,k){let d=b4(a,ah([b,c]));f(d)}return l}),e=b_(p,m,function(d){if(k=!0,c=d,j){let d=b4(a,ah([b,c]));f(d)}return l}),r(g._closedPromise,a=>(bU(d._readableStreamController,a),bU(e._readableStreamController,a),j&&k||f(void 0),null)),[d,e]}(this);return ah(a)}values(a){var b;let c,d;if(!b2(this))throw b7("values");return b=(L(a,"First parameter"),{preventCancel:!!(null==a?void 0:a.preventCancel)}).preventCancel,c=new ac(T(this),b),(d=Object.create(ad))._asyncIteratorImpl=c,d}[an](a){return this.values(a)}static from(a){var b;let c,d,e;return i(a)&&void 0!==a.getReader?(b=a.getReader(),c=b_(h,function(){let a;try{a=b.read()}catch(a){return m(a)}return p(a,a=>{if(!i(a))throw TypeError("The promise returned by the reader.read() method must fulfill with an object");if(a.done)bS(c._readableStreamController);else{let b=a.value;bT(c._readableStreamController,b)}},void 0)},function(a){try{return o(b.cancel(a))}catch(a){return m(a)}},0)):(e=function a(b,c="sync",d){if(void 0===d)if("async"===c){if(void 0===(d=am(b,an))){var e;let c,d,f,g=am(b,Symbol.iterator);return e=a(b,"sync",g),c={[Symbol.iterator]:()=>e.iterator},f=(d=async function*(){return yield*c}()).next,{iterator:d,nextMethod:f,done:!1}}}else d=am(b,Symbol.iterator);if(void 0===d)throw TypeError("The object is not iterable");let f=u(d,b,[]);if(!i(f))throw TypeError("The iterator method must return an object");let g=f.next;return{iterator:f,nextMethod:g,done:!1}}(a,"async"),d=b_(h,function(){let a;try{a=function(a){let b=u(a.nextMethod,a.iterator,[]);if(!i(b))throw TypeError("The iterator.next() method must return an object");return b}(e)}catch(a){return m(a)}return p(o(a),a=>{if(!i(a))throw TypeError("The promise returned by the iterator.next() method must fulfill with an object");if(a.done)bS(d._readableStreamController);else{let b=a.value;bT(d._readableStreamController,b)}},void 0)},function(a){let b,c,d=e.iterator;try{b=am(d,"return")}catch(a){return m(a)}if(void 0===b)return o(void 0);try{c=u(b,d,[a])}catch(a){return m(a)}return p(o(c),a=>{if(!i(a))throw TypeError("The promise returned by the iterator.return() method must fulfill with an object")},void 0)},0))}}function b_(a,b,c,d=1,e=()=>1){let f=Object.create(b$.prototype);return b1(f),bX(f,Object.create(bN.prototype),a,b,c,d,e),f}function b0(a,b,c){let d=Object.create(b$.prototype);return b1(d),aU(d,Object.create(au.prototype),a,b,c,0,void 0),d}function b1(a){a._state="readable",a._reader=void 0,a._storedError=void 0,a._disturbed=!1}function b2(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_readableStreamController")&&a instanceof b$}function b3(a){return void 0!==a._reader}function b4(a,b){if(a._disturbed=!0,"closed"===a._state)return o(void 0);if("errored"===a._state)return m(a._storedError);b5(a);let c=a._reader;if(void 0!==c&&a_(c)){let a=c._readIntoRequests;c._readIntoRequests=new w,a.forEach(a=>{a._closeSteps(void 0)})}return p(a._readableStreamController[z](b),h,void 0)}function b5(a){a._state="closed";let b=a._reader;if(void 0!==b&&(I(b),Z(b))){let a=b._readRequests;b._readRequests=new w,a.forEach(a=>{a._closeSteps()})}}function b6(a,b){a._state="errored",a._storedError=b;let c=a._reader;void 0!==c&&(H(c,b),Z(c)?_(c,b):a1(c,b))}function b7(a){return TypeError(`ReadableStream.prototype.${a} can only be used on a ReadableStream`)}function b8(a,b){L(a,b);let c=null==a?void 0:a.highWaterMark;return P(c,"highWaterMark","QueuingStrategyInit"),{highWaterMark:Q(c)}}Object.defineProperties(b$,{from:{enumerable:!0}}),Object.defineProperties(b$.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),j(b$.from,"from"),j(b$.prototype.cancel,"cancel"),j(b$.prototype.getReader,"getReader"),j(b$.prototype.pipeThrough,"pipeThrough"),j(b$.prototype.pipeTo,"pipeTo"),j(b$.prototype.tee,"tee"),j(b$.prototype.values,"values"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(b$.prototype,Symbol.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(b$.prototype,an,{value:b$.prototype.values,writable:!0,configurable:!0});let b9=a=>a.byteLength;j(b9,"size");class ca{constructor(a){O(a,1,"ByteLengthQueuingStrategy"),a=b8(a,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=a.highWaterMark}get highWaterMark(){if(!cc(this))throw cb("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!cc(this))throw cb("size");return b9}}function cb(a){return TypeError(`ByteLengthQueuingStrategy.prototype.${a} can only be used on a ByteLengthQueuingStrategy`)}function cc(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_byteLengthQueuingStrategyHighWaterMark")&&a instanceof ca}Object.defineProperties(ca.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(ca.prototype,Symbol.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});let cd=()=>1;j(cd,"size");class ce{constructor(a){O(a,1,"CountQueuingStrategy"),a=b8(a,"First parameter"),this._countQueuingStrategyHighWaterMark=a.highWaterMark}get highWaterMark(){if(!cg(this))throw cf("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!cg(this))throw cf("size");return cd}}function cf(a){return TypeError(`CountQueuingStrategy.prototype.${a} can only be used on a CountQueuingStrategy`)}function cg(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_countQueuingStrategyHighWaterMark")&&a instanceof ce}Object.defineProperties(ce.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(ce.prototype,Symbol.toStringTag,{value:"CountQueuingStrategy",configurable:!0});class ch{constructor(a={},b={},c={}){let d;void 0===a&&(a=null);const e=a5(b,"Second parameter"),f=a5(c,"Third parameter"),g=function(a,b){var c,d,e,f,g,h,i,j;L(a,b);let k=null==a?void 0:a.cancel,l=null==a?void 0:a.flush,m=null==a?void 0:a.readableType,n=null==a?void 0:a.start,o=null==a?void 0:a.transform,p=null==a?void 0:a.writableType;return{cancel:void 0===k?void 0:(c=k,d=a,M(c,`${b} has member 'cancel' that`),a=>v(c,d,[a])),flush:void 0===l?void 0:(e=l,f=a,M(e,`${b} has member 'flush' that`),a=>v(e,f,[a])),readableType:m,start:void 0===n?void 0:(g=n,h=a,M(g,`${b} has member 'start' that`),a=>u(g,h,[a])),transform:void 0===o?void 0:(i=o,j=a,M(i,`${b} has member 'transform' that`),(a,b)=>v(i,j,[a,b])),writableType:p}}(a,"First parameter");if(void 0!==g.readableType)throw RangeError("Invalid readableType specified");if(void 0!==g.writableType)throw RangeError("Invalid writableType specified");const h=a3(f,0),i=a4(f),j=a3(e,1),k=a4(e);(function(a,b,c,d,e,f){function g(){return b}a._writable=function(a,b,c,d,e=1,f=()=>1){let g=Object.create(a8.prototype);return a9(g),bt(g,Object.create(br.prototype),a,b,c,d,e,f),g}(g,function(b){var c,d;let e;return c=a,d=b,e=c._transformStreamController,c._backpressure?p(c._backpressureChangePromise,()=>{let a=c._writable;if("erroring"===a._state)throw a._storedError;return cr(e,d)},void 0):cr(e,d)},function(){var b=a;let c=b._transformStreamController;if(void 0!==c._finishPromise)return c._finishPromise;let d=b._readable;c._finishPromise=n((a,b)=>{c._finishPromise_resolve=a,c._finishPromise_reject=b});let e=c._flushAlgorithm();return cp(c),q(e,()=>("errored"===d._state?cu(c,d._storedError):(bS(d._readableStreamController),ct(c)),null),a=>(bU(d._readableStreamController,a),cu(c,a),null)),c._finishPromise},function(b){var c=a,d=b;let e=c._transformStreamController;if(void 0!==e._finishPromise)return e._finishPromise;let f=c._readable;e._finishPromise=n((a,b)=>{e._finishPromise_resolve=a,e._finishPromise_reject=b});let g=e._cancelAlgorithm(d);return cp(e),q(g,()=>("errored"===f._state?cu(e,f._storedError):(bU(f._readableStreamController,d),ct(e)),null),a=>(bU(f._readableStreamController,a),cu(e,a),null)),e._finishPromise},c,d),a._readable=b_(g,function(){var b;return cm(b=a,!1),b._backpressureChangePromise},function(b){var c=a,d=b;let e=c._transformStreamController;if(void 0!==e._finishPromise)return e._finishPromise;let f=c._writable;e._finishPromise=n((a,b)=>{e._finishPromise_resolve=a,e._finishPromise_reject=b});let g=e._cancelAlgorithm(d);return cp(e),q(g,()=>("errored"===f._state?cu(e,f._storedError):(bx(f._writableStreamController,d),cl(c),ct(e)),null),a=>(bx(f._writableStreamController,a),cl(c),cu(e,a),null)),e._finishPromise},e,f),a._backpressure=void 0,a._backpressureChangePromise=void 0,a._backpressureChangePromise_resolve=void 0,cm(a,!0),a._transformStreamController=void 0})(this,n(a=>{d=a}),j,k,h,i),function(a,b){let c,d,e,f=Object.create(cn.prototype);c=void 0!==b.transform?a=>b.transform(a,f):a=>{try{return cq(f,a),o(void 0)}catch(a){return m(a)}},d=void 0!==b.flush?()=>b.flush(f):()=>o(void 0),e=void 0!==b.cancel?a=>b.cancel(a):()=>o(void 0),f._controlledTransformStream=a,a._transformStreamController=f,f._transformAlgorithm=c,f._flushAlgorithm=d,f._cancelAlgorithm=e,f._finishPromise=void 0,f._finishPromise_resolve=void 0,f._finishPromise_reject=void 0}(this,g),void 0!==g.start?d(g.start(this._transformStreamController)):d(void 0)}get readable(){if(!ci(this))throw cv("readable");return this._readable}get writable(){if(!ci(this))throw cv("writable");return this._writable}}function ci(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_transformStreamController")&&a instanceof ch}function cj(a,b){bU(a._readable._readableStreamController,b),ck(a,b)}function ck(a,b){cp(a._transformStreamController),bx(a._writable._writableStreamController,b),cl(a)}function cl(a){a._backpressure&&cm(a,!1)}function cm(a,b){void 0!==a._backpressureChangePromise&&a._backpressureChangePromise_resolve(),a._backpressureChangePromise=n(b=>{a._backpressureChangePromise_resolve=b}),a._backpressure=b}Object.defineProperties(ch.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(ch.prototype,Symbol.toStringTag,{value:"TransformStream",configurable:!0});class cn{constructor(){throw TypeError("Illegal constructor")}get desiredSize(){if(!co(this))throw cs("desiredSize");return bV(this._controlledTransformStream._readable._readableStreamController)}enqueue(a){if(!co(this))throw cs("enqueue");cq(this,a)}error(a){var b,c;if(!co(this))throw cs("error");b=this,c=a,cj(b._controlledTransformStream,c)}terminate(){var a;let b;if(!co(this))throw cs("terminate");a=this,bS((b=a._controlledTransformStream)._readable._readableStreamController),ck(b,TypeError("TransformStream terminated"))}}function co(a){return!!i(a)&&!!Object.prototype.hasOwnProperty.call(a,"_controlledTransformStream")&&a instanceof cn}function cp(a){a._transformAlgorithm=void 0,a._flushAlgorithm=void 0,a._cancelAlgorithm=void 0}function cq(a,b){let c=a._controlledTransformStream,d=c._readable._readableStreamController;if(!bW(d))throw TypeError("Readable side is not in a state that permits enqueue");try{bT(d,b)}catch(a){throw ck(c,a),c._readable._storedError}!bQ(d)!==c._backpressure&&cm(c,!0)}function cr(a,b){return p(a._transformAlgorithm(b),void 0,b=>{throw cj(a._controlledTransformStream,b),b})}function cs(a){return TypeError(`TransformStreamDefaultController.prototype.${a} can only be used on a TransformStreamDefaultController`)}function ct(a){void 0!==a._finishPromise_resolve&&(a._finishPromise_resolve(),a._finishPromise_resolve=void 0,a._finishPromise_reject=void 0)}function cu(a,b){void 0!==a._finishPromise_reject&&(s(a._finishPromise),a._finishPromise_reject(b),a._finishPromise_resolve=void 0,a._finishPromise_reject=void 0)}function cv(a){return TypeError(`TransformStream.prototype.${a} can only be used on a TransformStream`)}Object.defineProperties(cn.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),j(cn.prototype.enqueue,"enqueue"),j(cn.prototype.error,"error"),j(cn.prototype.terminate,"terminate"),"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(cn.prototype,Symbol.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),b.ByteLengthQueuingStrategy=ca,b.CountQueuingStrategy=ce,b.ReadableByteStreamController=au,b.ReadableStream=b$,b.ReadableStreamBYOBReader=a$,b.ReadableStreamBYOBRequest=at,b.ReadableStreamDefaultController=bN,b.ReadableStreamDefaultReader=Y,b.TransformStream=ch,b.TransformStreamDefaultController=cn,b.WritableStream=a8,b.WritableStreamDefaultController=br,b.WritableStreamDefaultWriter=bk}(c)},9033,(a,b,c)=>{if(!globalThis.ReadableStream)try{let b=a.r(59639),{emitWarning:c}=b;try{b.emitWarning=()=>{},Object.assign(globalThis,a.r(18352)),b.emitWarning=c}catch(a){throw b.emitWarning=c,a}}catch(b){Object.assign(globalThis,a.r(1944))}try{let{Blob:b}=a.r(874);b&&!b.prototype.stream&&(b.prototype.stream=function(a){let b=0,c=this;return new ReadableStream({type:"bytes",async pull(a){let d=c.slice(b,Math.min(c.size,b+65536)),e=await d.arrayBuffer();b+=e.byteLength,a.enqueue(new Uint8Array(e)),b===c.size&&a.close()}})})}catch(a){}},92030,29810,a=>{"use strict";async function*b(a,c=!0){for(let b of a)if("stream"in b)yield*b.stream();else if(ArrayBuffer.isView(b))if(c){let a=b.byteOffset,c=b.byteOffset+b.byteLength;for(;a!==c;){let d=Math.min(c-a,65536),e=b.buffer.slice(a,a+d);a+=e.byteLength,yield new Uint8Array(e)}}else yield b;else{let a=0;for(;a!==b.size;){let c=b.slice(a,Math.min(b.size,a+65536)),d=await c.arrayBuffer();a+=d.byteLength,yield new Uint8Array(d)}}}a.i(9033);let c=class a{#a=[];#b="";#c=0;#d="transparent";constructor(b=[],c={}){if("object"!=typeof b||null===b)throw TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if("function"!=typeof b[Symbol.iterator])throw TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if("object"!=typeof c&&"function"!=typeof c)throw TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");null===c&&(c={});const d=new TextEncoder;for(const c of b){let b;b=ArrayBuffer.isView(c)?new Uint8Array(c.buffer.slice(c.byteOffset,c.byteOffset+c.byteLength)):c instanceof ArrayBuffer?new Uint8Array(c.slice(0)):c instanceof a?c:d.encode(`${c}`),this.#c+=ArrayBuffer.isView(b)?b.byteLength:b.size,this.#a.push(b)}this.#d=`${void 0===c.endings?"transparent":c.endings}`;const e=void 0===c.type?"":String(c.type);this.#b=/^[\x20-\x7E]*$/.test(e)?e:""}get size(){return this.#c}get type(){return this.#b}async text(){let a=new TextDecoder,c="";for await(let d of b(this.#a,!1))c+=a.decode(d,{stream:!0});return c+a.decode()}async arrayBuffer(){let a=new Uint8Array(this.size),c=0;for await(let d of b(this.#a,!1))a.set(d,c),c+=d.length;return a.buffer}stream(){let a=b(this.#a,!0);return new globalThis.ReadableStream({type:"bytes",async pull(b){let c=await a.next();c.done?b.close():b.enqueue(c.value)},async cancel(){await a.return()}})}slice(b=0,c=this.size,d=""){let{size:e}=this,f=b<0?Math.max(e+b,0):Math.min(b,e),g=c<0?Math.max(e+c,0):Math.min(c,e),h=Math.max(g-f,0),i=this.#a,j=[],k=0;for(let a of i){if(k>=h)break;let b=ArrayBuffer.isView(a)?a.byteLength:a.size;if(f&&b<=f)f-=b,g-=b;else{let c;ArrayBuffer.isView(a)?k+=(c=a.subarray(f,Math.min(b,g))).byteLength:k+=(c=a.slice(f,Math.min(b,g))).size,g-=b,j.push(c),f=0}}let l=new a([],{type:String(d).toLowerCase()});return l.#c=h,l.#a=j,l}get[Symbol.toStringTag](){return"Blob"}static[Symbol.hasInstance](a){return a&&"object"==typeof a&&"function"==typeof a.constructor&&("function"==typeof a.stream||"function"==typeof a.arrayBuffer)&&/^(Blob|File)$/.test(a[Symbol.toStringTag])}};Object.defineProperties(c.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});let d=c;a.s(["default",0,d],29810);let e=class extends d{#e=0;#f="";constructor(a,b,c={}){if(arguments.length<2)throw TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);super(a,c),null===c&&(c={});const d=void 0===c.lastModified?Date.now():Number(c.lastModified);Number.isNaN(d)||(this.#e=d),this.#f=String(b)}get name(){return this.#f}get lastModified(){return this.#e}get[Symbol.toStringTag](){return"File"}static[Symbol.hasInstance](a){return!!a&&a instanceof d&&/^(File)$/.test(a[Symbol.toStringTag])}};a.s(["default",0,e],92030)},113,35319,a=>{"use strict";var b=a.i(2157),c=a.i(50227),d=a.i(50573),e=a.i(92030),f=a.i(29810);let{stat:g}=b.promises,h=(a,b,c="")=>new f.default([new j({path:b,size:a.size,lastModified:a.mtimeMs,start:0})],{type:c}),i=(a,b,d="")=>new e.default([new j({path:b,size:a.size,lastModified:a.mtimeMs,start:0})],(0,c.basename)(b),{type:d,lastModified:a.mtimeMs});class j{#g;#h;constructor(a){this.#g=a.path,this.#h=a.start,this.size=a.size,this.lastModified=a.lastModified}slice(a,b){return new j({path:this.#g,lastModified:this.lastModified,size:b-a,start:this.#h+a})}async *stream(){let{mtimeMs:a}=await g(this.#g);if(a>this.lastModified)throw new d.default("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.","NotReadableError");yield*(0,b.createReadStream)(this.#g,{start:this.#h,end:this.#h+this.size-1})}get[Symbol.toStringTag](){return"Blob"}}a.s(["blobFrom",0,(a,b)=>g(a).then(c=>h(c,a,b)),"blobFromSync",0,(a,c)=>h((0,b.statSync)(a),a,c),"fileFrom",0,(a,b)=>g(a).then(c=>i(c,a,b)),"fileFromSync",0,(a,c)=>i((0,b.statSync)(a),a,c)],113),a.s(["File",()=>e.default],35319)},98834,a=>{"use strict";var b=a.i(29810),c=a.i(92030),{toStringTag:d,iterator:e,hasInstance:f}=Symbol,g=Math.random,h="append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","),i=(a,b,e)=>(a+="",/^(Blob|File)$/.test(b&&b[d])?[(e=void 0!==e?e+"":"File"==b[d]?b.name:"blob",a),b.name!==e||"blob"==b[d]?new c.default([b],e,b):b]:[a,b+""]),j=(a,b)=>(b?a:a.replace(/\r?\n|\r/g,"\r\n")).replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),k=(a,b,c)=>{if(b.length<c)throw TypeError(`Failed to execute '${a}' on 'FormData': ${c} arguments required, but only ${b.length} present.`)};c.default;let l=class{#i=[];constructor(...a){if(a.length)throw TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.")}get[d](){return"FormData"}[e](){return this.entries()}static[f](a){return a&&"object"==typeof a&&"FormData"===a[d]&&!h.some(b=>"function"!=typeof a[b])}append(...a){k("append",arguments,2),this.#i.push(i(...a))}delete(a){k("delete",arguments,1),a+="",this.#i=this.#i.filter(([b])=>b!==a)}get(a){k("get",arguments,1),a+="";for(var b=this.#i,c=b.length,d=0;d<c;d++)if(b[d][0]===a)return b[d][1];return null}getAll(a,b){return k("getAll",arguments,1),b=[],a+="",this.#i.forEach(c=>c[0]===a&&b.push(c[1])),b}has(a){return k("has",arguments,1),a+="",this.#i.some(b=>b[0]===a)}forEach(a,b){for(var[c,d]of(k("forEach",arguments,1),this))a.call(b,d,c,this)}set(...a){k("set",arguments,2);var b=[],c=!0;a=i(...a),this.#i.forEach(d=>{d[0]===a[0]?c&&(c=!b.push(a)):b.push(d)}),c&&b.push(a),this.#i=b}*entries(){yield*this.#i}*keys(){for(var[a]of this)yield a}*values(){for(var[,a]of this)yield a}};a.s(["FormData",0,l,"formDataToBlob",0,function(a,c=b.default){var d=`${g()}${g()}`.replace(/\./g,"").slice(-28).padStart(32,"-"),e=[],f=`--${d}\r
|
|
2
|
-
Content-Disposition: form-data; name="`;return a.forEach((a,b)=>"string"==typeof a?e.push(f+j(b)+`"\r
|
|
3
|
-
\r
|
|
4
|
-
${a.replace(/\r(?!\n)|(?<!\r)\n/g,"\r\n")}\r
|
|
5
|
-
`):e.push(f+j(b)+`"; filename="${j(a.name,1)}"\r
|
|
6
|
-
Content-Type: ${a.type||"application/octet-stream"}\r
|
|
7
|
-
\r
|
|
8
|
-
`,a,"\r\n")),e.push(`--${d}--`),new c(e,{type:"multipart/form-data; boundary="+d})}])}];
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=node_modules_0el53_h._.js.map
|