@innovatorved/code-lab 0.1.6 → 0.1.8

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 (51) hide show
  1. package/ARCHITECTURE.md +34 -16
  2. package/README.md +17 -7
  3. package/dist/code-lab.css +26 -0
  4. package/dist/code-lab.d.ts +271 -1
  5. package/dist/code-lab.esm.js +2909 -166
  6. package/dist/code-lab.js +2869 -164
  7. package/dist/csp.d.ts +86 -0
  8. package/dist/diagnostics.d.ts +43 -0
  9. package/dist/extensions/guided-lab.esm.js +66 -0
  10. package/dist/extensions/guided-lab.js +66 -0
  11. package/dist/html.d.ts +24 -0
  12. package/dist/index.d.ts +9 -1
  13. package/dist/logger.d.ts +60 -0
  14. package/dist/preview-sw.js +425 -11
  15. package/dist/runtime.d.ts +6 -27
  16. package/dist/runtime.esm.js +171 -31
  17. package/dist/runtime.js +171 -31
  18. package/dist/schemas.d.ts +366 -25
  19. package/dist/schemas.esm.js +73 -0
  20. package/dist/schemas.js +73 -0
  21. package/dist/scm.d.ts +77 -0
  22. package/dist/search.d.ts +75 -0
  23. package/dist/shell.d.ts +18 -47
  24. package/dist/shell.esm.js +236 -37
  25. package/dist/shell.js +236 -37
  26. package/dist/storage.d.ts +57 -0
  27. package/dist/terminal.d.ts +11 -87
  28. package/dist/terminal.esm.js +124 -7
  29. package/dist/terminal.js +124 -7
  30. package/dist/zip.d.ts +42 -0
  31. package/package.json +11 -3
  32. package/src/code-lab.css +26 -0
  33. package/src/csp.ts +396 -0
  34. package/src/diagnostics.ts +116 -0
  35. package/src/html.ts +88 -0
  36. package/src/index.ts +39 -1
  37. package/src/logger.ts +139 -0
  38. package/src/preview-sw.js +97 -11
  39. package/src/runtime.ts +132 -105
  40. package/src/schemas.ts +94 -1
  41. package/src/scm.ts +268 -0
  42. package/src/search.ts +389 -0
  43. package/src/shell.ts +410 -369
  44. package/src/storage.ts +377 -0
  45. package/src/terminal.ts +898 -918
  46. package/src/workbench.ts +926 -89
  47. package/src/zip.ts +326 -0
  48. package/src/runtime.js +0 -8229
  49. package/src/shell.js +0 -7257
  50. package/src/terminal.js +0 -1046
  51. package/src/workbench.js +0 -7353
package/dist/runtime.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * ============================================================
3
- * @innovatorved/code-lab v2.0.0 — Standalone Browser Code IDE & Virtual Runtime
3
+ * @innovatorved/code-lab v0.1.8 — Standalone Browser Code IDE & Virtual Runtime
4
4
  * ============================================================
5
5
  * Features:
6
6
  * - Sandboxed Web Worker Execution Engine with Multi-Instance Isolation & Watchdog Timer
@@ -16,7 +16,109 @@
16
16
  */
