eat-js-sdk 0.0.52 → 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();
1301
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;
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,24 +6234,24 @@
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 (
5589
6241
  /*resultType*/
5590
- ctx2[1] === ANSWER_CORRECT && !/*isWordItemSelected*/
6242
+ ctx2[0] === ANSWER_CORRECT && !/*isWordItemSelected*/
5591
6243
  ctx2[10]
5592
6244
  )
5593
6245
  return 0;
5594
6246
  if (
5595
6247
  /*resultType*/
5596
- ctx2[1] === ANSWER_INCORRECT && !/*isWordItemSelected*/
6248
+ ctx2[0] === ANSWER_INCORRECT && !/*isWordItemSelected*/
5597
6249
  ctx2[10]
5598
6250
  )
5599
6251
  return 1;
5600
6252
  if (
5601
6253
  /*resultType*/
5602
- ctx2[1] === ANSWER_MISSED
6254
+ ctx2[0] === ANSWER_MISSED
5603
6255
  )
5604
6256
  return 2;
5605
6257
  return 3;
@@ -5608,8 +6260,8 @@
5608
6260
  if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
5609
6261
  let if_block1 = (
5610
6262
  /*resultType*/
5611
- (ctx[1] === ANSWER_CORRECT || /*resultType*/
5612
- ctx[1] === ANSWER_INCORRECT) && create_if_block5(ctx)
6263
+ (ctx[0] === ANSWER_CORRECT || /*resultType*/
6264
+ ctx[0] === ANSWER_INCORRECT) && create_if_block6(ctx)
5613
6265
  );
5614
6266
  return {
5615
6267
  c() {
@@ -5617,7 +6269,7 @@
5617
6269
  span0 = element("span");
5618
6270
  t0 = text(
5619
6271
  /*word*/
5620
- ctx[0]
6272
+ ctx[1]
5621
6273
  );
5622
6274
  t1 = space();
5623
6275
  div = element("div");
@@ -5644,21 +6296,21 @@
5644
6296
  ctx[3]
5645
6297
  );
5646
6298
  attr(button, "aria-label", button_aria_label_value = /*resultType*/
5647
- ctx[1] === ANSWER_INCORRECT && /*containerId*/
6299
+ ctx[0] === ANSWER_INCORRECT && /*containerId*/
5648
6300
  ctx[5] === CONTAINER_WORD_BIN_ID && !/*isWordItemSelected*/
5649
6301
  ctx[10] ? `Skipped answer: ${/*word*/
5650
- ctx[0]}` : (
6302
+ ctx[1]}` : (
5651
6303
  /*resultType*/
5652
- (ctx[1] === ANSWER_CORRECT || /*resultType*/
5653
- ctx[1] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
6304
+ (ctx[0] === ANSWER_CORRECT || /*resultType*/
6305
+ ctx[0] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
5654
6306
  ctx[10] ? `Student's answer: ${/*word*/
5655
- ctx[0]} (${/*resultType*/
5656
- ctx[1]})` : (
6307
+ ctx[1]} (${/*resultType*/
6308
+ ctx[0]})` : (
5657
6309
  /*resultType*/
5658
- ctx[1] === ANSWER_MISSED ? `Missing answer: ${/*word*/
5659
- ctx[0]}` : `${/*isWordItemSelected*/
6310
+ ctx[0] === ANSWER_MISSED ? `Missing answer: ${/*word*/
6311
+ ctx[1]}` : `${/*isWordItemSelected*/
5660
6312
  ctx[10] ? "Selected option" : "Option"}: ${/*word*/
5661
- ctx[0]}`
6313
+ ctx[1]}`
5662
6314
  )
5663
6315
  ));
