synapse-react-client 3.3.4 → 3.3.6

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.
@@ -20,7 +20,7 @@ var __privateWrapper = (obj, member, setter, getter) => ({
20
20
  return __privateGet(obj, member, getter);
21
21
  }
22
22
  });
23
- /*! SRC v3.3.4 */
23
+ /*! SRC v3.3.6 */
24
24
 
25
25
  var _focused, _cleanup, _setup, _a2, _online, _cleanup2, _setup2, _b, _gcTimeout, _c, _initialState, _revertState, _cache, _promise, _retryer, _observers, _defaultOptions, _abortSignalConsumed, _Query_instances, setOptions_fn, dispatch_fn, _d, _queries, _e2, _observers2, _defaultOptions2, _mutationCache, _retryer2, _Mutation_instances, dispatch_fn2, _f, _mutations, _mutationId, _resuming, _g, _queryCache, _mutationCache2, _defaultOptions3, _queryDefaults, _mutationDefaults, _mountCount, _unsubscribeFocus, _unsubscribeOnline, _h, _client, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _i, _client2, _result, _queries2, _observers3, _options, _combinedResult, _QueriesObserver_instances, setResult_fn, combineResult_fn, findMatchingObservers_fn, onUpdate_fn, notify_fn2, _j, _client3, _currentResult2, _currentMutation, _mutateOptions, _MutationObserver_instances, updateResult_fn, notify_fn3, _k, _l;
26
26
  function _interopNamespaceDefault(e2) {
@@ -44041,7 +44041,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
44041
44041
  }
44042
44042
  function createAggregator(setter2, initializer) {
44043
44043
  return function(collection, iteratee) {
44044
- var func = isArray$l(collection) ? arrayAggregator : baseAggregator, accumulator = {};
44044
+ var func = isArray$l(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {};
44045
44045
  return func(collection, setter2, baseIteratee$3(iteratee), accumulator);
44046
44046
  };
44047
44047
  }
@@ -44459,6 +44459,11 @@ Please use another name.` : formatMuiErrorMessage$1(18));
44459
44459
  return compareMultiple$2(object2, other, orders);
44460
44460
  });
44461
44461
  }
44462
+ var partition$1 = createAggregator(function(result, value, key) {
44463
+ result[key ? 0 : 1].push(value);
44464
+ }, function() {
44465
+ return [[], []];
44466
+ });
44462
44467
  function basePick$2(object2, paths) {
44463
44468
  return basePickBy$2(object2, paths, function(value, path) {
44464
44469
  return hasIn$5(object2, path);
@@ -57683,7 +57688,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
57683
57688
  const Any = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
57684
57689
  const Cc = /[\0-\x1F\x7F-\x9F]/;
57685
57690
  const regex$2 = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/;
57686
- const P$2 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;
57691
+ const P$3 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/;
57687
57692
  const regex$1 = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/;
57688
57693
  const Z$2 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;
57689
57694
  const ucmicro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -57691,7 +57696,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
57691
57696
  Any,
57692
57697
  Cc,
57693
57698
  Cf: regex$2,
57694
- P: P$2,
57699
+ P: P$3,
57695
57700
  S: regex$1,
57696
57701
  Z: Z$2
57697
57702
  }, Symbol.toStringTag, { value: "Module" }));
@@ -58268,7 +58273,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
58268
58273
  return false;
58269
58274
  }
58270
58275
  function isPunctChar(ch) {
58271
- return P$2.test(ch) || regex$1.test(ch);
58276
+ return P$3.test(ch) || regex$1.test(ch);
58272
58277
  }
58273
58278
  function isMdAsciiPunct(ch) {
58274
58279
  switch (ch) {
@@ -60880,7 +60885,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60880
60885
  state.pos += scanned.length;
60881
60886
  return true;
60882
60887
  }
60883
- function postProcess$2(state, delimiters) {
60888
+ function postProcess$1(state, delimiters) {
60884
60889
  let token2;
60885
60890
  const loneMarkers = [];
60886
60891
  const max2 = delimiters.length;
@@ -60926,10 +60931,10 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60926
60931
  function strikethrough_postProcess(state) {
60927
60932
  const tokens_meta = state.tokens_meta;
60928
60933
  const max2 = state.tokens_meta.length;
60929
- postProcess$2(state, state.delimiters);
60934
+ postProcess$1(state, state.delimiters);
60930
60935
  for (let curr = 0; curr < max2; curr++) {
60931
60936
  if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
60932
- postProcess$2(state, tokens_meta[curr].delimiters);
60937
+ postProcess$1(state, tokens_meta[curr].delimiters);
60933
60938
  }
60934
60939
  }
60935
60940
  }
@@ -60974,7 +60979,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
60974
60979
  state.pos += scanned.length;
60975
60980
  return true;
60976
60981
  }
60977
- function postProcess$1(state, delimiters) {
60982
+ function postProcess(state, delimiters) {
60978
60983
  const max2 = delimiters.length;
60979
60984
  for (let i2 = max2 - 1; i2 >= 0; i2--) {
60980
60985
  const startDelim = delimiters[i2];
@@ -61011,10 +61016,10 @@ Please use another name.` : formatMuiErrorMessage$1(18));
61011
61016
  function emphasis_post_process(state) {
61012
61017
  const tokens_meta = state.tokens_meta;
61013
61018
  const max2 = state.tokens_meta.length;
61014
- postProcess$1(state, state.delimiters);
61019
+ postProcess(state, state.delimiters);
61015
61020
  for (let curr = 0; curr < max2; curr++) {
61016
61021
  if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
61017
- postProcess$1(state, tokens_meta[curr].delimiters);
61022
+ postProcess(state, tokens_meta[curr].delimiters);
61018
61023
  }
61019
61024
  }
61020
61025
  }
@@ -61564,7 +61569,7 @@ Please use another name.` : formatMuiErrorMessage$1(18));
61564
61569
  re2.src_Any = Any.source;
61565
61570
  re2.src_Cc = Cc.source;
61566
61571
  re2.src_Z = Z$2.source;
61567
- re2.src_P = P$2.source;
61572
+ re2.src_P = P$3.source;
61568
61573
  re2.src_ZPCc = [re2.src_Z, re2.src_P, re2.src_Cc].join("|");
61569
61574
  re2.src_ZCc = [re2.src_Z, re2.src_Cc].join("|");
61570
61575
  const text_separators = "[><|]";
@@ -70902,7 +70907,7 @@ ${e2.message}`);
70902
70907
  ArrowRight: { x: 1, y: 0 }
70903
70908
  };
70904
70909
  var wrapNode = (NodeComponent) => {
70905
- const NodeWrapper = ({ id: id2, type: type2, data, xPos, yPos, xPosOrigin, yPosOrigin, selected, onClick, onMouseEnter, onMouseMove, onMouseLeave, onContextMenu, onDoubleClick, style: style2, className, isDraggable, isSelectable, isConnectable, isFocusable: isFocusable2, selectNodesOnDrag, sourcePosition, targetPosition, hidden, resizeObserver, dragHandle, zIndex: zIndex2, isParent, noDragClassName, noPanClassName, initialized: initialized2, disableKeyboardA11y, ariaLabel, rfId, hasHandleBounds }) => {
70910
+ const NodeWrapper = ({ id: id2, type: type2, data, xPos, yPos, xPosOrigin, yPosOrigin, selected, onClick, onMouseEnter, onMouseMove, onMouseLeave, onContextMenu, onDoubleClick, style: style2, className, isDraggable, isSelectable, isConnectable, isFocusable: isFocusable2, selectNodesOnDrag, sourcePosition, targetPosition, hidden, resizeObserver, dragHandle, zIndex: zIndex2, isParent, noDragClassName, noPanClassName, initialized, disableKeyboardA11y, ariaLabel, rfId, hasHandleBounds }) => {
70906
70911
  const store = useStoreApi();
70907
70912
  const nodeRef = React$2.useRef(null);
70908
70913
  const prevNodeRef = React$2.useRef(null);
@@ -70969,7 +70974,7 @@ ${e2.message}`);
70969
70974
  React$2.useEffect(() => {
70970
70975
  if (nodeRef.current && !hidden) {
70971
70976
  const currNode = nodeRef.current;
70972
- if (!initialized2 || !hasHandleBounds || prevNodeRef.current !== currNode) {
70977
+ if (!initialized || !hasHandleBounds || prevNodeRef.current !== currNode) {
70973
70978
  if (prevNodeRef.current) {
70974
70979
  resizeObserver == null ? void 0 : resizeObserver.unobserve(prevNodeRef.current);
70975
70980
  }
@@ -70977,7 +70982,7 @@ ${e2.message}`);
70977
70982
  prevNodeRef.current = currNode;
70978
70983
  }
70979
70984
  }
70980
- }, [hidden, initialized2, hasHandleBounds]);
70985
+ }, [hidden, initialized, hasHandleBounds]);
70981
70986
  React$2.useEffect(() => {
70982
70987
  const typeChanged = prevType.current !== type2;
70983
70988
  const sourcePosChanged = prevSourcePosition.current !== sourcePosition;
@@ -71027,7 +71032,7 @@ ${e2.message}`);
71027
71032
  zIndex: zIndex2,
71028
71033
  transform: `translate(${xPosOrigin}px,${yPosOrigin}px)`,
71029
71034
  pointerEvents: hasPointerEvents ? "all" : "none",
71030
- visibility: initialized2 ? "visible" : "hidden",
71035
+ visibility: initialized ? "visible" : "hidden",
71031
71036
  ...style2
71032
71037
  }, "data-id": id2, "data-testid": `rf__node-${id2}`, onMouseEnter: onMouseEnterHandler, onMouseMove: onMouseMoveHandler, onMouseLeave: onMouseLeaveHandler, onContextMenu: onContextMenuHandler, onClick: onSelectNodeHandler, onDoubleClick: onDoubleClickHandler, onKeyDown: isFocusable2 ? onKeyDown : void 0, tabIndex: isFocusable2 ? 0 : void 0, role: isFocusable2 ? "button" : void 0, "aria-describedby": disableKeyboardA11y ? void 0 : `${ARIA_NODE_DESC_KEY}-${rfId}`, "aria-label": ariaLabel },
71033
71038
  React$2.createElement(
@@ -84489,26 +84494,26 @@ ${e2.message}`);
84489
84494
  }(r || (r = {})), function(e2) {
84490
84495
  e2[e2.MAX = 0] = "MAX", e2[e2.HIGH = 1] = "HIGH", e2[e2.MED = 2] = "MED", e2[e2.LOW = 3] = "LOW", e2[e2.MIN = 4] = "MIN";
84491
84496
  }(i$2 || (i$2 = {}));
