@pie-element/number-line 13.1.2-next.0 → 13.1.2-next.2
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 +19 -19
- package/dist/author/main.js +152 -152
- package/dist/browser/author/index.js +7079 -7256
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +165 -419
- package/dist/browser/controller/index.js.map +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{delivery-Dh8QdqpO.js → delivery-DWjDT9Sz.js} +2656 -2696
- package/dist/browser/delivery-DWjDT9Sz.js.map +1 -0
- package/dist/browser/dist-D5T-OaLo.js +19038 -0
- package/dist/browser/dist-D5T-OaLo.js.map +1 -0
- package/dist/browser/impureFunctionsAny.generated-Bqfato71.js +10162 -0
- package/dist/browser/impureFunctionsAny.generated-Bqfato71.js.map +1 -0
- package/dist/controller/index.d.ts +15 -1
- package/dist/controller/index.js +60 -65
- package/dist/controller/tickUtils.d.ts +3 -2
- package/dist/controller/tickUtils.js +64 -66
- package/dist/delivery/index.js +9 -9
- package/dist/delivery/number-line/graph/elements/line.js +56 -57
- package/dist/delivery/number-line/graph/elements/ray.js +54 -54
- package/dist/delivery/number-line/graph/index.d.ts +2 -2
- package/dist/delivery/number-line/graph/tick-utils.d.ts +16 -9
- package/dist/delivery/number-line/graph/tick-utils.js +73 -75
- package/dist/delivery/number-line/index.d.ts +1 -1
- package/dist/delivery/number-line/index.js +55 -58
- package/dist/index.iife.js +59 -63
- package/dist/runtime-support.d.ts +12 -0
- package/dist/runtime-support.js +12 -0
- package/package.json +14 -11
- package/dist/browser/_baseSet-ycZx94p7.js +0 -8672
- package/dist/browser/_baseSet-ycZx94p7.js.map +0 -1
- package/dist/browser/delivery-Dh8QdqpO.js.map +0 -1
- package/dist/browser/uniqWith-CKN50xMI.js +0 -17886
- package/dist/browser/uniqWith-CKN50xMI.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/_arrayIncludes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +0 -7
- 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/_arrayMap.js +0 -7
- 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/_baseFindIndex.js +0 -7
- 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/_baseGet.js +0 -10
- 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/_baseHasIn.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +0 -9
- 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/_baseIsMatch.js +0 -26
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +0 -6
- 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/_baseIteratee.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/_baseMatches.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
- 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/_basePickBy.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
- 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/_baseSet.js +0 -22
- 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/_baseToString.js +0 -15
- 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/_baseUniq.js +0 -27
- 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/_castPath.js +0 -10
- 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/_createFind.js +0 -19
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +0 -9
- 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/_getMatchData.js +0 -16
- 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/_hasPath.js +0 -18
- 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/_isKey.js +0 -11
- 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/_isStrictComparable.js +0 -7
- 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/_matchesStrictComparable.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
- 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/_strictIndexOf.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
- 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/eq.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
- 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/isEqualWith.js +0 -9
- 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/isNumber.js +0 -9
- 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/memoize.js +0 -16
- 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/negate.js +0 -17
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omitBy.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pickBy.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
- 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/toFinite.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
- 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
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +0 -7
|
@@ -1,261 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
|
|
4
|
-
function xe(t, n, r) {
|
|
5
|
-
if (!a(r)) return !1;
|
|
6
|
-
var i = typeof n;
|
|
7
|
-
return (i == "number" ? le(r) && e(n, r.length) : i == "string" && n in r) ? u(r[n], t) : !1;
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js
|
|
11
|
-
function Se(e) {
|
|
12
|
-
return pe(function(t, n) {
|
|
13
|
-
var r = -1, i = n.length, a = i > 1 ? n[i - 1] : void 0, o = i > 2 ? n[2] : void 0;
|
|
14
|
-
for (a = e.length > 3 && typeof a == "function" ? (i--, a) : void 0, o && xe(n[0], n[1], o) && (a = i < 3 ? void 0 : a, i = 1), t = Object(t); ++r < i;) {
|
|
15
|
-
var s = n[r];
|
|
16
|
-
s && e(t, s, r, a);
|
|
17
|
-
}
|
|
18
|
-
return t;
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
//#endregion
|
|
22
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
|
|
23
|
-
var Ce = 1, we = 2;
|
|
24
|
-
function Te(e, t, n, r) {
|
|
25
|
-
var i = n.length, a = i, o = !r;
|
|
26
|
-
if (e == null) return !a;
|
|
27
|
-
for (e = Object(e); i--;) {
|
|
28
|
-
var s = n[i];
|
|
29
|
-
if (o && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1;
|
|
30
|
-
}
|
|
31
|
-
for (; ++i < a;) {
|
|
32
|
-
s = n[i];
|
|
33
|
-
var c = s[0], l = e[c], u = s[1];
|
|
34
|
-
if (o && s[2]) {
|
|
35
|
-
if (l === void 0 && !(c in e)) return !1;
|
|
36
|
-
} else {
|
|
37
|
-
var d = new y();
|
|
38
|
-
if (r) var f = r(l, u, c, e, t, d);
|
|
39
|
-
if (!(f === void 0 ? T(u, l, Ce | we, r, d) : f)) return !1;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return !0;
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js
|
|
46
|
-
function P(e) {
|
|
47
|
-
return e === e && !a(e);
|
|
48
|
-
}
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js
|
|
51
|
-
function Ee(e) {
|
|
52
|
-
for (var t = _(e), n = t.length; n--;) {
|
|
53
|
-
var r = t[n], i = e[r];
|
|
54
|
-
t[n] = [
|
|
55
|
-
r,
|
|
56
|
-
i,
|
|
57
|
-
P(i)
|
|
58
|
-
];
|
|
59
|
-
}
|
|
60
|
-
return t;
|
|
61
|
-
}
|
|
62
|
-
//#endregion
|
|
63
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js
|
|
64
|
-
function F(e, t) {
|
|
65
|
-
return function(n) {
|
|
66
|
-
return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
//#endregion
|
|
70
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js
|
|
71
|
-
function De(e) {
|
|
72
|
-
var t = Ee(e);
|
|
73
|
-
return t.length == 1 && t[0][2] ? F(t[0][0], t[0][1]) : function(n) {
|
|
74
|
-
return n === e || Te(n, e, t);
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
//#endregion
|
|
78
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js
|
|
79
|
-
function Oe(e, t) {
|
|
80
|
-
return e != null && t in Object(e);
|
|
81
|
-
}
|
|
82
|
-
//#endregion
|
|
83
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js
|
|
84
|
-
function ke(t, n, r) {
|
|
85
|
-
n = A(n, t);
|
|
86
|
-
for (var i = -1, a = n.length, o = !1; ++i < a;) {
|
|
87
|
-
var c = k(n[i]);
|
|
88
|
-
if (!(o = t != null && r(t, c))) break;
|
|
89
|
-
t = t[c];
|
|
90
|
-
}
|
|
91
|
-
return o || ++i != a ? o : (a = t == null ? 0 : t.length, !!a && h(a) && e(c, a) && (s(t) || D(t)));
|
|
92
|
-
}
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js
|
|
95
|
-
function Ae(e, t) {
|
|
96
|
-
return e != null && ke(e, t, Oe);
|
|
97
|
-
}
|
|
98
|
-
//#endregion
|
|
99
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
|
|
100
|
-
var je = 1, Me = 2;
|
|
101
|
-
function Ne(e, t) {
|
|
102
|
-
return N(e) && P(t) ? F(k(e), t) : function(n) {
|
|
103
|
-
var r = _e(n, e);
|
|
104
|
-
return r === void 0 && r === t ? Ae(n, e) : T(t, r, je | Me);
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
//#endregion
|
|
108
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js
|
|
109
|
-
function Pe(e) {
|
|
110
|
-
return function(t) {
|
|
111
|
-
return M(t, e);
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
//#endregion
|
|
115
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js
|
|
116
|
-
function Fe(e) {
|
|
117
|
-
return N(e) ? he(k(e)) : Pe(e);
|
|
118
|
-
}
|
|
119
|
-
//#endregion
|
|
120
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js
|
|
121
|
-
function I(e) {
|
|
122
|
-
return typeof e == "function" ? e : e == null ? ge : typeof e == "object" ? s(e) ? Ne(e[0], e[1]) : De(e) : Fe(e);
|
|
123
|
-
}
|
|
124
|
-
//#endregion
|
|
125
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
|
|
126
|
-
function Ie(e) {
|
|
127
|
-
return function(t, n, r) {
|
|
128
|
-
for (var i = -1, a = Object(t), o = r(t), s = o.length; s--;) {
|
|
129
|
-
var c = o[e ? s : ++i];
|
|
130
|
-
if (n(a[c], c, a) === !1) break;
|
|
131
|
-
}
|
|
132
|
-
return t;
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
//#endregion
|
|
136
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
|
|
137
|
-
var Le = Ie();
|
|
138
|
-
//#endregion
|
|
139
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js
|
|
140
|
-
function L(e, t, n) {
|
|
141
|
-
(n !== void 0 && !u(e[t], n) || n === void 0 && !(t in e)) && re(e, t, n);
|
|
142
|
-
}
|
|
143
|
-
//#endregion
|
|
144
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
|
|
145
|
-
function R(e, t) {
|
|
146
|
-
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
|
|
147
|
-
}
|
|
148
|
-
//#endregion
|
|
149
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
|
|
150
|
-
function Re(e) {
|
|
151
|
-
return r(e, te(e));
|
|
152
|
-
}
|
|
153
|
-
//#endregion
|
|
154
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js
|
|
155
|
-
function ze(e, t, n, r, i, o, c) {
|
|
156
|
-
var u = R(e, n), f = R(t, n), p = c.get(f);
|
|
157
|
-
if (p) {
|
|
158
|
-
L(e, n, p);
|
|
159
|
-
return;
|
|
160
|
-
}
|
|
161
|
-
var m = o ? o(u, f, n + "", e, t, c) : void 0, h = m === void 0;
|
|
162
|
-
if (h) {
|
|
163
|
-
var g = s(f), _ = !g && v(f), y = !g && !_ && ue(f);
|
|
164
|
-
m = f, g || _ || y ? s(u) ? m = u : ve(u) ? m = l(u) : _ ? (h = !1, m = ee(f, !0)) : y ? (h = !1, m = se(f, !0)) : m = [] : fe(f) || D(f) ? (m = u, D(u) ? m = Re(u) : (!a(u) || d(u)) && (m = oe(f))) : h = !1;
|
|
165
|
-
}
|
|
166
|
-
h && (c.set(f, m), i(m, f, r, o, c), c.delete(f)), L(e, n, m);
|
|
167
|
-
}
|
|
168
|
-
//#endregion
|
|
169
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js
|
|
170
|
-
function z(e, t, n, r, i) {
|
|
171
|
-
e !== t && Le(t, function(o, s) {
|
|
172
|
-
if (i ||= new y(), a(o)) ze(e, t, s, n, z, r, i);
|
|
173
|
-
else {
|
|
174
|
-
var c = r ? r(R(e, s), o, s + "", e, t, i) : void 0;
|
|
175
|
-
c === void 0 && (c = o), L(e, s, c);
|
|
176
|
-
}
|
|
177
|
-
}, te);
|
|
178
|
-
}
|
|
179
|
-
//#endregion
|
|
180
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js
|
|
181
|
-
function Be(e) {
|
|
182
|
-
return function(t, n, r) {
|
|
183
|
-
var i = Object(t);
|
|
184
|
-
if (!le(t)) {
|
|
185
|
-
var a = I(n, 3);
|
|
186
|
-
t = _(t), n = function(e) {
|
|
187
|
-
return a(i[e], e, i);
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
var o = e(t, n, r);
|
|
191
|
-
return o > -1 ? i[a ? t[o] : o] : void 0;
|
|
192
|
-
};
|
|
193
|
-
}
|
|
194
|
-
//#endregion
|
|
195
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js
|
|
196
|
-
var Ve = Math.max;
|
|
197
|
-
function He(e, t, n) {
|
|
198
|
-
var r = e == null ? 0 : e.length;
|
|
199
|
-
if (!r) return -1;
|
|
200
|
-
var i = n == null ? 0 : me(n);
|
|
201
|
-
return i < 0 && (i = Ve(r + i, 0)), ne(e, I(t, 3), i);
|
|
202
|
-
}
|
|
203
|
-
//#endregion
|
|
204
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js
|
|
205
|
-
var Ue = Be(He);
|
|
206
|
-
//#endregion
|
|
207
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqualWith.js
|
|
208
|
-
function We(e, t, n) {
|
|
209
|
-
n = typeof n == "function" ? n : void 0;
|
|
210
|
-
var r = n ? n(e, t) : void 0;
|
|
211
|
-
return r === void 0 ? T(e, t, void 0, n) : !!r;
|
|
212
|
-
}
|
|
213
|
-
//#endregion
|
|
214
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js
|
|
215
|
-
var Ge = Se(function(e, t, n) {
|
|
216
|
-
z(e, t, n);
|
|
217
|
-
}), Ke = "Expected a function";
|
|
218
|
-
function qe(e) {
|
|
219
|
-
if (typeof e != "function") throw TypeError(Ke);
|
|
220
|
-
return function() {
|
|
221
|
-
var t = arguments;
|
|
222
|
-
switch (t.length) {
|
|
223
|
-
case 0: return !e.call(this);
|
|
224
|
-
case 1: return !e.call(this, t[0]);
|
|
225
|
-
case 2: return !e.call(this, t[0], t[1]);
|
|
226
|
-
case 3: return !e.call(this, t[0], t[1], t[2]);
|
|
227
|
-
}
|
|
228
|
-
return !e.apply(this, t);
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
//#endregion
|
|
232
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js
|
|
233
|
-
function Je(e, t, n) {
|
|
234
|
-
for (var r = -1, i = t.length, a = {}; ++r < i;) {
|
|
235
|
-
var o = t[r], s = M(e, o);
|
|
236
|
-
n(s, o) && ye(a, A(o, e), s);
|
|
237
|
-
}
|
|
238
|
-
return a;
|
|
239
|
-
}
|
|
240
|
-
//#endregion
|
|
241
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pickBy.js
|
|
242
|
-
function Ye(e, t) {
|
|
243
|
-
if (e == null) return {};
|
|
244
|
-
var n = de(ie(e), function(e) {
|
|
245
|
-
return [e];
|
|
246
|
-
});
|
|
247
|
-
return t = I(t), Je(e, n, function(e, n) {
|
|
248
|
-
return t(e, n[0]);
|
|
249
|
-
});
|
|
250
|
-
}
|
|
251
|
-
//#endregion
|
|
252
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/omitBy.js
|
|
253
|
-
function B(e, t) {
|
|
254
|
-
return Ye(e, qe(I(t)));
|
|
255
|
-
}
|
|
256
|
-
//#endregion
|
|
1
|
+
import { $r as e, Et as t, G as n, In as r, Kr as i, Q as a, a as o, bn as s, c, cn as l, d as u, f as d, ga as f, h as p, ha as m, i as h, ja as g, l as _, li as v, m as y, n as b, vr as x, yr as S, zn as C } from "../dist-D5T-OaLo.js";
|
|
2
|
+
import { t as w } from "../impureFunctionsAny.generated-Bqfato71.js";
|
|
257
3
|
//#region ../../shared/feedback/dist/index.js
|
|
258
|
-
var
|
|
4
|
+
var T = {
|
|
259
5
|
correct: {
|
|
260
6
|
type: "default",
|
|
261
7
|
default: "Correct",
|
|
@@ -277,19 +23,19 @@ var V = {
|
|
|
277
23
|
custom: "You have not entered a response"
|
|
278
24
|
}
|
|
279
25
|
};
|
|
280
|
-
function
|
|
26
|
+
function E(e) {
|
|
281
27
|
return e === "partially-correct" ? "partial" : e;
|
|
282
28
|
}
|
|
283
|
-
function
|
|
29
|
+
function ee(e, t = {}) {
|
|
284
30
|
return new Promise((n) => {
|
|
285
31
|
let r = {
|
|
286
|
-
...
|
|
32
|
+
...T,
|
|
287
33
|
...t
|
|
288
|
-
}, i =
|
|
289
|
-
|
|
34
|
+
}, i = E(e), a = r[i], o = T[i];
|
|
35
|
+
te(a, o[a.type]).then(n);
|
|
290
36
|
});
|
|
291
37
|
}
|
|
292
|
-
function
|
|
38
|
+
function te(e, t) {
|
|
293
39
|
return new Promise((n) => {
|
|
294
40
|
if (!e || e.type === "none") {
|
|
295
41
|
n(void 0);
|
|
@@ -300,20 +46,20 @@ function Qe(e, t) {
|
|
|
300
46
|
}
|
|
301
47
|
//#endregion
|
|
302
48
|
//#region ../../shared/controller-utils/dist/index.js
|
|
303
|
-
var
|
|
49
|
+
var D = Object.defineProperty, O = /* @__PURE__ */ ((e, t) => {
|
|
304
50
|
let n = {};
|
|
305
|
-
for (var r in e)
|
|
51
|
+
for (var r in e) D(n, r, {
|
|
306
52
|
get: e[r],
|
|
307
53
|
enumerable: !0
|
|
308
54
|
});
|
|
309
|
-
return t ||
|
|
310
|
-
})({ enabled: () =>
|
|
311
|
-
function
|
|
55
|
+
return t || D(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
56
|
+
})({ enabled: () => k });
|
|
57
|
+
function k(e, t, n) {
|
|
312
58
|
return e?.partialScoring === !1 || t?.partialScoring === !1 ? !1 : typeof n == "boolean" ? n : !0;
|
|
313
59
|
}
|
|
314
60
|
//#endregion
|
|
315
61
|
//#region src/controller/defaults.ts
|
|
316
|
-
var
|
|
62
|
+
var A = {
|
|
317
63
|
correctResponse: [],
|
|
318
64
|
feedback: {
|
|
319
65
|
correct: {
|
|
@@ -359,7 +105,7 @@ var W = {
|
|
|
359
105
|
teacherInstructionsEnabled: !0,
|
|
360
106
|
toolbarEditorPosition: "bottom",
|
|
361
107
|
widthEnabled: !0
|
|
362
|
-
},
|
|
108
|
+
}, j = [
|
|
363
109
|
.001,
|
|
364
110
|
.01,
|
|
365
111
|
.02,
|
|
@@ -370,7 +116,7 @@ var W = {
|
|
|
370
116
|
.2,
|
|
371
117
|
.25,
|
|
372
118
|
.5
|
|
373
|
-
],
|
|
119
|
+
], ne = [
|
|
374
120
|
"1/1000",
|
|
375
121
|
"1/100",
|
|
376
122
|
"1/64",
|
|
@@ -390,7 +136,7 @@ var W = {
|
|
|
390
136
|
"1/4",
|
|
391
137
|
"1/3",
|
|
392
138
|
"1/2"
|
|
393
|
-
],
|
|
139
|
+
], M = {
|
|
394
140
|
1: [
|
|
395
141
|
1,
|
|
396
142
|
2,
|
|
@@ -511,96 +257,96 @@ var W = {
|
|
|
511
257
|
8,
|
|
512
258
|
10
|
|
513
259
|
]
|
|
514
|
-
},
|
|
515
|
-
if (!
|
|
516
|
-
if (
|
|
517
|
-
let o = t
|
|
518
|
-
if (
|
|
519
|
-
if (
|
|
520
|
-
let l =
|
|
521
|
-
for (; l(d, o);) u.push(d), d =
|
|
260
|
+
}, re = (e, t, r) => {
|
|
261
|
+
if (!s(i(n(e), n(r)), 0)) throw Error("start point must be divisible by interval");
|
|
262
|
+
if (s(e, t)) return [];
|
|
263
|
+
let o = g(t, i(t, n(r))), c = x(r, 0) ? "positive" : "negative";
|
|
264
|
+
if (c === "negative" && S(t, e)) throw Error("start must be > than end when doing a negative decrement");
|
|
265
|
+
if (c === "positive" && f(t, e)) throw Error("start must be < end when doing increments");
|
|
266
|
+
let l = c === "positive" ? f : s(o, t) ? S : x, u = [], d = e;
|
|
267
|
+
for (; l(d, o);) u.push(d), d = a(d, r);
|
|
522
268
|
return u;
|
|
523
|
-
},
|
|
524
|
-
if (
|
|
525
|
-
let
|
|
526
|
-
start:
|
|
527
|
-
end:
|
|
528
|
-
interval:
|
|
529
|
-
multiplier:
|
|
530
|
-
},
|
|
531
|
-
return
|
|
532
|
-
},
|
|
533
|
-
|
|
534
|
-
let
|
|
535
|
-
return
|
|
536
|
-
},
|
|
269
|
+
}, ie = (e, t) => `Can only do a positive or negative range, but got: start: ${e} and end:${t}`, N = (t, r, o) => {
|
|
270
|
+
if (t = C(t), r = C(r), o = C(o), x(n(g(r, t)), n(r))) throw Error(ie(t, r));
|
|
271
|
+
let s = {
|
|
272
|
+
start: n(t),
|
|
273
|
+
end: n(r),
|
|
274
|
+
interval: n(o),
|
|
275
|
+
multiplier: m(o, 0) ? -1 : 1
|
|
276
|
+
}, c = i(s.start, s.interval), l = re(x(c, 0) ? a(g(s.start, c), s.interval) : s.start, s.end, s.interval), u = s.multiplier === -1 ? l.map((t) => e(t, -1)) : l;
|
|
277
|
+
return m(o, 0) && u.reverse(), u;
|
|
278
|
+
}, ae = (e, t) => (e = C(e), t = C(t), m(e, t) ? e : t), oe = (e, t) => (e = C(e), t = C(t), x(e, t) ? e : t), se = (t, n, r) => {
|
|
279
|
+
t = C(t), n = C(n), r = C(r);
|
|
280
|
+
let i = x(n, 0) ? N(oe(0, t), n, r) : [];
|
|
281
|
+
return d((m(t, 0) ? N(ae(0, n), t, e(r, -1)) : []).concat(i), s);
|
|
282
|
+
}, P = (e, t, n) => {
|
|
537
283
|
n ||= 2;
|
|
538
284
|
let r = 10 ** -n / 2;
|
|
539
285
|
return Math.abs(e - t) < r;
|
|
540
|
-
},
|
|
541
|
-
let
|
|
286
|
+
}, F = (e, t, n) => m(R(e), R(t)) ? t : x(R(e), R(n)) ? n : e, I = (t, n) => {
|
|
287
|
+
let r = v(e(10, l(C(t.max - t.min), n)));
|
|
542
288
|
return {
|
|
543
|
-
min:
|
|
544
|
-
max:
|
|
289
|
+
min: r,
|
|
290
|
+
max: v(e(20, r))
|
|
545
291
|
};
|
|
546
|
-
},
|
|
547
|
-
if (
|
|
548
|
-
if (
|
|
549
|
-
},
|
|
550
|
-
let
|
|
551
|
-
if (!
|
|
552
|
-
let
|
|
292
|
+
}, L = (e, t) => s(i(e, t), 0), R = (e) => {
|
|
293
|
+
if (h(e)) return C(e.n * e.s, e.d);
|
|
294
|
+
if (_(e)) return C(e);
|
|
295
|
+
}, z = (t, n, r, i) => {
|
|
296
|
+
let a = i ? i.limit !== !1 : !0, o = I(t, n), s = a ? F(R(r.minor), o.min, o.max) : R(r.minor), c = a ? F(R(r.major), s, e(s, 20)) : R(r.major);
|
|
297
|
+
if (!L(c, s)) {
|
|
298
|
+
let t = l(c, s);
|
|
553
299
|
return {
|
|
554
|
-
minor:
|
|
555
|
-
major:
|
|
300
|
+
minor: s,
|
|
301
|
+
major: e(s, t <= 2 ? 2 : Math.round(t))
|
|
556
302
|
};
|
|
557
303
|
}
|
|
558
304
|
return {
|
|
559
|
-
major:
|
|
560
|
-
minor:
|
|
305
|
+
major: c,
|
|
306
|
+
minor: s
|
|
561
307
|
};
|
|
562
|
-
},
|
|
308
|
+
}, B = (e, t, n, r) => (n = z(e, t, n, r), se(e.min, e.max, n.minor).filter((t) => f(t, C(e.max))).map((e) => {
|
|
563
309
|
let t = "minor";
|
|
564
|
-
return
|
|
310
|
+
return P(v(i(e, n.major)), 0) && (t = "major"), {
|
|
565
311
|
x: e,
|
|
566
312
|
type: t
|
|
567
313
|
};
|
|
568
|
-
})),
|
|
314
|
+
})), V = (e) => {
|
|
569
315
|
let t = {
|
|
570
316
|
fraction: [],
|
|
571
317
|
decimal: []
|
|
572
318
|
};
|
|
573
|
-
return
|
|
319
|
+
return j.forEach((n) => {
|
|
574
320
|
n >= e.min && n <= e.max && t.decimal.push(n);
|
|
575
|
-
}),
|
|
576
|
-
let r = C(
|
|
321
|
+
}), ne.forEach((n) => {
|
|
322
|
+
let r = v(C(n));
|
|
577
323
|
r >= e.min && r <= e.max && t.fraction.push(n);
|
|
578
324
|
}), t;
|
|
579
|
-
},
|
|
580
|
-
let
|
|
325
|
+
}, H = (t, n, r) => {
|
|
326
|
+
let i = {
|
|
581
327
|
decimal: [],
|
|
582
328
|
fraction: []
|
|
583
|
-
},
|
|
584
|
-
if (
|
|
585
|
-
let
|
|
586
|
-
|
|
587
|
-
minor:
|
|
588
|
-
major:
|
|
589
|
-
}, { fraction: void 0 }).filter((e) => e.type === "major").length > 1 && (
|
|
329
|
+
}, a = C(v(v(t))), o = a.n, s = a.d;
|
|
330
|
+
if (o >= 1 && s === 1) for (let a = 1; a <= 10; a++) {
|
|
331
|
+
let s = v(e(o, a));
|
|
332
|
+
U(n, r, {
|
|
333
|
+
minor: t,
|
|
334
|
+
major: s
|
|
335
|
+
}, { fraction: void 0 }).filter((e) => e.type === "major").length > 1 && (i.fraction.push(s.toString()), i.decimal.push(s));
|
|
590
336
|
}
|
|
591
|
-
else for (let
|
|
592
|
-
let
|
|
593
|
-
|
|
594
|
-
minor:
|
|
595
|
-
major:
|
|
596
|
-
}, { fraction: void 0 }).filter((e) => e.type === "major").length > 1 && (
|
|
337
|
+
else for (let a in M[s]) {
|
|
338
|
+
let c = e(C(o, s), M[s][a]);
|
|
339
|
+
U(n, r, {
|
|
340
|
+
minor: t,
|
|
341
|
+
major: v(c)
|
|
342
|
+
}, { fraction: void 0 }).filter((e) => e.type === "major").length > 1 && (c.d === 1 ? i.fraction.push(c.n.toString()) : i.fraction.push(c.n + "/" + c.d), i.decimal.push(v(c)));
|
|
597
343
|
}
|
|
598
|
-
return
|
|
599
|
-
},
|
|
344
|
+
return i;
|
|
345
|
+
}, U = (e, t, n, r) => B(e, t, n, r).map((e) => r.fraction ? e : {
|
|
600
346
|
...e,
|
|
601
|
-
x:
|
|
602
|
-
}),
|
|
603
|
-
let { domain: t, ticks: n, width: r } = e, i =
|
|
347
|
+
x: v(e.x) || 0
|
|
348
|
+
}), W = (e) => {
|
|
349
|
+
let { domain: t, ticks: n, width: r } = e, i = H(n.minor, t, r);
|
|
604
350
|
if (i.decimal.indexOf(n.major) === -1) {
|
|
605
351
|
let e = 0;
|
|
606
352
|
e = n.tickIntervalType === "Integer" && i.decimal.length > 4 ? 4 : i.decimal.length - 1, n.major = i.decimal[e];
|
|
@@ -609,132 +355,132 @@ var W = {
|
|
|
609
355
|
...e,
|
|
610
356
|
ticks: n
|
|
611
357
|
};
|
|
612
|
-
},
|
|
613
|
-
let { domain:
|
|
614
|
-
|
|
615
|
-
let
|
|
616
|
-
if (
|
|
617
|
-
else if (
|
|
618
|
-
|
|
619
|
-
let e =
|
|
620
|
-
if (
|
|
358
|
+
}, G = (e) => {
|
|
359
|
+
let { domain: n, ticks: i = {}, width: a } = e;
|
|
360
|
+
i.tickIntervalType || (i.minor > .5 ? i.tickIntervalType = "Integer" : i.tickIntervalType = "Decimal");
|
|
361
|
+
let o = I(n, a);
|
|
362
|
+
if (o.min >= 1) i.tickIntervalType = "Integer", i.minor = i.minor < 1 ? v(t(o.min)) : i.minor >= v(t(o.min)) && i.minor <= v(r(o.max)) ? i.minor : v(t(o.min)), i.integerTick = i.minor, i.fractionTick = "0", i.decimalTick = 0;
|
|
363
|
+
else if (o.min >= 0 && o.max < 1) {
|
|
364
|
+
i.tickIntervalType === "Integer" && (i.tickIntervalType = "Fraction");
|
|
365
|
+
let e = V(o), t = v(C(e.fraction[0])), n = v(C(e.fraction[e.fraction.length - 1]));
|
|
366
|
+
if (i.minor < t || i.minor > n) switch (i.tickIntervalType) {
|
|
621
367
|
case "Fraction":
|
|
622
|
-
|
|
368
|
+
i.minor = v(C(e.fraction[e.fraction.length - 1])), i.fractionTick = e.fraction[e.fraction.length - 1], i.decimalTick = e.decimal[0];
|
|
623
369
|
break;
|
|
624
370
|
case "Decimal":
|
|
625
|
-
case "Integer":
|
|
371
|
+
case "Integer": i.minor = e.decimal[e.decimal.length - 1], i.decimalTick = e.decimal[e.decimal.length - 1], i.fractionTick = e.fraction[0];
|
|
626
372
|
}
|
|
627
|
-
else switch (
|
|
373
|
+
else switch (i.tickIntervalType) {
|
|
628
374
|
case "Fraction":
|
|
629
|
-
let t =
|
|
630
|
-
|
|
375
|
+
let t = C(v(i.minor));
|
|
376
|
+
i.fractionTick = t.n + "/" + t.d, i.decimalTick = i.decimalTick ? i.decimalTick : e.decimal[0];
|
|
631
377
|
break;
|
|
632
378
|
case "Decimal":
|
|
633
|
-
case "Integer":
|
|
379
|
+
case "Integer": i.decimalTick = i.minor, i.fractionTick = i.fractionTick ? i.fractionTick : e.fraction[0];
|
|
634
380
|
}
|
|
635
|
-
|
|
636
|
-
} else if (
|
|
637
|
-
let e =
|
|
638
|
-
if (
|
|
381
|
+
i.integerTick = 1;
|
|
382
|
+
} else if (o.min < 1 && o.max >= 1) {
|
|
383
|
+
let e = V(o);
|
|
384
|
+
if (i.minor >= o.min && i.minor <= o.max) switch (i.tickIntervalType) {
|
|
639
385
|
case "Integer":
|
|
640
|
-
|
|
386
|
+
i.integerTick = i.minor, i.decimalTick = o.min > .5 ? 0 : e.decimal[0], i.fractionTick = o.min > .5 ? "0" : e.fraction[0];
|
|
641
387
|
break;
|
|
642
388
|
case "Decimal":
|
|
643
|
-
|
|
389
|
+
i.integerTick = 1, i.decimalTick = i.minor, i.fractionTick = e.fraction[0];
|
|
644
390
|
break;
|
|
645
391
|
case "Fraction":
|
|
646
|
-
|
|
647
|
-
let t =
|
|
648
|
-
|
|
392
|
+
i.integerTick = 1, i.decimalTick = e.decimal[0];
|
|
393
|
+
let t = C(v(i.minor));
|
|
394
|
+
i.fractionTick = t.n + "/" + t.d;
|
|
649
395
|
}
|
|
650
|
-
else switch (
|
|
396
|
+
else switch (o.min > .5 && (i.tickIntervalType = "Integer"), i.tickIntervalType) {
|
|
651
397
|
case "Integer":
|
|
652
|
-
|
|
398
|
+
i.minor = v(t(o.min)), i.integerTick = i.minor, i.decimalTick = o.min > .5 ? 0 : e.decimal[0], i.fractionTick = o.min > .5 ? "0" : e.fraction[0];
|
|
653
399
|
break;
|
|
654
400
|
case "Decimal":
|
|
655
|
-
|
|
401
|
+
i.minor = e.decimal[0], i.integerTick = 1, i.decimalTick = i.minor, i.fractionTick = e.fraction[0];
|
|
656
402
|
break;
|
|
657
|
-
case "Fraction":
|
|
403
|
+
case "Fraction": i.minor = v(C(e.fraction[0])), i.integerTick = 1, i.decimalTick = e.decimal[0], i.fractionTick = e.fraction[0];
|
|
658
404
|
}
|
|
659
405
|
}
|
|
660
|
-
return
|
|
406
|
+
return W({
|
|
661
407
|
...e,
|
|
662
|
-
ticks:
|
|
408
|
+
ticks: i
|
|
663
409
|
});
|
|
664
|
-
},
|
|
410
|
+
}, K = (e) => ({ score: { scaled: e } }), ce = (e, t) => {
|
|
665
411
|
let { correct: n } = e, r = t.find((e) => e.numberOfCorrect === n.length);
|
|
666
412
|
return r ? 1 * (r.scorePercentage / 100) : 0;
|
|
667
|
-
},
|
|
413
|
+
}, le = (e) => (t, n) => t + +!!e.some((e) => Y(e)(n)), q = (e, t, n) => {
|
|
668
414
|
let r = [], i = t?.answer || [], a = e?.correctResponse || [];
|
|
669
415
|
if (!i.length) return ["Student did not interact with the number line."];
|
|
670
|
-
let { correct: o, incorrect: s, notInAnswer: c, noCorrectResponse: l } =
|
|
416
|
+
let { correct: o, incorrect: s, notInAnswer: c, noCorrectResponse: l } = X(i, p(a));
|
|
671
417
|
if (l) return ["No correct response is defined for this item."];
|
|
672
418
|
let u = o.length, d = s.length, f = c.length;
|
|
673
419
|
u > 0 && r.push(`${u} object(s) correctly placed.`), d > 0 && r.push(`${d} incorrect object(s) placed.`), f > 0 && r.push(`${f} expected object(s) were not placed.`);
|
|
674
|
-
let
|
|
420
|
+
let m = [...i];
|
|
675
421
|
[...a], o.forEach((e) => {
|
|
676
|
-
let t =
|
|
422
|
+
let t = m[e], n = t?.type || "object";
|
|
677
423
|
r.push(`${n.charAt(0).toUpperCase() + n.slice(1)} at position ${t.domainPosition} is correct.`);
|
|
678
424
|
}), s.forEach((e) => {
|
|
679
|
-
let t =
|
|
425
|
+
let t = m[e], n = t?.type || "object";
|
|
680
426
|
r.push(`${n.charAt(0).toUpperCase() + n.slice(1)} at position ${t.domainPosition} does not match the expected response.`);
|
|
681
427
|
}), c.forEach((e) => {
|
|
682
428
|
let t = e?.type || "object";
|
|
683
429
|
r.push(`Expected ${t} at position ${e.domainPosition} was not placed by the student.`);
|
|
684
430
|
});
|
|
685
|
-
let
|
|
686
|
-
|
|
687
|
-
let
|
|
688
|
-
|
|
689
|
-
let
|
|
690
|
-
return r.push(`Final score: ${
|
|
431
|
+
let h = O.enabled(e, n);
|
|
432
|
+
h ? (r.push("Score calculated using partial scoring."), r.push("Partial scoring is based on the number of correct objects, with deductions for extras.")) : r.push("Score calculated using all-or-nothing scoring.");
|
|
433
|
+
let g = a.length || 1, _ = i.length > g ? i.length - g : 0;
|
|
434
|
+
_ > 0 && r.push(`${_} extra object(s) beyond the required amount were placed and deducted.`);
|
|
435
|
+
let v = Math.max(0, (u - _) / g), y = h ? v : +(v === 1);
|
|
436
|
+
return r.push(`Final score: ${y}.`), r;
|
|
691
437
|
};
|
|
692
|
-
function
|
|
438
|
+
function ue(e, t, n) {
|
|
693
439
|
return new Promise((r) => {
|
|
694
|
-
if (!t ||
|
|
440
|
+
if (!t || c(t)) r({
|
|
695
441
|
score: 0,
|
|
696
442
|
empty: !0,
|
|
697
443
|
logTrace: ["Student did not interact with the number line."]
|
|
698
444
|
});
|
|
699
445
|
else {
|
|
700
|
-
let i =
|
|
446
|
+
let i = O.enabled(e, n), a = (t.answer || []).reduce(le(e.correctResponse), 0), o = e.correctResponse.length, s = 0;
|
|
701
447
|
(t.answer || []).length > o && (s = (t.answer || []).length - o), o === 0 && (o = 1);
|
|
702
448
|
let c = a < 0 ? 0 : (a - s) / o;
|
|
703
449
|
c < 0 && (c = 0), r({
|
|
704
450
|
score: i ? c : +(c === 1),
|
|
705
|
-
logTrace:
|
|
451
|
+
logTrace: q(e, t, n)
|
|
706
452
|
});
|
|
707
453
|
}
|
|
708
454
|
});
|
|
709
455
|
}
|
|
710
|
-
function
|
|
456
|
+
function de(e, t) {
|
|
711
457
|
return new Promise((n) => {
|
|
712
|
-
if (!t ||
|
|
458
|
+
if (!t || c(t)) n({ score: { scaled: 0 } });
|
|
713
459
|
else {
|
|
714
460
|
t.answer = t.answer || [];
|
|
715
|
-
let r =
|
|
716
|
-
if (i === "correct") n(
|
|
717
|
-
else if (i === "incorrect") n(
|
|
461
|
+
let r = X(t.answer, p(e.correctResponse)), i = Z(r);
|
|
462
|
+
if (i === "correct") n(K(1));
|
|
463
|
+
else if (i === "incorrect") n(K(0));
|
|
718
464
|
else if (i === "partial") {
|
|
719
|
-
let { allowPartialScoring: t, partialScoring: i } = e, a = (i || []).filter((e) => !
|
|
720
|
-
t && a.length > 0 ? n(
|
|
465
|
+
let { allowPartialScoring: t, partialScoring: i } = e, a = (i || []).filter((e) => !c(e));
|
|
466
|
+
t && a.length > 0 ? n(K(ce(r, a))) : n(K(0));
|
|
721
467
|
} else n({ score: { scaled: -1 } });
|
|
722
468
|
}
|
|
723
469
|
});
|
|
724
470
|
}
|
|
725
|
-
var
|
|
471
|
+
var fe = 3, J = (e, t, n) => {
|
|
726
472
|
n ||= 5;
|
|
727
473
|
let r = 10 ** -n / 2;
|
|
728
474
|
return Math.abs(e - t) <= r;
|
|
729
|
-
},
|
|
730
|
-
if (typeof e == "number" && typeof t == "number") return
|
|
731
|
-
}),
|
|
475
|
+
}, Y = (e) => (t) => y(e, t, (e, t) => {
|
|
476
|
+
if (typeof e == "number" && typeof t == "number") return J(e, t, 3);
|
|
477
|
+
}), X = (e, t) => c(t) && e.length > 0 ? {
|
|
732
478
|
correct: [],
|
|
733
479
|
incorrect: [],
|
|
734
480
|
notInAnswer: [],
|
|
735
481
|
noCorrectResponse: !0
|
|
736
482
|
} : e.reduce((e, t, n) => {
|
|
737
|
-
let { correct: r, incorrect: i, notInAnswer: a } = e, o =
|
|
483
|
+
let { correct: r, incorrect: i, notInAnswer: a } = e, o = u(a, Y(t));
|
|
738
484
|
return o ? (r.push(n), a.splice(a.indexOf(o), 1)) : i.push(n), {
|
|
739
485
|
correct: r,
|
|
740
486
|
incorrect: i,
|
|
@@ -744,56 +490,56 @@ var bt = 3, xt = (e, t, n) => {
|
|
|
744
490
|
correct: [],
|
|
745
491
|
incorrect: [],
|
|
746
492
|
notInAnswer: t
|
|
747
|
-
}),
|
|
493
|
+
}), Z = (e) => {
|
|
748
494
|
let { incorrect: t, correct: n, notInAnswer: r, noCorrectResponse: i } = e;
|
|
749
495
|
return i ? "unknown" : t.length === 0 && n.length === 0 ? "unanswered" : t.length === 0 && r.length === 0 ? "correct" : t.length > 0 || r.length > 0 ? n.length > 0 ? "partial" : "incorrect" : "unknown";
|
|
750
496
|
};
|
|
751
|
-
function
|
|
752
|
-
let t =
|
|
497
|
+
function Q(e) {
|
|
498
|
+
let t = b(A.feedback, e.feedback);
|
|
753
499
|
return {
|
|
754
|
-
...
|
|
500
|
+
...A,
|
|
755
501
|
...e,
|
|
756
502
|
feedback: t
|
|
757
503
|
};
|
|
758
504
|
}
|
|
759
|
-
function
|
|
505
|
+
function pe(e = {}) {
|
|
760
506
|
return new Promise((t) => {
|
|
761
|
-
t(
|
|
507
|
+
t(o({
|
|
762
508
|
...e,
|
|
763
509
|
graph: {
|
|
764
|
-
...
|
|
510
|
+
...A.graph,
|
|
765
511
|
...e.graph
|
|
766
512
|
},
|
|
767
513
|
colorContrast: "black_on_white"
|
|
768
514
|
}, (e) => !e));
|
|
769
515
|
});
|
|
770
516
|
}
|
|
771
|
-
var
|
|
517
|
+
var me = (e) => {
|
|
772
518
|
let { graph: { domain: t, labelStep: n, ticks: r = {} } = {} } = e, { minor: i, major: a } = r;
|
|
773
519
|
if (t && (t.min = Number((t.min || 0).toFixed(2)), t.max = Number((t.max || 0).toFixed(2))), n && typeof n == "string" && n.match(/^[1-9][0-9]*\/[1-9][0-9]*$/g)) {
|
|
774
520
|
e.graph.fraction = !0, r.tickIntervalType = "Fraction";
|
|
775
|
-
let t =
|
|
521
|
+
let t = w(n);
|
|
776
522
|
t !== a && (r.major = t, r.minor = t / (a / i));
|
|
777
523
|
}
|
|
778
524
|
return e;
|
|
779
525
|
};
|
|
780
|
-
async function
|
|
526
|
+
async function he(e, t, n) {
|
|
781
527
|
if (!e) throw Error("question is null");
|
|
782
|
-
let r = await
|
|
528
|
+
let r = await Q(e), i = G(me(r).graph);
|
|
783
529
|
if (i) {
|
|
784
|
-
let e = n.mode === "evaluate", a =
|
|
785
|
-
n.role === "instructor" && (n.mode === "view" || e) && (
|
|
786
|
-
let
|
|
787
|
-
return
|
|
530
|
+
let e = n.mode === "evaluate", a = p(r.correctResponse), s = e && X(t && t.answer || [], a), c = e && Z(s), { exhibitOnly: l } = i, u = n.mode !== "gather" || l === !0, d = null;
|
|
531
|
+
n.role === "instructor" && (n.mode === "view" || e) && (d = r.teacherInstructions);
|
|
532
|
+
let f = e ? await ee(c, r.feedback) : void 0;
|
|
533
|
+
return o({
|
|
788
534
|
prompt: r.prompt,
|
|
789
|
-
teacherInstructions:
|
|
535
|
+
teacherInstructions: d,
|
|
790
536
|
graph: i,
|
|
791
|
-
disabled:
|
|
792
|
-
corrected:
|
|
793
|
-
correctResponse: e && ["unanswered", "correct"].indexOf(
|
|
794
|
-
feedback:
|
|
795
|
-
type:
|
|
796
|
-
message:
|
|
537
|
+
disabled: u,
|
|
538
|
+
corrected: s,
|
|
539
|
+
correctResponse: e && ["unanswered", "correct"].indexOf(c) === -1 && r.correctResponse,
|
|
540
|
+
feedback: f && {
|
|
541
|
+
type: c,
|
|
542
|
+
message: f
|
|
797
543
|
},
|
|
798
544
|
colorContrast: n.accessibility && n.accessibility.colorContrast || "black_on_white",
|
|
799
545
|
language: r.language,
|
|
@@ -801,7 +547,7 @@ async function Et(e, t, n) {
|
|
|
801
547
|
}, (e) => !e);
|
|
802
548
|
} else throw Error("graph is undefined");
|
|
803
549
|
}
|
|
804
|
-
var
|
|
550
|
+
var ge = (e, t) => new Promise((n) => {
|
|
805
551
|
if (t.mode !== "evaluate" && t.role === "instructor") {
|
|
806
552
|
let { correctResponse: t } = e;
|
|
807
553
|
n({
|
|
@@ -809,15 +555,15 @@ var Dt = (e, t) => new Promise((n) => {
|
|
|
809
555
|
id: "1"
|
|
810
556
|
});
|
|
811
557
|
} else n(null);
|
|
812
|
-
}),
|
|
558
|
+
}), $ = (e) => (e || "").replace(/(<(?!img|iframe|source)([^>]+)>)/gi, ""), _e = (e = {}, t = {}) => {
|
|
813
559
|
let { graph: n, correctResponse: r } = e || {}, { maxMaxElements: i = 20, numberLineDimensions: { min: a = 200, max: o = 800 } = {} } = t || {}, { width: s, domain: c, maxNumberOfPoints: l } = n || {}, { min: u, max: d } = c || {}, f = {};
|
|
814
560
|
["teacherInstructions", "prompt"].forEach((n) => {
|
|
815
|
-
t[n]?.required &&
|
|
561
|
+
t[n]?.required && !$(e[n]) && (f[n] = "This field is required.");
|
|
816
562
|
}), (s < a || s > o) && (f.widthError = `Width should be a value between ${a} and ${o}.`);
|
|
817
563
|
let p = -1e5, m = 1e5;
|
|
818
564
|
return (u < p || u > m || d < p || d > m) && (f.domainError = `Min and max values must both be in the range [${p}, ${m}].`), u >= d && (f.maxError = "Max value must be greater than min value."), (l < 1 || l > i) && (f.pointsError = `Max number of elements should be between 1 and ${i}.`), r && r.length === 0 && (f.correctResponseError = "The correct answer should include at least one number line object."), f;
|
|
819
565
|
};
|
|
820
566
|
//#endregion
|
|
821
|
-
export {
|
|
567
|
+
export { fe as CLOSE_TO_PRECISION, J as closeTo, ge as createCorrectResponseSession, pe as createDefaultModel, X as getCorrected, Z as getCorrectness, q as getLogTrace, de as getScore, he as model, Q as normalize, ue as outcome, _e as validate };
|
|
822
568
|
|
|
823
569
|
//# sourceMappingURL=index.js.map
|