5664
6316
  attr(button, "class", button_class_value = "focus-ring flex items-center justify-between min-h-[54px] p-1 border border-gray-800 rounded-lg " + /*otherClass*/
@@ -5669,17 +6321,17 @@
5669
6321
  (ctx[10] ? "bg-blue-1000 !border-blue-1000 raw-focus-ring !cursor-pointer" : "bg-gray-100") + " " + (!/*currentSelectedItemId*/
5670
6322
  ctx[7] && !/*disabledClick*/
5671
6323
  ctx[6] ? "td:hover-focus-ring td:hover:bg-violet-100 !cursor-pointer" : "!cursor-default") + " " + /*resultType*/
5672
- (ctx[1] === ANSWER_CORRECT && !/*isWordItemSelected*/
6324
+ (ctx[0] === ANSWER_CORRECT && !/*isWordItemSelected*/
5673
6325
  ctx[10] ? "border-green-800 bg-green-300" : (
5674
6326
  /*resultType*/
5675
- ctx[1] === ANSWER_INCORRECT && !/*isWordItemSelected*/
6327
+ ctx[0] === ANSWER_INCORRECT && !/*isWordItemSelected*/
5676
6328
  ctx[10] ? "border-red-800 bg-red-300" : (
5677
6329
  /*resultType*/
5678
- ctx[1] === ANSWER_MISSED ? "border-green-800" : ""
6330
+ ctx[0] === ANSWER_MISSED ? "border-green-800" : ""
5679
6331
  )
5680
6332
  )) + " " + /*resultType*/
5681
- ((ctx[1] === ANSWER_CORRECT || /*resultType*/
5682
- ctx[1] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
6333
+ ((ctx[0] === ANSWER_CORRECT || /*resultType*/
6334
+ ctx[0] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
5683
6335
  ctx[10] ? "td:hover:border-gray-800" : ""));
5684
6336
  },
5685
6337
  m(target, anchor) {
@@ -5695,7 +6347,7 @@
5695
6347
  append(span2, t3);
5696
6348
  if (if_block1)
5697
6349
  if_block1.m(span2, null);
5698
- ctx[15](button);
6350
+ ctx[17](button);
5699
6351
  current = true;
5700
6352
  if (!mounted) {
5701
6353
  dispose = [
@@ -5738,11 +6390,11 @@
5738
6390
  p(new_ctx, [dirty]) {
5739
6391
  ctx = new_ctx;
5740
6392
  if (!current || dirty & /*word*/
5741
- 1)
6393
+ 2)
5742
6394
  set_data(
5743
6395
  t0,
5744
6396
  /*word*/
5745
- ctx[0]
6397
+ ctx[1]
5746
6398
  );
5747
6399
  if (!current || dirty & /*isWordItemSelected*/
5748
6400
  1024 && span0_class_value !== (span0_class_value = "text-charcoal text-base pl-3 mr-4 " + /*isWordItemSelected*/
@@ -5774,16 +6426,16 @@
5774
6426
  }
5775
6427
  if (
5776
6428
  /*resultType*/
5777
- ctx[1] === ANSWER_CORRECT || /*resultType*/
5778
- ctx[1] === ANSWER_INCORRECT
6429
+ ctx[0] === ANSWER_CORRECT || /*resultType*/
6430
+ ctx[0] === ANSWER_INCORRECT
5779
6431
  ) {
5780
6432
  if (if_block1) {
5781
6433
  if (dirty & /*resultType*/
5782
- 2) {
6434
+ 1) {
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);
@@ -5812,27 +6464,27 @@
5812
6464
  }
5813
6465
  if (!current || dirty & /*resultType, containerId, isWordItemSelected, word*/
5814
6466
  1059 && button_aria_label_value !== (button_aria_label_value = /*resultType*/
5815
- ctx[1] === ANSWER_INCORRECT && /*containerId*/
6467
+ ctx[0] === ANSWER_INCORRECT && /*containerId*/
5816
6468
  ctx[5] === CONTAINER_WORD_BIN_ID && !/*isWordItemSelected*/
5817
6469
  ctx[10] ? `Skipped answer: ${/*word*/
5818
- ctx[0]}` : (
6470
+ ctx[1]}` : (
5819
6471
  /*resultType*/
5820
- (ctx[1] === ANSWER_CORRECT || /*resultType*/
5821
- ctx[1] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
6472
+ (ctx[0] === ANSWER_CORRECT || /*resultType*/
6473
+ ctx[0] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
5822
6474
  ctx[10] ? `Student's answer: ${/*word*/
5823
- ctx[0]} (${/*resultType*/
5824
- ctx[1]})` : (
6475
+ ctx[1]} (${/*resultType*/
6476
+ ctx[0]})` : (
5825
6477
  /*resultType*/
5826
- ctx[1] === ANSWER_MISSED ? `Missing answer: ${/*word*/
5827
- ctx[0]}` : `${/*isWordItemSelected*/
6478
+ ctx[0] === ANSWER_MISSED ? `Missing answer: ${/*word*/
6479
+ ctx[1]}` : `${/*isWordItemSelected*/
5828
6480
  ctx[10] ? "Selected option" : "Option"}: ${/*word*/
5829
- ctx[0]}`
6481
+ ctx[1]}`
5830
6482
  )
5831
6483
  ))) {
5832
6484
  attr(button, "aria-label", button_aria_label_value);
5833
6485
  }
5834
6486
  if (!current || dirty & /*otherClass, isClonedItem, considerCloneItemId, wordButtonId, isWordItemSelected, currentSelectedItemId, disabledClick, resultType*/
5835
- 1758 && button_class_value !== (button_class_value = "focus-ring flex items-center justify-between min-h-[54px] p-1 border border-gray-800 rounded-lg " + /*otherClass*/
6487
+ 1757 && button_class_value !== (button_class_value = "focus-ring flex items-center justify-between min-h-[54px] p-1 border border-gray-800 rounded-lg " + /*otherClass*/
5836
6488
  ctx[2] + " " + /*isClonedItem*/
5837
6489
  (ctx[4] ? "opacity-50 raw-focus-ring bg-violet-100" : "") + " " + /*considerCloneItemId*/
5838
6490
  (ctx[9] === /*wordButtonId*/
@@ -5840,17 +6492,17 @@
5840
6492
  (ctx[10] ? "bg-blue-1000 !border-blue-1000 raw-focus-ring !cursor-pointer" : "bg-gray-100") + " " + (!/*currentSelectedItemId*/
5841
6493
  ctx[7] && !/*disabledClick*/
5842
6494
  ctx[6] ? "td:hover-focus-ring td:hover:bg-violet-100 !cursor-pointer" : "!cursor-default") + " " + /*resultType*/
5843
- (ctx[1] === ANSWER_CORRECT && !/*isWordItemSelected*/
6495
+ (ctx[0] === ANSWER_CORRECT && !/*isWordItemSelected*/
5844
6496
  ctx[10] ? "border-green-800 bg-green-300" : (
5845
6497
  /*resultType*/
5846
- ctx[1] === ANSWER_INCORRECT && !/*isWordItemSelected*/
6498
+ ctx[0] === ANSWER_INCORRECT && !/*isWordItemSelected*/
5847
6499
  ctx[10] ? "border-red-800 bg-red-300" : (
5848
6500
  /*resultType*/
5849
- ctx[1] === ANSWER_MISSED ? "border-green-800" : ""
6501
+ ctx[0] === ANSWER_MISSED ? "border-green-800" : ""
5850
6502
  )
5851
6503
  )) + " " + /*resultType*/
5852
- ((ctx[1] === ANSWER_CORRECT || /*resultType*/
5853
- ctx[1] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
6504
+ ((ctx[0] === ANSWER_CORRECT || /*resultType*/
6505
+ ctx[0] === ANSWER_INCORRECT) && !/*isWordItemSelected*/
5854
6506
  ctx[10] ? "td:hover:border-gray-800" : ""))) {
5855
6507
  attr(button, "class", button_class_value);
5856
6508
  }
@@ -5874,13 +6526,13 @@
5874
6526
  if_blocks[current_block_type_index].d();
5875
6527
  if (if_block1)
5876
6528
  if_block1.d();
5877
- ctx[15](null);
6529
+ ctx[17](null);
5878
6530
  mounted = false;
5879
6531
  run_all(dispose);
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;
@@ -5889,7 +6541,9 @@
5889
6541
  let { containerId = "" } = $$props;
5890
6542
  let { wordFocus = false } = $$props;
5891
6543
  let { disabledClick = false } = $$props;
6544
+ let { isPreviewModeInteractive = false } = $$props;
5892
6545
  let { categoryData = [] } = $$props;
6546
+ let { correctAnswerList = [] } = $$props;
5893
6547
  const dispatch = createEventDispatcher();
5894
6548
  let considerCloneItemId = "";
5895
6549
  let currentSelectedItemId = "";
@@ -5950,9 +6604,9 @@
5950
6604
  }
5951
6605
  $$self.$$set = ($$props2) => {
5952
6606
  if ("word" in $$props2)
5953
- $$invalidate(0, word = $$props2.word);
6607
+ $$invalidate(1, word = $$props2.word);
5954
6608
  if ("resultType" in $$props2)
5955
- $$invalidate(1, resultType = $$props2.resultType);
6609
+ $$invalidate(0, resultType = $$props2.resultType);
5956
6610
  if ("otherClass" in $$props2)
5957
6611
  $$invalidate(2, otherClass = $$props2.otherClass);
5958
6612
  if ("wordButtonId" in $$props2)
@@ -5965,8 +6619,12 @@
5965
6619
  $$invalidate(14, wordFocus = $$props2.wordFocus);
5966
6620
  if ("disabledClick" in $$props2)
5967
6621
  $$invalidate(6, disabledClick = $$props2.disabledClick);
6622
+ if ("isPreviewModeInteractive" in $$props2)
6623
+ $$invalidate(15, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
5968
6624
  if ("categoryData" in $$props2)
5969
6625
  $$invalidate(13, categoryData = $$props2.categoryData);
6626
+ if ("correctAnswerList" in $$props2)
6627
+ $$invalidate(16, correctAnswerList = $$props2.correctAnswerList);
5970
6628
  };
5971
6629
  $$self.$$.update = () => {
5972
6630
  if ($$self.$$.dirty & /*wordFocus, wordButton*/
@@ -5981,6 +6639,18 @@
5981
6639
  );
5982
6640
  }
5983
6641
  }
6642
+ if ($$self.$$.dirty & /*correctAnswerList, isPreviewModeInteractive, containerId, wordButtonId, resultType*/
6643
+ 98345) {
6644
+ $:
6645
+ if (correctAnswerList && isPreviewModeInteractive) {
6646
+ const { answerList } = correctAnswerList;
6647
+ const answers = answerList[containerId];
6648
+ if (containerId !== CONTAINER_WORD_BIN_ID && answers.length) {
6649
+ $$invalidate(0, resultType = answers.includes(wordButtonId) ? ANSWER_CORRECT : ANSWER_INCORRECT);
6650
+ console.log("result:", resultType);
6651
+ }
6652
+ }
6653
+ }
5984
6654
  if ($$self.$$.dirty & /*categoryData, currentSelectedItemId, wordButtonId*/
5985
6655
  8328) {
5986
6656
  $:
@@ -5993,8 +6663,8 @@
5993
6663
  }
5994
6664
  };
5995
6665
  return [
5996
- word,
5997
6666
  resultType,
6667
+ word,
5998
6668
  otherClass,
5999
6669
  wordButtonId,
6000
6670
  isClonedItem,
@@ -6008,33 +6678,37 @@
6008
6678
  removeContainerTabSelected,
6009
6679
  categoryData,
6010
6680
  wordFocus,
6681
+ isPreviewModeInteractive,
6682
+ correctAnswerList,
6011
6683
  button_binding
6012
6684
  ];
6013
6685
  }
6014
6686
  var PromptCategoriseWordButton = class extends SvelteComponent {
6015
6687
  constructor(options) {
6016
6688
  super();
6017
- init(this, options, instance5, create_fragment9, safe_not_equal, {
6018
- word: 0,
6019
- resultType: 1,
6689
+ init(this, options, instance6, create_fragment10, safe_not_equal, {
6690
+ word: 1,
6691
+ resultType: 0,
6020
6692
  otherClass: 2,
6021
6693
  wordButtonId: 3,
6022
6694
  isClonedItem: 4,
6023
6695
  containerId: 5,
6024
6696
  wordFocus: 14,
6025
6697
  disabledClick: 6,
6026
- categoryData: 13
6698
+ isPreviewModeInteractive: 15,
6699
+ categoryData: 13,
6700
+ correctAnswerList: 16
6027
6701
  });
6028
6702
  }
6029
6703
  get word() {
6030
- return this.$$.ctx[0];
6704
+ return this.$$.ctx[1];
6031
6705
  }
6032
6706
  set word(word) {
6033
6707
  this.$$set({ word });
6034
6708
  flush();
6035
6709
  }
6036
6710
  get resultType() {
6037
- return this.$$.ctx[1];
6711
+ return this.$$.ctx[0];
6038
6712
  }
6039
6713
  set resultType(resultType) {
6040
6714
  this.$$set({ resultType });
@@ -6082,6 +6756,13 @@
6082
6756
  this.$$set({ disabledClick });
6083
6757
  flush();
6084
6758
  }
6759
+ get isPreviewModeInteractive() {
6760
+ return this.$$.ctx[15];
6761
+ }
6762
+ set isPreviewModeInteractive(isPreviewModeInteractive) {
6763
+ this.$$set({ isPreviewModeInteractive });
6764
+ flush();
6765
+ }
6085
6766
  get categoryData() {
6086
6767
  return this.$$.ctx[13];
6087
6768
  }
@@ -6089,8 +6770,15 @@
6089
6770
  this.$$set({ categoryData });
6090
6771
  flush();
6091
6772
  }
6773
+ get correctAnswerList() {
6774
+ return this.$$.ctx[16];
6775
+ }
6776
+ set correctAnswerList(correctAnswerList) {
6777
+ this.$$set({ correctAnswerList });
6778
+ flush();
6779
+ }
6092
6780
  };
6093
- customElements.define("prompt-categorise-word-button", create_custom_element(PromptCategoriseWordButton, { "word": {}, "resultType": {}, "otherClass": {}, "wordButtonId": {}, "isClonedItem": { "type": "Boolean" }, "containerId": {}, "wordFocus": { "type": "Boolean" }, "disabledClick": { "type": "Boolean" }, "categoryData": {} }, [], [], true));
6781
+ customElements.define("prompt-categorise-word-button", create_custom_element(PromptCategoriseWordButton, { "word": {}, "resultType": {}, "otherClass": {}, "wordButtonId": {}, "isClonedItem": { "type": "Boolean" }, "containerId": {}, "wordFocus": { "type": "Boolean" }, "disabledClick": { "type": "Boolean" }, "isPreviewModeInteractive": { "type": "Boolean" }, "categoryData": {}, "correctAnswerList": {} }, [], [], true));
6094
6782
  var PromptCategoriseWordButton_default = PromptCategoriseWordButton;
6095
6783
 
6096
6784
  // src/lib/composables/useCategorise.ts
@@ -6130,7 +6818,7 @@
6130
6818
  child_ctx[38] = list[i];
6131
6819
  return child_ctx;
6132
6820
  }
6133
- function create_if_block_24(ctx) {
6821
+ function create_if_block_26(ctx) {
6134
6822
  let button;
6135
6823
  let button_class_value;
6136
6824
  let mounted;
@@ -6145,7 +6833,7 @@
6145
6833
  ctx[7]
6146
6834
  );
6147
6835
  attr(button, "class", button_class_value = "focus-ring absolute inset-0 bg-transparent rounded-lg focus-visible:border " + /*isContainerWordBin*/
6148
- (ctx[20] ? "focus-visible:border-gray-400" : "focus-visible:border-gray-800"));
6836
+ (ctx[22] ? "focus-visible:border-gray-400" : "focus-visible:border-gray-800"));
6149
6837
  },
6150
6838
  m(target, anchor) {
6151
6839
  insert(target, button, anchor);
@@ -6154,7 +6842,7 @@
6154
6842
  button,
6155
6843
  "click",
6156
6844
  /*addAnswerItem*/
6157
- ctx[23]
6845
+ ctx[25]
6158
6846
  );
6159
6847
  mounted = true;
6160
6848
  }
@@ -6179,7 +6867,7 @@
6179
6867
  }
6180
6868
  };
6181
6869
  }
6182
- function create_if_block_16(ctx) {
6870
+ function create_if_block_17(ctx) {
6183
6871
  let div;
6184
6872
  let mounted;
6185
6873
  let dispose;
@@ -6199,13 +6887,13 @@
6199
6887
  div,
6200
6888
  "click",
6201
6889
  /*addAnswerItem*/
6202
- ctx[23]
6890
+ ctx[25]
6203
6891
  ),
6204
6892
  listen(
6205
6893
  div,
6206
6894
  "keypress",
6207
6895
  /*addAnswerItem*/
6208
- ctx[23]
6896
+ ctx[25]
6209
6897
  )
6210
6898
  ];
6211
6899
  mounted = true;
@@ -6221,7 +6909,7 @@
6221
6909
  }
6222
6910
  };
6223
6911
  }