84492
- const l$1 = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "className", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e2, n2) => (e2[n2.toLowerCase()] = n2, e2), { for: "htmlFor" }), o$1 = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, c$1 = ["style", "script"], a$1 = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, s$2 = /mailto:/i, d$1 = /\n{2,}$/, u$1 = /^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/, p$1 = /^ *> ?/gm, f$1 = /^ {2,}\n/, h$2 = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, m$1 = /^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/, g = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, y$1 = /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/, k = /^(?:\n *)*\n/, x = /\r\n?/g, v$3 = /^\[\^([^\]]+)](:.*)\n/, b$2 = /^\[\^([^\]]+)]/, $ = /\f/g, S$1 = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, w$2 = /^\s*?\[(x|\s)\]/, C = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, E$1 = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, A$1 = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, O$1 = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i, T = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, L = /^<!--[\s\S]*?(?:-->)/, z$1 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, M$1 = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, I = /^\{.*\}$/, R = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, U$1 = /^<([^ >]+@[^ >]+)>/, j$1 = /^<([^ >]+:\/[^ >]+)>/, B$1 = /-([a-z])?/gi, N$1 = /^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/, H = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, D$1 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, P$1 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, _ = /(\[|\])/g, F = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, W$1 = /\t/g, G$2 = /^ *\| */, Z$1 = /(^ *\||\| *$)/g, q = / *$/, V = /^ *:-+: *$/, X$2 = /^ *:-+ *$/, Q$2 = /^ *-+: *$/, J$2 = /^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/, K = /^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/, Y$1 = /^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/, ee$2 = /^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/, ne$1 = /^\\([^0-9A-Za-z\s])/, te$1 = /^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i, re = /^\n+/, ie = /^([ \t]*)/, le$1 = /\\([^\\])/g, oe$2 = / *\n+$/, ce$1 = /(?:^|\n)( *)$/, ae$1 = "(?:\\d+\\.)", se = "(?:[*+-])";
84493
- function de(e2) {
84494
- return "( *)(" + (1 === e2 ? ae$1 : se) + ") +";
84497
+ const l$1 = ["allowFullScreen", "allowTransparency", "autoComplete", "autoFocus", "autoPlay", "cellPadding", "cellSpacing", "charSet", "className", "classId", "colSpan", "contentEditable", "contextMenu", "crossOrigin", "encType", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "frameBorder", "hrefLang", "inputMode", "keyParams", "keyType", "marginHeight", "marginWidth", "maxLength", "mediaGroup", "minLength", "noValidate", "radioGroup", "readOnly", "rowSpan", "spellCheck", "srcDoc", "srcLang", "srcSet", "tabIndex", "useMap"].reduce((e2, n2) => (e2[n2.toLowerCase()] = n2, e2), { for: "htmlFor" }), o$1 = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: " ", quot: "“" }, c$1 = ["style", "script"], a$1 = /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi, s$2 = /mailto:/i, d$1 = /\n{2,}$/, u$1 = /^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/, p$1 = /^ *> ?/gm, f$1 = /^ {2,}\n/, h$2 = /^(?:( *[-*_])){3,} *(?:\n *)+\n/, m$1 = /^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/, g = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/, y$1 = /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/, k = /^(?:\n *)*\n/, x = /\r\n?/g, v$2 = /^\[\^([^\]]+)](:.*)\n/, b$2 = /^\[\^([^\]]+)]/, $ = /\f/g, S = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/, w$2 = /^\s*?\[(x|\s)\]/, C = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, E$1 = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/, A$1 = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/, O$1 = /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i, T = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi, L$1 = /^<!--[\s\S]*?(?:-->)/, z$1 = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/, M$1 = /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i, I = /^\{.*\}$/, R = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/, U$1 = /^<([^ >]+@[^ >]+)>/, j$1 = /^<([^ >]+:\/[^ >]+)>/, B$2 = /-([a-z])?/gi, N$1 = /^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/, H = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/, D$1 = /^!\[([^\]]*)\] ?\[([^\]]*)\]/, P$2 = /^\[([^\]]*)\] ?\[([^\]]*)\]/, _ = /(\[|\])/g, F = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/, W$1 = /\t/g, G$2 = /^ *\| */, Z$1 = /(^ *\||\| *$)/g, q = / *$/, V = /^ *:-+: *$/, X$2 = /^ *:-+ *$/, Q$2 = /^ *-+: *$/, J$2 = /^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/, K = /^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/, Y$1 = /^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/, ee$2 = /^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/, ne = /^\\([^0-9A-Za-z\s])/, te$1 = /^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i, re = /^\n+/, ie = /^([ \t]*)/, le$1 = /\\([^\\])/g, oe$2 = / *\n+$/, ce$1 = /(?:^|\n)( *)$/, ae$1 = "(?:\\d+\\.)", se$1 = "(?:[*+-])";
84498
+ function de$1(e2) {
84499
+ return "( *)(" + (1 === e2 ? ae$1 : se$1) + ") +";
84495
84500
  }
84496
- const ue$1 = de(1), pe$1 = de(2);
84497
- function fe$1(e2) {
84501
+ const ue$1 = de$1(1), pe$1 = de$1(2);
84502
+ function fe(e2) {
84498
84503
  return new RegExp("^" + (1 === e2 ? ue$1 : pe$1));
84499
84504
  }
84500
- const he$1 = fe$1(1), me = fe$1(2);
84505
+ const he = fe(1), me = fe(2);
84501
84506
  function ge$1(e2) {
84502
- return new RegExp("^" + (1 === e2 ? ue$1 : pe$1) + "[^\\n]*(?:\\n(?!\\1" + (1 === e2 ? ae$1 : se) + " )[^\\n]*)*(\\n|$)", "gm");
84507
+ return new RegExp("^" + (1 === e2 ? ue$1 : pe$1) + "[^\\n]*(?:\\n(?!\\1" + (1 === e2 ? ae$1 : se$1) + " )[^\\n]*)*(\\n|$)", "gm");
84503
84508
  }
84504
84509
  const ye = ge$1(1), ke = ge$1(2);
84505
84510
  function xe(e2) {
84506
- const n2 = 1 === e2 ? ae$1 : se;
84511
+ const n2 = 1 === e2 ? ae$1 : se$1;
84507
84512
  return new RegExp("^( *)(" + n2 + ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" + n2 + " (?!" + n2 + " ))\\n*|\\s*\\n*$)");
84508
84513
  }
84509
84514
  const ve = xe(1), be = xe(2);
84510
84515
  function $e(e2, n2) {
84511
- const t2 = 1 === n2, r2 = t2 ? ve : be, i2 = t2 ? ye : ke, l2 = t2 ? he$1 : me;
84516
+ const t2 = 1 === n2, r2 = t2 ? ve : be, i2 = t2 ? ye : ke, l2 = t2 ? he : me;
84512
84517
  return { match(e3, n3, t3) {
84513
84518
  const i3 = ce$1.exec(t3);
84514
84519
  return i3 && (n3.list || !n3.inline && !n3.simple) ? r2.exec(e3 = i3[1] + e3) : null;
@@ -84528,7 +84533,7 @@ ${e2.message}`);
84528
84533
  return e2("li", { key: i3 }, t3(n4, r3));
84529
84534
  })) };
84530
84535
  }
84531
- const Se = /^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, we = /^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, Ce = [u$1, m$1, g, C, A$1, E$1, L, N$1, ye, ve, ke, be], Ee = [...Ce, /^[^\n]+(?: \n|\n{2,})/, O$1, M$1];
84536
+ const Se = /^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, we = /^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/, Ce = [u$1, m$1, g, C, A$1, E$1, L$1, N$1, ye, ve, ke, be], Ee = [...Ce, /^[^\n]+(?: \n|\n{2,})/, O$1, M$1];
84532
84537
  function Ae(e2) {
84533
84538
  return e2.replace(/[ÀÁÂÃÄÅàáâãä忯]/g, "a").replace(/[çÇ]/g, "c").replace(/[ðÐ]/g, "d").replace(/[ÈÉÊËéèêë]/g, "e").replace(/[ÏïÎîÍíÌì]/g, "i").replace(/[Ññ]/g, "n").replace(/[øØœŒÕõÔôÓóÒò]/g, "o").replace(/[ÜüÛûÚúÙù]/g, "u").replace(/[ŸÿÝý]/g, "y").replace(/[^a-z0-9- ]/gi, "").replace(/ /gi, "-").toLowerCase();
84534
84539
  }
@@ -84638,7 +84643,7 @@ ${e2.message}`);
84638
84643
  }(e2, r2.overrides), n$1({}, t3, o2, { className: Ge(null == t3 ? void 0 : t3.className, o2.className) || void 0 }), ...l2);
84639
84644
  }
