eat-js-sdk 0.0.53 → 0.0.54

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.
@@ -26,6 +26,16 @@
26
26
  function safe_not_equal(a, b) {
27
27
  return a != a ? b == b : a !== b || a && typeof a === "object" || typeof a === "function";
28
28
  }
29
+ var src_url_equal_anchor;
30
+ function src_url_equal(element_src, url) {
31
+ if (element_src === url)
32
+ return true;
33
+ if (!src_url_equal_anchor) {
34
+ src_url_equal_anchor = document.createElement("a");
35
+ }
36
+ src_url_equal_anchor.href = url;
37
+ return element_src === src_url_equal_anchor.href;
38
+ }
29
39
  function is_empty(obj) {
30
40
  return Object.keys(obj).length === 0;
31
41
  }
@@ -698,7 +708,7 @@
698
708
  }
699
709
  component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
700
710
  }
701
- function init(component, options, instance12, create_fragment25, not_equal, props, append_styles2 = null, dirty = [-1]) {
711
+ function init(component, options, instance13, create_fragment26, not_equal, props, append_styles2 = null, dirty = [-1]) {
702
712
  const parent_component = current_component;
703
713
  set_current_component(component);
704
714
  const $$ = component.$$ = {
@@ -724,7 +734,7 @@
724
734
  };
725
735
  append_styles2 && append_styles2($$.root);
726
736
  let ready = false;
727
- $$.ctx = instance12 ? instance12(component, options.props || {}, (i, ret, ...rest) => {
737
+ $$.ctx = instance13 ? instance13(component, options.props || {}, (i, ret, ...rest) => {
728
738
  const value = rest.length ? rest[0] : ret;
729
739
  if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
730
740
  if (!$$.skip_bound && $$.bound[i])
@@ -737,7 +747,7 @@
737
747
  $$.update();
738
748
  ready = true;
739
749
  run_all($$.before_update);
740
- $$.fragment = create_fragment25 ? create_fragment25($$.ctx) : false;
750
+ $$.fragment = create_fragment26 ? create_fragment26($$.ctx) : false;
741
751
  if (options.target) {
742
752
  if (options.hydrate) {
743
753
  start_hydrating();
@@ -1144,13 +1154,284 @@
1144
1154
  var useRemoveDiacritics = (data) => data.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, " ");
1145
1155
  var useRemovePunctuation = (data) => data.replace(/[^\p{L}\p{M}\s\d]/gu, "").replace(/\s+/g, " ");
1146
1156
 
1147
- // src/lib/components/prompt/template/PromptBody.svelte
1157
+ // src/lib/constants/index.ts
1158
+ var INTERACTION_TYPE_MCQ = "multipleChoiceInteraction";
1159
+ var INTERACTION_TYPE_TYPEIN = "typeInInteraction";
1160
+ var INTERACTION_TYPE_CATEGORISE = "categoriseInteraction";
1161
+ var TYPEIN_TYPE_SHORT = "Short-Text";
1162
+ var CONTAINER_WORD_BIN_ID = "container-word-bin";
1163
+ var SCREEN_MD = 732;
1164
+ var EAT_DASH = "@eat-dash@";
1165
+ var ANSWER_CORRECT = "correct";
1166
+ var ANSWER_INCORRECT = "incorrect";
1167
+ var ANSWER_MISSED = "missed";
1168
+ var ASSET_ALIGNMENT_DEFAULT = "default";
1169
+ var ASSET_ALIGNMENT_INLINE = "inline";
1170
+ var ASSET_TYPE_IMAGE = "image";
1171
+
1172
+ // src/lib/components/common/CommonMedia.svelte
1173
+ function create_if_block(ctx) {
1174
+ let div;
1175
+ let if_block = (
1176
+ /*fileType*/
1177
+ ctx[0] === ASSET_TYPE_IMAGE && create_if_block_1(ctx)
1178
+ );
1179
+ return {
1180
+ c() {
1181
+ div = element("div");
1182
+ if (if_block)
1183
+ if_block.c();
1184
+ attr(div, "class", "flex items-center justify-center flex-col text-center");
1185
+ },
1186
+ m(target, anchor) {
1187
+ insert(target, div, anchor);
1188
+ if (if_block)
1189
+ if_block.m(div, null);
1190
+ },
1191
+ p(ctx2, dirty) {
1192
+ if (
1193
+ /*fileType*/
1194
+ ctx2[0] === ASSET_TYPE_IMAGE
1195
+ ) {
1196
+ if (if_block) {
1197
+ if_block.p(ctx2, dirty);
1198
+ } else {
1199
+ if_block = create_if_block_1(ctx2);
1200
+ if_block.c();
1201
+ if_block.m(div, null);
1202
+ }
1203
+ } else if (if_block) {
1204
+ if_block.d(1);
1205
+ if_block = null;
1206
+ }
1207
+ },
1208
+ d(detaching) {
1209
+ if (detaching) {
1210
+ detach(div);
1211
+ }
1212
+ if (if_block)
1213
+ if_block.d();
1214
+ }
1215
+ };
1216
+ }
1148
1217
  function create_if_block_1(ctx) {
1218
+ let img;
1219
+ let img_src_value;
1220
+ let t2;
1221
+ let if_block_anchor;
1222
+ let if_block = (
1223
+ /*fileCaption*/
1224
+ ctx[3] && create_if_block_2(ctx)
1225
+ );
1226
+ return {
1227
+ c() {
1228
+ img = element("img");
1229
+ t2 = space();
1230
+ if (if_block)
1231
+ if_block.c();
1232
+ if_block_anchor = empty();
1233
+ if (!src_url_equal(img.src, img_src_value = /*fileUrl*/
1234
+ ctx[1]))
1235
+ attr(img, "src", img_src_value);
1236
+ attr(
1237
+ img,
1238
+ "alt",
1239
+ /*altText*/
1240
+ ctx[2]
1241
+ );
1242
+ },
1243
+ m(target, anchor) {
1244
+ insert(target, img, anchor);
1245
+ insert(target, t2, anchor);
1246
+ if (if_block)
1247
+ if_block.m(target, anchor);
1248
+ insert(target, if_block_anchor, anchor);
1249
+ },
1250
+ p(ctx2, dirty) {
1251
+ if (dirty & /*fileUrl*/
1252
+ 2 && !src_url_equal(img.src, img_src_value = /*fileUrl*/
1253
+ ctx2[1])) {
1254
+ attr(img, "src", img_src_value);
1255
+ }
1256
+ if (dirty & /*altText*/
1257
+ 4) {
1258
+ attr(
1259
+ img,
1260
+ "alt",
1261
+ /*altText*/
1262
+ ctx2[2]
1263
+ );
1264
+ }
1265
+ if (
1266
+ /*fileCaption*/
1267
+ ctx2[3]
1268
+ ) {
1269
+ if (if_block) {
1270
+ if_block.p(ctx2, dirty);
1271
+ } else {
1272
+ if_block = create_if_block_2(ctx2);
1273
+ if_block.c();
1274
+ if_block.m(if_block_anchor.parentNode, if_block_anchor);
1275
+ }
1276
+ } else if (if_block) {
1277
+ if_block.d(1);
1278
+ if_block = null;
1279
+ }
1280
+ },
1281
+ d(detaching) {
1282
+ if (detaching) {
1283
+ detach(img);
1284
+ detach(t2);
1285
+ detach(if_block_anchor);
1286
+ }
1287
+ if (if_block)
1288
+ if_block.d(detaching);
1289
+ }
1290
+ };
1291
+ }
1292
+ function create_if_block_2(ctx) {
1293
+ let p;
1294
+ let t2;
1295
+ return {
1296
+ c() {
1297
+ p = element("p");
1298
+ t2 = text(
1299
+ /*fileCaption*/
1300
+ ctx[3]
1301
+ );
1302
+ attr(p, "class", "text-lg leading-[22px] text-blue-1000 font-semibold mt-4");
1303
+ },
1304
+ m(target, anchor) {
1305
+ insert(target, p, anchor);
1306
+ append(p, t2);
1307
+ },
1308
+ p(ctx2, dirty) {
1309
+ if (dirty & /*fileCaption*/
1310
+ 8)
1311
+ set_data(
1312
+ t2,
1313
+ /*fileCaption*/
1314
+ ctx2[3]
1315
+ );
1316
+ },
1317
+ d(detaching) {
1318
+ if (detaching) {
1319
+ detach(p);
1320
+ }
1321
+ }
1322
+ };
1323
+ }
1324
+ function create_fragment(ctx) {
1325
+ let if_block_anchor;
1326
+ let if_block = (
1327
+ /*fileUrl*/
1328
+ ctx[1] && create_if_block(ctx)
1329
+ );
1330
+ return {
1331
+ c() {
1332
+ if (if_block)
1333
+ if_block.c();
1334
+ if_block_anchor = empty();
1335
+ },
1336
+ m(target, anchor) {
1337
+ if (if_block)
1338
+ if_block.m(target, anchor);
1339
+ insert(target, if_block_anchor, anchor);
1340
+ },
1341
+ p(ctx2, [dirty]) {
1342
+ if (
1343
+ /*fileUrl*/
1344
+ ctx2[1]
1345
+ ) {
1346
+ if (if_block) {
1347
+ if_block.p(ctx2, dirty);
1348
+ } else {
1349
+ if_block = create_if_block(ctx2);
1350
+ if_block.c();
1351
+ if_block.m(if_block_anchor.parentNode, if_block_anchor);
1352
+ }
1353
+ } else if (if_block) {
1354
+ if_block.d(1);
1355
+ if_block = null;
1356
+ }
1357
+ },
1358
+ i: noop,
1359
+ o: noop,
1360
+ d(detaching) {
1361
+ if (detaching) {
1362
+ detach(if_block_anchor);
1363
+ }
1364
+ if (if_block)
1365
+ if_block.d(detaching);
1366
+ }
1367
+ };
1368
+ }
1369
+ function instance($$self, $$props, $$invalidate) {
1370
+ let { fileType } = $$props;
1371
+ let { fileUrl } = $$props;
1372
+ let { altText = "" } = $$props;
1373
+ let { fileCaption = "" } = $$props;
1374
+ $$self.$$set = ($$props2) => {
1375
+ if ("fileType" in $$props2)
1376
+ $$invalidate(0, fileType = $$props2.fileType);
1377
+ if ("fileUrl" in $$props2)
1378
+ $$invalidate(1, fileUrl = $$props2.fileUrl);
1379
+ if ("altText" in $$props2)
1380
+ $$invalidate(2, altText = $$props2.altText);
1381
+ if ("fileCaption" in $$props2)
1382
+ $$invalidate(3, fileCaption = $$props2.fileCaption);
1383
+ };
1384
+ return [fileType, fileUrl, altText, fileCaption];
1385
+ }
1386
+ var CommonMedia = class extends SvelteComponent {
1387
+ constructor(options) {
1388
+ super();
1389
+ init(this, options, instance, create_fragment, safe_not_equal, {
1390
+ fileType: 0,
1391
+ fileUrl: 1,
1392
+ altText: 2,
1393
+ fileCaption: 3
1394
+ });
1395
+ }
1396
+ get fileType() {
1397
+ return this.$$.ctx[0];
1398
+ }
1399
+ set fileType(fileType) {
1400
+ this.$$set({ fileType });
1401
+ flush();
1402
+ }
1403
+ get fileUrl() {
1404
+ return this.$$.ctx[1];
1405
+ }
1406
+ set fileUrl(fileUrl) {
1407
+ this.$$set({ fileUrl });
1408
+ flush();
1409
+ }
1410
+ get altText() {
1411
+ return this.$$.ctx[2];
1412
+ }
1413
+ set altText(altText) {
1414
+ this.$$set({ altText });
1415
+ flush();
1416
+ }
1417
+ get fileCaption() {
1418
+ return this.$$.ctx[3];
1419
+ }
1420
+ set fileCaption(fileCaption) {
1421
+ this.$$set({ fileCaption });
1422
+ flush();
1423
+ }
1424
+ };
1425
+ customElements.define("common-media", create_custom_element(CommonMedia, { "fileType": {}, "fileUrl": {}, "altText": {}, "fileCaption": {} }, [], [], true));
1426
+ var CommonMedia_default = CommonMedia;
1427
+
1428
+ // src/lib/components/prompt/template/PromptBody.svelte
1429
+ function create_if_block_4(ctx) {
1149
1430
  let html_tag;
1150
1431
  let raw_value = `<${/*promptRubricHeaderElem*/
1151
- ctx[2]} class="item-heading mb-2 md:mb-4">${/*rubric*/
1432
+ ctx[9]} class="item-heading mb-4">${/*rubric*/
1152
1433
  ctx[0]}</${/*promptRubricHeaderElem*/
1153
- ctx[2]}>`;
1434
+ ctx[9]}>`;
1154
1435
  let html_anchor;
1155
1436
  return {
1156
1437
  c() {
@@ -1165,9 +1446,9 @@
1165
1446
  p(ctx2, dirty) {
1166
1447
  if (dirty & /*rubric*/
1167
1448
  1 && raw_value !== (raw_value = `<${/*promptRubricHeaderElem*/
1168
- ctx2[2]} class="item-heading mb-2 md:mb-4">${/*rubric*/
1449
+ ctx2[9]} class="item-heading mb-4">${/*rubric*/
1169
1450
  ctx2[0]}</${/*promptRubricHeaderElem*/
1170
- ctx2[2]}>`))
1451
+ ctx2[9]}>`))
1171
1452
  html_tag.p(raw_value);
1172
1453
  },
1173
1454
  d(detaching) {
@@ -1178,12 +1459,85 @@
1178
1459
  }
1179
1460
  };
1180
1461
  }
1181
- function create_if_block(ctx) {
1462
+ function create_if_block_3(ctx) {
1463
+ let div;
1464
+ let commonmedia;
1465
+ let current;
1466
+ commonmedia = new CommonMedia_default({
1467
+ props: {
1468
+ fileType: (
1469
+ /*fileType*/
1470
+ ctx[3]
1471
+ ),
1472
+ fileUrl: (
1473
+ /*fileUrl*/
1474
+ ctx[2]
1475
+ ),
1476
+ altText: (
1477
+ /*altText*/
1478
+ ctx[5]
1479
+ ),
1480
+ fileCaption: (
1481
+ /*caption*/
1482
+ ctx[6]
1483
+ )
1484
+ }
1485
+ });
1486
+ return {
1487
+ c() {
1488
+ div = element("div");
1489
+ create_component(commonmedia.$$.fragment);
1490
+ attr(div, "class", "pt-6 pb-10");
1491
+ },
1492
+ m(target, anchor) {
1493
+ insert(target, div, anchor);
1494
+ mount_component(commonmedia, div, null);
1495
+ current = true;
1496
+ },
1497
+ p(ctx2, dirty) {
1498
+ const commonmedia_changes = {};
1499
+ if (dirty & /*fileType*/
1500
+ 8)
1501
+ commonmedia_changes.fileType = /*fileType*/
1502
+ ctx2[3];
1503
+ if (dirty & /*fileUrl*/
1504
+ 4)
1505
+ commonmedia_changes.fileUrl = /*fileUrl*/
1506
+ ctx2[2];
1507
+ if (dirty & /*altText*/
1508
+ 32)
1509
+ commonmedia_changes.altText = /*altText*/
1510
+ ctx2[5];
1511
+ if (dirty & /*caption*/
1512
+ 64)
1513
+ commonmedia_changes.fileCaption = /*caption*/
1514
+ ctx2[6];
1515
+ commonmedia.$set(commonmedia_changes);
1516
+ },
1517
+ i(local) {
1518
+ if (current)
1519
+ return;
1520
+ transition_in(commonmedia.$$.fragment, local);
1521
+ current = true;
1522
+ },
1523
+ o(local) {
1524
+ transition_out(commonmedia.$$.fragment, local);
1525
+ current = false;
1526
+ },
1527
+ d(detaching) {
1528
+ if (detaching) {
1529
+ detach(div);
1530
+ }
1531
+ destroy_component(commonmedia);
1532
+ }
1533
+ };
1534
+ }
1535
+ function create_if_block_22(ctx) {
1182
1536
  let html_tag;
1183
1537
  let raw_value = `<${/*promptRubricHeaderElem*/
1184
- ctx[2]} class="item-heading font-semibold">${/*prompt*/
1538
+ ctx[9]} class="item-heading font-semibold">${/*prompt*/
1185
1539
  ctx[1]}</${/*promptRubricHeaderElem*/
1186
- ctx[2]}>`;
1540
+ ctx[9]}>`;
1187
1541
  let html_anchor;
1188
1542
  return {
1189
1543
  c() {
@@ -1198,9 +1552,9 @@
1198
1552
  p(ctx2, dirty) {
1199
1553
  if (dirty & /*prompt*/
1200
1554
  2 && raw_value !== (raw_value = `<${/*promptRubricHeaderElem*/
1201
- ctx2[2]} class="item-heading font-semibold">${/*prompt*/
1555
+ ctx2[9]} class="item-heading font-semibold">${/*prompt*/
1202
1556
  ctx2[1]}</${/*promptRubricHeaderElem*/
1203
- ctx2[2]}>`))
1557
+ ctx2[9]}>`))
1204
1558
  html_tag.p(raw_value);
1205
1559
  },
