marko 5.25.10 → 5.25.12-next.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/{runtime/components/beginComponent → node_modules/@internal/components-beginComponent}/index-browser.js +3 -3
  3. package/dist/{runtime/components/beginComponent → node_modules/@internal/components-beginComponent}/index.js +8 -8
  4. package/dist/{runtime/components/endComponent → node_modules/@internal/components-endComponent}/index.js +3 -3
  5. package/dist/node_modules/@internal/components-entry/index-browser.js +9 -0
  6. package/dist/{runtime/components/entry → node_modules/@internal/components-entry}/index.js +14 -14
  7. package/dist/{runtime/components/registry → node_modules/@internal/components-registry}/index-browser.js +42 -42
  8. package/dist/{runtime/components/registry → node_modules/@internal/components-registry}/index.js +3 -3
  9. package/dist/{runtime/components/util → node_modules/@internal/components-util}/index-browser.js +18 -18
  10. package/dist/{runtime/components/util → node_modules/@internal/components-util}/index.js +9 -9
  11. package/dist/{runtime/html → node_modules/@internal}/create-readable/index-browser.js +1 -1
  12. package/dist/{runtime/html → node_modules/@internal}/create-readable/index.js +9 -9
  13. package/dist/{loader → node_modules/@internal/loader}/index.js +1 -1
  14. package/dist/{runtime/setImmediate → node_modules/@internal/set-immediate}/index-browser.js +1 -1
  15. package/dist/node_modules/@internal/set-immediate/index-worker.js +2 -0
  16. package/dist/node_modules/@internal/set-immediate/index.js +2 -0
  17. package/dist/runtime/RenderResult.js +7 -7
  18. package/dist/runtime/components/Component.js +136 -136
  19. package/dist/runtime/components/ComponentDef.js +26 -26
  20. package/dist/runtime/components/ComponentsContext.js +8 -8
  21. package/dist/runtime/components/GlobalComponentsContext.js +4 -4
  22. package/dist/runtime/components/KeySequence.js +3 -3
  23. package/dist/runtime/components/ServerComponent.js +12 -12
  24. package/dist/runtime/components/State.js +27 -27
  25. package/dist/runtime/components/attach-detach.js +9 -9
  26. package/dist/runtime/components/defineComponent.js +5 -5
  27. package/dist/runtime/components/dom-data.js +6 -6
  28. package/dist/runtime/components/event-delegation.js +11 -11
  29. package/dist/runtime/components/index.js +1 -1
  30. package/dist/runtime/components/registry.js +1 -0
  31. package/dist/runtime/components/renderer.js +30 -30
  32. package/dist/runtime/components/update-manager.js +10 -10
  33. package/dist/runtime/createOut.js +1 -1
  34. package/dist/runtime/dom-insert.js +6 -6
  35. package/dist/runtime/helpers/_change-case.js +2 -2
  36. package/dist/runtime/helpers/dynamic-tag.js +7 -7
  37. package/dist/runtime/helpers/style-value.js +1 -1
  38. package/dist/runtime/html/AsyncStream.js +20 -20
  39. package/dist/runtime/html/BufferedWriter.js +3 -3
  40. package/dist/runtime/html/helpers/data-marko.js +3 -3
  41. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  42. package/dist/runtime/html/index.js +2 -2
  43. package/dist/runtime/renderable.js +5 -5
  44. package/dist/runtime/vdom/AsyncVDOMBuilder.js +28 -28
  45. package/dist/runtime/vdom/VDocumentFragment.js +1 -1
  46. package/dist/runtime/vdom/VElement.js +12 -12
  47. package/dist/runtime/vdom/VFragment.js +3 -3
  48. package/dist/runtime/vdom/VNode.js +4 -4
  49. package/dist/runtime/vdom/hot-reload.js +18 -18
  50. package/dist/runtime/vdom/index.js +1 -1
  51. package/dist/runtime/vdom/morphdom/fragment.js +2 -2
  52. package/dist/runtime/vdom/morphdom/helpers.js +4 -4
  53. package/dist/runtime/vdom/morphdom/index.js +29 -29
  54. package/dist/runtime/vdom/morphdom/specialElHandlers.js +1 -1
  55. package/package.json +3 -3
  56. package/src/index.js +1 -1
  57. package/src/{runtime/components/beginComponent → node_modules/@internal/components-beginComponent}/index-browser.js +1 -1
  58. package/src/{runtime/components/beginComponent → node_modules/@internal/components-beginComponent}/index.js +1 -1
  59. package/src/{runtime/components/endComponent → node_modules/@internal/components-endComponent}/index.js +1 -1
  60. package/src/{runtime/components/entry → node_modules/@internal/components-entry}/index-browser.js +2 -2
  61. package/src/{runtime/components/registry → node_modules/@internal/components-registry}/index-browser.js +8 -8
  62. package/src/{runtime/components/registry → node_modules/@internal/components-registry}/index.js +1 -1
  63. package/src/{runtime/components/util → node_modules/@internal/components-util}/index-browser.js +1 -1
  64. package/src/{loader → node_modules/@internal/loader}/index.js +1 -1
  65. package/src/runtime/components/Component.js +1 -1
  66. package/src/runtime/components/ComponentDef.js +1 -1
  67. package/src/runtime/components/GlobalComponentsContext.js +1 -1
  68. package/src/runtime/components/attach-detach.js +1 -1
  69. package/src/runtime/components/event-delegation.js +1 -1
  70. package/src/runtime/components/index.js +1 -1
  71. package/src/runtime/components/registry.js +1 -0
  72. package/src/runtime/components/renderer.js +4 -4
  73. package/src/runtime/components/update-manager.js +1 -1
  74. package/src/runtime/dom-insert.js +1 -1
  75. package/src/runtime/html/BufferedWriter.js +1 -1
  76. package/src/runtime/html/index.js +1 -1
  77. package/src/runtime/renderable.js +1 -1
  78. package/src/runtime/vdom/VElement.js +1 -1
  79. package/src/runtime/vdom/hot-reload.js +2 -2
  80. package/src/runtime/vdom/morphdom/index.js +1 -1
  81. package/tags-html.d.ts +24 -10
  82. package/dist/runtime/components/entry/index-browser.js +0 -9
  83. package/dist/runtime/setImmediate/index-worker.js +0 -2
  84. package/dist/runtime/setImmediate/index.js +0 -2
  85. /package/dist/{runtime/components/beginComponent → node_modules/@internal/components-beginComponent}/package.json +0 -0
  86. /package/dist/{runtime/components/endComponent → node_modules/@internal/components-endComponent}/index-browser.js +0 -0
  87. /package/dist/{runtime/components/endComponent → node_modules/@internal/components-endComponent}/package.json +0 -0
  88. /package/dist/{runtime/components/entry → node_modules/@internal/components-entry}/package.json +0 -0
  89. /package/dist/{runtime/components/registry → node_modules/@internal/components-registry}/package.json +0 -0
  90. /package/dist/{runtime/components/util → node_modules/@internal/components-util}/package.json +0 -0
  91. /package/dist/{runtime/html → node_modules/@internal}/create-readable/package.json +0 -0
  92. /package/dist/{loader → node_modules/@internal/loader}/index-browser.js +0 -0
  93. /package/dist/{loader → node_modules/@internal/loader}/package.json +0 -0
  94. /package/dist/{runtime/setImmediate → node_modules/@internal/set-immediate}/package.json +0 -0
  95. /package/src/{runtime/components/beginComponent → node_modules/@internal/components-beginComponent}/package.json +0 -0
  96. /package/src/{runtime/components/endComponent → node_modules/@internal/components-endComponent}/index-browser.js +0 -0
  97. /package/src/{runtime/components/endComponent → node_modules/@internal/components-endComponent}/package.json +0 -0
  98. /package/src/{runtime/components/entry → node_modules/@internal/components-entry}/index.js +0 -0
  99. /package/src/{runtime/components/entry → node_modules/@internal/components-entry}/package.json +0 -0
  100. /package/src/{runtime/components/registry → node_modules/@internal/components-registry}/package.json +0 -0
  101. /package/src/{runtime/components/util → node_modules/@internal/components-util}/index.js +0 -0
  102. /package/src/{runtime/components/util → node_modules/@internal/components-util}/package.json +0 -0
  103. /package/src/{runtime/html → node_modules/@internal}/create-readable/index-browser.js +0 -0
  104. /package/src/{runtime/html → node_modules/@internal}/create-readable/index.js +0 -0
  105. /package/src/{runtime/html → node_modules/@internal}/create-readable/package.json +0 -0
  106. /package/src/{loader → node_modules/@internal/loader}/index-browser.js +0 -0
  107. /package/src/{loader → node_modules/@internal/loader}/package.json +0 -0
  108. /package/src/{runtime/setImmediate → node_modules/@internal/set-immediate}/index-browser.js +0 -0
  109. /package/src/{runtime/setImmediate → node_modules/@internal/set-immediate}/index-worker.js +0 -0
  110. /package/src/{runtime/setImmediate → node_modules/@internal/set-immediate}/index.js +0 -0
  111. /package/src/{runtime/setImmediate → node_modules/@internal/set-immediate}/package.json +0 -0
