ai-ebm-assistant-v4 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -14,7 +14,6 @@ EBM AI Assistant is a clinical decision support system that provides AI-powered
|
|
|
14
14
|
1. Clone the repository:
|
|
15
15
|
```bash
|
|
16
16
|
git clone <repository_url>
|
|
17
|
-
cd emb-ai
|
|
18
17
|
```
|
|
19
18
|
2. Install dependencies:
|
|
20
19
|
```bash
|
|
@@ -49,6 +48,7 @@ Runs Plop to generate new components or atoms based on templates.
|
|
|
49
48
|
## Technologies Used
|
|
50
49
|
|
|
51
50
|
- **React**: A JavaScript library for building user interfaces, maintained by Facebook and a community of individual developers and companies.
|
|
51
|
+
- **Material-UI (MUI)**: A comprehensive React UI toolset for building features faster.
|
|
52
52
|
- **Vite**: A next-generation frontend tooling that provides an extremely fast development experience.
|
|
53
53
|
- **Axios**: Promise-based HTTP client for the browser and Node.js.
|
|
54
54
|
- **Node.js**: JavaScript runtime environment(v20).
|
|
@@ -86,17 +86,16 @@ Follow these steps for a manual publishing process:
|
|
|
86
86
|
|
|
87
87
|
To automate the publishing process, you can use the provided `publish.sh` script. This script handles installing dependencies, committing changes (with a message like "Release: EBM AI Assistant package <version>"), updating the package version (patch, minor, or major based on your input), building the library, logging into NPM (using environment variables), and publishing the package.
|
|
88
88
|
|
|
89
|
-
1. **Set NPM Credentials (Securely!)**: Before running the script, ensure your NPM username, password, and email are set as environment variables. **DO NOT hardcode them in the script or commit them to version control.**
|
|
90
89
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
2. **Run the Publish Script**: Execute the `publish.sh` script with the desired version type (patch, minor, or major).
|
|
90
|
+
1. **Run the Publish Script**: Execute the `publish.sh` script with the desired version type (patch, minor, or major).
|
|
94
91
|
```bash
|
|
95
92
|
./publish.sh <version_type>
|
|
96
93
|
```
|
|
97
94
|
*Example: `./publish.sh patch`*
|
|
95
|
+
*Example: `./publish.sh minor`*
|
|
96
|
+
*Example: `./publish.sh major`*
|
|
98
97
|
|
|
99
|
-
|
|
98
|
+
2. **Verify**: Check the version update on the NPM website after publishing.
|
|
100
99
|
|
|
101
100
|
For more details on manual publishing, refer to the [NPM documentation](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages).
|
|
102
101
|
|
|
@@ -116,4 +115,5 @@ For more details on manual publishing, refer to the [NPM documentation](https://
|
|
|
116
115
|
- `package.json`: Project dependencies and scripts.
|
|
117
116
|
|
|
118
117
|
## Vite Library Mode
|
|
119
|
-
This project leverages Vite's library mode (`vite build --watch --mode library`) to build components into a shareable NPM package. This configuration optimizes the output for library consumption, making it easy to integrate these components into other projects. The `app.jsx` serves as a development playground to test these components during their creation.
|
|
118
|
+
This project leverages Vite's library mode (`vite build --watch --mode library`) to build components into a shareable NPM package. This configuration optimizes the output for library consumption, making it easy to integrate these components into other projects. The `app.jsx` serves as a development playground to test these components during their creation.
|
|
119
|
+
>>>>>>> 8f6a73d2b26a69176b7837f59d48d812e915fa85
|
|
@@ -22693,14 +22693,14 @@ var _propertyDesc = function(e, t) {
|
|
|
22693
22693
|
writable: !(e & 4),
|
|
22694
22694
|
value: t
|
|
22695
22695
|
};
|
|
22696
|
-
}, dP$
|
|
22697
|
-
return dP$
|
|
22696
|
+
}, dP$2 = require_objectDp(), createDesc$2 = _propertyDesc, _hide = require_descriptors() ? function(e, t, n) {
|
|
22697
|
+
return dP$2.f(e, t, createDesc$2(1, n));
|
|
22698
22698
|
} : function(e, t, n) {
|
|
22699
22699
|
return e[t] = n, e;
|
|
22700
22700
|
}, hasOwnProperty$1 = {}.hasOwnProperty, _has$1 = function(e, t) {
|
|
22701
22701
|
return hasOwnProperty$1.call(e, t);
|
|
22702
|
-
}, global$4 = _globalExports, core$3 = _coreExports, ctx = _ctx, hide$2 = _hide, has$6 = _has$1, PROTOTYPE$
|
|
22703
|
-
var Be = e & $export$7.F, Ce = e & $export$7.G, Ee = e & $export$7.S, Oe = e & $export$7.P, Re = e & $export$7.B, Te = e & $export$7.W, Ue = Ce ? core$3 : core$3[t] || (core$3[t] = {}), Qe = Ue[PROTOTYPE$
|
|
22702
|
+
}, global$4 = _globalExports, core$3 = _coreExports, ctx = _ctx, hide$2 = _hide, has$6 = _has$1, PROTOTYPE$2 = "prototype", $export$7 = function(e, t, n) {
|
|
22703
|
+
var Be = e & $export$7.F, Ce = e & $export$7.G, Ee = e & $export$7.S, Oe = e & $export$7.P, Re = e & $export$7.B, Te = e & $export$7.W, Ue = Ce ? core$3 : core$3[t] || (core$3[t] = {}), Qe = Ue[PROTOTYPE$2], Me = Ce ? global$4 : Ee ? global$4[t] : (global$4[t] || {})[PROTOTYPE$2], He, De, Ve;
|
|
22704
22704
|
Ce && (n = t);
|
|
22705
22705
|
for (He in n)
|
|
22706
22706
|
De = !Be && Me && Me[He] !== void 0, !(De && has$6(Ue, He)) && (Ve = De ? Me[He] : n[He], Ue[He] = Ce && typeof Me[He] != "function" ? n[He] : Re && De ? ctx(Ve, global$4) : Te && Me[He] == Ve ? function(Ge) {
|
|
@@ -22718,7 +22718,7 @@ var _propertyDesc = function(e, t) {
|
|
|
22718
22718
|
}
|
|
22719
22719
|
return Ge.apply(this, arguments);
|
|
22720
22720
|
};
|
|
22721
|
-
return Ke[PROTOTYPE$
|
|
22721
|
+
return Ke[PROTOTYPE$2] = Ge[PROTOTYPE$2], Ke;
|
|
22722
22722
|
}(Ve) : Oe && typeof Ve == "function" ? ctx(Function.call, Ve) : Ve, Oe && ((Ue.virtual || (Ue.virtual = {}))[He] = Ve, e & $export$7.R && Qe && !Qe[He] && hide$2(Qe, He, Ve)));
|
|
22723
22723
|
};
|
|
22724
22724
|
$export$7.F = 1;
|
|
@@ -22778,15 +22778,15 @@ var _sharedExports = _shared.exports, id$1 = 0, px = Math.random(), _uid = funct
|
|
|
22778
22778
|
return "Symbol(".concat(e === void 0 ? "" : e, ")_", (++id$1 + px).toString(36));
|
|
22779
22779
|
}, shared$1 = _sharedExports("keys"), uid$2 = _uid, _sharedKey = function(e) {
|
|
22780
22780
|
return shared$1[e] || (shared$1[e] = uid$2(e));
|
|
22781
|
-
}, has$5 = _has$1, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$
|
|
22781
|
+
}, has$5 = _has$1, toIObject$4 = _toIobject, arrayIndexOf = _arrayIncludes(!1), IE_PROTO$2 = _sharedKey("IE_PROTO"), _objectKeysInternal = function(e, t) {
|
|
22782
22782
|
var n = toIObject$4(e), Be = 0, Ce = [], Ee;
|
|
22783
22783
|
for (Ee in n)
|
|
22784
|
-
Ee != IE_PROTO$
|
|
22784
|
+
Ee != IE_PROTO$2 && has$5(n, Ee) && Ce.push(Ee);
|
|
22785
22785
|
for (; t.length > Be; )
|
|
22786
22786
|
has$5(n, Ee = t[Be++]) && (~arrayIndexOf(Ce, Ee) || Ce.push(Ee));
|
|
22787
22787
|
return Ce;
|
|
22788
|
-
}, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$
|
|
22789
|
-
return $keys$
|
|
22788
|
+
}, _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","), $keys$1 = _objectKeysInternal, enumBugKeys$1 = _enumBugKeys, _objectKeys = Object.keys || function(t) {
|
|
22789
|
+
return $keys$1(t, enumBugKeys$1);
|
|
22790
22790
|
}, _objectGops = {};
|
|
22791
22791
|
_objectGops.f = Object.getOwnPropertySymbols;
|
|
22792
22792
|
var _objectPie = {}, hasRequired_objectPie;
|
|
@@ -22829,8 +22829,8 @@ _extends.default = _assign2.default || function(e) {
|
|
|
22829
22829
|
}
|
|
22830
22830
|
return e;
|
|
22831
22831
|
};
|
|
22832
|
-
var has$4 = _has$1, toObject$2 = _toObject, IE_PROTO = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(e) {
|
|
22833
|
-
return e = toObject$2(e), has$4(e, IE_PROTO) ? e[IE_PROTO] : typeof e.constructor == "function" && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? ObjectProto$1 : null;
|
|
22832
|
+
var has$4 = _has$1, toObject$2 = _toObject, IE_PROTO$1 = _sharedKey("IE_PROTO"), ObjectProto$1 = Object.prototype, _objectGpo = Object.getPrototypeOf || function(e) {
|
|
22833
|
+
return e = toObject$2(e), has$4(e, IE_PROTO$1) ? e[IE_PROTO$1] : typeof e.constructor == "function" && e instanceof e.constructor ? e.constructor.prototype : e instanceof Object ? ObjectProto$1 : null;
|
|
22834
22834
|
}, $export$5 = _export, core$1 = _coreExports, fails = _fails, _objectSap = function(e, t) {
|
|
22835
22835
|
var n = (core$1.Object || {})[e] || Object[e], Be = {};
|
|
22836
22836
|
Be[e] = t(n), $export$5($export$5.S + $export$5.F * fails(function() {
|
|
@@ -22874,20 +22874,12 @@ var possibleConstructorReturn = {}, _typeof$1 = {}, toInteger = _toInteger, defi
|
|
|
22874
22874
|
var Be = String(defined(t)), Ce = toInteger(n), Ee = Be.length, Oe, Re;
|
|
22875
22875
|
return Ce < 0 || Ce >= Ee ? e ? "" : void 0 : (Oe = Be.charCodeAt(Ce), Oe < 55296 || Oe > 56319 || Ce + 1 === Ee || (Re = Be.charCodeAt(Ce + 1)) < 56320 || Re > 57343 ? e ? Be.charAt(Ce) : Oe : e ? Be.slice(Ce, Ce + 2) : (Oe - 55296 << 10) + (Re - 56320) + 65536);
|
|
22876
22876
|
};
|
|
22877
|
-
}, _redefine = _hide, _iterators = {}, _objectDps,
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
22883
|
-
return _objectDps = require_descriptors() ? Object.defineProperties : function(Ce, Ee) {
|
|
22884
|
-
t(Ce);
|
|
22885
|
-
for (var Oe = n(Ee), Re = Oe.length, Te = 0, Ue; Re > Te; )
|
|
22886
|
-
e.f(Ce, Ue = Oe[Te++], Ee[Ue]);
|
|
22887
|
-
return Ce;
|
|
22888
|
-
}, _objectDps;
|
|
22889
|
-
}
|
|
22890
|
-
var _html, hasRequired_html;
|
|
22877
|
+
}, _redefine = _hide, _iterators = {}, dP$1 = require_objectDp(), anObject$2 = _anObject, getKeys$1 = _objectKeys, _objectDps = require_descriptors() ? Object.defineProperties : function(t, n) {
|
|
22878
|
+
anObject$2(t);
|
|
22879
|
+
for (var Be = getKeys$1(n), Ce = Be.length, Ee = 0, Oe; Ce > Ee; )
|
|
22880
|
+
dP$1.f(t, Oe = Be[Ee++], n[Oe]);
|
|
22881
|
+
return t;
|
|
22882
|
+
}, _html, hasRequired_html;
|
|
22891
22883
|
function require_html() {
|
|
22892
22884
|
if (hasRequired_html)
|
|
22893
22885
|
return _html;
|
|
@@ -22895,30 +22887,22 @@ function require_html() {
|
|
|
22895
22887
|
var e = _globalExports.document;
|
|
22896
22888
|
return _html = e && e.documentElement, _html;
|
|
22897
22889
|
}
|
|
22898
|
-
var
|
|
22899
|
-
function
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
|
|
22904
|
-
|
|
22905
|
-
|
|
22906
|
-
|
|
22907
|
-
|
|
22908
|
-
return Oe();
|
|
22909
|
-
};
|
|
22910
|
-
return _objectCreate = Object.create || function(Te, Ue) {
|
|
22911
|
-
var Qe;
|
|
22912
|
-
return Te !== null ? (Ce[Ee] = e(Te), Qe = new Ce(), Ce[Ee] = null, Qe[Be] = Te) : Qe = Oe(), Ue === void 0 ? Qe : t(Qe, Ue);
|
|
22913
|
-
}, _objectCreate;
|
|
22914
|
-
}
|
|
22915
|
-
var _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(e) {
|
|
22890
|
+
var anObject$1 = _anObject, dPs = _objectDps, enumBugKeys = _enumBugKeys, IE_PROTO = _sharedKey("IE_PROTO"), Empty = function() {
|
|
22891
|
+
}, PROTOTYPE$1 = "prototype", createDict = function() {
|
|
22892
|
+
var e = require_domCreate()("iframe"), t = enumBugKeys.length, n = "<", Be = ">", Ce;
|
|
22893
|
+
for (e.style.display = "none", require_html().appendChild(e), e.src = "javascript:", Ce = e.contentWindow.document, Ce.open(), Ce.write(n + "script" + Be + "document.F=Object" + n + "/script" + Be), Ce.close(), createDict = Ce.F; t--; )
|
|
22894
|
+
delete createDict[PROTOTYPE$1][enumBugKeys[t]];
|
|
22895
|
+
return createDict();
|
|
22896
|
+
}, _objectCreate = Object.create || function(t, n) {
|
|
22897
|
+
var Be;
|
|
22898
|
+
return t !== null ? (Empty[PROTOTYPE$1] = anObject$1(t), Be = new Empty(), Empty[PROTOTYPE$1] = null, Be[IE_PROTO] = t) : Be = createDict(), n === void 0 ? Be : dPs(Be, n);
|
|
22899
|
+
}, _wks = { exports: {} }, store = _sharedExports("wks"), uid$1 = _uid, Symbol$1 = _globalExports.Symbol, USE_SYMBOL = typeof Symbol$1 == "function", $exports = _wks.exports = function(e) {
|
|
22916
22900
|
return store[e] || (store[e] = USE_SYMBOL && Symbol$1[e] || (USE_SYMBOL ? Symbol$1 : uid$1)("Symbol." + e));
|
|
22917
22901
|
};
|
|
22918
22902
|
$exports.store = store;
|
|
22919
22903
|
var _wksExports = _wks.exports, def = require_objectDp().f, has$3 = _has$1, TAG = _wksExports("toStringTag"), _setToStringTag = function(e, t, n) {
|
|
22920
22904
|
e && !has$3(e = n ? e : e.prototype, TAG) && def(e, TAG, { configurable: !0, value: t });
|
|
22921
|
-
}, create$2 =
|
|
22905
|
+
}, create$2 = _objectCreate, descriptor = _propertyDesc, setToStringTag$2 = _setToStringTag, IteratorPrototype = {};
|
|
22922
22906
|
_hide(IteratorPrototype, _wksExports("iterator"), function() {
|
|
22923
22907
|
return this;
|
|
22924
22908
|
});
|
|
@@ -23032,11 +23016,17 @@ var iterator$2 = _wksExt.f("iterator"), iterator$1 = { default: iterator$2, __es
|
|
|
23032
23016
|
return t;
|
|
23033
23017
|
}, cof = _cof, _isArray = Array.isArray || function(t) {
|
|
23034
23018
|
return cof(t) == "Array";
|
|
23035
|
-
}, _objectGopnExt = {}, _objectGopn = {},
|
|
23036
|
-
|
|
23037
|
-
|
|
23038
|
-
|
|
23039
|
-
|
|
23019
|
+
}, _objectGopnExt = {}, _objectGopn = {}, hasRequired_objectGopn;
|
|
23020
|
+
function require_objectGopn() {
|
|
23021
|
+
if (hasRequired_objectGopn)
|
|
23022
|
+
return _objectGopn;
|
|
23023
|
+
hasRequired_objectGopn = 1;
|
|
23024
|
+
var e = _objectKeysInternal, t = _enumBugKeys.concat("length", "prototype");
|
|
23025
|
+
return _objectGopn.f = Object.getOwnPropertyNames || function(Be) {
|
|
23026
|
+
return e(Be, t);
|
|
23027
|
+
}, _objectGopn;
|
|
23028
|
+
}
|
|
23029
|
+
var toIObject$2 = _toIobject, gOPN$1 = require_objectGopn().f, toString$3 = {}.toString, windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [], getWindowNames = function(e) {
|
|
23040
23030
|
try {
|
|
23041
23031
|
return gOPN$1(e);
|
|
23042
23032
|
} catch {
|
|
@@ -23056,7 +23046,7 @@ _objectGopd.f = require_descriptors() ? gOPD$1 : function(t, n) {
|
|
|
23056
23046
|
if (has$1(t, n))
|
|
23057
23047
|
return createDesc$1(!pIE.f.call(t, n), t[n]);
|
|
23058
23048
|
};
|
|
23059
|
-
var global$1 = _globalExports, has = _has$1, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$1 = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive, createDesc = _propertyDesc, _create$1 =
|
|
23049
|
+
var global$1 = _globalExports, has = _has$1, DESCRIPTORS = require_descriptors(), $export$2 = _export, redefine = _redefine, META = _metaExports.KEY, $fails = _fails, shared = _sharedExports, setToStringTag = _setToStringTag, uid = _uid, wks = _wksExports, wksExt = _wksExt, wksDefine = _wksDefine, enumKeys = _enumKeys, isArray$1 = _isArray, anObject = _anObject, isObject$1 = _isObject, toObject = _toObject, toIObject = _toIobject, toPrimitive = _toPrimitive, createDesc = _propertyDesc, _create$1 = _objectCreate, gOPNExt = _objectGopnExt, $GOPD = _objectGopd, $GOPS = _objectGops, $DP = require_objectDp(), $keys = _objectKeys, gOPD = $GOPD.f, dP = $DP.f, gOPN = gOPNExt.f, $Symbol = global$1.Symbol, $JSON = global$1.JSON, _stringify = $JSON && $JSON.stringify, PROTOTYPE = "prototype", HIDDEN = wks("_hidden"), TO_PRIMITIVE = wks("toPrimitive"), isEnum = {}.propertyIsEnumerable, SymbolRegistry = shared("symbol-registry"), AllSymbols = shared("symbols"), OPSymbols = shared("op-symbols"), ObjectProto = Object[PROTOTYPE], USE_NATIVE = typeof $Symbol == "function" && !!$GOPS.f, QObject = global$1.QObject, setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild, setSymbolDesc = DESCRIPTORS && $fails(function() {
|
|
23060
23050
|
return _create$1(dP({}, "a", {
|
|
23061
23051
|
get: function() {
|
|
23062
23052
|
return dP(this, "a", { value: 7 }).a;
|
|
@@ -23107,7 +23097,7 @@ USE_NATIVE || ($Symbol = function() {
|
|
|
23107
23097
|
return DESCRIPTORS && setter && setSymbolDesc(ObjectProto, t, { configurable: !0, set: n }), wrap(t);
|
|
23108
23098
|
}, redefine($Symbol[PROTOTYPE], "toString", function() {
|
|
23109
23099
|
return this._k;
|
|
23110
|
-
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty,
|
|
23100
|
+
}), $GOPD.f = $getOwnPropertyDescriptor, $DP.f = $defineProperty, require_objectGopn().f = gOPNExt.f = $getOwnPropertyNames, require_objectPie().f = $propertyIsEnumerable, $GOPS.f = $getOwnPropertySymbols, DESCRIPTORS && !_library && redefine(ObjectProto, "propertyIsEnumerable", $propertyIsEnumerable), wksExt.f = function(e) {
|
|
23111
23101
|
return wrap(wks(e));
|
|
23112
23102
|
});
|
|
23113
23103
|
$export$2($export$2.G + $export$2.W + $export$2.F * !USE_NATIVE, { Symbol: $Symbol });
|
|
@@ -23234,7 +23224,7 @@ function require_setProto() {
|
|
|
23234
23224
|
var $export$1 = _export;
|
|
23235
23225
|
$export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
23236
23226
|
var setPrototypeOf$1 = _coreExports.Object.setPrototypeOf, setPrototypeOf = { default: setPrototypeOf$1, __esModule: !0 }, $export = _export;
|
|
23237
|
-
$export($export.S, "Object", { create:
|
|
23227
|
+
$export($export.S, "Object", { create: _objectCreate });
|
|
23238
23228
|
var $Object = _coreExports.Object, create$1 = function(t, n) {
|
|
23239
23229
|
return $Object.create(t, n);
|
|
23240
23230
|
}, create = { default: create$1, __esModule: !0 };
|
|
@@ -58495,7 +58485,7 @@ function(e) {
|
|
|
58495
58485
|
}, e.loadImageFile = e.loadFile;
|
|
58496
58486
|
}(E.API), function(e) {
|
|
58497
58487
|
function t() {
|
|
58498
|
-
return (i.html2canvas ? Promise.resolve(i.html2canvas) : import("./html2canvas-
|
|
58488
|
+
return (i.html2canvas ? Promise.resolve(i.html2canvas) : import("./html2canvas-565315e3.mjs").then((Re) => Re.h)).catch(function(Re) {
|
|
58499
58489
|
return Promise.reject(new Error("Could not load html2canvas: " + Re));
|
|
58500
58490
|
}).then(function(Re) {
|
|
58501
58491
|
return Re.default ? Re.default : Re;
|
|
@@ -59240,7 +59230,7 @@ function(e) {
|
|
|
59240
59230
|
var Ue = Te.getContext("2d");
|
|
59241
59231
|
Ue.fillStyle = "#fff", Ue.fillRect(0, 0, Te.width, Te.height);
|
|
59242
59232
|
var Qe = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, Me = this;
|
|
59243
|
-
return (i.canvg ? Promise.resolve(i.canvg) : import("./index.es-
|
|
59233
|
+
return (i.canvg ? Promise.resolve(i.canvg) : import("./index.es-12f92d44.mjs")).catch(function(He) {
|
|
59244
59234
|
return Promise.reject(new Error("Could not load canvg: " + He));
|
|
59245
59235
|
}).then(function(He) {
|
|
59246
59236
|
return He.default ? He.default : He;
|
package/dist/index.mjs
CHANGED