84640
84645
  function Z2(n2) {
84641
- n2 = n2.replace(S$1, "");
84646
+ n2 = n2.replace(S, "");
84642
84647
  let t3 = false;
84643
84648
  r2.forceInline ? t3 = true : r2.forceBlock || (t3 = false === F.test(n2));
84644
84649
  const i3 = oe2(le2(t3 ? n2 : `${n2.trimEnd().replace(re, "")}
@@ -84661,7 +84666,7 @@ ${e2.message}`);
84661
84666
  const i3 = t4.indexOf("=");
84662
84667
  if (-1 !== i3) {
84663
84668
  const o2 = function(e2) {
84664
- return -1 !== e2.indexOf("-") && null === e2.match(z$1) && (e2 = e2.replace(B$1, function(e3, n4) {
84669
+ return -1 !== e2.indexOf("-") && null === e2.match(z$1) && (e2 = e2.replace(B$2, function(e3, n4) {
84665
84670
  return n4.toUpperCase();
84666
84671
  })), e2;
84667
84672
  }(t4.slice(0, i3)).trim(), c2 = function(e2) {
@@ -84678,15 +84683,15 @@ ${e2.message}`);
84678
84683
  return n3;
84679
84684
  }, {}) : null;
84680
84685
  }
84681
- const V2 = [], X2 = {}, Q2 = { 0: { match: Re(u$1), order: 1, parse: (e2, n2, t3) => ({ children: n2(e2[0].replace(p$1, ""), t3) }), render: (e2, n2, t3) => d2("blockquote", { key: t3.key }, n2(e2.children, t3)) }, 1: { match: Ue(f$1), order: 1, parse: Fe, render: (e2, n2, t3) => d2("br", { key: t3.key }) }, 2: { match: Re(h$2), order: 1, parse: Fe, render: (e2, n2, t3) => d2("hr", { key: t3.key }) }, 3: { match: Re(g), order: 0, parse: (e2) => ({ lang: void 0, text: e2[0].replace(/^ {4}/gm, "").replace(/\n+$/, "") }), render: (e2, t3, r3) => d2("pre", { key: r3.key }, d2("code", n$1({}, e2.attrs, { className: e2.lang ? `lang-${e2.lang}` : "" }), e2.text)) }, 4: { match: Re(m$1), order: 0, parse: (e2) => ({ attrs: q2(e2[3] || ""), lang: e2[2] || void 0, text: e2[4], type: "3" }) }, 5: { match: Ie(y$1), order: 3, parse: (e2) => ({ text: e2[2] }), render: (e2, n2, t3) => d2("code", { key: t3.key }, e2.text) }, 6: { match: Re(v$3), order: 0, parse: (e2) => (V2.push({ footnote: e2[2], identifier: e2[1] }), {}), render: We }, 7: { match: Me(b$2), order: 1, parse: (e2) => ({ target: `#${r2.slugify(e2[1])}`, text: e2[1] }), render: (e2, n2, t3) => d2("a", { key: t3.key, href: Be(e2.target) }, d2("sup", { key: t3.key }, e2.text)) }, 8: { match: Me(w$2), order: 1, parse: (e2) => ({ completed: "x" === e2[1].toLowerCase() }), render: (e2, n2, t3) => d2("input", { checked: e2.completed, key: t3.key, readOnly: true, type: "checkbox" }) }, 9: { match: Re(r2.enforceAtxHeadings ? E$1 : C), order: 1, parse: (e2, n2, t3) => ({ children: He(n2, e2[2], t3), id: r2.slugify(e2[2]), level: e2[1].length }), render: (e2, n2, t3) => d2(`h${e2.level}`, { id: e2.id, key: t3.key }, n2(e2.children, t3)) }, 10: { match: Re(A$1), order: 0, parse: (e2, n2, t3) => ({ children: He(n2, e2[1], t3), level: "=" === e2[2] ? 1 : 2, type: "9" }) }, 11: { match: Ue(O$1), order: 1, parse(e2, n2, t3) {
84686
+ const V2 = [], X2 = {}, Q2 = { 0: { match: Re(u$1), order: 1, parse: (e2, n2, t3) => ({ children: n2(e2[0].replace(p$1, ""), t3) }), render: (e2, n2, t3) => d2("blockquote", { key: t3.key }, n2(e2.children, t3)) }, 1: { match: Ue(f$1), order: 1, parse: Fe, render: (e2, n2, t3) => d2("br", { key: t3.key }) }, 2: { match: Re(h$2), order: 1, parse: Fe, render: (e2, n2, t3) => d2("hr", { key: t3.key }) }, 3: { match: Re(g), order: 0, parse: (e2) => ({ lang: void 0, text: e2[0].replace(/^ {4}/gm, "").replace(/\n+$/, "") }), render: (e2, t3, r3) => d2("pre", { key: r3.key }, d2("code", n$1({}, e2.attrs, { className: e2.lang ? `lang-${e2.lang}` : "" }), e2.text)) }, 4: { match: Re(m$1), order: 0, parse: (e2) => ({ attrs: q2(e2[3] || ""), lang: e2[2] || void 0, text: e2[4], type: "3" }) }, 5: { match: Ie(y$1), order: 3, parse: (e2) => ({ text: e2[2] }), render: (e2, n2, t3) => d2("code", { key: t3.key }, e2.text) }, 6: { match: Re(v$2), order: 0, parse: (e2) => (V2.push({ footnote: e2[2], identifier: e2[1] }), {}), render: We }, 7: { match: Me(b$2), order: 1, parse: (e2) => ({ target: `#${r2.slugify(e2[1])}`, text: e2[1] }), render: (e2, n2, t3) => d2("a", { key: t3.key, href: Be(e2.target) }, d2("sup", { key: t3.key }, e2.text)) }, 8: { match: Me(w$2), order: 1, parse: (e2) => ({ completed: "x" === e2[1].toLowerCase() }), render: (e2, n2, t3) => d2("input", { checked: e2.completed, key: t3.key, readOnly: true, type: "checkbox" }) }, 9: { match: Re(r2.enforceAtxHeadings ? E$1 : C), order: 1, parse: (e2, n2, t3) => ({ children: He(n2, e2[2], t3), id: r2.slugify(e2[2]), level: e2[1].length }), render: (e2, n2, t3) => d2(`h${e2.level}`, { id: e2.id, key: t3.key }, n2(e2.children, t3)) }, 10: { match: Re(A$1), order: 0, parse: (e2, n2, t3) => ({ children: He(n2, e2[1], t3), level: "=" === e2[2] ? 1 : 2, type: "9" }) }, 11: { match: Ue(O$1), order: 1, parse(e2, n2, t3) {
84682
84687
  const [, r3] = e2[3].match(ie), i3 = new RegExp(`^${r3}`, "gm"), l2 = e2[3].replace(i3, ""), o2 = (a2 = l2, Ee.some((e3) => e3.test(a2)) ? Pe : He);
84683
84688
  var a2;
84684
84689
  const s2 = e2[1].toLowerCase(), d3 = -1 !== c$1.indexOf(s2), u2 = { attrs: q2(e2[2]), noInnerParse: d3, tag: d3 ? s2 : e2[1] };
84685
84690
  return t3.inAnchor = t3.inAnchor || "a" === s2, d3 ? u2.text = e2[3] : u2.children = o2(n2, l2, t3), t3.inAnchor = false, u2;
84686
- }, render: (e2, t3, r3) => d2(e2.tag, n$1({ key: r3.key }, e2.attrs), e2.text || t3(e2.children, r3)) }, 13: { match: Ue(M$1), order: 1, parse: (e2) => ({ attrs: q2(e2[2] || ""), tag: e2[1] }), render: (e2, t3, r3) => d2(e2.tag, n$1({}, e2.attrs, { key: r3.key })) }, 12: { match: Ue(L), order: 1, parse: () => ({}), render: We }, 14: { match: Ie(we), order: 1, parse: (e2) => ({ alt: e2[1], target: Ne(e2[2]), title: e2[3] }), render: (e2, n2, t3) => d2("img", { key: t3.key, alt: e2.alt || void 0, title: e2.title || void 0, src: Be(e2.target) }) }, 15: { match: Me(Se), order: 3, parse: (e2, n2, t3) => ({ children: De(n2, e2[1], t3), target: Ne(e2[2]), title: e2[3] }), render: (e2, n2, t3) => d2("a", { key: t3.key, href: Be(e2.target), title: e2.title }, n2(e2.children, t3)) }, 16: { match: Me(j$1), order: 0, parse: (e2) => ({ children: [{ text: e2[1], type: "27" }], target: e2[1], type: "15" }) }, 17: { match: (e2, n2) => n2.inAnchor ? null : Me(R)(e2, n2), order: 0, parse: (e2) => ({ children: [{ text: e2[1], type: "27" }], target: e2[1], title: void 0, type: "15" }) }, 18: { match: Me(U$1), order: 0, parse(e2) {
84691
+ }, render: (e2, t3, r3) => d2(e2.tag, n$1({ key: r3.key }, e2.attrs), e2.text || t3(e2.children, r3)) }, 13: { match: Ue(M$1), order: 1, parse: (e2) => ({ attrs: q2(e2[2] || ""), tag: e2[1] }), render: (e2, t3, r3) => d2(e2.tag, n$1({}, e2.attrs, { key: r3.key })) }, 12: { match: Ue(L$1), order: 1, parse: () => ({}), render: We }, 14: { match: Ie(we), order: 1, parse: (e2) => ({ alt: e2[1], target: Ne(e2[2]), title: e2[3] }), render: (e2, n2, t3) => d2("img", { key: t3.key, alt: e2.alt || void 0, title: e2.title || void 0, src: Be(e2.target) }) }, 15: { match: Me(Se), order: 3, parse: (e2, n2, t3) => ({ children: De(n2, e2[1], t3), target: Ne(e2[2]), title: e2[3] }), render: (e2, n2, t3) => d2("a", { key: t3.key, href: Be(e2.target), title: e2.title }, n2(e2.children, t3)) }, 16: { match: Me(j$1), order: 0, parse: (e2) => ({ children: [{ text: e2[1], type: "27" }], target: e2[1], type: "15" }) }, 17: { match: (e2, n2) => n2.inAnchor ? null : Me(R)(e2, n2), order: 0, parse: (e2) => ({ children: [{ text: e2[1], type: "27" }], target: e2[1], title: void 0, type: "15" }) }, 18: { match: Me(U$1), order: 0, parse(e2) {
84687
84692
  let n2 = e2[1], t3 = e2[1];
84688
84693
  return s$2.test(t3) || (t3 = "mailto:" + t3), { children: [{ text: n2.replace("mailto:", ""), type: "27" }], target: t3, type: "15" };
84689
- } }, 20: $e(d2, 1), 33: $e(d2, 2), 19: { match: Re(k), order: 3, parse: Fe, render: () => "\n" }, 21: { match: je, order: 3, parse: _e, render: (e2, n2, t3) => d2("p", { key: t3.key }, n2(e2.children, t3)) }, 22: { match: Me(H), order: 0, parse: (e2) => (X2[e2[1]] = { target: e2[2], title: e2[4] }, {}), render: We }, 23: { match: Ie(D$1), order: 0, parse: (e2) => ({ alt: e2[1] || void 0, ref: e2[2] }), render: (e2, n2, t3) => d2("img", { key: t3.key, alt: e2.alt, src: Be(X2[e2.ref].target), title: X2[e2.ref].title }) }, 24: { match: Me(P$1), order: 0, parse: (e2, n2, t3) => ({ children: n2(e2[1], t3), fallbackChildren: n2(e2[0].replace(_, "\\$1"), t3), ref: e2[2] }), render: (e2, n2, t3) => X2[e2.ref] ? d2("a", { key: t3.key, href: Be(X2[e2.ref].target), title: X2[e2.ref].title }, n2(e2.children, t3)) : d2("span", { key: t3.key }, n2(e2.fallbackChildren, t3)) }, 25: { match: Re(N$1), order: 1, parse: Le, render: (e2, n2, t3) => d2("table", { key: t3.key }, d2("thead", null, d2("tr", null, e2.header.map(function(r3, i3) {
84694
+ } }, 20: $e(d2, 1), 33: $e(d2, 2), 19: { match: Re(k), order: 3, parse: Fe, render: () => "\n" }, 21: { match: je, order: 3, parse: _e, render: (e2, n2, t3) => d2("p", { key: t3.key }, n2(e2.children, t3)) }, 22: { match: Me(H), order: 0, parse: (e2) => (X2[e2[1]] = { target: e2[2], title: e2[4] }, {}), render: We }, 23: { match: Ie(D$1), order: 0, parse: (e2) => ({ alt: e2[1] || void 0, ref: e2[2] }), render: (e2, n2, t3) => d2("img", { key: t3.key, alt: e2.alt, src: Be(X2[e2.ref].target), title: X2[e2.ref].title }) }, 24: { match: Me(P$2), order: 0, parse: (e2, n2, t3) => ({ children: n2(e2[1], t3), fallbackChildren: n2(e2[0].replace(_, "\\$1"), t3), ref: e2[2] }), render: (e2, n2, t3) => X2[e2.ref] ? d2("a", { key: t3.key, href: Be(X2[e2.ref].target), title: X2[e2.ref].title }, n2(e2.children, t3)) : d2("span", { key: t3.key }, n2(e2.fallbackChildren, t3)) }, 25: { match: Re(N$1), order: 1, parse: Le, render: (e2, n2, t3) => d2("table", { key: t3.key }, d2("thead", null, d2("tr", null, e2.header.map(function(r3, i3) {
84690
84695
  return d2("th", { key: i3, style: ze(e2, i3) }, n2(r3, t3));
84691
84696
  }))), d2("tbody", null, e2.cells.map(function(r3, i3) {
84692
84697
  return d2("tr", { key: i3 }, r3.map(function(r4, i4) {
@@ -84696,7 +84701,7 @@ ${e2.message}`);
84696
84701
  return n2.inTable ? (n2.inline = true, G$2.exec(e2)) : null;
84697
84702
  }, order: 1, parse: function() {
84698
84703
  return { type: "26" };
84699
- }, render: () => " | " }, 27: { match: Ue(te$1), order: 4, parse: (e2) => ({ text: e2[0].replace(T, (e3, n2) => r2.namedCodesToUnicode[n2] ? r2.namedCodesToUnicode[n2] : e3) }), render: (e2) => e2.text }, 28: { match: Ie(J$2), order: 2, parse: (e2, n2, t3) => ({ children: n2(e2[2], t3) }), render: (e2, n2, t3) => d2("strong", { key: t3.key }, n2(e2.children, t3)) }, 29: { match: Ie(K), order: 3, parse: (e2, n2, t3) => ({ children: n2(e2[2], t3) }), render: (e2, n2, t3) => d2("em", { key: t3.key }, n2(e2.children, t3)) }, 30: { match: Ie(ne$1), order: 1, parse: (e2) => ({ text: e2[1], type: "27" }) }, 31: { match: Ie(Y$1), order: 3, parse: _e, render: (e2, n2, t3) => d2("mark", { key: t3.key }, n2(e2.children, t3)) }, 32: { match: Ie(ee$2), order: 3, parse: _e, render: (e2, n2, t3) => d2("del", { key: t3.key }, n2(e2.children, t3)) } };
84704
+ }, render: () => " | " }, 27: { match: Ue(te$1), order: 4, parse: (e2) => ({ text: e2[0].replace(T, (e3, n2) => r2.namedCodesToUnicode[n2] ? r2.namedCodesToUnicode[n2] : e3) }), render: (e2) => e2.text }, 28: { match: Ie(J$2), order: 2, parse: (e2, n2, t3) => ({ children: n2(e2[2], t3) }), render: (e2, n2, t3) => d2("strong", { key: t3.key }, n2(e2.children, t3)) }, 29: { match: Ie(K), order: 3, parse: (e2, n2, t3) => ({ children: n2(e2[2], t3) }), render: (e2, n2, t3) => d2("em", { key: t3.key }, n2(e2.children, t3)) }, 30: { match: Ie(ne), order: 1, parse: (e2) => ({ text: e2[1], type: "27" }) }, 31: { match: Ie(Y$1), order: 3, parse: _e, render: (e2, n2, t3) => d2("mark", { key: t3.key }, n2(e2.children, t3)) }, 32: { match: Ie(ee$2), order: 3, parse: _e, render: (e2, n2, t3) => d2("del", { key: t3.key }, n2(e2.children, t3)) } };
84700
84705
  true === r2.disableParsingRawHTML && (delete Q2[11], delete Q2[13]);
84701
84706
  const le2 = function(e2) {
84702
84707
  let n2 = Object.keys(e2);
@@ -100118,7 +100123,7 @@ ${e2.message}`);
100118
100123
  }
100119
100124
  `, J$1 = {
100120
100125
  TextFieldStyled: G$1
100121
- }, Q$1 = (n2) => /* @__PURE__ */ jsxRuntimeExports.jsx(J$1.TextFieldStyled, { ...n2 }), B = {
100126
+ }, Q$1 = (n2) => /* @__PURE__ */ jsxRuntimeExports.jsx(J$1.TextFieldStyled, { ...n2 }), B$1 = {
100122
100127
  left: "ArrowLeft",
100123
100128
  right: "ArrowRight",
100124
100129
  backspace: "Backspace",
@@ -100131,7 +100136,7 @@ ${e2.message}`);
100131
100136
  function X$1(n2, l2, f2) {
100132
100137
  return n2.map((u2, x2) => l2 === x2 ? f2 : u2);
100133
100138
  }
100134
- function P(n2) {
100139
+ function P$1(n2) {
100135
100140
  return n2.join("");
100136
100141
  }
100137
100142
  function M(n2, l2) {
@@ -100158,7 +100163,7 @@ ${e2.message}`);
100158
100163
  }
100159
100164
  ).characters;
100160
100165
  }
100161
- function v$2(n2) {
100166
+ function v$1(n2) {
100162
100167
  return n2.split("");
100163
100168
  }
100164
100169
  function N(n2) {
@@ -100210,7 +100215,7 @@ ${e2.message}`);
100210
100215
  e2,
100211
100216
  t2
100212
100217
  );
100213
- return P(a2);
100218
+ return P$1(a2);
100214
100219
  }, $2 = (e2) => {
100215
100220
  var _a3, _b2;
100216
100221
  (_b2 = (_a3 = p2[e2]) == null ? void 0 : _a3.inputRef.current) == null ? void 0 : _b2.focus();
@@ -100239,7 +100244,7 @@ ${e2.message}`);
100239
100244
  const t2 = e2.target, a2 = t2.selectionStart, o2 = t2.selectionEnd, s2 = A2(t2), h2 = a2 === 0 && o2 === 0;
100240
100245
  if (t2.value === e2.key)
100241
100246
  e2.preventDefault(), R2(s2);
100242
- else if (B.backspace === e2.key) {
100247
+ else if (B$1.backspace === e2.key) {
100243
100248
  if (!t2.value)
100244
100249
  e2.preventDefault(), c2(s2 - 1);
100245
100250
  else if (h2) {
@@ -100248,15 +100253,15 @@ ${e2.message}`);
100248
100253
  C2 == null ? void 0 : C2(i2), i2.length <= s2 && c2(s2 - 1);
100249
100254
  }
100250
100255
  } else
100251
- B.left === e2.key ? (e2.preventDefault(), c2(s2 - 1)) : B.right === e2.key ? (e2.preventDefault(), c2(s2 + 1)) : B.home === e2.key ? (e2.preventDefault(), c2(0)) : B.end === e2.key && (e2.preventDefault(), c2(p2.length - 1));
100256
+ B$1.left === e2.key ? (e2.preventDefault(), c2(s2 - 1)) : B$1.right === e2.key ? (e2.preventDefault(), c2(s2 + 1)) : B$1.home === e2.key ? (e2.preventDefault(), c2(0)) : B$1.end === e2.key && (e2.preventDefault(), c2(p2.length - 1));
100252
100257
  }, H2 = (e2) => {
100253
100258
  const t2 = e2.clipboardData.getData("text/plain"), a2 = e2.target, o2 = p2.findIndex(
100254
100259
  ({ character: r2, inputRef: w2 }) => r2 === "" || w2.current === a2
100255
100260
  ), s2 = T2(), h2 = Z(
100256
100261
  s2,
100257
- v$2(t2),
100262
+ v$1(t2),
100258
100263
  o2
100259
- ).map((r2, w2) => S2(r2, w2) ? r2 : ""), i2 = P(h2);
100264
+ ).map((r2, w2) => S2(r2, w2) ? r2 : ""), i2 = P$1(h2);
100260
100265
  C2 == null ? void 0 : C2(i2);
100261
100266
  const { isCompleted: m2, finalValue: F2 } = I2(i2);
100262
100267
  m2 ? (d2 == null ? void 0 : d2(F2), c2(u2 - 1)) : c2(i2.length);
@@ -109483,25 +109488,32 @@ ${e2.message}`);
109483
109488
  type: "EVALUATION_QUEUE"
109484
109489
  });
109485
109490
  const displayedFacetValues = React$2.useMemo(() => {
109486
- return sortBy$3(
109487
- facet.facetValues.map(
109488
- (facetValue) => {
109489
- return {
109490
- ...facetValue,
109491
- // Selected status should be based on the 'nextQuery', not the result data
109492
- // This ensures the checkboxes respond instantly to user interaction, like while waiting for multiple changes to debounce
109493
- isSelected: (currentSelectedFacet == null ? void 0 : currentSelectedFacet.facetValues.includes(facetValue.value)) ?? false,
109494
- displayText: valueToLabel(
109495
- facetValue,
109496
- userGroupHeaders,
109497
- entityHeaders,
109498
- evaluations
109499
- )
109500
- };
109501
- }
109502
- ),
109503
- (fv) => -1 * fv.count
109491
+ const renderedFacetValues = facet.facetValues.map(
109492
+ (facetValue) => {
109493
+ return {
109494
+ ...facetValue,
109495
+ // Selected status should be based on the 'nextQuery', not the result data
109496
+ // This ensures the checkboxes respond instantly to user interaction, like while waiting for multiple changes to debounce
109497
+ isSelected: (currentSelectedFacet == null ? void 0 : currentSelectedFacet.facetValues.includes(facetValue.value)) ?? false,
109498
+ displayText: valueToLabel(
109499
+ facetValue,
109500
+ userGroupHeaders,
109501
+ entityHeaders,
109502
+ evaluations
109503
+ )
109504
+ };
109505
+ }
109506
+ );
109507
+ const partitions = partition$1(
109508
+ renderedFacetValues,
109509
+ (facet2) => facet2.value === VALUE_NOT_SET
109504
109510
  );
109511
+ const valueNotSetFacetArray = partitions[0];
109512
+ const restOfFacetValuesArray = partitions[1];
109513
+ return [
109514
+ ...sortBy$3(restOfFacetValuesArray, (fv) => fv.displayText.toLowerCase()),
109515
+ ...valueNotSetFacetArray
109516
+ ];
109505
109517
  }, [
109506
109518
  currentSelectedFacet == null ? void 0 : currentSelectedFacet.facetValues,
109507
109519
  entityHeaders,
@@ -121756,8 +121768,8 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
121756
121768
  ] });
121757
121769
  }
121758
121770
  }
121759
- var G = /\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g, J = "reference?", Q = "bookmark?", X = new RegExp("^syn([0-9]+[.]?[0-9]*)+"), Y = new RegExp(/^\/\w/), ee = new RegExp("^([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/w \\.-]*)*\\/?.*$"), ne = new RegExp("^doi:10[.]{1}[0-9]+[/]{1}[a-zA-Z0-9_.]+$"), W = new RegExp("^\\s*(width[=]{1})?\\s*(.*)[}]{1}\\s*$"), D = new RegExp('^\\s*(text[=]{1}["]{1})?\\s*(.*)["]{1}[}]{1}\\s*$'), A, b$1, v$1, w, S, E;
121760
- function te(e2, f2) {
121771
+ var B = /\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g, G = "reference?", J = "bookmark?", Q = new RegExp("^syn([0-9]+[.]?[0-9]*)+"), X = new RegExp(/^\/\w/), Y = new RegExp("^([\\da-z\\.-]+)\\.([a-z\\.]{2,6})([\\/w \\.-]*)*\\/?.*$"), ee = new RegExp("^doi:10[.]{1}[0-9]+[/]{1}[a-zA-Z0-9_.]+$"), W = new RegExp("^\\s*(width[=]{1})?\\s*(.*)[}]{1}\\s*$"), D = new RegExp('^\\s*(text[=]{1}["]{1})?\\s*(.*)["]{1}[}]{1}\\s*$'), A, b$1, P, w, L, E;
121772
+ function se(e2, f2) {
121761
121773
  let u2 = e2.split("?")[1].split("&"), o2 = null, c2;
121762
121774
  for (let p2 = 0; p2 < u2.length; p2++) c2 = u2[p2].split("="), f2 === c2[0] && (o2 = c2[1]);
121763
121775
  return o2;
@@ -121780,7 +121792,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
121780
121792
  }
121781
121793
  return false;
121782
121794
  }
121783
- function oe(e2) {
121795
+ function te(e2) {
121784
121796
  if (e2 >= 65 && e2 <= 90 || e2 >= 48 && e2 <= 57 || e2 >= 97 && e2 <= 122) return true;
121785
121797
  switch (e2) {
121786
121798
  case 64:
@@ -121791,53 +121803,53 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
121791
121803
  }
121792
121804
  return false;
121793
121805
  }
121794
- function le(e2, f2, a2) {
121806
+ function oe(e2, f2, a2) {
121795
121807
  return a2 = a2 || 0, e2.substr(a2, f2.length) === f2;
121796
121808
  }
121797
- function ae(e2) {
121798
- return e2.length > 2 ? Y.test(e2.substr(0, 2)) : false;
121809
+ function le(e2) {
121810
+ return e2.length > 2 ? X.test(e2.substr(0, 2)) : false;
121799
121811
  }
121800
- var ue = function(e2, f2) {
121801
- let a2 = false, u2, o2, c2, p2, _2, y2 = "widgetContainer", m2 = e2.posMax, d2 = e2.pos;
121802
- if (d2 + 3 >= m2 || f2) return false;
121812
+ var ae = function(e2, f2) {
121813
+ let a2 = false, u2, o2, c2, p2, m2, y2 = "widgetContainer", _2 = e2.posMax, d2 = e2.pos;
121814
+ if (d2 + 3 >= _2 || f2) return false;
121803
121815
  if (e2.src.charCodeAt(d2) === 64) {
121804
121816
  if (d2 > 0 && !O(e2.src.charCodeAt(e2.pos - 1))) return false;
121805
- for (; e2.pos < m2 && !O(e2.src.charCodeAt(e2.pos)) && oe(e2.src.charCodeAt(e2.pos)); ) e2.pos++;
121806
- return u2 = e2.src.slice(d2 + 1, e2.pos), e2.posMax = e2.pos, e2.pos = d2, o2 = e2.push("synapse_open", "span", 1), o2.markup = "@", o2.attrs = [["data-widgetparams", "badge?alias=" + u2], ["data-widget-type", "badge"], ["class", y2], ["id", "widget-" + b$1 + A]], o2 = e2.push("link_open", "a", 1), o2.attrs = [["href", "https://www.synapse.org/Portal/aliasredirector?alias=" + u2]], o2.markup = "autolink", o2.info = "auto", o2 = e2.push("text", "", 0), o2.content = "@" + u2, o2 = e2.push("link_close", "a", -1), o2.markup = "autolink", o2.info = "auto", o2 = e2.push("text", "", 0), o2 = e2.push("synapse_close", "span", -1), e2.pos = e2.posMax, e2.posMax = m2, b$1 = b$1 + 1, true;
121817
+ for (; e2.pos < _2 && !O(e2.src.charCodeAt(e2.pos)) && te(e2.src.charCodeAt(e2.pos)); ) e2.pos++;
121818
+ return u2 = e2.src.slice(d2 + 1, e2.pos), e2.posMax = e2.pos, e2.pos = d2, o2 = e2.push("synapse_open", "span", 1), o2.markup = "@", o2.attrs = [["data-widgetparams", "badge?alias=" + u2], ["data-widget-type", "badge"], ["class", y2], ["id", "widget-" + b$1 + A]], o2 = e2.push("link_open", "a", 1), o2.attrs = [["href", "https://www.synapse.org/Portal/aliasredirector?alias=" + u2]], o2.markup = "autolink", o2.info = "auto", o2 = e2.push("text", "", 0), o2.content = "@" + u2, o2 = e2.push("link_close", "a", -1), o2.markup = "autolink", o2.info = "auto", o2 = e2.push("text", "", 0), o2 = e2.push("synapse_close", "span", -1), e2.pos = e2.posMax, e2.posMax = _2, b$1 = b$1 + 1, true;
121807
121819
  }
121808
121820
  if (e2.src.charCodeAt(d2) !== 36 || e2.src.charCodeAt(d2 + 1) !== 123) return false;
121809
- for (e2.pos = d2 + 2; e2.pos < m2; ) {
121821
+ for (e2.pos = d2 + 2; e2.pos < _2; ) {
121810
121822
  if (e2.src.charCodeAt(e2.pos) === 125) {
121811
121823
  a2 = true;
121812
121824
  break;
121813
121825
  }
121814
121826
  e2.md.inline.skipToken(e2);
121815
121827
  }
121816
- return !a2 || d2 + 2 === e2.pos ? (e2.pos = d2, false) : (u2 = e2.src.slice(d2 + 2, e2.pos), c2 = u2.replace(G, "$1"), u2.lastIndexOf(J, 0) === 0 ? (c2 += "&footnoteId=" + w, o2 = e2.push("synapse_reference_open", "span", 1), o2.attrs = [["id", "wikiReference" + w]], o2 = e2.push("synapse_reference_close", "span", -1), p2 = decodeURIComponent(c2), _2 = te(p2, "text"), _2 && (S += "${bookmark?text=[" + w + "]&bookmarkID=wikiReference" + w + "} " + _2 + `
121817
- `), w++, y2 = "inlineWidgetContainer") : u2.lastIndexOf(Q, 0) === 0 && (o2 = e2.push("synapse_footnote_target_open", "span", 1), o2.attrs = [["id", "wikiFootnote" + w]], o2 = e2.push("synapse_footnote_target_close", "span", -1), w++, y2 = "inlineWidgetContainer"), e2.posMax = e2.pos, e2.pos = d2 + 2, o2 = e2.push("synapse_open", "span", 1), o2.markup = "${", o2.attrs = [["data-widgetparams", c2], ["class", y2], ["id", "widget-" + b$1 + A], ["data-widget-type", c2.substring(0, c2.indexOf("?"))]], o2 = e2.push("text", "", 0), o2.content = "<Synapse widget>", o2 = e2.push("synapse_close", "span", -1), o2.markup = "}", e2.pos = e2.posMax + 1, e2.posMax = m2, b$1 = b$1 + 1, true);
121828
+ return !a2 || d2 + 2 === e2.pos ? (e2.pos = d2, false) : (u2 = e2.src.slice(d2 + 2, e2.pos), c2 = u2.replace(B, "$1"), u2.lastIndexOf(G, 0) === 0 ? (c2 += "&footnoteId=" + w, o2 = e2.push("synapse_reference_open", "span", 1), o2.attrs = [["id", "wikiReference" + w]], o2 = e2.push("synapse_reference_close", "span", -1), p2 = decodeURIComponent(c2), m2 = se(p2, "text"), m2 && (L += "${bookmark?text=[" + w + "]&bookmarkID=wikiReference" + w + "} " + m2 + `
121829
+ `), w++, y2 = "inlineWidgetContainer") : u2.lastIndexOf(J, 0) === 0 && (o2 = e2.push("synapse_footnote_target_open", "span", 1), o2.attrs = [["id", "wikiFootnote" + w]], o2 = e2.push("synapse_footnote_target_close", "span", -1), w++, y2 = "inlineWidgetContainer"), e2.posMax = e2.pos, e2.pos = d2 + 2, o2 = e2.push("synapse_open", "span", 1), o2.markup = "${", o2.attrs = [["data-widgetparams", c2], ["class", y2], ["id", "widget-" + b$1 + A], ["data-widget-type", c2.substring(0, c2.indexOf("?"))]], o2 = e2.push("text", "", 0), o2.content = "<Synapse widget>", o2 = e2.push("synapse_close", "span", -1), o2.markup = "}", e2.pos = e2.posMax + 1, e2.posMax = _2, b$1 = b$1 + 1, true);
121818
121830
  };
121819
- function ce(e2, f2, a2) {
121820
- b$1 = 0, v$1 = 0, w = 1, A = f2, S = "", E = "", a2 && (E = a2), e2.inline.ruler.after("emphasis", "synapse", ue);
121831
+ function ue(e2, f2, a2) {
121832
+ b$1 = 0, P = 0, w = 1, A = f2, L = "", E = "", a2 && (E = a2), e2.inline.ruler.after("emphasis", "synapse", ae);
121821
121833
  }
121822
- function pe() {
121823
- return S;
121834
+ function ce() {
121835
+ return L;
121824
121836
  }
121825
- function fe() {
121826
- S = "", w = 1;
121837
+ function pe() {
121838
+ L = "", w = 1;
121827
121839
  }
121828
- function ge(e2, f2, a2, u2, o2, c2, p2, _2, y2, m2, d2) {
121829
- function Z2() {
121840
+ function de(e2, f2, a2, u2, o2, c2, p2, m2, y2, _2) {
121841
+ function d2() {
121830
121842
  let n2 = e2.renderer.rules.link_open || function(t2, r2, s2, g2, i2) {
121831
121843
  return i2.renderToken(t2, r2, s2);
121832
121844
  };
121833
121845
  e2.renderer.rules.link_open = function(t2, r2, s2, g2, i2) {
121834
- let l2 = t2[r2].attrIndex("target"), h2 = t2[r2].attrIndex("href"), x2 = le(t2[r2].attrs[h2][1], "#!");
121846
+ let l2 = t2[r2].attrIndex("target"), h2 = t2[r2].attrIndex("href"), x2 = oe(t2[r2].attrs[h2][1], "#!");
121835
121847
  x2 && (t2[r2].attrs[h2][1] = `/${t2[r2].attrs[h2][1].substring(2)}`);
121836
- let I2 = ae(t2[r2].attrs[h2][1]);
121848
+ let I2 = le(t2[r2].attrs[h2][1]);
121837
121849
  return l2 < 0 ? (h2 < 0 || !(I2 || x2)) && (t2[r2].attrPush(["target", "_blank"]), t2[r2].attrPush(["ref", "noopener noreferrer"])) : (t2[r2].attrs[l2][1] = "_blank", t2[r2].attrPush(["ref", "noopener noreferrer"])), n2(t2, r2, s2, g2, i2);
121838
121850
  };
121839
121851
  }
121840
- function q2() {
121852
+ function Z2() {
121841
121853
  let n2 = e2.renderer.rules.table_open || function(t2, r2, s2, g2, i2) {
121842
121854
  return i2.renderToken(t2, r2, s2);
121843
121855
  };
@@ -121846,7 +121858,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
121846
121858
  return l2 < 0 ? t2[r2].attrPush(["class", "markdowntable"]) : t2[r2].attrs[l2][1] += " markdowntable", n2(t2, r2, s2, g2, i2);
121847
121859
  };
121848
121860
  }
121849
- function F2() {
121861
+ function q2() {
121850
121862
  e2.linkify.set({ fuzzyLink: false }), e2.linkify.add("syn", { validate: function(n2, t2, r2) {
121851
121863
  let s2 = n2.slice(t2);
121852
121864
  return r2.re.synapse || (r2.re.synapse = new RegExp("^([0-9]{3,}[.]?[0-9]*(\\/wiki\\/[0-9]+)?)+(?!_)(?=$|" + r2.re.src_ZPCc + ")")), r2.re.synapse.test(s2) ? s2.match(r2.re.synapse)[0].length : 0;
@@ -121859,66 +121871,66 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
121859
121871
  n2.url = "https://doi.org/" + n2.url;
121860
121872
  } });
121861
121873
  }
121862
- let N2 = function(n2, t2) {
121863
- let r2, s2, g2, i2, l2, h2, x2, I2, C2 = "", P2 = n2.pos, T2 = n2.pos, k2 = n2.posMax, $2 = e2.helpers.parseLinkLabel, j2 = e2.helpers.parseLinkDestination, H2 = e2.helpers.parseLinkTitle, L2 = e2.utils.isSpace, B2 = e2.utils.normalizeReference;
121874
+ let F2 = function(n2, t2) {
121875
+ let r2, s2, g2, i2, l2, h2, x2, I2, C2 = "", v2 = n2.pos, T2 = n2.pos, k2 = n2.posMax, $2 = e2.helpers.parseLinkLabel, K2 = e2.helpers.parseLinkDestination, j2 = e2.helpers.parseLinkTitle, S2 = e2.utils.isSpace, H2 = e2.utils.normalizeReference;
121864
121876
  if (n2.src.charCodeAt(n2.pos) !== 91) return false;
121865
121877
  let z2 = n2.pos + 1, R2 = $2(n2, n2.pos, true);
121866
121878
  if (R2 < 0) return false;
121867
121879
  if (i2 = R2 + 1, i2 < k2 && n2.src.charCodeAt(i2) === 40) {
121868
- for (i2++; i2 < k2 && (s2 = n2.src.charCodeAt(i2), !(!L2(s2) && s2 !== 10)); i2++) ;
121880
+ for (i2++; i2 < k2 && (s2 = n2.src.charCodeAt(i2), !(!S2(s2) && s2 !== 10)); i2++) ;
121869
121881
  if (i2 >= k2) return false;
121870
- if (P2 = i2, l2 = j2(n2.src, i2, n2.posMax), l2.ok) {
121882
+ if (v2 = i2, l2 = K2(n2.src, i2, n2.posMax), l2.ok) {
121871
121883
  let M2 = l2.str;
121872
- X.test(M2) ? l2.str = E + "/Synapse:" + M2.replace(/[.]/, "/version/") : ee.test(M2) ? l2.str = "http://" + M2 : ne.test(M2) && (l2.str = "http://dx.doi.org/" + M2), C2 = n2.md.normalizeLink(l2.str), n2.md.validateLink(C2) ? i2 = l2.pos : C2 = "";
121884
+ Q.test(M2) ? l2.str = E + "/Synapse:" + M2.replace(/[.]/, "/version/") : Y.test(M2) ? l2.str = "http://" + M2 : ee.test(M2) && (l2.str = "http://dx.doi.org/" + M2), C2 = n2.md.normalizeLink(l2.str), n2.md.validateLink(C2) ? i2 = l2.pos : C2 = "";
121873
121885
  }
121874
- for (P2 = i2; i2 < k2 && (s2 = n2.src.charCodeAt(i2), !(!L2(s2) && s2 !== 10)); i2++) ;
121875
- if (l2 = H2(n2.src, i2, n2.posMax), i2 < k2 && P2 !== i2 && l2.ok) for (x2 = l2.str, i2 = l2.pos; i2 < k2 && (s2 = n2.src.charCodeAt(i2), !(!L2(s2) && s2 !== 10)); i2++) ;
121886
+ for (v2 = i2; i2 < k2 && (s2 = n2.src.charCodeAt(i2), !(!S2(s2) && s2 !== 10)); i2++) ;
121887
+ if (l2 = j2(n2.src, i2, n2.posMax), i2 < k2 && v2 !== i2 && l2.ok) for (x2 = l2.str, i2 = l2.pos; i2 < k2 && (s2 = n2.src.charCodeAt(i2), !(!S2(s2) && s2 !== 10)); i2++) ;
121876
121888
  else x2 = "";
121877
121889
  if (i2 >= k2 || n2.src.charCodeAt(i2) !== 41) return n2.pos = T2, false;
121878
121890
  i2++;
121879
121891
  } else {
121880
121892
  if (typeof n2.env.references > "u") return false;
121881
- if (i2 < k2 && n2.src.charCodeAt(i2) === 91 ? (P2 = i2 + 1, i2 = $2(n2, i2), i2 >= 0 ? g2 = n2.src.slice(P2, i2++) : i2 = R2 + 1) : i2 = R2 + 1, g2 || (g2 = n2.src.slice(z2, R2)), h2 = n2.env.references[B2(g2)], !h2) return n2.pos = T2, false;
121893
+ if (i2 < k2 && n2.src.charCodeAt(i2) === 91 ? (v2 = i2 + 1, i2 = $2(n2, i2), i2 >= 0 ? g2 = n2.src.slice(v2, i2++) : i2 = R2 + 1) : i2 = R2 + 1, g2 || (g2 = n2.src.slice(z2, R2)), h2 = n2.env.references[H2(g2)], !h2) return n2.pos = T2, false;
121882
121894
  C2 = h2.href, x2 = h2.title;
121883
121895
  }
121884
121896
  return t2 || (n2.pos = z2, n2.posMax = R2, I2 = n2.push("link_open", "a", 1), I2.attrs = r2 = [["href", C2]], x2 && r2.push(["title", x2]), n2.md.inline.tokenize(n2), I2 = n2.push("link_close", "a", -1)), n2.pos = i2, n2.posMax = k2, true;
121885
121897
  };
121886
- function U2(n2, t2, r2) {
121898
+ function N2(n2, t2, r2) {
121887
121899
  let s2 = r2, g2 = t2, i2 = n2.charCodeAt(r2);
121888
121900
  for (; s2 < g2 && n2.charCodeAt(s2) === i2; ) s2++;
121889
121901
  return { can_open: true, can_close: true, length: s2 - r2 };
121890
121902
  }
121891
- let V2 = function(n2, t2) {
121903
+ let U2 = function(n2, t2) {
121892
121904
  let r2, s2, g2 = n2.pos, i2 = n2.src.charCodeAt(g2);
121893
121905
  if (t2 || i2 !== 95 && i2 !== 42) return false;
121894
- let l2 = U2(n2.src, n2.posMax, n2.pos);
121906
+ let l2 = N2(n2.src, n2.posMax, n2.pos);
121895
121907
  for (r2 = 0; r2 < l2.length; r2++) s2 = n2.push("text", "", 0), s2.content = String.fromCharCode(i2), n2.delimiters.push({ marker: i2, jump: r2, token: n2.tokens.length - 1, level: n2.level, end: -1, open: l2.can_open, close: l2.can_close });
121896
121908
  return n2.pos += l2.length, true;
121897
121909
  };
121898
- function K2() {
121899
- e2.set({ html: true, breaks: true, linkify: true }), e2.disable(["heading"]), e2.disable(["lheading"]), f2 && e2.use(f2), a2 && e2.use(a2), u2 && e2.use(u2), o2 && e2.use(o2), c2 && e2.use(c2), p2 && e2.use(p2), y2 && e2.use(y2), m2 && e2.use(m2), d2 && e2.use(d2), _2 && (e2.use(_2, "row", { marker: "{row}", minMarkerCount: 1, render: function(n2, t2) {
121910
+ function V2() {
121911
+ e2.set({ html: true, breaks: true, linkify: true }), e2.disable(["heading"]), e2.disable(["lheading"]), f2 && e2.use(f2), a2 && e2.use(a2), u2 && e2.use(u2), o2 && e2.use(o2), c2 && e2.use(c2), p2 && e2.use(p2), y2 && e2.use(y2), _2 && e2.use(_2), m2 && (e2.use(m2, "row", { marker: "{row}", minMarkerCount: 1, render: function(n2, t2) {
121900
121912
  let r2;
121901
121913
  return n2[t2].nesting === 1 ? r2 = '<div class="container-fluid"><div class="row">' : r2 = `</div></div>
121902
121914
  `, r2;
121903
121915
  }, validate: function() {
121904
121916
  return true;
121905
- } }), e2.use(_2, "column", { marker: "{column", endMarker: "{column}", minMarkerCount: 1, render: function(n2, t2) {
121917
+ } }), e2.use(m2, "column", { marker: "{column", endMarker: "{column}", minMarkerCount: 1, render: function(n2, t2) {
121906
121918
  let r2, s2;
121907
121919
  return n2[t2].nesting === 1 ? (r2 = W.exec(n2[t2].info), s2 = '<div class="col-sm-' + e2.utils.escapeHtml(r2[2]) + '">') : s2 = `</div>
121908
121920
  `, s2;
121909
121921
  }, validate: function(n2) {
121910
121922
  return W.test(n2);
121911
- } }), e2.use(_2, "nav", { marker: "{nav", endMarker: "{nav}", minMarkerCount: 1, render: function(n2, t2) {
121923
+ } }), e2.use(m2, "nav", { marker: "{nav", endMarker: "{nav}", minMarkerCount: 1, render: function(n2, t2) {
121912
121924
  let r2, s2;
121913
- return n2[t2].nesting === 1 ? (r2 = D.exec(n2[t2].info), s2 = '<div id="nav-target-' + v$1 + A + '" target-text="' + e2.utils.escapeHtml(r2[2]) + '">', v$1 = v$1 + 1) : s2 = `</div>
121925
+ return n2[t2].nesting === 1 ? (r2 = D.exec(n2[t2].info), s2 = '<div id="nav-target-' + P + A + '" target-text="' + e2.utils.escapeHtml(r2[2]) + '">', P = P + 1) : s2 = `</div>
121914
121926
  `, s2;
121915
121927
  }, validate: function(n2) {
121916
121928
  return D.test(n2);
121917
- } })), Z2(), F2(), q2(), e2.inline.ruler.at("link", N2), e2.inline.ruler.at("emphasis", V2);
121929
+ } })), d2(), q2(), Z2(), e2.inline.ruler.at("link", F2), e2.inline.ruler.at("emphasis", U2);
121918
121930
  }
121919
- K2();
121931
+ V2();
121920
121932
  }
121921
- var he = ce;
121933
+ var ge = ue;
121922
121934
  var UNESCAPE_RE$1 = /\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
121923
121935
  function subscript(state, silent) {
121924
121936
  var found, content2, token2, max2 = state.posMax, start2 = state.pos;
@@ -122010,7 +122022,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122010
122022
  };
122011
122023
  const markdownitSup = /* @__PURE__ */ getDefaultExportFromCjs(markdownItSupAlt);
122012
122024
  var markdownItCenterText = function centertext_plugin(md2) {
122013
- function tokenize2(state, silent) {
122025
+ function tokenize(state, silent) {
122014
122026
  var token2, max2 = state.posMax, start2 = state.pos, marker = state.src.charCodeAt(start2);
122015
122027
  if (start2 + 1 > max2) {
122016
122028
  return false;
@@ -122085,7 +122097,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122085
122097
  }
122086
122098
  }
122087
122099
  }
122088
- md2.inline.ruler.before("emphasis", "centertext", tokenize2);
122100
+ md2.inline.ruler.before("emphasis", "centertext", tokenize);
122089
122101
  md2.inline.ruler2.before("emphasis", "centertext", postProcess2);
122090
122102
  };
122091
122103
  const markdownitCentertext = /* @__PURE__ */ getDefaultExportFromCjs(markdownItCenterText);
@@ -122308,7 +122320,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122308
122320
  length: count2
122309
122321
  };
122310
122322
  }
122311
- function tokenize2(state, silent) {
122323
+ function tokenize(state, silent) {
122312
122324
  var scanned, token2, len2, ch, start2 = state.pos, marker = state.src.charCodeAt(start2);
122313
122325
  if (silent) {
122314
122326
  return false;
@@ -122361,7 +122373,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122361
122373
  token2.content = "";
122362
122374
  }
122363
122375
  }
122364
- md2.inline.ruler.before("emphasis", "strikethrough_alt_plugin", tokenize2);
122376
+ md2.inline.ruler.before("emphasis", "strikethrough_alt_plugin", tokenize);
122365
122377
  md2.inline.ruler2.before("emphasis", "strikethrough_alt_plugin", postProcess2);
122366
122378
  };
122367
122379
  const markdownitStrikethroughAlt = /* @__PURE__ */ getDefaultExportFromCjs(markdownItStrikethroughAlt);
@@ -122467,129 +122479,6 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122467
122479
  md2.renderer.rules["container_" + name + "_open"] = render;
122468
122480
  md2.renderer.rules["container_" + name + "_close"] = render;
122469
122481
  }
