1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4  value: true
5});
6var _exportNames = {
7  BaseMods: true,
8  AndroidConfig: true,
9  IOSConfig: true,
10  XML: true,
11  History: true,
12  WarningAggregator: true,
13  Updates: true,
14  withPlugins: true,
15  withRunOnce: true,
16  createRunOncePlugin: true,
17  withDangerousMod: true,
18  withMod: true,
19  withBaseMod: true,
20  withAppDelegate: true,
21  withInfoPlist: true,
22  withEntitlementsPlist: true,
23  withExpoPlist: true,
24  withXcodeProject: true,
25  withPodfileProperties: true,
26  withAndroidManifest: true,
27  withStringsXml: true,
28  withAndroidColors: true,
29  withAndroidColorsNight: true,
30  withAndroidStyles: true,
31  withMainActivity: true,
32  withMainApplication: true,
33  withProjectBuildGradle: true,
34  withAppBuildGradle: true,
35  withSettingsGradle: true,
36  withGradleProperties: true,
37  withStaticPlugin: true,
38  compileModsAsync: true,
39  withDefaultBaseMods: true,
40  evalModsAsync: true,
41  PluginError: true
42};
43exports.IOSConfig = exports.History = exports.BaseMods = exports.AndroidConfig = void 0;
44Object.defineProperty(exports, "PluginError", {
45  enumerable: true,
46  get: function () {
47    return _errors().PluginError;
48  }
49});
50exports.XML = exports.WarningAggregator = exports.Updates = void 0;
51Object.defineProperty(exports, "compileModsAsync", {
52  enumerable: true,
53  get: function () {
54    return _modCompiler().compileModsAsync;
55  }
56});
57Object.defineProperty(exports, "createRunOncePlugin", {
58  enumerable: true,
59  get: function () {
60    return _withRunOnce().createRunOncePlugin;
61  }
62});
63Object.defineProperty(exports, "evalModsAsync", {
64  enumerable: true,
65  get: function () {
66    return _modCompiler().evalModsAsync;
67  }
68});
69Object.defineProperty(exports, "withAndroidColors", {
70  enumerable: true,
71  get: function () {
72    return _androidPlugins().withAndroidColors;
73  }
74});
75Object.defineProperty(exports, "withAndroidColorsNight", {
76  enumerable: true,
77  get: function () {
78    return _androidPlugins().withAndroidColorsNight;
79  }
80});
81Object.defineProperty(exports, "withAndroidManifest", {
82  enumerable: true,
83  get: function () {
84    return _androidPlugins().withAndroidManifest;
85  }
86});
87Object.defineProperty(exports, "withAndroidStyles", {
88  enumerable: true,
89  get: function () {
90    return _androidPlugins().withAndroidStyles;
91  }
92});
93Object.defineProperty(exports, "withAppBuildGradle", {
94  enumerable: true,
95  get: function () {
96    return _androidPlugins().withAppBuildGradle;
97  }
98});
99Object.defineProperty(exports, "withAppDelegate", {
100  enumerable: true,
101  get: function () {
102    return _iosPlugins().withAppDelegate;
103  }
104});
105Object.defineProperty(exports, "withBaseMod", {
106  enumerable: true,
107  get: function () {
108    return _withMod().withBaseMod;
109  }
110});
111Object.defineProperty(exports, "withDangerousMod", {
112  enumerable: true,
113  get: function () {
114    return _withDangerousMod().withDangerousMod;
115  }
116});
117Object.defineProperty(exports, "withDefaultBaseMods", {
118  enumerable: true,
119  get: function () {
120    return _modCompiler().withDefaultBaseMods;
121  }
122});
123Object.defineProperty(exports, "withEntitlementsPlist", {
124  enumerable: true,
125  get: function () {
126    return _iosPlugins().withEntitlementsPlist;
127  }
128});
129Object.defineProperty(exports, "withExpoPlist", {
130  enumerable: true,
131  get: function () {
132    return _iosPlugins().withExpoPlist;
133  }
134});
135Object.defineProperty(exports, "withGradleProperties", {
136  enumerable: true,
137  get: function () {
138    return _androidPlugins().withGradleProperties;
139  }
140});
141Object.defineProperty(exports, "withInfoPlist", {
142  enumerable: true,
143  get: function () {
144    return _iosPlugins().withInfoPlist;
145  }
146});
147Object.defineProperty(exports, "withMainActivity", {
148  enumerable: true,
149  get: function () {
150    return _androidPlugins().withMainActivity;
151  }
152});
153Object.defineProperty(exports, "withMainApplication", {
154  enumerable: true,
155  get: function () {
156    return _androidPlugins().withMainApplication;
157  }
158});
159Object.defineProperty(exports, "withMod", {
160  enumerable: true,
161  get: function () {
162    return _withMod().withMod;
163  }
164});
165Object.defineProperty(exports, "withPlugins", {
166  enumerable: true,
167  get: function () {
168    return _withPlugins().withPlugins;
169  }
170});
171Object.defineProperty(exports, "withPodfileProperties", {
172  enumerable: true,
173  get: function () {
174    return _iosPlugins().withPodfileProperties;
175  }
176});
177Object.defineProperty(exports, "withProjectBuildGradle", {
178  enumerable: true,
179  get: function () {
180    return _androidPlugins().withProjectBuildGradle;
181  }
182});
183Object.defineProperty(exports, "withRunOnce", {
184  enumerable: true,
185  get: function () {
186    return _withRunOnce().withRunOnce;
187  }
188});
189Object.defineProperty(exports, "withSettingsGradle", {
190  enumerable: true,
191  get: function () {
192    return _androidPlugins().withSettingsGradle;
193  }
194});
195Object.defineProperty(exports, "withStaticPlugin", {
196  enumerable: true,
197  get: function () {
198    return _withStaticPlugin().withStaticPlugin;
199  }
200});
201Object.defineProperty(exports, "withStringsXml", {
202  enumerable: true,
203  get: function () {
204    return _androidPlugins().withStringsXml;
205  }
206});
207Object.defineProperty(exports, "withXcodeProject", {
208  enumerable: true,
209  get: function () {
210    return _iosPlugins().withXcodeProject;
211  }
212});
213
214function AndroidConfig() {
215  const data = _interopRequireWildcard(require("./android"));
216
217  AndroidConfig = function () {
218    return data;
219  };
220
221  return data;
222}
223
224Object.defineProperty(exports, "AndroidConfig", {
225  enumerable: true,
226  get: function () {
227    return AndroidConfig();
228  }
229});
230
231function IOSConfig() {
232  const data = _interopRequireWildcard(require("./ios"));
233
234  IOSConfig = function () {
235    return data;
236  };
237
238  return data;
239}
240
241Object.defineProperty(exports, "IOSConfig", {
242  enumerable: true,
243  get: function () {
244    return IOSConfig();
245  }
246});
247
248function _createBaseMod() {
249  const data = require("./plugins/createBaseMod");
250
251  _createBaseMod = function () {
252    return data;
253  };
254
255  return data;
256}
257
258function _withAndroidBaseMods() {
259  const data = require("./plugins/withAndroidBaseMods");
260
261  _withAndroidBaseMods = function () {
262    return data;
263  };
264
265  return data;
266}
267
268function _withIosBaseMods() {
269  const data = require("./plugins/withIosBaseMods");
270
271  _withIosBaseMods = function () {
272    return data;
273  };
274
275  return data;
276}
277
278function XML() {
279  const data = _interopRequireWildcard(require("./utils/XML"));
280
281  XML = function () {
282    return data;
283  };
284
285  return data;
286}
287
288Object.defineProperty(exports, "XML", {
289  enumerable: true,
290  get: function () {
291    return XML();
292  }
293});
294
295function History() {
296  const data = _interopRequireWildcard(require("./utils/history"));
297
298  History = function () {
299    return data;
300  };
301
302  return data;
303}
304
305Object.defineProperty(exports, "History", {
306  enumerable: true,
307  get: function () {
308    return History();
309  }
310});
311
312function WarningAggregator() {
313  const data = _interopRequireWildcard(require("./utils/warnings"));
314
315  WarningAggregator = function () {
316    return data;
317  };
318
319  return data;
320}
321
322Object.defineProperty(exports, "WarningAggregator", {
323  enumerable: true,
324  get: function () {
325    return WarningAggregator();
326  }
327});
328
329function _Updates() {
330  const data = _interopRequireWildcard(require("./utils/Updates"));
331
332  _Updates = function () {
333    return data;
334  };
335
336  return data;
337}
338
339Object.defineProperty(exports, "Updates", {
340  enumerable: true,
341  get: function () {
342    return _Updates();
343  }
344});
345
346var _Plugin = require("./Plugin.types");
347
348Object.keys(_Plugin).forEach(function (key) {
349  if (key === "default" || key === "__esModule") return;
350  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
351  if (key in exports && exports[key] === _Plugin[key]) return;
352  Object.defineProperty(exports, key, {
353    enumerable: true,
354    get: function () {
355      return _Plugin[key];
356    }
357  });
358});
359
360function _withPlugins() {
361  const data = require("./plugins/withPlugins");
362
363  _withPlugins = function () {
364    return data;
365  };
366
367  return data;
368}
369
370function _withRunOnce() {
371  const data = require("./plugins/withRunOnce");
372
373  _withRunOnce = function () {
374    return data;
375  };
376
377  return data;
378}
379
380function _withDangerousMod() {
381  const data = require("./plugins/withDangerousMod");
382
383  _withDangerousMod = function () {
384    return data;
385  };
386
387  return data;
388}
389
390function _withMod() {
391  const data = require("./plugins/withMod");
392
393  _withMod = function () {
394    return data;
395  };
396
397  return data;
398}
399
400function _iosPlugins() {
401  const data = require("./plugins/ios-plugins");
402
403  _iosPlugins = function () {
404    return data;
405  };
406
407  return data;
408}
409
410function _androidPlugins() {
411  const data = require("./plugins/android-plugins");
412
413  _androidPlugins = function () {
414    return data;
415  };
416
417  return data;
418}
419
420function _withStaticPlugin() {
421  const data = require("./plugins/withStaticPlugin");
422
423  _withStaticPlugin = function () {
424    return data;
425  };
426
427  return data;
428}
429
430function _modCompiler() {
431  const data = require("./plugins/mod-compiler");
432
433  _modCompiler = function () {
434    return data;
435  };
436
437  return data;
438}
439
440function _errors() {
441  const data = require("./utils/errors");
442
443  _errors = function () {
444    return data;
445  };
446
447  return data;
448}
449
450function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
451
452function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
453
454/**
455 * For internal use in Expo CLI
456 */
457// TODO: Remove
458
459/**
460 * These are the "config-plugins"
461 */
462const BaseMods = {
463  withGeneratedBaseMods: _createBaseMod().withGeneratedBaseMods,
464  provider: _createBaseMod().provider,
465  withAndroidBaseMods: _withAndroidBaseMods().withAndroidBaseMods,
466  getAndroidModFileProviders: _withAndroidBaseMods().getAndroidModFileProviders,
467  withIosBaseMods: _withIosBaseMods().withIosBaseMods,
468  getIosModFileProviders: _withIosBaseMods().getIosModFileProviders
469};
470exports.BaseMods = BaseMods;
471//# sourceMappingURL=index.js.map