@google-cloud/storage-control 0.6.0 → 0.7.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.
- package/README.md +59 -74
- package/build/protos/google/storage/v2/storage.proto +3161 -0
- package/build/protos/protos.d.ts +10641 -0
- package/build/protos/protos.js +28904 -0
- package/build/protos/protos.json +4286 -4
- package/build/src/index.d.ts +2 -3
- package/build/src/index.js +3 -3
- package/build/src/index.js.map +1 -1
- package/build/src/storage_control_client.d.ts +2035 -0
- package/build/src/storage_control_client.js +1387 -0
- package/build/src/storage_control_client.js.map +1 -0
- package/build/src/util/ast_utils.d.ts +22 -0
- package/build/src/util/ast_utils.js +352 -0
- package/build/src/util/ast_utils.js.map +1 -0
- package/build/src/util/index_fix_utils.d.ts +15 -0
- package/build/src/util/index_fix_utils.js +86 -0
- package/build/src/util/index_fix_utils.js.map +1 -0
- package/build/src/util/proto_utils.d.ts +13 -0
- package/build/src/util/proto_utils.js +53 -0
- package/build/src/util/proto_utils.js.map +1 -0
- package/build/src/util/storage_control_utils.d.ts +1 -0
- package/build/src/util/storage_control_utils.js +31 -0
- package/build/src/util/storage_control_utils.js.map +1 -0
- package/build/src/util/uber_client_builder.d.ts +12 -0
- package/build/src/util/uber_client_builder.js +187 -0
- package/build/src/util/uber_client_builder.js.map +1 -0
- package/build/src/v2/index.d.ts +1 -0
- package/build/src/v2/index.js +3 -1
- package/build/src/v2/index.js.map +1 -1
- package/build/src/v2/storage_client.d.ts +614 -0
- package/build/src/v2/storage_client.js +911 -0
- package/build/src/v2/storage_client.js.map +1 -0
- package/build/src/v2/storage_client_config.json +65 -0
- package/build/src/v2/storage_control_client.d.ts +138 -138
- package/build/src/v2/storage_control_client.js +485 -231
- package/build/src/v2/storage_control_client.js.map +1 -1
- package/build/src/v2/storage_proto_list.json +3 -0
- package/package.json +4 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2025 Google LLC
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
const fs = require("fs");
|
|
17
|
+
const proto_utils_1 = require("./proto_utils");
|
|
18
|
+
const uber_client_builder_1 = require("./uber_client_builder");
|
|
19
|
+
const index_fix_utils_1 = require("./index_fix_utils");
|
|
20
|
+
async function main() {
|
|
21
|
+
(0, index_fix_utils_1.fixIndexFile)('src/index.ts');
|
|
22
|
+
(0, index_fix_utils_1.fixV2Index)('v2/index.ts');
|
|
23
|
+
(0, proto_utils_1.cleanObjectReferences)(proto_utils_1.filesToUpdate, proto_utils_1.replacements);
|
|
24
|
+
const finaloutput = await (0, uber_client_builder_1.buildOutput)();
|
|
25
|
+
fs.writeFile('../storage_control_client.ts', finaloutput, err => {
|
|
26
|
+
if (err)
|
|
27
|
+
throw err;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
main().catch(err => console.error(err));
|
|
31
|
+
//# sourceMappingURL=storage_control_utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storage_control_utils.js","sourceRoot":"","sources":["../../../src/util/storage_control_utils.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,yBAAyB;AACzB,+CAIuB;AACvB,+DAAkD;AAClD,uDAA2D;AAE3D,KAAK,UAAU,IAAI;IACjB,IAAA,8BAAY,EAAC,cAAc,CAAC,CAAC;IAC7B,IAAA,4BAAU,EAAC,aAAa,CAAC,CAAC;IAC1B,IAAA,mCAAqB,EAAC,2BAAa,EAAE,0BAAY,CAAC,CAAC;IACnD,MAAM,WAAW,GAAG,MAAM,IAAA,iCAAW,GAAE,CAAC;IACxC,EAAE,CAAC,SAAS,CAAC,8BAA8B,EAAE,WAAW,EAAE,GAAG,CAAC,EAAE;QAC9D,IAAI,GAAG;YAAE,MAAM,GAAG,CAAC;IACrB,CAAC,CAAC,CAAC;AACL,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const CLIENTS: string[];
|
|
2
|
+
export declare const FILES: string[];
|
|
3
|
+
export declare const LICENSE = "\n// Copyright 2025 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\n// ** This file is automatically generated **\n// ** All changes to this file may be overwritten. **\n\n";
|
|
4
|
+
/**
|
|
5
|
+
* This function builds the output for the uber client.
|
|
6
|
+
* It first adds the components that don't come from underlying files
|
|
7
|
+
* (imports, exported types, docstring w/ client constructor), then
|
|
8
|
+
* traverses the file inputs and adds the functions from them.
|
|
9
|
+
*
|
|
10
|
+
* @returns {Promise<string>} The formatted output.
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildOutput(): Promise<string>;
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2025 Google LLC
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LICENSE = exports.FILES = exports.CLIENTS = void 0;
|
|
17
|
+
exports.buildOutput = buildOutput;
|
|
18
|
+
const prettier = require("prettier");
|
|
19
|
+
const ast_utils_1 = require("./ast_utils");
|
|
20
|
+
exports.CLIENTS = ['StorageControlInternal', 'StorageClient'];
|
|
21
|
+
exports.FILES = [
|
|
22
|
+
'../v2/storage_control_client.ts',
|
|
23
|
+
'../v2/storage_client.ts',
|
|
24
|
+
];
|
|
25
|
+
exports.LICENSE = `
|
|
26
|
+
// Copyright 2025 Google LLC
|
|
27
|
+
//
|
|
28
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
29
|
+
// you may not use this file except in compliance with the License.
|
|
30
|
+
// You may obtain a copy of the License at
|
|
31
|
+
//
|
|
32
|
+
// https://www.apache.org/licenses/LICENSE-2.0
|
|
33
|
+
//
|
|
34
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
35
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
36
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
37
|
+
// See the License for the specific language governing permissions and
|
|
38
|
+
// limitations under the License.
|
|
39
|
+
//
|
|
40
|
+
// ** This file is automatically generated **
|
|
41
|
+
// ** All changes to this file may be overwritten. **
|
|
42
|
+
|
|
43
|
+
`;
|
|
44
|
+
/**
|
|
45
|
+
* This function creates the import statements for the uber client.
|
|
46
|
+
*
|
|
47
|
+
* @param {string[]} clients - A list of client names.
|
|
48
|
+
* @returns {string} The import statements.
|
|
49
|
+
*/
|
|
50
|
+
function makeImports(clients) {
|
|
51
|
+
let imports = `import {protos} from './';
|
|
52
|
+
import {StorageControlClient as StorageControlInternal} from './v2/storage_control_client';
|
|
53
|
+
import {StorageClient} from './v2/storage_client';`;
|
|
54
|
+
const staticImports = `
|
|
55
|
+
import type * as gax from "google-gax";
|
|
56
|
+
import {Callback, CallOptions, ClientOptions, PaginationCallback, LROperation, Descriptors} from "google-gax";
|
|
57
|
+
import {Transform} from 'stream';
|
|
58
|
+
`;
|
|
59
|
+
imports = imports.concat(`${staticImports}\n\n`);
|
|
60
|
+
return imports;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* This function builds the option types for the uber client.
|
|
64
|
+
*
|
|
65
|
+
* @param {string[]} clients - A list of client names.
|
|
66
|
+
* @returns {string} The option types.
|
|
67
|
+
*/
|
|
68
|
+
function buildOptionTypes(clients) {
|
|
69
|
+
let output = '';
|
|
70
|
+
const docstring = `/**
|
|
71
|
+
* Options passed to the underlying client.
|
|
72
|
+
*
|
|
73
|
+
* @param {object} [options] - The configuration object.
|
|
74
|
+
* The options accepted by the constructor are described in detail
|
|
75
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
76
|
+
* The common options are:
|
|
77
|
+
* @param {object} [options.credentials] - Credentials object.
|
|
78
|
+
* @param {string} [options.credentials.client_email]
|
|
79
|
+
* @param {string} [options.credentials.private_key]
|
|
80
|
+
* @param {string} [options.email] - Account email address. Required when
|
|
81
|
+
* using a .pem or .p12 keyFilename.
|
|
82
|
+
* @param {string} [options.keyFilename] - Full path to the a .json, .pem, or
|
|
83
|
+
* .p12 key downloaded from the Google Developers Console. If you provide
|
|
84
|
+
* a path to a JSON file, the projectId option below is not necessary.
|
|
85
|
+
* NOTE: .pem and .p12 require you to specify options.email as well.
|
|
86
|
+
* @param {number} [options.port] - The port on which to connect to
|
|
87
|
+
* the remote host.
|
|
88
|
+
* @param {string} [options.projectId] - The project ID from the Google
|
|
89
|
+
* Developer's Console, e.g. 'grape-spaceship-123'. We will also check
|
|
90
|
+
* the environment variable GCLOUD_PROJECT for your project ID. If your
|
|
91
|
+
* app is running in an environment which supports
|
|
92
|
+
* {@link https://cloud.google.com/docs/authentication/application-default-credentials Application Default Credentials},
|
|
93
|
+
* your project ID will be detected automatically.
|
|
94
|
+
* @param {string} [options.apiEndpoint] - The domain name of the
|
|
95
|
+
* API remote host.
|
|
96
|
+
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
97
|
+
* Follows the structure of {@link gapicConfig}.
|
|
98
|
+
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
|
|
99
|
+
* For more information, please check the
|
|
100
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
101
|
+
* @param {gax} [gaxInstance]: loaded instance of \`google-gax\`. Useful if you
|
|
102
|
+
* need to avoid loading the default gRPC version and want to use the fallback
|
|
103
|
+
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
|
104
|
+
* \`\`\`
|
|
105
|
+
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
|
106
|
+
* const client = new StorageControlClient({fallback: true}, gax);
|
|
107
|
+
* \`\`\`
|
|
108
|
+
*/\n`;
|
|
109
|
+
output = output.concat(docstring);
|
|
110
|
+
let storageControlOptionsType = 'export interface StorageControlClientOptions extends ClientOptions {\n';
|
|
111
|
+
storageControlOptionsType = storageControlOptionsType.concat('gaxInstance?: typeof gax | typeof gax.fallback;\n');
|
|
112
|
+
for (const client in clients) {
|
|
113
|
+
let variableDecl = '';
|
|
114
|
+
const clientName = (0, ast_utils_1.parseClientName)(clients[client]);
|
|
115
|
+
variableDecl = variableDecl.concat(`\t ${clientName}?: ${clients[client]};\n`);
|
|
116
|
+
storageControlOptionsType = storageControlOptionsType.concat(variableDecl);
|
|
117
|
+
}
|
|
118
|
+
storageControlOptionsType = storageControlOptionsType.concat('}\n\n');
|
|
119
|
+
output = output.concat(storageControlOptionsType);
|
|
120
|
+
return output;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* This function builds the client constructor for the uber client.
|
|
124
|
+
*
|
|
125
|
+
* @param {string[]} clients - A list of client names.
|
|
126
|
+
* @returns {string} The client constructor.
|
|
127
|
+
*/
|
|
128
|
+
function buildClientConstructor(clients) {
|
|
129
|
+
let variableDecl = '';
|
|
130
|
+
const comment = `\t/**
|
|
131
|
+
\* @param {object} [StorageControlClientOptions] - Enables user to instantiate clients separately and use those as the subclients.
|
|
132
|
+
\* To have sub-clients with different options, instantiate each client separately.
|
|
133
|
+
\*/`;
|
|
134
|
+
let constructorInitializers = `\tconstructor(options?: StorageControlClientOptions){
|
|
135
|
+
options = options || {};\n`;
|
|
136
|
+
let clientCounter = 0;
|
|
137
|
+
for (const client in clients) {
|
|
138
|
+
const clientName = (0, ast_utils_1.parseClientName)(clients[client]);
|
|
139
|
+
variableDecl = variableDecl.concat(`\t${clientName}: ${clients[client]};\n`);
|
|
140
|
+
constructorInitializers = constructorInitializers.concat(`\t\tthis.${clientName} = options?.${clientName} ?? new ${clients[client]}(options);\n`);
|
|
141
|
+
// add statement about auth only after the first subClient
|
|
142
|
+
if (clientCounter === 0) {
|
|
143
|
+
constructorInitializers =
|
|
144
|
+
constructorInitializers.concat(`\n\t\t// utilize whatever auth was created with the first client for the rest of the clients
|
|
145
|
+
// this will either be what the user passed into options.auth, or whatever was
|
|
146
|
+
// initialized by default in gax. We reuse this auth rather than instantiating a default ourselves
|
|
147
|
+
// so that we do not have to keep this code in sync with gax
|
|
148
|
+
options.auth = this.${clientName}.auth;\n\n`);
|
|
149
|
+
clientCounter++;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
const properties = (0, ast_utils_1.getPropertyDeclarations)(exports.FILES[0]);
|
|
153
|
+
properties.forEach((property, key) => {
|
|
154
|
+
constructorInitializers = constructorInitializers.concat(`\t\tthis.${key} = this.storageControlInternal.${key};\n`);
|
|
155
|
+
});
|
|
156
|
+
constructorInitializers = constructorInitializers.concat('\t}');
|
|
157
|
+
let output = 'export class StorageControlClient{\n';
|
|
158
|
+
properties.forEach(property => {
|
|
159
|
+
variableDecl = variableDecl.concat(property);
|
|
160
|
+
});
|
|
161
|
+
output = output.concat(variableDecl, '\n', comment, '\n', constructorInitializers);
|
|
162
|
+
return output;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* This function builds the output for the uber client.
|
|
166
|
+
* It first adds the components that don't come from underlying files
|
|
167
|
+
* (imports, exported types, docstring w/ client constructor), then
|
|
168
|
+
* traverses the file inputs and adds the functions from them.
|
|
169
|
+
*
|
|
170
|
+
* @returns {Promise<string>} The formatted output.
|
|
171
|
+
*/
|
|
172
|
+
async function buildOutput() {
|
|
173
|
+
console.log('Regenerating storage_control_client.ts');
|
|
174
|
+
let output = '';
|
|
175
|
+
output = exports.LICENSE.concat(makeImports(exports.CLIENTS));
|
|
176
|
+
output = output.concat(buildOptionTypes(exports.CLIENTS));
|
|
177
|
+
output = output.concat(buildClientConstructor(exports.CLIENTS));
|
|
178
|
+
output = output.concat((0, ast_utils_1.astHelper)(exports.FILES, exports.CLIENTS));
|
|
179
|
+
output = output.concat('}\n');
|
|
180
|
+
return prettier.format(output, {
|
|
181
|
+
parser: 'typescript',
|
|
182
|
+
trailingComma: 'all',
|
|
183
|
+
singleQuote: true,
|
|
184
|
+
bracketSpacing: false,
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=uber_client_builder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uber_client_builder.js","sourceRoot":"","sources":["../../../src/util/uber_client_builder.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAsLjC,kCAcC;AAlMD,qCAAqC;AACrC,2CAAgF;AAEnE,QAAA,OAAO,GAAG,CAAC,wBAAwB,EAAE,eAAe,CAAC,CAAC;AACtD,QAAA,KAAK,GAAG;IACnB,iCAAiC;IACjC,yBAAyB;CAC1B,CAAC;AACW,QAAA,OAAO,GAAG;;;;;;;;;;;;;;;;;;CAkBtB,CAAC;AAEF;;;;;GAKG;AACH,SAAS,WAAW,CAAC,OAAiB;IACpC,IAAI,OAAO,GAAG;;mDAEmC,CAAC;IAClD,MAAM,aAAa,GAAG;;;;GAIrB,CAAC;IAEF,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,aAAa,MAAM,CAAC,CAAC;IACjD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED;;;;;GAKG;AACH,SAAS,gBAAgB,CAAC,OAAiB;IACzC,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAsCZ,CAAC;IAEP,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,yBAAyB,GAC3B,wEAAwE,CAAC;IAC3E,yBAAyB,GAAG,yBAAyB,CAAC,MAAM,CAC1D,mDAAmD,CACpD,CAAC;IACF,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,IAAI,YAAY,GAAG,EAAE,CAAC;QACtB,MAAM,UAAU,GAAG,IAAA,2BAAe,EAAC,O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"}
|
package/build/src/v2/index.d.ts
CHANGED
package/build/src/v2/index.js
CHANGED
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
// ** https://github.com/googleapis/gapic-generator-typescript **
|
|
18
18
|
// ** All changes to this file may be overwritten. **
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.StorageControlClient = void 0;
|
|
20
|
+
exports.StorageClient = exports.StorageControlClient = void 0;
|
|
21
21
|
var storage_control_client_1 = require("./storage_control_client");
|
|
22
22
|
Object.defineProperty(exports, "StorageControlClient", { enumerable: true, get: function () { return storage_control_client_1.StorageControlClient; } });
|
|
23
|
+
var storage_client_1 = require("./storage_client");
|
|
24
|
+
Object.defineProperty(exports, "StorageClient", { enumerable: true, get: function () { return storage_client_1.StorageClient; } });
|
|
23
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v2/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,mEAA8D;AAAtD,8HAAA,oBAAoB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v2/index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,EAAE;AACF,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,kDAAkD;AAClD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AACjC,EAAE;AACF,4EAA4E;AAC5E,iEAAiE;AACjE,qDAAqD;;;AAErD,mEAA8D;AAAtD,8HAAA,oBAAoB,OAAA;AAE5B,mDAA+C;AAAvC,+GAAA,aAAa,OAAA"}
|