@nestia/editor 11.0.2 → 11.1.0

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.
@@ -654,8 +654,8 @@ export default NESTIA_CONFIG;
654
654
  "homepage": "https://github.com/samchon/nestia-start#readme",
655
655
  "devDependencies": {
656
656
  "@autobe/interface": "^0.10.6",
657
- "@nestia/benchmark": "^11.0.2",
658
- "@nestia/e2e": "^11.0.2",
657
+ "@nestia/benchmark": "^11.1.0",
658
+ "@nestia/e2e": "^11.1.0",
659
659
  "@nestjs/cli": "^11.0.16",
660
660
  "@rollup/plugin-terser": "^0.4.4",
661
661
  "@rollup/plugin-typescript": "^11.1.6",
@@ -674,7 +674,7 @@ export default NESTIA_CONFIG;
674
674
  "copy-webpack-plugin": "^11.0.0",
675
675
  "eslint-plugin-deprecation": "^3.0.0",
676
676
  "express": "^4.18.2",
677
- "nestia": "^11.0.2",
677
+ "nestia": "^11.1.0",
678
678
  "prettier": "^3.2.4",
679
679
  "prettier-plugin-prisma": "^5.0.0",
680
680
  "rimraf": "^3.0.2",
@@ -691,9 +691,9 @@ export default NESTIA_CONFIG;
691
691
  "write-file-webpack-plugin": "^4.5.1"
692
692
  },
693
693
  "dependencies": {
694
- "@nestia/core": "^11.0.2",
695
- "@nestia/fetcher": "^11.0.2",
696
- "@nestia/sdk": "^11.0.2",
694
+ "@nestia/core": "^11.1.0",
695
+ "@nestia/fetcher": "^11.1.0",
696
+ "@nestia/sdk": "^11.1.0",
697
697
  "@nestjs/common": "^11.1.16",
698
698
  "@nestjs/core": "^11.1.16",
699
699
  "@nestjs/platform-express": "^11.1.16",
@@ -802,7 +802,7 @@ Nestia is a set of helper libraries for NestJS, supporting below features:
802
802
  "README.md"
803
803
  ],
804
804
  "dependencies": {
805
- "@nestia/fetcher": "^11.0.2",
805
+ "@nestia/fetcher": "^11.1.0",
806
806
  "tgrid": "^1.2.1",
807
807
  "typia": "^12.0.0"
808
808
  }
