<<<<<<< Updated upstream define(['dart_sdk', 'packages/flutter/src/physics/tolerance.dart', 'packages/flutter/src/physics/friction_simulation.dart', 'packages/flutter/src/physics/spring_simulation.dart', 'packages/flutter/src/foundation/object.dart', 'packages/flutter/src/physics/simulation.dart'], (function load__packages__flutter__src__widgets__scroll_simulation_dart(dart_sdk, packages__flutter__src__physics__tolerance$46dart, packages__flutter__src__physics__friction_simulation$46dart, packages__flutter__src__physics__spring_simulation$46dart, packages__flutter__src__foundation__object$46dart, packages__flutter__src__physics__simulation$46dart) { 'use strict'; const core = dart_sdk.core; const math = dart_sdk.math; const _internal = dart_sdk._internal; const dart = dart_sdk.dart; const dartx = dart_sdk.dartx; const tolerance = packages__flutter__src__physics__tolerance$46dart.src__physics__tolerance; const friction_simulation = packages__flutter__src__physics__friction_simulation$46dart.src__physics__friction_simulation; const spring_simulation = packages__flutter__src__physics__spring_simulation$46dart.src__physics__spring_simulation; const object = packages__flutter__src__foundation__object$46dart.src__foundation__object; const simulation = packages__flutter__src__physics__simulation$46dart.src__physics__simulation; var scroll_simulation = Object.create(dart.library); var $isFinite = dartx.isFinite; var $abs = dartx.abs; var $clamp = dartx.clamp; var $sign = dartx.sign; dart._checkModuleNullSafetyMode(false); var T = { _: () => T ======= define(['dart_sdk', 'packages/flutter/src/widgets/widget_span.dart', 'packages/flutter/src/painting/edge_insets.dart', 'packages/flutter/src/widgets/text_selection_toolbar_layout_delegate.dart', 'packages/flutter/src/foundation/collections.dart', 'packages/flutter/src/material/icon_button.dart', 'packages/flutter/src/widgets/animated_size.dart', 'packages/flutter/src/widgets/icon.dart', 'packages/flutter/src/material/icons.dart', 'packages/flutter/src/rendering/layer.dart', 'packages/flutter/src/rendering/proxy_box.dart', 'packages/flutter/src/painting/border_radius.dart'], (function load__packages__flutter__src__material__text_selection_toolbar_dart(dart_sdk, packages__flutter__src__widgets__widget_span$46dart, packages__flutter__src__painting__edge_insets$46dart, packages__flutter__src__widgets__text_selection_toolbar_layout_delegate$46dart, packages__flutter__src__foundation__collections$46dart, packages__flutter__src__material__icon_button$46dart, packages__flutter__src__widgets__animated_size$46dart, packages__flutter__src__widgets__icon$46dart, packages__flutter__src__material__icons$46dart, packages__flutter__src__rendering__layer$46dart, packages__flutter__src__rendering__proxy_box$46dart, packages__flutter__src__painting__border_radius$46dart) { 'use strict'; const core = dart_sdk.core; const ui = dart_sdk.ui; const _interceptors = dart_sdk._interceptors; const math = dart_sdk.math; const dart = dart_sdk.dart; const dartx = dart_sdk.dartx; const framework = packages__flutter__src__widgets__widget_span$46dart.src__widgets__framework; const widget_inspector = packages__flutter__src__widgets__widget_span$46dart.src__widgets__widget_inspector; const media_query = packages__flutter__src__widgets__widget_span$46dart.src__widgets__media_query; const basic = packages__flutter__src__widgets__widget_span$46dart.src__widgets__basic; const ticker_provider = packages__flutter__src__widgets__widget_span$46dart.src__widgets__ticker_provider; const text_selection = packages__flutter__src__widgets__widget_span$46dart.src__widgets__text_selection; const edge_insets = packages__flutter__src__painting__edge_insets$46dart.src__painting__edge_insets; const text_selection_toolbar_layout_delegate = packages__flutter__src__widgets__text_selection_toolbar_layout_delegate$46dart.src__widgets__text_selection_toolbar_layout_delegate; const collections = packages__flutter__src__foundation__collections$46dart.src__foundation__collections; const debug = packages__flutter__src__material__icon_button$46dart.src__material__debug; const material_localizations = packages__flutter__src__material__icon_button$46dart.src__material__material_localizations; const material = packages__flutter__src__material__icon_button$46dart.src__material__material; const icon_button = packages__flutter__src__material__icon_button$46dart.src__material__icon_button; const animated_size = packages__flutter__src__widgets__animated_size$46dart.src__widgets__animated_size; const icon = packages__flutter__src__widgets__icon$46dart.src__widgets__icon; const icons = packages__flutter__src__material__icons$46dart.src__material__icons; const box = packages__flutter__src__rendering__layer$46dart.src__rendering__box; const object = packages__flutter__src__rendering__layer$46dart.src__rendering__object; const proxy_box = packages__flutter__src__rendering__proxy_box$46dart.src__rendering__proxy_box; const border_radius = packages__flutter__src__painting__border_radius$46dart.src__painting__border_radius; var text_selection_toolbar = Object.create(dart.library); var $length = dartx.length; var $addAll = dartx.addAll; var $where = dartx.where; var $forEach = dartx.forEach; dart._checkModuleNullSafetyMode(false); var T = { BuildContextAndWidgetToWidget: () => (T.BuildContextAndWidgetToWidget = dart.constFn(dart.fnType(framework.Widget, [framework.BuildContext, framework.Widget])))(), _LocationL: () => (T._LocationL = dart.constFn(dart.legacy(widget_inspector._Location)))(), JSArrayOfWidget: () => (T.JSArrayOfWidget = dart.constFn(_interceptors.JSArray$(framework.Widget)))(), VoidTovoid: () => (T.VoidTovoid = dart.constFn(dart.fnType(dart.void, [])))(), BoxHitTestResultAndOffsetTobool: () => (T.BoxHitTestResultAndOffsetTobool = dart.constFn(dart.fnType(core.bool, [box.BoxHitTestResult, ui.Offset])))(), ElementTobool: () => (T.ElementTobool = dart.constFn(dart.fnType(core.bool, [framework.Element])))(), RenderObjectTovoid: () => (T.RenderObjectTovoid = dart.constFn(dart.fnType(dart.void, [object.RenderObject])))() >>>>>>> Stashed changes }; var T$Eval = Object.assign({ _: () => T$Eval }, T); var S = { _: () => S }; var S$Eval = Object.assign({ _: () => S$Eval }, S); const CT = Object.create({ _: () => (C, CT) }); dart.defineLazy(CT, { get C0() { <<<<<<< Updated upstream return C[0] = dart.const({ __proto__: tolerance.Tolerance.prototype, [Tolerance_velocity]: 0.001, [Tolerance_time]: 0.001, [Tolerance_distance]: 0.001 }); } }, false); var C = [void 0]; var I = [ "file:///C:/_libs/flutter/packages/flutter/lib/src/widgets/scroll_simulation.dart", "package:flutter/src/widgets/scroll_simulation.dart" ]; var leadingExtent$ = dart.privateName(scroll_simulation, "BouncingScrollSimulation.leadingExtent"); var trailingExtent$ = dart.privateName(scroll_simulation, "BouncingScrollSimulation.trailingExtent"); var spring$ = dart.privateName(scroll_simulation, "BouncingScrollSimulation.spring"); var Tolerance_velocity = dart.privateName(tolerance, "Tolerance.velocity"); var Tolerance_time = dart.privateName(tolerance, "Tolerance.time"); var Tolerance_distance = dart.privateName(tolerance, "Tolerance.distance"); var __BouncingScrollSimulation__frictionSimulation = dart.privateName(scroll_simulation, "_#BouncingScrollSimulation#_frictionSimulation"); var __BouncingScrollSimulation__frictionSimulation_isSet = dart.privateName(scroll_simulation, "_#BouncingScrollSimulation#_frictionSimulation#isSet"); var __BouncingScrollSimulation__springSimulation = dart.privateName(scroll_simulation, "_#BouncingScrollSimulation#_springSimulation"); var __BouncingScrollSimulation__springSimulation_isSet = dart.privateName(scroll_simulation, "_#BouncingScrollSimulation#_springSimulation#isSet"); var __BouncingScrollSimulation__springTime = dart.privateName(scroll_simulation, "_#BouncingScrollSimulation#_springTime"); var __BouncingScrollSimulation__springTime_isSet = dart.privateName(scroll_simulation, "_#BouncingScrollSimulation#_springTime#isSet"); var _timeOffset = dart.privateName(scroll_simulation, "_timeOffset"); var _springSimulation = dart.privateName(scroll_simulation, "_springSimulation"); var _underscrollSimulation = dart.privateName(scroll_simulation, "_underscrollSimulation"); var _springTime = dart.privateName(scroll_simulation, "_springTime"); var _overscrollSimulation = dart.privateName(scroll_simulation, "_overscrollSimulation"); var _frictionSimulation = dart.privateName(scroll_simulation, "_frictionSimulation"); var _simulation = dart.privateName(scroll_simulation, "_simulation"); scroll_simulation.BouncingScrollSimulation = class BouncingScrollSimulation extends simulation.Simulation { get leadingExtent() { return this[leadingExtent$]; } set leadingExtent(value) { super.leadingExtent = value; } get trailingExtent() { return this[trailingExtent$]; } set trailingExtent(value) { super.trailingExtent = value; } get spring() { return this[spring$]; } set spring(value) { super.spring = value; } get [_frictionSimulation]() { let t0; return dart.test(this[__BouncingScrollSimulation__frictionSimulation_isSet]) ? (t0 = this[__BouncingScrollSimulation__frictionSimulation], t0) : dart.throw(new _internal.LateError.fieldNI("_frictionSimulation")); } set [_frictionSimulation](t0) { if (t0 == null) dart.nullFailed(I[0], 92, 27, "null"); this[__BouncingScrollSimulation__frictionSimulation_isSet] = true; this[__BouncingScrollSimulation__frictionSimulation] = t0; } get [_springSimulation]() { let t1; return dart.test(this[__BouncingScrollSimulation__springSimulation_isSet]) ? (t1 = this[__BouncingScrollSimulation__springSimulation], t1) : dart.throw(new _internal.LateError.fieldNI("_springSimulation")); } set [_springSimulation](t1) { if (t1 == null) dart.nullFailed(I[0], 93, 19, "null"); this[__BouncingScrollSimulation__springSimulation_isSet] = true; this[__BouncingScrollSimulation__springSimulation] = t1; } get [_springTime]() { let t2; return dart.test(this[__BouncingScrollSimulation__springTime_isSet]) ? (t2 = this[__BouncingScrollSimulation__springTime], t2) : dart.throw(new _internal.LateError.fieldNI("_springTime")); } set [_springTime](t2) { if (t2 == null) dart.nullFailed(I[0], 94, 15, "null"); this[__BouncingScrollSimulation__springTime_isSet] = true; this[__BouncingScrollSimulation__springTime] = t2; } [_underscrollSimulation](x, dx) { if (x == null) dart.nullFailed(I[0], 97, 44, "x"); if (dx == null) dart.nullFailed(I[0], 97, 54, "dx"); return new spring_simulation.ScrollSpringSimulation.new(this.spring, x, this.leadingExtent, dx); } [_overscrollSimulation](x, dx) { if (x == null) dart.nullFailed(I[0], 101, 43, "x"); if (dx == null) dart.nullFailed(I[0], 101, 53, "dx"); return new spring_simulation.ScrollSpringSimulation.new(this.spring, x, this.trailingExtent, dx); } [_simulation](time) { let t3; if (time == null) dart.nullFailed(I[0], 105, 33, "time"); let simulation = null; if (dart.notNull(time) > dart.notNull(this[_springTime])) { this[_timeOffset] = this[_springTime][$isFinite] ? this[_springTime] : 0.0; simulation = this[_springSimulation]; } else { this[_timeOffset] = 0.0; simulation = this[_frictionSimulation]; } t3 = simulation; return (() => { t3.tolerance = this.tolerance; return t3; })(); } x(time) { if (time == null) dart.nullFailed(I[0], 118, 19, "time"); return this[_simulation](time).x(dart.notNull(time) - dart.notNull(this[_timeOffset])); } dx(time) { if (time == null) dart.nullFailed(I[0], 121, 20, "time"); return this[_simulation](time).dx(dart.notNull(time) - dart.notNull(this[_timeOffset])); } isDone(time) { if (time == null) dart.nullFailed(I[0], 124, 22, "time"); return this[_simulation](time).isDone(dart.notNull(time) - dart.notNull(this[_timeOffset])); } toString() { return dart.str(object.objectRuntimeType(this, "BouncingScrollSimulation")) + "(leadingExtent: " + dart.str(this.leadingExtent) + ", trailingExtent: " + dart.str(this.trailingExtent) + ")"; } }; (scroll_simulation.BouncingScrollSimulation.new = function(opts) { let position = opts && 'position' in opts ? opts.position : null; if (position == null) dart.nullFailed(I[0], 32, 21, "position"); let velocity = opts && 'velocity' in opts ? opts.velocity : null; if (velocity == null) dart.nullFailed(I[0], 33, 21, "velocity"); let leadingExtent = opts && 'leadingExtent' in opts ? opts.leadingExtent : null; if (leadingExtent == null) dart.nullFailed(I[0], 34, 19, "leadingExtent"); let trailingExtent = opts && 'trailingExtent' in opts ? opts.trailingExtent : null; if (trailingExtent == null) dart.nullFailed(I[0], 35, 19, "trailingExtent"); let spring = opts && 'spring' in opts ? opts.spring : null; if (spring == null) dart.nullFailed(I[0], 36, 19, "spring"); let tolerance = opts && 'tolerance' in opts ? opts.tolerance : C[0] || CT.C0; if (tolerance == null) dart.nullFailed(I[0], 37, 15, "tolerance"); this[__BouncingScrollSimulation__frictionSimulation] = null; this[__BouncingScrollSimulation__frictionSimulation_isSet] = false; this[__BouncingScrollSimulation__springSimulation] = null; this[__BouncingScrollSimulation__springSimulation_isSet] = false; this[__BouncingScrollSimulation__springTime] = null; this[__BouncingScrollSimulation__springTime_isSet] = false; this[_timeOffset] = 0.0; this[leadingExtent$] = leadingExtent; this[trailingExtent$] = trailingExtent; this[spring$] = spring; if (!(position != null)) dart.assertFailed(null, I[0], 38, 15, "position != null"); if (!(velocity != null)) dart.assertFailed(null, I[0], 39, 15, "velocity != null"); if (!(leadingExtent != null)) dart.assertFailed(null, I[0], 40, 15, "leadingExtent != null"); if (!(trailingExtent != null)) dart.assertFailed(null, I[0], 41, 15, "trailingExtent != null"); if (!(dart.notNull(leadingExtent) <= dart.notNull(trailingExtent))) dart.assertFailed(null, I[0], 42, 15, "leadingExtent <= trailingExtent"); if (!(spring != null)) dart.assertFailed(null, I[0], 43, 15, "spring != null"); scroll_simulation.BouncingScrollSimulation.__proto__.new.call(this, {tolerance: tolerance}); if (dart.notNull(position) < dart.notNull(this.leadingExtent)) { this[_springSimulation] = this[_underscrollSimulation](position, velocity); this[_springTime] = -1 / 0; } else if (dart.notNull(position) > dart.notNull(this.trailingExtent)) { this[_springSimulation] = this[_overscrollSimulation](position, velocity); this[_springTime] = -1 / 0; } else { this[_frictionSimulation] = new friction_simulation.FrictionSimulation.new(0.135, position, velocity); let finalX = this[_frictionSimulation].finalX; if (dart.notNull(velocity) > 0.0 && dart.notNull(finalX) > dart.notNull(this.trailingExtent)) { this[_springTime] = this[_frictionSimulation].timeAtX(this.trailingExtent); this[_springSimulation] = this[_overscrollSimulation](this.trailingExtent, math.min(core.double, this[_frictionSimulation].dx(this[_springTime]), 5000)); if (!this[_springTime][$isFinite]) dart.assertFailed(null, I[0], 62, 16, "_springTime.isFinite"); } else if (dart.notNull(velocity) < 0.0 && dart.notNull(finalX) < dart.notNull(this.leadingExtent)) { this[_springTime] = this[_frictionSimulation].timeAtX(this.leadingExtent); this[_springSimulation] = this[_underscrollSimulation](this.leadingExtent, math.min(core.double, this[_frictionSimulation].dx(this[_springTime]), 5000)); if (!this[_springTime][$isFinite]) dart.assertFailed(null, I[0], 69, 16, "_springTime.isFinite"); } else { this[_springTime] = 1 / 0; } } if (!(this[_springTime] != null)) dart.assertFailed(null, I[0], 74, 12, "_springTime != null"); }).prototype = scroll_simulation.BouncingScrollSimulation.prototype; dart.addTypeTests(scroll_simulation.BouncingScrollSimulation); dart.addTypeCaches(scroll_simulation.BouncingScrollSimulation); dart.setMethodSignature(scroll_simulation.BouncingScrollSimulation, () => ({ __proto__: dart.getMethods(scroll_simulation.BouncingScrollSimulation.__proto__), [_underscrollSimulation]: dart.fnType(simulation.Simulation, [core.double, core.double]), [_overscrollSimulation]: dart.fnType(simulation.Simulation, [core.double, core.double]), [_simulation]: dart.fnType(simulation.Simulation, [core.double]), x: dart.fnType(core.double, [core.double]), dx: dart.fnType(core.double, [core.double]), isDone: dart.fnType(core.bool, [core.double]) })); dart.setGetterSignature(scroll_simulation.BouncingScrollSimulation, () => ({ __proto__: dart.getGetters(scroll_simulation.BouncingScrollSimulation.__proto__), [_frictionSimulation]: friction_simulation.FrictionSimulation, [_springSimulation]: simulation.Simulation, [_springTime]: core.double })); dart.setSetterSignature(scroll_simulation.BouncingScrollSimulation, () => ({ __proto__: dart.getSetters(scroll_simulation.BouncingScrollSimulation.__proto__), [_frictionSimulation]: friction_simulation.FrictionSimulation, [_springSimulation]: simulation.Simulation, [_springTime]: core.double })); dart.setLibraryUri(scroll_simulation.BouncingScrollSimulation, I[1]); dart.setFieldSignature(scroll_simulation.BouncingScrollSimulation, () => ({ __proto__: dart.getFields(scroll_simulation.BouncingScrollSimulation.__proto__), leadingExtent: dart.finalFieldType(core.double), trailingExtent: dart.finalFieldType(core.double), spring: dart.finalFieldType(spring_simulation.SpringDescription), [__BouncingScrollSimulation__frictionSimulation]: dart.fieldType(dart.nullable(friction_simulation.FrictionSimulation)), [__BouncingScrollSimulation__frictionSimulation_isSet]: dart.fieldType(core.bool), [__BouncingScrollSimulation__springSimulation]: dart.fieldType(dart.nullable(simulation.Simulation)), [__BouncingScrollSimulation__springSimulation_isSet]: dart.fieldType(core.bool), [__BouncingScrollSimulation__springTime]: dart.fieldType(dart.nullable(core.double)), [__BouncingScrollSimulation__springTime_isSet]: dart.fieldType(core.bool), [_timeOffset]: dart.fieldType(core.double) })); dart.defineExtensionMethods(scroll_simulation.BouncingScrollSimulation, ['toString']); dart.defineLazy(scroll_simulation.BouncingScrollSimulation, { /*scroll_simulation.BouncingScrollSimulation.maxSpringTransferVelocity*/get maxSpringTransferVelocity() { return 5000; } }, false); var position$ = dart.privateName(scroll_simulation, "ClampingScrollSimulation.position"); var velocity$ = dart.privateName(scroll_simulation, "ClampingScrollSimulation.velocity"); var friction$ = dart.privateName(scroll_simulation, "ClampingScrollSimulation.friction"); var __ClampingScrollSimulation__duration = dart.privateName(scroll_simulation, "_#ClampingScrollSimulation#_duration"); var __ClampingScrollSimulation__duration_isSet = dart.privateName(scroll_simulation, "_#ClampingScrollSimulation#_duration#isSet"); var __ClampingScrollSimulation__distance = dart.privateName(scroll_simulation, "_#ClampingScrollSimulation#_distance"); var __ClampingScrollSimulation__distance_isSet = dart.privateName(scroll_simulation, "_#ClampingScrollSimulation#_distance#isSet"); var _duration = dart.privateName(scroll_simulation, "_duration"); var _flingDuration = dart.privateName(scroll_simulation, "_flingDuration"); var _distance = dart.privateName(scroll_simulation, "_distance"); scroll_simulation.ClampingScrollSimulation = class ClampingScrollSimulation extends simulation.Simulation { get position() { return this[position$]; } set position(value) { super.position = value; } get velocity() { return this[velocity$]; } set velocity(value) { super.velocity = value; } get friction() { return this[friction$]; } set friction(value) { super.friction = value; } get [_duration]() { let t3; return dart.test(this[__ClampingScrollSimulation__duration_isSet]) ? (t3 = this[__ClampingScrollSimulation__duration], t3) : dart.throw(new _internal.LateError.fieldNI("_duration")); } set [_duration](t3) { if (t3 == null) dart.nullFailed(I[0], 168, 15, "null"); this[__ClampingScrollSimulation__duration_isSet] = true; this[__ClampingScrollSimulation__duration] = t3; } get [_distance]() { let t4; return dart.test(this[__ClampingScrollSimulation__distance_isSet]) ? (t4 = this[__ClampingScrollSimulation__distance], t4) : dart.throw(new _internal.LateError.fieldNI("_distance")); } set [_distance](t4) { if (t4 == null) dart.nullFailed(I[0], 169, 15, "null"); this[__ClampingScrollSimulation__distance_isSet] = true; this[__ClampingScrollSimulation__distance] = t4; } static _decelerationForFriction(friction) { if (friction == null) dart.nullFailed(I[0], 175, 49, "friction"); return dart.notNull(friction) * 61774.04968; } [_flingDuration](velocity) { if (velocity == null) dart.nullFailed(I[0], 180, 32, "velocity"); let scaledFriction = dart.notNull(this.friction) * dart.notNull(scroll_simulation.ClampingScrollSimulation._decelerationForFriction(0.84)); let deceleration = math.log(0.35 * velocity[$abs]() / scaledFriction); return math.exp(deceleration / (dart.notNull(scroll_simulation.ClampingScrollSimulation._kDecelerationRate) - 1.0)); } static _flingDistancePenetration(t) { if (t == null) dart.nullFailed(I[0], 206, 50, "t"); return 1.2 * dart.notNull(t) * dart.notNull(t) * dart.notNull(t) - 3.27 * dart.notNull(t) * dart.notNull(t) + 3.065 * dart.notNull(t); } static _flingVelocityPenetration(t) { if (t == null) dart.nullFailed(I[0], 211, 50, "t"); return 3.6 * dart.notNull(t) * dart.notNull(t) - 6.54 * dart.notNull(t) + 3.065; } x(time) { if (time == null) dart.nullFailed(I[0], 216, 19, "time"); let t = (dart.notNull(time) / dart.notNull(this[_duration]))[$clamp](0.0, 1.0); return dart.notNull(this.position) + dart.notNull(this[_distance]) * dart.notNull(scroll_simulation.ClampingScrollSimulation._flingDistancePenetration(t)) * this.velocity[$sign]; } dx(time) { if (time == null) dart.nullFailed(I[0], 222, 20, "time"); let t = (dart.notNull(time) / dart.notNull(this[_duration]))[$clamp](0.0, 1.0); return dart.notNull(this[_distance]) * dart.notNull(scroll_simulation.ClampingScrollSimulation._flingVelocityPenetration(t)) * this.velocity[$sign] / dart.notNull(this[_duration]); } isDone(time) { if (time == null) dart.nullFailed(I[0], 228, 22, "time"); return dart.notNull(time) >= dart.notNull(this[_duration]); } }; (scroll_simulation.ClampingScrollSimulation.new = function(opts) { let position = opts && 'position' in opts ? opts.position : null; if (position == null) dart.nullFailed(I[0], 146, 19, "position"); let velocity = opts && 'velocity' in opts ? opts.velocity : null; if (velocity == null) dart.nullFailed(I[0], 147, 19, "velocity"); let friction = opts && 'friction' in opts ? opts.friction : 0.015; if (friction == null) dart.nullFailed(I[0], 148, 10, "friction"); let tolerance = opts && 'tolerance' in opts ? opts.tolerance : C[0] || CT.C0; if (tolerance == null) dart.nullFailed(I[0], 149, 15, "tolerance"); this[__ClampingScrollSimulation__duration] = null; this[__ClampingScrollSimulation__duration_isSet] = false; this[__ClampingScrollSimulation__distance] = null; this[__ClampingScrollSimulation__distance_isSet] = false; this[position$] = position; this[velocity$] = velocity; this[friction$] = friction; if (!(scroll_simulation.ClampingScrollSimulation._flingVelocityPenetration(0.0) === 3.065)) dart.assertFailed(null, I[0], 150, 15, "_flingVelocityPenetration(0.0) == _initialVelocityPenetration"); scroll_simulation.ClampingScrollSimulation.__proto__.new.call(this, {tolerance: tolerance}); this[_duration] = this[_flingDuration](this.velocity); this[_distance] = (dart.notNull(this.velocity) * dart.notNull(this[_duration]) / 3.065)[$abs](); }).prototype = scroll_simulation.ClampingScrollSimulation.prototype; dart.addTypeTests(scroll_simulation.ClampingScrollSimulation); dart.addTypeCaches(scroll_simulation.ClampingScrollSimulation); dart.setMethodSignature(scroll_simulation.ClampingScrollSimulation, () => ({ __proto__: dart.getMethods(scroll_simulation.ClampingScrollSimulation.__proto__), [_flingDuration]: dart.fnType(core.double, [core.double]), x: dart.fnType(core.double, [core.double]), dx: dart.fnType(core.double, [core.double]), isDone: dart.fnType(core.bool, [core.double]) })); dart.setGetterSignature(scroll_simulation.ClampingScrollSimulation, () => ({ __proto__: dart.getGetters(scroll_simulation.ClampingScrollSimulation.__proto__), [_duration]: core.double, [_distance]: core.double })); dart.setSetterSignature(scroll_simulation.ClampingScrollSimulation, () => ({ __proto__: dart.getSetters(scroll_simulation.ClampingScrollSimulation.__proto__), [_duration]: core.double, [_distance]: core.double })); dart.setLibraryUri(scroll_simulation.ClampingScrollSimulation, I[1]); dart.setFieldSignature(scroll_simulation.ClampingScrollSimulation, () => ({ __proto__: dart.getFields(scroll_simulation.ClampingScrollSimulation.__proto__), position: dart.finalFieldType(core.double), velocity: dart.finalFieldType(core.double), friction: dart.finalFieldType(core.double), [__ClampingScrollSimulation__duration]: dart.fieldType(dart.nullable(core.double)), [__ClampingScrollSimulation__duration_isSet]: dart.fieldType(core.bool), [__ClampingScrollSimulation__distance]: dart.fieldType(dart.nullable(core.double)), [__ClampingScrollSimulation__distance_isSet]: dart.fieldType(core.bool) })); dart.defineLazy(scroll_simulation.ClampingScrollSimulation, { /*scroll_simulation.ClampingScrollSimulation._kDecelerationRate*/get _kDecelerationRate() { return math.log(0.78) / math.log(0.9); }, /*scroll_simulation.ClampingScrollSimulation._initialVelocityPenetration*/get _initialVelocityPenetration() { return 3.065; } }, false); dart.trackLibraries("packages/flutter/src/widgets/scroll_simulation.dart", { "package:flutter/src/widgets/scroll_simulation.dart": scroll_simulation }, { }, '{"version":3,"sourceRoot":"","sources":["scroll_simulation.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkFe;;;;;;IAIA;;;;;;IAGW;;;;;;;;AAEA;IAAmB;;;AAAnB;;IAAmB;;;AAC3B;IAAiB;;;AAAjB;;IAAiB;;;AACrB;IAAW;;;AAAX;;IAAW;6BAGkB,GAAU;UAAV;UAAU;AACjD,YAAO,kDAAuB,aAAQ,CAAC,EAAE,oBAAe,EAAE;IAC5D;4BAEwC,GAAU;UAAV;UAAU;AAChD,YAAO,kDAAuB,aAAQ,CAAC,EAAE,qBAAgB,EAAE;IAC7D;kBAE8B;;;AACX;AACjB,UAAS,aAAL,IAAI,iBAAG;AAC6C,QAAtD,oBAAc,AAAY,+BAAW,oBAAc;AACrB,QAA9B,aAAa;;AAEI,QAAjB,oBAAc;AACkB,QAAhC,aAAa;;AAEf,WAAO,UAAU;YAAV;AAAY,uBAAY;;;IACjC;;UAGgB;AAAS,YAAA,AAAkB,mBAAN,IAAI,IAAS,aAAL,IAAI,iBAAG;IAAY;;UAG/C;AAAS,YAAA,AAAkB,mBAAN,IAAI,KAAU,aAAL,IAAI,iBAAG;IAAY;;UAG/C;AAAS,YAAA,AAAkB,mBAAN,IAAI,SAAc,aAAL,IAAI,iBAAG;IAAY;;AAItE,YAA+H,UAArH,yBAAkB,MAAM,+BAA4B,8BAAiB,sBAAa,gCAAmB,uBAAc;IAC/H;;;QAjGkB;;QACA;;QACF;;QACA;;QACA;;QACJ;;2DAuDY;;yDACR;;mDACJ;;IACL,oBAAc;IA7DL;IACA;IACA;UAEJ,AAAS,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,iBAAG,CAAC,iBAAG,CAAC,IAAK,AAAK,AAAI,oBAAF,CAAC,iBAAG,CAAC,IAAiC,qBAAE,CAAC;IAC9E;;UAG+C;AAC7C,YAAQ,AAAI,AAAI,AAAK,AAAa,oBAApB,CAAC,iBAAG,CAAC,IAAK,AAAK,oBAAE,CAAC;IAClC;;UAGgB;AACD,cAAuB,CAAb,aAAL,IAAI,iBAAG,0BAAiB,KAAK;AAC/C,YAAgB,cAAT,iBAAqB,AAA+B,aAAzC,gCAAY,qEAA0B,CAAC,KAAI,AAAS;IACxE;;UAGiB;AACF,cAAuB,CAAb,aAAL,IAAI,iBAAG,0BAAiB,KAAK;AAC/C,YAAiB,AAA+B,AAAgB,cAAzD,gCAAY,qEAA0B,CAAC,KAAI,AAAS,oCAAO;IACpE;;UAGmB;AACjB,YAAY,cAAL,IAAI,kBAAI;IACjB;;;QApFgB;;QACA;;QACT;;QACK;;iDAmBA;;iDACA;;IAvBI;IACA;IACT;UAEK,AAA+B,qEAAL;AACjC,oFAAiB,SAAS;AACO,IAApC,kBAAY,qBAAe;AAC2C,IAAtE,kBAAiE,CAA3C,AAAY,aAArB,8BAAW;EAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkBoB,6DAAkB;YAAG,AAAe,UAAN,QAAQ,SAAS;;MAiC/C,sEAA2B","file":"../../../../../../../packages/flutter/src/widgets/scroll_simulation.dart.lib.js"}'); // Exports: return { src__widgets__scroll_simulation: scroll_simulation }; })); //# sourceMappingURL=scroll_simulation.dart.lib.js.map ======= return C[0] = dart.fn(text_selection_toolbar.TextSelectionToolbar._defaultToolbarBuilder, T.BuildContextAndWidgetToWidget()); }, get C3() { return C[3] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "child", [_Location_column]: 7, [_Location_line]: 85, [_Location_file]: null }); }, get C2() { return C[2] = dart.constList([C[3] || CT.C3], T._LocationL()); }, get C1() { return C[1] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[2] || CT.C2, [_Location_name]: null, [_Location_column]: 12, [_Location_line]: 84, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C6() { return C[6] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "isAbove", [_Location_column]: 15, [_Location_line]: 113, [_Location_file]: null }); }, get C7() { return C[7] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "toolbarBuilder", [_Location_column]: 15, [_Location_line]: 114, [_Location_file]: null }); }, get C8() { return C[8] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "children", [_Location_column]: 15, [_Location_line]: 115, [_Location_file]: null }); }, get C5() { return C[5] = dart.constList([C[6] || CT.C6, C[7] || CT.C7, C[8] || CT.C8], T._LocationL()); }, get C4() { return C[4] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[5] || CT.C5, [_Location_name]: null, [_Location_column]: 20, [_Location_line]: 112, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C11() { return C[11] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "delegate", [_Location_column]: 13, [_Location_line]: 107, [_Location_file]: null }); }, get C12() { return C[12] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "child", [_Location_column]: 13, [_Location_line]: 112, [_Location_file]: null }); }, get C10() { return C[10] = dart.constList([C[11] || CT.C11, C[12] || CT.C12], T._LocationL()); }, get C9() { return C[9] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[10] || CT.C10, [_Location_name]: null, [_Location_column]: 11, [_Location_line]: 106, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C15() { return C[15] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "children", [_Location_column]: 9, [_Location_line]: 105, [_Location_file]: null }); }, get C14() { return C[14] = dart.constList([C[15] || CT.C15], T._LocationL()); }, get C13() { return C[13] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[14] || CT.C14, [_Location_name]: null, [_Location_column]: 14, [_Location_line]: 104, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C18() { return C[18] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "padding", [_Location_column]: 7, [_Location_line]: 98, [_Location_file]: null }); }, get C19() { return C[19] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "child", [_Location_column]: 7, [_Location_line]: 104, [_Location_file]: null }); }, get C17() { return C[17] = dart.constList([C[18] || CT.C18, C[19] || CT.C19], T._LocationL()); }, get C16() { return C[16] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[17] || CT.C17, [_Location_name]: null, [_Location_column]: 12, [_Location_line]: 97, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C20() { return C[20] = dart.const({ __proto__: core.Duration.prototype, [Duration__duration]: 140000 }); }, get C23() { return C[23] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "icon", [_Location_column]: 40, [_Location_line]: 207, [_Location_file]: null }); }, get C22() { return C[22] = dart.constList([C[23] || CT.C23], T._LocationL()); }, get C21() { return C[21] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[22] || CT.C22, [_Location_name]: null, [_Location_column]: 21, [_Location_line]: 207, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C26() { return C[26] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "icon", [_Location_column]: 15, [_Location_line]: 207, [_Location_file]: null }); }, get C27() { return C[27] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "onPressed", [_Location_column]: 15, [_Location_line]: 208, [_Location_file]: null }); }, get C28() { return C[28] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "tooltip", [_Location_column]: 15, [_Location_line]: 213, [_Location_file]: null }); }, get C25() { return C[25] = dart.constList([C[26] || CT.C26, C[27] || CT.C27, C[28] || CT.C28], T._LocationL()); }, get C24() { return C[24] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[25] || CT.C25, [_Location_name]: null, [_Location_column]: 13, [_Location_line]: 206, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C31() { return C[31] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "isAbove", [_Location_column]: 11, [_Location_line]: 197, [_Location_file]: null }); }, get C32() { return C[32] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "overflowOpen", [_Location_column]: 11, [_Location_line]: 198, [_Location_file]: null }); }, get C33() { return C[33] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "children", [_Location_column]: 11, [_Location_line]: 199, [_Location_file]: null }); }, get C30() { return C[30] = dart.constList([C[31] || CT.C31, C[32] || CT.C32, C[33] || CT.C33], T._LocationL()); }, get C29() { return C[29] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[30] || CT.C30, [_Location_name]: null, [_Location_column]: 47, [_Location_line]: 196, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C36() { return C[36] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "vsync", [_Location_column]: 9, [_Location_line]: 192, [_Location_file]: null }); }, get C37() { return C[37] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "duration", [_Location_column]: 9, [_Location_line]: 195, [_Location_file]: null }); }, get C38() { return C[38] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "child", [_Location_column]: 9, [_Location_line]: 196, [_Location_file]: null }); }, get C35() { return C[35] = dart.constList([C[36] || CT.C36, C[37] || CT.C37, C[38] || CT.C38], T._LocationL()); }, get C34() { return C[34] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[35] || CT.C35, [_Location_name]: null, [_Location_column]: 14, [_Location_line]: 191, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C41() { return C[41] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "key", [_Location_column]: 7, [_Location_line]: 188, [_Location_file]: null }); }, get C42() { return C[42] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "overflowOpen", [_Location_column]: 7, [_Location_line]: 189, [_Location_file]: null }); }, get C43() { return C[43] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "textDirection", [_Location_column]: 7, [_Location_line]: 190, [_Location_file]: null }); }, get C44() { return C[44] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "child", [_Location_column]: 7, [_Location_line]: 191, [_Location_file]: null }); }, get C40() { return C[40] = dart.constList([C[41] || CT.C41, C[42] || CT.C42, C[43] || CT.C43, C[44] || CT.C44], T._LocationL()); }, get C39() { return C[39] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[40] || CT.C40, [_Location_name]: null, [_Location_column]: 12, [_Location_line]: 187, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C45() { return C[45] = dart.fn(text_selection_toolbar._TextSelectionToolbarItemsLayoutElement._shouldPaint, T.ElementTobool()); }, get C46() { return C[46] = dart.const({ __proto__: ui.Size.prototype, [OffsetBase__dy]: 0, [OffsetBase__dx]: 0 }); }, get C48() { return C[48] = dart.const({ __proto__: ui.Radius.prototype, [Radius_y]: 7, [Radius_x]: 7 }); }, get C47() { return C[47] = dart.const({ __proto__: border_radius.BorderRadius.prototype, [BorderRadius_bottomRight]: C[48] || CT.C48, [BorderRadius_bottomLeft]: C[48] || CT.C48, [BorderRadius_topRight]: C[48] || CT.C48, [BorderRadius_topLeft]: C[48] || CT.C48 }); }, get C51() { return C[51] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "borderRadius", [_Location_column]: 7, [_Location_line]: 657, [_Location_file]: null }); }, get C52() { return C[52] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "clipBehavior", [_Location_column]: 7, [_Location_line]: 658, [_Location_file]: null }); }, get C53() { return C[53] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "elevation", [_Location_column]: 7, [_Location_line]: 659, [_Location_file]: null }); }, get C54() { return C[54] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "type", [_Location_column]: 7, [_Location_line]: 660, [_Location_file]: null }); }, get C55() { return C[55] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "child", [_Location_column]: 7, [_Location_line]: 661, [_Location_file]: null }); }, get C50() { return C[50] = dart.constList([C[51] || CT.C51, C[52] || CT.C52, C[53] || CT.C53, C[54] || CT.C54, C[55] || CT.C55], T._LocationL()); }, get C49() { return C[49] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[50] || CT.C50, [_Location_name]: null, [_Location_column]: 12, [_Location_line]: 654, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C56() { return C[56] = dart.const({ __proto__: ui.Color.prototype, [Color_value]: 0 }); }, get C59() { return C[59] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "icon", [_Location_column]: 9, [_Location_line]: 689, [_Location_file]: null }); }, get C60() { return C[60] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "onPressed", [_Location_column]: 9, [_Location_line]: 690, [_Location_file]: null }); }, get C61() { return C[61] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "tooltip", [_Location_column]: 9, [_Location_line]: 691, [_Location_file]: null }); }, get C58() { return C[58] = dart.constList([C[59] || CT.C59, C[60] || CT.C60, C[61] || CT.C61], T._LocationL()); }, get C57() { return C[57] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[58] || CT.C58, [_Location_name]: null, [_Location_column]: 14, [_Location_line]: 685, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); }, get C64() { return C[64] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "type", [_Location_column]: 7, [_Location_line]: 683, [_Location_file]: null }); }, get C65() { return C[65] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "color", [_Location_column]: 7, [_Location_line]: 684, [_Location_file]: null }); }, get C66() { return C[66] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: null, [_Location_name]: "child", [_Location_column]: 7, [_Location_line]: 685, [_Location_file]: null }); }, get C63() { return C[63] = dart.constList([C[64] || CT.C64, C[65] || CT.C65, C[66] || CT.C66], T._LocationL()); }, get C62() { return C[62] = dart.const({ __proto__: widget_inspector._Location.prototype, [_Location_parameterLocations]: C[63] || CT.C63, [_Location_name]: null, [_Location_column]: 12, [_Location_line]: 682, [_Location_file]: "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart" }); } }, false); var C = Array(67).fill(void 0); var I = [ "file:///C:/Users/Luca/Documents/flutter/flutter_windows_1.22.5-stable/flutter/packages/flutter/lib/src/material/text_selection_toolbar.dart", "package:flutter/src/material/text_selection_toolbar.dart" ]; var anchorAbove$ = dart.privateName(text_selection_toolbar, "TextSelectionToolbar.anchorAbove"); var anchorBelow$ = dart.privateName(text_selection_toolbar, "TextSelectionToolbar.anchorBelow"); var children$ = dart.privateName(text_selection_toolbar, "TextSelectionToolbar.children"); var toolbarBuilder$ = dart.privateName(text_selection_toolbar, "TextSelectionToolbar.toolbarBuilder"); var _Location_parameterLocations = dart.privateName(widget_inspector, "_Location.parameterLocations"); var _Location_name = dart.privateName(widget_inspector, "_Location.name"); var _Location_column = dart.privateName(widget_inspector, "_Location.column"); var _Location_line = dart.privateName(widget_inspector, "_Location.line"); var _Location_file = dart.privateName(widget_inspector, "_Location.file"); text_selection_toolbar.TextSelectionToolbar = class TextSelectionToolbar extends framework.StatelessWidget { get anchorAbove() { return this[anchorAbove$]; } set anchorAbove(value) { super.anchorAbove = value; } get anchorBelow() { return this[anchorBelow$]; } set anchorBelow(value) { super.anchorBelow = value; } get children() { return this[children$]; } set children(value) { super.children = value; } get toolbarBuilder() { return this[toolbarBuilder$]; } set toolbarBuilder(value) { super.toolbarBuilder = value; } static _defaultToolbarBuilder(context, child) { if (context == null) dart.nullFailed(I[0], 83, 53, "context"); if (child == null) dart.nullFailed(I[0], 83, 69, "child"); return new text_selection_toolbar._TextSelectionToolbarContainer.new({child: child, $creationLocationd_0dea112b090073317d4: C[1] || CT.C1}); } build(context) { if (context == null) dart.nullFailed(I[0], 90, 29, "context"); let paddingAbove = dart.notNull(media_query.MediaQuery.of(context).padding.top) + 8; let availableHeight = dart.notNull(this.anchorAbove.dy) - paddingAbove; let fitsAbove = 44 <= availableHeight; let localAdjustment = new ui.Offset.new(8, paddingAbove); return new basic.Padding.new({padding: new edge_insets.EdgeInsets.fromLTRB(8, paddingAbove, 8, 8), child: new basic.Stack.new({children: T.JSArrayOfWidget().of([new basic.CustomSingleChildLayout.new({delegate: new text_selection_toolbar_layout_delegate.TextSelectionToolbarLayoutDelegate.new({anchorAbove: this.anchorAbove['-'](localAdjustment), anchorBelow: this.anchorBelow['-'](localAdjustment), fitsAbove: fitsAbove}), child: new text_selection_toolbar._TextSelectionToolbarOverflowable.new({isAbove: fitsAbove, toolbarBuilder: this.toolbarBuilder, children: this.children, $creationLocationd_0dea112b090073317d4: C[4] || CT.C4}), $creationLocationd_0dea112b090073317d4: C[9] || CT.C9})]), $creationLocationd_0dea112b090073317d4: C[13] || CT.C13}), $creationLocationd_0dea112b090073317d4: C[16] || CT.C16}); } }; (text_selection_toolbar.TextSelectionToolbar.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; let anchorAbove = opts && 'anchorAbove' in opts ? opts.anchorAbove : null; if (anchorAbove == null) dart.nullFailed(I[0], 40, 19, "anchorAbove"); let anchorBelow = opts && 'anchorBelow' in opts ? opts.anchorBelow : null; if (anchorBelow == null) dart.nullFailed(I[0], 41, 19, "anchorBelow"); let toolbarBuilder = opts && 'toolbarBuilder' in opts ? opts.toolbarBuilder : C[0] || CT.C0; if (toolbarBuilder == null) dart.nullFailed(I[0], 42, 10, "toolbarBuilder"); let children = opts && 'children' in opts ? opts.children : null; if (children == null) dart.nullFailed(I[0], 43, 19, "children"); let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null; this[anchorAbove$] = anchorAbove; this[anchorBelow$] = anchorBelow; this[toolbarBuilder$] = toolbarBuilder; this[children$] = children; if (!(dart.notNull(children[$length]) > 0)) dart.assertFailed(null, I[0], 44, 15, "children.length > 0"); text_selection_toolbar.TextSelectionToolbar.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4}); ; }).prototype = text_selection_toolbar.TextSelectionToolbar.prototype; dart.addTypeTests(text_selection_toolbar.TextSelectionToolbar); dart.addTypeCaches(text_selection_toolbar.TextSelectionToolbar); dart.setMethodSignature(text_selection_toolbar.TextSelectionToolbar, () => ({ __proto__: dart.getMethods(text_selection_toolbar.TextSelectionToolbar.__proto__), build: dart.fnType(framework.Widget, [framework.BuildContext]) })); dart.setLibraryUri(text_selection_toolbar.TextSelectionToolbar, I[1]); dart.setFieldSignature(text_selection_toolbar.TextSelectionToolbar, () => ({ __proto__: dart.getFields(text_selection_toolbar.TextSelectionToolbar.__proto__), anchorAbove: dart.finalFieldType(ui.Offset), anchorBelow: dart.finalFieldType(ui.Offset), children: dart.finalFieldType(core.List$(framework.Widget)), toolbarBuilder: dart.finalFieldType(dart.fnType(framework.Widget, [framework.BuildContext, framework.Widget])) })); var children$0 = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarOverflowable.children"); var isAbove$ = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarOverflowable.isAbove"); var toolbarBuilder$0 = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarOverflowable.toolbarBuilder"); text_selection_toolbar._TextSelectionToolbarOverflowable = class _TextSelectionToolbarOverflowable extends framework.StatefulWidget { get children() { return this[children$0]; } set children(value) { super.children = value; } get isAbove() { return this[isAbove$]; } set isAbove(value) { super.isAbove = value; } get toolbarBuilder() { return this[toolbarBuilder$0]; } set toolbarBuilder(value) { super.toolbarBuilder = value; } createState() { return new text_selection_toolbar._TextSelectionToolbarOverflowableState.new(); } }; (text_selection_toolbar._TextSelectionToolbarOverflowable.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; let isAbove = opts && 'isAbove' in opts ? opts.isAbove : null; if (isAbove == null) dart.nullFailed(I[0], 130, 19, "isAbove"); let toolbarBuilder = opts && 'toolbarBuilder' in opts ? opts.toolbarBuilder : null; if (toolbarBuilder == null) dart.nullFailed(I[0], 131, 19, "toolbarBuilder"); let children = opts && 'children' in opts ? opts.children : null; if (children == null) dart.nullFailed(I[0], 132, 19, "children"); let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null; this[isAbove$] = isAbove; this[toolbarBuilder$0] = toolbarBuilder; this[children$0] = children; if (!(dart.notNull(children[$length]) > 0)) dart.assertFailed(null, I[0], 133, 15, "children.length > 0"); text_selection_toolbar._TextSelectionToolbarOverflowable.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4}); ; }).prototype = text_selection_toolbar._TextSelectionToolbarOverflowable.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarOverflowable); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarOverflowable); dart.setMethodSignature(text_selection_toolbar._TextSelectionToolbarOverflowable, () => ({ __proto__: dart.getMethods(text_selection_toolbar._TextSelectionToolbarOverflowable.__proto__), createState: dart.fnType(text_selection_toolbar._TextSelectionToolbarOverflowableState, []) })); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarOverflowable, I[1]); dart.setFieldSignature(text_selection_toolbar._TextSelectionToolbarOverflowable, () => ({ __proto__: dart.getFields(text_selection_toolbar._TextSelectionToolbarOverflowable.__proto__), children: dart.finalFieldType(core.List$(framework.Widget)), isAbove: dart.finalFieldType(core.bool), toolbarBuilder: dart.finalFieldType(dart.fnType(framework.Widget, [framework.BuildContext, framework.Widget])) })); var _overflowOpen = dart.privateName(text_selection_toolbar, "_overflowOpen"); var _containerKey = dart.privateName(text_selection_toolbar, "_containerKey"); var _reset = dart.privateName(text_selection_toolbar, "_reset"); var Duration__duration = dart.privateName(core, "Duration._duration"); const State_TickerProviderStateMixin$36 = class State_TickerProviderStateMixin extends framework.State$(text_selection_toolbar._TextSelectionToolbarOverflowable) {}; (State_TickerProviderStateMixin$36.new = function() { ticker_provider.TickerProviderStateMixin$(text_selection_toolbar._TextSelectionToolbarOverflowable)[dart.mixinNew].call(this); State_TickerProviderStateMixin$36.__proto__.new.call(this); }).prototype = State_TickerProviderStateMixin$36.prototype; dart.applyMixin(State_TickerProviderStateMixin$36, ticker_provider.TickerProviderStateMixin$(text_selection_toolbar._TextSelectionToolbarOverflowable)); text_selection_toolbar._TextSelectionToolbarOverflowableState = class _TextSelectionToolbarOverflowableState extends State_TickerProviderStateMixin$36 { [_reset]() { this[_containerKey] = new framework.UniqueKey.new(); this[_overflowOpen] = false; } didUpdateWidget(oldWidget) { text_selection_toolbar._TextSelectionToolbarOverflowable.as(oldWidget); if (oldWidget == null) dart.nullFailed(I[0], 174, 58, "oldWidget"); super.didUpdateWidget(oldWidget); if (!dart.test(collections.listEquals(framework.Widget, this.widget.children, oldWidget.children))) { this[_reset](); } } build(context) { let t3, t2, t1; if (context == null) dart.nullFailed(I[0], 183, 29, "context"); if (!dart.test(debug.debugCheckHasMaterialLocalizations(context))) dart.assertFailed(null, I[0], 184, 12, "debugCheckHasMaterialLocalizations(context)"); let localizations = material_localizations.MaterialLocalizations.of(context); return new text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign.new({key: this[_containerKey], overflowOpen: this[_overflowOpen], textDirection: basic.Directionality.of(context), child: new animated_size.AnimatedSize.new({vsync: this, duration: C[20] || CT.C20, child: (t1 = this.widget, t2 = context, t3 = new text_selection_toolbar._TextSelectionToolbarItemsLayout.new({isAbove: this.widget.isAbove, overflowOpen: this[_overflowOpen], children: (() => { let t0 = T.JSArrayOfWidget().of([new text_selection_toolbar._TextSelectionToolbarOverflowButton.new({icon: new icon.Icon.new(dart.test(this[_overflowOpen]) ? icons.Icons.arrow_back : icons.Icons.more_vert, {$creationLocationd_0dea112b090073317d4: C[21] || CT.C21}), onPressed: dart.fn(() => { this.setState(dart.fn(() => { this[_overflowOpen] = !dart.test(this[_overflowOpen]); }, T.VoidTovoid())); }, T.VoidTovoid()), tooltip: dart.test(this[_overflowOpen]) ? localizations.backButtonTooltip : localizations.moreButtonTooltip, $creationLocationd_0dea112b090073317d4: C[24] || CT.C24})]); t0[$addAll](this.widget.children); return t0; })(), $creationLocationd_0dea112b090073317d4: C[29] || CT.C29}), t1.toolbarBuilder(t2, t3)), $creationLocationd_0dea112b090073317d4: C[34] || CT.C34}), $creationLocationd_0dea112b090073317d4: C[39] || CT.C39}); } }; (text_selection_toolbar._TextSelectionToolbarOverflowableState.new = function() { this[_overflowOpen] = false; this[_containerKey] = new framework.UniqueKey.new(); text_selection_toolbar._TextSelectionToolbarOverflowableState.__proto__.new.call(this); ; }).prototype = text_selection_toolbar._TextSelectionToolbarOverflowableState.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarOverflowableState); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarOverflowableState); dart.setMethodSignature(text_selection_toolbar._TextSelectionToolbarOverflowableState, () => ({ __proto__: dart.getMethods(text_selection_toolbar._TextSelectionToolbarOverflowableState.__proto__), [_reset]: dart.fnType(dart.void, []), build: dart.fnType(framework.Widget, [framework.BuildContext]) })); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarOverflowableState, I[1]); dart.setFieldSignature(text_selection_toolbar._TextSelectionToolbarOverflowableState, () => ({ __proto__: dart.getFields(text_selection_toolbar._TextSelectionToolbarOverflowableState.__proto__), [_overflowOpen]: dart.fieldType(core.bool), [_containerKey]: dart.fieldType(framework.UniqueKey) })); var overflowOpen$ = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarTrailingEdgeAlign.overflowOpen"); var textDirection$ = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarTrailingEdgeAlign.textDirection"); text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign = class _TextSelectionToolbarTrailingEdgeAlign extends framework.SingleChildRenderObjectWidget { get overflowOpen() { return this[overflowOpen$]; } set overflowOpen(value) { super.overflowOpen = value; } get textDirection() { return this[textDirection$]; } set textDirection(value) { super.textDirection = value; } createRenderObject(context) { if (context == null) dart.nullFailed(I[0], 243, 83, "context"); return new text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.new({overflowOpen: this.overflowOpen, textDirection: this.textDirection}); } updateRenderObject(context, renderObject) { let t1; if (context == null) dart.nullFailed(I[0], 251, 40, "context"); text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.as(renderObject); if (renderObject == null) dart.nullFailed(I[0], 251, 97, "renderObject"); t1 = renderObject; (() => { t1.overflowOpen = this.overflowOpen; t1.textDirection = this.textDirection; return t1; })(); } }; (text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; let child = opts && 'child' in opts ? opts.child : null; if (child == null) dart.nullFailed(I[0], 232, 21, "child"); let overflowOpen = opts && 'overflowOpen' in opts ? opts.overflowOpen : null; if (overflowOpen == null) dart.nullFailed(I[0], 233, 19, "overflowOpen"); let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null; if (textDirection == null) dart.nullFailed(I[0], 234, 19, "textDirection"); let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null; this[overflowOpen$] = overflowOpen; this[textDirection$] = textDirection; if (!(child != null)) dart.assertFailed(null, I[0], 235, 15, "child != null"); if (!(overflowOpen != null)) dart.assertFailed(null, I[0], 236, 15, "overflowOpen != null"); text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign.__proto__.new.call(this, {key: key, child: child, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4}); ; }).prototype = text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign); dart.setMethodSignature(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign, () => ({ __proto__: dart.getMethods(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign.__proto__), createRenderObject: dart.fnType(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox, [framework.BuildContext]) })); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign, I[1]); dart.setFieldSignature(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign, () => ({ __proto__: dart.getFields(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlign.__proto__), overflowOpen: dart.finalFieldType(core.bool), textDirection: dart.finalFieldType(ui.TextDirection) })); var _closedWidth = dart.privateName(text_selection_toolbar, "_closedWidth"); var _textDirection = dart.privateName(text_selection_toolbar, "_textDirection"); text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox = class _TextSelectionToolbarTrailingEdgeAlignRenderBox extends proxy_box.RenderProxyBox { get overflowOpen() { return this[_overflowOpen]; } set overflowOpen(value) { if (value == null) dart.nullFailed(I[0], 273, 25, "value"); if (value == this.overflowOpen) { return; } this[_overflowOpen] = value; this.markNeedsLayout(); } get textDirection() { return this[_textDirection]; } set textDirection(value) { if (value == null) dart.nullFailed(I[0], 283, 35, "value"); if (value == this.textDirection) { return; } this[_textDirection] = value; this.markNeedsLayout(); } performLayout() { dart.nullCheck(this.child).layout(this.constraints.loosen(), {parentUsesSize: true}); if (!dart.test(this.overflowOpen) && this[_closedWidth] == null) { this[_closedWidth] = dart.nullCheck(this.child).size.width; } this.size = this.constraints.constrain(new ui.Size.new(this[_closedWidth] == null || dart.notNull(dart.nullCheck(this.child).size.width) > dart.nullCheck(this[_closedWidth]) ? dart.nullCheck(this.child).size.width : dart.nullCheck(this[_closedWidth]), dart.nullCheck(this.child).size.height)); let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(dart.nullCheck(this.child).parentData)); childParentData.offset = new ui.Offset.new(this.textDirection == ui.TextDirection.rtl ? 0.0 : dart.notNull(this.size.width) - dart.notNull(dart.nullCheck(this.child).size.width), 0.0); } paint(context, offset) { if (context == null) dart.nullFailed(I[0], 323, 30, "context"); if (offset == null) dart.nullFailed(I[0], 323, 46, "offset"); let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(dart.nullCheck(this.child).parentData)); context.paintChild(dart.nullCheck(this.child), childParentData.offset['+'](offset)); } hitTestChildren(result, opts) { if (result == null) dart.nullFailed(I[0], 330, 41, "result"); let position = opts && 'position' in opts ? opts.position : null; if (position == null) dart.nullFailed(I[0], 330, 67, "position"); let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(dart.nullCheck(this.child).parentData)); return result.addWithPaintOffset({offset: childParentData.offset, position: position, hitTest: dart.fn((result, transformed) => { if (result == null) dart.nullFailed(I[0], 336, 34, "result"); if (transformed == null) dart.nullFailed(I[0], 336, 49, "transformed"); if (!dart.equals(transformed, position['-'](childParentData.offset))) dart.assertFailed(null, I[0], 337, 16, "transformed == position - childParentData.offset"); return dart.nullCheck(this.child).hitTest(result, {position: transformed}); }, T.BoxHitTestResultAndOffsetTobool())}); } setupParentData(child) { box.RenderBox.as(child); if (child == null) dart.nullFailed(I[0], 344, 34, "child"); if (!text_selection.ToolbarItemsParentData.is(child.parentData)) { child.parentData = new text_selection.ToolbarItemsParentData.new(); } } applyPaintTransform(child, transform) { object.RenderObject.as(child); if (child == null) dart.nullFailed(I[0], 351, 41, "child"); if (transform == null) dart.nullFailed(I[0], 351, 56, "transform"); let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(child.parentData)); transform.translate(childParentData.offset.dx, childParentData.offset.dy); super.applyPaintTransform(child, transform); } }; (text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.new = function(opts) { let overflowOpen = opts && 'overflowOpen' in opts ? opts.overflowOpen : null; if (overflowOpen == null) dart.nullFailed(I[0], 260, 19, "overflowOpen"); let textDirection = opts && 'textDirection' in opts ? opts.textDirection : null; if (textDirection == null) dart.nullFailed(I[0], 261, 28, "textDirection"); this[_closedWidth] = null; this[_textDirection] = textDirection; this[_overflowOpen] = overflowOpen; text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.__proto__.new.call(this); ; }).prototype = text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox); dart.setGetterSignature(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox, () => ({ __proto__: dart.getGetters(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.__proto__), overflowOpen: core.bool, textDirection: ui.TextDirection })); dart.setSetterSignature(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox, () => ({ __proto__: dart.getSetters(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.__proto__), overflowOpen: core.bool, textDirection: ui.TextDirection })); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox, I[1]); dart.setFieldSignature(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox, () => ({ __proto__: dart.getFields(text_selection_toolbar._TextSelectionToolbarTrailingEdgeAlignRenderBox.__proto__), [_closedWidth]: dart.fieldType(dart.nullable(core.double)), [_overflowOpen]: dart.fieldType(core.bool), [_textDirection]: dart.fieldType(ui.TextDirection) })); text_selection_toolbar._TextSelectionToolbarItemsLayout = class _TextSelectionToolbarItemsLayout extends framework.MultiChildRenderObjectWidget { createRenderObject(context) { if (context == null) dart.nullFailed(I[0], 375, 74, "context"); return new text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.new({isAbove: this.isAbove, overflowOpen: this.overflowOpen}); } updateRenderObject(context, renderObject) { let t1; if (context == null) dart.nullFailed(I[0], 383, 40, "context"); text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.as(renderObject); if (renderObject == null) dart.nullFailed(I[0], 383, 88, "renderObject"); t1 = renderObject; (() => { t1.isAbove = this.isAbove; t1.overflowOpen = this.overflowOpen; return t1; })(); } createElement() { return new text_selection_toolbar._TextSelectionToolbarItemsLayoutElement.new(this); } }; (text_selection_toolbar._TextSelectionToolbarItemsLayout.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; let isAbove = opts && 'isAbove' in opts ? opts.isAbove : null; if (isAbove == null) dart.nullFailed(I[0], 363, 19, "isAbove"); let overflowOpen = opts && 'overflowOpen' in opts ? opts.overflowOpen : null; if (overflowOpen == null) dart.nullFailed(I[0], 364, 19, "overflowOpen"); let children = opts && 'children' in opts ? opts.children : null; if (children == null) dart.nullFailed(I[0], 365, 27, "children"); let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null; this.isAbove = isAbove; this.overflowOpen = overflowOpen; if (!(children != null)) dart.assertFailed(null, I[0], 366, 15, "children != null"); if (!(isAbove != null)) dart.assertFailed(null, I[0], 367, 15, "isAbove != null"); if (!(overflowOpen != null)) dart.assertFailed(null, I[0], 368, 15, "overflowOpen != null"); text_selection_toolbar._TextSelectionToolbarItemsLayout.__proto__.new.call(this, {key: key, children: children, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4}); ; }).prototype = text_selection_toolbar._TextSelectionToolbarItemsLayout.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarItemsLayout); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarItemsLayout); dart.setMethodSignature(text_selection_toolbar._TextSelectionToolbarItemsLayout, () => ({ __proto__: dart.getMethods(text_selection_toolbar._TextSelectionToolbarItemsLayout.__proto__), createRenderObject: dart.fnType(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout, [framework.BuildContext]), createElement: dart.fnType(text_selection_toolbar._TextSelectionToolbarItemsLayoutElement, []) })); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarItemsLayout, I[1]); dart.setFieldSignature(text_selection_toolbar._TextSelectionToolbarItemsLayout, () => ({ __proto__: dart.getFields(text_selection_toolbar._TextSelectionToolbarItemsLayout.__proto__), isAbove: dart.finalFieldType(core.bool), overflowOpen: dart.finalFieldType(core.bool) })); text_selection_toolbar._TextSelectionToolbarItemsLayoutElement = class _TextSelectionToolbarItemsLayoutElement extends framework.MultiChildRenderObjectElement { static _shouldPaint(child) { if (child == null) dart.nullFailed(I[0], 398, 36, "child"); return text_selection.ToolbarItemsParentData.as(dart.nullCheck(dart.nullCheck(child.renderObject).parentData)).shouldPaint; } debugVisitOnstageChildren(visitor) { if (visitor == null) dart.nullFailed(I[0], 403, 49, "visitor"); this.children[$where](C[45] || CT.C45)[$forEach](visitor); } }; (text_selection_toolbar._TextSelectionToolbarItemsLayoutElement.new = function(widget) { if (widget == null) dart.nullFailed(I[0], 395, 34, "widget"); text_selection_toolbar._TextSelectionToolbarItemsLayoutElement.__proto__.new.call(this, widget); ; }).prototype = text_selection_toolbar._TextSelectionToolbarItemsLayoutElement.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarItemsLayoutElement); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarItemsLayoutElement); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarItemsLayoutElement, I[1]); var _lastIndexThatFits = dart.privateName(text_selection_toolbar, "_lastIndexThatFits"); var _isAbove = dart.privateName(text_selection_toolbar, "_isAbove"); var _layoutChildren = dart.privateName(text_selection_toolbar, "_layoutChildren"); var _shouldPaintChild = dart.privateName(text_selection_toolbar, "_shouldPaintChild"); var OffsetBase__dy = dart.privateName(ui, "OffsetBase._dy"); var OffsetBase__dx = dart.privateName(ui, "OffsetBase._dx"); var _placeChildren = dart.privateName(text_selection_toolbar, "_placeChildren"); const RenderBox_ContainerRenderObjectMixin$36 = class RenderBox_ContainerRenderObjectMixin extends box.RenderBox {}; (RenderBox_ContainerRenderObjectMixin$36.new = function() { object.ContainerRenderObjectMixin$(box.RenderBox, text_selection.ToolbarItemsParentData)[dart.mixinNew].call(this); RenderBox_ContainerRenderObjectMixin$36.__proto__.new.call(this); }).prototype = RenderBox_ContainerRenderObjectMixin$36.prototype; dart.applyMixin(RenderBox_ContainerRenderObjectMixin$36, object.ContainerRenderObjectMixin$(box.RenderBox, text_selection.ToolbarItemsParentData)); text_selection_toolbar._RenderTextSelectionToolbarItemsLayout = class _RenderTextSelectionToolbarItemsLayout extends RenderBox_ContainerRenderObjectMixin$36 { get isAbove() { return this[_isAbove]; } set isAbove(value) { if (value == null) dart.nullFailed(I[0], 423, 20, "value"); if (value == this.isAbove) { return; } this[_isAbove] = value; this.markNeedsLayout(); } get overflowOpen() { return this[_overflowOpen]; } set overflowOpen(value) { if (value == null) dart.nullFailed(I[0], 433, 25, "value"); if (value == this.overflowOpen) { return; } this[_overflowOpen] = value; this.markNeedsLayout(); } [_layoutChildren]() { let sizedConstraints = dart.test(this[_overflowOpen]) ? this.constraints : new box.BoxConstraints.loose(new ui.Size.new(this.constraints.maxWidth, 44)); let i = -1; let width = 0.0; this.visitChildren(dart.fn(renderObjectChild => { if (renderObjectChild == null) dart.nullFailed(I[0], 454, 33, "renderObjectChild"); i = i + 1; if (this[_lastIndexThatFits] !== -1 && !dart.test(this.overflowOpen)) { return; } let child = box.RenderBox.as(renderObjectChild); child.layout(sizedConstraints.loosen(), {parentUsesSize: true}); width = width + dart.notNull(child.size.width); if (width > dart.notNull(sizedConstraints.maxWidth) && this[_lastIndexThatFits] === -1) { this[_lastIndexThatFits] = i - 1; } }, T.RenderObjectTovoid())); let navButton = dart.nullCheck(this.firstChild); if (this[_lastIndexThatFits] !== -1 && this[_lastIndexThatFits] === dart.notNull(this.childCount) - 2 && width - dart.notNull(navButton.size.width) <= dart.notNull(sizedConstraints.maxWidth)) { this[_lastIndexThatFits] = -1; } } [_shouldPaintChild](renderObjectChild, index) { if (renderObjectChild == null) dart.nullFailed(I[0], 485, 39, "renderObjectChild"); if (index == null) dart.nullFailed(I[0], 485, 62, "index"); if (dart.equals(renderObjectChild, this.firstChild)) { return this[_lastIndexThatFits] !== -1; } if (this[_lastIndexThatFits] === -1) { return true; } return dart.notNull(index) > dart.notNull(this[_lastIndexThatFits]) === this.overflowOpen; } [_placeChildren]() { let i = -1; let nextSize = C[46] || CT.C46; let fitWidth = 0.0; let navButton = dart.nullCheck(this.firstChild); let overflowHeight = dart.test(this.overflowOpen) && !dart.test(this.isAbove) ? navButton.size.height : 0.0; this.visitChildren(dart.fn(renderObjectChild => { if (renderObjectChild == null) dart.nullFailed(I[0], 511, 33, "renderObjectChild"); i = i + 1; let child = box.RenderBox.as(renderObjectChild); let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(child.parentData)); if (dart.equals(renderObjectChild, navButton)) { return; } if (!dart.test(this[_shouldPaintChild](renderObjectChild, i))) { childParentData.shouldPaint = false; return; } childParentData.shouldPaint = true; if (!dart.test(this.overflowOpen)) { childParentData.offset = new ui.Offset.new(fitWidth, 0.0); fitWidth = fitWidth + dart.notNull(child.size.width); nextSize = new ui.Size.new(fitWidth, math.max(core.double, child.size.height, nextSize.height)); } else { childParentData.offset = new ui.Offset.new(0.0, overflowHeight); overflowHeight = dart.notNull(overflowHeight) + dart.notNull(child.size.height); nextSize = new ui.Size.new(math.max(core.double, child.size.width, nextSize.width), overflowHeight); } }, T.RenderObjectTovoid())); let navButtonParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(navButton.parentData)); if (dart.test(this[_shouldPaintChild](dart.nullCheck(this.firstChild), 0))) { navButtonParentData.shouldPaint = true; if (dart.test(this.overflowOpen)) { navButtonParentData.offset = dart.test(this.isAbove) ? new ui.Offset.new(0.0, overflowHeight) : ui.Offset.zero; nextSize = new ui.Size.new(nextSize.width, dart.test(this.isAbove) ? dart.notNull(nextSize.height) + dart.notNull(navButton.size.height) : nextSize.height); } else { navButtonParentData.offset = new ui.Offset.new(fitWidth, 0.0); nextSize = new ui.Size.new(dart.notNull(nextSize.width) + dart.notNull(navButton.size.width), nextSize.height); } } else { navButtonParentData.shouldPaint = false; } this.size = nextSize; } performLayout() { this[_lastIndexThatFits] = -1; if (this.firstChild == null) { this.size = this.constraints.smallest; return; } this[_layoutChildren](); this[_placeChildren](); } paint(context, offset) { if (context == null) dart.nullFailed(I[0], 582, 30, "context"); if (offset == null) dart.nullFailed(I[0], 582, 46, "offset"); this.visitChildren(dart.fn(renderObjectChild => { if (renderObjectChild == null) dart.nullFailed(I[0], 583, 33, "renderObjectChild"); let child = box.RenderBox.as(renderObjectChild); let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(child.parentData)); if (!dart.test(childParentData.shouldPaint)) { return; } context.paintChild(child, childParentData.offset['+'](offset)); }, T.RenderObjectTovoid())); } setupParentData(child) { box.RenderBox.as(child); if (child == null) dart.nullFailed(I[0], 595, 34, "child"); if (!text_selection.ToolbarItemsParentData.is(child.parentData)) { child.parentData = new text_selection.ToolbarItemsParentData.new(); } } hitTestChildren(result, opts) { if (result == null) dart.nullFailed(I[0], 602, 41, "result"); let position = opts && 'position' in opts ? opts.position : null; if (position == null) dart.nullFailed(I[0], 602, 67, "position"); let child = this.lastChild; while (child != null) { let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(child.parentData)); if (!dart.test(childParentData.shouldPaint)) { child = childParentData.previousSibling; continue; } let isHit = result.addWithPaintOffset({offset: childParentData.offset, position: position, hitTest: dart.fn((result, transformed) => { if (result == null) dart.nullFailed(I[0], 617, 36, "result"); if (transformed == null) dart.nullFailed(I[0], 617, 51, "transformed"); if (!dart.equals(transformed, position['-'](childParentData.offset))) dart.assertFailed(null, I[0], 618, 18, "transformed == position - childParentData.offset"); return dart.nullCheck(child).hitTest(result, {position: transformed}); }, T.BoxHitTestResultAndOffsetTobool())}); if (dart.test(isHit)) return true; child = childParentData.previousSibling; } return false; } visitChildrenForSemantics(visitor) { if (visitor == null) dart.nullFailed(I[0], 631, 54, "visitor"); this.visitChildren(dart.fn(renderObjectChild => { if (renderObjectChild == null) dart.nullFailed(I[0], 632, 33, "renderObjectChild"); let child = box.RenderBox.as(renderObjectChild); let childParentData = text_selection.ToolbarItemsParentData.as(dart.nullCheck(child.parentData)); if (dart.test(childParentData.shouldPaint)) { visitor(renderObjectChild); } }, T.RenderObjectTovoid())); } }; (text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.new = function(opts) { let isAbove = opts && 'isAbove' in opts ? opts.isAbove : null; if (isAbove == null) dart.nullFailed(I[0], 410, 19, "isAbove"); let overflowOpen = opts && 'overflowOpen' in opts ? opts.overflowOpen : null; if (overflowOpen == null) dart.nullFailed(I[0], 411, 19, "overflowOpen"); this[_lastIndexThatFits] = -1; if (!(overflowOpen != null)) dart.assertFailed(null, I[0], 412, 15, "overflowOpen != null"); if (!(isAbove != null)) dart.assertFailed(null, I[0], 413, 15, "isAbove != null"); this[_isAbove] = isAbove; this[_overflowOpen] = overflowOpen; text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.__proto__.new.call(this); ; }).prototype = text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.prototype; dart.addTypeTests(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout); dart.addTypeCaches(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout); dart.setMethodSignature(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout, () => ({ __proto__: dart.getMethods(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.__proto__), [_layoutChildren]: dart.fnType(dart.void, []), [_shouldPaintChild]: dart.fnType(core.bool, [object.RenderObject, core.int]), [_placeChildren]: dart.fnType(dart.void, []) })); dart.setGetterSignature(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout, () => ({ __proto__: dart.getGetters(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.__proto__), isAbove: core.bool, overflowOpen: core.bool })); dart.setSetterSignature(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout, () => ({ __proto__: dart.getSetters(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.__proto__), isAbove: core.bool, overflowOpen: core.bool })); dart.setLibraryUri(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout, I[1]); dart.setFieldSignature(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout, () => ({ __proto__: dart.getFields(text_selection_toolbar._RenderTextSelectionToolbarItemsLayout.__proto__), [_lastIndexThatFits]: dart.fieldType(core.int), [_isAbove]: dart.fieldType(core.bool), [_overflowOpen]: dart.fieldType(core.bool) })); var child$ = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarContainer.child"); var Radius_y = dart.privateName(ui, "Radius.y"); var Radius_x = dart.privateName(ui, "Radius.x"); var BorderRadius_bottomRight = dart.privateName(border_radius, "BorderRadius.bottomRight"); var BorderRadius_bottomLeft = dart.privateName(border_radius, "BorderRadius.bottomLeft"); var BorderRadius_topRight = dart.privateName(border_radius, "BorderRadius.topRight"); var BorderRadius_topLeft = dart.privateName(border_radius, "BorderRadius.topLeft"); text_selection_toolbar._TextSelectionToolbarContainer = class _TextSelectionToolbarContainer extends framework.StatelessWidget { get child() { return this[child$]; } set child(value) { super.child = value; } build(context) { if (context == null) dart.nullFailed(I[0], 653, 29, "context"); return new material.Material.new({borderRadius: C[47] || CT.C47, clipBehavior: ui.Clip.antiAlias, elevation: 1.0, type: material.MaterialType.card, child: this.child, $creationLocationd_0dea112b090073317d4: C[49] || CT.C49}); } }; (text_selection_toolbar._TextSelectionToolbarContainer.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; let child = opts && 'child' in opts ? opts.child : null; if (child == null) dart.nullFailed(I[0], 647, 19, "child"); let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null; this[child$] = child; text_selection_toolbar._TextSelectionToolbarContainer.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4}); ; }).prototype = text_selection_toolbar._TextSelectionToolbarContainer.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarContainer); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarContainer); dart.setMethodSignature(text_selection_toolbar._TextSelectionToolbarContainer, () => ({ __proto__: dart.getMethods(text_selection_toolbar._TextSelectionToolbarContainer.__proto__), build: dart.fnType(framework.Widget, [framework.BuildContext]) })); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarContainer, I[1]); dart.setFieldSignature(text_selection_toolbar._TextSelectionToolbarContainer, () => ({ __proto__: dart.getFields(text_selection_toolbar._TextSelectionToolbarContainer.__proto__), child: dart.finalFieldType(framework.Widget) })); var icon$ = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarOverflowButton.icon"); var onPressed$ = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarOverflowButton.onPressed"); var tooltip$ = dart.privateName(text_selection_toolbar, "_TextSelectionToolbarOverflowButton.tooltip"); var Color_value = dart.privateName(ui, "Color.value"); text_selection_toolbar._TextSelectionToolbarOverflowButton = class _TextSelectionToolbarOverflowButton extends framework.StatelessWidget { get icon() { return this[icon$]; } set icon(value) { super.icon = value; } get onPressed() { return this[onPressed$]; } set onPressed(value) { super.onPressed = value; } get tooltip() { return this[tooltip$]; } set tooltip(value) { super.tooltip = value; } build(context) { if (context == null) dart.nullFailed(I[0], 681, 29, "context"); return new material.Material.new({type: material.MaterialType.card, color: C[56] || CT.C56, child: new icon_button.IconButton.new({icon: this.icon, onPressed: this.onPressed, tooltip: this.tooltip, $creationLocationd_0dea112b090073317d4: C[57] || CT.C57}), $creationLocationd_0dea112b090073317d4: C[62] || CT.C62}); } }; (text_selection_toolbar._TextSelectionToolbarOverflowButton.new = function(opts) { let key = opts && 'key' in opts ? opts.key : null; let icon = opts && 'icon' in opts ? opts.icon : null; if (icon == null) dart.nullFailed(I[0], 671, 19, "icon"); let onPressed = opts && 'onPressed' in opts ? opts.onPressed : null; let tooltip = opts && 'tooltip' in opts ? opts.tooltip : null; let $36creationLocationd_0dea112b090073317d4 = opts && '$creationLocationd_0dea112b090073317d4' in opts ? opts.$creationLocationd_0dea112b090073317d4 : null; this[icon$] = icon; this[onPressed$] = onPressed; this[tooltip$] = tooltip; text_selection_toolbar._TextSelectionToolbarOverflowButton.__proto__.new.call(this, {key: key, $creationLocationd_0dea112b090073317d4: $36creationLocationd_0dea112b090073317d4}); ; }).prototype = text_selection_toolbar._TextSelectionToolbarOverflowButton.prototype; dart.addTypeTests(text_selection_toolbar._TextSelectionToolbarOverflowButton); dart.addTypeCaches(text_selection_toolbar._TextSelectionToolbarOverflowButton); dart.setMethodSignature(text_selection_toolbar._TextSelectionToolbarOverflowButton, () => ({ __proto__: dart.getMethods(text_selection_toolbar._TextSelectionToolbarOverflowButton.__proto__), build: dart.fnType(framework.Widget, [framework.BuildContext]) })); dart.setLibraryUri(text_selection_toolbar._TextSelectionToolbarOverflowButton, I[1]); dart.setFieldSignature(text_selection_toolbar._TextSelectionToolbarOverflowButton, () => ({ __proto__: dart.getFields(text_selection_toolbar._TextSelectionToolbarOverflowButton.__proto__), icon: dart.finalFieldType(icon.Icon), onPressed: dart.finalFieldType(dart.nullable(dart.fnType(dart.void, []))), tooltip: dart.finalFieldType(dart.nullable(core.String)) })); dart.defineLazy(text_selection_toolbar, { /*text_selection_toolbar._kToolbarScreenPadding*/get _kToolbarScreenPadding() { return 8; }, /*text_selection_toolbar._kToolbarHeight*/get _kToolbarHeight() { return 44; } }, false); dart.trackLibraries("packages/flutter/src/material/text_selection_toolbar.dart", { "package:flutter/src/material/text_selection_toolbar.dart": text_selection_toolbar }, { }, '{"version":3,"sourceRoot":"","sources":["text_selection_toolbar.dart"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoDe;;;;;;IAMA;;;;;;IAaM;;;;;;IAQE;;;;;;kCAG6B,SAAgB;UAAhB;UAAgB;AAChE,YAAO,uEACE,KAAK;IAEhB;;UAG0B;AACX,yBACT,aADmC,AAAY,AAAQ,0BAAjB,OAAO;AAEpC,4BAAiC,aAAf,AAAY,uBAAK,YAAY;AACjD,sBAA4B,MAAG,eAAe;AAC5C,4BAAkB,qBAA+B,YAAY;AAE1E,YAAO,iCACe,uCAElB,YAAY,gBAIP,+BACa,wBAChB,iDACY,gGACK,AAAY,sBAAE,eAAe,gBAC7B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C,QAAQ,AAAgB,eAAD;AACvB;;AAGS,oBAAQ,AAAO,MAAD,6BACf,AAAgB,eAAD,mBACb,QAAQ,WACT,SAAkB,QAAe;gBAAf;gBAAe;AACxC,iBAAmB,YAAZ,WAAW,EAAI,AAAS,QAAD,MAAG,AAAgB,eAAD;AAChD,kBAAY,AAAE,gBAAP,KAAK,UAAU,MAAM,aAAY,WAAW;;AAGvD,sBAAI,KAAK,GACP,MAAO;AAC8B,QAAvC,QAAQ,AAAgB,eAAD;;AAEzB,YAAO;IACT;;UAImD;AAO/C,MANF,mBAAc;YAAc;AACV,oBAA0B,iBAAlB,iBAAiB;AACZ,8BAAoC,yCAAF,eAAhB,AAAM,KAAD;AACpD,sBAAI,AAAgB,eAAD;AACS,UAA1B,AAAO,OAAA,CAAC,iBAAiB;;;IAG/B;;;QArOgB;;QACA;;IAQZ,2BAAqB,CAAC;UAPd,AAAa,YAAD;UACZ,AAAQ,OAAD;IACL,iBAAE,OAAO;IACJ,sBAAE,YAAY;AAC5B;;EAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0OC;;;;;;;UAGa;AACxB,YAAO,yEAIc,8BACR,WACQ,mCACZ;IAEX;;;QAjBO;QACS;;;;AACX,yFAAW,GAAG;;EAAC;;;;;;;;;;;;;;;;;IA4BT;;;;;;IACS;;;;;;IACN;;;;;;;UAGY;AACxB,YAAO,kCACc,2DAEZ,sCAIC,sBACK,yBACF;IAGf;;;QAxBO;QACS;;QACT;QACA;;IAFS;IACT;IACA;AACF,8FAAW,GAAG;;EAAC;;;;;;;;;;;;;;;MA/oBT,6CAAsB;;;MACtB,sCAAe","file":"../../../../../../../../../../../packages/flutter/src/material/text_selection_toolbar.dart.lib.js"}'); // Exports: return { src__material__text_selection_toolbar: text_selection_toolbar }; })); //# sourceMappingURL=text_selection_toolbar.dart.lib.js.map >>>>>>> Stashed changes