@layers/react-native 0.1.0-alpha.0 → 0.2.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plugin.js CHANGED
@@ -1,29 +1,10 @@
1
1
  import { createRequire } from "node:module";
2
2
 
3
3
  //#region rolldown:runtime
4
- var __create = Object.create;
5
- var __defProp = Object.defineProperty;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
- var __getProtoOf = Object.getPrototypeOf;
9
- var __hasOwnProp = Object.prototype.hasOwnProperty;
10
5
  var __commonJS = (cb, mod) => function() {
11
6
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
7
  };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i$4 = 0, n = keys.length, key$3; i$4 < n; i$4++) {
15
- key$3 = keys[i$4];
16
- if (!__hasOwnProp.call(to, key$3) && key$3 !== except) __defProp(to, key$3, {
17
- get: ((k) => from[k]).bind(null, key$3),
18
- enumerable: !(desc = __getOwnPropDesc(from, key$3)) || desc.enumerable
19
- });
20
- }
21
- return to;
22
- };
23
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
24
- value: mod,
25
- enumerable: true
26
- }) : target, mod));
27
8
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
28
9
 
29
10
  //#endregion
@@ -4822,9 +4803,9 @@ var require_XML = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugin
4822
4803
  exports.readXMLAsync = readXMLAsync;
4823
4804
  exports.unescapeAndroidString = unescapeAndroidString;
4824
4805
  exports.writeXMLAsync = writeXMLAsync;