1206
1560
  d(detaching) {
@@ -1211,34 +1565,204 @@
1211
1565
  }
1212
1566
  };
1213
1567
  }
1214
- function create_fragment(ctx) {
1568
+ function create_if_block_12(ctx) {
1569
+ let div;
1570
+ let commonmedia;
1571
+ let current;
1572
+ commonmedia = new CommonMedia_default({
1573
+ props: {
1574
+ fileType: (
1575
+ /*fileType*/
1576
+ ctx[3]
1577
+ ),
1578
+ fileUrl: (
1579
+ /*fileUrl*/
1580
+ ctx[2]
1581
+ ),
1582
+ altText: (
1583
+ /*altText*/
1584
+ ctx[5]
1585
+ ),
1586
+ fileCaption: (
1587
+ /*caption*/
1588
+ ctx[6]
1589
+ )
1590
+ }
1591
+ });
1592
+ return {
1593
+ c() {
1594
+ div = element("div");
1595
+ create_component(commonmedia.$$.fragment);
1596
+ attr(div, "class", "pt-6 lg:hidden");
1597
+ },
1598
+ m(target, anchor) {
1599
+ insert(target, div, anchor);
1600
+ mount_component(commonmedia, div, null);
1601
+ current = true;
1602
+ },
1603
+ p(ctx2, dirty) {
1604
+ const commonmedia_changes = {};
1605
+ if (dirty & /*fileType*/
1606
+ 8)
1607
+ commonmedia_changes.fileType = /*fileType*/
1608
+ ctx2[3];
1609
+ if (dirty & /*fileUrl*/
1610
+ 4)
1611
+ commonmedia_changes.fileUrl = /*fileUrl*/
1612
+ ctx2[2];
1613
+ if (dirty & /*altText*/
1614
+ 32)
1615
+ commonmedia_changes.altText = /*altText*/
1616
+ ctx2[5];
1617
+ if (dirty & /*caption*/
1618
+ 64)
1619
+ commonmedia_changes.fileCaption = /*caption*/
1620
+ ctx2[6];
1621
+ commonmedia.$set(commonmedia_changes);
1622
+ },
1623
+ i(local) {
1624
+ if (current)
1625
+ return;
1626
+ transition_in(commonmedia.$$.fragment, local);
1627
+ current = true;
1628
+ },
1629
+ o(local) {
1630
+ transition_out(commonmedia.$$.fragment, local);
1631
+ current = false;
1632
+ },
1633
+ d(detaching) {
1634
+ if (detaching) {
1635
+ detach(div);
1636
+ }
1637
+ destroy_component(commonmedia);
1638
+ }
1639
+ };
1640
+ }
1641
+ function create_if_block2(ctx) {
1642
+ let div1;
1643
+ let div0;
1644
+ let commonmedia;
1645
+ let current;
1646
+ commonmedia = new CommonMedia_default({
1647
+ props: {
1648
+ fileType: (
1649
+ /*fileType*/
1650
+ ctx[3]
1651
+ ),
1652
+ fileUrl: (
1653
+ /*fileUrl*/
1654
+ ctx[2]
1655
+ ),
1656
+ altText: (
1657
+ /*altText*/
1658
+ ctx[5]
1659
+ ),
1660
+ fileCaption: (
1661
+ /*caption*/
1662
+ ctx[6]
1663
+ )
1664
+ }
1665
+ });
1666
+ return {
1667
+ c() {
1668
+ div1 = element("div");
1669
+ div0 = element("div");
1670
+ create_component(commonmedia.$$.fragment);
1671
+ attr(div0, "class", "w-full");
1672
+ attr(div1, "class", "pl-24 w-2/4 hidden lg:flex lg:basis-1/2 lg:items-center lg:justify-between lg:grow");
1673
+ },
1674
+ m(target, anchor) {
1675
+ insert(target, div1, anchor);
1676
+ append(div1, div0);
1677
+ mount_component(commonmedia, div0, null);
1678
+ current = true;
1679
+ },
1680
+ p(ctx2, dirty) {
1681
+ const commonmedia_changes = {};
1682
+ if (dirty & /*fileType*/
1683
+ 8)
1684
+ commonmedia_changes.fileType = /*fileType*/
1685
+ ctx2[3];
1686
+ if (dirty & /*fileUrl*/
1687
+ 4)
1688
+ commonmedia_changes.fileUrl = /*fileUrl*/
1689
+ ctx2[2];
1690
+ if (dirty & /*altText*/
1691
+ 32)
1692
+ commonmedia_changes.altText = /*altText*/
1693
+ ctx2[5];
1694
+ if (dirty & /*caption*/
1695
+ 64)
1696
+ commonmedia_changes.fileCaption = /*caption*/
1697
+ ctx2[6];
1698
+ commonmedia.$set(commonmedia_changes);
1699
+ },
1700
+ i(local) {
1701
+ if (current)
1702
+ return;
1703
+ transition_in(commonmedia.$$.fragment, local);
1704
+ current = true;
1705
+ },
1706
+ o(local) {
1707
+ transition_out(commonmedia.$$.fragment, local);
1708
+ current = false;
1709
+ },
1710
+ d(detaching) {
1711
+ if (detaching) {
1712
+ detach(div1);
1713
+ }
1714
+ destroy_component(commonmedia);
1715
+ }
1716
+ };
1717
+ }
1718
+ function create_fragment2(ctx) {
1719
+ let div2;
1215
1720
  let div1;
1216
1721
  let t0;
1217
1722
  let t1;
1218
- let div0;
1219
1723
  let t2;
1724
+ let t3;
1725
+ let div0;
1726
+ let t4;
1727
+ let div1_class_value;
1728
+ let t5;
1729
+ let div2_class_value;
1220
1730
  let current;
1221
1731
  let if_block0 = (
1222
1732
  /*rubric*/
1223
- ctx[0] && create_if_block_1(ctx)
1733
+ ctx[0] && create_if_block_4(ctx)
1224
1734
  );
1225
1735
  let if_block1 = (
1736
+ /*showAsset*/
1737
+ ctx[7] && /*fileAlignment*/
1738
+ ctx[4] === ASSET_ALIGNMENT_INLINE && create_if_block_3(ctx)
1739
+ );
1740
+ let if_block2 = (
1226
1741
  /*prompt*/
1227
- ctx[1] && create_if_block(ctx)
1742
+ ctx[1] && create_if_block_22(ctx)
1743
+ );
1744
+ let if_block3 = (
1745
+ /*showAlignmentDefault*/
1746
+ ctx[8] && create_if_block_12(ctx)
1228
1747
  );
1229
1748
  const default_slot_template = (
1230
1749
  /*#slots*/
1231
- ctx[4].default
1750
+ ctx[13].default
1232
1751
  );
1233
1752
  const default_slot = create_slot(
1234
1753
  default_slot_template,
1235
1754
  ctx,
1236
1755
  /*$$scope*/
1237
- ctx[3],
1756
+ ctx[12],
1238
1757
  null
1239
1758
  );
1759
+ let if_block4 = (
1760
+ /*showAlignmentDefault*/
1761
+ ctx[8] && create_if_block2(ctx)
1762
+ );
1240
1763
  return {
1241
1764
  c() {
1765
+ div2 = element("div");
1242
1766
  div1 = element("div");
1243
1767
  if (if_block0)
1244
1768
  if_block0.c();
@@ -1246,26 +1770,48 @@
1246
1770
  if (if_block1)
1247
1771
  if_block1.c();
1248
1772
  t1 = space();
1249
- div0 = element("div");
1773
+ if (if_block2)
1774
+ if_block2.c();
1250
1775
  t2 = space();
1776
+ if (if_block3)
1777
+ if_block3.c();
1778
+ t3 = space();
1779
+ div0 = element("div");
1780
+ t4 = space();
1251
1781
  if (default_slot)
1252
1782
  default_slot.c();
1783
+ t5 = space();
1784
+ if (if_block4)
1785
+ if_block4.c();
1253
1786
  attr(div0, "class", "divider my-6");
1254
- attr(div1, "class", "bg-transparent relative");
1787
+ attr(div1, "class", div1_class_value = "bg-transparent relative " + /*showAlignmentDefault*/
1788
+ (ctx[8] ? "lg:basis-1/2" : ""));
1789
+ attr(div2, "class", div2_class_value = /*showAlignmentDefault*/
1790
+ ctx[8] ? "lg:w-full lg:flex" : "");
1255
1791
  },
1256
1792
  m(target, anchor) {
1257
- insert(target, div1, anchor);
1793
+ insert(target, div2, anchor);
1794
+ append(div2, div1);
1258
1795
  if (if_block0)
1259
1796
  if_block0.m(div1, null);
1260
1797
  append(div1, t0);
1261
1798
  if (if_block1)
1262
1799
  if_block1.m(div1, null);
1263
1800
  append(div1, t1);
1264
- append(div1, div0);
1801
+ if (if_block2)
1802
+ if_block2.m(div1, null);
1265
1803
  append(div1, t2);
1804
+ if (if_block3)
1805
+ if_block3.m(div1, null);
1806
+ append(div1, t3);
1807
+ append(div1, div0);
1808
+ append(div1, t4);
1266
1809
  if (default_slot) {
1267
1810
  default_slot.m(div1, null);
1268
1811
  }
1812
+ append(div2, t5);
1813
+ if (if_block4)
1814
+ if_block4.m(div2, null);
1269
1815
  current = true;
1270
1816
  },
1271
1817
  p(ctx2, [dirty]) {
@@ -1276,7 +1822,7 @@
1276
1822
  if (if_block0) {
1277
1823
  if_block0.p(ctx2, dirty);
1278
1824
  } else {
1279
- if_block0 = create_if_block_1(ctx2);
1825
+ if_block0 = create_if_block_4(ctx2);
1280
1826
  if_block0.c();
1281
1827
  if_block0.m(div1, t0);
1282
1828
  }
@@ -1285,36 +1831,65 @@
1285
1831
  if_block0 = null;
1286
1832
  }
1287
1833
  if (
1288
- /*prompt*/
1289
- ctx2[1]
1834
+ /*showAsset*/
1835
+ ctx2[7] && /*fileAlignment*/
1836
+ ctx2[4] === ASSET_ALIGNMENT_INLINE
1290
1837
  ) {
1291
1838
  if (if_block1) {
1292
1839
  if_block1.p(ctx2, dirty);
1840
+ if (dirty & /*fileAlignment*/
1841
+ 16) {
1842
+ transition_in(if_block1, 1);
1843
+ }
1293
1844
  } else {
1294
- if_block1 = create_if_block(ctx2);
1845
+ if_block1 = create_if_block_3(ctx2);
1295
1846
  if_block1.c();
1847
+ transition_in(if_block1, 1);
1296
1848
  if_block1.m(div1, t1);
1297
1849
  }
1298
1850
  } else if (if_block1) {
1299
- if_block1.d(1);
1300
- if_block1 = null;
1851
+ group_outros();
1852
+ transition_out(if_block1, 1, 1, () => {
1853
+ if_block1 = null;
1854
+ });
1855
+ check_outros();
1856
+ }
1857
+ if (
1858
+ /*prompt*/
1859
+ ctx2[1]
1860
+ ) {
1861
+ if (if_block2) {
1862
+ if_block2.p(ctx2, dirty);
1863
+ } else {
1864
+ if_block2 = create_if_block_22(ctx2);
1865
+ if_block2.c();
1866
+ if_block2.m(div1, t2);
1867
+ }
1868
+ } else if (if_block2) {
1869
+ if_block2.d(1);
1870
+ if_block2 = null;
1301
1871
  }
1872
+ if (
1873
+ /*showAlignmentDefault*/
1874
+ ctx2[8]
1875
+ )
1876
+ if_block3.p(ctx2, dirty);
1302
1877
  if (default_slot) {
1303
1878
  if (default_slot.p && (!current || dirty & /*$$scope*/
1304
- 8)) {
1879
+ 4096)) {
1305
1880
  update_slot_base(
1306
1881
  default_slot,
1307
1882
  default_slot_template,
1308
1883
  ctx2,
1309
1884
  /*$$scope*/
1310
- ctx2[3],
1885
+ ctx2[12],
1311
1886
  !current ? get_all_dirty_from_scope(
1312
1887
  /*$$scope*/
1313
- ctx2[3]
1888
+ ctx2[12]
1314
1889
  ) : get_slot_changes(
1315
1890
  default_slot_template,
1316
1891
  /*$$scope*/
1317
- ctx2[3],
1892
+ ctx2[12],
1318
1893
  dirty,
1319
1894
  null
1320
1895
  ),
@@ -1322,49 +1897,112 @@
1322
1897
  );
1323
1898
  }
1324
1899
  }
1900
+ if (
1901
+ /*showAlignmentDefault*/
1902
+ ctx2[8]
1903
+ )
1904
+ if_block4.p(ctx2, dirty);
1325
1905
  },
1326
1906
  i(local) {
1327
1907
  if (current)
1328
1908
  return;
1909
+ transition_in(if_block1);
1910
+ transition_in(if_block3);
1329
1911
  transition_in(default_slot, local);
1912
+ transition_in(if_block4);
1330
1913
  current = true;
1331
1914
  },
1332
1915
  o(local) {
1916
+ transition_out(if_block1);
1917
+ transition_out(if_block3);
1333
1918
  transition_out(default_slot, local);
1919
+ transition_out(if_block4);
1334
1920
  current = false;
1335
1921
  },
1336
1922
  d(detaching) {
1337
1923
  if (detaching) {
1338
- detach(div1);
1924
+ detach(div2);
1339
1925
  }
1340
1926
  if (if_block0)
1341
1927
  if_block0.d();
1342
1928
  if (if_block1)
1343
1929
  if_block1.d();
1930
+ if (if_block2)
1931
+ if_block2.d();
1932
+ if (if_block3)
1933
+ if_block3.d();
1344
1934
  if (default_slot)
1345
1935
  default_slot.d(detaching);
1936
+ if (if_block4)
1937
+ if_block4.d();
1346
1938
  }
1347
1939
  };
1348
1940
  }
