@layers/react-native 0.2.0-alpha.8 → 0.2.0-alpha.9
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 +2 -2
- package/dist/chunk-BLXvPPr8.js +30 -0
- package/dist/{index-DiTXPIld.d.ts → index.d.ts} +99 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +245 -3
- package/dist/index.js.map +1 -1
- package/dist/{plugin-PbbjwNkr.d.ts → plugin.d.ts} +1 -1
- package/dist/plugin.d.ts.map +1 -0
- package/dist/plugin.js +608 -1586
- package/dist/plugin.js.map +1 -1
- package/package.json +12 -10
- package/dist/index-DiTXPIld.d.ts.map +0 -1
- package/dist/plugin-PbbjwNkr.d.ts.map +0 -1
package/dist/plugin.js
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { __commonJS, __require, __toESM } from "./chunk-BLXvPPr8.js";
|
|
2
2
|
|
|
3
|
-
//#region rolldown:runtime
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __commonJS = (cb, mod) => function() {
|
|
6
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
7
|
-
};
|
|
8
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
3
|
//#region ../../node_modules/xml2js/lib/defaults.js
|
|
12
4
|
var require_defaults = /* @__PURE__ */ __commonJS({ "../../node_modules/xml2js/lib/defaults.js": ((exports) => {
|
|
13
5
|
(function() {
|
|
@@ -4803,9 +4795,9 @@ var require_XML = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugin
|
|
|
4803
4795
|
exports.readXMLAsync = readXMLAsync;
|
|
4804
4796
|
exports.unescapeAndroidString = unescapeAndroidString;
|
|
4805
4797
|
exports.writeXMLAsync = writeXMLAsync;
|
|
4806
|
-
function _fs$
|
|
4807
|
-
const data = _interopRequireDefault$
|
|
4808
|
-
_fs$
|
|
4798
|
+
function _fs$18() {
|
|
4799
|
+
const data = _interopRequireDefault$37(__require("fs"));
|
|
4800
|
+
_fs$18 = function() {
|
|
4809
4801
|
return data;
|
|
4810
4802
|
};
|
|
4811
4803
|
return data;
|
|
@@ -4817,9 +4809,9 @@ var require_XML = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugin
|
|
|
4817
4809
|
};
|
|
4818
4810
|
return data;
|
|
4819
4811
|
}
|
|
4820
|
-
function _path$
|
|
4821
|
-
const data = _interopRequireDefault$
|
|
4822
|
-
_path$
|
|
4812
|
+
function _path$16() {
|
|
4813
|
+
const data = _interopRequireDefault$37(__require("path"));
|
|
4814
|
+
_path$16 = function() {
|
|
4823
4815
|
return data;
|
|
4824
4816
|
};
|
|
4825
4817
|
return data;
|
|
@@ -4831,23 +4823,24 @@ var require_XML = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugin
|
|
|
4831
4823
|
};
|
|
4832
4824
|
return data;
|
|
4833
4825
|
}
|
|
4834
|
-
function _interopRequireDefault$
|
|
4826
|
+
function _interopRequireDefault$37(obj) {
|
|
4835
4827
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
4836
4828
|
}
|
|
4837
4829
|
async function writeXMLAsync(options) {
|
|
4838
4830
|
const xml = format(options.xml);
|
|
4839
|
-
await _fs$
|
|
4840
|
-
await _fs$
|
|
4831
|
+
await _fs$18().default.promises.mkdir(_path$16().default.dirname(options.path), { recursive: true });
|
|
4832
|
+
await _fs$18().default.promises.writeFile(options.path, xml);
|
|
4841
4833
|
}
|
|
4842
4834
|
async function readXMLAsync(options) {
|
|
4843
4835
|
let contents = "";
|
|
4844
4836
|
try {
|
|
4845
|
-
contents = await _fs$
|
|
4837
|
+
contents = await _fs$18().default.promises.readFile(options.path, {
|
|
4846
4838
|
encoding: "utf8",
|
|
4847
4839
|
flag: "r"
|
|
4848
4840
|
});
|
|
4849
4841
|
} catch {}
|
|
4850
|
-
|
|
4842
|
+
const manifest = await new (_xml2js()).Parser().parseStringPromise(contents || options.fallback || "");
|
|
4843
|
+
return _processAndroidXML(manifest);
|
|
4851
4844
|
}
|
|
4852
4845
|
function _processAndroidXML(manifest) {
|
|
4853
4846
|
if (Array.isArray(manifest?.resources?.string)) for (const string of manifest?.resources?.string) {
|
|
@@ -4934,45 +4927,45 @@ var require_Manifest = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
4934
4927
|
exports.removeMetaDataItemFromMainApplication = removeMetaDataItemFromMainApplication;
|
|
4935
4928
|
exports.removeUsesLibraryItemFromMainApplication = removeUsesLibraryItemFromMainApplication;
|
|
4936
4929
|
exports.writeAndroidManifestAsync = writeAndroidManifestAsync;
|
|
4937
|
-
function _assert$
|
|
4938
|
-
const data = _interopRequireDefault$
|
|
4939
|
-
_assert$
|
|
4930
|
+
function _assert$8() {
|
|
4931
|
+
const data = _interopRequireDefault$36(__require("assert"));
|
|
4932
|
+
_assert$8 = function() {
|
|
4940
4933
|
return data;
|
|
4941
4934
|
};
|
|
4942
4935
|
return data;
|
|
4943
4936
|
}
|
|
4944
|
-
function _fs$
|
|
4945
|
-
const data = _interopRequireDefault$
|
|
4946
|
-
_fs$
|
|
4937
|
+
function _fs$17() {
|
|
4938
|
+
const data = _interopRequireDefault$36(__require("fs"));
|
|
4939
|
+
_fs$17 = function() {
|
|
4947
4940
|
return data;
|
|
4948
4941
|
};
|
|
4949
4942
|
return data;
|
|
4950
4943
|
}
|
|
4951
|
-
function _path$
|
|
4952
|
-
const data = _interopRequireDefault$
|
|
4953
|
-
_path$
|
|
4944
|
+
function _path$15() {
|
|
4945
|
+
const data = _interopRequireDefault$36(__require("path"));
|
|
4946
|
+
_path$15 = function() {
|
|
4954
4947
|
return data;
|
|
4955
4948
|
};
|
|
4956
4949
|
return data;
|
|
4957
4950
|
}
|
|
4958
4951
|
function XML$1() {
|
|
4959
|
-
const data = _interopRequireWildcard$
|
|
4952
|
+
const data = _interopRequireWildcard$11(require_XML());
|
|
4960
4953
|
XML$1 = function() {
|
|
4961
4954
|
return data;
|
|
4962
4955
|
};
|
|
4963
4956
|
return data;
|
|
4964
4957
|
}
|
|
4965
|
-
function _getRequireWildcardCache$
|
|
4958
|
+
function _getRequireWildcardCache$11(e) {
|
|
4966
4959
|
if ("function" != typeof WeakMap) return null;
|
|
4967
4960
|
var r = /* @__PURE__ */ new WeakMap(), t$5 = /* @__PURE__ */ new WeakMap();
|
|
4968
|
-
return (_getRequireWildcardCache$
|
|
4961
|
+
return (_getRequireWildcardCache$11 = function(e$1) {
|
|
4969
4962
|
return e$1 ? t$5 : r;
|
|
4970
4963
|
})(e);
|
|
4971
4964
|
}
|
|
4972
|
-
function _interopRequireWildcard$
|
|
4965
|
+
function _interopRequireWildcard$11(e, r) {
|
|
4973
4966
|
if (!r && e && e.__esModule) return e;
|
|
4974
4967
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
4975
|
-
var t$5 = _getRequireWildcardCache$
|
|
4968
|
+
var t$5 = _getRequireWildcardCache$11(r);
|
|
4976
4969
|
if (t$5 && t$5.has(e)) return t$5.get(e);
|
|
4977
4970
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
4978
4971
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
@@ -4981,13 +4974,13 @@ var require_Manifest = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
4981
4974
|
}
|
|
4982
4975
|
return n.default = e, t$5 && t$5.set(e, n), n;
|
|
4983
4976
|
}
|
|
4984
|
-
function _interopRequireDefault$
|
|
4977
|
+
function _interopRequireDefault$36(obj) {
|
|
4985
4978
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
4986
4979
|
}
|
|
4987
4980
|
async function writeAndroidManifestAsync(manifestPath, androidManifest) {
|
|
4988
4981
|
const manifestXml = XML$1().format(androidManifest);
|
|
4989
|
-
await _fs$
|
|
4990
|
-
await _fs$
|
|
4982
|
+
await _fs$17().default.promises.mkdir(_path$15().default.dirname(manifestPath), { recursive: true });
|
|
4983
|
+
await _fs$17().default.promises.writeFile(manifestPath, manifestXml);
|
|
4991
4984
|
}
|
|
4992
4985
|
async function readAndroidManifestAsync(manifestPath) {
|
|
4993
4986
|
const xml = await XML$1().readXMLAsync({ path: manifestPath });
|
|
@@ -5003,12 +4996,12 @@ var require_Manifest = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
5003
4996
|
}
|
|
5004
4997
|
function getMainApplicationOrThrow(androidManifest) {
|
|
5005
4998
|
const mainApplication = getMainApplication(androidManifest);
|
|
5006
|
-
(0, _assert$
|
|
4999
|
+
(0, _assert$8().default)(mainApplication, "AndroidManifest.xml is missing the required MainApplication element");
|
|
5007
5000
|
return mainApplication;
|
|
5008
5001
|
}
|
|
5009
5002
|
function getMainActivityOrThrow(androidManifest) {
|
|
5010
5003
|
const mainActivity = getMainActivity(androidManifest);
|
|
5011
|
-
(0, _assert$
|
|
5004
|
+
(0, _assert$8().default)(mainActivity, "AndroidManifest.xml is missing the required MainActivity element");
|
|
5012
5005
|
return mainActivity;
|
|
5013
5006
|
}
|
|
5014
5007
|
function getRunnableActivity(androidManifest) {
|
|
@@ -6071,10 +6064,13 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6071
6064
|
x = x > .008856 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
|
|
6072
6065
|
y$1 = y$1 > .008856 ? y$1 ** (1 / 3) : 7.787 * y$1 + 16 / 116;
|
|
6073
6066
|
z = z > .008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
|
6067
|
+
const l = 116 * y$1 - 16;
|
|
6068
|
+
const a = 500 * (x - y$1);
|
|
6069
|
+
const b = 200 * (y$1 - z);
|
|
6074
6070
|
return [
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6071
|
+
l,
|
|
6072
|
+
a,
|
|
6073
|
+
b
|
|
6078
6074
|
];
|
|
6079
6075
|
};
|
|
6080
6076
|
convert$4.hsl.rgb = function(hsl) {
|
|
@@ -6122,9 +6118,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6122
6118
|
s$1 *= l <= 1 ? l : 2 - l;
|
|
6123
6119
|
smin *= lmin <= 1 ? lmin : 2 - lmin;
|
|
6124
6120
|
const v = (l + s$1) / 2;
|
|
6121
|
+
const sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s$1 / (l + s$1);
|
|
6125
6122
|
return [
|
|
6126
6123
|
h$1,
|
|
6127
|
-
|
|
6124
|
+
sv * 100,
|
|
6128
6125
|
v * 100
|
|
6129
6126
|
];
|
|
6130
6127
|
};
|
|
@@ -6294,10 +6291,13 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6294
6291
|
x = x > .008856 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
|
|
6295
6292
|
y$1 = y$1 > .008856 ? y$1 ** (1 / 3) : 7.787 * y$1 + 16 / 116;
|
|
6296
6293
|
z = z > .008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
|
|
6294
|
+
const l = 116 * y$1 - 16;
|
|
6295
|
+
const a = 500 * (x - y$1);
|
|
6296
|
+
const b = 200 * (y$1 - z);
|
|
6297
6297
|
return [
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6298
|
+
l,
|
|
6299
|
+
a,
|
|
6300
|
+
b
|
|
6301
6301
|
];
|
|
6302
6302
|
};
|
|
6303
6303
|
convert$4.lab.xyz = function(lab) {
|
|
@@ -6332,9 +6332,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6332
6332
|
let h$1;
|
|
6333
6333
|
h$1 = Math.atan2(b, a) * 360 / 2 / Math.PI;
|
|
6334
6334
|
if (h$1 < 0) h$1 += 360;
|
|
6335
|
+
const c$1 = Math.sqrt(a * a + b * b);
|
|
6335
6336
|
return [
|
|
6336
6337
|
l,
|
|
6337
|
-
|
|
6338
|
+
c$1,
|
|
6338
6339
|
h$1
|
|
6339
6340
|
];
|
|
6340
6341
|
};
|
|
@@ -6342,10 +6343,12 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6342
6343
|
const l = lch[0];
|
|
6343
6344
|
const c$1 = lch[1];
|
|
6344
6345
|
const hr = lch[2] / 360 * 2 * Math.PI;
|
|
6346
|
+
const a = c$1 * Math.cos(hr);
|
|
6347
|
+
const b = c$1 * Math.sin(hr);
|
|
6345
6348
|
return [
|
|
6346
6349
|
l,
|
|
6347
|
-
|
|
6348
|
-
|
|
6350
|
+
a,
|
|
6351
|
+
b
|
|
6349
6352
|
];
|
|
6350
6353
|
};
|
|
6351
6354
|
convert$4.rgb.ansi16 = function(args, saturation = null) {
|
|
@@ -6383,10 +6386,13 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6383
6386
|
];
|
|
6384
6387
|
}
|
|
6385
6388
|
const mult = (~~(args > 50) + 1) * .5;
|
|
6389
|
+
const r = (color & 1) * mult * 255;
|
|
6390
|
+
const g = (color >> 1 & 1) * mult * 255;
|
|
6391
|
+
const b = (color >> 2 & 1) * mult * 255;
|
|
6386
6392
|
return [
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6393
|
+
r,
|
|
6394
|
+
g,
|
|
6395
|
+
b
|
|
6390
6396
|
];
|
|
6391
6397
|
};
|
|
6392
6398
|
convert$4.ansi256.rgb = function(args) {
|
|
@@ -6400,10 +6406,13 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6400
6406
|
}
|
|
6401
6407
|
args -= 16;
|
|
6402
6408
|
let rem;
|
|
6409
|
+
const r = Math.floor(args / 36) / 5 * 255;
|
|
6410
|
+
const g = Math.floor((rem = args % 36) / 6) / 5 * 255;
|
|
6411
|
+
const b = rem % 6 / 5 * 255;
|
|
6403
6412
|
return [
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6413
|
+
r,
|
|
6414
|
+
g,
|
|
6415
|
+
b
|
|
6407
6416
|
];
|
|
6408
6417
|
};
|
|
6409
6418
|
convert$4.rgb.hex = function(args) {
|
|
@@ -6422,10 +6431,13 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6422
6431
|
return char + char;
|
|
6423
6432
|
}).join("");
|
|
6424
6433
|
const integer = parseInt(colorString, 16);
|
|
6434
|
+
const r = integer >> 16 & 255;
|
|
6435
|
+
const g = integer >> 8 & 255;
|
|
6436
|
+
const b = integer & 255;
|
|
6425
6437
|
return [
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6438
|
+
r,
|
|
6439
|
+
g,
|
|
6440
|
+
b
|
|
6429
6441
|
];
|
|
6430
6442
|
};
|
|
6431
6443
|
convert$4.rgb.hcg = function(rgb) {
|
|
@@ -6533,7 +6545,8 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6533
6545
|
};
|
|
6534
6546
|
convert$4.hcg.hsv = function(hcg) {
|
|
6535
6547
|
const c$1 = hcg[1] / 100;
|
|
6536
|
-
const
|
|
6548
|
+
const g = hcg[2] / 100;
|
|
6549
|
+
const v = c$1 + g * (1 - c$1);
|
|
6537
6550
|
let f$2 = 0;
|
|
6538
6551
|
if (v > 0) f$2 = c$1 / v;
|
|
6539
6552
|
return [
|
|
@@ -6556,7 +6569,8 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
|
|
|
6556
6569
|
};
|
|
6557
6570
|
convert$4.hcg.hwb = function(hcg) {
|
|
6558
6571
|
const c$1 = hcg[1] / 100;
|
|
6559
|
-
const
|
|
6572
|
+
const g = hcg[2] / 100;
|
|
6573
|
+
const v = c$1 + g * (1 - c$1);
|
|
6560
6574
|
return [
|
|
6561
6575
|
hcg[0],
|
|
6562
6576
|
(v - c$1) * 100,
|
|
@@ -6651,10 +6665,10 @@ var require_route$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/color-con
|
|
|
6651
6665
|
}
|
|
6652
6666
|
function deriveBFS$1(fromModel) {
|
|
6653
6667
|
const graph = buildGraph$1();
|
|
6654
|
-
const queue = [fromModel];
|
|
6668
|
+
const queue$1 = [fromModel];
|
|
6655
6669
|
graph[fromModel].distance = 0;
|
|
6656
|
-
while (queue.length) {
|
|
6657
|
-
const current = queue.pop();
|
|
6670
|
+
while (queue$1.length) {
|
|
6671
|
+
const current = queue$1.pop();
|
|
6658
6672
|
const adjacents = Object.keys(conversions$3[current]);
|
|
6659
6673
|
for (let len$1 = adjacents.length, i$4 = 0; i$4 < len$1; i$4++) {
|
|
6660
6674
|
const adjacent = adjacents[i$4];
|
|
@@ -6662,7 +6676,7 @@ var require_route$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/color-con
|
|
|
6662
6676
|
if (node.distance === -1) {
|
|
6663
6677
|
node.distance = graph[current].distance + 1;
|
|
6664
6678
|
node.parent = current;
|
|
6665
|
-
queue.unshift(adjacent);
|
|
6679
|
+
queue$1.unshift(adjacent);
|
|
6666
6680
|
}
|
|
6667
6681
|
}
|
|
6668
6682
|
}
|
|
@@ -6674,15 +6688,15 @@ var require_route$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/color-con
|
|
|
6674
6688
|
};
|
|
6675
6689
|
}
|
|
6676
6690
|
function wrapConversion$1(toModel, graph) {
|
|
6677
|
-
const path$
|
|
6691
|
+
const path$10 = [graph[toModel].parent, toModel];
|
|
6678
6692
|
let fn = conversions$3[graph[toModel].parent][toModel];
|
|
6679
6693
|
let cur = graph[toModel].parent;
|
|
6680
6694
|
while (graph[cur].parent) {
|
|
6681
|
-
path$
|
|
6695
|
+
path$10.unshift(graph[cur].parent);
|
|
6682
6696
|
fn = link$1(conversions$3[graph[cur].parent][cur], fn);
|
|
6683
6697
|
cur = graph[cur].parent;
|
|
6684
6698
|
}
|
|
6685
|
-
fn.conversion = path$
|
|
6699
|
+
fn.conversion = path$10;
|
|
6686
6700
|
return fn;
|
|
6687
6701
|
}
|
|
6688
6702
|
module.exports = function(fromModel) {
|
|
@@ -6761,10 +6775,10 @@ var require_ansi_styles$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/cha
|
|
|
6761
6775
|
g,
|
|
6762
6776
|
b
|
|
6763
6777
|
];
|
|
6764
|
-
const setLazyProperty = (object, property, get
|
|
6778
|
+
const setLazyProperty = (object, property, get) => {
|
|
6765
6779
|
Object.defineProperty(object, property, {
|
|
6766
6780
|
get: () => {
|
|
6767
|
-
const value = get
|
|
6781
|
+
const value = get();
|
|
6768
6782
|
Object.defineProperty(object, property, {
|
|
6769
6783
|
value,
|
|
6770
6784
|
enumerable: true,
|
|
@@ -6948,7 +6962,8 @@ var require_supports_color$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
6948
6962
|
return min;
|
|
6949
6963
|
}
|
|
6950
6964
|
function getSupportLevel$1(stream) {
|
|
6951
|
-
|
|
6965
|
+
const level = supportsColor$1(stream, stream && stream.isTTY);
|
|
6966
|
+
return translateLevel$1(level);
|
|
6952
6967
|
}
|
|
6953
6968
|
module.exports = {
|
|
6954
6969
|
supportsColor: getSupportLevel$1,
|
|
@@ -7330,7 +7345,6 @@ var require_getenv = /* @__PURE__ */ __commonJS({ "node_modules/getenv/index.js"
|
|
|
7330
7345
|
//#region node_modules/@expo/config-plugins/build/utils/errors.js
|
|
7331
7346
|
var require_errors = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/errors.js": ((exports) => {
|
|
7332
7347
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7333
|
-
exports.UnexpectedError = exports.PluginError = void 0;
|
|
7334
7348
|
var UnexpectedError = class extends Error {
|
|
7335
7349
|
name = "UnexpectedError";
|
|
7336
7350
|
constructor(message) {
|
|
@@ -7360,7 +7374,7 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
7360
7374
|
exports.withBaseMod = withBaseMod;
|
|
7361
7375
|
exports.withMod = withMod;
|
|
7362
7376
|
function _chalk$1() {
|
|
7363
|
-
const data = _interopRequireDefault$
|
|
7377
|
+
const data = _interopRequireDefault$35(require_source());
|
|
7364
7378
|
_chalk$1 = function() {
|
|
7365
7379
|
return data;
|
|
7366
7380
|
};
|
|
@@ -7373,14 +7387,14 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
7373
7387
|
};
|
|
7374
7388
|
return data;
|
|
7375
7389
|
}
|
|
7376
|
-
function _errors$
|
|
7390
|
+
function _errors$5() {
|
|
7377
7391
|
const data = require_errors();
|
|
7378
|
-
_errors$
|
|
7392
|
+
_errors$5 = function() {
|
|
7379
7393
|
return data;
|
|
7380
7394
|
};
|
|
7381
7395
|
return data;
|
|
7382
7396
|
}
|
|
7383
|
-
function _interopRequireDefault$
|
|
7397
|
+
function _interopRequireDefault$35(obj) {
|
|
7384
7398
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
7385
7399
|
}
|
|
7386
7400
|
const EXPO_DEBUG$1 = (0, _getenv$2().boolish)("EXPO_DEBUG", false);
|
|
@@ -7414,8 +7428,8 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
7414
7428
|
debugTrace = getDebugPluginStackFromStackTrace(stack$1);
|
|
7415
7429
|
debugTrace = `${_chalk$1().default.bold(`${platform$1}.${mod}`)}: ${debugTrace}`;
|
|
7416
7430
|
}
|
|
7417
|
-
if (interceptedMod.isProvider) if (isProvider) throw new (_errors$
|
|
7418
|
-
else throw new (_errors$
|
|
7431
|
+
if (interceptedMod.isProvider) if (isProvider) throw new (_errors$5()).PluginError(`Cannot set provider mod for "${platform$1}.${mod}" because another is already being used.`, "CONFLICTING_PROVIDER");
|
|
7432
|
+
else throw new (_errors$5()).PluginError(`Cannot add mod to "${platform$1}.${mod}" because the provider has already been added. Provider must be the last mod added.`, "INVALID_MOD_ORDER");
|
|
7419
7433
|
async function interceptingMod({ modRequest,...config$1 }) {
|
|
7420
7434
|
if (isDebug) console.log(debugTrace);
|
|
7421
7435
|
const results = await action({
|
|
@@ -7482,11 +7496,12 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
7482
7496
|
mod,
|
|
7483
7497
|
isProvider: false,
|
|
7484
7498
|
async action({ modRequest: { nextMod,...modRequest }, modResults,...config$1 }) {
|
|
7485
|
-
|
|
7499
|
+
const results = await action({
|
|
7486
7500
|
modRequest,
|
|
7487
7501
|
modResults,
|
|
7488
7502
|
...config$1
|
|
7489
|
-
})
|
|
7503
|
+
});
|
|
7504
|
+
return nextMod(results);
|
|
7490
7505
|
}
|
|
7491
7506
|
});
|
|
7492
7507
|
}
|
|
@@ -7498,7 +7513,6 @@ var require_android_plugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/c
|
|
|
7498
7513
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7499
7514
|
exports.createAndroidManifestPlugin = createAndroidManifestPlugin;
|
|
7500
7515
|
exports.createStringsXmlPlugin = createStringsXmlPlugin;
|
|
7501
|
-
exports.withStringsXml = exports.withSettingsGradle = exports.withProjectBuildGradle = exports.withMainApplication = exports.withMainActivity = exports.withGradleProperties = exports.withAppBuildGradle = exports.withAndroidStyles = exports.withAndroidManifest = exports.withAndroidColorsNight = exports.withAndroidColors = void 0;
|
|
7502
7516
|
function _withMod$5() {
|
|
7503
7517
|
const data = require_withMod();
|
|
7504
7518
|
_withMod$5 = function() {
|
|
@@ -7690,7 +7704,6 @@ var require_AllowBackup = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
|
|
|
7690
7704
|
exports.getAllowBackup = getAllowBackup;
|
|
7691
7705
|
exports.getAllowBackupFromManifest = getAllowBackupFromManifest;
|
|
7692
7706
|
exports.setAllowBackup = setAllowBackup;
|
|
7693
|
-
exports.withAllowBackup = void 0;
|
|
7694
7707
|
function _Manifest$7() {
|
|
7695
7708
|
const data = require_Manifest();
|
|
7696
7709
|
_Manifest$7 = function() {
|
|
@@ -7729,7 +7742,6 @@ var require_BuildProperties$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo
|
|
|
7729
7742
|
exports.createBuildGradlePropsConfigPlugin = createBuildGradlePropsConfigPlugin;
|
|
7730
7743
|
exports.updateAndroidBuildPropertiesFromConfig = updateAndroidBuildPropertiesFromConfig;
|
|
7731
7744
|
exports.updateAndroidBuildProperty = updateAndroidBuildProperty;
|
|
7732
|
-
exports.withJsEngineGradleProps = void 0;
|
|
7733
7745
|
function _androidPlugins$14() {
|
|
7734
7746
|
const data = require_android_plugins();
|
|
7735
7747
|
_androidPlugins$14 = function() {
|
|
@@ -7811,168 +7823,9 @@ var require_BuildProperties$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo
|
|
|
7811
7823
|
var require_old = /* @__PURE__ */ __commonJS({ "../../node_modules/fs.realpath/old.js": ((exports) => {
|
|
7812
7824
|
var pathModule = __require("path");
|
|
7813
7825
|
var isWindows = process.platform === "win32";
|
|
7814
|
-
var fs$
|
|
7826
|
+
var fs$7 = __require("fs");
|
|
7815
7827
|
var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
|
|
7816
|
-
function rethrow() {
|
|
7817
|
-
var callback;
|
|
7818
|
-
if (DEBUG) {
|
|
7819
|
-
var backtrace = /* @__PURE__ */ new Error();
|
|
7820
|
-
callback = debugCallback;
|
|
7821
|
-
} else callback = missingCallback;
|
|
7822
|
-
return callback;
|
|
7823
|
-
function debugCallback(err) {
|
|
7824
|
-
if (err) {
|
|
7825
|
-
backtrace.message = err.message;
|
|
7826
|
-
err = backtrace;
|
|
7827
|
-
missingCallback(err);
|
|
7828
|
-
}
|
|
7829
|
-
}
|
|
7830
|
-
function missingCallback(err) {
|
|
7831
|
-
if (err) {
|
|
7832
|
-
if (process.throwDeprecation) throw err;
|
|
7833
|
-
else if (!process.noDeprecation) {
|
|
7834
|
-
var msg = "fs: missing callback " + (err.stack || err.message);
|
|
7835
|
-
if (process.traceDeprecation) console.trace(msg);
|
|
7836
|
-
else console.error(msg);
|
|
7837
|
-
}
|
|
7838
|
-
}
|
|
7839
|
-
}
|
|
7840
|
-
}
|
|
7841
|
-
function maybeCallback(cb) {
|
|
7842
|
-
return typeof cb === "function" ? cb : rethrow();
|
|
7843
|
-
}
|
|
7844
7828
|
pathModule.normalize;
|
|
7845
|
-
if (isWindows) var nextPartRe = /(.*?)(?:[\/\\]+|$)/g;
|
|
7846
|
-
else var nextPartRe = /(.*?)(?:[\/]+|$)/g;
|
|
7847
|
-
if (isWindows) var splitRootRe = /^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;
|
|
7848
|
-
else var splitRootRe = /^[\/]*/;
|
|
7849
|
-
exports.realpathSync = function realpathSync$1(p$1, cache$1) {
|
|
7850
|
-
p$1 = pathModule.resolve(p$1);
|
|
7851
|
-
if (cache$1 && Object.prototype.hasOwnProperty.call(cache$1, p$1)) return cache$1[p$1];
|
|
7852
|
-
var original = p$1, seenLinks = {}, knownHard = {};
|
|
7853
|
-
var pos$1;
|
|
7854
|
-
var current;
|
|
7855
|
-
var base;
|
|
7856
|
-
var previous;
|
|
7857
|
-
start();
|
|
7858
|
-
function start() {
|
|
7859
|
-
var m$1 = splitRootRe.exec(p$1);
|
|
7860
|
-
pos$1 = m$1[0].length;
|
|
7861
|
-
current = m$1[0];
|
|
7862
|
-
base = m$1[0];
|
|
7863
|
-
previous = "";
|
|
7864
|
-
if (isWindows && !knownHard[base]) {
|
|
7865
|
-
fs$9.lstatSync(base);
|
|
7866
|
-
knownHard[base] = true;
|
|
7867
|
-
}
|
|
7868
|
-
}
|
|
7869
|
-
while (pos$1 < p$1.length) {
|
|
7870
|
-
nextPartRe.lastIndex = pos$1;
|
|
7871
|
-
var result = nextPartRe.exec(p$1);
|
|
7872
|
-
previous = current;
|
|
7873
|
-
current += result[0];
|
|
7874
|
-
base = previous + result[1];
|
|
7875
|
-
pos$1 = nextPartRe.lastIndex;
|
|
7876
|
-
if (knownHard[base] || cache$1 && cache$1[base] === base) continue;
|
|
7877
|
-
var resolvedLink;
|
|
7878
|
-
if (cache$1 && Object.prototype.hasOwnProperty.call(cache$1, base)) resolvedLink = cache$1[base];
|
|
7879
|
-
else {
|
|
7880
|
-
var stat = fs$9.lstatSync(base);
|
|
7881
|
-
if (!stat.isSymbolicLink()) {
|
|
7882
|
-
knownHard[base] = true;
|
|
7883
|
-
if (cache$1) cache$1[base] = base;
|
|
7884
|
-
continue;
|
|
7885
|
-
}
|
|
7886
|
-
var linkTarget = null;
|
|
7887
|
-
if (!isWindows) {
|
|
7888
|
-
var id = stat.dev.toString(32) + ":" + stat.ino.toString(32);
|
|
7889
|
-
if (seenLinks.hasOwnProperty(id)) linkTarget = seenLinks[id];
|
|
7890
|
-
}
|
|
7891
|
-
if (linkTarget === null) {
|
|
7892
|
-
fs$9.statSync(base);
|
|
7893
|
-
linkTarget = fs$9.readlinkSync(base);
|
|
7894
|
-
}
|
|
7895
|
-
resolvedLink = pathModule.resolve(previous, linkTarget);
|
|
7896
|
-
if (cache$1) cache$1[base] = resolvedLink;
|
|
7897
|
-
if (!isWindows) seenLinks[id] = linkTarget;
|
|
7898
|
-
}
|
|
7899
|
-
p$1 = pathModule.resolve(resolvedLink, p$1.slice(pos$1));
|
|
7900
|
-
start();
|
|
7901
|
-
}
|
|
7902
|
-
if (cache$1) cache$1[original] = p$1;
|
|
7903
|
-
return p$1;
|
|
7904
|
-
};
|
|
7905
|
-
exports.realpath = function realpath$1(p$1, cache$1, cb) {
|
|
7906
|
-
if (typeof cb !== "function") {
|
|
7907
|
-
cb = maybeCallback(cache$1);
|
|
7908
|
-
cache$1 = null;
|
|
7909
|
-
}
|
|
7910
|
-
p$1 = pathModule.resolve(p$1);
|
|
7911
|
-
if (cache$1 && Object.prototype.hasOwnProperty.call(cache$1, p$1)) return process.nextTick(cb.bind(null, null, cache$1[p$1]));
|
|
7912
|
-
var original = p$1, seenLinks = {}, knownHard = {};
|
|
7913
|
-
var pos$1;
|
|
7914
|
-
var current;
|
|
7915
|
-
var base;
|
|
7916
|
-
var previous;
|
|
7917
|
-
start();
|
|
7918
|
-
function start() {
|
|
7919
|
-
var m$1 = splitRootRe.exec(p$1);
|
|
7920
|
-
pos$1 = m$1[0].length;
|
|
7921
|
-
current = m$1[0];
|
|
7922
|
-
base = m$1[0];
|
|
7923
|
-
previous = "";
|
|
7924
|
-
if (isWindows && !knownHard[base]) fs$9.lstat(base, function(err) {
|
|
7925
|
-
if (err) return cb(err);
|
|
7926
|
-
knownHard[base] = true;
|
|
7927
|
-
LOOP();
|
|
7928
|
-
});
|
|
7929
|
-
else process.nextTick(LOOP);
|
|
7930
|
-
}
|
|
7931
|
-
function LOOP() {
|
|
7932
|
-
if (pos$1 >= p$1.length) {
|
|
7933
|
-
if (cache$1) cache$1[original] = p$1;
|
|
7934
|
-
return cb(null, p$1);
|
|
7935
|
-
}
|
|
7936
|
-
nextPartRe.lastIndex = pos$1;
|
|
7937
|
-
var result = nextPartRe.exec(p$1);
|
|
7938
|
-
previous = current;
|
|
7939
|
-
current += result[0];
|
|
7940
|
-
base = previous + result[1];
|
|
7941
|
-
pos$1 = nextPartRe.lastIndex;
|
|
7942
|
-
if (knownHard[base] || cache$1 && cache$1[base] === base) return process.nextTick(LOOP);
|
|
7943
|
-
if (cache$1 && Object.prototype.hasOwnProperty.call(cache$1, base)) return gotResolvedLink(cache$1[base]);
|
|
7944
|
-
return fs$9.lstat(base, gotStat);
|
|
7945
|
-
}
|
|
7946
|
-
function gotStat(err, stat) {
|
|
7947
|
-
if (err) return cb(err);
|
|
7948
|
-
if (!stat.isSymbolicLink()) {
|
|
7949
|
-
knownHard[base] = true;
|
|
7950
|
-
if (cache$1) cache$1[base] = base;
|
|
7951
|
-
return process.nextTick(LOOP);
|
|
7952
|
-
}
|
|
7953
|
-
if (!isWindows) {
|
|
7954
|
-
var id = stat.dev.toString(32) + ":" + stat.ino.toString(32);
|
|
7955
|
-
if (seenLinks.hasOwnProperty(id)) return gotTarget(null, seenLinks[id], base);
|
|
7956
|
-
}
|
|
7957
|
-
fs$9.stat(base, function(err$1) {
|
|
7958
|
-
if (err$1) return cb(err$1);
|
|
7959
|
-
fs$9.readlink(base, function(err$2, target) {
|
|
7960
|
-
if (!isWindows) seenLinks[id] = target;
|
|
7961
|
-
gotTarget(err$2, target);
|
|
7962
|
-
});
|
|
7963
|
-
});
|
|
7964
|
-
}
|
|
7965
|
-
function gotTarget(err, target, base$1) {
|
|
7966
|
-
if (err) return cb(err);
|
|
7967
|
-
var resolvedLink = pathModule.resolve(previous, target);
|
|
7968
|
-
if (cache$1) cache$1[base$1] = resolvedLink;
|
|
7969
|
-
gotResolvedLink(resolvedLink);
|
|
7970
|
-
}
|
|
7971
|
-
function gotResolvedLink(resolvedLink) {
|
|
7972
|
-
p$1 = pathModule.resolve(resolvedLink, p$1.slice(pos$1));
|
|
7973
|
-
start();
|
|
7974
|
-
}
|
|
7975
|
-
};
|
|
7976
7829
|
}) });
|
|
7977
7830
|
|
|
7978
7831
|
//#endregion
|
|
@@ -7984,9 +7837,9 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/fs.realpath/
|
|
|
7984
7837
|
realpath.realpathSync = realpathSync;
|
|
7985
7838
|
realpath.monkeypatch = monkeypatch;
|
|
7986
7839
|
realpath.unmonkeypatch = unmonkeypatch;
|
|
7987
|
-
var fs$
|
|
7988
|
-
var origRealpath = fs$
|
|
7989
|
-
var origRealpathSync = fs$
|
|
7840
|
+
var fs$6 = __require("fs");
|
|
7841
|
+
var origRealpath = fs$6.realpath;
|
|
7842
|
+
var origRealpathSync = fs$6.realpathSync;
|
|
7990
7843
|
var version = process.version;
|
|
7991
7844
|
var ok = /^v[0-5]\./.test(version);
|
|
7992
7845
|
var old = require_old();
|
|
@@ -8014,12 +7867,12 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/fs.realpath/
|
|
|
8014
7867
|
}
|
|
8015
7868
|
}
|
|
8016
7869
|
function monkeypatch() {
|
|
8017
|
-
fs$
|
|
8018
|
-
fs$
|
|
7870
|
+
fs$6.realpath = realpath;
|
|
7871
|
+
fs$6.realpathSync = realpathSync;
|
|
8019
7872
|
}
|
|
8020
7873
|
function unmonkeypatch() {
|
|
8021
|
-
fs$
|
|
8022
|
-
fs$
|
|
7874
|
+
fs$6.realpath = origRealpath;
|
|
7875
|
+
fs$6.realpathSync = origRealpathSync;
|
|
8023
7876
|
}
|
|
8024
7877
|
}) });
|
|
8025
7878
|
|
|
@@ -8224,12 +8077,12 @@ var require_brace_expansion = /* @__PURE__ */ __commonJS({ "../../node_modules/m
|
|
|
8224
8077
|
var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimatch/minimatch.js": ((exports, module) => {
|
|
8225
8078
|
module.exports = minimatch$3;
|
|
8226
8079
|
minimatch$3.Minimatch = Minimatch$1;
|
|
8227
|
-
var path$
|
|
8080
|
+
var path$9 = function() {
|
|
8228
8081
|
try {
|
|
8229
8082
|
return __require("path");
|
|
8230
8083
|
} catch (e) {}
|
|
8231
8084
|
}() || { sep: "/" };
|
|
8232
|
-
minimatch$3.sep = path$
|
|
8085
|
+
minimatch$3.sep = path$9.sep;
|
|
8233
8086
|
var GLOBSTAR = minimatch$3.GLOBSTAR = Minimatch$1.GLOBSTAR = {};
|
|
8234
8087
|
var expand = require_brace_expansion();
|
|
8235
8088
|
var plTypes = {
|
|
@@ -8327,7 +8180,7 @@ var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimat
|
|
|
8327
8180
|
assertValidPattern(pattern);
|
|
8328
8181
|
if (!options) options = {};
|
|
8329
8182
|
pattern = pattern.trim();
|
|
8330
|
-
if (!options.allowWindowsEscape && path$
|
|
8183
|
+
if (!options.allowWindowsEscape && path$9.sep !== "/") pattern = pattern.split(path$9.sep).join("/");
|
|
8331
8184
|
this.options = options;
|
|
8332
8185
|
this.set = [];
|
|
8333
8186
|
this.pattern = pattern;
|
|
@@ -8402,9 +8255,9 @@ var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimat
|
|
|
8402
8255
|
if (typeof pattern !== "string") throw new TypeError("invalid pattern");
|
|
8403
8256
|
if (pattern.length > MAX_PATTERN_LENGTH) throw new TypeError("pattern is too long");
|
|
8404
8257
|
};
|
|
8405
|
-
Minimatch$1.prototype.parse = parse$
|
|
8258
|
+
Minimatch$1.prototype.parse = parse$11;
|
|
8406
8259
|
var SUBPARSE = {};
|
|
8407
|
-
function parse$
|
|
8260
|
+
function parse$11(pattern, isSub) {
|
|
8408
8261
|
assertValidPattern(pattern);
|
|
8409
8262
|
var options = this.options;
|
|
8410
8263
|
if (pattern === "**") if (!options.noglobstar) return GLOBSTAR;
|
|
@@ -8648,7 +8501,7 @@ var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimat
|
|
|
8648
8501
|
if (this.empty) return f$2 === "";
|
|
8649
8502
|
if (f$2 === "/" && partial) return true;
|
|
8650
8503
|
var options = this.options;
|
|
8651
|
-
if (path$
|
|
8504
|
+
if (path$9.sep !== "/") f$2 = f$2.split(path$9.sep).join("/");
|
|
8652
8505
|
f$2 = f$2.split(slashSplit);
|
|
8653
8506
|
this.debug(this.pattern, "split", f$2);
|
|
8654
8507
|
var set = this.set;
|
|
@@ -8787,11 +8640,11 @@ var require_inherits = /* @__PURE__ */ __commonJS({ "../../node_modules/inherits
|
|
|
8787
8640
|
//#endregion
|
|
8788
8641
|
//#region ../../node_modules/path-is-absolute/index.js
|
|
8789
8642
|
var require_path_is_absolute = /* @__PURE__ */ __commonJS({ "../../node_modules/path-is-absolute/index.js": ((exports, module) => {
|
|
8790
|
-
function posix(path$
|
|
8791
|
-
return path$
|
|
8643
|
+
function posix(path$10) {
|
|
8644
|
+
return path$10.charAt(0) === "/";
|
|
8792
8645
|
}
|
|
8793
|
-
function win32(path$
|
|
8794
|
-
var result = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(path$
|
|
8646
|
+
function win32(path$10) {
|
|
8647
|
+
var result = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(path$10);
|
|
8795
8648
|
var device = result[1] || "";
|
|
8796
8649
|
var isUnc = Boolean(device && device.charAt(1) !== ":");
|
|
8797
8650
|
return Boolean(result[2] || isUnc);
|
|
@@ -8804,161 +8657,10 @@ var require_path_is_absolute = /* @__PURE__ */ __commonJS({ "../../node_modules/
|
|
|
8804
8657
|
//#endregion
|
|
8805
8658
|
//#region node_modules/glob/common.js
|
|
8806
8659
|
var require_common$1 = /* @__PURE__ */ __commonJS({ "node_modules/glob/common.js": ((exports) => {
|
|
8807
|
-
|
|
8808
|
-
exports.alphasorti = alphasorti;
|
|
8809
|
-
exports.setopts = setopts$2;
|
|
8810
|
-
exports.ownProp = ownProp$2;
|
|
8811
|
-
exports.makeAbs = makeAbs;
|
|
8812
|
-
exports.finish = finish;
|
|
8813
|
-
exports.mark = mark;
|
|
8814
|
-
exports.isIgnored = isIgnored$2;
|
|
8815
|
-
exports.childrenIgnored = childrenIgnored$2;
|
|
8816
|
-
function ownProp$2(obj, field) {
|
|
8817
|
-
return Object.prototype.hasOwnProperty.call(obj, field);
|
|
8818
|
-
}
|
|
8819
|
-
var path$11 = __require("path");
|
|
8660
|
+
var path$8 = __require("path");
|
|
8820
8661
|
var minimatch$2 = require_minimatch();
|
|
8821
8662
|
var isAbsolute$2 = require_path_is_absolute();
|
|
8822
8663
|
var Minimatch = minimatch$2.Minimatch;
|
|
8823
|
-
function alphasorti(a, b) {
|
|
8824
|
-
return a.toLowerCase().localeCompare(b.toLowerCase());
|
|
8825
|
-
}
|
|
8826
|
-
function alphasort(a, b) {
|
|
8827
|
-
return a.localeCompare(b);
|
|
8828
|
-
}
|
|
8829
|
-
function setupIgnores(self, options) {
|
|
8830
|
-
self.ignore = options.ignore || [];
|
|
8831
|
-
if (!Array.isArray(self.ignore)) self.ignore = [self.ignore];
|
|
8832
|
-
if (self.ignore.length) self.ignore = self.ignore.map(ignoreMap);
|
|
8833
|
-
}
|
|
8834
|
-
function ignoreMap(pattern) {
|
|
8835
|
-
var gmatcher = null;
|
|
8836
|
-
if (pattern.slice(-3) === "/**") gmatcher = new Minimatch(pattern.replace(/(\/\*\*)+$/, ""), { dot: true });
|
|
8837
|
-
return {
|
|
8838
|
-
matcher: new Minimatch(pattern, { dot: true }),
|
|
8839
|
-
gmatcher
|
|
8840
|
-
};
|
|
8841
|
-
}
|
|
8842
|
-
function setopts$2(self, pattern, options) {
|
|
8843
|
-
if (!options) options = {};
|
|
8844
|
-
if (options.matchBase && -1 === pattern.indexOf("/")) {
|
|
8845
|
-
if (options.noglobstar) throw new Error("base matching requires globstar");
|
|
8846
|
-
pattern = "**/" + pattern;
|
|
8847
|
-
}
|
|
8848
|
-
self.silent = !!options.silent;
|
|
8849
|
-
self.pattern = pattern;
|
|
8850
|
-
self.strict = options.strict !== false;
|
|
8851
|
-
self.realpath = !!options.realpath;
|
|
8852
|
-
self.realpathCache = options.realpathCache || Object.create(null);
|
|
8853
|
-
self.follow = !!options.follow;
|
|
8854
|
-
self.dot = !!options.dot;
|
|
8855
|
-
self.mark = !!options.mark;
|
|
8856
|
-
self.nodir = !!options.nodir;
|
|
8857
|
-
if (self.nodir) self.mark = true;
|
|
8858
|
-
self.sync = !!options.sync;
|
|
8859
|
-
self.nounique = !!options.nounique;
|
|
8860
|
-
self.nonull = !!options.nonull;
|
|
8861
|
-
self.nosort = !!options.nosort;
|
|
8862
|
-
self.nocase = !!options.nocase;
|
|
8863
|
-
self.stat = !!options.stat;
|
|
8864
|
-
self.noprocess = !!options.noprocess;
|
|
8865
|
-
self.absolute = !!options.absolute;
|
|
8866
|
-
self.maxLength = options.maxLength || Infinity;
|
|
8867
|
-
self.cache = options.cache || Object.create(null);
|
|
8868
|
-
self.statCache = options.statCache || Object.create(null);
|
|
8869
|
-
self.symlinks = options.symlinks || Object.create(null);
|
|
8870
|
-
setupIgnores(self, options);
|
|
8871
|
-
self.changedCwd = false;
|
|
8872
|
-
var cwd$1 = process.cwd();
|
|
8873
|
-
if (!ownProp$2(options, "cwd")) self.cwd = cwd$1;
|
|
8874
|
-
else {
|
|
8875
|
-
self.cwd = path$11.resolve(options.cwd);
|
|
8876
|
-
self.changedCwd = self.cwd !== cwd$1;
|
|
8877
|
-
}
|
|
8878
|
-
self.root = options.root || path$11.resolve(self.cwd, "/");
|
|
8879
|
-
self.root = path$11.resolve(self.root);
|
|
8880
|
-
if (process.platform === "win32") self.root = self.root.replace(/\\/g, "/");
|
|
8881
|
-
self.cwdAbs = isAbsolute$2(self.cwd) ? self.cwd : makeAbs(self, self.cwd);
|
|
8882
|
-
if (process.platform === "win32") self.cwdAbs = self.cwdAbs.replace(/\\/g, "/");
|
|
8883
|
-
self.nomount = !!options.nomount;
|
|
8884
|
-
options.nonegate = true;
|
|
8885
|
-
options.nocomment = true;
|
|
8886
|
-
self.minimatch = new Minimatch(pattern, options);
|
|
8887
|
-
self.options = self.minimatch.options;
|
|
8888
|
-
}
|
|
8889
|
-
function finish(self) {
|
|
8890
|
-
var nou = self.nounique;
|
|
8891
|
-
var all = nou ? [] : Object.create(null);
|
|
8892
|
-
for (var i$4 = 0, l = self.matches.length; i$4 < l; i$4++) {
|
|
8893
|
-
var matches = self.matches[i$4];
|
|
8894
|
-
if (!matches || Object.keys(matches).length === 0) {
|
|
8895
|
-
if (self.nonull) {
|
|
8896
|
-
var literal$1 = self.minimatch.globSet[i$4];
|
|
8897
|
-
if (nou) all.push(literal$1);
|
|
8898
|
-
else all[literal$1] = true;
|
|
8899
|
-
}
|
|
8900
|
-
} else {
|
|
8901
|
-
var m$1 = Object.keys(matches);
|
|
8902
|
-
if (nou) all.push.apply(all, m$1);
|
|
8903
|
-
else m$1.forEach(function(m$2) {
|
|
8904
|
-
all[m$2] = true;
|
|
8905
|
-
});
|
|
8906
|
-
}
|
|
8907
|
-
}
|
|
8908
|
-
if (!nou) all = Object.keys(all);
|
|
8909
|
-
if (!self.nosort) all = all.sort(self.nocase ? alphasorti : alphasort);
|
|
8910
|
-
if (self.mark) {
|
|
8911
|
-
for (var i$4 = 0; i$4 < all.length; i$4++) all[i$4] = self._mark(all[i$4]);
|
|
8912
|
-
if (self.nodir) all = all.filter(function(e) {
|
|
8913
|
-
var notDir = !/\/$/.test(e);
|
|
8914
|
-
var c$1 = self.cache[e] || self.cache[makeAbs(self, e)];
|
|
8915
|
-
if (notDir && c$1) notDir = c$1 !== "DIR" && !Array.isArray(c$1);
|
|
8916
|
-
return notDir;
|
|
8917
|
-
});
|
|
8918
|
-
}
|
|
8919
|
-
if (self.ignore.length) all = all.filter(function(m$2) {
|
|
8920
|
-
return !isIgnored$2(self, m$2);
|
|
8921
|
-
});
|
|
8922
|
-
self.found = all;
|
|
8923
|
-
}
|
|
8924
|
-
function mark(self, p$1) {
|
|
8925
|
-
var abs = makeAbs(self, p$1);
|
|
8926
|
-
var c$1 = self.cache[abs];
|
|
8927
|
-
var m$1 = p$1;
|
|
8928
|
-
if (c$1) {
|
|
8929
|
-
var isDir = c$1 === "DIR" || Array.isArray(c$1);
|
|
8930
|
-
var slash = p$1.slice(-1) === "/";
|
|
8931
|
-
if (isDir && !slash) m$1 += "/";
|
|
8932
|
-
else if (!isDir && slash) m$1 = m$1.slice(0, -1);
|
|
8933
|
-
if (m$1 !== p$1) {
|
|
8934
|
-
var mabs = makeAbs(self, m$1);
|
|
8935
|
-
self.statCache[mabs] = self.statCache[abs];
|
|
8936
|
-
self.cache[mabs] = self.cache[abs];
|
|
8937
|
-
}
|
|
8938
|
-
}
|
|
8939
|
-
return m$1;
|
|
8940
|
-
}
|
|
8941
|
-
function makeAbs(self, f$2) {
|
|
8942
|
-
var abs = f$2;
|
|
8943
|
-
if (f$2.charAt(0) === "/") abs = path$11.join(self.root, f$2);
|
|
8944
|
-
else if (isAbsolute$2(f$2) || f$2 === "") abs = f$2;
|
|
8945
|
-
else if (self.changedCwd) abs = path$11.resolve(self.cwd, f$2);
|
|
8946
|
-
else abs = path$11.resolve(f$2);
|
|
8947
|
-
if (process.platform === "win32") abs = abs.replace(/\\/g, "/");
|
|
8948
|
-
return abs;
|
|
8949
|
-
}
|
|
8950
|
-
function isIgnored$2(self, path$13) {
|
|
8951
|
-
if (!self.ignore.length) return false;
|
|
8952
|
-
return self.ignore.some(function(item) {
|
|
8953
|
-
return item.matcher.match(path$13) || !!(item.gmatcher && item.gmatcher.match(path$13));
|
|
8954
|
-
});
|
|
8955
|
-
}
|
|
8956
|
-
function childrenIgnored$2(self, path$13) {
|
|
8957
|
-
if (!self.ignore.length) return false;
|
|
8958
|
-
return self.ignore.some(function(item) {
|
|
8959
|
-
return !!(item.gmatcher && item.gmatcher.match(path$13));
|
|
8960
|
-
});
|
|
8961
|
-
}
|
|
8962
8664
|
}) });
|
|
8963
8665
|
|
|
8964
8666
|
//#endregion
|
|
@@ -8966,13 +8668,13 @@ var require_common$1 = /* @__PURE__ */ __commonJS({ "node_modules/glob/common.js
|
|
|
8966
8668
|
var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((exports, module) => {
|
|
8967
8669
|
module.exports = globSync$1;
|
|
8968
8670
|
globSync$1.GlobSync = GlobSync$1;
|
|
8969
|
-
var fs$
|
|
8671
|
+
var fs$5 = __require("fs");
|
|
8970
8672
|
var rp$1 = require_fs$1();
|
|
8971
8673
|
var minimatch$1 = require_minimatch();
|
|
8972
8674
|
minimatch$1.Minimatch;
|
|
8973
8675
|
require_glob().Glob;
|
|
8974
8676
|
__require("util");
|
|
8975
|
-
var path$
|
|
8677
|
+
var path$7 = __require("path");
|
|
8976
8678
|
var assert$2 = __require("assert");
|
|
8977
8679
|
var isAbsolute$1 = require_path_is_absolute();
|
|
8978
8680
|
var common$1 = require_common$1();
|
|
@@ -9068,7 +8770,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
|
|
|
9068
8770
|
var e = matchedEntries[i$4];
|
|
9069
8771
|
if (prefix) if (prefix.slice(-1) !== "/") e = prefix + "/" + e;
|
|
9070
8772
|
else e = prefix + e;
|
|
9071
|
-
if (e.charAt(0) === "/" && !this.nomount) e = path$
|
|
8773
|
+
if (e.charAt(0) === "/" && !this.nomount) e = path$7.join(this.root, e);
|
|
9072
8774
|
this._emitMatch(index, e);
|
|
9073
8775
|
}
|
|
9074
8776
|
return;
|
|
@@ -9100,7 +8802,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
|
|
|
9100
8802
|
var entries;
|
|
9101
8803
|
var lstat;
|
|
9102
8804
|
try {
|
|
9103
|
-
lstat = fs$
|
|
8805
|
+
lstat = fs$5.lstatSync(abs);
|
|
9104
8806
|
} catch (er) {
|
|
9105
8807
|
if (er.code === "ENOENT") return null;
|
|
9106
8808
|
}
|
|
@@ -9118,7 +8820,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
|
|
|
9118
8820
|
if (Array.isArray(c$1)) return c$1;
|
|
9119
8821
|
}
|
|
9120
8822
|
try {
|
|
9121
|
-
return this._readdirEntries(abs, fs$
|
|
8823
|
+
return this._readdirEntries(abs, fs$5.readdirSync(abs));
|
|
9122
8824
|
} catch (er) {
|
|
9123
8825
|
this._readdirError(abs, er);
|
|
9124
8826
|
return null;
|
|
@@ -9183,9 +8885,9 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
|
|
|
9183
8885
|
if (!exists) return;
|
|
9184
8886
|
if (prefix && isAbsolute$1(prefix) && !this.nomount) {
|
|
9185
8887
|
var trail = /[\/\\]$/.test(prefix);
|
|
9186
|
-
if (prefix.charAt(0) === "/") prefix = path$
|
|
8888
|
+
if (prefix.charAt(0) === "/") prefix = path$7.join(this.root, prefix);
|
|
9187
8889
|
else {
|
|
9188
|
-
prefix = path$
|
|
8890
|
+
prefix = path$7.resolve(this.root, prefix);
|
|
9189
8891
|
if (trail) prefix += "/";
|
|
9190
8892
|
}
|
|
9191
8893
|
}
|
|
@@ -9206,7 +8908,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
|
|
|
9206
8908
|
if (!stat) {
|
|
9207
8909
|
var lstat;
|
|
9208
8910
|
try {
|
|
9209
|
-
lstat = fs$
|
|
8911
|
+
lstat = fs$5.lstatSync(abs);
|
|
9210
8912
|
} catch (er) {
|
|
9211
8913
|
if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
|
|
9212
8914
|
this.statCache[abs] = false;
|
|
@@ -9214,7 +8916,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
|
|
|
9214
8916
|
}
|
|
9215
8917
|
}
|
|
9216
8918
|
if (lstat && lstat.isSymbolicLink()) try {
|
|
9217
|
-
stat = fs$
|
|
8919
|
+
stat = fs$5.statSync(abs);
|
|
9218
8920
|
} catch (er) {
|
|
9219
8921
|
stat = lstat;
|
|
9220
8922
|
}
|
|
@@ -9345,13 +9047,13 @@ var require_inflight = /* @__PURE__ */ __commonJS({ "../../node_modules/inflight
|
|
|
9345
9047
|
//#region node_modules/glob/glob.js
|
|
9346
9048
|
var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((exports, module) => {
|
|
9347
9049
|
module.exports = glob;
|
|
9348
|
-
var fs$
|
|
9050
|
+
var fs$4 = __require("fs");
|
|
9349
9051
|
var rp = require_fs$1();
|
|
9350
9052
|
var minimatch = require_minimatch();
|
|
9351
9053
|
minimatch.Minimatch;
|
|
9352
9054
|
var inherits = require_inherits();
|
|
9353
9055
|
var EE$1 = __require("events").EventEmitter;
|
|
9354
|
-
var path$
|
|
9056
|
+
var path$6 = __require("path");
|
|
9355
9057
|
var assert$1 = __require("assert");
|
|
9356
9058
|
var isAbsolute = require_path_is_absolute();
|
|
9357
9059
|
var globSync = require_sync();
|
|
@@ -9582,7 +9284,7 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
|
|
|
9582
9284
|
var e = matchedEntries[i$4];
|
|
9583
9285
|
if (prefix) if (prefix !== "/") e = prefix + "/" + e;
|
|
9584
9286
|
else e = prefix + e;
|
|
9585
|
-
if (e.charAt(0) === "/" && !this.nomount) e = path$
|
|
9287
|
+
if (e.charAt(0) === "/" && !this.nomount) e = path$6.join(this.root, e);
|
|
9586
9288
|
this._emitMatch(index, e);
|
|
9587
9289
|
}
|
|
9588
9290
|
return cb();
|
|
@@ -9622,7 +9324,7 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
|
|
|
9622
9324
|
var lstatkey = "lstat\0" + abs;
|
|
9623
9325
|
var self = this;
|
|
9624
9326
|
var lstatcb = inflight(lstatkey, lstatcb_);
|
|
9625
|
-
if (lstatcb) fs$
|
|
9327
|
+
if (lstatcb) fs$4.lstat(abs, lstatcb);
|
|
9626
9328
|
function lstatcb_(er, lstat) {
|
|
9627
9329
|
if (er && er.code === "ENOENT") return cb();
|
|
9628
9330
|
var isSym = lstat && lstat.isSymbolicLink();
|
|
@@ -9643,7 +9345,7 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
|
|
|
9643
9345
|
if (!c$1 || c$1 === "FILE") return cb();
|
|
9644
9346
|
if (Array.isArray(c$1)) return cb(null, c$1);
|
|
9645
9347
|
}
|
|
9646
|
-
fs$
|
|
9348
|
+
fs$4.readdir(abs, readdirCb(this, abs, cb));
|
|
9647
9349
|
};
|
|
9648
9350
|
function readdirCb(self, abs, cb) {
|
|
9649
9351
|
return function(er, entries) {
|
|
@@ -9729,9 +9431,9 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
|
|
|
9729
9431
|
if (!exists) return cb();
|
|
9730
9432
|
if (prefix && isAbsolute(prefix) && !this.nomount) {
|
|
9731
9433
|
var trail = /[\/\\]$/.test(prefix);
|
|
9732
|
-
if (prefix.charAt(0) === "/") prefix = path$
|
|
9434
|
+
if (prefix.charAt(0) === "/") prefix = path$6.join(this.root, prefix);
|
|
9733
9435
|
else {
|
|
9734
|
-
prefix = path$
|
|
9436
|
+
prefix = path$6.resolve(this.root, prefix);
|
|
9735
9437
|
if (trail) prefix += "/";
|
|
9736
9438
|
}
|
|
9737
9439
|
}
|
|
@@ -9758,9 +9460,9 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
|
|
|
9758
9460
|
}
|
|
9759
9461
|
var self = this;
|
|
9760
9462
|
var statcb = inflight("stat\0" + abs, lstatcb_);
|
|
9761
|
-
if (statcb) fs$
|
|
9463
|
+
if (statcb) fs$4.lstat(abs, statcb);
|
|
9762
9464
|
function lstatcb_(er, lstat) {
|
|
9763
|
-
if (lstat && lstat.isSymbolicLink()) return fs$
|
|
9465
|
+
if (lstat && lstat.isSymbolicLink()) return fs$4.stat(abs, function(er$1, stat$1) {
|
|
9764
9466
|
if (er$1) self._stat2(f$2, abs, null, lstat, cb);
|
|
9765
9467
|
else self._stat2(f$2, abs, er$1, stat$1, cb);
|
|
9766
9468
|
});
|
|
@@ -9790,14 +9492,14 @@ var require_modules = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
9790
9492
|
exports.directoryExistsAsync = directoryExistsAsync;
|
|
9791
9493
|
exports.fileExists = fileExists;
|
|
9792
9494
|
exports.fileExistsAsync = fileExistsAsync;
|
|
9793
|
-
function _fs$
|
|
9794
|
-
const data = _interopRequireDefault$
|
|
9795
|
-
_fs$
|
|
9495
|
+
function _fs$16() {
|
|
9496
|
+
const data = _interopRequireDefault$34(__require("fs"));
|
|
9497
|
+
_fs$16 = function() {
|
|
9796
9498
|
return data;
|
|
9797
9499
|
};
|
|
9798
9500
|
return data;
|
|
9799
9501
|
}
|
|
9800
|
-
function _interopRequireDefault$
|
|
9502
|
+
function _interopRequireDefault$34(obj) {
|
|
9801
9503
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
9802
9504
|
}
|
|
9803
9505
|
/**
|
|
@@ -9807,7 +9509,7 @@ var require_modules = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
9807
9509
|
*/
|
|
9808
9510
|
async function statAsync(file) {
|
|
9809
9511
|
try {
|
|
9810
|
-
return await _fs$
|
|
9512
|
+
return await _fs$16().default.promises.stat(file);
|
|
9811
9513
|
} catch {
|
|
9812
9514
|
return null;
|
|
9813
9515
|
}
|
|
@@ -9820,7 +9522,7 @@ var require_modules = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
9820
9522
|
}
|
|
9821
9523
|
function fileExists(file) {
|
|
9822
9524
|
try {
|
|
9823
|
-
return _fs$
|
|
9525
|
+
return _fs$16().default.statSync(file).isFile();
|
|
9824
9526
|
} catch {
|
|
9825
9527
|
return false;
|
|
9826
9528
|
}
|
|
@@ -9846,16 +9548,16 @@ var require_Paths$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
9846
9548
|
exports.getResourceXMLPathAsync = getResourceXMLPathAsync;
|
|
9847
9549
|
exports.getSettingsGradleAsync = getSettingsGradleAsync;
|
|
9848
9550
|
exports.getSettingsGradleFilePath = getSettingsGradleFilePath;
|
|
9849
|
-
function _assert$
|
|
9850
|
-
const data = _interopRequireDefault$
|
|
9851
|
-
_assert$
|
|
9551
|
+
function _assert$7() {
|
|
9552
|
+
const data = _interopRequireDefault$33(__require("assert"));
|
|
9553
|
+
_assert$7 = function() {
|
|
9852
9554
|
return data;
|
|
9853
9555
|
};
|
|
9854
9556
|
return data;
|
|
9855
9557
|
}
|
|
9856
|
-
function _fs$
|
|
9857
|
-
const data = _interopRequireDefault$
|
|
9858
|
-
_fs$
|
|
9558
|
+
function _fs$15() {
|
|
9559
|
+
const data = _interopRequireDefault$33(__require("fs"));
|
|
9560
|
+
_fs$15 = function() {
|
|
9859
9561
|
return data;
|
|
9860
9562
|
};
|
|
9861
9563
|
return data;
|
|
@@ -9867,38 +9569,38 @@ var require_Paths$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
9867
9569
|
};
|
|
9868
9570
|
return data;
|
|
9869
9571
|
}
|
|
9870
|
-
function path$
|
|
9871
|
-
const data = _interopRequireWildcard$
|
|
9872
|
-
path$
|
|
9572
|
+
function path$5() {
|
|
9573
|
+
const data = _interopRequireWildcard$10(__require("path"));
|
|
9574
|
+
path$5 = function() {
|
|
9873
9575
|
return data;
|
|
9874
9576
|
};
|
|
9875
9577
|
return data;
|
|
9876
9578
|
}
|
|
9877
|
-
function _errors$
|
|
9579
|
+
function _errors$4() {
|
|
9878
9580
|
const data = require_errors();
|
|
9879
|
-
_errors$
|
|
9581
|
+
_errors$4 = function() {
|
|
9880
9582
|
return data;
|
|
9881
9583
|
};
|
|
9882
9584
|
return data;
|
|
9883
9585
|
}
|
|
9884
|
-
function _modules$
|
|
9586
|
+
function _modules$2() {
|
|
9885
9587
|
const data = require_modules();
|
|
9886
|
-
_modules$
|
|
9588
|
+
_modules$2 = function() {
|
|
9887
9589
|
return data;
|
|
9888
9590
|
};
|
|
9889
9591
|
return data;
|
|
9890
9592
|
}
|
|
9891
|
-
function _getRequireWildcardCache$
|
|
9593
|
+
function _getRequireWildcardCache$10(e) {
|
|
9892
9594
|
if ("function" != typeof WeakMap) return null;
|
|
9893
9595
|
var r = /* @__PURE__ */ new WeakMap(), t$5 = /* @__PURE__ */ new WeakMap();
|
|
9894
|
-
return (_getRequireWildcardCache$
|
|
9596
|
+
return (_getRequireWildcardCache$10 = function(e$1) {
|
|
9895
9597
|
return e$1 ? t$5 : r;
|
|
9896
9598
|
})(e);
|
|
9897
9599
|
}
|
|
9898
|
-
function _interopRequireWildcard$
|
|
9600
|
+
function _interopRequireWildcard$10(e, r) {
|
|
9899
9601
|
if (!r && e && e.__esModule) return e;
|
|
9900
9602
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
9901
|
-
var t$5 = _getRequireWildcardCache$
|
|
9603
|
+
var t$5 = _getRequireWildcardCache$10(r);
|
|
9902
9604
|
if (t$5 && t$5.has(e)) return t$5.get(e);
|
|
9903
9605
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
9904
9606
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
@@ -9907,80 +9609,82 @@ var require_Paths$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
9907
9609
|
}
|
|
9908
9610
|
return n.default = e, t$5 && t$5.set(e, n), n;
|
|
9909
9611
|
}
|
|
9910
|
-
function _interopRequireDefault$
|
|
9612
|
+
function _interopRequireDefault$33(obj) {
|
|
9911
9613
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
9912
9614
|
}
|
|
9913
9615
|
function getProjectFilePath(projectRoot, name) {
|
|
9914
|
-
const filePath = (0, _glob$2().sync)(path$
|
|
9915
|
-
(0, _assert$
|
|
9616
|
+
const filePath = (0, _glob$2().sync)(path$5().join(projectRoot, `android/app/src/main/java/**/${name}.@(java|kt)`))[0];
|
|
9617
|
+
(0, _assert$7().default)(filePath, `Project file "${name}" does not exist in android project for root "${projectRoot}"`);
|
|
9916
9618
|
return filePath;
|
|
9917
9619
|
}
|
|
9918
9620
|
function getLanguage$1(filePath) {
|
|
9919
|
-
const extension = path$
|
|
9621
|
+
const extension = path$5().extname(filePath);
|
|
9920
9622
|
switch (extension) {
|
|
9921
9623
|
case ".java": return "java";
|
|
9922
9624
|
case ".kts":
|
|
9923
9625
|
case ".kt": return "kt";
|
|
9924
9626
|
case ".groovy":
|
|
9925
9627
|
case ".gradle": return "groovy";
|
|
9926
|
-
default: throw new (_errors$
|
|
9628
|
+
default: throw new (_errors$4()).UnexpectedError(`Unexpected Android file extension: ${extension}`);
|
|
9927
9629
|
}
|
|
9928
9630
|
}
|
|
9929
9631
|
function getFileInfo$1(filePath) {
|
|
9930
9632
|
return {
|
|
9931
|
-
path: path$
|
|
9932
|
-
contents: _fs$
|
|
9633
|
+
path: path$5().normalize(filePath),
|
|
9634
|
+
contents: _fs$15().default.readFileSync(filePath, "utf8"),
|
|
9933
9635
|
language: getLanguage$1(filePath)
|
|
9934
9636
|
};
|
|
9935
9637
|
}
|
|
9936
9638
|
async function getMainApplicationAsync(projectRoot) {
|
|
9937
|
-
|
|
9639
|
+
const filePath = getProjectFilePath(projectRoot, "MainApplication");
|
|
9640
|
+
return getFileInfo$1(filePath);
|
|
9938
9641
|
}
|
|
9939
9642
|
async function getMainActivityAsync(projectRoot) {
|
|
9940
|
-
|
|
9643
|
+
const filePath = getProjectFilePath(projectRoot, "MainActivity");
|
|
9644
|
+
return getFileInfo$1(filePath);
|
|
9941
9645
|
}
|
|
9942
9646
|
function getGradleFilePath(projectRoot, gradleName) {
|
|
9943
|
-
const groovyPath = path$
|
|
9944
|
-
const ktPath = path$
|
|
9945
|
-
const isGroovy = _fs$
|
|
9946
|
-
const isKotlin = !isGroovy && _fs$
|
|
9647
|
+
const groovyPath = path$5().resolve(projectRoot, `${gradleName}.gradle`);
|
|
9648
|
+
const ktPath = path$5().resolve(projectRoot, `${gradleName}.gradle.kts`);
|
|
9649
|
+
const isGroovy = _fs$15().default.existsSync(groovyPath);
|
|
9650
|
+
const isKotlin = !isGroovy && _fs$15().default.existsSync(ktPath);
|
|
9947
9651
|
if (!isGroovy && !isKotlin) throw new Error(`Failed to find '${gradleName}.gradle' file for project: ${projectRoot}.`);
|
|
9948
9652
|
return isGroovy ? groovyPath : ktPath;
|
|
9949
9653
|
}
|
|
9950
9654
|
function getProjectBuildGradleFilePath(projectRoot) {
|
|
9951
|
-
return getGradleFilePath(path$
|
|
9655
|
+
return getGradleFilePath(path$5().join(projectRoot, "android"), "build");
|
|
9952
9656
|
}
|
|
9953
9657
|
async function getProjectBuildGradleAsync(projectRoot) {
|
|
9954
9658
|
return getFileInfo$1(getProjectBuildGradleFilePath(projectRoot));
|
|
9955
9659
|
}
|
|
9956
9660
|
function getSettingsGradleFilePath(projectRoot) {
|
|
9957
|
-
return getGradleFilePath(path$
|
|
9661
|
+
return getGradleFilePath(path$5().join(projectRoot, "android"), "settings");
|
|
9958
9662
|
}
|
|
9959
9663
|
async function getSettingsGradleAsync(projectRoot) {
|
|
9960
9664
|
return getFileInfo$1(getSettingsGradleFilePath(projectRoot));
|
|
9961
9665
|
}
|
|
9962
9666
|
function getAppBuildGradleFilePath(projectRoot) {
|
|
9963
|
-
return getGradleFilePath(path$
|
|
9667
|
+
return getGradleFilePath(path$5().join(projectRoot, "android", "app"), "build");
|
|
9964
9668
|
}
|
|
9965
9669
|
async function getAppBuildGradleAsync(projectRoot) {
|
|
9966
9670
|
return getFileInfo$1(getAppBuildGradleFilePath(projectRoot));
|
|
9967
9671
|
}
|
|
9968
9672
|
async function getProjectPathOrThrowAsync(projectRoot) {
|
|
9969
|
-
const projectPath = path$
|
|
9970
|
-
if (await (0, _modules$
|
|
9673
|
+
const projectPath = path$5().join(projectRoot, "android");
|
|
9674
|
+
if (await (0, _modules$2().directoryExistsAsync)(projectPath)) return projectPath;
|
|
9971
9675
|
throw new Error(`Android project folder is missing in project: ${projectRoot}`);
|
|
9972
9676
|
}
|
|
9973
9677
|
async function getAndroidManifestAsync(projectRoot) {
|
|
9974
9678
|
const projectPath = await getProjectPathOrThrowAsync(projectRoot);
|
|
9975
|
-
return path$
|
|
9679
|
+
return path$5().join(projectPath, "app/src/main/AndroidManifest.xml");
|
|
9976
9680
|
}
|
|
9977
9681
|
async function getResourceFolderAsync(projectRoot) {
|
|
9978
9682
|
const projectPath = await getProjectPathOrThrowAsync(projectRoot);
|
|
9979
|
-
return path$
|
|
9683
|
+
return path$5().join(projectPath, `app/src/main/res`);
|
|
9980
9684
|
}
|
|
9981
9685
|
async function getResourceXMLPathAsync(projectRoot, { kind = "values", name }) {
|
|
9982
9686
|
const resourcePath = await getResourceFolderAsync(projectRoot);
|
|
9983
|
-
return path$
|
|
9687
|
+
return path$5().join(resourcePath, `${kind}/${name}.xml`);
|
|
9984
9688
|
}
|
|
9985
9689
|
}) });
|
|
9986
9690
|
|
|
@@ -10012,9 +9716,9 @@ var require_Resources = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
10012
9716
|
*
|
|
10013
9717
|
* @param options path to the XML file, returns a fallback XML if the path doesn't exist.
|
|
10014
9718
|
*/
|
|
10015
|
-
async function readResourcesXMLAsync({ path: path$
|
|
9719
|
+
async function readResourcesXMLAsync({ path: path$10, fallback = fallbackResourceString$1 }) {
|
|
10016
9720
|
const xml = await (0, _XML$2().readXMLAsync)({
|
|
10017
|
-
path: path$
|
|
9721
|
+
path: path$10,
|
|
10018
9722
|
fallback
|
|
10019
9723
|
});
|
|
10020
9724
|
if (!xml.resources) xml.resources = {};
|
|
@@ -10183,82 +9887,6 @@ var require_Colors = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
10183
9887
|
//#region node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js
|
|
10184
9888
|
var require_EasBuildGradleScript = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js": ((exports) => {
|
|
10185
9889
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10186
|
-
exports.default = void 0;
|
|
10187
|
-
exports.default = `// Build integration with EAS
|
|
10188
|
-
|
|
10189
|
-
import java.nio.file.Paths
|
|
10190
|
-
|
|
10191
|
-
android {
|
|
10192
|
-
signingConfigs {
|
|
10193
|
-
release {
|
|
10194
|
-
// This is necessary to avoid needing the user to define a release signing config manually
|
|
10195
|
-
// If no release config is defined, and this is not present, build for assembleRelease will crash
|
|
10196
|
-
}
|
|
10197
|
-
}
|
|
10198
|
-
|
|
10199
|
-
buildTypes {
|
|
10200
|
-
release {
|
|
10201
|
-
// This is necessary to avoid needing the user to define a release build type manually
|
|
10202
|
-
}
|
|
10203
|
-
}
|
|
10204
|
-
}
|
|
10205
|
-
|
|
10206
|
-
def isEasBuildConfigured = false
|
|
10207
|
-
|
|
10208
|
-
tasks.whenTaskAdded {
|
|
10209
|
-
def debug = gradle.startParameter.taskNames.any { it.toLowerCase().contains('debug') }
|
|
10210
|
-
|
|
10211
|
-
if (debug) {
|
|
10212
|
-
return
|
|
10213
|
-
}
|
|
10214
|
-
|
|
10215
|
-
// We only need to configure EAS build once
|
|
10216
|
-
if (isEasBuildConfigured) {
|
|
10217
|
-
return
|
|
10218
|
-
}
|
|
10219
|
-
|
|
10220
|
-
isEasBuildConfigured = true;
|
|
10221
|
-
|
|
10222
|
-
android.signingConfigs.release {
|
|
10223
|
-
def credentialsJson = rootProject.file("../credentials.json");
|
|
10224
|
-
|
|
10225
|
-
if (credentialsJson.exists()) {
|
|
10226
|
-
if (storeFile && !System.getenv("EAS_BUILD")) {
|
|
10227
|
-
println("Path to release keystore file is already set, ignoring 'credentials.json'")
|
|
10228
|
-
} else {
|
|
10229
|
-
try {
|
|
10230
|
-
def credentials = new groovy.json.JsonSlurper().parse(credentialsJson)
|
|
10231
|
-
def keystorePath = Paths.get(credentials.android.keystore.keystorePath);
|
|
10232
|
-
def storeFilePath = keystorePath.isAbsolute()
|
|
10233
|
-
? keystorePath
|
|
10234
|
-
: rootProject.file("..").toPath().resolve(keystorePath);
|
|
10235
|
-
|
|
10236
|
-
storeFile storeFilePath.toFile()
|
|
10237
|
-
storePassword credentials.android.keystore.keystorePassword
|
|
10238
|
-
keyAlias credentials.android.keystore.keyAlias
|
|
10239
|
-
if (credentials.android.keystore.containsKey("keyPassword")) {
|
|
10240
|
-
keyPassword credentials.android.keystore.keyPassword
|
|
10241
|
-
} else {
|
|
10242
|
-
// key password is required by Gradle, but PKCS keystores don't have one
|
|
10243
|
-
// using the keystore password seems to satisfy the requirement
|
|
10244
|
-
keyPassword credentials.android.keystore.keystorePassword
|
|
10245
|
-
}
|
|
10246
|
-
} catch (Exception e) {
|
|
10247
|
-
println("An error occurred while parsing 'credentials.json': " + e.message)
|
|
10248
|
-
}
|
|
10249
|
-
}
|
|
10250
|
-
} else {
|
|
10251
|
-
if (storeFile == null) {
|
|
10252
|
-
println("Couldn't find a 'credentials.json' file, skipping release keystore configuration")
|
|
10253
|
-
}
|
|
10254
|
-
}
|
|
10255
|
-
}
|
|
10256
|
-
|
|
10257
|
-
android.buildTypes.release {
|
|
10258
|
-
signingConfig android.signingConfigs.release
|
|
10259
|
-
}
|
|
10260
|
-
}
|
|
10261
|
-
`;
|
|
10262
9890
|
}) });
|
|
10263
9891
|
|
|
10264
9892
|
//#endregion
|
|
@@ -10268,45 +9896,45 @@ var require_EasBuild = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
10268
9896
|
exports.configureEasBuildAsync = configureEasBuildAsync;
|
|
10269
9897
|
exports.getEasBuildGradlePath = getEasBuildGradlePath;
|
|
10270
9898
|
exports.isEasBuildGradleConfiguredAsync = isEasBuildGradleConfiguredAsync;
|
|
10271
|
-
function _fs$
|
|
10272
|
-
const data = _interopRequireDefault$
|
|
10273
|
-
_fs$
|
|
9899
|
+
function _fs$14() {
|
|
9900
|
+
const data = _interopRequireDefault$32(__require("fs"));
|
|
9901
|
+
_fs$14 = function() {
|
|
10274
9902
|
return data;
|
|
10275
9903
|
};
|
|
10276
9904
|
return data;
|
|
10277
9905
|
}
|
|
10278
|
-
function _path$
|
|
10279
|
-
const data = _interopRequireDefault$
|
|
10280
|
-
_path$
|
|
9906
|
+
function _path$14() {
|
|
9907
|
+
const data = _interopRequireDefault$32(__require("path"));
|
|
9908
|
+
_path$14 = function() {
|
|
10281
9909
|
return data;
|
|
10282
9910
|
};
|
|
10283
9911
|
return data;
|
|
10284
9912
|
}
|
|
10285
9913
|
function _EasBuildGradleScript() {
|
|
10286
|
-
const data = _interopRequireDefault$
|
|
9914
|
+
const data = _interopRequireDefault$32(require_EasBuildGradleScript());
|
|
10287
9915
|
_EasBuildGradleScript = function() {
|
|
10288
9916
|
return data;
|
|
10289
9917
|
};
|
|
10290
9918
|
return data;
|
|
10291
9919
|
}
|
|
10292
9920
|
function Paths$3() {
|
|
10293
|
-
const data = _interopRequireWildcard$
|
|
9921
|
+
const data = _interopRequireWildcard$9(require_Paths$1());
|
|
10294
9922
|
Paths$3 = function() {
|
|
10295
9923
|
return data;
|
|
10296
9924
|
};
|
|
10297
9925
|
return data;
|
|
10298
9926
|
}
|
|
10299
|
-
function _getRequireWildcardCache$
|
|
9927
|
+
function _getRequireWildcardCache$9(e) {
|
|
10300
9928
|
if ("function" != typeof WeakMap) return null;
|
|
10301
9929
|
var r = /* @__PURE__ */ new WeakMap(), t$5 = /* @__PURE__ */ new WeakMap();
|
|
10302
|
-
return (_getRequireWildcardCache$
|
|
9930
|
+
return (_getRequireWildcardCache$9 = function(e$1) {
|
|
10303
9931
|
return e$1 ? t$5 : r;
|
|
10304
9932
|
})(e);
|
|
10305
9933
|
}
|
|
10306
|
-
function _interopRequireWildcard$
|
|
9934
|
+
function _interopRequireWildcard$9(e, r) {
|
|
10307
9935
|
if (!r && e && e.__esModule) return e;
|
|
10308
9936
|
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
10309
|
-
var t$5 = _getRequireWildcardCache$
|
|
9937
|
+
var t$5 = _getRequireWildcardCache$9(r);
|
|
10310
9938
|
if (t$5 && t$5.has(e)) return t$5.get(e);
|
|
10311
9939
|
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
10312
9940
|
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
@@ -10315,7 +9943,7 @@ var require_EasBuild = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
10315
9943
|
}
|
|
10316
9944
|
return n.default = e, t$5 && t$5.set(e, n), n;
|
|
10317
9945
|
}
|
|
10318
|
-
function _interopRequireDefault$
|
|
9946
|
+
function _interopRequireDefault$32(obj) {
|
|
10319
9947
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
10320
9948
|
}
|
|
10321
9949
|
const APPLY_EAS_GRADLE = "apply from: \"./eas-build.gradle\"";
|
|
@@ -10323,20 +9951,21 @@ var require_EasBuild = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
10323
9951
|
return content.replace(/\r\n/g, "\n").split("\n").some((line$1) => line$1 === applyLine || line$1 === applyLine.replace(/"/g, "'"));
|
|
10324
9952
|
}
|
|
10325
9953
|
function getEasBuildGradlePath(projectRoot) {
|
|
10326
|
-
return _path$
|
|
9954
|
+
return _path$14().default.join(projectRoot, "android", "app", "eas-build.gradle");
|
|
10327
9955
|
}
|
|
10328
9956
|
async function configureEasBuildAsync(projectRoot) {
|
|
10329
9957
|
const buildGradlePath = Paths$3().getAppBuildGradleFilePath(projectRoot);
|
|
10330
9958
|
const easGradlePath = getEasBuildGradlePath(projectRoot);
|
|
10331
|
-
await _fs$
|
|
10332
|
-
const buildGradleContent = await _fs$
|
|
10333
|
-
if (!hasApplyLine(buildGradleContent, APPLY_EAS_GRADLE)) await _fs$
|
|
9959
|
+
await _fs$14().default.promises.writeFile(easGradlePath, _EasBuildGradleScript().default);
|
|
9960
|
+
const buildGradleContent = await _fs$14().default.promises.readFile(_path$14().default.join(buildGradlePath), "utf8");
|
|
9961
|
+
if (!hasApplyLine(buildGradleContent, APPLY_EAS_GRADLE)) await _fs$14().default.promises.writeFile(buildGradlePath, `${buildGradleContent.trim()}\n${APPLY_EAS_GRADLE}\n`);
|
|
10334
9962
|
}
|
|
10335
9963
|
async function isEasBuildGradleConfiguredAsync(projectRoot) {
|
|
10336
9964
|
const buildGradlePath = Paths$3().getAppBuildGradleFilePath(projectRoot);
|
|
10337
9965
|
const easGradlePath = getEasBuildGradlePath(projectRoot);
|
|
10338
|
-
const hasEasGradleFile = await _fs$
|
|
10339
|
-
|
|
9966
|
+
const hasEasGradleFile = await _fs$14().default.existsSync(easGradlePath);
|
|
9967
|
+
const buildGradleContent = await _fs$14().default.promises.readFile(_path$14().default.join(buildGradlePath), "utf8");
|
|
9968
|
+
return hasApplyLine(buildGradleContent, APPLY_EAS_GRADLE) && hasEasGradleFile;
|
|
10340
9969
|
}
|
|
10341
9970
|
}) });
|
|
10342
9971
|
|
|
@@ -10346,7 +9975,6 @@ var require_GoogleMapsApiKey = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
|
|
|
10346
9975
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10347
9976
|
exports.getGoogleMapsApiKey = getGoogleMapsApiKey$1;
|
|
10348
9977
|
exports.setGoogleMapsApiKey = setGoogleMapsApiKey$1;
|
|
10349
|
-
exports.withGoogleMapsApiKey = void 0;
|
|
10350
9978
|
function _Manifest$6() {
|
|
10351
9979
|
const data = require_Manifest();
|
|
10352
9980
|
_Manifest$6 = function() {
|
|
@@ -10388,7 +10016,6 @@ var require_GoogleMapsApiKey = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
|
|
|
10388
10016
|
//#region node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js
|
|
10389
10017
|
var require_withDangerousMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js": ((exports) => {
|
|
10390
10018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10391
|
-
exports.withDangerousMod = void 0;
|
|
10392
10019
|
function _withMod$4() {
|
|
10393
10020
|
const data = require_withMod();
|
|
10394
10021
|
_withMod$4 = function() {
|
|
@@ -10418,41 +10045,6 @@ var require_withDangerousMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
|
|
|
10418
10045
|
//#region node_modules/@expo/config-plugins/build/utils/fs.js
|
|
10419
10046
|
var require_fs = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/fs.js": ((exports) => {
|
|
10420
10047
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10421
|
-
exports.copyFilePathToPathAsync = copyFilePathToPathAsync;
|
|
10422
|
-
exports.removeFile = removeFile;
|
|
10423
|
-
function _fs$14() {
|
|
10424
|
-
const data = _interopRequireDefault$34(__require("fs"));
|
|
10425
|
-
_fs$14 = function() {
|
|
10426
|
-
return data;
|
|
10427
|
-
};
|
|
10428
|
-
return data;
|
|
10429
|
-
}
|
|
10430
|
-
function _path$14() {
|
|
10431
|
-
const data = _interopRequireDefault$34(__require("path"));
|
|
10432
|
-
_path$14 = function() {
|
|
10433
|
-
return data;
|
|
10434
|
-
};
|
|
10435
|
-
return data;
|
|
10436
|
-
}
|
|
10437
|
-
function _interopRequireDefault$34(obj) {
|
|
10438
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
10439
|
-
}
|
|
10440
|
-
/** A basic function that copies a single file to another file location. */
|
|
10441
|
-
async function copyFilePathToPathAsync(src$1, dest) {
|
|
10442
|
-
const srcFile = await _fs$14().default.promises.readFile(src$1);
|
|
10443
|
-
await _fs$14().default.promises.mkdir(_path$14().default.dirname(dest), { recursive: true });
|
|
10444
|
-
await _fs$14().default.promises.writeFile(dest, srcFile);
|
|
10445
|
-
}
|
|
10446
|
-
/** Remove a single file (not directory). Returns `true` if a file was actually deleted. */
|
|
10447
|
-
function removeFile(filePath) {
|
|
10448
|
-
try {
|
|
10449
|
-
_fs$14().default.unlinkSync(filePath);
|
|
10450
|
-
return true;
|
|
10451
|
-
} catch (error) {
|
|
10452
|
-
if (error.code === "ENOENT") return false;
|
|
10453
|
-
throw error;
|
|
10454
|
-
}
|
|
10455
|
-
}
|
|
10456
10048
|
}) });
|
|
10457
10049
|
|
|
10458
10050
|
//#endregion
|
|
@@ -10463,13 +10055,13 @@ var require_warnings = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
10463
10055
|
exports.addWarningForPlatform = addWarningForPlatform;
|
|
10464
10056
|
exports.addWarningIOS = addWarningIOS;
|
|
10465
10057
|
function _chalk() {
|
|
10466
|
-
const data = _interopRequireDefault$
|
|
10058
|
+
const data = _interopRequireDefault$31(require_source());
|
|
10467
10059
|
_chalk = function() {
|
|
10468
10060
|
return data;
|
|
10469
10061
|
};
|
|
10470
10062
|
return data;
|
|
10471
10063
|
}
|
|
10472
|
-
function _interopRequireDefault$
|
|
10064
|
+
function _interopRequireDefault$31(obj) {
|
|
10473
10065
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
10474
10066
|
}
|
|
10475
10067
|
/**
|
|
@@ -10516,9 +10108,8 @@ var require_GoogleServices = /* @__PURE__ */ __commonJS({ "node_modules/@expo/co
|
|
|
10516
10108
|
exports.getGoogleServicesFilePath = getGoogleServicesFilePath;
|
|
10517
10109
|
exports.setClassPath = setClassPath;
|
|
10518
10110
|
exports.setGoogleServicesFile = setGoogleServicesFile$1;
|
|
10519
|
-
exports.withGoogleServicesFile = exports.withClassPath = exports.withApplyPlugin = void 0;
|
|
10520
10111
|
function _path$13() {
|
|
10521
|
-
const data = _interopRequireDefault$
|
|
10112
|
+
const data = _interopRequireDefault$30(__require("path"));
|
|
10522
10113
|
_path$13 = function() {
|
|
10523
10114
|
return data;
|
|
10524
10115
|
};
|
|
@@ -10552,7 +10143,7 @@ var require_GoogleServices = /* @__PURE__ */ __commonJS({ "node_modules/@expo/co
|
|
|
10552
10143
|
};
|
|
10553
10144
|
return data;
|
|
10554
10145
|
}
|
|
10555
|
-
function _interopRequireDefault$
|
|
10146
|
+
function _interopRequireDefault$30(obj) {
|
|
10556
10147
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
10557
10148
|
}
|
|
10558
10149
|
const DEFAULT_TARGET_PATH = "./android/app/google-services.json";
|
|
@@ -10627,7 +10218,6 @@ var require_IntentFilters = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
|
|
|
10627
10218
|
exports.default = renderIntentFilters;
|
|
10628
10219
|
exports.getIntentFilters = getIntentFilters;
|
|
10629
10220
|
exports.setAndroidIntentFilters = setAndroidIntentFilters;
|
|
10630
|
-
exports.withAndroidIntentFilters = void 0;
|
|
10631
10221
|
function _Manifest$5() {
|
|
10632
10222
|
const data = require_Manifest();
|
|
10633
10223
|
_Manifest$5 = function() {
|
|
@@ -10730,7 +10320,6 @@ var require_Name$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
10730
10320
|
exports.applyNameSettingsGradle = applyNameSettingsGradle;
|
|
10731
10321
|
exports.getName = getName$1;
|
|
10732
10322
|
exports.sanitizeNameForGradle = sanitizeNameForGradle;
|
|
10733
|
-
exports.withNameSettingsGradle = exports.withName = void 0;
|
|
10734
10323
|
function _Resources$2() {
|
|
10735
10324
|
const data = require_Resources();
|
|
10736
10325
|
_Resources$2 = function() {
|
|
@@ -10806,10 +10395,8 @@ var require_Name$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
10806
10395
|
//#region node_modules/@expo/config-plugins/build/android/Orientation.js
|
|
10807
10396
|
var require_Orientation$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/Orientation.js": ((exports) => {
|
|
10808
10397
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10809
|
-
exports.SCREEN_ORIENTATION_ATTRIBUTE = void 0;
|
|
10810
10398
|
exports.getOrientation = getOrientation$1;
|
|
10811
10399
|
exports.setAndroidOrientation = setAndroidOrientation;
|
|
10812
|
-
exports.withOrientation = void 0;
|
|
10813
10400
|
function _Manifest$4() {
|
|
10814
10401
|
const data = require_Manifest();
|
|
10815
10402
|
_Manifest$4 = function() {
|
|
@@ -10866,7 +10453,7 @@ var require_ms = /* @__PURE__ */ __commonJS({ "../../node_modules/ms/index.js":
|
|
|
10866
10453
|
module.exports = function(val, options) {
|
|
10867
10454
|
options = options || {};
|
|
10868
10455
|
var type$1 = typeof val;
|
|
10869
|
-
if (type$1 === "string" && val.length > 0) return parse$
|
|
10456
|
+
if (type$1 === "string" && val.length > 0) return parse$10(val);
|
|
10870
10457
|
else if (type$1 === "number" && isFinite(val)) return options.long ? fmtLong(val) : fmtShort(val);
|
|
10871
10458
|
throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(val));
|
|
10872
10459
|
};
|
|
@@ -10877,7 +10464,7 @@ var require_ms = /* @__PURE__ */ __commonJS({ "../../node_modules/ms/index.js":
|
|
|
10877
10464
|
* @return {Number}
|
|
10878
10465
|
* @api private
|
|
10879
10466
|
*/
|
|
10880
|
-
function parse$
|
|
10467
|
+
function parse$10(str) {
|
|
10881
10468
|
str = String(str);
|
|
10882
10469
|
if (str.length > 100) return;
|
|
10883
10470
|
var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(str);
|
|
@@ -11587,16 +11174,15 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
11587
11174
|
exports.renamePackageOnDisk = renamePackageOnDisk;
|
|
11588
11175
|
exports.renamePackageOnDiskForType = renamePackageOnDiskForType;
|
|
11589
11176
|
exports.setPackageInBuildGradle = setPackageInBuildGradle;
|
|
11590
|
-
exports.withPackageRefactor = exports.withPackageGradle = void 0;
|
|
11591
11177
|
function _debug$3() {
|
|
11592
|
-
const data = _interopRequireDefault$
|
|
11178
|
+
const data = _interopRequireDefault$29(require_src());
|
|
11593
11179
|
_debug$3 = function() {
|
|
11594
11180
|
return data;
|
|
11595
11181
|
};
|
|
11596
11182
|
return data;
|
|
11597
11183
|
}
|
|
11598
11184
|
function _fs$12() {
|
|
11599
|
-
const data = _interopRequireDefault$
|
|
11185
|
+
const data = _interopRequireDefault$29(__require("fs"));
|
|
11600
11186
|
_fs$12 = function() {
|
|
11601
11187
|
return data;
|
|
11602
11188
|
};
|
|
@@ -11610,7 +11196,7 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
11610
11196
|
return data;
|
|
11611
11197
|
}
|
|
11612
11198
|
function _path$12() {
|
|
11613
|
-
const data = _interopRequireDefault$
|
|
11199
|
+
const data = _interopRequireDefault$29(__require("path"));
|
|
11614
11200
|
_path$12 = function() {
|
|
11615
11201
|
return data;
|
|
11616
11202
|
};
|
|
@@ -11637,9 +11223,9 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
11637
11223
|
};
|
|
11638
11224
|
return data;
|
|
11639
11225
|
}
|
|
11640
|
-
function _modules$
|
|
11226
|
+
function _modules$1() {
|
|
11641
11227
|
const data = require_modules();
|
|
11642
|
-
_modules$
|
|
11228
|
+
_modules$1 = function() {
|
|
11643
11229
|
return data;
|
|
11644
11230
|
};
|
|
11645
11231
|
return data;
|
|
@@ -11651,7 +11237,7 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
11651
11237
|
};
|
|
11652
11238
|
return data;
|
|
11653
11239
|
}
|
|
11654
|
-
function _interopRequireDefault$
|
|
11240
|
+
function _interopRequireDefault$29(obj) {
|
|
11655
11241
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
11656
11242
|
}
|
|
11657
11243
|
const debug$10 = (0, _debug$3().default)("expo:config-plugins:android:package");
|
|
@@ -11739,7 +11325,7 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
11739
11325
|
if (!currentPackageName || currentPackageName === packageName) return;
|
|
11740
11326
|
debug$10(`Refactor "${currentPackageName}" to "${packageName}" for type "${type$1}"`);
|
|
11741
11327
|
const packageRoot = getPackageRoot(projectRoot, type$1);
|
|
11742
|
-
if (!await (0, _modules$
|
|
11328
|
+
if (!await (0, _modules$1().directoryExistsAsync)(packageRoot)) {
|
|
11743
11329
|
debug$10(`- skipping refactor of missing directory: ${packageRoot}`);
|
|
11744
11330
|
return;
|
|
11745
11331
|
}
|
|
@@ -11840,7 +11426,6 @@ var require_Permissions$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
|
|
|
11840
11426
|
exports.isPermissionAlreadyRequested = isPermissionAlreadyRequested;
|
|
11841
11427
|
exports.removePermissions = removePermissions;
|
|
11842
11428
|
exports.setAndroidPermissions = setAndroidPermissions;
|
|
11843
|
-
exports.withPermissions = exports.withInternalBlockedPermissions = exports.withBlockedPermissions = void 0;
|
|
11844
11429
|
function _Manifest$3() {
|
|
11845
11430
|
const data = require_Manifest();
|
|
11846
11431
|
_Manifest$3 = function() {
|
|
@@ -11917,7 +11502,8 @@ var require_Permissions$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
|
|
|
11917
11502
|
return config.android?.permissions ?? [];
|
|
11918
11503
|
}
|
|
11919
11504
|
function setAndroidPermissions(config, androidManifest) {
|
|
11920
|
-
const
|
|
11505
|
+
const permissions = getAndroidPermissions(config);
|
|
11506
|
+
const permissionsToAdd = [...prefixAndroidPermissionsIfNecessary(permissions)];
|
|
11921
11507
|
if (!androidManifest.manifest.hasOwnProperty("uses-permission")) androidManifest.manifest["uses-permission"] = [];
|
|
11922
11508
|
const manifestPermissions = androidManifest.manifest["uses-permission"] ?? [];
|
|
11923
11509
|
permissionsToAdd.forEach((permission) => {
|
|
@@ -12010,9 +11596,9 @@ var require_Styles = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
12010
11596
|
return data;
|
|
12011
11597
|
}
|
|
12012
11598
|
const fallbackResourceString = `<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>`;
|
|
12013
|
-
async function readStylesXMLAsync({ path: path$
|
|
11599
|
+
async function readStylesXMLAsync({ path: path$10, fallback = fallbackResourceString }) {
|
|
12014
11600
|
return (0, _Resources$1().readResourcesXMLAsync)({
|
|
12015
|
-
path: path$
|
|
11601
|
+
path: path$10,
|
|
12016
11602
|
fallback
|
|
12017
11603
|
});
|
|
12018
11604
|
}
|
|
@@ -12105,7 +11691,6 @@ var require_Styles = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
12105
11691
|
var require_PrimaryColor = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/PrimaryColor.js": ((exports) => {
|
|
12106
11692
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12107
11693
|
exports.getPrimaryColor = getPrimaryColor;
|
|
12108
|
-
exports.withPrimaryColorStyles = exports.withPrimaryColorColors = exports.withPrimaryColor = void 0;
|
|
12109
11694
|
function _Colors$1() {
|
|
12110
11695
|
const data = require_Colors();
|
|
12111
11696
|
_Colors$1 = function() {
|
|
@@ -12216,7 +11801,6 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
12216
11801
|
exports.hasScheme = hasScheme$1;
|
|
12217
11802
|
exports.removeScheme = removeScheme$1;
|
|
12218
11803
|
exports.setScheme = setScheme$1;
|
|
12219
|
-
exports.withScheme = void 0;
|
|
12220
11804
|
function _androidPlugins$5() {
|
|
12221
11805
|
const data = require_android_plugins();
|
|
12222
11806
|
_androidPlugins$5 = function() {
|
|
@@ -12259,13 +11843,16 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
12259
11843
|
return actions.includes("android.intent.action.VIEW") && !categories.includes("android.intent.category.LAUNCHER");
|
|
12260
11844
|
}
|
|
12261
11845
|
function propertiesFromIntentFilter(intentFilter) {
|
|
11846
|
+
const actions = intentFilter?.action?.map((data$1) => data$1?.$?.["android:name"]) ?? [];
|
|
11847
|
+
const categories = intentFilter?.category?.map((data$1) => data$1?.$?.["android:name"]) ?? [];
|
|
11848
|
+
const data = intentFilter?.data?.filter((data$1) => data$1?.$?.["android:scheme"])?.map((data$1) => ({
|
|
11849
|
+
scheme: data$1?.$?.["android:scheme"],
|
|
11850
|
+
host: data$1?.$?.["android:host"]
|
|
11851
|
+
})) ?? [];
|
|
12262
11852
|
return {
|
|
12263
|
-
actions
|
|
12264
|
-
categories
|
|
12265
|
-
data
|
|
12266
|
-
scheme: data?.$?.["android:scheme"],
|
|
12267
|
-
host: data?.$?.["android:host"]
|
|
12268
|
-
})) ?? []
|
|
11853
|
+
actions,
|
|
11854
|
+
categories,
|
|
11855
|
+
data
|
|
12269
11856
|
};
|
|
12270
11857
|
}
|
|
12271
11858
|
function getSingleTaskIntentFilters(androidManifest) {
|
|
@@ -12295,7 +11882,10 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
12295
11882
|
function ensureManifestHasValidIntentFilter(androidManifest) {
|
|
12296
11883
|
if (!Array.isArray(androidManifest.manifest.application)) return false;
|
|
12297
11884
|
for (const application of androidManifest.manifest.application) for (const activity of application.activity || []) if (activity?.$?.["android:launchMode"] === "singleTask") {
|
|
12298
|
-
for (const intentFilter of activity["intent-filter"] || [])
|
|
11885
|
+
for (const intentFilter of activity["intent-filter"] || []) {
|
|
11886
|
+
const properties = propertiesFromIntentFilter(intentFilter);
|
|
11887
|
+
if (isValidRedirectIntentFilter(properties)) return true;
|
|
11888
|
+
}
|
|
12299
11889
|
if (!activity["intent-filter"]) activity["intent-filter"] = [];
|
|
12300
11890
|
activity["intent-filter"].push({
|
|
12301
11891
|
action: [{ $: { "android:name": "android.intent.action.VIEW" } }],
|
|
@@ -12311,9 +11901,12 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
12311
11901
|
function appendScheme$1(scheme, androidManifest) {
|
|
12312
11902
|
if (!Array.isArray(androidManifest.manifest.application)) return androidManifest;
|
|
12313
11903
|
for (const application of androidManifest.manifest.application) for (const activity of application.activity || []) if (activity?.$?.["android:launchMode"] === "singleTask") {
|
|
12314
|
-
for (const intentFilter of activity["intent-filter"] || [])
|
|
12315
|
-
|
|
12316
|
-
|
|
11904
|
+
for (const intentFilter of activity["intent-filter"] || []) {
|
|
11905
|
+
const properties = propertiesFromIntentFilter(intentFilter);
|
|
11906
|
+
if (isValidRedirectIntentFilter(properties)) {
|
|
11907
|
+
if (!intentFilter.data) intentFilter.data = [];
|
|
11908
|
+
intentFilter.data.push({ $: { "android:scheme": scheme } });
|
|
11909
|
+
}
|
|
12317
11910
|
}
|
|
12318
11911
|
break;
|
|
12319
11912
|
}
|
|
@@ -12322,8 +11915,11 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
|
|
|
12322
11915
|
function removeScheme$1(scheme, androidManifest) {
|
|
12323
11916
|
if (!Array.isArray(androidManifest.manifest.application)) return androidManifest;
|
|
12324
11917
|
for (const application of androidManifest.manifest.application) for (const activity of application.activity || []) if (activity?.$?.["android:launchMode"] === "singleTask") {
|
|
12325
|
-
for (const intentFilter of activity["intent-filter"] || [])
|
|
12326
|
-
|
|
11918
|
+
for (const intentFilter of activity["intent-filter"] || []) {
|
|
11919
|
+
const properties = propertiesFromIntentFilter(intentFilter);
|
|
11920
|
+
if (isValidRedirectIntentFilter(properties)) {
|
|
11921
|
+
for (const dataKey in intentFilter?.data || []) if ((intentFilter.data?.[dataKey])?.$?.["android:scheme"] === scheme) delete intentFilter.data?.[dataKey];
|
|
11922
|
+
}
|
|
12327
11923
|
}
|
|
12328
11924
|
break;
|
|
12329
11925
|
}
|
|
@@ -12340,10 +11936,9 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
12340
11936
|
exports.getStatusBarTranslucent = getStatusBarTranslucent;
|
|
12341
11937
|
exports.setStatusBarColors = setStatusBarColors;
|
|
12342
11938
|
exports.setStatusBarStyles = setStatusBarStyles;
|
|
12343
|
-
|
|
12344
|
-
|
|
12345
|
-
|
|
12346
|
-
_assert$7 = function() {
|
|
11939
|
+
function _assert$6() {
|
|
11940
|
+
const data = _interopRequireDefault$28(__require("assert"));
|
|
11941
|
+
_assert$6 = function() {
|
|
12347
11942
|
return data;
|
|
12348
11943
|
};
|
|
12349
11944
|
return data;
|
|
@@ -12369,7 +11964,7 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
12369
11964
|
};
|
|
12370
11965
|
return data;
|
|
12371
11966
|
}
|
|
12372
|
-
function _interopRequireDefault$
|
|
11967
|
+
function _interopRequireDefault$28(obj) {
|
|
12373
11968
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
12374
11969
|
}
|
|
12375
11970
|
const COLOR_PRIMARY_DARK_KEY = "colorPrimaryDark";
|
|
@@ -12418,7 +12013,7 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
12418
12013
|
}
|
|
12419
12014
|
function getStatusBarColor(config) {
|
|
12420
12015
|
const backgroundColor = config.androidStatusBar?.backgroundColor;
|
|
12421
|
-
if (backgroundColor) (0, _assert$
|
|
12016
|
+
if (backgroundColor) (0, _assert$6().default)(backgroundColor !== "translucent", `androidStatusBar.backgroundColor must be a valid hex string, instead got: "${backgroundColor}"`);
|
|
12422
12017
|
return backgroundColor;
|
|
12423
12018
|
}
|
|
12424
12019
|
/**
|
|
@@ -12436,268 +12031,10 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
12436
12031
|
}
|
|
12437
12032
|
}) });
|
|
12438
12033
|
|
|
12439
|
-
//#endregion
|
|
12440
|
-
//#region ../../node_modules/yocto-queue/index.js
|
|
12441
|
-
var require_yocto_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/yocto-queue/index.js": ((exports, module) => {
|
|
12442
|
-
var Node$1 = class {
|
|
12443
|
-
constructor(value) {
|
|
12444
|
-
this.value = value;
|
|
12445
|
-
this.next = void 0;
|
|
12446
|
-
}
|
|
12447
|
-
};
|
|
12448
|
-
var Queue$1 = class {
|
|
12449
|
-
constructor() {
|
|
12450
|
-
this.clear();
|
|
12451
|
-
}
|
|
12452
|
-
enqueue(value) {
|
|
12453
|
-
const node = new Node$1(value);
|
|
12454
|
-
if (this._head) {
|
|
12455
|
-
this._tail.next = node;
|
|
12456
|
-
this._tail = node;
|
|
12457
|
-
} else {
|
|
12458
|
-
this._head = node;
|
|
12459
|
-
this._tail = node;
|
|
12460
|
-
}
|
|
12461
|
-
this._size++;
|
|
12462
|
-
}
|
|
12463
|
-
dequeue() {
|
|
12464
|
-
const current = this._head;
|
|
12465
|
-
if (!current) return;
|
|
12466
|
-
this._head = this._head.next;
|
|
12467
|
-
this._size--;
|
|
12468
|
-
return current.value;
|
|
12469
|
-
}
|
|
12470
|
-
clear() {
|
|
12471
|
-
this._head = void 0;
|
|
12472
|
-
this._tail = void 0;
|
|
12473
|
-
this._size = 0;
|
|
12474
|
-
}
|
|
12475
|
-
get size() {
|
|
12476
|
-
return this._size;
|
|
12477
|
-
}
|
|
12478
|
-
*[Symbol.iterator]() {
|
|
12479
|
-
let current = this._head;
|
|
12480
|
-
while (current) {
|
|
12481
|
-
yield current.value;
|
|
12482
|
-
current = current.next;
|
|
12483
|
-
}
|
|
12484
|
-
}
|
|
12485
|
-
};
|
|
12486
|
-
module.exports = Queue$1;
|
|
12487
|
-
}) });
|
|
12488
|
-
|
|
12489
|
-
//#endregion
|
|
12490
|
-
//#region node_modules/p-limit/index.js
|
|
12491
|
-
var require_p_limit = /* @__PURE__ */ __commonJS({ "node_modules/p-limit/index.js": ((exports, module) => {
|
|
12492
|
-
const Queue = require_yocto_queue();
|
|
12493
|
-
const pLimit$1 = (concurrency) => {
|
|
12494
|
-
if (!((Number.isInteger(concurrency) || concurrency === Infinity) && concurrency > 0)) throw new TypeError("Expected `concurrency` to be a number from 1 and up");
|
|
12495
|
-
const queue = new Queue();
|
|
12496
|
-
let activeCount = 0;
|
|
12497
|
-
const next = () => {
|
|
12498
|
-
activeCount--;
|
|
12499
|
-
if (queue.size > 0) queue.dequeue()();
|
|
12500
|
-
};
|
|
12501
|
-
const run = async (fn, resolve, ...args) => {
|
|
12502
|
-
activeCount++;
|
|
12503
|
-
const result = (async () => fn(...args))();
|
|
12504
|
-
resolve(result);
|
|
12505
|
-
try {
|
|
12506
|
-
await result;
|
|
12507
|
-
} catch {}
|
|
12508
|
-
next();
|
|
12509
|
-
};
|
|
12510
|
-
const enqueue$1 = (fn, resolve, ...args) => {
|
|
12511
|
-
queue.enqueue(run.bind(null, fn, resolve, ...args));
|
|
12512
|
-
(async () => {
|
|
12513
|
-
await Promise.resolve();
|
|
12514
|
-
if (activeCount < concurrency && queue.size > 0) queue.dequeue()();
|
|
12515
|
-
})();
|
|
12516
|
-
};
|
|
12517
|
-
const generator = (fn, ...args) => new Promise((resolve) => {
|
|
12518
|
-
enqueue$1(fn, resolve, ...args);
|
|
12519
|
-
});
|
|
12520
|
-
Object.defineProperties(generator, {
|
|
12521
|
-
activeCount: { get: () => activeCount },
|
|
12522
|
-
pendingCount: { get: () => queue.size },
|
|
12523
|
-
clearQueue: { value: () => {
|
|
12524
|
-
queue.clear();
|
|
12525
|
-
} }
|
|
12526
|
-
});
|
|
12527
|
-
return generator;
|
|
12528
|
-
};
|
|
12529
|
-
module.exports = pLimit$1;
|
|
12530
|
-
}) });
|
|
12531
|
-
|
|
12532
|
-
//#endregion
|
|
12533
|
-
//#region node_modules/p-locate/index.js
|
|
12534
|
-
var require_p_locate = /* @__PURE__ */ __commonJS({ "node_modules/p-locate/index.js": ((exports, module) => {
|
|
12535
|
-
const pLimit = require_p_limit();
|
|
12536
|
-
var EndError = class extends Error {
|
|
12537
|
-
constructor(value) {
|
|
12538
|
-
super();
|
|
12539
|
-
this.value = value;
|
|
12540
|
-
}
|
|
12541
|
-
};
|
|
12542
|
-
const testElement = async (element, tester) => tester(await element);
|
|
12543
|
-
const finder = async (element) => {
|
|
12544
|
-
const values = await Promise.all(element);
|
|
12545
|
-
if (values[1] === true) throw new EndError(values[0]);
|
|
12546
|
-
return false;
|
|
12547
|
-
};
|
|
12548
|
-
const pLocate$1 = async (iterable, tester, options) => {
|
|
12549
|
-
options = {
|
|
12550
|
-
concurrency: Infinity,
|
|
12551
|
-
preserveOrder: true,
|
|
12552
|
-
...options
|
|
12553
|
-
};
|
|
12554
|
-
const limit = pLimit(options.concurrency);
|
|
12555
|
-
const items = [...iterable].map((element) => [element, limit(testElement, element, tester)]);
|
|
12556
|
-
const checkLimit = pLimit(options.preserveOrder ? 1 : Infinity);
|
|
12557
|
-
try {
|
|
12558
|
-
await Promise.all(items.map((element) => checkLimit(finder, element)));
|
|
12559
|
-
} catch (error) {
|
|
12560
|
-
if (error instanceof EndError) return error.value;
|
|
12561
|
-
throw error;
|
|
12562
|
-
}
|
|
12563
|
-
};
|
|
12564
|
-
module.exports = pLocate$1;
|
|
12565
|
-
}) });
|
|
12566
|
-
|
|
12567
|
-
//#endregion
|
|
12568
|
-
//#region node_modules/locate-path/index.js
|
|
12569
|
-
var require_locate_path = /* @__PURE__ */ __commonJS({ "node_modules/locate-path/index.js": ((exports, module) => {
|
|
12570
|
-
const path$7 = __require("path");
|
|
12571
|
-
const fs$5 = __require("fs");
|
|
12572
|
-
const { promisify: promisify$1 } = __require("util");
|
|
12573
|
-
const pLocate = require_p_locate();
|
|
12574
|
-
const fsStat = promisify$1(fs$5.stat);
|
|
12575
|
-
const fsLStat = promisify$1(fs$5.lstat);
|
|
12576
|
-
const typeMappings = {
|
|
12577
|
-
directory: "isDirectory",
|
|
12578
|
-
file: "isFile"
|
|
12579
|
-
};
|
|
12580
|
-
function checkType({ type: type$1 }) {
|
|
12581
|
-
if (type$1 in typeMappings) return;
|
|
12582
|
-
throw new Error(`Invalid type specified: ${type$1}`);
|
|
12583
|
-
}
|
|
12584
|
-
const matchType = (type$1, stat) => type$1 === void 0 || stat[typeMappings[type$1]]();
|
|
12585
|
-
module.exports = async (paths, options) => {
|
|
12586
|
-
options = {
|
|
12587
|
-
cwd: process.cwd(),
|
|
12588
|
-
type: "file",
|
|
12589
|
-
allowSymlinks: true,
|
|
12590
|
-
...options
|
|
12591
|
-
};
|
|
12592
|
-
checkType(options);
|
|
12593
|
-
const statFn = options.allowSymlinks ? fsStat : fsLStat;
|
|
12594
|
-
return pLocate(paths, async (path_) => {
|
|
12595
|
-
try {
|
|
12596
|
-
const stat = await statFn(path$7.resolve(options.cwd, path_));
|
|
12597
|
-
return matchType(options.type, stat);
|
|
12598
|
-
} catch {
|
|
12599
|
-
return false;
|
|
12600
|
-
}
|
|
12601
|
-
}, options);
|
|
12602
|
-
};
|
|
12603
|
-
module.exports.sync = (paths, options) => {
|
|
12604
|
-
options = {
|
|
12605
|
-
cwd: process.cwd(),
|
|
12606
|
-
allowSymlinks: true,
|
|
12607
|
-
type: "file",
|
|
12608
|
-
...options
|
|
12609
|
-
};
|
|
12610
|
-
checkType(options);
|
|
12611
|
-
const statFn = options.allowSymlinks ? fs$5.statSync : fs$5.lstatSync;
|
|
12612
|
-
for (const path_ of paths) try {
|
|
12613
|
-
const stat = statFn(path$7.resolve(options.cwd, path_));
|
|
12614
|
-
if (matchType(options.type, stat)) return path_;
|
|
12615
|
-
} catch {}
|
|
12616
|
-
};
|
|
12617
|
-
}) });
|
|
12618
|
-
|
|
12619
|
-
//#endregion
|
|
12620
|
-
//#region ../../node_modules/path-exists/index.js
|
|
12621
|
-
var require_path_exists = /* @__PURE__ */ __commonJS({ "../../node_modules/path-exists/index.js": ((exports, module) => {
|
|
12622
|
-
const fs$4 = __require("fs");
|
|
12623
|
-
const { promisify } = __require("util");
|
|
12624
|
-
const pAccess = promisify(fs$4.access);
|
|
12625
|
-
module.exports = async (path$13) => {
|
|
12626
|
-
try {
|
|
12627
|
-
await pAccess(path$13);
|
|
12628
|
-
return true;
|
|
12629
|
-
} catch (_$2) {
|
|
12630
|
-
return false;
|
|
12631
|
-
}
|
|
12632
|
-
};
|
|
12633
|
-
module.exports.sync = (path$13) => {
|
|
12634
|
-
try {
|
|
12635
|
-
fs$4.accessSync(path$13);
|
|
12636
|
-
return true;
|
|
12637
|
-
} catch (_$2) {
|
|
12638
|
-
return false;
|
|
12639
|
-
}
|
|
12640
|
-
};
|
|
12641
|
-
}) });
|
|
12642
|
-
|
|
12643
|
-
//#endregion
|
|
12644
|
-
//#region node_modules/find-up/index.js
|
|
12645
|
-
var require_find_up = /* @__PURE__ */ __commonJS({ "node_modules/find-up/index.js": ((exports, module) => {
|
|
12646
|
-
const path$6 = __require("path");
|
|
12647
|
-
const locatePath = require_locate_path();
|
|
12648
|
-
const pathExists = require_path_exists();
|
|
12649
|
-
const stop = Symbol("findUp.stop");
|
|
12650
|
-
module.exports = async (name, options = {}) => {
|
|
12651
|
-
let directory = path$6.resolve(options.cwd || "");
|
|
12652
|
-
const { root: root$1 } = path$6.parse(directory);
|
|
12653
|
-
const paths = [].concat(name);
|
|
12654
|
-
const runMatcher = async (locateOptions) => {
|
|
12655
|
-
if (typeof name !== "function") return locatePath(paths, locateOptions);
|
|
12656
|
-
const foundPath = await name(locateOptions.cwd);
|
|
12657
|
-
if (typeof foundPath === "string") return locatePath([foundPath], locateOptions);
|
|
12658
|
-
return foundPath;
|
|
12659
|
-
};
|
|
12660
|
-
while (true) {
|
|
12661
|
-
const foundPath = await runMatcher({
|
|
12662
|
-
...options,
|
|
12663
|
-
cwd: directory
|
|
12664
|
-
});
|
|
12665
|
-
if (foundPath === stop) return;
|
|
12666
|
-
if (foundPath) return path$6.resolve(directory, foundPath);
|
|
12667
|
-
if (directory === root$1) return;
|
|
12668
|
-
directory = path$6.dirname(directory);
|
|
12669
|
-
}
|
|
12670
|
-
};
|
|
12671
|
-
module.exports.sync = (name, options = {}) => {
|
|
12672
|
-
let directory = path$6.resolve(options.cwd || "");
|
|
12673
|
-
const { root: root$1 } = path$6.parse(directory);
|
|
12674
|
-
const paths = [].concat(name);
|
|
12675
|
-
const runMatcher = (locateOptions) => {
|
|
12676
|
-
if (typeof name !== "function") return locatePath.sync(paths, locateOptions);
|
|
12677
|
-
const foundPath = name(locateOptions.cwd);
|
|
12678
|
-
if (typeof foundPath === "string") return locatePath.sync([foundPath], locateOptions);
|
|
12679
|
-
return foundPath;
|
|
12680
|
-
};
|
|
12681
|
-
while (true) {
|
|
12682
|
-
const foundPath = runMatcher({
|
|
12683
|
-
...options,
|
|
12684
|
-
cwd: directory
|
|
12685
|
-
});
|
|
12686
|
-
if (foundPath === stop) return;
|
|
12687
|
-
if (foundPath) return path$6.resolve(directory, foundPath);
|
|
12688
|
-
if (directory === root$1) return;
|
|
12689
|
-
directory = path$6.dirname(directory);
|
|
12690
|
-
}
|
|
12691
|
-
};
|
|
12692
|
-
module.exports.exists = pathExists;
|
|
12693
|
-
module.exports.sync.exists = pathExists.sync;
|
|
12694
|
-
module.exports.stop = stop;
|
|
12695
|
-
}) });
|
|
12696
|
-
|
|
12697
12034
|
//#endregion
|
|
12698
12035
|
//#region ../../node_modules/resolve-from/index.js
|
|
12699
12036
|
var require_resolve_from = /* @__PURE__ */ __commonJS({ "../../node_modules/resolve-from/index.js": ((exports, module) => {
|
|
12700
|
-
const path$
|
|
12037
|
+
const path$4 = __require("path");
|
|
12701
12038
|
const Module = __require("module");
|
|
12702
12039
|
const fs$3 = __require("fs");
|
|
12703
12040
|
const resolveFrom = (fromDirectory, moduleId, silent) => {
|
|
@@ -12706,11 +12043,11 @@ var require_resolve_from = /* @__PURE__ */ __commonJS({ "../../node_modules/reso
|
|
|
12706
12043
|
try {
|
|
12707
12044
|
fromDirectory = fs$3.realpathSync(fromDirectory);
|
|
12708
12045
|
} catch (error) {
|
|
12709
|
-
if (error.code === "ENOENT") fromDirectory = path$
|
|
12046
|
+
if (error.code === "ENOENT") fromDirectory = path$4.resolve(fromDirectory);
|
|
12710
12047
|
else if (silent) return;
|
|
12711
12048
|
else throw error;
|
|
12712
12049
|
}
|
|
12713
|
-
const fromFile = path$
|
|
12050
|
+
const fromFile = path$4.join(fromDirectory, "noop.js");
|
|
12714
12051
|
const resolveFileName = () => Module._resolveFilename(moduleId, {
|
|
12715
12052
|
id: fromFile,
|
|
12716
12053
|
filename: fromFile,
|
|
@@ -12731,193 +12068,14 @@ var require_resolve_from = /* @__PURE__ */ __commonJS({ "../../node_modules/reso
|
|
|
12731
12068
|
//#region node_modules/@expo/config-plugins/build/utils/plugin-resolver.js
|
|
12732
12069
|
var require_plugin_resolver = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/plugin-resolver.js": ((exports) => {
|
|
12733
12070
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12734
|
-
exports.assertInternalProjectRoot = assertInternalProjectRoot;
|
|
12735
|
-
exports.moduleNameIsDirectFileReference = moduleNameIsDirectFileReference;
|
|
12736
|
-
exports.normalizeStaticPlugin = normalizeStaticPlugin;
|
|
12737
|
-
exports.pluginFileName = void 0;
|
|
12738
|
-
exports.resolveConfigPluginExport = resolveConfigPluginExport;
|
|
12739
|
-
exports.resolveConfigPluginFunction = resolveConfigPluginFunction;
|
|
12740
|
-
exports.resolveConfigPluginFunctionWithInfo = resolveConfigPluginFunctionWithInfo;
|
|
12741
|
-
exports.resolvePluginForModule = resolvePluginForModule;
|
|
12742
|
-
function _assert$6() {
|
|
12743
|
-
const data = _interopRequireDefault$29(__require("assert"));
|
|
12744
|
-
_assert$6 = function() {
|
|
12745
|
-
return data;
|
|
12746
|
-
};
|
|
12747
|
-
return data;
|
|
12748
|
-
}
|
|
12749
|
-
function _findUp() {
|
|
12750
|
-
const data = _interopRequireDefault$29(require_find_up());
|
|
12751
|
-
_findUp = function() {
|
|
12752
|
-
return data;
|
|
12753
|
-
};
|
|
12754
|
-
return data;
|
|
12755
|
-
}
|
|
12756
|
-
function path$4() {
|
|
12757
|
-
const data = _interopRequireWildcard$9(__require("path"));
|
|
12758
|
-
path$4 = function() {
|
|
12759
|
-
return data;
|
|
12760
|
-
};
|
|
12761
|
-
return data;
|
|
12762
|
-
}
|
|
12763
|
-
function _resolveFrom$2() {
|
|
12764
|
-
const data = _interopRequireDefault$29(require_resolve_from());
|
|
12765
|
-
_resolveFrom$2 = function() {
|
|
12766
|
-
return data;
|
|
12767
|
-
};
|
|
12768
|
-
return data;
|
|
12769
|
-
}
|
|
12770
|
-
function _errors$4() {
|
|
12771
|
-
const data = require_errors();
|
|
12772
|
-
_errors$4 = function() {
|
|
12773
|
-
return data;
|
|
12774
|
-
};
|
|
12775
|
-
return data;
|
|
12776
|
-
}
|
|
12777
|
-
function _modules$1() {
|
|
12778
|
-
const data = require_modules();
|
|
12779
|
-
_modules$1 = function() {
|
|
12780
|
-
return data;
|
|
12781
|
-
};
|
|
12782
|
-
return data;
|
|
12783
|
-
}
|
|
12784
|
-
function _getRequireWildcardCache$9(e) {
|
|
12785
|
-
if ("function" != typeof WeakMap) return null;
|
|
12786
|
-
var r = /* @__PURE__ */ new WeakMap(), t$5 = /* @__PURE__ */ new WeakMap();
|
|
12787
|
-
return (_getRequireWildcardCache$9 = function(e$1) {
|
|
12788
|
-
return e$1 ? t$5 : r;
|
|
12789
|
-
})(e);
|
|
12790
|
-
}
|
|
12791
|
-
function _interopRequireWildcard$9(e, r) {
|
|
12792
|
-
if (!r && e && e.__esModule) return e;
|
|
12793
|
-
if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
|
|
12794
|
-
var t$5 = _getRequireWildcardCache$9(r);
|
|
12795
|
-
if (t$5 && t$5.has(e)) return t$5.get(e);
|
|
12796
|
-
var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
12797
|
-
for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
|
|
12798
|
-
var i$4 = a ? Object.getOwnPropertyDescriptor(e, u) : null;
|
|
12799
|
-
i$4 && (i$4.get || i$4.set) ? Object.defineProperty(n, u, i$4) : n[u] = e[u];
|
|
12800
|
-
}
|
|
12801
|
-
return n.default = e, t$5 && t$5.set(e, n), n;
|
|
12802
|
-
}
|
|
12803
|
-
function _interopRequireDefault$29(obj) {
|
|
12804
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
12805
|
-
}
|
|
12806
|
-
const pluginFileName = exports.pluginFileName = "app.plugin.js";
|
|
12807
|
-
function findUpPackageJson(root$1) {
|
|
12808
|
-
const packageJson = _findUp().default.sync("package.json", { cwd: root$1 });
|
|
12809
|
-
(0, _assert$6().default)(packageJson, `No package.json found for module "${root$1}"`);
|
|
12810
|
-
return packageJson;
|
|
12811
|
-
}
|
|
12812
|
-
function resolvePluginForModule(projectRoot, modulePath) {
|
|
12813
|
-
const resolved = _resolveFrom$2().default.silent(projectRoot, modulePath);
|
|
12814
|
-
if (!resolved) throw new (_errors$4()).PluginError(`Failed to resolve plugin for module "${modulePath}" relative to "${projectRoot}"`, "PLUGIN_NOT_FOUND");
|
|
12815
|
-
if (moduleNameIsDirectFileReference(modulePath)) return {
|
|
12816
|
-
isPluginFile: false,
|
|
12817
|
-
filePath: resolved
|
|
12818
|
-
};
|
|
12819
|
-
return findUpPlugin(resolved);
|
|
12820
|
-
}
|
|
12821
|
-
function pathIsFilePath(name) {
|
|
12822
|
-
return !!name.match(/^(\.|~\/|\/)/g);
|
|
12823
|
-
}
|
|
12824
|
-
function moduleNameIsDirectFileReference(name) {
|
|
12825
|
-
if (pathIsFilePath(name)) return true;
|
|
12826
|
-
const slashCount = name.split(path$4().sep)?.length;
|
|
12827
|
-
if (name.startsWith("@")) return slashCount > 2;
|
|
12828
|
-
return slashCount > 1;
|
|
12829
|
-
}
|
|
12830
|
-
function resolveExpoPluginFile(root$1) {
|
|
12831
|
-
const pluginModuleFile = _resolveFrom$2().default.silent(root$1, `./${pluginFileName}`);
|
|
12832
|
-
if (pluginModuleFile && (0, _modules$1().fileExists)(pluginModuleFile)) return pluginModuleFile;
|
|
12833
|
-
return null;
|
|
12834
|
-
}
|
|
12835
|
-
function findUpPlugin(root$1) {
|
|
12836
|
-
const packageJson = findUpPackageJson(root$1);
|
|
12837
|
-
const pluginFile = resolveExpoPluginFile(path$4().dirname(packageJson));
|
|
12838
|
-
return {
|
|
12839
|
-
filePath: pluginFile ?? root$1,
|
|
12840
|
-
isPluginFile: !!pluginFile
|
|
12841
|
-
};
|
|
12842
|
-
}
|
|
12843
|
-
function normalizeStaticPlugin(plugin) {
|
|
12844
|
-
if (Array.isArray(plugin)) {
|
|
12845
|
-
(0, _assert$6().default)(plugin.length > 0 && plugin.length < 3, `Wrong number of arguments provided for static config plugin, expected either 1 or 2, got ${plugin.length}`);
|
|
12846
|
-
return plugin;
|
|
12847
|
-
}
|
|
12848
|
-
return [plugin, void 0];
|
|
12849
|
-
}
|
|
12850
|
-
function assertInternalProjectRoot(projectRoot) {
|
|
12851
|
-
(0, _assert$6().default)(projectRoot, `Unexpected: Config \`_internal.projectRoot\` isn't defined by expo-cli, this is a bug.`);
|
|
12852
|
-
}
|
|
12853
|
-
function resolveConfigPluginFunction(projectRoot, pluginReference) {
|
|
12854
|
-
const { plugin } = resolveConfigPluginFunctionWithInfo(projectRoot, pluginReference);
|
|
12855
|
-
return plugin;
|
|
12856
|
-
}
|
|
12857
|
-
function resolveConfigPluginFunctionWithInfo(projectRoot, pluginReference) {
|
|
12858
|
-
const { filePath: pluginFile, isPluginFile } = resolvePluginForModule(projectRoot, pluginReference);
|
|
12859
|
-
let result;
|
|
12860
|
-
try {
|
|
12861
|
-
result = requirePluginFile(pluginFile);
|
|
12862
|
-
} catch (error) {
|
|
12863
|
-
if (error instanceof SyntaxError) {
|
|
12864
|
-
const learnMoreLink = `Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin`;
|
|
12865
|
-
if (!isPluginFile && !moduleNameIsDirectFileReference(pluginReference)) {
|
|
12866
|
-
const pluginError = new (_errors$4()).PluginError(`Package "${pluginReference}" does not contain a valid config plugin.\n${learnMoreLink}\n\n${error.message}`, "INVALID_PLUGIN_IMPORT");
|
|
12867
|
-
pluginError.stack = error.stack;
|
|
12868
|
-
throw pluginError;
|
|
12869
|
-
}
|
|
12870
|
-
}
|
|
12871
|
-
throw error;
|
|
12872
|
-
}
|
|
12873
|
-
return {
|
|
12874
|
-
plugin: resolveConfigPluginExport({
|
|
12875
|
-
plugin: result,
|
|
12876
|
-
pluginFile,
|
|
12877
|
-
pluginReference,
|
|
12878
|
-
isPluginFile
|
|
12879
|
-
}),
|
|
12880
|
-
pluginFile,
|
|
12881
|
-
pluginReference,
|
|
12882
|
-
isPluginFile
|
|
12883
|
-
};
|
|
12884
|
-
}
|
|
12885
|
-
/**
|
|
12886
|
-
* - Resolve the exported contents of an Expo config (be it default or module.exports)
|
|
12887
|
-
* - Assert no promise exports
|
|
12888
|
-
* - Return config type
|
|
12889
|
-
* - Serialize config
|
|
12890
|
-
*
|
|
12891
|
-
* @param props.plugin plugin results
|
|
12892
|
-
* @param props.pluginFile plugin file path
|
|
12893
|
-
* @param props.pluginReference the string used to reference the plugin
|
|
12894
|
-
* @param props.isPluginFile is file path from the app.plugin.js module root
|
|
12895
|
-
*/
|
|
12896
|
-
function resolveConfigPluginExport({ plugin, pluginFile, pluginReference, isPluginFile }) {
|
|
12897
|
-
if (plugin.default != null) plugin = plugin.default;
|
|
12898
|
-
if (typeof plugin !== "function") {
|
|
12899
|
-
const learnMoreLink = `Learn more: https://docs.expo.dev/guides/config-plugins/#creating-a-plugin`;
|
|
12900
|
-
if (!isPluginFile && !moduleNameIsDirectFileReference(pluginReference)) throw new (_errors$4()).PluginError(`Package "${pluginReference}" does not contain a valid config plugin. Module must export a function from file: ${pluginFile}\n${learnMoreLink}`, "INVALID_PLUGIN_TYPE");
|
|
12901
|
-
throw new (_errors$4()).PluginError(`Plugin "${pluginReference}" must export a function from file: ${pluginFile}. ${learnMoreLink}`, "INVALID_PLUGIN_TYPE");
|
|
12902
|
-
}
|
|
12903
|
-
return plugin;
|
|
12904
|
-
}
|
|
12905
|
-
function requirePluginFile(filePath) {
|
|
12906
|
-
try {
|
|
12907
|
-
return __require(filePath);
|
|
12908
|
-
} catch (error) {
|
|
12909
|
-
throw error;
|
|
12910
|
-
}
|
|
12911
|
-
}
|
|
12912
12071
|
}) });
|
|
12913
12072
|
|
|
12914
12073
|
//#endregion
|
|
12915
12074
|
//#region node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js
|
|
12916
12075
|
var require_withStaticPlugin = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js": ((exports) => {
|
|
12917
12076
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12918
|
-
exports.withStaticPlugin = void 0;
|
|
12919
12077
|
function _assert$5() {
|
|
12920
|
-
const data = _interopRequireDefault$
|
|
12078
|
+
const data = _interopRequireDefault$27(__require("assert"));
|
|
12921
12079
|
_assert$5 = function() {
|
|
12922
12080
|
return data;
|
|
12923
12081
|
};
|
|
@@ -12944,7 +12102,7 @@ var require_withStaticPlugin = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
|
|
|
12944
12102
|
};
|
|
12945
12103
|
return data;
|
|
12946
12104
|
}
|
|
12947
|
-
function _interopRequireDefault$
|
|
12105
|
+
function _interopRequireDefault$27(obj) {
|
|
12948
12106
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
12949
12107
|
}
|
|
12950
12108
|
const EXPO_DEBUG = (0, _getenv$1().boolish)("EXPO_DEBUG", false);
|
|
@@ -13012,9 +12170,8 @@ var require_withStaticPlugin = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
|
|
|
13012
12170
|
//#region node_modules/@expo/config-plugins/build/plugins/withPlugins.js
|
|
13013
12171
|
var require_withPlugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withPlugins.js": ((exports) => {
|
|
13014
12172
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13015
|
-
exports.withPlugins = void 0;
|
|
13016
12173
|
function _assert$4() {
|
|
13017
|
-
const data = _interopRequireDefault$
|
|
12174
|
+
const data = _interopRequireDefault$26(__require("assert"));
|
|
13018
12175
|
_assert$4 = function() {
|
|
13019
12176
|
return data;
|
|
13020
12177
|
};
|
|
@@ -13027,7 +12184,7 @@ var require_withPlugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
|
|
|
13027
12184
|
};
|
|
13028
12185
|
return data;
|
|
13029
12186
|
}
|
|
13030
|
-
function _interopRequireDefault$
|
|
12187
|
+
function _interopRequireDefault$26(obj) {
|
|
13031
12188
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
13032
12189
|
}
|
|
13033
12190
|
/**
|
|
@@ -13047,22 +12204,7 @@ var require_withPlugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
|
|
|
13047
12204
|
//#region ../../node_modules/@expo/sdk-runtime-versions/build/index.js
|
|
13048
12205
|
var require_build$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/@expo/sdk-runtime-versions/build/index.js": ((exports) => {
|
|
13049
12206
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13050
|
-
exports.isSDKVersionRuntimeVersion = exports.getSDKVersionFromRuntimeVersion = exports.getRuntimeVersionForSDKVersion = exports.RUNTIME_VERSION_PREFIX = void 0;
|
|
13051
12207
|
exports.RUNTIME_VERSION_PREFIX = "exposdk:";
|
|
13052
|
-
function getRuntimeVersionForSDKVersion(sdkVersion) {
|
|
13053
|
-
return "" + exports.RUNTIME_VERSION_PREFIX + sdkVersion;
|
|
13054
|
-
}
|
|
13055
|
-
exports.getRuntimeVersionForSDKVersion = getRuntimeVersionForSDKVersion;
|
|
13056
|
-
function getSDKVersionFromRuntimeVersion(runtimeVersion) {
|
|
13057
|
-
var regexMatches = /^exposdk:(\d+\.\d+\.\d+)$/.exec(runtimeVersion);
|
|
13058
|
-
if (!regexMatches || regexMatches.length < 2) return;
|
|
13059
|
-
return regexMatches[1];
|
|
13060
|
-
}
|
|
13061
|
-
exports.getSDKVersionFromRuntimeVersion = getSDKVersionFromRuntimeVersion;
|
|
13062
|
-
function isSDKVersionRuntimeVersion(runtimeVersion) {
|
|
13063
|
-
return getSDKVersionFromRuntimeVersion(runtimeVersion) !== void 0;
|
|
13064
|
-
}
|
|
13065
|
-
exports.isSDKVersionRuntimeVersion = isSDKVersionRuntimeVersion;
|
|
13066
12208
|
}) });
|
|
13067
12209
|
|
|
13068
12210
|
//#endregion
|
|
@@ -13392,7 +12534,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/c
|
|
|
13392
12534
|
//#region ../../node_modules/semver/functions/parse.js
|
|
13393
12535
|
var require_parse$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/parse.js": ((exports, module) => {
|
|
13394
12536
|
const SemVer$14 = require_semver$1();
|
|
13395
|
-
const parse$
|
|
12537
|
+
const parse$9 = (version$1, options, throwErrors = false) => {
|
|
13396
12538
|
if (version$1 instanceof SemVer$14) return version$1;
|
|
13397
12539
|
try {
|
|
13398
12540
|
return new SemVer$14(version$1, options);
|
|
@@ -13401,15 +12543,15 @@ var require_parse$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/fu
|
|
|
13401
12543
|
throw er;
|
|
13402
12544
|
}
|
|
13403
12545
|
};
|
|
13404
|
-
module.exports = parse$
|
|
12546
|
+
module.exports = parse$9;
|
|
13405
12547
|
}) });
|
|
13406
12548
|
|
|
13407
12549
|
//#endregion
|
|
13408
12550
|
//#region ../../node_modules/semver/functions/valid.js
|
|
13409
12551
|
var require_valid$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/valid.js": ((exports, module) => {
|
|
13410
|
-
const parse$
|
|
12552
|
+
const parse$8 = require_parse$2();
|
|
13411
12553
|
const valid$1 = (version$1, options) => {
|
|
13412
|
-
const v = parse$
|
|
12554
|
+
const v = parse$8(version$1, options);
|
|
13413
12555
|
return v ? v.version : null;
|
|
13414
12556
|
};
|
|
13415
12557
|
module.exports = valid$1;
|
|
@@ -13418,9 +12560,9 @@ var require_valid$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/fu
|
|
|
13418
12560
|
//#endregion
|
|
13419
12561
|
//#region ../../node_modules/semver/functions/clean.js
|
|
13420
12562
|
var require_clean = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/clean.js": ((exports, module) => {
|
|
13421
|
-
const parse$
|
|
12563
|
+
const parse$7 = require_parse$2();
|
|
13422
12564
|
const clean$1 = (version$1, options) => {
|
|
13423
|
-
const s$1 = parse$
|
|
12565
|
+
const s$1 = parse$7(version$1.trim().replace(/^[=v]+/, ""), options);
|
|
13424
12566
|
return s$1 ? s$1.version : null;
|
|
13425
12567
|
};
|
|
13426
12568
|
module.exports = clean$1;
|
|
@@ -13448,10 +12590,10 @@ var require_inc = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functi
|
|
|
13448
12590
|
//#endregion
|
|
13449
12591
|
//#region ../../node_modules/semver/functions/diff.js
|
|
13450
12592
|
var require_diff = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/diff.js": ((exports, module) => {
|
|
13451
|
-
const parse$
|
|
12593
|
+
const parse$6 = require_parse$2();
|
|
13452
12594
|
const diff$1 = (version1, version2) => {
|
|
13453
|
-
const v1$1 = parse$
|
|
13454
|
-
const v2 = parse$
|
|
12595
|
+
const v1$1 = parse$6(version1, null, true);
|
|
12596
|
+
const v2 = parse$6(version2, null, true);
|
|
13455
12597
|
const comparison = v1$1.compare(v2);
|
|
13456
12598
|
if (comparison === 0) return null;
|
|
13457
12599
|
const v1Higher = comparison > 0;
|
|
@@ -13501,9 +12643,9 @@ var require_patch = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/func
|
|
|
13501
12643
|
//#endregion
|
|
13502
12644
|
//#region ../../node_modules/semver/functions/prerelease.js
|
|
13503
12645
|
var require_prerelease = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/prerelease.js": ((exports, module) => {
|
|
13504
|
-
const parse$
|
|
12646
|
+
const parse$5 = require_parse$2();
|
|
13505
12647
|
const prerelease$1 = (version$1, options) => {
|
|
13506
|
-
const parsed = parse$
|
|
12648
|
+
const parsed = parse$5(version$1, options);
|
|
13507
12649
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
13508
12650
|
};
|
|
13509
12651
|
module.exports = prerelease$1;
|
|
@@ -13646,7 +12788,7 @@ var require_cmp = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functi
|
|
|
13646
12788
|
//#region ../../node_modules/semver/functions/coerce.js
|
|
13647
12789
|
var require_coerce = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/coerce.js": ((exports, module) => {
|
|
13648
12790
|
const SemVer$7 = require_semver$1();
|
|
13649
|
-
const parse$
|
|
12791
|
+
const parse$4 = require_parse$2();
|
|
13650
12792
|
const { safeRe: re$2, t: t$2 } = require_re();
|
|
13651
12793
|
const coerce$1 = (version$1, options) => {
|
|
13652
12794
|
if (version$1 instanceof SemVer$7) return version$1;
|
|
@@ -13666,7 +12808,11 @@ var require_coerce = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/fun
|
|
|
13666
12808
|
}
|
|
13667
12809
|
if (match === null) return null;
|
|
13668
12810
|
const major$2 = match[2];
|
|
13669
|
-
|
|
12811
|
+
const minor$2 = match[3] || "0";
|
|
12812
|
+
const patch$4 = match[4] || "0";
|
|
12813
|
+
const prerelease$2 = options.includePrerelease && match[5] ? `-${match[5]}` : "";
|
|
12814
|
+
const build$2 = options.includePrerelease && match[6] ? `+${match[6]}` : "";
|
|
12815
|
+
return parse$4(`${major$2}.${minor$2}.${patch$4}${prerelease$2}${build$2}`, options);
|
|
13670
12816
|
};
|
|
13671
12817
|
module.exports = coerce$1;
|
|
13672
12818
|
}) });
|
|
@@ -14397,7 +13543,7 @@ var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/ind
|
|
|
14397
13543
|
const constants$1 = require_constants();
|
|
14398
13544
|
const SemVer = require_semver$1();
|
|
14399
13545
|
const identifiers = require_identifiers();
|
|
14400
|
-
const parse$
|
|
13546
|
+
const parse$3 = require_parse$2();
|
|
14401
13547
|
const valid = require_valid$1();
|
|
14402
13548
|
const clean = require_clean();
|
|
14403
13549
|
const inc = require_inc();
|
|
@@ -14435,7 +13581,7 @@ var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/ind
|
|
|
14435
13581
|
const simplifyRange = require_simplify();
|
|
14436
13582
|
const subset = require_subset();
|
|
14437
13583
|
module.exports = {
|
|
14438
|
-
parse: parse$
|
|
13584
|
+
parse: parse$3,
|
|
14439
13585
|
valid,
|
|
14440
13586
|
clean,
|
|
14441
13587
|
inc,
|
|
@@ -14487,7 +13633,6 @@ var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/ind
|
|
|
14487
13633
|
//#region node_modules/@expo/config-plugins/build/utils/Updates.js
|
|
14488
13634
|
var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/Updates.js": ((exports) => {
|
|
14489
13635
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14490
|
-
exports.FINGERPRINT_RUNTIME_VERSION_SENTINEL = void 0;
|
|
14491
13636
|
exports.getAppVersion = getAppVersion;
|
|
14492
13637
|
exports.getExpoUpdatesPackageVersion = getExpoUpdatesPackageVersion;
|
|
14493
13638
|
exports.getNativeVersion = getNativeVersion;
|
|
@@ -14513,7 +13658,7 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
14513
13658
|
return data;
|
|
14514
13659
|
}
|
|
14515
13660
|
function _fs$11() {
|
|
14516
|
-
const data = _interopRequireDefault$
|
|
13661
|
+
const data = _interopRequireDefault$25(__require("fs"));
|
|
14517
13662
|
_fs$11 = function() {
|
|
14518
13663
|
return data;
|
|
14519
13664
|
};
|
|
@@ -14527,21 +13672,21 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
14527
13672
|
return data;
|
|
14528
13673
|
}
|
|
14529
13674
|
function _path$11() {
|
|
14530
|
-
const data = _interopRequireDefault$
|
|
13675
|
+
const data = _interopRequireDefault$25(__require("path"));
|
|
14531
13676
|
_path$11 = function() {
|
|
14532
13677
|
return data;
|
|
14533
13678
|
};
|
|
14534
13679
|
return data;
|
|
14535
13680
|
}
|
|
14536
13681
|
function _resolveFrom$1() {
|
|
14537
|
-
const data = _interopRequireDefault$
|
|
13682
|
+
const data = _interopRequireDefault$25(require_resolve_from());
|
|
14538
13683
|
_resolveFrom$1 = function() {
|
|
14539
13684
|
return data;
|
|
14540
13685
|
};
|
|
14541
13686
|
return data;
|
|
14542
13687
|
}
|
|
14543
13688
|
function _semver$1() {
|
|
14544
|
-
const data = _interopRequireDefault$
|
|
13689
|
+
const data = _interopRequireDefault$25(require_semver());
|
|
14545
13690
|
_semver$1 = function() {
|
|
14546
13691
|
return data;
|
|
14547
13692
|
};
|
|
@@ -14554,7 +13699,7 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
14554
13699
|
};
|
|
14555
13700
|
return data;
|
|
14556
13701
|
}
|
|
14557
|
-
function _interopRequireDefault$
|
|
13702
|
+
function _interopRequireDefault$25(obj) {
|
|
14558
13703
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
14559
13704
|
}
|
|
14560
13705
|
const FINGERPRINT_RUNTIME_VERSION_SENTINEL = exports.FINGERPRINT_RUNTIME_VERSION_SENTINEL = "file:fingerprint";
|
|
@@ -14572,8 +13717,14 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
14572
13717
|
function getNativeVersion(config, platform$1) {
|
|
14573
13718
|
const version$1 = _$1().IOSConfig.Version.getVersion(config);
|
|
14574
13719
|
switch (platform$1) {
|
|
14575
|
-
case "ios":
|
|
14576
|
-
|
|
13720
|
+
case "ios": {
|
|
13721
|
+
const buildNumber = _$1().IOSConfig.Version.getBuildNumber(config);
|
|
13722
|
+
return `${version$1}(${buildNumber})`;
|
|
13723
|
+
}
|
|
13724
|
+
case "android": {
|
|
13725
|
+
const versionCode = _$1().AndroidConfig.Version.getVersionCode(config);
|
|
13726
|
+
return `${version$1}(${versionCode})`;
|
|
13727
|
+
}
|
|
14577
13728
|
default: throw new Error(`"${platform$1}" is not a supported platform. Choose either "ios" or "android".`);
|
|
14578
13729
|
}
|
|
14579
13730
|
}
|
|
@@ -14655,12 +13806,10 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
14655
13806
|
//#region node_modules/@expo/config-plugins/build/android/Updates.js
|
|
14656
13807
|
var require_Updates$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/Updates.js": ((exports) => {
|
|
14657
13808
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14658
|
-
exports.Config = void 0;
|
|
14659
13809
|
exports.applyRuntimeVersionFromConfigAsync = applyRuntimeVersionFromConfigAsync;
|
|
14660
13810
|
exports.applyRuntimeVersionFromConfigForProjectRootAsync = applyRuntimeVersionFromConfigForProjectRootAsync;
|
|
14661
13811
|
exports.setUpdatesConfigAsync = setUpdatesConfigAsync$1;
|
|
14662
13812
|
exports.setVersionsConfigAsync = setVersionsConfigAsync$1;
|
|
14663
|
-
exports.withUpdates = void 0;
|
|
14664
13813
|
function _Manifest$2() {
|
|
14665
13814
|
const data = require_Manifest();
|
|
14666
13815
|
_Manifest$2 = function() {
|
|
@@ -14797,7 +13946,6 @@ var require_Version$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
14797
13946
|
exports.setMinBuildScriptExtVersion = setMinBuildScriptExtVersion;
|
|
14798
13947
|
exports.setVersionCode = setVersionCode;
|
|
14799
13948
|
exports.setVersionName = setVersionName;
|
|
14800
|
-
exports.withVersion = exports.withBuildScriptExtMinimumVersion = void 0;
|
|
14801
13949
|
function _androidPlugins$2() {
|
|
14802
13950
|
const data = require_android_plugins();
|
|
14803
13951
|
_androidPlugins$2 = function() {
|
|
@@ -14867,7 +14015,6 @@ var require_WindowSoftInputMode = /* @__PURE__ */ __commonJS({ "node_modules/@ex
|
|
|
14867
14015
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14868
14016
|
exports.getWindowSoftInputModeMode = getWindowSoftInputModeMode;
|
|
14869
14017
|
exports.setWindowSoftInputModeMode = setWindowSoftInputModeMode;
|
|
14870
|
-
exports.withWindowSoftInputMode = void 0;
|
|
14871
14018
|
function _Manifest$1() {
|
|
14872
14019
|
const data = require_Manifest();
|
|
14873
14020
|
_Manifest$1 = function() {
|
|
@@ -15274,12 +14421,12 @@ var require_slugify = /* @__PURE__ */ __commonJS({ "../../node_modules/slugify/s
|
|
|
15274
14421
|
var require_rng = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/rng.js": ((exports, module) => {
|
|
15275
14422
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15276
14423
|
exports.default = rng;
|
|
15277
|
-
var _crypto$
|
|
15278
|
-
function _interopRequireDefault$
|
|
14424
|
+
var _crypto$2 = _interopRequireDefault$24(__require("crypto"));
|
|
14425
|
+
function _interopRequireDefault$24(obj) {
|
|
15279
14426
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15280
14427
|
}
|
|
15281
14428
|
function rng() {
|
|
15282
|
-
return _crypto$
|
|
14429
|
+
return _crypto$2.default.randomBytes(16);
|
|
15283
14430
|
}
|
|
15284
14431
|
module.exports = exports.default;
|
|
15285
14432
|
}) });
|
|
@@ -15331,9 +14478,9 @@ var require_bytesToUuid = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/
|
|
|
15331
14478
|
var require_v1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v1.js": ((exports, module) => {
|
|
15332
14479
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15333
14480
|
exports.default = void 0;
|
|
15334
|
-
var _rng$1 = _interopRequireDefault$
|
|
15335
|
-
var _bytesToUuid$2 = _interopRequireDefault$
|
|
15336
|
-
function _interopRequireDefault$
|
|
14481
|
+
var _rng$1 = _interopRequireDefault$23(require_rng());
|
|
14482
|
+
var _bytesToUuid$2 = _interopRequireDefault$23(require_bytesToUuid());
|
|
14483
|
+
function _interopRequireDefault$23(obj) {
|
|
15337
14484
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15338
14485
|
}
|
|
15339
14486
|
var _nodeId;
|
|
@@ -15393,9 +14540,8 @@ var require_v1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v1.j
|
|
|
15393
14540
|
var require_v35 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v35.js": ((exports) => {
|
|
15394
14541
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15395
14542
|
exports.default = _default$6;
|
|
15396
|
-
|
|
15397
|
-
|
|
15398
|
-
function _interopRequireDefault$23(obj) {
|
|
14543
|
+
var _bytesToUuid$1 = _interopRequireDefault$22(require_bytesToUuid());
|
|
14544
|
+
function _interopRequireDefault$22(obj) {
|
|
15399
14545
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15400
14546
|
}
|
|
15401
14547
|
function uuidToBytes(uuid$1) {
|
|
@@ -15442,14 +14588,14 @@ var require_v35 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v35
|
|
|
15442
14588
|
var require_md5 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/md5.js": ((exports, module) => {
|
|
15443
14589
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15444
14590
|
exports.default = void 0;
|
|
15445
|
-
var _crypto$
|
|
15446
|
-
function _interopRequireDefault$
|
|
14591
|
+
var _crypto$1 = _interopRequireDefault$21(__require("crypto"));
|
|
14592
|
+
function _interopRequireDefault$21(obj) {
|
|
15447
14593
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15448
14594
|
}
|
|
15449
14595
|
function md5(bytes) {
|
|
15450
14596
|
if (Array.isArray(bytes)) bytes = Buffer.from(bytes);
|
|
15451
14597
|
else if (typeof bytes === "string") bytes = Buffer.from(bytes, "utf8");
|
|
15452
|
-
return _crypto$
|
|
14598
|
+
return _crypto$1.default.createHash("md5").update(bytes).digest();
|
|
15453
14599
|
}
|
|
15454
14600
|
var _default$5 = md5;
|
|
15455
14601
|
exports.default = _default$5;
|
|
@@ -15461,9 +14607,9 @@ var require_md5 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/md5
|
|
|
15461
14607
|
var require_v3 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v3.js": ((exports, module) => {
|
|
15462
14608
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15463
14609
|
exports.default = void 0;
|
|
15464
|
-
var _v$2 = _interopRequireDefault$
|
|
15465
|
-
var _md = _interopRequireDefault$
|
|
15466
|
-
function _interopRequireDefault$
|
|
14610
|
+
var _v$2 = _interopRequireDefault$20(require_v35());
|
|
14611
|
+
var _md = _interopRequireDefault$20(require_md5());
|
|
14612
|
+
function _interopRequireDefault$20(obj) {
|
|
15467
14613
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15468
14614
|
}
|
|
15469
14615
|
var _default$4 = (0, _v$2.default)("v3", 48, _md.default);
|
|
@@ -15476,9 +14622,9 @@ var require_v3 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v3.j
|
|
|
15476
14622
|
var require_v4 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v4.js": ((exports, module) => {
|
|
15477
14623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15478
14624
|
exports.default = void 0;
|
|
15479
|
-
var _rng = _interopRequireDefault$
|
|
15480
|
-
var _bytesToUuid = _interopRequireDefault$
|
|
15481
|
-
function _interopRequireDefault$
|
|
14625
|
+
var _rng = _interopRequireDefault$19(require_rng());
|
|
14626
|
+
var _bytesToUuid = _interopRequireDefault$19(require_bytesToUuid());
|
|
14627
|
+
function _interopRequireDefault$19(obj) {
|
|
15482
14628
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15483
14629
|
}
|
|
15484
14630
|
function v4(options, buf, offset) {
|
|
@@ -15504,14 +14650,14 @@ var require_v4 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v4.j
|
|
|
15504
14650
|
var require_sha1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/sha1.js": ((exports, module) => {
|
|
15505
14651
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15506
14652
|
exports.default = void 0;
|
|
15507
|
-
var _crypto
|
|
15508
|
-
function _interopRequireDefault$
|
|
14653
|
+
var _crypto = _interopRequireDefault$18(__require("crypto"));
|
|
14654
|
+
function _interopRequireDefault$18(obj) {
|
|
15509
14655
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15510
14656
|
}
|
|
15511
14657
|
function sha1(bytes) {
|
|
15512
14658
|
if (Array.isArray(bytes)) bytes = Buffer.from(bytes);
|
|
15513
14659
|
else if (typeof bytes === "string") bytes = Buffer.from(bytes, "utf8");
|
|
15514
|
-
return _crypto
|
|
14660
|
+
return _crypto.default.createHash("sha1").update(bytes).digest();
|
|
15515
14661
|
}
|
|
15516
14662
|
var _default$2 = sha1;
|
|
15517
14663
|
exports.default = _default$2;
|
|
@@ -15523,9 +14669,9 @@ var require_sha1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/sh
|
|
|
15523
14669
|
var require_v5 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v5.js": ((exports, module) => {
|
|
15524
14670
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15525
14671
|
exports.default = void 0;
|
|
15526
|
-
var _v$1 = _interopRequireDefault$
|
|
15527
|
-
var _sha = _interopRequireDefault$
|
|
15528
|
-
function _interopRequireDefault$
|
|
14672
|
+
var _v$1 = _interopRequireDefault$17(require_v35());
|
|
14673
|
+
var _sha = _interopRequireDefault$17(require_sha1());
|
|
14674
|
+
function _interopRequireDefault$17(obj) {
|
|
15529
14675
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15530
14676
|
}
|
|
15531
14677
|
var _default$1 = (0, _v$1.default)("v5", 80, _sha.default);
|
|
@@ -15561,11 +14707,11 @@ var require_dist$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/
|
|
|
15561
14707
|
return _v4.default;
|
|
15562
14708
|
}
|
|
15563
14709
|
});
|
|
15564
|
-
var _v = _interopRequireDefault$
|
|
15565
|
-
var _v2 = _interopRequireDefault$
|
|
15566
|
-
var _v3 = _interopRequireDefault$
|
|
15567
|
-
var _v4 = _interopRequireDefault$
|
|
15568
|
-
function _interopRequireDefault$
|
|
14710
|
+
var _v = _interopRequireDefault$16(require_v1());
|
|
14711
|
+
var _v2 = _interopRequireDefault$16(require_v3());
|
|
14712
|
+
var _v3 = _interopRequireDefault$16(require_v4());
|
|
14713
|
+
var _v4 = _interopRequireDefault$16(require_v5());
|
|
14714
|
+
function _interopRequireDefault$16(obj) {
|
|
15569
14715
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
15570
14716
|
}
|
|
15571
14717
|
}) });
|
|
@@ -15833,7 +14979,7 @@ var require_pbxFile = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib
|
|
|
15833
14979
|
return text == null ? "" : text.replace(/(^")|("$)/g, "");
|
|
15834
14980
|
}
|
|
15835
14981
|
function detectType(filePath) {
|
|
15836
|
-
var
|
|
14982
|
+
var extension = path$3.extname(filePath).substring(1), filetype = FILETYPE_BY_EXTENSION[unquoted(extension)];
|
|
15837
14983
|
if (!filetype) return DEFAULT_FILETYPE;
|
|
15838
14984
|
return filetype;
|
|
15839
14985
|
}
|
|
@@ -15844,25 +14990,25 @@ var require_pbxFile = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib
|
|
|
15844
14990
|
}
|
|
15845
14991
|
}
|
|
15846
14992
|
function defaultEncoding(fileRef) {
|
|
15847
|
-
var
|
|
14993
|
+
var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, encoding = ENCODING_BY_FILETYPE[unquoted(filetype)];
|
|
15848
14994
|
if (encoding) return encoding;
|
|
15849
14995
|
}
|
|
15850
14996
|
function detectGroup(fileRef, opt) {
|
|
15851
|
-
var extension = path$3.extname(fileRef.basename).substring(1),
|
|
14997
|
+
var extension = path$3.extname(fileRef.basename).substring(1), filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, groupName = GROUP_BY_FILETYPE[unquoted(filetype)];
|
|
15852
14998
|
if (extension === "xcdatamodeld") return "Sources";
|
|
15853
14999
|
if (opt.customFramework && opt.embed) return GROUP_BY_FILETYPE["embedded.framework"];
|
|
15854
15000
|
if (!groupName) return DEFAULT_GROUP;
|
|
15855
15001
|
return groupName;
|
|
15856
15002
|
}
|
|
15857
15003
|
function detectSourcetree(fileRef) {
|
|
15858
|
-
var
|
|
15004
|
+
var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, sourcetree = SOURCETREE_BY_FILETYPE[unquoted(filetype)];
|
|
15859
15005
|
if (fileRef.explicitFileType) return DEFAULT_PRODUCT_SOURCETREE;
|
|
15860
15006
|
if (fileRef.customFramework) return DEFAULT_SOURCETREE;
|
|
15861
15007
|
if (!sourcetree) return DEFAULT_SOURCETREE;
|
|
15862
15008
|
return sourcetree;
|
|
15863
15009
|
}
|
|
15864
15010
|
function defaultPath(fileRef, filePath) {
|
|
15865
|
-
var
|
|
15011
|
+
var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, defaultPath$1 = PATH_BY_FILETYPE[unquoted(filetype)];
|
|
15866
15012
|
if (fileRef.customFramework) return filePath;
|
|
15867
15013
|
if (defaultPath$1) return path$3.join(defaultPath$1, path$3.basename(filePath));
|
|
15868
15014
|
return filePath;
|
|
@@ -15904,22 +15050,6 @@ var require_pbxFile = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib
|
|
|
15904
15050
|
|
|
15905
15051
|
//#endregion
|
|
15906
15052
|
//#region ../../node_modules/xcode/lib/parser/pbxproj.js
|
|
15907
|
-
/**
|
|
15908
|
-
Licensed to the Apache Software Foundation (ASF) under one
|
|
15909
|
-
or more contributor license agreements. See the NOTICE file
|
|
15910
|
-
distributed with this work for additional information
|
|
15911
|
-
regarding copyright ownership. The ASF licenses this file
|
|
15912
|
-
to you under the Apache License, Version 2.0 (the
|
|
15913
|
-
'License'); you may not use this file except in compliance
|
|
15914
|
-
with the License. You may obtain a copy of the License at
|
|
15915
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
15916
|
-
Unless required by applicable law or agreed to in writing,
|
|
15917
|
-
software distributed under the License is distributed on an
|
|
15918
|
-
'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15919
|
-
KIND, either express or implied. See the License for the
|
|
15920
|
-
specific language governing permissions and limitations
|
|
15921
|
-
under the License.
|
|
15922
|
-
*/
|
|
15923
15053
|
var require_pbxproj = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib/parser/pbxproj.js": ((exports, module) => {
|
|
15924
15054
|
function peg$subclass(child, parent) {
|
|
15925
15055
|
function ctor() {
|
|
@@ -17455,8 +16585,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17455
16585
|
if (this.allUuids().indexOf(id) >= 0) return this.generateUuid();
|
|
17456
16586
|
else return id;
|
|
17457
16587
|
};
|
|
17458
|
-
pbxProject.prototype.addPluginFile = function(path$
|
|
17459
|
-
var file = new pbxFile(path$
|
|
16588
|
+
pbxProject.prototype.addPluginFile = function(path$10, opt) {
|
|
16589
|
+
var file = new pbxFile(path$10, opt);
|
|
17460
16590
|
file.plugin = true;
|
|
17461
16591
|
correctForPluginsPath(file, this);
|
|
17462
16592
|
if (this.hasFile(file.path)) return null;
|
|
@@ -17465,8 +16595,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17465
16595
|
this.addToPluginsPbxGroup(file);
|
|
17466
16596
|
return file;
|
|
17467
16597
|
};
|
|
17468
|
-
pbxProject.prototype.removePluginFile = function(path$
|
|
17469
|
-
var file = new pbxFile(path$
|
|
16598
|
+
pbxProject.prototype.removePluginFile = function(path$10, opt) {
|
|
16599
|
+
var file = new pbxFile(path$10, opt);
|
|
17470
16600
|
correctForPluginsPath(file, this);
|
|
17471
16601
|
this.removeFromPbxFileReferenceSection(file);
|
|
17472
16602
|
this.removeFromPluginsPbxGroup(file);
|
|
@@ -17484,8 +16614,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17484
16614
|
this.addToProductsPbxGroup(file);
|
|
17485
16615
|
return file;
|
|
17486
16616
|
};
|
|
17487
|
-
pbxProject.prototype.removeProductFile = function(path$
|
|
17488
|
-
var file = new pbxFile(path$
|
|
16617
|
+
pbxProject.prototype.removeProductFile = function(path$10, opt) {
|
|
16618
|
+
var file = new pbxFile(path$10, opt);
|
|
17489
16619
|
this.removeFromProductsPbxGroup(file);
|
|
17490
16620
|
return file;
|
|
17491
16621
|
};
|
|
@@ -17496,10 +16626,10 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17496
16626
|
* @param group {String} group key
|
|
17497
16627
|
* @returns {Object} file; see pbxFile
|
|
17498
16628
|
*/
|
|
17499
|
-
pbxProject.prototype.addSourceFile = function(path$
|
|
16629
|
+
pbxProject.prototype.addSourceFile = function(path$10, opt, group) {
|
|
17500
16630
|
var file;
|
|
17501
|
-
if (group) file = this.addFile(path$
|
|
17502
|
-
else file = this.addPluginFile(path$
|
|
16631
|
+
if (group) file = this.addFile(path$10, group, opt);
|
|
16632
|
+
else file = this.addPluginFile(path$10, opt);
|
|
17503
16633
|
if (!file) return false;
|
|
17504
16634
|
file.target = opt ? opt.target : void 0;
|
|
17505
16635
|
file.uuid = this.generateUuid();
|
|
@@ -17514,10 +16644,10 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17514
16644
|
* @param group {String} group key
|
|
17515
16645
|
* @returns {Object} file; see pbxFile
|
|
17516
16646
|
*/
|
|
17517
|
-
pbxProject.prototype.removeSourceFile = function(path$
|
|
16647
|
+
pbxProject.prototype.removeSourceFile = function(path$10, opt, group) {
|
|
17518
16648
|
var file;
|
|
17519
|
-
if (group) file = this.removeFile(path$
|
|
17520
|
-
else file = this.removePluginFile(path$
|
|
16649
|
+
if (group) file = this.removeFile(path$10, group, opt);
|
|
16650
|
+
else file = this.removePluginFile(path$10, opt);
|
|
17521
16651
|
file.target = opt ? opt.target : void 0;
|
|
17522
16652
|
this.removeFromPbxBuildFileSection(file);
|
|
17523
16653
|
this.removeFromPbxSourcesBuildPhase(file);
|
|
@@ -17530,9 +16660,9 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17530
16660
|
* @param group {String} group key
|
|
17531
16661
|
* @returns {Object} file; see pbxFile
|
|
17532
16662
|
*/
|
|
17533
|
-
pbxProject.prototype.addHeaderFile = function(path$
|
|
17534
|
-
if (group) return this.addFile(path$
|
|
17535
|
-
else return this.addPluginFile(path$
|
|
16663
|
+
pbxProject.prototype.addHeaderFile = function(path$10, opt, group) {
|
|
16664
|
+
if (group) return this.addFile(path$10, group, opt);
|
|
16665
|
+
else return this.addPluginFile(path$10, opt);
|
|
17536
16666
|
};
|
|
17537
16667
|
/**
|
|
17538
16668
|
*
|
|
@@ -17541,9 +16671,9 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17541
16671
|
* @param group {String} group key
|
|
17542
16672
|
* @returns {Object} file; see pbxFile
|
|
17543
16673
|
*/
|
|
17544
|
-
pbxProject.prototype.removeHeaderFile = function(path$
|
|
17545
|
-
if (group) return this.removeFile(path$
|
|
17546
|
-
else return this.removePluginFile(path$
|
|
16674
|
+
pbxProject.prototype.removeHeaderFile = function(path$10, opt, group) {
|
|
16675
|
+
if (group) return this.removeFile(path$10, group, opt);
|
|
16676
|
+
else return this.removePluginFile(path$10, opt);
|
|
17547
16677
|
};
|
|
17548
16678
|
/**
|
|
17549
16679
|
*
|
|
@@ -17552,14 +16682,14 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17552
16682
|
* @param group {String} group key
|
|
17553
16683
|
* @returns {Object} file; see pbxFile
|
|
17554
16684
|
*/
|
|
17555
|
-
pbxProject.prototype.addResourceFile = function(path$
|
|
16685
|
+
pbxProject.prototype.addResourceFile = function(path$10, opt, group) {
|
|
17556
16686
|
opt = opt || {};
|
|
17557
16687
|
var file;
|
|
17558
16688
|
if (opt.plugin) {
|
|
17559
|
-
file = this.addPluginFile(path$
|
|
16689
|
+
file = this.addPluginFile(path$10, opt);
|
|
17560
16690
|
if (!file) return false;
|
|
17561
16691
|
} else {
|
|
17562
|
-
file = new pbxFile(path$
|
|
16692
|
+
file = new pbxFile(path$10, opt);
|
|
17563
16693
|
if (this.hasFile(file.path)) return false;
|
|
17564
16694
|
}
|
|
17565
16695
|
file.uuid = this.generateUuid();
|
|
@@ -17588,8 +16718,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17588
16718
|
* @param group {String} group key
|
|
17589
16719
|
* @returns {Object} file; see pbxFile
|
|
17590
16720
|
*/
|
|
17591
|
-
pbxProject.prototype.removeResourceFile = function(path$
|
|
17592
|
-
var file = new pbxFile(path$
|
|
16721
|
+
pbxProject.prototype.removeResourceFile = function(path$10, opt, group) {
|
|
16722
|
+
var file = new pbxFile(path$10, opt);
|
|
17593
16723
|
file.target = opt ? opt.target : void 0;
|
|
17594
16724
|
correctForResourcesPath(file, this);
|
|
17595
16725
|
this.removeFromPbxBuildFileSection(file);
|
|
@@ -17678,14 +16808,14 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17678
16808
|
break;
|
|
17679
16809
|
}
|
|
17680
16810
|
};
|
|
17681
|
-
pbxProject.prototype.addStaticLibrary = function(path$
|
|
16811
|
+
pbxProject.prototype.addStaticLibrary = function(path$10, opt) {
|
|
17682
16812
|
opt = opt || {};
|
|
17683
16813
|
var file;
|
|
17684
16814
|
if (opt.plugin) {
|
|
17685
|
-
file = this.addPluginFile(path$
|
|
16815
|
+
file = this.addPluginFile(path$10, opt);
|
|
17686
16816
|
if (!file) return false;
|
|
17687
16817
|
} else {
|
|
17688
|
-
file = new pbxFile(path$
|
|
16818
|
+
file = new pbxFile(path$10, opt);
|
|
17689
16819
|
if (this.hasFile(file.path)) return false;
|
|
17690
16820
|
}
|
|
17691
16821
|
file.uuid = this.generateUuid();
|
|
@@ -17713,12 +16843,12 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17713
16843
|
delete this.pbxBuildFileSection()[commentKey];
|
|
17714
16844
|
}
|
|
17715
16845
|
};
|
|
17716
|
-
pbxProject.prototype.addPbxGroup = function(filePathsArray, name, path$
|
|
16846
|
+
pbxProject.prototype.addPbxGroup = function(filePathsArray, name, path$10, sourceTree) {
|
|
17717
16847
|
var groups = this.hash.project.objects["PBXGroup"], pbxGroupUuid = this.generateUuid(), commentKey = f("%s_comment", pbxGroupUuid), pbxGroup = {
|
|
17718
16848
|
isa: "PBXGroup",
|
|
17719
16849
|
children: [],
|
|
17720
16850
|
name,
|
|
17721
|
-
path: path$
|
|
16851
|
+
path: path$10,
|
|
17722
16852
|
sourceTree: sourceTree ? sourceTree : "\"<group>\""
|
|
17723
16853
|
}, fileReferenceSection = this.pbxFileReferenceSection(), filePathToReference = {};
|
|
17724
16854
|
for (var key$3 in fileReferenceSection) {
|
|
@@ -17990,8 +17120,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
17990
17120
|
});
|
|
17991
17121
|
for (var key$3 in buildFileSection) {
|
|
17992
17122
|
if (!COMMENT_KEY.test(key$3)) continue;
|
|
17993
|
-
var buildFileKey = key$3.split(COMMENT_KEY)[0];
|
|
17994
|
-
fileReference = fileReferenceSection[
|
|
17123
|
+
var buildFileKey = key$3.split(COMMENT_KEY)[0], buildFile = buildFileSection[buildFileKey];
|
|
17124
|
+
fileReference = fileReferenceSection[buildFile.fileRef];
|
|
17995
17125
|
if (!fileReference) continue;
|
|
17996
17126
|
var pbxFileObj = new pbxFile(fileReference.path);
|
|
17997
17127
|
filePathToBuildFile[fileReference.path] = {
|
|
@@ -18310,7 +17440,7 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
18310
17440
|
elem.buildSettings.PRODUCT_BUNDLE_IDENTIFIER = "\"" + targetBundleId + "\"";
|
|
18311
17441
|
return elem;
|
|
18312
17442
|
});
|
|
18313
|
-
var buildConfigurations = this.addXCConfigurationList(buildConfigurationsList, "Release", "Build configuration list for PBXNativeTarget \"" + targetName + "\""), productName = targetName,
|
|
17443
|
+
var buildConfigurations = this.addXCConfigurationList(buildConfigurationsList, "Release", "Build configuration list for PBXNativeTarget \"" + targetName + "\""), productName = targetName, productType = producttypeForTargettype(targetType), productFileType = filetypeForProducttype(productType), productFile = this.addProductFile(productName, {
|
|
18314
17444
|
group: "Copy Files",
|
|
18315
17445
|
"target": targetUuid,
|
|
18316
17446
|
"explicitFileType": productFileType
|
|
@@ -18497,16 +17627,18 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
18497
17627
|
pbxProject.prototype.getFirstProject = function() {
|
|
18498
17628
|
var pbxProjectContainer = this.pbxProjectSection();
|
|
18499
17629
|
var firstProjectUuid = Object.keys(pbxProjectContainer)[0];
|
|
17630
|
+
var firstProject = pbxProjectContainer[firstProjectUuid];
|
|
18500
17631
|
return {
|
|
18501
17632
|
uuid: firstProjectUuid,
|
|
18502
|
-
firstProject
|
|
17633
|
+
firstProject
|
|
18503
17634
|
};
|
|
18504
17635
|
};
|
|
18505
17636
|
pbxProject.prototype.getFirstTarget = function() {
|
|
18506
17637
|
var firstTargetUuid = this.getFirstProject()["firstProject"]["targets"][0].value;
|
|
17638
|
+
var firstTarget = this.pbxNativeTargetSection()[firstTargetUuid];
|
|
18507
17639
|
return {
|
|
18508
17640
|
uuid: firstTargetUuid,
|
|
18509
|
-
firstTarget
|
|
17641
|
+
firstTarget
|
|
18510
17642
|
};
|
|
18511
17643
|
};
|
|
18512
17644
|
pbxProject.prototype.getTarget = function(productType) {
|
|
@@ -18514,10 +17646,13 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
18514
17646
|
var nativeTargets = this.pbxNativeTargetSection();
|
|
18515
17647
|
for (var i$4 = 0; i$4 < targets.length; i$4++) {
|
|
18516
17648
|
var targetUuid = targets[i$4].value;
|
|
18517
|
-
if (nativeTargets[targetUuid]["productType"] === "\"" + productType + "\"")
|
|
18518
|
-
|
|
18519
|
-
|
|
18520
|
-
|
|
17649
|
+
if (nativeTargets[targetUuid]["productType"] === "\"" + productType + "\"") {
|
|
17650
|
+
var nativeTarget = this.pbxNativeTargetSection()[targetUuid];
|
|
17651
|
+
return {
|
|
17652
|
+
uuid: targetUuid,
|
|
17653
|
+
target: nativeTarget
|
|
17654
|
+
};
|
|
17655
|
+
}
|
|
18521
17656
|
}
|
|
18522
17657
|
return null;
|
|
18523
17658
|
};
|
|
@@ -18652,8 +17787,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
18652
17787
|
pbxProject.prototype.getPBXObject = function(name) {
|
|
18653
17788
|
return this.hash.project.objects[name];
|
|
18654
17789
|
};
|
|
18655
|
-
pbxProject.prototype.addFile = function(path$
|
|
18656
|
-
var file = new pbxFile(path$
|
|
17790
|
+
pbxProject.prototype.addFile = function(path$10, group, opt) {
|
|
17791
|
+
var file = new pbxFile(path$10, opt);
|
|
18657
17792
|
if (this.hasFile(file.path)) return null;
|
|
18658
17793
|
file.fileRef = this.generateUuid();
|
|
18659
17794
|
this.addToPbxFileReferenceSection(file);
|
|
@@ -18661,8 +17796,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
|
|
|
18661
17796
|
else if (this.getPBXVariantGroupByKey(group)) this.addToPbxVariantGroup(file, group);
|
|
18662
17797
|
return file;
|
|
18663
17798
|
};
|
|
18664
|
-
pbxProject.prototype.removeFile = function(path$
|
|
18665
|
-
var file = new pbxFile(path$
|
|
17799
|
+
pbxProject.prototype.removeFile = function(path$10, group, opt) {
|
|
17800
|
+
var file = new pbxFile(path$10, opt);
|
|
18666
17801
|
this.removeFromPbxFileReferenceSection(file);
|
|
18667
17802
|
if (this.getPBXGroupByKey(group)) this.removeFromPbxGroup(file, group);
|
|
18668
17803
|
else if (this.getPBXVariantGroupByKey(group)) this.removeFromPbxVariantGroup(file, group);
|
|
@@ -18773,20 +17908,16 @@ var require_xcode = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/index
|
|
|
18773
17908
|
//#region node_modules/@expo/config-plugins/build/ios/utils/string.js
|
|
18774
17909
|
var require_string = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/utils/string.js": ((exports) => {
|
|
18775
17910
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18776
|
-
exports.trimQuotes = trimQuotes;
|
|
18777
|
-
function trimQuotes(s$1) {
|
|
18778
|
-
return s$1 && s$1[0] === "\"" && s$1[s$1.length - 1] === "\"" ? s$1.slice(1, -1) : s$1;
|
|
18779
|
-
}
|
|
18780
17911
|
}) });
|
|
18781
17912
|
|
|
18782
17913
|
//#endregion
|
|
18783
17914
|
//#region ../../node_modules/slash/index.js
|
|
18784
17915
|
var require_slash = /* @__PURE__ */ __commonJS({ "../../node_modules/slash/index.js": ((exports, module) => {
|
|
18785
|
-
module.exports = (path$
|
|
18786
|
-
const isExtendedLengthPath = /^\\\\\?\\/.test(path$
|
|
18787
|
-
const hasNonAscii = /[^\u0000-\u0080]+/.test(path$
|
|
18788
|
-
if (isExtendedLengthPath || hasNonAscii) return path$
|
|
18789
|
-
return path$
|
|
17916
|
+
module.exports = (path$10) => {
|
|
17917
|
+
const isExtendedLengthPath = /^\\\\\?\\/.test(path$10);
|
|
17918
|
+
const hasNonAscii = /[^\u0000-\u0080]+/.test(path$10);
|
|
17919
|
+
if (isExtendedLengthPath || hasNonAscii) return path$10;
|
|
17920
|
+
return path$10.replace(/\\/g, "/");
|
|
18790
17921
|
};
|
|
18791
17922
|
}) });
|
|
18792
17923
|
|
|
@@ -18883,7 +18014,6 @@ var require_BuildScheme = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
|
|
|
18883
18014
|
//#region node_modules/@expo/config-plugins/build/ios/Target.js
|
|
18884
18015
|
var require_Target = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Target.js": ((exports) => {
|
|
18885
18016
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18886
|
-
exports.TargetType = void 0;
|
|
18887
18017
|
exports.findApplicationTargetWithDependenciesAsync = findApplicationTargetWithDependenciesAsync;
|
|
18888
18018
|
exports.findFirstNativeTarget = findFirstNativeTarget;
|
|
18889
18019
|
exports.findNativeTargetByName = findNativeTargetByName;
|
|
@@ -19001,18 +18131,6 @@ var require_Target = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
19001
18131
|
//#region node_modules/@expo/config-plugins/build/utils/obj.js
|
|
19002
18132
|
var require_obj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/obj.js": ((exports) => {
|
|
19003
18133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19004
|
-
exports.get = get;
|
|
19005
|
-
/** `lodash.get` */
|
|
19006
|
-
function get(obj, key$3) {
|
|
19007
|
-
const branches = key$3.split(".");
|
|
19008
|
-
let current = obj;
|
|
19009
|
-
let branch;
|
|
19010
|
-
while (branch = branches.shift()) {
|
|
19011
|
-
if (!(branch in current)) return;
|
|
19012
|
-
current = current[branch];
|
|
19013
|
-
}
|
|
19014
|
-
return current;
|
|
19015
|
-
}
|
|
19016
18134
|
}) });
|
|
19017
18135
|
|
|
19018
18136
|
//#endregion
|
|
@@ -19022,7 +18140,6 @@ var require_ios_plugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
|
|
|
19022
18140
|
exports.createEntitlementsPlugin = createEntitlementsPlugin;
|
|
19023
18141
|
exports.createInfoPlistPlugin = createInfoPlistPlugin;
|
|
19024
18142
|
exports.createInfoPlistPluginWithPropertyGuard = createInfoPlistPluginWithPropertyGuard;
|
|
19025
|
-
exports.withXcodeProject = exports.withPodfileProperties = exports.withPodfile = exports.withInfoPlist = exports.withExpoPlist = exports.withEntitlementsPlist = exports.withAppDelegate = void 0;
|
|
19026
18143
|
function _withMod$3() {
|
|
19027
18144
|
const data = require_withMod();
|
|
19028
18145
|
_withMod$3 = function() {
|
|
@@ -19199,23 +18316,22 @@ var require_Entitlements = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
|
|
|
19199
18316
|
exports.ensureApplicationTargetEntitlementsFileConfigured = ensureApplicationTargetEntitlementsFileConfigured;
|
|
19200
18317
|
exports.getEntitlementsPath = getEntitlementsPath$1;
|
|
19201
18318
|
exports.setAssociatedDomains = setAssociatedDomains;
|
|
19202
|
-
exports.withAssociatedDomains = void 0;
|
|
19203
18319
|
function _fs$10() {
|
|
19204
|
-
const data = _interopRequireDefault$
|
|
18320
|
+
const data = _interopRequireDefault$15(__require("fs"));
|
|
19205
18321
|
_fs$10 = function() {
|
|
19206
18322
|
return data;
|
|
19207
18323
|
};
|
|
19208
18324
|
return data;
|
|
19209
18325
|
}
|
|
19210
18326
|
function _path$10() {
|
|
19211
|
-
const data = _interopRequireDefault$
|
|
18327
|
+
const data = _interopRequireDefault$15(__require("path"));
|
|
19212
18328
|
_path$10 = function() {
|
|
19213
18329
|
return data;
|
|
19214
18330
|
};
|
|
19215
18331
|
return data;
|
|
19216
18332
|
}
|
|
19217
18333
|
function _slash() {
|
|
19218
|
-
const data = _interopRequireDefault$
|
|
18334
|
+
const data = _interopRequireDefault$15(require_slash());
|
|
19219
18335
|
_slash = function() {
|
|
19220
18336
|
return data;
|
|
19221
18337
|
};
|
|
@@ -19249,7 +18365,7 @@ var require_Entitlements = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
|
|
|
19249
18365
|
};
|
|
19250
18366
|
return data;
|
|
19251
18367
|
}
|
|
19252
|
-
function _interopRequireDefault$
|
|
18368
|
+
function _interopRequireDefault$15(obj) {
|
|
19253
18369
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
19254
18370
|
}
|
|
19255
18371
|
exports.withAssociatedDomains = (0, _iosPlugins$18().createEntitlementsPlugin)(setAssociatedDomains, "withAssociatedDomains");
|
|
@@ -19472,7 +18588,8 @@ var require_Paths = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
|
|
|
19472
18588
|
};
|
|
19473
18589
|
}
|
|
19474
18590
|
function getAppDelegate(projectRoot) {
|
|
19475
|
-
|
|
18591
|
+
const filePath = getAppDelegateFilePath(projectRoot);
|
|
18592
|
+
return getFileInfo(filePath);
|
|
19476
18593
|
}
|
|
19477
18594
|
function getSourceRoot(projectRoot) {
|
|
19478
18595
|
const appDelegate = getAppDelegate(projectRoot);
|
|
@@ -19605,35 +18722,35 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
19605
18722
|
exports.sanitizedName = sanitizedName;
|
|
19606
18723
|
exports.unquote = unquote;
|
|
19607
18724
|
function _assert$3() {
|
|
19608
|
-
const data = _interopRequireDefault$
|
|
18725
|
+
const data = _interopRequireDefault$14(__require("assert"));
|
|
19609
18726
|
_assert$3 = function() {
|
|
19610
18727
|
return data;
|
|
19611
18728
|
};
|
|
19612
18729
|
return data;
|
|
19613
18730
|
}
|
|
19614
18731
|
function _path$9() {
|
|
19615
|
-
const data = _interopRequireDefault$
|
|
18732
|
+
const data = _interopRequireDefault$14(__require("path"));
|
|
19616
18733
|
_path$9 = function() {
|
|
19617
18734
|
return data;
|
|
19618
18735
|
};
|
|
19619
18736
|
return data;
|
|
19620
18737
|
}
|
|
19621
18738
|
function _slugify() {
|
|
19622
|
-
const data = _interopRequireDefault$
|
|
18739
|
+
const data = _interopRequireDefault$14(require_slugify());
|
|
19623
18740
|
_slugify = function() {
|
|
19624
18741
|
return data;
|
|
19625
18742
|
};
|
|
19626
18743
|
return data;
|
|
19627
18744
|
}
|
|
19628
18745
|
function _xcode$3() {
|
|
19629
|
-
const data = _interopRequireDefault$
|
|
18746
|
+
const data = _interopRequireDefault$14(require_xcode());
|
|
19630
18747
|
_xcode$3 = function() {
|
|
19631
18748
|
return data;
|
|
19632
18749
|
};
|
|
19633
18750
|
return data;
|
|
19634
18751
|
}
|
|
19635
18752
|
function _pbxFile() {
|
|
19636
|
-
const data = _interopRequireDefault$
|
|
18753
|
+
const data = _interopRequireDefault$14(require_pbxFile());
|
|
19637
18754
|
_pbxFile = function() {
|
|
19638
18755
|
return data;
|
|
19639
18756
|
};
|
|
@@ -19679,7 +18796,7 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
19679
18796
|
}
|
|
19680
18797
|
return n.default = e, t$5 && t$5.set(e, n), n;
|
|
19681
18798
|
}
|
|
19682
|
-
function _interopRequireDefault$
|
|
18799
|
+
function _interopRequireDefault$14(obj) {
|
|
19683
18800
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
19684
18801
|
}
|
|
19685
18802
|
/**
|
|
@@ -19799,8 +18916,8 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
19799
18916
|
});
|
|
19800
18917
|
return project.addFramework(framework, { target: target.uuid });
|
|
19801
18918
|
}
|
|
19802
|
-
function splitPath(path$
|
|
19803
|
-
return path$
|
|
18919
|
+
function splitPath(path$10) {
|
|
18920
|
+
return path$10.split("/");
|
|
19804
18921
|
}
|
|
19805
18922
|
const findGroup = (group, name) => {
|
|
19806
18923
|
if (!group) return;
|
|
@@ -19811,16 +18928,16 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
|
|
|
19811
18928
|
if (foundGroup) return project.getPBXGroupByKey(foundGroup.value) ?? null;
|
|
19812
18929
|
return null;
|
|
19813
18930
|
}
|
|
19814
|
-
function pbxGroupByPathOrAssert(project, path$
|
|
18931
|
+
function pbxGroupByPathOrAssert(project, path$10) {
|
|
19815
18932
|
const { firstProject } = project.getFirstProject();
|
|
19816
18933
|
let group = project.getPBXGroupByKey(firstProject.mainGroup);
|
|
19817
|
-
const components = splitPath(path$
|
|
18934
|
+
const components = splitPath(path$10);
|
|
19818
18935
|
for (const name of components) {
|
|
19819
18936
|
const nextGroup = findGroupInsideGroup(project, group, name);
|
|
19820
18937
|
if (nextGroup) group = nextGroup;
|
|
19821
18938
|
else break;
|
|
19822
18939
|
}
|
|
19823
|
-
if (!group) throw Error(`Xcode PBXGroup with name "${path$
|
|
18940
|
+
if (!group) throw Error(`Xcode PBXGroup with name "${path$10}" could not be found in the Xcode project.`);
|
|
19824
18941
|
return group;
|
|
19825
18942
|
}
|
|
19826
18943
|
function ensureGroupRecursively(project, filepath) {
|
|
@@ -19947,7 +19064,6 @@ var require_Bitcode = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
19947
19064
|
exports.getBitcode = getBitcode;
|
|
19948
19065
|
exports.setBitcode = setBitcode;
|
|
19949
19066
|
exports.setBitcodeWithConfig = setBitcodeWithConfig;
|
|
19950
|
-
exports.withCustomBitcode = exports.withBitcode = void 0;
|
|
19951
19067
|
function _Xcodeproj$11() {
|
|
19952
19068
|
const data = require_Xcodeproj();
|
|
19953
19069
|
_Xcodeproj$11 = function() {
|
|
@@ -20003,7 +19119,8 @@ var require_Bitcode = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
20003
19119
|
* Enable or disable the `ENABLE_BITCODE` property of the project configurations.
|
|
20004
19120
|
*/
|
|
20005
19121
|
function setBitcodeWithConfig(config, { project }) {
|
|
20006
|
-
|
|
19122
|
+
const bitcode = getBitcode(config);
|
|
19123
|
+
return setBitcode(bitcode, { project });
|
|
20007
19124
|
}
|
|
20008
19125
|
/**
|
|
20009
19126
|
* Enable or disable the `ENABLE_BITCODE` property.
|
|
@@ -20032,7 +19149,6 @@ var require_BuildProperties = /* @__PURE__ */ __commonJS({ "node_modules/@expo/c
|
|
|
20032
19149
|
exports.createBuildPodfilePropsConfigPlugin = createBuildPodfilePropsConfigPlugin;
|
|
20033
19150
|
exports.updateIosBuildPropertiesFromConfig = updateIosBuildPropertiesFromConfig;
|
|
20034
19151
|
exports.updateIosBuildProperty = updateIosBuildProperty;
|
|
20035
|
-
exports.withJsEnginePodfileProps = void 0;
|
|
20036
19152
|
function _iosPlugins$16() {
|
|
20037
19153
|
const data = require_ios_plugins();
|
|
20038
19154
|
_iosPlugins$16 = function() {
|
|
@@ -23068,7 +22184,6 @@ var require_build$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/plist/bui
|
|
|
23068
22184
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
23069
22185
|
};
|
|
23070
22186
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23071
|
-
exports.build = void 0;
|
|
23072
22187
|
const base64_js_1 = __importDefault$2(require_base64_js());
|
|
23073
22188
|
const xmlbuilder_1 = __importDefault$2(require_lib$5());
|
|
23074
22189
|
/**
|
|
@@ -26680,10 +25795,10 @@ var require_sax = /* @__PURE__ */ __commonJS({ "node_modules/@xmldom/xmldom/lib/
|
|
|
26680
25795
|
var domBuilder = this.domBuilder;
|
|
26681
25796
|
domBuilder.startDocument();
|
|
26682
25797
|
_copy(defaultNSMap, defaultNSMap = {});
|
|
26683
|
-
parse$
|
|
25798
|
+
parse$2(source$1, defaultNSMap, entityMap, domBuilder, this.errorHandler);
|
|
26684
25799
|
domBuilder.endDocument();
|
|
26685
25800
|
} };
|
|
26686
|
-
function parse$
|
|
25801
|
+
function parse$2(source$1, defaultNSMapCopy, entityMap, domBuilder, errorHandler) {
|
|
26687
25802
|
function fixedFromCharCode(code$1) {
|
|
26688
25803
|
if (code$1 > 65535) {
|
|
26689
25804
|
code$1 -= 65536;
|
|
@@ -27339,7 +26454,6 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/plist/bui
|
|
|
27339
26454
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
27340
26455
|
};
|
|
27341
26456
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27342
|
-
exports.parse = void 0;
|
|
27343
26457
|
const xmldom_1 = require_lib$4();
|
|
27344
26458
|
const assert_1 = __importDefault$1(__require("assert"));
|
|
27345
26459
|
const TEXT_NODE = 3;
|
|
@@ -27376,14 +26490,14 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/plist/bui
|
|
|
27376
26490
|
* @returns {Mixed} the decoded value from the Plist XML
|
|
27377
26491
|
* @api public
|
|
27378
26492
|
*/
|
|
27379
|
-
function parse(xml) {
|
|
26493
|
+
function parse$1(xml) {
|
|
27380
26494
|
const doc = new xmldom_1.DOMParser({ errorHandler() {} }).parseFromString(xml);
|
|
27381
26495
|
(0, assert_1.default)(doc.documentElement.nodeName === "plist", "malformed document. First element should be <plist>");
|
|
27382
26496
|
let plist$1 = parsePlistXML(doc.documentElement);
|
|
27383
26497
|
if (plist$1.length == 1) plist$1 = plist$1[0];
|
|
27384
26498
|
return plist$1;
|
|
27385
26499
|
}
|
|
27386
|
-
exports.parse = parse;
|
|
26500
|
+
exports.parse = parse$1;
|
|
27387
26501
|
/**
|
|
27388
26502
|
* Convert an XML based plist document into a JSON representation.
|
|
27389
26503
|
*
|
|
@@ -27480,30 +26594,29 @@ var require_BundleIdentifier = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
|
|
|
27480
26594
|
exports.setBundleIdentifier = setBundleIdentifier;
|
|
27481
26595
|
exports.setBundleIdentifierForPbxproj = setBundleIdentifierForPbxproj;
|
|
27482
26596
|
exports.updateBundleIdentifierForPbxproj = updateBundleIdentifierForPbxproj;
|
|
27483
|
-
exports.withBundleIdentifier = void 0;
|
|
27484
26597
|
function _plist$3() {
|
|
27485
|
-
const data = _interopRequireDefault$
|
|
26598
|
+
const data = _interopRequireDefault$13(require_build$1());
|
|
27486
26599
|
_plist$3 = function() {
|
|
27487
26600
|
return data;
|
|
27488
26601
|
};
|
|
27489
26602
|
return data;
|
|
27490
26603
|
}
|
|
27491
26604
|
function _assert$2() {
|
|
27492
|
-
const data = _interopRequireDefault$
|
|
26605
|
+
const data = _interopRequireDefault$13(__require("assert"));
|
|
27493
26606
|
_assert$2 = function() {
|
|
27494
26607
|
return data;
|
|
27495
26608
|
};
|
|
27496
26609
|
return data;
|
|
27497
26610
|
}
|
|
27498
26611
|
function _fs$8() {
|
|
27499
|
-
const data = _interopRequireDefault$
|
|
26612
|
+
const data = _interopRequireDefault$13(__require("fs"));
|
|
27500
26613
|
_fs$8 = function() {
|
|
27501
26614
|
return data;
|
|
27502
26615
|
};
|
|
27503
26616
|
return data;
|
|
27504
26617
|
}
|
|
27505
26618
|
function _xcode$2() {
|
|
27506
|
-
const data = _interopRequireDefault$
|
|
26619
|
+
const data = _interopRequireDefault$13(require_xcode());
|
|
27507
26620
|
_xcode$2 = function() {
|
|
27508
26621
|
return data;
|
|
27509
26622
|
};
|
|
@@ -27544,7 +26657,7 @@ var require_BundleIdentifier = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
|
|
|
27544
26657
|
};
|
|
27545
26658
|
return data;
|
|
27546
26659
|
}
|
|
27547
|
-
function _interopRequireDefault$
|
|
26660
|
+
function _interopRequireDefault$13(obj) {
|
|
27548
26661
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
27549
26662
|
}
|
|
27550
26663
|
const withBundleIdentifier = (config, { bundleIdentifier }) => {
|
|
@@ -27689,7 +26802,6 @@ var require_DeviceFamily = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
|
|
|
27689
26802
|
exports.getIsTabletOnly = getIsTabletOnly;
|
|
27690
26803
|
exports.getSupportsTablet = getSupportsTablet;
|
|
27691
26804
|
exports.setDeviceFamily = setDeviceFamily;
|
|
27692
|
-
exports.withDeviceFamily = void 0;
|
|
27693
26805
|
function _iosPlugins$14() {
|
|
27694
26806
|
const data = require_ios_plugins();
|
|
27695
26807
|
_iosPlugins$14 = function() {
|
|
@@ -27755,7 +26867,6 @@ var require_Scheme = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
27755
26867
|
exports.hasScheme = hasScheme;
|
|
27756
26868
|
exports.removeScheme = removeScheme;
|
|
27757
26869
|
exports.setScheme = setScheme;
|
|
27758
|
-
exports.withScheme = void 0;
|
|
27759
26870
|
function _iosPlugins$13() {
|
|
27760
26871
|
const data = require_ios_plugins();
|
|
27761
26872
|
_iosPlugins$13 = function() {
|
|
@@ -27830,30 +26941,29 @@ var require_Google = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
27830
26941
|
exports.setGoogleConfig = setGoogleConfig;
|
|
27831
26942
|
exports.setGoogleServicesFile = setGoogleServicesFile;
|
|
27832
26943
|
exports.setGoogleSignInReversedClientId = setGoogleSignInReversedClientId;
|
|
27833
|
-
exports.withGoogleServicesFile = exports.withGoogle = void 0;
|
|
27834
26944
|
function _plist$2() {
|
|
27835
|
-
const data = _interopRequireDefault$
|
|
26945
|
+
const data = _interopRequireDefault$12(require_build$1());
|
|
27836
26946
|
_plist$2 = function() {
|
|
27837
26947
|
return data;
|
|
27838
26948
|
};
|
|
27839
26949
|
return data;
|
|
27840
26950
|
}
|
|
27841
26951
|
function _assert$1() {
|
|
27842
|
-
const data = _interopRequireDefault$
|
|
26952
|
+
const data = _interopRequireDefault$12(__require("assert"));
|
|
27843
26953
|
_assert$1 = function() {
|
|
27844
26954
|
return data;
|
|
27845
26955
|
};
|
|
27846
26956
|
return data;
|
|
27847
26957
|
}
|
|
27848
26958
|
function _fs$7() {
|
|
27849
|
-
const data = _interopRequireDefault$
|
|
26959
|
+
const data = _interopRequireDefault$12(__require("fs"));
|
|
27850
26960
|
_fs$7 = function() {
|
|
27851
26961
|
return data;
|
|
27852
26962
|
};
|
|
27853
26963
|
return data;
|
|
27854
26964
|
}
|
|
27855
26965
|
function _path$8() {
|
|
27856
|
-
const data = _interopRequireDefault$
|
|
26966
|
+
const data = _interopRequireDefault$12(__require("path"));
|
|
27857
26967
|
_path$8 = function() {
|
|
27858
26968
|
return data;
|
|
27859
26969
|
};
|
|
@@ -27887,7 +26997,7 @@ var require_Google = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
|
|
|
27887
26997
|
};
|
|
27888
26998
|
return data;
|
|
27889
26999
|
}
|
|
27890
|
-
function _interopRequireDefault$
|
|
27000
|
+
function _interopRequireDefault$12(obj) {
|
|
27891
27001
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
27892
27002
|
}
|
|
27893
27003
|
const withGoogle = (config) => {
|
|
@@ -30487,10 +29597,13 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
|
|
|
30487
29597
|
];
|
|
30488
29598
|
}
|
|
30489
29599
|
var mult = (~~(args > 50) + 1) * .5;
|
|
29600
|
+
var r = (color & 1) * mult * 255;
|
|
29601
|
+
var g = (color >> 1 & 1) * mult * 255;
|
|
29602
|
+
var b = (color >> 2 & 1) * mult * 255;
|
|
30490
29603
|
return [
|
|
30491
|
-
|
|
30492
|
-
|
|
30493
|
-
|
|
29604
|
+
r,
|
|
29605
|
+
g,
|
|
29606
|
+
b
|
|
30494
29607
|
];
|
|
30495
29608
|
};
|
|
30496
29609
|
convert$1.ansi256.rgb = function(args) {
|
|
@@ -30504,10 +29617,13 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
|
|
|
30504
29617
|
}
|
|
30505
29618
|
args -= 16;
|
|
30506
29619
|
var rem;
|
|
29620
|
+
var r = Math.floor(args / 36) / 5 * 255;
|
|
29621
|
+
var g = Math.floor((rem = args % 36) / 6) / 5 * 255;
|
|
29622
|
+
var b = rem % 6 / 5 * 255;
|
|
30507
29623
|
return [
|
|
30508
|
-
|
|
30509
|
-
|
|
30510
|
-
|
|
29624
|
+
r,
|
|
29625
|
+
g,
|
|
29626
|
+
b
|
|
30511
29627
|
];
|
|
30512
29628
|
};
|
|
30513
29629
|
convert$1.rgb.hex = function(args) {
|
|
@@ -30526,10 +29642,13 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
|
|
|
30526
29642
|
return char + char;
|
|
30527
29643
|
}).join("");
|
|
30528
29644
|
var integer = parseInt(colorString, 16);
|
|
29645
|
+
var r = integer >> 16 & 255;
|
|
29646
|
+
var g = integer >> 8 & 255;
|
|
29647
|
+
var b = integer & 255;
|
|
30529
29648
|
return [
|
|
30530
|
-
|
|
30531
|
-
|
|
30532
|
-
|
|
29649
|
+
r,
|
|
29650
|
+
g,
|
|
29651
|
+
b
|
|
30533
29652
|
];
|
|
30534
29653
|
};
|
|
30535
29654
|
convert$1.rgb.hcg = function(rgb) {
|
|
@@ -30639,7 +29758,8 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
|
|
|
30639
29758
|
};
|
|
30640
29759
|
convert$1.hcg.hsv = function(hcg) {
|
|
30641
29760
|
var c$1 = hcg[1] / 100;
|
|
30642
|
-
var
|
|
29761
|
+
var g = hcg[2] / 100;
|
|
29762
|
+
var v = c$1 + g * (1 - c$1);
|
|
30643
29763
|
var f$2 = 0;
|
|
30644
29764
|
if (v > 0) f$2 = c$1 / v;
|
|
30645
29765
|
return [
|
|
@@ -30662,7 +29782,8 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
|
|
|
30662
29782
|
};
|
|
30663
29783
|
convert$1.hcg.hwb = function(hcg) {
|
|
30664
29784
|
var c$1 = hcg[1] / 100;
|
|
30665
|
-
var
|
|
29785
|
+
var g = hcg[2] / 100;
|
|
29786
|
+
var v = c$1 + g * (1 - c$1);
|
|
30666
29787
|
return [
|
|
30667
29788
|
hcg[0],
|
|
30668
29789
|
(v - c$1) * 100,
|
|
@@ -30756,10 +29877,10 @@ var require_route = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
|
|
|
30756
29877
|
}
|
|
30757
29878
|
function deriveBFS(fromModel) {
|
|
30758
29879
|
var graph = buildGraph();
|
|
30759
|
-
var queue = [fromModel];
|
|
29880
|
+
var queue$1 = [fromModel];
|
|
30760
29881
|
graph[fromModel].distance = 0;
|
|
30761
|
-
while (queue.length) {
|
|
30762
|
-
var current = queue.pop();
|
|
29882
|
+
while (queue$1.length) {
|
|
29883
|
+
var current = queue$1.pop();
|
|
30763
29884
|
var adjacents = Object.keys(conversions$1[current]);
|
|
30764
29885
|
for (var len$1 = adjacents.length, i$4 = 0; i$4 < len$1; i$4++) {
|
|
30765
29886
|
var adjacent = adjacents[i$4];
|
|
@@ -30767,7 +29888,7 @@ var require_route = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
|
|
|
30767
29888
|
if (node.distance === -1) {
|
|
30768
29889
|
node.distance = graph[current].distance + 1;
|
|
30769
29890
|
node.parent = current;
|
|
30770
|
-
queue.unshift(adjacent);
|
|
29891
|
+
queue$1.unshift(adjacent);
|
|
30771
29892
|
}
|
|
30772
29893
|
}
|
|
30773
29894
|
}
|
|
@@ -30779,15 +29900,15 @@ var require_route = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
|
|
|
30779
29900
|
};
|
|
30780
29901
|
}
|
|
30781
29902
|
function wrapConversion(toModel, graph) {
|
|
30782
|
-
var path$
|
|
29903
|
+
var path$10 = [graph[toModel].parent, toModel];
|
|
30783
29904
|
var fn = conversions$1[graph[toModel].parent][toModel];
|
|
30784
29905
|
var cur = graph[toModel].parent;
|
|
30785
29906
|
while (graph[cur].parent) {
|
|
30786
|
-
path$
|
|
29907
|
+
path$10.unshift(graph[cur].parent);
|
|
30787
29908
|
fn = link(conversions$1[graph[cur].parent][cur], fn);
|
|
30788
29909
|
cur = graph[cur].parent;
|
|
30789
29910
|
}
|
|
30790
|
-
fn.conversion = path$
|
|
29911
|
+
fn.conversion = path$10;
|
|
30791
29912
|
return fn;
|
|
30792
29913
|
}
|
|
30793
29914
|
module.exports = function(fromModel) {
|
|
@@ -31036,7 +30157,8 @@ var require_supports_color = /* @__PURE__ */ __commonJS({ "../../node_modules/@b
|
|
|
31036
30157
|
return min;
|
|
31037
30158
|
}
|
|
31038
30159
|
function getSupportLevel(stream) {
|
|
31039
|
-
|
|
30160
|
+
const level = supportsColor(stream);
|
|
30161
|
+
return translateLevel(level);
|
|
31040
30162
|
}
|
|
31041
30163
|
module.exports = {
|
|
31042
30164
|
supportsColor: getSupportLevel,
|
|
@@ -31370,8 +30492,10 @@ var require_lib$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
|
|
|
31370
30492
|
return colors;
|
|
31371
30493
|
}
|
|
31372
30494
|
function highlight(code$1, options = {}) {
|
|
31373
|
-
if (code$1 !== "" && shouldHighlight(options))
|
|
31374
|
-
|
|
30495
|
+
if (code$1 !== "" && shouldHighlight(options)) {
|
|
30496
|
+
const defs = getDefs$1(getColors(options.forceColor));
|
|
30497
|
+
return highlightTokens(defs, code$1);
|
|
30498
|
+
} else return code$1;
|
|
31375
30499
|
}
|
|
31376
30500
|
{
|
|
31377
30501
|
let chalk$1, chalkWithForcedColor;
|
|
@@ -31449,8 +30573,10 @@ var require_lib$1 = /* @__PURE__ */ __commonJS({ "node_modules/@babel/code-frame
|
|
|
31449
30573
|
if (lineDiff) for (let i$4 = 0; i$4 <= lineDiff; i$4++) {
|
|
31450
30574
|
const lineNumber = i$4 + startLine;
|
|
31451
30575
|
if (!startColumn) markerLines[lineNumber] = true;
|
|
31452
|
-
else if (i$4 === 0)
|
|
31453
|
-
|
|
30576
|
+
else if (i$4 === 0) {
|
|
30577
|
+
const sourceLength = source$1[lineNumber - 1].length;
|
|
30578
|
+
markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];
|
|
30579
|
+
} else if (i$4 === lineDiff) markerLines[lineNumber] = [0, endColumn];
|
|
31454
30580
|
else markerLines[lineNumber] = [0, source$1[lineNumber - i$4].length];
|
|
31455
30581
|
}
|
|
31456
30582
|
else if (startColumn === endColumn) if (startColumn) markerLines[startLine] = [startColumn, 0];
|
|
@@ -31469,7 +30595,8 @@ var require_lib$1 = /* @__PURE__ */ __commonJS({ "node_modules/@babel/code-frame
|
|
|
31469
30595
|
const maybeHighlight = (chalkFn, string) => {
|
|
31470
30596
|
return highlighted ? chalkFn(string) : string;
|
|
31471
30597
|
};
|
|
31472
|
-
const
|
|
30598
|
+
const lines = rawLines.split(NEWLINE);
|
|
30599
|
+
const { start, end, markerLines } = getMarkerLines(loc, lines, opts);
|
|
31473
30600
|
const hasColumns = loc.start && typeof loc.start.column === "number";
|
|
31474
30601
|
const numberMaxWidth = String(end).length;
|
|
31475
30602
|
let frame = (highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines).split(NEWLINE).slice(start, end).map((line$1, index) => {
|
|
@@ -31565,7 +30692,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/p
|
|
|
31565
30692
|
let token;
|
|
31566
30693
|
let key$1;
|
|
31567
30694
|
let root;
|
|
31568
|
-
module.exports = function parse$
|
|
30695
|
+
module.exports = function parse$12(text, reviver) {
|
|
31569
30696
|
source = String(text);
|
|
31570
30697
|
parseState = "start";
|
|
31571
30698
|
stack = [];
|
|
@@ -32304,7 +31431,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/p
|
|
|
32304
31431
|
//#region ../../node_modules/json5/lib/stringify.js
|
|
32305
31432
|
var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/stringify.js": ((exports, module) => {
|
|
32306
31433
|
const util$1 = require_util();
|
|
32307
|
-
module.exports = function stringify(value, replacer, space) {
|
|
31434
|
+
module.exports = function stringify$1(value, replacer, space) {
|
|
32308
31435
|
const stack$1 = [];
|
|
32309
31436
|
let indent = "";
|
|
32310
31437
|
let propertyList;
|
|
@@ -32470,9 +31597,11 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/l
|
|
|
32470
31597
|
//#endregion
|
|
32471
31598
|
//#region ../../node_modules/json5/lib/index.js
|
|
32472
31599
|
var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/index.js": ((exports, module) => {
|
|
31600
|
+
const parse = require_parse();
|
|
31601
|
+
const stringify = require_stringify();
|
|
32473
31602
|
const JSON5 = {
|
|
32474
|
-
parse
|
|
32475
|
-
stringify
|
|
31603
|
+
parse,
|
|
31604
|
+
stringify
|
|
32476
31605
|
};
|
|
32477
31606
|
module.exports = JSON5;
|
|
32478
31607
|
}) });
|
|
@@ -32500,47 +31629,47 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32500
31629
|
if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir);
|
|
32501
31630
|
}
|
|
32502
31631
|
module.exports = patch$1;
|
|
32503
|
-
function patch$1(fs$
|
|
32504
|
-
if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) patchLchmod(fs$
|
|
32505
|
-
if (!fs$
|
|
32506
|
-
fs$
|
|
32507
|
-
fs$
|
|
32508
|
-
fs$
|
|
32509
|
-
fs$
|
|
32510
|
-
fs$
|
|
32511
|
-
fs$
|
|
32512
|
-
fs$
|
|
32513
|
-
fs$
|
|
32514
|
-
fs$
|
|
32515
|
-
fs$
|
|
32516
|
-
fs$
|
|
32517
|
-
fs$
|
|
32518
|
-
fs$
|
|
32519
|
-
fs$
|
|
32520
|
-
fs$
|
|
32521
|
-
fs$
|
|
32522
|
-
fs$
|
|
32523
|
-
fs$
|
|
32524
|
-
if (fs$
|
|
32525
|
-
fs$
|
|
31632
|
+
function patch$1(fs$8) {
|
|
31633
|
+
if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) patchLchmod(fs$8);
|
|
31634
|
+
if (!fs$8.lutimes) patchLutimes(fs$8);
|
|
31635
|
+
fs$8.chown = chownFix(fs$8.chown);
|
|
31636
|
+
fs$8.fchown = chownFix(fs$8.fchown);
|
|
31637
|
+
fs$8.lchown = chownFix(fs$8.lchown);
|
|
31638
|
+
fs$8.chmod = chmodFix(fs$8.chmod);
|
|
31639
|
+
fs$8.fchmod = chmodFix(fs$8.fchmod);
|
|
31640
|
+
fs$8.lchmod = chmodFix(fs$8.lchmod);
|
|
31641
|
+
fs$8.chownSync = chownFixSync(fs$8.chownSync);
|
|
31642
|
+
fs$8.fchownSync = chownFixSync(fs$8.fchownSync);
|
|
31643
|
+
fs$8.lchownSync = chownFixSync(fs$8.lchownSync);
|
|
31644
|
+
fs$8.chmodSync = chmodFixSync(fs$8.chmodSync);
|
|
31645
|
+
fs$8.fchmodSync = chmodFixSync(fs$8.fchmodSync);
|
|
31646
|
+
fs$8.lchmodSync = chmodFixSync(fs$8.lchmodSync);
|
|
31647
|
+
fs$8.stat = statFix(fs$8.stat);
|
|
31648
|
+
fs$8.fstat = statFix(fs$8.fstat);
|
|
31649
|
+
fs$8.lstat = statFix(fs$8.lstat);
|
|
31650
|
+
fs$8.statSync = statFixSync(fs$8.statSync);
|
|
31651
|
+
fs$8.fstatSync = statFixSync(fs$8.fstatSync);
|
|
31652
|
+
fs$8.lstatSync = statFixSync(fs$8.lstatSync);
|
|
31653
|
+
if (fs$8.chmod && !fs$8.lchmod) {
|
|
31654
|
+
fs$8.lchmod = function(path$10, mode, cb) {
|
|
32526
31655
|
if (cb) process.nextTick(cb);
|
|
32527
31656
|
};
|
|
32528
|
-
fs$
|
|
31657
|
+
fs$8.lchmodSync = function() {};
|
|
32529
31658
|
}
|
|
32530
|
-
if (fs$
|
|
32531
|
-
fs$
|
|
31659
|
+
if (fs$8.chown && !fs$8.lchown) {
|
|
31660
|
+
fs$8.lchown = function(path$10, uid, gid, cb) {
|
|
32532
31661
|
if (cb) process.nextTick(cb);
|
|
32533
31662
|
};
|
|
32534
|
-
fs$
|
|
31663
|
+
fs$8.lchownSync = function() {};
|
|
32535
31664
|
}
|
|
32536
|
-
if (platform === "win32") fs$
|
|
31665
|
+
if (platform === "win32") fs$8.rename = typeof fs$8.rename !== "function" ? fs$8.rename : (function(fs$rename) {
|
|
32537
31666
|
function rename(from, to, cb) {
|
|
32538
31667
|
var start = Date.now();
|
|
32539
31668
|
var backoff = 0;
|
|
32540
31669
|
fs$rename(from, to, function CB(er) {
|
|
32541
31670
|
if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
|
|
32542
31671
|
setTimeout(function() {
|
|
32543
|
-
fs$
|
|
31672
|
+
fs$8.stat(to, function(stater, st) {
|
|
32544
31673
|
if (stater && stater.code === "ENOENT") fs$rename(from, to, CB);
|
|
32545
31674
|
else cb(er);
|
|
32546
31675
|
});
|
|
@@ -32553,8 +31682,8 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32553
31682
|
}
|
|
32554
31683
|
if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
|
|
32555
31684
|
return rename;
|
|
32556
|
-
})(fs$
|
|
32557
|
-
fs$
|
|
31685
|
+
})(fs$8.rename);
|
|
31686
|
+
fs$8.read = typeof fs$8.read !== "function" ? fs$8.read : (function(fs$read) {
|
|
32558
31687
|
function read$2(fd, buffer$1, offset, length, position$1, callback_) {
|
|
32559
31688
|
var callback;
|
|
32560
31689
|
if (callback_ && typeof callback_ === "function") {
|
|
@@ -32562,21 +31691,21 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32562
31691
|
callback = function(er, _$2, __) {
|
|
32563
31692
|
if (er && er.code === "EAGAIN" && eagCounter < 10) {
|
|
32564
31693
|
eagCounter++;
|
|
32565
|
-
return fs$read.call(fs$
|
|
31694
|
+
return fs$read.call(fs$8, fd, buffer$1, offset, length, position$1, callback);
|
|
32566
31695
|
}
|
|
32567
31696
|
callback_.apply(this, arguments);
|
|
32568
31697
|
};
|
|
32569
31698
|
}
|
|
32570
|
-
return fs$read.call(fs$
|
|
31699
|
+
return fs$read.call(fs$8, fd, buffer$1, offset, length, position$1, callback);
|
|
32571
31700
|
}
|
|
32572
31701
|
if (Object.setPrototypeOf) Object.setPrototypeOf(read$2, fs$read);
|
|
32573
31702
|
return read$2;
|
|
32574
|
-
})(fs$
|
|
32575
|
-
fs$
|
|
31703
|
+
})(fs$8.read);
|
|
31704
|
+
fs$8.readSync = typeof fs$8.readSync !== "function" ? fs$8.readSync : (function(fs$readSync) {
|
|
32576
31705
|
return function(fd, buffer$1, offset, length, position$1) {
|
|
32577
31706
|
var eagCounter = 0;
|
|
32578
31707
|
while (true) try {
|
|
32579
|
-
return fs$readSync.call(fs$
|
|
31708
|
+
return fs$readSync.call(fs$8, fd, buffer$1, offset, length, position$1);
|
|
32580
31709
|
} catch (er) {
|
|
32581
31710
|
if (er.code === "EAGAIN" && eagCounter < 10) {
|
|
32582
31711
|
eagCounter++;
|
|
@@ -32585,78 +31714,78 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32585
31714
|
throw er;
|
|
32586
31715
|
}
|
|
32587
31716
|
};
|
|
32588
|
-
})(fs$
|
|
32589
|
-
function patchLchmod(fs$
|
|
32590
|
-
fs$
|
|
32591
|
-
fs$
|
|
31717
|
+
})(fs$8.readSync);
|
|
31718
|
+
function patchLchmod(fs$9) {
|
|
31719
|
+
fs$9.lchmod = function(path$10, mode, callback) {
|
|
31720
|
+
fs$9.open(path$10, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
|
|
32592
31721
|
if (err) {
|
|
32593
31722
|
if (callback) callback(err);
|
|
32594
31723
|
return;
|
|
32595
31724
|
}
|
|
32596
|
-
fs$
|
|
32597
|
-
fs$
|
|
31725
|
+
fs$9.fchmod(fd, mode, function(err$1) {
|
|
31726
|
+
fs$9.close(fd, function(err2) {
|
|
32598
31727
|
if (callback) callback(err$1 || err2);
|
|
32599
31728
|
});
|
|
32600
31729
|
});
|
|
32601
31730
|
});
|
|
32602
31731
|
};
|
|
32603
|
-
fs$
|
|
32604
|
-
var fd = fs$
|
|
31732
|
+
fs$9.lchmodSync = function(path$10, mode) {
|
|
31733
|
+
var fd = fs$9.openSync(path$10, constants.O_WRONLY | constants.O_SYMLINK, mode);
|
|
32605
31734
|
var threw = true;
|
|
32606
31735
|
var ret;
|
|
32607
31736
|
try {
|
|
32608
|
-
ret = fs$
|
|
31737
|
+
ret = fs$9.fchmodSync(fd, mode);
|
|
32609
31738
|
threw = false;
|
|
32610
31739
|
} finally {
|
|
32611
31740
|
if (threw) try {
|
|
32612
|
-
fs$
|
|
31741
|
+
fs$9.closeSync(fd);
|
|
32613
31742
|
} catch (er) {}
|
|
32614
|
-
else fs$
|
|
31743
|
+
else fs$9.closeSync(fd);
|
|
32615
31744
|
}
|
|
32616
31745
|
return ret;
|
|
32617
31746
|
};
|
|
32618
31747
|
}
|
|
32619
|
-
function patchLutimes(fs$
|
|
32620
|
-
if (constants.hasOwnProperty("O_SYMLINK") && fs$
|
|
32621
|
-
fs$
|
|
32622
|
-
fs$
|
|
31748
|
+
function patchLutimes(fs$9) {
|
|
31749
|
+
if (constants.hasOwnProperty("O_SYMLINK") && fs$9.futimes) {
|
|
31750
|
+
fs$9.lutimes = function(path$10, at, mt, cb) {
|
|
31751
|
+
fs$9.open(path$10, constants.O_SYMLINK, function(er, fd) {
|
|
32623
31752
|
if (er) {
|
|
32624
31753
|
if (cb) cb(er);
|
|
32625
31754
|
return;
|
|
32626
31755
|
}
|
|
32627
|
-
fs$
|
|
32628
|
-
fs$
|
|
31756
|
+
fs$9.futimes(fd, at, mt, function(er$1) {
|
|
31757
|
+
fs$9.close(fd, function(er2) {
|
|
32629
31758
|
if (cb) cb(er$1 || er2);
|
|
32630
31759
|
});
|
|
32631
31760
|
});
|
|
32632
31761
|
});
|
|
32633
31762
|
};
|
|
32634
|
-
fs$
|
|
32635
|
-
var fd = fs$
|
|
31763
|
+
fs$9.lutimesSync = function(path$10, at, mt) {
|
|
31764
|
+
var fd = fs$9.openSync(path$10, constants.O_SYMLINK);
|
|
32636
31765
|
var ret;
|
|
32637
31766
|
var threw = true;
|
|
32638
31767
|
try {
|
|
32639
|
-
ret = fs$
|
|
31768
|
+
ret = fs$9.futimesSync(fd, at, mt);
|
|
32640
31769
|
threw = false;
|
|
32641
31770
|
} finally {
|
|
32642
31771
|
if (threw) try {
|
|
32643
|
-
fs$
|
|
31772
|
+
fs$9.closeSync(fd);
|
|
32644
31773
|
} catch (er) {}
|
|
32645
|
-
else fs$
|
|
31774
|
+
else fs$9.closeSync(fd);
|
|
32646
31775
|
}
|
|
32647
31776
|
return ret;
|
|
32648
31777
|
};
|
|
32649
|
-
} else if (fs$
|
|
32650
|
-
fs$
|
|
31778
|
+
} else if (fs$9.futimes) {
|
|
31779
|
+
fs$9.lutimes = function(_a, _b, _c, cb) {
|
|
32651
31780
|
if (cb) process.nextTick(cb);
|
|
32652
31781
|
};
|
|
32653
|
-
fs$
|
|
31782
|
+
fs$9.lutimesSync = function() {};
|
|
32654
31783
|
}
|
|
32655
31784
|
}
|
|
32656
31785
|
function chmodFix(orig) {
|
|
32657
31786
|
if (!orig) return orig;
|
|
32658
31787
|
return function(target, mode, cb) {
|
|
32659
|
-
return orig.call(fs$
|
|
31788
|
+
return orig.call(fs$8, target, mode, function(er) {
|
|
32660
31789
|
if (chownErOk(er)) er = null;
|
|
32661
31790
|
if (cb) cb.apply(this, arguments);
|
|
32662
31791
|
});
|
|
@@ -32666,7 +31795,7 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32666
31795
|
if (!orig) return orig;
|
|
32667
31796
|
return function(target, mode) {
|
|
32668
31797
|
try {
|
|
32669
|
-
return orig.call(fs$
|
|
31798
|
+
return orig.call(fs$8, target, mode);
|
|
32670
31799
|
} catch (er) {
|
|
32671
31800
|
if (!chownErOk(er)) throw er;
|
|
32672
31801
|
}
|
|
@@ -32675,7 +31804,7 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32675
31804
|
function chownFix(orig) {
|
|
32676
31805
|
if (!orig) return orig;
|
|
32677
31806
|
return function(target, uid, gid, cb) {
|
|
32678
|
-
return orig.call(fs$
|
|
31807
|
+
return orig.call(fs$8, target, uid, gid, function(er) {
|
|
32679
31808
|
if (chownErOk(er)) er = null;
|
|
32680
31809
|
if (cb) cb.apply(this, arguments);
|
|
32681
31810
|
});
|
|
@@ -32685,7 +31814,7 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32685
31814
|
if (!orig) return orig;
|
|
32686
31815
|
return function(target, uid, gid) {
|
|
32687
31816
|
try {
|
|
32688
|
-
return orig.call(fs$
|
|
31817
|
+
return orig.call(fs$8, target, uid, gid);
|
|
32689
31818
|
} catch (er) {
|
|
32690
31819
|
if (!chownErOk(er)) throw er;
|
|
32691
31820
|
}
|
|
@@ -32705,13 +31834,13 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32705
31834
|
}
|
|
32706
31835
|
if (cb) cb.apply(this, arguments);
|
|
32707
31836
|
}
|
|
32708
|
-
return options ? orig.call(fs$
|
|
31837
|
+
return options ? orig.call(fs$8, target, options, callback) : orig.call(fs$8, target, callback);
|
|
32709
31838
|
};
|
|
32710
31839
|
}
|
|
32711
31840
|
function statFixSync(orig) {
|
|
32712
31841
|
if (!orig) return orig;
|
|
32713
31842
|
return function(target, options) {
|
|
32714
|
-
var stats = options ? orig.call(fs$
|
|
31843
|
+
var stats = options ? orig.call(fs$8, target, options) : orig.call(fs$8, target);
|
|
32715
31844
|
if (stats) {
|
|
32716
31845
|
if (stats.uid < 0) stats.uid += 4294967296;
|
|
32717
31846
|
if (stats.gid < 0) stats.gid += 4294967296;
|
|
@@ -32735,16 +31864,16 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
|
|
|
32735
31864
|
var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/graceful-fs/legacy-streams.js": ((exports, module) => {
|
|
32736
31865
|
var Stream = __require("stream").Stream;
|
|
32737
31866
|
module.exports = legacy$1;
|
|
32738
|
-
function legacy$1(fs$
|
|
31867
|
+
function legacy$1(fs$8) {
|
|
32739
31868
|
return {
|
|
32740
31869
|
ReadStream,
|
|
32741
31870
|
WriteStream
|
|
32742
31871
|
};
|
|
32743
|
-
function ReadStream(path$
|
|
32744
|
-
if (!(this instanceof ReadStream)) return new ReadStream(path$
|
|
31872
|
+
function ReadStream(path$10, options) {
|
|
31873
|
+
if (!(this instanceof ReadStream)) return new ReadStream(path$10, options);
|
|
32745
31874
|
Stream.call(this);
|
|
32746
31875
|
var self = this;
|
|
32747
|
-
this.path = path$
|
|
31876
|
+
this.path = path$10;
|
|
32748
31877
|
this.fd = null;
|
|
32749
31878
|
this.readable = true;
|
|
32750
31879
|
this.paused = false;
|
|
@@ -32771,7 +31900,7 @@ var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/gr
|
|
|
32771
31900
|
});
|
|
32772
31901
|
return;
|
|
32773
31902
|
}
|
|
32774
|
-
fs$
|
|
31903
|
+
fs$8.open(this.path, this.flags, this.mode, function(err, fd) {
|
|
32775
31904
|
if (err) {
|
|
32776
31905
|
self.emit("error", err);
|
|
32777
31906
|
self.readable = false;
|
|
@@ -32782,10 +31911,10 @@ var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/gr
|
|
|
32782
31911
|
self._read();
|
|
32783
31912
|
});
|
|
32784
31913
|
}
|
|
32785
|
-
function WriteStream(path$
|
|
32786
|
-
if (!(this instanceof WriteStream)) return new WriteStream(path$
|
|
31914
|
+
function WriteStream(path$10, options) {
|
|
31915
|
+
if (!(this instanceof WriteStream)) return new WriteStream(path$10, options);
|
|
32787
31916
|
Stream.call(this);
|
|
32788
|
-
this.path = path$
|
|
31917
|
+
this.path = path$10;
|
|
32789
31918
|
this.fd = null;
|
|
32790
31919
|
this.writable = true;
|
|
32791
31920
|
this.flags = "w";
|
|
@@ -32806,7 +31935,7 @@ var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/gr
|
|
|
32806
31935
|
this.busy = false;
|
|
32807
31936
|
this._queue = [];
|
|
32808
31937
|
if (this.fd === null) {
|
|
32809
|
-
this._open = fs$
|
|
31938
|
+
this._open = fs$8.open;
|
|
32810
31939
|
this._queue.push([
|
|
32811
31940
|
this._open,
|
|
32812
31941
|
this.path,
|
|
@@ -32858,9 +31987,9 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
32858
31987
|
previousSymbol = "___graceful-fs.previous";
|
|
32859
31988
|
}
|
|
32860
31989
|
function noop() {}
|
|
32861
|
-
function publishQueue(context, queue) {
|
|
31990
|
+
function publishQueue(context, queue$1) {
|
|
32862
31991
|
Object.defineProperty(context, gracefulQueue, { get: function() {
|
|
32863
|
-
return queue;
|
|
31992
|
+
return queue$1;
|
|
32864
31993
|
} });
|
|
32865
31994
|
}
|
|
32866
31995
|
var debug$4 = noop;
|
|
@@ -32871,7 +32000,8 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
32871
32000
|
console.error(m$1);
|
|
32872
32001
|
};
|
|
32873
32002
|
if (!fs$1[gracefulQueue]) {
|
|
32874
|
-
|
|
32003
|
+
var queue = global[gracefulQueue] || [];
|
|
32004
|
+
publishQueue(fs$1, queue);
|
|
32875
32005
|
fs$1.close = (function(fs$close) {
|
|
32876
32006
|
function close(fd, cb) {
|
|
32877
32007
|
return fs$close.call(fs$1, fd, function(err) {
|
|
@@ -32901,22 +32031,22 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
32901
32031
|
module.exports = patch(fs$1);
|
|
32902
32032
|
fs$1.__patched = true;
|
|
32903
32033
|
}
|
|
32904
|
-
function patch(fs$
|
|
32905
|
-
polyfills(fs$
|
|
32906
|
-
fs$
|
|
32907
|
-
fs$
|
|
32908
|
-
fs$
|
|
32909
|
-
var fs$readFile = fs$
|
|
32910
|
-
fs$
|
|
32911
|
-
function readFile$2(path$
|
|
32034
|
+
function patch(fs$8) {
|
|
32035
|
+
polyfills(fs$8);
|
|
32036
|
+
fs$8.gracefulify = patch;
|
|
32037
|
+
fs$8.createReadStream = createReadStream;
|
|
32038
|
+
fs$8.createWriteStream = createWriteStream;
|
|
32039
|
+
var fs$readFile = fs$8.readFile;
|
|
32040
|
+
fs$8.readFile = readFile$2;
|
|
32041
|
+
function readFile$2(path$10, options, cb) {
|
|
32912
32042
|
if (typeof options === "function") cb = options, options = null;
|
|
32913
|
-
return go$readFile(path$
|
|
32914
|
-
function go$readFile(path$
|
|
32915
|
-
return fs$readFile(path$
|
|
32043
|
+
return go$readFile(path$10, options, cb);
|
|
32044
|
+
function go$readFile(path$11, options$1, cb$1, startTime) {
|
|
32045
|
+
return fs$readFile(path$11, options$1, function(err) {
|
|
32916
32046
|
if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
|
|
32917
32047
|
go$readFile,
|
|
32918
32048
|
[
|
|
32919
|
-
path$
|
|
32049
|
+
path$11,
|
|
32920
32050
|
options$1,
|
|
32921
32051
|
cb$1
|
|
32922
32052
|
],
|
|
@@ -32928,17 +32058,17 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
32928
32058
|
});
|
|
32929
32059
|
}
|
|
32930
32060
|
}
|
|
32931
|
-
var fs$writeFile = fs$
|
|
32932
|
-
fs$
|
|
32933
|
-
function writeFile$3(path$
|
|
32061
|
+
var fs$writeFile = fs$8.writeFile;
|
|
32062
|
+
fs$8.writeFile = writeFile$3;
|
|
32063
|
+
function writeFile$3(path$10, data, options, cb) {
|
|
32934
32064
|
if (typeof options === "function") cb = options, options = null;
|
|
32935
|
-
return go$writeFile(path$
|
|
32936
|
-
function go$writeFile(path$
|
|
32937
|
-
return fs$writeFile(path$
|
|
32065
|
+
return go$writeFile(path$10, data, options, cb);
|
|
32066
|
+
function go$writeFile(path$11, data$1, options$1, cb$1, startTime) {
|
|
32067
|
+
return fs$writeFile(path$11, data$1, options$1, function(err) {
|
|
32938
32068
|
if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
|
|
32939
32069
|
go$writeFile,
|
|
32940
32070
|
[
|
|
32941
|
-
path$
|
|
32071
|
+
path$11,
|
|
32942
32072
|
data$1,
|
|
32943
32073
|
options$1,
|
|
32944
32074
|
cb$1
|
|
@@ -32951,17 +32081,17 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
32951
32081
|
});
|
|
32952
32082
|
}
|
|
32953
32083
|
}
|
|
32954
|
-
var fs$appendFile = fs$
|
|
32955
|
-
if (fs$appendFile) fs$
|
|
32956
|
-
function appendFile(path$
|
|
32084
|
+
var fs$appendFile = fs$8.appendFile;
|
|
32085
|
+
if (fs$appendFile) fs$8.appendFile = appendFile;
|
|
32086
|
+
function appendFile(path$10, data, options, cb) {
|
|
32957
32087
|
if (typeof options === "function") cb = options, options = null;
|
|
32958
|
-
return go$appendFile(path$
|
|
32959
|
-
function go$appendFile(path$
|
|
32960
|
-
return fs$appendFile(path$
|
|
32088
|
+
return go$appendFile(path$10, data, options, cb);
|
|
32089
|
+
function go$appendFile(path$11, data$1, options$1, cb$1, startTime) {
|
|
32090
|
+
return fs$appendFile(path$11, data$1, options$1, function(err) {
|
|
32961
32091
|
if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
|
|
32962
32092
|
go$appendFile,
|
|
32963
32093
|
[
|
|
32964
|
-
path$
|
|
32094
|
+
path$11,
|
|
32965
32095
|
data$1,
|
|
32966
32096
|
options$1,
|
|
32967
32097
|
cb$1
|
|
@@ -32974,8 +32104,8 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
32974
32104
|
});
|
|
32975
32105
|
}
|
|
32976
32106
|
}
|
|
32977
|
-
var fs$copyFile = fs$
|
|
32978
|
-
if (fs$copyFile) fs$
|
|
32107
|
+
var fs$copyFile = fs$8.copyFile;
|
|
32108
|
+
if (fs$copyFile) fs$8.copyFile = copyFile;
|
|
32979
32109
|
function copyFile(src$1, dest, flags, cb) {
|
|
32980
32110
|
if (typeof flags === "function") {
|
|
32981
32111
|
cb = flags;
|
|
@@ -33000,23 +32130,23 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33000
32130
|
});
|
|
33001
32131
|
}
|
|
33002
32132
|
}
|
|
33003
|
-
var fs$readdir = fs$
|
|
33004
|
-
fs$
|
|
32133
|
+
var fs$readdir = fs$8.readdir;
|
|
32134
|
+
fs$8.readdir = readdir;
|
|
33005
32135
|
var noReaddirOptionVersions = /^v[0-5]\./;
|
|
33006
|
-
function readdir(path$
|
|
32136
|
+
function readdir(path$10, options, cb) {
|
|
33007
32137
|
if (typeof options === "function") cb = options, options = null;
|
|
33008
|
-
var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir$1(path$
|
|
33009
|
-
return fs$readdir(path$
|
|
33010
|
-
} : function go$readdir$1(path$
|
|
33011
|
-
return fs$readdir(path$
|
|
32138
|
+
var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir$1(path$11, options$1, cb$1, startTime) {
|
|
32139
|
+
return fs$readdir(path$11, fs$readdirCallback(path$11, options$1, cb$1, startTime));
|
|
32140
|
+
} : function go$readdir$1(path$11, options$1, cb$1, startTime) {
|
|
32141
|
+
return fs$readdir(path$11, options$1, fs$readdirCallback(path$11, options$1, cb$1, startTime));
|
|
33012
32142
|
};
|
|
33013
|
-
return go$readdir(path$
|
|
33014
|
-
function fs$readdirCallback(path$
|
|
32143
|
+
return go$readdir(path$10, options, cb);
|
|
32144
|
+
function fs$readdirCallback(path$11, options$1, cb$1, startTime) {
|
|
33015
32145
|
return function(err, files) {
|
|
33016
32146
|
if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
|
|
33017
32147
|
go$readdir,
|
|
33018
32148
|
[
|
|
33019
|
-
path$
|
|
32149
|
+
path$11,
|
|
33020
32150
|
options$1,
|
|
33021
32151
|
cb$1
|
|
33022
32152
|
],
|
|
@@ -33032,21 +32162,21 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33032
32162
|
}
|
|
33033
32163
|
}
|
|
33034
32164
|
if (process.version.substr(0, 4) === "v0.8") {
|
|
33035
|
-
var legStreams = legacy(fs$
|
|
32165
|
+
var legStreams = legacy(fs$8);
|
|
33036
32166
|
ReadStream = legStreams.ReadStream;
|
|
33037
32167
|
WriteStream = legStreams.WriteStream;
|
|
33038
32168
|
}
|
|
33039
|
-
var fs$ReadStream = fs$
|
|
32169
|
+
var fs$ReadStream = fs$8.ReadStream;
|
|
33040
32170
|
if (fs$ReadStream) {
|
|
33041
32171
|
ReadStream.prototype = Object.create(fs$ReadStream.prototype);
|
|
33042
32172
|
ReadStream.prototype.open = ReadStream$open;
|
|
33043
32173
|
}
|
|
33044
|
-
var fs$WriteStream = fs$
|
|
32174
|
+
var fs$WriteStream = fs$8.WriteStream;
|
|
33045
32175
|
if (fs$WriteStream) {
|
|
33046
32176
|
WriteStream.prototype = Object.create(fs$WriteStream.prototype);
|
|
33047
32177
|
WriteStream.prototype.open = WriteStream$open;
|
|
33048
32178
|
}
|
|
33049
|
-
Object.defineProperty(fs$
|
|
32179
|
+
Object.defineProperty(fs$8, "ReadStream", {
|
|
33050
32180
|
get: function() {
|
|
33051
32181
|
return ReadStream;
|
|
33052
32182
|
},
|
|
@@ -33056,7 +32186,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33056
32186
|
enumerable: true,
|
|
33057
32187
|
configurable: true
|
|
33058
32188
|
});
|
|
33059
|
-
Object.defineProperty(fs$
|
|
32189
|
+
Object.defineProperty(fs$8, "WriteStream", {
|
|
33060
32190
|
get: function() {
|
|
33061
32191
|
return WriteStream;
|
|
33062
32192
|
},
|
|
@@ -33067,7 +32197,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33067
32197
|
configurable: true
|
|
33068
32198
|
});
|
|
33069
32199
|
var FileReadStream = ReadStream;
|
|
33070
|
-
Object.defineProperty(fs$
|
|
32200
|
+
Object.defineProperty(fs$8, "FileReadStream", {
|
|
33071
32201
|
get: function() {
|
|
33072
32202
|
return FileReadStream;
|
|
33073
32203
|
},
|
|
@@ -33078,7 +32208,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33078
32208
|
configurable: true
|
|
33079
32209
|
});
|
|
33080
32210
|
var FileWriteStream = WriteStream;
|
|
33081
|
-
Object.defineProperty(fs$
|
|
32211
|
+
Object.defineProperty(fs$8, "FileWriteStream", {
|
|
33082
32212
|
get: function() {
|
|
33083
32213
|
return FileWriteStream;
|
|
33084
32214
|
},
|
|
@@ -33088,7 +32218,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33088
32218
|
enumerable: true,
|
|
33089
32219
|
configurable: true
|
|
33090
32220
|
});
|
|
33091
|
-
function ReadStream(path$
|
|
32221
|
+
function ReadStream(path$10, options) {
|
|
33092
32222
|
if (this instanceof ReadStream) return fs$ReadStream.apply(this, arguments), this;
|
|
33093
32223
|
else return ReadStream.apply(Object.create(ReadStream.prototype), arguments);
|
|
33094
32224
|
}
|
|
@@ -33105,7 +32235,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33105
32235
|
}
|
|
33106
32236
|
});
|
|
33107
32237
|
}
|
|
33108
|
-
function WriteStream(path$
|
|
32238
|
+
function WriteStream(path$10, options) {
|
|
33109
32239
|
if (this instanceof WriteStream) return fs$WriteStream.apply(this, arguments), this;
|
|
33110
32240
|
else return WriteStream.apply(Object.create(WriteStream.prototype), arguments);
|
|
33111
32241
|
}
|
|
@@ -33121,23 +32251,23 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33121
32251
|
}
|
|
33122
32252
|
});
|
|
33123
32253
|
}
|
|
33124
|
-
function createReadStream(path$
|
|
33125
|
-
return new fs$
|
|
32254
|
+
function createReadStream(path$10, options) {
|
|
32255
|
+
return new fs$8.ReadStream(path$10, options);
|
|
33126
32256
|
}
|
|
33127
|
-
function createWriteStream(path$
|
|
33128
|
-
return new fs$
|
|
32257
|
+
function createWriteStream(path$10, options) {
|
|
32258
|
+
return new fs$8.WriteStream(path$10, options);
|
|
33129
32259
|
}
|
|
33130
|
-
var fs$open = fs$
|
|
33131
|
-
fs$
|
|
33132
|
-
function open(path$
|
|
32260
|
+
var fs$open = fs$8.open;
|
|
32261
|
+
fs$8.open = open;
|
|
32262
|
+
function open(path$10, flags, mode, cb) {
|
|
33133
32263
|
if (typeof mode === "function") cb = mode, mode = null;
|
|
33134
|
-
return go$open(path$
|
|
33135
|
-
function go$open(path$
|
|
33136
|
-
return fs$open(path$
|
|
32264
|
+
return go$open(path$10, flags, mode, cb);
|
|
32265
|
+
function go$open(path$11, flags$1, mode$1, cb$1, startTime) {
|
|
32266
|
+
return fs$open(path$11, flags$1, mode$1, function(err, fd) {
|
|
33137
32267
|
if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
|
|
33138
32268
|
go$open,
|
|
33139
32269
|
[
|
|
33140
|
-
path$
|
|
32270
|
+
path$11,
|
|
33141
32271
|
flags$1,
|
|
33142
32272
|
mode$1,
|
|
33143
32273
|
cb$1
|
|
@@ -33150,7 +32280,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33150
32280
|
});
|
|
33151
32281
|
}
|
|
33152
32282
|
}
|
|
33153
|
-
return fs$
|
|
32283
|
+
return fs$8;
|
|
33154
32284
|
}
|
|
33155
32285
|
function enqueue(elem) {
|
|
33156
32286
|
debug$4("ENQUEUE", elem[0].name, elem[1]);
|
|
@@ -33186,7 +32316,8 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
|
|
|
33186
32316
|
} else {
|
|
33187
32317
|
var sinceAttempt = Date.now() - lastTime;
|
|
33188
32318
|
var sinceStart = Math.max(lastTime - startTime, 1);
|
|
33189
|
-
|
|
32319
|
+
var desiredDelay = Math.min(sinceStart * 1.2, 100);
|
|
32320
|
+
if (sinceAttempt >= desiredDelay) {
|
|
33190
32321
|
debug$4("RETRY", fn.name, args);
|
|
33191
32322
|
fn.apply(null, args.concat([startTime]));
|
|
33192
32323
|
} else fs$1[gracefulQueue].push(elem);
|
|
@@ -33610,7 +32741,6 @@ var require_write_file_atomic = /* @__PURE__ */ __commonJS({ "../../node_modules
|
|
|
33610
32741
|
//#region node_modules/@expo/json-file/build/JsonFileError.js
|
|
33611
32742
|
var require_JsonFileError = /* @__PURE__ */ __commonJS({ "node_modules/@expo/json-file/build/JsonFileError.js": ((exports) => {
|
|
33612
32743
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33613
|
-
exports.EmptyJsonFileError = void 0;
|
|
33614
32744
|
/**
|
|
33615
32745
|
* Note that instances of this class do NOT pass `instanceof JsonFileError`.
|
|
33616
32746
|
*/
|
|
@@ -33818,12 +32948,14 @@ var require_JsonFile = /* @__PURE__ */ __commonJS({ "node_modules/@expo/json-fil
|
|
|
33818
32948
|
} catch (e) {
|
|
33819
32949
|
throw new JsonFileError_1.default(`Couldn't JSON.stringify object for file: ${file}`, e);
|
|
33820
32950
|
}
|
|
33821
|
-
|
|
32951
|
+
const data = addNewLineAtEOF ? `${json}\n` : json;
|
|
32952
|
+
await writeFileAtomicAsync(file, data, {});
|
|
33822
32953
|
return object;
|
|
33823
32954
|
}
|
|
33824
32955
|
async function setAsync(file, key$3, value, options) {
|
|
32956
|
+
const object = await readAsync(file, options);
|
|
33825
32957
|
return writeAsync(file, {
|
|
33826
|
-
...
|
|
32958
|
+
...object,
|
|
33827
32959
|
[key$3]: value
|
|
33828
32960
|
}, options);
|
|
33829
32961
|
}
|
|
@@ -33850,7 +32982,8 @@ var require_JsonFile = /* @__PURE__ */ __commonJS({ "node_modules/@expo/json-fil
|
|
|
33850
32982
|
return object;
|
|
33851
32983
|
}
|
|
33852
32984
|
async function rewriteAsync(file, options) {
|
|
33853
|
-
|
|
32985
|
+
const object = await readAsync(file, options);
|
|
32986
|
+
return writeAsync(file, object, options);
|
|
33854
32987
|
}
|
|
33855
32988
|
function jsonParseErrorDefault(options = {}) {
|
|
33856
32989
|
if (options.jsonParseErrorDefault === void 0) return options.default;
|
|
@@ -33894,16 +33027,15 @@ var require_Locales = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
33894
33027
|
exports.getLocales = getLocales;
|
|
33895
33028
|
exports.getResolvedLocalesAsync = getResolvedLocalesAsync;
|
|
33896
33029
|
exports.setLocalesAsync = setLocalesAsync;
|
|
33897
|
-
exports.withLocales = void 0;
|
|
33898
33030
|
function _jsonFile$1() {
|
|
33899
|
-
const data = _interopRequireDefault$
|
|
33031
|
+
const data = _interopRequireDefault$11(require_JsonFile());
|
|
33900
33032
|
_jsonFile$1 = function() {
|
|
33901
33033
|
return data;
|
|
33902
33034
|
};
|
|
33903
33035
|
return data;
|
|
33904
33036
|
}
|
|
33905
33037
|
function _fs$6() {
|
|
33906
|
-
const data = _interopRequireDefault$
|
|
33038
|
+
const data = _interopRequireDefault$11(__require("fs"));
|
|
33907
33039
|
_fs$6 = function() {
|
|
33908
33040
|
return data;
|
|
33909
33041
|
};
|
|
@@ -33937,7 +33069,7 @@ var require_Locales = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
33937
33069
|
};
|
|
33938
33070
|
return data;
|
|
33939
33071
|
}
|
|
33940
|
-
function _interopRequireDefault$
|
|
33072
|
+
function _interopRequireDefault$11(obj) {
|
|
33941
33073
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
33942
33074
|
}
|
|
33943
33075
|
const withLocales = (config) => {
|
|
@@ -33994,113 +33126,12 @@ var require_Locales = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
33994
33126
|
//#region node_modules/@expo/config-plugins/build/utils/generateCode.js
|
|
33995
33127
|
var require_generateCode = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/generateCode.js": ((exports) => {
|
|
33996
33128
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
33997
|
-
exports.createGeneratedHeaderComment = createGeneratedHeaderComment;
|
|
33998
|
-
exports.createHash = createHash;
|
|
33999
|
-
exports.mergeContents = mergeContents;
|
|
34000
|
-
exports.removeContents = removeContents;
|
|
34001
|
-
exports.removeGeneratedContents = removeGeneratedContents;
|
|
34002
|
-
function _crypto() {
|
|
34003
|
-
const data = _interopRequireDefault$11(__require("crypto"));
|
|
34004
|
-
_crypto = function() {
|
|
34005
|
-
return data;
|
|
34006
|
-
};
|
|
34007
|
-
return data;
|
|
34008
|
-
}
|
|
34009
|
-
function _interopRequireDefault$11(obj) {
|
|
34010
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
34011
|
-
}
|
|
34012
|
-
/**
|
|
34013
|
-
* Get line indexes for the generated section of a file.
|
|
34014
|
-
*
|
|
34015
|
-
* @param src
|
|
34016
|
-
*/
|
|
34017
|
-
function getGeneratedSectionIndexes(src$1, tag) {
|
|
34018
|
-
const contents = src$1.split("\n");
|
|
34019
|
-
return {
|
|
34020
|
-
contents,
|
|
34021
|
-
start: contents.findIndex((line$1) => (/* @__PURE__ */ new RegExp(`@generated begin ${tag} -`)).test(line$1)),
|
|
34022
|
-
end: contents.findIndex((line$1) => (/* @__PURE__ */ new RegExp(`@generated end ${tag}$`)).test(line$1))
|
|
34023
|
-
};
|
|
34024
|
-
}
|
|
34025
|
-
/**
|
|
34026
|
-
* Merge the contents of two files together and add a generated header.
|
|
34027
|
-
*
|
|
34028
|
-
* @param src contents of the original file
|
|
34029
|
-
* @param newSrc new contents to merge into the original file
|
|
34030
|
-
* @param identifier used to update and remove merges
|
|
34031
|
-
* @param anchor regex to where the merge should begin
|
|
34032
|
-
* @param offset line offset to start merging at (<1 for behind the anchor)
|
|
34033
|
-
* @param comment comment style `//` or `#`
|
|
34034
|
-
*/
|
|
34035
|
-
function mergeContents({ src: src$1, newSrc, tag, anchor, offset, comment: comment$1 }) {
|
|
34036
|
-
const header = createGeneratedHeaderComment(newSrc, tag, comment$1);
|
|
34037
|
-
if (!src$1.includes(header)) {
|
|
34038
|
-
const sanitizedTarget = removeGeneratedContents(src$1, tag);
|
|
34039
|
-
return {
|
|
34040
|
-
contents: addLines(sanitizedTarget ?? src$1, anchor, offset, [
|
|
34041
|
-
header,
|
|
34042
|
-
...newSrc.split("\n"),
|
|
34043
|
-
`${comment$1} @generated end ${tag}`
|
|
34044
|
-
]),
|
|
34045
|
-
didMerge: true,
|
|
34046
|
-
didClear: !!sanitizedTarget
|
|
34047
|
-
};
|
|
34048
|
-
}
|
|
34049
|
-
return {
|
|
34050
|
-
contents: src$1,
|
|
34051
|
-
didClear: false,
|
|
34052
|
-
didMerge: false
|
|
34053
|
-
};
|
|
34054
|
-
}
|
|
34055
|
-
function removeContents({ src: src$1, tag }) {
|
|
34056
|
-
const sanitizedTarget = removeGeneratedContents(src$1, tag);
|
|
34057
|
-
return {
|
|
34058
|
-
contents: sanitizedTarget ?? src$1,
|
|
34059
|
-
didMerge: false,
|
|
34060
|
-
didClear: !!sanitizedTarget
|
|
34061
|
-
};
|
|
34062
|
-
}
|
|
34063
|
-
function addLines(content, find$2, offset, toAdd) {
|
|
34064
|
-
const lines = content.split("\n");
|
|
34065
|
-
let lineIndex = lines.findIndex((line$1) => line$1.match(find$2));
|
|
34066
|
-
if (lineIndex < 0) {
|
|
34067
|
-
const error = /* @__PURE__ */ new Error(`Failed to match "${find$2}" in contents:\n${content}`);
|
|
34068
|
-
error.code = "ERR_NO_MATCH";
|
|
34069
|
-
throw error;
|
|
34070
|
-
}
|
|
34071
|
-
for (const newLine of toAdd) {
|
|
34072
|
-
lines.splice(lineIndex + offset, 0, newLine);
|
|
34073
|
-
lineIndex++;
|
|
34074
|
-
}
|
|
34075
|
-
return lines.join("\n");
|
|
34076
|
-
}
|
|
34077
|
-
/**
|
|
34078
|
-
* Removes the generated section from a file, returns null when nothing can be removed.
|
|
34079
|
-
* This sways heavily towards not removing lines unless it's certain that modifications were not made manually.
|
|
34080
|
-
*
|
|
34081
|
-
* @param src
|
|
34082
|
-
*/
|
|
34083
|
-
function removeGeneratedContents(src$1, tag) {
|
|
34084
|
-
const { contents, start, end } = getGeneratedSectionIndexes(src$1, tag);
|
|
34085
|
-
if (start > -1 && end > -1 && start < end) {
|
|
34086
|
-
contents.splice(start, end - start + 1);
|
|
34087
|
-
return contents.join("\n");
|
|
34088
|
-
}
|
|
34089
|
-
return null;
|
|
34090
|
-
}
|
|
34091
|
-
function createGeneratedHeaderComment(contents, tag, comment$1) {
|
|
34092
|
-
return `${comment$1} @generated begin ${tag} - expo prebuild (DO NOT MODIFY) ${createHash(contents)}`;
|
|
34093
|
-
}
|
|
34094
|
-
function createHash(src$1) {
|
|
34095
|
-
return `sync-${_crypto().default.createHash("sha1").update(src$1).digest("hex")}`;
|
|
34096
|
-
}
|
|
34097
33129
|
}) });
|
|
34098
33130
|
|
|
34099
33131
|
//#endregion
|
|
34100
33132
|
//#region node_modules/@expo/config-plugins/build/ios/Maps.js
|
|
34101
33133
|
var require_Maps = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Maps.js": ((exports) => {
|
|
34102
33134
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34103
|
-
exports.MATCH_INIT = void 0;
|
|
34104
33135
|
exports.addGoogleMapsAppDelegateImport = addGoogleMapsAppDelegateImport;
|
|
34105
33136
|
exports.addGoogleMapsAppDelegateInit = addGoogleMapsAppDelegateInit;
|
|
34106
33137
|
exports.addMapsCocoaPods = addMapsCocoaPods;
|
|
@@ -34109,7 +33140,6 @@ var require_Maps = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugi
|
|
|
34109
33140
|
exports.removeGoogleMapsAppDelegateInit = removeGoogleMapsAppDelegateInit;
|
|
34110
33141
|
exports.removeMapsCocoaPods = removeMapsCocoaPods;
|
|
34111
33142
|
exports.setGoogleMapsApiKey = setGoogleMapsApiKey;
|
|
34112
|
-
exports.withMaps = void 0;
|
|
34113
33143
|
function _path$6() {
|
|
34114
33144
|
const data = _interopRequireDefault$10(__require("path"));
|
|
34115
33145
|
_path$6 = function() {
|
|
@@ -34272,7 +33302,6 @@ var require_Name = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugi
|
|
|
34272
33302
|
exports.setDisplayName = setDisplayName;
|
|
34273
33303
|
exports.setName = setName;
|
|
34274
33304
|
exports.setProductName = setProductName;
|
|
34275
|
-
exports.withProductName = exports.withName = exports.withDisplayName = void 0;
|
|
34276
33305
|
function _Target$2() {
|
|
34277
33306
|
const data = require_Target();
|
|
34278
33307
|
_Target$2 = function() {
|
|
@@ -34359,10 +33388,8 @@ var require_Name = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugi
|
|
|
34359
33388
|
//#region node_modules/@expo/config-plugins/build/ios/Orientation.js
|
|
34360
33389
|
var require_Orientation = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Orientation.js": ((exports) => {
|
|
34361
33390
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34362
|
-
exports.PORTRAIT_ORIENTATIONS = exports.LANDSCAPE_ORIENTATIONS = void 0;
|
|
34363
33391
|
exports.getOrientation = getOrientation;
|
|
34364
33392
|
exports.setOrientation = setOrientation;
|
|
34365
|
-
exports.withOrientation = void 0;
|
|
34366
33393
|
function _iosPlugins$8() {
|
|
34367
33394
|
const data = require_ios_plugins();
|
|
34368
33395
|
_iosPlugins$8 = function() {
|
|
@@ -34501,8 +33528,10 @@ var require_PrivacyInfo = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
|
|
|
34501
33528
|
const projectName = (0, _Xcodeproj$6().getProjectName)(projectRoot);
|
|
34502
33529
|
const privacyFilePath = _path$5().default.join(platformProjectRoot, projectName, "PrivacyInfo.xcprivacy");
|
|
34503
33530
|
const existingFileContent = getFileContents(privacyFilePath);
|
|
34504
|
-
const
|
|
34505
|
-
|
|
33531
|
+
const parsedContent = existingFileContent ? _plist$1().default.parse(existingFileContent) : {};
|
|
33532
|
+
const mergedContent = mergePrivacyInfo(parsedContent, privacyManifests);
|
|
33533
|
+
const contents = _plist$1().default.build(mergedContent);
|
|
33534
|
+
ensureFileExists(privacyFilePath, contents);
|
|
34506
33535
|
if (!projectConfig.modResults.hasFile(privacyFilePath)) projectConfig.modResults = (0, _Xcodeproj$6().addResourceFileToGroup)({
|
|
34507
33536
|
filepath: _path$5().default.join(projectName, "PrivacyInfo.xcprivacy"),
|
|
34508
33537
|
groupName: projectName,
|
|
@@ -34644,7 +33673,6 @@ var require_RequiresFullScreen = /* @__PURE__ */ __commonJS({ "node_modules/@exp
|
|
|
34644
33673
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34645
33674
|
exports.getRequiresFullScreen = getRequiresFullScreen;
|
|
34646
33675
|
exports.setRequiresFullScreen = setRequiresFullScreen;
|
|
34647
|
-
exports.withRequiresFullScreen = void 0;
|
|
34648
33676
|
function _iosPlugins$6() {
|
|
34649
33677
|
const data = require_ios_plugins();
|
|
34650
33678
|
_iosPlugins$6 = function() {
|
|
@@ -34722,7 +33750,6 @@ var require_RequiresFullScreen = /* @__PURE__ */ __commonJS({ "node_modules/@exp
|
|
|
34722
33750
|
var require_XcodeProjectFile = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js": ((exports) => {
|
|
34723
33751
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34724
33752
|
exports.createBuildSourceFile = createBuildSourceFile;
|
|
34725
|
-
exports.withBuildSourceFile = void 0;
|
|
34726
33753
|
function _fs$3() {
|
|
34727
33754
|
const data = _interopRequireDefault$5(__require("fs"));
|
|
34728
33755
|
_fs$3 = function() {
|
|
@@ -34806,7 +33833,6 @@ var require_Swift = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
|
|
|
34806
33833
|
exports.ensureSwiftBridgingHeaderSetup = ensureSwiftBridgingHeaderSetup;
|
|
34807
33834
|
exports.getDesignatedSwiftBridgingHeaderFileReference = getDesignatedSwiftBridgingHeaderFileReference;
|
|
34808
33835
|
exports.linkBridgingHeaderFile = linkBridgingHeaderFile;
|
|
34809
|
-
exports.withSwiftBridgingHeader = exports.withNoopSwiftFile = void 0;
|
|
34810
33836
|
function _fs$2() {
|
|
34811
33837
|
const data = _interopRequireDefault$4(__require("fs"));
|
|
34812
33838
|
_fs$2 = function() {
|
|
@@ -34952,10 +33978,8 @@ var require_Swift = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
|
|
|
34952
33978
|
//#region node_modules/@expo/config-plugins/build/ios/Updates.js
|
|
34953
33979
|
var require_Updates = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Updates.js": ((exports) => {
|
|
34954
33980
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
34955
|
-
exports.Config = void 0;
|
|
34956
33981
|
exports.setUpdatesConfigAsync = setUpdatesConfigAsync;
|
|
34957
33982
|
exports.setVersionsConfigAsync = setVersionsConfigAsync;
|
|
34958
|
-
exports.withUpdates = void 0;
|
|
34959
33983
|
function _iosPlugins$3() {
|
|
34960
33984
|
const data = require_ios_plugins();
|
|
34961
33985
|
_iosPlugins$3 = function() {
|
|
@@ -35046,7 +34070,6 @@ var require_UsesNonExemptEncryption = /* @__PURE__ */ __commonJS({ "node_modules
|
|
|
35046
34070
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35047
34071
|
exports.getUsesNonExemptEncryption = getUsesNonExemptEncryption;
|
|
35048
34072
|
exports.setUsesNonExemptEncryption = setUsesNonExemptEncryption;
|
|
35049
|
-
exports.withUsesNonExemptEncryption = void 0;
|
|
35050
34073
|
function _iosPlugins$2() {
|
|
35051
34074
|
const data = require_ios_plugins();
|
|
35052
34075
|
_iosPlugins$2 = function() {
|
|
@@ -35079,7 +34102,6 @@ var require_Version = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
|
|
|
35079
34102
|
exports.getVersion = getVersion;
|
|
35080
34103
|
exports.setBuildNumber = setBuildNumber;
|
|
35081
34104
|
exports.setVersion = setVersion;
|
|
35082
|
-
exports.withVersion = exports.withBuildNumber = void 0;
|
|
35083
34105
|
function _iosPlugins$1() {
|
|
35084
34106
|
const data = require_ios_plugins();
|
|
35085
34107
|
_iosPlugins$1 = function() {
|
|
@@ -35547,8 +34569,9 @@ var require_createBaseMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
|
|
|
35547
34569
|
return name.charAt(0).toUpperCase() + name.slice(1);
|
|
35548
34570
|
}
|
|
35549
34571
|
function createPlatformBaseMod({ modName,...props }) {
|
|
34572
|
+
const methodName = `with${upperFirst(props.platform)}${upperFirst(modName)}BaseMod`;
|
|
35550
34573
|
return createBaseMod({
|
|
35551
|
-
methodName
|
|
34574
|
+
methodName,
|
|
35552
34575
|
modName,
|
|
35553
34576
|
...props
|
|
35554
34577
|
});
|
|
@@ -35573,7 +34596,6 @@ var require_createBaseMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
|
|
|
35573
34596
|
//#region node_modules/@expo/config-plugins/build/utils/sortObject.js
|
|
35574
34597
|
var require_sortObject = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/sortObject.js": ((exports) => {
|
|
35575
34598
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35576
|
-
exports.reverseSortString = void 0;
|
|
35577
34599
|
exports.sortObjWithOrder = sortObjWithOrder;
|
|
35578
34600
|
exports.sortObject = sortObject;
|
|
35579
34601
|
exports.sortWithOrder = sortWithOrder;
|
|
@@ -36414,7 +35436,6 @@ var require_Plugin_types = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
|
|
|
36414
35436
|
var require_withRunOnce = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withRunOnce.js": ((exports) => {
|
|
36415
35437
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36416
35438
|
exports.createRunOncePlugin = createRunOncePlugin;
|
|
36417
|
-
exports.withRunOnce = void 0;
|
|
36418
35439
|
function _history() {
|
|
36419
35440
|
const data = require_history();
|
|
36420
35441
|
_history = function() {
|
|
@@ -36458,7 +35479,6 @@ var require_withRunOnce = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
|
|
|
36458
35479
|
//#region node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js
|
|
36459
35480
|
var require_withFinalizedMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js": ((exports) => {
|
|
36460
35481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36461
|
-
exports.withFinalizedMod = void 0;
|
|
36462
35482
|
function _withMod$1() {
|
|
36463
35483
|
const data = require_withMod();
|
|
36464
35484
|
_withMod$1 = function() {
|
|
@@ -36618,7 +35638,9 @@ var require_mod_compiler = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
|
|
|
36618
35638
|
seen.add(key$3);
|
|
36619
35639
|
return !duplicate;
|
|
36620
35640
|
}).sort(([keyA], [keyB]) => {
|
|
36621
|
-
|
|
35641
|
+
const precedenceA = precedences$1[keyA] || 0;
|
|
35642
|
+
const precedenceB = precedences$1[keyB] || 0;
|
|
35643
|
+
return precedenceA - precedenceB;
|
|
36622
35644
|
});
|
|
36623
35645
|
}
|
|
36624
35646
|
function getRawClone({ mods,...config }) {
|
|
@@ -37122,7 +36144,7 @@ var require_build = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
|
|
|
37122
36144
|
|
|
37123
36145
|
//#endregion
|
|
37124
36146
|
//#region src/plugin.ts
|
|
37125
|
-
var import_build = require_build();
|
|
36147
|
+
var import_build = /* @__PURE__ */ __toESM(require_build(), 1);
|
|
37126
36148
|
const DEFAULT_SKADNETWORK_IDS = [
|
|
37127
36149
|
"v9wttpbfk9.skadnetwork",
|
|
37128
36150
|
"n38lu8286q.skadnetwork",
|