@pie-element/explicit-constructed-response 11.1.2-next.0 → 11.1.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.
Files changed (227) hide show
  1. package/dist/author/alternateResponses.js +36 -39
  2. package/dist/author/alternateSection.d.ts +1 -1
  3. package/dist/author/alternateSection.js +55 -57
  4. package/dist/author/index.js +18 -19
  5. package/dist/author/main.d.ts +1 -1
  6. package/dist/author/main.js +139 -142
  7. package/dist/author/markupUtils.js +1 -1
  8. package/dist/browser/author/index.js +743 -863
  9. package/dist/browser/author/index.js.map +1 -1
  10. package/dist/browser/browser-BC3WygxE.js +360 -0
  11. package/dist/browser/browser-BC3WygxE.js.map +1 -0
  12. package/dist/browser/controller/index.js +63 -94
  13. package/dist/browser/controller/index.js.map +1 -1
  14. package/dist/browser/delivery/index.js +2 -2
  15. package/dist/browser/{dist-DnL6t4VO.js → dist-D5D48-XD.js} +10101 -10580
  16. package/dist/browser/dist-D5D48-XD.js.map +1 -0
  17. package/dist/browser/{main-V_e6PRBN.js → main-B4lD1zyg.js} +253 -235
  18. package/dist/browser/main-B4lD1zyg.js.map +1 -0
  19. package/dist/browser/print/index.js +5 -5
  20. package/dist/browser/print/index.js.map +1 -1
  21. package/dist/controller/index.d.ts +2 -2
  22. package/dist/controller/index.js +38 -41
  23. package/dist/delivery/main.js +28 -30
  24. package/dist/index.iife.js +100 -100
  25. package/dist/print/index.js +10 -10
  26. package/dist/runtime-support.d.ts +12 -0
  27. package/dist/runtime-support.js +12 -0
  28. package/package.json +14 -10
  29. package/dist/browser/browser-DbR93LB7.js +0 -950
  30. package/dist/browser/browser-DbR93LB7.js.map +0 -1
  31. package/dist/browser/dist-DnL6t4VO.js.map +0 -1
  32. package/dist/browser/main-V_e6PRBN.js.map +0 -1
  33. package/dist/browser/reduce-Bqz7DMQ0.js +0 -172
  34. package/dist/browser/reduce-Bqz7DMQ0.js.map +0 -1
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js +0 -8
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js +0 -6
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js +0 -11
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +0 -13
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js +0 -8
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGt.js +0 -6
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +0 -26
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +0 -11
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js +0 -11
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js +0 -10
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js +0 -8
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js +0 -8
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js +0 -12
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +0 -19
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js +0 -11
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +0 -9
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +0 -16
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +0 -18
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +0 -10
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +0 -7
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +0 -16
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/escape.js +0 -9
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +0 -7
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  206. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  207. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  208. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  209. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  210. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  211. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  212. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  213. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  214. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js +0 -10
  215. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js +0 -9
  216. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
  217. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
  218. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js +0 -8
  219. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
  220. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js +0 -12
  221. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  222. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  223. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/throttle.js +0 -15
  224. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +0 -8
  225. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
  226. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
  227. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
@@ -1,10 +1,10 @@
1
- import { J as e, m as t, n, t as r } from "./browser-DbR93LB7.js";
2
- import { G as i, J as a, K as o, _ as s, at as c, ft as l, g as u, h as d, k as f, m as p, ot as m, p as h, pt as g, t as _, v, w as y } from "./dist-DnL6t4VO.js";
3
- import { t as b } from "./dist-D9ARZhQk.js";
4
- import x, { useRef as S } from "react";
5
- import { jsx as C, jsxs as w } from "react/jsx-runtime";
1
+ import { E as e, b as t, m as n, n as r, s as i, t as a } from "./browser-BC3WygxE.js";
2
+ import { C as o, G as s, O as c, W as l, _ as u, at as d, g as f, h as p, it as m, m as h, p as g, q as _, t as v } from "./dist-D5D48-XD.js";
3
+ import { t as y } from "./dist-D9ARZhQk.js";
4
+ import b, { useRef as x } from "react";
5
+ import { jsx as S, jsxs as C } from "react/jsx-runtime";
6
6
  //#region ../../lib-react/correct-answer-toggle/dist/expander.js
