@cuemath/leap 2.9.1-j2 → 2.9.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 (426) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -3
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lib/lib.js +7 -0
  4. package/dist/assets/lib/lib.js.map +1 -0
  5. package/dist/assets/lottie/lottie.js +1 -11
  6. package/dist/assets/lottie/lottie.js.map +1 -1
  7. package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions.js +45 -46
  8. package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/student-actions/student-actions.js.map +1 -1
  9. package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js +25 -26
  10. package/dist/features/chapters/lpar-chapter/block-section/sheet-item/rewards-n-actions/teacher-actions/teacher-actions.js.map +1 -1
  11. package/dist/features/cue-canvas/cue-canvas-provider.js.map +1 -1
  12. package/dist/features/sheets/lessons-list/lesson-item/lesson-item-cta-info.js +59 -60
  13. package/dist/features/sheets/lessons-list/lesson-item/lesson-item-cta-info.js.map +1 -1
  14. package/dist/features/sheets/resources-list/resource-item/resource-item.js +89 -90
  15. package/dist/features/sheets/resources-list/resource-item/resource-item.js.map +1 -1
  16. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/student-actions/student-actions.js +60 -61
  17. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/student-actions/student-actions.js.map +1 -1
  18. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions.js +63 -64
  19. package/dist/features/sheets/sheets-list/sheet-item/reward-n-actions/teacher-actions/teacher-actions.js.map +1 -1
  20. package/dist/features/sheets/utils/is-v3-worksheet.js +4 -14
  21. package/dist/features/sheets/utils/is-v3-worksheet.js.map +1 -1
  22. package/dist/features/ui/context-menu/context-menu.js +18 -20
  23. package/dist/features/ui/context-menu/context-menu.js.map +1 -1
  24. package/dist/features/ui/image/image.js +12 -12
  25. package/dist/features/ui/image/image.js.map +1 -1
  26. package/dist/features/ui/lottie-animation/helper.js +5 -6
  27. package/dist/features/ui/lottie-animation/helper.js.map +1 -1
  28. package/dist/features/ui/lottie-animation/lottie-animation.js +28 -37
  29. package/dist/features/ui/lottie-animation/lottie-animation.js.map +1 -1
  30. package/dist/features/ui/text/text.js +27 -29
  31. package/dist/features/ui/text/text.js.map +1 -1
  32. package/dist/features/worksheet/constants/events.js +3 -0
  33. package/dist/features/worksheet/constants/events.js.map +1 -1
  34. package/dist/features/worksheet/learnosity-preloader/learnosity-preloader.js +69 -50
  35. package/dist/features/worksheet/learnosity-preloader/learnosity-preloader.js.map +1 -1
  36. package/dist/index.d.ts +11 -185
  37. package/dist/index.js +373 -406
  38. package/dist/index.js.map +1 -1
  39. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  40. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  41. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  42. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  43. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  44. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  45. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
  46. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  47. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  48. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  49. package/dist/static/lib/polypad.js +34463 -0
  50. package/package.json +2 -3
  51. package/dist/assets/line-icons/icons/apple-icon.js +0 -48
  52. package/dist/assets/line-icons/icons/apple-icon.js.map +0 -1
  53. package/dist/assets/line-icons/icons/google-icon.js +0 -42
  54. package/dist/assets/line-icons/icons/google-icon.js.map +0 -1
  55. package/dist/features/auth/account-selector/account-selector-styled.js +0 -26
  56. package/dist/features/auth/account-selector/account-selector-styled.js.map +0 -1
  57. package/dist/features/auth/account-selector/account-selector.js +0 -75
  58. package/dist/features/auth/account-selector/account-selector.js.map +0 -1
  59. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js +0 -12
  60. package/dist/features/auth/comps/auth-page-layout/auth-page-layout-styles.js.map +0 -1
  61. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +0 -11
  62. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +0 -1
  63. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js +0 -24
  64. package/dist/features/auth/comps/auth-static-panel/auth-static-panel.js.map +0 -1
  65. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js +0 -29
  66. package/dist/features/auth/comps/overlay-loader/overlay-loader-styled.js.map +0 -1
  67. package/dist/features/auth/comps/overlay-loader/overlay-loader.js +0 -8
  68. package/dist/features/auth/comps/overlay-loader/overlay-loader.js.map +0 -1
  69. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js +0 -26
  70. package/dist/features/auth/comps/resend-otp/otp-timer/otp-timer.js.map +0 -1
  71. package/dist/features/auth/comps/resend-otp/resend-otp.js +0 -41
  72. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +0 -1
  73. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js +0 -48
  74. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper-styled.js.map +0 -1
  75. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js +0 -115
  76. package/dist/features/auth/signup/circular-step-wrapper/circular-step-wrapper.js.map +0 -1
  77. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js +0 -16
  78. package/dist/features/auth/signup/claim-user-account/claim-user-account-styled.js.map +0 -1
  79. package/dist/features/auth/signup/claim-user-account/claim-user-account.js +0 -71
  80. package/dist/features/auth/signup/claim-user-account/claim-user-account.js.map +0 -1
  81. package/dist/features/auth/signup/custom-input/custom-input-styled.js +0 -38
  82. package/dist/features/auth/signup/custom-input/custom-input-styled.js.map +0 -1
  83. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js +0 -79
  84. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input-styled.js.map +0 -1
  85. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js +0 -54
  86. package/dist/features/auth/signup/custom-input/date-picker-input/date-picker-input.js.map +0 -1
  87. package/dist/features/auth/signup/custom-input/email-input/email-input.js +0 -30
  88. package/dist/features/auth/signup/custom-input/email-input/email-input.js.map +0 -1
  89. package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js +0 -31
  90. package/dist/features/auth/signup/custom-input/grade-input/grade-input-styled.js.map +0 -1
  91. package/dist/features/auth/signup/custom-input/grade-input/grade-input.js +0 -30
  92. package/dist/features/auth/signup/custom-input/grade-input/grade-input.js.map +0 -1
  93. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js +0 -19
  94. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper-styled.js.map +0 -1
  95. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js +0 -33
  96. package/dist/features/auth/signup/custom-input/input-wrapper/input-wrapper.js.map +0 -1
  97. package/dist/features/auth/signup/custom-input/otp-input/otp-input.js +0 -41
  98. package/dist/features/auth/signup/custom-input/otp-input/otp-input.js.map +0 -1
  99. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js +0 -33
  100. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-code-button.js.map +0 -1
  101. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js +0 -28
  102. package/dist/features/auth/signup/custom-input/phone-input/country-selector/country-list-menu.js.map +0 -1
  103. package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js +0 -29
  104. package/dist/features/auth/signup/custom-input/phone-input/phone-input-styled.js.map +0 -1
  105. package/dist/features/auth/signup/custom-input/phone-input/phone-input.js +0 -64
  106. package/dist/features/auth/signup/custom-input/phone-input/phone-input.js.map +0 -1
  107. package/dist/features/auth/signup/custom-input/student-password/student-password.js +0 -53
  108. package/dist/features/auth/signup/custom-input/student-password/student-password.js.map +0 -1
  109. package/dist/features/auth/signup/custom-input/student-username/student-username.js +0 -38
  110. package/dist/features/auth/signup/custom-input/student-username/student-username.js.map +0 -1
  111. package/dist/features/auth/signup/signup-constants.js +0 -1022
  112. package/dist/features/auth/signup/signup-constants.js.map +0 -1
  113. package/dist/features/auth/signup/signup-methods/signup-methods.js +0 -58
  114. package/dist/features/auth/signup/signup-methods/signup-methods.js.map +0 -1
  115. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js +0 -19
  116. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card-styled.js.map +0 -1
  117. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js +0 -61
  118. package/dist/features/auth/signup/user-type-selector/user-type-card/user-type-card.js.map +0 -1
  119. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js +0 -24
  120. package/dist/features/auth/signup/user-type-selector/user-type-selector-styled.js.map +0 -1
  121. package/dist/features/auth/signup/user-type-selector/user-type-selector.js +0 -87
  122. package/dist/features/auth/signup/user-type-selector/user-type-selector.js.map +0 -1
  123. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -332
  124. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  125. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -370
  126. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  127. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js +0 -252
  128. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.js.map +0 -1
  129. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js +0 -24
  130. package/dist/node_modules/@floating-ui/react/dist/floating-ui.react.utils.js.map +0 -1
  131. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -192
  132. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  133. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -19
  134. package/dist/node_modules/@floating-ui/react/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  135. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -129
  136. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  137. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  138. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  139. package/dist/node_modules/clsx/dist/clsx.js +0 -18
  140. package/dist/node_modules/clsx/dist/clsx.js.map +0 -1
  141. package/dist/node_modules/date-fns/subYears.js +0 -9
  142. package/dist/node_modules/date-fns/subYears.js.map +0 -1
  143. package/dist/node_modules/react-datepicker/dist/index.es.js +0 -2700
  144. package/dist/node_modules/react-datepicker/dist/index.es.js.map +0 -1
  145. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js +0 -8
  146. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/addLeadingZeros.js.map +0 -1
  147. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js +0 -8
  148. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/defaultOptions.js.map +0 -1
  149. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js +0 -518
  150. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/formatters.js.map +0 -1
  151. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js +0 -60
  152. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/lightFormatters.js.map +0 -1
  153. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js +0 -53
  154. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/format/longFormatters.js.map +0 -1
  155. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -19
  156. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js.map +0 -1
  157. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js +0 -12
  158. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/normalizeDates.js.map +0 -1
  159. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js +0 -21
  160. package/dist/node_modules/react-datepicker/node_modules/date-fns/_lib/protectedTokens.js.map +0 -1
  161. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js +0 -11
  162. package/dist/node_modules/react-datepicker/node_modules/date-fns/addDays.js.map +0 -1
  163. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js +0 -10
  164. package/dist/node_modules/react-datepicker/node_modules/date-fns/addHours.js.map +0 -1
  165. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js +0 -10
  166. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMilliseconds.js.map +0 -1
  167. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js +0 -11
  168. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMinutes.js.map +0 -1
  169. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js +0 -21
  170. package/dist/node_modules/react-datepicker/node_modules/date-fns/addMonths.js.map +0 -1
  171. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js +0 -9
  172. package/dist/node_modules/react-datepicker/node_modules/date-fns/addQuarters.js.map +0 -1
  173. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js +0 -9
  174. package/dist/node_modules/react-datepicker/node_modules/date-fns/addSeconds.js.map +0 -1
  175. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js +0 -9
  176. package/dist/node_modules/react-datepicker/node_modules/date-fns/addWeeks.js.map +0 -1
  177. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js +0 -9
  178. package/dist/node_modules/react-datepicker/node_modules/date-fns/addYears.js.map +0 -1
  179. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js +0 -10
  180. package/dist/node_modules/react-datepicker/node_modules/date-fns/constants.js.map +0 -1
  181. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js +0 -9
  182. package/dist/node_modules/react-datepicker/node_modules/date-fns/constructFrom.js.map +0 -1
  183. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js +0 -17
  184. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarDays.js.map +0 -1
  185. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js +0 -14
  186. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarMonths.js.map +0 -1
  187. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js +0 -15
  188. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarQuarters.js.map +0 -1
  189. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js +0 -14
  190. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInCalendarYears.js.map +0 -1
  191. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js +0 -23
  192. package/dist/node_modules/react-datepicker/node_modules/date-fns/differenceInDays.js.map +0 -1
  193. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js +0 -10
  194. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfDay.js.map +0 -1
  195. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js +0 -10
  196. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfMonth.js.map +0 -1
  197. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js +0 -12
  198. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfWeek.js.map +0 -1
  199. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js +0 -10
  200. package/dist/node_modules/react-datepicker/node_modules/date-fns/endOfYear.js.map +0 -1
  201. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js +0 -60
  202. package/dist/node_modules/react-datepicker/node_modules/date-fns/format.js.map +0 -1
  203. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js +0 -9
  204. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDate.js.map +0 -1
  205. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js +0 -9
  206. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDay.js.map +0 -1
  207. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js +0 -12
  208. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDayOfYear.js.map +0 -1
  209. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js +0 -11
  210. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDaysInMonth.js.map +0 -1
  211. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js +0 -9
  212. package/dist/node_modules/react-datepicker/node_modules/date-fns/getDefaultOptions.js.map +0 -1
  213. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js +0 -9
  214. package/dist/node_modules/react-datepicker/node_modules/date-fns/getHours.js.map +0 -1
  215. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js +0 -10
  216. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISODay.js.map +0 -1
  217. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js +0 -13
  218. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeek.js.map +0 -1
  219. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js +0 -16
  220. package/dist/node_modules/react-datepicker/node_modules/date-fns/getISOWeekYear.js.map +0 -1
  221. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js +0 -9
  222. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMinutes.js.map +0 -1
  223. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js +0 -9
  224. package/dist/node_modules/react-datepicker/node_modules/date-fns/getMonth.js.map +0 -1
  225. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js +0 -10
  226. package/dist/node_modules/react-datepicker/node_modules/date-fns/getQuarter.js.map +0 -1
  227. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js +0 -9
  228. package/dist/node_modules/react-datepicker/node_modules/date-fns/getSeconds.js.map +0 -1
  229. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js +0 -9
  230. package/dist/node_modules/react-datepicker/node_modules/date-fns/getTime.js.map +0 -1
  231. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js +0 -13
  232. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeek.js.map +0 -1
  233. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js +0 -18
  234. package/dist/node_modules/react-datepicker/node_modules/date-fns/getWeekYear.js.map +0 -1
  235. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js +0 -9
  236. package/dist/node_modules/react-datepicker/node_modules/date-fns/getYear.js.map +0 -1
  237. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js +0 -9
  238. package/dist/node_modules/react-datepicker/node_modules/date-fns/isAfter.js.map +0 -1
  239. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js +0 -9
  240. package/dist/node_modules/react-datepicker/node_modules/date-fns/isBefore.js.map +0 -1
  241. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js +0 -8
  242. package/dist/node_modules/react-datepicker/node_modules/date-fns/isDate.js.map +0 -1
  243. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js +0 -9
  244. package/dist/node_modules/react-datepicker/node_modules/date-fns/isEqual.js.map +0 -1
  245. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js +0 -15
  246. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameDay.js.map +0 -1
  247. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js +0 -14
  248. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameMonth.js.map +0 -1
  249. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js +0 -15
  250. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameQuarter.js.map +0 -1
  251. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js +0 -14
  252. package/dist/node_modules/react-datepicker/node_modules/date-fns/isSameYear.js.map +0 -1
  253. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js +0 -10
  254. package/dist/node_modules/react-datepicker/node_modules/date-fns/isValid.js.map +0 -1
  255. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js +0 -13
  256. package/dist/node_modules/react-datepicker/node_modules/date-fns/isWithinInterval.js.map +0 -1
  257. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -10
  258. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildFormatLongFn.js.map +0 -1
  259. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -19
  260. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildLocalizeFn.js.map +0 -1
  261. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -32
  262. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchFn.js.map +0 -1
  263. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -16
  264. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js.map +0 -1
  265. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -71
  266. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatDistance.js.map +0 -1
  267. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -34
  268. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatLong.js.map +0 -1
  269. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -12
  270. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/formatRelative.js.map +0 -1
  271. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -156
  272. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/localize.js.map +0 -1
  273. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js +0 -111
  274. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US/_lib/match.js.map +0 -1
  275. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js +0 -22
  276. package/dist/node_modules/react-datepicker/node_modules/date-fns/locale/en-US.js.map +0 -1
  277. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js +0 -15
  278. package/dist/node_modules/react-datepicker/node_modules/date-fns/max.js.map +0 -1
  279. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js +0 -15
  280. package/dist/node_modules/react-datepicker/node_modules/date-fns/min.js.map +0 -1
  281. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js +0 -23
  282. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Parser.js.map +0 -1
  283. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js +0 -42
  284. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/Setter.js.map +0 -1
  285. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js +0 -50
  286. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/constants.js.map +0 -1
  287. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +0 -50
  288. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js.map +0 -1
  289. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +0 -50
  290. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js.map +0 -1
  291. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js +0 -62
  292. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DateParser.js.map +0 -1
  293. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +0 -52
  294. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js.map +0 -1
  295. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js +0 -46
  296. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayParser.js.map +0 -1
  297. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +0 -50
  298. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js.map +0 -1
  299. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js +0 -31
  300. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/EraParser.js.map +0 -1
  301. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +0 -22
  302. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js.map +0 -1
  303. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +0 -23
  304. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js.map +0 -1
  305. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +0 -33
  306. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js.map +0 -1
  307. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +0 -33
  308. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js.map +0 -1
  309. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +0 -34
  310. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js.map +0 -1
  311. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +0 -34
  312. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js.map +0 -1
  313. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +0 -100
  314. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js.map +0 -1
  315. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +0 -49
  316. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js.map +0 -1
  317. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +0 -49
  318. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js.map +0 -1
  319. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +0 -50
  320. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js.map +0 -1
  321. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +0 -41
  322. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js.map +0 -1
  323. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +0 -75
  324. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js.map +0 -1
  325. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +0 -49
  326. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js.map +0 -1
  327. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +0 -70
  328. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js.map +0 -1
  329. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +0 -33
  330. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js.map +0 -1
  331. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +0 -72
  332. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/MonthParser.js.map +0 -1
  333. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +0 -71
  334. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js.map +0 -1
  335. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +0 -33
  336. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/SecondParser.js.map +0 -1
  337. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +0 -75
  338. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js.map +0 -1
  339. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +0 -72
  340. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js.map +0 -1
  341. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +0 -71
  342. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js.map +0 -1
  343. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +0 -23
  344. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js.map +0 -1
  345. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +0 -23
  346. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js.map +0 -1
  347. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js +0 -50
  348. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers/YearParser.js.map +0 -1
  349. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js +0 -68
  350. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/parsers.js.map +0 -1
  351. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js +0 -104
  352. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse/_lib/utils.js.map +0 -1
  353. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js +0 -88
  354. package/dist/node_modules/react-datepicker/node_modules/date-fns/parse.js.map +0 -1
  355. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js +0 -123
  356. package/dist/node_modules/react-datepicker/node_modules/date-fns/parseISO.js.map +0 -1
  357. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js +0 -13
  358. package/dist/node_modules/react-datepicker/node_modules/date-fns/setDay.js.map +0 -1
  359. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js +0 -10
  360. package/dist/node_modules/react-datepicker/node_modules/date-fns/setHours.js.map +0 -1
  361. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js +0 -12
  362. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISODay.js.map +0 -1
  363. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js +0 -11
  364. package/dist/node_modules/react-datepicker/node_modules/date-fns/setISOWeek.js.map +0 -1
  365. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js +0 -10
  366. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMinutes.js.map +0 -1
  367. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js +0 -14
  368. package/dist/node_modules/react-datepicker/node_modules/date-fns/setMonth.js.map +0 -1
  369. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js +0 -11
  370. package/dist/node_modules/react-datepicker/node_modules/date-fns/setQuarter.js.map +0 -1
  371. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js +0 -10
  372. package/dist/node_modules/react-datepicker/node_modules/date-fns/setSeconds.js.map +0 -1
  373. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js +0 -11
  374. package/dist/node_modules/react-datepicker/node_modules/date-fns/setWeek.js.map +0 -1
  375. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js +0 -11
  376. package/dist/node_modules/react-datepicker/node_modules/date-fns/setYear.js.map +0 -1
  377. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js +0 -10
  378. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfDay.js.map +0 -1
  379. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js +0 -9
  380. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeek.js.map +0 -1
  381. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js +0 -12
  382. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfISOWeekYear.js.map +0 -1
  383. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js +0 -10
  384. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfMonth.js.map +0 -1
  385. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js +0 -10
  386. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfQuarter.js.map +0 -1
  387. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js +0 -12
  388. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeek.js.map +0 -1
  389. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js +0 -14
  390. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfWeekYear.js.map +0 -1
  391. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js +0 -10
  392. package/dist/node_modules/react-datepicker/node_modules/date-fns/startOfYear.js.map +0 -1
  393. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js +0 -9
  394. package/dist/node_modules/react-datepicker/node_modules/date-fns/subDays.js.map +0 -1
  395. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js +0 -9
  396. package/dist/node_modules/react-datepicker/node_modules/date-fns/subMonths.js.map +0 -1
  397. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js +0 -9
  398. package/dist/node_modules/react-datepicker/node_modules/date-fns/subQuarters.js.map +0 -1
  399. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js +0 -9
  400. package/dist/node_modules/react-datepicker/node_modules/date-fns/subWeeks.js.map +0 -1
  401. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js +0 -9
  402. package/dist/node_modules/react-datepicker/node_modules/date-fns/subYears.js.map +0 -1
  403. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js +0 -9
  404. package/dist/node_modules/react-datepicker/node_modules/date-fns/toDate.js.map +0 -1
  405. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js +0 -19
  406. package/dist/node_modules/react-datepicker/node_modules/date-fns/transpose.js.map +0 -1
  407. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  408. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  409. package/dist/static/avatar-selected.860ee923.json +0 -1
  410. package/dist/static/circle-cuemath-logo-white.e9fafb91.svg +0 -1
  411. package/dist/static/cuemath-app-qr-code.ba6cc09b.svg +0 -1
  412. package/dist/static/cuemath-app-qr-code.d0912fc7.png +0 -0
  413. package/dist/static/dob.9ce3c15b.json +0 -1
  414. package/dist/static/grade.b3730524.json +0 -1
  415. package/dist/static/key.d6846476.json +0 -1
  416. package/dist/static/mail.c30e8708.json +0 -1
  417. package/dist/static/otp.2d08f874.json +0 -1
  418. package/dist/static/otp.a3029760.json +0 -1
  419. package/dist/static/parent-avatar.772d53e0.json +0 -1
  420. package/dist/static/phone-number.0be312ea.json +0 -1
  421. package/dist/static/phone-number.84f55562.json +0 -1
  422. package/dist/static/student-avatar.524226bd.json +0 -1
  423. package/dist/static/user-type-selector-grid-bg.3c9c8ad6.svg +0 -1
  424. package/dist/static/user-type-selector-grid-bg.3ce8142d.svg +0 -1
  425. package/dist/static/user-type-selector-grid-bg.aad0b059.svg +0 -1
  426. package/dist/static/username.9e034d51.json +0 -1
