dogfen 2026.1020.0 → 2026.1022.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dogfen.js CHANGED
@@ -60419,45 +60419,45 @@ var editor = null;
60419
60419
  function toggleEditor() {
60420
60420
  document.getElementById("editor").classList.toggle("hidden");
60421
60421
  }
60422
- function isCodeMode__dogfen_u19() {
60423
- var result_1006632980 = false;
60424
- if (!(cfg_1006632978[0].code == null)) {
60425
- result_1006632980 = !(cfg_1006632978[0].code == "");
60422
+ function isCodeMode__dogfen_u20() {
60423
+ var result_1006632981 = false;
60424
+ if (!(cfg_1006632979[0].code == null)) {
60425
+ result_1006632981 = !(cfg_1006632979[0].code == "");
60426
60426
  }
60427
- return result_1006632980;
60427
+ return result_1006632981;
60428
60428
  }
60429
60429
  async function renderDoc(doc_p0) {
60430
60430
  var Temporary12;
60431
- var result_1006633340 = null;
60431
+ var result_1006633343 = null;
60432
60432
  BeforeRet: {
60433
- var html_1006633346 = newHtml_1006632971[0];
60433
+ var html_1006633349 = newHtml_1006632972[0];
60434
60434
  if (!(doc_p0 == "")) {
60435
- if (!isCodeMode__dogfen_u19()) {
60435
+ if (!isCodeMode__dogfen_u20()) {
60436
60436
  Temporary12 = await marked.parse(doc_p0);
60437
60437
  } else {
60438
60438
  Label2: {
60439
- var fmtRes_1006633355 = [mnewString(0)];
60440
- fmtRes_1006633355[0].push.apply(fmtRes_1006633355[0], [96, 96, 96]);
60439
+ var fmtRes_1006633358 = [mnewString(0)];
60440
+ fmtRes_1006633358[0].push.apply(fmtRes_1006633358[0], [96, 96, 96]);
60441
60441
  ;
60442
- add__system_u1954(fmtRes_1006633355, 0, cfg_1006632978[0].code);
60443
- fmtRes_1006633355[0].push.apply(fmtRes_1006633355[0], [10]);
60442
+ add__system_u1954(fmtRes_1006633358, 0, cfg_1006632979[0].code);
60443
+ fmtRes_1006633358[0].push.apply(fmtRes_1006633358[0], [10]);
60444
60444
  ;
60445
- add__system_u1954(fmtRes_1006633355, 0, doc_p0);
60446
- fmtRes_1006633355[0].push.apply(fmtRes_1006633355[0], [10, 96, 96, 96]);
60445
+ add__system_u1954(fmtRes_1006633358, 0, doc_p0);
60446
+ fmtRes_1006633358[0].push.apply(fmtRes_1006633358[0], [10, 96, 96, 96]);
60447
60447
  ;
60448
60448
  }
60449
60449
  ;
60450
- Temporary12 = await marked.parse(toJSStr(fmtRes_1006633355[0]));
60450
+ Temporary12 = await marked.parse(toJSStr(fmtRes_1006633358[0]));
60451
60451
  }
60452
- var parseMarked_1006633360 = Temporary12;
60453
- html_1006633346 = purify.sanitize(parseMarked_1006633360);
60452
+ var parseMarked_1006633363 = Temporary12;
60453
+ html_1006633349 = purify.sanitize(parseMarked_1006633363);
60454
60454
  }
60455
- document.getElementById("preview").innerHTML = html_1006633346;
60456
- result_1006633340 = void 0;
60455
+ document.getElementById("preview").innerHTML = html_1006633349;
60456
+ result_1006633343 = void 0;
60457
60457
  break BeforeRet;
60458
60458
  }
60459
60459
  ;
60460
- return result_1006633340;
60460
+ return result_1006633343;
60461
60461
  }
60462
60462
  function nsuJoinSep(a_p0, sep_p1) {
60463
60463
  var result_721421870 = [];
@@ -60542,41 +60542,41 @@ function nsuSplitWhitespace(s_p0, maxsplit_p1) {
60542
60542
  result_721420988 = nimCopy(null, [], NTI721420831);
60543
60543
  Label1: {
60544
60544
  var xHEX60gensym74_721420994 = [];
60545
- var lastHEX60gensym59_1006633718 = 0;
60546
- var splitsHEX60gensym59_1006633719 = maxsplit_p1;
60545
+ var lastHEX60gensym59_1006633721 = 0;
60546
+ var splitsHEX60gensym59_1006633722 = maxsplit_p1;
60547
60547
  if (false) {
60548
60548
  failedAssertImpl__stdZassertions_u84([115, 116, 114, 117, 116, 105, 108, 115, 46, 110, 105, 109, 40, 52, 48, 54, 44, 32, 57, 41, 32, 96, 110, 111, 116, 32, 40, 39, 92, 120, 48, 48, 39, 32, 105, 110, 32, 87, 104, 105, 116, 101, 115, 112, 97, 99, 101, 41, 96, 32]);
60549
60549
  }
60550
60550
  Label2: {
60551
60551
  Label3: while (true) {
60552
- if (!(lastHEX60gensym59_1006633718 < s_p0.length)) break Label3;
60552
+ if (!(lastHEX60gensym59_1006633721 < s_p0.length)) break Label3;
60553
60553
  Label4: {
60554
60554
  Label5: while (true) {
60555
- if (!(lastHEX60gensym59_1006633718 < s_p0.length && ConstSet2[s_p0[chckIndx(lastHEX60gensym59_1006633718, 0, s_p0.length - 1)]] != void 0)) break Label5;
60556
- lastHEX60gensym59_1006633718 = addInt(lastHEX60gensym59_1006633718, 1);
60555
+ if (!(lastHEX60gensym59_1006633721 < s_p0.length && ConstSet2[s_p0[chckIndx(lastHEX60gensym59_1006633721, 0, s_p0.length - 1)]] != void 0)) break Label5;
60556
+ lastHEX60gensym59_1006633721 = addInt(lastHEX60gensym59_1006633721, 1);
60557
60557
  }
60558
60558
  }
60559
60559
  ;
60560
- var firstHEX60gensym59_1006633722 = lastHEX60gensym59_1006633718;
60560
+ var firstHEX60gensym59_1006633725 = lastHEX60gensym59_1006633721;
60561
60561
  Label6: {
60562
60562
  Label7: while (true) {
60563
- if (!(lastHEX60gensym59_1006633718 < s_p0.length && !(ConstSet3[s_p0[chckIndx(lastHEX60gensym59_1006633718, 0, s_p0.length - 1)]] != void 0))) break Label7;
60564
- lastHEX60gensym59_1006633718 = addInt(lastHEX60gensym59_1006633718, 1);
60563
+ if (!(lastHEX60gensym59_1006633721 < s_p0.length && !(ConstSet3[s_p0[chckIndx(lastHEX60gensym59_1006633721, 0, s_p0.length - 1)]] != void 0))) break Label7;
60564
+ lastHEX60gensym59_1006633721 = addInt(lastHEX60gensym59_1006633721, 1);
60565
60565
  }
60566
60566
  }
60567
60567
  ;
60568
- if (firstHEX60gensym59_1006633722 <= subInt(lastHEX60gensym59_1006633718, 1)) {
60569
- if (splitsHEX60gensym59_1006633719 == 0) {
60570
- lastHEX60gensym59_1006633718 = s_p0.length;
60568
+ if (firstHEX60gensym59_1006633725 <= subInt(lastHEX60gensym59_1006633721, 1)) {
60569
+ if (splitsHEX60gensym59_1006633722 == 0) {
60570
+ lastHEX60gensym59_1006633721 = s_p0.length;
60571
60571
  }
60572
- xHEX60gensym74_721420994 = substr__system_u3741(s_p0, firstHEX60gensym59_1006633722, subInt(lastHEX60gensym59_1006633718, 1));
60572
+ xHEX60gensym74_721420994 = substr__system_u3741(s_p0, firstHEX60gensym59_1006633725, subInt(lastHEX60gensym59_1006633721, 1));
60573
60573
  var Temporary8 = nimCopy(null, xHEX60gensym74_721420994, NTI33554449);
60574
60574
  result_721420988.push(Temporary8);
60575
60575
  ;
60576
- if (splitsHEX60gensym59_1006633719 == 0) {
60576
+ if (splitsHEX60gensym59_1006633722 == 0) {
60577
60577
  break Label2;
60578
60578
  }
60579
- splitsHEX60gensym59_1006633719 = subInt(splitsHEX60gensym59_1006633719, 1);
60579
+ splitsHEX60gensym59_1006633722 = subInt(splitsHEX60gensym59_1006633722, 1);
60580
60580
  }
60581
60581
  }
60582
60582
  }
@@ -60601,16 +60601,16 @@ function variant__libZhtml_u223(prefix_p0, css_p1) {
60601
60601
  var resultHEX60gensym7_1560281364 = newSeq__stdZsyncio_u559(chckRange(HEX3Atmp_1560281333.length, 0, 2147483647));
60602
60602
  Label2: {
60603
60603
  var it_1560281368 = [];
60604
- var i_1006633711 = 0;
60605
- var L_1006633712 = HEX3Atmp_1560281333.length;
60604
+ var i_1006633714 = 0;
60605
+ var L_1006633715 = HEX3Atmp_1560281333.length;
60606
60606
  Label3: {
60607
60607
  Label4: while (true) {
60608
- if (!(i_1006633711 < L_1006633712)) break Label4;
60609
- it_1560281368 = HEX3Atmp_1560281333[chckIndx(i_1006633711, 0, HEX3Atmp_1560281333.length - 1)];
60608
+ if (!(i_1006633714 < L_1006633715)) break Label4;
60609
+ it_1560281368 = HEX3Atmp_1560281333[chckIndx(i_1006633714, 0, HEX3Atmp_1560281333.length - 1)];
60610
60610
  resultHEX60gensym7_1560281364[chckIndx(iHEX60gensym7_1560281340, 0, resultHEX60gensym7_1560281364.length - 1)] = nimCopy(null, prefix_p0.concat([58], it_1560281368), NTI33554449);
60611
60611
  iHEX60gensym7_1560281340 = addInt(iHEX60gensym7_1560281340, 1);
60612
- i_1006633711 += 1;
60613
- if (!(HEX3Atmp_1560281333.length == L_1006633712)) {
60612
+ i_1006633714 += 1;
60613
+ if (!(HEX3Atmp_1560281333.length == L_1006633715)) {
60614
60614
  failedAssertImpl__stdZassertions_u84(makeNimstrLit("iterators.nim(254, 11) `len(a) == L` the length of the seq changed while iterating over it"));
60615
60615
  }
60616
60616
  }
@@ -60638,10 +60638,10 @@ function addStylesheet__libZhtml_u60(content_p0) {
60638
60638
  style_1560281150.innerHTML = toJSStr(content_p0);
60639
60639
  addToHead__libZhtml_u8(style_1560281150);
60640
60640
  }
60641
- function addStaticStyleSheet__dogfen_u688() {
60641
+ function addStaticStyleSheet__dogfen_u691() {
60642
60642
  addStylesheet__libZhtml_u60(makeNimstrLit('/* loading animation */\n#loading {\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: 9999;\n background: rgba(\n 255,\n 255,\n 255,\n 0.8\n ); /* Added background to see the spinner */\n\n /* Use Flexbox here to center the spinner on the screen */\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.lds-dual-ring {\n display: flex; /* Centers the image inside the ring */\n align-items: center;\n justify-content: center;\n width: 80px;\n height: 80px;\n position: relative; /* Keeps the :after ring anchored to this div */\n}\n\n.lds-dual-ring img {\n width: 40px; /* Adjust based on preference */\n height: auto;\n display: block;\n}\n\n.lds-dual-ring:after {\n content: " ";\n display: block;\n width: 64px;\n height: 64px;\n margin: 8px;\n border-radius: 50%;\n border: 6px solid #1d7526;\n border-color: #1d7526 transparent #1d7526 transparent;\n animation: lds-dual-ring 1.2s linear infinite;\n\n /* Absolute position ensures the ring spins around the center point \n without pushing the image out of the way */\n position: absolute;\n}\n\n@keyframes lds-dual-ring {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n\n#loading:not([un-cloak]) {\n display: none;\n}\n\n[un-cloak]:not(#loading) {\n display: none;\n}\n'));
60643
60643
  }
60644
- function addStaticStyleSheet__dogfen_u702() {
60644
+ function addStaticStyleSheet__dogfen_u705() {
60645
60645
  addStylesheet__libZhtml_u60(makeNimstrLit("/*!\n Theme: Default\n Description: Original highlight.js style\n Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>\n Maintainer: @highlightjs/core-team\n Website: https://highlightjs.org/\n License: see project LICENSE\n Touched: 2021\n*/\npre code.hljs {\n display: block;\n overflow-x: auto;\n padding: 1em;\n}\ncode.hljs {\n padding: 3px 5px;\n}\n.hljs {\n background: #f3f3f3;\n color: #444;\n}\n.hljs-comment {\n color: #697070;\n}\n.hljs-punctuation,\n.hljs-tag {\n color: #444a;\n}\n.hljs-tag .hljs-attr,\n.hljs-tag .hljs-name {\n color: #444;\n}\n.hljs-attribute,\n.hljs-doctag,\n.hljs-keyword,\n.hljs-meta .hljs-keyword,\n.hljs-name,\n.hljs-selector-tag {\n font-weight: 700;\n}\n.hljs-deletion,\n.hljs-number,\n.hljs-quote,\n.hljs-selector-class,\n.hljs-selector-id,\n.hljs-string,\n.hljs-template-tag,\n.hljs-type {\n color: #800;\n}\n.hljs-section,\n.hljs-title {\n color: #800;\n font-weight: 700;\n}\n.hljs-link,\n.hljs-operator,\n.hljs-regexp,\n.hljs-selector-attr,\n.hljs-selector-pseudo,\n.hljs-symbol,\n.hljs-template-variable,\n.hljs-variable {\n color: #ab5656;\n}\n.hljs-literal {\n color: #695;\n}\n.hljs-addition,\n.hljs-built_in,\n.hljs-bullet,\n.hljs-code {\n color: #397300;\n}\n.hljs-meta {\n color: #1f7199;\n}\n.hljs-meta .hljs-string {\n color: #38a;\n}\n.hljs-emphasis {\n font-style: italic;\n}\n.hljs-strong {\n font-weight: 700;\n}\n"));
60646
60646
  }
60647
60647
  function withAttr__libZhtml_u197(e_p0, k_p1, v_p2) {
@@ -60872,9 +60872,9 @@ function getDataUri__pureZuri_u450(data_p0, mime_p1, encoding_p2) {
60872
60872
  ;
60873
60873
  return result_1157628358;
60874
60874
  }
60875
- function setStyles__dogfen_u687() {
60876
- addStaticStyleSheet__dogfen_u688();
60877
- addStaticStyleSheet__dogfen_u702();
60875
+ function setStyles__dogfen_u690() {
60876
+ addStaticStyleSheet__dogfen_u691();
60877
+ addStaticStyleSheet__dogfen_u705();
60878
60878
  addToHead__libZhtml_u8(withAttr__libZhtml_u197(withAttr__libZhtml_u197(new__libZhtml_u138(7, "", "", "", ""), [114, 101, 108], [105, 99, 111, 110]), [104, 114, 101, 102], getDataUri__pureZuri_u450(makeNimstrLit('<svg xmlns="http://www.w3.org/2000/svg" id="emoji" viewBox="0 0 72 72"> <g id="color"> <rect x="15.0229" y="16.2834" width="41.9541" height="40.9771" fill="#F4AA41" stroke="none"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> </g> <g id="hair"/> <g id="skin"/> <g id="skin-shadow"/> <g id="line"> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 34.6258,17.1383 16,17.8834"/> <line x1="16" x2="56" y1="55.7479" y2="54.1479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="16" x2="16" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="56" x2="56" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="31.8614" y1="24.9034" y2="24.9034" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="30.1515" y2="30.1515" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="35.3997" y2="35.3997" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="40.6479" y2="40.6479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="45.896" y2="45.896" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/></g></svg>'), [105, 109, 97, 103, 101, 47, 115, 118, 103, 43, 120, 109, 108], [117, 116, 102, 45, 56])));
60879
60879
  }
60880
60880
  function initUri__pureZuri_u199(isIpv6_p0) {
@@ -60963,13 +60963,13 @@ function fastSubstr__pureZparseutils_u225(s_p0, token_p1, token_p1_Idx, length_p
60963
60963
  ;
60964
60964
  Label1: {
60965
60965
  var i_637534441 = 0;
60966
- var i_1006633735 = 0;
60966
+ var i_1006633738 = 0;
60967
60967
  Label2: {
60968
60968
  Label3: while (true) {
60969
- if (!(i_1006633735 < length_p2)) break Label3;
60970
- i_637534441 = i_1006633735;
60969
+ if (!(i_1006633738 < length_p2)) break Label3;
60970
+ i_637534441 = i_1006633738;
60971
60971
  token_p1[token_p1_Idx][chckIndx(i_637534441, 0, token_p1[token_p1_Idx].length - 1)] = s_p0[chckIndx(i_637534441, 0, s_p0.length - 1)];
60972
- i_1006633735 = addInt(i_1006633735, 1);
60972
+ i_1006633738 = addInt(i_1006633738, 1);
60973
60973
  }
60974
60974
  }
60975
60975
  ;
@@ -61036,18 +61036,18 @@ function parseAuthority__pureZuri_u151(authority_p0, result_p1) {
61036
61036
  if (!(i_1157628058 < authority_p0.length)) break Label2;
61037
61037
  switch (authority_p0[chckIndx(i_1157628058, 0, authority_p0.length - 1)]) {
61038
61038
  case 64:
61039
- var HEX3Atmp_1006633739 = nimCopy(null, result_p1.password, NTI33554449);
61039
+ var HEX3Atmp_1006633742 = nimCopy(null, result_p1.password, NTI33554449);
61040
61040
  result_p1.password = result_p1.port;
61041
- result_p1.port = HEX3Atmp_1006633739;
61041
+ result_p1.port = HEX3Atmp_1006633742;
61042
61042
  if (result_p1.port.length < 0) {
61043
61043
  for (var i = result_p1.port.length; i < 0; ++i) result_p1.port.push(0);
61044
61044
  } else {
61045
61045
  result_p1.port.length = 0;
61046
61046
  }
61047
61047
  ;
61048
- var HEX3Atmp_1006633740 = nimCopy(null, result_p1.username, NTI33554449);
61048
+ var HEX3Atmp_1006633743 = nimCopy(null, result_p1.username, NTI33554449);
61049
61049
  result_p1.username = result_p1.hostname;
61050
- result_p1.hostname = HEX3Atmp_1006633740;
61050
+ result_p1.hostname = HEX3Atmp_1006633743;
61051
61051
  if (result_p1.hostname.length < 0) {
61052
61052
  for (var i = result_p1.hostname.length; i < 0; ++i) result_p1.hostname.push(0);
61053
61053
  } else {
@@ -61255,84 +61255,84 @@ function parseData__pureZuri_u126(data_p0, i_p1, field_p2, field_p2_Idx, sep_p3)
61255
61255
  ;
61256
61256
  return result_1157628035[0];
61257
61257
  }
61258
- function initFromUri__dogfen_u611() {
61259
- var result_1006633574 = { href: [], raw: null, readOnly: false, lang: null, code: null };
61260
- var uri_1006633575 = parseUri__pureZuri_u276(cstrToNimstr(window.location.href));
61258
+ function initFromUri__dogfen_u614() {
61259
+ var result_1006633577 = { href: [], raw: null, readOnly: false, lang: null, code: null };
61260
+ var uri_1006633578 = parseUri__pureZuri_u276(cstrToNimstr(window.location.href));
61261
61261
  Label1: {
61262
- var k_1006633576 = [];
61263
- var v_1006633577 = [];
61264
- var i_1006633729 = 0;
61265
- var name_1006633730 = [[]];
61266
- var value_1006633731 = [[]];
61262
+ var k_1006633579 = [];
61263
+ var v_1006633580 = [];
61264
+ var i_1006633732 = 0;
61265
+ var name_1006633733 = [[]];
61266
+ var value_1006633734 = [[]];
61267
61267
  Label2: {
61268
61268
  Label3: while (true) {
61269
- if (!(i_1006633729 < uri_1006633575.query.length)) break Label3;
61270
- if (name_1006633730[0].length < 0) {
61271
- for (var i = name_1006633730[0].length; i < 0; ++i) name_1006633730[0].push(0);
61269
+ if (!(i_1006633732 < uri_1006633578.query.length)) break Label3;
61270
+ if (name_1006633733[0].length < 0) {
61271
+ for (var i = name_1006633733[0].length; i < 0; ++i) name_1006633733[0].push(0);
61272
61272
  } else {
61273
- name_1006633730[0].length = 0;
61273
+ name_1006633733[0].length = 0;
61274
61274
  }
61275
61275
  ;
61276
- i_1006633729 = parseData__pureZuri_u126(uri_1006633575.query, i_1006633729, name_1006633730, 0, 61);
61277
- if (value_1006633731[0].length < 0) {
61278
- for (var i = value_1006633731[0].length; i < 0; ++i) value_1006633731[0].push(0);
61276
+ i_1006633732 = parseData__pureZuri_u126(uri_1006633578.query, i_1006633732, name_1006633733, 0, 61);
61277
+ if (value_1006633734[0].length < 0) {
61278
+ for (var i = value_1006633734[0].length; i < 0; ++i) value_1006633734[0].push(0);
61279
61279
  } else {
61280
- value_1006633731[0].length = 0;
61280
+ value_1006633734[0].length = 0;
61281
61281
  }
61282
61282
  ;
61283
- if (i_1006633729 < uri_1006633575.query.length && uri_1006633575.query[chckIndx(i_1006633729, 0, uri_1006633575.query.length - 1)] == 61) {
61284
- i_1006633729 = addInt(i_1006633729, 1);
61285
- i_1006633729 = parseData__pureZuri_u126(uri_1006633575.query, i_1006633729, value_1006633731, 0, 38);
61286
- }
61287
- k_1006633576 = name_1006633730[0];
61288
- v_1006633577 = value_1006633731[0];
61289
- if (eqStrings(k_1006633576, [104, 114, 101, 102])) {
61290
- result_1006633574.href = nimCopy(null, v_1006633577, NTI33554449);
61283
+ if (i_1006633732 < uri_1006633578.query.length && uri_1006633578.query[chckIndx(i_1006633732, 0, uri_1006633578.query.length - 1)] == 61) {
61284
+ i_1006633732 = addInt(i_1006633732, 1);
61285
+ i_1006633732 = parseData__pureZuri_u126(uri_1006633578.query, i_1006633732, value_1006633734, 0, 38);
61286
+ }
61287
+ k_1006633579 = name_1006633733[0];
61288
+ v_1006633580 = value_1006633734[0];
61289
+ if (eqStrings(k_1006633579, [104, 114, 101, 102])) {
61290
+ result_1006633577.href = nimCopy(null, v_1006633580, NTI33554449);
61291
61291
  } else {
61292
- if (eqStrings(k_1006633576, [114, 97, 119])) {
61293
- result_1006633574.raw = (0, import_lz_string2.decompressFromEncodedURIComponent)(toJSStr(uri_1006633575.anchor));
61294
- if (result_1006633574.raw === null) {
61292
+ if (eqStrings(k_1006633579, [114, 97, 119])) {
61293
+ result_1006633577.raw = (0, import_lz_string2.decompressFromEncodedURIComponent)(toJSStr(uri_1006633578.anchor));
61294
+ if (result_1006633577.raw === null) {
61295
61295
  console.log("raw decrompression resulted in empty string");
61296
61296
  }
61297
61297
  } else {
61298
- if (eqStrings(k_1006633576, [114, 101, 97, 100, 45, 111, 110, 108, 121])) {
61299
- result_1006633574.readOnly = true;
61298
+ if (eqStrings(k_1006633579, [114, 101, 97, 100, 45, 111, 110, 108, 121])) {
61299
+ result_1006633577.readOnly = true;
61300
61300
  } else {
61301
- if (eqStrings(k_1006633576, [108, 97, 110, 103])) {
61302
- result_1006633574.lang = toJSStr(v_1006633577);
61301
+ if (eqStrings(k_1006633579, [108, 97, 110, 103])) {
61302
+ result_1006633577.lang = toJSStr(v_1006633580);
61303
61303
  } else {
61304
- if (eqStrings(k_1006633576, [99, 111, 100, 101])) {
61305
- result_1006633574.code = toJSStr(v_1006633577);
61304
+ if (eqStrings(k_1006633579, [99, 111, 100, 101])) {
61305
+ result_1006633577.code = toJSStr(v_1006633580);
61306
61306
  }
61307
61307
  }
61308
61308
  }
61309
61309
  }
61310
61310
  }
61311
- if (i_1006633729 < uri_1006633575.query.length) {
61312
- i_1006633729 = addInt(i_1006633729, 1);
61311
+ if (i_1006633732 < uri_1006633578.query.length) {
61312
+ i_1006633732 = addInt(i_1006633732, 1);
61313
61313
  }
61314
61314
  }
61315
61315
  }
61316
61316
  ;
61317
61317
  }
61318
61318
  ;
61319
- if (result_1006633574.lang === null) {
61320
- result_1006633574.lang = "en";
61319
+ if (result_1006633577.lang === null) {
61320
+ result_1006633577.lang = "en";
61321
61321
  }
61322
- return result_1006633574;
61322
+ return result_1006633577;
61323
61323
  }
61324
61324
  function withChildren__libZhtml_u91(e_p0, children_p1) {
61325
61325
  var result_1560281182 = null;
61326
61326
  result_1560281182 = e_p0;
61327
61327
  Label1: {
61328
61328
  var c_1560281196 = null;
61329
- var i_1006633744 = 0;
61329
+ var i_1006633747 = 0;
61330
61330
  Label2: {
61331
61331
  Label3: while (true) {
61332
- if (!(i_1006633744 < children_p1.length)) break Label3;
61333
- c_1560281196 = children_p1[chckIndx(i_1006633744, 0, children_p1.length - 1)];
61332
+ if (!(i_1006633747 < children_p1.length)) break Label3;
61333
+ c_1560281196 = children_p1[chckIndx(i_1006633747, 0, children_p1.length - 1)];
61334
61334
  result_1560281182.appendChild(c_1560281196);
61335
- i_1006633744 += 1;
61335
+ i_1006633747 += 1;
61336
61336
  }
61337
61337
  }
61338
61338
  ;
@@ -61346,15 +61346,15 @@ function withClass__libZhtml_u148(e_p0, class_p1) {
61346
61346
  result_1560281239.className = class_p1;
61347
61347
  return result_1560281239;
61348
61348
  }
61349
- function withId__dogfen_u33(e_p0, id_p1) {
61350
- var result_1006632997 = null;
61351
- result_1006632997 = withAttr__libZhtml_u197(e_p0, [105, 100], id_p1);
61352
- return result_1006632997;
61349
+ function withId__dogfen_u34(e_p0, id_p1) {
61350
+ var result_1006632998 = null;
61351
+ result_1006632998 = withAttr__libZhtml_u197(e_p0, [105, 100], id_p1);
61352
+ return result_1006632998;
61353
61353
  }
61354
- function loadingAnimation__dogfen_u21() {
61355
- var result_1006632982 = null;
61356
- result_1006632982 = withChildren__libZhtml_u91(withAttr__libZhtml_u197(withClass__libZhtml_u148(withId__dogfen_u33(new__libZhtml_u138(1, "", "", "", ""), [108, 111, 97, 100, 105, 110, 103]), "flex mx-auto"), [117, 110, 45, 99, 108, 111, 97, 107], []), [withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "lds-dual-ring"), [withAttr__libZhtml_u197(new__libZhtml_u138(8, "", "h-10 inner-logo", "", ""), [115, 114, 99], getDataUri__pureZuri_u450(makeNimstrLit('<svg xmlns="http://www.w3.org/2000/svg" id="emoji" viewBox="0 0 72 72"> <g id="color"> <rect x="15.0229" y="16.2834" width="41.9541" height="40.9771" fill="#F4AA41" stroke="none"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> </g> <g id="hair"/> <g id="skin"/> <g id="skin-shadow"/> <g id="line"> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 34.6258,17.1383 16,17.8834"/> <line x1="16" x2="56" y1="55.7479" y2="54.1479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="16" x2="16" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="56" x2="56" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="31.8614" y1="24.9034" y2="24.9034" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="30.1515" y2="30.1515" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="35.3997" y2="35.3997" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="40.6479" y2="40.6479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="45.896" y2="45.896" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/></g></svg>'), [105, 109, 97, 103, 101, 47, 115, 118, 103, 43, 120, 109, 108], [117, 116, 102, 45, 56]))])]);
61357
- return result_1006632982;
61354
+ function loadingAnimation__dogfen_u22() {
61355
+ var result_1006632983 = null;
61356
+ result_1006632983 = withChildren__libZhtml_u91(withAttr__libZhtml_u197(withClass__libZhtml_u148(withId__dogfen_u34(new__libZhtml_u138(1, "", "", "", ""), [108, 111, 97, 100, 105, 110, 103]), "flex mx-auto"), [117, 110, 45, 99, 108, 111, 97, 107], []), [withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "lds-dual-ring"), [withAttr__libZhtml_u197(new__libZhtml_u138(8, "", "h-10 inner-logo", "", ""), [115, 114, 99], getDataUri__pureZuri_u450(makeNimstrLit('<svg xmlns="http://www.w3.org/2000/svg" id="emoji" viewBox="0 0 72 72"> <g id="color"> <rect x="15.0229" y="16.2834" width="41.9541" height="40.9771" fill="#F4AA41" stroke="none"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> </g> <g id="hair"/> <g id="skin"/> <g id="skin-shadow"/> <g id="line"> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 34.6258,17.1383 16,17.8834"/> <line x1="16" x2="56" y1="55.7479" y2="54.1479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="16" x2="16" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="56" x2="56" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="31.8614" y1="24.9034" y2="24.9034" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="30.1515" y2="30.1515" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="35.3997" y2="35.3997" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="40.6479" y2="40.6479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="45.896" y2="45.896" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/></g></svg>'), [105, 109, 97, 103, 101, 47, 115, 118, 103, 43, 120, 109, 108], [117, 116, 102, 45, 56]))])]);
61357
+ return result_1006632983;
61358
61358
  }
61359
61359
  async function initMarked__depsZmarkedjs_u129() {
61360
61360
  var Temporary12;
@@ -61374,96 +61374,96 @@ async function initMarked__depsZmarkedjs_u129() {
61374
61374
  ;
61375
61375
  return result_1828716675;
61376
61376
  }
61377
- function then__dogfen_u486(future_p0, onSuccess_p1, onReject_p2) {
61378
- var result_1006633452 = null;
61377
+ function then__dogfen_u489(future_p0, onSuccess_p1, onReject_p2) {
61378
+ var result_1006633455 = null;
61379
61379
  BeforeRet: {
61380
- var ret_1006633467 = null;
61381
- ret_1006633467 = future_p0.then(onSuccess_p1, onReject_p2);
61382
- result_1006633452 = ret_1006633467;
61380
+ var ret_1006633470 = null;
61381
+ ret_1006633470 = future_p0.then(onSuccess_p1, onReject_p2);
61382
+ result_1006633455 = ret_1006633470;
61383
61383
  break BeforeRet;
61384
61384
  }
61385
61385
  ;
61386
- return result_1006633452;
61386
+ return result_1006633455;
61387
61387
  }
61388
- function then__dogfen_u445(future_p0, onSuccess_p1, onReject_p2) {
61389
- var result_1006633411 = null;
61388
+ function then__dogfen_u448(future_p0, onSuccess_p1, onReject_p2) {
61389
+ var result_1006633414 = null;
61390
61390
  BeforeRet: {
61391
- var ret_1006633441 = null;
61392
- ret_1006633441 = future_p0.then(onSuccess_p1, onReject_p2);
61393
- result_1006633411 = ret_1006633441;
61391
+ var ret_1006633444 = null;
61392
+ ret_1006633444 = future_p0.then(onSuccess_p1, onReject_p2);
61393
+ result_1006633414 = ret_1006633444;
61394
61394
  break BeforeRet;
61395
61395
  }
61396
61396
  ;
61397
- return result_1006633411;
61397
+ return result_1006633414;
61398
61398
  }
61399
- function HEX3Aanonymous__dogfen_u442(r_p0) {
61400
- var result_1006633404 = null;
61401
- result_1006633404 = r_p0.text();
61402
- return result_1006633404;
61399
+ function HEX3Aanonymous__dogfen_u445(r_p0) {
61400
+ var result_1006633407 = null;
61401
+ result_1006633407 = r_p0.text();
61402
+ return result_1006633407;
61403
61403
  }
61404
- function HEX3Aanonymous__dogfen_u483(t_p0) {
61404
+ function HEX3Aanonymous__dogfen_u486(t_p0) {
61405
61405
  this.cs0 = t_p0;
61406
61406
  }
61407
- function renderError__dogfen_u406(msg_p0) {
61408
- var result_1006633368 = null;
61409
- result_1006633368 = toJSStr(makeNimstrLit('<span class="bg-red block text-5xl text-black"> DOGFEN ERROR </span>').concat(msg_p0));
61410
- return result_1006633368;
61407
+ function renderError__dogfen_u409(msg_p0) {
61408
+ var result_1006633371 = null;
61409
+ result_1006633371 = toJSStr(makeNimstrLit('<span class="bg-red block text-5xl text-black"> DOGFEN ERROR </span>').concat(msg_p0));
61410
+ return result_1006633371;
61411
61411
  }
61412
- function errorFromUri__dogfen_u410(uri_p0, e_p1) {
61413
- var result_1006633373 = null;
61414
- result_1006633373 = renderError__dogfen_u406([102, 97, 105, 108, 101, 100, 32, 116, 111, 32, 102, 101, 116, 99, 104, 32, 100, 97, 116, 97, 32, 102, 114, 111, 109, 58, 32, 91].concat(uri_p0, [93, 40], uri_p0, [41, 92, 10, 115, 101, 101, 32, 98, 101, 108, 111, 119, 32, 102, 111, 114, 32, 101, 114, 114, 111, 114, 58, 10, 10, 60, 100, 105, 118, 32, 99, 108, 97, 115, 115, 61, 34, 98, 45, 51, 32, 98, 45, 115, 111, 108, 105, 100, 32, 98, 45, 114, 101, 100, 32, 112, 45, 53, 34, 62], cstrToNimstr(e_p1.message), [60, 47, 100, 105, 118, 62]));
61415
- return result_1006633373;
61412
+ function errorFromUri__dogfen_u413(uri_p0, e_p1) {
61413
+ var result_1006633376 = null;
61414
+ result_1006633376 = renderError__dogfen_u409([102, 97, 105, 108, 101, 100, 32, 116, 111, 32, 102, 101, 116, 99, 104, 32, 100, 97, 116, 97, 32, 102, 114, 111, 109, 58, 32, 91].concat(uri_p0, [93, 40], uri_p0, [41, 92, 10, 115, 101, 101, 32, 98, 101, 108, 111, 119, 32, 102, 111, 114, 32, 101, 114, 114, 111, 114, 58, 10, 10, 60, 100, 105, 118, 32, 99, 108, 97, 115, 115, 61, 34, 98, 45, 51, 32, 98, 45, 115, 111, 108, 105, 100, 32, 98, 45, 114, 101, 100, 32, 112, 45, 53, 34, 62], cstrToNimstr(e_p1.message), [60, 47, 100, 105, 118, 62]));
61415
+ return result_1006633376;
61416
61416
  }
61417
- function HEX3Aanonymous__dogfen_u509(e_p0) {
61418
- this.cs0 = errorFromUri__dogfen_u410(this.uri1, e_p0);
61417
+ function HEX3Aanonymous__dogfen_u512(e_p0) {
61418
+ this.cs0 = errorFromUri__dogfen_u413(this.uri1, e_p0);
61419
61419
  }
61420
- async function getFromUri__dogfen_u424(uri_p0) {
61420
+ async function getFromUri__dogfen_u427(uri_p0) {
61421
61421
  var Temporary12;
61422
61422
  var Temporary2;
61423
- var result_1006633387 = null;
61424
- var HEX3Aenv_1006633751 = null;
61425
- HEX3Aenv_1006633751 = { m_type: NTI1006633498, cs0: null, uri1: [] };
61426
- HEX3Aenv_1006633751.uri1 = nimCopy(null, uri_p0, NTI33554449);
61427
- HEX3Aenv_1006633751.cs0 = "";
61428
- Temporary12 = HEX3Aanonymous__dogfen_u483.bind(HEX3Aenv_1006633751);
61429
- Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u483;
61430
- Temporary12.ClE_0 = HEX3Aenv_1006633751;
61431
- Temporary2 = HEX3Aanonymous__dogfen_u509.bind(HEX3Aenv_1006633751);
61432
- Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u509;
61433
- Temporary2.ClE_0 = HEX3Aenv_1006633751;
61434
- await catch__depsZmarked95highlight_u1372(then__dogfen_u486(then__dogfen_u445(fetch(toJSStr(HEX3Aenv_1006633751.uri1)), HEX3Aanonymous__dogfen_u442, null), Temporary12, null), Temporary2);
61435
- result_1006633387 = HEX3Aenv_1006633751.cs0;
61436
- return result_1006633387;
61437
- }
61438
- async function getStart__dogfen_u550(cfg_p0) {
61439
- var result_1006633513 = null;
61423
+ var result_1006633390 = null;
61424
+ var HEX3Aenv_1006633754 = null;
61425
+ HEX3Aenv_1006633754 = { m_type: NTI1006633498, cs0: null, uri1: [] };
61426
+ HEX3Aenv_1006633754.uri1 = nimCopy(null, uri_p0, NTI33554449);
61427
+ HEX3Aenv_1006633754.cs0 = "";
61428
+ Temporary12 = HEX3Aanonymous__dogfen_u486.bind(HEX3Aenv_1006633754);
61429
+ Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u486;
61430
+ Temporary12.ClE_0 = HEX3Aenv_1006633754;
61431
+ Temporary2 = HEX3Aanonymous__dogfen_u512.bind(HEX3Aenv_1006633754);
61432
+ Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u512;
61433
+ Temporary2.ClE_0 = HEX3Aenv_1006633754;
61434
+ await catch__depsZmarked95highlight_u1372(then__dogfen_u489(then__dogfen_u448(fetch(toJSStr(HEX3Aenv_1006633754.uri1)), HEX3Aanonymous__dogfen_u445, null), Temporary12, null), Temporary2);
61435
+ result_1006633390 = HEX3Aenv_1006633754.cs0;
61436
+ return result_1006633390;
61437
+ }
61438
+ async function getStart__dogfen_u553(cfg_p0) {
61439
+ var result_1006633516 = null;
61440
61440
  await initMarked__depsZmarkedjs_u129();
61441
- var textarea_1006633531 = withId__dogfen_u33(document.querySelector("textarea"), [105, 110, 112, 117, 116, 98, 111, 120]);
61442
- var start_1006633532 = null;
61441
+ var textarea_1006633534 = withId__dogfen_u34(document.querySelector("textarea"), [105, 110, 112, 117, 116, 98, 111, 120]);
61442
+ var start_1006633535 = null;
61443
61443
  if (!(cfg_p0.raw === null)) {
61444
- start_1006633532 = cfg_p0.raw;
61444
+ start_1006633535 = cfg_p0.raw;
61445
61445
  } else {
61446
61446
  if (!eqStrings(cfg_p0.href, [])) {
61447
- start_1006633532 = await getFromUri__dogfen_u424(cfg_p0.href);
61447
+ start_1006633535 = await getFromUri__dogfen_u427(cfg_p0.href);
61448
61448
  } else {
61449
- if (!(textarea_1006633531.getAttribute("read-only") === null)) {
61449
+ if (!(textarea_1006633534.getAttribute("read-only") === null)) {
61450
61450
  cfg_p0.readOnly = true;
61451
61451
  }
61452
- if (!(textarea_1006633531.getAttribute("code") === null)) {
61453
- cfg_p0.code = textarea_1006633531.getAttribute("code");
61452
+ if (!(textarea_1006633534.getAttribute("code") === null)) {
61453
+ cfg_p0.code = textarea_1006633534.getAttribute("code");
61454
61454
  }
61455
- var lang_1006633546 = textarea_1006633531.getAttribute("lang");
61456
- if (!(lang_1006633546 === null)) {
61457
- cfg_p0.lang = lang_1006633546;
61455
+ var lang_1006633549 = textarea_1006633534.getAttribute("lang");
61456
+ if (!(lang_1006633549 === null)) {
61457
+ cfg_p0.lang = lang_1006633549;
61458
61458
  }
61459
- start_1006633532 = textarea_1006633531.value;
61459
+ start_1006633535 = textarea_1006633534.value;
61460
61460
  }
61461
61461
  }
61462
- if (!!(start_1006633532 == null)) {
61463
- failedAssertImpl__stdZassertions_u84([100, 111, 103, 102, 101, 110, 46, 110, 105, 109, 40, 50, 56, 56, 44, 32, 51, 41, 32, 96, 110, 111, 116, 32, 115, 116, 97, 114, 116, 46, 105, 115, 78, 105, 108, 96, 32]);
61462
+ if (!!(start_1006633535 == null)) {
61463
+ failedAssertImpl__stdZassertions_u84([100, 111, 103, 102, 101, 110, 46, 110, 105, 109, 40, 50, 57, 51, 44, 32, 51, 41, 32, 96, 110, 111, 116, 32, 115, 116, 97, 114, 116, 46, 105, 115, 78, 105, 108, 96, 32]);
61464
61464
  }
61465
- result_1006633513 = start_1006633532;
61466
- return result_1006633513;
61465
+ result_1006633516 = start_1006633535;
61466
+ return result_1006633516;
61467
61467
  }
61468
61468
  function nsuFindChar(s_p0, sub_p1, start_p2, last_p3) {
61469
61469
  var Temporary12;
@@ -61639,18 +61639,18 @@ function nossplitPath(path_p0) {
61639
61639
  var sepPos_1593835616 = -1;
61640
61640
  Label1: {
61641
61641
  var i_1593835622 = 0;
61642
- var colontmp__1006633801 = 0;
61643
- colontmp__1006633801 = subInt(path_p0.length, 1);
61644
- var res_1006633803 = colontmp__1006633801;
61642
+ var colontmp__1006633804 = 0;
61643
+ colontmp__1006633804 = subInt(path_p0.length, 1);
61644
+ var res_1006633806 = colontmp__1006633804;
61645
61645
  Label2: {
61646
61646
  Label3: while (true) {
61647
- if (!(0 <= res_1006633803)) break Label3;
61648
- i_1593835622 = res_1006633803;
61647
+ if (!(0 <= res_1006633806)) break Label3;
61648
+ i_1593835622 = res_1006633806;
61649
61649
  if (ConstSet11[path_p0[chckIndx(i_1593835622, 0, path_p0.length - 1)]] != void 0) {
61650
61650
  sepPos_1593835616 = i_1593835622;
61651
61651
  break Label1;
61652
61652
  }
61653
- res_1006633803 = subInt(res_1006633803, 1);
61653
+ res_1006633806 = subInt(res_1006633806, 1);
61654
61654
  }
61655
61655
  }
61656
61656
  ;
@@ -61726,54 +61726,54 @@ function nsuStrip(s_p0, leading_p1, trailing_p2, chars_p3) {
61726
61726
  result_721422925 = nimCopy(null, substr__system_u3741(s_p0, first_721422926, last_721422927), NTI33554449);
61727
61727
  return result_721422925;
61728
61728
  }
61729
- function extractTitle__dogfen_u525(doc_p0) {
61729
+ function extractTitle__dogfen_u528(doc_p0) {
61730
61730
  var Temporary6;
61731
- var result_1006633487 = [];
61731
+ var result_1006633490 = [];
61732
61732
  BeforeRet: {
61733
61733
  Label1: {
61734
- var l_1006633488 = [];
61735
- var colontmp__1006633806 = [];
61736
- colontmp__1006633806 = cstrToNimstr(doc_p0);
61737
- var first_1006633807 = 0;
61738
- var last_1006633808 = 0;
61739
- var eolpos_1006633809 = 0;
61734
+ var l_1006633491 = [];
61735
+ var colontmp__1006633809 = [];
61736
+ colontmp__1006633809 = cstrToNimstr(doc_p0);
61737
+ var first_1006633810 = 0;
61738
+ var last_1006633811 = 0;
61739
+ var eolpos_1006633812 = 0;
61740
61740
  Label2: {
61741
61741
  Label3: while (true) {
61742
61742
  if (false) break Label3;
61743
61743
  Label4: {
61744
61744
  Label5: while (true) {
61745
- if (!(last_1006633808 < colontmp__1006633806.length && !(ConstSet12[colontmp__1006633806[chckIndx(last_1006633808, 0, colontmp__1006633806.length - 1)]] != void 0))) break Label5;
61746
- last_1006633808 = addInt(last_1006633808, 1);
61745
+ if (!(last_1006633811 < colontmp__1006633809.length && !(ConstSet12[colontmp__1006633809[chckIndx(last_1006633811, 0, colontmp__1006633809.length - 1)]] != void 0))) break Label5;
61746
+ last_1006633811 = addInt(last_1006633811, 1);
61747
61747
  }
61748
61748
  }
61749
61749
  ;
61750
- eolpos_1006633809 = last_1006633808;
61751
- if (last_1006633808 < colontmp__1006633806.length) {
61752
- if (colontmp__1006633806[chckIndx(last_1006633808, 0, colontmp__1006633806.length - 1)] == 10) {
61753
- last_1006633808 = addInt(last_1006633808, 1);
61750
+ eolpos_1006633812 = last_1006633811;
61751
+ if (last_1006633811 < colontmp__1006633809.length) {
61752
+ if (colontmp__1006633809[chckIndx(last_1006633811, 0, colontmp__1006633809.length - 1)] == 10) {
61753
+ last_1006633811 = addInt(last_1006633811, 1);
61754
61754
  } else {
61755
- if (colontmp__1006633806[chckIndx(last_1006633808, 0, colontmp__1006633806.length - 1)] == 13) {
61756
- last_1006633808 = addInt(last_1006633808, 1);
61757
- if (last_1006633808 < colontmp__1006633806.length && colontmp__1006633806[chckIndx(last_1006633808, 0, colontmp__1006633806.length - 1)] == 10) {
61758
- last_1006633808 = addInt(last_1006633808, 1);
61755
+ if (colontmp__1006633809[chckIndx(last_1006633811, 0, colontmp__1006633809.length - 1)] == 13) {
61756
+ last_1006633811 = addInt(last_1006633811, 1);
61757
+ if (last_1006633811 < colontmp__1006633809.length && colontmp__1006633809[chckIndx(last_1006633811, 0, colontmp__1006633809.length - 1)] == 10) {
61758
+ last_1006633811 = addInt(last_1006633811, 1);
61759
61759
  }
61760
61760
  }
61761
61761
  }
61762
61762
  }
61763
61763
  if (false) {
61764
- Temporary6 = subInt(last_1006633808, 1);
61764
+ Temporary6 = subInt(last_1006633811, 1);
61765
61765
  } else {
61766
- Temporary6 = subInt(eolpos_1006633809, 1);
61766
+ Temporary6 = subInt(eolpos_1006633812, 1);
61767
61767
  }
61768
- l_1006633488 = substr__system_u3741(colontmp__1006633806, first_1006633807, Temporary6);
61769
- if (nsuStartsWith(nsuStrip(l_1006633488, true, true, ConstSet13), [35])) {
61770
- result_1006633487 = nimCopy(null, nsuStrip(nsuReplaceStr(l_1006633488, [35], []), true, true, ConstSet14), NTI33554449);
61768
+ l_1006633491 = substr__system_u3741(colontmp__1006633809, first_1006633810, Temporary6);
61769
+ if (nsuStartsWith(nsuStrip(l_1006633491, true, true, ConstSet13), [35])) {
61770
+ result_1006633490 = nimCopy(null, nsuStrip(nsuReplaceStr(l_1006633491, [35], []), true, true, ConstSet14), NTI33554449);
61771
61771
  break BeforeRet;
61772
61772
  }
61773
- if (eolpos_1006633809 == last_1006633808) {
61773
+ if (eolpos_1006633812 == last_1006633811) {
61774
61774
  break Label2;
61775
61775
  }
61776
- first_1006633807 = last_1006633808;
61776
+ first_1006633810 = last_1006633811;
61777
61777
  }
61778
61778
  }
61779
61779
  ;
@@ -61781,19 +61781,19 @@ function extractTitle__dogfen_u525(doc_p0) {
61781
61781
  ;
61782
61782
  }
61783
61783
  ;
61784
- return result_1006633487;
61784
+ return result_1006633490;
61785
61785
  }
61786
- function setTitle__dogfen_u529(start_p0) {
61787
- var parts_1006633495 = [[100, 111, 103, 102, 101, 110]];
61788
- parts_1006633495.push(nsuReplaceStr(getFileName__libZhtml_u79(), [46, 104, 116, 109, 108], []));
61786
+ function setTitle__dogfen_u532(start_p0) {
61787
+ var parts_1006633498 = [[100, 111, 103, 102, 101, 110]];
61788
+ parts_1006633498.push(nsuReplaceStr(getFileName__libZhtml_u79(), [46, 104, 116, 109, 108], []));
61789
61789
  ;
61790
61790
  if (!(start_p0 === null)) {
61791
- parts_1006633495.push(extractTitle__dogfen_u525(start_p0));
61791
+ parts_1006633498.push(extractTitle__dogfen_u528(start_p0));
61792
61792
  ;
61793
61793
  } else {
61794
61794
  document.title = "dogfen";
61795
61795
  }
61796
- document.title = toJSStr(nsuJoinSep(parts_1006633495, [32, 45, 32]));
61796
+ document.title = toJSStr(nsuJoinSep(parts_1006633498, [32, 45, 32]));
61797
61797
  }
61798
61798
  function withAttr__libZhtml_u192(e_p0, k_p1, v_p2) {
61799
61799
  var result_1560281284 = null;
@@ -61813,41 +61813,41 @@ function withOnClick__libZhtml_u164(e_p0, p_p1) {
61813
61813
  result_1560281257.onclick = p_p1;
61814
61814
  return result_1560281257;
61815
61815
  }
61816
- function editBtnElement__dogfen_u70() {
61816
+ function editBtnElement__dogfen_u71() {
61817
61817
  var Temporary12;
61818
- function HEX3Aanonymous__dogfen_u76(e_p0) {
61818
+ function HEX3Aanonymous__dogfen_u77(e_p0) {
61819
61819
  toggleEditor();
61820
61820
  }
61821
- var result_1006633031 = null;
61822
- Temporary12 = HEX3Aanonymous__dogfen_u76.bind(null);
61823
- Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u76;
61821
+ var result_1006633032 = null;
61822
+ Temporary12 = HEX3Aanonymous__dogfen_u77.bind(null);
61823
+ Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u77;
61824
61824
  Temporary12.ClE_0 = null;
61825
- result_1006633031 = withOnClick__libZhtml_u164(withHtml__libZhtml_u152(withAttr__libZhtml_u197(withClass__libZhtml_u148(withId__dogfen_u33(new__libZhtml_u138(5, "", "", "", ""), [101, 100, 105, 116, 45, 98, 116, 110]), "btn-small"), [116, 121, 112, 101], [98, 117, 116, 116, 111, 110]), '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3 21v-4.25L16.2 3.575q.3-.275.663-.425t.762-.15t.775.15t.65.45L20.425 5q.3.275.438.65T21 6.4q0 .4-.137.763t-.438.662L7.25 21zM17.6 7.8L19 6.4L17.6 5l-1.4 1.4z"/></svg>'), Temporary12);
61826
- return result_1006633031;
61825
+ result_1006633032 = withOnClick__libZhtml_u164(withHtml__libZhtml_u152(withAttr__libZhtml_u197(withClass__libZhtml_u148(withId__dogfen_u34(new__libZhtml_u138(5, "", "", "", ""), [101, 100, 105, 116, 45, 98, 116, 110]), "btn-small"), [116, 121, 112, 101], [98, 117, 116, 116, 111, 110]), '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3 21v-4.25L16.2 3.575q.3-.275.663-.425t.762-.15t.775.15t.65.45L20.425 5q.3.275.438.65T21 6.4q0 .4-.137.763t-.438.662L7.25 21zM17.6 7.8L19 6.4L17.6 5l-1.4 1.4z"/></svg>'), Temporary12);
61826
+ return result_1006633032;
61827
61827
  }
61828
- function toggle__dogfen_u222(b_p0, b_p0_Idx) {
61828
+ function toggle__dogfen_u223(b_p0, b_p0_Idx) {
61829
61829
  b_p0[b_p0_Idx] = !b_p0[b_p0_Idx];
61830
61830
  }
61831
- function toggleMenu__dogfen_u224(e_p0) {
61831
+ function toggleMenu__dogfen_u225(e_p0) {
61832
61832
  var Temporary12;
61833
- toggle__dogfen_u222(menuOpen_1006633181, 0);
61834
- var btn_1006633186 = document.getElementById("menu-btn");
61835
- if (menuOpen_1006633181[0]) {
61833
+ toggle__dogfen_u223(menuOpen_1006633182, 0);
61834
+ var btn_1006633187 = document.getElementById("menu-btn");
61835
+ if (menuOpen_1006633182[0]) {
61836
61836
  Temporary12 = makeNimstrLit('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6.4 19L5 17.6l5.6-5.6L5 6.4L6.4 5l5.6 5.6L17.6 5L19 6.4L13.4 12l5.6 5.6l-1.4 1.4l-5.6-5.6z"/></svg> ');
61837
61837
  } else {
61838
61838
  Temporary12 = makeNimstrLit('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 18q-.425 0-.712-.288T3 17t.288-.712T4 16h16q.425 0 .713.288T21 17t-.288.713T20 18zm0-5q-.425 0-.712-.288T3 12t.288-.712T4 11h16q.425 0 .713.288T21 12t-.288.713T20 13zm0-5q-.425 0-.712-.288T3 7t.288-.712T4 6h16q.425 0 .713.288T21 7t-.288.713T20 8z"/></svg>');
61839
61839
  }
61840
- btn_1006633186.innerHTML = toJSStr(Temporary12);
61840
+ btn_1006633187.innerHTML = toJSStr(Temporary12);
61841
61841
  document.getElementById("menu").classList.toggle("hidden");
61842
61842
  }
61843
- function menuBtn__dogfen_u227() {
61843
+ function menuBtn__dogfen_u228() {
61844
61844
  var Temporary12;
61845
- var result_1006633188 = null;
61846
- Temporary12 = toggleMenu__dogfen_u224.bind(null);
61847
- Temporary12.ClP_0 = toggleMenu__dogfen_u224;
61845
+ var result_1006633189 = null;
61846
+ Temporary12 = toggleMenu__dogfen_u225.bind(null);
61847
+ Temporary12.ClP_0 = toggleMenu__dogfen_u225;
61848
61848
  Temporary12.ClE_0 = null;
61849
- result_1006633188 = withOnClick__libZhtml_u164(withAttr__libZhtml_u197(withId__dogfen_u33(withHtml__libZhtml_u152(withClass__libZhtml_u148(new__libZhtml_u138(5, "", "", "", ""), "btn-small"), '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 18q-.425 0-.712-.288T3 17t.288-.712T4 16h16q.425 0 .713.288T21 17t-.288.713T20 18zm0-5q-.425 0-.712-.288T3 12t.288-.712T4 11h16q.425 0 .713.288T21 12t-.288.713T20 13zm0-5q-.425 0-.712-.288T3 7t.288-.712T4 6h16q.425 0 .713.288T21 7t-.288.713T20 8z"/></svg>'), [109, 101, 110, 117, 45, 98, 116, 110]), [116, 121, 112, 101], [98, 117, 116, 116, 111, 110]), Temporary12);
61850
- return result_1006633188;
61849
+ result_1006633189 = withOnClick__libZhtml_u164(withAttr__libZhtml_u197(withId__dogfen_u34(withHtml__libZhtml_u152(withClass__libZhtml_u148(new__libZhtml_u138(5, "", "", "", ""), "btn-small"), '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M4 18q-.425 0-.712-.288T3 17t.288-.712T4 16h16q.425 0 .713.288T21 17t-.288.713T20 18zm0-5q-.425 0-.712-.288T3 12t.288-.712T4 11h16q.425 0 .713.288T21 12t-.288.713T20 13zm0-5q-.425 0-.712-.288T3 7t.288-.712T4 6h16q.425 0 .713.288T21 7t-.288.713T20 8z"/></svg>'), [109, 101, 110, 117, 45, 98, 116, 110]), [116, 121, 112, 101], [98, 117, 116, 116, 111, 110]), Temporary12);
61850
+ return result_1006633189;
61851
61851
  }
61852
61852
  function withText__libZhtml_u156(e_p0, text_p1) {
61853
61853
  var result_1560281247 = null;
@@ -61855,96 +61855,96 @@ function withText__libZhtml_u156(e_p0, text_p1) {
61855
61855
  result_1560281247.textContent = text_p1;
61856
61856
  return result_1560281247;
61857
61857
  }
61858
- function newMenuItem__dogfen_u294(text_p0, onClick_p1) {
61859
- var result_1006633259 = null;
61860
- var inner_1006633260 = withOnClick__libZhtml_u164(withText__libZhtml_u156(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "py-2 px-1 cursor-pointer hover:bg-gray-300 rounded"), text_p0), onClick_p1);
61861
- result_1006633259 = withChildren__libZhtml_u91(new__libZhtml_u138(3, "", "", "", ""), [inner_1006633260]);
61862
- return result_1006633259;
61863
- }
61864
- function divider__dogfen_u301() {
61858
+ function newMenuItem__dogfen_u297(text_p0, onClick_p1) {
61865
61859
  var result_1006633262 = null;
61866
- result_1006633262 = withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "border b-1 border-solid");
61860
+ var inner_1006633263 = withOnClick__libZhtml_u164(withText__libZhtml_u156(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "py-2 px-1 cursor-pointer hover:bg-gray-300 rounded"), text_p0), onClick_p1);
61861
+ result_1006633262 = withChildren__libZhtml_u91(new__libZhtml_u138(3, "", "", "", ""), [inner_1006633263]);
61867
61862
  return result_1006633262;
61868
61863
  }
61864
+ function divider__dogfen_u304() {
61865
+ var result_1006633265 = null;
61866
+ result_1006633265 = withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "border b-1 border-solid");
61867
+ return result_1006633265;
61868
+ }
61869
61869
  function HEX3Aanonymous__libZhtml_u330() {
61870
61870
  this.e0.innerHTML = this.current1;
61871
61871
  }
61872
61872
  function setHtmlTimeout__libZhtml_u307(e_p0, innerHtml_p1, timeout_p2) {
61873
61873
  var Temporary12;
61874
- var HEX3Aenv_1006633816 = null;
61875
- HEX3Aenv_1006633816 = { m_type: NTI1006633532, e0: null, current1: null };
61876
- HEX3Aenv_1006633816.e0 = e_p0;
61877
- HEX3Aenv_1006633816.current1 = HEX3Aenv_1006633816.e0.innerHTML;
61878
- HEX3Aenv_1006633816.e0.innerHTML = innerHtml_p1;
61879
- Temporary12 = HEX3Aanonymous__libZhtml_u330.bind(HEX3Aenv_1006633816);
61874
+ var HEX3Aenv_1006633819 = null;
61875
+ HEX3Aenv_1006633819 = { m_type: NTI1006633532, e0: null, current1: null };
61876
+ HEX3Aenv_1006633819.e0 = e_p0;
61877
+ HEX3Aenv_1006633819.current1 = HEX3Aenv_1006633819.e0.innerHTML;
61878
+ HEX3Aenv_1006633819.e0.innerHTML = innerHtml_p1;
61879
+ Temporary12 = HEX3Aanonymous__libZhtml_u330.bind(HEX3Aenv_1006633819);
61880
61880
  Temporary12.ClP_0 = HEX3Aanonymous__libZhtml_u330;
61881
- Temporary12.ClE_0 = HEX3Aenv_1006633816;
61881
+ Temporary12.ClE_0 = HEX3Aenv_1006633819;
61882
61882
  setTimeout(Temporary12, timeout_p2);
61883
61883
  }
61884
- function dogFenLine__dogfen_u160(scriptTag_p0) {
61885
- var result_1006633122 = [];
61884
+ function dogFenLine__dogfen_u161(scriptTag_p0) {
61885
+ var result_1006633123 = [];
61886
61886
  BeforeRet: {
61887
- var s_1006633123 = [[60, 33, 100, 111, 99, 116, 121, 112, 101, 32, 104, 116, 109, 108, 62].concat(scriptTag_p0, [60, 116, 101, 120, 116, 97, 114, 101, 97, 32, 115, 116, 121, 108, 101, 61, 100, 105, 115, 112, 108, 97, 121, 58, 110, 111, 110, 101])];
61888
- if (isCodeMode__dogfen_u19()) {
61889
- add__system_u1954(s_1006633123, 0, " code=" + cfg_1006632978[0].code + ">");
61887
+ var s_1006633124 = [[60, 33, 100, 111, 99, 116, 121, 112, 101, 32, 104, 116, 109, 108, 62].concat(scriptTag_p0, [60, 116, 101, 120, 116, 97, 114, 101, 97, 32, 115, 116, 121, 108, 101, 61, 100, 105, 115, 112, 108, 97, 121, 58, 110, 111, 110, 101])];
61888
+ if (isCodeMode__dogfen_u20()) {
61889
+ add__system_u1954(s_1006633124, 0, " code=" + cfg_1006632979[0].code + ">");
61890
61890
  }
61891
- result_1006633122 = nimCopy(null, s_1006633123[0].concat([62]), NTI33554449);
61891
+ result_1006633123 = nimCopy(null, s_1006633124[0].concat([62]), NTI33554449);
61892
61892
  break BeforeRet;
61893
61893
  }
61894
61894
  ;
61895
- return result_1006633122;
61895
+ return result_1006633123;
61896
61896
  }
61897
- function getCurrentDoc__dogfen_u95() {
61898
- var result_1006633056 = null;
61899
- result_1006633056 = editor.state.doc.toString();
61900
- return result_1006633056;
61897
+ function getCurrentDoc__dogfen_u96() {
61898
+ var result_1006633057 = null;
61899
+ result_1006633057 = editor.state.doc.toString();
61900
+ return result_1006633057;
61901
61901
  }
61902
- function withAttrs__dogfen_u102(e_p0, pairs_p1) {
61903
- var result_1006633066 = null;
61904
- result_1006633066 = e_p0;
61902
+ function withAttrs__dogfen_u103(e_p0, pairs_p1) {
61903
+ var result_1006633067 = null;
61904
+ result_1006633067 = e_p0;
61905
61905
  Label1: {
61906
- var k_1006633070 = [];
61907
- var v_1006633071 = [];
61908
- var i_1006633852 = 0;
61906
+ var k_1006633071 = [];
61907
+ var v_1006633072 = [];
61908
+ var i_1006633855 = 0;
61909
61909
  Label2: {
61910
61910
  Label3: while (true) {
61911
- if (!(i_1006633852 < pairs_p1.length)) break Label3;
61912
- k_1006633070 = pairs_p1[chckIndx(i_1006633852, 0, pairs_p1.length - 1)]["Field0"];
61913
- v_1006633071 = pairs_p1[chckIndx(i_1006633852, 0, pairs_p1.length - 1)]["Field1"];
61914
- result_1006633066.setAttribute(toJSStr(k_1006633070), toJSStr(v_1006633071));
61915
- i_1006633852 += 1;
61911
+ if (!(i_1006633855 < pairs_p1.length)) break Label3;
61912
+ k_1006633071 = pairs_p1[chckIndx(i_1006633855, 0, pairs_p1.length - 1)]["Field0"];
61913
+ v_1006633072 = pairs_p1[chckIndx(i_1006633855, 0, pairs_p1.length - 1)]["Field1"];
61914
+ result_1006633067.setAttribute(toJSStr(k_1006633071), toJSStr(v_1006633072));
61915
+ i_1006633855 += 1;
61916
61916
  }
61917
61917
  }
61918
61918
  ;
61919
61919
  }
61920
61920
  ;
61921
- return result_1006633066;
61922
- }
61923
- function downloadPageAction__dogfen_u97(html_p0, filename_p1) {
61924
- var blob_1006633060 = new Blob([toJSStr(html_p0)], { type: "text/html" });
61925
- var url_1006633061 = window.URL.createObjectURL(blob_1006633060);
61926
- var link_1006633072 = withAttrs__dogfen_u102(new__libZhtml_u138(6, "", "", "", ""), [nimCopy(null, { Field0: [104, 114, 101, 102], Field1: cstrToNimstr(url_1006633061) }, NTI1006633010), nimCopy(null, { Field0: [100, 111, 119, 110, 108, 111, 97, 100], Field1: nimCopy(null, filename_p1, NTI33554449) }, NTI1006633010)]);
61927
- document.body.appendChild(link_1006633072);
61928
- link_1006633072.click();
61929
- document.body.removeChild(link_1006633072);
61930
- window.URL.revokeObjectURL(url_1006633061);
61931
- }
61932
- function downloadPage__dogfen_u219() {
61933
- var fullHtml_1006633180 = dogFenLine__dogfen_u160([60, 115, 99, 114, 105, 112, 116, 32, 116, 121, 112, 101, 61, 109, 111, 100, 117, 108, 101, 32, 115, 114, 99, 61, 104, 116, 116, 112, 115, 58, 47, 47, 101, 115, 109, 46, 115, 104, 47, 100, 111, 103, 102, 101, 110, 62, 60, 47, 115, 99, 114, 105, 112, 116, 62]).concat(cstrToNimstr(getCurrentDoc__dogfen_u95()));
61934
- downloadPageAction__dogfen_u97(fullHtml_1006633180, getFileName__libZhtml_u79());
61935
- }
61936
- async function downloadPageOffline__dogfen_u165() {
61937
- var result_1006633127 = null;
61921
+ return result_1006633067;
61922
+ }
61923
+ function downloadPageAction__dogfen_u98(html_p0, filename_p1) {
61924
+ var blob_1006633061 = new Blob([toJSStr(html_p0)], { type: "text/html" });
61925
+ var url_1006633062 = window.URL.createObjectURL(blob_1006633061);
61926
+ var link_1006633073 = withAttrs__dogfen_u103(new__libZhtml_u138(6, "", "", "", ""), [nimCopy(null, { Field0: [104, 114, 101, 102], Field1: cstrToNimstr(url_1006633062) }, NTI1006633010), nimCopy(null, { Field0: [100, 111, 119, 110, 108, 111, 97, 100], Field1: nimCopy(null, filename_p1, NTI33554449) }, NTI1006633010)]);
61927
+ document.body.appendChild(link_1006633073);
61928
+ link_1006633073.click();
61929
+ document.body.removeChild(link_1006633073);
61930
+ window.URL.revokeObjectURL(url_1006633062);
61931
+ }
61932
+ function downloadPage__dogfen_u220() {
61933
+ var fullHtml_1006633181 = dogFenLine__dogfen_u161([60, 115, 99, 114, 105, 112, 116, 32, 116, 121, 112, 101, 61, 109, 111, 100, 117, 108, 101, 32, 115, 114, 99, 61, 104, 116, 116, 112, 115, 58, 47, 47, 101, 115, 109, 46, 115, 104, 47, 100, 111, 103, 102, 101, 110, 62, 60, 47, 115, 99, 114, 105, 112, 116, 62]).concat(cstrToNimstr(getCurrentDoc__dogfen_u96()));
61934
+ downloadPageAction__dogfen_u98(fullHtml_1006633181, getFileName__libZhtml_u79());
61935
+ }
61936
+ async function downloadPageOffline__dogfen_u166() {
61937
+ var result_1006633128 = null;
61938
61938
  BeforeRet: {
61939
- var response_1006633140 = await fetch("https://unpkg.dev/dogfen");
61940
- var scriptSrc_1006633145 = cstrToNimstr(await response_1006633140.text());
61941
- var fullHtml_1006633146 = dogFenLine__dogfen_u160([10, 60, 115, 99, 114, 105, 112, 116, 32, 116, 121, 112, 101, 61, 109, 111, 100, 117, 108, 101, 62].concat(scriptSrc_1006633145, [60, 47, 115, 99, 114, 105, 112, 116, 62, 10])).concat(cstrToNimstr(getCurrentDoc__dogfen_u95()));
61942
- downloadPageAction__dogfen_u97(fullHtml_1006633146, getFileName__libZhtml_u79());
61943
- result_1006633127 = void 0;
61939
+ var response_1006633141 = await fetch("https://unpkg.dev/dogfen");
61940
+ var scriptSrc_1006633146 = cstrToNimstr(await response_1006633141.text());
61941
+ var fullHtml_1006633147 = dogFenLine__dogfen_u161([10, 60, 115, 99, 114, 105, 112, 116, 32, 116, 121, 112, 101, 61, 109, 111, 100, 117, 108, 101, 62].concat(scriptSrc_1006633146, [60, 47, 115, 99, 114, 105, 112, 116, 62, 10])).concat(cstrToNimstr(getCurrentDoc__dogfen_u96()));
61942
+ downloadPageAction__dogfen_u98(fullHtml_1006633147, getFileName__libZhtml_u79());
61943
+ result_1006633128 = void 0;
61944
61944
  break BeforeRet;
61945
61945
  }
61946
61946
  ;
61947
- return result_1006633127;
61947
+ return result_1006633128;
61948
61948
  }
61949
61949
  function toHexImpl__pureZstrutils_u777(x_p0, len_p1, handleNegative_p2) {
61950
61950
  var result_721421069 = [];
@@ -61952,19 +61952,19 @@ function toHexImpl__pureZstrutils_u777(x_p0, len_p1, handleNegative_p2) {
61952
61952
  result_721421069 = nimCopy(null, mnewString(len_p1), NTI33554449);
61953
61953
  Label1: {
61954
61954
  var j_721421077 = 0;
61955
- var colontmp__1006633915 = 0;
61956
- colontmp__1006633915 = subInt(len_p1, 1);
61957
- var res_1006633916 = colontmp__1006633915;
61955
+ var colontmp__1006633918 = 0;
61956
+ colontmp__1006633918 = subInt(len_p1, 1);
61957
+ var res_1006633919 = colontmp__1006633918;
61958
61958
  Label2: {
61959
61959
  Label3: while (true) {
61960
- if (!(0 <= res_1006633916)) break Label3;
61961
- j_721421077 = res_1006633916;
61960
+ if (!(0 <= res_1006633919)) break Label3;
61961
+ j_721421077 = res_1006633919;
61962
61962
  result_721421069[chckIndx(j_721421077, 0, result_721421069.length - 1)] = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70][chckIndx(chckRange(Number(n_721421071 & 15n), -2147483648, 2147483647), 0, [48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 65, 66, 67, 68, 69, 70].length - 1)];
61963
61963
  n_721421071 = n_721421071 >> BigInt(4);
61964
61964
  if (n_721421071 == 0n && handleNegative_p2) {
61965
61965
  n_721421071 = 18446744073709551615n;
61966
61966
  }
61967
- res_1006633916 = subInt(res_1006633916, 1);
61967
+ res_1006633919 = subInt(res_1006633919, 1);
61968
61968
  }
61969
61969
  }
61970
61970
  ;
@@ -61989,12 +61989,12 @@ function encodeUrl__pureZuri_u58(s_p0, usePlus_p1) {
61989
61989
  var fromSpace_1157627970 = nimCopy(null, Temporary12, NTI33554449);
61990
61990
  Label2: {
61991
61991
  var c_1157627971 = 0;
61992
- var i_1006633911 = 0;
61993
- var L_1006633912 = s_p0.length;
61992
+ var i_1006633914 = 0;
61993
+ var L_1006633915 = s_p0.length;
61994
61994
  Label3: {
61995
61995
  Label4: while (true) {
61996
- if (!(i_1006633911 < L_1006633912)) break Label4;
61997
- c_1157627971 = s_p0[chckIndx(i_1006633911, 0, s_p0.length - 1)];
61996
+ if (!(i_1006633914 < L_1006633915)) break Label4;
61997
+ c_1157627971 = s_p0[chckIndx(i_1006633914, 0, s_p0.length - 1)];
61998
61998
  switch (c_1157627971) {
61999
61999
  case 97:
62000
62000
  case 98:
@@ -62076,8 +62076,8 @@ function encodeUrl__pureZuri_u58(s_p0, usePlus_p1) {
62076
62076
  ;
62077
62077
  break;
62078
62078
  }
62079
- i_1006633911 += 1;
62080
- if (!(s_p0.length == L_1006633912)) {
62079
+ i_1006633914 += 1;
62080
+ if (!(s_p0.length == L_1006633915)) {
62081
62081
  failedAssertImpl__stdZassertions_u84(makeNimstrLit("iterators.nim(272, 11) `len(a) == L` the length of the string changed while iterating over it"));
62082
62082
  }
62083
62083
  }
@@ -62092,11 +62092,11 @@ function encodeQuery__pureZuri_u91(query_p0, usePlus_p1, omitEq_p2, sep_p3) {
62092
62092
  result_1157628000 = nimCopy(null, [], NTI33554449);
62093
62093
  Label1: {
62094
62094
  var elem_1157628004 = { Field0: [], Field1: [] };
62095
- var i_1006633908 = 0;
62095
+ var i_1006633911 = 0;
62096
62096
  Label2: {
62097
62097
  Label3: while (true) {
62098
- if (!(i_1006633908 < query_p0.length)) break Label3;
62099
- elem_1157628004 = query_p0[chckIndx(i_1006633908, 0, query_p0.length - 1)];
62098
+ if (!(i_1006633911 < query_p0.length)) break Label3;
62099
+ elem_1157628004 = query_p0[chckIndx(i_1006633911, 0, query_p0.length - 1)];
62100
62100
  if (0 < result_1157628000.length) {
62101
62101
  addChar(result_1157628000, sep_p3);
62102
62102
  ;
@@ -62112,7 +62112,7 @@ function encodeQuery__pureZuri_u91(query_p0, usePlus_p1, omitEq_p2, sep_p3) {
62112
62112
  result_1157628000.push.apply(result_1157628000, encodeUrl__pureZuri_u58(val_1157628007, usePlus_p1));
62113
62113
  ;
62114
62114
  }
62115
- i_1006633908 += 1;
62115
+ i_1006633911 += 1;
62116
62116
  }
62117
62117
  }
62118
62118
  ;
@@ -62219,128 +62219,129 @@ function HEX24__pureZuri_u399(u_p0) {
62219
62219
  }
62220
62220
  return result_1157628305;
62221
62221
  }
62222
- function HEX3Aanonymous__dogfen_u252() {
62222
+ function HEX3Aanonymous__dogfen_u254() {
62223
62223
  setHtmlTimeout__libZhtml_u307(this.e0.target, "copied!", 1e3);
62224
62224
  }
62225
- function HEX3Aanonymous__dogfen_u254(__p0) {
62225
+ function HEX3Aanonymous__dogfen_u256(__p0) {
62226
62226
  setHtmlTimeout__libZhtml_u307(this.e0.target, "copy failed!", 1e3);
62227
62227
  }
62228
- function copyShareUrlToClipboard__dogfen_u248(e_p0) {
62228
+ function copyShareUrlToClipboard__dogfen_u250(e_p0) {
62229
62229
  var Temporary12;
62230
62230
  var Temporary2;
62231
- var HEX3Aenv_1006633858 = null;
62232
- HEX3Aenv_1006633858 = { m_type: NTI1006633552, e0: null };
62233
- HEX3Aenv_1006633858.e0 = e_p0;
62234
- var uri_1006633210 = HEX3F__pureZuri_u395(parseUri__pureZuri_u276([104, 116, 116, 112, 115, 58, 47, 47, 100, 111, 103, 102, 101, 110, 46, 100, 97, 121, 108, 46, 105, 110]), [nimCopy(null, { Field0: [114, 97, 119], Field1: [116, 114, 117, 101] }, NTI1006633106)]);
62235
- uri_1006633210.anchor = nimCopy(null, cstrToNimstr((0, import_lz_string.compressToEncodedURIComponent)(getCurrentDoc__dogfen_u95())), NTI33554449);
62236
- Temporary12 = HEX3Aanonymous__dogfen_u252.bind(HEX3Aenv_1006633858);
62237
- Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u252;
62238
- Temporary12.ClE_0 = HEX3Aenv_1006633858;
62239
- Temporary2 = HEX3Aanonymous__dogfen_u254.bind(HEX3Aenv_1006633858);
62240
- Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u254;
62241
- Temporary2.ClE_0 = HEX3Aenv_1006633858;
62242
- then__depsZmarked95highlight_u1351(navigator.clipboard.writeText(toJSStr(HEX24__pureZuri_u399(uri_1006633210))), Temporary12, Temporary2);
62243
- }
62244
- function HEX3Aanonymous__dogfen_u283() {
62231
+ var HEX3Aenv_1006633861 = null;
62232
+ HEX3Aenv_1006633861 = { m_type: NTI1006633552, e0: null };
62233
+ HEX3Aenv_1006633861.e0 = e_p0;
62234
+ var uri_1006633212 = HEX3F__pureZuri_u395(parseUri__pureZuri_u276([104, 116, 116, 112, 115, 58, 47, 47, 100, 111, 103, 102, 101, 110, 46, 100, 97, 121, 108, 46, 105, 110]), [nimCopy(null, { Field0: [114, 97, 119], Field1: [116, 114, 117, 101] }, NTI1006633106)]);
62235
+ uri_1006633212.anchor = nimCopy(null, cstrToNimstr((0, import_lz_string.compressToEncodedURIComponent)(getCurrentDoc__dogfen_u96())), NTI33554449);
62236
+ Temporary12 = HEX3Aanonymous__dogfen_u254.bind(HEX3Aenv_1006633861);
62237
+ Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u254;
62238
+ Temporary12.ClE_0 = HEX3Aenv_1006633861;
62239
+ Temporary2 = HEX3Aanonymous__dogfen_u256.bind(HEX3Aenv_1006633861);
62240
+ Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u256;
62241
+ Temporary2.ClE_0 = HEX3Aenv_1006633861;
62242
+ then__depsZmarked95highlight_u1351(navigator.clipboard.writeText(toJSStr(HEX24__pureZuri_u399(uri_1006633212))), Temporary12, Temporary2);
62243
+ }
62244
+ function HEX3Aanonymous__dogfen_u286() {
62245
62245
  setHtmlTimeout__libZhtml_u307(this.e0.target, "copied!", 1e3);
62246
62246
  }
62247
- function HEX3Aanonymous__dogfen_u285(__p0) {
62247
+ function HEX3Aanonymous__dogfen_u288(__p0) {
62248
62248
  setHtmlTimeout__libZhtml_u307(this.e0.target, "copy failed!", 1e3);
62249
62249
  }
62250
- function copyShareUrlToClipboardReadOnly__dogfen_u279(e_p0) {
62250
+ function copyShareUrlToClipboardReadOnly__dogfen_u281(e_p0) {
62251
62251
  var Temporary12;
62252
62252
  var Temporary2;
62253
- var HEX3Aenv_1006633922 = null;
62254
- HEX3Aenv_1006633922 = { m_type: NTI1006633587, e0: null };
62255
- HEX3Aenv_1006633922.e0 = e_p0;
62256
- var uri_1006633241 = HEX3F__pureZuri_u395(parseUri__pureZuri_u276([104, 116, 116, 112, 115, 58, 47, 47, 100, 111, 103, 102, 101, 110, 46, 100, 97, 121, 108, 46, 105, 110]), [nimCopy(null, { Field0: [114, 97, 119], Field1: [116, 114, 117, 101] }, NTI1006633129), nimCopy(null, { Field0: [114, 101, 97, 100, 45, 111, 110, 108, 121], Field1: [] }, NTI1006633129)]);
62257
- uri_1006633241.anchor = nimCopy(null, cstrToNimstr((0, import_lz_string.compressToEncodedURIComponent)(getCurrentDoc__dogfen_u95())), NTI33554449);
62258
- Temporary12 = HEX3Aanonymous__dogfen_u283.bind(HEX3Aenv_1006633922);
62259
- Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u283;
62260
- Temporary12.ClE_0 = HEX3Aenv_1006633922;
62261
- Temporary2 = HEX3Aanonymous__dogfen_u285.bind(HEX3Aenv_1006633922);
62262
- Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u285;
62263
- Temporary2.ClE_0 = HEX3Aenv_1006633922;
62264
- then__depsZmarked95highlight_u1351(navigator.clipboard.writeText(toJSStr(HEX24__pureZuri_u399(uri_1006633241))), Temporary12, Temporary2);
62265
- }
62266
- function HEX3Aanonymous__dogfen_u237() {
62253
+ var HEX3Aenv_1006633925 = null;
62254
+ HEX3Aenv_1006633925 = { m_type: NTI1006633587, e0: null };
62255
+ HEX3Aenv_1006633925.e0 = e_p0;
62256
+ var shareUrl_1006633243 = [104, 116, 116, 112, 115, 58, 47, 47, 100, 111, 103, 102, 101, 110, 46, 100, 97, 121, 108, 46, 105, 110, 47, 114, 101, 97, 100, 111, 110, 108, 121];
62257
+ var uri_1006633244 = HEX3F__pureZuri_u395(parseUri__pureZuri_u276(shareUrl_1006633243), [nimCopy(null, { Field0: [114, 97, 119], Field1: [116, 114, 117, 101] }, NTI1006633129), nimCopy(null, { Field0: [114, 101, 97, 100, 45, 111, 110, 108, 121], Field1: [] }, NTI1006633129)]);
62258
+ uri_1006633244.anchor = nimCopy(null, cstrToNimstr((0, import_lz_string.compressToEncodedURIComponent)(getCurrentDoc__dogfen_u96())), NTI33554449);
62259
+ Temporary12 = HEX3Aanonymous__dogfen_u286.bind(HEX3Aenv_1006633925);
62260
+ Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u286;
62261
+ Temporary12.ClE_0 = HEX3Aenv_1006633925;
62262
+ Temporary2 = HEX3Aanonymous__dogfen_u288.bind(HEX3Aenv_1006633925);
62263
+ Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u288;
62264
+ Temporary2.ClE_0 = HEX3Aenv_1006633925;
62265
+ then__depsZmarked95highlight_u1351(navigator.clipboard.writeText(toJSStr(HEX24__pureZuri_u399(uri_1006633244))), Temporary12, Temporary2);
62266
+ }
62267
+ function HEX3Aanonymous__dogfen_u238() {
62267
62268
  setHtmlTimeout__libZhtml_u307(this.e0.target, "copied!", 1e3);
62268
62269
  }
62269
- function HEX3Aanonymous__dogfen_u239(__p0) {
62270
+ function HEX3Aanonymous__dogfen_u240(__p0) {
62270
62271
  setHtmlTimeout__libZhtml_u307(this.e0.target, "copy failed!", 1e3);
62271
62272
  }
62272
- function copyInputBoxToClipboard__dogfen_u233(e_p0) {
62273
+ function copyInputBoxToClipboard__dogfen_u234(e_p0) {
62273
62274
  var Temporary12;
62274
62275
  var Temporary2;
62275
- var HEX3Aenv_1006633959 = null;
62276
- HEX3Aenv_1006633959 = { m_type: NTI1006633607, e0: null };
62277
- HEX3Aenv_1006633959.e0 = e_p0;
62278
- var doc_1006633195 = getCurrentDoc__dogfen_u95();
62279
- Temporary12 = HEX3Aanonymous__dogfen_u237.bind(HEX3Aenv_1006633959);
62280
- Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u237;
62281
- Temporary12.ClE_0 = HEX3Aenv_1006633959;
62282
- Temporary2 = HEX3Aanonymous__dogfen_u239.bind(HEX3Aenv_1006633959);
62283
- Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u239;
62284
- Temporary2.ClE_0 = HEX3Aenv_1006633959;
62285
- then__depsZmarked95highlight_u1351(navigator.clipboard.writeText(doc_1006633195), Temporary12, Temporary2);
62286
- }
62287
- function menuList__dogfen_u303() {
62276
+ var HEX3Aenv_1006633962 = null;
62277
+ HEX3Aenv_1006633962 = { m_type: NTI1006633607, e0: null };
62278
+ HEX3Aenv_1006633962.e0 = e_p0;
62279
+ var doc_1006633196 = getCurrentDoc__dogfen_u96();
62280
+ Temporary12 = HEX3Aanonymous__dogfen_u238.bind(HEX3Aenv_1006633962);
62281
+ Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u238;
62282
+ Temporary12.ClE_0 = HEX3Aenv_1006633962;
62283
+ Temporary2 = HEX3Aanonymous__dogfen_u240.bind(HEX3Aenv_1006633962);
62284
+ Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u240;
62285
+ Temporary2.ClE_0 = HEX3Aenv_1006633962;
62286
+ then__depsZmarked95highlight_u1351(navigator.clipboard.writeText(doc_1006633196), Temporary12, Temporary2);
62287
+ }
62288
+ function menuList__dogfen_u306() {
62288
62289
  var Temporary12;
62289
- function HEX3Aanonymous__dogfen_u305(__p0) {
62290
+ function HEX3Aanonymous__dogfen_u308(__p0) {
62290
62291
  toggleEditor();
62291
62292
  }
62292
62293
  var Temporary2;
62293
- function HEX3Aanonymous__dogfen_u308(__p0) {
62294
+ function HEX3Aanonymous__dogfen_u311(__p0) {
62294
62295
  document.getElementById("preview").classList.toggle("hidden");
62295
62296
  }
62296
62297
  var Temporary3;
62297
- function HEX3Aanonymous__dogfen_u311(e_p0) {
62298
+ function HEX3Aanonymous__dogfen_u314(e_p0) {
62298
62299
  setHtmlTimeout__libZhtml_u307(e_p0.currentTarget, "saving", 1e3);
62299
- downloadPage__dogfen_u219();
62300
+ downloadPage__dogfen_u220();
62300
62301
  }
62301
62302
  var Temporary4;
62302
- function HEX3Aanonymous__dogfen_u313(e_p0) {
62303
+ function HEX3Aanonymous__dogfen_u316(e_p0) {
62303
62304
  setHtmlTimeout__libZhtml_u307(e_p0.currentTarget, "saving", 1e3);
62304
- downloadPageOffline__dogfen_u165();
62305
+ downloadPageOffline__dogfen_u166();
62305
62306
  }
62306
62307
  var Temporary5;
62307
62308
  var Temporary6;
62308
62309
  var Temporary7;
62309
- var result_1006633264 = null;
62310
- Temporary12 = HEX3Aanonymous__dogfen_u305.bind(null);
62311
- Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u305;
62310
+ var result_1006633267 = null;
62311
+ Temporary12 = HEX3Aanonymous__dogfen_u308.bind(null);
62312
+ Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u308;
62312
62313
  Temporary12.ClE_0 = null;
62313
- Temporary2 = HEX3Aanonymous__dogfen_u308.bind(null);
62314
- Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u308;
62314
+ Temporary2 = HEX3Aanonymous__dogfen_u311.bind(null);
62315
+ Temporary2.ClP_0 = HEX3Aanonymous__dogfen_u311;
62315
62316
  Temporary2.ClE_0 = null;
62316
- Temporary3 = HEX3Aanonymous__dogfen_u311.bind(null);
62317
- Temporary3.ClP_0 = HEX3Aanonymous__dogfen_u311;
62317
+ Temporary3 = HEX3Aanonymous__dogfen_u314.bind(null);
62318
+ Temporary3.ClP_0 = HEX3Aanonymous__dogfen_u314;
62318
62319
  Temporary3.ClE_0 = null;
62319
- Temporary4 = HEX3Aanonymous__dogfen_u313.bind(null);
62320
- Temporary4.ClP_0 = HEX3Aanonymous__dogfen_u313;
62320
+ Temporary4 = HEX3Aanonymous__dogfen_u316.bind(null);
62321
+ Temporary4.ClP_0 = HEX3Aanonymous__dogfen_u316;
62321
62322
  Temporary4.ClE_0 = null;
62322
- Temporary5 = copyShareUrlToClipboard__dogfen_u248.bind(null);
62323
- Temporary5.ClP_0 = copyShareUrlToClipboard__dogfen_u248;
62323
+ Temporary5 = copyShareUrlToClipboard__dogfen_u250.bind(null);
62324
+ Temporary5.ClP_0 = copyShareUrlToClipboard__dogfen_u250;
62324
62325
  Temporary5.ClE_0 = null;
62325
- Temporary6 = copyShareUrlToClipboardReadOnly__dogfen_u279.bind(null);
62326
- Temporary6.ClP_0 = copyShareUrlToClipboardReadOnly__dogfen_u279;
62326
+ Temporary6 = copyShareUrlToClipboardReadOnly__dogfen_u281.bind(null);
62327
+ Temporary6.ClP_0 = copyShareUrlToClipboardReadOnly__dogfen_u281;
62327
62328
  Temporary6.ClE_0 = null;
62328
- Temporary7 = copyInputBoxToClipboard__dogfen_u233.bind(null);
62329
- Temporary7.ClP_0 = copyInputBoxToClipboard__dogfen_u233;
62329
+ Temporary7 = copyInputBoxToClipboard__dogfen_u234.bind(null);
62330
+ Temporary7.ClP_0 = copyInputBoxToClipboard__dogfen_u234;
62330
62331
  Temporary7.ClE_0 = null;
62331
- var list_1006633279 = withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(2, "", "", "", ""), "list-none flex flex-col min-w-60 pl-0"), [newMenuItem__dogfen_u294("toggle editor", Temporary12), newMenuItem__dogfen_u294("toggle preview", Temporary2), divider__dogfen_u301(), newMenuItem__dogfen_u294("save document", Temporary3), newMenuItem__dogfen_u294("save document (offline)", Temporary4), divider__dogfen_u301(), newMenuItem__dogfen_u294("share url", Temporary5), newMenuItem__dogfen_u294("share url (read-only)", Temporary6), newMenuItem__dogfen_u294("copy markdown", Temporary7)]);
62332
- result_1006633264 = withChildren__libZhtml_u91(withClass__libZhtml_u148(withId__dogfen_u33(new__libZhtml_u138(1, "", "", "", ""), [109, 101, 110, 117]), "absolute right-0 hidden text-right bg-gray-100 p-2 shadow-xl rounded-md z-99"), [list_1006633279]);
62333
- return result_1006633264;
62332
+ var list_1006633282 = withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(2, "", "", "", ""), "list-none flex flex-col min-w-60 pl-0"), [newMenuItem__dogfen_u297("toggle editor", Temporary12), newMenuItem__dogfen_u297("toggle preview", Temporary2), divider__dogfen_u304(), newMenuItem__dogfen_u297("save document", Temporary3), newMenuItem__dogfen_u297("save document (offline)", Temporary4), divider__dogfen_u304(), newMenuItem__dogfen_u297("share url", Temporary5), newMenuItem__dogfen_u297("share url (read-only)", Temporary6), newMenuItem__dogfen_u297("copy markdown", Temporary7)]);
62333
+ result_1006633267 = withChildren__libZhtml_u91(withClass__libZhtml_u148(withId__dogfen_u34(new__libZhtml_u138(1, "", "", "", ""), [109, 101, 110, 117]), "absolute right-0 hidden text-right bg-gray-100 p-2 shadow-xl rounded-md z-99"), [list_1006633282]);
62334
+ return result_1006633267;
62334
62335
  }
62335
- function menuElement__dogfen_u340() {
62336
- var result_1006633301 = null;
62337
- result_1006633301 = withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "relative inline-block"), [menuBtn__dogfen_u227(), menuList__dogfen_u303()]);
62338
- return result_1006633301;
62336
+ function menuElement__dogfen_u343() {
62337
+ var result_1006633304 = null;
62338
+ result_1006633304 = withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "relative inline-block"), [menuBtn__dogfen_u228(), menuList__dogfen_u306()]);
62339
+ return result_1006633304;
62339
62340
  }
62340
- function newHeader__dogfen_u358() {
62341
- var result_1006633319 = null;
62342
- result_1006633319 = withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "flex flex-row mx-5 text-md m-2 items-center"), [withAttr__libZhtml_u197(new__libZhtml_u138(8, "", "h-10", "", ""), [115, 114, 99], getDataUri__pureZuri_u450(makeNimstrLit('<svg xmlns="http://www.w3.org/2000/svg" id="emoji" viewBox="0 0 72 72"> <g id="color"> <rect x="15.0229" y="16.2834" width="41.9541" height="40.9771" fill="#F4AA41" stroke="none"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> </g> <g id="hair"/> <g id="skin"/> <g id="skin-shadow"/> <g id="line"> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 34.6258,17.1383 16,17.8834"/> <line x1="16" x2="56" y1="55.7479" y2="54.1479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="16" x2="16" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="56" x2="56" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="31.8614" y1="24.9034" y2="24.9034" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="30.1515" y2="30.1515" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="35.3997" y2="35.3997" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="40.6479" y2="40.6479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="45.896" y2="45.896" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/></g></svg>'), [105, 109, 97, 103, 101, 47, 115, 118, 103, 43, 120, 109, 108], [117, 116, 102, 45, 56])), new__libZhtml_u138(0, "", "text-lg font-black", "", "dogfen"), new__libZhtml_u138(1, "", "flex-grow", "", ""), withChildren__libZhtml_u91(new__libZhtml_u138(1, "", "flex flex-row gap-5", "", ""), [editBtnElement__dogfen_u70(), menuElement__dogfen_u340()])]);
62343
- return result_1006633319;
62341
+ function newHeader__dogfen_u361() {
62342
+ var result_1006633322 = null;
62343
+ result_1006633322 = withChildren__libZhtml_u91(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "flex flex-row mx-5 text-md m-2 items-center"), [withAttr__libZhtml_u197(new__libZhtml_u138(8, "", "h-10", "", ""), [115, 114, 99], getDataUri__pureZuri_u450(makeNimstrLit('<svg xmlns="http://www.w3.org/2000/svg" id="emoji" viewBox="0 0 72 72"> <g id="color"> <rect x="15.0229" y="16.2834" width="41.9541" height="40.9771" fill="#F4AA41" stroke="none"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="#E27022" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> </g> <g id="hair"/> <g id="skin"/> <g id="skin-shadow"/> <g id="line"> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="16,55.7479 11,55.9479 11,60.9896 61,60.9896 61,53.9479 56,54.1479"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 61,16.0834 61,11.0417 11,11.0417 11,18.0834 16,17.8834"/> <polyline fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" points="56,16.2834 34.6258,17.1383 16,17.8834"/> <line x1="16" x2="56" y1="55.7479" y2="54.1479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="16" x2="16" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="56" x2="56" y1="22.0023" y2="50.0603" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="31.8614" y1="24.9034" y2="24.9034" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="30.1515" y2="30.1515" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="35.3997" y2="35.3997" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="40.6479" y2="40.6479" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/> <line x1="20.8523" x2="52.019" y1="45.896" y2="45.896" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"/></g></svg>'), [105, 109, 97, 103, 101, 47, 115, 118, 103, 43, 120, 109, 108], [117, 116, 102, 45, 56])), new__libZhtml_u138(0, "", "text-lg font-black", "", "dogfen"), new__libZhtml_u138(1, "", "flex-grow", "", ""), withChildren__libZhtml_u91(new__libZhtml_u138(1, "", "flex flex-row gap-5", "", ""), [editBtnElement__dogfen_u71(), menuElement__dogfen_u343()])]);
62344
+ return result_1006633322;
62344
62345
  }
62345
62346
  function innerHEX60gensym38__depsZunocss_u149() {
62346
62347
  var result_1459617942 = null;
@@ -62426,12 +62427,12 @@ function innerHEX60gensym19__depsZunocss_u125() {
62426
62427
  function initUnocss__depsZunocss_u122() {
62427
62428
  init(innerHEX60gensym19__depsZunocss_u125());
62428
62429
  }
62429
- async function setupDocument__dogfen_u599() {
62430
+ async function setupDocument__dogfen_u602() {
62430
62431
  var Temporary12;
62431
62432
  var Temporary2;
62432
- var result_1006633561 = null;
62433
+ var result_1006633564 = null;
62433
62434
  BeforeRet: {
62434
- newHtml_1006632971[0] = await marked.parse(`# Dogfen Document
62435
+ newHtml_1006632972[0] = await marked.parse(`# Dogfen Document
62435
62436
 
62436
62437
  Dogfen is a self-contained, self-rendering ~markdown~ HTML document.
62437
62438
 
@@ -62457,17 +62458,17 @@ See the [README][readme] or [repo](https://github.com/daylinmorgan/dogfen) on Gi
62457
62458
  [codemirror]: https://codemirror.net/
62458
62459
  [unocss]: https://unocss.dev/
62459
62460
  `);
62460
- cfg_1006632978[0] = nimCopy(cfg_1006632978[0], initFromUri__dogfen_u611(), NTI1006632963);
62461
+ cfg_1006632979[0] = nimCopy(cfg_1006632979[0], initFromUri__dogfen_u614(), NTI1006632963);
62461
62462
  document.body.className = "p-0 m-0 flex w-100%";
62462
- document.body.appendChild(loadingAnimation__dogfen_u21());
62463
- var editorDom_1006633588 = withClass__libZhtml_u148(withId__dogfen_u33(new__libZhtml_u138(1, "", "", "", ""), [101, 100, 105, 116, 111, 114]), "max-w-95% lg:max-w-45% min-h-50 hidden py-1 border-1 border-dashed rounded lg:mx-0 z-0 w-90%");
62464
- var start_1006633593 = await getStart__dogfen_u550(cfg_1006632978[0]);
62465
- cfg_1006632978[0].readOnly = cfg_1006632978[0].readOnly || false;
62466
- setTitle__dogfen_u529(start_1006633593);
62467
- if (isCodeMode__dogfen_u19()) {
62463
+ document.body.appendChild(loadingAnimation__dogfen_u22());
62464
+ var editorDom_1006633591 = withClass__libZhtml_u148(withId__dogfen_u34(new__libZhtml_u138(1, "", "", "", ""), [101, 100, 105, 116, 111, 114]), "max-w-95% lg:max-w-45% min-h-50 hidden py-1 border-1 border-dashed rounded lg:mx-0 z-0 w-90%");
62465
+ var start_1006633596 = await getStart__dogfen_u553(cfg_1006632979[0]);
62466
+ cfg_1006632979[0].readOnly = cfg_1006632979[0].readOnly || false;
62467
+ setTitle__dogfen_u532(start_1006633596);
62468
+ if (isCodeMode__dogfen_u20()) {
62468
62469
  Temporary12 = new EditorView({
62469
- doc: start_1006633593,
62470
- parent: editorDom_1006633588,
62470
+ doc: start_1006633596,
62471
+ parent: editorDom_1006633591,
62471
62472
  extensions: [
62472
62473
  basicSetup,
62473
62474
  EditorView.updateListener.of(async function(v2) {
@@ -62479,8 +62480,8 @@ See the [README][readme] or [repo](https://github.com/daylinmorgan/dogfen) on Gi
62479
62480
  });
62480
62481
  } else {
62481
62482
  Temporary12 = new EditorView({
62482
- doc: start_1006633593,
62483
- parent: editorDom_1006633588,
62483
+ doc: start_1006633596,
62484
+ parent: editorDom_1006633591,
62484
62485
  extensions: [
62485
62486
  basicSetup,
62486
62487
  markdown(),
@@ -62493,52 +62494,52 @@ See the [README][readme] or [repo](https://github.com/daylinmorgan/dogfen) on Gi
62493
62494
  });
62494
62495
  }
62495
62496
  editor = Temporary12;
62496
- if (isCodeMode__dogfen_u19()) {
62497
+ if (isCodeMode__dogfen_u20()) {
62497
62498
  Temporary2 = "max-w-95% shadow-lg overflow-auto";
62498
62499
  } else {
62499
- Temporary2 = "lg:max-w-65ch max-w-90% p-2 border border-2 border-solid rounded shadow-lg w-65ch lg:min-h-50 lg:min-w-40% " + previewClasses_1006633365;
62500
- }
62501
- var preview_1006633598 = withAttr__libZhtml_u192(withClass__libZhtml_u148(withId__dogfen_u33(new__libZhtml_u138(1, "", "", "", ""), [112, 114, 101, 118, 105, 101, 119]), Temporary2), "lang", cfg_1006632978[0].lang);
62502
- var doc_1006633603 = withChildren__libZhtml_u91(withClass__libZhtml_u148(withId__dogfen_u33(new__libZhtml_u138(1, "", "", "", ""), [100, 111, 99]), "h-full flex flex-col items-center lg:items-start lg:flex-row gap-5 mx-auto lg:justify-center w-full px-2"), [editorDom_1006633588, preview_1006633598]);
62503
- var footer_1006633604 = withHtml__libZhtml_u152(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "mx-auto text-xs p-5"), 'self-rendering document powered by <a class="underline decoration-dotted" href=https://dogfen.dayl.in>dogfen</a>');
62504
- var header_1006633605 = newHeader__dogfen_u358();
62505
- if (cfg_1006632978[0].readOnly) {
62506
- header_1006633605.classList.toggle("hidden");
62507
- header_1006633605.classList.toggle("flex");
62508
- doc_1006633603.classList.toggle("mt-5");
62509
- }
62510
- var content_1006633606 = withChildren__libZhtml_u91(withAttr__libZhtml_u197(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "min-h-100vh flex flex-col bg-gray-100 w-full"), [117, 110, 45, 99, 108, 111, 97, 107], []), [header_1006633605, doc_1006633603, footer_1006633604]);
62511
- document.body.appendChild(content_1006633606);
62512
- await renderDoc(start_1006633593);
62500
+ Temporary2 = "lg:max-w-65ch max-w-90% p-2 border border-2 border-solid rounded shadow-lg w-65ch lg:min-h-50 lg:min-w-40% " + previewClasses_1006633368;
62501
+ }
62502
+ var preview_1006633601 = withAttr__libZhtml_u192(withClass__libZhtml_u148(withId__dogfen_u34(new__libZhtml_u138(1, "", "", "", ""), [112, 114, 101, 118, 105, 101, 119]), Temporary2), "lang", cfg_1006632979[0].lang);
62503
+ var doc_1006633606 = withChildren__libZhtml_u91(withClass__libZhtml_u148(withId__dogfen_u34(new__libZhtml_u138(1, "", "", "", ""), [100, 111, 99]), "h-full flex flex-col items-center lg:items-start lg:flex-row gap-5 mx-auto lg:justify-center w-full px-2"), [editorDom_1006633591, preview_1006633601]);
62504
+ var footer_1006633607 = withHtml__libZhtml_u152(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "mx-auto text-xs p-5"), 'self-rendering document powered by <a class="underline decoration-dotted" href=https://dogfen.dayl.in>dogfen</a>');
62505
+ var header_1006633608 = newHeader__dogfen_u361();
62506
+ if (cfg_1006632979[0].readOnly) {
62507
+ header_1006633608.classList.toggle("hidden");
62508
+ header_1006633608.classList.toggle("flex");
62509
+ doc_1006633606.classList.toggle("mt-5");
62510
+ }
62511
+ var content_1006633609 = withChildren__libZhtml_u91(withAttr__libZhtml_u197(withClass__libZhtml_u148(new__libZhtml_u138(1, "", "", "", ""), "min-h-100vh flex flex-col bg-gray-100 w-full"), [117, 110, 45, 99, 108, 111, 97, 107], []), [header_1006633608, doc_1006633606, footer_1006633607]);
62512
+ document.body.appendChild(content_1006633609);
62513
+ await renderDoc(start_1006633596);
62513
62514
  initUnocss__depsZunocss_u122();
62514
- result_1006633561 = void 0;
62515
+ result_1006633564 = void 0;
62515
62516
  break BeforeRet;
62516
62517
  }
62517
62518
  ;
62518
- return result_1006633561;
62519
+ return result_1006633564;
62519
62520
  }
62520
- function startApp__dogfen_u706() {
62521
+ function startApp__dogfen_u709() {
62521
62522
  var Temporary12;
62522
- function HEX3Aanonymous__dogfen_u708(__p0) {
62523
- setupDocument__dogfen_u599();
62523
+ function HEX3Aanonymous__dogfen_u711(__p0) {
62524
+ setupDocument__dogfen_u602();
62524
62525
  }
62525
62526
  setViewPort__libZhtml_u58();
62526
- setStyles__dogfen_u687();
62527
+ setStyles__dogfen_u690();
62527
62528
  if (document.readyState == "loading") {
62528
- Temporary12 = HEX3Aanonymous__dogfen_u708.bind(null);
62529
- Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u708;
62529
+ Temporary12 = HEX3Aanonymous__dogfen_u711.bind(null);
62530
+ Temporary12.ClP_0 = HEX3Aanonymous__dogfen_u711;
62530
62531
  Temporary12.ClE_0 = null;
62531
62532
  document.addEventListener("DOMContentLoaded", Temporary12, false);
62532
62533
  } else {
62533
- setupDocument__dogfen_u599();
62534
+ setupDocument__dogfen_u602();
62534
62535
  }
62535
62536
  rawEcho([100, 111, 99, 32, 112, 111, 119, 101, 114, 101, 100, 32, 98, 121, 32, 100, 111, 103, 102, 101, 110, 58, 32, 104, 116, 116, 112, 115, 58, 47, 47, 103, 105, 116, 104, 117, 98, 46, 99, 111, 109, 47, 100, 97, 121, 108, 105, 110, 109, 111, 114, 103, 97, 110, 47, 100, 111, 103, 102, 101, 110]);
62536
62537
  }
62537
- var newHtml_1006632971 = [null];
62538
- var cfg_1006632978 = [{ href: [], raw: null, readOnly: false, lang: null, code: null }];
62539
- var menuOpen_1006633181 = [false];
62540
- var previewClasses_1006633365 = toJSStr(nsuJoinSep([[112, 114, 111, 115, 101, 32, 111, 118, 101, 114, 102, 108, 111, 119, 45, 97, 117, 116, 111, 32, 104, 121, 112, 104, 101, 110, 115, 45, 97, 117, 116, 111], [102, 111, 110, 116, 45, 115, 97, 110, 115], [111, 118, 101, 114, 102, 108, 111, 119, 45, 97, 117, 116, 111, 32, 104, 121, 112, 104, 101, 110, 115, 45, 97, 117, 116, 111], [91, 38, 95, 112, 62, 99, 111, 100, 101, 93, 58, 115, 104, 97, 100, 111, 119], [91, 38, 95, 100, 105, 118, 46, 109, 97, 114, 107, 100, 111, 119, 110, 45, 97, 108, 101, 114, 116, 93, 58, 109, 121, 45, 53], [91, 38, 95, 100, 105, 118, 46, 109, 97, 114, 107, 100, 111, 119, 110, 45, 97, 108, 101, 114, 116, 95, 112, 93, 58, 109, 45, 49], variant__libZhtml_u223([112, 114, 111, 115, 101, 45, 116, 97, 98, 108, 101], [116, 97, 98, 108, 101, 45, 97, 117, 116, 111, 32, 98, 111, 114, 100, 101, 114, 32, 98, 111, 114, 100, 101, 114, 45, 49, 32, 98, 111, 114, 100, 101, 114, 45, 115, 111, 108, 105, 100, 32, 98, 111, 114, 100, 101, 114, 45, 99, 111, 108, 108, 97, 112, 115, 101]), variant__libZhtml_u223([112, 114, 111, 115, 101, 45, 116, 100], [112, 45, 50, 32, 98, 111, 114, 100, 101, 114, 32, 98, 111, 114, 100, 101, 114, 45, 115, 111, 108, 105, 100, 32, 98, 111, 114, 100, 101, 114, 45, 49]), variant__libZhtml_u223([112, 114, 111, 115, 101, 45, 116, 104], [112, 45, 50, 32, 98, 111, 114, 100, 101, 114, 32, 98, 111, 114, 100, 101, 114, 45, 115, 111, 108, 105, 100, 32, 98, 111, 114, 100, 101, 114, 45, 49])], [32]));
62541
- startApp__dogfen_u706();
62538
+ var newHtml_1006632972 = [null];
62539
+ var cfg_1006632979 = [{ href: [], raw: null, readOnly: false, lang: null, code: null }];
62540
+ var menuOpen_1006633182 = [false];
62541
+ var previewClasses_1006633368 = toJSStr(nsuJoinSep([[112, 114, 111, 115, 101, 32, 111, 118, 101, 114, 102, 108, 111, 119, 45, 97, 117, 116, 111, 32, 104, 121, 112, 104, 101, 110, 115, 45, 97, 117, 116, 111], [102, 111, 110, 116, 45, 115, 97, 110, 115], [111, 118, 101, 114, 102, 108, 111, 119, 45, 97, 117, 116, 111, 32, 104, 121, 112, 104, 101, 110, 115, 45, 97, 117, 116, 111], [91, 38, 95, 112, 62, 99, 111, 100, 101, 93, 58, 115, 104, 97, 100, 111, 119], [91, 38, 95, 100, 105, 118, 46, 109, 97, 114, 107, 100, 111, 119, 110, 45, 97, 108, 101, 114, 116, 93, 58, 109, 121, 45, 53], [91, 38, 95, 100, 105, 118, 46, 109, 97, 114, 107, 100, 111, 119, 110, 45, 97, 108, 101, 114, 116, 95, 112, 93, 58, 109, 45, 49], variant__libZhtml_u223([112, 114, 111, 115, 101, 45, 116, 97, 98, 108, 101], [116, 97, 98, 108, 101, 45, 97, 117, 116, 111, 32, 98, 111, 114, 100, 101, 114, 32, 98, 111, 114, 100, 101, 114, 45, 49, 32, 98, 111, 114, 100, 101, 114, 45, 115, 111, 108, 105, 100, 32, 98, 111, 114, 100, 101, 114, 45, 99, 111, 108, 108, 97, 112, 115, 101]), variant__libZhtml_u223([112, 114, 111, 115, 101, 45, 116, 100], [112, 45, 50, 32, 98, 111, 114, 100, 101, 114, 32, 98, 111, 114, 100, 101, 114, 45, 115, 111, 108, 105, 100, 32, 98, 111, 114, 100, 101, 114, 45, 49]), variant__libZhtml_u223([112, 114, 111, 115, 101, 45, 116, 104], [112, 45, 50, 32, 98, 111, 114, 100, 101, 114, 32, 98, 111, 114, 100, 101, 114, 45, 115, 111, 108, 105, 100, 32, 98, 111, 114, 100, 101, 114, 45, 49])], [32]));
62542
+ startApp__dogfen_u709();
62542
62543
  /*! Bundled license information:
62543
62544
 
62544
62545
  dompurify/dist/purify.es.mjs: