@highstate/designer 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/BiOpBOhF.js +69 -0
- package/.output/public/_nuxt/Cbvq2xei.js +1 -0
- package/.output/public/_nuxt/DVgDGs8k.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/4e80df08-b017-4dd3-92a5-670b9c4b88d5.json +1 -0
- package/.output/public/_nuxt/entry.D7UJUp71.css +5 -0
- package/.output/public/_nuxt/error-404.SWzu_puR.css +1 -0
- package/.output/public/_nuxt/error-500.Bkv_zTjr.css +1 -0
- package/.output/public/_nuxt/rjBY3mWU.js +1 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/robots.txt +1 -0
- package/.output/server/chunks/_/error-500.mjs +8 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/build/client.manifest.mjs +85 -0
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
- package/.output/server/chunks/nitro/nitro.mjs +6161 -0
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -0
- package/.output/server/chunks/routes/api/_trpc_.mjs +1067 -0
- package/.output/server/chunks/routes/api/_trpc_.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +341 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +7 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/get-stream@5.2.0/buffer-stream.js +52 -0
- package/.output/server/node_modules/.nitro/get-stream@5.2.0/index.js +60 -0
- package/.output/server/node_modules/.nitro/get-stream@5.2.0/package.json +50 -0
- package/.output/server/node_modules/.nitro/get-stream@6.0.1/buffer-stream.js +52 -0
- package/.output/server/node_modules/.nitro/get-stream@6.0.1/index.js +61 -0
- package/.output/server/node_modules/.nitro/get-stream@6.0.1/package.json +47 -0
- package/.output/server/node_modules/.nitro/mimic-response@1.0.1/index.js +32 -0
- package/.output/server/node_modules/.nitro/mimic-response@1.0.1/package.json +37 -0
- package/.output/server/node_modules/.nitro/mimic-response@3.1.0/index.js +77 -0
- package/.output/server/node_modules/.nitro/mimic-response@3.1.0/package.json +42 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14027 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/admin.js +31 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js +174 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call-credentials.js +153 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call-interface.js +84 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call-number.js +25 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/call.js +136 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/certificate-provider.js +134 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-credentials.js +272 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channel-options.js +71 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channel.js +68 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/channelz.js +584 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js +428 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/client.js +433 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js +26 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/compression-filter.js +295 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/connectivity-state.js +28 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/constants.js +64 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/control-plane-status.js +43 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/deadline.js +109 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/duration.js +47 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/environment.js +22 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/error.js +41 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/experimental.js +52 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/filter-stack.js +82 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/filter.js +38 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/http_proxy.js +266 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/index.js +144 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/internal-channel.js +572 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js +153 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js +567 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js +482 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js +182 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancer.js +117 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js +294 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/logging.js +122 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/make-client.js +144 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/metadata.js +249 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/picker.js +86 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-dns.js +349 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-ip.js +105 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver-uds.js +51 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolver.js +88 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-call.js +305 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js +309 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/retrying-call.js +665 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server-call.js +202 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server-credentials.js +305 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server-interceptors.js +770 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/server.js +1569 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/service-config.js +431 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/status-builder.js +68 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/stream-decoder.js +100 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-address.js +202 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-call.js +526 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js +92 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js +137 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/subchannel.js +371 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/tls-helpers.js +34 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/transport.js +662 -0
- package/.output/server/node_modules/@grpc/grpc-js/build/src/uri-parser.js +126 -0
- package/.output/server/node_modules/@grpc/grpc-js/package.json +87 -0
- package/.output/server/node_modules/@grpc/grpc-js/proto/channelz.proto +564 -0
- package/.output/server/node_modules/@grpc/proto-loader/build/src/index.js +244 -0
- package/.output/server/node_modules/@grpc/proto-loader/build/src/util.js +89 -0
- package/.output/server/node_modules/@grpc/proto-loader/package.json +69 -0
- package/.output/server/node_modules/@js-sdsl/ordered-map/dist/cjs/index.js +795 -0
- package/.output/server/node_modules/@js-sdsl/ordered-map/package.json +138 -0
- package/.output/server/node_modules/@logdna/tail-file/index.js +3 -0
- package/.output/server/node_modules/@logdna/tail-file/lib/tail-file.js +326 -0
- package/.output/server/node_modules/@logdna/tail-file/package.json +162 -0
- package/.output/server/node_modules/@protobufjs/aspromise/index.js +52 -0
- package/.output/server/node_modules/@protobufjs/aspromise/package.json +21 -0
- package/.output/server/node_modules/@protobufjs/base64/index.js +139 -0
- package/.output/server/node_modules/@protobufjs/base64/package.json +21 -0
- package/.output/server/node_modules/@protobufjs/codegen/index.js +99 -0
- package/.output/server/node_modules/@protobufjs/codegen/package.json +13 -0
- package/.output/server/node_modules/@protobufjs/eventemitter/index.js +76 -0
- package/.output/server/node_modules/@protobufjs/eventemitter/package.json +21 -0
- package/.output/server/node_modules/@protobufjs/fetch/index.js +115 -0
- package/.output/server/node_modules/@protobufjs/fetch/package.json +25 -0
- package/.output/server/node_modules/@protobufjs/float/index.js +335 -0
- package/.output/server/node_modules/@protobufjs/float/package.json +26 -0
- package/.output/server/node_modules/@protobufjs/inquire/index.js +17 -0
- package/.output/server/node_modules/@protobufjs/inquire/package.json +21 -0
- package/.output/server/node_modules/@protobufjs/path/index.js +65 -0
- package/.output/server/node_modules/@protobufjs/path/package.json +21 -0
- package/.output/server/node_modules/@protobufjs/pool/index.js +48 -0
- package/.output/server/node_modules/@protobufjs/pool/package.json +21 -0
- package/.output/server/node_modules/@protobufjs/utf8/index.js +105 -0
- package/.output/server/node_modules/@protobufjs/utf8/package.json +21 -0
- package/.output/server/node_modules/@pulumi/pulumi/asset/archive.js +84 -0
- package/.output/server/node_modules/@pulumi/pulumi/asset/asset.js +84 -0
- package/.output/server/node_modules/@pulumi/pulumi/asset/index.js +21 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/cmd.js +270 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/errors.js +84 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/events.js +47 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/index.js +27 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/localWorkspace.js +1049 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/minimumVersion.js +28 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/remoteStack.js +130 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/remoteWorkspace.js +131 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/server.js +170 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/stack.js +991 -0
- package/.output/server/node_modules/@pulumi/pulumi/automation/stackSettings.js +24 -0
- package/.output/server/node_modules/@pulumi/pulumi/errors.js +126 -0
- package/.output/server/node_modules/@pulumi/pulumi/log/index.js +132 -0
- package/.output/server/node_modules/@pulumi/pulumi/metadata.js +46 -0
- package/.output/server/node_modules/@pulumi/pulumi/output.js +677 -0
- package/.output/server/node_modules/@pulumi/pulumi/package.json +93 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/alias_pb.js +631 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/callback_grpc_pb.js +61 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/callback_pb.js +582 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/codegen/hcl_pb.js +808 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/engine_grpc_pb.js +158 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/engine_pb.js +1058 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/language_grpc_pb.js +510 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/language_pb.js +7222 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/plugin_pb.js +1159 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/provider_pb.js +11300 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/resource_grpc_pb.js +310 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/resource_pb.js +7447 -0
- package/.output/server/node_modules/@pulumi/pulumi/proto/source_pb.js +230 -0
- package/.output/server/node_modules/@pulumi/pulumi/resource.js +774 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/asyncIterableUtil.js +103 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/callbacks.js +456 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/config.js +129 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/debuggable.js +137 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/dependsOn.js +64 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/invoke.js +498 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/resource.js +928 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/rpc.js +844 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/settings.js +551 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/stack.js +276 -0
- package/.output/server/node_modules/@pulumi/pulumi/runtime/state.js +187 -0
- package/.output/server/node_modules/@pulumi/pulumi/utils.js +89 -0
- package/.output/server/node_modules/@pulumi/pulumi/version.js +17 -0
- package/.output/server/node_modules/@pulumi/query/asyncQueryable.js +279 -0
- package/.output/server/node_modules/@pulumi/query/base.js +34 -0
- package/.output/server/node_modules/@pulumi/query/index.js +87 -0
- package/.output/server/node_modules/@pulumi/query/interfaces.js +24 -0
- package/.output/server/node_modules/@pulumi/query/operators.js +1269 -0
- package/.output/server/node_modules/@pulumi/query/package.json +22 -0
- package/.output/server/node_modules/@pulumi/query/sources.js +81 -0
- package/.output/server/node_modules/@pulumi/query/util.js +23 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/index.mjs +78 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +54 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +37 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +2 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +9 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +36 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +42 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +54 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +33 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +15 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +8 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +18 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +18 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +25 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +635 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +25 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +19 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +20 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +23 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +18 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +25 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +230 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +501 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +70 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +4 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +4 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +22 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +20 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +32 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +91 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +19 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +38 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +17 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +26 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +64 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +4 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +19 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +12 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +73 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +35 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +10 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +9 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +9 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +102 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +151 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +32 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +22 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +22 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +19 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +71 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +2 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +18 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +22 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +2 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +19 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +61 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +8 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +24 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +19 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +66 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +2 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +18 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +22 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +94 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +15 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +10 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +8 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +26 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +2 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +26 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +2 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +18 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +60 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +15 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +2 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +48 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +10 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +49 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +53 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +7 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +167 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +33 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +55 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +13 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +9 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +40 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +9 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +13 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +89 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +221 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +60 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +3 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +5 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +36 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +10 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +6 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +158 -0
- package/.output/server/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +1 -0
- package/.output/server/node_modules/@sinclair/typebox/package.json +106 -0
- package/.output/server/node_modules/@sindresorhus/is/dist/index.js +434 -0
- package/.output/server/node_modules/@sindresorhus/is/package.json +96 -0
- package/.output/server/node_modules/@szmarczak/http-timer/dist/source/index.js +126 -0
- package/.output/server/node_modules/@szmarczak/http-timer/package.json +72 -0
- package/.output/server/node_modules/@trpc/server/dist/http.mjs +7 -0
- package/.output/server/node_modules/@trpc/server/dist/index.mjs +11 -0
- package/.output/server/node_modules/@trpc/server/dist/observable/observable.mjs +175 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/createProxy.mjs +73 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/TRPCError.mjs +78 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/formatter.mjs +5 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/error/getErrorShape.mjs +29 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/contentType.mjs +224 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/contentTypeParsers.mjs +12 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/getHTTPStatusCode.mjs +76 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/isAbortError.mjs +7 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/parseConnectionParams.mjs +39 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/http/resolveResponse.mjs +569 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/initTRPC.mjs +80 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/middleware.mjs +90 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/parser.mjs +40 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs +194 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rootConfig.mjs +6 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs +176 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/rpc/codes.mjs +54 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/jsonl.mjs +631 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/sse.mjs +355 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/tracked.mjs +25 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/asyncIterable.mjs +167 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/createDeferred.mjs +15 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/disposable.mjs +41 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/readableStreamFrom.mjs +23 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/timerResource.mjs +23 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/stream/utils/withPing.mjs +127 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/transformer.mjs +101 -0
- package/.output/server/node_modules/@trpc/server/dist/unstable-core-do-not-import/utils.mjs +83 -0
- package/.output/server/node_modules/@trpc/server/dist/vendor/unpromise/unpromise.mjs +289 -0
- package/.output/server/node_modules/@trpc/server/package.json +156 -0
- package/.output/server/node_modules/@unhead/dom/dist/index.mjs +197 -0
- package/.output/server/node_modules/@unhead/dom/package.json +40 -0
- package/.output/server/node_modules/@unhead/shared/dist/index.mjs +731 -0
- package/.output/server/node_modules/@unhead/shared/package.json +47 -0
- package/.output/server/node_modules/@unhead/ssr/dist/index.mjs +95 -0
- package/.output/server/node_modules/@unhead/ssr/package.json +40 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6690 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +686 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1404 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1789 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6654 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1669 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +857 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +594 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/acorn/dist/acorn.mjs +6145 -0
- package/.output/server/node_modules/acorn/package.json +50 -0
- package/.output/server/node_modules/better-lock/dist/better_lock.js +377 -0
- package/.output/server/node_modules/better-lock/dist/errors.js +136 -0
- package/.output/server/node_modules/better-lock/dist/index.js +28 -0
- package/.output/server/node_modules/better-lock/dist/internals.js +75 -0
- package/.output/server/node_modules/better-lock/dist/tools.js +109 -0
- package/.output/server/node_modules/better-lock/package.json +60 -0
- package/.output/server/node_modules/cacheable-lookup/package.json +45 -0
- package/.output/server/node_modules/cacheable-lookup/source/index.js +436 -0
- package/.output/server/node_modules/cacheable-request/package.json +56 -0
- package/.output/server/node_modules/cacheable-request/src/index.js +251 -0
- package/.output/server/node_modules/clone-response/package.json +41 -0
- package/.output/server/node_modules/clone-response/src/index.js +17 -0
- package/.output/server/node_modules/confbox/dist/index.mjs +1 -0
- package/.output/server/node_modules/confbox/dist/json5.mjs +14 -0
- package/.output/server/node_modules/confbox/dist/shared/confbox.9388d834.mjs +1 -0
- package/.output/server/node_modules/confbox/dist/shared/confbox.f9f03f05.mjs +7 -0
- package/.output/server/node_modules/confbox/dist/toml.mjs +239 -0
- package/.output/server/node_modules/confbox/dist/yaml.mjs +32 -0
- package/.output/server/node_modules/confbox/package.json +86 -0
- package/.output/server/node_modules/consola/dist/core.mjs +410 -0
- package/.output/server/node_modules/consola/package.json +101 -0
- package/.output/server/node_modules/cross-spawn/index.js +39 -0
- package/.output/server/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/.output/server/node_modules/cross-spawn/lib/parse.js +91 -0
- package/.output/server/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/.output/server/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/.output/server/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/.output/server/node_modules/cross-spawn/package.json +73 -0
- package/.output/server/node_modules/decompress-response/index.js +58 -0
- package/.output/server/node_modules/decompress-response/package.json +56 -0
- package/.output/server/node_modules/defer-to-connect/dist/source/index.js +47 -0
- package/.output/server/node_modules/defer-to-connect/package.json +71 -0
- package/.output/server/node_modules/dettle/dist/debounce.js +91 -0
- package/.output/server/node_modules/dettle/dist/index.js +5 -0
- package/.output/server/node_modules/dettle/dist/throttle.js +12 -0
- package/.output/server/node_modules/dettle/package.json +28 -0
- package/.output/server/node_modules/devalue/index.js +3 -0
- package/.output/server/node_modules/devalue/package.json +34 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +6 -0
- package/.output/server/node_modules/devalue/src/parse.js +160 -0
- package/.output/server/node_modules/devalue/src/stringify.js +232 -0
- package/.output/server/node_modules/devalue/src/uneval.js +351 -0
- package/.output/server/node_modules/devalue/src/utils.js +113 -0
- package/.output/server/node_modules/dotenv/config.js +9 -0
- package/.output/server/node_modules/dotenv/lib/cli-options.js +11 -0
- package/.output/server/node_modules/dotenv/lib/env-options.js +24 -0
- package/.output/server/node_modules/dotenv/lib/main.js +361 -0
- package/.output/server/node_modules/dotenv/package.json +61 -0
- package/.output/server/node_modules/end-of-stream/index.js +94 -0
- package/.output/server/node_modules/end-of-stream/package.json +37 -0
- package/.output/server/node_modules/entities/lib/decode.js +536 -0
- package/.output/server/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/.output/server/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/.output/server/node_modules/entities/package.json +90 -0
- package/.output/server/node_modules/esprima/dist/esprima.js +6709 -0
- package/.output/server/node_modules/esprima/package.json +112 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/execa/index.js +268 -0
- package/.output/server/node_modules/execa/lib/command.js +52 -0
- package/.output/server/node_modules/execa/lib/error.js +88 -0
- package/.output/server/node_modules/execa/lib/kill.js +115 -0
- package/.output/server/node_modules/execa/lib/promise.js +46 -0
- package/.output/server/node_modules/execa/lib/stdio.js +52 -0
- package/.output/server/node_modules/execa/lib/stream.js +97 -0
- package/.output/server/node_modules/execa/package.json +74 -0
- package/.output/server/node_modules/google-protobuf/google/protobuf/empty_pb.js +147 -0
- package/.output/server/node_modules/google-protobuf/google/protobuf/struct_pb.js +955 -0
- package/.output/server/node_modules/google-protobuf/google-protobuf.js +149 -0
- package/.output/server/node_modules/google-protobuf/package.json +35 -0
- package/.output/server/node_modules/got/dist/source/as-promise/create-rejection.js +30 -0
- package/.output/server/node_modules/got/dist/source/as-promise/index.js +176 -0
- package/.output/server/node_modules/got/dist/source/as-promise/normalize-arguments.js +78 -0
- package/.output/server/node_modules/got/dist/source/as-promise/parse-body.js +25 -0
- package/.output/server/node_modules/got/dist/source/as-promise/types.js +42 -0
- package/.output/server/node_modules/got/dist/source/core/calculate-retry-delay.js +29 -0
- package/.output/server/node_modules/got/dist/source/core/index.js +1505 -0
- package/.output/server/node_modules/got/dist/source/core/utils/dns-ip-version.js +17 -0
- package/.output/server/node_modules/got/dist/source/core/utils/get-body-size.js +32 -0
- package/.output/server/node_modules/got/dist/source/core/utils/get-buffer.js +16 -0
- package/.output/server/node_modules/got/dist/source/core/utils/is-form-data.js +4 -0
- package/.output/server/node_modules/got/dist/source/core/utils/is-response-ok.js +8 -0
- package/.output/server/node_modules/got/dist/source/core/utils/options-to-url.js +53 -0
- package/.output/server/node_modules/got/dist/source/core/utils/proxy-events.js +17 -0
- package/.output/server/node_modules/got/dist/source/core/utils/timed-out.js +121 -0
- package/.output/server/node_modules/got/dist/source/core/utils/unhandle.js +22 -0
- package/.output/server/node_modules/got/dist/source/core/utils/url-to-options.js +24 -0
- package/.output/server/node_modules/got/dist/source/core/utils/weakable-map.js +29 -0
- package/.output/server/node_modules/got/dist/source/create.js +240 -0
- package/.output/server/node_modules/got/dist/source/index.js +132 -0
- package/.output/server/node_modules/got/dist/source/types.js +2 -0
- package/.output/server/node_modules/got/dist/source/utils/deep-freeze.js +12 -0
- package/.output/server/node_modules/got/dist/source/utils/deprecation-warning.js +13 -0
- package/.output/server/node_modules/got/package.json +131 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
- package/.output/server/node_modules/hookable/package.json +49 -0
- package/.output/server/node_modules/http-cache-semantics/index.js +674 -0
- package/.output/server/node_modules/http-cache-semantics/package.json +18 -0
- package/.output/server/node_modules/http2-wrapper/package.json +54 -0
- package/.output/server/node_modules/http2-wrapper/source/agent.js +670 -0
- package/.output/server/node_modules/http2-wrapper/source/auto.js +149 -0
- package/.output/server/node_modules/http2-wrapper/source/client-request.js +445 -0
- package/.output/server/node_modules/http2-wrapper/source/incoming-message.js +58 -0
- package/.output/server/node_modules/http2-wrapper/source/index.js +28 -0
- package/.output/server/node_modules/http2-wrapper/source/utils/calculate-server-name.js +27 -0
- package/.output/server/node_modules/http2-wrapper/source/utils/errors.js +45 -0
- package/.output/server/node_modules/http2-wrapper/source/utils/is-request-pseudo-header.js +13 -0
- package/.output/server/node_modules/http2-wrapper/source/utils/proxy-events.js +7 -0
- package/.output/server/node_modules/http2-wrapper/source/utils/url-to-options.js +25 -0
- package/.output/server/node_modules/human-signals/build/src/core.js +273 -0
- package/.output/server/node_modules/human-signals/build/src/main.js +71 -0
- package/.output/server/node_modules/human-signals/build/src/realtime.js +19 -0
- package/.output/server/node_modules/human-signals/build/src/signals.js +35 -0
- package/.output/server/node_modules/human-signals/package.json +64 -0
- package/.output/server/node_modules/import-meta-resolve/index.js +47 -0
- package/.output/server/node_modules/import-meta-resolve/lib/errors.js +507 -0
- package/.output/server/node_modules/import-meta-resolve/lib/get-format.js +159 -0
- package/.output/server/node_modules/import-meta-resolve/lib/package-json-reader.js +177 -0
- package/.output/server/node_modules/import-meta-resolve/lib/resolve.js +1297 -0
- package/.output/server/node_modules/import-meta-resolve/lib/utils.js +47 -0
- package/.output/server/node_modules/import-meta-resolve/package.json +95 -0
- package/.output/server/node_modules/is-stream/index.js +28 -0
- package/.output/server/node_modules/is-stream/package.json +42 -0
- package/.output/server/node_modules/isexe/index.js +57 -0
- package/.output/server/node_modules/isexe/mode.js +41 -0
- package/.output/server/node_modules/isexe/package.json +31 -0
- package/.output/server/node_modules/isexe/windows.js +42 -0
- package/.output/server/node_modules/js-yaml/index.js +7 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/common.js +59 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/dumper.js +850 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/exception.js +43 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/loader.js +1644 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/mark.js +76 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/core.js +18 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +25 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +28 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +17 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema/json.js +25 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/schema.js +108 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/binary.js +138 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/bool.js +35 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/float.js +116 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/int.js +173 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/function.js +93 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +60 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +28 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/map.js +8 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/merge.js +12 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/null.js +34 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/omap.js +44 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/pairs.js +53 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/seq.js +8 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/set.js +29 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/str.js +8 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +88 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml/type.js +61 -0
- package/.output/server/node_modules/js-yaml/lib/js-yaml.js +39 -0
- package/.output/server/node_modules/js-yaml/package.json +49 -0
- package/.output/server/node_modules/json-buffer/index.js +58 -0
- package/.output/server/node_modules/json-buffer/package.json +34 -0
- package/.output/server/node_modules/keyv/package.json +57 -0
- package/.output/server/node_modules/keyv/src/index.js +259 -0
- package/.output/server/node_modules/lodash.camelcase/index.js +599 -0
- package/.output/server/node_modules/lodash.camelcase/package.json +19 -0
- package/.output/server/node_modules/long/package.json +50 -0
- package/.output/server/node_modules/long/umd/index.js +1432 -0
- package/.output/server/node_modules/long/umd/package.json +3 -0
- package/.output/server/node_modules/lowercase-keys/index.js +10 -0
- package/.output/server/node_modules/lowercase-keys/package.json +38 -0
- package/.output/server/node_modules/merge-stream/index.js +41 -0
- package/.output/server/node_modules/merge-stream/package.json +19 -0
- package/.output/server/node_modules/mimic-fn/index.js +13 -0
- package/.output/server/node_modules/mimic-fn/package.json +42 -0
- package/.output/server/node_modules/mlly/dist/index.mjs +2606 -0
- package/.output/server/node_modules/mlly/package.json +50 -0
- package/.output/server/node_modules/normalize-url/index.js +216 -0
- package/.output/server/node_modules/normalize-url/package.json +50 -0
- package/.output/server/node_modules/npm-run-path/index.js +47 -0
- package/.output/server/node_modules/npm-run-path/package.json +44 -0
- package/.output/server/node_modules/nypm/dist/index.mjs +306 -0
- package/.output/server/node_modules/nypm/package.json +60 -0
- package/.output/server/node_modules/once/once.js +42 -0
- package/.output/server/node_modules/once/package.json +33 -0
- package/.output/server/node_modules/onetime/index.js +44 -0
- package/.output/server/node_modules/onetime/package.json +43 -0
- package/.output/server/node_modules/p-cancelable/index.js +111 -0
- package/.output/server/node_modules/p-cancelable/package.json +49 -0
- package/.output/server/node_modules/path-key/index.js +16 -0
- package/.output/server/node_modules/path-key/package.json +39 -0
- package/.output/server/node_modules/pathe/dist/index.mjs +1 -0
- package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
- package/.output/server/node_modules/pathe/package.json +48 -0
- package/.output/server/node_modules/pkg-types/dist/index.mjs +156 -0
- package/.output/server/node_modules/pkg-types/package.json +47 -0
- package/.output/server/node_modules/promise-make-counter/dist/index.js +24 -0
- package/.output/server/node_modules/promise-make-counter/package.json +32 -0
- package/.output/server/node_modules/promise-make-naked/dist/index.js +25 -0
- package/.output/server/node_modules/promise-make-naked/dist/utils.js +4 -0
- package/.output/server/node_modules/promise-make-naked/package.json +27 -0
- package/.output/server/node_modules/protobufjs/ext/descriptor/index.js +1052 -0
- package/.output/server/node_modules/protobufjs/google/protobuf/api.json +118 -0
- package/.output/server/node_modules/protobufjs/google/protobuf/descriptor.json +739 -0
- package/.output/server/node_modules/protobufjs/google/protobuf/source_context.json +20 -0
- package/.output/server/node_modules/protobufjs/google/protobuf/type.json +202 -0
- package/.output/server/node_modules/protobufjs/index.js +4 -0
- package/.output/server/node_modules/protobufjs/package.json +112 -0
- package/.output/server/node_modules/protobufjs/src/common.js +399 -0
- package/.output/server/node_modules/protobufjs/src/converter.js +301 -0
- package/.output/server/node_modules/protobufjs/src/decoder.js +129 -0
- package/.output/server/node_modules/protobufjs/src/encoder.js +100 -0
- package/.output/server/node_modules/protobufjs/src/enum.js +198 -0
- package/.output/server/node_modules/protobufjs/src/field.js +377 -0
- package/.output/server/node_modules/protobufjs/src/index-light.js +104 -0
- package/.output/server/node_modules/protobufjs/src/index-minimal.js +36 -0
- package/.output/server/node_modules/protobufjs/src/index.js +12 -0
- package/.output/server/node_modules/protobufjs/src/mapfield.js +126 -0
- package/.output/server/node_modules/protobufjs/src/message.js +139 -0
- package/.output/server/node_modules/protobufjs/src/method.js +160 -0
- package/.output/server/node_modules/protobufjs/src/namespace.js +433 -0
- package/.output/server/node_modules/protobufjs/src/object.js +243 -0
- package/.output/server/node_modules/protobufjs/src/oneof.js +203 -0
- package/.output/server/node_modules/protobufjs/src/parse.js +893 -0
- package/.output/server/node_modules/protobufjs/src/reader.js +416 -0
- package/.output/server/node_modules/protobufjs/src/reader_buffer.js +51 -0
- package/.output/server/node_modules/protobufjs/src/root.js +368 -0
- package/.output/server/node_modules/protobufjs/src/roots.js +18 -0
- package/.output/server/node_modules/protobufjs/src/rpc/service.js +142 -0
- package/.output/server/node_modules/protobufjs/src/rpc.js +36 -0
- package/.output/server/node_modules/protobufjs/src/service.js +167 -0
- package/.output/server/node_modules/protobufjs/src/tokenize.js +416 -0
- package/.output/server/node_modules/protobufjs/src/type.js +589 -0
- package/.output/server/node_modules/protobufjs/src/types.js +196 -0
- package/.output/server/node_modules/protobufjs/src/util/longbits.js +200 -0
- package/.output/server/node_modules/protobufjs/src/util/minimal.js +438 -0
- package/.output/server/node_modules/protobufjs/src/util.js +212 -0
- package/.output/server/node_modules/protobufjs/src/verifier.js +177 -0
- package/.output/server/node_modules/protobufjs/src/wrappers.js +102 -0
- package/.output/server/node_modules/protobufjs/src/writer.js +465 -0
- package/.output/server/node_modules/protobufjs/src/writer_buffer.js +85 -0
- package/.output/server/node_modules/pump/index.js +86 -0
- package/.output/server/node_modules/pump/package.json +24 -0
- package/.output/server/node_modules/quick-lru/index.js +123 -0
- package/.output/server/node_modules/quick-lru/package.json +43 -0
- package/.output/server/node_modules/remeda/dist/chunk-23J5WHPE.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-2H7222YL.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-2TTHCYUC.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-3AO76THC.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-3MWN2VHC.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-3X47EJDR.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-54BCGHSM.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-5DU4ITSF.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-5G3KY7YR.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-5K4XWC27.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-5LYW332I.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-5O3FBXU6.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-5VD5RID3.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-6GTAPB47.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-6HBEBUDI.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-6IHL7GXT.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-6MJCR2TC.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-73TZMTEA.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-7BKSRZNG.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-7EFS5WOU.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-7KI2QQIQ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-7LYAC624.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-7QX4DO53.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-7ROMSESG.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-A3FCILQE.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-ANXBDSUI.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-ATQJ6737.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-AWX7RJXY.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-BLEEZ23Z.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-BO3LQZNF.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-BONXESQ2.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-BQ7TSIFE.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-BTFWISLJ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-BYFE4FDX.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-BZNENX2T.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-C4ACUJGS.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-C4OSHTCI.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-C6IMN7SF.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-CAZXBO45.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-CETFG6TX.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-CGDTCOHY.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-CGU6DJQK.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-COZRMC32.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-DAHUGBAA.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-DAQH7UR3.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-DEVKGLTN.js +2 -0
- package/.output/server/node_modules/remeda/dist/chunk-DH3BPT6T.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-DSLWSGID.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-DUDVLQA2.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-E3EM3KJY.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-E5GMYZMA.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-EJCQEWX4.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-EKGXROMD.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-EM24PB7A.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-EMIEIAAH.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-ENOHV5LT.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-ENXBNJ36.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-F6MOVT3B.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-FB2ENREB.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-FDH4IRIM.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-FFFVS7XT.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-FJ47D26D.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-FMPZ2CLX.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-FTGV3QMT.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-FW6RZCGF.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-G4OU46SC.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-GJJNKHO2.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-GK5I7C4J.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-H2MMZB4H.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-HBSRBOZK.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-HJSE3ESO.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-HO4FFX2R.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-HQOQUMZV.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-HV3WACXG.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-I3D2BSWJ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-I76XIBD5.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-ICQWNDYD.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-IEE7G5JG.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-IFSMCGFE.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-IUVYQYF2.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-J3IRE4DI.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-JET27MOQ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-JJZ7E4YG.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-JK3VNB42.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-JWKJXNB2.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-JYNHUNML.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-K26VP6CL.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-K3UJMX27.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-K5HTIQFL.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-K5LCXBBG.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-KCAOR2LA.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-KIA3HX3M.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-KQINSXIJ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-KSDEFWLH.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-LAI77QME.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-LFEOZTJ2.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-LIVAT3FO.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-LKOWEUPS.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-MD7HNZ54.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-MQWMWXZY.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-N4JUOEMS.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-NGEN63UD.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-NJXNQM3G.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-NMC53JVB.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-NMJS7ULY.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-NP7PEDI6.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-OC26KGXM.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-OEI2BOBZ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-OIQJEOF7.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-OWH4IQQW.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-OYJAL6JK.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-PJOV2RDB.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-PULGOXDA.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-PWMUXL7T.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-PZOXR343.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-QEKOZYJ5.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-R72GEKLP.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RAAYCPUM.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RBODUO3Q.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RIKUOZVG.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RLZQTLGN.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RTWSSDNQ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RU7WR4KH.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RUHQUI2Z.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-RXDTYBQM.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-S23N53O3.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-S3CYJTB5.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-SFZGYJFI.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-SGAFZVQH.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-SIBGEYD6.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-SIQPZPLZ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-SOGKZP3K.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-T5XG33UI.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-TOHMEB3C.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-U2GFW3LV.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-U54ONDS6.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-U753ZCO5.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-UA6DVSZ3.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-UEZTW4YU.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-UIZMRUOL.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-UWLP4KOD.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-V6HCOU6T.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-VBBPTWMC.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-VCURCCIJ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-VCYTMP4D.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-VFKB5IBK.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-VFSOOVKJ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-VMV5GVZ5.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-VPCXVUT7.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-W2HQ33EO.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-W3QI2BKC.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-WIMS2EYK.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-WT5BLBHJ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-WY3JJUR4.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-WZSGNJRX.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-X5E5CJJQ.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-XBEN2OB2.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-XJHR6NID.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-XMLUDZIW.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-XSF7OVJO.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-XZ6COQKM.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-Y67GVJD3.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-YL2OFO3L.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-YVMG2XEU.js +1 -0
- package/.output/server/node_modules/remeda/dist/chunk-ZF7KX2VP.js +1 -0
- package/.output/server/node_modules/remeda/dist/index.js +1 -0
- package/.output/server/node_modules/remeda/package.json +88 -0
- package/.output/server/node_modules/resolve-alpn/index.js +43 -0
- package/.output/server/node_modules/resolve-alpn/package.json +34 -0
- package/.output/server/node_modules/responselike/package.json +39 -0
- package/.output/server/node_modules/responselike/src/index.js +34 -0
- package/.output/server/node_modules/semver/classes/comparator.js +141 -0
- package/.output/server/node_modules/semver/classes/range.js +554 -0
- package/.output/server/node_modules/semver/classes/semver.js +302 -0
- package/.output/server/node_modules/semver/functions/clean.js +6 -0
- package/.output/server/node_modules/semver/functions/cmp.js +52 -0
- package/.output/server/node_modules/semver/functions/coerce.js +60 -0
- package/.output/server/node_modules/semver/functions/compare-build.js +7 -0
- package/.output/server/node_modules/semver/functions/compare-loose.js +3 -0
- package/.output/server/node_modules/semver/functions/compare.js +5 -0
- package/.output/server/node_modules/semver/functions/diff.js +65 -0
- package/.output/server/node_modules/semver/functions/eq.js +3 -0
- package/.output/server/node_modules/semver/functions/gt.js +3 -0
- package/.output/server/node_modules/semver/functions/gte.js +3 -0
- package/.output/server/node_modules/semver/functions/inc.js +19 -0
- package/.output/server/node_modules/semver/functions/lt.js +3 -0
- package/.output/server/node_modules/semver/functions/lte.js +3 -0
- package/.output/server/node_modules/semver/functions/major.js +3 -0
- package/.output/server/node_modules/semver/functions/minor.js +3 -0
- package/.output/server/node_modules/semver/functions/neq.js +3 -0
- package/.output/server/node_modules/semver/functions/parse.js +16 -0
- package/.output/server/node_modules/semver/functions/patch.js +3 -0
- package/.output/server/node_modules/semver/functions/prerelease.js +6 -0
- package/.output/server/node_modules/semver/functions/rcompare.js +3 -0
- package/.output/server/node_modules/semver/functions/rsort.js +3 -0
- package/.output/server/node_modules/semver/functions/satisfies.js +10 -0
- package/.output/server/node_modules/semver/functions/sort.js +3 -0
- package/.output/server/node_modules/semver/functions/valid.js +6 -0
- package/.output/server/node_modules/semver/index.js +89 -0
- package/.output/server/node_modules/semver/internal/constants.js +35 -0
- package/.output/server/node_modules/semver/internal/debug.js +9 -0
- package/.output/server/node_modules/semver/internal/identifiers.js +23 -0
- package/.output/server/node_modules/semver/internal/lrucache.js +40 -0
- package/.output/server/node_modules/semver/internal/parse-options.js +15 -0
- package/.output/server/node_modules/semver/internal/re.js +217 -0
- package/.output/server/node_modules/semver/package.json +77 -0
- package/.output/server/node_modules/semver/preload.js +2 -0
- package/.output/server/node_modules/semver/ranges/gtr.js +4 -0
- package/.output/server/node_modules/semver/ranges/intersects.js +7 -0
- package/.output/server/node_modules/semver/ranges/ltr.js +4 -0
- package/.output/server/node_modules/semver/ranges/max-satisfying.js +25 -0
- package/.output/server/node_modules/semver/ranges/min-satisfying.js +24 -0
- package/.output/server/node_modules/semver/ranges/min-version.js +61 -0
- package/.output/server/node_modules/semver/ranges/outside.js +80 -0
- package/.output/server/node_modules/semver/ranges/simplify.js +47 -0
- package/.output/server/node_modules/semver/ranges/subset.js +247 -0
- package/.output/server/node_modules/semver/ranges/to-comparators.js +8 -0
- package/.output/server/node_modules/semver/ranges/valid.js +11 -0
- package/.output/server/node_modules/shebang-command/index.js +19 -0
- package/.output/server/node_modules/shebang-command/package.json +34 -0
- package/.output/server/node_modules/shebang-regex/index.js +2 -0
- package/.output/server/node_modules/shebang-regex/package.json +35 -0
- package/.output/server/node_modules/signal-exit/index.js +202 -0
- package/.output/server/node_modules/signal-exit/package.json +38 -0
- package/.output/server/node_modules/signal-exit/signals.js +53 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/strip-final-newline/index.js +16 -0
- package/.output/server/node_modules/strip-final-newline/package.json +40 -0
- package/.output/server/node_modules/stubborn-fs/dist/attemptify.js +19 -0
- package/.output/server/node_modules/stubborn-fs/dist/constants.js +8 -0
- package/.output/server/node_modules/stubborn-fs/dist/handlers.js +36 -0
- package/.output/server/node_modules/stubborn-fs/dist/index.js +53 -0
- package/.output/server/node_modules/stubborn-fs/dist/retryify.js +46 -0
- package/.output/server/node_modules/stubborn-fs/dist/retryify_queue.js +62 -0
- package/.output/server/node_modules/stubborn-fs/package.json +28 -0
- package/.output/server/node_modules/tiny-readdir/dist/constants.js +9 -0
- package/.output/server/node_modules/tiny-readdir/dist/index.js +185 -0
- package/.output/server/node_modules/tiny-readdir/dist/utils.js +9 -0
- package/.output/server/node_modules/tiny-readdir/package.json +34 -0
- package/.output/server/node_modules/tinyexec/dist/main.js +578 -0
- package/.output/server/node_modules/tinyexec/package.json +66 -0
- package/.output/server/node_modules/tmp/lib/tmp.js +784 -0
- package/.output/server/node_modules/tmp/package.json +56 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +630 -0
- package/.output/server/node_modules/ufo/package.json +47 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +748 -0
- package/.output/server/node_modules/unhead/package.json +46 -0
- package/.output/server/node_modules/upath/build/code/upath.js +171 -0
- package/.output/server/node_modules/upath/package.json +60 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +196 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +50 -0
- package/.output/server/node_modules/watcher/dist/constants.js +16 -0
- package/.output/server/node_modules/watcher/dist/enums.js +35 -0
- package/.output/server/node_modules/watcher/dist/lazy_map_set.js +81 -0
- package/.output/server/node_modules/watcher/dist/utils.js +120 -0
- package/.output/server/node_modules/watcher/dist/watcher.js +396 -0
- package/.output/server/node_modules/watcher/dist/watcher_handler.js +248 -0
- package/.output/server/node_modules/watcher/dist/watcher_locker.js +139 -0
- package/.output/server/node_modules/watcher/dist/watcher_locks_resolver.js +42 -0
- package/.output/server/node_modules/watcher/dist/watcher_poller.js +116 -0
- package/.output/server/node_modules/watcher/dist/watcher_stats.js +29 -0
- package/.output/server/node_modules/watcher/package.json +37 -0
- package/.output/server/node_modules/which/package.json +43 -0
- package/.output/server/node_modules/which/which.js +125 -0
- package/.output/server/node_modules/wrappy/package.json +29 -0
- package/.output/server/node_modules/wrappy/wrappy.js +33 -0
- package/.output/server/node_modules/zod/lib/index.mjs +4382 -0
- package/.output/server/node_modules/zod/package.json +122 -0
- package/.output/server/package.json +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,1789 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/reactivity v3.5.13
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/
|
|
6
|
+
'use strict';
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
9
|
+
|
|
10
|
+
var shared = require('@vue/shared');
|
|
11
|
+
|
|
12
|
+
let activeEffectScope;
|
|
13
|
+
class EffectScope {
|
|
14
|
+
constructor(detached = false) {
|
|
15
|
+
this.detached = detached;
|
|
16
|
+
/**
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
this._active = true;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
this.effects = [];
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
this.cleanups = [];
|
|
28
|
+
this._isPaused = false;
|
|
29
|
+
this.parent = activeEffectScope;
|
|
30
|
+
if (!detached && activeEffectScope) {
|
|
31
|
+
this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
|
|
32
|
+
this
|
|
33
|
+
) - 1;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
get active() {
|
|
37
|
+
return this._active;
|
|
38
|
+
}
|
|
39
|
+
pause() {
|
|
40
|
+
if (this._active) {
|
|
41
|
+
this._isPaused = true;
|
|
42
|
+
let i, l;
|
|
43
|
+
if (this.scopes) {
|
|
44
|
+
for (i = 0, l = this.scopes.length; i < l; i++) {
|
|
45
|
+
this.scopes[i].pause();
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
for (i = 0, l = this.effects.length; i < l; i++) {
|
|
49
|
+
this.effects[i].pause();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Resumes the effect scope, including all child scopes and effects.
|
|
55
|
+
*/
|
|
56
|
+
resume() {
|
|
57
|
+
if (this._active) {
|
|
58
|
+
if (this._isPaused) {
|
|
59
|
+
this._isPaused = false;
|
|
60
|
+
let i, l;
|
|
61
|
+
if (this.scopes) {
|
|
62
|
+
for (i = 0, l = this.scopes.length; i < l; i++) {
|
|
63
|
+
this.scopes[i].resume();
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
for (i = 0, l = this.effects.length; i < l; i++) {
|
|
67
|
+
this.effects[i].resume();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
run(fn) {
|
|
73
|
+
if (this._active) {
|
|
74
|
+
const currentEffectScope = activeEffectScope;
|
|
75
|
+
try {
|
|
76
|
+
activeEffectScope = this;
|
|
77
|
+
return fn();
|
|
78
|
+
} finally {
|
|
79
|
+
activeEffectScope = currentEffectScope;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* This should only be called on non-detached scopes
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
on() {
|
|
88
|
+
activeEffectScope = this;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* This should only be called on non-detached scopes
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
off() {
|
|
95
|
+
activeEffectScope = this.parent;
|
|
96
|
+
}
|
|
97
|
+
stop(fromParent) {
|
|
98
|
+
if (this._active) {
|
|
99
|
+
this._active = false;
|
|
100
|
+
let i, l;
|
|
101
|
+
for (i = 0, l = this.effects.length; i < l; i++) {
|
|
102
|
+
this.effects[i].stop();
|
|
103
|
+
}
|
|
104
|
+
this.effects.length = 0;
|
|
105
|
+
for (i = 0, l = this.cleanups.length; i < l; i++) {
|
|
106
|
+
this.cleanups[i]();
|
|
107
|
+
}
|
|
108
|
+
this.cleanups.length = 0;
|
|
109
|
+
if (this.scopes) {
|
|
110
|
+
for (i = 0, l = this.scopes.length; i < l; i++) {
|
|
111
|
+
this.scopes[i].stop(true);
|
|
112
|
+
}
|
|
113
|
+
this.scopes.length = 0;
|
|
114
|
+
}
|
|
115
|
+
if (!this.detached && this.parent && !fromParent) {
|
|
116
|
+
const last = this.parent.scopes.pop();
|
|
117
|
+
if (last && last !== this) {
|
|
118
|
+
this.parent.scopes[this.index] = last;
|
|
119
|
+
last.index = this.index;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
this.parent = void 0;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
function effectScope(detached) {
|
|
127
|
+
return new EffectScope(detached);
|
|
128
|
+
}
|
|
129
|
+
function getCurrentScope() {
|
|
130
|
+
return activeEffectScope;
|
|
131
|
+
}
|
|
132
|
+
function onScopeDispose(fn, failSilently = false) {
|
|
133
|
+
if (activeEffectScope) {
|
|
134
|
+
activeEffectScope.cleanups.push(fn);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
let activeSub;
|
|
139
|
+
const EffectFlags = {
|
|
140
|
+
"ACTIVE": 1,
|
|
141
|
+
"1": "ACTIVE",
|
|
142
|
+
"RUNNING": 2,
|
|
143
|
+
"2": "RUNNING",
|
|
144
|
+
"TRACKING": 4,
|
|
145
|
+
"4": "TRACKING",
|
|
146
|
+
"NOTIFIED": 8,
|
|
147
|
+
"8": "NOTIFIED",
|
|
148
|
+
"DIRTY": 16,
|
|
149
|
+
"16": "DIRTY",
|
|
150
|
+
"ALLOW_RECURSE": 32,
|
|
151
|
+
"32": "ALLOW_RECURSE",
|
|
152
|
+
"PAUSED": 64,
|
|
153
|
+
"64": "PAUSED"
|
|
154
|
+
};
|
|
155
|
+
const pausedQueueEffects = /* @__PURE__ */ new WeakSet();
|
|
156
|
+
class ReactiveEffect {
|
|
157
|
+
constructor(fn) {
|
|
158
|
+
this.fn = fn;
|
|
159
|
+
/**
|
|
160
|
+
* @internal
|
|
161
|
+
*/
|
|
162
|
+
this.deps = void 0;
|
|
163
|
+
/**
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
|
+
this.depsTail = void 0;
|
|
167
|
+
/**
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
this.flags = 1 | 4;
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
this.next = void 0;
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
this.cleanup = void 0;
|
|
179
|
+
this.scheduler = void 0;
|
|
180
|
+
if (activeEffectScope && activeEffectScope.active) {
|
|
181
|
+
activeEffectScope.effects.push(this);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
pause() {
|
|
185
|
+
this.flags |= 64;
|
|
186
|
+
}
|
|
187
|
+
resume() {
|
|
188
|
+
if (this.flags & 64) {
|
|
189
|
+
this.flags &= ~64;
|
|
190
|
+
if (pausedQueueEffects.has(this)) {
|
|
191
|
+
pausedQueueEffects.delete(this);
|
|
192
|
+
this.trigger();
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* @internal
|
|
198
|
+
*/
|
|
199
|
+
notify() {
|
|
200
|
+
if (this.flags & 2 && !(this.flags & 32)) {
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
if (!(this.flags & 8)) {
|
|
204
|
+
batch(this);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
run() {
|
|
208
|
+
if (!(this.flags & 1)) {
|
|
209
|
+
return this.fn();
|
|
210
|
+
}
|
|
211
|
+
this.flags |= 2;
|
|
212
|
+
cleanupEffect(this);
|
|
213
|
+
prepareDeps(this);
|
|
214
|
+
const prevEffect = activeSub;
|
|
215
|
+
const prevShouldTrack = shouldTrack;
|
|
216
|
+
activeSub = this;
|
|
217
|
+
shouldTrack = true;
|
|
218
|
+
try {
|
|
219
|
+
return this.fn();
|
|
220
|
+
} finally {
|
|
221
|
+
cleanupDeps(this);
|
|
222
|
+
activeSub = prevEffect;
|
|
223
|
+
shouldTrack = prevShouldTrack;
|
|
224
|
+
this.flags &= ~2;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
stop() {
|
|
228
|
+
if (this.flags & 1) {
|
|
229
|
+
for (let link = this.deps; link; link = link.nextDep) {
|
|
230
|
+
removeSub(link);
|
|
231
|
+
}
|
|
232
|
+
this.deps = this.depsTail = void 0;
|
|
233
|
+
cleanupEffect(this);
|
|
234
|
+
this.onStop && this.onStop();
|
|
235
|
+
this.flags &= ~1;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
trigger() {
|
|
239
|
+
if (this.flags & 64) {
|
|
240
|
+
pausedQueueEffects.add(this);
|
|
241
|
+
} else if (this.scheduler) {
|
|
242
|
+
this.scheduler();
|
|
243
|
+
} else {
|
|
244
|
+
this.runIfDirty();
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @internal
|
|
249
|
+
*/
|
|
250
|
+
runIfDirty() {
|
|
251
|
+
if (isDirty(this)) {
|
|
252
|
+
this.run();
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
get dirty() {
|
|
256
|
+
return isDirty(this);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
let batchDepth = 0;
|
|
260
|
+
let batchedSub;
|
|
261
|
+
let batchedComputed;
|
|
262
|
+
function batch(sub, isComputed = false) {
|
|
263
|
+
sub.flags |= 8;
|
|
264
|
+
if (isComputed) {
|
|
265
|
+
sub.next = batchedComputed;
|
|
266
|
+
batchedComputed = sub;
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
sub.next = batchedSub;
|
|
270
|
+
batchedSub = sub;
|
|
271
|
+
}
|
|
272
|
+
function startBatch() {
|
|
273
|
+
batchDepth++;
|
|
274
|
+
}
|
|
275
|
+
function endBatch() {
|
|
276
|
+
if (--batchDepth > 0) {
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
if (batchedComputed) {
|
|
280
|
+
let e = batchedComputed;
|
|
281
|
+
batchedComputed = void 0;
|
|
282
|
+
while (e) {
|
|
283
|
+
const next = e.next;
|
|
284
|
+
e.next = void 0;
|
|
285
|
+
e.flags &= ~8;
|
|
286
|
+
e = next;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
let error;
|
|
290
|
+
while (batchedSub) {
|
|
291
|
+
let e = batchedSub;
|
|
292
|
+
batchedSub = void 0;
|
|
293
|
+
while (e) {
|
|
294
|
+
const next = e.next;
|
|
295
|
+
e.next = void 0;
|
|
296
|
+
e.flags &= ~8;
|
|
297
|
+
if (e.flags & 1) {
|
|
298
|
+
try {
|
|
299
|
+
;
|
|
300
|
+
e.trigger();
|
|
301
|
+
} catch (err) {
|
|
302
|
+
if (!error) error = err;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
e = next;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
if (error) throw error;
|
|
309
|
+
}
|
|
310
|
+
function prepareDeps(sub) {
|
|
311
|
+
for (let link = sub.deps; link; link = link.nextDep) {
|
|
312
|
+
link.version = -1;
|
|
313
|
+
link.prevActiveLink = link.dep.activeLink;
|
|
314
|
+
link.dep.activeLink = link;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
function cleanupDeps(sub) {
|
|
318
|
+
let head;
|
|
319
|
+
let tail = sub.depsTail;
|
|
320
|
+
let link = tail;
|
|
321
|
+
while (link) {
|
|
322
|
+
const prev = link.prevDep;
|
|
323
|
+
if (link.version === -1) {
|
|
324
|
+
if (link === tail) tail = prev;
|
|
325
|
+
removeSub(link);
|
|
326
|
+
removeDep(link);
|
|
327
|
+
} else {
|
|
328
|
+
head = link;
|
|
329
|
+
}
|
|
330
|
+
link.dep.activeLink = link.prevActiveLink;
|
|
331
|
+
link.prevActiveLink = void 0;
|
|
332
|
+
link = prev;
|
|
333
|
+
}
|
|
334
|
+
sub.deps = head;
|
|
335
|
+
sub.depsTail = tail;
|
|
336
|
+
}
|
|
337
|
+
function isDirty(sub) {
|
|
338
|
+
for (let link = sub.deps; link; link = link.nextDep) {
|
|
339
|
+
if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) {
|
|
340
|
+
return true;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
if (sub._dirty) {
|
|
344
|
+
return true;
|
|
345
|
+
}
|
|
346
|
+
return false;
|
|
347
|
+
}
|
|
348
|
+
function refreshComputed(computed) {
|
|
349
|
+
if (computed.flags & 4 && !(computed.flags & 16)) {
|
|
350
|
+
return;
|
|
351
|
+
}
|
|
352
|
+
computed.flags &= ~16;
|
|
353
|
+
if (computed.globalVersion === globalVersion) {
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
computed.globalVersion = globalVersion;
|
|
357
|
+
const dep = computed.dep;
|
|
358
|
+
computed.flags |= 2;
|
|
359
|
+
if (dep.version > 0 && !computed.isSSR && computed.deps && !isDirty(computed)) {
|
|
360
|
+
computed.flags &= ~2;
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
const prevSub = activeSub;
|
|
364
|
+
const prevShouldTrack = shouldTrack;
|
|
365
|
+
activeSub = computed;
|
|
366
|
+
shouldTrack = true;
|
|
367
|
+
try {
|
|
368
|
+
prepareDeps(computed);
|
|
369
|
+
const value = computed.fn(computed._value);
|
|
370
|
+
if (dep.version === 0 || shared.hasChanged(value, computed._value)) {
|
|
371
|
+
computed._value = value;
|
|
372
|
+
dep.version++;
|
|
373
|
+
}
|
|
374
|
+
} catch (err) {
|
|
375
|
+
dep.version++;
|
|
376
|
+
throw err;
|
|
377
|
+
} finally {
|
|
378
|
+
activeSub = prevSub;
|
|
379
|
+
shouldTrack = prevShouldTrack;
|
|
380
|
+
cleanupDeps(computed);
|
|
381
|
+
computed.flags &= ~2;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
function removeSub(link, soft = false) {
|
|
385
|
+
const { dep, prevSub, nextSub } = link;
|
|
386
|
+
if (prevSub) {
|
|
387
|
+
prevSub.nextSub = nextSub;
|
|
388
|
+
link.prevSub = void 0;
|
|
389
|
+
}
|
|
390
|
+
if (nextSub) {
|
|
391
|
+
nextSub.prevSub = prevSub;
|
|
392
|
+
link.nextSub = void 0;
|
|
393
|
+
}
|
|
394
|
+
if (dep.subs === link) {
|
|
395
|
+
dep.subs = prevSub;
|
|
396
|
+
if (!prevSub && dep.computed) {
|
|
397
|
+
dep.computed.flags &= ~4;
|
|
398
|
+
for (let l = dep.computed.deps; l; l = l.nextDep) {
|
|
399
|
+
removeSub(l, true);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
if (!soft && !--dep.sc && dep.map) {
|
|
404
|
+
dep.map.delete(dep.key);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
function removeDep(link) {
|
|
408
|
+
const { prevDep, nextDep } = link;
|
|
409
|
+
if (prevDep) {
|
|
410
|
+
prevDep.nextDep = nextDep;
|
|
411
|
+
link.prevDep = void 0;
|
|
412
|
+
}
|
|
413
|
+
if (nextDep) {
|
|
414
|
+
nextDep.prevDep = prevDep;
|
|
415
|
+
link.nextDep = void 0;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
function effect(fn, options) {
|
|
419
|
+
if (fn.effect instanceof ReactiveEffect) {
|
|
420
|
+
fn = fn.effect.fn;
|
|
421
|
+
}
|
|
422
|
+
const e = new ReactiveEffect(fn);
|
|
423
|
+
if (options) {
|
|
424
|
+
shared.extend(e, options);
|
|
425
|
+
}
|
|
426
|
+
try {
|
|
427
|
+
e.run();
|
|
428
|
+
} catch (err) {
|
|
429
|
+
e.stop();
|
|
430
|
+
throw err;
|
|
431
|
+
}
|
|
432
|
+
const runner = e.run.bind(e);
|
|
433
|
+
runner.effect = e;
|
|
434
|
+
return runner;
|
|
435
|
+
}
|
|
436
|
+
function stop(runner) {
|
|
437
|
+
runner.effect.stop();
|
|
438
|
+
}
|
|
439
|
+
let shouldTrack = true;
|
|
440
|
+
const trackStack = [];
|
|
441
|
+
function pauseTracking() {
|
|
442
|
+
trackStack.push(shouldTrack);
|
|
443
|
+
shouldTrack = false;
|
|
444
|
+
}
|
|
445
|
+
function enableTracking() {
|
|
446
|
+
trackStack.push(shouldTrack);
|
|
447
|
+
shouldTrack = true;
|
|
448
|
+
}
|
|
449
|
+
function resetTracking() {
|
|
450
|
+
const last = trackStack.pop();
|
|
451
|
+
shouldTrack = last === void 0 ? true : last;
|
|
452
|
+
}
|
|
453
|
+
function onEffectCleanup(fn, failSilently = false) {
|
|
454
|
+
if (activeSub instanceof ReactiveEffect) {
|
|
455
|
+
activeSub.cleanup = fn;
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
function cleanupEffect(e) {
|
|
459
|
+
const { cleanup } = e;
|
|
460
|
+
e.cleanup = void 0;
|
|
461
|
+
if (cleanup) {
|
|
462
|
+
const prevSub = activeSub;
|
|
463
|
+
activeSub = void 0;
|
|
464
|
+
try {
|
|
465
|
+
cleanup();
|
|
466
|
+
} finally {
|
|
467
|
+
activeSub = prevSub;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
let globalVersion = 0;
|
|
473
|
+
class Link {
|
|
474
|
+
constructor(sub, dep) {
|
|
475
|
+
this.sub = sub;
|
|
476
|
+
this.dep = dep;
|
|
477
|
+
this.version = dep.version;
|
|
478
|
+
this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
class Dep {
|
|
482
|
+
constructor(computed) {
|
|
483
|
+
this.computed = computed;
|
|
484
|
+
this.version = 0;
|
|
485
|
+
/**
|
|
486
|
+
* Link between this dep and the current active effect
|
|
487
|
+
*/
|
|
488
|
+
this.activeLink = void 0;
|
|
489
|
+
/**
|
|
490
|
+
* Doubly linked list representing the subscribing effects (tail)
|
|
491
|
+
*/
|
|
492
|
+
this.subs = void 0;
|
|
493
|
+
/**
|
|
494
|
+
* For object property deps cleanup
|
|
495
|
+
*/
|
|
496
|
+
this.map = void 0;
|
|
497
|
+
this.key = void 0;
|
|
498
|
+
/**
|
|
499
|
+
* Subscriber counter
|
|
500
|
+
*/
|
|
501
|
+
this.sc = 0;
|
|
502
|
+
}
|
|
503
|
+
track(debugInfo) {
|
|
504
|
+
if (!activeSub || !shouldTrack || activeSub === this.computed) {
|
|
505
|
+
return;
|
|
506
|
+
}
|
|
507
|
+
let link = this.activeLink;
|
|
508
|
+
if (link === void 0 || link.sub !== activeSub) {
|
|
509
|
+
link = this.activeLink = new Link(activeSub, this);
|
|
510
|
+
if (!activeSub.deps) {
|
|
511
|
+
activeSub.deps = activeSub.depsTail = link;
|
|
512
|
+
} else {
|
|
513
|
+
link.prevDep = activeSub.depsTail;
|
|
514
|
+
activeSub.depsTail.nextDep = link;
|
|
515
|
+
activeSub.depsTail = link;
|
|
516
|
+
}
|
|
517
|
+
addSub(link);
|
|
518
|
+
} else if (link.version === -1) {
|
|
519
|
+
link.version = this.version;
|
|
520
|
+
if (link.nextDep) {
|
|
521
|
+
const next = link.nextDep;
|
|
522
|
+
next.prevDep = link.prevDep;
|
|
523
|
+
if (link.prevDep) {
|
|
524
|
+
link.prevDep.nextDep = next;
|
|
525
|
+
}
|
|
526
|
+
link.prevDep = activeSub.depsTail;
|
|
527
|
+
link.nextDep = void 0;
|
|
528
|
+
activeSub.depsTail.nextDep = link;
|
|
529
|
+
activeSub.depsTail = link;
|
|
530
|
+
if (activeSub.deps === link) {
|
|
531
|
+
activeSub.deps = next;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
return link;
|
|
536
|
+
}
|
|
537
|
+
trigger(debugInfo) {
|
|
538
|
+
this.version++;
|
|
539
|
+
globalVersion++;
|
|
540
|
+
this.notify(debugInfo);
|
|
541
|
+
}
|
|
542
|
+
notify(debugInfo) {
|
|
543
|
+
startBatch();
|
|
544
|
+
try {
|
|
545
|
+
if (false) ;
|
|
546
|
+
for (let link = this.subs; link; link = link.prevSub) {
|
|
547
|
+
if (link.sub.notify()) {
|
|
548
|
+
;
|
|
549
|
+
link.sub.dep.notify();
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
} finally {
|
|
553
|
+
endBatch();
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
function addSub(link) {
|
|
558
|
+
link.dep.sc++;
|
|
559
|
+
if (link.sub.flags & 4) {
|
|
560
|
+
const computed = link.dep.computed;
|
|
561
|
+
if (computed && !link.dep.subs) {
|
|
562
|
+
computed.flags |= 4 | 16;
|
|
563
|
+
for (let l = computed.deps; l; l = l.nextDep) {
|
|
564
|
+
addSub(l);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
const currentTail = link.dep.subs;
|
|
568
|
+
if (currentTail !== link) {
|
|
569
|
+
link.prevSub = currentTail;
|
|
570
|
+
if (currentTail) currentTail.nextSub = link;
|
|
571
|
+
}
|
|
572
|
+
link.dep.subs = link;
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
const targetMap = /* @__PURE__ */ new WeakMap();
|
|
576
|
+
const ITERATE_KEY = Symbol(
|
|
577
|
+
""
|
|
578
|
+
);
|
|
579
|
+
const MAP_KEY_ITERATE_KEY = Symbol(
|
|
580
|
+
""
|
|
581
|
+
);
|
|
582
|
+
const ARRAY_ITERATE_KEY = Symbol(
|
|
583
|
+
""
|
|
584
|
+
);
|
|
585
|
+
function track(target, type, key) {
|
|
586
|
+
if (shouldTrack && activeSub) {
|
|
587
|
+
let depsMap = targetMap.get(target);
|
|
588
|
+
if (!depsMap) {
|
|
589
|
+
targetMap.set(target, depsMap = /* @__PURE__ */ new Map());
|
|
590
|
+
}
|
|
591
|
+
let dep = depsMap.get(key);
|
|
592
|
+
if (!dep) {
|
|
593
|
+
depsMap.set(key, dep = new Dep());
|
|
594
|
+
dep.map = depsMap;
|
|
595
|
+
dep.key = key;
|
|
596
|
+
}
|
|
597
|
+
{
|
|
598
|
+
dep.track();
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
function trigger(target, type, key, newValue, oldValue, oldTarget) {
|
|
603
|
+
const depsMap = targetMap.get(target);
|
|
604
|
+
if (!depsMap) {
|
|
605
|
+
globalVersion++;
|
|
606
|
+
return;
|
|
607
|
+
}
|
|
608
|
+
const run = (dep) => {
|
|
609
|
+
if (dep) {
|
|
610
|
+
{
|
|
611
|
+
dep.trigger();
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
};
|
|
615
|
+
startBatch();
|
|
616
|
+
if (type === "clear") {
|
|
617
|
+
depsMap.forEach(run);
|
|
618
|
+
} else {
|
|
619
|
+
const targetIsArray = shared.isArray(target);
|
|
620
|
+
const isArrayIndex = targetIsArray && shared.isIntegerKey(key);
|
|
621
|
+
if (targetIsArray && key === "length") {
|
|
622
|
+
const newLength = Number(newValue);
|
|
623
|
+
depsMap.forEach((dep, key2) => {
|
|
624
|
+
if (key2 === "length" || key2 === ARRAY_ITERATE_KEY || !shared.isSymbol(key2) && key2 >= newLength) {
|
|
625
|
+
run(dep);
|
|
626
|
+
}
|
|
627
|
+
});
|
|
628
|
+
} else {
|
|
629
|
+
if (key !== void 0 || depsMap.has(void 0)) {
|
|
630
|
+
run(depsMap.get(key));
|
|
631
|
+
}
|
|
632
|
+
if (isArrayIndex) {
|
|
633
|
+
run(depsMap.get(ARRAY_ITERATE_KEY));
|
|
634
|
+
}
|
|
635
|
+
switch (type) {
|
|
636
|
+
case "add":
|
|
637
|
+
if (!targetIsArray) {
|
|
638
|
+
run(depsMap.get(ITERATE_KEY));
|
|
639
|
+
if (shared.isMap(target)) {
|
|
640
|
+
run(depsMap.get(MAP_KEY_ITERATE_KEY));
|
|
641
|
+
}
|
|
642
|
+
} else if (isArrayIndex) {
|
|
643
|
+
run(depsMap.get("length"));
|
|
644
|
+
}
|
|
645
|
+
break;
|
|
646
|
+
case "delete":
|
|
647
|
+
if (!targetIsArray) {
|
|
648
|
+
run(depsMap.get(ITERATE_KEY));
|
|
649
|
+
if (shared.isMap(target)) {
|
|
650
|
+
run(depsMap.get(MAP_KEY_ITERATE_KEY));
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
break;
|
|
654
|
+
case "set":
|
|
655
|
+
if (shared.isMap(target)) {
|
|
656
|
+
run(depsMap.get(ITERATE_KEY));
|
|
657
|
+
}
|
|
658
|
+
break;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
endBatch();
|
|
663
|
+
}
|
|
664
|
+
function getDepFromReactive(object, key) {
|
|
665
|
+
const depMap = targetMap.get(object);
|
|
666
|
+
return depMap && depMap.get(key);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
function reactiveReadArray(array) {
|
|
670
|
+
const raw = toRaw(array);
|
|
671
|
+
if (raw === array) return raw;
|
|
672
|
+
track(raw, "iterate", ARRAY_ITERATE_KEY);
|
|
673
|
+
return isShallow(array) ? raw : raw.map(toReactive);
|
|
674
|
+
}
|
|
675
|
+
function shallowReadArray(arr) {
|
|
676
|
+
track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
|
|
677
|
+
return arr;
|
|
678
|
+
}
|
|
679
|
+
const arrayInstrumentations = {
|
|
680
|
+
__proto__: null,
|
|
681
|
+
[Symbol.iterator]() {
|
|
682
|
+
return iterator(this, Symbol.iterator, toReactive);
|
|
683
|
+
},
|
|
684
|
+
concat(...args) {
|
|
685
|
+
return reactiveReadArray(this).concat(
|
|
686
|
+
...args.map((x) => shared.isArray(x) ? reactiveReadArray(x) : x)
|
|
687
|
+
);
|
|
688
|
+
},
|
|
689
|
+
entries() {
|
|
690
|
+
return iterator(this, "entries", (value) => {
|
|
691
|
+
value[1] = toReactive(value[1]);
|
|
692
|
+
return value;
|
|
693
|
+
});
|
|
694
|
+
},
|
|
695
|
+
every(fn, thisArg) {
|
|
696
|
+
return apply(this, "every", fn, thisArg, void 0, arguments);
|
|
697
|
+
},
|
|
698
|
+
filter(fn, thisArg) {
|
|
699
|
+
return apply(this, "filter", fn, thisArg, (v) => v.map(toReactive), arguments);
|
|
700
|
+
},
|
|
701
|
+
find(fn, thisArg) {
|
|
702
|
+
return apply(this, "find", fn, thisArg, toReactive, arguments);
|
|
703
|
+
},
|
|
704
|
+
findIndex(fn, thisArg) {
|
|
705
|
+
return apply(this, "findIndex", fn, thisArg, void 0, arguments);
|
|
706
|
+
},
|
|
707
|
+
findLast(fn, thisArg) {
|
|
708
|
+
return apply(this, "findLast", fn, thisArg, toReactive, arguments);
|
|
709
|
+
},
|
|
710
|
+
findLastIndex(fn, thisArg) {
|
|
711
|
+
return apply(this, "findLastIndex", fn, thisArg, void 0, arguments);
|
|
712
|
+
},
|
|
713
|
+
// flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
|
|
714
|
+
forEach(fn, thisArg) {
|
|
715
|
+
return apply(this, "forEach", fn, thisArg, void 0, arguments);
|
|
716
|
+
},
|
|
717
|
+
includes(...args) {
|
|
718
|
+
return searchProxy(this, "includes", args);
|
|
719
|
+
},
|
|
720
|
+
indexOf(...args) {
|
|
721
|
+
return searchProxy(this, "indexOf", args);
|
|
722
|
+
},
|
|
723
|
+
join(separator) {
|
|
724
|
+
return reactiveReadArray(this).join(separator);
|
|
725
|
+
},
|
|
726
|
+
// keys() iterator only reads `length`, no optimisation required
|
|
727
|
+
lastIndexOf(...args) {
|
|
728
|
+
return searchProxy(this, "lastIndexOf", args);
|
|
729
|
+
},
|
|
730
|
+
map(fn, thisArg) {
|
|
731
|
+
return apply(this, "map", fn, thisArg, void 0, arguments);
|
|
732
|
+
},
|
|
733
|
+
pop() {
|
|
734
|
+
return noTracking(this, "pop");
|
|
735
|
+
},
|
|
736
|
+
push(...args) {
|
|
737
|
+
return noTracking(this, "push", args);
|
|
738
|
+
},
|
|
739
|
+
reduce(fn, ...args) {
|
|
740
|
+
return reduce(this, "reduce", fn, args);
|
|
741
|
+
},
|
|
742
|
+
reduceRight(fn, ...args) {
|
|
743
|
+
return reduce(this, "reduceRight", fn, args);
|
|
744
|
+
},
|
|
745
|
+
shift() {
|
|
746
|
+
return noTracking(this, "shift");
|
|
747
|
+
},
|
|
748
|
+
// slice could use ARRAY_ITERATE but also seems to beg for range tracking
|
|
749
|
+
some(fn, thisArg) {
|
|
750
|
+
return apply(this, "some", fn, thisArg, void 0, arguments);
|
|
751
|
+
},
|
|
752
|
+
splice(...args) {
|
|
753
|
+
return noTracking(this, "splice", args);
|
|
754
|
+
},
|
|
755
|
+
toReversed() {
|
|
756
|
+
return reactiveReadArray(this).toReversed();
|
|
757
|
+
},
|
|
758
|
+
toSorted(comparer) {
|
|
759
|
+
return reactiveReadArray(this).toSorted(comparer);
|
|
760
|
+
},
|
|
761
|
+
toSpliced(...args) {
|
|
762
|
+
return reactiveReadArray(this).toSpliced(...args);
|
|
763
|
+
},
|
|
764
|
+
unshift(...args) {
|
|
765
|
+
return noTracking(this, "unshift", args);
|
|
766
|
+
},
|
|
767
|
+
values() {
|
|
768
|
+
return iterator(this, "values", toReactive);
|
|
769
|
+
}
|
|
770
|
+
};
|
|
771
|
+
function iterator(self, method, wrapValue) {
|
|
772
|
+
const arr = shallowReadArray(self);
|
|
773
|
+
const iter = arr[method]();
|
|
774
|
+
if (arr !== self && !isShallow(self)) {
|
|
775
|
+
iter._next = iter.next;
|
|
776
|
+
iter.next = () => {
|
|
777
|
+
const result = iter._next();
|
|
778
|
+
if (result.value) {
|
|
779
|
+
result.value = wrapValue(result.value);
|
|
780
|
+
}
|
|
781
|
+
return result;
|
|
782
|
+
};
|
|
783
|
+
}
|
|
784
|
+
return iter;
|
|
785
|
+
}
|
|
786
|
+
const arrayProto = Array.prototype;
|
|
787
|
+
function apply(self, method, fn, thisArg, wrappedRetFn, args) {
|
|
788
|
+
const arr = shallowReadArray(self);
|
|
789
|
+
const needsWrap = arr !== self && !isShallow(self);
|
|
790
|
+
const methodFn = arr[method];
|
|
791
|
+
if (methodFn !== arrayProto[method]) {
|
|
792
|
+
const result2 = methodFn.apply(self, args);
|
|
793
|
+
return needsWrap ? toReactive(result2) : result2;
|
|
794
|
+
}
|
|
795
|
+
let wrappedFn = fn;
|
|
796
|
+
if (arr !== self) {
|
|
797
|
+
if (needsWrap) {
|
|
798
|
+
wrappedFn = function(item, index) {
|
|
799
|
+
return fn.call(this, toReactive(item), index, self);
|
|
800
|
+
};
|
|
801
|
+
} else if (fn.length > 2) {
|
|
802
|
+
wrappedFn = function(item, index) {
|
|
803
|
+
return fn.call(this, item, index, self);
|
|
804
|
+
};
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
const result = methodFn.call(arr, wrappedFn, thisArg);
|
|
808
|
+
return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result;
|
|
809
|
+
}
|
|
810
|
+
function reduce(self, method, fn, args) {
|
|
811
|
+
const arr = shallowReadArray(self);
|
|
812
|
+
let wrappedFn = fn;
|
|
813
|
+
if (arr !== self) {
|
|
814
|
+
if (!isShallow(self)) {
|
|
815
|
+
wrappedFn = function(acc, item, index) {
|
|
816
|
+
return fn.call(this, acc, toReactive(item), index, self);
|
|
817
|
+
};
|
|
818
|
+
} else if (fn.length > 3) {
|
|
819
|
+
wrappedFn = function(acc, item, index) {
|
|
820
|
+
return fn.call(this, acc, item, index, self);
|
|
821
|
+
};
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
return arr[method](wrappedFn, ...args);
|
|
825
|
+
}
|
|
826
|
+
function searchProxy(self, method, args) {
|
|
827
|
+
const arr = toRaw(self);
|
|
828
|
+
track(arr, "iterate", ARRAY_ITERATE_KEY);
|
|
829
|
+
const res = arr[method](...args);
|
|
830
|
+
if ((res === -1 || res === false) && isProxy(args[0])) {
|
|
831
|
+
args[0] = toRaw(args[0]);
|
|
832
|
+
return arr[method](...args);
|
|
833
|
+
}
|
|
834
|
+
return res;
|
|
835
|
+
}
|
|
836
|
+
function noTracking(self, method, args = []) {
|
|
837
|
+
pauseTracking();
|
|
838
|
+
startBatch();
|
|
839
|
+
const res = toRaw(self)[method].apply(self, args);
|
|
840
|
+
endBatch();
|
|
841
|
+
resetTracking();
|
|
842
|
+
return res;
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
const isNonTrackableKeys = /* @__PURE__ */ shared.makeMap(`__proto__,__v_isRef,__isVue`);
|
|
846
|
+
const builtInSymbols = new Set(
|
|
847
|
+
/* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(shared.isSymbol)
|
|
848
|
+
);
|
|
849
|
+
function hasOwnProperty(key) {
|
|
850
|
+
if (!shared.isSymbol(key)) key = String(key);
|
|
851
|
+
const obj = toRaw(this);
|
|
852
|
+
track(obj, "has", key);
|
|
853
|
+
return obj.hasOwnProperty(key);
|
|
854
|
+
}
|
|
855
|
+
class BaseReactiveHandler {
|
|
856
|
+
constructor(_isReadonly = false, _isShallow = false) {
|
|
857
|
+
this._isReadonly = _isReadonly;
|
|
858
|
+
this._isShallow = _isShallow;
|
|
859
|
+
}
|
|
860
|
+
get(target, key, receiver) {
|
|
861
|
+
if (key === "__v_skip") return target["__v_skip"];
|
|
862
|
+
const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;
|
|
863
|
+
if (key === "__v_isReactive") {
|
|
864
|
+
return !isReadonly2;
|
|
865
|
+
} else if (key === "__v_isReadonly") {
|
|
866
|
+
return isReadonly2;
|
|
867
|
+
} else if (key === "__v_isShallow") {
|
|
868
|
+
return isShallow2;
|
|
869
|
+
} else if (key === "__v_raw") {
|
|
870
|
+
if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype
|
|
871
|
+
// this means the receiver is a user proxy of the reactive proxy
|
|
872
|
+
Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {
|
|
873
|
+
return target;
|
|
874
|
+
}
|
|
875
|
+
return;
|
|
876
|
+
}
|
|
877
|
+
const targetIsArray = shared.isArray(target);
|
|
878
|
+
if (!isReadonly2) {
|
|
879
|
+
let fn;
|
|
880
|
+
if (targetIsArray && (fn = arrayInstrumentations[key])) {
|
|
881
|
+
return fn;
|
|
882
|
+
}
|
|
883
|
+
if (key === "hasOwnProperty") {
|
|
884
|
+
return hasOwnProperty;
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
const res = Reflect.get(
|
|
888
|
+
target,
|
|
889
|
+
key,
|
|
890
|
+
// if this is a proxy wrapping a ref, return methods using the raw ref
|
|
891
|
+
// as receiver so that we don't have to call `toRaw` on the ref in all
|
|
892
|
+
// its class methods
|
|
893
|
+
isRef(target) ? target : receiver
|
|
894
|
+
);
|
|
895
|
+
if (shared.isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
|
|
896
|
+
return res;
|
|
897
|
+
}
|
|
898
|
+
if (!isReadonly2) {
|
|
899
|
+
track(target, "get", key);
|
|
900
|
+
}
|
|
901
|
+
if (isShallow2) {
|
|
902
|
+
return res;
|
|
903
|
+
}
|
|
904
|
+
if (isRef(res)) {
|
|
905
|
+
return targetIsArray && shared.isIntegerKey(key) ? res : res.value;
|
|
906
|
+
}
|
|
907
|
+
if (shared.isObject(res)) {
|
|
908
|
+
return isReadonly2 ? readonly(res) : reactive(res);
|
|
909
|
+
}
|
|
910
|
+
return res;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
class MutableReactiveHandler extends BaseReactiveHandler {
|
|
914
|
+
constructor(isShallow2 = false) {
|
|
915
|
+
super(false, isShallow2);
|
|
916
|
+
}
|
|
917
|
+
set(target, key, value, receiver) {
|
|
918
|
+
let oldValue = target[key];
|
|
919
|
+
if (!this._isShallow) {
|
|
920
|
+
const isOldValueReadonly = isReadonly(oldValue);
|
|
921
|
+
if (!isShallow(value) && !isReadonly(value)) {
|
|
922
|
+
oldValue = toRaw(oldValue);
|
|
923
|
+
value = toRaw(value);
|
|
924
|
+
}
|
|
925
|
+
if (!shared.isArray(target) && isRef(oldValue) && !isRef(value)) {
|
|
926
|
+
if (isOldValueReadonly) {
|
|
927
|
+
return false;
|
|
928
|
+
} else {
|
|
929
|
+
oldValue.value = value;
|
|
930
|
+
return true;
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
const hadKey = shared.isArray(target) && shared.isIntegerKey(key) ? Number(key) < target.length : shared.hasOwn(target, key);
|
|
935
|
+
const result = Reflect.set(
|
|
936
|
+
target,
|
|
937
|
+
key,
|
|
938
|
+
value,
|
|
939
|
+
isRef(target) ? target : receiver
|
|
940
|
+
);
|
|
941
|
+
if (target === toRaw(receiver)) {
|
|
942
|
+
if (!hadKey) {
|
|
943
|
+
trigger(target, "add", key, value);
|
|
944
|
+
} else if (shared.hasChanged(value, oldValue)) {
|
|
945
|
+
trigger(target, "set", key, value);
|
|
946
|
+
}
|
|
947
|
+
}
|
|
948
|
+
return result;
|
|
949
|
+
}
|
|
950
|
+
deleteProperty(target, key) {
|
|
951
|
+
const hadKey = shared.hasOwn(target, key);
|
|
952
|
+
target[key];
|
|
953
|
+
const result = Reflect.deleteProperty(target, key);
|
|
954
|
+
if (result && hadKey) {
|
|
955
|
+
trigger(target, "delete", key, void 0);
|
|
956
|
+
}
|
|
957
|
+
return result;
|
|
958
|
+
}
|
|
959
|
+
has(target, key) {
|
|
960
|
+
const result = Reflect.has(target, key);
|
|
961
|
+
if (!shared.isSymbol(key) || !builtInSymbols.has(key)) {
|
|
962
|
+
track(target, "has", key);
|
|
963
|
+
}
|
|
964
|
+
return result;
|
|
965
|
+
}
|
|
966
|
+
ownKeys(target) {
|
|
967
|
+
track(
|
|
968
|
+
target,
|
|
969
|
+
"iterate",
|
|
970
|
+
shared.isArray(target) ? "length" : ITERATE_KEY
|
|
971
|
+
);
|
|
972
|
+
return Reflect.ownKeys(target);
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
class ReadonlyReactiveHandler extends BaseReactiveHandler {
|
|
976
|
+
constructor(isShallow2 = false) {
|
|
977
|
+
super(true, isShallow2);
|
|
978
|
+
}
|
|
979
|
+
set(target, key) {
|
|
980
|
+
return true;
|
|
981
|
+
}
|
|
982
|
+
deleteProperty(target, key) {
|
|
983
|
+
return true;
|
|
984
|
+
}
|
|
985
|
+
}
|
|
986
|
+
const mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();
|
|
987
|
+
const readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
|
|
988
|
+
const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
|
|
989
|
+
const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
|
|
990
|
+
|
|
991
|
+
const toShallow = (value) => value;
|
|
992
|
+
const getProto = (v) => Reflect.getPrototypeOf(v);
|
|
993
|
+
function createIterableMethod(method, isReadonly2, isShallow2) {
|
|
994
|
+
return function(...args) {
|
|
995
|
+
const target = this["__v_raw"];
|
|
996
|
+
const rawTarget = toRaw(target);
|
|
997
|
+
const targetIsMap = shared.isMap(rawTarget);
|
|
998
|
+
const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
|
|
999
|
+
const isKeyOnly = method === "keys" && targetIsMap;
|
|
1000
|
+
const innerIterator = target[method](...args);
|
|
1001
|
+
const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
|
|
1002
|
+
!isReadonly2 && track(
|
|
1003
|
+
rawTarget,
|
|
1004
|
+
"iterate",
|
|
1005
|
+
isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY
|
|
1006
|
+
);
|
|
1007
|
+
return {
|
|
1008
|
+
// iterator protocol
|
|
1009
|
+
next() {
|
|
1010
|
+
const { value, done } = innerIterator.next();
|
|
1011
|
+
return done ? { value, done } : {
|
|
1012
|
+
value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
|
|
1013
|
+
done
|
|
1014
|
+
};
|
|
1015
|
+
},
|
|
1016
|
+
// iterable protocol
|
|
1017
|
+
[Symbol.iterator]() {
|
|
1018
|
+
return this;
|
|
1019
|
+
}
|
|
1020
|
+
};
|
|
1021
|
+
};
|
|
1022
|
+
}
|
|
1023
|
+
function createReadonlyMethod(type) {
|
|
1024
|
+
return function(...args) {
|
|
1025
|
+
return type === "delete" ? false : type === "clear" ? void 0 : this;
|
|
1026
|
+
};
|
|
1027
|
+
}
|
|
1028
|
+
function createInstrumentations(readonly, shallow) {
|
|
1029
|
+
const instrumentations = {
|
|
1030
|
+
get(key) {
|
|
1031
|
+
const target = this["__v_raw"];
|
|
1032
|
+
const rawTarget = toRaw(target);
|
|
1033
|
+
const rawKey = toRaw(key);
|
|
1034
|
+
if (!readonly) {
|
|
1035
|
+
if (shared.hasChanged(key, rawKey)) {
|
|
1036
|
+
track(rawTarget, "get", key);
|
|
1037
|
+
}
|
|
1038
|
+
track(rawTarget, "get", rawKey);
|
|
1039
|
+
}
|
|
1040
|
+
const { has } = getProto(rawTarget);
|
|
1041
|
+
const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
|
|
1042
|
+
if (has.call(rawTarget, key)) {
|
|
1043
|
+
return wrap(target.get(key));
|
|
1044
|
+
} else if (has.call(rawTarget, rawKey)) {
|
|
1045
|
+
return wrap(target.get(rawKey));
|
|
1046
|
+
} else if (target !== rawTarget) {
|
|
1047
|
+
target.get(key);
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
get size() {
|
|
1051
|
+
const target = this["__v_raw"];
|
|
1052
|
+
!readonly && track(toRaw(target), "iterate", ITERATE_KEY);
|
|
1053
|
+
return Reflect.get(target, "size", target);
|
|
1054
|
+
},
|
|
1055
|
+
has(key) {
|
|
1056
|
+
const target = this["__v_raw"];
|
|
1057
|
+
const rawTarget = toRaw(target);
|
|
1058
|
+
const rawKey = toRaw(key);
|
|
1059
|
+
if (!readonly) {
|
|
1060
|
+
if (shared.hasChanged(key, rawKey)) {
|
|
1061
|
+
track(rawTarget, "has", key);
|
|
1062
|
+
}
|
|
1063
|
+
track(rawTarget, "has", rawKey);
|
|
1064
|
+
}
|
|
1065
|
+
return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
|
|
1066
|
+
},
|
|
1067
|
+
forEach(callback, thisArg) {
|
|
1068
|
+
const observed = this;
|
|
1069
|
+
const target = observed["__v_raw"];
|
|
1070
|
+
const rawTarget = toRaw(target);
|
|
1071
|
+
const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
|
|
1072
|
+
!readonly && track(rawTarget, "iterate", ITERATE_KEY);
|
|
1073
|
+
return target.forEach((value, key) => {
|
|
1074
|
+
return callback.call(thisArg, wrap(value), wrap(key), observed);
|
|
1075
|
+
});
|
|
1076
|
+
}
|
|
1077
|
+
};
|
|
1078
|
+
shared.extend(
|
|
1079
|
+
instrumentations,
|
|
1080
|
+
readonly ? {
|
|
1081
|
+
add: createReadonlyMethod("add"),
|
|
1082
|
+
set: createReadonlyMethod("set"),
|
|
1083
|
+
delete: createReadonlyMethod("delete"),
|
|
1084
|
+
clear: createReadonlyMethod("clear")
|
|
1085
|
+
} : {
|
|
1086
|
+
add(value) {
|
|
1087
|
+
if (!shallow && !isShallow(value) && !isReadonly(value)) {
|
|
1088
|
+
value = toRaw(value);
|
|
1089
|
+
}
|
|
1090
|
+
const target = toRaw(this);
|
|
1091
|
+
const proto = getProto(target);
|
|
1092
|
+
const hadKey = proto.has.call(target, value);
|
|
1093
|
+
if (!hadKey) {
|
|
1094
|
+
target.add(value);
|
|
1095
|
+
trigger(target, "add", value, value);
|
|
1096
|
+
}
|
|
1097
|
+
return this;
|
|
1098
|
+
},
|
|
1099
|
+
set(key, value) {
|
|
1100
|
+
if (!shallow && !isShallow(value) && !isReadonly(value)) {
|
|
1101
|
+
value = toRaw(value);
|
|
1102
|
+
}
|
|
1103
|
+
const target = toRaw(this);
|
|
1104
|
+
const { has, get } = getProto(target);
|
|
1105
|
+
let hadKey = has.call(target, key);
|
|
1106
|
+
if (!hadKey) {
|
|
1107
|
+
key = toRaw(key);
|
|
1108
|
+
hadKey = has.call(target, key);
|
|
1109
|
+
}
|
|
1110
|
+
const oldValue = get.call(target, key);
|
|
1111
|
+
target.set(key, value);
|
|
1112
|
+
if (!hadKey) {
|
|
1113
|
+
trigger(target, "add", key, value);
|
|
1114
|
+
} else if (shared.hasChanged(value, oldValue)) {
|
|
1115
|
+
trigger(target, "set", key, value);
|
|
1116
|
+
}
|
|
1117
|
+
return this;
|
|
1118
|
+
},
|
|
1119
|
+
delete(key) {
|
|
1120
|
+
const target = toRaw(this);
|
|
1121
|
+
const { has, get } = getProto(target);
|
|
1122
|
+
let hadKey = has.call(target, key);
|
|
1123
|
+
if (!hadKey) {
|
|
1124
|
+
key = toRaw(key);
|
|
1125
|
+
hadKey = has.call(target, key);
|
|
1126
|
+
}
|
|
1127
|
+
get ? get.call(target, key) : void 0;
|
|
1128
|
+
const result = target.delete(key);
|
|
1129
|
+
if (hadKey) {
|
|
1130
|
+
trigger(target, "delete", key, void 0);
|
|
1131
|
+
}
|
|
1132
|
+
return result;
|
|
1133
|
+
},
|
|
1134
|
+
clear() {
|
|
1135
|
+
const target = toRaw(this);
|
|
1136
|
+
const hadItems = target.size !== 0;
|
|
1137
|
+
const result = target.clear();
|
|
1138
|
+
if (hadItems) {
|
|
1139
|
+
trigger(
|
|
1140
|
+
target,
|
|
1141
|
+
"clear",
|
|
1142
|
+
void 0,
|
|
1143
|
+
void 0);
|
|
1144
|
+
}
|
|
1145
|
+
return result;
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
);
|
|
1149
|
+
const iteratorMethods = [
|
|
1150
|
+
"keys",
|
|
1151
|
+
"values",
|
|
1152
|
+
"entries",
|
|
1153
|
+
Symbol.iterator
|
|
1154
|
+
];
|
|
1155
|
+
iteratorMethods.forEach((method) => {
|
|
1156
|
+
instrumentations[method] = createIterableMethod(method, readonly, shallow);
|
|
1157
|
+
});
|
|
1158
|
+
return instrumentations;
|
|
1159
|
+
}
|
|
1160
|
+
function createInstrumentationGetter(isReadonly2, shallow) {
|
|
1161
|
+
const instrumentations = createInstrumentations(isReadonly2, shallow);
|
|
1162
|
+
return (target, key, receiver) => {
|
|
1163
|
+
if (key === "__v_isReactive") {
|
|
1164
|
+
return !isReadonly2;
|
|
1165
|
+
} else if (key === "__v_isReadonly") {
|
|
1166
|
+
return isReadonly2;
|
|
1167
|
+
} else if (key === "__v_raw") {
|
|
1168
|
+
return target;
|
|
1169
|
+
}
|
|
1170
|
+
return Reflect.get(
|
|
1171
|
+
shared.hasOwn(instrumentations, key) && key in target ? instrumentations : target,
|
|
1172
|
+
key,
|
|
1173
|
+
receiver
|
|
1174
|
+
);
|
|
1175
|
+
};
|
|
1176
|
+
}
|
|
1177
|
+
const mutableCollectionHandlers = {
|
|
1178
|
+
get: /* @__PURE__ */ createInstrumentationGetter(false, false)
|
|
1179
|
+
};
|
|
1180
|
+
const shallowCollectionHandlers = {
|
|
1181
|
+
get: /* @__PURE__ */ createInstrumentationGetter(false, true)
|
|
1182
|
+
};
|
|
1183
|
+
const readonlyCollectionHandlers = {
|
|
1184
|
+
get: /* @__PURE__ */ createInstrumentationGetter(true, false)
|
|
1185
|
+
};
|
|
1186
|
+
const shallowReadonlyCollectionHandlers = {
|
|
1187
|
+
get: /* @__PURE__ */ createInstrumentationGetter(true, true)
|
|
1188
|
+
};
|
|
1189
|
+
|
|
1190
|
+
const reactiveMap = /* @__PURE__ */ new WeakMap();
|
|
1191
|
+
const shallowReactiveMap = /* @__PURE__ */ new WeakMap();
|
|
1192
|
+
const readonlyMap = /* @__PURE__ */ new WeakMap();
|
|
1193
|
+
const shallowReadonlyMap = /* @__PURE__ */ new WeakMap();
|
|
1194
|
+
function targetTypeMap(rawType) {
|
|
1195
|
+
switch (rawType) {
|
|
1196
|
+
case "Object":
|
|
1197
|
+
case "Array":
|
|
1198
|
+
return 1 /* COMMON */;
|
|
1199
|
+
case "Map":
|
|
1200
|
+
case "Set":
|
|
1201
|
+
case "WeakMap":
|
|
1202
|
+
case "WeakSet":
|
|
1203
|
+
return 2 /* COLLECTION */;
|
|
1204
|
+
default:
|
|
1205
|
+
return 0 /* INVALID */;
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
function getTargetType(value) {
|
|
1209
|
+
return value["__v_skip"] || !Object.isExtensible(value) ? 0 /* INVALID */ : targetTypeMap(shared.toRawType(value));
|
|
1210
|
+
}
|
|
1211
|
+
function reactive(target) {
|
|
1212
|
+
if (isReadonly(target)) {
|
|
1213
|
+
return target;
|
|
1214
|
+
}
|
|
1215
|
+
return createReactiveObject(
|
|
1216
|
+
target,
|
|
1217
|
+
false,
|
|
1218
|
+
mutableHandlers,
|
|
1219
|
+
mutableCollectionHandlers,
|
|
1220
|
+
reactiveMap
|
|
1221
|
+
);
|
|
1222
|
+
}
|
|
1223
|
+
function shallowReactive(target) {
|
|
1224
|
+
return createReactiveObject(
|
|
1225
|
+
target,
|
|
1226
|
+
false,
|
|
1227
|
+
shallowReactiveHandlers,
|
|
1228
|
+
shallowCollectionHandlers,
|
|
1229
|
+
shallowReactiveMap
|
|
1230
|
+
);
|
|
1231
|
+
}
|
|
1232
|
+
function readonly(target) {
|
|
1233
|
+
return createReactiveObject(
|
|
1234
|
+
target,
|
|
1235
|
+
true,
|
|
1236
|
+
readonlyHandlers,
|
|
1237
|
+
readonlyCollectionHandlers,
|
|
1238
|
+
readonlyMap
|
|
1239
|
+
);
|
|
1240
|
+
}
|
|
1241
|
+
function shallowReadonly(target) {
|
|
1242
|
+
return createReactiveObject(
|
|
1243
|
+
target,
|
|
1244
|
+
true,
|
|
1245
|
+
shallowReadonlyHandlers,
|
|
1246
|
+
shallowReadonlyCollectionHandlers,
|
|
1247
|
+
shallowReadonlyMap
|
|
1248
|
+
);
|
|
1249
|
+
}
|
|
1250
|
+
function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
|
|
1251
|
+
if (!shared.isObject(target)) {
|
|
1252
|
+
return target;
|
|
1253
|
+
}
|
|
1254
|
+
if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
|
|
1255
|
+
return target;
|
|
1256
|
+
}
|
|
1257
|
+
const existingProxy = proxyMap.get(target);
|
|
1258
|
+
if (existingProxy) {
|
|
1259
|
+
return existingProxy;
|
|
1260
|
+
}
|
|
1261
|
+
const targetType = getTargetType(target);
|
|
1262
|
+
if (targetType === 0 /* INVALID */) {
|
|
1263
|
+
return target;
|
|
1264
|
+
}
|
|
1265
|
+
const proxy = new Proxy(
|
|
1266
|
+
target,
|
|
1267
|
+
targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers
|
|
1268
|
+
);
|
|
1269
|
+
proxyMap.set(target, proxy);
|
|
1270
|
+
return proxy;
|
|
1271
|
+
}
|
|
1272
|
+
function isReactive(value) {
|
|
1273
|
+
if (isReadonly(value)) {
|
|
1274
|
+
return isReactive(value["__v_raw"]);
|
|
1275
|
+
}
|
|
1276
|
+
return !!(value && value["__v_isReactive"]);
|
|
1277
|
+
}
|
|
1278
|
+
function isReadonly(value) {
|
|
1279
|
+
return !!(value && value["__v_isReadonly"]);
|
|
1280
|
+
}
|
|
1281
|
+
function isShallow(value) {
|
|
1282
|
+
return !!(value && value["__v_isShallow"]);
|
|
1283
|
+
}
|
|
1284
|
+
function isProxy(value) {
|
|
1285
|
+
return value ? !!value["__v_raw"] : false;
|
|
1286
|
+
}
|
|
1287
|
+
function toRaw(observed) {
|
|
1288
|
+
const raw = observed && observed["__v_raw"];
|
|
1289
|
+
return raw ? toRaw(raw) : observed;
|
|
1290
|
+
}
|
|
1291
|
+
function markRaw(value) {
|
|
1292
|
+
if (!shared.hasOwn(value, "__v_skip") && Object.isExtensible(value)) {
|
|
1293
|
+
shared.def(value, "__v_skip", true);
|
|
1294
|
+
}
|
|
1295
|
+
return value;
|
|
1296
|
+
}
|
|
1297
|
+
const toReactive = (value) => shared.isObject(value) ? reactive(value) : value;
|
|
1298
|
+
const toReadonly = (value) => shared.isObject(value) ? readonly(value) : value;
|
|
1299
|
+
|
|
1300
|
+
function isRef(r) {
|
|
1301
|
+
return r ? r["__v_isRef"] === true : false;
|
|
1302
|
+
}
|
|
1303
|
+
function ref(value) {
|
|
1304
|
+
return createRef(value, false);
|
|
1305
|
+
}
|
|
1306
|
+
function shallowRef(value) {
|
|
1307
|
+
return createRef(value, true);
|
|
1308
|
+
}
|
|
1309
|
+
function createRef(rawValue, shallow) {
|
|
1310
|
+
if (isRef(rawValue)) {
|
|
1311
|
+
return rawValue;
|
|
1312
|
+
}
|
|
1313
|
+
return new RefImpl(rawValue, shallow);
|
|
1314
|
+
}
|
|
1315
|
+
class RefImpl {
|
|
1316
|
+
constructor(value, isShallow2) {
|
|
1317
|
+
this.dep = new Dep();
|
|
1318
|
+
this["__v_isRef"] = true;
|
|
1319
|
+
this["__v_isShallow"] = false;
|
|
1320
|
+
this._rawValue = isShallow2 ? value : toRaw(value);
|
|
1321
|
+
this._value = isShallow2 ? value : toReactive(value);
|
|
1322
|
+
this["__v_isShallow"] = isShallow2;
|
|
1323
|
+
}
|
|
1324
|
+
get value() {
|
|
1325
|
+
{
|
|
1326
|
+
this.dep.track();
|
|
1327
|
+
}
|
|
1328
|
+
return this._value;
|
|
1329
|
+
}
|
|
1330
|
+
set value(newValue) {
|
|
1331
|
+
const oldValue = this._rawValue;
|
|
1332
|
+
const useDirectValue = this["__v_isShallow"] || isShallow(newValue) || isReadonly(newValue);
|
|
1333
|
+
newValue = useDirectValue ? newValue : toRaw(newValue);
|
|
1334
|
+
if (shared.hasChanged(newValue, oldValue)) {
|
|
1335
|
+
this._rawValue = newValue;
|
|
1336
|
+
this._value = useDirectValue ? newValue : toReactive(newValue);
|
|
1337
|
+
{
|
|
1338
|
+
this.dep.trigger();
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
function triggerRef(ref2) {
|
|
1344
|
+
if (ref2.dep) {
|
|
1345
|
+
{
|
|
1346
|
+
ref2.dep.trigger();
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
function unref(ref2) {
|
|
1351
|
+
return isRef(ref2) ? ref2.value : ref2;
|
|
1352
|
+
}
|
|
1353
|
+
function toValue(source) {
|
|
1354
|
+
return shared.isFunction(source) ? source() : unref(source);
|
|
1355
|
+
}
|
|
1356
|
+
const shallowUnwrapHandlers = {
|
|
1357
|
+
get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
|
|
1358
|
+
set: (target, key, value, receiver) => {
|
|
1359
|
+
const oldValue = target[key];
|
|
1360
|
+
if (isRef(oldValue) && !isRef(value)) {
|
|
1361
|
+
oldValue.value = value;
|
|
1362
|
+
return true;
|
|
1363
|
+
} else {
|
|
1364
|
+
return Reflect.set(target, key, value, receiver);
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
};
|
|
1368
|
+
function proxyRefs(objectWithRefs) {
|
|
1369
|
+
return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
|
|
1370
|
+
}
|
|
1371
|
+
class CustomRefImpl {
|
|
1372
|
+
constructor(factory) {
|
|
1373
|
+
this["__v_isRef"] = true;
|
|
1374
|
+
this._value = void 0;
|
|
1375
|
+
const dep = this.dep = new Dep();
|
|
1376
|
+
const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep));
|
|
1377
|
+
this._get = get;
|
|
1378
|
+
this._set = set;
|
|
1379
|
+
}
|
|
1380
|
+
get value() {
|
|
1381
|
+
return this._value = this._get();
|
|
1382
|
+
}
|
|
1383
|
+
set value(newVal) {
|
|
1384
|
+
this._set(newVal);
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
function customRef(factory) {
|
|
1388
|
+
return new CustomRefImpl(factory);
|
|
1389
|
+
}
|
|
1390
|
+
function toRefs(object) {
|
|
1391
|
+
const ret = shared.isArray(object) ? new Array(object.length) : {};
|
|
1392
|
+
for (const key in object) {
|
|
1393
|
+
ret[key] = propertyToRef(object, key);
|
|
1394
|
+
}
|
|
1395
|
+
return ret;
|
|
1396
|
+
}
|
|
1397
|
+
class ObjectRefImpl {
|
|
1398
|
+
constructor(_object, _key, _defaultValue) {
|
|
1399
|
+
this._object = _object;
|
|
1400
|
+
this._key = _key;
|
|
1401
|
+
this._defaultValue = _defaultValue;
|
|
1402
|
+
this["__v_isRef"] = true;
|
|
1403
|
+
this._value = void 0;
|
|
1404
|
+
}
|
|
1405
|
+
get value() {
|
|
1406
|
+
const val = this._object[this._key];
|
|
1407
|
+
return this._value = val === void 0 ? this._defaultValue : val;
|
|
1408
|
+
}
|
|
1409
|
+
set value(newVal) {
|
|
1410
|
+
this._object[this._key] = newVal;
|
|
1411
|
+
}
|
|
1412
|
+
get dep() {
|
|
1413
|
+
return getDepFromReactive(toRaw(this._object), this._key);
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
class GetterRefImpl {
|
|
1417
|
+
constructor(_getter) {
|
|
1418
|
+
this._getter = _getter;
|
|
1419
|
+
this["__v_isRef"] = true;
|
|
1420
|
+
this["__v_isReadonly"] = true;
|
|
1421
|
+
this._value = void 0;
|
|
1422
|
+
}
|
|
1423
|
+
get value() {
|
|
1424
|
+
return this._value = this._getter();
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
function toRef(source, key, defaultValue) {
|
|
1428
|
+
if (isRef(source)) {
|
|
1429
|
+
return source;
|
|
1430
|
+
} else if (shared.isFunction(source)) {
|
|
1431
|
+
return new GetterRefImpl(source);
|
|
1432
|
+
} else if (shared.isObject(source) && arguments.length > 1) {
|
|
1433
|
+
return propertyToRef(source, key, defaultValue);
|
|
1434
|
+
} else {
|
|
1435
|
+
return ref(source);
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
function propertyToRef(source, key, defaultValue) {
|
|
1439
|
+
const val = source[key];
|
|
1440
|
+
return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
class ComputedRefImpl {
|
|
1444
|
+
constructor(fn, setter, isSSR) {
|
|
1445
|
+
this.fn = fn;
|
|
1446
|
+
this.setter = setter;
|
|
1447
|
+
/**
|
|
1448
|
+
* @internal
|
|
1449
|
+
*/
|
|
1450
|
+
this._value = void 0;
|
|
1451
|
+
/**
|
|
1452
|
+
* @internal
|
|
1453
|
+
*/
|
|
1454
|
+
this.dep = new Dep(this);
|
|
1455
|
+
/**
|
|
1456
|
+
* @internal
|
|
1457
|
+
*/
|
|
1458
|
+
this.__v_isRef = true;
|
|
1459
|
+
// TODO isolatedDeclarations "__v_isReadonly"
|
|
1460
|
+
// A computed is also a subscriber that tracks other deps
|
|
1461
|
+
/**
|
|
1462
|
+
* @internal
|
|
1463
|
+
*/
|
|
1464
|
+
this.deps = void 0;
|
|
1465
|
+
/**
|
|
1466
|
+
* @internal
|
|
1467
|
+
*/
|
|
1468
|
+
this.depsTail = void 0;
|
|
1469
|
+
/**
|
|
1470
|
+
* @internal
|
|
1471
|
+
*/
|
|
1472
|
+
this.flags = 16;
|
|
1473
|
+
/**
|
|
1474
|
+
* @internal
|
|
1475
|
+
*/
|
|
1476
|
+
this.globalVersion = globalVersion - 1;
|
|
1477
|
+
/**
|
|
1478
|
+
* @internal
|
|
1479
|
+
*/
|
|
1480
|
+
this.next = void 0;
|
|
1481
|
+
// for backwards compat
|
|
1482
|
+
this.effect = this;
|
|
1483
|
+
this["__v_isReadonly"] = !setter;
|
|
1484
|
+
this.isSSR = isSSR;
|
|
1485
|
+
}
|
|
1486
|
+
/**
|
|
1487
|
+
* @internal
|
|
1488
|
+
*/
|
|
1489
|
+
notify() {
|
|
1490
|
+
this.flags |= 16;
|
|
1491
|
+
if (!(this.flags & 8) && // avoid infinite self recursion
|
|
1492
|
+
activeSub !== this) {
|
|
1493
|
+
batch(this, true);
|
|
1494
|
+
return true;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
get value() {
|
|
1498
|
+
const link = this.dep.track();
|
|
1499
|
+
refreshComputed(this);
|
|
1500
|
+
if (link) {
|
|
1501
|
+
link.version = this.dep.version;
|
|
1502
|
+
}
|
|
1503
|
+
return this._value;
|
|
1504
|
+
}
|
|
1505
|
+
set value(newValue) {
|
|
1506
|
+
if (this.setter) {
|
|
1507
|
+
this.setter(newValue);
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
function computed(getterOrOptions, debugOptions, isSSR = false) {
|
|
1512
|
+
let getter;
|
|
1513
|
+
let setter;
|
|
1514
|
+
if (shared.isFunction(getterOrOptions)) {
|
|
1515
|
+
getter = getterOrOptions;
|
|
1516
|
+
} else {
|
|
1517
|
+
getter = getterOrOptions.get;
|
|
1518
|
+
setter = getterOrOptions.set;
|
|
1519
|
+
}
|
|
1520
|
+
const cRef = new ComputedRefImpl(getter, setter, isSSR);
|
|
1521
|
+
return cRef;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
const TrackOpTypes = {
|
|
1525
|
+
"GET": "get",
|
|
1526
|
+
"HAS": "has",
|
|
1527
|
+
"ITERATE": "iterate"
|
|
1528
|
+
};
|
|
1529
|
+
const TriggerOpTypes = {
|
|
1530
|
+
"SET": "set",
|
|
1531
|
+
"ADD": "add",
|
|
1532
|
+
"DELETE": "delete",
|
|
1533
|
+
"CLEAR": "clear"
|
|
1534
|
+
};
|
|
1535
|
+
const ReactiveFlags = {
|
|
1536
|
+
"SKIP": "__v_skip",
|
|
1537
|
+
"IS_REACTIVE": "__v_isReactive",
|
|
1538
|
+
"IS_READONLY": "__v_isReadonly",
|
|
1539
|
+
"IS_SHALLOW": "__v_isShallow",
|
|
1540
|
+
"RAW": "__v_raw",
|
|
1541
|
+
"IS_REF": "__v_isRef"
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1544
|
+
const WatchErrorCodes = {
|
|
1545
|
+
"WATCH_GETTER": 2,
|
|
1546
|
+
"2": "WATCH_GETTER",
|
|
1547
|
+
"WATCH_CALLBACK": 3,
|
|
1548
|
+
"3": "WATCH_CALLBACK",
|
|
1549
|
+
"WATCH_CLEANUP": 4,
|
|
1550
|
+
"4": "WATCH_CLEANUP"
|
|
1551
|
+
};
|
|
1552
|
+
const INITIAL_WATCHER_VALUE = {};
|
|
1553
|
+
const cleanupMap = /* @__PURE__ */ new WeakMap();
|
|
1554
|
+
let activeWatcher = void 0;
|
|
1555
|
+
function getCurrentWatcher() {
|
|
1556
|
+
return activeWatcher;
|
|
1557
|
+
}
|
|
1558
|
+
function onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) {
|
|
1559
|
+
if (owner) {
|
|
1560
|
+
let cleanups = cleanupMap.get(owner);
|
|
1561
|
+
if (!cleanups) cleanupMap.set(owner, cleanups = []);
|
|
1562
|
+
cleanups.push(cleanupFn);
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
function watch(source, cb, options = shared.EMPTY_OBJ) {
|
|
1566
|
+
const { immediate, deep, once, scheduler, augmentJob, call } = options;
|
|
1567
|
+
const reactiveGetter = (source2) => {
|
|
1568
|
+
if (deep) return source2;
|
|
1569
|
+
if (isShallow(source2) || deep === false || deep === 0)
|
|
1570
|
+
return traverse(source2, 1);
|
|
1571
|
+
return traverse(source2);
|
|
1572
|
+
};
|
|
1573
|
+
let effect;
|
|
1574
|
+
let getter;
|
|
1575
|
+
let cleanup;
|
|
1576
|
+
let boundCleanup;
|
|
1577
|
+
let forceTrigger = false;
|
|
1578
|
+
let isMultiSource = false;
|
|
1579
|
+
if (isRef(source)) {
|
|
1580
|
+
getter = () => source.value;
|
|
1581
|
+
forceTrigger = isShallow(source);
|
|
1582
|
+
} else if (isReactive(source)) {
|
|
1583
|
+
getter = () => reactiveGetter(source);
|
|
1584
|
+
forceTrigger = true;
|
|
1585
|
+
} else if (shared.isArray(source)) {
|
|
1586
|
+
isMultiSource = true;
|
|
1587
|
+
forceTrigger = source.some((s) => isReactive(s) || isShallow(s));
|
|
1588
|
+
getter = () => source.map((s) => {
|
|
1589
|
+
if (isRef(s)) {
|
|
1590
|
+
return s.value;
|
|
1591
|
+
} else if (isReactive(s)) {
|
|
1592
|
+
return reactiveGetter(s);
|
|
1593
|
+
} else if (shared.isFunction(s)) {
|
|
1594
|
+
return call ? call(s, 2) : s();
|
|
1595
|
+
} else ;
|
|
1596
|
+
});
|
|
1597
|
+
} else if (shared.isFunction(source)) {
|
|
1598
|
+
if (cb) {
|
|
1599
|
+
getter = call ? () => call(source, 2) : source;
|
|
1600
|
+
} else {
|
|
1601
|
+
getter = () => {
|
|
1602
|
+
if (cleanup) {
|
|
1603
|
+
pauseTracking();
|
|
1604
|
+
try {
|
|
1605
|
+
cleanup();
|
|
1606
|
+
} finally {
|
|
1607
|
+
resetTracking();
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
const currentEffect = activeWatcher;
|
|
1611
|
+
activeWatcher = effect;
|
|
1612
|
+
try {
|
|
1613
|
+
return call ? call(source, 3, [boundCleanup]) : source(boundCleanup);
|
|
1614
|
+
} finally {
|
|
1615
|
+
activeWatcher = currentEffect;
|
|
1616
|
+
}
|
|
1617
|
+
};
|
|
1618
|
+
}
|
|
1619
|
+
} else {
|
|
1620
|
+
getter = shared.NOOP;
|
|
1621
|
+
}
|
|
1622
|
+
if (cb && deep) {
|
|
1623
|
+
const baseGetter = getter;
|
|
1624
|
+
const depth = deep === true ? Infinity : deep;
|
|
1625
|
+
getter = () => traverse(baseGetter(), depth);
|
|
1626
|
+
}
|
|
1627
|
+
const scope = getCurrentScope();
|
|
1628
|
+
const watchHandle = () => {
|
|
1629
|
+
effect.stop();
|
|
1630
|
+
if (scope && scope.active) {
|
|
1631
|
+
shared.remove(scope.effects, effect);
|
|
1632
|
+
}
|
|
1633
|
+
};
|
|
1634
|
+
if (once && cb) {
|
|
1635
|
+
const _cb = cb;
|
|
1636
|
+
cb = (...args) => {
|
|
1637
|
+
_cb(...args);
|
|
1638
|
+
watchHandle();
|
|
1639
|
+
};
|
|
1640
|
+
}
|
|
1641
|
+
let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
|
|
1642
|
+
const job = (immediateFirstRun) => {
|
|
1643
|
+
if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) {
|
|
1644
|
+
return;
|
|
1645
|
+
}
|
|
1646
|
+
if (cb) {
|
|
1647
|
+
const newValue = effect.run();
|
|
1648
|
+
if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
|
|
1649
|
+
if (cleanup) {
|
|
1650
|
+
cleanup();
|
|
1651
|
+
}
|
|
1652
|
+
const currentWatcher = activeWatcher;
|
|
1653
|
+
activeWatcher = effect;
|
|
1654
|
+
try {
|
|
1655
|
+
const args = [
|
|
1656
|
+
newValue,
|
|
1657
|
+
// pass undefined as the old value when it's changed for the first time
|
|
1658
|
+
oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,
|
|
1659
|
+
boundCleanup
|
|
1660
|
+
];
|
|
1661
|
+
call ? call(cb, 3, args) : (
|
|
1662
|
+
// @ts-expect-error
|
|
1663
|
+
cb(...args)
|
|
1664
|
+
);
|
|
1665
|
+
oldValue = newValue;
|
|
1666
|
+
} finally {
|
|
1667
|
+
activeWatcher = currentWatcher;
|
|
1668
|
+
}
|
|
1669
|
+
}
|
|
1670
|
+
} else {
|
|
1671
|
+
effect.run();
|
|
1672
|
+
}
|
|
1673
|
+
};
|
|
1674
|
+
if (augmentJob) {
|
|
1675
|
+
augmentJob(job);
|
|
1676
|
+
}
|
|
1677
|
+
effect = new ReactiveEffect(getter);
|
|
1678
|
+
effect.scheduler = scheduler ? () => scheduler(job, false) : job;
|
|
1679
|
+
boundCleanup = (fn) => onWatcherCleanup(fn, false, effect);
|
|
1680
|
+
cleanup = effect.onStop = () => {
|
|
1681
|
+
const cleanups = cleanupMap.get(effect);
|
|
1682
|
+
if (cleanups) {
|
|
1683
|
+
if (call) {
|
|
1684
|
+
call(cleanups, 4);
|
|
1685
|
+
} else {
|
|
1686
|
+
for (const cleanup2 of cleanups) cleanup2();
|
|
1687
|
+
}
|
|
1688
|
+
cleanupMap.delete(effect);
|
|
1689
|
+
}
|
|
1690
|
+
};
|
|
1691
|
+
if (cb) {
|
|
1692
|
+
if (immediate) {
|
|
1693
|
+
job(true);
|
|
1694
|
+
} else {
|
|
1695
|
+
oldValue = effect.run();
|
|
1696
|
+
}
|
|
1697
|
+
} else if (scheduler) {
|
|
1698
|
+
scheduler(job.bind(null, true), true);
|
|
1699
|
+
} else {
|
|
1700
|
+
effect.run();
|
|
1701
|
+
}
|
|
1702
|
+
watchHandle.pause = effect.pause.bind(effect);
|
|
1703
|
+
watchHandle.resume = effect.resume.bind(effect);
|
|
1704
|
+
watchHandle.stop = watchHandle;
|
|
1705
|
+
return watchHandle;
|
|
1706
|
+
}
|
|
1707
|
+
function traverse(value, depth = Infinity, seen) {
|
|
1708
|
+
if (depth <= 0 || !shared.isObject(value) || value["__v_skip"]) {
|
|
1709
|
+
return value;
|
|
1710
|
+
}
|
|
1711
|
+
seen = seen || /* @__PURE__ */ new Set();
|
|
1712
|
+
if (seen.has(value)) {
|
|
1713
|
+
return value;
|
|
1714
|
+
}
|
|
1715
|
+
seen.add(value);
|
|
1716
|
+
depth--;
|
|
1717
|
+
if (isRef(value)) {
|
|
1718
|
+
traverse(value.value, depth, seen);
|
|
1719
|
+
} else if (shared.isArray(value)) {
|
|
1720
|
+
for (let i = 0; i < value.length; i++) {
|
|
1721
|
+
traverse(value[i], depth, seen);
|
|
1722
|
+
}
|
|
1723
|
+
} else if (shared.isSet(value) || shared.isMap(value)) {
|
|
1724
|
+
value.forEach((v) => {
|
|
1725
|
+
traverse(v, depth, seen);
|
|
1726
|
+
});
|
|
1727
|
+
} else if (shared.isPlainObject(value)) {
|
|
1728
|
+
for (const key in value) {
|
|
1729
|
+
traverse(value[key], depth, seen);
|
|
1730
|
+
}
|
|
1731
|
+
for (const key of Object.getOwnPropertySymbols(value)) {
|
|
1732
|
+
if (Object.prototype.propertyIsEnumerable.call(value, key)) {
|
|
1733
|
+
traverse(value[key], depth, seen);
|
|
1734
|
+
}
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
return value;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
exports.ARRAY_ITERATE_KEY = ARRAY_ITERATE_KEY;
|
|
1741
|
+
exports.EffectFlags = EffectFlags;
|
|
1742
|
+
exports.EffectScope = EffectScope;
|
|
1743
|
+
exports.ITERATE_KEY = ITERATE_KEY;
|
|
1744
|
+
exports.MAP_KEY_ITERATE_KEY = MAP_KEY_ITERATE_KEY;
|
|
1745
|
+
exports.ReactiveEffect = ReactiveEffect;
|
|
1746
|
+
exports.ReactiveFlags = ReactiveFlags;
|
|
1747
|
+
exports.TrackOpTypes = TrackOpTypes;
|
|
1748
|
+
exports.TriggerOpTypes = TriggerOpTypes;
|
|
1749
|
+
exports.WatchErrorCodes = WatchErrorCodes;
|
|
1750
|
+
exports.computed = computed;
|
|
1751
|
+
exports.customRef = customRef;
|
|
1752
|
+
exports.effect = effect;
|
|
1753
|
+
exports.effectScope = effectScope;
|
|
1754
|
+
exports.enableTracking = enableTracking;
|
|
1755
|
+
exports.getCurrentScope = getCurrentScope;
|
|
1756
|
+
exports.getCurrentWatcher = getCurrentWatcher;
|
|
1757
|
+
exports.isProxy = isProxy;
|
|
1758
|
+
exports.isReactive = isReactive;
|
|
1759
|
+
exports.isReadonly = isReadonly;
|
|
1760
|
+
exports.isRef = isRef;
|
|
1761
|
+
exports.isShallow = isShallow;
|
|
1762
|
+
exports.markRaw = markRaw;
|
|
1763
|
+
exports.onEffectCleanup = onEffectCleanup;
|
|
1764
|
+
exports.onScopeDispose = onScopeDispose;
|
|
1765
|
+
exports.onWatcherCleanup = onWatcherCleanup;
|
|
1766
|
+
exports.pauseTracking = pauseTracking;
|
|
1767
|
+
exports.proxyRefs = proxyRefs;
|
|
1768
|
+
exports.reactive = reactive;
|
|
1769
|
+
exports.reactiveReadArray = reactiveReadArray;
|
|
1770
|
+
exports.readonly = readonly;
|
|
1771
|
+
exports.ref = ref;
|
|
1772
|
+
exports.resetTracking = resetTracking;
|
|
1773
|
+
exports.shallowReactive = shallowReactive;
|
|
1774
|
+
exports.shallowReadArray = shallowReadArray;
|
|
1775
|
+
exports.shallowReadonly = shallowReadonly;
|
|
1776
|
+
exports.shallowRef = shallowRef;
|
|
1777
|
+
exports.stop = stop;
|
|
1778
|
+
exports.toRaw = toRaw;
|
|
1779
|
+
exports.toReactive = toReactive;
|
|
1780
|
+
exports.toReadonly = toReadonly;
|
|
1781
|
+
exports.toRef = toRef;
|
|
1782
|
+
exports.toRefs = toRefs;
|
|
1783
|
+
exports.toValue = toValue;
|
|
1784
|
+
exports.track = track;
|
|
1785
|
+
exports.traverse = traverse;
|
|
1786
|
+
exports.trigger = trigger;
|
|
1787
|
+
exports.triggerRef = triggerRef;
|
|
1788
|
+
exports.unref = unref;
|
|
1789
|
+
exports.watch = watch;
|