cradova 1.0.2 → 1.0.6

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.
Files changed (147) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +0 -2
  3. package/contributing.md +7 -0
  4. package/dist/assets/cradova.png +0 -0
  5. package/dist/index.387291ce.js +541 -0
  6. package/dist/index.387291ce.js.map +1 -0
  7. package/dist/index.663ba10e.js +909 -0
  8. package/dist/index.663ba10e.js.map +1 -0
  9. package/dist/index.addb39e8.css +87 -0
  10. package/dist/index.addb39e8.css.map +1 -0
  11. package/dist/index.ca66c0c5.js +2142 -0
  12. package/dist/index.ca66c0c5.js.map +1 -0
  13. package/dist/index.d.ts +415 -13
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.fa3fc778.css +218 -0
  16. package/dist/index.fa3fc778.css.map +1 -0
  17. package/dist/index.html +40 -0
  18. package/dist/index.js +1336 -343
  19. package/dist/index.js.map +1 -0
  20. package/dist/module.js +1431 -0
  21. package/dist/module.js.map +1 -0
  22. package/dist/{types.js → site/app.d.ts} +0 -0
  23. package/dist/site/app.js +2 -0
  24. package/dist/site/assets/badge.svg +85 -0
  25. package/dist/site/assets/bulb.png +0 -0
  26. package/dist/site/assets/cloud.png +0 -0
  27. package/dist/site/assets/correct.svg +1 -0
  28. package/dist/site/assets/cradova.png +0 -0
  29. package/dist/site/assets/des.svg +132 -0
  30. package/dist/site/assets/sacho.png +0 -0
  31. package/dist/site/assets/shoot.svg +1 -0
  32. package/dist/site/assets/spaceship.svg +1 -0
  33. package/dist/site/assets/star.svg +11 -0
  34. package/dist/site/assets/support.svg +1 -0
  35. package/dist/site/doc/about.js +17 -0
  36. package/dist/site/doc/home.d.ts +2 -0
  37. package/dist/site/doc/home.js +26 -0
  38. package/dist/site/doc/info.d.ts +2 -0
  39. package/dist/site/doc/info.js +63 -0
  40. package/dist/site/index.d.ts +1 -0
  41. package/dist/site/index.html +40 -0
  42. package/dist/site/index.js +22 -0
  43. package/dist/site/prism/prism.css +3 -0
  44. package/dist/site/prism/prism.js +1013 -0
  45. package/dist/site/styles/style.css +201 -0
  46. package/dist/src/index.d.ts +46 -0
  47. package/dist/src/index.js +415 -0
  48. package/dist/{scripts → src/sacho}/loadCss.d.ts +0 -0
  49. package/dist/{scripts → src/sacho}/loadCss.js +22 -0
  50. package/dist/src/sacho/swipe.d.ts +12 -0
  51. package/dist/src/sacho/swipe.js +122 -0
  52. package/dist/src/sacho/swipe1.d.ts +12 -0
  53. package/dist/src/sacho/swipe1.js +122 -0
  54. package/dist/{scripts → src/scripts}/Router.d.ts +4 -1
  55. package/dist/src/scripts/Router.js +242 -0
  56. package/dist/src/scripts/Scaffold.js +49 -0
  57. package/dist/src/scripts/ScaffoldManager.d.ts +8 -0
  58. package/dist/src/scripts/ScaffoldManager.js +52 -0
  59. package/dist/{scripts → src/scripts}/Screen.d.ts +16 -13
  60. package/dist/src/scripts/Screen.js +142 -0
  61. package/dist/src/scripts/ajax.d.ts +16 -0
  62. package/dist/src/scripts/ajax.js +68 -0
  63. package/dist/src/scripts/createSignal.d.ts +124 -0
  64. package/dist/src/scripts/createSignal.js +274 -0
  65. package/dist/src/scripts/fns.d.ts +144 -0
  66. package/dist/src/scripts/fns.js +528 -0
  67. package/dist/src/scripts/init.d.ts +1 -0
  68. package/dist/src/scripts/init.js +9 -0
  69. package/dist/src/scripts/scaffold.d.ts +54 -0
  70. package/dist/src/scripts/scaffold.js +148 -0
  71. package/dist/{scripts → src/scripts}/track.d.ts +1 -5
  72. package/dist/{scripts → src/scripts}/track.js +39 -45
  73. package/dist/src/types.d.ts +240 -0
  74. package/dist/src/types.js +1 -0
  75. package/git +35 -0
  76. package/package.json +26 -19
  77. package/site/app.ts +3 -0
  78. package/site/assets/badge.svg +85 -0
  79. package/site/assets/bulb.png +0 -0
  80. package/site/assets/cloud.png +0 -0
  81. package/site/assets/correct.svg +1 -0
  82. package/site/assets/cradova.png +0 -0
  83. package/site/assets/des.svg +132 -0
  84. package/site/assets/sacho.png +0 -0
  85. package/site/assets/shoot.svg +1 -0
  86. package/site/assets/spaceship.svg +1 -0
  87. package/site/assets/star.svg +11 -0
  88. package/site/assets/support.svg +1 -0
  89. package/site/doc/about.ts +26 -0
  90. package/site/doc/home.ts +36 -0
  91. package/site/doc/info.ts +143 -0
  92. package/site/index.html +40 -0
  93. package/site/index.ts +24 -0
  94. package/site/manifest.json +37 -0
  95. package/site/package.json +15 -0
  96. package/site/prism/prism.css +3 -0
  97. package/site/prism/prism.js +1013 -0
  98. package/site/styles/style.css +201 -0
  99. package/site/sw.js +58 -0
  100. package/{workers → site/workers}/online-only-after-initial-cache.ts +10 -8
  101. package/{workers → site/workers}/service-worker.ts +0 -0
  102. package/{index.ts → src/index.ts} +144 -190
  103. package/{scripts → src/sacho}/loadCss.ts +28 -6
  104. package/{scripts → src/sacho}/style.css +37 -39
  105. package/src/sacho/swipe.ts +138 -0
  106. package/src/sacho/swipe1.ts +136 -0
  107. package/src/scripts/Router.ts +269 -0
  108. package/src/scripts/Scaffold.ts +51 -0
  109. package/src/scripts/Screen.ts +180 -0
  110. package/src/scripts/ajax.ts +83 -0
  111. package/src/scripts/createSignal.ts +273 -0
  112. package/src/scripts/fns.ts +615 -0
  113. package/src/scripts/init.ts +9 -0
  114. package/{scripts → src/scripts}/track.ts +40 -53
  115. package/src/types.ts +287 -0
  116. package/tsconfig.json +4 -5
  117. package/dist/rolled-cradova.js +0 -2366
  118. package/dist/scripts/JsonDB.d.ts +0 -287
  119. package/dist/scripts/JsonDB.js +0 -633
  120. package/dist/scripts/Router.js +0 -170
  121. package/dist/scripts/Screen.js +0 -107
  122. package/dist/scripts/ajax.d.ts +0 -28
  123. package/dist/scripts/ajax.js +0 -63
  124. package/dist/scripts/fns.d.ts +0 -84
  125. package/dist/scripts/fns.js +0 -307
  126. package/dist/scripts/init.d.ts +0 -1
  127. package/dist/scripts/init.js +0 -25
  128. package/dist/scripts/memory.d.ts +0 -12
  129. package/dist/scripts/memory.js +0 -46
  130. package/dist/scripts/store.d.ts +0 -12
  131. package/dist/scripts/store.js +0 -64
  132. package/dist/scripts/swipe.d.ts +0 -1
  133. package/dist/scripts/swipe.js +0 -114
  134. package/dist/scripts/widget.d.ts +0 -8
  135. package/dist/scripts/widget.js +0 -21
  136. package/dist/types.d.ts +0 -12
  137. package/scripts/JsonDB.ts +0 -751
  138. package/scripts/Router.ts +0 -182
  139. package/scripts/Screen.ts +0 -134
  140. package/scripts/ajax.ts +0 -78
  141. package/scripts/fns.ts +0 -341
  142. package/scripts/init.ts +0 -24
  143. package/scripts/memory.ts +0 -44
  144. package/scripts/store.ts +0 -58
  145. package/scripts/swipe.ts +0 -125
  146. package/scripts/widget.ts +0 -23
  147. package/types.ts +0 -19