@@ -37,7 +37,7 @@ customEvents)
37
37
  var component = componentDef && componentDef.i_;
38
38
  if (typeof tag === "string") {
39
39
  if (renderBody) {
40
- out.aJ_(
40
+ out.aO_(
41
41
  tag,
42
42
  attrs,
43
43
  key,
@@ -45,9 +45,9 @@ customEvents)
45
45
  addEvents(componentDef, customEvents, props));
46
46
 
47
47
  renderBody(out);
48
- out.aK_();
48
+ out.aP_();
49
49
  } else {
50
- out.aL_(
50
+ out.aQ_(
51
51
  tag,
52
52
  attrs,
53
53
  key,
@@ -97,7 +97,7 @@ customEvents)
97
97
 
98
98
 
99
99
  if (isFn) {
100
- var flags = componentDef ? componentDef._J_ : 0;
100
+ var flags = componentDef ? componentDef.C_ : 0;
101
101
  var willRerender = flags & FLAG_WILL_RERENDER_IN_BROWSER;
102
102
  var isW10NOOP = render === w10NOOP;
103
103
  var preserve = IS_SERVER ? willRerender : isW10NOOP;
@@ -108,7 +108,7 @@ customEvents)
108
108
  var globalContext = componentsContext.f_;
109
109
  componentsContext.k_ = new ComponentDef(
110
110
  component,
111
- parentComponentDef.id + "-" + parentComponentDef._M_(key),
111
+ parentComponentDef.id + "-" + parentComponentDef.av_(key),
112
112
  globalContext);
113
113
 
114
114
  render.toJSON = RENDER_BODY_TO_JSON;
@@ -133,7 +133,7 @@ customEvents)
133
133
  component,
134
134
  IS_SERVER &&
135
135
  componentDef &&
136
- componentDef._J_ & FLAG_WILL_RERENDER_IN_BROWSER);
136
+ componentDef.C_ & FLAG_WILL_RERENDER_IN_BROWSER);
137
137
 
