Files
tmail-flutter/1850/main.dart.js_4.part.js
T

17340 lines
921 KiB
JavaScript

// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, deferred-serialization, intern-composite-values), the Dart to JavaScript compiler version: 3.0.6.
self.$__dart_deferred_initializers__ = self.$__dart_deferred_initializers__ || Object.create(null);
$__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersList, $) {
var B = {ByteConverter: function ByteConverter(t0) {
this._byte_converter_base$_bytes = t0;
this._bits = 0;
}, SizeUnit: function SizeUnit(t0, t1) {
this.index = t0;
this._core$_name = t1;
}, ScrollingFloatingButtonAnimated: function ScrollingFloatingButtonAnimated(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.onPress = t0;
_.width = t1;
_.height = t2;
_.icon = t3;
_.text = t4;
_.scrollController = t5;
_.color = t6;
_.animateIcon = t7;
_.key = t8;
}, _ScrollingFloatingButtonAnimatedState: function _ScrollingFloatingButtonAnimatedState(t0, t1, t2) {
var _ = this;
_._onTop = true;
_.___ScrollingFloatingButtonAnimatedState__animationController_A = $;
_.SingleTickerProviderStateMixin__ticker = t0;
_.SingleTickerProviderStateMixin__tickerModeNotifier = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
}, _ScrollingFloatingButtonAnimatedState_dispose_closure: function _ScrollingFloatingButtonAnimatedState_dispose_closure() {
}, _ScrollingFloatingButtonAnimatedState__handleScroll_closure: function _ScrollingFloatingButtonAnimatedState__handleScroll_closure(t0, t1) {
this.$this = t0;
this.scrollController = t1;
}, _ScrollingFloatingButtonAnimatedState__handleScroll__closure: function _ScrollingFloatingButtonAnimatedState__handleScroll__closure(t0) {
this.$this = t0;
}, _ScrollingFloatingButtonAnimatedState__handleScroll__closure0: function _ScrollingFloatingButtonAnimatedState__handleScroll__closure0(t0) {
this.$this = t0;
}, _ScrollingFloatingButtonAnimatedState_build_closure: function _ScrollingFloatingButtonAnimatedState_build_closure(t0) {
this.$this = t0;
}, __ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin: function __ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin() {
}, CupertinoLoadingWidget: function CupertinoLoadingWidget(t0, t1, t2) {
this.size = t0;
this.padding = t1;
this.key = t2;
},
QuickSearchInputForm$(actionButtonBuilder, buttonActionCallback, buttonShowAllResult, debounceDuration, fetchRecentActionCallback, itemBuilder, itemRecentBuilder, listActionButton, listActionPadding, loadingBuilder, maxHeight, onRecentSelected, onSuggestionSelected, suggestionsBoxDecoration, suggestionsBoxVerticalOffset, suggestionsCallback, textFieldConfiguration, titleHeaderRecent, $T, $R) {
var _null = null,
t1 = textFieldConfiguration.controller;
if (t1 != null)
t1 = t1._change_notifier$_value.text;
else
t1 = "";
return new B.QuickSearchInputForm(textFieldConfiguration, _null, _null, new B.QuickSearchInputForm_closure(false, _null, _null, _null, loadingBuilder, debounceDuration, suggestionsBoxDecoration, _null, textFieldConfiguration, suggestionsBoxVerticalOffset, onSuggestionSelected, itemBuilder, suggestionsCallback, 0.25, C.Duration_500000, C.AxisDirection_2, false, false, false, true, true, false, false, false, 0, listActionButton, actionButtonBuilder, buttonActionCallback, buttonShowAllResult, titleHeaderRecent, itemRecentBuilder, fetchRecentActionCallback, onRecentSelected, listActionPadding, false, _null, maxHeight, false, $T, $R), t1, true, C.AutovalidateMode_0, _null, _null, $T._eval$1("@<0>")._bind$1($R)._eval$1("QuickSearchInputForm<1,2>"));
},
_SuggestionsListState$($T, $R) {
var t1 = new B._SuggestionsListState(null, null, C._StateLifecycle_0, $T._eval$1("@<0>")._bind$1($R)._eval$1("_SuggestionsListState<1,2>"));
t1._SuggestionsListState$0($T, $R);
return t1;
},
QuickSearchTextFieldConfiguration$(autocorrect, autofocus, clearTextButton, controller, cursorColor, cursorRadius, cursorWidth, decoration, enableInteractiveSelection, enableSuggestions, enabled, focusNode, inputFormatters, keyboardAppearance, keyboardType, leftButton, maxLength, maxLengthEnforcement, maxLines, minLines, obscureText, onChanged, onEditingComplete, onSubmitted, onTap, rightButton, scrollPadding, style, textAlign, textAlignVertical, textCapitalization, textDirection, textInputAction) {
return new B.QuickSearchTextFieldConfiguration(decoration, controller, focusNode, style, textAlign, textDirection, textAlignVertical, true, true, keyboardType, false, inputFormatters, true, maxLines, minLines, maxLength, maxLengthEnforcement, false, onChanged, onSubmitted, cursorColor, cursorRadius, cursorWidth, keyboardAppearance, onEditingComplete, onTap, scrollPadding, textCapitalization, textInputAction, true, leftButton, rightButton, clearTextButton);
},
QuickSearchInputForm: function QuickSearchInputForm(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.textFieldConfiguration = t0;
_.onSaved = t1;
_.validator = t2;
_.builder = t3;
_.initialValue = t4;
_.enabled = t5;
_.autovalidateMode = t6;
_.restorationId = t7;
_.key = t8;
_.$ti = t9;
},
QuickSearchInputForm_closure: function QuickSearchInputForm_closure(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38, t39) {
var _ = this;
_.getImmediateSuggestions = t0;
_.transitionBuilder = t1;
_.errorBuilder = t2;
_.noItemsFoundBuilder = t3;
_.loadingBuilder = t4;
_.debounceDuration = t5;
_.suggestionsBoxDecoration = t6;
_.suggestionsBoxController = t7;
_.textFieldConfiguration = t8;
_.suggestionsBoxVerticalOffset = t9;
_.onSuggestionSelected = t10;
_.itemBuilder = t11;
_.suggestionsCallback = t12;
_.animationStart = t13;
_.animationDuration = t14;
_.direction = t15;
_.hideOnLoading = t16;
_.hideOnEmpty = t17;
_.hideOnError = t18;
_.hideSuggestionsOnKeyboardHide = t19;
_.keepSuggestionsOnLoading = t20;
_.keepSuggestionsOnSuggestionSelected = t21;
_.autoFlipDirection = t22;
_.hideKeyboard = t23;
_.minCharsForSuggestions = t24;
_.listActionButton = t25;
_.actionButtonBuilder = t26;
_.buttonActionCallback = t27;
_.buttonShowAllResult = t28;
_.titleHeaderRecent = t29;
_.itemRecentBuilder = t30;
_.fetchRecentActionCallback = t31;
_.onRecentSelected = t32;
_.listActionPadding = t33;
_.hideSuggestionsBox = t34;
_.decoration = t35;
_.maxHeight = t36;
_.isDirectionRTL = t37;
_.T = t38;
_.R = t39;
},
QuickSearchInputForm__closure: function QuickSearchInputForm__closure(t0, t1) {
this.state = t0;
this.textFieldConfiguration = t1;
},
_TypeAheadFormFieldState: function _TypeAheadFormFieldState(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_._quick_search_input_form$_controller = null;
_.__FormFieldState__value_AI = $;
_._errorText = t0;
_._hasInteractedByUser = t1;
_.RestorationMixin__bucket = t2;
_.RestorationMixin__properties = t3;
_.RestorationMixin__debugPropertiesWaitingForReregistration = t4;
_.RestorationMixin__firstRestorePending = t5;
_.RestorationMixin__currentParent = t6;
_._widget = null;
_._debugLifecycleState = t7;
_._framework$_element = null;
_.$ti = t8;
},
TypeAheadFieldQuickSearch: function TypeAheadFieldQuickSearch(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32, t33, t34, t35, t36, t37, t38) {
var _ = this;
_.suggestionsCallback = t0;
_.onSuggestionSelected = t1;
_.itemBuilder = t2;
_.suggestionsBoxDecoration = t3;
_.suggestionsBoxController = t4;
_.debounceDuration = t5;
_.loadingBuilder = t6;
_.noItemsFoundBuilder = t7;
_.errorBuilder = t8;
_.transitionBuilder = t9;
_.animationDuration = t10;
_.direction = t11;
_.animationStart = t12;
_.textFieldConfiguration = t13;
_.suggestionsBoxVerticalOffset = t14;
_.getImmediateSuggestions = t15;
_.hideOnLoading = t16;
_.hideOnEmpty = t17;
_.hideOnError = t18;
_.hideSuggestionsOnKeyboardHide = t19;
_.keepSuggestionsOnLoading = t20;
_.keepSuggestionsOnSuggestionSelected = t21;
_.autoFlipDirection = t22;
_.hideKeyboard = t23;
_.minCharsForSuggestions = t24;
_.listActionButton = t25;
_.actionButtonBuilder = t26;
_.buttonActionCallback = t27;
_.buttonShowAllResult = t28;
_.titleHeaderRecent = t29;
_.itemRecentBuilder = t30;
_.fetchRecentActionCallback = t31;
_.onRecentSelected = t32;
_.listActionPadding = t33;
_.hideSuggestionsBox = t34;
_.maxHeight = t35;
_.isDirectionRTL = t36;
_.key = t37;
_.$ti = t38;
},
_TypeAheadFieldQuickSearchState: function _TypeAheadFieldQuickSearchState(t0, t1, t2, t3) {
var _ = this;
_._suggestionsBox = _._textEditingController = _._quick_search_input_form$_focusNode = null;
_.___TypeAheadFieldQuickSearchState__focusNodeListener_A = _.___TypeAheadFieldQuickSearchState__textDirection_A = $;
_._layerLink = t0;
_._quick_search_input_form$_scrollPosition = _._resizeOnScrollTimer = null;
_._keyboardVisibility = t1;
_.___TypeAheadFieldQuickSearchState__keyboardVisibilitySubscription_A = $;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
_.$ti = t3;
},
_TypeAheadFieldQuickSearchState_initState_closure: function _TypeAheadFieldQuickSearchState_initState_closure(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState_initState__closure0: function _TypeAheadFieldQuickSearchState_initState__closure0() {
},
_TypeAheadFieldQuickSearchState_initState_closure0: function _TypeAheadFieldQuickSearchState_initState_closure0(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState_initState_closure1: function _TypeAheadFieldQuickSearchState_initState_closure1(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState_initState__closure: function _TypeAheadFieldQuickSearchState_initState__closure() {
},
_TypeAheadFieldQuickSearchState__scrollResizeListener_closure: function _TypeAheadFieldQuickSearchState__scrollResizeListener_closure(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState__initOverlayEntry_closure: function _TypeAheadFieldQuickSearchState__initOverlayEntry_closure(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState__initOverlayEntry__closure: function _TypeAheadFieldQuickSearchState__initOverlayEntry__closure(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState__initOverlayEntry__closure0: function _TypeAheadFieldQuickSearchState__initOverlayEntry__closure0(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState_build_closure: function _TypeAheadFieldQuickSearchState_build_closure(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState_build__closure: function _TypeAheadFieldQuickSearchState_build__closure(t0, t1) {
this.$this = t0;
this.directionByText = t1;
},
_SuggestionsList: function _SuggestionsList(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28) {
var _ = this;
_.suggestionsBox = t0;
_.controller = t1;
_.getImmediateSuggestions = t2;
_.onSuggestionSelected = t3;
_.suggestionsCallback = t4;
_.itemBuilder = t5;
_.scrollController = t6;
_.decoration = t7;
_.debounceDuration = t8;
_.loadingBuilder = t9;
_.transitionBuilder = t10;
_.animationDuration = t11;
_.animationStart = t12;
_.hideOnLoading = t13;
_.keepSuggestionsOnLoading = t14;
_.minCharsForSuggestions = t15;
_.listActionButton = t16;
_.actionButtonBuilder = t17;
_.buttonActionCallback = t18;
_.buttonShowAllResult = t19;
_.titleHeaderRecent = t20;
_.itemRecentBuilder = t21;
_.fetchRecentActionCallback = t22;
_.onRecentSelected = t23;
_.listActionPadding = t24;
_.hideSuggestionsBox = t25;
_.isDirectionRTL = t26;
_.key = t27;
_.$ti = t28;
},
_SuggestionsListState: function _SuggestionsListState(t0, t1, t2, t3) {
var _ = this;
_._recentItems = _._suggestions = null;
_.___SuggestionsListState__controllerListener_A = _.___SuggestionsListState__suggestionsValid_A = $;
_._lastTextValue = _._quick_search_input_form$_animationController = _._isQueued = _._isLoading = _._debounceTimer = null;
_.___SuggestionsListState__scrollController_FI = $;
_.SingleTickerProviderStateMixin__ticker = t0;
_.SingleTickerProviderStateMixin__tickerModeNotifier = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
_.$ti = t3;
},
_SuggestionsListState_closure: function _SuggestionsListState_closure(t0) {
this.$this = t0;
},
_SuggestionsListState__closure: function _SuggestionsListState__closure(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_SuggestionsListState__closure0: function _SuggestionsListState__closure0(t0) {
this.$this = t0;
},
_SuggestionsListState__getSuggestions_closure: function _SuggestionsListState__getSuggestions_closure(t0) {
this.$this = t0;
},
_SuggestionsListState__getSuggestions_closure0: function _SuggestionsListState__getSuggestions_closure0(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
_SuggestionsListState_createSuggestionsWidget_closure: function _SuggestionsListState_createSuggestionsWidget_closure(t0) {
this.$this = t0;
},
_SuggestionsListState_createSuggestionsWidget__closure0: function _SuggestionsListState_createSuggestionsWidget__closure0(t0, t1) {
this.$this = t0;
this.suggestion = t1;
},
_SuggestionsListState_createSuggestionsWidget_closure0: function _SuggestionsListState_createSuggestionsWidget_closure0(t0) {
this.$this = t0;
},
_SuggestionsListState_createSuggestionsWidget__closure: function _SuggestionsListState_createSuggestionsWidget__closure(t0, t1) {
this.$this = t0;
this.action = t1;
},
_SuggestionsListState_createRecentWidget_closure: function _SuggestionsListState_createRecentWidget_closure(t0) {
this.$this = t0;
},
_SuggestionsListState_createRecentWidget__closure0: function _SuggestionsListState_createRecentWidget__closure0(t0, t1) {
this.$this = t0;
this.recent = t1;
},
_SuggestionsListState_createRecentWidget_closure0: function _SuggestionsListState_createRecentWidget_closure0(t0) {
this.$this = t0;
},
_SuggestionsListState_createRecentWidget__closure: function _SuggestionsListState_createRecentWidget__closure(t0, t1) {
this.$this = t0;
this.action = t1;
},
QuickSearchSuggestionsBoxDecoration: function QuickSearchSuggestionsBoxDecoration(t0, t1) {
this.color = t0;
this.borderRadius = t1;
},
QuickSearchTextFieldConfiguration: function QuickSearchTextFieldConfiguration(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, t25, t26, t27, t28, t29, t30, t31, t32) {
var _ = this;
_.decoration = t0;
_.controller = t1;
_.focusNode = t2;
_.style = t3;
_.textAlign = t4;
_.textDirection = t5;
_.textAlignVertical = t6;
_.enabled = t7;
_.enableSuggestions = t8;
_.keyboardType = t9;
_.autofocus = t10;
_.inputFormatters = t11;
_.autocorrect = t12;
_.maxLines = t13;
_.minLines = t14;
_.maxLength = t15;
_.maxLengthEnforcement = t16;
_.obscureText = t17;
_.onChanged = t18;
_.onSubmitted = t19;
_.cursorColor = t20;
_.cursorRadius = t21;
_.cursorWidth = t22;
_.keyboardAppearance = t23;
_.onEditingComplete = t24;
_.onTap = t25;
_.scrollPadding = t26;
_.textCapitalization = t27;
_.textInputAction = t28;
_.enableInteractiveSelection = t29;
_.leftButton = t30;
_.rightButton = t31;
_.clearTextButton = t32;
},
_SuggestionsBox: function _SuggestionsBox(t0, t1, t2, t3, t4) {
var _ = this;
_.context = t0;
_.desiredDirection = t1;
_.autoFlipDirection = t2;
_.hideSuggestionBox = t3;
_._quick_search_input_form$_overlayEntry = null;
_.direction = t4;
_.isOpened = false;
_.widgetMounted = true;
_.maxHeight = 300;
_.textBoxHeight = _.textBoxWidth = 100;
_.___SuggestionsBox_directionUpOffset_A = $;
},
_SuggestionsBox__findRootMediaQuery_closure: function _SuggestionsBox__findRootMediaQuery_closure(t0) {
this._box_0 = t0;
},
__SuggestionsListState_State_SingleTickerProviderStateMixin0: function __SuggestionsListState_State_SingleTickerProviderStateMixin0() {
},
__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver: function __TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver() {
},
RichTextBuilder: function RichTextBuilder(t0, t1, t2, t3) {
var _ = this;
_._textOrigin = t0;
_._wordToStyle = t1;
_._styleOrigin = t2;
_._styleWord = t3;
_._rich_text_builder$_key = null;
},
ArabicDateLocale: function ArabicDateLocale() {
},
EnglishDateLocale: function EnglishDateLocale() {
},
FrenchDateLocale: function FrenchDateLocale() {
},
ItalianDateLocale: function ItalianDateLocale() {
},
RussianDateLocale: function RussianDateLocale() {
},
VietnameseDateLocale: function VietnameseDateLocale() {
},
DashedPainter: function DashedPainter(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.strokeWidth = t0;
_.dashPattern = t1;
_.color = t2;
_.borderType = t3;
_.radius = t4;
_.strokeCap = t5;
_.customPath = t6;
_.padding = t7;
_._repaint = t8;
},
DottedBorder: function DottedBorder(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.child = t0;
_.strokeWidth = t1;
_.color = t2;
_.dashPattern = t3;
_.borderType = t4;
_.radius = t5;
_.key = t6;
},
BorderType: function BorderType(t0, t1) {
this.index = t0;
this._core$_name = t1;
},
Drag: function Drag() {
},
MultiDragGestureRecognizer__defaultButtonAcceptBehavior(buttons) {
return buttons === 1;
},
MultiDragPointerState: function MultiDragPointerState() {
},
MultiDragGestureRecognizer: function MultiDragGestureRecognizer() {
},
MultiDragGestureRecognizer_acceptGesture_closure: function MultiDragGestureRecognizer_acceptGesture_closure(t0, t1) {
this.$this = t0;
this.pointer = t1;
},
MultiDragGestureRecognizer__startDrag_closure: function MultiDragGestureRecognizer__startDrag_closure(t0, t1) {
this.$this = t0;
this.initialPosition = t1;
},
_ImmediatePointerState: function _ImmediatePointerState(t0, t1, t2, t3, t4) {
var _ = this;
_.gestureSettings = t0;
_.initialPosition = t1;
_._multidrag$_velocityTracker = t2;
_.kind = t3;
_._multidrag$_client = null;
_._pendingDelta = t4;
_._arenaEntry = _._multidrag$_lastPendingEventTimestamp = null;
},
ImmediateMultiDragGestureRecognizer: function ImmediateMultiDragGestureRecognizer(t0, t1, t2, t3, t4) {
var _ = this;
_.onStart = null;
_._multidrag$_pointers = t0;
_.debugOwner = t1;
_.gestureSettings = null;
_.supportedDevices = t2;
_._allowedButtonsFilter = t3;
_._pointerToKind = t4;
},
_HorizontalPointerState: function _HorizontalPointerState(t0, t1, t2, t3, t4) {
var _ = this;
_.gestureSettings = t0;
_.initialPosition = t1;
_._multidrag$_velocityTracker = t2;
_.kind = t3;
_._multidrag$_client = null;
_._pendingDelta = t4;
_._arenaEntry = _._multidrag$_lastPendingEventTimestamp = null;
},
HorizontalMultiDragGestureRecognizer: function HorizontalMultiDragGestureRecognizer(t0, t1, t2, t3, t4) {
var _ = this;
_.onStart = null;
_._multidrag$_pointers = t0;
_.debugOwner = t1;
_.gestureSettings = null;
_.supportedDevices = t2;
_._allowedButtonsFilter = t3;
_._pointerToKind = t4;
},
_VerticalPointerState: function _VerticalPointerState(t0, t1, t2, t3, t4) {
var _ = this;
_.gestureSettings = t0;
_.initialPosition = t1;
_._multidrag$_velocityTracker = t2;
_.kind = t3;
_._multidrag$_client = null;
_._pendingDelta = t4;
_._arenaEntry = _._multidrag$_lastPendingEventTimestamp = null;
},
VerticalMultiDragGestureRecognizer: function VerticalMultiDragGestureRecognizer(t0, t1, t2, t3, t4) {
var _ = this;
_.onStart = null;
_._multidrag$_pointers = t0;
_.debugOwner = t1;
_.gestureSettings = null;
_.supportedDevices = t2;
_._allowedButtonsFilter = t3;
_._pointerToKind = t4;
},
childDragAnchorStrategy(draggable, context, position) {
var t1 = context.get$renderObject();
t1.toString;
return type$.RenderBox._as(t1).globalToLocal$1(position);
},
pointerDragAnchorStrategy(draggable, context, position) {
return C.Offset_0_0;
},
Draggable$(child, childWhenDragging, data, dragAnchorStrategy, feedback, onDragEnd, onDragStarted, onDraggableCanceled, $T) {
return new B.Draggable(data, child, childWhenDragging, feedback, dragAnchorStrategy, onDragStarted, onDraggableCanceled, onDragEnd, null, $T._eval$1("Draggable<0>"));
},
Draggable: function Draggable(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.data = t0;
_.child = t1;
_.childWhenDragging = t2;
_.feedback = t3;
_.dragAnchorStrategy = t4;
_.onDragStarted = t5;
_.onDraggableCanceled = t6;
_.onDragEnd = t7;
_.key = t8;
_.$ti = t9;
},
_DraggableState: function _DraggableState(t0, t1) {
var _ = this;
_._recognizer = null;
_._activeCount = 0;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
_.$ti = t1;
},
_DraggableState__startDrag_closure: function _DraggableState__startDrag_closure(t0) {
this.$this = t0;
},
_DraggableState__startDrag_closure0: function _DraggableState__startDrag_closure0(t0) {
this.$this = t0;
},
_DraggableState__startDrag_closure1: function _DraggableState__startDrag_closure1(t0) {
this.$this = t0;
},
_DraggableState__startDrag__closure: function _DraggableState__startDrag__closure(t0) {
this.$this = t0;
},
DraggableDetails: function DraggableDetails(t0) {
this.offset = t0;
},
_DragEndKind: function _DragEndKind(t0, t1) {
this.index = t0;
this._core$_name = t1;
},
_DragAvatar: function _DragAvatar(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.data = t0;
_.axis = t1;
_.dragStartPoint = t2;
_.feedback = t3;
_.feedbackOffset = t4;
_.onDragUpdate = t5;
_.onDragEnd = t6;
_.overlayState = t7;
_.ignoringFeedbackSemantics = t8;
_.ignoringFeedbackPointer = t9;
_._activeTarget = null;
_._enteredTargets = t10;
_._drag_target$_position = t11;
_._drag_target$_entry = _._drag_target$_lastOffset = null;
_.$ti = t12;
},
_DragAvatar_updateDrag_closure: function _DragAvatar_updateDrag_closure(t0) {
this.$this = t0;
},
_DragAvatar_updateDrag_closure0: function _DragAvatar_updateDrag_closure0() {
},
Linkify$(linkifiers, onOpen, options, style, text) {
return new B.Linkify(text, linkifiers, onOpen, options, style, null);
},
buildTextSpanChildren(elements, linkStyle, onOpen, style, useMouseRegion) {
var t2, _i, element, t3, t4, _null = null,
t1 = A._setArrayType([], type$.JSArray_InlineSpan);
for (t2 = elements.length, _i = 0; _i < elements.length; elements.length === t2 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
element = elements[_i];
if (element instanceof A.LinkableElement) {
t3 = element.text;
t4 = A.TapGestureRecognizer$(_null, _null);
t4.onTap = new B.buildTextSpanChildren_closure(onOpen, element);
t1.push(new A.TextSpan(t3, _null, t4, C.SystemMouseCursor_click, _null, _null, _null, _null, _null, linkStyle));
} else {
t3 = element.text;
t1.push(new A.TextSpan(t3, _null, _null, C.C__DeferringMouseCursor, _null, _null, _null, _null, _null, style));
}
}
return t1;
},
Linkify: function Linkify(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.text = t0;
_.linkifiers = t1;
_.onOpen = t2;
_.options = t3;
_.style = t4;
_.key = t5;
},
buildTextSpanChildren_closure: function buildTextSpanChildren_closure(t0, t1) {
this.onOpen = t0;
this.element = t1;
},
FocusedMenuItem: function FocusedMenuItem(t0, t1) {
this.title = t0;
this.backgroundColor = t1;
},
ListPresentationEmailExtension_get_isAllEmailRead(_this) {
return J.every$1$ax(_this, new B.ListPresentationEmailExtension_get_isAllEmailRead_closure());
},
ListPresentationEmailExtension_get_isAllEmailStarred(_this) {
return J.every$1$ax(_this, new B.ListPresentationEmailExtension_get_isAllEmailStarred_closure());
},
ListPresentationEmailExtension_isAllCanDeletePermanently(_this, mapMailbox) {
var t1 = type$.WhereTypeIterable_PresentationMailbox,
listMailboxContain = A.List_List$of(new A.WhereTypeIterable(J.map$1$1$ax(_this, new B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure(mapMailbox), type$.nullable_PresentationMailbox), t1), true, t1._eval$1("Iterable.E"));
return C.JSArray_methods.every$1(listMailboxContain, new B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure0()) || C.JSArray_methods.every$1(listMailboxContain, new B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure1()) || C.JSArray_methods.every$1(listMailboxContain, new B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure2());
},
ListPresentationEmailExtension_isAllCanSpamAndMove(_this, mapMailbox) {
var t1 = type$.WhereTypeIterable_PresentationMailbox;
return C.JSArray_methods.every$1(A.List_List$of(new A.WhereTypeIterable(J.map$1$1$ax(_this, new B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure(mapMailbox), type$.nullable_PresentationMailbox), t1), true, t1._eval$1("Iterable.E")), new B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure0()) && B.ListPresentationEmailExtension_isAllBelongToTheSameMailbox(_this, mapMailbox);
},
ListPresentationEmailExtension_isAllSpam(_this, mapMailbox) {
var t1 = type$.WhereTypeIterable_PresentationMailbox;
return C.JSArray_methods.every$1(A.List_List$of(new A.WhereTypeIterable(J.map$1$1$ax(_this, new B.ListPresentationEmailExtension_isAllSpam_closure(mapMailbox), type$.nullable_PresentationMailbox), t1), true, t1._eval$1("Iterable.E")), new B.ListPresentationEmailExtension_isAllSpam_closure0());
},
ListPresentationEmailExtension_isAllBelongToTheSameMailbox(_this, mapMailbox) {
var firstMailboxContain,
t1 = J.getInterceptor$asx(_this);
if (t1.get$isEmpty(_this))
return false;
firstMailboxContain = A.PresentationEmailExtension_findMailboxContain(t1.get$first(_this), mapMailbox);
if (firstMailboxContain != null)
return t1.every$1(_this, new B.ListPresentationEmailExtension_isAllBelongToTheSameMailbox_closure(mapMailbox, firstMailboxContain));
else
return false;
},
ListPresentationEmailExtension_listEmailCanSpam(_this, mapMailbox) {
var t1 = type$.WhereTypeIterable_PresentationEmail;
return A.List_List$of(new A.WhereTypeIterable(J.map$1$1$ax(_this, new B.ListPresentationEmailExtension_listEmailCanSpam_closure(mapMailbox), type$.nullable_PresentationEmail), t1), true, t1._eval$1("Iterable.E"));
},
ListPresentationEmailExtension_get_isAllEmailRead_closure: function ListPresentationEmailExtension_get_isAllEmailRead_closure() {
},
ListPresentationEmailExtension_get_isAllEmailStarred_closure: function ListPresentationEmailExtension_get_isAllEmailStarred_closure() {
},
ListPresentationEmailExtension_isAllCanDeletePermanently_closure: function ListPresentationEmailExtension_isAllCanDeletePermanently_closure(t0) {
this.mapMailbox = t0;
},
ListPresentationEmailExtension_isAllCanDeletePermanently_closure0: function ListPresentationEmailExtension_isAllCanDeletePermanently_closure0() {
},
ListPresentationEmailExtension_isAllCanDeletePermanently_closure1: function ListPresentationEmailExtension_isAllCanDeletePermanently_closure1() {
},
ListPresentationEmailExtension_isAllCanDeletePermanently_closure2: function ListPresentationEmailExtension_isAllCanDeletePermanently_closure2() {
},
ListPresentationEmailExtension_isAllCanSpamAndMove_closure: function ListPresentationEmailExtension_isAllCanSpamAndMove_closure(t0) {
this.mapMailbox = t0;
},
ListPresentationEmailExtension_isAllCanSpamAndMove_closure0: function ListPresentationEmailExtension_isAllCanSpamAndMove_closure0() {
},
ListPresentationEmailExtension_isAllSpam_closure: function ListPresentationEmailExtension_isAllSpam_closure(t0) {
this.mapMailbox = t0;
},
ListPresentationEmailExtension_isAllSpam_closure0: function ListPresentationEmailExtension_isAllSpam_closure0() {
},
ListPresentationEmailExtension_isAllBelongToTheSameMailbox_closure: function ListPresentationEmailExtension_isAllBelongToTheSameMailbox_closure(t0, t1) {
this.mapMailbox = t0;
this.firstMailboxContain = t1;
},
ListPresentationEmailExtension_listEmailCanSpam_closure: function ListPresentationEmailExtension_listEmailCanSpam_closure(t0) {
this.mapMailbox = t0;
},
dashPath(source, dashArray) {
var t1, t2, metric, distance, draw, t3, len,
dest = $.$get$_renderer().createPath$0();
for (t1 = source.computeMetrics$0(), t1 = t1.get$iterator(t1), t2 = dashArray._vals; t1.moveNext$0();) {
metric = t1.get$current(t1);
metric.get$length(metric);
for (distance = 0, draw = true; distance < metric.get$length(metric);) {
t3 = dashArray._idx;
if (t3 >= 2)
t3 = dashArray._idx = 0;
dashArray._idx = t3 + 1;
len = t2[t3];
if (draw)
dest.addPath$2(0, metric.extractPath$2(distance, distance + len), C.Offset_0_0);
distance += len;
draw = !draw;
}
}
return dest;
},
CircularIntervalList: function CircularIntervalList(t0, t1) {
this._vals = t0;
this._idx = 0;
this.$ti = t1;
},
CircularStrokeCapExtension_get_strokeCap(_this) {
switch (_this.index) {
case 0:
return C.StrokeCap_0;
case 1:
return C.StrokeCap_1;
case 2:
return C.StrokeCap_2;
}
},
CircularStrokeCap: function CircularStrokeCap(t0, t1) {
this.index = t0;
this._core$_name = t1;
},
CircularPercentIndicator: function CircularPercentIndicator(t0, t1, t2, t3, t4) {
var _ = this;
_.percent = t0;
_.radius = t1;
_.lineWidth = t2;
_.backgroundColor = t3;
_.__CircularPercentIndicator__progressColor_A = $;
_.key = t4;
},
_CircularPercentIndicatorState: function _CircularPercentIndicatorState(t0, t1, t2, t3) {
var _ = this;
_._circular_percent_indicator$_animation = _._circular_percent_indicator$_animationController = null;
_._diameter = _._circular_percent_indicator$_percent = 0;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t0;
_.SingleTickerProviderStateMixin__ticker = t1;
_.SingleTickerProviderStateMixin__tickerModeNotifier = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
_CircularPercentIndicatorState__updateProgress_closure: function _CircularPercentIndicatorState__updateProgress_closure(t0) {
this.$this = t0;
},
_CirclePainter: function _CirclePainter(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17) {
var _ = this;
_._circular_percent_indicator$_paintBackground = t0;
_._circular_percent_indicator$_paintLine = t1;
_._paintBackgroundStartAngle = t2;
_.lineWidth = t3;
_.backgroundWidth = t4;
_.progress = t5;
_.radius = t6;
_.progressColor = t7;
_.backgroundColor = t8;
_.circularStrokeCap = t9;
_.startAngle = t10;
_.linearGradient = t11;
_.arcBackgroundColor = t12;
_.arcType = t13;
_.reverse = t14;
_.maskFilter = t15;
_.rotateLinearGradient = t16;
_._repaint = t17;
},
__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin: function __CircularPercentIndicatorState_State_SingleTickerProviderStateMixin() {
},
__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin: function __CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin() {
},
RichTextWidget$(styleTextOrigin, styleWordSearched, textOrigin, wordSearched) {
return new B.RichTextWidget(textOrigin, wordSearched, styleTextOrigin, styleWordSearched, null);
},
RichTextWidget: function RichTextWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.textOrigin = t0;
_.wordSearched = t1;
_.styleTextOrigin = t2;
_.styleWordSearched = t3;
_.key = t4;
},
CircleLoadingWidget: function CircleLoadingWidget(t0, t1) {
this.padding = t0;
this.key = t1;
},
ComposeFloatingButton: function ComposeFloatingButton(t0, t1, t2) {
this.scrollController = t0;
this.onTap = t1;
this.key = t2;
},
EmailAvatarBuilder: function EmailAvatarBuilder(t0, t1) {
this.emailSelected = t0;
this.key = t1;
},
HyperLinkWidget: function HyperLinkWidget(t0, t1) {
this.urlString = t0;
this.key = t1;
},
HyperLinkWidget_build_closure: function HyperLinkWidget_build_closure(t0) {
this.$this = t0;
},
LinkBrowserWidget: function LinkBrowserWidget(t0, t1, t2) {
this.uri = t0;
this.child = t1;
this.key = t2;
},
LinkBrowserWidget_build_closure: function LinkBrowserWidget_build_closure(t0) {
this.$this = t0;
},
ComposerView: function ComposerView(t0, t1, t2) {
this._composer_view_web$_responsiveUtils = t0;
this._composer_view_web$_imagePaths = t1;
this.key = t2;
},
ComposerView_build_closure0: function ComposerView_build_closure0(t0) {
this.$this = t0;
},
ComposerView_build__closure4: function ComposerView_build__closure4(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure14: function ComposerView_build___closure14(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure15: function ComposerView_build___closure15(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure16: function ComposerView_build___closure16(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure17: function ComposerView_build___closure17(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure18: function ComposerView_build___closure18(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure3: function ComposerView_build__closure3(t0) {
this.$this = t0;
},
ComposerView_build__closure5: function ComposerView_build__closure5(t0) {
this.$this = t0;
},
ComposerView_build___closure12: function ComposerView_build___closure12(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build____closure4: function ComposerView_build____closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure3: function ComposerView_build____closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure13: function ComposerView_build___closure13(t0) {
this.$this = t0;
},
ComposerView_build__closure6: function ComposerView_build__closure6(t0) {
this.$this = t0;
},
ComposerView_build___closure10: function ComposerView_build___closure10(t0) {
this.$this = t0;
},
ComposerView_build___closure11: function ComposerView_build___closure11(t0) {
this.$this = t0;
},
ComposerView_build__closure7: function ComposerView_build__closure7(t0) {
this.$this = t0;
},
ComposerView_build_closure: function ComposerView_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure9: function ComposerView_build__closure9(t0) {
this.$this = t0;
},
ComposerView_build___closure20: function ComposerView_build___closure20(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build____closure15: function ComposerView_build____closure15(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure19: function ComposerView_build___closure19(t0) {
this.$this = t0;
},
ComposerView_build___closure21: function ComposerView_build___closure21(t0) {
this.$this = t0;
},
ComposerView_build____closure11: function ComposerView_build____closure11(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build_____closure2: function ComposerView_build_____closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build_____closure1: function ComposerView_build_____closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure12: function ComposerView_build____closure12(t0) {
this.$this = t0;
},
ComposerView_build_____closure: function ComposerView_build_____closure(t0) {
this.$this = t0;
},
ComposerView_build_____closure0: function ComposerView_build_____closure0(t0) {
this.$this = t0;
},
ComposerView_build____closure13: function ComposerView_build____closure13(t0) {
this.$this = t0;
},
ComposerView_build____closure14: function ComposerView_build____closure14(t0) {
this.$this = t0;
},
ComposerView_build___closure22: function ComposerView_build___closure22(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build____closure5: function ComposerView_build____closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure7: function ComposerView_build____closure7(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build____closure6: function ComposerView_build____closure6(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure9: function ComposerView_build____closure9(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure10: function ComposerView_build____closure10(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure8: function ComposerView_build____closure8(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure8: function ComposerView_build__closure8(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build_closure1: function ComposerView_build_closure1(t0) {
this.$this = t0;
},
ComposerView_build__closure0: function ComposerView_build__closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure9: function ComposerView_build___closure9(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure: function ComposerView_build__closure(t0) {
this.$this = t0;
},
ComposerView_build__closure1: function ComposerView_build__closure1(t0) {
this.$this = t0;
},
ComposerView_build___closure5: function ComposerView_build___closure5(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build____closure2: function ComposerView_build____closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure1: function ComposerView_build____closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure6: function ComposerView_build___closure6(t0) {
this.$this = t0;
},
ComposerView_build____closure: function ComposerView_build____closure(t0) {
this.$this = t0;
},
ComposerView_build____closure0: function ComposerView_build____closure0(t0) {
this.$this = t0;
},
ComposerView_build___closure7: function ComposerView_build___closure7(t0) {
this.$this = t0;
},
ComposerView_build___closure8: function ComposerView_build___closure8(t0) {
this.$this = t0;
},
ComposerView_build__closure2: function ComposerView_build__closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure: function ComposerView_build___closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure1: function ComposerView_build___closure1(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure0: function ComposerView_build___closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure3: function ComposerView_build___closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure4: function ComposerView_build___closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure2: function ComposerView_build___closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView__createReadReceiptPopupItems_closure: function ComposerView__createReadReceiptPopupItems_closure(t0) {
this.$this = t0;
},
ComposerView__createMoreOptionPopupItems_closure: function ComposerView__createMoreOptionPopupItems_closure(t0) {
this.$this = t0;
},
ComposerView__createMoreOptionPopupItems_closure0: function ComposerView__createMoreOptionPopupItems_closure0(t0) {
this.$this = t0;
},
ComposerView__createMoreOptionPopupItems_closure1: function ComposerView__createMoreOptionPopupItems_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView__createMoreOptionPopupItems_closure2: function ComposerView__createMoreOptionPopupItems_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
DraggableEmailAddress: function DraggableEmailAddress(t0, t1) {
this.emailAddress = t0;
this.prefix = t1;
},
_DraggableEmailAddress_Object_EquatableMixin: function _DraggableEmailAddress_Object_EquatableMixin() {
},
EditorViewMixin: function EditorViewMixin() {
},
DesktopResponsiveContainerView: function DesktopResponsiveContainerView(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.displayMode = t0;
_.emailSubject = t1;
_.onCloseViewAction = t2;
_.onChangeDisplayModeAction = t3;
_.childBuilder = t4;
_._desktop_responsive_container_view$_responsiveUtils = t5;
_.key = t6;
},
DesktopResponsiveContainerView_build_closure: function DesktopResponsiveContainerView_build_closure(t0) {
this.$this = t0;
},
DesktopResponsiveContainerView_build_closure0: function DesktopResponsiveContainerView_build_closure0(t0) {
this.$this = t0;
},
MobileResponsiveContainerView: function MobileResponsiveContainerView(t0, t1) {
this.childBuilder = t0;
this.key = t1;
},
MobileResponsiveContainerView_build_closure: function MobileResponsiveContainerView_build_closure(t0) {
this.$this = t0;
},
TabletResponsiveContainerView: function TabletResponsiveContainerView(t0, t1, t2) {
this.childBuilder = t0;
this._tablet_responsive_container_view$_responsiveUtils = t1;
this.key = t2;
},
TabletResponsiveContainerView_build_closure: function TabletResponsiveContainerView_build_closure(t0) {
this.$this = t0;
},
WebEditorView$($arguments, contentViewState, currentWebContent, editorController, height, onChangeContent, onEditorSettings, onEditorTextSizeChanged, onFocus, onImageUploadFailureAction, onImageUploadSuccessAction, onInitial, onMouseDown, onUnFocus, width) {
return new B.WebEditorView(editorController, $arguments, contentViewState, currentWebContent, onInitial, onChangeContent, onFocus, onUnFocus, onMouseDown, onEditorSettings, onImageUploadSuccessAction, onImageUploadFailureAction, onEditorTextSizeChanged, width, height, null);
},
WebEditorView: function WebEditorView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
var _ = this;
_.editorController = t0;
_.$arguments = t1;
_.contentViewState = t2;
_.currentWebContent = t3;
_.onInitial = t4;
_.onChangeContent = t5;
_.onFocus = t6;
_.onUnFocus = t7;
_.onMouseDown = t8;
_.onEditorSettings = t9;
_.onImageUploadSuccessAction = t10;
_.onImageUploadFailureAction = t11;
_.onEditorTextSizeChanged = t12;
_.width = t13;
_.height = t14;
_.key = t15;
},
WebEditorView_build_closure: function WebEditorView_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
WebEditorView_build_closure0: function WebEditorView_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
WebEditorView_build_closure1: function WebEditorView_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
WebEditorView_build_closure2: function WebEditorView_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
_WebEditorView_StatelessWidget_EditorViewMixin: function _WebEditorView_StatelessWidget_EditorViewMixin() {
},
AttachmentHeaderComposerWidget: function AttachmentHeaderComposerWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.listFileUploaded = t0;
_.isCollapsed = t1;
_.onToggleExpandAction = t2;
_._attachment_header_composer_widget$_imagePaths = t3;
_.key = t4;
},
AttachmentHeaderComposerWidget_build_closure0: function AttachmentHeaderComposerWidget_build_closure0(t0) {
this.$this = t0;
},
AttachmentHeaderComposerWidget_build_closure: function AttachmentHeaderComposerWidget_build_closure(t0) {
this.$this = t0;
},
AttachmentItemComposerWidget: function AttachmentItemComposerWidget(t0, t1, t2, t3) {
var _ = this;
_._attachment_item_composer_widget$_imagePaths = t0;
_.fileState = t1;
_.onDeleteAttachmentAction = t2;
_.key = t3;
},
AttachmentItemComposerWidget_build_closure: function AttachmentItemComposerWidget_build_closure(t0) {
this.$this = t0;
},
_AttachmentItemComposerWidget_StatelessWidget_AppLoaderMixin: function _AttachmentItemComposerWidget_StatelessWidget_AppLoaderMixin() {
},
AttachmentProgressLoadingComposerWidget: function AttachmentProgressLoadingComposerWidget(t0, t1, t2) {
this.fileState = t0;
this.padding = t1;
this.key = t2;
},
DraggableRecipientTagWidget$(emailAddress) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.DraggableRecipientTagWidget(emailAddress, t1.find$1$1$tag(0, null, type$.ImagePaths), null);
},
DraggableRecipientTagWidget: function DraggableRecipientTagWidget(t0, t1, t2) {
this.emailAddress = t0;
this._draggable_recipient_tag_widget$_imagePaths = t1;
this.key = t2;
},
InsertImageLoadingBarWidget: function InsertImageLoadingBarWidget(t0, t1, t2, t3) {
var _ = this;
_.viewState = t0;
_.uploadInlineViewState = t1;
_.padding = t2;
_.key = t3;
},
InsertImageLoadingBarWidget_build_closure: function InsertImageLoadingBarWidget_build_closure(t0) {
this.$this = t0;
},
InsertImageLoadingBarWidget_build__closure1: function InsertImageLoadingBarWidget_build__closure1() {
},
InsertImageLoadingBarWidget_build__closure2: function InsertImageLoadingBarWidget_build__closure2(t0) {
this.$this = t0;
},
InsertImageLoadingBarWidget_build_closure0: function InsertImageLoadingBarWidget_build_closure0(t0) {
this.$this = t0;
},
InsertImageLoadingBarWidget_build__closure: function InsertImageLoadingBarWidget_build__closure() {
},
InsertImageLoadingBarWidget_build__closure0: function InsertImageLoadingBarWidget_build__closure0(t0) {
this.$this = t0;
},
RecipientComposerWidget$(autoDisposeFocusNode, bccState, ccState, controller, expandMode, focusNode, isInitial, keyTagEditor, listEmailAddress, margin, nextFocusNode, onAddEmailAddressTypeAction, onDeleteEmailAddressTypeAction, onFocusEmailAddressChangeAction, onFocusNextAddressAction, onRemoveDraggableEmailAddressAction, onShowFullListEmailAddressAction, onSuggestionEmailAddress, onUpdateListEmailAddressAction, padding, prefix) {
return new B.RecipientComposerWidget(prefix, listEmailAddress, expandMode, ccState, bccState, focusNode, false, keyTagEditor, nextFocusNode, controller, onUpdateListEmailAddressAction, onSuggestionEmailAddress, onAddEmailAddressTypeAction, onDeleteEmailAddressTypeAction, onShowFullListEmailAddressAction, onFocusEmailAddressChangeAction, onRemoveDraggableEmailAddressAction, onFocusNextAddressAction, padding, margin, null);
},
RecipientComposerWidget: function RecipientComposerWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20) {
var _ = this;
_.prefix = t0;
_.listEmailAddress = t1;
_.expandMode = t2;
_.ccState = t3;
_.bccState = t4;
_.focusNode = t5;
_.autoDisposeFocusNode = t6;
_.keyTagEditor = t7;
_.nextFocusNode = t8;
_.controller = t9;
_.onUpdateListEmailAddressAction = t10;
_.onSuggestionEmailAddress = t11;
_.onAddEmailAddressTypeAction = t12;
_.onDeleteEmailAddressTypeAction = t13;
_.onShowFullListEmailAddressAction = t14;
_.onFocusEmailAddressChangeAction = t15;
_.onRemoveDraggableEmailAddressAction = t16;
_.onFocusNextAddressAction = t17;
_.padding = t18;
_.margin = t19;
_.key = t20;
},
_RecipientComposerWidgetState: function _RecipientComposerWidgetState(t0, t1) {
var _ = this;
_._gapBetweenTagChangedAndFindSuggestion = null;
_._recipient_composer_widget$_isDragging = _._lastTagFocused = false;
_.___RecipientComposerWidgetState__currentListEmailAddress_A = $;
_._recipient_composer_widget$_imagePaths = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_RecipientComposerWidgetState_build_closure: function _RecipientComposerWidgetState_build_closure(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build__closure0: function _RecipientComposerWidgetState_build__closure0(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build__closure1: function _RecipientComposerWidgetState_build__closure1(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build__closure: function _RecipientComposerWidgetState_build__closure(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
_RecipientComposerWidgetState_build___closure: function _RecipientComposerWidgetState_build___closure(t0, t1, t2) {
this.$this = t0;
this.constraints = t1;
this.stateSetter = t2;
},
_RecipientComposerWidgetState_build____closure2: function _RecipientComposerWidgetState_build____closure2(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure1: function _RecipientComposerWidgetState_build____closure1(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure3: function _RecipientComposerWidgetState_build____closure3(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure4: function _RecipientComposerWidgetState_build____closure4(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure7: function _RecipientComposerWidgetState_build____closure7(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build_____closure: function _RecipientComposerWidgetState_build_____closure(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure5: function _RecipientComposerWidgetState_build____closure5(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure6: function _RecipientComposerWidgetState_build____closure6(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build_____closure0: function _RecipientComposerWidgetState_build_____closure0(t0, t1, t2) {
this.$this = t0;
this.stateSetter = t1;
this.tagEditorState = t2;
},
_RecipientComposerWidgetState_build______closure: function _RecipientComposerWidgetState_build______closure(t0, t1) {
this.$this = t0;
this.emailAddress = t1;
},
_RecipientComposerWidgetState_build___closure0: function _RecipientComposerWidgetState_build___closure0(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build___closure1: function _RecipientComposerWidgetState_build___closure1(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure0: function _RecipientComposerWidgetState_build____closure0(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build___closure2: function _RecipientComposerWidgetState_build___closure2(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build____closure: function _RecipientComposerWidgetState_build____closure(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build__closure2: function _RecipientComposerWidgetState_build__closure2(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build__closure3: function _RecipientComposerWidgetState_build__closure3(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build__closure4: function _RecipientComposerWidgetState_build__closure4(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState__findSuggestions_closure: function _RecipientComposerWidgetState__findSuggestions_closure(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState__isDuplicatedRecipient_closure: function _RecipientComposerWidgetState__isDuplicatedRecipient_closure() {
},
_RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure: function _RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure(t0) {
this.query = t0;
},
_RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure0: function _RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure0() {
},
_RecipientComposerWidgetState__handleFocusTagAction_closure: function _RecipientComposerWidgetState__handleFocusTagAction_closure(t0, t1) {
this.$this = t0;
this.focused = t1;
},
_RecipientComposerWidgetState__handleDeleteTagAction_closure: function _RecipientComposerWidgetState__handleDeleteTagAction_closure(t0, t1) {
this.$this = t0;
this.emailAddress = t1;
},
_RecipientComposerWidgetState__handleSelectOptionAction_closure: function _RecipientComposerWidgetState__handleSelectOptionAction_closure(t0, t1) {
this.$this = t0;
this.suggestionEmailAddress = t1;
},
_RecipientComposerWidgetState__handleSubmitTagAction_closure: function _RecipientComposerWidgetState__handleSubmitTagAction_closure(t0, t1) {
this.$this = t0;
this.textTrim = t1;
},
_RecipientComposerWidgetState__handleOnTagChangeAction_closure: function _RecipientComposerWidgetState__handleOnTagChangeAction_closure(t0, t1) {
this.$this = t0;
this.textTrim = t1;
},
_RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure: function _RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure(t0, t1) {
this.$this = t0;
this.draggableEmailAddress = t1;
},
_RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure0: function _RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure0(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure1: function _RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure1(t0) {
this.$this = t0;
},
RecipientSuggestionItemWidget: function RecipientSuggestionItemWidget(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.suggestionState = t0;
_.emailAddress = t1;
_.suggestionValid = t2;
_.highlight = t3;
_.onSelectedAction = t4;
_._recipient_suggestion_item_widget$_imagePaths = t5;
_.key = t6;
},
RecipientSuggestionItemWidget_build_closure: function RecipientSuggestionItemWidget_build_closure(t0) {
this.$this = t0;
},
RecipientTagItemWidget: function RecipientTagItemWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.isCollapsed = t0;
_.isLatestTagFocused = t1;
_.isLatestEmail = t2;
_.prefix = t3;
_.currentEmailAddress = t4;
_.currentListEmailAddress = t5;
_.collapsedListEmailAddress = t6;
_.onShowFullAction = t7;
_.onDeleteTagAction = t8;
_._recipient_tag_item_widget$_imagePaths = t9;
_.key = t10;
},
RecipientTagItemWidget_build_closure0: function RecipientTagItemWidget_build_closure0(t0) {
this.$this = t0;
},
RecipientTagItemWidget_build_closure: function RecipientTagItemWidget_build_closure(t0) {
this.$this = t0;
},
RecipientTagItemWidget_build_closure1: function RecipientTagItemWidget_build_closure1(t0) {
this.$this = t0;
},
SubjectComposerWidget$(focusNode, margin, onTextChange, padding, textController) {
return new B.SubjectComposerWidget(focusNode, textController, onTextChange, margin, padding, null);
},
SubjectComposerWidget: function SubjectComposerWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.focusNode = t0;
_.textController = t1;
_.onTextChange = t2;
_.margin = t3;
_.padding = t4;
_.key = t5;
},
TitleComposerWidget: function TitleComposerWidget(t0, t1) {
this.emailSubject = t0;
this.key = t1;
},
AttachmentComposerWidget: function AttachmentComposerWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.listFileUploaded = t0;
_.isCollapsed = t1;
_.onDeleteAttachmentAction = t2;
_.onToggleExpandAttachmentAction = t3;
_.key = t4;
},
_AttachmentComposerWidgetState: function _AttachmentComposerWidgetState(t0) {
var _ = this;
_._isCollapsed = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_AttachmentComposerWidgetState_build_closure: function _AttachmentComposerWidgetState_build_closure(t0) {
this.$this = t0;
},
_AttachmentComposerWidgetState_build__closure: function _AttachmentComposerWidgetState_build__closure(t0, t1) {
this.$this = t0;
this.isCollapsed = t1;
},
_AttachmentComposerWidgetState_build_closure0: function _AttachmentComposerWidgetState_build_closure0(t0) {
this.$this = t0;
},
BottomBarComposerWidget$(attachFileAction, deleteComposerAction, insertImageAction, isCodeViewEnabled, isFormattingOptionsEnabled, isSending, openRichToolbarAction, requestReadReceiptAction, saveToDraftAction, sendMessageAction, showCodeViewAction) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.BottomBarComposerWidget(isCodeViewEnabled, isFormattingOptionsEnabled, openRichToolbarAction, attachFileAction, insertImageAction, showCodeViewAction, deleteComposerAction, saveToDraftAction, sendMessageAction, requestReadReceiptAction, isSending, t1.find$1$1$tag(0, null, type$.ImagePaths), null);
},
BottomBarComposerWidget: function BottomBarComposerWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
var _ = this;
_.isCodeViewEnabled = t0;
_.isFormattingOptionsEnabled = t1;
_.openRichToolbarAction = t2;
_.attachFileAction = t3;
_.insertImageAction = t4;
_.showCodeViewAction = t5;
_.deleteComposerAction = t6;
_.saveToDraftAction = t7;
_.sendMessageAction = t8;
_.requestReadReceiptAction = t9;
_.isSending = t10;
_._bottom_bar_composer_widget$_imagePaths = t11;
_.key = t12;
},
DesktopAppBarComposerWidget$(constraints, displayMode, emailSubject, onChangeDisplayModeAction, onCloseViewAction) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.DesktopAppBarComposerWidget(emailSubject, onCloseViewAction, displayMode, onChangeDisplayModeAction, constraints, t1.find$1$1$tag(0, null, type$.ImagePaths), null);
},
DesktopAppBarComposerWidget: function DesktopAppBarComposerWidget(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.emailSubject = t0;
_.onCloseViewAction = t1;
_.displayMode = t2;
_.onChangeDisplayModeAction = t3;
_.constraints = t4;
_._desktop_app_bar_composer_widget$_imagePaths = t5;
_.key = t6;
},
DesktopAppBarComposerWidget_build_closure: function DesktopAppBarComposerWidget_build_closure(t0) {
this.$this = t0;
},
DesktopAppBarComposerWidget_build_closure0: function DesktopAppBarComposerWidget_build_closure0(t0) {
this.$this = t0;
},
DropZoneWidget: function DropZoneWidget(t0, t1, t2, t3) {
var _ = this;
_.width = t0;
_.height = t1;
_.addAttachmentFromDropZone = t2;
_.key = t3;
},
_DropZoneWidgetState: function _DropZoneWidgetState(t0, t1) {
var _ = this;
_._drop_zone_widget$_imagePaths = t0;
_._isDragging = false;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_DropZoneWidgetState_build_closure: function _DropZoneWidgetState_build_closure(t0) {
this.$this = t0;
},
_DropZoneWidgetState_build_closure0: function _DropZoneWidgetState_build_closure0(t0) {
this.$this = t0;
},
_DropZoneWidgetState_build__closure0: function _DropZoneWidgetState_build__closure0(t0) {
this.$this = t0;
},
_DropZoneWidgetState_build_closure1: function _DropZoneWidgetState_build_closure1(t0) {
this.$this = t0;
},
_DropZoneWidgetState_build__closure: function _DropZoneWidgetState_build__closure(t0) {
this.$this = t0;
},
MinimizeComposerWidget: function MinimizeComposerWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.onChangeDisplayModeAction = t0;
_.onCloseViewAction = t1;
_.emailSubject = t2;
_._minimize_composer_widget$_imagePaths = t3;
_.key = t4;
},
MinimizeComposerWidget_build_closure: function MinimizeComposerWidget_build_closure(t0) {
this.$this = t0;
},
MinimizeComposerWidget_build_closure0: function MinimizeComposerWidget_build_closure0(t0) {
this.$this = t0;
},
MobileResponsiveAppBarComposerWidget: function MobileResponsiveAppBarComposerWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.isCodeViewEnabled = t0;
_.isSendButtonEnabled = t1;
_.isFormattingOptionsEnabled = t2;
_.onCloseViewAction = t3;
_.attachFileAction = t4;
_.insertImageAction = t5;
_.sendMessageAction = t6;
_.openContextMenuAction = t7;
_.openRichToolbarAction = t8;
_._mobile_responsive_app_bar_composer_widget$_imagePaths = t9;
_.key = t10;
},
WebEditorWidget$($content, direction, editorController, height, onChangeContent, onEditorSettings, onEditorTextSizeChanged, onFocus, onImageUploadFailureAction, onImageUploadSuccessAction, onInitial, onMouseDown, onUnFocus, width) {
return new B.WebEditorWidget($content, direction, editorController, onInitial, onChangeContent, onFocus, onUnFocus, onMouseDown, onEditorSettings, onImageUploadSuccessAction, onImageUploadFailureAction, onEditorTextSizeChanged, width, height, null);
},
WebEditorWidget: function WebEditorWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
var _ = this;
_.content = t0;
_.direction = t1;
_.editorController = t2;
_.onInitial = t3;
_.onChangeContent = t4;
_.onFocus = t5;
_.onUnFocus = t6;
_.onMouseDown = t7;
_.onEditorSettings = t8;
_.onImageUploadSuccessAction = t9;
_.onImageUploadFailureAction = t10;
_.onEditorTextSizeChanged = t11;
_.width = t12;
_.height = t13;
_.key = t14;
},
_WebEditorState: function _WebEditorState(t0) {
var _ = this;
_.___WebEditorState__editorController_A = $;
_._widget = _.dropZoneHeight = _.dropZoneWidth = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_WebEditorState_build_closure: function _WebEditorState_build_closure(t0) {
this.$this = t0;
},
_WebEditorState_build_closure0: function _WebEditorState_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView$() {
var t1, t2;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, null, type$.ResponsiveUtils);
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.EmailView(t1, t2.find$1$1$tag(0, null, type$.ImagePaths), null);
},
EmailView: function EmailView(t0, t1, t2) {
this.responsiveUtils = t0;
this.imagePaths = t1;
this.key = t2;
},
EmailView_build_closure0: function EmailView_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView_build_closure: function EmailView_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView_build__closure: function EmailView_build__closure(t0, t1, t2) {
this.$this = t0;
this.currentEmail = t1;
this.context = t2;
},
EmailView_build___closure1: function EmailView_build___closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView_build___closure2: function EmailView_build___closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView_build___closure3: function EmailView_build___closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView_build__closure0: function EmailView_build__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView_build__closure1: function EmailView_build__closure1(t0, t1, t2) {
this.$this = t0;
this.currentEmail = t1;
this.context = t2;
},
EmailView_build___closure: function EmailView_build___closure(t0, t1) {
this.$this = t0;
this.currentListEmail = t1;
},
EmailView_build____closure: function EmailView_build____closure(t0, t1, t2) {
this.$this = t0;
this.currentEmail = t1;
this.context = t2;
},
EmailView_build___closure0: function EmailView_build___closure0(t0, t1, t2) {
this.$this = t0;
this.currentEmail = t1;
this.context = t2;
},
EmailView__buildEmailMessage_closure: function EmailView__buildEmailMessage_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView__buildEmailMessage__closure0: function EmailView__buildEmailMessage__closure0(t0) {
this.$this = t0;
},
EmailView__buildEmailMessage__closure1: function EmailView__buildEmailMessage__closure1(t0) {
this.$this = t0;
},
EmailView__buildEmailMessage__closure2: function EmailView__buildEmailMessage__closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView__buildEmailMessage__closure3: function EmailView__buildEmailMessage__closure3(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.attachments = t2;
},
EmailView__buildEmailMessage_closure0: function EmailView__buildEmailMessage_closure0(t0) {
this.$this = t0;
},
EmailView__buildEmailMessage_closure1: function EmailView__buildEmailMessage_closure1(t0) {
this.$this = t0;
},
EmailView__buildEmailMessage__closure: function EmailView__buildEmailMessage__closure(t0, t1) {
this.$this = t0;
this.allEmailContents = t1;
},
EmailView__buildEmailMessage___closure: function EmailView__buildEmailMessage___closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.constraints = t1;
_.allEmailContents = t2;
_.context = t3;
},
EmailView__markAsEmailUnreadAction_closure: function EmailView__markAsEmailUnreadAction_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView__markAsEmailSpamOrUnSpamAction_closure: function EmailView__markAsEmailSpamOrUnSpamAction_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.currentMailbox = t2;
},
EmailView__quickCreatingRuleAction_closure: function EmailView__quickCreatingRuleAction_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView__markAsEmailUnreadPopupItemAction_closure: function EmailView__markAsEmailUnreadPopupItemAction_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.email = t2;
},
EmailView__markAsEmailSpamOrUnSpamPopupItemAction_closure: function EmailView__markAsEmailSpamOrUnSpamPopupItemAction_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.email = t2;
_.mailboxContain = t3;
},
EmailView__quickCreatingRulePopupItemAction_closure: function EmailView__quickCreatingRulePopupItemAction_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.email = t2;
},
CalendarEventExtension_getColorEventActionBanner(_this, listEmailAddressSender) {
var matchedAttendee;
switch (_this.method) {
case C.EventMethod_1:
case C.EventMethod_3:
return C.Color_4278221567;
case C.EventMethod_5:
case C.EventMethod_6:
return C.Color_4283151179;
case C.EventMethod_4:
case C.EventMethod_7:
return E.Color_4294914887;
case C.EventMethod_2:
matchedAttendee = B.CalendarEventExtension_findAttendeeHasUpdatedStatus(_this, listEmailAddressSender);
if (matchedAttendee != null)
return B.CalendarEventExtension_getAttendeeMessageTextColor(_this, matchedAttendee.participationStatus);
else
return C.Color_0;
default:
return C.Color_0;
}
},
CalendarEventExtension_getColorEventActionText(_this, listEmailAddressSender) {
var matchedAttendee;
switch (_this.method) {
case C.EventMethod_1:
case C.EventMethod_3:
return C.Color_4278221567;
case C.EventMethod_5:
case C.EventMethod_6:
return C.Color_4283151179;
case C.EventMethod_4:
case C.EventMethod_7:
return E.Color_4294914887;
case C.EventMethod_2:
matchedAttendee = B.CalendarEventExtension_findAttendeeHasUpdatedStatus(_this, listEmailAddressSender);
if (matchedAttendee != null)
return B.CalendarEventExtension_getAttendeeMessageTextColor(_this, matchedAttendee.participationStatus);
else
return C.Color_0;
default:
return C.Color_0;
}
},
CalendarEventExtension_getIconEventAction(_this, imagePaths) {
switch (_this.method) {
case C.EventMethod_1:
case C.EventMethod_3:
return "assets/images/ic_event_invited.svg";
case C.EventMethod_5:
return "assets/images/ic_event_updated.svg";
case C.EventMethod_4:
return "assets/images/ic_event_canceled.svg";
default:
return "";
}
},
CalendarEventExtension_getTitleEventAction(_this, context, listEmailAddressSender) {
var matchedAttendee, _null = null;
switch (_this.method) {
case C.EventMethod_1:
case C.EventMethod_3:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(" has invited you in to a meeting", _null, "messageEventActionBannerOrganizerInvited", _null, _null);
case C.EventMethod_5:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(" has updated a meeting", _null, "messageEventActionBannerOrganizerUpdated", _null, _null);
case C.EventMethod_4:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(" has canceled a meeting", _null, "messageEventActionBannerOrganizerCanceled", _null, _null);
case C.EventMethod_2:
matchedAttendee = B.CalendarEventExtension_findAttendeeHasUpdatedStatus(_this, listEmailAddressSender);
if (matchedAttendee != null)
return B.CalendarEventExtension_getAttendeeMessageStatus(_this, context, matchedAttendee.participationStatus);
else
return "";
case C.EventMethod_6:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(" has proposed changes to the event", _null, "messageEventActionBannerAttendeeCounter", _null, _null);
case C.EventMethod_7:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Your counter proposal was declined", _null, "messageEventActionBannerAttendeeCounterDeclined", _null, _null);
default:
return "";
}
},
CalendarEventExtension_getSubTitleEventAction(_this, context) {
var _null = null;
switch (_this.method) {
case C.EventMethod_5:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message('"The time has been updated to better suit all of you"', _null, "subMessageEventActionBannerUpdated", _null, _null);
case C.EventMethod_4:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message('"We are canceling the event due to bad weather."', _null, "subMessageEventActionBannerCanceled", _null, _null);
default:
return "";
}
},
CalendarEventExtension_getUserNameEventAction(_this, context, imagePaths, listEmailAddressSender) {
var t1, _null = null;
switch (_this.method) {
case C.EventMethod_1:
case C.EventMethod_3:
case C.EventMethod_5:
case C.EventMethod_4:
case C.EventMethod_7:
t1 = _this.organizer;
t1 = t1 == null ? _null : t1.name;
if (t1 == null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.Intl__message("You", _null, "you", _null, _null);
}
return t1;
case C.EventMethod_2:
case C.EventMethod_6:
return B.CalendarEventExtension_getAttendeeNameEvent(_this, context, listEmailAddressSender);
default:
return "";
}
},
CalendarEventExtension_get_organizerName(_this) {
var t1 = _this.organizer,
t2 = t1 == null,
t3 = t2 ? null : t1.name;
if (t3 == null)
if (t2)
t1 = null;
else {
t1 = t1.mailto;
t1 = t1 == null ? null : t1.value;
}
else
t1 = t3;
return t1 == null ? "" : t1;
},
CalendarEventExtension_getAttendeeNameEvent(_this, context, listEmailAddressSender) {
var t1, _null = null,
_s11_ = "An attendee",
_s10_ = "anAttendee",
matchedAttendee = B.CalendarEventExtension_findAttendeeHasUpdatedStatus(_this, listEmailAddressSender);
if (matchedAttendee != null) {
t1 = matchedAttendee.name;
t1 = t1 == null ? _null : t1.name;
if (t1 == null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.Intl__message(_s11_, _null, _s10_, _null, _null);
}
return t1;
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(_s11_, _null, _s10_, _null, _null);
}
},
CalendarEventExtension_findAttendeeHasUpdatedStatus(_this, listEmailAddressSender) {
var listMatchedAttendee,
t1 = _this.participants;
if ((t1 == null ? null : t1.length !== 0) === true) {
t1.toString;
listMatchedAttendee = A.IterableNullableExtension_whereNotNull(new A.WhereIterable(t1, new B.CalendarEventExtension_findAttendeeHasUpdatedStatus_closure(listEmailAddressSender), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>")), type$.CalendarAttendee);
A.log("CalendarEventExtension::findAttendeeHasUpdatedStatus:listMatchedAttendee: " + listMatchedAttendee.toString$0(0), C.Level_3);
if (!listMatchedAttendee.get$isEmpty(listMatchedAttendee))
return listMatchedAttendee.get$first(listMatchedAttendee);
}
return null;
},
CalendarEventExtension_getAttendeeMessageStatus(_this, context, $status) {
var _null = null,
t1 = J.getInterceptor$($status);
if (t1.$eq($status, new A.CalendarAttendeeParticipationStatus("ACCEPTED"))) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(" has accepted this invitation", _null, "messageEventActionBannerAttendeeAccepted", _null, _null);
} else if (t1.$eq($status, new A.CalendarAttendeeParticipationStatus("TENTATIVE"))) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(' has replied "Maybe" to this invitation', _null, "messageEventActionBannerAttendeeTentative", _null, _null);
} else if (t1.$eq($status, new A.CalendarAttendeeParticipationStatus("DECLINED"))) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(" has declined this invitation", _null, "messageEventActionBannerAttendeeDeclined", _null, _null);
} else
return "";
},
CalendarEventExtension_getAttendeeMessageTextColor(_this, $status) {
var t1 = J.getInterceptor$($status);
if (t1.$eq($status, new A.CalendarAttendeeParticipationStatus("ACCEPTED")))
return C.Color_4283151179;
else if (t1.$eq($status, new A.CalendarAttendeeParticipationStatus("TENTATIVE")))
return C.Color_4294951175;
else if (t1.$eq($status, new A.CalendarAttendeeParticipationStatus("DECLINED")))
return E.Color_4294914887;
else
return C.Color_0;
},
CalendarEventExtension_get_localStartDate(_this) {
var t1 = _this.startUtcDate;
return t1 == null ? null : t1.value.toLocal$0();
},
CalendarEventExtension_get_localEndDate(_this) {
var t1 = _this.endUtcDate;
return t1 == null ? null : t1.value.toLocal$0();
},
CalendarEventExtension_get_monthStartDateAsString(_this) {
var t1;
if (B.CalendarEventExtension_get_localStartDate(_this) != null) {
t1 = B.CalendarEventExtension_get_localStartDate(_this);
t1.toString;
return B.formatDate(t1, A._setArrayType(["M"], type$.JSArray_String), B.AppUtils_getCurrentDateLocale());
} else
return "";
},
CalendarEventExtension_get_dayStartDateAsString(_this) {
var t1;
if (B.CalendarEventExtension_get_localStartDate(_this) != null) {
t1 = B.CalendarEventExtension_get_localStartDate(_this);
t1.toString;
return B.formatDate(t1, A._setArrayType(["d"], type$.JSArray_String), B.AppUtils_getCurrentDateLocale());
} else
return "";
},
CalendarEventExtension_get_weekDayStartDateAsString(_this) {
var t1;
if (B.CalendarEventExtension_get_localStartDate(_this) != null) {
t1 = B.CalendarEventExtension_get_localStartDate(_this);
t1.toString;
return B.formatDate(t1, A._setArrayType(["D"], type$.JSArray_String), B.AppUtils_getCurrentDateLocale());
} else
return "";
},
CalendarEventExtension_formatDateTime(_this, dateTime) {
return B.formatDate(dateTime, A._setArrayType(["DD", ", ", "MM", " ", "dd", ", ", "yyyy", " ", "hh", ":", "ss", " ", "am"], type$.JSArray_String), B.AppUtils_getCurrentDateLocale());
},
CalendarEventExtension_get_dateTimeEventAsString(_this) {
var t1, timeStart, timeEnd;
if (B.CalendarEventExtension_get_localStartDate(_this) != null && B.CalendarEventExtension_get_localEndDate(_this) != null) {
t1 = B.CalendarEventExtension_get_localStartDate(_this);
t1.toString;
timeStart = B.CalendarEventExtension_formatDateTime(_this, t1);
if (A.DateUtils_isSameDay(B.CalendarEventExtension_get_localStartDate(_this), B.CalendarEventExtension_get_localEndDate(_this))) {
t1 = B.CalendarEventExtension_get_localEndDate(_this);
t1.toString;
timeEnd = B.formatDate(t1, A._setArrayType(["hh", ":", "ss", " ", "am"], type$.JSArray_String), B.AppUtils_getCurrentDateLocale());
} else {
t1 = B.CalendarEventExtension_get_localEndDate(_this);
t1.toString;
timeEnd = B.CalendarEventExtension_formatDateTime(_this, t1);
}
return timeStart + " - " + timeEnd;
} else if (B.CalendarEventExtension_get_localStartDate(_this) != null) {
t1 = B.CalendarEventExtension_get_localStartDate(_this);
t1.toString;
return B.CalendarEventExtension_formatDateTime(_this, t1);
} else if (B.CalendarEventExtension_get_localEndDate(_this) != null) {
t1 = B.CalendarEventExtension_get_localEndDate(_this);
t1.toString;
return B.CalendarEventExtension_formatDateTime(_this, t1);
} else
return "";
},
CalendarEventExtension_get_videoConferences(_this) {
var t3, videoConferences, openPaasVideoConferences, t4, googleVideoConferences,
t1 = _this.extensionFields,
t2 = t1 == null;
if (!t2 && t1.mapFields.__js_helper$_length !== 0) {
t3 = type$.String;
videoConferences = J.JSArray_JSArray$growable(0, t3);
if (t2)
openPaasVideoConferences = null;
else {
t2 = t1.mapFields.$index(0, "X-OPENPAAS-VIDEOCONFERENCE");
if (t2 == null)
t2 = null;
else {
t2 = A.IterableNullableExtension_whereNotNull(t2, t3);
t4 = t2.$ti._eval$1("WhereIterable<Iterable.E>");
t4 = A.List_List$of(new A.WhereIterable(t2, new B.CalendarEventExtension_get_videoConferences_closure(), t4), true, t4._eval$1("Iterable.E"));
t2 = t4;
}
openPaasVideoConferences = t2;
}
if (openPaasVideoConferences == null)
openPaasVideoConferences = A._setArrayType([], type$.JSArray_String);
A.log("CalendarEventExtension::openPaasVideoConferences: " + A.S(openPaasVideoConferences), C.Level_3);
t1 = t1.mapFields.$index(0, "X-GOOGLE-CONFERENCE");
if (t1 == null)
googleVideoConferences = null;
else {
t1 = A.IterableNullableExtension_whereNotNull(t1, t3);
t2 = t1.$ti._eval$1("WhereIterable<Iterable.E>");
t2 = A.List_List$of(new A.WhereIterable(t1, new B.CalendarEventExtension_get_videoConferences_closure0(), t2), true, t2._eval$1("Iterable.E"));
googleVideoConferences = t2;
}
if (googleVideoConferences == null)
googleVideoConferences = A._setArrayType([], type$.JSArray_String);
A.log("CalendarEventExtension::googleVideoConferences: " + A.S(googleVideoConferences), C.Level_3);
if (openPaasVideoConferences.length !== 0)
C.JSArray_methods.addAll$1(videoConferences, openPaasVideoConferences);
if (googleVideoConferences.length !== 0)
C.JSArray_methods.addAll$1(videoConferences, googleVideoConferences);
return videoConferences;
}
return A._setArrayType([], type$.JSArray_String);
},
CalendarEventExtension_findAttendeeHasUpdatedStatus_closure: function CalendarEventExtension_findAttendeeHasUpdatedStatus_closure(t0) {
this.listEmailAddressSender = t0;
},
CalendarEventExtension_get_videoConferences_closure: function CalendarEventExtension_get_videoConferences_closure() {
},
CalendarEventExtension_get_videoConferences_closure0: function CalendarEventExtension_get_videoConferences_closure0() {
},
ListAttendeeExtension_get_mailtoAsString(_this) {
return A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(_this, new B.ListAttendeeExtension_get_mailtoAsString_closure(), A._arrayInstanceType(_this)._eval$1("MappedListIterable<1,String?>")), type$.String).join$1(0, ", ");
},
ListAttendeeExtension_withoutOrganizer(_this, organizer) {
var t1 = A.IterableNullableExtension_whereNotNull(new A.WhereIterable(_this, new B.ListAttendeeExtension_withoutOrganizer_closure(organizer), A._arrayInstanceType(_this)._eval$1("WhereIterable<1>")), type$.CalendarAttendee);
return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
},
ListAttendeeExtension_get_mailtoAsString_closure: function ListAttendeeExtension_get_mailtoAsString_closure() {
},
ListAttendeeExtension_withoutOrganizer_closure: function ListAttendeeExtension_withoutOrganizer_closure(t0) {
this.organizer = t0;
},
AttachmentItemWidget: function AttachmentItemWidget(t0, t1, t2, t3) {
var _ = this;
_.attachment = t0;
_.downloadAttachmentAction = t1;
_._attachment_item_widget$_imagePaths = t2;
_.key = t3;
},
AttachmentItemWidget_build_closure0: function AttachmentItemWidget_build_closure0(t0) {
this.$this = t0;
},
AttachmentItemWidget_build_closure: function AttachmentItemWidget_build_closure(t0) {
this.$this = t0;
},
AttendeeWidget: function AttendeeWidget(t0, t1, t2) {
this.attendee = t0;
this.listAttendees = t1;
this.key = t2;
},
CalendarDateIconWidget: function CalendarDateIconWidget(t0, t1, t2) {
this.calendarEvent = t0;
this.width = t1;
this.key = t2;
},
CalendarEventActionBannerWidget: function CalendarEventActionBannerWidget(t0, t1, t2) {
this.calendarEvent = t0;
this.listEmailAddressSender = t1;
this.key = t2;
},
CalendarEventActionButtonWidget: function CalendarEventActionButtonWidget(t0, t1, t2) {
this.eventActions = t0;
this.margin = t1;
this.key = t2;
},
CalendarEventActionButtonWidget_build_closure: function CalendarEventActionButtonWidget_build_closure(t0, t1) {
this.context = t0;
this.responsiveUtils = t1;
},
CalendarEventActionButtonWidget_build__closure: function CalendarEventActionButtonWidget_build__closure(t0) {
this.action = t0;
},
CalendarEventDetailWidget: function CalendarEventDetailWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.calendarEvent = t0;
_.eventActions = t1;
_.onOpenNewTabAction = t2;
_.onOpenComposerAction = t3;
_.key = t4;
},
CalendarEventInformationWidget: function CalendarEventInformationWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.calendarEvent = t0;
_.eventActions = t1;
_.onOpenNewTabAction = t2;
_.onOpenComposerAction = t3;
_.key = t4;
},
EventAttendeeDetailWidget: function EventAttendeeDetailWidget(t0, t1, t2) {
this.attendees = t0;
this.organizer = t1;
this.key = t2;
},
_EventAttendeeDetailWidgetState: function _EventAttendeeDetailWidgetState(t0) {
var _ = this;
_.___EventAttendeeDetailWidgetState__isShowAllAttendee_A = _.___EventAttendeeDetailWidgetState__attendeesDisplayed_A = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_EventAttendeeDetailWidgetState_build_closure: function _EventAttendeeDetailWidgetState_build_closure(t0) {
this.$this = t0;
},
_EventAttendeeDetailWidgetState_build_closure0: function _EventAttendeeDetailWidgetState_build_closure0(t0) {
this.$this = t0;
},
_EventAttendeeDetailWidgetState_build__closure: function _EventAttendeeDetailWidgetState_build__closure(t0) {
this.$this = t0;
},
EventAttendeeInformationWidget: function EventAttendeeInformationWidget(t0, t1, t2) {
this.attendees = t0;
this.organizer = t1;
this.key = t2;
},
EventDescriptionDetailWidget: function EventDescriptionDetailWidget(t0, t1, t2, t3) {
var _ = this;
_.description = t0;
_.onOpenNewTabAction = t1;
_.onOpenComposerAction = t2;
_.key = t3;
},
EventDescriptionDetailWidget_build_closure: function EventDescriptionDetailWidget_build_closure(t0) {
this.$this = t0;
},
EventLinkDetailWidget: function EventLinkDetailWidget(t0, t1) {
this.listHyperLink = t0;
this.key = t1;
},
EventLinkDetailWidget_build_closure: function EventLinkDetailWidget_build_closure() {
},
EventLocationDetailWidget: function EventLocationDetailWidget(t0, t1, t2, t3) {
var _ = this;
_.locationEvent = t0;
_.onOpenNewTabAction = t1;
_.onOpenComposerAction = t2;
_.key = t3;
},
EventLocationDetailWidget_build_closure: function EventLocationDetailWidget_build_closure(t0) {
this.$this = t0;
},
EventLocationInformationWidget: function EventLocationInformationWidget(t0, t1, t2, t3) {
var _ = this;
_.locationEvent = t0;
_.onOpenNewTabAction = t1;
_.onOpenComposerAction = t2;
_.key = t3;
},
EventLocationInformationWidget_build_closure: function EventLocationInformationWidget_build_closure(t0) {
this.$this = t0;
},
EventTimeWidgetWidget: function EventTimeWidgetWidget(t0, t1) {
this.timeEvent = t0;
this.key = t1;
},
EventTimeInformationWidget: function EventTimeInformationWidget(t0, t1) {
this.timeEvent = t0;
this.key = t1;
},
EventTitleWidget: function EventTitleWidget(t0, t1) {
this.title = t0;
this.key = t1;
},
OrganizerWidget: function OrganizerWidget(t0, t1) {
this.organizer = t0;
this.key = t1;
},
SeeAllAttendeesButtonWidget: function SeeAllAttendeesButtonWidget(t0, t1) {
this.onTap = t0;
this.key = t1;
},
DraggableAttachmentItemWidget: function DraggableAttachmentItemWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.attachment = t0;
_.onDragStarted = t1;
_.onDragEnd = t2;
_.downloadAttachmentAction = t3;
_.key = t4;
},
EmailActionCupertinoActionSheetActionBuilder: function EmailActionCupertinoActionSheetActionBuilder(t0, t1, t2, t3, t4) {
var _ = this;
_.presentationEmail = t0;
_.iconLeftPadding = t1;
_.key = t2;
_.actionIcon = t3;
_.actionName = t4;
_.onCupertinoActionSheetActionClick = null;
},
EmailActionCupertinoActionSheetActionBuilder_build_closure: function EmailActionCupertinoActionSheetActionBuilder_build_closure(t0) {
this.$this = t0;
},
EmailAttachmentsWidget: function EmailAttachmentsWidget(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.attachments = t0;
_.onDragStarted = t1;
_.onDragEnd = t2;
_.downloadAttachmentAction = t3;
_.responsiveUtils = t4;
_.imagePaths = t5;
_.onTapShowAllAttachmentFile = t6;
_.key = t7;
},
EmailAttachmentsWidget_build_getItemCount: function EmailAttachmentsWidget_build_getItemCount(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailAttachmentsWidget_build_closure: function EmailAttachmentsWidget_build_closure(t0) {
this.$this = t0;
},
EmailAttachmentsWidget_build_closure0: function EmailAttachmentsWidget_build_closure0(t0) {
this.$this = t0;
},
EmailReceiverWidget: function EmailReceiverWidget(t0, t1, t2, t3) {
var _ = this;
_.emailSelected = t0;
_.maxWidth = t1;
_.onPreviewEmailAddressActionCallback = t2;
_.key = t3;
},
_EmailReceiverWidgetState: function _EmailReceiverWidgetState(t0, t1, t2) {
var _ = this;
_._email_receiver_widget$_imagePaths = t0;
_._email_receiver_widget$_responsiveUtils = t1;
_._isDisplayAll = false;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
_EmailReceiverWidgetState_build_closure: function _EmailReceiverWidgetState_build_closure(t0) {
this.$this = t0;
},
_EmailReceiverWidgetState_build__closure: function _EmailReceiverWidgetState_build__closure(t0) {
this.$this = t0;
},
_EmailReceiverWidgetState__buildEmailAddressOfReceiver_closure: function _EmailReceiverWidgetState__buildEmailAddressOfReceiver_closure(t0) {
this.$this = t0;
},
_EmailReceiverWidgetState__buildEmailAddressOfReceiver__closure: function _EmailReceiverWidgetState__buildEmailAddressOfReceiver__closure(t0) {
this.$this = t0;
},
_EmailReceiverWidgetState__buildListEmailAddressWidget_closure: function _EmailReceiverWidgetState__buildListEmailAddressWidget_closure(t0, t1, t2) {
this.$this = t0;
this.lastEmailAddress = t1;
this.context = t2;
},
_EmailReceiverWidgetState__buildListEmailAddressWidget__closure0: function _EmailReceiverWidgetState__buildListEmailAddressWidget__closure0(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.emailAddress = t2;
},
_EmailReceiverWidgetState__buildListEmailAddressWidget__closure: function _EmailReceiverWidgetState__buildListEmailAddressWidget__closure(t0, t1) {
this.context = t0;
this.emailAddress = t1;
},
EmailSenderBuilder: function EmailSenderBuilder(t0, t1, t2) {
this.emailAddress = t0;
this.openEmailAddressDetailAction = t1;
this.key = t2;
},
EmailSenderBuilder_build_closure0: function EmailSenderBuilder_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailSenderBuilder_build_closure: function EmailSenderBuilder_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailSenderBuilder_build_closure2: function EmailSenderBuilder_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailSenderBuilder_build_closure1: function EmailSenderBuilder_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailSubjectWidget: function EmailSubjectWidget(t0, t1) {
this.presentationEmail = t0;
this.key = t1;
},
EmailViewAppBarWidget: function EmailViewAppBarWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_._email_view_app_bar_widget$_imagePaths = t0;
_._email_view_app_bar_widget$_responsiveUtils = t1;
_.presentationEmail = t2;
_.optionsWidget = t3;
_.mailboxContain = t4;
_.isSearchActivated = t5;
_.onBackAction = t6;
_.onEmailActionClick = t7;
_.onMoreActionClick = t8;
_.key = t9;
},
EmailViewAppBarWidget_build_closure: function EmailViewAppBarWidget_build_closure(t0) {
this.$this = t0;
},
EmailViewAppBarWidget_build__closure: function EmailViewAppBarWidget_build__closure(t0) {
this.$this = t0;
},
EmailViewAppBarWidget_build__closure0: function EmailViewAppBarWidget_build__closure0(t0) {
this.$this = t0;
},
EmailViewAppBarWidget_build__closure1: function EmailViewAppBarWidget_build__closure1(t0) {
this.$this = t0;
},
EmailViewAppBarWidget_build__closure2: function EmailViewAppBarWidget_build__closure2(t0) {
this.$this = t0;
},
EmailViewAppBarWidget_build__closure3: function EmailViewAppBarWidget_build__closure3(t0) {
this.$this = t0;
},
EmailViewBackButton: function EmailViewBackButton(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._email_view_back_button$_imagePaths = t0;
_.isSearchActivated = t1;
_.onBackAction = t2;
_.maxWidth = t3;
_.mailboxContain = t4;
_.key = t5;
},
EmailViewBottomBarWidget: function EmailViewBottomBarWidget(t0, t1, t2, t3, t4) {
var _ = this;
_._email_view_bottom_bar_widget$_imagePaths = t0;
_._email_view_bottom_bar_widget$_responsiveUtils = t1;
_.presentationEmail = t2;
_.emailActionCallback = t3;
_.key = t4;
},
EmailViewBottomBarWidget_build_closure: function EmailViewBottomBarWidget_build_closure(t0) {
this.$this = t0;
},
EmailViewBottomBarWidget_build_closure0: function EmailViewBottomBarWidget_build_closure0(t0) {
this.$this = t0;
},
EmailViewBottomBarWidget_build_closure1: function EmailViewBottomBarWidget_build_closure1(t0) {
this.$this = t0;
},
EmailViewBottomBarWidget_build_closure2: function EmailViewBottomBarWidget_build_closure2(t0) {
this.$this = t0;
},
EmailViewEmptyWidget: function EmailViewEmptyWidget(t0) {
this.key = t0;
},
EmailViewLoadingBarWidget: function EmailViewLoadingBarWidget(t0, t1) {
this.viewState = t0;
this.key = t1;
},
EmailViewLoadingBarWidget_build_closure: function EmailViewLoadingBarWidget_build_closure() {
},
EmailViewLoadingBarWidget_build_closure0: function EmailViewLoadingBarWidget_build_closure0() {
},
FeedbackDraggableAttachmentItemWidget: function FeedbackDraggableAttachmentItemWidget(t0, t1, t2) {
this.attachment = t0;
this._feedback_draggable_attachment_item_widget$_imagePaths = t1;
this.key = t2;
},
InformationSenderAndReceiverBuilder: function InformationSenderAndReceiverBuilder(t0, t1, t2) {
this.controller = t0;
this.emailSelected = t1;
this.key = t2;
},
InformationSenderAndReceiverBuilder_build_closure: function InformationSenderAndReceiverBuilder_build_closure(t0) {
this.$this = t0;
},
ReceivedTimeBuilder: function ReceivedTimeBuilder(t0, t1) {
this.emailSelected = t0;
this.key = t1;
},
BaseMailboxView: function BaseMailboxView() {
},
_BaseMailboxView_GetWidget_AppLoaderMixin: function _BaseMailboxView_GetWidget_AppLoaderMixin() {
},
_BaseMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin: function _BaseMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin() {
},
MailboxView$() {
var t1, t2;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, null, type$.ResponsiveUtils);
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.MailboxView(t1, t2.find$1$1$tag(0, null, type$.ImagePaths), null);
},
MailboxView: function MailboxView(t0, t1, t2) {
this.responsiveUtils = t0;
this.imagePaths = t1;
this.key = t2;
},
MailboxView__buildLogoApp_closure: function MailboxView__buildLogoApp_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListMailbox_closure: function MailboxView__buildListMailbox_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListMailbox_closure0: function MailboxView__buildListMailbox_closure0(t0) {
this.$this = t0;
},
MailboxView__buildListMailbox_closure1: function MailboxView__buildListMailbox_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListMailbox_closure2: function MailboxView__buildListMailbox_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListMailbox_closure3: function MailboxView__buildListMailbox_closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListMailbox_closure4: function MailboxView__buildListMailbox_closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListMailbox_closure5: function MailboxView__buildListMailbox_closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListMailbox_closure6: function MailboxView__buildListMailbox_closure6(t0) {
this.$this = t0;
},
MailboxView__buildListMailbox__closure2: function MailboxView__buildListMailbox__closure2() {
},
MailboxView__buildListMailbox__closure1: function MailboxView__buildListMailbox__closure1(t0) {
this.$this = t0;
},
MailboxView__buildListMailbox_closure7: function MailboxView__buildListMailbox_closure7(t0) {
this.$this = t0;
},
MailboxView__buildListMailbox__closure0: function MailboxView__buildListMailbox__closure0() {
},
MailboxView__buildListMailbox__closure: function MailboxView__buildListMailbox__closure(t0) {
this.$this = t0;
},
MailboxView__buildListChildTileWidget_closure: function MailboxView__buildListChildTileWidget_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListChildTileWidget__closure: function MailboxView__buildListChildTileWidget__closure(t0, t1, t2) {
this.$this = t0;
this.mailboxNode = t1;
this.context = t2;
},
MailboxView__buildListChildTileWidget___closure5: function MailboxView__buildListChildTileWidget___closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListChildTileWidget___closure3: function MailboxView__buildListChildTileWidget___closure3(t0) {
this.$this = t0;
},
MailboxView__buildListChildTileWidget___closure4: function MailboxView__buildListChildTileWidget___closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListChildTileWidget___closure2: function MailboxView__buildListChildTileWidget___closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListChildTileWidget__closure0: function MailboxView__buildListChildTileWidget__closure0(t0, t1, t2) {
this.$this = t0;
this.mailboxNode = t1;
this.context = t2;
},
MailboxView__buildListChildTileWidget___closure1: function MailboxView__buildListChildTileWidget___closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListChildTileWidget___closure0: function MailboxView__buildListChildTileWidget___closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxView__buildListChildTileWidget___closure: function MailboxView__buildListChildTileWidget___closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxLoadingBarWidget: function MailboxLoadingBarWidget(t0, t1) {
this.viewState = t0;
this.key = t1;
},
MailboxLoadingBarWidget_build_closure: function MailboxLoadingBarWidget_build_closure() {
},
MailboxLoadingBarWidget_build_closure0: function MailboxLoadingBarWidget_build_closure0() {
},
FilterMessageAction: function FilterMessageAction(t0, t1) {
this.context = t0;
this.option = t1;
},
HandleEmailActionTypeAction: function HandleEmailActionTypeAction(t0, t1, t2) {
this.context = t0;
this.emailAction = t1;
this.listEmailSelected = t2;
},
OpenEmailDetailedFromSuggestionQuickSearchAction: function OpenEmailDetailedFromSuggestionQuickSearchAction(t0, t1) {
this.context = t0;
this.presentationEmail = t1;
},
BaseMailboxDashBoardView: function BaseMailboxDashBoardView() {
},
_BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin: function _BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin() {
},
_BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin: function _BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin() {
},
_BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin_AppLoaderMixin: function _BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin_AppLoaderMixin() {
},
MailboxDashBoardView$() {
var t1, t2, t3, t4, t5, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t2 = type$.ImagePaths;
t3 = $.GetInstance__getInstance;
t3 = (t3 == null ? $.GetInstance__getInstance = C.C_GetInstance : t3).find$1$1$tag(0, _null, t2);
t4 = $.GetInstance__getInstance;
t4 = (t4 == null ? $.GetInstance__getInstance = C.C_GetInstance : t4).find$1$1$tag(0, _null, t2);
t5 = $.GetInstance__getInstance;
return new B.MailboxDashBoardView(t1, t3, t4, (t5 == null ? $.GetInstance__getInstance = C.C_GetInstance : t5).find$1$1$tag(0, _null, t2), _null);
},
MailboxDashBoardView: function MailboxDashBoardView(t0, t1, t2, t3, t4) {
var _ = this;
_.responsiveUtils = t0;
_.imagePaths = t1;
_.FilterEmailPopupMenuMixin__imagePaths = t2;
_.UserSettingPopupMenuMixin__imagePaths = t3;
_.key = t4;
},
MailboxDashBoardView_build_closure4: function MailboxDashBoardView_build_closure4(t0) {
this.context = t0;
},
MailboxDashBoardView_build_closure: function MailboxDashBoardView_build_closure(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure0: function MailboxDashBoardView_build_closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure1: function MailboxDashBoardView_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_build__closure0: function MailboxDashBoardView_build__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_build_closure2: function MailboxDashBoardView_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_build__closure: function MailboxDashBoardView_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_build_closure3: function MailboxDashBoardView_build_closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_build_closure6: function MailboxDashBoardView_build_closure6(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure5: function MailboxDashBoardView_build_closure5(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure7: function MailboxDashBoardView_build_closure7(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure8: function MailboxDashBoardView_build_closure8(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildThreadViewForWebDesktop_closure: function MailboxDashBoardView__buildThreadViewForWebDesktop_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildThreadViewForWebDesktop__closure0: function MailboxDashBoardView__buildThreadViewForWebDesktop__closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildThreadViewForWebDesktop__closure: function MailboxDashBoardView__buildThreadViewForWebDesktop__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildRightHeader_closure: function MailboxDashBoardView__buildRightHeader_closure(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildRightHeader__closure: function MailboxDashBoardView__buildRightHeader__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildRightHeader___closure0: function MailboxDashBoardView__buildRightHeader___closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildRightHeader___closure1: function MailboxDashBoardView__buildRightHeader___closure1(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildRightHeader__closure0: function MailboxDashBoardView__buildRightHeader__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildRightHeader___closure: function MailboxDashBoardView__buildRightHeader___closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildRightHeader____closure: function MailboxDashBoardView__buildRightHeader____closure(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildRightHeader____closure0: function MailboxDashBoardView__buildRightHeader____closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar_closure: function MailboxDashBoardView__buildListButtonTopBar_closure(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar__closure0: function MailboxDashBoardView__buildListButtonTopBar__closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar__closure1: function MailboxDashBoardView__buildListButtonTopBar__closure1(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar_closure0: function MailboxDashBoardView__buildListButtonTopBar_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildListButtonTopBar_closure1: function MailboxDashBoardView__buildListButtonTopBar_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildListButtonTopBar__closure: function MailboxDashBoardView__buildListButtonTopBar__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildListButtonTopBar___closure: function MailboxDashBoardView__buildListButtonTopBar___closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildMarkAsMailboxReadLoading_closure: function MailboxDashBoardView__buildMarkAsMailboxReadLoading_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure: function MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure() {
},
MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure0: function MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildDownloadTaskStateWidget_closure: function MailboxDashBoardView__buildDownloadTaskStateWidget_closure(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildDownloadTaskStateWidget__closure0: function MailboxDashBoardView__buildDownloadTaskStateWidget__closure0() {
},
MailboxDashBoardView__buildDownloadTaskStateWidget__closure: function MailboxDashBoardView__buildDownloadTaskStateWidget__closure(t0) {
this.downloadTasks = t0;
},
MailboxDashBoardView__buildVacationNotificationMessage_closure: function MailboxDashBoardView__buildVacationNotificationMessage_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildVacationNotificationMessage__closure0: function MailboxDashBoardView__buildVacationNotificationMessage__closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildVacationNotificationMessage__closure: function MailboxDashBoardView__buildVacationNotificationMessage__closure(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonQuickSearchFilter_closure: function MailboxDashBoardView__buildListButtonQuickSearchFilter_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildListButtonQuickSearchFilter__closure: function MailboxDashBoardView__buildListButtonQuickSearchFilter__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildQuickSearchFilterButton_closure: function MailboxDashBoardView__buildQuickSearchFilterButton_closure(t0, t1, t2) {
this.$this = t0;
this.filter = t1;
this.context = t2;
},
MailboxDashBoardView__buildQuickSearchFilterButton__closure: function MailboxDashBoardView__buildQuickSearchFilterButton__closure(t0, t1) {
this.$this = t0;
this.filter = t1;
},
MailboxDashBoardView__buildQuickSearchFilterButton__closure0: function MailboxDashBoardView__buildQuickSearchFilterButton__closure0(t0, t1, t2) {
this.$this = t0;
this.filter = t1;
this.context = t2;
},
MailboxDashBoardView__buildQuickSearchFilterButton___closure: function MailboxDashBoardView__buildQuickSearchFilterButton___closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure: function MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.receiveTimeSelected = t2;
_.onCallBack = t3;
},
MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure: function MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure(t0, t1) {
this.onCallBack = t0;
this.receiveTime = t1;
},
MailboxDashBoardView__buildComposerButton_closure: function MailboxDashBoardView__buildComposerButton_closure(t0) {
this.$this = t0;
},
FilterEmailPopupMenuMixin: function FilterEmailPopupMenuMixin() {
},
FilterEmailPopupMenuMixin__filterEmailAction_closure: function FilterEmailPopupMenuMixin__filterEmailAction_closure(t0, t1, t2) {
this.onCallBack = t0;
this.option = t1;
this.optionSelected = t2;
},
AdvancedSearchFilterOverlay: function AdvancedSearchFilterOverlay(t0) {
this.key = t0;
},
AdvancedSearchFilterOverlay_build_closure: function AdvancedSearchFilterOverlay_build_closure() {
},
IconOpenAdvancedSearchWidget: function IconOpenAdvancedSearchWidget(t0, t1, t2, t3, t4) {
var _ = this;
_._icon_open_advanced_search_widget$_imagePaths = t0;
_.searchController = t1;
_.advancedFilterController = t2;
_._parentContext = t3;
_.key = t4;
},
IconOpenAdvancedSearchWidget_build_closure: function IconOpenAdvancedSearchWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
IconOpenAdvancedSearchWidget_build__closure: function IconOpenAdvancedSearchWidget_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
AppGridDashboardItem: function AppGridDashboardItem(t0, t1, t2) {
this.app = t0;
this._app_grid_dashboard_item$_imagePaths = t1;
this.key = t2;
},
AppGridDashboardItem_build_closure: function AppGridDashboardItem_build_closure(t0) {
this.$this = t0;
},
AppDashboardOverlay: function AppDashboardOverlay(t0, t1) {
this._linagoraApplications = t0;
this.key = t1;
},
AppDashboardOverlay_build_closure0: function AppDashboardOverlay_build_closure0() {
},
AppDashboardOverlay_build_closure: function AppDashboardOverlay_build_closure() {
},
DownloadTaskItemWidget: function DownloadTaskItemWidget(t0, t1) {
this.taskState = t0;
this.key = t1;
},
EmailQuickSearchItemTileWidget$(_presentationEmail, _presentationMailbox, contentPadding) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.EmailQuickSearchItemTileWidget(t1.find$1$1$tag(0, null, type$.ImagePaths), _presentationEmail, _presentationMailbox, contentPadding, null);
},
EmailQuickSearchItemTileWidget: function EmailQuickSearchItemTileWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.imagePath = t0;
_._email_quick_search_item_tile_widget$_presentationEmail = t1;
_._email_quick_search_item_tile_widget$_presentationMailbox = t2;
_.contentPadding = t3;
_.key = t4;
},
EmailQuickSearchItemTileWidget_build_closure: function EmailQuickSearchItemTileWidget_build_closure(t0) {
this.$this = t0;
},
RecentSearchItemTileWidget$(recentSearch, contentPadding) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.RecentSearchItemTileWidget(t1.find$1$1$tag(0, null, type$.ImagePaths), recentSearch, contentPadding, null);
},
RecentSearchItemTileWidget: function RecentSearchItemTileWidget(t0, t1, t2, t3) {
var _ = this;
_.imagePath = t0;
_.recentSearch = t1;
_.contentPadding = t2;
_.key = t3;
},
SearchInputFormWidget: function SearchInputFormWidget(t0, t1, t2, t3) {
var _ = this;
_._searchController = t0;
_._search_input_form_widget$_dashBoardController = t1;
_._search_input_form_widget$_imagePaths = t2;
_.key = t3;
},
SearchInputFormWidget_build_closure: function SearchInputFormWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchInputFormWidget_build__closure: function SearchInputFormWidget_build__closure(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure0: function SearchInputFormWidget_build__closure0(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure1: function SearchInputFormWidget_build__closure1(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure2: function SearchInputFormWidget_build__closure2(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure5: function SearchInputFormWidget_build__closure5(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure4: function SearchInputFormWidget_build__closure4() {
},
SearchInputFormWidget_build__closure6: function SearchInputFormWidget_build__closure6(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchInputFormWidget_build__closure3: function SearchInputFormWidget_build__closure3(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure7: function SearchInputFormWidget_build__closure7(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchInputFormWidget__buildShowAllResultButton_closure: function SearchInputFormWidget__buildShowAllResultButton_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.keyword = t2;
},
SearchInputFormWidget__createConfiguration_closure0: function SearchInputFormWidget__createConfiguration_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchInputFormWidget__createConfiguration_closure: function SearchInputFormWidget__createConfiguration_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchInputFormWidget_buildListButtonForQuickSearchForm_closure: function SearchInputFormWidget_buildListButtonForQuickSearchForm_closure(t0, t1, t2) {
this.$this = t0;
this.filter = t1;
this.context = t2;
},
_SearchInputFormWidget_StatelessWidget_AppLoaderMixin: function _SearchInputFormWidget_StatelessWidget_AppLoaderMixin() {
},
TopBarThreadSelection: function TopBarThreadSelection(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.imagePaths = t0;
_.context = t1;
_.listEmail = t2;
_.mapMailbox = t3;
_.onEmailActionTypeAction = t4;
_.onCancelSelection = t5;
},
TopBarThreadSelection_build_closure: function TopBarThreadSelection_build_closure(t0) {
this.$this = t0;
},
TopBarThreadSelection_build_closure0: function TopBarThreadSelection_build_closure0(t0) {
this.$this = t0;
},
TopBarThreadSelection_build_closure1: function TopBarThreadSelection_build_closure1(t0) {
this.$this = t0;
},
TopBarThreadSelection_build_closure2: function TopBarThreadSelection_build_closure2(t0, t1) {
this.$this = t0;
this.isAllSpam = t1;
},
TopBarThreadSelection_build_closure3: function TopBarThreadSelection_build_closure3(t0, t1) {
this.$this = t0;
this.canDeletePermanently = t1;
},
QuotasView: function QuotasView(t0) {
this.key = t0;
},
QuotasView_build_closure: function QuotasView_build_closure(t0) {
this.$this = t0;
},
QuotasView_build__closure: function QuotasView_build__closure(t0, t1) {
this.$this = t0;
this.octetQuota = t1;
},
QuotasBannerWidget: function QuotasBannerWidget(t0) {
this.key = t0;
},
QuotasBannerWidget_build_closure: function QuotasBannerWidget_build_closure(t0, t1, t2) {
this.controller = t0;
this.responsiveUtils = t1;
this.context = t2;
},
SearchEmailView$() {
var t1, t2;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, null, type$.ImagePaths);
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.SearchEmailView(t1, t2.find$1$1$tag(0, null, type$.ResponsiveUtils), null);
},
SearchEmailView: function SearchEmailView(t0, t1, t2) {
this._search_email_view$_imagePaths = t0;
this._search_email_view$_responsiveUtils = t1;
this.key = t2;
},
SearchEmailView_build_closure: function SearchEmailView_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView_build_closure2: function SearchEmailView_build_closure2(t0) {
this.context = t0;
},
SearchEmailView_build_closure0: function SearchEmailView_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView_build__closure: function SearchEmailView_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView_build__closure0: function SearchEmailView_build__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView_build_closure1: function SearchEmailView_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildSearchInputForm_closure: function SearchEmailView__buildSearchInputForm_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildSearchInputForm_closure0: function SearchEmailView__buildSearchInputForm_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildSearchInputForm_closure1: function SearchEmailView__buildSearchInputForm_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildListSearchFilterAction_closure: function SearchEmailView__buildListSearchFilterAction_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildQuickSearchFilterButton_closure: function SearchEmailView__buildQuickSearchFilterButton_closure(t0, t1, t2) {
this.$this = t0;
this.filter = t1;
this.context = t2;
},
SearchEmailView__buildQuickSearchFilterButton__closure: function SearchEmailView__buildQuickSearchFilterButton__closure(t0, t1, t2) {
this.$this = t0;
this.filter = t1;
this.context = t2;
},
SearchEmailView__buildQuickSearchFilterButton___closure0: function SearchEmailView__buildQuickSearchFilterButton___closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildQuickSearchFilterButton__closure0: function SearchEmailView__buildQuickSearchFilterButton__closure0(t0, t1, t2) {
this.$this = t0;
this.filter = t1;
this.context = t2;
},
SearchEmailView__buildQuickSearchFilterButton___closure: function SearchEmailView__buildQuickSearchFilterButton___closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__popupMenuEmailReceiveTimeType_closure: function SearchEmailView__popupMenuEmailReceiveTimeType_closure(t0, t1) {
this.receiveTimeSelected = t0;
this.onCallBack = t1;
},
SearchEmailView__emailReceiveTimeCupertinoActionTile_closure: function SearchEmailView__emailReceiveTimeCupertinoActionTile_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.receiveTimeSelected = t2;
_.onCallBack = t3;
},
SearchEmailView__emailReceiveTimeCupertinoActionTile__closure: function SearchEmailView__emailReceiveTimeCupertinoActionTile__closure(t0) {
this.onCallBack = t0;
},
SearchEmailView__buildShowAllResultSearchButton_closure: function SearchEmailView__buildShowAllResultSearchButton_closure(t0, t1, t2) {
this.$this = t0;
this.textSearch = t1;
this.context = t2;
},
SearchEmailView__buildListRecentSearch_closure: function SearchEmailView__buildListRecentSearch_closure(t0, t1) {
this.$this = t0;
this.listRecentSearch = t1;
},
SearchEmailView__buildListRecentSearch__closure: function SearchEmailView__buildListRecentSearch__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.recentSearch = t2;
},
SearchEmailView__buildListSuggestionSearch_closure: function SearchEmailView__buildListSuggestionSearch_closure(t0, t1) {
this.$this = t0;
this.listSuggestionSearch = t1;
},
SearchEmailView__buildListSuggestionSearch__closure: function SearchEmailView__buildListSuggestionSearch__closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.listSuggestionSearch = t1;
_.index = t2;
_.context = t3;
},
SearchEmailView__buildEmptyEmail_closure: function SearchEmailView__buildEmptyEmail_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildEmptyEmail__closure: function SearchEmailView__buildEmptyEmail__closure() {
},
SearchEmailView__buildEmptyEmail__closure0: function SearchEmailView__buildEmptyEmail__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildListEmailBody_closure: function SearchEmailView__buildListEmailBody_closure(t0) {
this.$this = t0;
},
SearchEmailView__buildListEmailBody_closure0: function SearchEmailView__buildListEmailBody_closure0(t0, t1) {
this.$this = t0;
this.listPresentationEmail = t1;
},
SearchEmailView__buildListEmailBody__closure: function SearchEmailView__buildListEmailBody__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.currentPresentationEmail = t2;
},
SearchEmailView__buildListEmailBody___closure: function SearchEmailView__buildListEmailBody___closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.currentPresentationEmail = t2;
},
SearchEmailView__buildListEmailBody___closure0: function SearchEmailView__buildListEmailBody___closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildLoadingView_closure: function SearchEmailView__buildLoadingView_closure(t0) {
this.$this = t0;
},
SearchEmailView__buildLoadingView__closure: function SearchEmailView__buildLoadingView__closure() {
},
SearchEmailView__buildLoadingView__closure0: function SearchEmailView__buildLoadingView__closure0(t0) {
this.$this = t0;
},
SearchEmailView__markAsEmailSpamOrUnSpamAction_closure: function SearchEmailView__markAsEmailSpamOrUnSpamAction_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.mailboxContain = t2;
},
SearchEmailView__buildLoadingViewLoadMore_closure: function SearchEmailView__buildLoadingViewLoadMore_closure(t0) {
this.$this = t0;
},
SearchEmailView__buildLoadingViewLoadMore__closure: function SearchEmailView__buildLoadingViewLoadMore__closure() {
},
SearchEmailView__buildLoadingViewLoadMore__closure0: function SearchEmailView__buildLoadingViewLoadMore__closure0(t0) {
this.$this = t0;
},
SearchEmailView__buildSearchFilterByMailboxButton_closure: function SearchEmailView__buildSearchFilterByMailboxButton_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildSearchFilterByMailboxButton__closure: function SearchEmailView__buildSearchFilterByMailboxButton__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildSearchFilterByContactButton_closure: function SearchEmailView__buildSearchFilterByContactButton_closure(t0, t1, t2) {
this.$this = t0;
this.prefixEmailAddress = t1;
this.context = t2;
},
SearchEmailView__buildSearchFilterByContactButton__closure: function SearchEmailView__buildSearchFilterByContactButton__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.prefixEmailAddress = t2;
},
_SearchEmailView_GetWidget_AppLoaderMixin: function _SearchEmailView_GetWidget_AppLoaderMixin() {
},
AppBarSelectionMode: function AppBarSelectionMode(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._app_bar_selection_mode$_imagePaths = t0;
_.listEmail = t1;
_.mapMailbox = t2;
_.onCancelSelection = t3;
_.onHandleEmailAction = t4;
_.key = t5;
},
AppBarSelectionMode_build_closure: function AppBarSelectionMode_build_closure(t0) {
this.$this = t0;
},
AppBarSelectionMode_build_closure0: function AppBarSelectionMode_build_closure0(t0) {
this.$this = t0;
},
AppBarSelectionMode_build_closure1: function AppBarSelectionMode_build_closure1(t0) {
this.$this = t0;
},
AppBarSelectionMode_build_closure2: function AppBarSelectionMode_build_closure2(t0, t1) {
this.$this = t0;
this.isAllSpam = t1;
},
AppBarSelectionMode_build_closure3: function AppBarSelectionMode_build_closure3(t0, t1) {
this.$this = t0;
this.canDeletePermanently = t1;
},
EmailReceiveTimeActionTileWidget: function EmailReceiveTimeActionTileWidget(t0, t1, t2, t3) {
var _ = this;
_.receiveTimeSelected = t0;
_.receiveTimeType = t1;
_.onCallBack = t2;
_.key = t3;
},
EmailReceiveTimeActionTileWidget_build_closure: function EmailReceiveTimeActionTileWidget_build_closure(t0) {
this.$this = t0;
},
EmailReceiveTimeCupertinoActionSheetActionBuilder: function EmailReceiveTimeCupertinoActionSheetActionBuilder(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.timeType = t0;
_.timeTypeCurrent = t1;
_.actionSelected = t2;
_.iconRightPadding = t3;
_.key = t4;
_.actionName = t5;
_.onCupertinoActionSheetActionClick = null;
},
EmailReceiveTimeCupertinoActionSheetActionBuilder_build_closure: function EmailReceiveTimeCupertinoActionSheetActionBuilder_build_closure(t0) {
this.$this = t0;
},
SearchMailboxView: function SearchMailboxView(t0, t1) {
this.backgroundColor = t0;
this.key = t1;
},
SearchMailboxView_build_closure: function SearchMailboxView_build_closure(t0) {
this.context = t0;
},
SearchMailboxView__buildLoadingView_closure: function SearchMailboxView__buildLoadingView_closure(t0) {
this.$this = t0;
},
SearchMailboxView__buildLoadingView__closure: function SearchMailboxView__buildLoadingView__closure() {
},
SearchMailboxView__buildLoadingView__closure0: function SearchMailboxView__buildLoadingView__closure0(t0) {
this.$this = t0;
},
SearchMailboxView__buildSearchInputForm_closure: function SearchMailboxView__buildSearchInputForm_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchMailboxView__buildSearchInputForm_closure0: function SearchMailboxView__buildSearchInputForm_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchMailboxView__buildSearchInputForm_closure1: function SearchMailboxView__buildSearchInputForm_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchMailboxView__buildTextFieldSearchInput_closure: function SearchMailboxView__buildTextFieldSearchInput_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchMailboxView__buildMailboxListView_closure: function SearchMailboxView__buildMailboxListView_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchMailboxView__buildMailboxListView__closure: function SearchMailboxView__buildMailboxListView__closure(t0) {
this.$this = t0;
},
SearchMailboxView__buildMailboxListView___closure: function SearchMailboxView__buildMailboxListView___closure(t0, t1) {
this.$this = t0;
this.index = t1;
},
SearchMailboxView__buildMailboxListView____closure: function SearchMailboxView__buildMailboxListView____closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchMailboxView__buildMailboxListView____closure0: function SearchMailboxView__buildMailboxListView____closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchMailboxView__listPopupMenuItemAction_closure: function SearchMailboxView__listPopupMenuItemAction_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.mailbox = t2;
},
_SearchMailboxView_GetWidget_AppLoaderMixin: function _SearchMailboxView_GetWidget_AppLoaderMixin() {
},
_SearchMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin: function _SearchMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin() {
},
MailboxSearchedItemBuilder: function MailboxSearchedItemBuilder(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._mailbox_searched_item_builder$_presentationMailbox = t0;
_._mailbox_searched_item_builder$_imagePaths = t1;
_._mailbox_searched_item_builder$_responsiveUtils = t2;
_.onClickOpenMailboxAction = t3;
_.onClickOpenMenuMailboxAction = t4;
_.onDragEmailToMailboxAccepted = t5;
_.listPopupMenuItemAction = t6;
_.key = t7;
},
_MailboxSearchedItemBuilderState: function _MailboxSearchedItemBuilderState(t0) {
var _ = this;
_.isHoverItem = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_MailboxSearchedItemBuilderState_build_closure: function _MailboxSearchedItemBuilderState_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
_MailboxSearchedItemBuilderState_build_closure0: function _MailboxSearchedItemBuilderState_build_closure0(t0) {
this.$this = t0;
},
_MailboxSearchedItemBuilderState__buildMailboxItem_closure: function _MailboxSearchedItemBuilderState__buildMailboxItem_closure(t0) {
this.$this = t0;
},
_MailboxSearchedItemBuilderState__buildMailboxItem__closure: function _MailboxSearchedItemBuilderState__buildMailboxItem__closure(t0, t1) {
this.$this = t0;
this.value = t1;
},
_MailboxSearchedItemBuilderState__buildMenuIcon_closure: function _MailboxSearchedItemBuilderState__buildMenuIcon_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
BaseEmailItemTile: function BaseEmailItemTile() {
},
ThreadView$() {
var t1, t2, t3, t4, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t2 = type$.ImagePaths;
t3 = $.GetInstance__getInstance;
t3 = (t3 == null ? $.GetInstance__getInstance = C.C_GetInstance : t3).find$1$1$tag(0, _null, t2);
t4 = $.GetInstance__getInstance;
return new B.ThreadView(t1, t3, (t4 == null ? $.GetInstance__getInstance = C.C_GetInstance : t4).find$1$1$tag(0, _null, t2), _null);
},
ThreadView: function ThreadView(t0, t1, t2, t3) {
var _ = this;
_._thread_view$_responsiveUtils = t0;
_._thread_view$_imagePaths = t1;
_.FilterEmailPopupMenuMixin__imagePaths = t2;
_.key = t3;
},
ThreadView_build_closure5: function ThreadView_build_closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build_closure4: function ThreadView_build_closure4() {
},
ThreadView_build_closure: function ThreadView_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build__closure3: function ThreadView_build__closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build__closure1: function ThreadView_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build__closure2: function ThreadView_build__closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build___closure: function ThreadView_build___closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build_closure0: function ThreadView_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build__closure0: function ThreadView_build__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build_closure1: function ThreadView_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build__closure: function ThreadView_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build_closure2: function ThreadView_build_closure2(t0) {
this.$this = t0;
},
ThreadView_build_closure3: function ThreadView_build_closure3(t0) {
this.$this = t0;
},
ThreadView__buildVacationNotificationMessage_closure: function ThreadView__buildVacationNotificationMessage_closure(t0) {
this.$this = t0;
},
ThreadView__buildListButtonSelectionForMobile_closure: function ThreadView__buildListButtonSelectionForMobile_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildListButtonSelectionForMobile__closure: function ThreadView__buildListButtonSelectionForMobile__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildFloatingButtonCompose_closure: function ThreadView__buildFloatingButtonCompose_closure(t0) {
this.$this = t0;
},
ThreadView__buildFloatingButtonCompose__closure: function ThreadView__buildFloatingButtonCompose__closure(t0) {
this.$this = t0;
},
ThreadView__filterMessagesCupertinoActionTile_closure: function ThreadView__filterMessagesCupertinoActionTile_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.optionCurrent = t2;
},
ThreadView__filterMessagesCupertinoActionTile__closure: function ThreadView__filterMessagesCupertinoActionTile__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildListEmail_closure: function ThreadView__buildListEmail_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildResultListEmail_closure: function ThreadView__buildResultListEmail_closure(t0) {
this.$this = t0;
},
ThreadView__buildResultListEmail_closure0: function ThreadView__buildResultListEmail_closure0(t0) {
this.$this = t0;
},
ThreadView__buildListEmailBody_closure: function ThreadView__buildListEmailBody_closure(t0) {
this.$this = t0;
},
ThreadView__buildListEmailBody_closure0: function ThreadView__buildListEmailBody_closure0(t0, t1) {
this.$this = t0;
this.listPresentationEmail = t1;
},
ThreadView__buildListEmailBody__closure: function ThreadView__buildListEmailBody__closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.listPresentationEmail = t2;
_.index = t3;
},
ThreadView__buildEmailItemDraggable_closure2: function ThreadView__buildEmailItemDraggable_closure2() {
},
ThreadView__buildEmailItemDraggable_closure3: function ThreadView__buildEmailItemDraggable_closure3() {
},
ThreadView__buildEmailItemDraggable_closure0: function ThreadView__buildEmailItemDraggable_closure0(t0, t1) {
this.$this = t0;
this.presentationEmail = t1;
},
ThreadView__buildEmailItemDraggable_closure: function ThreadView__buildEmailItemDraggable_closure(t0) {
this.$this = t0;
},
ThreadView__buildEmailItemDraggable_closure1: function ThreadView__buildEmailItemDraggable_closure1(t0) {
this.$this = t0;
},
ThreadView__buildEmailItemNotDraggable_closure1: function ThreadView__buildEmailItemNotDraggable_closure1(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.presentationEmail = t2;
},
ThreadView__buildEmailItemNotDraggable_closure: function ThreadView__buildEmailItemNotDraggable_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildEmailItemNotDraggable_closure0: function ThreadView__buildEmailItemNotDraggable_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildFeedBackWidget_closure: function ThreadView__buildFeedBackWidget_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildEmptyEmail_closure: function ThreadView__buildEmptyEmail_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildEmptyEmail__closure: function ThreadView__buildEmptyEmail__closure() {
},
ThreadView__buildEmptyEmail__closure0: function ThreadView__buildEmptyEmail__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure: function ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.mailboxContain = t2;
},
ThreadView__openInNewTabContextMenuItemAction_closure: function ThreadView__openInNewTabContextMenuItemAction_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildMarkAsSpamPopupMenuItem_closure: function ThreadView__buildMarkAsSpamPopupMenuItem_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.mailboxContain = t2;
_.email = t3;
},
ThreadView__buildOpenInNewTabPopupMenuItem_closure: function ThreadView__buildOpenInNewTabPopupMenuItem_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.email = t2;
},
ThreadView__buildMarkAsMailboxReadLoading_closure: function ThreadView__buildMarkAsMailboxReadLoading_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildMarkAsMailboxReadLoading__closure: function ThreadView__buildMarkAsMailboxReadLoading__closure() {
},
ThreadView__buildMarkAsMailboxReadLoading__closure0: function ThreadView__buildMarkAsMailboxReadLoading__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
_ThreadView_GetWidget_AppLoaderMixin: function _ThreadView_GetWidget_AppLoaderMixin() {
},
_ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin: function _ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin() {
},
_ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin_PopupMenuWidgetMixin: function _ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin_PopupMenuWidgetMixin() {
},
AppBarThreadWidget: function AppBarThreadWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.onPopupMenuFilterEmailAction = t0;
_.onContextMenuFilterEmailAction = t1;
_.openMailboxAction = t2;
_.editThreadAction = t3;
_.cancelEditThreadAction = t4;
_.emailSelectionAction = t5;
_.mailboxSelected = t6;
_.listEmailSelected = t7;
_.selectMode = t8;
_.filterOption = t9;
_.key = t10;
},
DefaultWebAppBarThreadWidget: function DefaultWebAppBarThreadWidget(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_._default_web_app_bar_thread_widget$_imagePaths = t0;
_.mailboxSelected = t1;
_.filterOption = t2;
_.openMailboxAction = t3;
_.onPopupMenuFilterEmailAction = t4;
_.onContextMenuFilterEmailAction = t5;
_.key = t6;
},
DefaultWebAppBarThreadWidget_build_closure: function DefaultWebAppBarThreadWidget_build_closure(t0) {
this.$this = t0;
},
DefaultWebAppBarThreadWidget_build__closure0: function DefaultWebAppBarThreadWidget_build__closure0(t0) {
this.$this = t0;
},
DefaultWebAppBarThreadWidget_build__closure: function DefaultWebAppBarThreadWidget_build__closure(t0) {
this.$this = t0;
},
SelectionWebAppBarThreadWidget: function SelectionWebAppBarThreadWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._selection_web_app_bar_thread_widget$_imagePaths = t0;
_.mailboxSelected = t1;
_.listEmailSelected = t2;
_.cancelEditThreadAction = t3;
_.emailSelectionAction = t4;
_.key = t5;
},
SelectionWebAppBarThreadWidget_build_closure: function SelectionWebAppBarThreadWidget_build_closure(t0) {
this.$this = t0;
},
SelectionWebAppBarThreadWidget_build_closure0: function SelectionWebAppBarThreadWidget_build_closure0(t0) {
this.$this = t0;
},
SelectionWebAppBarThreadWidget_build_closure1: function SelectionWebAppBarThreadWidget_build_closure1(t0) {
this.$this = t0;
},
SelectionWebAppBarThreadWidget_build_closure2: function SelectionWebAppBarThreadWidget_build_closure2(t0) {
this.$this = t0;
},
SelectionWebAppBarThreadWidget_build_closure3: function SelectionWebAppBarThreadWidget_build_closure3(t0) {
this.$this = t0;
},
WebAppBarThreadWidget: function WebAppBarThreadWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.mailboxSelected = t0;
_.listEmailSelected = t1;
_.selectMode = t2;
_.filterOption = t3;
_.openMailboxAction = t4;
_.cancelEditThreadAction = t5;
_.emailSelectionAction = t6;
_.onPopupMenuFilterEmailAction = t7;
_.onContextMenuFilterEmailAction = t8;
_.key = t9;
},
BannerDeleteAllSpamEmailsWidget: function BannerDeleteAllSpamEmailsWidget(t0, t1) {
this.onTapAction = t0;
this.key = t1;
},
BannerEmptyTrashWidget: function BannerEmptyTrashWidget(t0, t1) {
this.onTapAction = t0;
this.key = t1;
},
BottomBarThreadSelectionWidget: function BottomBarThreadSelectionWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._bottom_bar_thread_selection_widget$_imagePaths = t0;
_._bottom_bar_thread_selection_widget$_responsiveUtils = t1;
_._listSelectionEmail = t2;
_._currentMailbox = t3;
_.onPressEmailSelectionActionClick = t4;
_.key = t5;
},
BottomBarThreadSelectionWidget_build_closure: function BottomBarThreadSelectionWidget_build_closure(t0) {
this.$this = t0;
},
BottomBarThreadSelectionWidget_build_closure0: function BottomBarThreadSelectionWidget_build_closure0(t0) {
this.$this = t0;
},
BottomBarThreadSelectionWidget_build_closure1: function BottomBarThreadSelectionWidget_build_closure1(t0) {
this.$this = t0;
},
BottomBarThreadSelectionWidget_build_closure2: function BottomBarThreadSelectionWidget_build_closure2(t0) {
this.$this = t0;
},
BottomBarThreadSelectionWidget_build_closure3: function BottomBarThreadSelectionWidget_build_closure3(t0) {
this.$this = t0;
},
EmailTileBuilder$(_context, _presentationEmail, _selectModeAll, _searchQuery, _isShowingEmailContent, isDrag, isSearchEmailRunning, mailboxContain, padding, paddingDivider) {
var t1, t2;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, null, type$.ResponsiveUtils);
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.EmailTileBuilder(_presentationEmail, _context, _selectModeAll, mailboxContain, _searchQuery, isSearchEmailRunning, padding, isDrag, _isShowingEmailContent, t1, t2.find$1$1$tag(0, null, type$.ImagePaths));
},
EmailTileBuilder: function EmailTileBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_._presentationEmail = t0;
_._email_tile_web_builder$_context = t1;
_._selectModeAll = t2;
_.mailboxContain = t3;
_._searchQuery = t4;
_.isSearchEmailRunning = t5;
_.padding = t6;
_.isDrag = t7;
_._isShowingEmailContent = t8;
_._onMoreActionClick = _._emailActionClick = null;
_.isHoverIcon = _.isHoverItem = false;
_.BaseEmailItemTile_responsiveUtils = t9;
_.BaseEmailItemTile_imagePaths = t10;
},
EmailTileBuilder__onHoverIconChanged_closure: function EmailTileBuilder__onHoverIconChanged_closure(t0, t1) {
this.$this = t0;
this.isHover = t1;
},
EmailTileBuilder__onHoverItemChanged_closure: function EmailTileBuilder__onHoverItemChanged_closure(t0, t1) {
this.$this = t0;
this.isHover = t1;
},
EmailTileBuilder__buildListTile_closure1: function EmailTileBuilder__buildListTile_closure1(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTile_closure0: function EmailTileBuilder__buildListTile_closure0(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTile_closure: function EmailTileBuilder__buildListTile_closure(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileTablet_closure: function EmailTileBuilder__buildListTileTablet_closure(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileTablet__closure2: function EmailTileBuilder__buildListTileTablet__closure2(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileTablet__closure1: function EmailTileBuilder__buildListTileTablet__closure1(t0, t1) {
this.$this = t0;
this.setState = t1;
},
EmailTileBuilder__buildListTileTablet__closure0: function EmailTileBuilder__buildListTileTablet__closure0(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileTablet__closure: function EmailTileBuilder__buildListTileTablet__closure(t0, t1) {
this.$this = t0;
this.setState = t1;
},
EmailTileBuilder__buildListTileForDesktop_closure: function EmailTileBuilder__buildListTileForDesktop_closure(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileForDesktop__closure3: function EmailTileBuilder__buildListTileForDesktop__closure3(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileForDesktop__closure2: function EmailTileBuilder__buildListTileForDesktop__closure2(t0, t1) {
this.$this = t0;
this.setState = t1;
},
EmailTileBuilder__buildListTileForDesktop__closure: function EmailTileBuilder__buildListTileForDesktop__closure(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileForDesktop__closure1: function EmailTileBuilder__buildListTileForDesktop__closure1(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListTileForDesktop__closure0: function EmailTileBuilder__buildListTileForDesktop__closure0(t0, t1) {
this.$this = t0;
this.setState = t1;
},
EmailTileBuilder__buildListActionButtonWhenHover_closure: function EmailTileBuilder__buildListActionButtonWhenHover_closure(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListActionButtonWhenHover_closure0: function EmailTileBuilder__buildListActionButtonWhenHover_closure0(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListActionButtonWhenHover_closure1: function EmailTileBuilder__buildListActionButtonWhenHover_closure1(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListActionButtonWhenHover_closure2: function EmailTileBuilder__buildListActionButtonWhenHover_closure2(t0) {
this.$this = t0;
},
EmailTileBuilder__buildListActionButtonWhenHover_closure3: function EmailTileBuilder__buildListActionButtonWhenHover_closure3(t0) {
this.$this = t0;
},
EmailTileBuilder__buildSubjectAndContent_closure: function EmailTileBuilder__buildSubjectAndContent_closure(t0) {
this.$this = t0;
},
_EmailTileBuilder_Object_BaseEmailItemTile: function _EmailTileBuilder_Object_BaseEmailItemTile() {
},
EmptyEmailsWidget: function EmptyEmailsWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.title = t0;
_.iconSVG = t1;
_.subTitle = t2;
_.onCreateFiltersActionCallback = t3;
_.key = t4;
},
FilterMessageCupertinoActionSheetActionBuilder: function FilterMessageCupertinoActionSheetActionBuilder(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.option = t0;
_.optionCurrent = t1;
_.actionSelected = t2;
_.iconLeftPadding = t3;
_.iconRightPadding = t4;
_.key = t5;
_.actionIcon = t6;
_.actionName = t7;
_.onCupertinoActionSheetActionClick = null;
},
FilterMessageCupertinoActionSheetActionBuilder_build_closure: function FilterMessageCupertinoActionSheetActionBuilder_build_closure(t0) {
this.$this = t0;
},
ScrollToTopButtonWidget: function ScrollToTopButtonWidget(t0, t1, t2, t3) {
var _ = this;
_.scrollController = t0;
_.onTap = t1;
_.icon = t2;
_.key = t3;
},
_ScrollToTopButtonWidgetState: function _ScrollToTopButtonWidgetState(t0) {
var _ = this;
_._isVisible = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_ScrollToTopButtonWidgetState__handleScroll_closure: function _ScrollToTopButtonWidgetState__handleScroll_closure(t0) {
this.$this = t0;
},
_ScrollToTopButtonWidgetState__handleScroll_closure0: function _ScrollToTopButtonWidgetState__handleScroll_closure0(t0) {
this.$this = t0;
},
SpamReportBannerButtonWidget$(icon, iconLeftAlignment, label, labelColor, onTap, wrapContent) {
return new B.SpamReportBannerButtonWidget(label, labelColor, onTap, icon, iconLeftAlignment, wrapContent, null);
},
SpamReportBannerButtonWidget: function SpamReportBannerButtonWidget(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.label = t0;
_.labelColor = t1;
_.onTap = t2;
_.icon = t3;
_.iconLeftAlignment = t4;
_.wrapContent = t5;
_.key = t6;
},
SpamReportBannerLabelWidget: function SpamReportBannerLabelWidget(t0, t1, t2) {
this.countSpamEmailsAsString = t0;
this.labelColor = t1;
this.key = t2;
},
SpamReportBannerWebWidget: function SpamReportBannerWebWidget(t0) {
this.key = t0;
},
SpamReportBannerWebWidget_build_closure: function SpamReportBannerWebWidget_build_closure(t0, t1, t2) {
this.spamReportController = t0;
this.context = t1;
this.imagePaths = t2;
},
SpamReportBannerWebWidget_build__closure: function SpamReportBannerWebWidget_build__closure(t0, t1) {
this.spamReportController = t0;
this.context = t1;
},
SpamReportBannerWidget: function SpamReportBannerWidget(t0) {
this.key = t0;
},
SpamReportBannerWidget_build_closure: function SpamReportBannerWidget_build_closure(t0, t1) {
this.spamReportController = t0;
this.context = t1;
},
SpamReportBannerWidget_build__closure: function SpamReportBannerWidget_build__closure(t0, t1) {
this.spamReportController = t0;
this.context = t1;
},
ThreadViewBottomLoadingBarWidget: function ThreadViewBottomLoadingBarWidget(t0, t1) {
this.viewState = t0;
this.key = t1;
},
ThreadViewBottomLoadingBarWidget_build_closure: function ThreadViewBottomLoadingBarWidget_build_closure() {
},
ThreadViewBottomLoadingBarWidget_build_closure0: function ThreadViewBottomLoadingBarWidget_build_closure0() {
},
ThreadViewLoadingBarWidget: function ThreadViewLoadingBarWidget(t0, t1) {
this.viewState = t0;
this.key = t1;
},
ThreadViewLoadingBarWidget_build_closure: function ThreadViewLoadingBarWidget_build_closure() {
},
ThreadViewLoadingBarWidget_build_closure0: function ThreadViewLoadingBarWidget_build_closure0() {
},
ListUploadFileStateExtension_get_totalSize(_this) {
var t1;
if (!_this.get$isEmpty(_this)) {
t1 = _this.$ti._eval$1("MappedListIterable<ListBase.E,num>");
return C.JSArray_methods.reduce$1(A.List_List$of(new A.MappedListIterable(_this, new B.ListUploadFileStateExtension_get_totalSize_closure(), t1), true, t1._eval$1("ListIterable.E")), new B.ListUploadFileStateExtension_get_totalSize_closure0());
}
return 0;
},
ListUploadFileStateExtension_get_totalSize_closure: function ListUploadFileStateExtension_get_totalSize_closure() {
},
ListUploadFileStateExtension_get_totalSize_closure0: function ListUploadFileStateExtension_get_totalSize_closure0() {
},
DefaultLinkDelegate_create(link) {
return new B.DefaultLinkDelegate(link, null);
},
Link: function Link(t0, t1, t2) {
this.builder = t0;
this.uri = t1;
this.key = t2;
},
DefaultLinkDelegate: function DefaultLinkDelegate(t0, t1) {
this.link = t0;
this.key = t1;
},
DefaultLinkDelegate_build_closure: function DefaultLinkDelegate_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
DateTimeNullableExtension_toPattern(_this) {
var yesterday,
now = new A.DateTime(Date.now(), false);
if (A.Primitives_getDay(now) === A.Primitives_getDay(_this) && A.Primitives_getMonth(now) === A.Primitives_getMonth(_this) && A.Primitives_getYear(now) === A.Primitives_getYear(_this))
return "H:mm";
else {
yesterday = new A.DateTime(Date.now(), false).subtract$1(D.Duration_86400000000);
if (A.Primitives_getDay(yesterday) === A.Primitives_getDay(_this) && A.Primitives_getMonth(yesterday) === A.Primitives_getMonth(_this) && A.Primitives_getYear(yesterday) === A.Primitives_getYear(_this))
return "EEE";
else if (A.Primitives_getYear(new A.DateTime(Date.now(), false)) === A.Primitives_getYear(_this))
return "MMMd";
else
return "yMMMd";
}
},
DateTimeNullableExtension_toPatternForEmailView(_this) {
var _s10_ = "dd/MM/yyyy";
if (A.Primitives_getYear(new A.DateTime(Date.now(), false)) === A.Primitives_getYear(_this))
return "dd.MM, HH:mm";
else
return _s10_;
},
HtmlExtension_addNewLineTag(_this) {
return _this + "</br>";
},
formatDate(date, formats, locale) {
var t1, t2, _i, t3, format, ret, t4, hour, ret0, _s1_ = "0", _60000000 = 60000000, _3600000000 = 3600000000, _86400000000 = 864e8;
for (t1 = formats.length, t2 = date._value, _i = 0, t3 = ""; _i < formats.length; formats.length === t1 || (0, A.throwConcurrentModificationError)(formats), ++_i) {
format = formats[_i];
if (C.JSString_methods.startsWith$1(format, "\\"))
t3 += C.JSString_methods.substring$1(format, 1);
else if (format === "yyyy") {
ret = "" + A.Primitives_getYear(date);
t4 = ret.length;
t3 += t4 < 4 ? C.JSString_methods.$mul(_s1_, 4 - t4) + ret : ret;
} else if (format === "yy") {
ret = "" + C.JSInt_methods.$mod(A.Primitives_getYear(date), 100);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "mm") {
ret = "" + A.Primitives_getMonth(date);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "m")
t3 += A.Primitives_getMonth(date);
else if (format === "MM")
t3 += locale.get$monthsLong()[A.Primitives_getMonth(date) - 1];
else if (format === "M")
t3 += locale.get$monthsShort()[A.Primitives_getMonth(date) - 1];
else if (format === "dd") {
ret = "" + A.Primitives_getDay(date);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "d")
t3 += A.Primitives_getDay(date);
else if (format === "w")
t3 += (A.Primitives_getDay(date) + 7) / 7 | 0;
else if (format === "W") {
t4 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), 1, 1, 0, 0, 0, 0, false);
if (!A._isInt(t4))
A.throwExpression(A.argumentErrorValue(t4));
t3 += C.JSInt_methods._tdivFast$1(C.JSInt_methods._tdivFast$1(1000 * (t2 - t4), _86400000000) + 7, 7);
} else if (format === "WW") {
t4 = A.Primitives_valueFromDecomposedDate(A.Primitives_getYear(date), 1, 1, 0, 0, 0, 0, false);
if (!A._isInt(t4))
A.throwExpression(A.argumentErrorValue(t4));
ret = "" + C.JSInt_methods._tdivFast$1(C.JSInt_methods._tdivFast$1(1000 * (t2 - t4), _86400000000) + 7, 7);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "DD")
t3 += locale.get$daysLong()[A.Primitives_getWeekday(date) - 1];
else if (format === "D")
t3 += locale.get$daysShort()[A.Primitives_getWeekday(date) - 1];
else if (format === "HH") {
ret = "" + A.Primitives_getHours(date);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "H")
t3 += A.Primitives_getHours(date);
else if (format === "hh") {
hour = C.JSInt_methods.$mod(A.Primitives_getHours(date), 12);
ret = "" + (hour === 0 ? 12 : hour);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "h") {
hour = C.JSInt_methods.$mod(A.Primitives_getHours(date), 12);
t3 += hour === 0 ? 12 : hour;
} else if (format === "am")
t3 += A.Primitives_getHours(date) < 12 ? locale.get$am() : locale.get$pm();
else if (format === "nn") {
ret = "" + A.Primitives_getMinutes(date);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "n")
t3 += A.Primitives_getMinutes(date);
else if (format === "ss") {
ret = "" + A.Primitives_getSeconds(date);
t4 = ret.length;
t3 += t4 < 2 ? C.JSString_methods.$mul(_s1_, 2 - t4) + ret : ret;
} else if (format === "s")
t3 += A.Primitives_getSeconds(date);
else if (format === "SSS") {
ret = "" + A.Primitives_getMilliseconds(date);
t4 = ret.length;
t3 += t4 < 3 ? C.JSString_methods.$mul(_s1_, 3 - t4) + ret : ret;
} else if (format === "S")
t3 += A.Primitives_getMilliseconds(date);
else if (format === "uuu") {
t4 = C.JSString_methods.$mul(_s1_, 2);
t3 += t4 + "0";
} else if (format === "u")
t3 += "0";
else if (format === "z")
if (C.JSInt_methods._tdivFast$1(date.get$timeZoneOffset()._duration, _60000000) === 0)
t3 += "Z";
else if (date.get$timeZoneOffset()._duration < 0) {
ret = "" + C.JSInt_methods.$mod(-C.JSInt_methods._tdivFast$1(date.get$timeZoneOffset()._duration, _3600000000), 24);
t4 = ret.length;
if (t4 < 2)
ret = C.JSString_methods.$mul(_s1_, 2 - t4) + ret;
ret0 = "" + C.JSInt_methods.$mod(-C.JSInt_methods._tdivFast$1(date.get$timeZoneOffset()._duration, _60000000), 60);
t4 = ret0.length;
if (t4 < 2)
ret0 = C.JSString_methods.$mul(_s1_, 2 - t4) + ret0;
t3 = t3 + "-" + ret + ret0;
} else {
ret = "" + C.JSInt_methods.$mod(C.JSInt_methods._tdivFast$1(date.get$timeZoneOffset()._duration, _3600000000), 24);
t4 = ret.length;
if (t4 < 2)
ret = C.JSString_methods.$mul(_s1_, 2 - t4) + ret;
ret0 = "" + C.JSInt_methods.$mod(C.JSInt_methods._tdivFast$1(date.get$timeZoneOffset()._duration, _60000000), 60);
t4 = ret0.length;
if (t4 < 2)
ret0 = C.JSString_methods.$mul(_s1_, 2 - t4) + ret0;
t3 = t3 + "+" + ret + ret0;
}
else
t3 = format === "Z" ? t3 + date.get$timeZoneName() : t3 + format;
}
return t3.charCodeAt(0) == 0 ? t3 : t3;
},
ResizeImage_resizeIfNeeded(cacheWidth, cacheHeight, provider) {
return provider;
},
Visibility$(child, visible) {
return new A.Visibility(child, visible, false, false, false, false, false, null);
},
PresentationEmailExtension_get_avatarColors(_this) {
var t1 = _this.from;
if ((t1 == null ? null : t1._collection$_length !== 0) === true)
return C.List_ebS[A.EmailAddressExtension__generateIndex(t1.get$first(t1))];
else
return C.JSArray_methods.get$first(C.List_ebS);
},
PresentationEmailExtension_numberOfAllEmailAddress(_this) {
var t2, t3,
t1 = _this.to;
t1 = t1 != null ? t1._collection$_length : 0;
t2 = _this.cc;
t2 = t2 != null ? t2._collection$_length : 0;
t3 = _this.bcc;
t3 = t3 != null ? t3._collection$_length : 0;
return t1 + t2 + t3;
},
PresentationEmailExtension_getReceivedAt(_this, newLocale, pattern) {
var emailTime = _this.receivedAt;
if (emailTime != null)
return F.UTCDateExtension_formatDateToLocal(emailTime, newLocale, pattern == null ? B.DateTimeNullableExtension_toPattern(emailTime.value.toLocal$0()) : pattern);
return "";
},
PresentationEmailExtension_get_listEmailAddressSender(_this) {
var t2,
t1 = _this.from;
if (t1 == null)
t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.EmailAddress);
t2 = _this.replyTo;
t1.addAll$1(0, t2 == null ? A.LinkedHashSet_LinkedHashSet$_empty(type$.EmailAddress) : t2);
return t1;
},
PresentationEmailExtension_recipientsName(_this) {
var allEmailAddress = C.JSArray_methods.$add(C.JSArray_methods.$add(F.ListEmailAddressExtension_emailAddressToListString(_this.to, C.ExpandMode_1, false, 1), F.ListEmailAddressExtension_emailAddressToListString(_this.cc, C.ExpandMode_1, false, 1)), F.ListEmailAddressExtension_emailAddressToListString(_this.bcc, C.ExpandMode_1, false, 1));
return allEmailAddress.length !== 0 ? C.JSArray_methods.join$1(allEmailAddress, ", ") : "";
},
EmailActionTypeExtension_getHeaderEmailQuoted(_this, context, presentationEmail) {
var emailAddress, t1, headerQuoted, subject, receivedAt, fromEmailAddress, toEmailAddress, ccEmailAddress, bccEmailAddress, _null = null,
_s15_ = "MMM d, y h:mm a",
locale = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale._rawToString$1("-");
switch (_this.index) {
case 0:
case 2:
emailAddress = F.ListEmailAddressExtension_listEmailAddressToString(presentationEmail.from, true);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = F.UTCDateExtension_formatDateToLocal(presentationEmail.receivedAt, locale, _s15_);
return A.Intl__message("On " + t1 + ", from " + emailAddress, _null, "header_email_quoted", A._setArrayType([t1, emailAddress], type$.JSArray_Object), _null);
case 1:
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
headerQuoted = B.HtmlExtension_addNewLineTag("------- " + A.Intl__message("Forwarded message", _null, "forwarded_message", _null, _null) + " -------");
subject = presentationEmail.subject;
if (subject == null)
subject = "";
receivedAt = presentationEmail.receivedAt;
fromEmailAddress = F.ListEmailAddressExtension_listEmailAddressToString(presentationEmail.from, true);
toEmailAddress = F.ListEmailAddressExtension_listEmailAddressToString(presentationEmail.to, true);
ccEmailAddress = F.ListEmailAddressExtension_listEmailAddressToString(presentationEmail.cc, true);
bccEmailAddress = F.ListEmailAddressExtension_listEmailAddressToString(presentationEmail.bcc, true);
if (subject.length !== 0) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Subject", _null, "subject_email", _null, _null) + ": ") + subject);
}
if (receivedAt != null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Date", _null, "date", _null, _null) + ": ") + F.UTCDateExtension_formatDateToLocal(receivedAt, locale, _s15_));
}
if (fromEmailAddress.length !== 0) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("From", _null, "from_email_address_prefix", _null, _null) + ": ") + fromEmailAddress);
}
if (toEmailAddress.length !== 0) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("To", _null, "to_email_address_prefix", _null, _null) + ": ") + toEmailAddress);
}
if (ccEmailAddress.length !== 0) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Cc", _null, "cc_email_address_prefix", _null, _null) + ": ") + ccEmailAddress);
}
if (bccEmailAddress.length !== 0) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Bcc", _null, "bcc_email_address_prefix", _null, _null) + ": ") + bccEmailAddress);
}
return headerQuoted;
default:
return _null;
}
},
PrefixEmailAddressExtension_asName(_this, context) {
var _null = null;
switch (_this.index) {
case 1:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("To", _null, "to_email_address_prefix", _null, _null);
case 2:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Cc", _null, "cc_email_address_prefix", _null, _null);
case 3:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Bcc", _null, "bcc_email_address_prefix", _null, _null);
case 0:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("From", _null, "from_email_address_prefix", _null, _null);
}
},
PrefixEmailAddressExtension_listEmailAddress(_this, email) {
var t1, _null = null;
switch (_this.index) {
case 1:
t1 = email.to;
t1 = t1 == null ? _null : A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E"));
if (t1 == null)
t1 = J.JSArray_JSArray$fixed(0, type$.EmailAddress);
return t1;
case 2:
t1 = email.cc;
t1 = t1 == null ? _null : A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E"));
if (t1 == null)
t1 = J.JSArray_JSArray$fixed(0, type$.EmailAddress);
return t1;
case 3:
t1 = email.bcc;
t1 = t1 == null ? _null : A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E"));
if (t1 == null)
t1 = J.JSArray_JSArray$fixed(0, type$.EmailAddress);
return t1;
case 0:
t1 = email.from;
t1 = t1 == null ? _null : A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E"));
if (t1 == null)
t1 = J.JSArray_JSArray$fixed(0, type$.EmailAddress);
return t1;
}
},
ComposerStyle_getMaxHeightEmailAddressWidget(context, constraints, responsiveUtils) {
var t1;
if (A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.size._dx >= 1200) {
t1 = constraints.maxHeight;
return t1 > 0 ? t1 * 0.3 : 150;
} else {
t1 = constraints.maxHeight;
return t1 > 0 ? t1 * 0.4 : 150;
}
},
TabletResponsiveContainerViewStyle_getMargin(context, responsiveUtils) {
if (responsiveUtils.isTablet$1(context))
return D.EdgeInsetsDirectional_24_24_24_24;
else
return E.EdgeInsetsDirectional_0_24_0_24;
},
TabletResponsiveContainerViewStyle_getWidth(context, responsiveUtils) {
var currentWidth = A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.size._dx;
if (responsiveUtils.isTablet$1(context))
return currentWidth;
else
return currentWidth * 0.7;
},
QuotasExtensions_get_isWarnLimitReached(_this) {
var t1 = _this.used;
if (t1 != null && _this.warnLimit != null)
return t1.value >= _this.warnLimit.value * 0.9;
else
return false;
},
QuotasExtensions_get_isHardLimitReached(_this) {
var t2,
t1 = _this.used;
if (t1 != null) {
t2 = _this.hardLimit;
t2 = (t2 == null ? _this.limit : t2) != null;
} else
t2 = false;
if (t2) {
t1 = t1.value;
t2 = _this.hardLimit;
return t1 >= (t2 == null ? _this.limit : t2).value;
} else
return false;
},
QuotasExtensions_get_usedStoragePercent(_this) {
var t2,
t1 = _this.used;
if (t1 != null) {
t2 = _this.hardLimit;
t2 = t2 != null && t2.value > 0;
} else
t2 = false;
if (t2)
return t1.value / _this.hardLimit.value;
else
return 0;
},
QuotasExtensions_getQuotasStateTitle(_this, context) {
var t2, t3, _null = null,
t1 = type$.AppLocalizations;
if (B.QuotasExtensions_get_isHardLimitReached(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
return A.Intl__message("Out of storage", _null, "textQuotasOutOfStorage", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t1 = _this.used;
t1 = t1 != null ? A.filesize(t1.value, 2) : "";
t2 = _this.hardLimit;
t3 = t2 == null;
if ((t3 ? _this.limit : t2) != null)
t2 = A.filesize((t3 ? _this.limit : t2).value, 2);
else
t2 = "";
return A.Intl__message(t1 + " of " + t2 + " Used", _null, "quotaStateLabel", A._setArrayType([t1, t2], type$.JSArray_Object), _null);
}
},
QuotasExtensions_getQuotasStateTitleColor(_this) {
if (B.QuotasExtensions_get_isHardLimitReached(_this))
return C.Color_4293281350;
else
return C.Color_4286680217;
},
QuotasExtensions_getQuotasStateProgressBarColor(_this) {
if (B.QuotasExtensions_get_isHardLimitReached(_this))
return C.Color_4293281350;
else if (B.QuotasExtensions_get_isWarnLimitReached(_this))
return C.Color_4294951175;
else
return C.Color_4278221567;
},
QuotasExtensions_getQuotaBannerBackgroundColor(_this) {
if (B.QuotasExtensions_get_isHardLimitReached(_this))
return A.Color$fromARGB(31, 230, 70, 70);
else if (B.QuotasExtensions_get_isWarnLimitReached(_this))
return A.Color$fromARGB(31, 255, 193, 7);
else
return C.Color_2582375920;
},
QuotasExtensions_getQuotaBannerIcon(_this, imagePaths) {
if (B.QuotasExtensions_get_isHardLimitReached(_this))
return "assets/images/ic_quotas_out_of_storage.svg";
else if (B.QuotasExtensions_get_isWarnLimitReached(_this))
return "assets/images/ic_quotas_warning.svg";
else
return "";
},
QuotasExtensions_getQuotaBannerTitle(_this, context) {
var _null = null;
if (B.QuotasExtensions_get_isHardLimitReached(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("You have run out of storage space", _null, "quotaErrorBannerTitle", _null, _null);
} else if (B.QuotasExtensions_get_isWarnLimitReached(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("You are running out of storage (90%).", _null, "quotaWarningBannerTitle", _null, _null);
} else
return "";
},
QuotasExtensions_getQuotaBannerMessage(_this, context) {
var _null = null,
_s122_ = "Soon you won't be able to email in Tmail. Please clean your storage or upgrade your storage to get full features in Tmail.";
if (B.QuotasExtensions_get_isHardLimitReached(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(_s122_, _null, "quotaErrorBannerMessage", _null, _null);
} else if (B.QuotasExtensions_get_isWarnLimitReached(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message(_s122_, _null, "quotaWarningBannerMessage", _null, _null);
} else
return "";
},
QuotasExtensions_getQuotaBannerTitleColor(_this) {
if (B.QuotasExtensions_get_isHardLimitReached(_this))
return C.Color_4293281350;
else if (B.QuotasExtensions_get_isWarnLimitReached(_this))
return D.Color_4293942340;
else
return C.Color_4278190080;
},
SearchEmailFilterExtension_searchFilterByContactApplied(_this, prefixEmailAddress) {
var t1;
switch (prefixEmailAddress.index) {
case 0:
t1 = _this.from;
return t1.get$isNotEmpty(t1);
case 1:
t1 = _this.to;
return t1.get$isNotEmpty(t1);
default:
return false;
}
},
SearchEmailFilterExtension_getNameContactApplied(_this, context, prefixEmailAddress) {
var t1, _null = null;
switch (prefixEmailAddress.index) {
case 0:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = _this.from;
return A.Intl__message("From", _null, "from_email_address_prefix", _null, _null) + " " + A.S(t1.get$first(t1));
case 1:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = _this.to;
return A.Intl__message("To", _null, "to_email_address_prefix", _null, _null) + " " + A.S(t1.get$first(t1));
default:
return "";
}
},
SearchEmailFilterExtension_getNameContactDefault(_this, context, prefixEmailAddress) {
var _null = null;
switch (prefixEmailAddress.index) {
case 0:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("From", _null, "from_email_address_prefix", _null, _null);
case 1:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("To", _null, "to_email_address_prefix", _null, _null);
default:
return "";
}
},
SearchMailboxUtils_getPaddingAppBar(context, responsiveUtils) {
var t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, null, t1).data;
if (t2.size._dx >= 1200)
return C.EdgeInsets_16_8_16_8;
else if (A.InheritedModel_inheritFrom(context, null, t1).data.size.get$shortestSide() < 600)
return C.EdgeInsets_12_8_12_8;
else
return C.EdgeInsets_28_8_28_8;
},
SearchMailboxUtils_getPaddingInputSearchIcon(context, responsiveUtils) {
var t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, null, t1).data;
if (t2.size._dx >= 1200)
return D.EdgeInsets_5_0_2_0;
else if (A.InheritedModel_inheritFrom(context, null, t1).data.size.get$shortestSide() < 600)
return D.EdgeInsets_6_0_14_0;
else
return D.EdgeInsets_8_0_16_0;
},
SearchMailboxUtils_getIconSize(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data;
if (t1.size._dx >= 1200)
return 30;
else
return 40;
},
SearchMailboxUtils_getIconSplashRadius(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data;
if (t1.size._dx >= 1200)
return 10;
else
return 15;
},
SearchMailboxUtils_getPaddingListViewMailboxSearched(context, responsiveUtils) {
var t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, null, t1).data;
if (t2.size._dx >= 1200)
return C.EdgeInsets_16_0_16_16;
else if (A.InheritedModel_inheritFrom(context, null, t1).data.size.get$shortestSide() < 600)
return C.EdgeInsets_16_16_16_16;
else
return E.EdgeInsets_32_16_32_16;
},
FilterMessageOptionExtension_getTitle(_this, context) {
var _null = null;
switch (_this.index) {
case 0:
return "";
case 1:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("With Unread", _null, "with_unread", _null, _null);
case 2:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return F.CapitalizeExtension_get_capitalizeFirstEach(A.Intl__message("With attachments", _null, "with_attachments", _null, _null));
case 3:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("With Starred", _null, "with_starred", _null, _null);
}
},
FilterMessageOptionExtension_getName(_this, context) {
var _null = null;
switch (_this.index) {
case 0:
return "";
case 1:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Unread", _null, "unread", _null, _null);
case 2:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("With attachments", _null, "with_attachments", _null, _null);
case 3:
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Starred", _null, "starred", _null, _null);
}
},
FilterMessageOptionExtension_getIcon(_this, imagePaths) {
switch (_this.index) {
case 0:
return "";
case 1:
return "assets/images/ic_unread.svg";
case 2:
return "assets/images/ic_attachment.svg";
case 3:
return "assets/images/ic_star.svg";
}
},
FilterMessageOptionExtension_getIconSelected(_this, imagePaths) {
switch (_this.index) {
case 0:
return "assets/images/ic_filter_advanced.svg";
case 1:
case 2:
case 3:
return "assets/images/ic_selected_sb.svg";
}
},
FilterMessageOptionExtension_getBackgroundColor(_this) {
switch (_this.index) {
case 0:
return C.Color_2582375920;
case 1:
case 2:
case 3:
return C.Color_251689727;
}
},
FilterMessageOptionExtension_getTextStyle(_this) {
switch (_this.index) {
case 0:
return D.TextStyle_omH4;
case 1:
case 2:
case 3:
return D.TextStyle_yzp5;
}
},
ItemEmailTileStyles_getSpaceCalendarEventIcon(context, responsiveUtils) {
var t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, null, t1).data.size.get$shortestSide() < 600)
return C.EdgeInsetsDirectional_0_0_4_0;
else {
t1 = A.InheritedModel_inheritFrom(context, null, t1).data;
if (t1.size._dx >= 1200)
return C.EdgeInsetsDirectional_0_0_12_0;
else
return C.EdgeInsetsDirectional_0_0_8_0;
}
},
AppConfig_appGridDashboardAvailable() {
if ($.$get$dotenv().maybeGet$2$fallback("APP_GRID_AVAILABLE", "unsupported") === "supported")
return true;
return false;
},
AppUtils_getCurrentDateLocale() {
var t1, currentLanguageCode;
$.$get$Get();
t1 = $.$get$LocalesIntl__intlHost().locale;
currentLanguageCode = t1 == null ? null : t1.get$languageCode(t1);
if (currentLanguageCode === "fr")
return D.C_FrenchDateLocale;
else if (currentLanguageCode === "en")
return D.C_EnglishDateLocale;
else if (currentLanguageCode === "vi")
return D.C_VietnameseDateLocale;
else if (currentLanguageCode === "ru")
return D.C_RussianDateLocale;
else if (currentLanguageCode === "ar")
return D.C_ArabicDateLocale;
else if (currentLanguageCode === "it")
return D.C_ItalianDateLocale;
else
return D.C_EnglishDateLocale;
}
},
A, C, F, D, J, H, G, E;
B = hunkHelpers.updateHolder(holdersList[5], B);
A = holdersList[0];
C = holdersList[2];
F = holdersList[10];
D = holdersList[17];
J = holdersList[1];
H = holdersList[11];
G = holdersList[12];
E = holdersList[18];
B.ByteConverter.prototype = {
_withPrecision$2$precision(value, precision) {
var t1,
valString = A.S(value),
endingIndex = C.JSString_methods.indexOf$1(valString, ".") + precision;
if (valString.length < endingIndex)
return value;
t1 = A.Primitives_parseDouble(C.JSString_methods.substring$2(valString, 0, endingIndex));
return t1 == null ? value : t1;
},
$add(_, instance) {
var t1 = instance._byte_converter_base$_bytes + this._byte_converter_base$_bytes,
t2 = new B.ByteConverter(t1);
t2._bits = C.JSNumber_methods.ceil$0(t1 * 8);
return t2;
},
$sub(_, instance) {
var t1 = this._byte_converter_base$_bytes - instance._byte_converter_base$_bytes,
t2 = new B.ByteConverter(t1);
t2._bits = C.JSNumber_methods.ceil$0(t1 * 8);
return t2;
},
$gt(_, instance) {
return C.JSInt_methods.$gt(this._bits, instance.get$_bits());
},
toHumanReadable$1(unit) {
var _this = this;
switch (unit.index) {
case 0:
return A.S(_this._withPrecision$2$precision(_this._byte_converter_base$_bytes / 1e12, 2)) + " TB";
case 1:
return A.S(_this._withPrecision$2$precision(_this._byte_converter_base$_bytes / 1000000000, 2)) + " GB";
case 2:
return A.S(_this._withPrecision$2$precision(_this._byte_converter_base$_bytes / 1000000, 2)) + " MB";
case 3:
return A.S(_this._withPrecision$2$precision(_this._byte_converter_base$_bytes / 1000, 2)) + " MB";
case 4:
return A.S(_this._withPrecision$2$precision(_this._byte_converter_base$_bytes, 2)) + " B";
}
}
};
B.SizeUnit.prototype = {
_enumToString$0() {
return "SizeUnit." + this._core$_name;
}
};
B.ScrollingFloatingButtonAnimated.prototype = {
createState$0() {
return new B._ScrollingFloatingButtonAnimatedState(null, null, C._StateLifecycle_0);
}
};
B._ScrollingFloatingButtonAnimatedState.prototype = {
initState$0() {
var _this = this;
_this.___ScrollingFloatingButtonAnimatedState__animationController_A = A.AnimationController$(C.AnimationBehavior_0, null, C.Duration_250000, 0, C.Duration_250000, 120, null, _this);
_this.super$State$initState();
_this._handleScroll$0();
},
dispose$0() {
this._widget.scrollController.removeListener$1(0, new B._ScrollingFloatingButtonAnimatedState_dispose_closure());
var t1 = this.___ScrollingFloatingButtonAnimatedState__animationController_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t1.dispose$0();
this.super$__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin$dispose();
},
_handleScroll$0() {
var scrollController = this._widget.scrollController;
scrollController.addListener$1(0, new B._ScrollingFloatingButtonAnimatedState__handleScroll_closure(this, scrollController));
},
build$1(context) {
var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _this = this, _null = null;
if (A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data.size.get$shortestSide() < 60)
return C.SizedBox_0_0_null_null;
t1 = _this._widget;
t2 = t1.height;
t3 = t2 / 2;
t4 = A.BorderRadius$all(new A.Radius(t3, t3));
t5 = _this._onTop;
t6 = t5 ? t1.width : t2;
t7 = A.BorderRadius$all(new A.Radius(t3, t3));
t8 = A.BorderRadius$all(new A.Radius(t3, t3));
t9 = t1.onPress;
t3 = A.BorderRadius$all(new A.Radius(t3, t3));
t10 = t1.color;
t11 = t5 ? C.MainAxisAlignment_5 : C.MainAxisAlignment_2;
t5 = t5 ? 10 : 16;
t12 = _this.___ScrollingFloatingButtonAnimatedState__animationController_A;
t12 === $ && A.throwUnnamedLateFieldNI();
t13 = type$.JSArray_Widget;
t5 = A._setArrayType([A.Container$(_null, A.AnimatedBuilder$(t12, new B._ScrollingFloatingButtonAnimatedState_build_closure(_this), t1.icon), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(16, 0, t5, 0), _null, _null, _null)], t13);
C.JSArray_methods.addAll$1(t5, _this._onTop ? A._setArrayType([A.Expanded$(_this._widget.text, 1)], t13) : A._setArrayType([], t13));
return A.Card$(true, A.AnimatedContainer$(A.InkWell$(false, t8, true, F.Ink$(A.Row$(t5, C.CrossAxisAlignment_2, t11, C.MainAxisSize_1, _null), new A.BoxDecoration(t10, _null, _null, t3, _null, _null, _null, C.BoxShape_0), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t9, _null, _null, _null, _null, _null, _null, _null), _null, C.Cubic_xDo0, new A.BoxDecoration(_null, _null, _null, t7, _null, _null, _null, C.BoxShape_0), C.Duration_250000, _null, t2, t6), _null, _null, 5, _null, new A.RoundedRectangleBorder(t4, C.BorderSide_8xm));
}
};
B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin.prototype = {
dispose$0() {
var _this = this,
t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier;
if (t1 != null)
t1.removeListener$1(0, _this.get$_updateTicker());
_this.SingleTickerProviderStateMixin__tickerModeNotifier = null;
_this.super$State$dispose();
},
activate$0() {
this.super$State$activate();
this._updateTickerModeNotifier$0();
this._updateTicker$0();
}
};
B.CupertinoLoadingWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.size,
t2 = t1 == null,
t3 = t2 ? 24 : t1,
item = A.Center$(new A.SizedBox(t3, t2 ? 24 : t1, C.CupertinoActivityIndicator_Color_697934509_null, _null), _null, _null);
t1 = this.padding;
if (t1 != null)
return new A.Padding(t1, item, _null);
else
return item;
}
};
B.QuickSearchInputForm.prototype = {
createState$0() {
var _null = null,
t1 = this.$ti,
t2 = $.$get$ChangeNotifier__emptyListeners();
return new B._TypeAheadFormFieldState(new A.RestorableStringN(_null, t2), new A.RestorableBool(false, t2), _null, A.LinkedHashMap_LinkedHashMap$_empty(type$.RestorableProperty_nullable_Object, type$.void_Function), _null, true, _null, C._StateLifecycle_0, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_TypeAheadFormFieldState<1,2>"));
}
};
B._TypeAheadFormFieldState.prototype = {
get$_effectiveController() {
var t1 = type$.QuickSearchInputForm_dynamic_dynamic._as(A.State0.prototype.get$widget.call(this)).textFieldConfiguration.controller;
return t1 == null ? this._quick_search_input_form$_controller : t1;
},
get$widget() {
return type$.QuickSearchInputForm_dynamic_dynamic._as(A.State0.prototype.get$widget.call(this));
},
initState$0() {
var t1, _this = this;
_this.super$State$initState();
t1 = type$.QuickSearchInputForm_dynamic_dynamic;
if (t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller == null)
_this._quick_search_input_form$_controller = A.TextEditingController$(t1._as(A.State0.prototype.get$widget.call(_this)).initialValue);
else
t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller.addListener$1(0, _this.get$_handleControllerChanged());
},
didUpdateWidget$1(oldWidget) {
var t1, t2, t3, t4, _this = this;
_this.super$_FormFieldState_State_RestorationMixin$didUpdateWidget(oldWidget);
t1 = type$.QuickSearchInputForm_dynamic_dynamic;
t2 = oldWidget.textFieldConfiguration.controller;
if (t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller != t2) {
t3 = t2 == null;
if (!t3)
t2.removeListener$1(0, _this.get$_handleControllerChanged());
t4 = t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller;
if (t4 != null)
t4.addListener$1(0, _this.get$_handleControllerChanged());
if (!t3 && t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller == null)
_this._quick_search_input_form$_controller = A.TextEditingController$fromValue(t2._change_notifier$_value);
if (t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller != null) {
_this.__FormFieldState__value_AI = t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller._change_notifier$_value.text;
if (t3)
_this._quick_search_input_form$_controller = null;
}
}
},
dispose$0() {
var t1 = type$.QuickSearchInputForm_dynamic_dynamic._as(A.State0.prototype.get$widget.call(this)).textFieldConfiguration.controller;
if (t1 != null)
t1.removeListener$1(0, this.get$_handleControllerChanged());
this.super$_FormFieldState_State_RestorationMixin$dispose();
},
_handleControllerChanged$0() {
var _this = this;
if (_this.get$_effectiveController()._change_notifier$_value.text !== _this.get$_form$_value())
_this.didChange$1(_this.get$_effectiveController()._change_notifier$_value.text);
}
};
B.TypeAheadFieldQuickSearch.prototype = {
createState$0() {
var t1 = this.$ti;
$.$get$KeyboardVisibilityController__instance();
return new B._TypeAheadFieldQuickSearchState(new A.LayerLink(), A.KeyboardVisibilityHandler_onChange(), C._StateLifecycle_0, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("_TypeAheadFieldQuickSearchState<1,2>"));
}
};
B._TypeAheadFieldQuickSearchState.prototype = {
get$_effectiveController() {
var t1 = this._widget.textFieldConfiguration.controller;
return t1 == null ? this._textEditingController : t1;
},
get$_effectiveFocusNode() {
var t1 = this._widget.textFieldConfiguration.focusNode;
return t1 == null ? this._quick_search_input_form$_focusNode : t1;
},
didChangeMetrics$0() {
this._suggestionsBox.onChangeMetrics$0();
},
dispose$0() {
var t1, t2, _this = this;
_this._suggestionsBox.close$0(0);
_this._suggestionsBox.widgetMounted = false;
C.JSArray_methods.remove$1($.WidgetsBinding__instance.WidgetsBinding__observers, _this);
t1 = _this.___TypeAheadFieldQuickSearchState__keyboardVisibilitySubscription_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (t1 != null)
t1.cancel$0(0);
t1 = _this.get$_effectiveFocusNode();
t1.toString;
t2 = _this.___TypeAheadFieldQuickSearchState__focusNodeListener_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t1.removeListener$1(0, t2);
t2 = _this._quick_search_input_form$_focusNode;
if (t2 != null)
t2.dispose$0();
t1 = _this._resizeOnScrollTimer;
if (t1 != null)
t1.cancel$0(0);
t1 = _this._quick_search_input_form$_scrollPosition;
if (t1 != null)
t1.removeListener$1(0, _this.get$_scrollResizeListener());
t1 = _this._textEditingController;
if (t1 != null) {
t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners();
t1.ChangeNotifier__count = 0;
}
_this.super$State$dispose();
},
initState$0() {
var t1, t2, _this = this, _null = null;
_this.super$State$initState();
$.WidgetsBinding__instance.WidgetsBinding__observers.push(_this);
t1 = _this._widget.textFieldConfiguration;
t2 = t1.textDirection;
_this.___TypeAheadFieldQuickSearchState__textDirection_A = t2 == null ? C.TextDirection_1 : t2;
if (t1.controller == null)
_this._textEditingController = A.TextEditingController$(_null);
t1 = _this._widget;
if (t1.textFieldConfiguration.focusNode == null)
_this._quick_search_input_form$_focusNode = A.FocusNode$(true, _null, true, true, _null, _null, false);
t2 = _this._framework$_element;
t2.toString;
t1 = t1.direction;
_this._suggestionsBox = new B._SuggestionsBox(t2, t1, false, false, t1);
_this.___TypeAheadFieldQuickSearchState__focusNodeListener_A = new B._TypeAheadFieldQuickSearchState_initState_closure(_this);
_this.get$_effectiveFocusNode().addListener$1(0, _this.___TypeAheadFieldQuickSearchState__focusNodeListener_A);
t1 = _this._keyboardVisibility;
_this.___TypeAheadFieldQuickSearchState__keyboardVisibilitySubscription_A = t1 == null ? _null : t1.listen$1(new B._TypeAheadFieldQuickSearchState_initState_closure0(_this));
$.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new B._TypeAheadFieldQuickSearchState_initState_closure1(_this));
},
didChangeDependencies$0() {
var t1, scrollableState, t2, _this = this;
_this.super$State$didChangeDependencies();
t1 = _this._framework$_element;
t1.toString;
scrollableState = A.Scrollable_maybeOf(t1);
if (scrollableState != null) {
t1 = scrollableState._scrollable$_position;
t1.toString;
_this._quick_search_input_form$_scrollPosition = t1;
t2 = _this.get$_scrollResizeListener();
t1.removeListener$1(0, t2);
_this._quick_search_input_form$_scrollPosition.isScrollingNotifier.addListener$1(0, t2);
}
},
_scrollResizeListener$0() {
var _this = this,
isScrolling = _this._quick_search_input_form$_scrollPosition.isScrollingNotifier._change_notifier$_value,
t1 = _this._resizeOnScrollTimer;
if (t1 != null)
t1.cancel$0(0);
if (isScrolling)
_this._resizeOnScrollTimer = A.Timer_Timer$periodic(C.Duration_500000, new B._TypeAheadFieldQuickSearchState__scrollResizeListener_closure(_this));
else
_this._suggestionsBox.resize$0(0);
},
_initOverlayEntry$0() {
var t1 = this._suggestionsBox;
t1.toString;
t1._quick_search_input_form$_overlayEntry = A.OverlayEntry$(new B._TypeAheadFieldQuickSearchState__initOverlayEntry_closure(this), false);
},
build$1(context) {
var t2, t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = _this._suggestionsBox;
t1 = (t1 == null ? _null : t1.isOpened) === true ? D.BoxDecoration_G3F4 : C.BoxDecoration_Oi20;
t2 = _this._widget.maxHeight;
t3 = A._setArrayType([], type$.JSArray_Widget);
t4 = _this._widget.textFieldConfiguration.leftButton;
if (t4 != null)
t3.push(t4);
t4 = _this.get$_effectiveFocusNode();
t5 = _this.get$_effectiveController();
t6 = _this._widget.textFieldConfiguration;
t7 = _this.___TypeAheadFieldQuickSearchState__textDirection_A;
t7 === $ && A.throwUnnamedLateFieldNI();
t3.push(A.Expanded$(A.TextField$(true, C.List_empty0, false, _null, A.text_field_TextField__defaultContextMenuBuilder$closure(), t5, t6.cursorColor, _null, t6.cursorRadius, t6.cursorWidth, t6.decoration, true, true, true, true, false, t4, t6.inputFormatters, _null, t6.keyboardAppearance, t6.keyboardType, _null, t6.maxLength, t6.maxLengthEnforcement, t6.maxLines, t6.minLines, _null, false, "\u2022", new B._TypeAheadFieldQuickSearchState_build_closure(_this), t6.onEditingComplete, t6.onSubmitted, t6.onTap, _null, false, _null, _null, t6.scrollPadding, _null, _null, _null, _null, _null, _null, _null, t6.style, t6.textAlign, t6.textAlignVertical, t6.textCapitalization, t7, t6.textInputAction, _null), 1));
if (_this._widget.textFieldConfiguration.clearTextButton != null) {
t4 = _this.get$_effectiveController();
t4 = (t4 == null ? _null : t4._change_notifier$_value.text.length !== 0) === true;
} else
t4 = false;
if (t4) {
t4 = _this._widget.textFieldConfiguration.clearTextButton;
t4.toString;
t3.push(t4);
}
t4 = _this._widget.textFieldConfiguration.rightButton;
if (t4 != null)
t3.push(t4);
return new A.CompositedTransformTarget(_this._layerLink, A.Container$(_null, A.Row$(t3, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, t1, _null, t2, _null, _null, _null, _null, _null, _null), _null);
}
};
B._SuggestionsList.prototype = {
createState$0() {
var t1 = this.$ti;
return B._SuggestionsListState$(t1._precomputed1, t1._rest[1]);
}
};
B._SuggestionsListState.prototype = {
get$_quick_search_input_form$_scrollController() {
var result, t1, t2, _this = this,
value = _this.___SuggestionsListState__scrollController_FI;
if (value === $) {
result = _this._widget.scrollController;
t1 = A._setArrayType([], type$.JSArray_ScrollPosition);
t2 = $.$get$ChangeNotifier__emptyListeners();
result = new A.ScrollController(0, true, null, t1, t2);
_this.___SuggestionsListState__scrollController_FI !== $ && A.throwUnnamedLateFieldADI();
value = _this.___SuggestionsListState__scrollController_FI = result;
}
return value;
},
_SuggestionsListState$0($T, $R) {
this.___SuggestionsListState__controllerListener_A = new B._SuggestionsListState_closure(this);
},
didUpdateWidget$1(oldWidget) {
var t1, t2, _this = this;
_this.super$State$didUpdateWidget(oldWidget);
t1 = _this._widget.controller;
t1.toString;
t2 = _this.___SuggestionsListState__controllerListener_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t1.addListener$1(0, t2);
_this._getSuggestions$0();
},
didChangeDependencies$0() {
this.super$State$didChangeDependencies();
this._getSuggestions$0();
},
initState$0() {
var t1, t2, _this = this;
_this.super$State$initState();
_this._quick_search_input_form$_animationController = A.AnimationController$(C.AnimationBehavior_0, null, _this._widget.animationDuration, 0, null, 1, null, _this);
t1 = _this._widget;
_this.___SuggestionsListState__suggestionsValid_A = t1.minCharsForSuggestions > 0 && true;
_this._isQueued = _this._isLoading = false;
t1 = t1.controller;
_this._lastTextValue = t1._change_notifier$_value.text;
t2 = _this.___SuggestionsListState__controllerListener_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t1.addListener$1(0, t2);
},
invalidateSuggestions$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$self = this;
var $async$invalidateSuggestions$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$self._widget.toString;
$async$self.___SuggestionsListState__suggestionsValid_A = false;
$async$goto = 2;
return A._asyncAwait($async$self._getSuggestions$0(), $async$invalidateSuggestions$0);
case 2:
// returning from await.
// implicit return
return A._asyncReturn(null, $async$completer);
}
});
return A._asyncStartSync($async$invalidateSuggestions$0, $async$completer);
},
_getSuggestions$0() {
return this._getSuggestions$body$_SuggestionsListState();
},
_getSuggestions$body$_SuggestionsListState() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, e, recentItems, exception, t1, t2, $async$exception, $async$temp1;
var $async$_getSuggestions$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1) {
$async$currentError = $async$result;
$async$goto = $async$handler;
}
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = {};
t2 = $async$self.___SuggestionsListState__suggestionsValid_A;
t2 === $ && A.throwUnnamedLateFieldNI();
if (!t2) {
$async$self._widget.toString;
t2 = false;
} else
t2 = true;
if (t2) {
// goto return
$async$goto = 1;
break;
}
$async$self.___SuggestionsListState__suggestionsValid_A = true;
$async$goto = $async$self._framework$_element != null ? 3 : 4;
break;
case 3:
// then
$async$self.setState$1(new B._SuggestionsListState__getSuggestions_closure($async$self));
t1.error = t1.recentItems = t1.suggestions = null;
$async$handler = 6;
t2 = $async$self._widget;
$async$temp1 = t1;
$async$goto = 9;
return A._asyncAwait(t2.suggestionsCallback.call$1(t2.controller._change_notifier$_value.text), $async$_getSuggestions$0);
case 9:
// returning from await.
$async$temp1.suggestions = $async$result;
t2 = $async$self._widget;
$async$goto = 10;
return A._asyncAwait(t2.fetchRecentActionCallback.call$1(t2.controller._change_notifier$_value.text), $async$_getSuggestions$0);
case 10:
// returning from await.
recentItems = $async$result;
t1.recentItems = recentItems;
$async$handler = 2;
// goto after finally
$async$goto = 8;
break;
case 6:
// catch
$async$handler = 5;
$async$exception = $async$currentError;
e = A.unwrapException($async$exception);
t1.error = e;
// goto after finally
$async$goto = 8;
break;
case 5:
// uncaught
// goto rethrow
$async$goto = 2;
break;
case 8:
// after finally
if ($async$self._framework$_element != null)
$async$self.setState$1(new B._SuggestionsListState__getSuggestions_closure0(t1, $async$self));
case 4:
// join
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
case 2:
// rethrow
return A._asyncRethrow($async$currentError, $async$completer);
}
});
return A._asyncStartSync($async$_getSuggestions$0, $async$completer);
},
dispose$0() {
this._quick_search_input_form$_animationController.dispose$0();
var t1 = this._debounceTimer;
if (t1 != null)
t1.cancel$0(0);
this.super$__SuggestionsListState_State_SingleTickerProviderStateMixin$dispose();
},
build$1(context) {
var t1, child, animationChild, t2, t3, t4, _this = this, _null = null;
_this._widget.toString;
t1 = _this._suggestions;
if ((t1 == null ? _null : J.get$isNotEmpty$asx(t1)) === true) {
t1 = _this._widget.controller;
t1 = (t1 == null ? _null : t1._change_notifier$_value.text.length !== 0) === true;
} else
t1 = false;
child = t1 ? _this.createSuggestionsWidget$0() : _this.createRecentWidget$0();
_this._widget.toString;
t1 = _this._quick_search_input_form$_animationController;
t1.toString;
animationChild = A.SizeTransition$(C.Axis_1, -1, child, A.CurvedAnimation$(C.Cubic_ifx, t1, _null));
t1 = _this._widget;
t2 = t1.suggestionsBox;
t3 = t2.maxHeight;
t2 = t2.isOpened;
t4 = t2 === true ? 1 : 4;
t1 = t1.decoration;
t2 = t2 === true ? D.BorderRadius_tLn15 : t1.borderRadius;
return A.PointerInterceptor$(A.Material$(C.Duration_200000, true, t2, new A.ConstrainedBox(new A.BoxConstraints(0, 1 / 0, 0, t3), animationChild, _null), C.Clip_0, t1.color, t4, _null, C.Color_4278190080, _null, _null, _null, C.MaterialType_0));
},
createSuggestionsWidget$0() {
var t2, listAction, t3, t4, t5, t6, child, _this = this, _null = null,
t1 = _this._suggestions,
listItemSuggestionWidget = t1 == null ? _null : J.map$1$1$ax(t1, new B._SuggestionsListState_createSuggestionsWidget_closure(_this), type$.Widget).toList$0(0);
if (listItemSuggestionWidget == null)
listItemSuggestionWidget = A._setArrayType([], type$.JSArray_Widget);
t1 = _this._widget.loadingBuilder;
t2 = _this._framework$_element;
t2.toString;
t1.call$1(t2);
t1 = _this._widget.listActionButton;
t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SingleChildRenderObjectWidget>");
listAction = A.Wrap$(C.WrapAlignment_0, A.List_List$of(new A.MappedListIterable(t1, new B._SuggestionsListState_createSuggestionsWidget_closure0(_this), t2), true, t2._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 0, 0);
t2 = _this.get$_quick_search_input_form$_scrollController();
t1 = _this._widget.suggestionsBox.direction !== C.AxisDirection_2 || false;
t3 = A._setArrayType([], type$.JSArray_Widget);
t4 = _this._widget;
t4 = t4.listActionPadding;
t3.push(new A.Padding(t4, listAction, _null));
if (_this._isLoading === true)
_this._widget.toString;
t4 = _this._widget;
t5 = t4.controller;
t6 = (t5 == null ? _null : t5._change_notifier$_value.text.length !== 0) === true;
if (t6) {
t4 = t4.buttonShowAllResult;
t6 = _this._framework$_element;
t6.toString;
t3.push(t4.call$2(t6, t5 == null ? _null : t5._change_notifier$_value.text));
}
if (listItemSuggestionWidget.length !== 0) {
t4 = A.List_List$of(listItemSuggestionWidget, true, type$.Widget);
t4.push(C.SizedBox_null_16_null_null);
C.JSArray_methods.addAll$1(t3, t4);
}
child = A.ListView$(t3, t2, C.EdgeInsets_0_0_0_0, _null, false, t1, C.Axis_1, true);
_this._widget.toString;
child = A.Scrollbar$(child, _this.get$_quick_search_input_form$_scrollController(), _null);
return child;
},
createRecentWidget$0() {
var t2, listAction, t3, t4, t5, t6, child, _this = this, _null = null,
t1 = _this._recentItems,
listItemRecent = t1 == null ? _null : J.map$1$1$ax(t1, new B._SuggestionsListState_createRecentWidget_closure(_this), type$.Widget).toList$0(0);
if (listItemRecent == null)
listItemRecent = A._setArrayType([], type$.JSArray_Widget);
t1 = _this._widget.loadingBuilder;
t2 = _this._framework$_element;
t2.toString;
t1.call$1(t2);
t1 = _this._widget.listActionButton;
t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SingleChildRenderObjectWidget>");
listAction = A.Wrap$(C.WrapAlignment_0, A.List_List$of(new A.MappedListIterable(t1, new B._SuggestionsListState_createRecentWidget_closure0(_this), t2), true, t2._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 0, 0);
t2 = _this.get$_quick_search_input_form$_scrollController();
t1 = _this._widget.suggestionsBox.direction !== C.AxisDirection_2 || false;
t3 = A._setArrayType([], type$.JSArray_Widget);
t4 = _this._widget;
t4 = t4.listActionPadding;
t3.push(new A.Padding(t4, listAction, _null));
if (_this._isLoading === true)
_this._widget.toString;
t4 = _this._widget;
t5 = t4.controller;
t6 = (t5 == null ? _null : t5._change_notifier$_value.text.length !== 0) === true;
if (t6) {
t4 = t4.buttonShowAllResult;
t6 = _this._framework$_element;
t6.toString;
t3.push(t4.call$2(t6, t5 == null ? _null : t5._change_notifier$_value.text));
}
t4 = _this._recentItems;
if ((t4 == null ? _null : J.get$isNotEmpty$asx(t4)) === true) {
_this._widget.toString;
t4 = true;
} else
t4 = false;
if (t4)
t3.push(_this._widget.titleHeaderRecent);
if (listItemRecent.length !== 0) {
t4 = A.List_List$of(listItemRecent, true, type$.Widget);
t4.push(C.SizedBox_null_16_null_null);
C.JSArray_methods.addAll$1(t3, t4);
}
child = A.ListView$(t3, t2, C.EdgeInsets_0_0_0_0, _null, false, t1, C.Axis_1, true);
_this._widget.toString;
t1 = _this.get$_quick_search_input_form$_scrollController();
child = A.Scrollbar$(A.Container$(_null, child, C.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t1, _null);
return child;
}
};
B.QuickSearchSuggestionsBoxDecoration.prototype = {};
B.QuickSearchTextFieldConfiguration.prototype = {};
B._SuggestionsBox.prototype = {
open$0(_) {
var t1, t2, _this = this;
if (_this.isOpened)
return;
_this.resize$0(0);
t1 = A.LookupBoundary_findAncestorStateOfType(_this.context, type$.OverlayState);
t1.toString;
t2 = _this._quick_search_input_form$_overlayEntry;
t2.toString;
t1.insert$1(0, t2);
_this.isOpened = true;
},
close$0(_) {
if (!this.isOpened)
return;
this._quick_search_input_form$_overlayEntry.remove$0(0);
this.isOpened = false;
},
_findRootMediaQuery$0() {
var t1 = {};
t1.rootMediaQuery = null;
this.context.visitAncestorElements$1(new B._SuggestionsBox__findRootMediaQuery_closure(t1));
return t1.rootMediaQuery;
},
_waitChangeMetrics$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.bool),
$async$returnValue, $async$self = this, t1, t2, initial, initialRootMediaQuery, t3, timer, t4;
var $async$_waitChangeMetrics$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = $async$self.widgetMounted ? 3 : 4;
break;
case 3:
// then
t1 = $async$self.context;
t2 = type$.MediaQuery;
initial = A.InheritedModel_inheritFrom(t1, null, t2).data.viewInsets;
initialRootMediaQuery = $async$self._findRootMediaQuery$0();
t3 = type$.void;
timer = 0;
case 5:
// while condition
if (!($async$self.widgetMounted && timer < 1000)) {
// goto after while
$async$goto = 6;
break;
}
$async$goto = 7;
return A._asyncAwait(A.Future_Future$delayed(C.Duration_170000, null, t3), $async$_waitChangeMetrics$0);
case 7:
// returning from await.
timer += 170;
if ($async$self.widgetMounted)
if (t1._widget != null)
t4 = !A.InheritedModel_inheritFrom(t1, null, t2).data.viewInsets.$eq(0, initial) || !J.$eq$($async$self._findRootMediaQuery$0(), initialRootMediaQuery);
else
t4 = false;
else
t4 = false;
if (t4) {
$async$returnValue = true;
// goto return
$async$goto = 1;
break;
}
// goto while condition
$async$goto = 5;
break;
case 6:
// after while
case 4:
// join
$async$returnValue = false;
// goto return
$async$goto = 1;
break;
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_waitChangeMetrics$0, $async$completer);
},
resize$0(_) {
if (this.widgetMounted) {
this._adjustMaxHeightAndOrientation$0();
this._quick_search_input_form$_overlayEntry.markNeedsBuild$0();
}
},
_adjustMaxHeightAndOrientation$0() {
var box, t3, rootMediaQuery, t4, maxHDesired, _this = this,
t1 = _this.context,
t2 = t1._widget;
t2.toString;
type$.TypeAheadFieldQuickSearch_dynamic_dynamic._as(t2);
box = type$.nullable_RenderBox._as(t1.get$renderObject());
if (box == null || box._box$_size == null)
return;
t3 = box._box$_size;
_this.textBoxWidth = t3._dx;
_this.textBoxHeight = t3._dy;
t3 = A.MatrixUtils_transformPoint(box.getTransformTo$1(0, null), C.Offset_0_0);
t1 = A.InheritedModel_inheritFrom(t1, null, type$.MediaQuery).data;
rootMediaQuery = _this._findRootMediaQuery$0();
t4 = _this.desiredDirection;
maxHDesired = _this._calculateMaxHeight$7(t4, box, t2, t1.size._dy, rootMediaQuery, rootMediaQuery.data.viewInsets.bottom, t3._dy);
_this.direction = t4;
_this.maxHeight = maxHDesired;
if (maxHDesired < 0)
_this.maxHeight = 0;
},
_calculateMaxHeight$7(direction, box, widget, windowHeight, rootMediaQuery, keyboardHeight, textBoxAbsY) {
var unsafeAreaHeight, t1, keyboardAbsY, t2;
if (direction === C.AxisDirection_2) {
unsafeAreaHeight = keyboardHeight === 0 ? rootMediaQuery.data.padding.bottom : 0;
t1 = windowHeight - keyboardHeight - unsafeAreaHeight - this.textBoxHeight - textBoxAbsY - 2 * widget.suggestionsBoxVerticalOffset;
} else {
keyboardAbsY = windowHeight - keyboardHeight;
t1 = textBoxAbsY > keyboardAbsY;
t2 = widget.suggestionsBoxVerticalOffset;
this.___SuggestionsBox_directionUpOffset_A = t1 ? keyboardAbsY - textBoxAbsY - t2 : -t2;
unsafeAreaHeight = rootMediaQuery.data.padding.top;
t2 = 2 * t2;
t1 = t1 ? keyboardAbsY - unsafeAreaHeight - t2 : textBoxAbsY - unsafeAreaHeight - t2;
}
return t1;
},
onChangeMetrics$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$self = this;
var $async$onChangeMetrics$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
$async$goto = 2;
return A._asyncAwait($async$self._waitChangeMetrics$0(), $async$onChangeMetrics$0);
case 2:
// returning from await.
if ($async$result)
$async$self.resize$0(0);
// implicit return
return A._asyncReturn(null, $async$completer);
}
});
return A._asyncStartSync($async$onChangeMetrics$0, $async$completer);
}
};
B.__SuggestionsListState_State_SingleTickerProviderStateMixin0.prototype = {
dispose$0() {
var _this = this,
t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier;
if (t1 != null)
t1.removeListener$1(0, _this.get$_updateTicker());
_this.SingleTickerProviderStateMixin__tickerModeNotifier = null;
_this.super$State$dispose();
},
activate$0() {
this.super$State$activate();
this._updateTickerModeNotifier$0();
this._updateTicker$0();
}
};
B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver.prototype = {};
B.RichTextBuilder.prototype = {
build$0() {
var _this = this, _null = null,
t1 = _this._rich_text_builder$_key;
return A.RichText$(t1, _null, 1, C.TextOverflow_1, _null, _null, false, _null, A.TextSpan$(_this._getSpans$3(_this._textOrigin, _this._wordToStyle, _this._styleWord), _null, _null, _null, _null, _null, _null, _null, _this._styleOrigin, _null), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0);
},
_getSpans$3(text, matchWord, style) {
var startIndex, endIndex, _null = null,
spans = A._setArrayType([], type$.JSArray_TextSpan),
t1 = text.length,
t2 = matchWord.length,
spanBoundary = 0;
do {
startIndex = C.JSString_methods.indexOf$2(text.toLowerCase(), matchWord.toLowerCase(), spanBoundary);
if (startIndex === -1) {
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, C.JSString_methods.substring$1(text, spanBoundary)));
return spans;
}
if (startIndex > spanBoundary)
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, C.JSString_methods.substring$2(text, spanBoundary, startIndex)));
endIndex = startIndex + t2;
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, style, C.JSString_methods.substring$2(text, startIndex, endIndex)));
if (endIndex < t1) {
spanBoundary = endIndex;
continue;
} else
break;
} while (true);
return spans;
}
};
B.ArabicDateLocale.prototype = {
get$am() {
return "\u0635";
},
get$pm() {
return "\u0645";
},
get$monthsShort() {
return C.List_ivT;
},
get$monthsLong() {
return D.List_4iI;
},
get$daysShort() {
return C.List_ao6;
},
get$daysLong() {
return C.List_ao6;
}
};
B.EnglishDateLocale.prototype = {
get$am() {
return "AM";
},
get$pm() {
return "PM";
},
get$monthsShort() {
return C.List_Au8;
},
get$monthsLong() {
return C.List_EC3;
},
get$daysShort() {
return D.List_AWo;
},
get$daysLong() {
return C.List_6TA;
}
};
B.FrenchDateLocale.prototype = {
get$am() {
return "avant midi";
},
get$pm() {
return "apr\xe8s midi";
},
get$monthsShort() {
return D.List_IoR0;
},
get$monthsLong() {
return D.List_c8d;
},
get$daysShort() {
return D.List_Rif;
},
get$daysLong() {
return D.List_k4X;
}
};
B.ItalianDateLocale.prototype = {
get$am() {
return "AM";
},
get$pm() {
return "PM";
},
get$monthsShort() {
return D.List_EkO;
},
get$monthsLong() {
return D.List_2b9;
},
get$daysShort() {
return D.List_laQ;
},
get$daysLong() {
return D.List_cLp;
}
};
B.RussianDateLocale.prototype = {
get$am() {
return "AM";
},
get$pm() {
return "PM";
},
get$monthsShort() {
return D.List_43h1;
},
get$monthsLong() {
return C.List_mCc;
},
get$daysShort() {
return D.List_5sq;
},
get$daysLong() {
return D.List_Ecu0;
}
};
B.VietnameseDateLocale.prototype = {
get$am() {
return "SA";
},
get$pm() {
return "CH";
},
get$monthsShort() {
return D.List_zyu;
},
get$monthsLong() {
return D.List_evx;
},
get$daysShort() {
return D.List_xw83;
},
get$daysLong() {
return D.List_gnE0;
}
};
B.DashedPainter.prototype = {
paint$2(canvas, originalSize) {
var size, paint, _path, _this = this,
t1 = _this.padding;
if (t1.$eq(0, C.EdgeInsets_0_0_0_0))
size = originalSize;
else {
canvas.translate$2(0, t1.left, t1.top);
size = new A.Size(originalSize._dx - t1.get$horizontal(), originalSize._dy - (t1.get$_top(t1) + t1.get$_bottom(t1)));
}
paint = $.$get$_renderer().createPaint$0();
paint.set$strokeWidth(_this.strokeWidth);
paint.set$color(0, _this.color);
paint.set$strokeCap(_this.strokeCap);
paint.set$style(0, C.PaintingStyle_1);
_path = _this._dotted_border$_getPath$1(size);
canvas.drawPath$2(_path, paint);
},
_dotted_border$_getPath$1(size) {
var w, h, s, path, t1, t2, t3;
switch (this.borderType.index) {
case 0:
w = size._dx;
h = size._dy;
s = size.get$shortestSide();
path = $.$get$_renderer().createPath$0();
t1 = w > s ? (w - s) / 2 : 0;
t2 = h > s ? (h - s) / 2 : 0;
t3 = s / 2;
path.addRRect$1(A.RRect$fromRectAndRadius(new A.Rect(t1, t2, t1 + s, t2 + s), new A.Radius(t3, t3)));
break;
case 1:
path = $.$get$_renderer().createPath$0();
path.addRRect$1(A.RRect$fromRectAndRadius(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy), this.radius));
break;
case 2:
path = $.$get$_renderer().createPath$0();
path.addRect$1(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy));
break;
case 3:
path = $.$get$_renderer().createPath$0();
path.addOval$1(new A.Rect(0, 0, 0 + size._dx, 0 + size._dy));
break;
default:
path = null;
}
return B.dashPath(path, new B.CircularIntervalList(this.dashPattern, type$.CircularIntervalList_double));
},
shouldRepaint$1(oldDelegate) {
var _this = this;
return oldDelegate.strokeWidth !== _this.strokeWidth || !oldDelegate.color.$eq(0, _this.color) || oldDelegate.dashPattern !== _this.dashPattern || !oldDelegate.padding.$eq(0, _this.padding) || oldDelegate.borderType !== _this.borderType;
}
};
B.DottedBorder.prototype = {
build$1(context) {
var _this = this, _null = null;
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([A.Positioned$fill(0, A.CustomPaint$(_null, _null, _null, new B.DashedPainter(_this.strokeWidth, _this.dashPattern, _this.color, _this.borderType, _this.radius, C.StrokeCap_0, _null, C.EdgeInsets_0_0_0_0, _null), C.Size_0_0)), new A.Padding(D.EdgeInsets_2_2_2_2, _this.child, _null)], type$.JSArray_Widget), _null);
}
};
B.BorderType.prototype = {
_enumToString$0() {
return "BorderType." + this._core$_name;
}
};
B.Drag.prototype = {
update$1(_, details) {
},
end$1(_, details) {
},
cancel$0(_) {
}
};
B.MultiDragPointerState.prototype = {};
B.MultiDragGestureRecognizer.prototype = {
addAllowedPointer$1($event) {
var _this = this,
state = _this.createNewPointerState$1($event),
t1 = _this._multidrag$_pointers;
t1.toString;
t1.$indexSet(0, $event.get$pointer(), state);
$.GestureBinding__instance.GestureBinding_pointerRouter.addRoute$2($event.get$pointer(), _this.get$_multidrag$_handleEvent());
state._arenaEntry = $.GestureBinding__instance.GestureBinding_gestureArena.add$2(0, $event.get$pointer(), _this);
},
_multidrag$_handleEvent$1($event) {
var t2, t3, t4,
t1 = this._multidrag$_pointers;
t1.toString;
t1 = t1.$index(0, $event.get$pointer());
t1.toString;
if (type$.PointerMoveEvent._is($event)) {
if (!$event.get$synthesized())
t1._multidrag$_velocityTracker.addPosition$2($event.get$timeStamp($event), $event.get$position($event));
t2 = t1._multidrag$_client;
if (t2 != null) {
t1 = $event.get$timeStamp($event);
t3 = $event.get$delta();
t4 = $event.get$position($event);
t2.update$1(0, new A.DragUpdateDetails(t1, t3, null, t4, t4));
} else {
t2 = t1._pendingDelta;
t2.toString;
t1._pendingDelta = t2.$add(0, $event.get$delta());
t1._multidrag$_lastPendingEventTimestamp = $event.get$timeStamp($event);
t1.checkForResolutionAfterMove$0();
}
} else if (type$.PointerUpEvent._is($event)) {
if (t1._multidrag$_client != null) {
t2 = t1._multidrag$_velocityTracker.getVelocity$0();
t3 = t1._multidrag$_client;
t3.toString;
t1._multidrag$_client = null;
t3.end$1(0, new A.DragEndDetails(t2, null));
} else
t1._multidrag$_lastPendingEventTimestamp = t1._pendingDelta = null;
this._removeState$1($event.get$pointer());
} else if (type$.PointerCancelEvent._is($event)) {
t2 = t1._multidrag$_client;
if (t2 != null) {
t1._multidrag$_client = null;
t2.cancel$0(0);
} else
t1._multidrag$_lastPendingEventTimestamp = t1._pendingDelta = null;
this._removeState$1($event.get$pointer());
}
},
acceptGesture$1(pointer) {
var state = this._multidrag$_pointers.$index(0, pointer);
if (state == null)
return;
state.accepted$1(new B.MultiDragGestureRecognizer_acceptGesture_closure(this, pointer));
},
_multidrag$_startDrag$2(initialPosition, pointer) {
var drag, t2, t3, t4, _this = this,
t1 = _this._multidrag$_pointers.$index(0, pointer);
t1.toString;
drag = _this.onStart != null ? _this.invokeCallback$2("onStart", new B.MultiDragGestureRecognizer__startDrag_closure(_this, initialPosition)) : null;
if (drag != null) {
t1._multidrag$_client = drag;
t2 = t1._multidrag$_lastPendingEventTimestamp;
t3 = t1._pendingDelta;
t3.toString;
t4 = t1.initialPosition;
t1._multidrag$_lastPendingEventTimestamp = t1._pendingDelta = null;
drag.update$1(0, new A.DragUpdateDetails(t2, t3, null, t4, t4));
} else
_this._removeState$1(pointer);
return drag;
},
rejectGesture$1(pointer) {
var state;
if (this._multidrag$_pointers.containsKey$1(0, pointer)) {
state = this._multidrag$_pointers.$index(0, pointer);
state._arenaEntry = state._multidrag$_lastPendingEventTimestamp = state._pendingDelta = null;
this._removeState$1(pointer);
}
},
_removeState$1(pointer) {
var t1, t2;
if (this._multidrag$_pointers == null)
return;
$.GestureBinding__instance.GestureBinding_pointerRouter.removeRoute$2(pointer, this.get$_multidrag$_handleEvent());
t1 = this._multidrag$_pointers.remove$1(0, pointer);
t2 = t1._arenaEntry;
if (t2 != null)
t2._arena._arena$_resolve$3(t2._arena$_pointer, t2._member, C.GestureDisposition_1);
t1._arenaEntry = null;
},
dispose$0() {
var t2, _this = this,
t1 = _this._multidrag$_pointers;
t1.toString;
t2 = A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>");
C.JSArray_methods.forEach$1(A.List_List$of(new A.LinkedHashMapKeyIterable(t1, t2), true, t2._eval$1("Iterable.E")), _this.get$_removeState());
_this._multidrag$_pointers = null;
_this.super$GestureRecognizer$dispose();
}
};
B._ImmediatePointerState.prototype = {
checkForResolutionAfterMove$0() {
var t1, _this = this;
if (_this._pendingDelta.get$distance() > A.computeHitSlop(_this.kind, _this.gestureSettings)) {
t1 = _this._arenaEntry;
t1._arena._arena$_resolve$3(t1._arena$_pointer, t1._member, C.GestureDisposition_0);
}
},
accepted$1(starter) {
starter.call$1(this.initialPosition);
}
};
B.ImmediateMultiDragGestureRecognizer.prototype = {
createNewPointerState$1($event) {
var t1 = $event.get$position($event),
t2 = $event.get$kind($event);
return new B._ImmediatePointerState(this.gestureSettings, t1, new A.VelocityTracker(t2, A.List_List$filled(20, null, false, type$.nullable__PointAtTime)), t2, C.Offset_0_0);
}
};
B._HorizontalPointerState.prototype = {
checkForResolutionAfterMove$0() {
var t1, _this = this;
if (Math.abs(_this._pendingDelta._dx) > A.computeHitSlop(_this.kind, _this.gestureSettings)) {
t1 = _this._arenaEntry;
t1._arena._arena$_resolve$3(t1._arena$_pointer, t1._member, C.GestureDisposition_0);
}
},
accepted$1(starter) {
starter.call$1(this.initialPosition);
}
};
B.HorizontalMultiDragGestureRecognizer.prototype = {
createNewPointerState$1($event) {
var t1 = $event.get$position($event),
t2 = $event.get$kind($event);
return new B._HorizontalPointerState(this.gestureSettings, t1, new A.VelocityTracker(t2, A.List_List$filled(20, null, false, type$.nullable__PointAtTime)), t2, C.Offset_0_0);
}
};
B._VerticalPointerState.prototype = {
checkForResolutionAfterMove$0() {
var t1, _this = this;
if (Math.abs(_this._pendingDelta._dy) > A.computeHitSlop(_this.kind, _this.gestureSettings)) {
t1 = _this._arenaEntry;
t1._arena._arena$_resolve$3(t1._arena$_pointer, t1._member, C.GestureDisposition_0);
}
},
accepted$1(starter) {
starter.call$1(this.initialPosition);
}
};
B.VerticalMultiDragGestureRecognizer.prototype = {
createNewPointerState$1($event) {
var t1 = $event.get$position($event),
t2 = $event.get$kind($event);
return new B._VerticalPointerState(this.gestureSettings, t1, new A.VelocityTracker(t2, A.List_List$filled(20, null, false, type$.nullable__PointAtTime)), t2, C.Offset_0_0);
}
};
B.Draggable.prototype = {
createRecognizer$1(onStart) {
var t1, t2, _null = null;
switch (null) {
case C.Axis_0:
t1 = type$.int;
t2 = B.multidrag_MultiDragGestureRecognizer__defaultButtonAcceptBehavior$closure();
t1 = new B.HorizontalMultiDragGestureRecognizer(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.MultiDragPointerState), _null, _null, t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind));
t1.onStart = onStart;
return t1;
case C.Axis_1:
t1 = type$.int;
t2 = B.multidrag_MultiDragGestureRecognizer__defaultButtonAcceptBehavior$closure();
t1 = new B.VerticalMultiDragGestureRecognizer(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.MultiDragPointerState), _null, _null, t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind));
t1.onStart = onStart;
return t1;
case null:
t1 = type$.int;
t2 = B.multidrag_MultiDragGestureRecognizer__defaultButtonAcceptBehavior$closure();
t1 = new B.ImmediateMultiDragGestureRecognizer(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.MultiDragPointerState), _null, _null, t2, A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.PointerDeviceKind));
t1.onStart = onStart;
return t1;
}
},
createState$0() {
return new B._DraggableState(C._StateLifecycle_0, this.$ti._eval$1("_DraggableState<1>"));
},
dragAnchorStrategy$3(arg0, arg1, arg2) {
return this.dragAnchorStrategy.call$3(arg0, arg1, arg2);
},
get$data(receiver) {
return this.data;
}
};
B._DraggableState.prototype = {
initState$0() {
var _this = this;
_this.super$State$initState();
_this._recognizer = _this._widget.createRecognizer$1(_this.get$_startDrag());
},
dispose$0() {
this._disposeRecognizerIfInactive$0();
this.super$State$dispose();
},
didChangeDependencies$0() {
var t2,
t1 = this._recognizer;
t1.toString;
t2 = this._framework$_element;
t2.toString;
t2 = A.MediaQuery__maybeOf(t2, C._MediaQueryAspect_16);
t1.gestureSettings = t2 == null ? null : t2.gestureSettings;
this.super$State$didChangeDependencies();
},
_disposeRecognizerIfInactive$0() {
if (this._activeCount > 0)
return;
this._recognizer.dispose$0();
this._recognizer = null;
},
_routePointer$1($event) {
this._widget.toString;
this._recognizer.addPointer$1($event);
},
_startDrag$1(position) {
var t2, dragStartPoint, avatar, _this = this,
t1 = _this._widget;
t1.toString;
t2 = _this._framework$_element;
t2.toString;
dragStartPoint = t1.dragAnchorStrategy$3(t1, t2, position);
_this.setState$1(new B._DraggableState__startDrag_closure(_this));
t2 = _this._framework$_element;
t2.toString;
_this._widget.toString;
t1 = A.LookupBoundary_findAncestorStateOfType(t2, type$.OverlayState);
t1.toString;
t2 = _this._widget;
avatar = new B._DragAvatar(t2.data, null, dragStartPoint, t2.feedback, C.Offset_0_0, new B._DraggableState__startDrag_closure0(_this), new B._DraggableState__startDrag_closure1(_this), t1, true, true, A._setArrayType([], type$.JSArray__DragTargetState_Object), position, _this.$ti._eval$1("_DragAvatar<1>"));
t2 = A.OverlayEntry$(avatar.get$_build(), false);
avatar._drag_target$_entry = t2;
t1.insert$1(0, t2);
avatar.updateDrag$1(position);
t2 = _this._widget.onDragStarted;
if (t2 != null)
t2.call$0();
return avatar;
},
build$1(context) {
var showChild, _null = null,
t1 = this._widget;
t1.toString;
showChild = this._activeCount === 0 || t1.childWhenDragging == null;
t1 = showChild ? t1.child : t1.childWhenDragging;
return A.Listener$(C.HitTestBehavior_0, t1, _null, this.get$_routePointer(), _null, _null, _null);
}
};
B.DraggableDetails.prototype = {};
B._DragEndKind.prototype = {
_enumToString$0() {
return "_DragEndKind." + this._core$_name;
}
};
B._DragAvatar.prototype = {
update$1(_, details) {
var _this = this,
oldPosition = _this._drag_target$_position,
t1 = oldPosition.$add(0, _this._restrictAxis$1(details.delta));
_this._drag_target$_position = t1;
_this.updateDrag$1(t1);
t1 = _this._drag_target$_position.$eq(0, oldPosition);
if (!t1)
_this.onDragUpdate.call$1(details);
},
end$1(_, details) {
this.finishDrag$2(D._DragEndKind_0, this._restrictVelocityAxis$1(details.velocity));
},
cancel$0(_) {
this.finishDrag$1(D._DragEndKind_1);
},
updateDrag$1(globalPosition) {
var result, t1, t2, t3, targets, iterator, listsMatch, i, _i, newTarget, _this = this;
_this._drag_target$_lastOffset = globalPosition.$sub(0, _this.dragStartPoint);
_this._drag_target$_entry.markNeedsBuild$0();
result = A.HitTestResult$();
t1 = $.WidgetsBinding__instance;
t1.toString;
t2 = globalPosition.$add(0, _this.feedbackOffset);
t3 = t1.RendererBinding___RendererBinding__pipelineOwner_A;
t3 === $ && A.throwUnnamedLateFieldNI();
t3._rootNode.hitTest$2$position(result, t2);
t1.super$GestureBinding$hitTest(result, t2);
t2 = _this._getDragTargets$1(result._path);
targets = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
t1 = targets.length;
t2 = _this._enteredTargets;
t3 = t2.length;
if (t1 >= t3 && t3 !== 0) {
t3 = A._arrayInstanceType(targets);
iterator = new J.ArrayIterator(targets, t1, t3._eval$1("ArrayIterator<1>"));
t1 = t3._precomputed1;
i = 0;
while (true) {
if (!(i < t2.length)) {
listsMatch = true;
break;
}
iterator.moveNext$0();
t3 = iterator.__interceptors$_current;
if (t3 == null)
t3 = t1._as(t3);
if (t3 !== t2[i]) {
listsMatch = false;
break;
}
++i;
}
} else
listsMatch = false;
if (listsMatch) {
for (t1 = t2.length, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i)
t2[_i].didMove$1(_this);
return;
}
_this._leaveAllEntered$0();
t1 = new A.CastList(targets, A._arrayInstanceType(targets)._eval$1("CastList<1,_DragTargetState<Object>?>"));
newTarget = t1.firstWhere$2$orElse(t1, new B._DragAvatar_updateDrag_closure(_this), new B._DragAvatar_updateDrag_closure0());
for (t1 = t2.length, _i = 0; _i < t2.length; t2.length === t1 || (0, A.throwConcurrentModificationError)(t2), ++_i)
t2[_i].didMove$1(_this);
_this._activeTarget = newTarget;
},
_getDragTargets$1(path) {
var t1, t2, t3, _i, target, metaData,
targets = A._setArrayType([], type$.JSArray__DragTargetState_Object);
for (t1 = path.length, t2 = this.data, t3 = this.$ti._precomputed1, _i = 0; _i < path.length; path.length === t1 || (0, A.throwConcurrentModificationError)(path), ++_i) {
target = path[_i].target;
if (target instanceof A.RenderMetaData) {
metaData = target.metaData;
if (metaData instanceof A._DragTargetState && metaData.isExpectedDataType$2(t2, A.createRuntimeType(t3)))
targets.push(metaData);
}
}
return targets;
},
_leaveAllEntered$0() {
var t1, i;
for (t1 = this._enteredTargets, i = 0; i < t1.length; ++i)
t1[i].didLeave$1(this);
C.JSArray_methods.clear$0(t1);
},
finishDrag$2(endKind, velocity) {
var wasAccepted, t1, t2, _this = this;
if (endKind === D._DragEndKind_0 && _this._activeTarget != null) {
_this._activeTarget.didDrop$1(_this);
C.JSArray_methods.remove$1(_this._enteredTargets, _this._activeTarget);
wasAccepted = true;
} else
wasAccepted = false;
_this._leaveAllEntered$0();
_this._activeTarget = null;
_this._drag_target$_entry.remove$0(0);
_this._drag_target$_entry = null;
t1 = velocity == null ? C.Velocity_Offset_0_0 : velocity;
t2 = _this._drag_target$_lastOffset;
t2.toString;
_this.onDragEnd.call$3(t1, t2, wasAccepted);
},
finishDrag$1(endKind) {
return this.finishDrag$2(endKind, null);
},
_build$1(context) {
var overlayTopLeft, _null = null,
t1 = this.overlayState._framework$_element.get$renderObject();
t1.toString;
overlayTopLeft = A.MatrixUtils_transformPoint(type$.RenderBox._as(t1).getTransformTo$1(0, _null), C.Offset_0_0);
t1 = this._drag_target$_lastOffset;
return A.Positioned$(_null, new A.IgnorePointer(true, true, this.feedback, _null), _null, _null, t1._dx - overlayTopLeft._dx, _null, t1._dy - overlayTopLeft._dy, _null);
},
_restrictVelocityAxis$1(velocity) {
return velocity;
},
_restrictAxis$1(offset) {
return offset;
},
get$data(receiver) {
return this.data;
}
};
B.Linkify.prototype = {
build$1(context) {
var _this = this, _null = null,
elements = A.linkify(_this.text, _this.linkifiers, _this.options),
t1 = _this.style,
t2 = t1.copyWith$2$color$decoration(C.MaterialAccentColor_Map_dfO12_4282682111, C.TextDecoration_1).merge$1(_null);
return A.Text$rich(A.TextSpan$(B.buildTextSpanChildren(elements, t2, _this.onOpen, t1, true), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, C.TextOverflow_0, true, _null, _null, C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0);
}
};
B.FocusedMenuItem.prototype = {};
B.CircularIntervalList.prototype = {};
B.CircularStrokeCap.prototype = {
_enumToString$0() {
return "CircularStrokeCap." + this._core$_name;
}
};
B.CircularPercentIndicator.prototype = {
createState$0() {
return new B._CircularPercentIndicatorState(null, null, null, C._StateLifecycle_0);
}
};
B._CircularPercentIndicatorState.prototype = {
dispose$0() {
var t1 = this._circular_percent_indicator$_animationController;
if (t1 != null)
t1.dispose$0();
this.super$__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin$dispose();
},
initState$0() {
var _this = this;
_this._widget.toString;
_this._circular_percent_indicator$_updateProgress$0();
_this._diameter = _this._widget.radius * 2;
_this.super$__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin$initState();
},
didUpdateWidget$1(oldWidget) {
var t1, t2, t3, _this = this;
_this.super$State$didUpdateWidget(oldWidget);
t1 = _this._widget.percent;
if (oldWidget.percent !== t1 || false) {
t2 = _this._circular_percent_indicator$_animationController;
if (t2 != null) {
t2.duration = A.Duration$(0, 0, 0, 500, 0, 0);
t3 = type$.Tween_double;
_this._circular_percent_indicator$_animation = new A._AnimatedEvaluation(A.CurvedAnimation$(C.C__Linear, t2, null), new A.Tween(0, t1, t3), t3._eval$1("_AnimatedEvaluation<Animatable.T>"));
_this._circular_percent_indicator$_animationController.forward$1$from(0, 0);
} else
_this._circular_percent_indicator$_updateProgress$0();
}
},
_circular_percent_indicator$_updateProgress$0() {
this.setState$1(new B._CircularPercentIndicatorState__updateProgress_closure(this));
},
build$1(context) {
var items, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null;
_this.super$AutomaticKeepAliveClientMixin$build(context);
items = J.JSArray_JSArray$growable(0, type$.Widget);
t1 = _this._widget;
t2 = _this._diameter;
t3 = _this._circular_percent_indicator$_percent;
t4 = t1.__CircularPercentIndicator__progressColor_A;
t4 === $ && A.throwUnnamedLateFieldNI();
t5 = t1.backgroundColor;
t6 = t1.radius;
t1 = t1.lineWidth;
t7 = $.$get$_renderer();
t8 = t7.createPaint$0();
t9 = t7.createPaint$0();
t7 = t7.createPaint$0();
t8.set$color(0, t5);
t8.set$style(0, C.PaintingStyle_1);
t8.set$strokeWidth(t1);
t8.set$strokeCap(B.CircularStrokeCapExtension_get_strokeCap(D.CircularStrokeCap_0));
t9.set$color(0, t4);
t9.set$style(0, C.PaintingStyle_1);
t9.set$strokeWidth(t1);
t9.set$strokeCap(B.CircularStrokeCapExtension_get_strokeCap(D.CircularStrokeCap_0));
_this._widget.toString;
t10 = A.SizedBox$expand(_null);
t1 = A._setArrayType([A.CustomPaint$(t10, _null, _null, new B._CirclePainter(t8, t9, t7, t1, t1, t3 * 360, t6 - t1 / 2, t4, t5, D.CircularStrokeCap_0, 0, _null, _null, _null, false, _null, false, _null), C.Size_0_0)], type$.JSArray_Widget);
_this._widget.toString;
items.push(A.Container$(_null, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, t1, _null), C.Clip_0, _null, _null, _null, _null, t2, _null, _null, _null, _null, _null, t2));
_this._widget.toString;
return A.Material$(C.Duration_200000, true, _null, A.Container$(_null, A.Column$(items, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
},
get$wantKeepAlive() {
this._widget.toString;
return true;
}
};
B._CirclePainter.prototype = {
paint$2(canvas, size) {
var _this = this,
center = new A.Offset(size._dx / 2, size._dy / 2),
t1 = _this.radius;
canvas.drawCircle$3(center, t1, _this._circular_percent_indicator$_paintBackground);
canvas.drawArc$5(A.Rect$fromCircle(center, t1), (-90 + _this.startAngle) * 0.017453292519943295, _this.progress * 0.017453292519943295, false, _this._circular_percent_indicator$_paintLine);
},
shouldRepaint$1(oldDelegate) {
return true;
}
};
B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin.prototype = {
dispose$0() {
var _this = this,
t1 = _this.SingleTickerProviderStateMixin__tickerModeNotifier;
if (t1 != null)
t1.removeListener$1(0, _this.get$_updateTicker());
_this.SingleTickerProviderStateMixin__tickerModeNotifier = null;
_this.super$State$dispose();
},
activate$0() {
this.super$State$activate();
this._updateTickerModeNotifier$0();
this._updateTicker$0();
}
};
B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin.prototype = {
initState$0() {
this.super$State$initState();
this._widget.toString;
this._ensureKeepAlive$0();
},
deactivate$0() {
var t1 = this.AutomaticKeepAliveClientMixin__keepAliveHandle;
if (t1 != null) {
t1.notifyListeners$0();
t1.super$ChangeNotifier$dispose();
this.AutomaticKeepAliveClientMixin__keepAliveHandle = null;
}
this.super$State$deactivate();
}
};
B.RichTextWidget.prototype = {
build$1(context) {
var t2, t3, _this = this, _null = null,
t1 = _this.wordSearched;
if (t1.length === 0) {
t1 = _this.styleTextOrigin;
if (t1 == null)
t1 = C.TextStyle_oHY1;
return A.Text$(_this.textOrigin, _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, t1, _null, _null, _null, _null, _null);
} else {
t2 = _this.styleTextOrigin;
if (t2 == null)
t2 = C.TextStyle_oHY1;
t3 = _this.styleWordSearched;
if (t3 == null)
t3 = C.TextStyle_oHY14;
return A.RichText$(_null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, A.TextSpan$(_this._rich_text_widget$_getSpans$3(_this.textOrigin, t1, t3), _null, _null, _null, _null, _null, _null, _null, t2, _null), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0);
}
},
_rich_text_widget$_getSpans$3(text, matchWord, style) {
var startIndex, endIndex, _null = null,
spans = A._setArrayType([], type$.JSArray_TextSpan),
t1 = text.length,
t2 = matchWord.length,
spanBoundary = 0;
do {
startIndex = C.JSString_methods.indexOf$2(text.toLowerCase(), matchWord.toLowerCase(), spanBoundary);
if (startIndex === -1) {
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, C.JSString_methods.substring$1(text, spanBoundary)));
return spans;
}
if (startIndex > spanBoundary)
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, C.JSString_methods.substring$2(text, spanBoundary, startIndex)));
endIndex = startIndex + t2;
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, style, C.JSString_methods.substring$2(text, startIndex, endIndex)));
if (endIndex < t1) {
spanBoundary = endIndex;
continue;
} else
break;
} while (true);
return spans;
}
};
B.CircleLoadingWidget.prototype = {
build$1(context) {
return new A.Padding(this.padding, new A.SizedBox(24, 24, D.CircularProgressIndicator_Esr0, null), null);
}
};
B.ComposeFloatingButton.prototype = {
build$1(context) {
var t1, _null = null;
A.getBinding(_null, type$.ImagePaths).toString;
t1 = A.SvgPicture$asset("assets/images/ic_compose_web.svg", C.Alignment_0_0, _null, C.BoxFit_0, 28, _null, 28);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return new A.Align(D.AlignmentDirectional_1_1, _null, _null, new B.ScrollingFloatingButtonAnimated(this.onTap, 154, 60, t1, new A.Padding(C.EdgeInsetsDirectional_0_0_16_0, A.Text$(A.Intl__message("Compose", _null, "compose", _null, _null), _null, _null, _null, C.TextOverflow_1, _null, _null, false, _null, C.TextStyle_1Gf1, _null, _null, _null, _null, _null), _null), this.scrollController, C.Color_4278221567, false, _null), _null);
}
};
B.EmailAvatarBuilder.prototype = {
build$1(context) {
var t1 = new A.AvatarBuilder(),
t2 = this.emailSelected;
t1._avatar_builder$_text = t2.getAvatarText$0();
t1._avatar_builder$_size = 48;
t1._textStyle = D.TextStyle_1Gf7;
t1._bgColor = D.Color_4292763230;
t1._avatarColors = B.PresentationEmailExtension_get_avatarColors(t2);
return t1.build$0();
}
};
B.HyperLinkWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A.TapGestureRecognizer$(_null, _null);
t1.onTap = new B.HyperLinkWidget_build_closure(this);
return A.RichText$(_null, _null, _null, C.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(_null, _null, _null, _null, _null, t1, _null, _null, D.TextStyle_qQi, this.urlString), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0);
}
};
B.LinkBrowserWidget.prototype = {
build$1(context) {
return new B.Link(new B.LinkBrowserWidget_build_closure(this), this.uri, null);
}
};
B.ComposerView.prototype = {
build$1(context) {
var t1, _this = this, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return A.ResponsiveWidget$(new A.Obx(new B.ComposerView_build_closure(_this, context), _null), _null, _null, new B.MobileResponsiveContainerView(new B.ComposerView_build_closure0(_this), _null), _this._composer_view_web$_responsiveUtils, new B.TabletResponsiveContainerView(new B.ComposerView_build_closure1(_this), t1.find$1$1$tag(0, _null, type$.ResponsiveUtils), _null), _null);
},
_createReadReceiptPopupItems$1(context) {
var t1, t2, _this = this, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.Intl__message("Request read receipt", _null, "requestReadReceipt", _null, _null);
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t2 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(_this)).hasRequestReadReceipt;
return A._setArrayType([A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_read_receipt.svg", t1, _null, _null, t2.get$value(t2), new B.ComposerView__createReadReceiptPopupItems_closure(_this), D.EdgeInsetsDirectional_12_0_12_0, "assets/images/ic_filter_selected.svg", C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, type$.dynamic)], type$.JSArray_PopupMenuEntry_dynamic);
},
_createMoreOptionPopupItems$1(context) {
var t2, t3, t4, t5, t6, _this = this, _null = null,
_s36_ = "assets/images/ic_filter_selected.svg",
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.Intl__message("Embed code", _null, "embedCode", _null, _null);
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t3 = t3._jsWeakMap;
t4 = A._instanceType(_this)._eval$1("GetWidget.S");
t5 = t4._as(t3.get(_this)).richTextWebController.codeViewState;
t6 = type$.dynamic;
t5 = A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_style_code_view.svg", t2, C.Color_4278221567, _null, t5.get$value(t5) === C.CodeViewState_0, new B.ComposerView__createMoreOptionPopupItems_closure(_this), D.EdgeInsetsDirectional_12_0_12_0, _s36_, C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, t6);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.Intl__message("Request read receipt", _null, "requestReadReceipt", _null, _null);
A.Expando__checkType(_this);
t3 = t4._as(t3.get(_this)).hasRequestReadReceipt;
t3 = A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_read_receipt.svg", t2, C.Color_4278221567, _null, t3.get$value(t3), new B.ComposerView__createMoreOptionPopupItems_closure0(_this), D.EdgeInsetsDirectional_12_0_12_0, _s36_, C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, t6);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_save_to_draft.svg", A.Intl__message("Save as draft", _null, "saveAsDraft", _null, _null), C.Color_4278221567, _null, _null, new B.ComposerView__createMoreOptionPopupItems_closure1(_this, context), D.EdgeInsetsDirectional_12_0_12_0, _null, C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, t6);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
return A._setArrayType([t5, t3, t2, A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_delete_mailbox.svg", A.Intl__message("Delete", _null, "delete", _null, _null), _null, _null, _null, new B.ComposerView__createMoreOptionPopupItems_closure2(_this, context), D.EdgeInsetsDirectional_12_0_12_0, _null, C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, t6)], type$.JSArray_PopupMenuEntry_dynamic);
}
};
B.DraggableEmailAddress.prototype = {
get$props() {
return [this.emailAddress, this.prefix];
}
};
B._DraggableEmailAddress_Object_EquatableMixin.prototype = {};
B.EditorViewMixin.prototype = {
getEmailContentQuotedAsHtml$4$context$emailActionType$emailContent$presentationEmail(context, emailActionType, emailContent, presentationEmail) {
var headerEmailQuotedAsHtml,
headerEmailQuoted = B.EmailActionTypeExtension_getHeaderEmailQuoted(emailActionType, context, presentationEmail);
A.log("EditorViewMixin::getEmailContentQuotedAsHtml:headerEmailQuoted: " + A.S(headerEmailQuoted), C.Level_3);
headerEmailQuotedAsHtml = headerEmailQuoted != null ? A.HtmlExtension_addBlockTag(headerEmailQuoted, "cite", 'style="text-align: left;display: block;"') : "";
return "<br><div><br></div>" + headerEmailQuotedAsHtml + A.HtmlExtension_addBlockTag(emailContent, "blockquote", 'style="margin-left:8px;margin-right:8px;padding-left:12px;padding-right:12px;border-left:5px solid #eee;"');
}
};
B.DesktopResponsiveContainerView.prototype = {
build$1(context) {
var t2, _this = this, _null = null,
t1 = _this.displayMode;
if (t1 === C.ScreenDisplayMode_1) {
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return A.PositionedDirectional$(20, A.PointerInterceptor$(new B.MinimizeComposerWidget(_this.onChangeDisplayModeAction, _this.onCloseViewAction, _this.emailSubject, t1.find$1$1$tag(0, _null, type$.ImagePaths), _null)), 20, _null, _null, _null);
} else if (t1 === C.ScreenDisplayMode_2) {
t1 = type$.MediaQuery;
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data;
return A.PositionedDirectional$(20, A.Card$(true, A.Container$(_null, new A.LayoutBuilder(new B.DesktopResponsiveContainerView_build_closure(_this), _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, A.InheritedModel_inheritFrom(context, _null, t1).data.size._dy * 0.75, _null, _null, _null, _null, _null, t2.size._dx * 0.5), C.Clip_2, _null, 16, _null, C.RoundedRectangleBorder_27D6), 20, _null, _null, _null);
} else if (t1 === D.ScreenDisplayMode_0) {
t1 = type$.MediaQuery;
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data;
return A.Scaffold$(_null, C.Color_1627389952, A.Center$(A.Card$(true, A.Container$(_null, new A.LayoutBuilder(new B.DesktopResponsiveContainerView_build_closure0(_this), _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, A.InheritedModel_inheritFrom(context, _null, t1).data.size._dy * 0.9, _null, _null, _null, _null, _null, t2.size._dx * 0.85), C.Clip_2, _null, 16, _null, C.RoundedRectangleBorder_27D6), _null, _null), _null, _null, true, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
}
};
B.MobileResponsiveContainerView.prototype = {
build$1(context) {
var _null = null;
return A.Scaffold$(_null, C.Color_4294967295, new A.LayoutBuilder(new B.MobileResponsiveContainerView_build_closure(this), _null), _null, _null, true, _null, _null, _null);
}
};
B.TabletResponsiveContainerView.prototype = {
build$1(context) {
var _null = null,
t1 = this._tablet_responsive_container_view$_responsiveUtils,
t2 = B.TabletResponsiveContainerViewStyle_getMargin(context, t1);
return A.Scaffold$(_null, C.Color_1627389952, A.Center$(A.Card$(true, A.Container$(_null, new A.LayoutBuilder(new B.TabletResponsiveContainerView_build_closure(this), _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, B.TabletResponsiveContainerViewStyle_getWidth(context, t1)), C.Clip_2, _null, 16, t2, C.RoundedRectangleBorder_27D6), _null, _null), _null, _null, true, _null, _null, _null);
}
};
B.WebEditorView.prototype = {
build$1(context) {
var t2, _this = this,
_s19_ = "<br><div><br></div>",
t1 = _this.$arguments;
if (t1 == null)
return C.SizedBox_0_0_null_null;
switch (t1.emailActionType.index) {
case 3:
case 13:
case 12:
t1 = _this.currentWebContent;
if (t1 == null)
t1 = _s19_;
t2 = A.Directionality_maybeOf(context);
if (t2 == null)
t2 = C.TextDirection_1;
return B.WebEditorWidget$(t1, t2, _this.editorController, _this.height, _this.onChangeContent, _this.onEditorSettings, _this.onEditorTextSizeChanged, _this.onFocus, _this.onImageUploadFailureAction, _this.onImageUploadSuccessAction, _this.onInitial, _this.onMouseDown, _this.onUnFocus, _this.width);
case 9:
case 10:
case 11:
case 15:
t1 = _this.contentViewState;
if (t1 == null)
return C.SizedBox_0_0_null_null;
return t1.fold$2(0, new B.WebEditorView_build_closure(_this, context), new B.WebEditorView_build_closure0(_this, context));
case 0:
case 2:
case 1:
t1 = _this.contentViewState;
if (t1 == null)
return C.SizedBox_0_0_null_null;
return t1.fold$2(0, new B.WebEditorView_build_closure1(_this, context), new B.WebEditorView_build_closure2(_this, context));
default:
t1 = _this.currentWebContent;
if (t1 == null)
t1 = _s19_;
t2 = A.Directionality_maybeOf(context);
if (t2 == null)
t2 = C.TextDirection_1;
return B.WebEditorWidget$(t1, t2, _this.editorController, _this.height, _this.onChangeContent, _this.onEditorSettings, _this.onEditorTextSizeChanged, _this.onFocus, _this.onImageUploadFailureAction, _this.onImageUploadSuccessAction, _this.onInitial, _this.onMouseDown, _this.onUnFocus, _this.width);
}
}
};
B._WebEditorView_StatelessWidget_EditorViewMixin.prototype = {};
B.AttachmentHeaderComposerWidget.prototype = {
build$1(context) {
var t3, t4, _this = this, _null = null,
t1 = _this.isCollapsed,
t2 = t1 ? _null : D.BoxDecoration_rfJ;
t1 = t1 ? "assets/images/ic_arrow_right.svg" : "assets/images/ic_arrow_bottom.svg";
t1 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_4294967295, 20, t1, D.Color_4287405231, 20, _null, _null, 1 / 0, _null, new B.AttachmentHeaderComposerWidget_build_closure(_this), C.EdgeInsets_0_0_0_0, _null);
t3 = _this.listFileUploaded;
t4 = J.get$length$asx(t3.get$value(t3));
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.InkWell$(false, _null, true, A.Container$(_null, A.Row$(A._setArrayType([t1, C.SizedBox_4_null_null_null, A.Text$("" + t4 + " " + A.Intl__message("Attachments", _null, "attachments", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_cw10, _null, _null, _null, _null, _null), C.SizedBox_8_null_null_null, A.Container$(_null, A.Text$(A.filesize(B.ListUploadFileStateExtension_get_totalSize(t3), 0), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_1Gf10, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, D.BoxDecoration_sQ5, _null, _null, _null, _null, D.EdgeInsetsDirectional_5_2_5_2, _null, _null, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, t2, _null, _null, _null, _null, C.EdgeInsetsDirectional_8_8_8_8, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.AttachmentHeaderComposerWidget_build_closure0(_this), _null, _null, _null, _null, _null, _null, _null);
}
};
B.AttachmentItemComposerWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A.Border_Border$all(C.Color_4293258483, 1),
t2 = this.fileState,
t3 = type$.JSArray_Widget;
return A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Column$(A._setArrayType([A.Row$(A._setArrayType([A.SvgPicture$asset(t2.getIcon$1(this._attachment_item_composer_widget$_imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20), C.SizedBox_8_null_null_null, A.Expanded$(A.ExtendedText$(t2.get$fileName(), 1, _null, D.TextOverflowWidget_NIY, _null, D.TextStyle_oHY27), 1), C.SizedBox_8_null_null_null, A.Text$(A.filesize(t2.get$fileSize(), 2), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_cw11, _null, _null, _null, _null, _null)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), new B.AttachmentProgressLoadingComposerWidget(t2, D.EdgeInsetsDirectional_0_8_0_0, _null)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), 1), C.SizedBox_8_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 10, "assets/images/ic_cancel.svg", D.Color_4289638080, 18, _null, _null, 1 / 0, _null, new B.AttachmentItemComposerWidget_build_closure(this), D.EdgeInsetsDirectional_3_3_3_3, _null)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294967295, _null, t1, C.BorderRadius_tLn0, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, C.EdgeInsetsDirectional_8_8_8_8, _null, _null, 260);
}
};
B._AttachmentItemComposerWidget_StatelessWidget_AppLoaderMixin.prototype = {};
B.AttachmentProgressLoadingComposerWidget.prototype = {
build$1(context) {
var t1 = this.fileState;
switch (t1.uploadStatus.index) {
case 0:
return new A.Padding(this.padding, D.LinearProgressIndicator_3Hh, null);
case 1:
t1 = t1.uploadingProgress / 100;
return new A.Padding(this.padding, A.LinearPercentIndicator$(D.Color_4293128703, C.Radius_1_1, 2, C.EdgeInsets_0_0_0_0, t1 > 1 ? 1 : t1, C.Color_4278221567), null);
case 2:
case 3:
return C.SizedBox_0_0_null_null;
}
}
};
B.DraggableRecipientTagWidget.prototype = {
build$1(context) {
var t5, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = this.emailAddress,
t3 = t2.name,
t4 = t3 == null;
if ((t4 ? "" : t3).length !== 0) {
t5 = C.List_ebS[A.EmailAddressExtension__generateIndex(t2)];
t1.push(H.GradientCircleAvatarIcon$(t5, 24, A.StringExtension_get_firstLetterToUpperCase(t4 ? "" : t3), 12));
}
t1.push(new A.Padding(C.EdgeInsets_8_0_8_0, A.DefaultTextStyle$(A.Text$(A.EmailAddressExtension_asString(t2), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, C.TextOverflow_0, true, D.TextStyle_1Gf9, _null, _null, C.TextWidthBasis_0), _null));
t1.push(A.SvgPicture$asset("assets/images/ic_close.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4294967295), C.BoxFit_0, _null, _null, _null));
return A.MouseRegion$(A.Container$(_null, A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, _null, D.ShapeDecoration_MUw, _null, _null, _null, _null, D.EdgeInsets_6_3_6_3, _null, _null, _null), D.SystemMouseCursor_grab, _null, _null, _null, _null);
}
};
B.InsertImageLoadingBarWidget.prototype = {
build$1(context) {
return this.uploadInlineViewState.fold$2(0, new B.InsertImageLoadingBarWidget_build_closure(this), new B.InsertImageLoadingBarWidget_build_closure0(this));
}
};
B.RecipientComposerWidget.prototype = {
createState$0() {
$.$get$Get();
var t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B._RecipientComposerWidgetState(t1.find$1$1$tag(0, null, type$.ImagePaths), C._StateLifecycle_0);
}
};
B._RecipientComposerWidgetState.prototype = {
initState$0() {
this.super$State$initState();
this.___RecipientComposerWidgetState__currentListEmailAddress_A = this._widget.listEmailAddress;
},
didUpdateWidget$1(oldWidget) {
var t1;
this.super$State$didUpdateWidget(oldWidget);
t1 = this._widget.listEmailAddress;
if (oldWidget.listEmailAddress !== t1)
this.___RecipientComposerWidgetState__currentListEmailAddress_A = t1;
},
build$1(context) {
return new A.LayoutBuilder(new B._RecipientComposerWidgetState_build_closure(this), null);
},
get$_isCollapse() {
var t1 = this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.length > 1 && this._widget.expandMode === C.ExpandMode_0;
},
get$_collapsedListEmailAddress() {
var t1 = this.get$_isCollapse(),
t2 = this.___RecipientComposerWidgetState__currentListEmailAddress_A;
if (t1) {
t2 === $ && A.throwUnnamedLateFieldNI();
t1 = C.JSArray_methods.sublist$2(t2, 0, 1);
} else {
t2 === $ && A.throwUnnamedLateFieldNI();
t1 = t2;
}
return t1;
},
_findSuggestions$1(query) {
return this._findSuggestions$body$_RecipientComposerWidgetState(query);
},
_findSuggestions$body$_RecipientComposerWidgetState(query) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.List_SuggestionEmailAddress),
$async$returnValue, $async$self = this, processedQuery, t2, tmailSuggestion, currentTextOnTextField, t1, $async$temp1, $async$temp2, $async$temp3;
var $async$_findSuggestions$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = $async$self._gapBetweenTagChangedAndFindSuggestion;
t1 = t1 == null ? null : t1._handle != null;
if (t1 === true) {
$async$returnValue = A._setArrayType([], type$.JSArray_SuggestionEmailAddress);
// goto return
$async$goto = 1;
break;
}
processedQuery = C.JSString_methods.trim$0(query);
t1 = processedQuery.length;
if (t1 === 0) {
$async$returnValue = A._setArrayType([], type$.JSArray_SuggestionEmailAddress);
// goto return
$async$goto = 1;
break;
}
t2 = type$.SuggestionEmailAddress;
tmailSuggestion = J.JSArray_JSArray$growable(0, t2);
if (t1 >= 3) {
$async$self._widget.toString;
t1 = true;
} else
t1 = false;
$async$goto = t1 ? 3 : 4;
break;
case 3:
// then
$async$temp1 = C.JSArray_methods;
$async$temp2 = tmailSuggestion;
$async$temp3 = J;
$async$goto = 5;
return A._asyncAwait($async$self._widget.onSuggestionEmailAddress.call$1(processedQuery), $async$_findSuggestions$1);
case 5:
// returning from await.
$async$temp1.addAll$1($async$temp2, $async$temp3.map$1$1$ax($async$result, new B._RecipientComposerWidgetState__findSuggestions_closure($async$self), t2));
case 4:
// join
t1 = $async$self.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
C.JSArray_methods.addAll$1(tmailSuggestion, $async$self._matchedSuggestionEmailAddress$2(processedQuery, t1));
currentTextOnTextField = $async$self._widget.controller._change_notifier$_value.text;
if (currentTextOnTextField.length === 0) {
$async$returnValue = A._setArrayType([], type$.JSArray_SuggestionEmailAddress);
// goto return
$async$goto = 1;
break;
}
t1 = A.LinkedHashSet_LinkedHashSet$from(tmailSuggestion, A._arrayInstanceType(tmailSuggestion)._precomputed1);
$async$returnValue = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("SetBase.E"));
// goto return
$async$goto = 1;
break;
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_findSuggestions$1, $async$completer);
},
_recipient_composer_widget$_isDuplicatedRecipient$1(inputEmail) {
var t1;
if (inputEmail.length === 0)
return false;
t1 = this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new B._RecipientComposerWidgetState__isDuplicatedRecipient_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>")), type$.String).contains$1(0, inputEmail);
},
_recipient_composer_widget$_toSuggestionEmailAddress$2(item, addedEmailAddresses) {
if (C.JSArray_methods.contains$1(addedEmailAddresses, item))
return new H.SuggestionEmailAddress(item, G.SuggestionEmailState_1);
else
return new H.SuggestionEmailAddress(item, G.SuggestionEmailState_0);
},
_matchedSuggestionEmailAddress$2(query, addedEmailAddress) {
var t1 = A._arrayInstanceType(addedEmailAddress);
return new A.MappedIterable(new A.WhereIterable(addedEmailAddress, new B._RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure(query), t1._eval$1("WhereIterable<1>")), new B._RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure0(), t1._eval$1("MappedIterable<1,SuggestionEmailAddress>"));
},
_handleGapBetweenTagChangedAndFindSuggestion$0() {
A.log("_RecipientComposerWidgetState::_handleGapBetweenTagChangedAndFindSuggestion:Timeout", C.Level_3);
},
_updateListEmailAddressAction$0() {
var t3,
t1 = this._widget,
t2 = t1.onUpdateListEmailAddressAction;
t1 = t1.prefix;
t3 = this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t3 === $ && A.throwUnnamedLateFieldNI();
t2.call$2(t1, t3);
},
_handleFocusTagAction$2(focused, stateSetter) {
stateSetter.call$1(new B._RecipientComposerWidgetState__handleFocusTagAction_closure(this, focused));
},
_handleDeleteLatestTagAction$1(stateSetter) {
var t1 = this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (t1.length !== 0) {
stateSetter.call$1(C.JSArray_methods.get$removeLast(t1));
this._updateListEmailAddressAction$0();
}
},
_handleDeleteTagAction$2(emailAddress, stateSetter) {
var t1 = this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (t1.length !== 0) {
stateSetter.call$1(new B._RecipientComposerWidgetState__handleDeleteTagAction_closure(this, emailAddress));
this._updateListEmailAddressAction$0();
}
},
_handleSelectOptionAction$2(suggestionEmailAddress, stateSetter) {
var t1 = suggestionEmailAddress.emailAddress.email;
if (!this._recipient_composer_widget$_isDuplicatedRecipient$1(t1 == null ? "" : t1)) {
stateSetter.call$1(new B._RecipientComposerWidgetState__handleSelectOptionAction_closure(this, suggestionEmailAddress));
this._updateListEmailAddressAction$0();
}
},
_handleSubmitTagAction$2(value, stateSetter) {
var textTrim = C.JSString_methods.trim$0(value);
if (!this._recipient_composer_widget$_isDuplicatedRecipient$1(textTrim)) {
stateSetter.call$1(new B._RecipientComposerWidgetState__handleSubmitTagAction_closure(this, textTrim));
this._updateListEmailAddressAction$0();
}
},
_handleOnTagChangeAction$2(value, stateSetter) {
var _this = this,
textTrim = C.JSString_methods.trim$0(value);
if (!_this._recipient_composer_widget$_isDuplicatedRecipient$1(textTrim)) {
stateSetter.call$1(new B._RecipientComposerWidgetState__handleOnTagChangeAction_closure(_this, textTrim));
_this._updateListEmailAddressAction$0();
}
_this._gapBetweenTagChangedAndFindSuggestion = A.Timer_Timer(C.Duration_1000000, _this.get$_handleGapBetweenTagChangedAndFindSuggestion());
},
_handleAcceptDraggableEmailAddressAction$2(draggableEmailAddress, stateSetter) {
var t1, _this = this;
A.log("_RecipientComposerWidgetState::_handleAcceptDraggableEmailAddressAction: " + draggableEmailAddress.toString$0(0), C.Level_3);
if (draggableEmailAddress.prefix !== _this._widget.prefix) {
t1 = _this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (!C.JSArray_methods.contains$1(t1, draggableEmailAddress.emailAddress)) {
stateSetter.call$1(new B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure(_this, draggableEmailAddress));
_this._updateListEmailAddressAction$0();
} else if (_this._recipient_composer_widget$_isDragging)
stateSetter.call$1(new B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure0(_this));
_this._widget.onRemoveDraggableEmailAddressAction.call$1(draggableEmailAddress);
} else if (_this._recipient_composer_widget$_isDragging)
stateSetter.call$1(new B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure1(_this));
},
_getSuggestionBoxWidth$1(maxWidth) {
if (maxWidth < 600)
return Math.min(maxWidth, 300);
else
return null;
}
};
B.RecipientSuggestionItemWidget.prototype = {
build$1(context) {
var t1, t2, t3, t4, t5, t6, t7, _this = this, _null = null;
if (_this.suggestionState === G.SuggestionEmailState_1) {
t1 = _this.emailAddress;
t2 = A.EmailAddressExtension_asString(t1);
t3 = _this.suggestionValid;
t4 = t3 == null;
t2 = B.RichTextWidget$(_null, _null, t2, t4 ? "" : t3);
t5 = t1.email;
t6 = t5 == null;
if ((t6 ? "" : t5).length !== 0) {
if (t6)
t5 = "";
t3 = B.RichTextWidget$(C.TextStyle_chs1, C.TextStyle_oHY26, t5, t4 ? "" : t3);
} else
t3 = _null;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, F.ListTile$(C.EdgeInsets_8_0_8_0, new A.AvatarSuggestionItemWidget(t1, _null), _null, t3, t2, A.SvgPicture$asset("assets/images/ic_filter_selected.svg", C.Alignment_0_0, _null, C.BoxFit_0, 24, _null, 24)), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4), C.Clip_0, _null, _null, D.BoxDecoration_O1S, _null, _null, _null, C.EdgeInsets_8_8_8_8, _null, _null, _null, _null);
} else {
t1 = _this.highlight ? C.Color_4294112245 : C.Color_4294967295;
t2 = _this.emailAddress;
t3 = A.EmailAddressExtension_asString(t2);
t4 = _this.suggestionValid;
t5 = t4 == null;
t3 = B.RichTextWidget$(_null, _null, t3, t5 ? "" : t4);
t6 = t2.email;
t7 = t6 == null;
if ((t7 ? "" : t6).length !== 0) {
if (t7)
t6 = "";
t4 = B.RichTextWidget$(C.TextStyle_chs1, C.TextStyle_oHY26, t6, t5 ? "" : t4);
} else
t4 = _null;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, F.ListTile$(C.EdgeInsets_16_0_16_0, new A.AvatarSuggestionItemWidget(t2, _null), new B.RecipientSuggestionItemWidget_build_closure(_this), t4, t3, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4), C.Clip_0, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
}
};
B.RecipientTagItemWidget.prototype = {
build$1(context) {
var t9, t10, t11, t12, t13, t14, _this = this, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = _this.isCollapsed,
t3 = t2 ? 40 : 0,
t4 = _this.currentEmailAddress,
t5 = B.DraggableRecipientTagWidget$(t4),
t6 = B.DraggableRecipientTagWidget$(t4),
t7 = A.EmailAddressExtension_asString(t4),
t8 = A.RegExp_RegExp("[\\u0591-\\u07FF\\uFB1D-\\uFDFD\\uFE70-\\uFEFC]", true, false, false);
t7 = t8._nativeRegExp.test(t7) ? 0 : 2;
t8 = A.Text$(A.EmailAddressExtension_asString(t4), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, _null, _null, _null, _null, _null, _null);
t9 = A.SvgPicture$asset("assets/images/ic_close.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
t10 = _this._getTagBackgroundColor$0();
t11 = _this._getTagBorderSide$0();
t12 = t4.name;
t13 = t12 == null;
if ((t13 ? "" : t12).length !== 0) {
t14 = C.List_ebS[A.EmailAddressExtension__generateIndex(t4)];
t12 = H.GradientCircleAvatarIcon$(t14, 24, A.StringExtension_get_firstLetterToUpperCase(t13 ? "" : t12), 12);
} else
t12 = _null;
t1.push(new A.Padding(new A.EdgeInsetsDirectional(0, 8, t3, 0), A.InkWell$(false, _null, true, B.Draggable$(A.MouseRegion$(F.Chip$(t12, t10, t9, t8, new A.EdgeInsetsDirectional(4, t7, 4, t7), C.TextStyle_oHY9, _null, new B.RecipientTagItemWidget_build_closure(_this), _null, new A.RoundedRectangleBorder(C.BorderRadius_tLn7, t11)), D.SystemMouseCursor_grab, _null, _null, _null, _null), t6, new B.DraggableEmailAddress(t4, _this.prefix), B.drag_target__childDragAnchorStrategy$closure(), t5, _null, _null, _null, type$.DraggableEmailAddress), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.RecipientTagItemWidget_build_closure0(_this), _null, _null, _null, _null, _null, _null, _null), _null));
if (t2)
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromText(D.Color_342718597, 10, D.EdgeInsetsDirectional_0_8_0_0, new B.RecipientTagItemWidget_build_closure1(_this), D.EdgeInsetsDirectional_8_5_8_5, "+" + (_this.currentListEmailAddress.length - _this.collapsedListEmailAddress.length), _null, C.TextStyle_oHY9, _null));
return new A.Stack(C.AlignmentDirectional_1_0, _null, C.StackFit_0, C.Clip_1, t1, _null);
},
_getTagBackgroundColor$0() {
var t1, t2;
if (this.isLatestTagFocused && this.isLatestEmail)
return E.Color_4292865791;
else {
t1 = this.currentEmailAddress.email;
if (t1 == null)
t1 = "";
t2 = A.RegExp_RegExp(string$.______, true, false, false);
t1 = t2._nativeRegExp.test(t1);
if (t1)
return D.Color_342718597;
else
return C.Color_4294967295;
}
},
_getTagBorderSide$0() {
var t1, t2;
if (this.isLatestTagFocused && this.isLatestEmail)
return C.BorderSide_PLF1;
else {
t1 = this.currentEmailAddress.email;
if (t1 == null)
t1 = "";
t2 = A.RegExp_RegExp(string$.______, true, false, false);
t1 = t2._nativeRegExp.test(t1);
if (t1)
return C.BorderSide_8xm;
else
return D.BorderSide_7Lk;
}
}
};
B.SubjectComposerWidget.prototype = {
build$1(context) {
var t1, t2, _this = this, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.Text$(A.Intl__message("Subject", _null, "subject_email", _null, _null) + ":", _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_cw1, _null, _null, _null, _null, _null);
t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? C.TextDirection_0 : C.TextDirection_1;
return A.Container$(_null, A.Row$(A._setArrayType([t1, C.SizedBox_12_null_null_null, A.Expanded$(A.TextFieldBuilder$(false, _this.textController, C.Color_4278221567, _null, _this.focusNode, _null, _null, 1, _null, _null, _null, _null, _this.onTextChange, _null, false, t2, _null, C.TextStyle_oHY0), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_rfJ, _null, _null, _null, _this.margin, _this.padding, _null, _null, _null);
}
};
B.TitleComposerWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.emailSubject;
if (!(t1.length !== 0)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = F.CapitalizeExtension_get_capitalizeFirstEach(A.Intl__message("New message", _null, "new_message", _null, _null));
}
return A.Text$(t1, _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, E.TextStyle_oHY2, C.TextAlign_2, _null, _null, _null, _null);
}
};
B.AttachmentComposerWidget.prototype = {
createState$0() {
return new B._AttachmentComposerWidgetState(C._StateLifecycle_0);
},
onToggleExpandAttachmentAction$1(arg0) {
return this.onToggleExpandAttachmentAction.call$1(arg0);
}
};
B._AttachmentComposerWidgetState.prototype = {
initState$0() {
this.super$State$initState();
this._isCollapsed = this._widget.isCollapsed;
},
build$1(context) {
var t3, _this = this, _null = null,
t1 = _this._widget.listFileUploaded,
t2 = _this._isCollapsed;
$.$get$Get();
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
t3 = A._setArrayType([new B.AttachmentHeaderComposerWidget(t1, t2, new B._AttachmentComposerWidgetState_build_closure(_this), t3.find$1$1$tag(0, _null, type$.ImagePaths), _null)], type$.JSArray_Widget);
if (!_this._isCollapsed) {
t1 = _this._widget.listFileUploaded;
t2 = t1.$ti._eval$1("MappedListIterable<ListBase.E,AttachmentItemComposerWidget>");
t3.push(A.Container$(_null, A.SingleChildScrollView$(A.Wrap$(C.WrapAlignment_0, A.List_List$of(new A.MappedListIterable(t1, new B._AttachmentComposerWidgetState_build_closure0(_this), t2), true, t2._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 8, 8), _null, _null, _null, _null, _null, C.Axis_1), C.Clip_0, _null, D.BoxConstraints_CWG, _null, _null, _null, _null, _null, C.EdgeInsetsDirectional_16_8_16_8, _null, _null, 1 / 0));
}
return A.Container$(_null, A.Column$(t3, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_0, _null, _null, D.BoxDecoration_OT9, _null, _null, _null, _null, _null, _null, _null, 1 / 0);
}
};
B.BottomBarComposerWidget.prototype = {
build$1(context) {
var t3, t4, t5, t6, t7, t8, t9, _this = this, _null = null,
t1 = _this.isFormattingOptionsEnabled,
t2 = t1 ? D.Color_4293128703 : C.Color_0;
t1 = t1 ? C.Color_4278221567 : D.Color_4289638080;
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(t2, 8, "assets/images/ic_rich_toolbar.svg", t1, 24, _null, _null, 1 / 0, _null, _this.openRichToolbarAction, C.EdgeInsetsDirectional_2_2_2_2, A.Intl__message("Formatting options", _null, "formattingOptions", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t2 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 8, "assets/images/ic_attach_file.svg", D.Color_4289638080, 20, _null, _null, 1 / 0, _null, _this.attachFileAction, D.EdgeInsetsDirectional_5_5_5_5, A.Intl__message("Attach file", _null, "attach_file", _null, _null));
t4 = _this.isCodeViewEnabled;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t5 = A.AbsorbPointer$(t4, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 8, "assets/images/ic_insert_image.svg", D.Color_4289638080, 20, _null, _null, 1 / 0, _null, _this.insertImageAction, D.EdgeInsetsDirectional_5_5_5_5, A.Intl__message("Insert image", _null, "insertImage", _null, _null)));
t6 = t4 ? C.Color_4278221567 : D.Color_4289638080;
t4 = t4 ? D.Color_4293128703 : C.Color_0;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t6 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(t4, 8, "assets/images/ic_style_code_view.svg", t6, 20, _null, _null, 1 / 0, _null, _this.showCodeViewAction, D.EdgeInsetsDirectional_5_5_5_5, A.Intl__message("Embed code", _null, "embedCode", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 8, "assets/images/ic_delete_mailbox.svg", _null, 20, _null, _null, 1 / 0, _null, _this.deleteComposerAction, D.EdgeInsetsDirectional_5_5_5_5, A.Intl__message("Delete", _null, "delete", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t7 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 8, "assets/images/ic_read_receipt.svg", _null, 20, _null, _null, 1 / 0, _this.requestReadReceiptAction, _null, D.EdgeInsetsDirectional_5_5_5_5, A.Intl__message("Request read receipt", _null, "requestReadReceipt", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t8 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 8, "assets/images/ic_save_to_draft.svg", _null, 20, _null, _null, 1 / 0, _null, _this.saveToDraftAction, D.EdgeInsetsDirectional_5_5_5_5, A.Intl__message("Save as draft", _null, "saveAsDraft", _null, _null));
t9 = _this.isSending;
if (t9) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t3 = A.Intl__message("Sending", _null, "sending", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t3 = A.Intl__message("Send", _null, "send", _null, _null);
}
return A.Container$(_null, A.Row$(A._setArrayType([t1, C.SizedBox_10_null_null_null, t2, C.SizedBox_10_null_null_null, t5, C.SizedBox_10_null_null_null, t6, C.Spacer_null, t4, C.SizedBox_10_null_null_null, t7, C.SizedBox_10_null_null_null, t8, C.SizedBox_12_null_null_null, A.TMailButtonWidget$(C.Color_4278221567, _null, 8, _null, false, "assets/images/ic_send.svg", C.TextDirection_0, _null, 20, 5, t9, _null, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _this.sendMessageAction, D.EdgeInsetsDirectional_24_8_24_8, t3, _null, D.TextStyle_1Gf2, _null, _null, _null, _null, false, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, D.EdgeInsetsDirectional_32_12_32_12, _null, _null, _null);
}
};
B.DesktopAppBarComposerWidget.prototype = {
build$1(context) {
var t4, t5, _this = this, _null = null,
_s12_ = "Save & close",
_s12_0 = "saveAndClose",
_s27_ = "assets/images/ic_cancel.svg",
t1 = type$.JSArray_Widget,
t2 = A._setArrayType([A.Center$(A.Container$(_null, new B.TitleComposerWidget(_this.emailSubject, _null), C.Clip_0, _null, new A.BoxConstraints(0, _this.constraints.maxWidth / 2, 0, 1 / 0), _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null)], t1),
t3 = type$.AppLocalizations;
if (_this.onChangeDisplayModeAction != null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_minimize.svg", C.Color_4278190080, 20, _null, _null, 1 / 0, _null, new B.DesktopAppBarComposerWidget_build_closure(_this), D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Minimize", _null, "minimize", _null, _null));
t5 = _this.displayMode === D.ScreenDisplayMode_0 ? "assets/images/ic_fullscreen_exit.svg" : "assets/images/ic_fullscreen.svg";
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t5 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t5, C.Color_4278190080, 20, _null, _null, 1 / 0, _null, new B.DesktopAppBarComposerWidget_build_closure0(_this), D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Fullscreen", _null, "fullscreen", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t2.push(new A.Align(C.AlignmentDirectional_1_0, _null, _null, A.Row$(A._setArrayType([t4, C.SizedBox_8_null_null_null, t5, C.SizedBox_8_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _s27_, C.Color_4278190080, 20, _null, _null, 1 / 0, _null, _this.onCloseViewAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message(_s12_, _null, _s12_0, _null, _null))], t1), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null));
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t2.push(new A.Align(C.AlignmentDirectional_1_0, _null, _null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _s27_, C.Color_4278190080, 20, _null, _null, 1 / 0, _null, _this.onCloseViewAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message(_s12_, _null, _s12_0, _null, _null)), _null));
}
return A.Container$(_null, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, t2, _null), C.Clip_0, C.Color_4294243572, _null, _null, _null, 52, _null, _null, C.EdgeInsetsDirectional_24_0_24_0, _null, _null, _null);
}
};
B.DropZoneWidget.prototype = {
createState$0() {
$.$get$Get();
var t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B._DropZoneWidgetState(t1.find$1$1$tag(0, null, type$.ImagePaths), C._StateLifecycle_0);
}
};
B._DropZoneWidgetState.prototype = {
build$1(context) {
var _this = this;
return A.DragTarget$(new B._DropZoneWidgetState_build_closure(_this), _this._widget.addAttachmentFromDropZone, new B._DropZoneWidgetState_build_closure0(_this), new B._DropZoneWidgetState_build_closure1(_this), type$.Attachment);
}
};
B.MinimizeComposerWidget.prototype = {
build$1(context) {
var t3, t4, _this = this, _null = null,
t1 = A.Center$(new A.ConstrainedBox(D.BoxConstraints_EcO0, new B.TitleComposerWidget(_this.emailSubject, _null), _null), _null, _null),
t2 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_cancel.svg", C.Color_4278190080, 20, _null, _null, 1 / 0, _null, _this.onCloseViewAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Save & close", _null, "saveAndClose", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_fullscreen.svg", C.Color_4278190080, 20, _null, _null, 1 / 0, _null, new B.MinimizeComposerWidget_build_closure(_this), D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Fullscreen", _null, "fullscreen", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t2 = type$.JSArray_Widget;
return A.Card$(true, A.Container$(_null, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([t1, new A.Align(C.AlignmentDirectional_m1_0, _null, _null, A.Row$(A._setArrayType([t3, C.SizedBox_8_null_null_null, t4, C.SizedBox_8_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_chevron_up.svg", C.Color_4278190080, 20, _null, _null, 1 / 0, _null, new B.MinimizeComposerWidget_build_closure0(_this), D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Show", _null, "show", _null, _null))], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null)], t2), _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, 50, _null, _null, C.EdgeInsetsDirectional_24_0_24_0, _null, _null, 500), C.Clip_2, _null, 16, _null, D.RoundedRectangleBorder_27D7);
}
};
B.MobileResponsiveAppBarComposerWidget.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, _this = this, _null = null,
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_cancel.svg", D.Color_4287405231, 24, _null, _null, 1 / 0, _null, _this.onCloseViewAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Save & close", _null, "saveAndClose", _null, _null));
t3 = _this.isFormattingOptionsEnabled;
t4 = t3 ? D.Color_4293128703 : C.Color_0;
t3 = t3 ? C.Color_4278221567 : D.Color_4287405231;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(t4, 8, "assets/images/ic_rich_toolbar.svg", t3, 28, _null, _null, 1 / 0, _null, _this.openRichToolbarAction, C.EdgeInsetsDirectional_2_2_2_2, A.Intl__message("Formatting options", _null, "formattingOptions", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 8, "assets/images/ic_attach_file.svg", D.Color_4287405231, 24, _null, _null, 1 / 0, _null, _this.attachFileAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Attach file", _null, "attach_file", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t5 = A.AbsorbPointer$(_this.isCodeViewEnabled, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 8, "assets/images/ic_insert_image.svg", D.Color_4287405231, 24, _null, _null, 1 / 0, _null, _this.insertImageAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Insert image", _null, "insertImage", _null, _null)));
t6 = _this.isSendButtonEnabled ? "assets/images/ic_send_mobile.svg" : "assets/images/ic_send_disable.svg";
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t6 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t6, _null, 28, _null, _null, 1 / 0, _null, _this.sendMessageAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Send", _null, "send", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
return A.Container$(_null, A.Row$(A._setArrayType([t2, C.Spacer_null, t3, C.SizedBox_12_null_null_null, t4, C.SizedBox_12_null_null_null, t5, C.SizedBox_12_null_null_null, t6, C.SizedBox_12_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 8, "assets/images/ic_more.svg", D.Color_4287405231, 24, _null, _null, 1 / 0, _this.openContextMenuAction, _null, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("More", _null, "more", _null, _null))], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294243572, _null, _null, _null, 56, _null, _null, D.EdgeInsetsDirectional_12_0_12_0, _null, _null, _null);
}
};
B.WebEditorWidget.prototype = {
createState$0() {
return new B._WebEditorState(C._StateLifecycle_0);
}
};
B._WebEditorState.prototype = {
initState$0() {
var t1, t2, _this = this;
_this.super$State$initState();
t1 = _this._widget;
_this.___WebEditorState__editorController_A = t1.editorController;
t2 = t1.height - 50;
_this.dropZoneHeight = t2;
t1 = t1.width - 90;
_this.dropZoneWidth = t1;
A.log("_WebEditorState::initState:dropZoneWidth: " + A.S(t1) + " | dropZoneHeight: " + A.S(t2), C.Level_3);
},
didUpdateWidget$1(oldWidget) {
var t2, _this = this,
t1 = oldWidget.direction;
A.log("_EmailEditorState::didUpdateWidget():Old: " + t1.toString$0(0) + " | current: " + _this._widget.direction.toString$0(0), C.Level_3);
t2 = _this._widget.direction;
if (t1 !== t2) {
t1 = _this.___WebEditorState__editorController_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t1._evaluateJavascriptWeb$1$data(A.LinkedHashMap_LinkedHashMap$_literal(["type", "toIframe: updateBodyDirection", "direction", t2._core$_name], type$.String, type$.nullable_Object));
}
_this.super$State$didUpdateWidget(oldWidget);
},
build$1(context) {
var t2, t3, t4, t5, t6, t7, _this = this,
t1 = _this.___WebEditorState__editorController_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t2 = _this._widget;
t3 = t2.content;
t3 = A.HtmlEditorOptions$(A.HtmlUtils_customCssStyleHtmlEditor(t2.direction), false, "", t3, true);
t2 = _this.dropZoneWidth;
t4 = _this.dropZoneHeight;
t5 = _this._widget;
t6 = t5.onChangeContent;
t7 = t5.onFocus;
return A.HtmlEditor$(A.Callbacks$(t6, t5.onUnFocus, t6, t6, t5.onEditorSettings, t7, t5.onImageUploadSuccessAction, t5.onImageUploadFailureAction, new B._WebEditorState_build_closure(_this), new B._WebEditorState_build_closure0(_this, context), t5.onEditorTextSizeChanged), t1, t3, C.HtmlToolbarOptions_List_empty_ToolbarType_3, D.ValueKey_web_editor, new A.OtherOptions(550, t2, t4));
}
};
B.EmailView.prototype = {
build$1(context) {
var t3, t4, _null = null,
t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t2 = t2.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t3 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t3 = t3.get$orientation(t3) === C.Orientation_1;
} else
t3 = false;
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t4 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t4 = t4.get$orientation(t4) === C.Orientation_1;
} else
t4 = false;
t1 = A.InheritedModel_inheritFrom(context, _null, t1).data;
if (t1.size._dx >= 1200) {
t1 = A.BorderRadius$circular(20);
t1 = new A.BoxDecoration(C.Color_4294967295, _null, A.Border_Border$all(E.Color_1555612108, 1), t1, _null, _null, _null, C.BoxShape_0);
} else
t1 = D.BoxDecoration_OT90;
return new A.WillPopScope(A.Scaffold$(_null, t2, A.SafeArea$(true, A.Container$(_null, new A.Obx(new B.EmailView_build_closure(this, context), _null), C.Clip_2, _null, _null, t1, _null, _null, _null, this._getMarginEmailView$1(context), _null, _null, _null, _null), t4, C.EdgeInsets_0_0_0_0, t3, true), _null, _null, true, _null, _null, _null), new B.EmailView_build_closure0(this, context), _null);
},
_getMarginEmailView$1(context) {
var t1, t2;
if (A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.size._dx >= 1200) {
t1 = type$._LocalizationsScope;
t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? 16 : 0;
t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
return new A.EdgeInsets(t2, 16, A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? 0 : 16, 16);
} else
return C.EdgeInsets_0_16_0_16;
},
_buildEmailMessage$4$calendarEvent$context$emailAddressSender$presentationEmail(calendarEvent, context, emailAddressSender, presentationEmail) {
var t2, t3, t4, t5, t6, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = type$.JSArray_Widget;
t4 = A._setArrayType([new B.EmailSubjectWidget(presentationEmail, _null), new B.InformationSenderAndReceiverBuilder(t2._as(t1.get(_this)), presentationEmail, _null), new A.Obx(new B.EmailView__buildEmailMessage_closure(_this, context), _null), new A.Obx(new B.EmailView__buildEmailMessage_closure0(_this), _null)], t3);
if (calendarEvent != null) {
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).eventActions;
A.Expando__checkType(_this);
t6 = t2._as(t1.get(_this)).get$openNewComposerAction();
A.Expando__checkType(_this);
t3 = A._setArrayType([new B.CalendarEventInformationWidget(calendarEvent, t5, t2._as(t1.get(_this)).get$openNewTabAction(), t6, _null)], t3);
t5 = emailAddressSender == null;
if (B.CalendarEventExtension_getTitleEventAction(calendarEvent, context, t5 ? A._setArrayType([], type$.JSArray_String) : emailAddressSender).length !== 0)
t3.push(new B.CalendarEventActionBannerWidget(calendarEvent, t5 ? A._setArrayType([], type$.JSArray_String) : emailAddressSender, _null));
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).eventActions;
A.Expando__checkType(_this);
t6 = t2._as(t1.get(_this)).get$openNewComposerAction();
A.Expando__checkType(_this);
t3.push(new B.CalendarEventDetailWidget(calendarEvent, t5, t2._as(t1.get(_this)).get$openNewTabAction(), t6, _null));
t4.push(A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1));
} else {
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).mailboxDashBoardController.selectedEmail;
t1 = t1.get$value(t1);
t1 = t1 == null ? _null : t1.id;
if (J.$eq$(presentationEmail.id, t1))
t4.push(new A.Obx(new B.EmailView__buildEmailMessage_closure1(_this), _null));
}
return A.Column$(t4, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
_buildEmailMessage$2$context$presentationEmail(context, presentationEmail) {
return this._buildEmailMessage$4$calendarEvent$context$emailAddressSender$presentationEmail(null, context, null, presentationEmail);
},
_markAsEmailUnreadAction$2(context, email) {
var t2, t3, t4, t5, _null = null,
t1 = A.SvgPicture$asset("assets/images/ic_unread_email.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 24, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2 = A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
t3 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600) {
t4 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 16 : 12;
t4 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = new A.EdgeInsets(t5, 0, A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 12 : 16, 0);
t4 = t5;
} else {
t4 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 12 : 0;
t4 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = new A.EdgeInsets(t5, 0, A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 0 : 12, 0);
t4 = t5;
}
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600) {
t3 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
A.Bidi_isRtlLanguage(t5.get$languageCode(t5));
t3 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
A.Bidi_isRtlLanguage(t3.get$languageCode(t3));
}
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t4, D.ValueKey_mark_as_unread_action, t1, t2);
t1.onCupertinoActionSheetActionClick = new B.EmailView__markAsEmailUnreadAction_closure(this, context);
return t1.build$0();
},
_markAsEmailSpamOrUnSpamAction$2(context, email) {
var currentMailbox, t2, t3, t4, t5, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
currentMailbox = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).getMailboxContain$1(email);
t1 = currentMailbox == null;
t2 = (t1 ? _null : J.$eq$(currentMailbox.role, $.$get$PresentationMailbox_roleSpam())) === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
t2 = A.SvgPicture$asset(t2, C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 24, _null, 24);
t1 = t1 ? _null : J.$eq$(currentMailbox.role, $.$get$PresentationMailbox_roleSpam());
t3 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
t3 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600) {
t4 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 16 : 12;
t4 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = new A.EdgeInsets(t5, 0, A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 12 : 16, 0);
t4 = t5;
} else {
t4 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 12 : 0;
t4 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = new A.EdgeInsets(t5, 0, A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 0 : 12, 0);
t4 = t5;
}
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600) {
t3 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
A.Bidi_isRtlLanguage(t5.get$languageCode(t5));
t3 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
A.Bidi_isRtlLanguage(t3.get$languageCode(t3));
}
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t4, D.ValueKey_mark_as_spam_or_un_spam_action, t2, t1);
t1.onCupertinoActionSheetActionClick = new B.EmailView__markAsEmailSpamOrUnSpamAction_closure(_this, context, currentMailbox);
return t1.build$0();
},
_quickCreatingRuleAction$2(context, email) {
var t2, t3, t4, t5, _null = null,
t1 = A.SvgPicture$asset("assets/images/ic_quick_creating_rule.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 24, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2 = A.Intl__message("Create a rule with this email", _null, "quickCreatingRule", _null, _null);
t3 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600) {
t4 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 16 : 12;
t4 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = new A.EdgeInsets(t5, 0, A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 12 : 16, 0);
t4 = t5;
} else {
t4 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 12 : 0;
t4 = context.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = new A.EdgeInsets(t5, 0, A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 0 : 12, 0);
t4 = t5;
}
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600) {
t3 = type$._LocalizationsScope;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
A.Bidi_isRtlLanguage(t5.get$languageCode(t5));
t3 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
A.Bidi_isRtlLanguage(t3.get$languageCode(t3));
}
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t4, D.ValueKey_quick_creating_rule_action, t1, t2);
t1.onCupertinoActionSheetActionClick = new B.EmailView__quickCreatingRuleAction_closure(this, context);
return t1.build$0();
},
_markAsEmailUnreadPopupItemAction$2(context, email) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_unread_email.svg", A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null), C.Color_4278221567, _null, _null, new B.EmailView__markAsEmailUnreadPopupItemAction_closure(this, context, email), C.EdgeInsetsDirectional_12_0_0_0, _null, C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
_markAsEmailSpamOrUnSpamPopupItemAction$3(context, email, mailboxContain) {
var t3, _null = null,
t1 = mailboxContain == null,
t2 = (t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam())) === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
t1 = t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam());
t3 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
return A.PopupMenuItem$(A.PopupItemWidget$(t2, t1, C.Color_4278221567, _null, _null, new B.EmailView__markAsEmailSpamOrUnSpamPopupItemAction_closure(this, context, email, mailboxContain), C.EdgeInsetsDirectional_12_0_0_0, _null, C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
_quickCreatingRulePopupItemAction$2(context, email) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_quick_creating_rule.svg", A.Intl__message("Create a rule with this email", _null, "quickCreatingRule", _null, _null), C.Color_4278221567, _null, _null, new B.EmailView__quickCreatingRulePopupItemAction_closure(this, context, email), C.EdgeInsetsDirectional_12_0_0_0, _null, C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
}
};
B.AttachmentItemWidget.prototype = {
build$1(context) {
var t5, _this = this, _null = null,
t1 = A.Border_Border$all(C.Color_520093696, 1),
t2 = _this.attachment,
t3 = A.SvgPicture$asset(A.AttachmentExtension_getIcon(t2, _this._attachment_item_widget$_imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20),
t4 = t2.name;
if (t4 == null)
t4 = "";
t4 = A.ExtendedText$(t4, 1, C.TextOverflow_1, A.TextOverflowWidget$(C.Text_ibu, A.Directionality_maybeOf(context) === C.TextDirection_0 ? C.TextOverflowPosition_0 : C.TextOverflowPosition_2), false, C.TextStyle_oHY7);
t2 = t2.size;
t5 = type$.JSArray_Widget;
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.Container$(_null, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([A.Positioned$fill(0, A.Row$(A._setArrayType([t3, C.SizedBox_8_null_null_null, A.Expanded$(A.Row$(A._setArrayType([new A.SizedBox(130, _null, t4, _null), A.Text$(A.filesize(t2 == null ? _null : t2.value, 2), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, C.TextStyle_chs5, _null, _null, _null, _null, _null)], t5), C.CrossAxisAlignment_2, C.MainAxisAlignment_3, C.MainAxisSize_1, _null), 1), A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.SvgPicture$asset("assets/images/ic_download_attachment.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 20, _null, 20), C.CircleBorder_Umb, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.AttachmentItemWidget_build_closure(_this), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0)], t5), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null))], t5), _null), C.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, t1, C.BorderRadius_tLn0, _null, _null, _null, C.BoxShape_0), _null, 36, _null, _null, C.EdgeInsetsDirectional_8_8_8_8, _null, _null, 260), C.RoundedRectangleBorder_27D2, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.AttachmentItemWidget_build_closure0(_this), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
}
};
B.AttendeeWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A._setArrayType([], type$.JSArray_InlineSpan),
t2 = this.attendee,
t3 = t2.name;
if ((t3 == null ? _null : t3.name.length !== 0) === true)
t1.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, t3.name));
t3 = t2.mailto;
if ((t3 == null ? _null : t3.mailAddress.value.length !== 0) === true)
t1.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_U6R, " <" + t3.mailAddress.value + "> "));
if (!J.$eq$(C.JSArray_methods.get$last(this.listAttendees), t2))
t1.push(D.TextSpan_HTJ);
return A.RichText$(_null, _null, _null, C.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(t1, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY0, _null), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0);
}
};
B.CalendarDateIconWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.width,
t2 = this.calendarEvent;
return A.Container$(_null, A.Column$(A._setArrayType([A.Container$(_null, A.Text$(B.CalendarEventExtension_get_monthStartDateAsString(t2), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_1Gf6, C.TextAlign_2, _null, _null, _null, _null), C.Clip_0, C.Color_4278221567, _null, _null, _null, _null, _null, _null, D.EdgeInsetsDirectional_8_4_8_4, _null, _null, t1), new A.Padding(C.EdgeInsets_8_8_8_8, A.Text$(B.CalendarEventExtension_get_dayStartDateAsString(t2), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_oHY15, _null, _null, _null, _null, _null), _null), D.Padding_90B, new A.Padding(C.EdgeInsets_8_8_8_8, A.Text$(B.CalendarEventExtension_get_weekDayStartDateAsString(t2), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY7, _null, _null, _null, _null, _null), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_2, _null, _null, D.ShapeDecoration_5me1, _null, _null, _null, C.EdgeInsets_16_16_16_16, _null, _null, _null, t1);
}
};
B.CalendarEventActionBannerWidget.prototype = {
build$1(context) {
var t1, imagePaths, t2, t3, t4, t5, t6, t7, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
imagePaths = t1.find$1$1$tag(0, _null, type$.ImagePaths);
t1 = this.calendarEvent;
t2 = this.listEmailAddressSender;
t3 = B.CalendarEventExtension_getColorEventActionBanner(t1, t2).value;
t3 = A.Color$fromARGB(31, t3 >>> 16 & 255, t3 >>> 8 & 255, t3 & 255);
t4 = type$.JSArray_Widget;
t5 = A._setArrayType([], t4);
if (B.CalendarEventExtension_getIconEventAction(t1, imagePaths).length !== 0)
t5.push(new A.Padding(C.EdgeInsetsDirectional_0_0_8_0, A.SvgPicture$asset(B.CalendarEventExtension_getIconEventAction(t1, imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20), _null));
t6 = A.TextStyle$(_null, _null, B.CalendarEventExtension_getColorEventActionText(t1, t2), _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t7 = B.CalendarEventExtension_getUserNameEventAction(t1, context, imagePaths, t2);
t4 = A._setArrayType([A.RichText$(_null, _null, _null, C.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(A._setArrayType([A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.CalendarEventExtension_getColorEventActionText(t1, t2), _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, C.FontWeight_6_700, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), t7), A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, B.CalendarEventExtension_getTitleEventAction(t1, context, t2))], type$.JSArray_InlineSpan), _null, _null, _null, _null, _null, _null, _null, t6, _null), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0)], t4);
if (B.CalendarEventExtension_getSubTitleEventAction(t1, context).length !== 0)
t4.push(A.Text$(B.CalendarEventExtension_getSubTitleEventAction(t1, context), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh0, _null, _null, _null, _null, _null));
t5.push(A.Expanded$(A.Column$(t4, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), 1));
return A.Container$(_null, A.Row$(t5, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t3, _null, _null, C.BorderRadius_tLn2, _null, _null, _null, C.BoxShape_0), _null, _null, _null, E.EdgeInsets_16_12_16_12, C.EdgeInsets_12_12_12_12, _null, _null, _null);
}
};
B.CalendarEventActionButtonWidget.prototype = {
build$1(context) {
var t1, responsiveUtils, t2, t3, t4, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
responsiveUtils = t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t1 = this.margin;
if (t1 == null)
t1 = D.EdgeInsetsDirectional_0_16_0_0;
t2 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t2).data.size.get$shortestSide() < 600) {
t2 = A.InheritedModel_inheritFrom(context, _null, t2).data;
t2 = t2.get$orientation(t2) === C.Orientation_0;
} else
t2 = false;
t2 = t2 ? D.EdgeInsetsDirectional_0_16_0_0 : D.EdgeInsetsDirectional_100_16_16_0;
t3 = this.eventActions;
t4 = t3.$ti._eval$1("MappedListIterable<ListBase.E,TMailButtonWidget>");
return A.Container$(_null, A.Wrap$(C.WrapAlignment_0, A.List_List$of(new A.MappedListIterable(t3, new B.CalendarEventActionButtonWidget_build_closure(context, responsiveUtils), t4), true, t4._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 16, 16), C.Clip_0, _null, _null, _null, _null, _null, _null, t1, t2, _null, _null, 1 / 0);
}
};
B.CalendarEventDetailWidget.prototype = {
build$1(context) {
var _this = this, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = _this.calendarEvent,
t3 = t2.title;
if ((t3 == null ? _null : t3.length !== 0) === true) {
t3.toString;
t1.push(new B.EventTitleWidget(t3, _null));
}
t3 = t2.description;
if ((t3 == null ? _null : t3.length !== 0) === true) {
t3.toString;
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventDescriptionDetailWidget(t3, _this.onOpenNewTabAction, _this.onOpenComposerAction, _null), _null));
}
if (B.CalendarEventExtension_get_dateTimeEventAsString(t2).length !== 0)
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventTimeWidgetWidget(B.CalendarEventExtension_get_dateTimeEventAsString(t2), _null), _null));
if (B.CalendarEventExtension_get_videoConferences(t2).length !== 0)
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLinkDetailWidget(B.CalendarEventExtension_get_videoConferences(t2), _null), _null));
t3 = t2.location;
if ((t3 == null ? _null : t3.length !== 0) === true) {
t3.toString;
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLocationDetailWidget(t3, _this.onOpenNewTabAction, _this.onOpenComposerAction, _null), _null));
}
t3 = t2.participants;
if ((t3 == null ? _null : t3.length !== 0) === true && t2.organizer != null) {
t3.toString;
t2 = t2.organizer;
t2.toString;
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventAttendeeDetailWidget(t3, t2, _null), _null));
}
t2 = _this.eventActions;
if (!t2.get$isEmpty(t2))
t1.push(new B.CalendarEventActionButtonWidget(t2, _null, _null));
return A.Container$(_null, A.Column$(t1, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_2, _null, _null, D.ShapeDecoration_0, _null, _null, _null, D.EdgeInsetsDirectional_16_12_16_12, C.EdgeInsets_16_16_16_16, _null, _null, 1 / 0);
}
};
B.CalendarEventInformationWidget.prototype = {
build$1(context) {
var t1, t2, t3, t4, t5, _this = this, _null = null,
_s33_ = " has invited you in to a meeting:",
_s36_ = "invitationMessageCalendarInformation";
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t1 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t1 = t1.get$orientation(t1) === C.Orientation_0;
} else
t1 = false;
t2 = type$.AppLocalizations;
t3 = type$.JSArray_InlineSpan;
t4 = type$.JSArray_Widget;
t5 = _this.calendarEvent;
if (t1) {
t1 = A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY14, B.CalendarEventExtension_get_organizerName(t5));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t3 = A._setArrayType([A.RichText$(_null, _null, _null, C.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(A._setArrayType([t1, A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, A.Intl__message(_s33_, _null, _s36_, _null, _null))], t3), _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY0, _null), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0), C.SizedBox_null_8_null_null], t4);
t1 = t5.title;
if ((t1 == null ? _null : t1.length !== 0) === true) {
t1.toString;
t3.push(new B.EventTitleWidget(t1, _null));
}
if (B.CalendarEventExtension_get_dateTimeEventAsString(t5).length !== 0)
t3.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventTimeInformationWidget(B.CalendarEventExtension_get_dateTimeEventAsString(t5), _null), _null));
t1 = t5.location;
if ((t1 == null ? _null : t1.length !== 0) === true) {
t1.toString;
t3.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLocationInformationWidget(t1, _this.onOpenNewTabAction, _this.onOpenComposerAction, _null), _null));
}
t1 = t5.participants;
if ((t1 == null ? _null : t1.length !== 0) === true && t5.organizer != null) {
t1.toString;
t2 = t5.organizer;
t2.toString;
t3.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventAttendeeInformationWidget(t1, t2, _null), _null));
}
t1 = _this.eventActions;
if (!t1.get$isEmpty(t1))
t3.push(new B.CalendarEventActionButtonWidget(t1, D.EdgeInsetsDirectional_0_0_0_0, _null));
t1 = A.Column$(A._setArrayType([new B.CalendarDateIconWidget(t5, 1 / 0, _null), A.Container$(_null, A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_2, _null, _null, D.ShapeDecoration_5me, _null, _null, _null, _null, C.EdgeInsets_16_16_16_16, _null, _null, _null)], t4), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
} else {
t1 = A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY14, B.CalendarEventExtension_get_organizerName(t5));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t3 = A._setArrayType([A.RichText$(_null, _null, _null, C.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(A._setArrayType([t1, A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, A.Intl__message(_s33_, _null, _s36_, _null, _null))], t3), _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY0, _null), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0), C.SizedBox_null_8_null_null], t4);
t1 = t5.title;
if ((t1 == null ? _null : t1.length !== 0) === true) {
t1.toString;
t3.push(new B.EventTitleWidget(t1, _null));
}
if (B.CalendarEventExtension_get_dateTimeEventAsString(t5).length !== 0)
t3.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventTimeInformationWidget(B.CalendarEventExtension_get_dateTimeEventAsString(t5), _null), _null));
t1 = t5.location;
if ((t1 == null ? _null : t1.length !== 0) === true) {
t1.toString;
t3.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLocationInformationWidget(t1, _this.onOpenNewTabAction, _this.onOpenComposerAction, _null), _null));
}
t1 = t5.participants;
if ((t1 == null ? _null : t1.length !== 0) === true && t5.organizer != null) {
t1.toString;
t2 = t5.organizer;
t2.toString;
t3.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventAttendeeInformationWidget(t1, t2, _null), _null));
}
t1 = _this.eventActions;
if (!t1.get$isEmpty(t1))
t3.push(new B.CalendarEventActionButtonWidget(t1, D.EdgeInsetsDirectional_0_0_0_0, _null));
t1 = A.Row$(A._setArrayType([new B.CalendarDateIconWidget(t5, 100, _null), A.Expanded$(A.Container$(_null, A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_2, _null, _null, D.ShapeDecoration_5me0, _null, _null, _null, _null, C.EdgeInsets_16_16_16_16, _null, _null, _null), 1)], t4), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
return A.Container$(_null, t1, C.Clip_2, _null, _null, D.ShapeDecoration_aL3, _null, _null, _null, D.EdgeInsetsDirectional_16_12_16_12, _null, _null, _null, _null);
}
};
B.EventAttendeeDetailWidget.prototype = {
createState$0() {
return new B._EventAttendeeDetailWidgetState(C._StateLifecycle_0);
}
};
B._EventAttendeeDetailWidgetState.prototype = {
initState$0() {
var t1, attendeesWithoutOrganizer, t2, _this = this;
_this.super$State$initState();
t1 = _this._widget;
attendeesWithoutOrganizer = B.ListAttendeeExtension_withoutOrganizer(t1.attendees, t1.organizer);
_this.___EventAttendeeDetailWidgetState__attendeesDisplayed_A = attendeesWithoutOrganizer.length > 6 ? C.JSArray_methods.sublist$2(attendeesWithoutOrganizer, 0, 5) : attendeesWithoutOrganizer;
t1 = _this._widget.attendees.length;
t2 = t1 <= 6;
_this.___EventAttendeeDetailWidgetState__isShowAllAttendee_A = t2;
A.log("_EventAttendeeDetailWidgetState::initState:attendees: " + t1 + " | _isShowAllAttendee: " + t2, C.Level_3);
},
build$1(context) {
var t1, t2, t3, t4, t5, _this = this, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.Text$(A.Intl__message("Attendees", _null, "attendees", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh, _null, _null, _null, _null, _null);
t2 = type$.JSArray_Widget;
t3 = A._setArrayType([new B.OrganizerWidget(_this._widget.organizer, _null)], t2);
t4 = _this.___EventAttendeeDetailWidgetState__attendeesDisplayed_A;
t4 === $ && A.throwUnnamedLateFieldNI();
t5 = A._arrayInstanceType(t4)._eval$1("MappedListIterable<1,AttendeeWidget>");
C.JSArray_methods.addAll$1(t3, A.List_List$of(new A.MappedListIterable(t4, new B._EventAttendeeDetailWidgetState_build_closure(_this), t5), true, t5._eval$1("ListIterable.E")));
t4 = _this.___EventAttendeeDetailWidgetState__isShowAllAttendee_A;
t4 === $ && A.throwUnnamedLateFieldNI();
if (!t4)
t3.push(new A.Padding(C.EdgeInsets_0_8_0_0, new B.SeeAllAttendeesButtonWidget(new B._EventAttendeeDetailWidgetState_build_closure0(_this), _null), _null));
return A.Row$(A._setArrayType([new A.SizedBox(100, _null, t1, _null), A.Expanded$(A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t2), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventAttendeeInformationWidget.prototype = {
build$1(context) {
var t1, t2, t3, t4, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.Text$(A.Intl__message("Who", _null, "who", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh, _null, _null, _null, _null, _null);
t3 = this.organizer;
t4 = t3.mailto;
t4 = t4 == null ? _null : t4.value;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t3 = A.TextSpan$(A._setArrayType([A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_U6R, A.S(t4) + " (" + A.Intl__message("Organizer", _null, "organizer", _null, _null) + ")"), D.TextSpan_HTJ, A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, B.ListAttendeeExtension_get_mailtoAsString(B.ListAttendeeExtension_withoutOrganizer(this.attendees, t3)))], type$.JSArray_InlineSpan), _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY0, _null);
t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t4 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t4 = t4.get$orientation(t4) === C.Orientation_0;
} else
t4 = false;
t4 = t4 ? C.TextOverflow_0 : C.TextOverflow_2;
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t1 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t1 = t1.get$orientation(t1) === C.Orientation_0;
} else
t1 = false;
return A.Row$(A._setArrayType([new A.SizedBox(100, _null, t2, _null), A.Expanded$(A.RichText$(_null, _null, t1 ? _null : 2, t4, _null, _null, true, _null, t3, C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventDescriptionDetailWidget.prototype = {
build$1(context) {
var t1, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ImagePaths);
return A.Container$(_null, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([B.Linkify$(D.List_EmailLinkifier_UrlLinkifier, new B.EventDescriptionDetailWidget_build_closure(this), C.LinkifyOptions_true_true_true, C.TextStyle_oHY0, this.description), A.PositionedDirectional$(_null, A.SvgPicture$asset("assets/images/ic_format_quote.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null), 0, _null, 0, _null)], type$.JSArray_Widget), _null), C.Clip_2, _null, _null, D.BoxDecoration_rtb, _null, _null, _null, _null, C.EdgeInsetsDirectional_16_16_16_16, _null, _null, 1 / 0);
}
};
B.EventLinkDetailWidget.prototype = {
build$1(context) {
var t1, t2, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = this.listHyperLink;
t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,HyperLinkWidget>");
return A.Row$(A._setArrayType([new A.SizedBox(100, _null, A.Text$(A.Intl__message("Link", _null, "link", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh, _null, _null, _null, _null, _null), _null), A.Expanded$(A.Column$(A.List_List$of(new A.MappedListIterable(t1, new B.EventLinkDetailWidget_build_closure(), t2), true, t2._eval$1("ListIterable.E")), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventLocationDetailWidget.prototype = {
build$1(context) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Row$(A._setArrayType([new A.SizedBox(100, _null, A.Text$(A.Intl__message("Location", _null, "location", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh, _null, _null, _null, _null, _null), _null), A.Expanded$(B.Linkify$(D.List_EmailLinkifier_UrlLinkifier, new B.EventLocationDetailWidget_build_closure(this), C.LinkifyOptions_true_true_true, C.TextStyle_oHY0, this.locationEvent), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventLocationInformationWidget.prototype = {
build$1(context) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Row$(A._setArrayType([new A.SizedBox(100, _null, A.Text$(A.Intl__message("Where", _null, "where", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh, _null, _null, _null, _null, _null), _null), A.Expanded$(B.Linkify$(D.List_EmailLinkifier_UrlLinkifier, new B.EventLocationInformationWidget_build_closure(this), C.LinkifyOptions_true_true_true, C.TextStyle_oHY0, this.locationEvent), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventTimeWidgetWidget.prototype = {
build$1(context) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Row$(A._setArrayType([new A.SizedBox(100, _null, A.Text$(A.Intl__message("Time", _null, "time", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh, _null, _null, _null, _null, _null), _null), A.Expanded$(A.Text$(this.timeEvent, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY0, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventTimeInformationWidget.prototype = {
build$1(context) {
var t1, t2, t3, t4, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.Text$(A.Intl__message("When", _null, "when", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mqh, _null, _null, _null, _null, _null);
t2 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t2).data.size.get$shortestSide() < 600) {
t3 = A.InheritedModel_inheritFrom(context, _null, t2).data;
t3 = t3.get$orientation(t3) === C.Orientation_0;
} else
t3 = false;
t3 = t3 ? _null : C.TextOverflow_1;
if (A.InheritedModel_inheritFrom(context, _null, t2).data.size.get$shortestSide() < 600) {
t4 = A.InheritedModel_inheritFrom(context, _null, t2).data;
t4 = t4.get$orientation(t4) === C.Orientation_0;
} else
t4 = false;
t4 = t4 && _null;
if (A.InheritedModel_inheritFrom(context, _null, t2).data.size.get$shortestSide() < 600) {
t2 = A.InheritedModel_inheritFrom(context, _null, t2).data;
t2 = t2.get$orientation(t2) === C.Orientation_0;
} else
t2 = false;
t2 = t2 ? _null : 1;
return A.Row$(A._setArrayType([new A.SizedBox(100, _null, t1, _null), A.Expanded$(A.Text$(this.timeEvent, _null, _null, t2, t3, _null, _null, t4, _null, C.TextStyle_oHY0, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventTitleWidget.prototype = {
build$1(context) {
var _null = null;
return A.Text$(this.title, _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_oHY13, _null, _null, _null, _null, _null);
}
};
B.OrganizerWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A._setArrayType([], type$.JSArray_InlineSpan),
t2 = this.organizer,
t3 = t2.name;
if ((t3 == null ? _null : t3.length !== 0) === true) {
t3.toString;
t1.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, t3));
}
t2 = t2.mailto;
if ((t2 == null ? _null : t2.value.length !== 0) === true)
t1.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_U6R, " <" + t2.value + "> "));
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, "(" + A.Intl__message("Organizer", _null, "organizer", _null, _null) + ")"));
t1.push(D.TextSpan_HTJ);
return A.RichText$(_null, _null, _null, C.TextOverflow_0, _null, _null, true, _null, A.TextSpan$(t1, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY0, _null), C.TextAlign_4, _null, _null, 1, C.TextWidthBasis_0);
}
};
B.SeeAllAttendeesButtonWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A.Matrix4_Matrix4$translationValues(-8, 0, 0);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Transform$(_null, F.MaterialTextButton$(20, D.TextStyle_kmC4, A.Intl__message("See all attendees", _null, "seeAllAttendees", _null, _null), _null, 15, _null, _null, this.onTap, _null, D.EdgeInsetsDirectional_8_4_8_4, _null), t1, true);
}
};
B.DraggableAttachmentItemWidget.prototype = {
build$1(context) {
var t2, t3, t4, _this = this, _null = null,
t1 = _this.attachment;
$.$get$Get();
t2 = type$.ImagePaths;
t3 = $.GetInstance__getInstance;
t3 = (t3 == null ? $.GetInstance__getInstance = C.C_GetInstance : t3).find$1$1$tag(0, _null, t2);
t4 = $.GetInstance__getInstance;
return B.Draggable$(new B.AttachmentItemWidget(t1, _this.downloadAttachmentAction, (t4 == null ? $.GetInstance__getInstance = C.C_GetInstance : t4).find$1$1$tag(0, _null, t2), _null), _null, t1, B.drag_target__childDragAnchorStrategy$closure(), new B.FeedbackDraggableAttachmentItemWidget(t1, t3, _null), _this.onDragEnd, _this.onDragStarted, _null, type$.Attachment);
}
};
B.EmailActionCupertinoActionSheetActionBuilder.prototype = {
build$0() {
var _this = this, _null = null;
return A.Container$(_null, A.MouseRegion$(A.CupertinoActionSheetAction$(A.Row$(A._setArrayType([new A.Padding(_this.iconLeftPadding, _this.actionIcon, _null), A.Expanded$(A.Text$(_this.actionName, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_cMb, C.TextAlign_0, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), _this.key, new B.EmailActionCupertinoActionSheetActionBuilder_build_closure(_this)), C._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, _null, _null, _null, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.EmailAttachmentsWidget.prototype = {
build$1(context) {
var t5, t6, t7, t8, _this = this, _null = null,
t1 = new B.EmailAttachmentsWidget_build_getItemCount(_this, context),
t2 = _this.attachments,
hideItemsCount = t2.length - t1.call$0(),
t3 = A.SvgPicture$asset("assets/images/ic_attachment.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4289640386), C.BoxFit_0, 20, _null, 20),
t4 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t4).toString;
t5 = t2.length;
t6 = A.filesize(A.ListAttachmentExtension_totalSize(t2), 1);
t7 = type$.JSArray_Object;
t8 = type$.JSArray_Widget;
t6 = A._setArrayType([A.Expanded$(A.Row$(A._setArrayType([C.SizedBox_4_null_null_null, t3, C.SizedBox_4_null_null_null, A.Expanded$(A.Text$(A.Intl__message("" + t5 + " Attachments (" + t6 + "):", _null, "titleHeaderAttachment", A._setArrayType([t5, t6], t7), _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_chs3, _null, _null, _null, _null, _null), 1), C.SizedBox_4_null_null_null], t8), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), 1)], t8);
if (t2.length > 2) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t4).toString;
t6.push(A.TMailButtonWidget$(C.Color_0, _null, 8, _null, false, _null, C.TextDirection_1, _null, _null, 8, false, _null, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _this.onTapShowAllAttachmentFile, C.EdgeInsets_12_8_12_8, A.Intl__message("Show all", _null, "showAll", _null, _null), _null, C.TextStyle_yzp3, _null, _null, _null, _null, false, _null));
}
t2 = A.Row$(t6, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t3 = type$.MediaQuery;
t5 = A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600 ? 100 : 36;
t6 = A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600 ? C.Axis_1 : C.Axis_0;
t6 = A._setArrayType([new A.Flexible(1, C.FlexFit_1, A.ListView$separated(_null, new B.EmailAttachmentsWidget_build_closure(_this), t1.call$0(), C.ScrollViewKeyboardDismissBehavior_0, _null, _null, _null, false, t6, new B.EmailAttachmentsWidget_build_closure0(_this), true), _null)], t8);
if (hideItemsCount !== 0) {
t1 = A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600 ? 8 : 0;
t3 = A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600 ? E.Alignment_1_1 : C.Alignment_1_0;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t4).toString;
t6.push(A.Container$(t3, A.TMailButtonWidget$(C.Color_0, _null, 8, _null, false, _null, C.TextDirection_1, _null, _null, 8, false, _null, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _this.onTapShowAllAttachmentFile, C.EdgeInsets_12_8_12_8, A.Intl__message("+ " + A.S(hideItemsCount) + " more", _null, "moreAttachments", A._setArrayType([hideItemsCount], t7), _null), _null, D.TextStyle_0QG, _null, _null, _null, _null, false, _null), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(0, 0, 0, t1), _null, _null, _null));
}
return new A.Padding(D.EdgeInsetsDirectional_16_12_16_12, A.Column$(A._setArrayType([t2, D.SizedBox_null_6_null_null, new A.SizedBox(_null, t5, A.Row$(t6, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null)], t8), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null);
}
};
B.EmailReceiverWidget.prototype = {
createState$0() {
var t1, t2;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, null, type$.ImagePaths);
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
return new B._EmailReceiverWidgetState(t1, t2.find$1$1$tag(0, null, type$.ResponsiveUtils), C._StateLifecycle_0);
}
};
B._EmailReceiverWidgetState.prototype = {
build$1(context) {
var t1, t2, t3, _this = this, _null = null;
if (_this._isDisplayAll) {
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? 3 : 5.5;
} else
t1 = 0;
t2 = _this._widget;
t2 = A._setArrayType([A.Expanded$(new A.Padding(new A.EdgeInsets(0, t1, 0, 0), _this._buildEmailAddressOfReceiver$4(context, t2.emailSelected, _this._isDisplayAll, t2.maxWidth), _null), 1)], type$.JSArray_Widget);
if (_this._isDisplayAll) {
t1 = type$._LocalizationsScope;
t3 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t3 = A.Bidi_isRtlLanguage(t3.get$languageCode(t3)) ? 0 : 6;
t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? C.EdgeInsets_8_4_8_4 : _null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2.push(new A.Padding(new A.EdgeInsets(0, t3, 0, t3), F.MaterialTextButton$(12, _null, A.Intl__message("Hide", _null, "hide", _null, _null), _null, 15, _null, _null, new B._EmailReceiverWidgetState_build_closure(_this), _null, t1, _null), _null));
}
return A.Row$(t2, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildEmailAddressOfReceiver$4(context, presentationEmail, isDisplayFull, maxWidth) {
var t3, t4, _this = this, _null = null,
t1 = !isDisplayFull && B.PresentationEmailExtension_numberOfAllEmailAddress(presentationEmail) > 1,
t2 = type$.JSArray_Widget;
if (t1) {
t1 = _this._getMaxWidthEmailAddressDisplayed$2(context, maxWidth);
t3 = A._setArrayType([], t2);
t4 = presentationEmail.to;
if ((t4 != null ? t4._collection$_length : 0) > 0)
t3.push(_this._buildEmailAddressByPrefix$4(context, presentationEmail, C.PrefixEmailAddress_1, isDisplayFull));
t4 = presentationEmail.cc;
if ((t4 != null ? t4._collection$_length : 0) > 0)
t3.push(_this._buildEmailAddressByPrefix$4(context, presentationEmail, C.PrefixEmailAddress_2, isDisplayFull));
t4 = presentationEmail.bcc;
if ((t4 != null ? t4._collection$_length : 0) > 0)
t3.push(_this._buildEmailAddressByPrefix$4(context, presentationEmail, C.PrefixEmailAddress_3, isDisplayFull));
return A.Row$(A._setArrayType([A.Container$(_null, A.ListView$(t3, _null, _null, C.NeverScrollableScrollPhysics_null, _null, false, C.Axis_0, true), C.Clip_0, C.Color_4294967295, new A.BoxConstraints(0, t1, 0, 1 / 0), _null, _null, 40, _null, _null, _null, _null, _null, _null), A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.Container$(_null, A.SvgPicture$asset("assets/images/ic_chevron_down.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16), C.Clip_0, C.Color_0, D.BoxConstraints_0_30_0_30, _null, _null, _null, _null, _null, C.EdgeInsets_5_5_5_5, _null, _null, _null), C.CircleBorder_Umb, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._EmailReceiverWidgetState__buildEmailAddressOfReceiver_closure(_this), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, _null);
} else {
t1 = A._setArrayType([], t2);
t2 = presentationEmail.to;
if ((t2 != null ? t2._collection$_length : 0) > 0)
t1.push(_this._buildEmailAddressByPrefix$4(context, presentationEmail, C.PrefixEmailAddress_1, isDisplayFull));
t2 = presentationEmail.cc;
if ((t2 != null ? t2._collection$_length : 0) > 0)
t1.push(_this._buildEmailAddressByPrefix$4(context, presentationEmail, C.PrefixEmailAddress_2, isDisplayFull));
t2 = presentationEmail.bcc;
if ((t2 != null ? t2._collection$_length : 0) > 0)
t1.push(_this._buildEmailAddressByPrefix$4(context, presentationEmail, C.PrefixEmailAddress_3, isDisplayFull));
return A.Column$(t1, C.CrossAxisAlignment_0, C.MainAxisAlignment_2, C.MainAxisSize_1, C.VerticalDirection_1);
}
},
_buildEmailAddressByPrefix$4(context, presentationEmail, prefixEmailAddress, isDisplayFull) {
var _null = null,
t1 = A._setArrayType([A.Text$(A.S(B.PrefixEmailAddressExtension_asName(prefixEmailAddress, context)) + ":", _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_chs0, _null, _null, _null, _null, _null)], type$.JSArray_Widget);
if (!isDisplayFull && B.PresentationEmailExtension_numberOfAllEmailAddress(presentationEmail) > 1)
t1.push(this._buildListEmailAddressWidget$3(context, B.PrefixEmailAddressExtension_listEmailAddress(prefixEmailAddress, presentationEmail), isDisplayFull));
else
t1.push(A.Expanded$(this._buildListEmailAddressWidget$3(context, B.PrefixEmailAddressExtension_listEmailAddress(prefixEmailAddress, presentationEmail), isDisplayFull), 1));
return A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildListEmailAddressWidget$3(context, listEmailAddress, isDisplayFull) {
var _null = null,
t1 = A._arrayInstanceType(listEmailAddress)._eval$1("MappedListIterable<1,MaterialTextButton>"),
emailAddressWidgets = A.List_List$of(new A.MappedListIterable(listEmailAddress, new B._EmailReceiverWidgetState__buildListEmailAddressWidget_closure(this, C.JSArray_methods.get$last(listEmailAddress), context), t1), true, t1._eval$1("ListIterable.E"));
if (isDisplayFull)
return A.Wrap$(C.WrapAlignment_0, emailAddressWidgets, C.WrapCrossAlignment_0, C.WrapAlignment_0, 0, 0);
else
return A.SingleChildScrollView$(A.Row$(emailAddressWidgets, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null, _null, _null, C.NeverScrollableScrollPhysics_null, _null, C.Axis_0);
},
_getMaxWidthEmailAddressDisplayed$2(context, maxWidth) {
var t2,
t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, null, t1).data.size.get$shortestSide() < 600) {
t2 = A.InheritedModel_inheritFrom(context, null, t1).data;
t2 = t2.get$orientation(t2) === C.Orientation_0;
} else
t2 = false;
if (t2)
return maxWidth - 30;
else {
t1 = A.InheritedModel_inheritFrom(context, null, t1).data;
if (t1.size._dx >= 1200)
return maxWidth / 2;
else
return maxWidth * 3 / 4;
}
}
};
B.EmailSenderBuilder.prototype = {
build$1(context) {
var _this = this, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = _this.emailAddress,
t3 = t2.name,
t4 = t3 == null;
if ((t4 ? "" : t3).length !== 0) {
if (t4)
t3 = "";
t1.push(F.MaterialTextButton$(8, _null, t3, C.Color_4278190080, 20, C.FontWeight_6_700, new B.EmailSenderBuilder_build_closure(_this, context), new B.EmailSenderBuilder_build_closure0(_this, context), C.TextOverflow_1, C.EdgeInsets_3_3_3_3, false));
}
t2 = t2.email;
t1.push(new A.Padding(G.EdgeInsets_0_2_0_0, F.MaterialTextButton$(8, _null, "<" + (t2 == null ? "" : t2) + ">", C.Color_4286680217, 16, C.FontWeight_4_500, new B.EmailSenderBuilder_build_closure1(_this, context), new B.EmailSenderBuilder_build_closure2(_this, context), C.TextOverflow_1, C.EdgeInsets_3_3_3_3, false), _null));
return A.SingleChildScrollView$(A.Row$(t1, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null, _null, _null, C.NeverScrollableScrollPhysics_null, _null, C.Axis_0);
}
};
B.EmailSubjectWidget.prototype = {
build$1(context) {
return new A.Padding(E.EdgeInsets_16_12_16_12, A.SelectableText$(this.presentationEmail.getEmailTitle$0(), C.Color_4278221567, 2, 1, E.TextStyle_oHY4), null);
}
};
B.EmailViewAppBarWidget.prototype = {
build$1(context) {
return new A.LayoutBuilder(new B.EmailViewAppBarWidget_build_closure(this), null);
},
get$canDeletePermanently() {
var t1 = this.mailboxContain,
t2 = t1 == null;
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleTrash())) !== true)
t1 = (t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleSpam())) === true;
else
t1 = true;
return t1;
}
};
B.EmailViewBackButton.prototype = {
build$1(context) {
var t1, t2, t3, _this = this, _null = null,
_s32_ = "assets/images/ic_arrow_right.svg",
_s25_ = "assets/images/ic_back.svg";
if (!_this.isSearchActivated) {
t1 = _this.mailboxContain;
t1 = t1 == null ? _null : A.PresentationMailboxExtension_getDisplayName(t1, context);
if (t1 == null)
t1 = "";
t2 = type$._LocalizationsScope;
t3 = context.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t3 = A.Bidi_isRtlLanguage(t3.get$languageCode(t3)) ? _s32_ : _s25_;
t2 = context.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? D.EdgeInsetsDirectional_8_0_8_0 : _null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.TMailButtonWidget$(C.Color_0, _null, 20, _null, true, t3, C.TextDirection_1, C.Color_4278221567, _null, 8, false, _null, C.MainAxisSize_0, _null, 1 / 0, 1, _this.maxWidth - 270, 0, _null, _this.onBackAction, t2, t1, _null, C.TextStyle_kmC0, A.Intl__message("Back", _null, "back", _null, _null), _null, _null, _null, false, _null);
} else {
t1 = type$._LocalizationsScope;
t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? _s32_ : _s25_;
t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? D.EdgeInsetsDirectional_8_0_8_0 : _null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t2, C.Color_4278221567, _null, _null, _null, 1 / 0, _null, _this.onBackAction, t1, A.Intl__message("Back to Search Results", _null, "backToSearchResults", _null, _null));
}
}
};
B.EmailViewBottomBarWidget.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, _this = this, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget);
if (B.PresentationEmailExtension_numberOfAllEmailAddress(_this.presentationEmail) > 1) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2 = A.Intl__message("Reply all", _null, "reply_all", _null, _null);
t3 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size.get$shortestSide() < 600) {
t4 = A.InheritedModel_inheritFrom(context, _null, t3).data;
t4 = t4.get$orientation(t4) === C.Orientation_0;
} else
t4 = false;
t5 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, t4 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size.get$shortestSide() < 600) {
t3 = A.InheritedModel_inheritFrom(context, _null, t3).data;
t3 = t3.get$orientation(t3) === C.Orientation_0;
} else
t3 = false;
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, "assets/images/ic_reply_all.svg", C.TextDirection_1, _null, 15, 8, false, D.ValueKey_reply_all_emails_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.EmailViewBottomBarWidget_build_closure(_this), E.EdgeInsets_8_12_8_12, t2, C.TextAlign_2, t5, _null, _null, _null, _null, t3, _null), 1));
}
t2 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t3 = A.Intl__message("Reply", _null, "reply", _null, _null);
t4 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600) {
t5 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t5 = t5.get$orientation(t5) === C.Orientation_0;
} else
t5 = false;
t6 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, t5 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
if (A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600) {
t5 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t5 = t5.get$orientation(t5) === C.Orientation_0;
} else
t5 = false;
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, "assets/images/ic_reply.svg", C.TextDirection_1, _null, 20, 8, false, D.ValueKey_reply_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.EmailViewBottomBarWidget_build_closure0(_this), E.EdgeInsets_8_12_8_12, t3, C.TextAlign_2, t6, _null, _null, _null, _null, t5, _null), 1));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t5 = A.Intl__message("Forward", _null, "forward", _null, _null);
if (A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600) {
t3 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t3 = t3.get$orientation(t3) === C.Orientation_0;
} else
t3 = false;
t6 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, t3 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
if (A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600) {
t3 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t3 = t3.get$orientation(t3) === C.Orientation_0;
} else
t3 = false;
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, "assets/images/ic_forward.svg", C.TextDirection_1, _null, 20, 8, false, D.ValueKey_forward_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.EmailViewBottomBarWidget_build_closure1(_this), E.EdgeInsets_8_12_8_12, t5, C.TextAlign_2, t6, _null, _null, _null, _null, t3, _null), 1));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t2 = A.Intl__message("New message", _null, "new_message", _null, _null);
if (A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600) {
t3 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t3 = t3.get$orientation(t3) === C.Orientation_0;
} else
t3 = false;
t5 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, t3 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
if (A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600) {
t3 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t3 = t3.get$orientation(t3) === C.Orientation_0;
} else
t3 = false;
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, "assets/images/ic_new_message.svg", C.TextDirection_1, _null, 20, 8, false, D.ValueKey_compose_new_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.EmailViewBottomBarWidget_build_closure2(_this), E.EdgeInsets_8_12_8_12, t2, C.TextAlign_2, t5, _null, _null, _null, _null, t3, _null), 1));
return A.Container$(_null, new A.IntrinsicHeight(A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), C.Clip_0, _null, _null, D.BoxDecoration_C1r, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.EmailViewEmptyWidget.prototype = {
build$1(context) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Center$(A.Text$(A.Intl__message("No email selected", _null, "no_mail_selected", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_IMh0, C.TextAlign_2, _null, _null, _null, _null), _null, _null);
}
};
B.EmailViewLoadingBarWidget.prototype = {
build$1(context) {
return this.viewState.fold$2(0, new B.EmailViewLoadingBarWidget_build_closure(), new B.EmailViewLoadingBarWidget_build_closure0());
}
};
B.FeedbackDraggableAttachmentItemWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.attachment,
t2 = A.SvgPicture$asset(A.AttachmentExtension_getIcon(t1, this._feedback_draggable_attachment_item_widget$_imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, 24, _null, 24);
t1 = t1.name;
return A.Container$(_null, A.Row$(A._setArrayType([t2, C.SizedBox_12_null_null_null, new A.Flexible(1, C.FlexFit_1, A.DefaultTextStyle$(A.ExtendedText$(t1 == null ? "" : t1, 1, _null, D.TextOverflowWidget_NIY, _null, _null), _null, _null, C.TextOverflow_0, true, C.TextStyle_oHY0, _null, _null, C.TextWidthBasis_0), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, D.BoxConstraints_EcO3, D.ShapeDecoration_5me2, _null, _null, _null, _null, E.EdgeInsets_16_12_16_12, _null, _null, _null);
}
};
B.InformationSenderAndReceiverBuilder.prototype = {
build$1(context) {
var _null = null,
t1 = this.emailSelected,
t2 = B.PresentationEmailExtension_numberOfAllEmailAddress(t1) > 0 ? C.CrossAxisAlignment_0 : C.CrossAxisAlignment_2;
return A.Container$(_null, A.Row$(A._setArrayType([new B.EmailAvatarBuilder(t1, _null), C.SizedBox_16_null_null_null, A.Expanded$(new A.LayoutBuilder(new B.InformationSenderAndReceiverBuilder_build_closure(this), _null), 1)], type$.JSArray_Widget), t2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, E.EdgeInsets_16_12_16_12, _null, _null, _null);
}
};
B.ReceivedTimeBuilder.prototype = {
build$1(context) {
var _null = null,
t1 = this.emailSelected,
t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale._rawToString$1("-"),
t3 = t1.receivedAt;
return A.Container$(_null, A.Text$(B.PresentationEmailExtension_getReceivedAt(t1, t2, t3 == null ? _null : B.DateTimeNullableExtension_toPatternForEmailView(t3.value.toLocal$0())), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, C.TextStyle_chs, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, D.BoxConstraints_EcO1, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.BaseMailboxView.prototype = {};
B._BaseMailboxView_GetWidget_AppLoaderMixin.prototype = {};
B._BaseMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin.prototype = {};
B.MailboxView.prototype = {
build$1(context) {
var t4, t5, t6, _null = null,
t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? 0 : 16,
t3 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t3 = t3.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
t4 = A._setArrayType([], type$.JSArray_Widget);
if (!(A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200))
t4.push(this._buildLogoApp$1(context));
if (!(A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200))
t4.push(C.Divider_CZ5);
t5 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? 16 : 0;
t6 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
t1 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
t4.push(A.Expanded$(A.Container$(_null, A.Container$(_null, this._mailbox_view_web$_buildListMailbox$1(context), C.Clip_0, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), C.Clip_0, t6, _null, _null, _null, _null, _null, _null, new A.EdgeInsetsDirectional(t5, 0, 0, 0), _null, _null, _null), 1));
t4.push(D.QuotasView_null);
return F.Drawer$(A.Scaffold$(_null, t3, A.Column$(t4, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null, _null, true, _null, _null, _null), t2);
},
_buildLogoApp$1(context) {
var _null = null,
t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? 25 : 16,
t3 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? 25 : 16;
t1 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? 32 : 16;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Container$(_null, A.Row$(A._setArrayType([A.SloganBuilder$(true, _null, _null, "assets/images/ic_tmail_logo.svg", _null, _null, _null, 24, A.Intl__message("Team Mail", _null, "app_name", _null, _null), C.TextAlign_2, C.TextStyle_oHY), new A.Obx(new B.MailboxView__buildLogoApp_closure(this, context), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, new A.EdgeInsetsDirectional(t1, t2, 0, t3), _null, _null, _null);
},
_mailbox_view_web$_buildListMailbox$1(context) {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, _this = this, _null = null,
t1 = A.ScrollConfiguration_of(context).copyWith$2$dragDevices$physics(A.LinkedHashSet_LinkedHashSet$_literal([C.PointerDeviceKind_0, C.PointerDeviceKind_1, C.PointerDeviceKind_4], type$.PointerDeviceKind), D.BouncingScrollPhysics_ScrollDecelerationRate_0_null),
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t2 = t2._jsWeakMap;
t3 = A._instanceType(_this)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(_this)).get$refreshAllMailbox();
A.Expando__checkType(_this);
t5 = t3._as(t2.get(_this)).mailboxListScrollController;
t6 = type$.MediaQuery;
t7 = A.InheritedModel_inheritFrom(context, _null, t6).data.size._dx >= 1200 ? 16 : 0;
t8 = type$.JSArray_Widget;
t9 = A._setArrayType([], t8);
if (!(A.InheritedModel_inheritFrom(context, _null, t6).data.size._dx >= 1200))
t9.push(new A.Obx(new B.MailboxView__buildListMailbox_closure(_this, context), _null));
t9.push(new A.Obx(new B.MailboxView__buildListMailbox_closure0(_this), _null));
if (B.AppConfig_appGridDashboardAvailable())
t10 = !(A.InheritedModel_inheritFrom(context, _null, t6).data.size._dx >= 1200);
else
t10 = false;
if (t10) {
A.Expando__checkType(_this);
t2 = _this.buildAppGridDashboard$4(context, _this.responsiveUtils, _this.imagePaths, t3._as(t2.get(_this)));
} else
t2 = C.SizedBox_0_0_null_null;
t9.push(t2);
t9.push(C.SizedBox_null_8_null_null);
t9.push(new A.Obx(new B.MailboxView__buildListMailbox_closure1(_this, context), _null));
t9.push(C.SizedBox_null_8_null_null);
t9.push(C.Divider_4CA);
t9.push(D.SizedBox_null_13_null_null);
t2 = A.InheritedModel_inheritFrom(context, _null, t6).data.size._dx >= 1200 ? 0 : 12;
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t10 = A.Expanded$(A.Text$(A.Intl__message("Folders", _null, "folders", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY3, _null, _null, _null, _null, _null), 1);
t6 = A.InheritedModel_inheritFrom(context, _null, t6).data.size._dx >= 1200 ? 0 : 12;
t11 = A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_search_bar.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null), C.EdgeInsets_0_0_0_0, _null, 40, new B.MailboxView__buildListMailbox_closure2(_this, context), _null, _null);
t12 = A.SvgPicture$asset("assets/images/ic_add_new_folder.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t9.push(new A.Padding(new A.EdgeInsetsDirectional(t2, 0, 0, 8), A.Row$(A._setArrayType([t10, new A.Padding(new A.EdgeInsetsDirectional(0, 0, t6, 0), A.Row$(A._setArrayType([t11, A.buildIconWeb(_null, _null, t12, C.EdgeInsets_0_0_0_0, 20, 40, new B.MailboxView__buildListMailbox_closure3(_this, context), 15, A.Intl__message("New folder", _null, "newFolder", _null, _null))], t8), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null)], t8), C.CrossAxisAlignment_2, C.MainAxisAlignment_3, C.MainAxisSize_1, _null), _null));
t9.push(new A.Obx(new B.MailboxView__buildListMailbox_closure4(_this, context), _null));
t9.push(new A.Obx(new B.MailboxView__buildListMailbox_closure5(_this, context), _null));
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([A.ScrollConfiguration$(t1, A.RefreshIndicator$(A.SingleChildScrollView$(A.Column$(t9, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), t5, E.PageStorageKey_mailbox_list, new A.EdgeInsetsDirectional(0, 0, t7, 0), C.AlwaysScrollableScrollPhysics_null, _null, C.Axis_1), C.Color_4278221567, t4)), new A.Obx(new B.MailboxView__buildListMailbox_closure6(_this), _null), new A.Obx(new B.MailboxView__buildListMailbox_closure7(_this), _null)], t8), _null);
},
_mailbox_view_web$_buildBodyMailboxCategory$3(context, categories, mailboxNode) {
var t2, t3, _null = null,
t1 = mailboxNode.childrenItems,
lastNode = t1 == null ? _null : C.JSArray_methods.get$last(t1);
t1 = type$.MediaQuery;
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? 0 : 16;
t1 = A.InheritedModel_inheritFrom(context, _null, t1).data.size._dx >= 1200 ? 0 : 16;
t3 = A.MailboxCategoriessExtension_get_keyValue(categories);
return A.Container$(_null, A.TreeView$(this._mailbox_view_web$_buildListChildTileWidget$3$lastNode(context, mailboxNode, lastNode), new A.ValueKey(A.S(t3) + "_mailbox_list", type$.ValueKey_String)), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(t1, 0, t2, 0), _null, _null, _null);
},
_mailbox_view_web$_buildMailboxCategory$3(context, categories, mailboxNode) {
var t1, t2, t3, _this = this, _null = null;
if (categories === C.MailboxCategories_0)
return _this._mailbox_view_web$_buildBodyMailboxCategory$3(context, categories, mailboxNode);
else {
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this));
A.Expando__checkType(_this);
t3 = _this.buildHeaderMailboxCategory$6$toggleMailboxCategories(context, _this.responsiveUtils, _this.imagePaths, categories, t3, t2._as(t1.get(_this)).get$toggleMailboxCategories());
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).mailboxCategoriesExpandMode;
return A.Column$(A._setArrayType([t3, A.AnimatedContainer$(A.MailboxCategoriessExtension_getExpandMode(categories, t1.get$value(t1)) === C.ExpandMode_1 ? _this._mailbox_view_web$_buildBodyMailboxCategory$3(context, categories, mailboxNode) : C.Offstage_true_null_null, _null, C.C__Linear, _null, C.Duration_400000, _null, _null, _null), C.SizedBox_null_8_null_null], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
}
},
_mailbox_view_web$_buildListChildTileWidget$3$lastNode(context, parentNode, lastNode) {
var t2,
t1 = parentNode.childrenItems;
if (t1 == null)
t1 = null;
else {
t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Widget>");
t2 = A.List_List$of(new A.MappedListIterable(t1, new B.MailboxView__buildListChildTileWidget_closure(this, context), t2), true, t2._eval$1("ListIterable.E"));
t1 = t2;
}
return t1 == null ? A._setArrayType([], type$.JSArray_Widget) : t1;
},
_mailbox_view_web$_buildListChildTileWidget$2(context, parentNode) {
return this._mailbox_view_web$_buildListChildTileWidget$3$lastNode(context, parentNode, null);
},
_handleDragItemAccepted$2(listEmails, presentationMailbox) {
var t2, mailboxPath, t3, newMailbox, _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
mailboxPath = t2._as(t1.get(_this)).findNodePath$1(presentationMailbox.id);
if (mailboxPath == null) {
t3 = presentationMailbox.name;
mailboxPath = t3 == null ? null : t3.name;
}
A.log("MailboxView::_handleDragItemAccepted(): mailboxPath: " + A.S(mailboxPath), C.Level_3);
if (mailboxPath != null) {
newMailbox = A.PresentationMailboxExtension_toPresentationMailboxWithMailboxPath(presentationMailbox, mailboxPath);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).mailboxDashBoardController.dragSelectedMultipleEmailToMailboxAction$2(listEmails, newMailbox);
} else {
A.Expando__checkType(_this);
t2._as(t1.get(_this)).mailboxDashBoardController.dragSelectedMultipleEmailToMailboxAction$2(listEmails, presentationMailbox);
}
}
};
B.MailboxLoadingBarWidget.prototype = {
build$1(context) {
return this.viewState.fold$2(0, new B.MailboxLoadingBarWidget_build_closure(), new B.MailboxLoadingBarWidget_build_closure0());
}
};
B.FilterMessageAction.prototype = {
get$props() {
return [this.option];
}
};
B.HandleEmailActionTypeAction.prototype = {
get$props() {
return A._setArrayType([this.listEmailSelected, this.emailAction], type$.JSArray_Object);
}
};
B.OpenEmailDetailedFromSuggestionQuickSearchAction.prototype = {
get$props() {
return [this.presentationEmail];
}
};
B.BaseMailboxDashBoardView.prototype = {};
B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin.prototype = {};
B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin.prototype = {};
B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin_AppLoaderMixin.prototype = {};
B.MailboxDashBoardView.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t2._as(t1.get(_this)).hideMailboxMenuWhenScreenSizeChange$1(context);
t3 = type$._LocalizationsScope;
t4 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
t4 = A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 0 : 28;
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 28 : 0;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t6 = A.Intl__message("Team Mail", _null, "app_name", _null, _null);
A.Expando__checkType(_this);
t7 = type$.JSArray_Widget;
t5 = A.Container$(C.Alignment_0_0, A.Row$(A._setArrayType([A.SloganBuilder$(true, _null, _null, "assets/images/ic_tmail_logo.svg", t2._as(t1.get(_this)).get$redirectToInboxAction(), _null, _null, 24, t6, C.TextAlign_2, C.TextStyle_oHY), new A.Obx(new B.MailboxDashBoardView_build_closure(_this), _null)], t7), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, 80, _null, _null, new A.EdgeInsets(t4, 0, t5, 0), _null, _null, 256);
t1 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? 0 : 10;
t2 = context.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? 10 : 0;
return F.Portal$(new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([A.ResponsiveWidget$(A.Scaffold$(_null, _null, A.GestureDetector$(_null, A.Container$(_null, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t5, A.Expanded$(A.Container$(C.Alignment_0_0, _this._mailbox_dashboard_view_web$_buildRightHeader$1(context), C.Clip_0, C.Color_4294967295, _null, _null, _null, 80, _null, _null, new A.EdgeInsets(t2, 0, t1, 0), _null, _null, _null), 1)], t7), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), A.Expanded$(A.Row$(A._setArrayType([A.Column$(A._setArrayType([_this._buildComposerButton$1(context), A.Expanded$(new A.SizedBox(256, _null, new A.Obx(new B.MailboxDashBoardView_build_closure0(_this), _null), _null), 1)], t7), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), A.Expanded$(A.Column$(A._setArrayType([D.SpamReportBannerWebWidget_null, D.QuotasBannerWidget_null, _this._buildVacationNotificationMessage$1(context), new A.Obx(new B.MailboxDashBoardView_build_closure1(_this, context), _null), new A.Obx(new B.MailboxDashBoardView_build_closure2(_this, context), _null), _this._buildListButtonQuickSearchFilter$1(context), _this._buildMarkAsMailboxReadLoading$1(context), A.Expanded$(new A.Obx(new B.MailboxDashBoardView_build_closure3(_this, context), _null), 1)], t7), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t7), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), 1)], t7), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_0, C.Color_4294375158, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.MailboxDashBoardView_build_closure4(context), _null, _null, _null, _null, _null, _null, _null), _null, _null, true, _null, _null, _null), _null, _null, new A.Obx(new B.MailboxDashBoardView_build_closure5(_this), _null), _this.responsiveUtils, _null, new A.Obx(new B.MailboxDashBoardView_build_closure6(_this), _null)), new A.Obx(new B.MailboxDashBoardView_build_closure7(_this), _null), new A.Obx(new B.MailboxDashBoardView_build_closure8(_this, context), _null), _this._buildDownloadTaskStateWidget$0()], t7), _null));
},
_buildScaffoldHaveDrawer$1$body(body) {
var _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).scaffoldKey;
return A.Scaffold$(_null, _null, body, _null, A.ResponsiveWidget$(C.SizedBox_0_0_null_null, _null, _null, new A.SizedBox(320, _null, B.MailboxView$(), _null), _this.responsiveUtils, _null, new A.SizedBox(375, _null, B.MailboxView$(), _null)), true, _null, t1, _null);
},
_buildThreadViewForWebDesktop$1(context) {
var t3, t4, _null = null,
t1 = type$._LocalizationsScope,
t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? 0 : 16;
t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? 16 : 0;
t3 = A.BorderRadius$circular(20);
t4 = A.Border_Border$all(E.Color_1555612108, 1);
return A.Container$(_null, A.ClipRRect$(A.BorderRadius$circular(20), A.Column$(A._setArrayType([new A.Obx(new B.MailboxDashBoardView__buildThreadViewForWebDesktop_closure(this, context), _null), C.Divider_I9g, A.Expanded$(B.ThreadView$(), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_2), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294967295, _null, t4, t3, _null, _null, _null, C.BoxShape_0), _null, _null, _null, new A.EdgeInsets(t1, 8, t2, 16), _null, _null, _null, _null);
},
_mailbox_dashboard_view_web$_buildRightHeader$1(context) {
return new A.LayoutBuilder(new B.MailboxDashBoardView__buildRightHeader_closure(this), null);
},
_buildListButtonTopBar$1(context) {
var t2, t3, t4, t5, _this = this, _null = null,
_s31_ = "assets/images/ic_select_all.svg",
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.Intl__message("Select all", _null, "select_all", _null, _null);
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t3 = t3._jsWeakMap;
t4 = A._instanceType(_this)._eval$1("GetWidget.S");
t2 = A._setArrayType([new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure(_this), _null), C.SizedBox_16_null_null_null, A.TMailButtonWidget$(_null, _null, 10, _null, false, _s31_, C.TextDirection_1, _null, 16, 8, false, D.ValueKey_select_all_emails_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, t4._as(t3.get(_this)).get$selectAllEmailAction(), D.EdgeInsetsDirectional_12_8_12_8, t2, _null, _null, _null, _null, _null, _null, false, _null)], type$.JSArray_Widget);
A.Expando__checkType(_this);
t3 = t4._as(t3.get(_this));
t4 = t3.searchController;
t5 = t4.simpleSearchIsActivated;
if (!t5.get$value(t5)) {
t4 = t4.advancedSearchIsActivated;
t4 = t4.get$value(t4);
} else
t4 = true;
if (!t4) {
t3 = t3.selectedMailbox;
if (t3.get$value(t3) != null) {
t3 = t3.get$value(t3);
t3.toString;
t3 = J.$eq$(t3.role, $.$get$PresentationMailbox_roleDrafts());
} else
t3 = false;
} else
t3 = false;
if (t3) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2.push(new A.Padding(E.EdgeInsetsDirectional_16_0_0_0, A.TMailButtonWidget$(_null, _null, 10, _null, false, _s31_, C.TextDirection_1, _null, 16, 8, false, D.ValueKey_mark_as_read_emails_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.MailboxDashBoardView__buildListButtonTopBar_closure0(_this, context), D.EdgeInsetsDirectional_12_8_12_8, A.Intl__message("Mark all as read", _null, "mark_all_as_read", _null, _null), _null, _null, _null, _null, _null, _null, false, _null), _null));
}
t2.push(C.SizedBox_16_null_null_null);
t2.push(new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure1(_this, context), _null));
return A.Row$(t2, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildMarkAsMailboxReadLoading$1(context) {
return new A.Obx(new B.MailboxDashBoardView__buildMarkAsMailboxReadLoading_closure(this, context), null);
},
_buildDownloadTaskStateWidget$0() {
return new A.Obx(new B.MailboxDashBoardView__buildDownloadTaskStateWidget_closure(this), null);
},
_buildVacationNotificationMessage$1(context) {
return new A.Obx(new B.MailboxDashBoardView__buildVacationNotificationMessage_closure(this, context), null);
},
_buildListButtonQuickSearchFilter$1(context) {
return new A.Obx(new B.MailboxDashBoardView__buildListButtonQuickSearchFilter_closure(this, context), null);
},
_mailbox_dashboard_view_web$_buildQuickSearchFilterButton$2(context, filter) {
return new A.Obx(new B.MailboxDashBoardView__buildQuickSearchFilterButton_closure(this, filter, context), null);
},
popupMenuEmailReceiveTimeType$3$onCallBack(context, receiveTimeSelected, onCallBack) {
var t1 = type$.MappedListIterable_of_EmailReceiveTimeType_and_PopupMenuItem_dynamic;
return A.List_List$of(new A.MappedListIterable(C.List_dEF, new B.MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure(this, context, receiveTimeSelected, onCallBack), t1), true, t1._eval$1("ListIterable.E"));
},
_buildComposerButton$1(context) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Container$(C.Alignment_m1_0, A.TMailButtonWidget$(C.Color_4278221567, _null, 10, D.List_6Vn, false, "assets/images/ic_compose_web.svg", C.TextDirection_1, C.Color_4294967295, 24, 8, false, C.ValueKey_compose_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.MailboxDashBoardView__buildComposerButton_closure(this), D.EdgeInsetsDirectional_0_8_0_8, A.Intl__message("Compose", _null, "compose", _null, _null), _null, D.TextStyle_1Gf2, _null, _null, _null, _null, false, _null), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, D.EdgeInsetsDirectional_16_16_16_8, _null, _null, 256);
}
};
B.FilterEmailPopupMenuMixin.prototype = {
popupMenuFilterEmailActionTile$4$isSearchEmailRunning(context, optionSelected, onCallBack, isSearchEmailRunning) {
var t1 = type$.JSArray_PopupMenuEntry_dynamic,
t2 = A._setArrayType([], t1);
if (!isSearchEmailRunning)
C.JSArray_methods.addAll$1(t2, A._setArrayType([A.PopupMenuItem$(this._filterEmailAction$4(context, optionSelected, C.FilterMessageOption_2, onCallBack), true, 48, C.EdgeInsets_0_0_0_0, null, type$.dynamic), E.PopupMenuDivider_null], t1));
t1 = type$.dynamic;
t2.push(A.PopupMenuItem$(this._filterEmailAction$4(context, optionSelected, C.FilterMessageOption_1, onCallBack), true, 48, C.EdgeInsets_0_0_0_0, null, t1));
t2.push(E.PopupMenuDivider_null);
t2.push(A.PopupMenuItem$(this._filterEmailAction$4(context, optionSelected, C.FilterMessageOption_3, onCallBack), true, 48, C.EdgeInsets_0_0_0_0, null, t1));
return t2;
},
popupMenuFilterEmailActionTile$3(context, optionSelected, onCallBack) {
return this.popupMenuFilterEmailActionTile$4$isSearchEmailRunning(context, optionSelected, onCallBack, false);
},
_filterEmailAction$4(context, optionSelected, option, onCallBack) {
var _null = null,
t1 = B.FilterMessageOptionExtension_getIcon(option, this.FilterEmailPopupMenuMixin__imagePaths),
t2 = type$.JSArray_Widget;
t1 = A._setArrayType([A.SvgPicture$asset(t1, C.Alignment_0_0, option !== C.FilterMessageOption_3 ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : _null, C.BoxFit_0, 20, _null, 20), C.SizedBox_12_null_null_null, A.Expanded$(A.Text$(B.FilterMessageOptionExtension_getName(option, context), _null, _null, _null, _null, _null, _null, _null, _null, E.TextStyle_oHY11, _null, _null, _null, _null, _null), 1)], t2);
if (optionSelected === option)
C.JSArray_methods.addAll$1(t1, A._setArrayType([C.SizedBox_12_null_null_null, A.SvgPicture$asset("assets/images/ic_filter_selected.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16)], t2));
return A.InkWell$(false, _null, true, new A.Padding(E.EdgeInsets_20_16_20_16, new A.SizedBox(_null, _null, A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.FilterEmailPopupMenuMixin__filterEmailAction_closure(onCallBack, option, optionSelected), _null, _null, _null, _null, _null, _null, _null);
}
};
B.AdvancedSearchFilterOverlay.prototype = {
build$1(context) {
var t1, t2, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t1 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data;
t2 = A.BorderRadius$circular(16);
return A.PointerInterceptor$(A.GestureDetector$(_null, A.Container$(_null, A.SingleChildScrollView$(A.AdvancedSearchInputForm$(), _null, _null, C.EdgeInsets_24_16_24_16, _null, _null, C.Axis_1), C.Clip_0, _null, new A.BoxConstraints(0, 1 / 0, 0, t1.size._dy - 80 - 16), new A.BoxDecoration(C.Color_4294967295, _null, _null, t2, D.List_01, _null, _null, C.BoxShape_0), _null, _null, _null, D.EdgeInsetsDirectional_0_4_22_16, C.EdgeInsets_8_0_8_0, _null, _null, _null), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.AdvancedSearchFilterOverlay_build_closure(), _null, _null, _null, _null, _null, _null, _null));
}
};
B.IconOpenAdvancedSearchWidget.prototype = {
build$1(context) {
return new A.Obx(new B.IconOpenAdvancedSearchWidget_build_closure(this, context), null);
}
};
B.AppGridDashboardItem.prototype = {
build$1(context) {
var _null = null,
t1 = this.app,
t2 = t1.iconName,
t3 = "configurations/icons/" + t2;
if (C.JSString_methods.endsWith$1(t2, "svg"))
t2 = A.SvgPicture$asset(t3, C.Alignment_0_0, _null, C.BoxFit_0, 56, _null, 56);
else
t2 = new A.Image(B.ResizeImage_resizeIfNeeded(_null, _null, new A.AssetImage(t3, _null, _null)), 56, 56, C.BoxFit_0, C.Alignment_0_0, _null);
return new B.LinkBrowserWidget(t1.appUri, A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_tLn4, true, A.Container$(_null, A.Column$(A._setArrayType([t2, new A.Padding(C.EdgeInsets_0_8_0_0, A.Text$(t1.appName, _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, C.TextStyle_cMb0, C.TextAlign_2, _null, _null, _null, _null), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, C.EdgeInsets_0_8_0_8, _null, _null, 98), _null, true, _null, _null, _null, C.Color_2581915884, _null, _null, _null, _null, _null, _null, _null, new B.AppGridDashboardItem_build_closure(this), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0), _null);
}
};
B.AppDashboardOverlay.prototype = {
build$1(context) {
var _null = null,
t1 = this.get$_widthAppGrid(),
t2 = A.BorderRadius$circular(24),
t3 = this._linagoraApplications.apps,
t4 = A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,AppGridDashboardItem>");
return A.GestureDetector$(_null, A.Container$(_null, A.Wrap$(C.WrapAlignment_0, A.List_List$of(new A.MappedListIterable(t3, new B.AppDashboardOverlay_build_closure(), t4), true, t4._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 0, 0), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294967295, _null, _null, t2, D.List_02, _null, _null, C.BoxShape_0), _null, _null, _null, _null, C.EdgeInsets_24_24_24_24, _null, _null, t1), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.AppDashboardOverlay_build_closure0(), _null, _null, _null, _null, _null, _null, _null);
},
get$_widthAppGrid() {
var t1 = this._linagoraApplications.apps.length;
if (t1 >= 3)
return 342;
else if (t1 === 2)
return 244;
else if (t1 === 1)
return 146;
else
return 0;
}
};
B.DownloadTaskItemWidget.prototype = {
build$1(context) {
var t1, t2, t3, t4, t5, t6, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t2 = this.taskState;
t3 = t2.attachment;
t1 = A.SvgPicture$asset(A.AttachmentExtension_getIcon(t3, t1.find$1$1$tag(0, _null, type$.ImagePaths)), C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16);
if (t2.get$percentDownloading() === 0)
t4 = D.CircularProgressIndicator_Esr;
else {
t4 = t2.get$percentDownloading();
t5 = new B.CircularPercentIndicator(t4, 14, 3, C.Color_2581915884, _null);
t5.__CircularPercentIndicator__progressColor_A = C.Color_4278221567;
if (t4 < 0 || t4 > 1)
A.throwExpression(A.Exception_Exception("Percent value must be a double between 0.0 and 1.0, but it's " + A.S(t4)));
t4 = t5;
}
t5 = type$.JSArray_Widget;
t4 = A.Container$(_null, new A.Stack(C.Alignment_0_0, _null, C.StackFit_0, C.Clip_1, A._setArrayType([t1, A.Center$(t4, _null, _null)], t5), _null), C.Clip_0, C.Color_0, _null, _null, _null, 30, _null, _null, _null, _null, _null, 30);
t3 = A.Text$(t3.generateFileName$0(), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, D.TextStyle_etK, _null, _null, _null, _null, _null);
t1 = t2.downloaded;
t6 = new B.ByteConverter(t1);
t6._bits = C.JSInt_methods.ceil$0(t1 * 8);
t6 = t6.toHumanReadable$1(D.SizeUnit_2);
t2 = t2.total;
t1 = new B.ByteConverter(t2);
t1._bits = C.JSInt_methods.ceil$0(t2 * 8);
return A.Container$(C.Alignment_0_0, A.Row$(A._setArrayType([C.SizedBox_12_null_null_null, t4, C.SizedBox_12_null_null_null, A.Expanded$(A.Column$(A._setArrayType([t3, C.SizedBox_null_4_null_null, A.Text$(A.S(t6) + "/" + A.S(t1.toHumanReadable$1(D.SizeUnit_2)), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, D.TextStyle_etK0, _null, _null, _null, _null, _null)], t5), C.CrossAxisAlignment_0, C.MainAxisAlignment_2, C.MainAxisSize_0, C.VerticalDirection_1), 1)], t5), C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_0, _null), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, C.EdgeInsets_0_0_0_0, _null, _null, 240);
}
};
B.EmailQuickSearchItemTileWidget.prototype = {
build$1(context) {
return new A.LayoutBuilder(new B.EmailQuickSearchItemTileWidget_build_closure(this), null);
},
_getInformationSender$0() {
var t1 = this._email_quick_search_item_tile_widget$_presentationMailbox,
t2 = t1 == null;
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleSent())) !== true)
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleDrafts())) !== true)
t1 = (t2 ? null : A.PresentationMailboxExtension_get_isOutbox(t1)) === true;
else
t1 = true;
else
t1 = true;
if (t1)
return B.PresentationEmailExtension_recipientsName(this._email_quick_search_item_tile_widget$_presentationEmail);
return this._email_quick_search_item_tile_widget$_presentationEmail.getSenderName$0();
}
};
B.RecentSearchItemTileWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.contentPadding;
if (t1 == null)
t1 = D.EdgeInsetsDirectional_12_12_12_12;
return new A.Padding(t1, A.Row$(A._setArrayType([A.SvgPicture$asset("assets/images/ic_clock_sb.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null), C.SizedBox_8_null_null_null, A.Expanded$(A.Text$(this.recentSearch.value, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY6, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null);
}
};
B.SearchInputFormWidget.prototype = {
build$1(context) {
return new A.Obx(new B.SearchInputFormWidget_build_closure(this, context), null);
},
_invokeSearchEmailAction$2(context, query) {
var t2, t3,
t1 = this._searchController;
t1.searchFocus.unfocus$0();
t2 = t1.searchState;
t2.get$value(t2);
t2.set$value(0, new A.SearchState(C.SearchStatus_0));
t2 = query.length === 0;
if (!t2)
t1.consumeState$1(t1._search_controller$_saveRecentSearchInteractor.execute$1(new A.RecentSearch(query, new A.DateTime(Date.now(), false))));
if (t2) {
t2 = t1.listFilterOnSuggestionForm;
t2 = !t2.get$isEmpty(t2);
} else
t2 = true;
t3 = this._search_input_form_widget$_dashBoardController;
if (t2) {
t2 = t3.userProfile;
t1.applyFilterSuggestionToSearchFilter$1(t2.get$value(t2));
t3.searchEmail$2$queryString(context, query);
} else {
t1 = new A.ClearSearchEmailAction();
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t1).toString$0(0), C.Level_3);
t3.dashBoardAction.set$value(0, t1);
t3 = t3.searchController;
t3.updateFilterEmail$1$text(new A.SearchQuery(""));
t3.searchInputController.super$ValueNotifier$value(0, C.TextEditingValue_cKo);
t3.searchFocus.unfocus$0();
t3.simpleSearchIsActivated.set$value(0, false);
t3 = t3.searchState;
t3.get$value(t3);
t3.set$value(0, new A.SearchState(C.SearchStatus_1));
}
},
_buildShowAllResultButton$2(context, keyword) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.InkWell$(false, _null, true, new A.Padding(C.EdgeInsets_12_12_12_12, A.Row$(A._setArrayType([A.Text$(A.Intl__message("Showing results for:", _null, "showingResultsFor", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_omH2, _null, _null, _null, _null, _null), C.SizedBox_4_null_null_null, A.Expanded$(A.Text$('"' + keyword + '"', _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_oHY19, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchInputFormWidget__buildShowAllResultButton_closure(this, context, keyword), _null, _null, _null, _null, _null, _null, _null);
},
_createConfiguration$1(context) {
var t4, t5, t6, t7, t8, t9, t10, _null = null,
t1 = this._searchController,
t2 = type$._LocalizationsScope,
t3 = context.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t3 = A.Bidi_isRtlLanguage(t3.get$languageCode(t3)) ? C.TextDirection_0 : C.TextDirection_1;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t4 = A.InputDecoration$(_null, C._NoInputBorder_uXA, _null, C.EdgeInsets_0_0_0_0, _null, _null, _null, _null, true, C._NoInputBorder_uXA, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, C._NoInputBorder_uXA, _null, _null, _null, _null, _null, C.TextStyle_g3y1, A.Intl__message("Search emails", _null, "search_emails", _null, _null), _null, _null, _null, _null, false, _null, _null, C.TextStyle_cMb1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
t5 = context.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 0 : 8;
t2 = context.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? 8 : 0;
t6 = A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_search_bar.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null), C.EdgeInsets_0_0_0_0, _null, 40, new B.SearchInputFormWidget__createConfiguration_closure(this, context), _null, _null);
t7 = A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_clear_text_search.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16), _null, _null, _null, t1.get$clearTextSearch(), _null, _null);
$.$get$Get();
t8 = $.GetInstance__getInstance;
if (t8 == null)
t8 = $.GetInstance__getInstance = C.C_GetInstance;
t8 = t8.find$1$1$tag(0, _null, type$.ImagePaths);
t9 = $.GetInstance__getInstance;
if (t9 == null)
t9 = $.GetInstance__getInstance = C.C_GetInstance;
t9 = t9.find$1$1$tag(0, _null, type$.SearchController);
t10 = $.GetInstance__getInstance;
if (t10 == null)
t10 = $.GetInstance__getInstance = C.C_GetInstance;
return B.QuickSearchTextFieldConfiguration$(true, false, t7, t1.searchInputController, _null, _null, 2, t4, true, true, true, t1.searchFocus, _null, _null, C.TextInputType_0_null_null, new A.Padding(new A.EdgeInsets(t5, 0, t2, 0), t6, _null), _null, _null, 1, _null, false, _null, _null, new B.SearchInputFormWidget__createConfiguration_closure0(this, context), _null, new B.IconOpenAdvancedSearchWidget(t8, t9, t10.find$1$1$tag(0, _null, type$.AdvancedFilterController), context, _null), C.EdgeInsets_20_20_20_20, _null, C.TextAlign_4, _null, C.TextCapitalization_30, t3, C.TextInputAction_2);
},
buildListButtonForQuickSearchForm$2(context, filter) {
return new A.Obx(new B.SearchInputFormWidget_buildListButtonForQuickSearchForm_closure(this, filter, context), null);
}
};
B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin.prototype = {};
B.TopBarThreadSelection.prototype = {
build$0() {
var t3, t4, t5, t6, t7, t8, _this = this, _null = null,
t1 = _this.listEmail,
t2 = _this.mapMailbox,
canDeletePermanently = B.ListPresentationEmailExtension_isAllCanDeletePermanently(t1, t2),
canSpamAndMove = B.ListPresentationEmailExtension_isAllCanSpamAndMove(t1, t2),
isAllSpam = B.ListPresentationEmailExtension_isAllSpam(t1, t2),
isAllBelongToTheSameMailbox = B.ListPresentationEmailExtension_isAllBelongToTheSameMailbox(t1, t2);
t2 = A.SvgPicture$asset("assets/images/ic_close.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null);
t3 = _this.context;
t4 = type$.AppLocalizations;
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t2 = A.buildIconWeb(_null, _null, t2, _null, _null, _null, _this.onCancelSelection, _null, A.Intl__message("Cancel", _null, "cancel", _null, _null));
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t5 = J.get$length$asx(t1.get$value(t1));
t5 = A.Text$(A.Intl__message("" + t5 + " selected", _null, "count_email_selected", A._setArrayType([t5], type$.JSArray_Object), _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_yzp0, _null, _null, _null, _null, _null);
t6 = A.SvgPicture$asset(B.ListPresentationEmailExtension_get_isAllEmailRead(t1) ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
if (B.ListPresentationEmailExtension_get_isAllEmailRead(t1)) {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t7 = A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
} else {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t7 = A.Intl__message("Mark as read", _null, "mark_as_read", _null, _null);
}
t7 = A.buildIconWeb(_null, _null, t6, _null, _null, _null, new B.TopBarThreadSelection_build_closure(_this), _null, t7);
t6 = A.SvgPicture$asset(B.ListPresentationEmailExtension_get_isAllEmailStarred(t1) ? "assets/images/ic_unstar.svg" : "assets/images/ic_star.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
if (B.ListPresentationEmailExtension_get_isAllEmailStarred(t1)) {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t1 = A.Intl__message("Unstar", _null, "un_star", _null, _null);
} else {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t1 = A.Intl__message("Star", _null, "star", _null, _null);
}
t8 = type$.JSArray_Widget;
t1 = A._setArrayType([t2, t5, D.SizedBox_30_null_null_null, t7, A.buildIconWeb(_null, _null, t6, _null, _null, _null, new B.TopBarThreadSelection_build_closure0(_this), _null, t1)], t8);
if (canSpamAndMove) {
t2 = A.SvgPicture$asset("assets/images/ic_move.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t2 = A.buildIconWeb(_null, _null, t2, _null, _null, _null, new B.TopBarThreadSelection_build_closure1(_this), _null, A.Intl__message("Move", _null, "move", _null, _null));
t5 = A.SvgPicture$asset(isAllSpam ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
if (isAllSpam) {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t6 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t6 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
C.JSArray_methods.addAll$1(t1, A._setArrayType([t2, A.buildIconWeb(_null, _null, t5, _null, _null, _null, new B.TopBarThreadSelection_build_closure2(_this, isAllSpam), _null, t6)], t8));
}
if (isAllBelongToTheSameMailbox) {
t2 = canDeletePermanently ? "assets/images/ic_delete_composer.svg" : "assets/images/ic_delete.svg";
t2 = A.SvgPicture$asset(t2, C.Alignment_0_0, canDeletePermanently ? A.ColorNullableExtension_asFilter(C.Color_4293281350) : A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 20, _null, 20);
if (canDeletePermanently) {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t3 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, t4).toString;
t3 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t1.push(A.buildIconWeb(_null, _null, t2, _null, _null, _null, new B.TopBarThreadSelection_build_closure3(_this, canDeletePermanently), _null, t3));
}
return A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.QuotasView.prototype = {
build$1(context) {
return new A.Obx(new B.QuotasView_build_closure(this), null);
},
_getProgressBarMaxWith$1(maxWith) {
if (maxWith > 168)
return 168;
else
return maxWith;
}
};
B.QuotasBannerWidget.prototype = {
build$1(context) {
var t1, controller;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
controller = t1.find$1$1$tag(0, null, type$.QuotasController);
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new A.Obx(new B.QuotasBannerWidget_build_closure(controller, t1.find$1$1$tag(0, null, type$.ResponsiveUtils), context), null);
}
};
B.SearchEmailView.prototype = {
build$1(context) {
var _this = this, _null = null,
t1 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data;
if (t1.size._dx >= 1200)
$.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new B.SearchEmailView_build_closure(_this, context));
return A.Scaffold$(_null, _null, A.GestureDetector$(_null, A.Container$(_null, A.Column$(A._setArrayType([A.Container$(_null, new A.Obx(new B.SearchEmailView_build_closure0(_this, context), _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, 52, _null, _null, C.EdgeInsets_16_0_16_0, _null, _null, _null), G.Divider_6xV, _this._buildListSearchFilterAction$1(context), _this._search_email_view$_buildLoadingView$0(), A.Expanded$(new A.Obx(new B.SearchEmailView_build_closure1(_this, context), _null), 1), _this._buildLoadingViewLoadMore$0()], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView_build_closure2(context), _null, _null, _null, _null, _null, _null, _null), _null, _null, true, _null, _null, _null);
},
_search_email_view$_buildSearchInputForm$1(context) {
var t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = type$._LocalizationsScope,
t2 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? "assets/images/ic_collapse_folder.svg" : "assets/images/ic_back.svg";
t2 = A.SvgPicture$asset(t2, C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null);
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t2 = A.buildIconWeb(_null, _null, t2, _null, _null, _null, new B.SearchEmailView__buildSearchInputForm_closure(_this, context), _null, A.Intl__message("Back", _null, "back", _null, _null));
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t4 = t4._jsWeakMap;
t5 = A._instanceType(_this)._eval$1("GetWidget.S");
t6 = t5._as(t4.get(_this)).get$onTextSearchChange();
A.Expando__checkType(_this);
t7 = t5._as(t4.get(_this)).textInputSearchController;
A.Expando__checkType(_this);
t4 = t5._as(t4.get(_this)).textInputSearchFocus;
t1 = context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? C.TextDirection_0 : C.TextDirection_1;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
return A.Row$(A._setArrayType([t2, A.Expanded$(A.TextFieldBuilder$(false, t7, C.Color_4278221567, A.InputDecoration$(_null, C._NoInputBorder_uXA, _null, C.EdgeInsets_12_12_12_12, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_g3y1, A.Intl__message("Search emails", _null, "search_emails", _null, _null), _null, _null, _null, _null, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t4, _null, C.TextInputType_0_null_null, 1, _null, _null, _null, _null, t6, new B.SearchEmailView__buildSearchInputForm_closure0(_this, context), false, t1, C.TextInputAction_4, C.TextStyle_cMb1), 1), new A.Obx(new B.SearchEmailView__buildSearchInputForm_closure1(_this, context), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildListSearchFilterAction$1(context) {
var _this = this, _null = null,
t1 = A._setArrayType([_this._buildSearchFilterByContactButton$2(context, C.PrefixEmailAddress_0), _this._buildSearchFilterByContactButton$2(context, C.PrefixEmailAddress_1)], type$.JSArray_Widget);
C.JSArray_methods.addAll$1(t1, new A.MappedListIterable(A._setArrayType([C.QuickSearchFilter_0, C.QuickSearchFilter_1], type$.JSArray_QuickSearchFilter), new B.SearchEmailView__buildListSearchFilterAction_closure(_this, context), type$.MappedListIterable_QuickSearchFilter_Widget));
t1.push(_this._buildSearchFilterByMailboxButton$1(context));
return A.Container$(_null, A.ListView$(t1, _null, _null, _null, _null, false, C.Axis_0, false), C.Clip_0, _null, _null, _null, _null, 60, _null, C.EdgeInsets_20_0_20_0, C.EdgeInsets_12_12_12_12, _null, _null, _null);
},
_buildQuickSearchFilterButton$2(context, filter) {
return new A.Obx(new B.SearchEmailView__buildQuickSearchFilterButton_closure(this, filter, context), null);
},
_popupMenuEmailReceiveTimeType$3(context, receiveTimeSelected, onCallBack) {
var t1 = type$.MappedListIterable_of_EmailReceiveTimeType_and_PopupMenuItem_dynamic;
return A.List_List$of(new A.MappedListIterable(C.List_dEF, new B.SearchEmailView__popupMenuEmailReceiveTimeType_closure(receiveTimeSelected, onCallBack), t1), true, t1._eval$1("ListIterable.E"));
},
_emailReceiveTimeCupertinoActionTile$3(context, receiveTimeSelected, onCallBack) {
var t1 = type$.MappedListIterable_EmailReceiveTimeType_Widget;
return A.List_List$of(new A.MappedListIterable(C.List_dEF, new B.SearchEmailView__emailReceiveTimeCupertinoActionTile_closure(this, context, receiveTimeSelected, onCallBack), t1), true, t1._eval$1("ListIterable.E"));
},
_buildShowAllResultSearchButton$2(context, textSearch) {
var t1, t2, _this = this, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.Text$(A.Intl__message("Showing results for:", _null, "showingResultsFor", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_omH2, _null, _null, _null, _null, _null);
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t2 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(_this)).currentSearchText;
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, new A.Padding(E.EdgeInsets_32_12_32_12, A.Row$(A._setArrayType([t1, C.SizedBox_4_null_null_null, A.Expanded$(A.Text$('"' + A.S(t2.get$value(t2)) + '"', _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_oHY19, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildShowAllResultSearchButton_closure(_this, textSearch, context), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
},
_buildListRecentSearch$2(context, listRecentSearch) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Column$(A._setArrayType([new A.Padding(E.EdgeInsets_32_8_32_8, A.Text$(A.Intl__message("Recent", _null, "recent", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_omH2, _null, _null, _null, _null, _null), _null), A.ListView$builder(_null, new B.SearchEmailView__buildListRecentSearch_closure(this, listRecentSearch), J.get$length$asx(listRecentSearch.get$value(listRecentSearch)), _null, _null, _null, _null, false, C.Axis_1, true)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
_buildListSuggestionSearch$2(context, listSuggestionSearch) {
var _null = null;
return A.ListView$builder(_null, new B.SearchEmailView__buildListSuggestionSearch_closure(this, listSuggestionSearch), J.get$length$asx(listSuggestionSearch.get$value(listSuggestionSearch)), _null, _null, _null, _null, false, C.Axis_1, true);
},
_search_email_view$_buildEmptyEmail$1(context) {
return new A.Obx(new B.SearchEmailView__buildEmptyEmail_closure(this, context), null);
},
_search_email_view$_buildListEmailBody$2(context, listPresentationEmail) {
var t2, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).resultSearchScrollController;
t2 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data.size._dx >= 1200 ? 52 : 95;
return new A.NotificationListener(new B.SearchEmailView__buildListEmailBody_closure(_this), A.ListView$builder(t1, new B.SearchEmailView__buildListEmailBody_closure0(_this, listPresentationEmail), J.get$length$asx(listPresentationEmail.get$value(listPresentationEmail)), t2, D.PageStorageKey_vem, _null, C.AlwaysScrollableScrollPhysics_null, _null, C.Axis_1, false), _null, type$.NotificationListener_ScrollNotification);
},
_search_email_view$_buildLoadingView$0() {
return new A.Obx(new B.SearchEmailView__buildLoadingView_closure(this), null);
},
_search_email_view$_markAsEmailSpamOrUnSpamAction$2(context, email) {
var t3, t4, _null = null,
mailboxContain = email.mailboxContain,
t1 = mailboxContain == null,
t2 = (t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam())) === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
t2 = A.SvgPicture$asset(t2, C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 28, _null, 28);
t1 = t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam());
t3 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
t3 = type$.MediaQuery;
t4 = A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
A.InheritedModel_inheritFrom(context, _null, t3).toString;
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t4, D.ValueKey_mark_as_spam_or_un_spam_action, t2, t1);
t1.onCupertinoActionSheetActionClick = new B.SearchEmailView__markAsEmailSpamOrUnSpamAction_closure(this, context, mailboxContain);
return t1.build$0();
},
_buildLoadingViewLoadMore$0() {
return new A.Obx(new B.SearchEmailView__buildLoadingViewLoadMore_closure(this), null);
},
_buildSearchFilterByMailboxButton$1(context) {
return new A.Obx(new B.SearchEmailView__buildSearchFilterByMailboxButton_closure(this, context), null);
},
_buildSearchFilterByContactButton$2(context, prefixEmailAddress) {
return new A.Obx(new B.SearchEmailView__buildSearchFilterByContactButton_closure(this, prefixEmailAddress, context), null);
}
};
B._SearchEmailView_GetWidget_AppLoaderMixin.prototype = {};
B.AppBarSelectionMode.prototype = {
build$1(context) {
var t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = _this.listEmail,
t2 = _this.mapMailbox,
canDeletePermanently = B.ListPresentationEmailExtension_isAllCanDeletePermanently(t1, t2),
canSpamAndMove = B.ListPresentationEmailExtension_isAllCanSpamAndMove(t1, t2),
isAllSpam = B.ListPresentationEmailExtension_isAllSpam(t1, t2),
isAllBelongToTheSameMailbox = B.ListPresentationEmailExtension_isAllBelongToTheSameMailbox(t1, t2);
t2 = A.SvgPicture$asset("assets/images/ic_close.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null);
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t2 = A.buildIconWeb(_null, _null, t2, C.EdgeInsets_5_5_5_5, 25, 25, _this.onCancelSelection, 15, A.Intl__message("Cancel", _null, "cancel", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t4 = t1.length;
t4 = A.Expanded$(A.Text$(A.Intl__message("" + t4 + " selected", _null, "count_email_selected", A._setArrayType([t4], type$.JSArray_Object), _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_yzp0, _null, _null, _null, _null, _null), 1);
t5 = A.SvgPicture$asset(B.ListPresentationEmailExtension_get_isAllEmailRead(t1) ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
if (B.ListPresentationEmailExtension_get_isAllEmailRead(t1)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t6 = A.Intl__message("Unread", _null, "unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t6 = A.Intl__message("Read", _null, "read", _null, _null);
}
t6 = A.buildIconWeb(_null, _null, t5, C.EdgeInsets_5_5_5_5, 25, 25, new B.AppBarSelectionMode_build_closure(_this), 15, t6);
t5 = A.SvgPicture$asset(B.ListPresentationEmailExtension_get_isAllEmailStarred(t1) ? "assets/images/ic_unstar.svg" : "assets/images/ic_star.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
if (B.ListPresentationEmailExtension_get_isAllEmailStarred(t1)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Starred", _null, "starred", _null, _null);
}
t7 = type$.JSArray_Widget;
t1 = A._setArrayType([t2, t4, t6, C.SizedBox_5_null_null_null, A.buildIconWeb(_null, _null, t5, C.EdgeInsets_5_5_5_5, 25, 25, new B.AppBarSelectionMode_build_closure0(_this), 15, t1), C.SizedBox_5_null_null_null], t7);
if (canSpamAndMove) {
t2 = A.SvgPicture$asset("assets/images/ic_move.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t2 = A.buildIconWeb(_null, _null, t2, C.EdgeInsets_5_5_5_5, 25, 25, new B.AppBarSelectionMode_build_closure1(_this), 15, A.Intl__message("Move", _null, "move", _null, _null));
t4 = A.SvgPicture$asset(isAllSpam ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null);
if (isAllSpam) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t5 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t5 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
C.JSArray_methods.addAll$1(t1, A._setArrayType([t2, C.SizedBox_5_null_null_null, A.buildIconWeb(_null, _null, t4, C.EdgeInsets_5_5_5_5, 25, 25, new B.AppBarSelectionMode_build_closure2(_this, isAllSpam), 15, t5), C.SizedBox_5_null_null_null], t7));
}
if (isAllBelongToTheSameMailbox) {
t2 = canDeletePermanently ? "assets/images/ic_delete_composer.svg" : "assets/images/ic_delete.svg";
t2 = A.SvgPicture$asset(t2, C.Alignment_0_0, canDeletePermanently ? A.ColorNullableExtension_asFilter(C.Color_4293281350) : A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 20, _null, 20);
if (canDeletePermanently) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t3 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t3 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
C.JSArray_methods.addAll$1(t1, A._setArrayType([A.buildIconWeb(_null, _null, t2, C.EdgeInsets_5_5_5_5, 25, 25, new B.AppBarSelectionMode_build_closure3(_this, canDeletePermanently), 15, t3), C.SizedBox_10_null_null_null], t7));
}
return A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EmailReceiveTimeActionTileWidget.prototype = {
build$1(context) {
var t1, t2, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ImagePaths);
t1 = this.receiveTimeType;
t2 = A._setArrayType([A.Expanded$(A.Text$(t1.getTitle$1(context), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_oHY9, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
t1 = t1 === this.receiveTimeSelected;
if (t1)
t2.push(C.SizedBox_12_null_null_null);
if (t1)
t2.push(A.SvgPicture$asset("assets/images/ic_filter_selected.svg", C.Alignment_0_0, _null, C.BoxFit_0, 24, _null, 24));
return A.InkWell$(false, _null, true, new A.Padding(C.EdgeInsets_24_16_24_16, new A.SizedBox(320, _null, A.Row$(t2, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailReceiveTimeActionTileWidget_build_closure(this), _null, _null, _null, _null, _null, _null, _null);
}
};
B.EmailReceiveTimeCupertinoActionSheetActionBuilder.prototype = {
build$0() {
var _this = this, _null = null,
t1 = A._setArrayType([C.SizedBox_16_null_null_null, A.Expanded$(A.Text$(_this.actionName, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_cMb, C.TextAlign_0, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
if (_this.timeTypeCurrent === _this.timeType && true)
t1.push(new A.Padding(_this.iconRightPadding, _this.actionSelected, _null));
return A.Container$(_null, A.MouseRegion$(A.CupertinoActionSheetAction$(A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), _this.key, new B.EmailReceiveTimeCupertinoActionSheetActionBuilder_build_closure(_this)), C._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, _null, _null, _null, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.SearchMailboxView.prototype = {
build$1(context) {
var t2, t3, t4, _this = this, _null = null,
t1 = _this.backgroundColor;
if (t1 == null)
t1 = C.Color_4294967295;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t2 = t2._jsWeakMap;
t3 = A._instanceType(_this)._eval$1("GetWidget.S");
t4 = B.SearchMailboxUtils_getPaddingAppBar(context, t3._as(t2.get(_this)).responsiveUtils);
t4 = A._setArrayType([A.Container$(_null, _this._buildSearchInputForm$1(context), C.Clip_0, C.Color_0, _null, _null, _null, _null, _null, _null, t4, _null, _null, _null)], type$.JSArray_Widget);
A.Expando__checkType(_this);
t3._as(t2.get(_this)).toString;
t2 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data;
if (!(t2.size._dx >= 1200))
t4.push(G.Divider_6xV);
t4.push(_this._search_mailbox_view$_buildLoadingView$0());
t4.push(A.Expanded$(_this._buildMailboxListView$1(context), 1));
return A.Scaffold$(_null, _null, A.GestureDetector$(_null, A.PointerInterceptor$(A.Container$(_null, A.Column$(t4, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_0, t1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchMailboxView_build_closure(context), _null, _null, _null, _null, _null, _null, _null), _null, _null, true, _null, _null, _null);
},
_search_mailbox_view$_buildLoadingView$0() {
return new A.Obx(new B.SearchMailboxView__buildLoadingView_closure(this), null);
},
_buildSearchInputForm$1(context) {
var t2, t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = B.SearchMailboxUtils_getIconSize(context, t2._as(t1.get(_this)).responsiveUtils);
A.Expando__checkType(_this);
t4 = B.SearchMailboxUtils_getIconSplashRadius(context, t2._as(t1.get(_this)).responsiveUtils);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = A.SvgPicture$asset("assets/images/ic_back.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null);
t6 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t6).toString;
t4 = A.buildIconWeb(_null, _null, t5, C.EdgeInsets_0_0_0_0, _null, t3, new B.SearchMailboxView__buildSearchInputForm_closure(_this, context), t4, A.Intl__message("Back", _null, "back", _null, _null));
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t3 = type$.MediaQuery;
t5 = A.InheritedModel_inheritFrom(context, _null, t3).data;
t5 = t5.size._dx >= 1200 ? 12 : 0;
t5 = A.BorderRadius$all(new A.Radius(t5, t5));
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t3 = A.InheritedModel_inheritFrom(context, _null, t3).data;
t3 = t3.size._dx >= 1200 ? C.Color_4293651952 : C.Color_0;
A.Expando__checkType(_this);
t7 = B.SearchMailboxUtils_getPaddingInputSearchIcon(context, t2._as(t1.get(_this)).responsiveUtils);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t1 = A.SvgPicture$asset("assets/images/ic_search_bar.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t6).toString;
t6 = type$.JSArray_Widget;
return A.Row$(A._setArrayType([t4, A.Expanded$(A.Container$(C.Alignment_0_0, A.Row$(A._setArrayType([new A.Padding(t7, A.buildIconWeb(_null, _null, t1, C.EdgeInsets_0_0_0_0, _null, 40, new B.SearchMailboxView__buildSearchInputForm_closure0(_this, context), _null, A.Intl__message("Search", _null, "search", _null, _null)), _null), A.Expanded$(_this._buildTextFieldSearchInput$1(context), 1), new A.Obx(new B.SearchMailboxView__buildSearchInputForm_closure1(_this, context), _null)], t6), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t3, _null, _null, t5, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, _null, _null, _null, _null), 1)], t6), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildTextFieldSearchInput$1(context) {
var t2, t3, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this)).get$onTextSearchChange();
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).textInputSearchController;
t2 = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? C.TextDirection_0 : C.TextDirection_1;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.TextFieldBuilder$(true, t1, C.Color_4278221567, A.InputDecoration$(_null, C._NoInputBorder_uXA, _null, C.EdgeInsets_0_0_0_0, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_chs3, A.Intl__message("Search for folders", _null, "searchForFolders", _null, _null), _null, _null, _null, _null, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, C.TextInputType_0_null_null, 1, _null, _null, _null, _null, t3, new B.SearchMailboxView__buildTextFieldSearchInput_closure(_this, context), false, t2, C.TextInputAction_4, C.TextStyle_oHY6);
},
_buildMailboxListView$1(context) {
return new A.Obx(new B.SearchMailboxView__buildMailboxListView_closure(this, context), null);
},
_listPopupMenuItemAction$2(context, mailbox) {
var contextMenuActions, _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).dashboardController.spamReportController._spamReportState;
contextMenuActions = _this.listContextMenuItemAction$2(mailbox, J.$eq$(t1.get$value(t1), C.SpamReportState_0));
t1 = A._arrayInstanceType(contextMenuActions)._eval$1("MappedListIterable<1,FocusedMenuItem>");
return A.List_List$of(new A.MappedListIterable(contextMenuActions, new B.SearchMailboxView__listPopupMenuItemAction_closure(_this, context, mailbox), t1), true, t1._eval$1("ListIterable.E"));
},
_mailboxFocusedMenuItem$3(context, contextMenuItem, mailbox) {
var _null = null,
t1 = contextMenuItem.state === C.ContextMenuItemState_0,
t2 = t1 ? 1 : 0.3,
t3 = contextMenuItem.action,
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(this);
return new B.FocusedMenuItem(A.Expanded$(A.AbsorbPointer$(!t1, A.Opacity$(A.Row$(A._setArrayType([A.SvgPicture$asset(A.MailboxActionsExtension_getContextMenuIcon(t3, A._instanceType(this)._eval$1("GetWidget.S")._as(t4._jsWeakMap.get(this)).imagePaths), C.Alignment_0_0, A.ColorNullableExtension_asFilter(A.MailboxActionsExtension_getColorContextMenuIcon(t3)), C.BoxFit_0, 24, _null, 24), C.SizedBox_12_null_null_null, A.Expanded$(A.Text$(A.MailboxActionsExtension_getTitleContextMenu(t3, context), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, A.MailboxActionsExtension_getColorContextMenuTitle(t3), _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, C.FontWeight_4_500, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null, t2)), 1), C.Color_4294967295);
},
_openMailboxMenuAction$3$position(context, mailbox, position) {
var t2, t3, contextMenuActions, t4, _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this)).dashboardController.spamReportController._spamReportState;
contextMenuActions = _this.listContextMenuItemAction$2(mailbox, J.$eq$(t3.get$value(t3), C.SpamReportState_0));
if (contextMenuActions.length === 0)
return;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
if (A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.size.get$shortestSide() < 600 || position == null) {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this));
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).imagePaths;
A.Expando__checkType(_this);
t3.openContextMenuAction$2(context, _this.contextMenuMailboxActionTiles$5$handleMailboxAction(context, t4, mailbox, contextMenuActions, t2._as(t1.get(_this)).get$handleMailboxAction()));
} else {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this));
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).imagePaths;
A.Expando__checkType(_this);
t3.openPopupMenuAction$3(context, position, _this.popupMenuMailboxActionTiles$5$handleMailboxAction(context, t4, mailbox, contextMenuActions, t2._as(t1.get(_this)).get$handleMailboxAction()));
}
}
};
B._SearchMailboxView_GetWidget_AppLoaderMixin.prototype = {};
B._SearchMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin.prototype = {};
B.MailboxSearchedItemBuilder.prototype = {
createState$0() {
return new B._MailboxSearchedItemBuilderState(C._StateLifecycle_0);
}
};
B._MailboxSearchedItemBuilderState.prototype = {
build$1(context) {
return A.DragTarget$(new B._MailboxSearchedItemBuilderState_build_closure(this, context), new B._MailboxSearchedItemBuilderState_build_closure0(this), null, null, type$.List_PresentationEmail);
},
_buildMailboxItem$1(context) {
var t6, t7, t8, _this = this, _null = null,
t1 = A.BorderRadius$circular(8),
t2 = _this.getBackgroundColorItem$1(context),
t3 = A.SearchMailboxUtils_getPaddingItemListView(context, _this._widget._mailbox_searched_item_builder$_responsiveUtils),
t4 = _this._widget._mailbox_searched_item_builder$_presentationMailbox,
t5 = t4.mailboxPath;
if ((t5 == null ? _null : t5.length !== 0) !== true) {
t5 = t4.namespace;
t4 = !(t5 == null || t5.$eq(0, new A.Namespace("Personal"))) && !A.PresentationMailboxExtension_hasParentId(t4);
} else
t4 = true;
t4 = t4 ? C.CrossAxisAlignment_0 : C.CrossAxisAlignment_2;
t5 = _this._widget;
t6 = t5._mailbox_searched_item_builder$_presentationMailbox;
if (!A.PresentationMailboxExtension_get_isSubscribedMailbox(t6)) {
t7 = t6.role;
t7 = t7 != null && t7.value.length !== 0;
} else
t7 = true;
t8 = type$.JSArray_Widget;
return A.InkWell$(false, _null, true, A.Container$(_null, A.Row$(A._setArrayType([A.SvgPicture$asset(t7 ? A.PresentationMailboxExtension_getMailboxIcon(t6, t5._mailbox_searched_item_builder$_imagePaths) : "assets/images/ic_hide_folder.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20), A.Expanded$(new A.Padding(C.EdgeInsets_8_0_8_0, A.Column$(A._setArrayType([A.TextOverflowBuilder$(A.PresentationMailboxExtension_getDisplayName(_this._widget._mailbox_searched_item_builder$_presentationMailbox, context), C.TextStyle_cMb0), _this._mailbox_searched_item_builder$_buildSubtitleItem$0()], t8), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null), 1), _this._buildMenuIcon$1(context)], t8), t4, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t2, _null, _null, t1, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, t3, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._MailboxSearchedItemBuilderState__buildMailboxItem_closure(_this), _null, _this.get$_mailbox_searched_item_builder$_onTapMailboxAction(), _null, _null, _null, _null, _null, _null, _null);
},
_mailbox_searched_item_builder$_onTapMailboxAction$0() {
var t3,
t1 = this._widget,
t2 = t1._mailbox_searched_item_builder$_presentationMailbox;
if (!A.PresentationMailboxExtension_get_isSubscribedMailbox(t2)) {
t3 = t2.role;
t3 = t3 != null && t3.value.length !== 0;
} else
t3 = true;
if (t3)
t1.onClickOpenMailboxAction.call$1(t2);
},
_mailbox_searched_item_builder$_buildSubtitleItem$0() {
var t1 = this._widget._mailbox_searched_item_builder$_presentationMailbox,
t2 = t1.mailboxPath,
t3 = t2 == null;
if ((t3 ? null : t2.length !== 0) === true)
return A.TextOverflowBuilder$(t3 ? "" : t2, C.TextStyle_chs2);
else {
t2 = t1.namespace;
if (!(t2 == null || t2.$eq(0, new A.Namespace("Personal"))) && !A.PresentationMailboxExtension_hasParentId(t1))
return A.TextOverflowBuilder$(A.PresentationMailboxExtension_get_emailTeamMailBoxes(this._widget._mailbox_searched_item_builder$_presentationMailbox), C.TextStyle_chs2);
else
return C.SizedBox_0_0_null_null;
}
},
_buildMenuIcon$1(context) {
var t1, _this = this, _null = null;
if (_this.isHoverItem)
t1 = _this._widget.listPopupMenuItemAction.length !== 0;
else
t1 = false;
if (t1) {
_this._widget.toString;
return A.InkWell$(false, _null, true, A.SvgPicture$asset("assets/images/ic_composer_menu.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._MailboxSearchedItemBuilderState__buildMenuIcon_closure(_this, context), _null, _null, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
getBackgroundColorItem$1(context) {
if (this.isHoverItem)
return C.Color_2581915884;
else {
this._widget.toString;
return A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.size._dx >= 1200 ? C.Color_4294375158 : C.Color_0;
}
}
};
B.BaseEmailItemTile.prototype = {
buildMailboxContain$3(context, isSearchEmailRunning, email) {
var t1, t2, _null = null;
if (isSearchEmailRunning && email.mailboxContain != null) {
t1 = A.BorderRadius$circular(10);
t2 = email.mailboxContain;
t2 = t2 == null ? _null : A.PresentationMailboxExtension_getDisplayName(t2, context);
return A.Container$(_null, A.TextOverflowBuilder$(t2 == null ? "" : t2, D.TextStyle_IMh), C.Clip_0, _null, D.BoxConstraints_EcO1, new A.BoxDecoration(D.Color_4293322239, _null, _null, t1, _null, _null, _null, C.BoxShape_0), _null, _null, _null, C.EdgeInsetsDirectional_8_0_0_0, D.EdgeInsetsDirectional_8_3_8_3, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
isSearchEnabled$2(isSearchEmailRunning, query) {
var t1;
if (isSearchEmailRunning)
t1 = (query == null ? null : query.value.length !== 0) === true;
else
t1 = false;
return t1;
},
informationSender$2(email, mailbox) {
var t2,
t1 = mailbox == null;
if ((t1 ? null : J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleSent())) !== true)
if ((t1 ? null : J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleDrafts())) !== true) {
t2 = (t1 ? null : A.PresentationMailboxExtension_get_isOutbox(mailbox)) === true;
t1 = t2;
} else
t1 = true;
else
t1 = true;
if (t1)
return B.PresentationEmailExtension_recipientsName(email);
else
return email.getSenderName$0();
},
buildInformationSender$5(context, email, mailbox, isSearchEmailRunning, query) {
var t1, t2, t3, t4, _this = this, _null = null;
if (_this.isSearchEnabled$2(isSearchEmailRunning, query)) {
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? _this.informationSender$2(email, mailbox) : A.StringExtension_get_overflow(_this.informationSender$2(email, mailbox));
t2 = query == null ? _null : query.value;
if (t2 == null)
t2 = "";
t3 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
t3 = A.TextStyle$(_null, _null, t3, _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, !email.get$hasRead() ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t4 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
return new B.RichTextBuilder(t1, t2, t3, A.TextStyle$(_null, D.Color_1023441663, t4, _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, !email.get$hasRead() ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null)).build$0();
} else {
t1 = _this.informationSender$2(email, mailbox);
t2 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
return A.TextOverflowBuilder$(t1, A.TextStyle$(_null, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, !email.get$hasRead() ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, C.TextOverflow_1, _null, _null, _null, _null));
}
},
buildEmailTitle$4(context, email, isSearchEmailRunning, query) {
var t1, t2, t3, t4, _null = null;
if (this.isSearchEnabled$2(isSearchEmailRunning, query)) {
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? email.getEmailTitle$0() : A.StringExtension_get_overflow(email.getEmailTitle$0());
t2 = query == null ? _null : query.value;
if (t2 == null)
t2 = "";
t3 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
t3 = A.TextStyle$(_null, _null, t3, _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, !email.get$hasRead() ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t4 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
return new B.RichTextBuilder(t1, t2, t3, A.TextStyle$(_null, D.Color_1023441663, t4, _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, !email.get$hasRead() ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null)).build$0();
} else {
t1 = email.getEmailTitle$0();
t2 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
return A.TextOverflowBuilder$(t1, A.TextStyle$(_null, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, !email.get$hasRead() ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null));
}
},
buildEmailPartialContent$4(context, email, isSearchEmailRunning, query) {
var t1, t2;
if (this.isSearchEnabled$2(isSearchEmailRunning, query)) {
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t1 = A.Bidi_isRtlLanguage(t1.get$languageCode(t1)) ? email.getPartialContent$0() : A.StringExtension_get_overflow(email.getPartialContent$0());
t2 = query == null ? null : query.value;
return new B.RichTextBuilder(t1, t2 == null ? "" : t2, E.TextStyle_jjv, D.TextStyle_6Hm).build$0();
} else
return A.TextOverflowBuilder$(email.getPartialContent$0(), E.TextStyle_jjv);
},
buildDateTime$2(context, email) {
var _null = null,
t1 = B.PresentationEmailExtension_getReceivedAt(email, context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale._rawToString$1("-"), _null),
t2 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
return A.Text$(t1, _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, A.TextStyle$(_null, _null, t2, _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, !email.get$hasRead() ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null, _null, _null);
},
buildIconAnsweredOrForwarded$3$height$presentationEmail$width(height, presentationEmail, width) {
if (presentationEmail.get$isAnswered() && presentationEmail.get$isForwarded())
return this._iconAnsweredOrForwardedWidget$3$height$iconPath$width(height, "assets/images/ic_reply_and_forward.svg", width);
else if (presentationEmail.get$isAnswered())
return this._iconAnsweredOrForwardedWidget$3$height$iconPath$width(height, "assets/images/ic_reply.svg", width);
else if (presentationEmail.get$isForwarded())
return this._iconAnsweredOrForwardedWidget$3$height$iconPath$width(height, "assets/images/ic_forwarded.svg", width);
else
return D.SizedBox_16_16_null_null;
},
buildIconAnsweredOrForwarded$1$presentationEmail(presentationEmail) {
return this.buildIconAnsweredOrForwarded$3$height$presentationEmail$width(null, presentationEmail, null);
},
_iconAnsweredOrForwardedWidget$3$height$iconPath$width(height, iconPath, width) {
var t1 = width == null ? 20 : width,
t2 = height == null ? 20 : height;
return A.SvgPicture$asset(iconPath, C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4289640386), C.BoxFit_0, t2, null, t1);
},
messageToolTipForAnsweredOrForwarded$2(context, presentationEmail) {
var _null = null;
if (presentationEmail.get$isAnswered() && presentationEmail.get$isForwarded()) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Replied and Forwarded message", _null, "repliedAndForwardedMessage", _null, _null);
} else if (presentationEmail.get$isAnswered()) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Replied message", _null, "repliedMessage", _null, _null);
} else if (presentationEmail.get$isForwarded()) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Forwarded message", _null, "forwardedMessage", _null, _null);
} else
return _null;
},
buildCalendarEventIcon$2$context$presentationEmail(context, presentationEmail) {
var t1 = B.ItemEmailTileStyles_getSpaceCalendarEventIcon(context, this.BaseEmailItemTile_responsiveUtils);
return new A.Padding(t1, A.SvgPicture$asset("assets/images/ic_calendar_event.svg", C.Alignment_0_0, presentationEmail.get$hasRead() ? A.ColorNullableExtension_asFilter(C.Color_4286680217) : A.ColorNullableExtension_asFilter(C.Color_4280032031), C.BoxFit_0, 20, null, 20), null);
}
};
B.ThreadView.prototype = {
build$1(context) {
var t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null,
t1 = type$.JSArray_Widget,
t2 = A._setArrayType([], t1);
if (_this._thread_view$_responsiveUtils.isTabletLarge$1(context))
t2.push(D.VerticalDivider_yCR);
t3 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size.get$shortestSide() < 600) {
t4 = A.InheritedModel_inheritFrom(context, _null, t3).data;
t4 = t4.get$orientation(t4) === C.Orientation_1;
} else
t4 = false;
if (A.InheritedModel_inheritFrom(context, _null, t3).data.size.get$shortestSide() < 600) {
t5 = A.InheritedModel_inheritFrom(context, _null, t3).data;
t5 = t5.get$orientation(t5) === C.Orientation_1;
} else
t5 = false;
t6 = A._setArrayType([], t1);
t7 = A.InheritedModel_inheritFrom(context, _null, t3).data;
if (!(t7.size._dx >= 1200)) {
t7 = A._setArrayType([new A.Obx(new B.ThreadView_build_closure(_this, context), _null)], t1);
t8 = A.InheritedModel_inheritFrom(context, _null, t3).data;
t8 = !(t8.size._dx >= 1200) ? 8 : 0;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t9 = A.Intl__message("Search emails", _null, "search_emails", _null, _null);
t10 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t7.push(A.Container$(_null, A.SearchBarView$(_this._thread_view$_imagePaths, t9, _null, A._instanceType(_this)._eval$1("GetWidget.S")._as(t10._jsWeakMap.get(_this)).get$goToSearchView()), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, new A.EdgeInsets(0, 0, 0, 0), new A.EdgeInsets(16, t8, 16, t8), _null, _null, _null));
t7.push(D.SpamReportBannerWidget_null);
t7.push(D.QuotasBannerWidget_null);
t7.push(_this._thread_view$_buildVacationNotificationMessage$1(context));
C.JSArray_methods.addAll$1(t6, t7);
}
t6.push(new A.Obx(new B.ThreadView_build_closure0(_this, context), _null));
t6.push(new A.Obx(new B.ThreadView_build_closure1(_this, context), _null));
if (!(A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx >= 1200))
t6.push(_this._thread_view$_buildMarkAsMailboxReadLoading$1(context));
t6.push(new A.Obx(new B.ThreadView_build_closure2(_this), _null));
t6.push(A.Expanded$(_this._buildListEmail$1(context), 1));
t6.push(new A.Obx(new B.ThreadView_build_closure3(_this), _null));
t6.push(_this._buildListButtonSelectionForMobile$1(context));
t2.push(A.Expanded$(A.SafeArea$(true, A.Column$(t6, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), t5, C.EdgeInsets_0_0_0_0, t4, true), 1));
t2 = F.Portal$(A.Row$(t2, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t3 = t3._jsWeakMap;
t4 = A._instanceType(_this)._eval$1("GetWidget.S");
t5 = t4._as(t3.get(_this)).listEmailController;
A.Expando__checkType(_this);
return new A.WillPopScope(A.GestureDetector$(_null, A.Scaffold$(_null, C.Color_4294967295, t2, _null, _null, true, A.Column$(A._setArrayType([A.Container$(_null, new B.ScrollToTopButtonWidget(t5, t4._as(t3.get(_this)).get$scrollToTop(), A.SvgPicture$asset("assets/images/ic_arrow_up_outline.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4294967295), C.BoxFit_0, 28, _null, 28), _null), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, C.EdgeInsetsDirectional_0_0_4_0, _null, _null, _null), C.SizedBox_null_24_null_null, _this._buildFloatingButtonCompose$1(context)], t1), C.CrossAxisAlignment_2, C.MainAxisAlignment_1, C.MainAxisSize_1, C.VerticalDirection_1), _null, false), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.ThreadView_build_closure4(), _null, _null, _null, _null, _null, _null, _null), new B.ThreadView_build_closure5(_this, context), _null);
},
_thread_view$_buildVacationNotificationMessage$1(context) {
return new A.Obx(new B.ThreadView__buildVacationNotificationMessage_closure(this), null);
},
_buildListButtonSelectionForMobile$1(context) {
return new A.Obx(new B.ThreadView__buildListButtonSelectionForMobile_closure(this, context), null);
},
_buildFloatingButtonCompose$1(context) {
var t1 = A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data;
if (t1.size._dx >= 1200)
return C.SizedBox_0_0_null_null;
return new A.Obx(new B.ThreadView__buildFloatingButtonCompose_closure(this), null);
},
_filterMessagesCupertinoActionTile$2(context, optionCurrent) {
var t1 = type$.MappedListIterable_FilterMessageOption_Widget;
return A.List_List$of(new A.MappedListIterable(A._setArrayType([C.FilterMessageOption_2, C.FilterMessageOption_1, C.FilterMessageOption_3], type$.JSArray_FilterMessageOption), new B.ThreadView__filterMessagesCupertinoActionTile_closure(this, context, optionCurrent), t1), true, t1._eval$1("ListIterable.E"));
},
_buildListEmail$1(context) {
var _null = null,
t1 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data;
t1 = t1.size._dx >= 1200 ? C.EdgeInsets_4_0_4_0 : C.EdgeInsets_0_0_0_0;
return A.Container$(C.Alignment_0_0, new A.Obx(new B.ThreadView__buildListEmail_closure(this, context), _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, t1, C.EdgeInsets_0_0_0_0, _null, _null, _null);
},
_buildResultListEmail$2(context, listPresentationEmail) {
var _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).EmailActionController_mailboxDashBoardController.currentSelectMode;
if (t1.get$value(t1) === C.SelectMode_1)
return !listPresentationEmail.get$isEmpty(listPresentationEmail) ? A.RefreshIndicator$(_this._buildListEmailBody$2(context, listPresentationEmail), C.Color_4278221567, new B.ThreadView__buildResultListEmail_closure(_this)) : A.RefreshIndicator$(_this._buildEmptyEmail$1(context), C.Color_4278221567, new B.ThreadView__buildResultListEmail_closure0(_this));
else
return !listPresentationEmail.get$isEmpty(listPresentationEmail) ? _this._buildListEmailBody$2(context, listPresentationEmail) : _this._buildEmptyEmail$1(context);
},
_buildListEmailBody$2(context, listPresentationEmail) {
var t2, t3, t4, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this)).focusNodeKeyBoard;
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).get$handleKeyEvent();
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).listEmailController;
t2 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data.size._dx >= 1200 ? 52 : 98;
return new A.NotificationListener(new B.ThreadView__buildListEmailBody_closure(_this), A.Focus$(true, _null, A.ListView$builder(t1, new B.ThreadView__buildListEmailBody_closure0(_this, listPresentationEmail), J.get$length$asx(listPresentationEmail.get$value(listPresentationEmail)), t2, D.PageStorageKey_SJ9, C.EdgeInsets_0_0_0_0, C.AlwaysScrollableScrollPhysics_null, _null, C.Axis_1, false), _null, _null, _null, t3, true, _null, _null, t4, _null, _null, _null), _null, type$.NotificationListener_ScrollNotification);
},
_buildEmailItem$2(context, presentationEmail) {
var t1 = A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data;
if (t1.size._dx >= 1200)
return this._buildEmailItemDraggable$2(context, presentationEmail);
else
return this._buildEmailItemNotDraggable$2(context, presentationEmail);
},
_buildEmailItemDraggable$2(context, presentationEmail) {
var t2, t3, t4, t5, isShowingEmailContent, selectModeAll, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this)).listEmailDrag;
t4 = _this._buildFeedBackWidget$1(context);
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.selectedEmail;
t5 = t5.get$value(t5);
t5 = t5 == null ? _null : t5.id;
isShowingEmailContent = J.$eq$(t5, presentationEmail.id);
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.currentSelectMode;
selectModeAll = t5.get$value(t5);
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter;
t5 = t5.get$value(t5).text;
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t2 = t1.simpleSearchIsActivated;
if (!t2.get$value(t2)) {
t1 = t1.advancedSearchIsActivated;
t1 = t1.get$value(t1);
} else
t1 = true;
t1 = B.EmailTileBuilder$(context, presentationEmail, selectModeAll, t5, isShowingEmailContent, true, t1, presentationEmail.mailboxContain, _null, _null).build$0();
return A.GestureDetector$(C.HitTestBehavior_2, B.Draggable$(_this._buildEmailItemNotDraggable$2(context, presentationEmail), t1, t3, B.drag_target__pointerDragAnchorStrategy$closure(), t4, new B.ThreadView__buildEmailItemDraggable_closure(_this), new B.ThreadView__buildEmailItemDraggable_closure0(_this, presentationEmail), new B.ThreadView__buildEmailItemDraggable_closure1(_this), type$.List_PresentationEmail), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure2(), _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure3(), _null, _null, _null, _null, _null);
},
_buildEmailItemNotDraggable$2(context, presentationEmail) {
var t2, t3, t4, isShowingEmailContent, selectModeAll, t5, t6, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.selectedEmail;
t3 = t3.get$value(t3);
t3 = t3 == null ? _null : t3.id;
t4 = presentationEmail.id;
isShowingEmailContent = J.$eq$(t3, t4);
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.currentSelectMode;
selectModeAll = t3.get$value(t3);
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this));
t5 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data;
t3 = t3.getSwipeDirection$2(t5.size._dx >= 1200, selectModeAll);
t5 = A.CircleAvatar$(D.Color_4290764543, !presentationEmail.get$hasRead() ? A.SvgPicture$asset("assets/images/ic_mark_as_read.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null) : A.SvgPicture$asset("assets/images/ic_unread_email.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null), 24);
t6 = type$.AppLocalizations;
if (!presentationEmail.get$hasRead()) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t6).toString;
t6 = A.Intl__message("Mark as read", _null, "mark_as_read", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t6).toString;
t6 = A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
}
t6 = A.Container$(_null, new A.Padding(E.EdgeInsetsDirectional_16_0_0_0, new A.Align(C.AlignmentDirectional_m1_0, _null, _null, A.Row$(A._setArrayType([t5, D.SizedBox_11_null_null_null, A.Text$(t6, _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_kmC2, _null, _null, _null, _null, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null), C.Clip_0, E.Color_4292865791, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter;
t5 = t5.get$value(t5).text;
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t2 = t1.simpleSearchIsActivated;
if (!t2.get$value(t2)) {
t1 = t1.advancedSearchIsActivated;
t1 = t1.get$value(t1);
} else
t1 = true;
t1 = B.EmailTileBuilder$(context, presentationEmail, selectModeAll, t5, isShowingEmailContent, false, t1, presentationEmail.mailboxContain, _null, _null);
t1._emailActionClick = new B.ThreadView__buildEmailItemNotDraggable_closure(_this, context);
t1._onMoreActionClick = new B.ThreadView__buildEmailItemNotDraggable_closure0(_this, context);
return A.Dismissible$(t6, t1.build$0(), new B.ThreadView__buildEmailItemNotDraggable_closure1(_this, context, presentationEmail), t3, new A.ValueKey(t4, type$.ValueKey_nullable_EmailId), _null, C.Duration_300000);
},
_buildFeedBackWidget$1(context) {
var _null = null;
return new A.SizedBox(_null, 60, A.Material$(C.Duration_200000, true, A.BorderRadius$circular(10), new A.Padding(C.EdgeInsets_16_16_16_16, A.Row$(A._setArrayType([A.SvgPicture$asset("assets/images/ic_filter_message_all.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4294967295), C.BoxFit_0, 24, _null, 24), C.SizedBox_10_null_null_null, new A.Obx(new B.ThreadView__buildFeedBackWidget_closure(this, context), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), C.Clip_1, C.Color_4278221567, 0, _null, _null, _null, _null, _null, C.MaterialType_0), _null);
},
_buildEmptyEmail$1(context) {
return new A.Obx(new B.ThreadView__buildEmptyEmail_closure(this, context), null);
},
_getMessageEmptyEmail$1(context) {
var t2, t3, t4, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t4 = t3.simpleSearchIsActivated;
if (!t4.get$value(t4)) {
t3 = t3.advancedSearchIsActivated;
t3 = t3.get$value(t3);
} else
t3 = true;
if (t3) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("No emails are matching your search", _null, "no_emails_matching_your_search", _null, _null);
} else {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.filterMessageOption;
if (t3.get$value(t3) === C.FilterMessageOption_0) {
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).get$isNewFolderCreated();
} else
t1 = false;
t2 = type$.AppLocalizations;
if (t1) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
return A.Intl__message("Your folder is just created", _null, "folderCreatedTitle", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
return A.Intl__message("We're sorry, there are no emails that match your current filter.", _null, "noEmailMatchYourCurrentFilter", _null, _null);
}
}
},
_getSubMessageEmptyEmail$1(context) {
var t2, t3, t4, _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t4 = t3.simpleSearchIsActivated;
if (!t4.get$value(t4)) {
t3 = t3.advancedSearchIsActivated;
t3 = t3.get$value(t3);
} else
t3 = true;
if (!t3) {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.filterMessageOption;
t3 = t3.get$value(t3) !== C.FilterMessageOption_0;
} else
t3 = false;
if (t3) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Let's reduce some filters and try again", _null, "reduceSomeFiltersAndTryAgain", _null, _null);
} else {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.filterMessageOption;
if (t3.get$value(t3) === C.FilterMessageOption_0) {
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).get$isNewFolderCreated();
} else
t1 = false;
if (t1) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("To begin using this folder, you should add some rules to organize all of your mail in your own way.", _null, "folderCreatedMessage", _null, _null);
} else
return _null;
}
},
_markAsEmailSpamOrUnSpamContextMenuItemAction$3(context, email, mailboxContain) {
var t3, t4, _null = null,
t1 = mailboxContain == null,
t2 = (t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam())) === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
t2 = A.SvgPicture$asset(t2, C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 24, _null, 24);
t1 = t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam());
t3 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
t3 = type$.MediaQuery;
t4 = A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
A.InheritedModel_inheritFrom(context, _null, t3).toString;
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t4, D.ValueKey_mark_as_spam_or_un_spam_action, t2, t1);
t1.onCupertinoActionSheetActionClick = new B.ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure(this, context, mailboxContain);
return t1.build$0();
},
_openInNewTabContextMenuItemAction$2(context, email) {
var t2, t3, t4, _null = null,
t1 = A.SvgPicture$asset("assets/images/ic_open_in_new_tab.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 24, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2 = A.Intl__message("Open in New Tab", _null, "openInNewTab", _null, _null);
t3 = type$.MediaQuery;
t4 = A.InheritedModel_inheritFrom(context, _null, t3).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
A.InheritedModel_inheritFrom(context, _null, t3).toString;
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t4, D.ValueKey_open_in_new_tab_action, t1, t2);
t1.onCupertinoActionSheetActionClick = new B.ThreadView__openInNewTabContextMenuItemAction_closure(this, context);
return t1.build$0();
},
_buildMarkAsSpamPopupMenuItem$3(context, email, mailboxContain) {
var t3, _null = null,
t1 = mailboxContain == null,
t2 = (t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam())) === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
t1 = t1 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam());
t3 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
return A.PopupMenuItem$(this.popupItem$5$colorIcon$onCallbackAction$styleName(t2, t1, C.Color_4278221567, new B.ThreadView__buildMarkAsSpamPopupMenuItem_closure(this, context, mailboxContain, email), C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
_buildOpenInNewTabPopupMenuItem$3(context, email, mailboxContain) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.PopupMenuItem$(this.popupItem$5$colorIcon$onCallbackAction$styleName("assets/images/ic_open_in_new_tab.svg", A.Intl__message("Open in New Tab", _null, "openInNewTab", _null, _null), C.Color_4278221567, new B.ThreadView__buildOpenInNewTabPopupMenuItem_closure(this, context, email), C.TextStyle_oHY0), true, 48, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
_thread_view$_buildMarkAsMailboxReadLoading$1(context) {
return new A.Obx(new B.ThreadView__buildMarkAsMailboxReadLoading_closure(this, context), null);
}
};
B._ThreadView_GetWidget_AppLoaderMixin.prototype = {};
B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin.prototype = {};
B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin_PopupMenuWidgetMixin.prototype = {};
B.AppBarThreadWidget.prototype = {
build$1(context) {
var _this = this;
return new B.WebAppBarThreadWidget(_this.mailboxSelected, _this.listEmailSelected, _this.selectMode, _this.filterOption, _this.openMailboxAction, _this.cancelEditThreadAction, _this.emailSelectionAction, _this.onPopupMenuFilterEmailAction, _this.onContextMenuFilterEmailAction, D.ValueKey_web_app_bar_thread_widget);
}
};
B.DefaultWebAppBarThreadWidget.prototype = {
build$1(context) {
return new A.LayoutBuilder(new B.DefaultWebAppBarThreadWidget_build_closure(this), null);
}
};
B.SelectionWebAppBarThreadWidget.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_close.svg", C.Color_4278221567, 28, D.ValueKey_cancel_selection_button, _null, 1 / 0, _null, _this.cancelEditThreadAction, C.EdgeInsets_3_3_3_3, A.Intl__message("Cancel", _null, "cancel", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t3 = _this.listEmailSelected;
t4 = t3.length;
t4 = A._setArrayType([t2, A.Expanded$(A.Text$(A.Intl__message("" + t4 + " selected", _null, "count_email_selected", A._setArrayType([t4], type$.JSArray_Object), _null), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, C.TextStyle_yzp0, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
t2 = _this.mailboxSelected;
t5 = t2 == null;
if ((t5 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
t6 = B.ListPresentationEmailExtension_get_isAllEmailRead(t3) ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailRead(t3)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t7 = A.Intl__message("Unread", _null, "unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t7 = A.Intl__message("Read", _null, "read", _null, _null);
}
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t6, _null, 22, D.ValueKey_ESz, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure(_this), _null, t7));
}
t6 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t3) ? "assets/images/ic_unstar.svg" : "assets/images/ic_star.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailStarred(t3)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t3 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t3 = A.Intl__message("Starred", _null, "starred", _null, _null);
}
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t6, _null, 22, D.ValueKey_ntW, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure0(_this), _null, t3));
if ((t5 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_move.svg", _null, 20, D.ValueKey_move_email_selection_button, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure1(_this), _null, A.Intl__message("Move message", _null, "move_message", _null, _null)));
}
if ((t5 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
t3 = (t5 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
if ((t5 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t3, _null, 20, D.ValueKey_EQ3, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure2(_this), _null, t2));
}
t2 = _this.get$_deletePermanentlyValid() ? "assets/images/ic_delete_composer.svg" : "assets/images/ic_delete.svg";
t3 = _this.get$_deletePermanentlyValid() ? C.Color_4293281350 : C.Color_4278221567;
if (_this.get$_deletePermanentlyValid()) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t1 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t1 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t2, t3, 20, D.ValueKey_delete_email_selection_button, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure3(_this), _null, t1));
return A.Container$(_null, A.Row$(t4, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, C.BoxConstraints_mlX2, _null, _null, _null, _null, _null, C.EdgeInsets_16_8_16_8, _null, _null, _null);
},
get$_deletePermanentlyValid() {
var t1 = this.mailboxSelected,
t2 = t1 == null;
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleTrash())) !== true)
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleDrafts())) !== true)
t1 = (t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleSpam())) === true;
else
t1 = true;
else
t1 = true;
return t1;
}
};
B.WebAppBarThreadWidget.prototype = {
build$1(context) {
var t3, _this = this,
t1 = type$.ImagePaths,
t2 = _this.mailboxSelected;
if (_this.selectMode === C.SelectMode_1) {
$.$get$Get();
t3 = $.GetInstance__getInstance;
return new B.DefaultWebAppBarThreadWidget((t3 == null ? $.GetInstance__getInstance = C.C_GetInstance : t3).find$1$1$tag(0, null, t1), t2, _this.filterOption, _this.openMailboxAction, _this.onPopupMenuFilterEmailAction, _this.onContextMenuFilterEmailAction, D.ValueKey_woc);
} else {
$.$get$Get();
t3 = $.GetInstance__getInstance;
return new B.SelectionWebAppBarThreadWidget((t3 == null ? $.GetInstance__getInstance = C.C_GetInstance : t3).find$1$1$tag(0, null, t1), t2, _this.listEmailSelected, _this.cancelEditThreadAction, _this.emailSelectionAction, D.ValueKey_Q1W);
}
}
};
B.BannerDeleteAllSpamEmailsWidget.prototype = {
build$1(context) {
var t1, t2, t3, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ImagePaths);
t1 = A.SvgPicture$asset("assets/images/ic_delete_rule_mobile.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20);
t2 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t3 = A.Text$(A.Intl__message("Delete all spam emails now", _null, "deleteAllSpamEmailsNow", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_kmg0, _null, _null, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t2 = type$.JSArray_Widget;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_tLn8, true, new A.Padding(D.EdgeInsetsDirectional_16_10_16_10, A.Row$(A._setArrayType([t1, C.SizedBox_8_null_null_null, A.Expanded$(A.Column$(A._setArrayType([t3, A.Text$(A.Intl__message("All messages in Spam will be deleted if you reach limited storage.", _null, "bannerDeleteAllSpamEmailsMessage", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, E.TextStyle_jjv, _null, _null, _null, _null, _null)], t2), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t2), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, this.onTapAction, _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0), C.Clip_0, _null, _null, D.ShapeDecoration_2jN, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.BannerEmptyTrashWidget.prototype = {
build$1(context) {
var t1, t2, t3, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ImagePaths);
t1 = A.SvgPicture$asset("assets/images/ic_delete_rule_mobile.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20);
t2 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t3 = A.Text$(A.Intl__message("Empty trash now", _null, "empty_trash_now", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_kmg0, _null, _null, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t2).toString;
t2 = type$.JSArray_Widget;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_tLn8, true, new A.Padding(D.EdgeInsetsDirectional_16_10_16_10, A.Row$(A._setArrayType([t1, C.SizedBox_8_null_null_null, A.Expanded$(A.Column$(A._setArrayType([t3, A.Text$(A.Intl__message("All messages in Trash will be deleted if you reach limited storage.", _null, "message_delete_all_email_in_trash_button", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, E.TextStyle_jjv, _null, _null, _null, _null, _null)], t2), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t2), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, this.onTapAction, _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0), C.Clip_0, _null, _null, D.ShapeDecoration_2jN, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.BottomBarThreadSelectionWidget.prototype = {
build$1(context) {
var t4, t5, t6, _this = this, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = _this._currentMailbox,
t3 = t2 == null;
if ((t3 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
t4 = _this._listSelectionEmail;
t5 = type$.AppLocalizations;
if (B.ListPresentationEmailExtension_get_isAllEmailRead(t4)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t5 = A.Intl__message("Unread", _null, "unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t5 = A.Intl__message("Read", _null, "read", _null, _null);
}
t4 = B.ListPresentationEmailExtension_get_isAllEmailRead(t4) ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg";
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, t4, C.TextDirection_1, _null, 20, 8, false, D.ValueKey_qXd, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.BottomBarThreadSelectionWidget_build_closure(_this), E.EdgeInsets_8_12_8_12, t5, C.TextAlign_2, D.TextStyle_kmC1, _null, _null, _null, _null, _this._bottom_bar_thread_selection_widget$_verticalDirection$1(context), _null), 1));
}
t4 = _this._listSelectionEmail;
t5 = type$.AppLocalizations;
if (B.ListPresentationEmailExtension_get_isAllEmailStarred(t4)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t6 = A.Intl__message("Unstar", _null, "un_star", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t6 = A.Intl__message("Star", _null, "star", _null, _null);
}
t4 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t4) ? "assets/images/ic_unstar.svg" : "assets/images/ic_star.svg";
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, t4, C.TextDirection_1, _null, 20, 8, false, D.ValueKey_2T7, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.BottomBarThreadSelectionWidget_build_closure0(_this), E.EdgeInsets_8_12_8_12, t6, C.TextAlign_2, D.TextStyle_kmC1, _null, _null, _null, _null, _this._bottom_bar_thread_selection_widget$_verticalDirection$1(context), _null), 1));
if ((t3 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, "assets/images/ic_move.svg", C.TextDirection_1, _null, 20, 8, false, D.ValueKey_g78, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.BottomBarThreadSelectionWidget_build_closure1(_this), E.EdgeInsets_8_12_8_12, A.Intl__message("Move", _null, "move", _null, _null), C.TextAlign_2, D.TextStyle_kmC1, _null, _null, _null, _null, _this._bottom_bar_thread_selection_widget$_verticalDirection$1(context), _null), 1));
}
if ((t3 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
if ((t3 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t4 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t4 = A.Intl__message("Spam", _null, "spam", _null, _null);
}
t2 = (t3 ? _null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, t2, C.TextDirection_1, _null, 20, 8, false, D.ValueKey_s3P, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.BottomBarThreadSelectionWidget_build_closure2(_this), E.EdgeInsets_8_12_8_12, t4, C.TextAlign_2, D.TextStyle_kmC1, _null, _null, _null, _null, _this._bottom_bar_thread_selection_widget$_verticalDirection$1(context), _null), 1));
}
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t2 = A.Intl__message("Delete", _null, "delete", _null, _null);
t3 = _this.get$canDeletePermanently() ? "assets/images/ic_delete_composer.svg" : "assets/images/ic_delete.svg";
t4 = _this.get$canDeletePermanently() ? C.Color_4293281350 : C.Color_4278221567;
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, t3, C.TextDirection_1, t4, 20, 8, false, D.ValueKey_delete_selected_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.BottomBarThreadSelectionWidget_build_closure3(_this), E.EdgeInsets_8_12_8_12, t2, C.TextAlign_2, D.TextStyle_kmC1, _null, _null, _null, _null, _this._bottom_bar_thread_selection_widget$_verticalDirection$1(context), _null), 1));
return A.Container$(_null, new A.IntrinsicHeight(A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), C.Clip_0, _null, _null, D.BoxDecoration_CG2, _null, _null, _null, _null, _null, _null, _null, _null);
},
get$canDeletePermanently() {
var t1 = this._currentMailbox,
t2 = t1 == null;
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleTrash())) !== true)
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleDrafts())) !== true)
t1 = (t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleSpam())) === true;
else
t1 = true;
else
t1 = true;
return t1;
},
_bottom_bar_thread_selection_widget$_verticalDirection$1(context) {
var t2, _null = null,
t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t2 = t2.get$orientation(t2) === C.Orientation_1;
} else
t2 = false;
if (!t2) {
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t1 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t1 = t1.get$orientation(t1) === C.Orientation_0;
} else
t1 = false;
t1 = t1 || this._bottom_bar_thread_selection_widget$_responsiveUtils.isTabletLarge$1(context);
} else
t1 = true;
return t1;
}
};
B.EmailTileBuilder.prototype = {
_onHoverIconChanged$2(isHover, setState) {
setState.call$1(new B.EmailTileBuilder__onHoverIconChanged_closure(this, isHover));
},
_onHoverItemChanged$2(isHover, setState) {
setState.call$1(new B.EmailTileBuilder__onHoverItemChanged_closure(this, isHover));
},
build$0() {
var _this = this, _null = null,
t1 = _this._wrapContainerForTile$1(_this._buildListTile$0()),
t2 = _this._wrapContainerForTile$1(_this._buildListTileTablet$0());
return A.Container$(_null, A.ResponsiveWidget$(_this._wrapContainerForTile$1(_this._buildListTileForDesktop$0()), _null, _null, t1, _this.BaseEmailItemTile_responsiveUtils, t2, _null), C.Clip_0, C.Color_0, _null, _null, _null, _null, _null, _null, _this.padding, _null, _null, _null);
},
_wrapContainerForTile$1(tile) {
var _null = null,
t1 = this._getMarginItem$0(),
t2 = this._getPaddingItem$0();
return A.Container$(C.Alignment_0_0, tile, C.Clip_0, _null, _null, this._getDecorationItem$0(), _null, _null, _null, t1, t2, _null, _null, _null);
},
_getMarginItem$0() {
if (A.InheritedModel_inheritFrom(this._email_tile_web_builder$_context, null, type$.MediaQuery).data.size._dx >= 1200)
return D.EdgeInsets_0_3_0_0;
else
return D.EdgeInsetsDirectional_16_3_16_0;
},
_getPaddingItem$0() {
if (A.InheritedModel_inheritFrom(this._email_tile_web_builder$_context, null, type$.MediaQuery).data.size._dx >= 1200)
return C.EdgeInsets_0_8_0_8;
else
return D.EdgeInsetsDirectional_0_8_8_8;
},
_getDecorationItem$0() {
var _this = this, _null = null;
if (_this._selectModeAll === C.SelectMode_0 && _this._presentationEmail.selectMode === C.SelectMode_0 || _this.isDrag || _this._isShowingEmailContent)
return new A.BoxDecoration(C.Color_251689727, _null, _null, A.BorderRadius$circular(14), _null, _null, _null, C.BoxShape_0);
else
return new A.BoxDecoration(C.Color_4294967295, _null, _null, A.BorderRadius$circular(0), _null, _null, _null, C.BoxShape_0);
},
_buildListTile$0() {
var t5, t6, t7, t8, _this = this, _null = null,
t1 = A.InkWell$(false, _null, true, new A.Padding(D.EdgeInsetsDirectional_0_8_12_0, _this._email_tile_web_builder$_buildAvatarIcon$0(), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailTileBuilder__buildListTile_closure(_this), _null, _null, _null, _null, _null, _null, _null),
t2 = type$.JSArray_Widget,
t3 = A._setArrayType([], t2),
t4 = _this._presentationEmail;
if (!t4.get$hasRead())
t3.push(new A.Padding(D.EdgeInsetsDirectional_0_0_5_0, A.SvgPicture$asset("assets/images/ic_unread_status.svg", C.Alignment_0_0, _null, C.BoxFit_0, 9, _null, 9), _null));
t5 = _this._email_tile_web_builder$_context;
t6 = _this.isSearchEmailRunning;
t7 = _this._searchQuery;
t3.push(A.Expanded$(_this.buildInformationSender$5(t5, t4, _this.mailboxContain, t6, t7), 1));
t3.push(_this.buildIconAnsweredOrForwarded$3$height$presentationEmail$width(16, t4, 16));
if (t4.hasAttachment === true)
t3.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset("assets/images/ic_attachment.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16), _null));
t3.push(new A.Padding(E.EdgeInsetsDirectional_8_0_4_0, _this.buildDateTime$2(t5, t4), _null));
t3.push(A.SvgPicture$asset("assets/images/ic_chevron.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16));
t3 = A.Row$(t3, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t8 = A._setArrayType([], t2);
if (t4.get$hasCalendarEvent())
t8.push(_this.buildCalendarEventIcon$2$context$presentationEmail(t5, t4));
t8.push(A.Expanded$(_this.buildEmailTitle$4(t5, t4, t6, t7), 1));
t8.push(_this.buildMailboxContain$3(t5, t6, t4));
if (t4.get$hasStarred())
t8.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset("assets/images/ic_star.svg", C.Alignment_0_0, _null, C.BoxFit_0, 15, _null, 15), _null));
t1 = A._setArrayType([A.InkWell$(false, _null, true, A.Row$(A._setArrayType([t1, A.Expanded$(A.Column$(A._setArrayType([t3, C.SizedBox_null_8_null_null, A.Row$(t8, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.SizedBox_null_8_null_null, A.Row$(A._setArrayType([A.Expanded$(_this.buildEmailPartialContent$4(t5, t4, t6, t7), 1)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t2), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailTileBuilder__buildListTile_closure0(_this), new B.EmailTileBuilder__buildListTile_closure1(_this), _null, _null, _null, _null, _null, _null, _null)], t2);
if (_this._selectModeAll === C.SelectMode_1)
t1.push(A.Transform$(_null, C.Divider_I9g, A.Matrix4_Matrix4$translationValues(0, 10, 0), true));
return new A.Stack(C.Alignment_0_1, _null, C.StackFit_0, C.Clip_1, t1, _null);
},
_buildListTileTablet$0() {
return new A.StatefulBuilder(new B.EmailTileBuilder__buildListTileTablet_closure(this), null);
},
_buildListTileForDesktop$0() {
return new A.StatefulBuilder(new B.EmailTileBuilder__buildListTileForDesktop_closure(this), null);
},
_buildListActionButtonWhenHover$0() {
var t6, t7, t8, t9, _this = this, _null = null,
t1 = _this._email_tile_web_builder$_context,
t2 = type$.MediaQuery,
t3 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 18 : 16,
t4 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? C.EdgeInsets_8_8_8_8 : C.EdgeInsets_5_5_5_5,
t5 = type$.AppLocalizations;
A.Localizations_of(t1, C.Type_AppLocalizations_swi, t5).toString;
t6 = type$.JSArray_Widget;
t4 = A._setArrayType([F.buildSVGIconButton("assets/images/ic_open_in_new_tab.svg", C.Color_4288850611, t3, new B.EmailTileBuilder__buildListActionButtonWhenHover_closure(_this), _null, t4, A.Intl__message("Open in New Tab", _null, "openInNewTab", _null, _null))], t6);
t3 = _this._presentationEmail;
if (!t3.get$isDraft()) {
t7 = t3.get$hasRead() ? "assets/images/ic_read.svg" : "assets/images/ic_unread.svg";
t8 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 18 : 16;
t9 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? C.EdgeInsets_8_8_8_8 : C.EdgeInsets_5_5_5_5;
if (t3.get$hasRead()) {
A.Localizations_of(t1, C.Type_AppLocalizations_swi, t5).toString;
t3 = A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
} else {
A.Localizations_of(t1, C.Type_AppLocalizations_swi, t5).toString;
t3 = A.Intl__message("Mark as read", _null, "mark_as_read", _null, _null);
}
t4.push(F.buildSVGIconButton(t7, C.Color_4288850611, t8, new B.EmailTileBuilder__buildListActionButtonWhenHover_closure0(_this), _null, t9, t3));
}
t3 = _this.mailboxContain;
if (t3 != null)
t3 = J.$eq$(t3.role, $.$get$PresentationMailbox_roleDrafts()) === false;
else
t3 = false;
if (t3) {
t3 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 18 : 16;
t7 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? C.EdgeInsets_8_8_8_8 : C.EdgeInsets_5_5_5_5;
A.Localizations_of(t1, C.Type_AppLocalizations_swi, t5).toString;
C.JSArray_methods.addAll$1(t4, A._setArrayType([F.buildSVGIconButton("assets/images/ic_move.svg", C.Color_4288850611, t3, new B.EmailTileBuilder__buildListActionButtonWhenHover_closure1(_this), _null, t7, A.Intl__message("Move", _null, "move", _null, _null))], t6));
}
t3 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 16 : 14;
t6 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? C.EdgeInsets_8_8_8_8 : C.EdgeInsets_5_5_5_5;
if (_this.get$canDeletePermanently()) {
A.Localizations_of(t1, C.Type_AppLocalizations_swi, t5).toString;
t7 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(t1, C.Type_AppLocalizations_swi, t5).toString;
t7 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t4.push(F.buildSVGIconButton("assets/images/ic_delete_composer.svg", C.Color_4288850611, t3, new B.EmailTileBuilder__buildListActionButtonWhenHover_closure2(_this), _null, t6, t7));
t3 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 18 : 16;
t6 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? C.EdgeInsets_8_8_8_8 : C.EdgeInsets_5_5_5_5;
A.Localizations_of(t1, C.Type_AppLocalizations_swi, t5).toString;
t4.push(F.buildSVGIconButton("assets/images/ic_more.svg", C.Color_4288850611, t3, _null, new B.EmailTileBuilder__buildListActionButtonWhenHover_closure3(_this), t6, A.Intl__message("More", _null, "more", _null, _null)));
if (A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200)
t4.push(C.SizedBox_16_null_null_null);
return A.Row$(t4, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
get$canDeletePermanently() {
var t1 = this.mailboxContain,
t2 = t1 == null;
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleTrash())) !== true)
if ((t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleDrafts())) !== true)
t1 = (t2 ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleSpam())) === true;
else
t1 = true;
else
t1 = true;
return t1;
},
_buildSubjectAndContent$0() {
return new A.LayoutBuilder(new B.EmailTileBuilder__buildSubjectAndContent_closure(this), null);
},
_email_tile_web_builder$_buildAvatarIcon$2$iconSize$textStyle(iconSize, textStyle) {
var t1, t2, t3, t4, t5, _this = this, _null = null;
if (!_this.isHoverIcon)
if (!_this.isHoverItem)
if (_this._presentationEmail.selectMode !== C.SelectMode_0)
t1 = A.InheritedModel_inheritFrom(_this._email_tile_web_builder$_context, _null, type$.MediaQuery).data.size._dx < 600 && _this._selectModeAll === C.SelectMode_0;
else
t1 = true;
else
t1 = true;
else
t1 = true;
t2 = _this._presentationEmail;
if (t1) {
t1 = iconSize == null ? 48 : iconSize;
t3 = A.InheritedModel_inheritFrom(_this._email_tile_web_builder$_context, _null, type$.MediaQuery).data.size._dx >= 1200 ? D.EdgeInsetsDirectional_4_0_4_0 : D.EdgeInsetsDirectional_12_12_12_12;
return A.Container$(C.Alignment_0_0, A.SvgPicture$asset(t2.selectMode === C.SelectMode_0 ? "assets/images/ic_selected.svg" : "assets/images/ic_unselected.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null), C.Clip_0, C.Color_0, _null, _null, _null, t1, _null, _null, t3, _null, _null, t1);
} else {
t1 = iconSize == null ? 48 : iconSize;
t3 = A.BorderRadius$circular(t1 * 0.5);
t4 = A.Border_Border$all(C.Color_0, 1);
t5 = B.PresentationEmailExtension_get_avatarColors(t2);
t2 = t2.getAvatarText$0();
return A.Container$(C.Alignment_0_0, A.Text$(t2, _null, _null, _null, _null, _null, _null, _null, _null, textStyle == null ? D.TextStyle_1Gf4 : textStyle, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294506744, _null, t4, t3, _null, new A.LinearGradient(C.Alignment_0_m1, C.Alignment_0_1, C.TileMode_0, t5, C.List_0_1, _null), _null, C.BoxShape_0), _null, t1, _null, _null, _null, _null, _null, t1);
}
},
_email_tile_web_builder$_buildAvatarIcon$0() {
return this._email_tile_web_builder$_buildAvatarIcon$2$iconSize$textStyle(null, null);
}
};
B._EmailTileBuilder_Object_BaseEmailItemTile.prototype = {};
B.EmptyEmailsWidget.prototype = {
build$1(context) {
var t1, responsiveUtils, t2, t3, t4, t5, t6, t7, childWidget, _this = this, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
responsiveUtils = t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t1 = type$.MediaQuery;
t2 = A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600 ? C.MainAxisAlignment_0 : C.MainAxisAlignment_2;
t3 = type$.JSArray_Widget;
t4 = A._setArrayType([], t3);
t5 = _this._getIconSize$2(context, responsiveUtils);
t4.push(A.SvgPicture$asset(_this.iconSVG, C.Alignment_0_0, _null, C.BoxFit_0, _this._getIconSize$2(context, responsiveUtils), _null, t5));
t5 = _this.onCreateFiltersActionCallback;
t6 = t5 != null;
t7 = t6 ? 22 : 20;
t4.push(new A.Padding(D.EdgeInsetsDirectional_0_12_0_12, A.Text$(_this.title, _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, C.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, t7, _null, _null, t6 ? C.FontWeight_5_600 : C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_2, _null, _null, _null, _null), _null));
t7 = _this.subTitle;
if (t7 != null)
t4.push(A.Text$(t7, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_jjv2, C.TextAlign_2, _null, _null, _null, _null));
if (t6) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t6 = A.Intl__message("Create filters", _null, "createFilters", _null, _null);
if (A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600) {
t7 = A.InheritedModel_inheritFrom(context, _null, t1).data;
t7 = t7.get$orientation(t7) === C.Orientation_0;
} else
t7 = false;
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromText(D.Color_4294177783, 10, D.EdgeInsetsDirectional_0_28_0_0, t5, C.EdgeInsetsDirectional_24_12_24_12, t6, C.TextAlign_2, C.TextStyle_yzp0, t7 ? 1 / 0 : _null));
}
childWidget = new A.Padding(C.EdgeInsetsDirectional_16_16_16_16, A.Column$(t4, C.CrossAxisAlignment_2, t2, C.MainAxisSize_1, C.VerticalDirection_1), _null);
return A.Container$(D.AlignmentDirectional_0_0, A.InheritedModel_inheritFrom(context, _null, t1).data.size.get$shortestSide() < 600 ? A.SingleChildScrollView$(childWidget, _null, _null, _null, _null, _null, C.Axis_1) : A.CustomScrollView$(_null, _null, _null, _null, C.Axis_1, false, A._setArrayType([A.SliverFillRemaining$(childWidget, true)], t3)), C.Clip_0, _null, D.BoxConstraints_ah9, _null, _null, _null, _null, _null, _null, _null, _null, _null);
},
_getIconSize$2(context, responsiveUtils) {
var t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, null, t1).data.size._dx < 600)
return 160;
else if (A.InheritedModel_inheritFrom(context, null, t1).data.size._dx >= 1200)
return 212;
else
return 180;
}
};
B.FilterMessageCupertinoActionSheetActionBuilder.prototype = {
build$0() {
var _this = this, _null = null,
t1 = A._setArrayType([new A.Padding(_this.iconLeftPadding, _this.actionIcon, _null), A.Expanded$(A.Text$(_this.actionName, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_cMb, C.TextAlign_0, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
if (_this.optionCurrent === _this.option && true)
t1.push(new A.Padding(_this.iconRightPadding, _this.actionSelected, _null));
return A.Container$(_null, A.MouseRegion$(A.CupertinoActionSheetAction$(A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), _this.key, new B.FilterMessageCupertinoActionSheetActionBuilder_build_closure(_this)), C._EnabledAndDisabledMouseCursor_SystemMouseCursor_click_clickable, _null, _null, _null, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.ScrollToTopButtonWidget.prototype = {
createState$0() {
return new B._ScrollToTopButtonWidgetState(C._StateLifecycle_0);
}
};
B._ScrollToTopButtonWidgetState.prototype = {
initState$0() {
this.super$State$initState();
this._widget.scrollController.addListener$1(0, this.get$_scroll_to_top_button_widget$_handleScroll());
},
dispose$0() {
this._widget.scrollController.removeListener$1(0, this.get$_scroll_to_top_button_widget$_handleScroll());
this.super$State$dispose();
},
_scroll_to_top_button_widget$_handleScroll$0() {
var t2, _this = this,
t1 = C.JSArray_methods.get$single(_this._widget.scrollController._positions)._pixels;
t1.toString;
t2 = _this._widget;
t2.toString;
if (t1 > 50) {
if (_this._framework$_element != null)
_this.setState$1(new B._ScrollToTopButtonWidgetState__handleScroll_closure(_this));
} else {
t1 = C.JSArray_methods.get$single(t2.scrollController._positions)._pixels;
t1.toString;
_this._widget.toString;
if (t1 <= 50)
if (_this._framework$_element != null)
_this.setState$1(new B._ScrollToTopButtonWidgetState__handleScroll_closure0(_this));
}
},
build$1(context) {
var _null = null,
t1 = this._isVisible,
t2 = this._widget;
t2.toString;
return new A.Align(D.AlignmentDirectional_1_1, _null, _null, B.Visibility$(A.Card$(true, A.InkWell$(false, A.BorderRadius$all(new A.Radius(32, 32)), true, F.Ink$(t2.icon, new A.BoxDecoration(C.Color_4289640386, _null, _null, A.BorderRadius$all(new A.Radius(32, 32)), _null, _null, _null, C.BoxShape_0), C.EdgeInsets_8_8_8_8), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t2.onTap, _null, _null, _null, _null, _null, _null, _null), _null, _null, 5, _null, C.CircleBorder_Umb), t1), _null);
}
};
B.SpamReportBannerButtonWidget.prototype = {
build$1(context) {
var t3, t4, t5, _this = this, _null = null,
t1 = _this.wrapContent ? _null : 1 / 0,
t2 = _this.icon;
if (t2 == null)
t2 = A.Text$(_this.label, _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, _this.labelColor, _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_2, _null, _null, _null, _null);
else {
t3 = A._setArrayType([], type$.JSArray_Widget);
t4 = _this.iconLeftAlignment;
if (t4)
t3.push(new A.Padding(C.EdgeInsetsDirectional_0_0_4_0, A.SvgPicture$asset(t2, C.Alignment_0_0, A.ColorNullableExtension_asFilter(_this.labelColor), C.BoxFit_1, 20, _null, 20), _null));
t5 = _this.labelColor;
t3.push(A.Text$(_this.label, _null, _null, _null, C.TextOverflow_1, _null, _null, false, _null, A.TextStyle$(_null, _null, t5, _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_2, _null, _null, _null, _null));
if (!t4)
t3.push(new A.Padding(D.EdgeInsetsDirectional_4_0_0_0, A.SvgPicture$asset(t2, C.Alignment_0_0, A.ColorNullableExtension_asFilter(t5), C.BoxFit_1, 20, _null, 20), _null));
t2 = A.Row$(t3, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_0, _null);
}
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_tLn7, true, A.Container$(_null, t2, C.Clip_0, _null, _null, D.BoxDecoration_YiR, _null, _null, _null, _null, C.EdgeInsetsDirectional_8_8_8_8, _null, _null, t1), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.onTap, _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
}
};
B.SpamReportBannerLabelWidget.prototype = {
build$1(context) {
var t1, t2, t3, t4, t5, t6, t7, _null = null,
_s17_ = " new spam emails!",
_s18_ = "countNewSpamEmails";
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1.find$1$1$tag(0, _null, type$.ImagePaths);
t1 = A._setArrayType([A.SvgPicture$asset("assets/images/ic_info_circle_outline.svg", C.Alignment_0_0, _null, C.BoxFit_1, 24, _null, 24), C.SizedBox_8_null_null_null], type$.JSArray_Widget);
t2 = A.InheritedModel_inheritFrom(context, _null, type$.MediaQuery).data;
t3 = type$.AppLocalizations;
t4 = type$.JSArray_Object;
t5 = this.countSpamEmailsAsString;
t6 = this.labelColor;
t7 = "You have " + t5;
if (t2.size._dx >= 1200) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1.push(A.Text$(A.Intl__message(t7 + _s17_, _null, _s18_, A._setArrayType([t5], t4), _null), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t6, _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, C.FontWeight_4_500, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_2, _null, _null, _null, _null));
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t3).toString;
t1.push(new A.Flexible(1, C.FlexFit_1, A.Text$(A.Intl__message(t7 + _s17_, _null, _s18_, A._setArrayType([t5], t4), _null), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, t6, _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, C.FontWeight_4_500, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_2, _null, _null, _null, _null), _null));
}
return A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null);
}
};
B.SpamReportBannerWebWidget.prototype = {
build$1(context) {
var t1, spamReportController;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
spamReportController = t1.find$1$1$tag(0, null, type$.SpamReportController);
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new A.Obx(new B.SpamReportBannerWebWidget_build_closure(spamReportController, context, t1.find$1$1$tag(0, null, type$.ImagePaths)), null);
}
};
B.SpamReportBannerWidget.prototype = {
build$1(context) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new A.Obx(new B.SpamReportBannerWidget_build_closure(t1.find$1$1$tag(0, null, type$.SpamReportController), context), null);
}
};
B.ThreadViewBottomLoadingBarWidget.prototype = {
build$1(context) {
return this.viewState.fold$2(0, new B.ThreadViewBottomLoadingBarWidget_build_closure(), new B.ThreadViewBottomLoadingBarWidget_build_closure0());
}
};
B.ThreadViewLoadingBarWidget.prototype = {
build$1(context) {
return this.viewState.fold$2(0, new B.ThreadViewLoadingBarWidget_build_closure(), new B.ThreadViewLoadingBarWidget_build_closure0());
}
};
B.Link.prototype = {
get$isDisabled() {
return false;
},
get$_effectiveDelegate() {
var t1 = $.$get$UrlLauncherPlatform__instance().get$linkDelegate();
return t1 == null ? B.link_DefaultLinkDelegate_create$closure() : t1;
},
build$1(context) {
return this._effectiveDelegate$1(this);
},
$isLinkInfo: 1,
_effectiveDelegate$1(arg0) {
return this.get$_effectiveDelegate().call$1(arg0);
}
};
B.DefaultLinkDelegate.prototype = {
get$_useWebView() {
return false;
},
_followLink$1(context) {
return this._followLink$body$DefaultLinkDelegate(context);
},
_followLink$body$DefaultLinkDelegate(context) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, url;
var $async$_followLink$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
url = $async$self.link.uri;
$async$goto = !url.get$hasScheme() ? 3 : 4;
break;
case 3:
// then
$async$goto = 5;
return A._asyncAwait(A.pushRouteNameToFramework(context, url.toString$0(0)), $async$_followLink$1);
case 5:
// returning from await.
// goto return
$async$goto = 1;
break;
case 4:
// join
$async$goto = 9;
return A._asyncAwait(A.canLaunchUrl(url), $async$_followLink$1);
case 9:
// returning from await.
$async$goto = $async$result ? 6 : 8;
break;
case 6:
// then
$async$goto = 10;
return A._asyncAwait(A.launchUrl(url, $async$self.get$_useWebView() ? C.LaunchMode_1 : C.LaunchMode_2, null), $async$_followLink$1);
case 10:
// returning from await.
// goto join
$async$goto = 7;
break;
case 8:
// else
A.FlutterError_reportError(new A.FlutterErrorDetails("Could not launch link " + url.toString$0(0), A.StackTrace_current(), "url_launcher", A.ErrorDescription$("during launching a link"), null, false));
case 7:
// join
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_followLink$1, $async$completer);
},
build$1(context) {
return this.link.builder.call$2(context, new B.DefaultLinkDelegate_build_closure(this, context));
}
};
var typesOffset = hunkHelpers.updateTypes(["~()", "InsertImageLoadingBarWidget()", "Offset(Draggable<Object>,BuildContext,Offset)", "WebEditorView()", "DesktopAppBarComposerWidget()", "BottomBarComposerWidget()", "WebEditorWidget(Failure)", "~(String,~(~()))", "SuggestionEmailAddress(EmailAddress)", "~(SuggestionEmailAddress,~(~()))", "Widget(BuildContext)", "MobileResponsiveAppBarComposerWidget()", "List<SuggestionEmailAddress>/(String)", "~(bool,~(~()))", "~(~(~()))", "~(EmailAddress,~(~()))", "~(PointerEvent)", "~(int)", "TagEditor<SuggestionEmailAddress>(BuildContext,List<DraggableEmailAddress?>,List<@>)", "~(SuggestionEmailAddress)", "RecipientTagItemWidget(BuildContext,int)", "RecipientSuggestionItemWidget(BuildContext,TagsEditorState<SuggestionEmailAddress>,SuggestionEmailAddress,int,int,bool,String?)", "DesktopResponsiveContainerView()", "AttachmentItemComposerWidget(UploadFileState)", "EmailViewAppBarWidget()", "Null(DraggableDetails)", "EmailViewLoadingBarWidget()", "AttendeeWidget(CalendarAttendee)", "HyperLinkWidget(String)", "MaterialTextButton(EmailAddress)", "DefaultLinkDelegate(LinkInfo)", "UserInformationWidget()", "MailboxLoadingBarWidget()", "DownloadTaskItemWidget(BuildContext,int)", "AppGridDashboardItem(LinagoraApp)", "RecentSearchItemTileWidget(BuildContext,RecentSearch)", "EmailQuickSearchItemTileWidget(BuildContext,PresentationEmail)", "Chip()", "MailboxSearchedItemBuilder(BuildContext,BoxConstraints)", "FocusedMenuItem(ContextMenuItemMailboxAction)", "AppBarThreadWidget()", "ThreadViewLoadingBarWidget()", "ThreadViewBottomLoadingBarWidget()", "~(DraggableDetails)", "bool(int)", "~(PointerDownEvent)", "~(List<PresentationEmail>,PresentationMailbox)"]);
B._ScrollingFloatingButtonAnimatedState_dispose_closure.prototype = {
call$0() {
},
$signature: 0
};
B._ScrollingFloatingButtonAnimatedState__handleScroll_closure.prototype = {
call$0() {
var t3,
t1 = this.scrollController._positions,
t2 = C.JSArray_methods.get$single(t1)._pixels;
t2.toString;
t3 = this.$this;
t3._widget.toString;
if (t2 > 10 && C.JSArray_methods.get$single(t1)._userScrollDirection === C.ScrollDirection_2) {
t3._widget.toString;
if (t3._framework$_element != null)
t3.setState$1(new B._ScrollingFloatingButtonAnimatedState__handleScroll__closure(t3));
} else {
t2 = C.JSArray_methods.get$single(t1)._pixels;
t2.toString;
t3._widget.toString;
if (t2 <= 10 && C.JSArray_methods.get$single(t1)._userScrollDirection === C.ScrollDirection_1) {
t3._widget.toString;
if (t3._framework$_element != null)
t3.setState$1(new B._ScrollingFloatingButtonAnimatedState__handleScroll__closure0(t3));
}
}
},
$signature: 0
};
B._ScrollingFloatingButtonAnimatedState__handleScroll__closure.prototype = {
call$0() {
this.$this._onTop = false;
},
$signature: 0
};
B._ScrollingFloatingButtonAnimatedState__handleScroll__closure0.prototype = {
call$0() {
this.$this._onTop = true;
},
$signature: 0
};
B._ScrollingFloatingButtonAnimatedState_build_closure.prototype = {
call$2(context, widget) {
var t1 = this.$this.___ScrollingFloatingButtonAnimatedState__animationController_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t1 = t1.__AnimationController__value_A;
t1 === $ && A.throwUnnamedLateFieldNI();
widget.toString;
return A.Transform$rotate(C.Alignment_0_0, t1 * 3 * 3.141592653589793 / 180, widget, null);
},
$signature: 1491
};
B.QuickSearchInputForm_closure.prototype = {
call$1(field) {
var t1, t2, t3, _this = this;
type$._TypeAheadFormFieldState_dynamic_dynamic._as(field);
t1 = _this.textFieldConfiguration;
t2 = field._errorText;
t3 = t2._restoration_properties$_value;
t2 = t3 == null ? A._instanceType(t2)._eval$1("RestorableValue.T")._as(t3) : t3;
t2 = t1.decoration.copyWith$1$errorText(t2);
t3 = field.get$_effectiveController();
if (t3 == null)
t3 = t1.controller;
return new B.TypeAheadFieldQuickSearch(_this.suggestionsCallback, _this.onSuggestionSelected, _this.itemBuilder, _this.suggestionsBoxDecoration, _this.suggestionsBoxController, _this.debounceDuration, _this.loadingBuilder, _this.noItemsFoundBuilder, _this.errorBuilder, _this.transitionBuilder, _this.animationDuration, _this.direction, _this.animationStart, B.QuickSearchTextFieldConfiguration$(true, false, t1.clearTextButton, t3, t1.cursorColor, t1.cursorRadius, t1.cursorWidth, t2, true, true, true, t1.focusNode, t1.inputFormatters, t1.keyboardAppearance, t1.keyboardType, t1.leftButton, t1.maxLength, t1.maxLengthEnforcement, t1.maxLines, t1.minLines, false, new B.QuickSearchInputForm__closure(field, t1), t1.onEditingComplete, t1.onSubmitted, t1.onTap, t1.rightButton, t1.scrollPadding, t1.style, t1.textAlign, t1.textAlignVertical, t1.textCapitalization, t1.textDirection, t1.textInputAction), _this.suggestionsBoxVerticalOffset, _this.getImmediateSuggestions, _this.hideOnLoading, _this.hideOnEmpty, _this.hideOnError, _this.hideSuggestionsOnKeyboardHide, _this.keepSuggestionsOnLoading, _this.keepSuggestionsOnSuggestionSelected, _this.autoFlipDirection, _this.hideKeyboard, _this.minCharsForSuggestions, _this.listActionButton, _this.actionButtonBuilder, _this.buttonActionCallback, _this.buttonShowAllResult, _this.titleHeaderRecent, _this.itemRecentBuilder, _this.fetchRecentActionCallback, _this.onRecentSelected, _this.listActionPadding, _this.hideSuggestionsBox, _this.maxHeight, _this.isDirectionRTL, null, _this.T._eval$1("@<0>")._bind$1(_this.R)._eval$1("TypeAheadFieldQuickSearch<1,2>"));
},
$signature() {
return this.T._eval$1("@<0>")._bind$1(this.R)._eval$1("TypeAheadFieldQuickSearch<1,2>(FormFieldState<String>)");
}
};
B.QuickSearchInputForm__closure.prototype = {
call$1(text) {
var t1;
this.state.didChange$1(text);
t1 = this.textFieldConfiguration.onChanged;
if (t1 != null)
t1.call$1(text);
},
$signature: 8
};
B._TypeAheadFieldQuickSearchState_initState_closure.prototype = {
call$0() {
var t1 = this.$this;
if (t1.get$_effectiveFocusNode().get$hasFocus())
t1._suggestionsBox.open$0(0);
else {
t1._widget.toString;
t1._suggestionsBox.close$0(0);
}
t1.setState$1(new B._TypeAheadFieldQuickSearchState_initState__closure0());
},
$signature: 0
};
B._TypeAheadFieldQuickSearchState_initState__closure0.prototype = {
call$0() {
},
$signature: 0
};
B._TypeAheadFieldQuickSearchState_initState_closure0.prototype = {
call$1(isVisible) {
var t1 = this.$this;
t1._widget.toString;
if (!isVisible)
t1.get$_effectiveFocusNode().unfocus$0();
},
$signature: 13
};
B._TypeAheadFieldQuickSearchState_initState_closure1.prototype = {
call$1(duration) {
var t1 = this.$this;
if (t1._framework$_element != null) {
t1._initOverlayEntry$0();
t1._suggestionsBox.resize$0(0);
if (t1.get$_effectiveFocusNode().get$hasFocus())
t1._suggestionsBox.open$0(0);
t1.setState$1(new B._TypeAheadFieldQuickSearchState_initState__closure());
}
},
$signature: 10
};
B._TypeAheadFieldQuickSearchState_initState__closure.prototype = {
call$0() {
},
$signature: 0
};
B._TypeAheadFieldQuickSearchState__scrollResizeListener_closure.prototype = {
call$1(timer) {
this.$this._suggestionsBox.resize$0(0);
},
$signature: 179
};
B._TypeAheadFieldQuickSearchState__initOverlayEntry_closure.prototype = {
call$1(context) {
var t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, suggestionsList, w, _null = null,
t1 = this.$this,
t2 = t1._suggestionsBox,
t3 = t1._widget,
t4 = t3.suggestionsBoxDecoration;
t3 = t3.debounceDuration;
t5 = t1.get$_effectiveController();
t6 = t1._widget;
t7 = t6.loadingBuilder;
t8 = t6.transitionBuilder;
t9 = t6.suggestionsCallback;
t10 = t6.animationDuration;
t11 = t6.animationStart;
t12 = t6.itemBuilder;
t13 = t1._suggestionsBox;
t13.toString;
t14 = t1.$ti;
suggestionsList = new B._SuggestionsList(t2, t5, false, new B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure(t1), t9, t12, _null, t4, t3, t7, t8, t10, t11, false, true, t6.minCharsForSuggestions, t6.listActionButton, t6.actionButtonBuilder, t6.buttonActionCallback, t6.buttonShowAllResult, t6.titleHeaderRecent, t6.itemRecentBuilder, t6.fetchRecentActionCallback, new B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure0(t1), t6.listActionPadding, false, false, _null, t14._eval$1("@<1>")._bind$1(t14._rest[1])._eval$1("_SuggestionsList<1,2>"));
w = t13.textBoxWidth;
t2 = t13.direction === C.AxisDirection_2;
if (t2)
t3 = t13.textBoxHeight + t6.suggestionsBoxVerticalOffset;
else {
t3 = t13.___SuggestionsBox_directionUpOffset_A;
t3 === $ && A.throwUnnamedLateFieldNI();
}
return A.Positioned$(_null, A.CompositedTransformFollower$(A.TextFieldTapRegion$(t2 ? suggestionsList : A.FractionalTranslation$(suggestionsList, true, C.Offset_0_m1), _null, _null), t1._layerLink, new A.Offset(0, t3), false, C.Alignment_m1_m1), _null, _null, _null, _null, _null, w);
},
$signature: 422
};
B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure.prototype = {
call$1(selection) {
var t1 = this.$this;
t1._widget.toString;
t1.get$_effectiveFocusNode().unfocus$0();
t1._suggestionsBox.close$0(0);
t1._widget.onSuggestionSelected.call$1(selection);
},
$signature() {
return this.$this.$ti._eval$1("~(1)");
}
};
B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure0.prototype = {
call$1(selection) {
var t1 = this.$this;
t1._widget.toString;
t1.get$_effectiveFocusNode().unfocus$0();
t1._suggestionsBox.close$0(0);
t1._widget.onRecentSelected.call$1(selection);
},
$signature() {
return this.$this.$ti._eval$1("~(2)");
}
};
B._TypeAheadFieldQuickSearchState_build_closure.prototype = {
call$1(input) {
var directionByText,
t1 = this.$this,
t2 = t1._widget.textFieldConfiguration.onChanged;
if (t2 != null)
t2.call$1(input);
if (input.length !== 0) {
t2 = A.RegExp_RegExp("[\\u0591-\\u07FF\\uFB1D-\\uFDFD\\uFE70-\\uFEFC][^A-Za-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02B8\\u0300-\\u0590\\u0800-\\u1FFF\\u2C00-\\uFB1C\\uFDFE-\\uFE6F\\uFEFD-\\uFFFF]*$", true, false, false);
directionByText = t2._nativeRegExp.test(input) ? C.TextDirection_0 : C.TextDirection_1;
t2 = t1.___TypeAheadFieldQuickSearchState__textDirection_A;
t2 === $ && A.throwUnnamedLateFieldNI();
if (directionByText !== t2)
t1.setState$1(new B._TypeAheadFieldQuickSearchState_build__closure(t1, directionByText));
}
},
$signature: 8
};
B._TypeAheadFieldQuickSearchState_build__closure.prototype = {
call$0() {
this.$this.___TypeAheadFieldQuickSearchState__textDirection_A = this.directionByText;
},
$signature: 0
};
B._SuggestionsListState_closure.prototype = {
call$0() {
return this.$call$body$_SuggestionsListState_closure();
},
$call$body$_SuggestionsListState_closure() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, e, t4, recentItems, exception, t1, t2, t3, $async$exception;
var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1) {
$async$currentError = $async$result;
$async$goto = $async$handler;
}
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = {};
t2 = $async$self.$this;
t3 = t2._widget.controller._change_notifier$_value.text;
if (t3 === t2._lastTextValue) {
// goto return
$async$goto = 1;
break;
}
t2._lastTextValue = t3;
t3 = t2._debounceTimer;
if (t3 != null)
t3.cancel$0(0);
t3 = t2._widget;
t4 = t3.controller._change_notifier$_value.text;
$async$goto = t4.length <= t3.minCharsForSuggestions ? 3 : 5;
break;
case 3:
// then
$async$goto = t2._framework$_element != null ? 6 : 7;
break;
case 6:
// then
t1.recentItems = null;
$async$handler = 9;
$async$goto = 12;
return A._asyncAwait(t3.fetchRecentActionCallback.call$1(t4), $async$call$0);
case 12:
// returning from await.
recentItems = $async$result;
t1.recentItems = recentItems;
$async$handler = 2;
// goto after finally
$async$goto = 11;
break;
case 9:
// catch
$async$handler = 8;
$async$exception = $async$currentError;
e = A.unwrapException($async$exception);
A.log("_SuggestionsListState::_SuggestionsListState(): " + A.S(e), C.Level_1);
// goto after finally
$async$goto = 11;
break;
case 8:
// uncaught
// goto rethrow
$async$goto = 2;
break;
case 11:
// after finally
t2.setState$1(new B._SuggestionsListState__closure(t1, t2));
case 7:
// join
// goto return
$async$goto = 1;
break;
// goto join
$async$goto = 4;
break;
case 5:
// else
t2._debounceTimer = A.Timer_Timer(t3.debounceDuration, new B._SuggestionsListState__closure0(t2));
case 4:
// join
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
case 2:
// rethrow
return A._asyncRethrow($async$currentError, $async$completer);
}
});
return A._asyncStartSync($async$call$0, $async$completer);
},
$signature: 6
};
B._SuggestionsListState__closure.prototype = {
call$0() {
var t1 = this.$this;
t1._isLoading = false;
t1._suggestions = null;
t1._recentItems = this._box_0.recentItems;
t1.___SuggestionsListState__suggestionsValid_A = true;
},
$signature: 0
};
B._SuggestionsListState__closure0.prototype = {
call$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, t2, t1;
var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = $async$self.$this;
if (t1._debounceTimer._handle != null) {
// goto return
$async$goto = 1;
break;
}
t2 = t1._isLoading;
t2.toString;
if (t2) {
t1._isQueued = true;
// goto return
$async$goto = 1;
break;
}
$async$goto = 3;
return A._asyncAwait(t1.invalidateSuggestions$0(), $async$call$0);
case 3:
// returning from await.
case 4:
// while condition
t2 = t1._isQueued;
t2.toString;
if (!t2) {
// goto after while
$async$goto = 5;
break;
}
t1._isQueued = false;
$async$goto = 6;
return A._asyncAwait(t1.invalidateSuggestions$0(), $async$call$0);
case 6:
// returning from await.
// goto while condition
$async$goto = 4;
break;
case 5:
// after while
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$call$0, $async$completer);
},
$signature: 6
};
B._SuggestionsListState__getSuggestions_closure.prototype = {
call$0() {
var t1 = this.$this;
t1._quick_search_input_form$_animationController.forward$1$from(0, 1);
t1._isLoading = true;
},
$signature: 0
};
B._SuggestionsListState__getSuggestions_closure0.prototype = {
call$0() {
var t3,
t1 = this.$this,
animationStart = t1._widget.animationStart,
t2 = this._box_0;
if (t2.error == null) {
t3 = t2.suggestions;
t3 = (t3 == null ? null : J.get$isEmpty$asx(t3)) === true;
} else
t3 = true;
if (t3)
animationStart = 1;
t1._quick_search_input_form$_animationController.forward$1$from(0, animationStart);
t1._isLoading = false;
t1._suggestions = t2.suggestions;
t1._recentItems = t2.recentItems;
},
$signature: 0
};
B._SuggestionsListState_createSuggestionsWidget_closure.prototype = {
call$1(suggestion) {
var _null = null,
t1 = this.$this,
t2 = t1._widget.itemBuilder,
t3 = t1._framework$_element;
t3.toString;
t1 = A.InkWell$(false, _null, true, t2.call$2(t3, suggestion), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._SuggestionsListState_createSuggestionsWidget__closure0(t1, suggestion), _null, _null, _null, _null, _null, _null, _null);
return t1;
},
$signature() {
return this.$this.$ti._eval$1("Widget(1)");
}
};
B._SuggestionsListState_createSuggestionsWidget__closure0.prototype = {
call$0() {
this.$this._widget.onSuggestionSelected.call$1(this.suggestion);
},
$signature: 0
};
B._SuggestionsListState_createSuggestionsWidget_closure0.prototype = {
call$1(action) {
var t3, _null = null,
t1 = this.$this,
t2 = t1._widget;
t2 = t2.actionButtonBuilder;
t3 = t1._framework$_element;
t3.toString;
return new A.Padding(new A.EdgeInsets(0, 0, 8, 8), A.InkWell$(false, C.BorderRadius_tLn7, true, t2.call$2(t3, action), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._SuggestionsListState_createSuggestionsWidget__closure(t1, action), _null, _null, _null, _null, _null, _null, _null), _null);
},
$signature: 558
};
B._SuggestionsListState_createSuggestionsWidget__closure.prototype = {
call$0() {
var t1 = this.$this;
t1._widget.buttonActionCallback.call$1(this.action);
t1.invalidateSuggestions$0();
},
$signature: 0
};
B._SuggestionsListState_createRecentWidget_closure.prototype = {
call$1(recent) {
var _null = null,
t1 = this.$this,
t2 = t1._widget.itemRecentBuilder,
t3 = t1._framework$_element;
t3.toString;
t1 = A.InkWell$(false, _null, true, t2.call$2(t3, recent), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._SuggestionsListState_createRecentWidget__closure0(t1, recent), _null, _null, _null, _null, _null, _null, _null);
return t1;
},
$signature() {
return this.$this.$ti._eval$1("Widget(2)");
}
};
B._SuggestionsListState_createRecentWidget__closure0.prototype = {
call$0() {
this.$this._widget.onRecentSelected.call$1(this.recent);
},
$signature: 0
};
B._SuggestionsListState_createRecentWidget_closure0.prototype = {
call$1(action) {
var t3, _null = null,
t1 = this.$this,
t2 = t1._widget;
t2 = t2.actionButtonBuilder;
t3 = t1._framework$_element;
t3.toString;
return new A.Padding(new A.EdgeInsets(0, 0, 8, 8), A.InkWell$(false, C.BorderRadius_tLn7, true, t2.call$2(t3, action), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._SuggestionsListState_createRecentWidget__closure(t1, action), _null, _null, _null, _null, _null, _null, _null), _null);
},
$signature: 558
};
B._SuggestionsListState_createRecentWidget__closure.prototype = {
call$0() {
var t1 = this.$this;
t1._widget.buttonActionCallback.call$1(this.action);
t1.invalidateSuggestions$0();
},
$signature: 0
};
B._SuggestionsBox__findRootMediaQuery_closure.prototype = {
call$1(element) {
if (element.get$widget() instanceof A.MediaQuery)
this._box_0.rootMediaQuery = type$.MediaQuery._as(element.get$widget());
return true;
},
$signature: 67
};
B.MultiDragGestureRecognizer_acceptGesture_closure.prototype = {
call$1(initialPosition) {
return this.$this._multidrag$_startDrag$2(initialPosition, this.pointer);
},
$signature: 1493
};
B.MultiDragGestureRecognizer__startDrag_closure.prototype = {
call$0() {
return this.$this.onStart.call$1(this.initialPosition);
},
$signature: 1494
};
B._DraggableState__startDrag_closure.prototype = {
call$0() {
++this.$this._activeCount;
},
$signature: 0
};
B._DraggableState__startDrag_closure0.prototype = {
call$1(details) {
var t1 = this.$this;
if (t1._framework$_element != null)
t1._widget.toString;
},
$signature: 29
};
B._DraggableState__startDrag_closure1.prototype = {
call$3(velocity, offset, wasAccepted) {
var t1 = this.$this;
if (t1._framework$_element != null)
t1.setState$1(new B._DraggableState__startDrag__closure(t1));
else {
--t1._activeCount;
t1._disposeRecognizerIfInactive$0();
}
if (t1._framework$_element != null && t1._widget.onDragEnd != null)
t1._widget.onDragEnd.call$1(new B.DraggableDetails(offset));
if (wasAccepted)
t1._widget.toString;
if (!wasAccepted && t1._widget.onDraggableCanceled != null)
t1._widget.onDraggableCanceled.call$2(velocity, offset);
},
$signature: 1495
};
B._DraggableState__startDrag__closure.prototype = {
call$0() {
--this.$this._activeCount;
},
$signature: 0
};
B._DragAvatar_updateDrag_closure.prototype = {
call$1(target) {
var t1;
if (target == null)
return false;
t1 = this.$this;
t1._enteredTargets.push(target);
return target.didEnter$1(t1);
},
$signature: 1496
};
B._DragAvatar_updateDrag_closure0.prototype = {
call$0() {
return null;
},
$signature: 7
};
B.buildTextSpanChildren_closure.prototype = {
call$0() {
return this.onOpen.call$1(this.element);
},
$signature: 0
};
B.ListPresentationEmailExtension_get_isAllEmailRead_closure.prototype = {
call$1(email) {
return email.get$hasRead();
},
$signature: 36
};
B.ListPresentationEmailExtension_get_isAllEmailStarred_closure.prototype = {
call$1(email) {
return email.get$hasStarred();
},
$signature: 36
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure.prototype = {
call$1(email) {
return A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
},
$signature: 298
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure0.prototype = {
call$1(mailbox) {
return J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleTrash());
},
$signature: 77
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure1.prototype = {
call$1(mailbox) {
return J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleDrafts());
},
$signature: 77
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure2.prototype = {
call$1(mailbox) {
return J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleSpam());
},
$signature: 77
};
B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure.prototype = {
call$1(email) {
return A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
},
$signature: 298
};
B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure0.prototype = {
call$1(mailbox) {
return !J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleDrafts());
},
$signature: 77
};
B.ListPresentationEmailExtension_isAllSpam_closure.prototype = {
call$1(email) {
return A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
},
$signature: 298
};
B.ListPresentationEmailExtension_isAllSpam_closure0.prototype = {
call$1(mailbox) {
return J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleSpam());
},
$signature: 77
};
B.ListPresentationEmailExtension_isAllBelongToTheSameMailbox_closure.prototype = {
call$1(email) {
var mailboxContain = A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox),
t1 = mailboxContain == null ? null : mailboxContain.id;
return J.$eq$(t1, this.firstMailboxContain.id);
},
$signature: 36
};
B.ListPresentationEmailExtension_listEmailCanSpam_closure.prototype = {
call$1(email) {
var mailboxContain = A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
if ((mailboxContain == null ? null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleSpam())) === false)
return email;
else
return null;
},
$signature: 1498
};
B._CircularPercentIndicatorState__updateProgress_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1._circular_percent_indicator$_percent = t1._widget.percent;
},
$signature: 0
};
B.HyperLinkWidget_build_closure.prototype = {
call$0() {
return A.AppUtils_launchLink(this.$this.urlString);
},
$signature: 0
};
B.LinkBrowserWidget_build_closure.prototype = {
call$2(context, $function) {
return this.$this.child;
},
$signature: 1499
};
B.ComposerView_build_closure0.prototype = {
call$2(context, constraints) {
var t4, t5, t6, t7, _null = null,
t1 = this.$this,
t2 = B.ComposerStyle_getMaxHeightEmailAddressWidget(context, constraints, t1._composer_view_web$_responsiveUtils),
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t1)._eval$1("GetWidget.S");
t5 = A.SingleChildScrollView$(new A.Obx(new B.ComposerView_build__closure3(t1), _null), t4._as(t3.get(t1)).scrollControllerEmailAddress, _null, _null, _null, _null, C.Axis_1);
A.Expando__checkType(t1);
t6 = t4._as(t3.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t7 = t4._as(t3.get(t1)).subjectEmailInputController;
A.Expando__checkType(t1);
return A.Column$(A._setArrayType([new A.Obx(new B.ComposerView_build__closure4(t1, context, constraints), _null), new A.ConstrainedBox(new A.BoxConstraints(0, 1 / 0, 0, t2), t5, _null), B.SubjectComposerWidget$(t6, E.EdgeInsetsDirectional_16_0_0_0, t4._as(t3.get(t1)).get$setSubjectEmail(), D.EdgeInsetsDirectional_0_12_16_12, t7), A.Expanded$(new A.LayoutBuilder(new B.ComposerView_build__closure5(t1), _null), 1), new A.Obx(new B.ComposerView_build__closure6(t1), _null), new A.Obx(new B.ComposerView_build__closure7(t1), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 299
};
B.ComposerView_build__closure4.prototype = {
call$0() {
var t3, t4, t5, t6, t7,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController.codeViewState;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).richTextWebController;
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).isEnableEmailSendButton;
t2 = t2.get$value(t2);
t3 = this.context;
$.$get$Get();
t7 = $.GetInstance__getInstance;
if (t7 == null)
t7 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.MobileResponsiveAppBarComposerWidget(t4 === C.CodeViewState_0, t2, t5 === C.FormattingOptionsState_0, new B.ComposerView_build___closure14(t1, t3), new B.ComposerView_build___closure15(t1, t3), new B.ComposerView_build___closure16(t1, t3, this.constraints), new B.ComposerView_build___closure17(t1, t3), new B.ComposerView_build___closure18(t1, t3), t6.get$toggleFormattingOptions(), t7.find$1$1$tag(0, null, type$.ImagePaths), null);
},
$signature: typesOffset + 11
};
B.ComposerView_build___closure14.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).saveToDraftAndClose$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure15.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openFilePickerByType$2(this.context, C.FileType_0);
},
$signature: 0
};
B.ComposerView_build___closure16.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).insertImage$2(this.context, this.constraints.maxWidth);
},
$signature: 0
};
B.ComposerView_build___closure17.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).sendEmailAction$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure18.prototype = {
call$1(position) {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = this.context;
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openPopupMenuAction$4$radius(t3, position, t1._createMoreOptionPopupItems$1(t3), 8);
},
$signature: 300
};
B.ComposerView_build__closure3.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).listToEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).ccRecipientState;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).bccRecipientState;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).toAddressExpandMode;
t7 = t7.get$value(t7);
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).toEmailAddressController;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).toAddressFocusNode;
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).keyToEmailTagEditor;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).isInitialRecipient;
t11 = t11.get$value(t11);
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).getNextFocusOfToEmailAddress$0();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$addEmailAddressType();
A.Expando__checkType(t1);
t16 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t18 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16 = A._setArrayType([B.RecipientComposerWidget$(false, t6, t5, t8, t7, t9, t11, t10, t4, E.EdgeInsetsDirectional_16_0_0_0, t12, t15, null, t13, t18, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t14, t17, t16, C.EdgeInsetsDirectional_0_0_16_0, C.PrefixEmailAddress_1)], type$.JSArray_Widget);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).ccRecipientState;
if (t4.get$value(t4) === C.PrefixRecipientState_0) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).listCcEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).ccAddressExpandMode;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).ccEmailAddressController;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).ccAddressFocusNode;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).keyCcEmailTagEditor;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).isInitialRecipient;
t9 = t9.get$value(t9);
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).getNextFocusOfCcEmailAddress$0();
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$deleteEmailAddressType();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16.push(B.RecipientComposerWidget$(false, C.PrefixRecipientState_1, C.PrefixRecipientState_1, t6, t5, t7, t9, t8, t4, E.EdgeInsetsDirectional_16_0_0_0, t10, null, t13, t11, t17, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t12, t15, t14, C.EdgeInsetsDirectional_0_0_16_0, C.PrefixEmailAddress_2));
}
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).bccRecipientState;
if (t4.get$value(t4) === C.PrefixRecipientState_0) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).listBccEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).bccAddressExpandMode;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).bccEmailAddressController;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).bccAddressFocusNode;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).keyBccEmailTagEditor;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).isInitialRecipient;
t9 = t9.get$value(t9);
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$deleteEmailAddressType();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16.push(B.RecipientComposerWidget$(false, C.PrefixRecipientState_1, C.PrefixRecipientState_1, t6, t5, t7, t9, t8, t4, E.EdgeInsetsDirectional_16_0_0_0, t10, null, t13, t11, t17, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t12, t15, t14, C.EdgeInsetsDirectional_0_0_16_0, C.PrefixEmailAddress_3));
}
return A.Column$(t16, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 193
};
B.ComposerView_build__closure5.prototype = {
call$2(context, constraints) {
var _null = null,
t1 = this.$this;
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([new A.Padding(D.EdgeInsetsDirectional_12_0_12_0, new A.Obx(new B.ComposerView_build___closure12(t1, context, constraints), _null), _null), new A.Align(C.AlignmentDirectional_0_m1, _null, _null, new A.Obx(new B.ComposerView_build___closure13(t1), _null), _null)], type$.JSArray_Widget), _null);
},
$signature: 227
};
B.ComposerView_build___closure12.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).composerArguments;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).emailContentsViewState;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1))._textEditorWeb;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).get$handleInitHtmlEditorWeb();
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).get$onChangeTextEditorWeb();
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).get$handleOnFocusHtmlEditorWeb();
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$handleOnUnFocusHtmlEditorWeb();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$handleOnMouseDownHtmlEditorWeb();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).richTextWebController;
t14 = this.context;
A.Expando__checkType(t1);
t15 = this.constraints;
return B.WebEditorView$(t5, t6, t7, t4.editorController, t15.maxHeight, t9, t13.get$onEditorSettingsChange(), t3._as(t2.get(t1)).richTextWebController.get$onEditorTextSizeChanged(), t10, new B.ComposerView_build____closure3(t1, t14), new B.ComposerView_build____closure4(t1, t14), t8, t12, t11, t15.maxWidth);
},
$signature: typesOffset + 3
};
B.ComposerView_build____closure4.prototype = {
call$1(fileUpload) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleImageUploadSuccess$2(this.context, fileUpload);
},
$signature: 303
};
B.ComposerView_build____closure3.prototype = {
call$3(fileUpload, base64Str, uploadError) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleImageUploadFailure$4$base64Str$context$fileUpload$uploadError(base64Str, this.context, fileUpload, uploadError);
},
$signature: 304
};
B.ComposerView_build___closure13.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).uploadController.uploadInlineViewState;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).viewState;
return new B.InsertImageLoadingBarWidget(t1.get$value(t1), t4, D.EdgeInsetsDirectional_0_12_0_0, null);
},
$signature: typesOffset + 1
};
B.ComposerView_build__closure6.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).uploadController.listUploadAttachments;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).uploadController;
A.Expando__checkType(t1);
return new B.AttachmentComposerWidget(t4.listUploadAttachments, t3._as(t2.get(t1)).isAttachmentCollapsed, new B.ComposerView_build___closure10(t1), new B.ComposerView_build___closure11(t1), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ComposerView_build___closure10.prototype = {
call$1(fileState) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).uploadController;
t1._uploadingStateFiles.deleteElementByUploadTaskId$1(fileState.uploadTaskId);
t1._refreshListUploadAttachmentState$0();
return null;
},
$signature: 305
};
B.ComposerView_build___closure11.prototype = {
call$1(isCollapsed) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).isAttachmentCollapsed = isCollapsed;
},
$signature: 13
};
B.ComposerView_build__closure7.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState;
if (t4.get$value(t4) === C.FormattingOptionsState_0) {
A.Expando__checkType(t1);
return A.ToolbarRichTextWebBuilder$(D.BoxDecoration_OT9, null, D.EdgeInsetsDirectional_24_8_24_8, t3._as(t2.get(t1)).richTextWebController);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ComposerView_build_closure.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).screenDisplayMode;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).subjectEmail;
t5 = t5.get$value(t5);
if (t5 == null)
t5 = "";
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).get$displayScreenTypeComposerAction();
$.$get$Get();
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.DesktopResponsiveContainerView(t4, t5, new B.ComposerView_build__closure8(t1, this.context), t2, new B.ComposerView_build__closure9(t1), t3.find$1$1$tag(0, null, type$.ResponsiveUtils), null);
},
$signature: typesOffset + 22
};
B.ComposerView_build__closure9.prototype = {
call$2(context, constraints) {
var t4, t5, t6, t7, _null = null,
t1 = this.$this,
t2 = B.ComposerStyle_getMaxHeightEmailAddressWidget(context, constraints, t1._composer_view_web$_responsiveUtils),
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t1)._eval$1("GetWidget.S");
t5 = A.SingleChildScrollView$(new A.Obx(new B.ComposerView_build___closure19(t1), _null), t4._as(t3.get(t1)).scrollControllerEmailAddress, _null, _null, _null, _null, C.Axis_1);
A.Expando__checkType(t1);
t6 = t4._as(t3.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t7 = t4._as(t3.get(t1)).subjectEmailInputController;
A.Expando__checkType(t1);
return A.Column$(A._setArrayType([new A.Obx(new B.ComposerView_build___closure20(t1, context, constraints), _null), new A.ConstrainedBox(new A.BoxConstraints(0, 1 / 0, 0, t2), t5, _null), B.SubjectComposerWidget$(t6, D.EdgeInsetsDirectional_24_0_0_0, t4._as(t3.get(t1)).get$setSubjectEmail(), D.EdgeInsetsDirectional_0_12_24_12, t7), A.Expanded$(A.Container$(_null, new A.LayoutBuilder(new B.ComposerView_build___closure21(t1), _null), C.Clip_0, _null, _null, D.BoxDecoration_xid, _null, _null, _null, _null, _null, _null, _null, _null), 1), new A.Obx(new B.ComposerView_build___closure22(t1, context, constraints), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 299
};
B.ComposerView_build___closure20.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).subjectEmail;
t4 = t4.get$value(t4);
if (t4 == null)
t4 = "";
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).screenDisplayMode;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
return B.DesktopAppBarComposerWidget$(this.constraints, t5, t4, t3._as(t2.get(t1)).get$displayScreenTypeComposerAction(), new B.ComposerView_build____closure15(t1, this.context));
},
$signature: typesOffset + 4
};
B.ComposerView_build____closure15.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).saveToDraftAndClose$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure19.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).listToEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).ccRecipientState;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).bccRecipientState;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).toAddressExpandMode;
t7 = t7.get$value(t7);
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).toEmailAddressController;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).toAddressFocusNode;
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).keyToEmailTagEditor;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).isInitialRecipient;
t11 = t11.get$value(t11);
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).getNextFocusOfToEmailAddress$0();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$addEmailAddressType();
A.Expando__checkType(t1);
t16 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t18 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16 = A._setArrayType([B.RecipientComposerWidget$(false, t6, t5, t8, t7, t9, t11, t10, t4, D.EdgeInsetsDirectional_24_0_0_0, t12, t15, null, t13, t18, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t14, t17, t16, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_1)], type$.JSArray_Widget);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).ccRecipientState;
if (t4.get$value(t4) === C.PrefixRecipientState_0) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).listCcEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).ccAddressExpandMode;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).ccEmailAddressController;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).ccAddressFocusNode;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).keyCcEmailTagEditor;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).isInitialRecipient;
t9 = t9.get$value(t9);
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).getNextFocusOfCcEmailAddress$0();
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$deleteEmailAddressType();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16.push(B.RecipientComposerWidget$(false, C.PrefixRecipientState_1, C.PrefixRecipientState_1, t6, t5, t7, t9, t8, t4, D.EdgeInsetsDirectional_24_0_0_0, t10, null, t13, t11, t17, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t12, t15, t14, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_2));
}
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).bccRecipientState;
if (t4.get$value(t4) === C.PrefixRecipientState_0) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).listBccEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).bccAddressExpandMode;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).bccEmailAddressController;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).bccAddressFocusNode;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).keyBccEmailTagEditor;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).isInitialRecipient;
t9 = t9.get$value(t9);
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$deleteEmailAddressType();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16.push(B.RecipientComposerWidget$(false, C.PrefixRecipientState_1, C.PrefixRecipientState_1, t6, t5, t7, t9, t8, t4, D.EdgeInsetsDirectional_24_0_0_0, t10, null, t13, t11, t17, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t12, t15, t14, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_3));
}
return A.Column$(t16, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 193
};
B.ComposerView_build___closure21.prototype = {
call$2(context, constraints) {
var _null = null,
t1 = this.$this,
t2 = type$.JSArray_Widget;
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([A.Column$(A._setArrayType([A.Expanded$(new A.Padding(D.EdgeInsetsDirectional_20_0_20_0, new A.Obx(new B.ComposerView_build____closure11(t1, context, constraints), _null), _null), 1), new A.Obx(new B.ComposerView_build____closure12(t1), _null), new A.Obx(new B.ComposerView_build____closure13(t1), _null)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), new A.Align(C.AlignmentDirectional_0_m1, _null, _null, new A.Obx(new B.ComposerView_build____closure14(t1), _null), _null)], t2), _null);
},
$signature: 227
};
B.ComposerView_build____closure11.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).composerArguments;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).emailContentsViewState;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1))._textEditorWeb;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).get$handleInitHtmlEditorWeb();
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).get$onChangeTextEditorWeb();
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).get$handleOnFocusHtmlEditorWeb();
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$handleOnUnFocusHtmlEditorWeb();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$handleOnMouseDownHtmlEditorWeb();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).richTextWebController;
t14 = this.context;
A.Expando__checkType(t1);
t15 = this.constraints;
t16 = t15.maxWidth;
t15 = t15.maxHeight;
t11 = A._setArrayType([B.WebEditorView$(t5, t6, t7, t4.editorController, t15, t9, t13.get$onEditorSettingsChange(), t3._as(t2.get(t1)).richTextWebController.get$onEditorTextSizeChanged(), t10, new B.ComposerView_build_____closure1(t1, t14), new B.ComposerView_build_____closure2(t1, t14), t8, t12, t11, t16)], type$.JSArray_Widget);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.draggableAppState;
if (J.$eq$(t4.get$value(t4), C.DraggableAppState_0)) {
A.Expando__checkType(t1);
t11.push(A.PointerInterceptor$(new B.DropZoneWidget(t16, t15, t3._as(t2.get(t1)).get$addAttachmentFromDropZone(), null)));
}
return new A.Stack(C.AlignmentDirectional_m1_m1, null, C.StackFit_0, C.Clip_1, t11, null);
},
$signature: 560
};
B.ComposerView_build_____closure2.prototype = {
call$1(fileUpload) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleImageUploadSuccess$2(this.context, fileUpload);
},
$signature: 303
};
B.ComposerView_build_____closure1.prototype = {
call$3(fileUpload, base64Str, uploadError) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleImageUploadFailure$4$base64Str$context$fileUpload$uploadError(base64Str, this.context, fileUpload, uploadError);
},
$signature: 304
};
B.ComposerView_build____closure12.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).uploadController.listUploadAttachments;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).uploadController;
A.Expando__checkType(t1);
return new B.AttachmentComposerWidget(t4.listUploadAttachments, t3._as(t2.get(t1)).isAttachmentCollapsed, new B.ComposerView_build_____closure(t1), new B.ComposerView_build_____closure0(t1), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ComposerView_build_____closure.prototype = {
call$1(fileState) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).uploadController;
t1._uploadingStateFiles.deleteElementByUploadTaskId$1(fileState.uploadTaskId);
t1._refreshListUploadAttachmentState$0();
return null;
},
$signature: 305
};
B.ComposerView_build_____closure0.prototype = {
call$1(isCollapsed) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).isAttachmentCollapsed = isCollapsed;
},
$signature: 13
};
B.ComposerView_build____closure13.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState;
if (t4.get$value(t4) === C.FormattingOptionsState_0) {
A.Expando__checkType(t1);
return A.ToolbarRichTextWebBuilder$(D.BoxDecoration_OT9, null, D.EdgeInsetsDirectional_24_8_24_8, t3._as(t2.get(t1)).richTextWebController);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ComposerView_build____closure14.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).uploadController.uploadInlineViewState;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).viewState;
return new B.InsertImageLoadingBarWidget(t1.get$value(t1), t4, D.EdgeInsetsDirectional_0_12_0_0, null);
},
$signature: typesOffset + 1
};
B.ComposerView_build___closure22.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController.codeViewState;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).richTextWebController;
t7 = this.context;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).richTextWebController;
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).isSendEmailLoading;
return B.BottomBarComposerWidget$(new B.ComposerView_build____closure5(t1, t7), new B.ComposerView_build____closure6(t1, t7), new B.ComposerView_build____closure7(t1, t7, this.constraints), t4 === C.CodeViewState_0, t5 === C.FormattingOptionsState_0, t2.get$value(t2), t6.get$toggleFormattingOptions(), new B.ComposerView_build____closure8(t1, t7), new B.ComposerView_build____closure9(t1, t7), new B.ComposerView_build____closure10(t1, t7), t8.get$toggleCodeView());
},
$signature: typesOffset + 5
};
B.ComposerView_build____closure5.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openFilePickerByType$2(this.context, C.FileType_0);
},
$signature: 0
};
B.ComposerView_build____closure7.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).insertImage$2(this.context, this.constraints.maxWidth);
},
$signature: 0
};
B.ComposerView_build____closure6.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.FocusScope_of(this.context).unfocus$0();
t1.mailboxDashBoardController.closeComposerOverlay$0();
return null;
},
$signature: 0
};
B.ComposerView_build____closure9.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).saveToDraftAction$1(this.context);
},
$signature: 0
};
B.ComposerView_build____closure10.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).sendEmailAction$1(this.context);
},
$signature: 0
};
B.ComposerView_build____closure8.prototype = {
call$1(position) {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = this.context;
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openPopupMenuAction$4$radius(t3, position, t1._createReadReceiptPopupItems$1(t3), 8);
},
$signature: 300
};
B.ComposerView_build__closure8.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).saveToDraftAndClose$1(this.context);
},
$signature: 0
};
B.ComposerView_build_closure1.prototype = {
call$2(context, constraints) {
var t4, t5, t6, t7, _null = null,
t1 = this.$this,
t2 = B.ComposerStyle_getMaxHeightEmailAddressWidget(context, constraints, t1._composer_view_web$_responsiveUtils),
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t1)._eval$1("GetWidget.S");
t5 = A.SingleChildScrollView$(new A.Obx(new B.ComposerView_build__closure(t1), _null), t4._as(t3.get(t1)).scrollControllerEmailAddress, _null, _null, _null, _null, C.Axis_1);
A.Expando__checkType(t1);
t6 = t4._as(t3.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t7 = t4._as(t3.get(t1)).subjectEmailInputController;
A.Expando__checkType(t1);
return A.Column$(A._setArrayType([new A.Obx(new B.ComposerView_build__closure0(t1, context, constraints), _null), new A.ConstrainedBox(new A.BoxConstraints(0, 1 / 0, 0, t2), t5, _null), B.SubjectComposerWidget$(t6, D.EdgeInsetsDirectional_24_0_0_0, t4._as(t3.get(t1)).get$setSubjectEmail(), D.EdgeInsetsDirectional_0_12_24_12, t7), A.Expanded$(A.Container$(_null, new A.LayoutBuilder(new B.ComposerView_build__closure1(t1), _null), C.Clip_0, _null, _null, D.BoxDecoration_xid, _null, _null, _null, _null, _null, _null, _null, _null), 1), new A.Obx(new B.ComposerView_build__closure2(t1, context, constraints), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 299
};
B.ComposerView_build__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).subjectEmail;
t2 = t2.get$value(t2);
if (t2 == null)
t2 = "";
return B.DesktopAppBarComposerWidget$(this.constraints, null, t2, null, new B.ComposerView_build___closure9(t1, this.context));
},
$signature: typesOffset + 4
};
B.ComposerView_build___closure9.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).saveToDraftAndClose$1(this.context);
},
$signature: 0
};
B.ComposerView_build__closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).listToEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).ccRecipientState;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).bccRecipientState;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).toAddressExpandMode;
t7 = t7.get$value(t7);
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).toEmailAddressController;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).toAddressFocusNode;
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).keyToEmailTagEditor;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).isInitialRecipient;
t11 = t11.get$value(t11);
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).getNextFocusOfToEmailAddress$0();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$addEmailAddressType();
A.Expando__checkType(t1);
t16 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t18 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16 = A._setArrayType([B.RecipientComposerWidget$(false, t6, t5, t8, t7, t9, t11, t10, t4, D.EdgeInsetsDirectional_24_0_0_0, t12, t15, null, t13, t18, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t14, t17, t16, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_1)], type$.JSArray_Widget);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).ccRecipientState;
if (t4.get$value(t4) === C.PrefixRecipientState_0) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).listCcEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).ccAddressExpandMode;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).ccEmailAddressController;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).ccAddressFocusNode;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).keyCcEmailTagEditor;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).isInitialRecipient;
t9 = t9.get$value(t9);
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).getNextFocusOfCcEmailAddress$0();
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$deleteEmailAddressType();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16.push(B.RecipientComposerWidget$(false, C.PrefixRecipientState_1, C.PrefixRecipientState_1, t6, t5, t7, t9, t8, t4, D.EdgeInsetsDirectional_24_0_0_0, t10, null, t13, t11, t17, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t12, t15, t14, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_2));
}
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).bccRecipientState;
if (t4.get$value(t4) === C.PrefixRecipientState_0) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).listBccEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).bccAddressExpandMode;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).bccEmailAddressController;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).bccAddressFocusNode;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).keyBccEmailTagEditor;
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).isInitialRecipient;
t9 = t9.get$value(t9);
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$onEmailAddressFocusChange();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$deleteEmailAddressType();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t17 = t3._as(t2.get(t1)).get$handleFocusNextAddressAction();
A.Expando__checkType(t1);
t16.push(B.RecipientComposerWidget$(false, C.PrefixRecipientState_1, C.PrefixRecipientState_1, t6, t5, t7, t9, t8, t4, D.EdgeInsetsDirectional_24_0_0_0, t10, null, t13, t11, t17, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t12, t15, t14, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_3));
}
return A.Column$(t16, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 193
};
B.ComposerView_build__closure1.prototype = {
call$2(context, constraints) {
var _null = null,
t1 = this.$this,
t2 = type$.JSArray_Widget;
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([A.Column$(A._setArrayType([A.Expanded$(new A.Padding(D.EdgeInsetsDirectional_20_0_20_0, new A.Obx(new B.ComposerView_build___closure5(t1, context, constraints), _null), _null), 1), new A.Obx(new B.ComposerView_build___closure6(t1), _null), new A.Obx(new B.ComposerView_build___closure7(t1), _null)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), new A.Align(C.AlignmentDirectional_0_m1, _null, _null, new A.Obx(new B.ComposerView_build___closure8(t1), _null), _null)], t2), _null);
},
$signature: 227
};
B.ComposerView_build___closure5.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).composerArguments;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).emailContentsViewState;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1))._textEditorWeb;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).get$handleInitHtmlEditorWeb();
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).get$onChangeTextEditorWeb();
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).get$handleOnFocusHtmlEditorWeb();
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$handleOnUnFocusHtmlEditorWeb();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$handleOnMouseDownHtmlEditorWeb();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).richTextWebController;
t14 = this.context;
A.Expando__checkType(t1);
t15 = this.constraints;
return B.WebEditorView$(t5, t6, t7, t4.editorController, t15.maxHeight, t9, t13.get$onEditorSettingsChange(), t3._as(t2.get(t1)).richTextWebController.get$onEditorTextSizeChanged(), t10, new B.ComposerView_build____closure1(t1, t14), new B.ComposerView_build____closure2(t1, t14), t8, t12, t11, t15.maxWidth);
},
$signature: typesOffset + 3
};
B.ComposerView_build____closure2.prototype = {
call$1(fileUpload) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleImageUploadSuccess$2(this.context, fileUpload);
},
$signature: 303
};
B.ComposerView_build____closure1.prototype = {
call$3(fileUpload, base64Str, uploadError) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleImageUploadFailure$4$base64Str$context$fileUpload$uploadError(base64Str, this.context, fileUpload, uploadError);
},
$signature: 304
};
B.ComposerView_build___closure6.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).uploadController.listUploadAttachments;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).uploadController;
A.Expando__checkType(t1);
return new B.AttachmentComposerWidget(t4.listUploadAttachments, t3._as(t2.get(t1)).isAttachmentCollapsed, new B.ComposerView_build____closure(t1), new B.ComposerView_build____closure0(t1), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ComposerView_build____closure.prototype = {
call$1(fileState) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).uploadController;
t1._uploadingStateFiles.deleteElementByUploadTaskId$1(fileState.uploadTaskId);
t1._refreshListUploadAttachmentState$0();
return null;
},
$signature: 305
};
B.ComposerView_build____closure0.prototype = {
call$1(isCollapsed) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).isAttachmentCollapsed = isCollapsed;
},
$signature: 13
};
B.ComposerView_build___closure7.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState;
if (t4.get$value(t4) === C.FormattingOptionsState_0) {
A.Expando__checkType(t1);
return A.ToolbarRichTextWebBuilder$(D.BoxDecoration_OT9, null, D.EdgeInsetsDirectional_24_8_24_8, t3._as(t2.get(t1)).richTextWebController);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ComposerView_build___closure8.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).uploadController.uploadInlineViewState;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).viewState;
return new B.InsertImageLoadingBarWidget(t1.get$value(t1), t4, D.EdgeInsetsDirectional_0_12_0_0, null);
},
$signature: typesOffset + 1
};
B.ComposerView_build__closure2.prototype = {
call$0() {
var t3, t4, t5, t6, t7,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).richTextWebController.codeViewState;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState;
t5 = t5.get$value(t5);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).richTextWebController;
t7 = this.context;
A.Expando__checkType(t1);
return B.BottomBarComposerWidget$(new B.ComposerView_build___closure(t1, t7), new B.ComposerView_build___closure0(t1, t7), new B.ComposerView_build___closure1(t1, t7, this.constraints), t4 === C.CodeViewState_0, t5 === C.FormattingOptionsState_0, false, t6.get$toggleFormattingOptions(), new B.ComposerView_build___closure2(t1, t7), new B.ComposerView_build___closure3(t1, t7), new B.ComposerView_build___closure4(t1, t7), t3._as(t2.get(t1)).richTextWebController.get$toggleCodeView());
},
$signature: typesOffset + 5
};
B.ComposerView_build___closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openFilePickerByType$2(this.context, C.FileType_0);
},
$signature: 0
};
B.ComposerView_build___closure1.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).insertImage$2(this.context, this.constraints.maxWidth);
},
$signature: 0
};
B.ComposerView_build___closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.FocusScope_of(this.context).unfocus$0();
t1.mailboxDashBoardController.closeComposerOverlay$0();
return null;
},
$signature: 0
};
B.ComposerView_build___closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).saveToDraftAction$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure4.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).sendEmailAction$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure2.prototype = {
call$1(position) {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = this.context;
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openPopupMenuAction$4$radius(t3, position, t1._createReadReceiptPopupItems$1(t3), 8);
},
$signature: 300
};
B.ComposerView__createReadReceiptPopupItems_closure.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A.RxBoolExt_toggle(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).hasRequestReadReceipt);
},
$signature: 0
};
B.ComposerView__createMoreOptionPopupItems_closure.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).richTextWebController.toggleCodeView$0();
},
$signature: 0
};
B.ComposerView__createMoreOptionPopupItems_closure0.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A.RxBoolExt_toggle(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).hasRequestReadReceipt);
},
$signature: 0
};
B.ComposerView__createMoreOptionPopupItems_closure1.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).saveToDraftAction$1(this.context);
},
$signature: 0
};
B.ComposerView__createMoreOptionPopupItems_closure2.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.FocusScope_of(this.context).unfocus$0();
t1.mailboxDashBoardController.closeComposerOverlay$0();
},
$signature: 0
};
B.DesktopResponsiveContainerView_build_closure.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 180
};
B.DesktopResponsiveContainerView_build_closure0.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 180
};
B.MobileResponsiveContainerView_build_closure.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 180
};
B.TabletResponsiveContainerView_build_closure.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 180
};
B.WebEditorView_build_closure.prototype = {
call$1(failure) {
var t3,
t1 = this.$this,
t2 = t1.currentWebContent;
if (t2 == null)
t2 = "<br><div><br></div>";
t3 = A.Directionality_maybeOf(this.context);
if (t3 == null)
t3 = C.TextDirection_1;
return B.WebEditorWidget$(t2, t3, t1.editorController, t1.height, t1.onChangeContent, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onImageUploadFailureAction, t1.onImageUploadSuccessAction, t1.onInitial, t1.onMouseDown, t1.onUnFocus, t1.width);
},
$signature: typesOffset + 6
};
B.WebEditorView_build_closure0.prototype = {
call$1(success) {
var newContent, t1, t2, t3,
_s19_ = "<br><div><br></div>";
if (success instanceof A.GetEmailContentLoading)
return D.CupertinoLoadingWidget_MQy;
else {
newContent = success instanceof A.GetEmailContentSuccess ? success.htmlEmailContent : _s19_;
if (newContent.length === 0)
newContent = _s19_;
t1 = this.$this;
t2 = t1.currentWebContent;
if (t2 == null)
t2 = newContent;
t3 = A.Directionality_maybeOf(this.context);
if (t3 == null)
t3 = C.TextDirection_1;
return B.WebEditorWidget$(t2, t3, t1.editorController, t1.height, t1.onChangeContent, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onImageUploadFailureAction, t1.onImageUploadSuccessAction, t1.onInitial, t1.onMouseDown, t1.onUnFocus, t1.width);
}
},
$signature: 85
};
B.WebEditorView_build_closure1.prototype = {
call$1(failure) {
var emailContentQuoted,
t1 = this.$this,
t2 = this.context,
t3 = t1.$arguments,
t4 = t3.emailActionType;
t3 = t3.presentationEmail;
t3.toString;
emailContentQuoted = t1.getEmailContentQuotedAsHtml$4$context$emailActionType$emailContent$presentationEmail(t2, t4, "", t3);
t3 = t1.currentWebContent;
if (t3 == null)
t3 = emailContentQuoted;
t2 = A.Directionality_maybeOf(t2);
if (t2 == null)
t2 = C.TextDirection_1;
return B.WebEditorWidget$(t3, t2, t1.editorController, t1.height, t1.onChangeContent, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onImageUploadFailureAction, t1.onImageUploadSuccessAction, t1.onInitial, t1.onMouseDown, t1.onUnFocus, t1.width);
},
$signature: typesOffset + 6
};
B.WebEditorView_build_closure2.prototype = {
call$1(success) {
var t1, t2, t3, t4, t5, emailContentQuoted;
if (success instanceof A.TransformHtmlEmailContentLoading)
return D.CupertinoLoadingWidget_MQy;
else {
t1 = this.$this;
t2 = this.context;
t3 = success instanceof A.TransformHtmlEmailContentSuccess ? success.htmlContent : "";
t4 = t1.$arguments;
t5 = t4.emailActionType;
t4 = t4.presentationEmail;
t4.toString;
emailContentQuoted = t1.getEmailContentQuotedAsHtml$4$context$emailActionType$emailContent$presentationEmail(t2, t5, t3, t4);
t4 = t1.currentWebContent;
t3 = t4 == null ? emailContentQuoted : t4;
t2 = A.Directionality_maybeOf(t2);
if (t2 == null)
t2 = C.TextDirection_1;
return B.WebEditorWidget$(t3, t2, t1.editorController, t1.height, t1.onChangeContent, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onImageUploadFailureAction, t1.onImageUploadSuccessAction, t1.onInitial, t1.onMouseDown, t1.onUnFocus, t1.width);
}
},
$signature: 85
};
B.AttachmentHeaderComposerWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
return t1.onToggleExpandAction.call$1(t1.isCollapsed);
},
$signature: 0
};
B.AttachmentHeaderComposerWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1.onToggleExpandAction.call$1(t1.isCollapsed);
},
$signature: 0
};
B.AttachmentItemComposerWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onDeleteAttachmentAction.call$1(t1.fileState);
return t1;
},
$signature: 0
};
B.InsertImageLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
var t1 = this.$this;
return t1.viewState.fold$2(0, new B.InsertImageLoadingBarWidget_build__closure1(), new B.InsertImageLoadingBarWidget_build__closure2(t1));
},
$signature: 255
};
B.InsertImageLoadingBarWidget_build__closure1.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.InsertImageLoadingBarWidget_build__closure2.prototype = {
call$1(success) {
if (success instanceof A.DownloadingImageAsBase64)
return new B.CircleLoadingWidget(this.$this.padding, null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 85
};
B.InsertImageLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
var t1 = this.$this;
if (success instanceof A.UploadingAttachmentUploadState)
return new B.CircleLoadingWidget(t1.padding, null);
else
return t1.viewState.fold$2(0, new B.InsertImageLoadingBarWidget_build__closure(), new B.InsertImageLoadingBarWidget_build__closure0(t1));
},
$signature: 85
};
B.InsertImageLoadingBarWidget_build__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.InsertImageLoadingBarWidget_build__closure0.prototype = {
call$1(success) {
if (success instanceof A.DownloadingImageAsBase64)
return new B.CircleLoadingWidget(this.$this.padding, null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 85
};
B._RecipientComposerWidgetState_build_closure.prototype = {
call$2(context, constraints) {
var t5, _null = null,
t1 = this.$this,
t2 = t1._widget,
t3 = t2.padding,
t4 = t2.margin;
t2 = A._setArrayType([new A.Padding(D.EdgeInsetsDirectional_0_16_0_0, A.Text$(A.S(B.PrefixEmailAddressExtension_asName(t2.prefix, context)) + ":", _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_cw1, _null, _null, _null, _null, _null), _null), C.SizedBox_8_null_null_null, A.Expanded$(A.FocusScope$(false, A.Focus$(false, _null, new A.StatefulBuilder(new B._RecipientComposerWidgetState_build__closure(t1, constraints), _null), _null, _null, _null, _null, true, _null, new B._RecipientComposerWidgetState_build__closure0(t1), new B._RecipientComposerWidgetState_build__closure1(t1), _null, _null, _null), _null, _null, _null, _null), 1), C.SizedBox_8_null_null_null], type$.JSArray_Widget);
t5 = t1._widget;
if (t5.prefix === C.PrefixEmailAddress_1 && t5.ccState === C.PrefixRecipientState_1) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, D.EdgeInsetsDirectional_0_12_0_0, new B._RecipientComposerWidgetState_build__closure2(t1), D.EdgeInsetsDirectional_5_3_5_3, A.Intl__message("Cc", _null, "cc_email_address_prefix", _null, _null), _null, D.TextStyle_inH, _null));
}
t5 = t1._widget;
if (t5.prefix === C.PrefixEmailAddress_1 && t5.bccState === C.PrefixRecipientState_1) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, D.EdgeInsetsDirectional_0_12_0_0, new B._RecipientComposerWidgetState_build__closure3(t1), D.EdgeInsetsDirectional_5_3_5_3, A.Intl__message("Bcc", _null, "bcc_email_address_prefix", _null, _null), _null, D.TextStyle_inH, _null));
}
if (t1._widget.prefix !== C.PrefixEmailAddress_1)
t2.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_close.svg", C.Color_4290298316, 20, _null, D.EdgeInsetsDirectional_0_12_0_0, 1 / 0, _null, new B._RecipientComposerWidgetState_build__closure4(t1), D.EdgeInsetsDirectional_3_3_3_3, _null));
return A.Container$(_null, A.Row$(t2, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_rfJ, _null, _null, _null, t4, t3, _null, _null, _null);
},
$signature: 143
};
B._RecipientComposerWidgetState_build__closure0.prototype = {
call$1($focus) {
var t1 = this.$this._widget;
t1 = t1.onFocusEmailAddressChangeAction.call$2(t1.prefix, $focus);
return t1;
},
$signature: 13
};
B._RecipientComposerWidgetState_build__closure1.prototype = {
call$2(focusNode, $event) {
var t1, t2;
if ($event instanceof A.RawKeyDownEvent && $event.data.get$logicalKey().$eq(0, C.LogicalKeyboardKey_4294967305)) {
t1 = this.$this;
t2 = t1._widget.nextFocusNode;
if (t2 != null)
t2.requestFocus$0();
t1._widget.onFocusNextAddressAction.call$0();
return C.KeyEventResult_0;
}
return C.KeyEventResult_1;
},
$signature: 68
};
B._RecipientComposerWidgetState_build__closure.prototype = {
call$2(context, stateSetter) {
var t1 = this.$this;
return A.DragTarget$(new B._RecipientComposerWidgetState_build___closure(t1, this.constraints, stateSetter), new B._RecipientComposerWidgetState_build___closure0(t1, stateSetter), new B._RecipientComposerWidgetState_build___closure1(t1, stateSetter), new B._RecipientComposerWidgetState_build___closure2(t1, stateSetter), type$.DraggableEmailAddress);
},
$signature: 1509
};
B._RecipientComposerWidgetState_build___closure.prototype = {
call$3(context, candidateData, rejectedData) {
var t8, t9, _null = null,
t1 = this.$this,
t2 = t1._widget.keyTagEditor,
t3 = t1.get$_collapsedListEmailAddress().length,
t4 = t1._widget,
t5 = t4.controller,
t6 = t4.focusNode,
t7 = t1._recipient_composer_widget$_isDragging;
if (t4.prefix !== C.PrefixEmailAddress_1) {
t4 = t1.___RecipientComposerWidgetState__currentListEmailAddress_A;
t4 === $ && A.throwUnnamedLateFieldNI();
t4 = t4.length === 0;
} else
t4 = false;
t8 = t1._getSuggestionBoxWidth$1(this.constraints.maxWidth);
t9 = this.stateSetter;
t1._widget.toString;
return F.TagEditor$(false, t4, _null, 10, t5, _null, C.Duration_150000, t7, C.Color_4278221567, t1.get$_findSuggestions(), t6, _null, false, D.InputDecoration_Cfr, t2, C.TextInputType_5_null_null, t3, 20, new B._RecipientComposerWidgetState_build____closure1(t1, t9), new B._RecipientComposerWidgetState_build____closure2(t1, t9), new B._RecipientComposerWidgetState_build____closure3(t1, t9), new B._RecipientComposerWidgetState_build____closure4(t1, t9), new B._RecipientComposerWidgetState_build____closure5(t1, t9), _null, _null, true, t8, new B._RecipientComposerWidgetState_build____closure6(t1, t9), _null, _null, C.Color_4294967295, 20, 350, 20, new B._RecipientComposerWidgetState_build____closure7(t1, t9), 8, C.TextInputAction_2, C.TextStyle_oHY0, false, type$.SuggestionEmailAddress);
},
$signature: typesOffset + 18
};
B._RecipientComposerWidgetState_build____closure2.prototype = {
call$1(focused) {
return this.$this.get$_handleFocusTagAction().call$2(focused, this.stateSetter);
},
$signature: 13
};
B._RecipientComposerWidgetState_build____closure1.prototype = {
call$0() {
return this.$this.get$_handleDeleteLatestTagAction().call$1(this.stateSetter);
},
$signature: 0
};
B._RecipientComposerWidgetState_build____closure3.prototype = {
call$1(item) {
return this.$this.get$_handleSelectOptionAction().call$2(item, this.stateSetter);
},
$signature: typesOffset + 19
};
B._RecipientComposerWidgetState_build____closure4.prototype = {
call$1(value) {
return this.$this.get$_handleSubmitTagAction().call$2(value, this.stateSetter);
},
$signature: 8
};
B._RecipientComposerWidgetState_build____closure7.prototype = {
call$2(context, index) {
var currentEmailAddress, isLatestEmail, t3, t4, t5, t6, t7, t8,
t1 = this.$this,
t2 = t1.___RecipientComposerWidgetState__currentListEmailAddress_A;
t2 === $ && A.throwUnnamedLateFieldNI();
currentEmailAddress = t2[index];
isLatestEmail = currentEmailAddress.$eq(0, C.JSArray_methods.get$last(t2));
t2 = t1._widget.prefix;
t3 = t1.___RecipientComposerWidgetState__currentListEmailAddress_A;
t4 = t1.get$_collapsedListEmailAddress();
t5 = t1.get$_isCollapse();
t6 = t1._lastTagFocused;
t7 = t1._widget.onShowFullListEmailAddressAction;
$.$get$Get();
t8 = $.GetInstance__getInstance;
if (t8 == null)
t8 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.RecipientTagItemWidget(t5, t6, isLatestEmail, t2, currentEmailAddress, t3, t4, t7, new B._RecipientComposerWidgetState_build_____closure(t1, this.stateSetter), t8.find$1$1$tag(0, null, type$.ImagePaths), null);
},
$signature: typesOffset + 20
};
B._RecipientComposerWidgetState_build_____closure.prototype = {
call$1(emailAddress) {
return this.$this.get$_handleDeleteTagAction().call$2(emailAddress, this.stateSetter);
},
$signature: 74
};
B._RecipientComposerWidgetState_build____closure5.prototype = {
call$1(value) {
return this.$this.get$_handleOnTagChangeAction().call$2(value, this.stateSetter);
},
$signature: 8
};
B._RecipientComposerWidgetState_build____closure6.prototype = {
call$7(context, tagEditorState, suggestionEmailAddress, index, $length, highlight, suggestionValid) {
var t3,
t1 = suggestionEmailAddress.state,
t2 = suggestionEmailAddress.emailAddress;
$.$get$Get();
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.RecipientSuggestionItemWidget(t1, t2, suggestionValid, highlight, new B._RecipientComposerWidgetState_build_____closure0(this.$this, this.stateSetter, tagEditorState), t3.find$1$1$tag(0, null, type$.ImagePaths), null);
},
$signature: typesOffset + 21
};
B._RecipientComposerWidgetState_build_____closure0.prototype = {
call$1(emailAddress) {
var t1 = this.$this;
this.stateSetter.call$1(new B._RecipientComposerWidgetState_build______closure(t1, emailAddress));
t1._updateListEmailAddressAction$0();
t1 = this.tagEditorState;
t1.resetTextField$0();
t1.closeSuggestionBox$0();
},
$signature: 307
};
B._RecipientComposerWidgetState_build______closure.prototype = {
call$0() {
var t1 = this.$this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return C.JSArray_methods.add$1(t1, this.emailAddress);
},
$signature: 0
};
B._RecipientComposerWidgetState_build___closure0.prototype = {
call$1(draggableEmailAddress) {
return this.$this._handleAcceptDraggableEmailAddressAction$2(draggableEmailAddress, this.stateSetter);
},
$signature: 441
};
B._RecipientComposerWidgetState_build___closure1.prototype = {
call$1(draggableEmailAddress) {
var t1 = this.$this;
if (t1._recipient_composer_widget$_isDragging)
this.stateSetter.call$1(new B._RecipientComposerWidgetState_build____closure0(t1));
},
$signature: 1511
};
B._RecipientComposerWidgetState_build____closure0.prototype = {
call$0() {
return this.$this._recipient_composer_widget$_isDragging = false;
},
$signature: 0
};
B._RecipientComposerWidgetState_build___closure2.prototype = {
call$1(details) {
var t1 = this.$this;
if (!t1._recipient_composer_widget$_isDragging)
this.stateSetter.call$1(new B._RecipientComposerWidgetState_build____closure(t1));
},
$signature: 1512
};
B._RecipientComposerWidgetState_build____closure.prototype = {
call$0() {
return this.$this._recipient_composer_widget$_isDragging = true;
},
$signature: 0
};
B._RecipientComposerWidgetState_build__closure2.prototype = {
call$0() {
var t1 = this.$this._widget.onAddEmailAddressTypeAction;
return t1 == null ? null : t1.call$1(C.PrefixEmailAddress_2);
},
$signature: 0
};
B._RecipientComposerWidgetState_build__closure3.prototype = {
call$0() {
var t1 = this.$this._widget.onAddEmailAddressTypeAction;
return t1 == null ? null : t1.call$1(C.PrefixEmailAddress_3);
},
$signature: 0
};
B._RecipientComposerWidgetState_build__closure4.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.onDeleteEmailAddressTypeAction;
return t2 == null ? null : t2.call$1(t1.prefix);
},
$signature: 0
};
B._RecipientComposerWidgetState__findSuggestions_closure.prototype = {
call$1(emailAddress) {
var t1 = this.$this,
t2 = t1.___RecipientComposerWidgetState__currentListEmailAddress_A;
t2 === $ && A.throwUnnamedLateFieldNI();
return t1._recipient_composer_widget$_toSuggestionEmailAddress$2(emailAddress, t2);
},
$signature: typesOffset + 8
};
B._RecipientComposerWidgetState__isDuplicatedRecipient_closure.prototype = {
call$1(emailAddress) {
return emailAddress.email;
},
$signature: 292
};
B._RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure.prototype = {
call$1(addedMail) {
var t1 = addedMail.email;
if (t1 == null)
t1 = "";
return C.JSString_methods.contains$1(t1, this.query);
},
$signature: 73
};
B._RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure0.prototype = {
call$1(emailAddress) {
return new H.SuggestionEmailAddress(emailAddress, G.SuggestionEmailState_1);
},
$signature: typesOffset + 8
};
B._RecipientComposerWidgetState__handleFocusTagAction_closure.prototype = {
call$0() {
return this.$this._lastTagFocused = this.focused;
},
$signature: 0
};
B._RecipientComposerWidgetState__handleDeleteTagAction_closure.prototype = {
call$0() {
var t1 = this.$this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return C.JSArray_methods.remove$1(t1, this.emailAddress);
},
$signature: 0
};
B._RecipientComposerWidgetState__handleSelectOptionAction_closure.prototype = {
call$0() {
var t1 = this.$this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return C.JSArray_methods.add$1(t1, this.suggestionEmailAddress.emailAddress);
},
$signature: 0
};
B._RecipientComposerWidgetState__handleSubmitTagAction_closure.prototype = {
call$0() {
var t1 = this.$this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return C.JSArray_methods.add$1(t1, new A.EmailAddress(null, this.textTrim));
},
$signature: 0
};
B._RecipientComposerWidgetState__handleOnTagChangeAction_closure.prototype = {
call$0() {
var t1 = this.$this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return C.JSArray_methods.add$1(t1, new A.EmailAddress(null, this.textTrim));
},
$signature: 0
};
B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.___RecipientComposerWidgetState__currentListEmailAddress_A;
t2 === $ && A.throwUnnamedLateFieldNI();
C.JSArray_methods.add$1(t2, this.draggableEmailAddress.emailAddress);
t1._recipient_composer_widget$_isDragging = false;
},
$signature: 0
};
B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure0.prototype = {
call$0() {
return this.$this._recipient_composer_widget$_isDragging = false;
},
$signature: 0
};
B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure1.prototype = {
call$0() {
return this.$this._recipient_composer_widget$_isDragging = false;
},
$signature: 0
};
B.RecipientSuggestionItemWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onSelectedAction.call$1(t1.emailAddress);
return t1;
},
$signature: 0
};
B.RecipientTagItemWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
if (t1.isCollapsed)
t1 = t1.onShowFullAction.call$1(t1.prefix);
else
t1 = null;
return t1;
},
$signature: 0
};
B.RecipientTagItemWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onDeleteTagAction.call$1(t1.currentEmailAddress);
return t1;
},
$signature: 0
};
B.RecipientTagItemWidget_build_closure1.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onShowFullAction.call$1(t1.prefix);
return t1;
},
$signature: 0
};
B._AttachmentComposerWidgetState_build_closure.prototype = {
call$1(isCollapsed) {
var t1 = this.$this;
t1.setState$1(new B._AttachmentComposerWidgetState_build__closure(t1, isCollapsed));
t1._widget.onToggleExpandAttachmentAction$1(!isCollapsed);
},
$signature: 56
};
B._AttachmentComposerWidgetState_build__closure.prototype = {
call$0() {
return this.$this._isCollapsed = !this.isCollapsed;
},
$signature: 0
};
B._AttachmentComposerWidgetState_build_closure0.prototype = {
call$1(file) {
var t2,
t1 = this.$this._widget.onDeleteAttachmentAction;
$.$get$Get();
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.AttachmentItemComposerWidget(t2.find$1$1$tag(0, null, type$.ImagePaths), file, t1, null);
},
$signature: typesOffset + 23
};
B.DesktopAppBarComposerWidget_build_closure.prototype = {
call$0() {
return this.$this.onChangeDisplayModeAction.call$1(C.ScreenDisplayMode_1);
},
$signature: 0
};
B.DesktopAppBarComposerWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onChangeDisplayModeAction;
t2.toString;
return t2.call$1(t1.displayMode === D.ScreenDisplayMode_0 ? C.ScreenDisplayMode_2 : D.ScreenDisplayMode_0);
},
$signature: 0
};
B._DropZoneWidgetState_build_closure.prototype = {
call$3(context, candidateData, rejectedData) {
var t3, _null = null,
t1 = this.$this,
t2 = t1._isDragging;
t1 = t1._widget;
if (t2) {
t2 = t1.width;
t1 = t1.height;
t3 = A.SvgPicture$asset("assets/images/ic_drop_zone_icon.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return new A.Padding(D.EdgeInsetsDirectional_0_8_0_8, new B.DottedBorder(A.Container$(D.AlignmentDirectional_0_0, A.Column$(A._setArrayType([t3, C.SizedBox_null_20_null_null, A.Text$(A.Intl__message("Drop file here to attach them", _null, "dropFileHereToAttachThem", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_oHY25, _null, _null, _null, _null, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_2, _null, _null, D.ShapeDecoration_BZt, _null, t1, _null, _null, C.EdgeInsets_20_20_20_20, _null, _null, t2), 2, D.Color_4282819327, D.List_6_3, D.BorderType_1, C.Radius_16_16, _null), _null);
} else
return new A.SizedBox(t1.width, t1.height, _null, _null);
},
$signature: 1513
};
B._DropZoneWidgetState_build_closure0.prototype = {
call$1(attachment) {
var t1 = this.$this;
if (t1._isDragging)
t1.setState$1(new B._DropZoneWidgetState_build__closure0(t1));
},
$signature: 1514
};
B._DropZoneWidgetState_build__closure0.prototype = {
call$0() {
return this.$this._isDragging = false;
},
$signature: 0
};
B._DropZoneWidgetState_build_closure1.prototype = {
call$1(details) {
var t1 = this.$this;
if (!t1._isDragging)
t1.setState$1(new B._DropZoneWidgetState_build__closure(t1));
},
$signature: 1515
};
B._DropZoneWidgetState_build__closure.prototype = {
call$0() {
return this.$this._isDragging = true;
},
$signature: 0
};
B.MinimizeComposerWidget_build_closure.prototype = {
call$0() {
return this.$this.onChangeDisplayModeAction.call$1(D.ScreenDisplayMode_0);
},
$signature: 0
};
B.MinimizeComposerWidget_build_closure0.prototype = {
call$0() {
return this.$this.onChangeDisplayModeAction.call$1(C.ScreenDisplayMode_2);
},
$signature: 0
};
B._WebEditorState_build_closure.prototype = {
call$0() {
var t1 = this.$this._widget;
t1 = t1.onInitial.call$1(t1.content);
return t1;
},
$signature: 0
};
B._WebEditorState_build_closure0.prototype = {
call$0() {
var t1 = this.$this._widget.onMouseDown.call$1(this.context);
return t1;
},
$signature: 0
};
B.EmailView_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).get$backButtonPressedCallbackAction().call$1(this.context);
},
$signature: 20
};
B.EmailView_build_closure.prototype = {
call$0() {
var t3, t4, t5, t6, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.selectedEmail;
t4 = t4.get$value(t4);
if (t4 != null) {
t5 = A._setArrayType([], type$.JSArray_Widget);
t6 = this.context;
t5.push(new A.Obx(new B.EmailView_build__closure(t1, t4, t6), _null));
t5.push(new A.Obx(new B.EmailView_build__closure0(t1, t6), _null));
t5.push(A.Expanded$(new A.Obx(new B.EmailView_build__closure1(t1, t4, t6), _null), 1));
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).get$pressEmailAction();
$.$get$Get();
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
t2 = t2.find$1$1$tag(0, _null, type$.ImagePaths);
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
t5.push(new B.EmailViewBottomBarWidget(t2, t3.find$1$1$tag(0, _null, type$.ResponsiveUtils), t4, t1, D.ValueKey_email_view_button_bar));
return A.Column$(t5, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
} else
return D.EmailViewEmptyWidget_null;
},
$signature: 4
};
B.EmailView_build__closure.prototype = {
call$0() {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, _null = null,
_s26_ = "assets/images/ic_older.svg",
_s26_0 = "assets/images/ic_newer.svg",
t1 = this.currentEmail,
t2 = this.$this,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t2)._eval$1("GetWidget.S");
t5 = A.PresentationEmailExtension_findMailboxContain(t1, t4._as(t3.get(t2)).mailboxDashBoardController.mapMailboxById);
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).mailboxDashBoardController.searchController;
t7 = t6.simpleSearchIsActivated;
if (!t7.get$value(t7)) {
t6 = t6.advancedSearchIsActivated;
t6 = t6.get$value(t6);
} else
t6 = true;
t7 = this.context;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).emailSupervisorController.supportedPageView;
t8 = t8.get$value(t8);
if (t8) {
t8 = type$._LocalizationsScope;
t9 = t7.dependOnInheritedWidgetOfExactType$1$0(t8).localizationsState._localizations$_locale;
t9 = A.Bidi_isRtlLanguage(t9.get$languageCode(t9)) ? _s26_ : _s26_0;
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).emailSupervisorController.get$nextEmailActivated() ? C.Color_4278221567 : C.Color_4289640386;
t11 = type$.AppLocalizations;
A.Localizations_of(t7, C.Type_AppLocalizations_swi, t11).toString;
t12 = A.Intl__message("Newer", _null, "newer", _null, _null);
A.Expando__checkType(t2);
t12 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t9, t10, 20, _null, _null, 1 / 0, _null, t4._as(t3.get(t2)).emailSupervisorController.get$moveToNextEmail(), C.EdgeInsets_5_5_5_5, t12);
t8 = t7.dependOnInheritedWidgetOfExactType$1$0(t8).localizationsState._localizations$_locale;
t8 = A.Bidi_isRtlLanguage(t8.get$languageCode(t8)) ? _s26_0 : _s26_;
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).emailSupervisorController.get$previousEmailActivated() ? C.Color_4278221567 : C.Color_4289640386;
A.Localizations_of(t7, C.Type_AppLocalizations_swi, t11).toString;
t11 = A.Intl__message("Older", _null, "older", _null, _null);
A.Expando__checkType(t2);
t11 = A._setArrayType([t12, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t8, t9, 20, _null, _null, 1 / 0, _null, t4._as(t3.get(t2)).emailSupervisorController.get$backToPreviousEmail(), C.EdgeInsets_5_5_5_5, t11)], type$.JSArray_Widget);
t3 = t11;
} else
t3 = _null;
$.$get$Get();
t4 = $.GetInstance__getInstance;
if (t4 == null)
t4 = $.GetInstance__getInstance = C.C_GetInstance;
t4 = t4.find$1$1$tag(0, _null, type$.ImagePaths);
t8 = $.GetInstance__getInstance;
if (t8 == null)
t8 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.EmailViewAppBarWidget(t4, t8.find$1$1$tag(0, _null, type$.ResponsiveUtils), t1, t3, t5, t6, new B.EmailView_build___closure1(t2, t7), new B.EmailView_build___closure2(t2, t7), new B.EmailView_build___closure3(t2, t7), D.ValueKey_email_view_app_bar_widget);
},
$signature: typesOffset + 24
};
B.EmailView_build___closure1.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).closeEmailView$1(this.context);
},
$signature: 0
};
B.EmailView_build___closure2.prototype = {
call$2(email, action) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleEmailAction$3(this.context, email, action);
},
$signature: 1516
};
B.EmailView_build___closure3.prototype = {
call$2(email, position) {
var t4, t5, mailboxContain,
t1 = this.$this,
t2 = this.context,
t3 = A._instanceType(t1);
if (position == null) {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t4 = t3._eval$1("GetWidget.S")._as(t4._jsWeakMap.get(t1));
t3 = A._setArrayType([t1._markAsEmailUnreadAction$2(t2, email), t1._markAsEmailSpamOrUnSpamAction$2(t2, email)], type$.JSArray_Widget);
t5 = email.from;
if ((t5 == null ? null : t5._collection$_length !== 0) === true)
t3.push(t1._quickCreatingRuleAction$2(t2, email));
t4.openContextMenuAction$2(t2, t3);
} else {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t4 = t4._jsWeakMap;
t3 = t3._eval$1("GetWidget.S");
t5 = t3._as(t4.get(t1));
A.Expando__checkType(t1);
mailboxContain = t3._as(t4.get(t1)).getMailboxContain$1(email);
t4 = A._setArrayType([t1._markAsEmailUnreadPopupItemAction$2(t2, email), t1._markAsEmailSpamOrUnSpamPopupItemAction$3(t2, email, mailboxContain)], type$.JSArray_PopupMenuEntry_dynamic);
t3 = email.from;
if ((t3 == null ? null : t3._collection$_length !== 0) === true)
t4.push(t1._quickCreatingRulePopupItemAction$2(t2, email));
t5.openPopupMenuAction$3(t2, position, t4);
}
},
$signature: 308
};
B.EmailView_build__closure0.prototype = {
call$0() {
var t3, t4, vacation, t5, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.vacationResponse;
vacation = t4.get$value(t4);
if (vacation == null)
t4 = _null;
else
t4 = F.VacationResponseExtension_get_vacationResponderIsReady(vacation) && !F.VacationResponseExtension_get_vacationResponderIsStopped(vacation);
if (t4 === true) {
t4 = this.context;
t5 = type$.MediaQuery;
if (!(A.InheritedModel_inheritFrom(t4, _null, t5).data.size._dx < 600))
if (!t1.responsiveUtils.isTablet$1(t4))
if (A.InheritedModel_inheritFrom(t4, _null, t5).data.size.get$shortestSide() < 600) {
t4 = A.InheritedModel_inheritFrom(t4, _null, t5).data;
t4 = t4.get$orientation(t4) === C.Orientation_1;
} else
t4 = false;
else
t4 = true;
else
t4 = true;
} else
t4 = false;
if (t4) {
vacation.toString;
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).mailboxDashBoardController;
A.Expando__checkType(t1);
return F.VacationNotificationMessageWidget$(t3._as(t2.get(t1)).mailboxDashBoardController.get$disableVacationResponder(), t4.get$goToVacationSetting(), false, _null, D.EdgeInsets_12_0_12_5, _null, vacation);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.EmailView_build__closure1.prototype = {
call$0() {
var t3, t4, currentListEmail, t5, t6,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).emailSupervisorController.supportedPageView;
if (t4.get$value(t4)) {
A.Expando__checkType(t1);
currentListEmail = t3._as(t2.get(t1)).emailSupervisorController._currentListEmail;
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).emailSupervisorController.scrollPhysicsPageView;
t4 = t4.get$value(t4);
t5 = currentListEmail.length;
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).emailSupervisorController.pageController;
A.Expando__checkType(t1);
return A.PageView$builder(true, t6, new B.EmailView_build___closure(t1, currentListEmail), t5, null, t3._as(t2.get(t1)).emailSupervisorController.get$onPageChanged(), t4);
} else
return new A.Obx(new B.EmailView_build___closure0(t1, this.currentEmail, this.context), null);
},
$signature: 4
};
B.EmailView_build___closure.prototype = {
call$2(context, index) {
return new A.Obx(new B.EmailView_build____closure(this.$this, this.currentListEmail[index], context), null);
},
$signature: 102
};
B.EmailView_build____closure.prototype = {
call$0() {
var calendarEvent, t3, t4, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).calendarEvent;
calendarEvent = t2.get$value(t2);
t2 = this.currentEmail;
t3 = t2.get$hasCalendarEvent() && calendarEvent != null;
t4 = this.context;
if (t3)
return A.SingleChildScrollView$(A.Container$(C.Alignment_0_0, t1._buildEmailMessage$4$calendarEvent$context$emailAddressSender$presentationEmail(calendarEvent, t4, A.ListEmailAddressExtension_getListAddress(B.PresentationEmailExtension_get_listEmailAddressSender(t2)), t2), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, 1 / 0), _null, _null, _null, C.ClampingScrollPhysics_null, _null, C.Axis_1);
else
return t1._buildEmailMessage$2$context$presentationEmail(t4, t2);
},
$signature: 4
};
B.EmailView_build___closure0.prototype = {
call$0() {
var calendarEvent, t3, t4, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).calendarEvent;
calendarEvent = t2.get$value(t2);
t2 = this.currentEmail;
t3 = t2.get$hasCalendarEvent() && calendarEvent != null;
t4 = this.context;
if (t3)
return A.SingleChildScrollView$(A.Container$(C.Alignment_0_0, t1._buildEmailMessage$4$calendarEvent$context$emailAddressSender$presentationEmail(calendarEvent, t4, A.ListEmailAddressExtension_getListAddress(B.PresentationEmailExtension_get_listEmailAddressSender(t2)), t2), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, 1 / 0), _null, _null, _null, C.ClampingScrollPhysics_null, _null, C.Axis_1);
else
return t1._buildEmailMessage$2$context$presentationEmail(t4, t2);
},
$signature: 4
};
B.EmailView__buildEmailMessage_closure.prototype = {
call$0() {
var attachments,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
attachments = A.ListAttachmentExtension_get_listAttachmentsDisplayedOutSide(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).attachments);
if (attachments.length !== 0) {
t2 = this.context;
return new B.EmailAttachmentsWidget(attachments, new B.EmailView__buildEmailMessage__closure0(t1), new B.EmailView__buildEmailMessage__closure1(t1), new B.EmailView__buildEmailMessage__closure2(t1, t2), t1.responsiveUtils, t1.imagePaths, new B.EmailView__buildEmailMessage__closure3(t1, t2, attachments), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.EmailView__buildEmailMessage__closure0.prototype = {
call$0() {
var t1, t2;
A.log("EmailView::_buildEmailMessage:onDragStarted:", C.Level_3);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).mailboxDashBoardController.draggableAppState.set$value(0, C.DraggableAppState_0);
},
$signature: 7
};
B.EmailView__buildEmailMessage__closure1.prototype = {
call$1(details) {
var t1, t2;
A.log("EmailView::_buildEmailMessage:onDragEnd:", C.Level_3);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).mailboxDashBoardController.draggableAppState.set$value(0, C.DraggableAppState_1);
},
$signature: typesOffset + 25
};
B.EmailView__buildEmailMessage__closure2.prototype = {
call$1(attachment) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1))._downloadAttachmentForWebAction$2(this.context, attachment);
},
$signature: 224
};
B.EmailView__buildEmailMessage__closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openAttachmentList$2(this.context, this.attachments);
},
$signature: 0
};
B.EmailView__buildEmailMessage_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).emailLoadedViewState;
return new B.EmailViewLoadingBarWidget(t1.get$value(t1), null);
},
$signature: typesOffset + 26
};
B.EmailView__buildEmailMessage_closure1.prototype = {
call$0() {
var t3, t4, allEmailContents,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).emailContents;
if (t4.get$value(t4) != null) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).emailContents;
allEmailContents = t2.get$value(t2);
return A.Expanded$(new A.Padding(D.EdgeInsetsDirectional_16_0_0_16, new A.LayoutBuilder(new B.EmailView__buildEmailMessage__closure(t1, allEmailContents == null ? "" : allEmailContents), null), null), 1);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.EmailView__buildEmailMessage__closure.prototype = {
call$2(context, constraints) {
return new A.Obx(new B.EmailView__buildEmailMessage___closure(this.$this, constraints, this.allEmailContents, context), null);
},
$signature: 1518
};
B.EmailView__buildEmailMessage___closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, _this = this, _null = null,
t1 = _this.constraints,
t2 = t1.maxWidth;
t1 = t1.maxHeight;
t3 = _this.$this;
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t3);
t4 = t4._jsWeakMap;
t5 = A._instanceType(t3)._eval$1("GetWidget.S");
t6 = t5._as(t4.get(t3)).get$openMailToLink();
t7 = A.Directionality_maybeOf(_this.context);
if (t7 == null)
t7 = C.TextDirection_1;
t6 = A._setArrayType([F.HtmlContentViewerOnWeb$(true, _this.allEmailContents, new F.HtmlViewerControllerForWeb(), t7, t1, t6, t2)], type$.JSArray_Widget);
A.Expando__checkType(t3);
t3 = t5._as(t4.get(t3)).mailboxDashBoardController.draggableAppState;
if (J.$eq$(t3.get$value(t3), C.DraggableAppState_0))
t6.push(A.PointerInterceptor$(new A.SizedBox(t2, t1, _null, _null)));
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, t6, _null);
},
$signature: 560
};
B.EmailView__markAsEmailUnreadAction_closure.prototype = {
call$1(email) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleEmailAction$3(this.context, email, C.EmailActionType_5);
},
$signature: 111
};
B.EmailView__markAsEmailSpamOrUnSpamAction_closure.prototype = {
call$1(email) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = this.currentMailbox;
t2 = (t2 == null ? null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true ? C.EmailActionType_21 : C.EmailActionType_20;
return t1.handleEmailAction$3(this.context, email, t2);
},
$signature: 111
};
B.EmailView__quickCreatingRuleAction_closure.prototype = {
call$1(email) {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = email.from;
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).quickCreatingRule$2(this.context, t3.get$first(t3));
},
$signature: 111
};
B.EmailView__markAsEmailUnreadPopupItemAction_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleEmailAction$3(this.context, this.email, C.EmailActionType_5);
},
$signature: 0
};
B.EmailView__markAsEmailSpamOrUnSpamPopupItemAction_closure.prototype = {
call$0() {
var _this = this,
t1 = _this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = _this.mailboxContain;
t2 = (t2 == null ? null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true ? C.EmailActionType_21 : C.EmailActionType_20;
return t1.handleEmailAction$3(_this.context, _this.email, t2);
},
$signature: 0
};
B.EmailView__quickCreatingRulePopupItemAction_closure.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = this.email.from;
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).quickCreatingRule$2(this.context, t3.get$first(t3));
},
$signature: 0
};
B.CalendarEventExtension_findAttendeeHasUpdatedStatus_closure.prototype = {
call$1(attendee) {
var t1 = attendee.mailto;
return t1 != null && C.JSArray_methods.contains$1(this.listEmailAddressSender, t1.mailAddress.value);
},
$signature: 562
};
B.CalendarEventExtension_get_videoConferences_closure.prototype = {
call$1(link) {
return link.length !== 0;
},
$signature: 26
};
B.CalendarEventExtension_get_videoConferences_closure0.prototype = {
call$1(link) {
return link.length !== 0;
},
$signature: 26
};
B.ListAttendeeExtension_get_mailtoAsString_closure.prototype = {
call$1(attendee) {
var t1 = attendee.mailto;
return t1 == null ? null : t1.mailAddress.value;
},
$signature: 1521
};
B.ListAttendeeExtension_withoutOrganizer_closure.prototype = {
call$1(attendee) {
var t1 = attendee.mailto;
t1 = t1 == null ? null : t1.mailAddress;
return !J.$eq$(t1, this.organizer.mailto);
},
$signature: 562
};
B.AttachmentItemWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.downloadAttachmentAction.call$1(t1.attachment);
return t1;
},
$signature: 0
};
B.AttachmentItemWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.downloadAttachmentAction.call$1(t1.attachment);
return t1;
},
$signature: 0
};
B.CalendarEventActionButtonWidget_build_closure.prototype = {
call$1(action) {
var _null = null,
t1 = this.context,
t2 = action.actionType.getLabelButton$1(t1),
t3 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(t1, _null, t3).data.size.get$shortestSide() < 600) {
t1 = A.InheritedModel_inheritFrom(t1, _null, t3).data;
t1 = t1.get$orientation(t1) === C.Orientation_0;
} else
t1 = false;
t1 = t1 ? 1 / 0 : _null;
return A.TMailButtonWidget$(C.Color_0, A.Border_Border$all(C.Color_4278221567, 1), 10, _null, false, _null, C.TextDirection_1, _null, _null, 8, false, _null, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 80, _null, new B.CalendarEventActionButtonWidget_build__closure(action), D.EdgeInsetsDirectional_12_8_12_8, t2, C.TextAlign_2, C.TextStyle_yzp2, _null, _null, _null, _null, false, t1);
},
$signature: 1522
};
B.CalendarEventActionButtonWidget_build__closure.prototype = {
call$0() {
return A.AppUtils_launchLink(this.action.link);
},
$signature: 0
};
B._EventAttendeeDetailWidgetState_build_closure.prototype = {
call$1(attendee) {
var t1 = this.$this.___EventAttendeeDetailWidgetState__attendeesDisplayed_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return new B.AttendeeWidget(attendee, t1, null);
},
$signature: typesOffset + 27
};
B._EventAttendeeDetailWidgetState_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
t1.setState$1(new B._EventAttendeeDetailWidgetState_build__closure(t1));
},
$signature: 0
};
B._EventAttendeeDetailWidgetState_build__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._widget;
t1.___EventAttendeeDetailWidgetState__attendeesDisplayed_A = B.ListAttendeeExtension_withoutOrganizer(t2.attendees, t2.organizer);
t1.___EventAttendeeDetailWidgetState__isShowAllAttendee_A = true;
},
$signature: 0
};
B.EventDescriptionDetailWidget_build_closure.prototype = {
call$1(element) {
A.log("EventDescriptionDetailWidget::build:element: " + element.toString$0(0), C.Level_3);
if (element instanceof A.UrlElement)
this.$this.onOpenNewTabAction.call$1(element.url);
else if (element instanceof A.EmailElement)
this.$this.onOpenComposerAction.call$1(element.emailAddress);
},
$signature: 310
};
B.EventLinkDetailWidget_build_closure.prototype = {
call$1(link) {
return new B.HyperLinkWidget(link, null);
},
$signature: typesOffset + 28
};
B.EventLocationDetailWidget_build_closure.prototype = {
call$1(element) {
A.log("EventLocationDetailWidget::build:element: " + element.toString$0(0), C.Level_3);
if (element instanceof A.UrlElement)
this.$this.onOpenNewTabAction.call$1(element.url);
else if (element instanceof A.EmailElement)
this.$this.onOpenComposerAction.call$1(element.emailAddress);
},
$signature: 310
};
B.EventLocationInformationWidget_build_closure.prototype = {
call$1(element) {
A.log("EventLocationInformationWidget::build:element: " + element.toString$0(0), C.Level_3);
if (element instanceof A.UrlElement)
this.$this.onOpenNewTabAction.call$1(element.url);
else if (element instanceof A.EmailElement)
this.$this.onOpenComposerAction.call$1(element.emailAddress);
},
$signature: 310
};
B.EmailActionCupertinoActionSheetActionBuilder_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onCupertinoActionSheetActionClick;
if (t2 != null)
t2.call$1(t1.presentationEmail);
},
$signature: 0
};
B.EmailAttachmentsWidget_build_getItemCount.prototype = {
call$0() {
var t1 = this.$this.attachments,
t2 = t1.length;
if (t2 <= 2)
return t2;
if (t2 === 3)
return A.InheritedModel_inheritFrom(this.context, null, type$.MediaQuery).data.size._dx >= 1200 ? t1.length : 2;
return A.InheritedModel_inheritFrom(this.context, null, type$.MediaQuery).data.size._dx >= 1200 ? 4 : 2;
},
$signature: 82
};
B.EmailAttachmentsWidget_build_closure.prototype = {
call$2(context, index) {
var t1 = this.$this;
return new B.DraggableAttachmentItemWidget(t1.attachments[index], t1.onDragStarted, t1.onDragEnd, t1.downloadAttachmentAction, null);
},
$signature: 1524
};
B.EmailAttachmentsWidget_build_closure0.prototype = {
call$2(context, index) {
if (A.InheritedModel_inheritFrom(context, null, type$.MediaQuery).data.size._dx < 600)
return C.SizedBox_null_12_null_null;
else
return C.SizedBox_12_null_null_null;
},
$signature: 285
};
B._EmailReceiverWidgetState_build_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1.setState$1(new B._EmailReceiverWidgetState_build__closure(t1));
},
$signature: 0
};
B._EmailReceiverWidgetState_build__closure.prototype = {
call$0() {
return this.$this._isDisplayAll = false;
},
$signature: 0
};
B._EmailReceiverWidgetState__buildEmailAddressOfReceiver_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1.setState$1(new B._EmailReceiverWidgetState__buildEmailAddressOfReceiver__closure(t1));
},
$signature: 0
};
B._EmailReceiverWidgetState__buildEmailAddressOfReceiver__closure.prototype = {
call$0() {
return this.$this._isDisplayAll = true;
},
$signature: 0
};
B._EmailReceiverWidgetState__buildListEmailAddressWidget_closure.prototype = {
call$1(emailAddress) {
var t1 = this.lastEmailAddress.$eq(0, emailAddress) ? A.EmailAddressExtension_asString(emailAddress) : A.EmailAddressExtension_asString(emailAddress) + ",",
t2 = this.context;
return F.MaterialTextButton$(8, null, t1, C.Color_4278190080, 16, null, new B._EmailReceiverWidgetState__buildListEmailAddressWidget__closure(t2, emailAddress), new B._EmailReceiverWidgetState__buildListEmailAddressWidget__closure0(this.$this, t2, emailAddress), C.TextOverflow_1, null, false);
},
$signature: typesOffset + 29
};
B._EmailReceiverWidgetState__buildListEmailAddressWidget__closure0.prototype = {
call$0() {
var t1 = this.$this._widget.onPreviewEmailAddressActionCallback.call$2(this.context, this.emailAddress);
return t1;
},
$signature: 55
};
B._EmailReceiverWidgetState__buildListEmailAddressWidget__closure.prototype = {
call$0() {
var t1 = this.emailAddress.email;
if (t1 == null)
t1 = "";
A.AppUtils_copyEmailAddressToClipboard(this.context, t1);
},
$signature: 7
};
B.EmailSenderBuilder_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.openEmailAddressDetailAction.call$2(this.context, t1.emailAddress);
return t1;
},
$signature: 55
};
B.EmailSenderBuilder_build_closure.prototype = {
call$0() {
var t1 = this.$this.emailAddress.email;
if (t1 == null)
t1 = "";
A.AppUtils_copyEmailAddressToClipboard(this.context, t1);
},
$signature: 7
};
B.EmailSenderBuilder_build_closure2.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.openEmailAddressDetailAction.call$2(this.context, t1.emailAddress);
return t1;
},
$signature: 55
};
B.EmailSenderBuilder_build_closure1.prototype = {
call$0() {
var t1 = this.$this.emailAddress.email;
if (t1 == null)
t1 = "";
A.AppUtils_copyEmailAddressToClipboard(this.context, t1);
},
$signature: 7
};
B.EmailViewAppBarWidget_build_closure.prototype = {
call$2(context, constraints) {
var t5, t6, t7, _null = null,
t1 = type$.JSArray_Widget,
t2 = A._setArrayType([], t1),
t3 = this.$this,
t4 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, _null, t4).data.size._dx >= 1200 || A.InheritedModel_inheritFrom(context, _null, t4).data.size._dx < 600 || t3._email_view_app_bar_widget$_responsiveUtils.isTablet$1(context) || t3.isSearchActivated) {
$.$get$Get();
t5 = $.GetInstance__getInstance;
if (t5 == null)
t5 = $.GetInstance__getInstance = C.C_GetInstance;
t2.push(new B.EmailViewBackButton(t5.find$1$1$tag(0, _null, type$.ImagePaths), t3.isSearchActivated, t3.onBackAction, constraints.maxWidth, t3.mailboxContain, _null));
}
t2.push(C.Spacer_null);
t1 = A._setArrayType([], t1);
t5 = t3.optionsWidget;
if (t5 != null)
C.JSArray_methods.addAll$1(t1, t5);
t1.push(C.SizedBox_5_null_null_null);
t5 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_move_email.svg", _null, 20, _null, _null, 1 / 0, _null, new B.EmailViewAppBarWidget_build__closure(t3), C.EdgeInsets_5_5_5_5, A.Intl__message("Move message", _null, "move_message", _null, _null)));
t1.push(C.SizedBox_5_null_null_null);
t6 = t3.presentationEmail;
t7 = t6.get$hasStarred() ? "assets/images/ic_star.svg" : "assets/images/ic_unstar.svg";
if (t6.get$hasStarred()) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t6 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t6 = A.Intl__message("Mark as starred", _null, "mark_as_starred", _null, _null);
}
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, t7, _null, 20, _null, _null, 1 / 0, _null, new B.EmailViewAppBarWidget_build__closure0(t3), C.EdgeInsets_5_5_5_5, t6));
t1.push(C.SizedBox_5_null_null_null);
t6 = t3.get$canDeletePermanently() ? C.Color_4293281350 : C.Color_4278221567;
if (t3.get$canDeletePermanently()) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t7 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t7 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_delete_composer.svg", t6, 20, _null, _null, 1 / 0, _null, new B.EmailViewAppBarWidget_build__closure1(t3), C.EdgeInsets_5_5_5_5, t7));
t1.push(C.SizedBox_5_null_null_null);
A.Localizations_of(context, C.Type_AppLocalizations_swi, t5).toString;
t5 = A.Intl__message("More", _null, "more", _null, _null);
t6 = A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600 ? new B.EmailViewAppBarWidget_build__closure2(t3) : _null;
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_more.svg", _null, 20, _null, _null, 1 / 0, !(A.InheritedModel_inheritFrom(context, _null, t4).data.size.get$shortestSide() < 600) ? new B.EmailViewAppBarWidget_build__closure3(t3) : _null, t6, C.EdgeInsets_5_5_5_5, t5));
t2.push(A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
return A.Container$(_null, A.Row$(t2, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_C1r0, _null, 52, _null, _null, D.EdgeInsetsDirectional_16_0_16_0, _null, _null, _null);
},
$signature: 143
};
B.EmailViewAppBarWidget_build__closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onEmailActionClick.call$2(t1.presentationEmail, C.EmailActionType_8);
return t1;
},
$signature: 0
};
B.EmailViewAppBarWidget_build__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.presentationEmail,
t3 = t2.get$hasStarred() ? C.EmailActionType_7 : C.EmailActionType_6;
t3 = t1.onEmailActionClick.call$2(t2, t3);
t1 = t3;
return t1;
},
$signature: 0
};
B.EmailViewAppBarWidget_build__closure1.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onEmailActionClick;
if (t1.get$canDeletePermanently())
t2.call$2(t1.presentationEmail, C.EmailActionType_17);
else
t2.call$2(t1.presentationEmail, C.EmailActionType_16);
},
$signature: 0
};
B.EmailViewAppBarWidget_build__closure2.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onMoreActionClick.call$2(t1.presentationEmail, null);
return t1;
},
$signature: 0
};
B.EmailViewAppBarWidget_build__closure3.prototype = {
call$1(position) {
var t1 = this.$this;
t1 = t1.onMoreActionClick.call$2(t1.presentationEmail, position);
return t1;
},
$signature: 196
};
B.EmailViewBottomBarWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1.emailActionCallback.call$2(C.EmailActionType_2, t1.presentationEmail);
},
$signature: 0
};
B.EmailViewBottomBarWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
return t1.emailActionCallback.call$2(C.EmailActionType_0, t1.presentationEmail);
},
$signature: 0
};
B.EmailViewBottomBarWidget_build_closure1.prototype = {
call$0() {
var t1 = this.$this;
return t1.emailActionCallback.call$2(C.EmailActionType_1, t1.presentationEmail);
},
$signature: 0
};
B.EmailViewBottomBarWidget_build_closure2.prototype = {
call$0() {
var t1 = this.$this;
return t1.emailActionCallback.call$2(C.EmailActionType_3, t1.presentationEmail);
},
$signature: 0
};
B.EmailViewLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.EmailViewLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
if (success instanceof A.GetEmailContentLoading || success instanceof A.ParseCalendarEventLoading)
return D.CupertinoLoadingWidget_null_null_null;
else
return C.SizedBox_0_0_null_null;
},
$signature: 85
};
B.InformationSenderAndReceiverBuilder_build_closure.prototype = {
call$2(context, constraints) {
var t7, _null = null,
t1 = A.Matrix4_Matrix4$translationValues(0, -5, 0),
t2 = type$.JSArray_Widget,
t3 = A._setArrayType([], t2),
t4 = this.$this,
t5 = t4.emailSelected,
t6 = t5.from;
if ((t6 == null ? _null : t6._collection$_length !== 0) === true) {
t7 = A.Matrix4_Matrix4$translationValues(-5, 0, 0);
t3.push(A.Row$(A._setArrayType([A.Expanded$(A.Transform$(_null, new B.EmailSenderBuilder(t6.get$first(t6), t4.controller.get$openEmailAddressDialog(), _null), t7, true), 1), C.SizedBox_12_null_null_null, new B.ReceivedTimeBuilder(t5, _null)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
}
if (B.PresentationEmailExtension_numberOfAllEmailAddress(t5) > 0)
t3.push(new B.EmailReceiverWidget(t5, constraints.maxWidth, t4.controller.get$openEmailAddressDialog(), _null));
return A.Transform$(_null, A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), t1, true);
},
$signature: 1525
};
B.MailboxView__buildLogoApp_closure.prototype = {
call$0() {
var t3, t4, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.appInformation;
if (t4.get$value(t4) != null) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).mailboxDashBoardController.appInformation;
t1 = t1.get$value(t1);
t1.toString;
return A.Container$(_null, A.Text$("v." + t1.version, _null, _null, _null, _null, _null, _null, _null, _null, E.TextStyle_jjv3, C.TextAlign_2, _null, _null, _null, _null), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, E.EdgeInsets_0_4_0_0, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.MailboxView__buildListMailbox_closure.prototype = {
call$0() {
var t3, t4, t5, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.userProfile;
t4 = t4.get$value(t4);
A.Localizations_of(this.context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t5 = A.Intl__message("Manage account", _null, "manage_account", _null, _null);
A.Expando__checkType(t1);
return F.UserInformationWidget$(D.Border_ifC, t3._as(t2.get(t1)).mailboxDashBoardController.get$goToSettings(), _null, t5, _null, t4);
},
$signature: typesOffset + 31
};
B.MailboxView__buildListMailbox_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return new B.MailboxLoadingBarWidget(t1.get$value(t1), null);
},
$signature: typesOffset + 32
};
B.MailboxView__buildListMailbox_closure1.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
if (t3._as(t2.get(t1)).get$defaultMailboxIsNotEmpty()) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).defaultMailboxTree;
return t1._mailbox_view_web$_buildMailboxCategory$3(this.context, C.MailboxCategories_0, t2.get$value(t2).root);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.MailboxView__buildListMailbox_closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
new A.SearchMailboxBindings().dependencies$0();
t2 = t1.mailboxDashBoardController;
t2.searchMailboxActivated.set$value(0, true);
t1.unAllSelectedMailboxNode$0();
t1.currentSelectMode.set$value(0, C.SelectMode_1);
t2.closeMailboxMenuDrawer$0();
return null;
},
$signature: 0
};
B.MailboxView__buildListMailbox_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).goToCreateNewMailboxView$1(this.context);
},
$signature: 0
};
B.MailboxView__buildListMailbox_closure4.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
if (t3._as(t2.get(t1)).get$personalMailboxIsNotEmpty()) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).personalMailboxTree;
return t1._mailbox_view_web$_buildMailboxCategory$3(this.context, C.MailboxCategories_1, t2.get$value(t2).root);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.MailboxView__buildListMailbox_closure5.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
if (t3._as(t2.get(t1)).get$teamMailboxesIsNotEmpty()) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).teamMailboxesTree;
return t1._mailbox_view_web$_buildMailboxCategory$3(this.context, C.MailboxCategories_3, t2.get$value(t2).root);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.MailboxView__buildListMailbox_closure6.prototype = {
call$0() {
var t3, t4, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController._isDraggingMailbox;
if (t4.get$value(t4)) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1))._activeScrollTop;
t2 = t2.get$value(t2);
} else
t2 = false;
return t2 ? new A.Align(C.Alignment_0_m1, _null, _null, A.InkWell$(false, _null, true, A.Container$(_null, _null, C.Clip_0, _null, _null, _null, _null, 40, _null, _null, _null, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.MailboxView__buildListMailbox__closure1(t1), _null, new B.MailboxView__buildListMailbox__closure2(), _null, _null, _null, _null, _null, _null, _null), _null) : C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.MailboxView__buildListMailbox__closure2.prototype = {
call$0() {
},
$signature: 0
};
B.MailboxView__buildListMailbox__closure1.prototype = {
call$1(value) {
var t3,
t1 = this.$this,
t2 = A._instanceType(t1);
if (value) {
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = t2._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t1)).mailboxListScrollController;
t1.animateTo$3$curve$duration(C.JSArray_methods.get$single(t1._positions).get$minScrollExtent(), C.Cubic_OcD, C.Duration_1000000);
t1 = null;
} else {
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = t2._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t1)).stopAutoScroll$0();
}
return t1;
},
$signature: 13
};
B.MailboxView__buildListMailbox_closure7.prototype = {
call$0() {
var t3, t4, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController._isDraggingMailbox;
if (t4.get$value(t4)) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1))._activeScrollBottom;
t2 = t2.get$value(t2);
} else
t2 = false;
return t2 ? new A.Align(C.Alignment_0_1, _null, _null, A.InkWell$(false, _null, true, A.Container$(_null, _null, C.Clip_0, _null, _null, _null, _null, 40, _null, _null, _null, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.MailboxView__buildListMailbox__closure(t1), _null, new B.MailboxView__buildListMailbox__closure0(), _null, _null, _null, _null, _null, _null, _null), _null) : C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.MailboxView__buildListMailbox__closure0.prototype = {
call$0() {
},
$signature: 0
};
B.MailboxView__buildListMailbox__closure.prototype = {
call$1(value) {
var t3,
t1 = this.$this,
t2 = A._instanceType(t1);
if (value) {
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = t2._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t1)).mailboxListScrollController;
t1.animateTo$3$curve$duration(C.JSArray_methods.get$single(t1._positions).get$maxScrollExtent(), C.Cubic_OcD, C.Duration_1000000);
t1 = null;
} else {
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = t2._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t1)).stopAutoScroll$0();
}
return t1;
},
$signature: 13
};
B.MailboxView__buildListChildTileWidget_closure.prototype = {
call$1(mailboxNode) {
var t1 = this.$this,
t2 = this.context;
if (mailboxNode.hasChildren$0())
return new A.TreeViewChild(t2, mailboxNode.expandMode === C.ExpandMode_1, new A.Obx(new B.MailboxView__buildListChildTileWidget__closure(t1, mailboxNode, t2), null), t1._mailbox_view_web$_buildListChildTileWidget$2(t2, mailboxNode), C.EdgeInsetsDirectional_14_0_0_0).build$0();
else
return new A.Obx(new B.MailboxView__buildListChildTileWidget__closure0(t1, mailboxNode, t2), null);
},
$signature: 241
};
B.MailboxView__buildListChildTileWidget__closure.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.selectedMailbox;
t4 = t4.get$value(t4);
t5 = this.context;
A.Expando__checkType(t1);
return A.MailboxItemWidget$(null, C.MailboxDisplayed_0, null, this.mailboxNode, t4, t1.get$_handleDragItemAccepted(), new B.MailboxView__buildListChildTileWidget___closure2(t1, t5), new B.MailboxView__buildListChildTileWidget___closure3(t1), new B.MailboxView__buildListChildTileWidget___closure4(t1, t5), new B.MailboxView__buildListChildTileWidget___closure5(t1, t5), t3._as(t2.get(t1)).get$selectMailboxNode());
},
$signature: 563
};
B.MailboxView__buildListChildTileWidget___closure5.prototype = {
call$1(mailboxNode) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = mailboxNode.item;
t1._openMailboxEventController.add$1(0, new A.OpenMailboxViewEvent(this.context, t2));
return null;
},
$signature: 44
};
B.MailboxView__buildListChildTileWidget___closure3.prototype = {
call$1(mailboxNode) {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1));
A.Expando__checkType(t1);
return t4.toggleMailboxFolder$2(mailboxNode, t3._as(t2.get(t1)).mailboxListScrollController);
},
$signature: 44
};
B.MailboxView__buildListChildTileWidget___closure4.prototype = {
call$2(position, mailboxNode) {
var t1 = this.$this,
t2 = mailboxNode.item,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1.openMailboxMenuActionOnWeb$6(this.context, t1.imagePaths, t1.responsiveUtils, position, t2, A._instanceType(t1)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t1)));
},
$signature: 564
};
B.MailboxView__buildListChildTileWidget___closure2.prototype = {
call$1(mailboxNode) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).emptyMailboxAction$2(this.context, mailboxNode.item);
},
$signature: 44
};
B.MailboxView__buildListChildTileWidget__closure0.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.selectedMailbox;
t4 = t4.get$value(t4);
t5 = this.context;
A.Expando__checkType(t1);
return A.MailboxItemWidget$(null, C.MailboxDisplayed_0, null, this.mailboxNode, t4, t1.get$_handleDragItemAccepted(), new B.MailboxView__buildListChildTileWidget___closure(t1, t5), null, new B.MailboxView__buildListChildTileWidget___closure0(t1, t5), new B.MailboxView__buildListChildTileWidget___closure1(t1, t5), t3._as(t2.get(t1)).get$selectMailboxNode());
},
$signature: 563
};
B.MailboxView__buildListChildTileWidget___closure1.prototype = {
call$1(mailboxNode) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = mailboxNode.item;
t1._openMailboxEventController.add$1(0, new A.OpenMailboxViewEvent(this.context, t2));
return null;
},
$signature: 44
};
B.MailboxView__buildListChildTileWidget___closure0.prototype = {
call$2(position, mailboxNode) {
var t1 = this.$this,
t2 = mailboxNode.item,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1.openMailboxMenuActionOnWeb$6(this.context, t1.imagePaths, t1.responsiveUtils, position, t2, A._instanceType(t1)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t1)));
},
$signature: 564
};
B.MailboxView__buildListChildTileWidget___closure.prototype = {
call$1(mailboxNode) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).emptyMailboxAction$2(this.context, mailboxNode.item);
},
$signature: 44
};
B.MailboxLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.MailboxLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
if (success instanceof A.GetAllMailboxLoading)
return D.Padding_PqY0;
else
return C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.MailboxDashBoardView_build_closure4.prototype = {
call$0() {
return A.FocusScope_of(this.context).unfocus$0();
},
$signature: 0
};
B.MailboxDashBoardView_build_closure.prototype = {
call$0() {
var t3, t4, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).appInformation;
if (t4.get$value(t4) != null) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).appInformation;
return new A.Padding(E.EdgeInsets_0_6_0_0, A.Text$("v" + t1.get$value(t1).version, _null, _null, _null, _null, _null, _null, _null, _null, E.TextStyle_jjv3, C.TextAlign_2, _null, _null, _null, _null), _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.MailboxDashBoardView_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).searchMailboxActivated;
if (t1.get$value(t1))
return D.SearchMailboxView_Color_4294375158_null;
else
return B.MailboxView$();
},
$signature: 1529
};
B.MailboxDashBoardView_build_closure1.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t3 = this.context;
t4 = t2.selectedMailbox;
if (t4.get$value(t4) != null) {
t5 = t4.get$value(t4);
t5.toString;
if (J.$eq$(t5.role, $.$get$PresentationMailbox_roleTrash())) {
t4 = t4.get$value(t4);
t4.toString;
if (A.PresentationMailboxExtension_get_countTotalEmails(t4) > 0) {
t2 = t2.searchController.searchState;
if (t2.get$value(t2).searchStatus !== C.SearchStatus_0)
t2 = A.InheritedModel_inheritFrom(t3, null, type$.MediaQuery).data.size._dx >= 1200;
else
t2 = false;
} else
t2 = false;
} else
t2 = false;
} else
t2 = false;
if (t2)
return new A.Padding(D.EdgeInsetsDirectional_0_8_16_0, new B.BannerEmptyTrashWidget(new B.MailboxDashBoardView_build__closure0(t1, t3), null), null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.MailboxDashBoardView_build__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = new A.EmptyTrashAction(this.context);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
return null;
},
$signature: 0
};
B.MailboxDashBoardView_build_closure2.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t3 = this.context;
t4 = t2.selectedMailbox;
if (t4.get$value(t4) != null) {
t5 = t4.get$value(t4);
t5.toString;
if (J.$eq$(t5.role, $.$get$PresentationMailbox_roleSpam())) {
t4 = t4.get$value(t4);
t4.toString;
if (A.PresentationMailboxExtension_get_countTotalEmails(t4) > 0) {
t2 = t2.searchController.searchState;
if (t2.get$value(t2).searchStatus !== C.SearchStatus_0)
t2 = A.InheritedModel_inheritFrom(t3, null, type$.MediaQuery).data.size._dx >= 1200;
else
t2 = false;
} else
t2 = false;
} else
t2 = false;
} else
t2 = false;
if (t2)
return new A.Padding(D.EdgeInsetsDirectional_0_8_16_0, new B.BannerDeleteAllSpamEmailsWidget(new B.MailboxDashBoardView_build__closure(t1, t3), null), null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.MailboxDashBoardView_build__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openDialogEmptySpamFolder$1(this.context);
},
$signature: 0
};
B.MailboxDashBoardView_build_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).dashboardRoute;
switch (t2.get$value(t2)) {
case C.DashboardRoutes_0:
return t1._buildThreadViewForWebDesktop$1(this.context);
case C.DashboardRoutes_1:
return B.EmailView$();
default:
return C.SizedBox_0_0_null_null;
}
},
$signature: 4
};
B.MailboxDashBoardView_build_closure6.prototype = {
call$0() {
var t3, t4, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).dashboardRoute;
switch (t4.get$value(t4)) {
case C.DashboardRoutes_2:
return B.SearchEmailView$();
case C.DashboardRoutes_1:
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).searchController;
t3 = t2.simpleSearchIsActivated;
if (!t3.get$value(t3)) {
t2 = t2.advancedSearchIsActivated;
t2 = t2.get$value(t2);
} else
t2 = true;
return t2 ? B.EmailView$() : t1._buildScaffoldHaveDrawer$1$body(A.Row$(A._setArrayType([new A.SizedBox(375, _null, B.ThreadView$(), _null), D.VerticalDivider_14s, A.Expanded$(B.EmailView$(), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
default:
return t1._buildScaffoldHaveDrawer$1$body(A.Row$(A._setArrayType([new A.SizedBox(375, _null, B.ThreadView$(), _null), D.VerticalDivider_14s, A.Expanded$(B.EmailView$(), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
}
},
$signature: 4
};
B.MailboxDashBoardView_build_closure5.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).dashboardRoute;
switch (t2.get$value(t2)) {
case C.DashboardRoutes_0:
return t1._buildScaffoldHaveDrawer$1$body(B.ThreadView$());
case C.DashboardRoutes_1:
return B.EmailView$();
case C.DashboardRoutes_2:
return B.SearchEmailView$();
default:
return t1._buildScaffoldHaveDrawer$1$body(B.ThreadView$());
}
},
$signature: 4
};
B.MailboxDashBoardView_build_closure7.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).composerOverlayState;
if (t1.get$value(t1) === C.ComposerOverlayState_0) {
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, null, type$.ResponsiveUtils);
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
t2 = new B.ComposerView(t1, t2.find$1$1$tag(0, null, type$.ImagePaths), null);
t1 = t2;
} else
t1 = C.SizedBox_0_0_null_null;
return t1;
},
$signature: 4
};
B.MailboxDashBoardView_build_closure8.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).searchMailboxActivated;
if (J.$eq$(t1.get$value(t1), true)) {
t1 = A.InheritedModel_inheritFrom(this.context, null, type$.MediaQuery).data;
t1 = !(t1.size._dx >= 1200);
} else
t1 = false;
return t1 ? D.SearchMailboxView_null_null : C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.MailboxDashBoardView__buildThreadViewForWebDesktop_closure.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).currentSelectMode;
t5 = this.context;
if (t4.get$value(t4) === C.SelectMode_0) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).listEmailSelected;
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).mapMailboxById;
$.$get$Get();
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new A.Padding(C.EdgeInsets_12_12_12_12, new B.TopBarThreadSelection(t3.find$1$1$tag(0, null, type$.ImagePaths), t5, t4, t2, new B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure(t1, t5), new B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure0(t1)).build$0(), null);
} else
return new A.Padding(C.EdgeInsets_16_16_16_16, t1._buildListButtonTopBar$1(t5), null);
},
$signature: 148
};
B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = new A.CancelSelectionAllEmailAction();
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
return null;
},
$signature: 0
};
B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure.prototype = {
call$2(listEmails, actionType) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = new B.HandleEmailActionTypeAction(this.context, actionType, listEmails);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
return null;
},
$signature: 1531
};
B.MailboxDashBoardView__buildRightHeader_closure.prototype = {
call$2(context, constraint) {
var t1, t2, t3, t4, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = t1.find$1$1$tag(0, _null, type$.SearchController);
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
t2 = t2.find$1$1$tag(0, _null, type$.MailboxDashBoardController);
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
t3 = t3.find$1$1$tag(0, _null, type$.ImagePaths);
t4 = B.AppConfig_appGridDashboardAvailable() ? new A.Obx(new B.MailboxDashBoardView__buildRightHeader__closure(this.$this, context), _null) : C.SizedBox_0_0_null_null;
return A.Row$(A._setArrayType([new A.SizedBox(constraint.maxWidth / 2, 52, new B.SearchInputFormWidget(t1, t2, t3, _null), _null), C.Spacer_null, t4, E.SizedBox_24_null_null_null, new A.Obx(new B.MailboxDashBoardView__buildRightHeader__closure0(this.$this, context), _null), C.SizedBox_16_null_null_null], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
$signature: 565
};
B.MailboxDashBoardView__buildRightHeader__closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).appGridDashboardController.isAppGridDashboardOverlayOpen;
t4 = t4.get$value(t4);
t5 = A.GestureDetector$(C.HitTestBehavior_1, _null, C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.MailboxDashBoardView__buildRightHeader___closure0(t1), _null, _null, _null, _null, _null, _null, _null);
t6 = this.context;
t7 = type$._LocalizationsScope;
t8 = t6.dependOnInheritedWidgetOfExactType$1$0(t7).localizationsState._localizations$_locale;
t8 = A.Bidi_isRtlLanguage(t8.get$languageCode(t8)) ? C.Alignment_m1_m1 : C.Alignment_1_m1;
t6 = t6.dependOnInheritedWidgetOfExactType$1$0(t7).localizationsState._localizations$_locale;
t6 = A.Bidi_isRtlLanguage(t6.get$languageCode(t6)) ? C.Alignment_m1_1 : E.Alignment_1_1;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).appGridDashboardController.isAppGridDashboardOverlayOpen;
t7 = t7.get$value(t7);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).get$showAppDashboardAction();
return A.PortalTarget$(C.C_Filled, A.PortalTarget$(new A.Aligned(_null, _null, t8, t6, C.Alignment_0_0, C.C_AxisFlag, C.C_AxisFlag, C.Offset_0_0, _null), A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_app_dashboard.svg", C.Alignment_0_0, _null, C.BoxFit_0, 28, _null, 28), _null, _null, _null, t2, 20, _null), new A.Obx(new B.MailboxDashBoardView__buildRightHeader___closure1(t1), _null), t7), t5, t4);
},
$signature: 313
};
B.MailboxDashBoardView__buildRightHeader___closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).appGridDashboardController.toggleAppGridDashboard$0();
},
$signature: 0
};
B.MailboxDashBoardView__buildRightHeader___closure1.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).appGridDashboardController.linagoraApplications;
if (t4.get$value(t4) != null) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).appGridDashboardController.linagoraApplications;
t1 = t1.get$value(t1);
t1.toString;
return new B.AppDashboardOverlay(t1, null);
}
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.MailboxDashBoardView__buildRightHeader__closure0.prototype = {
call$0() {
var t1 = new A.AvatarBuilder(),
t2 = this.$this,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t3 = A._instanceType(t2)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t2)).userProfile;
t3 = t3.get$value(t3);
t3 = t3 == null ? null : t3.email[0].toUpperCase();
t1._avatar_builder$_text = t3 == null ? "" : t3;
t1._bgColor = C.Color_4294967295;
t1._textColor = C.Color_4278190080;
t3 = this.context;
t1._avatar_builder$_context = t3;
t1._onTapAvatarActionWithPositionClick = new B.MailboxDashBoardView__buildRightHeader___closure(t2, t3);
t1._boxShadows = A._setArrayType([E.BoxShadow_oyn], type$.JSArray_BoxShadow);
t1._avatar_builder$_size = 48;
return t1.build$0();
},
$signature: 4
};
B.MailboxDashBoardView__buildRightHeader___closure.prototype = {
call$1(position) {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1));
t5 = this.context;
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).userProfile;
return t4.openPopupMenuAction$3(t5, position, t1.popupMenuUserSettingActionTile$4$onLogoutAction$onSettingAction(t5, t2.get$value(t2), new B.MailboxDashBoardView__buildRightHeader____closure(t1), new B.MailboxDashBoardView__buildRightHeader____closure0(t1)));
},
$signature: 566
};
B.MailboxDashBoardView__buildRightHeader____closure.prototype = {
call$0() {
var t1, t2, t3, t4, t5;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1));
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).sessionCurrent;
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).accountId;
t4.logout$2(t5, t1.get$value(t1));
},
$signature: 7
};
B.MailboxDashBoardView__buildRightHeader____closure0.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).goToSettings$0();
},
$signature: 7
};
B.MailboxDashBoardView__buildListButtonTopBar_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).refreshingMailboxState;
return J.fold$2$ax(t2.get$value(t2), new B.MailboxDashBoardView__buildListButtonTopBar__closure0(t1), new B.MailboxDashBoardView__buildListButtonTopBar__closure1(t1));
},
$signature: 4
};
B.MailboxDashBoardView__buildListButtonTopBar__closure0.prototype = {
call$1(failure) {
var _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 10, "assets/images/ic_refresh.svg", _null, 16, D.ValueKey_refresh_mailbox_button, _null, 1 / 0, _null, A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).get$refreshMailboxAction(), _null, _null);
},
$signature: 1535
};
B.MailboxDashBoardView__buildListButtonTopBar__closure1.prototype = {
call$1(success) {
var t1, t2, _null = null;
if (success instanceof A.RefreshAllEmailLoading)
return D.TMailContainerWidget_5K5;
else {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 10, "assets/images/ic_refresh.svg", _null, 16, D.ValueKey_refresh_mailbox_button, _null, 1 / 0, _null, A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).get$refreshMailboxAction(), _null, _null);
}
},
$signature: 1536
};
B.MailboxDashBoardView__buildListButtonTopBar_closure0.prototype = {
call$0() {
var session, currentAccountId, t3, mailboxId, countEmailsUnread, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
session = t1.sessionCurrent;
t2 = t1.accountId;
currentAccountId = t2.get$value(t2);
t2 = t1.selectedMailbox;
t3 = t2.get$value(t2);
mailboxId = t3 == null ? _null : t3.id;
t3 = t2.get$value(t2);
if (t3 == null)
countEmailsUnread = _null;
else {
t3 = t3.unreadEmails;
t3 = t3 == null ? _null : t3.value.value;
countEmailsUnread = t3;
}
if (countEmailsUnread == null)
countEmailsUnread = 0;
if (session != null && currentAccountId != null && mailboxId != null) {
t2 = t2.get$value(t2);
t2 = t2 == null ? _null : A.PresentationMailboxExtension_getDisplayName(t2, this.context);
if (t2 == null)
t2 = "";
t3 = C.JSInt_methods.toInt$0(countEmailsUnread);
t1.consumeState$1(t1._markAsMailboxReadInteractor.execute$6(session, currentAccountId, mailboxId, t2, t3, t1._progressStateController));
}
return _null;
},
$signature: 0
};
B.MailboxDashBoardView__buildListButtonTopBar_closure1.prototype = {
call$0() {
var t3, t4, t5, t6, t7, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).filterMessageOption;
t5 = this.context;
if (t4.get$value(t4) === C.FilterMessageOption_0) {
A.Localizations_of(t5, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t4 = A.Intl__message("Filter messages", _null, "filter_messages", _null, _null);
} else {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).filterMessageOption;
t4 = B.FilterMessageOptionExtension_getTitle(t4.get$value(t4), t5);
}
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).filterMessageOption;
t6 = B.FilterMessageOptionExtension_getIconSelected(t6.get$value(t6), t1.imagePaths);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).filterMessageOption;
t7 = B.FilterMessageOptionExtension_getBackgroundColor(t7.get$value(t7));
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).filterMessageOption;
return A.TMailButtonWidget$(t7, _null, 10, _null, false, t6, C.TextDirection_1, _null, 16, 8, false, D.ValueKey_filter_emails_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, new B.MailboxDashBoardView__buildListButtonTopBar__closure(t1, t5), _null, D.EdgeInsetsDirectional_12_8_12_8, t4, _null, B.FilterMessageOptionExtension_getTextStyle(t2.get$value(t2)), _null, "assets/images/ic_arrow_down.svg", _null, _null, false, _null);
},
$signature: 1537
};
B.MailboxDashBoardView__buildListButtonTopBar__closure.prototype = {
call$1(position) {
var t3, t4, t5, t6,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1));
t5 = this.context;
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).filterMessageOption;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).searchController;
t3 = t2.simpleSearchIsActivated;
if (!t3.get$value(t3)) {
t2 = t2.advancedSearchIsActivated;
t2 = t2.get$value(t2);
} else
t2 = true;
return t4.openPopupMenuAction$3(t5, position, t1.popupMenuFilterEmailActionTile$4$isSearchEmailRunning(t5, t6, new B.MailboxDashBoardView__buildListButtonTopBar___closure(t1, t5), t2));
},
$signature: 196
};
B.MailboxDashBoardView__buildListButtonTopBar___closure.prototype = {
call$1(option) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = new B.FilterMessageAction(this.context, option);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
return null;
},
$signature: 198
};
B.MailboxDashBoardView__buildMarkAsMailboxReadLoading_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewStateMarkAsReadMailbox;
return t2.get$value(t2).fold$2(0, new B.MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure(), new B.MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure0(t1, this.context));
},
$signature: 4
};
B.MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure0.prototype = {
call$1(success) {
var t1, t2, t3, t4, t5, _null = null;
if (success instanceof A.MarkAsMailboxReadLoading) {
t1 = this.context;
t2 = type$.MediaQuery;
t3 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 16 : 0;
return new A.Padding(new A.EdgeInsets(16, t3, 16, A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 0 : 16), C.Center_2No, _null);
} else if (success instanceof A.UpdatingMarkAsMailboxReadState) {
t1 = success.countRead;
t2 = success.totalUnread;
t3 = this.context;
t4 = type$.MediaQuery;
t5 = A.InheritedModel_inheritFrom(t3, _null, t4).data.size._dx >= 1200 ? 16 : 0;
t3 = A.InheritedModel_inheritFrom(t3, _null, t4).data.size._dx >= 1200 ? 0 : 16;
return new A.Padding(new A.EdgeInsets(16, t5, 16, t3), this.$this.horizontalPercentLoadingWidget$1(t1 / t2), _null);
}
return C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.MailboxDashBoardView__buildDownloadTaskStateWidget_closure.prototype = {
call$0() {
var t3, t4, downloadTasks, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).downloadController.listDownloadTaskState;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
downloadTasks = t3._as(t2.get(t1)).downloadController.listDownloadTaskState;
return new A.Align(C.Alignment_0_1, _null, _null, A.Container$(_null, A.ListView$separated(_null, new B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure(downloadTasks), J.get$length$asx(downloadTasks.get$value(downloadTasks)), C.ScrollViewKeyboardDismissBehavior_0, C.EdgeInsets_0_0_0_0, _null, _null, false, C.Axis_0, new B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure0(), false), C.Clip_0, D.Color_4281611320, _null, _null, _null, 60, _null, _null, _null, _null, _null, 1 / 0), _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure0.prototype = {
call$2(context, index) {
return D.Padding_wr1;
},
$signature: 185
};
B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure.prototype = {
call$2(context, index) {
var t1 = this.downloadTasks;
return new B.DownloadTaskItemWidget(J.$index$asx(t1.get$value(t1), index), null);
},
$signature: typesOffset + 33
};
B.MailboxDashBoardView__buildVacationNotificationMessage_closure.prototype = {
call$0() {
var t3, t4, t5, t6,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).vacationResponse;
t4 = t4.get$value(t4);
if (t4 == null)
t4 = null;
else
t4 = F.VacationResponseExtension_get_vacationResponderIsReady(t4) && !F.VacationResponseExtension_get_vacationResponderIsStopped(t4);
if (t4 === true) {
t4 = this.context;
t5 = type$._LocalizationsScope;
t6 = t4.dependOnInheritedWidgetOfExactType$1$0(t5).localizationsState._localizations$_locale;
t6 = A.Bidi_isRtlLanguage(t6.get$languageCode(t6)) ? 0 : 16;
t4 = t4.dependOnInheritedWidgetOfExactType$1$0(t5).localizationsState._localizations$_locale;
t4 = A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 16 : 0;
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).vacationResponse;
t2 = t2.get$value(t2);
t2.toString;
return F.VacationNotificationMessageWidget$(new B.MailboxDashBoardView__buildVacationNotificationMessage__closure(t1), new B.MailboxDashBoardView__buildVacationNotificationMessage__closure0(t1), false, null, new A.EdgeInsets(t4, 16, t6, 0), null, t2);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.MailboxDashBoardView__buildVacationNotificationMessage__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).goToVacationSetting$0();
},
$signature: 0
};
B.MailboxDashBoardView__buildVacationNotificationMessage__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).disableVacationResponder$0();
},
$signature: 0
};
B.MailboxDashBoardView__buildListButtonQuickSearchFilter_closure.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).searchController;
t5 = t4.simpleSearchIsActivated;
if (!t5.get$value(t5)) {
t4 = t4.advancedSearchIsActivated;
t4 = t4.get$value(t4);
} else
t4 = true;
if (t4) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).dashboardRoute;
t2 = t2.get$value(t2) === C.DashboardRoutes_0;
} else
t2 = false;
if (t2) {
t2 = this.context;
t3 = type$._LocalizationsScope;
t4 = t2.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
t4 = A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 0 : 16;
t3 = t2.dependOnInheritedWidgetOfExactType$1$0(t3).localizationsState._localizations$_locale;
t3 = A.Bidi_isRtlLanguage(t3.get$languageCode(t3)) ? 16 : 0;
t5 = type$.MappedListIterable_QuickSearchFilter_Widget;
return new A.Padding(new A.EdgeInsets(t3, 16, t4, 0), A.Row$(A.List_List$of(new A.MappedListIterable(D.List_aBG, new B.MailboxDashBoardView__buildListButtonQuickSearchFilter__closure(t1, t2), t5), true, t5._eval$1("ListIterable.E")), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, null), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.MailboxDashBoardView__buildListButtonQuickSearchFilter__closure.prototype = {
call$1(filter) {
return this.$this._mailbox_dashboard_view_web$_buildQuickSearchFilterButton$2(this.context, filter);
},
$signature: 567
};
B.MailboxDashBoardView__buildQuickSearchFilterButton_closure.prototype = {
call$0() {
var t4, t5, t6, isFilterSelected, t7, t8, t9, t10, t11, t12, t13, _null = null,
t1 = this.filter,
t2 = this.$this,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t2)._eval$1("GetWidget.S");
t5 = t4._as(t3.get(t2)).searchController.searchEmailFilter;
t5 = t5.get$value(t5);
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).userProfile;
isFilterSelected = t1.isSelected$2(t5, t6.get$value(t6));
t5 = this.context;
t6 = type$._LocalizationsScope;
t7 = t5.dependOnInheritedWidgetOfExactType$1$0(t6).localizationsState._localizations$_locale;
t7 = A.Bidi_isRtlLanguage(t7.get$languageCode(t7)) ? 0 : 8;
t6 = t5.dependOnInheritedWidgetOfExactType$1$0(t6).localizationsState._localizations$_locale;
t6 = A.Bidi_isRtlLanguage(t6.get$languageCode(t6)) ? 8 : 0;
t8 = A.BorderRadius$circular(10);
t9 = t1.getBackgroundColor$1$isFilterSelected(isFilterSelected);
t10 = A.SvgPicture$asset(t1.getIcon$2$isFilterSelected(t2.imagePaths, isFilterSelected), C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16);
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).searchController.searchEmailFilter;
t11 = t11.get$value(t11).emailReceiveTimeType;
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).searchController.get$startDateFiltered();
A.Expando__checkType(t2);
t13 = type$.JSArray_Widget;
t12 = A._setArrayType([t10, C.SizedBox_4_null_null_null, A.Text$(t1.getTitle$4$endDate$receiveTimeType$startDate(t5, t4._as(t3.get(t2)).searchController.get$endDateFiltered(), t11, t12), _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, t1.getTextStyle$1$isFilterSelected(isFilterSelected), _null, _null, _null, _null, _null)], t13);
if (t1 === C.QuickSearchFilter_1)
C.JSArray_methods.addAll$1(t12, A._setArrayType([C.SizedBox_4_null_null_null, A.SvgPicture$asset("assets/images/ic_chevron_down.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16)], t13));
return new A.Padding(new A.EdgeInsets(t6, 0, t7, 0), A.InkWell$(false, C.BorderRadius_tLn7, true, A.Container$(_null, A.Row$(t12, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t9, _null, _null, t8, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, C.EdgeInsets_12_8_12_8, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.MailboxDashBoardView__buildQuickSearchFilterButton__closure(t2, t1), _null, new B.MailboxDashBoardView__buildQuickSearchFilterButton__closure0(t2, t1, t5), _null, _null, _null, _null, _null), _null);
},
$signature: 148
};
B.MailboxDashBoardView__buildQuickSearchFilterButton__closure.prototype = {
call$0() {
var t2, t3, t4,
t1 = this.filter;
if (t1 !== C.QuickSearchFilter_1) {
t2 = this.$this;
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t2 = A._instanceType(t2)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t2));
A.log("MailboxDashBoardController::selectQuickSearchFilterAction(): filter: " + t1.toString$0(0), C.Level_3);
t3 = t2.searchController;
t4 = t2.userProfile;
t4 = t4.get$value(t4);
t4.toString;
t3.selectQuickSearchFilter$2(t1, t4);
t4 = new A.StartSearchEmailAction();
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t4).toString$0(0), C.Level_3);
t2.dashBoardAction.set$value(0, t4);
}
},
$signature: 0
};
B.MailboxDashBoardView__buildQuickSearchFilterButton__closure0.prototype = {
call$1(detail) {
var t1, screenSize, offset, t2, t3, t4, t5, t6, t7;
if (this.filter === C.QuickSearchFilter_1) {
t1 = this.context;
screenSize = A.InheritedModel_inheritFrom(t1, null, type$.MediaQuery).data.size;
offset = detail.globalPosition;
t2 = offset._dx;
t3 = offset._dy;
t4 = this.$this;
t5 = $.$get$GetWidget__cache();
A.Expando__checkType(t4);
t5 = t5._jsWeakMap;
t6 = A._instanceType(t4)._eval$1("GetWidget.S");
t7 = t6._as(t5.get(t4));
A.Expando__checkType(t4);
t5 = t6._as(t5.get(t4)).searchController.searchEmailFilter;
t7.openPopupMenuAction$3(t1, new A.RelativeRect(t2, t3, screenSize._dx - t2, screenSize._dy - t3), t4.popupMenuEmailReceiveTimeType$3$onCallBack(t1, t5.get$value(t5).emailReceiveTimeType, new B.MailboxDashBoardView__buildQuickSearchFilterButton___closure(t4, t1)));
}
},
$signature: 35
};
B.MailboxDashBoardView__buildQuickSearchFilterButton___closure.prototype = {
call$1(receiveTime) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).selectReceiveTimeQuickSearchFilter$2(this.context, receiveTime);
},
$signature: 128
};
B.MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure.prototype = {
call$1(receiveTime) {
return A.PopupMenuItem$(A.PopupItemNoIconWidget$(receiveTime.getTitle$1(this.context), this.receiveTimeSelected === receiveTime, 320, new B.MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure(this.onCallBack, receiveTime), "assets/images/ic_filter_selected.svg"), true, 48, C.EdgeInsets_0_0_0_0, null, type$.dynamic);
},
$signature: 272
};
B.MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure.prototype = {
call$0() {
var t1 = this.onCallBack.call$1(this.receiveTime);
return t1;
},
$signature: 0
};
B.MailboxDashBoardView__buildComposerButton_closure.prototype = {
call$0() {
var _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).goToComposer$1(A.ComposerArguments$(_null, C.EmailActionType_3, _null, _null, _null, _null, _null, _null, _null, _null));
},
$signature: 0
};
B.FilterEmailPopupMenuMixin__filterEmailAction_closure.prototype = {
call$0() {
var t1 = this.option;
if (t1 === this.optionSelected)
t1 = C.FilterMessageOption_0;
t1 = this.onCallBack.call$1(t1);
return t1;
},
$signature: 0
};
B.AdvancedSearchFilterOverlay_build_closure.prototype = {
call$0() {
var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus;
return t1 == null ? null : t1.unfocus$0();
},
$signature: 0
};
B.IconOpenAdvancedSearchWidget_build_closure.prototype = {
call$0() {
var t4, t5, t6, t7, t8, _null = null,
t1 = this.context,
t2 = type$._LocalizationsScope,
t3 = t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t3 = A.Bidi_isRtlLanguage(t3.get$languageCode(t3)) ? 0 : 8;
t4 = t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t4 = A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 8 : 0;
t5 = t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 0 : 2;
t2 = t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale;
t2 = A.Bidi_isRtlLanguage(t2.get$languageCode(t2)) ? 2 : 0;
t6 = this.$this;
t7 = t6.searchController;
t8 = t7.isAdvancedSearchViewOpen;
if (!t8.get$value(t8)) {
t7 = t7.advancedSearchIsActivated;
t7 = t7.get$value(t7);
} else
t7 = true;
return new A.Padding(new A.EdgeInsets(t4, 0, t3, 0), A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_filter_advanced.svg", C.Alignment_0_0, t7 ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : A.ColorNullableExtension_asFilter(C.Color_4288258733), C.BoxFit_1, 16, _null, 16), new A.EdgeInsets(t2, 0, t5, 0), _null, 40, new B.IconOpenAdvancedSearchWidget_build__closure(t6, t1), 15, _null), _null);
},
$signature: 148
};
B.IconOpenAdvancedSearchWidget_build__closure.prototype = {
call$0() {
var t1, t2, t3, t4, t5, t6, _null = null;
A.log("IconOpenAdvancedSearchWidget::build(): clicked", C.Level_3);
t1 = this.$this;
t2 = t1.advancedFilterController;
t3 = this.context;
t4 = t2.searchController.searchEmailFilter;
t5 = t4.get$value(t4).subject;
if (t5 == null)
t5 = "";
t2.subjectFilterInputController.set$text(0, t5);
t5 = t4.get$value(t4).text;
t5 = t5 == null ? _null : t5.value;
if (t5 == null)
t5 = "";
t2.hasKeyWordFilterInputController.set$text(0, t5);
t5 = A.IterableExtension_get_firstOrNull(t4.get$value(t4).notKeyword);
if (t5 == null)
t5 = "";
t2.notKeyWordFilterInputController.set$text(0, t5);
t2.dateFilterSelectedFormAdvancedSearch.set$value(0, t4.get$value(t4).emailReceiveTimeType);
t2._destinationMailboxSelected = t4.get$value(t4).mailbox;
t5 = t2.mailBoxFilterInputController;
if (t4.get$value(t4).mailbox == null) {
A.Localizations_of(t3, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t5.set$text(0, A.Intl__message("All folders", _null, "allFolders", _null, _null));
} else {
t6 = t4.get$value(t4).mailbox;
t3 = t6 == null ? _null : A.PresentationMailboxExtension_getDisplayName(t6, t3);
t5.set$text(0, t3 == null ? "" : t3);
}
t2.hasAttachment.set$value(0, t4.get$value(t4).hasAttachment);
t1.searchController.showAdvancedFilterView$1(t1._parentContext);
},
$signature: 0
};
B.AppGridDashboardItem_build_closure.prototype = {
call$0() {
return A.AppUtils_launchLink(this.$this.app.appUri.toString$0(0));
},
$signature: 0
};
B.AppDashboardOverlay_build_closure0.prototype = {
call$0() {
var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus;
return t1 == null ? null : t1.unfocus$0();
},
$signature: 0
};
B.AppDashboardOverlay_build_closure.prototype = {
call$1(app) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.AppGridDashboardItem(app, t1.find$1$1$tag(0, null, type$.ImagePaths), null);
},
$signature: typesOffset + 34
};
B.EmailQuickSearchItemTileWidget_build_closure.prototype = {
call$2(context, constraints) {
var t1, t2, t3, t4, t5, _null = null,
maxWidthItem = constraints.maxWidth;
A.log("EmailQuickSearchItemTileWidget::build(): maxWidthItem: " + A.S(maxWidthItem), C.Level_3);
t1 = this.$this;
t2 = t1.contentPadding;
if (t2 == null)
t2 = D.EdgeInsetsDirectional_12_12_12_12;
t3 = t1._email_quick_search_item_tile_widget$_presentationEmail;
t4 = A.SvgPicture$asset(t3.get$hasStarred() ? "assets/images/ic_star.svg" : "assets/images/ic_unstar.svg", C.Alignment_0_0, _null, C.BoxFit_0, 18, _null, 18);
t5 = type$.JSArray_Widget;
t1 = A._setArrayType([A.Container$(_null, A.Text$(t1._getInformationSender$0(), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, D.TextStyle_oHY17, _null, _null, _null, _null, _null), C.Clip_0, _null, new A.BoxConstraints(0, maxWidthItem / 3, 0, 1 / 0), _null, _null, _null, _null, _null, _null, _null, _null, _null), C.SizedBox_16_null_null_null, A.Expanded$(A.Text$(t3.getEmailTitle$0(), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, C.TextStyle_oHY18, _null, _null, _null, _null, _null), 1)], t5);
if (t3.hasAttachment === true)
t1.push(new A.Padding(C.EdgeInsets_8_0_8_0, A.SvgPicture$asset("assets/images/ic_attachment.svg", C.Alignment_0_0, _null, C.BoxFit_0, 14, _null, 14), _null));
t1.push(A.Text$(B.PresentationEmailExtension_getReceivedAt(t3, context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale._rawToString$1("-"), _null), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, C.TextStyle_oHY18, C.TextAlign_1, _null, _null, _null, _null));
return new A.Padding(t2, A.Row$(A._setArrayType([new A.Padding(G.EdgeInsets_0_2_0_0, t4, _null), C.SizedBox_8_null_null_null, A.Expanded$(A.Column$(A._setArrayType([A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), D.SizedBox_null_3_null_null, A.Text$(t3.getPartialContent$0(), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, E.TextStyle_jjv, _null, _null, _null, _null, _null)], t5), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t5), C.CrossAxisAlignment_0, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), _null);
},
$signature: 1540
};
B.SearchInputFormWidget_build_closure.prototype = {
call$0() {
var t6, t7, _null = null,
t1 = this.$this,
t2 = t1._searchController,
t3 = t2.isAdvancedSearchViewOpen,
t4 = t3.get$value(t3),
t5 = A.PointerInterceptor$(A.GestureDetector$(C.HitTestBehavior_1, _null, C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchInputFormWidget_build__closure(t1), _null, _null, _null, _null, _null, _null, _null));
t3 = t3.get$value(t3);
t6 = this.context;
t7 = t1._createConfiguration$1(t6);
A.Localizations_of(t6, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.PortalTarget$(C.C_Filled, A.PortalTarget$(E.Aligned_2Lz, B.QuickSearchInputForm$(new B.SearchInputFormWidget_build__closure0(t1), new B.SearchInputFormWidget_build__closure1(t1), new B.SearchInputFormWidget_build__closure2(t1), C.Duration_300000, t2.get$getAllRecentSearchAction(), new B.SearchInputFormWidget_build__closure3(t1), new B.SearchInputFormWidget_build__closure4(), D.List_aBG, D.EdgeInsets_12_12_12_6, new B.SearchInputFormWidget_build__closure5(t1), 52, new B.SearchInputFormWidget_build__closure6(t1, t6), new B.SearchInputFormWidget_build__closure7(t1, t6), D.QuickSearchSuggestionsBoxDecoration_yYn, 0, t1._search_input_form_widget$_dashBoardController.get$quickSearchEmails(), t7, new A.Padding(D.EdgeInsets_12_12_12_8, A.Text$(A.Intl__message("Recent", _null, "recent", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_omH2, _null, _null, _null, _null, _null), _null), type$.PresentationEmail, type$.RecentSearch), D.AdvancedSearchFilterOverlay_null, t3), t5, t4);
},
$signature: 313
};
B.SearchInputFormWidget_build__closure.prototype = {
call$0() {
A.RxBoolExt_toggle(this.$this._searchController.isAdvancedSearchViewOpen);
return null;
},
$signature: 0
};
B.SearchInputFormWidget_build__closure0.prototype = {
call$2(context, filterAction) {
if (filterAction instanceof A.QuickSearchFilter)
return this.$this.buildListButtonForQuickSearchForm$2(context, filterAction);
else
return C.SizedBox_0_0_null_null;
},
$signature: 568
};
B.SearchInputFormWidget_build__closure1.prototype = {
call$1(filterAction) {
var t1, t2;
if (filterAction instanceof A.QuickSearchFilter) {
t1 = this.$this._search_input_form_widget$_dashBoardController.searchController.listFilterOnSuggestionForm;
if (t1.contains$1(t1, filterAction))
t1.remove$1(t1, filterAction);
else {
t2 = t1.RxObjectMixin___RxObjectMixin__value_A;
t2 === $ && A.throwUnnamedLateFieldNI();
J.add$1$ax(t2, filterAction);
t2 = t1.NotifyManager_subject;
t1 = t1.get$value(t1);
t2._rx_stream$_value = t1;
t2._notifyData$1(t1);
}
}
},
$signature: 11
};
B.SearchInputFormWidget_build__closure2.prototype = {
call$2(context, keyword) {
if (typeof keyword == "string")
return this.$this._buildShowAllResultButton$2(context, keyword);
else
return C.SizedBox_0_0_null_null;
},
$signature: 568
};
B.SearchInputFormWidget_build__closure5.prototype = {
call$1(context) {
return new A.Padding(D.EdgeInsets_0_0_0_16, C.Center_Jxw, null);
},
$signature: 1542
};
B.SearchInputFormWidget_build__closure4.prototype = {
call$2(context, recent) {
return B.RecentSearchItemTileWidget$(recent, null);
},
$signature: typesOffset + 35
};
B.SearchInputFormWidget_build__closure6.prototype = {
call$1(recent) {
var t4,
t1 = this.$this,
t2 = t1._searchController,
t3 = recent.value;
t2.searchInputController.set$text(0, t3);
t2.searchFocus.unfocus$0();
t4 = t2.searchState;
t4.get$value(t4);
t4.set$value(0, new A.SearchState(C.SearchStatus_0));
t1 = t1._search_input_form_widget$_dashBoardController;
t4 = t1.userProfile;
t2.applyFilterSuggestionToSearchFilter$1(t4.get$value(t4));
t1.searchEmail$2$queryString(this.context, t3);
return null;
},
$signature: 1543
};
B.SearchInputFormWidget_build__closure3.prototype = {
call$2(context, email) {
var t1 = this.$this._search_input_form_widget$_dashBoardController.selectedMailbox;
return B.EmailQuickSearchItemTileWidget$(email, t1.get$value(t1), null);
},
$signature: typesOffset + 36
};
B.SearchInputFormWidget_build__closure7.prototype = {
call$1(presentationEmail) {
var t1 = new B.OpenEmailDetailedFromSuggestionQuickSearchAction(this.context, presentationEmail);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t1).toString$0(0), C.Level_3);
this.$this._search_input_form_widget$_dashBoardController.dashBoardAction.set$value(0, t1);
return null;
},
$signature: 111
};
B.SearchInputFormWidget__buildShowAllResultButton_closure.prototype = {
call$0() {
return this.$this._invokeSearchEmailAction$2(this.context, C.JSString_methods.trim$0(this.keyword));
},
$signature: 0
};
B.SearchInputFormWidget__createConfiguration_closure0.prototype = {
call$1(keyword) {
return this.$this._invokeSearchEmailAction$2(this.context, C.JSString_methods.trim$0(keyword));
},
$signature: 8
};
B.SearchInputFormWidget__createConfiguration_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1._invokeSearchEmailAction$2(this.context, C.JSString_methods.trim$0(t1._searchController.searchInputController._change_notifier$_value.text));
},
$signature: 0
};
B.SearchInputFormWidget_buildListButtonForQuickSearchForm_closure.prototype = {
call$0() {
var t4, t5, t6, _null = null,
t1 = this.filter,
t2 = this.$this,
t3 = t2._searchController.listFilterOnSuggestionForm,
isFilterSelected = t3.contains$1(t3, t1);
t3 = this.context;
t4 = type$._LocalizationsScope;
t5 = t3.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t5 = A.Bidi_isRtlLanguage(t5.get$languageCode(t5)) ? 0 : 10;
t4 = t3.dependOnInheritedWidgetOfExactType$1$0(t4).localizationsState._localizations$_locale;
t4 = A.Bidi_isRtlLanguage(t4.get$languageCode(t4)) ? 10 : 0;
t3 = A.Text$(t1.getName$1(t3), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, t1.getTextStyle$1$isFilterSelected(isFilterSelected), _null, _null, _null, _null, _null);
t2 = A.SvgPicture$asset(t1.getIcon$2$isFilterSelected(t2._search_input_form_widget$_imagePaths, isFilterSelected), C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16);
t6 = t1.getTextStyle$1$isFilterSelected(isFilterSelected);
return F.Chip$(t2, t1.getBackgroundColor$1$isFilterSelected(isFilterSelected), _null, t3, new A.EdgeInsets(t4, 2, t5, 2), t6, _null, _null, _null, new A.RoundedRectangleBorder(A.BorderRadius$circular(10), new A.BorderSide(t1.getBackgroundColor$1$isFilterSelected(isFilterSelected), 1, C.BorderStyle_1, -1)));
},
$signature: typesOffset + 37
};
B.TopBarThreadSelection_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.listEmail,
t3 = A.List_List$from(t2, true, type$.PresentationEmail);
t2 = B.ListPresentationEmailExtension_get_isAllEmailRead(t2) ? C.EmailActionType_5 : C.EmailActionType_4;
t2 = t1.onEmailActionTypeAction.call$2(t3, t2);
t1 = t2;
return t1;
},
$signature: 0
};
B.TopBarThreadSelection_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.listEmail,
t3 = A.List_List$from(t2, true, type$.PresentationEmail);
t2 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t2) ? C.EmailActionType_7 : C.EmailActionType_6;
t2 = t1.onEmailActionTypeAction.call$2(t3, t2);
t1 = t2;
return t1;
},
$signature: 0
};
B.TopBarThreadSelection_build_closure1.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onEmailActionTypeAction.call$2(A.List_List$from(t1.listEmail, true, type$.PresentationEmail), C.EmailActionType_8);
return t1;
},
$signature: 0
};
B.TopBarThreadSelection_build_closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onEmailActionTypeAction;
if (this.isAllSpam)
t2.call$2(A.List_List$from(t1.listEmail, true, type$.PresentationEmail), C.EmailActionType_21);
else
t2.call$2(A.List_List$from(B.ListPresentationEmailExtension_listEmailCanSpam(t1.listEmail, t1.mapMailbox), true, type$.PresentationEmail), C.EmailActionType_20);
},
$signature: 0
};
B.TopBarThreadSelection_build_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onEmailActionTypeAction;
if (this.canDeletePermanently)
t2.call$2(A.List_List$from(t1.listEmail, true, type$.PresentationEmail), C.EmailActionType_17);
else
t2.call$2(A.List_List$from(t1.listEmail, true, type$.PresentationEmail), C.EmailActionType_16);
},
$signature: 0
};
B.QuotasView_build_closure.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).octetsQuota;
if (t4.get$value(t4) != null) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).octetsQuota;
t4 = t4.get$value(t4);
t4.toString;
if (t4.used != null) {
t5 = t4.hardLimit;
t4 = (t5 == null ? t4.limit : t5) != null;
} else
t4 = false;
} else
t4 = false;
if (t4) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).octetsQuota;
t2 = t2.get$value(t2);
t2.toString;
return new A.LayoutBuilder(new B.QuotasView_build__closure(t1, t2), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 145
};
B.QuotasView_build__closure.prototype = {
call$2(context, constraints) {
var t3, t4, t5, t6, t7, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t3._as(t2.get(t1)).toString;
t4 = type$.MediaQuery;
t5 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t5 = t5.size._dx >= 1200 ? C.EdgeInsetsDirectional_0_0_16_0 : _null;
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t4 = A.InheritedModel_inheritFrom(context, _null, t4).data;
t4 = t4.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t2 = A.SvgPicture$asset("assets/images/ic_quotas.svg", C.Alignment_0_0, _null, C.BoxFit_0, 24, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t3 = type$.JSArray_Widget;
t2 = A.Row$(A._setArrayType([t2, C.SizedBox_12_null_null_null, A.Text$(A.Intl__message("Storage", _null, "storageQuotas", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_chs1, _null, _null, _null, _null, _null)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t1 = t1._getProgressBarMaxWith$1(constraints.maxWidth);
t6 = this.octetQuota;
t7 = B.QuotasExtensions_getQuotasStateProgressBarColor(t6);
return A.Container$(C.AlignmentDirectional_m1_0, A.Column$(A._setArrayType([t2, C.SizedBox_null_8_null_null, new A.SizedBox(t1, _null, new A.LinearProgressIndicator(3, B.QuotasExtensions_get_usedStoragePercent(t6), C.Color_4293388524, t7, _null, _null, _null, _null), _null), C.SizedBox_null_8_null_null, A.Text$(B.QuotasExtensions_getQuotasStateTitle(t6, context), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.QuotasExtensions_getQuotasStateTitleColor(t6), _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null, _null, _null)], t3), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_0, _null, _null, new A.BoxDecoration(t4, _null, D.Border_ALf, _null, _null, _null, _null, C.BoxShape_0), _null, _null, _null, t5, D.EdgeInsetsDirectional_16_16_0_24, _null, _null, _null);
},
$signature: 143
};
B.QuotasBannerWidget_build_closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, _null = null,
t1 = this.controller,
t2 = t1.octetsQuota;
if (t2.get$value(t2) != null) {
t3 = t2.get$value(t2);
t3.toString;
if (t3.used != null) {
t4 = t3.hardLimit;
t4 = (t4 == null ? t3.limit : t4) != null;
} else
t4 = false;
if (t4)
t3 = B.QuotasExtensions_get_isHardLimitReached(t3) || B.QuotasExtensions_get_isWarnLimitReached(t3);
else
t3 = false;
} else
t3 = false;
if (t3) {
t2 = t2.get$value(t2);
t2.toString;
t3 = B.QuotasExtensions_getQuotaBannerBackgroundColor(t2);
t4 = this.context;
t5 = type$.MediaQuery;
t6 = A.InheritedModel_inheritFrom(t4, _null, t5).data;
t6 = t6.size._dx >= 1200 ? 0 : 16;
t5 = A.InheritedModel_inheritFrom(t4, _null, t5).data;
t5 = t5.size._dx >= 1200 ? 0 : 8;
t7 = type$.JSArray_Widget;
return A.Container$(_null, A.Row$(A._setArrayType([A.SvgPicture$asset(B.QuotasExtensions_getQuotaBannerIcon(t2, t1.imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, 32, _null, 32), C.SizedBox_16_null_null_null, A.Expanded$(A.Column$(A._setArrayType([A.Text$(B.QuotasExtensions_getQuotaBannerTitle(t2, t4), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.QuotasExtensions_getQuotaBannerTitleColor(t2), _null, _null, _null, _null, _null, _null, _null, _null, 17, _null, _null, C.FontWeight_6_700, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null, _null, _null), C.SizedBox_null_8_null_null, A.Text$(B.QuotasExtensions_getQuotaBannerMessage(t2, t4), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_chs3, _null, _null, _null, _null, _null)], t7), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t7), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t3, _null, _null, C.BorderRadius_tLn2, _null, _null, _null, C.BoxShape_0), _null, _null, _null, new A.EdgeInsetsDirectional(t6, 8, 16, t5), D.EdgeInsetsDirectional_16_12_16_12, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.SearchEmailView_build_closure.prototype = {
call$1(_) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).closeSearchView$1(this.context);
},
$signature: 10
};
B.SearchEmailView_build_closure2.prototype = {
call$0() {
return A.FocusScope_of(this.context).unfocus$0();
},
$signature: 0
};
B.SearchEmailView_build_closure0.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).selectionMode;
t5 = this.context;
if (t4.get$value(t4) === C.SelectMode_0) {
A.Expando__checkType(t1);
t4 = A.ListPresentationEmailExtension_get_listEmailSelected(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.listResultSearch);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.mapMailboxById;
$.$get$Get();
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.AppBarSelectionMode(t3.find$1$1$tag(0, null, type$.ImagePaths), t4, t2, new B.SearchEmailView_build__closure(t1, t5), new B.SearchEmailView_build__closure0(t1, t5), null);
} else
return t1._search_email_view$_buildSearchInputForm$1(t5);
},
$signature: 4
};
B.SearchEmailView_build__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).cancelSelectionMode$1(this.context);
},
$signature: 0
};
B.SearchEmailView_build__closure0.prototype = {
call$2(actionType, listEmails) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleSelectionEmailAction$3(this.context, actionType, listEmails);
},
$signature: 315
};
B.SearchEmailView_build_closure1.prototype = {
call$0() {
var t3, t4, t5, _this = this, _null = null,
t1 = _this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).searchIsRunning;
if (!t4.get$value(t4)) {
t4 = A._setArrayType([], type$.JSArray_Widget);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).currentSearchText;
if (J.get$length$asx(t5.get$value(t5)) !== 0) {
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).currentSearchText;
t4.push(t1._buildShowAllResultSearchButton$2(_this.context, t5.get$value(t5)));
}
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).listSuggestionSearch;
if (!t5.get$isEmpty(t5)) {
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).currentSearchText;
t5 = J.get$length$asx(t5.get$value(t5)) !== 0;
} else
t5 = false;
if (t5) {
A.Expando__checkType(t1);
t4.push(t1._buildListSuggestionSearch$2(_this.context, t3._as(t2.get(t1)).listSuggestionSearch));
} else {
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).listRecentSearch;
if (!t5.get$isEmpty(t5)) {
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).listSuggestionSearch;
t5 = t5.get$length(t5) === 0;
} else
t5 = false;
if (t5) {
A.Expando__checkType(t1);
t4.push(t1._buildListRecentSearch$2(_this.context, t3._as(t2.get(t1)).listRecentSearch));
}
}
return A.SingleChildScrollView$(A.Column$(t4, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null, _null, _null, C.ClampingScrollPhysics_null, _null, C.Axis_1);
} else {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.listResultSearch;
t5 = _this.context;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
return A.Container$(_null, t1._search_email_view$_buildListEmailBody$2(t5, t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.listResultSearch), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
} else
return t1._search_email_view$_buildEmptyEmail$1(t5);
}
},
$signature: 4
};
B.SearchEmailView__buildSearchInputForm_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).closeSearchView$1(this.context);
},
$signature: 0
};
B.SearchEmailView__buildSearchInputForm_closure0.prototype = {
call$1(text) {
var query,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
query = C.JSString_methods.trim$0(text);
if (query.length !== 0) {
t2 = Date.now();
t1.consumeState$1(t1._saveRecentSearchInteractor.execute$1(new A.RecentSearch(query, new A.DateTime(t2, false))));
t1._updateSimpleSearchFilter$2$beforeOption$textOption(C.C_None, new A.Some(new A.SearchQuery(query), type$.Some_SearchQuery));
t1._searchEmailAction$1(this.context);
}
return null;
},
$signature: 8
};
B.SearchEmailView__buildSearchInputForm_closure1.prototype = {
call$0() {
var t3, t4, t5, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).currentSearchText;
if (J.get$length$asx(t4.get$value(t4)) !== 0) {
t4 = A.SvgPicture$asset("assets/images/ic_clear_text_search.svg", C.Alignment_0_0, _null, C.BoxFit_0, 18, _null, 18);
A.Localizations_of(this.context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t5 = A.Intl__message("Clear all", _null, "clearAll", _null, _null);
A.Expando__checkType(t1);
return A.buildIconWeb(_null, _null, t4, _null, _null, _null, t3._as(t2.get(t1)).get$clearAllTextInputSearchForm(), _null, t5);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.SearchEmailView__buildListSearchFilterAction_closure.prototype = {
call$1(filter) {
return this.$this._buildQuickSearchFilterButton$2(this.context, filter);
},
$signature: 567
};
B.SearchEmailView__buildQuickSearchFilterButton_closure.prototype = {
call$0() {
var t3, t4, filterSelected, t5, t6, t7, t8, t9, t10, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = this.filter;
filterSelected = t3._as(t2.get(t1)).checkQuickSearchFilterSelected$1(t4);
t5 = this.context;
t6 = A.BorderRadius$circular(10);
t7 = t4.getBackgroundColor$1$isFilterSelected(filterSelected);
t8 = A.SvgPicture$asset(t4.getIcon$2$isFilterSelected(t1._search_email_view$_imagePaths, filterSelected), C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16);
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).emailReceiveTimeType;
t9 = t9.get$value(t9);
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).simpleSearchFilter;
t10 = t10.get$value(t10).startDate;
t10 = t10 == null ? _null : t10.value.toLocal$0();
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).simpleSearchFilter;
t2 = t2.get$value(t2).endDate;
t3 = type$.JSArray_Widget;
t10 = A._setArrayType([t8, C.SizedBox_4_null_null_null, A.Text$(t4.getTitle$4$endDate$receiveTimeType$startDate(t5, t2 == null ? _null : t2.value.toLocal$0(), t9, t10), _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, t4.getTextStyle$1$isFilterSelected(filterSelected), _null, _null, _null, _null, _null)], t3);
if (t4 === C.QuickSearchFilter_1)
C.JSArray_methods.addAll$1(t10, A._setArrayType([C.SizedBox_4_null_null_null, A.SvgPicture$asset(string$.assets, C.Alignment_0_0, filterSelected ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : A.ColorNullableExtension_asFilter(C.Color_4288258733), C.BoxFit_0, _null, _null, _null)], t3));
return new A.Padding(C.EdgeInsets_0_0_8_0, A.InkWell$(false, C.BorderRadius_tLn7, true, A.Container$(_null, A.Row$(t10, C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t7, _null, _null, t6, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, C.EdgeInsets_12_8_12_8, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildQuickSearchFilterButton__closure(t1, t4, t5), _null, new B.SearchEmailView__buildQuickSearchFilterButton__closure0(t1, t4, t5), _null, _null, _null, _null, _null), _null);
},
$signature: 148
};
B.SearchEmailView__buildQuickSearchFilterButton__closure.prototype = {
call$0() {
var t2, t3, t4, t5, _this = this,
t1 = _this.filter;
if (t1 !== C.QuickSearchFilter_1) {
t2 = _this.$this;
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t2 = A._instanceType(t2)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t2));
t2._selectQuickSearchFilter$1(t1);
t2._searchEmailAction$1(_this.context);
} else {
t1 = _this.context;
if (A.InheritedModel_inheritFrom(t1, null, type$.MediaQuery).data.size._dx < 600) {
t2 = _this.$this;
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t2)._eval$1("GetWidget.S");
t5 = t4._as(t3.get(t2));
A.Expando__checkType(t2);
t3 = t4._as(t3.get(t2)).emailReceiveTimeType;
t5.openContextMenuAction$2(t1, t2._emailReceiveTimeCupertinoActionTile$3(t1, t3.get$value(t3), new B.SearchEmailView__buildQuickSearchFilterButton___closure0(t2, t1)));
}
}
},
$signature: 0
};
B.SearchEmailView__buildQuickSearchFilterButton___closure0.prototype = {
call$1(receiveTime) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).selectReceiveTimeQuickSearchFilter$2(this.context, receiveTime);
},
$signature: 128
};
B.SearchEmailView__buildQuickSearchFilterButton__closure0.prototype = {
call$1(detail) {
var t1, screenSize, offset, t2, t3, t4, t5, t6, t7, _this = this;
if (_this.filter === C.QuickSearchFilter_1 && !(A.InheritedModel_inheritFrom(_this.context, null, type$.MediaQuery).data.size._dx < 600)) {
t1 = _this.context;
screenSize = A.InheritedModel_inheritFrom(t1, null, type$.MediaQuery).data.size;
offset = detail.globalPosition;
t2 = offset._dx;
t3 = offset._dy;
t4 = _this.$this;
t5 = $.$get$GetWidget__cache();
A.Expando__checkType(t4);
t5 = t5._jsWeakMap;
t6 = A._instanceType(t4)._eval$1("GetWidget.S");
t7 = t6._as(t5.get(t4));
A.Expando__checkType(t4);
t5 = t6._as(t5.get(t4)).emailReceiveTimeType;
t7.openPopupMenuAction$3(t1, new A.RelativeRect(t2, t3, screenSize._dx - t2, screenSize._dy - t3), t4._popupMenuEmailReceiveTimeType$3(t1, t5.get$value(t5), new B.SearchEmailView__buildQuickSearchFilterButton___closure(t4, t1)));
}
},
$signature: 35
};
B.SearchEmailView__buildQuickSearchFilterButton___closure.prototype = {
call$1(receiveTime) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).selectReceiveTimeQuickSearchFilter$2(this.context, receiveTime);
},
$signature: 128
};
B.SearchEmailView__popupMenuEmailReceiveTimeType_closure.prototype = {
call$1(timeType) {
return A.PopupMenuItem$(new B.EmailReceiveTimeActionTileWidget(this.receiveTimeSelected, timeType, this.onCallBack, null), true, 48, C.EdgeInsets_0_0_0_0, null, type$.dynamic);
},
$signature: 272
};
B.SearchEmailView__emailReceiveTimeCupertinoActionTile_closure.prototype = {
call$1(timeType) {
var _null = null,
t1 = this.context,
t2 = timeType.getTitle$1(t1),
t3 = type$.MediaQuery;
A.InheritedModel_inheritFrom(t1, _null, t3).toString;
t1 = A.InheritedModel_inheritFrom(t1, _null, t3).data.size._dx < 600 ? C.EdgeInsets_0_0_12_0 : C.EdgeInsets_0_0_0_0;
t2 = new B.EmailReceiveTimeCupertinoActionSheetActionBuilder(timeType, this.receiveTimeSelected, A.SvgPicture$asset("assets/images/ic_filter_selected.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20), t1, _null, t2);
t2.onCupertinoActionSheetActionClick = new B.SearchEmailView__emailReceiveTimeCupertinoActionTile__closure(this.onCallBack);
return t2.build$0();
},
$signature: 1545
};
B.SearchEmailView__emailReceiveTimeCupertinoActionTile__closure.prototype = {
call$1(timeType) {
var t1 = this.onCallBack.call$1(timeType);
return t1;
},
$signature: 128
};
B.SearchEmailView__buildShowAllResultSearchButton_closure.prototype = {
call$0() {
var t1, t2, t3, t4, t5,
query = C.JSString_methods.trim$0(this.textSearch);
if (query.length !== 0) {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1));
t5 = Date.now();
t4.consumeState$1(t4._saveRecentSearchInteractor.execute$1(new A.RecentSearch(query, new A.DateTime(t5, false))));
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1));
t1.textInputSearchController.set$text(0, query);
t1._updateSimpleSearchFilter$2$beforeOption$textOption(C.C_None, new A.Some(new A.SearchQuery(query), type$.Some_SearchQuery));
t1._searchEmailAction$1(this.context);
}
},
$signature: 0
};
B.SearchEmailView__buildListRecentSearch_closure.prototype = {
call$2(context, index) {
var _null = null,
t1 = this.listRecentSearch,
recentSearch = J.$index$asx(t1.get$value(t1), index);
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, B.RecentSearchItemTileWidget$(recentSearch, E.EdgeInsets_32_12_32_12), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildListRecentSearch__closure(this.$this, context, recentSearch), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
},
$signature: 569
};
B.SearchEmailView__buildListRecentSearch__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = this.recentSearch.value;
t1.textInputSearchController.set$text(0, t2);
t1._updateSimpleSearchFilter$2$beforeOption$textOption(C.C_None, new A.Some(new A.SearchQuery(t2), type$.Some_SearchQuery));
t1._searchEmailAction$1(this.context);
return null;
},
$signature: 0
};
B.SearchEmailView__buildListSuggestionSearch_closure.prototype = {
call$2(context, index) {
var _null = null,
t1 = this.listSuggestionSearch,
t2 = J.$index$asx(t1.get$value(t1), index),
t3 = this.$this,
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t3);
t4 = A._instanceType(t3)._eval$1("GetWidget.S")._as(t4._jsWeakMap.get(t3)).EmailActionController_mailboxDashBoardController.selectedMailbox;
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, B.EmailQuickSearchItemTileWidget$(t2, t4.get$value(t4), E.EdgeInsets_32_12_32_12), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildListSuggestionSearch__closure(t3, t1, index, context), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
},
$signature: 569
};
B.SearchEmailView__buildListSuggestionSearch__closure.prototype = {
call$0() {
var t2, t3, mailboxContain, _this = this,
t1 = _this.listSuggestionSearch,
emailPreview = J.$index$asx(t1.get$value(t1), _this.index);
t1 = _this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
mailboxContain = A.PresentationEmailExtension_findMailboxContain(emailPreview, t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.mapMailboxById);
A.Expando__checkType(t1);
t3._as(t2.get(t1)).pressEmailAction$4$mailboxContain(_this.context, C.EmailActionType_18, emailPreview, mailboxContain);
},
$signature: 0
};
B.SearchEmailView__buildEmptyEmail_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return J.fold$2$ax(t2.get$value(t2), new B.SearchEmailView__buildEmptyEmail__closure(), new B.SearchEmailView__buildEmptyEmail__closure0(t1, this.context));
},
$signature: 4
};
B.SearchEmailView__buildEmptyEmail__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.SearchEmailView__buildEmptyEmail__closure0.prototype = {
call$1(success) {
var t1, _null = null;
if (!(success instanceof A.SearchingState)) {
A.Localizations_of(this.context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = new B.EmptyEmailsWidget(A.Intl__message("No emails are matching your search", _null, "no_emails_matching_your_search", _null, _null), "assets/images/ic_empty_email.svg", _null, _null, D.ValueKey_empty_search_email_view);
} else
t1 = C.SizedBox_0_0_null_null;
return t1;
},
$signature: 85
};
B.SearchEmailView__buildListEmailBody_closure.prototype = {
call$1(scrollInfo) {
var t1, t2, t3, lastEmail, t4, t5, t6, t7, t8, t9;
if (scrollInfo instanceof A.ScrollEndNotification) {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).__SearchEmailController_searchMoreState_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (t1 !== C.SearchMoreState_1) {
t1 = scrollInfo.metrics;
t2 = t1._scroll_metrics$_pixels;
t2.toString;
t1 = t1._maxScrollExtent;
t1.toString;
t1 = t2 === t1;
} else
t1 = false;
} else
t1 = false;
if (t1) {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = t1.__SearchEmailController_canSearchMore_A;
t2 === $ && A.throwUnnamedLateFieldNI();
if (t2) {
t2 = t1.EmailActionController_mailboxDashBoardController;
if (t2.sessionCurrent != null) {
t2 = t2.accountId;
t2 = t2.get$value(t2) != null;
} else
t2 = false;
} else
t2 = false;
if (t2) {
t2 = t1.EmailActionController_mailboxDashBoardController;
t3 = t2.listResultSearch;
lastEmail = t3.get$last(t3);
t1._updateSimpleSearchFilter$1$beforeOption(A.optionOf(lastEmail.receivedAt, type$.UTCDate));
t3 = t1._search_email_controller$_searchMoreEmailInteractor;
t4 = t2.sessionCurrent;
t4.toString;
t5 = t2.accountId;
t6 = t5.get$value(t5);
t6.toString;
t7 = $.$get$ThreadConstants_defaultLimit();
t8 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Comparator);
t9 = new A.EmailComparator($.$get$EmailComparatorProperty_receivedAt(), null, null);
t9.OptionalIsAscending_isAscending = false;
t8.add$1(0, t9);
t9 = t1.simpleSearchFilter;
t9 = t9.get$value(t9).mappingToEmailFilterCondition$0();
t2 = t2.sessionCurrent;
t2.toString;
t5 = t5.get$value(t5);
t5.toString;
t5 = A.EmailUtils_getPropertiesForEmailGetMethod(t2, t5);
t1.consumeState$1(t3.execute$7$filter$lastEmailId$limit$properties$sort(t4, t6, t9, lastEmail.id, t7, t5, t8));
}
}
return false;
},
$signature: 87
};
B.SearchEmailView__buildListEmailBody_closure0.prototype = {
call$2(context, index) {
var t1 = this.listPresentationEmail;
return new A.Obx(new B.SearchEmailView__buildListEmailBody__closure(this.$this, context, J.$index$asx(t1.get$value(t1), index)), null);
},
$signature: 191
};
B.SearchEmailView__buildListEmailBody__closure.prototype = {
call$0() {
var t5, t6, t7,
t1 = this.context,
t2 = this.currentPresentationEmail,
t3 = this.$this,
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t3);
t4 = t4._jsWeakMap;
t5 = A._instanceType(t3)._eval$1("GetWidget.S");
t6 = t5._as(t4.get(t3)).selectionMode;
t6 = t6.get$value(t6);
A.Expando__checkType(t3);
t7 = t5._as(t4.get(t3)).simpleSearchFilter;
t7 = t7.get$value(t7).text;
A.Expando__checkType(t3);
t4 = t5._as(t4.get(t3)).EmailActionController_mailboxDashBoardController.selectedEmail;
t4 = t4.get$value(t4);
t4 = t4 == null ? null : t4.id;
t4 = B.EmailTileBuilder$(t1, t2, t6, t7, J.$eq$(t4, t2.id), false, true, t2.mailboxContain, D.EdgeInsets_10_0_0_0, C.EdgeInsets_16_0_16_0);
t4._emailActionClick = new B.SearchEmailView__buildListEmailBody___closure(t3, t1, t2);
t4._onMoreActionClick = new B.SearchEmailView__buildListEmailBody___closure0(t3, t1);
return t4.build$0();
},
$signature: 4
};
B.SearchEmailView__buildListEmailBody___closure.prototype = {
call$2(action, email) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).pressEmailAction$4$mailboxContain(this.context, action, email, this.currentPresentationEmail.mailboxContain);
},
$signature: 248
};
B.SearchEmailView__buildListEmailBody___closure0.prototype = {
call$2(email, position) {
var t4,
t1 = this.context,
t2 = this.$this,
t3 = A._instanceType(t2);
if (A.InheritedModel_inheritFrom(t1, null, type$.MediaQuery).data.size.get$shortestSide() < 600) {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t1 = t3._eval$1("GetWidget.S")._as(t4._jsWeakMap.get(t2)).openContextMenuAction$2(t1, A._setArrayType([t2._search_email_view$_markAsEmailSpamOrUnSpamAction$2(t1, email)], type$.JSArray_Widget));
} else {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t1 = t3._eval$1("GetWidget.S")._as(t4._jsWeakMap.get(t2)).openPopupMenuAction$3(t1, position, A._setArrayType([A.PopupMenuItem$(t2._search_email_view$_markAsEmailSpamOrUnSpamAction$2(t1, email), true, 48, C.EdgeInsets_8_0_8_0, null, type$.dynamic)], type$.JSArray_PopupMenuEntry_dynamic));
}
return t1;
},
$signature: 308
};
B.SearchEmailView__buildLoadingView_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return J.fold$2$ax(t2.get$value(t2), new B.SearchEmailView__buildLoadingView__closure(), new B.SearchEmailView__buildLoadingView__closure0(t1));
},
$signature: 4
};
B.SearchEmailView__buildLoadingView__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.SearchEmailView__buildLoadingView__closure0.prototype = {
call$1(success) {
return success instanceof A.SearchingState ? new A.Padding(C.EdgeInsets_0_16_0_16, C.Center_Jxw, null) : C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.SearchEmailView__markAsEmailSpamOrUnSpamAction_closure.prototype = {
call$1(email) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = this.mailboxContain;
t2 = (t2 == null ? null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true ? C.EmailActionType_21 : C.EmailActionType_20;
return t1.pressEmailAction$3(this.context, t2, email);
},
$signature: 111
};
B.SearchEmailView__buildLoadingViewLoadMore_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return J.fold$2$ax(t2.get$value(t2), new B.SearchEmailView__buildLoadingViewLoadMore__closure(), new B.SearchEmailView__buildLoadingViewLoadMore__closure0(t1));
},
$signature: 4
};
B.SearchEmailView__buildLoadingViewLoadMore__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.SearchEmailView__buildLoadingViewLoadMore__closure0.prototype = {
call$1(success) {
return success instanceof A.SearchingMoreState ? new A.Padding(D.EdgeInsets_0_0_0_16, C.Center_Jxw, null) : C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.SearchEmailView__buildSearchFilterByMailboxButton_closure.prototype = {
call$0() {
var t3, t4, filterSelected, t5, t6, t7, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).simpleSearchFilter;
filterSelected = t4.get$value(t4).mailbox != null;
t4 = this.context;
t5 = A.BorderRadius$circular(10);
t6 = filterSelected ? C.Color_251689727 : C.Color_2582375920;
t7 = A.SvgPicture$asset(filterSelected ? "assets/images/ic_selected_sb.svg" : "assets/images/ic_folder_mailbox.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16);
if (filterSelected) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).simpleSearchFilter;
t2 = t2.get$value(t2).mailbox;
t2 = t2 == null ? _null : A.PresentationMailboxExtension_getDisplayName(t2, t4);
if (t2 == null)
t2 = "";
} else {
A.Localizations_of(t4, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t2 = A.Intl__message("Folder", _null, "folder", _null, _null);
}
t2 = A.Text$(t2, _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, filterSelected ? C.TextStyle_yzp4 : C.TextStyle_omH3, _null, _null, _null, _null, _null);
return new A.Padding(C.EdgeInsets_0_0_8_0, A.InkWell$(false, C.BorderRadius_tLn7, true, A.Container$(_null, A.Row$(A._setArrayType([t7, C.SizedBox_4_null_null_null, t2, C.SizedBox_4_null_null_null, A.SvgPicture$asset(string$.assets, C.Alignment_0_0, filterSelected ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : A.ColorNullableExtension_asFilter(C.Color_4288258733), C.BoxFit_0, _null, _null, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t6, _null, _null, t5, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, C.EdgeInsets_12_8_12_8, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildSearchFilterByMailboxButton__closure(t1, t4), _null, _null, _null, _null, _null, _null, _null), _null);
},
$signature: 148
};
B.SearchEmailView__buildSearchFilterByMailboxButton__closure.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1));
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).simpleSearchFilter;
return t4.selectMailboxForSearchFilter$2(this.context, t1.get$value(t1).mailbox);
},
$signature: 0
};
B.SearchEmailView__buildSearchFilterByContactButton_closure.prototype = {
call$0() {
var t3, t4, t5, filterSelected, t6, t7, t8, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).simpleSearchFilter;
t5 = this.prefixEmailAddress;
filterSelected = B.SearchEmailFilterExtension_searchFilterByContactApplied(t4.get$value(t4), t5);
t4 = this.context;
t6 = A.BorderRadius$circular(10);
t7 = filterSelected ? C.Color_251689727 : C.Color_2582375920;
t8 = A.SvgPicture$asset(filterSelected ? "assets/images/ic_selected_sb.svg" : "assets/images/ic_user_sb.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16);
if (filterSelected) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).simpleSearchFilter;
t2 = B.SearchEmailFilterExtension_getNameContactApplied(t2.get$value(t2), t4, t5);
} else {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).simpleSearchFilter;
t2 = B.SearchEmailFilterExtension_getNameContactDefault(t2.get$value(t2), t4, t5);
}
t2 = A.Text$(t2, _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, filterSelected ? C.TextStyle_yzp4 : C.TextStyle_omH3, _null, _null, _null, _null, _null);
return new A.Padding(C.EdgeInsets_0_0_8_0, A.InkWell$(false, C.BorderRadius_tLn7, true, A.Container$(_null, A.Row$(A._setArrayType([t8, C.SizedBox_4_null_null_null, t2, C.SizedBox_4_null_null_null, A.SvgPicture$asset(string$.assets, C.Alignment_0_0, filterSelected ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : A.ColorNullableExtension_asFilter(C.Color_4288258733), C.BoxFit_0, _null, _null, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t7, _null, _null, t6, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, C.EdgeInsets_12_8_12_8, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildSearchFilterByContactButton__closure(t1, t4, t5), _null, _null, _null, _null, _null, _null, _null), _null);
},
$signature: 148
};
B.SearchEmailView__buildSearchFilterByContactButton__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).selectContactForSearchFilter$2(this.context, this.prefixEmailAddress);
},
$signature: 0
};
B.AppBarSelectionMode_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.listEmail,
t3 = B.ListPresentationEmailExtension_get_isAllEmailRead(t2) ? C.EmailActionType_5 : C.EmailActionType_4;
t2 = t1.onHandleEmailAction.call$2(t3, t2);
t1 = t2;
return t1;
},
$signature: 0
};
B.AppBarSelectionMode_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.listEmail,
t3 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t2) ? C.EmailActionType_7 : C.EmailActionType_6;
t2 = t1.onHandleEmailAction.call$2(t3, t2);
t1 = t2;
return t1;
},
$signature: 0
};
B.AppBarSelectionMode_build_closure1.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onHandleEmailAction.call$2(C.EmailActionType_8, t1.listEmail);
return t1;
},
$signature: 0
};
B.AppBarSelectionMode_build_closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onHandleEmailAction;
if (this.isAllSpam)
t1 = t2.call$2(C.EmailActionType_21, t1.listEmail);
else
t1 = t2.call$2(C.EmailActionType_20, B.ListPresentationEmailExtension_listEmailCanSpam(t1.listEmail, t1.mapMailbox));
return t1;
},
$signature: 0
};
B.AppBarSelectionMode_build_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onHandleEmailAction;
if (this.canDeletePermanently)
t1 = t2.call$2(C.EmailActionType_17, t1.listEmail);
else
t1 = t2.call$2(C.EmailActionType_16, t1.listEmail);
return t1;
},
$signature: 0
};
B.EmailReceiveTimeActionTileWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onCallBack.call$1(t1.receiveTimeType);
return t1;
},
$signature: 0
};
B.EmailReceiveTimeCupertinoActionSheetActionBuilder_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onCupertinoActionSheetActionClick;
if (t2 != null)
t2.call$1(t1.timeType);
},
$signature: 0
};
B.SearchMailboxView_build_closure.prototype = {
call$0() {
return A.FocusScope_of(this.context).unfocus$0();
},
$signature: 0
};
B.SearchMailboxView__buildLoadingView_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return J.fold$2$ax(t2.get$value(t2), new B.SearchMailboxView__buildLoadingView__closure(), new B.SearchMailboxView__buildLoadingView__closure0(t1));
},
$signature: 4
};
B.SearchMailboxView__buildLoadingView__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.SearchMailboxView__buildLoadingView__closure0.prototype = {
call$1(success) {
if (success instanceof A.LoadingSearchMailbox)
return new A.Padding(C.EdgeInsets_0_16_0_16, C.Center_Jxw, null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.SearchMailboxView__buildSearchInputForm_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).closeSearchView$1(this.context);
},
$signature: 0
};
B.SearchMailboxView__buildSearchInputForm_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.FocusScope_of(this.context).unfocus$0();
t1.searchMailboxAction$0();
return null;
},
$signature: 0
};
B.SearchMailboxView__buildSearchInputForm_closure1.prototype = {
call$0() {
var t3, t4, t5, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).currentSearchQuery;
if (J.get$length$asx(t4.get$value(t4)) !== 0) {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t4 = A.SvgPicture$asset("assets/images/ic_clear_search_input.svg", C.Alignment_0_0, _null, C.BoxFit_0, 24, _null, 24);
A.Localizations_of(this.context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t5 = A.Intl__message("Clear all", _null, "clearAll", _null, _null);
A.Expando__checkType(t1);
return new A.Padding(D.EdgeInsets_0_0_2_0, A.buildIconWeb(_null, _null, t4, C.EdgeInsets_0_0_0_0, _null, 40, t3._as(t2.get(t1)).get$clearAllTextInputSearchForm(), _null, t5), _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.SearchMailboxView__buildTextFieldSearchInput_closure.prototype = {
call$1(text) {
var query,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
query = C.JSString_methods.trim$0(text);
if (query.length !== 0) {
A.FocusScope_of(this.context).unfocus$0();
t1.currentSearchQuery.set$value(0, query);
t1.searchMailboxAction$0();
}
return null;
},
$signature: 8
};
B.SearchMailboxView__buildMailboxListView_closure.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = B.SearchMailboxUtils_getPaddingListViewMailboxSearched(this.context, t3._as(t2.get(t1)).responsiveUtils);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).listMailboxSearched;
return A.ListView$builder(null, new B.SearchMailboxView__buildMailboxListView__closure(t1), J.get$length$asx(t2.get$value(t2)), null, C.ValueKey_list_mailbox_searched, t4, null, false, C.Axis_1, true);
},
$signature: 170
};
B.SearchMailboxView__buildMailboxListView__closure.prototype = {
call$2(context, index) {
return new A.LayoutBuilder(new B.SearchMailboxView__buildMailboxListView___closure(this.$this, index), null);
},
$signature: 1547
};
B.SearchMailboxView__buildMailboxListView___closure.prototype = {
call$2(context, constraints) {
var t3, t4, mailboxCurrent, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).listMailboxSearched;
mailboxCurrent = J.$index$asx(t4.get$value(t4), this.index);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).responsiveUtils;
A.Expando__checkType(t1);
return new B.MailboxSearchedItemBuilder(mailboxCurrent, t4, t5, new B.SearchMailboxView__buildMailboxListView____closure(t1, context), new B.SearchMailboxView__buildMailboxListView____closure0(t1, context), t3._as(t2.get(t1)).dashboardController.get$dragSelectedMultipleEmailToMailboxAction(), t1._listPopupMenuItemAction$2(context, mailboxCurrent), null);
},
$signature: typesOffset + 38
};
B.SearchMailboxView__buildMailboxListView____closure.prototype = {
call$1(mailbox) {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = this.context;
A.FocusScope_of(t2).unfocus$0();
t3 = t1.dashboardController;
t4 = new A.OpenMailboxAction(mailbox);
A.log("MailboxDashBoardController::dispatchMailboxUIAction():newAction: " + A.getRuntimeTypeOfDartObject(t4).toString$0(0), C.Level_3);
t3.mailboxUIAction.set$value(0, t4);
t3 = A.InheritedModel_inheritFrom(t2, null, type$.MediaQuery).data;
if (!(t3.size._dx >= 1200))
t1.closeSearchView$1(t2);
return null;
},
$signature: 175
};
B.SearchMailboxView__buildMailboxListView____closure0.prototype = {
call$2(position, mailbox) {
return this.$this._openMailboxMenuAction$3$position(this.context, mailbox, position);
},
$signature: 1548
};
B.SearchMailboxView__listPopupMenuItemAction_closure.prototype = {
call$1(action) {
return this.$this._mailboxFocusedMenuItem$3(this.context, action, this.mailbox);
},
$signature: typesOffset + 39
};
B._MailboxSearchedItemBuilderState_build_closure.prototype = {
call$3(_, __, ___) {
return this.$this._buildMailboxItem$1(this.context);
},
$signature: 1549
};
B._MailboxSearchedItemBuilderState_build_closure0.prototype = {
call$1(emails) {
var t1 = this.$this._widget;
t1.onDragEmailToMailboxAccepted.call$2(emails, t1._mailbox_searched_item_builder$_presentationMailbox);
},
$signature: 503
};
B._MailboxSearchedItemBuilderState__buildMailboxItem_closure.prototype = {
call$1(value) {
var t1 = this.$this;
return t1.setState$1(new B._MailboxSearchedItemBuilderState__buildMailboxItem__closure(t1, value));
},
$signature: 13
};
B._MailboxSearchedItemBuilderState__buildMailboxItem__closure.prototype = {
call$0() {
return this.$this.isHoverItem = this.value;
},
$signature: 0
};
B._MailboxSearchedItemBuilderState__buildMenuIcon_closure.prototype = {
call$1(detail) {
var screenSize = A.InheritedModel_inheritFrom(this.context, null, type$.MediaQuery).data.size,
offset = detail.globalPosition,
t1 = offset._dx,
t2 = offset._dy,
t3 = this.$this._widget;
t3.onClickOpenMenuMailboxAction.call$2(new A.RelativeRect(t1, t2, screenSize._dx - t1, screenSize._dy - t2), t3._mailbox_searched_item_builder$_presentationMailbox);
},
$signature: 35
};
B.ThreadView_build_closure5.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).backButtonPressedCallbackAction$1(this.context);
},
$signature: 20
};
B.ThreadView_build_closure4.prototype = {
call$0() {
var t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus;
return t1 == null ? null : t1.unfocus$0();
},
$signature: 0
};
B.ThreadView_build_closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
t5 = A.ListPresentationEmailExtension_get_listEmailSelected(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.currentSelectMode;
t6 = t6.get$value(t6);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.filterMessageOption;
t7 = t7.get$value(t7);
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).get$openMailboxLeftMenu();
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).get$cancelSelectEmail();
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).get$enableSelectionEmail();
t3 = this.context;
t10 = type$.MediaQuery;
t11 = A.InheritedModel_inheritFrom(t3, _null, t10).data.size.get$shortestSide() < 600 ? new B.ThreadView_build__closure1(t1, t3) : _null;
t10 = !(A.InheritedModel_inheritFrom(t3, _null, t10).data.size.get$shortestSide() < 600) ? new B.ThreadView_build__closure2(t1, t3) : _null;
return new B.AppBarThreadWidget(t10, t11, t8, t2, t9, new B.ThreadView_build__closure3(t1, t3), t4, t5, t6, t7, _null);
},
$signature: typesOffset + 40
};
B.ThreadView_build__closure3.prototype = {
call$2(actionType, selectionEmail) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).pressEmailSelectionAction$3(this.context, actionType, selectionEmail);
},
$signature: 315
};
B.ThreadView_build__closure1.prototype = {
call$1(filterOption) {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = this.context;
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openContextMenuAction$2(t3, t1._filterMessagesCupertinoActionTile$2(t3, filterOption));
},
$signature: 198
};
B.ThreadView_build__closure2.prototype = {
call$2(filterOption, position) {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = this.context;
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).openPopupMenuAction$3(t3, position, t1.popupMenuFilterEmailActionTile$3(t3, filterOption, new B.ThreadView_build___closure(t1, t3)));
},
$signature: 1550
};
B.ThreadView_build___closure.prototype = {
call$1(option) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).filterMessagesAction$2(this.context, option);
},
$signature: 198
};
B.ThreadView_build_closure0.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController;
t3 = this.context;
t4 = t2.selectedMailbox;
if (t4.get$value(t4) != null) {
t5 = t4.get$value(t4);
t5.toString;
if (J.$eq$(t5.role, $.$get$PresentationMailbox_roleTrash())) {
t4 = t4.get$value(t4);
t4.toString;
if (A.PresentationMailboxExtension_get_countTotalEmails(t4) > 0) {
t2 = t2.searchController.searchState;
if (t2.get$value(t2).searchStatus !== C.SearchStatus_0) {
t2 = A.InheritedModel_inheritFrom(t3, null, type$.MediaQuery).data;
t2 = !(t2.size._dx >= 1200);
} else
t2 = false;
} else
t2 = false;
} else
t2 = false;
} else
t2 = false;
if (t2)
return new A.Padding(D.EdgeInsetsDirectional_16_0_16_0, new B.BannerEmptyTrashWidget(new B.ThreadView_build__closure0(t1, t3), null), null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.ThreadView_build__closure0.prototype = {
call$0() {
var _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.deleteSelectionEmailsPermanently$5$listEmails$mailboxCurrent$onCancelSelectionEmail(this.context, C.DeleteActionType_0, _null, _null, _null);
return _null;
},
$signature: 0
};
B.ThreadView_build_closure1.prototype = {
call$0() {
var t3, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController;
t3 = this.context;
t4 = t2.selectedMailbox;
if (t4.get$value(t4) != null) {
t5 = t4.get$value(t4);
t5.toString;
if (J.$eq$(t5.role, $.$get$PresentationMailbox_roleSpam())) {
t4 = t4.get$value(t4);
t4.toString;
if (A.PresentationMailboxExtension_get_countTotalEmails(t4) > 0) {
t2 = t2.searchController.searchState;
if (t2.get$value(t2).searchStatus !== C.SearchStatus_0) {
t2 = A.InheritedModel_inheritFrom(t3, null, type$.MediaQuery).data;
t2 = !(t2.size._dx >= 1200);
} else
t2 = false;
} else
t2 = false;
} else
t2 = false;
} else
t2 = false;
if (t2)
return new A.Padding(D.EdgeInsetsDirectional_16_0_16_0, new B.BannerDeleteAllSpamEmailsWidget(new B.ThreadView_build__closure(t1, t3), null), null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 64
};
B.ThreadView_build__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.openDialogEmptySpamFolder$1(this.context);
},
$signature: 0
};
B.ThreadView_build_closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return new B.ThreadViewLoadingBarWidget(t1.get$value(t1), null);
},
$signature: typesOffset + 41
};
B.ThreadView_build_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return new B.ThreadViewBottomLoadingBarWidget(t1.get$value(t1), null);
},
$signature: typesOffset + 42
};
B.ThreadView__buildVacationNotificationMessage_closure.prototype = {
call$0() {
var t3, t4, vacation,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.vacationResponse;
vacation = t4.get$value(t4);
if (vacation == null)
t4 = null;
else
t4 = F.VacationResponseExtension_get_vacationResponderIsReady(vacation) && !F.VacationResponseExtension_get_vacationResponderIsStopped(vacation);
if (t4 === true) {
vacation.toString;
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController;
A.Expando__checkType(t1);
return F.VacationNotificationMessageWidget$(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.get$disableVacationResponder(), t4.get$goToVacationSetting(), false, null, D.EdgeInsets_12_0_12_12, null, vacation);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ThreadView__buildListButtonSelectionForMobile_closure.prototype = {
call$0() {
var t3, t4, _this = this,
t1 = _this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.currentSelectMode;
if (t4.get$value(t4) === C.SelectMode_0) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController;
t2 = t1.simpleSearchIsActivated;
if (!t2.get$value(t2)) {
t1 = t1.advancedSearchIsActivated;
t1 = t1.get$value(t1);
} else
t1 = true;
t1 = t1 && !(A.InheritedModel_inheritFrom(_this.context, null, type$.MediaQuery).data.size._dx >= 1200);
} else
t1 = false;
if (t1) {
t1 = _this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A.ListPresentationEmailExtension_get_listEmailSelected(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox).length !== 0;
} else
t1 = false;
if (t1) {
t1 = _this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = A.ListPresentationEmailExtension_get_listEmailSelected(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox;
return new B.BottomBarThreadSelectionWidget(t1._thread_view$_imagePaths, t1._thread_view$_responsiveUtils, t4, t2.get$value(t2), new B.ThreadView__buildListButtonSelectionForMobile__closure(t1, _this.context), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ThreadView__buildListButtonSelectionForMobile__closure.prototype = {
call$2(actionType, selectionEmail) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).pressEmailSelectionAction$3(this.context, actionType, selectionEmail);
},
$signature: 315
};
B.ThreadView__buildFloatingButtonCompose_closure.prototype = {
call$0() {
var t3, t4, t5, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController;
t5 = t4.searchState;
if (t5.get$value(t5).searchStatus !== C.SearchStatus_0) {
t4 = t4.isAdvancedSearchViewOpen;
t4 = !t4.get$value(t4);
} else
t4 = false;
if (t4) {
A.Expando__checkType(t1);
return A.Container$(_null, new B.ComposeFloatingButton(t3._as(t2.get(t1)).listEmailController, new B.ThreadView__buildFloatingButtonCompose__closure(t1), _null), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, C.EdgeInsets_0_0_0_0, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 4
};
B.ThreadView__buildFloatingButtonCompose__closure.prototype = {
call$0() {
var _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.goToComposer$1(A.ComposerArguments$(_null, C.EmailActionType_3, _null, _null, _null, _null, _null, _null, _null, _null));
},
$signature: 0
};
B.ThreadView__filterMessagesCupertinoActionTile_closure.prototype = {
call$1(filter) {
var t4, t5, t6, t7, _null = null,
t1 = filter._core$_name,
t2 = this.$this,
t3 = B.FilterMessageOptionExtension_getIcon(filter, t2._thread_view$_imagePaths);
t3 = A.SvgPicture$asset(t3, C.Alignment_0_0, filter === C.FilterMessageOption_2 ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : _null, C.BoxFit_0, 20, _null, 20);
t4 = this.context;
t5 = B.FilterMessageOptionExtension_getName(filter, t4);
t6 = type$.MediaQuery;
t7 = A.InheritedModel_inheritFrom(t4, _null, t6).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
t6 = A.InheritedModel_inheritFrom(t4, _null, t6).data.size._dx < 600 ? C.EdgeInsets_0_0_12_0 : C.EdgeInsets_0_0_0_0;
t5 = new B.FilterMessageCupertinoActionSheetActionBuilder(filter, this.optionCurrent, A.SvgPicture$asset("assets/images/ic_filter_selected.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, 20), t7, t6, new A.ValueKey("filter_email_" + t1, type$.ValueKey_String), t3, t5);
t5.onCupertinoActionSheetActionClick = new B.ThreadView__filterMessagesCupertinoActionTile__closure(t2, t4);
return t5.build$0();
},
$signature: 1551
};
B.ThreadView__filterMessagesCupertinoActionTile__closure.prototype = {
call$1(option) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).filterMessagesAction$2(this.context, option);
},
$signature: 198
};
B.ThreadView__buildListEmail_closure.prototype = {
call$0() {
var t3, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).openingEmail;
t4 = t4.get$value(t4);
A.Expando__checkType(t1);
return B.Visibility$(t1._buildResultListEmail$2(this.context, t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox), !t4);
},
$signature: 1552
};
B.ThreadView__buildResultListEmail_closure.prototype = {
call$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, t1, t2;
var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = $async$self.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
$async$returnValue = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).refreshAllEmail$0();
// goto return
$async$goto = 1;
break;
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$call$0, $async$completer);
},
$signature: 6
};
B.ThreadView__buildResultListEmail_closure0.prototype = {
call$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, t1, t2;
var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
while (true)
switch ($async$goto) {
case 0:
// Function start
t1 = $async$self.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
$async$returnValue = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).refreshAllEmail$0();
// goto return
$async$goto = 1;
break;
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$call$0, $async$completer);
},
$signature: 6
};
B.ThreadView__buildListEmailBody_closure.prototype = {
call$1(scrollInfo) {
var t1, t2, t3, t4, t5, oldestEmail, t6, t7, t8, t9, t10, _null = null;
if (scrollInfo instanceof A.ScrollEndNotification) {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
if (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).loadingMoreStatus !== C.LoadingMoreStatus_1) {
t1 = scrollInfo.metrics;
t2 = t1._scroll_metrics$_pixels;
t2.toString;
t1 = t1._maxScrollExtent;
t1.toString;
t1 = t2 === t1;
} else
t1 = false;
} else
t1 = false;
if (t1) {
A.log("ThreadView::_buildListEmailBody(): CALL LOAD MORE", C.Level_3);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController;
t5 = t4.simpleSearchIsActivated;
if (!t5.get$value(t5)) {
t4 = t4.advancedSearchIsActivated;
t4 = t4.get$value(t4);
} else
t4 = true;
if (!t4) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController.advancedSearchIsActivated;
t4 = t4.get$value(t4);
} else
t4 = true;
if (t4) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1));
if (t1.canSearchMore) {
t2 = t1.EmailActionController_mailboxDashBoardController;
if (t2.sessionCurrent != null) {
t2 = t2.accountId;
t2 = t2.get$value(t2) != null;
} else
t2 = false;
} else
t2 = false;
if (t2) {
t2 = t1.EmailActionController_mailboxDashBoardController;
t3 = t2.emailsInCurrentMailbox;
oldestEmail = !t3.get$isEmpty(t3) ? t3.get$last(t3) : _null;
t3 = t2.searchController;
t4 = oldestEmail == null;
t5 = t4 ? _null : oldestEmail.receivedAt;
t3.updateFilterEmail$1$beforeOption(A.optionOf(t5, type$.UTCDate));
t5 = t1._searchMoreEmailInteractor;
t6 = t2.sessionCurrent;
t6.toString;
t7 = t2.accountId;
t8 = t7.get$value(t7);
t8.toString;
t9 = $.$get$ThreadConstants_defaultLimit();
t10 = t1.get$_sortOrder();
t3 = t3.searchEmailFilter;
t3 = t3.get$value(t3).mappingToEmailFilterCondition$1$moreFilterCondition(t1._getFilterCondition$0());
t2 = t2.sessionCurrent;
t2.toString;
t7 = t7.get$value(t7);
t7.toString;
t7 = A.EmailUtils_getPropertiesForEmailGetMethod(t2, t7);
t1.consumeState$1(t5.execute$7$filter$lastEmailId$limit$properties$sort(t6, t8, t3, t4 ? _null : oldestEmail.id, t9, t7, t10));
}
} else {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1));
A.log("ThreadController::loadMoreEmails()", C.Level_3);
if (t1.canLoadMore) {
t2 = t1.EmailActionController_mailboxDashBoardController;
if (t2.sessionCurrent != null) {
t2 = t2.accountId;
t2 = t2.get$value(t2) != null;
} else
t2 = false;
} else
t2 = false;
if (t2) {
t2 = t1.EmailActionController_mailboxDashBoardController;
t3 = t2.emailsInCurrentMailbox;
oldestEmail = !t3.get$isEmpty(t3) ? t3.get$last(t3) : _null;
t3 = t1._loadMoreEmailsInMailboxInteractor;
t4 = t2.sessionCurrent;
t4.toString;
t5 = t2.accountId;
t6 = t5.get$value(t5);
t6.toString;
t7 = $.$get$ThreadConstants_defaultLimit();
t8 = t1.get$_sortOrder();
t9 = t2.filterMessageOption;
t9 = t9.get$value(t9);
t10 = t1._getFilterCondition$2$mailboxIdSelected$oldestEmail(t1._currentMailboxId, oldestEmail);
t2 = t2.sessionCurrent;
t2.toString;
t5 = t5.get$value(t5);
t5.toString;
t5 = A.EmailUtils_getPropertiesForEmailGetMethod(t2, t5);
t1.consumeState$1(t3.execute$1(new A.GetEmailRequest(t4, t6, t7, t8, t10, t9, t5, oldestEmail == null ? _null : oldestEmail.id)));
}
}
}
return false;
},
$signature: 87
};
B.ThreadView__buildListEmailBody_closure0.prototype = {
call$2(context, index) {
return new A.Obx(new B.ThreadView__buildListEmailBody__closure(this.$this, context, this.listPresentationEmail, index), null);
},
$signature: 191
};
B.ThreadView__buildListEmailBody__closure.prototype = {
call$0() {
var _this = this,
t1 = _this.listPresentationEmail;
return _this.$this._buildEmailItem$2(_this.context, J.$index$asx(t1.get$value(t1), _this.index));
},
$signature: 4
};
B.ThreadView__buildEmailItemDraggable_closure2.prototype = {
call$1(_) {
},
$signature: 35
};
B.ThreadView__buildEmailItemDraggable_closure3.prototype = {
call$1(_) {
},
$signature: 35
};
B.ThreadView__buildEmailItemDraggable_closure0.prototype = {
call$0() {
var t3, t4, t5, t6,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = t3._as(t2.get(t1));
t5 = this.presentationEmail;
t6 = t5.id;
if (t6 != null && A.ListPresentationEmailExtension_findEmail(t4.EmailActionController_mailboxDashBoardController.listEmailSelected, t6) != null) {
t5 = t4.listEmailDrag;
t5.set$length(0, 0);
t4 = t4.EmailActionController_mailboxDashBoardController;
t6 = t5.RxObjectMixin___RxObjectMixin__value_A;
t6 === $ && A.throwUnnamedLateFieldNI();
J.addAll$1$ax(t6, t4.listEmailSelected);
t4 = t5.NotifyManager_subject;
t5 = t5.get$value(t5);
t4._rx_stream$_value = t5;
t4._notifyData$1(t5);
} else {
t4 = t4.listEmailDrag;
t4.set$length(0, 0);
t6 = t4.RxObjectMixin___RxObjectMixin__value_A;
t6 === $ && A.throwUnnamedLateFieldNI();
J.add$1$ax(t6, t5);
t5 = t4.NotifyManager_subject;
t4 = t4.get$value(t4);
t5._rx_stream$_value = t4;
t5._notifyData$1(t4);
}
A.Expando__checkType(t1);
t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController._isDraggingMailbox.set$value(0, true);
},
$signature: 0
};
B.ThreadView__buildEmailItemDraggable_closure.prototype = {
call$1(_) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController._isDraggingMailbox.set$value(0, false);
return null;
},
$signature: typesOffset + 43
};
B.ThreadView__buildEmailItemDraggable_closure1.prototype = {
call$2(_, __) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController._isDraggingMailbox.set$value(0, false);
return null;
},
$signature: 1553
};
B.ThreadView__buildEmailItemNotDraggable_closure1.prototype = {
call$1(direction) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).swipeEmailAction$3(this.context, this.presentationEmail, direction);
},
$signature: 1554
};
B.ThreadView__buildEmailItemNotDraggable_closure.prototype = {
call$2(action, email) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).pressEmailAction$4$mailboxContain(this.context, action, email, email.mailboxContain);
return null;
},
$signature: 248
};
B.ThreadView__buildEmailItemNotDraggable_closure0.prototype = {
call$2(email, position) {
var t4, _null = null,
t1 = this.$this,
t2 = this.context,
mailboxContain = email.mailboxContain,
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
if (A.InheritedModel_inheritFrom(t2, _null, type$.MediaQuery).data.size.get$shortestSide() < 600) {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t4 = t3._as(t4._jsWeakMap.get(t1));
t3 = A._setArrayType([t1._openInNewTabContextMenuItemAction$2(t2, email)], type$.JSArray_Widget);
if ((mailboxContain == null ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleDrafts())) === false)
t3.push(t1._markAsEmailSpamOrUnSpamContextMenuItemAction$3(t2, email, mailboxContain));
t4.openContextMenuAction$2(t2, t3);
} else {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t4 = t3._as(t4._jsWeakMap.get(t1));
t3 = A._setArrayType([t1._buildOpenInNewTabPopupMenuItem$3(t2, email, mailboxContain)], type$.JSArray_PopupMenuEntry_dynamic);
if ((mailboxContain == null ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleDrafts())) === false)
t3.push(t1._buildMarkAsSpamPopupMenuItem$3(t2, email, mailboxContain));
t4.openPopupMenuAction$3(t2, position, t3);
}
return _null;
},
$signature: 308
};
B.ThreadView__buildFeedBackWidget_closure.prototype = {
call$0() {
var t1, t2, _null = null;
A.Localizations_of(this.context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).listEmailDrag;
t1 = J.get$length$asx(t1.get$value(t1));
return A.Text$(A.Intl__message("Move " + t1 + " conversation", _null, "moveConversation", A._setArrayType([t1], type$.JSArray_Object), _null), _null, _null, 1, C.TextOverflow_0, _null, _null, _null, _null, D.TextStyle_1Gf5, _null, _null, _null, _null, _null);
},
$signature: 139
};
B.ThreadView__buildEmptyEmail_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState;
return J.fold$2$ax(t2.get$value(t2), new B.ThreadView__buildEmptyEmail__closure(), new B.ThreadView__buildEmptyEmail__closure0(t1, this.context));
},
$signature: 4
};
B.ThreadView__buildEmptyEmail__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.ThreadView__buildEmptyEmail__closure0.prototype = {
call$1(success) {
var t1, t2, t3, t4, t5;
if (!(success instanceof A.LoadingState) && !(success instanceof A.SearchingState)) {
t1 = this.$this;
t2 = this.context;
t3 = t1._getMessageEmptyEmail$1(t2);
t2 = t1._getSubMessageEmptyEmail$1(t2);
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t4 = t4._jsWeakMap;
t5 = A._instanceType(t1)._eval$1("GetWidget.S");
if (t5._as(t4.get(t1)).get$isNewFolderCreated()) {
A.Expando__checkType(t1);
t1 = t5._as(t4.get(t1)).get$goToCreateEmailRuleView();
} else
t1 = null;
t1 = new B.EmptyEmailsWidget(t3, "assets/images/ic_empty_email.svg", t2, t1, D.ValueKey_empty_thread_view);
} else
t1 = C.SizedBox_0_0_null_null;
return t1;
},
$signature: 85
};
B.ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure.prototype = {
call$1(email) {
var t3,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = this.mailboxContain;
t3 = (t2 == null ? null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true ? C.EmailActionType_21 : C.EmailActionType_20;
return t1.pressEmailAction$4$mailboxContain(this.context, t3, email, t2);
},
$signature: 111
};
B.ThreadView__openInNewTabContextMenuItemAction_closure.prototype = {
call$1(email) {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.AppUtils_launchLink(J.toString$0$(email.routeWeb));
},
$signature: 111
};
B.ThreadView__buildMarkAsSpamPopupMenuItem_closure.prototype = {
call$0() {
var t3, _this = this,
t1 = _this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
t2 = _this.mailboxContain;
t3 = (t2 == null ? null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam())) === true ? C.EmailActionType_21 : C.EmailActionType_20;
return t1.pressEmailAction$4$mailboxContain(_this.context, t3, _this.email, t2);
},
$signature: 0
};
B.ThreadView__buildOpenInNewTabPopupMenuItem_closure.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.AppUtils_launchLink(J.toString$0$(this.email.routeWeb));
},
$signature: 7
};
B.ThreadView__buildMarkAsMailboxReadLoading_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.viewStateMarkAsReadMailbox;
return t2.get$value(t2).fold$2(0, new B.ThreadView__buildMarkAsMailboxReadLoading__closure(), new B.ThreadView__buildMarkAsMailboxReadLoading__closure0(t1, this.context));
},
$signature: 4
};
B.ThreadView__buildMarkAsMailboxReadLoading__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.ThreadView__buildMarkAsMailboxReadLoading__closure0.prototype = {
call$1(success) {
var t1, t2, t3, t4, t5, _null = null;
if (success instanceof A.MarkAsMailboxReadLoading) {
t1 = this.context;
t2 = type$.MediaQuery;
t3 = A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 16 : 0;
return new A.Padding(new A.EdgeInsets(16, t3, 16, A.InheritedModel_inheritFrom(t1, _null, t2).data.size._dx >= 1200 ? 0 : 16), C.Center_2No, _null);
} else if (success instanceof A.UpdatingMarkAsMailboxReadState) {
t1 = success.countRead;
t2 = success.totalUnread;
t3 = this.context;
t4 = type$.MediaQuery;
t5 = A.InheritedModel_inheritFrom(t3, _null, t4).data.size._dx >= 1200 ? 16 : 0;
t3 = A.InheritedModel_inheritFrom(t3, _null, t4).data.size._dx >= 1200 ? 0 : 16;
return new A.Padding(new A.EdgeInsets(16, t5, 16, t3), this.$this.horizontalPercentLoadingWidget$1(t1 / t2), _null);
}
return C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.DefaultWebAppBarThreadWidget_build_closure.prototype = {
call$2(context, constraints) {
var t2, t3, t4, t5, _null = null,
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
t2 = this.$this;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_menu_drawer.svg", _null, _null, D.ValueKey_mailbox_menu_button, _null, 80, _null, t2.openMailboxAction, C.EdgeInsets_5_5_5_5, A.Intl__message("Open Folder menu", _null, "openFolderMenu", _null, _null));
t4 = t2.mailboxSelected;
t4 = t4 == null ? _null : A.PresentationMailboxExtension_getDisplayName(t4, context);
t4 = A.Expanded$(new A.Padding(C.EdgeInsets_16_0_16_0, A.Text$(t4 == null ? "" : t4, _null, _null, 1, C.TextOverflow_1, _null, _null, false, _null, D.TextStyle_oHY12, _null, _null, _null, _null, _null), _null), 1);
t5 = t2.filterOption === C.FilterMessageOption_0 ? C.Color_4288258733 : C.Color_4278221567;
A.Localizations_of(context, C.Type_AppLocalizations_swi, t1).toString;
return A.Container$(_null, A.Row$(A._setArrayType([t3, t4, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, "assets/images/ic_filter.svg", t5, _null, D.ValueKey_filter_message_button, _null, 80, new B.DefaultWebAppBarThreadWidget_build__closure(t2), new B.DefaultWebAppBarThreadWidget_build__closure0(t2), _null, A.Intl__message("Filter messages", _null, "filter_messages", _null, _null))], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, C.BoxConstraints_mlX2, _null, _null, _null, _null, _null, C.EdgeInsets_16_8_16_8, _null, _null, _null);
},
$signature: 143
};
B.DefaultWebAppBarThreadWidget_build__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onContextMenuFilterEmailAction;
return t2 == null ? null : t2.call$1(t1.filterOption);
},
$signature: 0
};
B.DefaultWebAppBarThreadWidget_build__closure.prototype = {
call$1(position) {
var t1 = this.$this,
t2 = t1.onPopupMenuFilterEmailAction;
return t2 == null ? null : t2.call$2(t1.filterOption, position);
},
$signature: 196
};
B.SelectionWebAppBarThreadWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.listEmailSelected,
t3 = B.ListPresentationEmailExtension_get_isAllEmailRead(t2) ? C.EmailActionType_5 : C.EmailActionType_4;
return t1.emailSelectionAction.call$2(t3, t2);
},
$signature: 0
};
B.SelectionWebAppBarThreadWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.listEmailSelected,
t3 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t2) ? C.EmailActionType_7 : C.EmailActionType_6;
return t1.emailSelectionAction.call$2(t3, t2);
},
$signature: 0
};
B.SelectionWebAppBarThreadWidget_build_closure1.prototype = {
call$0() {
var t1 = this.$this;
return t1.emailSelectionAction.call$2(C.EmailActionType_8, t1.listEmailSelected);
},
$signature: 0
};
B.SelectionWebAppBarThreadWidget_build_closure2.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = t1.mailboxSelected;
t2 = t2 == null ? null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam());
t3 = t1.listEmailSelected;
t1 = t1.emailSelectionAction;
return t2 === true ? t1.call$2(C.EmailActionType_21, t3) : t1.call$2(C.EmailActionType_20, t3);
},
$signature: 0
};
B.SelectionWebAppBarThreadWidget_build_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.listEmailSelected,
t3 = t1.emailSelectionAction;
return t1.get$_deletePermanentlyValid() ? t3.call$2(C.EmailActionType_17, t2) : t3.call$2(C.EmailActionType_16, t2);
},
$signature: 0
};
B.BottomBarThreadSelectionWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._listSelectionEmail,
t3 = B.ListPresentationEmailExtension_get_isAllEmailRead(t2) ? C.EmailActionType_5 : C.EmailActionType_4;
t1.onPressEmailSelectionActionClick.call$2(t3, t2);
},
$signature: 0
};
B.BottomBarThreadSelectionWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._listSelectionEmail,
t3 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t2) ? C.EmailActionType_7 : C.EmailActionType_6;
t1.onPressEmailSelectionActionClick.call$2(t3, t2);
},
$signature: 0
};
B.BottomBarThreadSelectionWidget_build_closure1.prototype = {
call$0() {
var t1 = this.$this;
t1.onPressEmailSelectionActionClick.call$2(C.EmailActionType_8, t1._listSelectionEmail);
},
$signature: 0
};
B.BottomBarThreadSelectionWidget_build_closure2.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = t1._currentMailbox;
t2 = t2 == null ? null : J.$eq$(t2.role, $.$get$PresentationMailbox_roleSpam());
t3 = t1.onPressEmailSelectionActionClick;
if (t2 === true)
t3.call$2(C.EmailActionType_21, t1._listSelectionEmail);
else
t3.call$2(C.EmailActionType_20, t1._listSelectionEmail);
},
$signature: 0
};
B.BottomBarThreadSelectionWidget_build_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onPressEmailSelectionActionClick;
if (t1.get$canDeletePermanently())
t2.call$2(C.EmailActionType_17, t1._listSelectionEmail);
else
t2.call$2(C.EmailActionType_16, t1._listSelectionEmail);
},
$signature: 0
};
B.EmailTileBuilder__onHoverIconChanged_closure.prototype = {
call$0() {
return this.$this.isHoverIcon = this.isHover;
},
$signature: 0
};
B.EmailTileBuilder__onHoverItemChanged_closure.prototype = {
call$0() {
return this.$this.isHoverItem = this.isHover;
},
$signature: 0
};
B.EmailTileBuilder__buildListTile_closure1.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_18, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListTile_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_19, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListTile_closure.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = t1._emailActionClick;
if (t2 == null)
t1 = null;
else {
t3 = t1._selectModeAll === C.SelectMode_0 ? C.EmailActionType_19 : C.EmailActionType_18;
t1 = t2.call$2(t3, t1._presentationEmail);
}
return t1;
},
$signature: 0
};
B.EmailTileBuilder__buildListTileTablet_closure.prototype = {
call$2(context, setState) {
var t6, t7, t8, t9, _null = null,
t1 = this.$this,
t2 = A.InkWell$(false, _null, true, new A.Padding(D.EdgeInsetsDirectional_0_8_12_0, t1._email_tile_web_builder$_buildAvatarIcon$0(), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailTileBuilder__buildListTileTablet__closure(t1, setState), _null, new B.EmailTileBuilder__buildListTileTablet__closure0(t1), _null, _null, _null, _null, _null, _null, _null),
t3 = type$.JSArray_Widget,
t4 = A._setArrayType([], t3),
t5 = t1._presentationEmail;
if (!t5.get$hasRead())
t4.push(new A.Padding(D.EdgeInsetsDirectional_0_0_5_0, A.SvgPicture$asset("assets/images/ic_unread_status.svg", C.Alignment_0_0, _null, C.BoxFit_0, 9, _null, 9), _null));
t6 = t1._email_tile_web_builder$_context;
t7 = t1.isSearchEmailRunning;
t8 = t1._searchQuery;
t4.push(A.Expanded$(t1.buildInformationSender$5(t6, t5, t1.mailboxContain, t7, t8), 1));
if (t1.isHoverItem)
t4.push(D.SizedBox_120_null_null_null);
else {
t9 = A._setArrayType([t1.buildIconAnsweredOrForwarded$3$height$presentationEmail$width(16, t5, 16)], t3);
if (t5.hasAttachment === true)
t9.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset("assets/images/ic_attachment.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16), _null));
t9.push(new A.Padding(E.EdgeInsetsDirectional_8_0_4_0, t1.buildDateTime$2(t6, t5), _null));
t9.push(A.SvgPicture$asset("assets/images/ic_chevron.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16));
t4.push(A.Row$(t9, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
}
t4 = A.Row$(t4, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t9 = A._setArrayType([], t3);
if (t5.get$hasCalendarEvent())
t9.push(t1.buildCalendarEventIcon$2$context$presentationEmail(t6, t5));
t9.push(A.Expanded$(t1.buildEmailTitle$4(t6, t5, t7, t8), 1));
t9.push(t1.buildMailboxContain$3(t6, t7, t5));
if (t5.get$hasStarred())
t9.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset("assets/images/ic_star.svg", C.Alignment_0_0, _null, C.BoxFit_0, 15, _null, 15), _null));
t4 = A._setArrayType([A.Column$(A._setArrayType([t4, C.SizedBox_null_8_null_null, A.Row$(t9, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.SizedBox_null_8_null_null, A.Row$(A._setArrayType([A.Expanded$(t1.buildEmailPartialContent$4(t6, t5, t7, t8), 1)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1)], t3);
t5 = t1._selectModeAll === C.SelectMode_1;
if (t5)
t4.push(A.Transform$(_null, C.Divider_I9g, A.Matrix4_Matrix4$translationValues(0, 10, 0), true));
t2 = A._setArrayType([A.Row$(A._setArrayType([t2, A.Expanded$(new A.Stack(C.Alignment_0_1, _null, C.StackFit_0, C.Clip_1, t4, _null), 1)], t3), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t3);
if (t1.isHoverItem) {
t3 = A.Matrix4_Matrix4$translationValues(0, t5 ? -5 : 0, 0);
t2.push(A.Positioned$(_null, A.Transform$(_null, t1._buildListActionButtonWhenHover$0(), t3, true), _null, _null, _null, 0, 0, _null));
}
return A.InkWell$(false, _null, true, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, t2, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailTileBuilder__buildListTileTablet__closure1(t1, setState), _null, new B.EmailTileBuilder__buildListTileTablet__closure2(t1), _null, _null, _null, _null, _null, _null, _null);
},
$signature: 570
};
B.EmailTileBuilder__buildListTileTablet__closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_18, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListTileTablet__closure1.prototype = {
call$1(value) {
return this.$this._onHoverItemChanged$2(value, this.setState);
},
$signature: 13
};
B.EmailTileBuilder__buildListTileTablet__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_19, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListTileTablet__closure.prototype = {
call$1(value) {
return this.$this._onHoverIconChanged$2(value, this.setState);
},
$signature: 13
};
B.EmailTileBuilder__buildListTileForDesktop_closure.prototype = {
call$2(context, setState) {
var t7, t8, _null = null,
t1 = this.$this,
t2 = t1._presentationEmail,
t3 = A.Container$(C.Alignment_0_0, !t2.get$hasRead() ? A.SvgPicture$asset("assets/images/ic_unread_status.svg", C.Alignment_0_0, _null, C.BoxFit_0, 9, _null, 9) : C.SizedBox_9_null_null_null, C.Clip_0, _null, _null, _null, _null, _null, _null, _null, D.EdgeInsetsDirectional_16_0_16_0, _null, _null, _null),
t4 = A.SvgPicture$asset(t2.get$hasStarred() ? "assets/images/ic_star.svg" : "assets/images/ic_unstar.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16),
t5 = type$.AppLocalizations,
t6 = t1._email_tile_web_builder$_context;
if (t2.get$hasStarred()) {
A.Localizations_of(t6, C.Type_AppLocalizations_swi, t5).toString;
t5 = A.Intl__message("Starred", _null, "starred", _null, _null);
} else {
A.Localizations_of(t6, C.Type_AppLocalizations_swi, t5).toString;
t5 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
}
t7 = t1.isSearchEmailRunning;
t8 = type$.JSArray_Widget;
t5 = A._setArrayType([t3, A.buildIconWeb(_null, _null, t4, _null, _null, _null, new B.EmailTileBuilder__buildListTileForDesktop__closure(t1), _null, t5), A.buildIconWeb(_null, _null, t1.buildIconAnsweredOrForwarded$1$presentationEmail(t2), C.EdgeInsetsDirectional_0_0_12_0, _null, _null, _null, 1, t1.messageToolTipForAnsweredOrForwarded$2(context, t2)), A.InkWell$(false, _null, true, t1._email_tile_web_builder$_buildAvatarIcon$2$iconSize$textStyle(32, D.TextStyle_1Gf3), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailTileBuilder__buildListTileForDesktop__closure0(t1, setState), _null, new B.EmailTileBuilder__buildListTileForDesktop__closure1(t1), _null, _null, _null, _null, _null, _null, _null), C.SizedBox_10_null_null_null, new A.SizedBox(160, _null, t1.buildInformationSender$5(t6, t2, t1.mailboxContain, t7, t1._searchQuery), _null), E.SizedBox_24_null_null_null, A.Expanded$(t1._buildSubjectAndContent$0(), 1), C.SizedBox_16_null_null_null], t8);
if (t1.isHoverItem)
t5.push(t1._buildListActionButtonWhenHover$0());
else {
t3 = A._setArrayType([t1.buildMailboxContain$3(t6, t7, t2)], t8);
if (t2.hasAttachment === true)
t3.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset("assets/images/ic_attachment.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, 16), _null));
t3.push(new A.Padding(D.EdgeInsetsDirectional_8_0_20_0, t1.buildDateTime$2(t6, t2), _null));
t5.push(A.Row$(t3, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
}
t2 = A._setArrayType([A.Row$(t5, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t8);
if (t1._selectModeAll === C.SelectMode_1)
t2.push(A.Transform$(_null, D.Padding_4AN, A.Matrix4_Matrix4$translationValues(0, 10, 0), true));
return A.InkWell$(false, _null, true, new A.Stack(C.Alignment_0_1, _null, C.StackFit_0, C.Clip_1, t2, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailTileBuilder__buildListTileForDesktop__closure2(t1, setState), _null, new B.EmailTileBuilder__buildListTileForDesktop__closure3(t1), _null, _null, _null, _null, _null, _null, _null);
},
$signature: 570
};
B.EmailTileBuilder__buildListTileForDesktop__closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_18, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListTileForDesktop__closure2.prototype = {
call$1(value) {
return this.$this._onHoverItemChanged$2(value, this.setState);
},
$signature: 13
};
B.EmailTileBuilder__buildListTileForDesktop__closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
if (t2 == null)
t1 = null;
else {
t1 = t1._presentationEmail;
t1 = t2.call$2(t1.get$hasStarred() ? C.EmailActionType_7 : C.EmailActionType_6, t1);
}
return t1;
},
$signature: 0
};
B.EmailTileBuilder__buildListTileForDesktop__closure1.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_19, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListTileForDesktop__closure0.prototype = {
call$1(value) {
return this.$this._onHoverIconChanged$2(value, this.setState);
},
$signature: 13
};
B.EmailTileBuilder__buildListActionButtonWhenHover_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_22, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListActionButtonWhenHover_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
if (t2 == null)
t1 = null;
else {
t1 = t1._presentationEmail;
t1 = t2.call$2(t1.get$hasRead() ? C.EmailActionType_5 : C.EmailActionType_4, t1);
}
return t1;
},
$signature: 0
};
B.EmailTileBuilder__buildListActionButtonWhenHover_closure1.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_8, t1._presentationEmail);
},
$signature: 0
};
B.EmailTileBuilder__buildListActionButtonWhenHover_closure2.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = t1._emailActionClick;
if (t2 == null)
t1 = null;
else {
t3 = t1.get$canDeletePermanently() ? C.EmailActionType_17 : C.EmailActionType_16;
t1 = t2.call$2(t3, t1._presentationEmail);
}
return t1;
},
$signature: 0
};
B.EmailTileBuilder__buildListActionButtonWhenHover_closure3.prototype = {
call$1(tapDetails) {
var screenSize, offset,
t1 = this.$this,
t2 = t1._email_tile_web_builder$_context,
t3 = type$.MediaQuery,
t4 = A.InheritedModel_inheritFrom(t2, null, t3).data.size.get$shortestSide(),
t5 = t1._onMoreActionClick;
if (t4 < 600) {
if (t5 != null)
t5.call$2(t1._presentationEmail, null);
} else if (t5 != null) {
screenSize = A.InheritedModel_inheritFrom(t2, null, t3).data.size;
offset = tapDetails.globalPosition;
t2 = offset._dx;
t3 = offset._dy;
t5.call$2(t1._presentationEmail, new A.RelativeRect(t2, t3, screenSize._dx - t2, screenSize._dy - t3));
}
},
$signature: 35
};
B.EmailTileBuilder__buildSubjectAndContent_closure.prototype = {
call$2(context, constraints) {
var _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = this.$this,
t3 = t2._presentationEmail;
if (t3.get$hasCalendarEvent())
t1.push(t2.buildCalendarEventIcon$2$context$presentationEmail(t2._email_tile_web_builder$_context, t3));
if (t3.getEmailTitle$0().length !== 0)
t1.push(A.Container$(_null, t2.buildEmailTitle$4(t2._email_tile_web_builder$_context, t3, t2.isSearchEmailRunning, t2._searchQuery), C.Clip_0, _null, new A.BoxConstraints(0, constraints.maxWidth / 2, 0, 1 / 0), _null, _null, _null, _null, _null, C.EdgeInsetsDirectional_0_0_12_0, _null, _null, _null));
t1.push(A.Expanded$(A.Container$(_null, t2.buildEmailPartialContent$4(t2._email_tile_web_builder$_context, t3, t2.isSearchEmailRunning, t2._searchQuery), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), 1));
return A.Row$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
$signature: 565
};
B.FilterMessageCupertinoActionSheetActionBuilder_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onCupertinoActionSheetActionClick;
if (t2 != null)
t2.call$1(t1.option);
},
$signature: 0
};
B._ScrollToTopButtonWidgetState__handleScroll_closure.prototype = {
call$0() {
this.$this._isVisible = true;
},
$signature: 0
};
B._ScrollToTopButtonWidgetState__handleScroll_closure0.prototype = {
call$0() {
this.$this._isVisible = false;
},
$signature: 0
};
B.SpamReportBannerWebWidget_build_closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, _null = null,
t1 = this.spamReportController,
t2 = t1._spamReportState;
if (J.$eq$(t2.get$value(t2), C.SpamReportState_0)) {
t2 = t1._presentationSpamMailbox;
t2 = t2.get$value(t2) == null;
} else
t2 = true;
if (t2)
return C.SizedBox_null_8_null_null;
t2 = $.$get$SpamReportBannerWebStyles_backgroundColor();
t3 = t1.get$numberOfUnreadSpamEmails();
t4 = this.context;
t5 = type$.AppLocalizations;
A.Localizations_of(t4, C.Type_AppLocalizations_swi, t5).toString;
t6 = A.Intl__message("Show Details", _null, "showDetails", _null, _null);
t7 = t4.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t7 = A.Bidi_isRtlLanguage(t7.get$languageCode(t7)) ? "assets/images/ic_arrow_left.svg" : "assets/images/ic_arrow_right.svg";
t8 = type$.JSArray_Widget;
t6 = A.Row$(A._setArrayType([new B.SpamReportBannerLabelWidget(t3, C.Color_4278221567, _null), C.SizedBox_32_null_null_null, B.SpamReportBannerButtonWidget$(t7, false, t6, C.Color_4278221567, t1.get$openMailbox(), true)], t8), C.CrossAxisAlignment_2, C.MainAxisAlignment_2, C.MainAxisSize_0, _null);
A.Localizations_of(t4, C.Type_AppLocalizations_swi, t5).toString;
return A.Container$(_null, new A.Stack(D.AlignmentDirectional_0_0, _null, C.StackFit_0, C.Clip_1, A._setArrayType([t6, A.PositionedDirectional$(_null, B.SpamReportBannerButtonWidget$("assets/images/ic_close.svg", true, A.Intl__message("Dismiss", _null, "dismiss", _null, _null), C.Color_4293281350, new B.SpamReportBannerWebWidget_build__closure(t1, t4), true), 0, _null, _null, _null)], t8), _null), C.Clip_0, _null, _null, new A.ShapeDecoration(t2, _null, _null, _null, D.RoundedRectangleBorder_gHS), _null, _null, _null, D.EdgeInsetsDirectional_0_16_16_0, C.EdgeInsetsDirectional_16_8_16_8, _null, _null, 1 / 0);
},
$signature: 4
};
B.SpamReportBannerWebWidget_build__closure.prototype = {
call$0() {
return this.spamReportController.dismissSpamReportAction$1(this.context);
},
$signature: 0
};
B.SpamReportBannerWidget_build_closure.prototype = {
call$0() {
var t3, t4, t5, t6, _null = null,
t1 = this.spamReportController,
t2 = t1._spamReportState;
if (J.$eq$(t2.get$value(t2), C.SpamReportState_0)) {
t2 = t1._presentationSpamMailbox;
t2 = t2.get$value(t2) == null;
} else
t2 = true;
if (t2)
return C.SizedBox_0_0_null_null;
t2 = $.$get$SpamReportBannerStyles_backgroundColor();
t3 = t1.get$numberOfUnreadSpamEmails();
t4 = this.context;
t5 = type$.AppLocalizations;
A.Localizations_of(t4, C.Type_AppLocalizations_swi, t5).toString;
t6 = A.Expanded$(B.SpamReportBannerButtonWidget$(_null, true, A.Intl__message("Show Details", _null, "showDetails", _null, _null), C.Color_4278221567, t1.get$openMailbox(), false), 1);
A.Localizations_of(t4, C.Type_AppLocalizations_swi, t5).toString;
t5 = type$.JSArray_Widget;
return A.Container$(_null, A.Column$(A._setArrayType([new B.SpamReportBannerLabelWidget(t3, D.Color_4284640634, _null), C.SizedBox_null_8_null_null, A.Row$(A._setArrayType([t6, C.SizedBox_8_null_null_null, A.Expanded$(B.SpamReportBannerButtonWidget$(_null, true, A.Intl__message("Dismiss", _null, "dismiss", _null, _null), C.Color_4293281350, new B.SpamReportBannerWidget_build__closure(t1, t4), false), 1)], t5), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t5), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_0, _null, _null, new A.ShapeDecoration(t2, _null, _null, _null, D.RoundedRectangleBorder_gHS), _null, _null, _null, C.EdgeInsetsDirectional_16_0_16_8, D.EdgeInsetsDirectional_12_12_12_12, _null, _null, _null);
},
$signature: 4
};
B.SpamReportBannerWidget_build__closure.prototype = {
call$0() {
return this.spamReportController.dismissSpamReportAction$1(this.context);
},
$signature: 0
};
B.ThreadViewBottomLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.ThreadViewBottomLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
if (success instanceof A.SearchingMoreState || success instanceof A.LoadingMoreEmails)
return D.Padding_PqY;
else
return C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.ThreadViewLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 38
};
B.ThreadViewLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
if (success instanceof A.SearchingState || success instanceof A.GetAllEmailLoading)
return D.Padding_PqY0;
else
return C.SizedBox_0_0_null_null;
},
$signature: 58
};
B.ListUploadFileStateExtension_get_totalSize_closure.prototype = {
call$1(file) {
return file.get$fileSize();
},
$signature: 1556
};
B.ListUploadFileStateExtension_get_totalSize_closure0.prototype = {
call$2(sum, size) {
return sum + size;
},
$signature: 419
};
B.DefaultLinkDelegate_build_closure.prototype = {
call$0() {
return this.$this._followLink$1(this.context);
},
$signature: 6
};
(function aliases() {
var _ = B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin.prototype;
_.super$__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin$dispose = _.dispose$0;
_ = B.__SuggestionsListState_State_SingleTickerProviderStateMixin0.prototype;
_.super$__SuggestionsListState_State_SingleTickerProviderStateMixin$dispose = _.dispose$0;
_ = B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin.prototype;
_.super$__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin$dispose = _.dispose$0;
_ = B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin.prototype;
_.super$__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin$initState = _.initState$0;
})();
(function installTearOffs() {
var _instance_0_u = hunkHelpers._instance_0u,
_static_1 = hunkHelpers._static_1,
_instance_1_u = hunkHelpers._instance_1u,
_static = hunkHelpers.installStaticTearOff,
_instance_2_u = hunkHelpers._instance_2u;
_instance_0_u(B._TypeAheadFormFieldState.prototype, "get$_handleControllerChanged", "_handleControllerChanged$0", 0);
_instance_0_u(B._TypeAheadFieldQuickSearchState.prototype, "get$_scrollResizeListener", "_scrollResizeListener$0", 0);
_static_1(B, "multidrag_MultiDragGestureRecognizer__defaultButtonAcceptBehavior$closure", "MultiDragGestureRecognizer__defaultButtonAcceptBehavior", 44);
var _;
_instance_1_u(_ = B.MultiDragGestureRecognizer.prototype, "get$_multidrag$_handleEvent", "_multidrag$_handleEvent$1", 16);
_instance_1_u(_, "get$_removeState", "_removeState$1", 17);
_static(B, "drag_target__childDragAnchorStrategy$closure", 3, null, ["call$3"], ["childDragAnchorStrategy"], 2, 0);
_static(B, "drag_target__pointerDragAnchorStrategy$closure", 3, null, ["call$3"], ["pointerDragAnchorStrategy"], 2, 0);
_instance_1_u(_ = B._DraggableState.prototype, "get$_routePointer", "_routePointer$1", 45);
_instance_1_u(_, "get$_startDrag", "_startDrag$1", "_DragAvatar<1>?(Offset)");
_instance_1_u(B._DragAvatar.prototype, "get$_build", "_build$1", 10);
_instance_1_u(_ = B._RecipientComposerWidgetState.prototype, "get$_findSuggestions", "_findSuggestions$1", 12);
_instance_0_u(_, "get$_handleGapBetweenTagChangedAndFindSuggestion", "_handleGapBetweenTagChangedAndFindSuggestion$0", 0);
_instance_2_u(_, "get$_handleFocusTagAction", "_handleFocusTagAction$2", 13);
_instance_1_u(_, "get$_handleDeleteLatestTagAction", "_handleDeleteLatestTagAction$1", 14);
_instance_2_u(_, "get$_handleDeleteTagAction", "_handleDeleteTagAction$2", 15);
_instance_2_u(_, "get$_handleSelectOptionAction", "_handleSelectOptionAction$2", 9);
_instance_2_u(_, "get$_handleSubmitTagAction", "_handleSubmitTagAction$2", 7);
_instance_2_u(_, "get$_handleOnTagChangeAction", "_handleOnTagChangeAction$2", 7);
_instance_2_u(B.MailboxView.prototype, "get$_handleDragItemAccepted", "_handleDragItemAccepted$2", 46);
_instance_0_u(B._MailboxSearchedItemBuilderState.prototype, "get$_mailbox_searched_item_builder$_onTapMailboxAction", "_mailbox_searched_item_builder$_onTapMailboxAction$0", 0);
_instance_0_u(B._ScrollToTopButtonWidgetState.prototype, "get$_scroll_to_top_button_widget$_handleScroll", "_scroll_to_top_button_widget$_handleScroll$0", 0);
_static_1(B, "link_DefaultLinkDelegate_create$closure", "DefaultLinkDelegate_create", 30);
})();
(function inheritance() {
var _mixinHard = hunkHelpers.mixinHard,
_mixin = hunkHelpers.mixin,
_inheritMany = hunkHelpers.inheritMany,
_inherit = hunkHelpers.inherit;
_inheritMany(A.Object, [B.ByteConverter, B.QuickSearchSuggestionsBoxDecoration, B.QuickSearchTextFieldConfiguration, B._SuggestionsBox, B.RichTextBuilder, B.ArabicDateLocale, B.EnglishDateLocale, B.FrenchDateLocale, B.ItalianDateLocale, B.RussianDateLocale, B.VietnameseDateLocale, B.Drag, B.MultiDragPointerState, B.DraggableDetails, B.FocusedMenuItem, B.CircularIntervalList, B._DraggableEmailAddress_Object_EquatableMixin, B.EditorViewMixin, B.FilterEmailPopupMenuMixin, B.TopBarThreadSelection, B.BaseEmailItemTile, B._EmailTileBuilder_Object_BaseEmailItemTile]);
_inheritMany(A._Enum, [B.SizeUnit, B.BorderType, B._DragEndKind, B.CircularStrokeCap]);
_inheritMany(A.StatefulWidget, [B.ScrollingFloatingButtonAnimated, B.TypeAheadFieldQuickSearch, B._SuggestionsList, B.Draggable, B.CircularPercentIndicator, B.RecipientComposerWidget, B.AttachmentComposerWidget, B.DropZoneWidget, B.WebEditorWidget, B.EventAttendeeDetailWidget, B.EmailReceiverWidget, B.MailboxSearchedItemBuilder, B.ScrollToTopButtonWidget]);
_inheritMany(A.State0, [B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin, B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver, B.__SuggestionsListState_State_SingleTickerProviderStateMixin0, B._DraggableState, B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin, B._RecipientComposerWidgetState, B._AttachmentComposerWidgetState, B._DropZoneWidgetState, B._WebEditorState, B._EventAttendeeDetailWidgetState, B._EmailReceiverWidgetState, B._MailboxSearchedItemBuilderState, B._ScrollToTopButtonWidgetState]);
_inherit(B._ScrollingFloatingButtonAnimatedState, B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin);
_inheritMany(A.Closure0Args, [B._ScrollingFloatingButtonAnimatedState_dispose_closure, B._ScrollingFloatingButtonAnimatedState__handleScroll_closure, B._ScrollingFloatingButtonAnimatedState__handleScroll__closure, B._ScrollingFloatingButtonAnimatedState__handleScroll__closure0, B._TypeAheadFieldQuickSearchState_initState_closure, B._TypeAheadFieldQuickSearchState_initState__closure0, B._TypeAheadFieldQuickSearchState_initState__closure, B._TypeAheadFieldQuickSearchState_build__closure, B._SuggestionsListState_closure, B._SuggestionsListState__closure, B._SuggestionsListState__closure0, B._SuggestionsListState__getSuggestions_closure, B._SuggestionsListState__getSuggestions_closure0, B._SuggestionsListState_createSuggestionsWidget__closure0, B._SuggestionsListState_createSuggestionsWidget__closure, B._SuggestionsListState_createRecentWidget__closure0, B._SuggestionsListState_createRecentWidget__closure, B.MultiDragGestureRecognizer__startDrag_closure, B._DraggableState__startDrag_closure, B._DraggableState__startDrag__closure, B._DragAvatar_updateDrag_closure0, B.buildTextSpanChildren_closure, B._CircularPercentIndicatorState__updateProgress_closure, B.HyperLinkWidget_build_closure, B.ComposerView_build__closure4, B.ComposerView_build___closure14, B.ComposerView_build___closure15, B.ComposerView_build___closure16, B.ComposerView_build___closure17, B.ComposerView_build__closure3, B.ComposerView_build___closure12, B.ComposerView_build___closure13, B.ComposerView_build__closure6, B.ComposerView_build__closure7, B.ComposerView_build_closure, B.ComposerView_build___closure20, B.ComposerView_build____closure15, B.ComposerView_build___closure19, B.ComposerView_build____closure11, B.ComposerView_build____closure12, B.ComposerView_build____closure13, B.ComposerView_build____closure14, B.ComposerView_build___closure22, B.ComposerView_build____closure5, B.ComposerView_build____closure7, B.ComposerView_build____closure6, B.ComposerView_build____closure9, B.ComposerView_build____closure10, B.ComposerView_build__closure8, B.ComposerView_build__closure0, B.ComposerView_build___closure9, B.ComposerView_build__closure, B.ComposerView_build___closure5, B.ComposerView_build___closure6, B.ComposerView_build___closure7, B.ComposerView_build___closure8, B.ComposerView_build__closure2, B.ComposerView_build___closure, B.ComposerView_build___closure1, B.ComposerView_build___closure0, B.ComposerView_build___closure3, B.ComposerView_build___closure4, B.ComposerView__createReadReceiptPopupItems_closure, B.ComposerView__createMoreOptionPopupItems_closure, B.ComposerView__createMoreOptionPopupItems_closure0, B.ComposerView__createMoreOptionPopupItems_closure1, B.ComposerView__createMoreOptionPopupItems_closure2, B.AttachmentHeaderComposerWidget_build_closure0, B.AttachmentHeaderComposerWidget_build_closure, B.AttachmentItemComposerWidget_build_closure, B._RecipientComposerWidgetState_build____closure1, B._RecipientComposerWidgetState_build______closure, B._RecipientComposerWidgetState_build____closure0, B._RecipientComposerWidgetState_build____closure, B._RecipientComposerWidgetState_build__closure2, B._RecipientComposerWidgetState_build__closure3, B._RecipientComposerWidgetState_build__closure4, B._RecipientComposerWidgetState__handleFocusTagAction_closure, B._RecipientComposerWidgetState__handleDeleteTagAction_closure, B._RecipientComposerWidgetState__handleSelectOptionAction_closure, B._RecipientComposerWidgetState__handleSubmitTagAction_closure, B._RecipientComposerWidgetState__handleOnTagChangeAction_closure, B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure, B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure0, B._RecipientComposerWidgetState__handleAcceptDraggableEmailAddressAction_closure1, B.RecipientSuggestionItemWidget_build_closure, B.RecipientTagItemWidget_build_closure0, B.RecipientTagItemWidget_build_closure, B.RecipientTagItemWidget_build_closure1, B._AttachmentComposerWidgetState_build__closure, B.DesktopAppBarComposerWidget_build_closure, B.DesktopAppBarComposerWidget_build_closure0, B._DropZoneWidgetState_build__closure0, B._DropZoneWidgetState_build__closure, B.MinimizeComposerWidget_build_closure, B.MinimizeComposerWidget_build_closure0, B._WebEditorState_build_closure, B._WebEditorState_build_closure0, B.EmailView_build_closure0, B.EmailView_build_closure, B.EmailView_build__closure, B.EmailView_build___closure1, B.EmailView_build__closure0, B.EmailView_build__closure1, B.EmailView_build____closure, B.EmailView_build___closure0, B.EmailView__buildEmailMessage_closure, B.EmailView__buildEmailMessage__closure0, B.EmailView__buildEmailMessage__closure3, B.EmailView__buildEmailMessage_closure0, B.EmailView__buildEmailMessage_closure1, B.EmailView__buildEmailMessage___closure, B.EmailView__markAsEmailUnreadPopupItemAction_closure, B.EmailView__markAsEmailSpamOrUnSpamPopupItemAction_closure, B.EmailView__quickCreatingRulePopupItemAction_closure, B.AttachmentItemWidget_build_closure0, B.AttachmentItemWidget_build_closure, B.CalendarEventActionButtonWidget_build__closure, B._EventAttendeeDetailWidgetState_build_closure0, B._EventAttendeeDetailWidgetState_build__closure, B.EmailActionCupertinoActionSheetActionBuilder_build_closure, B.EmailAttachmentsWidget_build_getItemCount, B._EmailReceiverWidgetState_build_closure, B._EmailReceiverWidgetState_build__closure, B._EmailReceiverWidgetState__buildEmailAddressOfReceiver_closure, B._EmailReceiverWidgetState__buildEmailAddressOfReceiver__closure, B._EmailReceiverWidgetState__buildListEmailAddressWidget__closure0, B._EmailReceiverWidgetState__buildListEmailAddressWidget__closure, B.EmailSenderBuilder_build_closure0, B.EmailSenderBuilder_build_closure, B.EmailSenderBuilder_build_closure2, B.EmailSenderBuilder_build_closure1, B.EmailViewAppBarWidget_build__closure, B.EmailViewAppBarWidget_build__closure0, B.EmailViewAppBarWidget_build__closure1, B.EmailViewAppBarWidget_build__closure2, B.EmailViewBottomBarWidget_build_closure, B.EmailViewBottomBarWidget_build_closure0, B.EmailViewBottomBarWidget_build_closure1, B.EmailViewBottomBarWidget_build_closure2, B.MailboxView__buildLogoApp_closure, B.MailboxView__buildListMailbox_closure, B.MailboxView__buildListMailbox_closure0, B.MailboxView__buildListMailbox_closure1, B.MailboxView__buildListMailbox_closure2, B.MailboxView__buildListMailbox_closure3, B.MailboxView__buildListMailbox_closure4, B.MailboxView__buildListMailbox_closure5, B.MailboxView__buildListMailbox_closure6, B.MailboxView__buildListMailbox__closure2, B.MailboxView__buildListMailbox_closure7, B.MailboxView__buildListMailbox__closure0, B.MailboxView__buildListChildTileWidget__closure, B.MailboxView__buildListChildTileWidget__closure0, B.MailboxDashBoardView_build_closure4, B.MailboxDashBoardView_build_closure, B.MailboxDashBoardView_build_closure0, B.MailboxDashBoardView_build_closure1, B.MailboxDashBoardView_build__closure0, B.MailboxDashBoardView_build_closure2, B.MailboxDashBoardView_build__closure, B.MailboxDashBoardView_build_closure3, B.MailboxDashBoardView_build_closure6, B.MailboxDashBoardView_build_closure5, B.MailboxDashBoardView_build_closure7, B.MailboxDashBoardView_build_closure8, B.MailboxDashBoardView__buildThreadViewForWebDesktop_closure, B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure0, B.MailboxDashBoardView__buildRightHeader__closure, B.MailboxDashBoardView__buildRightHeader___closure0, B.MailboxDashBoardView__buildRightHeader___closure1, B.MailboxDashBoardView__buildRightHeader__closure0, B.MailboxDashBoardView__buildRightHeader____closure, B.MailboxDashBoardView__buildRightHeader____closure0, B.MailboxDashBoardView__buildListButtonTopBar_closure, B.MailboxDashBoardView__buildListButtonTopBar_closure0, B.MailboxDashBoardView__buildListButtonTopBar_closure1, B.MailboxDashBoardView__buildMarkAsMailboxReadLoading_closure, B.MailboxDashBoardView__buildDownloadTaskStateWidget_closure, B.MailboxDashBoardView__buildVacationNotificationMessage_closure, B.MailboxDashBoardView__buildVacationNotificationMessage__closure0, B.MailboxDashBoardView__buildVacationNotificationMessage__closure, B.MailboxDashBoardView__buildListButtonQuickSearchFilter_closure, B.MailboxDashBoardView__buildQuickSearchFilterButton_closure, B.MailboxDashBoardView__buildQuickSearchFilterButton__closure, B.MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure, B.MailboxDashBoardView__buildComposerButton_closure, B.FilterEmailPopupMenuMixin__filterEmailAction_closure, B.AdvancedSearchFilterOverlay_build_closure, B.IconOpenAdvancedSearchWidget_build_closure, B.IconOpenAdvancedSearchWidget_build__closure, B.AppGridDashboardItem_build_closure, B.AppDashboardOverlay_build_closure0, B.SearchInputFormWidget_build_closure, B.SearchInputFormWidget_build__closure, B.SearchInputFormWidget__buildShowAllResultButton_closure, B.SearchInputFormWidget__createConfiguration_closure, B.SearchInputFormWidget_buildListButtonForQuickSearchForm_closure, B.TopBarThreadSelection_build_closure, B.TopBarThreadSelection_build_closure0, B.TopBarThreadSelection_build_closure1, B.TopBarThreadSelection_build_closure2, B.TopBarThreadSelection_build_closure3, B.QuotasView_build_closure, B.QuotasBannerWidget_build_closure, B.SearchEmailView_build_closure2, B.SearchEmailView_build_closure0, B.SearchEmailView_build__closure, B.SearchEmailView_build_closure1, B.SearchEmailView__buildSearchInputForm_closure, B.SearchEmailView__buildSearchInputForm_closure1, B.SearchEmailView__buildQuickSearchFilterButton_closure, B.SearchEmailView__buildQuickSearchFilterButton__closure, B.SearchEmailView__buildShowAllResultSearchButton_closure, B.SearchEmailView__buildListRecentSearch__closure, B.SearchEmailView__buildListSuggestionSearch__closure, B.SearchEmailView__buildEmptyEmail_closure, B.SearchEmailView__buildListEmailBody__closure, B.SearchEmailView__buildLoadingView_closure, B.SearchEmailView__buildLoadingViewLoadMore_closure, B.SearchEmailView__buildSearchFilterByMailboxButton_closure, B.SearchEmailView__buildSearchFilterByMailboxButton__closure, B.SearchEmailView__buildSearchFilterByContactButton_closure, B.SearchEmailView__buildSearchFilterByContactButton__closure, B.AppBarSelectionMode_build_closure, B.AppBarSelectionMode_build_closure0, B.AppBarSelectionMode_build_closure1, B.AppBarSelectionMode_build_closure2, B.AppBarSelectionMode_build_closure3, B.EmailReceiveTimeActionTileWidget_build_closure, B.EmailReceiveTimeCupertinoActionSheetActionBuilder_build_closure, B.SearchMailboxView_build_closure, B.SearchMailboxView__buildLoadingView_closure, B.SearchMailboxView__buildSearchInputForm_closure, B.SearchMailboxView__buildSearchInputForm_closure0, B.SearchMailboxView__buildSearchInputForm_closure1, B.SearchMailboxView__buildMailboxListView_closure, B._MailboxSearchedItemBuilderState__buildMailboxItem__closure, B.ThreadView_build_closure5, B.ThreadView_build_closure4, B.ThreadView_build_closure, B.ThreadView_build_closure0, B.ThreadView_build__closure0, B.ThreadView_build_closure1, B.ThreadView_build__closure, B.ThreadView_build_closure2, B.ThreadView_build_closure3, B.ThreadView__buildVacationNotificationMessage_closure, B.ThreadView__buildListButtonSelectionForMobile_closure, B.ThreadView__buildFloatingButtonCompose_closure, B.ThreadView__buildFloatingButtonCompose__closure, B.ThreadView__buildListEmail_closure, B.ThreadView__buildResultListEmail_closure, B.ThreadView__buildResultListEmail_closure0, B.ThreadView__buildListEmailBody__closure, B.ThreadView__buildEmailItemDraggable_closure0, B.ThreadView__buildFeedBackWidget_closure, B.ThreadView__buildEmptyEmail_closure, B.ThreadView__buildMarkAsSpamPopupMenuItem_closure, B.ThreadView__buildOpenInNewTabPopupMenuItem_closure, B.ThreadView__buildMarkAsMailboxReadLoading_closure, B.DefaultWebAppBarThreadWidget_build__closure0, B.SelectionWebAppBarThreadWidget_build_closure, B.SelectionWebAppBarThreadWidget_build_closure0, B.SelectionWebAppBarThreadWidget_build_closure1, B.SelectionWebAppBarThreadWidget_build_closure2, B.SelectionWebAppBarThreadWidget_build_closure3, B.BottomBarThreadSelectionWidget_build_closure, B.BottomBarThreadSelectionWidget_build_closure0, B.BottomBarThreadSelectionWidget_build_closure1, B.BottomBarThreadSelectionWidget_build_closure2, B.BottomBarThreadSelectionWidget_build_closure3, B.EmailTileBuilder__onHoverIconChanged_closure, B.EmailTileBuilder__onHoverItemChanged_closure, B.EmailTileBuilder__buildListTile_closure1, B.EmailTileBuilder__buildListTile_closure0, B.EmailTileBuilder__buildListTile_closure, B.EmailTileBuilder__buildListTileTablet__closure2, B.EmailTileBuilder__buildListTileTablet__closure0, B.EmailTileBuilder__buildListTileForDesktop__closure3, B.EmailTileBuilder__buildListTileForDesktop__closure, B.EmailTileBuilder__buildListTileForDesktop__closure1, B.EmailTileBuilder__buildListActionButtonWhenHover_closure, B.EmailTileBuilder__buildListActionButtonWhenHover_closure0, B.EmailTileBuilder__buildListActionButtonWhenHover_closure1, B.EmailTileBuilder__buildListActionButtonWhenHover_closure2, B.FilterMessageCupertinoActionSheetActionBuilder_build_closure, B._ScrollToTopButtonWidgetState__handleScroll_closure, B._ScrollToTopButtonWidgetState__handleScroll_closure0, B.SpamReportBannerWebWidget_build_closure, B.SpamReportBannerWebWidget_build__closure, B.SpamReportBannerWidget_build_closure, B.SpamReportBannerWidget_build__closure, B.DefaultLinkDelegate_build_closure]);
_inheritMany(A.Closure2Args, [B._ScrollingFloatingButtonAnimatedState_build_closure, B.LinkBrowserWidget_build_closure, B.ComposerView_build_closure0, B.ComposerView_build__closure5, B.ComposerView_build__closure9, B.ComposerView_build___closure21, B.ComposerView_build_closure1, B.ComposerView_build__closure1, B.DesktopResponsiveContainerView_build_closure, B.DesktopResponsiveContainerView_build_closure0, B.MobileResponsiveContainerView_build_closure, B.TabletResponsiveContainerView_build_closure, B._RecipientComposerWidgetState_build_closure, B._RecipientComposerWidgetState_build__closure1, B._RecipientComposerWidgetState_build__closure, B._RecipientComposerWidgetState_build____closure7, B.EmailView_build___closure2, B.EmailView_build___closure3, B.EmailView_build___closure, B.EmailView__buildEmailMessage__closure, B.EmailAttachmentsWidget_build_closure, B.EmailAttachmentsWidget_build_closure0, B.EmailViewAppBarWidget_build_closure, B.InformationSenderAndReceiverBuilder_build_closure, B.MailboxView__buildListChildTileWidget___closure4, B.MailboxView__buildListChildTileWidget___closure0, B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure, B.MailboxDashBoardView__buildRightHeader_closure, B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure0, B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure, B.EmailQuickSearchItemTileWidget_build_closure, B.SearchInputFormWidget_build__closure0, B.SearchInputFormWidget_build__closure2, B.SearchInputFormWidget_build__closure4, B.SearchInputFormWidget_build__closure3, B.QuotasView_build__closure, B.SearchEmailView_build__closure0, B.SearchEmailView__buildListRecentSearch_closure, B.SearchEmailView__buildListSuggestionSearch_closure, B.SearchEmailView__buildListEmailBody_closure0, B.SearchEmailView__buildListEmailBody___closure, B.SearchEmailView__buildListEmailBody___closure0, B.SearchMailboxView__buildMailboxListView__closure, B.SearchMailboxView__buildMailboxListView___closure, B.SearchMailboxView__buildMailboxListView____closure0, B.ThreadView_build__closure3, B.ThreadView_build__closure2, B.ThreadView__buildListButtonSelectionForMobile__closure, B.ThreadView__buildListEmailBody_closure0, B.ThreadView__buildEmailItemDraggable_closure1, B.ThreadView__buildEmailItemNotDraggable_closure, B.ThreadView__buildEmailItemNotDraggable_closure0, B.DefaultWebAppBarThreadWidget_build_closure, B.EmailTileBuilder__buildListTileTablet_closure, B.EmailTileBuilder__buildListTileForDesktop_closure, B.EmailTileBuilder__buildSubjectAndContent_closure, B.ListUploadFileStateExtension_get_totalSize_closure0]);
_inheritMany(A.StatelessWidget, [B.CupertinoLoadingWidget, B.DottedBorder, B.Linkify, B.RichTextWidget, B.CircleLoadingWidget, B.ComposeFloatingButton, B.EmailAvatarBuilder, B.HyperLinkWidget, B.LinkBrowserWidget, B.DesktopResponsiveContainerView, B.MobileResponsiveContainerView, B.TabletResponsiveContainerView, B._WebEditorView_StatelessWidget_EditorViewMixin, B.AttachmentHeaderComposerWidget, B._AttachmentItemComposerWidget_StatelessWidget_AppLoaderMixin, B.AttachmentProgressLoadingComposerWidget, B.DraggableRecipientTagWidget, B.InsertImageLoadingBarWidget, B.RecipientSuggestionItemWidget, B.RecipientTagItemWidget, B.SubjectComposerWidget, B.TitleComposerWidget, B.BottomBarComposerWidget, B.DesktopAppBarComposerWidget, B.MinimizeComposerWidget, B.MobileResponsiveAppBarComposerWidget, B.AttachmentItemWidget, B.AttendeeWidget, B.CalendarDateIconWidget, B.CalendarEventActionBannerWidget, B.CalendarEventActionButtonWidget, B.CalendarEventDetailWidget, B.CalendarEventInformationWidget, B.EventAttendeeInformationWidget, B.EventDescriptionDetailWidget, B.EventLinkDetailWidget, B.EventLocationDetailWidget, B.EventLocationInformationWidget, B.EventTimeWidgetWidget, B.EventTimeInformationWidget, B.EventTitleWidget, B.OrganizerWidget, B.SeeAllAttendeesButtonWidget, B.DraggableAttachmentItemWidget, B.EmailAttachmentsWidget, B.EmailSenderBuilder, B.EmailSubjectWidget, B.EmailViewAppBarWidget, B.EmailViewBackButton, B.EmailViewBottomBarWidget, B.EmailViewEmptyWidget, B.EmailViewLoadingBarWidget, B.FeedbackDraggableAttachmentItemWidget, B.InformationSenderAndReceiverBuilder, B.ReceivedTimeBuilder, B.MailboxLoadingBarWidget, B.AdvancedSearchFilterOverlay, B.IconOpenAdvancedSearchWidget, B.AppGridDashboardItem, B.AppDashboardOverlay, B.DownloadTaskItemWidget, B.EmailQuickSearchItemTileWidget, B.RecentSearchItemTileWidget, B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin, B.QuotasBannerWidget, B.AppBarSelectionMode, B.EmailReceiveTimeActionTileWidget, B.AppBarThreadWidget, B.DefaultWebAppBarThreadWidget, B.SelectionWebAppBarThreadWidget, B.WebAppBarThreadWidget, B.BannerDeleteAllSpamEmailsWidget, B.BannerEmptyTrashWidget, B.BottomBarThreadSelectionWidget, B.EmptyEmailsWidget, B.SpamReportBannerButtonWidget, B.SpamReportBannerLabelWidget, B.SpamReportBannerWebWidget, B.SpamReportBannerWidget, B.ThreadViewBottomLoadingBarWidget, B.ThreadViewLoadingBarWidget, B.Link, B.DefaultLinkDelegate]);
_inherit(B.QuickSearchInputForm, A.FormField);
_inheritMany(A.Closure, [B.QuickSearchInputForm_closure, B.QuickSearchInputForm__closure, B._TypeAheadFieldQuickSearchState_initState_closure0, B._TypeAheadFieldQuickSearchState_initState_closure1, B._TypeAheadFieldQuickSearchState__scrollResizeListener_closure, B._TypeAheadFieldQuickSearchState__initOverlayEntry_closure, B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure, B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure0, B._TypeAheadFieldQuickSearchState_build_closure, B._SuggestionsListState_createSuggestionsWidget_closure, B._SuggestionsListState_createSuggestionsWidget_closure0, B._SuggestionsListState_createRecentWidget_closure, B._SuggestionsListState_createRecentWidget_closure0, B._SuggestionsBox__findRootMediaQuery_closure, B.MultiDragGestureRecognizer_acceptGesture_closure, B._DraggableState__startDrag_closure0, B._DraggableState__startDrag_closure1, B._DragAvatar_updateDrag_closure, B.ListPresentationEmailExtension_get_isAllEmailRead_closure, B.ListPresentationEmailExtension_get_isAllEmailStarred_closure, B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure, B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure0, B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure1, B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure2, B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure, B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure0, B.ListPresentationEmailExtension_isAllSpam_closure, B.ListPresentationEmailExtension_isAllSpam_closure0, B.ListPresentationEmailExtension_isAllBelongToTheSameMailbox_closure, B.ListPresentationEmailExtension_listEmailCanSpam_closure, B.ComposerView_build___closure18, B.ComposerView_build____closure4, B.ComposerView_build____closure3, B.ComposerView_build___closure10, B.ComposerView_build___closure11, B.ComposerView_build_____closure2, B.ComposerView_build_____closure1, B.ComposerView_build_____closure, B.ComposerView_build_____closure0, B.ComposerView_build____closure8, B.ComposerView_build____closure2, B.ComposerView_build____closure1, B.ComposerView_build____closure, B.ComposerView_build____closure0, B.ComposerView_build___closure2, B.WebEditorView_build_closure, B.WebEditorView_build_closure0, B.WebEditorView_build_closure1, B.WebEditorView_build_closure2, B.InsertImageLoadingBarWidget_build_closure, B.InsertImageLoadingBarWidget_build__closure1, B.InsertImageLoadingBarWidget_build__closure2, B.InsertImageLoadingBarWidget_build_closure0, B.InsertImageLoadingBarWidget_build__closure, B.InsertImageLoadingBarWidget_build__closure0, B._RecipientComposerWidgetState_build__closure0, B._RecipientComposerWidgetState_build___closure, B._RecipientComposerWidgetState_build____closure2, B._RecipientComposerWidgetState_build____closure3, B._RecipientComposerWidgetState_build____closure4, B._RecipientComposerWidgetState_build_____closure, B._RecipientComposerWidgetState_build____closure5, B._RecipientComposerWidgetState_build____closure6, B._RecipientComposerWidgetState_build_____closure0, B._RecipientComposerWidgetState_build___closure0, B._RecipientComposerWidgetState_build___closure1, B._RecipientComposerWidgetState_build___closure2, B._RecipientComposerWidgetState__findSuggestions_closure, B._RecipientComposerWidgetState__isDuplicatedRecipient_closure, B._RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure, B._RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure0, B._AttachmentComposerWidgetState_build_closure, B._AttachmentComposerWidgetState_build_closure0, B._DropZoneWidgetState_build_closure, B._DropZoneWidgetState_build_closure0, B._DropZoneWidgetState_build_closure1, B.EmailView__buildEmailMessage__closure1, B.EmailView__buildEmailMessage__closure2, B.EmailView__markAsEmailUnreadAction_closure, B.EmailView__markAsEmailSpamOrUnSpamAction_closure, B.EmailView__quickCreatingRuleAction_closure, B.CalendarEventExtension_findAttendeeHasUpdatedStatus_closure, B.CalendarEventExtension_get_videoConferences_closure, B.CalendarEventExtension_get_videoConferences_closure0, B.ListAttendeeExtension_get_mailtoAsString_closure, B.ListAttendeeExtension_withoutOrganizer_closure, B.CalendarEventActionButtonWidget_build_closure, B._EventAttendeeDetailWidgetState_build_closure, B.EventDescriptionDetailWidget_build_closure, B.EventLinkDetailWidget_build_closure, B.EventLocationDetailWidget_build_closure, B.EventLocationInformationWidget_build_closure, B._EmailReceiverWidgetState__buildListEmailAddressWidget_closure, B.EmailViewAppBarWidget_build__closure3, B.EmailViewLoadingBarWidget_build_closure, B.EmailViewLoadingBarWidget_build_closure0, B.MailboxView__buildListMailbox__closure1, B.MailboxView__buildListMailbox__closure, B.MailboxView__buildListChildTileWidget_closure, B.MailboxView__buildListChildTileWidget___closure5, B.MailboxView__buildListChildTileWidget___closure3, B.MailboxView__buildListChildTileWidget___closure2, B.MailboxView__buildListChildTileWidget___closure1, B.MailboxView__buildListChildTileWidget___closure, B.MailboxLoadingBarWidget_build_closure, B.MailboxLoadingBarWidget_build_closure0, B.MailboxDashBoardView__buildRightHeader___closure, B.MailboxDashBoardView__buildListButtonTopBar__closure0, B.MailboxDashBoardView__buildListButtonTopBar__closure1, B.MailboxDashBoardView__buildListButtonTopBar__closure, B.MailboxDashBoardView__buildListButtonTopBar___closure, B.MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure, B.MailboxDashBoardView__buildMarkAsMailboxReadLoading__closure0, B.MailboxDashBoardView__buildListButtonQuickSearchFilter__closure, B.MailboxDashBoardView__buildQuickSearchFilterButton__closure0, B.MailboxDashBoardView__buildQuickSearchFilterButton___closure, B.MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure, B.AppDashboardOverlay_build_closure, B.SearchInputFormWidget_build__closure1, B.SearchInputFormWidget_build__closure5, B.SearchInputFormWidget_build__closure6, B.SearchInputFormWidget_build__closure7, B.SearchInputFormWidget__createConfiguration_closure0, B.SearchEmailView_build_closure, B.SearchEmailView__buildSearchInputForm_closure0, B.SearchEmailView__buildListSearchFilterAction_closure, B.SearchEmailView__buildQuickSearchFilterButton___closure0, B.SearchEmailView__buildQuickSearchFilterButton__closure0, B.SearchEmailView__buildQuickSearchFilterButton___closure, B.SearchEmailView__popupMenuEmailReceiveTimeType_closure, B.SearchEmailView__emailReceiveTimeCupertinoActionTile_closure, B.SearchEmailView__emailReceiveTimeCupertinoActionTile__closure, B.SearchEmailView__buildEmptyEmail__closure, B.SearchEmailView__buildEmptyEmail__closure0, B.SearchEmailView__buildListEmailBody_closure, B.SearchEmailView__buildLoadingView__closure, B.SearchEmailView__buildLoadingView__closure0, B.SearchEmailView__markAsEmailSpamOrUnSpamAction_closure, B.SearchEmailView__buildLoadingViewLoadMore__closure, B.SearchEmailView__buildLoadingViewLoadMore__closure0, B.SearchMailboxView__buildLoadingView__closure, B.SearchMailboxView__buildLoadingView__closure0, B.SearchMailboxView__buildTextFieldSearchInput_closure, B.SearchMailboxView__buildMailboxListView____closure, B.SearchMailboxView__listPopupMenuItemAction_closure, B._MailboxSearchedItemBuilderState_build_closure, B._MailboxSearchedItemBuilderState_build_closure0, B._MailboxSearchedItemBuilderState__buildMailboxItem_closure, B._MailboxSearchedItemBuilderState__buildMenuIcon_closure, B.ThreadView_build__closure1, B.ThreadView_build___closure, B.ThreadView__filterMessagesCupertinoActionTile_closure, B.ThreadView__filterMessagesCupertinoActionTile__closure, B.ThreadView__buildListEmailBody_closure, B.ThreadView__buildEmailItemDraggable_closure2, B.ThreadView__buildEmailItemDraggable_closure3, B.ThreadView__buildEmailItemDraggable_closure, B.ThreadView__buildEmailItemNotDraggable_closure1, B.ThreadView__buildEmptyEmail__closure, B.ThreadView__buildEmptyEmail__closure0, B.ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure, B.ThreadView__openInNewTabContextMenuItemAction_closure, B.ThreadView__buildMarkAsMailboxReadLoading__closure, B.ThreadView__buildMarkAsMailboxReadLoading__closure0, B.DefaultWebAppBarThreadWidget_build__closure, B.EmailTileBuilder__buildListTileTablet__closure1, B.EmailTileBuilder__buildListTileTablet__closure, B.EmailTileBuilder__buildListTileForDesktop__closure2, B.EmailTileBuilder__buildListTileForDesktop__closure0, B.EmailTileBuilder__buildListActionButtonWhenHover_closure3, B.ThreadViewBottomLoadingBarWidget_build_closure, B.ThreadViewBottomLoadingBarWidget_build_closure0, B.ThreadViewLoadingBarWidget_build_closure, B.ThreadViewLoadingBarWidget_build_closure0, B.ListUploadFileStateExtension_get_totalSize_closure]);
_inherit(B._TypeAheadFormFieldState, A.FormFieldState);
_inherit(B._TypeAheadFieldQuickSearchState, B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver);
_inherit(B._SuggestionsListState, B.__SuggestionsListState_State_SingleTickerProviderStateMixin0);
_inheritMany(A.CustomPainter, [B.DashedPainter, B._CirclePainter]);
_inherit(B.MultiDragGestureRecognizer, A.GestureRecognizer);
_inheritMany(B.MultiDragPointerState, [B._ImmediatePointerState, B._HorizontalPointerState, B._VerticalPointerState]);
_inheritMany(B.MultiDragGestureRecognizer, [B.ImmediateMultiDragGestureRecognizer, B.HorizontalMultiDragGestureRecognizer, B.VerticalMultiDragGestureRecognizer]);
_inherit(B._DragAvatar, B.Drag);
_inherit(B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin, B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin);
_inherit(B._CircularPercentIndicatorState, B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin);
_inheritMany(A.GetWidget, [B.ComposerView, B.EmailView, B._BaseMailboxView_GetWidget_AppLoaderMixin, B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin, B.QuotasView, B._SearchEmailView_GetWidget_AppLoaderMixin, B._SearchMailboxView_GetWidget_AppLoaderMixin, B._ThreadView_GetWidget_AppLoaderMixin]);
_inherit(B.DraggableEmailAddress, B._DraggableEmailAddress_Object_EquatableMixin);
_inherit(B.WebEditorView, B._WebEditorView_StatelessWidget_EditorViewMixin);
_inherit(B.AttachmentItemComposerWidget, B._AttachmentItemComposerWidget_StatelessWidget_AppLoaderMixin);
_inheritMany(A.CupertinoActionSheetActionBuilder, [B.EmailActionCupertinoActionSheetActionBuilder, B.FilterMessageCupertinoActionSheetActionBuilder]);
_inherit(B._BaseMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin, B._BaseMailboxView_GetWidget_AppLoaderMixin);
_inherit(B.BaseMailboxView, B._BaseMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin);
_inherit(B.MailboxView, B.BaseMailboxView);
_inheritMany(A.DashBoardAction, [B.FilterMessageAction, B.HandleEmailActionTypeAction, B.OpenEmailDetailedFromSuggestionQuickSearchAction]);
_inherit(B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin, B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin);
_inherit(B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin_AppLoaderMixin, B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin);
_inherit(B.BaseMailboxDashBoardView, B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin_AppLoaderMixin);
_inherit(B.MailboxDashBoardView, B.BaseMailboxDashBoardView);
_inherit(B.SearchInputFormWidget, B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin);
_inherit(B.SearchEmailView, B._SearchEmailView_GetWidget_AppLoaderMixin);
_inherit(B.EmailReceiveTimeCupertinoActionSheetActionBuilder, A.CupertinoActionSheetNoIconBuilder);
_inherit(B._SearchMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin, B._SearchMailboxView_GetWidget_AppLoaderMixin);
_inherit(B.SearchMailboxView, B._SearchMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin);
_inherit(B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin, B._ThreadView_GetWidget_AppLoaderMixin);
_inherit(B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin_PopupMenuWidgetMixin, B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin);
_inherit(B.ThreadView, B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin_PopupMenuWidgetMixin);
_inherit(B.EmailTileBuilder, B._EmailTileBuilder_Object_BaseEmailItemTile);
_mixinHard(B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin, A.SingleTickerProviderStateMixin);
_mixinHard(B.__SuggestionsListState_State_SingleTickerProviderStateMixin0, A.SingleTickerProviderStateMixin);
_mixin(B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver, A.WidgetsBindingObserver);
_mixinHard(B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin, A.SingleTickerProviderStateMixin);
_mixinHard(B.__CircularPercentIndicatorState_State_SingleTickerProviderStateMixin_AutomaticKeepAliveClientMixin, A.AutomaticKeepAliveClientMixin);
_mixin(B._DraggableEmailAddress_Object_EquatableMixin, A.EquatableMixin);
_mixin(B._WebEditorView_StatelessWidget_EditorViewMixin, B.EditorViewMixin);
_mixin(B._AttachmentItemComposerWidget_StatelessWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._BaseMailboxView_GetWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._BaseMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin, A.MailboxWidgetMixin);
_mixin(B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin, F.UserSettingPopupMenuMixin);
_mixin(B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin, B.FilterEmailPopupMenuMixin);
_mixin(B._BaseMailboxDashBoardView_GetWidget_UserSettingPopupMenuMixin_FilterEmailPopupMenuMixin_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._SearchEmailView_GetWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._SearchMailboxView_GetWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._SearchMailboxView_GetWidget_AppLoaderMixin_MailboxWidgetMixin, A.MailboxWidgetMixin);
_mixin(B._ThreadView_GetWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin, B.FilterEmailPopupMenuMixin);
_mixin(B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin_PopupMenuWidgetMixin, F.PopupMenuWidgetMixin);
_mixin(B._EmailTileBuilder_Object_BaseEmailItemTile, B.BaseEmailItemTile);
})();
A._Universe_addRules(init.typeUniverse, JSON.parse('{"SizeUnit":{"Enum":[]},"ScrollingFloatingButtonAnimated":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_ScrollingFloatingButtonAnimatedState":{"State0":["ScrollingFloatingButtonAnimated"]},"CupertinoLoadingWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"TypeAheadFieldQuickSearch":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_SuggestionsList":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"QuickSearchInputForm":{"FormField":["String"],"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[],"FormField.T":"String"},"_TypeAheadFormFieldState":{"FormFieldState":["String"],"State0":["FormField<String>"]},"_TypeAheadFieldQuickSearchState":{"State0":["TypeAheadFieldQuickSearch<1,2>"],"WidgetsBindingObserver":[]},"_SuggestionsListState":{"State0":["_SuggestionsList<1,2>"]},"DashedPainter":{"Listenable":[]},"DottedBorder":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BorderType":{"Enum":[]},"MultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"_ImmediatePointerState":{"MultiDragPointerState":[]},"ImmediateMultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"_HorizontalPointerState":{"MultiDragPointerState":[]},"HorizontalMultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"_VerticalPointerState":{"MultiDragPointerState":[]},"VerticalMultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"Draggable":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_DraggableState":{"State0":["Draggable<1>"]},"_DragEndKind":{"Enum":[]},"Linkify":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"CircularPercentIndicator":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"CircularStrokeCap":{"Enum":[]},"_CircularPercentIndicatorState":{"State0":["CircularPercentIndicator"]},"_CirclePainter":{"Listenable":[]},"RichTextWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"CircleLoadingWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ComposeFloatingButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailAvatarBuilder":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"HyperLinkWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"LinkBrowserWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ComposerView":{"GetWidget":["ComposerController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"ComposerController"},"DraggableEmailAddress":{"EquatableMixin":[]},"DesktopResponsiveContainerView":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"MobileResponsiveContainerView":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"TabletResponsiveContainerView":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"WebEditorView":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AttachmentHeaderComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AttachmentItemComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AttachmentProgressLoadingComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DraggableRecipientTagWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"InsertImageLoadingBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"RecipientComposerWidget":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_RecipientComposerWidgetState":{"State0":["RecipientComposerWidget"]},"RecipientSuggestionItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"RecipientTagItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SubjectComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"TitleComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AttachmentComposerWidget":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_AttachmentComposerWidgetState":{"State0":["AttachmentComposerWidget"]},"BottomBarComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DesktopAppBarComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DropZoneWidget":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_DropZoneWidgetState":{"State0":["DropZoneWidget"]},"MinimizeComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"MobileResponsiveAppBarComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"WebEditorWidget":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_WebEditorState":{"State0":["WebEditorWidget"]},"EmailView":{"GetWidget":["SingleEmailController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"SingleEmailController"},"AttachmentItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AttendeeWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"CalendarDateIconWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"CalendarEventActionBannerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"CalendarEventActionButtonWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"CalendarEventDetailWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"CalendarEventInformationWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventAttendeeDetailWidget":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_EventAttendeeDetailWidgetState":{"State0":["EventAttendeeDetailWidget"]},"EventAttendeeInformationWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventDescriptionDetailWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventLinkDetailWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventLocationDetailWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventLocationInformationWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventTimeWidgetWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventTimeInformationWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventTitleWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"OrganizerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SeeAllAttendeesButtonWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DraggableAttachmentItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailAttachmentsWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailReceiverWidget":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_EmailReceiverWidgetState":{"State0":["EmailReceiverWidget"]},"EmailSenderBuilder":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailSubjectWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailViewAppBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailViewBackButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailViewBottomBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailViewEmptyWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailViewLoadingBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"FeedbackDraggableAttachmentItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"InformationSenderAndReceiverBuilder":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ReceivedTimeBuilder":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BaseMailboxView":{"GetWidget":["MailboxController"],"Widget":[],"DiagnosticableTree":[]},"MailboxView":{"GetWidget":["MailboxController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"MailboxController"},"MailboxLoadingBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"FilterMessageAction":{"UIAction":[],"EquatableMixin":[]},"HandleEmailActionTypeAction":{"UIAction":[],"EquatableMixin":[]},"OpenEmailDetailedFromSuggestionQuickSearchAction":{"UIAction":[],"EquatableMixin":[]},"BaseMailboxDashBoardView":{"GetWidget":["MailboxDashBoardController"],"Widget":[],"DiagnosticableTree":[]},"MailboxDashBoardView":{"GetWidget":["MailboxDashBoardController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"MailboxDashBoardController"},"AdvancedSearchFilterOverlay":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"IconOpenAdvancedSearchWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AppGridDashboardItem":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AppDashboardOverlay":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DownloadTaskItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailQuickSearchItemTileWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"RecentSearchItemTileWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SearchInputFormWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"QuotasView":{"GetWidget":["QuotasController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"QuotasController"},"QuotasBannerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SearchEmailView":{"GetWidget":["SearchEmailController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"SearchEmailController"},"AppBarSelectionMode":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailReceiveTimeActionTileWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SearchMailboxView":{"GetWidget":["SearchMailboxController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"SearchMailboxController"},"MailboxSearchedItemBuilder":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_MailboxSearchedItemBuilderState":{"State0":["MailboxSearchedItemBuilder"]},"ThreadView":{"GetWidget":["ThreadController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"ThreadController"},"AppBarThreadWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DefaultWebAppBarThreadWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SelectionWebAppBarThreadWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"WebAppBarThreadWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BannerDeleteAllSpamEmailsWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BannerEmptyTrashWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BottomBarThreadSelectionWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmptyEmailsWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ScrollToTopButtonWidget":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_ScrollToTopButtonWidgetState":{"State0":["ScrollToTopButtonWidget"]},"SpamReportBannerButtonWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SpamReportBannerLabelWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SpamReportBannerWebWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SpamReportBannerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ThreadViewBottomLoadingBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ThreadViewLoadingBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DefaultLinkDelegate":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"Link":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[],"LinkInfo":[]}}'));
A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"__SuggestionsListState_State_SingleTickerProviderStateMixin0":2,"__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver":2}'));
var string$ = {
Mailbo: "MailboxDashBoardController::dispatchAction(): ",
______: '^(([^<>()[\\]\\\\.,;:\\s@\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\"]+)*)|(\\".+\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$',
assets: "assets/images/ic_chevron_down_outline.svg"
};
var type$ = (function rtii() {
var findType = A.findType;
return {
AdvancedFilterController: findType("AdvancedFilterController"),
AppLocalizations: findType("AppLocalizations"),
Attachment: findType("Attachment"),
CalendarAttendee: findType("CalendarAttendee"),
CircularIntervalList_double: findType("CircularIntervalList<double>"),
Comparator: findType("Comparator0"),
DraggableEmailAddress: findType("DraggableEmailAddress"),
EmailAddress: findType("EmailAddress"),
ImagePaths: findType("ImagePaths"),
JSArray_BoxShadow: findType("JSArray<BoxShadow>"),
JSArray_FilterMessageOption: findType("JSArray<FilterMessageOption>"),
JSArray_InlineSpan: findType("JSArray<InlineSpan>"),
JSArray_Object: findType("JSArray<Object>"),
JSArray_PopupMenuEntry_dynamic: findType("JSArray<PopupMenuEntry<@>>"),
JSArray_QuickSearchFilter: findType("JSArray<QuickSearchFilter>"),
JSArray_ScrollPosition: findType("JSArray<ScrollPosition>"),
JSArray_String: findType("JSArray<String>"),
JSArray_SuggestionEmailAddress: findType("JSArray<SuggestionEmailAddress>"),
JSArray_TextSpan: findType("JSArray<TextSpan>"),
JSArray_Widget: findType("JSArray<Widget>"),
JSArray__DragTargetState_Object: findType("JSArray<_DragTargetState<Object>>"),
List_PresentationEmail: findType("List<PresentationEmail>"),
List_SuggestionEmailAddress: findType("List<SuggestionEmailAddress>"),
MailboxDashBoardController: findType("MailboxDashBoardController"),
MappedListIterable_EmailReceiveTimeType_Widget: findType("MappedListIterable<EmailReceiveTimeType,Widget>"),
MappedListIterable_FilterMessageOption_Widget: findType("MappedListIterable<FilterMessageOption,Widget>"),
MappedListIterable_QuickSearchFilter_Widget: findType("MappedListIterable<QuickSearchFilter,Widget>"),
MappedListIterable_of_EmailReceiveTimeType_and_PopupMenuItem_dynamic: findType("MappedListIterable<EmailReceiveTimeType,PopupMenuItem<@>>"),
MediaQuery: findType("MediaQuery"),
MultiDragPointerState: findType("MultiDragPointerState"),
NotificationListener_ScrollNotification: findType("NotificationListener<ScrollNotification>"),
OverlayState: findType("OverlayState"),
PageStorageKey_String: findType("PageStorageKey<String>"),
PointerCancelEvent: findType("PointerCancelEvent"),
PointerDeviceKind: findType("PointerDeviceKind"),
PointerMoveEvent: findType("PointerMoveEvent"),
PointerUpEvent: findType("PointerUpEvent"),
PresentationEmail: findType("PresentationEmail"),
QuickSearchInputForm_dynamic_dynamic: findType("QuickSearchInputForm<@,@>"),
QuotasController: findType("QuotasController"),
RecentSearch: findType("RecentSearch"),
RenderBox: findType("RenderBox"),
ResponsiveUtils: findType("ResponsiveUtils0"),
RestorableProperty_nullable_Object: findType("RestorableProperty<Object?>"),
SearchController: findType("SearchController"),
Some_SearchQuery: findType("Some<SearchQuery>"),
SpamReportController: findType("SpamReportController"),
String: findType("String"),
SuggestionEmailAddress: findType("SuggestionEmailAddress"),
Tween_double: findType("Tween<double>"),
TypeAheadFieldQuickSearch_dynamic_dynamic: findType("TypeAheadFieldQuickSearch<@,@>"),
UTCDate: findType("UTCDate"),
ValueKey_String: findType("ValueKey<String>"),
ValueKey_nullable_EmailId: findType("ValueKey<EmailId?>"),
WhereTypeIterable_PresentationEmail: findType("WhereTypeIterable<PresentationEmail>"),
WhereTypeIterable_PresentationMailbox: findType("WhereTypeIterable<PresentationMailbox>"),
Widget: findType("Widget"),
_LocalizationsScope: findType("_LocalizationsScope"),
_TypeAheadFormFieldState_dynamic_dynamic: findType("_TypeAheadFormFieldState<@,@>"),
bool: findType("bool"),
dynamic: findType("@"),
int: findType("int"),
nullable_Object: findType("Object?"),
nullable_PresentationEmail: findType("PresentationEmail?"),
nullable_PresentationMailbox: findType("PresentationMailbox?"),
nullable_RenderBox: findType("RenderBox?"),
nullable__PointAtTime: findType("_PointAtTime?"),
void: findType("~"),
void_Function: findType("~()")
};
})();
(function constants() {
var makeConstList = hunkHelpers.makeConstList;
D.AdvancedSearchFilterOverlay_null = new B.AdvancedSearchFilterOverlay(null);
D.AlignmentDirectional_0_0 = new A.AlignmentDirectional(0, 0);
D.AlignmentDirectional_1_1 = new A.AlignmentDirectional(1, 1);
D.BorderRadius_tLn15 = new A.BorderRadius(C.Radius_0_0, C.Radius_0_0, C.Radius_16_16, C.Radius_16_16);
D.BorderSide_7Lk = new A.BorderSide(E.Color_4294914887, 1, C.BorderStyle_1, -1);
D.BorderType_1 = new B.BorderType(1, "RRect");
D.Border_ALf = new A.Border(C.BorderSide_tAf, C.BorderSide_8xm, C.BorderSide_8xm, C.BorderSide_8xm);
D.Border_ifC = new A.Border(C.BorderSide_8xm, C.BorderSide_8xm, E.BorderSide_tAf3, C.BorderSide_8xm);
D.BouncingScrollPhysics_ScrollDecelerationRate_0_null = new A.BouncingScrollPhysics(C.ScrollDecelerationRate_0, null);
D.BoxConstraints_0_30_0_30 = new A.BoxConstraints(0, 30, 0, 30);
D.BoxConstraints_CWG = new A.BoxConstraints(0, 1 / 0, 0, 150);
D.BoxConstraints_EcO1 = new A.BoxConstraints(0, 100, 0, 1 / 0);
D.BoxConstraints_EcO0 = new A.BoxConstraints(0, 250, 0, 1 / 0);
D.BoxConstraints_EcO3 = new A.BoxConstraints(0, 300, 0, 1 / 0);
D.BoxConstraints_ah9 = new A.BoxConstraints(0, 490, 0, 1 / 0);
D.BorderSide_tAf2 = new A.BorderSide(C.Color_520093696, 0, C.BorderStyle_1, -1);
D.Border_ryH = new A.Border(E.BorderSide_tAf3, D.BorderSide_tAf2, D.BorderSide_tAf2, D.BorderSide_tAf2);
D.BorderRadius_tLn24 = new A.BorderRadius(C.Radius_0_0, C.Radius_0_0, C.Radius_20_20, C.Radius_20_20);
D.BoxDecoration_C1r = new A.BoxDecoration(C.Color_4294967295, null, D.Border_ryH, D.BorderRadius_tLn24, null, null, null, C.BoxShape_0);
D.Border_ryH0 = new A.Border(D.BorderSide_tAf2, D.BorderSide_tAf2, E.BorderSide_tAf3, D.BorderSide_tAf2);
D.BoxDecoration_C1r0 = new A.BoxDecoration(C.Color_4294967295, null, D.Border_ryH0, C.BorderRadius_tLn18, null, null, null, C.BoxShape_0);
D.Border_ALf0 = new A.Border(E.BorderSide_tAf3, C.BorderSide_8xm, C.BorderSide_8xm, C.BorderSide_8xm);
D.BoxDecoration_CG2 = new A.BoxDecoration(null, null, D.Border_ALf0, null, null, null, null, C.BoxShape_0);
D.BoxShadow_oyn28 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_520093696, C.Offset_0_0, 32);
D.BoxShadow_oyn29 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_520093696, C.Offset_0_0, 4);
D.List_021 = A._setArrayType(makeConstList([D.BoxShadow_oyn28, D.BoxShadow_oyn29]), type$.JSArray_BoxShadow);
D.BoxDecoration_G3F4 = new A.BoxDecoration(C.Color_4294967295, null, null, C.BorderRadius_tLn3, D.List_021, null, null, C.BoxShape_0);
D.Color_2162090727 = new A.Color(2162090727);
D.BoxDecoration_O1S = new A.BoxDecoration(D.Color_2162090727, null, null, C.BorderRadius_tLn19, null, null, null, C.BoxShape_0);
D.BoxDecoration_OT90 = new A.BoxDecoration(C.Color_4294967295, null, null, null, null, null, null, C.BoxShape_0);
D.BoxShadow_oyn30 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_335544320, C.Offset_0_0, 24);
D.List_022 = A._setArrayType(makeConstList([D.BoxShadow_oyn30, C.BoxShadow_oyn0]), type$.JSArray_BoxShadow);
D.BoxDecoration_OT9 = new A.BoxDecoration(C.Color_4294967295, null, null, null, D.List_022, null, null, C.BoxShape_0);
D.BoxDecoration_YiR = new A.BoxDecoration(C.Color_4293651952, null, null, C.BorderRadius_tLn7, null, null, null, C.BoxShape_0);
D.BorderSide_86y = new A.BorderSide(C.Color_4294243572, 1, C.BorderStyle_1, -1);
D.Border_ijl = new A.Border(C.BorderSide_8xm, C.BorderSide_8xm, D.BorderSide_86y, C.BorderSide_8xm);
D.BoxDecoration_rfJ = new A.BoxDecoration(null, null, D.Border_ijl, null, null, null, null, C.BoxShape_0);
D.BoxDecoration_rtb = new A.BoxDecoration(C.Color_83886080, null, null, C.BorderRadius_tLn4, null, null, null, C.BoxShape_0);
D.BoxDecoration_sQ5 = new A.BoxDecoration(C.Color_4278221567, null, null, C.BorderRadius_tLn2, null, null, null, C.BoxShape_0);
D.BoxDecoration_xid = new A.BoxDecoration(C.Color_4294967295, null, D.Border_ijl, null, null, null, null, C.BoxShape_0);
D.List_4iI = A._setArrayType(makeConstList(["\u064a\u0646\u0627\u064a\u0631", "\u0641\u0628\u0631\u0627\u064a\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064a\u0644", "\u0645\u0627\u064a\u0648", "\u064a\u0648\u0646\u064a\u0648", "\u064a\u0648\u0644\u064a\u0648", "\u0623\u063a\u0633\u0637\u0633", "\u0633\u0628\u062a\u0645\u0628\u0631", "\u0623\u0643\u062a\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062f\u064a\u0633\u0645\u0628\u0631", "s"]), type$.JSArray_String);
D.C_ArabicDateLocale = new B.ArabicDateLocale();
D.List_AWo = A._setArrayType(makeConstList(["Mon", "Tue", "Wed", "Thur", "Fri", "Sat", "Sun"]), type$.JSArray_String);
D.C_EnglishDateLocale = new B.EnglishDateLocale();
D.List_IoR0 = A._setArrayType(makeConstList(["Janv.", "F\xe9vr", "Mars", "Avr.", "Mai", "Juin", "Juill.", "Ao\xfbt", "Sep.", "Oct.", "Nov.", "D\xe9c."]), type$.JSArray_String);
D.List_c8d = A._setArrayType(makeConstList(["Janvier", "F\xe9vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao\xfbt", "Septembre", "Octobre", "Novembre", "D\xe9cembre"]), type$.JSArray_String);
D.List_Rif = A._setArrayType(makeConstList(["Lu", "Ma", "Me", "Je", "Ve", "Sa", "Di"]), type$.JSArray_String);
D.List_k4X = A._setArrayType(makeConstList(["Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"]), type$.JSArray_String);
D.C_FrenchDateLocale = new B.FrenchDateLocale();
D.List_EkO = A._setArrayType(makeConstList(["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"]), type$.JSArray_String);
D.List_2b9 = A._setArrayType(makeConstList(["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"]), type$.JSArray_String);
D.List_laQ = A._setArrayType(makeConstList(["Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"]), type$.JSArray_String);
D.List_cLp = A._setArrayType(makeConstList(["Luned\xec", "Marted\xec", "Mercoled\xec", "Gioved\xec", "Venerd\xec", "Sabato", "Domenica"]), type$.JSArray_String);
D.C_ItalianDateLocale = new B.ItalianDateLocale();
D.List_43h1 = A._setArrayType(makeConstList(["\u042f\u043d\u0432.", "\u0424\u0435\u0432\u0440.", "\u041c\u0430\u0440\u0442", "\u0410\u043f\u0440.", "\u041c\u0430\u0439", "\u0418\u044e\u043d\u044c", "\u0418\u044e\u043b\u044c", "\u0410\u0432\u0433.", "\u0421\u0435\u043d\u0442.", "\u041e\u043a\u0442.", "\u041d\u043e\u044f\u0431.", "\u0414\u0435\u043a."]), type$.JSArray_String);
D.List_5sq = A._setArrayType(makeConstList(["\u041f\u043d", "\u0412\u0442", "\u0421\u0440", "\u0427\u0442", "\u041f\u0442", "\u0421\u0431", "\u0412\u0441"]), type$.JSArray_String);
D.List_Ecu0 = A._setArrayType(makeConstList(["\u041f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a", "\u0412\u0442\u043e\u0440\u043d\u0438\u043a", "\u0421\u0440\u0435\u0434\u0430", "\u0427\u0435\u0442\u0432\u0435\u0440\u0433", "\u041f\u044f\u0442\u043d\u0438\u0446\u0430", "\u0421\u0443\u0431\u0431\u043e\u0442\u0430", "\u0412\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435"]), type$.JSArray_String);
D.C_RussianDateLocale = new B.RussianDateLocale();
D.List_zyu = A._setArrayType(makeConstList(["Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12"]), type$.JSArray_String);
D.List_evx = A._setArrayType(makeConstList(["Th\xe1ng m\u1ed9t", "Th\xe1ng hai", "Th\xe1ng ba", "Th\xe1ng t\u01b0", "Th\xe1ng n\u0103m", "Th\xe1ng s\xe1u", "Th\xe1ng b\u1ea3y", "Th\xe1ng t\xe1m", "Th\xe1ng ch\xedn", "Th\xe1ng m\u01b0\u1eddi", "Th\xe1ng m\u01b0\u1eddi m\u1ed9t", "Th\xe1ng m\u01b0\u1eddi hai"]), type$.JSArray_String);
D.List_xw83 = A._setArrayType(makeConstList(["T2", "T3", "T4", "T5", "T6", "T7", "CN"]), type$.JSArray_String);
D.List_gnE0 = A._setArrayType(makeConstList(["Th\u1ee9 hai", "Th\u1ee9 ba", "Th\u1ee9 t\u01b0", "Th\u1ee9 n\u0103m", "Th\u1ee9 s\xe1u", "Th\u1ee9 b\u1ea3y", "Ch\u1ee7 nh\u1eadt"]), type$.JSArray_String);
D.C_VietnameseDateLocale = new B.VietnameseDateLocale();
D.CircularProgressIndicator_Esr0 = new A.CircularProgressIndicator(2, null, null, C.Color_4278221567, null, null, null, null);
D.CircularProgressIndicator_Esr = new A.CircularProgressIndicator(3, null, null, C.Color_4278221567, null, null, null, null);
D.CircularStrokeCap_0 = new B.CircularStrokeCap(0, "butt");
D.Color_1023441663 = new A.Color(1023441663);
D.Color_342718597 = new A.Color(342718597);
D.Color_4281611320 = new A.Color(4281611320);
D.Color_4282819327 = new A.Color(4282819327);
D.Color_4284640634 = new A.Color(4284640634);
D.Color_4287405231 = new A.Color(4287405231);
D.Color_4289638080 = new A.Color(4289638080);
D.Color_4290764543 = new A.Color(4290764543);
D.Color_4292763230 = new A.Color(4292763230);
D.Color_4293128703 = new A.Color(4293128703);
D.Color_4293322239 = new A.Color(4293322239);
D.Color_4293942340 = new A.Color(4293942340);
D.Color_4294177783 = new A.Color(4294177783);
D.CupertinoLoadingWidget_MQy = new B.CupertinoLoadingWidget(null, C.EdgeInsets_16_16_16_16, null);
D.CupertinoLoadingWidget_null_null_null = new B.CupertinoLoadingWidget(null, null, null);
D.Duration_86400000000 = new A.Duration(864e8);
D.EdgeInsetsDirectional_0_0_0_0 = new A.EdgeInsetsDirectional(0, 0, 0, 0);
D.EdgeInsetsDirectional_0_0_24_0 = new A.EdgeInsetsDirectional(0, 0, 24, 0);
D.EdgeInsetsDirectional_0_0_5_0 = new A.EdgeInsetsDirectional(0, 0, 5, 0);
D.EdgeInsetsDirectional_0_12_0_0 = new A.EdgeInsetsDirectional(0, 12, 0, 0);
D.EdgeInsetsDirectional_0_12_0_12 = new A.EdgeInsetsDirectional(0, 12, 0, 12);
D.EdgeInsetsDirectional_0_12_16_12 = new A.EdgeInsetsDirectional(0, 12, 16, 12);
D.EdgeInsetsDirectional_0_12_24_12 = new A.EdgeInsetsDirectional(0, 12, 24, 12);
D.EdgeInsetsDirectional_0_16_0_0 = new A.EdgeInsetsDirectional(0, 16, 0, 0);
D.EdgeInsetsDirectional_0_16_16_0 = new A.EdgeInsetsDirectional(0, 16, 16, 0);
D.EdgeInsetsDirectional_0_28_0_0 = new A.EdgeInsetsDirectional(0, 28, 0, 0);
D.EdgeInsetsDirectional_0_4_22_16 = new A.EdgeInsetsDirectional(0, 4, 22, 16);
D.EdgeInsetsDirectional_0_8_0_0 = new A.EdgeInsetsDirectional(0, 8, 0, 0);
D.EdgeInsetsDirectional_0_8_0_8 = new A.EdgeInsetsDirectional(0, 8, 0, 8);
D.EdgeInsetsDirectional_0_8_12_0 = new A.EdgeInsetsDirectional(0, 8, 12, 0);
D.EdgeInsetsDirectional_0_8_16_0 = new A.EdgeInsetsDirectional(0, 8, 16, 0);
D.EdgeInsetsDirectional_0_8_8_8 = new A.EdgeInsetsDirectional(0, 8, 8, 8);
D.EdgeInsetsDirectional_100_16_16_0 = new A.EdgeInsetsDirectional(100, 16, 16, 0);
D.EdgeInsetsDirectional_12_0_12_0 = new A.EdgeInsetsDirectional(12, 0, 12, 0);
D.EdgeInsetsDirectional_12_12_12_12 = new A.EdgeInsetsDirectional(12, 12, 12, 12);
D.EdgeInsetsDirectional_12_8_12_8 = new A.EdgeInsetsDirectional(12, 8, 12, 8);
D.EdgeInsetsDirectional_16_0_0_16 = new A.EdgeInsetsDirectional(16, 0, 0, 16);
D.EdgeInsetsDirectional_16_0_16_0 = new A.EdgeInsetsDirectional(16, 0, 16, 0);
D.EdgeInsetsDirectional_16_10_16_10 = new A.EdgeInsetsDirectional(16, 10, 16, 10);
D.EdgeInsetsDirectional_16_12_16_12 = new A.EdgeInsetsDirectional(16, 12, 16, 12);
D.EdgeInsetsDirectional_16_16_0_24 = new A.EdgeInsetsDirectional(16, 16, 0, 24);
D.EdgeInsetsDirectional_16_16_16_8 = new A.EdgeInsetsDirectional(16, 16, 16, 8);
D.EdgeInsetsDirectional_16_3_16_0 = new A.EdgeInsetsDirectional(16, 3, 16, 0);
D.EdgeInsetsDirectional_20_0_20_0 = new A.EdgeInsetsDirectional(20, 0, 20, 0);
D.EdgeInsetsDirectional_24_0_0_0 = new A.EdgeInsetsDirectional(24, 0, 0, 0);
D.EdgeInsetsDirectional_24_24_24_24 = new A.EdgeInsetsDirectional(24, 24, 24, 24);
D.EdgeInsetsDirectional_24_8_24_8 = new A.EdgeInsetsDirectional(24, 8, 24, 8);
D.EdgeInsetsDirectional_32_12_32_12 = new A.EdgeInsetsDirectional(32, 12, 32, 12);
D.EdgeInsetsDirectional_3_3_3_3 = new A.EdgeInsetsDirectional(3, 3, 3, 3);
D.EdgeInsetsDirectional_4_0_0_0 = new A.EdgeInsetsDirectional(4, 0, 0, 0);
D.EdgeInsetsDirectional_4_0_4_0 = new A.EdgeInsetsDirectional(4, 0, 4, 0);
D.EdgeInsetsDirectional_5_2_5_2 = new A.EdgeInsetsDirectional(5, 2, 5, 2);
D.EdgeInsetsDirectional_5_3_5_3 = new A.EdgeInsetsDirectional(5, 3, 5, 3);
D.EdgeInsetsDirectional_5_5_5_5 = new A.EdgeInsetsDirectional(5, 5, 5, 5);
D.EdgeInsetsDirectional_8_0_20_0 = new A.EdgeInsetsDirectional(8, 0, 20, 0);
D.EdgeInsetsDirectional_8_0_8_0 = new A.EdgeInsetsDirectional(8, 0, 8, 0);
D.EdgeInsetsDirectional_8_3_8_3 = new A.EdgeInsetsDirectional(8, 3, 8, 3);
D.EdgeInsetsDirectional_8_4_8_4 = new A.EdgeInsetsDirectional(8, 4, 8, 4);
D.EdgeInsetsDirectional_8_5_8_5 = new A.EdgeInsetsDirectional(8, 5, 8, 5);
D.EdgeInsets_0_0_0_16 = new A.EdgeInsets(0, 0, 0, 16);
D.EdgeInsets_0_0_2_0 = new A.EdgeInsets(0, 0, 2, 0);
D.EdgeInsets_0_3_0_0 = new A.EdgeInsets(0, 3, 0, 0);
D.EdgeInsets_10_0_0_0 = new A.EdgeInsets(10, 0, 0, 0);
D.EdgeInsets_12_0_12_12 = new A.EdgeInsets(12, 0, 12, 12);
D.EdgeInsets_12_0_12_5 = new A.EdgeInsets(12, 0, 12, 5);
D.EdgeInsets_12_12_12_6 = new A.EdgeInsets(12, 12, 12, 6);
D.EdgeInsets_12_12_12_8 = new A.EdgeInsets(12, 12, 12, 8);
D.EdgeInsets_2_2_2_2 = new A.EdgeInsets(2, 2, 2, 2);
D.EdgeInsets_5_0_2_0 = new A.EdgeInsets(5, 0, 2, 0);
D.EdgeInsets_6_0_14_0 = new A.EdgeInsets(6, 0, 14, 0);
D.EdgeInsets_6_3_6_3 = new A.EdgeInsets(6, 3, 6, 3);
D.EdgeInsets_8_0_16_0 = new A.EdgeInsets(8, 0, 16, 0);
D.EmailViewEmptyWidget_null = new B.EmailViewEmptyWidget(null);
D.InputDecoration_Cfr = new A.InputDecoration(null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, false, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, C._NoInputBorder_uXA, true, null, null, null);
D.LinearProgressIndicator_3Hh = new A.LinearProgressIndicator(2, null, D.Color_4293128703, C.Color_4278221567, null, null, null, null);
D.Color_251658240 = new A.Color(251658240);
D.BoxShadow_oyn31 = new A.BoxShadow(0, C.BlurStyle_0, D.Color_251658240, C.Offset_0_0, 4);
D.List_01 = A._setArrayType(makeConstList([D.BoxShadow_oyn28, D.BoxShadow_oyn31]), type$.JSArray_BoxShadow);
D.BoxShadow_oyn32 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_687865856, C.Offset_0_0, 96);
D.BoxShadow_oyn33 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_520093696, C.Offset_0_0, 2);
D.List_02 = A._setArrayType(makeConstList([D.BoxShadow_oyn32, D.BoxShadow_oyn33]), type$.JSArray_BoxShadow);
D.Color_2566945535 = new A.Color(2566945535);
D.BoxShadow_ijF = new A.BoxShadow(0, C.BlurStyle_0, D.Color_2566945535, C.Offset_0_0, 12);
D.List_6Vn = A._setArrayType(makeConstList([D.BoxShadow_ijF]), type$.JSArray_BoxShadow);
D.List_6_3 = A._setArrayType(makeConstList([6, 3]), A.findType("JSArray<double>"));
D.List_EmailLinkifier_UrlLinkifier = A._setArrayType(makeConstList([C.C_EmailLinkifier, C.C_UrlLinkifier]), A.findType("JSArray<Linkifier>"));
D.List_aBG = A._setArrayType(makeConstList([C.QuickSearchFilter_0, C.QuickSearchFilter_1, C.QuickSearchFilter_2]), type$.JSArray_QuickSearchFilter);
D.EdgeInsetsDirectional_120_0_0_0 = new A.EdgeInsetsDirectional(120, 0, 0, 0);
D.Padding_4AN = new A.Padding(D.EdgeInsetsDirectional_120_0_0_0, C.Divider_I9g, null);
D.Divider_4CA1 = new A.Divider(2, null, null, null, C.Color_520093696, null);
D.Padding_90B = new A.Padding(C.EdgeInsets_8_0_8_0, D.Divider_4CA1, null);
D.Padding_PqY0 = new A.Padding(D.EdgeInsetsDirectional_0_16_0_0, D.CupertinoLoadingWidget_null_null_null, null);
D.EdgeInsetsDirectional_0_0_0_16 = new A.EdgeInsetsDirectional(0, 0, 0, 16);
D.Padding_PqY = new A.Padding(D.EdgeInsetsDirectional_0_0_0_16, D.CupertinoLoadingWidget_null_null_null, null);
D.VerticalDivider_86y = new A.VerticalDivider(2.5, 0.2, null, null, C.MaterialColor_Map_MUpTk_4288585374, null);
D.Padding_wr1 = new A.Padding(E.EdgeInsets_0_5_0_5, D.VerticalDivider_86y, null);
D.PageStorageKey_SJ9 = new A.PageStorageKey("list_presentation_email_in_threads", type$.PageStorageKey_String);
D.PageStorageKey_vem = new A.PageStorageKey("list_presentation_email_in_search_view", type$.PageStorageKey_String);
D.QuickSearchSuggestionsBoxDecoration_null_null = new B.QuickSearchSuggestionsBoxDecoration(null, null);
D.QuickSearchSuggestionsBoxDecoration_yYn = new B.QuickSearchSuggestionsBoxDecoration(C.Color_4294967295, C.BorderRadius_tLn4);
D.QuickSearchTextFieldConfiguration_ASD = new B.QuickSearchTextFieldConfiguration(C.InputDecoration_C4W, null, null, null, C.TextAlign_4, null, null, true, true, C.TextInputType_0_null_null, false, null, true, 1, null, null, null, false, null, null, null, null, 2, null, null, null, C.EdgeInsets_20_20_20_20, C.TextCapitalization_30, null, true, null, null, null);
D.QuotasBannerWidget_null = new B.QuotasBannerWidget(null);
D.QuotasView_null = new B.QuotasView(null);
D.Radius_24_24 = new A.Radius(24, 24);
D.BorderRadius_tLn25 = new A.BorderRadius(D.Radius_24_24, D.Radius_24_24, D.Radius_24_24, D.Radius_24_24);
D.RoundedRectangleBorder_27D7 = new A.RoundedRectangleBorder(D.BorderRadius_tLn25, C.BorderSide_8xm);
D.RoundedRectangleBorder_gHS = new A.RoundedRectangleBorder(C.BorderRadius_tLn2, C.BorderSide_tAf);
D.ScreenDisplayMode_0 = new A.ScreenDisplayMode(0, "fullScreen");
D.SearchMailboxView_Color_4294375158_null = new B.SearchMailboxView(C.Color_4294375158, null);
D.SearchMailboxView_null_null = new B.SearchMailboxView(null, null);
D.RoundedRectangleBorder_gHS0 = new A.RoundedRectangleBorder(C.BorderRadius_tLn4, E.BorderSide_tAf3);
D.ShapeDecoration_0 = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_gHS0);
D.BorderSide_iL90 = new A.BorderSide(E.Color_1555612108, 1, C.BorderStyle_1, -1);
D.RoundedRectangleBorder_xw8 = new A.RoundedRectangleBorder(C.BorderRadius_tLn8, D.BorderSide_iL90);
D.ShapeDecoration_2jN = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_xw8);
D.BorderRadius_tLn26 = new A.BorderRadius(C.Radius_0_0, C.Radius_16_16, C.Radius_0_0, C.Radius_16_16);
D.RoundedRectangleBorder_27D13 = new A.RoundedRectangleBorder(D.BorderRadius_tLn26, C.BorderSide_8xm);
D.ShapeDecoration_5me0 = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_27D13);
D.RoundedRectangleBorder_27D14 = new A.RoundedRectangleBorder(D.BorderRadius_tLn15, C.BorderSide_8xm);
D.ShapeDecoration_5me = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_27D14);
D.BoxShadow_oyn34 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_335544320, C.Offset_0_1, 80);
D.BoxShadow_oyn35 = new A.BoxShadow(1, C.BlurStyle_0, C.Color_637534208, C.Offset_0_1, 3);
D.List_023 = A._setArrayType(makeConstList([D.BoxShadow_oyn34, D.BoxShadow_oyn35]), type$.JSArray_BoxShadow);
D.ShapeDecoration_5me1 = new A.ShapeDecoration(C.Color_4294967295, null, null, D.List_023, C.RoundedRectangleBorder_27D2);
D.ShapeDecoration_5me2 = new A.ShapeDecoration(C.Color_4294967295, null, null, D.List_02, C.RoundedRectangleBorder_27D2);
D.Color_4294376191 = new A.Color(4294376191);
D.ShapeDecoration_BZt = new A.ShapeDecoration(D.Color_4294376191, null, null, null, C.RoundedRectangleBorder_27D1);
D.RoundedRectangleBorder_27D15 = new A.RoundedRectangleBorder(C.BorderRadius_tLn7, C.BorderSide_8xm);
D.ShapeDecoration_MUw = new A.ShapeDecoration(C.Color_4278221567, null, null, null, D.RoundedRectangleBorder_27D15);
D.ShapeDecoration_aL3 = new A.ShapeDecoration(C.Color_167772160, null, null, null, D.RoundedRectangleBorder_gHS0);
D.SizeUnit_2 = new B.SizeUnit(2, "MB");
D.SizedBox_11_null_null_null = new A.SizedBox(11, null, null, null);
D.SizedBox_120_null_null_null = new A.SizedBox(120, null, null, null);
D.SizedBox_16_16_null_null = new A.SizedBox(16, 16, null, null);
D.SizedBox_30_null_null_null = new A.SizedBox(30, null, null, null);
D.SizedBox_null_13_null_null = new A.SizedBox(null, 13, null, null);
D.SizedBox_null_3_null_null = new A.SizedBox(null, 3, null, null);
D.SizedBox_null_6_null_null = new A.SizedBox(null, 6, null, null);
D.SpamReportBannerWebWidget_null = new B.SpamReportBannerWebWidget(null);
D.SpamReportBannerWidget_null = new B.SpamReportBannerWidget(null);
D.SystemMouseCursor_grab = new A.SystemMouseCursor("grab");
D.CupertinoLoadingWidget_16_null_null = new B.CupertinoLoadingWidget(16, null, null);
D.EdgeInsetsDirectional_mt1 = new A.EdgeInsetsDirectional(8.5, 8, 8.5, 8);
D.TMailContainerWidget_5K5 = new A.TMailContainerWidget(null, null, D.CupertinoLoadingWidget_16_null_null, 10, null, 1 / 0, 1 / 0, 0, null, null, D.EdgeInsetsDirectional_mt1, null, null, null, null);
D.TextStyle_oHY29 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 12, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.Text_ibu0 = new A.Text("...", null, D.TextStyle_oHY29, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextOverflowWidget_NIY = new A.TextOverflowWidget(D.Text_ibu0, C.TextOverflowPosition_1, null);
D.TextSpan_HTJ = new A.TextSpan(", ", null, null, C.C__DeferringMouseCursor, null, null, null, null, null, null);
D.Color_4285625980 = new A.Color(4285625980);
D.TextStyle_0QG = new A.TextStyle(true, D.Color_4285625980, null, null, null, null, 14, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf5 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, null, C.FontWeight_6_700, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf10 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 12, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf3 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 12, C.FontWeight_5_600, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf6 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 14, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf2 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 15, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf9 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 17, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf4 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 20, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_1Gf7 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 21, C.FontWeight_6_700, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_6Hm = new A.TextStyle(true, C.Color_4285364357, D.Color_1023441663, null, null, null, 13, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.Color_4279773522 = new A.Color(4279773522);
D.TextStyle_IMh = new A.TextStyle(true, D.Color_4279773522, null, null, null, null, 10, C.FontWeight_6_700, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_IMh0 = new A.TextStyle(true, D.Color_4279773522, null, null, null, null, 25, C.FontWeight_6_700, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.Color_4289967027 = new A.Color(4289967027);
D.TextStyle_U6R = new A.TextStyle(true, D.Color_4289967027, null, null, null, null, 16, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_cw11 = new A.TextStyle(true, D.Color_4287405231, null, null, null, null, 11, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_cw10 = new A.TextStyle(true, D.Color_4287405231, null, null, null, null, 13, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_cw1 = new A.TextStyle(true, D.Color_4287405231, null, null, null, null, 14, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_etK0 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 12, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_etK = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 14, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.Color_4289637038 = new A.Color(4289637038);
D.TextStyle_inH = new A.TextStyle(true, D.Color_4289637038, null, null, null, null, 15, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, C.TextDecoration_1, null, null, null, null, null, null, null, null);
D.TextStyle_kmC1 = new A.TextStyle(true, C.Color_4278221567, null, null, null, null, 12, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_kmC2 = new A.TextStyle(true, C.Color_4278221567, null, null, null, null, 15, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_kmC4 = new A.TextStyle(true, C.Color_4278221567, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.Color_4287861651 = new A.Color(4287861651);
D.TextStyle_mqh0 = new A.TextStyle(true, D.Color_4287861651, null, null, null, null, 13, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_mqh = new A.TextStyle(true, D.Color_4287861651, null, null, null, null, 16, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY19 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 13, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY27 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 14, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY17 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 15, C.FontWeight_5_600, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY12 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 21, C.FontWeight_6_700, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY25 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 22, C.FontWeight_5_600, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY13 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 24, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY15 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 40, C.FontWeight_6_700, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_omH4 = new A.TextStyle(true, C.Color_4285034102, null, null, null, null, 12, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_omH2 = new A.TextStyle(true, C.Color_4285034102, null, null, null, null, 13, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_qQi = new A.TextStyle(true, C.Color_4278221567, null, null, null, null, 16, null, null, null, null, null, null, null, null, null, null, C.TextDecoration_1, null, null, null, null, null, null, null, null);
D.TextStyle_yzp5 = new A.TextStyle(true, C.Color_4278221567, null, null, null, null, 12, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.ValueKey_2T7 = new A.ValueKey("mark_as_star_selected_email_button", type$.ValueKey_String);
D.ValueKey_EQ3 = new A.ValueKey("mark_as_spam_email_selection_button", type$.ValueKey_String);
D.ValueKey_ESz = new A.ValueKey("mark_as_read_email_selection_button", type$.ValueKey_String);
D.ValueKey_Q1W = new A.ValueKey("selection_web_app_bar_thread_widget", type$.ValueKey_String);
D.ValueKey_cancel_selection_button = new A.ValueKey("cancel_selection_button", type$.ValueKey_String);
D.ValueKey_compose_new_email_button = new A.ValueKey("compose_new_email_button", type$.ValueKey_String);
D.ValueKey_delete_email_selection_button = new A.ValueKey("delete_email_selection_button", type$.ValueKey_String);
D.ValueKey_delete_selected_email_button = new A.ValueKey("delete_selected_email_button", type$.ValueKey_String);
D.ValueKey_email_view_app_bar_widget = new A.ValueKey("email_view_app_bar_widget", type$.ValueKey_String);
D.ValueKey_email_view_button_bar = new A.ValueKey("email_view_button_bar", type$.ValueKey_String);
D.ValueKey_empty_search_email_view = new A.ValueKey("empty_search_email_view", type$.ValueKey_String);
D.ValueKey_empty_thread_view = new A.ValueKey("empty_thread_view", type$.ValueKey_String);
D.ValueKey_filter_emails_button = new A.ValueKey("filter_emails_button", type$.ValueKey_String);
D.ValueKey_filter_message_button = new A.ValueKey("filter_message_button", type$.ValueKey_String);
D.ValueKey_forward_email_button = new A.ValueKey("forward_email_button", type$.ValueKey_String);
D.ValueKey_g78 = new A.ValueKey("move_selected_email_to_mailbox_button", type$.ValueKey_String);
D.ValueKey_mailbox_menu_button = new A.ValueKey("mailbox_menu_button", type$.ValueKey_String);
D.ValueKey_mark_as_read_emails_button = new A.ValueKey("mark_as_read_emails_button", type$.ValueKey_String);
D.ValueKey_mark_as_spam_or_un_spam_action = new A.ValueKey("mark_as_spam_or_un_spam_action", type$.ValueKey_String);
D.ValueKey_mark_as_unread_action = new A.ValueKey("mark_as_unread_action", type$.ValueKey_String);
D.ValueKey_move_email_selection_button = new A.ValueKey("move_email_selection_button", type$.ValueKey_String);
D.ValueKey_ntW = new A.ValueKey("mark_as_star_email_selection_button", type$.ValueKey_String);
D.ValueKey_open_in_new_tab_action = new A.ValueKey("open_in_new_tab_action", type$.ValueKey_String);
D.ValueKey_qXd = new A.ValueKey("mark_as_read_selected_email_button", type$.ValueKey_String);
D.ValueKey_quick_creating_rule_action = new A.ValueKey("quick_creating_rule_action", type$.ValueKey_String);
D.ValueKey_refresh_mailbox_button = new A.ValueKey("refresh_mailbox_button", type$.ValueKey_String);
D.ValueKey_reply_all_emails_button = new A.ValueKey("reply_all_emails_button", type$.ValueKey_String);
D.ValueKey_reply_email_button = new A.ValueKey("reply_email_button", type$.ValueKey_String);
D.ValueKey_s3P = new A.ValueKey("move_selected_email_to_spam_button", type$.ValueKey_String);
D.ValueKey_select_all_emails_button = new A.ValueKey("select_all_emails_button", type$.ValueKey_String);
D.ValueKey_web_app_bar_thread_widget = new A.ValueKey("web_app_bar_thread_widget", type$.ValueKey_String);
D.ValueKey_web_editor = new A.ValueKey("web_editor", type$.ValueKey_String);
D.ValueKey_woc = new A.ValueKey("default_web_app_bar_thread_widget", type$.ValueKey_String);
D.VerticalDivider_14s = new A.VerticalDivider(12, null, null, null, C.Color_4293388524, null);
D.VerticalDivider_yCR = new A.VerticalDivider(1, null, null, null, C.Color_4288258733, null);
D._DragEndKind_0 = new B._DragEndKind(0, "dropped");
D._DragEndKind_1 = new B._DragEndKind(1, "canceled");
})();
(function lazyInitializers() {
var _lazy = hunkHelpers.lazy;
_lazy($, "SpamReportBannerStyles_backgroundColor", "$get$SpamReportBannerStyles_backgroundColor", () => D.Color_4290764543.withOpacity$1(0.12));
_lazy($, "SpamReportBannerWebStyles_backgroundColor", "$get$SpamReportBannerWebStyles_backgroundColor", () => D.Color_4290764543.withOpacity$1(0.12));
})();
};
$__dart_deferred_initializers__["mNHTp0XK7fC9R6fLVBPuk9nupuU="] = $__dart_deferred_initializers__.current