122470
- var isSingleOpen;
122471
- var isDoubleOpen;
122472
- var newlinePos;
122473
- var newlinePosSrc;
122474
- var initialized = false;
122475
- var WORD_CHAR_TEST_RE = /[a-zA-Z0-9]/;
122476
- function reset$1(_newSrc, _newlinePos) {
122477
- isSingleOpen = false;
122478
- isDoubleOpen = false;
122479
- if (_newlinePos) {
122480
- newlinePos = _newlinePos;
122481
- } else {
122482
- newlinePos = 0;
122483
- }
122484
- newlinePosSrc = _newSrc;
122485
- }
122486
- function tokenize(state, silent) {
122487
- var token2, lastChar, nextChar, start2 = state.pos, marker = state.src.charCodeAt(start2), isDouble = false, nextNewlinePos = start2;
122488
- if (silent) {
122489
- return false;
122490
- }
122491
- if (marker !== 95 && marker !== 42) {
122492
- return false;
122493
- }
122494
- lastChar = start2 > 0 ? String.fromCharCode(state.src.charCodeAt(start2 - 1)) : " ";
122495
- nextChar = state.pos + 1 < state.posMax ? String.fromCharCode(state.src.charCodeAt(state.pos + 1)) : " ";
122496
- if (marker === 95 && WORD_CHAR_TEST_RE.test(lastChar) && WORD_CHAR_TEST_RE.test(nextChar)) {
122497
- return false;
122498
- }
122499
- if (start2 + 1 <= state.posMax) {
122500
- if (state.src.charCodeAt(start2 + 1) === marker) {
122501
- isDouble = true;
122502
- }
122503
- }
122504
- while (nextNewlinePos < state.posMax) {
122505
- if (state.src.charAt(nextNewlinePos) === "\n") {
122506
- break;
122507
- }
122508
- nextNewlinePos++;
122509
- }
122510
- if (state.src !== newlinePosSrc || nextNewlinePos > newlinePos) {
122511
- reset$1(state.src, nextNewlinePos);
122512
- }
122513
- token2 = state.push("text", "", 0);
122514
- token2.content = String.fromCharCode(marker);
122515
- if (isDouble) {
122516
- isDoubleOpen = !isDoubleOpen;
122517
- token2.content += String.fromCharCode(marker);
122518
- } else {
122519
- isSingleOpen = !isSingleOpen;
122520
- }
122521
- state.delimiters.push({
122522
- // Char code of the starting marker (number).
122523
- //
122524
- marker,
122525
- // An amount of characters before this one that's equivalent to
122526
- // current one. In plain English: if this delimiter does not open
122527
- // an emphasis, neither do previous `jump` characters.
122528
- //
122529
- // Used to skip sequences like "*****" in one step, for 1st asterisk
122530
- // value will be 0, for 2nd it's 1 and so on.
122531
- //
122532
- jump: 0,
122533
- // A position of the token this delimiter corresponds to.
122534
- //
122535
- token: state.tokens.length - 1,
122536
- // Token level.
122537
- //
122538
- level: state.level,
122539
- // If this delimiter is matched as a valid opener, `end` will be
122540
- // equal to its position, otherwise it's `-1`.
122541
- //
122542
- end: -1,
122543
- // Boolean flags that determine if this delimiter could open or close
122544
- // an emphasis.
122545
- //
122546
- open: isDouble ? isDoubleOpen : isSingleOpen,
122547
- close: isDouble ? !isDoubleOpen : !isSingleOpen,
122548
- isDoubleMarker: isDouble
122549
- });
122550
- state.pos++;
122551
- if (isDouble) {
122552
- state.pos++;
122553
- }
122554
- return true;
122555
- }
122556
- function postProcess(state) {
122557
- var i2, startDelim, endDelim, token2, ch, isStrong, delimiters = state.delimiters, max2 = state.delimiters.length;
122558
- for (i2 = 0; i2 < max2; i2++) {
122559
- startDelim = delimiters[i2];
122560
- if (startDelim.marker !== 95 && startDelim.marker !== 42) {
122561
- continue;
122562
- }
122563
- if (startDelim.end === -1) {
122564
- continue;
122565
- }
122566
- endDelim = delimiters[startDelim.end];
122567
- isStrong = startDelim.isDoubleMarker;
122568
- ch = String.fromCharCode(startDelim.marker);
122569
- token2 = state.tokens[startDelim.token];
122570
- token2.type = isStrong ? "strong_open" : "em_open";
122571
- token2.tag = isStrong ? "strong" : "em";
122572
- token2.nesting = 1;
122573
- token2.markup = isStrong ? ch + ch : ch;
122574
- token2.content = "";
122575
- token2 = state.tokens[endDelim.token];
122576
- token2.type = isStrong ? "strong_close" : "em_close";
122577
- token2.tag = isStrong ? "strong" : "em";
122578
- token2.nesting = -1;
122579
- token2.markup = isStrong ? ch + ch : ch;
122580
- token2.content = "";
122581
- }
122582
- }
122583
- var markdownItEmphasisAlt = function emphasis_alt(md2) {
122584
- reset$1(0);
122585
- if (!initialized) {
122586
- md2.disable("emphasis");
122587
- md2.inline.ruler.before("emphasis", "emphasis_alt", tokenize);
122588
- md2.inline.ruler2.before("emphasis", "emphasis_alt", postProcess);
122589
- initialized = true;
122590
- }
122591
- };
122592
- const markdownitEmphasisAlt = /* @__PURE__ */ getDefaultExportFromCjs(markdownItEmphasisAlt);
122593
122482
  function inlinecomment(state, silent) {
122594
122483
  var found, content2, max2 = state.posMax, start2 = state.pos;
122595
122484
  if (silent) {
@@ -122626,7 +122515,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122626
122515
  };
122627
122516
  const markdownitInlineComments = /* @__PURE__ */ getDefaultExportFromCjs(markdownItInlineComments);
122628
122517
  var markdownItBr = function br_plugin(md2) {
122629
- function tokenize2(state, silent) {
122518
+ function tokenize(state, silent) {
122630
122519
  var token2, max2 = state.posMax, start2 = state.pos, marker = state.src.charCodeAt(start2);
122631
122520
  if (start2 + 4 > max2) {
122632
122521
  return false;
@@ -122667,7 +122556,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122667
122556
  }
122668
122557
  }
122669
122558
  }
122670
- md2.inline.ruler.before("emphasis", "br", tokenize2);
122559
+ md2.inline.ruler.before("emphasis", "br", tokenize);
122671
122560
  md2.inline.ruler2.before("emphasis", "br", postProcess2);
122672
122561
  };
122673
122562
  const markdownitBr = /* @__PURE__ */ getDefaultExportFromCjs(markdownItBr);
@@ -122786,7 +122675,7 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122786
122675
  constructor(props) {
122787
122676
  super(props);
122788
122677
  __publicField(this, "markupRef");
122789
- ge(
122678
+ de(
122790
122679
  md,
122791
122680
  markdownitSub,
122792
122681
  markdownitSup,
@@ -122795,12 +122684,11 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122795
122684
  markdownitSynapseTable,
122796
122685
  markdownitStrikethroughAlt,
122797
122686
  container_plugin,
122798
- markdownitEmphasisAlt,
122799
122687
  markdownitInlineComments,
122800
122688
  markdownitBr
122801
122689
  );
122802
122690
  const mathSuffix = "";
122803
- md.use(he, mathSuffix, "https://synapse.org").use(
122691
+ md.use(ge, mathSuffix, "https://synapse.org").use(
122804
122692
  markdownitMath,
122805
122693
  mathSuffix
122806
122694
  );
@@ -122910,9 +122798,9 @@ query = syn.tableQuery("${clientSql}")${"\n"}query.asDataFrame()`
122910
122798
  * @memberof MarkdownSynapse
122911
122799
  */
122912
122800
  addBookmarks() {
122913
- fe();
122801
+ pe();
122914
122802
  this.createHTML(this.state.data.markdown);
122915
- const footnotesHtml = this.createHTML(pe()).__html;
122803
+ const footnotesHtml = this.createHTML(ce()).__html;
122916
122804
  if (footnotesHtml.length > 0) {
122917
122805
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Bookmarks, { footnotes: footnotesHtml });
122918
122806
  }
@@ -154807,7 +154695,7 @@ dl_list_file_entities = syn.get_download_list()`;
154807
154695
  }
154808
154696
  )
154809
154697
  ] }),