138
138
  renderBody(out);
139
139
  out.ef();
@@ -144,7 +144,7 @@ function attrsToCamelCase(attrs) {
144
144
  var result = {};
145
145
 
146
146
  for (var key in attrs) {
147
- result[changeCase.aI_(key)] = attrs[key];
147
+ result[changeCase.aN_(key)] = attrs[key];
148
148
  }
149
149
 
150
150
  return result;
@@ -28,7 +28,7 @@ module.exports = function styleHelper(style) {
28
28
  value += "px";
29
29
  }
30
30
 
31
- styles += changeCase.aH_(name) + ":" + value + ";";
31
+ styles += changeCase.aM_(name) + ":" + value + ";";
32
32
  }
33
33
  }
34
34
  }
@@ -8,7 +8,7 @@ var markoAttr = require("./helpers/data-marko");
8
8
  var escapeXmlHelper = require("./helpers/escape-xml");
9
9
  var parseHTML = require("../vdom/parse-html");
10
10
  var escapeXmlOrNullish = escapeXmlHelper.x;
11
- var escapeXmlString = escapeXmlHelper.aM_;
11
+ var escapeXmlString = escapeXmlHelper.aR_;
12
12
  var selfClosingTags = require("self-closing-tags");
13
13
 
14
14
  function noop() {}
@@ -93,8 +93,8 @@ function AsyncStream(global, writer, parentOut) {
93
93
 
94
94
  this.h_ = null;
95
95
  this.j_ = null;
96
- this.av_ = null;
97
- this.aN_ = false;
96
+ this.aF_ = null;
97
+ this.aS_ = false;
98
98
  }
99
99
 
100
100
  AsyncStream.DEFAULT_TIMEOUT = 10000;
