mol_dump_lib 0.0.412 → 0.0.414

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/web.js CHANGED
@@ -617,7 +617,12 @@ var $;
617
617
  var $;
618
618
  (function ($) {
619
619
  function $mol_promise_like(val) {
620
- return val && typeof val === 'object' && 'then' in val && typeof val.then === 'function';
620
+ try {
621
+ return val && typeof val === 'object' && 'then' in val && typeof val.then === 'function';
622
+ }
623
+ catch {
624
+ return false;
625
+ }
621
626
  }
622
627
  $.$mol_promise_like = $mol_promise_like;
623
628
  })($ || ($ = {}));
@@ -3460,6 +3465,7 @@ var $;
3460
3465
  (function ($) {
3461
3466
  $.$mol_syntax2_md_flow = new $mol_syntax2({
3462
3467
  'quote': /^((?:(?:[>"] )(?:[^]*?)$(\r?\n?))+)([\n\r]*)/,
3468
+ 'spoiler': /^((?:(?:[\?] )(?:[^]*?)$(\r?\n?))+)([\n\r]*)/,
3463
3469
  'header': /^([#=]+)(\s+)(.*?)$([\n\r]*)/,
3464
3470
  'list': /^((?:(?: ?([*+-])|(?:\d+[\.\)])+) +(?:[^]*?)$(?:\r?\n?)(?: (?:[^]*?)$(?:\r?\n?))*)+)((?:\r?\n)*)/,
3465
3471
  'code': /^(```\s*)([\w.-]*)[\r\n]+([^]*?)^(```)$([\n\r]*)/,
@@ -5521,7 +5527,7 @@ var $;
5521
5527
  "use strict";
5522
5528
  var $;
5523
5529
  (function ($) {
5524
- $mol_style_attach("mol/check/expand/expand.view.css", "[mol_check_expand] {\n\tmin-width: 20px;\n}\n\n:where([mol_check_expand][disabled]) [mol_check_expand_icon] {\n\tvisibility: hidden;\n}\n\n[mol_check_expand_icon] {\n\tbox-shadow: none;\n}\n[mol_check_expand_icon] {\n\ttransform: rotateZ(0deg);\n}\n\n:where([mol_check_checked]) [mol_check_expand_icon] {\n\ttransform: rotateZ(90deg);\n}\n\n[mol_check_expand_icon] {\n\tvertical-align: text-top;\n}\n\n[mol_check_expand_label] {\n\tmargin-left: 0;\n}\n");
5530
+ $mol_style_attach("mol/check/expand/expand.view.css", "[mol_check_expand] {\n\tmin-width: 20px;\n}\n\n:where([mol_check_expand][disabled]) [mol_check_expand_icon] {\n\tvisibility: hidden;\n}\n\n[mol_check_expand_icon] {\n\tbox-shadow: none;\n\tmargin-left: -0.375rem;\n}\n[mol_check_expand_icon] {\n\ttransform: rotateZ(0deg);\n}\n\n:where([mol_check_checked]) [mol_check_expand_icon] {\n\ttransform: rotateZ(90deg);\n}\n\n[mol_check_expand_icon] {\n\tvertical-align: text-top;\n}\n\n[mol_check_expand_label] {\n\tmargin-left: 0;\n}\n");
5525
5531
  })($ || ($ = {}));
5526
5532
 
5527
5533
  ;