154810
- /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { className: "description", variant: "body1", children: "You may find your added files in the tabs below. Any files which require actions before download can be found in the Access Actions Required tab, while any that can be downloaded now can be found in the Download List tab." })
154698
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { className: "description", variant: "body1", children: "Your added files can be found in the tabs below. Files requiring actions before download are listed in the Access Actions Required tab, while those ready for download can be found in the Download List tab." })
154811
154699
  ] }) }),
154812
154700
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "tabs-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "container", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("ul", { className: "nav nav-tabs", children: [
154813
154701
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -160520,7 +160408,7 @@ dl_list_file_entities = syn.get_download_list()`;
160520
160408
  /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160521
160409
  "Sage Managed ",
160522
160410
  /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160523
- "Shared Storage*"
160411
+ "Individual Storage*"
160524
160412
  ] }) }),
160525
160413
  /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160526
160414
  "Sage Managed ",
@@ -160530,7 +160418,7 @@ dl_list_file_entities = syn.get_download_list()`;
160530
160418
  /* @__PURE__ */ jsxRuntimeExports.jsx(SelfManagedPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
160531
160419
  "Sage Managed ",
160532
160420
  /* @__PURE__ */ jsxRuntimeExports.jsx("br", {}),
160533
- "Shared Storage*"
160421
+ "Individual Storage*"
160534
160422
  ] }) }),
