one 1.1.295 → 1.1.296
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/Root.native.js.map +1 -1
- package/dist/cjs/Route.native.js.map +1 -1
- package/dist/cjs/cleanUrl.native.js.map +1 -1
- package/dist/cjs/cli/label-process.js +25 -0
- package/dist/cjs/cli/label-process.js.map +6 -0
- package/dist/cjs/cli/label-process.native.js +30 -0
- package/dist/cjs/cli/label-process.native.js.map +6 -0
- package/dist/cjs/cli/main.native.js.map +1 -1
- package/dist/cjs/cli/prebuild.native.js.map +1 -1
- package/dist/cjs/cli/run.js +2 -1
- package/dist/cjs/cli/run.js.map +1 -1
- package/dist/cjs/cli/run.native.js +2 -1
- package/dist/cjs/cli/run.native.js.map +3 -3
- package/dist/cjs/cli.js +15 -7
- package/dist/cjs/cli.js.map +2 -2
- package/dist/cjs/cli.native.js +15 -7
- package/dist/cjs/cli.native.js.map +3 -3
- package/dist/cjs/clientLoaderResolver.native.js.map +1 -1
- package/dist/cjs/config.native.js.map +1 -1
- package/dist/cjs/constants.native.js.map +1 -1
- package/dist/cjs/createApp.native.js.map +1 -1
- package/dist/cjs/createHandleRequest.native.js.map +1 -1
- package/dist/cjs/createRoute.native.js.map +1 -1
- package/dist/cjs/fallbackViews/Sitemap.native.js.map +1 -1
- package/dist/cjs/fallbackViews/Unmatched.native.js.map +1 -1
- package/dist/cjs/fork/NavigationContainer.native.js.map +1 -1
- package/dist/cjs/fork/createMemoryHistory.native.js.map +1 -1
- package/dist/cjs/fork/extractPathFromURL.native.js.map +1 -1
- package/dist/cjs/fork/findFocusedRoute.native.js.map +1 -1
- package/dist/cjs/fork/getPathFromState.native.js.map +1 -1
- package/dist/cjs/fork/getStateFromPath.native.js.map +1 -1
- package/dist/cjs/fork/useLinking.native.js.map +1 -1
- package/dist/cjs/fork/validatePathConfig.native.js.map +1 -1
- package/dist/cjs/getLinkingConfig.native.js.map +1 -1
- package/dist/cjs/getReactNavigationConfig.native.js.map +1 -1
- package/dist/cjs/getRoutes.native.js.map +1 -1
- package/dist/cjs/getURL.native.js.map +1 -1
- package/dist/cjs/head/Head.android.js.map +1 -1
- package/dist/cjs/head/Head.ios.js.map +1 -1
- package/dist/cjs/head/Head.native.js.map +1 -1
- package/dist/cjs/head/HeadModule.native.js.map +1 -1
- package/dist/cjs/head/index.native.js.map +1 -1
- package/dist/cjs/head/types.native.js.map +1 -1
- package/dist/cjs/head/url.native.js.map +1 -1
- package/dist/cjs/hooks.native.js.map +1 -1
- package/dist/cjs/imperative-api.native.js.map +1 -1
- package/dist/cjs/import-mode/index.android.js.map +1 -1
- package/dist/cjs/import-mode/index.ios.js.map +1 -1
- package/dist/cjs/import-mode/index.native.js.map +1 -1
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/interfaces/router.native.js.map +1 -1
- package/dist/cjs/layouts/Drawer.native.js.map +1 -1
- package/dist/cjs/layouts/Stack.native.js.map +1 -1
- package/dist/cjs/layouts/Tabs.native.js.map +1 -1
- package/dist/cjs/layouts/withLayoutContext.native.js.map +1 -1
- package/dist/cjs/link/Link.native.js.map +1 -1
- package/dist/cjs/link/Redirect.native.js.map +1 -1
- package/dist/cjs/link/href.native.js.map +1 -1
- package/dist/cjs/link/linking.native.js.map +1 -1
- package/dist/cjs/link/path.native.js.map +1 -1
- package/dist/cjs/link/useLinkTo.native.js.map +1 -1
- package/dist/cjs/link/useLoadedNavigation.native.js.map +1 -1
- package/dist/cjs/matchers.native.js.map +1 -1
- package/dist/cjs/platform.native.js.map +1 -1
- package/dist/cjs/polyfills-mobile.native.js.map +1 -1
- package/dist/cjs/polyfills-server.native.js.map +1 -1
- package/dist/cjs/render.native.js.map +1 -1
- package/dist/cjs/router/RouterStore.native.js.map +1 -1
- package/dist/cjs/router/constants.native.js.map +1 -1
- package/dist/cjs/router/getNormalizedStatePath.native.js.map +1 -1
- package/dist/cjs/router/lastAction.native.js.map +1 -1
- package/dist/cjs/router/router.native.js.map +1 -1
- package/dist/cjs/router/serverLocationContext.native.js.map +1 -1
- package/dist/cjs/router/useInitializeOneRouter.native.js.map +1 -1
- package/dist/cjs/serve.js +2 -1
- package/dist/cjs/serve.js.map +1 -1
- package/dist/cjs/serve.native.js +4 -2
- package/dist/cjs/serve.native.js.map +3 -3
- package/dist/cjs/server/createRoutesManifest.native.js.map +1 -1
- package/dist/cjs/server/getServerManifest.native.js.map +1 -1
- package/dist/cjs/server-render.native.js.map +1 -1
- package/dist/cjs/sortRoutes.native.js.map +1 -1
- package/dist/cjs/typed-routes/generateRouteTypes.native.js.map +1 -1
- package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.native.js.map +1 -1
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/useFocusEffect.native.js.map +1 -1
- package/dist/cjs/useLoader.native.js.map +1 -1
- package/dist/cjs/useNavigation.native.js.map +1 -1
- package/dist/cjs/useScreens.native.js.map +1 -1
- package/dist/cjs/useViteRoutes.native.js.map +1 -1
- package/dist/cjs/utils/assertIsReady.native.js.map +1 -1
- package/dist/cjs/utils/dynamicImport.native.js.map +1 -1
- package/dist/cjs/utils/existsAsync.native.js.map +1 -1
- package/dist/cjs/utils/getPageExport.native.js.map +1 -1
- package/dist/cjs/utils/globDir.native.js.map +1 -1
- package/dist/cjs/utils/hashString.native.js.map +1 -1
- package/dist/cjs/utils/isResponse.native.js.map +1 -1
- package/dist/cjs/utils/isStatus.native.js.map +1 -1
- package/dist/cjs/utils/promiseWithResolvers.native.js.map +1 -1
- package/dist/cjs/utils/rand.native.js.map +1 -1
- package/dist/cjs/utils/redirect.native.js.map +1 -1
- package/dist/cjs/utils/removeSearch.native.js.map +1 -1
- package/dist/cjs/utils/removeUndefined.native.js.map +1 -1
- package/dist/cjs/utils/requireResolve.native.js.map +1 -1
- package/dist/cjs/utils/url.native.js.map +1 -1
- package/dist/cjs/utils/weakKey.native.js.map +1 -1
- package/dist/cjs/utils/weakMemo.native.js.map +1 -1
- package/dist/cjs/views/EmptyRoute.native.js.map +1 -1
- package/dist/cjs/views/ErrorBoundary.native.js.map +1 -1
- package/dist/cjs/views/LoadProgressBar.native.js.map +1 -1
- package/dist/cjs/views/Navigator.native.js.map +1 -1
- package/dist/cjs/views/PreloadLinks.native.js.map +1 -1
- package/dist/cjs/views/RootErrorBoundary.native.js.map +1 -1
- package/dist/cjs/views/Screen.native.js.map +1 -1
- package/dist/cjs/views/ScrollRestoration.native.js.map +1 -1
- package/dist/cjs/views/Try.native.js.map +1 -1
- package/dist/cjs/vite/build.js +6 -1
- package/dist/cjs/vite/build.js.map +1 -1
- package/dist/cjs/vite/build.native.js +8 -2
- package/dist/cjs/vite/build.native.js.map +3 -3
- package/dist/cjs/vite/clientTreeShakePlugin.native.js.map +1 -1
- package/dist/cjs/vite/constants.native.js.map +1 -1
- package/dist/cjs/vite/createFileSystemRouter.native.js.map +1 -1
- package/dist/cjs/vite/customNodeExternals.native.js.map +1 -1
- package/dist/cjs/vite/ensureTsConfig.native.js.map +1 -1
- package/dist/cjs/vite/findDepsToOptimize.native.js.map +1 -1
- package/dist/cjs/vite/fixDependenciesPlugin.native.js.map +1 -1
- package/dist/cjs/vite/generateTypesForRoutes.native.js.map +1 -1
- package/dist/cjs/vite/getManifest.native.js.map +1 -1
- package/dist/cjs/vite/headers.native.js.map +1 -1
- package/dist/cjs/vite/loadEnv.native.js.map +1 -1
- package/dist/cjs/vite/makePluginWebOnly.native.js.map +1 -1
- package/dist/cjs/vite/one.js +3 -3
- package/dist/cjs/vite/one.js.map +1 -1
- package/dist/cjs/vite/one.native.js +3 -3
- package/dist/cjs/vite/one.native.js.map +2 -2
- package/dist/cjs/vite/removeReactNativeWebAnimatedPlugin.native.js.map +1 -1
- package/dist/cjs/vite/replaceLoader.native.js.map +1 -1
- package/dist/cjs/vite/resolveAPIRequest.native.js.map +1 -1
- package/dist/cjs/vite/server.native.js.map +1 -1
- package/dist/cjs/vite/types.native.js.map +1 -1
- package/dist/cjs/vite/virtualEntryPlugin.native.js.map +1 -1
- package/dist/cjs/vite/vitePluginSsrCss.native.js.map +1 -1
- package/dist/cjs/vite.native.js.map +1 -1
- package/dist/cjs/zero/getQueryKey.native.js.map +1 -1
- package/dist/cjs/zero/isZeroQuery.native.js.map +1 -1
- package/dist/cjs/zero/resolveQuery.native.js.map +1 -1
- package/dist/cjs/zero/subscribeToQuery.native.js.map +1 -1
- package/dist/cjs/zero/types.native.js.map +1 -1
- package/dist/cjs/zero/useQuery.native.js.map +1 -1
- package/dist/cjs/zero/useQueryZero.native.js.map +1 -1
- package/dist/cjs/zero.native.js.map +1 -1
- package/dist/esm/cli/label-process.js +9 -0
- package/dist/esm/cli/label-process.js.map +6 -0
- package/dist/esm/cli/label-process.mjs +8 -0
- package/dist/esm/cli/label-process.mjs.map +1 -0
- package/dist/esm/cli/label-process.native.js +8 -0
- package/dist/esm/cli/label-process.native.js.map +1 -0
- package/dist/esm/cli/run.js +2 -0
- package/dist/esm/cli/run.js.map +1 -1
- package/dist/esm/cli/run.mjs +2 -0
- package/dist/esm/cli/run.mjs.map +1 -1
- package/dist/esm/cli/run.native.js +2 -0
- package/dist/esm/cli/run.native.js.map +1 -1
- package/dist/esm/cli.js +16 -6
- package/dist/esm/cli.js.map +1 -1
- package/dist/esm/cli.mjs +16 -6
- package/dist/esm/cli.mjs.map +1 -1
- package/dist/esm/cli.native.js +17 -6
- package/dist/esm/cli.native.js.map +1 -1
- package/dist/esm/createApp.native.js.map +1 -1
- package/dist/esm/fork/NavigationContainer.native.js.map +1 -1
- package/dist/esm/fork/useLinking.native.js.map +1 -1
- package/dist/esm/getURL.native.js.map +1 -1
- package/dist/esm/head/Head.android.js.map +1 -1
- package/dist/esm/head/Head.ios.js.map +1 -1
- package/dist/esm/import-mode/index.android.js.map +1 -1
- package/dist/esm/import-mode/index.ios.js.map +1 -1
- package/dist/esm/import-mode/index.native.js.map +1 -1
- package/dist/esm/render.native.js.map +1 -1
- package/dist/esm/serve.js +2 -0
- package/dist/esm/serve.js.map +1 -1
- package/dist/esm/serve.mjs +2 -0
- package/dist/esm/serve.mjs.map +1 -1
- package/dist/esm/serve.native.js +4 -2
- package/dist/esm/serve.native.js.map +1 -1
- package/dist/esm/views/PreloadLinks.native.js.map +1 -1
- package/dist/esm/vite/build.js +12 -1
- package/dist/esm/vite/build.js.map +1 -1
- package/dist/esm/vite/build.mjs +6 -1
- package/dist/esm/vite/build.mjs.map +1 -1
- package/dist/esm/vite/build.native.js +8 -6
- package/dist/esm/vite/build.native.js.map +1 -1
- package/dist/esm/vite/headers.native.js.map +1 -1
- package/dist/esm/vite/one.js +3 -3
- package/dist/esm/vite/one.js.map +1 -1
- package/dist/esm/vite/one.mjs +3 -3
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js +3 -3
- package/dist/esm/vite/one.native.js.map +1 -1
- package/package.json +6 -6
- package/src/cli/label-process.ts +7 -0
- package/src/cli/run.ts +2 -0
- package/src/cli.ts +25 -7
- package/src/serve.ts +2 -0
- package/src/vite/build.ts +15 -1
- package/src/vite/one.ts +3 -3
- package/types/cli/label-process.d.ts +2 -0
- package/types/cli/label-process.d.ts.map +1 -0
- package/types/cli/run.d.ts.map +1 -1
- package/types/serve.d.ts.map +1 -1
- package/types/vite/build.d.ts.map +1 -1
package/dist/esm/serve.native.js
CHANGED
@@ -8,12 +8,14 @@ import { isStatusRedirect } from "./utils/isStatus.native.js";
|
|
8
8
|
import { removeUndefined } from "./utils/removeUndefined.native.js";
|
9
9
|
import { resolveAPIRequest } from "./vite/resolveAPIRequest.native.js";
|
10
10
|
import { loadUserOneOptions } from "./vite/one.native.js";
|
11
|
+
import { labelProcess } from "./cli/label-process.native.js";
|
11
12
|
process.on("uncaughtException", function (err) {
|
12
13
|
console.error("[one] Uncaught exception", err?.stack || err);
|
13
14
|
});
|
14
15
|
async function serve() {
|
15
|
-
var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}
|
16
|
-
|
16
|
+
var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
17
|
+
labelProcess("serve");
|
18
|
+
var oneOptions = await loadUserOneOptions("serve");
|
17
19
|
return process.env.VXRN_REACT_19 = "1", await vxrnServe({
|
18
20
|
server: {
|
19
21
|
// fallback to one plugin
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","process","on","err","console","error","stack","args","arguments","length","oneOptions","env","VXRN_REACT_19","server","port","host","compress","platform","cacheHeaders","beforeStart","options","app","_oneOptions_server_beforeStart","_oneOptions_server","call","oneServe","vxrnOptions","_options_web","_options_build_api","_options_build","root","isAPIRequest","WeakMap","toAbsolute","p","resolve","redirects","web","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_loop","redirect","_step","value","get","source","context","destinationUrl","destination","replace","param","paramName","substring","req","permanent","_iterator","Symbol","iterator","next","done","return","buildInfo","readJSON","Error","routeMap","builtRoutes","routeToBuildInfo","_iteratorNormalCompletion1","_didIteratorError1","_iteratorError1","_iterator1","_step1","route","cleanPath","serverOptions","entryServer","entry","render","default","apiCJS","build","api","outputFormat","handleRequest","handleAPI","route2","request","loaderProps","apiFile","cwd","page","set","params","handleSSR","url","type","buildInfo2","_exported_loader","exported","serverJsPath","loaderData","loader","preloads","headers","Headers","Response","path","_err_stack","htmlFiles","key","info","readFile","use","html","raw","response","handler","status","location"],"sources":["../../src/serve.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO;AAEP,OAAOA,OAAA,MAAa;AAEpB,OAAOC,IAAA,IAAQC,IAAA,QAAY;AAE3B,SAASC,cAAA,EAAgBC,KAAA,IAASC,SAAA,QAAiB;AACnD,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,eAAA,QAAuB;AAChC,SAASC,iBAAA,QAAyB;AAElC,SAASC,kBAAA,QAA0B;
|
1
|
+
{"version":3,"names":["FSExtra","Path","join","getServerEntry","serve","vxrnServe","createHandleRequest","isResponse","isStatusRedirect","removeUndefined","resolveAPIRequest","loadUserOneOptions","labelProcess","process","on","err","console","error","stack","args","arguments","length","oneOptions","env","VXRN_REACT_19","server","port","host","compress","platform","cacheHeaders","beforeStart","options","app","_oneOptions_server_beforeStart","_oneOptions_server","call","oneServe","vxrnOptions","_options_web","_options_build_api","_options_build","root","isAPIRequest","WeakMap","toAbsolute","p","resolve","redirects","web","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_loop","redirect","_step","value","get","source","context","destinationUrl","destination","replace","param","paramName","substring","req","permanent","_iterator","Symbol","iterator","next","done","return","buildInfo","readJSON","Error","routeMap","builtRoutes","routeToBuildInfo","_iteratorNormalCompletion1","_didIteratorError1","_iteratorError1","_iterator1","_step1","route","cleanPath","serverOptions","entryServer","entry","render","default","apiCJS","build","api","outputFormat","handleRequest","handleAPI","route2","request","loaderProps","apiFile","cwd","page","set","params","handleSSR","url","type","buildInfo2","_exported_loader","exported","serverJsPath","loaderData","loader","preloads","headers","Headers","Response","path","_err_stack","htmlFiles","key","info","readFile","use","html","raw","response","handler","status","location"],"sources":["../../src/serve.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAO;AAEP,OAAOA,OAAA,MAAa;AAEpB,OAAOC,IAAA,IAAQC,IAAA,QAAY;AAE3B,SAASC,cAAA,EAAgBC,KAAA,IAASC,SAAA,QAAiB;AACnD,SAASC,mBAAA,QAA2B;AAEpC,SAASC,UAAA,QAAkB;AAC3B,SAASC,gBAAA,QAAwB;AACjC,SAASC,eAAA,QAAuB;AAChC,SAASC,iBAAA,QAAyB;AAElC,SAASC,kBAAA,QAA0B;AACnC,SAASC,YAAA,QAAoB;AAE7BC,OAAA,CAAQC,EAAA,CAAG,qBAAqB,UAASC,GAAA;EACvCC,OAAA,CAAQC,KAAA,CAAM,4BAA4BF,GAAA,EAAKG,KAAA,IAASH,GAAG;AAC7D,CAAC;AAED,eAAsBX,MAAA,EAAM;EAC1B,IAAAe,IAAA,GAA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AA,CAAA4H,QAAA,CAAA1H,IAAA,gBAAA2E,QAAA,CAAA6C,GAAA;EAAA;EAIJzF,GAAA,CAAA4F,GAAA,iBAAOlE,OAAA,EAAAY,IAAA;IAAA,IACTuD,IAAA,GAAAL,SAAA,CAAA9D,OAAA,CAAAO,GAAA,CAAAqD,IAAA;IAEA,IAAAO,IAAA,EAAe,OACbnE,OAAA,CAAAmE,IAAA,CAAAA,IAAA;IAAA;MACA,IACA3B,OAAA,GAAAxC,OAAiB,CAAAO,GAAA,CAAA6D,GAAO;QAAAC,QACpB,SAAAhC,aAAA,CAAAiC,OAAA,CAAA9B,OAAA;MAAA,IAAA6B,QACE;QAAiB,IACnBzH,UACA,CAAAyH,QAAA;UACN,IAAAxH,gBAAA,CAAAwH,QAAA,CAAAE,MAAA;YACF,IAAAC,QAAA,MAAAH,QAAA,CAAAZ,OAAA,CAAA3D,GAAA;YACF,OAAcE,OAAA,CAAAL,QAAA,CAAA6E,QAAA,EAAAH,QAAA,CAAAE,MAAA;UACZ;UACF,IAAAvF,YAAA,CAAAc,GAAA,CAAA0C,OAAA,GAEM,IAAK;YACZ6B,QAAA,CAAAZ,OAAA,CAAAZ,GAAA;UACH,SAAAzF,GAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["PreloadLinks"],"sources":["../../../src/views/Users/n8/
|
1
|
+
{"version":3,"names":["PreloadLinks"],"sources":["../../../src/views/Users/n8/one/packages/one/src/views/PreloadLinks.native.tsx"],"sourcesContent":[null],"mappings":"AAAO,SAASA,aAAA;EACd,OAAO;AACT","ignoreList":[]}
|
package/dist/esm/vite/build.js
CHANGED
@@ -4,16 +4,23 @@ import { createRequire } from "node:module";
|
|
4
4
|
import Path, { join, relative } from "node:path";
|
5
5
|
import { nodeExternals } from "rollup-plugin-node-externals";
|
6
6
|
import { mergeConfig, build as viteBuild } from "vite";
|
7
|
-
import {
|
7
|
+
import {
|
8
|
+
fillOptions,
|
9
|
+
getOptimizeDeps,
|
10
|
+
rollupRemoveUnusedImportsPlugin,
|
11
|
+
build as vxrnBuild
|
12
|
+
} from "vxrn";
|
8
13
|
import { getLoaderPath, getPreloadPath } from "../cleanUrl";
|
9
14
|
import { getManifest } from "./getManifest";
|
10
15
|
import { loadUserOneOptions } from "./one";
|
11
16
|
import { replaceLoader } from "./replaceLoader";
|
17
|
+
import { labelProcess } from "../cli/label-process";
|
12
18
|
const { ensureDir, readFile, outputFile } = FSExtra;
|
13
19
|
process.on("uncaughtException", (err) => {
|
14
20
|
console.error(err?.message || err);
|
15
21
|
});
|
16
22
|
async function build(args) {
|
23
|
+
labelProcess("build");
|
17
24
|
const userOptions = await loadUserOneOptions("build"), serverOutputFormat = userOptions.build?.server?.outputFormat ?? "esm";
|
18
25
|
process.env.VXRN_REACT_19 = "1", process.env.ONE_SERVER_URL || console.warn(
|
19
26
|
"\u26A0\uFE0F No ONE_SERVER_URL environment set, set it in your .env to your target deploy URL"
|
@@ -73,6 +80,10 @@ async function build(args) {
|
|
73
80
|
treeshake: {
|
74
81
|
moduleSideEffects: "no-external"
|
75
82
|
},
|
83
|
+
plugins: [
|
84
|
+
// otherwise rollup is leaving commonjs-only top level imports...
|
85
|
+
apiOutputFormat === "esm" ? rollupRemoveUnusedImportsPlugin : null
|
86
|
+
].filter(Boolean),
|
76
87
|
// too many issues
|
77
88
|
// treeshake: {
|
78
89
|
// moduleSideEffects: false,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/build.ts"],
|
4
|
-
"mappings": "AAAA,OAAO,aAAa;AACpB,OAAO,gBAAgB;AACvB,SAAS,qBAAqB;AAC9B,OAAO,QAAQ,MAAM,gBAAgB;AAErC,SAAS,qBAAqB;AAC9B,SAAS,aAAa,SAAS,iBAAoC;AACnE,
|
4
|
+
"mappings": "AAAA,OAAO,aAAa;AACpB,OAAO,gBAAgB;AACvB,SAAS,qBAAqB;AAC9B,OAAO,QAAQ,MAAM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;AAAA,IAGlC,KAAK,UAAU,QAAQ,MAAM,CAAC,CAAC;AAAA,YACrB;AAGF,iBAAO,MAAM,KAAK,QAAQ,KAAK,EAAE,EAAE,QAAQ,KAAK,EAAE;AAAA,QACpD;AACA,eAAO;AAAA,MACT;AACA,aAAO;AAAA,IACT,CAAC,EACA,KAAK,GAAG,CAAC;AAAA,EACd,GAAG;AAEH,SAAO,GAAG,OAAO,GAAG,cAAc,GAAG,QAAQ,WAAW,GAAG;AAC7D;AAEA,SAAS,YAAY,QAAgB;AACnC,SAAO,OAAO,QAAQ,uBAAuB,MAAM;AACrD;AAEA,SAAS,wBAAwB,MAAgB;AAM/C,QAAM,eAAe,oBAJC,KAAK,IAAI,CAAC,QAAQ,YAAY,GAAG,CAAC,EAEjB,KAAK,GAAG,CAEU;AACzD,SAAO,IAAI,OAAO,YAAY;AAChC;",
|
5
5
|
"names": ["file"]
|
6
6
|
}
|
package/dist/esm/vite/build.mjs
CHANGED
@@ -4,11 +4,12 @@ import { createRequire } from "node:module";
|
|
4
4
|
import Path, { join, relative } from "node:path";
|
5
5
|
import { nodeExternals } from "rollup-plugin-node-externals";
|
6
6
|
import { mergeConfig, build as viteBuild } from "vite";
|
7
|
-
import { fillOptions, getOptimizeDeps, build as vxrnBuild } from "vxrn";
|
7
|
+
import { fillOptions, getOptimizeDeps, rollupRemoveUnusedImportsPlugin, build as vxrnBuild } from "vxrn";
|
8
8
|
import { getLoaderPath, getPreloadPath } from "../cleanUrl.mjs";
|
9
9
|
import { getManifest } from "./getManifest.mjs";
|
10
10
|
import { loadUserOneOptions } from "./one.mjs";
|
11
11
|
import { replaceLoader } from "./replaceLoader.mjs";
|
12
|
+
import { labelProcess } from "../cli/label-process.mjs";
|
12
13
|
const {
|
13
14
|
ensureDir,
|
14
15
|
readFile,
|
@@ -18,6 +19,7 @@ process.on("uncaughtException", err => {
|
|
18
19
|
console.error(err?.message || err);
|
19
20
|
});
|
20
21
|
async function build(args) {
|
22
|
+
labelProcess("build");
|
21
23
|
const userOptions = await loadUserOneOptions("build"),
|
22
24
|
serverOutputFormat = userOptions.build?.server?.outputFormat ?? "esm";
|
23
25
|
process.env.VXRN_REACT_19 = "1", process.env.ONE_SERVER_URL || console.warn("\u26A0\uFE0F No ONE_SERVER_URL environment set, set it in your .env to your target deploy URL");
|
@@ -79,6 +81,9 @@ async function build(args) {
|
|
79
81
|
treeshake: {
|
80
82
|
moduleSideEffects: "no-external"
|
81
83
|
},
|
84
|
+
plugins: [
|
85
|
+
// otherwise rollup is leaving commonjs-only top level imports...
|
86
|
+
apiOutputFormat === "esm" ? rollupRemoveUnusedImportsPlugin : null].filter(Boolean),
|
82
87
|
// too many issues
|
83
88
|
// treeshake: {
|
84
89
|
// moduleSideEffects: false,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","vxrnBuild","getLoaderPath","getPreloadPath","getManifest","loadUserOneOptions","replaceLoader","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","userOptions","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","info","processEnvDefines","Object","fromEntries","entries","map","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","apiOutputFormat","api","plugins","exclude","define","ssr","noExternal","external","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","treeshake","moduleSideEffects","preserveEntrySignatures","input","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","index","collectImports","imports","css","type","Set","flatMap","found","clientManifest","flat","filter","x","endsWith","startsWith","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","find","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","entryImports","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","paramsList","params","cleanId","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","preloadPath","writeFile","preload","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","code","withLoader","loaderPartialPath","html","errMsg","moveAllFiles","rm","force","recursive","buildInfoForWriting","routeMap","acc","buildInfo","writeJSON","postBuildLogs","web","deploy","platform","afterBuild","VXRN_ANALYZE_BUNDLE","forEach","log","src","dest","copy","overwrite","errorOnExist","strict","nameWithParams","part","split","escapeRegex","string","deps","regexPattern","dep","RegExp"],"sources":["../../../src/vite/build.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,OAAA,MAAa;AACpB,OAAOC,UAAA,MAAgB;AACvB,SAASC,aAAA,QAAqB;AAC9B,OAAOC,IAAA,IAAQC,IAAA,EAAMC,QAAA,QAAgB;AAErC,SAASC,aAAA,QAAqB;AAC9B,SAASC,WAAA,EAAaC,KAAA,IAASC,SAAA,QAAoC;AACnE,SAASC,WAAA,EAAaC,eAAA,EAAiBH,KAAA,IAASI,SAAA,QAA2C;AAC3F,SAASC,aAAA,EAAeC,cAAA,QAAsB;AAG9C,SAASC,WAAA,QAAmB;AAC5B,SAASC,kBAAA,QAA0B;AACnC,SAASC,aAAA,QAAqB;AAG9B,MAAM;EAAEC,SAAA;EAAWC,QAAA;EAAUC;AAAW,IAAIpB,OAAA;AAE5CqB,OAAA,CAAQC,EAAA,CAAG,qBAAsBC,GAAA,IAAQ;EACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,I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A,8BACAnD,QAAQ;AAAA;AAAA;AAAA,IAGlChH,IAAA,CAAKC,SAAA,CAAUqH,MAAA,EAAQ,MAAM,CAAC,CAAC,EACrB;YAGF,OAAO,MAAM6C,IAAA,CAAKjI,OAAA,CAAQ,KAAK,EAAE,EAAEA,OAAA,CAAQ,KAAK,EAAE;UACpD;UACA,OAAOmC,KAAA;QACT;QACA,OAAO8F,IAAA;MACT,CAAC,EACA1N,IAAA,CAAK,GAAG,CAAC;IACd,GAAG;EAEH,OAAO,GAAG4F,OAAO,GAAG6H,cAAc,GAAGhI,OAAA,CAAQ,WAAW,GAAG;AAC7D;AAEA,SAASmI,YAAYC,MAAA,EAAgB;EACnC,OAAOA,MAAA,CAAOpI,OAAA,CAAQ,uBAAuB,MAAM;AACrD;AAEA,SAAS/B,wBAAwBoK,IAAA,EAAgB;EAM/C,MAAMC,YAAA,GAAe,oBAJCD,IAAA,CAAK1K,GAAA,CAAK4K,GAAA,IAAQJ,WAAA,CAAYI,GAAG,CAAC,EAEjBhO,IAAA,CAAK,GAAG,CAEU;EACzD,OAAO,IAAIiO,MAAA,CAAOF,YAAY;AAChC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","rollupRemoveUnusedImportsPlugin","vxrnBuild","getLoaderPath","getPreloadPath","getManifest","loadUserOneOptions","replaceLoader","labelProcess","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","userOptions","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","info","processEnvDefines","Object","fromEntries","entries","map","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","apiOutputFormat","api","plugins","exclude","define","ssr","noExternal","external","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","treeshake","moduleSideEffects","filter","Boolean","preserveEntrySignatures","input","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","index","collectImports","imports","css","type","Set","flatMap","found","clientManifest","flat","x","endsWith","startsWith","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","find","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","entryImports","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","paramsList","params","cleanId","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","preloadPath","writeFile","preload","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","code","withLoader","loaderPartialPath","html","errMsg","moveAllFiles","rm","force","recursive","buildInfoForWriting","routeMap","acc","buildInfo","writeJSON","postBuildLogs","web","deploy","platform","afterBuild","VXRN_ANALYZE_BUNDLE","forEach","log","src","dest","copy","overwrite","errorOnExist","strict","nameWithParams","part","split","escapeRegex","string","deps","regexPattern","dep","RegExp"],"sources":["../../../src/vite/build.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,OAAA,MAAa;AACpB,OAAOC,UAAA,MAAgB;AACvB,SAASC,aAAA,QAAqB;AAC9B,OAAOC,IAAA,IAAQC,IAAA,EAAMC,QAAA,QAAgB;AAErC,SAASC,aAAA,QAAqB;AAC9B,SAASC,WAAA,EAAaC,KAAA,IAASC,SAAA,QAAoC;AACnE,SACEC,WAAA,EACAC,eAAA,EACAC,+BAAA,EACAJ,KAAA,IAASK,SAAA,QAEJ;AACP,SAASC,aAAA,EAAe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AAI,EAAE,GAE9D,IAAIW,MAAA,CAAO6C,IAAI,CAAC;MACzB;MACA,OAAO,IAAInD,QAAA,CACRoD,KAAA,CAAM,GAAG,EACTxK,GAAA,CAAKuK,IAAA,IAAS;QACb,IAAIA,IAAA,CAAK,CAAC,MAAM,KAAK;UACnB,MAAM7F,KAAA,GAAQgD,MAAA,CAAO6C,IAAA,CAAK3J,KAAA,CAAM,GAAG2J,IAAA,CAAK7K,MAAA,GAAS,CAAC,CAAC;UACnD,IAAI,CAACgF,KAAA,EAAO;YACV,IAAI2F,MAAA,EACF,MAAM,IAAI/C,KAAA,CACR;AAAA;AAAA,0BAEUP,IAAI;AAAA,0BACJwD,IAAI;AAAA,8BACAnD,QAAQ;AAAA;AAAA;AAAA,IAGlCjH,IAAA,CAAKC,SAAA,CAAUsH,MAAA,EAAQ,MAAM,CAAC,CAAC,EACrB;YAGF,OAAO,MAAM6C,IAAA,CAAKhI,OAAA,CAAQ,KAAK,EAAE,EAAEA,OAAA,CAAQ,KAAK,EAAE;UACpD;UACA,OAAOmC,KAAA;QACT;QACA,OAAO6F,IAAA;MACT,CAAC,EACA7N,IAAA,CAAK,GAAG,CAAC;IACd,GAAG;EAEH,OAAO,GAAGgG,OAAO,GAAG4H,cAAc,GAAG/H,OAAA,CAAQ,WAAW,GAAG;AAC7D;AAEA,SAASkI,YAAYC,MAAA,EAAgB;EACnC,OAAOA,MAAA,CAAOnI,OAAA,CAAQ,uBAAuB,MAAM;AACrD;AAEA,SAASjC,wBAAwBqK,IAAA,EAAgB;EAM/C,MAAMC,YAAA,GAAe,oBAJCD,IAAA,CAAK3K,GAAA,CAAK6K,GAAA,IAAQJ,WAAA,CAAYI,GAAG,CAAC,EAEjBnO,IAAA,CAAK,GAAG,CAEU;EACzD,OAAO,IAAIoO,MAAA,CAAOF,YAAY;AAChC","ignoreList":[]}
|
@@ -4,11 +4,12 @@ import { createRequire } from "node:module";
|
|
4
4
|
import Path, { join, relative } from "node:path";
|
5
5
|
import { nodeExternals } from "rollup-plugin-node-externals";
|
6
6
|
import { mergeConfig, build as viteBuild } from "vite";
|
7
|
-
import { fillOptions, getOptimizeDeps, build as vxrnBuild } from "vxrn";
|
7
|
+
import { fillOptions, getOptimizeDeps, rollupRemoveUnusedImportsPlugin, build as vxrnBuild } from "vxrn";
|
8
8
|
import { getLoaderPath, getPreloadPath } from "../cleanUrl.native.js";
|
9
9
|
import { getManifest } from "./getManifest.native.js";
|
10
10
|
import { loadUserOneOptions } from "./one.native.js";
|
11
11
|
import { replaceLoader } from "./replaceLoader.native.js";
|
12
|
+
import { labelProcess } from "../cli/label-process.native.js";
|
12
13
|
var {
|
13
14
|
ensureDir,
|
14
15
|
readFile,
|
@@ -18,11 +19,9 @@ process.on("uncaughtException", function (err) {
|
|
18
19
|
console.error(err?.message || err);
|
19
20
|
});
|
20
21
|
async function build(args) {
|
21
|
-
var _userOptions_build_server,
|
22
|
-
|
23
|
-
|
24
|
-
_options_server,
|
25
|
-
userOptions = await loadUserOneOptions("build"),
|
22
|
+
var _userOptions_build_server, _userOptions_build, _userOptions_web, _options_server;
|
23
|
+
labelProcess("build");
|
24
|
+
var userOptions = await loadUserOneOptions("build"),
|
26
25
|
_userOptions_build_server_outputFormat,
|
27
26
|
serverOutputFormat = (_userOptions_build_server_outputFormat = (_userOptions_build = userOptions.build) === null || _userOptions_build === void 0 || (_userOptions_build_server = _userOptions_build.server) === null || _userOptions_build_server === void 0 ? void 0 : _userOptions_build_server.outputFormat) !== null && _userOptions_build_server_outputFormat !== void 0 ? _userOptions_build_server_outputFormat : "esm";
|
28
27
|
process.env.VXRN_REACT_19 = "1", process.env.ONE_SERVER_URL || console.warn("\u26A0\uFE0F No ONE_SERVER_URL environment set, set it in your .env to your target deploy URL");
|
@@ -94,6 +93,9 @@ async function build(args) {
|
|
94
93
|
treeshake: {
|
95
94
|
moduleSideEffects: "no-external"
|
96
95
|
},
|
96
|
+
plugins: [
|
97
|
+
// otherwise rollup is leaving commonjs-only top level imports...
|
98
|
+
apiOutputFormat === "esm" ? rollupRemoveUnusedImportsPlugin : null].filter(Boolean),
|
97
99
|
// too many issues
|
98
100
|
// treeshake: {
|
99
101
|
// moduleSideEffects: false,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","vxrnBuild","getLoaderPath","getPreloadPath","getManifest","loadUserOneOptions","replaceLoader","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","_userOptions_build_server","_userOptions_build","_userOptions_web","_options_server","userOptions","_userOptions_build_server_outputFormat","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","_userOptions_build_api","_userOptions_build1","info","processEnvDefines","Object","fromEntries","entries","map","param","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","_userOptions_build_api_outputFormat","apiOutputFormat","api","plugins","exclude","define","ssr","noExternal","external","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","treeshake","moduleSideEffects","preserveEntrySignatures","input","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","_assetInfo_name","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","_serverImport_default_default","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_loop","index","_step","_vxrnOutput_buildArgs","_foundRoute_layouts","_exported_generateStaticParams","type","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","clientManifest","find","endsWith","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","startsWith","collectImports","imports","css","arguments","Set","flatMap","found","flat","filter","x","entryImports","_foundRoute_layouts_flatMap","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path2","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","_ref","paramsList","call","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_iterator2","Symbol","iterator","_step1","next","done","params","cleanId","path","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","preloadPath","writeFile","preload","_globalThis___vxrnresetState","_globalThis","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","_exported_loader","_ref1","code","withLoader","loaderPartialPath","html","errMsg","return","_iterator","moveAllFiles","rm","force","recursive","routeMap","acc"],"sources":["../../../src/vite/build.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,OAAA,MAAa;AACpB,OAAOC,UAAA,MAAgB;AACvB,SAASC,aAAA,QAAqB;AAC9B,OAAOC,IAAA,IAAQC,IAAA,EAAMC,QAAA,QAAgB;AAErC,SAASC,aAAA,QAAqB;AAC9B,SAASC,WAAA,EAAaC,KAAA,IAASC,SAAA,QAAoC;AACnE,SAASC,WAAA,EAAaC,eAAA,EAAiBH,KAAA,IAASI,SAAA,QAA2C;AAC3F,SAASC,aAAA,EAAeC,cAAA,QAAsB;AAG9C,SAASC,WAAA,QAAmB;AAC5B,SAASC,kBAAA,QAA0B;AACnC,SAASC,aAAA,QAAqB;AAG9B;EAAMC,SAAE;EAAAC,QAAW;EAAAC;AAAU,IAAWpB,OAAI;AAE5CqB,OAAA,CAAQC,EAAA,CAAG,qBAAqB,UAASC,GAAA;EACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;AACnC,CAAC;AAED,eAAsBf,MAAMmB,IAAA,EAGzB;EACD,IAAAC,yBAA0B;IAAAC,kBAAmB;IAAAC,gBACvC;IAAAC,eAAqB;IAAAC,WAAmB,SAAQhB,kBAA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,KAAA,IAAAL,yBAAA,IAAAK,KAAA,GAAAmG,SAAA,CAAA7B,IAAA,IAAAC,IAAA,GAAA5E,yBAAA,aAAAG,KAAA;EAAA,SAAAhH,GACrB;IAGF8G,iBAAO,GAAM,IAAKC,cAAa,GAAI/G,GAAA;EAAe,UACpD;IACA;MACF,CAAA6G,yBAAA,IAAAwG,SAAA,CAAAD,MAAA,YAAAC,SAAA,CAAAD,MAAA;IACA,UAAO;MACR,IACAtG,iBAAS,EACX,MAAAC,cAAA;IAEH;EACF;EAEA,MAAAuG,YAAS,CAAY7G,SAAgB,EAAAC,SAAA,SAAAjI,OAAA,CAAA8O,EAAA,CAAA9G,SAAA;IACnC+G,KAAO;IACTC,SAAA;EAEA;EAME,IAAAC,QAAM,GAAA1H,WAAe,CAAA9C,MAAA,WAJCyK,GAAK,EAAAlL,KAAK;MAKhC;QAAO0J,SAAI;QAAOL;MAAA,IAAYrJ,KAAA;MAChC,OAAAkL,GAAA,CAAAxB,SAAA,IAAAL,QAAA,EAAA6B,GAAA","ignoreList":[]}
|
1
|
+
{"version":3,"names":["FSExtra","MicroMatch","createRequire","Path","join","relative","nodeExternals","mergeConfig","build","viteBuild","fillOptions","getOptimizeDeps","rollupRemoveUnusedImportsPlugin","vxrnBuild","getLoaderPath","getPreloadPath","getManifest","loadUserOneOptions","replaceLoader","labelProcess","ensureDir","readFile","outputFile","process","on","err","console","error","message","args","_userOptions_build_server","_userOptions_build","_userOptions_web","_options_server","userOptions","_userOptions_build_server_outputFormat","serverOutputFormat","server","outputFormat","env","VXRN_REACT_19","ONE_SERVER_URL","warn","vxrnOutput","analyze","options","toAbsolute","p","resolve","root","manifest","optimizeDeps","apiBuildConfig","webBuildConfig","configFile","appType","apiRoutes","length","_userOptions_build_api","_userOptions_build1","info","processEnvDefines","Object","fromEntries","entries","map","param","key","value","JSON","stringify","apiRouteExternalRegex","buildRegexExcludingDeps","include","apiEntryPoints","reduce","page","file","slice","_userOptions_build_api_outputFormat","apiOutputFormat","api","plugins","exclude","define","ssr","noExternal","external","emptyOutDir","outDir","copyPublicDir","minify","rollupOptions","treeshake","moduleSideEffects","filter","Boolean","preserveEntrySignatures","input","output","entryFileNames","exports","format","esModule","chunkInfo","name","replace","chunkFileNames","dir","dirname","basename","extname","assetFileNames","assetInfo","_assetInfo_name","baseName","ext","globalThis","require","import","meta","url","assets","builtRoutes","render","entryServer","serverEntry","_serverImport_default_default","serverImport","default","exit","stack","staticDir","clientDir","outputEntries","serverOutput","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_loop","index","_step","_vxrnOutput_buildArgs","_foundRoute_layouts","_exported_generateStaticParams","type","push","id","facadeModuleId","includes","relativeId","cwd","onlyBuild","buildArgs","only","contains","clientManifestKey","keys","clientManifest","find","endsWith","clientManifestEntry","findMatchingRoute","route","foundRoute","pageRoutes","startsWith","collectImports","imports","css","arguments","Set","flatMap","found","flat","x","entryImports","_foundRoute_layouts_flatMap","layoutEntries","layouts","layout","clientKey","contextKey","layoutImports","entry","preloadSetupFilePreloads","setupFile","needle","file2","preloads","path2","allEntries","allCSS","DEBUG","serverJsPath","fileName","exported","Error","cause","generateStaticParams","_ref","paramsList","call","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_iterator2","Symbol","iterator","_step1","next","done","params","cleanId","path","getPathnameFromFilePath","htmlPath","removeTrailingSlash","clientJsPath","htmlOutPath","loaderData","cleanPath","preloadPath","writeFile","preload","_globalThis___vxrnresetState","_globalThis","loaderProps","__vxrnLoaderProps__","__vxrnresetState","loader","_exported_loader","_ref1","code","withLoader","loaderPartialPath","html","errMsg","return","_iterator","moveAllFiles","rm","force","recursive","routeMap","acc","buildInfoForWriting","buildInfo"],"sources":["../../../src/vite/build.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,OAAA,MAAa;AACpB,OAAOC,UAAA,MAAgB;AACvB,SAASC,aAAA,QAAqB;AAC9B,OAAOC,IAAA,IAAQC,IAAA,EAAMC,QAAA,QAAgB;AAErC,SAASC,aAA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AASC,mBAAA;MAMPF,QAAM;MACNzH;IACF;IAAA4H,SAAA","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["requestAsyncLocalStore","asyncHeadersCache","WeakMap","setCurrentRequestHeaders","cb","mergeHeaders","onto","from"],"sources":["../../../src/vite/Users/n8/
|
1
|
+
{"version":3,"names":["requestAsyncLocalStore","asyncHeadersCache","WeakMap","setCurrentRequestHeaders","cb","mergeHeaders","onto","from"],"sources":["../../../src/vite/Users/n8/one/packages/one/src/vite/headers.native.ts"],"sourcesContent":[null],"mappings":"AAAO,IAAMA,sBAAA,GAAyB;EAEzBC,iBAAA,GAAoB,mBAAIC,OAAA;AAIrC,eAAsBC,yBAAyBC,EAAA,EAA8B,CAAG;AAEzE,SAASC,aAAaC,IAAA,EAAeC,IAAA,EAAa,CAAG","ignoreList":[]}
|
package/dist/esm/vite/one.js
CHANGED
@@ -225,7 +225,7 @@ async function getUserOneOptions(command) {
|
|
225
225
|
await loadUserOneOptions(command);
|
226
226
|
}
|
227
227
|
if (!oneOptions)
|
228
|
-
throw new Error("No
|
228
|
+
throw new Error("No One options were loaded");
|
229
229
|
return oneOptions;
|
230
230
|
}
|
231
231
|
async function loadUserOneOptions(command) {
|
@@ -233,10 +233,10 @@ async function loadUserOneOptions(command) {
|
|
233
233
|
mode: "prod",
|
234
234
|
command
|
235
235
|
}))
|
236
|
-
throw new Error(
|
236
|
+
throw new Error(`No config found in ${process.cwd()}. Is this the correct directory?`);
|
237
237
|
const foundOptions = getUserOneOptions();
|
238
238
|
if (!foundOptions)
|
239
|
-
throw new Error("No One plugin
|
239
|
+
throw new Error("No One plugin found in this vite.config");
|
240
240
|
return foundOptions;
|
241
241
|
}
|
242
242
|
export {
|
package/dist/esm/vite/one.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/one.ts"],
|
4
|
-
"mappings": "AAAA,OAAO,YAAY;AACnB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AM;AAAA,MACN,SAAS;AAAA,MAET,mBAAmB,aAAa;AAC9B,eAAO,iBAAiB,WAAW;AAAA,MACrC;AAAA,MAEA,MAAM,UAAU,IAAI,WAAW,IAAI;AAGjC,YAFuB,gBAAgB,KAAK,QAAQ,GAEhC;AAClB,gBAAM,eAAe,QAAQ,QAAQ,QAAQ,GAAG,EAAE,GAC5C,UAAU,aAAa,QAAQ,WAAW,EAAE,IAAI;AACtD,cAAI,YAAY,GAAI;AACpB,cAAI;AACF,kBAAM,gBAAgB,eAAe;AACrC,gBAAI,MAAM,YAAY,aAAa;AACjC,qBAAO;AAET,gBAAI,MAAM,YAAY,OAAO;AAC3B,qBAAO;AAAA,UAEX,SAAS,KAAK;AACZ,oBAAQ,KAAK,uBAAuB,GAAG;AAAA,UACzC;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,IAEA,iBAAiB;AAAA,MACf,SAAS,CAAC,cAAc;AAAA,IAC1B,CAAC;AAAA,EACH;AACF;AAEA,IAAI,aAAuC;AAE3C,eAAe,kBAAkB,SAA6B;AAC5D,MAAI,CAAC,YAAY;AACf,QAAI,CAAC,QAAS,OAAM,IAAI,MAAM,yCAAyC;AACvE,UAAM,mBAAmB,OAAO;AAAA,EAClC;AACA,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,4BAA4B;AAE9C,SAAO;AACT;AAEA,eAAsB,mBAAmB,SAA4B;AAKnE,MAAI,CAJU,MAAM,mBAAmB;AAAA,IACrC,MAAM;AAAA,IACN;AAAA,EACF,CAAC;AAEC,UAAM,IAAI,MAAM,sBAAsB,QAAQ,IAAI,CAAC,kCAAkC;AAEvF,QAAM,eAAe,kBAAkB;AACvC,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,yCAAyC;AAE3D,SAAO;AACT;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/vite/one.mjs
CHANGED
@@ -205,16 +205,16 @@ async function getUserOneOptions(command) {
|
|
205
205
|
if (!command) throw new Error("Options not loaded and no command given");
|
206
206
|
await loadUserOneOptions(command);
|
207
207
|
}
|
208
|
-
if (!oneOptions) throw new Error("No
|
208
|
+
if (!oneOptions) throw new Error("No One options were loaded");
|
209
209
|
return oneOptions;
|
210
210
|
}
|
211
211
|
async function loadUserOneOptions(command) {
|
212
212
|
if (!(await loadConfigFromFile({
|
213
213
|
mode: "prod",
|
214
214
|
command
|
215
|
-
}))) throw new Error(
|
215
|
+
}))) throw new Error(`No config found in ${process.cwd()}. Is this the correct directory?`);
|
216
216
|
const foundOptions = getUserOneOptions();
|
217
|
-
if (!foundOptions) throw new Error("No One plugin
|
217
|
+
if (!foundOptions) throw new Error("No One plugin found in this vite.config");
|
218
218
|
return foundOptions;
|
219
219
|
}
|
220
220
|
export { loadUserOneOptions, one };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["events","path","dirname","resolve","loadConfigFromFile","tsconfigPaths","getOptimizeDeps","getOptionsFilled","isWebEnvironment","existsAsync","requireResolve","clientTreeShakePlugin","createFileSystemRouter","ensureTSConfig","fixDependenciesPlugin","generateTypesForRoutes","loadEnv","createVirtualEntry","virtualEntryId","vitePluginSsrCss","setMaxListeners","globalThis","__vxrnEnableNativeEnv","one","options","oneOptions","process","cwd","config","__vxrnPluginConfig__","optimizeDeps","optimizeIds","include","optimizeIdRegex","RegExp","map","id","replace","join","tsConfigPathsPlugin","vxrnOptions","devAndProdPlugins","Proxy","name","configIncoming","pathsConfig","tsConfigPaths","plugins","flat","some","p","configResolved","resolveId","get","target","key","thisArg","Reflect","enforce","alias","tslib","define","web","defaultRenderMode","JSON","stringify","setupFile","env","NODE_ENV","server","url","environments","client","ssr","zero","TESTING","REPLICACHE_VERSION","ZERO_VERSION","hotUpdate","modules","m","relative","root","split","sep","acceptedHmrExports","Set","__vxrnAddNativePlugins","__vxrnAddWebPluginsProd","deps","app","sharedNativeConfig","react","ios","android","applyToEnvironment","environment","importer","test","absolutePath","webPath","directoryPath","err","console","warn","entries","getUserOneOptions","command","Error","loadUserO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AA,CAAa9D,OAAA,CAAQ,WAAW,EAAE,IAAI;QACtD,IAAI+D,OAAA,KAAYhE,EAAA,EAAI;QACpB,IAAI;UACF,MAAMiE,aAAA,GAAgBF,YAAA,GAAe;UACrC,IAAI,MAAM1F,WAAA,CAAY4F,aAAa,GACjC,OAAOA,aAAA;UAET,IAAI,MAAM5F,WAAA,CAAY2F,OAAO,GAC3B,OAAOA,OAAA;QAEX,SAASE,GAAA,EAAK;UACZC,OAAA,CAAQC,IAAA,CAAK,uBAAuBF,GAAG;QACzC;MACF;IACF;EACF,GAEAnF,gBAAA,CAAiB;IACfsF,OAAA,EAAS,CAACvF,cAAc;EAC1B,CAAC,EACH;AACF;AAEA,IAAIO,UAAA,GAAuC;AAE3C,eAAeiF,kBAAkBC,OAAA,EAA6B;EAC5D,IAAI,CAAClF,UAAA,EAAY;IACf,IAAI,CAACkF,OAAA,EAAS,MAAM,IAAIC,KAAA,CAAM,yCAAyC;IACvE,MAAMC,kBAAA,CAAmBF,OAAO;EAClC;EACA,IAAI,CAAClF,UAAA,EACH,MAAM,IAAImF,KAAA,CAAM,
|
1
|
+
{"version":3,"names":["events","path","dirname","resolve","loadConfigFromFile","tsconfigPaths","getOptimizeDeps","getOptionsFilled","isWebEnvironment","existsAsync","requireResolve","clientTreeShakePlugin","createFileSystemRouter","ensureTSConfig","fixDependenciesPlugin","generateTypesForRoutes","loadEnv","createVirtualEntry","virtualEntryId","vitePluginSsrCss","setMaxListeners","globalThis","__vxrnEnableNativeEnv","one","options","oneOptions","process","cwd","config","__vxrnPluginConfig__","optimizeDeps","optimizeIds","include","optimizeIdRegex","RegExp","map","id","replace","join","tsConfigPathsPlugin","vxrnOptions","devAndProdPlugins","Proxy","name","configIncoming","pathsConfig","tsConfigPaths","plugins","flat","some","p","configResolved","resolveId","get","target","key","thisArg","Reflect","enforce","alias","tslib","define","web","defaultRenderMode","JSON","stringify","setupFile","env","NODE_ENV","server","url","environments","client","ssr","zero","TESTING","REPLICACHE_VERSION","ZERO_VERSION","hotUpdate","modules","m","relative","root","split","sep","acceptedHmrExports","Set","__vxrnAddNativePlugins","__vxrnAddWebPluginsProd","deps","app","sharedNativeConfig","react","ios","android","applyToEnvironment","environment","importer","test","absolutePath","webPath","directoryPath","err","console","warn","entries","getUserOneOptions","command","Error","loadUserOneOptions","mode","foundOptions"],"sources":["../../../src/vite/one.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,MAAA,MAAY;AACnB,OAAOC,IAAA,IAAQC,OAAA,EAAeC,OAAA,QAAe;AAC7C,SAA0DC,kBAAA,QAA0B;AACpF,OAAOC,aAAA,MAAmB;AAC1B,SAASC,eAAA,EAAiBC,gBAAA,EAAkBC,gBAAA,QAAwB;AACpE,OAAO;AACP,SAASC,WAAA,QAAmB;AAC5B,SAASC,cAAA,QAAsB;AAC/B,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,cAAA,QAAsB;AAC/B,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,OAAA,QAAe;AAExB,SAASC,kBAAA,EAAoBC,cAAA,QAAsB;AACnD,SAASC,gBAAA,QAAwB;AAEjCnB,MAAA,CAAOoB,eAAA,CAAgB,GAAK;AAG5BC,UAAA,CAAWC,qBAAA,GAAwB;AAE5B,SAASC,IAAIC,OAAA,GAA6B,CAAC,GAAiB;EACjEC,UAAA,GAAaD,OAAA,EAERR,OAAA,CAAQU,OAAA,CAAQC,GAAA,CAAI,CAAC,GAGtBH,OAAA,CAAQI,MAAA,EAAQf,cAAA,KAAmB,MAChCA,cAAA,CAAe,GAGtBQ,UAAA,CAAWQ,oBAAA,GAA0BL,OAAA;EAGrC,MAAM;MAAEM;IAAa,IAAIxB,eAAA,CAAgB,OAAO;IAC1CyB,WAAA,GAAcD,YAAA,CAAaE,OAAA;IAC3BC,eAAA,GAAkB,IAAIC,MAAA;IAAA;IAAA;IAG1B,GAAGH,WAAA,CAAYI,GAAA,CAAKC,E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;AACT","ignoreList":[]}
|
@@ -223,7 +223,7 @@ async function getUserOneOptions(command) {
|
|
223
223
|
if (!command) throw new Error("Options not loaded and no command given");
|
224
224
|
await loadUserOneOptions(command);
|
225
225
|
}
|
226
|
-
if (!oneOptions) throw new Error("No
|
226
|
+
if (!oneOptions) throw new Error("No One options were loaded");
|
227
227
|
return oneOptions;
|
228
228
|
}
|
229
229
|
async function loadUserOneOptions(command) {
|
@@ -231,9 +231,9 @@ async function loadUserOneOptions(command) {
|
|
231
231
|
mode: "prod",
|
232
232
|
command
|
233
233
|
});
|
234
|
-
if (!found) throw new Error(
|
234
|
+
if (!found) throw new Error(`No config found in ${process.cwd()}. Is this the correct directory?`);
|
235
235
|
var foundOptions = getUserOneOptions();
|
236
|
-
if (!foundOptions) throw new Error("No One plugin
|
236
|
+
if (!foundOptions) throw new Error("No One plugin found in this vite.config");
|
237
237
|
return foundOptions;
|
238
238
|
}
|
239
239
|
export { loadUserOneOptions, one };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["events","path","dirname","resolve","loadConfigFromFile","tsconfigPaths","getOptimizeDeps","getOptionsFilled","isWebEnvironment","existsAsync","requireResolve","clientTreeShakePlugin","createFileSystemRouter","ensureTSConfig","fixDependenciesPlugin","generateTypesForRoutes","loadEnv","createVirtualEntry","virtualEntryId","vitePluginSsrCss","setMaxListeners","globalThis","__vxrnEnableNativeEnv","one","options","arguments","length","_options_config","oneOptions","process","cwd","config","__vxrnPluginConfig__","optimizeDeps","optimizeIds","include","optimizeIdRegex","RegExp","map","id","replace","join","tsConfigPathsPlugin","vxrnOptions","devAndProdPlugins","Proxy","name","configIncoming","_options_config2","_configIncoming_plugins","pathsConfig","tsConfigPaths","plugins","flat","some","p","configResolved","resolveId","get","target","key","thisArg","Reflect","enforce","alias","tslib","_options_web","define","web","defaultRenderMode","JSON","stringify","setupFile","env","NODE_ENV","server","url","environments","client","ssr","zero","TESTING","REPLICACHE_VERSION","ZERO_VERSION","hotUpdate","param","modules","m","relativePath","relative","root","rootDir","split","sep","acceptedHmrExports","Set","__vxrnAddNativePlugins","__vxrnAddWebPluginsProd","deps","_options_app","app","sharedNativeConfig","react","ios","android","applyToEnvironment","environment","importer","shouldOptimize","test","absolutePath","webPath","directoryPath","err","console","warn","entries","getUserOneOptions","command","Error","loadUserOneOptions","found","mode"],"sources":["../../../src/vite/one.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,MAAA,MAAY;AACnB,OAAOC,IAAA,IAAQC,OAAA,EAAeC,OAAA,QAAe;AAC7C,SAA0DC,kBAAA,QAA0B;AACpF,OAAOC,aAAA,MAAmB;AAC1B,SAASC,eAAA,EAAiBC,gBAAA,EAAkBC,gBAAA,QAAwB;AACpE,OAAO;AACP,SAASC,WAAA,QAAmB;AAC5B,SAASC,cAAA,QAAsB;AAC/B,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,cAAA,QAAsB;AAC/B,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,OAAA,QAAe;AAExB,SAASC,kBAAA,EAAoBC,cAAA,QAAsB;AACnD,SAASC,gBAAA,QAAwB;AAEjCnB,MAAA,CAAOoB,eAAA,CAAgB,GAAK;AAG5BC,UAAA,CAAWC,qBAAA,GAAwB;AAE5B,SAASC,IAAA,EAAI;EAClB,IAAAC,OAAA,GAAaC,SAER,CAAAC,MAAQ,QAAQD,SAGjB,QAAQ,SAAQA,SAAA,QAAmB;IAAAE,eAChC;EAMPC,UAAQ,GAAAJ,OAAA,EAAaR,OAAI,CAAAa,OAAA,CAAAC,GAAgB,OAAOH,eAC1C,GAAcH,OAAA,CAAAO,MAAa,UAC3B,IAAAJ,eAAsB,uBAAAA,eAAA,CAAAd,cAAA,YAAAA,cAAA,IAAAQ,UAAA,CAAAW,oBAAA,GAAAR,OAAA;EAAA;MAAAS;IAAA,IAAA3B,eAAA;IAAA4B,WAAA,GAAAD,YAAA,CAAAE,OAAA;IAAA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MAErB,OAAIlG,gBAAgB,CAAAkG,WAAA;IACpB;IACE,MAAAjD,SAAMA,CAAAlB,EAAA;MACN,IAAAoE,QAAI,GAAMlF,SAAA,CAAAC,MAAY,QAAaD,SAAA,iBAAAA,SAAA;QAAAmF,cAAA,GAAAxE,eAAA,CAAAyE,IAAA,CAAAF,QAAA;MACjC,IAAAC,cAAO;QAET,IAAAE,YAAU,GAAA3G,OAAY,CAAAD,OAAO,CAAAyG,QAAA,GAAApE,EAAA;UAAAwE,OAAA,GAAAD,YAAA,CAAAtE,OAAA;QAC3B,IAAAuE,OAAO,KAAAxE,EAAA;QAEX;UACE,IAAAyE,aAAa,GAAAF,YAAA,kBAA0B;UACzC,UAAArG,WAAA,CAAAuG,aAAA,GACF,OAAAA,aAAA;UACF,UAAAvG,WAAA,CAAAsG,OAAA,GACF,OAAAA,OAAA;QAEA,SAAAE,GAAiB;UACfC,OAAU,CAAAC,IAAA,sBAAc,EAAAF,GAAA;QACzB;MACH;IACF;EAEI,GAEJ9F,gBAAe;IACTiG,OAAC,GACClG,cAAU;EAEhB,GACA;AACE;AAEF,IAAAU,UAAO;AACT,eAAAyF,kBAAAC,OAAA;EAEA,KAAA1F,UAAsB;IAKpB,IAJc,CAAA0F,OAAM,YAAAC,KAAmB;IACrC,MAAMC,kBAAA,CAAAF,OAAA;EAAA;EAER,IAAC,CAAA1F,UAAA,EAEC,MAAM,IAAI2F,KAAA,CAAM,
|
1
|
+
{"version":3,"names":["events","path","dirname","resolve","loadConfigFromFile","tsconfigPaths","getOptimizeDeps","getOptionsFilled","isWebEnvironment","existsAsync","requireResolve","clientTreeShakePlugin","createFileSystemRouter","ensureTSConfig","fixDependenciesPlugin","generateTypesForRoutes","loadEnv","createVirtualEntry","virtualEntryId","vitePluginSsrCss","setMaxListeners","globalThis","__vxrnEnableNativeEnv","one","options","arguments","length","_options_config","oneOptions","process","cwd","config","__vxrnPluginConfig__","optimizeDeps","optimizeIds","include","optimizeIdRegex","RegExp","map","id","replace","join","tsConfigPathsPlugin","vxrnOptions","devAndProdPlugins","Proxy","name","configIncoming","_options_config2","_configIncoming_plugins","pathsConfig","tsConfigPaths","plugins","flat","some","p","configResolved","resolveId","get","target","key","thisArg","Reflect","enforce","alias","tslib","_options_web","define","web","defaultRenderMode","JSON","stringify","setupFile","env","NODE_ENV","server","url","environments","client","ssr","zero","TESTING","REPLICACHE_VERSION","ZERO_VERSION","hotUpdate","param","modules","m","relativePath","relative","root","rootDir","split","sep","acceptedHmrExports","Set","__vxrnAddNativePlugins","__vxrnAddWebPluginsProd","deps","_options_app","app","sharedNativeConfig","react","ios","android","applyToEnvironment","environment","importer","shouldOptimize","test","absolutePath","webPath","directoryPath","err","console","warn","entries","getUserOneOptions","command","Error","loadUserOneOptions","found","mode"],"sources":["../../../src/vite/one.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,MAAA,MAAY;AACnB,OAAOC,IAAA,IAAQC,OAAA,EAAeC,OAAA,QAAe;AAC7C,SAA0DC,kBAAA,QAA0B;AACpF,OAAOC,aAAA,MAAmB;AAC1B,SAASC,eAAA,EAAiBC,gBAAA,EAAkBC,gBAAA,QAAwB;AACpE,OAAO;AACP,SAASC,WAAA,QAAmB;AAC5B,SAASC,cAAA,QAAsB;AAC/B,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,cAAA,QAAsB;AAC/B,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,SAASC,OAAA,QAAe;AAExB,SAASC,kBAAA,EAAoBC,cAAA,QAAsB;AACnD,SAASC,gBAAA,QAAwB;AAEjCnB,MAAA,CAAOoB,eAAA,CAAgB,GAAK;AAG5BC,UAAA,CAAWC,qBAAA,GAAwB;AAE5B,SAASC,IAAA,EAAI;EAClB,IAAAC,OAAA,GAAaC,SAER,CAAAC,MAAQ,QAAQD,SAGjB,QAAQ,SAAQA,SAAA,QAAmB;IAAAE,eAChC;EAMPC,UAAQ,GAAAJ,OAAA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