7
- var T = /* @__PURE__ */ e(l(), 1), E = "height ease-in 300ms, opacity ease-in 300ms", D = a("div")(() => ({
7
+ var w = /* @__PURE__ */ e(m(), 1), T = "height ease-in 300ms, opacity ease-in 300ms", E = _("div")(() => ({
8
8
  position: "relative",
9
9
  height: 0,
10
10
  overflow: "hidden",
@@ -12,7 +12,7 @@ var T = /* @__PURE__ */ e(l(), 1), E = "height ease-in 300ms, opacity ease-in 30
12
12
  visibility: "hidden",
13
13
  width: 0,
14
14
  "&.enter": {
15
- transition: E,
15
+ transition: T,
16
16
  opacity: 1,
17
17
  height: "auto",
18
18
  width: "auto",
@@ -26,7 +26,7 @@ var T = /* @__PURE__ */ e(l(), 1), E = "height ease-in 300ms, opacity ease-in 30
26
26
  minHeight: "25px"
27
27
  },
28
28
  "&.exit": {
29
- transition: E,
29
+ transition: T,
30
30
  opacity: 0,
31
31
  height: 0,
32
32
  visibility: "visible",
@@ -38,9 +38,9 @@ var T = /* @__PURE__ */ e(l(), 1), E = "height ease-in 300ms, opacity ease-in 30
38
38
  height: 0,
39
39
  width: 0
40
40
  }
41
- })), O = (e) => {
42
- let { show: t, children: n, className: r } = e, i = S(null);
43
- return /* @__PURE__ */ C(o, {
41
+ })), D = (e) => {
42
+ let { show: t, children: n, className: r } = e, i = x(null);
43
+ return /* @__PURE__ */ S(s, {
44
44
  nodeRef: i,
45
45
  in: t,
46
46
  appear: !0,
@@ -52,53 +52,53 @@ var T = /* @__PURE__ */ e(l(), 1), E = "height ease-in 300ms, opacity ease-in 30
52
52
  exit: "exit",
53
53
  exitDone: "exit-done"
54
54
  },
55
- children: /* @__PURE__ */ C(D, {
55
+ children: /* @__PURE__ */ S(E, {
56
56
  ref: i,
57
57
  className: r,
58
58
  children: n
59
59
  })
60
60
  });
61
61
  };
62
- O.propTypes = {
63
- show: T.default.bool.isRequired,
64
- className: T.default.string,
65
- children: T.default.oneOfType([T.default.arrayOf(T.default.node), T.default.node]).isRequired
62
+ D.propTypes = {
63
+ show: w.default.bool.isRequired,
64
+ className: w.default.string,
65
+ children: w.default.oneOfType([w.default.arrayOf(w.default.node), w.default.node]).isRequired
66
66
  };
67
67
  //#endregion
68
68
  //#region ../../lib-react/icons/dist/correct-response-icon.js
69
- var ee = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ w("svg", {
69
+ var ee = ({ bgFill: e, fgFill: t }) => /* @__PURE__ */ C("svg", {
70
70
  preserveAspectRatio: "xMinYMin meet",
71
71
  version: "1.1",
72
72
  viewBox: "-283 359 34 35",
73
73
  style: { enableBackground: "new -283 359 34 35" },
74
74
  children: [
75
- /* @__PURE__ */ C("circle", {
75
+ /* @__PURE__ */ S("circle", {
76
76
  cx: "-266",
77
77
  cy: "375.9",
78
78
  r: "14",
79
79
  fill: e
80
80
  }),
81
- /* @__PURE__ */ C("path", {
81
+ /* @__PURE__ */ S("path", {
82
82
  d: "M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z\n M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z",
83
83
  fill: e
84
84
  }),
85
- /* @__PURE__ */ C("polygon", {
85
+ /* @__PURE__ */ S("polygon", {
86
86
  points: "-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6",
87
87
  fill: t
88
88
  })
89
89
  ]
90
90
  });
91
91
  ee.propTypes = {
92
- bgFill: T.default.string.isRequired,
93
- fgFill: T.default.string.isRequired
92
+ bgFill: w.default.string.isRequired,
93
+ fgFill: w.default.string.isRequired
94
94
  };
95
- var te = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ w("svg", {
95
+ var O = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ C("svg", {
96
96
  preserveAspectRatio: "xMinYMin meet",
97
97
  version: "1.1",
98
98
  viewBox: "-129.5 127 34 35",
99
99
  style: { enableBackground: "new -129.5 127 34 35" },
100
100
  children: [
101
- /* @__PURE__ */ C("path", {
101
+ /* @__PURE__ */ S("path", {
102
102
  style: {
103
103
  fill: "#D0CAC5",
104
104
  stroke: "#E6E3E0",
@@ -107,7 +107,7 @@ var te = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ w("svg", {
107
107
  },
108
108
  d: "M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5\n C-97.4,153.5-104.3,160.4-112.9,160.4z"
109
109
  }),
110
- /* @__PURE__ */ C("path", {
110
+ /* @__PURE__ */ S("path", {
111
111
  style: {
112
112
  fill: "#B3ABA4",
113
113
  stroke: "#CDC7C2",
@@ -116,77 +116,77 @@ var te = ({ bgFill: e, fgFill: t, borderFill: n }) => /* @__PURE__ */ w("svg", {
116
116
  },
117
117
  d: "M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z"
118
118
  }),
119
- /* @__PURE__ */ C("circle", {
119
+ /* @__PURE__ */ S("circle", {
120
120
  cx: "-114.2",
121
121
  cy: "143.5",
122
122
  r: "14",
123
123
  fill: e
124
124
  }),
125
- /* @__PURE__ */ C("path", {
125
+ /* @__PURE__ */ S("path", {
126
126
  d: "M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z\n M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z",
127
127
  fill: n
128
128
  }),
129
- /* @__PURE__ */ C("polygon", {
129
+ /* @__PURE__ */ S("polygon", {
130
130
  points: "-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2",
131
131
  fill: t
132
132
  })
133
133
  ]
134
134
  });
135
- te.propTypes = {
136
- bgFill: T.default.string.isRequired,
137
- fgFill: T.default.string.isRequired,
138
- borderFill: T.default.string.isRequired
135
+ O.propTypes = {
136
+ bgFill: w.default.string.isRequired,
137
+ fgFill: w.default.string.isRequired,
138
+ borderFill: w.default.string.isRequired
139
139
  };
140
- var ne = a("div")(({ size: e }) => ({
140
+ var te = _("div")(({ size: e }) => ({
141
141
  width: e || "25px",
142
142
  height: e || "25px"
143
- })), k = ({ open: e, size: t }) => /* @__PURE__ */ C(ne, {
143
+ })), k = ({ open: e, size: t }) => /* @__PURE__ */ S(te, {
144
144
  size: t,
145
- children: e ? /* @__PURE__ */ C(ee, {
145
+ children: e ? /* @__PURE__ */ S(ee, {
146
146
  bgFill: "#bce2ff",
147
147
  fgFill: "#1a9cff"
148
- }) : /* @__PURE__ */ C(te, {
148
+ }) : /* @__PURE__ */ S(O, {
149
149
  bgFill: "white",
150
150
  fgFill: "#1a9cff",
151
151
  borderFill: "#bce2ff"
152
152
  })
153
153
  });
154
154
  k.propTypes = {
155
- open: T.default.bool,
156
- size: T.default.string
155
+ open: w.default.bool,
156
+ size: w.default.string
157
157
  }, k.defaultProps = { open: !1 };
158
158
  //#endregion
159
159
  //#region ../../lib-react/correct-answer-toggle/dist/index.js
160
- var re = /* @__PURE__ */ e(r(), 1);
160
+ var ne = /* @__PURE__ */ e(a(), 1);
161
161
  function A(e) {
162
162
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
163
163
  }
164
164
  function j(e, t) {
165
165
  return !e || A(e) ? e : A(e.default) ? e.default : t && A(e[t]) ? e[t] : t && A(e[t]?.default) ? e[t].default : e;
166
166
  }
167
- var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default, oe = M && typeof M == "object" ? M : ae, { translator: N } = b, se = {
167
+ var re = j(f, "Readable") || j(ie.Readable, "Readable"), M = g, N = M.default, ie = N && typeof N == "object" ? N : M, { translator: P } = y, ae = {
168
168
  WebkitTouchCallout: "none",
169
169
  WebkitUserSelect: "none",
170
170
  KhtmlUserSelect: "none",
171
171
  MozUserSelect: "none",
172
172
  msUserSelect: "none",
173
173
  userSelect: "none"
174
- }, ce = a("div")(() => ({
174
+ }, oe = _("div")(() => ({
175
175
  width: "100%",
176
176
  cursor: "pointer"
177
- })), le = a("div")(() => ({
177
+ })), se = _("div")(() => ({
178
178
  margin: "0 auto",
179
179
  textAlign: "center",
180
180
  display: "flex"
181
- })), ue = a("div")(() => ({
181
+ })), ce = _("div")(() => ({
182
182
  width: "fit-content",
183
183
  minWidth: "140px",
184
184
  alignSelf: "center",
185
185
  verticalAlign: "middle",
186
- color: `var(--correct-answer-toggle-label-color, ${i.text()})`,
186
+ color: `var(--correct-answer-toggle-label-color, ${l.text()})`,
187
187
  fontWeight: "normal",
188
- ...se
189
- })), de = a("div")(() => ({
188
+ ...ae
189
+ })), le = _("div")(() => ({
190
190
  position: "absolute",
191
191
  width: "25px",
192
192
  "&.enter": { opacity: "0" },
@@ -199,20 +199,20 @@ var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default,
199
199
  opacity: "0",
200
200
  transition: "opacity 0.3s ease-in"
201
201
  }
202
- })), fe = a("div")(() => ({
202
+ })), ue = _("div")(() => ({
203
203
  width: "25px",
204
204
  marginRight: "5px",
205
205
  display: "flex",
206
206
  alignItems: "center"
207
- })), pe = class e extends x.Component {
207
+ })), de = class e extends b.Component {
208
208
  static propTypes = {
209
- onToggle: T.default.func,
210
- toggled: T.default.bool,
211
- show: T.default.bool,
212
- hideMessage: T.default.string,
213
- showMessage: T.default.string,
214
- className: T.default.string,
215
- language: T.default.string
209
+ onToggle: w.default.func,
210
+ toggled: w.default.bool,
211
+ show: w.default.bool,
212
+ hideMessage: w.default.string,
213
+ showMessage: w.default.string,
214
+ className: w.default.string,
215
+ language: w.default.string
216
216
  };
217
217
  static defaultProps = {
218
218
  showMessage: "Show correct answer",
@@ -221,10 +221,10 @@ var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default,
221
221
  toggled: !1
222
222
  };
223
223
  constructor(t) {
224
- super(t), this.state = { show: t.show }, this.openIconRef = x.createRef(), this.closedIconRef = x.createRef(), e.defaultProps = {
224
+ super(t), this.state = { show: t.show }, this.openIconRef = b.createRef(), this.closedIconRef = b.createRef(), e.defaultProps = {
225
225
  ...e.defaultProps,
226
- showMessage: N.t("common:showCorrectAnswer", { lng: t.language }),
227
- hideMessage: N.t("common:hideCorrectAnswer", { lng: t.language })
226
+ showMessage: P.t("common:showCorrectAnswer", { lng: t.language }),
227
+ hideMessage: P.t("common:hideCorrectAnswer", { lng: t.language })
228
228
  };
229
229
  }
230
230
  onClick() {
@@ -236,20 +236,20 @@ var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default,
236
236
  UNSAFE_componentWillReceiveProps(t) {
237
237
  this.setState({ show: t.show }), t.language !== this.props?.language && (e.defaultProps = {
238
238
  ...e.defaultProps,
239
- showMessage: N.t("common:showCorrectAnswer", { lng: t.language }),
240
- hideMessage: N.t("common:hideCorrectAnswer", { lng: t.language })
239
+ showMessage: P.t("common:showCorrectAnswer", { lng: t.language }),
240
+ hideMessage: P.t("common:hideCorrectAnswer", { lng: t.language })
241
241
  });
242
242
  }
243
243
  render() {
244
244
  let { className: e, toggled: t, hideMessage: n, showMessage: r } = this.props;
245
- return /* @__PURE__ */ C(ce, {
245
+ return /* @__PURE__ */ S(oe, {
246
246
  className: e,
247
- children: /* @__PURE__ */ C(O, {
247
+ children: /* @__PURE__ */ S(D, {
248
248
  show: this.state.show,
249
- children: /* @__PURE__ */ w(le, {
249
+ children: /* @__PURE__ */ C(se, {
250
250
  onClick: this.onClick.bind(this),
251
251
  onTouchEnd: this.onTouch.bind(this),
252
- children: [/* @__PURE__ */ w(fe, { children: [/* @__PURE__ */ C(o, {
252
+ children: [/* @__PURE__ */ C(ue, { children: [/* @__PURE__ */ S(s, {
253
253
  nodeRef: this.openIconRef,
254
254
  timeout: 400,
255
255
  in: t,
@@ -260,11 +260,11 @@ var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default,
260
260
  exit: "exit",
261
261
  exitActive: "exit-active"
262
262
  },
263
- children: /* @__PURE__ */ C(de, {
263
+ children: /* @__PURE__ */ S(le, {
264
264
  ref: this.openIconRef,
265
- children: /* @__PURE__ */ C(k, { open: t }, "correct-open")
265
+ children: /* @__PURE__ */ S(k, { open: t }, "correct-open")
266
266
  })
267
- }), /* @__PURE__ */ C(o, {
267
+ }), /* @__PURE__ */ S(s, {
268
268
  nodeRef: this.closedIconRef,
269
269
  timeout: 5e3,
270
270
  in: !t,
@@ -275,13 +275,13 @@ var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default,
275
275
  exit: "exit",
276
276
  exitActive: "exit-active"
277
277
  },
278
- children: /* @__PURE__ */ C(de, {
278
+ children: /* @__PURE__ */ S(le, {
279
279
  ref: this.closedIconRef,
280
- children: /* @__PURE__ */ C(k, { open: t }, "correct-closed")
280
+ children: /* @__PURE__ */ S(k, { open: t }, "correct-closed")
281
281
  })
282
- })] }), /* @__PURE__ */ C(ie, {
282
+ })] }), /* @__PURE__ */ S(re, {
283
283
  false: !0,
284
- children: /* @__PURE__ */ C(ue, {
284
+ children: /* @__PURE__ */ S(ce, {
285
285
  "aria-hidden": !this.state.show,
286
286
  children: t ? n : r
287
287
  })
@@ -290,7 +290,7 @@ var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default,
290
290
  })
291
291
  });
292
292
  }
293
- }, me = /\{\{(\d+)\}\}/g, he = (e, t) => e ? { markup: e.replace(me, (e, n) => `<span data-component="${t}" data-id="${n}"></span>`) } : { markup: "" }, P = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), F = /* @__PURE__ */ P(((e, t) => {
293
+ }, fe = /\{\{(\d+)\}\}/g, pe = (e, t) => e ? { markup: e.replace(fe, (e, n) => `<span data-component="${t}" data-id="${n}"></span>`) } : { markup: "" }, F = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), I = /* @__PURE__ */ F(((e, t) => {
294
294
  t.exports = {
295
295
  "border-radius": 1,
296
296
  "border-top-left-radius": 1,
@@ -317,10 +317,10 @@ var ie = j(s, "Readable") || j(oe.Readable, "Readable"), ae = p, M = ae.default,
317
317
  "box-pack": 1
318
318
  };
319
319
  }));
320
- F();
320
+ I();
321
321
  //#endregion
322
322
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/cssUnitless.js
323
- var I = /* @__PURE__ */ P(((e, t) => {
323
+ var L = /* @__PURE__ */ F(((e, t) => {
324
324
  t.exports = {
325
325
  animation: 1,
326
326
  "column-count": 1,
@@ -340,19 +340,19 @@ var I = /* @__PURE__ */ P(((e, t) => {
340
340
  rowspan: 1
341
341
  };
342
342
  }));
343
- I();
343
+ L();
344
344
  //#endregion
345
345
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/stringUtils/toUpperFirst.js
346
- var L = /* @__PURE__ */ P(((e, t) => {
346
+ var R = /* @__PURE__ */ F(((e, t) => {
347
347
  t.exports = function(e) {
348
348
  return e.length ? e.charAt(0).toUpperCase() + e.substring(1) : e;
349
349
  };
350
350
  }));
351
- L();
351
+ R();
352
352
  //#endregion
353
353
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/prefixInfo.js
354
- var R = /* @__PURE__ */ P(((e, t) => {
355
- var n = L(), r = /^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/, i = typeof document > "u" ? {} : document.documentElement.style;
354
+ var z = /* @__PURE__ */ F(((e, t) => {
355
+ var n = R(), r = /^(Moz|Webkit|Khtml|O|ms|Icab)(?=[A-Z])/, i = typeof document > "u" ? {} : document.documentElement.style;
356
356
  t.exports = (function() {
357
357
  var e = (function() {
358
358
  for (var e in i) if (r.test(e)) return e.match(r)[0];
@@ -369,54 +369,54 @@ var R = /* @__PURE__ */ P(((e, t) => {
369
369
  };
370
370
  })();
371
371
  }));
372
- R();
372
+ z();
373
373
  //#endregion
374
374
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/stringUtils/hyphenRe.js
375
- var z = /* @__PURE__ */ P(((e, t) => {
375
+ var B = /* @__PURE__ */ F(((e, t) => {
376
376
  t.exports = /[-\s]+(.)?/g;
377
377
  }));
378
- z();
378
+ B();
379
379
  //#endregion
380
380
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/stringUtils/camelize.js
381
- var B = /* @__PURE__ */ P(((e, t) => {
381
+ var V = /* @__PURE__ */ F(((e, t) => {
382
382
  var n = function(e, t) {
383
383
  return t ? t.toUpperCase() : "";
384
- }, r = z();
384
+ }, r = B();
385
385
  t.exports = function(e) {
386
386
  return e ? e.replace(r, n) : "";
387
387
  };
388
388
  }));
389
- B();
389
+ V();
390
390
  //#endregion
391
391
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/stringUtils/separate.js
392
- var V = /* @__PURE__ */ P(((e, t) => {
392
+ var H = /* @__PURE__ */ F(((e, t) => {
393
393
  var n = /::/g, r = /([A-Z]+)([A-Z][a-z])/g, i = /([a-z\d])([A-Z])/g, a = /_/g;
394
394
  t.exports = function(e, t) {
395
395
  return e ? e.replace(n, "/").replace(r, "$1_$2").replace(i, "$1_$2").replace(a, t || "-") : "";
396
396
  };
397
397
  }));
398
- V();
398
+ H();
399
399
  //#endregion
400
400
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/stringUtils/hyphenate.js
401
- var H = /* @__PURE__ */ P(((e, t) => {
402
- var n = V();
401
+ var U = /* @__PURE__ */ F(((e, t) => {
402
+ var n = H();
403
403
  t.exports = function(e) {
404
404
  return n(e).toLowerCase();
405
405
  };
406
406
  }));
407
- H();
407
+ U();
408
408
  //#endregion
409
409
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/stringUtils/toLowerFirst.js
410
- var ge = /* @__PURE__ */ P(((e, t) => {
410
+ var me = /* @__PURE__ */ F(((e, t) => {
411
411
  t.exports = function(e) {
412
412
  return e.length ? e.charAt(0).toLowerCase() + e.substring(1) : e;
413
413
  };
414
414
  }));
415
- ge();
415
+ me();
416
416
  //#endregion
417
417
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/prefixer.js
418
- var _e = /* @__PURE__ */ P(((e, t) => {
419
- var n = B(), r = H(), i = ge(), a = L(), o = R(), s = F(), c = typeof document > "u" ? {} : document.documentElement.style;
418
+ var he = /* @__PURE__ */ F(((e, t) => {
419
+ var n = V(), r = U(), i = me(), a = R(), o = z(), s = I(), c = typeof document > "u" ? {} : document.documentElement.style;
420
420
  t.exports = function(e) {
421
421
  return function(t, l) {
422
422
  l ||= {};
@@ -433,45 +433,45 @@ var _e = /* @__PURE__ */ P(((e, t) => {
433
433
  };
434
434
  };
435
435
  }));
436
- _e();
436
+ he();
437
437
  //#endregion
438
438
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/cssPrefix.js
439
- var ve = /* @__PURE__ */ P(((e, t) => {
440
- t.exports = _e()();
439
+ var W = /* @__PURE__ */ F(((e, t) => {
440
+ t.exports = he()();
441
441
  }));
442
- ve();
442
+ W();
443
443
  //#endregion
444
444
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/hasOwn.js
445
- var U = /* @__PURE__ */ P(((e, t) => {
445
+ var G = /* @__PURE__ */ F(((e, t) => {
446
446
  var n = Object.prototype.hasOwnProperty;
447
447
  t.exports = function(e, t) {
448
448
  return n.call(e, t);
449
449
  };
450
450
  }));
451
- U();
451
+ G();
452
452
  //#endregion
453
453
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/isObject.js
454
- var W = /* @__PURE__ */ P(((e, t) => {
454
+ var ge = /* @__PURE__ */ F(((e, t) => {
455
455
  var n = Object.prototype.toString;
456
456
  t.exports = function(e) {
457
457
  return !!e && n.call(e) === "[object Object]";
458
458
  };
459
459
  }));
460
- W();
460
+ ge();
461
461
  //#endregion
462
462
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/isFunction.js
463
- var ye = /* @__PURE__ */ P(((e, t) => {
463
+ var _e = /* @__PURE__ */ F(((e, t) => {
464
464
  var n = Object.prototype.toString;
465
465
  t.exports = function(e) {
466
466
  return n.apply(e) === "[object Function]";
467
467
  };
468
468
  }));
469
- ye();
469
+ _e();
470
470
  //#endregion
471
471
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/toStyleObject.js
472
- var G = /* @__PURE__ */ P(((e, t) => {
473
- R();
474
- var n = ve(), r = H(), i = B(), a = U(), o = W(), s = ye(), c = function(e, t, r, i) {
472
+ var K = /* @__PURE__ */ F(((e, t) => {
473
+ z();
474
+ var n = W(), r = U(), i = V(), a = G(), o = ge(), s = _e(), c = function(e, t, r, i) {
475
475
  n(t).forEach(function(t) {
476
476
  e[i ? i(t) : t] = r;
477
477
  });
@@ -482,7 +482,7 @@ var G = /* @__PURE__ */ P(((e, t) => {
482
482
  var n = e.split(":");
483
483
  n.length == 2 && (t[n[0].trim()] = n[1].trim());
484
484
  }), t;
485
- }, u = { cssUnitless: I() }, d = function(e, t, n, f) {
485
+ }, u = { cssUnitless: L() }, d = function(e, t, n, f) {
486
486
  typeof e == "string" && (e = l(e)), t ||= u, t.cssUnitless = t.cssUnitless || u.cssUnitless, f ||= {};
487
487
  var p = t.scope || {}, m = t.addUnits == null ? p && p.addUnits != null ? p.addUnits : !0 : t.addUnits, h = (t.cssUnitless == null ? p ? p.cssUnitless : null : t.cssUnitless) || {}, g = (t.cssUnit || p ? p.cssUnit : null) || "px", _ = t.prefixProperties || (p ? p.prefixProperties : null) || {}, v = t.camelize ? i : r, y, b, x, S, C, w, T, E;
488
488
  for (x in e) if (a(e, x)) {
@@ -511,11 +511,11 @@ var G = /* @__PURE__ */ P(((e, t) => {
511
511
  };
512
512
  t.exports = d;
513
513
  }));
514
- G();
514
+ K();
515
515
  //#endregion
516
516
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/src/toStyleString.js
517
- var be = /* @__PURE__ */ P(((e, t) => {
518
- var n = G(), r = U();
517
+ var ve = /* @__PURE__ */ F(((e, t) => {
518
+ var n = K(), r = G();
519
519
  t.exports = function(e, t) {
520
520
  e = n(e, t);
521
521
  var i = [], a;
@@ -523,25 +523,25 @@ var be = /* @__PURE__ */ P(((e, t) => {
523
523
  return i.join("; ");
524
524
  };
525
525
  }));
526
- be();
526
+ ve();
527
527
  //#endregion
528
528
  //#region ../../lib-react/mask-markup/dist/node_modules/.bun/to-style@1.3.3/node_modules/to-style/index.js
529
- var xe = /* @__PURE__ */ P(((e, t) => {
529
+ var ye = /* @__PURE__ */ F(((e, t) => {
530
530
  t.exports = {
531
- prefixProperties: F(),
532
- cssUnitless: I(),
533
- object: G(),
534
- string: be()
531
+ prefixProperties: I(),
532
+ cssUnitless: L(),
533
+ object: K(),
534
+ string: ve()
535
535
  };
536
536
  }));
537
- xe();
537
+ ye();
538
538
  //#endregion
539
539
  //#region ../../lib-react/mask-markup/dist/serialization.js
540
- var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we = ["span"], Te = [
540
+ var be = ye(), xe = (0, ne.default)("@pie-lib:mask-markup:serialization"), Se = ["span"], Ce = [
541
541
  "em",
542
542
  "strong",
543
543
  "u"
544
- ], Ee = 3, De = 8, Oe = 1, ke = (e) => {
544
+ ], we = 3, Te = 8, Ee = 1, De = (e) => {
545
545
  if (!e.attributes || e.attributes.length <= 0) return;
546
546
  let t = {}, n;
547
547
  for (n = 0; n < e.attributes.length; n++) {
@@ -549,44 +549,44 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
549
549
  t[r.name] = r.value;
550
550
  }
551
551
  return t;
552
- }, Ae = (e) => we.includes(e) ? "inline" : Te.includes(e) ? "mark" : "block", je = (e) => {
552
+ }, Oe = (e) => Se.includes(e) ? "inline" : Ce.includes(e) ? "mark" : "block", ke = (e) => {
553
553
  let t = /([\w-]*)\s*:\s*([^;]*)/g, n, r = {};
554
554
  for (; n = t.exec(e);) r[n[1]] = n[2].trim();
555
555
  return r;
556
- }, Me = (e) => (0, Se.object)(e, {
556
+ }, Ae = (e) => (0, be.object)(e, {
557
557
  camelize: !0,
558
558
  addUnits: !1
559
- }), Ne = (e, t) => Me(je(e.getAttribute(t))), Pe = (e, t, n) => {
559
+ }), je = (e, t) => Ae(ke(e.getAttribute(t))), Me = (e, t, n) => {
560
560
  let r = e.getAttribute(n);
561
561
  return delete t.class, r;
562
- }, Fe = (e) => (t, n) => {
562
+ }, Ne = (e) => (t, n) => {
563
563
  if (!e.getAttribute) return t;
564
564
  if (e.getAttribute(n)) switch (n) {
565
565
  case "style":
566
- t.style = Ne(e, n);
566
+ t.style = je(e, n);
567
567
  break;
568
568
  case "class":
569
- t.className = Pe(e, t, n);
569
+ t.className = Me(e, t, n);
570
570
  break;
571
571
  default:
572
572
  t[n] = e.getAttribute(n);
573
573
  break;
574
574
  }
575
575
  return t;
576
- }, Ie = [
576
+ }, Pe = [
577
577
  "border",
578
578
  "class",
579
579
  "style"
580
- ], K = {
580
+ ], q = {
581
581
  b: "bold",
582
582
  em: "italic",
583
583
  u: "underline",
584
584
  s: "strikethrough",
585
585
  code: "code",
586
586
  strong: "strong"
587
- }, Le = (e, t = []) => {
588
- if (e.nodeType === De) return null;
589
- if (e.nodeType === Ee) {
587
+ }, Fe = (e, t = []) => {
588
+ if (e.nodeType === Te) return null;
589
+ if (e.nodeType === we) {
590
590
  let n = { text: e.textContent };
591
591
  return t.length > 0 && (n.marks = t.map((e) => ({
592
592
  type: e,
@@ -596,19 +596,19 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
596
596
  leaves: [n]
597
597
  };
598
598
  }
599
- if (e.nodeType === Oe) {
600
- let n = e.tagName.toLowerCase(), r = K[n];
601
- if (r) return Ce("[deserialize] mark: ", r), {
599
+ if (e.nodeType === Ee) {
600
+ let n = e.tagName.toLowerCase(), r = q[n];
601
+ if (r) return xe("[deserialize] mark: ", r), {
602
602
  _flatten: !0,
603
- nodes: q(e.childNodes, [...t, r])
603
+ nodes: J(e.childNodes, [...t, r])
604
604
  };
605
605
  if (n === "math") return {
606
606
  isMath: !0,
607
607
  nodes: [e]
608
608
  };
609
- let i = ke(e) || {};
609
+ let i = De(e) || {};
610
610
  n === "audio" && i.controls === "" && (i.controls = !0);
611
- let a = Ie.reduce(Fe(e), { ...i }), o = Ae(n), s = q(e.childNodes, t);
611
+ let a = Pe.reduce(Ne(e), { ...i }), o = Oe(n), s = J(e.childNodes, t);
612
612
  return {
613
613
  object: o,
614
614
  type: n,
@@ -620,14 +620,14 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
620
620
  };
621
621
  }
622
622
  return null;
623
- }, q = (e, t = []) => {
623
+ }, J = (e, t = []) => {
624
624
  let n = [];
625
625
  for (let r = 0; r < e.length; r++) {
626
- let i = Le(e[r], t);
626
+ let i = Fe(e[r], t);
627
627
  i !== null && (i._flatten && i.nodes ? n.push(...i.nodes) : n.push(i));
628
628
  }
629
629
  return n;
630
- }, Re = (e) => {
630
+ }, Ie = (e) => {
631
631
  if (!e || !e.trim()) return {
632
632
  object: "value",
633
633
  document: {
@@ -642,7 +642,7 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
642
642
  }]
643
643
  }
644
644
  };
645
- let t = q(new DOMParser().parseFromString(e, "text/html").body.childNodes);
645
+ let t = J(new DOMParser().parseFromString(e, "text/html").body.childNodes);
646
646
  return !t.some((e) => e.object === "block" || e.object === "inline") && t.length > 0 && (t = [{
647
647
  object: "block",
648
648
  type: "span",
@@ -663,79 +663,79 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
663
663
  nodes: t
664
664
  }
665
665
  };
666
- }, ze = a("div")(({ theme: e }) => ({
666
+ }, Le = _("div")(({ theme: e }) => ({
667
667
  paddingTop: e.spacing(.5),
668
668
  paddingBottom: e.spacing(.5)
669
- })), Be = a("span")(() => ({
669
+ })), Re = _("span")(() => ({
670
670
  display: "inline-block",
671
671
  width: ".75em"
672
- })), Ve = ["tbody", "tr"], He = (e, t) => {
672
+ })), ze = ["tbody", "tr"], Be = (e, t) => {
673
673
  let n = t.trim() === "", r = e && e.type;
674
- if (!(n && Ve.includes(r))) return t;
675
- }, Ue = (e) => {
674
+ if (!(n && ze.includes(r))) return t;
675
+ }, Ve = (e) => {
676
676
  let n = e.leaves.find((e) => t(e, "marks", []).length);
677
677
  return n ? n.marks[0] : null;
678
- }, We = (e, t, n, r, i, a) => {
678
+ }, He = (e, t, n, r, i, a) => {
679
679
  if (!t) return null;
680
680
  let o = [];
681
681
  return (e.nodes || []).forEach((e, s) => {
682
682
  let c = e.type ? `${e.type}-${s}` : `${s}`;
683
- if (e.isMath) return o.push(/* @__PURE__ */ C("span", { dangerouslySetInnerHTML: { __html: `<math displaystyle="true">${e.nodes[0].innerHTML}</math>` } })), o;
683
+ if (e.isMath) return o.push(/* @__PURE__ */ S("span", { dangerouslySetInnerHTML: { __html: `<math displaystyle="true">${e.nodes[0].innerHTML}</math>` } })), o;
684
684
  if (r) {
685
685
  let i = r(e, t, n);
686
686
  if (i) {
687
687
  let t = e.data?.dataset?.component === "blank";
688
- t && o.push(/* @__PURE__ */ C(Be, {}, `spacer-${s}`)), o.push(i), t && o.push(/* @__PURE__ */ C(Be, {}, `spacer-${s}`));
688
+ t && o.push(/* @__PURE__ */ S(Re, {}, `spacer-${s}`)), o.push(i), t && o.push(/* @__PURE__ */ S(Re, {}, `spacer-${s}`));
689
689
  return;
690
690
  }
691
691
  }
692
692
  if (e.object === "text") {
693
693
  let t = e.leaves.reduce((e, t) => {
694
- let n = t.text, r = He(i, n);
694
+ let n = t.text, r = Be(i, n);
695
695
  return r ? e + r : e;
696
- }, ""), n = Ue(e);
696
+ }, ""), n = Ve(e);
697
697
  if (n) {
698
698
  let e;
699
- for (e in K) if (K[e] === n.type) {
699
+ for (e in q) if (q[e] === n.type) {
700
700
  let n = e;
701
- o.push(/* @__PURE__ */ C(n, { children: t }, c));
701
+ o.push(/* @__PURE__ */ S(n, { children: t }, c));
702
702
  break;
703
703
  }
704
704
  } else t.length > 0 && o.push(t);
705
705
  } else {
706
- let i = We(e, t, n, r, e, a);
707
- if (e.type === "p" || e.type === "paragraph") o.push(/* @__PURE__ */ C(ze, { children: i }, c));
706
+ let i = He(e, t, n, r, e, a);
707
+ if (e.type === "p" || e.type === "paragraph") o.push(/* @__PURE__ */ S(Le, { children: i }, c));
708
708
  else {
709
709
  let t = e.type;
710
- e.nodes && e.nodes.length > 0 ? o.push(/* @__PURE__ */ C(t, {
710
+ e.nodes && e.nodes.length > 0 ? o.push(/* @__PURE__ */ S(t, {
711
711
  ...e.data.attributes,
712
712
  children: i
713
- }, c)) : o.push(/* @__PURE__ */ C(t, { ...e.data.attributes }, c));
713
+ }, c)) : o.push(/* @__PURE__ */ S(t, { ...e.data.attributes }, c));
714
714
  }
715
715
  }
716
716
  }), o;
717
- }, Ge = a("div")(() => ({
717
+ }, Ue = _("div")(() => ({
718
718
  display: "initial",
719
719
  "&:not(.MathJax) table": { borderCollapse: "collapse" },
720
720
  "&:not(.MathJax) table td, &:not(.MathJax) table th": {
721
721
  padding: "8px 12px",
722
722
  textAlign: "left"
723
723
  }
724
- })), Ke = class extends x.Component {
724
+ })), We = class extends b.Component {
725
725
  constructor(e) {
726
- super(e), this.internalContainerRef = x.createRef();
726
+ super(e), this.internalContainerRef = b.createRef();
727
727
  }
728
728
  static propTypes = {
729
- renderChildren: T.default.func,
730
- layout: T.default.object,
731
- value: T.default.object,
732
- onChange: T.default.func,
733
- elementType: T.default.string,
734
- containerRef: T.default.oneOfType([T.default.func, T.default.shape({ current: T.default.instanceOf(Element) })])
729
+ renderChildren: w.default.func,
730
+ layout: w.default.object,
731
+ value: w.default.object,
732
+ onChange: w.default.func,
733
+ elementType: w.default.string,
734
+ containerRef: w.default.oneOfType([w.default.func, w.default.shape({ current: w.default.instanceOf(Element) })])
735
735
  };
736
736
  componentDidMount() {
737
737
  let e = this.props.containerRef || this.internalContainerRef;
738
- e.current && typeof g == "function" && g(e.current);
738
+ e.current && typeof d == "function" && d(e.current);
739
739
  }
740
740
  handleChange = (e, t) => {
741
741
  let n = {
@@ -745,26 +745,26 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
745
745
  this.props.onChange(n);
746
746
  };
747
747
  render() {
748
- let { value: e, layout: t, elementType: n, containerRef: r } = this.props, i = We(t, e, this.handleChange, this.props.renderChildren, null, n);
749
- return /* @__PURE__ */ C(Ge, {
748
+ let { value: e, layout: t, elementType: n, containerRef: r } = this.props, i = He(t, e, this.handleChange, this.props.renderChildren, null, n);
749
+ return /* @__PURE__ */ S(Ue, {
750
750
  ref: r || this.internalContainerRef,
751
751
  children: i
752
752
  });
753
753
  }
754
- }, qe = (e, t) => {
755
- let { markup: n } = he(e, t);
756
- return Re(n).document;
757
- }, Je = (e, t) => class extends x.Component {
754
+ }, Ge = (e, t) => {
755
+ let { markup: n } = pe(e, t);
756
+ return Ie(n).document;
757
+ }, Ke = (e, t) => class extends b.Component {
758
758
  static propTypes = {
759
- markup: T.default.string,
760
- layout: T.default.object,
761
- value: T.default.object,
762
- onChange: T.default.func,
763
- customMarkMarkupComponent: T.default.func,
764
- elementType: T.default.string
759
+ markup: w.default.string,
760
+ layout: w.default.object,
761
+ value: w.default.object,
762
+ onChange: w.default.func,
763
+ customMarkMarkupComponent: w.default.func,
764
+ elementType: w.default.string
765
765
  };
766
766
  constructor(e) {
767
- super(e), this.containerRef = x.createRef();
767
+ super(e), this.containerRef = b.createRef();
768
768
  }
769
769
  componentDidUpdate(e) {
770
770
  if (this.props.markup !== e.markup) {
@@ -776,8 +776,8 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
776
776
  }
777
777
  }
778
778
  render() {
779
- let { markup: n, layout: r, value: i, onChange: a, elementType: o } = this.props, s = r || qe(n, e);
780
- return /* @__PURE__ */ C(Ke, {
779
+ let { markup: n, layout: r, value: i, onChange: a, elementType: o } = this.props, s = r || Ge(n, e);
780
+ return /* @__PURE__ */ S(We, {
781
781
  containerRef: this.containerRef,
782
782
  elementType: o,
783
783
  layout: s,
@@ -786,19 +786,37 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
786
786
  renderChildren: t(this.props)
787
787
  });
788
788
  }
789
- }, Ye = /* @__PURE__ */ e(h(), 1), Xe = a(_)(() => ({
789
+ };
790
+ //#endregion
791
+ //#region ../../lib-react/mask-markup/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js
792
+ function qe(e) {
793
+ var t, n, r = "";
794
+ if (typeof e == "string" || typeof e == "number") r += e;
795
+ else if (typeof e == "object") if (Array.isArray(e)) {
796
+ var i = e.length;
797
+ for (t = 0; t < i; t++) e[t] && (n = qe(e[t])) && (r && (r += " "), r += n);
798
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
799
+ return r;
800
+ }
801
+ function Je() {
802
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = qe(e)) && (r && (r += " "), r += t);
803
+ return r;
804
+ }
805
+ //#endregion
806
+ //#region ../../lib-react/mask-markup/dist/constructed-response.js
807
+ var Ye = _(v)(() => ({
790
808
  display: "inline-block",
791
809
  verticalAlign: "middle",
792
810
  margin: "4px",
793
811
  borderRadius: "4px",
794
- border: `1px solid ${i.black()}`,
795
- "&.correct": { border: `1px solid ${i.correct()}` },
796
- "&.incorrect": { border: `1px solid ${i.incorrect()}` }
797
- })), Ze = Je("input", (e) => (t, n) => {
812
+ border: `1px solid ${l.black()}`,
813
+ "&.correct": { border: `1px solid ${l.correct()}` },
814
+ "&.incorrect": { border: `1px solid ${l.incorrect()}` }
815
+ })), Xe = Ke("input", (e) => (t, n) => {
798
816
  let { adjustedLimit: r, disabled: i, feedback: a, showCorrectAnswer: o, maxLength: s, spellCheck: c, pluginProps: l, onChange: u } = e, d = t.data?.dataset || {};
799
817
  if (d.component === "input") {
800
818
  let f = (e.choices && d && e.choices[d.id] || [])[0], p = o ? f && f.label : n[d.id] || "", m = s && s[d.id], h = a && a[d.id], g = o || h === "correct", _ = !o && h === "incorrect";
801
- return /* @__PURE__ */ C(Xe, {
819
+ return /* @__PURE__ */ S(Ye, {
802
820
  id: d.id,
803
821
  disabled: o || i,
804
822
  disableUnderline: !0,
@@ -824,7 +842,7 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
824
842
  noBorder: !0,
825
843
  isHidden: !!l?.characters?.disabled
826
844
  },
827
- className: (0, Ye.default)({
845
+ className: Je({
828
846
  correct: g,
829
847
  incorrect: _
830
848
  })
@@ -833,53 +851,53 @@ var Se = xe(), Ce = (0, re.default)("@pie-lib:mask-markup:serialization"), we =
833
851
  });
834
852
  //#endregion
835
853
  //#region src/delivery/main.tsx
836
- function J(e) {
854
+ function Y(e) {
837
855
  return typeof e == "function" || typeof e == "object" && !!e && typeof e.$$typeof == "symbol";
838
856
  }
839
- function Y(e, t) {
840
- return !e || J(e) ? e : J(e.default) ? e.default : t && J(e[t]) ? e[t] : t && J(e[t]?.default) ? e[t].default : e;
857
+ function X(e, t) {
858
+ return !e || Y(e) ? e : Y(e.default) ? e.default : t && Y(e[t]) ? e[t] : t && Y(e[t]?.default) ? e[t].default : e;
841
859
  }
842
- var Qe = Y(y, "UiLayout") || Y(Q.UiLayout, "UiLayout"), X = Y(v, "PreviewPrompt") || Y(Q.PreviewPrompt, "PreviewPrompt"), $e = Y(f, "Collapsible") || Y(Q.Collapsible, "Collapsible"), et = p, Z = et.default, Q = Z && typeof Z == "object" ? Z : et, { translator: tt } = b, nt = a(Qe)(({ alwaysShowCorrect: e }) => ({
843
- color: i.text(),
844
- backgroundColor: i.background(),
845
- ...e && { "& *": { borderColor: `${i.text()} !important` } }
846
- })), rt = a("div")(({ theme: e }) => ({ marginBottom: e.spacing(2) })), $ = a("div")(({ theme: e }) => ({ marginBottom: e.spacing(2) })), it = a("h2")({
860
+ var Ze = X(o, "UiLayout") || X($.UiLayout, "UiLayout"), Z = X(u, "PreviewPrompt") || X($.PreviewPrompt, "PreviewPrompt"), Qe = X(c, "Collapsible") || X($.Collapsible, "Collapsible"), $e = g, Q = $e.default, $ = Q && typeof Q == "object" ? Q : $e, { translator: et } = y, tt = _(Ze)(({ alwaysShowCorrect: e }) => ({
861
+ color: l.text(),
862
+ backgroundColor: l.background(),
863
+ ...e && { "& *": { borderColor: `${l.text()} !important` } }
864
+ })), nt = _("div")(({ theme: e }) => ({ marginBottom: e.spacing(2) })), rt = _("div")(({ theme: e }) => ({ marginBottom: e.spacing(2) })), it = _("h2")({
847
865
  position: "absolute",
848
866
  left: "-10000px",
849
867
  top: "auto",
850
868
  width: "1px",
851
869
  height: "1px",
852
870
  overflow: "hidden"
853
- }), at = class extends x.Component {
871
+ }), at = class extends b.Component {
854
872
  static propTypes = {
855
- alwaysShowCorrect: T.default.bool,
856
- animationsDisabled: T.default.bool,
857
- disabled: T.default.bool,
858
- displayType: T.default.string,
859
- feedback: T.default.object,
860
- language: T.default.string,
861
- markup: T.default.string,
862
- maxLengthPerChoice: T.default.array,
863
- maxLengthPerChoiceEnabled: T.default.bool,
864
- mode: T.default.string,
865
- note: T.default.string,
866
- onChange: T.default.func,
867
- playerSpellCheckEnabled: T.default.bool,
868
- prompt: T.default.string,
869
- rationale: T.default.string,
870
- role: T.default.string,
871
- showNote: T.default.bool,
872
- teacherInstructions: T.default.string,
873
- value: T.default.object,
874
- responseAreaInputConfiguration: T.default.object,
875
- model: T.default.object.isRequired
873
+ alwaysShowCorrect: w.default.bool,
874
+ animationsDisabled: w.default.bool,
875
+ disabled: w.default.bool,
876
+ displayType: w.default.string,
877
+ feedback: w.default.object,
878
+ language: w.default.string,
879
+ markup: w.default.string,
880
+ maxLengthPerChoice: w.default.array,
881
+ maxLengthPerChoiceEnabled: w.default.bool,
882
+ mode: w.default.string,
883
+ note: w.default.string,
884
+ onChange: w.default.func,
885
+ playerSpellCheckEnabled: w.default.bool,
886
+ prompt: w.default.string,
887
+ rationale: w.default.string,
888
+ role: w.default.string,
889
+ showNote: w.default.bool,
890
+ teacherInstructions: w.default.string,
891
+ value: w.default.object,
892
+ responseAreaInputConfiguration: w.default.object,
893
+ model: w.default.object.isRequired
876
894
  };
877
895
  static defaultProps = { value: {} };
878
896
  state = { showCorrectAnswer: this.props.alwaysShowCorrect || !1 };
879
- getChangeSession = (e) => e && e.every((e, t, n) => e === n[0] && e === 1) ? this.props.onChange : m(this.props.onChange, 200, { maxWait: 200 });
897
+ getChangeSession = (e) => e && e.every((e, t, n) => e === n[0] && e === 1) ? this.props.onChange : n(this.props.onChange, 200, { maxWait: 200 });
880
898
  UNSAFE_componentWillReceiveProps(e) {
881
- let { maxLengthPerChoice: t, language: r } = this.props, { note: i } = this.props;
882
- n(e.feedback) && this.setState({ showCorrectAnswer: !1 }), e.alwaysShowCorrect && this.setState({ showCorrectAnswer: !0 }), t && !c(t, e.maxLengthPerChoice) && (this.changeSession = this.getChangeSession(e.maxLengthPerChoice)), i && r && r !== e.language && i === tt.t("common:commonCorrectAnswerWithAlternates", { lng: r }) && (i = tt.t("common:commonCorrectAnswerWithAlternates", { lng: e.language }));
899
+ let { maxLengthPerChoice: t, language: n } = this.props, { note: a } = this.props;
900
+ i(e.feedback) && this.setState({ showCorrectAnswer: !1 }), e.alwaysShowCorrect && this.setState({ showCorrectAnswer: !0 }), t && !r(t, e.maxLengthPerChoice) && (this.changeSession = this.getChangeSession(e.maxLengthPerChoice)), a && n && n !== e.language && a === et.t("common:commonCorrectAnswerWithAlternates", { lng: n }) && (a = et.t("common:commonCorrectAnswerWithAlternates", { lng: e.language }));
883
901
  }
884
902
  toggleShowCorrect = () => {
885
903
  this.setState({ showCorrectAnswer: !this.state.showCorrectAnswer });
@@ -889,42 +907,42 @@ var Qe = Y(y, "UiLayout") || Y(Q.UiLayout, "UiLayout"), X = Y(v, "PreviewPrompt"
889
907
  this.changeSession(e);
890
908
  };
891
909
  render() {
892
- let { showCorrectAnswer: e } = this.state, { alwaysShowCorrect: t, animationsDisabled: n, mode: r, displayType: i, role: a, language: o, maxLengthPerChoice: s, maxLengthPerChoiceEnabled: c, note: l, playerSpellCheckEnabled: f, prompt: p, rationale: m, showNote: h, teacherInstructions: g, responseAreaInputConfiguration: _, model: v, value: y } = this.props, { extraCSSRules: b } = v || {}, x = (e || r === "view" && a === "instructor") && h && l, S = /* @__PURE__ */ C(X, {
910
+ let { showCorrectAnswer: e } = this.state, { alwaysShowCorrect: t, animationsDisabled: n, mode: r, displayType: i, role: a, language: o, maxLengthPerChoice: s, maxLengthPerChoiceEnabled: c, note: l, playerSpellCheckEnabled: u, prompt: d, rationale: f, showNote: m, teacherInstructions: g, responseAreaInputConfiguration: _, model: v, value: y } = this.props, { extraCSSRules: b } = v || {}, x = (e || r === "view" && a === "instructor") && m && l, w = /* @__PURE__ */ S(Z, {
893
911
  defaultClassName: "teacher-instructions",
894
912
  prompt: g
895
- }), T = /* @__PURE__ */ C(X, { prompt: m }), E = m && (u(m) || d(m)), D = g && (u(g) || d(g));
896
- return /* @__PURE__ */ w(nt, {
913
+ }), T = /* @__PURE__ */ S(Z, { prompt: f }), E = f && (p(f) || h(f)), D = g && (p(g) || h(g));
914
+ return /* @__PURE__ */ C(tt, {
897
915
  extraCSSRules: b,
898
916
  alwaysShowCorrect: t,
899
917
  style: { display: `${i}` },
900
918
  children: [
901
- r === "gather" && /* @__PURE__ */ C(it, { children: "Fill in the Blank Question" }),
902
- D && /* @__PURE__ */ C($, { children: n ? S : /* @__PURE__ */ C($e, {
919
+ r === "gather" && /* @__PURE__ */ S(it, { children: "Fill in the Blank Question" }),
920
+ D && /* @__PURE__ */ S(rt, { children: n ? w : /* @__PURE__ */ S(Qe, {
903
921
  labels: {
904
922
  hidden: "Show Teacher Instructions",
905
923
  visible: "Hide Teacher Instructions"
906
924
  },
907
- children: S
925
+ children: w
908
926
  }) }),
909
- p && /* @__PURE__ */ C(X, { prompt: p }),
910
- !t && r === "evaluate" && /* @__PURE__ */ C(pe, {
927
+ d && /* @__PURE__ */ S(Z, { prompt: d }),
928
+ !t && r === "evaluate" && /* @__PURE__ */ S(de, {
911
929
  show: !0,
912
930
  toggled: e,
913
931
  onToggle: this.toggleShowCorrect,
914
932
  language: o
915
933
  }),
916
- /* @__PURE__ */ C(Ze, {
934
+ /* @__PURE__ */ S(Xe, {
917
935
  ...this.props,
918
936
  onChange: this.onChange,
919
937
  showCorrectAnswer: e,
920
938
  value: y,
921
939
  maxLength: s,
922
940
  adjustedLimit: c,
923
- spellCheck: f,
941
+ spellCheck: u,
924
942
  pluginProps: _
925
943
  }),
926
- x && /* @__PURE__ */ C(rt, { dangerouslySetInnerHTML: { __html: l } }),
927
- E && /* @__PURE__ */ C($, { children: n ? T : /* @__PURE__ */ C($e, {
944
+ x && /* @__PURE__ */ S(nt, { dangerouslySetInnerHTML: { __html: l } }),
945
+ E && /* @__PURE__ */ S(rt, { children: n ? T : /* @__PURE__ */ S(Qe, {
928
946
  labels: {
929
947
  hidden: "Show Rationale",
930
948
  visible: "Hide Rationale"
@@ -938,4 +956,4 @@ var Qe = Y(y, "UiLayout") || Y(Q.UiLayout, "UiLayout"), X = Y(v, "PreviewPrompt"
938
956
  //#endregion
939
957
  export { at as t };
940
958
 
941
- //# sourceMappingURL=main-V_e6PRBN.js.map
959
+ //# sourceMappingURL=main-B4lD1zyg.js.map