Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: client/samples/slider/slider_sample.dart.js

Issue 9226025: New dart.js bootstrap script for apps (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // ********** Library dart:core **************
2 // ********** Natives dart:core **************
3 Object.defineProperty(Object.prototype, '$typeNameOf', { value: function() {
4 if ((typeof(window) != 'undefined' && window.constructor.name == 'DOMWindow')
5 || typeof(process) != 'undefined') { // fast-path for Chrome and Node
6 return this.constructor.name;
7 }
8 var str = Object.prototype.toString.call(this);
9 str = str.substring(8, str.length - 1);
10 if (str == 'Window') {
11 str = 'DOMWindow';
12 } else if (str == 'Document') {
13 str = 'HTMLDocument';
14 }
15 return str;
16 }, enumerable: false, writable: true, configurable: true});
17 function $throw(e) {
18 // If e is not a value, we can use V8's captureStackTrace utility method.
19 // TODO(jmesserly): capture the stack trace on other JS engines.
20 if (e && (typeof e == 'object') && Error.captureStackTrace) {
21 // TODO(jmesserly): this will clobber the e.stack property
22 Error.captureStackTrace(e, $throw);
23 }
24 throw e;
25 }
26 Object.defineProperty(Object.prototype, '$index', { value: function(i) {
27 var proto = Object.getPrototypeOf(this);
28 if (proto !== Object) {
29 proto.$index = function(i) { return this[i]; }
30 }
31 return this[i];
32 }, enumerable: false, writable: true, configurable: true});
33 Object.defineProperty(Array.prototype, '$index', { value: function(i) {
34 return this[i];
35 }, enumerable: false, writable: true, configurable: true});
36 Object.defineProperty(String.prototype, '$index', { value: function(i) {
37 return this[i];
38 }, enumerable: false, writable: true, configurable: true});
39 Object.defineProperty(Object.prototype, '$setindex', { value: function(i, value) {
40 var proto = Object.getPrototypeOf(this);
41 if (proto !== Object) {
42 proto.$setindex = function(i, value) { return this[i] = value; }
43 }
44 return this[i] = value;
45 }, enumerable: false, writable: true, configurable: true});
46 Object.defineProperty(Array.prototype, '$setindex', { value: function(i, value) {
47 return this[i] = value; }, enumerable: false, writable: true,
48 configurable: true});
49 function $wrap_call$0(fn) { return fn; }
50 function $wrap_call$1(fn) { return fn; }
51 function $add(x, y) {
52 return ((typeof(x) == 'number' && typeof(y) == 'number') ||
53 (typeof(x) == 'string'))
54 ? x + y : x.$add(y);
55 }
56 function $eq(x, y) {
57 if (x == null) return y == null;
58 return (typeof(x) == 'number' && typeof(y) == 'number') ||
59 (typeof(x) == 'boolean' && typeof(y) == 'boolean') ||
60 (typeof(x) == 'string' && typeof(y) == 'string')
61 ? x == y : x.$eq(y);
62 }
63 // TODO(jimhug): Should this or should it not match equals?
64 Object.defineProperty(Object.prototype, '$eq', { value: function(other) {
65 return this === other;
66 }, enumerable: false, writable: true, configurable: true });
67 function $ne(x, y) {
68 if (x == null) return y != null;
69 return (typeof(x) == 'number' && typeof(y) == 'number') ||
70 (typeof(x) == 'boolean' && typeof(y) == 'boolean') ||
71 (typeof(x) == 'string' && typeof(y) == 'string')
72 ? x != y : !x.$eq(y);
73 }
74 function $truncdiv(x, y) {
75 if (typeof(x) == 'number' && typeof(y) == 'number') {
76 if (y == 0) $throw(new IntegerDivisionByZeroException());
77 var tmp = x / y;
78 return (tmp < 0) ? Math.ceil(tmp) : Math.floor(tmp);
79 } else {
80 return x.$truncdiv(y);
81 }
82 }
83 Object.defineProperty(Object.prototype, "get$typeName", { value: Object.prototyp e.$typeNameOf, enumerable: false, writable: true, configurable: true});
84 // ********** Code for Object **************
85 Object.defineProperty(Object.prototype, "get$dynamic", { value: function() {
86 "use strict"; return this;
87 }, enumerable: false, writable: true, configurable: true });
88 Object.defineProperty(Object.prototype, "noSuchMethod", { value: function(name, args) {
89 $throw(new NoSuchMethodException(this, name, args));
90 }, enumerable: false, writable: true, configurable: true });
91 Object.defineProperty(Object.prototype, "_asNonSentinelEntry$0", { value: functi on() {
92 return this.noSuchMethod$2("_asNonSentinelEntry", []);
93 }, enumerable: false, writable: true, configurable: true });
94 Object.defineProperty(Object.prototype, "add$1", { value: function($0) {
95 return this.noSuchMethod$2("add", [$0]);
96 }, enumerable: false, writable: true, configurable: true });
97 Object.defineProperty(Object.prototype, "addAll$1", { value: function($0) {
98 return this.noSuchMethod$2("addAll", [$0]);
99 }, enumerable: false, writable: true, configurable: true });
100 Object.defineProperty(Object.prototype, "addEventListener$3", { value: function( $0, $1, $2) {
101 return this.noSuchMethod$2("addEventListener", [$0, $1, $2]);
102 }, enumerable: false, writable: true, configurable: true });
103 Object.defineProperty(Object.prototype, "appendChild$1", { value: function($0) {
104 return this.noSuchMethod$2("appendChild", [$0]);
105 }, enumerable: false, writable: true, configurable: true });
106 Object.defineProperty(Object.prototype, "clear$0", { value: function() {
107 return this.noSuchMethod$2("clear", []);
108 }, enumerable: false, writable: true, configurable: true });
109 Object.defineProperty(Object.prototype, "click$0", { value: function() {
110 return this.noSuchMethod$2("click", []);
111 }, enumerable: false, writable: true, configurable: true });
112 Object.defineProperty(Object.prototype, "filter$1", { value: function($0) {
113 return this.noSuchMethod$2("filter", [$0]);
114 }, enumerable: false, writable: true, configurable: true });
115 Object.defineProperty(Object.prototype, "getPropertyValue$1", { value: function( $0) {
116 return this.noSuchMethod$2("getPropertyValue", [$0]);
117 }, enumerable: false, writable: true, configurable: true });
118 Object.defineProperty(Object.prototype, "group$1", { value: function($0) {
119 return this.noSuchMethod$2("group", [$0]);
120 }, enumerable: false, writable: true, configurable: true });
121 Object.defineProperty(Object.prototype, "hasNext$0", { value: function() {
122 return this.noSuchMethod$2("hasNext", []);
123 }, enumerable: false, writable: true, configurable: true });
124 Object.defineProperty(Object.prototype, "hashCode$0", { value: function() {
125 return this.noSuchMethod$2("hashCode", []);
126 }, enumerable: false, writable: true, configurable: true });
127 Object.defineProperty(Object.prototype, "is$html_html_Element", { value: functio n() {
128 return false;
129 }, enumerable: false, writable: true, configurable: true });
130 Object.defineProperty(Object.prototype, "item$1", { value: function($0) {
131 return this.noSuchMethod$2("item", [$0]);
132 }, enumerable: false, writable: true, configurable: true });
133 Object.defineProperty(Object.prototype, "iterator$0", { value: function() {
134 return this.noSuchMethod$2("iterator", []);
135 }, enumerable: false, writable: true, configurable: true });
136 Object.defineProperty(Object.prototype, "last$0", { value: function() {
137 return this.noSuchMethod$2("last", []);
138 }, enumerable: false, writable: true, configurable: true });
139 Object.defineProperty(Object.prototype, "next$0", { value: function() {
140 return this.noSuchMethod$2("next", []);
141 }, enumerable: false, writable: true, configurable: true });
142 Object.defineProperty(Object.prototype, "noSuchMethod$2", { value: function($0, $1) {
143 return this.noSuchMethod($0, $1);
144 }, enumerable: false, writable: true, configurable: true });
145 Object.defineProperty(Object.prototype, "postMessage$1", { value: function($0) {
146 return this.noSuchMethod$2("postMessage", [$0]);
147 }, enumerable: false, writable: true, configurable: true });
148 Object.defineProperty(Object.prototype, "postMessage$2", { value: function($0, $ 1) {
149 return this.noSuchMethod$2("postMessage", [$0, $1]);
150 }, enumerable: false, writable: true, configurable: true });
151 Object.defineProperty(Object.prototype, "postMessage$3", { value: function($0, $ 1, $2) {
152 return this.noSuchMethod$2("postMessage", [$0, $1, $2]);
153 }, enumerable: false, writable: true, configurable: true });
154 Object.defineProperty(Object.prototype, "preventDefault$0", { value: function() {
155 return this.noSuchMethod$2("preventDefault", []);
156 }, enumerable: false, writable: true, configurable: true });
157 Object.defineProperty(Object.prototype, "putIfAbsent$2", { value: function($0, $ 1) {
158 return this.noSuchMethod$2("putIfAbsent", [$0, $1]);
159 }, enumerable: false, writable: true, configurable: true });
160 Object.defineProperty(Object.prototype, "querySelector$1", { value: function($0) {
161 return this.noSuchMethod$2("querySelector", [$0]);
162 }, enumerable: false, writable: true, configurable: true });
163 Object.defineProperty(Object.prototype, "querySelectorAll$1", { value: function( $0) {
164 return this.noSuchMethod$2("querySelectorAll", [$0]);
165 }, enumerable: false, writable: true, configurable: true });
166 Object.defineProperty(Object.prototype, "remove$0", { value: function() {
167 return this.noSuchMethod$2("remove", []);
168 }, enumerable: false, writable: true, configurable: true });
169 Object.defineProperty(Object.prototype, "remove$1", { value: function($0) {
170 return this.noSuchMethod$2("remove", [$0]);
171 }, enumerable: false, writable: true, configurable: true });
172 Object.defineProperty(Object.prototype, "removeChild$1", { value: function($0) {
173 return this.noSuchMethod$2("removeChild", [$0]);
174 }, enumerable: false, writable: true, configurable: true });
175 Object.defineProperty(Object.prototype, "removeEventListener$3", { value: functi on($0, $1, $2) {
176 return this.noSuchMethod$2("removeEventListener", [$0, $1, $2]);
177 }, enumerable: false, writable: true, configurable: true });
178 Object.defineProperty(Object.prototype, "removeLast$0", { value: function() {
179 return this.noSuchMethod$2("removeLast", []);
180 }, enumerable: false, writable: true, configurable: true });
181 Object.defineProperty(Object.prototype, "replaceChild$2", { value: function($0, $1) {
182 return this.noSuchMethod$2("replaceChild", [$0, $1]);
183 }, enumerable: false, writable: true, configurable: true });
184 Object.defineProperty(Object.prototype, "setProperty$3", { value: function($0, $ 1, $2) {
185 return this.noSuchMethod$2("setProperty", [$0, $1, $2]);
186 }, enumerable: false, writable: true, configurable: true });
187 Object.defineProperty(Object.prototype, "setTimeout$2", { value: function($0, $1 ) {
188 return this.noSuchMethod$2("setTimeout", [$0, $1]);
189 }, enumerable: false, writable: true, configurable: true });
190 Object.defineProperty(Object.prototype, "toLowerCase$0", { value: function() {
191 return this.noSuchMethod$2("toLowerCase", []);
192 }, enumerable: false, writable: true, configurable: true });
193 Object.defineProperty(Object.prototype, "toString$0", { value: function() {
194 return this.toString();
195 }, enumerable: false, writable: true, configurable: true });
196 // ********** Code for IllegalAccessException **************
197 function IllegalAccessException() {
198
199 }
200 IllegalAccessException.prototype.toString = function() {
201 return "Attempt to modify an immutable object";
202 }
203 IllegalAccessException.prototype.toString$0 = IllegalAccessException.prototype.t oString;
204 // ********** Code for NoSuchMethodException **************
205 function NoSuchMethodException(_receiver, _functionName, _arguments) {
206 this._receiver = _receiver;
207 this._functionName = _functionName;
208 this._arguments = _arguments;
209 }
210 NoSuchMethodException.prototype.toString = function() {
211 var sb = new StringBufferImpl("");
212 for (var i = (0);
213 i < this._arguments.get$length(); i++) {
214 if (i > (0)) {
215 sb.add(", ");
216 }
217 sb.add(this._arguments.$index(i));
218 }
219 sb.add("]");
220 return ("NoSuchMethodException - receiver: '" + this._receiver + "' ") + ("fun ction name: '" + this._functionName + "' arguments: [" + sb + "]");
221 }
222 NoSuchMethodException.prototype.toString$0 = NoSuchMethodException.prototype.toS tring;
223 // ********** Code for ClosureArgumentMismatchException **************
224 function ClosureArgumentMismatchException() {
225
226 }
227 ClosureArgumentMismatchException.prototype.toString = function() {
228 return "Closure argument mismatch";
229 }
230 ClosureArgumentMismatchException.prototype.toString$0 = ClosureArgumentMismatchE xception.prototype.toString;
231 // ********** Code for ObjectNotClosureException **************
232 function ObjectNotClosureException() {
233
234 }
235 ObjectNotClosureException.prototype.toString = function() {
236 return "Object is not closure";
237 }
238 ObjectNotClosureException.prototype.toString$0 = ObjectNotClosureException.proto type.toString;
239 // ********** Code for IllegalArgumentException **************
240 function IllegalArgumentException(args) {
241 this._args = args;
242 }
243 IllegalArgumentException.prototype.toString = function() {
244 return ("Illegal argument(s): " + this._args);
245 }
246 IllegalArgumentException.prototype.toString$0 = IllegalArgumentException.prototy pe.toString;
247 // ********** Code for StackOverflowException **************
248 function StackOverflowException() {
249
250 }
251 StackOverflowException.prototype.toString = function() {
252 return "Stack Overflow";
253 }
254 StackOverflowException.prototype.toString$0 = StackOverflowException.prototype.t oString;
255 // ********** Code for NullPointerException **************
256 function NullPointerException() {
257
258 }
259 NullPointerException.prototype.toString = function() {
260 return "NullPointerException";
261 }
262 NullPointerException.prototype.toString$0 = NullPointerException.prototype.toStr ing;
263 // ********** Code for NoMoreElementsException **************
264 function NoMoreElementsException() {
265
266 }
267 NoMoreElementsException.prototype.toString = function() {
268 return "NoMoreElementsException";
269 }
270 NoMoreElementsException.prototype.toString$0 = NoMoreElementsException.prototype .toString;
271 // ********** Code for EmptyQueueException **************
272 function EmptyQueueException() {
273
274 }
275 EmptyQueueException.prototype.toString = function() {
276 return "EmptyQueueException";
277 }
278 EmptyQueueException.prototype.toString$0 = EmptyQueueException.prototype.toStrin g;
279 // ********** Code for UnsupportedOperationException **************
280 function UnsupportedOperationException(_message) {
281 this._message = _message;
282 }
283 UnsupportedOperationException.prototype.toString = function() {
284 return ("UnsupportedOperationException: " + this._message);
285 }
286 UnsupportedOperationException.prototype.toString$0 = UnsupportedOperationExcepti on.prototype.toString;
287 // ********** Code for dart_core_Function **************
288 Function.prototype.to$call$0 = function() {
289 this.call$0 = this._genStub(0);
290 this.to$call$0 = function() { return this.call$0; };
291 return this.call$0;
292 };
293 Function.prototype.call$0 = function() {
294 return this.to$call$0()();
295 };
296 function to$call$0(f) { return f && f.to$call$0(); }
297 Function.prototype.to$call$1 = function() {
298 this.call$1 = this._genStub(1);
299 this.to$call$1 = function() { return this.call$1; };
300 return this.call$1;
301 };
302 Function.prototype.call$1 = function($0) {
303 return this.to$call$1()($0);
304 };
305 function to$call$1(f) { return f && f.to$call$1(); }
306 Function.prototype.to$call$2 = function() {
307 this.call$2 = this._genStub(2);
308 this.to$call$2 = function() { return this.call$2; };
309 return this.call$2;
310 };
311 Function.prototype.call$2 = function($0, $1) {
312 return this.to$call$2()($0, $1);
313 };
314 function to$call$2(f) { return f && f.to$call$2(); }
315 // ********** Code for Strings **************
316 function Strings() {}
317 Strings.join = function(strings, separator) {
318 return StringBase.join(strings, separator);
319 }
320 // ********** Code for top level **************
321 function _toDartException(e) {
322 function attachStack(dartEx) {
323 // TODO(jmesserly): setting the stack property is not a long term solution.
324 var stack = e.stack;
325 // The stack contains the error message, and the stack is all that is
326 // printed (the exception's toString() is never called). Make the Dart
327 // exception's toString() be the dominant message.
328 if (typeof stack == 'string') {
329 var message = dartEx.toString();
330 if (/^(Type|Range)Error:/.test(stack)) {
331 // Indent JS message (it can be helpful) so new message stands out.
332 stack = ' (' + stack.substring(0, stack.indexOf('\n')) + ')\n' +
333 stack.substring(stack.indexOf('\n') + 1);
334 }
335 stack = message + '\n' + stack;
336 }
337 dartEx.stack = stack;
338 return dartEx;
339 }
340
341 if (e instanceof TypeError) {
342 switch(e.type) {
343 case 'property_not_function':
344 case 'called_non_callable':
345 if (e.arguments[0] == null) {
346 return attachStack(new NullPointerException());
347 } else {
348 return attachStack(new ObjectNotClosureException());
349 }
350 break;
351 case 'non_object_property_call':
352 case 'non_object_property_load':
353 return attachStack(new NullPointerException());
354 break;
355 case 'undefined_method':
356 var mname = e.arguments[0];
357 if (typeof(mname) == 'string' && (mname.indexOf('call$') == 0
358 || mname == 'call' || mname == 'apply')) {
359 return attachStack(new ObjectNotClosureException());
360 } else {
361 // TODO(jmesserly): fix noSuchMethod on operators so we don't hit this
362 return attachStack(new NoSuchMethodException('', e.arguments[0], []));
363 }
364 break;
365 }
366 } else if (e instanceof RangeError) {
367 if (e.message.indexOf('call stack') >= 0) {
368 return attachStack(new StackOverflowException());
369 }
370 }
371 return e;
372 }
373 // ********** Library dart:coreimpl **************
374 // ********** Code for ListFactory **************
375 ListFactory = Array;
376 ListFactory.ListFactory$from$factory = function(other) {
377 var list = [];
378 for (var $$i = other.iterator$0(); $$i.hasNext$0(); ) {
379 var e = $$i.next$0();
380 list.add$1(e);
381 }
382 return list;
383 }
384 Object.defineProperty(ListFactory.prototype, "get$length", { value: function() { return this.length; }, enumerable: false, writable: true, configurable: true }) ;
385 Object.defineProperty(ListFactory.prototype, "set$length", { value: function(val ue) { return this.length = value; }, enumerable: false, writable: true, configur able: true });
386 Object.defineProperty(ListFactory.prototype, "add", { value: function(value) {
387 this.push(value);
388 }, enumerable: false, writable: true, configurable: true });
389 Object.defineProperty(ListFactory.prototype, "addAll", { value: function(collect ion) {
390 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
391 var item = $$i.next$0();
392 this.add(item);
393 }
394 }, enumerable: false, writable: true, configurable: true });
395 Object.defineProperty(ListFactory.prototype, "clear", { value: function() {
396 this.set$length((0));
397 }, enumerable: false, writable: true, configurable: true });
398 Object.defineProperty(ListFactory.prototype, "get$clear", { value: function() {
399 return this.clear.bind(this);
400 }, enumerable: false, writable: true, configurable: true });
401 Object.defineProperty(ListFactory.prototype, "removeLast", { value: function() {
402 return this.pop();
403 }, enumerable: false, writable: true, configurable: true });
404 Object.defineProperty(ListFactory.prototype, "last", { value: function() {
405 return this[this.get$length() - (1)];
406 }, enumerable: false, writable: true, configurable: true });
407 Object.defineProperty(ListFactory.prototype, "iterator", { value: function() {
408 return new ListIterator(this);
409 }, enumerable: false, writable: true, configurable: true });
410 Object.defineProperty(ListFactory.prototype, "add$1", { value: ListFactory.proto type.add, enumerable: false, writable: true, configurable: true });
411 Object.defineProperty(ListFactory.prototype, "addAll$1", { value: ListFactory.pr ototype.addAll, enumerable: false, writable: true, configurable: true });
412 Object.defineProperty(ListFactory.prototype, "clear$0", { value: ListFactory.pro totype.clear, enumerable: false, writable: true, configurable: true });
413 Object.defineProperty(ListFactory.prototype, "filter$1", { value: function($0) {
414 return this.filter(to$call$1($0));
415 }, enumerable: false, writable: true, configurable: true });
416 Object.defineProperty(ListFactory.prototype, "iterator$0", { value: ListFactory. prototype.iterator, enumerable: false, writable: true, configurable: true });
417 Object.defineProperty(ListFactory.prototype, "last$0", { value: ListFactory.prot otype.last, enumerable: false, writable: true, configurable: true });
418 Object.defineProperty(ListFactory.prototype, "removeLast$0", { value: ListFactor y.prototype.removeLast, enumerable: false, writable: true, configurable: true }) ;
419 ListFactory_E = ListFactory;
420 ListFactory_dart_core_String = ListFactory;
421 ListFactory_html_html_Touch = ListFactory;
422 ListFactory_V = ListFactory;
423 ListFactory__EventListenerWrapper = ListFactory;
424 // ********** Code for ListIterator **************
425 function ListIterator(array) {
426 this._array = array;
427 this._pos = (0);
428 }
429 ListIterator.prototype.hasNext = function() {
430 return this._array.get$length() > this._pos;
431 }
432 ListIterator.prototype.next = function() {
433 if (!this.hasNext()) {
434 $throw(const$0002);
435 }
436 return this._array.$index(this._pos++);
437 }
438 ListIterator.prototype.hasNext$0 = ListIterator.prototype.hasNext;
439 ListIterator.prototype.next$0 = ListIterator.prototype.next;
440 // ********** Code for ImmutableList **************
441 /** Implements extends for Dart classes on JavaScript prototypes. */
442 function $inherits(child, parent) {
443 if (child.prototype.__proto__) {
444 child.prototype.__proto__ = parent.prototype;
445 } else {
446 function tmp() {};
447 tmp.prototype = parent.prototype;
448 child.prototype = new tmp();
449 child.prototype.constructor = child;
450 }
451 }
452 $inherits(ImmutableList, ListFactory_E);
453 function ImmutableList(length) {
454 Array.call(this, length);
455 }
456 ImmutableList.ImmutableList$from$factory = function(other) {
457 return _constList(other);
458 }
459 ImmutableList.prototype.get$length = function() {
460 return this.length;
461 }
462 ImmutableList.prototype.set$length = function(length) {
463 $throw(const$0001);
464 }
465 ImmutableList.prototype.$setindex = function(index, value) {
466 $throw(const$0001);
467 }
468 ImmutableList.prototype.add = function(element) {
469 $throw(const$0001);
470 }
471 ImmutableList.prototype.addAll = function(elements) {
472 $throw(const$0001);
473 }
474 ImmutableList.prototype.clear = function() {
475 $throw(const$0001);
476 }
477 ImmutableList.prototype.get$clear = function() {
478 return this.clear.bind(this);
479 }
480 ImmutableList.prototype.removeLast = function() {
481 $throw(const$0001);
482 }
483 ImmutableList.prototype.toString = function() {
484 return ListFactory.ListFactory$from$factory(this).toString$0();
485 }
486 ImmutableList.prototype.add$1 = ImmutableList.prototype.add;
487 ImmutableList.prototype.addAll$1 = ImmutableList.prototype.addAll;
488 ImmutableList.prototype.clear$0 = ImmutableList.prototype.clear;
489 ImmutableList.prototype.removeLast$0 = ImmutableList.prototype.removeLast;
490 ImmutableList.prototype.toString$0 = ImmutableList.prototype.toString;
491 // ********** Code for ImmutableMap **************
492 function ImmutableMap(keyValuePairs) {
493 this._dart_coreimpl_internal = _map(keyValuePairs);
494 }
495 ImmutableMap.prototype.$index = function(key) {
496 return this._dart_coreimpl_internal.$index(key);
497 }
498 ImmutableMap.prototype.get$length = function() {
499 return this._dart_coreimpl_internal.get$length();
500 }
501 ImmutableMap.prototype.containsKey = function(key) {
502 return this._dart_coreimpl_internal.containsKey(key);
503 }
504 ImmutableMap.prototype.$setindex = function(key, value) {
505 $throw(const$0001);
506 }
507 ImmutableMap.prototype.putIfAbsent = function(key, ifAbsent) {
508 $throw(const$0001);
509 }
510 ImmutableMap.prototype.clear = function() {
511 $throw(const$0001);
512 }
513 ImmutableMap.prototype.get$clear = function() {
514 return this.clear.bind(this);
515 }
516 ImmutableMap.prototype.remove = function(key) {
517 $throw(const$0001);
518 }
519 ImmutableMap.prototype.clear$0 = ImmutableMap.prototype.clear;
520 ImmutableMap.prototype.putIfAbsent$2 = function($0, $1) {
521 return this.putIfAbsent($0, to$call$0($1));
522 };
523 ImmutableMap.prototype.remove$1 = ImmutableMap.prototype.remove;
524 // ********** Code for JSSyntaxRegExp **************
525 function JSSyntaxRegExp(pattern, multiLine, ignoreCase) {
526 JSSyntaxRegExp._create$ctor.call(this, pattern, ($eq(multiLine, true) ? "m" : "") + ($eq(ignoreCase, true) ? "i" : ""));
527 }
528 JSSyntaxRegExp._create$ctor = function(pattern, flags) {
529 this.re = new RegExp(pattern, flags);
530 this.pattern = pattern;
531 this.multiLine = this.re.multiline;
532 this.ignoreCase = this.re.ignoreCase;
533 }
534 JSSyntaxRegExp._create$ctor.prototype = JSSyntaxRegExp.prototype;
535 JSSyntaxRegExp.prototype.firstMatch = function(str) {
536 var m = this._exec(str);
537 return m == null ? null : new MatchImplementation(this.pattern, str, this._mat chStart(m), this.get$_lastIndex(), m);
538 }
539 JSSyntaxRegExp.prototype._exec = function(str) {
540 return this.re.exec(str);
541 }
542 JSSyntaxRegExp.prototype._matchStart = function(m) {
543 return m.index;
544 }
545 JSSyntaxRegExp.prototype.get$_lastIndex = function() {
546 return this.re.lastIndex;
547 }
548 JSSyntaxRegExp.prototype.hasMatch = function(str) {
549 return this.re.test(str);
550 }
551 // ********** Code for MatchImplementation **************
552 function MatchImplementation(pattern, str, _start, _end, _groups) {
553 this.str = str;
554 this._start = _start;
555 this._groups = _groups;
556 this.pattern = pattern;
557 this._end = _end;
558 }
559 MatchImplementation.prototype.group = function(group) {
560 return this._groups.$index(group);
561 }
562 MatchImplementation.prototype.$index = function(group) {
563 return this._groups.$index(group);
564 }
565 MatchImplementation.prototype.group$1 = MatchImplementation.prototype.group;
566 // ********** Code for NumImplementation **************
567 NumImplementation = Number;
568 NumImplementation.prototype.hashCode = function() {
569 'use strict'; return this & 0x1FFFFFFF;
570 }
571 NumImplementation.prototype.hashCode$0 = NumImplementation.prototype.hashCode;
572 // ********** Code for FutureNotCompleteException **************
573 function FutureNotCompleteException() {
574
575 }
576 FutureNotCompleteException.prototype.toString = function() {
577 return "Exception: future has not been completed";
578 }
579 FutureNotCompleteException.prototype.toString$0 = FutureNotCompleteException.pro totype.toString;
580 // ********** Code for FutureAlreadyCompleteException **************
581 function FutureAlreadyCompleteException() {
582
583 }
584 FutureAlreadyCompleteException.prototype.toString = function() {
585 return "Exception: future already completed";
586 }
587 FutureAlreadyCompleteException.prototype.toString$0 = FutureAlreadyCompleteExcep tion.prototype.toString;
588 // ********** Code for FutureImpl **************
589 function FutureImpl() {
590 this._exceptionHandlers = new Array();
591 this._dart_coreimpl_listeners = new Array();
592 this._isComplete = false;
593 this._exceptionHandled = false;
594 }
595 FutureImpl.prototype.get$value = function() {
596 if (!this.get$isComplete()) {
597 $throw(new FutureNotCompleteException());
598 }
599 if (this._exception != null) {
600 $throw(this._exception);
601 }
602 return this._dart_coreimpl_value;
603 }
604 FutureImpl.prototype.get$isComplete = function() {
605 return this._isComplete;
606 }
607 FutureImpl.prototype.get$hasValue = function() {
608 return this.get$isComplete() && this._exception == null;
609 }
610 FutureImpl.prototype.then = function(onComplete) {
611 if (this.get$hasValue()) {
612 onComplete.call$1(this.get$value());
613 }
614 else if (!this.get$isComplete()) {
615 this._dart_coreimpl_listeners.add$1(onComplete);
616 }
617 else if (!this._exceptionHandled) {
618 $throw(this._exception);
619 }
620 }
621 FutureImpl.prototype._complete = function() {
622 this._isComplete = true;
623 if (this._exception != null) {
624 var $$list = this._exceptionHandlers;
625 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
626 var handler = $$list.$index($$i);
627 if (handler.call$1(this._exception)) {
628 this._exceptionHandled = true;
629 break;
630 }
631 }
632 }
633 if (this.get$hasValue()) {
634 var $$list = this._dart_coreimpl_listeners;
635 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
636 var listener = $$list.$index($$i);
637 listener.call$1(this.get$value());
638 }
639 }
640 else {
641 if (!this._exceptionHandled && this._dart_coreimpl_listeners.get$length() > (0)) {
642 $throw(this._exception);
643 }
644 }
645 }
646 FutureImpl.prototype._setValue = function(value) {
647 if (this._isComplete) {
648 $throw(new FutureAlreadyCompleteException());
649 }
650 this._dart_coreimpl_value = value;
651 this._complete();
652 }
653 FutureImpl.prototype._setException = function(exception) {
654 if (exception == null) {
655 $throw(new IllegalArgumentException(null));
656 }
657 if (this._isComplete) {
658 $throw(new FutureAlreadyCompleteException());
659 }
660 this._exception = exception;
661 this._complete();
662 }
663 // ********** Code for FutureImpl_T **************
664 $inherits(FutureImpl_T, FutureImpl);
665 function FutureImpl_T() {}
666 FutureImpl_T.prototype._complete = function() {
667 this._isComplete = true;
668 if (this._exception != null) {
669 var $$list = this._exceptionHandlers;
670 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
671 var handler = $$list.$index($$i);
672 if (handler.call$1(this._exception)) {
673 this._exceptionHandled = true;
674 break;
675 }
676 }
677 }
678 if (this.get$hasValue()) {
679 var $$list = this._dart_coreimpl_listeners;
680 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
681 var listener = $$list.$index($$i);
682 listener.call$1(this.get$value());
683 }
684 }
685 else {
686 if (!this._exceptionHandled && this._dart_coreimpl_listeners.get$length() > (0)) {
687 $throw(this._exception);
688 }
689 }
690 }
691 FutureImpl_T.prototype._setValue = function(value) {
692 if (this._isComplete) {
693 $throw(new FutureAlreadyCompleteException());
694 }
695 this._dart_coreimpl_value = value;
696 this._complete();
697 }
698 FutureImpl_T.prototype._setException = function(exception) {
699 if (exception == null) {
700 $throw(new IllegalArgumentException(null));
701 }
702 if (this._isComplete) {
703 $throw(new FutureAlreadyCompleteException());
704 }
705 this._exception = exception;
706 this._complete();
707 }
708 // ********** Code for CompleterImpl **************
709 function CompleterImpl() {
710 this._futureImpl = new FutureImpl();
711 }
712 CompleterImpl.prototype.get$future = function() {
713 return this._futureImpl;
714 }
715 CompleterImpl.prototype.complete = function(value) {
716 this._futureImpl._setValue(value);
717 }
718 CompleterImpl.prototype.completeException = function(exception) {
719 this._futureImpl._setException(exception);
720 }
721 // ********** Code for CompleterImpl_ElementRect **************
722 $inherits(CompleterImpl_ElementRect, CompleterImpl);
723 function CompleterImpl_ElementRect() {}
724 // ********** Code for HashMapImplementation **************
725 function HashMapImplementation() {
726 this._numberOfEntries = (0);
727 this._numberOfDeleted = (0);
728 this._loadLimit = HashMapImplementation._computeLoadLimit((8));
729 this._keys = new Array((8));
730 this._values = new Array((8));
731 }
732 HashMapImplementation._computeLoadLimit = function(capacity) {
733 return $truncdiv((capacity * (3)), (4));
734 }
735 HashMapImplementation._firstProbe = function(hashCode, length) {
736 return hashCode & (length - (1));
737 }
738 HashMapImplementation._nextProbe = function(currentProbe, numberOfProbes, length ) {
739 return (currentProbe + numberOfProbes) & (length - (1));
740 }
741 HashMapImplementation.prototype._probeForAdding = function(key) {
742 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$ length());
743 var numberOfProbes = (1);
744 var initialHash = hash;
745 var insertionIndex = (-1);
746 while (true) {
747 var existingKey = this._keys.$index(hash);
748 if (existingKey == null) {
749 if (insertionIndex < (0)) return hash;
750 return insertionIndex;
751 }
752 else if ($eq(existingKey, key)) {
753 return hash;
754 }
755 else if ((insertionIndex < (0)) && (const$0003 == existingKey)) {
756 insertionIndex = hash;
757 }
758 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g et$length());
759 }
760 }
761 HashMapImplementation.prototype._probeForLookup = function(key) {
762 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$ length());
763 var numberOfProbes = (1);
764 var initialHash = hash;
765 while (true) {
766 var existingKey = this._keys.$index(hash);
767 if (existingKey == null) return (-1);
768 if ($eq(existingKey, key)) return hash;
769 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g et$length());
770 }
771 }
772 HashMapImplementation.prototype._ensureCapacity = function() {
773 var newNumberOfEntries = this._numberOfEntries + (1);
774 if (newNumberOfEntries >= this._loadLimit) {
775 this._grow(this._keys.get$length() * (2));
776 return;
777 }
778 var capacity = this._keys.get$length();
779 var numberOfFreeOrDeleted = capacity - newNumberOfEntries;
780 var numberOfFree = numberOfFreeOrDeleted - this._numberOfDeleted;
781 if (this._numberOfDeleted > numberOfFree) {
782 this._grow(this._keys.get$length());
783 }
784 }
785 HashMapImplementation._isPowerOfTwo = function(x) {
786 return ((x & (x - (1))) == (0));
787 }
788 HashMapImplementation.prototype._grow = function(newCapacity) {
789 var capacity = this._keys.get$length();
790 this._loadLimit = HashMapImplementation._computeLoadLimit(newCapacity);
791 var oldKeys = this._keys;
792 var oldValues = this._values;
793 this._keys = new Array(newCapacity);
794 this._values = new Array(newCapacity);
795 for (var i = (0);
796 i < capacity; i++) {
797 var key = oldKeys.$index(i);
798 if (key == null || key == const$0003) {
799 continue;
800 }
801 var value = oldValues.$index(i);
802 var newIndex = this._probeForAdding(key);
803 this._keys.$setindex(newIndex, key);
804 this._values.$setindex(newIndex, value);
805 }
806 this._numberOfDeleted = (0);
807 }
808 HashMapImplementation.prototype.clear = function() {
809 this._numberOfEntries = (0);
810 this._numberOfDeleted = (0);
811 var length = this._keys.get$length();
812 for (var i = (0);
813 i < length; i++) {
814 this._keys.$setindex(i);
815 this._values.$setindex(i);
816 }
817 }
818 HashMapImplementation.prototype.get$clear = function() {
819 return this.clear.bind(this);
820 }
821 HashMapImplementation.prototype.$setindex = function(key, value) {
822 this._ensureCapacity();
823 var index = this._probeForAdding(key);
824 if ((this._keys.$index(index) == null) || (this._keys.$index(index) == const$0 003)) {
825 this._numberOfEntries++;
826 }
827 this._keys.$setindex(index, key);
828 this._values.$setindex(index, value);
829 }
830 HashMapImplementation.prototype.$index = function(key) {
831 var index = this._probeForLookup(key);
832 if (index < (0)) return null;
833 return this._values.$index(index);
834 }
835 HashMapImplementation.prototype.putIfAbsent = function(key, ifAbsent) {
836 var index = this._probeForLookup(key);
837 if (index >= (0)) return this._values.$index(index);
838 var value = ifAbsent.call$0();
839 this.$setindex(key, value);
840 return value;
841 }
842 HashMapImplementation.prototype.remove = function(key) {
843 var index = this._probeForLookup(key);
844 if (index >= (0)) {
845 this._numberOfEntries--;
846 var value = this._values.$index(index);
847 this._values.$setindex(index);
848 this._keys.$setindex(index, const$0003);
849 this._numberOfDeleted++;
850 return value;
851 }
852 return null;
853 }
854 HashMapImplementation.prototype.get$length = function() {
855 return this._numberOfEntries;
856 }
857 HashMapImplementation.prototype.forEach = function(f) {
858 var length = this._keys.get$length();
859 for (var i = (0);
860 i < length; i++) {
861 var key = this._keys.$index(i);
862 if ((key != null) && (key != const$0003)) {
863 f.call$2(key, this._values.$index(i));
864 }
865 }
866 }
867 HashMapImplementation.prototype.containsKey = function(key) {
868 return (this._probeForLookup(key) != (-1));
869 }
870 HashMapImplementation.prototype.clear$0 = HashMapImplementation.prototype.clear;
871 HashMapImplementation.prototype.putIfAbsent$2 = function($0, $1) {
872 return this.putIfAbsent($0, to$call$0($1));
873 };
874 HashMapImplementation.prototype.remove$1 = HashMapImplementation.prototype.remov e;
875 // ********** Code for HashMapImplementation_E$E **************
876 $inherits(HashMapImplementation_E$E, HashMapImplementation);
877 function HashMapImplementation_E$E() {
878 this._numberOfEntries = (0);
879 this._numberOfDeleted = (0);
880 this._loadLimit = HashMapImplementation._computeLoadLimit((8));
881 this._keys = new Array((8));
882 this._values = new Array((8));
883 }
884 HashMapImplementation_E$E._computeLoadLimit = function(capacity) {
885 return $truncdiv((capacity * (3)), (4));
886 }
887 HashMapImplementation_E$E._firstProbe = function(hashCode, length) {
888 return hashCode & (length - (1));
889 }
890 HashMapImplementation_E$E._nextProbe = function(currentProbe, numberOfProbes, le ngth) {
891 return (currentProbe + numberOfProbes) & (length - (1));
892 }
893 HashMapImplementation_E$E.prototype._probeForAdding = function(key) {
894 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$ length());
895 var numberOfProbes = (1);
896 var initialHash = hash;
897 var insertionIndex = (-1);
898 while (true) {
899 var existingKey = this._keys.$index(hash);
900 if (existingKey == null) {
901 if (insertionIndex < (0)) return hash;
902 return insertionIndex;
903 }
904 else if ($eq(existingKey, key)) {
905 return hash;
906 }
907 else if ((insertionIndex < (0)) && (const$0003 == existingKey)) {
908 insertionIndex = hash;
909 }
910 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g et$length());
911 }
912 }
913 HashMapImplementation_E$E.prototype._probeForLookup = function(key) {
914 var hash = HashMapImplementation._firstProbe(key.hashCode$0(), this._keys.get$ length());
915 var numberOfProbes = (1);
916 var initialHash = hash;
917 while (true) {
918 var existingKey = this._keys.$index(hash);
919 if (existingKey == null) return (-1);
920 if ($eq(existingKey, key)) return hash;
921 hash = HashMapImplementation._nextProbe(hash, numberOfProbes++, this._keys.g et$length());
922 }
923 }
924 HashMapImplementation_E$E.prototype._ensureCapacity = function() {
925 var newNumberOfEntries = this._numberOfEntries + (1);
926 if (newNumberOfEntries >= this._loadLimit) {
927 this._grow(this._keys.get$length() * (2));
928 return;
929 }
930 var capacity = this._keys.get$length();
931 var numberOfFreeOrDeleted = capacity - newNumberOfEntries;
932 var numberOfFree = numberOfFreeOrDeleted - this._numberOfDeleted;
933 if (this._numberOfDeleted > numberOfFree) {
934 this._grow(this._keys.get$length());
935 }
936 }
937 HashMapImplementation_E$E._isPowerOfTwo = function(x) {
938 return ((x & (x - (1))) == (0));
939 }
940 HashMapImplementation_E$E.prototype._grow = function(newCapacity) {
941 var capacity = this._keys.get$length();
942 this._loadLimit = HashMapImplementation._computeLoadLimit(newCapacity);
943 var oldKeys = this._keys;
944 var oldValues = this._values;
945 this._keys = new Array(newCapacity);
946 this._values = new Array(newCapacity);
947 for (var i = (0);
948 i < capacity; i++) {
949 var key = oldKeys.$index(i);
950 if (key == null || key == const$0003) {
951 continue;
952 }
953 var value = oldValues.$index(i);
954 var newIndex = this._probeForAdding(key);
955 this._keys.$setindex(newIndex, key);
956 this._values.$setindex(newIndex, value);
957 }
958 this._numberOfDeleted = (0);
959 }
960 HashMapImplementation_E$E.prototype.clear = function() {
961 this._numberOfEntries = (0);
962 this._numberOfDeleted = (0);
963 var length = this._keys.get$length();
964 for (var i = (0);
965 i < length; i++) {
966 this._keys.$setindex(i);
967 this._values.$setindex(i);
968 }
969 }
970 HashMapImplementation_E$E.prototype.$setindex = function(key, value) {
971 this._ensureCapacity();
972 var index = this._probeForAdding(key);
973 if ((this._keys.$index(index) == null) || (this._keys.$index(index) == const$0 003)) {
974 this._numberOfEntries++;
975 }
976 this._keys.$setindex(index, key);
977 this._values.$setindex(index, value);
978 }
979 HashMapImplementation_E$E.prototype.remove = function(key) {
980 var index = this._probeForLookup(key);
981 if (index >= (0)) {
982 this._numberOfEntries--;
983 var value = this._values.$index(index);
984 this._values.$setindex(index);
985 this._keys.$setindex(index, const$0003);
986 this._numberOfDeleted++;
987 return value;
988 }
989 return null;
990 }
991 HashMapImplementation_E$E.prototype.forEach = function(f) {
992 var length = this._keys.get$length();
993 for (var i = (0);
994 i < length; i++) {
995 var key = this._keys.$index(i);
996 if ((key != null) && (key != const$0003)) {
997 f.call$2(key, this._values.$index(i));
998 }
999 }
1000 }
1001 HashMapImplementation_E$E.prototype.containsKey = function(key) {
1002 return (this._probeForLookup(key) != (-1));
1003 }
1004 // ********** Code for HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePa ir_K$V **************
1005 $inherits(HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePair_K$V, HashM apImplementation);
1006 function HashMapImplementation_K$DoubleLinkedQueueEntry_KeyValuePair_K$V() {}
1007 // ********** Code for HashMapImplementation_dart_core_String$dart_core_String * *************
1008 $inherits(HashMapImplementation_dart_core_String$dart_core_String, HashMapImplem entation);
1009 function HashMapImplementation_dart_core_String$dart_core_String() {}
1010 // ********** Code for HashSetImplementation **************
1011 function HashSetImplementation() {
1012 this._backingMap = new HashMapImplementation_E$E();
1013 }
1014 HashSetImplementation.prototype.clear = function() {
1015 this._backingMap.clear();
1016 }
1017 HashSetImplementation.prototype.get$clear = function() {
1018 return this.clear.bind(this);
1019 }
1020 HashSetImplementation.prototype.add = function(value) {
1021 this._backingMap.$setindex(value, value);
1022 }
1023 HashSetImplementation.prototype.contains = function(value) {
1024 return this._backingMap.containsKey(value);
1025 }
1026 HashSetImplementation.prototype.remove = function(value) {
1027 if (!this._backingMap.containsKey(value)) return false;
1028 this._backingMap.remove(value);
1029 return true;
1030 }
1031 HashSetImplementation.prototype.addAll = function(collection) {
1032 var $this = this; // closure support
1033 collection.forEach(function _(value) {
1034 $this.add(value);
1035 }
1036 );
1037 }
1038 HashSetImplementation.prototype.forEach = function(f) {
1039 this._backingMap.forEach(function _(key, value) {
1040 f.call$1(key);
1041 }
1042 );
1043 }
1044 HashSetImplementation.prototype.filter = function(f) {
1045 var result = new HashSetImplementation();
1046 this._backingMap.forEach(function _(key, value) {
1047 if (f.call$1(key)) result.add(key);
1048 }
1049 );
1050 return result;
1051 }
1052 HashSetImplementation.prototype.get$length = function() {
1053 return this._backingMap.get$length();
1054 }
1055 HashSetImplementation.prototype.iterator = function() {
1056 return new HashSetIterator_E(this);
1057 }
1058 HashSetImplementation.prototype.add$1 = HashSetImplementation.prototype.add;
1059 HashSetImplementation.prototype.addAll$1 = HashSetImplementation.prototype.addAl l;
1060 HashSetImplementation.prototype.clear$0 = HashSetImplementation.prototype.clear;
1061 HashSetImplementation.prototype.filter$1 = function($0) {
1062 return this.filter(to$call$1($0));
1063 };
1064 HashSetImplementation.prototype.iterator$0 = HashSetImplementation.prototype.ite rator;
1065 HashSetImplementation.prototype.remove$1 = HashSetImplementation.prototype.remov e;
1066 // ********** Code for HashSetImplementation_E **************
1067 $inherits(HashSetImplementation_E, HashSetImplementation);
1068 function HashSetImplementation_E() {}
1069 // ********** Code for HashSetImplementation_dart_core_String **************
1070 $inherits(HashSetImplementation_dart_core_String, HashSetImplementation);
1071 function HashSetImplementation_dart_core_String() {}
1072 // ********** Code for HashSetIterator **************
1073 function HashSetIterator(set_) {
1074 this._entries = set_._backingMap._keys;
1075 this._nextValidIndex = (-1);
1076 this._advance();
1077 }
1078 HashSetIterator.prototype.hasNext = function() {
1079 if (this._nextValidIndex >= this._entries.get$length()) return false;
1080 if (this._entries.$index(this._nextValidIndex) == const$0003) {
1081 this._advance();
1082 }
1083 return this._nextValidIndex < this._entries.get$length();
1084 }
1085 HashSetIterator.prototype.next = function() {
1086 if (!this.hasNext()) {
1087 $throw(const$0002);
1088 }
1089 var res = this._entries.$index(this._nextValidIndex);
1090 this._advance();
1091 return res;
1092 }
1093 HashSetIterator.prototype._advance = function() {
1094 var length = this._entries.get$length();
1095 var entry;
1096 var deletedKey = const$0003;
1097 do {
1098 if (++this._nextValidIndex >= length) break;
1099 entry = this._entries.$index(this._nextValidIndex);
1100 }
1101 while ((entry == null) || (entry == deletedKey))
1102 }
1103 HashSetIterator.prototype.hasNext$0 = HashSetIterator.prototype.hasNext;
1104 HashSetIterator.prototype.next$0 = HashSetIterator.prototype.next;
1105 // ********** Code for HashSetIterator_E **************
1106 $inherits(HashSetIterator_E, HashSetIterator);
1107 function HashSetIterator_E(set_) {
1108 this._nextValidIndex = (-1);
1109 this._entries = set_._backingMap._keys;
1110 this._advance();
1111 }
1112 HashSetIterator_E.prototype._advance = function() {
1113 var length = this._entries.get$length();
1114 var entry;
1115 var deletedKey = const$0003;
1116 do {
1117 if (++this._nextValidIndex >= length) break;
1118 entry = this._entries.$index(this._nextValidIndex);
1119 }
1120 while ((entry == null) || (entry == deletedKey))
1121 }
1122 // ********** Code for _DeletedKeySentinel **************
1123 function _DeletedKeySentinel() {
1124
1125 }
1126 // ********** Code for KeyValuePair **************
1127 function KeyValuePair(key, value) {
1128 this.value = value;
1129 this.key = key;
1130 }
1131 KeyValuePair.prototype.get$value = function() { return this.value; };
1132 KeyValuePair.prototype.set$value = function(value) { return this.value = value; };
1133 // ********** Code for KeyValuePair_K$V **************
1134 $inherits(KeyValuePair_K$V, KeyValuePair);
1135 function KeyValuePair_K$V(key, value) {
1136 this.key = key;
1137 this.value = value;
1138 }
1139 // ********** Code for LinkedHashMapImplementation **************
1140 function LinkedHashMapImplementation() {
1141 this._map = new HashMapImplementation();
1142 this._list = new DoubleLinkedQueue_KeyValuePair_K$V();
1143 }
1144 LinkedHashMapImplementation.prototype.$setindex = function(key, value) {
1145 if (this._map.containsKey(key)) {
1146 this._map.$index(key).get$element().set$value(value);
1147 }
1148 else {
1149 this._list.addLast(new KeyValuePair_K$V(key, value));
1150 this._map.$setindex(key, this._list.lastEntry());
1151 }
1152 }
1153 LinkedHashMapImplementation.prototype.$index = function(key) {
1154 var entry = this._map.$index(key);
1155 if (entry == null) return null;
1156 return entry.get$element().get$value();
1157 }
1158 LinkedHashMapImplementation.prototype.remove = function(key) {
1159 var entry = this._map.remove$1(key);
1160 if (entry == null) return null;
1161 entry.remove$0();
1162 return entry.get$element().get$value();
1163 }
1164 LinkedHashMapImplementation.prototype.putIfAbsent = function(key, ifAbsent) {
1165 var value = this.$index(key);
1166 if ((this.$index(key) == null) && !(this.containsKey(key))) {
1167 value = ifAbsent.call$0();
1168 this.$setindex(key, value);
1169 }
1170 return value;
1171 }
1172 LinkedHashMapImplementation.prototype.containsKey = function(key) {
1173 return this._map.containsKey(key);
1174 }
1175 LinkedHashMapImplementation.prototype.get$length = function() {
1176 return this._map.get$length();
1177 }
1178 LinkedHashMapImplementation.prototype.clear = function() {
1179 this._map.clear();
1180 this._list.clear();
1181 }
1182 LinkedHashMapImplementation.prototype.get$clear = function() {
1183 return this.clear.bind(this);
1184 }
1185 LinkedHashMapImplementation.prototype.clear$0 = LinkedHashMapImplementation.prot otype.clear;
1186 LinkedHashMapImplementation.prototype.putIfAbsent$2 = function($0, $1) {
1187 return this.putIfAbsent($0, to$call$0($1));
1188 };
1189 LinkedHashMapImplementation.prototype.remove$1 = LinkedHashMapImplementation.pro totype.remove;
1190 // ********** Code for DoubleLinkedQueueEntry **************
1191 function DoubleLinkedQueueEntry(e) {
1192 this._dart_coreimpl_element = e;
1193 }
1194 DoubleLinkedQueueEntry.prototype._link = function(p, n) {
1195 this._next = n;
1196 this._previous = p;
1197 p._next = this;
1198 n._previous = this;
1199 }
1200 DoubleLinkedQueueEntry.prototype.prepend = function(e) {
1201 new DoubleLinkedQueueEntry_E(e)._link(this._previous, this);
1202 }
1203 DoubleLinkedQueueEntry.prototype.remove = function() {
1204 this._previous._next = this._next;
1205 this._next._previous = this._previous;
1206 this._next = null;
1207 this._previous = null;
1208 return this._dart_coreimpl_element;
1209 }
1210 DoubleLinkedQueueEntry.prototype._asNonSentinelEntry = function() {
1211 return this;
1212 }
1213 DoubleLinkedQueueEntry.prototype.previousEntry = function() {
1214 return this._previous._asNonSentinelEntry();
1215 }
1216 DoubleLinkedQueueEntry.prototype.get$element = function() {
1217 return this._dart_coreimpl_element;
1218 }
1219 DoubleLinkedQueueEntry.prototype._asNonSentinelEntry$0 = DoubleLinkedQueueEntry. prototype._asNonSentinelEntry;
1220 DoubleLinkedQueueEntry.prototype.remove$0 = DoubleLinkedQueueEntry.prototype.rem ove;
1221 // ********** Code for DoubleLinkedQueueEntry_E **************
1222 $inherits(DoubleLinkedQueueEntry_E, DoubleLinkedQueueEntry);
1223 function DoubleLinkedQueueEntry_E(e) {
1224 this._dart_coreimpl_element = e;
1225 }
1226 DoubleLinkedQueueEntry_E.prototype._link = function(p, n) {
1227 this._next = n;
1228 this._previous = p;
1229 p._next = this;
1230 n._previous = this;
1231 }
1232 DoubleLinkedQueueEntry_E.prototype.prepend = function(e) {
1233 new DoubleLinkedQueueEntry_E(e)._link(this._previous, this);
1234 }
1235 DoubleLinkedQueueEntry_E.prototype.remove = function() {
1236 this._previous._next = this._next;
1237 this._next._previous = this._previous;
1238 this._next = null;
1239 this._previous = null;
1240 return this._dart_coreimpl_element;
1241 }
1242 DoubleLinkedQueueEntry_E.prototype._asNonSentinelEntry = function() {
1243 return this;
1244 }
1245 // ********** Code for DoubleLinkedQueueEntry_KeyValuePair_K$V **************
1246 $inherits(DoubleLinkedQueueEntry_KeyValuePair_K$V, DoubleLinkedQueueEntry);
1247 function DoubleLinkedQueueEntry_KeyValuePair_K$V(e) {
1248 this._dart_coreimpl_element = e;
1249 }
1250 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype._link = function(p, n) {
1251 this._next = n;
1252 this._previous = p;
1253 p._next = this;
1254 n._previous = this;
1255 }
1256 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.prepend = function(e) {
1257 new DoubleLinkedQueueEntry_KeyValuePair_K$V(e)._link(this._previous, this);
1258 }
1259 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.remove = function() {
1260 this._previous._next = this._next;
1261 this._next._previous = this._previous;
1262 this._next = null;
1263 this._previous = null;
1264 return this._dart_coreimpl_element;
1265 }
1266 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype._asNonSentinelEntry = function () {
1267 return this;
1268 }
1269 DoubleLinkedQueueEntry_KeyValuePair_K$V.prototype.previousEntry = function() {
1270 return this._previous._asNonSentinelEntry$0();
1271 }
1272 // ********** Code for _DoubleLinkedQueueEntrySentinel **************
1273 $inherits(_DoubleLinkedQueueEntrySentinel, DoubleLinkedQueueEntry_E);
1274 function _DoubleLinkedQueueEntrySentinel() {
1275 DoubleLinkedQueueEntry_E.call(this, null);
1276 this._link(this, this);
1277 }
1278 _DoubleLinkedQueueEntrySentinel.prototype.remove = function() {
1279 $throw(const$0005);
1280 }
1281 _DoubleLinkedQueueEntrySentinel.prototype._asNonSentinelEntry = function() {
1282 return null;
1283 }
1284 _DoubleLinkedQueueEntrySentinel.prototype.get$element = function() {
1285 $throw(const$0005);
1286 }
1287 _DoubleLinkedQueueEntrySentinel.prototype._asNonSentinelEntry$0 = _DoubleLinkedQ ueueEntrySentinel.prototype._asNonSentinelEntry;
1288 _DoubleLinkedQueueEntrySentinel.prototype.remove$0 = _DoubleLinkedQueueEntrySent inel.prototype.remove;
1289 // ********** Code for _DoubleLinkedQueueEntrySentinel_E **************
1290 $inherits(_DoubleLinkedQueueEntrySentinel_E, _DoubleLinkedQueueEntrySentinel);
1291 function _DoubleLinkedQueueEntrySentinel_E() {
1292 DoubleLinkedQueueEntry_E.call(this, null);
1293 this._link(this, this);
1294 }
1295 // ********** Code for _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V ******** ******
1296 $inherits(_DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V, _DoubleLinkedQueueEn trySentinel);
1297 function _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V() {
1298 DoubleLinkedQueueEntry_KeyValuePair_K$V.call(this, null);
1299 this._link(this, this);
1300 }
1301 // ********** Code for DoubleLinkedQueue **************
1302 function DoubleLinkedQueue() {
1303 this._sentinel = new _DoubleLinkedQueueEntrySentinel_E();
1304 }
1305 DoubleLinkedQueue.prototype.addLast = function(value) {
1306 this._sentinel.prepend(value);
1307 }
1308 DoubleLinkedQueue.prototype.add = function(value) {
1309 this.addLast(value);
1310 }
1311 DoubleLinkedQueue.prototype.addAll = function(collection) {
1312 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
1313 var e = $$i.next$0();
1314 this.add(e);
1315 }
1316 }
1317 DoubleLinkedQueue.prototype.removeLast = function() {
1318 return this._sentinel._previous.remove();
1319 }
1320 DoubleLinkedQueue.prototype.first = function() {
1321 return this._sentinel._next.get$element();
1322 }
1323 DoubleLinkedQueue.prototype.get$first = function() {
1324 return this.first.bind(this);
1325 }
1326 DoubleLinkedQueue.prototype.last = function() {
1327 return this._sentinel._previous.get$element();
1328 }
1329 DoubleLinkedQueue.prototype.get$length = function() {
1330 var counter = (0);
1331 this.forEach(function _(element) {
1332 counter++;
1333 }
1334 );
1335 return counter;
1336 }
1337 DoubleLinkedQueue.prototype.clear = function() {
1338 this._sentinel._next = this._sentinel;
1339 this._sentinel._previous = this._sentinel;
1340 }
1341 DoubleLinkedQueue.prototype.get$clear = function() {
1342 return this.clear.bind(this);
1343 }
1344 DoubleLinkedQueue.prototype.forEach = function(f) {
1345 var entry = this._sentinel._next;
1346 while (entry != this._sentinel) {
1347 var nextEntry = entry._next;
1348 f.call$1(entry._dart_coreimpl_element);
1349 entry = nextEntry;
1350 }
1351 }
1352 DoubleLinkedQueue.prototype.filter = function(f) {
1353 var other = new DoubleLinkedQueue();
1354 var entry = this._sentinel._next;
1355 while (entry != this._sentinel) {
1356 var nextEntry = entry._next;
1357 if (f.call$1(entry._dart_coreimpl_element)) other.addLast(entry._dart_coreim pl_element);
1358 entry = nextEntry;
1359 }
1360 return other;
1361 }
1362 DoubleLinkedQueue.prototype.iterator = function() {
1363 return new _DoubleLinkedQueueIterator_E(this._sentinel);
1364 }
1365 DoubleLinkedQueue.prototype.add$1 = DoubleLinkedQueue.prototype.add;
1366 DoubleLinkedQueue.prototype.addAll$1 = DoubleLinkedQueue.prototype.addAll;
1367 DoubleLinkedQueue.prototype.clear$0 = DoubleLinkedQueue.prototype.clear;
1368 DoubleLinkedQueue.prototype.filter$1 = function($0) {
1369 return this.filter(to$call$1($0));
1370 };
1371 DoubleLinkedQueue.prototype.iterator$0 = DoubleLinkedQueue.prototype.iterator;
1372 DoubleLinkedQueue.prototype.last$0 = DoubleLinkedQueue.prototype.last;
1373 DoubleLinkedQueue.prototype.removeLast$0 = DoubleLinkedQueue.prototype.removeLas t;
1374 // ********** Code for DoubleLinkedQueue_E **************
1375 $inherits(DoubleLinkedQueue_E, DoubleLinkedQueue);
1376 function DoubleLinkedQueue_E() {}
1377 // ********** Code for DoubleLinkedQueue_KeyValuePair_K$V **************
1378 $inherits(DoubleLinkedQueue_KeyValuePair_K$V, DoubleLinkedQueue);
1379 function DoubleLinkedQueue_KeyValuePair_K$V() {
1380 this._sentinel = new _DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V();
1381 }
1382 DoubleLinkedQueue_KeyValuePair_K$V.prototype.addLast = function(value) {
1383 this._sentinel.prepend(value);
1384 }
1385 DoubleLinkedQueue_KeyValuePair_K$V.prototype.lastEntry = function() {
1386 return this._sentinel.previousEntry();
1387 }
1388 DoubleLinkedQueue_KeyValuePair_K$V.prototype.clear = function() {
1389 this._sentinel._next = this._sentinel;
1390 this._sentinel._previous = this._sentinel;
1391 }
1392 // ********** Code for _DoubleLinkedQueueIterator **************
1393 function _DoubleLinkedQueueIterator(_sentinel) {
1394 this._sentinel = _sentinel;
1395 this._currentEntry = this._sentinel;
1396 }
1397 _DoubleLinkedQueueIterator.prototype.hasNext = function() {
1398 return this._currentEntry._next != this._sentinel;
1399 }
1400 _DoubleLinkedQueueIterator.prototype.next = function() {
1401 if (!this.hasNext()) {
1402 $throw(const$0002);
1403 }
1404 this._currentEntry = this._currentEntry._next;
1405 return this._currentEntry.get$element();
1406 }
1407 _DoubleLinkedQueueIterator.prototype.hasNext$0 = _DoubleLinkedQueueIterator.prot otype.hasNext;
1408 _DoubleLinkedQueueIterator.prototype.next$0 = _DoubleLinkedQueueIterator.prototy pe.next;
1409 // ********** Code for _DoubleLinkedQueueIterator_E **************
1410 $inherits(_DoubleLinkedQueueIterator_E, _DoubleLinkedQueueIterator);
1411 function _DoubleLinkedQueueIterator_E(_sentinel) {
1412 this._sentinel = _sentinel;
1413 this._currentEntry = this._sentinel;
1414 }
1415 // ********** Code for StringBufferImpl **************
1416 function StringBufferImpl(content) {
1417 this.clear();
1418 this.add(content);
1419 }
1420 StringBufferImpl.prototype.get$length = function() {
1421 return this._length;
1422 }
1423 StringBufferImpl.prototype.add = function(obj) {
1424 var str = obj.toString$0();
1425 if (str == null || str.isEmpty()) return this;
1426 this._buffer.add$1(str);
1427 this._length = this._length + str.length;
1428 return this;
1429 }
1430 StringBufferImpl.prototype.addAll = function(objects) {
1431 for (var $$i = objects.iterator$0(); $$i.hasNext$0(); ) {
1432 var obj = $$i.next$0();
1433 this.add(obj);
1434 }
1435 return this;
1436 }
1437 StringBufferImpl.prototype.clear = function() {
1438 this._buffer = new Array();
1439 this._length = (0);
1440 return this;
1441 }
1442 StringBufferImpl.prototype.get$clear = function() {
1443 return this.clear.bind(this);
1444 }
1445 StringBufferImpl.prototype.toString = function() {
1446 if (this._buffer.get$length() == (0)) return "";
1447 if (this._buffer.get$length() == (1)) return this._buffer.$index((0));
1448 var result = StringBase.concatAll(this._buffer);
1449 this._buffer.clear$0();
1450 this._buffer.add$1(result);
1451 return result;
1452 }
1453 StringBufferImpl.prototype.add$1 = StringBufferImpl.prototype.add;
1454 StringBufferImpl.prototype.addAll$1 = StringBufferImpl.prototype.addAll;
1455 StringBufferImpl.prototype.clear$0 = StringBufferImpl.prototype.clear;
1456 StringBufferImpl.prototype.toString$0 = StringBufferImpl.prototype.toString;
1457 // ********** Code for StringBase **************
1458 function StringBase() {}
1459 StringBase.join = function(strings, separator) {
1460 if (strings.get$length() == (0)) return "";
1461 var s = strings.$index((0));
1462 for (var i = (1);
1463 i < strings.get$length(); i++) {
1464 s = s + separator + strings.$index(i);
1465 }
1466 return s;
1467 }
1468 StringBase.concatAll = function(strings) {
1469 return StringBase.join(strings, "");
1470 }
1471 // ********** Code for StringImplementation **************
1472 StringImplementation = String;
1473 StringImplementation.prototype.get$length = function() { return this.length; };
1474 StringImplementation.prototype.isEmpty = function() {
1475 return this.length == (0);
1476 }
1477 StringImplementation.prototype.contains = function(pattern, startIndex) {
1478 'use strict'; return this.indexOf(pattern, startIndex) >= 0;
1479 }
1480 StringImplementation.prototype.hashCode = function() {
1481 'use strict';
1482 var hash = 0;
1483 for (var i = 0; i < this.length; i++) {
1484 hash = 0x1fffffff & (hash + this.charCodeAt(i));
1485 hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
1486 hash ^= hash >> 6;
1487 }
1488
1489 hash = 0x1fffffff & (hash + ((0x03ffffff & hash) << 3));
1490 hash ^= hash >> 11;
1491 return 0x1fffffff & (hash + ((0x00003fff & hash) << 15));
1492 }
1493 StringImplementation.prototype.hashCode$0 = StringImplementation.prototype.hashC ode;
1494 StringImplementation.prototype.toLowerCase$0 = StringImplementation.prototype.to LowerCase;
1495 // ********** Code for _Worker **************
1496 function $dynamic(name) {
1497 var f = Object.prototype[name];
1498 if (f && f.methods) return f.methods;
1499
1500 var methods = {};
1501 if (f) methods.Object = f;
1502 function $dynamicBind() {
1503 // Find the target method
1504 var obj = this;
1505 var tag = obj.$typeNameOf();
1506 var method = methods[tag];
1507 if (!method) {
1508 var table = $dynamicMetadata;
1509 for (var i = 0; i < table.length; i++) {
1510 var entry = table[i];
1511 if (entry.map.hasOwnProperty(tag)) {
1512 method = methods[entry.tag];
1513 if (method) break;
1514 }
1515 }
1516 }
1517 method = method || methods.Object;
1518 var proto = Object.getPrototypeOf(obj);
1519 if (!proto.hasOwnProperty(name)) {
1520 Object.defineProperty(proto, name,
1521 { value: method, enumerable: false, writable: true,
1522 configurable: true });
1523 }
1524
1525 return method.apply(this, Array.prototype.slice.call(arguments));
1526 };
1527 $dynamicBind.methods = methods;
1528 Object.defineProperty(Object.prototype, name, { value: $dynamicBind,
1529 enumerable: false, writable: true, configurable: true});
1530 return methods;
1531 }
1532 if (typeof $dynamicMetadata == 'undefined') $dynamicMetadata = [];
1533
1534 function $dynamicSetMetadata(inputTable) {
1535 // TODO: Deal with light isolates.
1536 var table = [];
1537 for (var i = 0; i < inputTable.length; i++) {
1538 var tag = inputTable[i][0];
1539 var tags = inputTable[i][1];
1540 var map = {};
1541 var tagNames = tags.split('|');
1542 for (var j = 0; j < tagNames.length; j++) {
1543 map[tagNames[j]] = true;
1544 }
1545 table.push({tag: tag, tags: tags, map: map});
1546 }
1547 $dynamicMetadata = table;
1548 }
1549 $dynamic("postMessage").Worker = function(msg) {
1550 return this.postMessage(msg);
1551 }
1552 $dynamic("postMessage$1").Worker = function($0) {
1553 return this.postMessage($0);
1554 };
1555 // ********** Code for _ArgumentMismatchException **************
1556 $inherits(_ArgumentMismatchException, ClosureArgumentMismatchException);
1557 function _ArgumentMismatchException(_message) {
1558 this._dart_coreimpl_message = _message;
1559 ClosureArgumentMismatchException.call(this);
1560 }
1561 _ArgumentMismatchException.prototype.toString = function() {
1562 return ("Closure argument mismatch: " + this._dart_coreimpl_message);
1563 }
1564 _ArgumentMismatchException.prototype.toString$0 = _ArgumentMismatchException.pro totype.toString;
1565 // ********** Code for _FunctionImplementation **************
1566 _FunctionImplementation = Function;
1567 _FunctionImplementation.prototype._genStub = function(argsLength, names) {
1568 // Fast path #1: if no named arguments and arg count matches
1569 if (this.length == argsLength && !names) {
1570 return this;
1571 }
1572
1573 var paramsNamed = this.$optional ? (this.$optional.length / 2) : 0;
1574 var paramsBare = this.length - paramsNamed;
1575 var argsNamed = names ? names.length : 0;
1576 var argsBare = argsLength - argsNamed;
1577
1578 // Check we got the right number of arguments
1579 if (argsBare < paramsBare || argsLength > this.length ||
1580 argsNamed > paramsNamed) {
1581 return function() {
1582 $throw(new _ArgumentMismatchException(
1583 'Wrong number of arguments to function. Expected ' + paramsBare +
1584 ' positional arguments and at most ' + paramsNamed +
1585 ' named arguments, but got ' + argsBare +
1586 ' positional arguments and ' + argsNamed + ' named arguments.'));
1587 };
1588 }
1589
1590 // First, fill in all of the default values
1591 var p = new Array(paramsBare);
1592 if (paramsNamed) {
1593 p = p.concat(this.$optional.slice(paramsNamed));
1594 }
1595 // Fill in positional args
1596 var a = new Array(argsLength);
1597 for (var i = 0; i < argsBare; i++) {
1598 p[i] = a[i] = '$' + i;
1599 }
1600 // Then overwrite with supplied values for optional args
1601 var lastParameterIndex;
1602 var namesInOrder = true;
1603 for (var i = 0; i < argsNamed; i++) {
1604 var name = names[i];
1605 a[i + argsBare] = name;
1606 var j = this.$optional.indexOf(name);
1607 if (j < 0 || j >= paramsNamed) {
1608 return function() {
1609 $throw(new _ArgumentMismatchException(
1610 'Named argument "' + name + '" was not expected by function.' +
1611 ' Did you forget to mark the function parameter [optional]?'));
1612 };
1613 } else if (lastParameterIndex && lastParameterIndex > j) {
1614 namesInOrder = false;
1615 }
1616 p[j + paramsBare] = name;
1617 lastParameterIndex = j;
1618 }
1619
1620 if (this.length == argsLength && namesInOrder) {
1621 // Fast path #2: named arguments, but they're in order and all supplied.
1622 return this;
1623 }
1624
1625 // Note: using Function instead of 'eval' to get a clean scope.
1626 // TODO(jmesserly): evaluate the performance of these stubs.
1627 var f = 'function(' + a.join(',') + '){return $f(' + p.join(',') + ');}';
1628 return new Function('$f', 'return ' + f + '').call(null, this);
1629
1630 }
1631 // ********** Code for top level **************
1632 function _constList(other) {
1633 other.__proto__ = ImmutableList.prototype;
1634 return other;
1635 }
1636 function _map(itemsAndKeys) {
1637 var ret = new LinkedHashMapImplementation();
1638 for (var i = (0);
1639 i < itemsAndKeys.get$length(); ) {
1640 ret.$setindex(itemsAndKeys.$index(i++), itemsAndKeys.$index(i++));
1641 }
1642 return ret;
1643 }
1644 function _constMap(itemsAndKeys) {
1645 return new ImmutableMap(itemsAndKeys);
1646 }
1647 // ********** Library dom **************
1648 // ********** Code for Window **************
1649 // ********** Code for AbstractWorker **************
1650 $dynamic("get$dartObjectLocalStorage").AbstractWorker = function() { return this .dartObjectLocalStorage; };
1651 $dynamic("set$dartObjectLocalStorage").AbstractWorker = function(value) { return this.dartObjectLocalStorage = value; };
1652 $dynamic("addEventListener$3").AbstractWorker = function($0, $1, $2) {
1653 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1654 };
1655 $dynamic("removeEventListener$3").AbstractWorker = function($0, $1, $2) {
1656 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1657 };
1658 // ********** Code for ArrayBuffer **************
1659 $dynamic("get$dartObjectLocalStorage").ArrayBuffer = function() { return this.da rtObjectLocalStorage; };
1660 $dynamic("set$dartObjectLocalStorage").ArrayBuffer = function(value) { return th is.dartObjectLocalStorage = value; };
1661 // ********** Code for ArrayBufferView **************
1662 $dynamic("get$dartObjectLocalStorage").ArrayBufferView = function() { return thi s.dartObjectLocalStorage; };
1663 $dynamic("set$dartObjectLocalStorage").ArrayBufferView = function(value) { retur n this.dartObjectLocalStorage = value; };
1664 // ********** Code for dom_Attr **************
1665 $dynamic("get$value").Attr = function() { return this.value; };
1666 $dynamic("set$value").Attr = function(value) { return this.value = value; };
1667 // ********** Code for AudioBuffer **************
1668 $dynamic("get$length").AudioBuffer = function() { return this.length; };
1669 $dynamic("set$length").AudioBuffer = function(value) { return this.length = valu e; };
1670 $dynamic("get$dartObjectLocalStorage").AudioBuffer = function() { return this.da rtObjectLocalStorage; };
1671 $dynamic("set$dartObjectLocalStorage").AudioBuffer = function(value) { return th is.dartObjectLocalStorage = value; };
1672 // ********** Code for AudioBufferSourceNode **************
1673 // ********** Code for AudioChannelMerger **************
1674 // ********** Code for AudioChannelSplitter **************
1675 // ********** Code for AudioContext **************
1676 $dynamic("get$dartObjectLocalStorage").AudioContext = function() { return this.d artObjectLocalStorage; };
1677 $dynamic("set$dartObjectLocalStorage").AudioContext = function(value) { return t his.dartObjectLocalStorage = value; };
1678 // ********** Code for AudioDestinationNode **************
1679 // ********** Code for AudioGain **************
1680 // ********** Code for AudioGainNode **************
1681 // ********** Code for AudioListener **************
1682 $dynamic("get$dartObjectLocalStorage").AudioListener = function() { return this. dartObjectLocalStorage; };
1683 $dynamic("set$dartObjectLocalStorage").AudioListener = function(value) { return this.dartObjectLocalStorage = value; };
1684 // ********** Code for AudioNode **************
1685 $dynamic("get$dartObjectLocalStorage").AudioNode = function() { return this.dart ObjectLocalStorage; };
1686 $dynamic("set$dartObjectLocalStorage").AudioNode = function(value) { return this .dartObjectLocalStorage = value; };
1687 // ********** Code for AudioPannerNode **************
1688 // ********** Code for AudioParam **************
1689 $dynamic("get$value").AudioParam = function() { return this.value; };
1690 $dynamic("set$value").AudioParam = function(value) { return this.value = value; };
1691 $dynamic("get$dartObjectLocalStorage").AudioParam = function() { return this.dar tObjectLocalStorage; };
1692 $dynamic("set$dartObjectLocalStorage").AudioParam = function(value) { return thi s.dartObjectLocalStorage = value; };
1693 // ********** Code for AudioProcessingEvent **************
1694 // ********** Code for AudioSourceNode **************
1695 // ********** Code for BarInfo **************
1696 $dynamic("get$dartObjectLocalStorage").BarInfo = function() { return this.dartOb jectLocalStorage; };
1697 $dynamic("set$dartObjectLocalStorage").BarInfo = function(value) { return this.d artObjectLocalStorage = value; };
1698 // ********** Code for BeforeLoadEvent **************
1699 // ********** Code for BiquadFilterNode **************
1700 // ********** Code for Blob **************
1701 $dynamic("get$dartObjectLocalStorage").Blob = function() { return this.dartObjec tLocalStorage; };
1702 $dynamic("set$dartObjectLocalStorage").Blob = function(value) { return this.dart ObjectLocalStorage = value; };
1703 // ********** Code for CDATASection **************
1704 // ********** Code for CSSCharsetRule **************
1705 // ********** Code for CSSFontFaceRule **************
1706 $dynamic("get$style").CSSFontFaceRule = function() { return this.style; };
1707 $dynamic("set$style").CSSFontFaceRule = function(value) { return this.style = va lue; };
1708 // ********** Code for CSSImportRule **************
1709 // ********** Code for CSSMediaRule **************
1710 // ********** Code for CSSPageRule **************
1711 $dynamic("get$style").CSSPageRule = function() { return this.style; };
1712 $dynamic("set$style").CSSPageRule = function(value) { return this.style = value; };
1713 // ********** Code for CSSPrimitiveValue **************
1714 // ********** Code for CSSRule **************
1715 $dynamic("get$dartObjectLocalStorage").CSSRule = function() { return this.dartOb jectLocalStorage; };
1716 $dynamic("set$dartObjectLocalStorage").CSSRule = function(value) { return this.d artObjectLocalStorage = value; };
1717 // ********** Code for CSSRuleList **************
1718 $dynamic("get$length").CSSRuleList = function() { return this.length; };
1719 $dynamic("set$length").CSSRuleList = function(value) { return this.length = valu e; };
1720 $dynamic("get$dartObjectLocalStorage").CSSRuleList = function() { return this.da rtObjectLocalStorage; };
1721 $dynamic("set$dartObjectLocalStorage").CSSRuleList = function(value) { return th is.dartObjectLocalStorage = value; };
1722 $dynamic("item$1").CSSRuleList = function($0) {
1723 return this.item($0);
1724 };
1725 // ********** Code for CSSStyleDeclaration **************
1726 $dynamic("get$length").CSSStyleDeclaration = function() { return this.length; };
1727 $dynamic("set$length").CSSStyleDeclaration = function(value) { return this.lengt h = value; };
1728 $dynamic("get$dartObjectLocalStorage").CSSStyleDeclaration = function() { return this.dartObjectLocalStorage; };
1729 $dynamic("set$dartObjectLocalStorage").CSSStyleDeclaration = function(value) { r eturn this.dartObjectLocalStorage = value; };
1730 $dynamic("getPropertyValue$1").CSSStyleDeclaration = function($0) {
1731 return this.getPropertyValue($0);
1732 };
1733 $dynamic("item$1").CSSStyleDeclaration = function($0) {
1734 return this.item($0);
1735 };
1736 $dynamic("setProperty$3").CSSStyleDeclaration = function($0, $1, $2) {
1737 return this.setProperty($0, $1, $2);
1738 };
1739 // ********** Code for CSSStyleRule **************
1740 $dynamic("get$style").CSSStyleRule = function() { return this.style; };
1741 $dynamic("set$style").CSSStyleRule = function(value) { return this.style = value ; };
1742 // ********** Code for CSSStyleSheet **************
1743 // ********** Code for CSSUnknownRule **************
1744 // ********** Code for CSSValue **************
1745 $dynamic("get$dartObjectLocalStorage").CSSValue = function() { return this.dartO bjectLocalStorage; };
1746 $dynamic("set$dartObjectLocalStorage").CSSValue = function(value) { return this. dartObjectLocalStorage = value; };
1747 // ********** Code for CSSValueList **************
1748 $dynamic("get$length").CSSValueList = function() { return this.length; };
1749 $dynamic("set$length").CSSValueList = function(value) { return this.length = val ue; };
1750 $dynamic("item$1").CSSValueList = function($0) {
1751 return this.item($0);
1752 };
1753 // ********** Code for CanvasGradient **************
1754 $dynamic("get$dartObjectLocalStorage").CanvasGradient = function() { return this .dartObjectLocalStorage; };
1755 $dynamic("set$dartObjectLocalStorage").CanvasGradient = function(value) { return this.dartObjectLocalStorage = value; };
1756 // ********** Code for CanvasPattern **************
1757 $dynamic("get$dartObjectLocalStorage").CanvasPattern = function() { return this. dartObjectLocalStorage; };
1758 $dynamic("set$dartObjectLocalStorage").CanvasPattern = function(value) { return this.dartObjectLocalStorage = value; };
1759 // ********** Code for CanvasPixelArray **************
1760 $dynamic("get$length").CanvasPixelArray = function() { return this.length; };
1761 $dynamic("set$length").CanvasPixelArray = function(value) { return this.length = value; };
1762 $dynamic("get$dartObjectLocalStorage").CanvasPixelArray = function() { return th is.dartObjectLocalStorage; };
1763 $dynamic("set$dartObjectLocalStorage").CanvasPixelArray = function(value) { retu rn this.dartObjectLocalStorage = value; };
1764 // ********** Code for CanvasRenderingContext **************
1765 $dynamic("get$dartObjectLocalStorage").CanvasRenderingContext = function() { ret urn this.dartObjectLocalStorage; };
1766 $dynamic("set$dartObjectLocalStorage").CanvasRenderingContext = function(value) { return this.dartObjectLocalStorage = value; };
1767 // ********** Code for CanvasRenderingContext2D **************
1768 $dynamic("get$transform").CanvasRenderingContext2D = function() {
1769 return this.transform.bind(this);
1770 }
1771 // ********** Code for CharacterData **************
1772 $dynamic("get$length").CharacterData = function() { return this.length; };
1773 $dynamic("set$length").CharacterData = function(value) { return this.length = va lue; };
1774 // ********** Code for ClientRect **************
1775 $dynamic("get$dartObjectLocalStorage").ClientRect = function() { return this.dar tObjectLocalStorage; };
1776 $dynamic("set$dartObjectLocalStorage").ClientRect = function(value) { return thi s.dartObjectLocalStorage = value; };
1777 // ********** Code for ClientRectList **************
1778 $dynamic("get$length").ClientRectList = function() { return this.length; };
1779 $dynamic("set$length").ClientRectList = function(value) { return this.length = v alue; };
1780 $dynamic("get$dartObjectLocalStorage").ClientRectList = function() { return this .dartObjectLocalStorage; };
1781 $dynamic("set$dartObjectLocalStorage").ClientRectList = function(value) { return this.dartObjectLocalStorage = value; };
1782 $dynamic("item$1").ClientRectList = function($0) {
1783 return this.item($0);
1784 };
1785 // ********** Code for Clipboard **************
1786 $dynamic("get$dartObjectLocalStorage").Clipboard = function() { return this.dart ObjectLocalStorage; };
1787 $dynamic("set$dartObjectLocalStorage").Clipboard = function(value) { return this .dartObjectLocalStorage = value; };
1788 // ********** Code for CloseEvent **************
1789 // ********** Code for Comment **************
1790 // ********** Code for CompositionEvent **************
1791 // ********** Code for Console **************
1792 Console = (typeof console == 'undefined' ? {} : console);
1793 Console.get$dartObjectLocalStorage = function() { return this.dartObjectLocalSto rage; };
1794 Console.set$dartObjectLocalStorage = function(value) { return this.dartObjectLoc alStorage = value; };
1795 // ********** Code for ConvolverNode **************
1796 // ********** Code for Coordinates **************
1797 $dynamic("get$dartObjectLocalStorage").Coordinates = function() { return this.da rtObjectLocalStorage; };
1798 $dynamic("set$dartObjectLocalStorage").Coordinates = function(value) { return th is.dartObjectLocalStorage = value; };
1799 // ********** Code for Counter **************
1800 $dynamic("get$dartObjectLocalStorage").Counter = function() { return this.dartOb jectLocalStorage; };
1801 $dynamic("set$dartObjectLocalStorage").Counter = function(value) { return this.d artObjectLocalStorage = value; };
1802 // ********** Code for Crypto **************
1803 $dynamic("get$dartObjectLocalStorage").Crypto = function() { return this.dartObj ectLocalStorage; };
1804 $dynamic("set$dartObjectLocalStorage").Crypto = function(value) { return this.da rtObjectLocalStorage = value; };
1805 // ********** Code for CustomEvent **************
1806 // ********** Code for DOMApplicationCache **************
1807 $dynamic("get$dartObjectLocalStorage").DOMApplicationCache = function() { return this.dartObjectLocalStorage; };
1808 $dynamic("set$dartObjectLocalStorage").DOMApplicationCache = function(value) { r eturn this.dartObjectLocalStorage = value; };
1809 $dynamic("addEventListener$3").DOMApplicationCache = function($0, $1, $2) {
1810 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1811 };
1812 $dynamic("removeEventListener$3").DOMApplicationCache = function($0, $1, $2) {
1813 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1814 };
1815 // ********** Code for DOMException **************
1816 $dynamic("get$dartObjectLocalStorage").DOMException = function() { return this.d artObjectLocalStorage; };
1817 $dynamic("set$dartObjectLocalStorage").DOMException = function(value) { return t his.dartObjectLocalStorage = value; };
1818 $dynamic("toString$0").DOMException = function() {
1819 return this.toString();
1820 };
1821 // ********** Code for DOMFileSystem **************
1822 $dynamic("get$dartObjectLocalStorage").DOMFileSystem = function() { return this. dartObjectLocalStorage; };
1823 $dynamic("set$dartObjectLocalStorage").DOMFileSystem = function(value) { return this.dartObjectLocalStorage = value; };
1824 // ********** Code for DOMFileSystemSync **************
1825 $dynamic("get$dartObjectLocalStorage").DOMFileSystemSync = function() { return t his.dartObjectLocalStorage; };
1826 $dynamic("set$dartObjectLocalStorage").DOMFileSystemSync = function(value) { ret urn this.dartObjectLocalStorage = value; };
1827 // ********** Code for DOMFormData **************
1828 $dynamic("get$dartObjectLocalStorage").DOMFormData = function() { return this.da rtObjectLocalStorage; };
1829 $dynamic("set$dartObjectLocalStorage").DOMFormData = function(value) { return th is.dartObjectLocalStorage = value; };
1830 // ********** Code for dom_DOMImplementation **************
1831 $dynamic("get$dartObjectLocalStorage").DOMImplementation = function() { return t his.dartObjectLocalStorage; };
1832 $dynamic("set$dartObjectLocalStorage").DOMImplementation = function(value) { ret urn this.dartObjectLocalStorage = value; };
1833 // ********** Code for DOMMimeType **************
1834 $dynamic("get$dartObjectLocalStorage").DOMMimeType = function() { return this.da rtObjectLocalStorage; };
1835 $dynamic("set$dartObjectLocalStorage").DOMMimeType = function(value) { return th is.dartObjectLocalStorage = value; };
1836 // ********** Code for DOMMimeTypeArray **************
1837 $dynamic("get$length").DOMMimeTypeArray = function() { return this.length; };
1838 $dynamic("set$length").DOMMimeTypeArray = function(value) { return this.length = value; };
1839 $dynamic("get$dartObjectLocalStorage").DOMMimeTypeArray = function() { return th is.dartObjectLocalStorage; };
1840 $dynamic("set$dartObjectLocalStorage").DOMMimeTypeArray = function(value) { retu rn this.dartObjectLocalStorage = value; };
1841 $dynamic("item$1").DOMMimeTypeArray = function($0) {
1842 return this.item($0);
1843 };
1844 // ********** Code for DOMParser **************
1845 $dynamic("get$dartObjectLocalStorage").DOMParser = function() { return this.dart ObjectLocalStorage; };
1846 $dynamic("set$dartObjectLocalStorage").DOMParser = function(value) { return this .dartObjectLocalStorage = value; };
1847 // ********** Code for DOMPlugin **************
1848 $dynamic("get$length").DOMPlugin = function() { return this.length; };
1849 $dynamic("set$length").DOMPlugin = function(value) { return this.length = value; };
1850 $dynamic("get$dartObjectLocalStorage").DOMPlugin = function() { return this.dart ObjectLocalStorage; };
1851 $dynamic("set$dartObjectLocalStorage").DOMPlugin = function(value) { return this .dartObjectLocalStorage = value; };
1852 $dynamic("item$1").DOMPlugin = function($0) {
1853 return this.item($0);
1854 };
1855 // ********** Code for DOMPluginArray **************
1856 $dynamic("get$length").DOMPluginArray = function() { return this.length; };
1857 $dynamic("set$length").DOMPluginArray = function(value) { return this.length = v alue; };
1858 $dynamic("get$dartObjectLocalStorage").DOMPluginArray = function() { return this .dartObjectLocalStorage; };
1859 $dynamic("set$dartObjectLocalStorage").DOMPluginArray = function(value) { return this.dartObjectLocalStorage = value; };
1860 $dynamic("item$1").DOMPluginArray = function($0) {
1861 return this.item($0);
1862 };
1863 // ********** Code for DOMSelection **************
1864 $dynamic("get$dartObjectLocalStorage").DOMSelection = function() { return this.d artObjectLocalStorage; };
1865 $dynamic("set$dartObjectLocalStorage").DOMSelection = function(value) { return t his.dartObjectLocalStorage = value; };
1866 $dynamic("toString$0").DOMSelection = function() {
1867 return this.toString();
1868 };
1869 // ********** Code for DOMSettableTokenList **************
1870 $dynamic("get$value").DOMSettableTokenList = function() { return this.value; };
1871 $dynamic("set$value").DOMSettableTokenList = function(value) { return this.value = value; };
1872 // ********** Code for DOMTokenList **************
1873 $dynamic("get$length").DOMTokenList = function() { return this.length; };
1874 $dynamic("set$length").DOMTokenList = function(value) { return this.length = val ue; };
1875 $dynamic("get$dartObjectLocalStorage").DOMTokenList = function() { return this.d artObjectLocalStorage; };
1876 $dynamic("set$dartObjectLocalStorage").DOMTokenList = function(value) { return t his.dartObjectLocalStorage = value; };
1877 $dynamic("add$1").DOMTokenList = function($0) {
1878 return this.add($0);
1879 };
1880 $dynamic("item$1").DOMTokenList = function($0) {
1881 return this.item($0);
1882 };
1883 $dynamic("remove$1").DOMTokenList = function($0) {
1884 return this.remove($0);
1885 };
1886 $dynamic("toString$0").DOMTokenList = function() {
1887 return this.toString();
1888 };
1889 // ********** Code for DOMURL **************
1890 $dynamic("get$dartObjectLocalStorage").DOMURL = function() { return this.dartObj ectLocalStorage; };
1891 $dynamic("set$dartObjectLocalStorage").DOMURL = function(value) { return this.da rtObjectLocalStorage = value; };
1892 // ********** Code for dom_DOMWindow **************
1893 $dynamic("get$length").DOMWindow = function() { return this.length; };
1894 $dynamic("set$length").DOMWindow = function(value) { return this.length = value; };
1895 $dynamic("get$navigator").DOMWindow = function() { return this.navigator; };
1896 $dynamic("set$navigator").DOMWindow = function(value) { return this.navigator = value; };
1897 $dynamic("get$dartObjectLocalStorage").DOMWindow = function() { return this.dart ObjectLocalStorage; };
1898 $dynamic("set$dartObjectLocalStorage").DOMWindow = function(value) { return this .dartObjectLocalStorage = value; };
1899 $dynamic("addEventListener$3").DOMWindow = function($0, $1, $2) {
1900 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1901 };
1902 $dynamic("postMessage$2").DOMWindow = function($0, $1) {
1903 return this.postMessage($0, $1);
1904 };
1905 $dynamic("postMessage$3").DOMWindow = function($0, $1, $2) {
1906 return this.postMessage($0, $1, $2);
1907 };
1908 $dynamic("removeEventListener$3").DOMWindow = function($0, $1, $2) {
1909 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
1910 };
1911 $dynamic("setTimeout$2").DOMWindow = function($0, $1) {
1912 return this.setTimeout($wrap_call$0(to$call$0($0)), $1);
1913 };
1914 // ********** Code for DataTransferItem **************
1915 $dynamic("get$dartObjectLocalStorage").DataTransferItem = function() { return th is.dartObjectLocalStorage; };
1916 $dynamic("set$dartObjectLocalStorage").DataTransferItem = function(value) { retu rn this.dartObjectLocalStorage = value; };
1917 // ********** Code for DataTransferItemList **************
1918 $dynamic("get$length").DataTransferItemList = function() { return this.length; } ;
1919 $dynamic("set$length").DataTransferItemList = function(value) { return this.leng th = value; };
1920 $dynamic("get$clear").DataTransferItemList = function() {
1921 return this.clear.bind(this);
1922 }
1923 $dynamic("get$dartObjectLocalStorage").DataTransferItemList = function() { retur n this.dartObjectLocalStorage; };
1924 $dynamic("set$dartObjectLocalStorage").DataTransferItemList = function(value) { return this.dartObjectLocalStorage = value; };
1925 $dynamic("clear$0").DataTransferItemList = function() {
1926 return this.clear();
1927 };
1928 $dynamic("item$1").DataTransferItemList = function($0) {
1929 return this.item($0);
1930 };
1931 // ********** Code for DataView **************
1932 // ********** Code for dom_Database **************
1933 $dynamic("get$dartObjectLocalStorage").Database = function() { return this.dartO bjectLocalStorage; };
1934 $dynamic("set$dartObjectLocalStorage").Database = function(value) { return this. dartObjectLocalStorage = value; };
1935 // ********** Code for dom_DatabaseSync **************
1936 $dynamic("get$dartObjectLocalStorage").DatabaseSync = function() { return this.d artObjectLocalStorage; };
1937 $dynamic("set$dartObjectLocalStorage").DatabaseSync = function(value) { return t his.dartObjectLocalStorage = value; };
1938 // ********** Code for dom_DedicatedWorkerContext **************
1939 $dynamic("postMessage$1").DedicatedWorkerContext = function($0) {
1940 return this.postMessage($0);
1941 };
1942 $dynamic("postMessage$2").DedicatedWorkerContext = function($0, $1) {
1943 return this.postMessage($0, $1);
1944 };
1945 // ********** Code for DelayNode **************
1946 // ********** Code for DeviceMotionEvent **************
1947 // ********** Code for DeviceOrientationEvent **************
1948 // ********** Code for DirectoryEntry **************
1949 // ********** Code for DirectoryEntrySync **************
1950 // ********** Code for DirectoryReader **************
1951 $dynamic("get$dartObjectLocalStorage").DirectoryReader = function() { return thi s.dartObjectLocalStorage; };
1952 $dynamic("set$dartObjectLocalStorage").DirectoryReader = function(value) { retur n this.dartObjectLocalStorage = value; };
1953 // ********** Code for DirectoryReaderSync **************
1954 $dynamic("get$dartObjectLocalStorage").DirectoryReaderSync = function() { return this.dartObjectLocalStorage; };
1955 $dynamic("set$dartObjectLocalStorage").DirectoryReaderSync = function(value) { r eturn this.dartObjectLocalStorage = value; };
1956 // ********** Code for Document **************
1957 $dynamic("get$documentElement").Document = function() { return this.documentElem ent; };
1958 $dynamic("set$documentElement").Document = function(value) { return this.documen tElement = value; };
1959 $dynamic("get$readyState").Document = function() { return this.readyState; };
1960 $dynamic("set$readyState").Document = function(value) { return this.readyState = value; };
1961 $dynamic("querySelector$1").Document = function($0) {
1962 return this.querySelector($0);
1963 };
1964 $dynamic("querySelectorAll$1").Document = function($0) {
1965 return this.querySelectorAll($0);
1966 };
1967 // ********** Code for DocumentFragment **************
1968 $dynamic("querySelector$1").DocumentFragment = function($0) {
1969 return this.querySelector($0);
1970 };
1971 $dynamic("querySelectorAll$1").DocumentFragment = function($0) {
1972 return this.querySelectorAll($0);
1973 };
1974 // ********** Code for dom_DocumentType **************
1975 // ********** Code for DynamicsCompressorNode **************
1976 // ********** Code for Element **************
1977 $dynamic("get$childElementCount").Element = function() { return this.childElemen tCount; };
1978 $dynamic("set$childElementCount").Element = function(value) { return this.childE lementCount = value; };
1979 $dynamic("get$firstElementChild").Element = function() { return this.firstElemen tChild; };
1980 $dynamic("set$firstElementChild").Element = function(value) { return this.firstE lementChild = value; };
1981 $dynamic("get$lastElementChild").Element = function() { return this.lastElementC hild; };
1982 $dynamic("set$lastElementChild").Element = function(value) { return this.lastEle mentChild = value; };
1983 $dynamic("get$nextElementSibling").Element = function() { return this.nextElemen tSibling; };
1984 $dynamic("set$nextElementSibling").Element = function(value) { return this.nextE lementSibling = value; };
1985 $dynamic("get$previousElementSibling").Element = function() { return this.previo usElementSibling; };
1986 $dynamic("set$previousElementSibling").Element = function(value) { return this.p reviousElementSibling = value; };
1987 $dynamic("get$style").Element = function() { return this.style; };
1988 $dynamic("set$style").Element = function(value) { return this.style = value; };
1989 $dynamic("querySelector$1").Element = function($0) {
1990 return this.querySelector($0);
1991 };
1992 $dynamic("querySelectorAll$1").Element = function($0) {
1993 return this.querySelectorAll($0);
1994 };
1995 // ********** Code for ElementTimeControl **************
1996 $dynamic("get$dartObjectLocalStorage").ElementTimeControl = function() { return this.dartObjectLocalStorage; };
1997 $dynamic("set$dartObjectLocalStorage").ElementTimeControl = function(value) { re turn this.dartObjectLocalStorage = value; };
1998 // ********** Code for dom_ElementTraversal **************
1999 $dynamic("get$childElementCount").ElementTraversal = function() { return this.ch ildElementCount; };
2000 $dynamic("set$childElementCount").ElementTraversal = function(value) { return th is.childElementCount = value; };
2001 $dynamic("get$firstElementChild").ElementTraversal = function() { return this.fi rstElementChild; };
2002 $dynamic("set$firstElementChild").ElementTraversal = function(value) { return th is.firstElementChild = value; };
2003 $dynamic("get$lastElementChild").ElementTraversal = function() { return this.las tElementChild; };
2004 $dynamic("set$lastElementChild").ElementTraversal = function(value) { return thi s.lastElementChild = value; };
2005 $dynamic("get$nextElementSibling").ElementTraversal = function() { return this.n extElementSibling; };
2006 $dynamic("set$nextElementSibling").ElementTraversal = function(value) { return t his.nextElementSibling = value; };
2007 $dynamic("get$previousElementSibling").ElementTraversal = function() { return th is.previousElementSibling; };
2008 $dynamic("set$previousElementSibling").ElementTraversal = function(value) { retu rn this.previousElementSibling = value; };
2009 $dynamic("get$dartObjectLocalStorage").ElementTraversal = function() { return th is.dartObjectLocalStorage; };
2010 $dynamic("set$dartObjectLocalStorage").ElementTraversal = function(value) { retu rn this.dartObjectLocalStorage = value; };
2011 // ********** Code for Entity **************
2012 // ********** Code for EntityReference **************
2013 // ********** Code for Entry **************
2014 $dynamic("get$dartObjectLocalStorage").Entry = function() { return this.dartObje ctLocalStorage; };
2015 $dynamic("set$dartObjectLocalStorage").Entry = function(value) { return this.dar tObjectLocalStorage = value; };
2016 $dynamic("remove$1").Entry = function($0) {
2017 return this.remove($wrap_call$0(to$call$0($0)), $wrap_call$1(to$call$1(null))) ;
2018 };
2019 // ********** Code for EntryArray **************
2020 $dynamic("get$length").EntryArray = function() { return this.length; };
2021 $dynamic("set$length").EntryArray = function(value) { return this.length = value ; };
2022 $dynamic("get$dartObjectLocalStorage").EntryArray = function() { return this.dar tObjectLocalStorage; };
2023 $dynamic("set$dartObjectLocalStorage").EntryArray = function(value) { return thi s.dartObjectLocalStorage = value; };
2024 $dynamic("item$1").EntryArray = function($0) {
2025 return this.item($0);
2026 };
2027 // ********** Code for EntryArraySync **************
2028 $dynamic("get$length").EntryArraySync = function() { return this.length; };
2029 $dynamic("set$length").EntryArraySync = function(value) { return this.length = v alue; };
2030 $dynamic("get$dartObjectLocalStorage").EntryArraySync = function() { return this .dartObjectLocalStorage; };
2031 $dynamic("set$dartObjectLocalStorage").EntryArraySync = function(value) { return this.dartObjectLocalStorage = value; };
2032 $dynamic("item$1").EntryArraySync = function($0) {
2033 return this.item($0);
2034 };
2035 // ********** Code for EntrySync **************
2036 $dynamic("get$dartObjectLocalStorage").EntrySync = function() { return this.dart ObjectLocalStorage; };
2037 $dynamic("set$dartObjectLocalStorage").EntrySync = function(value) { return this .dartObjectLocalStorage = value; };
2038 $dynamic("remove$0").EntrySync = function() {
2039 return this.remove();
2040 };
2041 // ********** Code for ErrorEvent **************
2042 // ********** Code for Event **************
2043 $dynamic("get$target").Event = function() { return this.target; };
2044 $dynamic("set$target").Event = function(value) { return this.target = value; };
2045 $dynamic("get$dartObjectLocalStorage").Event = function() { return this.dartObje ctLocalStorage; };
2046 $dynamic("set$dartObjectLocalStorage").Event = function(value) { return this.dar tObjectLocalStorage = value; };
2047 $dynamic("preventDefault$0").Event = function() {
2048 return this.preventDefault();
2049 };
2050 // ********** Code for EventException **************
2051 $dynamic("get$dartObjectLocalStorage").EventException = function() { return this .dartObjectLocalStorage; };
2052 $dynamic("set$dartObjectLocalStorage").EventException = function(value) { return this.dartObjectLocalStorage = value; };
2053 $dynamic("toString$0").EventException = function() {
2054 return this.toString();
2055 };
2056 // ********** Code for EventSource **************
2057 $dynamic("get$readyState").EventSource = function() { return this.readyState; };
2058 $dynamic("set$readyState").EventSource = function(value) { return this.readyStat e = value; };
2059 $dynamic("get$dartObjectLocalStorage").EventSource = function() { return this.da rtObjectLocalStorage; };
2060 $dynamic("set$dartObjectLocalStorage").EventSource = function(value) { return th is.dartObjectLocalStorage = value; };
2061 $dynamic("addEventListener$3").EventSource = function($0, $1, $2) {
2062 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2063 };
2064 $dynamic("removeEventListener$3").EventSource = function($0, $1, $2) {
2065 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2066 };
2067 // ********** Code for EventTarget **************
2068 $dynamic("get$dartObjectLocalStorage").EventTarget = function() { return this.da rtObjectLocalStorage; };
2069 $dynamic("set$dartObjectLocalStorage").EventTarget = function(value) { return th is.dartObjectLocalStorage = value; };
2070 $dynamic("addEventListener$3").EventTarget = function($0, $1, $2) {
2071 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2072 };
2073 $dynamic("removeEventListener$3").EventTarget = function($0, $1, $2) {
2074 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2075 };
2076 // ********** Code for File **************
2077 // ********** Code for FileEntry **************
2078 // ********** Code for FileEntrySync **************
2079 // ********** Code for FileError **************
2080 $dynamic("get$dartObjectLocalStorage").FileError = function() { return this.dart ObjectLocalStorage; };
2081 $dynamic("set$dartObjectLocalStorage").FileError = function(value) { return this .dartObjectLocalStorage = value; };
2082 // ********** Code for FileException **************
2083 $dynamic("get$dartObjectLocalStorage").FileException = function() { return this. dartObjectLocalStorage; };
2084 $dynamic("set$dartObjectLocalStorage").FileException = function(value) { return this.dartObjectLocalStorage = value; };
2085 $dynamic("toString$0").FileException = function() {
2086 return this.toString();
2087 };
2088 // ********** Code for FileList **************
2089 $dynamic("get$length").FileList = function() { return this.length; };
2090 $dynamic("set$length").FileList = function(value) { return this.length = value; };
2091 $dynamic("get$dartObjectLocalStorage").FileList = function() { return this.dartO bjectLocalStorage; };
2092 $dynamic("set$dartObjectLocalStorage").FileList = function(value) { return this. dartObjectLocalStorage = value; };
2093 $dynamic("item$1").FileList = function($0) {
2094 return this.item($0);
2095 };
2096 // ********** Code for FileReader **************
2097 $dynamic("get$readyState").FileReader = function() { return this.readyState; };
2098 $dynamic("set$readyState").FileReader = function(value) { return this.readyState = value; };
2099 $dynamic("get$dartObjectLocalStorage").FileReader = function() { return this.dar tObjectLocalStorage; };
2100 $dynamic("set$dartObjectLocalStorage").FileReader = function(value) { return thi s.dartObjectLocalStorage = value; };
2101 $dynamic("addEventListener$3").FileReader = function($0, $1, $2) {
2102 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2103 };
2104 $dynamic("removeEventListener$3").FileReader = function($0, $1, $2) {
2105 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2106 };
2107 // ********** Code for FileReaderSync **************
2108 $dynamic("get$dartObjectLocalStorage").FileReaderSync = function() { return this .dartObjectLocalStorage; };
2109 $dynamic("set$dartObjectLocalStorage").FileReaderSync = function(value) { return this.dartObjectLocalStorage = value; };
2110 // ********** Code for FileWriter **************
2111 $dynamic("get$length").FileWriter = function() { return this.length; };
2112 $dynamic("set$length").FileWriter = function(value) { return this.length = value ; };
2113 $dynamic("get$readyState").FileWriter = function() { return this.readyState; };
2114 $dynamic("set$readyState").FileWriter = function(value) { return this.readyState = value; };
2115 $dynamic("get$dartObjectLocalStorage").FileWriter = function() { return this.dar tObjectLocalStorage; };
2116 $dynamic("set$dartObjectLocalStorage").FileWriter = function(value) { return thi s.dartObjectLocalStorage = value; };
2117 // ********** Code for FileWriterSync **************
2118 $dynamic("get$length").FileWriterSync = function() { return this.length; };
2119 $dynamic("set$length").FileWriterSync = function(value) { return this.length = v alue; };
2120 $dynamic("get$dartObjectLocalStorage").FileWriterSync = function() { return this .dartObjectLocalStorage; };
2121 $dynamic("set$dartObjectLocalStorage").FileWriterSync = function(value) { return this.dartObjectLocalStorage = value; };
2122 // ********** Code for Float32Array **************
2123 $dynamic("get$length").Float32Array = function() { return this.length; };
2124 $dynamic("set$length").Float32Array = function(value) { return this.length = val ue; };
2125 // ********** Code for Float64Array **************
2126 $dynamic("get$length").Float64Array = function() { return this.length; };
2127 $dynamic("set$length").Float64Array = function(value) { return this.length = val ue; };
2128 // ********** Code for Geolocation **************
2129 $dynamic("get$dartObjectLocalStorage").Geolocation = function() { return this.da rtObjectLocalStorage; };
2130 $dynamic("set$dartObjectLocalStorage").Geolocation = function(value) { return th is.dartObjectLocalStorage = value; };
2131 // ********** Code for Geoposition **************
2132 $dynamic("get$dartObjectLocalStorage").Geoposition = function() { return this.da rtObjectLocalStorage; };
2133 $dynamic("set$dartObjectLocalStorage").Geoposition = function(value) { return th is.dartObjectLocalStorage = value; };
2134 // ********** Code for HTMLAllCollection **************
2135 $dynamic("get$length").HTMLAllCollection = function() { return this.length; };
2136 $dynamic("set$length").HTMLAllCollection = function(value) { return this.length = value; };
2137 $dynamic("get$dartObjectLocalStorage").HTMLAllCollection = function() { return t his.dartObjectLocalStorage; };
2138 $dynamic("set$dartObjectLocalStorage").HTMLAllCollection = function(value) { ret urn this.dartObjectLocalStorage = value; };
2139 $dynamic("item$1").HTMLAllCollection = function($0) {
2140 return this.item($0);
2141 };
2142 // ********** Code for dom_HTMLAnchorElement **************
2143 $dynamic("get$target").HTMLAnchorElement = function() { return this.target; };
2144 $dynamic("set$target").HTMLAnchorElement = function(value) { return this.target = value; };
2145 $dynamic("get$text").HTMLAnchorElement = function() { return this.text; };
2146 $dynamic("set$text").HTMLAnchorElement = function(value) { return this.text = va lue; };
2147 $dynamic("toString$0").HTMLAnchorElement = function() {
2148 return this.toString();
2149 };
2150 // ********** Code for dom_HTMLAppletElement **************
2151 // ********** Code for dom_HTMLAreaElement **************
2152 $dynamic("get$target").HTMLAreaElement = function() { return this.target; };
2153 $dynamic("set$target").HTMLAreaElement = function(value) { return this.target = value; };
2154 // ********** Code for dom_HTMLAudioElement **************
2155 // ********** Code for dom_HTMLBRElement **************
2156 $dynamic("get$clear").HTMLBRElement = function() { return this.clear; };
2157 $dynamic("set$clear").HTMLBRElement = function(value) { return this.clear = valu e; };
2158 $dynamic("clear$0").HTMLBRElement = function() {
2159 return this.clear.call$0();
2160 };
2161 // ********** Code for dom_HTMLBaseElement **************
2162 $dynamic("get$target").HTMLBaseElement = function() { return this.target; };
2163 $dynamic("set$target").HTMLBaseElement = function(value) { return this.target = value; };
2164 // ********** Code for dom_HTMLBaseFontElement **************
2165 // ********** Code for dom_HTMLBodyElement **************
2166 $dynamic("get$text").HTMLBodyElement = function() { return this.text; };
2167 $dynamic("set$text").HTMLBodyElement = function(value) { return this.text = valu e; };
2168 // ********** Code for dom_HTMLButtonElement **************
2169 $dynamic("get$value").HTMLButtonElement = function() { return this.value; };
2170 $dynamic("set$value").HTMLButtonElement = function(value) { return this.value = value; };
2171 $dynamic("get$click").HTMLButtonElement = function() {
2172 return this.click.bind(this);
2173 }
2174 $dynamic("click$0").HTMLButtonElement = function() {
2175 return this.click();
2176 };
2177 // ********** Code for dom_HTMLCanvasElement **************
2178 // ********** Code for dom_HTMLCollection **************
2179 $dynamic("get$length").HTMLCollection = function() { return this.length; };
2180 $dynamic("set$length").HTMLCollection = function(value) { return this.length = v alue; };
2181 $dynamic("$setindex").HTMLCollection = function(index, value) {
2182 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2183 }
2184 $dynamic("get$dartObjectLocalStorage").HTMLCollection = function() { return this .dartObjectLocalStorage; };
2185 $dynamic("set$dartObjectLocalStorage").HTMLCollection = function(value) { return this.dartObjectLocalStorage = value; };
2186 $dynamic("item$1").HTMLCollection = function($0) {
2187 if (Object.getPrototypeOf(this).hasOwnProperty("item$1")) {
2188 return this.item($0);
2189 }
2190 return Object.prototype.item$1.call(this, $0);
2191 };
2192 // ********** Code for dom_HTMLDListElement **************
2193 // ********** Code for dom_HTMLDataListElement **************
2194 // ********** Code for dom_HTMLDetailsElement **************
2195 // ********** Code for dom_HTMLDirectoryElement **************
2196 // ********** Code for dom_HTMLDivElement **************
2197 // ********** Code for dom_HTMLDocument **************
2198 $dynamic("get$clear").HTMLDocument = function() {
2199 return this.clear.bind(this);
2200 }
2201 $dynamic("clear$0").HTMLDocument = function() {
2202 return this.clear();
2203 };
2204 // ********** Code for dom_HTMLElement **************
2205 $dynamic("get$children").HTMLElement = function() { return this.children; };
2206 $dynamic("set$children").HTMLElement = function(value) { return this.children = value; };
2207 $dynamic("get$className").HTMLElement = function() { return this.className; };
2208 $dynamic("set$className").HTMLElement = function(value) { return this.className = value; };
2209 $dynamic("get$innerHTML").HTMLElement = function() { return this.innerHTML; };
2210 $dynamic("set$innerHTML").HTMLElement = function(value) { return this.innerHTML = value; };
2211 // ********** Code for dom_HTMLEmbedElement **************
2212 // ********** Code for dom_HTMLFieldSetElement **************
2213 // ********** Code for dom_HTMLFontElement **************
2214 // ********** Code for dom_HTMLFormElement **************
2215 $dynamic("get$elements").HTMLFormElement = function() { return this.elements; };
2216 $dynamic("set$elements").HTMLFormElement = function(value) { return this.element s = value; };
2217 $dynamic("get$length").HTMLFormElement = function() { return this.length; };
2218 $dynamic("set$length").HTMLFormElement = function(value) { return this.length = value; };
2219 $dynamic("get$target").HTMLFormElement = function() { return this.target; };
2220 $dynamic("set$target").HTMLFormElement = function(value) { return this.target = value; };
2221 // ********** Code for dom_HTMLFrameElement **************
2222 // ********** Code for dom_HTMLFrameSetElement **************
2223 // ********** Code for dom_HTMLHRElement **************
2224 // ********** Code for dom_HTMLHeadElement **************
2225 // ********** Code for dom_HTMLHeadingElement **************
2226 // ********** Code for dom_HTMLHtmlElement **************
2227 // ********** Code for dom_HTMLIFrameElement **************
2228 // ********** Code for dom_HTMLImageElement **************
2229 // ********** Code for dom_HTMLInputElement **************
2230 $dynamic("get$value").HTMLInputElement = function() { return this.value; };
2231 $dynamic("set$value").HTMLInputElement = function(value) { return this.value = v alue; };
2232 $dynamic("get$click").HTMLInputElement = function() {
2233 return this.click.bind(this);
2234 }
2235 $dynamic("click$0").HTMLInputElement = function() {
2236 return this.click();
2237 };
2238 // ********** Code for dom_HTMLIsIndexElement **************
2239 // ********** Code for dom_HTMLKeygenElement **************
2240 // ********** Code for dom_HTMLLIElement **************
2241 $dynamic("get$value").HTMLLIElement = function() { return this.value; };
2242 $dynamic("set$value").HTMLLIElement = function(value) { return this.value = valu e; };
2243 // ********** Code for dom_HTMLLabelElement **************
2244 // ********** Code for dom_HTMLLegendElement **************
2245 // ********** Code for dom_HTMLLinkElement **************
2246 $dynamic("get$target").HTMLLinkElement = function() { return this.target; };
2247 $dynamic("set$target").HTMLLinkElement = function(value) { return this.target = value; };
2248 // ********** Code for dom_HTMLMapElement **************
2249 // ********** Code for dom_HTMLMarqueeElement **************
2250 // ********** Code for dom_HTMLMediaElement **************
2251 $dynamic("get$readyState").HTMLMediaElement = function() { return this.readyStat e; };
2252 $dynamic("set$readyState").HTMLMediaElement = function(value) { return this.read yState = value; };
2253 // ********** Code for dom_HTMLMenuElement **************
2254 // ********** Code for dom_HTMLMetaElement **************
2255 // ********** Code for dom_HTMLMeterElement **************
2256 $dynamic("get$value").HTMLMeterElement = function() { return this.value; };
2257 $dynamic("set$value").HTMLMeterElement = function(value) { return this.value = v alue; };
2258 // ********** Code for dom_HTMLModElement **************
2259 // ********** Code for dom_HTMLOListElement **************
2260 // ********** Code for dom_HTMLObjectElement **************
2261 // ********** Code for dom_HTMLOptGroupElement **************
2262 // ********** Code for dom_HTMLOptionElement **************
2263 $dynamic("get$text").HTMLOptionElement = function() { return this.text; };
2264 $dynamic("set$text").HTMLOptionElement = function(value) { return this.text = va lue; };
2265 $dynamic("get$value").HTMLOptionElement = function() { return this.value; };
2266 $dynamic("set$value").HTMLOptionElement = function(value) { return this.value = value; };
2267 // ********** Code for dom_HTMLOptionsCollection **************
2268 $dynamic("get$length").HTMLOptionsCollection = function() { return this.length; };
2269 $dynamic("set$length").HTMLOptionsCollection = function(value) { return this.len gth = value; };
2270 $dynamic("remove$1").HTMLOptionsCollection = function($0) {
2271 return this.remove($0);
2272 };
2273 // ********** Code for dom_HTMLOutputElement **************
2274 $dynamic("get$value").HTMLOutputElement = function() { return this.value; };
2275 $dynamic("set$value").HTMLOutputElement = function(value) { return this.value = value; };
2276 // ********** Code for dom_HTMLParagraphElement **************
2277 // ********** Code for dom_HTMLParamElement **************
2278 $dynamic("get$value").HTMLParamElement = function() { return this.value; };
2279 $dynamic("set$value").HTMLParamElement = function(value) { return this.value = v alue; };
2280 // ********** Code for dom_HTMLPreElement **************
2281 // ********** Code for dom_HTMLProgressElement **************
2282 $dynamic("get$value").HTMLProgressElement = function() { return this.value; };
2283 $dynamic("set$value").HTMLProgressElement = function(value) { return this.value = value; };
2284 // ********** Code for dom_HTMLPropertiesCollection **************
2285 $dynamic("get$length").HTMLPropertiesCollection = function() { return this.lengt h; };
2286 $dynamic("set$length").HTMLPropertiesCollection = function(value) { return this. length = value; };
2287 $dynamic("item$1").HTMLPropertiesCollection = function($0) {
2288 return this.item($0);
2289 };
2290 // ********** Code for dom_HTMLQuoteElement **************
2291 // ********** Code for dom_HTMLScriptElement **************
2292 $dynamic("get$text").HTMLScriptElement = function() { return this.text; };
2293 $dynamic("set$text").HTMLScriptElement = function(value) { return this.text = va lue; };
2294 // ********** Code for dom_HTMLSelectElement **************
2295 $dynamic("get$length").HTMLSelectElement = function() { return this.length; };
2296 $dynamic("set$length").HTMLSelectElement = function(value) { return this.length = value; };
2297 $dynamic("get$value").HTMLSelectElement = function() { return this.value; };
2298 $dynamic("set$value").HTMLSelectElement = function(value) { return this.value = value; };
2299 $dynamic("item$1").HTMLSelectElement = function($0) {
2300 return this.item($0);
2301 };
2302 $dynamic("remove$1").HTMLSelectElement = function($0) {
2303 return this.remove($0);
2304 };
2305 // ********** Code for dom_HTMLSourceElement **************
2306 // ********** Code for dom_HTMLSpanElement **************
2307 // ********** Code for dom_HTMLStyleElement **************
2308 // ********** Code for dom_HTMLTableCaptionElement **************
2309 // ********** Code for dom_HTMLTableCellElement **************
2310 // ********** Code for dom_HTMLTableColElement **************
2311 // ********** Code for dom_HTMLTableElement **************
2312 // ********** Code for dom_HTMLTableRowElement **************
2313 // ********** Code for dom_HTMLTableSectionElement **************
2314 // ********** Code for dom_HTMLTextAreaElement **************
2315 $dynamic("get$value").HTMLTextAreaElement = function() { return this.value; };
2316 $dynamic("set$value").HTMLTextAreaElement = function(value) { return this.value = value; };
2317 // ********** Code for dom_HTMLTitleElement **************
2318 $dynamic("get$text").HTMLTitleElement = function() { return this.text; };
2319 $dynamic("set$text").HTMLTitleElement = function(value) { return this.text = val ue; };
2320 // ********** Code for dom_HTMLTrackElement **************
2321 $dynamic("get$readyState").HTMLTrackElement = function() { return this.readyStat e; };
2322 $dynamic("set$readyState").HTMLTrackElement = function(value) { return this.read yState = value; };
2323 // ********** Code for dom_HTMLUListElement **************
2324 // ********** Code for dom_HTMLUnknownElement **************
2325 // ********** Code for dom_HTMLVideoElement **************
2326 // ********** Code for HashChangeEvent **************
2327 // ********** Code for HighPass2FilterNode **************
2328 // ********** Code for History **************
2329 $dynamic("get$length").History = function() { return this.length; };
2330 $dynamic("set$length").History = function(value) { return this.length = value; } ;
2331 $dynamic("get$dartObjectLocalStorage").History = function() { return this.dartOb jectLocalStorage; };
2332 $dynamic("set$dartObjectLocalStorage").History = function(value) { return this.d artObjectLocalStorage = value; };
2333 // ********** Code for IDBAny **************
2334 $dynamic("get$dartObjectLocalStorage").IDBAny = function() { return this.dartObj ectLocalStorage; };
2335 $dynamic("set$dartObjectLocalStorage").IDBAny = function(value) { return this.da rtObjectLocalStorage = value; };
2336 // ********** Code for IDBCursor **************
2337 $dynamic("get$dartObjectLocalStorage").IDBCursor = function() { return this.dart ObjectLocalStorage; };
2338 $dynamic("set$dartObjectLocalStorage").IDBCursor = function(value) { return this .dartObjectLocalStorage = value; };
2339 // ********** Code for IDBCursorWithValue **************
2340 $dynamic("get$value").IDBCursorWithValue = function() { return this.value; };
2341 $dynamic("set$value").IDBCursorWithValue = function(value) { return this.value = value; };
2342 // ********** Code for IDBDatabase **************
2343 $dynamic("get$dartObjectLocalStorage").IDBDatabase = function() { return this.da rtObjectLocalStorage; };
2344 $dynamic("set$dartObjectLocalStorage").IDBDatabase = function(value) { return th is.dartObjectLocalStorage = value; };
2345 $dynamic("addEventListener$3").IDBDatabase = function($0, $1, $2) {
2346 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2347 };
2348 $dynamic("removeEventListener$3").IDBDatabase = function($0, $1, $2) {
2349 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2350 };
2351 // ********** Code for IDBDatabaseError **************
2352 $dynamic("get$dartObjectLocalStorage").IDBDatabaseError = function() { return th is.dartObjectLocalStorage; };
2353 $dynamic("set$dartObjectLocalStorage").IDBDatabaseError = function(value) { retu rn this.dartObjectLocalStorage = value; };
2354 // ********** Code for IDBDatabaseException **************
2355 $dynamic("get$dartObjectLocalStorage").IDBDatabaseException = function() { retur n this.dartObjectLocalStorage; };
2356 $dynamic("set$dartObjectLocalStorage").IDBDatabaseException = function(value) { return this.dartObjectLocalStorage = value; };
2357 $dynamic("toString$0").IDBDatabaseException = function() {
2358 return this.toString();
2359 };
2360 // ********** Code for IDBFactory **************
2361 $dynamic("get$dartObjectLocalStorage").IDBFactory = function() { return this.dar tObjectLocalStorage; };
2362 $dynamic("set$dartObjectLocalStorage").IDBFactory = function(value) { return thi s.dartObjectLocalStorage = value; };
2363 // ********** Code for IDBIndex **************
2364 $dynamic("get$dartObjectLocalStorage").IDBIndex = function() { return this.dartO bjectLocalStorage; };
2365 $dynamic("set$dartObjectLocalStorage").IDBIndex = function(value) { return this. dartObjectLocalStorage = value; };
2366 // ********** Code for IDBKey **************
2367 $dynamic("get$dartObjectLocalStorage").IDBKey = function() { return this.dartObj ectLocalStorage; };
2368 $dynamic("set$dartObjectLocalStorage").IDBKey = function(value) { return this.da rtObjectLocalStorage = value; };
2369 // ********** Code for IDBKeyRange **************
2370 $dynamic("get$dartObjectLocalStorage").IDBKeyRange = function() { return this.da rtObjectLocalStorage; };
2371 $dynamic("set$dartObjectLocalStorage").IDBKeyRange = function(value) { return th is.dartObjectLocalStorage = value; };
2372 // ********** Code for IDBObjectStore **************
2373 $dynamic("get$clear").IDBObjectStore = function() {
2374 return this.clear.bind(this);
2375 }
2376 $dynamic("get$dartObjectLocalStorage").IDBObjectStore = function() { return this .dartObjectLocalStorage; };
2377 $dynamic("set$dartObjectLocalStorage").IDBObjectStore = function(value) { return this.dartObjectLocalStorage = value; };
2378 $dynamic("add$1").IDBObjectStore = function($0) {
2379 return this.add($0);
2380 };
2381 $dynamic("clear$0").IDBObjectStore = function() {
2382 return this.clear();
2383 };
2384 // ********** Code for IDBRequest **************
2385 $dynamic("get$readyState").IDBRequest = function() { return this.readyState; };
2386 $dynamic("set$readyState").IDBRequest = function(value) { return this.readyState = value; };
2387 $dynamic("get$dartObjectLocalStorage").IDBRequest = function() { return this.dar tObjectLocalStorage; };
2388 $dynamic("set$dartObjectLocalStorage").IDBRequest = function(value) { return thi s.dartObjectLocalStorage = value; };
2389 $dynamic("addEventListener$3").IDBRequest = function($0, $1, $2) {
2390 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2391 };
2392 $dynamic("removeEventListener$3").IDBRequest = function($0, $1, $2) {
2393 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2394 };
2395 // ********** Code for IDBTransaction **************
2396 $dynamic("get$dartObjectLocalStorage").IDBTransaction = function() { return this .dartObjectLocalStorage; };
2397 $dynamic("set$dartObjectLocalStorage").IDBTransaction = function(value) { return this.dartObjectLocalStorage = value; };
2398 $dynamic("addEventListener$3").IDBTransaction = function($0, $1, $2) {
2399 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2400 };
2401 $dynamic("removeEventListener$3").IDBTransaction = function($0, $1, $2) {
2402 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2403 };
2404 // ********** Code for IDBVersionChangeEvent **************
2405 // ********** Code for IDBVersionChangeRequest **************
2406 // ********** Code for ImageData **************
2407 $dynamic("get$dartObjectLocalStorage").ImageData = function() { return this.dart ObjectLocalStorage; };
2408 $dynamic("set$dartObjectLocalStorage").ImageData = function(value) { return this .dartObjectLocalStorage = value; };
2409 // ********** Code for dom_InjectedScriptHost **************
2410 $dynamic("get$dartObjectLocalStorage").InjectedScriptHost = function() { return this.dartObjectLocalStorage; };
2411 $dynamic("set$dartObjectLocalStorage").InjectedScriptHost = function(value) { re turn this.dartObjectLocalStorage = value; };
2412 // ********** Code for dom_InspectorFrontendHost **************
2413 $dynamic("get$dartObjectLocalStorage").InspectorFrontendHost = function() { retu rn this.dartObjectLocalStorage; };
2414 $dynamic("set$dartObjectLocalStorage").InspectorFrontendHost = function(value) { return this.dartObjectLocalStorage = value; };
2415 // ********** Code for Int16Array **************
2416 $dynamic("get$length").Int16Array = function() { return this.length; };
2417 $dynamic("set$length").Int16Array = function(value) { return this.length = value ; };
2418 // ********** Code for Int32Array **************
2419 $dynamic("get$length").Int32Array = function() { return this.length; };
2420 $dynamic("set$length").Int32Array = function(value) { return this.length = value ; };
2421 // ********** Code for Int8Array **************
2422 $dynamic("get$length").Int8Array = function() { return this.length; };
2423 $dynamic("set$length").Int8Array = function(value) { return this.length = value; };
2424 // ********** Code for JavaScriptAudioNode **************
2425 // ********** Code for dom_JavaScriptCallFrame **************
2426 $dynamic("get$dartObjectLocalStorage").JavaScriptCallFrame = function() { return this.dartObjectLocalStorage; };
2427 $dynamic("set$dartObjectLocalStorage").JavaScriptCallFrame = function(value) { r eturn this.dartObjectLocalStorage = value; };
2428 // ********** Code for KeyboardEvent **************
2429 // ********** Code for Location **************
2430 $dynamic("get$dartObjectLocalStorage").Location = function() { return this.dartO bjectLocalStorage; };
2431 $dynamic("set$dartObjectLocalStorage").Location = function(value) { return this. dartObjectLocalStorage = value; };
2432 $dynamic("toString$0").Location = function() {
2433 return this.toString();
2434 };
2435 // ********** Code for LowPass2FilterNode **************
2436 // ********** Code for dom_MediaController **************
2437 $dynamic("get$dartObjectLocalStorage").MediaController = function() { return thi s.dartObjectLocalStorage; };
2438 $dynamic("set$dartObjectLocalStorage").MediaController = function(value) { retur n this.dartObjectLocalStorage = value; };
2439 $dynamic("addEventListener$3").MediaController = function($0, $1, $2) {
2440 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2441 };
2442 $dynamic("removeEventListener$3").MediaController = function($0, $1, $2) {
2443 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2444 };
2445 // ********** Code for MediaElementAudioSourceNode **************
2446 // ********** Code for MediaError **************
2447 $dynamic("get$dartObjectLocalStorage").MediaError = function() { return this.dar tObjectLocalStorage; };
2448 $dynamic("set$dartObjectLocalStorage").MediaError = function(value) { return thi s.dartObjectLocalStorage = value; };
2449 // ********** Code for MediaList **************
2450 $dynamic("get$length").MediaList = function() { return this.length; };
2451 $dynamic("set$length").MediaList = function(value) { return this.length = value; };
2452 $dynamic("$setindex").MediaList = function(index, value) {
2453 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2454 }
2455 $dynamic("get$dartObjectLocalStorage").MediaList = function() { return this.dart ObjectLocalStorage; };
2456 $dynamic("set$dartObjectLocalStorage").MediaList = function(value) { return this .dartObjectLocalStorage = value; };
2457 $dynamic("item$1").MediaList = function($0) {
2458 return this.item($0);
2459 };
2460 // ********** Code for MediaQueryList **************
2461 $dynamic("get$dartObjectLocalStorage").MediaQueryList = function() { return this .dartObjectLocalStorage; };
2462 $dynamic("set$dartObjectLocalStorage").MediaQueryList = function(value) { return this.dartObjectLocalStorage = value; };
2463 // ********** Code for MediaQueryListListener **************
2464 $dynamic("get$dartObjectLocalStorage").MediaQueryListListener = function() { ret urn this.dartObjectLocalStorage; };
2465 $dynamic("set$dartObjectLocalStorage").MediaQueryListListener = function(value) { return this.dartObjectLocalStorage = value; };
2466 // ********** Code for dom_MemoryInfo **************
2467 $dynamic("get$dartObjectLocalStorage").MemoryInfo = function() { return this.dar tObjectLocalStorage; };
2468 $dynamic("set$dartObjectLocalStorage").MemoryInfo = function(value) { return thi s.dartObjectLocalStorage = value; };
2469 // ********** Code for MessageChannel **************
2470 $dynamic("get$dartObjectLocalStorage").MessageChannel = function() { return this .dartObjectLocalStorage; };
2471 $dynamic("set$dartObjectLocalStorage").MessageChannel = function(value) { return this.dartObjectLocalStorage = value; };
2472 // ********** Code for MessageEvent **************
2473 // ********** Code for MessagePort **************
2474 $dynamic("get$dartObjectLocalStorage").MessagePort = function() { return this.da rtObjectLocalStorage; };
2475 $dynamic("set$dartObjectLocalStorage").MessagePort = function(value) { return th is.dartObjectLocalStorage = value; };
2476 $dynamic("addEventListener$3").MessagePort = function($0, $1, $2) {
2477 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2478 };
2479 $dynamic("postMessage$1").MessagePort = function($0) {
2480 return this.postMessage($0);
2481 };
2482 $dynamic("postMessage$2").MessagePort = function($0, $1) {
2483 return this.postMessage($0, $1);
2484 };
2485 $dynamic("removeEventListener$3").MessagePort = function($0, $1, $2) {
2486 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2487 };
2488 // ********** Code for Metadata **************
2489 $dynamic("get$dartObjectLocalStorage").Metadata = function() { return this.dartO bjectLocalStorage; };
2490 $dynamic("set$dartObjectLocalStorage").Metadata = function(value) { return this. dartObjectLocalStorage = value; };
2491 // ********** Code for MouseEvent **************
2492 // ********** Code for MutationCallback **************
2493 $dynamic("get$dartObjectLocalStorage").MutationCallback = function() { return th is.dartObjectLocalStorage; };
2494 $dynamic("set$dartObjectLocalStorage").MutationCallback = function(value) { retu rn this.dartObjectLocalStorage = value; };
2495 // ********** Code for MutationEvent **************
2496 // ********** Code for MutationRecord **************
2497 $dynamic("get$target").MutationRecord = function() { return this.target; };
2498 $dynamic("set$target").MutationRecord = function(value) { return this.target = v alue; };
2499 $dynamic("get$dartObjectLocalStorage").MutationRecord = function() { return this .dartObjectLocalStorage; };
2500 $dynamic("set$dartObjectLocalStorage").MutationRecord = function(value) { return this.dartObjectLocalStorage = value; };
2501 // ********** Code for dom_NamedNodeMap **************
2502 $dynamic("get$length").NamedNodeMap = function() { return this.length; };
2503 $dynamic("set$length").NamedNodeMap = function(value) { return this.length = val ue; };
2504 $dynamic("$setindex").NamedNodeMap = function(index, value) {
2505 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2506 }
2507 $dynamic("get$dartObjectLocalStorage").NamedNodeMap = function() { return this.d artObjectLocalStorage; };
2508 $dynamic("set$dartObjectLocalStorage").NamedNodeMap = function(value) { return t his.dartObjectLocalStorage = value; };
2509 $dynamic("item$1").NamedNodeMap = function($0) {
2510 return this.item($0);
2511 };
2512 // ********** Code for Navigator **************
2513 $dynamic("get$userAgent").Navigator = function() { return this.userAgent; };
2514 $dynamic("set$userAgent").Navigator = function(value) { return this.userAgent = value; };
2515 $dynamic("get$dartObjectLocalStorage").Navigator = function() { return this.dart ObjectLocalStorage; };
2516 $dynamic("set$dartObjectLocalStorage").Navigator = function(value) { return this .dartObjectLocalStorage = value; };
2517 // ********** Code for Node **************
2518 $dynamic("get$childNodes").Node = function() { return this.childNodes; };
2519 $dynamic("set$childNodes").Node = function(value) { return this.childNodes = val ue; };
2520 $dynamic("get$firstChild").Node = function() { return this.firstChild; };
2521 $dynamic("set$firstChild").Node = function(value) { return this.firstChild = val ue; };
2522 $dynamic("get$lastChild").Node = function() { return this.lastChild; };
2523 $dynamic("set$lastChild").Node = function(value) { return this.lastChild = value ; };
2524 $dynamic("get$parentNode").Node = function() { return this.parentNode; };
2525 $dynamic("set$parentNode").Node = function(value) { return this.parentNode = val ue; };
2526 $dynamic("get$textContent").Node = function() { return this.textContent; };
2527 $dynamic("set$textContent").Node = function(value) { return this.textContent = v alue; };
2528 $dynamic("get$dartObjectLocalStorage").Node = function() { return this.dartObjec tLocalStorage; };
2529 $dynamic("set$dartObjectLocalStorage").Node = function(value) { return this.dart ObjectLocalStorage = value; };
2530 $dynamic("addEventListener$3").Node = function($0, $1, $2) {
2531 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2532 };
2533 $dynamic("appendChild$1").Node = function($0) {
2534 return this.appendChild($0);
2535 };
2536 $dynamic("removeChild$1").Node = function($0) {
2537 return this.removeChild($0);
2538 };
2539 $dynamic("removeEventListener$3").Node = function($0, $1, $2) {
2540 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2541 };
2542 $dynamic("replaceChild$2").Node = function($0, $1) {
2543 return this.replaceChild($0, $1);
2544 };
2545 // ********** Code for dom_NodeFilter **************
2546 $dynamic("get$dartObjectLocalStorage").NodeFilter = function() { return this.dar tObjectLocalStorage; };
2547 $dynamic("set$dartObjectLocalStorage").NodeFilter = function(value) { return thi s.dartObjectLocalStorage = value; };
2548 // ********** Code for dom_NodeIterator **************
2549 $dynamic("get$dartObjectLocalStorage").NodeIterator = function() { return this.d artObjectLocalStorage; };
2550 $dynamic("set$dartObjectLocalStorage").NodeIterator = function(value) { return t his.dartObjectLocalStorage = value; };
2551 $dynamic("filter$1").NodeIterator = function($0) {
2552 return this.filter.call$1($0);
2553 };
2554 // ********** Code for NodeList **************
2555 $dynamic("get$length").NodeList = function() { return this.length; };
2556 $dynamic("set$length").NodeList = function(value) { return this.length = value; };
2557 $dynamic("$setindex").NodeList = function(index, value) {
2558 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
2559 }
2560 $dynamic("get$dartObjectLocalStorage").NodeList = function() { return this.dartO bjectLocalStorage; };
2561 $dynamic("set$dartObjectLocalStorage").NodeList = function(value) { return this. dartObjectLocalStorage = value; };
2562 $dynamic("item$1").NodeList = function($0) {
2563 return this.item($0);
2564 };
2565 // ********** Code for dom_NodeSelector **************
2566 $dynamic("get$dartObjectLocalStorage").NodeSelector = function() { return this.d artObjectLocalStorage; };
2567 $dynamic("set$dartObjectLocalStorage").NodeSelector = function(value) { return t his.dartObjectLocalStorage = value; };
2568 $dynamic("querySelector$1").NodeSelector = function($0) {
2569 return this.querySelector($0);
2570 };
2571 $dynamic("querySelectorAll$1").NodeSelector = function($0) {
2572 return this.querySelectorAll($0);
2573 };
2574 // ********** Code for Notation **************
2575 // ********** Code for Notification **************
2576 $dynamic("get$dartObjectLocalStorage").Notification = function() { return this.d artObjectLocalStorage; };
2577 $dynamic("set$dartObjectLocalStorage").Notification = function(value) { return t his.dartObjectLocalStorage = value; };
2578 $dynamic("addEventListener$3").Notification = function($0, $1, $2) {
2579 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2580 };
2581 $dynamic("removeEventListener$3").Notification = function($0, $1, $2) {
2582 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2583 };
2584 // ********** Code for NotificationCenter **************
2585 $dynamic("get$dartObjectLocalStorage").NotificationCenter = function() { return this.dartObjectLocalStorage; };
2586 $dynamic("set$dartObjectLocalStorage").NotificationCenter = function(value) { re turn this.dartObjectLocalStorage = value; };
2587 // ********** Code for OESStandardDerivatives **************
2588 $dynamic("get$dartObjectLocalStorage").OESStandardDerivatives = function() { ret urn this.dartObjectLocalStorage; };
2589 $dynamic("set$dartObjectLocalStorage").OESStandardDerivatives = function(value) { return this.dartObjectLocalStorage = value; };
2590 // ********** Code for OESTextureFloat **************
2591 $dynamic("get$dartObjectLocalStorage").OESTextureFloat = function() { return thi s.dartObjectLocalStorage; };
2592 $dynamic("set$dartObjectLocalStorage").OESTextureFloat = function(value) { retur n this.dartObjectLocalStorage = value; };
2593 // ********** Code for OESVertexArrayObject **************
2594 $dynamic("get$dartObjectLocalStorage").OESVertexArrayObject = function() { retur n this.dartObjectLocalStorage; };
2595 $dynamic("set$dartObjectLocalStorage").OESVertexArrayObject = function(value) { return this.dartObjectLocalStorage = value; };
2596 // ********** Code for OfflineAudioCompletionEvent **************
2597 // ********** Code for OperationNotAllowedException **************
2598 $dynamic("get$dartObjectLocalStorage").OperationNotAllowedException = function() { return this.dartObjectLocalStorage; };
2599 $dynamic("set$dartObjectLocalStorage").OperationNotAllowedException = function(v alue) { return this.dartObjectLocalStorage = value; };
2600 $dynamic("toString$0").OperationNotAllowedException = function() {
2601 return this.toString();
2602 };
2603 // ********** Code for OverflowEvent **************
2604 // ********** Code for PageTransitionEvent **************
2605 // ********** Code for dom_Performance **************
2606 $dynamic("get$dartObjectLocalStorage").Performance = function() { return this.da rtObjectLocalStorage; };
2607 $dynamic("set$dartObjectLocalStorage").Performance = function(value) { return th is.dartObjectLocalStorage = value; };
2608 // ********** Code for dom_PerformanceNavigation **************
2609 $dynamic("get$dartObjectLocalStorage").PerformanceNavigation = function() { retu rn this.dartObjectLocalStorage; };
2610 $dynamic("set$dartObjectLocalStorage").PerformanceNavigation = function(value) { return this.dartObjectLocalStorage = value; };
2611 // ********** Code for dom_PerformanceTiming **************
2612 $dynamic("get$dartObjectLocalStorage").PerformanceTiming = function() { return t his.dartObjectLocalStorage; };
2613 $dynamic("set$dartObjectLocalStorage").PerformanceTiming = function(value) { ret urn this.dartObjectLocalStorage = value; };
2614 // ********** Code for dom_PointerLock **************
2615 $dynamic("get$dartObjectLocalStorage").PointerLock = function() { return this.da rtObjectLocalStorage; };
2616 $dynamic("set$dartObjectLocalStorage").PointerLock = function(value) { return th is.dartObjectLocalStorage = value; };
2617 // ********** Code for PopStateEvent **************
2618 // ********** Code for PositionError **************
2619 $dynamic("get$dartObjectLocalStorage").PositionError = function() { return this. dartObjectLocalStorage; };
2620 $dynamic("set$dartObjectLocalStorage").PositionError = function(value) { return this.dartObjectLocalStorage = value; };
2621 // ********** Code for ProcessingInstruction **************
2622 $dynamic("get$target").ProcessingInstruction = function() { return this.target; };
2623 $dynamic("set$target").ProcessingInstruction = function(value) { return this.tar get = value; };
2624 // ********** Code for ProgressEvent **************
2625 // ********** Code for RGBColor **************
2626 $dynamic("get$dartObjectLocalStorage").RGBColor = function() { return this.dartO bjectLocalStorage; };
2627 $dynamic("set$dartObjectLocalStorage").RGBColor = function(value) { return this. dartObjectLocalStorage = value; };
2628 // ********** Code for Range **************
2629 $dynamic("get$dartObjectLocalStorage").Range = function() { return this.dartObje ctLocalStorage; };
2630 $dynamic("set$dartObjectLocalStorage").Range = function(value) { return this.dar tObjectLocalStorage = value; };
2631 $dynamic("toString$0").Range = function() {
2632 return this.toString();
2633 };
2634 // ********** Code for RangeException **************
2635 $dynamic("get$dartObjectLocalStorage").RangeException = function() { return this .dartObjectLocalStorage; };
2636 $dynamic("set$dartObjectLocalStorage").RangeException = function(value) { return this.dartObjectLocalStorage = value; };
2637 $dynamic("toString$0").RangeException = function() {
2638 return this.toString();
2639 };
2640 // ********** Code for RealtimeAnalyserNode **************
2641 // ********** Code for Rect **************
2642 $dynamic("get$dartObjectLocalStorage").Rect = function() { return this.dartObjec tLocalStorage; };
2643 $dynamic("set$dartObjectLocalStorage").Rect = function(value) { return this.dart ObjectLocalStorage = value; };
2644 // ********** Code for dom_SQLError **************
2645 $dynamic("get$dartObjectLocalStorage").SQLError = function() { return this.dartO bjectLocalStorage; };
2646 $dynamic("set$dartObjectLocalStorage").SQLError = function(value) { return this. dartObjectLocalStorage = value; };
2647 // ********** Code for dom_SQLException **************
2648 $dynamic("get$dartObjectLocalStorage").SQLException = function() { return this.d artObjectLocalStorage; };
2649 $dynamic("set$dartObjectLocalStorage").SQLException = function(value) { return t his.dartObjectLocalStorage = value; };
2650 // ********** Code for dom_SQLResultSet **************
2651 $dynamic("get$dartObjectLocalStorage").SQLResultSet = function() { return this.d artObjectLocalStorage; };
2652 $dynamic("set$dartObjectLocalStorage").SQLResultSet = function(value) { return t his.dartObjectLocalStorage = value; };
2653 // ********** Code for dom_SQLResultSetRowList **************
2654 $dynamic("get$length").SQLResultSetRowList = function() { return this.length; };
2655 $dynamic("set$length").SQLResultSetRowList = function(value) { return this.lengt h = value; };
2656 $dynamic("get$dartObjectLocalStorage").SQLResultSetRowList = function() { return this.dartObjectLocalStorage; };
2657 $dynamic("set$dartObjectLocalStorage").SQLResultSetRowList = function(value) { r eturn this.dartObjectLocalStorage = value; };
2658 $dynamic("item$1").SQLResultSetRowList = function($0) {
2659 return this.item($0);
2660 };
2661 // ********** Code for dom_SQLTransaction **************
2662 $dynamic("get$dartObjectLocalStorage").SQLTransaction = function() { return this .dartObjectLocalStorage; };
2663 $dynamic("set$dartObjectLocalStorage").SQLTransaction = function(value) { return this.dartObjectLocalStorage = value; };
2664 // ********** Code for dom_SQLTransactionSync **************
2665 $dynamic("get$dartObjectLocalStorage").SQLTransactionSync = function() { return this.dartObjectLocalStorage; };
2666 $dynamic("set$dartObjectLocalStorage").SQLTransactionSync = function(value) { re turn this.dartObjectLocalStorage = value; };
2667 // ********** Code for SVGAElement **************
2668 $dynamic("get$target").SVGAElement = function() { return this.target; };
2669 $dynamic("set$target").SVGAElement = function(value) { return this.target = valu e; };
2670 $dynamic("get$className").SVGAElement = function() { return this.className; };
2671 $dynamic("set$className").SVGAElement = function(value) { return this.className = value; };
2672 $dynamic("get$style").SVGAElement = function() { return this.style; };
2673 $dynamic("set$style").SVGAElement = function(value) { return this.style = value; };
2674 $dynamic("get$transform").SVGAElement = function() { return this.transform; };
2675 $dynamic("set$transform").SVGAElement = function(value) { return this.transform = value; };
2676 // ********** Code for SVGAltGlyphDefElement **************
2677 // ********** Code for SVGAltGlyphElement **************
2678 // ********** Code for SVGAltGlyphItemElement **************
2679 // ********** Code for SVGAngle **************
2680 $dynamic("get$value").SVGAngle = function() { return this.value; };
2681 $dynamic("set$value").SVGAngle = function(value) { return this.value = value; };
2682 $dynamic("get$dartObjectLocalStorage").SVGAngle = function() { return this.dartO bjectLocalStorage; };
2683 $dynamic("set$dartObjectLocalStorage").SVGAngle = function(value) { return this. dartObjectLocalStorage = value; };
2684 // ********** Code for SVGAnimateColorElement **************
2685 // ********** Code for SVGAnimateElement **************
2686 // ********** Code for SVGAnimateMotionElement **************
2687 // ********** Code for SVGAnimateTransformElement **************
2688 // ********** Code for SVGAnimatedAngle **************
2689 $dynamic("get$baseVal").SVGAnimatedAngle = function() { return this.baseVal; };
2690 $dynamic("set$baseVal").SVGAnimatedAngle = function(value) { return this.baseVal = value; };
2691 $dynamic("get$dartObjectLocalStorage").SVGAnimatedAngle = function() { return th is.dartObjectLocalStorage; };
2692 $dynamic("set$dartObjectLocalStorage").SVGAnimatedAngle = function(value) { retu rn this.dartObjectLocalStorage = value; };
2693 // ********** Code for SVGAnimatedBoolean **************
2694 $dynamic("get$baseVal").SVGAnimatedBoolean = function() { return this.baseVal; } ;
2695 $dynamic("set$baseVal").SVGAnimatedBoolean = function(value) { return this.baseV al = value; };
2696 $dynamic("get$dartObjectLocalStorage").SVGAnimatedBoolean = function() { return this.dartObjectLocalStorage; };
2697 $dynamic("set$dartObjectLocalStorage").SVGAnimatedBoolean = function(value) { re turn this.dartObjectLocalStorage = value; };
2698 // ********** Code for SVGAnimatedEnumeration **************
2699 $dynamic("get$baseVal").SVGAnimatedEnumeration = function() { return this.baseVa l; };
2700 $dynamic("set$baseVal").SVGAnimatedEnumeration = function(value) { return this.b aseVal = value; };
2701 $dynamic("get$dartObjectLocalStorage").SVGAnimatedEnumeration = function() { ret urn this.dartObjectLocalStorage; };
2702 $dynamic("set$dartObjectLocalStorage").SVGAnimatedEnumeration = function(value) { return this.dartObjectLocalStorage = value; };
2703 // ********** Code for SVGAnimatedInteger **************
2704 $dynamic("get$baseVal").SVGAnimatedInteger = function() { return this.baseVal; } ;
2705 $dynamic("set$baseVal").SVGAnimatedInteger = function(value) { return this.baseV al = value; };
2706 $dynamic("get$dartObjectLocalStorage").SVGAnimatedInteger = function() { return this.dartObjectLocalStorage; };
2707 $dynamic("set$dartObjectLocalStorage").SVGAnimatedInteger = function(value) { re turn this.dartObjectLocalStorage = value; };
2708 // ********** Code for SVGAnimatedLength **************
2709 $dynamic("get$baseVal").SVGAnimatedLength = function() { return this.baseVal; };
2710 $dynamic("set$baseVal").SVGAnimatedLength = function(value) { return this.baseVa l = value; };
2711 $dynamic("get$dartObjectLocalStorage").SVGAnimatedLength = function() { return t his.dartObjectLocalStorage; };
2712 $dynamic("set$dartObjectLocalStorage").SVGAnimatedLength = function(value) { ret urn this.dartObjectLocalStorage = value; };
2713 // ********** Code for SVGAnimatedLengthList **************
2714 $dynamic("get$baseVal").SVGAnimatedLengthList = function() { return this.baseVal ; };
2715 $dynamic("set$baseVal").SVGAnimatedLengthList = function(value) { return this.ba seVal = value; };
2716 $dynamic("get$dartObjectLocalStorage").SVGAnimatedLengthList = function() { retu rn this.dartObjectLocalStorage; };
2717 $dynamic("set$dartObjectLocalStorage").SVGAnimatedLengthList = function(value) { return this.dartObjectLocalStorage = value; };
2718 // ********** Code for SVGAnimatedNumber **************
2719 $dynamic("get$baseVal").SVGAnimatedNumber = function() { return this.baseVal; };
2720 $dynamic("set$baseVal").SVGAnimatedNumber = function(value) { return this.baseVa l = value; };
2721 $dynamic("get$dartObjectLocalStorage").SVGAnimatedNumber = function() { return t his.dartObjectLocalStorage; };
2722 $dynamic("set$dartObjectLocalStorage").SVGAnimatedNumber = function(value) { ret urn this.dartObjectLocalStorage = value; };
2723 // ********** Code for SVGAnimatedNumberList **************
2724 $dynamic("get$baseVal").SVGAnimatedNumberList = function() { return this.baseVal ; };
2725 $dynamic("set$baseVal").SVGAnimatedNumberList = function(value) { return this.ba seVal = value; };
2726 $dynamic("get$dartObjectLocalStorage").SVGAnimatedNumberList = function() { retu rn this.dartObjectLocalStorage; };
2727 $dynamic("set$dartObjectLocalStorage").SVGAnimatedNumberList = function(value) { return this.dartObjectLocalStorage = value; };
2728 // ********** Code for SVGAnimatedPreserveAspectRatio **************
2729 $dynamic("get$baseVal").SVGAnimatedPreserveAspectRatio = function() { return thi s.baseVal; };
2730 $dynamic("set$baseVal").SVGAnimatedPreserveAspectRatio = function(value) { retur n this.baseVal = value; };
2731 $dynamic("get$dartObjectLocalStorage").SVGAnimatedPreserveAspectRatio = function () { return this.dartObjectLocalStorage; };
2732 $dynamic("set$dartObjectLocalStorage").SVGAnimatedPreserveAspectRatio = function (value) { return this.dartObjectLocalStorage = value; };
2733 // ********** Code for SVGAnimatedRect **************
2734 $dynamic("get$baseVal").SVGAnimatedRect = function() { return this.baseVal; };
2735 $dynamic("set$baseVal").SVGAnimatedRect = function(value) { return this.baseVal = value; };
2736 $dynamic("get$dartObjectLocalStorage").SVGAnimatedRect = function() { return thi s.dartObjectLocalStorage; };
2737 $dynamic("set$dartObjectLocalStorage").SVGAnimatedRect = function(value) { retur n this.dartObjectLocalStorage = value; };
2738 // ********** Code for SVGAnimatedString **************
2739 $dynamic("get$baseVal").SVGAnimatedString = function() { return this.baseVal; };
2740 $dynamic("set$baseVal").SVGAnimatedString = function(value) { return this.baseVa l = value; };
2741 $dynamic("get$dartObjectLocalStorage").SVGAnimatedString = function() { return t his.dartObjectLocalStorage; };
2742 $dynamic("set$dartObjectLocalStorage").SVGAnimatedString = function(value) { ret urn this.dartObjectLocalStorage = value; };
2743 // ********** Code for SVGAnimatedTransformList **************
2744 $dynamic("get$baseVal").SVGAnimatedTransformList = function() { return this.base Val; };
2745 $dynamic("set$baseVal").SVGAnimatedTransformList = function(value) { return this .baseVal = value; };
2746 $dynamic("get$dartObjectLocalStorage").SVGAnimatedTransformList = function() { r eturn this.dartObjectLocalStorage; };
2747 $dynamic("set$dartObjectLocalStorage").SVGAnimatedTransformList = function(value ) { return this.dartObjectLocalStorage = value; };
2748 // ********** Code for SVGAnimationElement **************
2749 // ********** Code for SVGCircleElement **************
2750 $dynamic("get$className").SVGCircleElement = function() { return this.className; };
2751 $dynamic("set$className").SVGCircleElement = function(value) { return this.class Name = value; };
2752 $dynamic("get$style").SVGCircleElement = function() { return this.style; };
2753 $dynamic("set$style").SVGCircleElement = function(value) { return this.style = v alue; };
2754 $dynamic("get$transform").SVGCircleElement = function() { return this.transform; };
2755 $dynamic("set$transform").SVGCircleElement = function(value) { return this.trans form = value; };
2756 // ********** Code for SVGClipPathElement **************
2757 $dynamic("get$className").SVGClipPathElement = function() { return this.classNam e; };
2758 $dynamic("set$className").SVGClipPathElement = function(value) { return this.cla ssName = value; };
2759 $dynamic("get$style").SVGClipPathElement = function() { return this.style; };
2760 $dynamic("set$style").SVGClipPathElement = function(value) { return this.style = value; };
2761 $dynamic("get$transform").SVGClipPathElement = function() { return this.transfor m; };
2762 $dynamic("set$transform").SVGClipPathElement = function(value) { return this.tra nsform = value; };
2763 // ********** Code for SVGColor **************
2764 // ********** Code for SVGComponentTransferFunctionElement **************
2765 // ********** Code for SVGCursorElement **************
2766 // ********** Code for SVGDefsElement **************
2767 $dynamic("get$className").SVGDefsElement = function() { return this.className; } ;
2768 $dynamic("set$className").SVGDefsElement = function(value) { return this.classNa me = value; };
2769 $dynamic("get$style").SVGDefsElement = function() { return this.style; };
2770 $dynamic("set$style").SVGDefsElement = function(value) { return this.style = val ue; };
2771 $dynamic("get$transform").SVGDefsElement = function() { return this.transform; } ;
2772 $dynamic("set$transform").SVGDefsElement = function(value) { return this.transfo rm = value; };
2773 // ********** Code for SVGDescElement **************
2774 $dynamic("get$className").SVGDescElement = function() { return this.className; } ;
2775 $dynamic("set$className").SVGDescElement = function(value) { return this.classNa me = value; };
2776 $dynamic("get$style").SVGDescElement = function() { return this.style; };
2777 $dynamic("set$style").SVGDescElement = function(value) { return this.style = val ue; };
2778 // ********** Code for SVGDocument **************
2779 // ********** Code for SVGElement **************
2780 // ********** Code for SVGElementInstance **************
2781 $dynamic("get$childNodes").SVGElementInstance = function() { return this.childNo des; };
2782 $dynamic("set$childNodes").SVGElementInstance = function(value) { return this.ch ildNodes = value; };
2783 $dynamic("get$firstChild").SVGElementInstance = function() { return this.firstCh ild; };
2784 $dynamic("set$firstChild").SVGElementInstance = function(value) { return this.fi rstChild = value; };
2785 $dynamic("get$lastChild").SVGElementInstance = function() { return this.lastChil d; };
2786 $dynamic("set$lastChild").SVGElementInstance = function(value) { return this.las tChild = value; };
2787 $dynamic("get$parentNode").SVGElementInstance = function() { return this.parentN ode; };
2788 $dynamic("set$parentNode").SVGElementInstance = function(value) { return this.pa rentNode = value; };
2789 $dynamic("get$dartObjectLocalStorage").SVGElementInstance = function() { return this.dartObjectLocalStorage; };
2790 $dynamic("set$dartObjectLocalStorage").SVGElementInstance = function(value) { re turn this.dartObjectLocalStorage = value; };
2791 $dynamic("addEventListener$3").SVGElementInstance = function($0, $1, $2) {
2792 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2793 };
2794 $dynamic("removeEventListener$3").SVGElementInstance = function($0, $1, $2) {
2795 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
2796 };
2797 // ********** Code for SVGElementInstanceList **************
2798 $dynamic("get$length").SVGElementInstanceList = function() { return this.length; };
2799 $dynamic("set$length").SVGElementInstanceList = function(value) { return this.le ngth = value; };
2800 $dynamic("get$dartObjectLocalStorage").SVGElementInstanceList = function() { ret urn this.dartObjectLocalStorage; };
2801 $dynamic("set$dartObjectLocalStorage").SVGElementInstanceList = function(value) { return this.dartObjectLocalStorage = value; };
2802 $dynamic("item$1").SVGElementInstanceList = function($0) {
2803 return this.item($0);
2804 };
2805 // ********** Code for SVGEllipseElement **************
2806 $dynamic("get$className").SVGEllipseElement = function() { return this.className ; };
2807 $dynamic("set$className").SVGEllipseElement = function(value) { return this.clas sName = value; };
2808 $dynamic("get$style").SVGEllipseElement = function() { return this.style; };
2809 $dynamic("set$style").SVGEllipseElement = function(value) { return this.style = value; };
2810 $dynamic("get$transform").SVGEllipseElement = function() { return this.transform ; };
2811 $dynamic("set$transform").SVGEllipseElement = function(value) { return this.tran sform = value; };
2812 // ********** Code for SVGException **************
2813 $dynamic("get$dartObjectLocalStorage").SVGException = function() { return this.d artObjectLocalStorage; };
2814 $dynamic("set$dartObjectLocalStorage").SVGException = function(value) { return t his.dartObjectLocalStorage = value; };
2815 $dynamic("toString$0").SVGException = function() {
2816 return this.toString();
2817 };
2818 // ********** Code for SVGExternalResourcesRequired **************
2819 $dynamic("get$dartObjectLocalStorage").SVGExternalResourcesRequired = function() { return this.dartObjectLocalStorage; };
2820 $dynamic("set$dartObjectLocalStorage").SVGExternalResourcesRequired = function(v alue) { return this.dartObjectLocalStorage = value; };
2821 // ********** Code for SVGFEBlendElement **************
2822 $dynamic("get$className").SVGFEBlendElement = function() { return this.className ; };
2823 $dynamic("set$className").SVGFEBlendElement = function(value) { return this.clas sName = value; };
2824 $dynamic("get$style").SVGFEBlendElement = function() { return this.style; };
2825 $dynamic("set$style").SVGFEBlendElement = function(value) { return this.style = value; };
2826 // ********** Code for SVGFEColorMatrixElement **************
2827 $dynamic("get$className").SVGFEColorMatrixElement = function() { return this.cla ssName; };
2828 $dynamic("set$className").SVGFEColorMatrixElement = function(value) { return thi s.className = value; };
2829 $dynamic("get$style").SVGFEColorMatrixElement = function() { return this.style; };
2830 $dynamic("set$style").SVGFEColorMatrixElement = function(value) { return this.st yle = value; };
2831 // ********** Code for SVGFEComponentTransferElement **************
2832 $dynamic("get$className").SVGFEComponentTransferElement = function() { return th is.className; };
2833 $dynamic("set$className").SVGFEComponentTransferElement = function(value) { retu rn this.className = value; };
2834 $dynamic("get$style").SVGFEComponentTransferElement = function() { return this.s tyle; };
2835 $dynamic("set$style").SVGFEComponentTransferElement = function(value) { return t his.style = value; };
2836 // ********** Code for dom_SVGFECompositeElement **************
2837 $dynamic("get$className").SVGFECompositeElement = function() { return this.class Name; };
2838 $dynamic("set$className").SVGFECompositeElement = function(value) { return this. className = value; };
2839 $dynamic("get$style").SVGFECompositeElement = function() { return this.style; };
2840 $dynamic("set$style").SVGFECompositeElement = function(value) { return this.styl e = value; };
2841 // ********** Code for SVGFEConvolveMatrixElement **************
2842 $dynamic("get$className").SVGFEConvolveMatrixElement = function() { return this. className; };
2843 $dynamic("set$className").SVGFEConvolveMatrixElement = function(value) { return this.className = value; };
2844 $dynamic("get$style").SVGFEConvolveMatrixElement = function() { return this.styl e; };
2845 $dynamic("set$style").SVGFEConvolveMatrixElement = function(value) { return this .style = value; };
2846 // ********** Code for SVGFEDiffuseLightingElement **************
2847 $dynamic("get$className").SVGFEDiffuseLightingElement = function() { return this .className; };
2848 $dynamic("set$className").SVGFEDiffuseLightingElement = function(value) { return this.className = value; };
2849 $dynamic("get$style").SVGFEDiffuseLightingElement = function() { return this.sty le; };
2850 $dynamic("set$style").SVGFEDiffuseLightingElement = function(value) { return thi s.style = value; };
2851 // ********** Code for SVGFEDisplacementMapElement **************
2852 $dynamic("get$className").SVGFEDisplacementMapElement = function() { return this .className; };
2853 $dynamic("set$className").SVGFEDisplacementMapElement = function(value) { return this.className = value; };
2854 $dynamic("get$style").SVGFEDisplacementMapElement = function() { return this.sty le; };
2855 $dynamic("set$style").SVGFEDisplacementMapElement = function(value) { return thi s.style = value; };
2856 // ********** Code for SVGFEDistantLightElement **************
2857 // ********** Code for SVGFEDropShadowElement **************
2858 $dynamic("get$className").SVGFEDropShadowElement = function() { return this.clas sName; };
2859 $dynamic("set$className").SVGFEDropShadowElement = function(value) { return this .className = value; };
2860 $dynamic("get$style").SVGFEDropShadowElement = function() { return this.style; } ;
2861 $dynamic("set$style").SVGFEDropShadowElement = function(value) { return this.sty le = value; };
2862 // ********** Code for SVGFEFloodElement **************
2863 $dynamic("get$className").SVGFEFloodElement = function() { return this.className ; };
2864 $dynamic("set$className").SVGFEFloodElement = function(value) { return this.clas sName = value; };
2865 $dynamic("get$style").SVGFEFloodElement = function() { return this.style; };
2866 $dynamic("set$style").SVGFEFloodElement = function(value) { return this.style = value; };
2867 // ********** Code for SVGFEFuncAElement **************
2868 // ********** Code for SVGFEFuncBElement **************
2869 // ********** Code for SVGFEFuncGElement **************
2870 // ********** Code for SVGFEFuncRElement **************
2871 // ********** Code for SVGFEGaussianBlurElement **************
2872 $dynamic("get$className").SVGFEGaussianBlurElement = function() { return this.cl assName; };
2873 $dynamic("set$className").SVGFEGaussianBlurElement = function(value) { return th is.className = value; };
2874 $dynamic("get$style").SVGFEGaussianBlurElement = function() { return this.style; };
2875 $dynamic("set$style").SVGFEGaussianBlurElement = function(value) { return this.s tyle = value; };
2876 // ********** Code for SVGFEImageElement **************
2877 $dynamic("get$className").SVGFEImageElement = function() { return this.className ; };
2878 $dynamic("set$className").SVGFEImageElement = function(value) { return this.clas sName = value; };
2879 $dynamic("get$style").SVGFEImageElement = function() { return this.style; };
2880 $dynamic("set$style").SVGFEImageElement = function(value) { return this.style = value; };
2881 // ********** Code for SVGFEMergeElement **************
2882 $dynamic("get$className").SVGFEMergeElement = function() { return this.className ; };
2883 $dynamic("set$className").SVGFEMergeElement = function(value) { return this.clas sName = value; };
2884 $dynamic("get$style").SVGFEMergeElement = function() { return this.style; };
2885 $dynamic("set$style").SVGFEMergeElement = function(value) { return this.style = value; };
2886 // ********** Code for SVGFEMergeNodeElement **************
2887 // ********** Code for dom_SVGFEMorphologyElement **************
2888 $dynamic("get$className").SVGFEMorphologyElement = function() { return this.clas sName; };
2889 $dynamic("set$className").SVGFEMorphologyElement = function(value) { return this .className = value; };
2890 $dynamic("get$style").SVGFEMorphologyElement = function() { return this.style; } ;
2891 $dynamic("set$style").SVGFEMorphologyElement = function(value) { return this.sty le = value; };
2892 // ********** Code for SVGFEOffsetElement **************
2893 $dynamic("get$className").SVGFEOffsetElement = function() { return this.classNam e; };
2894 $dynamic("set$className").SVGFEOffsetElement = function(value) { return this.cla ssName = value; };
2895 $dynamic("get$style").SVGFEOffsetElement = function() { return this.style; };
2896 $dynamic("set$style").SVGFEOffsetElement = function(value) { return this.style = value; };
2897 // ********** Code for SVGFEPointLightElement **************
2898 // ********** Code for SVGFESpecularLightingElement **************
2899 $dynamic("get$className").SVGFESpecularLightingElement = function() { return thi s.className; };
2900 $dynamic("set$className").SVGFESpecularLightingElement = function(value) { retur n this.className = value; };
2901 $dynamic("get$style").SVGFESpecularLightingElement = function() { return this.st yle; };
2902 $dynamic("set$style").SVGFESpecularLightingElement = function(value) { return th is.style = value; };
2903 // ********** Code for SVGFESpotLightElement **************
2904 // ********** Code for SVGFETileElement **************
2905 $dynamic("get$className").SVGFETileElement = function() { return this.className; };
2906 $dynamic("set$className").SVGFETileElement = function(value) { return this.class Name = value; };
2907 $dynamic("get$style").SVGFETileElement = function() { return this.style; };
2908 $dynamic("set$style").SVGFETileElement = function(value) { return this.style = v alue; };
2909 // ********** Code for SVGFETurbulenceElement **************
2910 $dynamic("get$className").SVGFETurbulenceElement = function() { return this.clas sName; };
2911 $dynamic("set$className").SVGFETurbulenceElement = function(value) { return this .className = value; };
2912 $dynamic("get$style").SVGFETurbulenceElement = function() { return this.style; } ;
2913 $dynamic("set$style").SVGFETurbulenceElement = function(value) { return this.sty le = value; };
2914 // ********** Code for SVGFilterElement **************
2915 $dynamic("get$className").SVGFilterElement = function() { return this.className; };
2916 $dynamic("set$className").SVGFilterElement = function(value) { return this.class Name = value; };
2917 $dynamic("get$style").SVGFilterElement = function() { return this.style; };
2918 $dynamic("set$style").SVGFilterElement = function(value) { return this.style = v alue; };
2919 // ********** Code for SVGFilterPrimitiveStandardAttributes **************
2920 // ********** Code for SVGFitToViewBox **************
2921 $dynamic("get$dartObjectLocalStorage").SVGFitToViewBox = function() { return thi s.dartObjectLocalStorage; };
2922 $dynamic("set$dartObjectLocalStorage").SVGFitToViewBox = function(value) { retur n this.dartObjectLocalStorage = value; };
2923 // ********** Code for SVGFontElement **************
2924 // ********** Code for SVGFontFaceElement **************
2925 // ********** Code for SVGFontFaceFormatElement **************
2926 // ********** Code for SVGFontFaceNameElement **************
2927 // ********** Code for SVGFontFaceSrcElement **************
2928 // ********** Code for SVGFontFaceUriElement **************
2929 // ********** Code for SVGForeignObjectElement **************
2930 $dynamic("get$className").SVGForeignObjectElement = function() { return this.cla ssName; };
2931 $dynamic("set$className").SVGForeignObjectElement = function(value) { return thi s.className = value; };
2932 $dynamic("get$style").SVGForeignObjectElement = function() { return this.style; };
2933 $dynamic("set$style").SVGForeignObjectElement = function(value) { return this.st yle = value; };
2934 $dynamic("get$transform").SVGForeignObjectElement = function() { return this.tra nsform; };
2935 $dynamic("set$transform").SVGForeignObjectElement = function(value) { return thi s.transform = value; };
2936 // ********** Code for SVGGElement **************
2937 $dynamic("get$className").SVGGElement = function() { return this.className; };
2938 $dynamic("set$className").SVGGElement = function(value) { return this.className = value; };
2939 $dynamic("get$style").SVGGElement = function() { return this.style; };
2940 $dynamic("set$style").SVGGElement = function(value) { return this.style = value; };
2941 $dynamic("get$transform").SVGGElement = function() { return this.transform; };
2942 $dynamic("set$transform").SVGGElement = function(value) { return this.transform = value; };
2943 // ********** Code for SVGGlyphElement **************
2944 // ********** Code for SVGGlyphRefElement **************
2945 $dynamic("get$className").SVGGlyphRefElement = function() { return this.classNam e; };
2946 $dynamic("set$className").SVGGlyphRefElement = function(value) { return this.cla ssName = value; };
2947 $dynamic("get$style").SVGGlyphRefElement = function() { return this.style; };
2948 $dynamic("set$style").SVGGlyphRefElement = function(value) { return this.style = value; };
2949 // ********** Code for SVGGradientElement **************
2950 $dynamic("get$className").SVGGradientElement = function() { return this.classNam e; };
2951 $dynamic("set$className").SVGGradientElement = function(value) { return this.cla ssName = value; };
2952 $dynamic("get$style").SVGGradientElement = function() { return this.style; };
2953 $dynamic("set$style").SVGGradientElement = function(value) { return this.style = value; };
2954 // ********** Code for SVGHKernElement **************
2955 // ********** Code for SVGImageElement **************
2956 $dynamic("get$className").SVGImageElement = function() { return this.className; };
2957 $dynamic("set$className").SVGImageElement = function(value) { return this.classN ame = value; };
2958 $dynamic("get$style").SVGImageElement = function() { return this.style; };
2959 $dynamic("set$style").SVGImageElement = function(value) { return this.style = va lue; };
2960 $dynamic("get$transform").SVGImageElement = function() { return this.transform; };
2961 $dynamic("set$transform").SVGImageElement = function(value) { return this.transf orm = value; };
2962 // ********** Code for SVGLangSpace **************
2963 $dynamic("get$dartObjectLocalStorage").SVGLangSpace = function() { return this.d artObjectLocalStorage; };
2964 $dynamic("set$dartObjectLocalStorage").SVGLangSpace = function(value) { return t his.dartObjectLocalStorage = value; };
2965 // ********** Code for SVGLength **************
2966 $dynamic("get$value").SVGLength = function() { return this.value; };
2967 $dynamic("set$value").SVGLength = function(value) { return this.value = value; } ;
2968 $dynamic("get$dartObjectLocalStorage").SVGLength = function() { return this.dart ObjectLocalStorage; };
2969 $dynamic("set$dartObjectLocalStorage").SVGLength = function(value) { return this .dartObjectLocalStorage = value; };
2970 // ********** Code for SVGLengthList **************
2971 $dynamic("get$clear").SVGLengthList = function() {
2972 return this.clear.bind(this);
2973 }
2974 $dynamic("get$dartObjectLocalStorage").SVGLengthList = function() { return this. dartObjectLocalStorage; };
2975 $dynamic("set$dartObjectLocalStorage").SVGLengthList = function(value) { return this.dartObjectLocalStorage = value; };
2976 $dynamic("clear$0").SVGLengthList = function() {
2977 return this.clear();
2978 };
2979 // ********** Code for SVGLineElement **************
2980 $dynamic("get$className").SVGLineElement = function() { return this.className; } ;
2981 $dynamic("set$className").SVGLineElement = function(value) { return this.classNa me = value; };
2982 $dynamic("get$style").SVGLineElement = function() { return this.style; };
2983 $dynamic("set$style").SVGLineElement = function(value) { return this.style = val ue; };
2984 $dynamic("get$transform").SVGLineElement = function() { return this.transform; } ;
2985 $dynamic("set$transform").SVGLineElement = function(value) { return this.transfo rm = value; };
2986 // ********** Code for SVGLinearGradientElement **************
2987 // ********** Code for SVGLocatable **************
2988 $dynamic("get$dartObjectLocalStorage").SVGLocatable = function() { return this.d artObjectLocalStorage; };
2989 $dynamic("set$dartObjectLocalStorage").SVGLocatable = function(value) { return t his.dartObjectLocalStorage = value; };
2990 // ********** Code for SVGMPathElement **************
2991 // ********** Code for SVGMarkerElement **************
2992 $dynamic("get$className").SVGMarkerElement = function() { return this.className; };
2993 $dynamic("set$className").SVGMarkerElement = function(value) { return this.class Name = value; };
2994 $dynamic("get$style").SVGMarkerElement = function() { return this.style; };
2995 $dynamic("set$style").SVGMarkerElement = function(value) { return this.style = v alue; };
2996 // ********** Code for SVGMaskElement **************
2997 $dynamic("get$className").SVGMaskElement = function() { return this.className; } ;
2998 $dynamic("set$className").SVGMaskElement = function(value) { return this.classNa me = value; };
2999 $dynamic("get$style").SVGMaskElement = function() { return this.style; };
3000 $dynamic("set$style").SVGMaskElement = function(value) { return this.style = val ue; };
3001 // ********** Code for SVGMatrix **************
3002 $dynamic("get$dartObjectLocalStorage").SVGMatrix = function() { return this.dart ObjectLocalStorage; };
3003 $dynamic("set$dartObjectLocalStorage").SVGMatrix = function(value) { return this .dartObjectLocalStorage = value; };
3004 // ********** Code for SVGMetadataElement **************
3005 // ********** Code for SVGMissingGlyphElement **************
3006 // ********** Code for SVGNumber **************
3007 $dynamic("get$value").SVGNumber = function() { return this.value; };
3008 $dynamic("set$value").SVGNumber = function(value) { return this.value = value; } ;
3009 $dynamic("get$dartObjectLocalStorage").SVGNumber = function() { return this.dart ObjectLocalStorage; };
3010 $dynamic("set$dartObjectLocalStorage").SVGNumber = function(value) { return this .dartObjectLocalStorage = value; };
3011 // ********** Code for SVGNumberList **************
3012 $dynamic("get$clear").SVGNumberList = function() {
3013 return this.clear.bind(this);
3014 }
3015 $dynamic("get$dartObjectLocalStorage").SVGNumberList = function() { return this. dartObjectLocalStorage; };
3016 $dynamic("set$dartObjectLocalStorage").SVGNumberList = function(value) { return this.dartObjectLocalStorage = value; };
3017 $dynamic("clear$0").SVGNumberList = function() {
3018 return this.clear();
3019 };
3020 // ********** Code for SVGPaint **************
3021 // ********** Code for SVGPathElement **************
3022 $dynamic("get$className").SVGPathElement = function() { return this.className; } ;
3023 $dynamic("set$className").SVGPathElement = function(value) { return this.classNa me = value; };
3024 $dynamic("get$style").SVGPathElement = function() { return this.style; };
3025 $dynamic("set$style").SVGPathElement = function(value) { return this.style = val ue; };
3026 $dynamic("get$transform").SVGPathElement = function() { return this.transform; } ;
3027 $dynamic("set$transform").SVGPathElement = function(value) { return this.transfo rm = value; };
3028 // ********** Code for SVGPathSeg **************
3029 $dynamic("get$dartObjectLocalStorage").SVGPathSeg = function() { return this.dar tObjectLocalStorage; };
3030 $dynamic("set$dartObjectLocalStorage").SVGPathSeg = function(value) { return thi s.dartObjectLocalStorage = value; };
3031 // ********** Code for SVGPathSegArcAbs **************
3032 // ********** Code for SVGPathSegArcRel **************
3033 // ********** Code for SVGPathSegClosePath **************
3034 // ********** Code for SVGPathSegCurvetoCubicAbs **************
3035 // ********** Code for SVGPathSegCurvetoCubicRel **************
3036 // ********** Code for SVGPathSegCurvetoCubicSmoothAbs **************
3037 // ********** Code for SVGPathSegCurvetoCubicSmoothRel **************
3038 // ********** Code for SVGPathSegCurvetoQuadraticAbs **************
3039 // ********** Code for SVGPathSegCurvetoQuadraticRel **************
3040 // ********** Code for SVGPathSegCurvetoQuadraticSmoothAbs **************
3041 // ********** Code for SVGPathSegCurvetoQuadraticSmoothRel **************
3042 // ********** Code for SVGPathSegLinetoAbs **************
3043 // ********** Code for SVGPathSegLinetoHorizontalAbs **************
3044 // ********** Code for SVGPathSegLinetoHorizontalRel **************
3045 // ********** Code for SVGPathSegLinetoRel **************
3046 // ********** Code for SVGPathSegLinetoVerticalAbs **************
3047 // ********** Code for SVGPathSegLinetoVerticalRel **************
3048 // ********** Code for SVGPathSegList **************
3049 $dynamic("get$clear").SVGPathSegList = function() {
3050 return this.clear.bind(this);
3051 }
3052 $dynamic("get$dartObjectLocalStorage").SVGPathSegList = function() { return this .dartObjectLocalStorage; };
3053 $dynamic("set$dartObjectLocalStorage").SVGPathSegList = function(value) { return this.dartObjectLocalStorage = value; };
3054 $dynamic("clear$0").SVGPathSegList = function() {
3055 return this.clear();
3056 };
3057 // ********** Code for SVGPathSegMovetoAbs **************
3058 // ********** Code for SVGPathSegMovetoRel **************
3059 // ********** Code for SVGPatternElement **************
3060 $dynamic("get$className").SVGPatternElement = function() { return this.className ; };
3061 $dynamic("set$className").SVGPatternElement = function(value) { return this.clas sName = value; };
3062 $dynamic("get$style").SVGPatternElement = function() { return this.style; };
3063 $dynamic("set$style").SVGPatternElement = function(value) { return this.style = value; };
3064 // ********** Code for SVGPoint **************
3065 $dynamic("get$dartObjectLocalStorage").SVGPoint = function() { return this.dartO bjectLocalStorage; };
3066 $dynamic("set$dartObjectLocalStorage").SVGPoint = function(value) { return this. dartObjectLocalStorage = value; };
3067 // ********** Code for SVGPointList **************
3068 $dynamic("get$clear").SVGPointList = function() {
3069 return this.clear.bind(this);
3070 }
3071 $dynamic("get$dartObjectLocalStorage").SVGPointList = function() { return this.d artObjectLocalStorage; };
3072 $dynamic("set$dartObjectLocalStorage").SVGPointList = function(value) { return t his.dartObjectLocalStorage = value; };
3073 $dynamic("clear$0").SVGPointList = function() {
3074 return this.clear();
3075 };
3076 // ********** Code for SVGPolygonElement **************
3077 $dynamic("get$className").SVGPolygonElement = function() { return this.className ; };
3078 $dynamic("set$className").SVGPolygonElement = function(value) { return this.clas sName = value; };
3079 $dynamic("get$style").SVGPolygonElement = function() { return this.style; };
3080 $dynamic("set$style").SVGPolygonElement = function(value) { return this.style = value; };
3081 $dynamic("get$transform").SVGPolygonElement = function() { return this.transform ; };
3082 $dynamic("set$transform").SVGPolygonElement = function(value) { return this.tran sform = value; };
3083 // ********** Code for SVGPolylineElement **************
3084 $dynamic("get$className").SVGPolylineElement = function() { return this.classNam e; };
3085 $dynamic("set$className").SVGPolylineElement = function(value) { return this.cla ssName = value; };
3086 $dynamic("get$style").SVGPolylineElement = function() { return this.style; };
3087 $dynamic("set$style").SVGPolylineElement = function(value) { return this.style = value; };
3088 $dynamic("get$transform").SVGPolylineElement = function() { return this.transfor m; };
3089 $dynamic("set$transform").SVGPolylineElement = function(value) { return this.tra nsform = value; };
3090 // ********** Code for SVGPreserveAspectRatio **************
3091 $dynamic("get$dartObjectLocalStorage").SVGPreserveAspectRatio = function() { ret urn this.dartObjectLocalStorage; };
3092 $dynamic("set$dartObjectLocalStorage").SVGPreserveAspectRatio = function(value) { return this.dartObjectLocalStorage = value; };
3093 // ********** Code for SVGRadialGradientElement **************
3094 // ********** Code for SVGRect **************
3095 $dynamic("get$dartObjectLocalStorage").SVGRect = function() { return this.dartOb jectLocalStorage; };
3096 $dynamic("set$dartObjectLocalStorage").SVGRect = function(value) { return this.d artObjectLocalStorage = value; };
3097 // ********** Code for SVGRectElement **************
3098 $dynamic("get$className").SVGRectElement = function() { return this.className; } ;
3099 $dynamic("set$className").SVGRectElement = function(value) { return this.classNa me = value; };
3100 $dynamic("get$style").SVGRectElement = function() { return this.style; };
3101 $dynamic("set$style").SVGRectElement = function(value) { return this.style = val ue; };
3102 $dynamic("get$transform").SVGRectElement = function() { return this.transform; } ;
3103 $dynamic("set$transform").SVGRectElement = function(value) { return this.transfo rm = value; };
3104 // ********** Code for SVGRenderingIntent **************
3105 $dynamic("get$dartObjectLocalStorage").SVGRenderingIntent = function() { return this.dartObjectLocalStorage; };
3106 $dynamic("set$dartObjectLocalStorage").SVGRenderingIntent = function(value) { re turn this.dartObjectLocalStorage = value; };
3107 // ********** Code for SVGSVGElement **************
3108 $dynamic("get$className").SVGSVGElement = function() { return this.className; };
3109 $dynamic("set$className").SVGSVGElement = function(value) { return this.classNam e = value; };
3110 $dynamic("get$style").SVGSVGElement = function() { return this.style; };
3111 $dynamic("set$style").SVGSVGElement = function(value) { return this.style = valu e; };
3112 // ********** Code for SVGScriptElement **************
3113 // ********** Code for SVGSetElement **************
3114 // ********** Code for SVGStopElement **************
3115 $dynamic("get$className").SVGStopElement = function() { return this.className; } ;
3116 $dynamic("set$className").SVGStopElement = function(value) { return this.classNa me = value; };
3117 $dynamic("get$style").SVGStopElement = function() { return this.style; };
3118 $dynamic("set$style").SVGStopElement = function(value) { return this.style = val ue; };
3119 // ********** Code for SVGStringList **************
3120 $dynamic("get$clear").SVGStringList = function() {
3121 return this.clear.bind(this);
3122 }
3123 $dynamic("get$dartObjectLocalStorage").SVGStringList = function() { return this. dartObjectLocalStorage; };
3124 $dynamic("set$dartObjectLocalStorage").SVGStringList = function(value) { return this.dartObjectLocalStorage = value; };
3125 $dynamic("clear$0").SVGStringList = function() {
3126 return this.clear();
3127 };
3128 // ********** Code for SVGStylable **************
3129 $dynamic("get$className").SVGStylable = function() { return this.className; };
3130 $dynamic("set$className").SVGStylable = function(value) { return this.className = value; };
3131 $dynamic("get$style").SVGStylable = function() { return this.style; };
3132 $dynamic("set$style").SVGStylable = function(value) { return this.style = value; };
3133 $dynamic("get$dartObjectLocalStorage").SVGStylable = function() { return this.da rtObjectLocalStorage; };
3134 $dynamic("set$dartObjectLocalStorage").SVGStylable = function(value) { return th is.dartObjectLocalStorage = value; };
3135 // ********** Code for SVGStyleElement **************
3136 // ********** Code for SVGSwitchElement **************
3137 $dynamic("get$className").SVGSwitchElement = function() { return this.className; };
3138 $dynamic("set$className").SVGSwitchElement = function(value) { return this.class Name = value; };
3139 $dynamic("get$style").SVGSwitchElement = function() { return this.style; };
3140 $dynamic("set$style").SVGSwitchElement = function(value) { return this.style = v alue; };
3141 $dynamic("get$transform").SVGSwitchElement = function() { return this.transform; };
3142 $dynamic("set$transform").SVGSwitchElement = function(value) { return this.trans form = value; };
3143 // ********** Code for SVGSymbolElement **************
3144 $dynamic("get$className").SVGSymbolElement = function() { return this.className; };
3145 $dynamic("set$className").SVGSymbolElement = function(value) { return this.class Name = value; };
3146 $dynamic("get$style").SVGSymbolElement = function() { return this.style; };
3147 $dynamic("set$style").SVGSymbolElement = function(value) { return this.style = v alue; };
3148 // ********** Code for SVGTRefElement **************
3149 // ********** Code for SVGTSpanElement **************
3150 // ********** Code for SVGTests **************
3151 $dynamic("get$dartObjectLocalStorage").SVGTests = function() { return this.dartO bjectLocalStorage; };
3152 $dynamic("set$dartObjectLocalStorage").SVGTests = function(value) { return this. dartObjectLocalStorage = value; };
3153 // ********** Code for SVGTextContentElement **************
3154 $dynamic("get$className").SVGTextContentElement = function() { return this.class Name; };
3155 $dynamic("set$className").SVGTextContentElement = function(value) { return this. className = value; };
3156 $dynamic("get$style").SVGTextContentElement = function() { return this.style; };
3157 $dynamic("set$style").SVGTextContentElement = function(value) { return this.styl e = value; };
3158 // ********** Code for SVGTextElement **************
3159 $dynamic("get$transform").SVGTextElement = function() { return this.transform; } ;
3160 $dynamic("set$transform").SVGTextElement = function(value) { return this.transfo rm = value; };
3161 // ********** Code for SVGTextPathElement **************
3162 // ********** Code for SVGTextPositioningElement **************
3163 // ********** Code for SVGTitleElement **************
3164 $dynamic("get$className").SVGTitleElement = function() { return this.className; };
3165 $dynamic("set$className").SVGTitleElement = function(value) { return this.classN ame = value; };
3166 $dynamic("get$style").SVGTitleElement = function() { return this.style; };
3167 $dynamic("set$style").SVGTitleElement = function(value) { return this.style = va lue; };
3168 // ********** Code for SVGTransform **************
3169 $dynamic("get$dartObjectLocalStorage").SVGTransform = function() { return this.d artObjectLocalStorage; };
3170 $dynamic("set$dartObjectLocalStorage").SVGTransform = function(value) { return t his.dartObjectLocalStorage = value; };
3171 // ********** Code for SVGTransformList **************
3172 $dynamic("get$clear").SVGTransformList = function() {
3173 return this.clear.bind(this);
3174 }
3175 $dynamic("get$dartObjectLocalStorage").SVGTransformList = function() { return th is.dartObjectLocalStorage; };
3176 $dynamic("set$dartObjectLocalStorage").SVGTransformList = function(value) { retu rn this.dartObjectLocalStorage = value; };
3177 $dynamic("clear$0").SVGTransformList = function() {
3178 return this.clear();
3179 };
3180 // ********** Code for SVGTransformable **************
3181 $dynamic("get$transform").SVGTransformable = function() { return this.transform; };
3182 $dynamic("set$transform").SVGTransformable = function(value) { return this.trans form = value; };
3183 // ********** Code for SVGURIReference **************
3184 $dynamic("get$dartObjectLocalStorage").SVGURIReference = function() { return thi s.dartObjectLocalStorage; };
3185 $dynamic("set$dartObjectLocalStorage").SVGURIReference = function(value) { retur n this.dartObjectLocalStorage = value; };
3186 // ********** Code for SVGUnitTypes **************
3187 $dynamic("get$dartObjectLocalStorage").SVGUnitTypes = function() { return this.d artObjectLocalStorage; };
3188 $dynamic("set$dartObjectLocalStorage").SVGUnitTypes = function(value) { return t his.dartObjectLocalStorage = value; };
3189 // ********** Code for SVGUseElement **************
3190 $dynamic("get$className").SVGUseElement = function() { return this.className; };
3191 $dynamic("set$className").SVGUseElement = function(value) { return this.classNam e = value; };
3192 $dynamic("get$style").SVGUseElement = function() { return this.style; };
3193 $dynamic("set$style").SVGUseElement = function(value) { return this.style = valu e; };
3194 $dynamic("get$transform").SVGUseElement = function() { return this.transform; };
3195 $dynamic("set$transform").SVGUseElement = function(value) { return this.transfor m = value; };
3196 // ********** Code for SVGVKernElement **************
3197 // ********** Code for SVGViewElement **************
3198 // ********** Code for SVGViewSpec **************
3199 $dynamic("get$transform").SVGViewSpec = function() { return this.transform; };
3200 $dynamic("set$transform").SVGViewSpec = function(value) { return this.transform = value; };
3201 // ********** Code for SVGZoomAndPan **************
3202 $dynamic("get$dartObjectLocalStorage").SVGZoomAndPan = function() { return this. dartObjectLocalStorage; };
3203 $dynamic("set$dartObjectLocalStorage").SVGZoomAndPan = function(value) { return this.dartObjectLocalStorage = value; };
3204 // ********** Code for SVGZoomEvent **************
3205 // ********** Code for Screen **************
3206 $dynamic("get$dartObjectLocalStorage").Screen = function() { return this.dartObj ectLocalStorage; };
3207 $dynamic("set$dartObjectLocalStorage").Screen = function(value) { return this.da rtObjectLocalStorage = value; };
3208 // ********** Code for dom_ScriptProfile **************
3209 $dynamic("get$dartObjectLocalStorage").ScriptProfile = function() { return this. dartObjectLocalStorage; };
3210 $dynamic("set$dartObjectLocalStorage").ScriptProfile = function(value) { return this.dartObjectLocalStorage = value; };
3211 // ********** Code for dom_ScriptProfileNode **************
3212 $dynamic("get$children").ScriptProfileNode = function() { return this.children; };
3213 $dynamic("set$children").ScriptProfileNode = function(value) { return this.child ren = value; };
3214 $dynamic("get$dartObjectLocalStorage").ScriptProfileNode = function() { return t his.dartObjectLocalStorage; };
3215 $dynamic("set$dartObjectLocalStorage").ScriptProfileNode = function(value) { ret urn this.dartObjectLocalStorage = value; };
3216 // ********** Code for SharedWorker **************
3217 // ********** Code for dom_SharedWorkercontext **************
3218 // ********** Code for SpeechInputEvent **************
3219 // ********** Code for SpeechInputResult **************
3220 $dynamic("get$dartObjectLocalStorage").SpeechInputResult = function() { return t his.dartObjectLocalStorage; };
3221 $dynamic("set$dartObjectLocalStorage").SpeechInputResult = function(value) { ret urn this.dartObjectLocalStorage = value; };
3222 // ********** Code for SpeechInputResultList **************
3223 $dynamic("get$length").SpeechInputResultList = function() { return this.length; };
3224 $dynamic("set$length").SpeechInputResultList = function(value) { return this.len gth = value; };
3225 $dynamic("get$dartObjectLocalStorage").SpeechInputResultList = function() { retu rn this.dartObjectLocalStorage; };
3226 $dynamic("set$dartObjectLocalStorage").SpeechInputResultList = function(value) { return this.dartObjectLocalStorage = value; };
3227 $dynamic("item$1").SpeechInputResultList = function($0) {
3228 return this.item($0);
3229 };
3230 // ********** Code for Storage **************
3231 $dynamic("get$length").Storage = function() { return this.length; };
3232 $dynamic("set$length").Storage = function(value) { return this.length = value; } ;
3233 $dynamic("get$clear").Storage = function() {
3234 return this.clear.bind(this);
3235 }
3236 $dynamic("get$dartObjectLocalStorage").Storage = function() {
3237
3238 if (this === window.localStorage)
3239 return window._dartLocalStorageLocalStorage;
3240 else if (this === window.sessionStorage)
3241 return window._dartSessionStorageLocalStorage;
3242 else
3243 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage f or unknown Storage object.');
3244
3245 }
3246 $dynamic("set$dartObjectLocalStorage").Storage = function(value) {
3247
3248 if (this === window.localStorage)
3249 window._dartLocalStorageLocalStorage = value;
3250 else if (this === window.sessionStorage)
3251 window._dartSessionStorageLocalStorage = value;
3252 else
3253 throw new UnsupportedOperationException('Cannot dartObjectLocalStorage f or unknown Storage object.');
3254
3255 }
3256 $dynamic("clear$0").Storage = function() {
3257 return this.clear();
3258 };
3259 // ********** Code for StorageEvent **************
3260 // ********** Code for StorageInfo **************
3261 $dynamic("get$dartObjectLocalStorage").StorageInfo = function() { return this.da rtObjectLocalStorage; };
3262 $dynamic("set$dartObjectLocalStorage").StorageInfo = function(value) { return th is.dartObjectLocalStorage = value; };
3263 // ********** Code for StyleMedia **************
3264 $dynamic("get$dartObjectLocalStorage").StyleMedia = function() { return this.dar tObjectLocalStorage; };
3265 $dynamic("set$dartObjectLocalStorage").StyleMedia = function(value) { return thi s.dartObjectLocalStorage = value; };
3266 // ********** Code for StyleSheet **************
3267 $dynamic("get$dartObjectLocalStorage").StyleSheet = function() { return this.dar tObjectLocalStorage; };
3268 $dynamic("set$dartObjectLocalStorage").StyleSheet = function(value) { return thi s.dartObjectLocalStorage = value; };
3269 // ********** Code for StyleSheetList **************
3270 $dynamic("get$length").StyleSheetList = function() { return this.length; };
3271 $dynamic("set$length").StyleSheetList = function(value) { return this.length = v alue; };
3272 $dynamic("$setindex").StyleSheetList = function(index, value) {
3273 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
3274 }
3275 $dynamic("get$dartObjectLocalStorage").StyleSheetList = function() { return this .dartObjectLocalStorage; };
3276 $dynamic("set$dartObjectLocalStorage").StyleSheetList = function(value) { return this.dartObjectLocalStorage = value; };
3277 $dynamic("item$1").StyleSheetList = function($0) {
3278 return this.item($0);
3279 };
3280 // ********** Code for Text **************
3281 // ********** Code for TextEvent **************
3282 // ********** Code for TextMetrics **************
3283 $dynamic("get$dartObjectLocalStorage").TextMetrics = function() { return this.da rtObjectLocalStorage; };
3284 $dynamic("set$dartObjectLocalStorage").TextMetrics = function(value) { return th is.dartObjectLocalStorage = value; };
3285 // ********** Code for TextTrack **************
3286 $dynamic("get$dartObjectLocalStorage").TextTrack = function() { return this.dart ObjectLocalStorage; };
3287 $dynamic("set$dartObjectLocalStorage").TextTrack = function(value) { return this .dartObjectLocalStorage = value; };
3288 $dynamic("addEventListener$3").TextTrack = function($0, $1, $2) {
3289 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3290 };
3291 $dynamic("removeEventListener$3").TextTrack = function($0, $1, $2) {
3292 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3293 };
3294 // ********** Code for TextTrackCue **************
3295 $dynamic("get$text").TextTrackCue = function() { return this.text; };
3296 $dynamic("set$text").TextTrackCue = function(value) { return this.text = value; };
3297 $dynamic("get$dartObjectLocalStorage").TextTrackCue = function() { return this.d artObjectLocalStorage; };
3298 $dynamic("set$dartObjectLocalStorage").TextTrackCue = function(value) { return t his.dartObjectLocalStorage = value; };
3299 $dynamic("addEventListener$3").TextTrackCue = function($0, $1, $2) {
3300 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3301 };
3302 $dynamic("removeEventListener$3").TextTrackCue = function($0, $1, $2) {
3303 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3304 };
3305 // ********** Code for TextTrackCueList **************
3306 $dynamic("get$length").TextTrackCueList = function() { return this.length; };
3307 $dynamic("set$length").TextTrackCueList = function(value) { return this.length = value; };
3308 $dynamic("get$dartObjectLocalStorage").TextTrackCueList = function() { return th is.dartObjectLocalStorage; };
3309 $dynamic("set$dartObjectLocalStorage").TextTrackCueList = function(value) { retu rn this.dartObjectLocalStorage = value; };
3310 $dynamic("item$1").TextTrackCueList = function($0) {
3311 return this.item($0);
3312 };
3313 // ********** Code for dom_TextTrackList **************
3314 $dynamic("get$length").TextTrackList = function() { return this.length; };
3315 $dynamic("set$length").TextTrackList = function(value) { return this.length = va lue; };
3316 $dynamic("get$dartObjectLocalStorage").TextTrackList = function() { return this. dartObjectLocalStorage; };
3317 $dynamic("set$dartObjectLocalStorage").TextTrackList = function(value) { return this.dartObjectLocalStorage = value; };
3318 $dynamic("addEventListener$3").TextTrackList = function($0, $1, $2) {
3319 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3320 };
3321 $dynamic("item$1").TextTrackList = function($0) {
3322 return this.item($0);
3323 };
3324 $dynamic("removeEventListener$3").TextTrackList = function($0, $1, $2) {
3325 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3326 };
3327 // ********** Code for TimeRanges **************
3328 $dynamic("get$length").TimeRanges = function() { return this.length; };
3329 $dynamic("set$length").TimeRanges = function(value) { return this.length = value ; };
3330 $dynamic("get$dartObjectLocalStorage").TimeRanges = function() { return this.dar tObjectLocalStorage; };
3331 $dynamic("set$dartObjectLocalStorage").TimeRanges = function(value) { return thi s.dartObjectLocalStorage = value; };
3332 // ********** Code for Touch **************
3333 $dynamic("get$target").Touch = function() { return this.target; };
3334 $dynamic("set$target").Touch = function(value) { return this.target = value; };
3335 $dynamic("get$dartObjectLocalStorage").Touch = function() { return this.dartObje ctLocalStorage; };
3336 $dynamic("set$dartObjectLocalStorage").Touch = function(value) { return this.dar tObjectLocalStorage = value; };
3337 // ********** Code for TouchEvent **************
3338 $dynamic("get$changedTouches").TouchEvent = function() { return this.changedTouc hes; };
3339 $dynamic("set$changedTouches").TouchEvent = function(value) { return this.change dTouches = value; };
3340 // ********** Code for TouchList **************
3341 $dynamic("get$length").TouchList = function() { return this.length; };
3342 $dynamic("set$length").TouchList = function(value) { return this.length = value; };
3343 $dynamic("$setindex").TouchList = function(index, value) {
3344 $throw(new UnsupportedOperationException("Cannot assign element of immutable L ist."));
3345 }
3346 $dynamic("get$dartObjectLocalStorage").TouchList = function() { return this.dart ObjectLocalStorage; };
3347 $dynamic("set$dartObjectLocalStorage").TouchList = function(value) { return this .dartObjectLocalStorage = value; };
3348 $dynamic("item$1").TouchList = function($0) {
3349 return this.item($0);
3350 };
3351 // ********** Code for dom_TrackEvent **************
3352 // ********** Code for dom_TreeWalker **************
3353 $dynamic("get$firstChild").TreeWalker = function() {
3354 return this.firstChild.bind(this);
3355 }
3356 $dynamic("get$lastChild").TreeWalker = function() {
3357 return this.lastChild.bind(this);
3358 }
3359 $dynamic("get$parentNode").TreeWalker = function() {
3360 return this.parentNode.bind(this);
3361 }
3362 $dynamic("get$dartObjectLocalStorage").TreeWalker = function() { return this.dar tObjectLocalStorage; };
3363 $dynamic("set$dartObjectLocalStorage").TreeWalker = function(value) { return thi s.dartObjectLocalStorage = value; };
3364 $dynamic("filter$1").TreeWalker = function($0) {
3365 return this.filter.call$1($0);
3366 };
3367 // ********** Code for UIEvent **************
3368 // ********** Code for Uint16Array **************
3369 $dynamic("get$length").Uint16Array = function() { return this.length; };
3370 $dynamic("set$length").Uint16Array = function(value) { return this.length = valu e; };
3371 // ********** Code for Uint32Array **************
3372 $dynamic("get$length").Uint32Array = function() { return this.length; };
3373 $dynamic("set$length").Uint32Array = function(value) { return this.length = valu e; };
3374 // ********** Code for Uint8Array **************
3375 $dynamic("get$length").Uint8Array = function() { return this.length; };
3376 $dynamic("set$length").Uint8Array = function(value) { return this.length = value ; };
3377 // ********** Code for ValidityState **************
3378 $dynamic("get$dartObjectLocalStorage").ValidityState = function() { return this. dartObjectLocalStorage; };
3379 $dynamic("set$dartObjectLocalStorage").ValidityState = function(value) { return this.dartObjectLocalStorage = value; };
3380 // ********** Code for WaveShaperNode **************
3381 // ********** Code for WebGLActiveInfo **************
3382 $dynamic("get$dartObjectLocalStorage").WebGLActiveInfo = function() { return thi s.dartObjectLocalStorage; };
3383 $dynamic("set$dartObjectLocalStorage").WebGLActiveInfo = function(value) { retur n this.dartObjectLocalStorage = value; };
3384 // ********** Code for WebGLBuffer **************
3385 $dynamic("get$dartObjectLocalStorage").WebGLBuffer = function() { return this.da rtObjectLocalStorage; };
3386 $dynamic("set$dartObjectLocalStorage").WebGLBuffer = function(value) { return th is.dartObjectLocalStorage = value; };
3387 // ********** Code for dom_WebGLCompressedTextures **************
3388 $dynamic("get$dartObjectLocalStorage").WebGLCompressedTextures = function() { re turn this.dartObjectLocalStorage; };
3389 $dynamic("set$dartObjectLocalStorage").WebGLCompressedTextures = function(value) { return this.dartObjectLocalStorage = value; };
3390 // ********** Code for WebGLContextAttributes **************
3391 $dynamic("get$dartObjectLocalStorage").WebGLContextAttributes = function() { ret urn this.dartObjectLocalStorage; };
3392 $dynamic("set$dartObjectLocalStorage").WebGLContextAttributes = function(value) { return this.dartObjectLocalStorage = value; };
3393 // ********** Code for WebGLContextEvent **************
3394 // ********** Code for WebGLDebugRendererInfo **************
3395 $dynamic("get$dartObjectLocalStorage").WebGLDebugRendererInfo = function() { ret urn this.dartObjectLocalStorage; };
3396 $dynamic("set$dartObjectLocalStorage").WebGLDebugRendererInfo = function(value) { return this.dartObjectLocalStorage = value; };
3397 // ********** Code for WebGLDebugShaders **************
3398 $dynamic("get$dartObjectLocalStorage").WebGLDebugShaders = function() { return t his.dartObjectLocalStorage; };
3399 $dynamic("set$dartObjectLocalStorage").WebGLDebugShaders = function(value) { ret urn this.dartObjectLocalStorage = value; };
3400 // ********** Code for WebGLFramebuffer **************
3401 $dynamic("get$dartObjectLocalStorage").WebGLFramebuffer = function() { return th is.dartObjectLocalStorage; };
3402 $dynamic("set$dartObjectLocalStorage").WebGLFramebuffer = function(value) { retu rn this.dartObjectLocalStorage = value; };
3403 // ********** Code for dom_WebGLLoseContext **************
3404 $dynamic("get$dartObjectLocalStorage").WebGLLoseContext = function() { return th is.dartObjectLocalStorage; };
3405 $dynamic("set$dartObjectLocalStorage").WebGLLoseContext = function(value) { retu rn this.dartObjectLocalStorage = value; };
3406 // ********** Code for WebGLProgram **************
3407 $dynamic("get$dartObjectLocalStorage").WebGLProgram = function() { return this.d artObjectLocalStorage; };
3408 $dynamic("set$dartObjectLocalStorage").WebGLProgram = function(value) { return t his.dartObjectLocalStorage = value; };
3409 // ********** Code for WebGLRenderbuffer **************
3410 $dynamic("get$dartObjectLocalStorage").WebGLRenderbuffer = function() { return t his.dartObjectLocalStorage; };
3411 $dynamic("set$dartObjectLocalStorage").WebGLRenderbuffer = function(value) { ret urn this.dartObjectLocalStorage = value; };
3412 // ********** Code for WebGLRenderingContext **************
3413 $dynamic("get$clear").WebGLRenderingContext = function() {
3414 return this.clear.bind(this);
3415 }
3416 // ********** Code for WebGLShader **************
3417 $dynamic("get$dartObjectLocalStorage").WebGLShader = function() { return this.da rtObjectLocalStorage; };
3418 $dynamic("set$dartObjectLocalStorage").WebGLShader = function(value) { return th is.dartObjectLocalStorage = value; };
3419 // ********** Code for WebGLTexture **************
3420 $dynamic("get$dartObjectLocalStorage").WebGLTexture = function() { return this.d artObjectLocalStorage; };
3421 $dynamic("set$dartObjectLocalStorage").WebGLTexture = function(value) { return t his.dartObjectLocalStorage = value; };
3422 // ********** Code for WebGLUniformLocation **************
3423 $dynamic("get$dartObjectLocalStorage").WebGLUniformLocation = function() { retur n this.dartObjectLocalStorage; };
3424 $dynamic("set$dartObjectLocalStorage").WebGLUniformLocation = function(value) { return this.dartObjectLocalStorage = value; };
3425 // ********** Code for WebGLVertexArrayObjectOES **************
3426 $dynamic("get$dartObjectLocalStorage").WebGLVertexArrayObjectOES = function() { return this.dartObjectLocalStorage; };
3427 $dynamic("set$dartObjectLocalStorage").WebGLVertexArrayObjectOES = function(valu e) { return this.dartObjectLocalStorage = value; };
3428 // ********** Code for dom_WebKitAnimation **************
3429 $dynamic("get$dartObjectLocalStorage").WebKitAnimation = function() { return thi s.dartObjectLocalStorage; };
3430 $dynamic("set$dartObjectLocalStorage").WebKitAnimation = function(value) { retur n this.dartObjectLocalStorage = value; };
3431 // ********** Code for dom_WebKitAnimationEvent **************
3432 // ********** Code for dom_WebKitAnimationList **************
3433 $dynamic("get$length").WebKitAnimationList = function() { return this.length; };
3434 $dynamic("set$length").WebKitAnimationList = function(value) { return this.lengt h = value; };
3435 $dynamic("get$dartObjectLocalStorage").WebKitAnimationList = function() { return this.dartObjectLocalStorage; };
3436 $dynamic("set$dartObjectLocalStorage").WebKitAnimationList = function(value) { r eturn this.dartObjectLocalStorage = value; };
3437 $dynamic("item$1").WebKitAnimationList = function($0) {
3438 return this.item($0);
3439 };
3440 // ********** Code for dom_WebKitBlobBuilder **************
3441 $dynamic("get$dartObjectLocalStorage").WebKitBlobBuilder = function() { return t his.dartObjectLocalStorage; };
3442 $dynamic("set$dartObjectLocalStorage").WebKitBlobBuilder = function(value) { ret urn this.dartObjectLocalStorage = value; };
3443 // ********** Code for WebKitCSSFilterValue **************
3444 // ********** Code for dom_WebKitCSSKeyframeRule **************
3445 $dynamic("get$style").WebKitCSSKeyframeRule = function() { return this.style; };
3446 $dynamic("set$style").WebKitCSSKeyframeRule = function(value) { return this.styl e = value; };
3447 // ********** Code for dom_WebKitCSSKeyframesRule **************
3448 // ********** Code for dom_WebKitCSSMatrix **************
3449 $dynamic("get$dartObjectLocalStorage").WebKitCSSMatrix = function() { return thi s.dartObjectLocalStorage; };
3450 $dynamic("set$dartObjectLocalStorage").WebKitCSSMatrix = function(value) { retur n this.dartObjectLocalStorage = value; };
3451 $dynamic("toString$0").WebKitCSSMatrix = function() {
3452 return this.toString();
3453 };
3454 // ********** Code for dom_WebKitCSSTransformValue **************
3455 // ********** Code for WebKitMutationObserver **************
3456 $dynamic("get$dartObjectLocalStorage").WebKitMutationObserver = function() { ret urn this.dartObjectLocalStorage; };
3457 $dynamic("set$dartObjectLocalStorage").WebKitMutationObserver = function(value) { return this.dartObjectLocalStorage = value; };
3458 // ********** Code for dom_WebKitNamedFlow **************
3459 $dynamic("get$dartObjectLocalStorage").WebKitNamedFlow = function() { return thi s.dartObjectLocalStorage; };
3460 $dynamic("set$dartObjectLocalStorage").WebKitNamedFlow = function(value) { retur n this.dartObjectLocalStorage = value; };
3461 // ********** Code for dom_WebKitPoint **************
3462 $dynamic("get$dartObjectLocalStorage").WebKitPoint = function() { return this.da rtObjectLocalStorage; };
3463 $dynamic("set$dartObjectLocalStorage").WebKitPoint = function(value) { return th is.dartObjectLocalStorage = value; };
3464 // ********** Code for dom_WebKitTransitionEvent **************
3465 // ********** Code for WebSocket **************
3466 $dynamic("get$readyState").WebSocket = function() { return this.readyState; };
3467 $dynamic("set$readyState").WebSocket = function(value) { return this.readyState = value; };
3468 $dynamic("get$dartObjectLocalStorage").WebSocket = function() { return this.dart ObjectLocalStorage; };
3469 $dynamic("set$dartObjectLocalStorage").WebSocket = function(value) { return this .dartObjectLocalStorage = value; };
3470 $dynamic("addEventListener$3").WebSocket = function($0, $1, $2) {
3471 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3472 };
3473 $dynamic("removeEventListener$3").WebSocket = function($0, $1, $2) {
3474 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3475 };
3476 // ********** Code for WheelEvent **************
3477 // ********** Code for Worker **************
3478 $dynamic("postMessage$1").Worker = function($0) {
3479 return this.postMessage($0);
3480 };
3481 $dynamic("postMessage$2").Worker = function($0, $1) {
3482 return this.postMessage($0, $1);
3483 };
3484 // ********** Code for dom_WorkerContext **************
3485 $dynamic("get$navigator").WorkerContext = function() { return this.navigator; };
3486 $dynamic("set$navigator").WorkerContext = function(value) { return this.navigato r = value; };
3487 $dynamic("get$dartObjectLocalStorage").WorkerContext = function() { return this. dartObjectLocalStorage; };
3488 $dynamic("set$dartObjectLocalStorage").WorkerContext = function(value) { return this.dartObjectLocalStorage = value; };
3489 $dynamic("addEventListener$3").WorkerContext = function($0, $1, $2) {
3490 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3491 };
3492 $dynamic("removeEventListener$3").WorkerContext = function($0, $1, $2) {
3493 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3494 };
3495 $dynamic("setTimeout$2").WorkerContext = function($0, $1) {
3496 return this.setTimeout($wrap_call$0(to$call$0($0)), $1);
3497 };
3498 // ********** Code for dom_WorkerLocation **************
3499 $dynamic("get$dartObjectLocalStorage").WorkerLocation = function() { return this .dartObjectLocalStorage; };
3500 $dynamic("set$dartObjectLocalStorage").WorkerLocation = function(value) { return this.dartObjectLocalStorage = value; };
3501 $dynamic("toString$0").WorkerLocation = function() {
3502 return this.toString();
3503 };
3504 // ********** Code for dom_WorkerNavigator **************
3505 $dynamic("get$userAgent").WorkerNavigator = function() { return this.userAgent; };
3506 $dynamic("set$userAgent").WorkerNavigator = function(value) { return this.userAg ent = value; };
3507 $dynamic("get$dartObjectLocalStorage").WorkerNavigator = function() { return thi s.dartObjectLocalStorage; };
3508 $dynamic("set$dartObjectLocalStorage").WorkerNavigator = function(value) { retur n this.dartObjectLocalStorage = value; };
3509 // ********** Code for XMLHttpRequest **************
3510 $dynamic("get$readyState").XMLHttpRequest = function() { return this.readyState; };
3511 $dynamic("set$readyState").XMLHttpRequest = function(value) { return this.readyS tate = value; };
3512 $dynamic("get$dartObjectLocalStorage").XMLHttpRequest = function() { return this .dartObjectLocalStorage; };
3513 $dynamic("set$dartObjectLocalStorage").XMLHttpRequest = function(value) { return this.dartObjectLocalStorage = value; };
3514 $dynamic("addEventListener$3").XMLHttpRequest = function($0, $1, $2) {
3515 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3516 };
3517 $dynamic("removeEventListener$3").XMLHttpRequest = function($0, $1, $2) {
3518 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3519 };
3520 // ********** Code for XMLHttpRequestException **************
3521 $dynamic("get$dartObjectLocalStorage").XMLHttpRequestException = function() { re turn this.dartObjectLocalStorage; };
3522 $dynamic("set$dartObjectLocalStorage").XMLHttpRequestException = function(value) { return this.dartObjectLocalStorage = value; };
3523 $dynamic("toString$0").XMLHttpRequestException = function() {
3524 return this.toString();
3525 };
3526 // ********** Code for XMLHttpRequestProgressEvent **************
3527 // ********** Code for XMLHttpRequestUpload **************
3528 $dynamic("get$dartObjectLocalStorage").XMLHttpRequestUpload = function() { retur n this.dartObjectLocalStorage; };
3529 $dynamic("set$dartObjectLocalStorage").XMLHttpRequestUpload = function(value) { return this.dartObjectLocalStorage = value; };
3530 $dynamic("addEventListener$3").XMLHttpRequestUpload = function($0, $1, $2) {
3531 return this.addEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3532 };
3533 $dynamic("removeEventListener$3").XMLHttpRequestUpload = function($0, $1, $2) {
3534 return this.removeEventListener($0, $wrap_call$1(to$call$1($1)), $2);
3535 };
3536 // ********** Code for dom_XMLSerializer **************
3537 $dynamic("get$dartObjectLocalStorage").XMLSerializer = function() { return this. dartObjectLocalStorage; };
3538 $dynamic("set$dartObjectLocalStorage").XMLSerializer = function(value) { return this.dartObjectLocalStorage = value; };
3539 // ********** Code for dom_XPathEvaluator **************
3540 $dynamic("get$dartObjectLocalStorage").XPathEvaluator = function() { return this .dartObjectLocalStorage; };
3541 $dynamic("set$dartObjectLocalStorage").XPathEvaluator = function(value) { return this.dartObjectLocalStorage = value; };
3542 // ********** Code for dom_XPathException **************
3543 $dynamic("get$dartObjectLocalStorage").XPathException = function() { return this .dartObjectLocalStorage; };
3544 $dynamic("set$dartObjectLocalStorage").XPathException = function(value) { return this.dartObjectLocalStorage = value; };
3545 $dynamic("toString$0").XPathException = function() {
3546 return this.toString();
3547 };
3548 // ********** Code for dom_XPathExpression **************
3549 $dynamic("get$dartObjectLocalStorage").XPathExpression = function() { return thi s.dartObjectLocalStorage; };
3550 $dynamic("set$dartObjectLocalStorage").XPathExpression = function(value) { retur n this.dartObjectLocalStorage = value; };
3551 // ********** Code for dom_XPathNSResolver **************
3552 $dynamic("get$dartObjectLocalStorage").XPathNSResolver = function() { return thi s.dartObjectLocalStorage; };
3553 $dynamic("set$dartObjectLocalStorage").XPathNSResolver = function(value) { retur n this.dartObjectLocalStorage = value; };
3554 // ********** Code for dom_XPathResult **************
3555 $dynamic("get$dartObjectLocalStorage").XPathResult = function() { return this.da rtObjectLocalStorage; };
3556 $dynamic("set$dartObjectLocalStorage").XPathResult = function(value) { return th is.dartObjectLocalStorage = value; };
3557 // ********** Code for dom_XSLTProcessor **************
3558 $dynamic("get$dartObjectLocalStorage").XSLTProcessor = function() { return this. dartObjectLocalStorage; };
3559 $dynamic("set$dartObjectLocalStorage").XSLTProcessor = function(value) { return this.dartObjectLocalStorage = value; };
3560 // ********** Code for dom__Collections **************
3561 function dom__Collections() {}
3562 // ********** Code for _VariableSizeListIterator_T **************
3563 $inherits(_VariableSizeListIterator_T, dom__VariableSizeListIterator);
3564 function _VariableSizeListIterator_T() {}
3565 // ********** Code for dom__FixedSizeListIterator **************
3566 $inherits(dom__FixedSizeListIterator, _VariableSizeListIterator_T);
3567 function dom__FixedSizeListIterator() {}
3568 dom__FixedSizeListIterator.prototype.hasNext = function() {
3569 return this._dom_length > this._dom_pos;
3570 }
3571 dom__FixedSizeListIterator.prototype.hasNext$0 = dom__FixedSizeListIterator.prot otype.hasNext;
3572 // ********** Code for dom__VariableSizeListIterator **************
3573 function dom__VariableSizeListIterator() {}
3574 dom__VariableSizeListIterator.prototype.hasNext = function() {
3575 return this._dom_array.get$length() > this._dom_pos;
3576 }
3577 dom__VariableSizeListIterator.prototype.next = function() {
3578 if (!this.hasNext()) {
3579 $throw(const$0002);
3580 }
3581 return this._dom_array.$index(this._dom_pos++);
3582 }
3583 dom__VariableSizeListIterator.prototype.hasNext$0 = dom__VariableSizeListIterato r.prototype.hasNext;
3584 dom__VariableSizeListIterator.prototype.next$0 = dom__VariableSizeListIterator.p rototype.next;
3585 // ********** Code for _Lists **************
3586 function _Lists() {}
3587 // ********** Code for top level **************
3588 function get$window() {
3589 return window;
3590 }
3591 function get$document() {
3592 return window.document;
3593 }
3594 // ********** Library htmlimpl **************
3595 // ********** Code for DOMWrapperBase **************
3596 function DOMWrapperBase() {}
3597 DOMWrapperBase._wrap$ctor = function(_ptr) {
3598 this._ptr = _ptr;
3599 this._ptr.set$dartObjectLocalStorage(this);
3600 }
3601 DOMWrapperBase._wrap$ctor.prototype = DOMWrapperBase.prototype;
3602 DOMWrapperBase.prototype.get$_ptr = function() { return this._ptr; };
3603 // ********** Code for EventTargetWrappingImplementation **************
3604 $inherits(EventTargetWrappingImplementation, DOMWrapperBase);
3605 function EventTargetWrappingImplementation() {}
3606 EventTargetWrappingImplementation._wrap$ctor = function(ptr) {
3607 DOMWrapperBase._wrap$ctor.call(this, ptr);
3608 }
3609 EventTargetWrappingImplementation._wrap$ctor.prototype = EventTargetWrappingImpl ementation.prototype;
3610 // ********** Code for NodeWrappingImplementation **************
3611 $inherits(NodeWrappingImplementation, EventTargetWrappingImplementation);
3612 function NodeWrappingImplementation() {}
3613 NodeWrappingImplementation._wrap$ctor = function(ptr) {
3614 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
3615 }
3616 NodeWrappingImplementation._wrap$ctor.prototype = NodeWrappingImplementation.pro totype;
3617 NodeWrappingImplementation.prototype.get$nodes = function() {
3618 if (this._nodes == null) {
3619 this._nodes = new _ChildrenNodeList._wrap$ctor(this._ptr);
3620 }
3621 return this._nodes;
3622 }
3623 NodeWrappingImplementation.prototype.get$parent = function() {
3624 return LevelDom.wrapNode(this._ptr.get$parentNode());
3625 }
3626 NodeWrappingImplementation.prototype.get$text = function() {
3627 return this._ptr.get$textContent();
3628 }
3629 NodeWrappingImplementation.prototype.replaceWith = function(otherNode) {
3630 try {
3631 this._ptr.get$parentNode().replaceChild$2(LevelDom.unwrap(otherNode), this._ ptr);
3632 } catch (e) {
3633 e = _toDartException(e);
3634 }
3635 return this;
3636 }
3637 NodeWrappingImplementation.prototype.remove = function() {
3638 if (this._ptr.get$parentNode() != null) {
3639 this._ptr.get$parentNode().removeChild$1(this._ptr);
3640 }
3641 return this;
3642 }
3643 NodeWrappingImplementation.prototype.remove$0 = NodeWrappingImplementation.proto type.remove;
3644 // ********** Code for ElementWrappingImplementation **************
3645 $inherits(ElementWrappingImplementation, NodeWrappingImplementation);
3646 function ElementWrappingImplementation() {}
3647 ElementWrappingImplementation._wrap$ctor = function(ptr) {
3648 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3649 }
3650 ElementWrappingImplementation._wrap$ctor.prototype = ElementWrappingImplementati on.prototype;
3651 ElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
3652 ElementWrappingImplementation.ElementWrappingImplementation$html$factory = funct ion(html) {
3653 var parentTag = "div";
3654 var tag;
3655 var match = const$0004.firstMatch(html);
3656 if (match != null) {
3657 tag = match.group$1((1)).toLowerCase$0();
3658 if (const$0006.containsKey(tag)) {
3659 parentTag = const$0006.$index(tag);
3660 }
3661 }
3662 var temp = get$document().createElement(parentTag);
3663 temp.set$innerHTML(html);
3664 if ($eq(temp.get$childElementCount(), (1))) {
3665 return LevelDom.wrapElement(temp.get$firstElementChild());
3666 }
3667 else if (parentTag == "html" && $eq(temp.get$childElementCount(), (2))) {
3668 return LevelDom.wrapElement(temp.get$children().item$1(tag == "head" ? (0) : (1)));
3669 }
3670 else {
3671 $throw(new IllegalArgumentException(("HTML had " + temp.get$childElementCoun t() + " ") + "top level elements but 1 expected"));
3672 }
3673 }
3674 ElementWrappingImplementation.ElementWrappingImplementation$tag$factory = functi on(tag) {
3675 return LevelDom.wrapElement(get$document().createElement(tag));
3676 }
3677 ElementWrappingImplementation.prototype.get$elements = function() {
3678 if (this._elements == null) {
3679 this._elements = new _ChildrenElementList._wrap$ctor(this._ptr);
3680 }
3681 return this._elements;
3682 }
3683 ElementWrappingImplementation.prototype.get$classes = function() {
3684 if (this._cssClassSet == null) {
3685 this._cssClassSet = new _CssClassSet(this._ptr);
3686 }
3687 return this._cssClassSet;
3688 }
3689 ElementWrappingImplementation.prototype.get$firstElementChild = function() {
3690 return LevelDom.wrapElement(this._ptr.get$firstElementChild());
3691 }
3692 ElementWrappingImplementation.prototype.set$innerHTML = function(value) {
3693 this._ptr.set$innerHTML(value);
3694 }
3695 ElementWrappingImplementation.prototype.get$lastElementChild = function() {
3696 return LevelDom.wrapElement(this._ptr.get$lastElementChild());
3697 }
3698 ElementWrappingImplementation.prototype.get$nextElementSibling = function() {
3699 return LevelDom.wrapElement(this._ptr.get$nextElementSibling());
3700 }
3701 ElementWrappingImplementation.prototype.get$previousElementSibling = function() {
3702 return LevelDom.wrapElement(this._ptr.get$previousElementSibling());
3703 }
3704 ElementWrappingImplementation.prototype.get$style = function() {
3705 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
3706 }
3707 ElementWrappingImplementation.prototype.query = function(selectors) {
3708 return LevelDom.wrapElement(this._ptr.querySelector$1(selectors));
3709 }
3710 ElementWrappingImplementation.prototype.queryAll = function(selectors) {
3711 return new FrozenElementList._wrap$ctor(this._ptr.querySelectorAll$1(selectors ));
3712 }
3713 ElementWrappingImplementation.prototype.get$rect = function() {
3714 var $this = this; // closure support
3715 return _createMeasurementFuture((function () {
3716 return new ElementRectWrappingImplementation($this._ptr);
3717 })
3718 , new CompleterImpl());
3719 }
3720 ElementWrappingImplementation.prototype.get$on = function() {
3721 if (this._on == null) {
3722 this._on = new ElementEventsImplementation._wrap$ctor(this._ptr);
3723 }
3724 return this._on;
3725 }
3726 // ********** Code for AnchorElementWrappingImplementation **************
3727 $inherits(AnchorElementWrappingImplementation, ElementWrappingImplementation);
3728 function AnchorElementWrappingImplementation() {}
3729 AnchorElementWrappingImplementation._wrap$ctor = function(ptr) {
3730 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3731 }
3732 AnchorElementWrappingImplementation._wrap$ctor.prototype = AnchorElementWrapping Implementation.prototype;
3733 AnchorElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3734 AnchorElementWrappingImplementation.prototype.get$target = function() {
3735 return this._ptr.get$target();
3736 }
3737 AnchorElementWrappingImplementation.prototype.get$text = function() {
3738 return this._ptr.get$text();
3739 }
3740 AnchorElementWrappingImplementation.prototype.toString = function() {
3741 return this._ptr.toString$0();
3742 }
3743 AnchorElementWrappingImplementation.prototype.toString$0 = AnchorElementWrapping Implementation.prototype.toString;
3744 // ********** Code for AreaElementWrappingImplementation **************
3745 $inherits(AreaElementWrappingImplementation, ElementWrappingImplementation);
3746 function AreaElementWrappingImplementation() {}
3747 AreaElementWrappingImplementation._wrap$ctor = function(ptr) {
3748 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3749 }
3750 AreaElementWrappingImplementation._wrap$ctor.prototype = AreaElementWrappingImpl ementation.prototype;
3751 AreaElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3752 AreaElementWrappingImplementation.prototype.get$target = function() {
3753 return this._ptr.get$target();
3754 }
3755 // ********** Code for MediaElementWrappingImplementation **************
3756 $inherits(MediaElementWrappingImplementation, ElementWrappingImplementation);
3757 function MediaElementWrappingImplementation() {}
3758 MediaElementWrappingImplementation._wrap$ctor = function(ptr) {
3759 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3760 }
3761 MediaElementWrappingImplementation._wrap$ctor.prototype = MediaElementWrappingIm plementation.prototype;
3762 MediaElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3763 MediaElementWrappingImplementation.prototype.get$readyState = function() {
3764 return this._ptr.get$readyState();
3765 }
3766 // ********** Code for AudioElementWrappingImplementation **************
3767 $inherits(AudioElementWrappingImplementation, MediaElementWrappingImplementation );
3768 function AudioElementWrappingImplementation() {}
3769 AudioElementWrappingImplementation._wrap$ctor = function(ptr) {
3770 MediaElementWrappingImplementation._wrap$ctor.call(this, ptr);
3771 }
3772 AudioElementWrappingImplementation._wrap$ctor.prototype = AudioElementWrappingIm plementation.prototype;
3773 AudioElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3774 // ********** Code for EventWrappingImplementation **************
3775 $inherits(EventWrappingImplementation, DOMWrapperBase);
3776 function EventWrappingImplementation() {}
3777 EventWrappingImplementation._wrap$ctor = function(ptr) {
3778 DOMWrapperBase._wrap$ctor.call(this, ptr);
3779 }
3780 EventWrappingImplementation._wrap$ctor.prototype = EventWrappingImplementation.p rototype;
3781 EventWrappingImplementation.prototype.get$target = function() {
3782 return LevelDom.wrapEventTarget(this._ptr.get$target());
3783 }
3784 EventWrappingImplementation.prototype.preventDefault = function() {
3785 this._ptr.preventDefault$0();
3786 return;
3787 }
3788 EventWrappingImplementation.prototype.preventDefault$0 = EventWrappingImplementa tion.prototype.preventDefault;
3789 // ********** Code for AudioProcessingEventWrappingImplementation **************
3790 $inherits(AudioProcessingEventWrappingImplementation, EventWrappingImplementatio n);
3791 function AudioProcessingEventWrappingImplementation() {}
3792 AudioProcessingEventWrappingImplementation._wrap$ctor = function(ptr) {
3793 EventWrappingImplementation._wrap$ctor.call(this, ptr);
3794 }
3795 AudioProcessingEventWrappingImplementation._wrap$ctor.prototype = AudioProcessin gEventWrappingImplementation.prototype;
3796 // ********** Code for BRElementWrappingImplementation **************
3797 $inherits(BRElementWrappingImplementation, ElementWrappingImplementation);
3798 function BRElementWrappingImplementation() {}
3799 BRElementWrappingImplementation._wrap$ctor = function(ptr) {
3800 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3801 }
3802 BRElementWrappingImplementation._wrap$ctor.prototype = BRElementWrappingImplemen tation.prototype;
3803 BRElementWrappingImplementation.prototype.is$html_html_Element = function(){retu rn true};
3804 BRElementWrappingImplementation.prototype.get$clear = function() {
3805 return this._ptr.get$clear();
3806 }
3807 BRElementWrappingImplementation.prototype.clear$0 = function() {
3808 return this.get$clear().call$0();
3809 };
3810 // ********** Code for BaseElementWrappingImplementation **************
3811 $inherits(BaseElementWrappingImplementation, ElementWrappingImplementation);
3812 function BaseElementWrappingImplementation() {}
3813 BaseElementWrappingImplementation._wrap$ctor = function(ptr) {
3814 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3815 }
3816 BaseElementWrappingImplementation._wrap$ctor.prototype = BaseElementWrappingImpl ementation.prototype;
3817 BaseElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3818 BaseElementWrappingImplementation.prototype.get$target = function() {
3819 return this._ptr.get$target();
3820 }
3821 // ********** Code for ButtonElementWrappingImplementation **************
3822 $inherits(ButtonElementWrappingImplementation, ElementWrappingImplementation);
3823 function ButtonElementWrappingImplementation() {}
3824 ButtonElementWrappingImplementation._wrap$ctor = function(ptr) {
3825 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3826 }
3827 ButtonElementWrappingImplementation._wrap$ctor.prototype = ButtonElementWrapping Implementation.prototype;
3828 ButtonElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3829 ButtonElementWrappingImplementation.prototype.get$value = function() {
3830 return this._ptr.get$value();
3831 }
3832 ButtonElementWrappingImplementation.prototype.set$value = function(value) {
3833 this._ptr.set$value(value);
3834 }
3835 ButtonElementWrappingImplementation.prototype.click = function() {
3836 this._ptr.click$0();
3837 return;
3838 }
3839 ButtonElementWrappingImplementation.prototype.get$click = function() {
3840 return this.click.bind(this);
3841 }
3842 ButtonElementWrappingImplementation.prototype.click$0 = ButtonElementWrappingImp lementation.prototype.click;
3843 // ********** Code for CharacterDataWrappingImplementation **************
3844 $inherits(CharacterDataWrappingImplementation, NodeWrappingImplementation);
3845 function CharacterDataWrappingImplementation() {}
3846 CharacterDataWrappingImplementation._wrap$ctor = function(ptr) {
3847 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3848 }
3849 CharacterDataWrappingImplementation._wrap$ctor.prototype = CharacterDataWrapping Implementation.prototype;
3850 CharacterDataWrappingImplementation.prototype.get$length = function() {
3851 return this._ptr.get$length();
3852 }
3853 // ********** Code for TextWrappingImplementation **************
3854 $inherits(TextWrappingImplementation, CharacterDataWrappingImplementation);
3855 function TextWrappingImplementation() {}
3856 TextWrappingImplementation._wrap$ctor = function(ptr) {
3857 CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr);
3858 }
3859 TextWrappingImplementation._wrap$ctor.prototype = TextWrappingImplementation.pro totype;
3860 // ********** Code for CDATASectionWrappingImplementation **************
3861 $inherits(CDATASectionWrappingImplementation, TextWrappingImplementation);
3862 function CDATASectionWrappingImplementation() {}
3863 CDATASectionWrappingImplementation._wrap$ctor = function(ptr) {
3864 TextWrappingImplementation._wrap$ctor.call(this, ptr);
3865 }
3866 CDATASectionWrappingImplementation._wrap$ctor.prototype = CDATASectionWrappingIm plementation.prototype;
3867 // ********** Code for CanvasElementWrappingImplementation **************
3868 $inherits(CanvasElementWrappingImplementation, ElementWrappingImplementation);
3869 function CanvasElementWrappingImplementation() {}
3870 CanvasElementWrappingImplementation._wrap$ctor = function(ptr) {
3871 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3872 }
3873 CanvasElementWrappingImplementation._wrap$ctor.prototype = CanvasElementWrapping Implementation.prototype;
3874 CanvasElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
3875 // ********** Code for CommentWrappingImplementation **************
3876 $inherits(CommentWrappingImplementation, CharacterDataWrappingImplementation);
3877 function CommentWrappingImplementation() {}
3878 CommentWrappingImplementation._wrap$ctor = function(ptr) {
3879 CharacterDataWrappingImplementation._wrap$ctor.call(this, ptr);
3880 }
3881 CommentWrappingImplementation._wrap$ctor.prototype = CommentWrappingImplementati on.prototype;
3882 // ********** Code for DListElementWrappingImplementation **************
3883 $inherits(DListElementWrappingImplementation, ElementWrappingImplementation);
3884 function DListElementWrappingImplementation() {}
3885 DListElementWrappingImplementation._wrap$ctor = function(ptr) {
3886 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3887 }
3888 DListElementWrappingImplementation._wrap$ctor.prototype = DListElementWrappingIm plementation.prototype;
3889 DListElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3890 // ********** Code for DataListElementWrappingImplementation **************
3891 $inherits(DataListElementWrappingImplementation, ElementWrappingImplementation);
3892 function DataListElementWrappingImplementation() {}
3893 DataListElementWrappingImplementation._wrap$ctor = function(ptr) {
3894 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3895 }
3896 DataListElementWrappingImplementation._wrap$ctor.prototype = DataListElementWrap pingImplementation.prototype;
3897 DataListElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
3898 // ********** Code for DetailsElementWrappingImplementation **************
3899 $inherits(DetailsElementWrappingImplementation, ElementWrappingImplementation);
3900 function DetailsElementWrappingImplementation() {}
3901 DetailsElementWrappingImplementation._wrap$ctor = function(ptr) {
3902 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3903 }
3904 DetailsElementWrappingImplementation._wrap$ctor.prototype = DetailsElementWrappi ngImplementation.prototype;
3905 DetailsElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
3906 // ********** Code for DivElementWrappingImplementation **************
3907 $inherits(DivElementWrappingImplementation, ElementWrappingImplementation);
3908 function DivElementWrappingImplementation() {}
3909 DivElementWrappingImplementation._wrap$ctor = function(ptr) {
3910 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3911 }
3912 DivElementWrappingImplementation._wrap$ctor.prototype = DivElementWrappingImplem entation.prototype;
3913 DivElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
3914 // ********** Code for EmbedElementWrappingImplementation **************
3915 $inherits(EmbedElementWrappingImplementation, ElementWrappingImplementation);
3916 function EmbedElementWrappingImplementation() {}
3917 EmbedElementWrappingImplementation._wrap$ctor = function(ptr) {
3918 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3919 }
3920 EmbedElementWrappingImplementation._wrap$ctor.prototype = EmbedElementWrappingIm plementation.prototype;
3921 EmbedElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
3922 // ********** Code for EntityReferenceWrappingImplementation **************
3923 $inherits(EntityReferenceWrappingImplementation, NodeWrappingImplementation);
3924 function EntityReferenceWrappingImplementation() {}
3925 EntityReferenceWrappingImplementation._wrap$ctor = function(ptr) {
3926 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3927 }
3928 EntityReferenceWrappingImplementation._wrap$ctor.prototype = EntityReferenceWrap pingImplementation.prototype;
3929 // ********** Code for EntityWrappingImplementation **************
3930 $inherits(EntityWrappingImplementation, NodeWrappingImplementation);
3931 function EntityWrappingImplementation() {}
3932 EntityWrappingImplementation._wrap$ctor = function(ptr) {
3933 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
3934 }
3935 EntityWrappingImplementation._wrap$ctor.prototype = EntityWrappingImplementation .prototype;
3936 // ********** Code for FieldSetElementWrappingImplementation **************
3937 $inherits(FieldSetElementWrappingImplementation, ElementWrappingImplementation);
3938 function FieldSetElementWrappingImplementation() {}
3939 FieldSetElementWrappingImplementation._wrap$ctor = function(ptr) {
3940 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3941 }
3942 FieldSetElementWrappingImplementation._wrap$ctor.prototype = FieldSetElementWrap pingImplementation.prototype;
3943 FieldSetElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
3944 // ********** Code for FontElementWrappingImplementation **************
3945 $inherits(FontElementWrappingImplementation, ElementWrappingImplementation);
3946 function FontElementWrappingImplementation() {}
3947 FontElementWrappingImplementation._wrap$ctor = function(ptr) {
3948 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3949 }
3950 FontElementWrappingImplementation._wrap$ctor.prototype = FontElementWrappingImpl ementation.prototype;
3951 FontElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3952 // ********** Code for FormElementWrappingImplementation **************
3953 $inherits(FormElementWrappingImplementation, ElementWrappingImplementation);
3954 function FormElementWrappingImplementation() {}
3955 FormElementWrappingImplementation._wrap$ctor = function(ptr) {
3956 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3957 }
3958 FormElementWrappingImplementation._wrap$ctor.prototype = FormElementWrappingImpl ementation.prototype;
3959 FormElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3960 FormElementWrappingImplementation.prototype.get$length = function() {
3961 return this._ptr.get$length();
3962 }
3963 FormElementWrappingImplementation.prototype.get$target = function() {
3964 return this._ptr.get$target();
3965 }
3966 // ********** Code for HRElementWrappingImplementation **************
3967 $inherits(HRElementWrappingImplementation, ElementWrappingImplementation);
3968 function HRElementWrappingImplementation() {}
3969 HRElementWrappingImplementation._wrap$ctor = function(ptr) {
3970 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3971 }
3972 HRElementWrappingImplementation._wrap$ctor.prototype = HRElementWrappingImplemen tation.prototype;
3973 HRElementWrappingImplementation.prototype.is$html_html_Element = function(){retu rn true};
3974 // ********** Code for HeadElementWrappingImplementation **************
3975 $inherits(HeadElementWrappingImplementation, ElementWrappingImplementation);
3976 function HeadElementWrappingImplementation() {}
3977 HeadElementWrappingImplementation._wrap$ctor = function(ptr) {
3978 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3979 }
3980 HeadElementWrappingImplementation._wrap$ctor.prototype = HeadElementWrappingImpl ementation.prototype;
3981 HeadElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
3982 // ********** Code for HeadingElementWrappingImplementation **************
3983 $inherits(HeadingElementWrappingImplementation, ElementWrappingImplementation);
3984 function HeadingElementWrappingImplementation() {}
3985 HeadingElementWrappingImplementation._wrap$ctor = function(ptr) {
3986 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
3987 }
3988 HeadingElementWrappingImplementation._wrap$ctor.prototype = HeadingElementWrappi ngImplementation.prototype;
3989 HeadingElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
3990 // ********** Code for IDBVersionChangeEventWrappingImplementation ************* *
3991 $inherits(IDBVersionChangeEventWrappingImplementation, EventWrappingImplementati on);
3992 function IDBVersionChangeEventWrappingImplementation() {}
3993 IDBVersionChangeEventWrappingImplementation._wrap$ctor = function(ptr) {
3994 EventWrappingImplementation._wrap$ctor.call(this, ptr);
3995 }
3996 IDBVersionChangeEventWrappingImplementation._wrap$ctor.prototype = IDBVersionCha ngeEventWrappingImplementation.prototype;
3997 // ********** Code for IFrameElementWrappingImplementation **************
3998 $inherits(IFrameElementWrappingImplementation, ElementWrappingImplementation);
3999 function IFrameElementWrappingImplementation() {}
4000 IFrameElementWrappingImplementation._wrap$ctor = function(ptr) {
4001 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4002 }
4003 IFrameElementWrappingImplementation._wrap$ctor.prototype = IFrameElementWrapping Implementation.prototype;
4004 IFrameElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4005 // ********** Code for ImageElementWrappingImplementation **************
4006 $inherits(ImageElementWrappingImplementation, ElementWrappingImplementation);
4007 function ImageElementWrappingImplementation() {}
4008 ImageElementWrappingImplementation._wrap$ctor = function(ptr) {
4009 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4010 }
4011 ImageElementWrappingImplementation._wrap$ctor.prototype = ImageElementWrappingIm plementation.prototype;
4012 ImageElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4013 // ********** Code for InputElementWrappingImplementation **************
4014 $inherits(InputElementWrappingImplementation, ElementWrappingImplementation);
4015 function InputElementWrappingImplementation() {}
4016 InputElementWrappingImplementation._wrap$ctor = function(ptr) {
4017 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4018 }
4019 InputElementWrappingImplementation._wrap$ctor.prototype = InputElementWrappingIm plementation.prototype;
4020 InputElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4021 InputElementWrappingImplementation.prototype.get$value = function() {
4022 return this._ptr.get$value();
4023 }
4024 InputElementWrappingImplementation.prototype.set$value = function(value) {
4025 this._ptr.set$value(value);
4026 }
4027 InputElementWrappingImplementation.prototype.click = function() {
4028 this._ptr.click$0();
4029 return;
4030 }
4031 InputElementWrappingImplementation.prototype.get$click = function() {
4032 return this.click.bind(this);
4033 }
4034 InputElementWrappingImplementation.prototype.click$0 = InputElementWrappingImple mentation.prototype.click;
4035 // ********** Code for KeygenElementWrappingImplementation **************
4036 $inherits(KeygenElementWrappingImplementation, ElementWrappingImplementation);
4037 function KeygenElementWrappingImplementation() {}
4038 KeygenElementWrappingImplementation._wrap$ctor = function(ptr) {
4039 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4040 }
4041 KeygenElementWrappingImplementation._wrap$ctor.prototype = KeygenElementWrapping Implementation.prototype;
4042 KeygenElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4043 // ********** Code for LIElementWrappingImplementation **************
4044 $inherits(LIElementWrappingImplementation, ElementWrappingImplementation);
4045 function LIElementWrappingImplementation() {}
4046 LIElementWrappingImplementation._wrap$ctor = function(ptr) {
4047 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4048 }
4049 LIElementWrappingImplementation._wrap$ctor.prototype = LIElementWrappingImplemen tation.prototype;
4050 LIElementWrappingImplementation.prototype.is$html_html_Element = function(){retu rn true};
4051 LIElementWrappingImplementation.prototype.get$value = function() {
4052 return this._ptr.get$value();
4053 }
4054 LIElementWrappingImplementation.prototype.set$value = function(value) {
4055 this._ptr.set$value(value);
4056 }
4057 // ********** Code for LabelElementWrappingImplementation **************
4058 $inherits(LabelElementWrappingImplementation, ElementWrappingImplementation);
4059 function LabelElementWrappingImplementation() {}
4060 LabelElementWrappingImplementation._wrap$ctor = function(ptr) {
4061 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4062 }
4063 LabelElementWrappingImplementation._wrap$ctor.prototype = LabelElementWrappingIm plementation.prototype;
4064 LabelElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4065 // ********** Code for LegendElementWrappingImplementation **************
4066 $inherits(LegendElementWrappingImplementation, ElementWrappingImplementation);
4067 function LegendElementWrappingImplementation() {}
4068 LegendElementWrappingImplementation._wrap$ctor = function(ptr) {
4069 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4070 }
4071 LegendElementWrappingImplementation._wrap$ctor.prototype = LegendElementWrapping Implementation.prototype;
4072 LegendElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4073 // ********** Code for LinkElementWrappingImplementation **************
4074 $inherits(LinkElementWrappingImplementation, ElementWrappingImplementation);
4075 function LinkElementWrappingImplementation() {}
4076 LinkElementWrappingImplementation._wrap$ctor = function(ptr) {
4077 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4078 }
4079 LinkElementWrappingImplementation._wrap$ctor.prototype = LinkElementWrappingImpl ementation.prototype;
4080 LinkElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
4081 LinkElementWrappingImplementation.prototype.get$target = function() {
4082 return this._ptr.get$target();
4083 }
4084 // ********** Code for MapElementWrappingImplementation **************
4085 $inherits(MapElementWrappingImplementation, ElementWrappingImplementation);
4086 function MapElementWrappingImplementation() {}
4087 MapElementWrappingImplementation._wrap$ctor = function(ptr) {
4088 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4089 }
4090 MapElementWrappingImplementation._wrap$ctor.prototype = MapElementWrappingImplem entation.prototype;
4091 MapElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
4092 // ********** Code for MarqueeElementWrappingImplementation **************
4093 $inherits(MarqueeElementWrappingImplementation, ElementWrappingImplementation);
4094 function MarqueeElementWrappingImplementation() {}
4095 MarqueeElementWrappingImplementation._wrap$ctor = function(ptr) {
4096 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4097 }
4098 MarqueeElementWrappingImplementation._wrap$ctor.prototype = MarqueeElementWrappi ngImplementation.prototype;
4099 MarqueeElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4100 // ********** Code for MenuElementWrappingImplementation **************
4101 $inherits(MenuElementWrappingImplementation, ElementWrappingImplementation);
4102 function MenuElementWrappingImplementation() {}
4103 MenuElementWrappingImplementation._wrap$ctor = function(ptr) {
4104 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4105 }
4106 MenuElementWrappingImplementation._wrap$ctor.prototype = MenuElementWrappingImpl ementation.prototype;
4107 MenuElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
4108 // ********** Code for MetaElementWrappingImplementation **************
4109 $inherits(MetaElementWrappingImplementation, ElementWrappingImplementation);
4110 function MetaElementWrappingImplementation() {}
4111 MetaElementWrappingImplementation._wrap$ctor = function(ptr) {
4112 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4113 }
4114 MetaElementWrappingImplementation._wrap$ctor.prototype = MetaElementWrappingImpl ementation.prototype;
4115 MetaElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
4116 // ********** Code for MeterElementWrappingImplementation **************
4117 $inherits(MeterElementWrappingImplementation, ElementWrappingImplementation);
4118 function MeterElementWrappingImplementation() {}
4119 MeterElementWrappingImplementation._wrap$ctor = function(ptr) {
4120 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4121 }
4122 MeterElementWrappingImplementation._wrap$ctor.prototype = MeterElementWrappingIm plementation.prototype;
4123 MeterElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4124 MeterElementWrappingImplementation.prototype.get$value = function() {
4125 return this._ptr.get$value();
4126 }
4127 MeterElementWrappingImplementation.prototype.set$value = function(value) {
4128 this._ptr.set$value(value);
4129 }
4130 // ********** Code for ModElementWrappingImplementation **************
4131 $inherits(ModElementWrappingImplementation, ElementWrappingImplementation);
4132 function ModElementWrappingImplementation() {}
4133 ModElementWrappingImplementation._wrap$ctor = function(ptr) {
4134 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4135 }
4136 ModElementWrappingImplementation._wrap$ctor.prototype = ModElementWrappingImplem entation.prototype;
4137 ModElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
4138 // ********** Code for NavigatorWrappingImplementation **************
4139 $inherits(NavigatorWrappingImplementation, DOMWrapperBase);
4140 function NavigatorWrappingImplementation() {}
4141 NavigatorWrappingImplementation._wrap$ctor = function(ptr) {
4142 DOMWrapperBase._wrap$ctor.call(this, ptr);
4143 }
4144 NavigatorWrappingImplementation._wrap$ctor.prototype = NavigatorWrappingImplemen tation.prototype;
4145 NavigatorWrappingImplementation.prototype.get$userAgent = function() {
4146 return this._ptr.get$userAgent();
4147 }
4148 // ********** Code for NotationWrappingImplementation **************
4149 $inherits(NotationWrappingImplementation, NodeWrappingImplementation);
4150 function NotationWrappingImplementation() {}
4151 NotationWrappingImplementation._wrap$ctor = function(ptr) {
4152 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
4153 }
4154 NotationWrappingImplementation._wrap$ctor.prototype = NotationWrappingImplementa tion.prototype;
4155 // ********** Code for OListElementWrappingImplementation **************
4156 $inherits(OListElementWrappingImplementation, ElementWrappingImplementation);
4157 function OListElementWrappingImplementation() {}
4158 OListElementWrappingImplementation._wrap$ctor = function(ptr) {
4159 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4160 }
4161 OListElementWrappingImplementation._wrap$ctor.prototype = OListElementWrappingIm plementation.prototype;
4162 OListElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4163 // ********** Code for OfflineAudioCompletionEventWrappingImplementation ******* *******
4164 $inherits(OfflineAudioCompletionEventWrappingImplementation, EventWrappingImplem entation);
4165 function OfflineAudioCompletionEventWrappingImplementation() {}
4166 OfflineAudioCompletionEventWrappingImplementation._wrap$ctor = function(ptr) {
4167 EventWrappingImplementation._wrap$ctor.call(this, ptr);
4168 }
4169 OfflineAudioCompletionEventWrappingImplementation._wrap$ctor.prototype = Offline AudioCompletionEventWrappingImplementation.prototype;
4170 // ********** Code for OptGroupElementWrappingImplementation **************
4171 $inherits(OptGroupElementWrappingImplementation, ElementWrappingImplementation);
4172 function OptGroupElementWrappingImplementation() {}
4173 OptGroupElementWrappingImplementation._wrap$ctor = function(ptr) {
4174 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4175 }
4176 OptGroupElementWrappingImplementation._wrap$ctor.prototype = OptGroupElementWrap pingImplementation.prototype;
4177 OptGroupElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4178 // ********** Code for OptionElementWrappingImplementation **************
4179 $inherits(OptionElementWrappingImplementation, ElementWrappingImplementation);
4180 function OptionElementWrappingImplementation() {}
4181 OptionElementWrappingImplementation._wrap$ctor = function(ptr) {
4182 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4183 }
4184 OptionElementWrappingImplementation._wrap$ctor.prototype = OptionElementWrapping Implementation.prototype;
4185 OptionElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4186 OptionElementWrappingImplementation.prototype.get$text = function() {
4187 return this._ptr.get$text();
4188 }
4189 OptionElementWrappingImplementation.prototype.get$value = function() {
4190 return this._ptr.get$value();
4191 }
4192 OptionElementWrappingImplementation.prototype.set$value = function(value) {
4193 this._ptr.set$value(value);
4194 }
4195 // ********** Code for OutputElementWrappingImplementation **************
4196 $inherits(OutputElementWrappingImplementation, ElementWrappingImplementation);
4197 function OutputElementWrappingImplementation() {}
4198 OutputElementWrappingImplementation._wrap$ctor = function(ptr) {
4199 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4200 }
4201 OutputElementWrappingImplementation._wrap$ctor.prototype = OutputElementWrapping Implementation.prototype;
4202 OutputElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
4203 OutputElementWrappingImplementation.prototype.get$value = function() {
4204 return this._ptr.get$value();
4205 }
4206 OutputElementWrappingImplementation.prototype.set$value = function(value) {
4207 this._ptr.set$value(value);
4208 }
4209 // ********** Code for ParagraphElementWrappingImplementation **************
4210 $inherits(ParagraphElementWrappingImplementation, ElementWrappingImplementation) ;
4211 function ParagraphElementWrappingImplementation() {}
4212 ParagraphElementWrappingImplementation._wrap$ctor = function(ptr) {
4213 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4214 }
4215 ParagraphElementWrappingImplementation._wrap$ctor.prototype = ParagraphElementWr appingImplementation.prototype;
4216 ParagraphElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4217 // ********** Code for ParamElementWrappingImplementation **************
4218 $inherits(ParamElementWrappingImplementation, ElementWrappingImplementation);
4219 function ParamElementWrappingImplementation() {}
4220 ParamElementWrappingImplementation._wrap$ctor = function(ptr) {
4221 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4222 }
4223 ParamElementWrappingImplementation._wrap$ctor.prototype = ParamElementWrappingIm plementation.prototype;
4224 ParamElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4225 ParamElementWrappingImplementation.prototype.get$value = function() {
4226 return this._ptr.get$value();
4227 }
4228 ParamElementWrappingImplementation.prototype.set$value = function(value) {
4229 this._ptr.set$value(value);
4230 }
4231 // ********** Code for PreElementWrappingImplementation **************
4232 $inherits(PreElementWrappingImplementation, ElementWrappingImplementation);
4233 function PreElementWrappingImplementation() {}
4234 PreElementWrappingImplementation._wrap$ctor = function(ptr) {
4235 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4236 }
4237 PreElementWrappingImplementation._wrap$ctor.prototype = PreElementWrappingImplem entation.prototype;
4238 PreElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
4239 // ********** Code for ProcessingInstructionWrappingImplementation ************* *
4240 $inherits(ProcessingInstructionWrappingImplementation, NodeWrappingImplementatio n);
4241 function ProcessingInstructionWrappingImplementation() {}
4242 ProcessingInstructionWrappingImplementation._wrap$ctor = function(ptr) {
4243 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
4244 }
4245 ProcessingInstructionWrappingImplementation._wrap$ctor.prototype = ProcessingIns tructionWrappingImplementation.prototype;
4246 ProcessingInstructionWrappingImplementation.prototype.get$target = function() {
4247 return this._ptr.get$target();
4248 }
4249 // ********** Code for ProgressElementWrappingImplementation **************
4250 $inherits(ProgressElementWrappingImplementation, ElementWrappingImplementation);
4251 function ProgressElementWrappingImplementation() {}
4252 ProgressElementWrappingImplementation._wrap$ctor = function(ptr) {
4253 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4254 }
4255 ProgressElementWrappingImplementation._wrap$ctor.prototype = ProgressElementWrap pingImplementation.prototype;
4256 ProgressElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4257 ProgressElementWrappingImplementation.prototype.get$value = function() {
4258 return this._ptr.get$value();
4259 }
4260 ProgressElementWrappingImplementation.prototype.set$value = function(value) {
4261 this._ptr.set$value(value);
4262 }
4263 // ********** Code for QuoteElementWrappingImplementation **************
4264 $inherits(QuoteElementWrappingImplementation, ElementWrappingImplementation);
4265 function QuoteElementWrappingImplementation() {}
4266 QuoteElementWrappingImplementation._wrap$ctor = function(ptr) {
4267 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4268 }
4269 QuoteElementWrappingImplementation._wrap$ctor.prototype = QuoteElementWrappingIm plementation.prototype;
4270 QuoteElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
4271 // ********** Code for SVGElementWrappingImplementation **************
4272 $inherits(SVGElementWrappingImplementation, ElementWrappingImplementation);
4273 function SVGElementWrappingImplementation() {}
4274 SVGElementWrappingImplementation._wrap$ctor = function(ptr) {
4275 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
4276 }
4277 SVGElementWrappingImplementation._wrap$ctor.prototype = SVGElementWrappingImplem entation.prototype;
4278 SVGElementWrappingImplementation.prototype.is$html_html_Element = function(){ret urn true};
4279 SVGElementWrappingImplementation.prototype.get$classes = function() {
4280 if (this._cssClassSet == null) {
4281 this._cssClassSet = new _SVGClassSet(this._ptr);
4282 }
4283 return this._cssClassSet;
4284 }
4285 SVGElementWrappingImplementation.prototype.get$elements = function() {
4286 if (this._elements == null) {
4287 this._elements = new FilteredElementList(this);
4288 }
4289 return this._elements;
4290 }
4291 SVGElementWrappingImplementation.prototype.set$elements = function(value) {
4292 var elements = this.get$elements();
4293 elements.clear$0();
4294 elements.addAll$1(value);
4295 }
4296 SVGElementWrappingImplementation.prototype.set$innerHTML = function(svg) {
4297 var container = ElementWrappingImplementation.ElementWrappingImplementation$ta g$factory("div");
4298 container.set$innerHTML(("<svg version=\"1.1\">" + svg + "</svg>"));
4299 this.set$elements(container.get$elements().get$first().get$elements());
4300 }
4301 // ********** Code for SVGAElementWrappingImplementation **************
4302 $inherits(SVGAElementWrappingImplementation, SVGElementWrappingImplementation);
4303 function SVGAElementWrappingImplementation() {}
4304 SVGAElementWrappingImplementation._wrap$ctor = function(ptr) {
4305 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4306 }
4307 SVGAElementWrappingImplementation._wrap$ctor.prototype = SVGAElementWrappingImpl ementation.prototype;
4308 SVGAElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
4309 SVGAElementWrappingImplementation.prototype.get$target = function() {
4310 return LevelDom.wrapSVGAnimatedString(this._ptr.get$target());
4311 }
4312 SVGAElementWrappingImplementation.prototype.get$className = function() {
4313 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4314 }
4315 SVGAElementWrappingImplementation.prototype.get$style = function() {
4316 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4317 }
4318 // ********** Code for SVGAltGlyphDefElementWrappingImplementation ************* *
4319 $inherits(SVGAltGlyphDefElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4320 function SVGAltGlyphDefElementWrappingImplementation() {}
4321 SVGAltGlyphDefElementWrappingImplementation._wrap$ctor = function(ptr) {
4322 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4323 }
4324 SVGAltGlyphDefElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphDe fElementWrappingImplementation.prototype;
4325 SVGAltGlyphDefElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4326 // ********** Code for SVGTextContentElementWrappingImplementation ************* *
4327 $inherits(SVGTextContentElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4328 function SVGTextContentElementWrappingImplementation() {}
4329 SVGTextContentElementWrappingImplementation._wrap$ctor = function(ptr) {
4330 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4331 }
4332 SVGTextContentElementWrappingImplementation._wrap$ctor.prototype = SVGTextConten tElementWrappingImplementation.prototype;
4333 SVGTextContentElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4334 SVGTextContentElementWrappingImplementation.prototype.get$className = function() {
4335 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4336 }
4337 SVGTextContentElementWrappingImplementation.prototype.get$style = function() {
4338 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4339 }
4340 // ********** Code for SVGTextPositioningElementWrappingImplementation ********* *****
4341 $inherits(SVGTextPositioningElementWrappingImplementation, SVGTextContentElement WrappingImplementation);
4342 function SVGTextPositioningElementWrappingImplementation() {}
4343 SVGTextPositioningElementWrappingImplementation._wrap$ctor = function(ptr) {
4344 SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr);
4345 }
4346 SVGTextPositioningElementWrappingImplementation._wrap$ctor.prototype = SVGTextPo sitioningElementWrappingImplementation.prototype;
4347 SVGTextPositioningElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4348 // ********** Code for SVGAltGlyphElementWrappingImplementation **************
4349 $inherits(SVGAltGlyphElementWrappingImplementation, SVGTextPositioningElementWra ppingImplementation);
4350 function SVGAltGlyphElementWrappingImplementation() {}
4351 SVGAltGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
4352 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
4353 }
4354 SVGAltGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphEleme ntWrappingImplementation.prototype;
4355 SVGAltGlyphElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4356 // ********** Code for SVGAltGlyphItemElementWrappingImplementation ************ **
4357 $inherits(SVGAltGlyphItemElementWrappingImplementation, SVGElementWrappingImplem entation);
4358 function SVGAltGlyphItemElementWrappingImplementation() {}
4359 SVGAltGlyphItemElementWrappingImplementation._wrap$ctor = function(ptr) {
4360 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4361 }
4362 SVGAltGlyphItemElementWrappingImplementation._wrap$ctor.prototype = SVGAltGlyphI temElementWrappingImplementation.prototype;
4363 SVGAltGlyphItemElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4364 // ********** Code for SVGAnimationElementWrappingImplementation **************
4365 $inherits(SVGAnimationElementWrappingImplementation, SVGElementWrappingImplement ation);
4366 function SVGAnimationElementWrappingImplementation() {}
4367 SVGAnimationElementWrappingImplementation._wrap$ctor = function(ptr) {
4368 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4369 }
4370 SVGAnimationElementWrappingImplementation._wrap$ctor.prototype = SVGAnimationEle mentWrappingImplementation.prototype;
4371 SVGAnimationElementWrappingImplementation.prototype.is$html_html_Element = funct ion(){return true};
4372 // ********** Code for SVGAnimateColorElementWrappingImplementation ************ **
4373 $inherits(SVGAnimateColorElementWrappingImplementation, SVGAnimationElementWrapp ingImplementation);
4374 function SVGAnimateColorElementWrappingImplementation() {}
4375 SVGAnimateColorElementWrappingImplementation._wrap$ctor = function(ptr) {
4376 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
4377 }
4378 SVGAnimateColorElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateCo lorElementWrappingImplementation.prototype;
4379 SVGAnimateColorElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4380 // ********** Code for SVGAnimateElementWrappingImplementation **************
4381 $inherits(SVGAnimateElementWrappingImplementation, SVGAnimationElementWrappingIm plementation);
4382 function SVGAnimateElementWrappingImplementation() {}
4383 SVGAnimateElementWrappingImplementation._wrap$ctor = function(ptr) {
4384 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
4385 }
4386 SVGAnimateElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateElement WrappingImplementation.prototype;
4387 SVGAnimateElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4388 // ********** Code for SVGAnimateMotionElementWrappingImplementation *********** ***
4389 $inherits(SVGAnimateMotionElementWrappingImplementation, SVGAnimationElementWrap pingImplementation);
4390 function SVGAnimateMotionElementWrappingImplementation() {}
4391 SVGAnimateMotionElementWrappingImplementation._wrap$ctor = function(ptr) {
4392 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
4393 }
4394 SVGAnimateMotionElementWrappingImplementation._wrap$ctor.prototype = SVGAnimateM otionElementWrappingImplementation.prototype;
4395 SVGAnimateMotionElementWrappingImplementation.prototype.is$html_html_Element = f unction(){return true};
4396 // ********** Code for SVGAnimateTransformElementWrappingImplementation ******** ******
4397 $inherits(SVGAnimateTransformElementWrappingImplementation, SVGAnimationElementW rappingImplementation);
4398 function SVGAnimateTransformElementWrappingImplementation() {}
4399 SVGAnimateTransformElementWrappingImplementation._wrap$ctor = function(ptr) {
4400 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
4401 }
4402 SVGAnimateTransformElementWrappingImplementation._wrap$ctor.prototype = SVGAnima teTransformElementWrappingImplementation.prototype;
4403 SVGAnimateTransformElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4404 // ********** Code for SVGAnimatedStringWrappingImplementation **************
4405 $inherits(SVGAnimatedStringWrappingImplementation, DOMWrapperBase);
4406 function SVGAnimatedStringWrappingImplementation() {}
4407 SVGAnimatedStringWrappingImplementation._wrap$ctor = function(ptr) {
4408 DOMWrapperBase._wrap$ctor.call(this, ptr);
4409 }
4410 SVGAnimatedStringWrappingImplementation._wrap$ctor.prototype = SVGAnimatedString WrappingImplementation.prototype;
4411 SVGAnimatedStringWrappingImplementation.prototype.get$baseVal = function() {
4412 return this._ptr.get$baseVal();
4413 }
4414 SVGAnimatedStringWrappingImplementation.prototype.set$baseVal = function(value) {
4415 this._ptr.set$baseVal(value);
4416 }
4417 // ********** Code for SVGCircleElementWrappingImplementation **************
4418 $inherits(SVGCircleElementWrappingImplementation, SVGElementWrappingImplementati on);
4419 function SVGCircleElementWrappingImplementation() {}
4420 SVGCircleElementWrappingImplementation._wrap$ctor = function(ptr) {
4421 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4422 }
4423 SVGCircleElementWrappingImplementation._wrap$ctor.prototype = SVGCircleElementWr appingImplementation.prototype;
4424 SVGCircleElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4425 SVGCircleElementWrappingImplementation.prototype.get$className = function() {
4426 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4427 }
4428 SVGCircleElementWrappingImplementation.prototype.get$style = function() {
4429 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4430 }
4431 // ********** Code for SVGClipPathElementWrappingImplementation **************
4432 $inherits(SVGClipPathElementWrappingImplementation, SVGElementWrappingImplementa tion);
4433 function SVGClipPathElementWrappingImplementation() {}
4434 SVGClipPathElementWrappingImplementation._wrap$ctor = function(ptr) {
4435 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4436 }
4437 SVGClipPathElementWrappingImplementation._wrap$ctor.prototype = SVGClipPathEleme ntWrappingImplementation.prototype;
4438 SVGClipPathElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4439 SVGClipPathElementWrappingImplementation.prototype.get$className = function() {
4440 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4441 }
4442 SVGClipPathElementWrappingImplementation.prototype.get$style = function() {
4443 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4444 }
4445 // ********** Code for SVGComponentTransferFunctionElementWrappingImplementation **************
4446 $inherits(SVGComponentTransferFunctionElementWrappingImplementation, SVGElementW rappingImplementation);
4447 function SVGComponentTransferFunctionElementWrappingImplementation() {}
4448 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor = function( ptr) {
4449 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4450 }
4451 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.prototype = SVGComponentTransferFunctionElementWrappingImplementation.prototype;
4452 SVGComponentTransferFunctionElementWrappingImplementation.prototype.is$html_html _Element = function(){return true};
4453 // ********** Code for SVGCursorElementWrappingImplementation **************
4454 $inherits(SVGCursorElementWrappingImplementation, SVGElementWrappingImplementati on);
4455 function SVGCursorElementWrappingImplementation() {}
4456 SVGCursorElementWrappingImplementation._wrap$ctor = function(ptr) {
4457 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4458 }
4459 SVGCursorElementWrappingImplementation._wrap$ctor.prototype = SVGCursorElementWr appingImplementation.prototype;
4460 SVGCursorElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4461 // ********** Code for SVGDefsElementWrappingImplementation **************
4462 $inherits(SVGDefsElementWrappingImplementation, SVGElementWrappingImplementation );
4463 function SVGDefsElementWrappingImplementation() {}
4464 SVGDefsElementWrappingImplementation._wrap$ctor = function(ptr) {
4465 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4466 }
4467 SVGDefsElementWrappingImplementation._wrap$ctor.prototype = SVGDefsElementWrappi ngImplementation.prototype;
4468 SVGDefsElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4469 SVGDefsElementWrappingImplementation.prototype.get$className = function() {
4470 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4471 }
4472 SVGDefsElementWrappingImplementation.prototype.get$style = function() {
4473 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4474 }
4475 // ********** Code for SVGDescElementWrappingImplementation **************
4476 $inherits(SVGDescElementWrappingImplementation, SVGElementWrappingImplementation );
4477 function SVGDescElementWrappingImplementation() {}
4478 SVGDescElementWrappingImplementation._wrap$ctor = function(ptr) {
4479 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4480 }
4481 SVGDescElementWrappingImplementation._wrap$ctor.prototype = SVGDescElementWrappi ngImplementation.prototype;
4482 SVGDescElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4483 SVGDescElementWrappingImplementation.prototype.get$className = function() {
4484 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4485 }
4486 SVGDescElementWrappingImplementation.prototype.get$style = function() {
4487 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4488 }
4489 // ********** Code for SVGElementInstanceListWrappingImplementation ************ **
4490 $inherits(SVGElementInstanceListWrappingImplementation, DOMWrapperBase);
4491 function SVGElementInstanceListWrappingImplementation() {}
4492 SVGElementInstanceListWrappingImplementation._wrap$ctor = function(ptr) {
4493 DOMWrapperBase._wrap$ctor.call(this, ptr);
4494 }
4495 SVGElementInstanceListWrappingImplementation._wrap$ctor.prototype = SVGElementIn stanceListWrappingImplementation.prototype;
4496 SVGElementInstanceListWrappingImplementation.prototype.get$length = function() {
4497 return this._ptr.get$length();
4498 }
4499 SVGElementInstanceListWrappingImplementation.prototype.item = function(index) {
4500 return LevelDom.wrapSVGElementInstance(this._ptr.item$1(index));
4501 }
4502 SVGElementInstanceListWrappingImplementation.prototype.item$1 = SVGElementInstan ceListWrappingImplementation.prototype.item;
4503 // ********** Code for SVGEllipseElementWrappingImplementation **************
4504 $inherits(SVGEllipseElementWrappingImplementation, SVGElementWrappingImplementat ion);
4505 function SVGEllipseElementWrappingImplementation() {}
4506 SVGEllipseElementWrappingImplementation._wrap$ctor = function(ptr) {
4507 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4508 }
4509 SVGEllipseElementWrappingImplementation._wrap$ctor.prototype = SVGEllipseElement WrappingImplementation.prototype;
4510 SVGEllipseElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4511 SVGEllipseElementWrappingImplementation.prototype.get$className = function() {
4512 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4513 }
4514 SVGEllipseElementWrappingImplementation.prototype.get$style = function() {
4515 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4516 }
4517 // ********** Code for SVGFEBlendElementWrappingImplementation **************
4518 $inherits(SVGFEBlendElementWrappingImplementation, SVGElementWrappingImplementat ion);
4519 function SVGFEBlendElementWrappingImplementation() {}
4520 SVGFEBlendElementWrappingImplementation._wrap$ctor = function(ptr) {
4521 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4522 }
4523 SVGFEBlendElementWrappingImplementation._wrap$ctor.prototype = SVGFEBlendElement WrappingImplementation.prototype;
4524 SVGFEBlendElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4525 SVGFEBlendElementWrappingImplementation.prototype.get$className = function() {
4526 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4527 }
4528 SVGFEBlendElementWrappingImplementation.prototype.get$style = function() {
4529 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4530 }
4531 // ********** Code for SVGFEColorMatrixElementWrappingImplementation *********** ***
4532 $inherits(SVGFEColorMatrixElementWrappingImplementation, SVGElementWrappingImple mentation);
4533 function SVGFEColorMatrixElementWrappingImplementation() {}
4534 SVGFEColorMatrixElementWrappingImplementation._wrap$ctor = function(ptr) {
4535 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4536 }
4537 SVGFEColorMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFEColorM atrixElementWrappingImplementation.prototype;
4538 SVGFEColorMatrixElementWrappingImplementation.prototype.is$html_html_Element = f unction(){return true};
4539 SVGFEColorMatrixElementWrappingImplementation.prototype.get$className = function () {
4540 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4541 }
4542 SVGFEColorMatrixElementWrappingImplementation.prototype.get$style = function() {
4543 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4544 }
4545 // ********** Code for SVGFEComponentTransferElementWrappingImplementation ***** *********
4546 $inherits(SVGFEComponentTransferElementWrappingImplementation, SVGElementWrappin gImplementation);
4547 function SVGFEComponentTransferElementWrappingImplementation() {}
4548 SVGFEComponentTransferElementWrappingImplementation._wrap$ctor = function(ptr) {
4549 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4550 }
4551 SVGFEComponentTransferElementWrappingImplementation._wrap$ctor.prototype = SVGFE ComponentTransferElementWrappingImplementation.prototype;
4552 SVGFEComponentTransferElementWrappingImplementation.prototype.is$html_html_Eleme nt = function(){return true};
4553 SVGFEComponentTransferElementWrappingImplementation.prototype.get$className = fu nction() {
4554 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4555 }
4556 SVGFEComponentTransferElementWrappingImplementation.prototype.get$style = functi on() {
4557 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4558 }
4559 // ********** Code for SVGFEConvolveMatrixElementWrappingImplementation ******** ******
4560 $inherits(SVGFEConvolveMatrixElementWrappingImplementation, SVGElementWrappingIm plementation);
4561 function SVGFEConvolveMatrixElementWrappingImplementation() {}
4562 SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor = function(ptr) {
4563 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4564 }
4565 SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor.prototype = SVGFECon volveMatrixElementWrappingImplementation.prototype;
4566 SVGFEConvolveMatrixElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4567 SVGFEConvolveMatrixElementWrappingImplementation.prototype.get$className = funct ion() {
4568 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4569 }
4570 SVGFEConvolveMatrixElementWrappingImplementation.prototype.get$style = function( ) {
4571 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4572 }
4573 // ********** Code for SVGFEDiffuseLightingElementWrappingImplementation ******* *******
4574 $inherits(SVGFEDiffuseLightingElementWrappingImplementation, SVGElementWrappingI mplementation);
4575 function SVGFEDiffuseLightingElementWrappingImplementation() {}
4576 SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor = function(ptr) {
4577 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4578 }
4579 SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFEDi ffuseLightingElementWrappingImplementation.prototype;
4580 SVGFEDiffuseLightingElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4581 SVGFEDiffuseLightingElementWrappingImplementation.prototype.get$className = func tion() {
4582 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4583 }
4584 SVGFEDiffuseLightingElementWrappingImplementation.prototype.get$style = function () {
4585 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4586 }
4587 // ********** Code for SVGFEDisplacementMapElementWrappingImplementation ******* *******
4588 $inherits(SVGFEDisplacementMapElementWrappingImplementation, SVGElementWrappingI mplementation);
4589 function SVGFEDisplacementMapElementWrappingImplementation() {}
4590 SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor = function(ptr) {
4591 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4592 }
4593 SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor.prototype = SVGFEDi splacementMapElementWrappingImplementation.prototype;
4594 SVGFEDisplacementMapElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4595 SVGFEDisplacementMapElementWrappingImplementation.prototype.get$className = func tion() {
4596 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4597 }
4598 SVGFEDisplacementMapElementWrappingImplementation.prototype.get$style = function () {
4599 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4600 }
4601 // ********** Code for SVGFEDistantLightElementWrappingImplementation ********** ****
4602 $inherits(SVGFEDistantLightElementWrappingImplementation, SVGElementWrappingImpl ementation);
4603 function SVGFEDistantLightElementWrappingImplementation() {}
4604 SVGFEDistantLightElementWrappingImplementation._wrap$ctor = function(ptr) {
4605 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4606 }
4607 SVGFEDistantLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEDista ntLightElementWrappingImplementation.prototype;
4608 SVGFEDistantLightElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4609 // ********** Code for SVGFEDropShadowElementWrappingImplementation ************ **
4610 $inherits(SVGFEDropShadowElementWrappingImplementation, SVGElementWrappingImplem entation);
4611 function SVGFEDropShadowElementWrappingImplementation() {}
4612 SVGFEDropShadowElementWrappingImplementation._wrap$ctor = function(ptr) {
4613 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4614 }
4615 SVGFEDropShadowElementWrappingImplementation._wrap$ctor.prototype = SVGFEDropSha dowElementWrappingImplementation.prototype;
4616 SVGFEDropShadowElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4617 SVGFEDropShadowElementWrappingImplementation.prototype.get$className = function( ) {
4618 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4619 }
4620 SVGFEDropShadowElementWrappingImplementation.prototype.get$style = function() {
4621 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4622 }
4623 // ********** Code for SVGFEFloodElementWrappingImplementation **************
4624 $inherits(SVGFEFloodElementWrappingImplementation, SVGElementWrappingImplementat ion);
4625 function SVGFEFloodElementWrappingImplementation() {}
4626 SVGFEFloodElementWrappingImplementation._wrap$ctor = function(ptr) {
4627 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4628 }
4629 SVGFEFloodElementWrappingImplementation._wrap$ctor.prototype = SVGFEFloodElement WrappingImplementation.prototype;
4630 SVGFEFloodElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4631 SVGFEFloodElementWrappingImplementation.prototype.get$className = function() {
4632 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4633 }
4634 SVGFEFloodElementWrappingImplementation.prototype.get$style = function() {
4635 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4636 }
4637 // ********** Code for SVGFEFuncAElementWrappingImplementation **************
4638 $inherits(SVGFEFuncAElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4639 function SVGFEFuncAElementWrappingImplementation() {}
4640 SVGFEFuncAElementWrappingImplementation._wrap$ctor = function(ptr) {
4641 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4642 }
4643 SVGFEFuncAElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncAElement WrappingImplementation.prototype;
4644 SVGFEFuncAElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4645 // ********** Code for SVGFEFuncBElementWrappingImplementation **************
4646 $inherits(SVGFEFuncBElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4647 function SVGFEFuncBElementWrappingImplementation() {}
4648 SVGFEFuncBElementWrappingImplementation._wrap$ctor = function(ptr) {
4649 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4650 }
4651 SVGFEFuncBElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncBElement WrappingImplementation.prototype;
4652 SVGFEFuncBElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4653 // ********** Code for SVGFEFuncGElementWrappingImplementation **************
4654 $inherits(SVGFEFuncGElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4655 function SVGFEFuncGElementWrappingImplementation() {}
4656 SVGFEFuncGElementWrappingImplementation._wrap$ctor = function(ptr) {
4657 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4658 }
4659 SVGFEFuncGElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncGElement WrappingImplementation.prototype;
4660 SVGFEFuncGElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4661 // ********** Code for SVGFEFuncRElementWrappingImplementation **************
4662 $inherits(SVGFEFuncRElementWrappingImplementation, SVGComponentTransferFunctionE lementWrappingImplementation);
4663 function SVGFEFuncRElementWrappingImplementation() {}
4664 SVGFEFuncRElementWrappingImplementation._wrap$ctor = function(ptr) {
4665 SVGComponentTransferFunctionElementWrappingImplementation._wrap$ctor.call(this , ptr);
4666 }
4667 SVGFEFuncRElementWrappingImplementation._wrap$ctor.prototype = SVGFEFuncRElement WrappingImplementation.prototype;
4668 SVGFEFuncRElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4669 // ********** Code for SVGFEGaussianBlurElementWrappingImplementation ********** ****
4670 $inherits(SVGFEGaussianBlurElementWrappingImplementation, SVGElementWrappingImpl ementation);
4671 function SVGFEGaussianBlurElementWrappingImplementation() {}
4672 SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor = function(ptr) {
4673 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4674 }
4675 SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor.prototype = SVGFEGauss ianBlurElementWrappingImplementation.prototype;
4676 SVGFEGaussianBlurElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4677 SVGFEGaussianBlurElementWrappingImplementation.prototype.get$className = functio n() {
4678 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4679 }
4680 SVGFEGaussianBlurElementWrappingImplementation.prototype.get$style = function() {
4681 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4682 }
4683 // ********** Code for SVGFEImageElementWrappingImplementation **************
4684 $inherits(SVGFEImageElementWrappingImplementation, SVGElementWrappingImplementat ion);
4685 function SVGFEImageElementWrappingImplementation() {}
4686 SVGFEImageElementWrappingImplementation._wrap$ctor = function(ptr) {
4687 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4688 }
4689 SVGFEImageElementWrappingImplementation._wrap$ctor.prototype = SVGFEImageElement WrappingImplementation.prototype;
4690 SVGFEImageElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4691 SVGFEImageElementWrappingImplementation.prototype.get$className = function() {
4692 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4693 }
4694 SVGFEImageElementWrappingImplementation.prototype.get$style = function() {
4695 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4696 }
4697 // ********** Code for SVGFEMergeElementWrappingImplementation **************
4698 $inherits(SVGFEMergeElementWrappingImplementation, SVGElementWrappingImplementat ion);
4699 function SVGFEMergeElementWrappingImplementation() {}
4700 SVGFEMergeElementWrappingImplementation._wrap$ctor = function(ptr) {
4701 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4702 }
4703 SVGFEMergeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeElement WrappingImplementation.prototype;
4704 SVGFEMergeElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
4705 SVGFEMergeElementWrappingImplementation.prototype.get$className = function() {
4706 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4707 }
4708 SVGFEMergeElementWrappingImplementation.prototype.get$style = function() {
4709 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4710 }
4711 // ********** Code for SVGFEMergeNodeElementWrappingImplementation ************* *
4712 $inherits(SVGFEMergeNodeElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4713 function SVGFEMergeNodeElementWrappingImplementation() {}
4714 SVGFEMergeNodeElementWrappingImplementation._wrap$ctor = function(ptr) {
4715 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4716 }
4717 SVGFEMergeNodeElementWrappingImplementation._wrap$ctor.prototype = SVGFEMergeNod eElementWrappingImplementation.prototype;
4718 SVGFEMergeNodeElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4719 // ********** Code for SVGFEOffsetElementWrappingImplementation **************
4720 $inherits(SVGFEOffsetElementWrappingImplementation, SVGElementWrappingImplementa tion);
4721 function SVGFEOffsetElementWrappingImplementation() {}
4722 SVGFEOffsetElementWrappingImplementation._wrap$ctor = function(ptr) {
4723 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4724 }
4725 SVGFEOffsetElementWrappingImplementation._wrap$ctor.prototype = SVGFEOffsetEleme ntWrappingImplementation.prototype;
4726 SVGFEOffsetElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4727 SVGFEOffsetElementWrappingImplementation.prototype.get$className = function() {
4728 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4729 }
4730 SVGFEOffsetElementWrappingImplementation.prototype.get$style = function() {
4731 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4732 }
4733 // ********** Code for SVGFEPointLightElementWrappingImplementation ************ **
4734 $inherits(SVGFEPointLightElementWrappingImplementation, SVGElementWrappingImplem entation);
4735 function SVGFEPointLightElementWrappingImplementation() {}
4736 SVGFEPointLightElementWrappingImplementation._wrap$ctor = function(ptr) {
4737 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4738 }
4739 SVGFEPointLightElementWrappingImplementation._wrap$ctor.prototype = SVGFEPointLi ghtElementWrappingImplementation.prototype;
4740 SVGFEPointLightElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4741 // ********** Code for SVGFESpecularLightingElementWrappingImplementation ****** ********
4742 $inherits(SVGFESpecularLightingElementWrappingImplementation, SVGElementWrapping Implementation);
4743 function SVGFESpecularLightingElementWrappingImplementation() {}
4744 SVGFESpecularLightingElementWrappingImplementation._wrap$ctor = function(ptr) {
4745 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4746 }
4747 SVGFESpecularLightingElementWrappingImplementation._wrap$ctor.prototype = SVGFES pecularLightingElementWrappingImplementation.prototype;
4748 SVGFESpecularLightingElementWrappingImplementation.prototype.is$html_html_Elemen t = function(){return true};
4749 SVGFESpecularLightingElementWrappingImplementation.prototype.get$className = fun ction() {
4750 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4751 }
4752 SVGFESpecularLightingElementWrappingImplementation.prototype.get$style = functio n() {
4753 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4754 }
4755 // ********** Code for SVGFESpotLightElementWrappingImplementation ************* *
4756 $inherits(SVGFESpotLightElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4757 function SVGFESpotLightElementWrappingImplementation() {}
4758 SVGFESpotLightElementWrappingImplementation._wrap$ctor = function(ptr) {
4759 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4760 }
4761 SVGFESpotLightElementWrappingImplementation._wrap$ctor.prototype = SVGFESpotLigh tElementWrappingImplementation.prototype;
4762 SVGFESpotLightElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4763 // ********** Code for SVGFETileElementWrappingImplementation **************
4764 $inherits(SVGFETileElementWrappingImplementation, SVGElementWrappingImplementati on);
4765 function SVGFETileElementWrappingImplementation() {}
4766 SVGFETileElementWrappingImplementation._wrap$ctor = function(ptr) {
4767 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4768 }
4769 SVGFETileElementWrappingImplementation._wrap$ctor.prototype = SVGFETileElementWr appingImplementation.prototype;
4770 SVGFETileElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4771 SVGFETileElementWrappingImplementation.prototype.get$className = function() {
4772 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4773 }
4774 SVGFETileElementWrappingImplementation.prototype.get$style = function() {
4775 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4776 }
4777 // ********** Code for SVGFETurbulenceElementWrappingImplementation ************ **
4778 $inherits(SVGFETurbulenceElementWrappingImplementation, SVGElementWrappingImplem entation);
4779 function SVGFETurbulenceElementWrappingImplementation() {}
4780 SVGFETurbulenceElementWrappingImplementation._wrap$ctor = function(ptr) {
4781 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4782 }
4783 SVGFETurbulenceElementWrappingImplementation._wrap$ctor.prototype = SVGFETurbule nceElementWrappingImplementation.prototype;
4784 SVGFETurbulenceElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4785 SVGFETurbulenceElementWrappingImplementation.prototype.get$className = function( ) {
4786 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4787 }
4788 SVGFETurbulenceElementWrappingImplementation.prototype.get$style = function() {
4789 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4790 }
4791 // ********** Code for SVGFilterElementWrappingImplementation **************
4792 $inherits(SVGFilterElementWrappingImplementation, SVGElementWrappingImplementati on);
4793 function SVGFilterElementWrappingImplementation() {}
4794 SVGFilterElementWrappingImplementation._wrap$ctor = function(ptr) {
4795 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4796 }
4797 SVGFilterElementWrappingImplementation._wrap$ctor.prototype = SVGFilterElementWr appingImplementation.prototype;
4798 SVGFilterElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4799 SVGFilterElementWrappingImplementation.prototype.get$className = function() {
4800 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4801 }
4802 SVGFilterElementWrappingImplementation.prototype.get$style = function() {
4803 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4804 }
4805 // ********** Code for SVGFontElementWrappingImplementation **************
4806 $inherits(SVGFontElementWrappingImplementation, SVGElementWrappingImplementation );
4807 function SVGFontElementWrappingImplementation() {}
4808 SVGFontElementWrappingImplementation._wrap$ctor = function(ptr) {
4809 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4810 }
4811 SVGFontElementWrappingImplementation._wrap$ctor.prototype = SVGFontElementWrappi ngImplementation.prototype;
4812 SVGFontElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4813 // ********** Code for SVGFontFaceElementWrappingImplementation **************
4814 $inherits(SVGFontFaceElementWrappingImplementation, SVGElementWrappingImplementa tion);
4815 function SVGFontFaceElementWrappingImplementation() {}
4816 SVGFontFaceElementWrappingImplementation._wrap$ctor = function(ptr) {
4817 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4818 }
4819 SVGFontFaceElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceEleme ntWrappingImplementation.prototype;
4820 SVGFontFaceElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4821 // ********** Code for SVGFontFaceFormatElementWrappingImplementation ********** ****
4822 $inherits(SVGFontFaceFormatElementWrappingImplementation, SVGElementWrappingImpl ementation);
4823 function SVGFontFaceFormatElementWrappingImplementation() {}
4824 SVGFontFaceFormatElementWrappingImplementation._wrap$ctor = function(ptr) {
4825 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4826 }
4827 SVGFontFaceFormatElementWrappingImplementation._wrap$ctor.prototype = SVGFontFac eFormatElementWrappingImplementation.prototype;
4828 SVGFontFaceFormatElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4829 // ********** Code for SVGFontFaceNameElementWrappingImplementation ************ **
4830 $inherits(SVGFontFaceNameElementWrappingImplementation, SVGElementWrappingImplem entation);
4831 function SVGFontFaceNameElementWrappingImplementation() {}
4832 SVGFontFaceNameElementWrappingImplementation._wrap$ctor = function(ptr) {
4833 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4834 }
4835 SVGFontFaceNameElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceN ameElementWrappingImplementation.prototype;
4836 SVGFontFaceNameElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
4837 // ********** Code for SVGFontFaceSrcElementWrappingImplementation ************* *
4838 $inherits(SVGFontFaceSrcElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4839 function SVGFontFaceSrcElementWrappingImplementation() {}
4840 SVGFontFaceSrcElementWrappingImplementation._wrap$ctor = function(ptr) {
4841 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4842 }
4843 SVGFontFaceSrcElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceSr cElementWrappingImplementation.prototype;
4844 SVGFontFaceSrcElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4845 // ********** Code for SVGFontFaceUriElementWrappingImplementation ************* *
4846 $inherits(SVGFontFaceUriElementWrappingImplementation, SVGElementWrappingImpleme ntation);
4847 function SVGFontFaceUriElementWrappingImplementation() {}
4848 SVGFontFaceUriElementWrappingImplementation._wrap$ctor = function(ptr) {
4849 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4850 }
4851 SVGFontFaceUriElementWrappingImplementation._wrap$ctor.prototype = SVGFontFaceUr iElementWrappingImplementation.prototype;
4852 SVGFontFaceUriElementWrappingImplementation.prototype.is$html_html_Element = fun ction(){return true};
4853 // ********** Code for SVGForeignObjectElementWrappingImplementation *********** ***
4854 $inherits(SVGForeignObjectElementWrappingImplementation, SVGElementWrappingImple mentation);
4855 function SVGForeignObjectElementWrappingImplementation() {}
4856 SVGForeignObjectElementWrappingImplementation._wrap$ctor = function(ptr) {
4857 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4858 }
4859 SVGForeignObjectElementWrappingImplementation._wrap$ctor.prototype = SVGForeignO bjectElementWrappingImplementation.prototype;
4860 SVGForeignObjectElementWrappingImplementation.prototype.is$html_html_Element = f unction(){return true};
4861 SVGForeignObjectElementWrappingImplementation.prototype.get$className = function () {
4862 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4863 }
4864 SVGForeignObjectElementWrappingImplementation.prototype.get$style = function() {
4865 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4866 }
4867 // ********** Code for SVGGElementWrappingImplementation **************
4868 $inherits(SVGGElementWrappingImplementation, SVGElementWrappingImplementation);
4869 function SVGGElementWrappingImplementation() {}
4870 SVGGElementWrappingImplementation._wrap$ctor = function(ptr) {
4871 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4872 }
4873 SVGGElementWrappingImplementation._wrap$ctor.prototype = SVGGElementWrappingImpl ementation.prototype;
4874 SVGGElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
4875 SVGGElementWrappingImplementation.prototype.get$className = function() {
4876 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4877 }
4878 SVGGElementWrappingImplementation.prototype.get$style = function() {
4879 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4880 }
4881 // ********** Code for SVGGlyphElementWrappingImplementation **************
4882 $inherits(SVGGlyphElementWrappingImplementation, SVGElementWrappingImplementatio n);
4883 function SVGGlyphElementWrappingImplementation() {}
4884 SVGGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
4885 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4886 }
4887 SVGGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphElementWrap pingImplementation.prototype;
4888 SVGGlyphElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4889 // ********** Code for SVGGlyphRefElementWrappingImplementation **************
4890 $inherits(SVGGlyphRefElementWrappingImplementation, SVGElementWrappingImplementa tion);
4891 function SVGGlyphRefElementWrappingImplementation() {}
4892 SVGGlyphRefElementWrappingImplementation._wrap$ctor = function(ptr) {
4893 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4894 }
4895 SVGGlyphRefElementWrappingImplementation._wrap$ctor.prototype = SVGGlyphRefEleme ntWrappingImplementation.prototype;
4896 SVGGlyphRefElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4897 SVGGlyphRefElementWrappingImplementation.prototype.get$className = function() {
4898 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4899 }
4900 SVGGlyphRefElementWrappingImplementation.prototype.get$style = function() {
4901 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4902 }
4903 // ********** Code for SVGGradientElementWrappingImplementation **************
4904 $inherits(SVGGradientElementWrappingImplementation, SVGElementWrappingImplementa tion);
4905 function SVGGradientElementWrappingImplementation() {}
4906 SVGGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
4907 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4908 }
4909 SVGGradientElementWrappingImplementation._wrap$ctor.prototype = SVGGradientEleme ntWrappingImplementation.prototype;
4910 SVGGradientElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
4911 SVGGradientElementWrappingImplementation.prototype.get$className = function() {
4912 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4913 }
4914 SVGGradientElementWrappingImplementation.prototype.get$style = function() {
4915 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4916 }
4917 // ********** Code for SVGHKernElementWrappingImplementation **************
4918 $inherits(SVGHKernElementWrappingImplementation, SVGElementWrappingImplementatio n);
4919 function SVGHKernElementWrappingImplementation() {}
4920 SVGHKernElementWrappingImplementation._wrap$ctor = function(ptr) {
4921 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4922 }
4923 SVGHKernElementWrappingImplementation._wrap$ctor.prototype = SVGHKernElementWrap pingImplementation.prototype;
4924 SVGHKernElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4925 // ********** Code for SVGImageElementWrappingImplementation **************
4926 $inherits(SVGImageElementWrappingImplementation, SVGElementWrappingImplementatio n);
4927 function SVGImageElementWrappingImplementation() {}
4928 SVGImageElementWrappingImplementation._wrap$ctor = function(ptr) {
4929 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4930 }
4931 SVGImageElementWrappingImplementation._wrap$ctor.prototype = SVGImageElementWrap pingImplementation.prototype;
4932 SVGImageElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4933 SVGImageElementWrappingImplementation.prototype.get$className = function() {
4934 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4935 }
4936 SVGImageElementWrappingImplementation.prototype.get$style = function() {
4937 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4938 }
4939 // ********** Code for SVGLineElementWrappingImplementation **************
4940 $inherits(SVGLineElementWrappingImplementation, SVGElementWrappingImplementation );
4941 function SVGLineElementWrappingImplementation() {}
4942 SVGLineElementWrappingImplementation._wrap$ctor = function(ptr) {
4943 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4944 }
4945 SVGLineElementWrappingImplementation._wrap$ctor.prototype = SVGLineElementWrappi ngImplementation.prototype;
4946 SVGLineElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4947 SVGLineElementWrappingImplementation.prototype.get$className = function() {
4948 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4949 }
4950 SVGLineElementWrappingImplementation.prototype.get$style = function() {
4951 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4952 }
4953 // ********** Code for SVGLinearGradientElementWrappingImplementation ********** ****
4954 $inherits(SVGLinearGradientElementWrappingImplementation, SVGGradientElementWrap pingImplementation);
4955 function SVGLinearGradientElementWrappingImplementation() {}
4956 SVGLinearGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
4957 SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr);
4958 }
4959 SVGLinearGradientElementWrappingImplementation._wrap$ctor.prototype = SVGLinearG radientElementWrappingImplementation.prototype;
4960 SVGLinearGradientElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
4961 // ********** Code for SVGMPathElementWrappingImplementation **************
4962 $inherits(SVGMPathElementWrappingImplementation, SVGElementWrappingImplementatio n);
4963 function SVGMPathElementWrappingImplementation() {}
4964 SVGMPathElementWrappingImplementation._wrap$ctor = function(ptr) {
4965 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4966 }
4967 SVGMPathElementWrappingImplementation._wrap$ctor.prototype = SVGMPathElementWrap pingImplementation.prototype;
4968 SVGMPathElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
4969 // ********** Code for SVGMarkerElementWrappingImplementation **************
4970 $inherits(SVGMarkerElementWrappingImplementation, SVGElementWrappingImplementati on);
4971 function SVGMarkerElementWrappingImplementation() {}
4972 SVGMarkerElementWrappingImplementation._wrap$ctor = function(ptr) {
4973 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4974 }
4975 SVGMarkerElementWrappingImplementation._wrap$ctor.prototype = SVGMarkerElementWr appingImplementation.prototype;
4976 SVGMarkerElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
4977 SVGMarkerElementWrappingImplementation.prototype.get$className = function() {
4978 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4979 }
4980 SVGMarkerElementWrappingImplementation.prototype.get$style = function() {
4981 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4982 }
4983 // ********** Code for SVGMaskElementWrappingImplementation **************
4984 $inherits(SVGMaskElementWrappingImplementation, SVGElementWrappingImplementation );
4985 function SVGMaskElementWrappingImplementation() {}
4986 SVGMaskElementWrappingImplementation._wrap$ctor = function(ptr) {
4987 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
4988 }
4989 SVGMaskElementWrappingImplementation._wrap$ctor.prototype = SVGMaskElementWrappi ngImplementation.prototype;
4990 SVGMaskElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
4991 SVGMaskElementWrappingImplementation.prototype.get$className = function() {
4992 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
4993 }
4994 SVGMaskElementWrappingImplementation.prototype.get$style = function() {
4995 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
4996 }
4997 // ********** Code for SVGMetadataElementWrappingImplementation **************
4998 $inherits(SVGMetadataElementWrappingImplementation, SVGElementWrappingImplementa tion);
4999 function SVGMetadataElementWrappingImplementation() {}
5000 SVGMetadataElementWrappingImplementation._wrap$ctor = function(ptr) {
5001 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5002 }
5003 SVGMetadataElementWrappingImplementation._wrap$ctor.prototype = SVGMetadataEleme ntWrappingImplementation.prototype;
5004 SVGMetadataElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
5005 // ********** Code for SVGMissingGlyphElementWrappingImplementation ************ **
5006 $inherits(SVGMissingGlyphElementWrappingImplementation, SVGElementWrappingImplem entation);
5007 function SVGMissingGlyphElementWrappingImplementation() {}
5008 SVGMissingGlyphElementWrappingImplementation._wrap$ctor = function(ptr) {
5009 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5010 }
5011 SVGMissingGlyphElementWrappingImplementation._wrap$ctor.prototype = SVGMissingGl yphElementWrappingImplementation.prototype;
5012 SVGMissingGlyphElementWrappingImplementation.prototype.is$html_html_Element = fu nction(){return true};
5013 // ********** Code for SVGPathElementWrappingImplementation **************
5014 $inherits(SVGPathElementWrappingImplementation, SVGElementWrappingImplementation );
5015 function SVGPathElementWrappingImplementation() {}
5016 SVGPathElementWrappingImplementation._wrap$ctor = function(ptr) {
5017 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5018 }
5019 SVGPathElementWrappingImplementation._wrap$ctor.prototype = SVGPathElementWrappi ngImplementation.prototype;
5020 SVGPathElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5021 SVGPathElementWrappingImplementation.prototype.get$className = function() {
5022 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5023 }
5024 SVGPathElementWrappingImplementation.prototype.get$style = function() {
5025 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5026 }
5027 // ********** Code for SVGPatternElementWrappingImplementation **************
5028 $inherits(SVGPatternElementWrappingImplementation, SVGElementWrappingImplementat ion);
5029 function SVGPatternElementWrappingImplementation() {}
5030 SVGPatternElementWrappingImplementation._wrap$ctor = function(ptr) {
5031 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5032 }
5033 SVGPatternElementWrappingImplementation._wrap$ctor.prototype = SVGPatternElement WrappingImplementation.prototype;
5034 SVGPatternElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
5035 SVGPatternElementWrappingImplementation.prototype.get$className = function() {
5036 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5037 }
5038 SVGPatternElementWrappingImplementation.prototype.get$style = function() {
5039 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5040 }
5041 // ********** Code for SVGPolygonElementWrappingImplementation **************
5042 $inherits(SVGPolygonElementWrappingImplementation, SVGElementWrappingImplementat ion);
5043 function SVGPolygonElementWrappingImplementation() {}
5044 SVGPolygonElementWrappingImplementation._wrap$ctor = function(ptr) {
5045 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5046 }
5047 SVGPolygonElementWrappingImplementation._wrap$ctor.prototype = SVGPolygonElement WrappingImplementation.prototype;
5048 SVGPolygonElementWrappingImplementation.prototype.is$html_html_Element = functio n(){return true};
5049 SVGPolygonElementWrappingImplementation.prototype.get$className = function() {
5050 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5051 }
5052 SVGPolygonElementWrappingImplementation.prototype.get$style = function() {
5053 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5054 }
5055 // ********** Code for SVGPolylineElementWrappingImplementation **************
5056 $inherits(SVGPolylineElementWrappingImplementation, SVGElementWrappingImplementa tion);
5057 function SVGPolylineElementWrappingImplementation() {}
5058 SVGPolylineElementWrappingImplementation._wrap$ctor = function(ptr) {
5059 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5060 }
5061 SVGPolylineElementWrappingImplementation._wrap$ctor.prototype = SVGPolylineEleme ntWrappingImplementation.prototype;
5062 SVGPolylineElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
5063 SVGPolylineElementWrappingImplementation.prototype.get$className = function() {
5064 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5065 }
5066 SVGPolylineElementWrappingImplementation.prototype.get$style = function() {
5067 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5068 }
5069 // ********** Code for SVGRadialGradientElementWrappingImplementation ********** ****
5070 $inherits(SVGRadialGradientElementWrappingImplementation, SVGGradientElementWrap pingImplementation);
5071 function SVGRadialGradientElementWrappingImplementation() {}
5072 SVGRadialGradientElementWrappingImplementation._wrap$ctor = function(ptr) {
5073 SVGGradientElementWrappingImplementation._wrap$ctor.call(this, ptr);
5074 }
5075 SVGRadialGradientElementWrappingImplementation._wrap$ctor.prototype = SVGRadialG radientElementWrappingImplementation.prototype;
5076 SVGRadialGradientElementWrappingImplementation.prototype.is$html_html_Element = function(){return true};
5077 // ********** Code for SVGRectElementWrappingImplementation **************
5078 $inherits(SVGRectElementWrappingImplementation, SVGElementWrappingImplementation );
5079 function SVGRectElementWrappingImplementation() {}
5080 SVGRectElementWrappingImplementation._wrap$ctor = function(ptr) {
5081 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5082 }
5083 SVGRectElementWrappingImplementation._wrap$ctor.prototype = SVGRectElementWrappi ngImplementation.prototype;
5084 SVGRectElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5085 SVGRectElementWrappingImplementation.prototype.get$className = function() {
5086 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5087 }
5088 SVGRectElementWrappingImplementation.prototype.get$style = function() {
5089 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5090 }
5091 // ********** Code for SVGScriptElementWrappingImplementation **************
5092 $inherits(SVGScriptElementWrappingImplementation, SVGElementWrappingImplementati on);
5093 function SVGScriptElementWrappingImplementation() {}
5094 SVGScriptElementWrappingImplementation._wrap$ctor = function(ptr) {
5095 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5096 }
5097 SVGScriptElementWrappingImplementation._wrap$ctor.prototype = SVGScriptElementWr appingImplementation.prototype;
5098 SVGScriptElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
5099 // ********** Code for SVGSetElementWrappingImplementation **************
5100 $inherits(SVGSetElementWrappingImplementation, SVGAnimationElementWrappingImplem entation);
5101 function SVGSetElementWrappingImplementation() {}
5102 SVGSetElementWrappingImplementation._wrap$ctor = function(ptr) {
5103 SVGAnimationElementWrappingImplementation._wrap$ctor.call(this, ptr);
5104 }
5105 SVGSetElementWrappingImplementation._wrap$ctor.prototype = SVGSetElementWrapping Implementation.prototype;
5106 SVGSetElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
5107 // ********** Code for SVGStopElementWrappingImplementation **************
5108 $inherits(SVGStopElementWrappingImplementation, SVGElementWrappingImplementation );
5109 function SVGStopElementWrappingImplementation() {}
5110 SVGStopElementWrappingImplementation._wrap$ctor = function(ptr) {
5111 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5112 }
5113 SVGStopElementWrappingImplementation._wrap$ctor.prototype = SVGStopElementWrappi ngImplementation.prototype;
5114 SVGStopElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5115 SVGStopElementWrappingImplementation.prototype.get$className = function() {
5116 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5117 }
5118 SVGStopElementWrappingImplementation.prototype.get$style = function() {
5119 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5120 }
5121 // ********** Code for SVGStyleElementWrappingImplementation **************
5122 $inherits(SVGStyleElementWrappingImplementation, SVGElementWrappingImplementatio n);
5123 function SVGStyleElementWrappingImplementation() {}
5124 SVGStyleElementWrappingImplementation._wrap$ctor = function(ptr) {
5125 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5126 }
5127 SVGStyleElementWrappingImplementation._wrap$ctor.prototype = SVGStyleElementWrap pingImplementation.prototype;
5128 SVGStyleElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
5129 // ********** Code for SVGSwitchElementWrappingImplementation **************
5130 $inherits(SVGSwitchElementWrappingImplementation, SVGElementWrappingImplementati on);
5131 function SVGSwitchElementWrappingImplementation() {}
5132 SVGSwitchElementWrappingImplementation._wrap$ctor = function(ptr) {
5133 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5134 }
5135 SVGSwitchElementWrappingImplementation._wrap$ctor.prototype = SVGSwitchElementWr appingImplementation.prototype;
5136 SVGSwitchElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
5137 SVGSwitchElementWrappingImplementation.prototype.get$className = function() {
5138 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5139 }
5140 SVGSwitchElementWrappingImplementation.prototype.get$style = function() {
5141 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5142 }
5143 // ********** Code for SVGSymbolElementWrappingImplementation **************
5144 $inherits(SVGSymbolElementWrappingImplementation, SVGElementWrappingImplementati on);
5145 function SVGSymbolElementWrappingImplementation() {}
5146 SVGSymbolElementWrappingImplementation._wrap$ctor = function(ptr) {
5147 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5148 }
5149 SVGSymbolElementWrappingImplementation._wrap$ctor.prototype = SVGSymbolElementWr appingImplementation.prototype;
5150 SVGSymbolElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
5151 SVGSymbolElementWrappingImplementation.prototype.get$className = function() {
5152 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5153 }
5154 SVGSymbolElementWrappingImplementation.prototype.get$style = function() {
5155 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5156 }
5157 // ********** Code for SVGTRefElementWrappingImplementation **************
5158 $inherits(SVGTRefElementWrappingImplementation, SVGTextPositioningElementWrappin gImplementation);
5159 function SVGTRefElementWrappingImplementation() {}
5160 SVGTRefElementWrappingImplementation._wrap$ctor = function(ptr) {
5161 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
5162 }
5163 SVGTRefElementWrappingImplementation._wrap$ctor.prototype = SVGTRefElementWrappi ngImplementation.prototype;
5164 SVGTRefElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5165 // ********** Code for SVGTSpanElementWrappingImplementation **************
5166 $inherits(SVGTSpanElementWrappingImplementation, SVGTextPositioningElementWrappi ngImplementation);
5167 function SVGTSpanElementWrappingImplementation() {}
5168 SVGTSpanElementWrappingImplementation._wrap$ctor = function(ptr) {
5169 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
5170 }
5171 SVGTSpanElementWrappingImplementation._wrap$ctor.prototype = SVGTSpanElementWrap pingImplementation.prototype;
5172 SVGTSpanElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
5173 // ********** Code for SVGTextElementWrappingImplementation **************
5174 $inherits(SVGTextElementWrappingImplementation, SVGTextPositioningElementWrappin gImplementation);
5175 function SVGTextElementWrappingImplementation() {}
5176 SVGTextElementWrappingImplementation._wrap$ctor = function(ptr) {
5177 SVGTextPositioningElementWrappingImplementation._wrap$ctor.call(this, ptr);
5178 }
5179 SVGTextElementWrappingImplementation._wrap$ctor.prototype = SVGTextElementWrappi ngImplementation.prototype;
5180 SVGTextElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5181 // ********** Code for SVGTextPathElementWrappingImplementation **************
5182 $inherits(SVGTextPathElementWrappingImplementation, SVGTextContentElementWrappin gImplementation);
5183 function SVGTextPathElementWrappingImplementation() {}
5184 SVGTextPathElementWrappingImplementation._wrap$ctor = function(ptr) {
5185 SVGTextContentElementWrappingImplementation._wrap$ctor.call(this, ptr);
5186 }
5187 SVGTextPathElementWrappingImplementation._wrap$ctor.prototype = SVGTextPathEleme ntWrappingImplementation.prototype;
5188 SVGTextPathElementWrappingImplementation.prototype.is$html_html_Element = functi on(){return true};
5189 // ********** Code for SVGTitleElementWrappingImplementation **************
5190 $inherits(SVGTitleElementWrappingImplementation, SVGElementWrappingImplementatio n);
5191 function SVGTitleElementWrappingImplementation() {}
5192 SVGTitleElementWrappingImplementation._wrap$ctor = function(ptr) {
5193 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5194 }
5195 SVGTitleElementWrappingImplementation._wrap$ctor.prototype = SVGTitleElementWrap pingImplementation.prototype;
5196 SVGTitleElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
5197 SVGTitleElementWrappingImplementation.prototype.get$className = function() {
5198 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5199 }
5200 SVGTitleElementWrappingImplementation.prototype.get$style = function() {
5201 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5202 }
5203 // ********** Code for SVGUseElementWrappingImplementation **************
5204 $inherits(SVGUseElementWrappingImplementation, SVGElementWrappingImplementation) ;
5205 function SVGUseElementWrappingImplementation() {}
5206 SVGUseElementWrappingImplementation._wrap$ctor = function(ptr) {
5207 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5208 }
5209 SVGUseElementWrappingImplementation._wrap$ctor.prototype = SVGUseElementWrapping Implementation.prototype;
5210 SVGUseElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
5211 SVGUseElementWrappingImplementation.prototype.get$className = function() {
5212 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
5213 }
5214 SVGUseElementWrappingImplementation.prototype.get$style = function() {
5215 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
5216 }
5217 // ********** Code for SVGVKernElementWrappingImplementation **************
5218 $inherits(SVGVKernElementWrappingImplementation, SVGElementWrappingImplementatio n);
5219 function SVGVKernElementWrappingImplementation() {}
5220 SVGVKernElementWrappingImplementation._wrap$ctor = function(ptr) {
5221 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5222 }
5223 SVGVKernElementWrappingImplementation._wrap$ctor.prototype = SVGVKernElementWrap pingImplementation.prototype;
5224 SVGVKernElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
5225 // ********** Code for SVGViewElementWrappingImplementation **************
5226 $inherits(SVGViewElementWrappingImplementation, SVGElementWrappingImplementation );
5227 function SVGViewElementWrappingImplementation() {}
5228 SVGViewElementWrappingImplementation._wrap$ctor = function(ptr) {
5229 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
5230 }
5231 SVGViewElementWrappingImplementation._wrap$ctor.prototype = SVGViewElementWrappi ngImplementation.prototype;
5232 SVGViewElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5233 // ********** Code for UIEventWrappingImplementation **************
5234 $inherits(UIEventWrappingImplementation, EventWrappingImplementation);
5235 function UIEventWrappingImplementation() {}
5236 UIEventWrappingImplementation._wrap$ctor = function(ptr) {
5237 EventWrappingImplementation._wrap$ctor.call(this, ptr);
5238 }
5239 UIEventWrappingImplementation._wrap$ctor.prototype = UIEventWrappingImplementati on.prototype;
5240 // ********** Code for SVGZoomEventWrappingImplementation **************
5241 $inherits(SVGZoomEventWrappingImplementation, UIEventWrappingImplementation);
5242 function SVGZoomEventWrappingImplementation() {}
5243 SVGZoomEventWrappingImplementation._wrap$ctor = function(ptr) {
5244 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
5245 }
5246 SVGZoomEventWrappingImplementation._wrap$ctor.prototype = SVGZoomEventWrappingIm plementation.prototype;
5247 // ********** Code for ScriptElementWrappingImplementation **************
5248 $inherits(ScriptElementWrappingImplementation, ElementWrappingImplementation);
5249 function ScriptElementWrappingImplementation() {}
5250 ScriptElementWrappingImplementation._wrap$ctor = function(ptr) {
5251 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5252 }
5253 ScriptElementWrappingImplementation._wrap$ctor.prototype = ScriptElementWrapping Implementation.prototype;
5254 ScriptElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
5255 ScriptElementWrappingImplementation.prototype.get$text = function() {
5256 return this._ptr.get$text();
5257 }
5258 // ********** Code for SelectElementWrappingImplementation **************
5259 $inherits(SelectElementWrappingImplementation, ElementWrappingImplementation);
5260 function SelectElementWrappingImplementation() {}
5261 SelectElementWrappingImplementation._wrap$ctor = function(ptr) {
5262 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5263 }
5264 SelectElementWrappingImplementation._wrap$ctor.prototype = SelectElementWrapping Implementation.prototype;
5265 SelectElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
5266 SelectElementWrappingImplementation.prototype.get$length = function() {
5267 return this._ptr.get$length();
5268 }
5269 SelectElementWrappingImplementation.prototype.get$value = function() {
5270 return this._ptr.get$value();
5271 }
5272 SelectElementWrappingImplementation.prototype.set$value = function(value) {
5273 this._ptr.set$value(value);
5274 }
5275 SelectElementWrappingImplementation.prototype.item = function(index) {
5276 return LevelDom.wrapNode(this._ptr.item$1(index));
5277 }
5278 SelectElementWrappingImplementation.prototype.item$1 = SelectElementWrappingImpl ementation.prototype.item;
5279 // ********** Code for SourceElementWrappingImplementation **************
5280 $inherits(SourceElementWrappingImplementation, ElementWrappingImplementation);
5281 function SourceElementWrappingImplementation() {}
5282 SourceElementWrappingImplementation._wrap$ctor = function(ptr) {
5283 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5284 }
5285 SourceElementWrappingImplementation._wrap$ctor.prototype = SourceElementWrapping Implementation.prototype;
5286 SourceElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
5287 // ********** Code for SpanElementWrappingImplementation **************
5288 $inherits(SpanElementWrappingImplementation, ElementWrappingImplementation);
5289 function SpanElementWrappingImplementation() {}
5290 SpanElementWrappingImplementation._wrap$ctor = function(ptr) {
5291 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5292 }
5293 SpanElementWrappingImplementation._wrap$ctor.prototype = SpanElementWrappingImpl ementation.prototype;
5294 SpanElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
5295 // ********** Code for SpeechInputEventWrappingImplementation **************
5296 $inherits(SpeechInputEventWrappingImplementation, EventWrappingImplementation);
5297 function SpeechInputEventWrappingImplementation() {}
5298 SpeechInputEventWrappingImplementation._wrap$ctor = function(ptr) {
5299 EventWrappingImplementation._wrap$ctor.call(this, ptr);
5300 }
5301 SpeechInputEventWrappingImplementation._wrap$ctor.prototype = SpeechInputEventWr appingImplementation.prototype;
5302 // ********** Code for StyleElementWrappingImplementation **************
5303 $inherits(StyleElementWrappingImplementation, ElementWrappingImplementation);
5304 function StyleElementWrappingImplementation() {}
5305 StyleElementWrappingImplementation._wrap$ctor = function(ptr) {
5306 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5307 }
5308 StyleElementWrappingImplementation._wrap$ctor.prototype = StyleElementWrappingIm plementation.prototype;
5309 StyleElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5310 // ********** Code for TableCaptionElementWrappingImplementation **************
5311 $inherits(TableCaptionElementWrappingImplementation, ElementWrappingImplementati on);
5312 function TableCaptionElementWrappingImplementation() {}
5313 TableCaptionElementWrappingImplementation._wrap$ctor = function(ptr) {
5314 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5315 }
5316 TableCaptionElementWrappingImplementation._wrap$ctor.prototype = TableCaptionEle mentWrappingImplementation.prototype;
5317 TableCaptionElementWrappingImplementation.prototype.is$html_html_Element = funct ion(){return true};
5318 // ********** Code for TableCellElementWrappingImplementation **************
5319 $inherits(TableCellElementWrappingImplementation, ElementWrappingImplementation) ;
5320 function TableCellElementWrappingImplementation() {}
5321 TableCellElementWrappingImplementation._wrap$ctor = function(ptr) {
5322 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5323 }
5324 TableCellElementWrappingImplementation._wrap$ctor.prototype = TableCellElementWr appingImplementation.prototype;
5325 TableCellElementWrappingImplementation.prototype.is$html_html_Element = function (){return true};
5326 // ********** Code for TableColElementWrappingImplementation **************
5327 $inherits(TableColElementWrappingImplementation, ElementWrappingImplementation);
5328 function TableColElementWrappingImplementation() {}
5329 TableColElementWrappingImplementation._wrap$ctor = function(ptr) {
5330 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5331 }
5332 TableColElementWrappingImplementation._wrap$ctor.prototype = TableColElementWrap pingImplementation.prototype;
5333 TableColElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
5334 // ********** Code for TableElementWrappingImplementation **************
5335 $inherits(TableElementWrappingImplementation, ElementWrappingImplementation);
5336 function TableElementWrappingImplementation() {}
5337 TableElementWrappingImplementation._wrap$ctor = function(ptr) {
5338 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5339 }
5340 TableElementWrappingImplementation._wrap$ctor.prototype = TableElementWrappingIm plementation.prototype;
5341 TableElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5342 // ********** Code for TableRowElementWrappingImplementation **************
5343 $inherits(TableRowElementWrappingImplementation, ElementWrappingImplementation);
5344 function TableRowElementWrappingImplementation() {}
5345 TableRowElementWrappingImplementation._wrap$ctor = function(ptr) {
5346 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5347 }
5348 TableRowElementWrappingImplementation._wrap$ctor.prototype = TableRowElementWrap pingImplementation.prototype;
5349 TableRowElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
5350 // ********** Code for TableSectionElementWrappingImplementation **************
5351 $inherits(TableSectionElementWrappingImplementation, ElementWrappingImplementati on);
5352 function TableSectionElementWrappingImplementation() {}
5353 TableSectionElementWrappingImplementation._wrap$ctor = function(ptr) {
5354 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5355 }
5356 TableSectionElementWrappingImplementation._wrap$ctor.prototype = TableSectionEle mentWrappingImplementation.prototype;
5357 TableSectionElementWrappingImplementation.prototype.is$html_html_Element = funct ion(){return true};
5358 // ********** Code for TextAreaElementWrappingImplementation **************
5359 $inherits(TextAreaElementWrappingImplementation, ElementWrappingImplementation);
5360 function TextAreaElementWrappingImplementation() {}
5361 TextAreaElementWrappingImplementation._wrap$ctor = function(ptr) {
5362 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5363 }
5364 TextAreaElementWrappingImplementation._wrap$ctor.prototype = TextAreaElementWrap pingImplementation.prototype;
5365 TextAreaElementWrappingImplementation.prototype.is$html_html_Element = function( ){return true};
5366 TextAreaElementWrappingImplementation.prototype.get$value = function() {
5367 return this._ptr.get$value();
5368 }
5369 TextAreaElementWrappingImplementation.prototype.set$value = function(value) {
5370 this._ptr.set$value(value);
5371 }
5372 // ********** Code for TitleElementWrappingImplementation **************
5373 $inherits(TitleElementWrappingImplementation, ElementWrappingImplementation);
5374 function TitleElementWrappingImplementation() {}
5375 TitleElementWrappingImplementation._wrap$ctor = function(ptr) {
5376 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5377 }
5378 TitleElementWrappingImplementation._wrap$ctor.prototype = TitleElementWrappingIm plementation.prototype;
5379 TitleElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5380 TitleElementWrappingImplementation.prototype.get$text = function() {
5381 return this._ptr.get$text();
5382 }
5383 // ********** Code for TouchListWrappingImplementation **************
5384 $inherits(TouchListWrappingImplementation, DOMWrapperBase);
5385 function TouchListWrappingImplementation() {}
5386 TouchListWrappingImplementation._wrap$ctor = function(ptr) {
5387 DOMWrapperBase._wrap$ctor.call(this, ptr);
5388 }
5389 TouchListWrappingImplementation._wrap$ctor.prototype = TouchListWrappingImplemen tation.prototype;
5390 TouchListWrappingImplementation.prototype.get$length = function() {
5391 return this._ptr.get$length();
5392 }
5393 TouchListWrappingImplementation.prototype.$index = function(index) {
5394 return LevelDom.wrapTouch(this._ptr.$index(index));
5395 }
5396 TouchListWrappingImplementation.prototype.$setindex = function(index, value) {
5397 this._ptr.$setindex(index, LevelDom.unwrap(value));
5398 }
5399 TouchListWrappingImplementation.prototype.add = function(value) {
5400 $throw(new UnsupportedOperationException("Cannot add to immutable List."));
5401 }
5402 TouchListWrappingImplementation.prototype.addAll = function(collection) {
5403 $throw(new UnsupportedOperationException("Cannot add to immutable List."));
5404 }
5405 TouchListWrappingImplementation.prototype.clear = function() {
5406 $throw(new UnsupportedOperationException("Cannot clear immutable List."));
5407 }
5408 TouchListWrappingImplementation.prototype.get$clear = function() {
5409 return this.clear.bind(this);
5410 }
5411 TouchListWrappingImplementation.prototype.removeLast = function() {
5412 $throw(new UnsupportedOperationException("Cannot removeLast on immutable List. "));
5413 }
5414 TouchListWrappingImplementation.prototype.last = function() {
5415 return this.$index(this.get$length() - (1));
5416 }
5417 TouchListWrappingImplementation.prototype.forEach = function(f) {
5418 _Collections.forEach(this, f);
5419 }
5420 TouchListWrappingImplementation.prototype.filter = function(f) {
5421 return _Collections.filter(this, new Array(), f);
5422 }
5423 TouchListWrappingImplementation.prototype.iterator = function() {
5424 return new _FixedSizeListIterator_html_html_Touch(this);
5425 }
5426 TouchListWrappingImplementation.prototype.item = function(index) {
5427 return LevelDom.wrapTouch(this._ptr.item$1(index));
5428 }
5429 TouchListWrappingImplementation.prototype.add$1 = TouchListWrappingImplementatio n.prototype.add;
5430 TouchListWrappingImplementation.prototype.addAll$1 = TouchListWrappingImplementa tion.prototype.addAll;
5431 TouchListWrappingImplementation.prototype.clear$0 = TouchListWrappingImplementat ion.prototype.clear;
5432 TouchListWrappingImplementation.prototype.filter$1 = function($0) {
5433 return this.filter(to$call$1($0));
5434 };
5435 TouchListWrappingImplementation.prototype.item$1 = TouchListWrappingImplementati on.prototype.item;
5436 TouchListWrappingImplementation.prototype.iterator$0 = TouchListWrappingImplemen tation.prototype.iterator;
5437 TouchListWrappingImplementation.prototype.last$0 = TouchListWrappingImplementati on.prototype.last;
5438 TouchListWrappingImplementation.prototype.removeLast$0 = TouchListWrappingImplem entation.prototype.removeLast;
5439 // ********** Code for TouchWrappingImplementation **************
5440 $inherits(TouchWrappingImplementation, DOMWrapperBase);
5441 function TouchWrappingImplementation() {}
5442 TouchWrappingImplementation._wrap$ctor = function(ptr) {
5443 DOMWrapperBase._wrap$ctor.call(this, ptr);
5444 }
5445 TouchWrappingImplementation._wrap$ctor.prototype = TouchWrappingImplementation.p rototype;
5446 TouchWrappingImplementation.prototype.get$target = function() {
5447 return LevelDom.wrapEventTarget(this._ptr.get$target());
5448 }
5449 // ********** Code for TrackElementWrappingImplementation **************
5450 $inherits(TrackElementWrappingImplementation, ElementWrappingImplementation);
5451 function TrackElementWrappingImplementation() {}
5452 TrackElementWrappingImplementation._wrap$ctor = function(ptr) {
5453 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5454 }
5455 TrackElementWrappingImplementation._wrap$ctor.prototype = TrackElementWrappingIm plementation.prototype;
5456 TrackElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5457 // ********** Code for UListElementWrappingImplementation **************
5458 $inherits(UListElementWrappingImplementation, ElementWrappingImplementation);
5459 function UListElementWrappingImplementation() {}
5460 UListElementWrappingImplementation._wrap$ctor = function(ptr) {
5461 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5462 }
5463 UListElementWrappingImplementation._wrap$ctor.prototype = UListElementWrappingIm plementation.prototype;
5464 UListElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5465 // ********** Code for UnknownElementWrappingImplementation **************
5466 $inherits(UnknownElementWrappingImplementation, ElementWrappingImplementation);
5467 function UnknownElementWrappingImplementation() {}
5468 UnknownElementWrappingImplementation._wrap$ctor = function(ptr) {
5469 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
5470 }
5471 UnknownElementWrappingImplementation._wrap$ctor.prototype = UnknownElementWrappi ngImplementation.prototype;
5472 UnknownElementWrappingImplementation.prototype.is$html_html_Element = function() {return true};
5473 // ********** Code for VideoElementWrappingImplementation **************
5474 $inherits(VideoElementWrappingImplementation, MediaElementWrappingImplementation );
5475 function VideoElementWrappingImplementation() {}
5476 VideoElementWrappingImplementation._wrap$ctor = function(ptr) {
5477 MediaElementWrappingImplementation._wrap$ctor.call(this, ptr);
5478 }
5479 VideoElementWrappingImplementation._wrap$ctor.prototype = VideoElementWrappingIm plementation.prototype;
5480 VideoElementWrappingImplementation.prototype.is$html_html_Element = function(){r eturn true};
5481 // ********** Code for WebGLContextEventWrappingImplementation **************
5482 $inherits(WebGLContextEventWrappingImplementation, EventWrappingImplementation);
5483 function WebGLContextEventWrappingImplementation() {}
5484 WebGLContextEventWrappingImplementation._wrap$ctor = function(ptr) {
5485 EventWrappingImplementation._wrap$ctor.call(this, ptr);
5486 }
5487 WebGLContextEventWrappingImplementation._wrap$ctor.prototype = WebGLContextEvent WrappingImplementation.prototype;
5488 // ********** Code for LevelDom **************
5489 function LevelDom() {}
5490 LevelDom.wrapCSSStyleDeclaration = function(raw) {
5491 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new CSSStyleDeclarationWrappingImplementation._wrap$ ctor(raw);
5492 }
5493 LevelDom.wrapDocument = function(raw) {
5494 if (raw == null) {
5495 return null;
5496 }
5497 if (raw.get$dartObjectLocalStorage() != null) {
5498 return raw.get$dartObjectLocalStorage();
5499 }
5500 switch (raw.get$typeName()) {
5501 case "HTMLDocument":
5502
5503 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document Element());
5504
5505 case "SVGDocument":
5506
5507 return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
5508
5509 default:
5510
5511 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
5512
5513 }
5514 }
5515 LevelDom.wrapElement = function(raw) {
5516 if (raw == null) {
5517 return null;
5518 }
5519 if (raw.get$dartObjectLocalStorage() != null) {
5520 return raw.get$dartObjectLocalStorage();
5521 }
5522 switch (raw.get$typeName()) {
5523 case "HTMLAnchorElement":
5524
5525 return new AnchorElementWrappingImplementation._wrap$ctor(raw);
5526
5527 case "HTMLAreaElement":
5528
5529 return new AreaElementWrappingImplementation._wrap$ctor(raw);
5530
5531 case "HTMLAudioElement":
5532
5533 return new AudioElementWrappingImplementation._wrap$ctor(raw);
5534
5535 case "HTMLBRElement":
5536
5537 return new BRElementWrappingImplementation._wrap$ctor(raw);
5538
5539 case "HTMLBaseElement":
5540
5541 return new BaseElementWrappingImplementation._wrap$ctor(raw);
5542
5543 case "HTMLBodyElement":
5544
5545 return new BodyElementWrappingImplementation._wrap$ctor(raw);
5546
5547 case "HTMLButtonElement":
5548
5549 return new ButtonElementWrappingImplementation._wrap$ctor(raw);
5550
5551 case "HTMLCanvasElement":
5552
5553 return new CanvasElementWrappingImplementation._wrap$ctor(raw);
5554
5555 case "HTMLDListElement":
5556
5557 return new DListElementWrappingImplementation._wrap$ctor(raw);
5558
5559 case "HTMLDataListElement":
5560
5561 return new DataListElementWrappingImplementation._wrap$ctor(raw);
5562
5563 case "HTMLDetailsElement":
5564
5565 return new DetailsElementWrappingImplementation._wrap$ctor(raw);
5566
5567 case "HTMLDivElement":
5568
5569 return new DivElementWrappingImplementation._wrap$ctor(raw);
5570
5571 case "HTMLElement":
5572
5573 return new ElementWrappingImplementation._wrap$ctor(raw);
5574
5575 case "HTMLEmbedElement":
5576
5577 return new EmbedElementWrappingImplementation._wrap$ctor(raw);
5578
5579 case "HTMLFieldSetElement":
5580
5581 return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
5582
5583 case "HTMLFontElement":
5584
5585 return new FontElementWrappingImplementation._wrap$ctor(raw);
5586
5587 case "HTMLFormElement":
5588
5589 return new FormElementWrappingImplementation._wrap$ctor(raw);
5590
5591 case "HTMLHRElement":
5592
5593 return new HRElementWrappingImplementation._wrap$ctor(raw);
5594
5595 case "HTMLHeadElement":
5596
5597 return new HeadElementWrappingImplementation._wrap$ctor(raw);
5598
5599 case "HTMLHeadingElement":
5600
5601 return new HeadingElementWrappingImplementation._wrap$ctor(raw);
5602
5603 case "HTMLHtmlElement":
5604
5605 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
5606
5607 case "HTMLIFrameElement":
5608
5609 return new IFrameElementWrappingImplementation._wrap$ctor(raw);
5610
5611 case "HTMLImageElement":
5612
5613 return new ImageElementWrappingImplementation._wrap$ctor(raw);
5614
5615 case "HTMLInputElement":
5616
5617 return new InputElementWrappingImplementation._wrap$ctor(raw);
5618
5619 case "HTMLKeygenElement":
5620
5621 return new KeygenElementWrappingImplementation._wrap$ctor(raw);
5622
5623 case "HTMLLIElement":
5624
5625 return new LIElementWrappingImplementation._wrap$ctor(raw);
5626
5627 case "HTMLLabelElement":
5628
5629 return new LabelElementWrappingImplementation._wrap$ctor(raw);
5630
5631 case "HTMLLegendElement":
5632
5633 return new LegendElementWrappingImplementation._wrap$ctor(raw);
5634
5635 case "HTMLLinkElement":
5636
5637 return new LinkElementWrappingImplementation._wrap$ctor(raw);
5638
5639 case "HTMLMapElement":
5640
5641 return new MapElementWrappingImplementation._wrap$ctor(raw);
5642
5643 case "HTMLMarqueeElement":
5644
5645 return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
5646
5647 case "HTMLMediaElement":
5648
5649 return new MediaElementWrappingImplementation._wrap$ctor(raw);
5650
5651 case "HTMLMenuElement":
5652
5653 return new MenuElementWrappingImplementation._wrap$ctor(raw);
5654
5655 case "HTMLMetaElement":
5656
5657 return new MetaElementWrappingImplementation._wrap$ctor(raw);
5658
5659 case "HTMLMeterElement":
5660
5661 return new MeterElementWrappingImplementation._wrap$ctor(raw);
5662
5663 case "HTMLModElement":
5664
5665 return new ModElementWrappingImplementation._wrap$ctor(raw);
5666
5667 case "HTMLOListElement":
5668
5669 return new OListElementWrappingImplementation._wrap$ctor(raw);
5670
5671 case "HTMLObjectElement":
5672
5673 return new ObjectElementWrappingImplementation._wrap$ctor(raw);
5674
5675 case "HTMLOptGroupElement":
5676
5677 return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
5678
5679 case "HTMLOptionElement":
5680
5681 return new OptionElementWrappingImplementation._wrap$ctor(raw);
5682
5683 case "HTMLOutputElement":
5684
5685 return new OutputElementWrappingImplementation._wrap$ctor(raw);
5686
5687 case "HTMLParagraphElement":
5688
5689 return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
5690
5691 case "HTMLParamElement":
5692
5693 return new ParamElementWrappingImplementation._wrap$ctor(raw);
5694
5695 case "HTMLPreElement":
5696
5697 return new PreElementWrappingImplementation._wrap$ctor(raw);
5698
5699 case "HTMLProgressElement":
5700
5701 return new ProgressElementWrappingImplementation._wrap$ctor(raw);
5702
5703 case "HTMLQuoteElement":
5704
5705 return new QuoteElementWrappingImplementation._wrap$ctor(raw);
5706
5707 case "SVGAElement":
5708
5709 return new SVGAElementWrappingImplementation._wrap$ctor(raw);
5710
5711 case "SVGAltGlyphDefElement":
5712
5713 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
5714
5715 case "SVGAltGlyphElement":
5716
5717 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
5718
5719 case "SVGAltGlyphItemElement":
5720
5721 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
5722
5723 case "SVGAnimateColorElement":
5724
5725 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
5726
5727 case "SVGAnimateElement":
5728
5729 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
5730
5731 case "SVGAnimateMotionElement":
5732
5733 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
5734
5735 case "SVGAnimateTransformElement":
5736
5737 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw );
5738
5739 case "SVGAnimationElement":
5740
5741 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
5742
5743 case "SVGCircleElement":
5744
5745 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
5746
5747 case "SVGClipPathElement":
5748
5749 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
5750
5751 case "SVGComponentTransferFunctionElement":
5752
5753 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap $ctor(raw);
5754
5755 case "SVGCursorElement":
5756
5757 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
5758
5759 case "SVGDefsElement":
5760
5761 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
5762
5763 case "SVGDescElement":
5764
5765 return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
5766
5767 case "SVGElement":
5768
5769 return new SVGElementWrappingImplementation._wrap$ctor(raw);
5770
5771 case "SVGEllipseElement":
5772
5773 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
5774
5775 case "SVGFEBlendElement":
5776
5777 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
5778
5779 case "SVGFEColorMatrixElement":
5780
5781 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
5782
5783 case "SVGFEComponentTransferElement":
5784
5785 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor( raw);
5786
5787 case "SVGFEConvolveMatrixElement":
5788
5789 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw );
5790
5791 case "SVGFEDiffuseLightingElement":
5792
5793 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra w);
5794
5795 case "SVGFEDisplacementMapElement":
5796
5797 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra w);
5798
5799 case "SVGFEDistantLightElement":
5800
5801 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
5802
5803 case "SVGFEDropShadowElement":
5804
5805 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
5806
5807 case "SVGFEFloodElement":
5808
5809 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
5810
5811 case "SVGFEFuncAElement":
5812
5813 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
5814
5815 case "SVGFEFuncBElement":
5816
5817 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
5818
5819 case "SVGFEFuncGElement":
5820
5821 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
5822
5823 case "SVGFEFuncRElement":
5824
5825 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
5826
5827 case "SVGFEGaussianBlurElement":
5828
5829 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
5830
5831 case "SVGFEImageElement":
5832
5833 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
5834
5835 case "SVGFEMergeElement":
5836
5837 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
5838
5839 case "SVGFEMergeNodeElement":
5840
5841 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
5842
5843 case "SVGFEOffsetElement":
5844
5845 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
5846
5847 case "SVGFEPointLightElement":
5848
5849 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
5850
5851 case "SVGFESpecularLightingElement":
5852
5853 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r aw);
5854
5855 case "SVGFESpotLightElement":
5856
5857 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
5858
5859 case "SVGFETileElement":
5860
5861 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
5862
5863 case "SVGFETurbulenceElement":
5864
5865 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
5866
5867 case "SVGFilterElement":
5868
5869 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
5870
5871 case "SVGFontElement":
5872
5873 return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
5874
5875 case "SVGFontFaceElement":
5876
5877 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
5878
5879 case "SVGFontFaceFormatElement":
5880
5881 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
5882
5883 case "SVGFontFaceNameElement":
5884
5885 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
5886
5887 case "SVGFontFaceSrcElement":
5888
5889 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
5890
5891 case "SVGFontFaceUriElement":
5892
5893 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
5894
5895 case "SVGForeignObjectElement":
5896
5897 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
5898
5899 case "SVGGElement":
5900
5901 return new SVGGElementWrappingImplementation._wrap$ctor(raw);
5902
5903 case "SVGGlyphElement":
5904
5905 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
5906
5907 case "SVGGlyphRefElement":
5908
5909 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
5910
5911 case "SVGGradientElement":
5912
5913 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
5914
5915 case "SVGHKernElement":
5916
5917 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
5918
5919 case "SVGImageElement":
5920
5921 return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
5922
5923 case "SVGLineElement":
5924
5925 return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
5926
5927 case "SVGLinearGradientElement":
5928
5929 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
5930
5931 case "SVGMPathElement":
5932
5933 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
5934
5935 case "SVGMarkerElement":
5936
5937 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
5938
5939 case "SVGMaskElement":
5940
5941 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
5942
5943 case "SVGMetadataElement":
5944
5945 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
5946
5947 case "SVGMissingGlyphElement":
5948
5949 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
5950
5951 case "SVGPathElement":
5952
5953 return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
5954
5955 case "SVGPatternElement":
5956
5957 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
5958
5959 case "SVGPolygonElement":
5960
5961 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
5962
5963 case "SVGPolylineElement":
5964
5965 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
5966
5967 case "SVGRadialGradientElement":
5968
5969 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
5970
5971 case "SVGRectElement":
5972
5973 return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
5974
5975 case "SVGSVGElement":
5976
5977 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
5978
5979 case "SVGScriptElement":
5980
5981 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
5982
5983 case "SVGSetElement":
5984
5985 return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
5986
5987 case "SVGStopElement":
5988
5989 return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
5990
5991 case "SVGStyleElement":
5992
5993 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
5994
5995 case "SVGSwitchElement":
5996
5997 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
5998
5999 case "SVGSymbolElement":
6000
6001 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
6002
6003 case "SVGTRefElement":
6004
6005 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
6006
6007 case "SVGTSpanElement":
6008
6009 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
6010
6011 case "SVGTextContentElement":
6012
6013 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
6014
6015 case "SVGTextElement":
6016
6017 return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
6018
6019 case "SVGTextPathElement":
6020
6021 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
6022
6023 case "SVGTextPositioningElement":
6024
6025 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw) ;
6026
6027 case "SVGTitleElement":
6028
6029 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
6030
6031 case "SVGUseElement":
6032
6033 return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
6034
6035 case "SVGVKernElement":
6036
6037 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
6038
6039 case "SVGViewElement":
6040
6041 return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
6042
6043 case "HTMLScriptElement":
6044
6045 return new ScriptElementWrappingImplementation._wrap$ctor(raw);
6046
6047 case "HTMLSelectElement":
6048
6049 return new SelectElementWrappingImplementation._wrap$ctor(raw);
6050
6051 case "HTMLSourceElement":
6052
6053 return new SourceElementWrappingImplementation._wrap$ctor(raw);
6054
6055 case "HTMLSpanElement":
6056
6057 return new SpanElementWrappingImplementation._wrap$ctor(raw);
6058
6059 case "HTMLStyleElement":
6060
6061 return new StyleElementWrappingImplementation._wrap$ctor(raw);
6062
6063 case "HTMLTableCaptionElement":
6064
6065 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
6066
6067 case "HTMLTableCellElement":
6068
6069 return new TableCellElementWrappingImplementation._wrap$ctor(raw);
6070
6071 case "HTMLTableColElement":
6072
6073 return new TableColElementWrappingImplementation._wrap$ctor(raw);
6074
6075 case "HTMLTableElement":
6076
6077 return new TableElementWrappingImplementation._wrap$ctor(raw);
6078
6079 case "HTMLTableRowElement":
6080
6081 return new TableRowElementWrappingImplementation._wrap$ctor(raw);
6082
6083 case "HTMLTableSectionElement":
6084
6085 return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
6086
6087 case "HTMLTextAreaElement":
6088
6089 return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
6090
6091 case "HTMLTitleElement":
6092
6093 return new TitleElementWrappingImplementation._wrap$ctor(raw);
6094
6095 case "HTMLTrackElement":
6096
6097 return new TrackElementWrappingImplementation._wrap$ctor(raw);
6098
6099 case "HTMLUListElement":
6100
6101 return new UListElementWrappingImplementation._wrap$ctor(raw);
6102
6103 case "HTMLUnknownElement":
6104
6105 return new UnknownElementWrappingImplementation._wrap$ctor(raw);
6106
6107 case "HTMLVideoElement":
6108
6109 return new VideoElementWrappingImplementation._wrap$ctor(raw);
6110
6111 default:
6112
6113 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
6114
6115 }
6116 }
6117 LevelDom.wrapElementList = function(raw) {
6118 return raw == null ? null : new FrozenElementList._wrap$ctor(raw);
6119 }
6120 LevelDom.wrapEvent = function(raw) {
6121 if (raw == null) {
6122 return null;
6123 }
6124 if (raw.get$dartObjectLocalStorage() != null) {
6125 return raw.get$dartObjectLocalStorage();
6126 }
6127 switch (raw.get$typeName()) {
6128 case "WebKitAnimationEvent":
6129
6130 return new AnimationEventWrappingImplementation._wrap$ctor(raw);
6131
6132 case "AudioProcessingEvent":
6133
6134 return new AudioProcessingEventWrappingImplementation._wrap$ctor(raw);
6135
6136 case "BeforeLoadEvent":
6137
6138 return new BeforeLoadEventWrappingImplementation._wrap$ctor(raw);
6139
6140 case "CloseEvent":
6141
6142 return new CloseEventWrappingImplementation._wrap$ctor(raw);
6143
6144 case "CompositionEvent":
6145
6146 return new CompositionEventWrappingImplementation._wrap$ctor(raw);
6147
6148 case "CustomEvent":
6149
6150 return new CustomEventWrappingImplementation._wrap$ctor(raw);
6151
6152 case "DeviceMotionEvent":
6153
6154 return new DeviceMotionEventWrappingImplementation._wrap$ctor(raw);
6155
6156 case "DeviceOrientationEvent":
6157
6158 return new DeviceOrientationEventWrappingImplementation._wrap$ctor(raw);
6159
6160 case "ErrorEvent":
6161
6162 return new ErrorEventWrappingImplementation._wrap$ctor(raw);
6163
6164 case "Event":
6165
6166 return new EventWrappingImplementation._wrap$ctor(raw);
6167
6168 case "HashChangeEvent":
6169
6170 return new HashChangeEventWrappingImplementation._wrap$ctor(raw);
6171
6172 case "IDBVersionChangeEvent":
6173
6174 return new IDBVersionChangeEventWrappingImplementation._wrap$ctor(raw);
6175
6176 case "KeyboardEvent":
6177
6178 return new KeyboardEventWrappingImplementation._wrap$ctor(raw);
6179
6180 case "MessageEvent":
6181
6182 return new MessageEventWrappingImplementation._wrap$ctor(raw);
6183
6184 case "MouseEvent":
6185
6186 return new MouseEventWrappingImplementation._wrap$ctor(raw);
6187
6188 case "MutationEvent":
6189
6190 return new MutationEventWrappingImplementation._wrap$ctor(raw);
6191
6192 case "OfflineAudioCompletionEvent":
6193
6194 return new OfflineAudioCompletionEventWrappingImplementation._wrap$ctor(ra w);
6195
6196 case "OverflowEvent":
6197
6198 return new OverflowEventWrappingImplementation._wrap$ctor(raw);
6199
6200 case "PageTransitionEvent":
6201
6202 return new PageTransitionEventWrappingImplementation._wrap$ctor(raw);
6203
6204 case "PopStateEvent":
6205
6206 return new PopStateEventWrappingImplementation._wrap$ctor(raw);
6207
6208 case "ProgressEvent":
6209
6210 return new ProgressEventWrappingImplementation._wrap$ctor(raw);
6211
6212 case "SVGZoomEvent":
6213
6214 return new SVGZoomEventWrappingImplementation._wrap$ctor(raw);
6215
6216 case "SpeechInputEvent":
6217
6218 return new SpeechInputEventWrappingImplementation._wrap$ctor(raw);
6219
6220 case "StorageEvent":
6221
6222 return new StorageEventWrappingImplementation._wrap$ctor(raw);
6223
6224 case "TextEvent":
6225
6226 return new TextEventWrappingImplementation._wrap$ctor(raw);
6227
6228 case "TouchEvent":
6229
6230 return new TouchEventWrappingImplementation._wrap$ctor(raw);
6231
6232 case "WebKitTransitionEvent":
6233
6234 return new TransitionEventWrappingImplementation._wrap$ctor(raw);
6235
6236 case "UIEvent":
6237
6238 return new UIEventWrappingImplementation._wrap$ctor(raw);
6239
6240 case "WebGLContextEvent":
6241
6242 return new WebGLContextEventWrappingImplementation._wrap$ctor(raw);
6243
6244 case "WheelEvent":
6245
6246 return new WheelEventWrappingImplementation._wrap$ctor(raw);
6247
6248 case "XMLHttpRequestProgressEvent":
6249
6250 return new XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor(ra w);
6251
6252 default:
6253
6254 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
6255
6256 }
6257 }
6258 LevelDom.wrapEventTarget = function(raw) {
6259 if (raw == null) {
6260 return null;
6261 }
6262 if (raw.get$dartObjectLocalStorage() != null) {
6263 return raw.get$dartObjectLocalStorage();
6264 }
6265 switch (raw.get$typeName()) {
6266 case "HTMLAnchorElement":
6267
6268 return new AnchorElementWrappingImplementation._wrap$ctor(raw);
6269
6270 case "HTMLAreaElement":
6271
6272 return new AreaElementWrappingImplementation._wrap$ctor(raw);
6273
6274 case "HTMLAudioElement":
6275
6276 return new AudioElementWrappingImplementation._wrap$ctor(raw);
6277
6278 case "HTMLBRElement":
6279
6280 return new BRElementWrappingImplementation._wrap$ctor(raw);
6281
6282 case "HTMLBaseElement":
6283
6284 return new BaseElementWrappingImplementation._wrap$ctor(raw);
6285
6286 case "HTMLBodyElement":
6287
6288 return new BodyElementWrappingImplementation._wrap$ctor(raw);
6289
6290 case "HTMLButtonElement":
6291
6292 return new ButtonElementWrappingImplementation._wrap$ctor(raw);
6293
6294 case "CDATASection":
6295
6296 return new CDATASectionWrappingImplementation._wrap$ctor(raw);
6297
6298 case "HTMLCanvasElement":
6299
6300 return new CanvasElementWrappingImplementation._wrap$ctor(raw);
6301
6302 case "CharacterData":
6303
6304 return new CharacterDataWrappingImplementation._wrap$ctor(raw);
6305
6306 case "Comment":
6307
6308 return new CommentWrappingImplementation._wrap$ctor(raw);
6309
6310 case "HTMLDListElement":
6311
6312 return new DListElementWrappingImplementation._wrap$ctor(raw);
6313
6314 case "DOMApplicationCache":
6315
6316 return new DOMApplicationCacheWrappingImplementation._wrap$ctor(raw);
6317
6318 case "HTMLDataListElement":
6319
6320 return new DataListElementWrappingImplementation._wrap$ctor(raw);
6321
6322 case "HTMLDetailsElement":
6323
6324 return new DetailsElementWrappingImplementation._wrap$ctor(raw);
6325
6326 case "HTMLDivElement":
6327
6328 return new DivElementWrappingImplementation._wrap$ctor(raw);
6329
6330 case "HTMLDocument":
6331
6332 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document Element());
6333
6334 case "DocumentFragment":
6335
6336 return new DocumentFragmentWrappingImplementation._wrap$ctor(raw);
6337
6338 case "HTMLElement":
6339
6340 return new ElementWrappingImplementation._wrap$ctor(raw);
6341
6342 case "HTMLEmbedElement":
6343
6344 return new EmbedElementWrappingImplementation._wrap$ctor(raw);
6345
6346 case "Entity":
6347
6348 return new EntityWrappingImplementation._wrap$ctor(raw);
6349
6350 case "EntityReference":
6351
6352 return new EntityReferenceWrappingImplementation._wrap$ctor(raw);
6353
6354 case "EventSource":
6355
6356 return new EventSourceWrappingImplementation._wrap$ctor(raw);
6357
6358 case "EventTarget":
6359
6360 return new EventTargetWrappingImplementation._wrap$ctor(raw);
6361
6362 case "HTMLFieldSetElement":
6363
6364 return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
6365
6366 case "HTMLFontElement":
6367
6368 return new FontElementWrappingImplementation._wrap$ctor(raw);
6369
6370 case "HTMLFormElement":
6371
6372 return new FormElementWrappingImplementation._wrap$ctor(raw);
6373
6374 case "HTMLHRElement":
6375
6376 return new HRElementWrappingImplementation._wrap$ctor(raw);
6377
6378 case "HTMLHeadElement":
6379
6380 return new HeadElementWrappingImplementation._wrap$ctor(raw);
6381
6382 case "HTMLHeadingElement":
6383
6384 return new HeadingElementWrappingImplementation._wrap$ctor(raw);
6385
6386 case "HTMLHtmlElement":
6387
6388 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
6389
6390 case "HTMLIFrameElement":
6391
6392 return new IFrameElementWrappingImplementation._wrap$ctor(raw);
6393
6394 case "HTMLImageElement":
6395
6396 return new ImageElementWrappingImplementation._wrap$ctor(raw);
6397
6398 case "HTMLInputElement":
6399
6400 return new InputElementWrappingImplementation._wrap$ctor(raw);
6401
6402 case "HTMLKeygenElement":
6403
6404 return new KeygenElementWrappingImplementation._wrap$ctor(raw);
6405
6406 case "HTMLLIElement":
6407
6408 return new LIElementWrappingImplementation._wrap$ctor(raw);
6409
6410 case "HTMLLabelElement":
6411
6412 return new LabelElementWrappingImplementation._wrap$ctor(raw);
6413
6414 case "HTMLLegendElement":
6415
6416 return new LegendElementWrappingImplementation._wrap$ctor(raw);
6417
6418 case "HTMLLinkElement":
6419
6420 return new LinkElementWrappingImplementation._wrap$ctor(raw);
6421
6422 case "HTMLMapElement":
6423
6424 return new MapElementWrappingImplementation._wrap$ctor(raw);
6425
6426 case "HTMLMarqueeElement":
6427
6428 return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
6429
6430 case "HTMLMediaElement":
6431
6432 return new MediaElementWrappingImplementation._wrap$ctor(raw);
6433
6434 case "HTMLMenuElement":
6435
6436 return new MenuElementWrappingImplementation._wrap$ctor(raw);
6437
6438 case "MessagePort":
6439
6440 return new MessagePortWrappingImplementation._wrap$ctor(raw);
6441
6442 case "HTMLMetaElement":
6443
6444 return new MetaElementWrappingImplementation._wrap$ctor(raw);
6445
6446 case "HTMLMeterElement":
6447
6448 return new MeterElementWrappingImplementation._wrap$ctor(raw);
6449
6450 case "HTMLModElement":
6451
6452 return new ModElementWrappingImplementation._wrap$ctor(raw);
6453
6454 case "Node":
6455
6456 return new NodeWrappingImplementation._wrap$ctor(raw);
6457
6458 case "Notation":
6459
6460 return new NotationWrappingImplementation._wrap$ctor(raw);
6461
6462 case "Notification":
6463
6464 return new NotificationWrappingImplementation._wrap$ctor(raw);
6465
6466 case "HTMLOListElement":
6467
6468 return new OListElementWrappingImplementation._wrap$ctor(raw);
6469
6470 case "HTMLObjectElement":
6471
6472 return new ObjectElementWrappingImplementation._wrap$ctor(raw);
6473
6474 case "HTMLOptGroupElement":
6475
6476 return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
6477
6478 case "HTMLOptionElement":
6479
6480 return new OptionElementWrappingImplementation._wrap$ctor(raw);
6481
6482 case "HTMLOutputElement":
6483
6484 return new OutputElementWrappingImplementation._wrap$ctor(raw);
6485
6486 case "HTMLParagraphElement":
6487
6488 return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
6489
6490 case "HTMLParamElement":
6491
6492 return new ParamElementWrappingImplementation._wrap$ctor(raw);
6493
6494 case "HTMLPreElement":
6495
6496 return new PreElementWrappingImplementation._wrap$ctor(raw);
6497
6498 case "ProcessingInstruction":
6499
6500 return new ProcessingInstructionWrappingImplementation._wrap$ctor(raw);
6501
6502 case "HTMLProgressElement":
6503
6504 return new ProgressElementWrappingImplementation._wrap$ctor(raw);
6505
6506 case "HTMLQuoteElement":
6507
6508 return new QuoteElementWrappingImplementation._wrap$ctor(raw);
6509
6510 case "SVGAElement":
6511
6512 return new SVGAElementWrappingImplementation._wrap$ctor(raw);
6513
6514 case "SVGAltGlyphDefElement":
6515
6516 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
6517
6518 case "SVGAltGlyphElement":
6519
6520 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
6521
6522 case "SVGAltGlyphItemElement":
6523
6524 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
6525
6526 case "SVGAnimateColorElement":
6527
6528 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
6529
6530 case "SVGAnimateElement":
6531
6532 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
6533
6534 case "SVGAnimateMotionElement":
6535
6536 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
6537
6538 case "SVGAnimateTransformElement":
6539
6540 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw );
6541
6542 case "SVGAnimationElement":
6543
6544 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
6545
6546 case "SVGCircleElement":
6547
6548 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
6549
6550 case "SVGClipPathElement":
6551
6552 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
6553
6554 case "SVGComponentTransferFunctionElement":
6555
6556 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap $ctor(raw);
6557
6558 case "SVGCursorElement":
6559
6560 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
6561
6562 case "SVGDefsElement":
6563
6564 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
6565
6566 case "SVGDescElement":
6567
6568 return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
6569
6570 case "SVGDocument":
6571
6572 return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
6573
6574 case "SVGElement":
6575
6576 return new SVGElementWrappingImplementation._wrap$ctor(raw);
6577
6578 case "SVGElementInstance":
6579
6580 return new SVGElementInstanceWrappingImplementation._wrap$ctor(raw);
6581
6582 case "SVGEllipseElement":
6583
6584 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
6585
6586 case "SVGFEBlendElement":
6587
6588 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
6589
6590 case "SVGFEColorMatrixElement":
6591
6592 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
6593
6594 case "SVGFEComponentTransferElement":
6595
6596 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor( raw);
6597
6598 case "SVGFEConvolveMatrixElement":
6599
6600 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw );
6601
6602 case "SVGFEDiffuseLightingElement":
6603
6604 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra w);
6605
6606 case "SVGFEDisplacementMapElement":
6607
6608 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra w);
6609
6610 case "SVGFEDistantLightElement":
6611
6612 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
6613
6614 case "SVGFEDropShadowElement":
6615
6616 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
6617
6618 case "SVGFEFloodElement":
6619
6620 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
6621
6622 case "SVGFEFuncAElement":
6623
6624 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
6625
6626 case "SVGFEFuncBElement":
6627
6628 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
6629
6630 case "SVGFEFuncGElement":
6631
6632 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
6633
6634 case "SVGFEFuncRElement":
6635
6636 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
6637
6638 case "SVGFEGaussianBlurElement":
6639
6640 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
6641
6642 case "SVGFEImageElement":
6643
6644 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
6645
6646 case "SVGFEMergeElement":
6647
6648 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
6649
6650 case "SVGFEMergeNodeElement":
6651
6652 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
6653
6654 case "SVGFEOffsetElement":
6655
6656 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
6657
6658 case "SVGFEPointLightElement":
6659
6660 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
6661
6662 case "SVGFESpecularLightingElement":
6663
6664 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r aw);
6665
6666 case "SVGFESpotLightElement":
6667
6668 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
6669
6670 case "SVGFETileElement":
6671
6672 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
6673
6674 case "SVGFETurbulenceElement":
6675
6676 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
6677
6678 case "SVGFilterElement":
6679
6680 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
6681
6682 case "SVGFontElement":
6683
6684 return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
6685
6686 case "SVGFontFaceElement":
6687
6688 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
6689
6690 case "SVGFontFaceFormatElement":
6691
6692 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
6693
6694 case "SVGFontFaceNameElement":
6695
6696 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
6697
6698 case "SVGFontFaceSrcElement":
6699
6700 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
6701
6702 case "SVGFontFaceUriElement":
6703
6704 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
6705
6706 case "SVGForeignObjectElement":
6707
6708 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
6709
6710 case "SVGGElement":
6711
6712 return new SVGGElementWrappingImplementation._wrap$ctor(raw);
6713
6714 case "SVGGlyphElement":
6715
6716 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
6717
6718 case "SVGGlyphRefElement":
6719
6720 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
6721
6722 case "SVGGradientElement":
6723
6724 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
6725
6726 case "SVGHKernElement":
6727
6728 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
6729
6730 case "SVGImageElement":
6731
6732 return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
6733
6734 case "SVGLineElement":
6735
6736 return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
6737
6738 case "SVGLinearGradientElement":
6739
6740 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
6741
6742 case "SVGMPathElement":
6743
6744 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
6745
6746 case "SVGMarkerElement":
6747
6748 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
6749
6750 case "SVGMaskElement":
6751
6752 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
6753
6754 case "SVGMetadataElement":
6755
6756 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
6757
6758 case "SVGMissingGlyphElement":
6759
6760 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
6761
6762 case "SVGPathElement":
6763
6764 return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
6765
6766 case "SVGPatternElement":
6767
6768 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
6769
6770 case "SVGPolygonElement":
6771
6772 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
6773
6774 case "SVGPolylineElement":
6775
6776 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
6777
6778 case "SVGRadialGradientElement":
6779
6780 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
6781
6782 case "SVGRectElement":
6783
6784 return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
6785
6786 case "SVGSVGElement":
6787
6788 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
6789
6790 case "SVGScriptElement":
6791
6792 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
6793
6794 case "SVGSetElement":
6795
6796 return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
6797
6798 case "SVGStopElement":
6799
6800 return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
6801
6802 case "SVGStyleElement":
6803
6804 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
6805
6806 case "SVGSwitchElement":
6807
6808 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
6809
6810 case "SVGSymbolElement":
6811
6812 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
6813
6814 case "SVGTRefElement":
6815
6816 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
6817
6818 case "SVGTSpanElement":
6819
6820 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
6821
6822 case "SVGTextContentElement":
6823
6824 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
6825
6826 case "SVGTextElement":
6827
6828 return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
6829
6830 case "SVGTextPathElement":
6831
6832 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
6833
6834 case "SVGTextPositioningElement":
6835
6836 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw) ;
6837
6838 case "SVGTitleElement":
6839
6840 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
6841
6842 case "SVGUseElement":
6843
6844 return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
6845
6846 case "SVGVKernElement":
6847
6848 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
6849
6850 case "SVGViewElement":
6851
6852 return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
6853
6854 case "HTMLScriptElement":
6855
6856 return new ScriptElementWrappingImplementation._wrap$ctor(raw);
6857
6858 case "HTMLSelectElement":
6859
6860 return new SelectElementWrappingImplementation._wrap$ctor(raw);
6861
6862 case "SharedWorker":
6863
6864 return new SharedWorkerWrappingImplementation._wrap$ctor(raw);
6865
6866 case "HTMLSourceElement":
6867
6868 return new SourceElementWrappingImplementation._wrap$ctor(raw);
6869
6870 case "HTMLSpanElement":
6871
6872 return new SpanElementWrappingImplementation._wrap$ctor(raw);
6873
6874 case "HTMLStyleElement":
6875
6876 return new StyleElementWrappingImplementation._wrap$ctor(raw);
6877
6878 case "HTMLTableCaptionElement":
6879
6880 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
6881
6882 case "HTMLTableCellElement":
6883
6884 return new TableCellElementWrappingImplementation._wrap$ctor(raw);
6885
6886 case "HTMLTableColElement":
6887
6888 return new TableColElementWrappingImplementation._wrap$ctor(raw);
6889
6890 case "HTMLTableElement":
6891
6892 return new TableElementWrappingImplementation._wrap$ctor(raw);
6893
6894 case "HTMLTableRowElement":
6895
6896 return new TableRowElementWrappingImplementation._wrap$ctor(raw);
6897
6898 case "HTMLTableSectionElement":
6899
6900 return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
6901
6902 case "Text":
6903
6904 return new TextWrappingImplementation._wrap$ctor(raw);
6905
6906 case "HTMLTextAreaElement":
6907
6908 return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
6909
6910 case "HTMLTitleElement":
6911
6912 return new TitleElementWrappingImplementation._wrap$ctor(raw);
6913
6914 case "HTMLTrackElement":
6915
6916 return new TrackElementWrappingImplementation._wrap$ctor(raw);
6917
6918 case "HTMLUListElement":
6919
6920 return new UListElementWrappingImplementation._wrap$ctor(raw);
6921
6922 case "HTMLUnknownElement":
6923
6924 return new UnknownElementWrappingImplementation._wrap$ctor(raw);
6925
6926 case "HTMLVideoElement":
6927
6928 return new VideoElementWrappingImplementation._wrap$ctor(raw);
6929
6930 case "WebSocket":
6931
6932 return new WebSocketWrappingImplementation._wrap$ctor(raw);
6933
6934 case "Window":
6935
6936 return new WindowWrappingImplementation._wrap$ctor(raw);
6937
6938 case "Worker":
6939
6940 return new WorkerWrappingImplementation._wrap$ctor(raw);
6941
6942 case "XMLHttpRequest":
6943
6944 return new XMLHttpRequestWrappingImplementation._wrap$ctor(raw);
6945
6946 case "XMLHttpRequestUpload":
6947
6948 return new XMLHttpRequestUploadWrappingImplementation._wrap$ctor(raw);
6949
6950 default:
6951
6952 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
6953
6954 }
6955 }
6956 LevelDom.wrapNavigator = function(raw) {
6957 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new NavigatorWrappingImplementation._wrap$ctor(raw);
6958 }
6959 LevelDom.wrapNode = function(raw) {
6960 if (raw == null) {
6961 return null;
6962 }
6963 if (raw.get$dartObjectLocalStorage() != null) {
6964 return raw.get$dartObjectLocalStorage();
6965 }
6966 switch (raw.get$typeName()) {
6967 case "HTMLAnchorElement":
6968
6969 return new AnchorElementWrappingImplementation._wrap$ctor(raw);
6970
6971 case "HTMLAreaElement":
6972
6973 return new AreaElementWrappingImplementation._wrap$ctor(raw);
6974
6975 case "HTMLAudioElement":
6976
6977 return new AudioElementWrappingImplementation._wrap$ctor(raw);
6978
6979 case "HTMLBRElement":
6980
6981 return new BRElementWrappingImplementation._wrap$ctor(raw);
6982
6983 case "HTMLBaseElement":
6984
6985 return new BaseElementWrappingImplementation._wrap$ctor(raw);
6986
6987 case "HTMLBodyElement":
6988
6989 return new BodyElementWrappingImplementation._wrap$ctor(raw);
6990
6991 case "HTMLButtonElement":
6992
6993 return new ButtonElementWrappingImplementation._wrap$ctor(raw);
6994
6995 case "CDATASection":
6996
6997 return new CDATASectionWrappingImplementation._wrap$ctor(raw);
6998
6999 case "HTMLCanvasElement":
7000
7001 return new CanvasElementWrappingImplementation._wrap$ctor(raw);
7002
7003 case "CharacterData":
7004
7005 return new CharacterDataWrappingImplementation._wrap$ctor(raw);
7006
7007 case "Comment":
7008
7009 return new CommentWrappingImplementation._wrap$ctor(raw);
7010
7011 case "HTMLDListElement":
7012
7013 return new DListElementWrappingImplementation._wrap$ctor(raw);
7014
7015 case "HTMLDataListElement":
7016
7017 return new DataListElementWrappingImplementation._wrap$ctor(raw);
7018
7019 case "HTMLDetailsElement":
7020
7021 return new DetailsElementWrappingImplementation._wrap$ctor(raw);
7022
7023 case "HTMLDivElement":
7024
7025 return new DivElementWrappingImplementation._wrap$ctor(raw);
7026
7027 case "HTMLDocument":
7028
7029 return new DocumentWrappingImplementation._wrap$ctor(raw, raw.get$document Element());
7030
7031 case "DocumentFragment":
7032
7033 return new DocumentFragmentWrappingImplementation._wrap$ctor(raw);
7034
7035 case "HTMLElement":
7036
7037 return new ElementWrappingImplementation._wrap$ctor(raw);
7038
7039 case "HTMLEmbedElement":
7040
7041 return new EmbedElementWrappingImplementation._wrap$ctor(raw);
7042
7043 case "Entity":
7044
7045 return new EntityWrappingImplementation._wrap$ctor(raw);
7046
7047 case "EntityReference":
7048
7049 return new EntityReferenceWrappingImplementation._wrap$ctor(raw);
7050
7051 case "HTMLFieldSetElement":
7052
7053 return new FieldSetElementWrappingImplementation._wrap$ctor(raw);
7054
7055 case "HTMLFontElement":
7056
7057 return new FontElementWrappingImplementation._wrap$ctor(raw);
7058
7059 case "HTMLFormElement":
7060
7061 return new FormElementWrappingImplementation._wrap$ctor(raw);
7062
7063 case "HTMLHRElement":
7064
7065 return new HRElementWrappingImplementation._wrap$ctor(raw);
7066
7067 case "HTMLHeadElement":
7068
7069 return new HeadElementWrappingImplementation._wrap$ctor(raw);
7070
7071 case "HTMLHeadingElement":
7072
7073 return new HeadingElementWrappingImplementation._wrap$ctor(raw);
7074
7075 case "HTMLHtmlElement":
7076
7077 return new DocumentWrappingImplementation._wrap$ctor(raw.get$parentNode(), raw);
7078
7079 case "HTMLIFrameElement":
7080
7081 return new IFrameElementWrappingImplementation._wrap$ctor(raw);
7082
7083 case "HTMLImageElement":
7084
7085 return new ImageElementWrappingImplementation._wrap$ctor(raw);
7086
7087 case "HTMLInputElement":
7088
7089 return new InputElementWrappingImplementation._wrap$ctor(raw);
7090
7091 case "HTMLKeygenElement":
7092
7093 return new KeygenElementWrappingImplementation._wrap$ctor(raw);
7094
7095 case "HTMLLIElement":
7096
7097 return new LIElementWrappingImplementation._wrap$ctor(raw);
7098
7099 case "HTMLLabelElement":
7100
7101 return new LabelElementWrappingImplementation._wrap$ctor(raw);
7102
7103 case "HTMLLegendElement":
7104
7105 return new LegendElementWrappingImplementation._wrap$ctor(raw);
7106
7107 case "HTMLLinkElement":
7108
7109 return new LinkElementWrappingImplementation._wrap$ctor(raw);
7110
7111 case "HTMLMapElement":
7112
7113 return new MapElementWrappingImplementation._wrap$ctor(raw);
7114
7115 case "HTMLMarqueeElement":
7116
7117 return new MarqueeElementWrappingImplementation._wrap$ctor(raw);
7118
7119 case "HTMLMediaElement":
7120
7121 return new MediaElementWrappingImplementation._wrap$ctor(raw);
7122
7123 case "HTMLMenuElement":
7124
7125 return new MenuElementWrappingImplementation._wrap$ctor(raw);
7126
7127 case "HTMLMetaElement":
7128
7129 return new MetaElementWrappingImplementation._wrap$ctor(raw);
7130
7131 case "HTMLMeterElement":
7132
7133 return new MeterElementWrappingImplementation._wrap$ctor(raw);
7134
7135 case "HTMLModElement":
7136
7137 return new ModElementWrappingImplementation._wrap$ctor(raw);
7138
7139 case "Node":
7140
7141 return new NodeWrappingImplementation._wrap$ctor(raw);
7142
7143 case "Notation":
7144
7145 return new NotationWrappingImplementation._wrap$ctor(raw);
7146
7147 case "HTMLOListElement":
7148
7149 return new OListElementWrappingImplementation._wrap$ctor(raw);
7150
7151 case "HTMLObjectElement":
7152
7153 return new ObjectElementWrappingImplementation._wrap$ctor(raw);
7154
7155 case "HTMLOptGroupElement":
7156
7157 return new OptGroupElementWrappingImplementation._wrap$ctor(raw);
7158
7159 case "HTMLOptionElement":
7160
7161 return new OptionElementWrappingImplementation._wrap$ctor(raw);
7162
7163 case "HTMLOutputElement":
7164
7165 return new OutputElementWrappingImplementation._wrap$ctor(raw);
7166
7167 case "HTMLParagraphElement":
7168
7169 return new ParagraphElementWrappingImplementation._wrap$ctor(raw);
7170
7171 case "HTMLParamElement":
7172
7173 return new ParamElementWrappingImplementation._wrap$ctor(raw);
7174
7175 case "HTMLPreElement":
7176
7177 return new PreElementWrappingImplementation._wrap$ctor(raw);
7178
7179 case "ProcessingInstruction":
7180
7181 return new ProcessingInstructionWrappingImplementation._wrap$ctor(raw);
7182
7183 case "HTMLProgressElement":
7184
7185 return new ProgressElementWrappingImplementation._wrap$ctor(raw);
7186
7187 case "HTMLQuoteElement":
7188
7189 return new QuoteElementWrappingImplementation._wrap$ctor(raw);
7190
7191 case "SVGAElement":
7192
7193 return new SVGAElementWrappingImplementation._wrap$ctor(raw);
7194
7195 case "SVGAltGlyphDefElement":
7196
7197 return new SVGAltGlyphDefElementWrappingImplementation._wrap$ctor(raw);
7198
7199 case "SVGAltGlyphElement":
7200
7201 return new SVGAltGlyphElementWrappingImplementation._wrap$ctor(raw);
7202
7203 case "SVGAltGlyphItemElement":
7204
7205 return new SVGAltGlyphItemElementWrappingImplementation._wrap$ctor(raw);
7206
7207 case "SVGAnimateColorElement":
7208
7209 return new SVGAnimateColorElementWrappingImplementation._wrap$ctor(raw);
7210
7211 case "SVGAnimateElement":
7212
7213 return new SVGAnimateElementWrappingImplementation._wrap$ctor(raw);
7214
7215 case "SVGAnimateMotionElement":
7216
7217 return new SVGAnimateMotionElementWrappingImplementation._wrap$ctor(raw);
7218
7219 case "SVGAnimateTransformElement":
7220
7221 return new SVGAnimateTransformElementWrappingImplementation._wrap$ctor(raw );
7222
7223 case "SVGAnimationElement":
7224
7225 return new SVGAnimationElementWrappingImplementation._wrap$ctor(raw);
7226
7227 case "SVGCircleElement":
7228
7229 return new SVGCircleElementWrappingImplementation._wrap$ctor(raw);
7230
7231 case "SVGClipPathElement":
7232
7233 return new SVGClipPathElementWrappingImplementation._wrap$ctor(raw);
7234
7235 case "SVGComponentTransferFunctionElement":
7236
7237 return new SVGComponentTransferFunctionElementWrappingImplementation._wrap $ctor(raw);
7238
7239 case "SVGCursorElement":
7240
7241 return new SVGCursorElementWrappingImplementation._wrap$ctor(raw);
7242
7243 case "SVGDefsElement":
7244
7245 return new SVGDefsElementWrappingImplementation._wrap$ctor(raw);
7246
7247 case "SVGDescElement":
7248
7249 return new SVGDescElementWrappingImplementation._wrap$ctor(raw);
7250
7251 case "SVGDocument":
7252
7253 return new SVGDocumentWrappingImplementation._wrap$ctor(raw);
7254
7255 case "SVGElement":
7256
7257 return new SVGElementWrappingImplementation._wrap$ctor(raw);
7258
7259 case "SVGEllipseElement":
7260
7261 return new SVGEllipseElementWrappingImplementation._wrap$ctor(raw);
7262
7263 case "SVGFEBlendElement":
7264
7265 return new SVGFEBlendElementWrappingImplementation._wrap$ctor(raw);
7266
7267 case "SVGFEColorMatrixElement":
7268
7269 return new SVGFEColorMatrixElementWrappingImplementation._wrap$ctor(raw);
7270
7271 case "SVGFEComponentTransferElement":
7272
7273 return new SVGFEComponentTransferElementWrappingImplementation._wrap$ctor( raw);
7274
7275 case "SVGFEConvolveMatrixElement":
7276
7277 return new SVGFEConvolveMatrixElementWrappingImplementation._wrap$ctor(raw );
7278
7279 case "SVGFEDiffuseLightingElement":
7280
7281 return new SVGFEDiffuseLightingElementWrappingImplementation._wrap$ctor(ra w);
7282
7283 case "SVGFEDisplacementMapElement":
7284
7285 return new SVGFEDisplacementMapElementWrappingImplementation._wrap$ctor(ra w);
7286
7287 case "SVGFEDistantLightElement":
7288
7289 return new SVGFEDistantLightElementWrappingImplementation._wrap$ctor(raw);
7290
7291 case "SVGFEDropShadowElement":
7292
7293 return new SVGFEDropShadowElementWrappingImplementation._wrap$ctor(raw);
7294
7295 case "SVGFEFloodElement":
7296
7297 return new SVGFEFloodElementWrappingImplementation._wrap$ctor(raw);
7298
7299 case "SVGFEFuncAElement":
7300
7301 return new SVGFEFuncAElementWrappingImplementation._wrap$ctor(raw);
7302
7303 case "SVGFEFuncBElement":
7304
7305 return new SVGFEFuncBElementWrappingImplementation._wrap$ctor(raw);
7306
7307 case "SVGFEFuncGElement":
7308
7309 return new SVGFEFuncGElementWrappingImplementation._wrap$ctor(raw);
7310
7311 case "SVGFEFuncRElement":
7312
7313 return new SVGFEFuncRElementWrappingImplementation._wrap$ctor(raw);
7314
7315 case "SVGFEGaussianBlurElement":
7316
7317 return new SVGFEGaussianBlurElementWrappingImplementation._wrap$ctor(raw);
7318
7319 case "SVGFEImageElement":
7320
7321 return new SVGFEImageElementWrappingImplementation._wrap$ctor(raw);
7322
7323 case "SVGFEMergeElement":
7324
7325 return new SVGFEMergeElementWrappingImplementation._wrap$ctor(raw);
7326
7327 case "SVGFEMergeNodeElement":
7328
7329 return new SVGFEMergeNodeElementWrappingImplementation._wrap$ctor(raw);
7330
7331 case "SVGFEOffsetElement":
7332
7333 return new SVGFEOffsetElementWrappingImplementation._wrap$ctor(raw);
7334
7335 case "SVGFEPointLightElement":
7336
7337 return new SVGFEPointLightElementWrappingImplementation._wrap$ctor(raw);
7338
7339 case "SVGFESpecularLightingElement":
7340
7341 return new SVGFESpecularLightingElementWrappingImplementation._wrap$ctor(r aw);
7342
7343 case "SVGFESpotLightElement":
7344
7345 return new SVGFESpotLightElementWrappingImplementation._wrap$ctor(raw);
7346
7347 case "SVGFETileElement":
7348
7349 return new SVGFETileElementWrappingImplementation._wrap$ctor(raw);
7350
7351 case "SVGFETurbulenceElement":
7352
7353 return new SVGFETurbulenceElementWrappingImplementation._wrap$ctor(raw);
7354
7355 case "SVGFilterElement":
7356
7357 return new SVGFilterElementWrappingImplementation._wrap$ctor(raw);
7358
7359 case "SVGFontElement":
7360
7361 return new SVGFontElementWrappingImplementation._wrap$ctor(raw);
7362
7363 case "SVGFontFaceElement":
7364
7365 return new SVGFontFaceElementWrappingImplementation._wrap$ctor(raw);
7366
7367 case "SVGFontFaceFormatElement":
7368
7369 return new SVGFontFaceFormatElementWrappingImplementation._wrap$ctor(raw);
7370
7371 case "SVGFontFaceNameElement":
7372
7373 return new SVGFontFaceNameElementWrappingImplementation._wrap$ctor(raw);
7374
7375 case "SVGFontFaceSrcElement":
7376
7377 return new SVGFontFaceSrcElementWrappingImplementation._wrap$ctor(raw);
7378
7379 case "SVGFontFaceUriElement":
7380
7381 return new SVGFontFaceUriElementWrappingImplementation._wrap$ctor(raw);
7382
7383 case "SVGForeignObjectElement":
7384
7385 return new SVGForeignObjectElementWrappingImplementation._wrap$ctor(raw);
7386
7387 case "SVGGElement":
7388
7389 return new SVGGElementWrappingImplementation._wrap$ctor(raw);
7390
7391 case "SVGGlyphElement":
7392
7393 return new SVGGlyphElementWrappingImplementation._wrap$ctor(raw);
7394
7395 case "SVGGlyphRefElement":
7396
7397 return new SVGGlyphRefElementWrappingImplementation._wrap$ctor(raw);
7398
7399 case "SVGGradientElement":
7400
7401 return new SVGGradientElementWrappingImplementation._wrap$ctor(raw);
7402
7403 case "SVGHKernElement":
7404
7405 return new SVGHKernElementWrappingImplementation._wrap$ctor(raw);
7406
7407 case "SVGImageElement":
7408
7409 return new SVGImageElementWrappingImplementation._wrap$ctor(raw);
7410
7411 case "SVGLineElement":
7412
7413 return new SVGLineElementWrappingImplementation._wrap$ctor(raw);
7414
7415 case "SVGLinearGradientElement":
7416
7417 return new SVGLinearGradientElementWrappingImplementation._wrap$ctor(raw);
7418
7419 case "SVGMPathElement":
7420
7421 return new SVGMPathElementWrappingImplementation._wrap$ctor(raw);
7422
7423 case "SVGMarkerElement":
7424
7425 return new SVGMarkerElementWrappingImplementation._wrap$ctor(raw);
7426
7427 case "SVGMaskElement":
7428
7429 return new SVGMaskElementWrappingImplementation._wrap$ctor(raw);
7430
7431 case "SVGMetadataElement":
7432
7433 return new SVGMetadataElementWrappingImplementation._wrap$ctor(raw);
7434
7435 case "SVGMissingGlyphElement":
7436
7437 return new SVGMissingGlyphElementWrappingImplementation._wrap$ctor(raw);
7438
7439 case "SVGPathElement":
7440
7441 return new SVGPathElementWrappingImplementation._wrap$ctor(raw);
7442
7443 case "SVGPatternElement":
7444
7445 return new SVGPatternElementWrappingImplementation._wrap$ctor(raw);
7446
7447 case "SVGPolygonElement":
7448
7449 return new SVGPolygonElementWrappingImplementation._wrap$ctor(raw);
7450
7451 case "SVGPolylineElement":
7452
7453 return new SVGPolylineElementWrappingImplementation._wrap$ctor(raw);
7454
7455 case "SVGRadialGradientElement":
7456
7457 return new SVGRadialGradientElementWrappingImplementation._wrap$ctor(raw);
7458
7459 case "SVGRectElement":
7460
7461 return new SVGRectElementWrappingImplementation._wrap$ctor(raw);
7462
7463 case "SVGSVGElement":
7464
7465 return new SVGSVGElementWrappingImplementation._wrap$ctor(raw);
7466
7467 case "SVGScriptElement":
7468
7469 return new SVGScriptElementWrappingImplementation._wrap$ctor(raw);
7470
7471 case "SVGSetElement":
7472
7473 return new SVGSetElementWrappingImplementation._wrap$ctor(raw);
7474
7475 case "SVGStopElement":
7476
7477 return new SVGStopElementWrappingImplementation._wrap$ctor(raw);
7478
7479 case "SVGStyleElement":
7480
7481 return new SVGStyleElementWrappingImplementation._wrap$ctor(raw);
7482
7483 case "SVGSwitchElement":
7484
7485 return new SVGSwitchElementWrappingImplementation._wrap$ctor(raw);
7486
7487 case "SVGSymbolElement":
7488
7489 return new SVGSymbolElementWrappingImplementation._wrap$ctor(raw);
7490
7491 case "SVGTRefElement":
7492
7493 return new SVGTRefElementWrappingImplementation._wrap$ctor(raw);
7494
7495 case "SVGTSpanElement":
7496
7497 return new SVGTSpanElementWrappingImplementation._wrap$ctor(raw);
7498
7499 case "SVGTextContentElement":
7500
7501 return new SVGTextContentElementWrappingImplementation._wrap$ctor(raw);
7502
7503 case "SVGTextElement":
7504
7505 return new SVGTextElementWrappingImplementation._wrap$ctor(raw);
7506
7507 case "SVGTextPathElement":
7508
7509 return new SVGTextPathElementWrappingImplementation._wrap$ctor(raw);
7510
7511 case "SVGTextPositioningElement":
7512
7513 return new SVGTextPositioningElementWrappingImplementation._wrap$ctor(raw) ;
7514
7515 case "SVGTitleElement":
7516
7517 return new SVGTitleElementWrappingImplementation._wrap$ctor(raw);
7518
7519 case "SVGUseElement":
7520
7521 return new SVGUseElementWrappingImplementation._wrap$ctor(raw);
7522
7523 case "SVGVKernElement":
7524
7525 return new SVGVKernElementWrappingImplementation._wrap$ctor(raw);
7526
7527 case "SVGViewElement":
7528
7529 return new SVGViewElementWrappingImplementation._wrap$ctor(raw);
7530
7531 case "HTMLScriptElement":
7532
7533 return new ScriptElementWrappingImplementation._wrap$ctor(raw);
7534
7535 case "HTMLSelectElement":
7536
7537 return new SelectElementWrappingImplementation._wrap$ctor(raw);
7538
7539 case "HTMLSourceElement":
7540
7541 return new SourceElementWrappingImplementation._wrap$ctor(raw);
7542
7543 case "HTMLSpanElement":
7544
7545 return new SpanElementWrappingImplementation._wrap$ctor(raw);
7546
7547 case "HTMLStyleElement":
7548
7549 return new StyleElementWrappingImplementation._wrap$ctor(raw);
7550
7551 case "HTMLTableCaptionElement":
7552
7553 return new TableCaptionElementWrappingImplementation._wrap$ctor(raw);
7554
7555 case "HTMLTableCellElement":
7556
7557 return new TableCellElementWrappingImplementation._wrap$ctor(raw);
7558
7559 case "HTMLTableColElement":
7560
7561 return new TableColElementWrappingImplementation._wrap$ctor(raw);
7562
7563 case "HTMLTableElement":
7564
7565 return new TableElementWrappingImplementation._wrap$ctor(raw);
7566
7567 case "HTMLTableRowElement":
7568
7569 return new TableRowElementWrappingImplementation._wrap$ctor(raw);
7570
7571 case "HTMLTableSectionElement":
7572
7573 return new TableSectionElementWrappingImplementation._wrap$ctor(raw);
7574
7575 case "Text":
7576
7577 return new TextWrappingImplementation._wrap$ctor(raw);
7578
7579 case "HTMLTextAreaElement":
7580
7581 return new TextAreaElementWrappingImplementation._wrap$ctor(raw);
7582
7583 case "HTMLTitleElement":
7584
7585 return new TitleElementWrappingImplementation._wrap$ctor(raw);
7586
7587 case "HTMLTrackElement":
7588
7589 return new TrackElementWrappingImplementation._wrap$ctor(raw);
7590
7591 case "HTMLUListElement":
7592
7593 return new UListElementWrappingImplementation._wrap$ctor(raw);
7594
7595 case "HTMLUnknownElement":
7596
7597 return new UnknownElementWrappingImplementation._wrap$ctor(raw);
7598
7599 case "HTMLVideoElement":
7600
7601 return new VideoElementWrappingImplementation._wrap$ctor(raw);
7602
7603 default:
7604
7605 $throw(new UnsupportedOperationException("Unknown type:" + raw.toString$0( )));
7606
7607 }
7608 }
7609 LevelDom.wrapSVGAnimatedString = function(raw) {
7610 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new SVGAnimatedStringWrappingImplementation._wrap$ct or(raw);
7611 }
7612 LevelDom.wrapSVGElementInstance = function(raw) {
7613 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new SVGElementInstanceWrappingImplementation._wrap$c tor(raw);
7614 }
7615 LevelDom.wrapSVGElementInstanceList = function(raw) {
7616 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new SVGElementInstanceListWrappingImplementation._wr ap$ctor(raw);
7617 }
7618 LevelDom.wrapTouch = function(raw) {
7619 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new TouchWrappingImplementation._wrap$ctor(raw);
7620 }
7621 LevelDom.wrapTouchList = function(raw) {
7622 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new TouchListWrappingImplementation._wrap$ctor(raw);
7623 }
7624 LevelDom.wrapWindow = function(raw) {
7625 return raw == null ? null : raw.get$dartObjectLocalStorage() != null ? raw.get $dartObjectLocalStorage() : new WindowWrappingImplementation._wrap$ctor(raw);
7626 }
7627 LevelDom.unwrap = function(raw) {
7628 return raw == null ? null : raw.get$_ptr();
7629 }
7630 LevelDom.initialize = function() {
7631 $globals.secretWindow = LevelDom.wrapWindow(get$window());
7632 $globals.secretDocument = LevelDom.wrapDocument(get$document());
7633 }
7634 // ********** Code for _Collections **************
7635 function _Collections() {}
7636 _Collections.forEach = function(iterable, f) {
7637 for (var $$i = iterable.iterator$0(); $$i.hasNext$0(); ) {
7638 var e = $$i.next$0();
7639 f.call$1(e);
7640 }
7641 }
7642 _Collections.filter = function(source, destination, f) {
7643 for (var $$i = source.iterator$0(); $$i.hasNext$0(); ) {
7644 var e = $$i.next$0();
7645 if (f.call$1(e)) destination.add$1(e);
7646 }
7647 return destination;
7648 }
7649 // ********** Code for _VariableSizeListIterator_T **************
7650 $inherits(_VariableSizeListIterator_T, _VariableSizeListIterator);
7651 function _VariableSizeListIterator_T(list) {
7652 this._htmlimpl_list = list;
7653 this._htmlimpl_pos = (0);
7654 }
7655 // ********** Code for _FixedSizeListIterator **************
7656 $inherits(_FixedSizeListIterator, _VariableSizeListIterator_T);
7657 function _FixedSizeListIterator(list) {
7658 this._htmlimpl_length = list.get$length();
7659 _VariableSizeListIterator_T.call(this, list);
7660 }
7661 _FixedSizeListIterator.prototype.hasNext = function() {
7662 return this._htmlimpl_length > this._htmlimpl_pos;
7663 }
7664 _FixedSizeListIterator.prototype.hasNext$0 = _FixedSizeListIterator.prototype.ha sNext;
7665 // ********** Code for _VariableSizeListIterator_html_html_Touch **************
7666 $inherits(_VariableSizeListIterator_html_html_Touch, _VariableSizeListIterator);
7667 function _VariableSizeListIterator_html_html_Touch(list) {
7668 this._htmlimpl_list = list;
7669 this._htmlimpl_pos = (0);
7670 }
7671 // ********** Code for _FixedSizeListIterator_html_html_Touch **************
7672 $inherits(_FixedSizeListIterator_html_html_Touch, _FixedSizeListIterator);
7673 function _FixedSizeListIterator_html_html_Touch(list) {
7674 this._htmlimpl_length = list.get$length();
7675 _VariableSizeListIterator_html_html_Touch.call(this, list);
7676 }
7677 // ********** Code for _VariableSizeListIterator **************
7678 function _VariableSizeListIterator(list) {
7679 this._htmlimpl_list = list;
7680 this._htmlimpl_pos = (0);
7681 }
7682 _VariableSizeListIterator.prototype.hasNext = function() {
7683 return this._htmlimpl_list.get$length() > this._htmlimpl_pos;
7684 }
7685 _VariableSizeListIterator.prototype.next = function() {
7686 if (!this.hasNext()) {
7687 $throw(const$0002);
7688 }
7689 return this._htmlimpl_list.$index(this._htmlimpl_pos++);
7690 }
7691 _VariableSizeListIterator.prototype.hasNext$0 = _VariableSizeListIterator.protot ype.hasNext;
7692 _VariableSizeListIterator.prototype.next$0 = _VariableSizeListIterator.prototype .next;
7693 // ********** Code for AbstractWorkerWrappingImplementation **************
7694 $inherits(AbstractWorkerWrappingImplementation, EventTargetWrappingImplementatio n);
7695 function AbstractWorkerWrappingImplementation() {}
7696 AbstractWorkerWrappingImplementation._wrap$ctor = function(ptr) {
7697 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
7698 }
7699 AbstractWorkerWrappingImplementation._wrap$ctor.prototype = AbstractWorkerWrappi ngImplementation.prototype;
7700 // ********** Code for AnimationEventWrappingImplementation **************
7701 $inherits(AnimationEventWrappingImplementation, EventWrappingImplementation);
7702 function AnimationEventWrappingImplementation() {}
7703 AnimationEventWrappingImplementation._wrap$ctor = function(ptr) {
7704 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7705 }
7706 AnimationEventWrappingImplementation._wrap$ctor.prototype = AnimationEventWrappi ngImplementation.prototype;
7707 // ********** Code for BeforeLoadEventWrappingImplementation **************
7708 $inherits(BeforeLoadEventWrappingImplementation, EventWrappingImplementation);
7709 function BeforeLoadEventWrappingImplementation() {}
7710 BeforeLoadEventWrappingImplementation._wrap$ctor = function(ptr) {
7711 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7712 }
7713 BeforeLoadEventWrappingImplementation._wrap$ctor.prototype = BeforeLoadEventWrap pingImplementation.prototype;
7714 // ********** Code for EventsImplementation **************
7715 function EventsImplementation() {}
7716 EventsImplementation._wrap$ctor = function(_ptr) {
7717 this._ptr = _ptr;
7718 this._listenerMap = new HashMapImplementation();
7719 }
7720 EventsImplementation._wrap$ctor.prototype = EventsImplementation.prototype;
7721 EventsImplementation.prototype.get$_ptr = function() { return this._ptr; };
7722 EventsImplementation.prototype.set$_ptr = function(value) { return this._ptr = v alue; };
7723 EventsImplementation.prototype.$index = function(type) {
7724 return this._get(type.toLowerCase());
7725 }
7726 EventsImplementation.prototype._get = function(type) {
7727 var $this = this; // closure support
7728 return this._listenerMap.putIfAbsent$2(type, (function () {
7729 return new EventListenerListImplementation($this._ptr, type);
7730 })
7731 );
7732 }
7733 // ********** Code for ElementEventsImplementation **************
7734 $inherits(ElementEventsImplementation, EventsImplementation);
7735 function ElementEventsImplementation() {}
7736 ElementEventsImplementation._wrap$ctor = function(_ptr) {
7737 EventsImplementation._wrap$ctor.call(this, _ptr);
7738 }
7739 ElementEventsImplementation._wrap$ctor.prototype = ElementEventsImplementation.p rototype;
7740 ElementEventsImplementation.prototype.get$click = function() {
7741 return this._get("click");
7742 }
7743 ElementEventsImplementation.prototype.get$touchEnd = function() {
7744 return this._get("touchend");
7745 }
7746 ElementEventsImplementation.prototype.get$touchStart = function() {
7747 return this._get("touchstart");
7748 }
7749 ElementEventsImplementation.prototype.click$0 = function() {
7750 return this.get$click().call$0();
7751 };
7752 // ********** Code for BodyElementEventsImplementation **************
7753 $inherits(BodyElementEventsImplementation, ElementEventsImplementation);
7754 function BodyElementEventsImplementation() {}
7755 BodyElementEventsImplementation._wrap$ctor = function(_ptr) {
7756 ElementEventsImplementation._wrap$ctor.call(this, _ptr);
7757 }
7758 BodyElementEventsImplementation._wrap$ctor.prototype = BodyElementEventsImplemen tation.prototype;
7759 // ********** Code for BodyElementWrappingImplementation **************
7760 $inherits(BodyElementWrappingImplementation, ElementWrappingImplementation);
7761 function BodyElementWrappingImplementation() {}
7762 BodyElementWrappingImplementation._wrap$ctor = function(ptr) {
7763 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
7764 }
7765 BodyElementWrappingImplementation._wrap$ctor.prototype = BodyElementWrappingImpl ementation.prototype;
7766 BodyElementWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
7767 BodyElementWrappingImplementation.prototype.get$on = function() {
7768 if (this._on == null) {
7769 this._on = new BodyElementEventsImplementation._wrap$ctor(this._ptr);
7770 }
7771 return this._on;
7772 }
7773 // ********** Code for CloseEventWrappingImplementation **************
7774 $inherits(CloseEventWrappingImplementation, EventWrappingImplementation);
7775 function CloseEventWrappingImplementation() {}
7776 CloseEventWrappingImplementation._wrap$ctor = function(ptr) {
7777 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7778 }
7779 CloseEventWrappingImplementation._wrap$ctor.prototype = CloseEventWrappingImplem entation.prototype;
7780 // ********** Code for CompositionEventWrappingImplementation **************
7781 $inherits(CompositionEventWrappingImplementation, UIEventWrappingImplementation) ;
7782 function CompositionEventWrappingImplementation() {}
7783 CompositionEventWrappingImplementation._wrap$ctor = function(ptr) {
7784 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
7785 }
7786 CompositionEventWrappingImplementation._wrap$ctor.prototype = CompositionEventWr appingImplementation.prototype;
7787 // ********** Code for _CssClassSet **************
7788 function _CssClassSet(_element) {
7789 this._htmlimpl_element = _element;
7790 }
7791 _CssClassSet.prototype.toString = function() {
7792 return this._formatSet(this._read());
7793 }
7794 _CssClassSet.prototype.iterator = function() {
7795 return this._read().iterator$0();
7796 }
7797 _CssClassSet.prototype.forEach = function(f) {
7798 this._read().forEach(f);
7799 }
7800 _CssClassSet.prototype.filter = function(f) {
7801 return this._read().filter$1(f);
7802 }
7803 _CssClassSet.prototype.get$length = function() {
7804 return this._read().get$length();
7805 }
7806 _CssClassSet.prototype.contains = function(value) {
7807 return this._read().contains(value);
7808 }
7809 _CssClassSet.prototype.add = function(value) {
7810 this._modify((function (s) {
7811 return s.add$1(value);
7812 })
7813 );
7814 }
7815 _CssClassSet.prototype.remove = function(value) {
7816 var s = this._read();
7817 var result = s.remove(value);
7818 this._write(s);
7819 return result;
7820 }
7821 _CssClassSet.prototype.addAll = function(collection) {
7822 this._modify((function (s) {
7823 return s.addAll$1(collection);
7824 })
7825 );
7826 }
7827 _CssClassSet.prototype.clear = function() {
7828 this._modify((function (s) {
7829 return s.clear$0();
7830 })
7831 );
7832 }
7833 _CssClassSet.prototype.get$clear = function() {
7834 return this.clear.bind(this);
7835 }
7836 _CssClassSet.prototype._modify = function(f) {
7837 var s = this._read();
7838 f.call$1(s);
7839 this._write(s);
7840 }
7841 _CssClassSet.prototype._read = function() {
7842 var s = new HashSetImplementation();
7843 var $$list = this._className().split(" ");
7844 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
7845 var name = $$list.$index($$i);
7846 var trimmed = name.trim();
7847 if (!trimmed.isEmpty()) {
7848 s.add(trimmed);
7849 }
7850 }
7851 return s;
7852 }
7853 _CssClassSet.prototype._className = function() {
7854 return this._htmlimpl_element.get$className();
7855 }
7856 _CssClassSet.prototype._write = function(s) {
7857 this._htmlimpl_element.set$className(this._formatSet(s));
7858 }
7859 _CssClassSet.prototype._formatSet = function(s) {
7860 var list = ListFactory.ListFactory$from$factory(s);
7861 return Strings.join(list, " ");
7862 }
7863 _CssClassSet.prototype.add$1 = _CssClassSet.prototype.add;
7864 _CssClassSet.prototype.addAll$1 = _CssClassSet.prototype.addAll;
7865 _CssClassSet.prototype.clear$0 = _CssClassSet.prototype.clear;
7866 _CssClassSet.prototype.filter$1 = function($0) {
7867 return this.filter(to$call$1($0));
7868 };
7869 _CssClassSet.prototype.iterator$0 = _CssClassSet.prototype.iterator;
7870 _CssClassSet.prototype.remove$1 = _CssClassSet.prototype.remove;
7871 _CssClassSet.prototype.toString$0 = _CssClassSet.prototype.toString;
7872 // ********** Code for CSSStyleDeclarationWrappingImplementation **************
7873 $inherits(CSSStyleDeclarationWrappingImplementation, DOMWrapperBase);
7874 function CSSStyleDeclarationWrappingImplementation() {}
7875 CSSStyleDeclarationWrappingImplementation._wrap$ctor = function(ptr) {
7876 DOMWrapperBase._wrap$ctor.call(this, ptr);
7877 }
7878 CSSStyleDeclarationWrappingImplementation._wrap$ctor.prototype = CSSStyleDeclara tionWrappingImplementation.prototype;
7879 CSSStyleDeclarationWrappingImplementation.get$_browserPrefix = function() {
7880 if ($globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix == null) {
7881 if (_Device.get$isFirefox()) {
7882 $globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix = "-moz-";
7883 }
7884 else {
7885 $globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix = "-webkit-";
7886 }
7887 }
7888 return $globals.CSSStyleDeclarationWrappingImplementation__cachedBrowserPrefix ;
7889 }
7890 CSSStyleDeclarationWrappingImplementation.prototype.get$length = function() {
7891 return this._ptr.get$length();
7892 }
7893 CSSStyleDeclarationWrappingImplementation.prototype.getPropertyValue = function( propertyName) {
7894 return this._ptr.getPropertyValue$1(propertyName);
7895 }
7896 CSSStyleDeclarationWrappingImplementation.prototype.item = function(index) {
7897 return this._ptr.item$1(index);
7898 }
7899 CSSStyleDeclarationWrappingImplementation.prototype.setProperty = function(prope rtyName, value, priority) {
7900 this._ptr.setProperty$3(propertyName, ("" + value), priority);
7901 }
7902 CSSStyleDeclarationWrappingImplementation.prototype.get$typeName = function() {
7903 return "CSSStyleDeclaration";
7904 }
7905 CSSStyleDeclarationWrappingImplementation.prototype.get$clear = function() {
7906 return this.getPropertyValue("clear");
7907 }
7908 CSSStyleDeclarationWrappingImplementation.prototype.get$filter = function() {
7909 return this.getPropertyValue(("" + CSSStyleDeclarationWrappingImplementation.g et$_browserPrefix() + "filter"));
7910 }
7911 CSSStyleDeclarationWrappingImplementation.prototype.set$transform = function(val ue) {
7912 this.setProperty(("" + CSSStyleDeclarationWrappingImplementation.get$_browserP refix() + "transform"), value, "");
7913 }
7914 CSSStyleDeclarationWrappingImplementation.prototype.set$transformOrigin = functi on(value) {
7915 this.setProperty(("" + CSSStyleDeclarationWrappingImplementation.get$_browserP refix() + "transform-origin"), value, "");
7916 }
7917 CSSStyleDeclarationWrappingImplementation.prototype.set$transitionDuration = fun ction(value) {
7918 this.setProperty(("" + CSSStyleDeclarationWrappingImplementation.get$_browserP refix() + "transition-duration"), value, "");
7919 }
7920 CSSStyleDeclarationWrappingImplementation.prototype.clear$0 = function() {
7921 return this.get$clear().call$0();
7922 };
7923 CSSStyleDeclarationWrappingImplementation.prototype.filter$1 = function($0) {
7924 return this.get$filter().call$1($0);
7925 };
7926 CSSStyleDeclarationWrappingImplementation.prototype.getPropertyValue$1 = CSSStyl eDeclarationWrappingImplementation.prototype.getPropertyValue;
7927 CSSStyleDeclarationWrappingImplementation.prototype.item$1 = CSSStyleDeclaration WrappingImplementation.prototype.item;
7928 CSSStyleDeclarationWrappingImplementation.prototype.setProperty$3 = CSSStyleDecl arationWrappingImplementation.prototype.setProperty;
7929 // ********** Code for CustomEventWrappingImplementation **************
7930 $inherits(CustomEventWrappingImplementation, EventWrappingImplementation);
7931 function CustomEventWrappingImplementation() {}
7932 CustomEventWrappingImplementation._wrap$ctor = function(ptr) {
7933 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7934 }
7935 CustomEventWrappingImplementation._wrap$ctor.prototype = CustomEventWrappingImpl ementation.prototype;
7936 // ********** Code for _Device **************
7937 function _Device() {}
7938 _Device.get$userAgent = function() {
7939 return get$window().navigator.userAgent;
7940 }
7941 _Device.get$isFirefox = function() {
7942 return _Device.get$userAgent().contains("Firefox", (0));
7943 }
7944 // ********** Code for DeviceMotionEventWrappingImplementation **************
7945 $inherits(DeviceMotionEventWrappingImplementation, EventWrappingImplementation);
7946 function DeviceMotionEventWrappingImplementation() {}
7947 DeviceMotionEventWrappingImplementation._wrap$ctor = function(ptr) {
7948 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7949 }
7950 DeviceMotionEventWrappingImplementation._wrap$ctor.prototype = DeviceMotionEvent WrappingImplementation.prototype;
7951 // ********** Code for DeviceOrientationEventWrappingImplementation ************ **
7952 $inherits(DeviceOrientationEventWrappingImplementation, EventWrappingImplementat ion);
7953 function DeviceOrientationEventWrappingImplementation() {}
7954 DeviceOrientationEventWrappingImplementation._wrap$ctor = function(ptr) {
7955 EventWrappingImplementation._wrap$ctor.call(this, ptr);
7956 }
7957 DeviceOrientationEventWrappingImplementation._wrap$ctor.prototype = DeviceOrient ationEventWrappingImplementation.prototype;
7958 // ********** Code for FilteredElementList **************
7959 function FilteredElementList(node) {
7960 this._htmlimpl_node = node;
7961 this._childNodes = node.get$nodes();
7962 }
7963 FilteredElementList.prototype.get$_filtered = function() {
7964 return ListFactory.ListFactory$from$factory(this._childNodes.filter$1((functio n (n) {
7965 return !!(n && n.is$html_html_Element());
7966 })
7967 ));
7968 }
7969 FilteredElementList.prototype.get$first = function() {
7970 var $$list = this._childNodes;
7971 for (var $$i = $$list.iterator$0(); $$i.hasNext$0(); ) {
7972 var node = $$i.next$0();
7973 if (!!(node && node.is$html_html_Element())) {
7974 return node;
7975 }
7976 }
7977 return null;
7978 }
7979 FilteredElementList.prototype.forEach = function(f) {
7980 this.get$_filtered().forEach(f);
7981 }
7982 FilteredElementList.prototype.$setindex = function(index, value) {
7983 this.$index(index).replaceWith(value);
7984 }
7985 FilteredElementList.prototype.add = function(value) {
7986 this._childNodes.add$1(value);
7987 }
7988 FilteredElementList.prototype.get$add = function() {
7989 return this.add.bind(this);
7990 }
7991 FilteredElementList.prototype.addAll = function(collection) {
7992 collection.forEach(this.get$add());
7993 }
7994 FilteredElementList.prototype.clear = function() {
7995 this._childNodes.clear$0();
7996 }
7997 FilteredElementList.prototype.get$clear = function() {
7998 return this.clear.bind(this);
7999 }
8000 FilteredElementList.prototype.removeLast = function() {
8001 var last = this.last();
8002 if (last != null) {
8003 last.remove$0();
8004 }
8005 return last;
8006 }
8007 FilteredElementList.prototype.filter = function(f) {
8008 return this.get$_filtered().filter$1(f);
8009 }
8010 FilteredElementList.prototype.get$length = function() {
8011 return this.get$_filtered().get$length();
8012 }
8013 FilteredElementList.prototype.$index = function(index) {
8014 return this.get$_filtered().$index(index);
8015 }
8016 FilteredElementList.prototype.iterator = function() {
8017 return this.get$_filtered().iterator$0();
8018 }
8019 FilteredElementList.prototype.last = function() {
8020 return this.get$_filtered().last$0();
8021 }
8022 FilteredElementList.prototype.add$1 = FilteredElementList.prototype.add;
8023 FilteredElementList.prototype.addAll$1 = FilteredElementList.prototype.addAll;
8024 FilteredElementList.prototype.clear$0 = FilteredElementList.prototype.clear;
8025 FilteredElementList.prototype.filter$1 = function($0) {
8026 return this.filter(to$call$1($0));
8027 };
8028 FilteredElementList.prototype.iterator$0 = FilteredElementList.prototype.iterato r;
8029 FilteredElementList.prototype.last$0 = FilteredElementList.prototype.last;
8030 FilteredElementList.prototype.removeLast$0 = FilteredElementList.prototype.remov eLast;
8031 // ********** Code for EmptyStyleDeclaration **************
8032 $inherits(EmptyStyleDeclaration, CSSStyleDeclarationWrappingImplementation);
8033 function EmptyStyleDeclaration() {
8034 CSSStyleDeclarationWrappingImplementation._wrap$ctor.call(this, get$document() .createElement("div").style);
8035 }
8036 EmptyStyleDeclaration.prototype.setProperty = function(propertyName, value, prio rity) {
8037 $throw(new UnsupportedOperationException("Can't modify a frozen style declarat ion."));
8038 }
8039 EmptyStyleDeclaration.prototype.setProperty$3 = EmptyStyleDeclaration.prototype. setProperty;
8040 // ********** Code for EmptyElementRect **************
8041 function EmptyElementRect() {
8042 this.client = const$0010;
8043 this.scroll = const$0010;
8044 this.bounding = const$0010;
8045 this.clientRects = const$0011;
8046 this.offset = const$0010;
8047 }
8048 // ********** Code for DocumentFragmentWrappingImplementation **************
8049 $inherits(DocumentFragmentWrappingImplementation, NodeWrappingImplementation);
8050 function DocumentFragmentWrappingImplementation() {}
8051 DocumentFragmentWrappingImplementation._wrap$ctor = function(ptr) {
8052 NodeWrappingImplementation._wrap$ctor.call(this, ptr);
8053 }
8054 DocumentFragmentWrappingImplementation._wrap$ctor.prototype = DocumentFragmentWr appingImplementation.prototype;
8055 DocumentFragmentWrappingImplementation.prototype.is$html_html_Element = function (){return true};
8056 DocumentFragmentWrappingImplementation.prototype.get$elements = function() {
8057 if (this._elements == null) {
8058 this._elements = new FilteredElementList(this);
8059 }
8060 return this._elements;
8061 }
8062 DocumentFragmentWrappingImplementation.prototype.set$innerHTML = function(value) {
8063 this.get$nodes().clear$0();
8064 var e = ElementWrappingImplementation.ElementWrappingImplementation$tag$factor y("div");
8065 e.set$innerHTML(value);
8066 var nodes = ListFactory.ListFactory$from$factory(e.get$nodes());
8067 this.get$nodes().addAll(nodes);
8068 }
8069 DocumentFragmentWrappingImplementation.prototype.get$on = function() {
8070 if (this._on == null) {
8071 this._on = new ElementEventsImplementation._wrap$ctor(this._ptr);
8072 }
8073 return this._on;
8074 }
8075 DocumentFragmentWrappingImplementation.prototype.get$rect = function() {
8076 return _createMeasurementFuture((function () {
8077 return const$0012;
8078 })
8079 , new CompleterImpl());
8080 }
8081 DocumentFragmentWrappingImplementation.prototype.query = function(selectors) {
8082 return LevelDom.wrapElement(this._ptr.querySelector$1(selectors));
8083 }
8084 DocumentFragmentWrappingImplementation.prototype.queryAll = function(selectors) {
8085 return LevelDom.wrapElementList(this._ptr.querySelectorAll$1(selectors));
8086 }
8087 DocumentFragmentWrappingImplementation.prototype.get$firstElementChild = functio n() {
8088 return this.get$elements().get$first().call$0();
8089 }
8090 DocumentFragmentWrappingImplementation.prototype.get$lastElementChild = function () {
8091 return this.get$elements().last$0();
8092 }
8093 DocumentFragmentWrappingImplementation.prototype.get$nextElementSibling = functi on() {
8094 return null;
8095 }
8096 DocumentFragmentWrappingImplementation.prototype.get$previousElementSibling = fu nction() {
8097 return null;
8098 }
8099 DocumentFragmentWrappingImplementation.prototype.get$parent = function() {
8100 return null;
8101 }
8102 DocumentFragmentWrappingImplementation.prototype.get$classes = function() {
8103 return new HashSetImplementation();
8104 }
8105 DocumentFragmentWrappingImplementation.prototype.get$style = function() {
8106 return new EmptyStyleDeclaration();
8107 }
8108 // ********** Code for DocumentEventsImplementation **************
8109 $inherits(DocumentEventsImplementation, ElementEventsImplementation);
8110 function DocumentEventsImplementation() {}
8111 DocumentEventsImplementation._wrap$ctor = function(_ptr) {
8112 ElementEventsImplementation._wrap$ctor.call(this, _ptr);
8113 }
8114 DocumentEventsImplementation._wrap$ctor.prototype = DocumentEventsImplementation .prototype;
8115 // ********** Code for DocumentWrappingImplementation **************
8116 $inherits(DocumentWrappingImplementation, ElementWrappingImplementation);
8117 function DocumentWrappingImplementation() {}
8118 DocumentWrappingImplementation._wrap$ctor = function(_documentPtr, ptr) {
8119 this._documentPtr = _documentPtr;
8120 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
8121 this._documentPtr.get$dynamic().set$dartObjectLocalStorage(this);
8122 }
8123 DocumentWrappingImplementation._wrap$ctor.prototype = DocumentWrappingImplementa tion.prototype;
8124 DocumentWrappingImplementation.prototype.is$html_html_Element = function(){retur n true};
8125 DocumentWrappingImplementation.prototype.get$parent = function() {
8126 return null;
8127 }
8128 DocumentWrappingImplementation.prototype.get$readyState = function() {
8129 return this._documentPtr.get$readyState();
8130 }
8131 DocumentWrappingImplementation.prototype.get$on = function() {
8132 if (this._on == null) {
8133 this._on = new DocumentEventsImplementation._wrap$ctor(this._documentPtr);
8134 }
8135 return this._on;
8136 }
8137 // ********** Code for DOMApplicationCacheWrappingImplementation **************
8138 $inherits(DOMApplicationCacheWrappingImplementation, EventTargetWrappingImplemen tation);
8139 function DOMApplicationCacheWrappingImplementation() {}
8140 DOMApplicationCacheWrappingImplementation._wrap$ctor = function(ptr) {
8141 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8142 }
8143 DOMApplicationCacheWrappingImplementation._wrap$ctor.prototype = DOMApplicationC acheWrappingImplementation.prototype;
8144 // ********** Code for _ChildrenElementList **************
8145 function _ChildrenElementList() {}
8146 _ChildrenElementList._wrap$ctor = function(element) {
8147 this._childElements = element.get$children();
8148 this._element = element;
8149 }
8150 _ChildrenElementList._wrap$ctor.prototype = _ChildrenElementList.prototype;
8151 _ChildrenElementList.prototype._toList = function() {
8152 var output = new Array(this._childElements.get$length());
8153 for (var i = (0), len = this._childElements.get$length();
8154 i < len; i++) {
8155 output.$setindex(i, LevelDom.wrapElement(this._childElements.$index(i)));
8156 }
8157 return output;
8158 }
8159 _ChildrenElementList.prototype.get$first = function() {
8160 return LevelDom.wrapElement(this._element.get$firstElementChild());
8161 }
8162 _ChildrenElementList.prototype.forEach = function(f) {
8163 return this._toList().forEach(f);
8164 }
8165 _ChildrenElementList.prototype.filter = function(f) {
8166 return this._toList().filter$1(f);
8167 }
8168 _ChildrenElementList.prototype.get$length = function() {
8169 return this._childElements.get$length();
8170 }
8171 _ChildrenElementList.prototype.$index = function(index) {
8172 return LevelDom.wrapElement(this._childElements.$index(index));
8173 }
8174 _ChildrenElementList.prototype.$setindex = function(index, value) {
8175 this._element.replaceChild$2(LevelDom.unwrap(value), this._childElements.item$ 1(index));
8176 }
8177 _ChildrenElementList.prototype.add = function(value) {
8178 this._element.appendChild$1(LevelDom.unwrap(value));
8179 return value;
8180 }
8181 _ChildrenElementList.prototype.iterator = function() {
8182 return this._toList().iterator$0();
8183 }
8184 _ChildrenElementList.prototype.addAll = function(collection) {
8185 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
8186 var element = $$i.next$0();
8187 this._element.appendChild$1(LevelDom.unwrap(element));
8188 }
8189 }
8190 _ChildrenElementList.prototype.clear = function() {
8191 this._element.set$textContent("");
8192 }
8193 _ChildrenElementList.prototype.get$clear = function() {
8194 return this.clear.bind(this);
8195 }
8196 _ChildrenElementList.prototype.removeLast = function() {
8197 var last = this.last();
8198 if (last != null) {
8199 this._element.removeChild$1(LevelDom.unwrap(last));
8200 }
8201 return last;
8202 }
8203 _ChildrenElementList.prototype.last = function() {
8204 return LevelDom.wrapElement(this._element.get$lastElementChild());
8205 }
8206 _ChildrenElementList.prototype.add$1 = _ChildrenElementList.prototype.add;
8207 _ChildrenElementList.prototype.addAll$1 = _ChildrenElementList.prototype.addAll;
8208 _ChildrenElementList.prototype.clear$0 = _ChildrenElementList.prototype.clear;
8209 _ChildrenElementList.prototype.filter$1 = function($0) {
8210 return this.filter(to$call$1($0));
8211 };
8212 _ChildrenElementList.prototype.iterator$0 = _ChildrenElementList.prototype.itera tor;
8213 _ChildrenElementList.prototype.last$0 = _ChildrenElementList.prototype.last;
8214 _ChildrenElementList.prototype.removeLast$0 = _ChildrenElementList.prototype.rem oveLast;
8215 // ********** Code for FrozenElementList **************
8216 function FrozenElementList() {}
8217 FrozenElementList._wrap$ctor = function(_ptr) {
8218 this._ptr = _ptr;
8219 }
8220 FrozenElementList._wrap$ctor.prototype = FrozenElementList.prototype;
8221 FrozenElementList.prototype.get$_ptr = function() { return this._ptr; };
8222 FrozenElementList.prototype.get$first = function() {
8223 return this.$index((0));
8224 }
8225 FrozenElementList.prototype.forEach = function(f) {
8226 var length = this._ptr.get$length();
8227 for (var i = (0);
8228 i < length; i = $add(i, (1))) {
8229 f.call$1(LevelDom.wrapElement(this._ptr.$index(i)));
8230 }
8231 }
8232 FrozenElementList.prototype.filter = function(f) {
8233 $throw("Not implemented yet.");
8234 }
8235 FrozenElementList.prototype.get$length = function() {
8236 return this._ptr.get$length();
8237 }
8238 FrozenElementList.prototype.$index = function(index) {
8239 return LevelDom.wrapElement(this._ptr.$index(index));
8240 }
8241 FrozenElementList.prototype.$setindex = function(index, value) {
8242 $throw(const$0007);
8243 }
8244 FrozenElementList.prototype.add = function(value) {
8245 $throw(const$0007);
8246 }
8247 FrozenElementList.prototype.iterator = function() {
8248 return new FrozenElementListIterator(this);
8249 }
8250 FrozenElementList.prototype.addAll = function(collection) {
8251 $throw(const$0007);
8252 }
8253 FrozenElementList.prototype.clear = function() {
8254 $throw("Not impl yet. todo(jacobr)");
8255 }
8256 FrozenElementList.prototype.get$clear = function() {
8257 return this.clear.bind(this);
8258 }
8259 FrozenElementList.prototype.removeLast = function() {
8260 $throw("Not impl yet. todo(jacobr)");
8261 }
8262 FrozenElementList.prototype.last = function() {
8263 return this.$index(this.get$length() - (1));
8264 }
8265 FrozenElementList.prototype.add$1 = FrozenElementList.prototype.add;
8266 FrozenElementList.prototype.addAll$1 = FrozenElementList.prototype.addAll;
8267 FrozenElementList.prototype.clear$0 = FrozenElementList.prototype.clear;
8268 FrozenElementList.prototype.filter$1 = function($0) {
8269 return this.filter(to$call$1($0));
8270 };
8271 FrozenElementList.prototype.iterator$0 = FrozenElementList.prototype.iterator;
8272 FrozenElementList.prototype.last$0 = FrozenElementList.prototype.last;
8273 FrozenElementList.prototype.removeLast$0 = FrozenElementList.prototype.removeLas t;
8274 // ********** Code for FrozenElementListIterator **************
8275 function FrozenElementListIterator(_list) {
8276 this._htmlimpl_index = (0);
8277 this._list = _list;
8278 }
8279 FrozenElementListIterator.prototype.next = function() {
8280 if (!this.hasNext()) {
8281 $throw(const$0002);
8282 }
8283 return this._list.$index(this._htmlimpl_index++);
8284 }
8285 FrozenElementListIterator.prototype.hasNext = function() {
8286 return this._htmlimpl_index < this._list.get$length();
8287 }
8288 FrozenElementListIterator.prototype.hasNext$0 = FrozenElementListIterator.protot ype.hasNext;
8289 FrozenElementListIterator.prototype.next$0 = FrozenElementListIterator.prototype .next;
8290 // ********** Code for SimpleClientRect **************
8291 function SimpleClientRect(left, top, width, height) {
8292 this.left = left;
8293 this.top = top;
8294 this.width = width;
8295 this.height = height;
8296 }
8297 SimpleClientRect.prototype.get$left = function() { return this.left; };
8298 SimpleClientRect.prototype.get$top = function() { return this.top; };
8299 SimpleClientRect.prototype.get$width = function() { return this.width; };
8300 SimpleClientRect.prototype.get$height = function() { return this.height; };
8301 SimpleClientRect.prototype.$eq = function(other) {
8302 return other != null && this.left == other.get$left() && this.top == other.get $top() && this.width == other.get$width() && this.height == other.get$height();
8303 }
8304 SimpleClientRect.prototype.toString = function() {
8305 return ("(" + this.left + ", " + this.top + ", " + this.width + ", " + this.he ight + ")");
8306 }
8307 SimpleClientRect.prototype.toString$0 = SimpleClientRect.prototype.toString;
8308 // ********** Code for ElementRectWrappingImplementation **************
8309 function ElementRectWrappingImplementation(element) {
8310 this.client = new SimpleClientRect(element.clientLeft, element.clientTop, elem ent.clientWidth, element.clientHeight);
8311 this.scroll = new SimpleClientRect(element.scrollLeft, element.scrollTop, elem ent.scrollWidth, element.scrollHeight);
8312 this._clientRects = element.getClientRects();
8313 this.offset = new SimpleClientRect(element.offsetLeft, element.offsetTop, elem ent.offsetWidth, element.offsetHeight);
8314 this._boundingClientRect = element.getBoundingClientRect();
8315 }
8316 // ********** Code for ErrorEventWrappingImplementation **************
8317 $inherits(ErrorEventWrappingImplementation, EventWrappingImplementation);
8318 function ErrorEventWrappingImplementation() {}
8319 ErrorEventWrappingImplementation._wrap$ctor = function(ptr) {
8320 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8321 }
8322 ErrorEventWrappingImplementation._wrap$ctor.prototype = ErrorEventWrappingImplem entation.prototype;
8323 // ********** Code for EventSourceWrappingImplementation **************
8324 $inherits(EventSourceWrappingImplementation, EventTargetWrappingImplementation);
8325 function EventSourceWrappingImplementation() {}
8326 EventSourceWrappingImplementation._wrap$ctor = function(ptr) {
8327 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8328 }
8329 EventSourceWrappingImplementation._wrap$ctor.prototype = EventSourceWrappingImpl ementation.prototype;
8330 EventSourceWrappingImplementation.prototype.get$readyState = function() {
8331 return this._ptr.get$readyState();
8332 }
8333 // ********** Code for _EventListenerWrapper **************
8334 function _EventListenerWrapper(raw, wrapped, useCapture) {
8335 this.wrapped = wrapped;
8336 this.useCapture = useCapture;
8337 this.raw = raw;
8338 }
8339 // ********** Code for EventListenerListImplementation **************
8340 function EventListenerListImplementation(_ptr, _type) {
8341 this._ptr = _ptr;
8342 this._type = _type;
8343 this._wrappers = new Array();
8344 }
8345 EventListenerListImplementation.prototype.get$_ptr = function() { return this._p tr; };
8346 EventListenerListImplementation.prototype.add = function(listener, useCapture) {
8347 this._htmlimpl_add(listener, useCapture);
8348 return this;
8349 }
8350 EventListenerListImplementation.prototype.remove = function(listener, useCapture ) {
8351 this._htmlimpl_remove(listener, useCapture);
8352 return this;
8353 }
8354 EventListenerListImplementation.prototype._htmlimpl_add = function(listener, use Capture) {
8355 this._ptr.addEventListener$3(this._type, this._findOrAddWrapper(listener, useC apture), useCapture);
8356 }
8357 EventListenerListImplementation.prototype._htmlimpl_remove = function(listener, useCapture) {
8358 var wrapper = this._removeWrapper(listener, useCapture);
8359 if (wrapper != null) {
8360 this._ptr.removeEventListener$3(this._type, wrapper, useCapture);
8361 }
8362 }
8363 EventListenerListImplementation.prototype._removeWrapper = function(listener, us eCapture) {
8364 if (this._wrappers == null) {
8365 return null;
8366 }
8367 for (var i = (0);
8368 i < this._wrappers.get$length(); i++) {
8369 var wrapper = this._wrappers.$index(i);
8370 if (wrapper.raw == listener && $eq(wrapper.useCapture, useCapture)) {
8371 if (i + (1) != this._wrappers.get$length()) {
8372 this._wrappers.$setindex(i, this._wrappers.removeLast$0());
8373 }
8374 else {
8375 this._wrappers.removeLast$0();
8376 }
8377 return wrapper.wrapped;
8378 }
8379 }
8380 return null;
8381 }
8382 EventListenerListImplementation.prototype._findOrAddWrapper = function(listener, useCapture) {
8383 if (this._wrappers == null) {
8384 this._wrappers = [];
8385 }
8386 else {
8387 var $$list = this._wrappers;
8388 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
8389 var wrapper = $$list.$index($$i);
8390 if (wrapper.raw == listener && $eq(wrapper.useCapture, useCapture)) {
8391 return wrapper.wrapped;
8392 }
8393 }
8394 }
8395 var wrapped = (function (e) {
8396 listener.call$1(LevelDom.wrapEvent(e));
8397 })
8398 ;
8399 this._wrappers.add$1(new _EventListenerWrapper(listener, wrapped, useCapture)) ;
8400 return wrapped;
8401 }
8402 EventListenerListImplementation.prototype.add$1 = function($0) {
8403 return this.add(to$call$1($0), false);
8404 };
8405 EventListenerListImplementation.prototype.remove$1 = function($0) {
8406 return this.remove(to$call$1($0), false);
8407 };
8408 // ********** Code for HashChangeEventWrappingImplementation **************
8409 $inherits(HashChangeEventWrappingImplementation, EventWrappingImplementation);
8410 function HashChangeEventWrappingImplementation() {}
8411 HashChangeEventWrappingImplementation._wrap$ctor = function(ptr) {
8412 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8413 }
8414 HashChangeEventWrappingImplementation._wrap$ctor.prototype = HashChangeEventWrap pingImplementation.prototype;
8415 // ********** Code for KeyboardEventWrappingImplementation **************
8416 $inherits(KeyboardEventWrappingImplementation, UIEventWrappingImplementation);
8417 function KeyboardEventWrappingImplementation() {}
8418 KeyboardEventWrappingImplementation._wrap$ctor = function(ptr) {
8419 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8420 }
8421 KeyboardEventWrappingImplementation._wrap$ctor.prototype = KeyboardEventWrapping Implementation.prototype;
8422 // ********** Code for _MeasurementRequest **************
8423 function _MeasurementRequest(computeValue, completer) {
8424 this.computeValue = computeValue;
8425 this.exception = false;
8426 this.completer = completer;
8427 }
8428 _MeasurementRequest.prototype.get$value = function() { return this.value; };
8429 _MeasurementRequest.prototype.set$value = function(value) { return this.value = value; };
8430 // ********** Code for MessageEventWrappingImplementation **************
8431 $inherits(MessageEventWrappingImplementation, EventWrappingImplementation);
8432 function MessageEventWrappingImplementation() {}
8433 MessageEventWrappingImplementation._wrap$ctor = function(ptr) {
8434 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8435 }
8436 MessageEventWrappingImplementation._wrap$ctor.prototype = MessageEventWrappingIm plementation.prototype;
8437 // ********** Code for MessagePortWrappingImplementation **************
8438 $inherits(MessagePortWrappingImplementation, EventTargetWrappingImplementation);
8439 function MessagePortWrappingImplementation() {}
8440 MessagePortWrappingImplementation._wrap$ctor = function(ptr) {
8441 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8442 }
8443 MessagePortWrappingImplementation._wrap$ctor.prototype = MessagePortWrappingImpl ementation.prototype;
8444 // ********** Code for MouseEventWrappingImplementation **************
8445 $inherits(MouseEventWrappingImplementation, UIEventWrappingImplementation);
8446 function MouseEventWrappingImplementation() {}
8447 MouseEventWrappingImplementation._wrap$ctor = function(ptr) {
8448 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8449 }
8450 MouseEventWrappingImplementation._wrap$ctor.prototype = MouseEventWrappingImplem entation.prototype;
8451 // ********** Code for MutationEventWrappingImplementation **************
8452 $inherits(MutationEventWrappingImplementation, EventWrappingImplementation);
8453 function MutationEventWrappingImplementation() {}
8454 MutationEventWrappingImplementation._wrap$ctor = function(ptr) {
8455 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8456 }
8457 MutationEventWrappingImplementation._wrap$ctor.prototype = MutationEventWrapping Implementation.prototype;
8458 // ********** Code for _ChildrenNodeList **************
8459 function _ChildrenNodeList() {}
8460 _ChildrenNodeList._wrap$ctor = function(node) {
8461 this._node = node;
8462 this._childNodes = node.get$childNodes();
8463 }
8464 _ChildrenNodeList._wrap$ctor.prototype = _ChildrenNodeList.prototype;
8465 _ChildrenNodeList.prototype._toList = function() {
8466 var output = new Array(this._childNodes.get$length());
8467 for (var i = (0), len = this._childNodes.get$length();
8468 i < len; i++) {
8469 output.$setindex(i, LevelDom.wrapNode(this._childNodes.$index(i)));
8470 }
8471 return output;
8472 }
8473 _ChildrenNodeList.prototype.get$first = function() {
8474 return LevelDom.wrapNode(this._node.get$firstChild());
8475 }
8476 _ChildrenNodeList.prototype.forEach = function(f) {
8477 return this._toList().forEach(f);
8478 }
8479 _ChildrenNodeList.prototype.filter = function(f) {
8480 return this._toList().filter$1(f);
8481 }
8482 _ChildrenNodeList.prototype.get$length = function() {
8483 return this._childNodes.get$length();
8484 }
8485 _ChildrenNodeList.prototype.$index = function(index) {
8486 return LevelDom.wrapNode(this._childNodes.$index(index));
8487 }
8488 _ChildrenNodeList.prototype.$setindex = function(index, value) {
8489 this._node.replaceChild$2(LevelDom.unwrap(value), this._childNodes.$index(inde x));
8490 }
8491 _ChildrenNodeList.prototype.add = function(value) {
8492 this._node.appendChild$1(LevelDom.unwrap(value));
8493 return value;
8494 }
8495 _ChildrenNodeList.prototype.iterator = function() {
8496 return this._toList().iterator$0();
8497 }
8498 _ChildrenNodeList.prototype.addAll = function(collection) {
8499 for (var $$i = collection.iterator$0(); $$i.hasNext$0(); ) {
8500 var node = $$i.next$0();
8501 this._node.appendChild$1(LevelDom.unwrap(node));
8502 }
8503 }
8504 _ChildrenNodeList.prototype.clear = function() {
8505 this._node.set$textContent("");
8506 }
8507 _ChildrenNodeList.prototype.get$clear = function() {
8508 return this.clear.bind(this);
8509 }
8510 _ChildrenNodeList.prototype.removeLast = function() {
8511 var last = this.last();
8512 if (last != null) {
8513 this._node.removeChild$1(LevelDom.unwrap(last));
8514 }
8515 return last;
8516 }
8517 _ChildrenNodeList.prototype.last = function() {
8518 return LevelDom.wrapNode(this._node.get$lastChild());
8519 }
8520 _ChildrenNodeList.prototype.add$1 = _ChildrenNodeList.prototype.add;
8521 _ChildrenNodeList.prototype.addAll$1 = _ChildrenNodeList.prototype.addAll;
8522 _ChildrenNodeList.prototype.clear$0 = _ChildrenNodeList.prototype.clear;
8523 _ChildrenNodeList.prototype.filter$1 = function($0) {
8524 return this.filter(to$call$1($0));
8525 };
8526 _ChildrenNodeList.prototype.iterator$0 = _ChildrenNodeList.prototype.iterator;
8527 _ChildrenNodeList.prototype.last$0 = _ChildrenNodeList.prototype.last;
8528 _ChildrenNodeList.prototype.removeLast$0 = _ChildrenNodeList.prototype.removeLas t;
8529 // ********** Code for NotificationWrappingImplementation **************
8530 $inherits(NotificationWrappingImplementation, EventTargetWrappingImplementation) ;
8531 function NotificationWrappingImplementation() {}
8532 NotificationWrappingImplementation._wrap$ctor = function(ptr) {
8533 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8534 }
8535 NotificationWrappingImplementation._wrap$ctor.prototype = NotificationWrappingIm plementation.prototype;
8536 NotificationWrappingImplementation.prototype.get$typeName = function() {
8537 return "Notification";
8538 }
8539 // ********** Code for ObjectElementWrappingImplementation **************
8540 $inherits(ObjectElementWrappingImplementation, ElementWrappingImplementation);
8541 function ObjectElementWrappingImplementation() {}
8542 ObjectElementWrappingImplementation._wrap$ctor = function(ptr) {
8543 ElementWrappingImplementation._wrap$ctor.call(this, ptr);
8544 }
8545 ObjectElementWrappingImplementation._wrap$ctor.prototype = ObjectElementWrapping Implementation.prototype;
8546 ObjectElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
8547 // ********** Code for OverflowEventWrappingImplementation **************
8548 $inherits(OverflowEventWrappingImplementation, EventWrappingImplementation);
8549 function OverflowEventWrappingImplementation() {}
8550 OverflowEventWrappingImplementation._wrap$ctor = function(ptr) {
8551 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8552 }
8553 OverflowEventWrappingImplementation._wrap$ctor.prototype = OverflowEventWrapping Implementation.prototype;
8554 // ********** Code for PageTransitionEventWrappingImplementation **************
8555 $inherits(PageTransitionEventWrappingImplementation, EventWrappingImplementation );
8556 function PageTransitionEventWrappingImplementation() {}
8557 PageTransitionEventWrappingImplementation._wrap$ctor = function(ptr) {
8558 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8559 }
8560 PageTransitionEventWrappingImplementation._wrap$ctor.prototype = PageTransitionE ventWrappingImplementation.prototype;
8561 // ********** Code for PopStateEventWrappingImplementation **************
8562 $inherits(PopStateEventWrappingImplementation, EventWrappingImplementation);
8563 function PopStateEventWrappingImplementation() {}
8564 PopStateEventWrappingImplementation._wrap$ctor = function(ptr) {
8565 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8566 }
8567 PopStateEventWrappingImplementation._wrap$ctor.prototype = PopStateEventWrapping Implementation.prototype;
8568 // ********** Code for ProgressEventWrappingImplementation **************
8569 $inherits(ProgressEventWrappingImplementation, EventWrappingImplementation);
8570 function ProgressEventWrappingImplementation() {}
8571 ProgressEventWrappingImplementation._wrap$ctor = function(ptr) {
8572 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8573 }
8574 ProgressEventWrappingImplementation._wrap$ctor.prototype = ProgressEventWrapping Implementation.prototype;
8575 // ********** Code for SharedWorkerWrappingImplementation **************
8576 $inherits(SharedWorkerWrappingImplementation, AbstractWorkerWrappingImplementati on);
8577 function SharedWorkerWrappingImplementation() {}
8578 SharedWorkerWrappingImplementation._wrap$ctor = function(ptr) {
8579 AbstractWorkerWrappingImplementation._wrap$ctor.call(this, ptr);
8580 }
8581 SharedWorkerWrappingImplementation._wrap$ctor.prototype = SharedWorkerWrappingIm plementation.prototype;
8582 // ********** Code for StorageEventWrappingImplementation **************
8583 $inherits(StorageEventWrappingImplementation, EventWrappingImplementation);
8584 function StorageEventWrappingImplementation() {}
8585 StorageEventWrappingImplementation._wrap$ctor = function(ptr) {
8586 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8587 }
8588 StorageEventWrappingImplementation._wrap$ctor.prototype = StorageEventWrappingIm plementation.prototype;
8589 // ********** Code for SVGDocumentWrappingImplementation **************
8590 $inherits(SVGDocumentWrappingImplementation, DocumentWrappingImplementation);
8591 function SVGDocumentWrappingImplementation() {}
8592 SVGDocumentWrappingImplementation._wrap$ctor = function(ptr) {
8593 DocumentWrappingImplementation._wrap$ctor.call(this, ptr, ptr.rootElement);
8594 }
8595 SVGDocumentWrappingImplementation._wrap$ctor.prototype = SVGDocumentWrappingImpl ementation.prototype;
8596 SVGDocumentWrappingImplementation.prototype.is$html_html_Element = function(){re turn true};
8597 // ********** Code for _SVGClassSet **************
8598 $inherits(_SVGClassSet, _CssClassSet);
8599 function _SVGClassSet(element) {
8600 _CssClassSet.call(this, element);
8601 }
8602 _SVGClassSet.prototype._className = function() {
8603 return this._htmlimpl_element.get$className().get$baseVal();
8604 }
8605 _SVGClassSet.prototype._write = function(s) {
8606 this._htmlimpl_element.get$className().set$baseVal(this._formatSet(s));
8607 }
8608 // ********** Code for SVGElementInstanceWrappingImplementation **************
8609 $inherits(SVGElementInstanceWrappingImplementation, EventTargetWrappingImplement ation);
8610 function SVGElementInstanceWrappingImplementation() {}
8611 SVGElementInstanceWrappingImplementation._wrap$ctor = function(ptr) {
8612 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8613 }
8614 SVGElementInstanceWrappingImplementation._wrap$ctor.prototype = SVGElementInstan ceWrappingImplementation.prototype;
8615 SVGElementInstanceWrappingImplementation.prototype.get$childNodes = function() {
8616 return LevelDom.wrapSVGElementInstanceList(this._ptr.get$childNodes());
8617 }
8618 SVGElementInstanceWrappingImplementation.prototype.get$firstChild = function() {
8619 return LevelDom.wrapSVGElementInstance(this._ptr.get$firstChild());
8620 }
8621 SVGElementInstanceWrappingImplementation.prototype.get$lastChild = function() {
8622 return LevelDom.wrapSVGElementInstance(this._ptr.get$lastChild());
8623 }
8624 SVGElementInstanceWrappingImplementation.prototype.get$parentNode = function() {
8625 return LevelDom.wrapSVGElementInstance(this._ptr.get$parentNode());
8626 }
8627 // ********** Code for SVGSVGElementWrappingImplementation **************
8628 $inherits(SVGSVGElementWrappingImplementation, SVGElementWrappingImplementation) ;
8629 function SVGSVGElementWrappingImplementation() {}
8630 SVGSVGElementWrappingImplementation._wrap$ctor = function(ptr) {
8631 SVGElementWrappingImplementation._wrap$ctor.call(this, ptr);
8632 }
8633 SVGSVGElementWrappingImplementation._wrap$ctor.prototype = SVGSVGElementWrapping Implementation.prototype;
8634 SVGSVGElementWrappingImplementation.prototype.is$html_html_Element = function(){ return true};
8635 SVGSVGElementWrappingImplementation.prototype.get$className = function() {
8636 return LevelDom.wrapSVGAnimatedString(this._ptr.get$className());
8637 }
8638 SVGSVGElementWrappingImplementation.prototype.get$style = function() {
8639 return LevelDom.wrapCSSStyleDeclaration(this._ptr.get$style());
8640 }
8641 // ********** Code for TextEventWrappingImplementation **************
8642 $inherits(TextEventWrappingImplementation, UIEventWrappingImplementation);
8643 function TextEventWrappingImplementation() {}
8644 TextEventWrappingImplementation._wrap$ctor = function(ptr) {
8645 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8646 }
8647 TextEventWrappingImplementation._wrap$ctor.prototype = TextEventWrappingImplemen tation.prototype;
8648 // ********** Code for TouchEventWrappingImplementation **************
8649 $inherits(TouchEventWrappingImplementation, UIEventWrappingImplementation);
8650 function TouchEventWrappingImplementation() {}
8651 TouchEventWrappingImplementation._wrap$ctor = function(ptr) {
8652 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8653 }
8654 TouchEventWrappingImplementation._wrap$ctor.prototype = TouchEventWrappingImplem entation.prototype;
8655 TouchEventWrappingImplementation.prototype.get$changedTouches = function() {
8656 return LevelDom.wrapTouchList(this._ptr.get$changedTouches());
8657 }
8658 // ********** Code for TransitionEventWrappingImplementation **************
8659 $inherits(TransitionEventWrappingImplementation, EventWrappingImplementation);
8660 function TransitionEventWrappingImplementation() {}
8661 TransitionEventWrappingImplementation._wrap$ctor = function(ptr) {
8662 EventWrappingImplementation._wrap$ctor.call(this, ptr);
8663 }
8664 TransitionEventWrappingImplementation._wrap$ctor.prototype = TransitionEventWrap pingImplementation.prototype;
8665 // ********** Code for WebSocketWrappingImplementation **************
8666 $inherits(WebSocketWrappingImplementation, EventTargetWrappingImplementation);
8667 function WebSocketWrappingImplementation() {}
8668 WebSocketWrappingImplementation._wrap$ctor = function(ptr) {
8669 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8670 }
8671 WebSocketWrappingImplementation._wrap$ctor.prototype = WebSocketWrappingImplemen tation.prototype;
8672 WebSocketWrappingImplementation.prototype.get$readyState = function() {
8673 return this._ptr.get$readyState();
8674 }
8675 WebSocketWrappingImplementation.prototype.get$typeName = function() {
8676 return "WebSocket";
8677 }
8678 // ********** Code for WheelEventWrappingImplementation **************
8679 $inherits(WheelEventWrappingImplementation, UIEventWrappingImplementation);
8680 function WheelEventWrappingImplementation() {}
8681 WheelEventWrappingImplementation._wrap$ctor = function(ptr) {
8682 UIEventWrappingImplementation._wrap$ctor.call(this, ptr);
8683 }
8684 WheelEventWrappingImplementation._wrap$ctor.prototype = WheelEventWrappingImplem entation.prototype;
8685 // ********** Code for WindowEventsImplementation **************
8686 $inherits(WindowEventsImplementation, EventsImplementation);
8687 function WindowEventsImplementation() {}
8688 WindowEventsImplementation._wrap$ctor = function(_ptr) {
8689 EventsImplementation._wrap$ctor.call(this, _ptr);
8690 }
8691 WindowEventsImplementation._wrap$ctor.prototype = WindowEventsImplementation.pro totype;
8692 WindowEventsImplementation.prototype.get$click = function() {
8693 return this._get("click");
8694 }
8695 WindowEventsImplementation.prototype.get$message = function() {
8696 return this._get("message");
8697 }
8698 WindowEventsImplementation.prototype.get$resize = function() {
8699 return this._get("resize");
8700 }
8701 WindowEventsImplementation.prototype.get$touchEnd = function() {
8702 return this._get("touchend");
8703 }
8704 WindowEventsImplementation.prototype.get$touchStart = function() {
8705 return this._get("touchstart");
8706 }
8707 WindowEventsImplementation.prototype.get$contentLoaded = function() {
8708 return this._get("DOMContentLoaded");
8709 }
8710 WindowEventsImplementation.prototype.click$0 = function() {
8711 return this.get$click().call$0();
8712 };
8713 // ********** Code for WindowWrappingImplementation **************
8714 $inherits(WindowWrappingImplementation, EventTargetWrappingImplementation);
8715 function WindowWrappingImplementation() {}
8716 WindowWrappingImplementation._wrap$ctor = function(ptr) {
8717 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8718 }
8719 WindowWrappingImplementation._wrap$ctor.prototype = WindowWrappingImplementation .prototype;
8720 WindowWrappingImplementation.prototype.get$length = function() {
8721 return this._ptr.get$length();
8722 }
8723 WindowWrappingImplementation.prototype.get$navigator = function() {
8724 return LevelDom.wrapNavigator(this._ptr.get$navigator());
8725 }
8726 WindowWrappingImplementation.prototype.postMessage = function(message, messagePo rt, targetOrigin) {
8727 if (targetOrigin == null) {
8728 if (messagePort == null) {
8729 this._ptr.postMessage$1(message);
8730 return;
8731 }
8732 else {
8733 this._ptr.postMessage$2(message, messagePort);
8734 return;
8735 }
8736 }
8737 else {
8738 this._ptr.postMessage$3(message, LevelDom.unwrap(messagePort), targetOrigin) ;
8739 return;
8740 }
8741 $throw("Incorrect number or type of arguments");
8742 }
8743 WindowWrappingImplementation.prototype.setTimeout = function(handler, timeout) {
8744 return this._ptr.setTimeout$2(handler, timeout);
8745 }
8746 WindowWrappingImplementation.prototype.get$on = function() {
8747 if (this._on == null) {
8748 this._on = new WindowEventsImplementation._wrap$ctor(this._ptr);
8749 }
8750 return this._on;
8751 }
8752 WindowWrappingImplementation.prototype.postMessage$1 = WindowWrappingImplementat ion.prototype.postMessage;
8753 WindowWrappingImplementation.prototype.postMessage$2 = WindowWrappingImplementat ion.prototype.postMessage;
8754 WindowWrappingImplementation.prototype.postMessage$3 = WindowWrappingImplementat ion.prototype.postMessage;
8755 WindowWrappingImplementation.prototype.setTimeout$2 = function($0, $1) {
8756 return this.setTimeout(to$call$0($0), $1);
8757 };
8758 // ********** Code for WorkerWrappingImplementation **************
8759 $inherits(WorkerWrappingImplementation, EventTargetWrappingImplementation);
8760 function WorkerWrappingImplementation() {}
8761 WorkerWrappingImplementation._wrap$ctor = function(ptr) {
8762 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8763 }
8764 WorkerWrappingImplementation._wrap$ctor.prototype = WorkerWrappingImplementation .prototype;
8765 WorkerWrappingImplementation.prototype.postMessage = function(message, messagePo rt) {
8766 if (messagePort == null) {
8767 this._ptr.postMessage$1(message);
8768 return;
8769 }
8770 else {
8771 this._ptr.postMessage$2(message, LevelDom.unwrap(messagePort));
8772 return;
8773 }
8774 }
8775 WorkerWrappingImplementation.prototype.postMessage$1 = WorkerWrappingImplementat ion.prototype.postMessage;
8776 WorkerWrappingImplementation.prototype.postMessage$2 = WorkerWrappingImplementat ion.prototype.postMessage;
8777 // ********** Code for XMLHttpRequestProgressEventWrappingImplementation ******* *******
8778 $inherits(XMLHttpRequestProgressEventWrappingImplementation, ProgressEventWrappi ngImplementation);
8779 function XMLHttpRequestProgressEventWrappingImplementation() {}
8780 XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor = function(ptr) {
8781 ProgressEventWrappingImplementation._wrap$ctor.call(this, ptr);
8782 }
8783 XMLHttpRequestProgressEventWrappingImplementation._wrap$ctor.prototype = XMLHttp RequestProgressEventWrappingImplementation.prototype;
8784 // ********** Code for XMLHttpRequestUploadWrappingImplementation **************
8785 $inherits(XMLHttpRequestUploadWrappingImplementation, EventTargetWrappingImpleme ntation);
8786 function XMLHttpRequestUploadWrappingImplementation() {}
8787 XMLHttpRequestUploadWrappingImplementation._wrap$ctor = function(ptr) {
8788 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8789 }
8790 XMLHttpRequestUploadWrappingImplementation._wrap$ctor.prototype = XMLHttpRequest UploadWrappingImplementation.prototype;
8791 // ********** Code for XMLHttpRequestWrappingImplementation **************
8792 $inherits(XMLHttpRequestWrappingImplementation, EventTargetWrappingImplementatio n);
8793 function XMLHttpRequestWrappingImplementation() {}
8794 XMLHttpRequestWrappingImplementation._wrap$ctor = function(ptr) {
8795 EventTargetWrappingImplementation._wrap$ctor.call(this, ptr);
8796 }
8797 XMLHttpRequestWrappingImplementation._wrap$ctor.prototype = XMLHttpRequestWrappi ngImplementation.prototype;
8798 XMLHttpRequestWrappingImplementation.prototype.get$readyState = function() {
8799 return this._ptr.get$readyState();
8800 }
8801 // ********** Code for top level **************
8802 var _pendingRequests;
8803 var _pendingMeasurementFrameCallbacks;
8804 function _maybeScheduleMeasurementFrame() {
8805 if ($globals._nextMeasurementFrameScheduled) return;
8806 $globals._nextMeasurementFrameScheduled = true;
8807 if ($globals._firstMeasurementRequest) {
8808 html_get$window().get$on().get$message().add((function (e) {
8809 return _completeMeasurementFutures();
8810 })
8811 , false);
8812 $globals._firstMeasurementRequest = false;
8813 }
8814 html_get$window().postMessage("DART-MEASURE", "*");
8815 }
8816 function _createMeasurementFuture(computeValue, completer) {
8817 if ($globals._pendingRequests == null) {
8818 $globals._pendingRequests = [];
8819 _maybeScheduleMeasurementFrame();
8820 }
8821 $globals._pendingRequests.add$1(new _MeasurementRequest(computeValue, complete r));
8822 return completer.get$future();
8823 }
8824 function _completeMeasurementFutures() {
8825 if ($eq($globals._nextMeasurementFrameScheduled, false)) {
8826 return;
8827 }
8828 $globals._nextMeasurementFrameScheduled = false;
8829 if ($globals._pendingRequests != null) {
8830 var $$list = $globals._pendingRequests;
8831 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
8832 var request = $$list.$index($$i);
8833 try {
8834 request.value = request.computeValue.call$0();
8835 } catch (e) {
8836 e = _toDartException(e);
8837 request.value = e;
8838 request.exception = true;
8839 }
8840 }
8841 }
8842 var completedRequests = $globals._pendingRequests;
8843 var readyMeasurementFrameCallbacks = $globals._pendingMeasurementFrameCallback s;
8844 $globals._pendingRequests = null;
8845 $globals._pendingMeasurementFrameCallbacks = null;
8846 if (completedRequests != null) {
8847 for (var $$i = completedRequests.iterator$0(); $$i.hasNext$0(); ) {
8848 var request = $$i.next$0();
8849 if (request.exception) {
8850 request.completer.completeException(request.value);
8851 }
8852 else {
8853 request.completer.complete(request.value);
8854 }
8855 }
8856 }
8857 if (readyMeasurementFrameCallbacks != null) {
8858 for (var $$i = readyMeasurementFrameCallbacks.iterator$0(); $$i.hasNext$0(); ) {
8859 var handler = $$i.next$0();
8860 handler.call$0();
8861 }
8862 }
8863 }
8864 // ********** Library html **************
8865 // ********** Code for top level **************
8866 var secretWindow;
8867 var secretDocument;
8868 function html_get$window() {
8869 if ($globals.secretWindow == null) {
8870 LevelDom.initialize();
8871 }
8872 return $globals.secretWindow;
8873 }
8874 function html_get$document() {
8875 if ($globals.secretWindow == null) {
8876 LevelDom.initialize();
8877 }
8878 return $globals.secretDocument;
8879 }
8880 // ********** Library observable **************
8881 // ********** Code for top level **************
8882 // ********** Library utilslib **************
8883 // ********** Code for top level **************
8884 // ********** Library base **************
8885 // ********** Code for Device **************
8886 function Device() {}
8887 Device.get$userAgent = function() {
8888 return html_get$window().get$navigator().get$userAgent();
8889 }
8890 Device.get$isMobileSafari = function() {
8891 return const$0013.hasMatch(Device.get$userAgent());
8892 }
8893 Device.get$isAndroid = function() {
8894 return Device.get$userAgent().contains("Android", (0));
8895 }
8896 Device.get$supportsTouch = function() {
8897 if ($globals.Device__supportsTouch == null) {
8898 $globals.Device__supportsTouch = Device.get$isMobileSafari() || Device.get$i sAndroid();
8899 }
8900 return $globals.Device__supportsTouch;
8901 }
8902 // ********** Code for Dom **************
8903 function Dom() {}
8904 Dom.ready = function(f) {
8905 if (html_get$document().get$readyState() == "interactive" || html_get$document ().get$readyState() == "complete") {
8906 html_get$window().setTimeout(f, (0));
8907 }
8908 else {
8909 html_get$window().get$on().get$contentLoaded().add((function (e) {
8910 f.call$0();
8911 })
8912 , false);
8913 }
8914 }
8915 // ********** Code for top level **************
8916 // ********** Library touch **************
8917 // ********** Code for FxUtil **************
8918 function FxUtil() {}
8919 FxUtil.setWebkitTransform = function(el, x, y, z, rotation, scale, originX, orig inY) {
8920 var style = el.get$style();
8921 var transform = ("" + "translate3d" + "(" + x + "px," + y + "px," + z + "px)") ;
8922 if (rotation != null) {
8923 transform = transform.concat((" " + "rotate" + "(" + rotation + "deg)"));
8924 }
8925 if (scale != null) {
8926 transform = transform.concat((" " + "scale" + "(" + scale + ")"));
8927 }
8928 style.set$transform(transform);
8929 if (originX != null || originY != null) {
8930 style.set$transformOrigin(("" + originX + "px " + originY + "px"));
8931 }
8932 }
8933 // ********** Code for top level **************
8934 // ********** Library layout.dart **************
8935 // ********** Code for top level **************
8936 // ********** Library view **************
8937 // ********** Code for View **************
8938 function View() {
8939 this.customStyle = new HashMapImplementation();
8940 }
8941 View.prototype.get$node = function() {
8942 if (this._node == null) {
8943 this._render();
8944 }
8945 return this._node;
8946 }
8947 View.prototype.render = function() {
8948 $throw("abstract");
8949 }
8950 View.prototype.afterRender = function(node) {
8951
8952 }
8953 View.prototype._render = function() {
8954 if (this._node == null) {
8955 this._node = this.render();
8956 }
8957 this.afterRender(this._node);
8958 }
8959 View.prototype.set$transform = function(transform) {
8960 this.get$node().get$style().set$transform(transform);
8961 }
8962 // ********** Code for SliderMenu **************
8963 $inherits(SliderMenu, View);
8964 function SliderMenu(_menuItems, onSelect) {
8965 this._menuItems = _menuItems;
8966 this.onSelect = onSelect;
8967 View.call(this);
8968 }
8969 SliderMenu.prototype.render = function() {
8970 var items = new StringBufferImpl("");
8971 var $$list = this._menuItems;
8972 for (var $$i = 0;$$i < $$list.get$length(); $$i++) {
8973 var item = $$list.$index($$i);
8974 items.add$1(("<div class=\"sm-item\">" + item + "</div>"));
8975 }
8976 return ElementWrappingImplementation.ElementWrappingImplementation$html$factor y((" <div class=\"sm-root\">\n <div class=\"sm-item-box\">\n <div class=\"sm-item-filler\"></div>\n " + items + "\n <div class=\"sm-item-filler\"></div>\n </div>\n <div clas s=\"sm-slider-box\">\n <div class=\"sm-triangle\"></div>\n < /div>\n </div>\n "));
8977 }
8978 SliderMenu.prototype.enterDocument = function() {
8979 var $this = this; // closure support
8980 this.selectItem(this.get$node().query(".sm-item"), false);
8981 if (Device.get$supportsTouch()) {
8982 this.get$node().get$on().get$touchStart().add$1((function (event) {
8983 $this.touchItem = $this.itemOfTouchEvent(event);
8984 if ($this.touchItem != null) {
8985 $this.selectItemText($this.touchItem);
8986 }
8987 event.preventDefault$0();
8988 })
8989 );
8990 this.get$node().get$on().get$touchEnd().add$1((function (event) {
8991 if ($this.touchItem != null) {
8992 if ($eq($this.itemOfTouchEvent(event), $this.touchItem)) {
8993 $this.selectItem($this.touchItem, true);
8994 }
8995 else {
8996 $this.selectItemText($this.selectedItem);
8997 }
8998 $this.touchItem = null;
8999 }
9000 event.preventDefault$0();
9001 })
9002 );
9003 }
9004 else {
9005 this.get$node().get$on().get$click().add$1((function (event) {
9006 return $this.selectItem(event.get$target(), true);
9007 })
9008 );
9009 }
9010 html_get$window().get$on().get$resize().add((function (event) {
9011 return $this.updateIndicator(false);
9012 })
9013 , false);
9014 }
9015 SliderMenu.prototype.itemOfTouchEvent = function(event) {
9016 var node = event.get$changedTouches().$index((0)).get$target();
9017 return this.itemOfNode(node);
9018 }
9019 SliderMenu.prototype.itemOfNode = function(node) {
9020 while (node != null && $ne(node, html_get$document())) {
9021 if (!!(node && node.is$html_html_Element())) {
9022 var element = node;
9023 if (element.get$classes().contains("sm-item")) {
9024 return element;
9025 }
9026 }
9027 node = node.get$parent();
9028 }
9029 return null;
9030 }
9031 SliderMenu.prototype.selectItemText = function(item) {
9032 var $$list = this.get$node().queryAll(".sm-item");
9033 for (var $$i = $$list.iterator$0(); $$i.hasNext$0(); ) {
9034 var sliderItem = $$i.next$0();
9035 sliderItem.get$classes().remove$1("sel");
9036 }
9037 item.get$classes().add("sel");
9038 }
9039 SliderMenu.prototype.selectItem = function(item, animate) {
9040 if (!item.get$classes().contains("sm-item")) {
9041 return;
9042 }
9043 this.selectedItem = item;
9044 this.selectItemText(item);
9045 this.updateIndicator(animate);
9046 this.onSelect.call$1(item.get$text());
9047 }
9048 SliderMenu.prototype.selectNext = function(animate) {
9049 var result = this.get$node().query(".sm-item.sel").get$nextElementSibling();
9050 if (result != null) {
9051 this.selectItem(result, animate);
9052 }
9053 }
9054 SliderMenu.prototype.selectPrevious = function(animate) {
9055 var result = this.get$node().query(".sm-item.sel").get$previousElementSibling( );
9056 if (result != null) {
9057 this.selectItem(result, animate);
9058 }
9059 }
9060 SliderMenu.prototype.updateIndicator = function(animate) {
9061 var $this = this; // closure support
9062 if (this.selectedItem != null) {
9063 this.selectedItem.get$rect().then((function (rect) {
9064 var x = rect.offset.get$left() + rect.offset.get$width() / (2) - (12);
9065 $this._moveIndicator(x, animate);
9066 })
9067 );
9068 }
9069 else {
9070 this._moveIndicator((0), animate);
9071 }
9072 }
9073 SliderMenu.prototype._moveIndicator = function(x, animate) {
9074 var duration = animate ? ".3s" : "0s";
9075 var triangle = this.get$node().query(".sm-triangle");
9076 triangle.get$style().set$transitionDuration(duration);
9077 FxUtil.setWebkitTransform(triangle, x, (0), (0));
9078 }
9079 // ********** Code for top level **************
9080 // ********** Library slider_sample **************
9081 // ********** Code for SliderSample **************
9082 function SliderSample() {
9083 this.menuItems = const$0000;
9084 }
9085 SliderSample.prototype.ready = function() {
9086 var $this = this; // closure support
9087 html_get$document().query("#status").set$innerHTML("Slider Menu Sample App");
9088 this.sliderMenu = new SliderMenu(this.menuItems, (function (selectedText) {
9089 html_get$document().query("#message").set$innerHTML(("Selected '" + selected Text + "'"));
9090 })
9091 );
9092 html_get$document().query("#menu").get$nodes().add$1(this.sliderMenu.get$node( ));
9093 html_get$document().query("#next").get$on().get$click().add$1((function (e) {
9094 $this.sliderMenu.selectNext(true);
9095 })
9096 );
9097 html_get$document().query("#prev").get$on().get$click().add$1((function (e) {
9098 $this.sliderMenu.selectPrevious(true);
9099 })
9100 );
9101 this.sliderMenu.enterDocument();
9102 }
9103 SliderSample.main = function() {
9104 Dom.ready((function () {
9105 new SliderSample().ready();
9106 })
9107 );
9108 }
9109 // ********** Code for top level **************
9110 function main() {
9111 SliderSample.main();
9112 }
9113 // ********** Generic Type Inheritance **************
9114 /** Implements extends for generic types. */
9115 function $inheritsMembers(child, parent) {
9116 child = child.prototype;
9117 parent = parent.prototype;
9118 Object.getOwnPropertyNames(parent).forEach(function(name) {
9119 if (typeof(child[name]) == 'undefined') child[name] = parent[name];
9120 });
9121 }
9122 $inheritsMembers(_DoubleLinkedQueueEntrySentinel_E, DoubleLinkedQueueEntry_E);
9123 $inheritsMembers(_DoubleLinkedQueueEntrySentinel_KeyValuePair_K$V, DoubleLinkedQ ueueEntry_KeyValuePair_K$V);
9124 $inheritsMembers(_FixedSizeListIterator_html_html_Touch, _VariableSizeListIterat or_html_html_Touch);
9125 // 317 dynamic types.
9126 // 502 types
9127 // 41 !leaf
9128 (function(){
9129 var v0/*CSSValueList*/ = 'CSSValueList|WebKitCSSFilterValue|WebKitCSSTransform Value';
9130 var v1/*HTMLInputElement*/ = 'HTMLInputElement|HTMLIsIndexElement';
9131 var v2/*HTMLMediaElement*/ = 'HTMLMediaElement|HTMLAudioElement|HTMLVideoEleme nt';
9132 var v3/*HTMLElement*/ = [v1/*HTMLInputElement*/,v2/*HTMLMediaElement*/,'HTMLEl ement|HTMLAnchorElement|HTMLAppletElement|HTMLAreaElement|HTMLBRElement|HTMLBase Element|HTMLBaseFontElement|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement| HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDirectoryElement|HTM LDivElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFormElement |HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingE lement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLKeygenElement|HTML LIElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTML MarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLMeterElement|HTMLModElement|H TMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLOptionElement|HTMLOutp utElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressEleme nt|HTMLQuoteElement|HTMLScriptElement|HTMLSelectElement|HTMLSourceElement|HTMLSp anElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTabl eColElement|HTMLTableElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTex tAreaElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownEleme nt'].join('|');
9133 var v4/*SVGGradientElement*/ = 'SVGGradientElement|SVGLinearGradientElement|SV GRadialGradientElement';
9134 var v5/*SVGTextContentElement*/ = 'SVGTextContentElement|SVGTextPathElement|SV GTextPositioningElement|SVGAltGlyphElement|SVGTRefElement|SVGTSpanElement|SVGTex tElement';
9135 var v6/*CharacterData*/ = 'CharacterData|Comment|Text|CDATASection';
9136 var v7/*Document*/ = 'Document|HTMLDocument|SVGDocument';
9137 var v8/*Element*/ = [v3/*HTMLElement*/,v4/*SVGGradientElement*/,v5/*SVGTextCon tentElement*/,'Element|SVGElement|SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphI temElement|SVGAnimationElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnima teMotionElement|SVGAnimateTransformElement|SVGSetElement|SVGCircleElement|SVGCli pPathElement|SVGComponentTransferFunctionElement|SVGFEFuncAElement|SVGFEFuncBEle ment|SVGFEFuncGElement|SVGFEFuncRElement|SVGCursorElement|SVGDefsElement|SVGDesc Element|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFECompone ntTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseL ightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropSha dowElement|SVGFEFloodElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMer geElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEP ointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileEle ment|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|S VGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFace UriElement|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefElemen t|SVGHKernElement|SVGImageElement|SVGLineElement|SVGMPathElement|SVGMarkerElemen t|SVGMaskElement|SVGMetadataElement|SVGMissingGlyphElement|SVGPathElement|SVGPat ternElement|SVGPolygonElement|SVGPolylineElement|SVGRectElement|SVGSVGElement|SV GScriptElement|SVGStopElement|SVGStyleElement|SVGSwitchElement|SVGSymbolElement| SVGTitleElement|SVGUseElement|SVGVKernElement|SVGViewElement'].join('|');
9138 var table = [
9139 // [dynamic-dispatch-tag, tags of classes implementing dynamic-dispatch-tag]
9140 ['AbstractWorker', 'AbstractWorker|SharedWorker|Worker'],
9141 ['ArrayBufferView', 'ArrayBufferView|DataView|Float32Array|Float64Array|Int1 6Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array'],
9142 ['AudioNode', 'AudioNode|AudioChannelMerger|AudioChannelSplitter|AudioDestin ationNode|AudioGainNode|AudioPannerNode|AudioSourceNode|AudioBufferSourceNode|Me diaElementAudioSourceNode|BiquadFilterNode|ConvolverNode|DelayNode|DynamicsCompr essorNode|HighPass2FilterNode|JavaScriptAudioNode|LowPass2FilterNode|RealtimeAna lyserNode|WaveShaperNode'],
9143 ['AudioParam', 'AudioParam|AudioGain'],
9144 ['Blob', 'Blob|File'],
9145 ['CSSRule', 'CSSRule|CSSCharsetRule|CSSFontFaceRule|CSSImportRule|CSSMediaRu le|CSSPageRule|CSSStyleRule|CSSUnknownRule|WebKitCSSKeyframeRule|WebKitCSSKeyfra mesRule'],
9146 ['CSSValueList', v0/*CSSValueList*/],
9147 ['CSSValue', [v0/*CSSValueList*/,'CSSValue|CSSPrimitiveValue|SVGColor|SVGPai nt'].join('|')],
9148 ['CanvasRenderingContext', 'CanvasRenderingContext|CanvasRenderingContext2D| WebGLRenderingContext'],
9149 ['CharacterData', v6/*CharacterData*/],
9150 ['DOMTokenList', 'DOMTokenList|DOMSettableTokenList'],
9151 ['DOMWindow', 'DOMWindow|Window'],
9152 ['Document', v7/*Document*/],
9153 ['HTMLInputElement', v1/*HTMLInputElement*/],
9154 ['HTMLMediaElement', v2/*HTMLMediaElement*/],
9155 ['HTMLElement', v3/*HTMLElement*/],
9156 ['SVGGradientElement', v4/*SVGGradientElement*/],
9157 ['SVGTextContentElement', v5/*SVGTextContentElement*/],
9158 ['Element', v8/*Element*/],
9159 ['Entry', 'Entry|DirectoryEntry|FileEntry'],
9160 ['EntrySync', 'EntrySync|DirectoryEntrySync|FileEntrySync'],
9161 ['Event', 'Event|AudioProcessingEvent|BeforeLoadEvent|CloseEvent|CustomEvent |DeviceMotionEvent|DeviceOrientationEvent|ErrorEvent|HashChangeEvent|IDBVersionC hangeEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent| PageTransitionEvent|PopStateEvent|ProgressEvent|XMLHttpRequestProgressEvent|Spee chInputEvent|StorageEvent|TrackEvent|UIEvent|CompositionEvent|KeyboardEvent|Mous eEvent|SVGZoomEvent|TextEvent|TouchEvent|WheelEvent|WebGLContextEvent|WebKitAnim ationEvent|WebKitTransitionEvent'],
9162 ['HTMLCollection', 'HTMLCollection|HTMLOptionsCollection|HTMLPropertiesColle ction'],
9163 ['IDBCursor', 'IDBCursor|IDBCursorWithValue'],
9164 ['IDBRequest', 'IDBRequest|IDBVersionChangeRequest'],
9165 ['Node', [v6/*CharacterData*/,v7/*Document*/,v8/*Element*/,'Node|Attr|Docume ntFragment|DocumentType|Entity|EntityReference|Notation|ProcessingInstruction']. join('|')],
9166 ['SVGLocatable', 'SVGLocatable|SVGTransformable'],
9167 ['SVGPathSeg', 'SVGPathSeg|SVGPathSegArcAbs|SVGPathSegArcRel|SVGPathSegClose Path|SVGPathSegCurvetoCubicAbs|SVGPathSegCurvetoCubicRel|SVGPathSegCurvetoCubicS moothAbs|SVGPathSegCurvetoCubicSmoothRel|SVGPathSegCurvetoQuadraticAbs|SVGPathSe gCurvetoQuadraticRel|SVGPathSegCurvetoQuadraticSmoothAbs|SVGPathSegCurvetoQuadra ticSmoothRel|SVGPathSegLinetoAbs|SVGPathSegLinetoHorizontalAbs|SVGPathSegLinetoH orizontalRel|SVGPathSegLinetoRel|SVGPathSegLinetoVerticalAbs|SVGPathSegLinetoVer ticalRel|SVGPathSegMovetoAbs|SVGPathSegMovetoRel'],
9168 ['SVGStylable', 'SVGStylable|SVGFilterPrimitiveStandardAttributes'],
9169 ['SVGZoomAndPan', 'SVGZoomAndPan|SVGViewSpec'],
9170 ['StyleSheet', 'StyleSheet|CSSStyleSheet'],
9171 ['WorkerContext', 'WorkerContext|DedicatedWorkerContext|SharedWorkercontext' ],
9172 ];
9173 $dynamicSetMetadata(table);
9174 })();
9175 // ********** Globals **************
9176 function $static_init(){
9177 $globals._firstMeasurementRequest = true;
9178 $globals._nextMeasurementFrameScheduled = false;
9179 }
9180 var const$0000 = ImmutableList.ImmutableList$from$factory(["Apple", "Banana", "C herry", "Durian"]);
9181 var const$0001 = Object.create(IllegalAccessException.prototype, {});
9182 var const$0002 = Object.create(NoMoreElementsException.prototype, {});
9183 var const$0003 = Object.create(_DeletedKeySentinel.prototype, {});
9184 var const$0004 = new JSSyntaxRegExp("<(\\w+)");
9185 var const$0005 = Object.create(EmptyQueueException.prototype, {});
9186 var const$0006 = _constMap(["body", "html", "head", "html", "caption", "table", "td", "tr", "tbody", "table", "colgroup", "table", "col", "colgroup", "tr", "tbo dy", "tbody", "table", "tfoot", "table", "thead", "table", "track", "audio"]);
9187 var const$0007 = Object.create(UnsupportedOperationException.prototype, {_messag e: {"value": "", writeable: false}, });
9188 var const$0010 = Object.create(SimpleClientRect.prototype, {left: {"value": (0), writeable: false}, top: {"value": (0), writeable: false}, width: {"value": (0), writeable: false}, height: {"value": (0), writeable: false}, });
9189 var const$0011 = ImmutableList.ImmutableList$from$factory([]);
9190 var const$0012 = Object.create(EmptyElementRect.prototype, {client: {"value": co nst$0010, writeable: false}, scroll: {"value": const$0010, writeable: false}, bo unding: {"value": const$0010, writeable: false}, clientRects: {"value": const$00 11, writeable: false}, offset: {"value": const$0010, writeable: false}, });
9191 var const$0013 = new JSSyntaxRegExp("iPhone|iPod|iPad");
9192 var $globals = {};
9193 $static_init();
9194 main();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698