6224
- function create_if_block6(ctx) {
6912
+ function create_if_block7(ctx) {
6225
6913
  let button;
6226
6914
  let t2;
6227
6915
  let button_class_value;
@@ -6260,20 +6948,20 @@
6260
6948
  let current;
6261
6949
  let if_block = (
6262
6950
  /*item*/
6263
- ctx[38].type === ANSWER_MISSED && create_if_block6(ctx)
6951
+ ctx[38].type === ANSWER_MISSED && create_if_block7(ctx)
6264
6952
  );
6265
6953
  promptcategorisewordbutton = new PromptCategoriseWordButton_default({
6266
6954
  props: {
6267
6955
  otherClass: "mr-2 mb-2 last:mr-0 " + /*item*/
6268
6956
  (ctx[38].id === /*considerItemId*/
6269
- ctx[9] ? "!bg-violet-150" : "") + "\n " + (!/*showButton*/
6957
+ ctx[11] ? "!bg-violet-150" : "") + "\n " + (!/*showButton*/
6270
6958
  ctx[5] ? "hidden md:flex" : "") + "\n " + /*items*/
6271
- (ctx[17][
6959
+ (ctx[19][
6272
6960
  /*currentWordBinIndex*/
6273
- ctx[13]
6961
+ ctx[15]
6274
6962
  ]?.id !== /*item*/
6275
6963
  ctx[38].id && /*isContainerWordBin*/
6276
- ctx[20] ? "hidden md:flex" : ""),
6964
+ ctx[22] ? "hidden md:flex" : ""),
6277
6965
  word: (
6278
6966
  /*item*/
6279
6967
  ctx[38].text
@@ -6292,10 +6980,10 @@
6292
6980
  ),
6293
6981
  wordFocus: (
6294
6982
  /*currentTabContainer*/
6295
- ctx[15] === /*containerId*/
6983
+ ctx[17] === /*containerId*/
6296
6984
  ctx[3] && /*item*/
6297
6985
  ctx[38].id === /*items*/
6298
- ctx[17][0].id
6986
+ ctx[19][0].id
6299
6987
  ),
6300
6988
  disabledClick: (
6301
6989
  /*isFinished*/
@@ -6308,13 +6996,21 @@
6308
6996
  categoryData: (
6309
6997
  /*categoryData*/
6310
6998
  ctx[0]
6999
+ ),
7000
+ correctAnswerList: (
7001
+ /*correctAnswerList*/
7002
+ ctx[9]
7003
+ ),
7004
+ isPreviewModeInteractive: (
7005
+ /*isPreviewModeInteractive*/
7006
+ ctx[10]
6311
7007
  )
6312
7008
  }
6313
7009
  });
6314
7010
  promptcategorisewordbutton.$on(
6315
7011
  "updateCategorySettings",
6316
7012
  /*updateCategoryByButton*/
6317
- ctx[24]
7013
+ ctx[26]
6318
7014
  );
6319
7015
  return {
6320
7016
  key: key_1,
@@ -6344,7 +7040,7 @@
6344
7040
  if (if_block) {
6345
7041
  if_block.p(ctx, dirty);
6346
7042
  } else {
6347
- if_block = create_if_block6(ctx);
7043
+ if_block = create_if_block7(ctx);
6348
7044
  if_block.c();
6349
7045
  if_block.m(t2.parentNode, t2);
6350
7046
  }
@@ -6354,27 +7050,27 @@
6354
7050
  }
6355
7051
  const promptcategorisewordbutton_changes = {};
6356
7052
  if (dirty[0] & /*items, considerItemId, showButton, currentWordBinIndex*/
6357
- 139808)
7053
+ 559136)
6358
7054
  promptcategorisewordbutton_changes.otherClass = "mr-2 mb-2 last:mr-0 " + /*item*/
6359
7055
  (ctx[38].id === /*considerItemId*/
6360
- ctx[9] ? "!bg-violet-150" : "") + "\n " + (!/*showButton*/
7056
+ ctx[11] ? "!bg-violet-150" : "") + "\n " + (!/*showButton*/
6361
7057
  ctx[5] ? "hidden md:flex" : "") + "\n " + /*items*/
6362
- (ctx[17][
7058
+ (ctx[19][
6363
7059
  /*currentWordBinIndex*/
6364
- ctx[13]
7060
+ ctx[15]
6365
7061
  ]?.id !== /*item*/
6366
7062
  ctx[38].id && /*isContainerWordBin*/
6367
- ctx[20] ? "hidden md:flex" : "");
7063
+ ctx[22] ? "hidden md:flex" : "");
6368
7064
  if (dirty[0] & /*items*/
6369
- 131072)
7065
+ 524288)
6370
7066
  promptcategorisewordbutton_changes.word = /*item*/
6371
7067
  ctx[38].text;
6372
7068
  if (dirty[0] & /*items*/
6373
- 131072)
7069
+ 524288)
6374
7070
  promptcategorisewordbutton_changes.wordButtonId = /*item*/
6375
7071
  ctx[38].id;
6376
7072
  if (dirty[0] & /*items*/
6377
- 131072)
7073
+ 524288)
6378
7074
  promptcategorisewordbutton_changes.isClonedItem = /*item*/
6379
7075
  ctx[38].isClonedItem;
6380
7076
  if (dirty[0] & /*containerId*/
@@ -6382,24 +7078,32 @@
6382
7078
  promptcategorisewordbutton_changes.containerId = /*containerId*/
6383
7079
  ctx[3];
6384
7080
  if (dirty[0] & /*currentTabContainer, containerId, items*/
6385
- 163848)
7081
+ 655368)
6386
7082
  promptcategorisewordbutton_changes.wordFocus = /*currentTabContainer*/
6387
- ctx[15] === /*containerId*/
7083
+ ctx[17] === /*containerId*/
6388
7084
  ctx[3] && /*item*/
6389
7085
  ctx[38].id === /*items*/
6390
- ctx[17][0].id;
7086
+ ctx[19][0].id;
6391
7087
  if (dirty[0] & /*isFinished*/
6392
7088
  256)
6393
7089
  promptcategorisewordbutton_changes.disabledClick = /*isFinished*/
6394
7090
  ctx[8];
6395
7091
  if (dirty[0] & /*items*/
6396
- 131072)
7092
+ 524288)
6397
7093
  promptcategorisewordbutton_changes.resultType = /*item*/