160535
160423
  /* @__PURE__ */ jsxRuntimeExports.jsx(RowDescriptionCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "Secure Cloud Storage" }) }),
160536
160424
  /* @__PURE__ */ jsxRuntimeExports.jsx(BasicPlanCell, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(Typography, { variant: "body1", children: "N/A" }) }),
@@ -160929,15 +160817,6 @@ dl_list_file_entities = syn.get_download_list()`;
160929
160817
  url: "https://nf.synapse.org/"
160930
160818
  }
160931
160819
  ),
160932
- /* @__PURE__ */ jsxRuntimeExports.jsx(
160933
- SynapsePoweredPortal,
160934
- {
160935
- logoUrl: "https://s3.amazonaws.com/static.synapse.org/images/Psychencode.svg",
160936
- name: "Psychencode Knowledge Portal",
160937
- description: "Investigation and large-scale data sets of genomic influences on neuropsychiatric disease.",
160938
- url: "https://psychencode.synapse.org/"
160939
- }
160940
- ),
160941
160820
  /* @__PURE__ */ jsxRuntimeExports.jsx(
160942
160821
  SynapsePoweredPortal,
160943
160822
  {
@@ -161222,56 +161101,6 @@ dl_list_file_entities = syn.get_download_list()`;
161222
161101
  }
