@startinblox/core 0.19.0-beta.7 → 0.19.0-beta.9

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.js CHANGED
@@ -423,7 +423,7 @@ class Template {
423
423
  const stack = [];
424
424
  const walker = document.createTreeWalker(element.content, 133, null, false);
425
425
  let lastPartIndex = 0;
426
- let index = -1;
426
+ let index2 = -1;
427
427
  let partIndex = 0;
428
428
  const { strings, values: { length } } = result;
429
429
  while (partIndex < length) {
@@ -432,7 +432,7 @@ class Template {
432
432
  walker.currentNode = stack.pop();
433
433
  continue;
434
434
  }
435
- index++;
435
+ index2++;
436
436
  if (node2.nodeType === 1) {
437
437
  if (node2.hasAttributes()) {
438
438
  const attributes = node2.attributes;
@@ -450,7 +450,7 @@ class Template {
450
450
  const attributeValue = node2.getAttribute(attributeLookupName);
451
451
  node2.removeAttribute(attributeLookupName);
452
452
  const statics = attributeValue.split(markerRegex);
453
- this.parts.push({ type: "attribute", index, name, strings: statics });
453
+ this.parts.push({ type: "attribute", index: index2, name, strings: statics });
454
454
  partIndex += statics.length - 1;
455
455
  }
456
456
  }
@@ -477,7 +477,7 @@ class Template {
477
477
  insert2 = document.createTextNode(s);
478
478
  }
479
479
  parent.insertBefore(insert2, node2);
480
- this.parts.push({ type: "node", index: ++index });
480
+ this.parts.push({ type: "node", index: ++index2 });
481
481
  }
482
482
  if (strings2[lastIndex] === "") {
483
483
  parent.insertBefore(createMarker(), node2);
@@ -490,17 +490,17 @@ class Template {
490
490
  } else if (node2.nodeType === 8) {
491
491
  if (node2.data === marker$2) {
492
492
  const parent = node2.parentNode;
493
- if (node2.previousSibling === null || index === lastPartIndex) {
494
- index++;
493
+ if (node2.previousSibling === null || index2 === lastPartIndex) {
494
+ index2++;
495
495
  parent.insertBefore(createMarker(), node2);
496
496
  }
497
- lastPartIndex = index;
498
- this.parts.push({ type: "node", index });
497
+ lastPartIndex = index2;
498
+ this.parts.push({ type: "node", index: index2 });
499
499
  if (node2.nextSibling === null) {
500
500
  node2.data = "";
501
501
  } else {
502
502
  nodesToRemove.push(node2);
503
- index--;
503
+ index2--;
504
504
  }
505
505
  partIndex++;
506
506
  } else {
@@ -518,8 +518,8 @@ class Template {
518
518
  }
519
519
  }
520
520
  const endsWith = (str, suffix) => {
521
- const index = str.length - suffix.length;
522
- return index >= 0 && str.slice(index) === suffix;
521
+ const index2 = str.length - suffix.length;
522
+ return index2 >= 0 && str.slice(index2) === suffix;
523
523
  };
524
524
  const isTemplatePartActive = (part2) => part2.index !== -1;
525
525
  const createMarker = () => document.createComment("");
@@ -11929,29 +11929,29 @@ const ServerPaginationMixin = {
11929
11929
  return this.currentOffset[resourceId + "#p" + limit];
11930
11930
  },
11931
11931
  async setCurrentOffset(resourceId, offset) {
11932
- let index = resourceId + "#p" + this.limit;
11933
- this.currentOffset[index] = this.offset = offset;
11932
+ let index2 = resourceId + "#p" + this.limit;
11933
+ this.currentOffset[index2] = this.offset = offset;
11934
11934
  this.pageNumber = Number(this.offset / this.limit);
11935
11935
  this.currentPage[resourceId] = this.pageNumber;
11936
11936
  await this.fetchData(this.dataSrc);
11937
11937
  },
11938
11938
  async decreaseCurrentOffset(resourceId) {
11939
- let index = resourceId + "#p" + this.limit;
11940
- this.currentOffset[index] = this.offset = this.offset - this.limit;
11941
- this.currentPage[index] = this.offset / this.limit;
11939
+ let index2 = resourceId + "#p" + this.limit;
11940
+ this.currentOffset[index2] = this.offset = this.offset - this.limit;
11941
+ this.currentPage[index2] = this.offset / this.limit;
11942
11942
  this.pageNumber = this.offset / this.limit;
11943
- this.updateNavButtons(resourceId, index, -1);
11943
+ this.updateNavButtons(resourceId, index2, -1);
11944
11944
  await this.fetchData(this.dataSrc);
11945
11945
  },
11946
11946
  async increaseCurrentOffset(resourceId) {
11947
- let index = resourceId + "#p" + this.limit;
11948
- this.currentOffset[index] = this.offset = this.offset + this.limit;
11949
- this.currentPage[index] = this.offset / this.limit;
11950
- this.updateNavButtons(resourceId, index, 1);
11947
+ let index2 = resourceId + "#p" + this.limit;
11948
+ this.currentOffset[index2] = this.offset = this.offset + this.limit;
11949
+ this.currentPage[index2] = this.offset / this.limit;
11950
+ this.updateNavButtons(resourceId, index2, 1);
11951
11951
  await this.fetchData(this.dataSrc);
11952
11952
  },
11953
- async updateNavButtons(resourceId, index, variance) {
11954
- this.element.querySelector("[data-id='prev']").disabled = this.currentOffset[index] <= 0;
11953
+ async updateNavButtons(resourceId, index2, variance) {
11954
+ this.element.querySelector("[data-id='prev']").disabled = this.currentOffset[index2] <= 0;
11955
11955
  this.element.querySelector("[data-id='current']").innerText = this.getCurrentServedPage(resourceId, variance);
11956
11956
  },
11957
11957
  getServerNavElement(div2) {
@@ -12591,8 +12591,8 @@ const MultipleFormMixin = {
12591
12591
  this.insertWidget();
12592
12592
  this.planRender();
12593
12593
  };
12594
- this.listAttributes["removeItem"] = (index) => {
12595
- this.element.querySelector(`[data-index="${this.name + index}"]`).remove();
12594
+ this.listAttributes["removeItem"] = (index2) => {
12595
+ this.element.querySelector(`[data-index="${this.name + index2}"]`).remove();
12596
12596
  this.element.dispatchEvent(new Event("change", { bubbles: true }));
12597
12597
  };
12598
12598
  },
@@ -13080,9 +13080,9 @@ var root$6 = _root;
13080
13080
  var Symbol$4 = root$6.Symbol;
13081
13081
  var _Symbol = Symbol$4;
13082
13082
  function arrayMap$2(array, iteratee) {
13083
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
13084
- while (++index < length) {
13085
- result[index] = iteratee(array[index], index, array);
13083
+ var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
13084
+ while (++index2 < length) {
13085
+ result[index2] = iteratee(array[index2], index2, array);
13086
13086
  }
13087
13087
  return result;
13088
13088
  }
@@ -13154,7 +13154,7 @@ function baseToString$2(value) {
13154
13154
  }
13155
13155
  var _baseToString = baseToString$2;
13156
13156
  function baseSlice$1(array, start, end) {
13157
- var index = -1, length = array.length;
13157
+ var index2 = -1, length = array.length;
13158
13158
  if (start < 0) {
13159
13159
  start = -start > length ? 0 : length + start;
13160
13160
  }
@@ -13165,8 +13165,8 @@ function baseSlice$1(array, start, end) {
13165
13165
  length = start > end ? 0 : end - start >>> 0;
13166
13166
  start >>>= 0;
13167
13167
  var result = Array(length);
13168
- while (++index < length) {
13169
- result[index] = array[index + start];
13168
+ while (++index2 < length) {
13169
+ result[index2] = array[index2 + start];
13170
13170
  }
13171
13171
  return result;
13172
13172
  }
@@ -13179,10 +13179,10 @@ function castSlice$1(array, start, end) {
13179
13179
  }
13180
13180
  var _castSlice = castSlice$1;
13181
13181
  function baseFindIndex$1(array, predicate, fromIndex, fromRight) {
13182
- var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
13183
- while (fromRight ? index-- : ++index < length) {
13184
- if (predicate(array[index], index, array)) {
13185
- return index;
13182
+ var length = array.length, index2 = fromIndex + (fromRight ? 1 : -1);
13183
+ while (fromRight ? index2-- : ++index2 < length) {
13184
+ if (predicate(array[index2], index2, array)) {
13185
+ return index2;
13186
13186
  }
13187
13187
  }
13188
13188
  return -1;
@@ -13193,10 +13193,10 @@ function baseIsNaN$1(value) {
13193
13193
  }
13194
13194
  var _baseIsNaN = baseIsNaN$1;
13195
13195
  function strictIndexOf$1(array, value, fromIndex) {
13196
- var index = fromIndex - 1, length = array.length;
13197
- while (++index < length) {
13198
- if (array[index] === value) {
13199
- return index;
13196
+ var index2 = fromIndex - 1, length = array.length;
13197
+ while (++index2 < length) {
13198
+ if (array[index2] === value) {
13199
+ return index2;
13200
13200
  }
13201
13201
  }
13202
13202
  return -1;
@@ -13209,10 +13209,10 @@ function baseIndexOf$2(array, value, fromIndex) {
13209
13209
  var _baseIndexOf = baseIndexOf$2;
13210
13210
  var baseIndexOf$1 = _baseIndexOf;
13211
13211
  function charsEndIndex$1(strSymbols, chrSymbols) {
13212
- var index = strSymbols.length;
13213
- while (index-- && baseIndexOf$1(chrSymbols, strSymbols[index], 0) > -1) {
13212
+ var index2 = strSymbols.length;
13213
+ while (index2-- && baseIndexOf$1(chrSymbols, strSymbols[index2], 0) > -1) {
13214
13214
  }
13215
- return index;
13215
+ return index2;
13216
13216
  }
13217
13217
  var _charsEndIndex = charsEndIndex$1;
13218
13218
  function asciiToArray$1(string) {
@@ -13246,10 +13246,10 @@ function toString$1(value) {
13246
13246
  var toString_1 = toString$1;
13247
13247
  var reWhitespace$1 = /\s/;
13248
13248
  function trimmedEndIndex$1(string) {
13249
- var index = string.length;
13250
- while (index-- && reWhitespace$1.test(string.charAt(index))) {
13249
+ var index2 = string.length;
13250
+ while (index2-- && reWhitespace$1.test(string.charAt(index2))) {
13251
13251
  }
13252
- return index;
13252
+ return index2;
13253
13253
  }
13254
13254
  var _trimmedEndIndex = trimmedEndIndex$1;
13255
13255
  var baseToString = _baseToString, castSlice = _castSlice, charsEndIndex = _charsEndIndex, stringToArray = _stringToArray, toString = toString_1, trimmedEndIndex = _trimmedEndIndex;
@@ -13294,14 +13294,14 @@ var nativeMax = Math.max;
13294
13294
  function overRest$1(func, start, transform) {
13295
13295
  start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
13296
13296
  return function() {
13297
- var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
13298
- while (++index < length) {
13299
- array[index] = args[start + index];
13297
+ var args = arguments, index2 = -1, length = nativeMax(args.length - start, 0), array = Array(length);
13298
+ while (++index2 < length) {
13299
+ array[index2] = args[start + index2];
13300
13300
  }
13301
- index = -1;
13301
+ index2 = -1;
13302
13302
  var otherArgs = Array(start + 1);
13303
- while (++index < start) {
13304
- otherArgs[index] = args[index];
13303
+ while (++index2 < start) {
13304
+ otherArgs[index2] = args[index2];
13305
13305
  }
13306
13306
  otherArgs[start] = transform(array);
13307
13307
  return apply(func, this, otherArgs);
@@ -13426,10 +13426,10 @@ function baseRest$1(func, start) {
13426
13426
  }
13427
13427
  var _baseRest = baseRest$1;
13428
13428
  function baseIndexOfWith$1(array, value, fromIndex, comparator) {
13429
- var index = fromIndex - 1, length = array.length;
13430
- while (++index < length) {
13431
- if (comparator(array[index], value)) {
13432
- return index;
13429
+ var index2 = fromIndex - 1, length = array.length;
13430
+ while (++index2 < length) {
13431
+ if (comparator(array[index2], value)) {
13432
+ return index2;
13433
13433
  }
13434
13434
  }
13435
13435
  return -1;
@@ -13442,10 +13442,10 @@ function baseUnary$2(func) {
13442
13442
  }
13443
13443
  var _baseUnary = baseUnary$2;
13444
13444
  function copyArray$1(source, array) {
13445
- var index = -1, length = source.length;
13445
+ var index2 = -1, length = source.length;
13446
13446
  array || (array = Array(length));
13447
- while (++index < length) {
13448
- array[index] = source[index];
13447
+ while (++index2 < length) {
13448
+ array[index2] = source[index2];
13449
13449
  }
13450
13450
  return array;
13451
13451
  }
@@ -13454,15 +13454,15 @@ var arrayMap = _arrayMap, baseIndexOf = _baseIndexOf, baseIndexOfWith = _baseInd
13454
13454
  var arrayProto = Array.prototype;
13455
13455
  var splice = arrayProto.splice;
13456
13456
  function basePullAll$1(array, values, iteratee, comparator) {
13457
- var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf, index = -1, length = values.length, seen2 = array;
13457
+ var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf, index2 = -1, length = values.length, seen2 = array;
13458
13458
  if (array === values) {
13459
13459
  values = copyArray(values);
13460
13460
  }
13461
13461
  if (iteratee) {
13462
13462
  seen2 = arrayMap(array, baseUnary$1(iteratee));
13463
13463
  }
13464
- while (++index < length) {
13465
- var fromIndex = 0, value = values[index], computed = iteratee ? iteratee(value) : value;
13464
+ while (++index2 < length) {
13465
+ var fromIndex = 0, value = values[index2], computed = iteratee ? iteratee(value) : value;
13466
13466
  while ((fromIndex = indexOf2(seen2, computed, fromIndex, comparator)) > -1) {
13467
13467
  if (seen2 !== array) {
13468
13468
  splice.call(seen2, fromIndex, 1);
@@ -14011,10 +14011,10 @@ const formTemplates = {
14011
14011
  },
14012
14012
  multiple: {
14013
14013
  template: (_value, attributes) => html$1`
14014
- ${(attributes.children || []).map((child, index) => html$1`
14015
- <div data-index=${attributes.name + index}>
14014
+ ${(attributes.children || []).map((child, index2) => html$1`
14015
+ <div data-index=${attributes.name + index2}>
14016
14016
  ${child}
14017
- <button type="button" class=${ifDefined(attributes.removeClass)} @click=${() => attributes.removeItem(index)}>${attributes.removeLabel}</button>
14017
+ <button type="button" class=${ifDefined(attributes.removeClass)} @click=${() => attributes.removeItem(index2)}>${attributes.removeLabel}</button>
14018
14018
  </div>
14019
14019
  `)}
14020
14020
  <button type="button" class=${ifDefined(attributes.addClass)} @click=${attributes.addItem}>${attributes.addLabel}</button>
@@ -14204,6 +14204,14 @@ const groupTemplates = {
14204
14204
  dependencies: [SetMixin]
14205
14205
  }
14206
14206
  };
14207
+ const index$4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14208
+ __proto__: null,
14209
+ defaultTemplates,
14210
+ displayTemplates,
14211
+ formTemplates,
14212
+ groupTemplates,
14213
+ setTemplates
14214
+ }, Symbol.toStringTag, { value: "Module" }));
14207
14215
  const DateMixin = {
14208
14216
  name: "date-mixin",
14209
14217
  created() {
@@ -19475,22 +19483,22 @@ Ruler$3.prototype.__compile__ = function() {
19475
19483
  });
19476
19484
  };
19477
19485
  Ruler$3.prototype.at = function(name, fn, options) {
19478
- var index = this.__find__(name);
19486
+ var index2 = this.__find__(name);
19479
19487
  var opt = options || {};
19480
- if (index === -1) {
19488
+ if (index2 === -1) {
19481
19489
  throw new Error("Parser rule not found: " + name);
19482
19490
  }
19483
- this.__rules__[index].fn = fn;
19484
- this.__rules__[index].alt = opt.alt || [];
19491
+ this.__rules__[index2].fn = fn;
19492
+ this.__rules__[index2].alt = opt.alt || [];
19485
19493
  this.__cache__ = null;
19486
19494
  };
19487
19495
  Ruler$3.prototype.before = function(beforeName, ruleName, fn, options) {
19488
- var index = this.__find__(beforeName);
19496
+ var index2 = this.__find__(beforeName);
19489
19497
  var opt = options || {};
19490
- if (index === -1) {
19498
+ if (index2 === -1) {
19491
19499
  throw new Error("Parser rule not found: " + beforeName);
19492
19500
  }
19493
- this.__rules__.splice(index, 0, {
19501
+ this.__rules__.splice(index2, 0, {
19494
19502
  name: ruleName,
19495
19503
  enabled: true,
19496
19504
  fn,
@@ -19499,12 +19507,12 @@ Ruler$3.prototype.before = function(beforeName, ruleName, fn, options) {
19499
19507
  this.__cache__ = null;
19500
19508
  };
19501
19509
  Ruler$3.prototype.after = function(afterName, ruleName, fn, options) {
19502
- var index = this.__find__(afterName);
19510
+ var index2 = this.__find__(afterName);
19503
19511
  var opt = options || {};
19504
- if (index === -1) {
19512
+ if (index2 === -1) {
19505
19513
  throw new Error("Parser rule not found: " + afterName);
19506
19514
  }
19507
- this.__rules__.splice(index + 1, 0, {
19515
+ this.__rules__.splice(index2 + 1, 0, {
19508
19516
  name: ruleName,
19509
19517
  enabled: true,
19510
19518
  fn,
@@ -19765,8 +19773,8 @@ var isMdAsciiPunct$1 = utils$1.isMdAsciiPunct;
19765
19773
  var QUOTE_TEST_RE = /['"]/;
19766
19774
  var QUOTE_RE = /['"]/g;
19767
19775
  var APOSTROPHE = "’";
19768
- function replaceAt(str, index, ch) {
19769
- return str.substr(0, index) + ch + str.substr(index + 1);
19776
+ function replaceAt(str, index2, ch) {
19777
+ return str.substr(0, index2) + ch + str.substr(index2 + 1);
19770
19778
  }
19771
19779
  function process_inlines(tokens, state) {
19772
19780
  var i, token2, text3, t, pos, max, thisLevel, item2, lastChar, nextChar, isLastPunctChar, isNextPunctChar, isLastWhiteSpace, isNextWhiteSpace, canOpen, canClose, j, isSingle, stack, openQuote, closeQuote;
@@ -22735,13 +22743,13 @@ const decode$3 = function(input) {
22735
22743
  }
22736
22744
  output.push(input.charCodeAt(j));
22737
22745
  }
22738
- for (let index = basic > 0 ? basic + 1 : 0; index < inputLength; ) {
22746
+ for (let index2 = basic > 0 ? basic + 1 : 0; index2 < inputLength; ) {
22739
22747
  const oldi = i;
22740
22748
  for (let w = 1, k = base; ; k += base) {
22741
- if (index >= inputLength) {
22749
+ if (index2 >= inputLength) {
22742
22750
  error("invalid-input");
22743
22751
  }
22744
- const digit = basicToDigit(input.charCodeAt(index++));
22752
+ const digit = basicToDigit(input.charCodeAt(index2++));
22745
22753
  if (digit >= base) {
22746
22754
  error("invalid-input");
22747
22755
  }
@@ -25343,6 +25351,13 @@ const templateAdditionDirectory = {
25343
25351
  labellast: LabelLastMixin,
25344
25352
  addable: AddableMixin
25345
25353
  };
25354
+ const index$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25355
+ __proto__: null,
25356
+ AddableMixin,
25357
+ LabelLastMixin,
25358
+ LabelMixin,
25359
+ templateAdditionDirectory
25360
+ }, Symbol.toStringTag, { value: "Module" }));
25346
25361
  const MultipleMixin = {
25347
25362
  name: "multiple-mixin",
25348
25363
  attributes: {
@@ -25436,6 +25451,16 @@ const attributeDirectory = {
25436
25451
  bool: BooleanMixin,
25437
25452
  num: NumberMixin
25438
25453
  };
25454
+ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25455
+ __proto__: null,
25456
+ ActionMixin,
25457
+ BlankMixin,
25458
+ MailtoMixin,
25459
+ MultipleMixin,
25460
+ PlaceholderMixin,
25461
+ TelMixin,
25462
+ attributeDirectory
25463
+ }, Symbol.toStringTag, { value: "Module" }));
25439
25464
  const scriptRel = "modulepreload";
25440
25465
  const assetsURL = function(dep, importerUrl) {
25441
25466
  return new URL(dep, importerUrl).href;
@@ -26540,17 +26565,17 @@ var quill = { exports: {} };
26540
26565
  return this.push(newOp);
26541
26566
  };
26542
26567
  Delta2.prototype.push = function(newOp) {
26543
- var index = this.ops.length;
26544
- var lastOp = this.ops[index - 1];
26568
+ var index2 = this.ops.length;
26569
+ var lastOp = this.ops[index2 - 1];
26545
26570
  newOp = extend(true, {}, newOp);
26546
26571
  if (typeof lastOp === "object") {
26547
26572
  if (typeof newOp["delete"] === "number" && typeof lastOp["delete"] === "number") {
26548
- this.ops[index - 1] = { "delete": lastOp["delete"] + newOp["delete"] };
26573
+ this.ops[index2 - 1] = { "delete": lastOp["delete"] + newOp["delete"] };
26549
26574
  return this;
26550
26575
  }
26551
26576
  if (typeof lastOp["delete"] === "number" && newOp.insert != null) {
26552
- index -= 1;
26553
- lastOp = this.ops[index - 1];
26577
+ index2 -= 1;
26578
+ lastOp = this.ops[index2 - 1];
26554
26579
  if (typeof lastOp !== "object") {
26555
26580
  this.ops.unshift(newOp);
26556
26581
  return this;
@@ -26558,22 +26583,22 @@ var quill = { exports: {} };
26558
26583
  }
26559
26584
  if (equal(newOp.attributes, lastOp.attributes)) {
26560
26585
  if (typeof newOp.insert === "string" && typeof lastOp.insert === "string") {
26561
- this.ops[index - 1] = { insert: lastOp.insert + newOp.insert };
26586
+ this.ops[index2 - 1] = { insert: lastOp.insert + newOp.insert };
26562
26587
  if (typeof newOp.attributes === "object")
26563
- this.ops[index - 1].attributes = newOp.attributes;
26588
+ this.ops[index2 - 1].attributes = newOp.attributes;
26564
26589
  return this;
26565
26590
  } else if (typeof newOp.retain === "number" && typeof lastOp.retain === "number") {
26566
- this.ops[index - 1] = { retain: lastOp.retain + newOp.retain };
26591
+ this.ops[index2 - 1] = { retain: lastOp.retain + newOp.retain };
26567
26592
  if (typeof newOp.attributes === "object")
26568
- this.ops[index - 1].attributes = newOp.attributes;
26593
+ this.ops[index2 - 1].attributes = newOp.attributes;
26569
26594
  return this;
26570
26595
  }
26571
26596
  }
26572
26597
  }
26573
- if (index === this.ops.length) {
26598
+ if (index2 === this.ops.length) {
26574
26599
  this.ops.push(newOp);
26575
26600
  } else {
26576
- this.ops.splice(index, 0, newOp);
26601
+ this.ops.splice(index2, 0, newOp);
26577
26602
  }
26578
26603
  return this;
26579
26604
  };
@@ -26625,16 +26650,16 @@ var quill = { exports: {} };
26625
26650
  end = Infinity;
26626
26651
  var ops = [];
26627
26652
  var iter = op.iterator(this.ops);
26628
- var index = 0;
26629
- while (index < end && iter.hasNext()) {
26653
+ var index2 = 0;
26654
+ while (index2 < end && iter.hasNext()) {
26630
26655
  var nextOp;
26631
- if (index < start) {
26632
- nextOp = iter.next(start - index);
26656
+ if (index2 < start) {
26657
+ nextOp = iter.next(start - index2);
26633
26658
  } else {
26634
- nextOp = iter.next(end - index);
26659
+ nextOp = iter.next(end - index2);
26635
26660
  ops.push(nextOp);
26636
26661
  }
26637
- index += op.length(nextOp);
26662
+ index2 += op.length(nextOp);
26638
26663
  }
26639
26664
  return new Delta2(ops);
26640
26665
  };
@@ -26693,7 +26718,7 @@ var quill = { exports: {} };
26693
26718
  }
26694
26719
  return delta2;
26695
26720
  };
26696
- Delta2.prototype.diff = function(other, index) {
26721
+ Delta2.prototype.diff = function(other, index2) {
26697
26722
  if (this.ops === other.ops) {
26698
26723
  return new Delta2();
26699
26724
  }
@@ -26707,7 +26732,7 @@ var quill = { exports: {} };
26707
26732
  }).join("");
26708
26733
  });
26709
26734
  var delta2 = new Delta2();
26710
- var diffResult = diff(strings[0], strings[1], index);
26735
+ var diffResult = diff(strings[0], strings[1], index2);
26711
26736
  var thisIter = op.iterator(this.ops);
26712
26737
  var otherIter = op.iterator(other.ops);
26713
26738
  diffResult.forEach(function(component) {
@@ -26750,11 +26775,11 @@ var quill = { exports: {} };
26750
26775
  return;
26751
26776
  var thisOp = iter.peek();
26752
26777
  var start = op.length(thisOp) - iter.peekLength();
26753
- var index = typeof thisOp.insert === "string" ? thisOp.insert.indexOf(newline3, start) - start : -1;
26754
- if (index < 0) {
26778
+ var index2 = typeof thisOp.insert === "string" ? thisOp.insert.indexOf(newline3, start) - start : -1;
26779
+ if (index2 < 0) {
26755
26780
  line.push(iter.next());
26756
- } else if (index > 0) {
26757
- line.push(iter.next(index));
26781
+ } else if (index2 > 0) {
26782
+ line.push(iter.next(index2));
26758
26783
  } else {
26759
26784
  if (predicate(line, iter.next(1).attributes || {}, i) === false) {
26760
26785
  return;
@@ -26795,23 +26820,23 @@ var quill = { exports: {} };
26795
26820
  }
26796
26821
  return delta2.chop();
26797
26822
  };
26798
- Delta2.prototype.transformPosition = function(index, priority) {
26823
+ Delta2.prototype.transformPosition = function(index2, priority) {
26799
26824
  priority = !!priority;
26800
26825
  var thisIter = op.iterator(this.ops);
26801
26826
  var offset = 0;
26802
- while (thisIter.hasNext() && offset <= index) {
26827
+ while (thisIter.hasNext() && offset <= index2) {
26803
26828
  var length = thisIter.peekLength();
26804
26829
  var nextType = thisIter.peekType();
26805
26830
  thisIter.next();
26806
26831
  if (nextType === "delete") {
26807
- index -= Math.min(length, index - offset);
26832
+ index2 -= Math.min(length, index2 - offset);
26808
26833
  continue;
26809
- } else if (nextType === "insert" && (offset < index || !priority)) {
26810
- index += length;
26834
+ } else if (nextType === "insert" && (offset < index2 || !priority)) {
26835
+ index2 += length;
26811
26836
  }
26812
26837
  offset += length;
26813
26838
  }
26814
- return index;
26839
+ return index2;
26815
26840
  };
26816
26841
  module3.exports = Delta2;
26817
26842
  },
@@ -27012,18 +27037,18 @@ var quill = { exports: {} };
27012
27037
  }
27013
27038
  }, {
27014
27039
  key: "formatAt",
27015
- value: function formatAt(index, length, name, value) {
27040
+ value: function formatAt(index2, length, name, value) {
27016
27041
  this.format(name, value);
27017
27042
  }
27018
27043
  }, {
27019
27044
  key: "insertAt",
27020
- value: function insertAt(index, value, def) {
27045
+ value: function insertAt(index2, value, def) {
27021
27046
  if (typeof value === "string" && value.endsWith("\n")) {
27022
27047
  var block3 = _parchment2.default.create(Block.blotName);
27023
- this.parent.insertBefore(block3, index === 0 ? this : this.next);
27048
+ this.parent.insertBefore(block3, index2 === 0 ? this : this.next);
27024
27049
  block3.insertAt(0, value.slice(0, -1));
27025
27050
  } else {
27026
- _get2(BlockEmbed2.prototype.__proto__ || Object.getPrototypeOf(BlockEmbed2.prototype), "insertAt", this).call(this, index, value, def);
27051
+ _get2(BlockEmbed2.prototype.__proto__ || Object.getPrototypeOf(BlockEmbed2.prototype), "insertAt", this).call(this, index2, value, def);
27027
27052
  }
27028
27053
  }
27029
27054
  }]);
@@ -27054,47 +27079,47 @@ var quill = { exports: {} };
27054
27079
  }
27055
27080
  }, {
27056
27081
  key: "deleteAt",
27057
- value: function deleteAt(index, length) {
27058
- _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "deleteAt", this).call(this, index, length);
27082
+ value: function deleteAt(index2, length) {
27083
+ _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "deleteAt", this).call(this, index2, length);
27059
27084
  this.cache = {};
27060
27085
  }
27061
27086
  }, {
27062
27087
  key: "formatAt",
27063
- value: function formatAt(index, length, name, value) {
27088
+ value: function formatAt(index2, length, name, value) {
27064
27089
  if (length <= 0)
27065
27090
  return;
27066
27091
  if (_parchment2.default.query(name, _parchment2.default.Scope.BLOCK)) {
27067
- if (index + length === this.length()) {
27092
+ if (index2 + length === this.length()) {
27068
27093
  this.format(name, value);
27069
27094
  }
27070
27095
  } else {
27071
- _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "formatAt", this).call(this, index, Math.min(length, this.length() - index - 1), name, value);
27096
+ _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "formatAt", this).call(this, index2, Math.min(length, this.length() - index2 - 1), name, value);
27072
27097
  }
27073
27098
  this.cache = {};
27074
27099
  }
27075
27100
  }, {
27076
27101
  key: "insertAt",
27077
- value: function insertAt(index, value, def) {
27102
+ value: function insertAt(index2, value, def) {
27078
27103
  if (def != null)
27079
- return _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "insertAt", this).call(this, index, value, def);
27104
+ return _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "insertAt", this).call(this, index2, value, def);
27080
27105
  if (value.length === 0)
27081
27106
  return;
27082
27107
  var lines = value.split("\n");
27083
27108
  var text3 = lines.shift();
27084
27109
  if (text3.length > 0) {
27085
- if (index < this.length() - 1 || this.children.tail == null) {
27086
- _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "insertAt", this).call(this, Math.min(index, this.length() - 1), text3);
27110
+ if (index2 < this.length() - 1 || this.children.tail == null) {
27111
+ _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "insertAt", this).call(this, Math.min(index2, this.length() - 1), text3);
27087
27112
  } else {
27088
27113
  this.children.tail.insertAt(this.children.tail.length(), text3);
27089
27114
  }
27090
27115
  this.cache = {};
27091
27116
  }
27092
27117
  var block3 = this;
27093
- lines.reduce(function(index2, line) {
27094
- block3 = block3.split(index2, true);
27118
+ lines.reduce(function(index3, line) {
27119
+ block3 = block3.split(index3, true);
27095
27120
  block3.insertAt(0, line);
27096
27121
  return line.length;
27097
- }, index + text3.length);
27122
+ }, index2 + text3.length);
27098
27123
  }
27099
27124
  }, {
27100
27125
  key: "insertBefore",
@@ -27128,8 +27153,8 @@ var quill = { exports: {} };
27128
27153
  }
27129
27154
  }, {
27130
27155
  key: "path",
27131
- value: function path(index) {
27132
- return _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "path", this).call(this, index, true);
27156
+ value: function path(index2) {
27157
+ return _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "path", this).call(this, index2, true);
27133
27158
  }
27134
27159
  }, {
27135
27160
  key: "removeChild",
@@ -27139,11 +27164,11 @@ var quill = { exports: {} };
27139
27164
  }
27140
27165
  }, {
27141
27166
  key: "split",
27142
- value: function split(index) {
27167
+ value: function split(index2) {
27143
27168
  var force = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
27144
- if (force && (index === 0 || index >= this.length() - NEWLINE_LENGTH)) {
27169
+ if (force && (index2 === 0 || index2 >= this.length() - NEWLINE_LENGTH)) {
27145
27170
  var clone = this.clone();
27146
- if (index === 0) {
27171
+ if (index2 === 0) {
27147
27172
  this.parent.insertBefore(clone, this);
27148
27173
  return this;
27149
27174
  } else {
@@ -27151,7 +27176,7 @@ var quill = { exports: {} };
27151
27176
  return clone;
27152
27177
  }
27153
27178
  } else {
27154
- var next2 = _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "split", this).call(this, index, force);
27179
+ var next2 = _get2(Block2.prototype.__proto__ || Object.getPrototypeOf(Block2.prototype), "split", this).call(this, index2, force);
27155
27180
  this.cache = {};
27156
27181
  return next2;
27157
27182
  }
@@ -27370,9 +27395,9 @@ var quill = { exports: {} };
27370
27395
  });
27371
27396
  this.emitter.on(_emitter4.default.events.SCROLL_UPDATE, function(source, mutations) {
27372
27397
  var range2 = _this2.selection.lastRange;
27373
- var index = range2 && range2.length === 0 ? range2.index : void 0;
27398
+ var index2 = range2 && range2.length === 0 ? range2.index : void 0;
27374
27399
  modify.call(_this2, function() {
27375
- return _this2.editor.update(null, mutations, index);
27400
+ return _this2.editor.update(null, mutations, index2);
27376
27401
  }, source);
27377
27402
  });
27378
27403
  var contents = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + html2 + "<p><br></p></div>");
@@ -27404,16 +27429,16 @@ var quill = { exports: {} };
27404
27429
  }
27405
27430
  }, {
27406
27431
  key: "deleteText",
27407
- value: function deleteText(index, length, source) {
27432
+ value: function deleteText(index2, length, source) {
27408
27433
  var _this3 = this;
27409
- var _overload = overload(index, length, source);
27434
+ var _overload = overload(index2, length, source);
27410
27435
  var _overload2 = _slicedToArray(_overload, 4);
27411
- index = _overload2[0];
27436
+ index2 = _overload2[0];
27412
27437
  length = _overload2[1];
27413
27438
  source = _overload2[3];
27414
27439
  return modify.call(this, function() {
27415
- return _this3.editor.deleteText(index, length);
27416
- }, source, index, -1 * length);
27440
+ return _this3.editor.deleteText(index2, length);
27441
+ }, source, index2, -1 * length);
27417
27442
  }
27418
27443
  }, {
27419
27444
  key: "disable",
@@ -27459,43 +27484,43 @@ var quill = { exports: {} };
27459
27484
  }
27460
27485
  }, {
27461
27486
  key: "formatLine",
27462
- value: function formatLine(index, length, name, value, source) {
27487
+ value: function formatLine(index2, length, name, value, source) {
27463
27488
  var _this5 = this;
27464
27489
  var formats = void 0;
27465
- var _overload3 = overload(index, length, name, value, source);
27490
+ var _overload3 = overload(index2, length, name, value, source);
27466
27491
  var _overload4 = _slicedToArray(_overload3, 4);
27467
- index = _overload4[0];
27492
+ index2 = _overload4[0];
27468
27493
  length = _overload4[1];
27469
27494
  formats = _overload4[2];
27470
27495
  source = _overload4[3];
27471
27496
  return modify.call(this, function() {
27472
- return _this5.editor.formatLine(index, length, formats);
27473
- }, source, index, 0);
27497
+ return _this5.editor.formatLine(index2, length, formats);
27498
+ }, source, index2, 0);
27474
27499
  }
27475
27500
  }, {
27476
27501
  key: "formatText",
27477
- value: function formatText(index, length, name, value, source) {
27502
+ value: function formatText(index2, length, name, value, source) {
27478
27503
  var _this6 = this;
27479
27504
  var formats = void 0;
27480
- var _overload5 = overload(index, length, name, value, source);
27505
+ var _overload5 = overload(index2, length, name, value, source);
27481
27506
  var _overload6 = _slicedToArray(_overload5, 4);
27482
- index = _overload6[0];
27507
+ index2 = _overload6[0];
27483
27508
  length = _overload6[1];
27484
27509
  formats = _overload6[2];
27485
27510
  source = _overload6[3];
27486
27511
  return modify.call(this, function() {
27487
- return _this6.editor.formatText(index, length, formats);
27488
- }, source, index, 0);
27512
+ return _this6.editor.formatText(index2, length, formats);
27513
+ }, source, index2, 0);
27489
27514
  }
27490
27515
  }, {
27491
27516
  key: "getBounds",
27492
- value: function getBounds(index) {
27517
+ value: function getBounds(index2) {
27493
27518
  var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
27494
27519
  var bounds = void 0;
27495
- if (typeof index === "number") {
27496
- bounds = this.selection.getBounds(index, length);
27520
+ if (typeof index2 === "number") {
27521
+ bounds = this.selection.getBounds(index2, length);
27497
27522
  } else {
27498
- bounds = this.selection.getBounds(index.index, index.length);
27523
+ bounds = this.selection.getBounds(index2.index, index2.length);
27499
27524
  }
27500
27525
  var containerBounds = this.container.getBoundingClientRect();
27501
27526
  return {
@@ -27510,23 +27535,23 @@ var quill = { exports: {} };
27510
27535
  }, {
27511
27536
  key: "getContents",
27512
27537
  value: function getContents() {
27513
- var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
27514
- var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - index;
27515
- var _overload7 = overload(index, length);
27538
+ var index2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
27539
+ var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - index2;
27540
+ var _overload7 = overload(index2, length);
27516
27541
  var _overload8 = _slicedToArray(_overload7, 2);
27517
- index = _overload8[0];
27542
+ index2 = _overload8[0];
27518
27543
  length = _overload8[1];
27519
- return this.editor.getContents(index, length);
27544
+ return this.editor.getContents(index2, length);
27520
27545
  }
27521
27546
  }, {
27522
27547
  key: "getFormat",
27523
27548
  value: function getFormat() {
27524
- var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.getSelection(true);
27549
+ var index2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this.getSelection(true);
27525
27550
  var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
27526
- if (typeof index === "number") {
27527
- return this.editor.getFormat(index, length);
27551
+ if (typeof index2 === "number") {
27552
+ return this.editor.getFormat(index2, length);
27528
27553
  } else {
27529
- return this.editor.getFormat(index.index, index.length);
27554
+ return this.editor.getFormat(index2.index, index2.length);
27530
27555
  }
27531
27556
  }
27532
27557
  }, {
@@ -27541,23 +27566,23 @@ var quill = { exports: {} };
27541
27566
  }
27542
27567
  }, {
27543
27568
  key: "getLeaf",
27544
- value: function getLeaf(index) {
27545
- return this.scroll.leaf(index);
27569
+ value: function getLeaf(index2) {
27570
+ return this.scroll.leaf(index2);
27546
27571
  }
27547
27572
  }, {
27548
27573
  key: "getLine",
27549
- value: function getLine2(index) {
27550
- return this.scroll.line(index);
27574
+ value: function getLine2(index2) {
27575
+ return this.scroll.line(index2);
27551
27576
  }
27552
27577
  }, {
27553
27578
  key: "getLines",
27554
27579
  value: function getLines2() {
27555
- var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
27580
+ var index2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
27556
27581
  var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE;
27557
- if (typeof index !== "number") {
27558
- return this.scroll.lines(index.index, index.length);
27582
+ if (typeof index2 !== "number") {
27583
+ return this.scroll.lines(index2.index, index2.length);
27559
27584
  } else {
27560
- return this.scroll.lines(index, length);
27585
+ return this.scroll.lines(index2, length);
27561
27586
  }
27562
27587
  }
27563
27588
  }, {
@@ -27577,13 +27602,13 @@ var quill = { exports: {} };
27577
27602
  }, {
27578
27603
  key: "getText",
27579
27604
  value: function getText() {
27580
- var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
27581
- var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - index;
27582
- var _overload9 = overload(index, length);
27605
+ var index2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
27606
+ var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - index2;
27607
+ var _overload9 = overload(index2, length);
27583
27608
  var _overload10 = _slicedToArray(_overload9, 2);
27584
- index = _overload10[0];
27609
+ index2 = _overload10[0];
27585
27610
  length = _overload10[1];
27586
- return this.editor.getText(index, length);
27611
+ return this.editor.getText(index2, length);
27587
27612
  }
27588
27613
  }, {
27589
27614
  key: "hasFocus",
@@ -27592,26 +27617,26 @@ var quill = { exports: {} };
27592
27617
  }
27593
27618
  }, {
27594
27619
  key: "insertEmbed",
27595
- value: function insertEmbed(index, embed, value) {
27620
+ value: function insertEmbed(index2, embed, value) {
27596
27621
  var _this7 = this;
27597
27622
  var source = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Quill3.sources.API;
27598
27623
  return modify.call(this, function() {
27599
- return _this7.editor.insertEmbed(index, embed, value);
27600
- }, source, index);
27624
+ return _this7.editor.insertEmbed(index2, embed, value);
27625
+ }, source, index2);
27601
27626
  }
27602
27627
  }, {
27603
27628
  key: "insertText",
27604
- value: function insertText(index, text3, name, value, source) {
27629
+ value: function insertText(index2, text3, name, value, source) {
27605
27630
  var _this8 = this;
27606
27631
  var formats = void 0;
27607
- var _overload11 = overload(index, 0, name, value, source);
27632
+ var _overload11 = overload(index2, 0, name, value, source);
27608
27633
  var _overload12 = _slicedToArray(_overload11, 4);
27609
- index = _overload12[0];
27634
+ index2 = _overload12[0];
27610
27635
  formats = _overload12[2];
27611
27636
  source = _overload12[3];
27612
27637
  return modify.call(this, function() {
27613
- return _this8.editor.insertText(index, text3, formats);
27614
- }, source, index, text3.length);
27638
+ return _this8.editor.insertText(index2, text3, formats);
27639
+ }, source, index2, text3.length);
27615
27640
  }
27616
27641
  }, {
27617
27642
  key: "isEnabled",
@@ -27635,21 +27660,21 @@ var quill = { exports: {} };
27635
27660
  }
27636
27661
  }, {
27637
27662
  key: "pasteHTML",
27638
- value: function pasteHTML(index, html2, source) {
27639
- this.clipboard.dangerouslyPasteHTML(index, html2, source);
27663
+ value: function pasteHTML(index2, html2, source) {
27664
+ this.clipboard.dangerouslyPasteHTML(index2, html2, source);
27640
27665
  }
27641
27666
  }, {
27642
27667
  key: "removeFormat",
27643
- value: function removeFormat(index, length, source) {
27668
+ value: function removeFormat(index2, length, source) {
27644
27669
  var _this9 = this;
27645
- var _overload13 = overload(index, length, source);
27670
+ var _overload13 = overload(index2, length, source);
27646
27671
  var _overload14 = _slicedToArray(_overload13, 4);
27647
- index = _overload14[0];
27672
+ index2 = _overload14[0];
27648
27673
  length = _overload14[1];
27649
27674
  source = _overload14[3];
27650
27675
  return modify.call(this, function() {
27651
- return _this9.editor.removeFormat(index, length);
27652
- }, source, index);
27676
+ return _this9.editor.removeFormat(index2, length);
27677
+ }, source, index2);
27653
27678
  }
27654
27679
  }, {
27655
27680
  key: "scrollIntoView",
@@ -27677,16 +27702,16 @@ var quill = { exports: {} };
27677
27702
  }
27678
27703
  }, {
27679
27704
  key: "setSelection",
27680
- value: function setSelection(index, length, source) {
27681
- if (index == null) {
27705
+ value: function setSelection(index2, length, source) {
27706
+ if (index2 == null) {
27682
27707
  this.selection.setRange(null, length || Quill3.sources.API);
27683
27708
  } else {
27684
- var _overload15 = overload(index, length, source);
27709
+ var _overload15 = overload(index2, length, source);
27685
27710
  var _overload16 = _slicedToArray(_overload15, 4);
27686
- index = _overload16[0];
27711
+ index2 = _overload16[0];
27687
27712
  length = _overload16[1];
27688
27713
  source = _overload16[3];
27689
- this.selection.setRange(new _selection.Range(index, length), source);
27714
+ this.selection.setRange(new _selection.Range(index2, length), source);
27690
27715
  if (source !== _emitter4.default.sources.SILENT) {
27691
27716
  this.selection.scrollIntoView(this.scrollingContainer);
27692
27717
  }
@@ -27794,20 +27819,20 @@ var quill = { exports: {} };
27794
27819
  }, {});
27795
27820
  return userConfig;
27796
27821
  }
27797
- function modify(modifier, source, index, shift) {
27822
+ function modify(modifier, source, index2, shift) {
27798
27823
  if (this.options.strict && !this.isEnabled() && source === _emitter4.default.sources.USER) {
27799
27824
  return new _quillDelta2.default();
27800
27825
  }
27801
- var range2 = index == null ? null : this.getSelection();
27826
+ var range2 = index2 == null ? null : this.getSelection();
27802
27827
  var oldDelta = this.editor.delta;
27803
27828
  var change = modifier();
27804
27829
  if (range2 != null) {
27805
- if (index === true)
27806
- index = range2.index;
27830
+ if (index2 === true)
27831
+ index2 = range2.index;
27807
27832
  if (shift == null) {
27808
27833
  range2 = shiftRange(range2, change, source);
27809
27834
  } else if (shift !== 0) {
27810
- range2 = shiftRange(range2, index, shift, source);
27835
+ range2 = shiftRange(range2, index2, shift, source);
27811
27836
  }
27812
27837
  this.setSelection(range2, _emitter4.default.sources.SILENT);
27813
27838
  }
@@ -27822,13 +27847,13 @@ var quill = { exports: {} };
27822
27847
  }
27823
27848
  return change;
27824
27849
  }
27825
- function overload(index, length, name, value, source) {
27850
+ function overload(index2, length, name, value, source) {
27826
27851
  var formats = {};
27827
- if (typeof index.index === "number" && typeof index.length === "number") {
27852
+ if (typeof index2.index === "number" && typeof index2.length === "number") {
27828
27853
  if (typeof length !== "number") {
27829
- source = value, value = name, name = length, length = index.length, index = index.index;
27854
+ source = value, value = name, name = length, length = index2.length, index2 = index2.index;
27830
27855
  } else {
27831
- length = index.length, index = index.index;
27856
+ length = index2.length, index2 = index2.index;
27832
27857
  }
27833
27858
  } else if (typeof length !== "number") {
27834
27859
  source = value, value = name, name = length, length = 0;
@@ -27844,27 +27869,27 @@ var quill = { exports: {} };
27844
27869
  }
27845
27870
  }
27846
27871
  source = source || _emitter4.default.sources.API;
27847
- return [index, length, formats, source];
27872
+ return [index2, length, formats, source];
27848
27873
  }
27849
- function shiftRange(range2, index, length, source) {
27874
+ function shiftRange(range2, index2, length, source) {
27850
27875
  if (range2 == null)
27851
27876
  return null;
27852
27877
  var start = void 0, end = void 0;
27853
- if (index instanceof _quillDelta2.default) {
27878
+ if (index2 instanceof _quillDelta2.default) {
27854
27879
  var _map = [range2.index, range2.index + range2.length].map(function(pos) {
27855
- return index.transformPosition(pos, source !== _emitter4.default.sources.USER);
27880
+ return index2.transformPosition(pos, source !== _emitter4.default.sources.USER);
27856
27881
  });
27857
27882
  var _map2 = _slicedToArray(_map, 2);
27858
27883
  start = _map2[0];
27859
27884
  end = _map2[1];
27860
27885
  } else {
27861
27886
  var _map3 = [range2.index, range2.index + range2.length].map(function(pos) {
27862
- if (pos < index || pos === index && source === _emitter4.default.sources.USER)
27887
+ if (pos < index2 || pos === index2 && source === _emitter4.default.sources.USER)
27863
27888
  return pos;
27864
27889
  if (length >= 0) {
27865
27890
  return pos + length;
27866
27891
  } else {
27867
- return Math.max(index, pos + length);
27892
+ return Math.max(index2, pos + length);
27868
27893
  }
27869
27894
  });
27870
27895
  var _map4 = _slicedToArray(_map3, 2);
@@ -27957,14 +27982,14 @@ var quill = { exports: {} };
27957
27982
  }
27958
27983
  _createClass(Inline2, [{
27959
27984
  key: "formatAt",
27960
- value: function formatAt(index, length, name, value) {
27985
+ value: function formatAt(index2, length, name, value) {
27961
27986
  if (Inline2.compare(this.statics.blotName, name) < 0 && _parchment2.default.query(name, _parchment2.default.Scope.BLOT)) {
27962
- var blot = this.isolate(index, length);
27987
+ var blot = this.isolate(index2, length);
27963
27988
  if (value) {
27964
27989
  blot.wrap(name, value);
27965
27990
  }
27966
27991
  } else {
27967
- _get2(Inline2.prototype.__proto__ || Object.getPrototypeOf(Inline2.prototype), "formatAt", this).call(this, index, length, name, value);
27992
+ _get2(Inline2.prototype.__proto__ || Object.getPrototypeOf(Inline2.prototype), "formatAt", this).call(this, index2, length, name, value);
27968
27993
  }
27969
27994
  }
27970
27995
  }, {
@@ -28536,30 +28561,30 @@ var quill = { exports: {} };
28536
28561
  }
28537
28562
  }, {
28538
28563
  key: "formatAt",
28539
- value: function formatAt(index, length, name, value) {
28564
+ value: function formatAt(index2, length, name, value) {
28540
28565
  if (length === 0)
28541
28566
  return;
28542
28567
  if (_parchment2.default.query(name, _parchment2.default.Scope.BLOCK) == null || name === this.statics.blotName && value === this.statics.formats(this.domNode)) {
28543
28568
  return;
28544
28569
  }
28545
- var nextNewline = this.newlineIndex(index);
28546
- if (nextNewline < 0 || nextNewline >= index + length)
28570
+ var nextNewline = this.newlineIndex(index2);
28571
+ if (nextNewline < 0 || nextNewline >= index2 + length)
28547
28572
  return;
28548
- var prevNewline = this.newlineIndex(index, true) + 1;
28573
+ var prevNewline = this.newlineIndex(index2, true) + 1;
28549
28574
  var isolateLength = nextNewline - prevNewline + 1;
28550
28575
  var blot = this.isolate(prevNewline, isolateLength);
28551
28576
  var next2 = blot.next;
28552
28577
  blot.format(name, value);
28553
28578
  if (next2 instanceof CodeBlock2) {
28554
- next2.formatAt(0, index - prevNewline + length - isolateLength, name, value);
28579
+ next2.formatAt(0, index2 - prevNewline + length - isolateLength, name, value);
28555
28580
  }
28556
28581
  }
28557
28582
  }, {
28558
28583
  key: "insertAt",
28559
- value: function insertAt(index, value, def) {
28584
+ value: function insertAt(index2, value, def) {
28560
28585
  if (def != null)
28561
28586
  return;
28562
- var _descendant3 = this.descendant(_text2.default, index), _descendant4 = _slicedToArray(_descendant3, 2), text3 = _descendant4[0], offset = _descendant4[1];
28587
+ var _descendant3 = this.descendant(_text2.default, index2), _descendant4 = _slicedToArray(_descendant3, 2), text3 = _descendant4[0], offset = _descendant4[1];
28563
28588
  text3.insertAt(offset, value);
28564
28589
  }
28565
28590
  }, {
@@ -28750,7 +28775,7 @@ var quill = { exports: {} };
28750
28775
  var scrollLength = this.scroll.length();
28751
28776
  this.scroll.batchStart();
28752
28777
  delta2 = normalizeDelta(delta2);
28753
- delta2.reduce(function(index, op) {
28778
+ delta2.reduce(function(index2, op) {
28754
28779
  var length = op.retain || op.delete || op.insert.length || 1;
28755
28780
  var attributes = op.attributes || {};
28756
28781
  if (op.insert != null) {
@@ -28760,11 +28785,11 @@ var quill = { exports: {} };
28760
28785
  consumeNextNewline = false;
28761
28786
  text3 = text3.slice(0, -1);
28762
28787
  }
28763
- if (index >= scrollLength && !text3.endsWith("\n")) {
28788
+ if (index2 >= scrollLength && !text3.endsWith("\n")) {
28764
28789
  consumeNextNewline = true;
28765
28790
  }
28766
- _this.scroll.insertAt(index, text3);
28767
- var _scroll$line = _this.scroll.line(index), _scroll$line2 = _slicedToArray(_scroll$line, 2), line = _scroll$line2[0], offset = _scroll$line2[1];
28791
+ _this.scroll.insertAt(index2, text3);
28792
+ var _scroll$line = _this.scroll.line(index2), _scroll$line2 = _slicedToArray(_scroll$line, 2), line = _scroll$line2[0], offset = _scroll$line2[1];
28768
28793
  var formats = (0, _extend2.default)({}, (0, _block.bubbleFormats)(line));
28769
28794
  if (line instanceof _block2.default) {
28770
28795
  var _line$descendant = line.descendant(_parchment2.default.Leaf, offset), _line$descendant2 = _slicedToArray(_line$descendant, 1), leaf = _line$descendant2[0];
@@ -28774,49 +28799,49 @@ var quill = { exports: {} };
28774
28799
  } else if (_typeof(op.insert) === "object") {
28775
28800
  var key = Object.keys(op.insert)[0];
28776
28801
  if (key == null)
28777
- return index;
28778
- _this.scroll.insertAt(index, key, op.insert[key]);
28802
+ return index2;
28803
+ _this.scroll.insertAt(index2, key, op.insert[key]);
28779
28804
  }
28780
28805
  scrollLength += length;
28781
28806
  }
28782
28807
  Object.keys(attributes).forEach(function(name) {
28783
- _this.scroll.formatAt(index, length, name, attributes[name]);
28808
+ _this.scroll.formatAt(index2, length, name, attributes[name]);
28784
28809
  });
28785
- return index + length;
28810
+ return index2 + length;
28786
28811
  }, 0);
28787
- delta2.reduce(function(index, op) {
28812
+ delta2.reduce(function(index2, op) {
28788
28813
  if (typeof op.delete === "number") {
28789
- _this.scroll.deleteAt(index, op.delete);
28790
- return index;
28814
+ _this.scroll.deleteAt(index2, op.delete);
28815
+ return index2;
28791
28816
  }
28792
- return index + (op.retain || op.insert.length || 1);
28817
+ return index2 + (op.retain || op.insert.length || 1);
28793
28818
  }, 0);
28794
28819
  this.scroll.batchEnd();
28795
28820
  return this.update(delta2);
28796
28821
  }
28797
28822
  }, {
28798
28823
  key: "deleteText",
28799
- value: function deleteText(index, length) {
28800
- this.scroll.deleteAt(index, length);
28801
- return this.update(new _quillDelta2.default().retain(index).delete(length));
28824
+ value: function deleteText(index2, length) {
28825
+ this.scroll.deleteAt(index2, length);
28826
+ return this.update(new _quillDelta2.default().retain(index2).delete(length));
28802
28827
  }
28803
28828
  }, {
28804
28829
  key: "formatLine",
28805
- value: function formatLine(index, length) {
28830
+ value: function formatLine(index2, length) {
28806
28831
  var _this2 = this;
28807
28832
  var formats = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
28808
28833
  this.scroll.update();
28809
28834
  Object.keys(formats).forEach(function(format3) {
28810
28835
  if (_this2.scroll.whitelist != null && !_this2.scroll.whitelist[format3])
28811
28836
  return;
28812
- var lines = _this2.scroll.lines(index, Math.max(length, 1));
28837
+ var lines = _this2.scroll.lines(index2, Math.max(length, 1));
28813
28838
  var lengthRemaining = length;
28814
28839
  lines.forEach(function(line) {
28815
28840
  var lineLength = line.length();
28816
28841
  if (!(line instanceof _code2.default)) {
28817
28842
  line.format(format3, formats[format3]);
28818
28843
  } else {
28819
- var codeIndex = index - line.offset(_this2.scroll);
28844
+ var codeIndex = index2 - line.offset(_this2.scroll);
28820
28845
  var codeLength = line.newlineIndex(codeIndex + lengthRemaining) - codeIndex + 1;
28821
28846
  line.formatAt(codeIndex, codeLength, format3, formats[format3]);
28822
28847
  }
@@ -28824,22 +28849,22 @@ var quill = { exports: {} };
28824
28849
  });
28825
28850
  });
28826
28851
  this.scroll.optimize();
28827
- return this.update(new _quillDelta2.default().retain(index).retain(length, (0, _clone2.default)(formats)));
28852
+ return this.update(new _quillDelta2.default().retain(index2).retain(length, (0, _clone2.default)(formats)));
28828
28853
  }
28829
28854
  }, {
28830
28855
  key: "formatText",
28831
- value: function formatText(index, length) {
28856
+ value: function formatText(index2, length) {
28832
28857
  var _this3 = this;
28833
28858
  var formats = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
28834
28859
  Object.keys(formats).forEach(function(format3) {
28835
- _this3.scroll.formatAt(index, length, format3, formats[format3]);
28860
+ _this3.scroll.formatAt(index2, length, format3, formats[format3]);
28836
28861
  });
28837
- return this.update(new _quillDelta2.default().retain(index).retain(length, (0, _clone2.default)(formats)));
28862
+ return this.update(new _quillDelta2.default().retain(index2).retain(length, (0, _clone2.default)(formats)));
28838
28863
  }
28839
28864
  }, {
28840
28865
  key: "getContents",
28841
- value: function getContents(index, length) {
28842
- return this.delta.slice(index, index + length);
28866
+ value: function getContents(index2, length) {
28867
+ return this.delta.slice(index2, index2 + length);
28843
28868
  }
28844
28869
  }, {
28845
28870
  key: "getDelta",
@@ -28850,11 +28875,11 @@ var quill = { exports: {} };
28850
28875
  }
28851
28876
  }, {
28852
28877
  key: "getFormat",
28853
- value: function getFormat(index) {
28878
+ value: function getFormat(index2) {
28854
28879
  var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
28855
28880
  var lines = [], leaves = [];
28856
28881
  if (length === 0) {
28857
- this.scroll.path(index).forEach(function(path) {
28882
+ this.scroll.path(index2).forEach(function(path) {
28858
28883
  var _path = _slicedToArray(path, 1), blot = _path[0];
28859
28884
  if (blot instanceof _block2.default) {
28860
28885
  lines.push(blot);
@@ -28863,8 +28888,8 @@ var quill = { exports: {} };
28863
28888
  }
28864
28889
  });
28865
28890
  } else {
28866
- lines = this.scroll.lines(index, length);
28867
- leaves = this.scroll.descendants(_parchment2.default.Leaf, index, length);
28891
+ lines = this.scroll.lines(index2, length);
28892
+ leaves = this.scroll.descendants(_parchment2.default.Leaf, index2, length);
28868
28893
  }
28869
28894
  var formatsArr = [lines, leaves].map(function(blots) {
28870
28895
  if (blots.length === 0)
@@ -28882,8 +28907,8 @@ var quill = { exports: {} };
28882
28907
  }
28883
28908
  }, {
28884
28909
  key: "getText",
28885
- value: function getText(index, length) {
28886
- return this.getContents(index, length).filter(function(op) {
28910
+ value: function getText(index2, length) {
28911
+ return this.getContents(index2, length).filter(function(op) {
28887
28912
  return typeof op.insert === "string";
28888
28913
  }).map(function(op) {
28889
28914
  return op.insert;
@@ -28891,21 +28916,21 @@ var quill = { exports: {} };
28891
28916
  }
28892
28917
  }, {
28893
28918
  key: "insertEmbed",
28894
- value: function insertEmbed(index, embed, value) {
28895
- this.scroll.insertAt(index, embed, value);
28896
- return this.update(new _quillDelta2.default().retain(index).insert(_defineProperty2({}, embed, value)));
28919
+ value: function insertEmbed(index2, embed, value) {
28920
+ this.scroll.insertAt(index2, embed, value);
28921
+ return this.update(new _quillDelta2.default().retain(index2).insert(_defineProperty2({}, embed, value)));
28897
28922
  }
28898
28923
  }, {
28899
28924
  key: "insertText",
28900
- value: function insertText(index, text3) {
28925
+ value: function insertText(index2, text3) {
28901
28926
  var _this4 = this;
28902
28927
  var formats = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
28903
28928
  text3 = text3.replace(/\r\n/g, "\n").replace(/\r/g, "\n");
28904
- this.scroll.insertAt(index, text3);
28929
+ this.scroll.insertAt(index2, text3);
28905
28930
  Object.keys(formats).forEach(function(format3) {
28906
- _this4.scroll.formatAt(index, text3.length, format3, formats[format3]);
28931
+ _this4.scroll.formatAt(index2, text3.length, format3, formats[format3]);
28907
28932
  });
28908
- return this.update(new _quillDelta2.default().retain(index).insert(text3, (0, _clone2.default)(formats)));
28933
+ return this.update(new _quillDelta2.default().retain(index2).insert(text3, (0, _clone2.default)(formats)));
28909
28934
  }
28910
28935
  }, {
28911
28936
  key: "isBlank",
@@ -28923,9 +28948,9 @@ var quill = { exports: {} };
28923
28948
  }
28924
28949
  }, {
28925
28950
  key: "removeFormat",
28926
- value: function removeFormat(index, length) {
28927
- var text3 = this.getText(index, length);
28928
- var _scroll$line3 = this.scroll.line(index + length), _scroll$line4 = _slicedToArray(_scroll$line3, 2), line = _scroll$line4[0], offset = _scroll$line4[1];
28951
+ value: function removeFormat(index2, length) {
28952
+ var text3 = this.getText(index2, length);
28953
+ var _scroll$line3 = this.scroll.line(index2 + length), _scroll$line4 = _slicedToArray(_scroll$line3, 2), line = _scroll$line4[0], offset = _scroll$line4[1];
28929
28954
  var suffixLength = 0, suffix = new _quillDelta2.default();
28930
28955
  if (line != null) {
28931
28956
  if (!(line instanceof _code2.default)) {
@@ -28935,9 +28960,9 @@ var quill = { exports: {} };
28935
28960
  }
28936
28961
  suffix = line.delta().slice(offset, offset + suffixLength - 1).insert("\n");
28937
28962
  }
28938
- var contents = this.getContents(index, length + suffixLength);
28963
+ var contents = this.getContents(index2, length + suffixLength);
28939
28964
  var diff = contents.diff(new _quillDelta2.default().insert(text3).concat(suffix));
28940
- var delta2 = new _quillDelta2.default().retain(index).concat(diff);
28965
+ var delta2 = new _quillDelta2.default().retain(index2).concat(diff);
28941
28966
  return this.applyDelta(delta2);
28942
28967
  }
28943
28968
  }, {
@@ -28949,11 +28974,11 @@ var quill = { exports: {} };
28949
28974
  if (mutations.length === 1 && mutations[0].type === "characterData" && mutations[0].target.data.match(ASCII) && _parchment2.default.find(mutations[0].target)) {
28950
28975
  var textBlot = _parchment2.default.find(mutations[0].target);
28951
28976
  var formats = (0, _block.bubbleFormats)(textBlot);
28952
- var index = textBlot.offset(this.scroll);
28977
+ var index2 = textBlot.offset(this.scroll);
28953
28978
  var oldValue = mutations[0].oldValue.replace(_cursor2.default.CONTENTS, "");
28954
28979
  var oldText = new _quillDelta2.default().insert(oldValue);
28955
28980
  var newText = new _quillDelta2.default().insert(textBlot.value());
28956
- var diffDelta = new _quillDelta2.default().retain(index).concat(oldText.diff(newText, cursorIndex));
28981
+ var diffDelta = new _quillDelta2.default().retain(index2).concat(oldText.diff(newText, cursorIndex));
28957
28982
  change = diffDelta.reduce(function(delta2, op) {
28958
28983
  if (op.insert) {
28959
28984
  return delta2.insert(op.insert, formats);
@@ -29105,10 +29130,10 @@ var quill = { exports: {} };
29105
29130
  }
29106
29131
  }
29107
29132
  var debug = (0, _logger2.default)("quill:selection");
29108
- var Range = function Range2(index) {
29133
+ var Range = function Range2(index2) {
29109
29134
  var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
29110
29135
  _classCallCheck(this, Range2);
29111
- this.index = index;
29136
+ this.index = index2;
29112
29137
  this.length = length;
29113
29138
  };
29114
29139
  var Selection = function() {
@@ -29224,12 +29249,12 @@ var quill = { exports: {} };
29224
29249
  }
29225
29250
  }, {
29226
29251
  key: "getBounds",
29227
- value: function getBounds(index) {
29252
+ value: function getBounds(index2) {
29228
29253
  var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
29229
29254
  var scrollLength = this.scroll.length();
29230
- index = Math.min(index, scrollLength - 1);
29231
- length = Math.min(index + length, scrollLength - 1) - index;
29232
- var node2 = void 0, _scroll$leaf = this.scroll.leaf(index), _scroll$leaf2 = _slicedToArray(_scroll$leaf, 2), leaf = _scroll$leaf2[0], offset = _scroll$leaf2[1];
29255
+ index2 = Math.min(index2, scrollLength - 1);
29256
+ length = Math.min(index2 + length, scrollLength - 1) - index2;
29257
+ var node2 = void 0, _scroll$leaf = this.scroll.leaf(index2), _scroll$leaf2 = _slicedToArray(_scroll$leaf, 2), leaf = _scroll$leaf2[0], offset = _scroll$leaf2[1];
29233
29258
  if (leaf == null)
29234
29259
  return null;
29235
29260
  var _leaf$position = leaf.position(offset, true);
@@ -29239,7 +29264,7 @@ var quill = { exports: {} };
29239
29264
  var range2 = document.createRange();
29240
29265
  if (length > 0) {
29241
29266
  range2.setStart(node2, offset);
29242
- var _scroll$leaf3 = this.scroll.leaf(index + length);
29267
+ var _scroll$leaf3 = this.scroll.leaf(index2 + length);
29243
29268
  var _scroll$leaf4 = _slicedToArray(_scroll$leaf3, 2);
29244
29269
  leaf = _scroll$leaf4[0];
29245
29270
  offset = _scroll$leaf4[1];
@@ -29317,13 +29342,13 @@ var quill = { exports: {} };
29317
29342
  var indexes = positions.map(function(position) {
29318
29343
  var _position = _slicedToArray(position, 2), node2 = _position[0], offset = _position[1];
29319
29344
  var blot = _parchment2.default.find(node2, true);
29320
- var index = blot.offset(_this4.scroll);
29345
+ var index2 = blot.offset(_this4.scroll);
29321
29346
  if (offset === 0) {
29322
- return index;
29347
+ return index2;
29323
29348
  } else if (blot instanceof _parchment2.default.Container) {
29324
- return index + blot.length();
29349
+ return index2 + blot.length();
29325
29350
  } else {
29326
- return index + blot.index(node2, offset);
29351
+ return index2 + blot.index(node2, offset);
29327
29352
  }
29328
29353
  });
29329
29354
  var end = Math.min(Math.max.apply(Math, _toConsumableArray(indexes)), this.scroll.length() - 1);
@@ -29365,9 +29390,9 @@ var quill = { exports: {} };
29365
29390
  var indexes = range2.collapsed ? [range2.index] : [range2.index, range2.index + range2.length];
29366
29391
  var args = [];
29367
29392
  var scrollLength = this.scroll.length();
29368
- indexes.forEach(function(index, i) {
29369
- index = Math.min(scrollLength - 1, index);
29370
- var node2 = void 0, _scroll$leaf5 = _this5.scroll.leaf(index), _scroll$leaf6 = _slicedToArray(_scroll$leaf5, 2), leaf = _scroll$leaf6[0], offset = _scroll$leaf6[1];
29393
+ indexes.forEach(function(index2, i) {
29394
+ index2 = Math.min(scrollLength - 1, index2);
29395
+ var node2 = void 0, _scroll$leaf5 = _this5.scroll.leaf(index2), _scroll$leaf6 = _slicedToArray(_scroll$leaf5, 2), leaf = _scroll$leaf6[0], offset = _scroll$leaf6[1];
29371
29396
  var _leaf$position5 = leaf.position(offset, i !== 0);
29372
29397
  var _leaf$position6 = _slicedToArray(_leaf$position5, 2);
29373
29398
  node2 = _leaf$position6[0];
@@ -29664,16 +29689,16 @@ var quill = { exports: {} };
29664
29689
  }
29665
29690
  });
29666
29691
  };
29667
- ContainerBlot2.prototype.deleteAt = function(index, length) {
29668
- if (index === 0 && length === this.length()) {
29692
+ ContainerBlot2.prototype.deleteAt = function(index2, length) {
29693
+ if (index2 === 0 && length === this.length()) {
29669
29694
  return this.remove();
29670
29695
  }
29671
- this.children.forEachAt(index, length, function(child, offset, length2) {
29696
+ this.children.forEachAt(index2, length, function(child, offset, length2) {
29672
29697
  child.deleteAt(offset, length2);
29673
29698
  });
29674
29699
  };
29675
- ContainerBlot2.prototype.descendant = function(criteria, index) {
29676
- var _a = this.children.find(index), child = _a[0], offset = _a[1];
29700
+ ContainerBlot2.prototype.descendant = function(criteria, index2) {
29701
+ var _a = this.children.find(index2), child = _a[0], offset = _a[1];
29677
29702
  if (criteria.blotName == null && criteria(child) || criteria.blotName != null && child instanceof criteria) {
29678
29703
  return [child, offset];
29679
29704
  } else if (child instanceof ContainerBlot2) {
@@ -29682,21 +29707,21 @@ var quill = { exports: {} };
29682
29707
  return [null, -1];
29683
29708
  }
29684
29709
  };
29685
- ContainerBlot2.prototype.descendants = function(criteria, index, length) {
29686
- if (index === void 0) {
29687
- index = 0;
29710
+ ContainerBlot2.prototype.descendants = function(criteria, index2, length) {
29711
+ if (index2 === void 0) {
29712
+ index2 = 0;
29688
29713
  }
29689
29714
  if (length === void 0) {
29690
29715
  length = Number.MAX_VALUE;
29691
29716
  }
29692
29717
  var descendants = [];
29693
29718
  var lengthLeft = length;
29694
- this.children.forEachAt(index, length, function(child, index2, length2) {
29719
+ this.children.forEachAt(index2, length, function(child, index3, length2) {
29695
29720
  if (criteria.blotName == null && criteria(child) || criteria.blotName != null && child instanceof criteria) {
29696
29721
  descendants.push(child);
29697
29722
  }
29698
29723
  if (child instanceof ContainerBlot2) {
29699
- descendants = descendants.concat(child.descendants(criteria, index2, lengthLeft));
29724
+ descendants = descendants.concat(child.descendants(criteria, index3, lengthLeft));
29700
29725
  }
29701
29726
  lengthLeft -= length2;
29702
29727
  });
@@ -29708,13 +29733,13 @@ var quill = { exports: {} };
29708
29733
  });
29709
29734
  _super.prototype.detach.call(this);
29710
29735
  };
29711
- ContainerBlot2.prototype.formatAt = function(index, length, name, value) {
29712
- this.children.forEachAt(index, length, function(child, offset, length2) {
29736
+ ContainerBlot2.prototype.formatAt = function(index2, length, name, value) {
29737
+ this.children.forEachAt(index2, length, function(child, offset, length2) {
29713
29738
  child.formatAt(offset, length2, name, value);
29714
29739
  });
29715
29740
  };
29716
- ContainerBlot2.prototype.insertAt = function(index, value, def) {
29717
- var _a = this.children.find(index), child = _a[0], offset = _a[1];
29741
+ ContainerBlot2.prototype.insertAt = function(index2, value, def) {
29742
+ var _a = this.children.find(index2), child = _a[0], offset = _a[1];
29718
29743
  if (child) {
29719
29744
  child.insertAt(offset, value, def);
29720
29745
  } else {
@@ -29752,12 +29777,12 @@ var quill = { exports: {} };
29752
29777
  }
29753
29778
  }
29754
29779
  };
29755
- ContainerBlot2.prototype.path = function(index, inclusive) {
29780
+ ContainerBlot2.prototype.path = function(index2, inclusive) {
29756
29781
  if (inclusive === void 0) {
29757
29782
  inclusive = false;
29758
29783
  }
29759
- var _a = this.children.find(index, inclusive), child = _a[0], offset = _a[1];
29760
- var position = [[this, index]];
29784
+ var _a = this.children.find(index2, inclusive), child = _a[0], offset = _a[1];
29785
+ var position = [[this, index2]];
29761
29786
  if (child instanceof ContainerBlot2) {
29762
29787
  return position.concat(child.path(offset, inclusive));
29763
29788
  } else if (child != null) {
@@ -29774,19 +29799,19 @@ var quill = { exports: {} };
29774
29799
  }
29775
29800
  _super.prototype.replace.call(this, target2);
29776
29801
  };
29777
- ContainerBlot2.prototype.split = function(index, force) {
29802
+ ContainerBlot2.prototype.split = function(index2, force) {
29778
29803
  if (force === void 0) {
29779
29804
  force = false;
29780
29805
  }
29781
29806
  if (!force) {
29782
- if (index === 0)
29807
+ if (index2 === 0)
29783
29808
  return this;
29784
- if (index === this.length())
29809
+ if (index2 === this.length())
29785
29810
  return this.next;
29786
29811
  }
29787
29812
  var after = this.clone();
29788
29813
  this.parent.insertBefore(after, this.next);
29789
- this.children.forEachAt(index, this.length(), function(child, offset, length) {
29814
+ this.children.forEachAt(index2, this.length(), function(child, offset, length) {
29790
29815
  child = child.split(offset, force);
29791
29816
  after.appendChild(child);
29792
29817
  });
@@ -29987,9 +30012,9 @@ var quill = { exports: {} };
29987
30012
  }
29988
30013
  return -1;
29989
30014
  };
29990
- LeafBlot2.prototype.position = function(index, inclusive) {
30015
+ LeafBlot2.prototype.position = function(index2, inclusive) {
29991
30016
  var offset = [].indexOf.call(this.parent.domNode.childNodes, this.domNode);
29992
- if (index > 0)
30017
+ if (index2 > 0)
29993
30018
  offset += 1;
29994
30019
  return [this.parent.domNode, offset];
29995
30020
  };
@@ -30143,11 +30168,11 @@ var quill = { exports: {} };
30143
30168
  return this.ops.slice(this.index);
30144
30169
  } else {
30145
30170
  var offset = this.offset;
30146
- var index = this.index;
30171
+ var index2 = this.index;
30147
30172
  var next2 = this.next();
30148
30173
  var rest = this.ops.slice(this.index);
30149
30174
  this.offset = offset;
30150
- this.index = index;
30175
+ this.index = index2;
30151
30176
  return [next2].concat(rest);
30152
30177
  }
30153
30178
  };
@@ -30245,9 +30270,9 @@ var quill = { exports: {} };
30245
30270
  }
30246
30271
  }
30247
30272
  if (circular) {
30248
- var index = allParents.indexOf(parent2);
30249
- if (index != -1) {
30250
- return allChildren[index];
30273
+ var index2 = allParents.indexOf(parent2);
30274
+ if (index2 != -1) {
30275
+ return allChildren[index2];
30251
30276
  }
30252
30277
  allParents.push(parent2);
30253
30278
  allChildren.push(child);
@@ -30500,10 +30525,10 @@ var quill = { exports: {} };
30500
30525
  }
30501
30526
  }, {
30502
30527
  key: "deleteAt",
30503
- value: function deleteAt(index, length) {
30504
- var _line = this.line(index), _line2 = _slicedToArray(_line, 2), first = _line2[0], offset = _line2[1];
30505
- var _line3 = this.line(index + length), _line4 = _slicedToArray(_line3, 1), last = _line4[0];
30506
- _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "deleteAt", this).call(this, index, length);
30528
+ value: function deleteAt(index2, length) {
30529
+ var _line = this.line(index2), _line2 = _slicedToArray(_line, 2), first = _line2[0], offset = _line2[1];
30530
+ var _line3 = this.line(index2 + length), _line4 = _slicedToArray(_line3, 1), last = _line4[0];
30531
+ _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "deleteAt", this).call(this, index2, length);
30507
30532
  if (last != null && first !== last && offset > 0) {
30508
30533
  if (first instanceof _block.BlockEmbed || last instanceof _block.BlockEmbed) {
30509
30534
  this.optimize();
@@ -30538,18 +30563,18 @@ var quill = { exports: {} };
30538
30563
  }
30539
30564
  }, {
30540
30565
  key: "formatAt",
30541
- value: function formatAt(index, length, format3, value) {
30566
+ value: function formatAt(index2, length, format3, value) {
30542
30567
  if (this.whitelist != null && !this.whitelist[format3])
30543
30568
  return;
30544
- _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "formatAt", this).call(this, index, length, format3, value);
30569
+ _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "formatAt", this).call(this, index2, length, format3, value);
30545
30570
  this.optimize();
30546
30571
  }
30547
30572
  }, {
30548
30573
  key: "insertAt",
30549
- value: function insertAt(index, value, def) {
30574
+ value: function insertAt(index2, value, def) {
30550
30575
  if (def != null && this.whitelist != null && !this.whitelist[value])
30551
30576
  return;
30552
- if (index >= this.length()) {
30577
+ if (index2 >= this.length()) {
30553
30578
  if (def == null || _parchment2.default.query(value, _parchment2.default.Scope.BLOCK) == null) {
30554
30579
  var blot = _parchment2.default.create(this.statics.defaultChild);
30555
30580
  this.appendChild(blot);
@@ -30562,7 +30587,7 @@ var quill = { exports: {} };
30562
30587
  this.appendChild(embed);
30563
30588
  }
30564
30589
  } else {
30565
- _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "insertAt", this).call(this, index, value, def);
30590
+ _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "insertAt", this).call(this, index2, value, def);
30566
30591
  }
30567
30592
  this.optimize();
30568
30593
  }
@@ -30578,35 +30603,35 @@ var quill = { exports: {} };
30578
30603
  }
30579
30604
  }, {
30580
30605
  key: "leaf",
30581
- value: function leaf(index) {
30582
- return this.path(index).pop() || [null, -1];
30606
+ value: function leaf(index2) {
30607
+ return this.path(index2).pop() || [null, -1];
30583
30608
  }
30584
30609
  }, {
30585
30610
  key: "line",
30586
- value: function line(index) {
30587
- if (index === this.length()) {
30588
- return this.line(index - 1);
30611
+ value: function line(index2) {
30612
+ if (index2 === this.length()) {
30613
+ return this.line(index2 - 1);
30589
30614
  }
30590
- return this.descendant(isLine, index);
30615
+ return this.descendant(isLine, index2);
30591
30616
  }
30592
30617
  }, {
30593
30618
  key: "lines",
30594
30619
  value: function lines() {
30595
- var index = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
30620
+ var index2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0;
30596
30621
  var length = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE;
30597
- var getLines2 = function getLines3(blot, index2, length2) {
30622
+ var getLines2 = function getLines3(blot, index3, length2) {
30598
30623
  var lines2 = [], lengthLeft = length2;
30599
- blot.children.forEachAt(index2, length2, function(child, index3, length3) {
30624
+ blot.children.forEachAt(index3, length2, function(child, index4, length3) {
30600
30625
  if (isLine(child)) {
30601
30626
  lines2.push(child);
30602
30627
  } else if (child instanceof _parchment2.default.Container) {
30603
- lines2 = lines2.concat(getLines3(child, index3, lengthLeft));
30628
+ lines2 = lines2.concat(getLines3(child, index4, lengthLeft));
30604
30629
  }
30605
30630
  lengthLeft -= length3;
30606
30631
  });
30607
30632
  return lines2;
30608
30633
  };
30609
- return getLines2(this, index, length);
30634
+ return getLines2(this, index2, length);
30610
30635
  }
30611
30636
  }, {
30612
30637
  key: "optimize",
@@ -30622,8 +30647,8 @@ var quill = { exports: {} };
30622
30647
  }
30623
30648
  }, {
30624
30649
  key: "path",
30625
- value: function path(index) {
30626
- return _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "path", this).call(this, index).slice(1);
30650
+ value: function path(index2) {
30651
+ return _get2(Scroll2.prototype.__proto__ || Object.getPrototypeOf(Scroll2.prototype), "path", this).call(this, index2).slice(1);
30627
30652
  }
30628
30653
  }, {
30629
30654
  key: "update",
@@ -31073,11 +31098,11 @@ var quill = { exports: {} };
31073
31098
  shiftKey,
31074
31099
  altKey: null
31075
31100
  }, _defineProperty2(_ref3, where, /^$/), _defineProperty2(_ref3, "handler", function handler(range2) {
31076
- var index = range2.index;
31101
+ var index2 = range2.index;
31077
31102
  if (key === Keyboard.keys.RIGHT) {
31078
- index += range2.length + 1;
31103
+ index2 += range2.length + 1;
31079
31104
  }
31080
- var _quill$getLeaf3 = this.quill.getLeaf(index), _quill$getLeaf4 = _slicedToArray(_quill$getLeaf3, 1), leaf = _quill$getLeaf4[0];
31105
+ var _quill$getLeaf3 = this.quill.getLeaf(index2), _quill$getLeaf4 = _slicedToArray(_quill$getLeaf3, 1), leaf = _quill$getLeaf4[0];
31081
31106
  if (!(leaf instanceof _parchment2.default.Embed))
31082
31107
  return true;
31083
31108
  if (key === Keyboard.keys.LEFT) {
@@ -31182,8 +31207,8 @@ var quill = { exports: {} };
31182
31207
  format: { "code-block": true },
31183
31208
  handler: function handler(range2) {
31184
31209
  var CodeBlock = _parchment2.default.query("code-block");
31185
- var index = range2.index, length = range2.length;
31186
- var _quill$scroll$descend = this.quill.scroll.descendant(CodeBlock, index), _quill$scroll$descend2 = _slicedToArray(_quill$scroll$descend, 2), block3 = _quill$scroll$descend2[0], offset = _quill$scroll$descend2[1];
31210
+ var index2 = range2.index, length = range2.length;
31211
+ var _quill$scroll$descend = this.quill.scroll.descendant(CodeBlock, index2), _quill$scroll$descend2 = _slicedToArray(_quill$scroll$descend, 2), block3 = _quill$scroll$descend2[0], offset = _quill$scroll$descend2[1];
31187
31212
  if (block3 == null)
31188
31213
  return;
31189
31214
  var scrollIndex = this.quill.getIndex(block3);
@@ -31196,7 +31221,7 @@ var quill = { exports: {} };
31196
31221
  block3.insertAt(start + offset, CodeBlock.TAB);
31197
31222
  offset += CodeBlock.TAB.length;
31198
31223
  if (i === 0) {
31199
- index += CodeBlock.TAB.length;
31224
+ index2 += CodeBlock.TAB.length;
31200
31225
  } else {
31201
31226
  length += CodeBlock.TAB.length;
31202
31227
  }
@@ -31204,7 +31229,7 @@ var quill = { exports: {} };
31204
31229
  block3.deleteAt(start + offset, CodeBlock.TAB.length);
31205
31230
  offset -= CodeBlock.TAB.length;
31206
31231
  if (i === 0) {
31207
- index -= CodeBlock.TAB.length;
31232
+ index2 -= CodeBlock.TAB.length;
31208
31233
  } else {
31209
31234
  length -= CodeBlock.TAB.length;
31210
31235
  }
@@ -31212,7 +31237,7 @@ var quill = { exports: {} };
31212
31237
  offset += line.length + 1;
31213
31238
  });
31214
31239
  this.quill.update(_quill2.default.sources.USER);
31215
- this.quill.setSelection(index, length, _quill2.default.sources.SILENT);
31240
+ this.quill.setSelection(index2, length, _quill2.default.sources.SILENT);
31216
31241
  }
31217
31242
  };
31218
31243
  }
@@ -31387,21 +31412,21 @@ var quill = { exports: {} };
31387
31412
  if (this._length !== 0) {
31388
31413
  return _get2(Cursor2.prototype.__proto__ || Object.getPrototypeOf(Cursor2.prototype), "format", this).call(this, name, value);
31389
31414
  }
31390
- var target2 = this, index = 0;
31415
+ var target2 = this, index2 = 0;
31391
31416
  while (target2 != null && target2.statics.scope !== _parchment2.default.Scope.BLOCK_BLOT) {
31392
- index += target2.offset(target2.parent);
31417
+ index2 += target2.offset(target2.parent);
31393
31418
  target2 = target2.parent;
31394
31419
  }
31395
31420
  if (target2 != null) {
31396
31421
  this._length = Cursor2.CONTENTS.length;
31397
31422
  target2.optimize();
31398
- target2.formatAt(index, Cursor2.CONTENTS.length, name, value);
31423
+ target2.formatAt(index2, Cursor2.CONTENTS.length, name, value);
31399
31424
  this._length = 0;
31400
31425
  }
31401
31426
  }
31402
31427
  }, {
31403
31428
  key: "index",
31404
- value: function index(node2, offset) {
31429
+ value: function index2(node2, offset) {
31405
31430
  if (node2 === this.textNode)
31406
31431
  return 0;
31407
31432
  return _get2(Cursor2.prototype.__proto__ || Object.getPrototypeOf(Cursor2.prototype), "index", this).call(this, node2, offset);
@@ -32095,12 +32120,12 @@ var quill = { exports: {} };
32095
32120
  this.parent.removeChild(this);
32096
32121
  delete this.domNode[Registry.DATA_KEY];
32097
32122
  };
32098
- ShadowBlot2.prototype.deleteAt = function(index, length) {
32099
- var blot = this.isolate(index, length);
32123
+ ShadowBlot2.prototype.deleteAt = function(index2, length) {
32124
+ var blot = this.isolate(index2, length);
32100
32125
  blot.remove();
32101
32126
  };
32102
- ShadowBlot2.prototype.formatAt = function(index, length, name, value) {
32103
- var blot = this.isolate(index, length);
32127
+ ShadowBlot2.prototype.formatAt = function(index2, length, name, value) {
32128
+ var blot = this.isolate(index2, length);
32104
32129
  if (Registry.query(name, Registry.Scope.BLOT) != null && value) {
32105
32130
  blot.wrap(name, value);
32106
32131
  } else if (Registry.query(name, Registry.Scope.ATTRIBUTE) != null) {
@@ -32109,9 +32134,9 @@ var quill = { exports: {} };
32109
32134
  parent.format(name, value);
32110
32135
  }
32111
32136
  };
32112
- ShadowBlot2.prototype.insertAt = function(index, value, def) {
32137
+ ShadowBlot2.prototype.insertAt = function(index2, value, def) {
32113
32138
  var blot = def == null ? Registry.create("text", value) : Registry.create(value, def);
32114
- var ref = this.split(index);
32139
+ var ref = this.split(index2);
32115
32140
  this.parent.insertBefore(blot, ref);
32116
32141
  };
32117
32142
  ShadowBlot2.prototype.insertInto = function(parentBlot, refBlot) {
@@ -32132,8 +32157,8 @@ var quill = { exports: {} };
32132
32157
  this.parent = parentBlot;
32133
32158
  this.attach();
32134
32159
  };
32135
- ShadowBlot2.prototype.isolate = function(index, length) {
32136
- var target2 = this.split(index);
32160
+ ShadowBlot2.prototype.isolate = function(index2, length) {
32161
+ var target2 = this.split(index2);
32137
32162
  target2.split(length);
32138
32163
  return target2;
32139
32164
  };
@@ -32170,8 +32195,8 @@ var quill = { exports: {} };
32170
32195
  replacement.replace(this);
32171
32196
  return replacement;
32172
32197
  };
32173
- ShadowBlot2.prototype.split = function(index, force) {
32174
- return index === 0 ? this : this.next;
32198
+ ShadowBlot2.prototype.split = function(index2, force) {
32199
+ return index2 === 0 ? this : this.next;
32175
32200
  };
32176
32201
  ShadowBlot2.prototype.update = function(mutations, context2) {
32177
32202
  };
@@ -32543,7 +32568,7 @@ var quill = { exports: {} };
32543
32568
  }
32544
32569
  _createClass(Embed2, [{
32545
32570
  key: "index",
32546
- value: function index(node2, offset) {
32571
+ value: function index2(node2, offset) {
32547
32572
  if (node2 === this.leftGuard)
32548
32573
  return 0;
32549
32574
  if (node2 === this.rightGuard)
@@ -32934,8 +32959,8 @@ var quill = { exports: {} };
32934
32959
  this.ignoreChange = true;
32935
32960
  this.quill.updateContents(delta2[source], _quill2.default.sources.USER);
32936
32961
  this.ignoreChange = false;
32937
- var index = getLastChangeIndex(delta2[source]);
32938
- this.quill.setSelection(index);
32962
+ var index2 = getLastChangeIndex(delta2[source]);
32963
+ this.quill.setSelection(index2);
32939
32964
  }
32940
32965
  }, {
32941
32966
  key: "clear",
@@ -33330,12 +33355,12 @@ var quill = { exports: {} };
33330
33355
  break;
33331
33356
  var range2 = this.quill.getSelection(true);
33332
33357
  if (range2 != null) {
33333
- var index = range2.index + range2.length;
33334
- this.quill.insertEmbed(index, this.root.getAttribute("data-mode"), value, _emitter2.default.sources.USER);
33358
+ var index2 = range2.index + range2.length;
33359
+ this.quill.insertEmbed(index2, this.root.getAttribute("data-mode"), value, _emitter2.default.sources.USER);
33335
33360
  if (this.root.getAttribute("data-mode") === "formula") {
33336
- this.quill.insertText(index + 1, " ", _emitter2.default.sources.USER);
33361
+ this.quill.insertText(index2 + 1, " ", _emitter2.default.sources.USER);
33337
33362
  }
33338
- this.quill.setSelection(index + 2, _emitter2.default.sources.USER);
33363
+ this.quill.setSelection(index2 + 2, _emitter2.default.sources.USER);
33339
33364
  }
33340
33365
  break;
33341
33366
  }
@@ -33424,11 +33449,11 @@ var quill = { exports: {} };
33424
33449
  this.length += 1;
33425
33450
  };
33426
33451
  LinkedList2.prototype.offset = function(target2) {
33427
- var index = 0, cur = this.head;
33452
+ var index2 = 0, cur = this.head;
33428
33453
  while (cur != null) {
33429
33454
  if (cur === target2)
33430
- return index;
33431
- index += cur.length();
33455
+ return index2;
33456
+ index2 += cur.length();
33432
33457
  cur = cur.next;
33433
33458
  }
33434
33459
  return -1;
@@ -33457,17 +33482,17 @@ var quill = { exports: {} };
33457
33482
  return ret;
33458
33483
  };
33459
33484
  };
33460
- LinkedList2.prototype.find = function(index, inclusive) {
33485
+ LinkedList2.prototype.find = function(index2, inclusive) {
33461
33486
  if (inclusive === void 0) {
33462
33487
  inclusive = false;
33463
33488
  }
33464
33489
  var cur, next2 = this.iterator();
33465
33490
  while (cur = next2()) {
33466
33491
  var length = cur.length();
33467
- if (index < length || inclusive && index === length && (cur.next == null || cur.next.length() !== 0)) {
33468
- return [cur, index];
33492
+ if (index2 < length || inclusive && index2 === length && (cur.next == null || cur.next.length() !== 0)) {
33493
+ return [cur, index2];
33469
33494
  }
33470
- index -= length;
33495
+ index2 -= length;
33471
33496
  }
33472
33497
  return [null, 0];
33473
33498
  };
@@ -33477,17 +33502,17 @@ var quill = { exports: {} };
33477
33502
  callback(cur);
33478
33503
  }
33479
33504
  };
33480
- LinkedList2.prototype.forEachAt = function(index, length, callback) {
33505
+ LinkedList2.prototype.forEachAt = function(index2, length, callback) {
33481
33506
  if (length <= 0)
33482
33507
  return;
33483
- var _a = this.find(index), startNode = _a[0], offset = _a[1];
33484
- var cur, curIndex = index - offset, next2 = this.iterator(startNode);
33485
- while ((cur = next2()) && curIndex < index + length) {
33508
+ var _a = this.find(index2), startNode = _a[0], offset = _a[1];
33509
+ var cur, curIndex = index2 - offset, next2 = this.iterator(startNode);
33510
+ while ((cur = next2()) && curIndex < index2 + length) {
33486
33511
  var curLength = cur.length();
33487
- if (index > curIndex) {
33488
- callback(cur, index - curIndex, Math.min(length, curIndex + curLength - index));
33512
+ if (index2 > curIndex) {
33513
+ callback(cur, index2 - curIndex, Math.min(length, curIndex + curLength - index2));
33489
33514
  } else {
33490
- callback(cur, 0, Math.min(curLength, index + length - curIndex));
33515
+ callback(cur, 0, Math.min(curLength, index2 + length - curIndex));
33491
33516
  }
33492
33517
  curIndex += curLength;
33493
33518
  }
@@ -33558,23 +33583,23 @@ var quill = { exports: {} };
33558
33583
  _super.prototype.detach.call(this);
33559
33584
  this.observer.disconnect();
33560
33585
  };
33561
- ScrollBlot2.prototype.deleteAt = function(index, length) {
33586
+ ScrollBlot2.prototype.deleteAt = function(index2, length) {
33562
33587
  this.update();
33563
- if (index === 0 && length === this.length()) {
33588
+ if (index2 === 0 && length === this.length()) {
33564
33589
  this.children.forEach(function(child) {
33565
33590
  child.remove();
33566
33591
  });
33567
33592
  } else {
33568
- _super.prototype.deleteAt.call(this, index, length);
33593
+ _super.prototype.deleteAt.call(this, index2, length);
33569
33594
  }
33570
33595
  };
33571
- ScrollBlot2.prototype.formatAt = function(index, length, name, value) {
33596
+ ScrollBlot2.prototype.formatAt = function(index2, length, name, value) {
33572
33597
  this.update();
33573
- _super.prototype.formatAt.call(this, index, length, name, value);
33598
+ _super.prototype.formatAt.call(this, index2, length, name, value);
33574
33599
  };
33575
- ScrollBlot2.prototype.insertAt = function(index, value, def) {
33600
+ ScrollBlot2.prototype.insertAt = function(index2, value, def) {
33576
33601
  this.update();
33577
- _super.prototype.insertAt.call(this, index, value, def);
33602
+ _super.prototype.insertAt.call(this, index2, value, def);
33578
33603
  };
33579
33604
  ScrollBlot2.prototype.optimize = function(mutations, context2) {
33580
33605
  var _this = this;
@@ -33743,12 +33768,12 @@ var quill = { exports: {} };
33743
33768
  _super.prototype.format.call(this, name, value);
33744
33769
  }
33745
33770
  };
33746
- InlineBlot2.prototype.formatAt = function(index, length, name, value) {
33771
+ InlineBlot2.prototype.formatAt = function(index2, length, name, value) {
33747
33772
  if (this.formats()[name] != null || Registry.query(name, Registry.Scope.ATTRIBUTE)) {
33748
- var blot = this.isolate(index, length);
33773
+ var blot = this.isolate(index2, length);
33749
33774
  blot.format(name, value);
33750
33775
  } else {
33751
- _super.prototype.formatAt.call(this, index, length, name, value);
33776
+ _super.prototype.formatAt.call(this, index2, length, name, value);
33752
33777
  }
33753
33778
  };
33754
33779
  InlineBlot2.prototype.optimize = function(context2) {
@@ -33815,18 +33840,18 @@ var quill = { exports: {} };
33815
33840
  _super.prototype.format.call(this, name, value);
33816
33841
  }
33817
33842
  };
33818
- BlockBlot2.prototype.formatAt = function(index, length, name, value) {
33843
+ BlockBlot2.prototype.formatAt = function(index2, length, name, value) {
33819
33844
  if (Registry.query(name, Registry.Scope.BLOCK) != null) {
33820
33845
  this.format(name, value);
33821
33846
  } else {
33822
- _super.prototype.formatAt.call(this, index, length, name, value);
33847
+ _super.prototype.formatAt.call(this, index2, length, name, value);
33823
33848
  }
33824
33849
  };
33825
- BlockBlot2.prototype.insertAt = function(index, value, def) {
33850
+ BlockBlot2.prototype.insertAt = function(index2, value, def) {
33826
33851
  if (def == null || Registry.query(value, Registry.Scope.INLINE) != null) {
33827
- _super.prototype.insertAt.call(this, index, value, def);
33852
+ _super.prototype.insertAt.call(this, index2, value, def);
33828
33853
  } else {
33829
- var after = this.split(index);
33854
+ var after = this.split(index2);
33830
33855
  var blot = Registry.create(value, def);
33831
33856
  after.parent.insertBefore(blot, after);
33832
33857
  }
@@ -33880,11 +33905,11 @@ var quill = { exports: {} };
33880
33905
  EmbedBlot2.prototype.format = function(name, value) {
33881
33906
  _super.prototype.formatAt.call(this, 0, this.length(), name, value);
33882
33907
  };
33883
- EmbedBlot2.prototype.formatAt = function(index, length, name, value) {
33884
- if (index === 0 && length === this.length()) {
33908
+ EmbedBlot2.prototype.formatAt = function(index2, length, name, value) {
33909
+ if (index2 === 0 && length === this.length()) {
33885
33910
  this.format(name, value);
33886
33911
  } else {
33887
- _super.prototype.formatAt.call(this, index, length, name, value);
33912
+ _super.prototype.formatAt.call(this, index2, length, name, value);
33888
33913
  }
33889
33914
  };
33890
33915
  EmbedBlot2.prototype.formats = function() {
@@ -33935,8 +33960,8 @@ var quill = { exports: {} };
33935
33960
  text3 = text3["normalize"]();
33936
33961
  return text3;
33937
33962
  };
33938
- TextBlot2.prototype.deleteAt = function(index, length) {
33939
- this.domNode.data = this.text = this.text.slice(0, index) + this.text.slice(index + length);
33963
+ TextBlot2.prototype.deleteAt = function(index2, length) {
33964
+ this.domNode.data = this.text = this.text.slice(0, index2) + this.text.slice(index2 + length);
33940
33965
  };
33941
33966
  TextBlot2.prototype.index = function(node2, offset) {
33942
33967
  if (this.domNode === node2) {
@@ -33944,12 +33969,12 @@ var quill = { exports: {} };
33944
33969
  }
33945
33970
  return -1;
33946
33971
  };
33947
- TextBlot2.prototype.insertAt = function(index, value, def) {
33972
+ TextBlot2.prototype.insertAt = function(index2, value, def) {
33948
33973
  if (def == null) {
33949
- this.text = this.text.slice(0, index) + value + this.text.slice(index);
33974
+ this.text = this.text.slice(0, index2) + value + this.text.slice(index2);
33950
33975
  this.domNode.data = this.text;
33951
33976
  } else {
33952
- _super.prototype.insertAt.call(this, index, value, def);
33977
+ _super.prototype.insertAt.call(this, index2, value, def);
33953
33978
  }
33954
33979
  };
33955
33980
  TextBlot2.prototype.length = function() {
@@ -33965,20 +33990,20 @@ var quill = { exports: {} };
33965
33990
  this.next.remove();
33966
33991
  }
33967
33992
  };
33968
- TextBlot2.prototype.position = function(index, inclusive) {
33969
- return [this.domNode, index];
33993
+ TextBlot2.prototype.position = function(index2, inclusive) {
33994
+ return [this.domNode, index2];
33970
33995
  };
33971
- TextBlot2.prototype.split = function(index, force) {
33996
+ TextBlot2.prototype.split = function(index2, force) {
33972
33997
  if (force === void 0) {
33973
33998
  force = false;
33974
33999
  }
33975
34000
  if (!force) {
33976
- if (index === 0)
34001
+ if (index2 === 0)
33977
34002
  return this;
33978
- if (index === this.length())
34003
+ if (index2 === this.length())
33979
34004
  return this.next;
33980
34005
  }
33981
- var after = Registry.create(this.domNode.splitText(index));
34006
+ var after = Registry.create(this.domNode.splitText(index2));
33982
34007
  this.parent.insertBefore(after, this.next);
33983
34008
  this.text = this.statics.value(this.domNode);
33984
34009
  return after;
@@ -34924,15 +34949,15 @@ var quill = { exports: {} };
34924
34949
  }
34925
34950
  }, {
34926
34951
  key: "dangerouslyPasteHTML",
34927
- value: function dangerouslyPasteHTML(index, html2) {
34952
+ value: function dangerouslyPasteHTML(index2, html2) {
34928
34953
  var source = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _quill2.default.sources.API;
34929
- if (typeof index === "string") {
34930
- this.quill.setContents(this.convert(index), html2);
34954
+ if (typeof index2 === "string") {
34955
+ this.quill.setContents(this.convert(index2), html2);
34931
34956
  this.quill.setSelection(0, _quill2.default.sources.SILENT);
34932
34957
  } else {
34933
34958
  var paste = this.convert(html2);
34934
- this.quill.updateContents(new _quillDelta2.default().retain(index).concat(paste), source);
34935
- this.quill.setSelection(index + paste.length(), _quill2.default.sources.SILENT);
34959
+ this.quill.updateContents(new _quillDelta2.default().retain(index2).concat(paste), source);
34960
+ this.quill.setSelection(index2 + paste.length(), _quill2.default.sources.SILENT);
34936
34961
  }
34937
34962
  }
34938
34963
  }, {
@@ -36685,8 +36710,8 @@ var quill = { exports: {} };
36685
36710
  if (blot instanceof ListItem) {
36686
36711
  _get2(List2.prototype.__proto__ || Object.getPrototypeOf(List2.prototype), "insertBefore", this).call(this, blot, ref);
36687
36712
  } else {
36688
- var index = ref == null ? this.length() : ref.offset(this);
36689
- var after = this.split(index);
36713
+ var index2 = ref == null ? this.length() : ref.offset(this);
36714
+ var after = this.split(index2);
36690
36715
  after.parent.insertBefore(blot, after);
36691
36716
  }
36692
36717
  }
@@ -37800,9 +37825,9 @@ var quill = { exports: {} };
37800
37825
  _this2.position(_this2.quill.getBounds(range2));
37801
37826
  } else {
37802
37827
  var lastLine = lines[lines.length - 1];
37803
- var index = _this2.quill.getIndex(lastLine);
37804
- var length = Math.min(lastLine.length() - 1, range2.index + range2.length - index);
37805
- var _bounds = _this2.quill.getBounds(new _selection.Range(index, length));
37828
+ var index2 = _this2.quill.getIndex(lastLine);
37829
+ var length = Math.min(lastLine.length() - 1, range2.index + range2.length - index2);
37830
+ var _bounds = _this2.quill.getBounds(new _selection.Range(index2, length));
37806
37831
  _this2.position(_bounds);
37807
37832
  }
37808
37833
  } else if (document.activeElement !== _this2.textbox && _this2.quill.hasFocus()) {
@@ -38232,17 +38257,17 @@ lodash.exports;
38232
38257
  return func.apply(thisArg, args);
38233
38258
  }
38234
38259
  function arrayAggregator(array, setter, iteratee, accumulator) {
38235
- var index = -1, length = array == null ? 0 : array.length;
38236
- while (++index < length) {
38237
- var value = array[index];
38260
+ var index2 = -1, length = array == null ? 0 : array.length;
38261
+ while (++index2 < length) {
38262
+ var value = array[index2];
38238
38263
  setter(accumulator, value, iteratee(value), array);
38239
38264
  }
38240
38265
  return accumulator;
38241
38266
  }
38242
38267
  function arrayEach(array, iteratee) {
38243
- var index = -1, length = array == null ? 0 : array.length;
38244
- while (++index < length) {
38245
- if (iteratee(array[index], index, array) === false) {
38268
+ var index2 = -1, length = array == null ? 0 : array.length;
38269
+ while (++index2 < length) {
38270
+ if (iteratee(array[index2], index2, array) === false) {
38246
38271
  break;
38247
38272
  }
38248
38273
  }
@@ -38258,19 +38283,19 @@ lodash.exports;
38258
38283
  return array;
38259
38284
  }
38260
38285
  function arrayEvery(array, predicate) {
38261
- var index = -1, length = array == null ? 0 : array.length;
38262
- while (++index < length) {
38263
- if (!predicate(array[index], index, array)) {
38286
+ var index2 = -1, length = array == null ? 0 : array.length;
38287
+ while (++index2 < length) {
38288
+ if (!predicate(array[index2], index2, array)) {
38264
38289
  return false;
38265
38290
  }
38266
38291
  }
38267
38292
  return true;
38268
38293
  }
38269
38294
  function arrayFilter(array, predicate) {
38270
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
38271
- while (++index < length) {
38272
- var value = array[index];
38273
- if (predicate(value, index, array)) {
38295
+ var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
38296
+ while (++index2 < length) {
38297
+ var value = array[index2];
38298
+ if (predicate(value, index2, array)) {
38274
38299
  result[resIndex++] = value;
38275
38300
  }
38276
38301
  }
@@ -38281,35 +38306,35 @@ lodash.exports;
38281
38306
  return !!length && baseIndexOf2(array, value, 0) > -1;
38282
38307
  }
38283
38308
  function arrayIncludesWith(array, value, comparator) {
38284
- var index = -1, length = array == null ? 0 : array.length;
38285
- while (++index < length) {
38286
- if (comparator(value, array[index])) {
38309
+ var index2 = -1, length = array == null ? 0 : array.length;
38310
+ while (++index2 < length) {
38311
+ if (comparator(value, array[index2])) {
38287
38312
  return true;
38288
38313
  }
38289
38314
  }
38290
38315
  return false;
38291
38316
  }
38292
38317
  function arrayMap2(array, iteratee) {
38293
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
38294
- while (++index < length) {
38295
- result[index] = iteratee(array[index], index, array);
38318
+ var index2 = -1, length = array == null ? 0 : array.length, result = Array(length);
38319
+ while (++index2 < length) {
38320
+ result[index2] = iteratee(array[index2], index2, array);
38296
38321
  }
38297
38322
  return result;
38298
38323
  }
38299
38324
  function arrayPush(array, values) {
38300
- var index = -1, length = values.length, offset = array.length;
38301
- while (++index < length) {
38302
- array[offset + index] = values[index];
38325
+ var index2 = -1, length = values.length, offset = array.length;
38326
+ while (++index2 < length) {
38327
+ array[offset + index2] = values[index2];
38303
38328
  }
38304
38329
  return array;
38305
38330
  }
38306
38331
  function arrayReduce(array, iteratee, accumulator, initAccum) {
38307
- var index = -1, length = array == null ? 0 : array.length;
38332
+ var index2 = -1, length = array == null ? 0 : array.length;
38308
38333
  if (initAccum && length) {
38309
- accumulator = array[++index];
38334
+ accumulator = array[++index2];
38310
38335
  }
38311
- while (++index < length) {
38312
- accumulator = iteratee(accumulator, array[index], index, array);
38336
+ while (++index2 < length) {
38337
+ accumulator = iteratee(accumulator, array[index2], index2, array);
38313
38338
  }
38314
38339
  return accumulator;
38315
38340
  }
@@ -38324,9 +38349,9 @@ lodash.exports;
38324
38349
  return accumulator;
38325
38350
  }
38326
38351
  function arraySome(array, predicate) {
38327
- var index = -1, length = array == null ? 0 : array.length;
38328
- while (++index < length) {
38329
- if (predicate(array[index], index, array)) {
38352
+ var index2 = -1, length = array == null ? 0 : array.length;
38353
+ while (++index2 < length) {
38354
+ if (predicate(array[index2], index2, array)) {
38330
38355
  return true;
38331
38356
  }
38332
38357
  }
@@ -38350,10 +38375,10 @@ lodash.exports;
38350
38375
  return result;
38351
38376
  }
38352
38377
  function baseFindIndex2(array, predicate, fromIndex, fromRight) {
38353
- var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
38354
- while (fromRight ? index-- : ++index < length) {
38355
- if (predicate(array[index], index, array)) {
38356
- return index;
38378
+ var length = array.length, index2 = fromIndex + (fromRight ? 1 : -1);
38379
+ while (fromRight ? index2-- : ++index2 < length) {
38380
+ if (predicate(array[index2], index2, array)) {
38381
+ return index2;
38357
38382
  }
38358
38383
  }
38359
38384
  return -1;
@@ -38362,10 +38387,10 @@ lodash.exports;
38362
38387
  return value === value ? strictIndexOf2(array, value, fromIndex) : baseFindIndex2(array, baseIsNaN2, fromIndex);
38363
38388
  }
38364
38389
  function baseIndexOfWith2(array, value, fromIndex, comparator) {
38365
- var index = fromIndex - 1, length = array.length;
38366
- while (++index < length) {
38367
- if (comparator(array[index], value)) {
38368
- return index;
38390
+ var index2 = fromIndex - 1, length = array.length;
38391
+ while (++index2 < length) {
38392
+ if (comparator(array[index2], value)) {
38393
+ return index2;
38369
38394
  }
38370
38395
  }
38371
38396
  return -1;
@@ -38388,8 +38413,8 @@ lodash.exports;
38388
38413
  };
38389
38414
  }
38390
38415
  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
38391
- eachFunc(collection, function(value, index, collection2) {
38392
- accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection2);
38416
+ eachFunc(collection, function(value, index2, collection2) {
38417
+ accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index2, collection2);
38393
38418
  });
38394
38419
  return accumulator;
38395
38420
  }
@@ -38402,9 +38427,9 @@ lodash.exports;
38402
38427
  return array;
38403
38428
  }
38404
38429
  function baseSum(array, iteratee) {
38405
- var result, index = -1, length = array.length;
38406
- while (++index < length) {
38407
- var current = iteratee(array[index]);
38430
+ var result, index2 = -1, length = array.length;
38431
+ while (++index2 < length) {
38432
+ var current = iteratee(array[index2]);
38408
38433
  if (current !== undefined$1) {
38409
38434
  result = result === undefined$1 ? current : result + current;
38410
38435
  }
@@ -38412,9 +38437,9 @@ lodash.exports;
38412
38437
  return result;
38413
38438
  }
38414
38439
  function baseTimes(n, iteratee) {
38415
- var index = -1, result = Array(n);
38416
- while (++index < n) {
38417
- result[index] = iteratee(index);
38440
+ var index2 = -1, result = Array(n);
38441
+ while (++index2 < n) {
38442
+ result[index2] = iteratee(index2);
38418
38443
  }
38419
38444
  return result;
38420
38445
  }
@@ -38440,16 +38465,16 @@ lodash.exports;
38440
38465
  return cache.has(key);
38441
38466
  }
38442
38467
  function charsStartIndex(strSymbols, chrSymbols) {
38443
- var index = -1, length = strSymbols.length;
38444
- while (++index < length && baseIndexOf2(chrSymbols, strSymbols[index], 0) > -1) {
38468
+ var index2 = -1, length = strSymbols.length;
38469
+ while (++index2 < length && baseIndexOf2(chrSymbols, strSymbols[index2], 0) > -1) {
38445
38470
  }
38446
- return index;
38471
+ return index2;
38447
38472
  }
38448
38473
  function charsEndIndex2(strSymbols, chrSymbols) {
38449
- var index = strSymbols.length;
38450
- while (index-- && baseIndexOf2(chrSymbols, strSymbols[index], 0) > -1) {
38474
+ var index2 = strSymbols.length;
38475
+ while (index2-- && baseIndexOf2(chrSymbols, strSymbols[index2], 0) > -1) {
38451
38476
  }
38452
- return index;
38477
+ return index2;
38453
38478
  }
38454
38479
  function countHolders(array, placeholder) {
38455
38480
  var length = array.length, result = 0;
@@ -38482,9 +38507,9 @@ lodash.exports;
38482
38507
  return result;
38483
38508
  }
38484
38509
  function mapToArray(map2) {
38485
- var index = -1, result = Array(map2.size);
38510
+ var index2 = -1, result = Array(map2.size);
38486
38511
  map2.forEach(function(value, key) {
38487
- result[++index] = [key, value];
38512
+ result[++index2] = [key, value];
38488
38513
  });
38489
38514
  return result;
38490
38515
  }
@@ -38494,47 +38519,47 @@ lodash.exports;
38494
38519
  };
38495
38520
  }
38496
38521
  function replaceHolders(array, placeholder) {
38497
- var index = -1, length = array.length, resIndex = 0, result = [];
38498
- while (++index < length) {
38499
- var value = array[index];
38522
+ var index2 = -1, length = array.length, resIndex = 0, result = [];
38523
+ while (++index2 < length) {
38524
+ var value = array[index2];
38500
38525
  if (value === placeholder || value === PLACEHOLDER) {
38501
- array[index] = PLACEHOLDER;
38502
- result[resIndex++] = index;
38526
+ array[index2] = PLACEHOLDER;
38527
+ result[resIndex++] = index2;
38503
38528
  }
38504
38529
  }
38505
38530
  return result;
38506
38531
  }
38507
38532
  function setToArray(set2) {
38508
- var index = -1, result = Array(set2.size);
38533
+ var index2 = -1, result = Array(set2.size);
38509
38534
  set2.forEach(function(value) {
38510
- result[++index] = value;
38535
+ result[++index2] = value;
38511
38536
  });
38512
38537
  return result;
38513
38538
  }
38514
38539
  function setToPairs(set2) {
38515
- var index = -1, result = Array(set2.size);
38540
+ var index2 = -1, result = Array(set2.size);
38516
38541
  set2.forEach(function(value) {
38517
- result[++index] = [value, value];
38542
+ result[++index2] = [value, value];
38518
38543
  });
38519
38544
  return result;
38520
38545
  }
38521
38546
  function strictIndexOf2(array, value, fromIndex) {
38522
- var index = fromIndex - 1, length = array.length;
38523
- while (++index < length) {
38524
- if (array[index] === value) {
38525
- return index;
38547
+ var index2 = fromIndex - 1, length = array.length;
38548
+ while (++index2 < length) {
38549
+ if (array[index2] === value) {
38550
+ return index2;
38526
38551
  }
38527
38552
  }
38528
38553
  return -1;
38529
38554
  }
38530
38555
  function strictLastIndexOf(array, value, fromIndex) {
38531
- var index = fromIndex + 1;
38532
- while (index--) {
38533
- if (array[index] === value) {
38534
- return index;
38556
+ var index2 = fromIndex + 1;
38557
+ while (index2--) {
38558
+ if (array[index2] === value) {
38559
+ return index2;
38535
38560
  }
38536
38561
  }
38537
- return index;
38562
+ return index2;
38538
38563
  }
38539
38564
  function stringSize(string) {
38540
38565
  return hasUnicode2(string) ? unicodeSize(string) : asciiSize(string);
@@ -38543,10 +38568,10 @@ lodash.exports;
38543
38568
  return hasUnicode2(string) ? unicodeToArray2(string) : asciiToArray2(string);
38544
38569
  }
38545
38570
  function trimmedEndIndex2(string) {
38546
- var index = string.length;
38547
- while (index-- && reWhitespace2.test(string.charAt(index))) {
38571
+ var index2 = string.length;
38572
+ while (index2-- && reWhitespace2.test(string.charAt(index2))) {
38548
38573
  }
38549
- return index;
38574
+ return index2;
38550
38575
  }
38551
38576
  var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
38552
38577
  function unicodeSize(string) {
@@ -38712,15 +38737,15 @@ lodash.exports;
38712
38737
  return result2;
38713
38738
  }
38714
38739
  function lazyValue() {
38715
- var array = this.__wrapped__.value(), dir = this.__dir__, isArr = isArray2(array), isRight = dir < 0, arrLength = isArr ? array.length : 0, view = getView(0, arrLength, this.__views__), start = view.start, end = view.end, length = end - start, index = isRight ? end : start - 1, iteratees = this.__iteratees__, iterLength = iteratees.length, resIndex = 0, takeCount = nativeMin(length, this.__takeCount__);
38740
+ var array = this.__wrapped__.value(), dir = this.__dir__, isArr = isArray2(array), isRight = dir < 0, arrLength = isArr ? array.length : 0, view = getView(0, arrLength, this.__views__), start = view.start, end = view.end, length = end - start, index2 = isRight ? end : start - 1, iteratees = this.__iteratees__, iterLength = iteratees.length, resIndex = 0, takeCount = nativeMin(length, this.__takeCount__);
38716
38741
  if (!isArr || !isRight && arrLength == length && takeCount == length) {
38717
38742
  return baseWrapperValue(array, this.__actions__);
38718
38743
  }
38719
38744
  var result2 = [];
38720
38745
  outer:
38721
38746
  while (length-- && resIndex < takeCount) {
38722
- index += dir;
38723
- var iterIndex = -1, value = array[index];
38747
+ index2 += dir;
38748
+ var iterIndex = -1, value = array[index2];
38724
38749
  while (++iterIndex < iterLength) {
38725
38750
  var data = iteratees[iterIndex], iteratee2 = data.iteratee, type = data.type, computed = iteratee2(value);
38726
38751
  if (type == LAZY_MAP_FLAG) {
@@ -38740,10 +38765,10 @@ lodash.exports;
38740
38765
  LazyWrapper.prototype = baseCreate(baseLodash.prototype);
38741
38766
  LazyWrapper.prototype.constructor = LazyWrapper;
38742
38767
  function Hash(entries) {
38743
- var index = -1, length = entries == null ? 0 : entries.length;
38768
+ var index2 = -1, length = entries == null ? 0 : entries.length;
38744
38769
  this.clear();
38745
- while (++index < length) {
38746
- var entry = entries[index];
38770
+ while (++index2 < length) {
38771
+ var entry = entries[index2];
38747
38772
  this.set(entry[0], entry[1]);
38748
38773
  }
38749
38774
  }
@@ -38780,10 +38805,10 @@ lodash.exports;
38780
38805
  Hash.prototype.has = hashHas;
38781
38806
  Hash.prototype.set = hashSet;
38782
38807
  function ListCache(entries) {
38783
- var index = -1, length = entries == null ? 0 : entries.length;
38808
+ var index2 = -1, length = entries == null ? 0 : entries.length;
38784
38809
  this.clear();
38785
- while (++index < length) {
38786
- var entry = entries[index];
38810
+ while (++index2 < length) {
38811
+ var entry = entries[index2];
38787
38812
  this.set(entry[0], entry[1]);
38788
38813
  }
38789
38814
  }
@@ -38792,33 +38817,33 @@ lodash.exports;
38792
38817
  this.size = 0;
38793
38818
  }
38794
38819
  function listCacheDelete(key) {
38795
- var data = this.__data__, index = assocIndexOf(data, key);
38796
- if (index < 0) {
38820
+ var data = this.__data__, index2 = assocIndexOf(data, key);
38821
+ if (index2 < 0) {
38797
38822
  return false;
38798
38823
  }
38799
38824
  var lastIndex = data.length - 1;
38800
- if (index == lastIndex) {
38825
+ if (index2 == lastIndex) {
38801
38826
  data.pop();
38802
38827
  } else {
38803
- splice2.call(data, index, 1);
38828
+ splice2.call(data, index2, 1);
38804
38829
  }
38805
38830
  --this.size;
38806
38831
  return true;
38807
38832
  }
38808
38833
  function listCacheGet(key) {
38809
- var data = this.__data__, index = assocIndexOf(data, key);
38810
- return index < 0 ? undefined$1 : data[index][1];
38834
+ var data = this.__data__, index2 = assocIndexOf(data, key);
38835
+ return index2 < 0 ? undefined$1 : data[index2][1];
38811
38836
  }
38812
38837
  function listCacheHas(key) {
38813
38838
  return assocIndexOf(this.__data__, key) > -1;
38814
38839
  }
38815
38840
  function listCacheSet(key, value) {
38816
- var data = this.__data__, index = assocIndexOf(data, key);
38817
- if (index < 0) {
38841
+ var data = this.__data__, index2 = assocIndexOf(data, key);
38842
+ if (index2 < 0) {
38818
38843
  ++this.size;
38819
38844
  data.push([key, value]);
38820
38845
  } else {
38821
- data[index][1] = value;
38846
+ data[index2][1] = value;
38822
38847
  }
38823
38848
  return this;
38824
38849
  }
@@ -38828,10 +38853,10 @@ lodash.exports;
38828
38853
  ListCache.prototype.has = listCacheHas;
38829
38854
  ListCache.prototype.set = listCacheSet;
38830
38855
  function MapCache(entries) {
38831
- var index = -1, length = entries == null ? 0 : entries.length;
38856
+ var index2 = -1, length = entries == null ? 0 : entries.length;
38832
38857
  this.clear();
38833
- while (++index < length) {
38834
- var entry = entries[index];
38858
+ while (++index2 < length) {
38859
+ var entry = entries[index2];
38835
38860
  this.set(entry[0], entry[1]);
38836
38861
  }
38837
38862
  }
@@ -38866,10 +38891,10 @@ lodash.exports;
38866
38891
  MapCache.prototype.has = mapCacheHas;
38867
38892
  MapCache.prototype.set = mapCacheSet;
38868
38893
  function SetCache(values2) {
38869
- var index = -1, length = values2 == null ? 0 : values2.length;
38894
+ var index2 = -1, length = values2 == null ? 0 : values2.length;
38870
38895
  this.__data__ = new MapCache();
38871
- while (++index < length) {
38872
- this.add(values2[index]);
38896
+ while (++index2 < length) {
38897
+ this.add(values2[index2]);
38873
38898
  }
38874
38899
  }
38875
38900
  function setCacheAdd(value) {
@@ -38988,9 +39013,9 @@ lodash.exports;
38988
39013
  }
38989
39014
  }
38990
39015
  function baseAt(object, paths) {
38991
- var index = -1, length = paths.length, result2 = Array2(length), skip = object == null;
38992
- while (++index < length) {
38993
- result2[index] = skip ? undefined$1 : get2(object, paths[index]);
39016
+ var index2 = -1, length = paths.length, result2 = Array2(length), skip = object == null;
39017
+ while (++index2 < length) {
39018
+ result2[index2] = skip ? undefined$1 : get2(object, paths[index2]);
38994
39019
  }
38995
39020
  return result2;
38996
39021
  }
@@ -39094,7 +39119,7 @@ lodash.exports;
39094
39119
  }, wait);
39095
39120
  }
39096
39121
  function baseDifference(array, values2, iteratee2, comparator) {
39097
- var index = -1, includes2 = arrayIncludes, isCommon = true, length = array.length, result2 = [], valuesLength = values2.length;
39122
+ var index2 = -1, includes2 = arrayIncludes, isCommon = true, length = array.length, result2 = [], valuesLength = values2.length;
39098
39123
  if (!length) {
39099
39124
  return result2;
39100
39125
  }
@@ -39110,8 +39135,8 @@ lodash.exports;
39110
39135
  values2 = new SetCache(values2);
39111
39136
  }
39112
39137
  outer:
39113
- while (++index < length) {
39114
- var value = array[index], computed = iteratee2 == null ? value : iteratee2(value);
39138
+ while (++index2 < length) {
39139
+ var value = array[index2], computed = iteratee2 == null ? value : iteratee2(value);
39115
39140
  value = comparator || value !== 0 ? value : 0;
39116
39141
  if (isCommon && computed === computed) {
39117
39142
  var valuesIndex = valuesLength;
@@ -39131,16 +39156,16 @@ lodash.exports;
39131
39156
  var baseEachRight = createBaseEach(baseForOwnRight, true);
39132
39157
  function baseEvery(collection, predicate) {
39133
39158
  var result2 = true;
39134
- baseEach(collection, function(value, index, collection2) {
39135
- result2 = !!predicate(value, index, collection2);
39159
+ baseEach(collection, function(value, index2, collection2) {
39160
+ result2 = !!predicate(value, index2, collection2);
39136
39161
  return result2;
39137
39162
  });
39138
39163
  return result2;
39139
39164
  }
39140
39165
  function baseExtremum(array, iteratee2, comparator) {
39141
- var index = -1, length = array.length;
39142
- while (++index < length) {
39143
- var value = array[index], current = iteratee2(value);
39166
+ var index2 = -1, length = array.length;
39167
+ while (++index2 < length) {
39168
+ var value = array[index2], current = iteratee2(value);
39144
39169
  if (current != null && (computed === undefined$1 ? current === current && !isSymbol2(current) : comparator(current, computed))) {
39145
39170
  var computed = current, result2 = value;
39146
39171
  }
@@ -39165,19 +39190,19 @@ lodash.exports;
39165
39190
  }
39166
39191
  function baseFilter(collection, predicate) {
39167
39192
  var result2 = [];
39168
- baseEach(collection, function(value, index, collection2) {
39169
- if (predicate(value, index, collection2)) {
39193
+ baseEach(collection, function(value, index2, collection2) {
39194
+ if (predicate(value, index2, collection2)) {
39170
39195
  result2.push(value);
39171
39196
  }
39172
39197
  });
39173
39198
  return result2;
39174
39199
  }
39175
39200
  function baseFlatten(array, depth, predicate, isStrict, result2) {
39176
- var index = -1, length = array.length;
39201
+ var index2 = -1, length = array.length;
39177
39202
  predicate || (predicate = isFlattenable);
39178
39203
  result2 || (result2 = []);
39179
- while (++index < length) {
39180
- var value = array[index];
39204
+ while (++index2 < length) {
39205
+ var value = array[index2];
39181
39206
  if (depth > 0 && predicate(value)) {
39182
39207
  if (depth > 1) {
39183
39208
  baseFlatten(value, depth - 1, predicate, isStrict, result2);
@@ -39205,11 +39230,11 @@ lodash.exports;
39205
39230
  }
39206
39231
  function baseGet(object, path) {
39207
39232
  path = castPath(path, object);
39208
- var index = 0, length = path.length;
39209
- while (object != null && index < length) {
39210
- object = object[toKey(path[index++])];
39233
+ var index2 = 0, length = path.length;
39234
+ while (object != null && index2 < length) {
39235
+ object = object[toKey(path[index2++])];
39211
39236
  }
39212
- return index && index == length ? object : undefined$1;
39237
+ return index2 && index2 == length ? object : undefined$1;
39213
39238
  }
39214
39239
  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
39215
39240
  var result2 = keysFunc(object);
@@ -39244,10 +39269,10 @@ lodash.exports;
39244
39269
  caches[othIndex] = !comparator && (iteratee2 || length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : undefined$1;
39245
39270
  }
39246
39271
  array = arrays[0];
39247
- var index = -1, seen2 = caches[0];
39272
+ var index2 = -1, seen2 = caches[0];
39248
39273
  outer:
39249
- while (++index < length && result2.length < maxLength) {
39250
- var value = array[index], computed = iteratee2 ? iteratee2(value) : value;
39274
+ while (++index2 < length && result2.length < maxLength) {
39275
+ var value = array[index2], computed = iteratee2 ? iteratee2(value) : value;
39251
39276
  value = comparator || value !== 0 ? value : 0;
39252
39277
  if (!(seen2 ? cacheHas(seen2, computed) : includes2(result2, computed, comparator))) {
39253
39278
  othIndex = othLength;
@@ -39329,19 +39354,19 @@ lodash.exports;
39329
39354
  return isObjectLike2(value) && getTag2(value) == mapTag2;
39330
39355
  }
39331
39356
  function baseIsMatch(object, source, matchData, customizer) {
39332
- var index = matchData.length, length = index, noCustomizer = !customizer;
39357
+ var index2 = matchData.length, length = index2, noCustomizer = !customizer;
39333
39358
  if (object == null) {
39334
39359
  return !length;
39335
39360
  }
39336
39361
  object = Object2(object);
39337
- while (index--) {
39338
- var data = matchData[index];
39362
+ while (index2--) {
39363
+ var data = matchData[index2];
39339
39364
  if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
39340
39365
  return false;
39341
39366
  }
39342
39367
  }
39343
- while (++index < length) {
39344
- data = matchData[index];
39368
+ while (++index2 < length) {
39369
+ data = matchData[index2];
39345
39370
  var key = data[0], objValue = object[key], srcValue = data[1];
39346
39371
  if (noCustomizer && data[2]) {
39347
39372
  if (objValue === undefined$1 && !(key in object)) {
@@ -39415,9 +39440,9 @@ lodash.exports;
39415
39440
  return value < other;
39416
39441
  }
39417
39442
  function baseMap(collection, iteratee2) {
39418
- var index = -1, result2 = isArrayLike2(collection) ? Array2(collection.length) : [];
39443
+ var index2 = -1, result2 = isArrayLike2(collection) ? Array2(collection.length) : [];
39419
39444
  baseEach(collection, function(value, key, collection2) {
39420
- result2[++index] = iteratee2(value, key, collection2);
39445
+ result2[++index2] = iteratee2(value, key, collection2);
39421
39446
  });
39422
39447
  return result2;
39423
39448
  }
@@ -39520,13 +39545,13 @@ lodash.exports;
39520
39545
  } else {
39521
39546
  iteratees = [identity2];
39522
39547
  }
39523
- var index = -1;
39548
+ var index2 = -1;
39524
39549
  iteratees = arrayMap2(iteratees, baseUnary2(getIteratee()));
39525
39550
  var result2 = baseMap(collection, function(value, key, collection2) {
39526
39551
  var criteria = arrayMap2(iteratees, function(iteratee2) {
39527
39552
  return iteratee2(value);
39528
39553
  });
39529
- return { "criteria": criteria, "index": ++index, "value": value };
39554
+ return { "criteria": criteria, "index": ++index2, "value": value };
39530
39555
  });
39531
39556
  return baseSortBy(result2, function(object, other) {
39532
39557
  return compareMultiple(object, other, orders);
@@ -39538,9 +39563,9 @@ lodash.exports;
39538
39563
  });
39539
39564
  }
39540
39565
  function basePickBy(object, paths, predicate) {
39541
- var index = -1, length = paths.length, result2 = {};
39542
- while (++index < length) {
39543
- var path = paths[index], value = baseGet(object, path);
39566
+ var index2 = -1, length = paths.length, result2 = {};
39567
+ while (++index2 < length) {
39568
+ var path = paths[index2], value = baseGet(object, path);
39544
39569
  if (predicate(value, path)) {
39545
39570
  baseSet(result2, castPath(path, object), value);
39546
39571
  }
@@ -39553,15 +39578,15 @@ lodash.exports;
39553
39578
  };
39554
39579
  }
39555
39580
  function basePullAll2(array, values2, iteratee2, comparator) {
39556
- var indexOf3 = comparator ? baseIndexOfWith2 : baseIndexOf2, index = -1, length = values2.length, seen2 = array;
39581
+ var indexOf3 = comparator ? baseIndexOfWith2 : baseIndexOf2, index2 = -1, length = values2.length, seen2 = array;
39557
39582
  if (array === values2) {
39558
39583
  values2 = copyArray2(values2);
39559
39584
  }
39560
39585
  if (iteratee2) {
39561
39586
  seen2 = arrayMap2(array, baseUnary2(iteratee2));
39562
39587
  }
39563
- while (++index < length) {
39564
- var fromIndex = 0, value = values2[index], computed = iteratee2 ? iteratee2(value) : value;
39588
+ while (++index2 < length) {
39589
+ var fromIndex = 0, value = values2[index2], computed = iteratee2 ? iteratee2(value) : value;
39565
39590
  while ((fromIndex = indexOf3(seen2, computed, fromIndex, comparator)) > -1) {
39566
39591
  if (seen2 !== array) {
39567
39592
  splice2.call(seen2, fromIndex, 1);
@@ -39574,13 +39599,13 @@ lodash.exports;
39574
39599
  function basePullAt(array, indexes) {
39575
39600
  var length = array ? indexes.length : 0, lastIndex = length - 1;
39576
39601
  while (length--) {
39577
- var index = indexes[length];
39578
- if (length == lastIndex || index !== previous) {
39579
- var previous = index;
39580
- if (isIndex(index)) {
39581
- splice2.call(array, index, 1);
39602
+ var index2 = indexes[length];
39603
+ if (length == lastIndex || index2 !== previous) {
39604
+ var previous = index2;
39605
+ if (isIndex(index2)) {
39606
+ splice2.call(array, index2, 1);
39582
39607
  } else {
39583
- baseUnset(array, index);
39608
+ baseUnset(array, index2);
39584
39609
  }
39585
39610
  }
39586
39611
  }
@@ -39590,9 +39615,9 @@ lodash.exports;
39590
39615
  return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
39591
39616
  }
39592
39617
  function baseRange(start, end, step, fromRight) {
39593
- var index = -1, length = nativeMax2(nativeCeil((end - start) / (step || 1)), 0), result2 = Array2(length);
39618
+ var index2 = -1, length = nativeMax2(nativeCeil((end - start) / (step || 1)), 0), result2 = Array2(length);
39594
39619
  while (length--) {
39595
- result2[fromRight ? length : ++index] = start;
39620
+ result2[fromRight ? length : ++index2] = start;
39596
39621
  start += step;
39597
39622
  }
39598
39623
  return result2;
@@ -39628,17 +39653,17 @@ lodash.exports;
39628
39653
  return object;
39629
39654
  }
39630
39655
  path = castPath(path, object);
39631
- var index = -1, length = path.length, lastIndex = length - 1, nested = object;
39632
- while (nested != null && ++index < length) {
39633
- var key = toKey(path[index]), newValue = value;
39656
+ var index2 = -1, length = path.length, lastIndex = length - 1, nested = object;
39657
+ while (nested != null && ++index2 < length) {
39658
+ var key = toKey(path[index2]), newValue = value;
39634
39659
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
39635
39660
  return object;
39636
39661
  }
39637
- if (index != lastIndex) {
39662
+ if (index2 != lastIndex) {
39638
39663
  var objValue = nested[key];
39639
39664
  newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
39640
39665
  if (newValue === undefined$1) {
39641
- newValue = isObject2(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
39666
+ newValue = isObject2(objValue) ? objValue : isIndex(path[index2 + 1]) ? [] : {};
39642
39667
  }
39643
39668
  }
39644
39669
  assignValue(nested, key, newValue);
@@ -39662,7 +39687,7 @@ lodash.exports;
39662
39687
  return shuffleSelf(values(collection));
39663
39688
  }
39664
39689
  function baseSlice2(array, start, end) {
39665
- var index = -1, length = array.length;
39690
+ var index2 = -1, length = array.length;
39666
39691
  if (start < 0) {
39667
39692
  start = -start > length ? 0 : length + start;
39668
39693
  }
@@ -39673,15 +39698,15 @@ lodash.exports;
39673
39698
  length = start > end ? 0 : end - start >>> 0;
39674
39699
  start >>>= 0;
39675
39700
  var result2 = Array2(length);
39676
- while (++index < length) {
39677
- result2[index] = array[index + start];
39701
+ while (++index2 < length) {
39702
+ result2[index2] = array[index2 + start];
39678
39703
  }
39679
39704
  return result2;
39680
39705
  }
39681
39706
  function baseSome(collection, predicate) {
39682
39707
  var result2;
39683
- baseEach(collection, function(value, index, collection2) {
39684
- result2 = predicate(value, index, collection2);
39708
+ baseEach(collection, function(value, index2, collection2) {
39709
+ result2 = predicate(value, index2, collection2);
39685
39710
  return !result2;
39686
39711
  });
39687
39712
  return !!result2;
@@ -39732,10 +39757,10 @@ lodash.exports;
39732
39757
  return nativeMin(high, MAX_ARRAY_INDEX);
39733
39758
  }
39734
39759
  function baseSortedUniq(array, iteratee2) {
39735
- var index = -1, length = array.length, resIndex = 0, result2 = [];
39736
- while (++index < length) {
39737
- var value = array[index], computed = iteratee2 ? iteratee2(value) : value;
39738
- if (!index || !eq(computed, seen2)) {
39760
+ var index2 = -1, length = array.length, resIndex = 0, result2 = [];
39761
+ while (++index2 < length) {
39762
+ var value = array[index2], computed = iteratee2 ? iteratee2(value) : value;
39763
+ if (!index2 || !eq(computed, seen2)) {
39739
39764
  var seen2 = computed;
39740
39765
  result2[resIndex++] = value === 0 ? 0 : value;
39741
39766
  }
@@ -39765,7 +39790,7 @@ lodash.exports;
39765
39790
  return result2 == "0" && 1 / value == -INFINITY2 ? "-0" : result2;
39766
39791
  }
39767
39792
  function baseUniq(array, iteratee2, comparator) {
39768
- var index = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen2 = result2;
39793
+ var index2 = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen2 = result2;
39769
39794
  if (comparator) {
39770
39795
  isCommon = false;
39771
39796
  includes2 = arrayIncludesWith;
@@ -39781,8 +39806,8 @@ lodash.exports;
39781
39806
  seen2 = iteratee2 ? [] : result2;
39782
39807
  }
39783
39808
  outer:
39784
- while (++index < length) {
39785
- var value = array[index], computed = iteratee2 ? iteratee2(value) : value;
39809
+ while (++index2 < length) {
39810
+ var value = array[index2], computed = iteratee2 ? iteratee2(value) : value;
39786
39811
  value = comparator || value !== 0 ? value : 0;
39787
39812
  if (isCommon && computed === computed) {
39788
39813
  var seenIndex = seen2.length;
@@ -39813,10 +39838,10 @@ lodash.exports;
39813
39838
  return baseSet(object, path, updater(baseGet(object, path)), customizer);
39814
39839
  }
39815
39840
  function baseWhile(array, predicate, isDrop, fromRight) {
39816
- var length = array.length, index = fromRight ? length : -1;
39817
- while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {
39841
+ var length = array.length, index2 = fromRight ? length : -1;
39842
+ while ((fromRight ? index2-- : ++index2 < length) && predicate(array[index2], index2, array)) {
39818
39843
  }
39819
- return isDrop ? baseSlice2(array, fromRight ? 0 : index, fromRight ? index + 1 : length) : baseSlice2(array, fromRight ? index + 1 : 0, fromRight ? length : index);
39844
+ return isDrop ? baseSlice2(array, fromRight ? 0 : index2, fromRight ? index2 + 1 : length) : baseSlice2(array, fromRight ? index2 + 1 : 0, fromRight ? length : index2);
39820
39845
  }
39821
39846
  function baseWrapperValue(value, actions) {
39822
39847
  var result2 = value;
@@ -39832,22 +39857,22 @@ lodash.exports;
39832
39857
  if (length < 2) {
39833
39858
  return length ? baseUniq(arrays[0]) : [];
39834
39859
  }
39835
- var index = -1, result2 = Array2(length);
39836
- while (++index < length) {
39837
- var array = arrays[index], othIndex = -1;
39860
+ var index2 = -1, result2 = Array2(length);
39861
+ while (++index2 < length) {
39862
+ var array = arrays[index2], othIndex = -1;
39838
39863
  while (++othIndex < length) {
39839
- if (othIndex != index) {
39840
- result2[index] = baseDifference(result2[index] || array, arrays[othIndex], iteratee2, comparator);
39864
+ if (othIndex != index2) {
39865
+ result2[index2] = baseDifference(result2[index2] || array, arrays[othIndex], iteratee2, comparator);
39841
39866
  }
39842
39867
  }
39843
39868
  }
39844
39869
  return baseUniq(baseFlatten(result2, 1), iteratee2, comparator);
39845
39870
  }
39846
39871
  function baseZipObject(props, values2, assignFunc) {
39847
- var index = -1, length = props.length, valsLength = values2.length, result2 = {};
39848
- while (++index < length) {
39849
- var value = index < valsLength ? values2[index] : undefined$1;
39850
- assignFunc(result2, props[index], value);
39872
+ var index2 = -1, length = props.length, valsLength = values2.length, result2 = {};
39873
+ while (++index2 < length) {
39874
+ var value = index2 < valsLength ? values2[index2] : undefined$1;
39875
+ assignFunc(result2, props[index2], value);
39851
39876
  }
39852
39877
  return result2;
39853
39878
  }
@@ -39915,14 +39940,14 @@ lodash.exports;
39915
39940
  return 0;
39916
39941
  }
39917
39942
  function compareMultiple(object, other, orders) {
39918
- var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
39919
- while (++index < length) {
39920
- var result2 = compareAscending(objCriteria[index], othCriteria[index]);
39943
+ var index2 = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
39944
+ while (++index2 < length) {
39945
+ var result2 = compareAscending(objCriteria[index2], othCriteria[index2]);
39921
39946
  if (result2) {
39922
- if (index >= ordersLength) {
39947
+ if (index2 >= ordersLength) {
39923
39948
  return result2;
39924
39949
  }
39925
- var order2 = orders[index];
39950
+ var order2 = orders[index2];
39926
39951
  return result2 * (order2 == "desc" ? -1 : 1);
39927
39952
  }
39928
39953
  }
@@ -39960,19 +39985,19 @@ lodash.exports;
39960
39985
  return result2;
39961
39986
  }
39962
39987
  function copyArray2(source, array) {
39963
- var index = -1, length = source.length;
39988
+ var index2 = -1, length = source.length;
39964
39989
  array || (array = Array2(length));
39965
- while (++index < length) {
39966
- array[index] = source[index];
39990
+ while (++index2 < length) {
39991
+ array[index2] = source[index2];
39967
39992
  }
39968
39993
  return array;
39969
39994
  }
39970
39995
  function copyObject(source, props, object, customizer) {
39971
39996
  var isNew = !object;
39972
39997
  object || (object = {});
39973
- var index = -1, length = props.length;
39974
- while (++index < length) {
39975
- var key = props[index];
39998
+ var index2 = -1, length = props.length;
39999
+ while (++index2 < length) {
40000
+ var key = props[index2];
39976
40001
  var newValue = customizer ? customizer(object[key], source[key], key, object, source) : undefined$1;
39977
40002
  if (newValue === undefined$1) {
39978
40003
  newValue = source[key];
@@ -39999,17 +40024,17 @@ lodash.exports;
39999
40024
  }
40000
40025
  function createAssigner(assigner) {
40001
40026
  return baseRest2(function(object, sources) {
40002
- var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined$1, guard = length > 2 ? sources[2] : undefined$1;
40027
+ var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined$1, guard = length > 2 ? sources[2] : undefined$1;
40003
40028
  customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : undefined$1;
40004
40029
  if (guard && isIterateeCall(sources[0], sources[1], guard)) {
40005
40030
  customizer = length < 3 ? undefined$1 : customizer;
40006
40031
  length = 1;
40007
40032
  }
40008
40033
  object = Object2(object);
40009
- while (++index < length) {
40010
- var source = sources[index];
40034
+ while (++index2 < length) {
40035
+ var source = sources[index2];
40011
40036
  if (source) {
40012
- assigner(object, source, index, customizer);
40037
+ assigner(object, source, index2, customizer);
40013
40038
  }
40014
40039
  }
40015
40040
  return object;
@@ -40023,9 +40048,9 @@ lodash.exports;
40023
40048
  if (!isArrayLike2(collection)) {
40024
40049
  return eachFunc(collection, iteratee2);
40025
40050
  }
40026
- var length = collection.length, index = fromRight ? length : -1, iterable = Object2(collection);
40027
- while (fromRight ? index-- : ++index < length) {
40028
- if (iteratee2(iterable[index], index, iterable) === false) {
40051
+ var length = collection.length, index2 = fromRight ? length : -1, iterable = Object2(collection);
40052
+ while (fromRight ? index2-- : ++index2 < length) {
40053
+ if (iteratee2(iterable[index2], index2, iterable) === false) {
40029
40054
  break;
40030
40055
  }
40031
40056
  }
@@ -40034,9 +40059,9 @@ lodash.exports;
40034
40059
  }
40035
40060
  function createBaseFor(fromRight) {
40036
40061
  return function(object, iteratee2, keysFunc) {
40037
- var index = -1, iterable = Object2(object), props = keysFunc(object), length = props.length;
40062
+ var index2 = -1, iterable = Object2(object), props = keysFunc(object), length = props.length;
40038
40063
  while (length--) {
40039
- var key = props[fromRight ? length : ++index];
40064
+ var key = props[fromRight ? length : ++index2];
40040
40065
  if (iteratee2(iterable[key], key, iterable) === false) {
40041
40066
  break;
40042
40067
  }
@@ -40094,9 +40119,9 @@ lodash.exports;
40094
40119
  function createCurry(func, bitmask, arity) {
40095
40120
  var Ctor = createCtor(func);
40096
40121
  function wrapper2() {
40097
- var length = arguments.length, args = Array2(length), index = length, placeholder = getHolder(wrapper2);
40098
- while (index--) {
40099
- args[index] = arguments[index];
40122
+ var length = arguments.length, args = Array2(length), index2 = length, placeholder = getHolder(wrapper2);
40123
+ while (index2--) {
40124
+ args[index2] = arguments[index2];
40100
40125
  }
40101
40126
  var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder);
40102
40127
  length -= holders.length;
@@ -40129,18 +40154,18 @@ lodash.exports;
40129
40154
  return iteratee2(iterable[key], key, iterable);
40130
40155
  };
40131
40156
  }
40132
- var index = findIndexFunc(collection, predicate, fromIndex);
40133
- return index > -1 ? iterable[iteratee2 ? collection[index] : index] : undefined$1;
40157
+ var index2 = findIndexFunc(collection, predicate, fromIndex);
40158
+ return index2 > -1 ? iterable[iteratee2 ? collection[index2] : index2] : undefined$1;
40134
40159
  };
40135
40160
  }
40136
40161
  function createFlow(fromRight) {
40137
40162
  return flatRest(function(funcs) {
40138
- var length = funcs.length, index = length, prereq = LodashWrapper.prototype.thru;
40163
+ var length = funcs.length, index2 = length, prereq = LodashWrapper.prototype.thru;
40139
40164
  if (fromRight) {
40140
40165
  funcs.reverse();
40141
40166
  }
40142
- while (index--) {
40143
- var func = funcs[index];
40167
+ while (index2--) {
40168
+ var func = funcs[index2];
40144
40169
  if (typeof func != "function") {
40145
40170
  throw new TypeError2(FUNC_ERROR_TEXT);
40146
40171
  }
@@ -40148,9 +40173,9 @@ lodash.exports;
40148
40173
  var wrapper2 = new LodashWrapper([], true);
40149
40174
  }
40150
40175
  }
40151
- index = wrapper2 ? index : length;
40152
- while (++index < length) {
40153
- func = funcs[index];
40176
+ index2 = wrapper2 ? index2 : length;
40177
+ while (++index2 < length) {
40178
+ func = funcs[index2];
40154
40179
  var funcName = getFuncName(func), data = funcName == "wrapper" ? getData(func) : undefined$1;
40155
40180
  if (data && isLaziable(data[0]) && data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && !data[4].length && data[9] == 1) {
40156
40181
  wrapper2 = wrapper2[getFuncName(data[0])].apply(wrapper2, data[3]);
@@ -40163,9 +40188,9 @@ lodash.exports;
40163
40188
  if (wrapper2 && args.length == 1 && isArray2(value)) {
40164
40189
  return wrapper2.plant(value).value();
40165
40190
  }
40166
- var index2 = 0, result2 = length ? funcs[index2].apply(this, args) : value;
40167
- while (++index2 < length) {
40168
- result2 = funcs[index2].call(this, result2);
40191
+ var index3 = 0, result2 = length ? funcs[index3].apply(this, args) : value;
40192
+ while (++index3 < length) {
40193
+ result2 = funcs[index3].call(this, result2);
40169
40194
  }
40170
40195
  return result2;
40171
40196
  };
@@ -40174,9 +40199,9 @@ lodash.exports;
40174
40199
  function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary2, arity) {
40175
40200
  var isAry = bitmask & WRAP_ARY_FLAG, isBind = bitmask & WRAP_BIND_FLAG, isBindKey = bitmask & WRAP_BIND_KEY_FLAG, isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), isFlip = bitmask & WRAP_FLIP_FLAG, Ctor = isBindKey ? undefined$1 : createCtor(func);
40176
40201
  function wrapper2() {
40177
- var length = arguments.length, args = Array2(length), index = length;
40178
- while (index--) {
40179
- args[index] = arguments[index];
40202
+ var length = arguments.length, args = Array2(length), index2 = length;
40203
+ while (index2--) {
40204
+ args[index2] = arguments[index2];
40180
40205
  }
40181
40206
  if (isCurried) {
40182
40207
  var placeholder = getHolder(wrapper2), holdersCount = countHolders(args, placeholder);
@@ -40444,13 +40469,13 @@ lodash.exports;
40444
40469
  if (arrStacked && othStacked) {
40445
40470
  return arrStacked == other && othStacked == array;
40446
40471
  }
40447
- var index = -1, result2 = true, seen2 = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined$1;
40472
+ var index2 = -1, result2 = true, seen2 = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined$1;
40448
40473
  stack.set(array, other);
40449
40474
  stack.set(other, array);
40450
- while (++index < arrLength) {
40451
- var arrValue = array[index], othValue = other[index];
40475
+ while (++index2 < arrLength) {
40476
+ var arrValue = array[index2], othValue = other[index2];
40452
40477
  if (customizer) {
40453
- var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
40478
+ var compared = isPartial ? customizer(othValue, arrValue, index2, other, array, stack) : customizer(arrValue, othValue, index2, array, other, stack);
40454
40479
  }
40455
40480
  if (compared !== undefined$1) {
40456
40481
  if (compared) {
@@ -40528,9 +40553,9 @@ lodash.exports;
40528
40553
  if (objLength != othLength && !isPartial) {
40529
40554
  return false;
40530
40555
  }
40531
- var index = objLength;
40532
- while (index--) {
40533
- var key = objProps[index];
40556
+ var index2 = objLength;
40557
+ while (index2--) {
40558
+ var key = objProps[index2];
40534
40559
  if (!(isPartial ? key in other : hasOwnProperty2.call(other, key))) {
40535
40560
  return false;
40536
40561
  }
@@ -40544,8 +40569,8 @@ lodash.exports;
40544
40569
  stack.set(object, other);
40545
40570
  stack.set(other, object);
40546
40571
  var skipCtor = isPartial;
40547
- while (++index < objLength) {
40548
- key = objProps[index];
40572
+ while (++index2 < objLength) {
40573
+ key = objProps[index2];
40549
40574
  var objValue = object[key], othValue = other[key];
40550
40575
  if (customizer) {
40551
40576
  var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
@@ -40669,9 +40694,9 @@ lodash.exports;
40669
40694
  };
40670
40695
  }
40671
40696
  function getView(start, end, transforms) {
40672
- var index = -1, length = transforms.length;
40673
- while (++index < length) {
40674
- var data = transforms[index], size2 = data.size;
40697
+ var index2 = -1, length = transforms.length;
40698
+ while (++index2 < length) {
40699
+ var data = transforms[index2], size2 = data.size;
40675
40700
  switch (data.type) {
40676
40701
  case "drop":
40677
40702
  start += size2;
@@ -40695,15 +40720,15 @@ lodash.exports;
40695
40720
  }
40696
40721
  function hasPath(object, path, hasFunc) {
40697
40722
  path = castPath(path, object);
40698
- var index = -1, length = path.length, result2 = false;
40699
- while (++index < length) {
40700
- var key = toKey(path[index]);
40723
+ var index2 = -1, length = path.length, result2 = false;
40724
+ while (++index2 < length) {
40725
+ var key = toKey(path[index2]);
40701
40726
  if (!(result2 = object != null && hasFunc(object, key))) {
40702
40727
  break;
40703
40728
  }
40704
40729
  object = object[key];
40705
40730
  }
40706
- if (result2 || ++index != length) {
40731
+ if (result2 || ++index2 != length) {
40707
40732
  return result2;
40708
40733
  }
40709
40734
  length = object == null ? 0 : object.length;
@@ -40771,13 +40796,13 @@ lodash.exports;
40771
40796
  length = length == null ? MAX_SAFE_INTEGER2 : length;
40772
40797
  return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
40773
40798
  }
40774
- function isIterateeCall(value, index, object) {
40799
+ function isIterateeCall(value, index2, object) {
40775
40800
  if (!isObject2(object)) {
40776
40801
  return false;
40777
40802
  }
40778
- var type = typeof index;
40779
- if (type == "number" ? isArrayLike2(object) && isIndex(index, object.length) : type == "string" && index in object) {
40780
- return eq(object[index], value);
40803
+ var type = typeof index2;
40804
+ if (type == "number" ? isArrayLike2(object) && isIndex(index2, object.length) : type == "string" && index2 in object) {
40805
+ return eq(object[index2], value);
40781
40806
  }
40782
40807
  return false;
40783
40808
  }
@@ -40886,14 +40911,14 @@ lodash.exports;
40886
40911
  function overRest2(func, start, transform2) {
40887
40912
  start = nativeMax2(start === undefined$1 ? func.length - 1 : start, 0);
40888
40913
  return function() {
40889
- var args = arguments, index = -1, length = nativeMax2(args.length - start, 0), array = Array2(length);
40890
- while (++index < length) {
40891
- array[index] = args[start + index];
40914
+ var args = arguments, index2 = -1, length = nativeMax2(args.length - start, 0), array = Array2(length);
40915
+ while (++index2 < length) {
40916
+ array[index2] = args[start + index2];
40892
40917
  }
40893
- index = -1;
40918
+ index2 = -1;
40894
40919
  var otherArgs = Array2(start + 1);
40895
- while (++index < start) {
40896
- otherArgs[index] = args[index];
40920
+ while (++index2 < start) {
40921
+ otherArgs[index2] = args[index2];
40897
40922
  }
40898
40923
  otherArgs[start] = transform2(array);
40899
40924
  return apply2(func, this, otherArgs);
@@ -40905,8 +40930,8 @@ lodash.exports;
40905
40930
  function reorder(array, indexes) {
40906
40931
  var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray2(array);
40907
40932
  while (length--) {
40908
- var index = indexes[length];
40909
- array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined$1;
40933
+ var index2 = indexes[length];
40934
+ array[length] = isIndex(index2, arrLength) ? oldArray[index2] : undefined$1;
40910
40935
  }
40911
40936
  return array;
40912
40937
  }
@@ -40944,12 +40969,12 @@ lodash.exports;
40944
40969
  };
40945
40970
  }
40946
40971
  function shuffleSelf(array, size2) {
40947
- var index = -1, length = array.length, lastIndex = length - 1;
40972
+ var index2 = -1, length = array.length, lastIndex = length - 1;
40948
40973
  size2 = size2 === undefined$1 ? length : size2;
40949
- while (++index < size2) {
40950
- var rand = baseRandom(index, lastIndex), value = array[rand];
40951
- array[rand] = array[index];
40952
- array[index] = value;
40974
+ while (++index2 < size2) {
40975
+ var rand = baseRandom(index2, lastIndex), value = array[rand];
40976
+ array[rand] = array[index2];
40977
+ array[index2] = value;
40953
40978
  }
40954
40979
  array.length = size2;
40955
40980
  return array;
@@ -41013,16 +41038,16 @@ lodash.exports;
41013
41038
  if (!length || size2 < 1) {
41014
41039
  return [];
41015
41040
  }
41016
- var index = 0, resIndex = 0, result2 = Array2(nativeCeil(length / size2));
41017
- while (index < length) {
41018
- result2[resIndex++] = baseSlice2(array, index, index += size2);
41041
+ var index2 = 0, resIndex = 0, result2 = Array2(nativeCeil(length / size2));
41042
+ while (index2 < length) {
41043
+ result2[resIndex++] = baseSlice2(array, index2, index2 += size2);
41019
41044
  }
41020
41045
  return result2;
41021
41046
  }
41022
41047
  function compact2(array) {
41023
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
41024
- while (++index < length) {
41025
- var value = array[index];
41048
+ var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
41049
+ while (++index2 < length) {
41050
+ var value = array[index2];
41026
41051
  if (value) {
41027
41052
  result2[resIndex++] = value;
41028
41053
  }
@@ -41034,9 +41059,9 @@ lodash.exports;
41034
41059
  if (!length) {
41035
41060
  return [];
41036
41061
  }
41037
- var args = Array2(length - 1), array = arguments[0], index = length;
41038
- while (index--) {
41039
- args[index - 1] = arguments[index];
41062
+ var args = Array2(length - 1), array = arguments[0], index2 = length;
41063
+ while (index2--) {
41064
+ args[index2 - 1] = arguments[index2];
41040
41065
  }
41041
41066
  return arrayPush(isArray2(array) ? copyArray2(array) : [array], baseFlatten(args, 1));
41042
41067
  }
@@ -41096,23 +41121,23 @@ lodash.exports;
41096
41121
  if (!length) {
41097
41122
  return -1;
41098
41123
  }
41099
- var index = fromIndex == null ? 0 : toInteger(fromIndex);
41100
- if (index < 0) {
41101
- index = nativeMax2(length + index, 0);
41124
+ var index2 = fromIndex == null ? 0 : toInteger(fromIndex);
41125
+ if (index2 < 0) {
41126
+ index2 = nativeMax2(length + index2, 0);
41102
41127
  }
41103
- return baseFindIndex2(array, getIteratee(predicate, 3), index);
41128
+ return baseFindIndex2(array, getIteratee(predicate, 3), index2);
41104
41129
  }
41105
41130
  function findLastIndex(array, predicate, fromIndex) {
41106
41131
  var length = array == null ? 0 : array.length;
41107
41132
  if (!length) {
41108
41133
  return -1;
41109
41134
  }
41110
- var index = length - 1;
41135
+ var index2 = length - 1;
41111
41136
  if (fromIndex !== undefined$1) {
41112
- index = toInteger(fromIndex);
41113
- index = fromIndex < 0 ? nativeMax2(length + index, 0) : nativeMin(index, length - 1);
41137
+ index2 = toInteger(fromIndex);
41138
+ index2 = fromIndex < 0 ? nativeMax2(length + index2, 0) : nativeMin(index2, length - 1);
41114
41139
  }
41115
- return baseFindIndex2(array, getIteratee(predicate, 3), index, true);
41140
+ return baseFindIndex2(array, getIteratee(predicate, 3), index2, true);
41116
41141
  }
41117
41142
  function flatten2(array) {
41118
41143
  var length = array == null ? 0 : array.length;
@@ -41131,9 +41156,9 @@ lodash.exports;
41131
41156
  return baseFlatten(array, depth);
41132
41157
  }
41133
41158
  function fromPairs(pairs) {
41134
- var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
41135
- while (++index < length) {
41136
- var pair = pairs[index];
41159
+ var index2 = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
41160
+ while (++index2 < length) {
41161
+ var pair = pairs[index2];
41137
41162
  result2[pair[0]] = pair[1];
41138
41163
  }
41139
41164
  return result2;
@@ -41146,11 +41171,11 @@ lodash.exports;
41146
41171
  if (!length) {
41147
41172
  return -1;
41148
41173
  }
41149
- var index = fromIndex == null ? 0 : toInteger(fromIndex);
41150
- if (index < 0) {
41151
- index = nativeMax2(length + index, 0);
41174
+ var index2 = fromIndex == null ? 0 : toInteger(fromIndex);
41175
+ if (index2 < 0) {
41176
+ index2 = nativeMax2(length + index2, 0);
41152
41177
  }
41153
- return baseIndexOf2(array, value, index);
41178
+ return baseIndexOf2(array, value, index2);
41154
41179
  }
41155
41180
  function initial(array) {
41156
41181
  var length = array == null ? 0 : array.length;
@@ -41189,12 +41214,12 @@ lodash.exports;
41189
41214
  if (!length) {
41190
41215
  return -1;
41191
41216
  }
41192
- var index = length;
41217
+ var index2 = length;
41193
41218
  if (fromIndex !== undefined$1) {
41194
- index = toInteger(fromIndex);
41195
- index = index < 0 ? nativeMax2(length + index, 0) : nativeMin(index, length - 1);
41219
+ index2 = toInteger(fromIndex);
41220
+ index2 = index2 < 0 ? nativeMax2(length + index2, 0) : nativeMin(index2, length - 1);
41196
41221
  }
41197
- return value === value ? strictLastIndexOf(array, value, index) : baseFindIndex2(array, baseIsNaN2, index, true);
41222
+ return value === value ? strictLastIndexOf(array, value, index2) : baseFindIndex2(array, baseIsNaN2, index2, true);
41198
41223
  }
41199
41224
  function nth(array, n) {
41200
41225
  return array && array.length ? baseNth(array, toInteger(n)) : undefined$1;
@@ -41211,8 +41236,8 @@ lodash.exports;
41211
41236
  }
41212
41237
  var pullAt = flatRest(function(array, indexes) {
41213
41238
  var length = array == null ? 0 : array.length, result2 = baseAt(array, indexes);
41214
- basePullAt(array, arrayMap2(indexes, function(index) {
41215
- return isIndex(index, length) ? +index : index;
41239
+ basePullAt(array, arrayMap2(indexes, function(index2) {
41240
+ return isIndex(index2, length) ? +index2 : index2;
41216
41241
  }).sort(compareAscending));
41217
41242
  return result2;
41218
41243
  });
@@ -41221,13 +41246,13 @@ lodash.exports;
41221
41246
  if (!(array && array.length)) {
41222
41247
  return result2;
41223
41248
  }
41224
- var index = -1, indexes = [], length = array.length;
41249
+ var index2 = -1, indexes = [], length = array.length;
41225
41250
  predicate = getIteratee(predicate, 3);
41226
- while (++index < length) {
41227
- var value = array[index];
41228
- if (predicate(value, index, array)) {
41251
+ while (++index2 < length) {
41252
+ var value = array[index2];
41253
+ if (predicate(value, index2, array)) {
41229
41254
  result2.push(value);
41230
- indexes.push(index);
41255
+ indexes.push(index2);
41231
41256
  }
41232
41257
  }
41233
41258
  basePullAt(array, indexes);
@@ -41259,9 +41284,9 @@ lodash.exports;
41259
41284
  function sortedIndexOf(array, value) {
41260
41285
  var length = array == null ? 0 : array.length;
41261
41286
  if (length) {
41262
- var index = baseSortedIndex(array, value);
41263
- if (index < length && eq(array[index], value)) {
41264
- return index;
41287
+ var index2 = baseSortedIndex(array, value);
41288
+ if (index2 < length && eq(array[index2], value)) {
41289
+ return index2;
41265
41290
  }
41266
41291
  }
41267
41292
  return -1;
@@ -41275,9 +41300,9 @@ lodash.exports;
41275
41300
  function sortedLastIndexOf(array, value) {
41276
41301
  var length = array == null ? 0 : array.length;
41277
41302
  if (length) {
41278
- var index = baseSortedIndex(array, value, true) - 1;
41279
- if (eq(array[index], value)) {
41280
- return index;
41303
+ var index2 = baseSortedIndex(array, value, true) - 1;
41304
+ if (eq(array[index2], value)) {
41305
+ return index2;
41281
41306
  }
41282
41307
  }
41283
41308
  return -1;
@@ -41350,8 +41375,8 @@ lodash.exports;
41350
41375
  return true;
41351
41376
  }
41352
41377
  });
41353
- return baseTimes(length, function(index) {
41354
- return arrayMap2(array, baseProperty(index));
41378
+ return baseTimes(length, function(index2) {
41379
+ return arrayMap2(array, baseProperty(index2));
41355
41380
  });
41356
41381
  }
41357
41382
  function unzipWith(array, iteratee2) {
@@ -41536,9 +41561,9 @@ lodash.exports;
41536
41561
  return isString2(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf2(collection, value, fromIndex) > -1;
41537
41562
  }
41538
41563
  var invokeMap = baseRest2(function(collection, path, args) {
41539
- var index = -1, isFunc = typeof path == "function", result2 = isArrayLike2(collection) ? Array2(collection.length) : [];
41564
+ var index2 = -1, isFunc = typeof path == "function", result2 = isArrayLike2(collection) ? Array2(collection.length) : [];
41540
41565
  baseEach(collection, function(value) {
41541
- result2[++index] = isFunc ? apply2(path, value, args) : baseInvoke(value, path, args);
41566
+ result2[++index2] = isFunc ? apply2(path, value, args) : baseInvoke(value, path, args);
41542
41567
  });
41543
41568
  return result2;
41544
41569
  });
@@ -41824,9 +41849,9 @@ lodash.exports;
41824
41849
  transforms = transforms.length == 1 && isArray2(transforms[0]) ? arrayMap2(transforms[0], baseUnary2(getIteratee())) : arrayMap2(baseFlatten(transforms, 1), baseUnary2(getIteratee()));
41825
41850
  var funcsLength = transforms.length;
41826
41851
  return baseRest2(function(args) {
41827
- var index = -1, length = nativeMin(args.length, funcsLength);
41828
- while (++index < length) {
41829
- args[index] = transforms[index].call(this, args[index]);
41852
+ var index2 = -1, length = nativeMin(args.length, funcsLength);
41853
+ while (++index2 < length) {
41854
+ args[index2] = transforms[index2].call(this, args[index2]);
41830
41855
  }
41831
41856
  return apply2(func, this, args);
41832
41857
  });
@@ -42141,14 +42166,14 @@ lodash.exports;
42141
42166
  }
42142
42167
  var defaults2 = baseRest2(function(object, sources) {
42143
42168
  object = Object2(object);
42144
- var index = -1;
42169
+ var index2 = -1;
42145
42170
  var length = sources.length;
42146
42171
  var guard = length > 2 ? sources[2] : undefined$1;
42147
42172
  if (guard && isIterateeCall(sources[0], sources[1], guard)) {
42148
42173
  length = 1;
42149
42174
  }
42150
- while (++index < length) {
42151
- var source = sources[index];
42175
+ while (++index2 < length) {
42176
+ var source = sources[index2];
42152
42177
  var props = keysIn(source);
42153
42178
  var propsIndex = -1;
42154
42179
  var propsLength = props.length;
@@ -42286,15 +42311,15 @@ lodash.exports;
42286
42311
  }
42287
42312
  function result(object, path, defaultValue) {
42288
42313
  path = castPath(path, object);
42289
- var index = -1, length = path.length;
42314
+ var index2 = -1, length = path.length;
42290
42315
  if (!length) {
42291
42316
  length = 1;
42292
42317
  object = undefined$1;
42293
42318
  }
42294
- while (++index < length) {
42295
- var value = object == null ? undefined$1 : object[toKey(path[index])];
42319
+ while (++index2 < length) {
42320
+ var value = object == null ? undefined$1 : object[toKey(path[index2])];
42296
42321
  if (value === undefined$1) {
42297
- index = length;
42322
+ index2 = length;
42298
42323
  value = defaultValue;
42299
42324
  }
42300
42325
  object = isFunction2(value) ? value.call(object) : value;
@@ -42323,8 +42348,8 @@ lodash.exports;
42323
42348
  accumulator = {};
42324
42349
  }
42325
42350
  }
42326
- (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object2) {
42327
- return iteratee2(accumulator, value, index, object2);
42351
+ (isArrLike ? arrayEach : baseForOwn)(object, function(value, index2, object2) {
42352
+ return iteratee2(accumulator, value, index2, object2);
42328
42353
  });
42329
42354
  return accumulator;
42330
42355
  }
@@ -42406,9 +42431,9 @@ lodash.exports;
42406
42431
  }
42407
42432
  return baseRandom(lower, upper);
42408
42433
  }
42409
- var camelCase = createCompounder(function(result2, word, index) {
42434
+ var camelCase = createCompounder(function(result2, word, index2) {
42410
42435
  word = word.toLowerCase();
42411
- return result2 + (index ? capitalize(word) : word);
42436
+ return result2 + (index2 ? capitalize(word) : word);
42412
42437
  });
42413
42438
  function capitalize(string) {
42414
42439
  return upperFirst(toString2(string).toLowerCase());
@@ -42434,11 +42459,11 @@ lodash.exports;
42434
42459
  string = toString2(string);
42435
42460
  return string && reHasRegExpChar.test(string) ? string.replace(reRegExpChar2, "\\$&") : string;
42436
42461
  }
42437
- var kebabCase = createCompounder(function(result2, word, index) {
42438
- return result2 + (index ? "-" : "") + word.toLowerCase();
42462
+ var kebabCase = createCompounder(function(result2, word, index2) {
42463
+ return result2 + (index2 ? "-" : "") + word.toLowerCase();
42439
42464
  });
42440
- var lowerCase = createCompounder(function(result2, word, index) {
42441
- return result2 + (index ? " " : "") + word.toLowerCase();
42465
+ var lowerCase = createCompounder(function(result2, word, index2) {
42466
+ return result2 + (index2 ? " " : "") + word.toLowerCase();
42442
42467
  });
42443
42468
  var lowerFirst = createCaseFirst("toLowerCase");
42444
42469
  function pad(string, length, chars) {
@@ -42483,8 +42508,8 @@ lodash.exports;
42483
42508
  var args = arguments, string = toString2(args[0]);
42484
42509
  return args.length < 3 ? string : string.replace(args[1], args[2]);
42485
42510
  }
42486
- var snakeCase = createCompounder(function(result2, word, index) {
42487
- return result2 + (index ? "_" : "") + word.toLowerCase();
42511
+ var snakeCase = createCompounder(function(result2, word, index2) {
42512
+ return result2 + (index2 ? "_" : "") + word.toLowerCase();
42488
42513
  });
42489
42514
  function split(string, separator, limit) {
42490
42515
  if (limit && typeof limit != "number" && isIterateeCall(string, separator, limit)) {
@@ -42503,8 +42528,8 @@ lodash.exports;
42503
42528
  }
42504
42529
  return string.split(separator, limit);
42505
42530
  }
42506
- var startCase = createCompounder(function(result2, word, index) {
42507
- return result2 + (index ? " " : "") + upperFirst(word);
42531
+ var startCase = createCompounder(function(result2, word, index2) {
42532
+ return result2 + (index2 ? " " : "") + upperFirst(word);
42508
42533
  });
42509
42534
  function startsWith(string, target2, position) {
42510
42535
  string = toString2(string);
@@ -42520,7 +42545,7 @@ lodash.exports;
42520
42545
  string = toString2(string);
42521
42546
  options = assignInWith({}, options, settings, customDefaultsAssignIn);
42522
42547
  var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
42523
- var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
42548
+ var isEscaping, isEvaluating, index2 = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
42524
42549
  var reDelimiters = RegExp2(
42525
42550
  (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
42526
42551
  "g"
@@ -42528,7 +42553,7 @@ lodash.exports;
42528
42553
  var sourceURL = "//# sourceURL=" + (hasOwnProperty2.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
42529
42554
  string.replace(reDelimiters, function(match3, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
42530
42555
  interpolateValue || (interpolateValue = esTemplateValue);
42531
- source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
42556
+ source += string.slice(index2, offset).replace(reUnescapedString, escapeStringChar);
42532
42557
  if (escapeValue) {
42533
42558
  isEscaping = true;
42534
42559
  source += "' +\n__e(" + escapeValue + ") +\n'";
@@ -42540,7 +42565,7 @@ lodash.exports;
42540
42565
  if (interpolateValue) {
42541
42566
  source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
42542
42567
  }
42543
- index = offset + match3.length;
42568
+ index2 = offset + match3.length;
42544
42569
  return match3;
42545
42570
  });
42546
42571
  source += "';\n";
@@ -42640,9 +42665,9 @@ lodash.exports;
42640
42665
  result2 = result2.slice(0, newEnd === undefined$1 ? end : newEnd);
42641
42666
  }
42642
42667
  } else if (string.indexOf(baseToString2(separator), end) != end) {
42643
- var index = result2.lastIndexOf(separator);
42644
- if (index > -1) {
42645
- result2 = result2.slice(0, index);
42668
+ var index2 = result2.lastIndexOf(separator);
42669
+ if (index2 > -1) {
42670
+ result2 = result2.slice(0, index2);
42646
42671
  }
42647
42672
  }
42648
42673
  return result2 + omission;
@@ -42651,8 +42676,8 @@ lodash.exports;
42651
42676
  string = toString2(string);
42652
42677
  return string && reHasEscapedHtml.test(string) ? string.replace(reEscapedHtml, unescapeHtmlChar) : string;
42653
42678
  }
42654
- var upperCase = createCompounder(function(result2, word, index) {
42655
- return result2 + (index ? " " : "") + word.toUpperCase();
42679
+ var upperCase = createCompounder(function(result2, word, index2) {
42680
+ return result2 + (index2 ? " " : "") + word.toUpperCase();
42656
42681
  });
42657
42682
  var upperFirst = createCaseFirst("toUpperCase");
42658
42683
  function words(string, pattern, guard) {
@@ -42686,9 +42711,9 @@ lodash.exports;
42686
42711
  return [toIteratee(pair[0]), pair[1]];
42687
42712
  });
42688
42713
  return baseRest2(function(args) {
42689
- var index = -1;
42690
- while (++index < length) {
42691
- var pair = pairs[index];
42714
+ var index2 = -1;
42715
+ while (++index2 < length) {
42716
+ var pair = pairs[index2];
42692
42717
  if (apply2(pair[0], this, args)) {
42693
42718
  return apply2(pair[1], this, args);
42694
42719
  }
@@ -42804,12 +42829,12 @@ lodash.exports;
42804
42829
  if (n < 1 || n > MAX_SAFE_INTEGER2) {
42805
42830
  return [];
42806
42831
  }
42807
- var index = MAX_ARRAY_LENGTH, length = nativeMin(n, MAX_ARRAY_LENGTH);
42832
+ var index2 = MAX_ARRAY_LENGTH, length = nativeMin(n, MAX_ARRAY_LENGTH);
42808
42833
  iteratee2 = getIteratee(iteratee2);
42809
42834
  n -= MAX_ARRAY_LENGTH;
42810
42835
  var result2 = baseTimes(length, iteratee2);
42811
- while (++index < n) {
42812
- iteratee2(index);
42836
+ while (++index2 < n) {
42837
+ iteratee2(index2);
42813
42838
  }
42814
42839
  return result2;
42815
42840
  }
@@ -43181,10 +43206,10 @@ lodash.exports;
43181
43206
  arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
43182
43207
  lodash2[methodName].placeholder = lodash2;
43183
43208
  });
43184
- arrayEach(["drop", "take"], function(methodName, index) {
43209
+ arrayEach(["drop", "take"], function(methodName, index2) {
43185
43210
  LazyWrapper.prototype[methodName] = function(n) {
43186
43211
  n = n === undefined$1 ? 1 : nativeMax2(toInteger(n), 0);
43187
- var result2 = this.__filtered__ && !index ? new LazyWrapper(this) : this.clone();
43212
+ var result2 = this.__filtered__ && !index2 ? new LazyWrapper(this) : this.clone();
43188
43213
  if (result2.__filtered__) {
43189
43214
  result2.__takeCount__ = nativeMin(n, result2.__takeCount__);
43190
43215
  } else {
@@ -43199,8 +43224,8 @@ lodash.exports;
43199
43224
  return this.reverse()[methodName](n).reverse();
43200
43225
  };
43201
43226
  });
43202
- arrayEach(["filter", "map", "takeWhile"], function(methodName, index) {
43203
- var type = index + 1, isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;
43227
+ arrayEach(["filter", "map", "takeWhile"], function(methodName, index2) {
43228
+ var type = index2 + 1, isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;
43204
43229
  LazyWrapper.prototype[methodName] = function(iteratee2) {
43205
43230
  var result2 = this.clone();
43206
43231
  result2.__iteratees__.push({
@@ -43211,14 +43236,14 @@ lodash.exports;
43211
43236
  return result2;
43212
43237
  };
43213
43238
  });
43214
- arrayEach(["head", "last"], function(methodName, index) {
43215
- var takeName = "take" + (index ? "Right" : "");
43239
+ arrayEach(["head", "last"], function(methodName, index2) {
43240
+ var takeName = "take" + (index2 ? "Right" : "");
43216
43241
  LazyWrapper.prototype[methodName] = function() {
43217
43242
  return this[takeName](1).value()[0];
43218
43243
  };
43219
43244
  });
43220
- arrayEach(["initial", "tail"], function(methodName, index) {
43221
- var dropName = "drop" + (index ? "" : "Right");
43245
+ arrayEach(["initial", "tail"], function(methodName, index2) {
43246
+ var dropName = "drop" + (index2 ? "" : "Right");
43222
43247
  LazyWrapper.prototype[methodName] = function() {
43223
43248
  return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
43224
43249
  };
@@ -48630,14 +48655,14 @@ if (String.fromCodePoint) {
48630
48655
  var codeUnits = [];
48631
48656
  var highSurrogate;
48632
48657
  var lowSurrogate;
48633
- var index = -1;
48658
+ var index2 = -1;
48634
48659
  var length = arguments.length;
48635
48660
  if (!length) {
48636
48661
  return "";
48637
48662
  }
48638
48663
  var result = "";
48639
- while (++index < length) {
48640
- var codePoint = Number(arguments[index]);
48664
+ while (++index2 < length) {
48665
+ var codePoint = Number(arguments[index2]);
48641
48666
  if (!isFinite(codePoint) || // `NaN`, `+Infinity`, or `-Infinity`
48642
48667
  codePoint < 0 || // not a valid Unicode code point
48643
48668
  codePoint > 1114111 || // not a valid Unicode code point
@@ -48652,7 +48677,7 @@ if (String.fromCodePoint) {
48652
48677
  lowSurrogate = codePoint % 1024 + 56320;
48653
48678
  codeUnits.push(highSurrogate, lowSurrogate);
48654
48679
  }
48655
- if (index + 1 === length || codeUnits.length > MAX_SIZE) {
48680
+ if (index2 + 1 === length || codeUnits.length > MAX_SIZE) {
48656
48681
  result += stringFromCharCode.apply(null, codeUnits);
48657
48682
  codeUnits.length = 0;
48658
48683
  }
@@ -49190,7 +49215,7 @@ var parseCloseBracket = function(block3) {
49190
49215
  return true;
49191
49216
  }
49192
49217
  };
49193
- var addBracket = function(node2, index, image3) {
49218
+ var addBracket = function(node2, index2, image3) {
49194
49219
  if (this.brackets !== null) {
49195
49220
  this.brackets.bracketAfter = true;
49196
49221
  }
@@ -49198,7 +49223,7 @@ var addBracket = function(node2, index, image3) {
49198
49223
  node: node2,
49199
49224
  previous: this.brackets,
49200
49225
  previousDelimiter: this.delimiters,
49201
- index,
49226
+ index: index2,
49202
49227
  image: image3,
49203
49228
  active: true
49204
49229
  };
@@ -50938,6 +50963,12 @@ const callbackDirectory = {
50938
50963
  autocompletion: AutocompletionMixin,
50939
50964
  richtext: RichtextMixin
50940
50965
  };
50966
+ const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
50967
+ __proto__: null,
50968
+ AutocompletionMixin,
50969
+ RichtextMixin,
50970
+ callbackDirectory
50971
+ }, Symbol.toStringTag, { value: "Module" }));
50941
50972
  const valueTransformationKeys = Object.keys(valueTransformationDirectory);
50942
50973
  const attributeKeys = Object.keys(attributeDirectory);
50943
50974
  const templateAdditionKeys = Object.keys(templateAdditionDirectory);
@@ -51854,7 +51885,7 @@ const FilterMixin = {
51854
51885
  this.fields,
51855
51886
  this.searchForm
51856
51887
  );
51857
- resources = resources.filter((_v, index) => filteredResources[index]);
51888
+ resources = resources.filter((_v, index2) => filteredResources[index2]);
51858
51889
  }
51859
51890
  const nextProcessor = listPostProcessors.shift();
51860
51891
  if (nextProcessor)
@@ -52067,9 +52098,9 @@ const HighlighterMixin = {
52067
52098
  await nextProcessor(resources, listPostProcessors, div2, context2);
52068
52099
  },
52069
52100
  sortHighlighted(resources, field, value) {
52070
- for (let [index, res] of resources.entries()) {
52101
+ for (let [index2, res] of resources.entries()) {
52071
52102
  if (res[field] && res[field] == value) {
52072
- resources.splice(0, 0, resources.splice(index, 1)[0]);
52103
+ resources.splice(0, 0, resources.splice(index2, 1)[0]);
52073
52104
  }
52074
52105
  }
52075
52106
  return resources;
@@ -52843,11 +52874,11 @@ dialogPolyfill.DialogManager.prototype.pushDialog = function(dpi) {
52843
52874
  return true;
52844
52875
  };
52845
52876
  dialogPolyfill.DialogManager.prototype.removeDialog = function(dpi) {
52846
- var index = this.pendingDialogStack.indexOf(dpi);
52847
- if (index === -1) {
52877
+ var index2 = this.pendingDialogStack.indexOf(dpi);
52878
+ if (index2 === -1) {
52848
52879
  return;
52849
52880
  }
52850
- this.pendingDialogStack.splice(index, 1);
52881
+ this.pendingDialogStack.splice(index2, 1);
52851
52882
  if (this.pendingDialogStack.length === 0) {
52852
52883
  this.unblockDocument();
52853
52884
  }
@@ -53700,9 +53731,9 @@ const until = directive((...args) => (part2) => {
53700
53731
  state.lastRenderedIndex = _infinity;
53701
53732
  previousLength = 0;
53702
53733
  Promise.resolve(value).then((resolvedValue) => {
53703
- const index = state.values.indexOf(value);
53704
- if (index > -1 && index < state.lastRenderedIndex) {
53705
- state.lastRenderedIndex = index;
53734
+ const index2 = state.values.indexOf(value);
53735
+ if (index2 > -1 && index2 < state.lastRenderedIndex) {
53736
+ state.lastRenderedIndex = index2;
53706
53737
  part2.setValue(resolvedValue);
53707
53738
  part2.commit();
53708
53739
  }
@@ -54107,6 +54138,27 @@ const SolidMap = {
54107
54138
  }
54108
54139
  };
54109
54140
  Sib.register(SolidMap);
54141
+ const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
54142
+ __proto__: null,
54143
+ AltMixin,
54144
+ EditableMixin,
54145
+ FilterRangeFormMixin,
54146
+ FormCheckboxMixin,
54147
+ FormCheckboxesMixin,
54148
+ FormDropdownMixin,
54149
+ FormFileMixin,
54150
+ FormLengthMixin,
54151
+ FormNumberMixin,
54152
+ FormRadioMixin,
54153
+ FormStepMixin,
54154
+ LinkTextMixin,
54155
+ MultipleFormMixin,
54156
+ MultipleselectFormMixin,
54157
+ PatternMixin,
54158
+ RangeMixin,
54159
+ SetMixin,
54160
+ ValueRichtextMixin
54161
+ }, Symbol.toStringTag, { value: "Module" }));
54110
54162
  class SolidTemplateElement extends HTMLElement {
54111
54163
  constructor() {
54112
54164
  super();
@@ -54311,12 +54363,12 @@ class BaseWidget extends HTMLElement {
54311
54363
  element.dispatchEvent(new Event("change"));
54312
54364
  } else if (this.dataHolder && this.dataHolder.length > 1) {
54313
54365
  this.dataHolder.forEach(
54314
- (el2, index) => {
54366
+ (el2, index2) => {
54315
54367
  const element = this.getValueHolder(el2);
54316
54368
  if (element.type == "checkbox") {
54317
- element.checked = value ? value[index] : "";
54369
+ element.checked = value ? value[index2] : "";
54318
54370
  } else {
54319
- element.value = value ? value[index] : "";
54371
+ element.value = value ? value[index2] : "";
54320
54372
  }
54321
54373
  element.dispatchEvent(new Event("change"));
54322
54374
  }
@@ -54373,11 +54425,11 @@ class BaseWidget extends HTMLElement {
54373
54425
  if (!resource || !resource["ldp:contains"])
54374
54426
  return null;
54375
54427
  let resources = [];
54376
- let index = 0;
54428
+ let index2 = 0;
54377
54429
  for (let res of resource["ldp:contains"]) {
54378
54430
  if (!res) {
54379
54431
  try {
54380
- const resourceId = resource.getChildren("ldp:contains")[index]["@id"];
54432
+ const resourceId = resource.getChildren("ldp:contains")[index2]["@id"];
54381
54433
  res = await store.getData(resourceId, this.context);
54382
54434
  } catch (e) {
54383
54435
  continue;
@@ -54391,7 +54443,7 @@ class BaseWidget extends HTMLElement {
54391
54443
  } else {
54392
54444
  resources.push(res);
54393
54445
  }
54394
- index++;
54446
+ index2++;
54395
54447
  }
54396
54448
  return resources;
54397
54449
  }
@@ -54504,6 +54556,9 @@ const widgetFactory = (tagName, customTemplate, childTemplate = "", callback) =>
54504
54556
  return cls;
54505
54557
  };
54506
54558
  export {
54559
+ index$2 as AttributeMixins,
54560
+ BaseWidgetMixin,
54561
+ index$1 as CallbackMixins,
54507
54562
  CounterMixin,
54508
54563
  FederationMixin,
54509
54564
  FilterMixin,
@@ -54527,6 +54582,9 @@ export {
54527
54582
  SolidWidget,
54528
54583
  SorterMixin,
54529
54584
  StoreMixin,
54585
+ index$3 as TemplateAdditionMixins,
54586
+ index$4 as Templates,
54587
+ index as TemplatesDependenciesMixins,
54530
54588
  TranslationMixin,
54531
54589
  ValidationMixin,
54532
54590
  WidgetMixin,