package/CHANGELOG.md ADDED
@@ -0,0 +1,38 @@
1
+ # cradova changelog
2
+
3
+ ## 1.0.0
4
+
5
+ - basic functionality not proper way to handle state
6
+
7
+ ## 1.0.1
8
+
9
+ - improved performance score
10
+
11
+ ## 1.0.2
12
+
13
+ - improved api and dev experience
14
+
15
+ ## 1.0.3
16
+
17
+ - improved state management
18
+
19
+ ## 1.0.4
20
+
21
+ this version never existed
22
+ "npm version patch" was mistakenly entered twice
23
+ and we went along with it.
24
+
25
+ ## 1.0.5
26
+
27
+ - big performance gain
28
+ - improved state management
29
+ - battle testing and production readiness
30
+
31
+ ## 1.0.6
32
+
33
+ - introducing scaffold - a simple way to render page components
34
+ without url manipulation.
35
+ this brings app experience
36
+ - bug fixes
37
+ - big performance gain
38
+ - battle testing green
package/README.md CHANGED
@@ -82,5 +82,3 @@ This section has moved here: [https://fridaycandour.github.io/cradova/docs/analy
82
82
  ### Making a Progressive Web App
83
83
 
84
84
  This section has moved here: [https://fridaycandour.github.io/cradova/docs/making-a-progressive-web-app](https://fridaycandour.github.io/cradova/docs/making-a-progressive-web-app)
85
-
86
- "build:cradova": "tsc --build --clean && tsc && rollup dist/index.js --format umd --name 'cradova' --file dist/rolled-cradova.js && mkdir build && touch build/build.js && terser --compress --mangle -- dist/rolled-cradova.js --output build/build.js"
@@ -0,0 +1,7 @@
1
+ What does Cradova needs?
2
+
3
+ - Cradova Documentation Website
4
+ - Sample projects
5
+ - More Tools and UI libraries for cradova
6
+
7
+ community [telegram](https://t.me/cradova)
Binary file
@@ -0,0 +1,541 @@
1
+ // modules are defined as an array
2
+ // [ module function, map of requires ]
3
+ //
4
+ // map of requires is short require name -> numeric require
5
+ //
6
+ // anything defined in a previous bundle is accessed via the
7
+ // orig method which is the require for previous bundles
8
+
9
+ (function (modules, entry, mainEntry, parcelRequireName, globalName) {
10
+ /* eslint-disable no-undef */
11
+ var globalObject =
12
+ typeof globalThis !== 'undefined'
13
+ ? globalThis
14
+ : typeof self !== 'undefined'
15
+ ? self
16
+ : typeof window !== 'undefined'
17
+ ? window
18
+ : typeof global !== 'undefined'
19
+ ? global
20
+ : {};
21
+ /* eslint-enable no-undef */
22
+
23
+ // Save the require from previous bundle to this closure if any
24
+ var previousRequire =
25
+ typeof globalObject[parcelRequireName] === 'function' &&
26
+ globalObject[parcelRequireName];
27
+
28
+ var cache = previousRequire.cache || {};
29
+ // Do not use `require` to prevent Webpack from trying to bundle this call
30
+ var nodeRequire =
31
+ typeof module !== 'undefined' &&
32
+ typeof module.require === 'function' &&
33
+ module.require.bind(module);
34
+
35
+ function newRequire(name, jumped) {
36
+ if (!cache[name]) {
37
+ if (!modules[name]) {
38
+ // if we cannot find the module within our internal map or
39
+ // cache jump to the current global require ie. the last bundle
40
+ // that was added to the page.
41
+ var currentRequire =
42
+ typeof globalObject[parcelRequireName] === 'function' &&
43
+ globalObject[parcelRequireName];
44
+ if (!jumped && currentRequire) {
45
+ return currentRequire(name, true);
46
+ }
47
+
48
+ // If there are other bundles on this page the require from the
49
+ // previous one is saved to 'previousRequire'. Repeat this as
50
+ // many times as there are bundles until the module is found or
51
+ // we exhaust the require chain.
52
+ if (previousRequire) {
53
+ return previousRequire(name, true);
54
+ }
55
+
56
+ // Try the node require function if it exists.
57
+ if (nodeRequire && typeof name === 'string') {
58
+ return nodeRequire(name);
59
+ }
60
+
61
+ var err = new Error("Cannot find module '" + name + "'");
62
+ err.code = 'MODULE_NOT_FOUND';
63
+ throw err;
64
+ }
65
+
66
+ localRequire.resolve = resolve;
67
+ localRequire.cache = {};
68
+
69
+ var module = (cache[name] = new newRequire.Module(name));
70
+
71
+ modules[name][0].call(
72
+ module.exports,
73
+ localRequire,
74
+ module,
75
+ module.exports,
76
+ this
77
+ );
78
+ }
79
+
80
+ return cache[name].exports;
81
+
82
+ function localRequire(x) {
83
+ var res = localRequire.resolve(x);
84
+ return res === false ? {} : newRequire(res);
85
+ }
86
+
87
+ function resolve(x) {
88
+ var id = modules[name][1][x];
89
+ return id != null ? id : x;
90
+ }
91
+ }
92
+
93
+ function Module(moduleName) {
94
+ this.id = moduleName;
95
+ this.bundle = newRequire;
96
+ this.exports = {};
97
+ }
98
+
99
+ newRequire.isParcelRequire = true;
100
+ newRequire.Module = Module;
101
+ newRequire.modules = modules;
102
+ newRequire.cache = cache;
103
+ newRequire.parent = previousRequire;
104
+ newRequire.register = function (id, exports) {
105
+ modules[id] = [
106
+ function (require, module) {
107
+ module.exports = exports;
108
+ },
109
+ {},
110
+ ];
111
+ };
112
+
113
+ Object.defineProperty(newRequire, 'root', {
114
+ get: function () {
115
+ return globalObject[parcelRequireName];
116
+ },
117
+ });
118
+
119
+ globalObject[parcelRequireName] = newRequire;
120
+
121
+ for (var i = 0; i < entry.length; i++) {
122
+ newRequire(entry[i]);
123
+ }
124
+
125
+ if (mainEntry) {
126
+ // Expose entry point to Node, AMD or browser globals
127
+ // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js
128
+ var mainExports = newRequire(mainEntry);
129
+
130
+ // CommonJS
131
+ if (typeof exports === 'object' && typeof module !== 'undefined') {
132
+ module.exports = mainExports;
133
+
134
+ // RequireJS
135
+ } else if (typeof define === 'function' && define.amd) {
136
+ define(function () {
137
+ return mainExports;
138
+ });
139
+
140
+ // <script>
141
+ } else if (globalName) {
142
+ this[globalName] = mainExports;
143
+ }
144
+ }
145
+ })({"ckUkx":[function(require,module,exports) {
146
+ var global = arguments[3];
147
+ var HMR_HOST = null;
148
+ var HMR_PORT = null;
149
+ var HMR_SECURE = false;
150
+ var HMR_ENV_HASH = "d6ea1d42532a7575";
151
+ module.bundle.HMR_BUNDLE_ID = "bea2c7cb387291ce";
152
+ "use strict";
153
+ /* global HMR_HOST, HMR_PORT, HMR_ENV_HASH, HMR_SECURE, chrome, browser, globalThis, __parcel__import__, __parcel__importScripts__, ServiceWorkerGlobalScope */ /*::
154
+ import type {
155
+ HMRAsset,
156
+ HMRMessage,
157
+ } from '@parcel/reporter-dev-server/src/HMRServer.js';
158
+ interface ParcelRequire {
159
+ (string): mixed;
160
+ cache: {|[string]: ParcelModule|};
161
+ hotData: mixed;
162
+ Module: any;
163
+ parent: ?ParcelRequire;
164
+ isParcelRequire: true;
165
+ modules: {|[string]: [Function, {|[string]: string|}]|};
166
+ HMR_BUNDLE_ID: string;
167
+ root: ParcelRequire;
168
+ }
169
+ interface ParcelModule {
170
+ hot: {|
171
+ data: mixed,
172
+ accept(cb: (Function) => void): void,
173
+ dispose(cb: (mixed) => void): void,
174
+ // accept(deps: Array<string> | string, cb: (Function) => void): void,
175
+ // decline(): void,
176
+ _acceptCallbacks: Array<(Function) => void>,
177
+ _disposeCallbacks: Array<(mixed) => void>,
178
+ |};
179
+ }
180
+ interface ExtensionContext {
181
+ runtime: {|
182
+ reload(): void,
183
+ getURL(url: string): string;
184
+ getManifest(): {manifest_version: number, ...};
185
+ |};
186
+ }
187
+ declare var module: {bundle: ParcelRequire, ...};
188
+ declare var HMR_HOST: string;
189
+ declare var HMR_PORT: string;
190
+ declare var HMR_ENV_HASH: string;
191
+ declare var HMR_SECURE: boolean;
192
+ declare var chrome: ExtensionContext;
193
+ declare var browser: ExtensionContext;
194
+ declare var __parcel__import__: (string) => Promise<void>;
195
+ declare var __parcel__importScripts__: (string) => Promise<void>;
196
+ declare var globalThis: typeof self;
197
+ declare var ServiceWorkerGlobalScope: Object;
198
+ */ var OVERLAY_ID = "__parcel__error__overlay__";
199
+ var OldModule = module.bundle.Module;
200
+ function Module(moduleName) {
201
+ OldModule.call(this, moduleName);
202
+ this.hot = {
203
+ data: module.bundle.hotData,
204
+ _acceptCallbacks: [],
205
+ _disposeCallbacks: [],
206
+ accept: function(fn) {
207
+ this._acceptCallbacks.push(fn || function() {});
208
+ },
209
+ dispose: function(fn) {
210
+ this._disposeCallbacks.push(fn);
211
+ }
212
+ };
213
+ module.bundle.hotData = undefined;
214
+ }
215
+ module.bundle.Module = Module;
216
+ var checkedAssets, acceptedAssets, assetsToAccept /*: Array<[ParcelRequire, string]> */ ;
217
+ function getHostname() {
218
+ return HMR_HOST || (location.protocol.indexOf("http") === 0 ? location.hostname : "localhost");
219
+ }
220
+ function getPort() {
221
+ return HMR_PORT || location.port;
222
+ } // eslint-disable-next-line no-redeclare
223
+ var parent = module.bundle.parent;
224
+ if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== "undefined") {
225
+ var hostname = getHostname();
226
+ var port = getPort();
227
+ var protocol = HMR_SECURE || location.protocol == "https:" && !/localhost|127.0.0.1|0.0.0.0/.test(hostname) ? "wss" : "ws";
228
+ var ws = new WebSocket(protocol + "://" + hostname + (port ? ":" + port : "") + "/"); // Web extension context
229
+ var extCtx = typeof chrome === "undefined" ? typeof browser === "undefined" ? null : browser : chrome; // Safari doesn't support sourceURL in error stacks.
230
+ // eval may also be disabled via CSP, so do a quick check.
231
+ var supportsSourceURL = false;
232
+ try {
233
+ (0, eval)('throw new Error("test"); //# sourceURL=test.js');
234
+ } catch (err) {
235
+ supportsSourceURL = err.stack.includes("test.js");
236
+ } // $FlowFixMe
237
+ ws.onmessage = async function(event) {
238
+ checkedAssets = {} /*: {|[string]: boolean|} */ ;
239
+ acceptedAssets = {} /*: {|[string]: boolean|} */ ;
240
+ assetsToAccept = [];
241
+ var data = JSON.parse(event.data);
242
+ if (data.type === "update") {
243
+ // Remove error overlay if there is one
244
+ if (typeof document !== "undefined") removeErrorOverlay();
245
+ let assets = data.assets.filter((asset)=>asset.envHash === HMR_ENV_HASH); // Handle HMR Update
246
+ let handled = assets.every((asset)=>{
247
+ return asset.type === "css" || asset.type === "js" && hmrAcceptCheck(module.bundle.root, asset.id, asset.depsByBundle);
248
+ });
249
+ if (handled) {
250
+ console.clear(); // Dispatch custom event so other runtimes (e.g React Refresh) are aware.
251
+ if (typeof window !== "undefined" && typeof CustomEvent !== "undefined") window.dispatchEvent(new CustomEvent("parcelhmraccept"));
252
+ await hmrApplyUpdates(assets);
253
+ for(var i = 0; i < assetsToAccept.length; i++){
254
+ var id = assetsToAccept[i][1];
255
+ if (!acceptedAssets[id]) hmrAcceptRun(assetsToAccept[i][0], id);
256
+ }
257
+ } else fullReload();
258
+ }
259
+ if (data.type === "error") {
260
+ // Log parcel errors to console
261
+ for (let ansiDiagnostic of data.diagnostics.ansi){
262
+ let stack = ansiDiagnostic.codeframe ? ansiDiagnostic.codeframe : ansiDiagnostic.stack;
263
+ console.error("\uD83D\uDEA8 [parcel]: " + ansiDiagnostic.message + "\n" + stack + "\n\n" + ansiDiagnostic.hints.join("\n"));
264
+ }
265
+ if (typeof document !== "undefined") {
266
+ // Render the fancy html overlay
267
+ removeErrorOverlay();
268
+ var overlay = createErrorOverlay(data.diagnostics.html); // $FlowFixMe
269
+ document.body.appendChild(overlay);
270
+ }
271
+ }
272
+ };
273
+ ws.onerror = function(e) {
274
+ console.error(e.message);
275
+ };
276
+ ws.onclose = function() {
277
+ console.warn("[parcel] \uD83D\uDEA8 Connection to the HMR server was lost");
278
+ };
279
+ }
280
+ function removeErrorOverlay() {
281
+ var overlay = document.getElementById(OVERLAY_ID);
282
+ if (overlay) {
283
+ overlay.remove();
284
+ console.log("[parcel] ✨ Error resolved");
285
+ }
286
+ }
287
+ function createErrorOverlay(diagnostics) {
288
+ var overlay = document.createElement("div");
289
+ overlay.id = OVERLAY_ID;
290
+ let errorHTML = '<div style="background: black; opacity: 0.85; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; font-family: Menlo, Consolas, monospace; z-index: 9999;">';
291
+ for (let diagnostic of diagnostics){
292
+ let stack = diagnostic.frames.length ? diagnostic.frames.reduce((p, frame)=>{
293
+ return `${p}
294
+ <a href="/__parcel_launch_editor?file=${encodeURIComponent(frame.location)}" style="text-decoration: underline; color: #888" onclick="fetch(this.href); return false">${frame.location}</a>
295
+ ${frame.code}`;
296
+ }, "") : diagnostic.stack;
297
+ errorHTML += `
298
+ <div>
299
+ <div style="font-size: 18px; font-weight: bold; margin-top: 20px;">
300
+ 🚨 ${diagnostic.message}
301
+ </div>
302
+ <pre>${stack}</pre>
303
+ <div>
304
+ ${diagnostic.hints.map((hint)=>"<div>\uD83D\uDCA1 " + hint + "</div>").join("")}
305
+ </div>
306
+ ${diagnostic.documentation ? `<div>📝 <a style="color: violet" href="${diagnostic.documentation}" target="_blank">Learn more</a></div>` : ""}
307
+ </div>
308
+ `;
309
+ }
310
+ errorHTML += "</div>";
311
+ overlay.innerHTML = errorHTML;
312
+ return overlay;
313
+ }
314
+ function fullReload() {
315
+ if ("reload" in location) location.reload();
316
+ else if (extCtx && extCtx.runtime && extCtx.runtime.reload) extCtx.runtime.reload();
317
+ }
318
+ function getParents(bundle, id) /*: Array<[ParcelRequire, string]> */ {
319
+ var modules = bundle.modules;
320
+ if (!modules) return [];
321
+ var parents = [];
322
+ var k, d, dep;
323
+ for(k in modules)for(d in modules[k][1]){
324
+ dep = modules[k][1][d];
325
+ if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) parents.push([
326
+ bundle,
327
+ k
328
+ ]);
329
+ }
330
+ if (bundle.parent) parents = parents.concat(getParents(bundle.parent, id));
331
+ return parents;
332
+ }
333
+ function updateLink(link) {
334
+ var newLink = link.cloneNode();
335
+ newLink.onload = function() {
336
+ if (link.parentNode !== null) // $FlowFixMe
337
+ link.parentNode.removeChild(link);
338
+ };
339
+ newLink.setAttribute("href", link.getAttribute("href").split("?")[0] + "?" + Date.now()); // $FlowFixMe
340
+ link.parentNode.insertBefore(newLink, link.nextSibling);
341
+ }
342
+ var cssTimeout = null;
343
+ function reloadCSS() {
344
+ if (cssTimeout) return;
345
+ cssTimeout = setTimeout(function() {
346
+ var links = document.querySelectorAll('link[rel="stylesheet"]');
347
+ for(var i = 0; i < links.length; i++){
348
+ // $FlowFixMe[incompatible-type]
349
+ var href = links[i].getAttribute("href");
350
+ var hostname = getHostname();
351
+ var servedFromHMRServer = hostname === "localhost" ? new RegExp("^(https?:\\/\\/(0.0.0.0|127.0.0.1)|localhost):" + getPort()).test(href) : href.indexOf(hostname + ":" + getPort());
352
+ var absolute = /^https?:\/\//i.test(href) && href.indexOf(location.origin) !== 0 && !servedFromHMRServer;
353
+ if (!absolute) updateLink(links[i]);
354
+ }
355
+ cssTimeout = null;
356
+ }, 50);
357
+ }
358
+ function hmrDownload(asset) {
359
+ if (asset.type === "js") {
360
+ if (typeof document !== "undefined") {
361
+ let script = document.createElement("script");
362
+ script.src = asset.url + "?t=" + Date.now();
363
+ if (asset.outputFormat === "esmodule") script.type = "module";
364
+ return new Promise((resolve, reject)=>{
365
+ var _document$head;
366
+ script.onload = ()=>resolve(script);
367
+ script.onerror = reject;
368
+ (_document$head = document.head) === null || _document$head === void 0 || _document$head.appendChild(script);
369
+ });
370
+ } else if (typeof importScripts === "function") {
371
+ // Worker scripts
372
+ if (asset.outputFormat === "esmodule") return import(asset.url + "?t=" + Date.now());
373
+ else return new Promise((resolve, reject)=>{
374
+ try {
375
+ importScripts(asset.url + "?t=" + Date.now());
376
+ resolve();
377
+ } catch (err) {
378
+ reject(err);
379
+ }
380
+ });
381
+ }
382
+ }
383
+ }
384
+ async function hmrApplyUpdates(assets) {
385
+ global.parcelHotUpdate = Object.create(null);
386
+ let scriptsToRemove;
387
+ try {
388
+ // If sourceURL comments aren't supported in eval, we need to load
389
+ // the update from the dev server over HTTP so that stack traces
390
+ // are correct in errors/logs. This is much slower than eval, so
391
+ // we only do it if needed (currently just Safari).
392
+ // https://bugs.webkit.org/show_bug.cgi?id=137297
393
+ // This path is also taken if a CSP disallows eval.
394
+ if (!supportsSourceURL) {
395
+ let promises = assets.map((asset)=>{
396
+ var _hmrDownload;
397
+ return (_hmrDownload = hmrDownload(asset)) === null || _hmrDownload === void 0 ? void 0 : _hmrDownload.catch((err)=>{
398
+ // Web extension bugfix for Chromium
399
+ // https://bugs.chromium.org/p/chromium/issues/detail?id=1255412#c12
400
+ if (extCtx && extCtx.runtime && extCtx.runtime.getManifest().manifest_version == 3) {
401
+ if (typeof ServiceWorkerGlobalScope != "undefined" && global instanceof ServiceWorkerGlobalScope) {
402
+ extCtx.runtime.reload();
403
+ return;
404
+ }
405
+ asset.url = extCtx.runtime.getURL("/__parcel_hmr_proxy__?url=" + encodeURIComponent(asset.url + "?t=" + Date.now()));
406
+ return hmrDownload(asset);
407
+ }
408
+ throw err;
409
+ });
410
+ });
411
+ scriptsToRemove = await Promise.all(promises);
412
+ }
413
+ assets.forEach(function(asset) {
414
+ hmrApply(module.bundle.root, asset);
415
+ });
416
+ } finally{
417
+ delete global.parcelHotUpdate;
418
+ if (scriptsToRemove) scriptsToRemove.forEach((script)=>{
419
+ if (script) {
420
+ var _document$head2;
421
+ (_document$head2 = document.head) === null || _document$head2 === void 0 || _document$head2.removeChild(script);
422
+ }
423
+ });
424
+ }
425
+ }
426
+ function hmrApply(bundle, asset) {
427
+ var modules = bundle.modules;
428
+ if (!modules) return;
429
+ if (asset.type === "css") reloadCSS();
430
+ else if (asset.type === "js") {
431
+ let deps = asset.depsByBundle[bundle.HMR_BUNDLE_ID];
432
+ if (deps) {
433
+ if (modules[asset.id]) {
434
+ // Remove dependencies that are removed and will become orphaned.
435
+ // This is necessary so that if the asset is added back again, the cache is gone, and we prevent a full page reload.
436
+ let oldDeps = modules[asset.id][1];
437
+ for(let dep in oldDeps)if (!deps[dep] || deps[dep] !== oldDeps[dep]) {
438
+ let id = oldDeps[dep];
439
+ let parents = getParents(module.bundle.root, id);
440
+ if (parents.length === 1) hmrDelete(module.bundle.root, id);
441
+ }
442
+ }
443
+ if (supportsSourceURL) // Global eval. We would use `new Function` here but browser
444
+ // support for source maps is better with eval.
445
+ (0, eval)(asset.output);
446
+ // $FlowFixMe
447
+ let fn = global.parcelHotUpdate[asset.id];
448
+ modules[asset.id] = [
449
+ fn,
450
+ deps
451
+ ];
452
+ } else if (bundle.parent) hmrApply(bundle.parent, asset);
453
+ }
454
+ }
455
+ function hmrDelete(bundle, id) {
456
+ let modules = bundle.modules;
457
+ if (!modules) return;
458
+ if (modules[id]) {
459
+ // Collect dependencies that will become orphaned when this module is deleted.
460
+ let deps = modules[id][1];
461
+ let orphans = [];
462
+ for(let dep in deps){
463
+ let parents = getParents(module.bundle.root, deps[dep]);
464
+ if (parents.length === 1) orphans.push(deps[dep]);
465
+ } // Delete the module. This must be done before deleting dependencies in case of circular dependencies.
466
+ delete modules[id];
467
+ delete bundle.cache[id]; // Now delete the orphans.
468
+ orphans.forEach((id)=>{
469
+ hmrDelete(module.bundle.root, id);
470
+ });
471
+ } else if (bundle.parent) hmrDelete(bundle.parent, id);
472
+ }
473
+ function hmrAcceptCheck(bundle, id, depsByBundle) {
474
+ if (hmrAcceptCheckOne(bundle, id, depsByBundle)) return true;
475
+ // Traverse parents breadth first. All possible ancestries must accept the HMR update, or we'll reload.
476
+ let parents = getParents(module.bundle.root, id);
477
+ let accepted = false;
478
+ while(parents.length > 0){
479
+ let v = parents.shift();
480
+ let a = hmrAcceptCheckOne(v[0], v[1], null);
481
+ if (a) // If this parent accepts, stop traversing upward, but still consider siblings.
482
+ accepted = true;
483
+ else {
484
+ // Otherwise, queue the parents in the next level upward.
485
+ let p = getParents(module.bundle.root, v[1]);
486
+ if (p.length === 0) {
487
+ // If there are no parents, then we've reached an entry without accepting. Reload.
488
+ accepted = false;
489
+ break;
490
+ }
491
+ parents.push(...p);
492
+ }
493
+ }
494
+ return accepted;
495
+ }
496
+ function hmrAcceptCheckOne(bundle, id, depsByBundle) {
497
+ var modules = bundle.modules;
498
+ if (!modules) return;
499
+ if (depsByBundle && !depsByBundle[bundle.HMR_BUNDLE_ID]) {
500
+ // If we reached the root bundle without finding where the asset should go,
501
+ // there's nothing to do. Mark as "accepted" so we don't reload the page.
502
+ if (!bundle.parent) return true;
503
+ return hmrAcceptCheck(bundle.parent, id, depsByBundle);
504
+ }
505
+ if (checkedAssets[id]) return true;
506
+ checkedAssets[id] = true;
507
+ var cached = bundle.cache[id];
508
+ assetsToAccept.push([
509
+ bundle,
510
+ id
511
+ ]);
512
+ if (!cached || cached.hot && cached.hot._acceptCallbacks.length) return true;
513
+ }
514
+ function hmrAcceptRun(bundle, id) {
515
+ var cached = bundle.cache[id];
516
+ bundle.hotData = {};
517
+ if (cached && cached.hot) cached.hot.data = bundle.hotData;
518
+ if (cached && cached.hot && cached.hot._disposeCallbacks.length) cached.hot._disposeCallbacks.forEach(function(cb) {
519
+ cb(bundle.hotData);
520
+ });
521
+ delete bundle.cache[id];
522
+ bundle(id);
523
+ cached = bundle.cache[id];
524
+ if (cached && cached.hot && cached.hot._acceptCallbacks.length) cached.hot._acceptCallbacks.forEach(function(cb) {
525
+ var assetsToAlsoAccept = cb(function() {
526
+ return getParents(module.bundle.root, id);
527
+ });
528
+ if (assetsToAlsoAccept && assetsToAccept.length) // $FlowFixMe[method-unbinding]
529
+ assetsToAccept.push.apply(assetsToAccept, assetsToAlsoAccept);
530
+ });
531
+ acceptedAssets[id] = true;
532
+ }
533
+
534
+ },{}],"fVc1f":[function(require,module,exports) {
535
+ var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");
536
+ parcelHelpers.defineInteropFlag(exports);
537
+ console.log("cradova installed! right");
538
+
539
+ },{"@parcel/transformer-js/src/esmodule-helpers.js":"gkKU3"}]},["ckUkx","fVc1f"], "fVc1f", "parcelRequire3a98")
540
+
541
+ //# sour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,OAAO,CAAC,SAAU,EAAE,EAAE;QACjD,GAAG,OAAO,OAAO;IACnB;IAGF,OAAO,OAAO,KAAK,CAAC,GAAG;IACvB,OAAO;IACP,SAAS,OAAO,KAAK,CAAC,GAAG;IAEzB,IAAI,UAAU,OAAO,GAAG,IAAI,OAAO,GAAG,CAAC,gBAAgB,CAAC,MAAM,EAC5D,OAAO,GAAG,CAAC,gBAAgB,CAAC,OAAO,CAAC,SAAU,EAAE,EAAE;QAChD,IAAI,qBAAqB,GAAG,WAAY;YACtC,OAAO,WAAW,OAAO,MAAM,CAAC,IAAI,EAAE;QACxC;QAEA,IAAI,sBAAsB,eAAe,MAAM,EAC7C,+BAA+B;QAC/B,eAAe,IAAI,CAAC,KAAK,CAAC,gBAAgB;IAE9C;IAGF,cAAc,CAAC,GAAG,GAAG,IAAI;AAC3B;;;ACnkBA;;AAAA,QAAQ,GAAG,CAAC","sources":["node_modules/@parcel/runtime-browser-hmr/lib/runtime-b9f139c20977338b.js","dist/site/app.js"],"sourcesContent":["var HMR_HOST = null;var HMR_PORT = null;var HMR_SECURE = false;var HMR_ENV_HASH = \"d6ea1d42532a7575\";module.bundle.HMR_BUNDLE_ID = \"bea2c7cb387291ce\";\"use strict\";\n\n/* global HMR_HOST, HMR_PORT, HMR_ENV_HASH, HMR_SECURE, chrome, browser, globalThis, __parcel__import__, __parcel__importScripts__, ServiceWorkerGlobalScope */\n\n/*::\nimport type {\n HMRAsset,\n HMRMessage,\n} from '@parcel/reporter-dev-server/src/HMRServer.js';\ninterface ParcelRequire {\n (string): mixed;\n cache: {|[string]: ParcelModule|};\n hotData: mixed;\n Module: any;\n parent: ?ParcelRequire;\n isParcelRequire: true;\n modules: {|[string]: [Function, {|[string]: string|}]|};\n HMR_BUNDLE_ID: string;\n root: ParcelRequire;\n}\ninterface ParcelModule {\n hot: {|\n data: mixed,\n accept(cb: (Function) => void): void,\n dispose(cb: (mixed) => void): void,\n // accept(deps: Array<string> | string, cb: (Function) => void): void,\n // decline(): void,\n _acceptCallbacks: Array<(Function) => void>,\n _disposeCallbacks: Array<(mixed) => void>,\n |};\n}\ninterface ExtensionContext {\n runtime: {|\n reload(): void,\n getURL(url: string): string;\n getManifest(): {manifest_version: number, ...};\n |};\n}\ndeclare var module: {bundle: ParcelRequire, ...};\ndeclare var HMR_HOST: string;\ndeclare var HMR_PORT: string;\ndeclare var HMR_ENV_HASH: string;\ndeclare var HMR_SECURE: boolean;\ndeclare var chrome: ExtensionContext;\ndeclare var browser: ExtensionContext;\ndeclare var __parcel__import__: (string) => Promise<void>;\ndeclare var __parcel__importScripts__: (string) => Promise<void>;\ndeclare var globalThis: typeof self;\ndeclare var ServiceWorkerGlobalScope: Object;\n*/\nvar OVERLAY_ID = '__parcel__error__overlay__';\nvar OldModule = module.bundle.Module;\n\nfunction Module(moduleName) {\n OldModule.call(this, moduleName);\n this.hot = {\n data: module.bundle.hotData,\n _acceptCallbacks: [],\n _disposeCallbacks: [],\n accept: function (fn) {\n this._acceptCallbacks.push(fn || function () {});\n },\n dispose: function (fn) {\n this._disposeCallbacks.push(fn);\n }\n };\n module.bundle.hotData = undefined;\n}\n\nmodule.bundle.Module = Module;\nvar checkedAssets\n/*: {|[string]: boolean|} */\n, acceptedAssets\n/*: {|[string]: boolean|} */\n, assetsToAccept\n/*: Array<[ParcelRequire, string]> */\n;\n\nfunction getHostname() {\n return HMR_HOST || (location.protocol.indexOf('http') === 0 ? location.hostname : 'localhost');\n}\n\nfunction getPort() {\n return HMR_PORT || location.port;\n} // eslint-disable-next-line no-redeclare\n\n\nvar parent = module.bundle.parent;\n\nif ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {\n var hostname = getHostname();\n var port = getPort();\n var protocol = HMR_SECURE || location.protocol == 'https:' && !/localhost|127.0.0.1|0.0.0.0/.test(hostname) ? 'wss' : 'ws';\n var ws = new WebSocket(protocol + '://' + hostname + (port ? ':' + port : '') + '/'); // Web extension context\n\n var extCtx = typeof chrome === 'undefined' ? typeof browser === 'undefined' ? null : browser : chrome; // Safari doesn't support sourceURL in error stacks.\n // eval may also be disabled via CSP, so do a quick check.\n\n var supportsSourceURL = false;\n\n try {\n (0, eval)('throw new Error(\"test\"); //# sourceURL=test.js');\n } catch (err) {\n supportsSourceURL = err.stack.includes('test.js');\n } // $FlowFixMe\n\n\n ws.onmessage = async function (event\n /*: {data: string, ...} */\n ) {\n checkedAssets = {}\n /*: {|[string]: boolean|} */\n ;\n acceptedAssets = {}\n /*: {|[string]: boolean|} */\n ;\n assetsToAccept = [];\n var data\n /*: HMRMessage */\n = JSON.parse(event.data);\n\n if (data.type === 'update') {\n // Remove error overlay if there is one\n if (typeof document !== 'undefined') {\n removeErrorOverlay();\n }\n\n let assets = data.assets.filter(asset => asset.envHash === HMR_ENV_HASH); // Handle HMR Update\n\n let handled = assets.every(asset => {\n return asset.type === 'css' || asset.type === 'js' && hmrAcceptCheck(module.bundle.root, asset.id, asset.depsByBundle);\n });\n\n if (handled) {\n console.clear(); // Dispatch custom event so other runtimes (e.g React Refresh) are aware.\n\n if (typeof window !== 'undefined' && typeof CustomEvent !== 'undefined') {\n window.dispatchEvent(new CustomEvent('parcelhmraccept'));\n }\n\n await hmrApplyUpdates(assets);\n\n for (var i = 0; i < assetsToAccept.length; i++) {\n var id = assetsToAccept[i][1];\n\n if (!acceptedAssets[id]) {\n hmrAcceptRun(assetsToAccept[i][0], id);\n }\n }\n } else fullReload();\n }\n\n if (data.type === 'error') {\n // Log parcel errors to console\n for (let ansiDiagnostic of data.diagnostics.ansi) {\n let stack = ansiDiagnostic.codeframe ? ansiDiagnostic.codeframe : ansiDiagnostic.stack;\n console.error('🚨 [parcel]: ' + ansiDiagnostic.message + '\\n' + stack + '\\n\\n' + ansiDiagnostic.hints.join('\\n'));\n }\n\n if (typeof document !== 'undefined') {\n // Render the fancy html overlay\n removeErrorOverlay();\n var overlay = createErrorOverlay(data.diagnostics.html); // $FlowFixMe\n\n document.body.appendChild(overlay);\n }\n }\n };\n\n ws.onerror = function (e) {\n console.error(e.message);\n };\n\n ws.onclose = function () {\n console.warn('[parcel] 🚨 Connection to the HMR server was lost');\n };\n}\n\nfunction removeErrorOverlay() {\n var overlay = document.getElementById(OVERLAY_ID);\n\n if (overlay) {\n overlay.remove();\n console.log('[parcel] ✨ Error resolved');\n }\n}\n\nfunction createErrorOverlay(diagnostics) {\n var overlay = document.createElement('div');\n overlay.id = OVERLAY_ID;\n let errorHTML = '<div style=\"background: black; opacity: 0.85; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; font-family: Menlo, Consolas, monospace; z-index: 9999;\">';\n\n for (let diagnostic of diagnostics) {\n let stack = diagnostic.frames.length ? diagnostic.frames.reduce((p, frame) => {\n return `${p}\n<a href=\"/__parcel_launch_editor?file=${encodeURIComponent(frame.location)}\" style=\"text-decoration: underline; color: #888\" onclick=\"fetch(this.href); return false\">${frame.location}</a>\n${frame.code}`;\n }, '') : diagnostic.stack;\n errorHTML += `\n <div>\n <div style=\"font-size: 18px; font-weight: bold; margin-top: 20px;\">\n 🚨 ${diagnostic.message}\n </div>\n <pre>${stack}</pre>\n <div>\n ${diagnostic.hints.map(hint => '<div>💡 ' + hint + '</div>').join('')}\n </div>\n ${diagnostic.documentation ? `<div>📝 <a style=\"color: violet\" href=\"${diagnostic.documentation}\" target=\"_blank\">Learn more</a></div>` : ''}\n </div>\n `;\n }\n\n errorHTML += '</div>';\n overlay.innerHTML = errorHTML;\n return overlay;\n}\n\nfunction fullReload() {\n if ('reload' in location) {\n location.reload();\n } else if (extCtx && extCtx.runtime && extCtx.runtime.reload) {\n extCtx.runtime.reload();\n }\n}\n\nfunction getParents(bundle, id)\n/*: Array<[ParcelRequire, string]> */\n{\n var modules = bundle.modules;\n\n if (!modules) {\n return [];\n }\n\n var parents = [];\n var k, d, dep;\n\n for (k in modules) {\n for (d in modules[k][1]) {\n dep = modules[k][1][d];\n\n if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {\n parents.push([bundle, k]);\n }\n }\n }\n\n if (bundle.parent) {\n parents = parents.concat(getParents(bundle.parent, id));\n }\n\n return parents;\n}\n\nfunction updateLink(link) {\n var newLink = link.cloneNode();\n\n newLink.onload = function () {\n if (link.parentNode !== null) {\n // $FlowFixMe\n link.parentNode.removeChild(link);\n }\n };\n\n newLink.setAttribute('href', // $FlowFixMe\n link.getAttribute('href').split('?')[0] + '?' + Date.now()); // $FlowFixMe\n\n link.parentNode.insertBefore(newLink, link.nextSibling);\n}\n\nvar cssTimeout = null;\n\nfunction reloadCSS() {\n if (cssTimeout) {\n return;\n }\n\n cssTimeout = setTimeout(function () {\n var links = document.querySelectorAll('link[rel=\"stylesheet\"]');\n\n for (var i = 0; i < links.length; i++) {\n // $FlowFixMe[incompatible-type]\n var href\n /*: string */\n = links[i].getAttribute('href');\n var hostname = getHostname();\n var servedFromHMRServer = hostname === 'localhost' ? new RegExp('^(https?:\\\\/\\\\/(0.0.0.0|127.0.0.1)|localhost):' + getPort()).test(href) : href.indexOf(hostname + ':' + getPort());\n var absolute = /^https?:\\/\\//i.test(href) && href.indexOf(location.origin) !== 0 && !servedFromHMRServer;\n\n if (!absolute) {\n updateLink(links[i]);\n }\n }\n\n cssTimeout = null;\n }, 50);\n}\n\nfunction hmrDownload(asset) {\n if (asset.type === 'js') {\n if (typeof document !== 'undefined') {\n let script = document.createElement('script');\n script.src = asset.url + '?t=' + Date.now();\n\n if (asset.outputFormat === 'esmodule') {\n script.type = 'module';\n }\n\n return new Promise((resolve, reject) => {\n var _document$head;\n\n script.onload = () => resolve(script);\n\n script.onerror = reject;\n (_document$head = document.head) === null || _document$head === void 0 ? void 0 : _document$head.appendChild(script);\n });\n } else if (typeof importScripts === 'function') {\n // Worker scripts\n if (asset.outputFormat === 'esmodule') {\n return __parcel__import__(asset.url + '?t=' + Date.now());\n } else {\n return new Promise((resolve, reject) => {\n try {\n __parcel__importScripts__(asset.url + '?t=' + Date.now());\n\n resolve();\n } catch (err) {\n reject(err);\n }\n });\n }\n }\n }\n}\n\nasync function hmrApplyUpdates(assets) {\n global.parcelHotUpdate = Object.create(null);\n let scriptsToRemove;\n\n try {\n // If sourceURL comments aren't supported in eval, we need to load\n // the update from the dev server over HTTP so that stack traces\n // are correct in errors/logs. This is much slower than eval, so\n // we only do it if needed (currently just Safari).\n // https://bugs.webkit.org/show_bug.cgi?id=137297\n // This path is also taken if a CSP disallows eval.\n if (!supportsSourceURL) {\n let promises = assets.map(asset => {\n var _hmrDownload;\n\n return (_hmrDownload = hmrDownload(asset)) === null || _hmrDownload === void 0 ? void 0 : _hmrDownload.catch(err => {\n // Web extension bugfix for Chromium\n // https://bugs.chromium.org/p/chromium/issues/detail?id=1255412#c12\n if (extCtx && extCtx.runtime && extCtx.runtime.getManifest().manifest_version == 3) {\n if (typeof ServiceWorkerGlobalScope != 'undefined' && global instanceof ServiceWorkerGlobalScope) {\n extCtx.runtime.reload();\n return;\n }\n\n asset.url = extCtx.runtime.getURL('/__parcel_hmr_proxy__?url=' + encodeURIComponent(asset.url + '?t=' + Date.now()));\n return hmrDownload(asset);\n }\n\n throw err;\n });\n });\n scriptsToRemove = await Promise.all(promises);\n }\n\n assets.forEach(function (asset) {\n hmrApply(module.bundle.root, asset);\n });\n } finally {\n delete global.parcelHotUpdate;\n\n if (scriptsToRemove) {\n scriptsToRemove.forEach(script => {\n if (script) {\n var _document$head2;\n\n (_document$head2 = document.head) === null || _document$head2 === void 0 ? void 0 : _document$head2.removeChild(script);\n }\n });\n }\n }\n}\n\nfunction hmrApply(bundle\n/*: ParcelRequire */\n, asset\n/*: HMRAsset */\n) {\n var modules = bundle.modules;\n\n if (!modules) {\n return;\n }\n\n if (asset.type === 'css') {\n reloadCSS();\n } else if (asset.type === 'js') {\n let deps = asset.depsByBundle[bundle.HMR_BUNDLE_ID];\n\n if (deps) {\n if (modules[asset.id]) {\n // Remove dependencies that are removed and will become orphaned.\n // This is necessary so that if the asset is added back again, the cache is gone, and we prevent a full page reload.\n let oldDeps = modules[asset.id][1];\n\n for (let dep in oldDeps) {\n if (!deps[dep] || deps[dep] !== oldDeps[dep]) {\n let id = oldDeps[dep];\n let parents = getParents(module.bundle.root, id);\n\n if (parents.length === 1) {\n hmrDelete(module.bundle.root, id);\n }\n }\n }\n }\n\n if (supportsSourceURL) {\n // Global eval. We would use `new Function` here but browser\n // support for source maps is better with eval.\n (0, eval)(asset.output);\n } // $FlowFixMe\n\n\n let fn = global.parcelHotUpdate[asset.id];\n modules[asset.id] = [fn, deps];\n } else if (bundle.parent) {\n hmrApply(bundle.parent, asset);\n }\n }\n}\n\nfunction hmrDelete(bundle, id) {\n let modules = bundle.modules;\n\n if (!modules) {\n return;\n }\n\n if (modules[id]) {\n // Collect dependencies that will become orphaned when this module is deleted.\n let deps = modules[id][1];\n let orphans = [];\n\n for (let dep in deps) {\n let parents = getParents(module.bundle.root, deps[dep]);\n\n if (parents.length === 1) {\n orphans.push(deps[dep]);\n }\n } // Delete the module. This must be done before deleting dependencies in case of circular dependencies.\n\n\n delete modules[id];\n delete bundle.cache[id]; // Now delete the orphans.\n\n orphans.forEach(id => {\n hmrDelete(module.bundle.root, id);\n });\n } else if (bundle.parent) {\n hmrDelete(bundle.parent, id);\n }\n}\n\nfunction hmrAcceptCheck(bundle\n/*: ParcelRequire */\n, id\n/*: string */\n, depsByBundle\n/*: ?{ [string]: { [string]: string } }*/\n) {\n if (hmrAcceptCheckOne(bundle, id, depsByBundle)) {\n return true;\n } // Traverse parents breadth first. All possible ancestries must accept the HMR update, or we'll reload.\n\n\n let parents = getParents(module.bundle.root, id);\n let accepted = false;\n\n while (parents.length > 0) {\n let v = parents.shift();\n let a = hmrAcceptCheckOne(v[0], v[1], null);\n\n if (a) {\n // If this parent accepts, stop traversing upward, but still consider siblings.\n accepted = true;\n } else {\n // Otherwise, queue the parents in the next level upward.\n let p = getParents(module.bundle.root, v[1]);\n\n if (p.length === 0) {\n // If there are no parents, then we've reached an entry without accepting. Reload.\n accepted = false;\n break;\n }\n\n parents.push(...p);\n }\n }\n\n return accepted;\n}\n\nfunction hmrAcceptCheckOne(bundle\n/*: ParcelRequire */\n, id\n/*: string */\n, depsByBundle\n/*: ?{ [string]: { [string]: string } }*/\n) {\n var modules = bundle.modules;\n\n if (!modules) {\n return;\n }\n\n if (depsByBundle && !depsByBundle[bundle.HMR_BUNDLE_ID]) {\n // If we reached the root bundle without finding where the asset should go,\n // there's nothing to do. Mark as \"accepted\" so we don't reload the page.\n if (!bundle.parent) {\n return true;\n }\n\n return hmrAcceptCheck(bundle.parent, id, depsByBundle);\n }\n\n if (checkedAssets[id]) {\n return true;\n }\n\n checkedAssets[id] = true;\n var cached = bundle.cache[id];\n assetsToAccept.push([bundle, id]);\n\n if (!cached || cached.hot && cached.hot._acceptCallbacks.length) {\n return true;\n }\n}\n\nfunction hmrAcceptRun(bundle\n/*: ParcelRequire */\n, id\n/*: string */\n) {\n var cached = bundle.cache[id];\n bundle.hotData = {};\n\n if (cached && cached.hot) {\n cached.hot.data = bundle.hotData;\n }\n\n if (cached && cached.hot && cached.hot._disposeCallbacks.length) {\n cached.hot._disposeCallbacks.forEach(function (cb) {\n cb(bundle.hotData);\n });\n }\n\n delete bundle.cache[id];\n bundle(id);\n cached = bundle.cache[id];\n\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n cached.hot._acceptCallbacks.forEach(function (cb) {\n var assetsToAlsoAccept = cb(function () {\n return getParents(module.bundle.root, id);\n });\n\n if (assetsToAlsoAccept && assetsToAccept.length) {\n // $FlowFixMe[method-unbinding]\n assetsToAccept.push.apply(assetsToAccept, assetsToAlsoAccept);\n }\n });\n }\n\n acceptedAssets[id] = true;\n}","console.log(\"cradova installed! right\");\nexport {};\n"],"names":[],"version":3,"file":"index.387291ce.js.map","sourceRoot":"/__parcel_source_root/"}