@better-fullstack/template-generator 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.d.mts +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/fs-writer.mjs +1 -1
- package/dist/fs-writer.mjs.map +1 -1
- package/dist/index.d.mts +7 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{preflight-validation-7pkmA0GD.d.mts → preflight-validation-CKPm09jX.d.mts} +2 -2
- package/dist/{preflight-validation-7pkmA0GD.d.mts.map → preflight-validation-CKPm09jX.d.mts.map} +1 -1
- package/dist/{preflight-validation-BESv0Djl.mjs → preflight-validation-qM1EvU0f.mjs} +65254 -63302
- package/dist/preflight-validation-qM1EvU0f.mjs.map +1 -0
- package/package.json +2 -2
- package/dist/preflight-validation-BESv0Djl.mjs.map +0 -1
package/dist/browser.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as VirtualFileTree, i as VirtualFile, n as GeneratorResult, o as VirtualNode, r as VirtualDirectory, t as GeneratorOptions } from "./types-Jq14WnvH.mjs";
|
|
2
|
-
import { a as TEMPLATE_COUNT, c as TemplateData, i as EMBEDDED_TEMPLATES, n as PreflightWarning, o as generateVirtualProject, r as validatePreflightConfig, t as PreflightResult } from "./preflight-validation-
|
|
2
|
+
import { a as TEMPLATE_COUNT, c as TemplateData, i as EMBEDDED_TEMPLATES, n as PreflightWarning, o as generateVirtualProject, r as validatePreflightConfig, t as PreflightResult } from "./preflight-validation-CKPm09jX.mjs";
|
|
3
3
|
export { EMBEDDED_TEMPLATES, GeneratorOptions, GeneratorResult, type PreflightResult, type PreflightWarning, TEMPLATE_COUNT, type TemplateData, VirtualDirectory, VirtualFile, VirtualFileTree, VirtualNode, generateVirtualProject, validatePreflightConfig };
|
package/dist/browser.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as generateVirtualProject, n as EMBEDDED_TEMPLATES, r as TEMPLATE_COUNT, t as validatePreflightConfig } from "./preflight-validation-
|
|
1
|
+
import { i as generateVirtualProject, n as EMBEDDED_TEMPLATES, r as TEMPLATE_COUNT, t as validatePreflightConfig } from "./preflight-validation-qM1EvU0f.mjs";
|
|
2
2
|
|
|
3
3
|
export { EMBEDDED_TEMPLATES, TEMPLATE_COUNT, generateVirtualProject, validatePreflightConfig };
|
package/dist/fs-writer.mjs
CHANGED
|
@@ -24,7 +24,7 @@ async function writeNode(node, baseDir, relativePath) {
|
|
|
24
24
|
}
|
|
25
25
|
async function writeSelectedFiles(tree, destDir, filter) {
|
|
26
26
|
const writtenFiles = [];
|
|
27
|
-
|
|
27
|
+
for (const child of tree.root.children) await writeSelectedNode(child, destDir, "", filter, writtenFiles);
|
|
28
28
|
return writtenFiles;
|
|
29
29
|
}
|
|
30
30
|
async function writeSelectedNode(node, baseDir, relativePath, filter, writtenFiles) {
|
package/dist/fs-writer.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fs-writer.mjs","names":["writtenFiles: string[]"],"sources":["../src/fs-writer.ts"],"sourcesContent":["import * as fs from \"node:fs/promises\";\nimport { join, dirname } from \"pathe\";\n\nimport type { VirtualFileTree, VirtualNode, VirtualFile, VirtualDirectory } from \"./types\";\n\nimport { getBinaryTemplatesRoot } from \"./core/template-reader\";\n\nconst BINARY_FILE_MARKER = \"[Binary file]\";\nconst EXECUTABLE_FILE_NAMES = new Set([\"mvnw\", \"gradlew\"]);\n\nexport async function writeTreeToFilesystem(tree: VirtualFileTree, destDir: string): Promise<void> {\n for (const child of tree.root.children) {\n await writeNode(child, destDir, \"\");\n }\n}\n\nasync function writeNode(node: VirtualNode, baseDir: string, relativePath: string): Promise<void> {\n const fullPath = join(baseDir, relativePath, node.name);\n const nodePath = relativePath ? join(relativePath, node.name) : node.name;\n\n if (node.type === \"file\") {\n const fileNode = node as VirtualFile;\n await fs.mkdir(dirname(fullPath), { recursive: true });\n\n if (fileNode.content === BINARY_FILE_MARKER && fileNode.sourcePath) {\n await copyBinaryFile(fileNode.sourcePath, fullPath);\n } else if (fileNode.content !== BINARY_FILE_MARKER) {\n await fs.writeFile(fullPath, fileNode.content, \"utf-8\");\n }\n await maybeMakeExecutable(fullPath, node.name);\n } else {\n await fs.mkdir(fullPath, { recursive: true });\n for (const child of (node as VirtualDirectory).children) {\n await writeNode(child, baseDir, nodePath);\n }\n }\n}\n\nexport async function writeSelectedFiles(\n tree: VirtualFileTree,\n destDir: string,\n filter: (filePath: string) => boolean,\n): Promise<string[]> {\n const writtenFiles: string[] = [];\n
|
|
1
|
+
{"version":3,"file":"fs-writer.mjs","names":["writtenFiles: string[]"],"sources":["../src/fs-writer.ts"],"sourcesContent":["import * as fs from \"node:fs/promises\";\nimport { join, dirname } from \"pathe\";\n\nimport type { VirtualFileTree, VirtualNode, VirtualFile, VirtualDirectory } from \"./types\";\n\nimport { getBinaryTemplatesRoot } from \"./core/template-reader\";\n\nconst BINARY_FILE_MARKER = \"[Binary file]\";\nconst EXECUTABLE_FILE_NAMES = new Set([\"mvnw\", \"gradlew\"]);\n\nexport async function writeTreeToFilesystem(tree: VirtualFileTree, destDir: string): Promise<void> {\n for (const child of tree.root.children) {\n await writeNode(child, destDir, \"\");\n }\n}\n\nasync function writeNode(node: VirtualNode, baseDir: string, relativePath: string): Promise<void> {\n const fullPath = join(baseDir, relativePath, node.name);\n const nodePath = relativePath ? join(relativePath, node.name) : node.name;\n\n if (node.type === \"file\") {\n const fileNode = node as VirtualFile;\n await fs.mkdir(dirname(fullPath), { recursive: true });\n\n if (fileNode.content === BINARY_FILE_MARKER && fileNode.sourcePath) {\n await copyBinaryFile(fileNode.sourcePath, fullPath);\n } else if (fileNode.content !== BINARY_FILE_MARKER) {\n await fs.writeFile(fullPath, fileNode.content, \"utf-8\");\n }\n await maybeMakeExecutable(fullPath, node.name);\n } else {\n await fs.mkdir(fullPath, { recursive: true });\n for (const child of (node as VirtualDirectory).children) {\n await writeNode(child, baseDir, nodePath);\n }\n }\n}\n\nexport async function writeSelectedFiles(\n tree: VirtualFileTree,\n destDir: string,\n filter: (filePath: string) => boolean,\n): Promise<string[]> {\n const writtenFiles: string[] = [];\n for (const child of tree.root.children) {\n await writeSelectedNode(child, destDir, \"\", filter, writtenFiles);\n }\n return writtenFiles;\n}\n\nasync function writeSelectedNode(\n node: VirtualNode,\n baseDir: string,\n relativePath: string,\n filter: (filePath: string) => boolean,\n writtenFiles: string[],\n): Promise<void> {\n const nodePath = relativePath ? `${relativePath}/${node.name}` : node.name;\n\n if (node.type === \"file\") {\n if (filter(nodePath)) {\n const fileNode = node as VirtualFile;\n await fs.mkdir(dirname(join(baseDir, nodePath)), { recursive: true });\n\n if (fileNode.content === BINARY_FILE_MARKER && fileNode.sourcePath) {\n await copyBinaryFile(fileNode.sourcePath, join(baseDir, nodePath));\n } else if (fileNode.content !== BINARY_FILE_MARKER) {\n await fs.writeFile(join(baseDir, nodePath), fileNode.content, \"utf-8\");\n }\n await maybeMakeExecutable(join(baseDir, nodePath), node.name);\n writtenFiles.push(nodePath);\n }\n } else {\n for (const child of (node as VirtualDirectory).children) {\n await writeSelectedNode(child, baseDir, nodePath, filter, writtenFiles);\n }\n }\n}\n\nasync function copyBinaryFile(templatePath: string, destPath: string): Promise<void> {\n const templatesRoot = getBinaryTemplatesRoot();\n const sourcePath = join(templatesRoot, templatePath);\n\n try {\n await fs.copyFile(sourcePath, destPath);\n } catch (error) {\n console.warn(`Failed to copy binary file: ${templatePath}`, error);\n }\n}\n\nasync function maybeMakeExecutable(fullPath: string, fileName: string): Promise<void> {\n if (!EXECUTABLE_FILE_NAMES.has(fileName)) return;\n\n try {\n await fs.chmod(fullPath, 0o755);\n } catch (error) {\n console.warn(`Failed to mark file as executable: ${fullPath}`, error);\n }\n}\n"],"mappings":";;;;;AAOA,MAAM,qBAAqB;AAC3B,MAAM,wBAAwB,IAAI,IAAI,CAAC,QAAQ,UAAU,CAAC;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,mBAC9B,OAAM,GAAG,UAAU,KAAK,SAAS,SAAS,EAAE,SAAS,SAAS,QAAQ;AAExE,SAAM,oBAAoB,KAAK,SAAS,SAAS,EAAE,KAAK,KAAK;AAC7D,gBAAa,KAAK,SAAS;;OAG7B,MAAK,MAAM,SAAU,KAA0B,SAC7C,OAAM,kBAAkB,OAAO,SAAS,UAAU,QAAQ,aAAa;;AAK7E,eAAe,eAAe,cAAsB,UAAiC;CAEnF,MAAM,aAAa,KADG,wBAAwB,EACP,aAAa;AAEpD,KAAI;AACF,QAAM,GAAG,SAAS,YAAY,SAAS;UAChC,OAAO;AACd,UAAQ,KAAK,+BAA+B,gBAAgB,MAAM;;;AAItE,eAAe,oBAAoB,UAAkB,UAAiC;AACpF,KAAI,CAAC,sBAAsB,IAAI,SAAS,CAAE;AAE1C,KAAI;AACF,QAAM,GAAG,MAAM,UAAU,IAAM;UACxB,OAAO;AACd,UAAQ,KAAK,sCAAsC,YAAY,MAAM"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { a as VirtualFileTree, i as VirtualFile, n as GeneratorResult, o as VirtualNode, r as VirtualDirectory, t as GeneratorOptions } from "./types-Jq14WnvH.mjs";
|
|
2
|
-
import { a as TEMPLATE_COUNT, c as TemplateData, i as EMBEDDED_TEMPLATES, l as VirtualFileSystem, n as PreflightWarning, o as generateVirtualProject, r as validatePreflightConfig, s as processAddonTemplates, t as PreflightResult } from "./preflight-validation-
|
|
2
|
+
import { a as TEMPLATE_COUNT, c as TemplateData, i as EMBEDDED_TEMPLATES, l as VirtualFileSystem, n as PreflightWarning, o as generateVirtualProject, r as validatePreflightConfig, s as processAddonTemplates, t as PreflightResult } from "./preflight-validation-CKPm09jX.mjs";
|
|
3
3
|
import Handlebars from "handlebars";
|
|
4
4
|
import { ProjectConfig } from "@better-fullstack/types";
|
|
5
5
|
|
|
6
6
|
//#region src/core/template-processor.d.ts
|
|
7
7
|
declare function normalizeElixirAppName(projectName?: string): string;
|
|
8
8
|
declare function elixirModuleName(projectName?: string): string;
|
|
9
|
+
declare function elixirDeployAppName(projectName?: string): string;
|
|
9
10
|
declare function nativeApplicationId(projectName?: string): string;
|
|
10
11
|
declare function processTemplateString(content: string, context: ProjectConfig): string;
|
|
11
12
|
declare function isBinaryFile(filePath: string): boolean;
|
|
@@ -79,6 +80,7 @@ declare const dependencyVersionMap: {
|
|
|
79
80
|
readonly "@tauri-apps/cli": "^2.11.3";
|
|
80
81
|
readonly "@tauri-apps/api": "^2.11.1";
|
|
81
82
|
readonly "@biomejs/biome": "^2.5.0";
|
|
83
|
+
readonly ultracite: "^7.8.3";
|
|
82
84
|
readonly oxlint: "^1.70.0";
|
|
83
85
|
readonly oxfmt: "^0.55.0";
|
|
84
86
|
readonly husky: "^9.1.7";
|
|
@@ -248,6 +250,9 @@ declare const dependencyVersionMap: {
|
|
|
248
250
|
readonly react: "^19.2.7";
|
|
249
251
|
readonly "react-dom": "^19.2.7";
|
|
250
252
|
readonly "@types/react": "^19.2.17";
|
|
253
|
+
readonly "@wxt-dev/module-react": "^1.1.5";
|
|
254
|
+
readonly wxt: "^0.20.27";
|
|
255
|
+
readonly "@opentui/core": "^0.4.1";
|
|
251
256
|
readonly nodemailer: "^9.0.1";
|
|
252
257
|
readonly "@types/react-dom": "^19.2.3";
|
|
253
258
|
readonly "@types/nodemailer": "^8.0.1";
|
|
@@ -684,5 +689,5 @@ declare function getDependencyVersionMap(): Record<string, string>;
|
|
|
684
689
|
*/
|
|
685
690
|
declare function listEcosystems(): string[];
|
|
686
691
|
//#endregion
|
|
687
|
-
export { type AvailableDependencies, CheckResult, ECOSYSTEM_GROUPS, EMBEDDED_TEMPLATES, GeneratorOptions, GeneratorResult, Handlebars, NpmPackageInfo, type PreflightResult, type PreflightWarning, TEMPLATE_COUNT, TemplateData, UpdateType, VersionInfo, VersionMismatch, VirtualDirectory, VirtualFile, VirtualFileSystem, VirtualFileTree, VirtualNode, checkAllVersions, checkVersionExists, compareVersions, dependencyVersionMap, elixirModuleName, fetchLatestVersion, findTemplateFilesWithPackage, generateCliReport, generateMarkdownReport, generateUpdatedVersionMap, generateVirtualProject, getDependencyVersionMap, getEcosystem, getUpdateType, groupByEcosystem, isBinaryFile, listEcosystems, nativeApplicationId, normalizeElixirAppName, parseVersion, processAddonTemplates, processAddonsDeps, processFileContent, processTemplateString, scanTemplateVersions, transformFilename, validatePreflightConfig };
|
|
692
|
+
export { type AvailableDependencies, CheckResult, ECOSYSTEM_GROUPS, EMBEDDED_TEMPLATES, GeneratorOptions, GeneratorResult, Handlebars, NpmPackageInfo, type PreflightResult, type PreflightWarning, TEMPLATE_COUNT, TemplateData, UpdateType, VersionInfo, VersionMismatch, VirtualDirectory, VirtualFile, VirtualFileSystem, VirtualFileTree, VirtualNode, checkAllVersions, checkVersionExists, compareVersions, dependencyVersionMap, elixirDeployAppName, elixirModuleName, fetchLatestVersion, findTemplateFilesWithPackage, generateCliReport, generateMarkdownReport, generateUpdatedVersionMap, generateVirtualProject, getDependencyVersionMap, getEcosystem, getUpdateType, groupByEcosystem, isBinaryFile, listEcosystems, nativeApplicationId, normalizeElixirAppName, parseVersion, processAddonTemplates, processAddonsDeps, processFileContent, processTemplateString, scanTemplateVersions, transformFilename, validatePreflightConfig };
|
|
688
693
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/core/template-processor.ts","../src/processors/addons-deps.ts","../src/utils/add-deps.ts","../src/utils/dependency-checker.ts"],"sourcesContent":[],"mappings":";;;;;;iBAqQgB,sBAAA;iBA4BA,gBAAA;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/core/template-processor.ts","../src/processors/addons-deps.ts","../src/utils/add-deps.ts","../src/utils/dependency-checker.ts"],"sourcesContent":[],"mappings":";;;;;;iBAqQgB,sBAAA;iBA4BA,gBAAA;iBAUA,mBAAA;i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AAuHX,CAAA,EAAA;AA8GA;AAuFA;;AAEc,iBA5mBE,YAAA,CA4mBF,WAAA,EAAA,MAAA,CAAA,EAAA;EACX,KAAA,EAAA,MAAA;EAAM,KAAA,EAAA,MAAA;EAaO,KAAA,EAAA,MAAA;EAOA,GAAA,EAAA,MAAA;;;;;;iBAvjBA,eAAA;;;;iBAaA,aAAA,mCAAgD;iBAgF1C,kBAAA;;IAGnB;;;;iBAmCmB,kBAAA,4CAGnB;;;;iBA2Ca,YAAA;;;;iBAqBA,gBAAA,sBAAsC;iBAsBhC,gBAAA;eACP;qBACM;;;;;;IAMjB,QAAQ;;;;iBAuHI,sBAAA,SAA+B;;;;iBA8G/B,iBAAA,SAA0B;;;;iBAuF1B,yBAAA,UACL,2BACG,yBACX;;;;iBAaa,uBAAA,CAAA,GAA2B;;;;iBAO3B,cAAA,CAAA"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as processAddonTemplates, c as Handlebars, d as
|
|
1
|
+
import { _ as VirtualFileSystem, a as processAddonTemplates, c as Handlebars, d as isBinaryFile, f as nativeApplicationId, g as transformFilename, h as processTemplateString, i as generateVirtualProject, l as elixirDeployAppName, m as processFileContent, n as EMBEDDED_TEMPLATES, o as processAddonsDeps, p as normalizeElixirAppName, r as TEMPLATE_COUNT, s as dependencyVersionMap, t as validatePreflightConfig, u as elixirModuleName } from "./preflight-validation-qM1EvU0f.mjs";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
@@ -758,5 +758,5 @@ function listEcosystems() {
|
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
//#endregion
|
|
761
|
-
export { ECOSYSTEM_GROUPS, EMBEDDED_TEMPLATES, Handlebars, TEMPLATE_COUNT, VirtualFileSystem, checkAllVersions, checkVersionExists, compareVersions, dependencyVersionMap, elixirModuleName, fetchLatestVersion, findTemplateFilesWithPackage, generateCliReport, generateMarkdownReport, generateUpdatedVersionMap, generateVirtualProject, getDependencyVersionMap, getEcosystem, getUpdateType, groupByEcosystem, isBinaryFile, listEcosystems, nativeApplicationId, normalizeElixirAppName, parseVersion, processAddonTemplates, processAddonsDeps, processFileContent, processTemplateString, scanTemplateVersions, transformFilename, validatePreflightConfig };
|
|
761
|
+
export { ECOSYSTEM_GROUPS, EMBEDDED_TEMPLATES, Handlebars, TEMPLATE_COUNT, VirtualFileSystem, checkAllVersions, checkVersionExists, compareVersions, dependencyVersionMap, elixirDeployAppName, elixirModuleName, fetchLatestVersion, findTemplateFilesWithPackage, generateCliReport, generateMarkdownReport, generateUpdatedVersionMap, generateVirtualProject, getDependencyVersionMap, getEcosystem, getUpdateType, groupByEcosystem, isBinaryFile, listEcosystems, nativeApplicationId, normalizeElixirAppName, parseVersion, processAddonTemplates, processAddonsDeps, processFileContent, processTemplateString, scanTemplateVersions, transformFilename, validatePreflightConfig };
|
|
762
762
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -47,7 +47,7 @@ declare function generateVirtualProject(options: GeneratorOptions): Promise<Gene
|
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/templates.generated.d.ts
|
|
49
49
|
declare const EMBEDDED_TEMPLATES: Map<string, string>;
|
|
50
|
-
declare const TEMPLATE_COUNT =
|
|
50
|
+
declare const TEMPLATE_COUNT = 1410;
|
|
51
51
|
//#endregion
|
|
52
52
|
//#region src/preflight-validation.d.ts
|
|
53
53
|
declare class PreflightWarning {
|
|
@@ -76,4 +76,4 @@ declare class PreflightResult {
|
|
|
76
76
|
declare const validatePreflightConfig: (config: ProjectConfig) => PreflightResult;
|
|
77
77
|
//#endregion
|
|
78
78
|
export { TEMPLATE_COUNT as a, TemplateData as c, EMBEDDED_TEMPLATES as i, VirtualFileSystem as l, PreflightWarning as n, generateVirtualProject as o, validatePreflightConfig as r, processAddonTemplates as s, PreflightResult as t };
|
|
79
|
-
//# sourceMappingURL=preflight-validation-
|
|
79
|
+
//# sourceMappingURL=preflight-validation-CKPm09jX.d.mts.map
|
package/dist/{preflight-validation-7pkmA0GD.d.mts.map → preflight-validation-CKPm09jX.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preflight-validation-
|
|
1
|
+
{"version":3,"file":"preflight-validation-CKPm09jX.d.mts","names":[],"sources":["../src/core/virtual-fs.ts","../src/template-handlers/utils.ts","../src/template-handlers/addons.ts","../src/generator.ts","../src/templates.generated.ts","../src/preflight-validation.ts"],"sourcesContent":[],"mappings":";;;;;;;;AASA;;cAAa,iBAAA;;ECHD,QAAA,KAAA;;;;ECwGU,MAAA,CAAA,IAAA,EAAA,MAAA,CAAA,EAAA,OAAqB;EACpC,UAAA,CAAA,QAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EACM,eAAA,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EACH,KAAA,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,IAAA;EACP,UAAA,CAAA,QAAA,EAAA,MAAA,CAAA,EAAA,OAAA;EAAO,OAAA,CAAA,OAAA,EAAA,MAAA,CAAA,EAAA,MAAA,EAAA;2CFtCiC;;;EGwHrB,iBAAA,CAAA,CAAA,EAAA,MAAsB,EAAA;EAAU,YAAA,CAAA,CAAA,EAAA,MAAA;EAA2B,iBAAA,CAAA,CAAA,EAAA,MAAA;EAAR,MAAA,CAAA,QAAA,CAAA,EAAA,MAAA,CAAA,EHtFzC,gBGsFyC;EAAO,KAAA,CAAA,CAAA,EAAA,IAAA;;;;ECjMnE,QAAA,aA4xnFX;EAEW,QAAA,iBAAc;;;;;KH3xnFf,YAAA,GAAe;;;iBCwGL,qBAAA,MACf,8BACM,sBACH,gBACP;;;iBCkFmB,sBAAA,UAAgC,mBAAmB,QAAQ;;;cCjMpE,oBAAoB;cA8xnFpB,cAAA;;;cC/xnFA,gBAAA;;;ELOA,SAAA,UAAA,EAAiB,MKJD,aLyGG;;;;ECxGpB,WAAA,CAAA,KAAY,EAAA;;;+BIOO;I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