161223
161102
  ) })
161224
161103
  ] })
161225
- ] }) }),
161226
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SynapseHomepage__Section PrimaryBackground", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "SynapseHomepage__Section__Centered SynapseHomepage__FlexColumn", children: [
161227
- /* @__PURE__ */ jsxRuntimeExports.jsx("h2", { className: "WhiteText", children: "Sign up for Synapse today" }),
161228
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "SignUpButtonContainer SynapseHomepage__MarginAutoDesktop", children: accessToken ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
161229
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161230
- Button,
161231
- {
161232
- href: DASHBOARD_LINK,
161233
- variant: "contained",
161234
- color: "lightPrimary",
161235
- sx: buttonSx,
161236
- children: "View Your Dashboard"
161237
- }
161238
- ),
161239
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161240
- Button,
161241
- {
161242
- onClick: () => window.open(
161243
- "https://help.synapse.org/docs/Getting-Started.2055471150.html",
161244
- "_blank",
161245
- "noopener"
161246
- ),
161247
- variant: "contained",
161248
- color: "darkPrimary",
161249
- sx: buttonSx,
161250
- children: "Get Help With Synapse"
161251
- }
161252
- )
161253
- ] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
161254
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161255
- Button,
161256
- {
161257
- href: LOGIN_LINK2,
161258
- variant: "contained",
161259
- color: "lightPrimary",
161260
- sx: buttonSx,
161261
- children: "Log in to Synapse"
161262
- }
161263
- ),
161264
- /* @__PURE__ */ jsxRuntimeExports.jsx(
161265
- Button,
161266
- {
161267
- href: registrationLink.toString(),
161268
- variant: "contained",
161269
- color: "darkPrimary",
161270
- sx: buttonSx,
161271
- children: "Register Now"
161272
- }
161273
- )
161274
- ] }) })
161275
161104
  ] }) })
