marko 5.37.47 → 5.37.49

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.
Files changed (66) hide show
  1. package/dist/node_modules/@internal/components-entry/index.js +17 -10
  2. package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +3 -3
  3. package/dist/node_modules/@internal/components-registry/index-browser.js +33 -33
  4. package/dist/node_modules/@internal/components-registry/index.js +2 -2
  5. package/dist/node_modules/@internal/components-util/index-browser.js +16 -16
  6. package/dist/node_modules/@internal/components-util/index.js +4 -4
  7. package/dist/node_modules/@internal/create-readable/index-browser.js +1 -1
  8. package/dist/node_modules/@internal/create-readable/index.js +9 -9
  9. package/dist/node_modules/@internal/preserve-tag/index-browser.js +5 -5
  10. package/dist/node_modules/@internal/preserve-tag/index.js +1 -1
  11. package/dist/node_modules/@internal/set-immediate/index-browser.js +1 -1
  12. package/dist/node_modules/@internal/set-immediate/index-worker.js +2 -2
  13. package/dist/node_modules/@internal/set-immediate/index.js +2 -2
  14. package/dist/runtime/RenderResult.js +3 -3
  15. package/dist/runtime/components/Component.js +95 -95
  16. package/dist/runtime/components/ComponentDef.js +18 -18
  17. package/dist/runtime/components/ComponentsContext.js +3 -3
  18. package/dist/runtime/components/GlobalComponentsContext.js +3 -3
  19. package/dist/runtime/components/KeySequence.js +3 -3
  20. package/dist/runtime/components/ServerComponent.js +1 -1
  21. package/dist/runtime/components/State.js +19 -19
  22. package/dist/runtime/components/attach-detach.js +7 -7
  23. package/dist/runtime/components/dom-data.js +5 -5
  24. package/dist/runtime/components/event-delegation.js +9 -9
  25. package/dist/runtime/components/legacy/defineRenderer-legacy.js +11 -11
  26. package/dist/runtime/components/legacy/dependencies/index.js +7 -7
  27. package/dist/runtime/components/legacy/renderer-legacy.js +28 -28
  28. package/dist/runtime/components/renderer.js +27 -27
  29. package/dist/runtime/components/update-manager.js +4 -4
  30. package/dist/runtime/createOut.js +1 -1
  31. package/dist/runtime/dom-insert.js +5 -5
  32. package/dist/runtime/helpers/_change-case.js +2 -2
  33. package/dist/runtime/helpers/dynamic-tag.js +9 -9
  34. package/dist/runtime/helpers/render-tag.js +1 -1
  35. package/dist/runtime/helpers/serialize-noop.js +1 -1
  36. package/dist/runtime/helpers/style-value.js +1 -1
  37. package/dist/runtime/helpers/tags-compat/runtime-dom.js +23 -23
  38. package/dist/runtime/helpers/tags-compat/runtime-html.js +117 -29
  39. package/dist/runtime/html/AsyncStream.js +20 -20
  40. package/dist/runtime/html/BufferedWriter.js +2 -2
  41. package/dist/runtime/html/helpers/_dynamic-attr.js +2 -2
  42. package/dist/runtime/html/helpers/attr.js +2 -2
  43. package/dist/runtime/html/helpers/data-marko.js +1 -1
  44. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  45. package/dist/runtime/html/index.js +1 -1
  46. package/dist/runtime/renderable.js +3 -3
  47. package/dist/runtime/vdom/AsyncVDOMBuilder.js +83 -83
  48. package/dist/runtime/vdom/VComment.js +7 -7
  49. package/dist/runtime/vdom/VComponent.js +4 -4
  50. package/dist/runtime/vdom/VDocumentFragment.js +6 -6
  51. package/dist/runtime/vdom/VElement.js +36 -36
  52. package/dist/runtime/vdom/VFragment.js +9 -9
  53. package/dist/runtime/vdom/VNode.js +33 -33
  54. package/dist/runtime/vdom/VText.js +8 -8
  55. package/dist/runtime/vdom/helpers/const-element.js +3 -3
  56. package/dist/runtime/vdom/hot-reload.js +14 -14
  57. package/dist/runtime/vdom/index.js +1 -1
  58. package/dist/runtime/vdom/morphdom/fragment.js +5 -5
  59. package/dist/runtime/vdom/morphdom/helpers.js +5 -5
  60. package/dist/runtime/vdom/morphdom/index.js +68 -68
  61. package/dist/runtime/vdom/vdom.js +15 -15
  62. package/dist/translator/util/get-component-files.js +1 -1
  63. package/package.json +1 -1
  64. package/src/node_modules/@internal/components-entry/index.js +19 -12
  65. package/src/runtime/helpers/tags-compat/runtime-dom.js +3 -3
  66. package/src/runtime/helpers/tags-compat/runtime-html.js +115 -27