6398
7094
  ctx[38].type;
6399
7095
  if (dirty[0] & /*categoryData*/
6400
7096
  1)
6401
7097
  promptcategorisewordbutton_changes.categoryData = /*categoryData*/
6402
7098
  ctx[0];
7099
+ if (dirty[0] & /*correctAnswerList*/
7100
+ 512)
7101
+ promptcategorisewordbutton_changes.correctAnswerList = /*correctAnswerList*/
7102
+ ctx[9];
7103
+ if (dirty[0] & /*isPreviewModeInteractive*/
7104
+ 1024)
7105
+ promptcategorisewordbutton_changes.isPreviewModeInteractive = /*isPreviewModeInteractive*/
7106
+ ctx[10];
6403
7107
  promptcategorisewordbutton.$set(promptcategorisewordbutton_changes);
6404
7108
  },
6405
7109
  i(local) {
@@ -6423,7 +7127,7 @@
6423
7127
  }
6424
7128
  };
6425
7129
  }
6426
- function create_fragment10(ctx) {
7130
+ function create_fragment11(ctx) {
6427
7131
  let t0;
6428
7132
  let t1;
6429
7133
  let section;
@@ -6437,19 +7141,19 @@
6437
7141
  let dispose;
6438
7142
  let if_block0 = (
6439
7143
  /*dragDisabled*/
6440
- ctx[11] && /*sourceSelectedContainerId*/
6441
- ctx[12] !== /*containerId*/
7144
+ ctx[13] && /*sourceSelectedContainerId*/
7145
+ ctx[14] !== /*containerId*/
6442
7146
  ctx[3] && !/*isFinished*/
6443
- ctx[8] && create_if_block_24(ctx)
7147
+ ctx[8] && create_if_block_26(ctx)
6444
7148
  );
6445
7149
  let if_block1 = (
6446
7150
  /*totalRemainingWordBinItem*/
6447
- ctx[14] <= 0 && /*isContainerWordBin*/
6448
- ctx[20] && create_if_block_16(ctx)
7151
+ ctx[16] <= 0 && /*isContainerWordBin*/
7152
+ ctx[22] && create_if_block_17(ctx)
6449
7153
  );
6450
7154
  let each_value = ensure_array_like(Object.values(
6451
7155
  /*items*/
6452
- ctx[17]
7156
+ ctx[19]
6453
7157
  ));
6454
7158
  const get_key = (ctx2) => (
6455
7159
  /*item*/
@@ -6479,7 +7183,7 @@
6479
7183
  section,
6480
7184
  "aria-hidden",
6481
7185
  /*isItemsAriaHidden*/
6482
- ctx[18]
7186
+ ctx[20]
6483
7187
  );
6484
7188
  attr(section, "aria-dropeffect", "move");
6485
7189
  attr(
@@ -6489,7 +7193,7 @@
6489
7193
  ctx[3]
6490
7194
  );
6491
7195
  attr(section, "style", section_style_value = !/*isContainerWordBin*/
6492
- ctx[20] ? `padding-top: ${/*paddingTop*/
7196
+ ctx[22] ? `padding-top: ${/*paddingTop*/
6493
7197
  ctx[6]}px;` : "");
6494
7198
  },
6495
7199
  m(target, anchor) {
@@ -6511,7 +7215,7 @@
6511
7215
  action_destroyer(dndzone_action = dndzone$2.call(null, section, {
6512
7216
  items: (
6513
7217
  /*items*/
6514
- ctx[17]
7218
+ ctx[19]
6515
7219
  ),
6516
7220
  flipDurationMs: (
6517
7221
  /*flipDurationMs*/
@@ -6523,20 +7227,20 @@
6523
7227
  ),
6524
7228
  dropTargetClasses: (
6525
7229
  /*dropTargetClasses*/
6526
- ctx[19]
7230
+ ctx[21]
6527
7231
  ),
6528
7232
  morphDisabled: true,
6529
7233
  dragDisabled: (
6530
7234
  /*dragDisabled*/
6531
- ctx[11]
7235
+ ctx[13]
6532
7236
  ),
6533
7237
  autoAriaDisabled: true,
6534
7238
  zoneItemTabIndex: (
6535
7239
  /*currentTabContainer*/
6536
- ctx[15] !== /*containerId*/
7240
+ ctx[17] !== /*containerId*/
6537
7241
  ctx[3] || /*selectedItemId*/
6538
- ctx[10] || /*isModalOpen*/
6539
- ctx[16] ? -1 : 0
7242
+ ctx[12] || /*isModalOpen*/
7243
+ ctx[18] ? -1 : 0
6540
7244
  ),
6541
7245
  zoneTabIndex: -1
6542
7246
  })),
@@ -6544,13 +7248,13 @@
6544
7248
  section,
6545
7249
  "consider",
6546
7250
  /*handleDndConsider*/
6547
- ctx[21]
7251
+ ctx[23]
6548
7252
  ),
6549
7253
  listen(
6550
7254
  section,
6551
7255
  "finalize",
6552
7256
  /*handleDndFinalize*/
6553
- ctx[22]
7257
+ ctx[24]
6554
7258
  )
6555
7259
  ];
6556
7260
  mounted = true;
@@ -6559,15 +7263,15 @@
6559
7263
  p(ctx2, dirty) {
6560
7264
  if (
6561
7265
  /*dragDisabled*/
6562
- ctx2[11] && /*sourceSelectedContainerId*/
6563
- ctx2[12] !== /*containerId*/
7266
+ ctx2[13] && /*sourceSelectedContainerId*/
7267
+ ctx2[14] !== /*containerId*/
6564
7268
  ctx2[3] && !/*isFinished*/
6565
7269
  ctx2[8]
6566
7270
  ) {
6567
7271
  if (if_block0) {
6568
7272
  if_block0.p(ctx2, dirty);
6569
7273
  } else {
6570
- if_block0 = create_if_block_24(ctx2);
7274
+ if_block0 = create_if_block_26(ctx2);
6571
7275
  if_block0.c();
6572
7276
  if_block0.m(t0.parentNode, t0);
6573
7277
  }
@@ -6577,13 +7281,13 @@
6577
7281
  }
6578
7282
  if (
6579
7283
  /*totalRemainingWordBinItem*/
6580
- ctx2[14] <= 0 && /*isContainerWordBin*/
6581
- ctx2[20]
7284
+ ctx2[16] <= 0 && /*isContainerWordBin*/
7285
+ ctx2[22]
6582
7286
  ) {
6583
7287
  if (if_block1) {
6584
7288
  if_block1.p(ctx2, dirty);
6585
7289
  } else {
6586
- if_block1 = create_if_block_16(ctx2);
7290
+ if_block1 = create_if_block_17(ctx2);
6587
7291
  if_block1.c();
6588
7292
  if_block1.m(t1.parentNode, t1);
6589
7293
  }
@@ -6591,11 +7295,11 @@
6591
7295
  if_block1.d(1);
6592
7296
  if_block1 = null;
6593
7297
  }
6594
- if (dirty[0] & /*items, considerItemId, showButton, currentWordBinIndex, isContainerWordBin, containerId, currentTabContainer, isFinished, categoryData, updateCategoryByButton*/
6595
- 17998633) {
7298
+ if (dirty[0] & /*items, considerItemId, showButton, currentWordBinIndex, isContainerWordBin, containerId, currentTabContainer, isFinished, categoryData, correctAnswerList, isPreviewModeInteractive, updateCategoryByButton*/
7299
+ 71995177) {
6596
7300
  each_value = ensure_array_like(Object.values(
6597
7301
  /*items*/
6598
- ctx2[17]
7302
+ ctx2[19]
6599
7303
  ));
6600
7304
  group_outros();
6601
7305
  each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx2, each_value, each_1_lookup, section, outro_and_destroy_block, create_each_block2, null, get_each_context2);
@@ -6607,12 +7311,12 @@
6607
7311
  attr(section, "class", section_class_value);
6608
7312
  }
6609
7313
  if (!current || dirty[0] & /*isItemsAriaHidden*/
6610
- 262144) {
7314
+ 1048576) {
6611
7315
  attr(
6612
7316
  section,
6613
7317
  "aria-hidden",
6614
7318
  /*isItemsAriaHidden*/
6615
- ctx2[18]
7319
+ ctx2[20]
6616
7320
  );
6617
7321
  }
6618
7322
  if (!current || dirty[0] & /*containerId*/
@@ -6626,16 +7330,16 @@
6626
7330
  }
6627
7331
  if (!current || dirty[0] & /*paddingTop*/
6628
7332
  64 && section_style_value !== (section_style_value = !/*isContainerWordBin*/
6629
- ctx2[20] ? `padding-top: ${/*paddingTop*/
7333
+ ctx2[22] ? `padding-top: ${/*paddingTop*/
6630
7334
  ctx2[6]}px;` : "")) {
6631
7335
  attr(section, "style", section_style_value);
6632
7336
  }
6633
7337
  if (dndzone_action && is_function(dndzone_action.update) && dirty[0] & /*items, flipDurationMs, type, dragDisabled, currentTabContainer, containerId, selectedItemId, isModalOpen*/
6634
- 232476)
7338
+ 929820)
6635
7339
  dndzone_action.update.call(null, {
6636
7340
  items: (
6637
7341
  /*items*/
6638
- ctx2[17]
7342
+ ctx2[19]
6639
7343
  ),
6640
7344
  flipDurationMs: (
6641
7345
  /*flipDurationMs*/
@@ -6647,20 +7351,20 @@
6647
7351
  ),
6648
7352
  dropTargetClasses: (
6649
7353
  /*dropTargetClasses*/
6650
- ctx2[19]
7354
+ ctx2[21]
6651
7355
  ),
6652
7356
  morphDisabled: true,
6653
7357
  dragDisabled: (
6654
7358
  /*dragDisabled*/
6655
- ctx2[11]
7359
+ ctx2[13]
6656
7360
  ),
6657
7361
  autoAriaDisabled: true,
6658
7362
  zoneItemTabIndex: (
6659
7363
  /*currentTabContainer*/
6660
- ctx2[15] !== /*containerId*/
7364
+ ctx2[17] !== /*containerId*/
6661
7365
  ctx2[3] || /*selectedItemId*/
6662
- ctx2[10] || /*isModalOpen*/
6663
- ctx2[16] ? -1 : 0
7366
+ ctx2[12] || /*isModalOpen*/
7367
+ ctx2[18] ? -1 : 0
6664
7368
  ),
6665
7369
  zoneTabIndex: -1
6666
7370
  });
@@ -6697,7 +7401,7 @@
6697
7401
  }
