@hpcc-js/codemirror 2.58.0 → 2.59.3

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/index.es6.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { Palette, HTMLWidget } from '@hpcc-js/common';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/codemirror";
4
- var PKG_VERSION = "2.58.0";
5
- var BUILD_VERSION = "2.101.0";
4
+ var PKG_VERSION = "2.59.3";
5
+ var BUILD_VERSION = "2.103.0";
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -48,21 +48,11 @@ var __assign = function() {
48
48
 
49
49
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
50
50
 
51
- function createCommonjsModule(fn, basedir, module) {
52
- return module = {
53
- path: basedir,
54
- exports: {},
55
- require: function (path, base) {
56
- return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
57
- }
58
- }, fn(module, module.exports), module.exports;
59
- }
51
+ var css = {exports: {}};
60
52
 
61
- function commonjsRequire () {
62
- throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
63
- }
53
+ var codemirror = {exports: {}};
64
54
 
65
- var codemirror = createCommonjsModule(function (module, exports) {
55
+ (function (module, exports) {
66
56
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
67
57
  // Distributed under an MIT license: https://codemirror.net/LICENSE
68
58
 
@@ -73,7 +63,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
73
63
  // at http://marijnhaverbeke.nl/blog/#cm-internals .
74
64
 
75
65
  (function (global, factory) {
76
- module.exports = factory() ;
66
+ module.exports = factory() ;
77
67
  }(commonjsGlobal, (function () {
78
68
  // Kludges for bugs and behavior differences that can't be feature
79
69
  // detected are enabled based on userAgent etc sniffing.
@@ -2647,9 +2637,11 @@ var codemirror = createCommonjsModule(function (module, exports) {
2647
2637
  }
2648
2638
 
2649
2639
  function widgetTopHeight(lineObj) {
2640
+ var ref = visualLine(lineObj);
2641
+ var widgets = ref.widgets;
2650
2642
  var height = 0;
2651
- if (lineObj.widgets) { for (var i = 0; i < lineObj.widgets.length; ++i) { if (lineObj.widgets[i].above)
2652
- { height += widgetHeight(lineObj.widgets[i]); } } }
2643
+ if (widgets) { for (var i = 0; i < widgets.length; ++i) { if (widgets[i].above)
2644
+ { height += widgetHeight(widgets[i]); } } }
2653
2645
  return height
2654
2646
  }
2655
2647
 
@@ -5849,7 +5841,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
5849
5841
  };
5850
5842
 
5851
5843
  LineWidget.prototype.changed = function () {
5852
- var this$1 = this;
5844
+ var this$1$1 = this;
5853
5845
 
5854
5846
  var oldH = this.height, cm = this.doc.cm, line = this.line;
5855
5847
  this.height = null;
@@ -5860,7 +5852,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
5860
5852
  runInOp(cm, function () {
5861
5853
  cm.curOp.forceUpdate = true;
5862
5854
  adjustScrollWhenAboveVisible(cm, line, diff);
5863
- signalLater(cm, "lineWidgetChanged", cm, this$1, lineNo(line));
5855
+ signalLater(cm, "lineWidgetChanged", cm, this$1$1, lineNo(line));
5864
5856
  });
5865
5857
  }
5866
5858
  };
@@ -5985,7 +5977,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
5985
5977
  // Signals that the marker's widget changed, and surrounding layout
5986
5978
  // should be recomputed.
5987
5979
  TextMarker.prototype.changed = function () {
5988
- var this$1 = this;
5980
+ var this$1$1 = this;
5989
5981
 
5990
5982
  var pos = this.find(-1, true), widget = this, cm = this.doc.cm;
5991
5983
  if (!pos || !cm) { return }
@@ -6004,7 +5996,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
6004
5996
  if (dHeight)
6005
5997
  { updateLineHeight(line, line.height + dHeight); }
6006
5998
  }
6007
- signalLater(cm, "markerChanged", cm, this$1);
5999
+ signalLater(cm, "markerChanged", cm, this$1$1);
6008
6000
  });
6009
6001
  };
6010
6002
 
@@ -6349,10 +6341,10 @@ var codemirror = createCommonjsModule(function (module, exports) {
6349
6341
  return {undo: done, redo: undone}
6350
6342
  },
6351
6343
  clearHistory: function() {
6352
- var this$1 = this;
6344
+ var this$1$1 = this;
6353
6345
 
6354
6346
  this.history = new History(this.history);
6355
- linkedDocs(this, function (doc) { return doc.history = this$1.history; }, true);
6347
+ linkedDocs(this, function (doc) { return doc.history = this$1$1.history; }, true);
6356
6348
  },
6357
6349
 
6358
6350
  markClean: function() {
@@ -6387,11 +6379,11 @@ var codemirror = createCommonjsModule(function (module, exports) {
6387
6379
  }),
6388
6380
 
6389
6381
  clearGutter: docMethodOp(function(gutterID) {
6390
- var this$1 = this;
6382
+ var this$1$1 = this;
6391
6383
 
6392
6384
  this.iter(function (line) {
6393
6385
  if (line.gutterMarkers && line.gutterMarkers[gutterID]) {
6394
- changeLine(this$1, line, "gutter", function () {
6386
+ changeLine(this$1$1, line, "gutter", function () {
6395
6387
  line.gutterMarkers[gutterID] = null;
6396
6388
  if (isEmpty(line.gutterMarkers)) { line.gutterMarkers = null; }
6397
6389
  return true
@@ -7943,7 +7935,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
7943
7935
  // that user code is usually dealing with.
7944
7936
 
7945
7937
  function CodeMirror(place, options) {
7946
- var this$1 = this;
7938
+ var this$1$1 = this;
7947
7939
 
7948
7940
  if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options) }
7949
7941
 
@@ -7984,7 +7976,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
7984
7976
 
7985
7977
  // Override magic textarea content restore that IE sometimes does
7986
7978
  // on our hidden textarea on reload
7987
- if (ie && ie_version < 11) { setTimeout(function () { return this$1.display.input.reset(true); }, 20); }
7979
+ if (ie && ie_version < 11) { setTimeout(function () { return this$1$1.display.input.reset(true); }, 20); }
7988
7980
 
7989
7981
  registerEventHandlers(this);
7990
7982
  ensureGlobalHandlers();
@@ -7995,7 +7987,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
7995
7987
 
7996
7988
  if ((options.autofocus && !mobile) || this.hasFocus())
7997
7989
  { setTimeout(function () {
7998
- if (this$1.hasFocus() && !this$1.state.focused) { onFocus(this$1); }
7990
+ if (this$1$1.hasFocus() && !this$1$1.state.focused) { onFocus(this$1$1); }
7999
7991
  }, 20); }
8000
7992
  else
8001
7993
  { onBlur(this); }
@@ -8576,11 +8568,11 @@ var codemirror = createCommonjsModule(function (module, exports) {
8576
8568
  },
8577
8569
 
8578
8570
  moveH: methodOp(function(dir, unit) {
8579
- var this$1 = this;
8571
+ var this$1$1 = this;
8580
8572
 
8581
8573
  this.extendSelectionsBy(function (range) {
8582
- if (this$1.display.shift || this$1.doc.extend || range.empty())
8583
- { return findPosH(this$1.doc, range.head, dir, unit, this$1.options.rtlMoveVisually) }
8574
+ if (this$1$1.display.shift || this$1$1.doc.extend || range.empty())
8575
+ { return findPosH(this$1$1.doc, range.head, dir, unit, this$1$1.options.rtlMoveVisually) }
8584
8576
  else
8585
8577
  { return dir < 0 ? range.from() : range.to() }
8586
8578
  }, sel_move);
@@ -8612,19 +8604,19 @@ var codemirror = createCommonjsModule(function (module, exports) {
8612
8604
  },
8613
8605
 
8614
8606
  moveV: methodOp(function(dir, unit) {
8615
- var this$1 = this;
8607
+ var this$1$1 = this;
8616
8608
 
8617
8609
  var doc = this.doc, goals = [];
8618
8610
  var collapse = !this.display.shift && !doc.extend && doc.sel.somethingSelected();
8619
8611
  doc.extendSelectionsBy(function (range) {
8620
8612
  if (collapse)
8621
8613
  { return dir < 0 ? range.from() : range.to() }
8622
- var headPos = cursorCoords(this$1, range.head, "div");
8614
+ var headPos = cursorCoords(this$1$1, range.head, "div");
8623
8615
  if (range.goalColumn != null) { headPos.left = range.goalColumn; }
8624
8616
  goals.push(headPos.left);
8625
- var pos = findPosV(this$1, headPos, dir, unit);
8617
+ var pos = findPosV(this$1$1, headPos, dir, unit);
8626
8618
  if (unit == "page" && range == doc.sel.primary())
8627
- { addToScrollTop(this$1, charCoords(this$1, pos, "div").top - headPos.top); }
8619
+ { addToScrollTop(this$1$1, charCoords(this$1$1, pos, "div").top - headPos.top); }
8628
8620
  return pos
8629
8621
  }, sel_move);
8630
8622
  if (goals.length) { for (var i = 0; i < doc.sel.ranges.length; i++)
@@ -8690,7 +8682,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
8690
8682
  }),
8691
8683
 
8692
8684
  setSize: methodOp(function(width, height) {
8693
- var this$1 = this;
8685
+ var this$1$1 = this;
8694
8686
 
8695
8687
  var interpret = function (val) { return typeof val == "number" || /^\d+$/.test(String(val)) ? val + "px" : val; };
8696
8688
  if (width != null) { this.display.wrapper.style.width = interpret(width); }
@@ -8699,7 +8691,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
8699
8691
  var lineNo = this.display.viewFrom;
8700
8692
  this.doc.iter(lineNo, this.display.viewTo, function (line) {
8701
8693
  if (line.widgets) { for (var i = 0; i < line.widgets.length; i++)
8702
- { if (line.widgets[i].noHScroll) { regLineChange(this$1, lineNo, "widget"); break } } }
8694
+ { if (line.widgets[i].noHScroll) { regLineChange(this$1$1, lineNo, "widget"); break } } }
8703
8695
  ++lineNo;
8704
8696
  });
8705
8697
  this.curOp.forceUpdate = true;
@@ -8868,7 +8860,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
8868
8860
  };
8869
8861
 
8870
8862
  ContentEditableInput.prototype.init = function (display) {
8871
- var this$1 = this;
8863
+ var this$1$1 = this;
8872
8864
 
8873
8865
  var input = this, cm = input.cm;
8874
8866
  var div = input.div = display.lineDiv;
@@ -8886,26 +8878,26 @@ var codemirror = createCommonjsModule(function (module, exports) {
8886
8878
  on(div, "paste", function (e) {
8887
8879
  if (!belongsToInput(e) || signalDOMEvent(cm, e) || handlePaste(e, cm)) { return }
8888
8880
  // IE doesn't fire input events, so we schedule a read for the pasted content in this way
8889
- if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1.updateFromDOM(); }), 20); }
8881
+ if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1$1.updateFromDOM(); }), 20); }
8890
8882
  });
8891
8883
 
8892
8884
  on(div, "compositionstart", function (e) {
8893
- this$1.composing = {data: e.data, done: false};
8885
+ this$1$1.composing = {data: e.data, done: false};
8894
8886
  });
8895
8887
  on(div, "compositionupdate", function (e) {
8896
- if (!this$1.composing) { this$1.composing = {data: e.data, done: false}; }
8888
+ if (!this$1$1.composing) { this$1$1.composing = {data: e.data, done: false}; }
8897
8889
  });
8898
8890
  on(div, "compositionend", function (e) {
8899
- if (this$1.composing) {
8900
- if (e.data != this$1.composing.data) { this$1.readFromDOMSoon(); }
8901
- this$1.composing.done = true;
8891
+ if (this$1$1.composing) {
8892
+ if (e.data != this$1$1.composing.data) { this$1$1.readFromDOMSoon(); }
8893
+ this$1$1.composing.done = true;
8902
8894
  }
8903
8895
  });
8904
8896
 
8905
8897
  on(div, "touchstart", function () { return input.forceCompositionEnd(); });
8906
8898
 
8907
8899
  on(div, "input", function () {
8908
- if (!this$1.composing) { this$1.readFromDOMSoon(); }
8900
+ if (!this$1$1.composing) { this$1$1.readFromDOMSoon(); }
8909
8901
  });
8910
8902
 
8911
8903
  function onCopyCut(e) {
@@ -9028,13 +9020,13 @@ var codemirror = createCommonjsModule(function (module, exports) {
9028
9020
  };
9029
9021
 
9030
9022
  ContentEditableInput.prototype.startGracePeriod = function () {
9031
- var this$1 = this;
9023
+ var this$1$1 = this;
9032
9024
 
9033
9025
  clearTimeout(this.gracePeriod);
9034
9026
  this.gracePeriod = setTimeout(function () {
9035
- this$1.gracePeriod = false;
9036
- if (this$1.selectionChanged())
9037
- { this$1.cm.operation(function () { return this$1.cm.curOp.selectionChanged = true; }); }
9027
+ this$1$1.gracePeriod = false;
9028
+ if (this$1$1.selectionChanged())
9029
+ { this$1$1.cm.operation(function () { return this$1$1.cm.curOp.selectionChanged = true; }); }
9038
9030
  }, 20);
9039
9031
  };
9040
9032
 
@@ -9069,11 +9061,11 @@ var codemirror = createCommonjsModule(function (module, exports) {
9069
9061
  ContentEditableInput.prototype.supportsTouch = function () { return true };
9070
9062
 
9071
9063
  ContentEditableInput.prototype.receivedFocus = function () {
9072
- var this$1 = this;
9064
+ var this$1$1 = this;
9073
9065
 
9074
9066
  var input = this;
9075
9067
  if (this.selectionInEditor())
9076
- { setTimeout(function () { return this$1.pollSelection(); }, 20); }
9068
+ { setTimeout(function () { return this$1$1.pollSelection(); }, 20); }
9077
9069
  else
9078
9070
  { runInOp(this.cm, function () { return input.cm.curOp.selectionChanged = true; }); }
9079
9071
 
@@ -9203,24 +9195,24 @@ var codemirror = createCommonjsModule(function (module, exports) {
9203
9195
  this.div.focus();
9204
9196
  };
9205
9197
  ContentEditableInput.prototype.readFromDOMSoon = function () {
9206
- var this$1 = this;
9198
+ var this$1$1 = this;
9207
9199
 
9208
9200
  if (this.readDOMTimeout != null) { return }
9209
9201
  this.readDOMTimeout = setTimeout(function () {
9210
- this$1.readDOMTimeout = null;
9211
- if (this$1.composing) {
9212
- if (this$1.composing.done) { this$1.composing = null; }
9202
+ this$1$1.readDOMTimeout = null;
9203
+ if (this$1$1.composing) {
9204
+ if (this$1$1.composing.done) { this$1$1.composing = null; }
9213
9205
  else { return }
9214
9206
  }
9215
- this$1.updateFromDOM();
9207
+ this$1$1.updateFromDOM();
9216
9208
  }, 80);
9217
9209
  };
9218
9210
 
9219
9211
  ContentEditableInput.prototype.updateFromDOM = function () {
9220
- var this$1 = this;
9212
+ var this$1$1 = this;
9221
9213
 
9222
9214
  if (this.cm.isReadOnly() || !this.pollContent())
9223
- { runInOp(this.cm, function () { return regChange(this$1.cm); }); }
9215
+ { runInOp(this.cm, function () { return regChange(this$1$1.cm); }); }
9224
9216
  };
9225
9217
 
9226
9218
  ContentEditableInput.prototype.setUneditable = function (node) {
@@ -9413,7 +9405,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
9413
9405
  };
9414
9406
 
9415
9407
  TextareaInput.prototype.init = function (display) {
9416
- var this$1 = this;
9408
+ var this$1$1 = this;
9417
9409
 
9418
9410
  var input = this, cm = this.cm;
9419
9411
  this.createField(display);
@@ -9425,7 +9417,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
9425
9417
  if (ios) { te.style.width = "0px"; }
9426
9418
 
9427
9419
  on(te, "input", function () {
9428
- if (ie && ie_version >= 9 && this$1.hasSelection) { this$1.hasSelection = null; }
9420
+ if (ie && ie_version >= 9 && this$1$1.hasSelection) { this$1$1.hasSelection = null; }
9429
9421
  input.poll();
9430
9422
  });
9431
9423
 
@@ -9578,12 +9570,12 @@ var codemirror = createCommonjsModule(function (module, exports) {
9578
9570
  // Poll for input changes, using the normal rate of polling. This
9579
9571
  // runs as long as the editor is focused.
9580
9572
  TextareaInput.prototype.slowPoll = function () {
9581
- var this$1 = this;
9573
+ var this$1$1 = this;
9582
9574
 
9583
9575
  if (this.pollingFast) { return }
9584
9576
  this.polling.set(this.cm.options.pollInterval, function () {
9585
- this$1.poll();
9586
- if (this$1.cm.state.focused) { this$1.slowPoll(); }
9577
+ this$1$1.poll();
9578
+ if (this$1$1.cm.state.focused) { this$1$1.slowPoll(); }
9587
9579
  });
9588
9580
  };
9589
9581
 
@@ -9608,7 +9600,7 @@ var codemirror = createCommonjsModule(function (module, exports) {
9608
9600
  // seen text (can be empty), which is stored in prevInput (we must
9609
9601
  // not reset the textarea when typing, because that breaks IME).
9610
9602
  TextareaInput.prototype.poll = function () {
9611
- var this$1 = this;
9603
+ var this$1$1 = this;
9612
9604
 
9613
9605
  var cm = this.cm, input = this.textarea, prevInput = this.prevInput;
9614
9606
  // Since this is called a *lot*, try to bail out as cheaply as
@@ -9643,15 +9635,15 @@ var codemirror = createCommonjsModule(function (module, exports) {
9643
9635
 
9644
9636
  runInOp(cm, function () {
9645
9637
  applyTextInput(cm, text.slice(same), prevInput.length - same,
9646
- null, this$1.composing ? "*compose" : null);
9638
+ null, this$1$1.composing ? "*compose" : null);
9647
9639
 
9648
9640
  // Don't leave long text in the textarea, since it makes further polling slow
9649
- if (text.length > 1000 || text.indexOf("\n") > -1) { input.value = this$1.prevInput = ""; }
9650
- else { this$1.prevInput = text; }
9641
+ if (text.length > 1000 || text.indexOf("\n") > -1) { input.value = this$1$1.prevInput = ""; }
9642
+ else { this$1$1.prevInput = text; }
9651
9643
 
9652
- if (this$1.composing) {
9653
- this$1.composing.range.clear();
9654
- this$1.composing.range = cm.markText(this$1.composing.start, cm.getCursor("to"),
9644
+ if (this$1$1.composing) {
9645
+ this$1$1.composing.range.clear();
9646
+ this$1$1.composing.range = cm.markText(this$1$1.composing.start, cm.getCursor("to"),
9655
9647
  {className: "CodeMirror-composing"});
9656
9648
  }
9657
9649
  });
@@ -9902,19 +9894,21 @@ var codemirror = createCommonjsModule(function (module, exports) {
9902
9894
 
9903
9895
  addLegacyProps(CodeMirror);
9904
9896
 
9905
- CodeMirror.version = "5.65.0";
9897
+ CodeMirror.version = "5.65.2";
9906
9898
 
9907
9899
  return CodeMirror;
9908
9900
 
9909
9901
  })));
9910
- });
9902
+ }(codemirror));
9911
9903
 
9912
- var css = createCommonjsModule(function (module, exports) {
9904
+ var CodeMirror = codemirror.exports;
9905
+
9906
+ (function (module, exports) {
9913
9907
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
9914
9908
  // Distributed under an MIT license: https://codemirror.net/LICENSE
9915
9909
 
9916
9910
  (function(mod) {
9917
- mod(codemirror);
9911
+ mod(codemirror.exports);
9918
9912
  })(function(CodeMirror) {
9919
9913
 
9920
9914
  CodeMirror.defineMode("css", function(config, parserConfig) {
@@ -10543,7 +10537,7 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
10543
10537
  "cell", "center", "checkbox", "circle", "cjk-decimal", "cjk-earthly-branch",
10544
10538
  "cjk-heavenly-stem", "cjk-ideographic", "clear", "clip", "close-quote",
10545
10539
  "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "column-reverse",
10546
- "compact", "condensed", "contain", "content", "contents",
10540
+ "compact", "condensed", "conic-gradient", "contain", "content", "contents",
10547
10541
  "content-box", "context-menu", "continuous", "contrast", "copy", "counter", "counters", "cover", "crop",
10548
10542
  "cross", "crosshair", "cubic-bezier", "currentcolor", "cursive", "cyclic", "darken", "dashed", "decimal",
10549
10543
  "decimal-leading-zero", "default", "default-button", "dense", "destination-atop",
@@ -10593,8 +10587,8 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
10593
10587
  "pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d",
10594
10588
  "progress", "push-button", "radial-gradient", "radio", "read-only",
10595
10589
  "read-write", "read-write-plaintext-only", "rectangle", "region",
10596
- "relative", "repeat", "repeating-linear-gradient",
10597
- "repeating-radial-gradient", "repeat-x", "repeat-y", "reset", "reverse",
10590
+ "relative", "repeat", "repeating-linear-gradient", "repeating-radial-gradient",
10591
+ "repeating-conic-gradient", "repeat-x", "repeat-y", "reset", "reverse",
10598
10592
  "rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY",
10599
10593
  "rotateZ", "round", "row", "row-resize", "row-reverse", "rtl", "run-in", "running",
10600
10594
  "s-resize", "sans-serif", "saturate", "saturation", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "screen",
@@ -10770,14 +10764,14 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
10770
10764
  });
10771
10765
 
10772
10766
  });
10773
- });
10767
+ }());
10774
10768
 
10775
- var ecl = createCommonjsModule(function (module, exports) {
10769
+ (function (module, exports) {
10776
10770
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10777
10771
  // Distributed under an MIT license: https://codemirror.net/LICENSE
10778
10772
 
10779
10773
  (function(mod) {
10780
- mod(codemirror);
10774
+ mod(codemirror.exports);
10781
10775
  })(function(CodeMirror) {
10782
10776
 
10783
10777
  CodeMirror.defineMode("ecl", function(config) {
@@ -10973,14 +10967,18 @@ CodeMirror.defineMode("ecl", function(config) {
10973
10967
  CodeMirror.defineMIME("text/x-ecl", "ecl");
10974
10968
 
10975
10969
  });
10976
- });
10970
+ }());
10971
+
10972
+ var markdown = {exports: {}};
10977
10973
 
10978
- var xml = createCommonjsModule(function (module, exports) {
10974
+ var xml = {exports: {}};
10975
+
10976
+ (function (module, exports) {
10979
10977
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
10980
10978
  // Distributed under an MIT license: https://codemirror.net/LICENSE
10981
10979
 
10982
10980
  (function(mod) {
10983
- mod(codemirror);
10981
+ mod(codemirror.exports);
10984
10982
  })(function(CodeMirror) {
10985
10983
 
10986
10984
  var htmlConfig = {
@@ -11387,14 +11385,16 @@ if (!CodeMirror.mimeModes.hasOwnProperty("text/html"))
11387
11385
  CodeMirror.defineMIME("text/html", {name: "xml", htmlMode: true});
11388
11386
 
11389
11387
  });
11390
- });
11388
+ }());
11391
11389
 
11392
- var meta = createCommonjsModule(function (module, exports) {
11390
+ var meta = {exports: {}};
11391
+
11392
+ (function (module, exports) {
11393
11393
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
11394
11394
  // Distributed under an MIT license: https://codemirror.net/LICENSE
11395
11395
 
11396
11396
  (function(mod) {
11397
- mod(codemirror);
11397
+ mod(codemirror.exports);
11398
11398
  })(function(CodeMirror) {
11399
11399
 
11400
11400
  CodeMirror.modeInfo = [
@@ -11605,14 +11605,14 @@ var meta = createCommonjsModule(function (module, exports) {
11605
11605
  }
11606
11606
  };
11607
11607
  });
11608
- });
11608
+ }());
11609
11609
 
11610
- var markdown = createCommonjsModule(function (module, exports) {
11610
+ (function (module, exports) {
11611
11611
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
11612
11612
  // Distributed under an MIT license: https://codemirror.net/LICENSE
11613
11613
 
11614
11614
  (function(mod) {
11615
- mod(codemirror, xml, meta);
11615
+ mod(codemirror.exports, xml.exports, meta.exports);
11616
11616
  })(function(CodeMirror) {
11617
11617
 
11618
11618
  CodeMirror.defineMode("markdown", function(cmCfg, modeCfg) {
@@ -12488,9 +12488,11 @@ CodeMirror.defineMIME("text/markdown", "markdown");
12488
12488
  CodeMirror.defineMIME("text/x-markdown", "markdown");
12489
12489
 
12490
12490
  });
12491
- });
12491
+ }());
12492
+
12493
+ var overlay = {exports: {}};
12492
12494
 
12493
- var overlay = createCommonjsModule(function (module, exports) {
12495
+ (function (module, exports) {
12494
12496
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
12495
12497
  // Distributed under an MIT license: https://codemirror.net/LICENSE
12496
12498
 
@@ -12504,7 +12506,7 @@ var overlay = createCommonjsModule(function (module, exports) {
12504
12506
  // combined.
12505
12507
 
12506
12508
  (function(mod) {
12507
- mod(codemirror);
12509
+ mod(codemirror.exports);
12508
12510
  })(function(CodeMirror) {
12509
12511
 
12510
12512
  CodeMirror.overlayMode = function(base, overlay, combine) {
@@ -12575,14 +12577,14 @@ CodeMirror.overlayMode = function(base, overlay, combine) {
12575
12577
  };
12576
12578
 
12577
12579
  });
12578
- });
12580
+ }());
12579
12581
 
12580
- var gfm = createCommonjsModule(function (module, exports) {
12582
+ (function (module, exports) {
12581
12583
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
12582
12584
  // Distributed under an MIT license: https://codemirror.net/LICENSE
12583
12585
 
12584
12586
  (function(mod) {
12585
- mod(codemirror, markdown, overlay);
12587
+ mod(codemirror.exports, markdown.exports, overlay.exports);
12586
12588
  })(function(CodeMirror) {
12587
12589
 
12588
12590
  var urlRE = /^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;
@@ -12701,14 +12703,16 @@ CodeMirror.defineMode("gfm", function(config, modeConfig) {
12701
12703
 
12702
12704
  CodeMirror.defineMIME("text/x-gfm", "gfm");
12703
12705
  });
12704
- });
12706
+ }());
12705
12707
 
12706
- var javascript = createCommonjsModule(function (module, exports) {
12708
+ var javascript = {exports: {}};
12709
+
12710
+ (function (module, exports) {
12707
12711
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
12708
12712
  // Distributed under an MIT license: https://codemirror.net/LICENSE
12709
12713
 
12710
12714
  (function(mod) {
12711
- mod(codemirror);
12715
+ mod(codemirror.exports);
12712
12716
  })(function(CodeMirror) {
12713
12717
 
12714
12718
  CodeMirror.defineMode("javascript", function(config, parserConfig) {
@@ -13030,6 +13034,7 @@ CodeMirror.defineMode("javascript", function(config, parserConfig) {
13030
13034
  cx.state.context = new Context(cx.state.context, cx.state.localVars, true);
13031
13035
  cx.state.localVars = null;
13032
13036
  }
13037
+ pushcontext.lex = pushblockcontext.lex = true;
13033
13038
  function popcontext() {
13034
13039
  cx.state.localVars = cx.state.context.vars;
13035
13040
  cx.state.context = cx.state.context.prev;
@@ -13656,14 +13661,14 @@ CodeMirror.defineMIME("text/typescript", { name: "javascript", typescript: true
13656
13661
  CodeMirror.defineMIME("application/typescript", { name: "javascript", typescript: true });
13657
13662
 
13658
13663
  });
13659
- });
13664
+ }());
13660
13665
 
13661
- var htmlmixed = createCommonjsModule(function (module, exports) {
13666
+ (function (module, exports) {
13662
13667
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
13663
13668
  // Distributed under an MIT license: https://codemirror.net/LICENSE
13664
13669
 
13665
13670
  (function(mod) {
13666
- mod(codemirror, xml, javascript, css);
13671
+ mod(codemirror.exports, xml.exports, javascript.exports, css.exports);
13667
13672
  })(function(CodeMirror) {
13668
13673
 
13669
13674
  var defaultTags = {
@@ -13705,7 +13710,7 @@ var htmlmixed = createCommonjsModule(function (module, exports) {
13705
13710
  }
13706
13711
 
13707
13712
  function getTagRegexp(tagName, anchored) {
13708
- return new RegExp((anchored ? "^" : "") + "<\/\s*" + tagName + "\s*>", "i");
13713
+ return new RegExp((anchored ? "^" : "") + "<\/\\s*" + tagName + "\\s*>", "i");
13709
13714
  }
13710
13715
 
13711
13716
  function addTags(from, to) {
@@ -13805,10 +13810,10 @@ var htmlmixed = createCommonjsModule(function (module, exports) {
13805
13810
 
13806
13811
  CodeMirror.defineMIME("text/html", "htmlmixed");
13807
13812
  });
13808
- });
13813
+ }());
13809
13814
 
13810
13815
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
13811
- codemirror.defineMode("dot", function (config) {
13816
+ CodeMirror.defineMode("dot", function (config) {
13812
13817
  var ops = /--|->|=|;/;
13813
13818
  var brackets = /[\[\]{}]/;
13814
13819
  return {
@@ -13903,22 +13908,22 @@ codemirror.defineMode("dot", function (config) {
13903
13908
  blockCommentEnd: "*/"
13904
13909
  };
13905
13910
  });
13906
- codemirror.defineMIME("text/x-dot", "dot");
13911
+ CodeMirror.defineMIME("text/x-dot", "dot");
13907
13912
 
13908
13913
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
13909
- codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
13910
- var htmlMode = codemirror.getMode(cmCfg, "text/html");
13914
+ CodeMirror.defineMode("markdown", function (cmCfg, modeCfg) {
13915
+ var htmlMode = CodeMirror.getMode(cmCfg, "text/html");
13911
13916
  var htmlModeMissing = htmlMode.name == "null";
13912
13917
  if (modeCfg.defaultMode === undefined)
13913
13918
  modeCfg.defaultMode = "";
13914
13919
  function getMode(name) {
13915
13920
  name = name === "" ? modeCfg.defaultMode : name;
13916
- if (codemirror.findModeByName) {
13917
- var found = codemirror.findModeByName(name);
13921
+ if (CodeMirror.findModeByName) {
13922
+ var found = CodeMirror.findModeByName(name);
13918
13923
  if (found)
13919
13924
  name = found.mime || found.mimes[0];
13920
13925
  }
13921
- var mode = codemirror.getMode(cmCfg, name);
13926
+ var mode = CodeMirror.getMode(cmCfg, name);
13922
13927
  return mode.name == "null" ? null : mode;
13923
13928
  }
13924
13929
  // Should characters that affect highlighting be highlighted separate?
@@ -14003,7 +14008,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14003
14008
  if (state.f == htmlBlock) {
14004
14009
  var exit = htmlModeMissing;
14005
14010
  if (!exit) {
14006
- var inner = codemirror.innerMode(htmlMode, state.htmlState);
14011
+ var inner = CodeMirror.innerMode(htmlMode, state.htmlState);
14007
14012
  exit = inner.mode.name == "xml" && inner.state.tagStart === null &&
14008
14013
  (!inner.state.context && inner.state.tokenize.isInText);
14009
14014
  }
@@ -14111,7 +14116,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14111
14116
  // try switching mode
14112
14117
  state.localMode = modeCfg.fencedCodeBlockHighlighting && getMode(match[2]);
14113
14118
  if (state.localMode)
14114
- state.localState = codemirror.startState(state.localMode);
14119
+ state.localState = CodeMirror.startState(state.localMode);
14115
14120
  state.f = state.block = local;
14116
14121
  if (modeCfg.highlightFormatting)
14117
14122
  state.formatting = "code-block";
@@ -14157,7 +14162,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14157
14162
  function htmlBlock(stream, state) {
14158
14163
  var style = htmlMode.token(stream, state.htmlState);
14159
14164
  if (!htmlModeMissing) {
14160
- var inner = codemirror.innerMode(htmlMode, state.htmlState);
14165
+ var inner = CodeMirror.innerMode(htmlMode, state.htmlState);
14161
14166
  if ((inner.mode.name == "xml" && inner.state.tagStart === null &&
14162
14167
  (!inner.state.context && inner.state.tokenize.isInText)) ||
14163
14168
  (state.md_inside && stream.current().indexOf(">") > -1)) {
@@ -14444,7 +14449,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14444
14449
  state.md_inside = true;
14445
14450
  }
14446
14451
  stream.backUp(1);
14447
- state.htmlState = codemirror.startState(htmlMode);
14452
+ state.htmlState = CodeMirror.startState(htmlMode);
14448
14453
  return switchBlock(stream, state, htmlBlock);
14449
14454
  }
14450
14455
  if (modeCfg.xml && ch === '<' && stream.match(/^\/\w*?>/)) {
@@ -14673,10 +14678,10 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14673
14678
  prevLine: s.prevLine,
14674
14679
  thisLine: s.thisLine,
14675
14680
  block: s.block,
14676
- htmlState: s.htmlState && codemirror.copyState(htmlMode, s.htmlState),
14681
+ htmlState: s.htmlState && CodeMirror.copyState(htmlMode, s.htmlState),
14677
14682
  indentation: s.indentation,
14678
14683
  localMode: s.localMode,
14679
- localState: s.localMode ? codemirror.copyState(s.localMode, s.localState) : null,
14684
+ localState: s.localMode ? CodeMirror.copyState(s.localMode, s.localState) : null,
14680
14685
  inline: s.inline,
14681
14686
  text: s.text,
14682
14687
  formatting: false,
@@ -14744,7 +14749,7 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14744
14749
  return htmlMode.indent(state.htmlState, textAfter, line);
14745
14750
  if (state.localState && state.localMode.indent)
14746
14751
  return state.localMode.indent(state.localState, textAfter, line);
14747
- return codemirror.Pass;
14752
+ return CodeMirror.Pass;
14748
14753
  },
14749
14754
  blankLine: blankLine,
14750
14755
  getType: getType,
@@ -14755,10 +14760,10 @@ codemirror.defineMode("markdown", function (cmCfg, modeCfg) {
14755
14760
  };
14756
14761
  return mode;
14757
14762
  }, "xml");
14758
- codemirror.defineMIME("text/markdown", "markdown");
14759
- codemirror.defineMIME("text/x-markdown", "markdown");
14763
+ CodeMirror.defineMIME("text/markdown", "markdown");
14764
+ CodeMirror.defineMIME("text/x-markdown", "markdown");
14760
14765
 
14761
- function styleInject(css, ref) {
14766
+ function styleInject$1(css, ref) {
14762
14767
  if ( ref === void 0 ) ref = {};
14763
14768
  var insertAt = ref.insertAt;
14764
14769
 
@@ -14785,69 +14790,78 @@ function styleInject(css, ref) {
14785
14790
  }
14786
14791
  }
14787
14792
 
14788
- var css_248z = ".CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:\"\"}span.CodeMirror-selectedtext{background:none}";
14789
- styleInject(css_248z);
14793
+ var css_248z$2 = ".CodeMirror{color:#000;direction:ltr;font-family:monospace;height:300px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{background-color:#f7f7f7;border-right:1px solid #ddd;white-space:nowrap}.CodeMirror-linenumber{color:#999;min-width:20px;padding:0 3px 0 5px;text-align:right;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{background:#7e7;border:0!important;width:auto}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor .CodeMirror-line::selection,.cm-fat-cursor .CodeMirror-line>span::selection,.cm-fat-cursor .CodeMirror-line>span>span::selection{background:transparent}.cm-fat-cursor .CodeMirror-line::-moz-selection,.cm-fat-cursor .CodeMirror-line>span::-moz-selection,.cm-fat-cursor .CodeMirror-line>span>span::-moz-selection{background:transparent}.cm-fat-cursor{caret-color:transparent}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{bottom:0;left:0;overflow:hidden;position:absolute;right:0;top:-50px}.CodeMirror-ruler{border-left:1px solid #ccc;bottom:0;position:absolute;top:0}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{background:#fff;overflow:hidden;position:relative}.CodeMirror-scroll{height:100%;margin-bottom:-50px;margin-right:-50px;outline:none;overflow:scroll!important;padding-bottom:50px;position:relative;z-index:0}.CodeMirror-sizer{border-right:50px solid transparent;position:relative}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{display:none;outline:none;position:absolute;z-index:6}.CodeMirror-vscrollbar{overflow-x:hidden;overflow-y:scroll;right:0;top:0}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-x:scroll;overflow-y:hidden}.CodeMirror-scrollbar-filler{bottom:0;right:0}.CodeMirror-gutter-filler{bottom:0;left:0}.CodeMirror-gutters{left:0;min-height:100%;position:absolute;top:0;z-index:3}.CodeMirror-gutter{display:inline-block;height:100%;margin-bottom:-50px;vertical-align:top;white-space:normal}.CodeMirror-gutter-wrapper{background:none!important;border:none!important;position:absolute;z-index:4}.CodeMirror-gutter-background{bottom:0;position:absolute;top:0;z-index:4}.CodeMirror-gutter-elt{cursor:default;position:absolute;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{word-wrap:normal;-webkit-tap-highlight-color:transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;-webkit-font-variant-ligatures:contextual;font-variant-ligatures:contextual;line-height:inherit;margin:0;overflow:visible;position:relative;white-space:pre;z-index:2}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{bottom:0;left:0;position:absolute;right:0;top:0;z-index:0}.CodeMirror-linewidget{padding:.1px;position:relative;z-index:2}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{-moz-box-sizing:content-box;box-sizing:content-box}.CodeMirror-measure{height:0;overflow:hidden;position:absolute;visibility:hidden;width:100%}.CodeMirror-cursor{pointer-events:none;position:absolute}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{position:relative;visibility:hidden;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:\"\"}span.CodeMirror-selectedtext{background:none}";
14794
+ styleInject$1(css_248z$2);
14790
14795
 
14791
- var braceFold = createCommonjsModule(function (module, exports) {
14796
+ (function (module, exports) {
14792
14797
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
14793
14798
  // Distributed under an MIT license: https://codemirror.net/LICENSE
14794
14799
 
14795
14800
  (function(mod) {
14796
- mod(codemirror);
14801
+ mod(codemirror.exports);
14797
14802
  })(function(CodeMirror) {
14798
14803
 
14799
- CodeMirror.registerHelper("fold", "brace", function(cm, start) {
14800
- var line = start.line, lineText = cm.getLine(line);
14801
-
14802
- function findOpening(openCh) {
14803
- var tokenType;
14804
- for (var at = start.ch, pass = 0;;) {
14805
- var found = at <= 0 ? -1 : lineText.lastIndexOf(openCh, at - 1);
14806
- if (found == -1) {
14807
- if (pass == 1) break;
14808
- pass = 1;
14809
- at = lineText.length;
14810
- continue;
14811
- }
14812
- if (pass == 1 && found < start.ch) break;
14813
- tokenType = cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1));
14814
- if (!/^(comment|string)/.test(tokenType)) return {ch: found + 1, tokenType: tokenType};
14815
- at = found - 1;
14816
- }
14817
- }
14818
-
14819
- function findRange(startToken, endToken, found) {
14820
- var count = 1, lastLine = cm.lastLine(), end, startCh = found.ch, endCh;
14821
- outer: for (var i = line; i <= lastLine; ++i) {
14822
- var text = cm.getLine(i), pos = i == line ? startCh : 0;
14823
- for (;;) {
14824
- var nextOpen = text.indexOf(startToken, pos), nextClose = text.indexOf(endToken, pos);
14825
- if (nextOpen < 0) nextOpen = text.length;
14826
- if (nextClose < 0) nextClose = text.length;
14827
- pos = Math.min(nextOpen, nextClose);
14828
- if (pos == text.length) break;
14829
- if (cm.getTokenTypeAt(CodeMirror.Pos(i, pos + 1)) == found.tokenType) {
14830
- if (pos == nextOpen) ++count;
14831
- else if (!--count) { end = i; endCh = pos; break outer; }
14804
+ function bracketFolding(pairs) {
14805
+ return function(cm, start) {
14806
+ var line = start.line, lineText = cm.getLine(line);
14807
+
14808
+ function findOpening(pair) {
14809
+ var tokenType;
14810
+ for (var at = start.ch, pass = 0;;) {
14811
+ var found = at <= 0 ? -1 : lineText.lastIndexOf(pair[0], at - 1);
14812
+ if (found == -1) {
14813
+ if (pass == 1) break;
14814
+ pass = 1;
14815
+ at = lineText.length;
14816
+ continue;
14817
+ }
14818
+ if (pass == 1 && found < start.ch) break;
14819
+ tokenType = cm.getTokenTypeAt(CodeMirror.Pos(line, found + 1));
14820
+ if (!/^(comment|string)/.test(tokenType)) return {ch: found + 1, tokenType: tokenType, pair: pair};
14821
+ at = found - 1;
14822
+ }
14823
+ }
14824
+
14825
+ function findRange(found) {
14826
+ var count = 1, lastLine = cm.lastLine(), end, startCh = found.ch, endCh;
14827
+ outer: for (var i = line; i <= lastLine; ++i) {
14828
+ var text = cm.getLine(i), pos = i == line ? startCh : 0;
14829
+ for (;;) {
14830
+ var nextOpen = text.indexOf(found.pair[0], pos), nextClose = text.indexOf(found.pair[1], pos);
14831
+ if (nextOpen < 0) nextOpen = text.length;
14832
+ if (nextClose < 0) nextClose = text.length;
14833
+ pos = Math.min(nextOpen, nextClose);
14834
+ if (pos == text.length) break;
14835
+ if (cm.getTokenTypeAt(CodeMirror.Pos(i, pos + 1)) == found.tokenType) {
14836
+ if (pos == nextOpen) ++count;
14837
+ else if (!--count) { end = i; endCh = pos; break outer; }
14838
+ }
14839
+ ++pos;
14832
14840
  }
14833
- ++pos;
14834
14841
  }
14835
- }
14836
14842
 
14837
- if (end == null || line == end) return null
14838
- return {from: CodeMirror.Pos(line, startCh),
14839
- to: CodeMirror.Pos(end, endCh)};
14840
- }
14843
+ if (end == null || line == end) return null
14844
+ return {from: CodeMirror.Pos(line, startCh),
14845
+ to: CodeMirror.Pos(end, endCh)};
14846
+ }
14841
14847
 
14842
- var startBrace = findOpening("{"), startBracket = findOpening("[");
14843
- if (startBrace && (!startBracket || startBracket.ch > startBrace.ch)) {
14844
- return findRange("{", "}", startBrace) || (startBracket && findRange("[", "]", startBracket))
14845
- } else if (startBracket) {
14846
- return findRange("[", "]", startBracket) || (startBrace && findRange("{", "}", startBrace))
14847
- } else {
14848
+ var found = [];
14849
+ for (var i = 0; i < pairs.length; i++) {
14850
+ var open = findOpening(pairs[i]);
14851
+ if (open) found.push(open);
14852
+ }
14853
+ found.sort(function(a, b) { return a.ch - b.ch });
14854
+ for (var i = 0; i < found.length; i++) {
14855
+ var range = findRange(found[i]);
14856
+ if (range) return range
14857
+ }
14848
14858
  return null
14849
14859
  }
14850
- });
14860
+ }
14861
+
14862
+ CodeMirror.registerHelper("fold", "brace", bracketFolding([["{", "}"], ["[", "]"]]));
14863
+
14864
+ CodeMirror.registerHelper("fold", "brace-paren", bracketFolding([["{", "}"], ["[", "]"], ["(", ")"]]));
14851
14865
 
14852
14866
  CodeMirror.registerHelper("fold", "import", function(cm, start) {
14853
14867
  function hasImport(line) {
@@ -14893,14 +14907,14 @@ CodeMirror.registerHelper("fold", "include", function(cm, start) {
14893
14907
  });
14894
14908
 
14895
14909
  });
14896
- });
14910
+ }());
14897
14911
 
14898
- var commentFold = createCommonjsModule(function (module, exports) {
14912
+ (function (module, exports) {
14899
14913
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
14900
14914
  // Distributed under an MIT license: https://codemirror.net/LICENSE
14901
14915
 
14902
14916
  (function(mod) {
14903
- mod(codemirror);
14917
+ mod(codemirror.exports);
14904
14918
  })(function(CodeMirror) {
14905
14919
 
14906
14920
  CodeMirror.registerGlobalHelper("fold", "comment", function(mode) {
@@ -14949,14 +14963,16 @@ CodeMirror.registerGlobalHelper("fold", "comment", function(mode) {
14949
14963
  });
14950
14964
 
14951
14965
  });
14952
- });
14966
+ }());
14953
14967
 
14954
- var foldcode = createCommonjsModule(function (module, exports) {
14968
+ var foldcode = {exports: {}};
14969
+
14970
+ (function (module, exports) {
14955
14971
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
14956
14972
  // Distributed under an MIT license: https://codemirror.net/LICENSE
14957
14973
 
14958
14974
  (function(mod) {
14959
- mod(codemirror);
14975
+ mod(codemirror.exports);
14960
14976
  })(function(CodeMirror) {
14961
14977
 
14962
14978
  function doFold(cm, pos, options, force) {
@@ -15105,14 +15121,14 @@ var foldcode = createCommonjsModule(function (module, exports) {
15105
15121
  return getOption(this, options, name);
15106
15122
  });
15107
15123
  });
15108
- });
15124
+ }());
15109
15125
 
15110
- var foldgutter = createCommonjsModule(function (module, exports) {
15126
+ (function (module, exports) {
15111
15127
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15112
15128
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15113
15129
 
15114
15130
  (function(mod) {
15115
- mod(codemirror, foldcode);
15131
+ mod(codemirror.exports, foldcode.exports);
15116
15132
  })(function(CodeMirror) {
15117
15133
 
15118
15134
  CodeMirror.defineOption("foldGutter", false, function(cm, val, old) {
@@ -15265,14 +15281,14 @@ var foldgutter = createCommonjsModule(function (module, exports) {
15265
15281
  updateFoldInfo(cm, line, line + 1);
15266
15282
  }
15267
15283
  });
15268
- });
15284
+ }());
15269
15285
 
15270
- var indentFold = createCommonjsModule(function (module, exports) {
15286
+ (function (module, exports) {
15271
15287
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15272
15288
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15273
15289
 
15274
15290
  (function(mod) {
15275
- mod(codemirror);
15291
+ mod(codemirror.exports);
15276
15292
  })(function(CodeMirror) {
15277
15293
 
15278
15294
  function lineIndent(cm, lineNo) {
@@ -15309,14 +15325,14 @@ CodeMirror.registerHelper("fold", "indent", function(cm, start) {
15309
15325
  });
15310
15326
 
15311
15327
  });
15312
- });
15328
+ }());
15313
15329
 
15314
- var xmlFold = createCommonjsModule(function (module, exports) {
15330
+ (function (module, exports) {
15315
15331
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15316
15332
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15317
15333
 
15318
15334
  (function(mod) {
15319
- mod(codemirror);
15335
+ mod(codemirror.exports);
15320
15336
  })(function(CodeMirror) {
15321
15337
 
15322
15338
  var Pos = CodeMirror.Pos;
@@ -15490,19 +15506,21 @@ var xmlFold = createCommonjsModule(function (module, exports) {
15490
15506
  return findMatchingClose(iter, name);
15491
15507
  };
15492
15508
  });
15493
- });
15509
+ }());
15494
15510
 
15495
- var css_248z$1 = ".CodeMirror-foldmarker{color:#00f;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px;font-family:arial;line-height:.3;cursor:pointer}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:\"\\25BE\"}.CodeMirror-foldgutter-folded:after{content:\"\\25B8\"}";
15496
- styleInject(css_248z$1);
15511
+ var css_248z$1$1 = ".CodeMirror-foldmarker{color:blue;cursor:pointer;font-family:arial;line-height:.3;text-shadow:#b9f 1px 1px 2px,#b9f -1px -1px 2px,#b9f 1px -1px 2px,#b9f -1px 1px 2px}.CodeMirror-foldgutter{width:.7em}.CodeMirror-foldgutter-folded,.CodeMirror-foldgutter-open{cursor:pointer}.CodeMirror-foldgutter-open:after{content:\"\\25BE\"}.CodeMirror-foldgutter-folded:after{content:\"\\25B8\"}";
15512
+ styleInject$1(css_248z$1$1);
15497
15513
 
15498
- var dialog = createCommonjsModule(function (module, exports) {
15514
+ var dialog = {exports: {}};
15515
+
15516
+ (function (module, exports) {
15499
15517
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15500
15518
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15501
15519
 
15502
15520
  // Open simple dialogs on top of an editor. Relies on dialog.css.
15503
15521
 
15504
15522
  (function(mod) {
15505
- mod(codemirror);
15523
+ mod(codemirror.exports);
15506
15524
  })(function(CodeMirror) {
15507
15525
  function dialogDiv(cm, template, bottom) {
15508
15526
  var wrap = cm.getWrapperElement();
@@ -15654,16 +15672,16 @@ var dialog = createCommonjsModule(function (module, exports) {
15654
15672
  return close;
15655
15673
  });
15656
15674
  });
15657
- });
15675
+ }());
15658
15676
 
15659
- var jumpToLine = createCommonjsModule(function (module, exports) {
15677
+ (function (module, exports) {
15660
15678
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15661
15679
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15662
15680
 
15663
15681
  // Defines jumpToLine command. Uses dialog.js if present.
15664
15682
 
15665
15683
  (function(mod) {
15666
- mod(codemirror, dialog);
15684
+ mod(codemirror.exports, dialog.exports);
15667
15685
  })(function(CodeMirror) {
15668
15686
 
15669
15687
  // default search panel location
@@ -15704,14 +15722,16 @@ var jumpToLine = createCommonjsModule(function (module, exports) {
15704
15722
 
15705
15723
  CodeMirror.keyMap["default"]["Alt-G"] = "jumpToLine";
15706
15724
  });
15707
- });
15725
+ }());
15726
+
15727
+ var searchcursor = {exports: {}};
15708
15728
 
15709
- var searchcursor = createCommonjsModule(function (module, exports) {
15729
+ (function (module, exports) {
15710
15730
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
15711
15731
  // Distributed under an MIT license: https://codemirror.net/LICENSE
15712
15732
 
15713
15733
  (function(mod) {
15714
- mod(codemirror);
15734
+ mod(codemirror.exports);
15715
15735
  })(function(CodeMirror) {
15716
15736
  var Pos = CodeMirror.Pos;
15717
15737
 
@@ -16006,9 +16026,9 @@ var searchcursor = createCommonjsModule(function (module, exports) {
16006
16026
  this.setSelections(ranges, 0);
16007
16027
  });
16008
16028
  });
16009
- });
16029
+ }());
16010
16030
 
16011
- var search = createCommonjsModule(function (module, exports) {
16031
+ (function (module, exports) {
16012
16032
  // CodeMirror, copyright (c) by Marijn Haverbeke and others
16013
16033
  // Distributed under an MIT license: https://codemirror.net/LICENSE
16014
16034
 
@@ -16021,7 +16041,7 @@ var search = createCommonjsModule(function (module, exports) {
16021
16041
  // Ctrl-G.
16022
16042
 
16023
16043
  (function(mod) {
16024
- mod(codemirror, searchcursor, dialog);
16044
+ mod(codemirror.exports, searchcursor.exports, dialog.exports);
16025
16045
  })(function(CodeMirror) {
16026
16046
 
16027
16047
  // default search panel location
@@ -16295,12 +16315,12 @@ var search = createCommonjsModule(function (module, exports) {
16295
16315
  CodeMirror.commands.replace = replace;
16296
16316
  CodeMirror.commands.replaceAll = function(cm) {replace(cm, true);};
16297
16317
  });
16298
- });
16318
+ }());
16299
16319
 
16300
- var css_248z$2 = ".CodeMirror-dialog{position:absolute;left:0;right:0;background:inherit;z-index:15;padding:.1em .8em;overflow:hidden;color:inherit}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{border:none;outline:none;background:transparent;width:20em;color:inherit;font-family:monospace}.CodeMirror-dialog button{font-size:70%}";
16301
- styleInject(css_248z$2);
16320
+ var css_248z$3 = ".CodeMirror-dialog{background:inherit;color:inherit;left:0;overflow:hidden;padding:.1em .8em;position:absolute;right:0;z-index:15}.CodeMirror-dialog-top{border-bottom:1px solid #eee;top:0}.CodeMirror-dialog-bottom{border-top:1px solid #eee;bottom:0}.CodeMirror-dialog input{background:transparent;border:none;color:inherit;font-family:monospace;outline:none;width:20em}.CodeMirror-dialog button{font-size:70%}";
16321
+ styleInject$1(css_248z$3);
16302
16322
 
16303
- function styleInject$1(css, ref) {
16323
+ function styleInject(css, ref) {
16304
16324
  if ( ref === void 0 ) ref = {};
16305
16325
  var insertAt = ref.insertAt;
16306
16326
 
@@ -16327,8 +16347,8 @@ function styleInject$1(css, ref) {
16327
16347
  }
16328
16348
  }
16329
16349
 
16330
- var css_248z$3 = ".codemirror_Editor{border:1px solid #d3d3d3}.codemirror_Editor .cm-marked-text{background-color:#ff0}.codemirror_Editor .cm-marked-error,.codemirror_Editor .cm-marked-info,.codemirror_Editor .cm-marked-warning{display:inline-block;position:relative;background-position:0 100%;background-repeat:repeat-x}.codemirror_Editor .cm-marked-info{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHElEQVQYV2NkgIP//xkYGBkZIXwIB0SDCQgHAgDEXAgCKU2DPwAAAABJRU5ErkJggg==\")}.codemirror_Editor .cm-marked-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/DAz/GRkYGBlBfBgHTMM4MJUAzFoIAuwf4BEAAAAASUVORK5CYII=\")}.codemirror_Editor .cm-marked-warning{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/Sxn+M0YzMDKC+DAOmIZxYCoBKQkLp8ga+UwAAAAASUVORK5CYII=\")}";
16331
- styleInject$1(css_248z$3);
16350
+ var css_248z$1 = ".codemirror_Editor{border:1px solid #d3d3d3}.codemirror_Editor .cm-marked-text{background-color:#ff0}.codemirror_Editor .cm-marked-error,.codemirror_Editor .cm-marked-info,.codemirror_Editor .cm-marked-warning{background-position:0 100%;background-repeat:repeat-x;display:inline-block;position:relative}.codemirror_Editor .cm-marked-info{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHElEQVQYV2NkgIP//xkYGBkZIXwIB0SDCQgHAgDEXAgCKU2DPwAAAABJRU5ErkJggg==\")}.codemirror_Editor .cm-marked-error{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/DAz/GRkYGBlBfBgHTMM4MJUAzFoIAuwf4BEAAAAASUVORK5CYII=\")}.codemirror_Editor .cm-marked-warning{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAHUlEQVQYV2NkgIL/Sxn+M0YzMDKC+DAOmIZxYCoBKQkLp8ga+UwAAAAASUVORK5CYII=\")}";
16351
+ styleInject(css_248z$1);
16332
16352
 
16333
16353
  var Editor = /** @class */ (function (_super) {
16334
16354
  __extends(Editor, _super);
@@ -16351,7 +16371,7 @@ var Editor = /** @class */ (function (_super) {
16351
16371
  if (this.gutterMarkerWidth() > 0) {
16352
16372
  gutters.unshift({
16353
16373
  className: "CodeMirror-guttermarker",
16354
- style: "width:" + this.gutterMarkerWidth() + "px;"
16374
+ style: "width:".concat(this.gutterMarkerWidth(), "px;")
16355
16375
  });
16356
16376
  }
16357
16377
  return gutters;
@@ -16463,7 +16483,7 @@ var Editor = /** @class */ (function (_super) {
16463
16483
  Editor.prototype.enter = function (domNode, element) {
16464
16484
  var _this = this;
16465
16485
  _super.prototype.enter.call(this, domNode, element);
16466
- this._codemirror = codemirror.fromTextArea(element.append("textarea").node(), this.options());
16486
+ this._codemirror = CodeMirror.fromTextArea(element.append("textarea").node(), this.options());
16467
16487
  this._codemirror.on("changes", function (cm, changes) {
16468
16488
  _this.changes(changes);
16469
16489
  });
@@ -16525,8 +16545,8 @@ var DOTEditor = /** @class */ (function (_super) {
16525
16545
  }(Editor));
16526
16546
  DOTEditor.prototype._class += " codemirror_JSEditor";
16527
16547
 
16528
- var css_248z$4 = ".codemirror_ECLEditor .cm-s-default span.cm-comment{color:green}.codemirror_ECLEditor .cm-s-default span.cm-keyword{color:#00f}.codemirror_ECLEditor .cm-s-default span.cm-variable{font-weight:700;color:navy}.codemirror_ECLEditor .cm-s-default span.cm-variable-2,.codemirror_ECLEditor .cm-s-default span.cm-variable-3{color:maroon}.codemirror_ECLEditor .cm-s-default span.cm-builtin{color:purple}.codemirror_ECLEditor .cm-s-default span.cm-string{color:grey}.cm-s-default span.cm-atom,.codemirror_ECLEditor .cm-s-default span.cm-number{color:#000}.codemirror_ECLEditor .cm-s-default span.cm-meta{color:#004080}.codemirror_ECLEditor .ErrorLine{background:#c00!important;color:#fff!important}.codemirror_ECLEditor .WarningLine{background:#ff9!important}.codemirror_ECLEditor .highlightline{background:#e8f2ff!important}";
16529
- styleInject$1(css_248z$4);
16548
+ var css_248z = ".codemirror_ECLEditor .cm-s-default span.cm-comment{color:green}.codemirror_ECLEditor .cm-s-default span.cm-keyword{color:#00f}.codemirror_ECLEditor .cm-s-default span.cm-variable{color:navy;font-weight:700}.codemirror_ECLEditor .cm-s-default span.cm-variable-2,.codemirror_ECLEditor .cm-s-default span.cm-variable-3{color:maroon}.codemirror_ECLEditor .cm-s-default span.cm-builtin{color:purple}.codemirror_ECLEditor .cm-s-default span.cm-string{color:grey}.cm-s-default span.cm-atom,.codemirror_ECLEditor .cm-s-default span.cm-number{color:#000}.codemirror_ECLEditor .cm-s-default span.cm-meta{color:#004080}.codemirror_ECLEditor .ErrorLine{background:#c00!important;color:#fff!important}.codemirror_ECLEditor .WarningLine{background:#ff9!important}.codemirror_ECLEditor .highlightline{background:#e8f2ff!important}";
16549
+ styleInject(css_248z);
16530
16550
 
16531
16551
  var ECLEditor = /** @class */ (function (_super) {
16532
16552
  __extends(ECLEditor, _super);