@@ -3,78 +3,78 @@
3
3
  function VNode() {}
4
4
 
5
5
  VNode.prototype = {
6
- bW_: function (finalChildCount, ownerComponent) {
7
- this.ck_ = finalChildCount;
8
- this.cl_ = 0;
9
- this.cc_ = null;
10
- this.cm_ = null;
11
- this.c__ = null;
6
+ bX_: function (finalChildCount, ownerComponent) {
7
+ this.cl_ = finalChildCount;
8
+ this.cm_ = 0;
9
+ this.cd_ = null;
10
+ this.cn_ = null;
12
11
  this.ca_ = null;
13
- this._M_ = ownerComponent;
12
+ this.cb_ = null;
13
+ this._N_ = ownerComponent;
14
14
  },
15
15
 
16
- get aA_() {
17
- var firstChild = this.cc_;
16
+ get aB_() {
17
+ var firstChild = this.cd_;
18
18
 
19
- if (firstChild && firstChild.cb_) {
20
- var nestedFirstChild = firstChild.aA_;
19
+ if (firstChild && firstChild.cc_) {
20
+ var nestedFirstChild = firstChild.aB_;
21
21
  // The first child is a DocumentFragment node.
22
22
  // If the DocumentFragment node has a first child then we will return that.
23
23
  // Otherwise, the DocumentFragment node is not *really* the first child and
24
24
  // we need to skip to its next sibling
25
- return nestedFirstChild || firstChild.cn_;
25
+ return nestedFirstChild || firstChild.co_;
26
26
  }
27
27
 
28
28
  return firstChild;
29
29
  },
30
30
 
31
- get cn_() {
32
- var nextSibling = this.ca_;
31
+ get co_() {
32
+ var nextSibling = this.cb_;
33
33
 
34
34
  if (nextSibling) {
35
- if (nextSibling.cb_) {
36
- var firstChild = nextSibling.aA_;
37
- return firstChild || nextSibling.cn_;
35
+ if (nextSibling.cc_) {
36
+ var firstChild = nextSibling.aB_;
37
+ return firstChild || nextSibling.co_;
38
38
  }
39
39
  } else {
40
- var parentNode = this.c__;
41
- if (parentNode && parentNode.cb_) {
42
- return parentNode.cn_;
40
+ var parentNode = this.ca_;
41
+ if (parentNode && parentNode.cc_) {
42
+ return parentNode.co_;
43
43
  }
44
44
  }
45
45
 
46
46
  return nextSibling;
47
47
  },
48
48
 
49
- bP_: function (child) {
50
- this.cl_++;
49
+ bQ_: function (child) {
50
+ this.cm_++;
51
51
 
52
- if (hasTextContent(this.ce_)) {
53
- if (child.co_) {
54
- this.cf_ += child.bX_;
52
+ if (hasTextContent(this.cf_)) {
53
+ if (child.cp_) {
54
+ this.cg_ += child.bY_;
55
55
  } else {
56
56
  throw TypeError();
57
57
  }
58
58
  } else {
59
- var lastChild = this.cm_;
59
+ var lastChild = this.cn_;
60
60
 
61
- child.c__ = this;
61
+ child.ca_ = this;
62
62
 
63
63
  if (lastChild) {
64
- lastChild.ca_ = child;
64
+ lastChild.cb_ = child;
65
65
  } else {
66
- this.cc_ = child;
66
+ this.cd_ = child;
67
67
  }
68
68
 
69
- this.cm_ = child;
69
+ this.cn_ = child;
70
70
  }
71
71
 
72
72
  return child;
73
73
  },
74
74
 
75
- ch_: function finishChild() {
76
- if (this.cl_ === this.ck_ && this.c__) {
77
- return this.c__.ch_();
75
+ ci_: function finishChild() {
76
+ if (this.cm_ === this.cl_ && this.ca_) {
77
+ return this.ca_.ci_();
78
78
  } else {
79
79
  return this;
80
80
  }
@@ -2,21 +2,21 @@
2
2
  var VNode = require("./VNode");
3
3
 
4
4
  function VText(value, ownerComponent) {
5
- this.bW_(-1 /* no children */, ownerComponent);
6
- this.bX_ = value;
5
+ this.bX_(-1 /* no children */, ownerComponent);
6
+ this.bY_ = value;
7
7
  }
8
8
 
9
9
  VText.prototype = {
10
- co_: true,
10
+ cp_: true,
11
11
 
12
- bY_: 3,
12
+ bZ_: 3,
13
13
 
14
- bp_: function (host) {
15
- return (host.ownerDocument || host).createTextNode(this.bX_);
14
+ bq_: function (host) {
15
+ return (host.ownerDocument || host).createTextNode(this.bY_);
16
16
  },
17
17
 
18
- bQ_: function () {
19
- return new VText(this.bX_);
18
+ bR_: function () {
19
+ return new VText(this.bY_);
20
20
  }
21
21
  };
22
22
 
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- var VElement = require("../vdom").bx_;
3
+ var VElement = require("../vdom").by_;
4
4
  var i = 0;
5
5
 
6
6
  module.exports = function (tagName, attrs, childCount) {
@@ -13,12 +13,12 @@ function ConstVElement(tagName, attrs, childCount) {
13
13
 
14
14
  ConstVElement.prototype = Object.create(VElement.prototype);
15
15
  ConstVElement.prototype.e = function (tagName, attrs, childCount) {
16
- var child = this.bP_(
16
+ var child = this.bQ_(
17
17
  new ConstVElement(tagName, attrs, childCount)
18
18
  );
19
19
 
20
20
  if (childCount === 0) {
21
- return this.ch_();
21
+ return this.ci_();
22
22
  } else {
23
23
  return child;
24
24
  }
@@ -1,10 +1,10 @@
1
1
  "use strict";var registry = require("@internal/components-registry");
2
- var setImmediate = require("@internal/set-immediate")._j_;
2
+ var setImmediate = require("@internal/set-immediate")._k_;
3
3
  var updateManager = require("../components/update-manager");
4
4
  var runtime = require(".");
5
5
 
6
6
  var createTemplate = runtime.t;
7
- var createComponent = registry._G_;
7
+ var createComponent = registry._H_;
8
8
  var registered = {};
9
9
  var instancesByType = {};
10
10
  var queue;
@@ -31,12 +31,12 @@ exports.t = runtime.t = function (typeName) {
31
31
  }
32
32
 
33
33
  queue.push(function () {
34
- var newProto = registry._H_(typeName).prototype;
34
+ var newProto = registry._I_(typeName).prototype;
35
35
  instances.forEach(function (instance) {
36
36
  if (hasLifecycleChanged(instance.__proto__, newProto)) {
37
37
  var renderer = instance.Q_;
38
38
  instance.Q_ = (input, out) => {
39
- instance.aF_(input, out);
39
+ instance.aG_(input, out);
40
40
  if (instance.onInput) {
41
41
  input = instance.onInput(input, out) || input;
42
42
  }
@@ -44,18 +44,18 @@ exports.t = runtime.t = function (typeName) {
44
44
  instance.Q_(input, out);
45
45
  };
46
46
 
47
- instance.cp_ = true;
48
- instance.ao_();
49
- instance._x_ = false;
47
+ instance.cq_ = true;
48
+ instance.ap_();
49
+ instance._y_ = false;
50
50
 
51
- if (instance.ai_) {
52
- instance.ai_.removeAllListeners();
53
- instance.ai_ = null;
51
+ if (instance.aj_) {
52
+ instance.aj_.removeAllListeners();
53
+ instance.aj_ = null;
54
54
  }
55
55
  }
56
56
 
57
57
  instance.__proto__ = newProto;
58
- instance._F_(
58
+ instance._G_(
59
59
  instance.O_, false).
60
60
  afterInsert(instance.B_);
61
61
  });
@@ -71,14 +71,14 @@ exports.t = runtime.t = function (typeName) {
71
71
  }
72
72
  };
73
73
 
74
- registry._G_ = function (typeName, id) {
74
+ registry._H_ = function (typeName, id) {
75
75
  var instances = instancesByType[typeName];
76
76
  var instance = createComponent(typeName, id);
77
77
 
78
78
  if (instances) {
79
79
  instances.add(instance);
80
80
  instance.once("destroy", function () {
81
- if (!instance.cp_) {
81
+ if (!instance.cq_) {
82
82
  instances.delete(instance);
83
83
  }
84
84
  });
@@ -104,7 +104,7 @@ function hasLifecycleChanged(oldProto, newProto) {
104
104
  }
105
105
 
106
106
  function batchUpdate() {
107
- updateManager.ay_(function () {
107
+ updateManager.az_(function () {
108
108
  var pending = queue;
109
109
  queue = undefined;
110
110
 
@@ -17,7 +17,7 @@ function Template(typeName) {
17
17
  }
18
18
 
19
19
  var AsyncVDOMBuilder = require("./AsyncVDOMBuilder");
20
- require("../createOut").be_(
20
+ require("../createOut").bf_(
21
21
  Template.prototype.createOut = function createOut(
22
22
  globalData,
23
23
  parent,
@@ -1,5 +1,5 @@
1
1
  "use strict";var helpers = require("./helpers");
2
- var insertBefore = helpers.bf_;
2
+ var insertBefore = helpers.bg_;
3
3
 
4
4
  var fragmentPrototype = {
5
5
  nodeType: 12,
@@ -80,8 +80,8 @@ function createFragmentNode(startNode, nextNode, parentNode) {
80
80
 
81
81
  function beginFragmentNode(startNode, parentNode) {
82
82
  var fragment = createFragmentNode(startNode, null, parentNode);
83
- fragment.cq_ = function (nextNode) {
84
- fragment.cq_ = null;
83
+ fragment.cr_ = function (nextNode) {
84
+ fragment.cr_ = null;
85
85
  insertBefore(
86
86
  fragment.endNode,
87
87
  nextNode,
@@ -91,5 +91,5 @@ function beginFragmentNode(startNode, parentNode) {
91
91
  return fragment;
92
92
  }
93
93
 
94
- exports._k_ = createFragmentNode;
95
- exports.cr_ = beginFragmentNode;
94
+ exports._l_ = createFragmentNode;
95
+ exports.cs_ = beginFragmentNode;
@@ -35,8 +35,8 @@ function removeChild(node) {
35
35
  node.parentNode.removeChild(node);
36
36
  }
37
37
 
38
- exports.bf_ = insertBefore;
39
- exports.bg_ = insertAfter;
40
- exports.cn_ = nextSibling;
41
- exports.aA_ = firstChild;
42
- exports.bh_ = removeChild;
38
+ exports.bg_ = insertBefore;
39
+ exports.bh_ = insertAfter;
40
+ exports.co_ = nextSibling;
41
+ exports.aB_ = firstChild;
42
+ exports.bi_ = removeChild;
@@ -1,31 +1,31 @@
1
1
  "use strict";
2
2
  var componentsUtil = require("@internal/components-util");
3
- var existingComponentLookup = componentsUtil._l_;
4
- var destroyNodeRecursive = componentsUtil._R_;
3
+ var existingComponentLookup = componentsUtil._m_;
4
+ var destroyNodeRecursive = componentsUtil._S_;
5
5
  var addComponentRootToKeyedElements =
6
- componentsUtil._m_;
7
- var normalizeComponentKey = componentsUtil._U_;
6
+ componentsUtil._n_;
7
+ var normalizeComponentKey = componentsUtil._V_;
8
8
  var domData = require("../../components/dom-data");
9
9
  var eventDelegation = require("../../components/event-delegation");
10
10
  var KeySequence = require("../../components/KeySequence");
11
- var VElement = require("../vdom").bx_;
11
+ var VElement = require("../vdom").by_;
12
12
  var fragment = require("./fragment");
13
13
  var helpers = require("./helpers");
14
14
  var isTextOnly = require("../is-text-only");
15
- var virtualizeElement = VElement.ci_;
16
- var morphAttrs = VElement.cj_;
17
- var keysByDOMNode = domData._n_;
18
- var componentByDOMNode = domData._p_;
19
- var vElementByDOMNode = domData._K_;
20
- var detachedByDOMNode = domData.aW_;
21
-
22
- var insertBefore = helpers.bf_;
23
- var insertAfter = helpers.bg_;
24
- var nextSibling = helpers.cn_;
25
- var firstChild = helpers.aA_;
26
- var removeChild = helpers.bh_;
27
- var createFragmentNode = fragment._k_;
28
- var beginFragmentNode = fragment.cr_;
15
+ var virtualizeElement = VElement.cj_;
16
+ var morphAttrs = VElement.ck_;
17
+ var keysByDOMNode = domData._o_;
18
+ var componentByDOMNode = domData._q_;
19
+ var vElementByDOMNode = domData._L_;
20
+ var detachedByDOMNode = domData.aX_;
21
+
22
+ var insertBefore = helpers.bg_;
23
+ var insertAfter = helpers.bh_;
24
+ var nextSibling = helpers.co_;
25
+ var firstChild = helpers.aB_;
26
+ var removeChild = helpers.bi_;
27
+ var createFragmentNode = fragment._l_;
28
+ var beginFragmentNode = fragment.cs_;
29
29
 
30
30
  var ELEMENT_NODE = 1;
31
31
  var TEXT_NODE = 3;
@@ -43,7 +43,7 @@ function isAutoKey(key) {
43
43
  }
44
44
 
45
45
  function compareNodeNames(fromEl, toEl) {
46
- return fromEl.ce_ === toEl.ce_;
46
+ return fromEl.cf_ === toEl.cf_;
47
47
  }
48
48
 
49
49
  function caseInsensitiveCompare(a, b) {
@@ -52,7 +52,7 @@ function caseInsensitiveCompare(a, b) {
52
52
 
53
53
  function onNodeAdded(node, componentsContext) {
54
54
  if (node.nodeType === ELEMENT_NODE) {
55
- eventDelegation.aV_(node, componentsContext);
55
+ eventDelegation.aW_(node, componentsContext);
56
56
  }
57
57
  }
58
58
 
@@ -63,7 +63,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
63
63
 
64
64
  if (componentsContext) {
65
65
  globalComponentsContext = componentsContext.p_;
66
- isHydrate = globalComponentsContext._Z_;
66
+ isHydrate = globalComponentsContext.a__;
67
67
  }
68
68
 
69
69
  function insertVirtualNodeBefore(
@@ -74,12 +74,12 @@ function morphdom(fromNode, toNode, host, componentsContext) {
74
74
  ownerComponent,
75
75
  parentComponent)
76
76
  {
77
- var realNode = vNode.bp_(host, parentEl.namespaceURI);
77
+ var realNode = vNode.bq_(host, parentEl.namespaceURI);
78
78
  insertBefore(realNode, referenceEl, parentEl);
79
79
 
80
80
  if (
81
- vNode.bY_ === ELEMENT_NODE ||
82
- vNode.bY_ === FRAGMENT_NODE)
81
+ vNode.bZ_ === ELEMENT_NODE ||
82
+ vNode.bZ_ === FRAGMENT_NODE)
83
83
  {
84
84
  if (key) {
85
85
  keysByDOMNode.set(realNode, key);
@@ -88,7 +88,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
88
88
  realNode;
89
89
  }
90
90
 
91
- if (!isTextOnly(vNode.ce_)) {
91
+ if (!isTextOnly(vNode.cf_)) {
92
92
  morphChildren(realNode, vNode, parentComponent);
93
93
  }
94
94
 
@@ -105,7 +105,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
105
105
  ownerComponent,
106
106
  parentComponent)
107
107
  {
108
- var rootNode = component._E_ = insertBefore(
108
+ var rootNode = component._F_ = insertBefore(
109
109
  createFragmentNode(),
110
110
  referenceNode,
111
111
  referenceNodeParentEl
@@ -127,7 +127,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
127
127
  }
128
128
 
129
129
  function morphComponent(component, vComponent) {
130
- morphChildren(component._E_, vComponent, component);
130
+ morphChildren(component._F_, vComponent, component);
131
131
  }
132
132
 
133
133
  var detachedNodes = [];
@@ -148,7 +148,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
148
148
 
149
149
  function morphChildren(fromNode, toNode, parentComponent) {
150
150
  var curFromNodeChild = firstChild(fromNode);
151
- var curToNodeChild = toNode.aA_;
151
+ var curToNodeChild = toNode.aB_;
152
152
 
153
153
  var curToNodeKey;
154
154
  var curFromNodeKey;
@@ -162,16 +162,16 @@ function morphdom(fromNode, toNode, host, componentsContext) {
162
162
  var fromComponent;
163
163
 
164
164
  outer: while (curToNodeChild) {
165
- toNextSibling = curToNodeChild.cn_;
166
- curToNodeType = curToNodeChild.bY_;
167
- curToNodeKey = curToNodeChild.bZ_;
165
+ toNextSibling = curToNodeChild.co_;
166
+ curToNodeType = curToNodeChild.bZ_;
167
+ curToNodeKey = curToNodeChild.c__;
168
168
 
169
169
  // Skip <!doctype>
170
170
  if (curFromNodeChild && curFromNodeChild.nodeType === DOCTYPE_NODE) {
171
171
  curFromNodeChild = nextSibling(curFromNodeChild);
172
172
  }
173
173
 
174
- var ownerComponent = curToNodeChild._M_ || parentComponent;
174
+ var ownerComponent = curToNodeChild._N_ || parentComponent;
175
175
  var referenceComponent;
176
176
 
177
177
  if (curToNodeType === COMPONENT_NODE) {
@@ -182,7 +182,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
182
182
  {
183
183
  if (isHydrate) {
184
184
  var rootNode = beginFragmentNode(curFromNodeChild, fromNode);
185
- component._E_ = rootNode;
185
+ component._F_ = rootNode;
186
186
  componentByDOMNode.set(rootNode, component);
187
187
 
188
188
  if (ownerComponent && curToNodeKey) {
@@ -215,7 +215,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
215
215
  );
216
216
  }
217
217
  } else {
218
- if (matchingFromComponent._E_ !== curFromNodeChild) {
218
+ if (matchingFromComponent._F_ !== curFromNodeChild) {
219
219
  if (
220
220
  curFromNodeChild && (
221
221
  fromComponent = componentByDOMNode.get(curFromNodeChild)) &&
@@ -225,7 +225,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
225
225
  {
226
226
  // The component associated with the current real DOM node was not rendered
227
227
  // so we should just remove it out of the real DOM by destroying it
228
- curFromNodeChild = nextSibling(fromComponent._E_);
228
+ curFromNodeChild = nextSibling(fromComponent._F_);
229
229
  destroyComponent(fromComponent);
230
230
  continue;
231
231
  }
@@ -233,7 +233,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
233
233
  // We need to move the existing component into
234
234
  // the correct location
235
235
  insertBefore(
236
- matchingFromComponent._E_,
236
+ matchingFromComponent._F_,
237
237
  curFromNodeChild,
238
238
  fromNode
239
239
  );
@@ -242,7 +242,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
242
242
  curFromNodeChild && nextSibling(curFromNodeChild);
243
243
  }
244
244
 
245
- if (!curToNodeChild.ad_) {
245
+ if (!curToNodeChild.ae_) {
246
246
  morphComponent(component, curToNodeChild);
247
247
  }
248
248
  }
@@ -267,7 +267,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
267
267
  // up elements
268
268
  curToNodeKey = (
269
269
  keySequences[referenceComponent.id] || (
270
- keySequences[referenceComponent.id] = new KeySequence())).aN_(
270
+ keySequences[referenceComponent.id] = new KeySequence())).aO_(
271
271
  curToNodeKey);
272
272
 
273
273
  if (curFromNodeChild) {
@@ -278,12 +278,12 @@ function morphdom(fromNode, toNode, host, componentsContext) {
278
278
 
279
279
  if (curFromNodeKey === curToNodeKey) {
280
280
  // Elements line up. Now we just have to make sure they are compatible
281
- if (!curToNodeChild.ad_) {
281
+ if (!curToNodeChild.ae_) {
282
282
  // We just skip over the fromNode if it is preserved
283
283
 
284
284
  if (
285
285
  curVFromNodeChild &&
286
- curToNodeType === curVFromNodeChild.bY_ && (
286
+ curToNodeType === curVFromNodeChild.bZ_ && (
287
287
  curToNodeType !== ELEMENT_NODE ||
288
288
  compareNodeNames(curToNodeChild, curVFromNodeChild)))
289
289
  {
@@ -325,19 +325,19 @@ function morphdom(fromNode, toNode, host, componentsContext) {
325
325
  if (isHydrate && curFromNodeChild) {
326
326
  if (
327
327
  curFromNodeChild.nodeType === ELEMENT_NODE && (
328
- curToNodeChild.ad_ ||
328
+ curToNodeChild.ae_ ||
329
329
  caseInsensitiveCompare(
330
330
  curFromNodeChild.nodeName,
331
- curToNodeChild.ce_ || ""
331
+ curToNodeChild.cf_ || ""
332
332
  )))
333
333
  {
334
334
  curVFromNodeChild = virtualizeElement(curFromNodeChild);
335
- curVFromNodeChild.ce_ = curToNodeChild.ce_;
335
+ curVFromNodeChild.cf_ = curToNodeChild.cf_;
336
336
  keysByDOMNode.set(curFromNodeChild, curToNodeKey);
337
337
  referenceComponent.K_[curToNodeKey] =
338
338
  curFromNodeChild;
339
339
 
340
- if (curToNodeChild.ad_) {
340
+ if (curToNodeChild.ae_) {
341
341
  vElementByDOMNode.set(curFromNodeChild, curVFromNodeChild);
342
342
  } else {
343
343
  morphEl(
@@ -352,7 +352,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
352
352
  curFromNodeChild = fromNextSibling;
353
353
  continue;
354
354
  } else if (
355
- curToNodeChild.bY_ === FRAGMENT_NODE &&
355
+ curToNodeChild.bZ_ === FRAGMENT_NODE &&
356
356
  curFromNodeChild.nodeType === COMMENT_NODE)
357
357
  {
358
358
  var content = curFromNodeChild.nodeValue;
@@ -388,7 +388,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
388
388
  removeChild(curFromNodeChild);
389
389
  removeChild(endNode);
390
390
 
391
- if (!curToNodeChild.ad_) {
391
+ if (!curToNodeChild.ae_) {
392
392
  morphChildren(fragment, curToNodeChild, parentComponent);
393
393
  }
394
394
 
@@ -413,12 +413,12 @@ function morphdom(fromNode, toNode, host, componentsContext) {
413
413
  detachedByDOMNode.set(matchingFromEl, undefined);
414
414
  }
415
415
 
416
- if (!curToNodeChild.ad_) {
416
+ if (!curToNodeChild.ae_) {
417
417
  curVFromNodeChild = vElementByDOMNode.get(matchingFromEl);
418
418
 
419
419
  if (
420
420
  curVFromNodeChild &&
421
- curToNodeType === curVFromNodeChild.bY_ && (
421
+ curToNodeType === curVFromNodeChild.bZ_ && (
422
422
  curToNodeType !== ELEMENT_NODE ||
423
423
  compareNodeNames(curVFromNodeChild, curToNodeChild)))
424
424
  {
@@ -436,7 +436,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
436
436
 
437
437
  if (
438
438
  toNextSibling &&
439
- toNextSibling.bZ_ === curFromNodeKey)
439
+ toNextSibling.c__ === curFromNodeKey)
440
440
  {
441
441
  // Single element swap
442
442
 
@@ -549,18 +549,18 @@ function morphdom(fromNode, toNode, host, componentsContext) {
549
549
 
550
550
  if (
551
551
  caseInsensitiveCompare(
552
- curVFromNodeChild.ce_,
553
- curToNodeChild.ce_
552
+ curVFromNodeChild.cf_,
553
+ curToNodeChild.cf_
554
554
  ))
555
555
  {
556
- curVFromNodeChild.ce_ = curToNodeChild.ce_;
556
+ curVFromNodeChild.cf_ = curToNodeChild.cf_;
557
557
  }
558
558
  } else {
559
559
  // Skip over nodes that don't look like ours...
560
560
  curFromNodeChild = fromNextSibling;
561
561
  continue;
562
562
  }
563
- } else if (curFromNodeKey = curVFromNodeChild.bZ_) {
563
+ } else if (curFromNodeKey = curVFromNodeChild.c__) {
564
564
  // We have a keyed element here but our target VDOM node
565
565
  // is not keyed so this not doesn't belong
566
566
  isCompatible = false;
@@ -587,18 +587,18 @@ function morphdom(fromNode, toNode, host, componentsContext) {
587
587
  {
588
588
  // Both nodes being compared are Text or Comment nodes
589
589
  isCompatible = true;
590
- var curToNodeValue = curToNodeChild.bX_;
590
+ var curToNodeValue = curToNodeChild.bY_;
591
591
  var curFromNodeValue = curFromNodeChild.nodeValue;
592
592
  if (curFromNodeValue !== curToNodeValue) {
593
593
  if (
594
594
  isHydrate &&
595
595
  toNextSibling &&
596
596
  curFromNodeType === TEXT_NODE &&
597
- toNextSibling.bY_ === TEXT_NODE &&
597
+ toNextSibling.bZ_ === TEXT_NODE &&
598
598
  curFromNodeValue.startsWith(curToNodeValue) &&
599
599
  curFromNodeValue.
600
600
  slice(curToNodeValue.length).
601
- startsWith(toNextSibling.bX_))
601
+ startsWith(toNextSibling.bY_))
602
602
  {
603
603
  // In hydrate mode we can use splitText to more efficiently handle
604
604
  // adjacent text vdom nodes that were merged.
@@ -643,10 +643,10 @@ function morphdom(fromNode, toNode, host, componentsContext) {
643
643
  }
644
644
 
645
645
  // We have processed all of the "to nodes".
646
- if (fromNode.cq_) {
646
+ if (fromNode.cr_) {
647
647
  // If we are in an unfinished fragment, we have reached the end of the nodes
648
648
  // we were matching up and need to end the fragment
649
- fromNode.cq_(curFromNodeChild);
649
+ fromNode.cr_(curFromNodeChild);
650
650
  } else {
651
651
  // If curFromNodeChild is non-null then we still have some from nodes
652
652
  // left over that need to be removed
@@ -675,7 +675,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
675
675
  referenceComponent = parentComponent;
676
676
  } else {
677
677
  referenceComponent =
678
- curVFromNodeChild && curVFromNodeChild._M_;
678
+ curVFromNodeChild && curVFromNodeChild._N_;
679
679
  }
680
680
 
681
681
  detachNode(curFromNodeChild, fromNode, referenceComponent);
@@ -686,26 +686,26 @@ function morphdom(fromNode, toNode, host, componentsContext) {
686
686
  }
687
687
 
688
688
  function morphEl(fromEl, vFromEl, toEl, parentComponent) {
689
- var nodeName = toEl.ce_;
690
- var constId = toEl.cg_;
689
+ var nodeName = toEl.cf_;
690
+ var constId = toEl.ch_;
691
691
  vElementByDOMNode.set(fromEl, toEl);
692
692
 
693
- if (constId !== undefined && vFromEl.cg_ === constId) {
693
+ if (constId !== undefined && vFromEl.ch_ === constId) {
694
694
  return;
695
695
  }
696
696
 
697
697
  morphAttrs(fromEl, vFromEl, toEl);
698
698
 
699
- if (toEl.ac_) {
699
+ if (toEl.ad_) {
700
700
  return;
701
701
  }
702
702
 
703
703
  if (isTextOnly(nodeName)) {
704
- if (toEl.cf_ !== vFromEl.cf_) {
704
+ if (toEl.cg_ !== vFromEl.cg_) {
705
705
  if (nodeName === "textarea") {
706
- fromEl.value = toEl.cf_;
706
+ fromEl.value = toEl.cg_;
707
707
  } else {
708
- fromEl.textContent = toEl.cf_;
708
+ fromEl.textContent = toEl.cg_;
709
709
  }
710
710
  }
711
711
  } else {
@@ -730,7 +730,7 @@ function morphdom(fromNode, toNode, host, componentsContext) {
730
730
  detachedFromComponent !== true && detachedFromComponent
731
731
  );
732
732
 
733
- if (eventDelegation.an_(node) != false) {
733
+ if (eventDelegation.ao_(node) != false) {
734
734
  removeChild(node);
735
735
  }
736
736
  }