161276
161105
  ] });
161277
161106
  };
@@ -162223,7 +162052,7 @@ dl_list_file_entities = syn.get_download_list()`;
162223
162052
  const elementCenterY = rect.top + rect.height / 2;
162224
162053
  const middleRangeStart = viewportHeight * 0.4;
162225
162054
  const middleRangeEnd = viewportHeight * 0.6;
162226
- if (elementCenterY >= middleRangeStart && elementCenterY <= middleRangeEnd) {
162055
+ if (elementCenterY <= middleRangeEnd) {
162227
162056
  return 1;
162228
162057
  } else {
162229
162058
  const distanceToMiddle = Math.min(
@@ -162711,7 +162540,7 @@ dl_list_file_entities = syn.get_download_list()`;
162711
162540
  category: "Explore Data",
162712
162541
  items: [
162713
162542
  "<100 GB of content",
162714
- "Sage managed shared storage",
162543
+ "Sage Managed Individual Storage",
162715
162544
  "4TB/year of data egress"
162716
162545
  ]
162717
162546
  }
@@ -163128,97 +162957,6 @@ dl_list_file_entities = syn.get_download_list()`;
163128
162957
  }
163129
162958
  );
163130
162959
  };
163131
- const boxShadow = "0px 4px 4px 0px rgba(0, 0, 0, 0.05), 0px 1px 1px 0px rgba(0, 0, 0, 0.05)";
163132
- const StyledPopper = styled(Popper)(() => ({
163133
- "& .MuiAutocomplete-paper": {
163134
- borderRadius: "0px 0px 40px 40px",
163135
- p: "0px 20px 20px 20px",
163136
- boxShadow
163137
- }
163138
- }));
163139
- const PopperAlwaysPlacedBelow = (props) => {
163140
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
163141
- StyledPopper,
163142
- {
163143
- ...props,
163144
- placement: "bottom",
163145
- modifiers: [{ name: "flip", enabled: false }]
163146
- }
163147
- );
163148
- };
163149
- const SynapseHomepageSearch = ({ sourceTable, gotoPlace }) => {
163150
- var _a3, _b2;
163151
- const [isPopperOpen, setIsPopperOpen] = React$2.useState(false);
163152
- const theme3 = useTheme$1();
163153
- const partMask = BUNDLE_MASK_QUERY_RESULTS;
163154
- const request = {
163155
- partMask,
163156
- concreteType: "org.sagebionetworks.repo.model.table.QueryBundleRequest",
163157
- entityId: sourceTable,
163158
- query: {
163159
- sql: `SELECT * FROM ${sourceTable}`,
163160
- limit: 10
163161
- }
163162
- };
163163
- const { data: queryResultResponse, isLoading } = useGetQueryResultBundleWithAsyncStatus(request);
163164
- const rowSet = (_b2 = (_a3 = queryResultResponse == null ? void 0 : queryResultResponse.responseBody) == null ? void 0 : _a3.queryResult) == null ? void 0 : _b2.queryResults;
163165
- const headers = rowSet == null ? void 0 : rowSet.headers;
163166
- const topSearchedColIndex = headers == null ? void 0 : headers.findIndex(
163167
- (selectColumn) => selectColumn.name == "top_searched"
163168
- );
163169
- return /* @__PURE__ */ jsxRuntimeExports.jsx(FormControl, { fullWidth: true, sx: { m: 1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163170
- Autocomplete,
163171
- {
163172
- freeSolo: true,
163173
- disableClearable: true,
163174
- filterOptions: (options2) => options2,
163175
- options: rowSet && !isLoading ? rowSet.rows.map((row) => row.values[topSearchedColIndex] ?? "") : ["..."],
163176
- onChange: (_event, newValue) => {
163177
- if (newValue) {
163178
- gotoPlace(`/Search:${encodeURIComponent(newValue)}`);
163179
- }
163180
- },
163181
- onOpen: () => setIsPopperOpen(true),
163182
- onClose: () => setIsPopperOpen(false),
163183
- PopperComponent: PopperAlwaysPlacedBelow,
163184
- groupBy: () => "Most popular searches",
163185
- renderInput: (params) => /* @__PURE__ */ jsxRuntimeExports.jsx(
163186
- TextField$1,
163187
- {
163188
- ...params,
163189
- variant: "outlined",
163190
- placeholder: "Search Synapse",
163191
- InputProps: {
163192
- ...params.InputProps,
163193
- sx: {
163194
- fontSize: "24px",
163195
- borderRadius: isPopperOpen ? "40px 40px 0px 0px" : "40px",
163196
- backgroundColor: "white",
163197
- boxShadow
163198
- },
163199
- startAdornment: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornment, { position: "start", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163200
- Box,
163201
- {
163202
- sx: {
163203
- ml: "15px",
163204
- display: "flex",
163205
- alignItems: "center"
163206
- },
163207
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163208
- Search$2,
163209
- {
163210
- size: 32,
163211
- fill: theme3.palette.secondary[600]
163212
- }
163213
- )
163214
- }
163215
- ) })
163216
- }
163217
- }
163218
- )
163219
- }
163220
- ) });
163221
- };
163222
162960
  const LOGIN_LINK = "/LoginPlace:0";
163223
162961
  const navTextButtonSx = {
163224
162962
  fontSize: "18px",
@@ -163482,7 +163220,6 @@ dl_list_file_entities = syn.get_download_list()`;
163482
163220
  const past30DaysDownloadMetricsTable = "syn61597084";
163483
163221
  const generalStatsMetricsTable = "syn61588163";
163484
163222
  const featuredDatasetsTable = "syn61609402";
163485
- const searchAutocompleteTable = "syn61670515";
163486
163223
  const popularSearches = [
163487
163224
  "Alzheimer's Disease",
163488
163225
  "Parkinson",
@@ -163540,6 +163277,10 @@ dl_list_file_entities = syn.get_download_list()`;
163540
163277
  const tinyView = useMediaQuery("(max-width:385px)");
163541
163278
  const isDesktopView = useMediaQuery(theme3.breakpoints.up("lg"));
163542
163279
  const { ref: ref2, inView } = useInView({ triggerOnce: true });
163280
+ const [searchValue, setSearchValue] = React$2.useState("");
163281
+ const onSearch = (value) => {
163282
+ gotoPlace(`/Search:${encodeURIComponent(value)}`);
163283
+ };
163543
163284
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { sx: { overflow: "hidden" }, children: [
163544
163285
  /* @__PURE__ */ jsxRuntimeExports.jsx(SynapseHomepageNavBar, { gotoPlace }),
163545
163286
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -163635,13 +163376,26 @@ dl_list_file_entities = syn.get_download_list()`;
163635
163376
  maxWidth: "600px",
163636
163377
  m: "auto"
163637
163378
  },
163638
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163639
- SynapseHomepageSearch,
163379
+ component: "form",
163380
+ onSubmit: (event) => {
163381
+ event.preventDefault();
163382
+ onSearch(searchValue);
163383
+ },
163384
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(FormControl, { fullWidth: true, sx: { m: 1 }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163385
+ OutlinedInput,
163640
163386
  {
163641
- sourceTable: searchAutocompleteTable,
163642
- gotoPlace
163387
+ startAdornment: /* @__PURE__ */ jsxRuntimeExports.jsx(InputAdornment, { position: "start", sx: { ml: "7px", mr: "13px" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
163388
+ Search$2,
163389
+ {
163390
+ size: 32,
163391
+ fill: theme3.palette.secondary[600]
163392
+ }
163393
+ ) }),
163394
+ placeholder: "Search Synapse",
163395
+ sx: { fontSize: "24px", borderRadius: 96.6 },
163396
+ onChange: (event) => setSearchValue(event.target.value)
163643
163397
  }
163644
- )
163398
+ ) })
163645
163399
  }
163646
163400
  ),
163647
163401
  /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -179479,10 +179233,10 @@ dl_list_file_entities = syn.get_download_list()`;
179479
179233
  const alertConfig = {
179480
179234
  title: "Our site uses cookies.",
179481
179235
  description: /* @__PURE__ */ jsxRuntimeExports.jsxs(Typography, { variant: "body1", children: [
179482
- "We use necessary cookies and store your data to ensure our websites function properly. With your consent, we would also like to use cookies to remember your preferences and improve our websites. Review our",
179236
+ "We use necessary cookies and store your data to ensure our websites function properly. With your consent, we would also like to use cookies to remember your preferences and enhance our websites. Please review our",
179483
179237
  " ",
179484
179238
  /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { href: PRIVACY_POLICY_LINK, children: "Privacy Policy" }),
179485
- ". By clicking “Accept All you consent to our use of cookies. You can change your cookie preference at any time from the Settings page."
179239
+ ". By clicking “Accept All,” you consent to our use of cookies. You can adjust your cookie preferences anytime on the Settings page."
179486
179240
  ] }),
179487
179241
  primaryButtonText: "ALLOW ALL",
179488
179242
  secondaryButtonText: "Disable All",
@@ -179550,7 +179304,7 @@ dl_list_file_entities = syn.get_download_list()`;
179550
179304
  )
179551
179305
  ] });
179552
179306
  };
179553
- const version = "3.3.4";
179307
+ const version = "3.3.6";
179554
179308
  const SynapseEnums = {
179555
179309
  BackendDestinationEnum
179556
179310
  };