17
17
  (function (root) {
18
18
  'use strict';
19
+ var CodeLabLogger = (() => {
20
+ var __defProp = Object.defineProperty;
21
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
22
+ var __getOwnPropNames = Object.getOwnPropertyNames;
23
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
24
+ var __export = (target, all) => {
25
+ for (var name in all)
26
+ __defProp(target, name, { get: all[name], enumerable: true });
27
+ };
28
+ var __copyProps = (to, from, except, desc) => {
29
+ if (from && typeof from === "object" || typeof from === "function") {
30
+ for (let key of __getOwnPropNames(from))
31
+ if (!__hasOwnProp.call(to, key) && key !== except)
32
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
33
+ }
34
+ return to;
35
+ };
36
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
37
+
38
+ // src/logger.ts
39
+ var logger_exports = {};
40
+ __export(logger_exports, {
41
+ CodeLabError: () => CodeLabError,
42
+ DEFAULT_LOGGER: () => DEFAULT_LOGGER,
43
+ LOG_PREFIX: () => LOG_PREFIX,
44
+ createLogger: () => createLogger,
45
+ default: () => logger_default,
46
+ isCodeLabError: () => isCodeLabError
47
+ });
48
+ var LOG_PREFIX = "[code-lab]";
49
+ var CodeLabError = class extends Error {
50
+ code;
51
+ options;
52
+ cause;
53
+ recoverable;
54
+ details;
55
+ context;
56
+ constructor(code, message, options = {}) {
57
+ super(message);
58
+ this.name = "CodeLabError";
59
+ this.code = code;
60
+ this.options = options;
61
+ this.cause = options.cause;
62
+ this.recoverable = options.recoverable !== false;
63
+ const meta = options.details ?? options.context;
64
+ if (meta !== void 0) {
65
+ this.details = meta;
66
+ this.context = meta;
67
+ }
68
+ Object.setPrototypeOf(this, new.target.prototype);
69
+ }
70
+ };
71
+ function isCodeLabError(value) {
72
+ return Boolean(
73
+ value && typeof value === "object" && (value instanceof CodeLabError || value.name === "CodeLabError" && typeof value.code === "string")
74
+ );
75
+ }
76
+ function createLogger(options = {}) {
77
+ const sink = options.logger ?? null;
78
+ const debugEnabled = options.debug === true;
79
+ const prefix = options.prefix || LOG_PREFIX;
80
+ const write = (level, args) => {
81
+ if (level === "debug" && !debugEnabled) return;
82
+ if (sink && typeof sink[level] === "function") {
83
+ let sinkError = null;
84
+ try {
85
+ sink[level](...args);
86
+ return;
87
+ } catch (err) {
88
+ sinkError = err;
89
+ }
90
+ }
91
+ const consoleObj = typeof console !== "undefined" ? console : null;
92
+ const fn = consoleObj ? consoleObj[level] : null;
93
+ if (typeof fn === "function") {
94
+ fn.call(consoleObj, prefix, ...args);
95
+ }
96
+ };
97
+ return {
98
+ debug: (...args) => write("debug", args),
99
+ info: (...args) => write("info", args),
100
+ warn: (...args) => write("warn", args),
101
+ error: (...args) => write("error", args)
102
+ };
103
+ }
104
+ var DEFAULT_LOGGER = createLogger();
105
+ var _loggerNamespace = {
106
+ LOG_PREFIX,
107
+ CodeLabError,
108
+ isCodeLabError,
109
+ createLogger,
110
+ DEFAULT_LOGGER
111
+ };
112
+ var _globalRoot = typeof globalThis !== "undefined" ? globalThis : null;
113
+ if (_globalRoot && !_globalRoot.CodeLabLogger) {
114
+ _globalRoot.CodeLabLogger = _loggerNamespace;
115
+ }
116
+ var logger_default = _loggerNamespace;
117
+ return __toCommonJS(logger_exports);
118
+ })();
119
+
19
120
  (function () {
121
+ // @ts-nocheck
20
122
  'use strict';
21
123
  if (typeof globalThis !== 'undefined' && typeof globalThis.Bun === 'undefined') {
22
124
  globalThis.Bun = { version: '1.1.20' };
@@ -38,6 +140,14 @@ if (typeof globalThis !== 'undefined' && typeof globalThis.Bun === 'undefined')
38
140
  */
39
141
 
40
142
  function __initVirtualRuntime(rootScope) {
143
+ const _runtimeLogger = (rootScope && rootScope.CodeLabLogger && typeof rootScope.CodeLabLogger.createLogger === 'function')
144
+ ? rootScope.CodeLabLogger.createLogger()
145
+ : {
146
+ debug() {},
147
+ info() {},
148
+ warn(msg, meta) { if (typeof console !== 'undefined' && console.warn) console.warn('[CodeLab]', msg, meta || ''); },
149
+ error(msg, meta) { if (typeof console !== 'undefined' && console.error) console.error('[CodeLab]', msg, meta || ''); }
150
+ };
41
151
  // =========================================================================
42
152
  // 1. UTF-8 / HEX / BASE64 / BASE64URL CODECS & VIRTUAL BUFFER
43
153
  // =========================================================================
@@ -1597,7 +1707,7 @@ function __initVirtualRuntime(rootScope) {
1597
1707
  },
1598
1708
  final(cb) {
1599
1709
  if (fd !== null) {
1600
- try { fsShim.closeSync(fd); } catch (_) {}
1710
+ try { fsShim.closeSync(fd); } catch (err) { _runtimeLogger.debug('vfs writeStream closeSync failed', err); }
1601
1711
  fd = null;
1602
1712
  }
1603
1713
  cb(null);
@@ -2117,7 +2227,9 @@ function __initVirtualRuntime(rootScope) {
2117
2227
  return pathname + search + hash;
2118
2228
  }
2119
2229
  return resolvedUrl.href;
2120
- } catch (_) {}
2230
+ } catch (err) {
2231
+ _runtimeLogger.debug('url.resolve fallback used', err);
2232
+ }
2121
2233
  }
2122
2234
  if (toStr.startsWith('/')) {
2123
2235
  const m = /^([a-zA-Z][a-zA-Z0-9+.-]*:\/\/[^/?#]+)/.exec(fromStr);
@@ -2556,10 +2668,10 @@ function __initVirtualRuntime(rootScope) {
2556
2668
  for (const [port, entry] of Array.from(table.entries())) {
2557
2669
  if (entry.pid !== undefined && String(entry.pid) === pStr) {
2558
2670
  if (entry.server && typeof entry.server.close === 'function') {
2559
- try { entry.server.close(); } catch (_) {}
2671
+ try { entry.server.close(); } catch (err) { _runtimeLogger.debug('portTable server.close failed', err); }
2560
2672
  }
2561
2673
  if (typeof entry.stop === 'function') {
2562
- try { entry.stop(); } catch (_) {}
2674
+ try { entry.stop(); } catch (err) { _runtimeLogger.debug('portTable entry.stop failed', err); }
2563
2675
  }
2564
2676
  // Avoid a double 'close' emission when entry.server.close() already
2565
2677
  // unregistered the port through unregisterServer().
@@ -3196,7 +3308,7 @@ function __initVirtualRuntime(rootScope) {
3196
3308
  },
3197
3309
  closeAllServers() {
3198
3310
  for (const s of Array.from(activeServers.values())) {
3199
- try { s.close(); } catch (_) {}
3311
+ try { s.close(); } catch (err) { _runtimeLogger.debug('vhttp closeAllServers close failed', err); }
3200
3312
  }
3201
3313
  activeServers.clear();
3202
3314
  }
@@ -4022,7 +4134,7 @@ function __initVirtualRuntime(rootScope) {
4022
4134
 
4023
4135
  function closeAllServers() {
4024
4136
  for (const srv of servers.values()) {
4025
- try { srv.close(); } catch (_) {}
4137
+ try { srv.close(); } catch (err) { _runtimeLogger.debug('vnet closeAllServers close failed', err); }
4026
4138
  }
4027
4139
  servers.clear();
4028
4140
  }
@@ -5102,7 +5214,9 @@ function __initVirtualRuntime(rootScope) {
5102
5214
  try {
5103
5215
  const pkgJson = JSON.parse(content);
5104
5216
  for (const dep of Object.keys(pkgJson.dependencies || {})) addSpec(dep);
5105
- } catch (_) {}
5217
+ } catch (err) {
5218
+ _runtimeLogger.debug('preloadNpmPackages invalid package.json', err);
5219
+ }
5106
5220
  continue;
5107
5221
  }
5108
5222
  const reqRe = /\brequire\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
@@ -5131,7 +5245,9 @@ function __initVirtualRuntime(rootScope) {
5131
5245
  const meta = await res.json();
5132
5246
  deps = Object.keys((meta && meta.dependencies) || {});
5133
5247
  }
5134
- } catch (_) {}
5248
+ } catch (err) {
5249
+ _runtimeLogger.debug('preloadNpmPackages metadata fetch failed', { pkg, err });
5250
+ }
5135
5251
  _npmMetadataCache.set(pkg, deps);
5136
5252
  }));
5137
5253
  for (const pkg of pending) {
@@ -5149,7 +5265,7 @@ function __initVirtualRuntime(rootScope) {
5149
5265
  continue;
5150
5266
  }
5151
5267
  if (typeof onProgress === 'function') {
5152
- try { onProgress(pkg); } catch (_) {}
5268
+ try { onProgress(pkg); } catch (err) { _runtimeLogger.debug('preloadNpmPackages onProgress callback failed', err); }
5153
5269
  }
5154
5270
  if (typeof fetch === 'function') {
5155
5271
  try {
@@ -5159,7 +5275,9 @@ function __initVirtualRuntime(rootScope) {
5159
5275
  if (typeof existingCache.set === 'function') existingCache.set(pkg, text);
5160
5276
  loaded[pkg] = text;
5161
5277
  }
5162
- } catch (_) {}
5278
+ } catch (err) {
5279
+ _runtimeLogger.debug('preloadNpmPackages package fetch failed', { pkg, err });
5280
+ }
5163
5281
  }
5164
5282
  }
5165
5283
  return loaded;
@@ -5351,7 +5469,9 @@ function __initVirtualRuntime(rootScope) {
5351
5469
  const dir = VirtualPath.dirname(abs);
5352
5470
  if (!vfs.existsSync(dir)) vfs.mkdirSync(dir, { recursive: true });
5353
5471
  vfs.writeFileSync(abs, content);
5354
- } catch (_) {}
5472
+ } catch (err) {
5473
+ _runtimeLogger.warn('vfs initial file seed failed', { abs, err });
5474
+ }
5355
5475
  }
5356
5476
  }
5357
5477
  const vhttp = createVirtualHttp(resourceTracker, activePortTable);
@@ -5796,7 +5916,7 @@ function __initVirtualRuntime(rootScope) {
5796
5916
  exitCode = Number(code) || 0;
5797
5917
  if (!hasExited) {
5798
5918
  hasExited = true;
5799
- try { sandboxProcess.emit('exit', exitCode); } catch (_) {}
5919
+ try { sandboxProcess.emit('exit', exitCode); } catch (err) { _runtimeLogger.debug('process exit listener threw', err); }
5800
5920
  }
5801
5921
  if (syncExecDepth > 0) {
5802
5922
  throw new ProcessExitSignal(exitCode);
@@ -5829,8 +5949,8 @@ function __initVirtualRuntime(rootScope) {
5829
5949
  resourceTracker.inFlightHttp.clear();
5830
5950
 
5831
5951
  if (!isBackground) {
5832
- try { vhttp.closeAllServers(); } catch (_) {}
5833
- try { vnet.closeAllServers(); } catch (_) {}
5952
+ try { vhttp.closeAllServers(); } catch (err) { _runtimeLogger.debug('SIGINT vhttp closeAllServers failed', err); }
5953
+ try { vnet.closeAllServers(); } catch (err) { _runtimeLogger.debug('SIGINT vnet closeAllServers failed', err); }
5834
5954
  }
5835
5955
  };
5836
5956
 
@@ -5940,10 +6060,10 @@ function __initVirtualRuntime(rootScope) {
5940
6060
  sandboxConsole.log(`✗ ${fullName}\n ${e && e.stack ? e.stack : e}`);
5941
6061
  } finally {
5942
6062
  for (const ae of hooksSnapshot.afterEachList) {
5943
- try { await ae(); } catch (_) {}
6063
+ try { await ae(); } catch (err) { _runtimeLogger.debug('node:test afterEach hook failed', err); }
5944
6064
  }
5945
6065
  for (const af of hooksSnapshot.afterToRun) {
5946
- try { await af(); } catch (_) {}
6066
+ try { await af(); } catch (err) { _runtimeLogger.debug('node:test after hook failed', err); }
5947
6067
  }
5948
6068
  hooksSnapshot.afterToRun.length = 0;
5949
6069
  }
@@ -5991,7 +6111,7 @@ function __initVirtualRuntime(rootScope) {
5991
6111
  const afters = [...suiteCtx.afterCallbacks];
5992
6112
  const cleanupTask = nodeTestChain.then(async () => {
5993
6113
  for (const af of afters) {
5994
- try { await af(); } catch (_) {}
6114
+ try { await af(); } catch (err) { _runtimeLogger.debug('node:test suite after hook failed', err); }
5995
6115
  }
5996
6116
  });
5997
6117
  nodeTestChain = cleanupTask.catch(() => {});
@@ -6037,7 +6157,7 @@ function __initVirtualRuntime(rootScope) {
6037
6157
  getEntriesByName: (n, t) => (entry.name === n && (!t || entry.entryType === t) ? [entry] : []),
6038
6158
  getEntriesByType: (t) => (entry.entryType === t ? [entry] : [])
6039
6159
  };
6040
- try { obs._cb(list, obs); } catch (_) {}
6160
+ try { obs._cb(list, obs); } catch (err) { _runtimeLogger.debug('PerformanceObserver callback failed', err); }
6041
6161
  }
6042
6162
  }
6043
6163
  }
@@ -6142,7 +6262,7 @@ function __initVirtualRuntime(rootScope) {
6142
6262
  getEntriesByName: (n, t) => buffered.filter((e) => e.name === n && (!t || e.entryType === t)),
6143
6263
  getEntriesByType: (t) => buffered.filter((e) => e.entryType === t)
6144
6264
  };
6145
- queueMicrotask(() => { try { this._cb(list, this); } catch (_) {} });
6265
+ queueMicrotask(() => { try { this._cb(list, this); } catch (err) { _runtimeLogger.debug('PerformanceObserver buffered callback failed', err); } });
6146
6266
  }