@@ -1787,7 +1787,7 @@ main().catch((exp) => {
1787
1787
  // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
1788
1788
 
1789
1789
  /* Modules */
1790
- "module": "commonjs", /* Specify what module code is generated. */
1790
+ "module": "nodenext", /* Specify what module code is generated. */
1791
1791
  "rootDir": "./src", /* Specify the root folder within your source files. */
1792
1792
  // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
1793
1793
  // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
@@ -2160,12 +2160,12 @@ print("npm run test:simulate", "Test with mockup simulator");
2160
2160
  "README.md"
2161
2161
  ],
2162
2162
  "dependencies": {
2163
- "@nestia/fetcher": "^11.0.2",
2163
+ "@nestia/fetcher": "^11.1.0",
2164
2164
  "tgrid": "^1.2.1",
2165
2165
  "typia": "^12.0.0"
2166
2166
  },
2167
2167
  "devDependencies": {
2168
- "@nestia/e2e": "^11.0.2",
2168
+ "@nestia/e2e": "^11.1.0",
2169
2169
  "@rollup/plugin-terser": "^0.4.4",
2170
2170
  "@rollup/plugin-typescript": "^11.1.6",
2171
2171
  "@trivago/prettier-plugin-sort-imports": "^4.3.0",
@@ -3999,7 +3999,6 @@ main().catch((exp) => {
3999
3999
  `,"test/tsconfig.json":`{
4000
4000
  "extends": "../tsconfig.json",
4001
4001
  "compilerOptions": {
4002
- "rootDir": "..",
4003
4002
  "noEmit": true,
4004
4003
  "paths": {
4005
4004
  "@ORGANIZATION/PROJECT-api": ["../src"],
@@ -4113,8 +4112,8 @@ export namespace ArgumentParser {
4113
4112
  // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
4114
4113
  // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
4115
4114
  /* Modules */
4116
- "module": "commonjs", /* Specify what module code is generated. */
4117
- "rootDir": "src", /* Specify the root folder within your source files. */
4115
+ "module": "nodenext", /* Specify what module code is generated. */
4116
+ // "rootDir": "src", /* Specify the root folder within your source files. */
4118
4117
  // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
4119
4118
  // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
4120
4119
  "paths": {
@@ -4711,7 +4710,7 @@ Additional information: BADCLIENT: Bad error code, ${O0} not found in range ${M_
4711
4710
  `)},eraseCommentTags=Bt=>Bt.split(`
4712
4711
  `).filter(I_=>COMMENT_TAGS.every(O_=>!I_.includes(O_))).join(`
4713
4712
  `),COMMENT_TAGS=["@format","@pattern","@length","@minLength","@maxLength","@contentMediaType","@type","@minimum","@maximum","@exclusiveMinimum","@exclusiveMaximum","@multipleOf","@items","@minItems","@maxItems","@uniqueItems"];var NestiaMigrateApiFunctionProgrammer;(Bt=>{Bt.write=J_=>FilePrinter.description(ts$1.factory.createFunctionDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword),ts$1.factory.createModifier(ts$1.SyntaxKind.AsyncKeyword)],void 0,J_.route.accessor.at(-1),void 0,(0,Bt.writeParameterDeclarations)(J_),ts$1.factory.createTypeReferenceNode("Promise",[ts$1.factory.createTypeReferenceNode(J_.route.success===null?"void":`${J_.route.accessor.at(-1)}.Response`)]),ts$1.factory.createBlock(I_(J_),!0)),D_(J_.config,J_.route)),Bt.writeParameterDeclarations=(J_,G_)=>{var q_;const Y_=IdentifierFactory.parameter(G_??"connection",ts$1.factory.createTypeReferenceNode(J_.importer.external({type:"instance",library:"@nestia/fetcher",name:"IConnection"}),J_.route.headers?[ts$1.factory.createTypeReferenceNode(`${J_.route.accessor.at(-1)}.Headers`)]:void 0));return J_.config.keyword===!0?(J_.route.parameters.length>0||!!J_.route.query||!!J_.route.body)===!1?[Y_]:[Y_,ts$1.factory.createParameterDeclaration(void 0,void 0,"props",void 0,ts$1.factory.createTypeReferenceNode(`${J_.route.accessor.at(-1)}.Props`))]:[Y_,...J_.route.parameters.map(M0=>IdentifierFactory.parameter(M0.key,NestiaMigrateSchemaProgrammer.write({components:J_.components,importer:J_.importer,schema:M0.schema}))),...J_.route.query?[IdentifierFactory.parameter(J_.route.query.key,ts$1.factory.createTypeReferenceNode(`${J_.route.accessor.at(-1)}.Query`))]:[],...J_.route.body?[IdentifierFactory.parameter(J_.route.body.key,ts$1.factory.createTypeReferenceNode(`${J_.route.accessor.at(-1)}.Body`),(J_.route.body.type==="application/json"||J_.route.body.type==="text/plain")&&((q_=J_.route.operation().requestBody)==null?void 0:q_.required)===!1?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0)]:[]]};const D_=(J_,G_)=>{var q_,M0;const Y_=G_.comment();return[J_.keyword===!0?Y_.split("@param ").join("@param props."):Y_,`@path ${G_.emendedPath}`,`@accessor api.functional.${G_.accessor.join(".")}`,`@${((q_=J_.author)==null?void 0:q_.tag)??"nestia"} ${((M0=J_.author)==null?void 0:M0.value)??"Generated by Nestia - https://github.com/samchon/nestia"}`].join(`
4714
- `)},I_=J_=>{var B0,K0;const G_=!!((B0=J_.route.success)!=null&&B0["x-nestia-encrypted"]),Y_=((K0=J_.route.body)==null?void 0:K0.type)??"application/json",q_=G0=>J_.config.keyword===!0?IdentifierFactory.access(ts$1.factory.createIdentifier("props"),G0):ts$1.factory.createIdentifier(G0),M0=()=>ts$1.factory.createAwaitExpression(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(J_.importer.external({type:"instance",library:"@nestia/fetcher",name:G_?"EncryptedFetcher":"PlainFetcher"})),"fetch"),void 0,[Y_&&Y_!=="multipart/form-data"?ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(ts$1.factory.createIdentifier("connection")),ts$1.factory.createPropertyAssignment("headers",ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(IdentifierFactory.access(ts$1.factory.createIdentifier("connection"),"headers")),ts$1.factory.createPropertyAssignment(ts$1.factory.createStringLiteral("Content-Type"),ts$1.factory.createStringLiteral(Y_))],!0))],!0):ts$1.factory.createIdentifier("connection"),ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(IdentifierFactory.access(ts$1.factory.createIdentifier(J_.route.accessor.at(-1)),"METADATA")),ts$1.factory.createPropertyAssignment("path",ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(J_.route.accessor.at(-1)),"path"),void 0,O_(J_,!1))),ts$1.factory.createPropertyAssignment("status",ts$1.factory.createNull())],!0),...J_.route.body?[q_(J_.route.body.key)]:[]])),Q_=J_.config.simulate!==!0?M0():ts$1.factory.createConditionalExpression(ts$1.factory.createStrictEquality(ts$1.factory.createTrue(),ts$1.factory.createIdentifier("connection.simulate")),void 0,ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(`${J_.route.accessor.at(-1)}.simulate`),[],[ts$1.factory.createIdentifier("connection"),...O_(J_,!0)]),void 0,M0()),Z_=R_(J_.route.comment());return Z_.length===0?[ts$1.factory.createReturnStatement(Q_)]:[StatementFactory.constant({name:"output",type:ts$1.factory.createTypeReferenceNode(`${J_.route.accessor.at(-1)}.Response`),value:Q_}),ts$1.factory.createExpressionStatement(ts$1.factory.createBinaryExpression(ts$1.factory.createIdentifier("connection.headers"),ts$1.factory.createToken(ts$1.SyntaxKind.QuestionQuestionEqualsToken),ts$1.factory.createObjectLiteralExpression([]))),...Z_.map(G0=>ts$1.factory.createExpressionStatement(G0.type==="assign"?ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Object.assign"),void 0,[ts$1.factory.createIdentifier("connection.headers"),ts$1.factory.createIdentifier(`output.${G0.accessor}`)]):ts$1.factory.createBinaryExpression(ts$1.factory.createIdentifier(`connection.headers${NamingConvention.variable(G0.property)?`.${G0.property}`:`[${JSON.stringify(G0.property)}]`}`),ts$1.factory.createToken(ts$1.SyntaxKind.EqualsToken),ts$1.factory.createIdentifier(`output.${G0.accessor}`)))),ts$1.factory.createReturnStatement(ts$1.factory.createIdentifier("output"))]},O_=(J_,G_)=>J_.route.parameters.length===0&&J_.route.query===null&&(G_===!1||J_.route.body===null)?[]:J_.config.keyword===!0?[ts$1.factory.createIdentifier("props")]:[...J_.route.parameters.map(Y_=>ts$1.factory.createIdentifier(Y_.key)),...J_.route.query?[ts$1.factory.createIdentifier(J_.route.query.key)]:[],...G_&&J_.route.body?[ts$1.factory.createIdentifier(J_.route.body.key)]:[]],R_=J_=>{const G_=[];for(const Y_ of J_.split(`
4713
+ `)},I_=J_=>{var B0,K0;const G_=!!((B0=J_.route.success)!=null&&B0["x-nestia-encrypted"]),Y_=((K0=J_.route.body)==null?void 0:K0.type)??"application/json",q_=G0=>J_.config.keyword===!0?IdentifierFactory.access(ts$1.factory.createIdentifier("props"),G0):ts$1.factory.createIdentifier(G0),M0=()=>ts$1.factory.createAwaitExpression(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(J_.importer.external({type:"instance",library:G_?"@nestia/fetcher/lib/EncryptedFetcher":"@nestia/fetcher",name:G_?"EncryptedFetcher":"PlainFetcher"})),"fetch"),void 0,[Y_&&Y_!=="multipart/form-data"?ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(ts$1.factory.createIdentifier("connection")),ts$1.factory.createPropertyAssignment("headers",ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(IdentifierFactory.access(ts$1.factory.createIdentifier("connection"),"headers")),ts$1.factory.createPropertyAssignment(ts$1.factory.createStringLiteral("Content-Type"),ts$1.factory.createStringLiteral(Y_))],!0))],!0):ts$1.factory.createIdentifier("connection"),ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(IdentifierFactory.access(ts$1.factory.createIdentifier(J_.route.accessor.at(-1)),"METADATA")),ts$1.factory.createPropertyAssignment("path",ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(J_.route.accessor.at(-1)),"path"),void 0,O_(J_,!1))),ts$1.factory.createPropertyAssignment("status",ts$1.factory.createNull())],!0),...J_.route.body?[q_(J_.route.body.key)]:[]])),Q_=J_.config.simulate!==!0?M0():ts$1.factory.createConditionalExpression(ts$1.factory.createStrictEquality(ts$1.factory.createTrue(),ts$1.factory.createIdentifier("connection.simulate")),void 0,ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(`${J_.route.accessor.at(-1)}.simulate`),[],[ts$1.factory.createIdentifier("connection"),...O_(J_,!0)]),void 0,M0()),Z_=R_(J_.route.comment());return Z_.length===0?[ts$1.factory.createReturnStatement(Q_)]:[StatementFactory.constant({name:"output",type:ts$1.factory.createTypeReferenceNode(`${J_.route.accessor.at(-1)}.Response`),value:Q_}),ts$1.factory.createExpressionStatement(ts$1.factory.createBinaryExpression(ts$1.factory.createIdentifier("connection.headers"),ts$1.factory.createToken(ts$1.SyntaxKind.QuestionQuestionEqualsToken),ts$1.factory.createObjectLiteralExpression([]))),...Z_.map(G0=>ts$1.factory.createExpressionStatement(G0.type==="assign"?ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Object.assign"),void 0,[ts$1.factory.createIdentifier("connection.headers"),ts$1.factory.createIdentifier(`output.${G0.accessor}`)]):ts$1.factory.createBinaryExpression(ts$1.factory.createIdentifier(`connection.headers${NamingConvention.variable(G0.property)?`.${G0.property}`:`[${JSON.stringify(G0.property)}]`}`),ts$1.factory.createToken(ts$1.SyntaxKind.EqualsToken),ts$1.factory.createIdentifier(`output.${G0.accessor}`)))),ts$1.factory.createReturnStatement(ts$1.factory.createIdentifier("output"))]},O_=(J_,G_)=>J_.route.parameters.length===0&&J_.route.query===null&&(G_===!1||J_.route.body===null)?[]:J_.config.keyword===!0?[ts$1.factory.createIdentifier("props")]:[...J_.route.parameters.map(Y_=>ts$1.factory.createIdentifier(Y_.key)),...J_.route.query?[ts$1.factory.createIdentifier(J_.route.query.key)]:[],...G_&&J_.route.body?[ts$1.factory.createIdentifier(J_.route.body.key)]:[]],R_=J_=>{const G_=[];for(const Y_ of J_.split(`
4715
4714
  `).map(q_=>q_.trim()))if(Y_.startsWith("@setHeader ")){const q_=Y_.substring(11).trim().split(/\s+/);q_.length>=2&&G_.push({type:"set",accessor:q_[0],property:q_[1]})}else if(Y_.startsWith("@assignHeaders ")){const q_=Y_.substring(15).trim();q_.length!==0&&G_.push({type:"assign",accessor:q_})}return G_}})(NestiaMigrateApiFunctionProgrammer||(NestiaMigrateApiFunctionProgrammer={}));var NestiaMigrateApiSimulationProgrammer;(Bt=>{Bt.random=O_=>{const R_=O_.route.success?NestiaMigrateSchemaProgrammer.write({components:O_.components,importer:O_.importer,schema:O_.route.success.schema}):TypeFactory.keyword("void");return constant$1("random",ts$1.factory.createArrowFunction(void 0,void 0,[],R_,void 0,ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(O_.importer.external({type:"default",library:"typia",name:"typia"})),"random"),[R_],void 0)))},Bt.simulate=O_=>{const R_=()=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("random"),void 0,void 0);return constant$1("simulate",ts$1.factory.createArrowFunction(void 0,void 0,NestiaMigrateApiFunctionProgrammer.writeParameterDeclarations(O_,O_.route.parameters.length===0&&O_.route.query===null&&O_.route.body===null?"_connection":void 0),ts$1.factory.createTypeReferenceNode(O_.route.success?"Response":"void"),void 0,ts$1.factory.createBlock([...D_(O_),ts$1.factory.createReturnStatement(R_())],!0)))};const D_=O_=>{var q_;const R_=M0=>O_.config.keyword===!0?IdentifierFactory.access(ts$1.factory.createIdentifier("props"),M0):ts$1.factory.createIdentifier(M0),J_=[...O_.route.parameters.map(M0=>({category:"param",name:M0.key,schema:NestiaMigrateSchemaProgrammer.write({components:O_.components,importer:O_.importer,schema:M0.schema})})),...O_.route.query?[{category:"query",name:O_.route.query.key,schema:NestiaMigrateSchemaProgrammer.write({components:O_.components,importer:O_.importer,schema:O_.route.query.schema})}]:[],...O_.route.body?[{category:"body",name:O_.route.body.key,schema:NestiaMigrateSchemaProgrammer.write({components:O_.components,importer:O_.importer,schema:O_.route.body.schema})}]:[]];if(J_.length===0)return[];const G_=StatementFactory.constant({name:"assert",value:ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(O_.importer.external({type:"instance",library:"@nestia/fetcher",name:"NestiaSimulator"})),"assert"),void 0,[ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment("method",ts$1.factory.createIdentifier("METADATA.method")),ts$1.factory.createPropertyAssignment("host",ts$1.factory.createIdentifier("connection.host")),ts$1.factory.createPropertyAssignment("path",NestiaMigrateApiNamespaceProgrammer.writePathCallExpression(O_.config,O_.route)),ts$1.factory.createPropertyAssignment("contentType",ts$1.factory.createStringLiteral(((q_=O_.route.success)==null?void 0:q_.type)??"application/json"))],!0)])}),Y_=J_.map(M0=>ts$1.factory.createCallExpression((()=>{const Q_=IdentifierFactory.access(ts$1.factory.createIdentifier("assert"),M0.category);return M0.category!=="param"?Q_:ts$1.factory.createCallExpression(Q_,void 0,[ts$1.factory.createStringLiteral(M0.name)])})(),void 0,[ts$1.factory.createArrowFunction(void 0,void 0,[],void 0,void 0,ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(O_.importer.external({type:"default",library:"typia",name:"typia"})),"assert"),void 0,[M0.category==="headers"?ts$1.factory.createIdentifier("connection.headers"):R_(M0.name)]))])).map(ts$1.factory.createExpressionStatement);return[G_,I_(O_.importer,Y_)]},I_=(O_,R_)=>ts$1.factory.createTryStatement(ts$1.factory.createBlock(R_,!0),ts$1.factory.createCatchClause("exp",ts$1.factory.createBlock([ts$1.factory.createIfStatement(ts$1.factory.createLogicalNot(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(O_.external({type:"default",library:"typia",name:"typia"})),"is"),[ts$1.factory.createTypeReferenceNode(O_.external({type:"instance",library:"@nestia/fetcher",name:"HttpError"}))],[ts$1.factory.createIdentifier("exp")])),ts$1.factory.createThrowStatement(ts$1.factory.createIdentifier("exp"))),ts$1.factory.createReturnStatement(ts$1.factory.createAsExpression(ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment("success",ts$1.factory.createFalse()),ts$1.factory.createPropertyAssignment("status",ts$1.factory.createIdentifier("exp.status")),ts$1.factory.createPropertyAssignment("headers",ts$1.factory.createIdentifier("exp.headers")),ts$1.factory.createPropertyAssignment("data",ts$1.factory.createIdentifier("exp.toJSON().message"))],!0),TypeFactory.keyword("any")))],!0)),void 0)})(NestiaMigrateApiSimulationProgrammer||(NestiaMigrateApiSimulationProgrammer={}));const constant$1=(Bt,D_)=>ts$1.factory.createVariableStatement([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(ts$1.factory.createIdentifier(Bt),void 0,void 0,D_)],ts$1.NodeFlags.Const));var NestiaMigrateApiNamespaceProgrammer;(Bt=>{Bt.write=R_=>{const J_=D_(R_);return ts$1.factory.createModuleDeclaration([ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createIdentifier(R_.route.accessor.at(-1)),ts$1.factory.createModuleBlock([...J_,...J_.length?[FilePrinter.newLine()]:[],I_(R_),FilePrinter.newLine(),O_(R_),...R_.config.simulate===!0?[NestiaMigrateApiSimulationProgrammer.random(R_),NestiaMigrateApiSimulationProgrammer.simulate(R_)]:[]]),ts$1.NodeFlags.Namespace)},Bt.writePathCallExpression=(R_,J_)=>ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(`${J_.accessor.at(-1)}.path`),void 0,J_.parameters.length===0&&J_.query===null?[]:R_.keyword===!0?[ts$1.factory.createIdentifier("props")]:[...J_.parameters,...J_.query?[J_.query]:[]].map(G_=>ts$1.factory.createIdentifier(G_.key)));const D_=R_=>{const J_=[],G_=(Y_,q_)=>J_.push(ts$1.factory.createTypeAliasDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],Y_,void 0,q_));return R_.config.keyword===!0&&(R_.route.parameters.length>0||R_.route.query||R_.route.body)&&G_("Props",NestiaMigrateSchemaProgrammer.write({components:R_.components,importer:R_.importer,schema:{type:"object",properties:Object.fromEntries([...R_.route.parameters.map(Y_=>[Y_.key,{...Y_.schema,description:Y_.parameter().description}]),...R_.route.query?[[R_.route.query.key,{...R_.route.query.schema,title:R_.route.query.title(),description:R_.route.query.description()}]]:[],...R_.route.body?[[R_.route.body.key,{...R_.route.body.schema,description:R_.route.body.description()}]]:[]]),required:[...R_.route.parameters.map(Y_=>Y_.key),...R_.route.query?[R_.route.query.key]:[],...R_.route.body?[R_.route.body.key]:[]]}})),R_.route.headers&&G_("Headers",NestiaMigrateSchemaProgrammer.write({components:R_.components,importer:R_.importer,schema:R_.route.headers.schema})),R_.route.query&&G_("Query",NestiaMigrateSchemaProgrammer.write({components:R_.components,importer:R_.importer,schema:R_.route.query.schema})),R_.route.body&&G_("Body",NestiaMigrateSchemaProgrammer.write({components:R_.components,importer:R_.importer,schema:R_.route.body.schema})),R_.route.success&&G_("Response",NestiaMigrateSchemaProgrammer.write({components:R_.components,importer:R_.importer,schema:R_.route.success.schema})),J_},I_=R_=>{var J_,G_,Y_;return constant("METADATA",ts$1.factory.createAsExpression(ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment("method",ts$1.factory.createStringLiteral(R_.route.method.toUpperCase())),ts$1.factory.createPropertyAssignment("path",ts$1.factory.createStringLiteral(getPath(R_.route))),ts$1.factory.createPropertyAssignment("request",R_.route.body?LiteralFactory.write({type:R_.route.body.type,encrypted:!!R_.route.body["x-nestia-encrypted"]}):ts$1.factory.createNull()),ts$1.factory.createPropertyAssignment("response",R_.route.method.toUpperCase()!=="HEAD"?LiteralFactory.write({type:((J_=R_.route.success)==null?void 0:J_.type)??"application/json",encrypted:!!((G_=R_.route.success)!=null&&G_["x-nestia-encrypted"])}):ts$1.factory.createNull()),...((Y_=R_.route.success)==null?void 0:Y_.type)==="application/x-www-form-urlencoded"?[ts$1.factory.createPropertyAssignment("parseQuery",ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(`${R_.importer.external({type:"default",library:"typia",name:"typia"})}.http.createAssertQuery`),[NestiaMigrateSchemaProgrammer.write({components:R_.components,importer:R_.importer,schema:R_.route.success.schema})],void 0))]:[]],!0),ts$1.factory.createTypeReferenceNode(ts$1.factory.createIdentifier("const"))))},O_=R_=>{const J_=R_.route.parameters.length===0&&R_.route.query===null,G_=Z_=>R_.config.keyword===!0?IdentifierFactory.access(ts$1.factory.createIdentifier("props"),Z_):ts$1.factory.createIdentifier(Z_),Y_=Z_=>constant("path",ts$1.factory.createArrowFunction([],[],J_?[]:R_.config.keyword===!0?[IdentifierFactory.parameter("props",R_.route.body?ts$1.factory.createTypeReferenceNode("Omit",[ts$1.factory.createTypeReferenceNode("Props"),ts$1.factory.createLiteralTypeNode(ts$1.factory.createStringLiteral(R_.route.body.key))]):ts$1.factory.createTypeReferenceNode("Props"))]:[...R_.route.parameters.map(B0=>IdentifierFactory.parameter(B0.key,NestiaMigrateSchemaProgrammer.write({components:R_.components,importer:R_.importer,schema:B0.schema}))),...R_.route.query?[IdentifierFactory.parameter(R_.route.query.key,ts$1.factory.createTypeReferenceNode(`${R_.route.accessor.at(-1)}.Query`))]:[]],void 0,void 0,Z_)),q_=()=>{const Z_=getPath(R_.route),B0=Z_.split(":");return B0.length===1?ts$1.factory.createStringLiteral(Z_):ts$1.factory.createTemplateExpression(ts$1.factory.createTemplateHead(B0[0]),B0.slice(1).map((K0,G0,ey)=>{const Wv=K0.split("/")[0];return ts$1.factory.createTemplateSpan(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("encodeURIComponent"),void 0,[ts$1.factory.createBinaryExpression(G_(R_.route.parameters.find(Xv=>Xv.name===Wv).key),ts$1.factory.createToken(ts$1.SyntaxKind.QuestionQuestionToken),ts$1.factory.createStringLiteral("null"))]),(G0!==ey.length-1?ts$1.factory.createTemplateMiddle:ts$1.factory.createTemplateTail)(K0.substring(Wv.length)))}))};if(!R_.route.query)return Y_(q_());const M0=Z_=>R_.route.parameters.find(B0=>B0.key===Z_)!==void 0?M0("_"+Z_):Z_,Q_=M0("variables");return Y_(ts$1.factory.createBlock([local({name:Q_,type:"URLSearchParams",expression:ts$1.factory.createNewExpression(ts$1.factory.createIdentifier("URLSearchParams"),[],[])}),ts$1.factory.createForOfStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(ts$1.factory.createArrayBindingPattern([ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier("key"),void 0),ts$1.factory.createBindingElement(void 0,void 0,ts$1.factory.createIdentifier("value"),void 0)]),void 0,void 0,void 0)],ts$1.NodeFlags.Const),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Object.entries"),void 0,[ts$1.factory.createAsExpression(G_(R_.route.query.key),TypeFactory.keyword("any"))]),ts$1.factory.createIfStatement(ts$1.factory.createStrictEquality(ts$1.factory.createIdentifier("undefined"),ts$1.factory.createIdentifier("value")),ts$1.factory.createContinueStatement(),ts$1.factory.createIfStatement(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Array.isArray"),void 0,[ts$1.factory.createIdentifier("value")]),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("value"),ts$1.factory.createIdentifier("forEach")),void 0,[ts$1.factory.createArrowFunction(void 0,void 0,[IdentifierFactory.parameter("elem")],void 0,void 0,ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(Q_),"append"),void 0,[ts$1.factory.createIdentifier("key"),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("String"),void 0,[ts$1.factory.createIdentifier("elem")])]))])),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(Q_),"set"),void 0,[ts$1.factory.createIdentifier("key"),ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("String"),void 0,[ts$1.factory.createIdentifier("value")])]))))),local({name:"location",type:"string",expression:q_()}),ts$1.factory.createReturnStatement(ts$1.factory.createConditionalExpression(ts$1.factory.createStrictEquality(ExpressionFactory.number(0),IdentifierFactory.access(ts$1.factory.createIdentifier(Q_),"size")),void 0,ts$1.factory.createIdentifier("location"),void 0,ts$1.factory.createTemplateExpression(ts$1.factory.createTemplateHead(""),[ts$1.factory.createTemplateSpan(ts$1.factory.createIdentifier("location"),ts$1.factory.createTemplateMiddle("?")),ts$1.factory.createTemplateSpan(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(Q_),"toString"),void 0,void 0),ts$1.factory.createTemplateTail(""))])))],!0))}})(NestiaMigrateApiNamespaceProgrammer||(NestiaMigrateApiNamespaceProgrammer={}));const constant=(Bt,D_)=>ts$1.factory.createVariableStatement([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(Bt,void 0,void 0,D_)],ts$1.NodeFlags.Const)),getPath=Bt=>(Bt.emendedPath.startsWith("/")?"":"/")+Bt.emendedPath,local=Bt=>ts$1.factory.createVariableStatement([],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration(Bt.name,void 0,ts$1.factory.createTypeReferenceNode(Bt.type),Bt.expression)],ts$1.NodeFlags.Const));var TypeLiteralFactory;(Bt=>{Bt.generate=Y_=>typeof Y_=="boolean"?O_(Y_):typeof Y_=="number"?I_(Y_):typeof Y_=="string"?D_(Y_):typeof Y_=="object"?Y_===null?R_():Array.isArray(Y_)?J_(Y_):G_(Y_):ts$1.factory.createKeywordTypeNode(ts$1.SyntaxKind.AnyKeyword);const D_=Y_=>ts$1.factory.createLiteralTypeNode(ts$1.factory.createStringLiteral(Y_)),I_=Y_=>ts$1.factory.createLiteralTypeNode(Y_<0?ts$1.factory.createPrefixUnaryExpression(ts$1.SyntaxKind.MinusToken,ts$1.factory.createNumericLiteral(-Y_)):ts$1.factory.createNumericLiteral(Y_)),O_=Y_=>ts$1.factory.createLiteralTypeNode(Y_?ts$1.factory.createTrue():ts$1.factory.createFalse()),R_=()=>ts$1.factory.createLiteralTypeNode(ts$1.factory.createNull()),J_=Y_=>ts$1.factory.createTupleTypeNode(Y_.map(Bt.generate)),G_=Y_=>ts$1.factory.createTypeLiteralNode(Object.entries(Y_).map(([q_,M0])=>ts$1.factory.createPropertySignature(void 0,NamingConvention.variable(q_)?ts$1.factory.createIdentifier(q_):ts$1.factory.createStringLiteral(q_),void 0,(0,Bt.generate)(M0))))})(TypeLiteralFactory||(TypeLiteralFactory={}));var MapUtil;(Bt=>{Bt.take=D_=>I_=>O_=>{const R_=D_.get(I_);if(R_)return R_;const J_=O_();return D_.set(I_,J_),J_}})(MapUtil||(MapUtil={}));class NestiaMigrateImportProgrammer{constructor(){this.external_=new Map,this.dtos_=new Set}empty(){return this.external_.size===0&&this.dtos_.size===0}external(D_){const I_=MapUtil.take(this.external_)(D_.library)(()=>({default:null,instances:new Set})),O_=D_.name.split(".")[0];return D_.type==="default"?I_.default=D_.name:I_.instances.add(O_),O_}dto(D_,I_){const O_=D_.split(".")[0];return this.dtos_.add(O_),ts$1.factory.createTypeReferenceNode(I_!=null&&I_.length?ts$1.factory.createQualifiedName(ts$1.factory.createIdentifier(I_),ts$1.factory.createIdentifier(O_)):D_)}tag(D_,I_){const O_=this.external({type:"instance",library:"typia",name:"tags"});return ts$1.factory.createTypeReferenceNode(`${O_}.${D_}`,I_===void 0?[]:[TypeLiteralFactory.generate(I_)])}toStatements(D_,I_){return[...[...this.external_.entries()].map(([O_,R_])=>ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,R_.default!==null?ts$1.factory.createIdentifier(R_.default):void 0,R_.instances.size?ts$1.factory.createNamedImports([...R_.instances].map(J_=>ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier(J_)))):void 0),ts$1.factory.createStringLiteral(O_))),...this.external_.size&&this.dtos_.size?[FilePrinter.newLine()]:[],...[...this.dtos_].filter(I_?O_=>O_!==I_.split(".")[0]:()=>!0).map(O_=>ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,void 0,ts$1.factory.createNamedImports([ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier(O_))])),ts$1.factory.createStringLiteral(D_(O_))))]}}var NestiaMigrateApiFileProgrammer;(Bt=>{Bt.write=D_=>{const I_=new NestiaMigrateImportProgrammer,O_=D_.routes.map(R_=>[FilePrinter.newLine(),NestiaMigrateApiFunctionProgrammer.write({config:D_.config,components:D_.components,importer:I_,route:R_}),NestiaMigrateApiNamespaceProgrammer.write({config:D_.config,components:D_.components,importer:I_,route:R_})]).flat();return[...I_.toStatements(R_=>`../${"../".repeat(D_.namespace.length)}structures/${R_}`),...[...D_.children].map(R_=>ts$1.factory.createExportDeclaration(void 0,!1,ts$1.factory.createNamespaceExport(ts$1.factory.createIdentifier(R_)),ts$1.factory.createStringLiteral(`./${R_}/index`),void 0)),...O_]}})(NestiaMigrateApiFileProgrammer||(NestiaMigrateApiFileProgrammer={}));var NestiaMigrateDtoProgrammer;(Bt=>{Bt.compose=O_=>{const R_=new Map;for(const[J_,G_]of Object.entries(O_.components.schemas??{})){const Y_=J_.split("/").filter(q_=>q_.length!==0).map(StringUtil.escapeNonVariable).join("");D_(R_)(Y_)(q_=>I_(O_.config)(O_.components)(q_)(Y_,G_))}return R_};const D_=O_=>R_=>J_=>{const G_=R_.split("."),Y_={value:null};return G_.forEach((q_,M0)=>{Y_.value=MapUtil.take(O_)(q_)(()=>({name:q_,children:new Map,programmer:null})),M0===G_.length-1&&(Y_.value.programmer=J_),O_=Y_.value.children}),Y_},I_=O_=>R_=>J_=>(G_,Y_)=>FilePrinter.description(ts$1.factory.createTypeAliasDeclaration([ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],G_.split(".").at(-1),[],NestiaMigrateSchemaProgrammer.write({components:R_,importer:J_,schema:Y_})),writeComment(O_)(Y_,G_.indexOf(".")===-1))})(NestiaMigrateDtoProgrammer||(NestiaMigrateDtoProgrammer={}));const writeComment=Bt=>(D_,I_)=>{var O_,R_,J_,G_;return[...(O_=D_.description)!=null&&O_.length?[D_.description]:[],...(R_=D_.description)!=null&&R_.length&&(D_.title!==void 0||D_.deprecated===!0)?[""]:[],...D_.title!==void 0?[`@title ${D_.title}`]:[],...D_.deprecated===!0?["@deprecated"]:[],...I_?[`@${((J_=Bt.author)==null?void 0:J_.tag)??"nestia"} ${((G_=Bt.author)==null?void 0:G_.value)??"Generated by Nestia - https://github.com/samchon/nestia"}`]:[]].join(`
4716
4715
  `)};var NestiaMigrateApiProgrammer;(Bt=>{Bt.write=O_=>{const R_=new HashMap(G_=>hash(G_.join(".")),(G_,Y_)=>G_.length===Y_.length&&G_.join(".")===Y_.join("."));for(const G_ of O_.application.routes){const Y_=G_.accessor.slice(0,-1);let q_=R_.take(Y_,()=>({config:O_.config,components:O_.application.document().components,namespace:Y_,routes:[],children:new Set}));q_.routes.push(G_),Y_.forEach((M0,Q_,Z_)=>{const B0=Y_.slice(0,Z_.length-Q_-1),K0=R_.take(B0,()=>({config:O_.config,components:O_.application.document().components,namespace:B0,children:new Set,routes:[]}));K0.children.add(q_.namespace.at(-1)),q_=K0})}const J_=Object.fromEntries(R_.toJSON().map(({second:G_})=>[`src/${O_.mode==="nest"?"api/":""}functional/${[...G_.namespace,"index.ts"].join("/")}`,FilePrinter.write({statements:NestiaMigrateApiFileProgrammer.write({...G_,config:O_.config,components:O_.application.document().components})})]));if(O_.mode==="sdk")for(const[G_,Y_]of NestiaMigrateDtoProgrammer.compose({config:O_.config,components:O_.application.document().components}).entries())J_[`src/structures/${G_}.ts`]=FilePrinter.write({statements:D_(G_,Y_)});return J_};const D_=(O_,R_)=>{const J_=new NestiaMigrateImportProgrammer,G_=I_(J_,R_);return G_.length===0?[]:[...J_.toStatements(Y_=>`./${Y_}`,O_),...J_.empty()?[]:[FilePrinter.newLine()],...G_]},I_=(O_,R_)=>{const J_=[];if(R_.programmer!==null&&J_.push(R_.programmer(O_)),R_.children.size!==0){const G_=[];for(const Y_ of R_.children.values())G_.push(...I_(O_,Y_));J_.push(ts$1.factory.createModuleDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createIdentifier(R_.name),ts$1.factory.createModuleBlock(G_),ts$1.NodeFlags.Namespace))}return J_.push(FilePrinter.newLine()),J_}})(NestiaMigrateApiProgrammer||(NestiaMigrateApiProgrammer={}));var NestiaMigrateE2eFunctionProgrammer;(Bt=>{Bt.write=I_=>ts$1.factory.createFunctionDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword),ts$1.factory.createModifier(ts$1.SyntaxKind.AsyncKeyword)],void 0,["test","api",...I_.route.accessor].join("_"),void 0,[IdentifierFactory.parameter("connection",ts$1.factory.createTypeReferenceNode(ts$1.factory.createQualifiedName(ts$1.factory.createIdentifier(I_.importer.external({type:"default",library:"@ORGANIZATION/PROJECT-api",name:"api"})),ts$1.factory.createIdentifier("IConnection"))))],void 0,ts$1.factory.createBlock((0,Bt.writeBody)(I_),!0)),Bt.writeBody=I_=>[ts$1.factory.createVariableStatement([],ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration("output",void 0,I_.route.success?NestiaMigrateSchemaProgrammer.write({components:I_.components,importer:I_.importer,schema:I_.route.success.schema}):void 0,ts$1.factory.createAwaitExpression(D_(I_)))],ts$1.NodeFlags.Const)),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier(I_.importer.external({type:"default",library:"typia",name:"typia"})),"assert"),void 0,[ts$1.factory.createIdentifier("output")]))];const D_=I_=>{const O_=ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("api.functional"),ts$1.factory.createIdentifier(I_.route.accessor.join("."))),R_=ts$1.factory.createIdentifier("connection");if(I_.route.parameters.length===0&&I_.route.query===null&&I_.route.body===null)return ts$1.factory.createCallExpression(O_,void 0,[R_]);const J_=ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier(I_.importer.external({type:"default",library:"typia",name:"typia"})),"random");return I_.config.keyword===!0?ts$1.factory.createCallExpression(O_,void 0,[R_,LiteralFactory.write(Object.fromEntries([...I_.route.parameters,I_.route.query,I_.route.body].filter(G_=>G_!==null).map(({key:G_,schema:Y_})=>[G_,ts$1.factory.createCallExpression(J_,[NestiaMigrateSchemaProgrammer.write({components:I_.components,importer:I_.importer,schema:Y_})],void 0)])))]):ts$1.factory.createCallExpression(O_,void 0,[R_,...[...I_.route.parameters,I_.route.query,I_.route.body].filter(G_=>!!G_).map(G_=>ts$1.factory.createCallExpression(J_,[NestiaMigrateSchemaProgrammer.write({components:I_.components,importer:I_.importer,schema:G_.schema})],void 0))])}})(NestiaMigrateE2eFunctionProgrammer||(NestiaMigrateE2eFunctionProgrammer={}));var NestiaMigrateApiStartProgrammer;(Bt=>{Bt.write=R_=>{const J_=new NestiaMigrateImportProgrammer,G_=D_(R_,J_,pick(R_.application.routes)),Y_=[...J_.toStatements(q_=>`@ORGANIZATION/PROJECT-api/lib/structures/${q_}`),FilePrinter.newLine(),ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,void 0,ts$1.factory.createNamedImports([ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier("TestGlobal"))])),ts$1.factory.createStringLiteral("./TestGlobal"),void 0),FilePrinter.newLine(),G_,ts$1.factory.createExpressionStatement(O_())];return{"test/start.ts":FilePrinter.write({statements:Y_})}};const D_=(R_,J_,G_)=>StatementFactory.constant({name:"main",value:ts$1.factory.createArrowFunction([ts$1.factory.createToken(ts$1.SyntaxKind.AsyncKeyword)],void 0,[],void 0,void 0,ts$1.factory.createBlock([I_(R_,J_),...NestiaMigrateE2eFunctionProgrammer.writeBody({config:R_.config,components:R_.application.document().components,importer:J_,route:G_})],!0))}),I_=(R_,J_)=>{var G_,Y_,q_;return ts$1.factory.createVariableStatement(void 0,ts$1.factory.createVariableDeclarationList([ts$1.factory.createVariableDeclaration("connection",void 0,ts$1.factory.createTypeReferenceNode(ts$1.factory.createQualifiedName(ts$1.factory.createIdentifier(J_.external({type:"default",library:"@ORGANIZATION/PROJECT-api",name:"api"})),ts$1.factory.createIdentifier("IConnection"))),ts$1.factory.createObjectLiteralExpression([ts$1.factory.createSpreadAssignment(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("TestGlobal"),"connection"),void 0,void 0)),...(q_=(Y_=(G_=R_.application.document().servers)==null?void 0:G_[0])==null?void 0:Y_.url)!=null&&q_.length?[ts$1.factory.createPropertyAssignment("host",ts$1.factory.createStringLiteral(R_.application.document().servers[0].url))]:[],...R_.config.simulate===!0?[ts$1.factory.createPropertyAssignment("simulate",ts$1.factory.createTrue())]:[]],!0))],ts$1.NodeFlags.Const))},O_=()=>ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("main"),void 0,void 0),"catch"),void 0,[ts$1.factory.createArrowFunction(void 0,void 0,[IdentifierFactory.parameter("exp")],void 0,void 0,ts$1.factory.createBlock([ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("console"),"log"),void 0,[ts$1.factory.createIdentifier("exp")])),ts$1.factory.createExpressionStatement(ts$1.factory.createCallExpression(ts$1.factory.createPropertyAccessExpression(ts$1.factory.createIdentifier("process"),"exit"),void 0,[ts$1.factory.createPrefixMinus(ts$1.factory.createNumericLiteral("1"))]))],!0))])})(NestiaMigrateApiStartProgrammer||(NestiaMigrateApiStartProgrammer={}));const pick=Bt=>{const D_=Math.random()*Bt.length,I_=Math.min(Bt.length-1,Math.floor(D_));return Bt[I_]};var NestiaMigrateE2eProgrammer;(Bt=>{Bt.write=I_=>Object.fromEntries(I_.application.routes.map(O_=>D_(I_.config,I_.application.document().components,O_)).map(O_=>[`${O_.location}/${O_.file}`,O_.content]));const D_=(I_,O_,R_)=>{const J_=new NestiaMigrateImportProgrammer,G_=NestiaMigrateE2eFunctionProgrammer.write({config:I_,components:O_,importer:J_,route:R_}),Y_=[...J_.toStatements(q_=>`@ORGANIZATION/PROJECT-api/lib/structures/${q_}`),FilePrinter.newLine(),G_];return{location:"test/features/api",file:`${["test","api",...R_.accessor].join("_")}.ts`,content:FilePrinter.write({statements:Y_})}}})(NestiaMigrateE2eProgrammer||(NestiaMigrateE2eProgrammer={}));var NestiaMigrateControllerAnalyzer;(Bt=>{Bt.analyze=D_=>{const I_=new Map;for(const R_ of D_){const J_=R_.operation()["x-samchon-controller"]??(R_.accessor.length<=1?"__App":R_.accessor.slice(0,-1).map(StringUtil.capitalize).join(""))+"Controller";MapUtil.take(I_)(J_)(()=>({name:J_,path:"@lazy",location:"@lazy",routes:[]})).routes.push(R_)}const O_=[...I_.values()];for(const R_ of O_){const J_=M0=>M0.emendedPath.split("/"),G_=M0=>J_(M0).filter(Q_=>Q_.length!==0&&Q_[0]!==":"),Y_=J_(R_.routes[0]),q_=G_(R_.routes[0]);for(const M0 of R_.routes.slice(1))Y_.splice(getSplitIndex(Y_,J_(M0))),q_.splice(getSplitIndex(q_,G_(M0)));R_.path=Y_.join("/"),R_.location=["src","controllers",...q_].join("/")}return O_}})(NestiaMigrateControllerAnalyzer||(NestiaMigrateControllerAnalyzer={}));const getSplitIndex=(Bt,D_)=>{const I_=Math.min(Bt.length,D_.length);for(let O_=0;O_<I_;++O_)if(Bt[O_]!==D_[O_])return O_;return I_};var NestiaMigrateNestMethodProgrammer;(Bt=>{Bt.write=G_=>{const Y_=G_.route.success?NestiaMigrateSchemaProgrammer.write({components:G_.components,importer:G_.importer,schema:G_.route.success.schema}):TypeFactory.keyword("void"),q_=ts$1.factory.createMethodDeclaration([...I_(G_),ts$1.factory.createToken(ts$1.SyntaxKind.PublicKeyword),ts$1.factory.createToken(ts$1.SyntaxKind.AsyncKeyword)],void 0,G_.route.accessor.at(-1),void 0,void 0,O_(G_),ts$1.factory.createTypeReferenceNode("Promise",[Y_]),ts$1.factory.createBlock([...[...G_.route.parameters.map(M0=>M0.key),...G_.route.headers?["headers"]:[],...G_.route.query?["query"]:[],...G_.route.body?["body"]:[]].map(M0=>ts$1.factory.createExpressionStatement(ts$1.factory.createIdentifier(M0))),ts$1.factory.createReturnStatement(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(G_.importer.external({type:"default",library:"typia",name:"typia"})),"random"),[Y_],void 0))],!0));return FilePrinter.description(q_,D_(G_.config,G_.route))};const D_=(G_,Y_)=>{var q_,M0;return[Y_.comment(),`@${((q_=G_.author)==null?void 0:q_.tag)??"nestia"} ${((M0=G_.author)==null?void 0:M0.value)??"Generated by Nestia - https://github.com/samchon/nestia"}`].join(`
4717
4716
  `)},I_=G_=>{var Z_,B0,K0,G0,ey;const Y_=(Wv,Xv)=>ts$1.factory.createIdentifier(G_.importer.external({type:"instance",library:Wv,name:Xv})),q_=[];G_.route.success&&q_.push(...J_("Response")(G_.importer)(G_.route.success.media())),G_.route.operation()["x-samchon-human"]===!0&&q_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression(Y_("@nestia/core","HumanRoute"),void 0,void 0)));const M0=G_.route.emendedPath.slice(G_.controller.path.length).split("/").filter(Wv=>!!Wv.length).join("/"),Q_=Wv=>ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access(Y_("@nestia/core",Wv),StringUtil.capitalize(G_.route.method)),[],M0.length?[ts$1.factory.createStringLiteral(M0)]:void 0));(Z_=G_.route.success)!=null&&Z_["x-nestia-encrypted"]?q_.push(Q_("EncryptedRoute")):((B0=G_.route.success)==null?void 0:B0.type)==="text/plain"?q_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression(Y_("@nestjs/common",StringUtil.capitalize(G_.route.method)),[],[ts$1.factory.createStringLiteral(G_.route.path)]))):((K0=G_.route.success)==null?void 0:K0.type)==="application/x-www-form-urlencoded"?q_.push(Q_("TypedQuery")):G_.route.method==="head"?q_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression(Y_("@nestjs/common","Head"),[],[ts$1.factory.createStringLiteral(G_.route.path)]))):(G_.route.success===null||((G0=G_.route.success)==null?void 0:G0.type)==="application/json")&&q_.push(Q_("TypedRoute"));for(const[Wv,Xv]of Object.entries(G_.route.exceptions??{}))q_.push(ts$1.factory.createDecorator(ts$1.factory.createCallExpression(Y_("@nestia/core","TypedException"),[NestiaMigrateSchemaProgrammer.write({components:G_.components,importer:G_.importer,schema:Xv.schema})],[isNaN(Number(Wv))?ts$1.factory.createStringLiteral(Wv):ExpressionFactory.number(Number(Wv)),...(ey=Xv.response().description)!=null&&ey.length?[ts$1.factory.createStringLiteral(Xv.response().description)]:[]])));return q_},O_=G_=>{var Y_;return[...G_.route.parameters.map(q_=>ts$1.factory.createParameterDeclaration([...J_("Parameter")(G_.importer)(q_.parameter()),ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(G_.importer.external({type:"instance",library:"@nestia/core",name:"TypedParam"})),void 0,[ts$1.factory.createStringLiteral(q_.key)]))],void 0,q_.key,void 0,NestiaMigrateSchemaProgrammer.write({components:G_.components,importer:G_.importer,schema:q_.schema}))),...G_.route.headers?[R_({method:"TypedHeaders",variable:"headers",arguments:[]})(G_.components)(G_.importer)({required:!0,schema:G_.route.headers.schema,example:G_.route.headers.example(),examples:G_.route.headers.examples()})]:[],...G_.route.query?[R_({method:"TypedQuery",variable:"query",arguments:[]})(G_.components)(G_.importer)({required:!0,schema:G_.route.query.schema,example:G_.route.query.example(),examples:G_.route.query.examples()})]:[],...G_.route.body?[R_({method:G_.route.body["x-nestia-encrypted"]?"EncryptedBody":G_.route.body.type==="application/json"?"TypedBody":G_.route.body.type==="application/x-www-form-urlencoded"?["TypedQuery","Body"]:G_.route.body.type==="text/plain"?"PlainBody":G_.route.body.type==="multipart/form-data"?["TypedFormData","Body"]:"TypedBody",variable:"body",arguments:G_.route.body.type==="multipart/form-data"?[ts$1.factory.createArrowFunction(void 0,void 0,[],void 0,void 0,ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(G_.importer.external({type:"default",library:"multer",name:"Multer"})),void 0,void 0))]:[]})(G_.components)(G_.importer)({schema:G_.route.body.schema,required:!((G_.route.body.type==="application/json"||G_.route.body.type==="text/plain")&&((Y_=G_.route.operation().requestBody)==null?void 0:Y_.required)===!1),example:G_.route.body.media().example,examples:G_.route.body.media().examples})]:[]]},R_=G_=>Y_=>q_=>M0=>{const Q_=ts$1.factory.createIdentifier(q_.external({type:"instance",library:"@nestia/core",name:typeof G_.method=="string"?G_.method:G_.method[0]}));return ts$1.factory.createParameterDeclaration([...J_("Parameter")(q_)(M0),ts$1.factory.createDecorator(ts$1.factory.createCallExpression(typeof G_.method=="string"?Q_:IdentifierFactory.access(Q_,G_.method[1]),void 0,G_.arguments))],void 0,G_.variable,M0.required===!1?ts$1.factory.createToken(ts$1.SyntaxKind.QuestionToken):void 0,NestiaMigrateSchemaProgrammer.write({components:Y_,importer:q_,schema:M0.schema}))},J_=G_=>Y_=>q_=>[...q_.example!==void 0?[ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(Y_.external({type:"instance",library:"@nestia/core",name:"SwaggerExample"})),G_),[],[LiteralFactory.write(q_.example)]))]:[],...Object.entries(q_.examples??{}).map(([M0,Q_])=>ts$1.factory.createDecorator(ts$1.factory.createCallExpression(IdentifierFactory.access(ts$1.factory.createIdentifier(Y_.external({type:"instance",library:"@nestia/core",name:"SwaggerExample"})),G_),[],[ts$1.factory.createStringLiteral(M0),LiteralFactory.write(Q_)])))]})(NestiaMigrateNestMethodProgrammer||(NestiaMigrateNestMethodProgrammer={}));var NestiaMigrateNestControllerProgrammer;(Bt=>{Bt.write=D_=>{const I_=new NestiaMigrateImportProgrammer,O_=ts$1.factory.createClassDeclaration([ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier(I_.external({type:"instance",library:"@nestjs/common",name:"Controller"})),[],[ts$1.factory.createStringLiteral(D_.controller.path)])),ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],D_.controller.name,[],[],D_.controller.routes.map((R_,J_)=>{var G_;return[...J_!==0?[FilePrinter.newLine()]:[],(((G_=D_.config.programmer)==null?void 0:G_.controllerMethod)??NestiaMigrateNestMethodProgrammer.write)({config:D_.config,components:D_.components,controller:D_.controller,importer:I_,route:R_})]}).flat());return[...I_.toStatements(R_=>`${"../".repeat(StringUtil.splitWithNormalization(D_.controller.location).length-1)}api/structures/${R_}`),...I_.empty()?[]:[FilePrinter.newLine()],O_]}})(NestiaMigrateNestControllerProgrammer||(NestiaMigrateNestControllerProgrammer={}));var NestiaMigrateNestModuleProgrammer;(Bt=>{Bt.write=D_=>[$import("@nestjs/common")("Module"),...D_.length?[FilePrinter.newLine()]:[],...D_.map(I_=>$import(`${I_.location.replace("src/","./")}/${I_.name}`)(I_.name)),...D_.length?[FilePrinter.newLine()]:[],ts$1.factory.createClassDeclaration([ts$1.factory.createDecorator(ts$1.factory.createCallExpression(ts$1.factory.createIdentifier("Module"),void 0,[ts$1.factory.createObjectLiteralExpression([ts$1.factory.createPropertyAssignment(ts$1.factory.createIdentifier("controllers"),ts$1.factory.createArrayLiteralExpression(D_.map(I_=>ts$1.factory.createIdentifier(I_.name)),!0))],!0)])),ts$1.factory.createToken(ts$1.SyntaxKind.ExportKeyword)],"MyModule",void 0,void 0,[])]})(NestiaMigrateNestModuleProgrammer||(NestiaMigrateNestModuleProgrammer={}));const $import=Bt=>D_=>ts$1.factory.createImportDeclaration(void 0,ts$1.factory.createImportClause(!1,void 0,ts$1.factory.createNamedImports([ts$1.factory.createImportSpecifier(!1,void 0,ts$1.factory.createIdentifier(D_))])),ts$1.factory.createStringLiteral(Bt));var NestiaMigrateNestProgrammer;(Bt=>{Bt.write=O_=>{const R_=NestiaMigrateControllerAnalyzer.analyze(O_.application.routes),J_=[["src/MyModule.ts",NestiaMigrateNestModuleProgrammer.write(R_)],...R_.map(G_=>[`${G_.location}/${G_.name}.ts`,NestiaMigrateNestControllerProgrammer.write({config:O_.config,components:O_.application.document().components,controller:G_})]),...[...NestiaMigrateDtoProgrammer.compose({config:O_.config,components:O_.application.document().components}).entries()].map(([G_,Y_])=>[`src/api/structures/${G_}.ts`,D_(G_,Y_)])];return Object.fromEntries(J_.map(([G_,Y_])=>[G_,FilePrinter.write({statements:Y_})]))};const D_=(O_,R_)=>{const J_=new NestiaMigrateImportProgrammer,G_=I_(J_)(R_);return G_.length===0?[]:[...J_.toStatements(Y_=>`./${Y_}`,O_),...J_.empty()?[]:[FilePrinter.newLine()],...G_]},I_=O_=>R_=>{const J_=[];if(R_.programmer!==null&&J_.push(R_.programmer(O_)),R_.children.size){const G_=[];for(const Y_ of R_.children.values())G_.push(...I_(O_)(Y_));J_.push(ts$1.factory.createModuleDeclaration([ts$1.factory.createModifier(ts$1.SyntaxKind.ExportKeyword)],ts$1.factory.createIdentifier(R_.name),ts$1.factory.createModuleBlock(G_),ts$1.NodeFlags.Namespace))}return J_.push(FilePrinter.newLine()),J_}})(NestiaMigrateNestProgrammer||(NestiaMigrateNestProgrammer={}));class NestiaMigrateApplication{constructor(D_){this.document=D_,this.data_=HttpMigration.application(D_)}static assert(D_){return new NestiaMigrateApplication(OpenApiConverter.upgradeDocument(assert()))}static validate(D_){const I_=validate();return I_.success===!1?I_:{success:!0,data:new NestiaMigrateApplication(OpenApiConverter.upgradeDocument(D_))}}getData(){return this.data_}getErrors(){return this.data_.errors}nest(D_){const I_=createContext("nest",this.data_,D_),O_={...Object.fromEntries(Object.entries(NEST_TEMPLATE).filter(([R_])=>R_.startsWith("src/api/structures")===!1&&R_.startsWith("src/api/functional")===!1&&R_.startsWith("src/api/controllers")===!1&&R_.startsWith("test/features")===!1)),...NestiaMigrateNestProgrammer.write(I_),...NestiaMigrateApiProgrammer.write(I_),...D_.e2e?NestiaMigrateE2eProgrammer.write(I_):{},...D_.keyword===!1?{"nestia.config.ts":NEST_TEMPLATE["nestia.config.ts"].replace("keyword: true","keyword: false")}:{}};return D_.package?renameSlug(D_.package,O_):O_}sdk(D_){const I_=createContext("sdk",this.data_,D_),O_={...Object.fromEntries(Object.entries(SDK_TEMPLATE).filter(([R_])=>R_.startsWith("src/structures")===!1&&R_.startsWith("src/functional")===!1&&R_.startsWith("test/features")===!1)),...NestiaMigrateApiProgrammer.write(I_),...NestiaMigrateApiStartProgrammer.write(I_),...D_.e2e?NestiaMigrateE2eProgrammer.write(I_):{},"swagger.json":JSON.stringify(this.document,null,2)};return D_.package?renameSlug(D_.package,O_):O_}}const createContext=(Bt,D_,I_)=>({mode:Bt,application:{...D_,routes:D_.routes.filter(O_=>O_.method!=="query")},config:I_}),renameSlug=(Bt,D_)=>Object.fromEntries(Object.entries(D_).map(([I_,O_])=>[I_,O_.split("@ORGANIZATION/PROJECT").join(Bt)]));var NestiaMigrateFileArchiver;(Bt=>{Bt.archive=async D_=>{const I_=new VariadicSingleton(async R_=>{try{await D_.mkdir(`${D_.root}/${R_}`)}catch{}}),O_=async R_=>{const J_=R_.split("/").map((G_,Y_,q_)=>q_.slice(0,Y_+1).join("/"));for(const G_ of J_)await I_.get(G_)};for(const[R_,J_]of Object.entries(D_.files))await O_(R_.split("/").slice(0,-1).join("/")),await D_.writeFile(`${D_.root}/${R_}`,J_)}})(NestiaMigrateFileArchiver||(NestiaMigrateFileArchiver={}));var Ba$2=Object.defineProperty,jn$2=(Bt,D_)=>{for(var I_ in D_)Ba$2(Bt,I_,{get:D_[I_],enumerable:!0})},Ta$1={};jn$2(Ta$1,{languages:()=>CD,options:()=>Aa,printers:()=>dD});var Qs$1=[{name:"JavaScript",type:"programming",aceMode:"javascript",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],filenames:["Jakefile","start.frag","end.frag"],tmScope:"source.js",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",aceMode:"javascript",extensions:[".js.flow"],filenames:[],tmScope:"source.js",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",aceMode:"javascript",extensions:[".jsx"],filenames:void 0,tmScope:"source.js.jsx",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",aceMode:"typescript",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",aceMode:"tsx",extensions:[".tsx"],tmScope:"source.tsx",codemirrorMode:"jsx",codemirrorMimeType:"text/typescript-jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],Hs={};jn$2(Hs,{canAttachComment:()=>Pi,embed:()=>Co$1,features:()=>DD,getVisitorKeys:()=>Mr$1,handleComments:()=>Ji,hasPrettierIgnore:()=>nr$1,insertPragma:()=>Lo$1,isBlockComment:()=>ce$1,isGap:()=>Gi,massageAstNode:()=>Bi,print:()=>Ys,printComment:()=>wo$1,printPrettierIgnored:()=>Ys,willPrintOwnComments:()=>Wi});var Wt$1=(Bt,D_)=>(I_,O_,...R_)=>I_|1&&O_==null?void 0:(D_.call(O_)??O_[Bt]).apply(O_,R_),ba$1=String.prototype.replaceAll??function(Bt,D_){return Bt.global?this.replace(Bt,D_):this.split(Bt).join(D_)},Pa$1=Wt$1("replaceAll",function(){if(typeof this=="string")return ba$1}),W$1=Pa$1;function ka$1(Bt){return this[Bt<0?this.length+Bt:Bt]}var Ia$2=Wt$1("at",function(){if(Array.isArray(this)||typeof this=="string")return ka$1}),N=Ia$2;function La$2(Bt){return Bt!==null&&typeof Bt=="object"}var Lr$1=La$2;function*Oa$2(Bt,D_){let{getVisitorKeys:I_,filter:O_=()=>!0}=D_,R_=J_=>Lr$1(J_)&&O_(J_);for(let J_ of I_(Bt)){let G_=Bt[J_];if(Array.isArray(G_))for(let Y_ of G_)R_(Y_)&&(yield Y_);else R_(G_)&&(yield G_)}}function*wa$1(Bt,D_){let I_=[Bt];for(let O_=0;O_<I_.length;O_++){let R_=I_[O_];for(let J_ of Oa$2(R_,D_))yield J_,I_.push(J_)}}function zs(Bt,{getVisitorKeys:D_,predicate:I_}){for(let O_ of wa$1(Bt,{getVisitorKeys:D_}))if(I_(O_))return!0;return!1}var Zs$1=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function vn$1(Bt){return Bt===12288||Bt>=65281&&Bt<=65376||Bt>=65504&&Bt<=65510}function Rn$2(Bt){return Bt>=4352&&Bt<=4447||Bt===8986||Bt===8987||Bt===9001||Bt===9002||Bt>=9193&&Bt<=9196||Bt===9200||Bt===9203||Bt===9725||Bt===9726||Bt===9748||Bt===9749||Bt>=9776&&Bt<=9783||Bt>=9800&&Bt<=9811||Bt===9855||Bt>=9866&&Bt<=9871||Bt===9875||Bt===9889||Bt===9898||Bt===9899||Bt===9917||Bt===9918||Bt===9924||Bt===9925||Bt===9934||Bt===9940||Bt===9962||Bt===9970||Bt===9971||Bt===9973||Bt===9978||Bt===9981||Bt===9989||Bt===9994||Bt===9995||Bt===10024||Bt===10060||Bt===10062||Bt>=10067&&Bt<=10069||Bt===10071||Bt>=10133&&Bt<=10135||Bt===10160||Bt===10175||Bt===11035||Bt===11036||Bt===11088||Bt===11093||Bt>=11904&&Bt<=11929||Bt>=11931&&Bt<=12019||Bt>=12032&&Bt<=12245||Bt>=12272&&Bt<=12287||Bt>=12289&&Bt<=12350||Bt>=12353&&Bt<=12438||Bt>=12441&&Bt<=12543||Bt>=12549&&Bt<=12591||Bt>=12593&&Bt<=12686||Bt>=12688&&Bt<=12773||Bt>=12783&&Bt<=12830||Bt>=12832&&Bt<=12871||Bt>=12880&&Bt<=42124||Bt>=42128&&Bt<=42182||Bt>=43360&&Bt<=43388||Bt>=44032&&Bt<=55203||Bt>=63744&&Bt<=64255||Bt>=65040&&Bt<=65049||Bt>=65072&&Bt<=65106||Bt>=65108&&Bt<=65126||Bt>=65128&&Bt<=65131||Bt>=94176&&Bt<=94180||Bt>=94192&&Bt<=94198||Bt>=94208&&Bt<=101589||Bt>=101631&&Bt<=101662||Bt>=101760&&Bt<=101874||Bt>=110576&&Bt<=110579||Bt>=110581&&Bt<=110587||Bt===110589||Bt===110590||Bt>=110592&&Bt<=110882||Bt===110898||Bt>=110928&&Bt<=110930||Bt===110933||Bt>=110948&&Bt<=110951||Bt>=110960&&Bt<=111355||Bt>=119552&&Bt<=119638||Bt>=119648&&Bt<=119670||Bt===126980||Bt===127183||Bt===127374||Bt>=127377&&Bt<=127386||Bt>=127488&&Bt<=127490||Bt>=127504&&Bt<=127547||Bt>=127552&&Bt<=127560||Bt===127568||Bt===127569||Bt>=127584&&Bt<=127589||Bt>=127744&&Bt<=127776||Bt>=127789&&Bt<=127797||Bt>=127799&&Bt<=127868||Bt>=127870&&Bt<=127891||Bt>=127904&&Bt<=127946||Bt>=127951&&Bt<=127955||Bt>=127968&&Bt<=127984||Bt===127988||Bt>=127992&&Bt<=128062||Bt===128064||Bt>=128066&&Bt<=128252||Bt>=128255&&Bt<=128317||Bt>=128331&&Bt<=128334||Bt>=128336&&Bt<=128359||Bt===128378||Bt===128405||Bt===128406||Bt===128420||Bt>=128507&&Bt<=128591||Bt>=128640&&Bt<=128709||Bt===128716||Bt>=128720&&Bt<=128722||Bt>=128725&&Bt<=128728||Bt>=128732&&Bt<=128735||Bt===128747||Bt===128748||Bt>=128756&&Bt<=128764||Bt>=128992&&Bt<=129003||Bt===129008||Bt>=129292&&Bt<=129338||Bt>=129340&&Bt<=129349||Bt>=129351&&Bt<=129535||Bt>=129648&&Bt<=129660||Bt>=129664&&Bt<=129674||Bt>=129678&&Bt<=129734||Bt===129736||Bt>=129741&&Bt<=129756||Bt>=129759&&Bt<=129770||Bt>=129775&&Bt<=129784||Bt>=131072&&Bt<=196605||Bt>=196608&&Bt<=262141}var ei$1="©®‼⁉™ℹ↔↕↖↗↘↙↩↪⌨⏏⏱⏲⏸⏹⏺▪▫▶◀◻◼☀☁☂☃☄☎☑☘☝☠☢☣☦☪☮☯☸☹☺♀♂♟♠♣♥♦♨♻♾⚒⚔⚕⚖⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛱⛷⛸⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅⬆⬇",_a$2=/[^\x20-\x7F]/u,Ma$2=new Set(ei$1);function Na$2(Bt){if(!Bt)return 0;if(!_a$2.test(Bt))return Bt.length;Bt=Bt.replace(Zs$1(),I_=>Ma$2.has(I_)?" ":" ");let D_=0;for(let I_ of Bt){let O_=I_.codePointAt(0);O_<=31||O_>=127&&O_<=159||O_>=768&&O_<=879||O_>=65024&&O_<=65039||(D_+=vn$1(O_)||Rn$2(O_)?2:1)}return D_}var ot$1=Na$2;function Or$1(Bt){return(D_,I_,O_)=>{let R_=!!(O_!=null&&O_.backwards);if(I_===!1)return!1;let{length:J_}=D_,G_=I_;for(;G_>=0&&G_<J_;){let Y_=D_.charAt(G_);if(Bt instanceof RegExp){if(!Bt.test(Y_))return G_}else if(!Bt.includes(Y_))return G_;R_?G_--:G_++}return G_===-1||G_===J_?G_:!1}}var ze$1=Or$1(" "),ti$1=Or$1(",; "),ri$1=Or$1(/[^\n\r]/u),ni$1=Bt=>Bt===`
package/dist/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1.0, maximum-scale=3.0s"
7
7
  />
8
8
  <title>Nestia Editor</title>
9
- <script type="module" src="./assets/index-CP-Z9y5I.js"></script>
9
+ <script type="module" src="./assets/index-OWA5eAP4.js"></script>
10
10
  </head>
11
11
  <body style="width: 100%; height: 100%; margin: 0px; overflow: hidden;">
12
12
  <div id="root" style="width: 100%; height: 100%"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nestia/editor",
3
- "version": "11.0.2",
3
+ "version": "11.1.0",
4
4
  "main": "lib/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -44,7 +44,7 @@
44
44
  "prettier": "^3.8.1",
45
45
  "react-mui-fileuploader": "^0.5.2",
46
46
  "typia": "^12.0.0",
47
- "@nestia/migrate": "^11.0.2"
47
+ "@nestia/migrate": "^11.1.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@eslint/js": "^9.13.0",