4825
- function _fs$18() {
4826
- const data = _interopRequireDefault$37(__require("fs"));
4827
- _fs$18 = function() {
4806
+ function _fs$19() {
4807
+ const data = _interopRequireDefault$40(__require("fs"));
4808
+ _fs$19 = function() {
4828
4809
  return data;
4829
4810
  };
4830
4811
  return data;
@@ -4836,9 +4817,9 @@ var require_XML = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugin
4836
4817
  };
4837
4818
  return data;
4838
4819
  }
4839
- function _path$16() {
4840
- const data = _interopRequireDefault$37(__require("path"));
4841
- _path$16 = function() {
4820
+ function _path$17() {
4821
+ const data = _interopRequireDefault$40(__require("path"));
4822
+ _path$17 = function() {
4842
4823
  return data;
4843
4824
  };
4844
4825
  return data;
@@ -4850,24 +4831,23 @@ var require_XML = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugin
4850
4831
  };
4851
4832
  return data;
4852
4833
  }
4853
- function _interopRequireDefault$37(obj) {
4834
+ function _interopRequireDefault$40(obj) {
4854
4835
  return obj && obj.__esModule ? obj : { default: obj };
4855
4836
  }
4856
4837
  async function writeXMLAsync(options) {
4857
4838
  const xml = format(options.xml);
4858
- await _fs$18().default.promises.mkdir(_path$16().default.dirname(options.path), { recursive: true });
4859
- await _fs$18().default.promises.writeFile(options.path, xml);
4839
+ await _fs$19().default.promises.mkdir(_path$17().default.dirname(options.path), { recursive: true });
4840
+ await _fs$19().default.promises.writeFile(options.path, xml);
4860
4841
  }
4861
4842
  async function readXMLAsync(options) {
4862
4843
  let contents = "";
4863
4844
  try {
4864
- contents = await _fs$18().default.promises.readFile(options.path, {
4845
+ contents = await _fs$19().default.promises.readFile(options.path, {
4865
4846
  encoding: "utf8",
4866
4847
  flag: "r"
4867
4848
  });
4868
4849
  } catch {}
4869
- const manifest = await new (_xml2js()).Parser().parseStringPromise(contents || options.fallback || "");
4870
- return _processAndroidXML(manifest);
4850
+ return _processAndroidXML(await new (_xml2js()).Parser().parseStringPromise(contents || options.fallback || ""));
4871
4851
  }
4872
4852
  function _processAndroidXML(manifest) {
4873
4853
  if (Array.isArray(manifest?.resources?.string)) for (const string of manifest?.resources?.string) {
@@ -4954,45 +4934,45 @@ var require_Manifest = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
4954
4934
  exports.removeMetaDataItemFromMainApplication = removeMetaDataItemFromMainApplication;
4955
4935
  exports.removeUsesLibraryItemFromMainApplication = removeUsesLibraryItemFromMainApplication;
4956
4936
  exports.writeAndroidManifestAsync = writeAndroidManifestAsync;
4957
- function _assert$8() {
4958
- const data = _interopRequireDefault$36(__require("assert"));
4959
- _assert$8 = function() {
4937
+ function _assert$9() {
4938
+ const data = _interopRequireDefault$39(__require("assert"));
4939
+ _assert$9 = function() {
4960
4940
  return data;
4961
4941
  };
4962
4942
  return data;
4963
4943
  }
4964
- function _fs$17() {
4965
- const data = _interopRequireDefault$36(__require("fs"));
4966
- _fs$17 = function() {
4944
+ function _fs$18() {
4945
+ const data = _interopRequireDefault$39(__require("fs"));
4946
+ _fs$18 = function() {
4967
4947
  return data;
4968
4948
  };
4969
4949
  return data;
4970
4950
  }
4971
- function _path$15() {
4972
- const data = _interopRequireDefault$36(__require("path"));
4973
- _path$15 = function() {
4951
+ function _path$16() {
4952
+ const data = _interopRequireDefault$39(__require("path"));
4953
+ _path$16 = function() {
4974
4954
  return data;
4975
4955
  };
4976
4956
  return data;
4977
4957
  }
4978
4958
  function XML$1() {
4979
- const data = _interopRequireWildcard$11(require_XML());
4959
+ const data = _interopRequireWildcard$12(require_XML());
4980
4960
  XML$1 = function() {
4981
4961
  return data;
4982
4962
  };
4983
4963
  return data;
4984
4964
  }
4985
- function _getRequireWildcardCache$11(e) {
4965
+ function _getRequireWildcardCache$12(e) {
4986
4966
  if ("function" != typeof WeakMap) return null;
4987
4967
  var r = /* @__PURE__ */ new WeakMap(), t$5 = /* @__PURE__ */ new WeakMap();
4988
- return (_getRequireWildcardCache$11 = function(e$1) {
4968
+ return (_getRequireWildcardCache$12 = function(e$1) {
4989
4969
  return e$1 ? t$5 : r;
4990
4970
  })(e);
4991
4971
  }
4992
- function _interopRequireWildcard$11(e, r) {
4972
+ function _interopRequireWildcard$12(e, r) {
4993
4973
  if (!r && e && e.__esModule) return e;
4994
4974
  if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
4995
- var t$5 = _getRequireWildcardCache$11(r);
4975
+ var t$5 = _getRequireWildcardCache$12(r);
4996
4976
  if (t$5 && t$5.has(e)) return t$5.get(e);
4997
4977
  var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
4998
4978
  for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
@@ -5001,13 +4981,13 @@ var require_Manifest = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
5001
4981
  }
5002
4982
  return n.default = e, t$5 && t$5.set(e, n), n;
5003
4983
  }
5004
- function _interopRequireDefault$36(obj) {
4984
+ function _interopRequireDefault$39(obj) {
5005
4985
  return obj && obj.__esModule ? obj : { default: obj };
5006
4986
  }
5007
4987
  async function writeAndroidManifestAsync(manifestPath, androidManifest) {
5008
4988
  const manifestXml = XML$1().format(androidManifest);
5009
- await _fs$17().default.promises.mkdir(_path$15().default.dirname(manifestPath), { recursive: true });
5010
- await _fs$17().default.promises.writeFile(manifestPath, manifestXml);
4989
+ await _fs$18().default.promises.mkdir(_path$16().default.dirname(manifestPath), { recursive: true });
4990
+ await _fs$18().default.promises.writeFile(manifestPath, manifestXml);
5011
4991
  }
5012
4992
  async function readAndroidManifestAsync(manifestPath) {
5013
4993
  const xml = await XML$1().readXMLAsync({ path: manifestPath });
@@ -5023,12 +5003,12 @@ var require_Manifest = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
5023
5003
  }
5024
5004
  function getMainApplicationOrThrow(androidManifest) {
5025
5005
  const mainApplication = getMainApplication(androidManifest);
5026
- (0, _assert$8().default)(mainApplication, "AndroidManifest.xml is missing the required MainApplication element");
5006
+ (0, _assert$9().default)(mainApplication, "AndroidManifest.xml is missing the required MainApplication element");
5027
5007
  return mainApplication;
5028
5008
  }
5029
5009
  function getMainActivityOrThrow(androidManifest) {
5030
5010
  const mainActivity = getMainActivity(androidManifest);
5031
- (0, _assert$8().default)(mainActivity, "AndroidManifest.xml is missing the required MainActivity element");
5011
+ (0, _assert$9().default)(mainActivity, "AndroidManifest.xml is missing the required MainActivity element");
5032
5012
  return mainActivity;
5033
5013
  }
5034
5014
  function getRunnableActivity(androidManifest) {
@@ -6091,13 +6071,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6091
6071
  x = x > .008856 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
6092
6072
  y$1 = y$1 > .008856 ? y$1 ** (1 / 3) : 7.787 * y$1 + 16 / 116;
6093
6073
  z = z > .008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
6094
- const l = 116 * y$1 - 16;
6095
- const a = 500 * (x - y$1);
6096
- const b = 200 * (y$1 - z);
6097
6074
  return [
6098
- l,
6099
- a,
6100
- b
6075
+ 116 * y$1 - 16,
6076
+ 500 * (x - y$1),
6077
+ 200 * (y$1 - z)
6101
6078
  ];
6102
6079
  };
6103
6080
  convert$4.hsl.rgb = function(hsl) {
@@ -6145,10 +6122,9 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6145
6122
  s$1 *= l <= 1 ? l : 2 - l;
6146
6123
  smin *= lmin <= 1 ? lmin : 2 - lmin;
6147
6124
  const v = (l + s$1) / 2;
6148
- const sv = l === 0 ? 2 * smin / (lmin + smin) : 2 * s$1 / (l + s$1);
6149
6125
  return [
6150
6126
  h$1,
6151
- sv * 100,
6127
+ (l === 0 ? 2 * smin / (lmin + smin) : 2 * s$1 / (l + s$1)) * 100,
6152
6128
  v * 100
6153
6129
  ];
6154
6130
  };
@@ -6318,13 +6294,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6318
6294
  x = x > .008856 ? x ** (1 / 3) : 7.787 * x + 16 / 116;
6319
6295
  y$1 = y$1 > .008856 ? y$1 ** (1 / 3) : 7.787 * y$1 + 16 / 116;
6320
6296
  z = z > .008856 ? z ** (1 / 3) : 7.787 * z + 16 / 116;
6321
- const l = 116 * y$1 - 16;
6322
- const a = 500 * (x - y$1);
6323
- const b = 200 * (y$1 - z);
6324
6297
  return [
6325
- l,
6326
- a,
6327
- b
6298
+ 116 * y$1 - 16,
6299
+ 500 * (x - y$1),
6300
+ 200 * (y$1 - z)
6328
6301
  ];
6329
6302
  };
6330
6303
  convert$4.lab.xyz = function(lab) {
@@ -6359,10 +6332,9 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6359
6332
  let h$1;
6360
6333
  h$1 = Math.atan2(b, a) * 360 / 2 / Math.PI;
6361
6334
  if (h$1 < 0) h$1 += 360;
6362
- const c$1 = Math.sqrt(a * a + b * b);
6363
6335
  return [
6364
6336
  l,
6365
- c$1,
6337
+ Math.sqrt(a * a + b * b),
6366
6338
  h$1
6367
6339
  ];
6368
6340
  };
@@ -6370,12 +6342,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6370
6342
  const l = lch[0];
6371
6343
  const c$1 = lch[1];
6372
6344
  const hr = lch[2] / 360 * 2 * Math.PI;
6373
- const a = c$1 * Math.cos(hr);
6374
- const b = c$1 * Math.sin(hr);
6375
6345
  return [
6376
6346
  l,
6377
- a,
6378
- b
6347
+ c$1 * Math.cos(hr),
6348
+ c$1 * Math.sin(hr)
6379
6349
  ];
6380
6350
  };
6381
6351
  convert$4.rgb.ansi16 = function(args, saturation = null) {
@@ -6413,13 +6383,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6413
6383
  ];
6414
6384
  }
6415
6385
  const mult = (~~(args > 50) + 1) * .5;
6416
- const r = (color & 1) * mult * 255;
6417
- const g = (color >> 1 & 1) * mult * 255;
6418
- const b = (color >> 2 & 1) * mult * 255;
6419
6386
  return [
6420
- r,
6421
- g,
6422
- b
6387
+ (color & 1) * mult * 255,
6388
+ (color >> 1 & 1) * mult * 255,
6389
+ (color >> 2 & 1) * mult * 255
6423
6390
  ];
6424
6391
  };
6425
6392
  convert$4.ansi256.rgb = function(args) {
@@ -6433,13 +6400,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6433
6400
  }
6434
6401
  args -= 16;
6435
6402
  let rem;
6436
- const r = Math.floor(args / 36) / 5 * 255;
6437
- const g = Math.floor((rem = args % 36) / 6) / 5 * 255;
6438
- const b = rem % 6 / 5 * 255;
6439
6403
  return [
6440
- r,
6441
- g,
6442
- b
6404
+ Math.floor(args / 36) / 5 * 255,
6405
+ Math.floor((rem = args % 36) / 6) / 5 * 255,
6406
+ rem % 6 / 5 * 255
6443
6407
  ];
6444
6408
  };
6445
6409
  convert$4.rgb.hex = function(args) {
@@ -6458,13 +6422,10 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6458
6422
  return char + char;
6459
6423
  }).join("");
6460
6424
  const integer = parseInt(colorString, 16);
6461
- const r = integer >> 16 & 255;
6462
- const g = integer >> 8 & 255;
6463
- const b = integer & 255;
6464
6425
  return [
6465
- r,
6466
- g,
6467
- b
6426
+ integer >> 16 & 255,
6427
+ integer >> 8 & 255,
6428
+ integer & 255
6468
6429
  ];
6469
6430
  };
6470
6431
  convert$4.rgb.hcg = function(rgb) {
@@ -6572,8 +6533,7 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6572
6533
  };
6573
6534
  convert$4.hcg.hsv = function(hcg) {
6574
6535
  const c$1 = hcg[1] / 100;
6575
- const g = hcg[2] / 100;
6576
- const v = c$1 + g * (1 - c$1);
6536
+ const v = c$1 + hcg[2] / 100 * (1 - c$1);
6577
6537
  let f$2 = 0;
6578
6538
  if (v > 0) f$2 = c$1 / v;
6579
6539
  return [
@@ -6596,8 +6556,7 @@ var require_conversions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/col
6596
6556
  };
6597
6557
  convert$4.hcg.hwb = function(hcg) {
6598
6558
  const c$1 = hcg[1] / 100;
6599
- const g = hcg[2] / 100;
6600
- const v = c$1 + g * (1 - c$1);
6559
+ const v = c$1 + hcg[2] / 100 * (1 - c$1);
6601
6560
  return [
6602
6561
  hcg[0],
6603
6562
  (v - c$1) * 100,
@@ -6692,10 +6651,10 @@ var require_route$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/color-con
6692
6651
  }
6693
6652
  function deriveBFS$1(fromModel) {
6694
6653
  const graph = buildGraph$1();
6695
- const queue$1 = [fromModel];
6654
+ const queue = [fromModel];
6696
6655
  graph[fromModel].distance = 0;
6697
- while (queue$1.length) {
6698
- const current = queue$1.pop();
6656
+ while (queue.length) {
6657
+ const current = queue.pop();
6699
6658
  const adjacents = Object.keys(conversions$3[current]);
6700
6659
  for (let len$1 = adjacents.length, i$4 = 0; i$4 < len$1; i$4++) {
6701
6660
  const adjacent = adjacents[i$4];
@@ -6703,7 +6662,7 @@ var require_route$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/color-con
6703
6662
  if (node.distance === -1) {
6704
6663
  node.distance = graph[current].distance + 1;
6705
6664
  node.parent = current;
6706
- queue$1.unshift(adjacent);
6665
+ queue.unshift(adjacent);
6707
6666
  }
6708
6667
  }
6709
6668
  }
@@ -6715,15 +6674,15 @@ var require_route$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/color-con
6715
6674
  };
6716
6675
  }
6717
6676
  function wrapConversion$1(toModel, graph) {
6718
- const path$10 = [graph[toModel].parent, toModel];
6677
+ const path$13 = [graph[toModel].parent, toModel];
6719
6678
  let fn = conversions$3[graph[toModel].parent][toModel];
6720
6679
  let cur = graph[toModel].parent;
6721
6680
  while (graph[cur].parent) {
6722
- path$10.unshift(graph[cur].parent);
6681
+ path$13.unshift(graph[cur].parent);
6723
6682
  fn = link$1(conversions$3[graph[cur].parent][cur], fn);
6724
6683
  cur = graph[cur].parent;
6725
6684
  }
6726
- fn.conversion = path$10;
6685
+ fn.conversion = path$13;
6727
6686
  return fn;
6728
6687
  }
6729
6688
  module.exports = function(fromModel) {
@@ -6802,10 +6761,10 @@ var require_ansi_styles$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/cha
6802
6761
  g,
6803
6762
  b
6804
6763
  ];
6805
- const setLazyProperty = (object, property, get) => {
6764
+ const setLazyProperty = (object, property, get$1) => {
6806
6765
  Object.defineProperty(object, property, {
6807
6766
  get: () => {
6808
- const value = get();
6767
+ const value = get$1();
6809
6768
  Object.defineProperty(object, property, {
6810
6769
  value,
6811
6770
  enumerable: true,
@@ -6989,8 +6948,7 @@ var require_supports_color$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/
6989
6948
  return min;
6990
6949
  }
6991
6950
  function getSupportLevel$1(stream) {
6992
- const level = supportsColor$1(stream, stream && stream.isTTY);
6993
- return translateLevel$1(level);
6951
+ return translateLevel$1(supportsColor$1(stream, stream && stream.isTTY));
6994
6952
  }
6995
6953
  module.exports = {
6996
6954
  supportsColor: getSupportLevel$1,
@@ -7372,6 +7330,7 @@ var require_getenv = /* @__PURE__ */ __commonJS({ "node_modules/getenv/index.js"
7372
7330
  //#region node_modules/@expo/config-plugins/build/utils/errors.js
7373
7331
  var require_errors = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/errors.js": ((exports) => {
7374
7332
  Object.defineProperty(exports, "__esModule", { value: true });
7333
+ exports.UnexpectedError = exports.PluginError = void 0;
7375
7334
  var UnexpectedError = class extends Error {
7376
7335
  name = "UnexpectedError";
7377
7336
  constructor(message) {
@@ -7401,7 +7360,7 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
7401
7360
  exports.withBaseMod = withBaseMod;
7402
7361
  exports.withMod = withMod;
7403
7362
  function _chalk$1() {
7404
- const data = _interopRequireDefault$35(require_source());
7363
+ const data = _interopRequireDefault$38(require_source());
7405
7364
  _chalk$1 = function() {
7406
7365
  return data;
7407
7366
  };
@@ -7414,14 +7373,14 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
7414
7373
  };
7415
7374
  return data;
7416
7375
  }
7417
- function _errors$5() {
7376
+ function _errors$6() {
7418
7377
  const data = require_errors();
7419
- _errors$5 = function() {
7378
+ _errors$6 = function() {
7420
7379
  return data;
7421
7380
  };
7422
7381
  return data;
7423
7382
  }
7424
- function _interopRequireDefault$35(obj) {
7383
+ function _interopRequireDefault$38(obj) {
7425
7384
  return obj && obj.__esModule ? obj : { default: obj };
7426
7385
  }
7427
7386
  const EXPO_DEBUG$1 = (0, _getenv$2().boolish)("EXPO_DEBUG", false);
@@ -7455,8 +7414,8 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
7455
7414
  debugTrace = getDebugPluginStackFromStackTrace(stack$1);
7456
7415
  debugTrace = `${_chalk$1().default.bold(`${platform$1}.${mod}`)}: ${debugTrace}`;
7457
7416
  }
7458
- 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");
7459
- 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");
7417
+ if (interceptedMod.isProvider) if (isProvider) throw new (_errors$6()).PluginError(`Cannot set provider mod for "${platform$1}.${mod}" because another is already being used.`, "CONFLICTING_PROVIDER");
7418
+ else throw new (_errors$6()).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");
7460
7419
  async function interceptingMod({ modRequest,...config$1 }) {
7461
7420
  if (isDebug) console.log(debugTrace);
7462
7421
  const results = await action({
@@ -7523,12 +7482,11 @@ var require_withMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
7523
7482
  mod,
7524
7483
  isProvider: false,
7525
7484
  async action({ modRequest: { nextMod,...modRequest }, modResults,...config$1 }) {
7526
- const results = await action({
7485
+ return nextMod(await action({
7527
7486
  modRequest,
7528
7487
  modResults,
7529
7488
  ...config$1
7530
- });
7531
- return nextMod(results);
7489
+ }));
7532
7490
  }
7533
7491
  });
7534
7492
  }
@@ -7540,6 +7498,7 @@ var require_android_plugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/c
7540
7498
  Object.defineProperty(exports, "__esModule", { value: true });
7541
7499
  exports.createAndroidManifestPlugin = createAndroidManifestPlugin;
7542
7500
  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;
7543
7502
  function _withMod$5() {
7544
7503
  const data = require_withMod();
7545
7504
  _withMod$5 = function() {
@@ -7731,6 +7690,7 @@ var require_AllowBackup = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
7731
7690
  exports.getAllowBackup = getAllowBackup;
7732
7691
  exports.getAllowBackupFromManifest = getAllowBackupFromManifest;
7733
7692
  exports.setAllowBackup = setAllowBackup;
7693
+ exports.withAllowBackup = void 0;
7734
7694
  function _Manifest$7() {
7735
7695
  const data = require_Manifest();
7736
7696
  _Manifest$7 = function() {
@@ -7769,6 +7729,7 @@ var require_BuildProperties$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo
7769
7729
  exports.createBuildGradlePropsConfigPlugin = createBuildGradlePropsConfigPlugin;
7770
7730
  exports.updateAndroidBuildPropertiesFromConfig = updateAndroidBuildPropertiesFromConfig;
7771
7731
  exports.updateAndroidBuildProperty = updateAndroidBuildProperty;
7732
+ exports.withJsEngineGradleProps = void 0;
7772
7733
  function _androidPlugins$14() {
7773
7734
  const data = require_android_plugins();
7774
7735
  _androidPlugins$14 = function() {
@@ -7850,9 +7811,168 @@ var require_BuildProperties$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo
7850
7811
  var require_old = /* @__PURE__ */ __commonJS({ "../../node_modules/fs.realpath/old.js": ((exports) => {
7851
7812
  var pathModule = __require("path");
7852
7813
  var isWindows = process.platform === "win32";
7853
- var fs$7 = __require("fs");
7814
+ var fs$9 = __require("fs");
7854
7815
  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
+ }
7855
7844
  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
+ };
7856
7976
  }) });
7857
7977
 
7858
7978
  //#endregion
@@ -7864,9 +7984,9 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/fs.realpath/
7864
7984
  realpath.realpathSync = realpathSync;
7865
7985
  realpath.monkeypatch = monkeypatch;
7866
7986
  realpath.unmonkeypatch = unmonkeypatch;
7867
- var fs$6 = __require("fs");
7868
- var origRealpath = fs$6.realpath;
7869
- var origRealpathSync = fs$6.realpathSync;
7987
+ var fs$8 = __require("fs");
7988
+ var origRealpath = fs$8.realpath;
7989
+ var origRealpathSync = fs$8.realpathSync;
7870
7990
  var version = process.version;
7871
7991
  var ok = /^v[0-5]\./.test(version);
7872
7992
  var old = require_old();
@@ -7894,12 +8014,12 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/fs.realpath/
7894
8014
  }
7895
8015
  }
7896
8016
  function monkeypatch() {
7897
- fs$6.realpath = realpath;
7898
- fs$6.realpathSync = realpathSync;
8017
+ fs$8.realpath = realpath;
8018
+ fs$8.realpathSync = realpathSync;
7899
8019
  }
7900
8020
  function unmonkeypatch() {
7901
- fs$6.realpath = origRealpath;
7902
- fs$6.realpathSync = origRealpathSync;
8021
+ fs$8.realpath = origRealpath;
8022
+ fs$8.realpathSync = origRealpathSync;
7903
8023
  }
7904
8024
  }) });
7905
8025
 
@@ -8104,12 +8224,12 @@ var require_brace_expansion = /* @__PURE__ */ __commonJS({ "../../node_modules/m
8104
8224
  var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimatch/minimatch.js": ((exports, module) => {
8105
8225
  module.exports = minimatch$3;
8106
8226
  minimatch$3.Minimatch = Minimatch$1;
8107
- var path$9 = function() {
8227
+ var path$12 = function() {
8108
8228
  try {
8109
8229
  return __require("path");
8110
8230
  } catch (e) {}
8111
8231
  }() || { sep: "/" };
8112
- minimatch$3.sep = path$9.sep;
8232
+ minimatch$3.sep = path$12.sep;
8113
8233
  var GLOBSTAR = minimatch$3.GLOBSTAR = Minimatch$1.GLOBSTAR = {};
8114
8234
  var expand = require_brace_expansion();
8115
8235
  var plTypes = {
@@ -8207,7 +8327,7 @@ var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimat
8207
8327
  assertValidPattern(pattern);
8208
8328
  if (!options) options = {};
8209
8329
  pattern = pattern.trim();
8210
- if (!options.allowWindowsEscape && path$9.sep !== "/") pattern = pattern.split(path$9.sep).join("/");
8330
+ if (!options.allowWindowsEscape && path$12.sep !== "/") pattern = pattern.split(path$12.sep).join("/");
8211
8331
  this.options = options;
8212
8332
  this.set = [];
8213
8333
  this.pattern = pattern;
@@ -8282,9 +8402,9 @@ var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimat
8282
8402
  if (typeof pattern !== "string") throw new TypeError("invalid pattern");
8283
8403
  if (pattern.length > MAX_PATTERN_LENGTH) throw new TypeError("pattern is too long");
8284
8404
  };
8285
- Minimatch$1.prototype.parse = parse$11;
8405
+ Minimatch$1.prototype.parse = parse$10;
8286
8406
  var SUBPARSE = {};
8287
- function parse$11(pattern, isSub) {
8407
+ function parse$10(pattern, isSub) {
8288
8408
  assertValidPattern(pattern);
8289
8409
  var options = this.options;
8290
8410
  if (pattern === "**") if (!options.noglobstar) return GLOBSTAR;
@@ -8528,7 +8648,7 @@ var require_minimatch = /* @__PURE__ */ __commonJS({ "../../node_modules/minimat
8528
8648
  if (this.empty) return f$2 === "";
8529
8649
  if (f$2 === "/" && partial) return true;
8530
8650
  var options = this.options;
8531
- if (path$9.sep !== "/") f$2 = f$2.split(path$9.sep).join("/");
8651
+ if (path$12.sep !== "/") f$2 = f$2.split(path$12.sep).join("/");
8532
8652
  f$2 = f$2.split(slashSplit);
8533
8653
  this.debug(this.pattern, "split", f$2);
8534
8654
  var set = this.set;
@@ -8667,11 +8787,11 @@ var require_inherits = /* @__PURE__ */ __commonJS({ "../../node_modules/inherits
8667
8787
  //#endregion
8668
8788
  //#region ../../node_modules/path-is-absolute/index.js
8669
8789
  var require_path_is_absolute = /* @__PURE__ */ __commonJS({ "../../node_modules/path-is-absolute/index.js": ((exports, module) => {
8670
- function posix(path$10) {
8671
- return path$10.charAt(0) === "/";
8790
+ function posix(path$13) {
8791
+ return path$13.charAt(0) === "/";
8672
8792
  }
8673
- function win32(path$10) {
8674
- var result = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(path$10);
8793
+ function win32(path$13) {
8794
+ var result = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(path$13);
8675
8795
  var device = result[1] || "";
8676
8796
  var isUnc = Boolean(device && device.charAt(1) !== ":");
8677
8797
  return Boolean(result[2] || isUnc);
@@ -8684,10 +8804,161 @@ var require_path_is_absolute = /* @__PURE__ */ __commonJS({ "../../node_modules/
8684
8804
  //#endregion
8685
8805
  //#region node_modules/glob/common.js
8686
8806
  var require_common$1 = /* @__PURE__ */ __commonJS({ "node_modules/glob/common.js": ((exports) => {
8687
- var path$8 = __require("path");
8807
+ exports.alphasort = alphasort;
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");
8688
8820
  var minimatch$2 = require_minimatch();
8689
8821
  var isAbsolute$2 = require_path_is_absolute();
8690
8822
  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
+ }
8691
8962
  }) });
8692
8963
 
8693
8964
  //#endregion
@@ -8695,13 +8966,13 @@ var require_common$1 = /* @__PURE__ */ __commonJS({ "node_modules/glob/common.js
8695
8966
  var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((exports, module) => {
8696
8967
  module.exports = globSync$1;
8697
8968
  globSync$1.GlobSync = GlobSync$1;
8698
- var fs$5 = __require("fs");
8969
+ var fs$7 = __require("fs");
8699
8970
  var rp$1 = require_fs$1();
8700
8971
  var minimatch$1 = require_minimatch();
8701
8972
  minimatch$1.Minimatch;
8702
8973
  require_glob().Glob;
8703
8974
  __require("util");
8704
- var path$7 = __require("path");
8975
+ var path$10 = __require("path");
8705
8976
  var assert$2 = __require("assert");
8706
8977
  var isAbsolute$1 = require_path_is_absolute();
8707
8978
  var common$1 = require_common$1();
@@ -8797,7 +9068,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
8797
9068
  var e = matchedEntries[i$4];
8798
9069
  if (prefix) if (prefix.slice(-1) !== "/") e = prefix + "/" + e;
8799
9070
  else e = prefix + e;
8800
- if (e.charAt(0) === "/" && !this.nomount) e = path$7.join(this.root, e);
9071
+ if (e.charAt(0) === "/" && !this.nomount) e = path$10.join(this.root, e);
8801
9072
  this._emitMatch(index, e);
8802
9073
  }
8803
9074
  return;
@@ -8829,7 +9100,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
8829
9100
  var entries;
8830
9101
  var lstat;
8831
9102
  try {
8832
- lstat = fs$5.lstatSync(abs);
9103
+ lstat = fs$7.lstatSync(abs);
8833
9104
  } catch (er) {
8834
9105
  if (er.code === "ENOENT") return null;
8835
9106
  }
@@ -8847,7 +9118,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
8847
9118
  if (Array.isArray(c$1)) return c$1;
8848
9119
  }
8849
9120
  try {
8850
- return this._readdirEntries(abs, fs$5.readdirSync(abs));
9121
+ return this._readdirEntries(abs, fs$7.readdirSync(abs));
8851
9122
  } catch (er) {
8852
9123
  this._readdirError(abs, er);
8853
9124
  return null;
@@ -8912,9 +9183,9 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
8912
9183
  if (!exists) return;
8913
9184
  if (prefix && isAbsolute$1(prefix) && !this.nomount) {
8914
9185
  var trail = /[\/\\]$/.test(prefix);
8915
- if (prefix.charAt(0) === "/") prefix = path$7.join(this.root, prefix);
9186
+ if (prefix.charAt(0) === "/") prefix = path$10.join(this.root, prefix);
8916
9187
  else {
8917
- prefix = path$7.resolve(this.root, prefix);
9188
+ prefix = path$10.resolve(this.root, prefix);
8918
9189
  if (trail) prefix += "/";
8919
9190
  }
8920
9191
  }
@@ -8935,7 +9206,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
8935
9206
  if (!stat) {
8936
9207
  var lstat;
8937
9208
  try {
8938
- lstat = fs$5.lstatSync(abs);
9209
+ lstat = fs$7.lstatSync(abs);
8939
9210
  } catch (er) {
8940
9211
  if (er && (er.code === "ENOENT" || er.code === "ENOTDIR")) {
8941
9212
  this.statCache[abs] = false;
@@ -8943,7 +9214,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "node_modules/glob/sync.js": ((e
8943
9214
  }
8944
9215
  }
8945
9216
  if (lstat && lstat.isSymbolicLink()) try {
8946
- stat = fs$5.statSync(abs);
9217
+ stat = fs$7.statSync(abs);
8947
9218
  } catch (er) {
8948
9219
  stat = lstat;
8949
9220
  }
@@ -9074,13 +9345,13 @@ var require_inflight = /* @__PURE__ */ __commonJS({ "../../node_modules/inflight
9074
9345
  //#region node_modules/glob/glob.js
9075
9346
  var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((exports, module) => {
9076
9347
  module.exports = glob;
9077
- var fs$4 = __require("fs");
9348
+ var fs$6 = __require("fs");
9078
9349
  var rp = require_fs$1();
9079
9350
  var minimatch = require_minimatch();
9080
9351
  minimatch.Minimatch;
9081
9352
  var inherits = require_inherits();
9082
9353
  var EE$1 = __require("events").EventEmitter;
9083
- var path$6 = __require("path");
9354
+ var path$9 = __require("path");
9084
9355
  var assert$1 = __require("assert");
9085
9356
  var isAbsolute = require_path_is_absolute();
9086
9357
  var globSync = require_sync();
@@ -9311,7 +9582,7 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
9311
9582
  var e = matchedEntries[i$4];
9312
9583
  if (prefix) if (prefix !== "/") e = prefix + "/" + e;
9313
9584
  else e = prefix + e;
9314
- if (e.charAt(0) === "/" && !this.nomount) e = path$6.join(this.root, e);
9585
+ if (e.charAt(0) === "/" && !this.nomount) e = path$9.join(this.root, e);
9315
9586
  this._emitMatch(index, e);
9316
9587
  }
9317
9588
  return cb();
@@ -9351,7 +9622,7 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
9351
9622
  var lstatkey = "lstat\0" + abs;
9352
9623
  var self = this;
9353
9624
  var lstatcb = inflight(lstatkey, lstatcb_);
9354
- if (lstatcb) fs$4.lstat(abs, lstatcb);
9625
+ if (lstatcb) fs$6.lstat(abs, lstatcb);
9355
9626
  function lstatcb_(er, lstat) {
9356
9627
  if (er && er.code === "ENOENT") return cb();
9357
9628
  var isSym = lstat && lstat.isSymbolicLink();
@@ -9372,7 +9643,7 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
9372
9643
  if (!c$1 || c$1 === "FILE") return cb();
9373
9644
  if (Array.isArray(c$1)) return cb(null, c$1);
9374
9645
  }
9375
- fs$4.readdir(abs, readdirCb(this, abs, cb));
9646
+ fs$6.readdir(abs, readdirCb(this, abs, cb));
9376
9647
  };
9377
9648
  function readdirCb(self, abs, cb) {
9378
9649
  return function(er, entries) {
@@ -9458,9 +9729,9 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
9458
9729
  if (!exists) return cb();
9459
9730
  if (prefix && isAbsolute(prefix) && !this.nomount) {
9460
9731
  var trail = /[\/\\]$/.test(prefix);
9461
- if (prefix.charAt(0) === "/") prefix = path$6.join(this.root, prefix);
9732
+ if (prefix.charAt(0) === "/") prefix = path$9.join(this.root, prefix);
9462
9733
  else {
9463
- prefix = path$6.resolve(this.root, prefix);
9734
+ prefix = path$9.resolve(this.root, prefix);
9464
9735
  if (trail) prefix += "/";
9465
9736
  }
9466
9737
  }
@@ -9487,9 +9758,9 @@ var require_glob = /* @__PURE__ */ __commonJS({ "node_modules/glob/glob.js": ((e
9487
9758
  }
9488
9759
  var self = this;
9489
9760
  var statcb = inflight("stat\0" + abs, lstatcb_);
9490
- if (statcb) fs$4.lstat(abs, statcb);
9761
+ if (statcb) fs$6.lstat(abs, statcb);
9491
9762
  function lstatcb_(er, lstat) {
9492
- if (lstat && lstat.isSymbolicLink()) return fs$4.stat(abs, function(er$1, stat$1) {
9763
+ if (lstat && lstat.isSymbolicLink()) return fs$6.stat(abs, function(er$1, stat$1) {
9493
9764
  if (er$1) self._stat2(f$2, abs, null, lstat, cb);
9494
9765
  else self._stat2(f$2, abs, er$1, stat$1, cb);
9495
9766
  });
@@ -9519,14 +9790,14 @@ var require_modules = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
9519
9790
  exports.directoryExistsAsync = directoryExistsAsync;
9520
9791
  exports.fileExists = fileExists;
9521
9792
  exports.fileExistsAsync = fileExistsAsync;
9522
- function _fs$16() {
9523
- const data = _interopRequireDefault$34(__require("fs"));
9524
- _fs$16 = function() {
9793
+ function _fs$17() {
9794
+ const data = _interopRequireDefault$37(__require("fs"));
9795
+ _fs$17 = function() {
9525
9796
  return data;
9526
9797
  };
9527
9798
  return data;
9528
9799
  }
9529
- function _interopRequireDefault$34(obj) {
9800
+ function _interopRequireDefault$37(obj) {
9530
9801
  return obj && obj.__esModule ? obj : { default: obj };
9531
9802
  }
9532
9803
  /**
@@ -9536,7 +9807,7 @@ var require_modules = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
9536
9807
  */
9537
9808
  async function statAsync(file) {
9538
9809
  try {
9539
- return await _fs$16().default.promises.stat(file);
9810
+ return await _fs$17().default.promises.stat(file);
9540
9811
  } catch {
9541
9812
  return null;
9542
9813
  }
@@ -9549,7 +9820,7 @@ var require_modules = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
9549
9820
  }
9550
9821
  function fileExists(file) {
9551
9822
  try {
9552
- return _fs$16().default.statSync(file).isFile();
9823
+ return _fs$17().default.statSync(file).isFile();
9553
9824
  } catch {
9554
9825
  return false;
9555
9826
  }
@@ -9575,16 +9846,16 @@ var require_Paths$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
9575
9846
  exports.getResourceXMLPathAsync = getResourceXMLPathAsync;
9576
9847
  exports.getSettingsGradleAsync = getSettingsGradleAsync;
9577
9848
  exports.getSettingsGradleFilePath = getSettingsGradleFilePath;
9578
- function _assert$7() {
9579
- const data = _interopRequireDefault$33(__require("assert"));
9580
- _assert$7 = function() {
9849
+ function _assert$8() {
9850
+ const data = _interopRequireDefault$36(__require("assert"));
9851
+ _assert$8 = function() {
9581
9852
  return data;
9582
9853
  };
9583
9854
  return data;
9584
9855
  }
9585
- function _fs$15() {
9586
- const data = _interopRequireDefault$33(__require("fs"));
9587
- _fs$15 = function() {
9856
+ function _fs$16() {
9857
+ const data = _interopRequireDefault$36(__require("fs"));
9858
+ _fs$16 = function() {
9588
9859
  return data;
9589
9860
  };
9590
9861
  return data;
@@ -9596,38 +9867,38 @@ var require_Paths$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
9596
9867
  };
9597
9868
  return data;
9598
9869
  }
9599
- function path$5() {
9600
- const data = _interopRequireWildcard$10(__require("path"));
9601
- path$5 = function() {
9870
+ function path$8() {
9871
+ const data = _interopRequireWildcard$11(__require("path"));
9872
+ path$8 = function() {
9602
9873
  return data;
9603
9874
  };
9604
9875
  return data;
9605
9876
  }
9606
- function _errors$4() {
9877
+ function _errors$5() {
9607
9878
  const data = require_errors();
9608
- _errors$4 = function() {
9879
+ _errors$5 = function() {
9609
9880
  return data;
9610
9881
  };
9611
9882
  return data;
9612
9883
  }
9613
- function _modules$2() {
9884
+ function _modules$3() {
9614
9885
  const data = require_modules();
9615
- _modules$2 = function() {
9886
+ _modules$3 = function() {
9616
9887
  return data;
9617
9888
  };
9618
9889
  return data;
9619
9890
  }
9620
- function _getRequireWildcardCache$10(e) {
9891
+ function _getRequireWildcardCache$11(e) {
9621
9892
  if ("function" != typeof WeakMap) return null;
9622
9893
  var r = /* @__PURE__ */ new WeakMap(), t$5 = /* @__PURE__ */ new WeakMap();
9623
- return (_getRequireWildcardCache$10 = function(e$1) {
9894
+ return (_getRequireWildcardCache$11 = function(e$1) {
9624
9895
  return e$1 ? t$5 : r;
9625
9896
  })(e);
9626
9897
  }
9627
- function _interopRequireWildcard$10(e, r) {
9898
+ function _interopRequireWildcard$11(e, r) {
9628
9899
  if (!r && e && e.__esModule) return e;
9629
9900
  if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
9630
- var t$5 = _getRequireWildcardCache$10(r);
9901
+ var t$5 = _getRequireWildcardCache$11(r);
9631
9902
  if (t$5 && t$5.has(e)) return t$5.get(e);
9632
9903
  var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
9633
9904
  for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
@@ -9636,82 +9907,80 @@ var require_Paths$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
9636
9907
  }
9637
9908
  return n.default = e, t$5 && t$5.set(e, n), n;
9638
9909
  }
9639
- function _interopRequireDefault$33(obj) {
9910
+ function _interopRequireDefault$36(obj) {
9640
9911
  return obj && obj.__esModule ? obj : { default: obj };
9641
9912
  }
9642
9913
  function getProjectFilePath(projectRoot, name) {
9643
- const filePath = (0, _glob$2().sync)(path$5().join(projectRoot, `android/app/src/main/java/**/${name}.@(java|kt)`))[0];
9644
- (0, _assert$7().default)(filePath, `Project file "${name}" does not exist in android project for root "${projectRoot}"`);
9914
+ const filePath = (0, _glob$2().sync)(path$8().join(projectRoot, `android/app/src/main/java/**/${name}.@(java|kt)`))[0];
9915
+ (0, _assert$8().default)(filePath, `Project file "${name}" does not exist in android project for root "${projectRoot}"`);
9645
9916
  return filePath;
9646
9917
  }
9647
9918
  function getLanguage$1(filePath) {
9648
- const extension = path$5().extname(filePath);
9919
+ const extension = path$8().extname(filePath);
9649
9920
  switch (extension) {
9650
9921
  case ".java": return "java";
9651
9922
  case ".kts":
9652
9923
  case ".kt": return "kt";
9653
9924
  case ".groovy":
9654
9925
  case ".gradle": return "groovy";
9655
- default: throw new (_errors$4()).UnexpectedError(`Unexpected Android file extension: ${extension}`);
9926
+ default: throw new (_errors$5()).UnexpectedError(`Unexpected Android file extension: ${extension}`);
9656
9927
  }
9657
9928
  }
9658
9929
  function getFileInfo$1(filePath) {
9659
9930
  return {
9660
- path: path$5().normalize(filePath),
9661
- contents: _fs$15().default.readFileSync(filePath, "utf8"),
9931
+ path: path$8().normalize(filePath),
9932
+ contents: _fs$16().default.readFileSync(filePath, "utf8"),
9662
9933
  language: getLanguage$1(filePath)
9663
9934
  };
9664
9935
  }
9665
9936
  async function getMainApplicationAsync(projectRoot) {
9666
- const filePath = getProjectFilePath(projectRoot, "MainApplication");
9667
- return getFileInfo$1(filePath);
9937
+ return getFileInfo$1(getProjectFilePath(projectRoot, "MainApplication"));
9668
9938
  }
9669
9939
  async function getMainActivityAsync(projectRoot) {
9670
- const filePath = getProjectFilePath(projectRoot, "MainActivity");
9671
- return getFileInfo$1(filePath);
9940
+ return getFileInfo$1(getProjectFilePath(projectRoot, "MainActivity"));
9672
9941
  }
9673
9942
  function getGradleFilePath(projectRoot, gradleName) {
9674
- const groovyPath = path$5().resolve(projectRoot, `${gradleName}.gradle`);
9675
- const ktPath = path$5().resolve(projectRoot, `${gradleName}.gradle.kts`);
9676
- const isGroovy = _fs$15().default.existsSync(groovyPath);
9677
- const isKotlin = !isGroovy && _fs$15().default.existsSync(ktPath);
9943
+ const groovyPath = path$8().resolve(projectRoot, `${gradleName}.gradle`);
9944
+ const ktPath = path$8().resolve(projectRoot, `${gradleName}.gradle.kts`);
9945
+ const isGroovy = _fs$16().default.existsSync(groovyPath);
9946
+ const isKotlin = !isGroovy && _fs$16().default.existsSync(ktPath);
9678
9947
  if (!isGroovy && !isKotlin) throw new Error(`Failed to find '${gradleName}.gradle' file for project: ${projectRoot}.`);
9679
9948
  return isGroovy ? groovyPath : ktPath;
9680
9949
  }
9681
9950
  function getProjectBuildGradleFilePath(projectRoot) {
9682
- return getGradleFilePath(path$5().join(projectRoot, "android"), "build");
9951
+ return getGradleFilePath(path$8().join(projectRoot, "android"), "build");
9683
9952
  }
9684
9953
  async function getProjectBuildGradleAsync(projectRoot) {
9685
9954
  return getFileInfo$1(getProjectBuildGradleFilePath(projectRoot));
9686
9955
  }
9687
9956
  function getSettingsGradleFilePath(projectRoot) {
9688
- return getGradleFilePath(path$5().join(projectRoot, "android"), "settings");
9957
+ return getGradleFilePath(path$8().join(projectRoot, "android"), "settings");
9689
9958
  }
9690
9959
  async function getSettingsGradleAsync(projectRoot) {
9691
9960
  return getFileInfo$1(getSettingsGradleFilePath(projectRoot));
9692
9961
  }
9693
9962
  function getAppBuildGradleFilePath(projectRoot) {
9694
- return getGradleFilePath(path$5().join(projectRoot, "android", "app"), "build");
9963
+ return getGradleFilePath(path$8().join(projectRoot, "android", "app"), "build");
9695
9964
  }
9696
9965
  async function getAppBuildGradleAsync(projectRoot) {
9697
9966
  return getFileInfo$1(getAppBuildGradleFilePath(projectRoot));
9698
9967
  }
9699
9968
  async function getProjectPathOrThrowAsync(projectRoot) {
9700
- const projectPath = path$5().join(projectRoot, "android");
9701
- if (await (0, _modules$2().directoryExistsAsync)(projectPath)) return projectPath;
9969
+ const projectPath = path$8().join(projectRoot, "android");
9970
+ if (await (0, _modules$3().directoryExistsAsync)(projectPath)) return projectPath;
9702
9971
  throw new Error(`Android project folder is missing in project: ${projectRoot}`);
9703
9972
  }
9704
9973
  async function getAndroidManifestAsync(projectRoot) {
9705
9974
  const projectPath = await getProjectPathOrThrowAsync(projectRoot);
9706
- return path$5().join(projectPath, "app/src/main/AndroidManifest.xml");
9975
+ return path$8().join(projectPath, "app/src/main/AndroidManifest.xml");
9707
9976
  }
9708
9977
  async function getResourceFolderAsync(projectRoot) {
9709
9978
  const projectPath = await getProjectPathOrThrowAsync(projectRoot);
9710
- return path$5().join(projectPath, `app/src/main/res`);
9979
+ return path$8().join(projectPath, `app/src/main/res`);
9711
9980
  }
9712
9981
  async function getResourceXMLPathAsync(projectRoot, { kind = "values", name }) {
9713
9982
  const resourcePath = await getResourceFolderAsync(projectRoot);
9714
- return path$5().join(resourcePath, `${kind}/${name}.xml`);
9983
+ return path$8().join(resourcePath, `${kind}/${name}.xml`);
9715
9984
  }
9716
9985
  }) });
9717
9986
 
@@ -9743,9 +10012,9 @@ var require_Resources = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
9743
10012
  *
9744
10013
  * @param options path to the XML file, returns a fallback XML if the path doesn't exist.
9745
10014
  */
9746
- async function readResourcesXMLAsync({ path: path$10, fallback = fallbackResourceString$1 }) {
10015
+ async function readResourcesXMLAsync({ path: path$13, fallback = fallbackResourceString$1 }) {
9747
10016
  const xml = await (0, _XML$2().readXMLAsync)({
9748
- path: path$10,
10017
+ path: path$13,
9749
10018
  fallback
9750
10019
  });
9751
10020
  if (!xml.resources) xml.resources = {};
@@ -9914,6 +10183,82 @@ var require_Colors = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
9914
10183
  //#region node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js
9915
10184
  var require_EasBuildGradleScript = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/EasBuildGradleScript.js": ((exports) => {
9916
10185
  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
+ `;
9917
10262
  }) });
9918
10263
 
9919
10264
  //#endregion
@@ -9923,45 +10268,45 @@ var require_EasBuild = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
9923
10268
  exports.configureEasBuildAsync = configureEasBuildAsync;
9924
10269
  exports.getEasBuildGradlePath = getEasBuildGradlePath;
9925
10270
  exports.isEasBuildGradleConfiguredAsync = isEasBuildGradleConfiguredAsync;
9926
- function _fs$14() {
9927
- const data = _interopRequireDefault$32(__require("fs"));
9928
- _fs$14 = function() {
10271
+ function _fs$15() {
10272
+ const data = _interopRequireDefault$35(__require("fs"));
10273
+ _fs$15 = function() {
9929
10274
  return data;
9930
10275
  };
9931
10276
  return data;
9932
10277
  }
9933
- function _path$14() {
9934
- const data = _interopRequireDefault$32(__require("path"));
9935
- _path$14 = function() {
10278
+ function _path$15() {
10279
+ const data = _interopRequireDefault$35(__require("path"));
10280
+ _path$15 = function() {
9936
10281
  return data;
9937
10282
  };
9938
10283
  return data;
9939
10284
  }
9940
10285
  function _EasBuildGradleScript() {
9941
- const data = _interopRequireDefault$32(require_EasBuildGradleScript());
10286
+ const data = _interopRequireDefault$35(require_EasBuildGradleScript());
9942
10287
  _EasBuildGradleScript = function() {
9943
10288
  return data;
9944
10289
  };
9945
10290
  return data;
9946
10291
  }
9947
10292
  function Paths$3() {
9948
- const data = _interopRequireWildcard$9(require_Paths$1());
10293
+ const data = _interopRequireWildcard$10(require_Paths$1());
9949
10294
  Paths$3 = function() {
9950
10295
  return data;
9951
10296
  };
9952
10297
  return data;
9953
10298
  }
9954
- function _getRequireWildcardCache$9(e) {
10299
+ function _getRequireWildcardCache$10(e) {
9955
10300
  if ("function" != typeof WeakMap) return null;
9956
10301
  var r = /* @__PURE__ */ new WeakMap(), t$5 = /* @__PURE__ */ new WeakMap();
9957
- return (_getRequireWildcardCache$9 = function(e$1) {
10302
+ return (_getRequireWildcardCache$10 = function(e$1) {
9958
10303
  return e$1 ? t$5 : r;
9959
10304
  })(e);
9960
10305
  }
9961
- function _interopRequireWildcard$9(e, r) {
10306
+ function _interopRequireWildcard$10(e, r) {
9962
10307
  if (!r && e && e.__esModule) return e;
9963
10308
  if (null === e || "object" != typeof e && "function" != typeof e) return { default: e };
9964
- var t$5 = _getRequireWildcardCache$9(r);
10309
+ var t$5 = _getRequireWildcardCache$10(r);
9965
10310
  if (t$5 && t$5.has(e)) return t$5.get(e);
9966
10311
  var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor;
9967
10312
  for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) {
@@ -9970,7 +10315,7 @@ var require_EasBuild = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
9970
10315
  }
9971
10316
  return n.default = e, t$5 && t$5.set(e, n), n;
9972
10317
  }
9973
- function _interopRequireDefault$32(obj) {
10318
+ function _interopRequireDefault$35(obj) {
9974
10319
  return obj && obj.__esModule ? obj : { default: obj };
9975
10320
  }
9976
10321
  const APPLY_EAS_GRADLE = "apply from: \"./eas-build.gradle\"";
@@ -9978,21 +10323,20 @@ var require_EasBuild = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
9978
10323
  return content.replace(/\r\n/g, "\n").split("\n").some((line$1) => line$1 === applyLine || line$1 === applyLine.replace(/"/g, "'"));
9979
10324
  }
9980
10325
  function getEasBuildGradlePath(projectRoot) {
9981
- return _path$14().default.join(projectRoot, "android", "app", "eas-build.gradle");
10326
+ return _path$15().default.join(projectRoot, "android", "app", "eas-build.gradle");
9982
10327
  }
9983
10328
  async function configureEasBuildAsync(projectRoot) {
9984
10329
  const buildGradlePath = Paths$3().getAppBuildGradleFilePath(projectRoot);
9985
10330
  const easGradlePath = getEasBuildGradlePath(projectRoot);
9986
- await _fs$14().default.promises.writeFile(easGradlePath, _EasBuildGradleScript().default);
9987
- const buildGradleContent = await _fs$14().default.promises.readFile(_path$14().default.join(buildGradlePath), "utf8");
9988
- if (!hasApplyLine(buildGradleContent, APPLY_EAS_GRADLE)) await _fs$14().default.promises.writeFile(buildGradlePath, `${buildGradleContent.trim()}\n${APPLY_EAS_GRADLE}\n`);
10331
+ await _fs$15().default.promises.writeFile(easGradlePath, _EasBuildGradleScript().default);
10332
+ const buildGradleContent = await _fs$15().default.promises.readFile(_path$15().default.join(buildGradlePath), "utf8");
10333
+ if (!hasApplyLine(buildGradleContent, APPLY_EAS_GRADLE)) await _fs$15().default.promises.writeFile(buildGradlePath, `${buildGradleContent.trim()}\n${APPLY_EAS_GRADLE}\n`);
9989
10334
  }
9990
10335
  async function isEasBuildGradleConfiguredAsync(projectRoot) {
9991
10336
  const buildGradlePath = Paths$3().getAppBuildGradleFilePath(projectRoot);
9992
10337
  const easGradlePath = getEasBuildGradlePath(projectRoot);
9993
- const hasEasGradleFile = await _fs$14().default.existsSync(easGradlePath);
9994
- const buildGradleContent = await _fs$14().default.promises.readFile(_path$14().default.join(buildGradlePath), "utf8");
9995
- return hasApplyLine(buildGradleContent, APPLY_EAS_GRADLE) && hasEasGradleFile;
10338
+ const hasEasGradleFile = await _fs$15().default.existsSync(easGradlePath);
10339
+ return hasApplyLine(await _fs$15().default.promises.readFile(_path$15().default.join(buildGradlePath), "utf8"), APPLY_EAS_GRADLE) && hasEasGradleFile;
9996
10340
  }
9997
10341
  }) });
9998
10342
 
@@ -10002,6 +10346,7 @@ var require_GoogleMapsApiKey = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
10002
10346
  Object.defineProperty(exports, "__esModule", { value: true });
10003
10347
  exports.getGoogleMapsApiKey = getGoogleMapsApiKey$1;
10004
10348
  exports.setGoogleMapsApiKey = setGoogleMapsApiKey$1;
10349
+ exports.withGoogleMapsApiKey = void 0;
10005
10350
  function _Manifest$6() {
10006
10351
  const data = require_Manifest();
10007
10352
  _Manifest$6 = function() {
@@ -10043,6 +10388,7 @@ var require_GoogleMapsApiKey = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
10043
10388
  //#region node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js
10044
10389
  var require_withDangerousMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withDangerousMod.js": ((exports) => {
10045
10390
  Object.defineProperty(exports, "__esModule", { value: true });
10391
+ exports.withDangerousMod = void 0;
10046
10392
  function _withMod$4() {
10047
10393
  const data = require_withMod();
10048
10394
  _withMod$4 = function() {
@@ -10072,6 +10418,41 @@ var require_withDangerousMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
10072
10418
  //#region node_modules/@expo/config-plugins/build/utils/fs.js
10073
10419
  var require_fs = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/fs.js": ((exports) => {
10074
10420
  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
+ }
10075
10456
  }) });
10076
10457
 
10077
10458
  //#endregion
@@ -10082,13 +10463,13 @@ var require_warnings = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
10082
10463
  exports.addWarningForPlatform = addWarningForPlatform;
10083
10464
  exports.addWarningIOS = addWarningIOS;
10084
10465
  function _chalk() {
10085
- const data = _interopRequireDefault$31(require_source());
10466
+ const data = _interopRequireDefault$33(require_source());
10086
10467
  _chalk = function() {
10087
10468
  return data;
10088
10469
  };
10089
10470
  return data;
10090
10471
  }
10091
- function _interopRequireDefault$31(obj) {
10472
+ function _interopRequireDefault$33(obj) {
10092
10473
  return obj && obj.__esModule ? obj : { default: obj };
10093
10474
  }
10094
10475
  /**
@@ -10135,8 +10516,9 @@ var require_GoogleServices = /* @__PURE__ */ __commonJS({ "node_modules/@expo/co
10135
10516
  exports.getGoogleServicesFilePath = getGoogleServicesFilePath;
10136
10517
  exports.setClassPath = setClassPath;
10137
10518
  exports.setGoogleServicesFile = setGoogleServicesFile$1;
10519
+ exports.withGoogleServicesFile = exports.withClassPath = exports.withApplyPlugin = void 0;
10138
10520
  function _path$13() {
10139
- const data = _interopRequireDefault$30(__require("path"));
10521
+ const data = _interopRequireDefault$32(__require("path"));
10140
10522
  _path$13 = function() {
10141
10523
  return data;
10142
10524
  };
@@ -10170,7 +10552,7 @@ var require_GoogleServices = /* @__PURE__ */ __commonJS({ "node_modules/@expo/co
10170
10552
  };
10171
10553
  return data;
10172
10554
  }
10173
- function _interopRequireDefault$30(obj) {
10555
+ function _interopRequireDefault$32(obj) {
10174
10556
  return obj && obj.__esModule ? obj : { default: obj };
10175
10557
  }
10176
10558
  const DEFAULT_TARGET_PATH = "./android/app/google-services.json";
@@ -10245,6 +10627,7 @@ var require_IntentFilters = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
10245
10627
  exports.default = renderIntentFilters;
10246
10628
  exports.getIntentFilters = getIntentFilters;
10247
10629
  exports.setAndroidIntentFilters = setAndroidIntentFilters;
10630
+ exports.withAndroidIntentFilters = void 0;
10248
10631
  function _Manifest$5() {
10249
10632
  const data = require_Manifest();
10250
10633
  _Manifest$5 = function() {
@@ -10347,6 +10730,7 @@ var require_Name$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
10347
10730
  exports.applyNameSettingsGradle = applyNameSettingsGradle;
10348
10731
  exports.getName = getName$1;
10349
10732
  exports.sanitizeNameForGradle = sanitizeNameForGradle;
10733
+ exports.withNameSettingsGradle = exports.withName = void 0;
10350
10734
  function _Resources$2() {
10351
10735
  const data = require_Resources();
10352
10736
  _Resources$2 = function() {
@@ -10422,8 +10806,10 @@ var require_Name$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
10422
10806
  //#region node_modules/@expo/config-plugins/build/android/Orientation.js
10423
10807
  var require_Orientation$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/Orientation.js": ((exports) => {
10424
10808
  Object.defineProperty(exports, "__esModule", { value: true });
10809
+ exports.SCREEN_ORIENTATION_ATTRIBUTE = void 0;
10425
10810
  exports.getOrientation = getOrientation$1;
10426
10811
  exports.setAndroidOrientation = setAndroidOrientation;
10812
+ exports.withOrientation = void 0;
10427
10813
  function _Manifest$4() {
10428
10814
  const data = require_Manifest();
10429
10815
  _Manifest$4 = function() {
@@ -10480,7 +10866,7 @@ var require_ms = /* @__PURE__ */ __commonJS({ "../../node_modules/ms/index.js":
10480
10866
  module.exports = function(val, options) {
10481
10867
  options = options || {};
10482
10868
  var type$1 = typeof val;
10483
- if (type$1 === "string" && val.length > 0) return parse$10(val);
10869
+ if (type$1 === "string" && val.length > 0) return parse$9(val);
10484
10870
  else if (type$1 === "number" && isFinite(val)) return options.long ? fmtLong(val) : fmtShort(val);
10485
10871
  throw new Error("val is not a non-empty string or a valid number. val=" + JSON.stringify(val));
10486
10872
  };
@@ -10491,7 +10877,7 @@ var require_ms = /* @__PURE__ */ __commonJS({ "../../node_modules/ms/index.js":
10491
10877
  * @return {Number}
10492
10878
  * @api private
10493
10879
  */
10494
- function parse$10(str) {
10880
+ function parse$9(str) {
10495
10881
  str = String(str);
10496
10882
  if (str.length > 100) return;
10497
10883
  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);
@@ -11201,15 +11587,16 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
11201
11587
  exports.renamePackageOnDisk = renamePackageOnDisk;
11202
11588
  exports.renamePackageOnDiskForType = renamePackageOnDiskForType;
11203
11589
  exports.setPackageInBuildGradle = setPackageInBuildGradle;
11590
+ exports.withPackageRefactor = exports.withPackageGradle = void 0;
11204
11591
  function _debug$3() {
11205
- const data = _interopRequireDefault$29(require_src());
11592
+ const data = _interopRequireDefault$31(require_src());
11206
11593
  _debug$3 = function() {
11207
11594
  return data;
11208
11595
  };
11209
11596
  return data;
11210
11597
  }
11211
11598
  function _fs$12() {
11212
- const data = _interopRequireDefault$29(__require("fs"));
11599
+ const data = _interopRequireDefault$31(__require("fs"));
11213
11600
  _fs$12 = function() {
11214
11601
  return data;
11215
11602
  };
@@ -11223,7 +11610,7 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
11223
11610
  return data;
11224
11611
  }
11225
11612
  function _path$12() {
11226
- const data = _interopRequireDefault$29(__require("path"));
11613
+ const data = _interopRequireDefault$31(__require("path"));
11227
11614
  _path$12 = function() {
11228
11615
  return data;
11229
11616
  };
@@ -11250,9 +11637,9 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
11250
11637
  };
11251
11638
  return data;
11252
11639
  }
11253
- function _modules$1() {
11640
+ function _modules$2() {
11254
11641
  const data = require_modules();
11255
- _modules$1 = function() {
11642
+ _modules$2 = function() {
11256
11643
  return data;
11257
11644
  };
11258
11645
  return data;
@@ -11264,7 +11651,7 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
11264
11651
  };
11265
11652
  return data;
11266
11653
  }
11267
- function _interopRequireDefault$29(obj) {
11654
+ function _interopRequireDefault$31(obj) {
11268
11655
  return obj && obj.__esModule ? obj : { default: obj };
11269
11656
  }
11270
11657
  const debug$10 = (0, _debug$3().default)("expo:config-plugins:android:package");
@@ -11352,7 +11739,7 @@ var require_Package = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
11352
11739
  if (!currentPackageName || currentPackageName === packageName) return;
11353
11740
  debug$10(`Refactor "${currentPackageName}" to "${packageName}" for type "${type$1}"`);
11354
11741
  const packageRoot = getPackageRoot(projectRoot, type$1);
11355
- if (!await (0, _modules$1().directoryExistsAsync)(packageRoot)) {
11742
+ if (!await (0, _modules$2().directoryExistsAsync)(packageRoot)) {
11356
11743
  debug$10(`- skipping refactor of missing directory: ${packageRoot}`);
11357
11744
  return;
11358
11745
  }
@@ -11453,6 +11840,7 @@ var require_Permissions$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
11453
11840
  exports.isPermissionAlreadyRequested = isPermissionAlreadyRequested;
11454
11841
  exports.removePermissions = removePermissions;
11455
11842
  exports.setAndroidPermissions = setAndroidPermissions;
11843
+ exports.withPermissions = exports.withInternalBlockedPermissions = exports.withBlockedPermissions = void 0;
11456
11844
  function _Manifest$3() {
11457
11845
  const data = require_Manifest();
11458
11846
  _Manifest$3 = function() {
@@ -11529,8 +11917,7 @@ var require_Permissions$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
11529
11917
  return config.android?.permissions ?? [];
11530
11918
  }
11531
11919
  function setAndroidPermissions(config, androidManifest) {
11532
- const permissions = getAndroidPermissions(config);
11533
- const permissionsToAdd = [...prefixAndroidPermissionsIfNecessary(permissions)];
11920
+ const permissionsToAdd = [...prefixAndroidPermissionsIfNecessary(getAndroidPermissions(config))];
11534
11921
  if (!androidManifest.manifest.hasOwnProperty("uses-permission")) androidManifest.manifest["uses-permission"] = [];
11535
11922
  const manifestPermissions = androidManifest.manifest["uses-permission"] ?? [];
11536
11923
  permissionsToAdd.forEach((permission) => {
@@ -11623,9 +12010,9 @@ var require_Styles = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
11623
12010
  return data;
11624
12011
  }
11625
12012
  const fallbackResourceString = `<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>`;
11626
- async function readStylesXMLAsync({ path: path$10, fallback = fallbackResourceString }) {
12013
+ async function readStylesXMLAsync({ path: path$13, fallback = fallbackResourceString }) {
11627
12014
  return (0, _Resources$1().readResourcesXMLAsync)({
11628
- path: path$10,
12015
+ path: path$13,
11629
12016
  fallback
11630
12017
  });
11631
12018
  }
@@ -11718,6 +12105,7 @@ var require_Styles = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
11718
12105
  var require_PrimaryColor = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/PrimaryColor.js": ((exports) => {
11719
12106
  Object.defineProperty(exports, "__esModule", { value: true });
11720
12107
  exports.getPrimaryColor = getPrimaryColor;
12108
+ exports.withPrimaryColorStyles = exports.withPrimaryColorColors = exports.withPrimaryColor = void 0;
11721
12109
  function _Colors$1() {
11722
12110
  const data = require_Colors();
11723
12111
  _Colors$1 = function() {
@@ -11828,6 +12216,7 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
11828
12216
  exports.hasScheme = hasScheme$1;
11829
12217
  exports.removeScheme = removeScheme$1;
11830
12218
  exports.setScheme = setScheme$1;
12219
+ exports.withScheme = void 0;
11831
12220
  function _androidPlugins$5() {
11832
12221
  const data = require_android_plugins();
11833
12222
  _androidPlugins$5 = function() {
@@ -11870,16 +12259,13 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
11870
12259
  return actions.includes("android.intent.action.VIEW") && !categories.includes("android.intent.category.LAUNCHER");
11871
12260
  }
11872
12261
  function propertiesFromIntentFilter(intentFilter) {
11873
- const actions = intentFilter?.action?.map((data$1) => data$1?.$?.["android:name"]) ?? [];
11874
- const categories = intentFilter?.category?.map((data$1) => data$1?.$?.["android:name"]) ?? [];
11875
- const data = intentFilter?.data?.filter((data$1) => data$1?.$?.["android:scheme"])?.map((data$1) => ({
11876
- scheme: data$1?.$?.["android:scheme"],
11877
- host: data$1?.$?.["android:host"]
11878
- })) ?? [];
11879
12262
  return {
11880
- actions,
11881
- categories,
11882
- data
12263
+ actions: intentFilter?.action?.map((data) => data?.$?.["android:name"]) ?? [],
12264
+ categories: intentFilter?.category?.map((data) => data?.$?.["android:name"]) ?? [],
12265
+ data: intentFilter?.data?.filter((data) => data?.$?.["android:scheme"])?.map((data) => ({
12266
+ scheme: data?.$?.["android:scheme"],
12267
+ host: data?.$?.["android:host"]
12268
+ })) ?? []
11883
12269
  };
11884
12270
  }
11885
12271
  function getSingleTaskIntentFilters(androidManifest) {
@@ -11909,10 +12295,7 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
11909
12295
  function ensureManifestHasValidIntentFilter(androidManifest) {
11910
12296
  if (!Array.isArray(androidManifest.manifest.application)) return false;
11911
12297
  for (const application of androidManifest.manifest.application) for (const activity of application.activity || []) if (activity?.$?.["android:launchMode"] === "singleTask") {
11912
- for (const intentFilter of activity["intent-filter"] || []) {
11913
- const properties = propertiesFromIntentFilter(intentFilter);
11914
- if (isValidRedirectIntentFilter(properties)) return true;
11915
- }
12298
+ for (const intentFilter of activity["intent-filter"] || []) if (isValidRedirectIntentFilter(propertiesFromIntentFilter(intentFilter))) return true;
11916
12299
  if (!activity["intent-filter"]) activity["intent-filter"] = [];
11917
12300
  activity["intent-filter"].push({
11918
12301
  action: [{ $: { "android:name": "android.intent.action.VIEW" } }],
@@ -11928,12 +12311,9 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
11928
12311
  function appendScheme$1(scheme, androidManifest) {
11929
12312
  if (!Array.isArray(androidManifest.manifest.application)) return androidManifest;
11930
12313
  for (const application of androidManifest.manifest.application) for (const activity of application.activity || []) if (activity?.$?.["android:launchMode"] === "singleTask") {
11931
- for (const intentFilter of activity["intent-filter"] || []) {
11932
- const properties = propertiesFromIntentFilter(intentFilter);
11933
- if (isValidRedirectIntentFilter(properties)) {
11934
- if (!intentFilter.data) intentFilter.data = [];
11935
- intentFilter.data.push({ $: { "android:scheme": scheme } });
11936
- }
12314
+ for (const intentFilter of activity["intent-filter"] || []) if (isValidRedirectIntentFilter(propertiesFromIntentFilter(intentFilter))) {
12315
+ if (!intentFilter.data) intentFilter.data = [];
12316
+ intentFilter.data.push({ $: { "android:scheme": scheme } });
11937
12317
  }
11938
12318
  break;
11939
12319
  }
@@ -11942,11 +12322,8 @@ var require_Scheme$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-p
11942
12322
  function removeScheme$1(scheme, androidManifest) {
11943
12323
  if (!Array.isArray(androidManifest.manifest.application)) return androidManifest;
11944
12324
  for (const application of androidManifest.manifest.application) for (const activity of application.activity || []) if (activity?.$?.["android:launchMode"] === "singleTask") {
11945
- for (const intentFilter of activity["intent-filter"] || []) {
11946
- const properties = propertiesFromIntentFilter(intentFilter);
11947
- if (isValidRedirectIntentFilter(properties)) {
11948
- for (const dataKey in intentFilter?.data || []) if ((intentFilter.data?.[dataKey])?.$?.["android:scheme"] === scheme) delete intentFilter.data?.[dataKey];
11949
- }
12325
+ for (const intentFilter of activity["intent-filter"] || []) if (isValidRedirectIntentFilter(propertiesFromIntentFilter(intentFilter))) {
12326
+ for (const dataKey in intentFilter?.data || []) if ((intentFilter.data?.[dataKey])?.$?.["android:scheme"] === scheme) delete intentFilter.data?.[dataKey];
11950
12327
  }
11951
12328
  break;
11952
12329
  }
@@ -11963,9 +12340,10 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
11963
12340
  exports.getStatusBarTranslucent = getStatusBarTranslucent;
11964
12341
  exports.setStatusBarColors = setStatusBarColors;
11965
12342
  exports.setStatusBarStyles = setStatusBarStyles;
11966
- function _assert$6() {
11967
- const data = _interopRequireDefault$28(__require("assert"));
11968
- _assert$6 = function() {
12343
+ exports.withStatusBar = void 0;
12344
+ function _assert$7() {
12345
+ const data = _interopRequireDefault$30(__require("assert"));
12346
+ _assert$7 = function() {
11969
12347
  return data;
11970
12348
  };
11971
12349
  return data;
@@ -11991,7 +12369,7 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
11991
12369
  };
11992
12370
  return data;
11993
12371
  }
11994
- function _interopRequireDefault$28(obj) {
12372
+ function _interopRequireDefault$30(obj) {
11995
12373
  return obj && obj.__esModule ? obj : { default: obj };
11996
12374
  }
11997
12375
  const COLOR_PRIMARY_DARK_KEY = "colorPrimaryDark";
@@ -12040,7 +12418,7 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
12040
12418
  }
12041
12419
  function getStatusBarColor(config) {
12042
12420
  const backgroundColor = config.androidStatusBar?.backgroundColor;
12043
- if (backgroundColor) (0, _assert$6().default)(backgroundColor !== "translucent", `androidStatusBar.backgroundColor must be a valid hex string, instead got: "${backgroundColor}"`);
12421
+ if (backgroundColor) (0, _assert$7().default)(backgroundColor !== "translucent", `androidStatusBar.backgroundColor must be a valid hex string, instead got: "${backgroundColor}"`);
12044
12422
  return backgroundColor;
12045
12423
  }
12046
12424
  /**
@@ -12058,10 +12436,268 @@ var require_StatusBar = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
12058
12436
  }
12059
12437
  }) });
12060
12438
 
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
+
12061
12697
  //#endregion
12062
12698
  //#region ../../node_modules/resolve-from/index.js
12063
12699
  var require_resolve_from = /* @__PURE__ */ __commonJS({ "../../node_modules/resolve-from/index.js": ((exports, module) => {
12064
- const path$4 = __require("path");
12700
+ const path$5 = __require("path");
12065
12701
  const Module = __require("module");
12066
12702
  const fs$3 = __require("fs");
12067
12703
  const resolveFrom = (fromDirectory, moduleId, silent) => {
@@ -12070,11 +12706,11 @@ var require_resolve_from = /* @__PURE__ */ __commonJS({ "../../node_modules/reso
12070
12706
  try {
12071
12707
  fromDirectory = fs$3.realpathSync(fromDirectory);
12072
12708
  } catch (error) {
12073
- if (error.code === "ENOENT") fromDirectory = path$4.resolve(fromDirectory);
12709
+ if (error.code === "ENOENT") fromDirectory = path$5.resolve(fromDirectory);
12074
12710
  else if (silent) return;
12075
12711
  else throw error;
12076
12712
  }
12077
- const fromFile = path$4.join(fromDirectory, "noop.js");
12713
+ const fromFile = path$5.join(fromDirectory, "noop.js");
12078
12714
  const resolveFileName = () => Module._resolveFilename(moduleId, {
12079
12715
  id: fromFile,
12080
12716
  filename: fromFile,
@@ -12095,14 +12731,193 @@ var require_resolve_from = /* @__PURE__ */ __commonJS({ "../../node_modules/reso
12095
12731
  //#region node_modules/@expo/config-plugins/build/utils/plugin-resolver.js
12096
12732
  var require_plugin_resolver = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/plugin-resolver.js": ((exports) => {
12097
12733
  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
+ }
12098
12912
  }) });
12099
12913
 
12100
12914
  //#endregion
12101
12915
  //#region node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js
12102
12916
  var require_withStaticPlugin = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withStaticPlugin.js": ((exports) => {
12103
12917
  Object.defineProperty(exports, "__esModule", { value: true });
12918
+ exports.withStaticPlugin = void 0;
12104
12919
  function _assert$5() {
12105
- const data = _interopRequireDefault$27(__require("assert"));
12920
+ const data = _interopRequireDefault$28(__require("assert"));
12106
12921
  _assert$5 = function() {
12107
12922
  return data;
12108
12923
  };
@@ -12129,7 +12944,7 @@ var require_withStaticPlugin = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
12129
12944
  };
12130
12945
  return data;
12131
12946
  }
12132
- function _interopRequireDefault$27(obj) {
12947
+ function _interopRequireDefault$28(obj) {
12133
12948
  return obj && obj.__esModule ? obj : { default: obj };
12134
12949
  }
12135
12950
  const EXPO_DEBUG = (0, _getenv$1().boolish)("EXPO_DEBUG", false);
@@ -12197,8 +13012,9 @@ var require_withStaticPlugin = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
12197
13012
  //#region node_modules/@expo/config-plugins/build/plugins/withPlugins.js
12198
13013
  var require_withPlugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withPlugins.js": ((exports) => {
12199
13014
  Object.defineProperty(exports, "__esModule", { value: true });
13015
+ exports.withPlugins = void 0;
12200
13016
  function _assert$4() {
12201
- const data = _interopRequireDefault$26(__require("assert"));
13017
+ const data = _interopRequireDefault$27(__require("assert"));
12202
13018
  _assert$4 = function() {
12203
13019
  return data;
12204
13020
  };
@@ -12211,7 +13027,7 @@ var require_withPlugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
12211
13027
  };
12212
13028
  return data;
12213
13029
  }
12214
- function _interopRequireDefault$26(obj) {
13030
+ function _interopRequireDefault$27(obj) {
12215
13031
  return obj && obj.__esModule ? obj : { default: obj };
12216
13032
  }
12217
13033
  /**
@@ -12231,7 +13047,22 @@ var require_withPlugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
12231
13047
  //#region ../../node_modules/@expo/sdk-runtime-versions/build/index.js
12232
13048
  var require_build$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/@expo/sdk-runtime-versions/build/index.js": ((exports) => {
12233
13049
  Object.defineProperty(exports, "__esModule", { value: true });
13050
+ exports.isSDKVersionRuntimeVersion = exports.getSDKVersionFromRuntimeVersion = exports.getRuntimeVersionForSDKVersion = exports.RUNTIME_VERSION_PREFIX = void 0;
12234
13051
  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;
12235
13066
  }) });
12236
13067
 
12237
13068
  //#endregion
@@ -12561,7 +13392,7 @@ var require_semver$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/c
12561
13392
  //#region ../../node_modules/semver/functions/parse.js
12562
13393
  var require_parse$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/parse.js": ((exports, module) => {
12563
13394
  const SemVer$14 = require_semver$1();
12564
- const parse$9 = (version$1, options, throwErrors = false) => {
13395
+ const parse$8 = (version$1, options, throwErrors = false) => {
12565
13396
  if (version$1 instanceof SemVer$14) return version$1;
12566
13397
  try {
12567
13398
  return new SemVer$14(version$1, options);
@@ -12570,15 +13401,15 @@ var require_parse$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/fu
12570
13401
  throw er;
12571
13402
  }
12572
13403
  };
12573
- module.exports = parse$9;
13404
+ module.exports = parse$8;
12574
13405
  }) });
12575
13406
 
12576
13407
  //#endregion
12577
13408
  //#region ../../node_modules/semver/functions/valid.js
12578
13409
  var require_valid$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/valid.js": ((exports, module) => {
12579
- const parse$8 = require_parse$2();
13410
+ const parse$7 = require_parse$2();
12580
13411
  const valid$1 = (version$1, options) => {
12581
- const v = parse$8(version$1, options);
13412
+ const v = parse$7(version$1, options);
12582
13413
  return v ? v.version : null;
12583
13414
  };
12584
13415
  module.exports = valid$1;
@@ -12587,9 +13418,9 @@ var require_valid$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/fu
12587
13418
  //#endregion
12588
13419
  //#region ../../node_modules/semver/functions/clean.js
12589
13420
  var require_clean = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/clean.js": ((exports, module) => {
12590
- const parse$7 = require_parse$2();
13421
+ const parse$6 = require_parse$2();
12591
13422
  const clean$1 = (version$1, options) => {
12592
- const s$1 = parse$7(version$1.trim().replace(/^[=v]+/, ""), options);
13423
+ const s$1 = parse$6(version$1.trim().replace(/^[=v]+/, ""), options);
12593
13424
  return s$1 ? s$1.version : null;
12594
13425
  };
12595
13426
  module.exports = clean$1;
@@ -12617,10 +13448,10 @@ var require_inc = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functi
12617
13448
  //#endregion
12618
13449
  //#region ../../node_modules/semver/functions/diff.js
12619
13450
  var require_diff = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/diff.js": ((exports, module) => {
12620
- const parse$6 = require_parse$2();
13451
+ const parse$5 = require_parse$2();
12621
13452
  const diff$1 = (version1, version2) => {
12622
- const v1$1 = parse$6(version1, null, true);
12623
- const v2 = parse$6(version2, null, true);
13453
+ const v1$1 = parse$5(version1, null, true);
13454
+ const v2 = parse$5(version2, null, true);
12624
13455
  const comparison = v1$1.compare(v2);
12625
13456
  if (comparison === 0) return null;
12626
13457
  const v1Higher = comparison > 0;
@@ -12670,9 +13501,9 @@ var require_patch = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/func
12670
13501
  //#endregion
12671
13502
  //#region ../../node_modules/semver/functions/prerelease.js
12672
13503
  var require_prerelease = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/prerelease.js": ((exports, module) => {
12673
- const parse$5 = require_parse$2();
13504
+ const parse$4 = require_parse$2();
12674
13505
  const prerelease$1 = (version$1, options) => {
12675
- const parsed = parse$5(version$1, options);
13506
+ const parsed = parse$4(version$1, options);
12676
13507
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
12677
13508
  };
12678
13509
  module.exports = prerelease$1;
@@ -12815,7 +13646,7 @@ var require_cmp = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functi
12815
13646
  //#region ../../node_modules/semver/functions/coerce.js
12816
13647
  var require_coerce = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/functions/coerce.js": ((exports, module) => {
12817
13648
  const SemVer$7 = require_semver$1();
12818
- const parse$4 = require_parse$2();
13649
+ const parse$3 = require_parse$2();
12819
13650
  const { safeRe: re$2, t: t$2 } = require_re();
12820
13651
  const coerce$1 = (version$1, options) => {
12821
13652
  if (version$1 instanceof SemVer$7) return version$1;
@@ -12835,11 +13666,7 @@ var require_coerce = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/fun
12835
13666
  }
12836
13667
  if (match === null) return null;
12837
13668
  const major$2 = match[2];
12838
- const minor$2 = match[3] || "0";
12839
- const patch$4 = match[4] || "0";
12840
- const prerelease$2 = options.includePrerelease && match[5] ? `-${match[5]}` : "";
12841
- const build$2 = options.includePrerelease && match[6] ? `+${match[6]}` : "";
12842
- return parse$4(`${major$2}.${minor$2}.${patch$4}${prerelease$2}${build$2}`, options);
13669
+ return parse$3(`${major$2}.${match[3] || "0"}.${match[4] || "0"}${options.includePrerelease && match[5] ? `-${match[5]}` : ""}${options.includePrerelease && match[6] ? `+${match[6]}` : ""}`, options);
12843
13670
  };
12844
13671
  module.exports = coerce$1;
12845
13672
  }) });
@@ -13570,7 +14397,7 @@ var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/ind
13570
14397
  const constants$1 = require_constants();
13571
14398
  const SemVer = require_semver$1();
13572
14399
  const identifiers = require_identifiers();
13573
- const parse$3 = require_parse$2();
14400
+ const parse$2 = require_parse$2();
13574
14401
  const valid = require_valid$1();
13575
14402
  const clean = require_clean();
13576
14403
  const inc = require_inc();
@@ -13608,7 +14435,7 @@ var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/ind
13608
14435
  const simplifyRange = require_simplify();
13609
14436
  const subset = require_subset();
13610
14437
  module.exports = {
13611
- parse: parse$3,
14438
+ parse: parse$2,
13612
14439
  valid,
13613
14440
  clean,
13614
14441
  inc,
@@ -13660,6 +14487,7 @@ var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/semver/ind
13660
14487
  //#region node_modules/@expo/config-plugins/build/utils/Updates.js
13661
14488
  var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/Updates.js": ((exports) => {
13662
14489
  Object.defineProperty(exports, "__esModule", { value: true });
14490
+ exports.FINGERPRINT_RUNTIME_VERSION_SENTINEL = void 0;
13663
14491
  exports.getAppVersion = getAppVersion;
13664
14492
  exports.getExpoUpdatesPackageVersion = getExpoUpdatesPackageVersion;
13665
14493
  exports.getNativeVersion = getNativeVersion;
@@ -13685,7 +14513,7 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
13685
14513
  return data;
13686
14514
  }
13687
14515
  function _fs$11() {
13688
- const data = _interopRequireDefault$25(__require("fs"));
14516
+ const data = _interopRequireDefault$26(__require("fs"));
13689
14517
  _fs$11 = function() {
13690
14518
  return data;
13691
14519
  };
@@ -13699,21 +14527,21 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
13699
14527
  return data;
13700
14528
  }
13701
14529
  function _path$11() {
13702
- const data = _interopRequireDefault$25(__require("path"));
14530
+ const data = _interopRequireDefault$26(__require("path"));
13703
14531
  _path$11 = function() {
13704
14532
  return data;
13705
14533
  };
13706
14534
  return data;
13707
14535
  }
13708
14536
  function _resolveFrom$1() {
13709
- const data = _interopRequireDefault$25(require_resolve_from());
14537
+ const data = _interopRequireDefault$26(require_resolve_from());
13710
14538
  _resolveFrom$1 = function() {
13711
14539
  return data;
13712
14540
  };
13713
14541
  return data;
13714
14542
  }
13715
14543
  function _semver$1() {
13716
- const data = _interopRequireDefault$25(require_semver());
14544
+ const data = _interopRequireDefault$26(require_semver());
13717
14545
  _semver$1 = function() {
13718
14546
  return data;
13719
14547
  };
@@ -13726,7 +14554,7 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
13726
14554
  };
13727
14555
  return data;
13728
14556
  }
13729
- function _interopRequireDefault$25(obj) {
14557
+ function _interopRequireDefault$26(obj) {
13730
14558
  return obj && obj.__esModule ? obj : { default: obj };
13731
14559
  }
13732
14560
  const FINGERPRINT_RUNTIME_VERSION_SENTINEL = exports.FINGERPRINT_RUNTIME_VERSION_SENTINEL = "file:fingerprint";
@@ -13744,14 +14572,8 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
13744
14572
  function getNativeVersion(config, platform$1) {
13745
14573
  const version$1 = _$1().IOSConfig.Version.getVersion(config);
13746
14574
  switch (platform$1) {
13747
- case "ios": {
13748
- const buildNumber = _$1().IOSConfig.Version.getBuildNumber(config);
13749
- return `${version$1}(${buildNumber})`;
13750
- }
13751
- case "android": {
13752
- const versionCode = _$1().AndroidConfig.Version.getVersionCode(config);
13753
- return `${version$1}(${versionCode})`;
13754
- }
14575
+ case "ios": return `${version$1}(${_$1().IOSConfig.Version.getBuildNumber(config)})`;
14576
+ case "android": return `${version$1}(${_$1().AndroidConfig.Version.getVersionCode(config)})`;
13755
14577
  default: throw new Error(`"${platform$1}" is not a supported platform. Choose either "ios" or "android".`);
13756
14578
  }
13757
14579
  }
@@ -13833,10 +14655,12 @@ var require_Updates$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
13833
14655
  //#region node_modules/@expo/config-plugins/build/android/Updates.js
13834
14656
  var require_Updates$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/android/Updates.js": ((exports) => {
13835
14657
  Object.defineProperty(exports, "__esModule", { value: true });
14658
+ exports.Config = void 0;
13836
14659
  exports.applyRuntimeVersionFromConfigAsync = applyRuntimeVersionFromConfigAsync;
13837
14660
  exports.applyRuntimeVersionFromConfigForProjectRootAsync = applyRuntimeVersionFromConfigForProjectRootAsync;
13838
14661
  exports.setUpdatesConfigAsync = setUpdatesConfigAsync$1;
13839
14662
  exports.setVersionsConfigAsync = setVersionsConfigAsync$1;
14663
+ exports.withUpdates = void 0;
13840
14664
  function _Manifest$2() {
13841
14665
  const data = require_Manifest();
13842
14666
  _Manifest$2 = function() {
@@ -13973,6 +14797,7 @@ var require_Version$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
13973
14797
  exports.setMinBuildScriptExtVersion = setMinBuildScriptExtVersion;
13974
14798
  exports.setVersionCode = setVersionCode;
13975
14799
  exports.setVersionName = setVersionName;
14800
+ exports.withVersion = exports.withBuildScriptExtMinimumVersion = void 0;
13976
14801
  function _androidPlugins$2() {
13977
14802
  const data = require_android_plugins();
13978
14803
  _androidPlugins$2 = function() {
@@ -14042,6 +14867,7 @@ var require_WindowSoftInputMode = /* @__PURE__ */ __commonJS({ "node_modules/@ex
14042
14867
  Object.defineProperty(exports, "__esModule", { value: true });
14043
14868
  exports.getWindowSoftInputModeMode = getWindowSoftInputModeMode;
14044
14869
  exports.setWindowSoftInputModeMode = setWindowSoftInputModeMode;
14870
+ exports.withWindowSoftInputMode = void 0;
14045
14871
  function _Manifest$1() {
14046
14872
  const data = require_Manifest();
14047
14873
  _Manifest$1 = function() {
@@ -14448,12 +15274,12 @@ var require_slugify = /* @__PURE__ */ __commonJS({ "../../node_modules/slugify/s
14448
15274
  var require_rng = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/rng.js": ((exports, module) => {
14449
15275
  Object.defineProperty(exports, "__esModule", { value: true });
14450
15276
  exports.default = rng;
14451
- var _crypto$2 = _interopRequireDefault$24(__require("crypto"));
14452
- function _interopRequireDefault$24(obj) {
15277
+ var _crypto$3 = _interopRequireDefault$25(__require("crypto"));
15278
+ function _interopRequireDefault$25(obj) {
14453
15279
  return obj && obj.__esModule ? obj : { default: obj };
14454
15280
  }
14455
15281
  function rng() {
14456
- return _crypto$2.default.randomBytes(16);
15282
+ return _crypto$3.default.randomBytes(16);
14457
15283
  }
14458
15284
  module.exports = exports.default;
14459
15285
  }) });
@@ -14505,9 +15331,9 @@ var require_bytesToUuid = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/
14505
15331
  var require_v1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v1.js": ((exports, module) => {
14506
15332
  Object.defineProperty(exports, "__esModule", { value: true });
14507
15333
  exports.default = void 0;
14508
- var _rng$1 = _interopRequireDefault$23(require_rng());
14509
- var _bytesToUuid$2 = _interopRequireDefault$23(require_bytesToUuid());
14510
- function _interopRequireDefault$23(obj) {
15334
+ var _rng$1 = _interopRequireDefault$24(require_rng());
15335
+ var _bytesToUuid$2 = _interopRequireDefault$24(require_bytesToUuid());
15336
+ function _interopRequireDefault$24(obj) {
14511
15337
  return obj && obj.__esModule ? obj : { default: obj };
14512
15338
  }
14513
15339
  var _nodeId;
@@ -14567,8 +15393,9 @@ var require_v1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v1.j
14567
15393
  var require_v35 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v35.js": ((exports) => {
14568
15394
  Object.defineProperty(exports, "__esModule", { value: true });
14569
15395
  exports.default = _default$6;
14570
- var _bytesToUuid$1 = _interopRequireDefault$22(require_bytesToUuid());
14571
- function _interopRequireDefault$22(obj) {
15396
+ exports.URL = exports.DNS = void 0;
15397
+ var _bytesToUuid$1 = _interopRequireDefault$23(require_bytesToUuid());
15398
+ function _interopRequireDefault$23(obj) {
14572
15399
  return obj && obj.__esModule ? obj : { default: obj };
14573
15400
  }
14574
15401
  function uuidToBytes(uuid$1) {
@@ -14615,14 +15442,14 @@ var require_v35 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v35
14615
15442
  var require_md5 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/md5.js": ((exports, module) => {
14616
15443
  Object.defineProperty(exports, "__esModule", { value: true });
14617
15444
  exports.default = void 0;
14618
- var _crypto$1 = _interopRequireDefault$21(__require("crypto"));
14619
- function _interopRequireDefault$21(obj) {
15445
+ var _crypto$2 = _interopRequireDefault$22(__require("crypto"));
15446
+ function _interopRequireDefault$22(obj) {
14620
15447
  return obj && obj.__esModule ? obj : { default: obj };
14621
15448
  }
14622
15449
  function md5(bytes) {
14623
15450
  if (Array.isArray(bytes)) bytes = Buffer.from(bytes);
14624
15451
  else if (typeof bytes === "string") bytes = Buffer.from(bytes, "utf8");
14625
- return _crypto$1.default.createHash("md5").update(bytes).digest();
15452
+ return _crypto$2.default.createHash("md5").update(bytes).digest();
14626
15453
  }
14627
15454
  var _default$5 = md5;
14628
15455
  exports.default = _default$5;
@@ -14634,9 +15461,9 @@ var require_md5 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/md5
14634
15461
  var require_v3 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v3.js": ((exports, module) => {
14635
15462
  Object.defineProperty(exports, "__esModule", { value: true });
14636
15463
  exports.default = void 0;
14637
- var _v$2 = _interopRequireDefault$20(require_v35());
14638
- var _md = _interopRequireDefault$20(require_md5());
14639
- function _interopRequireDefault$20(obj) {
15464
+ var _v$2 = _interopRequireDefault$21(require_v35());
15465
+ var _md = _interopRequireDefault$21(require_md5());
15466
+ function _interopRequireDefault$21(obj) {
14640
15467
  return obj && obj.__esModule ? obj : { default: obj };
14641
15468
  }
14642
15469
  var _default$4 = (0, _v$2.default)("v3", 48, _md.default);
@@ -14649,9 +15476,9 @@ var require_v3 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v3.j
14649
15476
  var require_v4 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v4.js": ((exports, module) => {
14650
15477
  Object.defineProperty(exports, "__esModule", { value: true });
14651
15478
  exports.default = void 0;
14652
- var _rng = _interopRequireDefault$19(require_rng());
14653
- var _bytesToUuid = _interopRequireDefault$19(require_bytesToUuid());
14654
- function _interopRequireDefault$19(obj) {
15479
+ var _rng = _interopRequireDefault$20(require_rng());
15480
+ var _bytesToUuid = _interopRequireDefault$20(require_bytesToUuid());
15481
+ function _interopRequireDefault$20(obj) {
14655
15482
  return obj && obj.__esModule ? obj : { default: obj };
14656
15483
  }
14657
15484
  function v4(options, buf, offset) {
@@ -14677,14 +15504,14 @@ var require_v4 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v4.j
14677
15504
  var require_sha1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/sha1.js": ((exports, module) => {
14678
15505
  Object.defineProperty(exports, "__esModule", { value: true });
14679
15506
  exports.default = void 0;
14680
- var _crypto = _interopRequireDefault$18(__require("crypto"));
14681
- function _interopRequireDefault$18(obj) {
15507
+ var _crypto$1 = _interopRequireDefault$19(__require("crypto"));
15508
+ function _interopRequireDefault$19(obj) {
14682
15509
  return obj && obj.__esModule ? obj : { default: obj };
14683
15510
  }
14684
15511
  function sha1(bytes) {
14685
15512
  if (Array.isArray(bytes)) bytes = Buffer.from(bytes);
14686
15513
  else if (typeof bytes === "string") bytes = Buffer.from(bytes, "utf8");
14687
- return _crypto.default.createHash("sha1").update(bytes).digest();
15514
+ return _crypto$1.default.createHash("sha1").update(bytes).digest();
14688
15515
  }
14689
15516
  var _default$2 = sha1;
14690
15517
  exports.default = _default$2;
@@ -14696,9 +15523,9 @@ var require_sha1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/sh
14696
15523
  var require_v5 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/v5.js": ((exports, module) => {
14697
15524
  Object.defineProperty(exports, "__esModule", { value: true });
14698
15525
  exports.default = void 0;
14699
- var _v$1 = _interopRequireDefault$17(require_v35());
14700
- var _sha = _interopRequireDefault$17(require_sha1());
14701
- function _interopRequireDefault$17(obj) {
15526
+ var _v$1 = _interopRequireDefault$18(require_v35());
15527
+ var _sha = _interopRequireDefault$18(require_sha1());
15528
+ function _interopRequireDefault$18(obj) {
14702
15529
  return obj && obj.__esModule ? obj : { default: obj };
14703
15530
  }
14704
15531
  var _default$1 = (0, _v$1.default)("v5", 80, _sha.default);
@@ -14734,11 +15561,11 @@ var require_dist$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/uuid/dist/
14734
15561
  return _v4.default;
14735
15562
  }
14736
15563
  });
14737
- var _v = _interopRequireDefault$16(require_v1());
14738
- var _v2 = _interopRequireDefault$16(require_v3());
14739
- var _v3 = _interopRequireDefault$16(require_v4());
14740
- var _v4 = _interopRequireDefault$16(require_v5());
14741
- function _interopRequireDefault$16(obj) {
15564
+ var _v = _interopRequireDefault$17(require_v1());
15565
+ var _v2 = _interopRequireDefault$17(require_v3());
15566
+ var _v3 = _interopRequireDefault$17(require_v4());
15567
+ var _v4 = _interopRequireDefault$17(require_v5());
15568
+ function _interopRequireDefault$17(obj) {
14742
15569
  return obj && obj.__esModule ? obj : { default: obj };
14743
15570
  }
14744
15571
  }) });
@@ -15006,7 +15833,7 @@ var require_pbxFile = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib
15006
15833
  return text == null ? "" : text.replace(/(^")|("$)/g, "");
15007
15834
  }
15008
15835
  function detectType(filePath) {
15009
- var extension = path$3.extname(filePath).substring(1), filetype = FILETYPE_BY_EXTENSION[unquoted(extension)];
15836
+ var filetype = FILETYPE_BY_EXTENSION[unquoted(path$3.extname(filePath).substring(1))];
15010
15837
  if (!filetype) return DEFAULT_FILETYPE;
15011
15838
  return filetype;
15012
15839
  }
@@ -15017,25 +15844,25 @@ var require_pbxFile = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib
15017
15844
  }
15018
15845
  }
15019
15846
  function defaultEncoding(fileRef) {
15020
- var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, encoding = ENCODING_BY_FILETYPE[unquoted(filetype)];
15847
+ var encoding = ENCODING_BY_FILETYPE[unquoted(fileRef.lastKnownFileType || fileRef.explicitFileType)];
15021
15848
  if (encoding) return encoding;
15022
15849
  }
15023
15850
  function detectGroup(fileRef, opt) {
15024
- var extension = path$3.extname(fileRef.basename).substring(1), filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, groupName = GROUP_BY_FILETYPE[unquoted(filetype)];
15851
+ var extension = path$3.extname(fileRef.basename).substring(1), groupName = GROUP_BY_FILETYPE[unquoted(fileRef.lastKnownFileType || fileRef.explicitFileType)];
15025
15852
  if (extension === "xcdatamodeld") return "Sources";
15026
15853
  if (opt.customFramework && opt.embed) return GROUP_BY_FILETYPE["embedded.framework"];
15027
15854
  if (!groupName) return DEFAULT_GROUP;
15028
15855
  return groupName;
15029
15856
  }
15030
15857
  function detectSourcetree(fileRef) {
15031
- var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, sourcetree = SOURCETREE_BY_FILETYPE[unquoted(filetype)];
15858
+ var sourcetree = SOURCETREE_BY_FILETYPE[unquoted(fileRef.lastKnownFileType || fileRef.explicitFileType)];
15032
15859
  if (fileRef.explicitFileType) return DEFAULT_PRODUCT_SOURCETREE;
15033
15860
  if (fileRef.customFramework) return DEFAULT_SOURCETREE;
15034
15861
  if (!sourcetree) return DEFAULT_SOURCETREE;
15035
15862
  return sourcetree;
15036
15863
  }
15037
15864
  function defaultPath(fileRef, filePath) {
15038
- var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType, defaultPath$1 = PATH_BY_FILETYPE[unquoted(filetype)];
15865
+ var defaultPath$1 = PATH_BY_FILETYPE[unquoted(fileRef.lastKnownFileType || fileRef.explicitFileType)];
15039
15866
  if (fileRef.customFramework) return filePath;
15040
15867
  if (defaultPath$1) return path$3.join(defaultPath$1, path$3.basename(filePath));
15041
15868
  return filePath;
@@ -15077,6 +15904,22 @@ var require_pbxFile = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib
15077
15904
 
15078
15905
  //#endregion
15079
15906
  //#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
+ */
15080
15923
  var require_pbxproj = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/lib/parser/pbxproj.js": ((exports, module) => {
15081
15924
  function peg$subclass(child, parent) {
15082
15925
  function ctor() {
@@ -16612,8 +17455,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16612
17455
  if (this.allUuids().indexOf(id) >= 0) return this.generateUuid();
16613
17456
  else return id;
16614
17457
  };
16615
- pbxProject.prototype.addPluginFile = function(path$10, opt) {
16616
- var file = new pbxFile(path$10, opt);
17458
+ pbxProject.prototype.addPluginFile = function(path$13, opt) {
17459
+ var file = new pbxFile(path$13, opt);
16617
17460
  file.plugin = true;
16618
17461
  correctForPluginsPath(file, this);
16619
17462
  if (this.hasFile(file.path)) return null;
@@ -16622,8 +17465,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16622
17465
  this.addToPluginsPbxGroup(file);
16623
17466
  return file;
16624
17467
  };
16625
- pbxProject.prototype.removePluginFile = function(path$10, opt) {
16626
- var file = new pbxFile(path$10, opt);
17468
+ pbxProject.prototype.removePluginFile = function(path$13, opt) {
17469
+ var file = new pbxFile(path$13, opt);
16627
17470
  correctForPluginsPath(file, this);
16628
17471
  this.removeFromPbxFileReferenceSection(file);
16629
17472
  this.removeFromPluginsPbxGroup(file);
@@ -16641,8 +17484,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16641
17484
  this.addToProductsPbxGroup(file);
16642
17485
  return file;
16643
17486
  };
16644
- pbxProject.prototype.removeProductFile = function(path$10, opt) {
16645
- var file = new pbxFile(path$10, opt);
17487
+ pbxProject.prototype.removeProductFile = function(path$13, opt) {
17488
+ var file = new pbxFile(path$13, opt);
16646
17489
  this.removeFromProductsPbxGroup(file);
16647
17490
  return file;
16648
17491
  };
@@ -16653,10 +17496,10 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16653
17496
  * @param group {String} group key
16654
17497
  * @returns {Object} file; see pbxFile
16655
17498
  */
16656
- pbxProject.prototype.addSourceFile = function(path$10, opt, group) {
17499
+ pbxProject.prototype.addSourceFile = function(path$13, opt, group) {
16657
17500
  var file;
16658
- if (group) file = this.addFile(path$10, group, opt);
16659
- else file = this.addPluginFile(path$10, opt);
17501
+ if (group) file = this.addFile(path$13, group, opt);
17502
+ else file = this.addPluginFile(path$13, opt);
16660
17503
  if (!file) return false;
16661
17504
  file.target = opt ? opt.target : void 0;
16662
17505
  file.uuid = this.generateUuid();
@@ -16671,10 +17514,10 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16671
17514
  * @param group {String} group key
16672
17515
  * @returns {Object} file; see pbxFile
16673
17516
  */
16674
- pbxProject.prototype.removeSourceFile = function(path$10, opt, group) {
17517
+ pbxProject.prototype.removeSourceFile = function(path$13, opt, group) {
16675
17518
  var file;
16676
- if (group) file = this.removeFile(path$10, group, opt);
16677
- else file = this.removePluginFile(path$10, opt);
17519
+ if (group) file = this.removeFile(path$13, group, opt);
17520
+ else file = this.removePluginFile(path$13, opt);
16678
17521
  file.target = opt ? opt.target : void 0;
16679
17522
  this.removeFromPbxBuildFileSection(file);
16680
17523
  this.removeFromPbxSourcesBuildPhase(file);
@@ -16687,9 +17530,9 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16687
17530
  * @param group {String} group key
16688
17531
  * @returns {Object} file; see pbxFile
16689
17532
  */
16690
- pbxProject.prototype.addHeaderFile = function(path$10, opt, group) {
16691
- if (group) return this.addFile(path$10, group, opt);
16692
- else return this.addPluginFile(path$10, opt);
17533
+ pbxProject.prototype.addHeaderFile = function(path$13, opt, group) {
17534
+ if (group) return this.addFile(path$13, group, opt);
17535
+ else return this.addPluginFile(path$13, opt);
16693
17536
  };
16694
17537
  /**
16695
17538
  *
@@ -16698,9 +17541,9 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16698
17541
  * @param group {String} group key
16699
17542
  * @returns {Object} file; see pbxFile
16700
17543
  */
16701
- pbxProject.prototype.removeHeaderFile = function(path$10, opt, group) {
16702
- if (group) return this.removeFile(path$10, group, opt);
16703
- else return this.removePluginFile(path$10, opt);
17544
+ pbxProject.prototype.removeHeaderFile = function(path$13, opt, group) {
17545
+ if (group) return this.removeFile(path$13, group, opt);
17546
+ else return this.removePluginFile(path$13, opt);
16704
17547
  };
16705
17548
  /**
16706
17549
  *
@@ -16709,14 +17552,14 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16709
17552
  * @param group {String} group key
16710
17553
  * @returns {Object} file; see pbxFile
16711
17554
  */
16712
- pbxProject.prototype.addResourceFile = function(path$10, opt, group) {
17555
+ pbxProject.prototype.addResourceFile = function(path$13, opt, group) {
16713
17556
  opt = opt || {};
16714
17557
  var file;
16715
17558
  if (opt.plugin) {
16716
- file = this.addPluginFile(path$10, opt);
17559
+ file = this.addPluginFile(path$13, opt);
16717
17560
  if (!file) return false;
16718
17561
  } else {
16719
- file = new pbxFile(path$10, opt);
17562
+ file = new pbxFile(path$13, opt);
16720
17563
  if (this.hasFile(file.path)) return false;
16721
17564
  }
16722
17565
  file.uuid = this.generateUuid();
@@ -16745,8 +17588,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16745
17588
  * @param group {String} group key
16746
17589
  * @returns {Object} file; see pbxFile
16747
17590
  */
16748
- pbxProject.prototype.removeResourceFile = function(path$10, opt, group) {
16749
- var file = new pbxFile(path$10, opt);
17591
+ pbxProject.prototype.removeResourceFile = function(path$13, opt, group) {
17592
+ var file = new pbxFile(path$13, opt);
16750
17593
  file.target = opt ? opt.target : void 0;
16751
17594
  correctForResourcesPath(file, this);
16752
17595
  this.removeFromPbxBuildFileSection(file);
@@ -16835,14 +17678,14 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16835
17678
  break;
16836
17679
  }
16837
17680
  };
16838
- pbxProject.prototype.addStaticLibrary = function(path$10, opt) {
17681
+ pbxProject.prototype.addStaticLibrary = function(path$13, opt) {
16839
17682
  opt = opt || {};
16840
17683
  var file;
16841
17684
  if (opt.plugin) {
16842
- file = this.addPluginFile(path$10, opt);
17685
+ file = this.addPluginFile(path$13, opt);
16843
17686
  if (!file) return false;
16844
17687
  } else {
16845
- file = new pbxFile(path$10, opt);
17688
+ file = new pbxFile(path$13, opt);
16846
17689
  if (this.hasFile(file.path)) return false;
16847
17690
  }
16848
17691
  file.uuid = this.generateUuid();
@@ -16870,12 +17713,12 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
16870
17713
  delete this.pbxBuildFileSection()[commentKey];
16871
17714
  }
16872
17715
  };
16873
- pbxProject.prototype.addPbxGroup = function(filePathsArray, name, path$10, sourceTree) {
17716
+ pbxProject.prototype.addPbxGroup = function(filePathsArray, name, path$13, sourceTree) {
16874
17717
  var groups = this.hash.project.objects["PBXGroup"], pbxGroupUuid = this.generateUuid(), commentKey = f("%s_comment", pbxGroupUuid), pbxGroup = {
16875
17718
  isa: "PBXGroup",
16876
17719
  children: [],
16877
17720
  name,
16878
- path: path$10,
17721
+ path: path$13,
16879
17722
  sourceTree: sourceTree ? sourceTree : "\"<group>\""
16880
17723
  }, fileReferenceSection = this.pbxFileReferenceSection(), filePathToReference = {};
16881
17724
  for (var key$3 in fileReferenceSection) {
@@ -17147,8 +17990,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
17147
17990
  });
17148
17991
  for (var key$3 in buildFileSection) {
17149
17992
  if (!COMMENT_KEY.test(key$3)) continue;
17150
- var buildFileKey = key$3.split(COMMENT_KEY)[0], buildFile = buildFileSection[buildFileKey];
17151
- fileReference = fileReferenceSection[buildFile.fileRef];
17993
+ var buildFileKey = key$3.split(COMMENT_KEY)[0];
17994
+ fileReference = fileReferenceSection[buildFileSection[buildFileKey].fileRef];
17152
17995
  if (!fileReference) continue;
17153
17996
  var pbxFileObj = new pbxFile(fileReference.path);
17154
17997
  filePathToBuildFile[fileReference.path] = {
@@ -17467,7 +18310,7 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
17467
18310
  elem.buildSettings.PRODUCT_BUNDLE_IDENTIFIER = "\"" + targetBundleId + "\"";
17468
18311
  return elem;
17469
18312
  });
17470
- var buildConfigurations = this.addXCConfigurationList(buildConfigurationsList, "Release", "Build configuration list for PBXNativeTarget \"" + targetName + "\""), productName = targetName, productType = producttypeForTargettype(targetType), productFileType = filetypeForProducttype(productType), productFile = this.addProductFile(productName, {
18313
+ var buildConfigurations = this.addXCConfigurationList(buildConfigurationsList, "Release", "Build configuration list for PBXNativeTarget \"" + targetName + "\""), productName = targetName, productFileType = filetypeForProducttype(producttypeForTargettype(targetType)), productFile = this.addProductFile(productName, {
17471
18314
  group: "Copy Files",
17472
18315
  "target": targetUuid,
17473
18316
  "explicitFileType": productFileType
@@ -17654,18 +18497,16 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
17654
18497
  pbxProject.prototype.getFirstProject = function() {
17655
18498
  var pbxProjectContainer = this.pbxProjectSection();
17656
18499
  var firstProjectUuid = Object.keys(pbxProjectContainer)[0];
17657
- var firstProject = pbxProjectContainer[firstProjectUuid];
17658
18500
  return {
17659
18501
  uuid: firstProjectUuid,
17660
- firstProject
18502
+ firstProject: pbxProjectContainer[firstProjectUuid]
17661
18503
  };
17662
18504
  };
17663
18505
  pbxProject.prototype.getFirstTarget = function() {
17664
18506
  var firstTargetUuid = this.getFirstProject()["firstProject"]["targets"][0].value;
17665
- var firstTarget = this.pbxNativeTargetSection()[firstTargetUuid];
17666
18507
  return {
17667
18508
  uuid: firstTargetUuid,
17668
- firstTarget
18509
+ firstTarget: this.pbxNativeTargetSection()[firstTargetUuid]
17669
18510
  };
17670
18511
  };
17671
18512
  pbxProject.prototype.getTarget = function(productType) {
@@ -17673,13 +18514,10 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
17673
18514
  var nativeTargets = this.pbxNativeTargetSection();
17674
18515
  for (var i$4 = 0; i$4 < targets.length; i$4++) {
17675
18516
  var targetUuid = targets[i$4].value;
17676
- if (nativeTargets[targetUuid]["productType"] === "\"" + productType + "\"") {
17677
- var nativeTarget = this.pbxNativeTargetSection()[targetUuid];
17678
- return {
17679
- uuid: targetUuid,
17680
- target: nativeTarget
17681
- };
17682
- }
18517
+ if (nativeTargets[targetUuid]["productType"] === "\"" + productType + "\"") return {
18518
+ uuid: targetUuid,
18519
+ target: this.pbxNativeTargetSection()[targetUuid]
18520
+ };
17683
18521
  }
17684
18522
  return null;
17685
18523
  };
@@ -17814,8 +18652,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
17814
18652
  pbxProject.prototype.getPBXObject = function(name) {
17815
18653
  return this.hash.project.objects[name];
17816
18654
  };
17817
- pbxProject.prototype.addFile = function(path$10, group, opt) {
17818
- var file = new pbxFile(path$10, opt);
18655
+ pbxProject.prototype.addFile = function(path$13, group, opt) {
18656
+ var file = new pbxFile(path$13, opt);
17819
18657
  if (this.hasFile(file.path)) return null;
17820
18658
  file.fileRef = this.generateUuid();
17821
18659
  this.addToPbxFileReferenceSection(file);
@@ -17823,8 +18661,8 @@ var require_pbxProject = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/
17823
18661
  else if (this.getPBXVariantGroupByKey(group)) this.addToPbxVariantGroup(file, group);
17824
18662
  return file;
17825
18663
  };
17826
- pbxProject.prototype.removeFile = function(path$10, group, opt) {
17827
- var file = new pbxFile(path$10, opt);
18664
+ pbxProject.prototype.removeFile = function(path$13, group, opt) {
18665
+ var file = new pbxFile(path$13, opt);
17828
18666
  this.removeFromPbxFileReferenceSection(file);
17829
18667
  if (this.getPBXGroupByKey(group)) this.removeFromPbxGroup(file, group);
17830
18668
  else if (this.getPBXVariantGroupByKey(group)) this.removeFromPbxVariantGroup(file, group);
@@ -17935,16 +18773,20 @@ var require_xcode = /* @__PURE__ */ __commonJS({ "../../node_modules/xcode/index
17935
18773
  //#region node_modules/@expo/config-plugins/build/ios/utils/string.js
17936
18774
  var require_string = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/utils/string.js": ((exports) => {
17937
18775
  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
+ }
17938
18780
  }) });
17939
18781
 
17940
18782
  //#endregion
17941
18783
  //#region ../../node_modules/slash/index.js
17942
18784
  var require_slash = /* @__PURE__ */ __commonJS({ "../../node_modules/slash/index.js": ((exports, module) => {
17943
- module.exports = (path$10) => {
17944
- const isExtendedLengthPath = /^\\\\\?\\/.test(path$10);
17945
- const hasNonAscii = /[^\u0000-\u0080]+/.test(path$10);
17946
- if (isExtendedLengthPath || hasNonAscii) return path$10;
17947
- return path$10.replace(/\\/g, "/");
18785
+ module.exports = (path$13) => {
18786
+ const isExtendedLengthPath = /^\\\\\?\\/.test(path$13);
18787
+ const hasNonAscii = /[^\u0000-\u0080]+/.test(path$13);
18788
+ if (isExtendedLengthPath || hasNonAscii) return path$13;
18789
+ return path$13.replace(/\\/g, "/");
17948
18790
  };
17949
18791
  }) });
17950
18792
 
@@ -18041,6 +18883,7 @@ var require_BuildScheme = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
18041
18883
  //#region node_modules/@expo/config-plugins/build/ios/Target.js
18042
18884
  var require_Target = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Target.js": ((exports) => {
18043
18885
  Object.defineProperty(exports, "__esModule", { value: true });
18886
+ exports.TargetType = void 0;
18044
18887
  exports.findApplicationTargetWithDependenciesAsync = findApplicationTargetWithDependenciesAsync;
18045
18888
  exports.findFirstNativeTarget = findFirstNativeTarget;
18046
18889
  exports.findNativeTargetByName = findNativeTargetByName;
@@ -18158,6 +19001,18 @@ var require_Target = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
18158
19001
  //#region node_modules/@expo/config-plugins/build/utils/obj.js
18159
19002
  var require_obj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/obj.js": ((exports) => {
18160
19003
  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
+ }
18161
19016
  }) });
18162
19017
 
18163
19018
  //#endregion
@@ -18167,6 +19022,7 @@ var require_ios_plugins = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
18167
19022
  exports.createEntitlementsPlugin = createEntitlementsPlugin;
18168
19023
  exports.createInfoPlistPlugin = createInfoPlistPlugin;
18169
19024
  exports.createInfoPlistPluginWithPropertyGuard = createInfoPlistPluginWithPropertyGuard;
19025
+ exports.withXcodeProject = exports.withPodfileProperties = exports.withPodfile = exports.withInfoPlist = exports.withExpoPlist = exports.withEntitlementsPlist = exports.withAppDelegate = void 0;
18170
19026
  function _withMod$3() {
18171
19027
  const data = require_withMod();
18172
19028
  _withMod$3 = function() {
@@ -18343,22 +19199,23 @@ var require_Entitlements = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
18343
19199
  exports.ensureApplicationTargetEntitlementsFileConfigured = ensureApplicationTargetEntitlementsFileConfigured;
18344
19200
  exports.getEntitlementsPath = getEntitlementsPath$1;
18345
19201
  exports.setAssociatedDomains = setAssociatedDomains;
19202
+ exports.withAssociatedDomains = void 0;
18346
19203
  function _fs$10() {
18347
- const data = _interopRequireDefault$15(__require("fs"));
19204
+ const data = _interopRequireDefault$16(__require("fs"));
18348
19205
  _fs$10 = function() {
18349
19206
  return data;
18350
19207
  };
18351
19208
  return data;
18352
19209
  }
18353
19210
  function _path$10() {
18354
- const data = _interopRequireDefault$15(__require("path"));
19211
+ const data = _interopRequireDefault$16(__require("path"));
18355
19212
  _path$10 = function() {
18356
19213
  return data;
18357
19214
  };
18358
19215
  return data;
18359
19216
  }
18360
19217
  function _slash() {
18361
- const data = _interopRequireDefault$15(require_slash());
19218
+ const data = _interopRequireDefault$16(require_slash());
18362
19219
  _slash = function() {
18363
19220
  return data;
18364
19221
  };
@@ -18392,7 +19249,7 @@ var require_Entitlements = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
18392
19249
  };
18393
19250
  return data;
18394
19251
  }
18395
- function _interopRequireDefault$15(obj) {
19252
+ function _interopRequireDefault$16(obj) {
18396
19253
  return obj && obj.__esModule ? obj : { default: obj };
18397
19254
  }
18398
19255
  exports.withAssociatedDomains = (0, _iosPlugins$18().createEntitlementsPlugin)(setAssociatedDomains, "withAssociatedDomains");
@@ -18615,8 +19472,7 @@ var require_Paths = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
18615
19472
  };
18616
19473
  }
18617
19474
  function getAppDelegate(projectRoot) {
18618
- const filePath = getAppDelegateFilePath(projectRoot);
18619
- return getFileInfo(filePath);
19475
+ return getFileInfo(getAppDelegateFilePath(projectRoot));
18620
19476
  }
18621
19477
  function getSourceRoot(projectRoot) {
18622
19478
  const appDelegate = getAppDelegate(projectRoot);
@@ -18749,35 +19605,35 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
18749
19605
  exports.sanitizedName = sanitizedName;
18750
19606
  exports.unquote = unquote;
18751
19607
  function _assert$3() {
18752
- const data = _interopRequireDefault$14(__require("assert"));
19608
+ const data = _interopRequireDefault$15(__require("assert"));
18753
19609
  _assert$3 = function() {
18754
19610
  return data;
18755
19611
  };
18756
19612
  return data;
18757
19613
  }
18758
19614
  function _path$9() {
18759
- const data = _interopRequireDefault$14(__require("path"));
19615
+ const data = _interopRequireDefault$15(__require("path"));
18760
19616
  _path$9 = function() {
18761
19617
  return data;
18762
19618
  };
18763
19619
  return data;
18764
19620
  }
18765
19621
  function _slugify() {
18766
- const data = _interopRequireDefault$14(require_slugify());
19622
+ const data = _interopRequireDefault$15(require_slugify());
18767
19623
  _slugify = function() {
18768
19624
  return data;
18769
19625
  };
18770
19626
  return data;
18771
19627
  }
18772
19628
  function _xcode$3() {
18773
- const data = _interopRequireDefault$14(require_xcode());
19629
+ const data = _interopRequireDefault$15(require_xcode());
18774
19630
  _xcode$3 = function() {
18775
19631
  return data;
18776
19632
  };
18777
19633
  return data;
18778
19634
  }
18779
19635
  function _pbxFile() {
18780
- const data = _interopRequireDefault$14(require_pbxFile());
19636
+ const data = _interopRequireDefault$15(require_pbxFile());
18781
19637
  _pbxFile = function() {
18782
19638
  return data;
18783
19639
  };
@@ -18823,7 +19679,7 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
18823
19679
  }
18824
19680
  return n.default = e, t$5 && t$5.set(e, n), n;
18825
19681
  }
18826
- function _interopRequireDefault$14(obj) {
19682
+ function _interopRequireDefault$15(obj) {
18827
19683
  return obj && obj.__esModule ? obj : { default: obj };
18828
19684
  }
18829
19685
  /**
@@ -18943,8 +19799,8 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
18943
19799
  });
18944
19800
  return project.addFramework(framework, { target: target.uuid });
18945
19801
  }
18946
- function splitPath(path$10) {
18947
- return path$10.split("/");
19802
+ function splitPath(path$13) {
19803
+ return path$13.split("/");
18948
19804
  }
18949
19805
  const findGroup = (group, name) => {
18950
19806
  if (!group) return;
@@ -18955,16 +19811,16 @@ var require_Xcodeproj = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-
18955
19811
  if (foundGroup) return project.getPBXGroupByKey(foundGroup.value) ?? null;
18956
19812
  return null;
18957
19813
  }
18958
- function pbxGroupByPathOrAssert(project, path$10) {
19814
+ function pbxGroupByPathOrAssert(project, path$13) {
18959
19815
  const { firstProject } = project.getFirstProject();
18960
19816
  let group = project.getPBXGroupByKey(firstProject.mainGroup);
18961
- const components = splitPath(path$10);
19817
+ const components = splitPath(path$13);
18962
19818
  for (const name of components) {
18963
19819
  const nextGroup = findGroupInsideGroup(project, group, name);
18964
19820
  if (nextGroup) group = nextGroup;
18965
19821
  else break;
18966
19822
  }
18967
- if (!group) throw Error(`Xcode PBXGroup with name "${path$10}" could not be found in the Xcode project.`);
19823
+ if (!group) throw Error(`Xcode PBXGroup with name "${path$13}" could not be found in the Xcode project.`);
18968
19824
  return group;
18969
19825
  }
18970
19826
  function ensureGroupRecursively(project, filepath) {
@@ -19091,6 +19947,7 @@ var require_Bitcode = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
19091
19947
  exports.getBitcode = getBitcode;
19092
19948
  exports.setBitcode = setBitcode;
19093
19949
  exports.setBitcodeWithConfig = setBitcodeWithConfig;
19950
+ exports.withCustomBitcode = exports.withBitcode = void 0;
19094
19951
  function _Xcodeproj$11() {
19095
19952
  const data = require_Xcodeproj();
19096
19953
  _Xcodeproj$11 = function() {
@@ -19146,8 +20003,7 @@ var require_Bitcode = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
19146
20003
  * Enable or disable the `ENABLE_BITCODE` property of the project configurations.
19147
20004
  */
19148
20005
  function setBitcodeWithConfig(config, { project }) {
19149
- const bitcode = getBitcode(config);
19150
- return setBitcode(bitcode, { project });
20006
+ return setBitcode(getBitcode(config), { project });
19151
20007
  }
19152
20008
  /**
19153
20009
  * Enable or disable the `ENABLE_BITCODE` property.
@@ -19176,6 +20032,7 @@ var require_BuildProperties = /* @__PURE__ */ __commonJS({ "node_modules/@expo/c
19176
20032
  exports.createBuildPodfilePropsConfigPlugin = createBuildPodfilePropsConfigPlugin;
19177
20033
  exports.updateIosBuildPropertiesFromConfig = updateIosBuildPropertiesFromConfig;
19178
20034
  exports.updateIosBuildProperty = updateIosBuildProperty;
20035
+ exports.withJsEnginePodfileProps = void 0;
19179
20036
  function _iosPlugins$16() {
19180
20037
  const data = require_ios_plugins();
19181
20038
  _iosPlugins$16 = function() {
@@ -22211,6 +23068,7 @@ var require_build$2 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/plist/bui
22211
23068
  return mod && mod.__esModule ? mod : { "default": mod };
22212
23069
  };
22213
23070
  Object.defineProperty(exports, "__esModule", { value: true });
23071
+ exports.build = void 0;
22214
23072
  const base64_js_1 = __importDefault$2(require_base64_js());
22215
23073
  const xmlbuilder_1 = __importDefault$2(require_lib$5());
22216
23074
  /**
@@ -25822,10 +26680,10 @@ var require_sax = /* @__PURE__ */ __commonJS({ "node_modules/@xmldom/xmldom/lib/
25822
26680
  var domBuilder = this.domBuilder;
25823
26681
  domBuilder.startDocument();
25824
26682
  _copy(defaultNSMap, defaultNSMap = {});
25825
- parse$2(source$1, defaultNSMap, entityMap, domBuilder, this.errorHandler);
26683
+ parse$1(source$1, defaultNSMap, entityMap, domBuilder, this.errorHandler);
25826
26684
  domBuilder.endDocument();
25827
26685
  } };
25828
- function parse$2(source$1, defaultNSMapCopy, entityMap, domBuilder, errorHandler) {
26686
+ function parse$1(source$1, defaultNSMapCopy, entityMap, domBuilder, errorHandler) {
25829
26687
  function fixedFromCharCode(code$1) {
25830
26688
  if (code$1 > 65535) {
25831
26689
  code$1 -= 65536;
@@ -26481,6 +27339,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/plist/bui
26481
27339
  return mod && mod.__esModule ? mod : { "default": mod };
26482
27340
  };
26483
27341
  Object.defineProperty(exports, "__esModule", { value: true });
27342
+ exports.parse = void 0;
26484
27343
  const xmldom_1 = require_lib$4();
26485
27344
  const assert_1 = __importDefault$1(__require("assert"));
26486
27345
  const TEXT_NODE = 3;
@@ -26517,14 +27376,14 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "node_modules/@expo/plist/bui
26517
27376
  * @returns {Mixed} the decoded value from the Plist XML
26518
27377
  * @api public
26519
27378
  */
26520
- function parse$1(xml) {
27379
+ function parse(xml) {
26521
27380
  const doc = new xmldom_1.DOMParser({ errorHandler() {} }).parseFromString(xml);
26522
27381
  (0, assert_1.default)(doc.documentElement.nodeName === "plist", "malformed document. First element should be <plist>");
26523
27382
  let plist$1 = parsePlistXML(doc.documentElement);
26524
27383
  if (plist$1.length == 1) plist$1 = plist$1[0];
26525
27384
  return plist$1;
26526
27385
  }
26527
- exports.parse = parse$1;
27386
+ exports.parse = parse;
26528
27387
  /**
26529
27388
  * Convert an XML based plist document into a JSON representation.
26530
27389
  *
@@ -26621,29 +27480,30 @@ var require_BundleIdentifier = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
26621
27480
  exports.setBundleIdentifier = setBundleIdentifier;
26622
27481
  exports.setBundleIdentifierForPbxproj = setBundleIdentifierForPbxproj;
26623
27482
  exports.updateBundleIdentifierForPbxproj = updateBundleIdentifierForPbxproj;
27483
+ exports.withBundleIdentifier = void 0;
26624
27484
  function _plist$3() {
26625
- const data = _interopRequireDefault$13(require_build$1());
27485
+ const data = _interopRequireDefault$14(require_build$1());
26626
27486
  _plist$3 = function() {
26627
27487
  return data;
26628
27488
  };
26629
27489
  return data;
26630
27490
  }
26631
27491
  function _assert$2() {
26632
- const data = _interopRequireDefault$13(__require("assert"));
27492
+ const data = _interopRequireDefault$14(__require("assert"));
26633
27493
  _assert$2 = function() {
26634
27494
  return data;
26635
27495
  };
26636
27496
  return data;
26637
27497
  }
26638
27498
  function _fs$8() {
26639
- const data = _interopRequireDefault$13(__require("fs"));
27499
+ const data = _interopRequireDefault$14(__require("fs"));
26640
27500
  _fs$8 = function() {
26641
27501
  return data;
26642
27502
  };
26643
27503
  return data;
26644
27504
  }
26645
27505
  function _xcode$2() {
26646
- const data = _interopRequireDefault$13(require_xcode());
27506
+ const data = _interopRequireDefault$14(require_xcode());
26647
27507
  _xcode$2 = function() {
26648
27508
  return data;
26649
27509
  };
@@ -26684,7 +27544,7 @@ var require_BundleIdentifier = /* @__PURE__ */ __commonJS({ "node_modules/@expo/
26684
27544
  };
26685
27545
  return data;
26686
27546
  }
26687
- function _interopRequireDefault$13(obj) {
27547
+ function _interopRequireDefault$14(obj) {
26688
27548
  return obj && obj.__esModule ? obj : { default: obj };
26689
27549
  }
26690
27550
  const withBundleIdentifier = (config, { bundleIdentifier }) => {
@@ -26829,6 +27689,7 @@ var require_DeviceFamily = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
26829
27689
  exports.getIsTabletOnly = getIsTabletOnly;
26830
27690
  exports.getSupportsTablet = getSupportsTablet;
26831
27691
  exports.setDeviceFamily = setDeviceFamily;
27692
+ exports.withDeviceFamily = void 0;
26832
27693
  function _iosPlugins$14() {
26833
27694
  const data = require_ios_plugins();
26834
27695
  _iosPlugins$14 = function() {
@@ -26894,6 +27755,7 @@ var require_Scheme = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
26894
27755
  exports.hasScheme = hasScheme;
26895
27756
  exports.removeScheme = removeScheme;
26896
27757
  exports.setScheme = setScheme;
27758
+ exports.withScheme = void 0;
26897
27759
  function _iosPlugins$13() {
26898
27760
  const data = require_ios_plugins();
26899
27761
  _iosPlugins$13 = function() {
@@ -26968,29 +27830,30 @@ var require_Google = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
26968
27830
  exports.setGoogleConfig = setGoogleConfig;
26969
27831
  exports.setGoogleServicesFile = setGoogleServicesFile;
26970
27832
  exports.setGoogleSignInReversedClientId = setGoogleSignInReversedClientId;
27833
+ exports.withGoogleServicesFile = exports.withGoogle = void 0;
26971
27834
  function _plist$2() {
26972
- const data = _interopRequireDefault$12(require_build$1());
27835
+ const data = _interopRequireDefault$13(require_build$1());
26973
27836
  _plist$2 = function() {
26974
27837
  return data;
26975
27838
  };
26976
27839
  return data;
26977
27840
  }
26978
27841
  function _assert$1() {
26979
- const data = _interopRequireDefault$12(__require("assert"));
27842
+ const data = _interopRequireDefault$13(__require("assert"));
26980
27843
  _assert$1 = function() {
26981
27844
  return data;
26982
27845
  };
26983
27846
  return data;
26984
27847
  }
26985
27848
  function _fs$7() {
26986
- const data = _interopRequireDefault$12(__require("fs"));
27849
+ const data = _interopRequireDefault$13(__require("fs"));
26987
27850
  _fs$7 = function() {
26988
27851
  return data;
26989
27852
  };
26990
27853
  return data;
26991
27854
  }
26992
27855
  function _path$8() {
26993
- const data = _interopRequireDefault$12(__require("path"));
27856
+ const data = _interopRequireDefault$13(__require("path"));
26994
27857
  _path$8 = function() {
26995
27858
  return data;
26996
27859
  };
@@ -27024,7 +27887,7 @@ var require_Google = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plu
27024
27887
  };
27025
27888
  return data;
27026
27889
  }
27027
- function _interopRequireDefault$12(obj) {
27890
+ function _interopRequireDefault$13(obj) {
27028
27891
  return obj && obj.__esModule ? obj : { default: obj };
27029
27892
  }
27030
27893
  const withGoogle = (config) => {
@@ -29624,13 +30487,10 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
29624
30487
  ];
29625
30488
  }
29626
30489
  var mult = (~~(args > 50) + 1) * .5;
29627
- var r = (color & 1) * mult * 255;
29628
- var g = (color >> 1 & 1) * mult * 255;
29629
- var b = (color >> 2 & 1) * mult * 255;
29630
30490
  return [
29631
- r,
29632
- g,
29633
- b
30491
+ (color & 1) * mult * 255,
30492
+ (color >> 1 & 1) * mult * 255,
30493
+ (color >> 2 & 1) * mult * 255
29634
30494
  ];
29635
30495
  };
29636
30496
  convert$1.ansi256.rgb = function(args) {
@@ -29644,13 +30504,10 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
29644
30504
  }
29645
30505
  args -= 16;
29646
30506
  var rem;
29647
- var r = Math.floor(args / 36) / 5 * 255;
29648
- var g = Math.floor((rem = args % 36) / 6) / 5 * 255;
29649
- var b = rem % 6 / 5 * 255;
29650
30507
  return [
29651
- r,
29652
- g,
29653
- b
30508
+ Math.floor(args / 36) / 5 * 255,
30509
+ Math.floor((rem = args % 36) / 6) / 5 * 255,
30510
+ rem % 6 / 5 * 255
29654
30511
  ];
29655
30512
  };
29656
30513
  convert$1.rgb.hex = function(args) {
@@ -29669,13 +30526,10 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
29669
30526
  return char + char;
29670
30527
  }).join("");
29671
30528
  var integer = parseInt(colorString, 16);
29672
- var r = integer >> 16 & 255;
29673
- var g = integer >> 8 & 255;
29674
- var b = integer & 255;
29675
30529
  return [
29676
- r,
29677
- g,
29678
- b
30530
+ integer >> 16 & 255,
30531
+ integer >> 8 & 255,
30532
+ integer & 255
29679
30533
  ];
29680
30534
  };
29681
30535
  convert$1.rgb.hcg = function(rgb) {
@@ -29785,8 +30639,7 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
29785
30639
  };
29786
30640
  convert$1.hcg.hsv = function(hcg) {
29787
30641
  var c$1 = hcg[1] / 100;
29788
- var g = hcg[2] / 100;
29789
- var v = c$1 + g * (1 - c$1);
30642
+ var v = c$1 + hcg[2] / 100 * (1 - c$1);
29790
30643
  var f$2 = 0;
29791
30644
  if (v > 0) f$2 = c$1 / v;
29792
30645
  return [
@@ -29809,8 +30662,7 @@ var require_conversions = /* @__PURE__ */ __commonJS({ "../../node_modules/@babe
29809
30662
  };
29810
30663
  convert$1.hcg.hwb = function(hcg) {
29811
30664
  var c$1 = hcg[1] / 100;
29812
- var g = hcg[2] / 100;
29813
- var v = c$1 + g * (1 - c$1);
30665
+ var v = c$1 + hcg[2] / 100 * (1 - c$1);
29814
30666
  return [
29815
30667
  hcg[0],
29816
30668
  (v - c$1) * 100,
@@ -29904,10 +30756,10 @@ var require_route = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
29904
30756
  }
29905
30757
  function deriveBFS(fromModel) {
29906
30758
  var graph = buildGraph();
29907
- var queue$1 = [fromModel];
30759
+ var queue = [fromModel];
29908
30760
  graph[fromModel].distance = 0;
29909
- while (queue$1.length) {
29910
- var current = queue$1.pop();
30761
+ while (queue.length) {
30762
+ var current = queue.pop();
29911
30763
  var adjacents = Object.keys(conversions$1[current]);
29912
30764
  for (var len$1 = adjacents.length, i$4 = 0; i$4 < len$1; i$4++) {
29913
30765
  var adjacent = adjacents[i$4];
@@ -29915,7 +30767,7 @@ var require_route = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
29915
30767
  if (node.distance === -1) {
29916
30768
  node.distance = graph[current].distance + 1;
29917
30769
  node.parent = current;
29918
- queue$1.unshift(adjacent);
30770
+ queue.unshift(adjacent);
29919
30771
  }
29920
30772
  }
29921
30773
  }
@@ -29927,15 +30779,15 @@ var require_route = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
29927
30779
  };
29928
30780
  }
29929
30781
  function wrapConversion(toModel, graph) {
29930
- var path$10 = [graph[toModel].parent, toModel];
30782
+ var path$13 = [graph[toModel].parent, toModel];
29931
30783
  var fn = conversions$1[graph[toModel].parent][toModel];
29932
30784
  var cur = graph[toModel].parent;
29933
30785
  while (graph[cur].parent) {
29934
- path$10.unshift(graph[cur].parent);
30786
+ path$13.unshift(graph[cur].parent);
29935
30787
  fn = link(conversions$1[graph[cur].parent][cur], fn);
29936
30788
  cur = graph[cur].parent;
29937
30789
  }
29938
- fn.conversion = path$10;
30790
+ fn.conversion = path$13;
29939
30791
  return fn;
29940
30792
  }
29941
30793
  module.exports = function(fromModel) {
@@ -30184,8 +31036,7 @@ var require_supports_color = /* @__PURE__ */ __commonJS({ "../../node_modules/@b
30184
31036
  return min;
30185
31037
  }
30186
31038
  function getSupportLevel(stream) {
30187
- const level = supportsColor(stream);
30188
- return translateLevel(level);
31039
+ return translateLevel(supportsColor(stream));
30189
31040
  }
30190
31041
  module.exports = {
30191
31042
  supportsColor: getSupportLevel,
@@ -30519,10 +31370,8 @@ var require_lib$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/@babel/high
30519
31370
  return colors;
30520
31371
  }
30521
31372
  function highlight(code$1, options = {}) {
30522
- if (code$1 !== "" && shouldHighlight(options)) {
30523
- const defs = getDefs$1(getColors(options.forceColor));
30524
- return highlightTokens(defs, code$1);
30525
- } else return code$1;
31373
+ if (code$1 !== "" && shouldHighlight(options)) return highlightTokens(getDefs$1(getColors(options.forceColor)), code$1);
31374
+ else return code$1;
30526
31375
  }
30527
31376
  {
30528
31377
  let chalk$1, chalkWithForcedColor;
@@ -30600,10 +31449,8 @@ var require_lib$1 = /* @__PURE__ */ __commonJS({ "node_modules/@babel/code-frame
30600
31449
  if (lineDiff) for (let i$4 = 0; i$4 <= lineDiff; i$4++) {
30601
31450
  const lineNumber = i$4 + startLine;
30602
31451
  if (!startColumn) markerLines[lineNumber] = true;
30603
- else if (i$4 === 0) {
30604
- const sourceLength = source$1[lineNumber - 1].length;
30605
- markerLines[lineNumber] = [startColumn, sourceLength - startColumn + 1];
30606
- } else if (i$4 === lineDiff) markerLines[lineNumber] = [0, endColumn];
31452
+ else if (i$4 === 0) markerLines[lineNumber] = [startColumn, source$1[lineNumber - 1].length - startColumn + 1];
31453
+ else if (i$4 === lineDiff) markerLines[lineNumber] = [0, endColumn];
30607
31454
  else markerLines[lineNumber] = [0, source$1[lineNumber - i$4].length];
30608
31455
  }
30609
31456
  else if (startColumn === endColumn) if (startColumn) markerLines[startLine] = [startColumn, 0];
@@ -30622,8 +31469,7 @@ var require_lib$1 = /* @__PURE__ */ __commonJS({ "node_modules/@babel/code-frame
30622
31469
  const maybeHighlight = (chalkFn, string) => {
30623
31470
  return highlighted ? chalkFn(string) : string;
30624
31471
  };
30625
- const lines = rawLines.split(NEWLINE);
30626
- const { start, end, markerLines } = getMarkerLines(loc, lines, opts);
31472
+ const { start, end, markerLines } = getMarkerLines(loc, rawLines.split(NEWLINE), opts);
30627
31473
  const hasColumns = loc.start && typeof loc.start.column === "number";
30628
31474
  const numberMaxWidth = String(end).length;
30629
31475
  let frame = (highlighted ? (0, _highlight.default)(rawLines, opts) : rawLines).split(NEWLINE).slice(start, end).map((line$1, index) => {
@@ -30719,7 +31565,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/p
30719
31565
  let token;
30720
31566
  let key$1;
30721
31567
  let root;
30722
- module.exports = function parse$12(text, reviver) {
31568
+ module.exports = function parse$11(text, reviver) {
30723
31569
  source = String(text);
30724
31570
  parseState = "start";
30725
31571
  stack = [];
@@ -31458,7 +32304,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/p
31458
32304
  //#region ../../node_modules/json5/lib/stringify.js
31459
32305
  var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/stringify.js": ((exports, module) => {
31460
32306
  const util$1 = require_util();
31461
- module.exports = function stringify$1(value, replacer, space) {
32307
+ module.exports = function stringify(value, replacer, space) {
31462
32308
  const stack$1 = [];
31463
32309
  let indent = "";
31464
32310
  let propertyList;
@@ -31624,11 +32470,9 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/l
31624
32470
  //#endregion
31625
32471
  //#region ../../node_modules/json5/lib/index.js
31626
32472
  var require_lib = /* @__PURE__ */ __commonJS({ "../../node_modules/json5/lib/index.js": ((exports, module) => {
31627
- const parse = require_parse();
31628
- const stringify = require_stringify();
31629
32473
  const JSON5 = {
31630
- parse,
31631
- stringify
32474
+ parse: require_parse(),
32475
+ stringify: require_stringify()
31632
32476
  };
31633
32477
  module.exports = JSON5;
31634
32478
  }) });
@@ -31656,47 +32500,47 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31656
32500
  if (Object.setPrototypeOf) Object.setPrototypeOf(process.chdir, chdir);
31657
32501
  }
31658
32502
  module.exports = patch$1;
31659
- function patch$1(fs$8) {
31660
- if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) patchLchmod(fs$8);
31661
- if (!fs$8.lutimes) patchLutimes(fs$8);
31662
- fs$8.chown = chownFix(fs$8.chown);
31663
- fs$8.fchown = chownFix(fs$8.fchown);
31664
- fs$8.lchown = chownFix(fs$8.lchown);
31665
- fs$8.chmod = chmodFix(fs$8.chmod);
31666
- fs$8.fchmod = chmodFix(fs$8.fchmod);
31667
- fs$8.lchmod = chmodFix(fs$8.lchmod);
31668
- fs$8.chownSync = chownFixSync(fs$8.chownSync);
31669
- fs$8.fchownSync = chownFixSync(fs$8.fchownSync);
31670
- fs$8.lchownSync = chownFixSync(fs$8.lchownSync);
31671
- fs$8.chmodSync = chmodFixSync(fs$8.chmodSync);
31672
- fs$8.fchmodSync = chmodFixSync(fs$8.fchmodSync);
31673
- fs$8.lchmodSync = chmodFixSync(fs$8.lchmodSync);
31674
- fs$8.stat = statFix(fs$8.stat);
31675
- fs$8.fstat = statFix(fs$8.fstat);
31676
- fs$8.lstat = statFix(fs$8.lstat);
31677
- fs$8.statSync = statFixSync(fs$8.statSync);
31678
- fs$8.fstatSync = statFixSync(fs$8.fstatSync);
31679
- fs$8.lstatSync = statFixSync(fs$8.lstatSync);
31680
- if (fs$8.chmod && !fs$8.lchmod) {
31681
- fs$8.lchmod = function(path$10, mode, cb) {
32503
+ function patch$1(fs$10) {
32504
+ if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) patchLchmod(fs$10);
32505
+ if (!fs$10.lutimes) patchLutimes(fs$10);
32506
+ fs$10.chown = chownFix(fs$10.chown);
32507
+ fs$10.fchown = chownFix(fs$10.fchown);
32508
+ fs$10.lchown = chownFix(fs$10.lchown);
32509
+ fs$10.chmod = chmodFix(fs$10.chmod);
32510
+ fs$10.fchmod = chmodFix(fs$10.fchmod);
32511
+ fs$10.lchmod = chmodFix(fs$10.lchmod);
32512
+ fs$10.chownSync = chownFixSync(fs$10.chownSync);
32513
+ fs$10.fchownSync = chownFixSync(fs$10.fchownSync);
32514
+ fs$10.lchownSync = chownFixSync(fs$10.lchownSync);
32515
+ fs$10.chmodSync = chmodFixSync(fs$10.chmodSync);
32516
+ fs$10.fchmodSync = chmodFixSync(fs$10.fchmodSync);
32517
+ fs$10.lchmodSync = chmodFixSync(fs$10.lchmodSync);
32518
+ fs$10.stat = statFix(fs$10.stat);
32519
+ fs$10.fstat = statFix(fs$10.fstat);
32520
+ fs$10.lstat = statFix(fs$10.lstat);
32521
+ fs$10.statSync = statFixSync(fs$10.statSync);
32522
+ fs$10.fstatSync = statFixSync(fs$10.fstatSync);
32523
+ fs$10.lstatSync = statFixSync(fs$10.lstatSync);
32524
+ if (fs$10.chmod && !fs$10.lchmod) {
32525
+ fs$10.lchmod = function(path$13, mode, cb) {
31682
32526
  if (cb) process.nextTick(cb);
31683
32527
  };
31684
- fs$8.lchmodSync = function() {};
32528
+ fs$10.lchmodSync = function() {};
31685
32529
  }
31686
- if (fs$8.chown && !fs$8.lchown) {
31687
- fs$8.lchown = function(path$10, uid, gid, cb) {
32530
+ if (fs$10.chown && !fs$10.lchown) {
32531
+ fs$10.lchown = function(path$13, uid, gid, cb) {
31688
32532
  if (cb) process.nextTick(cb);
31689
32533
  };
31690
- fs$8.lchownSync = function() {};
32534
+ fs$10.lchownSync = function() {};
31691
32535
  }
31692
- if (platform === "win32") fs$8.rename = typeof fs$8.rename !== "function" ? fs$8.rename : (function(fs$rename) {
32536
+ if (platform === "win32") fs$10.rename = typeof fs$10.rename !== "function" ? fs$10.rename : (function(fs$rename) {
31693
32537
  function rename(from, to, cb) {
31694
32538
  var start = Date.now();
31695
32539
  var backoff = 0;
31696
32540
  fs$rename(from, to, function CB(er) {
31697
32541
  if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 6e4) {
31698
32542
  setTimeout(function() {
31699
- fs$8.stat(to, function(stater, st) {
32543
+ fs$10.stat(to, function(stater, st) {
31700
32544
  if (stater && stater.code === "ENOENT") fs$rename(from, to, CB);
31701
32545
  else cb(er);
31702
32546
  });
@@ -31709,8 +32553,8 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31709
32553
  }
31710
32554
  if (Object.setPrototypeOf) Object.setPrototypeOf(rename, fs$rename);
31711
32555
  return rename;
31712
- })(fs$8.rename);
31713
- fs$8.read = typeof fs$8.read !== "function" ? fs$8.read : (function(fs$read) {
32556
+ })(fs$10.rename);
32557
+ fs$10.read = typeof fs$10.read !== "function" ? fs$10.read : (function(fs$read) {
31714
32558
  function read$2(fd, buffer$1, offset, length, position$1, callback_) {
31715
32559
  var callback;
31716
32560
  if (callback_ && typeof callback_ === "function") {
@@ -31718,21 +32562,21 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31718
32562
  callback = function(er, _$2, __) {
31719
32563
  if (er && er.code === "EAGAIN" && eagCounter < 10) {
31720
32564
  eagCounter++;
31721
- return fs$read.call(fs$8, fd, buffer$1, offset, length, position$1, callback);
32565
+ return fs$read.call(fs$10, fd, buffer$1, offset, length, position$1, callback);
31722
32566
  }
31723
32567
  callback_.apply(this, arguments);
31724
32568
  };
31725
32569
  }
31726
- return fs$read.call(fs$8, fd, buffer$1, offset, length, position$1, callback);
32570
+ return fs$read.call(fs$10, fd, buffer$1, offset, length, position$1, callback);
31727
32571
  }
31728
32572
  if (Object.setPrototypeOf) Object.setPrototypeOf(read$2, fs$read);
31729
32573
  return read$2;
31730
- })(fs$8.read);
31731
- fs$8.readSync = typeof fs$8.readSync !== "function" ? fs$8.readSync : (function(fs$readSync) {
32574
+ })(fs$10.read);
32575
+ fs$10.readSync = typeof fs$10.readSync !== "function" ? fs$10.readSync : (function(fs$readSync) {
31732
32576
  return function(fd, buffer$1, offset, length, position$1) {
31733
32577
  var eagCounter = 0;
31734
32578
  while (true) try {
31735
- return fs$readSync.call(fs$8, fd, buffer$1, offset, length, position$1);
32579
+ return fs$readSync.call(fs$10, fd, buffer$1, offset, length, position$1);
31736
32580
  } catch (er) {
31737
32581
  if (er.code === "EAGAIN" && eagCounter < 10) {
31738
32582
  eagCounter++;
@@ -31741,78 +32585,78 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31741
32585
  throw er;
31742
32586
  }
31743
32587
  };
31744
- })(fs$8.readSync);
31745
- function patchLchmod(fs$9) {
31746
- fs$9.lchmod = function(path$10, mode, callback) {
31747
- fs$9.open(path$10, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
32588
+ })(fs$10.readSync);
32589
+ function patchLchmod(fs$11) {
32590
+ fs$11.lchmod = function(path$13, mode, callback) {
32591
+ fs$11.open(path$13, constants.O_WRONLY | constants.O_SYMLINK, mode, function(err, fd) {
31748
32592
  if (err) {
31749
32593
  if (callback) callback(err);
31750
32594
  return;
31751
32595
  }
31752
- fs$9.fchmod(fd, mode, function(err$1) {
31753
- fs$9.close(fd, function(err2) {
32596
+ fs$11.fchmod(fd, mode, function(err$1) {
32597
+ fs$11.close(fd, function(err2) {
31754
32598
  if (callback) callback(err$1 || err2);
31755
32599
  });
31756
32600
  });
31757
32601
  });
31758
32602
  };
31759
- fs$9.lchmodSync = function(path$10, mode) {
31760
- var fd = fs$9.openSync(path$10, constants.O_WRONLY | constants.O_SYMLINK, mode);
32603
+ fs$11.lchmodSync = function(path$13, mode) {
32604
+ var fd = fs$11.openSync(path$13, constants.O_WRONLY | constants.O_SYMLINK, mode);
31761
32605
  var threw = true;
31762
32606
  var ret;
31763
32607
  try {
31764
- ret = fs$9.fchmodSync(fd, mode);
32608
+ ret = fs$11.fchmodSync(fd, mode);
31765
32609
  threw = false;
31766
32610
  } finally {
31767
32611
  if (threw) try {
31768
- fs$9.closeSync(fd);
32612
+ fs$11.closeSync(fd);
31769
32613
  } catch (er) {}
31770
- else fs$9.closeSync(fd);
32614
+ else fs$11.closeSync(fd);
31771
32615
  }
31772
32616
  return ret;
31773
32617
  };
31774
32618
  }
31775
- function patchLutimes(fs$9) {
31776
- if (constants.hasOwnProperty("O_SYMLINK") && fs$9.futimes) {
31777
- fs$9.lutimes = function(path$10, at, mt, cb) {
31778
- fs$9.open(path$10, constants.O_SYMLINK, function(er, fd) {
32619
+ function patchLutimes(fs$11) {
32620
+ if (constants.hasOwnProperty("O_SYMLINK") && fs$11.futimes) {
32621
+ fs$11.lutimes = function(path$13, at, mt, cb) {
32622
+ fs$11.open(path$13, constants.O_SYMLINK, function(er, fd) {
31779
32623
  if (er) {
31780
32624
  if (cb) cb(er);
31781
32625
  return;
31782
32626
  }
31783
- fs$9.futimes(fd, at, mt, function(er$1) {
31784
- fs$9.close(fd, function(er2) {
32627
+ fs$11.futimes(fd, at, mt, function(er$1) {
32628
+ fs$11.close(fd, function(er2) {
31785
32629
  if (cb) cb(er$1 || er2);
31786
32630
  });
31787
32631
  });
31788
32632
  });
31789
32633
  };
31790
- fs$9.lutimesSync = function(path$10, at, mt) {
31791
- var fd = fs$9.openSync(path$10, constants.O_SYMLINK);
32634
+ fs$11.lutimesSync = function(path$13, at, mt) {
32635
+ var fd = fs$11.openSync(path$13, constants.O_SYMLINK);
31792
32636
  var ret;
31793
32637
  var threw = true;
31794
32638
  try {
31795
- ret = fs$9.futimesSync(fd, at, mt);
32639
+ ret = fs$11.futimesSync(fd, at, mt);
31796
32640
  threw = false;
31797
32641
  } finally {
31798
32642
  if (threw) try {
31799
- fs$9.closeSync(fd);
32643
+ fs$11.closeSync(fd);
31800
32644
  } catch (er) {}
31801
- else fs$9.closeSync(fd);
32645
+ else fs$11.closeSync(fd);
31802
32646
  }
31803
32647
  return ret;
31804
32648
  };
31805
- } else if (fs$9.futimes) {
31806
- fs$9.lutimes = function(_a, _b, _c, cb) {
32649
+ } else if (fs$11.futimes) {
32650
+ fs$11.lutimes = function(_a, _b, _c, cb) {
31807
32651
  if (cb) process.nextTick(cb);
31808
32652
  };
31809
- fs$9.lutimesSync = function() {};
32653
+ fs$11.lutimesSync = function() {};
31810
32654
  }
31811
32655
  }
31812
32656
  function chmodFix(orig) {
31813
32657
  if (!orig) return orig;
31814
32658
  return function(target, mode, cb) {
31815
- return orig.call(fs$8, target, mode, function(er) {
32659
+ return orig.call(fs$10, target, mode, function(er) {
31816
32660
  if (chownErOk(er)) er = null;
31817
32661
  if (cb) cb.apply(this, arguments);
31818
32662
  });
@@ -31822,7 +32666,7 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31822
32666
  if (!orig) return orig;
31823
32667
  return function(target, mode) {
31824
32668
  try {
31825
- return orig.call(fs$8, target, mode);
32669
+ return orig.call(fs$10, target, mode);
31826
32670
  } catch (er) {
31827
32671
  if (!chownErOk(er)) throw er;
31828
32672
  }
@@ -31831,7 +32675,7 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31831
32675
  function chownFix(orig) {
31832
32676
  if (!orig) return orig;
31833
32677
  return function(target, uid, gid, cb) {
31834
- return orig.call(fs$8, target, uid, gid, function(er) {
32678
+ return orig.call(fs$10, target, uid, gid, function(er) {
31835
32679
  if (chownErOk(er)) er = null;
31836
32680
  if (cb) cb.apply(this, arguments);
31837
32681
  });
@@ -31841,7 +32685,7 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31841
32685
  if (!orig) return orig;
31842
32686
  return function(target, uid, gid) {
31843
32687
  try {
31844
- return orig.call(fs$8, target, uid, gid);
32688
+ return orig.call(fs$10, target, uid, gid);
31845
32689
  } catch (er) {
31846
32690
  if (!chownErOk(er)) throw er;
31847
32691
  }
@@ -31861,13 +32705,13 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31861
32705
  }
31862
32706
  if (cb) cb.apply(this, arguments);
31863
32707
  }
31864
- return options ? orig.call(fs$8, target, options, callback) : orig.call(fs$8, target, callback);
32708
+ return options ? orig.call(fs$10, target, options, callback) : orig.call(fs$10, target, callback);
31865
32709
  };
31866
32710
  }
31867
32711
  function statFixSync(orig) {
31868
32712
  if (!orig) return orig;
31869
32713
  return function(target, options) {
31870
- var stats = options ? orig.call(fs$8, target, options) : orig.call(fs$8, target);
32714
+ var stats = options ? orig.call(fs$10, target, options) : orig.call(fs$10, target);
31871
32715
  if (stats) {
31872
32716
  if (stats.uid < 0) stats.uid += 4294967296;
31873
32717
  if (stats.gid < 0) stats.gid += 4294967296;
@@ -31891,16 +32735,16 @@ var require_polyfills = /* @__PURE__ */ __commonJS({ "../../node_modules/gracefu
31891
32735
  var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/graceful-fs/legacy-streams.js": ((exports, module) => {
31892
32736
  var Stream = __require("stream").Stream;
31893
32737
  module.exports = legacy$1;
31894
- function legacy$1(fs$8) {
32738
+ function legacy$1(fs$10) {
31895
32739
  return {
31896
32740
  ReadStream,
31897
32741
  WriteStream
31898
32742
  };
31899
- function ReadStream(path$10, options) {
31900
- if (!(this instanceof ReadStream)) return new ReadStream(path$10, options);
32743
+ function ReadStream(path$13, options) {
32744
+ if (!(this instanceof ReadStream)) return new ReadStream(path$13, options);
31901
32745
  Stream.call(this);
31902
32746
  var self = this;
31903
- this.path = path$10;
32747
+ this.path = path$13;
31904
32748
  this.fd = null;
31905
32749
  this.readable = true;
31906
32750
  this.paused = false;
@@ -31927,7 +32771,7 @@ var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/gr
31927
32771
  });
31928
32772
  return;
31929
32773
  }
31930
- fs$8.open(this.path, this.flags, this.mode, function(err, fd) {
32774
+ fs$10.open(this.path, this.flags, this.mode, function(err, fd) {
31931
32775
  if (err) {
31932
32776
  self.emit("error", err);
31933
32777
  self.readable = false;
@@ -31938,10 +32782,10 @@ var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/gr
31938
32782
  self._read();
31939
32783
  });
31940
32784
  }
31941
- function WriteStream(path$10, options) {
31942
- if (!(this instanceof WriteStream)) return new WriteStream(path$10, options);
32785
+ function WriteStream(path$13, options) {
32786
+ if (!(this instanceof WriteStream)) return new WriteStream(path$13, options);
31943
32787
  Stream.call(this);
31944
- this.path = path$10;
32788
+ this.path = path$13;
31945
32789
  this.fd = null;
31946
32790
  this.writable = true;
31947
32791
  this.flags = "w";
@@ -31962,7 +32806,7 @@ var require_legacy_streams = /* @__PURE__ */ __commonJS({ "../../node_modules/gr
31962
32806
  this.busy = false;
31963
32807
  this._queue = [];
31964
32808
  if (this.fd === null) {
31965
- this._open = fs$8.open;
32809
+ this._open = fs$10.open;
31966
32810
  this._queue.push([
31967
32811
  this._open,
31968
32812
  this.path,
@@ -32014,9 +32858,9 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32014
32858
  previousSymbol = "___graceful-fs.previous";
32015
32859
  }
32016
32860
  function noop() {}
32017
- function publishQueue(context, queue$1) {
32861
+ function publishQueue(context, queue) {
32018
32862
  Object.defineProperty(context, gracefulQueue, { get: function() {
32019
- return queue$1;
32863
+ return queue;
32020
32864
  } });
32021
32865
  }
32022
32866
  var debug$4 = noop;
@@ -32027,8 +32871,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32027
32871
  console.error(m$1);
32028
32872
  };
32029
32873
  if (!fs$1[gracefulQueue]) {
32030
- var queue = global[gracefulQueue] || [];
32031
- publishQueue(fs$1, queue);
32874
+ publishQueue(fs$1, global[gracefulQueue] || []);
32032
32875
  fs$1.close = (function(fs$close) {
32033
32876
  function close(fd, cb) {
32034
32877
  return fs$close.call(fs$1, fd, function(err) {
@@ -32058,22 +32901,22 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32058
32901
  module.exports = patch(fs$1);
32059
32902
  fs$1.__patched = true;
32060
32903
  }
32061
- function patch(fs$8) {
32062
- polyfills(fs$8);
32063
- fs$8.gracefulify = patch;
32064
- fs$8.createReadStream = createReadStream;
32065
- fs$8.createWriteStream = createWriteStream;
32066
- var fs$readFile = fs$8.readFile;
32067
- fs$8.readFile = readFile$2;
32068
- function readFile$2(path$10, options, cb) {
32904
+ function patch(fs$10) {
32905
+ polyfills(fs$10);
32906
+ fs$10.gracefulify = patch;
32907
+ fs$10.createReadStream = createReadStream;
32908
+ fs$10.createWriteStream = createWriteStream;
32909
+ var fs$readFile = fs$10.readFile;
32910
+ fs$10.readFile = readFile$2;
32911
+ function readFile$2(path$13, options, cb) {
32069
32912
  if (typeof options === "function") cb = options, options = null;
32070
- return go$readFile(path$10, options, cb);
32071
- function go$readFile(path$11, options$1, cb$1, startTime) {
32072
- return fs$readFile(path$11, options$1, function(err) {
32913
+ return go$readFile(path$13, options, cb);
32914
+ function go$readFile(path$14, options$1, cb$1, startTime) {
32915
+ return fs$readFile(path$14, options$1, function(err) {
32073
32916
  if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
32074
32917
  go$readFile,
32075
32918
  [
32076
- path$11,
32919
+ path$14,
32077
32920
  options$1,
32078
32921
  cb$1
32079
32922
  ],
@@ -32085,17 +32928,17 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32085
32928
  });
32086
32929
  }
32087
32930
  }
32088
- var fs$writeFile = fs$8.writeFile;
32089
- fs$8.writeFile = writeFile$3;
32090
- function writeFile$3(path$10, data, options, cb) {
32931
+ var fs$writeFile = fs$10.writeFile;
32932
+ fs$10.writeFile = writeFile$3;
32933
+ function writeFile$3(path$13, data, options, cb) {
32091
32934
  if (typeof options === "function") cb = options, options = null;
32092
- return go$writeFile(path$10, data, options, cb);
32093
- function go$writeFile(path$11, data$1, options$1, cb$1, startTime) {
32094
- return fs$writeFile(path$11, data$1, options$1, function(err) {
32935
+ return go$writeFile(path$13, data, options, cb);
32936
+ function go$writeFile(path$14, data$1, options$1, cb$1, startTime) {
32937
+ return fs$writeFile(path$14, data$1, options$1, function(err) {
32095
32938
  if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
32096
32939
  go$writeFile,
32097
32940
  [
32098
- path$11,
32941
+ path$14,
32099
32942
  data$1,
32100
32943
  options$1,
32101
32944
  cb$1
@@ -32108,17 +32951,17 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32108
32951
  });
32109
32952
  }
32110
32953
  }
32111
- var fs$appendFile = fs$8.appendFile;
32112
- if (fs$appendFile) fs$8.appendFile = appendFile;
32113
- function appendFile(path$10, data, options, cb) {
32954
+ var fs$appendFile = fs$10.appendFile;
32955
+ if (fs$appendFile) fs$10.appendFile = appendFile;
32956
+ function appendFile(path$13, data, options, cb) {
32114
32957
  if (typeof options === "function") cb = options, options = null;
32115
- return go$appendFile(path$10, data, options, cb);
32116
- function go$appendFile(path$11, data$1, options$1, cb$1, startTime) {
32117
- return fs$appendFile(path$11, data$1, options$1, function(err) {
32958
+ return go$appendFile(path$13, data, options, cb);
32959
+ function go$appendFile(path$14, data$1, options$1, cb$1, startTime) {
32960
+ return fs$appendFile(path$14, data$1, options$1, function(err) {
32118
32961
  if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
32119
32962
  go$appendFile,
32120
32963
  [
32121
- path$11,
32964
+ path$14,
32122
32965
  data$1,
32123
32966
  options$1,
32124
32967
  cb$1
@@ -32131,8 +32974,8 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32131
32974
  });
32132
32975
  }
32133
32976
  }
32134
- var fs$copyFile = fs$8.copyFile;
32135
- if (fs$copyFile) fs$8.copyFile = copyFile;
32977
+ var fs$copyFile = fs$10.copyFile;
32978
+ if (fs$copyFile) fs$10.copyFile = copyFile;
32136
32979
  function copyFile(src$1, dest, flags, cb) {
32137
32980
  if (typeof flags === "function") {
32138
32981
  cb = flags;
@@ -32157,23 +33000,23 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32157
33000
  });
32158
33001
  }
32159
33002
  }
32160
- var fs$readdir = fs$8.readdir;
32161
- fs$8.readdir = readdir;
33003
+ var fs$readdir = fs$10.readdir;
33004
+ fs$10.readdir = readdir;
32162
33005
  var noReaddirOptionVersions = /^v[0-5]\./;
32163
- function readdir(path$10, options, cb) {
33006
+ function readdir(path$13, options, cb) {
32164
33007
  if (typeof options === "function") cb = options, options = null;
32165
- var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir$1(path$11, options$1, cb$1, startTime) {
32166
- return fs$readdir(path$11, fs$readdirCallback(path$11, options$1, cb$1, startTime));
32167
- } : function go$readdir$1(path$11, options$1, cb$1, startTime) {
32168
- return fs$readdir(path$11, options$1, fs$readdirCallback(path$11, options$1, cb$1, startTime));
33008
+ var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir$1(path$14, options$1, cb$1, startTime) {
33009
+ return fs$readdir(path$14, fs$readdirCallback(path$14, options$1, cb$1, startTime));
33010
+ } : function go$readdir$1(path$14, options$1, cb$1, startTime) {
33011
+ return fs$readdir(path$14, options$1, fs$readdirCallback(path$14, options$1, cb$1, startTime));
32169
33012
  };
32170
- return go$readdir(path$10, options, cb);
32171
- function fs$readdirCallback(path$11, options$1, cb$1, startTime) {
33013
+ return go$readdir(path$13, options, cb);
33014
+ function fs$readdirCallback(path$14, options$1, cb$1, startTime) {
32172
33015
  return function(err, files) {
32173
33016
  if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
32174
33017
  go$readdir,
32175
33018
  [
32176
- path$11,
33019
+ path$14,
32177
33020
  options$1,
32178
33021
  cb$1
32179
33022
  ],
@@ -32189,21 +33032,21 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32189
33032
  }
32190
33033
  }
32191
33034
  if (process.version.substr(0, 4) === "v0.8") {
32192
- var legStreams = legacy(fs$8);
33035
+ var legStreams = legacy(fs$10);
32193
33036
  ReadStream = legStreams.ReadStream;
32194
33037
  WriteStream = legStreams.WriteStream;
32195
33038
  }
32196
- var fs$ReadStream = fs$8.ReadStream;
33039
+ var fs$ReadStream = fs$10.ReadStream;
32197
33040
  if (fs$ReadStream) {
32198
33041
  ReadStream.prototype = Object.create(fs$ReadStream.prototype);
32199
33042
  ReadStream.prototype.open = ReadStream$open;
32200
33043
  }
32201
- var fs$WriteStream = fs$8.WriteStream;
33044
+ var fs$WriteStream = fs$10.WriteStream;
32202
33045
  if (fs$WriteStream) {
32203
33046
  WriteStream.prototype = Object.create(fs$WriteStream.prototype);
32204
33047
  WriteStream.prototype.open = WriteStream$open;
32205
33048
  }
32206
- Object.defineProperty(fs$8, "ReadStream", {
33049
+ Object.defineProperty(fs$10, "ReadStream", {
32207
33050
  get: function() {
32208
33051
  return ReadStream;
32209
33052
  },
@@ -32213,7 +33056,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32213
33056
  enumerable: true,
32214
33057
  configurable: true
32215
33058
  });
32216
- Object.defineProperty(fs$8, "WriteStream", {
33059
+ Object.defineProperty(fs$10, "WriteStream", {
32217
33060
  get: function() {
32218
33061
  return WriteStream;
32219
33062
  },
@@ -32224,7 +33067,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32224
33067
  configurable: true
32225
33068
  });
32226
33069
  var FileReadStream = ReadStream;
32227
- Object.defineProperty(fs$8, "FileReadStream", {
33070
+ Object.defineProperty(fs$10, "FileReadStream", {
32228
33071
  get: function() {
32229
33072
  return FileReadStream;
32230
33073
  },
@@ -32235,7 +33078,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32235
33078
  configurable: true
32236
33079
  });
32237
33080
  var FileWriteStream = WriteStream;
32238
- Object.defineProperty(fs$8, "FileWriteStream", {
33081
+ Object.defineProperty(fs$10, "FileWriteStream", {
32239
33082
  get: function() {
32240
33083
  return FileWriteStream;
32241
33084
  },
@@ -32245,7 +33088,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32245
33088
  enumerable: true,
32246
33089
  configurable: true
32247
33090
  });
32248
- function ReadStream(path$10, options) {
33091
+ function ReadStream(path$13, options) {
32249
33092
  if (this instanceof ReadStream) return fs$ReadStream.apply(this, arguments), this;
32250
33093
  else return ReadStream.apply(Object.create(ReadStream.prototype), arguments);
32251
33094
  }
@@ -32262,7 +33105,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32262
33105
  }
32263
33106
  });
32264
33107
  }
32265
- function WriteStream(path$10, options) {
33108
+ function WriteStream(path$13, options) {
32266
33109
  if (this instanceof WriteStream) return fs$WriteStream.apply(this, arguments), this;
32267
33110
  else return WriteStream.apply(Object.create(WriteStream.prototype), arguments);
32268
33111
  }
@@ -32278,23 +33121,23 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32278
33121
  }
32279
33122
  });
32280
33123
  }
32281
- function createReadStream(path$10, options) {
32282
- return new fs$8.ReadStream(path$10, options);
33124
+ function createReadStream(path$13, options) {
33125
+ return new fs$10.ReadStream(path$13, options);
32283
33126
  }
32284
- function createWriteStream(path$10, options) {
32285
- return new fs$8.WriteStream(path$10, options);
33127
+ function createWriteStream(path$13, options) {
33128
+ return new fs$10.WriteStream(path$13, options);
32286
33129
  }
32287
- var fs$open = fs$8.open;
32288
- fs$8.open = open;
32289
- function open(path$10, flags, mode, cb) {
33130
+ var fs$open = fs$10.open;
33131
+ fs$10.open = open;
33132
+ function open(path$13, flags, mode, cb) {
32290
33133
  if (typeof mode === "function") cb = mode, mode = null;
32291
- return go$open(path$10, flags, mode, cb);
32292
- function go$open(path$11, flags$1, mode$1, cb$1, startTime) {
32293
- return fs$open(path$11, flags$1, mode$1, function(err, fd) {
33134
+ return go$open(path$13, flags, mode, cb);
33135
+ function go$open(path$14, flags$1, mode$1, cb$1, startTime) {
33136
+ return fs$open(path$14, flags$1, mode$1, function(err, fd) {
32294
33137
  if (err && (err.code === "EMFILE" || err.code === "ENFILE")) enqueue([
32295
33138
  go$open,
32296
33139
  [
32297
- path$11,
33140
+ path$14,
32298
33141
  flags$1,
32299
33142
  mode$1,
32300
33143
  cb$1
@@ -32307,7 +33150,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32307
33150
  });
32308
33151
  }
32309
33152
  }
32310
- return fs$8;
33153
+ return fs$10;
32311
33154
  }
32312
33155
  function enqueue(elem) {
32313
33156
  debug$4("ENQUEUE", elem[0].name, elem[1]);
@@ -32343,8 +33186,7 @@ var require_graceful_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/grace
32343
33186
  } else {
32344
33187
  var sinceAttempt = Date.now() - lastTime;
32345
33188
  var sinceStart = Math.max(lastTime - startTime, 1);
32346
- var desiredDelay = Math.min(sinceStart * 1.2, 100);
32347
- if (sinceAttempt >= desiredDelay) {
33189
+ if (sinceAttempt >= Math.min(sinceStart * 1.2, 100)) {
32348
33190
  debug$4("RETRY", fn.name, args);
32349
33191
  fn.apply(null, args.concat([startTime]));
32350
33192
  } else fs$1[gracefulQueue].push(elem);
@@ -32768,6 +33610,7 @@ var require_write_file_atomic = /* @__PURE__ */ __commonJS({ "../../node_modules
32768
33610
  //#region node_modules/@expo/json-file/build/JsonFileError.js
32769
33611
  var require_JsonFileError = /* @__PURE__ */ __commonJS({ "node_modules/@expo/json-file/build/JsonFileError.js": ((exports) => {
32770
33612
  Object.defineProperty(exports, "__esModule", { value: true });
33613
+ exports.EmptyJsonFileError = void 0;
32771
33614
  /**
32772
33615
  * Note that instances of this class do NOT pass `instanceof JsonFileError`.
32773
33616
  */
@@ -32975,14 +33818,12 @@ var require_JsonFile = /* @__PURE__ */ __commonJS({ "node_modules/@expo/json-fil
32975
33818
  } catch (e) {
32976
33819
  throw new JsonFileError_1.default(`Couldn't JSON.stringify object for file: ${file}`, e);
32977
33820
  }
32978
- const data = addNewLineAtEOF ? `${json}\n` : json;
32979
- await writeFileAtomicAsync(file, data, {});
33821
+ await writeFileAtomicAsync(file, addNewLineAtEOF ? `${json}\n` : json, {});
32980
33822
  return object;
32981
33823
  }
32982
33824
  async function setAsync(file, key$3, value, options) {
32983
- const object = await readAsync(file, options);
32984
33825
  return writeAsync(file, {
32985
- ...object,
33826
+ ...await readAsync(file, options),
32986
33827
  [key$3]: value
32987
33828
  }, options);
32988
33829
  }
@@ -33009,8 +33850,7 @@ var require_JsonFile = /* @__PURE__ */ __commonJS({ "node_modules/@expo/json-fil
33009
33850
  return object;
33010
33851
  }
33011
33852
  async function rewriteAsync(file, options) {
33012
- const object = await readAsync(file, options);
33013
- return writeAsync(file, object, options);
33853
+ return writeAsync(file, await readAsync(file, options), options);
33014
33854
  }
33015
33855
  function jsonParseErrorDefault(options = {}) {
33016
33856
  if (options.jsonParseErrorDefault === void 0) return options.default;
@@ -33054,15 +33894,16 @@ var require_Locales = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
33054
33894
  exports.getLocales = getLocales;
33055
33895
  exports.getResolvedLocalesAsync = getResolvedLocalesAsync;
33056
33896
  exports.setLocalesAsync = setLocalesAsync;
33897
+ exports.withLocales = void 0;
33057
33898
  function _jsonFile$1() {
33058
- const data = _interopRequireDefault$11(require_JsonFile());
33899
+ const data = _interopRequireDefault$12(require_JsonFile());
33059
33900
  _jsonFile$1 = function() {
33060
33901
  return data;
33061
33902
  };
33062
33903
  return data;
33063
33904
  }
33064
33905
  function _fs$6() {
33065
- const data = _interopRequireDefault$11(__require("fs"));
33906
+ const data = _interopRequireDefault$12(__require("fs"));
33066
33907
  _fs$6 = function() {
33067
33908
  return data;
33068
33909
  };
@@ -33096,7 +33937,7 @@ var require_Locales = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
33096
33937
  };
33097
33938
  return data;
33098
33939
  }
33099
- function _interopRequireDefault$11(obj) {
33940
+ function _interopRequireDefault$12(obj) {
33100
33941
  return obj && obj.__esModule ? obj : { default: obj };
33101
33942
  }
33102
33943
  const withLocales = (config) => {
@@ -33153,12 +33994,113 @@ var require_Locales = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
33153
33994
  //#region node_modules/@expo/config-plugins/build/utils/generateCode.js
33154
33995
  var require_generateCode = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/generateCode.js": ((exports) => {
33155
33996
  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
+ }
33156
34097
  }) });
33157
34098
 
33158
34099
  //#endregion
33159
34100
  //#region node_modules/@expo/config-plugins/build/ios/Maps.js
33160
34101
  var require_Maps = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Maps.js": ((exports) => {
33161
34102
  Object.defineProperty(exports, "__esModule", { value: true });
34103
+ exports.MATCH_INIT = void 0;
33162
34104
  exports.addGoogleMapsAppDelegateImport = addGoogleMapsAppDelegateImport;
33163
34105
  exports.addGoogleMapsAppDelegateInit = addGoogleMapsAppDelegateInit;
33164
34106
  exports.addMapsCocoaPods = addMapsCocoaPods;
@@ -33167,6 +34109,7 @@ var require_Maps = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugi
33167
34109
  exports.removeGoogleMapsAppDelegateInit = removeGoogleMapsAppDelegateInit;
33168
34110
  exports.removeMapsCocoaPods = removeMapsCocoaPods;
33169
34111
  exports.setGoogleMapsApiKey = setGoogleMapsApiKey;
34112
+ exports.withMaps = void 0;
33170
34113
  function _path$6() {
33171
34114
  const data = _interopRequireDefault$10(__require("path"));
33172
34115
  _path$6 = function() {
@@ -33329,6 +34272,7 @@ var require_Name = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugi
33329
34272
  exports.setDisplayName = setDisplayName;
33330
34273
  exports.setName = setName;
33331
34274
  exports.setProductName = setProductName;
34275
+ exports.withProductName = exports.withName = exports.withDisplayName = void 0;
33332
34276
  function _Target$2() {
33333
34277
  const data = require_Target();
33334
34278
  _Target$2 = function() {
@@ -33415,8 +34359,10 @@ var require_Name = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugi
33415
34359
  //#region node_modules/@expo/config-plugins/build/ios/Orientation.js
33416
34360
  var require_Orientation = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Orientation.js": ((exports) => {
33417
34361
  Object.defineProperty(exports, "__esModule", { value: true });
34362
+ exports.PORTRAIT_ORIENTATIONS = exports.LANDSCAPE_ORIENTATIONS = void 0;
33418
34363
  exports.getOrientation = getOrientation;
33419
34364
  exports.setOrientation = setOrientation;
34365
+ exports.withOrientation = void 0;
33420
34366
  function _iosPlugins$8() {
33421
34367
  const data = require_ios_plugins();
33422
34368
  _iosPlugins$8 = function() {
@@ -33555,10 +34501,8 @@ var require_PrivacyInfo = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
33555
34501
  const projectName = (0, _Xcodeproj$6().getProjectName)(projectRoot);
33556
34502
  const privacyFilePath = _path$5().default.join(platformProjectRoot, projectName, "PrivacyInfo.xcprivacy");
33557
34503
  const existingFileContent = getFileContents(privacyFilePath);
33558
- const parsedContent = existingFileContent ? _plist$1().default.parse(existingFileContent) : {};
33559
- const mergedContent = mergePrivacyInfo(parsedContent, privacyManifests);
33560
- const contents = _plist$1().default.build(mergedContent);
33561
- ensureFileExists(privacyFilePath, contents);
34504
+ const mergedContent = mergePrivacyInfo(existingFileContent ? _plist$1().default.parse(existingFileContent) : {}, privacyManifests);
34505
+ ensureFileExists(privacyFilePath, _plist$1().default.build(mergedContent));
33562
34506
  if (!projectConfig.modResults.hasFile(privacyFilePath)) projectConfig.modResults = (0, _Xcodeproj$6().addResourceFileToGroup)({
33563
34507
  filepath: _path$5().default.join(projectName, "PrivacyInfo.xcprivacy"),
33564
34508
  groupName: projectName,
@@ -33700,6 +34644,7 @@ var require_RequiresFullScreen = /* @__PURE__ */ __commonJS({ "node_modules/@exp
33700
34644
  Object.defineProperty(exports, "__esModule", { value: true });
33701
34645
  exports.getRequiresFullScreen = getRequiresFullScreen;
33702
34646
  exports.setRequiresFullScreen = setRequiresFullScreen;
34647
+ exports.withRequiresFullScreen = void 0;
33703
34648
  function _iosPlugins$6() {
33704
34649
  const data = require_ios_plugins();
33705
34650
  _iosPlugins$6 = function() {
@@ -33777,6 +34722,7 @@ var require_RequiresFullScreen = /* @__PURE__ */ __commonJS({ "node_modules/@exp
33777
34722
  var require_XcodeProjectFile = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/XcodeProjectFile.js": ((exports) => {
33778
34723
  Object.defineProperty(exports, "__esModule", { value: true });
33779
34724
  exports.createBuildSourceFile = createBuildSourceFile;
34725
+ exports.withBuildSourceFile = void 0;
33780
34726
  function _fs$3() {
33781
34727
  const data = _interopRequireDefault$5(__require("fs"));
33782
34728
  _fs$3 = function() {
@@ -33860,6 +34806,7 @@ var require_Swift = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
33860
34806
  exports.ensureSwiftBridgingHeaderSetup = ensureSwiftBridgingHeaderSetup;
33861
34807
  exports.getDesignatedSwiftBridgingHeaderFileReference = getDesignatedSwiftBridgingHeaderFileReference;
33862
34808
  exports.linkBridgingHeaderFile = linkBridgingHeaderFile;
34809
+ exports.withSwiftBridgingHeader = exports.withNoopSwiftFile = void 0;
33863
34810
  function _fs$2() {
33864
34811
  const data = _interopRequireDefault$4(__require("fs"));
33865
34812
  _fs$2 = function() {
@@ -34005,8 +34952,10 @@ var require_Swift = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
34005
34952
  //#region node_modules/@expo/config-plugins/build/ios/Updates.js
34006
34953
  var require_Updates = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/ios/Updates.js": ((exports) => {
34007
34954
  Object.defineProperty(exports, "__esModule", { value: true });
34955
+ exports.Config = void 0;
34008
34956
  exports.setUpdatesConfigAsync = setUpdatesConfigAsync;
34009
34957
  exports.setVersionsConfigAsync = setVersionsConfigAsync;
34958
+ exports.withUpdates = void 0;
34010
34959
  function _iosPlugins$3() {
34011
34960
  const data = require_ios_plugins();
34012
34961
  _iosPlugins$3 = function() {
@@ -34097,6 +35046,7 @@ var require_UsesNonExemptEncryption = /* @__PURE__ */ __commonJS({ "node_modules
34097
35046
  Object.defineProperty(exports, "__esModule", { value: true });
34098
35047
  exports.getUsesNonExemptEncryption = getUsesNonExemptEncryption;
34099
35048
  exports.setUsesNonExemptEncryption = setUsesNonExemptEncryption;
35049
+ exports.withUsesNonExemptEncryption = void 0;
34100
35050
  function _iosPlugins$2() {
34101
35051
  const data = require_ios_plugins();
34102
35052
  _iosPlugins$2 = function() {
@@ -34129,6 +35079,7 @@ var require_Version = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-pl
34129
35079
  exports.getVersion = getVersion;
34130
35080
  exports.setBuildNumber = setBuildNumber;
34131
35081
  exports.setVersion = setVersion;
35082
+ exports.withVersion = exports.withBuildNumber = void 0;
34132
35083
  function _iosPlugins$1() {
34133
35084
  const data = require_ios_plugins();
34134
35085
  _iosPlugins$1 = function() {
@@ -34596,9 +35547,8 @@ var require_createBaseMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
34596
35547
  return name.charAt(0).toUpperCase() + name.slice(1);
34597
35548
  }
34598
35549
  function createPlatformBaseMod({ modName,...props }) {
34599
- const methodName = `with${upperFirst(props.platform)}${upperFirst(modName)}BaseMod`;
34600
35550
  return createBaseMod({
34601
- methodName,
35551
+ methodName: `with${upperFirst(props.platform)}${upperFirst(modName)}BaseMod`,
34602
35552
  modName,
34603
35553
  ...props
34604
35554
  });
@@ -34623,6 +35573,7 @@ var require_createBaseMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/con
34623
35573
  //#region node_modules/@expo/config-plugins/build/utils/sortObject.js
34624
35574
  var require_sortObject = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/utils/sortObject.js": ((exports) => {
34625
35575
  Object.defineProperty(exports, "__esModule", { value: true });
35576
+ exports.reverseSortString = void 0;
34626
35577
  exports.sortObjWithOrder = sortObjWithOrder;
34627
35578
  exports.sortObject = sortObject;
34628
35579
  exports.sortWithOrder = sortWithOrder;
@@ -35463,6 +36414,7 @@ var require_Plugin_types = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
35463
36414
  var require_withRunOnce = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withRunOnce.js": ((exports) => {
35464
36415
  Object.defineProperty(exports, "__esModule", { value: true });
35465
36416
  exports.createRunOncePlugin = createRunOncePlugin;
36417
+ exports.withRunOnce = void 0;
35466
36418
  function _history() {
35467
36419
  const data = require_history();
35468
36420
  _history = function() {
@@ -35506,6 +36458,7 @@ var require_withRunOnce = /* @__PURE__ */ __commonJS({ "node_modules/@expo/confi
35506
36458
  //#region node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js
35507
36459
  var require_withFinalizedMod = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plugins/build/plugins/withFinalizedMod.js": ((exports) => {
35508
36460
  Object.defineProperty(exports, "__esModule", { value: true });
36461
+ exports.withFinalizedMod = void 0;
35509
36462
  function _withMod$1() {
35510
36463
  const data = require_withMod();
35511
36464
  _withMod$1 = function() {
@@ -35665,9 +36618,7 @@ var require_mod_compiler = /* @__PURE__ */ __commonJS({ "node_modules/@expo/conf
35665
36618
  seen.add(key$3);
35666
36619
  return !duplicate;
35667
36620
  }).sort(([keyA], [keyB]) => {
35668
- const precedenceA = precedences$1[keyA] || 0;
35669
- const precedenceB = precedences$1[keyB] || 0;
35670
- return precedenceA - precedenceB;
36621
+ return (precedences$1[keyA] || 0) - (precedences$1[keyB] || 0);
35671
36622
  });
35672
36623
  }
35673
36624
  function getRawClone({ mods,...config }) {
@@ -36171,7 +37122,7 @@ var require_build = /* @__PURE__ */ __commonJS({ "node_modules/@expo/config-plug
36171
37122
 
36172
37123
  //#endregion
36173
37124
  //#region src/plugin.ts
36174
- var import_build = /* @__PURE__ */ __toESM(require_build(), 1);
37125
+ var import_build = require_build();
36175
37126
  const DEFAULT_SKADNETWORK_IDS = [
36176
37127
  "v9wttpbfk9.skadnetwork",
36177
37128
  "n38lu8286q.skadnetwork",