@@ -114,8 +114,8 @@ AsyncStream.enableAsyncStackTrace = function () {
114
114
 
115
115
  var proto = AsyncStream.prototype = {
116
116
  constructor: AsyncStream,
117
- Y_: typeof document === "object" && document,
118
- aO_: true,
117
+ _b_: typeof document === "object" && document,
118
+ aT_: true,
119
119
 
120
120
  sync: function () {
121
121
  this._sync = true;
@@ -139,7 +139,7 @@ var proto = AsyncStream.prototype = {
139
139
  return this;
140
140
  },
141
141
 
142
- C_: function () {
142
+ _M_: function () {
143
143
  return this._state.writer.toString();
144
144
  },
145
145
 
@@ -147,14 +147,14 @@ var proto = AsyncStream.prototype = {
147
147
  * Legacy...
148
148
  */
149
149
  getOutput: function () {
150
- return this.C_();
150
+ return this._M_();
151
151
  },
152
152
 
153
153
  toString: function () {
154
154
  return this._state.writer.toString();
155
155
  },
156
156
 
157
- aP_: function () {
157
+ aU_: function () {
158
158
  this._result = this._result || new RenderResult(this);
159
159
  return this._result;
160
160
  },
@@ -205,7 +205,7 @@ var proto = AsyncStream.prototype = {
205
205
  }
206
206
 
207
207
  this._lastCount++;
208
- newStream.aN_ = true;
208
+ newStream.aS_ = true;
209
209
  }
210
210
 
211
211
  name = options.name;
@@ -249,7 +249,7 @@ var proto = AsyncStream.prototype = {
249
249
  if (state.writer.end) {
250
250
  state.writer.end();
251
251
  } else {
252
- state.events.emit("finish", this.aP_());
252
+ state.events.emit("finish", this.aU_());
253
253
  }
254
254
  },
255
255
 
@@ -321,7 +321,7 @@ var proto = AsyncStream.prototype = {
321
321
  parentOut._handleChildDone(this);
322
322
  }
323
323
  } else {
324
- if (childOut.aN_) {
324
+ if (childOut.aS_) {
325
325
  this._lastCount--;
326
326
  }
327
327
 
@@ -362,7 +362,7 @@ var proto = AsyncStream.prototype = {
362
362
  var state = this._state;
363
363
 
364
364
  if (event === "finish" && state.finished === true) {
365
- callback(this.aP_());
365
+ callback(this.aU_());
366
366
  } else if (event === "last") {
367
367
  this.onLast(callback);
368
368
  } else {
@@ -376,7 +376,7 @@ var proto = AsyncStream.prototype = {
376
376
  var state = this._state;
377
377
 
378
378
  if (event === "finish" && state.finished === true) {
379
- callback(this.aP_());
379
+ callback(this.aU_());
380
380
  } else if (event === "last") {
381
381
  this.onLast(callback);
382
382
  } else {
@@ -501,7 +501,7 @@ var proto = AsyncStream.prototype = {
501
501
  return newOut;
502
502
  },
503
503
 
504
- aL_: function (
504
+ aQ_: function (
505
505
  tagName,
506
506
  elementAttrs,
507
507
  key,
@@ -535,7 +535,7 @@ var proto = AsyncStream.prototype = {
535
535
  this.write(str);
536
536
  },
537
537
 
538
- aJ_: function (
538
+ aO_: function (
539
539
  name,
540
540
  elementAttrs,
541
541
  key,
@@ -601,14 +601,14 @@ var proto = AsyncStream.prototype = {
601
601
  }
602
602
  },
603
603
 
604
- B_: function (host) {
604
+ _L_: function (host) {
605
605
  var node = this._node;
606
606
 
607
607
  if (!node) {
608
608
  var nextEl;
609
609
  var fragment;
610
- var html = this.C_();
611
- if (!host) host = this.Y_;
610
+ var html = this._M_();
611
+ if (!host) host = this._b_;
612
612
  var doc = host.ownerDocument || host;
613
613
 
614
614
  if (html) {
@@ -652,13 +652,13 @@ var proto = AsyncStream.prototype = {
652
652
  c: function (componentDef, key, customEvents) {
653
653
  this.h_ = componentDef;
654
654
  this.j_ = key;
655
- this.av_ = customEvents;
655
+ this.aF_ = customEvents;
656
656
  }
657
657
  };
658
658
 
659
659
  // alias:
660
660
  proto.w = proto.write;
661
- proto.aK_ = proto.endElement;
661
+ proto.aP_ = proto.endElement;
662
662
 
663
663
  module.exports = AsyncStream;
664
664
 
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
- const immediate = require("../setImmediate");
4
- const setImmediate = immediate.ax_;
5
- const clearImmediate = immediate.aQ_;
3
+ const immediate = require("@internal/set-immediate");
4
+ const setImmediate = immediate._I_;
5
+ const clearImmediate = immediate._J_;
6
6
  const StringWriter = require("./StringWriter");
7
7
 
8
8
  /**
@@ -10,8 +10,8 @@ module.exports = function dataMarko(out, componentDef, props, key) {
10
10
  var result = "";
11
11
  var willNotRerender =
12
12
  out.b_.p_ ||
13
- componentDef._I_ &&
14
- (componentDef._J_ & FLAG_WILL_RERENDER_IN_BROWSER) === 0;
13
+ componentDef.B_ &&
14
+ (componentDef.C_ & FLAG_WILL_RERENDER_IN_BROWSER) === 0;
15
15
 
16
16
  if (willNotRerender) {
17
17
  if (props) {
@@ -27,7 +27,7 @@ module.exports = function dataMarko(out, componentDef, props, key) {
27
27
  result +=
28
28
  ' data-marko-key="' +
29
29
  escapeDoubleQuotes(
30
- componentDef._M_(key) + " " + componentDef.id) +
30
+ componentDef.av_(key) + " " + componentDef.id) +
31
31
 
32
32
  '"';
33
33
  }
@@ -12,7 +12,7 @@ module.exports.x = function (value) {
12
12
  return escapeXML(value + "");
13
13
  };
14
14
 
15
- exports.aM_ = escapeXML;
15
+ exports.aR_ = escapeXML;
16
16
 
17
17
  function escapeXML(str) {
18
18
  var len = str.length;
@@ -18,10 +18,10 @@ function Template(typeName) {
18
18
  this.aY_ = typeName;
19
19
  }
20
20
 
21
- Template.prototype.stream = require("./create-readable");
21
+ Template.prototype.stream = require("@internal/create-readable");
22
22
 
23
23
  var AsyncStream = require("./AsyncStream");
24
- require("../createOut").aD_(
24
+ require("../createOut").aI_(
25
25
  Template.prototype.createOut = function createOut(
26
26
  globalData,
27
27
  writer,
@@ -1,5 +1,5 @@
1
1
  "use strict";var defaultCreateOut = require("./createOut");
2
- var setImmediate = require("./setImmediate").ax_;
2
+ var setImmediate = require("@internal/set-immediate")._I_;
3
3
  var extend = require("raptor-util/extend");
4
4
 
5
5
  function safeRender(renderFunc, finalData, finalOut, shouldEnd) {
@@ -70,7 +70,7 @@ module.exports = function (target, renderer) {
70
70
  }
71
71
 
72
72
  render(localData, out);
73
- return out.aP_();
73
+ return out.aU_();
74
74
  },
75
75
 
76
76
  /**
@@ -96,7 +96,7 @@ module.exports = function (target, renderer) {
96
96
  var finalData;
97
97
  var globalData;
98
98
  var render = renderFunc || this._;
99
- var shouldBuffer = this.aR_;
99
+ var shouldBuffer = this._E_;
100
100
  var shouldEnd = true;
101
101
 
102
102
  if (data) {
@@ -108,7 +108,7 @@ module.exports = function (target, renderer) {
108
108
  finalData = {};
109
109
  }
110
110
 
111
- if (out && out.aO_) {
111
+ if (out && out.aT_) {
112
112
  finalOut = out;
113
113
  shouldEnd = false;
114
114
  extend(out.global, globalData);
@@ -127,7 +127,7 @@ module.exports = function (target, renderer) {
127
127
  if (callback) {
128
128
  finalOut.
129
129
  on("finish", function () {
130
- callback(null, finalOut.aP_());
130
+ callback(null, finalOut.aU_());
131
131
  }).
132
132
  once("error", callback);
133
133
  }
@@ -27,7 +27,7 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
27
27
  var state;
28
28
 
29
29
  if (parentOut) {
30
- state = parentOut.K_;
30
+ state = parentOut.J_;
31
31
  } else {
32
32
  state = new State(parentNode);
33
33
  }
@@ -38,7 +38,7 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
38
38
  this.bk_ = parentOut;
39
39
 
40
40
  this.data = {};
41
- this.K_ = state;
41
+ this.J_ = state;
42
42
  this.m_ = parentNode;
43
43
  this.global = globalData || {};
44
44
  this.bl_ = [parentNode];
@@ -48,19 +48,19 @@ function AsyncVDOMBuilder(globalData, parentNode, parentOut) {
48
48
 
49
49
  this.h_ = null;
50
50
  this.j_ = null;
51
- this.av_ = null;
51
+ this.aF_ = null;
52
52
  }
53
53
 
54
54
  var proto = AsyncVDOMBuilder.prototype = {
55
- aO_: true,
56
- Y_: typeof document === "object" && document,
55
+ aT_: true,
56
+ _b_: typeof document === "object" && document,
57
57
 
58
58
  bc: function (component, key, ownerComponent) {
59
59
  var vComponent = new VComponent(component, key, ownerComponent);
60
60
  return this.bo_(vComponent, 0, true);
61
61
  },
62
62
 
63
- aw_: function (component, key, ownerComponent) {
63
+ aG_: function (component, key, ownerComponent) {
64
64
  var vComponent = new VComponent(component, key, ownerComponent, true);
65
65
  this.bo_(vComponent, 0);
66
66
  },
@@ -87,7 +87,7 @@ var proto = AsyncVDOMBuilder.prototype = {
87
87
  return this.bo_(element, childCount);
88
88
  },
89
89
 
90
- aL_: function (tagName, attrs, key, componentDef, props) {
90
+ aQ_: function (tagName, attrs, key, componentDef, props) {
91
91
  return this.element(
92
92
  tagName,
93
93
  attrsHelper(attrs),
@@ -104,7 +104,7 @@ var proto = AsyncVDOMBuilder.prototype = {
104
104
  // and a node can only have one parent node.
105
105
  var clone = node.bq_();
106
106
  this.node(clone);
107
- clone.az_ = component;
107
+ clone._v_ = component;
108
108
 
109
109
  return this;
110
110
  },
@@ -164,7 +164,7 @@ var proto = AsyncVDOMBuilder.prototype = {
164
164
  return this;
165
165
  },
166
166
 
167
- aJ_: function (tagName, attrs, key, componentDef, props) {
167
+ aO_: function (tagName, attrs, key, componentDef, props) {
168
168
  return this.beginElement(
169
169
  tagName,
170
170
  attrsHelper(attrs),
@@ -227,9 +227,9 @@ var proto = AsyncVDOMBuilder.prototype = {
227
227
  },
228
228
 
229
229
  bs_: function () {
230
- var state = this.K_;
230
+ var state = this.J_;
231
231
  state.bg_ = true;
232
- state.be_.emit(EVENT_FINISH, this.aP_());
232
+ state.be_.emit(EVENT_FINISH, this.aU_());
233
233
  },
234
234
 
235
235
  bt_: function () {
@@ -273,7 +273,7 @@ var proto = AsyncVDOMBuilder.prototype = {
273
273
 
274
274
  }
275
275
 
276
- var state = this.K_;
276
+ var state = this.J_;
277
277
 
278
278
  if (options) {
279
279
  if (options.last) {
@@ -299,26 +299,26 @@ var proto = AsyncVDOMBuilder.prototype = {
299
299
  },
300
300
 
301
301
  flush: function () {
302
- var events = this.K_.be_;
302
+ var events = this.J_.be_;
303
303
 
304
304
  if (events.listenerCount(EVENT_UPDATE)) {
305
305
  events.emit(EVENT_UPDATE, new RenderResult(this));
306
306
  }
307
307
  },
308
308
 
309
- C_: function () {
310
- return this.K_.bf_;
309
+ _M_: function () {
310
+ return this.J_.bf_;
311
311
  },
312
312
 
313
- aP_: function () {
313
+ aU_: function () {
314
314
  return this.bv_ || (this.bv_ = new RenderResult(this));
315
315
  },
316
316
 
317
317
  on: function (event, callback) {
318
- var state = this.K_;
318
+ var state = this.J_;
319
319
 
320
320
  if (event === EVENT_FINISH && state.bg_) {
321
- callback(this.aP_());
321
+ callback(this.aU_());
322
322
  } else if (event === "last") {
323
323
  this.onLast(callback);
324
324
  } else {
@@ -329,10 +329,10 @@ var proto = AsyncVDOMBuilder.prototype = {
329
329
  },
330
330
 
331
331
  once: function (event, callback) {
332
- var state = this.K_;
332
+ var state = this.J_;
333
333
 
334
334
  if (event === EVENT_FINISH && state.bg_) {
335
- callback(this.aP_());
335
+ callback(this.aU_());
336
336
  } else if (event === "last") {
337
337
  this.onLast(callback);
338
338
  } else {
@@ -343,7 +343,7 @@ var proto = AsyncVDOMBuilder.prototype = {
343
343
  },
344
344
 
345
345
  emit: function (type, arg) {
346
- var events = this.K_.be_;
346
+ var events = this.J_.be_;
347
347
  switch (arguments.length) {
348
348
  case 1:
349
349
  events.emit(type);
@@ -359,7 +359,7 @@ var proto = AsyncVDOMBuilder.prototype = {
359
359
  },
360
360
 
361
361
  removeListener: function () {
362
- var events = this.K_.be_;
362
+ var events = this.J_.be_;
363
363
  events.removeListener.apply(events, arguments);
364
364
  return this;
365
365
  },
@@ -384,12 +384,12 @@ var proto = AsyncVDOMBuilder.prototype = {
384
384
  return this;
385
385
  },
386
386
 
387
- B_: function (host) {
387
+ _L_: function (host) {
388
388
  var node = this.bn_;
389
389
  if (!node) {
390
- var vdomTree = this.C_();
390
+ var vdomTree = this._M_();
391
391
 
392
- if (!host) host = this.Y_;
392
+ if (!host) host = this._b_;
393
393
  this.bn_ = node = vdomTree.bw_(host, null);
394
394
  morphdom(node, vdomTree, host, this.b_);
395
395
  }
@@ -397,7 +397,7 @@ var proto = AsyncVDOMBuilder.prototype = {
397
397
  },
398
398
 
399
399
  toString: function (host) {
400
- var docFragment = this.B_(host);
400
+ var docFragment = this._L_(host);
401
401
  var html = "";
402
402
 
403
403
  var child = docFragment.firstChild;
@@ -437,13 +437,13 @@ var proto = AsyncVDOMBuilder.prototype = {
437
437
  c: function (componentDef, key, customEvents) {
438
438
  this.h_ = componentDef;
439
439
  this.j_ = key;
440
- this.av_ = customEvents;
440
+ this.aF_ = customEvents;
441
441
  }
442
442
  };
443
443
 
444
444
  proto.e = proto.element;
445
445
  proto.be = proto.beginElement;
446
- proto.ee = proto.aK_ = proto.endElement;
446
+ proto.ee = proto.aP_ = proto.endElement;
447
447
  proto.t = proto.text;
448
448
  proto.h = proto.w = proto.write = proto.html;
449
449
 
@@ -10,7 +10,7 @@ function VDocumentFragmentClone(other) {
10
10
 
11
11
  function VDocumentFragment(out) {
12
12
  this.bx_(null /* childCount */);
13
- this.z_ = out;
13
+ this.A_ = out;
14
14
  }
15
15
 
16
16
  VDocumentFragment.prototype = {
@@ -1,8 +1,8 @@
1
1
  "use strict"; /* jshint newcap:false */
2
2
 
3
3
  var domData = require("../components/dom-data");
4
- var componentsUtil = require("../components/util");
5
- var vElementByDOMNode = domData.af_;
4
+ var componentsUtil = require("@internal/components-util");
5
+ var vElementByDOMNode = domData._t_;
6
6
  var VNode = require("./VNode");
7
7
  var inherit = require("raptor-util/inherit");
8
8
  var ATTR_XLINK_HREF = "xlink:href";
@@ -69,9 +69,9 @@ function VElementClone(other) {
69
69
 
70
70
  this.by_ = other.by_;
71
71
  this.bE_ = other.bE_;
72
- this.aA_ = other.aA_;
72
+ this._x_ = other._x_;
73
73
  this.bF_ = other.bF_;
74
- this._J_ = other._J_;
74
+ this.C_ = other.C_;
75
75
  this.bG_ = other.bG_;
76
76
  this.bH_ = other.bH_;
77
77
  }
@@ -94,9 +94,9 @@ props)
94
94
  }
95
95
 
96
96
  this.by_ = key;
97
- this._J_ = flags || 0;
97
+ this.C_ = flags || 0;
98
98
  this.bE_ = attrs || EMPTY_OBJECT;
99
- this.aA_ = props || EMPTY_OBJECT;
99
+ this._x_ = props || EMPTY_OBJECT;
100
100
  this.bF_ = tagName;
101
101
  this.bG_ = null;
102
102
  this.bH_ = constId;
@@ -146,7 +146,7 @@ VElement.prototype = {
146
146
  */
147
147
  n: function (node, ownerComponent) {
148
148
  node = node.bq_();
149
- node.az_ = ownerComponent;
149
+ node._v_ = ownerComponent;
150
150
  this.bp_(node);
151
151
  return this.bI_();
152
152
  },
@@ -156,7 +156,7 @@ VElement.prototype = {
156
156
  var attributes = this.bE_;
157
157
  var namespaceURI = DEFAULT_NS[tagName] || parentNamespaceURI || NS_HTML;
158
158
 
159
- var flags = this._J_;
159
+ var flags = this.C_;
160
160
  var el = (host.ownerDocument || host).createElementNS(
161
161
  namespaceURI,
162
162
  tagName);
@@ -254,7 +254,7 @@ function virtualizeElement(node, virtualizeChildNodes, ownerComponent) {
254
254
  var attrName = attr.name;
255
255
  if (!xmlnsRegExp.test(attrName)) {
256
256
  if (attrName === "data-marko") {
257
- props = componentsUtil.an_(node);
257
+ props = componentsUtil.Z_(node);
258
258
  } else if (attr.namespaceURI === NS_XLINK) {
259
259
  attrs[ATTR_XLINK_HREF] = attr.value;
260
260
  } else {
@@ -294,13 +294,13 @@ VElement.bL_ = virtualizeElement;
294
294
  VElement.bM_ = function (fromEl, vFromEl, toEl) {
295
295
  var removePreservedAttributes = VElement.bK_;
296
296
 
297
- var fromFlags = vFromEl._J_;
298
- var toFlags = toEl._J_;
297
+ var fromFlags = vFromEl.C_;
298
+ var toFlags = toEl.C_;
299
299
 
300
300
  vElementByDOMNode.set(fromEl, toEl);
301
301
 
302
302
  var attrs = toEl.bE_;
303
- var props = toEl.aA_;
303
+ var props = toEl._x_;
304
304
 
305
305
  if (toFlags & FLAG_CUSTOM_ELEMENT) {
306
306
  return assign(fromEl, attrs);
@@ -1,9 +1,9 @@
1
1
  "use strict";var domData = require("../components/dom-data");
2
- var keysByDOMNode = domData.ah_;
3
- var vElementByDOMNode = domData.af_;
2
+ var keysByDOMNode = domData._s_;
3
+ var vElementByDOMNode = domData._t_;
4
4
  var VNode = require("./VNode");
5
5
  var inherit = require("raptor-util/inherit");
6
- var createFragmentNode = require("./morphdom/fragment").ap_;
6
+ var createFragmentNode = require("./morphdom/fragment").S_;
7
7
 
8
8
  function VFragment(key, ownerComponent, preserve) {
9
9
  this.bx_(null /* childCount */, ownerComponent);
@@ -9,14 +9,14 @@ VNode.prototype = {
9
9
  this.bP_ = null;
10
10
  this.bA_ = null;
11
11
  this.bB_ = null;
12
- this.az_ = ownerComponent;
12
+ this._v_ = ownerComponent;
13
13
  },
14
14
 
15
- get _s_() {
15
+ get ai_() {
16
16
  var firstChild = this.bD_;
17
17
 
18
18
  if (firstChild && firstChild.bC_) {
19
- var nestedFirstChild = firstChild._s_;
19
+ var nestedFirstChild = firstChild.ai_;
20
20
  // The first child is a DocumentFragment node.
21
21
  // If the DocumentFragment node has a first child then we will return that.
22
22
  // Otherwise, the DocumentFragment node is not *really* the first child and
@@ -32,7 +32,7 @@ VNode.prototype = {
32
32
 
33
33
  if (nextSibling) {
34
34
  if (nextSibling.bC_) {
35
- var firstChild = nextSibling._s_;
35
+ var firstChild = nextSibling.ai_;
36
36
  return firstChild || nextSibling.bQ_;
37
37
  }
38
38
  } else {