@pie-element/multiple-choice 13.2.2-next.0 → 13.2.2-next.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/author/index.js +23 -23
- package/dist/author/main.js +67 -67
- package/dist/browser/{debounce-PkR6OuzU.js → Radio-D9xGO4mD.js} +2598 -2695
- package/dist/browser/Radio-D9xGO4mD.js.map +1 -0
- package/dist/browser/author/index.js +7819 -8261
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/controller/index.js.map +1 -1
- package/dist/browser/delivery/index.js +9 -8
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/dist-nl5urzAW.js +107 -0
- package/dist/browser/dist-nl5urzAW.js.map +1 -0
- package/dist/browser/{main-CmP4Uwst.js → main-D2qC-1Hm.js} +220 -220
- package/dist/browser/{main-CmP4Uwst.js.map → main-D2qC-1Hm.js.map} +1 -1
- package/dist/browser/print/index.js +11 -16
- package/dist/browser/print/index.js.map +1 -1
- package/dist/controller/index.js +26 -26
- package/dist/controller/utils.js +1 -1
- package/dist/delivery/choice-input.js +73 -73
- package/dist/delivery/index.js +19 -19
- package/dist/delivery/multiple-choice.js +72 -72
- package/dist/index.iife.js +1 -1
- package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +16 -0
- package/dist/print/index.js +10 -11
- package/dist/runtime-support.d.ts +12 -0
- package/dist/runtime-support.js +12 -0
- package/package.json +12 -8
- package/dist/browser/_Uint8Array-CUOjhemR.js +0 -396
- package/dist/browser/_Uint8Array-CUOjhemR.js.map +0 -1
- package/dist/browser/_baseClone-fFvdZAu5.js +0 -245
- package/dist/browser/_baseClone-fFvdZAu5.js.map +0 -1
- package/dist/browser/debounce-PkR6OuzU.js.map +0 -1
- package/dist/browser/isEqual-CnAlrBXo.js +0 -182
- package/dist/browser/isEqual-CnAlrBXo.js.map +0 -1
- package/dist/browser/isObject-B-uKF3Sg.js +0 -38
- package/dist/browser/isObject-B-uKF3Sg.js.map +0 -1
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js +0 -19
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js +0 -31
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js +0 -8
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//#region ../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
2
|
+
function e(t) {
|
|
3
|
+
var n, r, i = "";
|
|
4
|
+
if (typeof t == "string" || typeof t == "number") i += t;
|
|
5
|
+
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
6
|
+
var a = t.length;
|
|
7
|
+
for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
|
|
8
|
+
} else for (r in t) t[r] && (i && (i += " "), i += r);
|
|
9
|
+
return i;
|
|
10
|
+
}
|
|
11
|
+
function t() {
|
|
12
|
+
for (var t, n, r = 0, i = "", a = arguments.length; r < a; r++) (t = arguments[r]) && (n = e(t)) && (i && (i += " "), i += n);
|
|
13
|
+
return i;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { t as default };
|
package/dist/print/index.js
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import e from "../delivery/main.js";
|
|
2
|
-
import t from "
|
|
3
|
-
import n from "
|
|
4
|
-
import r from "
|
|
5
|
-
import { createRoot as i } from "react-dom/client";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { createRoot as n } from "react-dom/client";
|
|
4
|
+
import { cloneDeep as r, debounce as i } from "@pie-element/shared-lodash";
|
|
6
5
|
import a from "debug";
|
|
7
6
|
import { renderMath as o } from "@pie-element/shared-math-rendering-mathjax";
|
|
8
7
|
//#region src/print/index.tsx
|
|
9
|
-
var s = a("pie-element:multiple-choice:print"), c = (e,
|
|
10
|
-
let
|
|
11
|
-
return e.prompt = e.promptEnabled === !1 ? void 0 : e.prompt, e.teacherInstructions =
|
|
8
|
+
var s = a("pie-element:multiple-choice:print"), c = (e, t) => {
|
|
9
|
+
let n = t.role === "instructor";
|
|
10
|
+
return e.prompt = e.promptEnabled === !1 ? void 0 : e.prompt, e.teacherInstructions = n && e.teacherInstructionsEnabled !== !1 ? e.teacherInstructions : void 0, e.showTeacherInstructions = n, e.alwaysShowCorrect = n, e.mode = n ? "evaluate" : e.mode, e.disabled = !0, e.animationsDisabled = !0, e.lockChoiceOrder = !0, e.choicesLayout = e.choicesLayout || "vertical", e.choices = r(e.choices).map((t) => (t.rationale = n && e.rationaleEnabled !== !1 ? t.rationale : void 0, t.hideTick = n, t.feedback = void 0, t)), e.keyMode = e.choicePrefix || "letters", e;
|
|
12
11
|
}, l = class extends HTMLElement {
|
|
13
12
|
constructor() {
|
|
14
|
-
super(), this._options = null, this._model = null, this._session = [], this._root = null, this._rerender =
|
|
13
|
+
super(), this._options = null, this._model = null, this._session = [], this._root = null, this._rerender = i(() => {
|
|
15
14
|
if (this._model && this._session) {
|
|
16
|
-
let
|
|
17
|
-
model:
|
|
15
|
+
let r = c(this._model, this._options), i = this._options && t.createElement(e, {
|
|
16
|
+
model: r,
|
|
18
17
|
session: {},
|
|
19
18
|
options: this._options
|
|
20
19
|
});
|
|
21
|
-
this._root ||=
|
|
20
|
+
this._root ||= n(this), this._root.render(i), requestAnimationFrame(() => {
|
|
22
21
|
requestAnimationFrame(() => {
|
|
23
22
|
s("render complete - render math"), o(this);
|
|
24
23
|
});
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/multiple-choice",
|
|
3
|
-
"version": "13.2.2-next.
|
|
3
|
+
"version": "13.2.2-next.1",
|
|
4
4
|
"description": "React implementation of multiple-choice element synced from pie-elements",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@emotion/react": "^11.14.0",
|
|
7
7
|
"@emotion/style": "^0.8.0",
|
|
8
8
|
"@mui/icons-material": "^7.3.4",
|
|
9
9
|
"@mui/material": "^7.3.4",
|
|
10
|
-
"@pie-lib/correct-answer-toggle": "4.0.
|
|
11
|
-
"@pie-lib/render-ui": "6.1.0",
|
|
12
|
-
"@pie-lib/translator": "4.0.
|
|
13
|
-
"classnames": "^2.2.6",
|
|
10
|
+
"@pie-lib/correct-answer-toggle": "4.0.3-next.0",
|
|
11
|
+
"@pie-lib/render-ui": "6.1.1-next.0",
|
|
12
|
+
"@pie-lib/translator": "4.0.3-next.0",
|
|
14
13
|
"debug": "^4.1.1",
|
|
15
|
-
"lodash-es": "^4.17.23",
|
|
16
14
|
"prop-types": "^15.8.1",
|
|
17
15
|
"react-transition-group": "^4.4.5",
|
|
18
16
|
"@pie-element/shared-configure-events": "0.1.0",
|
|
19
|
-
"@pie-lib/config-ui": "13.0.
|
|
20
|
-
"@pie-
|
|
17
|
+
"@pie-lib/config-ui": "13.0.4-next.0",
|
|
18
|
+
"@pie-element/shared-lodash": "0.1.1-next.0",
|
|
19
|
+
"@pie-lib/editable-html-tip-tap": "2.1.2-next.0",
|
|
21
20
|
"@pie-element/shared-controller-utils": "0.1.1-next.1",
|
|
21
|
+
"clsx": "^2.1.1",
|
|
22
22
|
"@pie-element/shared-player-events": "0.1.0",
|
|
23
23
|
"@pie-element/shared-math-rendering-mathjax": "0.1.0",
|
|
24
24
|
"@emotion/core": "0.x.x"
|
|
@@ -67,6 +67,10 @@
|
|
|
67
67
|
},
|
|
68
68
|
"./browser/print": {
|
|
69
69
|
"default": "./dist/browser/print/index.js"
|
|
70
|
+
},
|
|
71
|
+
"./runtime-support": {
|
|
72
|
+
"types": "./dist/runtime-support.d.ts",
|
|
73
|
+
"default": "./dist/runtime-support.js"
|
|
70
74
|
}
|
|
71
75
|
},
|
|
72
76
|
"type": "module",
|
|
@@ -1,396 +0,0 @@
|
|
|
1
|
-
import { a as e, n as t, o as n, r, t as i } from "./isObject-B-uKF3Sg.js";
|
|
2
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
3
|
-
var a = Array.isArray, o = "[object AsyncFunction]", s = "[object Function]", c = "[object GeneratorFunction]", l = "[object Proxy]";
|
|
4
|
-
function u(e) {
|
|
5
|
-
if (!i(e)) return !1;
|
|
6
|
-
var t = r(e);
|
|
7
|
-
return t == s || t == c || t == o || t == l;
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
11
|
-
var d = e["__core-js_shared__"], f = function() {
|
|
12
|
-
var e = /[^.]+$/.exec(d && d.keys && d.keys.IE_PROTO || "");
|
|
13
|
-
return e ? "Symbol(src)_1." + e : "";
|
|
14
|
-
}();
|
|
15
|
-
function ee(e) {
|
|
16
|
-
return !!f && f in e;
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
20
|
-
var te = Function.prototype.toString;
|
|
21
|
-
function p(e) {
|
|
22
|
-
if (e != null) {
|
|
23
|
-
try {
|
|
24
|
-
return te.call(e);
|
|
25
|
-
} catch {}
|
|
26
|
-
try {
|
|
27
|
-
return e + "";
|
|
28
|
-
} catch {}
|
|
29
|
-
}
|
|
30
|
-
return "";
|
|
31
|
-
}
|
|
32
|
-
//#endregion
|
|
33
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
34
|
-
var ne = /[\\^$.*+?()[\]{}|]/g, re = /^\[object .+?Constructor\]$/, ie = Function.prototype, ae = Object.prototype, oe = ie.toString, se = ae.hasOwnProperty, ce = RegExp("^" + oe.call(se).replace(ne, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
35
|
-
function le(e) {
|
|
36
|
-
return !i(e) || ee(e) ? !1 : (u(e) ? ce : re).test(p(e));
|
|
37
|
-
}
|
|
38
|
-
//#endregion
|
|
39
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
40
|
-
function ue(e, t) {
|
|
41
|
-
return e?.[t];
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
45
|
-
function m(e, t) {
|
|
46
|
-
var n = ue(e, t);
|
|
47
|
-
return le(n) ? n : void 0;
|
|
48
|
-
}
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
51
|
-
var h = m(e, "WeakMap"), de = 9007199254740991, fe = /^(?:0|[1-9]\d*)$/;
|
|
52
|
-
function pe(e, t) {
|
|
53
|
-
var n = typeof e;
|
|
54
|
-
return t ??= de, !!t && (n == "number" || n != "symbol" && fe.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
58
|
-
function me(e, t) {
|
|
59
|
-
return e === t || e !== e && t !== t;
|
|
60
|
-
}
|
|
61
|
-
//#endregion
|
|
62
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
63
|
-
var he = 9007199254740991;
|
|
64
|
-
function g(e) {
|
|
65
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= he;
|
|
66
|
-
}
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
69
|
-
function _(e) {
|
|
70
|
-
return e != null && g(e.length) && !u(e);
|
|
71
|
-
}
|
|
72
|
-
//#endregion
|
|
73
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
74
|
-
var ge = Object.prototype;
|
|
75
|
-
function _e(e) {
|
|
76
|
-
var t = e && e.constructor;
|
|
77
|
-
return e === (typeof t == "function" && t.prototype || ge);
|
|
78
|
-
}
|
|
79
|
-
//#endregion
|
|
80
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
81
|
-
function v(e, t) {
|
|
82
|
-
for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
|
|
83
|
-
return r;
|
|
84
|
-
}
|
|
85
|
-
//#endregion
|
|
86
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
87
|
-
var ve = "[object Arguments]";
|
|
88
|
-
function y(e) {
|
|
89
|
-
return t(e) && r(e) == ve;
|
|
90
|
-
}
|
|
91
|
-
//#endregion
|
|
92
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
93
|
-
var b = Object.prototype, ye = b.hasOwnProperty, be = b.propertyIsEnumerable, x = y(function() {
|
|
94
|
-
return arguments;
|
|
95
|
-
}()) ? y : function(e) {
|
|
96
|
-
return t(e) && ye.call(e, "callee") && !be.call(e, "callee");
|
|
97
|
-
};
|
|
98
|
-
//#endregion
|
|
99
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
100
|
-
function xe() {
|
|
101
|
-
return !1;
|
|
102
|
-
}
|
|
103
|
-
//#endregion
|
|
104
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
105
|
-
var S = typeof exports == "object" && exports && !exports.nodeType && exports, C = S && typeof module == "object" && module && !module.nodeType && module, w = C && C.exports === S ? e.Buffer : void 0, T = (w ? w.isBuffer : void 0) || xe, Se = "[object Arguments]", Ce = "[object Array]", we = "[object Boolean]", Te = "[object Date]", Ee = "[object Error]", De = "[object Function]", Oe = "[object Map]", ke = "[object Number]", Ae = "[object Object]", je = "[object RegExp]", Me = "[object Set]", Ne = "[object String]", Pe = "[object WeakMap]", Fe = "[object ArrayBuffer]", Ie = "[object DataView]", Le = "[object Float32Array]", Re = "[object Float64Array]", ze = "[object Int8Array]", Be = "[object Int16Array]", Ve = "[object Int32Array]", He = "[object Uint8Array]", Ue = "[object Uint8ClampedArray]", We = "[object Uint16Array]", Ge = "[object Uint32Array]", E = {};
|
|
106
|
-
E[Le] = E[Re] = E[ze] = E[Be] = E[Ve] = E[He] = E[Ue] = E[We] = E[Ge] = !0, E[Se] = E[Ce] = E[Fe] = E[we] = E[Ie] = E[Te] = E[Ee] = E[De] = E[Oe] = E[ke] = E[Ae] = E[je] = E[Me] = E[Ne] = E[Pe] = !1;
|
|
107
|
-
function Ke(e) {
|
|
108
|
-
return t(e) && g(e.length) && !!E[r(e)];
|
|
109
|
-
}
|
|
110
|
-
//#endregion
|
|
111
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
112
|
-
function D(e) {
|
|
113
|
-
return function(t) {
|
|
114
|
-
return e(t);
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
//#endregion
|
|
118
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
119
|
-
var O = typeof exports == "object" && exports && !exports.nodeType && exports, k = O && typeof module == "object" && module && !module.nodeType && module, A = k && k.exports === O && n.process, j = function() {
|
|
120
|
-
try {
|
|
121
|
-
return k && k.require && k.require("util").types || A && A.binding && A.binding("util");
|
|
122
|
-
} catch {}
|
|
123
|
-
}(), M = j && j.isTypedArray, N = M ? D(M) : Ke, qe = Object.prototype.hasOwnProperty;
|
|
124
|
-
function P(e, t) {
|
|
125
|
-
var n = a(e), r = !n && x(e), i = !n && !r && T(e), o = !n && !r && !i && N(e), s = n || r || i || o, c = s ? v(e.length, String) : [], l = c.length;
|
|
126
|
-
for (var u in e) (t || qe.call(e, u)) && !(s && (u == "length" || i && (u == "offset" || u == "parent") || o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || pe(u, l))) && c.push(u);
|
|
127
|
-
return c;
|
|
128
|
-
}
|
|
129
|
-
//#endregion
|
|
130
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
131
|
-
function F(e, t) {
|
|
132
|
-
return function(n) {
|
|
133
|
-
return e(t(n));
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
//#endregion
|
|
137
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
138
|
-
var Je = F(Object.keys, Object), Ye = Object.prototype.hasOwnProperty;
|
|
139
|
-
function I(e) {
|
|
140
|
-
if (!_e(e)) return Je(e);
|
|
141
|
-
var t = [];
|
|
142
|
-
for (var n in Object(e)) Ye.call(e, n) && n != "constructor" && t.push(n);
|
|
143
|
-
return t;
|
|
144
|
-
}
|
|
145
|
-
//#endregion
|
|
146
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
147
|
-
function L(e) {
|
|
148
|
-
return _(e) ? P(e) : I(e);
|
|
149
|
-
}
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
152
|
-
var R = m(Object, "create");
|
|
153
|
-
//#endregion
|
|
154
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
155
|
-
function Xe() {
|
|
156
|
-
this.__data__ = R ? R(null) : {}, this.size = 0;
|
|
157
|
-
}
|
|
158
|
-
//#endregion
|
|
159
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
160
|
-
function Ze(e) {
|
|
161
|
-
var t = this.has(e) && delete this.__data__[e];
|
|
162
|
-
return this.size -= +!!t, t;
|
|
163
|
-
}
|
|
164
|
-
//#endregion
|
|
165
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
166
|
-
var Qe = "__lodash_hash_undefined__", $e = Object.prototype.hasOwnProperty;
|
|
167
|
-
function et(e) {
|
|
168
|
-
var t = this.__data__;
|
|
169
|
-
if (R) {
|
|
170
|
-
var n = t[e];
|
|
171
|
-
return n === Qe ? void 0 : n;
|
|
172
|
-
}
|
|
173
|
-
return $e.call(t, e) ? t[e] : void 0;
|
|
174
|
-
}
|
|
175
|
-
//#endregion
|
|
176
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
177
|
-
var tt = Object.prototype.hasOwnProperty;
|
|
178
|
-
function nt(e) {
|
|
179
|
-
var t = this.__data__;
|
|
180
|
-
return R ? t[e] !== void 0 : tt.call(t, e);
|
|
181
|
-
}
|
|
182
|
-
//#endregion
|
|
183
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
184
|
-
var rt = "__lodash_hash_undefined__";
|
|
185
|
-
function it(e, t) {
|
|
186
|
-
var n = this.__data__;
|
|
187
|
-
return this.size += +!this.has(e), n[e] = R && t === void 0 ? rt : t, this;
|
|
188
|
-
}
|
|
189
|
-
//#endregion
|
|
190
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
191
|
-
function z(e) {
|
|
192
|
-
var t = -1, n = e == null ? 0 : e.length;
|
|
193
|
-
for (this.clear(); ++t < n;) {
|
|
194
|
-
var r = e[t];
|
|
195
|
-
this.set(r[0], r[1]);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
z.prototype.clear = Xe, z.prototype.delete = Ze, z.prototype.get = et, z.prototype.has = nt, z.prototype.set = it;
|
|
199
|
-
//#endregion
|
|
200
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
201
|
-
function at() {
|
|
202
|
-
this.__data__ = [], this.size = 0;
|
|
203
|
-
}
|
|
204
|
-
//#endregion
|
|
205
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
206
|
-
function B(e, t) {
|
|
207
|
-
for (var n = e.length; n--;) if (me(e[n][0], t)) return n;
|
|
208
|
-
return -1;
|
|
209
|
-
}
|
|
210
|
-
//#endregion
|
|
211
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
212
|
-
var ot = Array.prototype.splice;
|
|
213
|
-
function st(e) {
|
|
214
|
-
var t = this.__data__, n = B(t, e);
|
|
215
|
-
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : ot.call(t, n, 1), --this.size, !0);
|
|
216
|
-
}
|
|
217
|
-
//#endregion
|
|
218
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
219
|
-
function ct(e) {
|
|
220
|
-
var t = this.__data__, n = B(t, e);
|
|
221
|
-
return n < 0 ? void 0 : t[n][1];
|
|
222
|
-
}
|
|
223
|
-
//#endregion
|
|
224
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
225
|
-
function lt(e) {
|
|
226
|
-
return B(this.__data__, e) > -1;
|
|
227
|
-
}
|
|
228
|
-
//#endregion
|
|
229
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
230
|
-
function ut(e, t) {
|
|
231
|
-
var n = this.__data__, r = B(n, e);
|
|
232
|
-
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
233
|
-
}
|
|
234
|
-
//#endregion
|
|
235
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
236
|
-
function V(e) {
|
|
237
|
-
var t = -1, n = e == null ? 0 : e.length;
|
|
238
|
-
for (this.clear(); ++t < n;) {
|
|
239
|
-
var r = e[t];
|
|
240
|
-
this.set(r[0], r[1]);
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
V.prototype.clear = at, V.prototype.delete = st, V.prototype.get = ct, V.prototype.has = lt, V.prototype.set = ut;
|
|
244
|
-
//#endregion
|
|
245
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
246
|
-
var H = m(e, "Map");
|
|
247
|
-
//#endregion
|
|
248
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
249
|
-
function dt() {
|
|
250
|
-
this.size = 0, this.__data__ = {
|
|
251
|
-
hash: new z(),
|
|
252
|
-
map: new (H || V)(),
|
|
253
|
-
string: new z()
|
|
254
|
-
};
|
|
255
|
-
}
|
|
256
|
-
//#endregion
|
|
257
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
258
|
-
function ft(e) {
|
|
259
|
-
var t = typeof e;
|
|
260
|
-
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
261
|
-
}
|
|
262
|
-
//#endregion
|
|
263
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
264
|
-
function U(e, t) {
|
|
265
|
-
var n = e.__data__;
|
|
266
|
-
return ft(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
267
|
-
}
|
|
268
|
-
//#endregion
|
|
269
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
270
|
-
function pt(e) {
|
|
271
|
-
var t = U(this, e).delete(e);
|
|
272
|
-
return this.size -= +!!t, t;
|
|
273
|
-
}
|
|
274
|
-
//#endregion
|
|
275
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
276
|
-
function mt(e) {
|
|
277
|
-
return U(this, e).get(e);
|
|
278
|
-
}
|
|
279
|
-
//#endregion
|
|
280
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
281
|
-
function ht(e) {
|
|
282
|
-
return U(this, e).has(e);
|
|
283
|
-
}
|
|
284
|
-
//#endregion
|
|
285
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
286
|
-
function gt(e, t) {
|
|
287
|
-
var n = U(this, e), r = n.size;
|
|
288
|
-
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
289
|
-
}
|
|
290
|
-
//#endregion
|
|
291
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
292
|
-
function W(e) {
|
|
293
|
-
var t = -1, n = e == null ? 0 : e.length;
|
|
294
|
-
for (this.clear(); ++t < n;) {
|
|
295
|
-
var r = e[t];
|
|
296
|
-
this.set(r[0], r[1]);
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
W.prototype.clear = dt, W.prototype.delete = pt, W.prototype.get = mt, W.prototype.has = ht, W.prototype.set = gt;
|
|
300
|
-
//#endregion
|
|
301
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
302
|
-
function G(e, t) {
|
|
303
|
-
for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
|
|
304
|
-
return e;
|
|
305
|
-
}
|
|
306
|
-
//#endregion
|
|
307
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
308
|
-
function _t() {
|
|
309
|
-
this.__data__ = new V(), this.size = 0;
|
|
310
|
-
}
|
|
311
|
-
//#endregion
|
|
312
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
313
|
-
function vt(e) {
|
|
314
|
-
var t = this.__data__, n = t.delete(e);
|
|
315
|
-
return this.size = t.size, n;
|
|
316
|
-
}
|
|
317
|
-
//#endregion
|
|
318
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
319
|
-
function yt(e) {
|
|
320
|
-
return this.__data__.get(e);
|
|
321
|
-
}
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
324
|
-
function bt(e) {
|
|
325
|
-
return this.__data__.has(e);
|
|
326
|
-
}
|
|
327
|
-
//#endregion
|
|
328
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
329
|
-
var xt = 200;
|
|
330
|
-
function St(e, t) {
|
|
331
|
-
var n = this.__data__;
|
|
332
|
-
if (n instanceof V) {
|
|
333
|
-
var r = n.__data__;
|
|
334
|
-
if (!H || r.length < xt - 1) return r.push([e, t]), this.size = ++n.size, this;
|
|
335
|
-
n = this.__data__ = new W(r);
|
|
336
|
-
}
|
|
337
|
-
return n.set(e, t), this.size = n.size, this;
|
|
338
|
-
}
|
|
339
|
-
//#endregion
|
|
340
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
341
|
-
function K(e) {
|
|
342
|
-
var t = this.__data__ = new V(e);
|
|
343
|
-
this.size = t.size;
|
|
344
|
-
}
|
|
345
|
-
K.prototype.clear = _t, K.prototype.delete = vt, K.prototype.get = yt, K.prototype.has = bt, K.prototype.set = St;
|
|
346
|
-
//#endregion
|
|
347
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
348
|
-
function q(e, t) {
|
|
349
|
-
for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
|
|
350
|
-
var o = e[n];
|
|
351
|
-
t(o, n, e) && (a[i++] = o);
|
|
352
|
-
}
|
|
353
|
-
return a;
|
|
354
|
-
}
|
|
355
|
-
//#endregion
|
|
356
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
357
|
-
function J() {
|
|
358
|
-
return [];
|
|
359
|
-
}
|
|
360
|
-
//#endregion
|
|
361
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
362
|
-
var Ct = Object.prototype.propertyIsEnumerable, Y = Object.getOwnPropertySymbols, wt = Y ? function(e) {
|
|
363
|
-
return e == null ? [] : (e = Object(e), q(Y(e), function(t) {
|
|
364
|
-
return Ct.call(e, t);
|
|
365
|
-
}));
|
|
366
|
-
} : J;
|
|
367
|
-
//#endregion
|
|
368
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
369
|
-
function Tt(e, t, n) {
|
|
370
|
-
var r = t(e);
|
|
371
|
-
return a(e) ? r : G(r, n(e));
|
|
372
|
-
}
|
|
373
|
-
//#endregion
|
|
374
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
375
|
-
function Et(e) {
|
|
376
|
-
return Tt(e, L, wt);
|
|
377
|
-
}
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
380
|
-
var X = m(e, "DataView"), Z = m(e, "Promise"), Q = m(e, "Set"), Dt = "[object Map]", Ot = "[object Object]", kt = "[object Promise]", At = "[object Set]", jt = "[object WeakMap]", Mt = "[object DataView]", Nt = p(X), Pt = p(H), Ft = p(Z), It = p(Q), Lt = p(h), $ = r;
|
|
381
|
-
(X && $(new X(/* @__PURE__ */ new ArrayBuffer(1))) != Mt || H && $(new H()) != Dt || Z && $(Z.resolve()) != kt || Q && $(new Q()) != At || h && $(new h()) != jt) && ($ = function(e) {
|
|
382
|
-
var t = r(e), n = t == Ot ? e.constructor : void 0, i = n ? p(n) : "";
|
|
383
|
-
if (i) switch (i) {
|
|
384
|
-
case Nt: return Mt;
|
|
385
|
-
case Pt: return Dt;
|
|
386
|
-
case Ft: return kt;
|
|
387
|
-
case It: return At;
|
|
388
|
-
case Lt: return jt;
|
|
389
|
-
}
|
|
390
|
-
return t;
|
|
391
|
-
});
|
|
392
|
-
var Rt = $, zt = e.Uint8Array;
|
|
393
|
-
//#endregion
|
|
394
|
-
export { me as C, a as D, u as E, _ as S, m as T, D as _, wt as a, v as b, K as c, L as d, I as f, j as g, N as h, Tt as i, G as l, P as m, Rt as n, J as o, F as p, Et as r, q as s, zt as t, W as u, T as v, pe as w, _e as x, x as y };
|
|
395
|
-
|
|
396
|
-
//# sourceMappingURL=_Uint8Array-CUOjhemR.js.map
|