@@ -1,30 +1,30 @@
1
1
  import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
2
  import { memo as g, useState as f } from "react";
3
3
  import t from "styled-components";
4
- import { skeletonLoadingAnimation as c } from "../constants/style.js";
4
+ import { skeletonLoadingAnimation as p } from "../constants/style.js";
5
5
  import i from "../layout/flex-view.js";
6
- const p = t(i)`
7
- animation: ${c} 2s linear infinite;
6
+ const L = t(i)`
7
+ animation: ${p} 2s linear infinite;
8
8
  position: absolute;
9
9
  left: 0;
10
10
  right: 0;
11
11
  top: 0;
12
12
  bottom: 0;
13
- `, L = t(i)`
13
+ `, c = t(i)`
14
14
  overflow: hidden;
15
15
  position: relative;
16
- `, u = g(
17
- ({ borderRadius: n = 0, borderColor: r, withLoader: a, ...o }) => {
16
+ `, v = g(
17
+ ({ borderRadius: r = 0, borderColor: n, withLoader: a, ...o }) => {
18
18
  const { width: s, height: d } = o, [m, l] = f(!0);
19
19
  return /* @__PURE__ */ h(
20
- L,
20
+ c,
21
21
  {
22
22
  $width: s,
23
23
  $height: d,
24
- $borderColor: r,
25
- $borderRadius: n,
24
+ $borderColor: n,
25
+ $borderRadius: r,
26
26
  children: [
27
- m && a && /* @__PURE__ */ e(p, { $inherit: !0 }),
27
+ m && a && /* @__PURE__ */ e(L, { $inherit: !0 }),
28
28
  /* @__PURE__ */ e("img", { onLoad: () => {
29
29
  l(!1);
30
30
  }, ...o })
@@ -32,8 +32,8 @@ const p = t(i)`
32
32
  }
33
33
  );
34
34
  }
35
- ), F = u;
35
+ );
36
36
  export {
37
- F as default
37
+ v as default
38
38
  };
39
39
  //# sourceMappingURL=image.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"image.js","sources":["../../../../src/features/ui/image/image.tsx"],"sourcesContent":["import type { IImageProps } from './image-types';\n\nimport { useState, memo } from 'react';\nimport styled from 'styled-components';\n\nimport { skeletonLoadingAnimation } from '../constants/style';\nimport FlexView from '../layout/flex-view';\n\nconst LoadingFlexView = styled(FlexView)`\n animation: ${skeletonLoadingAnimation} 2s linear infinite;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n`;\n\nconst ImageWrapper = styled(FlexView)`\n overflow: hidden;\n position: relative;\n`;\n\nconst Image: React.FC<IImageProps> = memo(\n ({ borderRadius = 0, borderColor, withLoader, ...props }) => {\n const { width, height } = props;\n const [isLoading, setIsLoading] = useState(true);\n const handleImgLoaded = () => {\n setIsLoading(false);\n };\n const showLoader = isLoading && withLoader;\n\n return (\n <ImageWrapper\n $width={width}\n $height={height}\n $borderColor={borderColor}\n $borderRadius={borderRadius}\n >\n {showLoader && <LoadingFlexView $inherit={true} />}\n <img onLoad={handleImgLoaded} {...props} />\n </ImageWrapper>\n );\n },\n);\n\nexport default Image;\n"],"names":["LoadingFlexView","styled","FlexView","skeletonLoadingAnimation","ImageWrapper","Image","memo","borderRadius","borderColor","withLoader","props","width","height","isLoading","setIsLoading","useState","jsxs","jsx","Image$1"],"mappings":";;;;;AAQA,MAAMA,IAAkBC,EAAOC,CAAQ;AAAA,eACxBC,CAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQjCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK9BG,IAA+BC;AAAA,EACnC,CAAC,EAAE,cAAAC,IAAe,GAAG,aAAAC,GAAa,YAAAC,GAAY,GAAGC,QAAY;AACrD,UAAA,EAAE,OAAAC,GAAO,QAAAC,EAAW,IAAAF,GACpB,CAACG,GAAWC,CAAY,IAAIC,EAAS,EAAI;AAO7C,WAAA,gBAAAC;AAAA,MAACZ;AAAA,MAAA;AAAA,QACC,QAAQO;AAAA,QACR,SAASC;AAAA,QACT,cAAcJ;AAAA,QACd,eAAeD;AAAA,QAEd,UAAA;AAAA,UATcM,KAAaJ,KASb,gBAAAQ,EAACjB,GAAgB,EAAA,UAAU,GAAM,CAAA;AAAA,UAC/C,gBAAAiB,EAAA,OAAA,EAAI,QAbe,MAAM;AAC5B,YAAAH,EAAa,EAAK;AAAA,UAAA,GAYe,GAAGJ,EAAO,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAG/C;AACF,GAEAQ,IAAeb;"}
1
+ {"version":3,"file":"image.js","sources":["../../../../src/features/ui/image/image.tsx"],"sourcesContent":["import type { IImageProps } from './image-types';\n\nimport { useState, memo } from 'react';\nimport styled from 'styled-components';\n\nimport { skeletonLoadingAnimation } from '../constants/style';\nimport FlexView from '../layout/flex-view';\n\nconst LoadingFlexView = styled(FlexView)`\n animation: ${skeletonLoadingAnimation} 2s linear infinite;\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n`;\n\nconst ImageWrapper = styled(FlexView)`\n overflow: hidden;\n position: relative;\n`;\n\nconst Image: React.FC<IImageProps> = memo(\n ({ borderRadius = 0, borderColor, withLoader, ...props }) => {\n const { width, height } = props;\n const [isLoading, setIsLoading] = useState(true);\n const handleImgLoaded = () => {\n setIsLoading(false);\n };\n const showLoader = isLoading && withLoader;\n\n return (\n <ImageWrapper\n $width={width}\n $height={height}\n $borderColor={borderColor}\n $borderRadius={borderRadius}\n >\n {showLoader && <LoadingFlexView $inherit={true} />}\n <img onLoad={handleImgLoaded} {...props} />\n </ImageWrapper>\n );\n },\n);\n\nexport default Image;\n"],"names":["LoadingFlexView","styled","FlexView","skeletonLoadingAnimation","ImageWrapper","Image","memo","borderRadius","borderColor","withLoader","props","width","height","isLoading","setIsLoading","useState","jsxs","jsx"],"mappings":";;;;;AAQA,MAAMA,IAAkBC,EAAOC,CAAQ;AAAA,eACxBC,CAAwB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQjCC,IAAeH,EAAOC,CAAQ;AAAA;AAAA;AAAA,GAK9BG,IAA+BC;AAAA,EACnC,CAAC,EAAE,cAAAC,IAAe,GAAG,aAAAC,GAAa,YAAAC,GAAY,GAAGC,QAAY;AACrD,UAAA,EAAE,OAAAC,GAAO,QAAAC,EAAW,IAAAF,GACpB,CAACG,GAAWC,CAAY,IAAIC,EAAS,EAAI;AAO7C,WAAA,gBAAAC;AAAA,MAACZ;AAAA,MAAA;AAAA,QACC,QAAQO;AAAA,QACR,SAASC;AAAA,QACT,cAAcJ;AAAA,QACd,eAAeD;AAAA,QAEd,UAAA;AAAA,UATcM,KAAaJ,KASb,gBAAAQ,EAACjB,GAAgB,EAAA,UAAU,GAAM,CAAA;AAAA,UAC/C,gBAAAiB,EAAA,OAAA,EAAI,QAbe,MAAM;AAC5B,YAAAH,EAAa,EAAK;AAAA,UAAA,GAYe,GAAGJ,EAAO,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAG/C;AACF;"}
@@ -1,14 +1,13 @@
1
- const o = /* @__PURE__ */ new Map(), h = async (t) => {
2
- if (o.has(t)) return o.get(t);
1
+ const c = async (o) => {
3
2
  let e = null;
4
3
  try {
5
- e = await fetch(t).then((n) => n.json()).catch(() => null), e && o.set(t, e);
6
- } catch (n) {
7
- console.log("Error while fetching the lottie: ", n);
4
+ e = await fetch(o).then((t) => t.json()).catch(() => null);
5
+ } catch (t) {
6
+ console.log("Error while fetching the lottie: ", t);
8
7
  }
9
8
  return e;
10
9
  };
11
10
  export {
12
- h as fetchLottie
11
+ c as fetchLottie
13
12
  };
14
13
  //# sourceMappingURL=helper.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"helper.js","sources":["../../../../src/features/ui/lottie-animation/helper.ts"],"sourcesContent":["import type { AnimationItem } from 'lottie-web';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst lottieCache = new Map<string, any>();\n\nexport const fetchLottie = async (lottieSrc: string): Promise<AnimationItem | null> => {\n if (lottieCache.has(lottieSrc)) return lottieCache.get(lottieSrc);\n\n let lottieJson: AnimationItem | null = null;\n\n try {\n lottieJson = await fetch(lottieSrc)\n .then(res => res.json())\n .catch(() => null);\n if (lottieJson) {\n lottieCache.set(lottieSrc, lottieJson);\n }\n } catch (error) {\n /* eslint-disable no-console */\n console.log('Error while fetching the lottie: ', error);\n }\n\n return lottieJson;\n};\n"],"names":["lottieCache","fetchLottie","lottieSrc","lottieJson","res","error"],"mappings":"AAGA,MAAMA,wBAAkB,OAEXC,IAAc,OAAOC,MAAqD;AACrF,MAAIF,EAAY,IAAIE,CAAS,EAAU,QAAAF,EAAY,IAAIE,CAAS;AAEhE,MAAIC,IAAmC;AAEnC,MAAA;AACF,IAAAA,IAAa,MAAM,MAAMD,CAAS,EAC/B,KAAK,CAAAE,MAAOA,EAAI,KAAA,CAAM,EACtB,MAAM,MAAM,IAAI,GACfD,KACUH,EAAA,IAAIE,GAAWC,CAAU;AAAA,WAEhCE,GAAO;AAEN,YAAA,IAAI,qCAAqCA,CAAK;AAAA,EACxD;AAEO,SAAAF;AACT;"}
1
+ {"version":3,"file":"helper.js","sources":["../../../../src/features/ui/lottie-animation/helper.ts"],"sourcesContent":["import type { AnimationItem } from 'lottie-web';\n\nexport const fetchLottie = async (lottieSrc: string): Promise<AnimationItem | null> => {\n let lottieJson: AnimationItem | null = null;\n\n try {\n lottieJson = await fetch(lottieSrc)\n .then(res => res.json())\n .catch(() => null);\n } catch (error) {\n /* eslint-disable no-console */\n console.log('Error while fetching the lottie: ', error);\n }\n\n return lottieJson;\n};\n"],"names":["fetchLottie","lottieSrc","lottieJson","res","error"],"mappings":"AAEa,MAAAA,IAAc,OAAOC,MAAqD;AACrF,MAAIC,IAAmC;AAEnC,MAAA;AACF,IAAAA,IAAa,MAAM,MAAMD,CAAS,EAC/B,KAAK,CAAAE,MAAOA,EAAI,KAAA,CAAM,EACtB,MAAM,MAAM,IAAI;AAAA,WACZC,GAAO;AAEN,YAAA,IAAI,qCAAqCA,CAAK;AAAA,EACxD;AAEO,SAAAF;AACT;"}
@@ -1,60 +1,51 @@
1
- import { jsx as E } from "react/jsx-runtime";
2
- import g from "lottie-web";
3
- import { memo as w, forwardRef as y, useRef as u, useImperativeHandle as b, useEffect as A } from "react";
1
+ import { jsx as L } from "react/jsx-runtime";
2
+ import w from "lottie-web";
3
+ import { memo as y, forwardRef as b, useRef as c, useImperativeHandle as A, useEffect as E } from "react";
4
4
  import I from "../layout/flex-view.js";
5
5
  import { fetchLottie as $ } from "./helper.js";
6
- const x = y((v, p) => {
6
+ const x = b((p, h) => {
7
7
  const {
8
- src: m,
9
- width: L = "100%",
10
- height: h = "100%",
11
- settings: l,
12
- eventListener: n,
13
- onRender: a,
14
- animateOnIntersect: c
15
- } = v, o = u(null), r = u(null), s = u(null);
16
- return b(
17
- p,
8
+ src: s,
9
+ width: v = "100%",
10
+ height: g = "100%",
11
+ settings: u,
12
+ eventListener: r,
13
+ onRender: i,
14
+ animateOnIntersect: o
15
+ } = p, n = c(null), t = c(null), a = c(null);
16
+ return A(
17
+ h,
18
18
  () => ({
19
- playSegments: (i, e) => {
20
- var t;
21
- return (t = r.current) == null ? void 0 : t.playSegments(i, e);
22
- },
23
- addEventListener: (i, e) => {
24
- var t;
25
- return (t = r.current) == null ? void 0 : t.addEventListener(i, e);
26
- },
27
- removeEventListener: (i, e) => {
28
- var t;
29
- return (t = r.current) == null ? void 0 : t.removeEventListener(i, e);
19
+ playSegments: (m, e) => {
20
+ t.current && t.current.playSegments(m, e);
30
21
  }
31
22
  }),
32
23
  []
33
- ), A(() => ((async () => {
24
+ ), E(() => ((async () => {
34
25
  try {
35
- const e = await $(m);
36
- o.current && (r.current = g.loadAnimation({
37
- container: o.current,
26
+ const e = await $(s);
27
+ n.current && (t.current = w.loadAnimation({
28
+ container: n.current,
38
29
  animationData: e,
39
30
  renderer: "svg",
40
31
  loop: !0,
41
32
  autoplay: !0,
42
- ...l
43
- }), c && (s.current = new IntersectionObserver(
44
- ([t]) => {
33
+ ...u
34
+ }), o && (a.current = new IntersectionObserver(
35
+ ([l]) => {
45
36
  var f, d;
46
- t && t.isIntersecting ? (f = r.current) == null || f.play() : (d = r.current) == null || d.pause();
37
+ l && l.isIntersecting ? (f = t.current) == null || f.play() : (d = t.current) == null || d.pause();
47
38
  },
48
39
  { threshold: 0 }
49
- ), o.current && s.current.observe(o.current)), a == null || a(), n && r.current.addEventListener(n.name, n.callback));
40
+ ), n.current && a.current.observe(n.current)), i == null || i(), r && t.current.addEventListener(r.name, r.callback));
50
41
  } catch (e) {
51
42
  throw Error(`Error loading Lottie animation: ${e}`);
52
43
  }
53
44
  })(), () => {
54
45
  var e;
55
- r.current && (n && r.current.removeEventListener(n.name, n.callback), c && ((e = s.current) == null || e.disconnect()), r.current.destroy());
56
- }), [m, n, a, c, l]), /* @__PURE__ */ E(I, { ref: o, $width: L, $height: h });
57
- }), F = w(x);
46
+ t.current && (r && t.current.removeEventListener(r.name, r.callback), o && ((e = a.current) == null || e.disconnect()), t.current.destroy());
47
+ }), [s, r, i, o, u]), /* @__PURE__ */ L(I, { ref: n, $width: v, $height: g });
48
+ }), F = y(x);
58
49
  export {
59
50
  F as default
60
51
  };
@@ -1 +1 @@
1
- {"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type { AnimationEventName, AnimationItem } from 'lottie-web';\n\nimport lottie from 'lottie-web';\nimport { forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport FlexView from '../layout/flex-view';\nimport { fetchLottie } from './helper';\n\nconst LottieAnimation = forwardRef<ILottieAnimationRef, ILottieAnimationProps>((props, ref) => {\n const {\n src,\n width = '100%',\n height = '100%',\n settings,\n eventListener,\n onRender,\n animateOnIntersect,\n } = props;\n\n const container = useRef<HTMLDivElement>(null);\n const animationInstance = useRef<AnimationItem | null>(null);\n const intersectionObserver = useRef<IntersectionObserver | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n playSegments: (segments: [number, number], forceFlag?: boolean) =>\n animationInstance.current?.playSegments(segments, forceFlag),\n addEventListener: (eventName: string, callback: () => void) =>\n animationInstance.current?.addEventListener(eventName as AnimationEventName, callback),\n removeEventListener: (eventName: string, callback: () => void) =>\n animationInstance.current?.removeEventListener(eventName as AnimationEventName, callback),\n }),\n [],\n );\n\n useEffect(() => {\n const loadAnimation = async () => {\n try {\n const animationData = await fetchLottie(src);\n\n if (container.current) {\n animationInstance.current = lottie.loadAnimation({\n container: container.current,\n animationData,\n renderer: 'svg',\n loop: true,\n autoplay: true,\n ...settings,\n });\n\n if (animateOnIntersect) {\n intersectionObserver.current = new IntersectionObserver(\n ([entry]) => {\n if (entry && entry.isIntersecting) {\n animationInstance.current?.play();\n } else {\n animationInstance.current?.pause();\n }\n },\n { threshold: 0 },\n );\n\n if (container.current) {\n intersectionObserver.current.observe(container.current);\n }\n }\n\n onRender?.();\n if (eventListener) {\n animationInstance.current.addEventListener(eventListener.name, eventListener.callback);\n }\n }\n } catch (error) {\n throw Error(`Error loading Lottie animation: ${error}`);\n }\n };\n\n loadAnimation();\n\n return () => {\n if (animationInstance.current) {\n if (eventListener) {\n animationInstance.current.removeEventListener(eventListener.name, eventListener.callback);\n }\n\n if (animateOnIntersect) {\n intersectionObserver.current?.disconnect();\n }\n animationInstance.current.destroy();\n }\n };\n }, [src, eventListener, onRender, animateOnIntersect, settings]);\n\n return <FlexView ref={container} $width={width} $height={height} />;\n});\n\nexport default memo(LottieAnimation);\n"],"names":["LottieAnimation","forwardRef","props","ref","src","width","height","settings","eventListener","onRender","animateOnIntersect","container","useRef","animationInstance","intersectionObserver","useImperativeHandle","segments","forceFlag","_a","eventName","callback","useEffect","animationData","fetchLottie","lottie","entry","_b","error","FlexView","LottieAnimation$1","memo"],"mappings":";;;;;AASA,MAAMA,IAAkBC,EAAuD,CAACC,GAAOC,MAAQ;AACvF,QAAA;AAAA,IACJ,KAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,EACE,IAAAR,GAEES,IAAYC,EAAuB,IAAI,GACvCC,IAAoBD,EAA6B,IAAI,GACrDE,IAAuBF,EAAoC,IAAI;AAErE,SAAAG;AAAA,IACEZ;AAAA,IACA,OAAO;AAAA,MACL,cAAc,CAACa,GAA4BC,MACzC;;AAAA,gBAAAC,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,aAAaF,GAAUC;AAAA;AAAA,MACpD,kBAAkB,CAACE,GAAmBC,MACpC;;AAAA,gBAAAF,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,iBAAiBC,GAAiCC;AAAA;AAAA,MAC/E,qBAAqB,CAACD,GAAmBC,MACvC;;AAAA,gBAAAF,IAAAL,EAAkB,YAAlB,gBAAAK,EAA2B,oBAAoBC,GAAiCC;AAAA;AAAA,IAAQ;AAAA,IAE5F,CAAC;AAAA,EAAA,GAGHC,EAAU,QACc,YAAY;AAC5B,QAAA;AACI,YAAAC,IAAgB,MAAMC,EAAYnB,CAAG;AAE3C,MAAIO,EAAU,YACME,EAAA,UAAUW,EAAO,cAAc;AAAA,QAC/C,WAAWb,EAAU;AAAA,QACrB,eAAAW;AAAA,QACA,UAAU;AAAA,QACV,MAAM;AAAA,QACN,UAAU;AAAA,QACV,GAAGf;AAAA,MAAA,CACJ,GAEGG,MACFI,EAAqB,UAAU,IAAI;AAAA,QACjC,CAAC,CAACW,CAAK,MAAM;;AACP,UAAAA,KAASA,EAAM,kBACjBP,IAAAL,EAAkB,YAAlB,QAAAK,EAA2B,UAE3BQ,IAAAb,EAAkB,YAAlB,QAAAa,EAA2B;AAAA,QAE/B;AAAA,QACA,EAAE,WAAW,EAAE;AAAA,MAAA,GAGbf,EAAU,WACSG,EAAA,QAAQ,QAAQH,EAAU,OAAO,IAI/CF,KAAA,QAAAA,KACPD,KACFK,EAAkB,QAAQ,iBAAiBL,EAAc,MAAMA,EAAc,QAAQ;AAAA,aAGlFmB,GAAO;AACR,YAAA,MAAM,mCAAmCA,CAAK,EAAE;AAAA,IACxD;AAAA,EAAA,MAKK,MAAM;;AACX,IAAId,EAAkB,YAChBL,KACFK,EAAkB,QAAQ,oBAAoBL,EAAc,MAAMA,EAAc,QAAQ,GAGtFE,OACFQ,IAAAJ,EAAqB,YAArB,QAAAI,EAA8B,eAEhCL,EAAkB,QAAQ;EAC5B,IAED,CAACT,GAAKI,GAAeC,GAAUC,GAAoBH,CAAQ,CAAC,qBAEvDqB,GAAS,EAAA,KAAKjB,GAAW,QAAQN,GAAO,SAASC,EAAQ,CAAA;AACnE,CAAC,GAEcuB,IAAAC,EAAK9B,CAAe;"}
1
+ {"version":3,"file":"lottie-animation.js","sources":["../../../../src/features/ui/lottie-animation/lottie-animation.tsx"],"sourcesContent":["import type { ILottieAnimationProps, ILottieAnimationRef } from './types';\nimport type { AnimationItem, AnimationSegment } from 'lottie-web';\n\nimport lottie from 'lottie-web';\nimport { forwardRef, memo, useEffect, useImperativeHandle, useRef } from 'react';\n\nimport FlexView from '../layout/flex-view';\nimport { fetchLottie } from './helper';\n\nconst LottieAnimation = forwardRef<ILottieAnimationRef, ILottieAnimationProps>((props, ref) => {\n const {\n src,\n width = '100%',\n height = '100%',\n settings,\n eventListener,\n onRender,\n animateOnIntersect,\n } = props;\n\n const container = useRef<HTMLDivElement>(null);\n const animationInstance = useRef<AnimationItem | null>(null);\n const intersectionObserver = useRef<IntersectionObserver | null>(null);\n\n useImperativeHandle(\n ref,\n () => ({\n playSegments: (segments: AnimationSegment, forceFlag?: boolean) => {\n if (animationInstance.current) {\n animationInstance.current.playSegments(segments, forceFlag);\n }\n },\n }),\n [],\n );\n\n useEffect(() => {\n const loadAnimation = async () => {\n try {\n const animationData = await fetchLottie(src);\n\n if (container.current) {\n animationInstance.current = lottie.loadAnimation({\n container: container.current,\n animationData,\n renderer: 'svg',\n loop: true,\n autoplay: true,\n ...settings,\n });\n\n if (animateOnIntersect) {\n intersectionObserver.current = new IntersectionObserver(\n ([entry]) => {\n if (entry && entry.isIntersecting) {\n animationInstance.current?.play();\n } else {\n animationInstance.current?.pause();\n }\n },\n { threshold: 0 },\n );\n\n if (container.current) {\n intersectionObserver.current.observe(container.current);\n }\n }\n\n onRender?.();\n if (eventListener) {\n animationInstance.current.addEventListener(eventListener.name, eventListener.callback);\n }\n }\n } catch (error) {\n throw Error(`Error loading Lottie animation: ${error}`);\n }\n };\n\n loadAnimation();\n\n return () => {\n if (animationInstance.current) {\n if (eventListener) {\n animationInstance.current.removeEventListener(eventListener.name, eventListener.callback);\n }\n\n if (animateOnIntersect) {\n intersectionObserver.current?.disconnect();\n }\n animationInstance.current.destroy();\n }\n };\n }, [src, eventListener, onRender, animateOnIntersect, settings]);\n\n return <FlexView ref={container} $width={width} $height={height} />;\n});\n\nexport default memo(LottieAnimation);\n"],"names":["LottieAnimation","forwardRef","props","ref","src","width","height","settings","eventListener","onRender","animateOnIntersect","container","useRef","animationInstance","intersectionObserver","useImperativeHandle","segments","forceFlag","useEffect","animationData","fetchLottie","lottie","entry","_a","_b","error","FlexView","LottieAnimation$1","memo"],"mappings":";;;;;AASA,MAAMA,IAAkBC,EAAuD,CAACC,GAAOC,MAAQ;AACvF,QAAA;AAAA,IACJ,KAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,IACR,QAAAC,IAAS;AAAA,IACT,UAAAC;AAAA,IACA,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAAC;AAAA,EACE,IAAAR,GAEES,IAAYC,EAAuB,IAAI,GACvCC,IAAoBD,EAA6B,IAAI,GACrDE,IAAuBF,EAAoC,IAAI;AAErE,SAAAG;AAAA,IACEZ;AAAA,IACA,OAAO;AAAA,MACL,cAAc,CAACa,GAA4BC,MAAwB;AACjE,QAAIJ,EAAkB,WACFA,EAAA,QAAQ,aAAaG,GAAUC,CAAS;AAAA,MAE9D;AAAA,IAAA;AAAA,IAEF,CAAC;AAAA,EAAA,GAGHC,EAAU,QACc,YAAY;AAC5B,QAAA;AACI,YAAAC,IAAgB,MAAMC,EAAYhB,CAAG;AAE3C,MAAIO,EAAU,YACME,EAAA,UAAUQ,EAAO,cAAc;AAAA,QAC/C,WAAWV,EAAU;AAAA,QACrB,eAAAQ;AAAA,QACA,UAAU;AAAA,QACV,MAAM;AAAA,QACN,UAAU;AAAA,QACV,GAAGZ;AAAA,MAAA,CACJ,GAEGG,MACFI,EAAqB,UAAU,IAAI;AAAA,QACjC,CAAC,CAACQ,CAAK,MAAM;;AACP,UAAAA,KAASA,EAAM,kBACjBC,IAAAV,EAAkB,YAAlB,QAAAU,EAA2B,UAE3BC,IAAAX,EAAkB,YAAlB,QAAAW,EAA2B;AAAA,QAE/B;AAAA,QACA,EAAE,WAAW,EAAE;AAAA,MAAA,GAGbb,EAAU,WACSG,EAAA,QAAQ,QAAQH,EAAU,OAAO,IAI/CF,KAAA,QAAAA,KACPD,KACFK,EAAkB,QAAQ,iBAAiBL,EAAc,MAAMA,EAAc,QAAQ;AAAA,aAGlFiB,GAAO;AACR,YAAA,MAAM,mCAAmCA,CAAK,EAAE;AAAA,IACxD;AAAA,EAAA,MAKK,MAAM;;AACX,IAAIZ,EAAkB,YAChBL,KACFK,EAAkB,QAAQ,oBAAoBL,EAAc,MAAMA,EAAc,QAAQ,GAGtFE,OACFa,IAAAT,EAAqB,YAArB,QAAAS,EAA8B,eAEhCV,EAAkB,QAAQ;EAC5B,IAED,CAACT,GAAKI,GAAeC,GAAUC,GAAoBH,CAAQ,CAAC,qBAEvDmB,GAAS,EAAA,KAAKf,GAAW,QAAQN,GAAO,SAASC,EAAQ,CAAA;AACnE,CAAC,GAEcqB,IAAAC,EAAK5B,CAAe;"}
@@ -1,50 +1,48 @@
1
- import k from "styled-components";
2
- const x = k.div(
1
+ import h from "styled-components";
2
+ const x = h.div(
3
3
  ({
4
- theme: f,
5
- $renderAs: c,
4
+ theme: s,
5
+ $renderAs: f,
6
6
  $color: n,
7
- $align: y = "left",
7
+ $align: c = "left",
8
8
  $width: t,
9
9
  $widthX: o,
10
10
  $marginBottom: e,
11
11
  $marginBottomX: i,
12
12
  $alignSelf: l,
13
- $opacity: u = 1,
14
- $inline: m,
15
- $textDecoration: p,
16
- $whiteSpace: $
13
+ $opacity: y = 1,
14
+ $inline: u,
15
+ $textDecoration: p
17
16
  }) => {
18
- const { text: b, colors: r, layout: a } = f, {
19
- fontFamily: g,
20
- fontSize: d,
21
- lineHeight: T,
22
- letterSpacing: s,
23
- textTransform: h = "none"
24
- } = b[c];
17
+ const { text: m, colors: r, layout: $ } = s, {
18
+ fontFamily: b,
19
+ fontSize: g,
20
+ lineHeight: d,
21
+ letterSpacing: a,
22
+ textTransform: T = "none"
23
+ } = m[f];
25
24
  return `
26
- display: ${m ? "inline-block" : "block"};
27
- font-family: ${g};
28
- font-size: ${d}px;
29
- text-align: ${y};
30
- line-height: ${T}px;
31
- text-transform: ${h};
32
- ${typeof s == "number" ? `letter-spacing: ${s}px;` : ""}
25
+ display: ${u ? "inline-block" : "block"};
26
+ font-family: ${b};
27
+ font-size: ${g}px;
28
+ text-align: ${c};
29
+ line-height: ${d}px;
30
+ text-transform: ${T};
31
+ ${typeof a == "number" ? `letter-spacing: ${a}px;` : ""}
33
32
  color: ${n ? r[n] : r.BLACK};
34
- opacity: ${u};
33
+ opacity: ${y};
35
34
  width: ${t ? `${t}` : "auto"}${typeof t == "number" ? "px" : ""};
36
- ${o ? `width: ${o * a.gutter}px;` : ""}
35
+ ${o ? `width: ${o * $.gutter}px;` : ""}
37
36
  margin-bottom: ${e ? `${e}` : "initial"}${typeof e == "number" ? "px" : ""};
38
- ${i ? `margin-bottom: ${i * a.gutter}px;` : ""}
37
+ ${i ? `margin-bottom: ${i * $.gutter}px;` : ""}
39
38
  ${l ? `align-self: ${l};` : ""}
40
39
  ${p ? `text-decoration: ${p};` : ""}
41
- ${$ ? `white-space: ${$};` : ""}
42
40
  `;
43
41
  }
44
42
  );
45
43
  x.displayName = "Text";
46
- const v = x;
44
+ const z = x;
47
45
  export {
48
- v as default
46
+ z as default
49
47
  };
50
48
  //# sourceMappingURL=text.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport styled from 'styled-components';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n $whiteSpace?: 'pre-line' | 'normal' | 'pre-wrap' | 'no-wrap' | 'pre' | 'break-spaces';\n}\n\n/**\n * @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n $whiteSpace,\n }) => {\n const { text, colors, layout } = theme;\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[$renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n ${$whiteSpace ? `white-space: ${$whiteSpace};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","$whiteSpace","text","colors","layout","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";AAsBA,MAAMA,IAAOC,EAAO;AAAA,EAClB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,IACA,iBAAAC;AAAA,IACA,aAAAC;AAAA,EAAA,MACI;AACJ,UAAM,EAAE,MAAAC,GAAM,QAAAC,GAAQ,QAAAC,EAAA,IAAWf,GAC3B;AAAA,MACJ,YAAAgB;AAAA,MACA,UAAAC;AAAA,MACA,YAAAC;AAAA,MACA,eAAAC;AAAA,MACA,eAAAC,IAAgB;AAAA,IAAA,IACdP,EAAKZ,CAAS;AAEX,WAAA;AAAA,iBACMS,IAAU,iBAAiB,OAAO;AAAA,qBAC9BM,CAAU;AAAA,mBACZC,CAAQ;AAAA,oBACPd,CAAM;AAAA,qBACLe,CAAU;AAAA,wBACPE,CAAa;AAAA,QAC7B,OAAOD,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA,eACvEjB,IAASY,EAAOZ,CAAM,IAAIY,EAAO,KAAK;AAAA,iBACpCL,CAAQ;AAAA,eACVL,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAC7EC,IAAU,UAAUA,IAAUU,EAAO,MAAM,QAAQ,EAAE;AAAA,uBACtCT,IAAgB,GAAGA,CAAa,KAAK,SAAS,GAC7D,OAAOA,KAAkB,WAAW,OAAO,EAC7C;AAAA,QACEC,IAAiB,kBAAkBA,IAAiBQ,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC3EP,IAAa,eAAeA,CAAU,MAAM,EAAE;AAAA,QAC9CG,IAAkB,oBAAoBA,CAAe,MAAM,EAAE;AAAA,QAC7DC,IAAc,gBAAgBA,CAAW,MAAM,EAAE;AAAA;AAAA,EAEvD;AACF;AAEAd,EAAK,cAAc;AAEnB,MAAAuB,IAAevB;"}
1
+ {"version":3,"file":"text.js","sources":["../../../../src/features/ui/text/text.tsx"],"sourcesContent":["import type { TColorNames, TTextVariants } from '../types';\n\nimport styled from 'styled-components';\n\nexport interface TextProps {\n $renderAs: TTextVariants;\n $color?: TColorNames;\n $align?: 'auto' | 'left' | 'right' | 'center' | 'justify';\n $alignSelf?: 'auto' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';\n $opacity?: number | undefined;\n $width?: number | string;\n $widthX?: number;\n $marginBottom?: number;\n $marginBottomX?: number;\n $inline?: boolean;\n $textDecoration?: string;\n}\n\n/**\n * @param $renderAs - The text variant to render as (ah1-ah4, ab1-ab3, ac1-ac4, ub1-ub3), anything else is deprecated\n */\nconst Text = styled.div<TextProps>(\n ({\n theme,\n $renderAs,\n $color,\n $align = 'left',\n $width,\n $widthX,\n $marginBottom,\n $marginBottomX,\n $alignSelf,\n $opacity = 1,\n $inline,\n $textDecoration,\n }) => {\n const { text, colors, layout } = theme;\n const {\n fontFamily,\n fontSize,\n lineHeight,\n letterSpacing,\n textTransform = 'none',\n } = text[$renderAs];\n\n return `\n display: ${$inline ? 'inline-block' : 'block'};\n font-family: ${fontFamily};\n font-size: ${fontSize}px;\n text-align: ${$align};\n line-height: ${lineHeight}px;\n text-transform: ${textTransform};\n ${typeof letterSpacing === 'number' ? `letter-spacing: ${letterSpacing}px;` : ''}\n color: ${$color ? colors[$color] : colors.BLACK};\n opacity: ${$opacity};\n width: ${$width ? `${$width}` : 'auto'}${typeof $width === 'number' ? 'px' : ''};\n ${$widthX ? `width: ${$widthX * layout.gutter}px;` : ''}\n margin-bottom: ${$marginBottom ? `${$marginBottom}` : 'initial'}${\n typeof $marginBottom === 'number' ? 'px' : ''\n };\n ${$marginBottomX ? `margin-bottom: ${$marginBottomX * layout.gutter}px;` : ''}\n ${$alignSelf ? `align-self: ${$alignSelf};` : ''}\n ${$textDecoration ? `text-decoration: ${$textDecoration};` : ''}\n `;\n },\n);\n\nText.displayName = 'Text';\n\nexport default Text;\n"],"names":["Text","styled","theme","$renderAs","$color","$align","$width","$widthX","$marginBottom","$marginBottomX","$alignSelf","$opacity","$inline","$textDecoration","text","colors","layout","fontFamily","fontSize","lineHeight","letterSpacing","textTransform","Text$1"],"mappings":";AAqBA,MAAMA,IAAOC,EAAO;AAAA,EAClB,CAAC;AAAA,IACC,OAAAC;AAAA,IACA,WAAAC;AAAA,IACA,QAAAC;AAAA,IACA,QAAAC,IAAS;AAAA,IACT,QAAAC;AAAA,IACA,SAAAC;AAAA,IACA,eAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,UAAAC,IAAW;AAAA,IACX,SAAAC;AAAA,IACA,iBAAAC;AAAA,EAAA,MACI;AACJ,UAAM,EAAE,MAAAC,GAAM,QAAAC,GAAQ,QAAAC,EAAA,IAAWd,GAC3B;AAAA,MACJ,YAAAe;AAAA,MACA,UAAAC;AAAA,MACA,YAAAC;AAAA,MACA,eAAAC;AAAA,MACA,eAAAC,IAAgB;AAAA,IAAA,IACdP,EAAKX,CAAS;AAEX,WAAA;AAAA,iBACMS,IAAU,iBAAiB,OAAO;AAAA,qBAC9BK,CAAU;AAAA,mBACZC,CAAQ;AAAA,oBACPb,CAAM;AAAA,qBACLc,CAAU;AAAA,wBACPE,CAAa;AAAA,QAC7B,OAAOD,KAAkB,WAAW,mBAAmBA,CAAa,QAAQ,EAAE;AAAA,eACvEhB,IAASW,EAAOX,CAAM,IAAIW,EAAO,KAAK;AAAA,iBACpCJ,CAAQ;AAAA,eACVL,IAAS,GAAGA,CAAM,KAAK,MAAM,GAAG,OAAOA,KAAW,WAAW,OAAO,EAAE;AAAA,QAC7EC,IAAU,UAAUA,IAAUS,EAAO,MAAM,QAAQ,EAAE;AAAA,uBACtCR,IAAgB,GAAGA,CAAa,KAAK,SAAS,GAC7D,OAAOA,KAAkB,WAAW,OAAO,EAC7C;AAAA,QACEC,IAAiB,kBAAkBA,IAAiBO,EAAO,MAAM,QAAQ,EAAE;AAAA,QAC3EN,IAAa,eAAeA,CAAU,MAAM,EAAE;AAAA,QAC9CG,IAAkB,oBAAoBA,CAAe,MAAM,EAAE;AAAA;AAAA,EAEnE;AACF;AAEAb,EAAK,cAAc;AAEnB,MAAAsB,IAAetB;"}
@@ -27,6 +27,9 @@ const _ = {
27
27
  MATHJAX_SCRIPT_LOADING: "mathjax_script_loading",
28
28
  MATHJAX_SCRIPT_LOADED: "mathjax_script_loaded",
29
29
  MATHJAX_SCRIPT_FAILED: "mathjax_script_failed",
30
+ POLYPAD_SCRIPT_LOADING: "polypad_script_loading",
31
+ POLYPAD_SCRIPT_LOADED: "polypad_script_loaded",
32
+ POLYPAD_SCRIPT_FAILED: "polypad_script_failed",
30
33
  WORKSHEET_V3_SCRIBBLE_TOGGLE: "worksheet_v3_scribble_toggled",
31
34
  WORKSHEET_V3_HINT_SEEN: "worksheet_v3_hint_seen",
32
35
  WORKSHEET_V3_SOLUTION_SEEN: "worksheet_v3_solution_seen",
@@ -1 +1 @@
1
- {"version":3,"file":"events.js","sources":["../../../../src/features/worksheet/constants/events.ts"],"sourcesContent":["const EVENTS = {\n WORKSHEET_V3_SCRIPT_LOADING: 'worksheet_v3_script_loading',\n WORKSHEET_V3_SCRIPT_LOADED: 'worksheet_v3_script_loaded',\n WORKSHEET_V3_SCRIPT_FAILED: 'worksheet_v3_script_failed',\n\n WORKSHEET_V3_SCRIPT_FALLBACK_LOADING: 'worksheet_v3_script_fallback_loading',\n WORKSHEET_V3_SCRIPT_FALLBACK_LOADED: 'worksheet_v3_script_fallback_loaded',\n WORKSHEET_V3_SCRIPT_FALLBACK_FAILED: 'worksheet_v3_script_fallback_failed',\n\n WORKSHEET_V3_SCRIPT_READY: 'worksheet_v3_script_ready',\n\n WORKSHEET_V3_ITEMS_LOADING: 'worksheet_v3_items_loading',\n WORKSHEET_V3_ITEMS_LOADED: 'worksheet_v3_items_loaded',\n WORKSHEET_V3_ITEMS_FAILED: 'worksheet_v3_items_failed',\n\n WORKSHEET_V3_ATTEMPT_RESPONSES_LOADING: 'worksheet_v3_attempt_responses_loading',\n WORKSHEET_V3_ATTEMPT_RESPONSES_LOADED: 'worksheet_v3_attempt_responses_loaded',\n WORKSHEET_V3_ATTEMPT_RESPONSES_FAILED: 'worksheet_v3_attempt_responses_failed',\n\n WORKSHHEET_V3_LEANROSITY_INITIALIZING: 'worksheet_v3_learnosity_initializing',\n WORKSHEET_V3_LEARNOSITY_INITIALIZED: 'worksheet_v3_learnosity_initialized',\n WORKSHEET_V3_LEARNOSITY_FAILED: 'worksheet_v3_learnosity_failed',\n\n WORKSHEET_V3_READY: 'worksheet_v3_ready',\n\n WORKSHEET_V3_QUESTION_APPENDING_QUEUED: 'worksheet_v3_question_appending_queued',\n WORKSHEET_V3_QUESTION_APPENDING: 'worksheet_v3_question_appending',\n WORKSHEET_V3_QUESTION_APPENDED: 'worksheet_v3_question_appended',\n\n WORKSHEET_V3_FIRST_QUESTION_APPENDED: 'worksheet_v3_first_question_appended',\n\n WORKSHEET_V3_QUESTION_MISSING_VALIDATION: 'worksheet_v3_question_missing_validation',\n MATHJAX_COMPILE_ERROR: 'mathjax_compile_error',\n MATHJAX_TYPESET_ERROR: 'mathjax_typeset_error',\n MATHJAX_FORMAT_ERROR: 'mathjax_format_error',\n\n MATHJAX_SCRIPT_LOADING: 'mathjax_script_loading',\n MATHJAX_SCRIPT_LOADED: 'mathjax_script_loaded',\n MATHJAX_SCRIPT_FAILED: 'mathjax_script_failed',\n\n WORKSHEET_V3_SCRIBBLE_TOGGLE: 'worksheet_v3_scribble_toggled',\n WORKSHEET_V3_HINT_SEEN: 'worksheet_v3_hint_seen',\n WORKSHEET_V3_SOLUTION_SEEN: 'worksheet_v3_solution_seen',\n WORKSHEET_V3_GREATER_WIDTH_ELEMENT: 'worksheet_v3_greater_width_element',\n};\n\nexport default EVENTS;\n"],"names":["EVENTS"],"mappings":"AAAA,MAAMA,IAAS;AAAA,EACb,6BAA6B;AAAA,EAC7B,4BAA4B;AAAA,EAC5B,4BAA4B;AAAA,EAE5B,sCAAsC;AAAA,EACtC,qCAAqC;AAAA,EACrC,qCAAqC;AAAA,EAErC,2BAA2B;AAAA,EAE3B,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,2BAA2B;AAAA,EAE3B,wCAAwC;AAAA,EACxC,uCAAuC;AAAA,EACvC,uCAAuC;AAAA,EAEvC,uCAAuC;AAAA,EACvC,qCAAqC;AAAA,EACrC,gCAAgC;AAAA,EAEhC,oBAAoB;AAAA,EAEpB,wCAAwC;AAAA,EACxC,iCAAiC;AAAA,EACjC,gCAAgC;AAAA,EAEhC,sCAAsC;AAAA,EAEtC,0CAA0C;AAAA,EAC1C,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EAEtB,wBAAwB;AAAA,EACxB,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EAEvB,8BAA8B;AAAA,EAC9B,wBAAwB;AAAA,EACxB,4BAA4B;AAAA,EAC5B,oCAAoC;AACtC;"}
1
+ {"version":3,"file":"events.js","sources":["../../../../src/features/worksheet/constants/events.ts"],"sourcesContent":["const EVENTS = {\n WORKSHEET_V3_SCRIPT_LOADING: 'worksheet_v3_script_loading',\n WORKSHEET_V3_SCRIPT_LOADED: 'worksheet_v3_script_loaded',\n WORKSHEET_V3_SCRIPT_FAILED: 'worksheet_v3_script_failed',\n\n WORKSHEET_V3_SCRIPT_FALLBACK_LOADING: 'worksheet_v3_script_fallback_loading',\n WORKSHEET_V3_SCRIPT_FALLBACK_LOADED: 'worksheet_v3_script_fallback_loaded',\n WORKSHEET_V3_SCRIPT_FALLBACK_FAILED: 'worksheet_v3_script_fallback_failed',\n\n WORKSHEET_V3_SCRIPT_READY: 'worksheet_v3_script_ready',\n\n WORKSHEET_V3_ITEMS_LOADING: 'worksheet_v3_items_loading',\n WORKSHEET_V3_ITEMS_LOADED: 'worksheet_v3_items_loaded',\n WORKSHEET_V3_ITEMS_FAILED: 'worksheet_v3_items_failed',\n\n WORKSHEET_V3_ATTEMPT_RESPONSES_LOADING: 'worksheet_v3_attempt_responses_loading',\n WORKSHEET_V3_ATTEMPT_RESPONSES_LOADED: 'worksheet_v3_attempt_responses_loaded',\n WORKSHEET_V3_ATTEMPT_RESPONSES_FAILED: 'worksheet_v3_attempt_responses_failed',\n\n WORKSHHEET_V3_LEANROSITY_INITIALIZING: 'worksheet_v3_learnosity_initializing',\n WORKSHEET_V3_LEARNOSITY_INITIALIZED: 'worksheet_v3_learnosity_initialized',\n WORKSHEET_V3_LEARNOSITY_FAILED: 'worksheet_v3_learnosity_failed',\n\n WORKSHEET_V3_READY: 'worksheet_v3_ready',\n\n WORKSHEET_V3_QUESTION_APPENDING_QUEUED: 'worksheet_v3_question_appending_queued',\n WORKSHEET_V3_QUESTION_APPENDING: 'worksheet_v3_question_appending',\n WORKSHEET_V3_QUESTION_APPENDED: 'worksheet_v3_question_appended',\n\n WORKSHEET_V3_FIRST_QUESTION_APPENDED: 'worksheet_v3_first_question_appended',\n\n WORKSHEET_V3_QUESTION_MISSING_VALIDATION: 'worksheet_v3_question_missing_validation',\n MATHJAX_COMPILE_ERROR: 'mathjax_compile_error',\n MATHJAX_TYPESET_ERROR: 'mathjax_typeset_error',\n MATHJAX_FORMAT_ERROR: 'mathjax_format_error',\n\n MATHJAX_SCRIPT_LOADING: 'mathjax_script_loading',\n MATHJAX_SCRIPT_LOADED: 'mathjax_script_loaded',\n MATHJAX_SCRIPT_FAILED: 'mathjax_script_failed',\n\n POLYPAD_SCRIPT_LOADING: 'polypad_script_loading',\n POLYPAD_SCRIPT_LOADED: 'polypad_script_loaded',\n POLYPAD_SCRIPT_FAILED: 'polypad_script_failed',\n\n WORKSHEET_V3_SCRIBBLE_TOGGLE: 'worksheet_v3_scribble_toggled',\n WORKSHEET_V3_HINT_SEEN: 'worksheet_v3_hint_seen',\n WORKSHEET_V3_SOLUTION_SEEN: 'worksheet_v3_solution_seen',\n WORKSHEET_V3_GREATER_WIDTH_ELEMENT: 'worksheet_v3_greater_width_element',\n};\n\nexport default EVENTS;\n"],"names":["EVENTS"],"mappings":"AAAA,MAAMA,IAAS;AAAA,EACb,6BAA6B;AAAA,EAC7B,4BAA4B;AAAA,EAC5B,4BAA4B;AAAA,EAE5B,sCAAsC;AAAA,EACtC,qCAAqC;AAAA,EACrC,qCAAqC;AAAA,EAErC,2BAA2B;AAAA,EAE3B,4BAA4B;AAAA,EAC5B,2BAA2B;AAAA,EAC3B,2BAA2B;AAAA,EAE3B,wCAAwC;AAAA,EACxC,uCAAuC;AAAA,EACvC,uCAAuC;AAAA,EAEvC,uCAAuC;AAAA,EACvC,qCAAqC;AAAA,EACrC,gCAAgC;AAAA,EAEhC,oBAAoB;AAAA,EAEpB,wCAAwC;AAAA,EACxC,iCAAiC;AAAA,EACjC,gCAAgC;AAAA,EAEhC,sCAAsC;AAAA,EAEtC,0CAA0C;AAAA,EAC1C,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EAEtB,wBAAwB;AAAA,EACxB,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EAEvB,wBAAwB;AAAA,EACxB,uBAAuB;AAAA,EACvB,uBAAuB;AAAA,EAEvB,8BAA8B;AAAA,EAC9B,wBAAwB;AAAA,EACxB,4BAA4B;AAAA,EAC5B,oCAAoC;AACtC;"}
@@ -1,62 +1,81 @@
1
- import { jsx as D } from "react/jsx-runtime";
2
- import { memo as u, useEffect as m, useMemo as l, useCallback as p } from "react";
3
- import t from "../constants/events.js";
4
- import { setMathJaxConfigInWindow as T } from "../worksheet/worksheet-helpers.js";
5
- import f from "./learnosity-preloader-context.js";
6
- import E from "./use-download-script.js";
7
- const C = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js", O = {
8
- LOADING: t.WORKSHEET_V3_SCRIPT_LOADING,
9
- LOADED: t.WORKSHEET_V3_SCRIPT_LOADED,
10
- FAILED: t.WORKSHEET_V3_SCRIPT_FAILED,
11
- FALLBACK_LOADING: t.WORKSHEET_V3_SCRIPT_FALLBACK_LOADING,
12
- FALLBACK_LOADED: t.WORKSHEET_V3_SCRIPT_FALLBACK_LOADED,
13
- FALLBACK_FAILED: t.WORKSHEET_V3_SCRIPT_FALLBACK_FAILED
14
- }, P = {
15
- LOADING: t.MATHJAX_SCRIPT_LOADING,
16
- LOADED: t.MATHJAX_SCRIPT_LOADED,
17
- FAILED: t.MATHJAX_SCRIPT_FAILED
18
- }, R = u(
19
- ({ apiURL: a, fallbackAPIURL: c, logger: e, children: S }) => {
20
- var _;
21
- const n = (_ = window == null ? void 0 : window.MathJax) == null ? void 0 : _.version, {
22
- scriptStatus: o,
23
- loadedAPIURL: d,
24
- downloadScript: i
25
- } = E(
26
- e,
27
- a,
1
+ import { jsx as O } from "react/jsx-runtime";
2
+ import { memo as u, useEffect as T, useMemo as E, useCallback as m } from "react";
3
+ import { LIB as f } from "../../../assets/lib/lib.js";
4
+ import o from "../constants/events.js";
5
+ import { setMathJaxConfigInWindow as C } from "../worksheet/worksheet-helpers.js";
6
+ import R from "./learnosity-preloader-context.js";
7
+ import n from "./use-download-script.js";
8
+ const F = "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js", x = {
9
+ LOADING: o.WORKSHEET_V3_SCRIPT_LOADING,
10
+ LOADED: o.WORKSHEET_V3_SCRIPT_LOADED,
11
+ FAILED: o.WORKSHEET_V3_SCRIPT_FAILED,
12
+ FALLBACK_LOADING: o.WORKSHEET_V3_SCRIPT_FALLBACK_LOADING,
13
+ FALLBACK_LOADED: o.WORKSHEET_V3_SCRIPT_FALLBACK_LOADED,
14
+ FALLBACK_FAILED: o.WORKSHEET_V3_SCRIPT_FALLBACK_FAILED
15
+ }, y = {
16
+ LOADING: o.MATHJAX_SCRIPT_LOADING,
17
+ LOADED: o.MATHJAX_SCRIPT_LOADED,
18
+ FAILED: o.MATHJAX_SCRIPT_FAILED
19
+ }, M = {
20
+ LOADING: o.POLYPAD_SCRIPT_LOADING,
21
+ LOADED: o.POLYPAD_SCRIPT_LOADED,
22
+ FAILED: o.POLYPAD_SCRIPT_FAILED
23
+ }, K = u(
24
+ ({ apiURL: d, fallbackAPIURL: I, logger: t, children: S }) => {
25
+ var c;
26
+ const A = (c = window == null ? void 0 : window.MathJax) == null ? void 0 : c.version, p = !!(window != null && window.Polypad), {
27
+ scriptStatus: r,
28
+ loadedAPIURL: i,
29
+ downloadScript: l
30
+ } = n(
31
+ t,
32
+ d,
28
33
  "learnosity-preloader-script",
29
- O,
30
- c
31
- ), { scriptStatus: r, downloadScript: L } = E(
32
- e,
33
- C,
34
+ x,
35
+ I
36
+ ), { scriptStatus: a, downloadScript: D } = n(
37
+ t,
38
+ F,
34
39
  "mathjax-script",
35
- P,
40
+ y,
41
+ void 0,
42
+ A ? "loaded" : "loading"
43
+ ), { scriptStatus: e, downloadScript: _ } = n(
44
+ t,
45
+ f.POLYPAD,
46
+ "polypad-script",
47
+ M,
36
48
  void 0,
37
- n ? "loaded" : "loading"
49
+ p ? "loaded" : "loading"
38
50
  );
39
- m(() => {
40
- n || T(e);
41
- }, [n, e]);
42
- const s = l(() => o === "loaded" && r === "loaded" ? "loaded" : o === "error" || r === "error" ? "error" : "loading", [o, r]), A = p(() => {
43
- o === "error" && i(), r === "error" && L();
44
- }, [o, i, L, r]), I = l(() => s === "loaded" ? {
51
+ T(() => {
52
+ A || C(t);
53
+ }, [A, t]);
54
+ const s = E(() => r === "loaded" && a === "loaded" && e === "loaded" ? "loaded" : r === "error" || a === "error" || e === "error" ? "error" : "loading", [r, a, e]), L = m(() => {
55
+ r === "error" && l(), a === "error" && D(), e === "error" && _();
56
+ }, [
57
+ r,
58
+ l,
59
+ D,
60
+ _,
61
+ a,
62
+ e
63
+ ]), P = E(() => s === "loaded" ? {
45
64
  scriptStatus: s,
46
- defaultAPIURL: a,
47
- loadedAPIURL: d,
48
- downloadScript: A
65
+ defaultAPIURL: d,
66
+ loadedAPIURL: i,
67
+ downloadScript: L
49
68
  } : {
50
69
  scriptStatus: s,
51
- defaultAPIURL: a,
70
+ defaultAPIURL: d,
52
71
  loadedAPIURL: void 0,
53
- downloadScript: A
54
- }, [a, A, d, s]);
55
- return /* @__PURE__ */ D(f.Provider, { value: I, children: S });
72
+ downloadScript: L
73
+ }, [d, L, i, s]);
74
+ return /* @__PURE__ */ O(R.Provider, { value: P, children: S });
56
75
  }
57
- ), v = R;
76
+ ), V = K;
58
77
  export {
59
- C as MATHJAX_URL,
60
- v as default
78
+ F as MATHJAX_URL,
79
+ V as default
61
80
  };
62
81
  //# sourceMappingURL=learnosity-preloader.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"learnosity-preloader.js","sources":["../../../../src/features/worksheet/learnosity-preloader/learnosity-preloader.tsx"],"sourcesContent":["import type {\n ILearnosityPreloaderProps,\n TLearnosityPreloaderContextValue,\n IMathJaxConfig,\n} from './learnosity-preloader-types';\nimport type { FC, PropsWithChildren } from 'react';\n\nimport { memo, useCallback, useEffect, useMemo } from 'react';\n\nimport EVENTS from '../constants/events';\nimport { setMathJaxConfigInWindow } from '../worksheet/worksheet-helpers';\nimport LearnosityPreloaderContext from './learnosity-preloader-context';\nimport useDownloadScript from './use-download-script';\n\nexport const MATHJAX_URL = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js';\n\ndeclare global {\n interface Window {\n MathJax: IMathJaxConfig;\n }\n}\n\nconst LearnosityEventsMap = {\n LOADING: EVENTS.WORKSHEET_V3_SCRIPT_LOADING,\n LOADED: EVENTS.WORKSHEET_V3_SCRIPT_LOADED,\n FAILED: EVENTS.WORKSHEET_V3_SCRIPT_FAILED,\n FALLBACK_LOADING: EVENTS.WORKSHEET_V3_SCRIPT_FALLBACK_LOADING,\n FALLBACK_LOADED: EVENTS.WORKSHEET_V3_SCRIPT_FALLBACK_LOADED,\n FALLBACK_FAILED: EVENTS.WORKSHEET_V3_SCRIPT_FALLBACK_FAILED,\n};\n\nconst MathJaxEventsMap = {\n LOADING: EVENTS.MATHJAX_SCRIPT_LOADING,\n LOADED: EVENTS.MATHJAX_SCRIPT_LOADED,\n FAILED: EVENTS.MATHJAX_SCRIPT_FAILED,\n};\n\nconst LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloaderProps>> = memo(\n ({ apiURL, fallbackAPIURL, logger, children }) => {\n const isMathJaxLoaded = window?.MathJax?.version;\n const {\n scriptStatus: learnosityScriptStatus,\n loadedAPIURL,\n downloadScript: loadLearnosity,\n } = useDownloadScript(\n logger,\n apiURL,\n 'learnosity-preloader-script',\n LearnosityEventsMap,\n fallbackAPIURL,\n );\n const { scriptStatus: mathjaxScriptStatus, downloadScript: loadMathjax } = useDownloadScript(\n logger,\n MATHJAX_URL,\n 'mathjax-script',\n MathJaxEventsMap,\n undefined,\n isMathJaxLoaded ? 'loaded' : 'loading',\n );\n\n useEffect(() => {\n if (!isMathJaxLoaded) {\n setMathJaxConfigInWindow(logger);\n }\n }, [isMathJaxLoaded, logger]);\n\n const scriptStatus = useMemo(() => {\n if (learnosityScriptStatus === 'loaded' && mathjaxScriptStatus === 'loaded') {\n return 'loaded';\n }\n\n if (learnosityScriptStatus === 'error' || mathjaxScriptStatus === 'error') {\n return 'error';\n }\n\n return 'loading';\n }, [learnosityScriptStatus, mathjaxScriptStatus]);\n\n const downloadScript = useCallback(() => {\n if (learnosityScriptStatus === 'error') {\n loadLearnosity();\n }\n\n if (mathjaxScriptStatus === 'error') {\n loadMathjax();\n }\n }, [learnosityScriptStatus, loadLearnosity, loadMathjax, mathjaxScriptStatus]);\n\n const contextValue = useMemo<TLearnosityPreloaderContextValue>(() => {\n if (scriptStatus === 'loaded') {\n return {\n scriptStatus,\n defaultAPIURL: apiURL,\n loadedAPIURL,\n downloadScript,\n };\n }\n\n return {\n scriptStatus,\n defaultAPIURL: apiURL,\n loadedAPIURL: undefined,\n downloadScript,\n };\n }, [apiURL, downloadScript, loadedAPIURL, scriptStatus]);\n\n return (\n <LearnosityPreloaderContext.Provider value={contextValue}>\n {children}\n </LearnosityPreloaderContext.Provider>\n );\n },\n);\n\nexport default LearnosityPreloader;\n"],"names":["MATHJAX_URL","LearnosityEventsMap","EVENTS","MathJaxEventsMap","LearnosityPreloader","memo","apiURL","fallbackAPIURL","logger","children","isMathJaxLoaded","_a","learnosityScriptStatus","loadedAPIURL","loadLearnosity","useDownloadScript","mathjaxScriptStatus","loadMathjax","useEffect","setMathJaxConfigInWindow","scriptStatus","useMemo","downloadScript","useCallback","contextValue","LearnosityPreloaderContext","LearnosityPreloader$1"],"mappings":";;;;;;AAcO,MAAMA,IAAc,gEAQrBC,IAAsB;AAAA,EAC1B,SAASC,EAAO;AAAA,EAChB,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AAAA,EACf,kBAAkBA,EAAO;AAAA,EACzB,iBAAiBA,EAAO;AAAA,EACxB,iBAAiBA,EAAO;AAC1B,GAEMC,IAAmB;AAAA,EACvB,SAASD,EAAO;AAAA,EAChB,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AACjB,GAEME,IAAwEC;AAAA,EAC5E,CAAC,EAAE,QAAAC,GAAQ,gBAAAC,GAAgB,QAAAC,GAAQ,UAAAC,QAAe;;AAC1C,UAAAC,KAAkBC,IAAA,iCAAQ,YAAR,gBAAAA,EAAiB,SACnC;AAAA,MACJ,cAAcC;AAAA,MACd,cAAAC;AAAA,MACA,gBAAgBC;AAAA,IAAA,IACdC;AAAA,MACFP;AAAA,MACAF;AAAA,MACA;AAAA,MACAL;AAAA,MACAM;AAAA,IAAA,GAEI,EAAE,cAAcS,GAAqB,gBAAgBC,EAAgB,IAAAF;AAAA,MACzEP;AAAA,MACAR;AAAA,MACA;AAAA,MACAG;AAAA,MACA;AAAA,MACAO,IAAkB,WAAW;AAAA,IAAA;AAG/B,IAAAQ,EAAU,MAAM;AACd,MAAKR,KACHS,EAAyBX,CAAM;AAAA,IACjC,GACC,CAACE,GAAiBF,CAAM,CAAC;AAEtB,UAAAY,IAAeC,EAAQ,MACvBT,MAA2B,YAAYI,MAAwB,WAC1D,WAGLJ,MAA2B,WAAWI,MAAwB,UACzD,UAGF,WACN,CAACJ,GAAwBI,CAAmB,CAAC,GAE1CM,IAAiBC,EAAY,MAAM;AACvC,MAAIX,MAA2B,WACdE,KAGbE,MAAwB,WACdC;OAEb,CAACL,GAAwBE,GAAgBG,GAAaD,CAAmB,CAAC,GAEvEQ,IAAeH,EAA0C,MACzDD,MAAiB,WACZ;AAAA,MACL,cAAAA;AAAA,MACA,eAAed;AAAA,MACf,cAAAO;AAAA,MACA,gBAAAS;AAAA,IAAA,IAIG;AAAA,MACL,cAAAF;AAAA,MACA,eAAed;AAAA,MACf,cAAc;AAAA,MACd,gBAAAgB;AAAA,IAAA,GAED,CAAChB,GAAQgB,GAAgBT,GAAcO,CAAY,CAAC;AAEvD,6BACGK,EAA2B,UAA3B,EAAoC,OAAOD,GACzC,UAAAf,EACH,CAAA;AAAA,EAEJ;AACF,GAEAiB,IAAetB;"}
1
+ {"version":3,"file":"learnosity-preloader.js","sources":["../../../../src/features/worksheet/learnosity-preloader/learnosity-preloader.tsx"],"sourcesContent":["import type {\n ILearnosityPreloaderProps,\n TLearnosityPreloaderContextValue,\n IMathJaxConfig,\n} from './learnosity-preloader-types';\nimport type { FC, PropsWithChildren } from 'react';\n\nimport { memo, useCallback, useEffect, useMemo } from 'react';\n\nimport { LIB } from '../../../assets/lib/lib';\nimport EVENTS from '../constants/events';\nimport { setMathJaxConfigInWindow } from '../worksheet/worksheet-helpers';\nimport LearnosityPreloaderContext from './learnosity-preloader-context';\nimport useDownloadScript from './use-download-script';\n\nexport const MATHJAX_URL = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js';\n\ndeclare global {\n interface Window {\n MathJax: IMathJaxConfig;\n }\n}\n\nconst LearnosityEventsMap = {\n LOADING: EVENTS.WORKSHEET_V3_SCRIPT_LOADING,\n LOADED: EVENTS.WORKSHEET_V3_SCRIPT_LOADED,\n FAILED: EVENTS.WORKSHEET_V3_SCRIPT_FAILED,\n FALLBACK_LOADING: EVENTS.WORKSHEET_V3_SCRIPT_FALLBACK_LOADING,\n FALLBACK_LOADED: EVENTS.WORKSHEET_V3_SCRIPT_FALLBACK_LOADED,\n FALLBACK_FAILED: EVENTS.WORKSHEET_V3_SCRIPT_FALLBACK_FAILED,\n};\n\nconst MathJaxEventsMap = {\n LOADING: EVENTS.MATHJAX_SCRIPT_LOADING,\n LOADED: EVENTS.MATHJAX_SCRIPT_LOADED,\n FAILED: EVENTS.MATHJAX_SCRIPT_FAILED,\n};\nconst PolyPadEventsMap = {\n LOADING: EVENTS.POLYPAD_SCRIPT_LOADING,\n LOADED: EVENTS.POLYPAD_SCRIPT_LOADED,\n FAILED: EVENTS.POLYPAD_SCRIPT_FAILED,\n};\n\nconst LearnosityPreloader: FC<PropsWithChildren<ILearnosityPreloaderProps>> = memo(\n ({ apiURL, fallbackAPIURL, logger, children }) => {\n const isMathJaxLoaded = window?.MathJax?.version;\n const isPolypadLoaded = !!window?.Polypad;\n const {\n scriptStatus: learnosityScriptStatus,\n loadedAPIURL,\n downloadScript: loadLearnosity,\n } = useDownloadScript(\n logger,\n apiURL,\n 'learnosity-preloader-script',\n LearnosityEventsMap,\n fallbackAPIURL,\n );\n const { scriptStatus: mathjaxScriptStatus, downloadScript: loadMathjax } = useDownloadScript(\n logger,\n MATHJAX_URL,\n 'mathjax-script',\n MathJaxEventsMap,\n undefined,\n isMathJaxLoaded ? 'loaded' : 'loading',\n );\n const { scriptStatus: polypadScriptStatus, downloadScript: loadPolypad } = useDownloadScript(\n logger,\n LIB.POLYPAD,\n 'polypad-script',\n PolyPadEventsMap,\n undefined,\n isPolypadLoaded ? 'loaded' : 'loading',\n );\n\n useEffect(() => {\n if (!isMathJaxLoaded) {\n setMathJaxConfigInWindow(logger);\n }\n }, [isMathJaxLoaded, logger]);\n\n const scriptStatus = useMemo(() => {\n if (\n learnosityScriptStatus === 'loaded' &&\n mathjaxScriptStatus === 'loaded' &&\n polypadScriptStatus === 'loaded'\n ) {\n return 'loaded';\n }\n\n if (\n learnosityScriptStatus === 'error' ||\n mathjaxScriptStatus === 'error' ||\n polypadScriptStatus === 'error'\n ) {\n return 'error';\n }\n\n return 'loading';\n }, [learnosityScriptStatus, mathjaxScriptStatus, polypadScriptStatus]);\n\n const downloadScript = useCallback(() => {\n if (learnosityScriptStatus === 'error') {\n loadLearnosity();\n }\n\n if (mathjaxScriptStatus === 'error') {\n loadMathjax();\n }\n\n if (polypadScriptStatus === 'error') {\n loadPolypad();\n }\n }, [\n learnosityScriptStatus,\n loadLearnosity,\n loadMathjax,\n loadPolypad,\n mathjaxScriptStatus,\n polypadScriptStatus,\n ]);\n\n const contextValue = useMemo<TLearnosityPreloaderContextValue>(() => {\n if (scriptStatus === 'loaded') {\n return {\n scriptStatus,\n defaultAPIURL: apiURL,\n loadedAPIURL,\n downloadScript,\n };\n }\n\n return {\n scriptStatus,\n defaultAPIURL: apiURL,\n loadedAPIURL: undefined,\n downloadScript,\n };\n }, [apiURL, downloadScript, loadedAPIURL, scriptStatus]);\n\n return (\n <LearnosityPreloaderContext.Provider value={contextValue}>\n {children}\n </LearnosityPreloaderContext.Provider>\n );\n },\n);\n\nexport default LearnosityPreloader;\n"],"names":["MATHJAX_URL","LearnosityEventsMap","EVENTS","MathJaxEventsMap","PolyPadEventsMap","LearnosityPreloader","memo","apiURL","fallbackAPIURL","logger","children","isMathJaxLoaded","_a","isPolypadLoaded","learnosityScriptStatus","loadedAPIURL","loadLearnosity","useDownloadScript","mathjaxScriptStatus","loadMathjax","polypadScriptStatus","loadPolypad","LIB","useEffect","setMathJaxConfigInWindow","scriptStatus","useMemo","downloadScript","useCallback","contextValue","LearnosityPreloaderContext","LearnosityPreloader$1"],"mappings":";;;;;;;AAeO,MAAMA,IAAc,gEAQrBC,IAAsB;AAAA,EAC1B,SAASC,EAAO;AAAA,EAChB,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AAAA,EACf,kBAAkBA,EAAO;AAAA,EACzB,iBAAiBA,EAAO;AAAA,EACxB,iBAAiBA,EAAO;AAC1B,GAEMC,IAAmB;AAAA,EACvB,SAASD,EAAO;AAAA,EAChB,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AACjB,GACME,IAAmB;AAAA,EACvB,SAASF,EAAO;AAAA,EAChB,QAAQA,EAAO;AAAA,EACf,QAAQA,EAAO;AACjB,GAEMG,IAAwEC;AAAA,EAC5E,CAAC,EAAE,QAAAC,GAAQ,gBAAAC,GAAgB,QAAAC,GAAQ,UAAAC,QAAe;;AAC1C,UAAAC,KAAkBC,IAAA,iCAAQ,YAAR,gBAAAA,EAAiB,SACnCC,IAAkB,CAAC,EAAC,yBAAQ,UAC5B;AAAA,MACJ,cAAcC;AAAA,MACd,cAAAC;AAAA,MACA,gBAAgBC;AAAA,IAAA,IACdC;AAAA,MACFR;AAAA,MACAF;AAAA,MACA;AAAA,MACAN;AAAA,MACAO;AAAA,IAAA,GAEI,EAAE,cAAcU,GAAqB,gBAAgBC,EAAgB,IAAAF;AAAA,MACzER;AAAA,MACAT;AAAA,MACA;AAAA,MACAG;AAAA,MACA;AAAA,MACAQ,IAAkB,WAAW;AAAA,IAAA,GAEzB,EAAE,cAAcS,GAAqB,gBAAgBC,EAAgB,IAAAJ;AAAA,MACzER;AAAA,MACAa,EAAI;AAAA,MACJ;AAAA,MACAlB;AAAA,MACA;AAAA,MACAS,IAAkB,WAAW;AAAA,IAAA;AAG/B,IAAAU,EAAU,MAAM;AACd,MAAKZ,KACHa,EAAyBf,CAAM;AAAA,IACjC,GACC,CAACE,GAAiBF,CAAM,CAAC;AAEtB,UAAAgB,IAAeC,EAAQ,MAEzBZ,MAA2B,YAC3BI,MAAwB,YACxBE,MAAwB,WAEjB,WAIPN,MAA2B,WAC3BI,MAAwB,WACxBE,MAAwB,UAEjB,UAGF,WACN,CAACN,GAAwBI,GAAqBE,CAAmB,CAAC,GAE/DO,IAAiBC,EAAY,MAAM;AACvC,MAAId,MAA2B,WACdE,KAGbE,MAAwB,WACdC,KAGVC,MAAwB,WACdC;IACd,GACC;AAAA,MACDP;AAAA,MACAE;AAAA,MACAG;AAAA,MACAE;AAAA,MACAH;AAAA,MACAE;AAAA,IAAA,CACD,GAEKS,IAAeH,EAA0C,MACzDD,MAAiB,WACZ;AAAA,MACL,cAAAA;AAAA,MACA,eAAelB;AAAA,MACf,cAAAQ;AAAA,MACA,gBAAAY;AAAA,IAAA,IAIG;AAAA,MACL,cAAAF;AAAA,MACA,eAAelB;AAAA,MACf,cAAc;AAAA,MACd,gBAAAoB;AAAA,IAAA,GAED,CAACpB,GAAQoB,GAAgBZ,GAAcU,CAAY,CAAC;AAEvD,6BACGK,EAA2B,UAA3B,EAAoC,OAAOD,GACzC,UAAAnB,EACH,CAAA;AAAA,EAEJ;AACF,GAEAqB,IAAe1B;"}