gemi 0.4.86 → 0.4.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/App.d.ts +1 -0
- package/dist/app/App.d.ts.map +1 -1
- package/dist/app/index.js +1 -141
- package/dist/app/prismaExtension.d.ts +1 -5
- package/dist/app/prismaExtension.d.ts.map +1 -1
- package/dist/bin/index.js +132 -77
- package/dist/chunk-0441dc8e5b215b75.js +2 -0
- package/dist/chunk-08bf87c7e29141d3.js +9 -0
- package/dist/chunk-23b1faa7791ca31d.js +2 -0
- package/dist/chunk-28694e5e949df0ff.js +2 -0
- package/dist/chunk-332553172e3ab961.js +2 -0
- package/dist/chunk-36d595d02662f2fa.js +2 -0
- package/dist/chunk-3d4e6fdf131bae97.js +2 -0
- package/dist/chunk-43b1a27bc037bc09.js +2 -0
- package/dist/chunk-6e20f463543eec5f.js +2 -0
- package/dist/chunk-75aa5e5e2f565737.js +18 -0
- package/dist/{chunk-6a97611e6bd65152.js → chunk-79f9130d266efc8b.js} +1 -1
- package/dist/chunk-82b3f93a5aac2b2e.js +6 -0
- package/dist/chunk-8ee09f1f74206a04.js +1 -1
- package/dist/chunk-8f575468b4e4754d.js +2 -0
- package/dist/chunk-92b7f08b6396b0fc.js +2 -0
- package/dist/chunk-a4330a47c3806ff1.js +3 -0
- package/dist/chunk-b35e7bc78a8a613f.js +2 -0
- package/dist/chunk-bd0308763754bf7b.js +2 -0
- package/dist/chunk-d5d491184ec17042.js +2 -0
- package/dist/chunk-dc3eae4932658400.js +2 -0
- package/dist/chunk-e5db92db378843ab.js +2 -0
- package/dist/client/index.js +10 -10
- package/dist/facades/index.js +1 -1
- package/dist/kernel/index.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/services/index.js +10 -1
- package/dist/vite/{index-BDp-rm3S.mjs → index-CePL3kqT.mjs} +15 -11
- package/dist/vite/index.mjs +1 -1
- package/dist/vite/{typescript-x31i_8Ji.mjs → typescript-CaGEH4-o.mjs} +45 -23
- package/package.json +1 -1
- package/dist/chunk-053cb1dc15795bf6.js +0 -2
- package/dist/chunk-11fb3a27cf688340.js +0 -2
- package/dist/chunk-226c55043768b2e1.js +0 -18
- package/dist/chunk-2786cd9024d0d164.js +0 -2
- package/dist/chunk-405c6731d3acd2cf.js +0 -1
- package/dist/chunk-455e54a6493c2080.js +0 -2
- package/dist/chunk-528ef084b2c9a2ba.js +0 -2
- package/dist/chunk-6f25a013d533d94d.js +0 -2
- package/dist/chunk-7f6a8fc2d4d89153.js +0 -2
- package/dist/chunk-80e3ea835f0d9a37.js +0 -1
- package/dist/chunk-84f49317085b7263.js +0 -3
- package/dist/chunk-97235ad8ffab193d.js +0 -6
- package/dist/chunk-a690c0c26e034681.js +0 -2
- package/dist/chunk-e62074b446091212.js +0 -2
- package/dist/chunk-e826a8ad5ae18bb0.js +0 -2
- package/dist/chunk-ec612fe5cb5758ab.js +0 -2
- package/dist/chunk-f769e8cd95090a9d.js +0 -9
- package/dist/chunk-f9f264ce0c8e9699.js +0 -2
- package/dist/chunk-ff8cd8fd047cfee5.js +0 -2
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
export declare const prismaExtension: (client: any) => {
|
|
2
|
-
$extends: {
|
|
3
|
-
extArgs: import("@prisma/client/runtime/library").InternalArgs<unknown, unknown, {}, unknown>;
|
|
4
|
-
};
|
|
5
|
-
};
|
|
1
|
+
export declare const prismaExtension: (client: any) => import("@prisma/client").PrismaClientExtends<import("@prisma/client/runtime/library").InternalArgs<{}, {}, {}, {}>>;
|
|
6
2
|
//# sourceMappingURL=prismaExtension.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prismaExtension.d.ts","sourceRoot":"","sources":["../../app/prismaExtension.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"prismaExtension.d.ts","sourceRoot":"","sources":["../../app/prismaExtension.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe,sIAqB1B,CAAC"}
|
package/dist/bin/index.js
CHANGED
|
@@ -972,7 +972,7 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
972
972
|
exports.useTransition = function() {
|
|
973
973
|
return resolveDispatcher().useTransition();
|
|
974
974
|
};
|
|
975
|
-
exports.version = "19.0.0-rc-
|
|
975
|
+
exports.version = "19.0.0-rc-fb9a90fa48-20240614";
|
|
976
976
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
977
977
|
})();
|
|
978
978
|
});
|
|
@@ -2180,6 +2180,8 @@ var require_comparator = __commonJS((exports, module) => {
|
|
|
2180
2180
|
|
|
2181
2181
|
// ../../node_modules/sharp/node_modules/semver/classes/range.js
|
|
2182
2182
|
var require_range = __commonJS((exports, module) => {
|
|
2183
|
+
var SPACE_CHARACTERS = /\s+/g;
|
|
2184
|
+
|
|
2183
2185
|
class Range {
|
|
2184
2186
|
constructor(range, options) {
|
|
2185
2187
|
options = parseOptions(options);
|
|
@@ -2193,13 +2195,13 @@ var require_range = __commonJS((exports, module) => {
|
|
|
2193
2195
|
if (range instanceof Comparator) {
|
|
2194
2196
|
this.raw = range.value;
|
|
2195
2197
|
this.set = [[range]];
|
|
2196
|
-
this.
|
|
2198
|
+
this.formatted = undefined;
|
|
2197
2199
|
return this;
|
|
2198
2200
|
}
|
|
2199
2201
|
this.options = options;
|
|
2200
2202
|
this.loose = !!options.loose;
|
|
2201
2203
|
this.includePrerelease = !!options.includePrerelease;
|
|
2202
|
-
this.raw = range.trim().
|
|
2204
|
+
this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
|
|
2203
2205
|
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
2204
2206
|
if (!this.set.length) {
|
|
2205
2207
|
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
@@ -2218,10 +2220,27 @@ var require_range = __commonJS((exports, module) => {
|
|
|
2218
2220
|
}
|
|
2219
2221
|
}
|
|
2220
2222
|
}
|
|
2221
|
-
this.
|
|
2223
|
+
this.formatted = undefined;
|
|
2224
|
+
}
|
|
2225
|
+
get range() {
|
|
2226
|
+
if (this.formatted === undefined) {
|
|
2227
|
+
this.formatted = "";
|
|
2228
|
+
for (let i = 0;i < this.set.length; i++) {
|
|
2229
|
+
if (i > 0) {
|
|
2230
|
+
this.formatted += "||";
|
|
2231
|
+
}
|
|
2232
|
+
const comps = this.set[i];
|
|
2233
|
+
for (let k = 0;k < comps.length; k++) {
|
|
2234
|
+
if (k > 0) {
|
|
2235
|
+
this.formatted += " ";
|
|
2236
|
+
}
|
|
2237
|
+
this.formatted += comps[k].toString().trim();
|
|
2238
|
+
}
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
return this.formatted;
|
|
2222
2242
|
}
|
|
2223
2243
|
format() {
|
|
2224
|
-
this.range = this.set.map((comps) => comps.join(" ").trim()).join("||").trim();
|
|
2225
2244
|
return this.range;
|
|
2226
2245
|
}
|
|
2227
2246
|
toString() {
|
|
@@ -2551,7 +2570,7 @@ var require_package = __commonJS((exports, module) => {
|
|
|
2551
2570
|
module.exports = {
|
|
2552
2571
|
name: "sharp",
|
|
2553
2572
|
description: "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
|
|
2554
|
-
version: "0.33.
|
|
2573
|
+
version: "0.33.5",
|
|
2555
2574
|
author: "Lovell Fuller <npm@lovell.info>",
|
|
2556
2575
|
homepage: "https://sharp.pixelplumbing.com",
|
|
2557
2576
|
contributors: [
|
|
@@ -2638,7 +2657,8 @@ var require_package = __commonJS((exports, module) => {
|
|
|
2638
2657
|
"Mart Jansink <m.jansink@gmail.com>",
|
|
2639
2658
|
"Lachlan Newman <lachnewman007@gmail.com>",
|
|
2640
2659
|
"Dennis Beatty <dennis@dcbeatty.com>",
|
|
2641
|
-
"Ingvar Stepanyan <me@rreverser.com>"
|
|
2660
|
+
"Ingvar Stepanyan <me@rreverser.com>",
|
|
2661
|
+
"Don Denton <don@happycollision.com>"
|
|
2642
2662
|
],
|
|
2643
2663
|
scripts: {
|
|
2644
2664
|
install: "node install/check",
|
|
@@ -2688,56 +2708,58 @@ var require_package = __commonJS((exports, module) => {
|
|
|
2688
2708
|
dependencies: {
|
|
2689
2709
|
color: "^4.2.3",
|
|
2690
2710
|
"detect-libc": "^2.0.3",
|
|
2691
|
-
semver: "^7.6.
|
|
2711
|
+
semver: "^7.6.3"
|
|
2692
2712
|
},
|
|
2693
2713
|
optionalDependencies: {
|
|
2694
|
-
"@img/sharp-darwin-arm64": "0.33.
|
|
2695
|
-
"@img/sharp-darwin-x64": "0.33.
|
|
2696
|
-
"@img/sharp-libvips-darwin-arm64": "1.0.
|
|
2697
|
-
"@img/sharp-libvips-darwin-x64": "1.0.
|
|
2698
|
-
"@img/sharp-libvips-linux-arm": "1.0.
|
|
2699
|
-
"@img/sharp-libvips-linux-arm64": "1.0.
|
|
2700
|
-
"@img/sharp-libvips-linux-s390x": "1.0.
|
|
2701
|
-
"@img/sharp-libvips-linux-x64": "1.0.
|
|
2702
|
-
"@img/sharp-libvips-linuxmusl-arm64": "1.0.
|
|
2703
|
-
"@img/sharp-libvips-linuxmusl-x64": "1.0.
|
|
2704
|
-
"@img/sharp-linux-arm": "0.33.
|
|
2705
|
-
"@img/sharp-linux-arm64": "0.33.
|
|
2706
|
-
"@img/sharp-linux-s390x": "0.33.
|
|
2707
|
-
"@img/sharp-linux-x64": "0.33.
|
|
2708
|
-
"@img/sharp-linuxmusl-arm64": "0.33.
|
|
2709
|
-
"@img/sharp-linuxmusl-x64": "0.33.
|
|
2710
|
-
"@img/sharp-wasm32": "0.33.
|
|
2711
|
-
"@img/sharp-win32-ia32": "0.33.
|
|
2712
|
-
"@img/sharp-win32-x64": "0.33.
|
|
2714
|
+
"@img/sharp-darwin-arm64": "0.33.5",
|
|
2715
|
+
"@img/sharp-darwin-x64": "0.33.5",
|
|
2716
|
+
"@img/sharp-libvips-darwin-arm64": "1.0.4",
|
|
2717
|
+
"@img/sharp-libvips-darwin-x64": "1.0.4",
|
|
2718
|
+
"@img/sharp-libvips-linux-arm": "1.0.5",
|
|
2719
|
+
"@img/sharp-libvips-linux-arm64": "1.0.4",
|
|
2720
|
+
"@img/sharp-libvips-linux-s390x": "1.0.4",
|
|
2721
|
+
"@img/sharp-libvips-linux-x64": "1.0.4",
|
|
2722
|
+
"@img/sharp-libvips-linuxmusl-arm64": "1.0.4",
|
|
2723
|
+
"@img/sharp-libvips-linuxmusl-x64": "1.0.4",
|
|
2724
|
+
"@img/sharp-linux-arm": "0.33.5",
|
|
2725
|
+
"@img/sharp-linux-arm64": "0.33.5",
|
|
2726
|
+
"@img/sharp-linux-s390x": "0.33.5",
|
|
2727
|
+
"@img/sharp-linux-x64": "0.33.5",
|
|
2728
|
+
"@img/sharp-linuxmusl-arm64": "0.33.5",
|
|
2729
|
+
"@img/sharp-linuxmusl-x64": "0.33.5",
|
|
2730
|
+
"@img/sharp-wasm32": "0.33.5",
|
|
2731
|
+
"@img/sharp-win32-ia32": "0.33.5",
|
|
2732
|
+
"@img/sharp-win32-x64": "0.33.5"
|
|
2713
2733
|
},
|
|
2714
2734
|
devDependencies: {
|
|
2715
|
-
"@emnapi/runtime": "^1.
|
|
2716
|
-
"@img/sharp-libvips-dev": "1.0.
|
|
2717
|
-
"@img/sharp-libvips-dev-wasm32": "1.0.
|
|
2718
|
-
"@img/sharp-libvips-win32-ia32": "1.0.
|
|
2719
|
-
"@img/sharp-libvips-win32-x64": "1.0.
|
|
2735
|
+
"@emnapi/runtime": "^1.2.0",
|
|
2736
|
+
"@img/sharp-libvips-dev": "1.0.4",
|
|
2737
|
+
"@img/sharp-libvips-dev-wasm32": "1.0.5",
|
|
2738
|
+
"@img/sharp-libvips-win32-ia32": "1.0.4",
|
|
2739
|
+
"@img/sharp-libvips-win32-x64": "1.0.4",
|
|
2720
2740
|
"@types/node": "*",
|
|
2721
2741
|
async: "^3.2.5",
|
|
2722
2742
|
cc: "^3.0.1",
|
|
2723
|
-
emnapi: "^1.
|
|
2743
|
+
emnapi: "^1.2.0",
|
|
2724
2744
|
"exif-reader": "^2.0.1",
|
|
2725
2745
|
"extract-zip": "^2.0.1",
|
|
2726
2746
|
icc: "^3.0.0",
|
|
2727
|
-
"jsdoc-to-markdown": "^8.0.
|
|
2747
|
+
"jsdoc-to-markdown": "^8.0.3",
|
|
2728
2748
|
"license-checker": "^25.0.1",
|
|
2729
|
-
mocha: "^10.
|
|
2730
|
-
"node-addon-api": "^8.
|
|
2731
|
-
nyc: "^
|
|
2749
|
+
mocha: "^10.7.3",
|
|
2750
|
+
"node-addon-api": "^8.1.0",
|
|
2751
|
+
nyc: "^17.0.0",
|
|
2732
2752
|
prebuild: "^13.0.1",
|
|
2733
2753
|
semistandard: "^17.0.0",
|
|
2734
2754
|
"tar-fs": "^3.0.6",
|
|
2735
|
-
tsd: "^0.31.
|
|
2755
|
+
tsd: "^0.31.1"
|
|
2736
2756
|
},
|
|
2737
2757
|
license: "Apache-2.0",
|
|
2738
2758
|
engines: {
|
|
2739
|
-
node: "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
2740
|
-
|
|
2759
|
+
node: "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
2760
|
+
},
|
|
2761
|
+
config: {
|
|
2762
|
+
libvips: ">=8.15.3"
|
|
2741
2763
|
},
|
|
2742
2764
|
funding: {
|
|
2743
2765
|
url: "https://opencollective.com/libvips"
|
|
@@ -2777,8 +2799,8 @@ var require_libvips = __commonJS((exports, module) => {
|
|
|
2777
2799
|
var semverGreaterThanOrEqualTo = require_gte();
|
|
2778
2800
|
var semverSatisfies = require_satisfies();
|
|
2779
2801
|
var detectLibc = import.meta.require("detect-libc");
|
|
2780
|
-
var { engines, optionalDependencies } = require_package();
|
|
2781
|
-
var minimumLibvipsVersionLabelled = process.env.npm_package_config_libvips ||
|
|
2802
|
+
var { config, engines, optionalDependencies } = require_package();
|
|
2803
|
+
var minimumLibvipsVersionLabelled = process.env.npm_package_config_libvips || config.libvips;
|
|
2782
2804
|
var minimumLibvipsVersion = semverCoerce(minimumLibvipsVersionLabelled).version;
|
|
2783
2805
|
var prebuiltPlatforms = [
|
|
2784
2806
|
"darwin-arm64",
|
|
@@ -2903,19 +2925,21 @@ var require_libvips = __commonJS((exports, module) => {
|
|
|
2903
2925
|
return "";
|
|
2904
2926
|
}
|
|
2905
2927
|
};
|
|
2906
|
-
var skipSearch = (status, reason) => {
|
|
2907
|
-
|
|
2928
|
+
var skipSearch = (status, reason, logger) => {
|
|
2929
|
+
if (logger) {
|
|
2930
|
+
logger(`Detected ${reason}, skipping search for globally-installed libvips`);
|
|
2931
|
+
}
|
|
2908
2932
|
return status;
|
|
2909
2933
|
};
|
|
2910
|
-
var useGlobalLibvips = () => {
|
|
2934
|
+
var useGlobalLibvips = (logger) => {
|
|
2911
2935
|
if (Boolean(process.env.SHARP_IGNORE_GLOBAL_LIBVIPS) === true) {
|
|
2912
|
-
return skipSearch(false, "SHARP_IGNORE_GLOBAL_LIBVIPS");
|
|
2936
|
+
return skipSearch(false, "SHARP_IGNORE_GLOBAL_LIBVIPS", logger);
|
|
2913
2937
|
}
|
|
2914
2938
|
if (Boolean(process.env.SHARP_FORCE_GLOBAL_LIBVIPS) === true) {
|
|
2915
|
-
return skipSearch(true, "SHARP_FORCE_GLOBAL_LIBVIPS");
|
|
2939
|
+
return skipSearch(true, "SHARP_FORCE_GLOBAL_LIBVIPS", logger);
|
|
2916
2940
|
}
|
|
2917
2941
|
if (isRosetta()) {
|
|
2918
|
-
return skipSearch(false, "Rosetta");
|
|
2942
|
+
return skipSearch(false, "Rosetta", logger);
|
|
2919
2943
|
}
|
|
2920
2944
|
const globalVipsVersion = globalLibvipsVersion();
|
|
2921
2945
|
return !!globalVipsVersion && semverGreaterThanOrEqualTo(globalVipsVersion, minimumLibvipsVersion);
|
|
@@ -2977,15 +3001,15 @@ var require_sharp = __commonJS((exports, module) => {
|
|
|
2977
3001
|
} else if (prebuiltPlatforms.includes(runtimePlatform)) {
|
|
2978
3002
|
const [os, cpu] = runtimePlatform.split("-");
|
|
2979
3003
|
const libc = os.endsWith("musl") ? " --libc=musl" : "";
|
|
2980
|
-
help.push("- Ensure optional dependencies can be installed:", " npm install --include=optional sharp", "
|
|
3004
|
+
help.push("- Ensure optional dependencies can be installed:", " npm install --include=optional sharp", "- Ensure your package manager supports multi-platform installation:", " See https://sharp.pixelplumbing.com/install#cross-platform", "- Add platform-specific dependencies:", ` npm install --os=${os.replace("musl", "")}${libc} --cpu=${cpu} sharp`);
|
|
2981
3005
|
} else {
|
|
2982
3006
|
help.push(`- Manually install libvips >= ${minimumLibvipsVersion}`, "- Add experimental WebAssembly-based dependencies:", " npm install --cpu=wasm32 sharp", " npm install @img/sharp-wasm32");
|
|
2983
3007
|
}
|
|
2984
3008
|
if (isLinux && /(symbol not found|CXXABI_)/i.test(messages)) {
|
|
2985
3009
|
try {
|
|
2986
|
-
const {
|
|
3010
|
+
const { config } = import.meta.require(`@img/sharp-libvips-${runtimePlatform}/package`);
|
|
2987
3011
|
const libcFound = `${familySync()} ${versionSync()}`;
|
|
2988
|
-
const libcRequires = `${
|
|
3012
|
+
const libcRequires = `${config.musl ? "musl" : "glibc"} ${config.musl || config.glibc}`;
|
|
2989
3013
|
help.push("- Update your OS:", ` Found ${libcFound}`, ` Requires ${libcRequires}`);
|
|
2990
3014
|
} catch (errEngines) {
|
|
2991
3015
|
}
|
|
@@ -3083,6 +3107,8 @@ var require_constructor = __commonJS((exports, module) => {
|
|
|
3083
3107
|
negateAlpha: true,
|
|
3084
3108
|
medianSize: 0,
|
|
3085
3109
|
blurSigma: 0,
|
|
3110
|
+
precision: "integer",
|
|
3111
|
+
minAmpl: 0.2,
|
|
3086
3112
|
sharpenSigma: 0,
|
|
3087
3113
|
sharpenM1: 1,
|
|
3088
3114
|
sharpenM2: 2,
|
|
@@ -5738,11 +5764,34 @@ var require_operation = __commonJS((exports, module) => {
|
|
|
5738
5764
|
}
|
|
5739
5765
|
return this;
|
|
5740
5766
|
};
|
|
5741
|
-
var blur = function(
|
|
5742
|
-
|
|
5767
|
+
var blur = function(options) {
|
|
5768
|
+
let sigma;
|
|
5769
|
+
if (is.number(options)) {
|
|
5770
|
+
sigma = options;
|
|
5771
|
+
} else if (is.plainObject(options)) {
|
|
5772
|
+
if (!is.number(options.sigma)) {
|
|
5773
|
+
throw is.invalidParameterError("options.sigma", "number between 0.3 and 1000", sigma);
|
|
5774
|
+
}
|
|
5775
|
+
sigma = options.sigma;
|
|
5776
|
+
if ("precision" in options) {
|
|
5777
|
+
if (is.string(vipsPrecision[options.precision])) {
|
|
5778
|
+
this.options.precision = vipsPrecision[options.precision];
|
|
5779
|
+
} else {
|
|
5780
|
+
throw is.invalidParameterError("precision", "one of: integer, float, approximate", options.precision);
|
|
5781
|
+
}
|
|
5782
|
+
}
|
|
5783
|
+
if ("minAmplitude" in options) {
|
|
5784
|
+
if (is.number(options.minAmplitude) && is.inRange(options.minAmplitude, 0.001, 1)) {
|
|
5785
|
+
this.options.minAmpl = options.minAmplitude;
|
|
5786
|
+
} else {
|
|
5787
|
+
throw is.invalidParameterError("minAmplitude", "number between 0.001 and 1", options.minAmplitude);
|
|
5788
|
+
}
|
|
5789
|
+
}
|
|
5790
|
+
}
|
|
5791
|
+
if (!is.defined(options)) {
|
|
5743
5792
|
this.options.blurSigma = -1;
|
|
5744
|
-
} else if (is.bool(
|
|
5745
|
-
this.options.blurSigma =
|
|
5793
|
+
} else if (is.bool(options)) {
|
|
5794
|
+
this.options.blurSigma = options ? -1 : 0;
|
|
5746
5795
|
} else if (is.number(sigma) && is.inRange(sigma, 0.3, 1000)) {
|
|
5747
5796
|
this.options.blurSigma = sigma;
|
|
5748
5797
|
} else {
|
|
@@ -5913,20 +5962,17 @@ var require_operation = __commonJS((exports, module) => {
|
|
|
5913
5962
|
return this;
|
|
5914
5963
|
};
|
|
5915
5964
|
var recomb = function(inputMatrix) {
|
|
5916
|
-
if (!Array.isArray(inputMatrix)
|
|
5917
|
-
throw
|
|
5918
|
-
}
|
|
5919
|
-
|
|
5920
|
-
inputMatrix
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
inputMatrix
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
inputMatrix[2][1],
|
|
5928
|
-
inputMatrix[2][2]
|
|
5929
|
-
].map(Number);
|
|
5965
|
+
if (!Array.isArray(inputMatrix)) {
|
|
5966
|
+
throw is.invalidParameterError("inputMatrix", "array", inputMatrix);
|
|
5967
|
+
}
|
|
5968
|
+
if (inputMatrix.length !== 3 && inputMatrix.length !== 4) {
|
|
5969
|
+
throw is.invalidParameterError("inputMatrix", "3x3 or 4x4 array", inputMatrix.length);
|
|
5970
|
+
}
|
|
5971
|
+
const recombMatrix = inputMatrix.flat().map(Number);
|
|
5972
|
+
if (recombMatrix.length !== 9 && recombMatrix.length !== 16) {
|
|
5973
|
+
throw is.invalidParameterError("inputMatrix", "cardinality of 9 or 16", recombMatrix.length);
|
|
5974
|
+
}
|
|
5975
|
+
this.options.recombMatrix = recombMatrix;
|
|
5930
5976
|
return this;
|
|
5931
5977
|
};
|
|
5932
5978
|
var modulate = function(options) {
|
|
@@ -5965,6 +6011,11 @@ var require_operation = __commonJS((exports, module) => {
|
|
|
5965
6011
|
};
|
|
5966
6012
|
var color = require_color();
|
|
5967
6013
|
var is = require_is();
|
|
6014
|
+
var vipsPrecision = {
|
|
6015
|
+
integer: "integer",
|
|
6016
|
+
float: "float",
|
|
6017
|
+
approximate: "approximate"
|
|
6018
|
+
};
|
|
5968
6019
|
module.exports = function(Sharp) {
|
|
5969
6020
|
Object.assign(Sharp.prototype, {
|
|
5970
6021
|
rotate,
|
|
@@ -7059,6 +7110,10 @@ var require_utility = __commonJS((exports, module) => {
|
|
|
7059
7110
|
}
|
|
7060
7111
|
}
|
|
7061
7112
|
versions.sharp = require_package().version;
|
|
7113
|
+
if (versions.heif && format.heif) {
|
|
7114
|
+
format.heif.input.fileSuffix = [".avif"];
|
|
7115
|
+
format.heif.output.alias = ["avif"];
|
|
7116
|
+
}
|
|
7062
7117
|
cache(true);
|
|
7063
7118
|
if (detectLibc.familySync() === detectLibc.GLIBC && !sharp._isUsingJemalloc()) {
|
|
7064
7119
|
sharp.concurrency(1);
|
|
@@ -7094,7 +7149,7 @@ var require_lib = __commonJS((exports, module) => {
|
|
|
7094
7149
|
module.exports = Sharp;
|
|
7095
7150
|
});
|
|
7096
7151
|
|
|
7097
|
-
//
|
|
7152
|
+
// node_modules/commander/lib/error.js
|
|
7098
7153
|
var require_error = __commonJS((exports) => {
|
|
7099
7154
|
class CommanderError extends Error {
|
|
7100
7155
|
constructor(exitCode, code, message) {
|
|
@@ -7118,7 +7173,7 @@ var require_error = __commonJS((exports) => {
|
|
|
7118
7173
|
exports.InvalidArgumentError = InvalidArgumentError;
|
|
7119
7174
|
});
|
|
7120
7175
|
|
|
7121
|
-
//
|
|
7176
|
+
// node_modules/commander/lib/argument.js
|
|
7122
7177
|
var require_argument = __commonJS((exports) => {
|
|
7123
7178
|
var humanReadableArgName = function(arg) {
|
|
7124
7179
|
const nameOutput = arg.name() + (arg.variadic === true ? "..." : "");
|
|
@@ -7197,7 +7252,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
7197
7252
|
exports.humanReadableArgName = humanReadableArgName;
|
|
7198
7253
|
});
|
|
7199
7254
|
|
|
7200
|
-
//
|
|
7255
|
+
// node_modules/commander/lib/help.js
|
|
7201
7256
|
var require_help = __commonJS((exports) => {
|
|
7202
7257
|
var { humanReadableArgName } = require_argument();
|
|
7203
7258
|
|
|
@@ -7439,7 +7494,7 @@ var require_help = __commonJS((exports) => {
|
|
|
7439
7494
|
exports.Help = Help;
|
|
7440
7495
|
});
|
|
7441
7496
|
|
|
7442
|
-
//
|
|
7497
|
+
// node_modules/commander/lib/option.js
|
|
7443
7498
|
var require_option = __commonJS((exports) => {
|
|
7444
7499
|
var camelcase = function(str) {
|
|
7445
7500
|
return str.split("-").reduce((str2, word) => {
|
|
@@ -7590,7 +7645,7 @@ var require_option = __commonJS((exports) => {
|
|
|
7590
7645
|
exports.DualOptions = DualOptions;
|
|
7591
7646
|
});
|
|
7592
7647
|
|
|
7593
|
-
//
|
|
7648
|
+
// node_modules/commander/lib/suggestSimilar.js
|
|
7594
7649
|
var require_suggestSimilar = __commonJS((exports) => {
|
|
7595
7650
|
var editDistance = function(a, b2) {
|
|
7596
7651
|
if (Math.abs(a.length - b2.length) > maxDistance)
|
|
@@ -7661,7 +7716,7 @@ var require_suggestSimilar = __commonJS((exports) => {
|
|
|
7661
7716
|
exports.suggestSimilar = suggestSimilar;
|
|
7662
7717
|
});
|
|
7663
7718
|
|
|
7664
|
-
//
|
|
7719
|
+
// node_modules/commander/lib/command.js
|
|
7665
7720
|
var require_command = __commonJS((exports) => {
|
|
7666
7721
|
var incrementNodeInspectorPort = function(args) {
|
|
7667
7722
|
return args.map((arg) => {
|
|
@@ -8900,7 +8955,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
8900
8955
|
exports.Command = Command;
|
|
8901
8956
|
});
|
|
8902
8957
|
|
|
8903
|
-
//
|
|
8958
|
+
// node_modules/commander/index.js
|
|
8904
8959
|
var require_commander = __commonJS((exports) => {
|
|
8905
8960
|
var { Argument } = require_argument();
|
|
8906
8961
|
var { Command } = require_command();
|
|
@@ -10084,7 +10139,7 @@ async function createRollupInput_default() {
|
|
|
10084
10139
|
// bin/gemi.ts
|
|
10085
10140
|
import {build} from "vite";
|
|
10086
10141
|
|
|
10087
|
-
//
|
|
10142
|
+
// node_modules/commander/esm.mjs
|
|
10088
10143
|
var import_ = __toESM(require_commander(), 1);
|
|
10089
10144
|
var {
|
|
10090
10145
|
program,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{B as K} from"./chunk-24a86f8f5ddc0cbd.js";import"./chunk-79f9130d266efc8b.js";import{Ib as T} from"./chunk-92b7f08b6396b0fc.js";import{Jb as _} from"./chunk-bd0308763754bf7b.js";var r=K(T(),1);var o=K(_(),1);import{exec as y} from"child_process";import{promisify as A} from"util";var x=(c,n,s)=>{if(n.Version!==1)throw Error(`Profile ${c} credential_process did not return Version 1.`);if(n.AccessKeyId===void 0||n.SecretAccessKey===void 0)throw Error(`Profile ${c} credential_process returned invalid credentials.`);if(n.Expiration){const t=new Date;if(new Date(n.Expiration)<t)throw Error(`Profile ${c} credential_process returned expired credentials.`)}let e=n.AccountId;if(!e&&s?.[c]?.aws_account_id)e=s[c].aws_account_id;return{accessKeyId:n.AccessKeyId,secretAccessKey:n.SecretAccessKey,...n.SessionToken&&{sessionToken:n.SessionToken},...n.Expiration&&{expiration:new Date(n.Expiration)},...n.CredentialScope&&{credentialScope:n.CredentialScope},...e&&{accountId:e}}};var S=async(c,n,s)=>{const e=n[c];if(n[c]){const t=e.credential_process;if(t!==void 0){const w=A(y);try{const{stdout:u}=await w(t);let i;try{i=JSON.parse(u.trim())}catch{throw Error(`Profile ${c} credential_process returned invalid JSON.`)}return x(c,i,n)}catch(u){throw new o.CredentialsProviderError(u.message,{logger:s})}}else throw new o.CredentialsProviderError(`Profile ${c} did not contain credential_process.`,{logger:s})}else throw new o.CredentialsProviderError(`Profile ${c} could not be found in shared credentials file.`,{logger:s})};var $=(c={})=>async()=>{c.logger?.debug("@aws-sdk/credential-provider-process - fromProcess");const n=await r.parseKnownFiles(c);return S(r.getProfileName(c),n,c.logger)};export{$ as fromProcess};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{u as $,v as w,w as z} from"./chunk-8f575468b4e4754d.js";import{B as Q} from"./chunk-24a86f8f5ddc0cbd.js";import{Ib as v} from"./chunk-92b7f08b6396b0fc.js";import{Jb as X} from"./chunk-bd0308763754bf7b.js";var q=Q(X(),1),B=Q(v(),1);var G=Q(X(),1),k="AWS_EC2_METADATA_DISABLED",Y=async(b)=>{const{ENV_CMDS_FULL_URI:j,ENV_CMDS_RELATIVE_URI:x,fromContainerMetadata:y,fromInstanceMetadata:J}=await import("./chunk-d5d491184ec17042.js");if(process.env[x]||process.env[j]){b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:K}=await import("./chunk-82b3f93a5aac2b2e.js");return G.chain(K(b),y(b))}if(process.env[k])return async()=>{throw new G.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:b.logger})};return b.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"),J(b)};var Z=!1,T=(b={})=>q.memoize(q.chain(async()=>{if(b.profile??process.env[B.ENV_PROFILE]){if(process.env[$]&&process.env[w]){if(!Z)(b.logger?.warn&&b.logger?.constructor?.name!=="NoOpLogger"?b.logger.warn:console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
2
|
+
Multiple credential sources detected:
|
|
3
|
+
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
4
|
+
This SDK will proceed with the AWS_PROFILE value.
|
|
5
|
+
|
|
6
|
+
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
7
|
+
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
8
|
+
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
9
|
+
`),Z=!0}throw new q.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:b.logger,tryNextLink:!0})}return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"),z(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:j,ssoAccountId:x,ssoRegion:y,ssoRoleName:J,ssoSession:K}=b;if(!j&&!x&&!y&&!J&&!K)throw new q.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:b.logger});const{fromSSO:H}=await import("./chunk-23b1faa7791ca31d.js");return H(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:j}=await import("./chunk-3d4e6fdf131bae97.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:j}=await import("./chunk-0441dc8e5b215b75.js");return j(b)()},async()=>{b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:j}=await import("./chunk-b35e7bc78a8a613f.js");return j(b)()},async()=>{return b.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"),(await Y(b))()},async()=>{throw new q.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:!1,logger:b.logger})}),g,O),O=(b)=>b?.expiration!==void 0,g=(b)=>b?.expiration!==void 0&&b.expiration.getTime()-Date.now()<300000;export{T as Eb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import{B as l} from"./chunk-24a86f8f5ddc0cbd.js";import"./chunk-79f9130d266efc8b.js";import{Ib as v} from"./chunk-92b7f08b6396b0fc.js";import{Jb as u} from"./chunk-bd0308763754bf7b.js";var x=l(u(),1),O=l(v(),1);var M=(e)=>e&&(typeof e.sso_start_url==="string"||typeof e.sso_account_id==="string"||typeof e.sso_session==="string"||typeof e.sso_region==="string"||typeof e.sso_role_name==="string");var k=l(u(),1),m=l(v(),1);var H=300000,_="To refresh this SSO session run 'aws sso login' with the corresponding profile.";var P={},K=async(e)=>{const{SSOOIDCClient:r}=await import("./chunk-6e20f463543eec5f.js");if(P[e])return P[e];const s=new r({region:e});return P[e]=s,s};var b=async(e,r)=>{const{CreateTokenCommand:s}=await import("./chunk-6e20f463543eec5f.js");return(await K(r)).send(new s({clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:e.refreshToken,grantType:"refresh_token"}))};var G=l(u(),1);var R=(e)=>{if(e.expiration&&e.expiration.getTime()<Date.now())throw new G.TokenProviderError(`Token is expired. ${_}`,!1)};var U=l(u(),1);var S=(e,r,s=!1)=>{if(typeof r==="undefined")throw new U.TokenProviderError(`Value not present for '${e}' in SSO Token${s?". Cannot refresh":""}. ${_}`,!1)};var q=l(v(),1);import{promises as B} from"fs";var{writeFile:Q}=B,W=(e,r)=>{const s=q.getSSOTokenFilepath(e),t=JSON.stringify(r,null,2);return Q(s,t)};var j=new Date(0),X=(e={})=>async()=>{e.logger?.debug("@aws-sdk/token-providers - fromSso");const r=await m.parseKnownFiles(e),s=m.getProfileName(e),t=r[s];if(!t)throw new k.TokenProviderError(`Profile '${s}' could not be found in shared credentials file.`,!1);else if(!t.sso_session)throw new k.TokenProviderError(`Profile '${s}' is missing required property 'sso_session'.`);const i=t.sso_session,a=(await m.loadSsoSessionData(e))[i];if(!a)throw new k.TokenProviderError(`Sso session '${i}' could not be found in shared credentials file.`,!1);for(let n of["sso_start_url","sso_region"])if(!a[n])throw new k.TokenProviderError(`Sso session '${i}' is missing required property '${n}'.`,!1);const{sso_start_url:f,sso_region:p}=a;let o;try{o=await m.getSSOTokenFromFile(i)}catch(n){throw new k.TokenProviderError(`The SSO session token associated with profile=${s} was not found or is invalid. ${_}`,!1)}S("accessToken",o.accessToken),S("expiresAt",o.expiresAt);const{accessToken:N,expiresAt:y}=o,c={token:N,expiration:new Date(y)};if(c.expiration.getTime()-Date.now()>H)return c;if(Date.now()-j.getTime()<30000)return R(c),c;S("clientId",o.clientId,!0),S("clientSecret",o.clientSecret,!0),S("refreshToken",o.refreshToken,!0);try{j.setTime(Date.now());const n=await b(o,p);S("accessToken",n.accessToken),S("expiresIn",n.expiresIn);const h=new Date(Date.now()+n.expiresIn*1000);try{await W(i,{...o,accessToken:n.accessToken,expiresAt:h.toISOString(),refreshToken:n.refreshToken})}catch(I){}return{token:n.accessToken,expiration:h}}catch(n){return R(c),c}};var T=l(u(),1),z=l(v(),1),C=!1,D=async({ssoStartUrl:e,ssoSession:r,ssoAccountId:s,ssoRegion:t,ssoRoleName:i,ssoClient:d,clientConfig:a,profile:f,logger:p})=>{let o;const N="To refresh this SSO session run aws sso login with the corresponding profile.";if(r)try{const g=await X({profile:f})();o={accessToken:g.token,expiresAt:new Date(g.expiration).toISOString()}}catch(g){throw new T.CredentialsProviderError(g.message,{tryNextLink:C,logger:p})}else try{o=await z.getSSOTokenFromFile(e)}catch(g){throw new T.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:C,logger:p})}if(new Date(o.expiresAt).getTime()-Date.now()<=0)throw new T.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",{tryNextLink:C,logger:p});const{accessToken:y}=o,{SSOClient:c,GetRoleCredentialsCommand:n}=await import("./chunk-e5db92db378843ab.js"),h=d||new c(Object.assign({},a??{},{region:a?.region??t}));let I;try{I=await h.send(new n({accountId:s,roleName:i,accessToken:y}))}catch(g){throw new T.CredentialsProviderError(g,{tryNextLink:C,logger:p})}const{roleCredentials:{accessKeyId:w,secretAccessKey:E,sessionToken:A,expiration:$,credentialScope:F,accountId:L}={}}=I;if(!w||!E||!A||!$)throw new T.CredentialsProviderError("SSO returns an invalid temporary credential.",{tryNextLink:C,logger:p});return{accessKeyId:w,secretAccessKey:E,sessionToken:A,expiration:new Date($),...F&&{credentialScope:F},...L&&{accountId:L}}};var J=l(u(),1),V=(e,r)=>{const{sso_start_url:s,sso_account_id:t,sso_region:i,sso_role_name:d}=e;if(!s||!t||!i||!d)throw new J.CredentialsProviderError('Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", '+`"sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(e).join(", ")}\nReference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,{tryNextLink:!1,logger:r});return e};var Te=(e={})=>async()=>{e.logger?.debug("@aws-sdk/credential-provider-sso - fromSSO");const{ssoStartUrl:r,ssoAccountId:s,ssoRegion:t,ssoRoleName:i,ssoSession:d}=e,{ssoClient:a}=e,f=O.getProfileName(e);if(!r&&!s&&!t&&!i&&!d){const o=(await O.parseKnownFiles(e))[f];if(!o)throw new x.CredentialsProviderError(`Profile ${f} was not found.`,{logger:e.logger});if(!M(o))throw new x.CredentialsProviderError(`Profile ${f} is not configured with SSO credentials.`,{logger:e.logger});if(o?.sso_session){const w=(await O.loadSsoSessionData(e))[o.sso_session],E=` configurations in profile ${f} and sso-session ${o.sso_session}`;if(t&&t!==w.sso_region)throw new x.CredentialsProviderError("Conflicting SSO region"+E,{tryNextLink:!1,logger:e.logger});if(r&&r!==w.sso_start_url)throw new x.CredentialsProviderError("Conflicting SSO start_url"+E,{tryNextLink:!1,logger:e.logger});o.sso_region=w.sso_region,o.sso_start_url=w.sso_start_url}const{sso_start_url:N,sso_account_id:y,sso_region:c,sso_role_name:n,sso_session:h}=V(o,e.logger);return D({ssoStartUrl:N,ssoSession:h,ssoAccountId:y,ssoRegion:c,ssoRoleName:n,ssoClient:a,clientConfig:e.clientConfig,profile:f})}else if(!r||!s||!t||!i)throw new x.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"',{tryNextLink:!1,logger:e.logger});else return D({ssoStartUrl:r,ssoSession:d,ssoAccountId:s,ssoRegion:t,ssoRoleName:i,ssoClient:a,clientConfig:e.clientConfig,profile:f})};export{V as validateSsoProfile,M as isSsoProfile,Te as fromSSO};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{C as ee} from"./chunk-24a86f8f5ddc0cbd.js";var te=ee((re,T)=>{var A,I,R,P,N,D,C,F,L,H,M,G,U,S,j,W,V,B,E,Y,K,q,z,Q,J,X,Z,$,g,k,x;(function(f){var O=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(b){f(w(O,w(b)))});else if(typeof T==="object"&&typeof re==="object")f(w(O,w(re)));else f(w(O));function w(b,e){if(b!==O)if(typeof Object.create==="function")Object.defineProperty(b,"__esModule",{value:!0});else b.__esModule=!0;return function(t,r){return b[t]=e?e(t,r):r}}})(function(f){var O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};A=function(e,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");O(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)},I=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e},R=function(e,t){var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0)r[n]=e[n];if(e!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)if(t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o]))r[n[o]]=e[n[o]]}return r},P=function(e,t,r,n){var o=arguments.length,a=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,i;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)if(i=e[u])a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a;return o>3&&a&&Object.defineProperty(t,r,a),a},N=function(e,t){return function(r,n){t(r,n,e)}},D=function(e,t,r,n,o,a){function i(v){if(v!==void 0&&typeof v!=="function")throw new TypeError("Function expected");return v}var u=n.kind,_=u==="getter"?"get":u==="setter"?"set":"value",c=!t&&e?n.static?e:e.prototype:null,l=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),y,m=!1;for(var s=r.length-1;s>=0;s--){var p={};for(var d in n)p[d]=d==="access"?{}:n[d];for(var d in n.access)p.access[d]=n.access[d];p.addInitializer=function(v){if(m)throw new TypeError("Cannot add initializers after decoration has completed");a.push(i(v||null))};var h=r[s](u==="accessor"?{get:l.get,set:l.set}:l[_],p);if(u==="accessor"){if(h===void 0)continue;if(h===null||typeof h!=="object")throw new TypeError("Object expected");if(y=i(h.get))l.get=y;if(y=i(h.set))l.set=y;if(y=i(h.init))o.unshift(y)}else if(y=i(h))if(u==="field")o.unshift(y);else l[_]=y}if(c)Object.defineProperty(c,n.name,l);m=!0},C=function(e,t,r){var n=arguments.length>2;for(var o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0},F=function(e){return typeof e==="symbol"?e:"".concat(e)},L=function(e,t,r){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},H=function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)},M=function(e,t,r,n){function o(a){return a instanceof r?a:new r(function(i){i(a)})}return new(r||(r=Promise))(function(a,i){function u(l){try{c(n.next(l))}catch(y){i(y)}}function _(l){try{c(n.throw(l))}catch(y){i(y)}}function c(l){l.done?a(l.value):o(l.value).then(u,_)}c((n=n.apply(e,t||[])).next())})},G=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=u(0),i.throw=u(1),i.return=u(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(c){return function(l){return _([c,l])}}function _(c){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,c[0]&&(r=0)),r)try{if(n=1,o&&(a=c[0]&2?o.return:c[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,c[1])).done)return a;if(o=0,a)c=[c[0]&2,a.value];switch(c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,o=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if((a=r.trys,!(a=a.length>0&&a[a.length-1]))&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}if(a[2])r.ops.pop();r.trys.pop();continue}c=t.call(e,r)}catch(l){c=[6,l],o=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},U=function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))g(t,e,r)},g=Object.create?function(e,t,r,n){if(n===void 0)n=r;var o=Object.getOwnPropertyDescriptor(t,r);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable))o={enumerable:!0,get:function(){return t[r]}};Object.defineProperty(e,n,o)}:function(e,t,r,n){if(n===void 0)n=r;e[n]=t[r]},S=function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},j=function(e,t){var r=typeof Symbol==="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,a=[],i;try{while((t===void 0||t-- >0)&&!(o=n.next()).done)a.push(o.value)}catch(u){i={error:u}}finally{try{if(o&&!o.done&&(r=n.return))r.call(n)}finally{if(i)throw i.error}}return a},W=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(j(arguments[t]));return e},V=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n},B=function(e,t,r){if(r||arguments.length===2){for(var n=0,o=t.length,a;n<o;n++)if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))},E=function(e){return this instanceof E?(this.v=e,this):new E(e)},Y=function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),o,a=[];return o=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",i),o[Symbol.asyncIterator]=function(){return this},o;function i(s){return function(p){return Promise.resolve(p).then(s,y)}}function u(s,p){if(n[s]){if(o[s]=function(d){return new Promise(function(h,v){a.push([s,d,h,v])>1||_(s,d)})},p)o[s]=p(o[s])}}function _(s,p){try{c(n[s](p))}catch(d){m(a[0][3],d)}}function c(s){s.value instanceof E?Promise.resolve(s.value.v).then(l,y):m(a[0][2],s)}function l(s){_("next",s)}function y(s){_("throw",s)}function m(s,p){if(s(p),a.shift(),a.length)_(a[0][0],a[0][1])}},K=function(e){var t,r;return t={},n("next"),n("throw",function(o){throw o}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(o,a){t[o]=e[o]?function(i){return(r=!r)?{value:E(e[o](i)),done:!1}:a?a(i):i}:a}},q=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof S==="function"?S(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(a){r[a]=e[a]&&function(i){return new Promise(function(u,_){i=e[a](i),o(u,_,i.done,i.value)})}}function o(a,i,u,_){Promise.resolve(_).then(function(c){a({value:c,done:u})},i)}},z=function(e,t){if(Object.defineProperty)Object.defineProperty(e,"raw",{value:t});else e.raw=t;return e};var w=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};Q=function(e){if(e&&e.__esModule)return e;var t={};if(e!=null){for(var r in e)if(r!=="default"&&Object.prototype.hasOwnProperty.call(e,r))g(t,e,r)}return w(t,e),t},J=function(e){return e&&e.__esModule?e:{default:e}},X=function(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)},Z=function(e,t,r,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(e,r):o?o.value=r:t.set(e,r),r},$=function(e,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e==="function"?t===e:e.has(t)},k=function(e,t,r){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(n=t[Symbol.dispose],r)o=n}if(typeof n!=="function")throw new TypeError("Object not disposable.");if(o)n=function(){try{o.call(this)}catch(a){return Promise.reject(a)}};e.stack.push({value:t,dispose:n,async:r})}else if(r)e.stack.push({async:!0});return t};var b=typeof SuppressedError==="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};x=function(e){function t(a){e.error=e.hasError?new b(a,e.error,"An error was suppressed during disposal."):a,e.hasError=!0}var r,n=0;function o(){while(r=e.stack.pop())try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(o);if(r.dispose){var a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).then(o,function(i){return t(i),o()})}else n|=1}catch(i){t(i)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return o()},f("__extends",A),f("__assign",I),f("__rest",R),f("__decorate",P),f("__param",N),f("__esDecorate",D),f("__runInitializers",C),f("__propKey",F),f("__setFunctionName",L),f("__metadata",H),f("__awaiter",M),f("__generator",G),f("__exportStar",U),f("__createBinding",g),f("__values",S),f("__read",j),f("__spread",W),f("__spreadArrays",V),f("__spreadArray",B),f("__await",E),f("__asyncGenerator",Y),f("__asyncDelegator",K),f("__asyncValues",q),f("__makeTemplateObject",z),f("__importStar",Q),f("__importDefault",J),f("__classPrivateFieldGet",X),f("__classPrivateFieldSet",Z),f("__classPrivateFieldIn",$),f("__addDisposableResource",k),f("__disposeResources",x)})});
|
|
2
|
+
export{te as M};
|