6698
7402
  };
6699
7403
  }
6700
- function instance6($$self, $$props, $$invalidate) {
7404
+ function instance7($$self, $$props, $$invalidate) {
6701
7405
  let { containerClass = "" } = $$props;
6702
7406
  let { flipDurationMs = 5 } = $$props;
6703
7407
  let { containerId = "" } = $$props;
@@ -6743,7 +7447,7 @@
6743
7447
  const { sourceContainerId, sourceCloneContainerId } = categoryData;
6744
7448
  if (trigger === TRIGGERS.DRAG_STARTED) {
6745
7449
  const { items: cateoryItems } = detail;
6746
- $$invalidate(17, items = cateoryItems);
7450
+ $$invalidate(19, items = cateoryItems);
6747
7451
  const orginalId = items.filter((item) => item[SHADOW_ITEM_MARKER_PROPERTY_NAME]);
6748
7452
  const originalItemIndex = items.findIndex((item) => item.id === orginalId[0].id);
6749
7453
  items.splice(originalItemIndex, 1, {
@@ -6769,7 +7473,7 @@
6769
7473
  const handleDndFinalize = (e2) => {
6770
7474
  const { items: categoryItems, info } = e2.detail;
6771
7475
  const { trigger, id } = info;
6772
- $$invalidate(17, items = categoryItems.filter((item) => !item.isClonedItem));
7476
+ $$invalidate(19, items = categoryItems.filter((item) => !item.isClonedItem));
6773
7477
  if (trigger === TRIGGERS.DROPPED_INTO_ZONE) {
6774
7478
  const { currentTarget } = e2;
6775
7479
  addAnswerItemStore(id, currentTarget.id);
@@ -6937,9 +7641,9 @@
6937
7641
  if ("isFinished" in $$props2)
6938
7642
  $$invalidate(8, isFinished = $$props2.isFinished);
6939
7643
  if ("correctAnswerList" in $$props2)
6940
- $$invalidate(25, correctAnswerList = $$props2.correctAnswerList);
7644
+ $$invalidate(9, correctAnswerList = $$props2.correctAnswerList);
6941
7645
  if ("isPreviewModeInteractive" in $$props2)
6942
- $$invalidate(26, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
7646
+ $$invalidate(10, isPreviewModeInteractive = $$props2.isPreviewModeInteractive);
6943
7647
  if ("categoryData" in $$props2)
6944
7648
  $$invalidate(0, categoryData = $$props2.categoryData);
6945
7649
  if ("modalData" in $$props2)
@@ -6951,28 +7655,28 @@
6951
7655
  $:
6952
7656
  if (modalData) {
6953
7657
  const { isModalOpen: storeIsModalOpen } = modalData;
6954
- $$invalidate(16, isModalOpen = storeIsModalOpen);
7658
+ $$invalidate(18, isModalOpen = storeIsModalOpen);
6955
7659
  }
6956
7660
  }
6957
7661
  if ($$self.$$.dirty[0] & /*categoryData, isFinished, currentAnswer, containerId, considerItemId, isPreviewModeInteractive*/
6958
- 335545097) {
7662
+ 268438793) {
6959
7663
  $:
6960
7664
  if (categoryData) {
6961
7665
  const { considerItemId: storeconsiderItemId, selectedItemId: storeSelectedItemId, currentAnswer: storeCurrentAnswer, sourceSelectedContainerId: storeSourceSelectedContainerId, currentWordBinIndex: storeCurrentWordBinIndex, currentTabContainer: storeCurrentTabContainer, isItemsAriaHidden: storeisItemsAriaHidden } = categoryData;
6962
- $$invalidate(9, considerItemId = storeconsiderItemId);
6963
- $$invalidate(11, dragDisabled = isFinished || !!storeSelectedItemId);
7666
+ $$invalidate(11, considerItemId = storeconsiderItemId);
7667
+ $$invalidate(13, dragDisabled = isFinished || !!storeSelectedItemId);
6964
7668
  $$invalidate(28, currentAnswer = storeCurrentAnswer);
6965
- $$invalidate(10, selectedItemId = storeSelectedItemId);
6966
- $$invalidate(12, sourceSelectedContainerId = storeSourceSelectedContainerId);
6967
- $$invalidate(13, currentWordBinIndex = storeCurrentWordBinIndex);
6968
- $$invalidate(15, currentTabContainer = storeCurrentTabContainer);
6969
- $$invalidate(18, isItemsAriaHidden = storeisItemsAriaHidden);
7669
+ $$invalidate(12, selectedItemId = storeSelectedItemId);
7670
+ $$invalidate(14, sourceSelectedContainerId = storeSourceSelectedContainerId);
7671
+ $$invalidate(15, currentWordBinIndex = storeCurrentWordBinIndex);
7672
+ $$invalidate(17, currentTabContainer = storeCurrentTabContainer);
7673
+ $$invalidate(20, isItemsAriaHidden = storeisItemsAriaHidden);
6970
7674
  const storeWordBinItem = currentAnswer.filter((answer) => answer.categoryId === CONTAINER_WORD_BIN_ID);
6971
- $$invalidate(14, totalRemainingWordBinItem = storeWordBinItem[0].itemId.length);
7675
+ $$invalidate(16, totalRemainingWordBinItem = storeWordBinItem[0].itemId.length);
6972
7676
  if (storeCurrentAnswer) {
6973
7677
  const currentAnswerList = currentAnswer.filter((answer) => answer.categoryId === containerId);
6974
7678
  if (currentAnswerList.length) {
6975
- $$invalidate(17, items = currentAnswerList[0].itemId.map((rawAnswerId) => {
7679
+ $$invalidate(19, items = currentAnswerList[0].itemId.map((rawAnswerId) => {
6976
7680
  const splitId = rawAnswerId.split(EAT_DASH);
6977
7681
  const answerId = splitId[0];
6978
7682
  const answerIndex = rawCategoryItems.findIndex((answer) => answer.id === answerId);
@@ -7004,6 +7708,8 @@
7004
7708
  paddingTop,
7005
7709
  ariaLabel,
7006
7710
  isFinished,
7711
+ correctAnswerList,
7712
+ isPreviewModeInteractive,
7007
7713
  considerItemId,
7008
7714
  selectedItemId,
7009
7715
  dragDisabled,
@@ -7020,8 +7726,6 @@
7020
7726
  handleDndFinalize,
7021
7727
  addAnswerItem,
7022
7728
  updateCategoryByButton,
7023
- correctAnswerList,
7024
- isPreviewModeInteractive,
7025
7729
  modalData,
7026
7730
  currentAnswer
7027
7731
  ];
@@ -7032,8 +7736,8 @@
7032
7736
  init(
7033
7737
  this,
7034
7738
  options,
7035
- instance6,
7036
- create_fragment10,
7739
+ instance7,
7740
+ create_fragment11,
7037
7741
  safe_not_equal,
7038
7742
  {
7039
7743
  containerClass: 1,
@@ -7044,8 +7748,8 @@
7044
7748
  paddingTop: 6,
7045
7749
  ariaLabel: 7,
7046
7750
  isFinished: 8,
7047
- correctAnswerList: 25,
7048
- isPreviewModeInteractive: 26,
7751
+ correctAnswerList: 9,
7752
+ isPreviewModeInteractive: 10,
7049
7753
  categoryData: 0,
7050
7754
  modalData: 27
7051
7755
  },
@@ -7110,14 +7814,14 @@
7110
7814
  flush();
7111
7815
  }
7112
7816
  get correctAnswerList() {
7113
- return this.$$.ctx[25];
7817
+ return this.$$.ctx[9];
7114
7818
  }
7115
7819
  set correctAnswerList(correctAnswerList) {
7116
7820
  this.$$set({ correctAnswerList });
7117
7821
  flush();
7118
7822
  }
7119
7823
  get isPreviewModeInteractive() {
7120
- return this.$$.ctx[26];
7824
+ return this.$$.ctx[10];
7121
7825
  }
7122
7826
  set isPreviewModeInteractive(isPreviewModeInteractive) {
7123
7827
  this.$$set({ isPreviewModeInteractive });
@@ -7142,7 +7846,7 @@
7142
7846
  var PromptCategoriseDndContainer_default = PromptCategoriseDndContainer;
7143
7847
 
7144
7848
  // src/lib/components/common/CommonModal.svelte
7145
- function create_fragment11(ctx) {
7849
+ function create_fragment12(ctx) {
7146
7850
  let div2;
7147
7851
  let div0;
7148
7852
  let t2;
@@ -7274,7 +7978,7 @@
7274
7978
  var keypress_handler = () => {
7275
7979
  return false;
7276
7980
  };
7277
- function instance7($$self, $$props, $$invalidate) {
7981
+ function instance8($$self, $$props, $$invalidate) {
7278
7982
  let { $$slots: slots = {}, $$scope } = $$props;
7279
7983
  let { modalData = [] } = $$props;
7280
7984
  const dispatch = createEventDispatcher();
@@ -7306,7 +8010,7 @@
7306
8010
  var CommonModal = class extends SvelteComponent {
7307
8011
  constructor(options) {
7308
8012
  super();
7309
- init(this, options, instance7, create_fragment11, safe_not_equal, { modalData: 3 });
8013
+ init(this, options, instance8, create_fragment12, safe_not_equal, { modalData: 3 });
7310
8014
  }
7311
8015
  get modalData() {
7312
8016
  return this.$$.ctx[3];
@@ -7320,7 +8024,7 @@
7320
8024
  var CommonModal_default = CommonModal;
7321
8025
 
7322
8026
  // src/lib/assets/img/messaging/AlertIcon.svelte
7323
- function create_fragment12(ctx) {
8027
+ function create_fragment13(ctx) {
7324
8028
  let svg;
7325
8029
  let path;
7326
8030
  return {
@@ -7354,14 +8058,14 @@
7354
8058
  var AlertIcon = class extends SvelteComponent {
7355
8059
  constructor(options) {
7356
8060
  super();
7357
- init(this, options, null, create_fragment12, safe_not_equal, {});
8061
+ init(this, options, null, create_fragment13, safe_not_equal, {});
7358
8062
  }
7359
8063
  };
7360
8064
  create_custom_element(AlertIcon, {}, [], [], true);
7361
8065
  var AlertIcon_default = AlertIcon;
7362
8066
 
7363
8067
  // src/lib/assets/img/messaging/CrossIcon.svelte
7364
- function create_fragment13(ctx) {
8068
+ function create_fragment14(ctx) {
7365
8069
  let svg;
7366
8070
  let path;
7367
8071
  return {
@@ -7395,7 +8099,7 @@
7395
8099
  var CrossIcon = class extends SvelteComponent {
7396
8100
  constructor(options) {
7397
8101
  super();
7398
- init(this, options, null, create_fragment13, safe_not_equal, {});
8102
+ init(this, options, null, create_fragment14, safe_not_equal, {});
7399
8103
  }
7400
8104
  };
7401
8105
  create_custom_element(CrossIcon, {}, [], [], true);
@@ -7555,7 +8259,7 @@
7555
8259
  }
7556
8260
  };
7557
8261
  }
7558
- function create_fragment14(ctx) {
8262
+ function create_fragment15(ctx) {
7559
8263
  let commonmodal;
7560
8264
  let current;
7561
8265
  commonmodal = new CommonModal_default({
@@ -7608,7 +8312,7 @@
7608
8312
  }
7609
8313
  };
7610
8314
  }
7611
- function instance8($$self, $$props, $$invalidate) {
8315
+ function instance9($$self, $$props, $$invalidate) {
7612
8316
  let { categoryData = [] } = $$props;
7613
8317
  let { modalData = [] } = $$props;
7614
8318
  let categoryModal;
@@ -7691,7 +8395,7 @@
7691
8395
  var PromptCategoriseModal = class extends SvelteComponent {
7692
8396
  constructor(options) {
7693
8397
  super();
7694
- 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 });
7695
8399
  }
7696
8400
  get categoryData() {
7697
8401
  return this.$$.ctx[6];
@@ -7712,7 +8416,7 @@
7712
8416
  var PromptCategoriseModal_default = PromptCategoriseModal;
7713
8417
 
7714
8418
  // src/lib/assets/img/action/Switch.svelte
7715
- function create_fragment15(ctx) {
8419
+ function create_fragment16(ctx) {
7716
8420
  let svg;
7717
8421
  let path;
7718
8422
  return {
@@ -7744,14 +8448,14 @@
7744
8448
  var Switch = class extends SvelteComponent {
7745
8449
  constructor(options) {
7746
8450
  super();
7747
- init(this, options, null, create_fragment15, safe_not_equal, {});
8451
+ init(this, options, null, create_fragment16, safe_not_equal, {});
7748
8452
  }
7749
8453
  };
7750
8454
  create_custom_element(Switch, {}, [], [], true);
7751
8455
  var Switch_default = Switch;
7752
8456
 
7753
8457
  // src/lib/assets/img/messaging/SmallChevronUp.svelte
7754
- function create_fragment16(ctx) {
8458
+ function create_fragment17(ctx) {
7755
8459
  let svg;
7756
8460
  let path;
7757
8461
  return {
@@ -7785,14 +8489,14 @@
7785
8489
  var SmallChevronUp = class extends SvelteComponent {
7786
8490
  constructor(options) {
7787
8491
  super();
7788
- init(this, options, null, create_fragment16, safe_not_equal, {});
8492
+ init(this, options, null, create_fragment17, safe_not_equal, {});
7789
8493
  }
7790
8494
  };
7791
8495
  create_custom_element(SmallChevronUp, {}, [], [], true);
7792
8496
  var SmallChevronUp_default = SmallChevronUp;
7793
8497
 
7794
8498
  // src/lib/assets/img/messaging/SmallChevronDown.svelte
7795
- function create_fragment17(ctx) {
8499
+ function create_fragment18(ctx) {
7796
8500
  let svg;
7797
8501
  let path;
7798
8502
  return {
@@ -7826,14 +8530,14 @@
7826
8530
  var SmallChevronDown = class extends SvelteComponent {
7827
8531
  constructor(options) {
7828
8532
  super();
7829
- init(this, options, null, create_fragment17, safe_not_equal, {});
8533
+ init(this, options, null, create_fragment18, safe_not_equal, {});
7830
8534
  }
7831
8535
  };
7832
8536
  create_custom_element(SmallChevronDown, {}, [], [], true);
7833
8537
  var SmallChevronDown_default = SmallChevronDown;
7834
8538
 
7835
8539
  // src/lib/assets/img/messaging/SmallChevronLeft.svelte
7836
- function create_fragment18(ctx) {
8540
+ function create_fragment19(ctx) {
7837
8541
  let svg;
7838
8542
  let path;
7839
8543
  return {
@@ -7867,14 +8571,14 @@
7867
8571
  var SmallChevronLeft = class extends SvelteComponent {
7868
8572
  constructor(options) {
7869
8573
  super();
7870
- init(this, options, null, create_fragment18, safe_not_equal, {});
8574
+ init(this, options, null, create_fragment19, safe_not_equal, {});
7871
8575
  }
7872
8576
  };
7873
8577
  create_custom_element(SmallChevronLeft, {}, [], [], true);
7874
8578
  var SmallChevronLeft_default = SmallChevronLeft;
7875
8579
 
7876
8580
  // src/lib/assets/img/messaging/SmallChevronRight.svelte
7877
- function create_fragment19(ctx) {
8581
+ function create_fragment20(ctx) {
7878
8582
  let svg;
7879
8583
  let path;
7880
8584
  return {
@@ -7908,14 +8612,14 @@
7908
8612
  var SmallChevronRight = class extends SvelteComponent {
7909
8613
  constructor(options) {
7910
8614
  super();
7911
- init(this, options, null, create_fragment19, safe_not_equal, {});
8615
+ init(this, options, null, create_fragment20, safe_not_equal, {});
7912
8616
  }
7913
8617
  };
7914
8618
  create_custom_element(SmallChevronRight, {}, [], [], true);
7915
8619
  var SmallChevronRight_default = SmallChevronRight;
7916
8620
 
7917
8621
  // src/lib/assets/img/messaging/ArrowDownCircle.svelte
7918
- function create_fragment20(ctx) {
8622
+ function create_fragment21(ctx) {
7919
8623
  let svg;
7920
8624
  let path;
7921
8625
  return {
@@ -7949,7 +8653,7 @@
7949
8653
  var ArrowDownCircle = class extends SvelteComponent {
7950
8654
  constructor(options) {
7951
8655
  super();
7952
- init(this, options, null, create_fragment20, safe_not_equal, {});
8656
+ init(this, options, null, create_fragment21, safe_not_equal, {});
7953
8657
  }
7954
8658
  };
7955
8659
  create_custom_element(ArrowDownCircle, {}, [], [], true);
@@ -8267,7 +8971,7 @@
8267
8971
  }
8268
8972
  };
8269
8973
  }
8270
- function create_if_block_42(ctx) {
8974
+ function create_if_block_43(ctx) {
8271
8975
  let span;
8272
8976
  let t0;
8273
8977
  let t1;
@@ -8305,7 +9009,7 @@
8305
9009
  }
8306
9010
  };
8307
9011
  }
8308
- function create_if_block_33(ctx) {
9012
+ function create_if_block_34(ctx) {
8309
9013
  let span;
8310
9014
  let t0;
8311
9015
  let t1_value = (
@@ -8353,7 +9057,7 @@
8353
9057
  }
8354
9058
  };
8355
9059
  }
8356
- function create_if_block_25(ctx) {
9060
+ function create_if_block_27(ctx) {
8357
9061
  let span;
8358
9062
  let t0;
8359
9063
  let t1;
@@ -8434,7 +9138,7 @@
8434
9138
  }
8435
9139
  };
8436
9140
  }
8437
- function create_if_block_17(ctx) {
9141
+ function create_if_block_18(ctx) {
8438
9142
  let smallchevronup;
8439
9143
  let current;
8440
9144
  smallchevronup = new SmallChevronUp_default({});
@@ -8513,14 +9217,14 @@
8513
9217
  let current;
8514
9218
  let mounted;
8515
9219
  let dispose;
8516
- let if_block0 = show_if_1 && create_if_block_42(ctx);
9220
+ let if_block0 = show_if_1 && create_if_block_43(ctx);
8517
9221
  let if_block1 = !/*previewResultSr*/
8518
- ctx[4] && create_if_block_33(ctx);
9222
+ ctx[4] && create_if_block_34(ctx);
8519
9223
  let if_block2 = (
8520
9224
  /*previewResultSr*/
8521
- ctx[4] && create_if_block_25(ctx)
9225
+ ctx[4] && create_if_block_27(ctx)
8522
9226
  );
8523
- const if_block_creators = [create_if_block_17, create_else_block4];
9227
+ const if_block_creators = [create_if_block_18, create_else_block4];
8524
9228
  const if_blocks = [];
8525
9229
  function select_block_type(ctx2, dirty) {
8526
9230
  if (dirty[0] & /*openCategoryContainer*/
@@ -8874,7 +9578,7 @@
8874
9578
  if (if_block0) {
8875
9579
  if_block0.p(ctx, dirty);
8876
9580
  } else {
8877
- if_block0 = create_if_block_42(ctx);
9581
+ if_block0 = create_if_block_43(ctx);
8878
9582
  if_block0.c();
8879
9583
  if_block0.m(div0, t0);
8880
9584
  }
@@ -8887,7 +9591,7 @@
8887
9591
  if (if_block1) {
8888
9592
  if_block1.p(ctx, dirty);
8889
9593
  } else {
8890
- if_block1 = create_if_block_33(ctx);
9594
+ if_block1 = create_if_block_34(ctx);
8891
9595
  if_block1.c();
8892
9596
  if_block1.m(div0, t7);
8893
9597
  }
@@ -8902,7 +9606,7 @@
8902
9606
  if (if_block2) {
8903
9607
  if_block2.p(ctx, dirty);
8904
9608
  } else {
8905
- if_block2 = create_if_block_25(ctx);
9609
+ if_block2 = create_if_block_27(ctx);
8906
9610
  if_block2.c();
8907
9611
  if_block2.m(div0, t8);
8908
9612
  }
@@ -9158,7 +9862,7 @@
9158
9862
  }
9159
9863
  };
9160
9864
  }
9161
- function create_if_block7(ctx) {
9865
+ function create_if_block8(ctx) {
9162
9866
  let span;
9163
9867
  let t0;
9164
9868
  let t1;
@@ -9270,7 +9974,7 @@
9270
9974
  const out = (i) => transition_out(each_blocks[i], 1, 1, () => {
9271
9975
  each_blocks[i] = null;
9272
9976
  });
9273
- let if_block2 = show_if && create_if_block7(ctx);
9977
+ let if_block2 = show_if && create_if_block8(ctx);
9274
9978
  smallchevronleft = new SmallChevronLeft_default({});
9275
9979
  promptcategorisedndcontainer = new PromptCategoriseDndContainer_default({
9276
9980
  props: {
@@ -9683,7 +10387,7 @@
9683
10387
  if (if_block2) {
9684
10388
  if_block2.p(ctx, dirty);
9685
10389
  } else {
9686
- if_block2 = create_if_block7(ctx);
10390
+ if_block2 = create_if_block8(ctx);
9687
10391
  if_block2.c();
9688
10392
  if_block2.m(div2, t8);
9689
10393
  }
@@ -9866,7 +10570,7 @@
9866
10570
  }
9867
10571
  };
9868
10572
  }
9869
- function create_fragment21(ctx) {
10573
+ function create_fragment22(ctx) {
9870
10574
  let div;
9871
10575
  let promptbody;
9872
10576
  let current;
@@ -9924,7 +10628,7 @@
9924
10628
  }
9925
10629
  };
9926
10630
  }
9927
- function instance9($$self, $$props, $$invalidate) {
10631
+ function instance10($$self, $$props, $$invalidate) {
9928
10632
  let { sessionData } = $$props;
9929
10633
  let { isFinished = false } = $$props;
9930
10634
  let { isPreviewMode = false } = $$props;
@@ -10349,8 +11053,8 @@
10349
11053
  init(
10350
11054
  this,
10351
11055
  options,
10352
- instance9,
10353
- create_fragment21,
11056
+ instance10,
11057
+ create_fragment22,
10354
11058
  safe_not_equal,
10355
11059
  {
10356
11060
  sessionData: 47,
@@ -10395,7 +11099,7 @@
10395
11099
  var PromptCategorise_default = PromptCategorise;
10396
11100
 
10397
11101
  // src/lib/components/prompt/skeleton/PromptSkeleton.svelte
10398
- function create_fragment22(ctx) {
11102
+ function create_fragment23(ctx) {
10399
11103
  let div3;
10400
11104
  return {
10401
11105
  c() {
@@ -10418,14 +11122,14 @@
10418
11122
  var PromptSkeleton = class extends SvelteComponent {
10419
11123
  constructor(options) {
10420
11124
  super();
10421
- init(this, options, null, create_fragment22, safe_not_equal, {});
11125
+ init(this, options, null, create_fragment23, safe_not_equal, {});
10422
11126
  }
10423
11127
  };
10424
11128
  customElements.define("prompt-skeleton", create_custom_element(PromptSkeleton, {}, [], [], true));
10425
11129
  var PromptSkeleton_default = PromptSkeleton;
10426
11130
 
10427
11131
  // src/lib/components/common/InvalidBanner.svelte
10428
- function create_fragment23(ctx) {
11132
+ function create_fragment24(ctx) {
10429
11133
  let p;
10430
11134
  let t2;
10431
11135
  return {
@@ -10459,7 +11163,7 @@
10459
11163
  }
10460
11164
  };
10461
11165
  }
10462
- function instance10($$self, $$props, $$invalidate) {
11166
+ function instance11($$self, $$props, $$invalidate) {
10463
11167
  let { bannerLabel: bannerLabel2 = "Invalid." } = $$props;
10464
11168
  $$self.$$set = ($$props2) => {
10465
11169
  if ("bannerLabel" in $$props2)
@@ -10470,7 +11174,7 @@
10470
11174
  var InvalidBanner = class extends SvelteComponent {
10471
11175
  constructor(options) {
10472
11176
  super();
10473
- init(this, options, instance10, create_fragment23, safe_not_equal, { bannerLabel: 0 });
11177
+ init(this, options, instance11, create_fragment24, safe_not_equal, { bannerLabel: 0 });
10474
11178
  }
10475
11179
  get bannerLabel() {
10476
11180
  return this.$$.ctx[0];
@@ -10485,7 +11189,7 @@
10485
11189
 
10486
11190
  // src/lib/components/prompt/PromptBuilder.svelte
10487
11191
  function add_css(target) {
10488
- 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}}');
10489
11193
  }
10490
11194
  function create_else_block_12(ctx) {
10491
11195
  let invalidbanner;
@@ -10515,12 +11219,12 @@
10515
11219
  }
10516
11220
  };
10517
11221
  }
10518
- function create_if_block_18(ctx) {
11222
+ function create_if_block_19(ctx) {
10519
11223
  let current_block_type_index;
10520
11224
  let if_block;
10521
11225
  let if_block_anchor;
10522
11226
  let current;
10523
- 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];
10524
11228
  const if_blocks = [];
10525
11229
  function select_block_type_1(ctx2, dirty) {
10526
11230
  if (
@@ -10592,7 +11296,7 @@
10592
11296
  }
10593
11297
  };
10594
11298
  }
10595
- function create_if_block8(ctx) {
11299
+ function create_if_block9(ctx) {
10596
11300
  let promptskeleton;
10597
11301
  let current;
10598
11302
  promptskeleton = new PromptSkeleton_default({});
@@ -10648,7 +11352,7 @@
10648
11352
  }
10649
11353
  };
10650
11354
  }
10651
- function create_if_block_43(ctx) {
11355
+ function create_if_block_44(ctx) {
10652
11356
  let promptcategorise;
10653
11357
  let current;
10654
11358
  promptcategorise = new PromptCategorise_default({
@@ -10711,7 +11415,7 @@
10711
11415
  }
10712
11416
  };
10713
11417
  }
10714
- function create_if_block_34(ctx) {
11418
+ function create_if_block_35(ctx) {
10715
11419
  let prompttypein;
10716
11420
  let current;
10717
11421
  prompttypein = new PromptTypeIn_default({
@@ -10790,7 +11494,7 @@
10790
11494
  }
10791
11495
  };
10792
11496
  }
10793
- function create_if_block_26(ctx) {
11497
+ function create_if_block_28(ctx) {
10794
11498
  let promptmcq;
10795
11499
  let current;
10796
11500
  promptmcq = new PromptMCQ_default({
@@ -10865,12 +11569,12 @@
10865
11569
  }
10866
11570
  };
10867
11571
  }
10868
- function create_fragment24(ctx) {
11572
+ function create_fragment25(ctx) {
10869
11573
  let current_block_type_index;
10870
11574
  let if_block;
10871
11575
  let if_block_anchor;
10872
11576
  let current;
10873
- 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];
10874
11578
  const if_blocks = [];
10875
11579
  function select_block_type(ctx2, dirty) {
10876
11580
  if (
@@ -10938,7 +11642,7 @@
10938
11642
  };
10939
11643
  }
10940
11644
  var bannerLabel = "Invalid session id.";
10941
- function instance11($$self, $$props, $$invalidate) {
11645
+ function instance12($$self, $$props, $$invalidate) {
10942
11646
  const { "session-id": sessionId, "preview-mode": previewMode, "item-id": itemId, "preview-contentful": previewContentful } = $$props;
10943
11647
  const previewModeType = ["true", "interactive"];
10944
11648
  const isPreviewModeInteractive = Boolean(previewMode === "interactive" && itemId);
@@ -11150,7 +11854,7 @@
11150
11854
  var PromptBuilder = class extends SvelteComponent {
11151
11855
  constructor(options) {
11152
11856
  super();
11153
- init(this, options, instance11, create_fragment24, safe_not_equal, {}, add_css);
11857
+ init(this, options, instance12, create_fragment25, safe_not_equal, {}, add_css);
11154
11858
  }
11155
11859
  };
11156
11860
  customElements.define("prompt-builder", create_custom_element(PromptBuilder, {}, [], [], true));