6147
6267
  }
6148
6268
  }
@@ -7413,7 +7533,9 @@ function __initVirtualRuntime(rootScope) {
7413
7533
  const resolvedEntry = resolveFileOrDirCandidates(VirtualPath.resolve(base, entryRel));
7414
7534
  if (resolvedEntry) return resolvedEntry;
7415
7535
  }
7416
- } catch (_) {}
7536
+ } catch (err) {
7537
+ _runtimeLogger.debug('resolveFileOrDirCandidates package.json parse failed', err);
7538
+ }
7417
7539
  }
7418
7540
  const indexCandidates = ['index.js', 'index.ts', 'index.mjs', 'index.cjs', 'index.json'];
7419
7541
  for (const idx of indexCandidates) {
@@ -7483,7 +7605,9 @@ function __initVirtualRuntime(rootScope) {
7483
7605
  if (found) return found;
7484
7606
  }
7485
7607
  }
7486
- } catch (_) {}
7608
+ } catch (err) {
7609
+ _runtimeLogger.debug('resolveModulePath subpath package.json parse failed', err);
7610
+ }
7487
7611
  }
7488
7612
  const foundSub = resolveFileOrDirCandidates(VirtualPath.join(pkgRoot, subpath));
7489
7613
  if (foundSub) return foundSub;