1349
- function instance($$self, $$props, $$invalidate) {
1941
+ function instance2($$self, $$props, $$invalidate) {
1350
1942
  let { $$slots: slots = {}, $$scope } = $$props;
1351
1943
  let { rubric } = $$props;
1352
1944
  let { prompt } = $$props;
1945
+ let { interactionType = "" } = $$props;
1946
+ let { stimulus = null } = $$props;
1947
+ let fileUrl = "";
1948
+ let fileType = "";
1949
+ let fileAlignment = "default";
1950
+ let altText = "";
1951
+ let caption = "";
1952
+ if (stimulus) {
1953
+ const { asset_alignment: assetAlignment, alternative_text: alternativeText, description, file } = stimulus;
1954
+ if (file) {
1955
+ const { url, file_name: fileName, content_type: contentType } = file;
1956
+ const tempName = fileName || "Exercise image";
1957
+ const fileContentType = contentType.split("/");
1958
+ fileAlignment = assetAlignment;
1959
+ altText = alternativeText || tempName;
1960
+ fileUrl = url || "";
1961
+ fileType = contentType ? fileContentType[0] : "";
1962
+ caption = description || "";
1963
+ }
1964
+ }
1965
+ const showAsset = (interactionType === INTERACTION_TYPE_MCQ || interactionType === INTERACTION_TYPE_TYPEIN) && fileUrl;
1966
+ const showAlignmentDefault = showAsset && fileAlignment === ASSET_ALIGNMENT_DEFAULT;
1353
1967
  const promptRubricHeaderElem = get_store_value(promptRubricElem);
1354
1968
  $$self.$$set = ($$props2) => {
1355
1969
  if ("rubric" in $$props2)
1356
1970
  $$invalidate(0, rubric = $$props2.rubric);
1357
1971
  if ("prompt" in $$props2)
1358
1972
  $$invalidate(1, prompt = $$props2.prompt);
1973
+ if ("interactionType" in $$props2)
1974
+ $$invalidate(10, interactionType = $$props2.interactionType);
1975
+ if ("stimulus" in $$props2)
1976
+ $$invalidate(11, stimulus = $$props2.stimulus);
1359
1977
  if ("$$scope" in $$props2)
1360
- $$invalidate(3, $$scope = $$props2.$$scope);
1978
+ $$invalidate(12, $$scope = $$props2.$$scope);
1361
1979
  };
1362
- return [rubric, prompt, promptRubricHeaderElem, $$scope, slots];
1980
+ return [
1981
+ rubric,
1982
+ prompt,
1983
+ fileUrl,
1984
+ fileType,
1985
+ fileAlignment,
1986
+ altText,
1987
+ caption,
1988
+ showAsset,
1989
+ showAlignmentDefault,
1990
+ promptRubricHeaderElem,
1991
+ interactionType,
1992
+ stimulus,
1993
+ $$scope,
1994
+ slots
1995
+ ];
1363
1996
  }
1364
1997
  var PromptBody = class extends SvelteComponent {
1365
1998
  constructor(options) {
1366
1999
  super();
1367
- init(this, options, instance, create_fragment, safe_not_equal, { rubric: 0, prompt: 1 });
2000
+ init(this, options, instance2, create_fragment2, safe_not_equal, {
2001
+ rubric: 0,
2002
+ prompt: 1,
2003
+ interactionType: 10,
2004
+ stimulus: 11
2005
+ });
1368
2006
  }
1369
2007
  get rubric() {
1370
2008
  return this.$$.ctx[0];
@@ -1380,12 +2018,26 @@
1380
2018
  this.$$set({ prompt });
1381
2019
  flush();
1382
2020
  }
2021
+ get interactionType() {
2022
+ return this.$$.ctx[10];
2023
+ }
2024
+ set interactionType(interactionType) {
2025
+ this.$$set({ interactionType });
2026
+ flush();
2027
+ }
2028
+ get stimulus() {
2029
+ return this.$$.ctx[11];
2030
+ }
2031
+ set stimulus(stimulus) {
2032
+ this.$$set({ stimulus });
2033
+ flush();
2034
+ }
1383
2035
  };
1384
- customElements.define("prompt-body", create_custom_element(PromptBody, { "rubric": {}, "prompt": {} }, ["default"], [], true));
2036
+ customElements.define("prompt-body", create_custom_element(PromptBody, { "rubric": {}, "prompt": {}, "interactionType": {}, "stimulus": {} }, ["default"], [], true));
1385
2037
  var PromptBody_default = PromptBody;
1386
2038
 
1387
2039
  // src/lib/components/prompt/template/PromptResultFeedback.svelte
1388
- function create_if_block2(ctx) {
2040
+ function create_if_block3(ctx) {
1389
2041
  let div0;
1390
2042
  let t0;
1391
2043
  let span;
@@ -1395,7 +2047,7 @@
1395
2047
  let div1;
1396
2048
  let if_block = (
1397
2049
  /*resultFeedbackTitle*/
1398
- ctx[1] && create_if_block_12(ctx)
2050
+ ctx[1] && create_if_block_13(ctx)
1399
2051
  );
1400
2052
  return {
1401
2053
  c() {
@@ -1433,7 +2085,7 @@
1433
2085
  if (if_block) {
1434
2086
  if_block.p(ctx2, dirty);
1435
2087
  } else {
1436
- if_block = create_if_block_12(ctx2);
2088
+ if_block = create_if_block_13(ctx2);
1437
2089
  if_block.c();
1438
2090
  if_block.m(div0, t0);
1439
2091
  }
@@ -1465,7 +2117,7 @@
1465
2117
  }
1466
2118
  };
1467
2119
  }
1468
- function create_if_block_12(ctx) {
2120
+ function create_if_block_13(ctx) {
1469
2121
  let span;
1470
2122
  let t2;
1471
2123
  return {
@@ -1497,11 +2149,11 @@
1497
2149
  }
1498
2150
  };
1499
2151
  }
1500
- function create_fragment2(ctx) {
2152
+ function create_fragment3(ctx) {
1501
2153
  let if_block_anchor;
1502
2154
  let if_block = (
1503
2155
  /*resultFeedback*/
1504
- ctx[0] && create_if_block2(ctx)
2156
+ ctx[0] && create_if_block3(ctx)
1505
2157
  );
1506
2158
  return {
1507
2159
  c() {
@@ -1522,7 +2174,7 @@
1522
2174
  if (if_block) {
1523
2175
  if_block.p(ctx2, dirty);
1524
2176
  } else {
1525
- if_block = create_if_block2(ctx2);
2177
+ if_block = create_if_block3(ctx2);
1526
2178
  if_block.c();
1527
2179
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
1528
2180
  }
@@ -1542,7 +2194,7 @@
1542
2194
  }
1543
2195
  };
1544
2196
  }
1545
- function instance2($$self, $$props, $$invalidate) {
2197
+ function instance3($$self, $$props, $$invalidate) {
1546
2198
  let { resultFeedback = null } = $$props;
1547
2199
  let { resultFeedbackTitle = null } = $$props;
1548
2200
  let { isResultCorrect = true } = $$props;
@@ -1559,7 +2211,7 @@
1559
2211
  var PromptResultFeedback = class extends SvelteComponent {
1560
2212
  constructor(options) {
1561
2213
  super();
1562
- init(this, options, instance2, create_fragment2, safe_not_equal, {
2214
+ init(this, options, instance3, create_fragment3, safe_not_equal, {
1563
2215
  resultFeedback: 0,
1564
2216
  resultFeedbackTitle: 1,
1565
2217
  isResultCorrect: 2
@@ -1625,7 +2277,7 @@
1625
2277
  var useMCQ_default = useAlphabetEquivalent;
1626
2278
 
1627
2279
  // src/lib/assets/img/messaging/SuccessSolid.svelte
1628
- function create_fragment3(ctx) {
2280
+ function create_fragment4(ctx) {
1629
2281
  let svg;
1630
2282
  let path;
1631
2283
  return {
@@ -1661,14 +2313,14 @@
1661
2313
  var SuccessSolid = class extends SvelteComponent {
1662
2314
  constructor(options) {
1663
2315
  super();
1664
- init(this, options, null, create_fragment3, safe_not_equal, {});
2316
+ init(this, options, null, create_fragment4, safe_not_equal, {});
1665
2317
  }
1666
2318
  };
1667
2319
  create_custom_element(SuccessSolid, {}, [], [], true);
1668
2320
  var SuccessSolid_default = SuccessSolid;
1669
2321
 
1670
2322
  // src/lib/assets/img/messaging/ErrorSolid.svelte
1671
- function create_fragment4(ctx) {
2323
+ function create_fragment5(ctx) {
1672
2324
  let svg;
1673
2325
  let path;
1674
2326
  return {
@@ -1704,7 +2356,7 @@
1704
2356
  var ErrorSolid = class extends SvelteComponent {
1705
2357
  constructor(options) {
1706
2358
  super();
1707
- init(this, options, null, create_fragment4, safe_not_equal, {});
2359
+ init(this, options, null, create_fragment5, safe_not_equal, {});
1708
2360
  }
1709
2361
  };
1710
2362
  create_custom_element(ErrorSolid, {}, [], [], true);
@@ -1713,11 +2365,11 @@
1713
2365
  // src/lib/components/prompt/mcq/PromptMCQ.svelte
1714
2366
  function get_each_context(ctx, list, i) {
1715
2367
  const child_ctx = ctx.slice();
1716
- child_ctx[17] = list[i];
1717
- child_ctx[19] = i;
2368
+ child_ctx[18] = list[i];
2369
+ child_ctx[20] = i;
1718
2370
  return child_ctx;
1719
2371
  }
1720
- function create_if_block_13(ctx) {
2372
+ function create_if_block_14(ctx) {
1721
2373
  let div1;
1722
2374
  let div0;
1723
2375
  let div0_class_value;
@@ -1725,7 +2377,7 @@
1725
2377
  let current;
1726
2378
  let each_value = ensure_array_like(Object.values(
1727
2379
  /*options*/
1728
- ctx[7]
2380
+ ctx[8]
1729
2381
  ));
1730
2382
  let each_blocks = [];
1731
2383
  for (let i = 0; i < each_value.length; i += 1) {
@@ -1764,10 +2416,10 @@
1764
2416
  attr(div0, "class", div0_class_value);
1765
2417
  }
1766
2418
  if (dirty & /*selectedOption, Object, options, isFinished, isResultCorrect, handleOptionClick*/
1767
- 398) {
2419
+ 782) {
1768
2420
  each_value = ensure_array_like(Object.values(
1769
2421
  /*options*/
1770
- ctx2[7]
2422
+ ctx2[8]
1771
2423
  ));
1772
2424
  let i;
1773
2425
  for (i = 0; i < each_value.length; i += 1) {
@@ -1812,7 +2464,7 @@
1812
2464
  }
1813
2465
  };
1814
2466
  }
1815
- function create_if_block_4(ctx) {
2467
+ function create_if_block_42(ctx) {
1816
2468
  let p;
1817
2469
  return {
1818
2470
  c() {
@@ -1830,13 +2482,13 @@
1830
2482
  }
1831
2483
  };
1832
2484
  }
1833
- function create_if_block_2(ctx) {
2485
+ function create_if_block_23(ctx) {
1834
2486
  let span;
1835
2487
  let current_block_type_index;
1836
2488
  let if_block;
1837
2489
  let span_class_value;
1838
2490
  let current;
1839
- const if_block_creators = [create_if_block_3, create_else_block];
2491
+ const if_block_creators = [create_if_block_32, create_else_block];
1840
2492
  const if_blocks = [];
1841
2493
  function select_block_type(ctx2, dirty) {
1842
2494
  if (
@@ -1930,7 +2582,7 @@
1930
2582
  }
1931
2583
  };
1932
2584
  }
1933
- function create_if_block_3(ctx) {
2585
+ function create_if_block_32(ctx) {
1934
2586
  let successsolid;
1935
2587
  let current;
1936
2588
  successsolid = new SuccessSolid_default({});
@@ -1965,7 +2617,7 @@
1965
2617
  let t2;
1966
2618
  let t3_value = (
1967
2619
  /*option*/
1968
- ctx[17].answer + ""
2620
+ ctx[18].answer + ""
1969
2621
  );
1970
2622
  let t3;
1971
2623
  let t4;
@@ -1979,20 +2631,20 @@
1979
2631
  /*isFinished*/
1980
2632
  ctx[1] && /*selectedOption*/
1981
2633
  ctx[3] === /*option*/
1982
- ctx[17].id && create_if_block_4(ctx)
2634
+ ctx[18].id && create_if_block_42(ctx)
1983
2635
  );
1984
2636
  let if_block1 = (
1985
2637
  /*selectedOption*/
1986
2638
  ctx[3] === /*option*/
1987
- ctx[17].id && /*isFinished*/
1988
- ctx[1] && create_if_block_2(ctx)
2639
+ ctx[18].id && /*isFinished*/
2640
+ ctx[1] && create_if_block_23(ctx)
1989
2641
  );
1990
2642
  function click_handler() {
1991
2643
  return (
1992
2644
  /*click_handler*/
1993
- ctx[11](
2645
+ ctx[12](
1994
2646
  /*option*/
1995
- ctx[17]
2647
+ ctx[18]
1996
2648
  )
1997
2649
  );
1998
2650
  }
@@ -2006,7 +2658,7 @@
2006
2658
  span0 = element("span");
2007
2659
  span0.textContent = `${useMCQ_default(
2008
2660
  /*index*/
2009
- ctx[19]
2661
+ ctx[20]
2010
2662
  )}`;
2011
2663
  t2 = space();
2012
2664
  t3 = text(t3_value);
@@ -2018,23 +2670,23 @@
2018
2670
  attr(span1, "class", "grow flex items-center");
2019
2671
  attr(button, "aria-label", button_aria_label_value = `${/*selectedOption*/
2020
2672
  ctx[3] === /*option*/
2021
- ctx[17].id ? `Selected option ${useMCQ_default(
2673
+ ctx[18].id ? `Selected option ${useMCQ_default(
2022
2674
  /*index*/
2023
- ctx[19]
2675
+ ctx[20]
2024
2676
  )}` : `Option ${useMCQ_default(
2025
2677
  /*index*/
2026
- ctx[19]
2678
+ ctx[20]
2027
2679
  )}`}: ${/*option*/
2028
- ctx[17].answer} ${!/*isFinished*/
2680
+ ctx[18].answer} ${!/*isFinished*/
2029
2681
  ctx[1] || /*selectedOption*/
2030
2682
  ctx[3] !== /*option*/
2031
- ctx[17].id ? "" : (
2683
+ ctx[18].id ? "" : (
2032
2684
  /*isResultCorrect*/
2033
2685
  ctx[2] ? "(Correct answer)" : "(Incorrect answer)"
2034
2686
  )}`);
2035
2687
  attr(button, "class", button_class_value = "btn-mcq-option group text-left " + /*selectedOption*/
2036
2688
  (ctx[3] === /*option*/
2037
- ctx[17].id ? "selected" : "") + " " + (!/*isFinished*/
2689
+ ctx[18].id ? "selected" : "") + " " + (!/*isFinished*/
2038
2690
  ctx[1] ? "" : (
2039
2691
  /*isResultCorrect*/
2040
2692
  ctx[2] ? "correct" : "incorrect"
@@ -2065,11 +2717,11 @@
2065
2717
  /*isFinished*/
2066
2718
  ctx[1] && /*selectedOption*/
2067
2719
  ctx[3] === /*option*/
2068
- ctx[17].id
2720
+ ctx[18].id
2069
2721
  ) {
2070
2722
  if (if_block0) {
2071
2723
  } else {
2072
- if_block0 = create_if_block_4(ctx);
2724
+ if_block0 = create_if_block_42(ctx);
2073
2725
  if_block0.c();
2074
2726
  if_block0.m(t0.parentNode, t0);
2075
2727
  }
@@ -2080,7 +2732,7 @@
2080
2732
  if (
2081
2733
  /*selectedOption*/
2082
2734
  ctx[3] === /*option*/
2083
- ctx[17].id && /*isFinished*/
2735
+ ctx[18].id && /*isFinished*/
2084
2736
  ctx[1]
2085
2737
  ) {
2086
2738
  if (if_block1) {
@@ -2090,7 +2742,7 @@
2090
2742
  transition_in(if_block1, 1);
2091
2743
  }
2092
2744
  } else {
2093
- if_block1 = create_if_block_2(ctx);
2745
+ if_block1 = create_if_block_23(ctx);
2094
2746
  if_block1.c();
2095
2747
  transition_in(if_block1, 1);
2096
2748
  if_block1.m(button, t5);
@@ -2105,17 +2757,17 @@
2105
2757
  if (!current || dirty & /*selectedOption, isFinished, isResultCorrect*/
2106
2758
  14 && button_aria_label_value !== (button_aria_label_value = `${/*selectedOption*/
2107
2759
  ctx[3] === /*option*/
2108
- ctx[17].id ? `Selected option ${useMCQ_default(
2760
+ ctx[18].id ? `Selected option ${useMCQ_default(
2109
2761
  /*index*/
2110
- ctx[19]
2762
+ ctx[20]
2111
2763
  )}` : `Option ${useMCQ_default(
2112
2764
  /*index*/
2113
- ctx[19]
2765
+ ctx[20]
2114
2766
  )}`}: ${/*option*/
2115
- ctx[17].answer} ${!/*isFinished*/
2767
+ ctx[18].answer} ${!/*isFinished*/
2116
2768
  ctx[1] || /*selectedOption*/
2117
2769
  ctx[3] !== /*option*/
2118
- ctx[17].id ? "" : (
2770
+ ctx[18].id ? "" : (
2119
2771
  /*isResultCorrect*/
2120
2772
  ctx[2] ? "(Correct answer)" : "(Incorrect answer)"
2121
2773
  )}`)) {
@@ -2124,7 +2776,7 @@
2124
2776
  if (!current || dirty & /*selectedOption, isFinished, isResultCorrect*/
2125
2777
  14 && button_class_value !== (button_class_value = "btn-mcq-option group text-left " + /*selectedOption*/
2126
2778
  (ctx[3] === /*option*/
2127
- ctx[17].id ? "selected" : "") + " " + (!/*isFinished*/
2779
+ ctx[18].id ? "selected" : "") + " " + (!/*isFinished*/
2128
2780
  ctx[1] ? "" : (
2129
2781
  /*isResultCorrect*/
2130
2782
  ctx[2] ? "correct" : "incorrect"
@@ -2161,7 +2813,7 @@
2161
2813
  let current;
2162
2814
  let if_block = (
2163
2815
  /*options*/
2164
- ctx[7] && create_if_block_13(ctx)
2816
+ ctx[8] && create_if_block_14(ctx)
2165
2817
  );
2166
2818
  return {
2167
2819
  c() {
@@ -2178,7 +2830,7 @@
2178
2830
  p(ctx2, dirty) {
2179
2831
  if (
2180
2832
  /*options*/
2181
- ctx2[7]
2833
+ ctx2[8]
2182
2834
  )
2183
2835
  if_block.p(ctx2, dirty);
2184
2836
  },
@@ -2201,7 +2853,7 @@
2201
2853
  }
2202
2854
  };
2203
2855
  }
2204
- function create_if_block3(ctx) {
2856
+ function create_if_block4(ctx) {
2205
2857
  let promptresult;
2206
2858
  let current;
2207
2859
  promptresult = new PromptResultFeedback_default({
@@ -2251,7 +2903,7 @@
2251
2903
  }
2252
2904
  };
2253
2905
  }
2254
- function create_fragment5(ctx) {
2906
+ function create_fragment6(ctx) {
2255
2907
  let promptbody;
2256
2908
  let t2;
2257
2909
  let if_block_anchor;
@@ -2264,6 +2916,11 @@
2264
2916
  ),
2265
2917
  prompt: (
2266
2918
  /*prompt*/
2919
+ ctx[7]
2920
+ ),
2921
+ interactionType: INTERACTION_TYPE_MCQ,
2922
+ stimulus: (
2923
+ /*stimulus*/
2267
2924
  ctx[6]
2268
2925
  ),
2269
2926
  $$slots: { default: [create_default_slot] },
@@ -2272,7 +2929,7 @@
2272
2929
  });
2273
2930
  let if_block = (
2274
2931
  /*isFinished*/
2275
- ctx[1] && create_if_block3(ctx)
2932
+ ctx[1] && create_if_block4(ctx)
2276
2933
  );
2277
2934
  return {
2278
2935
  c() {
@@ -2293,7 +2950,7 @@
2293
2950
  p(ctx2, [dirty]) {
2294
2951
  const promptbody_changes = {};
2295
2952
  if (dirty & /*$$scope, selectedOption, isFinished, isResultCorrect, isDataSaving*/
2296
- 1048591) {
2953
+ 2097167) {
2297
2954
  promptbody_changes.$$scope = { dirty, ctx: ctx2 };
2298
2955
  }
2299
2956
  promptbody.$set(promptbody_changes);
@@ -2308,7 +2965,7 @@
2308
2965
  transition_in(if_block, 1);
2309
2966
  }
2310
2967
  } else {
2311
- if_block = create_if_block3(ctx2);
2968
+ if_block = create_if_block4(ctx2);
2312
2969
  if_block.c();
2313
2970
  transition_in(if_block, 1);
2314
2971
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -2344,13 +3001,13 @@
2344
3001
  }
2345
3002
  };
2346
3003
  }
2347
- function instance3($$self, $$props, $$invalidate) {
3004
+ function instance4($$self, $$props, $$invalidate) {
2348
3005
  let { sessionData } = $$props;
2349
3006
  let { isDataSaving } = $$props;
2350
3007
  let { isFinished = false } = $$props;
2351
3008
  let { isResultCorrect = false } = $$props;
2352
3009
  let { isPreviewModeInteractive = false } = $$props;
2353
- const { rubric, interaction, metadata, scoringMetadata } = sessionData;
3010
+ const { rubric, interaction, metadata, scoringMetadata, stimulus } = sessionData;
2354
3011
  const { prompt, options } = interaction;
2355
3012
  let selectedOption = null;
2356
3013
  let resultFeedback = null;
@@ -2393,7 +3050,7 @@
2393
3050
  const click_handler = (option) => handleOptionClick(option.id, option.answer);
2394
3051
  $$self.$$set = ($$props2) => {
2395
3052
  if ("sessionData" in $$props2)
2396
- $$invalidate(9, sessionData = $$props2.sessionData);
3053
+ $$invalidate(10, sessionData = $$props2.sessionData);
2397
3054
  if ("isDataSaving" in $$props2)
2398
3055
  $$invalidate(0, isDataSaving = $$props2.isDataSaving);
2399
3056
  if ("isFinished" in $$props2)
@@ -2401,7 +3058,7 @@
2401
3058
  if ("isResultCorrect" in $$props2)
2402
3059
  $$invalidate(2, isResultCorrect = $$props2.isResultCorrect);
2403
3060
  if ("isPreviewModeInteractive" in $$props2)
2404
- $$invalidate(10, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
3061
+ $$invalidate(11, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
2405
3062
  };
2406
3063
  return [
2407
3064
  isDataSaving,
@@ -2410,6 +3067,7 @@
2410
3067
  selectedOption,
2411
3068
  resultFeedback,
2412
3069
  rubric,
3070
+ stimulus,
2413
3071
  prompt,
2414
3072
  options,
2415
3073
  handleOptionClick,
@@ -2421,16 +3079,16 @@
2421
3079
  var PromptMCQ = class extends SvelteComponent {
2422
3080
  constructor(options) {
2423
3081
  super();
2424
- init(this, options, instance3, create_fragment5, safe_not_equal, {
2425
- sessionData: 9,
3082
+ init(this, options, instance4, create_fragment6, safe_not_equal, {
3083
+ sessionData: 10,
2426
3084
  isDataSaving: 0,
2427
3085
  isFinished: 1,
2428
3086
  isResultCorrect: 2,
2429
- isPreviewModeInteractive: 10
3087
+ isPreviewModeInteractive: 11
2430
3088
  });
2431
3089
  }
2432
3090
  get sessionData() {
2433
- return this.$$.ctx[9];
3091
+ return this.$$.ctx[10];
2434
3092
  }
2435
3093
  set sessionData(sessionData) {
2436
3094
  this.$$set({ sessionData });
@@ -2458,7 +3116,7 @@
2458
3116
  flush();
2459
3117
  }
2460
3118
  get isPreviewModeInteractive() {
2461
- return this.$$.ctx[10];
3119
+ return this.$$.ctx[11];
2462
3120
  }
2463
3121
  set isPreviewModeInteractive(isPreviewModeInteractive) {
2464
3122
  this.$$set({ isPreviewModeInteractive });
@@ -2540,18 +3198,6 @@
2540
3198
  action.destroy = autosize_esm_default.destroy;
2541
3199
  var svelte_autosize_default = action;
2542
3200
 
2543
- // src/lib/constants/index.ts
2544
- var INTERACTION_TYPE_MCQ = "multipleChoiceInteraction";
2545
- var INTERACTION_TYPE_TYPEIN = "typeInInteraction";
2546
- var INTERACTION_TYPE_CATEGORISE = "categoriseInteraction";
2547
- var TYPEIN_TYPE_SHORT = "Short-Text";
2548
- var CONTAINER_WORD_BIN_ID = "container-word-bin";
2549
- var SCREEN_MD = 732;
2550
- var EAT_DASH = "@eat-dash@";
2551
- var ANSWER_CORRECT = "correct";
2552
- var ANSWER_INCORRECT = "incorrect";
2553
- var ANSWER_MISSED = "missed";
2554
-
2555
3201
  // src/lib/components/prompt/typein/PromptTypeIn.svelte
2556
3202
  function create_else_block_1(ctx) {
2557
3203
  let textarea;
@@ -2585,7 +3231,7 @@
2585
3231
  ctx[0];
2586
3232
  attr(textarea, "autocomplete", "off");
2587
3233
  textarea.readOnly = /*isReadonlyText*/
2588
- ctx[11];
3234
+ ctx[12];
2589
3235
  },
2590
3236
  m(target, anchor) {
2591
3237
  insert(target, textarea, anchor);
@@ -2600,38 +3246,38 @@
2600
3246
  textarea,
2601
3247
  "input",
2602
3248
  /*textarea_input_handler*/
2603
- ctx[22]
3249
+ ctx[23]
2604
3250
  ),
2605
3251
  listen(
2606
3252
  textarea,
2607
3253
  "mousedown",
2608
3254
  /*mousedown_handler*/
2609
- ctx[23]
3255
+ ctx[24]
2610
3256
  ),
2611
3257
  listen(
2612
3258
  textarea,
2613
3259
  "touchstart",
2614
3260
  /*touchstart_handler*/
2615
- ctx[24],
3261
+ ctx[25],
2616
3262
  { passive: true }
2617
3263
  ),
2618
3264
  listen(
2619
3265
  textarea,
2620
3266
  "focus",
2621
3267
  /*focus_handler*/
2622
- ctx[25]
3268
+ ctx[26]
2623
3269
  ),
2624
3270
  listen(
2625
3271
  textarea,
2626
3272
  "focusout",
2627
3273
  /*focusout_handler_1*/
2628
- ctx[26]
3274
+ ctx[27]
2629
3275
  ),
2630
3276
  listen(
2631
3277
  textarea,
2632
3278
  "keydown",
2633
3279
  /*keydown_handler_1*/
2634
- ctx[27]
3280
+ ctx[28]
2635
3281
  ),
2636
3282
  action_destroyer(autosize_action = svelte_autosize_default.call(null, textarea))
2637
3283
  ];
@@ -2688,7 +3334,7 @@
2688
3334
  }
2689
3335
  };
2690
3336
  }
2691
- function create_if_block_22(ctx) {
3337
+ function create_if_block_24(ctx) {
2692
3338
  let input;
2693
3339
  let input_class_value;
2694
3340
  let mounted;
@@ -2719,7 +3365,7 @@
2719
3365
  ctx[0];
2720
3366
  attr(input, "autocomplete", "off");
2721
3367
  input.readOnly = /*isReadonlyText*/
2722
- ctx[11];
3368
+ ctx[12];
2723
3369
  },
2724
3370
  m(target, anchor) {
2725
3371
  insert(target, input, anchor);
@@ -2734,19 +3380,19 @@
2734
3380
  input,
2735
3381
  "input",
2736
3382
  /*input_input_handler*/
2737
- ctx[19]
3383
+ ctx[20]
2738
3384
  ),
2739
3385
  listen(
2740
3386
  input,
2741
3387
  "focusout",
2742
3388
  /*focusout_handler*/
2743
- ctx[20]
3389
+ ctx[21]
2744
3390
  ),
2745
3391
  listen(
2746
3392
  input,
2747
3393
  "keydown",
2748
3394
  /*keydown_handler*/
2749
- ctx[21]
3395
+ ctx[22]
2750
3396
  )
2751
3397
  ];
2752
3398
  mounted = true;
@@ -2808,9 +3454,9 @@
2808
3454
  function select_block_type(ctx2, dirty) {
2809
3455
  if (
2810
3456
  /*typeinType*/
2811
- ctx2[10] === TYPEIN_TYPE_SHORT
3457
+ ctx2[11] === TYPEIN_TYPE_SHORT
2812
3458
  )
2813
- return create_if_block_22;
3459
+ return create_if_block_24;
2814
3460
  return create_else_block_1;
2815
3461
  }
2816
3462
  let current_block_type = select_block_type(ctx, [-1, -1]);
@@ -2835,7 +3481,7 @@
2835
3481
  }
2836
3482
  };
2837
3483
  }
2838
- function create_if_block4(ctx) {
3484
+ function create_if_block5(ctx) {
2839
3485
  let div;
2840
3486
  let span0;
2841
3487
  let current_block_type_index;
@@ -2848,7 +3494,7 @@
2848
3494
  let t2;
2849
3495
  let promptresult;
2850
3496
  let current;
2851
- const if_block_creators = [create_if_block_14, create_else_block2];
3497
+ const if_block_creators = [create_if_block_15, create_else_block2];
2852
3498
  const if_blocks = [];
2853
3499
  function select_block_type_1(ctx2, dirty) {
2854
3500
  if (
@@ -2890,7 +3536,7 @@
2890
3536
  attr(span1, "class", "p2");
2891
3537
  attr(div, "aria-hidden", "true");
2892
3538
  attr(div, "class", div_class_value = "flex items-center text-charcoal " + /*typeinType*/
2893
- (ctx[10] === TYPEIN_TYPE_SHORT ? "mt-2" : "mt-0.5"));
3539
+ (ctx[11] === TYPEIN_TYPE_SHORT ? "mt-2" : "mt-0.5"));
2894
3540
  },
2895
3541
  m(target, anchor) {
2896
3542
  insert(target, div, anchor);
@@ -2993,7 +3639,7 @@
2993
3639
  }
2994
3640
  };
2995
3641
  }
2996
- function create_if_block_14(ctx) {
3642
+ function create_if_block_15(ctx) {
2997
3643
  let successsolid;
2998
3644
  let current;
2999
3645
  successsolid = new SuccessSolid_default({});
@@ -3020,7 +3666,7 @@
3020
3666
  }
3021
3667
  };
3022
3668
  }
3023
- function create_fragment6(ctx) {
3669
+ function create_fragment7(ctx) {
3024
3670
  let promptbody;
3025
3671
  let t2;
3026
3672
  let if_block_anchor;
@@ -3033,6 +3679,11 @@
3033
3679
  ),
3034
3680
  prompt: (
3035
3681
  /*prompt*/
3682
+ ctx[10]
3683
+ ),
3684
+ interactionType: INTERACTION_TYPE_TYPEIN,
3685
+ stimulus: (
3686
+ /*stimulus*/
3036
3687
  ctx[9]
3037
3688
  ),
3038
3689
  $$slots: { default: [create_default_slot2] },
@@ -3041,7 +3692,7 @@
3041
3692
  });
3042
3693
  let if_block = (
3043
3694
  /*isFinished*/
3044
- ctx[1] && create_if_block4(ctx)
3695
+ ctx[1] && create_if_block5(ctx)
3045
3696
  );
3046
3697
  return {
3047
3698
  c() {
@@ -3063,7 +3714,7 @@
3063
3714
  const promptbody_changes = {};
3064
3715
  if (dirty[0] & /*textAriaLabel, placeholder, isFinished, isResultCorrect, isDataSaving, typeinAnswer*/
3065
3716
  175 | dirty[1] & /*$$scope*/
3066
- 32) {
3717
+ 64) {
3067
3718
  promptbody_changes.$$scope = { dirty, ctx: ctx2 };
3068
3719
  }
3069
3720
  promptbody.$set(promptbody_changes);
@@ -3078,7 +3729,7 @@
3078
3729
  transition_in(if_block, 1);
3079
3730
  }
3080
3731
  } else {
3081
- if_block = create_if_block4(ctx2);
3732
+ if_block = create_if_block5(ctx2);
3082
3733
  if_block.c();
3083
3734
  transition_in(if_block, 1);
3084
3735
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -3115,7 +3766,7 @@
3115
3766
  };
3116
3767
  }
3117
3768
  var idLabel = "answerText";
3118
- function instance4($$self, $$props, $$invalidate) {
3769
+ function instance5($$self, $$props, $$invalidate) {
3119
3770
  let { sessionData } = $$props;
3120
3771
  let { isDataSaving } = $$props;
3121
3772
  let { isFinished = false } = $$props;
@@ -3129,7 +3780,7 @@
3129
3780
  let placeholder = "Type your answer here";
3130
3781
  let focusOrigin = "tab";
3131
3782
  let resultLabel = "";
3132
- const { rubric, interaction, metadata, scoringMetadata } = sessionData;
3783
+ const { rubric, interaction, metadata, scoringMetadata, stimulus } = sessionData;
3133
3784
  const { prompt, typein_type: typeinType } = interaction;
3134
3785
  if (metadata) {
3135
3786
  const events = metadata.interactions.events.pop();
@@ -3206,7 +3857,7 @@
3206
3857
  const keydown_handler_1 = (event) => saveOnEnter(event);
3207
3858
  $$self.$$set = ($$props2) => {
3208
3859
  if ("sessionData" in $$props2)
3209
- $$invalidate(16, sessionData = $$props2.sessionData);
3860
+ $$invalidate(17, sessionData = $$props2.sessionData);
3210
3861
  if ("isDataSaving" in $$props2)
3211
3862
  $$invalidate(0, isDataSaving = $$props2.isDataSaving);
3212
3863
  if ("isFinished" in $$props2)
@@ -3214,9 +3865,9 @@
3214
3865
  if ("isResultCorrect" in $$props2)
3215
3866
  $$invalidate(2, isResultCorrect = $$props2.isResultCorrect);
3216
3867
  if ("isPreviewMode" in $$props2)
3217
- $$invalidate(17, isPreviewMode = $$props2.isPreviewMode);
3868
+ $$invalidate(18, isPreviewMode = $$props2.isPreviewMode);
3218
3869
  if ("isPreviewModeInteractive" in $$props2)
3219
- $$invalidate(18, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
3870
+ $$invalidate(19, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
3220
3871
  };
3221
3872
  return [
3222
3873
  isDataSaving,
@@ -3228,6 +3879,7 @@
3228
3879
  resultLabel,
3229
3880
  textAriaLabel,
3230
3881
  rubric,
3882
+ stimulus,
3231
3883
  prompt,
3232
3884
  typeinType,
3233
3885
  isReadonlyText,
@@ -3255,23 +3907,23 @@
3255
3907
  init(
3256
3908
  this,
3257
3909
  options,
3258
- instance4,
3259
- create_fragment6,
3910
+ instance5,
3911
+ create_fragment7,
3260
3912
  safe_not_equal,
3261
3913
  {
3262
- sessionData: 16,
3914
+ sessionData: 17,
3263
3915
  isDataSaving: 0,
3264
3916
  isFinished: 1,
3265
3917
  isResultCorrect: 2,
3266
- isPreviewMode: 17,
3267
- isPreviewModeInteractive: 18
3918
+ isPreviewMode: 18,
3919
+ isPreviewModeInteractive: 19
3268
3920
  },
3269
3921
  null,
3270
3922
  [-1, -1]
3271
3923
  );
3272
3924
  }
3273
3925
  get sessionData() {
3274
- return this.$$.ctx[16];
3926
+ return this.$$.ctx[17];
3275
3927
  }
3276
3928
  set sessionData(sessionData) {
3277
3929
  this.$$set({ sessionData });
@@ -3299,14 +3951,14 @@
3299
3951
  flush();
3300
3952
  }
3301
3953
  get isPreviewMode() {
3302
- return this.$$.ctx[17];
3954
+ return this.$$.ctx[18];
3303
3955
  }
3304
3956
  set isPreviewMode(isPreviewMode) {
3305
3957
  this.$$set({ isPreviewMode });
3306
3958
  flush();
3307
3959
  }
3308
3960
  get isPreviewModeInteractive() {
3309
- return this.$$.ctx[18];
3961
+ return this.$$.ctx[19];
3310
3962
  }
3311
3963
  set isPreviewModeInteractive(isPreviewModeInteractive) {
3312
3964
  this.$$set({ isPreviewModeInteractive });
@@ -5317,7 +5969,7 @@
5317
5969
  }
5318
5970
 
5319
5971
  // src/lib/assets/img/product/GripVertical.svelte
5320
- function create_fragment7(ctx) {
5972
+ function create_fragment8(ctx) {
5321
5973
  let svg;
5322
5974
  let path;
5323
5975
  return {
@@ -5351,14 +6003,14 @@
5351
6003
  var GripVertical = class extends SvelteComponent {
5352
6004
  constructor(options) {
5353
6005
  super();
5354
- init(this, options, null, create_fragment7, safe_not_equal, {});
6006
+ init(this, options, null, create_fragment8, safe_not_equal, {});
5355
6007
  }
5356
6008
  };
5357
6009
  create_custom_element(GripVertical, {}, [], [], true);
5358
6010
  var GripVertical_default = GripVertical;
5359
6011
 
5360
6012
  // src/lib/assets/img/messaging/Success.svelte
5361
- function create_fragment8(ctx) {
6013
+ function create_fragment9(ctx) {
5362
6014
  let svg;
5363
6015
  let path;
5364
6016
  return {
@@ -5392,7 +6044,7 @@
5392
6044
  var Success = class extends SvelteComponent {
5393
6045
  constructor(options) {
5394
6046
  super();
5395
- init(this, options, null, create_fragment8, safe_not_equal, {});
6047
+ init(this, options, null, create_fragment9, safe_not_equal, {});
5396
6048
  }
5397
6049
  };
5398
6050
  create_custom_element(Success, {}, [], [], true);
@@ -5426,7 +6078,7 @@
5426
6078
  }
5427
6079
  };
5428
6080
  }
5429
- function create_if_block_32(ctx) {
6081
+ function create_if_block_33(ctx) {
5430
6082
  let span;
5431
6083
  let success;
5432
6084
  let current;
@@ -5460,7 +6112,7 @@
5460
6112
  }
5461
6113
  };
5462
6114
  }
5463
- function create_if_block_23(ctx) {
6115
+ function create_if_block_25(ctx) {
5464
6116
  let span;
5465
6117
  let errorsolid;
5466
6118
  let current;
@@ -5494,7 +6146,7 @@
5494
6146
  }
5495
6147
  };
5496
6148
  }
5497
- function create_if_block_15(ctx) {
6149
+ function create_if_block_16(ctx) {
5498
6150
  let span;
5499
6151
  let successsolid;
5500
6152
  let current;
@@ -5528,7 +6180,7 @@
5528
6180
  }
5529
6181
  };
5530
6182
  }
5531
- function create_if_block5(ctx) {
6183
+ function create_if_block6(ctx) {
5532
6184
  let span;
5533
6185
  let gripvertical;
5534
6186
  let current;
@@ -5562,7 +6214,7 @@
5562
6214
  }
5563
6215
  };
5564
6216
  }
5565
- function create_fragment9(ctx) {
6217
+ function create_fragment10(ctx) {
5566
6218
  let button;
5567
6219
  let span0;
5568
6220
  let t0;
@@ -5582,7 +6234,7 @@
5582
6234
  let current;
5583
6235
  let mounted;
5584
6236
  let dispose;
5585
- const if_block_creators = [create_if_block_15, create_if_block_23, create_if_block_32, create_else_block3];
6237
+ const if_block_creators = [create_if_block_16, create_if_block_25, create_if_block_33, create_else_block3];
5586
6238
  const if_blocks = [];
5587
6239
  function select_block_type(ctx2, dirty) {
5588
6240
  if (
@@ -5609,7 +6261,7 @@
5609
6261
  let if_block1 = (
5610
6262
  /*resultType*/
5611
6263
  (ctx[0] === ANSWER_CORRECT || /*resultType*/
5612
- ctx[0] === ANSWER_INCORRECT) && create_if_block5(ctx)
6264
+ ctx[0] === ANSWER_INCORRECT) && create_if_block6(ctx)
5613
6265
  );
5614
6266
  return {
5615
6267
  c() {
@@ -5783,7 +6435,7 @@
5783
6435
  transition_in(if_block1, 1);
5784
6436
  }
5785
6437
  } else {
5786
- if_block1 = create_if_block5(ctx);
6438
+ if_block1 = create_if_block6(ctx);
5787
6439
  if_block1.c();
5788
6440
  transition_in(if_block1, 1);
5789
6441
  if_block1.m(span2, null);
@@ -5880,7 +6532,7 @@
5880
6532
  }
5881
6533
  };
5882
6534
  }
5883
- function instance5($$self, $$props, $$invalidate) {
6535
+ function instance6($$self, $$props, $$invalidate) {
5884
6536
  let { word = "" } = $$props;
5885
6537
  let { resultType = "" } = $$props;
5886
6538
  let { otherClass = "" } = $$props;
@@ -6034,7 +6686,7 @@
6034
6686
  var PromptCategoriseWordButton = class extends SvelteComponent {
6035
6687
  constructor(options) {
6036
6688
  super();
6037
- init(this, options, instance5, create_fragment9, safe_not_equal, {
6689
+ init(this, options, instance6, create_fragment10, safe_not_equal, {
6038
6690
  word: 1,
6039
6691
  resultType: 0,
6040
6692
  otherClass: 2,
@@ -6166,7 +6818,7 @@
6166
6818
  child_ctx[38] = list[i];
6167
6819
  return child_ctx;
6168
6820
  }
6169
- function create_if_block_24(ctx) {
6821
+ function create_if_block_26(ctx) {
6170
6822
  let button;
6171
6823
  let button_class_value;
6172
6824
  let mounted;
@@ -6215,7 +6867,7 @@
6215
6867
  }
6216
6868
  };
6217
6869
  }
6218
- function create_if_block_16(ctx) {
6870
+ function create_if_block_17(ctx) {
6219
6871
  let div;
6220
6872
  let mounted;
6221
6873
  let dispose;
@@ -6257,7 +6909,7 @@
6257
6909
  }
6258
6910
  };
6259
6911
  }
6260
- function create_if_block6(ctx) {
6912
+ function create_if_block7(ctx) {
6261
6913
  let button;
6262
6914
  let t2;
6263
6915
  let button_class_value;
@@ -6296,7 +6948,7 @@
6296
6948
  let current;
6297
6949
  let if_block = (
6298
6950
  /*item*/
6299
- ctx[38].type === ANSWER_MISSED && create_if_block6(ctx)
6951
+ ctx[38].type === ANSWER_MISSED && create_if_block7(ctx)
6300
6952
  );
6301
6953
  promptcategorisewordbutton = new PromptCategoriseWordButton_default({
6302
6954
  props: {
@@ -6388,7 +7040,7 @@
6388
7040
  if (if_block) {
6389
7041
  if_block.p(ctx, dirty);
6390
7042
  } else {
6391
- if_block = create_if_block6(ctx);
7043
+ if_block = create_if_block7(ctx);
6392
7044
  if_block.c();
6393
7045
  if_block.m(t2.parentNode, t2);
6394
7046
  }
@@ -6475,7 +7127,7 @@
6475
7127
  }
6476
7128
  };
6477
7129
  }
6478
- function create_fragment10(ctx) {
7130
+ function create_fragment11(ctx) {
6479
7131
  let t0;
6480
7132
  let t1;
6481
7133
  let section;
@@ -6492,12 +7144,12 @@
6492
7144
  ctx[13] && /*sourceSelectedContainerId*/
6493
7145
  ctx[14] !== /*containerId*/
6494
7146
  ctx[3] && !/*isFinished*/
6495
- ctx[8] && create_if_block_24(ctx)
7147
+ ctx[8] && create_if_block_26(ctx)
6496
7148
  );
6497
7149
  let if_block1 = (
6498
7150
  /*totalRemainingWordBinItem*/
6499
7151
  ctx[16] <= 0 && /*isContainerWordBin*/
6500
- ctx[22] && create_if_block_16(ctx)
7152
+ ctx[22] && create_if_block_17(ctx)
6501
7153
  );
6502
7154
  let each_value = ensure_array_like(Object.values(
6503
7155
  /*items*/
@@ -6619,7 +7271,7 @@
6619
7271
  if (if_block0) {
6620
7272
  if_block0.p(ctx2, dirty);
6621
7273
  } else {
6622
- if_block0 = create_if_block_24(ctx2);
7274
+ if_block0 = create_if_block_26(ctx2);
6623
7275
  if_block0.c();
6624
7276
  if_block0.m(t0.parentNode, t0);
6625
7277
  }
@@ -6635,7 +7287,7 @@
6635
7287
  if (if_block1) {
6636
7288
  if_block1.p(ctx2, dirty);
6637
7289
  } else {
6638
- if_block1 = create_if_block_16(ctx2);
7290
+ if_block1 = create_if_block_17(ctx2);
6639
7291
  if_block1.c();
6640
7292
  if_block1.m(t1.parentNode, t1);
6641
7293
  }
@@ -6749,7 +7401,7 @@
6749
7401
  }
6750
7402
  };
6751
7403
  }
6752
- function instance6($$self, $$props, $$invalidate) {
7404
+ function instance7($$self, $$props, $$invalidate) {
6753
7405
  let { containerClass = "" } = $$props;
6754
7406
  let { flipDurationMs = 5 } = $$props;
6755
7407
  let { containerId = "" } = $$props;
@@ -7084,8 +7736,8 @@
7084
7736
  init(
7085
7737
  this,
7086
7738
  options,
7087
- instance6,
7088
- create_fragment10,
7739
+ instance7,
7740
+ create_fragment11,
7089
7741
  safe_not_equal,
7090
7742
  {
7091
7743
  containerClass: 1,
@@ -7194,7 +7846,7 @@
7194
7846
  var PromptCategoriseDndContainer_default = PromptCategoriseDndContainer;
7195
7847
 
7196
7848
  // src/lib/components/common/CommonModal.svelte
7197
- function create_fragment11(ctx) {
7849
+ function create_fragment12(ctx) {
7198
7850
  let div2;
7199
7851
  let div0;
7200
7852
  let t2;
@@ -7326,7 +7978,7 @@
7326
7978
  var keypress_handler = () => {
7327
7979
  return false;
7328
7980
  };
7329
- function instance7($$self, $$props, $$invalidate) {
7981
+ function instance8($$self, $$props, $$invalidate) {
7330
7982
  let { $$slots: slots = {}, $$scope } = $$props;
7331
7983
  let { modalData = [] } = $$props;
7332
7984
  const dispatch = createEventDispatcher();
@@ -7358,7 +8010,7 @@
7358
8010
  var CommonModal = class extends SvelteComponent {
7359
8011
  constructor(options) {
7360
8012
  super();
7361
- init(this, options, instance7, create_fragment11, safe_not_equal, { modalData: 3 });
8013
+ init(this, options, instance8, create_fragment12, safe_not_equal, { modalData: 3 });
7362
8014
  }
7363
8015
  get modalData() {
7364
8016
  return this.$$.ctx[3];
@@ -7372,7 +8024,7 @@
7372
8024
  var CommonModal_default = CommonModal;
7373
8025
 
7374
8026
  // src/lib/assets/img/messaging/AlertIcon.svelte
7375
- function create_fragment12(ctx) {
8027
+ function create_fragment13(ctx) {
7376
8028
  let svg;
7377
8029
  let path;
7378
8030
  return {
@@ -7406,14 +8058,14 @@
7406
8058
  var AlertIcon = class extends SvelteComponent {
7407
8059
  constructor(options) {
7408
8060
  super();
7409
- init(this, options, null, create_fragment12, safe_not_equal, {});
8061
+ init(this, options, null, create_fragment13, safe_not_equal, {});
7410
8062
  }
7411
8063
  };
7412
8064
  create_custom_element(AlertIcon, {}, [], [], true);
7413
8065
  var AlertIcon_default = AlertIcon;
7414
8066
 
7415
8067
  // src/lib/assets/img/messaging/CrossIcon.svelte
7416
- function create_fragment13(ctx) {
8068
+ function create_fragment14(ctx) {
7417
8069
  let svg;
7418
8070
  let path;
7419
8071
  return {
@@ -7447,7 +8099,7 @@
7447
8099
  var CrossIcon = class extends SvelteComponent {
7448
8100
  constructor(options) {
7449
8101
  super();
7450
- init(this, options, null, create_fragment13, safe_not_equal, {});
8102
+ init(this, options, null, create_fragment14, safe_not_equal, {});
7451
8103
  }
7452
8104
  };
7453
8105
  create_custom_element(CrossIcon, {}, [], [], true);
@@ -7607,7 +8259,7 @@
7607
8259
  }
7608
8260
  };
7609
8261
  }
7610
- function create_fragment14(ctx) {
8262
+ function create_fragment15(ctx) {
7611
8263
  let commonmodal;
7612
8264
  let current;
7613
8265
  commonmodal = new CommonModal_default({
@@ -7660,7 +8312,7 @@
7660
8312
  }
7661
8313
  };
7662
8314
  }
7663
- function instance8($$self, $$props, $$invalidate) {
8315
+ function instance9($$self, $$props, $$invalidate) {
7664
8316
  let { categoryData = [] } = $$props;
7665
8317
  let { modalData = [] } = $$props;
7666
8318
  let categoryModal;
@@ -7743,7 +8395,7 @@
7743
8395
  var PromptCategoriseModal = class extends SvelteComponent {
7744
8396
  constructor(options) {
7745
8397
  super();
7746
- init(this, options, instance8, create_fragment14, safe_not_equal, { categoryData: 6, modalData: 0 });
8398
+ init(this, options, instance9, create_fragment15, safe_not_equal, { categoryData: 6, modalData: 0 });
7747
8399
  }
7748
8400
  get categoryData() {
7749
8401
  return this.$$.ctx[6];
@@ -7764,7 +8416,7 @@
7764
8416
  var PromptCategoriseModal_default = PromptCategoriseModal;
7765
8417
 
7766
8418
  // src/lib/assets/img/action/Switch.svelte
7767
- function create_fragment15(ctx) {
8419
+ function create_fragment16(ctx) {
7768
8420
  let svg;
7769
8421
  let path;
7770
8422
  return {
@@ -7796,14 +8448,14 @@
7796
8448
  var Switch = class extends SvelteComponent {
7797
8449
  constructor(options) {
7798
8450
  super();
7799
- init(this, options, null, create_fragment15, safe_not_equal, {});
8451
+ init(this, options, null, create_fragment16, safe_not_equal, {});
7800
8452
  }
7801
8453
  };
7802
8454
  create_custom_element(Switch, {}, [], [], true);
7803
8455
  var Switch_default = Switch;
7804
8456
 
7805
8457
  // src/lib/assets/img/messaging/SmallChevronUp.svelte
7806
- function create_fragment16(ctx) {
8458
+ function create_fragment17(ctx) {
7807
8459
  let svg;
7808
8460
  let path;
7809
8461
  return {
@@ -7837,14 +8489,14 @@
7837
8489
  var SmallChevronUp = class extends SvelteComponent {
7838
8490
  constructor(options) {
7839
8491
  super();
7840
- init(this, options, null, create_fragment16, safe_not_equal, {});
8492
+ init(this, options, null, create_fragment17, safe_not_equal, {});
7841
8493
  }
7842
8494
  };
7843
8495
  create_custom_element(SmallChevronUp, {}, [], [], true);
7844
8496
  var SmallChevronUp_default = SmallChevronUp;
7845
8497
 
7846
8498
  // src/lib/assets/img/messaging/SmallChevronDown.svelte
7847
- function create_fragment17(ctx) {
8499
+ function create_fragment18(ctx) {
7848
8500
  let svg;
7849
8501
  let path;
7850
8502
  return {
@@ -7878,14 +8530,14 @@
7878
8530
  var SmallChevronDown = class extends SvelteComponent {
7879
8531
  constructor(options) {
7880
8532
  super();
7881
- init(this, options, null, create_fragment17, safe_not_equal, {});
8533
+ init(this, options, null, create_fragment18, safe_not_equal, {});
7882
8534
  }
7883
8535
  };
7884
8536
  create_custom_element(SmallChevronDown, {}, [], [], true);
7885
8537
  var SmallChevronDown_default = SmallChevronDown;
7886
8538
 
7887
8539
  // src/lib/assets/img/messaging/SmallChevronLeft.svelte
7888
- function create_fragment18(ctx) {
8540
+ function create_fragment19(ctx) {
7889
8541
  let svg;
7890
8542
  let path;
7891
8543
  return {
@@ -7919,14 +8571,14 @@
7919
8571
  var SmallChevronLeft = class extends SvelteComponent {
7920
8572
  constructor(options) {
7921
8573
  super();
7922
- init(this, options, null, create_fragment18, safe_not_equal, {});
8574
+ init(this, options, null, create_fragment19, safe_not_equal, {});
7923
8575
  }
7924
8576
  };
7925
8577
  create_custom_element(SmallChevronLeft, {}, [], [], true);
7926
8578
  var SmallChevronLeft_default = SmallChevronLeft;
7927
8579
 
7928
8580
  // src/lib/assets/img/messaging/SmallChevronRight.svelte
7929
- function create_fragment19(ctx) {
8581
+ function create_fragment20(ctx) {
7930
8582
  let svg;
7931
8583
  let path;
7932
8584
  return {
@@ -7960,14 +8612,14 @@
7960
8612
  var SmallChevronRight = class extends SvelteComponent {
7961
8613
  constructor(options) {
7962
8614
  super();
7963
- init(this, options, null, create_fragment19, safe_not_equal, {});
8615
+ init(this, options, null, create_fragment20, safe_not_equal, {});
7964
8616
  }
7965
8617
  };
7966
8618
  create_custom_element(SmallChevronRight, {}, [], [], true);
7967
8619
  var SmallChevronRight_default = SmallChevronRight;
7968
8620
 
7969
8621
  // src/lib/assets/img/messaging/ArrowDownCircle.svelte
7970
- function create_fragment20(ctx) {
8622
+ function create_fragment21(ctx) {
7971
8623
  let svg;
7972
8624
  let path;
7973
8625
  return {
@@ -8001,7 +8653,7 @@
8001
8653
  var ArrowDownCircle = class extends SvelteComponent {
8002
8654
  constructor(options) {
8003
8655
  super();
8004
- init(this, options, null, create_fragment20, safe_not_equal, {});
8656
+ init(this, options, null, create_fragment21, safe_not_equal, {});
8005
8657
  }
8006
8658
  };
8007
8659
  create_custom_element(ArrowDownCircle, {}, [], [], true);
@@ -8319,7 +8971,7 @@
8319
8971
  }
8320
8972
  };
8321
8973
  }
8322
- function create_if_block_42(ctx) {
8974
+ function create_if_block_43(ctx) {
8323
8975
  let span;
8324
8976
  let t0;
8325
8977
  let t1;
@@ -8357,7 +9009,7 @@
8357
9009
  }
8358
9010
  };
8359
9011
  }
8360
- function create_if_block_33(ctx) {
9012
+ function create_if_block_34(ctx) {
8361
9013
  let span;
8362
9014
  let t0;
8363
9015
  let t1_value = (
@@ -8405,7 +9057,7 @@
8405
9057
  }
8406
9058
  };
8407
9059
  }
8408
- function create_if_block_25(ctx) {
9060
+ function create_if_block_27(ctx) {
8409
9061
  let span;
8410
9062
  let t0;
8411
9063
  let t1;
@@ -8486,7 +9138,7 @@
8486
9138
  }
8487
9139
  };
8488
9140
  }
8489
- function create_if_block_17(ctx) {
9141
+ function create_if_block_18(ctx) {
8490
9142
  let smallchevronup;
8491
9143
  let current;
8492
9144
  smallchevronup = new SmallChevronUp_default({});
@@ -8565,14 +9217,14 @@
8565
9217
  let current;
8566
9218
  let mounted;
8567
9219
  let dispose;
8568
- let if_block0 = show_if_1 && create_if_block_42(ctx);
9220
+ let if_block0 = show_if_1 && create_if_block_43(ctx);
8569
9221
  let if_block1 = !/*previewResultSr*/
8570
- ctx[4] && create_if_block_33(ctx);
9222
+ ctx[4] && create_if_block_34(ctx);
8571
9223
  let if_block2 = (
8572
9224
  /*previewResultSr*/
8573
- ctx[4] && create_if_block_25(ctx)
9225
+ ctx[4] && create_if_block_27(ctx)
8574
9226
  );
8575
- const if_block_creators = [create_if_block_17, create_else_block4];
9227
+ const if_block_creators = [create_if_block_18, create_else_block4];
8576
9228
  const if_blocks = [];
8577
9229
  function select_block_type(ctx2, dirty) {
8578
9230
  if (dirty[0] & /*openCategoryContainer*/
@@ -8926,7 +9578,7 @@
8926
9578
  if (if_block0) {
8927
9579
  if_block0.p(ctx, dirty);
8928
9580
  } else {
8929
- if_block0 = create_if_block_42(ctx);
9581
+ if_block0 = create_if_block_43(ctx);
8930
9582
  if_block0.c();
8931
9583
  if_block0.m(div0, t0);
8932
9584
  }
@@ -8939,7 +9591,7 @@
8939
9591
  if (if_block1) {
8940
9592
  if_block1.p(ctx, dirty);
8941
9593
  } else {
8942
- if_block1 = create_if_block_33(ctx);
9594
+ if_block1 = create_if_block_34(ctx);
8943
9595
  if_block1.c();
8944
9596
  if_block1.m(div0, t7);
8945
9597
  }
@@ -8954,7 +9606,7 @@
8954
9606
  if (if_block2) {
8955
9607
  if_block2.p(ctx, dirty);
8956
9608
  } else {
8957
- if_block2 = create_if_block_25(ctx);
9609
+ if_block2 = create_if_block_27(ctx);
8958
9610
  if_block2.c();
8959
9611
  if_block2.m(div0, t8);
8960
9612
  }
@@ -9210,7 +9862,7 @@
9210
9862
  }
9211
9863
  };
9212
9864
  }
9213
- function create_if_block7(ctx) {
9865
+ function create_if_block8(ctx) {
9214
9866
  let span;
9215
9867
  let t0;
9216
9868
  let t1;
@@ -9322,7 +9974,7 @@
9322
9974
  const out = (i) => transition_out(each_blocks[i], 1, 1, () => {
9323
9975
  each_blocks[i] = null;
9324
9976
  });
9325
- let if_block2 = show_if && create_if_block7(ctx);
9977
+ let if_block2 = show_if && create_if_block8(ctx);
9326
9978
  smallchevronleft = new SmallChevronLeft_default({});
9327
9979
  promptcategorisedndcontainer = new PromptCategoriseDndContainer_default({
9328
9980
  props: {
@@ -9735,7 +10387,7 @@
9735
10387
  if (if_block2) {
9736
10388
  if_block2.p(ctx, dirty);
9737
10389
  } else {
9738
- if_block2 = create_if_block7(ctx);
10390
+ if_block2 = create_if_block8(ctx);
9739
10391
  if_block2.c();
9740
10392
  if_block2.m(div2, t8);
9741
10393
  }
@@ -9918,7 +10570,7 @@
9918
10570
  }
9919
10571
  };
9920
10572
  }
9921
- function create_fragment21(ctx) {
10573
+ function create_fragment22(ctx) {
9922
10574
  let div;
9923
10575
  let promptbody;
9924
10576
  let current;
@@ -9976,7 +10628,7 @@
9976
10628
  }
9977
10629
  };
9978
10630
  }
9979
- function instance9($$self, $$props, $$invalidate) {
10631
+ function instance10($$self, $$props, $$invalidate) {
9980
10632
  let { sessionData } = $$props;
9981
10633
  let { isFinished = false } = $$props;
9982
10634
  let { isPreviewMode = false } = $$props;
@@ -10401,8 +11053,8 @@
10401
11053
  init(
10402
11054
  this,
10403
11055
  options,
10404
- instance9,
10405
- create_fragment21,
11056
+ instance10,
11057
+ create_fragment22,
10406
11058
  safe_not_equal,
10407
11059
  {
10408
11060
  sessionData: 47,
@@ -10447,7 +11099,7 @@
10447
11099
  var PromptCategorise_default = PromptCategorise;
10448
11100
 
10449
11101
  // src/lib/components/prompt/skeleton/PromptSkeleton.svelte
10450
- function create_fragment22(ctx) {
11102
+ function create_fragment23(ctx) {
10451
11103
  let div3;
10452
11104
  return {
10453
11105
  c() {
@@ -10470,14 +11122,14 @@
10470
11122
  var PromptSkeleton = class extends SvelteComponent {
10471
11123
  constructor(options) {
10472
11124
  super();
10473
- init(this, options, null, create_fragment22, safe_not_equal, {});
11125
+ init(this, options, null, create_fragment23, safe_not_equal, {});
10474
11126
  }
10475
11127
  };
10476
11128
  customElements.define("prompt-skeleton", create_custom_element(PromptSkeleton, {}, [], [], true));
10477
11129
  var PromptSkeleton_default = PromptSkeleton;
10478
11130
 
10479
11131
  // src/lib/components/common/InvalidBanner.svelte
10480
- function create_fragment23(ctx) {
11132
+ function create_fragment24(ctx) {
10481
11133
  let p;
10482
11134
  let t2;
10483
11135
  return {
@@ -10511,7 +11163,7 @@
10511
11163
  }
10512
11164
  };
10513
11165
  }
10514
- function instance10($$self, $$props, $$invalidate) {
11166
+ function instance11($$self, $$props, $$invalidate) {
10515
11167
  let { bannerLabel: bannerLabel2 = "Invalid." } = $$props;
10516
11168
  $$self.$$set = ($$props2) => {
10517
11169
  if ("bannerLabel" in $$props2)
@@ -10522,7 +11174,7 @@
10522
11174
  var InvalidBanner = class extends SvelteComponent {
10523
11175
  constructor(options) {
10524
11176
  super();
10525
- init(this, options, instance10, create_fragment23, safe_not_equal, { bannerLabel: 0 });
11177
+ init(this, options, instance11, create_fragment24, safe_not_equal, { bannerLabel: 0 });
10526
11178
  }
10527
11179
  get bannerLabel() {
10528
11180
  return this.$$.ctx[0];
@@ -10537,7 +11189,7 @@
10537
11189
 
10538
11190
  // src/lib/components/prompt/PromptBuilder.svelte
10539
11191
  function add_css(target) {
10540
- append_styles(target, "svelte-v7ouvz", '*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:Mulish, sans-serif;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*{font-family:Mulish, sans-serif}input::-moz-selection,textarea::-moz-selection{background-color:hsla(0, 0%, 85%, 0.4)}input::selection,textarea::selection{background-color:hsla(0, 0%, 85%, 0.4)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.p2{font-size:0.875rem;font-weight:600;line-height:1.25rem;line-height:1.5}.blanket-overlay{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity));inset:0;opacity:0.3;position:absolute}.item-heading{--tw-text-opacity:1;color:rgb(8 38 99/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.focus-ring:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.hover-focus-ring:hover,.raw-focus-ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.divider{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(218 224 224/var(--tw-border-opacity))}@keyframes svelte-v7ouvz-pulse{{opacity:0.5}}.animate-skeleton{--tw-bg-opacity:1;animation:svelte-v7ouvz-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.btn-mcq-option:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.btn-mcq-option{--tw-text-opacity:1;--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(247 250 250/var(--tw-bg-opacity));border-color:rgb(113 115 119/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));display:flex;font-size:1rem;justify-content:space-between;line-height:1.5rem;margin-bottom:1rem;min-height:48px;padding:0.5rem 0.75rem 0.5rem 0.5rem;width:100%}.btn-mcq-option:active{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity));border-color:rgb(8 38 99/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.btn-mcq-option:hover{--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}}.btn-mcq-option>span>.choice{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(113 115 119/var(--tw-border-opacity));border-radius:1rem;border-width:1px;color:rgb(93 99 107/var(--tw-text-opacity));display:flex;font-size:1rem;font-weight:700;height:2rem;justify-content:center;letter-spacing:0.05em;line-height:1rem;margin-right:1rem;padding:0.5rem;width:2rem}.btn-mcq-option.selected{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}.btn-mcq-option.selected,.btn-mcq-option.selected>span>.choice{border-color:rgb(8 38 99/var(--tw-border-opacity));border-width:2px}.btn-mcq-option.selected>span>.choice{--tw-border-opacity:1}.btn-mcq-option.selected.correct{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(241 254 241/var(--tw-bg-opacity));border-color:rgb(0 102 5/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.incorrect{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(253 243 247/var(--tw-bg-opacity));border-color:rgb(217 12 85/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.correct>span>.choice,.btn-mcq-option.selected.incorrect>span>.choice{--tw-border-opacity:1;border-color:rgb(113 115 119/var(--tw-border-opacity));border-width:1px}.typein-textbox:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.typein-textbox{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(93 99 107/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem;padding:0.75rem 1rem;width:100%}.typein-textbox::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(93 99 107/var(--tw-placeholder-opacity))}.typein-textbox::placeholder{--tw-placeholder-opacity:1;color:rgb(93 99 107/var(--tw-placeholder-opacity))}.typein-textbox:focus{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity));border-width:2px;outline:2px solid transparent;outline-offset:2px}}.typein-textbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0)) !important}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));transition-duration:50ms}}#dnd-action-dragged-el{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-border-opacity:1!important;--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important;border-color:rgb(93 99 107/var(--tw-border-opacity)) !important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));cursor:grabbing !important;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}#dnd-action-dragged-el .btn-vertical-icon{--tw-text-opacity:1;color:rgb(8 38 99/var(--tw-text-opacity));cursor:grabbing !important}#dnd-action-dragged-el .preview-icon{display:none !important}#dnd-action-dragged-el .preview-vertical{display:block !important}.category-content>.missing-answer-label{display:block}.category-content>.missing-answer-label~.missing-answer-label{display:none}.sr-only{clip:rect(0, 0, 0, 0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{bottom:0;top:0}.-top-2{top:-0.5rem}.-top-2\\.5{top:-0.625rem}.bottom-4{bottom:1rem}.left-4{left:1rem}.left-\\[-9999px\\]{left:-9999px}.right-0{right:0}.right-4{right:1rem}.top-12{top:3rem}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.m-auto{margin:auto}.mx-0{margin-left:0;margin-right:0}.mx-0\\.5{margin-left:0.125rem;margin-right:0.125rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.mb-1{margin-bottom:0.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:0.5rem}.mb-3{margin-bottom:0.75rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:0.25rem}.ml-3{margin-left:0.75rem}.ml-\\[3px\\]{margin-left:3px}.mr-1{margin-right:0.25rem}.mr-2{margin-right:0.5rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:0.125rem}.mt-1{margin-top:0.25rem}.mt-2{margin-top:0.5rem}.mt-7{margin-top:1.75rem}.mt-7\\.5{margin-top:1.875}.mt-9{margin-top:2.25rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-11{height:2.75rem}.h-4{height:1rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.min-h-\\[133px\\]{min-height:133px}.min-h-\\[140px\\]{min-height:140px}.min-h-\\[54px\\]{min-height:54px}.min-h-\\[86px\\]{min-height:86px}.w-11{width:2.75rem}.w-4{width:1rem}.w-6{width:1.5rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-\\[44px\\]{min-width:44px}.min-w-\\[85px\\]{min-width:85px}.max-w-\\[400px\\]{max-width:400px}.grow{flex-grow:1}.basis-0{flex-basis:0px}.\\!cursor-default{cursor:default !important}.\\!cursor-pointer{cursor:pointer !important}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.content-start{align-content:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0.5rem * var(--tw-space-y-reverse));margin-top:calc(0.5rem * (1 - var(--tw-space-y-reverse)))}.space-y-reverse>:not([hidden])~:not([hidden]){--tw-space-y-reverse:1}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:0.25rem}.rounded-\\[32px\\]{border-radius:32px}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.rounded-b-lg{border-bottom-left-radius:0.5rem;border-bottom-right-radius:0.5rem}.rounded-t-lg{border-top-left-radius:0.5rem;border-top-right-radius:0.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-6,.border-l-\\[6px\\]{border-left-width:6px}.border-dashed{border-style:dashed}.\\!border-blue-1000{--tw-border-opacity:1!important;border-color:rgb(8 38 99/var(--tw-border-opacity)) !important}.border-blue-1000{--tw-border-opacity:1;border-color:rgb(8 38 99/var(--tw-border-opacity))}.border-charcoal{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.border-green-800{--tw-border-opacity:1;border-color:rgb(0 102 5/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-red-800{--tw-border-opacity:1;border-color:rgb(217 12 85/var(--tw-border-opacity))}.border-soft-blue{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.\\!bg-violet-100{--tw-bg-opacity:1!important;background-color:rgb(235 235 255/var(--tw-bg-opacity)) !important}.\\!bg-violet-150{--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important}.\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.bg-blue-1000{--tw-bg-opacity:1;background-color:rgb(8 38 99/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(247 250 250/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity:1;background-color:rgb(241 254 241/var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity:1;background-color:rgb(253 243 247/var(--tw-bg-opacity))}.bg-soft-blue{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.bg-violet-150{--tw-bg-opacity:1;background-color:rgb(205 208 254/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-1000{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.p-0{padding:0}.p-0\\.5{padding:0.125rem}.p-1{padding:0.25rem}.p-1\\.5{padding:0.375rem}.p-2{padding:0.5rem}.p-3{padding:0.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-3{padding-left:0.75rem;padding-right:0.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-bottom:0.25rem;padding-top:0.25rem}.py-1\\.5{padding-bottom:0.375rem;padding-top:0.375rem}.py-2{padding-bottom:0.5rem;padding-top:0.5rem}.pb-3{padding-bottom:0.75rem}.pl-3{padding-left:0.75rem}.pl-4{padding-left:1rem}.pr-3{padding-right:0.75rem}.pt-\\[55px\\]{padding-top:55px}.text-left{text-align:left}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.\\!text-gray-900{--tw-text-opacity:1!important;color:rgb(57 62 69/var(--tw-text-opacity)) !important}.text-blue-1000{--tw-text-opacity:1;color:rgb(8 38 99/var(--tw-text-opacity))}.text-charcoal{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(93 99 107/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(0 102 5/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-red-800{--tw-text-opacity:1;color:rgb(217 12 85/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-50{opacity:0.5}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\]{--tw-shadow:0 -12px 14px -16px #00000033;--tw-shadow-colored:0 -12px 14px -16px var(--tw-shadow-color)}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\],.shadow-md{box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.shadow-md{--tw-shadow:0px 2px 8px rgba(0,0,0,.2);--tw-shadow-colored:0px 2px 8px var(--tw-shadow-color)}.\\!outline-none{outline:2px solid transparent !important;outline-offset:2px !important}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:0.15s;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.duration-300{transition-duration:0.3s}.active\\:raw-focus-ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}@media(min-width: 732px){.md\\:item-heading{--tw-text-opacity:1;color:rgb(8 38 99/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.category-content>.md\\:missing-answer-label{display:block}.category-content>.md\\:missing-answer-label~.md\\:missing-answer-label{display:none}}@media(hover: hover) and (pointer: fine){.td\\:hover-focus-ring:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}}.last\\:mr-0:last-child{margin-right:0}.focus-within\\:left-0:focus-within{left:0}.focus-within\\:right-0:focus-within{right:0}.focus-within\\:top-0:focus-within{top:0}.focus-within\\:z-30:focus-within{z-index:30}.hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.hover\\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}.hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.hover\\:bg-yellow-1000:hover{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.hover\\:text-charcoal:hover{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.focus\\:outline-transparent:focus{outline-color:transparent}.focus-visible\\:border:focus-visible{border-width:1px}.focus-visible\\:border-charcoal:focus-visible{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.focus-visible\\:border-gray-400:focus-visible{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.focus-visible\\:border-gray-800:focus-visible{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\\:bg-black-55:active,.active\\:bg-black-60:active{background-color:rgba(0, 0, 0, 0.1019607843)}.active\\:bg-yellow-1100:active{--tw-bg-opacity:1;background-color:rgb(238 206 26/var(--tw-bg-opacity))}.active\\:text-charcoal:active{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.disabled\\:text-gray-40:disabled{--tw-text-opacity:1;color:rgb(142 147 153/var(--tw-text-opacity))}.disabled\\:hover\\:bg-white:hover:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.group\\/itemContainer:hover .group-hover\\/itemContainer\\:bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.group:hover .group-hover\\:underline{text-decoration-line:underline}.group:active .group-active\\:border-2{border-width:2px}.group:active .group-active\\:border-blue-1000{--tw-border-opacity:1;border-color:rgb(8 38 99/var(--tw-border-opacity))}.group:active .group-active\\:p-\\[7px\\]{padding:7px}@media(min-width: 732px){.md\\:inset-0{inset:0}.md\\:top-20{top:5rem}.md\\:mb-2{margin-bottom:0.5rem}.md\\:mb-4{margin-bottom:1rem}.md\\:mb-8{margin-bottom:2rem}.md\\:mt-14{margin-top:3.5rem}.md\\:block{display:block}.md\\:inline-block{display:inline-block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:h-fit{height:-moz-fit-content;height:fit-content}.md\\:min-h-0{min-height:0}.md\\:min-h-\\[140px\\]{min-height:140px}.md\\:min-h-\\[164px\\]{min-height:164px}.md\\:w-fit{width:-moz-fit-content;width:fit-content}.md\\:grow-0{flex-grow:0}.md\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:items-center{align-items:center}.md\\:justify-normal{justify-content:normal}.md\\:justify-center{justify-content:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-6{gap:1.5rem}.md\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px * var(--tw-space-y-reverse));margin-top:calc(0px * (1 - var(--tw-space-y-reverse)))}.md\\:rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.md\\:border{border-width:1px}.md\\:border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.md\\:\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.md\\:p-4{padding:1rem}.md\\:px-0{padding-left:0;padding-right:0}.md\\:pb-0{padding-bottom:0}.md\\:pt-20{padding-top:5rem}.md\\:pt-20\\.5{padding-top:5.125rem}.md\\:text-center{text-align:center}.md\\:shadow-\\[0_0_\\#0000\\]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.group\\/itemContainer:hover .md\\:group-hover\\/itemContainer\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}}@media(min-width: 1196px){.lg\\:mr-6{margin-right:1.5rem}.lg\\:flex{display:flex}.lg\\:min-h-\\[224px\\]{min-height:224px}.lg\\:gap-0{gap:0}.lg\\:last\\:mr-0:last-child{margin-right:0}}@media(hover: hover) and (pointer: fine){.td\\:hover\\:cursor-grab:hover{cursor:grab}.td\\:hover\\:border-gray-800:hover{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.td\\:hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.td\\:hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.td\\:hover\\:text-soft-blue:hover{--tw-text-opacity:1;color:rgb(84 101 251/var(--tw-text-opacity))}.group:hover .td\\:group-hover\\:bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.group:hover .td\\:group-hover\\:opacity-5{opacity:0.05}}');
11192
+ append_styles(target, "svelte-8tpn7j", '*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:Mulish, sans-serif;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*{font-family:Mulish, sans-serif}input::-moz-selection,textarea::-moz-selection{background-color:hsla(0, 0%, 85%, 0.4)}input::selection,textarea::selection{background-color:hsla(0, 0%, 85%, 0.4)}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.p2{font-size:0.875rem;font-weight:600;line-height:1.25rem;line-height:1.5}.blanket-overlay{--tw-bg-opacity:1;background-color:rgb(33 37 41/var(--tw-bg-opacity));inset:0;opacity:0.3;position:absolute}.item-heading{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.focus-ring:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.hover-focus-ring:hover,.raw-focus-ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.divider{--tw-border-opacity:1;border-bottom-width:1px;border-color:rgb(218 224 224/var(--tw-border-opacity))}@keyframes svelte-8tpn7j-pulse{{opacity:0.5}}.animate-skeleton{--tw-bg-opacity:1;animation:svelte-8tpn7j-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;background-color:rgb(226 232 240/var(--tw-bg-opacity))}.btn-mcq-option:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.btn-mcq-option{--tw-text-opacity:1;--tw-border-opacity:1;--tw-bg-opacity:1;align-items:center;background-color:rgb(247 250 250/var(--tw-bg-opacity));border-color:rgb(113 115 119/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));display:flex;font-size:1rem;justify-content:space-between;line-height:1.5rem;margin-bottom:1rem;min-height:48px;padding:0.5rem 0.75rem 0.5rem 0.5rem;width:100%}.btn-mcq-option:active{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity));border-color:rgb(40 44 135/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.btn-mcq-option:hover{--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}}.btn-mcq-option>span>.choice{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(113 115 119/var(--tw-border-opacity));border-radius:1rem;border-width:1px;color:rgb(93 99 107/var(--tw-text-opacity));display:flex;font-size:1rem;font-weight:700;height:2rem;justify-content:center;letter-spacing:0.05em;line-height:1rem;margin-right:1rem;padding:0.5rem;width:2rem}.btn-mcq-option.selected{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}.btn-mcq-option.selected,.btn-mcq-option.selected>span>.choice{border-color:rgb(40 44 135/var(--tw-border-opacity));border-width:2px}.btn-mcq-option.selected>span>.choice{--tw-border-opacity:1}.btn-mcq-option.selected.correct{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(241 254 241/var(--tw-bg-opacity));border-color:rgb(0 102 5/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.incorrect{--tw-border-opacity:1;--tw-bg-opacity:1;background-color:rgb(253 243 247/var(--tw-bg-opacity));border-color:rgb(217 12 85/var(--tw-border-opacity));border-width:1px}.btn-mcq-option.selected.correct>span>.choice,.btn-mcq-option.selected.incorrect>span>.choice{--tw-border-opacity:1;border-color:rgb(113 115 119/var(--tw-border-opacity));border-width:1px}.typein-textbox:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}.typein-textbox{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(93 99 107/var(--tw-border-opacity));border-radius:0.5rem;border-width:1px;color:rgb(33 37 41/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem;padding:0.75rem 1rem;width:100%}.typein-textbox::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(93 99 107/var(--tw-placeholder-opacity))}.typein-textbox::placeholder{--tw-placeholder-opacity:1;color:rgb(93 99 107/var(--tw-placeholder-opacity))}.typein-textbox:focus{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity));border-width:2px}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity));border-width:2px;outline:2px solid transparent;outline-offset:2px}}.typein-textbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0)) !important}@media(hover: hover) and (pointer: fine){.typein-textbox:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:4px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));transition-duration:50ms}}#dnd-action-dragged-el{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;--tw-border-opacity:1!important;--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important;border-color:rgb(93 99 107/var(--tw-border-opacity)) !important;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));cursor:grabbing !important;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}#dnd-action-dragged-el .btn-vertical-icon{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));cursor:grabbing !important}#dnd-action-dragged-el .preview-icon{display:none !important}#dnd-action-dragged-el .preview-vertical{display:block !important}.category-content>.missing-answer-label{display:block}.category-content>.missing-answer-label~.missing-answer-label{display:none}.sr-only{clip:rect(0, 0, 0, 0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-y-0{bottom:0;top:0}.-top-2{top:-0.5rem}.-top-2\\.5{top:-0.625rem}.bottom-4{bottom:1rem}.left-4{left:1rem}.left-\\[-9999px\\]{left:-9999px}.right-0{right:0}.right-4{right:1rem}.top-12{top:3rem}.z-0{z-index:0}.z-10{z-index:10}.z-50{z-index:50}.m-auto{margin:auto}.mx-0{margin-left:0;margin-right:0}.mx-0\\.5{margin-left:0.125rem;margin-right:0.125rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.mb-1{margin-bottom:0.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:0.5rem}.mb-3{margin-bottom:0.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:0.25rem}.ml-3{margin-left:0.75rem}.ml-\\[3px\\]{margin-left:3px}.mr-1{margin-right:0.25rem}.mr-2{margin-right:0.5rem}.mr-4{margin-right:1rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:0.125rem}.mt-1{margin-top:0.25rem}.mt-2{margin-top:0.5rem}.mt-4{margin-top:1rem}.mt-7{margin-top:1.75rem}.mt-7\\.5{margin-top:1.875}.mt-9{margin-top:2.25rem}.block{display:block}.inline{display:inline}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-11{height:2.75rem}.h-4{height:1rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.min-h-\\[133px\\]{min-height:133px}.min-h-\\[140px\\]{min-height:140px}.min-h-\\[54px\\]{min-height:54px}.min-h-\\[86px\\]{min-height:86px}.w-11{width:2.75rem}.w-2\\/4{width:50%}.w-4{width:1rem}.w-6{width:1.5rem}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-\\[44px\\]{min-width:44px}.min-w-\\[85px\\]{min-width:85px}.max-w-\\[400px\\]{max-width:400px}.grow{flex-grow:1}.basis-0{flex-basis:0px}.\\!cursor-default{cursor:default !important}.\\!cursor-pointer{cursor:pointer !important}.cursor-pointer{cursor:pointer}.grid-cols-1{grid-template-columns:repeat(1, minmax(0, 1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.content-start{align-content:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0.5rem * var(--tw-space-y-reverse));margin-top:calc(0.5rem * (1 - var(--tw-space-y-reverse)))}.space-y-reverse>:not([hidden])~:not([hidden]){--tw-space-y-reverse:1}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:0.25rem}.rounded-\\[32px\\]{border-radius:32px}.rounded-lg{border-radius:0.5rem}.rounded-md{border-radius:0.375rem}.rounded-b-lg{border-bottom-left-radius:0.5rem;border-bottom-right-radius:0.5rem}.rounded-t-lg{border-top-left-radius:0.5rem;border-top-right-radius:0.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-l-6,.border-l-\\[6px\\]{border-left-width:6px}.border-dashed{border-style:dashed}.\\!border-blue-1000{--tw-border-opacity:1!important;border-color:rgb(40 44 135/var(--tw-border-opacity)) !important}.border-blue-1000{--tw-border-opacity:1;border-color:rgb(40 44 135/var(--tw-border-opacity))}.border-charcoal{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.border-green-800{--tw-border-opacity:1;border-color:rgb(0 102 5/var(--tw-border-opacity))}.border-red-600{--tw-border-opacity:1;border-color:rgb(220 38 38/var(--tw-border-opacity))}.border-red-800{--tw-border-opacity:1;border-color:rgb(217 12 85/var(--tw-border-opacity))}.border-soft-blue{--tw-border-opacity:1;border-color:rgb(84 101 251/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.\\!bg-violet-100{--tw-bg-opacity:1!important;background-color:rgb(235 235 255/var(--tw-bg-opacity)) !important}.\\!bg-violet-150{--tw-bg-opacity:1!important;background-color:rgb(205 208 254/var(--tw-bg-opacity)) !important}.\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.bg-blue-1000{--tw-bg-opacity:1;background-color:rgb(40 44 135/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(247 250 250/var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity:1;background-color:rgb(244 244 244/var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity:1;background-color:rgb(241 254 241/var(--tw-bg-opacity))}.bg-red-200{--tw-bg-opacity:1;background-color:rgb(254 202 202/var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity:1;background-color:rgb(253 243 247/var(--tw-bg-opacity))}.bg-soft-blue{--tw-bg-opacity:1;background-color:rgb(84 101 251/var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.bg-violet-150{--tw-bg-opacity:1;background-color:rgb(205 208 254/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-yellow-1000{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.p-0{padding:0}.p-0\\.5{padding:0.125rem}.p-1{padding:0.25rem}.p-1\\.5{padding:0.375rem}.p-2{padding:0.5rem}.p-3{padding:0.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-3{padding-left:0.75rem;padding-right:0.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-1{padding-bottom:0.25rem;padding-top:0.25rem}.py-1\\.5{padding-bottom:0.375rem;padding-top:0.375rem}.py-2{padding-bottom:0.5rem;padding-top:0.5rem}.pb-10{padding-bottom:2.5rem}.pb-3{padding-bottom:0.75rem}.pl-24{padding-left:6rem}.pl-3{padding-left:0.75rem}.pl-4{padding-left:1rem}.pr-3{padding-right:0.75rem}.pt-6{padding-top:1.5rem}.pt-\\[55px\\]{padding-top:55px}.text-left{text-align:left}.text-center{text-align:center}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-4{line-height:1rem}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-\\[22px\\]{line-height:22px}.\\!text-gray-900{--tw-text-opacity:1!important;color:rgb(57 62 69/var(--tw-text-opacity)) !important}.text-blue-1000{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity))}.text-charcoal{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(93 99 107/var(--tw-text-opacity))}.text-green-800{--tw-text-opacity:1;color:rgb(0 102 5/var(--tw-text-opacity))}.text-inherit{color:inherit}.text-red-800{--tw-text-opacity:1;color:rgb(217 12 85/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-50{opacity:0.5}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\]{--tw-shadow:0 -12px 14px -16px #00000033;--tw-shadow-colored:0 -12px 14px -16px var(--tw-shadow-color)}.shadow-\\[0_-12px_14px_-16px_\\#00000033\\],.shadow-md{box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.shadow-md{--tw-shadow:0px 2px 8px rgba(0,0,0,.2);--tw-shadow-colored:0px 2px 8px var(--tw-shadow-color)}.\\!outline-none{outline:2px solid transparent !important;outline-offset:2px !important}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:0.15s;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.duration-300{transition-duration:0.3s}.active\\:raw-focus-ring:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}@media(min-width: 732px){.md\\:item-heading{--tw-text-opacity:1;color:rgb(40 44 135/var(--tw-text-opacity));font-size:1.25rem;letter-spacing:-0.025em;line-height:1.5rem}.category-content>.md\\:missing-answer-label{display:block}.category-content>.md\\:missing-answer-label~.md\\:missing-answer-label{display:none}}@media(hover: hover) and (pointer: fine){.td\\:hover-focus-ring:hover{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity));--tw-ring-offset-width:2px;box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0, 0, 0, 0));outline:2px solid transparent;outline-offset:2px;transition-duration:50ms}}.last\\:mr-0:last-child{margin-right:0}.focus-within\\:left-0:focus-within{left:0}.focus-within\\:right-0:focus-within{right:0}.focus-within\\:top-0:focus-within{top:0}.focus-within\\:z-30:focus-within{z-index:30}.hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.hover\\:bg-blue-100:hover{--tw-bg-opacity:1;background-color:rgb(222 222 255/var(--tw-bg-opacity))}.hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.hover\\:bg-yellow-1000:hover{--tw-bg-opacity:1;background-color:rgb(251 217 27/var(--tw-bg-opacity))}.hover\\:text-charcoal:hover{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.focus\\:outline-transparent:focus{outline-color:transparent}.focus-visible\\:border:focus-visible{border-width:1px}.focus-visible\\:border-charcoal:focus-visible{--tw-border-opacity:1;border-color:rgb(33 37 41/var(--tw-border-opacity))}.focus-visible\\:border-gray-400:focus-visible{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.focus-visible\\:border-gray-800:focus-visible{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.active\\:bg-black-55:active,.active\\:bg-black-60:active{background-color:rgba(0, 0, 0, 0.1019607843)}.active\\:bg-yellow-1100:active{--tw-bg-opacity:1;background-color:rgb(238 206 26/var(--tw-bg-opacity))}.active\\:text-charcoal:active{--tw-text-opacity:1;color:rgb(33 37 41/var(--tw-text-opacity))}.disabled\\:text-gray-40:disabled{--tw-text-opacity:1;color:rgb(142 147 153/var(--tw-text-opacity))}.disabled\\:hover\\:bg-white:hover:disabled{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.group\\/itemContainer:hover .group-hover\\/itemContainer\\:bg-violet-100{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.group:hover .group-hover\\:underline{text-decoration-line:underline}.group:active .group-active\\:border-2{border-width:2px}.group:active .group-active\\:border-blue-1000{--tw-border-opacity:1;border-color:rgb(40 44 135/var(--tw-border-opacity))}.group:active .group-active\\:p-\\[7px\\]{padding:7px}@media(min-width: 732px){.md\\:inset-0{inset:0}.md\\:top-20{top:5rem}.md\\:mb-2{margin-bottom:0.5rem}.md\\:mb-4{margin-bottom:1rem}.md\\:mb-8{margin-bottom:2rem}.md\\:mt-14{margin-top:3.5rem}.md\\:block{display:block}.md\\:inline-block{display:inline-block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:h-fit{height:-moz-fit-content;height:fit-content}.md\\:min-h-0{min-height:0}.md\\:min-h-\\[140px\\]{min-height:140px}.md\\:min-h-\\[164px\\]{min-height:164px}.md\\:w-fit{width:-moz-fit-content;width:fit-content}.md\\:grow-0{flex-grow:0}.md\\:grid-cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}.md\\:flex-row{flex-direction:row}.md\\:flex-col{flex-direction:column}.md\\:items-center{align-items:center}.md\\:justify-normal{justify-content:normal}.md\\:justify-center{justify-content:center}.md\\:justify-between{justify-content:space-between}.md\\:gap-6{gap:1.5rem}.md\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px * var(--tw-space-y-reverse));margin-top:calc(0px * (1 - var(--tw-space-y-reverse)))}.md\\:rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.md\\:border{border-width:1px}.md\\:border-gray-400{--tw-border-opacity:1;border-color:rgb(196 201 204/var(--tw-border-opacity))}.md\\:\\!bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity)) !important}.md\\:p-4{padding:1rem}.md\\:px-0{padding-left:0;padding-right:0}.md\\:pb-0{padding-bottom:0}.md\\:pt-20{padding-top:5rem}.md\\:pt-20\\.5{padding-top:5.125rem}.md\\:text-center{text-align:center}.md\\:shadow-\\[0_0_\\#0000\\]{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow)}.group\\/itemContainer:hover .md\\:group-hover\\/itemContainer\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}}@media(min-width: 1196px){.lg\\:mr-6{margin-right:1.5rem}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:min-h-\\[224px\\]{min-height:224px}.lg\\:w-full{width:100%}.lg\\:grow{flex-grow:1}.lg\\:basis-1\\/2{flex-basis:50%}.lg\\:items-center{align-items:center}.lg\\:justify-between{justify-content:space-between}.lg\\:gap-0{gap:0}.lg\\:last\\:mr-0:last-child{margin-right:0}}@media(hover: hover) and (pointer: fine){.td\\:hover\\:cursor-grab:hover{cursor:grab}.td\\:hover\\:border-gray-800:hover{--tw-border-opacity:1;border-color:rgb(93 99 107/var(--tw-border-opacity))}.td\\:hover\\:bg-black-50:hover{background-color:rgba(0, 0, 0, 0.0509803922)}.td\\:hover\\:bg-violet-100:hover{--tw-bg-opacity:1;background-color:rgb(235 235 255/var(--tw-bg-opacity))}.td\\:hover\\:text-soft-blue:hover{--tw-text-opacity:1;color:rgb(84 101 251/var(--tw-text-opacity))}.group:hover .td\\:group-hover\\:bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.group:hover .td\\:group-hover\\:opacity-5{opacity:0.05}}');
10541
11193
  }
10542
11194
  function create_else_block_12(ctx) {
10543
11195
  let invalidbanner;
@@ -10567,12 +11219,12 @@
10567
11219
  }
10568
11220
  };
10569
11221
  }
10570
- function create_if_block_18(ctx) {
11222
+ function create_if_block_19(ctx) {
10571
11223
  let current_block_type_index;
10572
11224
  let if_block;
10573
11225
  let if_block_anchor;
10574
11226
  let current;
10575
- const if_block_creators = [create_if_block_26, create_if_block_34, create_if_block_43, create_else_block5];
11227
+ const if_block_creators = [create_if_block_28, create_if_block_35, create_if_block_44, create_else_block5];
10576
11228
  const if_blocks = [];
10577
11229
  function select_block_type_1(ctx2, dirty) {
10578
11230
  if (
@@ -10644,7 +11296,7 @@
10644
11296
  }
10645
11297
  };
10646
11298
  }
10647
- function create_if_block8(ctx) {
11299
+ function create_if_block9(ctx) {
10648
11300
  let promptskeleton;
10649
11301
  let current;
10650
11302
  promptskeleton = new PromptSkeleton_default({});
@@ -10700,7 +11352,7 @@
10700
11352
  }
10701
11353
  };
10702
11354
  }
10703
- function create_if_block_43(ctx) {
11355
+ function create_if_block_44(ctx) {
10704
11356
  let promptcategorise;
10705
11357
  let current;
10706
11358
  promptcategorise = new PromptCategorise_default({
@@ -10763,7 +11415,7 @@
10763
11415
  }
10764
11416
  };
10765
11417
  }
10766
- function create_if_block_34(ctx) {
11418
+ function create_if_block_35(ctx) {
10767
11419
  let prompttypein;
10768
11420
  let current;
10769
11421
  prompttypein = new PromptTypeIn_default({
@@ -10842,7 +11494,7 @@
10842
11494
  }
10843
11495
  };
10844
11496
  }
10845
- function create_if_block_26(ctx) {
11497
+ function create_if_block_28(ctx) {
10846
11498
  let promptmcq;
10847
11499
  let current;
10848
11500
  promptmcq = new PromptMCQ_default({
@@ -10917,12 +11569,12 @@
10917
11569
  }
10918
11570
  };
10919
11571
  }
10920
- function create_fragment24(ctx) {
11572
+ function create_fragment25(ctx) {
10921
11573
  let current_block_type_index;
10922
11574
  let if_block;
10923
11575
  let if_block_anchor;
10924
11576
  let current;
10925
- const if_block_creators = [create_if_block8, create_if_block_18, create_else_block_12];
11577
+ const if_block_creators = [create_if_block9, create_if_block_19, create_else_block_12];
10926
11578
  const if_blocks = [];
10927
11579
  function select_block_type(ctx2, dirty) {
10928
11580
  if (
@@ -10990,7 +11642,7 @@
10990
11642
  };
10991
11643
  }
10992
11644
  var bannerLabel = "Invalid session id.";
10993
- function instance11($$self, $$props, $$invalidate) {
11645
+ function instance12($$self, $$props, $$invalidate) {
10994
11646
  const { "session-id": sessionId, "preview-mode": previewMode, "item-id": itemId, "preview-contentful": previewContentful } = $$props;
10995
11647
  const previewModeType = ["true", "interactive"];
10996
11648
  const isPreviewModeInteractive = Boolean(previewMode === "interactive" && itemId);
@@ -11202,7 +11854,7 @@
11202
11854
  var PromptBuilder = class extends SvelteComponent {
11203
11855
  constructor(options) {
11204
11856
  super();
11205
- init(this, options, instance11, create_fragment24, safe_not_equal, {}, add_css);
11857
+ init(this, options, instance12, create_fragment25, safe_not_equal, {}, add_css);
11206
11858
  }
11207
11859
  };
11208
11860
  customElements.define("prompt-builder", create_custom_element(PromptBuilder, {}, [], [], true));