@pie-element/ebsr 14.2.2-next.2 → 14.2.2-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/author/index.js +32 -30
- package/dist/author/main.d.ts +1 -0
- package/dist/author/main.js +72 -70
- package/dist/browser/author/index.js +44225 -12187
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +25 -25
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/delivery-D-evP5is.js +1282 -0
- package/dist/browser/delivery-D-evP5is.js.map +1 -0
- package/dist/browser/dist-BcIm7NXG.js +111 -0
- package/dist/browser/dist-BcIm7NXG.js.map +1 -0
- package/dist/browser/ebsr.css +2 -0
- package/dist/browser/print/index.js +27 -27
- package/dist/browser/print/index.js.map +1 -1
- package/dist/browser/private-tags-CE7XB3kV.js +9579 -0
- package/dist/browser/private-tags-CE7XB3kV.js.map +1 -0
- package/dist/delivery/index.js +29 -28
- package/dist/index.iife.js +4 -4
- package/dist/print/index.js +32 -31
- package/dist/private-tags.d.ts +2 -0
- package/dist/private-tags.js +3 -0
- package/package.json +2 -2
- package/dist/browser/browser-CdX8WGiZ.js +0 -207
- package/dist/browser/browser-CdX8WGiZ.js.map +0 -1
- package/dist/browser/dist-CaWRqnXk.js +0 -62
- package/dist/browser/dist-CaWRqnXk.js.map +0 -1
- package/dist/browser/dist-DQkngCcw.js +0 -36
- package/dist/browser/dist-DQkngCcw.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delivery-D-evP5is.js","names":["e","t"],"sources":["../../../../shared/player-events/dist/index.js","../../../multiple-choice/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js","../../../../lib-react/icons/dist/correct-response-icon.js","../../../multiple-choice/dist/delivery/feedback-tick.js","../../../multiple-choice/dist/delivery/choice-input.js","../../../multiple-choice/dist/delivery/choice.js","../../../../lib-react/correct-answer-toggle/dist/expander.js","../../../../lib-react/correct-answer-toggle/dist/index.js","../../../multiple-choice/dist/delivery/multiple-choice.js","../../../multiple-choice/dist/delivery/main.js","../../../multiple-choice/dist/delivery/session-updater.js","../../../multiple-choice/dist/delivery/index.js"],"sourcesContent":["//#region src/index.ts\nvar e = class e extends CustomEvent {\n\tstatic {\n\t\tthis.TYPE = \"model-set\";\n\t}\n\tconstructor(t, n, r) {\n\t\tsuper(e.TYPE, {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0,\n\t\t\tdetail: {\n\t\t\t\tcomplete: n,\n\t\t\t\tcomponent: t,\n\t\t\t\thasModel: r\n\t\t\t}\n\t\t}), this.component = t, this.complete = n;\n\t}\n}, t = class e extends CustomEvent {\n\tstatic {\n\t\tthis.TYPE = \"session-changed\";\n\t}\n\tconstructor(t, n) {\n\t\tsuper(e.TYPE, {\n\t\t\tbubbles: !0,\n\t\t\tcomposed: !0,\n\t\t\tdetail: {\n\t\t\t\tcomplete: n,\n\t\t\t\tcomponent: t\n\t\t\t}\n\t\t}), this.component = t, this.complete = n;\n\t}\n};\n//#endregion\nexport { e as ModelSetEvent, t as SessionChangedEvent };\n","//#region ../../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs\nfunction e(t) {\n\tvar n, r, i = \"\";\n\tif (typeof t == \"string\" || typeof t == \"number\") i += t;\n\telse if (typeof t == \"object\") if (Array.isArray(t)) {\n\t\tvar a = t.length;\n\t\tfor (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += \" \"), i += r);\n\t} else for (r in t) t[r] && (i && (i += \" \"), i += r);\n\treturn i;\n}\nfunction t() {\n\tfor (var t, n, r = 0, i = \"\", a = arguments.length; r < a; r++) (t = arguments[r]) && (n = e(t)) && (i && (i += \" \"), i += n);\n\treturn i;\n}\n//#endregion\nexport { t as default };\n","import \"react\";\nimport e from \"prop-types\";\nimport { jsx as t, jsxs as n } from \"react/jsx-runtime\";\nimport { styled as r } from \"@mui/material/styles\";\n//#region src/correct-response-icon.tsx\nvar i = ({ bgFill: e, fgFill: r }) => /* @__PURE__ */ n(\"svg\", {\n\tpreserveAspectRatio: \"xMinYMin meet\",\n\tversion: \"1.1\",\n\tviewBox: \"-283 359 34 35\",\n\tstyle: { enableBackground: \"new -283 359 34 35\" },\n\tchildren: [\n\t\t/* @__PURE__ */ t(\"circle\", {\n\t\t\tcx: \"-266\",\n\t\t\tcy: \"375.9\",\n\t\t\tr: \"14\",\n\t\t\tfill: e\n\t\t}),\n\t\t/* @__PURE__ */ t(\"path\", {\n\t\t\td: \"M-280.5,375.9c0-8,6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5s-6.5,14.5-14.5,14.5S-280.5,383.9-280.5,375.9z\\n M-279.5,375.9c0,7.4,6.1,13.5,13.5,13.5c7.4,0,13.5-6.1,13.5-13.5s-6.1-13.5-13.5-13.5C-273.4,362.4-279.5,368.5-279.5,375.9z\",\n\t\t\tfill: e\n\t\t}),\n\t\t/* @__PURE__ */ t(\"polygon\", {\n\t\t\tpoints: \"-265.4,383.1 -258.6,377.2 -261.2,374.2 -264.3,376.9 -268.9,368.7 -272.4,370.6\",\n\t\t\tfill: r\n\t\t})\n\t]\n});\ni.propTypes = {\n\tbgFill: e.string.isRequired,\n\tfgFill: e.string.isRequired\n};\nvar a = ({ bgFill: e, fgFill: r, borderFill: i }) => /* @__PURE__ */ n(\"svg\", {\n\tpreserveAspectRatio: \"xMinYMin meet\",\n\tversion: \"1.1\",\n\tviewBox: \"-129.5 127 34 35\",\n\tstyle: { enableBackground: \"new -129.5 127 34 35\" },\n\tchildren: [\n\t\t/* @__PURE__ */ t(\"path\", {\n\t\t\tstyle: {\n\t\t\t\tfill: \"#D0CAC5\",\n\t\t\t\tstroke: \"#E6E3E0\",\n\t\t\t\tstrokeWidth: .75,\n\t\t\t\tstrokeMiterlimit: 10\n\t\t\t},\n\t\t\td: \"M-112.9,160.4c-8.5,0-15.5-6.9-15.5-15.5c0-8.5,6.9-15.5,15.5-15.5s15.5,6.9,15.5,15.5\\n C-97.4,153.5-104.3,160.4-112.9,160.4z\"\n\t\t}),\n\t\t/* @__PURE__ */ t(\"path\", {\n\t\t\tstyle: {\n\t\t\t\tfill: \"#B3ABA4\",\n\t\t\t\tstroke: \"#CDC7C2\",\n\t\t\t\tstrokeWidth: .5,\n\t\t\t\tstrokeMiterlimit: 10\n\t\t\t},\n\t\t\td: \"M-113.2,159c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-105.2,159-113.2,159z\"\n\t\t}),\n\t\t/* @__PURE__ */ t(\"circle\", {\n\t\t\tcx: \"-114.2\",\n\t\t\tcy: \"143.5\",\n\t\t\tr: \"14\",\n\t\t\tfill: e\n\t\t}),\n\t\t/* @__PURE__ */ t(\"path\", {\n\t\t\td: \"M-114.2,158c-8,0-14.5-6.5-14.5-14.5s6.5-14.5,14.5-14.5s14.5,6.5,14.5,14.5S-106.2,158-114.2,158z\\n M-114.2,130c-7.4,0-13.5,6.1-13.5,13.5s6.1,13.5,13.5,13.5s13.5-6.1,13.5-13.5S-106.8,130-114.2,130z\",\n\t\t\tfill: i\n\t\t}),\n\t\t/* @__PURE__ */ t(\"polygon\", {\n\t\t\tpoints: \"-114.8,150.7 -121.6,144.8 -119,141.8 -115.9,144.5 -111.3,136.3 -107.8,138.2\",\n\t\t\tfill: r\n\t\t})\n\t]\n});\na.propTypes = {\n\tbgFill: e.string.isRequired,\n\tfgFill: e.string.isRequired,\n\tborderFill: e.string.isRequired\n};\nvar o = r(\"div\")(({ size: e }) => ({\n\twidth: e || \"25px\",\n\theight: e || \"25px\"\n})), s = ({ open: e, size: n }) => /* @__PURE__ */ t(o, {\n\tsize: n,\n\tchildren: e ? /* @__PURE__ */ t(i, {\n\t\tbgFill: \"#bce2ff\",\n\t\tfgFill: \"#1a9cff\"\n\t}) : /* @__PURE__ */ t(a, {\n\t\tbgFill: \"white\",\n\t\tfgFill: \"#1a9cff\",\n\t\tborderFill: \"#bce2ff\"\n\t})\n});\ns.propTypes = {\n\topen: e.bool,\n\tsize: e.string\n}, s.defaultProps = { open: !1 };\n//#endregion\nexport { s as default };\n","import e from \"react\";\nimport t from \"prop-types\";\nimport { color as n } from \"@pie-lib/render-ui\";\nimport { jsx as r, jsxs as i } from \"react/jsx-runtime\";\nimport { styled as a } from \"@mui/material/styles\";\nimport o from \"@mui/material/Box\";\nimport { CSSTransition as s, TransitionGroup as c } from \"react-transition-group\";\n//#region src/delivery/feedback-tick.tsx\nvar l = a(o)({\n\twidth: \"33px\",\n\theight: \"33px\",\n\t\"& svg\": {\n\t\tposition: \"absolute\",\n\t\tdisplay: \"inline-block\",\n\t\twidth: \"33px\",\n\t\theight: \"33px\",\n\t\tverticalAlign: \"middle\",\n\t\t\"& hide\": { display: \"none\" }\n\t}\n}), u = a(\"svg\")({\n\t\"& .incorrect-fill\": { fill: `var(--feedback-incorrect-bg-color, ${n.incorrect()})` },\n\t\"& .correct-fill\": { fill: `var(--feedback-correct-bg-color, ${n.correct()})` }\n}), d = a(\"div\")({\n\tposition: \"relative\",\n\t\"&.feedback-tick-enter\": {\n\t\topacity: \"0\",\n\t\tleft: \"-50px\"\n\t},\n\t\"&.feedback-tick-enter-active\": {\n\t\topacity: \"1\",\n\t\tleft: \"0px\",\n\t\ttransition: \"left 500ms ease-in 200ms, opacity 500ms linear 200ms\"\n\t},\n\t\"&.feedback-tick-exit\": {\n\t\topacity: \"1\",\n\t\tleft: \"0px\"\n\t},\n\t\"&.feedback-tick-exit-active\": {\n\t\topacity: \"0\",\n\t\tleft: \"-50px\",\n\t\ttransition: \"left 300ms ease-in, opacity 300ms\"\n\t}\n}), f = class extends e.Component {\n\tstatic propTypes = { correctness: t.string };\n\tconstructor(t) {\n\t\tsuper(t), this.nodeRef = e.createRef();\n\t}\n\tgetIncorrectIcon = () => /* @__PURE__ */ r(u, {\n\t\tpreserveAspectRatio: \"xMinYMin meet\",\n\t\tx: \"0px\",\n\t\ty: \"0px\",\n\t\tviewBox: \"0 0 44 40\",\n\t\tstyle: { enableBackground: \"new 0 0 44 40\" },\n\t\tchildren: /* @__PURE__ */ i(\"g\", { children: [/* @__PURE__ */ r(\"rect\", {\n\t\t\tx: \"11\",\n\t\t\ty: \"17.3\",\n\t\t\ttransform: \"matrix(0.7071 -0.7071 0.7071 0.7071 -7.852 19.2507)\",\n\t\t\tclassName: \"incorrect-fill\",\n\t\t\twidth: \"16.6\",\n\t\t\theight: \"3.7\"\n\t\t}), /* @__PURE__ */ r(\"rect\", {\n\t\t\tx: \"17.4\",\n\t\t\ty: \"10.7\",\n\t\t\ttransform: \"matrix(0.7071 -0.7071 0.7071 0.7071 -7.8175 19.209)\",\n\t\t\tclassName: \"incorrect-fill\",\n\t\t\twidth: \"3.7\",\n\t\t\theight: \"16.6\"\n\t\t})] })\n\t}, \"1\");\n\tgetCorrectIcon = () => /* @__PURE__ */ r(u, {\n\t\tpreserveAspectRatio: \"xMinYMin meet\",\n\t\tversion: \"1.1\",\n\t\tx: \"0px\",\n\t\ty: \"0px\",\n\t\tviewBox: \"0 0 44 40\",\n\t\tstyle: { enableBackground: \"new 0 0 44 40\" },\n\t\tchildren: /* @__PURE__ */ r(\"polygon\", {\n\t\t\tclassName: \"correct-fill\",\n\t\t\tpoints: \"19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4\"\n\t\t})\n\t}, \"2\");\n\trender() {\n\t\tlet { correctness: e } = this.props, t = e === \"incorrect\" ? this.getIncorrectIcon() : e === \"correct\" ? this.getCorrectIcon() : null;\n\t\treturn /* @__PURE__ */ r(l, { children: /* @__PURE__ */ r(c, { children: e && /* @__PURE__ */ r(s, {\n\t\t\tnodeRef: this.nodeRef,\n\t\t\tclassNames: {\n\t\t\t\tenter: \"feedback-tick-enter\",\n\t\t\t\tenterActive: \"feedback-tick-enter-active\",\n\t\t\t\texit: \"feedback-tick-exit\",\n\t\t\t\texitActive: \"feedback-tick-exit-active\"\n\t\t\t},\n\t\t\ttimeout: {\n\t\t\t\tenter: 700,\n\t\t\t\texit: 300\n\t\t\t},\n\t\t\tchildren: /* @__PURE__ */ r(d, {\n\t\t\t\tref: this.nodeRef,\n\t\t\t\tchildren: t\n\t\t\t})\n\t\t}) }) });\n\t}\n};\n//#endregion\nexport { f as default };\n","import e from \"../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js\";\nimport t from \"./feedback-tick.js\";\nimport n from \"react\";\nimport r from \"prop-types\";\nimport * as i from \"@pie-lib/render-ui\";\nimport { Feedback as a, PreviewPrompt as o, color as s } from \"@pie-lib/render-ui\";\nimport { Fragment as c, jsx as l, jsxs as u } from \"react/jsx-runtime\";\nimport { styled as d } from \"@mui/material/styles\";\nimport f from \"@mui/material/Box\";\nimport p from \"@mui/material/FormControlLabel\";\nimport m from \"@mui/material/Checkbox\";\nimport h from \"@mui/material/Radio\";\n//#region src/delivery/choice-input.tsx\nfunction g(e) {\n\treturn typeof e == \"function\" || typeof e == \"object\" && !!e && typeof e.$$typeof == \"symbol\";\n}\nfunction _(e, t) {\n\treturn !e || g(e) ? e : g(e.default) ? e.default : t && g(e[t]) ? e[t] : t && g(e[t]?.default) ? e[t].default : e;\n}\nvar v = _(o, \"PreviewPrompt\") || _(S.PreviewPrompt, \"PreviewPrompt\"), y = _(a, \"Feedback\") || _(S.Feedback, \"Feedback\"), b = i, x = b.default, S = x && typeof x == \"object\" ? x : b, C = \"multiple-choice-component\", w = d(f)({\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n\tbackgroundColor: s.background()\n}), T = d(f)({\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n\tbackgroundColor: s.background(),\n\tflex: 1,\n\t\"& .MuiFormControlLabel-root\": { marginLeft: \"-14px\" },\n\t\"& label\": {\n\t\tcolor: s.text(),\n\t\t\"& > span\": { fontSize: \"inherit\" },\n\t\t\"& > .MuiButtonBase-root\": { padding: \"12px\" }\n\t}\n}), E = d(\"span\")(({ theme: e }) => ({\n\tdisplay: \"flex\",\n\talignItems: \"center\",\n\t\"& > span\": { marginLeft: `-${e.spacing(1)}` }\n})), D = d(\"span\")({\n\tposition: \"absolute\",\n\tleft: \"-10000px\",\n\ttop: \"auto\",\n\twidth: \"1px\",\n\theight: \"1px\",\n\toverflow: \"hidden\"\n}), O = d(p)({\n\t\"& .MuiFormControlLabel-label\": {\n\t\tcolor: `${s.text()} !important`,\n\t\tbackgroundColor: s.background(),\n\t\tletterSpacing: \"normal\"\n\t},\n\t\"&.Mui-disabled *\": { cursor: \"not-allowed !important\" }\n}), k = (e, t) => ({ [`&.${C}`]: { color: `var(--choice-input-${e}, ${t}) !important` } }), A = (e) => {\n\tlet t = (t) => e ? `${e}-${t}` : t;\n\treturn {\n\t\t[t(\"root\")]: {\n\t\t\t...k(\"color\", s.text()),\n\t\t\t...e ? {} : { \"&:hover\": { color: `${s.primaryLight()} !important` } },\n\t\t\t...e === \"correct\" ? k(\"correct-color\", s.text()) : {},\n\t\t\t...e === \"incorrect\" ? k(\"incorrect-color\", s.incorrect()) : {}\n\t\t},\n\t\t[t(\"checked\")]: {\n\t\t\t...e === \"correct\" ? k(\"correct-selected-color\", s.correct()) : {},\n\t\t\t...e === \"incorrect\" ? k(\"incorrect-checked\", s.incorrect()) : {},\n\t\t\t...e ? {} : k(\"selected-color\", s.primary())\n\t\t},\n\t\t[t(\"disabled\")]: {\n\t\t\t...k(\"disabled-color\", s.text()),\n\t\t\t...e === \"correct\" ? k(\"correct-disabled-color\", s.disabled()) : {},\n\t\t\t...e === \"incorrect\" ? k(\"incorrect-disabled-color\", s.disabled()) : {},\n\t\t\topacity: .6,\n\t\t\tcursor: \"not-allowed !important\",\n\t\t\tpointerEvents: \"initial !important\"\n\t\t},\n\t\tfocusVisibleUnchecked: {\n\t\t\toutline: `2px solid ${s.keyBoardFocusIndicator()}`,\n\t\t\tbackgroundColor: \"transparent\"\n\t\t},\n\t\tfocusVisibleChecked: {\n\t\t\toutline: `2px solid ${s.keyBoardFocusIndicator()}`,\n\t\t\tbackgroundColor: \"transparent\"\n\t\t}\n\t};\n}, j = d(m, { shouldForwardProp: (e) => e !== \"correctness\" })(({ correctness: e }) => {\n\tlet t = A(e), n = (t) => e ? `${e}-${t}` : t;\n\treturn {\n\t\t[`&.${C}`]: {\n\t\t\t...t[n(\"root\")],\n\t\t\t\"&.Mui-checked\": t[n(\"checked\")],\n\t\t\t\"&.Mui-disabled\": e ? {} : t[n(\"disabled\")]\n\t\t},\n\t\t\"&.Mui-focusVisible\": {\n\t\t\t\"&:not(.Mui-checked)\": t.focusVisibleUnchecked,\n\t\t\t\"&.Mui-checked\": t.focusVisibleChecked\n\t\t}\n\t};\n}), M = (e) => {\n\tlet { correctness: t, checked: n, onChange: r, disabled: i, value: a, id: o, onKeyDown: s, inputRef: c } = e;\n\treturn /* @__PURE__ */ l(j, {\n\t\tid: o,\n\t\tslotProps: { input: { ref: c } },\n\t\tonKeyDown: s,\n\t\tdisableRipple: !0,\n\t\tchecked: n,\n\t\tonChange: r,\n\t\tdisabled: i,\n\t\tvalue: a,\n\t\tcorrectness: t,\n\t\tclassName: C\n\t});\n}, N = d(h, { shouldForwardProp: (e) => e !== \"correctness\" })(({ correctness: e }) => {\n\tlet t = A(e), n = (t) => e ? `${e}-${t}` : t;\n\treturn {\n\t\t[`&.${C}`]: {\n\t\t\t...t[n(\"root\")],\n\t\t\t\"&.Mui-checked\": t[n(\"checked\")],\n\t\t\t\"&.Mui-disabled\": e ? {} : t[n(\"disabled\")]\n\t\t},\n\t\t\"&.Mui-focusVisible\": {\n\t\t\t\"& input\": { outline: 0 },\n\t\t\t\"&:not(.Mui-checked)\": t.focusVisibleUnchecked,\n\t\t\t\"&.Mui-checked\": t.focusVisibleChecked\n\t\t}\n\t};\n}), P = (e) => {\n\tlet { correctness: t, checked: n, onChange: r, disabled: i, value: a, id: o, tagName: s, inputRef: c } = e;\n\treturn /* @__PURE__ */ l(N, {\n\t\tid: o,\n\t\tslotProps: { input: { ref: c } },\n\t\tdisableRipple: !0,\n\t\tchecked: n,\n\t\tonChange: r,\n\t\tdisabled: i,\n\t\tvalue: a,\n\t\tcorrectness: t,\n\t\tclassName: C,\n\t\tname: s\n\t});\n}, F = class extends n.Component {\n\tstatic propTypes = {\n\t\tchoiceMode: r.oneOf([\"radio\", \"checkbox\"]),\n\t\tdisplayKey: r.string,\n\t\tchecked: r.bool.isRequired,\n\t\tcorrectness: r.string,\n\t\tdisabled: r.bool.isRequired,\n\t\tfeedback: r.string,\n\t\tlabel: r.string.isRequired,\n\t\trationale: r.string,\n\t\tonChange: r.func.isRequired,\n\t\tvalue: r.string.isRequired,\n\t\tclassName: r.string,\n\t\ttagName: r.string,\n\t\thideTick: r.bool,\n\t\tisEvaluateMode: r.bool,\n\t\tchoicesLayout: r.oneOf([\n\t\t\t\"vertical\",\n\t\t\t\"grid\",\n\t\t\t\"horizontal\"\n\t\t]),\n\t\tisSelectionButtonBelow: r.bool\n\t};\n\tstatic defaultProps = {\n\t\trationale: null,\n\t\tchecked: !1,\n\t\tisEvaluateMode: !1\n\t};\n\tconstructor(e) {\n\t\tsuper(e), this.onToggleChoice = this.onToggleChoice.bind(this), this.choiceId = this.generateChoiceId(), this.descId = `${this.choiceId}-desc`;\n\t}\n\tonToggleChoice(e) {\n\t\tthis.props.onChange(e);\n\t}\n\tgenerateChoiceId() {\n\t\treturn \"choice-\" + (Math.random() * 1e4).toFixed();\n\t}\n\thandleKeyDown = (e) => {\n\t\tlet { choiceMode: t } = this.props;\n\t\tif (t !== \"checkbox\") return;\n\t\tlet n = e.key === \"ArrowDown\", r = e.key === \"ArrowUp\";\n\t\tif (!n && !r) return;\n\t\te.preventDefault();\n\t\tlet i = document.getElementById(this.choiceId);\n\t\tif (!i) return;\n\t\tlet a = i.closest(\"fieldset\");\n\t\tif (!a) return;\n\t\tlet o = Array.from(a.querySelectorAll(\"input[type=\\\"checkbox\\\"]\")), s = o.findIndex((e) => e === i);\n\t\tif (s === -1) return;\n\t\tlet c = o[n ? s + 1 : s - 1];\n\t\tc && c.focus();\n\t};\n\trender() {\n\t\tlet { choiceMode: n, disabled: r, displayKey: i, feedback: a, label: o, correctness: s, className: d, rationale: f, hideTick: p, isEvaluateMode: m, choicesLayout: h, value: g, checked: _, tagName: b, isSelectionButtonBelow: x } = this.props, S = n === \"checkbox\" ? M : P, k = n === \"checkbox\" ? \"checkbox\" : \"radio-button\", A = {\n\t\t\t...h === \"horizontal\" && { [`& .${C}`]: {\n\t\t\t\tpadding: \"8px\",\n\t\t\t\tmargin: \"4px 0 4px 4px\"\n\t\t\t} },\n\t\t\t...x && h !== \"grid\" && { \"& > label\": { alignItems: \"flex-start\" } },\n\t\t\t...x && h === \"grid\" && {\n\t\t\t\tjustifyContent: \"center\",\n\t\t\t\t\"& > label\": { alignItems: \"center\" }\n\t\t\t}\n\t\t}, j = typeof o == \"string\" && (o.includes(\"<math\") || o.includes(\"\\\\(\") || o.includes(\"\\\\[\") || o.includes(\"<img\") || o.includes(\"data-latex\") || o.includes(\"data-raw\") || o.includes(\"<mjx-container\")), N = i ? /* @__PURE__ */ l(D, {\n\t\t\tid: this.descId,\n\t\t\tchildren: j ? `Pick the answer below, ${i}` : i\n\t\t}) : null, F = /* @__PURE__ */ l(c, { children: i && !x ? /* @__PURE__ */ u(w, {\n\t\t\tcomponent: \"span\",\n\t\t\tchildren: [/* @__PURE__ */ u(\"span\", {\n\t\t\t\t\"aria-hidden\": \"true\",\n\t\t\t\tchildren: [\n\t\t\t\t\ti,\n\t\t\t\t\t\".\",\n\t\t\t\t\t\"\\xA0\"\n\t\t\t\t]\n\t\t\t}), /* @__PURE__ */ l(v, {\n\t\t\t\tclassName: \"prompt-label\",\n\t\t\t\tprompt: o,\n\t\t\t\ttagName: \"span\"\n\t\t\t})]\n\t\t}) : /* @__PURE__ */ l(v, {\n\t\t\tclassName: \"prompt-label\",\n\t\t\tprompt: o,\n\t\t\ttagName: \"span\"\n\t\t}) }), I = {\n\t\t\tdisabled: r,\n\t\t\tchecked: _,\n\t\t\tcorrectness: s,\n\t\t\ttagName: b,\n\t\t\tvalue: g,\n\t\t\tid: this.choiceId,\n\t\t\tonChange: this.onToggleChoice,\n\t\t\tonKeyDown: this.handleKeyDown,\n\t\t\t...N ? { \"aria-describedby\": this.descId } : {}\n\t\t}, L = x ? /* @__PURE__ */ u(E, { children: [\n\t\t\tN,\n\t\t\t/* @__PURE__ */ l(S, {\n\t\t\t\t...I,\n\t\t\t\tstyle: { padding: 0 }\n\t\t\t}),\n\t\t\t/* @__PURE__ */ l(\"span\", {\n\t\t\t\t\"aria-hidden\": \"true\",\n\t\t\t\tchildren: i ? `${i}.` : \"\"\n\t\t\t})\n\t\t] }) : /* @__PURE__ */ u(c, { children: [N, /* @__PURE__ */ l(S, { ...I })] });\n\t\treturn /* @__PURE__ */ u(\"div\", {\n\t\t\tclassName: e(d, \"corespring-\" + k, \"choice-input\"),\n\t\t\tchildren: [\n\t\t\t\t/* @__PURE__ */ u(w, { children: [!p && m && /* @__PURE__ */ l(t, { correctness: s }), /* @__PURE__ */ l(T, {\n\t\t\t\t\tclassName: \"checkbox-holder\",\n\t\t\t\t\tsx: A,\n\t\t\t\t\tchildren: /* @__PURE__ */ l(O, {\n\t\t\t\t\t\tlabel: F,\n\t\t\t\t\t\tvalue: g,\n\t\t\t\t\t\thtmlFor: this.choiceId,\n\t\t\t\t\t\tlabelPlacement: x ? \"top\" : void 0,\n\t\t\t\t\t\tcontrol: L\n\t\t\t\t\t})\n\t\t\t\t})] }),\n\t\t\t\tf && /* @__PURE__ */ l(v, {\n\t\t\t\t\tclassName: \"rationale\",\n\t\t\t\t\tdefaultClassName: \"rationale\",\n\t\t\t\t\tprompt: f\n\t\t\t\t}),\n\t\t\t\t/* @__PURE__ */ l(y, {\n\t\t\t\t\tfeedback: a,\n\t\t\t\t\tcorrectness: s\n\t\t\t\t})\n\t\t\t]\n\t\t});\n\t}\n};\n//#endregion\nexport { F as default };\n","import e from \"./choice-input.js\";\nimport t from \"react\";\nimport n from \"prop-types\";\nimport { jsx as r } from \"react/jsx-runtime\";\nimport { styled as i } from \"@mui/material/styles\";\nimport a from \"@mui/material/Box\";\n//#region src/delivery/choice.tsx\nvar o = i(a, { shouldForwardProp: (e) => e !== \"noBorder\" && e !== \"horizontalLayout\" })(({ theme: e, noBorder: t, horizontalLayout: n }) => ({\n\tpaddingTop: e.spacing(2.5),\n\tpaddingBottom: `calc(${e.spacing(1)} + 2px)`,\n\tpaddingLeft: `calc(${e.spacing(1)} + 2px)`,\n\tpaddingRight: `calc(${e.spacing(1)} + 2px)`,\n\tborderBottom: t ? \"none\" : `1px solid ${e.palette.grey[300]}`,\n\t...n && {\n\t\tpaddingRight: e.spacing(2.5),\n\t\t\"& label\": { marginRight: e.spacing(1) }\n\t}\n})), s = class extends t.Component {\n\tstatic propTypes = {};\n\tstate = { isHovered: !1 };\n\thandleMouseEnter = () => {\n\t\tlet { disabled: e, checked: t } = this.props;\n\t\t!e && !t && this.setState({ isHovered: !0 });\n\t};\n\thandleMouseLeave = () => {\n\t\tthis.setState({ isHovered: !1 });\n\t};\n\tonChange = (e) => {\n\t\tlet { disabled: t, onChoiceChanged: n } = this.props;\n\t\tt || n(e);\n\t};\n\trender() {\n\t\tlet { choice: t, index: n, choicesLength: i, showCorrect: a, isEvaluateMode: s, choiceMode: c, disabled: l, checked: u, correctness: d, displayKey: f, choicesLayout: p, gridColumns: m, isSelectionButtonBelow: h, selectedAnswerBackgroundColor: g, selectedAnswerStrokeColor: _, selectedAnswerStrokeWidth: v, hoverAnswerBackgroundColor: y, hoverAnswerStrokeColor: b, hoverAnswerStrokeWidth: x, tagName: S } = this.props, { isHovered: C } = this.state, w = \"choice\" + (n === i - 1 ? \" last\" : \"\"), T = !s || a ? \"\" : t.feedback, E = {\n\t\t\t...t,\n\t\t\tchecked: u,\n\t\t\tchoiceMode: c,\n\t\t\tdisabled: l,\n\t\t\tfeedback: T,\n\t\t\tcorrectness: d,\n\t\t\tdisplayKey: f,\n\t\t\tindex: n,\n\t\t\tchoicesLayout: p,\n\t\t\tgridColumns: m,\n\t\t\tonChange: this.onChange,\n\t\t\tisEvaluateMode: s,\n\t\t\tisSelectionButtonBelow: h,\n\t\t\tselectedAnswerStrokeColor: _,\n\t\t\tselectedAnswerStrokeWidth: v,\n\t\t\ttagName: S\n\t\t}, D = (e) => {\n\t\t\tif (!e) return \"2px\";\n\t\t\tlet t = String(e).trim();\n\t\t\treturn /^\\d+(\\.\\d+)?$/.test(t) ? `${t}px` : t;\n\t\t}, O = _ && _ !== \"initial\", k = b && b !== \"initial\", A = \"transparent\", j = \"2px\", M = \"initial\";\n\t\t(O || k) && (u && O ? (A = _, j = v) : C && !l && k && (A = b, j = x)), u && g && g !== \"initial\" ? M = g : C && !l && y && y !== \"initial\" && (M = y);\n\t\tlet N = O || k, P = N ? {\n\t\t\tborder: `${D(j)} solid ${A}`,\n\t\t\tborderRadius: \"8px\"\n\t\t} : {}, F = n === i - 1 || p !== \"vertical\" || N, I = p === \"horizontal\";\n\t\treturn /* @__PURE__ */ r(\"div\", {\n\t\t\tclassName: w,\n\t\t\tstyle: {\n\t\t\t\tbackgroundColor: M === \"initial\" ? \"initial\" : M,\n\t\t\t\t...P\n\t\t\t},\n\t\t\tonMouseEnter: this.handleMouseEnter,\n\t\t\tonMouseLeave: this.handleMouseLeave,\n\t\t\tchildren: /* @__PURE__ */ r(o, {\n\t\t\t\tcomponent: \"div\",\n\t\t\t\tnoBorder: F,\n\t\t\t\thorizontalLayout: I,\n\t\t\t\tchildren: /* @__PURE__ */ r(e, { ...E })\n\t\t\t})\n\t\t}, n);\n\t}\n};\ns.propTypes = {\n\tchoiceMode: n.oneOf([\"radio\", \"checkbox\"]),\n\tchoice: n.object,\n\tdisabled: n.bool.isRequired,\n\tonChoiceChanged: n.func,\n\tindex: n.number,\n\tchoicesLength: n.number,\n\tshowCorrect: n.bool,\n\tisEvaluateMode: n.bool,\n\tchecked: n.bool,\n\tcorrectness: n.string,\n\tdisplayKey: n.string,\n\tchoicesLayout: n.oneOf([\n\t\t\"vertical\",\n\t\t\"grid\",\n\t\t\"horizontal\"\n\t]),\n\tgridColumns: n.string,\n\tselectedAnswerBackgroundColor: n.string,\n\tselectedAnswerStrokeColor: n.string,\n\tselectedAnswerStrokeWidth: n.string,\n\thoverAnswerBackgroundColor: n.string,\n\thoverAnswerStrokeColor: n.string,\n\thoverAnswerStrokeWidth: n.string,\n\ttagName: n.string,\n\tisSelectionButtonBelow: n.bool\n};\n//#endregion\nexport { s as default };\n","import { styled as e } from \"@mui/material/styles\";\nimport { CSSTransition as t } from \"react-transition-group\";\nimport { jsx as n } from \"react/jsx-runtime\";\nimport { useRef as r } from \"react\";\nimport i from \"prop-types\";\n//#region src/expander.tsx\nvar a = \"height ease-in 300ms, opacity ease-in 300ms\", o = e(\"div\")(() => ({\n\tposition: \"relative\",\n\theight: 0,\n\toverflow: \"hidden\",\n\tdisplay: \"flex\",\n\tvisibility: \"hidden\",\n\twidth: 0,\n\t\"&.enter\": {\n\t\ttransition: a,\n\t\topacity: 1,\n\t\theight: \"auto\",\n\t\twidth: \"auto\",\n\t\tvisibility: \"visible\",\n\t\tminHeight: \"25px\"\n\t},\n\t\"&.enter-done\": {\n\t\theight: \"auto\",\n\t\tvisibility: \"visible\",\n\t\twidth: \"auto\",\n\t\tminHeight: \"25px\"\n\t},\n\t\"&.exit\": {\n\t\ttransition: a,\n\t\topacity: 0,\n\t\theight: 0,\n\t\tvisibility: \"visible\",\n\t\twidth: 0\n\t},\n\t\"&.exit-done\": {\n\t\topacity: 0,\n\t\tvisibility: \"hidden\",\n\t\theight: 0,\n\t\twidth: 0\n\t}\n})), s = (e) => {\n\tlet { show: i, children: a, className: s } = e, c = r(null);\n\treturn /* @__PURE__ */ n(t, {\n\t\tnodeRef: c,\n\t\tin: i,\n\t\tappear: !0,\n\t\tmountOnEnter: !1,\n\t\ttimeout: 300,\n\t\tclassNames: {\n\t\t\tenter: \"enter\",\n\t\t\tenterDone: \"enter-done\",\n\t\t\texit: \"exit\",\n\t\t\texitDone: \"exit-done\"\n\t\t},\n\t\tchildren: /* @__PURE__ */ n(o, {\n\t\t\tref: c,\n\t\t\tclassName: s,\n\t\t\tchildren: a\n\t\t})\n\t});\n};\ns.propTypes = {\n\tshow: i.bool.isRequired,\n\tclassName: i.string,\n\tchildren: i.oneOfType([i.arrayOf(i.node), i.node]).isRequired\n};\n//#endregion\nexport { s as default };\n","import e from \"./expander.js\";\nimport { styled as t } from \"@mui/material/styles\";\nimport { CSSTransition as n } from \"react-transition-group\";\nimport { CorrectResponse as r } from \"@pie-lib/icons\";\nimport * as i from \"@pie-lib/render-ui\";\nimport { Readable as a, color as o } from \"@pie-lib/render-ui\";\nimport { jsx as s, jsxs as c } from \"react/jsx-runtime\";\nimport l from \"react\";\nimport u from \"prop-types\";\nimport d from \"@pie-lib/translator\";\n//#region src/index.tsx\nfunction f(e) {\n\treturn typeof e == \"function\" || typeof e == \"object\" && !!e && typeof e.$$typeof == \"symbol\";\n}\nfunction p(e, t) {\n\treturn !e || f(e) ? e : f(e.default) ? e.default : t && f(e[t]) ? e[t] : t && f(e[t]?.default) ? e[t].default : e;\n}\nvar m = p(a, \"Readable\") || p(_.Readable, \"Readable\"), h = i, g = h.default, _ = g && typeof g == \"object\" ? g : h, { translator: v } = d, y = {\n\tWebkitTouchCallout: \"none\",\n\tWebkitUserSelect: \"none\",\n\tKhtmlUserSelect: \"none\",\n\tMozUserSelect: \"none\",\n\tmsUserSelect: \"none\",\n\tuserSelect: \"none\"\n}, b = t(\"div\")(() => ({\n\twidth: \"100%\",\n\tcursor: \"pointer\"\n})), x = t(\"div\")(() => ({\n\tmargin: \"0 auto\",\n\ttextAlign: \"center\",\n\tdisplay: \"flex\"\n})), S = t(\"div\")(() => ({\n\twidth: \"fit-content\",\n\tminWidth: \"140px\",\n\talignSelf: \"center\",\n\tverticalAlign: \"middle\",\n\tcolor: `var(--correct-answer-toggle-label-color, ${o.text()})`,\n\tfontWeight: \"normal\",\n\t...y\n})), C = t(\"div\")(() => ({\n\tposition: \"absolute\",\n\twidth: \"25px\",\n\t\"&.enter\": { opacity: \"0\" },\n\t\"&.enter-active\": {\n\t\topacity: \"1\",\n\t\ttransition: \"opacity 0.3s ease-in\"\n\t},\n\t\"&.exit\": { opacity: \"1\" },\n\t\"&.exit-active\": {\n\t\topacity: \"0\",\n\t\ttransition: \"opacity 0.3s ease-in\"\n\t}\n})), w = t(\"div\")(() => ({\n\twidth: \"25px\",\n\tmarginRight: \"5px\",\n\tdisplay: \"flex\",\n\talignItems: \"center\"\n})), T = class t extends l.Component {\n\tstatic propTypes = {\n\t\tonToggle: u.func,\n\t\ttoggled: u.bool,\n\t\tshow: u.bool,\n\t\thideMessage: u.string,\n\t\tshowMessage: u.string,\n\t\tclassName: u.string,\n\t\tlanguage: u.string\n\t};\n\tstatic defaultProps = {\n\t\tshowMessage: \"Show correct answer\",\n\t\thideMessage: \"Hide correct answer\",\n\t\tshow: !1,\n\t\ttoggled: !1\n\t};\n\tconstructor(e) {\n\t\tsuper(e), this.state = { show: e.show }, this.openIconRef = l.createRef(), this.closedIconRef = l.createRef(), t.defaultProps = {\n\t\t\t...t.defaultProps,\n\t\t\tshowMessage: v.t(\"common:showCorrectAnswer\", { lng: e.language }),\n\t\t\thideMessage: v.t(\"common:hideCorrectAnswer\", { lng: e.language })\n\t\t};\n\t}\n\tonClick() {\n\t\tthis.props.onToggle(!this.props.toggled);\n\t}\n\tonTouch(e) {\n\t\te.preventDefault(), this.props.onToggle(!this.props.toggled);\n\t}\n\tUNSAFE_componentWillReceiveProps(e) {\n\t\tthis.setState({ show: e.show }), e.language !== this.props?.language && (t.defaultProps = {\n\t\t\t...t.defaultProps,\n\t\t\tshowMessage: v.t(\"common:showCorrectAnswer\", { lng: e.language }),\n\t\t\thideMessage: v.t(\"common:hideCorrectAnswer\", { lng: e.language })\n\t\t});\n\t}\n\trender() {\n\t\tlet { className: t, toggled: i, hideMessage: a, showMessage: o } = this.props;\n\t\treturn /* @__PURE__ */ s(b, {\n\t\t\tclassName: t,\n\t\t\tchildren: /* @__PURE__ */ s(e, {\n\t\t\t\tshow: this.state.show,\n\t\t\t\tchildren: /* @__PURE__ */ c(x, {\n\t\t\t\t\tonClick: this.onClick.bind(this),\n\t\t\t\t\tonTouchEnd: this.onTouch.bind(this),\n\t\t\t\t\tchildren: [/* @__PURE__ */ c(w, { children: [/* @__PURE__ */ s(n, {\n\t\t\t\t\t\tnodeRef: this.openIconRef,\n\t\t\t\t\t\ttimeout: 400,\n\t\t\t\t\t\tin: i,\n\t\t\t\t\t\texit: !i,\n\t\t\t\t\t\tclassNames: {\n\t\t\t\t\t\t\tenter: \"enter\",\n\t\t\t\t\t\t\tenterActive: \"enter-active\",\n\t\t\t\t\t\t\texit: \"exit\",\n\t\t\t\t\t\t\texitActive: \"exit-active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\tchildren: /* @__PURE__ */ s(C, {\n\t\t\t\t\t\t\tref: this.openIconRef,\n\t\t\t\t\t\t\tchildren: /* @__PURE__ */ s(r, { open: i }, \"correct-open\")\n\t\t\t\t\t\t})\n\t\t\t\t\t}), /* @__PURE__ */ s(n, {\n\t\t\t\t\t\tnodeRef: this.closedIconRef,\n\t\t\t\t\t\ttimeout: 5e3,\n\t\t\t\t\t\tin: !i,\n\t\t\t\t\t\texit: i,\n\t\t\t\t\t\tclassNames: {\n\t\t\t\t\t\t\tenter: \"enter\",\n\t\t\t\t\t\t\tenterActive: \"enter-active\",\n\t\t\t\t\t\t\texit: \"exit\",\n\t\t\t\t\t\t\texitActive: \"exit-active\"\n\t\t\t\t\t\t},\n\t\t\t\t\t\tchildren: /* @__PURE__ */ s(C, {\n\t\t\t\t\t\t\tref: this.closedIconRef,\n\t\t\t\t\t\t\tchildren: /* @__PURE__ */ s(r, { open: i }, \"correct-closed\")\n\t\t\t\t\t\t})\n\t\t\t\t\t})] }), /* @__PURE__ */ s(m, {\n\t\t\t\t\t\tfalse: !0,\n\t\t\t\t\t\tchildren: /* @__PURE__ */ s(S, {\n\t\t\t\t\t\t\t\"aria-hidden\": !this.state.show,\n\t\t\t\t\t\t\tchildren: i ? a : o\n\t\t\t\t\t\t})\n\t\t\t\t\t})]\n\t\t\t\t})\n\t\t\t})\n\t\t});\n\t}\n};\n//#endregion\nexport { T as CorrectAnswerToggle, T as default };\n","import e from \"../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js\";\nimport t from \"./choice.js\";\nimport n from \"react\";\nimport r from \"prop-types\";\nimport * as i from \"@pie-lib/render-ui\";\nimport { Collapsible as a, PreviewPrompt as o, color as s, transformDataHeadings as c } from \"@pie-lib/render-ui\";\nimport { jsx as l, jsxs as u } from \"react/jsx-runtime\";\nimport d from \"@pie-lib/correct-answer-toggle\";\nimport { styled as f } from \"@mui/material/styles\";\nimport p from \"@mui/material/Box\";\nimport m from \"@pie-lib/translator\";\n//#region src/delivery/multiple-choice.tsx\nfunction h(e) {\n\treturn typeof e == \"function\" || typeof e == \"object\" && !!e && typeof e.$$typeof == \"symbol\";\n}\nfunction g(e, t) {\n\treturn !e || h(e) ? e : h(e.default) ? e.default : t && h(e[t]) ? e[t] : t && h(e[t]?.default) ? e[t].default : e;\n}\nvar _ = g(o, \"PreviewPrompt\") || g(x.PreviewPrompt, \"PreviewPrompt\"), v = g(a, \"Collapsible\") || g(x.Collapsible, \"Collapsible\"), y = i, b = y.default, x = b && typeof b == \"object\" ? b : y, { translator: S } = m, C = f(p)({\n\tcolor: s.text(),\n\tbackgroundColor: s.background(),\n\t\"& *\": { \"-webkit-font-smoothing\": \"antialiased\" },\n\tposition: \"relative\",\n\t\"& legend\": { border: \"none !important\" }\n}), w = f(\"h2\")(({ theme: e }) => ({\n\tdisplay: \"block\",\n\tfontSize: \"inherit\",\n\tmargin: \"0\",\n\tfontWeight: \"normal\",\n\tpaddingBottom: e.spacing(2)\n})), T = f(p)(({ theme: e }) => ({ marginBottom: e.spacing(2) })), E = f(p)({\n\tdisplay: \"flex\",\n\tflexDirection: \"row\",\n\tflexWrap: \"wrap\"\n}), D = f(p)({ display: \"grid\" }), O = f(\"fieldset\")({\n\tborder: \"0px\",\n\tpadding: \"0.01em 0 0 0\",\n\tmargin: \"0px\",\n\tminWidth: \"0px\"\n}), k = f(\"h3\")({\n\tposition: \"absolute\",\n\tleft: \"-10000px\",\n\ttop: \"auto\",\n\twidth: \"1px\",\n\theight: \"1px\",\n\toverflow: \"hidden\"\n}), A = f(\"div\")(({ theme: e }) => ({\n\tfontSize: e.typography.fontSize - 2,\n\tcolor: e.palette.error.main,\n\tpaddingTop: e.spacing(1)\n})), j = class extends n.Component {\n\tstatic propTypes = {\n\t\tclassName: r.string,\n\t\tmode: r.oneOf([\n\t\t\t\"gather\",\n\t\t\t\"view\",\n\t\t\t\"evaluate\"\n\t\t]),\n\t\tchoiceMode: r.oneOf([\"radio\", \"checkbox\"]),\n\t\tkeyMode: r.oneOf([\n\t\t\t\"numbers\",\n\t\t\t\"letters\",\n\t\t\t\"none\"\n\t\t]),\n\t\tchoices: r.array,\n\t\tpartLabel: r.string,\n\t\tprompt: r.string,\n\t\tteacherInstructions: r.string,\n\t\tsession: r.object,\n\t\tdisabled: r.bool,\n\t\tonChoiceChanged: r.func,\n\t\tresponseCorrect: r.bool,\n\t\tcorrectResponse: r.array,\n\t\tchoicesLayout: r.oneOf([\n\t\t\t\"vertical\",\n\t\t\t\"grid\",\n\t\t\t\"horizontal\"\n\t\t]),\n\t\tgridColumns: r.string,\n\t\talwaysShowCorrect: r.bool,\n\t\tanimationsDisabled: r.bool,\n\t\tlanguage: r.string,\n\t\tselectedAnswerBackgroundColor: r.string,\n\t\tselectedAnswerStrokeColor: r.string,\n\t\tselectedAnswerStrokeWidth: r.string,\n\t\thoverAnswerBackgroundColor: r.string,\n\t\thoverAnswerStrokeColor: r.string,\n\t\thoverAnswerStrokeWidth: r.string,\n\t\tonShowCorrectToggle: r.func,\n\t\tisSelectionButtonBelow: r.bool,\n\t\tminSelections: r.number,\n\t\tmaxSelections: r.number,\n\t\tautoplayAudioEnabled: r.bool,\n\t\tcustomAudioButton: {\n\t\t\tplayImage: r.string,\n\t\t\tpauseImage: r.string\n\t\t},\n\t\toptions: r.object,\n\t\tbaseHeadingLevel: r.number,\n\t\tincludeSrHeading: r.bool\n\t};\n\tconstructor(e) {\n\t\tsuper(e), this.state = {\n\t\t\tshowCorrect: this.props.options && this.props.alwaysShowCorrect || !1,\n\t\t\tmaxSelectionsErrorState: !1\n\t\t}, this.onToggle = this.onToggle.bind(this), this.groupName = `mc-group-${Math.random().toString(36).slice(2, 10)}`;\n\t}\n\tisSelected(e) {\n\t\tlet t = this.props.session && this.props.session.value;\n\t\treturn t && t.indexOf && t.indexOf(e) >= 0;\n\t}\n\thandleChange = (e) => {\n\t\tlet { value: t, checked: n } = e.target, { maxSelections: r, onChoiceChanged: i, session: a } = this.props;\n\t\ta.value && a.value.length >= r && (this.setState({ maxSelectionsErrorState: n }), n) || i({\n\t\t\tvalue: t,\n\t\t\tselected: n,\n\t\t\tselector: \"Mouse\"\n\t\t});\n\t};\n\tonToggle = () => {\n\t\tthis.props.mode === \"evaluate\" && this.setState({ showCorrect: !this.state.showCorrect }, () => {\n\t\t\tthis.props.onShowCorrectToggle && this.props.onShowCorrectToggle();\n\t\t});\n\t};\n\tUNSAFE_componentWillReceiveProps(e) {\n\t\t!e.correctResponse && this.state.showCorrect !== !1 && this.setState({ showCorrect: !1 }, () => {\n\t\t\tthis.props.onShowCorrectToggle && this.props.onShowCorrectToggle();\n\t\t}), e.options && e.alwaysShowCorrect && this.state.showCorrect !== !0 && this.setState({ showCorrect: !0 }, () => {\n\t\t\tthis.props.onShowCorrectToggle && this.props.onShowCorrectToggle();\n\t\t});\n\t}\n\tindexToSymbol(e) {\n\t\treturn this.props.keyMode === \"numbers\" ? `${e + 1}` : this.props.keyMode === \"letters\" ? String.fromCharCode(97 + e).toUpperCase() : \"\";\n\t}\n\tgetCorrectness = (e = {}) => {\n\t\tlet t = e.correct, n = this.isSelected(e.value);\n\t\tif (this.state.showCorrect) return t ? \"correct\" : void 0;\n\t\tif (t) return n ? \"correct\" : \"incorrect\";\n\t\tif (n) return \"incorrect\";\n\t};\n\tgetChecked(e) {\n\t\treturn this.props.options && this.props.alwaysShowCorrect || this.state.showCorrect && this.props.mode === \"evaluate\" ? e.correct || !1 : this.isSelected(e.value);\n\t}\n\trenderHeading() {\n\t\tlet { mode: e, choiceMode: t, includeSrHeading: n, baseHeadingLevel: r, partLabel: i } = this.props;\n\t\tif (!(!i && n !== !1) || e !== \"gather\") return null;\n\t\tlet a = r ? Math.min(6, r) : 2;\n\t\treturn /* @__PURE__ */ l(k.withComponent(`h${a}`), { children: t === \"radio\" ? \"Multiple Choice Question\" : \"Multiple Select Question\" });\n\t}\n\trender() {\n\t\tlet { mode: n, disabled: r, className: i, choices: a = [], choiceMode: o, gridColumns: s, partLabel: f, prompt: m, responseCorrect: h, teacherInstructions: g, alwaysShowCorrect: y, animationsDisabled: b, language: x, isSelectionButtonBelow: k, minSelections: j, maxSelections: M, autoplayAudioEnabled: N, session: P, customAudioButton: F, options: I, baseHeadingLevel: L } = this.props, { showCorrect: R, maxSelectionsErrorState: z } = this.state, B = n === \"evaluate\", V = B && !h, H = s > 1 ? { gridTemplateColumns: `repeat(${s}, 1fr)` } : void 0, U = P.value && P.value.length || 0, W = (() => {\n\t\t\tif (!L) return;\n\t\t\tlet e = 1;\n\t\t\treturn f && (e += 1), Math.min(6, L + e);\n\t\t})(), G = (e) => e && W ? c(e, W) : e, K = /* @__PURE__ */ l(_, {\n\t\t\ttagName: \"div\",\n\t\t\tclassName: \"prompt\",\n\t\t\tdefaultClassName: \"teacher-instructions\",\n\t\t\tprompt: g\n\t\t}), q = () => j && M ? j === M ? S.t(\"translation:multipleChoice:minmaxSelections_equal\", {\n\t\t\tlng: x,\n\t\t\tminSelections: j\n\t\t}) : S.t(\"translation:multipleChoice:minmaxSelections_range\", {\n\t\t\tlng: x,\n\t\t\tminSelections: j,\n\t\t\tmaxSelections: M\n\t\t}) : j ? S.t(\"translation:multipleChoice:minSelections\", {\n\t\t\tlng: x,\n\t\t\tminSelections: j\n\t\t}) : \"\", J = this.props.choicesLayout === \"grid\" ? D : this.props.choicesLayout === \"horizontal\" ? E : p;\n\t\treturn /* @__PURE__ */ u(C, {\n\t\t\tid: \"main-container\",\n\t\t\tclassName: e(i, \"multiple-choice\"),\n\t\t\tchildren: [\n\t\t\t\tf && /* @__PURE__ */ l(w, {\n\t\t\t\t\tas: L ? `h${Math.min(6, L + 1)}` : \"h2\",\n\t\t\t\t\tchildren: f\n\t\t\t\t}),\n\t\t\t\tthis.renderHeading(),\n\t\t\t\tg && /* @__PURE__ */ l(T, { children: b ? K : /* @__PURE__ */ l(v, {\n\t\t\t\t\tlabels: {\n\t\t\t\t\t\thidden: \"Show Teacher Instructions\",\n\t\t\t\t\t\tvisible: \"Hide Teacher Instructions\"\n\t\t\t\t\t},\n\t\t\t\t\tchildren: K\n\t\t\t\t}) }),\n\t\t\t\t/* @__PURE__ */ u(O, {\n\t\t\t\t\trole: o === \"radio\" ? \"radiogroup\" : \"group\",\n\t\t\t\t\tchildren: [\n\t\t\t\t\t\t/* @__PURE__ */ l(_, {\n\t\t\t\t\t\t\tclassName: \"prompt\",\n\t\t\t\t\t\t\tdefaultClassName: \"prompt\",\n\t\t\t\t\t\t\tprompt: G(m),\n\t\t\t\t\t\t\ttagName: \"legend\",\n\t\t\t\t\t\t\tautoplayAudioEnabled: N,\n\t\t\t\t\t\t\tcustomAudioButton: F\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t!(I && y) && /* @__PURE__ */ l(d, {\n\t\t\t\t\t\t\tshow: V,\n\t\t\t\t\t\t\ttoggled: R,\n\t\t\t\t\t\t\tonToggle: this.onToggle.bind(this),\n\t\t\t\t\t\t\tlanguage: x\n\t\t\t\t\t\t}),\n\t\t\t\t\t\t/* @__PURE__ */ l(J, {\n\t\t\t\t\t\t\tstyle: H,\n\t\t\t\t\t\t\tchildren: a.map((e, n) => /* @__PURE__ */ l(t, {\n\t\t\t\t\t\t\t\tchoicesLayout: this.props.choicesLayout,\n\t\t\t\t\t\t\t\tselectedAnswerBackgroundColor: this.props.selectedAnswerBackgroundColor,\n\t\t\t\t\t\t\t\tselectedAnswerStrokeColor: this.props.selectedAnswerStrokeColor,\n\t\t\t\t\t\t\t\tselectedAnswerStrokeWidth: this.props.selectedAnswerStrokeWidth,\n\t\t\t\t\t\t\t\thoverAnswerBackgroundColor: this.props.hoverAnswerBackgroundColor,\n\t\t\t\t\t\t\t\thoverAnswerStrokeColor: this.props.hoverAnswerStrokeColor,\n\t\t\t\t\t\t\t\thoverAnswerStrokeWidth: this.props.hoverAnswerStrokeWidth,\n\t\t\t\t\t\t\t\tgridColumns: s,\n\t\t\t\t\t\t\t\tchoice: e,\n\t\t\t\t\t\t\t\tindex: n,\n\t\t\t\t\t\t\t\tchoicesLength: a.length,\n\t\t\t\t\t\t\t\tshowCorrect: R,\n\t\t\t\t\t\t\t\tisEvaluateMode: B,\n\t\t\t\t\t\t\t\tchoiceMode: o,\n\t\t\t\t\t\t\t\tdisabled: r,\n\t\t\t\t\t\t\t\ttagName: this.groupName,\n\t\t\t\t\t\t\t\tonChoiceChanged: this.handleChange,\n\t\t\t\t\t\t\t\thideTick: e.hideTick,\n\t\t\t\t\t\t\t\tchecked: this.getChecked(e),\n\t\t\t\t\t\t\t\tcorrectness: B ? this.getCorrectness(e) : void 0,\n\t\t\t\t\t\t\t\tdisplayKey: this.indexToSymbol(n),\n\t\t\t\t\t\t\t\tisSelectionButtonBelow: k\n\t\t\t\t\t\t\t}, `choice-${n}`))\n\t\t\t\t\t\t})\n\t\t\t\t\t]\n\t\t\t\t}),\n\t\t\t\to === \"checkbox\" && U < j && /* @__PURE__ */ l(A, { children: q() }),\n\t\t\t\to === \"checkbox\" && z && /* @__PURE__ */ l(A, { children: S.t(`translation:multipleChoice:maxSelections_${M === 1 ? \"one\" : \"other\"}`, {\n\t\t\t\t\tlng: x,\n\t\t\t\t\tmaxSelections: M\n\t\t\t\t}) })\n\t\t\t]\n\t\t});\n\t}\n};\nj.defaultProps = { session: { value: [] } };\n//#endregion\nexport { j as default };\n","import e from \"./multiple-choice.js\";\nimport t from \"react\";\nimport n from \"prop-types\";\nimport * as r from \"@pie-lib/render-ui\";\nimport { PreviewLayout as i } from \"@pie-lib/render-ui\";\nimport { jsx as a } from \"react/jsx-runtime\";\n//#region src/delivery/main.tsx\nfunction o(e) {\n\treturn typeof e == \"function\" || typeof e == \"object\" && !!e && typeof e.$$typeof == \"symbol\";\n}\nfunction s(e, t) {\n\treturn !e || o(e) ? e : o(e.default) ? e.default : t && o(e[t]) ? e[t] : t && o(e[t]?.default) ? e[t].default : e;\n}\nvar c = s(i, \"PreviewLayout\") || s(d.PreviewLayout, \"PreviewLayout\"), l = r, u = l.default, d = u && typeof u == \"object\" ? u : l, f = class extends t.Component {\n\tstatic propTypes = {\n\t\tmodel: n.object,\n\t\tsession: n.object,\n\t\toptions: n.object,\n\t\tonChoiceChanged: n.func,\n\t\tonShowCorrectToggle: n.func,\n\t\textraCSSRules: n.shape({\n\t\t\tnames: n.arrayOf(n.string),\n\t\t\trules: n.string\n\t\t}),\n\t\tbaseHeadingLevel: n.number,\n\t\tincludeSrHeading: n.bool\n\t};\n\tstatic defaultProps = {\n\t\tmodel: {},\n\t\tsession: {}\n\t};\n\trender() {\n\t\tlet { model: t, onChoiceChanged: n, session: r, onShowCorrectToggle: i, options: o, baseHeadingLevel: s, includeSrHeading: l } = this.props, { extraCSSRules: u, fontSizeFactor: d } = t;\n\t\treturn /* @__PURE__ */ a(c, {\n\t\t\textraCSSRules: u,\n\t\t\tfontSizeFactor: d,\n\t\t\tclasses: {},\n\t\t\tchildren: /* @__PURE__ */ a(e, {\n\t\t\t\t...t,\n\t\t\t\toptions: o,\n\t\t\t\tsession: r,\n\t\t\t\tonChoiceChanged: n,\n\t\t\t\tonShowCorrectToggle: i,\n\t\t\t\tbaseHeadingLevel: s,\n\t\t\t\tincludeSrHeading: l\n\t\t\t})\n\t\t});\n\t}\n};\n//#endregion\nexport { f as default };\n","//#region src/delivery/session-updater.ts\nfunction e(e, t, n) {\n\te.value = e.value || [], t === \"checkbox\" && (n.selected ? e.value = Array.from(new Set([...e.value, n.value])) : e.value = e.value.filter((e) => e !== n.value)), t === \"radio\" && (n.selected ? e.value = [n.value] : e.value = []), e.selector = n.selector;\n}\nfunction t(e, t) {\n\te.audioStartTime = e.audioStartTime || t.audioStartTime, e.audioEndTime = e.audioEndTime || t.audioEndTime, !e.waitTime && e.audioStartTime && e.audioEndTime && (e.waitTime = e.audioEndTime - e.audioStartTime);\n}\n//#endregion\nexport { t as updateSessionMetadata, e as updateSessionValue };\n","import e from \"./main.js\";\nimport { updateSessionMetadata as t, updateSessionValue as n } from \"./session-updater.js\";\nimport r from \"react\";\nimport * as i from \"@pie-lib/render-ui\";\nimport { EnableAudioAutoplayImage as a } from \"@pie-lib/render-ui\";\nimport { createRoot as o } from \"react-dom/client\";\nimport { debounce as s } from \"@pie-element/shared-lodash\";\nimport c from \"debug\";\nimport { ModelSetEvent as l, SessionChangedEvent as u } from \"@pie-element/shared-player-events\";\nimport { renderMath as d } from \"@pie-element/shared-math-rendering-mathjax\";\n//#region src/delivery/index.ts\nfunction f(e) {\n\treturn typeof e == \"function\" || typeof e == \"object\" && !!e && typeof e.$$typeof == \"symbol\";\n}\nfunction p(e, t) {\n\treturn !e || f(e) ? e : f(e.default) ? e.default : t && f(e[t]) ? e[t] : t && f(e[t]?.default) ? e[t].default : e;\n}\nvar m = p(a, \"EnableAudioAutoplayImage\") || p(_.EnableAudioAutoplayImage, \"EnableAudioAutoplayImage\"), h = i, g = h.default, _ = g && typeof g == \"object\" ? g : h, v = c(\"pie-ui:multiple-choice\"), y = (e, t, n, r) => {\n\tlet { autoplayAudioEnabled: i, completeAudioEnabled: a } = t || {};\n\tif (i && a && !n && r) {\n\t\tlet e = r.querySelector(\"audio\"), t = e && e.closest(\"#preview-prompt\");\n\t\tif (e && t) return !1;\n\t}\n\tif (!e || !e.value) return !1;\n\tlet { choiceMode: o, minSelections: s = 1, maxSelections: c } = t || {}, l = e.value.length || 0;\n\treturn o === \"radio\" ? !!l : !(l < s || l > c);\n};\nfunction b(e) {\n\tlet t = e.closest(\"pie-player\") || e.closest(\"pie-item-player\");\n\tif (!t) return {\n\t\tbaseHeadingLevel: void 0,\n\t\tincludeSrHeading: !0\n\t};\n\tlet n = (e, n, r) => {\n\t\tlet i = t[e];\n\t\treturn i ??= t.getAttribute(n) ?? t.getAttribute(r), i;\n\t}, r = n(\"baseHeadingLevel\", \"base-heading-level\", \"baseheadinglevel\"), i = parseInt(r, 10), a = Number.isFinite(i) && i >= 1 && i <= 6 ? i : void 0, o = n(\"includeSrHeading\", \"include-sr-heading\", \"includesrheading\");\n\treturn {\n\t\tbaseHeadingLevel: a,\n\t\tincludeSrHeading: o == null ? !0 : o !== !1 && o !== \"false\"\n\t};\n}\nfunction x(e) {\n\tlet t = b(e);\n\treturn {\n\t\tbaseHeadingLevel: e._baseHeadingLevel === void 0 ? t.baseHeadingLevel : e._baseHeadingLevel,\n\t\tincludeSrHeading: e._includeSrHeading === void 0 ? t.includeSrHeading : e._includeSrHeading\n\t};\n}\nvar S = class extends HTMLElement {\n\tconstructor() {\n\t\tsuper(), this._model = null, this._session = null, this._options = null, this.audioComplete = !1, this._boundHandleKeyDown = this.handleKeyDown.bind(this), this._keyboardEventsEnabled = !1, this._audioInitialized = !1, this._root = null, this._mathObserver = null, this._mathRenderPending = !1, this._rerender = s(() => {\n\t\t\tif (this._model && this._session) {\n\t\t\t\tvar t = r.createElement(e, {\n\t\t\t\t\tmodel: this._model,\n\t\t\t\t\tsession: this._session,\n\t\t\t\t\toptions: this._options,\n\t\t\t\t\tonChoiceChanged: this._onChange.bind(this),\n\t\t\t\t\tonShowCorrectToggle: this.onShowCorrectToggle.bind(this),\n\t\t\t\t\t...x(this)\n\t\t\t\t});\n\t\t\t\tthis.setAttribute(\"aria-label\", this._model.choiceMode === \"radio\" ? \"Multiple Choice Question\" : \"Multiple Correct Answer Question\"), this.setAttribute(\"role\", \"region\"), this.setLangAttribute(), this._initMathObserver(), this._root ||= o(this), this._root.render(t), this._model.keyboardEventsEnabled === !0 && !this._keyboardEventsEnabled && this.enableKeyboardEvents();\n\t\t\t} else v(\"skip\");\n\t\t}, 50, {\n\t\t\tleading: !1,\n\t\t\ttrailing: !0\n\t\t}), this._dispatchResponseChanged = s(() => {\n\t\t\tthis.dispatchEvent(new u(this.tagName.toLowerCase(), y(this._session, this._model, this.audioComplete, this)));\n\t\t}), this._dispatchModelSet = s(() => {\n\t\t\tthis.dispatchEvent(new l(this.tagName.toLowerCase(), y(this._session, this._model, this.audioComplete, this), this._model !== void 0));\n\t\t}, 50, {\n\t\t\tleading: !1,\n\t\t\ttrailing: !0\n\t\t});\n\t}\n\t_scheduleMathRender = () => {\n\t\tthis._mathRenderPending || (this._mathRenderPending = !0, requestAnimationFrame(() => {\n\t\t\tthis._mathObserver && this._mathObserver.disconnect(), v(\"render complete - render math\"), d(this), this._mathRenderPending = !1, setTimeout(() => {\n\t\t\t\tthis._mathObserver && this._mathObserver.observe(this, {\n\t\t\t\t\tchildList: !0,\n\t\t\t\t\tsubtree: !0\n\t\t\t\t});\n\t\t\t}, 50);\n\t\t}));\n\t};\n\t_initMathObserver() {\n\t\tthis._mathObserver || (this._mathObserver = new MutationObserver(this._scheduleMathRender), this._mathObserver.observe(this, {\n\t\t\tchildList: !0,\n\t\t\tsubtree: !0\n\t\t}));\n\t}\n\t_disconnectMathObserver() {\n\t\tthis._mathObserver &&= (this._mathObserver.disconnect(), null);\n\t}\n\tonShowCorrectToggle() {\n\t\td(this);\n\t}\n\tsetLangAttribute() {\n\t\tlet e = this._model && typeof this._model.language ? this._model.language : \"\", t = e ? e.slice(0, 2) : \"en\";\n\t\tthis.setAttribute(\"lang\", t);\n\t}\n\tset model(e) {\n\t\tthis._model = e, this._rerender(), this._audioInitialized = !1, this._dispatchModelSet();\n\t}\n\tget session() {\n\t\treturn this._session;\n\t}\n\tget options() {\n\t\treturn this._options;\n\t}\n\tset options(e) {\n\t\tthis._options = e, this._rerender();\n\t}\n\tset baseHeadingLevel(e) {\n\t\tthis._baseHeadingLevel = e, this._rerender();\n\t}\n\tset includeSrHeading(e) {\n\t\tthis._includeSrHeading = e, this._rerender();\n\t}\n\tset session(e) {\n\t\tthis._session = e, this._rerender(), this._dispatchResponseChanged();\n\t}\n\t_onChange(e) {\n\t\tn(this._session, this._model.choiceMode, e), this._dispatchResponseChanged(), this._rerender();\n\t}\n\t_createAudioInfoToast() {\n\t\tlet e = document.createElement(\"div\");\n\t\te.id = \"play-audio-info\", Object.assign(e.style, {\n\t\t\tposition: \"absolute\",\n\t\t\ttop: 0,\n\t\t\twidth: \"100%\",\n\t\t\theight: \"100%\",\n\t\t\tdisplay: \"flex\",\n\t\t\tjustifyContent: \"center\",\n\t\t\talignItems: \"center\",\n\t\t\tbackground: \"white\",\n\t\t\tzIndex: \"1000\",\n\t\t\tcursor: \"pointer\"\n\t\t});\n\t\tlet t = document.createElement(\"img\");\n\t\treturn t.src = m, t.alt = \"Click anywhere to enable audio autoplay\", t.width = 500, t.height = 300, e.appendChild(t), e;\n\t}\n\tconnectedCallback() {\n\t\tthis._initMathObserver(), this._initPlayerObserver(), this._rerender(), new MutationObserver((e, n) => {\n\t\t\te.forEach((e) => {\n\t\t\t\tif (e.type === \"childList\") {\n\t\t\t\t\tif (this._audioInitialized) return;\n\t\t\t\t\tlet e = this.querySelector(\"audio\"), r = e && e.closest(\"#preview-prompt\");\n\t\t\t\t\tif (!this._model || !this._model.autoplayAudioEnabled || e && !r || !e) return;\n\t\t\t\t\tlet i = this._createAudioInfoToast(), a = this.querySelector(\"#main-container\"), o = () => {\n\t\t\t\t\t\tthis.querySelector(\"#play-audio-info\") && (e.play(), a.removeChild(i)), document.removeEventListener(\"click\", o);\n\t\t\t\t\t};\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\te.paused && !this.querySelector(\"#play-audio-info\") ? (a.appendChild(i), document.addEventListener(\"click\", o)) : document.removeEventListener(\"click\", o);\n\t\t\t\t\t}, 500);\n\t\t\t\t\tlet s = () => {\n\t\t\t\t\t\tt(this._session, { audioStartTime: (/* @__PURE__ */ new Date()).getTime() });\n\t\t\t\t\t\tlet n = this.querySelector(\"#play-audio-info\");\n\t\t\t\t\t\tn && a.removeChild(n), e.removeEventListener(\"playing\", s);\n\t\t\t\t\t};\n\t\t\t\t\te.addEventListener(\"playing\", s);\n\t\t\t\t\tlet c = () => {\n\t\t\t\t\t\tt(this._session, { audioEndTime: (/* @__PURE__ */ new Date()).getTime() }), this.audioComplete = !0, this._dispatchResponseChanged(), e.removeEventListener(\"ended\", c);\n\t\t\t\t\t};\n\t\t\t\t\te.addEventListener(\"ended\", c), this._audio = e, this._handlePlaying = s, this._handleEnded = c, this._enableAudio = o, this._audioInitialized = !0, n.disconnect();\n\t\t\t\t}\n\t\t\t});\n\t\t}).observe(this, {\n\t\t\tchildList: !0,\n\t\t\tsubtree: !0\n\t\t});\n\t}\n\tenableKeyboardEvents() {\n\t\tthis._keyboardEventsEnabled ||= (window.addEventListener(\"keydown\", this._boundHandleKeyDown), !0);\n\t}\n\t_initPlayerObserver() {\n\t\tlet e = this.closest(\"pie-player\") || this.closest(\"pie-item-player\");\n\t\te && (this._playerObserver = new MutationObserver(() => {\n\t\t\tthis._rerender();\n\t\t}), this._playerObserver.observe(e, {\n\t\t\tattributes: !0,\n\t\t\tattributeFilter: [\n\t\t\t\t\"base-heading-level\",\n\t\t\t\t\"baseheadinglevel\",\n\t\t\t\t\"include-sr-heading\",\n\t\t\t\t\"includesrheading\"\n\t\t\t]\n\t\t}));\n\t}\n\t_disconnectPlayerObserver() {\n\t\tthis._playerObserver &&= (this._playerObserver.disconnect(), null);\n\t}\n\tdisconnectedCallback() {\n\t\tthis._disconnectMathObserver(), this._disconnectPlayerObserver(), this._keyboardEventsEnabled &&= (window.removeEventListener(\"keydown\", this._boundHandleKeyDown), !1), document.removeEventListener(\"click\", this._enableAudio), this._audio &&= (this._audio.removeEventListener(\"playing\", this._handlePlaying), this._audio.removeEventListener(\"ended\", this._handleEnded), null), this._root && this._root.unmount();\n\t}\n\thandleKeyDown(e) {\n\t\tif (!this._model || !this._session) return;\n\t\tlet { mode: t } = this._model;\n\t\tif (t !== \"gather\") return;\n\t\tlet n = ((e) => {\n\t\t\tlet t = e >= \"1\" && e <= \"9\" ? e - \"1\" : e === \"0\" ? 9 : -1, n = /^[a-jA-J]$/.test(e) ? e.toLowerCase().charCodeAt(0) - 97 : -1;\n\t\t\treturn t >= 0 ? t : n;\n\t\t})(e.key);\n\t\tif (n === void 0 || n <= -1 || n >= this._model.choices?.length) return;\n\t\tlet r = this._session.value || [], i = this._model.choices[n].value, a = {\n\t\t\tvalue: i,\n\t\t\tselected: !r.includes(i),\n\t\t\tselector: \"Keyboard\"\n\t\t};\n\t\tthis._onChange(a);\n\t}\n};\n//#endregion\nexport { S as default, y as isComplete };\n"],"x_google_ignoreList":[1],"mappings":";;;;;;;AACA,IAAI,IAAI,MAAM,UAAU,YAAY;CACnC;EACC,KAAK,OAAO;CACb;CACA,YAAY,GAAG,GAAG,GAAG;EACpB,MAAM,EAAE,MAAM;GACb,SAAS,CAAC;GACV,UAAU,CAAC;GACX,QAAQ;IACP,UAAU;IACV,WAAW;IACX,UAAU;GACX;EACD,CAAC,GAAG,KAAK,YAAY,GAAG,KAAK,WAAW;CACzC;AACD,GAAG,IAAI,MAAM,UAAU,YAAY;CAClC;EACC,KAAK,OAAO;CACb;CACA,YAAY,GAAG,GAAG;EACjB,MAAM,EAAE,MAAM;GACb,SAAS,CAAC;GACV,UAAU,CAAC;GACX,QAAQ;IACP,UAAU;IACV,WAAW;GACZ;EACD,CAAC,GAAG,KAAK,YAAY,GAAG,KAAK,WAAW;CACzC;AACD;;;AC7BA,SAASA,EAAE,GAAG;CACb,IAAI,GAAG,GAAG,IAAI;CACd,IAAI,OAAO,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,IAAI,KAAK,OAAO,KAAK,MAAM,IAAI,MAAM,MAAM,MAAM,IAAI,IAAI,IAAI,aAAa,KAAK,CAAC,IAAI,EAAE,YAAY,EAAE,WAAW,CAAC,IAAI,KAAK;GAC7H,OAAO,KAAK,IAAI,IAAI;EACrB,GAAG,EAAE,GAAG;EACR,IAAI,MAAM,KAAK,KAAK,KAAK,MAAM,KAAK,KAAK,OAAO,SAAS,QAAQ;EACjE,IAAI,IAAI,KAAK,SAAS,SAAS,CAAC,GAAG,IAAI,KAAK,OAAO,QAAQ,GAAG,OAAO,IAAI;GACxE,OAAO;GACP,UAAU,CAAC,EAAE,SAAS,CAAC;GACvB,UAAU;EACX;EACA,KAAK,UAAU,CAAC;CACjB;AACD"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
//#region ../../shared/lodash/dist/index.js
|
|
2
|
+
var e = Object.prototype;
|
|
3
|
+
function t(e) {
|
|
4
|
+
return typeof e == "object" && !!e;
|
|
5
|
+
}
|
|
6
|
+
function n(e) {
|
|
7
|
+
return Array.isArray(e) ? e : typeof e == "number" ? [e] : e.replace(/\[(\d+)\]/g, ".$1").split(".").filter(Boolean);
|
|
8
|
+
}
|
|
9
|
+
function r(e) {
|
|
10
|
+
if (!t(e)) return e;
|
|
11
|
+
if (e instanceof Date) return new Date(e.getTime());
|
|
12
|
+
if (Array.isArray(e)) return e.map((e) => r(e));
|
|
13
|
+
let n = {};
|
|
14
|
+
for (let [t, i] of Object.entries(e)) n[t] = r(i);
|
|
15
|
+
return n;
|
|
16
|
+
}
|
|
17
|
+
function i(e) {
|
|
18
|
+
return (e ?? []).filter(Boolean);
|
|
19
|
+
}
|
|
20
|
+
function a(e, t = 0, n = {}) {
|
|
21
|
+
let r, i, a, o, s, c = n.leading === !0, l = n.trailing !== !1, u = () => {
|
|
22
|
+
if (!a) return s;
|
|
23
|
+
let t = a, n = o;
|
|
24
|
+
return a = void 0, o = void 0, s = e.apply(n, t), s;
|
|
25
|
+
}, d = () => {
|
|
26
|
+
r && clearTimeout(r), i && clearTimeout(i), r = void 0, i = void 0, a = void 0, o = void 0;
|
|
27
|
+
}, f = function(...e) {
|
|
28
|
+
let d = c && !r;
|
|
29
|
+
return a = e, o = this, d && u(), r && clearTimeout(r), r = setTimeout(() => {
|
|
30
|
+
r = void 0, i &&= (clearTimeout(i), void 0), l ? u() : (a = void 0, o = void 0);
|
|
31
|
+
}, t), n.maxWait !== void 0 && !i && (i = setTimeout(() => {
|
|
32
|
+
r && clearTimeout(r), r = void 0, i = void 0, l || !c ? u() : (a = void 0, o = void 0);
|
|
33
|
+
}, n.maxWait)), s;
|
|
34
|
+
};
|
|
35
|
+
return f.cancel = d, f.flush = () => (r &&= (clearTimeout(r), void 0), i &&= (clearTimeout(i), void 0), u()), f;
|
|
36
|
+
}
|
|
37
|
+
function o(e, ...t) {
|
|
38
|
+
for (let n of t) if (n) for (let [t, r] of Object.entries(n)) e[t] === void 0 && (e[t] = r);
|
|
39
|
+
return e;
|
|
40
|
+
}
|
|
41
|
+
function s(e) {
|
|
42
|
+
let t = [];
|
|
43
|
+
for (let n of e ?? []) Array.isArray(n) ? t.push(...n) : t.push(n);
|
|
44
|
+
return t;
|
|
45
|
+
}
|
|
46
|
+
function c(e, t, r) {
|
|
47
|
+
if (!Array.isArray(t) && e != null && Object.prototype.hasOwnProperty.call(Object(e), t)) {
|
|
48
|
+
let n = e[t];
|
|
49
|
+
return n === void 0 ? r : n;
|
|
50
|
+
}
|
|
51
|
+
let i = e;
|
|
52
|
+
for (let e of n(t)) {
|
|
53
|
+
if (i == null) return r;
|
|
54
|
+
i = i[e];
|
|
55
|
+
}
|
|
56
|
+
return i === void 0 ? r : i;
|
|
57
|
+
}
|
|
58
|
+
function l(e, t) {
|
|
59
|
+
return typeof e == "string" ? e.includes(String(t)) : Array.isArray(e) ? e.includes(t) : Object.values(e ?? {}).includes(t);
|
|
60
|
+
}
|
|
61
|
+
function u(e) {
|
|
62
|
+
return e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : t(e) ? Object.keys(e).length === 0 : !0;
|
|
63
|
+
}
|
|
64
|
+
function d(n, r, i) {
|
|
65
|
+
let a = i?.(n, r);
|
|
66
|
+
if (a !== void 0) return !!a;
|
|
67
|
+
if (Object.is(n, r)) return !0;
|
|
68
|
+
if (!t(n) || !t(r)) return !1;
|
|
69
|
+
if (n instanceof Date || r instanceof Date) return n instanceof Date && r instanceof Date && n.getTime() === r.getTime();
|
|
70
|
+
if (Array.isArray(n) || Array.isArray(r)) return Array.isArray(n) && Array.isArray(r) && n.length === r.length && n.every((e, t) => d(e, r[t], i));
|
|
71
|
+
let o = Object.keys(n), s = Object.keys(r);
|
|
72
|
+
return o.length === s.length && o.every((t) => e.hasOwnProperty.call(r, t) && d(n[t], r[t], i));
|
|
73
|
+
}
|
|
74
|
+
function f(e, t) {
|
|
75
|
+
return d(e, t);
|
|
76
|
+
}
|
|
77
|
+
function p(e) {
|
|
78
|
+
return Number.isFinite(e);
|
|
79
|
+
}
|
|
80
|
+
function m(e, ...n) {
|
|
81
|
+
for (let i of n) if (i) for (let [n, a] of Object.entries(i)) t(a) && !Array.isArray(a) && t(e[n]) ? m(e[n], a) : e[n] = r(a);
|
|
82
|
+
return e;
|
|
83
|
+
}
|
|
84
|
+
function h(e, t) {
|
|
85
|
+
let n = { ...e ?? {} };
|
|
86
|
+
for (let e of Array.isArray(t) ? t : [t]) delete n[e];
|
|
87
|
+
return n;
|
|
88
|
+
}
|
|
89
|
+
function g(e, t, r) {
|
|
90
|
+
let i = n(t), a = e;
|
|
91
|
+
return i.forEach((e, t) => {
|
|
92
|
+
if (t === i.length - 1) {
|
|
93
|
+
a[e] = r;
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
let n = i[t + 1];
|
|
97
|
+
a[e] ??= typeof n == "number" || /^\d+$/.test(String(n)) ? [] : {}, a = a[e];
|
|
98
|
+
}), e;
|
|
99
|
+
}
|
|
100
|
+
function _(e, t) {
|
|
101
|
+
let n = t ?? ((e) => e);
|
|
102
|
+
return Array.from({ length: Math.max(0, e) }, (e, t) => n(t));
|
|
103
|
+
}
|
|
104
|
+
function v(...e) {
|
|
105
|
+
let t = Math.max(0, ...e.map((e) => e.length));
|
|
106
|
+
return Array.from({ length: t }, (t, n) => e.map((e) => e[n]));
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
export { u as a, a as c, v as d, o as f, s as h, p as i, r as l, c as m, m as n, l as o, i as p, g as r, h as s, f as t, _ as u };
|
|
110
|
+
|
|
111
|
+
//# sourceMappingURL=dist-BcIm7NXG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dist-BcIm7NXG.js","names":[],"sources":["../../../../shared/lodash/dist/index.js"],"sourcesContent":["//#region src/index.ts\nvar e = Object.prototype;\nfunction t(e) {\n\treturn typeof e == \"object\" && !!e;\n}\nfunction n(e) {\n\treturn Array.isArray(e) ? e : typeof e == \"number\" ? [e] : e.replace(/\\[(\\d+)\\]/g, \".$1\").split(\".\").filter(Boolean);\n}\nfunction r(e) {\n\treturn (t) => x(t, e);\n}\nfunction i(e) {\n\treturn (n) => t(n) ? Object.entries(e).every(([e, t]) => A(n[e], t)) : !1;\n}\nfunction a(e) {\n\treturn typeof e == \"function\" ? e : typeof e == \"string\" ? r(e) : t(e) ? i(e) : ((e) => e);\n}\nfunction o(e, ...t) {\n\treturn Object.assign(e, ...t.filter(Boolean));\n}\nfunction s(e, t = 1) {\n\tif (!e?.length || t < 1) return [];\n\tlet n = [];\n\tfor (let r = 0; r < e.length; r += t) n.push(e.slice(r, r + t));\n\treturn n;\n}\nfunction c(e) {\n\treturn Array.isArray(e) ? e.slice() : t(e) ? { ...e } : e;\n}\nfunction l(e) {\n\tif (!t(e)) return e;\n\tif (e instanceof Date) return new Date(e.getTime());\n\tif (Array.isArray(e)) return e.map((e) => l(e));\n\tlet n = {};\n\tfor (let [t, r] of Object.entries(e)) n[t] = l(r);\n\treturn n;\n}\nfunction u(e) {\n\treturn (e ?? []).filter(Boolean);\n}\nfunction d(e, ...t) {\n\tlet n = [...e ?? []];\n\tfor (let e of t) Array.isArray(e) ? n.push(...e) : n.push(e);\n\treturn n;\n}\nfunction f(e, t = 0, n = {}) {\n\tlet r, i, a, o, s, c = n.leading === !0, l = n.trailing !== !1, u = () => {\n\t\tif (!a) return s;\n\t\tlet t = a, n = o;\n\t\treturn a = void 0, o = void 0, s = e.apply(n, t), s;\n\t}, d = () => {\n\t\tr && clearTimeout(r), i && clearTimeout(i), r = void 0, i = void 0, a = void 0, o = void 0;\n\t}, f = function(...e) {\n\t\tlet d = c && !r;\n\t\treturn a = e, o = this, d && u(), r && clearTimeout(r), r = setTimeout(() => {\n\t\t\tr = void 0, i &&= (clearTimeout(i), void 0), l ? u() : (a = void 0, o = void 0);\n\t\t}, t), n.maxWait !== void 0 && !i && (i = setTimeout(() => {\n\t\t\tr && clearTimeout(r), r = void 0, i = void 0, l || !c ? u() : (a = void 0, o = void 0);\n\t\t}, n.maxWait)), s;\n\t};\n\treturn f.cancel = d, f.flush = () => (r &&= (clearTimeout(r), void 0), i &&= (clearTimeout(i), void 0), u()), f;\n}\nfunction p(e, ...t) {\n\tfor (let n of t) if (n) for (let [t, r] of Object.entries(n)) e[t] === void 0 && (e[t] = r);\n\treturn e;\n}\nfunction m(e, ...t) {\n\tlet n = new Set(t.flat());\n\treturn (e ?? []).filter((e) => !n.has(e));\n}\nfunction h(e, t, n) {\n\treturn (e ?? []).filter((e) => !(t ?? []).some((t) => n(e, t)));\n}\nfunction g(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [t, i] of r) if (!n(i, t, e)) return !1;\n\treturn !0;\n}\nfunction ee(e) {\n\treturn String(e).replace(/&/g, \"&\").replace(/</g, \"<\").replace(/>/g, \">\").replace(/\"/g, \""\").replace(/'/g, \"'\");\n}\nfunction _(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [t, i] of r) if (n(i, t, e)) return i;\n}\nfunction v(e, t) {\n\tlet n = a(t);\n\tfor (let [t, r] of Object.entries(e ?? {})) if (n(r, t, e)) return t;\n}\nfunction y(e) {\n\tlet t = [];\n\tfor (let n of e ?? []) Array.isArray(n) ? t.push(...n) : t.push(n);\n\treturn t;\n}\nfunction te(e, t) {\n\treturn R(e, t).flat();\n}\nfunction b(e, t) {\n\tlet n = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [r, i] of n) t(i, r, e);\n\treturn e;\n}\nfunction x(e, t, r) {\n\tif (!Array.isArray(t) && e != null && Object.prototype.hasOwnProperty.call(Object(e), t)) {\n\t\tlet n = e[t];\n\t\treturn n === void 0 ? r : n;\n\t}\n\tlet i = e;\n\tfor (let e of n(t)) {\n\t\tif (i == null) return r;\n\t\ti = i[e];\n\t}\n\treturn i === void 0 ? r : i;\n}\nfunction S(e, t) {\n\tlet n = a(t);\n\treturn K(e, (t, r, i) => {\n\t\tlet a = String(n(r, i, e));\n\t\treturn (t[a] ??= []).push(r), t;\n\t}, {});\n}\nfunction C(e) {\n\treturn e?.[0];\n}\nfunction w(e) {\n\treturn (e ?? []).slice(0, -1);\n}\nfunction T(e, t) {\n\treturn typeof e == \"string\" ? e.includes(String(t)) : Array.isArray(e) ? e.includes(t) : Object.values(e ?? {}).includes(t);\n}\nfunction E(...e) {\n\tlet [t, ...n] = e;\n\treturn $((t ?? []).filter((e) => n.every((t) => (t ?? []).includes(e))));\n}\nfunction D(e) {\n\treturn Array.isArray(e);\n}\nfunction O(e) {\n\treturn e == null ? !0 : typeof e == \"string\" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : t(e) ? Object.keys(e).length === 0 : !0;\n}\nfunction k(n, r, i) {\n\tlet a = i?.(n, r);\n\tif (a !== void 0) return !!a;\n\tif (Object.is(n, r)) return !0;\n\tif (!t(n) || !t(r)) return !1;\n\tif (n instanceof Date || r instanceof Date) return n instanceof Date && r instanceof Date && n.getTime() === r.getTime();\n\tif (Array.isArray(n) || Array.isArray(r)) return Array.isArray(n) && Array.isArray(r) && n.length === r.length && n.every((e, t) => k(e, r[t], i));\n\tlet o = Object.keys(n), s = Object.keys(r);\n\treturn o.length === s.length && o.every((t) => e.hasOwnProperty.call(r, t) && k(n[t], r[t], i));\n}\nfunction A(e, t) {\n\treturn k(e, t);\n}\nfunction j(e, t, n) {\n\treturn k(e, t, n);\n}\nfunction M(e) {\n\treturn Number.isFinite(e);\n}\nfunction N(e) {\n\treturn typeof e == \"function\";\n}\nfunction P(e) {\n\treturn typeof e == \"number\" || e instanceof Number;\n}\nfunction F(e) {\n\treturn typeof e == \"object\" && !!e || typeof e == \"function\";\n}\nfunction I(e) {\n\treturn typeof e == \"string\" || e instanceof String;\n}\nfunction L(e) {\n\treturn e === void 0;\n}\nfunction R(e, t) {\n\tlet n = a(t), r = Array.isArray(e) ? e.entries() : Object.entries(e ?? {}), i = [];\n\tfor (let [t, a] of r) i.push(n(a, t, e));\n\treturn i;\n}\nfunction z(e) {\n\treturn e?.length ? Math.max(...e) : void 0;\n}\nfunction B(e, ...n) {\n\tfor (let r of n) if (r) for (let [n, i] of Object.entries(r)) t(i) && !Array.isArray(i) && t(e[n]) ? B(e[n], i) : e[n] = l(i);\n\treturn e;\n}\nfunction V(e, t) {\n\tlet n = { ...e ?? {} };\n\tfor (let e of Array.isArray(t) ? t : [t]) delete n[e];\n\treturn n;\n}\nfunction H(e, t) {\n\tlet n = a(t), r = {};\n\tfor (let [t, i] of Object.entries(e ?? {})) n(i, t, e) || (r[t] = i);\n\treturn r;\n}\nfunction U(e, ...t) {\n\tlet n = {};\n\tfor (let r of t.flat()) e && r in e && (n[r] = e[r]);\n\treturn n;\n}\nfunction W(e, t, n = 1) {\n\tlet r = t ?? e, i = t === void 0 ? 0 : e;\n\tif (n === 0) return [];\n\tlet a = [], o = n > 0;\n\tfor (let e = i; o ? e < r : e > r; e += n) a.push(e);\n\treturn a;\n}\nfunction G(e, t, n = 1) {\n\treturn W(e, t, n).reverse();\n}\nfunction K(e, t, n) {\n\tlet r = n, i = Array.isArray(e) ? e.entries() : Object.entries(e ?? {});\n\tfor (let [n, a] of i) r = t(r, a, n, e);\n\treturn r;\n}\nfunction q(e, t) {\n\tlet n = a(t), r = [];\n\tfor (let t = e.length - 1; t >= 0; t--) n(e[t], t, e) && r.unshift(...e.splice(t, 1));\n\treturn r;\n}\nfunction J(e, t, r) {\n\tlet i = n(t), a = e;\n\treturn i.forEach((e, t) => {\n\t\tif (t === i.length - 1) {\n\t\t\ta[e] = r;\n\t\t\treturn;\n\t\t}\n\t\tlet n = i[t + 1];\n\t\ta[e] ??= typeof n == \"number\" || /^\\d+$/.test(String(n)) ? [] : {}, a = a[e];\n\t}), e;\n}\nfunction Y(e) {\n\tlet t = [...e ?? []];\n\tfor (let e = t.length - 1; e > 0; e--) {\n\t\tlet n = Math.floor(Math.random() * (e + 1));\n\t\t[t[e], t[n]] = [t[n], t[e]];\n\t}\n\treturn t;\n}\nfunction X(e) {\n\treturn (e ?? []).slice(1);\n}\nfunction Z(e, t = 1) {\n\treturn t <= 0 ? [] : (e ?? []).slice(-t);\n}\nfunction Q(e, t = 0, n = {}) {\n\treturn f(e, t, {\n\t\tleading: n.leading !== !1,\n\t\ttrailing: n.trailing !== !1,\n\t\tmaxWait: t\n\t});\n}\nfunction ne(e, t) {\n\tlet n = t ?? ((e) => e);\n\treturn Array.from({ length: Math.max(0, e) }, (e, t) => n(t));\n}\nvar re = 0;\nfunction ie(e = \"\") {\n\treturn re += 1, `${e}${re}`;\n}\nfunction $(e) {\n\treturn Array.from(new Set(e ?? []));\n}\nfunction ae(e, t) {\n\tlet n = [];\n\tfor (let r of e ?? []) n.some((e) => t(r, e)) || n.push(r);\n\treturn n;\n}\nfunction oe(...e) {\n\tlet t = Math.max(0, ...e.map((e) => e.length));\n\treturn Array.from({ length: t }, (t, n) => e.map((e) => e[n]));\n}\nvar se = {\n\tassign: o,\n\tchunk: s,\n\tclone: c,\n\tcloneDeep: l,\n\tcompact: u,\n\tconcat: d,\n\tdebounce: f,\n\tdefaults: p,\n\tdifference: m,\n\tdifferenceWith: h,\n\tevery: g,\n\tescape: ee,\n\tfind: _,\n\tfindKey: v,\n\tflatten: y,\n\tflatMap: te,\n\tforEach: b,\n\tget: x,\n\tgroupBy: S,\n\thead: C,\n\tincludes: T,\n\tinitial: w,\n\tintersection: E,\n\tisArray: D,\n\tisEmpty: O,\n\tisEqual: A,\n\tisEqualWith: j,\n\tisFinite: M,\n\tisFunction: N,\n\tisNumber: P,\n\tisObject: F,\n\tisString: I,\n\tisUndefined: L,\n\tmap: R,\n\tmax: z,\n\tmerge: B,\n\tomit: V,\n\tomitBy: H,\n\tpick: U,\n\trange: W,\n\trangeRight: G,\n\treduce: K,\n\tremove: q,\n\tset: J,\n\tshuffle: Y,\n\ttail: X,\n\ttakeRight: Z,\n\tthrottle: Q,\n\ttimes: ne,\n\tuniqueId: ie,\n\tuniq: $,\n\tuniqWith: ae,\n\tzip: oe\n};\n//#endregion\nexport { o as assign, s as chunk, c as clone, l as cloneDeep, u as compact, d as concat, f as debounce, se as default, p as defaults, m as difference, h as differenceWith, ee as escape, g as every, _ as find, v as findKey, te as flatMap, y as flatten, b as forEach, x as get, S as groupBy, C as head, T as includes, w as initial, E as intersection, D as isArray, O as isEmpty, A as isEqual, j as isEqualWith, M as isFinite, N as isFunction, P as isNumber, F as isObject, I as isString, L as isUndefined, R as map, z as max, B as merge, V as omit, H as omitBy, U as pick, W as range, G as rangeRight, K as reduce, q as remove, J as set, Y as shuffle, X as tail, Z as takeRight, Q as throttle, ne as times, $ as uniq, ae as uniqWith, ie as uniqueId, oe as zip };\n"],"mappings":";AACA,IAAI,IAAI,OAAO;AACf,SAAS,EAAE,GAAG;CACb,OAAO,OAAO,KAAK,YAAY,CAAC,CAAC;AAClC;AACA,SAAS,EAAE,GAAG;CACb,OA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