@@ -7525,7 +7649,9 @@ function __initVirtualRuntime(rootScope) {
7525
7649
  if (isLocal && activePortTable) {
7526
7650
  return await activePortTable.dispatchRequest(urlStr, finalInit);
7527
7651
  }
7528
- } catch (_) {}
7652
+ } catch (err) {
7653
+ _runtimeLogger.debug('virtualFetch local URL dispatch skipped', err);
7654
+ }
7529
7655
 
7530
7656
  if (typeof globalThis.fetch === 'function') {
7531
7657
  return await globalThis.fetch(urlOrReq, init);
@@ -7692,7 +7818,9 @@ function __initVirtualRuntime(rootScope) {
7692
7818
  if (err instanceof SyntaxError && (/\bawait\b/.test(body) || /await/i.test(err.message))) {
7693
7819
  try {
7694
7820
  return new AsyncFunction(...argNames, body);
7695
- } catch (_) {}
7821
+ } catch (asyncErr) {
7822
+ _runtimeLogger.debug('AsyncFunction compilation fallback failed', asyncErr);
7823
+ }
7696
7824
  }
7697
7825
  if (
7698
7826
  err &&
@@ -7746,7 +7874,9 @@ function __initVirtualRuntime(rootScope) {
7746
7874
  if (signal && onAbort) {
7747
7875
  try {
7748
7876
  signal.removeEventListener('abort', onAbort);
7749
- } catch (_) {}
7877
+ } catch (err) {
7878
+ _runtimeLogger.debug('raceWithAbort removeEventListener failed', err);
7879
+ }
7750
7880
  }
7751
7881
  };
7752
7882
 
@@ -7905,11 +8035,11 @@ function __initVirtualRuntime(rootScope) {
7905
8035
  }
7906
8036
  } finally {
7907
8037
  if (signal && signalListener) {
7908
- try { signal.removeEventListener('abort', signalListener); } catch (_) {}
8038
+ try { signal.removeEventListener('abort', signalListener); } catch (err) { _runtimeLogger.debug('executeInVirtualRuntime removeEventListener failed', err); }
7909
8039
  }
7910
8040
  if (!hasExited) {
7911
8041
  hasExited = true;
7912
- try { sandboxProcess.emit('exit', exitCode); } catch (_) {}
8042
+ try { sandboxProcess.emit('exit', exitCode); } catch (err) { _runtimeLogger.debug('executeInVirtualRuntime exit listener failed', err); }
7913
8043
  }
7914
8044
  for (const rawId of resourceTracker.allTimers) {
7915
8045
  clearTimeout(rawId);
@@ -8017,7 +8147,16 @@ function createWorkerRuntimeSource() {
8017
8147
  return `'use strict';\nself.__virtualRuntime = (${__initVirtualRuntime.toString()})(self);\n(${__workerMessageLoop.toString()})(self);\n`;
8018
8148
  }
8019
8149
 
8020
- const _hostRuntime = __initVirtualRuntime(typeof globalThis !== 'undefined' ? globalThis : (typeof window !== 'undefined' ? window : global));
8150
+ const _hostScope = typeof globalThis !== 'undefined' ? globalThis : (typeof window !== 'undefined' ? window : global);
8151
+ const _hostLogger = (_hostScope && _hostScope.CodeLabLogger && typeof _hostScope.CodeLabLogger.createLogger === 'function')
8152
+ ? _hostScope.CodeLabLogger.createLogger()
8153
+ : {
8154
+ debug() {},
8155
+ info() {},
8156
+ warn(msg, meta) { if (typeof console !== 'undefined' && console.warn) console.warn('[CodeLab]', msg, meta || ''); },
8157
+ error(msg, meta) { if (typeof console !== 'undefined' && console.error) console.error('[CodeLab]', msg, meta || ''); }
8158
+ };
8159
+ const _hostRuntime = __initVirtualRuntime(_hostScope);
8021
8160
  _hostRuntime.createWorkerRuntimeSource = createWorkerRuntimeSource;
8022
8161
 
8023
8162
  let _cachedWorkerUrl = null;
@@ -8041,7 +8180,7 @@ function _ensureWarmWorker() {
8041
8180
 
8042
8181
  function _destroyWarmWorker() {
8043
8182
  if (_warmWorker) {
8044
- try { _warmWorker.terminate(); } catch (_) {}
8183
+ try { _warmWorker.terminate(); } catch (err) { _hostLogger.debug('warmWorker.terminate failed', err); }
8045
8184
  _warmWorker = null;
8046
8185
  }
8047
8186
  _warmWorkerBusy = false;
@@ -8096,7 +8235,7 @@ _hostRuntime.executeInWorker = async function executeInWorker(options = {}) {
8096
8235
 
8097
8236
  function releaseWorker(terminateWorker) {
8098
8237
  if (options.signal && abortListener) {
8099
- try { options.signal.removeEventListener('abort', abortListener); } catch (_) {}
8238
+ try { options.signal.removeEventListener('abort', abortListener); } catch (err) { _hostLogger.debug('executeInWorker removeEventListener failed', err); }
8100
8239
  abortListener = null;
8101
8240
  }
8102
8241
  _activeWorkerJobs.delete(requestId);
@@ -8111,7 +8250,7 @@ _hostRuntime.executeInWorker = async function executeInWorker(options = {}) {
8111
8250
  }
8112
8251
  }
8113
8252
  } else {
8114
- try { worker.terminate(); } catch (_) {}
8253
+ try { worker.terminate(); } catch (err) { _hostLogger.debug('worker.terminate failed', err); }
8115
8254
  }
8116
8255
  }
8117
8256
 
@@ -8247,6 +8386,7 @@ if (typeof module !== 'undefined' && module.exports) {
8247
8386
  }
8248
8387
 
8249
8388
 
8389
+
8250
8390
  })();
8251
8391
 
8252
8392
  if (typeof module !== 'undefined' && module.exports) {