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

22002 lines
1.2 MiB
Plaintext

// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.4.3.
((s, d, e) => {
s[d] = s[d] || {};
s[d][e] = s[d][e] || [];
s[d][e].push({p: "main.dart.js_4", e: "beginPart"});
})(self, "$__dart_deferred_initializers__", "eventLog");
$__dart_deferred_initializers__.current = function(hunkHelpers, init, holdersList, $) {
var J, A, C, G,
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() {
},
QuickSearchInputForm$(actionButtonBuilder, buttonActionCallback, buttonShowAllResult, contactItemBuilder, contactSuggestionsCallback, debounceDuration, fetchRecentActionCallback, itemBuilder, itemRecentBuilder, listActionButton, listActionPadding, loadingBuilder, maxHeight, minInputLengthAutocomplete, onContactSuggestionSelected, onRecentSelected, onSuggestionSelected, suggestionsBoxDecoration, suggestionsBoxVerticalOffset, suggestionsCallback, textFieldConfiguration, titleHeaderRecent, $T, $P, $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, false, false, false, false, 0, listActionButton, actionButtonBuilder, buttonActionCallback, buttonShowAllResult, titleHeaderRecent, itemRecentBuilder, fetchRecentActionCallback, onRecentSelected, listActionPadding, false, _null, maxHeight, false, minInputLengthAutocomplete, contactItemBuilder, contactSuggestionsCallback, onContactSuggestionSelected, $T, $P, $R), t1, true, C.AutovalidateMode_0, _null, _null, $T._eval$1("@<0>")._bind$1($P)._bind$1($R)._eval$1("QuickSearchInputForm<1,2,3>"));
},
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, t40, t41, t42, t43, t44) {
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;
_.minInputLengthAutocomplete = t38;
_.contactItemBuilder = t39;
_.contactSuggestionsCallback = t40;
_.onContactSuggestionSelected = t41;
_.T = t42;
_.P = t43;
_.R = t44;
},
QuickSearchInputForm__closure: function QuickSearchInputForm__closure(t0, t1) {
this.state = t0;
this.textFieldConfiguration = t1;
},
_QuickSearchInputFormFormFieldState: function _QuickSearchInputFormFormFieldState(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;
},
QuickSearchSuggestionsBox: function QuickSearchSuggestionsBox(t0, t1, t2, t3, t4) {
var _ = this;
_.context = t0;
_.desiredDirection = t1;
_.autoFlipDirection = t2;
_.hideSuggestionBox = t3;
_.overlayEntry = null;
_.direction = t4;
_.isOpened = false;
_.widgetMounted = true;
_.maxHeight = 300;
_.textBoxHeight = _.textBoxWidth = 100;
_.__QuickSearchSuggestionsBox_directionUpOffset_A = $;
},
QuickSearchSuggestionsBox__findRootMediaQuery_closure: function QuickSearchSuggestionsBox__findRootMediaQuery_closure(t0) {
this._box_0 = t0;
},
QuickSearchSuggestionsBoxDecoration: function QuickSearchSuggestionsBoxDecoration(t0, t1) {
this.color = t0;
this.borderRadius = t1;
},
QuickSearchSuggestionList: function QuickSearchSuggestionList(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) {
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;
_.minInputLengthAutocomplete = t26;
_.contactSuggestionBuilder = t27;
_.contactSuggestionCallback = t28;
_.onContactSuggestionSelected = t29;
_.key = t30;
_.$ti = t31;
},
QuickSearchSuggestionListState: function QuickSearchSuggestionListState(t0, t1, t2, t3) {
var _ = this;
_._contacts = _._recentItems = _._suggestions = null;
_.__QuickSearchSuggestionListState__suggestionsValid_A = $;
_._lastTextValue = _._quick_search_suggestion_list$_animationController = _._isLoading = null;
_.__QuickSearchSuggestionListState__deBouncerSuggestionStreamSubscriptions_F = _.__QuickSearchSuggestionListState__deBouncerSuggestion_F = _.__QuickSearchSuggestionListState__scrollController_FI = $;
_.SingleTickerProviderStateMixin__ticker = t0;
_.SingleTickerProviderStateMixin__tickerModeNotifier = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
_.$ti = t3;
},
QuickSearchSuggestionListState__handleDebounceTimeListener_closure: function QuickSearchSuggestionListState__handleDebounceTimeListener_closure(t0) {
this.$this = t0;
},
QuickSearchSuggestionListState__handleDebounceTimeListener_closure0: function QuickSearchSuggestionListState__handleDebounceTimeListener_closure0(t0, t1) {
this.$this = t0;
this.recentItems = t1;
},
QuickSearchSuggestionListState__getSuggestions_closure: function QuickSearchSuggestionListState__getSuggestions_closure(t0) {
this.$this = t0;
},
QuickSearchSuggestionListState__getSuggestions_closure0: function QuickSearchSuggestionListState__getSuggestions_closure0(t0, t1) {
this.$this = t0;
this.recentItems = t1;
},
QuickSearchSuggestionListState__getSuggestions_closure1: function QuickSearchSuggestionListState__getSuggestions_closure1() {
},
QuickSearchSuggestionListState__getSuggestions_closure2: function QuickSearchSuggestionListState__getSuggestions_closure2(t0, t1) {
this._box_0 = t0;
this.$this = t1;
},
QuickSearchSuggestionListState__buildListActionWidget_closure: function QuickSearchSuggestionListState__buildListActionWidget_closure(t0) {
this.$this = t0;
},
QuickSearchSuggestionListState__buildListActionWidget__closure: function QuickSearchSuggestionListState__buildListActionWidget__closure(t0, t1) {
this.$this = t0;
this.action = t1;
},
QuickSearchSuggestionListState__buildListViewRecentWidget_closure: function QuickSearchSuggestionListState__buildListViewRecentWidget_closure(t0) {
this.$this = t0;
},
QuickSearchSuggestionListState__buildListViewRecentWidget__closure: function QuickSearchSuggestionListState__buildListViewRecentWidget__closure(t0, t1) {
this.$this = t0;
this.recent = t1;
},
QuickSearchSuggestionListState__buildListViewSuggestionWidget_closure: function QuickSearchSuggestionListState__buildListViewSuggestionWidget_closure(t0) {
this.$this = t0;
},
QuickSearchSuggestionListState__buildListViewSuggestionWidget__closure: function QuickSearchSuggestionListState__buildListViewSuggestionWidget__closure(t0, t1) {
this.$this = t0;
this.suggestion = t1;
},
QuickSearchSuggestionListState__buildListViewContactWidget_closure: function QuickSearchSuggestionListState__buildListViewContactWidget_closure(t0) {
this.$this = t0;
},
QuickSearchSuggestionListState__buildListViewContactWidget__closure: function QuickSearchSuggestionListState__buildListViewContactWidget__closure(t0, t1) {
this.$this = t0;
this.contact = t1;
},
_QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin: function _QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin() {
},
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);
},
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;
},
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, t39, t40, t41, t42) {
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;
_.contactItemBuilder = t37;
_.contactSuggestionsCallback = t38;
_.onContactSuggestionSelected = t39;
_.minInputLengthAutocomplete = t40;
_.key = t41;
_.$ti = t42;
},
_TypeAheadFieldQuickSearchState: function _TypeAheadFieldQuickSearchState(t0, t1, t2, t3) {
var _ = this;
_._suggestionsBox = _._textEditingController = _._type_ahead_field_quick_search$_focusNode = null;
_.___TypeAheadFieldQuickSearchState__focusNodeListener_A = _.___TypeAheadFieldQuickSearchState__textDirection_A = $;
_._layerLink = t0;
_._type_ahead_field_quick_search$_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__initOverlayEntry__closure1: function _TypeAheadFieldQuickSearchState__initOverlayEntry__closure1(t0) {
this.$this = t0;
},
_TypeAheadFieldQuickSearchState__updateTextDirection_closure: function _TypeAheadFieldQuickSearchState__updateTextDirection_closure(t0, t1) {
this.$this = t0;
this.directionByText = t1;
},
__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver: function __TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver() {
},
RichTextBuilder$(ensureHighlightVisible, preMarkedText, styleOrigin, styleWord, textOrigin, wordToStyle) {
return new B.RichTextBuilder(textOrigin, wordToStyle, styleOrigin, styleWord, preMarkedText, ensureHighlightVisible, null);
},
RichTextBuilder: function RichTextBuilder(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.textOrigin = t0;
_.wordToStyle = t1;
_.styleOrigin = t2;
_.styleWord = t3;
_.preMarkedText = t4;
_.ensureHighlightVisible = t5;
_.key = t6;
},
_RichTextBuilderState: function _RichTextBuilderState(t0, t1, t2) {
var _ = this;
_.firstHighlightKey = t0;
_.firstHighlightKeyed = false;
_.AutomaticKeepAliveClientMixin__keepAliveHandle = t1;
_._widget = null;
_._debugLifecycleState = t2;
_._framework$_element = null;
},
_RichTextBuilderState_build_closure: function _RichTextBuilderState_build_closure(t0) {
this.$this = t0;
},
__RichTextBuilderState_State_AutomaticKeepAliveClientMixin: function __RichTextBuilderState_State_AutomaticKeepAliveClientMixin() {
},
ArabicDateLocale: function ArabicDateLocale() {
},
EnglishDateLocale: function EnglishDateLocale() {
},
FrenchDateLocale: function FrenchDateLocale() {
},
GermanDateLocale: function GermanDateLocale() {
},
ItalianDateLocale: function ItalianDateLocale() {
},
RussianDateLocale: function RussianDateLocale() {
},
VietnameseDateLocale: function VietnameseDateLocale() {
},
DropdownSearchData: function DropdownSearchData(t0, t1, t2) {
this.searchInnerWidget = t0;
this.searchInnerWidgetHeight = t1;
this.$ti = t2;
},
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;
_._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;
_._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;
_._pointers = t0;
_.debugOwner = t1;
_.gestureSettings = null;
_.supportedDevices = t2;
_._allowedButtonsFilter = t3;
_._pointerToKind = t4;
},
Drawer: function Drawer(t0, t1, t2, t3) {
var _ = this;
_.elevation = t0;
_.shape = t1;
_.child = t2;
_.key = t3;
},
_DrawerDefaultsM3: function _DrawerDefaultsM3(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.context = t0;
_.___DrawerDefaultsM3_direction_FI = $;
_.backgroundColor = t1;
_.scrimColor = t2;
_.elevation = t3;
_.shadowColor = t4;
_.surfaceTintColor = t5;
_.shape = t6;
_.endShape = t7;
_.width = t8;
},
SelectionArea__defaultContextMenuBuilder(context, selectableRegionState) {
return new A.AdaptiveTextSelectionToolbar(selectableRegionState.get$contextMenuButtonItems(), selectableRegionState.get$contextMenuAnchors(), null);
},
SelectionArea: function SelectionArea(t0, t1) {
this.child = t0;
this.key = t1;
},
_SelectionAreaState: function _SelectionAreaState(t0) {
var _ = this;
_._widget = _._internalNode = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
SelectAllSelectionEvent: function SelectAllSelectionEvent(t0) {
this.type = t0;
},
SelectWordSelectionEvent: function SelectWordSelectionEvent(t0, t1) {
this.globalPosition = t0;
this.type = t1;
},
GranularlyExtendSelectionEvent: function GranularlyExtendSelectionEvent(t0, t1, t2, t3) {
var _ = this;
_.forward = t0;
_.isEnd = t1;
_.granularity = t2;
_.type = t3;
},
DirectionallyExtendSelectionEvent: function DirectionallyExtendSelectionEvent(t0, t1, t2, t3) {
var _ = this;
_.dx = t0;
_.isEnd = t1;
_.direction = t2;
_.type = t3;
},
PlatformSelectableRegionContextMenu__register() {
$.PlatformSelectableRegionContextMenu__registeredViewType = B.PlatformSelectableRegionContextMenu__registerWebSelectionCallback(new B.PlatformSelectableRegionContextMenu__register_closure());
},
PlatformSelectableRegionContextMenu__registerWebSelectionCallback(callback) {
var _s33_ = "Browser__WebContextMenuViewType__",
t1 = $.$get$platformViewRegistry();
t1.get$registerViewFactory().call$3$isVisible(_s33_, new B.PlatformSelectableRegionContextMenu__registerWebSelectionCallback_closure(callback), false);
return _s33_;
},
PlatformSelectableRegionContextMenu: function PlatformSelectableRegionContextMenu(t0, t1) {
this.child = t0;
this.key = t1;
},
PlatformSelectableRegionContextMenu__register_closure: function PlatformSelectableRegionContextMenu__register_closure() {
},
PlatformSelectableRegionContextMenu__registerWebSelectionCallback_closure: function PlatformSelectableRegionContextMenu__registerWebSelectionCallback_closure(t0) {
this.callback = t0;
},
PlatformSelectableRegionContextMenu__registerWebSelectionCallback__closure: function PlatformSelectableRegionContextMenu__registerWebSelectionCallback__closure(t0, t1) {
this.callback = t0;
this.htmlElement = t1;
},
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, t13) {
var _ = this;
_.data = t0;
_.axis = t1;
_.dragStartPoint = t2;
_.feedback = t3;
_.feedbackOffset = t4;
_.onDragUpdate = t5;
_.onDragEnd = t6;
_.overlayState = t7;
_.ignoringFeedbackSemantics = t8;
_.ignoringFeedbackPointer = t9;
_.viewId = t10;
_._activeTarget = null;
_._enteredTargets = t11;
_._drag_target$_position = t12;
_._drag_target$_entry = _._drag_target$_lastOffset = null;
_.$ti = t13;
},
_DragAvatar_updateDrag_closure: function _DragAvatar_updateDrag_closure(t0) {
this.$this = t0;
},
_DragAvatar_updateDrag_closure0: function _DragAvatar_updateDrag_closure0() {
},
NeverScrollableScrollPhysics: function NeverScrollableScrollPhysics(t0) {
this.parent = t0;
},
SelectableRegion_getSelectableButtonItems(onCopy, onSelectAll, onShare, selectionGeometry) {
var t1, showShareBeforeSelectAll, t2, _null = null,
canCopy = selectionGeometry.status === C.SelectionStatus_0,
_0_0 = A.defaultTargetPlatform();
$label0$0: {
if (C.TargetPlatform_0 === _0_0) {
t1 = canCopy;
break $label0$0;
}
if (C.TargetPlatform_4 === _0_0 || C.TargetPlatform_1 === _0_0 || C.TargetPlatform_3 === _0_0 || C.TargetPlatform_5 === _0_0) {
t1 = false;
break $label0$0;
}
if (C.TargetPlatform_2 === _0_0) {
t1 = false;
break $label0$0;
}
t1 = _null;
}
showShareBeforeSelectAll = A.defaultTargetPlatform() === C.TargetPlatform_0;
t2 = A._setArrayType([], type$.JSArray_ContextMenuButtonItem);
if (canCopy)
t2.push(new A.ContextMenuButtonItem(onCopy, C.ContextMenuButtonType_1, _null));
if (t1 && showShareBeforeSelectAll)
t2.push(new A.ContextMenuButtonItem(onShare, C.ContextMenuButtonType_7, _null));
if (selectionGeometry.hasContent)
t2.push(new A.ContextMenuButtonItem(onSelectAll, C.ContextMenuButtonType_3, _null));
if (t1 && !showShareBeforeSelectAll)
t2.push(new A.ContextMenuButtonItem(onShare, C.ContextMenuButtonType_7, _null));
return t2;
},
SelectableRegionState__getEffectiveConsecutiveTapCount(rawCount) {
var t1;
switch (A.defaultTargetPlatform().index) {
case 0:
case 1:
case 3:
if (rawCount <= 2)
t1 = rawCount;
else {
t1 = C.JSInt_methods.$mod(rawCount, 2);
if (t1 === 0)
t1 = 2;
}
return t1;
case 2:
case 4:
case 5:
return Math.min(rawCount, 2);
}
},
SelectableRegion: function SelectableRegion(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.magnifierConfiguration = t0;
_.focusNode = t1;
_.child = t2;
_.contextMenuBuilder = t3;
_.selectionControls = t4;
_.onSelectionChanged = t5;
_.key = t6;
},
SelectableRegionState: function SelectableRegionState(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.__SelectableRegionState__actions_FI = $;
_._gestureRecognizers = t0;
_._selectable_region$_selectionOverlay = null;
_._selectable_region$_startHandleLayerLink = t1;
_._selectable_region$_endHandleLayerLink = t2;
_._selectable_region$_toolbarLayerLink = t3;
_._selectionDelegate = t4;
_.lastSecondaryTapDownPosition = _._lastSelectedContent = _._selectable_region$_lastOrientation = _._selectable = null;
_._selectable_region$_processTextService = t5;
_._selectable_region$_processTextActions = t6;
_._selectionEndPosition = null;
_._scheduledSelectionEndEdgeUpdate = false;
_._selectionStartPosition = null;
_._scheduledSelectionStartEdgeUpdate = false;
_.__SelectableRegionState__selectionEndHandleDragPosition_A = _.__SelectableRegionState__selectionStartHandleDragPosition_A = $;
_._directionalHorizontalBaseline = _._adjustingSelectionEnd = null;
_.textEditingValue = t7;
_._widget = null;
_._debugLifecycleState = t8;
_._framework$_element = null;
},
SelectableRegionState_initState_closure: function SelectableRegionState_initState_closure(t0) {
this.$this = t0;
},
SelectableRegionState_initState_closure0: function SelectableRegionState_initState_closure0(t0) {
this.$this = t0;
},
SelectableRegionState_initState__closure: function SelectableRegionState_initState__closure(t0) {
this.$this = t0;
},
SelectableRegionState__initMouseGestureRecognizer_closure: function SelectableRegionState__initMouseGestureRecognizer_closure(t0) {
this.$this = t0;
},
SelectableRegionState__initMouseGestureRecognizer_closure0: function SelectableRegionState__initMouseGestureRecognizer_closure0(t0) {
this.$this = t0;
},
SelectableRegionState__initTouchGestureRecognizer_closure: function SelectableRegionState__initTouchGestureRecognizer_closure(t0) {
this.$this = t0;
},
SelectableRegionState__initTouchGestureRecognizer_closure0: function SelectableRegionState__initTouchGestureRecognizer_closure0(t0) {
this.$this = t0;
},
SelectableRegionState__triggerSelectionEndEdgeUpdate_closure: function SelectableRegionState__triggerSelectionEndEdgeUpdate_closure(t0, t1) {
this.$this = t0;
this.textGranularity = t1;
},
SelectableRegionState__onAnyDragEnd_closure: function SelectableRegionState__onAnyDragEnd_closure(t0) {
this.$this = t0;
},
SelectableRegionState__triggerSelectionStartEdgeUpdate_closure: function SelectableRegionState__triggerSelectionStartEdgeUpdate_closure(t0, t1) {
this.$this = t0;
this.textGranularity = t1;
},
SelectableRegionState_contextMenuButtonItems_closure: function SelectableRegionState_contextMenuButtonItems_closure(t0) {
this.$this = t0;
},
SelectableRegionState_contextMenuButtonItems_closure0: function SelectableRegionState_contextMenuButtonItems_closure0(t0) {
this.$this = t0;
},
SelectableRegionState_contextMenuButtonItems_closure1: function SelectableRegionState_contextMenuButtonItems_closure1(t0) {
this.$this = t0;
},
SelectableRegionState__textProcessingActionButtonItems_closure: function SelectableRegionState__textProcessingActionButtonItems_closure(t0, t1, t2) {
this.$this = t0;
this.data = t1;
this.action = t2;
},
_NonOverrideAction: function _NonOverrideAction() {
},
_SelectAllAction0: function _SelectAllAction0(t0, t1) {
this.state = t0;
this._actions$_listeners = t1;
this._currentCallingAction = null;
},
_CopySelectionAction0: function _CopySelectionAction0(t0, t1) {
this.state = t0;
this._actions$_listeners = t1;
this._currentCallingAction = null;
},
_GranularlyExtendSelectionAction: function _GranularlyExtendSelectionAction(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.granularity = t1;
_._actions$_listeners = t2;
_._currentCallingAction = null;
_.$ti = t3;
},
_GranularlyExtendCaretSelectionAction: function _GranularlyExtendCaretSelectionAction(t0, t1, t2, t3) {
var _ = this;
_.state = t0;
_.granularity = t1;
_._actions$_listeners = t2;
_._currentCallingAction = null;
_.$ti = t3;
},
_DirectionallyExtendCaretSelectionAction: function _DirectionallyExtendCaretSelectionAction(t0, t1, t2) {
var _ = this;
_.state = t0;
_._actions$_listeners = t1;
_._currentCallingAction = null;
_.$ti = t2;
},
_SelectableRegionContainerDelegate: function _SelectableRegionContainerDelegate(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._hasReceivedStartEvent = t0;
_._hasReceivedEndEvent = t1;
_._lastEndEdgeUpdateGlobalPosition = _._lastStartEdgeUpdateGlobalPosition = null;
_.selectables = t2;
_.currentSelectionStartIndex = _.currentSelectionEndIndex = -1;
_._endHandleLayerOwner = _._endHandleLayer = _._startHandleLayerOwner = _._startHandleLayer = null;
_._selectionInProgress = _._scheduledSelectableUpdate = _._isHandlingSelectionEvent = false;
_._additions = t3;
_._extendSelectionInProgress = false;
_._selectionGeometry = t4;
_.ChangeNotifier__count = 0;
_.ChangeNotifier__listeners = t5;
_.ChangeNotifier__reentrantlyRemovedListeners = _.ChangeNotifier__notificationCallStackDepth = 0;
_.ChangeNotifier__debugDisposed = false;
_._selectionContainerContext = null;
},
_SelectableRegionContainerDelegate_didChangeSelectables_closure: function _SelectableRegionContainerDelegate_didChangeSelectables_closure(t0) {
this.selectableSet = t0;
},
_SelectableRegionContainerDelegate_didChangeSelectables_closure0: function _SelectableRegionContainerDelegate_didChangeSelectables_closure0(t0) {
this.selectableSet = t0;
},
_SelectableRegionState_State_TextSelectionDelegate: function _SelectableRegionState_State_TextSelectionDelegate() {
},
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;
},
WebScript: function WebScript(t0, t1) {
this.name = t0;
this.script = t1;
},
ListAttachmentExtension_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.ListAttachmentExtension_get_totalSize_closure(), t1), true, t1._eval$1("ListIterable.E")), new B.ListAttachmentExtension_get_totalSize_closure0());
}
return 0;
},
ListAttachmentExtension_get_totalSize_closure: function ListAttachmentExtension_get_totalSize_closure() {
},
ListAttachmentExtension_get_totalSize_closure0: function ListAttachmentExtension_get_totalSize_closure0() {
},
SetEmailAddressExtension_toEscapeHtmlString(_this, separator) {
var t1, listEmail;
if ((_this == null ? null : _this._collection$_length !== 0) !== true)
return "";
_this.toString;
t1 = A._instanceType(_this)._eval$1("EfficientLengthMappedIterable<SetBase.E,String>");
listEmail = A.List_List$of(new A.EfficientLengthMappedIterable(_this, new B.SetEmailAddressExtension_toEscapeHtmlString_closure(), t1), true, t1._eval$1("Iterable.E"));
return listEmail.length !== 0 ? C.JSArray_methods.join$1(listEmail, separator) : "";
},
SetEmailAddressExtension_toEscapeHtmlString_closure: function SetEmailAddressExtension_toEscapeHtmlString_closure() {
},
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;
},
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;
},
PopupItemNoIconWidget$(_nameAction, isSelected, maxWidth, onCallbackAction, svgIconSelected) {
return new B.PopupItemNoIconWidget(_nameAction, svgIconSelected, isSelected, maxWidth, onCallbackAction, null);
},
PopupItemNoIconWidget: function PopupItemNoIconWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._popup_item_no_icon_widget$_nameAction = t0;
_.svgIconSelected = t1;
_.isSelected = t2;
_.maxWidth = t3;
_.onCallbackAction = t4;
_.key = t5;
},
ComposerView: function ComposerView(t0) {
this.key = t0;
},
ComposerView_build_closure0: function ComposerView_build_closure0(t0) {
this.$this = t0;
},
ComposerView_build__closure6: function ComposerView_build__closure6(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure4: function ComposerView_build__closure4(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure13: function ComposerView_build___closure13(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure14: function ComposerView_build___closure14(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure15: function ComposerView_build___closure15(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure16: function ComposerView_build___closure16(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure17: function ComposerView_build___closure17(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure3: function ComposerView_build__closure3(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build___closure18: function ComposerView_build___closure18(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure5: function ComposerView_build__closure5(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
ComposerView_build___closure7: function ComposerView_build___closure7(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.constraints = t1;
_.context = t2;
_.constraintsEditor = t3;
},
ComposerView_build____closure12: function ComposerView_build____closure12(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraintsEditor = t2;
},
ComposerView_build____closure11: function ComposerView_build____closure11(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure8: function ComposerView_build___closure8(t0) {
this.$this = t0;
},
ComposerView_build____closure10: function ComposerView_build____closure10(t0) {
this.$this = t0;
},
ComposerView_build___closure9: function ComposerView_build___closure9(t0) {
this.$this = t0;
},
ComposerView_build___closure10: function ComposerView_build___closure10(t0) {
this.$this = t0;
},
ComposerView_build___closure11: function ComposerView_build___closure11(t0, t1) {
this.$this = t0;
this.constraintsEditor = t1;
},
ComposerView_build___closure12: function ComposerView_build___closure12(t0, t1, t2) {
this.$this = t0;
this.constraintsEditor = t1;
this.context = t2;
},
ComposerView_build____closure9: function ComposerView_build____closure9(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraintsEditor = t2;
},
ComposerView_build_closure: function ComposerView_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure8: function ComposerView_build__closure8(t0) {
this.$this = t0;
},
ComposerView_build___closure22: function ComposerView_build___closure22(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure20: function ComposerView_build___closure20(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build____closure20: function ComposerView_build____closure20(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure19: function ComposerView_build___closure19(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
ComposerView_build___closure21: function ComposerView_build___closure21(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
ComposerView_build____closure13: function ComposerView_build____closure13(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.constraints = t1;
_.context = t2;
_.constraintsEditor = t3;
},
ComposerView_build_____closure8: function ComposerView_build_____closure8(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraintsEditor = t2;
},
ComposerView_build_____closure7: function ComposerView_build_____closure7(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure14: function ComposerView_build____closure14(t0) {
this.$this = t0;
},
ComposerView_build_____closure6: function ComposerView_build_____closure6(t0) {
this.$this = t0;
},
ComposerView_build____closure15: function ComposerView_build____closure15(t0) {
this.$this = t0;
},
ComposerView_build____closure16: function ComposerView_build____closure16(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_____closure2: function ComposerView_build_____closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build_____closure1: function ComposerView_build_____closure1(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_____closure5: function ComposerView_build_____closure5(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____closure17: function ComposerView_build____closure17(t0) {
this.$this = t0;
},
ComposerView_build____closure18: function ComposerView_build____closure18(t0, t1) {
this.$this = t0;
this.constraintsEditor = t1;
},
ComposerView_build____closure19: function ComposerView_build____closure19(t0, t1, t2) {
this.$this = t0;
this.constraintsEditor = t1;
this.context = t2;
},
ComposerView_build_____closure: function ComposerView_build_____closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraintsEditor = t2;
},
ComposerView_build__closure7: function ComposerView_build__closure7(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build_closure1: function ComposerView_build_closure1(t0) {
this.$this = t0;
},
ComposerView_build__closure2: function ComposerView_build__closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build__closure0: function ComposerView_build__closure0(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__closure: function ComposerView_build__closure(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
ComposerView_build__closure1: function ComposerView_build__closure1(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
ComposerView_build___closure: function ComposerView_build___closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.constraints = t1;
_.context = t2;
_.constraintsBody = t3;
},
ComposerView_build____closure8: function ComposerView_build____closure8(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraintsBody = t2;
},
ComposerView_build____closure7: function ComposerView_build____closure7(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build___closure0: function ComposerView_build___closure0(t0) {
this.$this = t0;
},
ComposerView_build____closure6: function ComposerView_build____closure6(t0) {
this.$this = t0;
},
ComposerView_build___closure1: function ComposerView_build___closure1(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____closure0: function ComposerView_build____closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ComposerView_build____closure2: function ComposerView_build____closure2(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraints = t2;
},
ComposerView_build____closure1: function ComposerView_build____closure1(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____closure5: function ComposerView_build____closure5(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___closure3: function ComposerView_build___closure3(t0) {
this.$this = t0;
},
ComposerView_build___closure4: function ComposerView_build___closure4(t0, t1) {
this.$this = t0;
this.constraintsBody = t1;
},
ComposerView_build___closure5: function ComposerView_build___closure5(t0, t1, t2) {
this.$this = t0;
this.constraintsBody = t1;
this.context = t2;
},
ComposerView_build____closure: function ComposerView_build____closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.constraintsBody = t2;
},
ComposerView__createMoreOptionPopupItems_closure: function ComposerView__createMoreOptionPopupItems_closure(t0) {
this.$this = t0;
},
ComposerView__createMoreOptionPopupItems_closure0: function ComposerView__createMoreOptionPopupItems_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
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() {
},
FromComposerDropDownWidgetStyle_menuIemStyleData_closure: function FromComposerDropDownWidgetStyle_menuIemStyleData_closure() {
},
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, onDragEnter, onEditorSettings, onEditorTextSizeChanged, onFocus, onInitial, onInitialContentLoadComplete, onMouseDown, onPasteImageFailureAction, onPasteImageSuccessAction, width) {
return new B.WebEditorView(editorController, $arguments, contentViewState, currentWebContent, onInitial, onChangeContent, onFocus, onMouseDown, onEditorSettings, onEditorTextSizeChanged, width, height, onDragEnter, onPasteImageSuccessAction, onPasteImageFailureAction, onInitialContentLoadComplete, null);
},
WebEditorView: function WebEditorView(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
var _ = this;
_.editorController = t0;
_.$arguments = t1;
_.contentViewState = t2;
_.currentWebContent = t3;
_.onInitial = t4;
_.onChangeContent = t5;
_.onFocus = t6;
_.onMouseDown = t7;
_.onEditorSettings = t8;
_.onEditorTextSizeChanged = t9;
_.width = t10;
_.height = t11;
_.onDragEnter = t12;
_.onPasteImageSuccessAction = t13;
_.onPasteImageFailureAction = t14;
_.onInitialContentLoadComplete = t15;
_.key = t16;
},
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, t4, t5, t6, t7, t8) {
var _ = this;
_._attachment_item_composer_widget$_imagePaths = t0;
_.fileIcon = t1;
_.fileName = t2;
_.fileSize = t3;
_.uploadStatus = t4;
_.percentUploading = t5;
_.uploadTaskId = t6;
_.onDeleteAttachmentAction = t7;
_.key = t8;
},
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.uploadStatus = t0;
this.percentUploading = 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_closure0: function InsertImageLoadingBarWidget_build_closure0(t0) {
this.$this = t0;
},
InsertImageLoadingBarWidget__viewStateToUI_closure: function InsertImageLoadingBarWidget__viewStateToUI_closure() {
},
InsertImageLoadingBarWidget__viewStateToUI_closure0: function InsertImageLoadingBarWidget__viewStateToUI_closure0(t0) {
this.$this = t0;
},
FromComposerMobileWidget: function FromComposerMobileWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.selectedIdentity = t0;
_.imagePaths = t1;
_.padding = t2;
_.margin = t3;
_.onTap = t4;
_.key = t5;
},
RecipientComposerWidget$(bccState, ccState, controller, expandMode, focusNode, focusNodeKeyboard, fromState, imagePaths, isInitial, keyTagEditor, listEmailAddress, margin, maxWidth, minInputLengthAutocomplete, nextFocusNode, onAddEmailAddressTypeAction, onDeleteEmailAddressTypeAction, onFocusEmailAddressChangeAction, onFocusNextAddressAction, onRemoveDraggableEmailAddressAction, onShowFullListEmailAddressAction, onSuggestionEmailAddress, onUpdateListEmailAddressAction, padding, prefix) {
return new B.RecipientComposerWidget(prefix, listEmailAddress, imagePaths, maxWidth, expandMode, fromState, ccState, bccState, focusNode, focusNodeKeyboard, keyTagEditor, nextFocusNode, controller, onUpdateListEmailAddressAction, onSuggestionEmailAddress, onAddEmailAddressTypeAction, onShowFullListEmailAddressAction, onFocusEmailAddressChangeAction, onRemoveDraggableEmailAddressAction, onFocusNextAddressAction, padding, margin, minInputLengthAutocomplete, 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, t21, t22, t23) {
var _ = this;
_.prefix = t0;
_.listEmailAddress = t1;
_.imagePaths = t2;
_.maxWidth = t3;
_.expandMode = t4;
_.fromState = t5;
_.ccState = t6;
_.bccState = t7;
_.focusNode = t8;
_.focusNodeKeyboard = t9;
_.keyTagEditor = t10;
_.nextFocusNode = t11;
_.controller = t12;
_.onUpdateListEmailAddressAction = t13;
_.onSuggestionEmailAddress = t14;
_.onAddEmailAddressTypeAction = t15;
_.onShowFullListEmailAddressAction = t16;
_.onFocusEmailAddressChangeAction = t17;
_.onRemoveDraggableEmailAddressAction = t18;
_.onFocusNextAddressAction = t19;
_.padding = t20;
_.margin = t21;
_.minInputLengthAutocomplete = t22;
_.key = t23;
},
_RecipientComposerWidgetState: function _RecipientComposerWidgetState(t0) {
var _ = this;
_._recipient_composer_widget$_gapBetweenTagChangedAndFindSuggestion = null;
_._recipient_composer_widget$_isDragging = _._recipient_composer_widget$_lastTagFocused = false;
_.___RecipientComposerWidgetState__currentListEmailAddress_A = $;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_RecipientComposerWidgetState_build_closure0: function _RecipientComposerWidgetState_build_closure0(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build_closure: function _RecipientComposerWidgetState_build_closure(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build__closure: function _RecipientComposerWidgetState_build__closure(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_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___closure4: function _RecipientComposerWidgetState_build___closure4(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___closure7: function _RecipientComposerWidgetState_build___closure7() {
},
_RecipientComposerWidgetState_build___closure3: function _RecipientComposerWidgetState_build___closure3(t0) {
this.$this = t0;
},
_RecipientComposerWidgetState_build___closure9: function _RecipientComposerWidgetState_build___closure9(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___closure6: function _RecipientComposerWidgetState_build___closure6(t0, t1) {
this.$this = t0;
this.stateSetter = t1;
},
_RecipientComposerWidgetState_build___closure8: function _RecipientComposerWidgetState_build___closure8(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_closure1: function _RecipientComposerWidgetState_build_closure1(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__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;
_.imagePaths = t2;
_.suggestionValid = t3;
_.highlight = t4;
_.onSelectedAction = 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, t11, t12) {
var _ = this;
_.isCollapsed = t0;
_.isLatestTagFocused = t1;
_.isLatestEmail = t2;
_.imagePaths = t3;
_.maxWidth = t4;
_.index = t5;
_.prefix = t6;
_.currentEmailAddress = t7;
_.currentListEmailAddress = t8;
_.collapsedListEmailAddress = t9;
_.onShowFullAction = t10;
_.onDeleteTagAction = t11;
_.key = t12;
},
RecipientTagItemWidget_build_closure: function RecipientTagItemWidget_build_closure(t0) {
this.$this = t0;
},
RecipientTagItemWidget_build_closure0: function RecipientTagItemWidget_build_closure0(t0) {
this.$this = t0;
},
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, t1) {
var _ = this;
_._attachment_composer_widget$_imagePaths = t0;
_._isCollapsed = false;
_._widget = null;
_._debugLifecycleState = t1;
_._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;
},
AttachmentDropZoneWidget: function AttachmentDropZoneWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.imagePaths = t0;
_.width = t1;
_.height = t2;
_.onAttachmentDropZoneListener = t3;
_.key = t4;
},
AttachmentDropZoneWidget_build_closure: function AttachmentDropZoneWidget_build_closure(t0) {
this.$this = t0;
},
AttachmentDropZoneWidget_build_closure0: function AttachmentDropZoneWidget_build_closure0(t0) {
this.$this = t0;
},
BottomBarComposerWidget$(attachFileAction, deleteComposerAction, hasReadReceipt, insertImageAction, isCodeViewEnabled, isFormattingOptionsEnabled, 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, hasReadReceipt, openRichToolbarAction, attachFileAction, insertImageAction, showCodeViewAction, deleteComposerAction, saveToDraftAction, sendMessageAction, requestReadReceiptAction, 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;
_.hasReadReceipt = t2;
_.openRichToolbarAction = t3;
_.attachFileAction = t4;
_.insertImageAction = t5;
_.showCodeViewAction = t6;
_.deleteComposerAction = t7;
_.saveToDraftAction = t8;
_.sendMessageAction = t9;
_.requestReadReceiptAction = 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;
},
FromComposerDropDownWidget$(dropdownKey, imagePaths, itemSelected, items, margin, onChangeIdentity, padding) {
return new B.FromComposerDropDownWidget(items, dropdownKey, itemSelected, padding, margin, onChangeIdentity, imagePaths, null);
},
FromComposerDropDownWidget: function FromComposerDropDownWidget(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.items = t0;
_.dropdownKey = t1;
_.itemSelected = t2;
_.padding = t3;
_.margin = t4;
_.onChangeIdentity = t5;
_.imagePaths = t6;
_.key = t7;
},
FromComposerDropDownWidget_build_closure: function FromComposerDropDownWidget_build_closure() {
},
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, onDragEnter, onEditorSettings, onEditorTextSizeChanged, onFocus, onInitial, onInitialContentLoadComplete, onMouseDown, onPasteImageFailureAction, onPasteImageSuccessAction, onUnFocus, width) {
return new B.WebEditorWidget($content, direction, editorController, onInitial, onChangeContent, onFocus, onUnFocus, onMouseDown, onEditorSettings, onEditorTextSizeChanged, width, height, onDragEnter, onPasteImageSuccessAction, onPasteImageFailureAction, onInitialContentLoadComplete, null);
},
WebEditorWidget: function WebEditorWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
var _ = this;
_.content = t0;
_.direction = t1;
_.editorController = t2;
_.onInitial = t3;
_.onChangeContent = t4;
_.onFocus = t5;
_.onUnFocus = t6;
_.onMouseDown = t7;
_.onEditorSettings = t8;
_.onEditorTextSizeChanged = t9;
_.width = t10;
_.height = t11;
_.onDragEnter = t12;
_.onPasteImageSuccessAction = t13;
_.onPasteImageFailureAction = t14;
_.onInitialContentLoadComplete = t15;
_.key = t16;
},
_WebEditorState: function _WebEditorState(t0, t1) {
var _ = this;
_.___WebEditorState__editorController_A = $;
_.dropZoneHeight = _.dropZoneWidth = null;
_._htmlEditorHeight = t0;
_._dropListenerRegistered = false;
_._widget = _._dropListener = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
_WebEditorState_initState_closure: function _WebEditorState_initState_closure(t0) {
this.$this = t0;
},
_WebEditorState_build_closure: function _WebEditorState_build_closure(t0) {
this.$this = t0;
},
_WebEditorState_build__closure0: function _WebEditorState_build__closure0(t0) {
this.$this = t0;
},
_WebEditorState_build__closure1: function _WebEditorState_build__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
_WebEditorState_build__closure2: function _WebEditorState_build__closure2(t0) {
this.$this = t0;
},
_WebEditorState_build__closure: function _WebEditorState_build__closure() {
},
EmailView: function EmailView(t0) {
this.key = t0;
},
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___closure0: function EmailView_build___closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
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__closure0: function EmailView_build__closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView_build__closure1: function EmailView_build__closure1(t0, t1) {
this.$this = t0;
this.currentEmail = t1;
},
EmailView_build___closure: function EmailView_build___closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.constraints = t1;
_.currentEmail = t2;
_.context = t3;
},
EmailView_build____closure: function EmailView_build____closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.currentEmail = t1;
_.context = t2;
_.constraints = t3;
},
EmailView__buildEmailMessage_closure: function EmailView__buildEmailMessage_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.presentationEmail = t1;
_.maxBodyHeight = t2;
_.context = t3;
},
EmailView__buildEmailMessage__closure5: function EmailView__buildEmailMessage__closure5(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, t1) {
this.$this = t0;
this.context = t1;
},
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) {
this.$this = t0;
this.context = t1;
},
EmailView__buildEmailMessage__closure4: function EmailView__buildEmailMessage__closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailView__buildEmailMessage_closure2: function EmailView__buildEmailMessage_closure2(t0) {
this.$this = t0;
},
EmailView__buildEmailMessage_closure3: function EmailView__buildEmailMessage_closure3(t0, t1, t2) {
this.$this = t0;
this.calendarEvent = t1;
this.presentationEmail = t2;
},
EmailView__buildEmailMessage__closure0: function EmailView__buildEmailMessage__closure0(t0, t1) {
this.$this = t0;
this.presentationEmail = t1;
},
EmailView__buildEmailMessage_closure4: function EmailView__buildEmailMessage_closure4(t0, t1) {
this.$this = t0;
this.calendarEvent = t1;
},
EmailView__buildEmailMessage_closure5: function EmailView__buildEmailMessage_closure5(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__emailActionMoreActionTile_closure: function EmailView__emailActionMoreActionTile_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.presentationEmail = t2;
},
EmailView__emailActionMoreActionTile__closure: function EmailView__emailActionMoreActionTile__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.action = t2;
},
EmailView__popupMenuEmailActionTile_closure: function EmailView__popupMenuEmailActionTile_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.presentationEmail = t2;
},
EmailView__popupMenuEmailActionTile__closure: function EmailView__popupMenuEmailActionTile__closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.presentationEmail = t2;
_.action = t3;
},
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_CTL, 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_CTL, 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_CTL, 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_CTL, 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_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Your counter proposal was declined", _null, "messageEventActionBannerAttendeeCounterDeclined", _null, _null);
default:
return "";
}
},
CalendarEventExtension_getUserNameEventAction(_this, context, imagePaths, listEmailAddressSender) {
switch (_this.method) {
case C.EventMethod_1:
case C.EventMethod_3:
case C.EventMethod_5:
case C.EventMethod_4:
case C.EventMethod_7:
return B.CalendarEventExtension_get_organizerName(_this);
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_CTL, type$.AppLocalizations).toString;
t1 = A.Intl__message(_s11_, _null, _s10_, _null, _null);
}
return t1;
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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(0))
return listMatchedAttendee.get$first(0);
}
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_CTL, 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_CTL, 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_CTL, 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, locale, dateTime) {
return B.formatDate(dateTime, A._setArrayType(["DD", ", ", "MM", " ", "dd", ", ", "yyyy", " ", "hh", ":", "nn", " ", "am"], type$.JSArray_String), locale);
},
CalendarEventExtension_get_isAllDayEvent(_this) {
var startDateValue, endDateValue, eventDurationInHours,
t1 = _this.startUtcDate;
if (t1 != null && _this.endUtcDate != null) {
startDateValue = t1.value;
endDateValue = _this.endUtcDate.value;
eventDurationInHours = C.JSInt_methods._tdivFast$1(A.Duration$(0, 0, 0, startDateValue._core$_value - endDateValue._core$_value, 0, 0)._duration, 3600000000);
return A.Primitives_getHours(startDateValue) === 0 && A.Primitives_getMinutes(startDateValue) === 0 && A.Primitives_getSeconds(startDateValue) === 0 && A.Primitives_getHours(endDateValue) === 0 && A.Primitives_getMinutes(endDateValue) === 0 && A.Primitives_getSeconds(endDateValue) === 0 && C.JSInt_methods.$mod(eventDurationInHours, 24) === 0;
}
return false;
},
CalendarEventExtension_dateTimeStringForAllDayEvent(_this, dateLocale, endDate, startDate, timeZone) {
var t1 = type$.JSArray_String,
dateStart = B.formatDate(startDate, A._setArrayType(["DD", ", ", "MM", " ", "dd", ", ", "yyyy"], t1), dateLocale),
endDateToDisplay = endDate.subtract$1(C.Duration_86400000000),
dateEnd = B.formatDate(endDateToDisplay, A._setArrayType(["DD", ", ", "MM", " ", "dd", ", ", "yyyy"], t1), dateLocale);
if (A.DateUtils_isSameDay(startDate, endDateToDisplay))
return dateStart + " (" + timeZone + ")";
else
return dateStart + " - " + dateEnd + " (" + timeZone + ")";
},
CalendarEventExtension_getDateTimeEvent(_this, dateLocale, timeZone) {
var t1, timeStart, timeEnd;
if (B.CalendarEventExtension_get_isAllDayEvent(_this)) {
t1 = _this.startUtcDate.value;
return B.CalendarEventExtension_dateTimeStringForAllDayEvent(_this, dateLocale, _this.endUtcDate.value, t1, timeZone);
}
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, dateLocale, 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", ":", "nn", " ", "am"], type$.JSArray_String), dateLocale);
} else {
t1 = B.CalendarEventExtension_get_localEndDate(_this);
t1.toString;
timeEnd = B.CalendarEventExtension_formatDateTime(_this, dateLocale, 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, dateLocale, t1);
} else if (B.CalendarEventExtension_get_localEndDate(_this) != null) {
t1 = B.CalendarEventExtension_get_localEndDate(_this);
t1.toString;
return B.CalendarEventExtension_formatDateTime(_this, dateLocale, 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_get_isDisplayedEventReplyAction(_this) {
var t1 = _this.method;
if (t1 != null)
if (t1 === C.EventMethod_1 || t1 === C.EventMethod_3 || t1 === C.EventMethod_6)
if (_this.organizer != null) {
t1 = _this.participants;
t1 = (t1 == null ? null : t1.length !== 0) === true;
} else
t1 = false;
else
t1 = false;
else
t1 = false;
return t1;
},
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_withoutOrganizer(_this, organizer) {
var t1;
if (organizer == null)
return _this;
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_withoutOrganizer_closure: function ListAttendeeExtension_withoutOrganizer_closure(t0) {
this.organizer = t0;
},
AttachmentItemWidget: function AttachmentItemWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.attachment = t0;
_.downloadAttachmentAction = t1;
_.viewAttachmentAction = t2;
_._attachment_item_widget$_imagePaths = t3;
_._attachment_item_widget$_responsiveUtils = t4;
_.key = t5;
},
AttachmentItemWidget_build_closure: function AttachmentItemWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
AttachmentItemWidget_build__closure: function AttachmentItemWidget_build__closure(t0) {
this.$this = t0;
},
AttachmentItemWidget_build__closure0: function AttachmentItemWidget_build__closure0(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$(calendarEventReplying, margin, onCalendarEventReplyActionClick, onMailToAttendeesAction, presentationEmail) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.CalendarEventActionButtonWidget(margin, onCalendarEventReplyActionClick, calendarEventReplying, presentationEmail, onMailToAttendeesAction, t1.find$1$1$tag(0, null, type$.ResponsiveUtils), null);
},
CalendarEventActionButtonWidget: function CalendarEventActionButtonWidget(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.margin = t0;
_.onCalendarEventReplyActionClick = t1;
_.calendarEventReplying = t2;
_.presentationEmail = t3;
_.onMailToAttendeesAction = t4;
_._calendar_event_action_button_widget$_responsiveUtils = t5;
_.key = t6;
},
CalendarEventActionButtonWidget_build_closure: function CalendarEventActionButtonWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
CalendarEventActionButtonWidget__getCallbackFunction_closure: function CalendarEventActionButtonWidget__getCallbackFunction_closure(t0, t1) {
this.$this = t0;
this.eventActionType = t1;
},
CalendarEventActionButtonWidget__getCallbackFunction_closure0: function CalendarEventActionButtonWidget__getCallbackFunction_closure0(t0, t1) {
this.$this = t0;
this.eventActionType = t1;
},
CalendarEventActionButtonWidget__getCallbackFunction_closure1: function CalendarEventActionButtonWidget__getCallbackFunction_closure1(t0, t1) {
this.$this = t0;
this.eventActionType = t1;
},
CalendarEventDetailWidget: function CalendarEventDetailWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.calendarEvent = t0;
_.emailContent = t1;
_.isDraggableAppActive = t2;
_.onMailtoDelegateAction = t3;
_.key = t4;
},
CalendarEventInformationWidget: function CalendarEventInformationWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.calendarEvent = t0;
_.onOpenNewTabAction = t1;
_.onOpenComposerAction = t2;
_.onCalendarEventReplyActionClick = t3;
_.calendarEventReplying = t4;
_.presentationEmail = t5;
_.onMailtoAttendeesAction = t6;
_._calendar_event_information_widget$_responsiveUtils = t7;
_.key = t8;
},
CalendarEventInformationWidget_build_closure: function CalendarEventInformationWidget_build_closure(t0) {
this.$this = t0;
},
CalendarEventInformationWidget_build_closure0: function CalendarEventInformationWidget_build_closure0(t0) {
this.$this = t0;
},
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__closure0: function _EventAttendeeDetailWidgetState_build__closure0(t0) {
this.$this = t0;
},
_EventAttendeeDetailWidgetState_build_closure1: function _EventAttendeeDetailWidgetState_build_closure1(t0) {
this.$this = t0;
},
_EventAttendeeDetailWidgetState_build__closure: function _EventAttendeeDetailWidgetState_build__closure(t0) {
this.$this = t0;
},
EventBodyContentWidget: function EventBodyContentWidget(t0, t1, t2, t3) {
var _ = this;
_.content = t0;
_.isDraggableAppActive = t1;
_.onMailtoDelegateAction = t2;
_.key = t3;
},
EventBodyContentWidget_build_closure: function EventBodyContentWidget_build_closure(t0) {
this.$this = t0;
},
EventLinkDetailWidget: function EventLinkDetailWidget(t0, t1) {
this.listHyperLink = t0;
this.key = t1;
},
EventLinkDetailWidget_build_closure: function EventLinkDetailWidget_build_closure() {
},
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;
},
EventTimeInformationWidget: function EventTimeInformationWidget(t0, t1) {
this.timeEvent = t0;
this.key = t1;
},
EventTitleWidget: function EventTitleWidget(t0, t1) {
this.title = t0;
this.key = t1;
},
HideAllAttendeesButtonWidget: function HideAllAttendeesButtonWidget(t0, t1) {
this.onTap = 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, t5) {
var _ = this;
_.attachment = t0;
_.onDragStarted = t1;
_.onDragEnd = t2;
_.downloadAttachmentAction = t3;
_.viewAttachmentAction = t4;
_.key = t5;
},
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, t8) {
var _ = this;
_.attachments = t0;
_.onDragStarted = t1;
_.onDragEnd = t2;
_.downloadAttachmentAction = t3;
_.viewAttachmentAction = t4;
_.responsiveUtils = t5;
_.imagePaths = t6;
_.onTapShowAllAttachmentFile = t7;
_.key = t8;
},
EmailAttachmentsWidget_build_closure: function EmailAttachmentsWidget_build_closure(t0) {
this.$this = t0;
},
EmailReceiverWidget: function EmailReceiverWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.emailSelected = t0;
_.maxWidth = t1;
_.maxHeight = t2;
_.openEmailAddressDetailAction = t3;
_.key = t4;
},
_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__closure0: function _EmailReceiverWidgetState_build__closure0(t0) {
this.$this = t0;
},
_EmailReceiverWidgetState_build_closure0: function _EmailReceiverWidgetState_build_closure0(t0) {
this.$this = t0;
},
_EmailReceiverWidgetState_build__closure: function _EmailReceiverWidgetState_build__closure(t0) {
this.$this = t0;
},
_EmailReceiverWidgetState__buildRecipientsTag_closure: function _EmailReceiverWidgetState__buildRecipientsTag_closure(t0, t1) {
this.$this = t0;
this.listEmailAddress = t1;
},
_EmailReceiverWidgetState__buildRecipientsTag__closure0: function _EmailReceiverWidgetState__buildRecipientsTag__closure0(t0, t1) {
this.$this = t0;
this.emailAddress = t1;
},
_EmailReceiverWidgetState__buildRecipientsTag__closure: function _EmailReceiverWidgetState__buildRecipientsTag__closure(t0, t1) {
this.$this = 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, t10) {
var _ = this;
_._email_view_app_bar_widget$_imagePaths = t0;
_._email_view_app_bar_widget$_responsiveUtils = t1;
_._email_view_app_bar_widget$_singleEmailController = t2;
_.presentationEmail = t3;
_.optionsWidget = t4;
_.mailboxContain = t5;
_.isSearchActivated = t6;
_.onBackAction = t7;
_.onEmailActionClick = t8;
_.onMoreActionClick = t9;
_.key = t10;
},
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__closure3: function EmailViewAppBarWidget_build__closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailViewAppBarWidget_build___closure: function EmailViewAppBarWidget_build___closure(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__closure4: function EmailViewAppBarWidget_build__closure4(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, t5) {
var _ = this;
_._email_view_bottom_bar_widget$_imagePaths = t0;
_._email_view_bottom_bar_widget$_responsiveUtils = t1;
_._singleEmailController = t2;
_.presentationEmail = t3;
_.emailActionCallback = t4;
_.key = t5;
},
EmailViewBottomBarWidget_build_closure: function EmailViewBottomBarWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailViewBottomBarWidget_build__closure1: function EmailViewBottomBarWidget_build__closure1(t0) {
this.$this = t0;
},
EmailViewBottomBarWidget_build_closure0: function EmailViewBottomBarWidget_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailViewBottomBarWidget_build__closure0: function EmailViewBottomBarWidget_build__closure0(t0) {
this.$this = t0;
},
EmailViewBottomBarWidget_build_closure1: function EmailViewBottomBarWidget_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailViewBottomBarWidget_build__closure: function EmailViewBottomBarWidget_build__closure(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, t3, t4, t5, t6, t7, t8) {
var _ = this;
_.emailSelected = t0;
_.responsiveUtils = t1;
_.imagePaths = t2;
_.emailUnsubscribe = t3;
_.openEmailAddressDetailAction = t4;
_.onEmailActionClick = t5;
_.maxBodyHeight = t6;
_.sMimeStatus = t7;
_.key = t8;
},
InformationSenderAndReceiverBuilder_build_closure: function InformationSenderAndReceiverBuilder_build_closure(t0) {
this.$this = t0;
},
InformationSenderAndReceiverBuilder_build__closure: function InformationSenderAndReceiverBuilder_build__closure(t0) {
this.$this = t0;
},
MailUnsubscribedBanner: function MailUnsubscribedBanner(t0, t1, t2) {
this.presentationEmail = t0;
this.emailUnsubscribe = t1;
this.key = t2;
},
PrefixRecipientWidget: function PrefixRecipientWidget(t0, t1) {
this.prefixEmailAddress = t0;
this.key = t1;
},
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$() {
return new B.MailboxView(null);
},
MailboxView: function MailboxView(t0) {
this.key = t0;
},
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) {
this.option = t0;
},
HandleEmailActionTypeAction: function HandleEmailActionTypeAction(t0, t1) {
this.emailAction = t0;
this.listEmailSelected = t1;
},
OpenEmailDetailedFromSuggestionQuickSearchAction: function OpenEmailDetailedFromSuggestionQuickSearchAction(t0) {
this.presentationEmail = t0;
},
BaseMailboxDashBoardView: function BaseMailboxDashBoardView() {
},
_BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin: function _BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin() {
},
_BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin_AppLoaderMixin: function _BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin_AppLoaderMixin() {
},
MailboxDashBoardView$() {
$.$get$Get();
var t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.MailboxDashBoardView(t1.find$1$1$tag(0, null, type$.ImagePaths), null);
},
MailboxDashBoardView: function MailboxDashBoardView(t0, t1) {
this.FilterEmailPopupMenuMixin__imagePaths = t0;
this.key = t1;
},
MailboxDashBoardView_build_closure6: function MailboxDashBoardView_build_closure6(t0) {
this.context = t0;
},
MailboxDashBoardView_build_closure: function MailboxDashBoardView_build_closure(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__closure1: function MailboxDashBoardView_build__closure1(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure0: function MailboxDashBoardView_build_closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure1: function MailboxDashBoardView_build_closure1(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure2: function MailboxDashBoardView_build_closure2(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure3: function MailboxDashBoardView_build_closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_build_closure4: function MailboxDashBoardView_build_closure4(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_closure5: function MailboxDashBoardView_build_closure5(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView_build_closure8: function MailboxDashBoardView_build_closure8(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure7: function MailboxDashBoardView_build_closure7(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure9: function MailboxDashBoardView_build_closure9(t0) {
this.$this = t0;
},
MailboxDashBoardView_build_closure10: function MailboxDashBoardView_build_closure10(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) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar_closure: function MailboxDashBoardView__buildListButtonTopBar_closure(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__closure1: function MailboxDashBoardView__buildListButtonTopBar__closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildListButtonTopBar_closure2: function MailboxDashBoardView__buildListButtonTopBar_closure2(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar__closure0: function MailboxDashBoardView__buildListButtonTopBar__closure0(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar_closure3: function MailboxDashBoardView__buildListButtonTopBar_closure3(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar__closure: function MailboxDashBoardView__buildListButtonTopBar__closure(t0) {
this.$this = t0;
},
MailboxDashBoardView__buildListButtonTopBar_closure4: function MailboxDashBoardView__buildListButtonTopBar_closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__onSelectFilterMessageOptionAction_closure: function MailboxDashBoardView__onSelectFilterMessageOptionAction_closure(t0) {
this.$this = t0;
},
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.listDownloadTasks = 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__buildQuickSearchFilterButton_closure: function MailboxDashBoardView__buildQuickSearchFilterButton_closure(t0, t1, t2) {
this.$this = t0;
this.searchFilter = t1;
this.context = t2;
},
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_popupMenuEmailSortOrderType_closure: function MailboxDashBoardView_popupMenuEmailSortOrderType_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.sortOrderSelected = t2;
_.onCallBack = t3;
},
MailboxDashBoardView_popupMenuEmailSortOrderType__closure: function MailboxDashBoardView_popupMenuEmailSortOrderType__closure(t0, t1) {
this.onCallBack = t0;
this.sortType = t1;
},
MailboxDashBoardView__openPopupMenuDateFilter_closure: function MailboxDashBoardView__openPopupMenuDateFilter_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
MailboxDashBoardView__buildComposerButton_closure: function MailboxDashBoardView__buildComposerButton_closure(t0) {
this.$this = t0;
},
FilterEmailPopupMenuMixin: function FilterEmailPopupMenuMixin() {
},
FilterEmailPopupMenuMixin__filterEmailAction_closure: function FilterEmailPopupMenuMixin__filterEmailAction_closure(t0, t1) {
this.onCallBack = t0;
this.option = t1;
},
AdvancedSearchFilterFormBottomView: function AdvancedSearchFilterFormBottomView(t0, t1) {
this.focusManager = t0;
this.key = t1;
},
AdvancedSearchFilterFormBottomView__buildListButton_closure: function AdvancedSearchFilterFormBottomView__buildListButton_closure(t0) {
this.$this = t0;
},
AdvancedSearchFilterFormBottomView__buildListButton_closure0: function AdvancedSearchFilterFormBottomView__buildListButton_closure0(t0) {
this.$this = t0;
},
AdvancedSearchFilterFormBottomView__buildListButton_closure1: function AdvancedSearchFilterFormBottomView__buildListButton_closure1(t0) {
this.$this = t0;
},
AdvancedSearchFilterFormBottomView__buildListButton_closure2: function AdvancedSearchFilterFormBottomView__buildListButton_closure2(t0) {
this.$this = t0;
},
AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment_closure: function AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.nextFocusNode = t1;
_.context = t2;
_.currentFocusNode = t3;
},
AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment__closure: function AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment__closure(t0) {
this.nextFocusNode = t0;
},
AdvancedSearchFilterFormBottomView__buildButton_closure: function AdvancedSearchFilterFormBottomView__buildButton_closure(t0) {
this.nextFocusNode = t0;
},
AdvancedSearchFilterOverlay: function AdvancedSearchFilterOverlay(t0) {
this.key = t0;
},
AdvancedSearchFilterOverlay_build_closure: function AdvancedSearchFilterOverlay_build_closure() {
},
AdvancedSearchInputForm: function AdvancedSearchInputForm(t0) {
this.key = t0;
},
AdvancedSearchInputForm_build_closure5: function AdvancedSearchInputForm_build_closure5(t0) {
this.$this = t0;
},
AdvancedSearchInputForm_build_closure6: function AdvancedSearchInputForm_build_closure6(t0) {
this.$this = t0;
},
AdvancedSearchInputForm_build_closure: function AdvancedSearchInputForm_build_closure(t0) {
this.$this = t0;
},
AdvancedSearchInputForm_build_closure0: function AdvancedSearchInputForm_build_closure0(t0) {
this.$this = t0;
},
AdvancedSearchInputForm_build_closure1: function AdvancedSearchInputForm_build_closure1(t0) {
this.$this = t0;
},
AdvancedSearchInputForm_build_closure2: function AdvancedSearchInputForm_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm_build_closure3: function AdvancedSearchInputForm_build_closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm_build_closure4: function AdvancedSearchInputForm_build_closure4(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles_closure: function AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles__closure: function AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.receiveTime = t2;
},
AdvancedSearchInputForm__buildFilterField_closure: function AdvancedSearchInputForm__buildFilterField_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm__buildFilterField__closure: function AdvancedSearchInputForm__buildFilterField__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm__buildFilterField_closure0: function AdvancedSearchInputForm__buildFilterField_closure0(t0) {
this.$this = t0;
},
AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure: function AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm__buildTextFieldFilterForWeb__closure: function AdvancedSearchInputForm__buildTextFieldFilterForWeb__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure0: function AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure0(t0) {
this.$this = t0;
},
AdvancedSearchInputForm__buildTextField_closure0: function AdvancedSearchInputForm__buildTextField_closure0(t0) {
this.nextFocusNode = t0;
},
AdvancedSearchInputForm__buildTextField_closure: function AdvancedSearchInputForm__buildTextField_closure(t0, t1, t2) {
this.$this = t0;
this.isSelectFormList = t1;
this.onTap = t2;
},
_AdvancedSearchInputForm_GetWidget_PopupContextMenuActionMixin: function _AdvancedSearchInputForm_GetWidget_PopupContextMenuActionMixin() {
},
AutoCompleteSuggestionItemWidgetWeb: function AutoCompleteSuggestionItemWidgetWeb(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.suggestionState = t0;
_.emailAddress = t1;
_.suggestionValid = t2;
_.highlight = t3;
_.onSelectedAction = t4;
_._autocomplete_suggestion_item_widget_web$_imagePaths = t5;
_.key = t6;
},
AutoCompleteSuggestionItemWidgetWeb_build_closure: function AutoCompleteSuggestionItemWidgetWeb_build_closure(t0) {
this.$this = t0;
},
AutoCompleteTagItemWidgetWeb: function AutoCompleteTagItemWidgetWeb(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.isCollapsed = t0;
_.isLatestTagFocused = t1;
_.isLatestEmail = t2;
_.field = t3;
_.currentEmailAddress = t4;
_.currentListEmailAddress = t5;
_.collapsedListEmailAddress = t6;
_.onDeleteTagAction = t7;
_.onShowFullAction = t8;
_._autocomplete_tag_item_widget_web$_imagePaths = t9;
_.key = t10;
},
AutoCompleteTagItemWidgetWeb_build_closure0: function AutoCompleteTagItemWidgetWeb_build_closure0(t0) {
this.$this = t0;
},
AutoCompleteTagItemWidgetWeb_build_closure: function AutoCompleteTagItemWidgetWeb_build_closure(t0) {
this.$this = t0;
},
AutoCompleteTagItemWidgetWeb_build_closure1: function AutoCompleteTagItemWidgetWeb_build_closure1(t0) {
this.$this = t0;
},
AvatarSuggestionItemWidget: function AvatarSuggestionItemWidget(t0, t1) {
this.emailAddress = t0;
this.key = t1;
},
AvatarTagItemWidget: function AvatarTagItemWidget(t0, t1) {
this.tagName = t0;
this.key = t1;
},
DateDropDownButton: function DateDropDownButton(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.imagePaths = t0;
_.startDate = t1;
_.endDate = t2;
_.receiveTimeSelected = t3;
_.onReceiveTimeSelected = t4;
_.key = t5;
},
DateDropDownButton_build_closure: function DateDropDownButton_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
DateDropDownButton_build_closure0: function DateDropDownButton_build_closure0(t0) {
this.$this = t0;
},
IconOpenAdvancedSearchWidget: function IconOpenAdvancedSearchWidget(t0, t1, t2, t3) {
var _ = this;
_._icon_open_advanced_search_widget$_imagePaths = t0;
_.searchController = t1;
_.advancedFilterController = t2;
_.key = t3;
},
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;
},
SortByDropDownButton: function SortByDropDownButton(t0, t1, t2, t3) {
var _ = this;
_.imagePaths = t0;
_.sortOrderSelected = t1;
_.onSortOrderSelected = t2;
_.key = t3;
},
SortByDropDownButton_build_closure: function SortByDropDownButton_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
TextFieldAutocompleteEmailAddressWeb$(controller, expandMode, field, focusNode, keyTagEditor, listEmailAddress, minInputLengthAutocomplete, nextFocusNode, onRemoveDraggableEmailAddressAction, onSearchAction, onShowFullListEmailAddressAction, onSuggestionEmailAddress, onUpdateListEmailAddressAction) {
return new B.TextFieldAutocompleteEmailAddressWeb(field, listEmailAddress, expandMode, focusNode, keyTagEditor, nextFocusNode, onSuggestionEmailAddress, onUpdateListEmailAddressAction, onShowFullListEmailAddressAction, onRemoveDraggableEmailAddressAction, controller, onSearchAction, minInputLengthAutocomplete, null);
},
TextFieldAutocompleteEmailAddressWeb: function TextFieldAutocompleteEmailAddressWeb(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13) {
var _ = this;
_.field = t0;
_.listEmailAddress = t1;
_.expandMode = t2;
_.focusNode = t3;
_.keyTagEditor = t4;
_.nextFocusNode = t5;
_.onSuggestionEmailAddress = t6;
_.onUpdateListEmailAddressAction = t7;
_.onShowFullListEmailAddressAction = t8;
_.onRemoveDraggableEmailAddressAction = t9;
_.controller = t10;
_.onSearchAction = t11;
_.minInputLengthAutocomplete = t12;
_.key = t13;
},
_TextFieldAutocompleteEmailAddressWebState: function _TextFieldAutocompleteEmailAddressWebState(t0) {
var _ = this;
_._isDragging = _._lastTagFocused = false;
_.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A = $;
_._widget = _._gapBetweenTagChangedAndFindSuggestion = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_TextFieldAutocompleteEmailAddressWebState_build_closure: function _TextFieldAutocompleteEmailAddressWebState_build_closure(t0) {
this.$this = t0;
},
_TextFieldAutocompleteEmailAddressWebState_build__closure: function _TextFieldAutocompleteEmailAddressWebState_build__closure(t0, t1) {
this.$this = t0;
this.constraints = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build___closure0: function _TextFieldAutocompleteEmailAddressWebState_build___closure0(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build___closure1: function _TextFieldAutocompleteEmailAddressWebState_build___closure1(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure0: function _TextFieldAutocompleteEmailAddressWebState_build____closure0(t0) {
this.$this = t0;
},
_TextFieldAutocompleteEmailAddressWebState_build___closure2: function _TextFieldAutocompleteEmailAddressWebState_build___closure2(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure: function _TextFieldAutocompleteEmailAddressWebState_build____closure(t0) {
this.$this = t0;
},
_TextFieldAutocompleteEmailAddressWebState_build___closure: function _TextFieldAutocompleteEmailAddressWebState_build___closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.constraints = t2;
_.setState = t3;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure2: function _TextFieldAutocompleteEmailAddressWebState_build____closure2(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure1: function _TextFieldAutocompleteEmailAddressWebState_build____closure1(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure4: function _TextFieldAutocompleteEmailAddressWebState_build____closure4(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure5: function _TextFieldAutocompleteEmailAddressWebState_build____closure5(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure8: function _TextFieldAutocompleteEmailAddressWebState_build____closure8(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build_____closure: function _TextFieldAutocompleteEmailAddressWebState_build_____closure(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure6: function _TextFieldAutocompleteEmailAddressWebState_build____closure6(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure7: function _TextFieldAutocompleteEmailAddressWebState_build____closure7(t0, t1) {
this.$this = t0;
this.setState = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build_____closure0: function _TextFieldAutocompleteEmailAddressWebState_build_____closure0(t0, t1, t2) {
this.$this = t0;
this.setState = t1;
this.tagEditorState = t2;
},
_TextFieldAutocompleteEmailAddressWebState_build______closure: function _TextFieldAutocompleteEmailAddressWebState_build______closure(t0, t1) {
this.$this = t0;
this.emailAddress = t1;
},
_TextFieldAutocompleteEmailAddressWebState_build____closure3: function _TextFieldAutocompleteEmailAddressWebState_build____closure3(t0) {
this.$this = t0;
},
_TextFieldAutocompleteEmailAddressWebState__findSuggestions_closure: function _TextFieldAutocompleteEmailAddressWebState__findSuggestions_closure(t0) {
this.$this = t0;
},
_TextFieldAutocompleteEmailAddressWebState__isDuplicated_closure: function _TextFieldAutocompleteEmailAddressWebState__isDuplicated_closure() {
},
_TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure: function _TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure(t0) {
this.query = t0;
},
_TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure0: function _TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure0() {
},
_TextFieldAutocompleteEmailAddressWebState__handleFocusTagAction_closure: function _TextFieldAutocompleteEmailAddressWebState__handleFocusTagAction_closure(t0, t1) {
this.$this = t0;
this.focused = t1;
},
_TextFieldAutocompleteEmailAddressWebState__handleDeleteTagAction_closure: function _TextFieldAutocompleteEmailAddressWebState__handleDeleteTagAction_closure(t0, t1) {
this.$this = t0;
this.emailAddress = t1;
},
_TextFieldAutocompleteEmailAddressWebState__handleSelectOptionAction_closure: function _TextFieldAutocompleteEmailAddressWebState__handleSelectOptionAction_closure(t0, t1) {
this.$this = t0;
this.suggestionEmailAddress = t1;
},
_TextFieldAutocompleteEmailAddressWebState__handleSubmitTagAction_closure: function _TextFieldAutocompleteEmailAddressWebState__handleSubmitTagAction_closure(t0, t1) {
this.$this = t0;
this.textTrim = t1;
},
_TextFieldAutocompleteEmailAddressWebState__handleOnTagChangeAction_closure: function _TextFieldAutocompleteEmailAddressWebState__handleOnTagChangeAction_closure(t0, t1) {
this.$this = t0;
this.textTrim = t1;
},
_TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure: function _TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure(t0, t1) {
this.$this = t0;
this.draggableEmailAddress = t1;
},
_TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure0: function _TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure0(t0) {
this.$this = t0;
},
_TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure1: function _TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure1(t0) {
this.$this = t0;
},
DownloadTaskItemWidget: function DownloadTaskItemWidget(t0, t1) {
this.taskState = t0;
this.key = t1;
},
MarkMailboxAsReadLoadingBanner: function MarkMailboxAsReadLoadingBanner(t0, t1) {
this.viewState = t0;
this.key = t1;
},
MarkMailboxAsReadLoadingBanner_build_closure: function MarkMailboxAsReadLoadingBanner_build_closure() {
},
MarkMailboxAsReadLoadingBanner_build_closure0: function MarkMailboxAsReadLoadingBanner_build_closure0(t0) {
this.$this = t0;
},
_MarkMailboxAsReadLoadingBanner_StatelessWidget_AppLoaderMixin: function _MarkMailboxAsReadLoadingBanner_StatelessWidget_AppLoaderMixin() {
},
ContactQuickSearchItem: function ContactQuickSearchItem(t0, t1) {
this.emailAddress = t0;
this.key = t1;
},
EmailQuickSearchItemTileWidget$(_presentationEmail, _presentationMailbox, contentPadding, searchQuery) {
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, searchQuery, null);
},
EmailQuickSearchItemTileWidget: function EmailQuickSearchItemTileWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.imagePath = t0;
_._presentationEmail = t1;
_._email_quick_search_item_tile_widget$_presentationMailbox = t2;
_.contentPadding = t3;
_.searchQuery = t4;
_.key = t5;
},
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;
},
RecoverDeletedMessageLoadingBannerWidget: function RecoverDeletedMessageLoadingBannerWidget(t0, t1, t2, t3) {
var _ = this;
_.isLoading = t0;
_.horizontalLoadingWidget = t1;
_.responsiveUtils = t2;
_.key = t3;
},
FilterMessageButton: function FilterMessageButton(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.filterMessageOption = t0;
_.isSelected = t1;
_.imagePaths = t2;
_.onSelectFilterMessageOptionAction = t3;
_.onDeleteFilterMessageOptionAction = t4;
_.key = t5;
},
FilterMessageButton_build_closure: function FilterMessageButton_build_closure(t0) {
this.$this = t0;
},
FilterMessageButton_build_closure0: function FilterMessageButton_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
FilterMessageButton_build_closure1: function FilterMessageButton_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchFilterButton$(backgroundColor, buttonPadding, endDate, imagePaths, isSelected, key, listAddressOfFrom, listAddressOfTo, mailbox, onDeleteSearchFilterAction, onSelectSearchFilterAction, receiveTimeType, responsiveUtils, searchFilter, sortOrderType, startDate, userName) {
return new B.SearchFilterButton(searchFilter, isSelected, imagePaths, responsiveUtils, receiveTimeType, sortOrderType, startDate, endDate, listAddressOfFrom, listAddressOfTo, userName, mailbox, backgroundColor, buttonPadding, onSelectSearchFilterAction, onDeleteSearchFilterAction, key);
},
SearchFilterButton: function SearchFilterButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16) {
var _ = this;
_.searchFilter = t0;
_.isSelected = t1;
_.imagePaths = t2;
_.responsiveUtils = t3;
_.receiveTimeType = t4;
_.sortOrderType = t5;
_.startDate = t6;
_.endDate = t7;
_.listAddressOfFrom = t8;
_.listAddressOfTo = t9;
_.userName = t10;
_.mailbox = t11;
_.backgroundColor = t12;
_.buttonPadding = t13;
_.onSelectSearchFilterAction = t14;
_.onDeleteSearchFilterAction = t15;
_.key = t16;
},
SearchFilterButton_build_closure: function SearchFilterButton_build_closure(t0) {
this.$this = t0;
},
SearchFilterButton_build_closure0: function SearchFilterButton_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchFilterButton_build_closure1: function SearchFilterButton_build_closure1(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchFilterButton_build_closure2: function SearchFilterButton_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchInputFormWidget: function SearchInputFormWidget(t0, t1, t2, t3, t4) {
var _ = this;
_._searchController = t0;
_._search_input_form_widget$_dashBoardController = t1;
_._search_input_form_widget$_imagePaths = t2;
_._search_input_form_widget$_responsiveUtils = t3;
_.key = t4;
},
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__closure5: function SearchInputFormWidget_build__closure5(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure4: function SearchInputFormWidget_build__closure4() {
},
SearchInputFormWidget_build__closure3: function SearchInputFormWidget_build__closure3(t0) {
this.$this = t0;
},
SearchInputFormWidget_build__closure2: function SearchInputFormWidget_build__closure2() {
},
SearchInputFormWidget__buildShowAllResultButton_closure: function SearchInputFormWidget__buildShowAllResultButton_closure(t0, t1) {
this.$this = t0;
this.keyword = t1;
},
SearchInputFormWidget__createConfiguration_closure0: function SearchInputFormWidget__createConfiguration_closure0(t0) {
this.$this = t0;
},
SearchInputFormWidget__createConfiguration_closure: function SearchInputFormWidget__createConfiguration_closure(t0) {
this.$this = t0;
},
SearchInputFormWidget_buildListButtonForQuickSearchForm_closure: function SearchInputFormWidget_buildListButtonForQuickSearchForm_closure(t0, t1, t2) {
this.$this = t0;
this.searchFilter = t1;
this.suggestionsListState = t2;
},
SearchInputFormWidget_buildListButtonForQuickSearchForm__closure: function SearchInputFormWidget_buildListButtonForQuickSearchForm__closure(t0, t1) {
this.$this = t0;
this.suggestionsListState = t1;
},
_SearchInputFormWidget_StatelessWidget_AppLoaderMixin: function _SearchInputFormWidget_StatelessWidget_AppLoaderMixin() {
},
TopBarThreadSelection: function TopBarThreadSelection(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.imagePaths = t0;
_.listEmail = t1;
_.mapMailbox = t2;
_.onEmailActionTypeAction = t3;
_.onCancelSelection = t4;
_.key = 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$() {
$.$get$Get();
var t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.QuotasBannerWidget(t1.find$1$1$tag(0, null, type$.QuotasController), null);
},
QuotasBannerWidget: function QuotasBannerWidget(t0, t1) {
this._quotasController = t0;
this.key = t1;
},
QuotasBannerWidget_build_closure: function QuotasBannerWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView: function SearchEmailView(t0) {
this.key = t0;
},
SearchEmailView_build_closure: function SearchEmailView_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView_build_closure3: function SearchEmailView_build_closure3(t0) {
this.context = t0;
},
SearchEmailView_build_closure0: function SearchEmailView_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView_build_closure1: function SearchEmailView_build_closure1(t0) {
this.$this = t0;
},
SearchEmailView_build_closure2: function SearchEmailView_build_closure2(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView_build__closure: function SearchEmailView_build__closure(t0) {
this.$this = t0;
},
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__buildSearchInputForm__closure: function SearchEmailView__buildSearchInputForm__closure(t0) {
this.$this = t0;
},
SearchEmailView__buildListSearchFilterAction_closure: function SearchEmailView__buildListSearchFilterAction_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildListSearchFilterAction__closure: function SearchEmailView__buildListSearchFilterAction__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__buildSearchFilterButton_closure: function SearchEmailView__buildSearchFilterButton_closure(t0, t1, t2) {
this.$this = t0;
this.searchFilter = t1;
this.context = t2;
},
SearchEmailView__buildSearchFilterButton__closure: function SearchEmailView__buildSearchFilterButton__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__openPopupMenuDateFilter_closure: function SearchEmailView__openPopupMenuDateFilter_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SearchEmailView__openContextMenuDateFilter_closure: function SearchEmailView__openContextMenuDateFilter_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__popupMenuEmailSortOrderType_closure: function SearchEmailView__popupMenuEmailSortOrderType_closure(t0, t1, t2) {
this.$this = t0;
this.onCallBack = t1;
this.sortTypeSelected = t2;
},
SearchEmailView__emailSortOrderCupertinoActionTitle_closure: function SearchEmailView__emailSortOrderCupertinoActionTitle_closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.context = t1;
_.sortOrderSelected = t2;
_.onCallBack = t3;
},
SearchEmailView__emailSortOrderCupertinoActionTitle__closure: function SearchEmailView__emailSortOrderCupertinoActionTitle__closure(t0, t1) {
this.onCallBack = t0;
this.context = t1;
},
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__buildListContactSuggestionSearch_closure: function SearchEmailView__buildListContactSuggestionSearch_closure(t0, t1) {
this.$this = t0;
this.listContactSuggestionSearch = t1;
},
SearchEmailView__buildListContactSuggestionSearch__closure: function SearchEmailView__buildListContactSuggestionSearch__closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.emailAddress = t2;
},
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.currentPresentationEmail = t1;
this.context = 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__buildListEmailBody_closure1: function SearchEmailView__buildListEmailBody_closure1(t0, t1) {
this.$this = t0;
this.listPresentationEmail = t1;
},
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_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;
},
EmailSortByActionTitleWidget: function EmailSortByActionTitleWidget(t0, t1, t2, t3, t4) {
var _ = this;
_.sortType = t0;
_.imagePaths = t1;
_.sortTypeSelected = t2;
_.onSortOrderSelected = t3;
_.key = t4;
},
EmailSortByActionTitleWidget_build_closure: function EmailSortByActionTitleWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
EmailSortByCupertinoActionSheetActionBuilder: function EmailSortByCupertinoActionSheetActionBuilder(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.sortType = t0;
_.sortTypeCurrent = t1;
_.actionSelected = t2;
_.iconRightPadding = t3;
_.key = t4;
_.actionName = t5;
_.onCupertinoActionSheetActionClick = null;
},
EmailSortByCupertinoActionSheetActionBuilder_build_closure: function EmailSortByCupertinoActionSheetActionBuilder_build_closure(t0) {
this.$this = t0;
},
EmptySearchEmailWidget: function EmptySearchEmailWidget(t0, t1, t2, t3) {
var _ = this;
_.resultSearchViewState = t0;
_.suggestionViewState = t1;
_.isNetworkConnectionAvailable = t2;
_.key = t3;
},
EmptySearchEmailWidget_build_closure: function EmptySearchEmailWidget_build_closure(t0) {
this.$this = t0;
},
EmptySearchEmailWidget_build_closure0: function EmptySearchEmailWidget_build_closure0(t0) {
this.$this = t0;
},
EmptySearchEmailWidget__suggestionViewStateToUI_closure: function EmptySearchEmailWidget__suggestionViewStateToUI_closure(t0) {
this.$this = t0;
},
EmptySearchEmailWidget__suggestionViewStateToUI_closure0: function EmptySearchEmailWidget__suggestionViewStateToUI_closure0(t0) {
this.$this = t0;
},
SearchEmailLoadingBarWidget: function SearchEmailLoadingBarWidget(t0, t1, t2) {
this.resultSearchViewState = t0;
this.suggestionViewState = t1;
this.key = t2;
},
SearchEmailLoadingBarWidget_build_closure: function SearchEmailLoadingBarWidget_build_closure(t0) {
this.$this = t0;
},
SearchEmailLoadingBarWidget_build_closure0: function SearchEmailLoadingBarWidget_build_closure0(t0) {
this.$this = t0;
},
SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure: function SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure() {
},
SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure0: function SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure0(t0) {
this.$this = t0;
},
_SearchEmailLoadingBarWidget_StatelessWidget_AppLoaderMixin: function _SearchEmailLoadingBarWidget_StatelessWidget_AppLoaderMixin() {
},
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$() {
$.$get$Get();
var t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.ThreadView(t1.find$1$1$tag(0, null, type$.ImagePaths), null);
},
ThreadView: function ThreadView(t0, t1) {
this.FilterEmailPopupMenuMixin__imagePaths = t0;
this.key = t1;
},
ThreadView_build_closure: function ThreadView_build_closure(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_closure0: function ThreadView_build_closure0(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView_build_closure1: function ThreadView_build_closure1(t0) {
this.$this = t0;
},
ThreadView_build_closure2: function ThreadView_build_closure2(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_closure3: function ThreadView_build_closure3(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_closure4: function ThreadView_build_closure4(t0) {
this.$this = t0;
},
ThreadView_build_closure5: function ThreadView_build_closure5(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__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, t1) {
this.$this = t0;
this.listPresentationEmail = t1;
},
ThreadView__buildListEmailBody__closure: function ThreadView__buildListEmailBody__closure(t0, t1, t2, t3) {
var _ = this;
_.$this = t0;
_.index = t1;
_.listPresentationEmail = t2;
_.context = t3;
},
ThreadView__buildListEmailBody_closure0: function ThreadView__buildListEmailBody_closure0(t0, t1) {
this.$this = t0;
this.listPresentationEmail = t1;
},
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_closure0: function ThreadView__buildEmailItemNotDraggable_closure0(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__buildFeedBackWidget_closure: function ThreadView__buildFeedBackWidget_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildEmptyEmail_closure: function ThreadView__buildEmptyEmail_closure(t0) {
this.$this = t0;
},
ThreadView__buildEmptyEmail__closure: function ThreadView__buildEmptyEmail__closure() {
},
ThreadView__buildEmptyEmail__closure0: function ThreadView__buildEmptyEmail__closure0(t0) {
this.$this = t0;
},
ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure: function ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure(t0, t1) {
this.$this = t0;
this.mailboxContain = t1;
},
ThreadView__openInNewTabContextMenuItemAction_closure: function ThreadView__openInNewTabContextMenuItemAction_closure(t0) {
this.$this = t0;
},
ThreadView__archiveMessageContextMenuItemAction_closure: function ThreadView__archiveMessageContextMenuItemAction_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
ThreadView__buildMarkAsSpamPopupMenuItem_closure: function ThreadView__buildMarkAsSpamPopupMenuItem_closure(t0, t1, t2) {
this.$this = t0;
this.mailboxContain = t1;
this.email = t2;
},
ThreadView__buildOpenInNewTabPopupMenuItem_closure: function ThreadView__buildOpenInNewTabPopupMenuItem_closure(t0, t1) {
this.$this = t0;
this.email = t1;
},
ThreadView__buildArchiveMessagePopupMenuItem_closure: function ThreadView__buildArchiveMessagePopupMenuItem_closure(t0, t1, t2) {
this.$this = t0;
this.context = t1;
this.email = t2;
},
ThreadView__buildMailboxActionProgressBanner_closure: function ThreadView__buildMailboxActionProgressBanner_closure(t0) {
this.$this = t0;
},
_MailboxActionProgressBanner: function _MailboxActionProgressBanner(t0, t1, t2) {
this.viewState = t0;
this.responsiveUtils = t1;
this.key = t2;
},
_MailboxActionProgressBanner_build_closure: function _MailboxActionProgressBanner_build_closure() {
},
_MailboxActionProgressBanner_build_closure0: function _MailboxActionProgressBanner_build_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() {
},
__MailboxActionProgressBanner_StatelessWidget_AppLoaderMixin: function __MailboxActionProgressBanner_StatelessWidget_AppLoaderMixin() {
},
AppBarThreadWidget: function AppBarThreadWidget(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {
var _ = this;
_.onPopupMenuFilterEmailAction = t0;
_.onContextMenuFilterEmailAction = t1;
_.openMailboxAction = t2;
_.cancelEditThreadAction = t3;
_.emailSelectionAction = t4;
_.mailboxSelected = t5;
_.listEmailSelected = t6;
_.selectMode = t7;
_.filterOption = t8;
_.key = t9;
},
DefaultWebAppBarThreadWidget: function DefaultWebAppBarThreadWidget(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_._default_web_app_bar_thread_widget$_imagePaths = t0;
_._default_web_app_bar_thread_widget$_responsiveUtils = t1;
_.mailboxSelected = t2;
_.filterOption = t3;
_.openMailboxAction = t4;
_.onPopupMenuFilterEmailAction = t5;
_.onContextMenuFilterEmailAction = t6;
_.key = t7;
},
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, t6) {
var _ = this;
_._selection_web_app_bar_thread_widget$_imagePaths = t0;
_._selection_web_app_bar_thread_widget$_responsiveUtils = t1;
_.mailboxSelected = t2;
_.listEmailSelected = t3;
_.cancelEditThreadAction = t4;
_.emailSelectionAction = t5;
_.key = t6;
},
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$(emailActionClick, isDrag, isSearchEmailRunning, isShowingEmailContent, key, mailboxContain, onMoreActionClick, padding, presentationEmail, searchQuery, selectAllMode) {
return new B.EmailTileBuilder(presentationEmail, selectAllMode, mailboxContain, searchQuery, isSearchEmailRunning, padding, isDrag, isShowingEmailContent, emailActionClick, onMoreActionClick, key);
},
EmailTileBuilder: function EmailTileBuilder(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10) {
var _ = this;
_.presentationEmail = t0;
_.selectAllMode = t1;
_.mailboxContain = t2;
_.searchQuery = t3;
_.isSearchEmailRunning = t4;
_.padding = t5;
_.isDrag = t6;
_.isShowingEmailContent = t7;
_.emailActionClick = t8;
_.onMoreActionClick = t9;
_.key = t10;
},
_EmailTileBuilderState: function _EmailTileBuilderState(t0, t1, t2, t3) {
var _ = this;
_._hoverNotifier = t0;
_.BaseEmailItemTile_responsiveUtils = t1;
_.BaseEmailItemTile_imagePaths = t2;
_._widget = null;
_._debugLifecycleState = t3;
_._framework$_element = null;
},
_EmailTileBuilderState_build_closure1: function _EmailTileBuilderState_build_closure1(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure0: function _EmailTileBuilderState_build_closure0(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure: function _EmailTileBuilderState_build_closure(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure7: function _EmailTileBuilderState_build_closure7(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure6: function _EmailTileBuilderState_build_closure6(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure3: function _EmailTileBuilderState_build_closure3(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure2: function _EmailTileBuilderState_build_closure2(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure4: function _EmailTileBuilderState_build_closure4(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure5: function _EmailTileBuilderState_build_closure5(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure14: function _EmailTileBuilderState_build_closure14(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure13: function _EmailTileBuilderState_build_closure13(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure8: function _EmailTileBuilderState_build_closure8(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure9: function _EmailTileBuilderState_build_closure9(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure10: function _EmailTileBuilderState_build_closure10(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure11: function _EmailTileBuilderState_build_closure11(t0) {
this.$this = t0;
},
_EmailTileBuilderState_build_closure12: function _EmailTileBuilderState_build_closure12(t0) {
this.$this = t0;
},
_EmailTileBuilderState__buildListActionButtonWhenHover_closure: function _EmailTileBuilderState__buildListActionButtonWhenHover_closure(t0) {
this.$this = t0;
},
_EmailTileBuilderState__buildListActionButtonWhenHover_closure0: function _EmailTileBuilderState__buildListActionButtonWhenHover_closure0(t0) {
this.$this = t0;
},
_EmailTileBuilderState__buildListActionButtonWhenHover_closure1: function _EmailTileBuilderState__buildListActionButtonWhenHover_closure1(t0) {
this.$this = t0;
},
_EmailTileBuilderState__buildListActionButtonWhenHover_closure2: function _EmailTileBuilderState__buildListActionButtonWhenHover_closure2(t0) {
this.$this = t0;
},
_EmailTileBuilderState__buildListActionButtonWhenHover_closure3: function _EmailTileBuilderState__buildListActionButtonWhenHover_closure3(t0, t1) {
this.$this = t0;
this.context = t1;
},
_EmailTileBuilderState__buildSubjectAndContent_closure: function _EmailTileBuilderState__buildSubjectAndContent_closure(t0) {
this.$this = t0;
},
__EmailTileBuilderState_State_BaseEmailItemTile: function __EmailTileBuilderState_State_BaseEmailItemTile() {
},
EmptyEmailsWidget$(isFilterMessageActive, isNetworkConnectionAvailable, isSearchActive, key, onCreateFiltersActionCallback) {
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.EmptyEmailsWidget(isSearchActive, isFilterMessageActive, isNetworkConnectionAvailable, onCreateFiltersActionCallback, t1, t2.find$1$1$tag(0, null, type$.ImagePaths), key);
},
EmptyEmailsWidget: function EmptyEmailsWidget(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.isSearchActive = t0;
_.isFilterMessageActive = t1;
_.isNetworkConnectionAvailable = t2;
_.onCreateFiltersActionCallback = t3;
_._empty_emails_widget$_responsiveUtils = t4;
_._empty_emails_widget$_imagePaths = t5;
_.key = t6;
},
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, t1, t2) {
this.margin = t0;
this.spamReportController = t1;
this.key = t2;
},
SpamReportBannerWidget_build_closure: function SpamReportBannerWidget_build_closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
SpamReportBannerWidget_build__closure: function SpamReportBannerWidget_build__closure(t0, t1) {
this.$this = t0;
this.context = t1;
},
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() {
},
ListExtensions_mapIndexed(_this, convert, $E, $R) {
return new A._SyncStarIterable(B.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
},
ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
return function() {
var _this = $async$_this,
convert = $async$convert,
$E = $async$$E,
$R = $async$$R;
var $async$goto = 0, $async$handler = 1, $async$currentError, index;
return function $async$ListExtensions_mapIndexed($async$iterator, $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
index = 0;
case 2:
// for condition
if (!(index < _this.length)) {
// goto after for
$async$goto = 4;
break;
}
$async$goto = 5;
return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
case 5:
// after yield
case 3:
// for update
++index;
// goto for condition
$async$goto = 2;
break;
case 4:
// after for
// implicit return
return 0;
case 1:
// rethrow
return $async$iterator._datum = $async$currentError, 3;
}
};
};
},
DateTimeNullableExtension_toPatternForEmailView(_this) {
var t1 = Date.now();
if (A.Primitives_getYear(new A.DateTime(t1, false)) === A.Primitives_getYear(_this))
return "dd.MM, HH:mm";
else
return "dd.MM.yyyy, HH:mm";
},
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._core$_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;
},
EmailAddressExtension_asFullStringWithLtGtCharacter(_this) {
var t3,
t1 = _this.name,
t2 = t1 == null;
if ((t2 ? "" : t1).length !== 0) {
t3 = _this.email;
t3 = (t3 == null ? "" : t3).length !== 0;
} else
t3 = false;
if (t3) {
t1 = A.CapitalizeExtension_get_capitalizeFirstEach(t2 ? "" : t1);
t3 = _this.email;
t2 = t3 == null ? "" : t3;
return t1 + " <" + t2 + ">";
} else if ((t2 ? "" : t1).length !== 0)
return A.CapitalizeExtension_get_capitalizeFirstEach(t2 ? "" : t1);
else {
t1 = _this.email;
t2 = t1 == null;
if ((t2 ? "" : t1).length !== 0)
return "<" + (t2 ? "" : t1) + ">";
}
return "";
},
PresentationEmailExtension_get_avatarColors(_this) {
var t1 = _this.from;
if ((t1 == null ? null : t1._collection$_length !== 0) === true)
return C.List_NQk[A.EmailAddressExtension__generateIndex(t1.get$first(0))];
else
return C.JSArray_methods.get$first(C.List_NQk);
},
PresentationEmailExtension_get_countRecipients(_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 A.UTCDateExtension_formatDateToLocal(emailTime, newLocale, pattern == null ? A.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(A.SetEmailAddressExtension_emailAddressToListString(_this.to, C.ExpandMode_1, false, 1), A.SetEmailAddressExtension_emailAddressToListString(_this.cc, C.ExpandMode_1, false, 1)), A.SetEmailAddressExtension_emailAddressToListString(_this.bcc, C.ExpandMode_1, false, 1));
return allEmailAddress.length !== 0 ? C.JSArray_methods.join$1(allEmailAddress, ", ") : "";
},
PresentationEmailExtension__sanitizeSearchSnippet(_this, searchSnippet) {
var t1;
if (searchSnippet == null)
t1 = null;
else {
t1 = A.stringReplaceAllUnchecked(searchSnippet, "\r", "");
t1 = A.stringReplaceAllUnchecked(t1, "\n", "");
t1 = A.stringReplaceAllUnchecked(t1, "\t", "");
}
return t1;
},
PresentationMailboxExtension_get_isOutbox(_this) {
var t1 = _this.name;
return (t1 == null ? null : t1.name) === "outbox" || J.$eq$(_this.role, $.$get$PresentationMailbox_roleOutbox());
},
CircleLoadingWidget$(padding) {
return new A.CircleLoadingWidget(null, null, padding, null);
},
EmailActionTypeExtension_getHeaderEmailQuoted(_this, appLocalizations, locale, presentationEmail) {
var emailAddress, t1, headerQuoted, subject, receivedAt, fromEmailAddress, toEmailAddress, ccEmailAddress, bccEmailAddress, _null = null, _s2_ = ", ",
_s15_ = "MMM d, y h:mm a",
languageTag = locale._rawToString$1("-");
switch (_this.index) {
case 0:
case 2:
emailAddress = B.SetEmailAddressExtension_toEscapeHtmlString(presentationEmail.from, _s2_);
t1 = A.UTCDateExtension_formatDateToLocal(presentationEmail.receivedAt, languageTag, _s15_);
return A.Intl__message("On " + t1 + ", from " + emailAddress, _null, "header_email_quoted", A._setArrayType([t1, emailAddress], type$.JSArray_Object), _null);
case 1:
headerQuoted = B.HtmlExtension_addNewLineTag("------- " + A.Intl__message("Forwarded message", _null, "forwarded_message", _null, _null) + " -------");
t1 = presentationEmail.subject;
subject = t1 == null ? _null : A.HtmlNullableExtension_escapeHtmlString(t1, C.HtmlEscapeMode_element_false_false_false);
if (subject == null)
subject = "";
receivedAt = presentationEmail.receivedAt;
fromEmailAddress = B.SetEmailAddressExtension_toEscapeHtmlString(presentationEmail.from, _s2_);
toEmailAddress = B.SetEmailAddressExtension_toEscapeHtmlString(presentationEmail.to, _s2_);
ccEmailAddress = B.SetEmailAddressExtension_toEscapeHtmlString(presentationEmail.cc, _s2_);
bccEmailAddress = B.SetEmailAddressExtension_toEscapeHtmlString(presentationEmail.bcc, _s2_);
if (subject.length !== 0)
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Subject", _null, "subject_email", _null, _null) + ": ") + subject);
if (receivedAt != null)
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Date", _null, "date", _null, _null) + ": ") + A.UTCDateExtension_formatDateToLocal(receivedAt, languageTag, _s15_));
if (fromEmailAddress.length !== 0)
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("From", _null, "from_email_address_prefix", _null, _null) + ": ") + fromEmailAddress);
if (toEmailAddress.length !== 0)
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("To", _null, "to_email_address_prefix", _null, _null) + ": ") + toEmailAddress);
if (ccEmailAddress.length !== 0)
headerQuoted = B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Cc", _null, "cc_email_address_prefix", _null, _null) + ": ") + ccEmailAddress);
return bccEmailAddress.length !== 0 ? B.HtmlExtension_addNewLineTag(headerQuoted + (A.Intl__message("Bcc", _null, "bcc_email_address_prefix", _null, _null) + ": ") + bccEmailAddress) : headerQuoted;
default:
return _null;
}
},
EmailActionTypeExtension_getIcon(_this, imagePaths) {
switch (_this.index) {
case 5:
return "assets/images/ic_unread_email.svg";
case 21:
return "assets/images/ic_unspam.svg";
case 20:
return "assets/images/ic_spam.svg";
case 23:
return "assets/images/ic_quick_creating_rule.svg";
case 24:
return "assets/images/ic_unsubscribe.svg";
case 26:
return "assets/images/ic_mailbox_archived.svg";
case 28:
return "assets/images/ic_download_attachment.svg";
default:
return "";
}
},
EmailActionTypeExtension_getTitle(_this, context) {
var _null = null;
switch (_this.index) {
case 5:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
case 21:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
case 20:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
case 23:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Create a rule with this email", _null, "quickCreatingRule", _null, _null);
case 24:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Unsubscribe", _null, "unsubscribe", _null, _null);
case 26:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Archive message", _null, "archiveMessage", _null, _null);
case 28:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Download message as EML", _null, "downloadMessageAsEML", _null, _null);
default:
return "";
}
},
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, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx;
if (responsiveUtils.isTablet$1(context))
return currentWidth;
else
return currentWidth * 0.7;
},
FilterMessageButtonStyle_getButtonPadding(isSelected) {
if (isSelected)
return D.EdgeInsetsDirectional_12_4_4_4;
else
return C.EdgeInsets_12_8_12_8;
},
MailboxDashboardViewWebStyle_getSearchFilterButtonPadding(isSelected) {
if (isSelected)
return D.EdgeInsetsDirectional_12_0_4_0;
else
return C.EdgeInsets_12_0_12_0;
},
RecoverDeletedMessageLoadingBannerStyle_getBannerMargin(context, responsiveUtils) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200)
return D.EdgeInsetsDirectional_0_0_16_8;
else if (responsiveUtils.isTablet$1(context))
return D.EdgeInsetsDirectional_24_0_24_8;
else
return D.EdgeInsetsDirectional_12_0_12_8;
},
SearchFilterButtonStyle_getButtonPadding(isSelected) {
if (isSelected)
return D.EdgeInsetsDirectional_12_4_4_4;
else
return C.EdgeInsets_12_8_12_8;
},
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_CTL, t1).toString;
return A.Intl__message("Out of storage", _null, "textQuotasOutOfStorage", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_CTL, 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_CTL, 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_CTL, 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_CTL, 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;
},
QuotasBannerStyles_getBannerMargin(context, responsiveUtils) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200)
return D.EdgeInsetsDirectional_0_0_16_8;
else if (responsiveUtils.isTablet$1(context))
return D.EdgeInsetsDirectional_24_0_24_8;
else
return D.EdgeInsetsDirectional_12_0_12_8;
},
SearchEmailViewStyle_getAppBarPadding(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600;
!t1;
if (t1)
return C.EdgeInsets_8_0_8_0;
else
return C.EdgeInsets_24_0_24_0;
},
SearchEmailViewStyle_getListSearchFilterButtonPadding(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600;
!t1;
if (t1)
return D.EdgeInsetsDirectional_16_0_16_10;
else
return D.EdgeInsetsDirectional_32_0_32_10;
},
SearchEmailViewStyle_getSearchRecentTitleMargin(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600;
!t1;
if (t1)
return C.EdgeInsetsDirectional_16_8_16_8;
else
return D.EdgeInsetsDirectional_32_8_32_8;
},
SearchEmailViewStyle_getPaddingSearchResultList(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600;
!t1;
if (t1)
return C.EdgeInsetsDirectional_12_8_12_8;
else
return D.EdgeInsetsDirectional_24_8_24_8;
},
SearchEmailViewStyle_getListRecentSearchPadding(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600;
!t1;
if (t1)
return C.EdgeInsetsDirectional_16_8_16_8;
else
return D.EdgeInsetsDirectional_32_8_32_8;
},
SearchEmailViewStyle_getShowAllResultButtonPadding(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600;
!t1;
if (t1)
return C.EdgeInsetsDirectional_16_8_16_8;
else
return D.EdgeInsetsDirectional_32_8_32_8;
},
SearchEmailViewStyle_getSearchSuggestionListPadding(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600;
!t1;
if (t1)
return C.EdgeInsetsDirectional_16_8_16_8;
else
return D.EdgeInsetsDirectional_32_8_32_8;
},
SearchMailboxUtils_getPaddingAppBar(context, responsiveUtils) {
var t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data;
if (t2.size._dx >= 1200)
return C.EdgeInsets_16_8_16_8;
else if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, t1).data;
if (t2.size._dx >= 1200)
return D.EdgeInsets_5_0_2_0;
else if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, type$.MediaQuery).data;
if (t1.size._dx >= 1200)
return 30;
else
return 40;
},
SearchMailboxUtils_getIconSplashRadius(context, responsiveUtils) {
var t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, t1).data;
if (t2.size._dx >= 1200)
return D.EdgeInsets_16_0_16_16;
else if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Filter messages", _null, "filter_messages", _null, _null);
case 1:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("With Unread", _null, "with_unread", _null, _null);
case 2:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.CapitalizeExtension_get_capitalizeFirstEach(A.Intl__message("With attachments", _null, "with_attachments", _null, _null));
case 3:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Unread", _null, "unread", _null, _null);
case 2:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("With attachments", _null, "with_attachments", _null, _null);
case 3:
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("Starred", _null, "starred", _null, _null);
}
},
FilterMessageOptionExtension_getContextMenuIcon(_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_getIcon(_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_getIconColor(_this) {
switch (_this.index) {
case 0:
return C.Color_4285034102;
case 1:
case 2:
case 3:
return C.Color_4278221567;
}
},
FilterMessageOptionExtension_getBackgroundColor(_this, isSelected) {
if (isSelected)
return A.Color$fromARGB(15, 0, 122, 255);
else
return A.Color$fromARGB(153, 235, 237, 240);
},
DefaultWebAppBarThreadWidgetStyle_getPadding(context, responsiveUtils) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600 || responsiveUtils.isTabletLarge$1(context))
return C.EdgeInsets_12_8_12_8;
else
return D.EdgeInsets_24_8_24_8;
},
SelectionWebAppBarThreadWidgetStyle_getPadding(context, responsiveUtils) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600 || responsiveUtils.isTabletLarge$1(context))
return C.EdgeInsets_12_8_12_8;
else
return D.EdgeInsets_24_8_24_8;
},
BannerEmptyTrashStyles_getBannerMargin(context, responsiveUtils) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200)
return D.EdgeInsetsDirectional_0_0_16_8;
else if (responsiveUtils.isTablet$1(context))
return D.EdgeInsetsDirectional_24_0_24_8;
else
return D.EdgeInsetsDirectional_12_0_12_8;
},
ItemEmailTileStyles_getSpaceCalendarEventIcon(context, responsiveUtils) {
var t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600)
return C.EdgeInsetsDirectional_0_0_4_0;
else {
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data;
if (t1.size._dx >= 1200)
return C.EdgeInsetsDirectional_0_0_12_0;
else
return C.EdgeInsetsDirectional_0_0_8_0;
}
},
ItemEmailTileStyles_getPaddingDividerWeb(context, responsiveUtils) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200)
return D.EdgeInsetsDirectional_120_2_0_0;
else if (responsiveUtils.isTablet$1(context))
return C.EdgeInsets_24_0_24_0;
else
return C.EdgeInsets_12_0_12_0;
},
ThreadViewStyle_getBannerMargin(context, responsiveUtils) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600 || responsiveUtils.isTabletLarge$1(context))
return D.EdgeInsetsDirectional_12_0_12_8;
else
return D.EdgeInsetsDirectional_24_0_24_8;
},
AppUtils_getCurrentDateLocale() {
var t1, currentLanguageCode;
$.$get$Get();
t1 = $.$get$LocalesIntl__intlHost().locale;
currentLanguageCode = t1 == null ? null : t1.get$languageCode(0);
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 if (currentLanguageCode === "de")
return D.C_GermanDateLocale;
else
return D.C_EnglishDateLocale;
}
},
D, F, E;
J = holdersList[1];
A = holdersList[0];
C = holdersList[2];
G = holdersList[9];
B = hunkHelpers.updateHolder(holdersList[4], B);
D = holdersList[13];
F = holdersList[8];
E = holdersList[14];
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, A.Ink$(A.Row$(t5, C.CrossAxisAlignment_2, _null, 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_OxC, 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_Q1M));
}
};
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.QuickSearchInputForm.prototype = {
createState$0() {
var _null = null,
t1 = this.$ti,
t2 = $.$get$ChangeNotifier__emptyListeners();
return new B._QuickSearchInputFormFormFieldState(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])._bind$1(t1._rest[2])._eval$1("_QuickSearchInputFormFormFieldState<1,2,3>"));
}
};
B._QuickSearchInputFormFormFieldState.prototype = {
get$_effectiveController() {
var t1 = type$.QuickSearchInputForm_dynamic_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_dynamic._as(A.State0.prototype.get$widget.call(this));
},
initState$0() {
var t1, _this = this;
_this.super$State$initState();
t1 = type$.QuickSearchInputForm_dynamic_dynamic_dynamic;
if (t1._as(A.State0.prototype.get$widget.call(_this)).textFieldConfiguration.controller == null) {
t1 = t1._as(A.State0.prototype.get$widget.call(_this));
_this._quick_search_input_form$_controller = new A.TextEditingController(new A.TextEditingValue(t1.initialValue, C.TextSelection_vdW, C.TextRange_m1_m1), $.$get$ChangeNotifier__emptyListeners());
} 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_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_dynamic._as(A.State0.prototype.get$widget.call(this)).textFieldConfiguration.controller;
if (t1 != null)
t1.removeListener$1(0, this.get$_handleControllerChanged());
this.super$FormFieldState$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.QuickSearchSuggestionsBox.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.overlayEntry;
t2.toString;
t1.insert$1(0, t2);
_this.isOpened = true;
},
close$0(_) {
if (!this.isOpened)
return;
this.overlayEntry.remove$0(0);
this.isOpened = false;
},
_findRootMediaQuery$0() {
var t1 = {};
t1.rootMediaQuery = null;
this.context.visitAncestorElements$1(new B.QuickSearchSuggestionsBox__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(D.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.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_dynamic._as(t2);
box = type$.nullable_RenderBox._as(t1.get$renderObject());
if (box == null || box._box$_size == null)
return;
_this.textBoxWidth = box.get$size(0)._dx;
_this.textBoxHeight = box.get$size(0)._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.__QuickSearchSuggestionsBox_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.QuickSearchSuggestionsBoxDecoration.prototype = {};
B.QuickSearchSuggestionList.prototype = {
createState$0() {
var t1 = this.$ti;
return new B.QuickSearchSuggestionListState(null, null, C._StateLifecycle_0, t1._eval$1("@<1>")._bind$1(t1._rest[1])._bind$1(t1._rest[2])._eval$1("QuickSearchSuggestionListState<1,2,3>"));
}
};
B.QuickSearchSuggestionListState.prototype = {
get$_quick_search_suggestion_list$_scrollController() {
var t1, t2, _this = this,
value = _this.__QuickSearchSuggestionListState__scrollController_FI;
if (value === $) {
_this._widget.toString;
t1 = A._setArrayType([], type$.JSArray_ScrollPosition);
t2 = $.$get$ChangeNotifier__emptyListeners();
_this.__QuickSearchSuggestionListState__scrollController_FI !== $ && A.throwUnnamedLateFieldADI();
value = _this.__QuickSearchSuggestionListState__scrollController_FI = new A.ScrollController(0, true, null, null, null, t1, t2);
}
return value;
},
_getListRecent$1(queryString) {
return this._getListRecent$body$QuickSearchSuggestionListState(queryString, this.$ti._eval$1("Iterable<3>?"));
},
_getListRecent$body$QuickSearchSuggestionListState(queryString, $async$type) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter($async$type),
$async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, e, t1, t2, exception, $async$exception;
var $async$_getListRecent$1 = 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
$async$handler = 4;
t1 = $async$self._widget.fetchRecentActionCallback.call$1(queryString);
t2 = $async$self.$ti;
$async$goto = 7;
return A._asyncAwait(t2._eval$1("Future<List<3>?>")._is(t1) ? t1 : A._Future$value(t1, t2._eval$1("List<3>?")), $async$_getListRecent$1);
case 7:
// returning from await.
t1 = $async$result;
$async$returnValue = t1;
// goto return
$async$goto = 1;
break;
$async$handler = 2;
// goto after finally
$async$goto = 6;
break;
case 4:
// catch
$async$handler = 3;
$async$exception = $async$currentError;
e = A.unwrapException($async$exception);
A.log("SuggestionsListState::_getRecent:Exception = " + A.S(e), C.Level_1);
$async$returnValue = null;
// goto return
$async$goto = 1;
break;
// goto after finally
$async$goto = 6;
break;
case 3:
// uncaught
// goto rethrow
$async$goto = 2;
break;
case 6:
// after finally
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
case 2:
// rethrow
return A._asyncRethrow($async$currentError, $async$completer);
}
});
return A._asyncStartSync($async$_getListRecent$1, $async$completer);
},
_getListContact$1(queryString) {
return this._getListContact$body$QuickSearchSuggestionListState(queryString, this.$ti._eval$1("Iterable<2>?"));
},
_getListContact$body$QuickSearchSuggestionListState(queryString, $async$type) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter($async$type),
$async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, e, t1, t2, exception, $async$exception;
var $async$_getListContact$1 = 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
$async$handler = 4;
t1 = $async$self._widget.contactSuggestionCallback.call$1(queryString);
t2 = $async$self.$ti;
$async$goto = 7;
return A._asyncAwait(t2._eval$1("Future<List<2>?>")._is(t1) ? t1 : A._Future$value(t1, t2._eval$1("List<2>?")), $async$_getListContact$1);
case 7:
// returning from await.
t1 = $async$result;
$async$returnValue = t1;
// goto return
$async$goto = 1;
break;
$async$handler = 2;
// goto after finally
$async$goto = 6;
break;
case 4:
// catch
$async$handler = 3;
$async$exception = $async$currentError;
e = A.unwrapException($async$exception);
A.log("SuggestionsListState::_getListContact:Exception = " + A.S(e), C.Level_1);
$async$returnValue = null;
// goto return
$async$goto = 1;
break;
// goto after finally
$async$goto = 6;
break;
case 3:
// uncaught
// goto rethrow
$async$goto = 2;
break;
case 6:
// after finally
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
case 2:
// rethrow
return A._asyncRethrow($async$currentError, $async$completer);
}
});
return A._asyncStartSync($async$_getListContact$1, $async$completer);
},
_getListSuggestion$1(queryString) {
return this._getListSuggestion$body$QuickSearchSuggestionListState(queryString, this.$ti._eval$1("Iterable<1>?"));
},
_getListSuggestion$body$QuickSearchSuggestionListState(queryString, $async$type) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter($async$type),
$async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, e, t1, t2, exception, $async$exception;
var $async$_getListSuggestion$1 = 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
$async$handler = 4;
t1 = $async$self._widget.suggestionsCallback.call$1(queryString);
t2 = $async$self.$ti;
$async$goto = 7;
return A._asyncAwait(t2._eval$1("Future<List<1>?>")._is(t1) ? t1 : A._Future$value(t1, t2._eval$1("List<1>?")), $async$_getListSuggestion$1);
case 7:
// returning from await.
t1 = $async$result;
$async$returnValue = t1;
// goto return
$async$goto = 1;
break;
$async$handler = 2;
// goto after finally
$async$goto = 6;
break;
case 4:
// catch
$async$handler = 3;
$async$exception = $async$currentError;
e = A.unwrapException($async$exception);
A.log("SuggestionsListState::_getListSuggestion:Exception = " + A.S(e), C.Level_1);
$async$returnValue = null;
// goto return
$async$goto = 1;
break;
// goto after finally
$async$goto = 6;
break;
case 3:
// uncaught
// goto rethrow
$async$goto = 2;
break;
case 6:
// after finally
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
case 2:
// rethrow
return A._asyncRethrow($async$currentError, $async$completer);
}
});
return A._asyncStartSync($async$_getListSuggestion$1, $async$completer);
},
_handleDebounceTimeListener$1(queryString) {
return this._handleDebounceTimeListener$body$QuickSearchSuggestionListState(queryString);
},
_handleDebounceTimeListener$body$QuickSearchSuggestionListState(queryString) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, t1, $async$temp1;
var $async$_handleDebounceTimeListener$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._widget.minCharsForSuggestions;
A.log("QuickSearchSuggestionListState::_handleDebounceTimeListener:queryString = " + queryString + " | minCharsForSuggestions = " + t1, C.Level_3);
if ($async$self._framework$_element == null) {
// goto return
$async$goto = 1;
break;
}
if ($async$self._isLoading === true) {
// goto return
$async$goto = 1;
break;
}
$async$goto = queryString.length <= t1 ? 3 : 5;
break;
case 3:
// then
$async$self.setState$1(new B.QuickSearchSuggestionListState__handleDebounceTimeListener_closure($async$self));
$async$temp1 = B;
$async$goto = 6;
return A._asyncAwait($async$self._getListRecent$1(queryString), $async$_handleDebounceTimeListener$1);
case 6:
// returning from await.
$async$self.setState$1(new $async$temp1.QuickSearchSuggestionListState__handleDebounceTimeListener_closure0($async$self, $async$result));
// goto join
$async$goto = 4;
break;
case 5:
// else
$async$goto = 7;
return A._asyncAwait($async$self.invalidateSuggestions$0(), $async$_handleDebounceTimeListener$1);
case 7:
// returning from await.
case 4:
// join
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_handleDebounceTimeListener$1, $async$completer);
},
_textInputControllerListener$0() {
var _this = this,
queryString = C.JSString_methods.trim$0(_this._widget.controller._change_notifier$_value.text),
t1 = _this._lastTextValue;
A.log("QuickSearchSuggestionListState::_textInputControllerListener:queryString = " + queryString + " | _lastTextValue = " + A.S(t1), C.Level_3);
if (queryString === t1)
return;
_this._lastTextValue = queryString;
t1 = _this.__QuickSearchSuggestionListState__deBouncerSuggestion_F;
t1 === $ && A.throwUnnamedLateFieldNI();
t1.set$value(0, queryString);
},
didUpdateWidget$1(oldWidget) {
var _this = this;
_this.super$State$didUpdateWidget(oldWidget);
_this._widget.controller.addListener$1(0, _this.get$_textInputControllerListener());
_this._getSuggestions$0();
},
didChangeDependencies$0() {
this.super$State$didChangeDependencies();
this._getSuggestions$0();
},
initState$0() {
var t1, t2, t3, _this = this;
_this.super$State$initState();
t1 = _this._widget;
t2 = t1.debounceDuration;
t2 = A.Debouncer$(t2, "", type$.String);
_this.__QuickSearchSuggestionListState__deBouncerSuggestion_F !== $ && A.throwUnnamedLateFieldAI();
_this.__QuickSearchSuggestionListState__deBouncerSuggestion_F = t2;
_this._quick_search_suggestion_list$_animationController = A.AnimationController$(C.AnimationBehavior_0, null, t1.animationDuration, 0, null, 1, null, _this);
t1 = _this._widget;
t3 = t1.minCharsForSuggestions;
_this.__QuickSearchSuggestionListState__suggestionsValid_A = t3 > 0;
_this._isLoading = false;
t1 = t1.controller;
_this._lastTextValue = t1._change_notifier$_value.text;
t1.addListener$1(0, _this.get$_textInputControllerListener());
t1 = t2.get$values(0).listen$1(_this.get$_handleDebounceTimeListener());
_this.__QuickSearchSuggestionListState__deBouncerSuggestionStreamSubscriptions_F !== $ && A.throwUnnamedLateFieldAI();
_this.__QuickSearchSuggestionListState__deBouncerSuggestionStreamSubscriptions_F = t1;
},
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.__QuickSearchSuggestionListState__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$QuickSearchSuggestionListState();
},
_getSuggestions$body$QuickSearchSuggestionListState() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, queryString, t3, contacts, t4, t5, tupleListItems, t1, t2, $async$temp1;
var $async$_getSuggestions$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 = {};
t2 = $async$self.__QuickSearchSuggestionListState__suggestionsValid_A;
t2 === $ && A.throwUnnamedLateFieldNI();
if (!t2)
$async$self._widget.toString;
if (t2) {
// goto return
$async$goto = 1;
break;
}
if ($async$self._framework$_element == null) {
// goto return
$async$goto = 1;
break;
}
t2 = $async$self.__QuickSearchSuggestionListState__suggestionsValid_A = true;
queryString = C.JSString_methods.trim$0($async$self._widget.controller._change_notifier$_value.text);
$async$self.setState$1(new B.QuickSearchSuggestionListState__getSuggestions_closure($async$self));
t3 = queryString.length;
$async$goto = t3 === 0 ? 3 : 4;
break;
case 3:
// then
$async$temp1 = B;
$async$goto = 5;
return A._asyncAwait($async$self._getListRecent$1(queryString), $async$_getSuggestions$0);
case 5:
// returning from await.
$async$self.setState$1(new $async$temp1.QuickSearchSuggestionListState__getSuggestions_closure0($async$self, $async$result));
// goto return
$async$goto = 1;
break;
case 4:
// join
contacts = t1.contacts = t1.recentItems = t1.suggestions = null;
t4 = A._setArrayType([$async$self._getListSuggestion$1(queryString)], type$.JSArray_Future_nullable_Iterable_nullable_Object);
t5 = $async$self._widget.minInputLengthAutocomplete;
if (t3 >= t5)
t4.push($async$self._getListContact$1(queryString));
$async$goto = 6;
return A._asyncAwait(A.Future_wait(t4, false, type$.nullable_Iterable_nullable_Object), $async$_getSuggestions$0);
case 6:
// returning from await.
tupleListItems = $async$result;
t3 = J.getInterceptor$asx(tupleListItems);
$async$goto = (!t3.get$isEmpty(tupleListItems) ? t3.every$1(tupleListItems, new B.QuickSearchSuggestionListState__getSuggestions_closure1()) : t2) ? 7 : 9;
break;
case 7:
// then
$async$temp1 = t1;
$async$goto = 10;
return A._asyncAwait($async$self._getListRecent$1(queryString), $async$_getSuggestions$0);
case 10:
// returning from await.
$async$temp1.recentItems = $async$result;
// goto join
$async$goto = 8;
break;
case 9:
// else
t2 = $async$self.$ti;
t1.suggestions = t2._eval$1("Iterable<1>?")._as(t3.$index(tupleListItems, 0));
t1.contacts = t3.get$length(tupleListItems) === 2 ? t2._eval$1("Iterable<2>?")._as(t3.$index(tupleListItems, 1)) : contacts;
case 8:
// join
$async$self.setState$1(new B.QuickSearchSuggestionListState__getSuggestions_closure2(t1, $async$self));
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_getSuggestions$0, $async$completer);
},
dispose$0() {
var t1, _this = this;
_this._quick_search_suggestion_list$_animationController.dispose$0();
t1 = _this.__QuickSearchSuggestionListState__deBouncerSuggestionStreamSubscriptions_F;
t1 === $ && A.throwUnnamedLateFieldNI();
t1.cancel$0(0);
t1 = _this.__QuickSearchSuggestionListState__deBouncerSuggestion_F;
t1 === $ && A.throwUnnamedLateFieldNI();
t1.cancel$0(0);
_this.super$_QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin$dispose();
},
build$1(context) {
var t1, listItemSuggestionWidget, loadingWidget, listActionWidget, listItemContactWidget, t2, t3, t4, t5, t6, child, listItemRecent, animationChild, _this = this, _null = null;
_this._widget.toString;
t1 = _this._suggestions;
if ((t1 == null ? _null : J.get$isNotEmpty$asx(t1)) !== true) {
t1 = _this._contacts;
t1 = (t1 == null ? _null : J.get$isNotEmpty$asx(t1)) === true;
} else
t1 = true;
if (t1) {
t1 = _this._widget.controller;
t1 = (t1 == null ? _null : t1._change_notifier$_value.text.length !== 0) === true;
} else
t1 = false;
if (t1) {
listItemSuggestionWidget = _this._buildListViewSuggestionWidget$0();
loadingWidget = _this._buildLoadingBarWidget$0();
listActionWidget = _this._buildListActionWidget$0();
listItemContactWidget = _this._buildListViewContactWidget$0();
t1 = _this.get$_quick_search_suggestion_list$_scrollController();
t2 = _this._widget.suggestionsBox.direction;
t3 = A._setArrayType([], type$.JSArray_Widget);
if (listActionWidget != null)
t3.push(listActionWidget);
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$3(t6, t5 == null ? _null : t5._change_notifier$_value.text, _this));
}
if (loadingWidget != null)
t3.push(loadingWidget);
if (listItemContactWidget.length !== 0)
C.JSArray_methods.addAll$1(t3, listItemContactWidget);
if (listItemContactWidget.length !== 0 && listItemSuggestionWidget.length !== 0)
t3.push(C.Divider_WbI);
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, t1, _null, C.EdgeInsets_0_0_0_0, _null, false, t2 !== C.AxisDirection_2, C.Axis_1, true);
_this._widget.toString;
child = A.Scrollbar$(child, _this.get$_quick_search_suggestion_list$_scrollController(), _null);
} else {
listItemRecent = _this._buildListViewRecentWidget$0();
loadingWidget = _this._buildLoadingBarWidget$0();
listActionWidget = _this._buildListActionWidget$0();
t1 = _this.get$_quick_search_suggestion_list$_scrollController();
t2 = _this._widget.suggestionsBox.direction;
t3 = A._setArrayType([], type$.JSArray_Widget);
if (listActionWidget != null)
t3.push(listActionWidget);
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$3(t6, t5 == null ? _null : t5._change_notifier$_value.text, _this));
}
t4 = _this._recentItems;
t4 = (t4 == null ? _null : J.get$isNotEmpty$asx(t4)) === true;
if (t4)
_this._widget.toString;
if (t4)
t3.push(_this._widget.titleHeaderRecent);
if (listItemRecent.length !== 0)
C.JSArray_methods.addAll$1(t3, listItemRecent);
if (loadingWidget != null)
t3.push(loadingWidget);
else if (listItemRecent.length !== 0)
t3.push(C.SizedBox_null_16_null_null);
child = A.ListView$(t3, t1, _null, C.EdgeInsets_0_0_0_0, _null, false, t2 !== C.AxisDirection_2, C.Axis_1, true);
_this._widget.toString;
t1 = _this.get$_quick_search_suggestion_list$_scrollController();
child = A.Scrollbar$(A.Container$(_null, child, C.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t1, _null);
}
_this._widget.toString;
t1 = _this._quick_search_suggestion_list$_animationController;
t1.toString;
animationChild = A.SizeTransition$(C.Axis_1, -1, child, A.CurvedAnimation$(C.Cubic_EBD, 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_ww816 : 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));
},
_buildListActionWidget$0() {
var t2, listActionWidget,
t1 = this._widget;
t1 = t1.listActionButton;
t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Padding>");
listActionWidget = A.Wrap$(C.WrapAlignment_0, A.List_List$of(new A.MappedListIterable(t1, new B.QuickSearchSuggestionListState__buildListActionWidget_closure(this), t2), true, t2._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 0, 0);
t1 = this._widget.listActionPadding;
return new A.Padding(t1, listActionWidget, null);
},
_buildLoadingBarWidget$0() {
var t2, _this = this,
t1 = _this._isLoading === true;
if (t1)
_this._widget.toString;
if (!t1)
return null;
t1 = _this._widget.loadingBuilder;
t2 = _this._framework$_element;
t2.toString;
t2 = t1.call$1(t2);
return t2;
},
_buildListViewRecentWidget$0() {
var _this = this,
t1 = _this._recentItems;
t1 = (t1 == null ? null : J.get$isNotEmpty$asx(t1)) === true;
if (t1)
_this._widget.toString;
if (!t1)
return A._setArrayType([], type$.JSArray_Widget);
t1 = _this._recentItems;
t1.toString;
return J.map$1$1$ax(t1, new B.QuickSearchSuggestionListState__buildListViewRecentWidget_closure(_this), type$.Widget).toList$0(0);
},
_buildListViewSuggestionWidget$0() {
var _this = this,
t1 = _this._suggestions;
t1 = (t1 == null ? null : J.get$isNotEmpty$asx(t1)) === true;
if (t1)
_this._widget.toString;
if (!t1)
return A._setArrayType([], type$.JSArray_Widget);
t1 = _this._suggestions;
t1.toString;
return J.map$1$1$ax(t1, new B.QuickSearchSuggestionListState__buildListViewSuggestionWidget_closure(_this), type$.Widget).toList$0(0);
},
_buildListViewContactWidget$0() {
var _this = this,
t1 = _this._contacts;
t1 = (t1 == null ? null : J.get$isNotEmpty$asx(t1)) === true;
if (t1)
_this._widget.toString;
if (!t1)
return A._setArrayType([], type$.JSArray_Widget);
t1 = _this._contacts;
t1.toString;
return J.map$1$1$ax(t1, new B.QuickSearchSuggestionListState__buildListViewContactWidget_closure(_this), type$.Widget).toList$0(0);
}
};
B._QuickSearchSuggestionListState_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.QuickSearchTextFieldConfiguration.prototype = {};
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])._bind$1(t1._rest[2])._eval$1("_TypeAheadFieldQuickSearchState<1,2,3>"));
}
};
B._TypeAheadFieldQuickSearchState.prototype = {
get$_type_ahead_field_quick_search$_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._type_ahead_field_quick_search$_focusNode : t1;
},
didChangeMetrics$0() {
this._suggestionsBox.onChangeMetrics$0();
},
dispose$0() {
var t1, t2, _this = this;
_this._suggestionsBox.close$0(0);
_this._suggestionsBox.widgetMounted = false;
$.WidgetsBinding__instance.removeObserver$1(_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._type_ahead_field_quick_search$_focusNode;
if (t2 != null)
t2.dispose$0();
t1 = _this._resizeOnScrollTimer;
if (t1 != null)
t1.cancel$0(0);
t1 = _this._type_ahead_field_quick_search$_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, t3, _this = this;
_this.super$State$initState();
$.WidgetsBinding__instance.WidgetsBinding__observers.push(_this);
t1 = _this._widget;
t2 = t1.textFieldConfiguration;
t3 = t2.textDirection;
_this.___TypeAheadFieldQuickSearchState__textDirection_A = t3 == null ? C.TextDirection_1 : t3;
if (t2.controller == null)
_this._textEditingController = new A.TextEditingController(C.TextEditingValue_4AN, $.$get$ChangeNotifier__emptyListeners());
if (t2.focusNode == null)
_this._type_ahead_field_quick_search$_focusNode = A.FocusNode$(true, null, true, true, null, null, false);
t2 = _this._framework$_element;
t2.toString;
t1 = t1.direction;
_this._suggestionsBox = new B.QuickSearchSuggestionsBox(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.listen$1(new B._TypeAheadFieldQuickSearchState_initState_closure0(_this));
_this.___TypeAheadFieldQuickSearchState__keyboardVisibilitySubscription_A = t1;
$.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, null);
if (scrollableState != null) {
t1 = scrollableState._scrollable$_position;
t1.toString;
_this._type_ahead_field_quick_search$_scrollPosition = t1;
t2 = _this.get$_scrollResizeListener();
t1.removeListener$1(0, t2);
_this._type_ahead_field_quick_search$_scrollPosition.isScrollingNotifier.addListener$1(0, t2);
}
},
_scrollResizeListener$0() {
var _this = this,
isScrolling = _this._type_ahead_field_quick_search$_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.overlayEntry = A.OverlayEntry$(new B._TypeAheadFieldQuickSearchState__initOverlayEntry_closure(this), false, false);
},
_onTextChange$1(text) {
var trimmedText = C.JSString_methods.trim$0(text),
t1 = this._widget.textFieldConfiguration.onChanged;
if (t1 != null)
t1.call$1(trimmedText);
if (trimmedText.length !== 0)
this._updateTextDirection$1(trimmedText);
},
_updateTextDirection$1(text) {
var t1 = 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 = t1._nativeRegExp.test(text) ? C.TextDirection_0 : C.TextDirection_1;
t1 = this.___TypeAheadFieldQuickSearchState__textDirection_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (directionByText !== t1)
this.setState$1(new B._TypeAheadFieldQuickSearchState__updateTextDirection_closure(this, directionByText));
},
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_EFv : C.BoxDecoration_IMr;
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$_type_ahead_field_quick_search$_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, true, C.Clip_1, _null, A.text_field_TextField__defaultContextMenuBuilder$closure(), t5, t6.cursorColor, _null, _null, _null, t6.cursorRadius, t6.cursorWidth, t6.decoration, C.DragStartBehavior_1, true, true, true, true, false, t4, _null, t6.inputFormatters, _null, t6.keyboardAppearance, t6.keyboardType, _null, t6.maxLength, t6.maxLengthEnforcement, t6.maxLines, t6.minLines, _null, false, "\u2022", _null, _this.get$_onTextChange(), t6.onEditingComplete, t6.onSubmitted, t6.onTap, false, _null, false, _null, true, _null, t6.scrollPadding, _null, _null, C.BoxHeightStyle_0, C.BoxWidthStyle_0, _null, _null, _null, _null, _null, _null, t6.style, t6.textAlign, t6.textAlignVertical, t6.textCapitalization, t7, t6.textInputAction, _null, _null), 1));
if (_this._widget.textFieldConfiguration.clearTextButton != null) {
t4 = _this.get$_type_ahead_field_quick_search$_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, _null, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, t1, _null, t2, _null, _null, _null, _null, _null, _null), _null);
}
};
B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver.prototype = {};
B.RichTextBuilder.prototype = {
createState$0() {
return new B._RichTextBuilderState(new A.LabeledGlobalKey(null, type$.LabeledGlobalKey_State_StatefulWidget), null, C._StateLifecycle_0);
}
};
B._RichTextBuilderState.prototype = {
scrollDebounceListener$0() {
var t1, t2, scrollable, renderBox;
if (!this.firstHighlightKeyed)
return;
t1 = this.firstHighlightKey;
if ($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1) == null)
return;
t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1);
t2.toString;
scrollable = A.Scrollable_maybeOf(t2, C.Axis_0);
renderBox = type$.nullable_RenderBox._as($.WidgetsBinding__instance.WidgetsBinding__buildOwner._globalKeyRegistry.$index(0, t1).get$renderObject());
if (renderBox != null)
if (scrollable != null)
scrollable._scrollable$_position.ensureVisible$4$alignment$curve$duration(renderBox, 0.5, C.Cubic_WKj0, C.Duration_300000);
},
build$1(context) {
var t1, t2, t3, t4, text, _this = this, _null = null;
_this.super$AutomaticKeepAliveClientMixin$build(context);
t1 = _this._widget;
t2 = t1.styleOrigin;
if (t1.preMarkedText != null)
t1 = _this._getSpansFromPreMarkedText$0();
else {
t3 = t1.textOrigin;
t4 = t1.wordToStyle;
t4 = _this._rich_text_builder$_getSpans$4$styleOrigin$styleWord$text$word(t2, t1.styleWord, t3, t4);
t1 = t4;
}
t2 = A.TextSpan$(t1, _null, _null, _null, _null, _null, _null, _null, t2, _null);
t1 = _this._widget;
text = A.Text$rich(t2, _null, 1, C.TextOverflow_2, _null, _null, t1.styleOrigin, _null, _null, _null, _null, _null);
if (!t1.ensureHighlightVisible)
return text;
if (t1.preMarkedText == null) {
t2 = t1.wordToStyle;
t1 = t2.length !== 0 && !C.JSString_methods.contains$1(t1.textOrigin.toLowerCase(), t2.toLowerCase());
} else
t1 = false;
if (t1)
return text;
$.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new B._RichTextBuilderState_build_closure(_this));
return A.SingleChildScrollView$(text, _null, D.PageStorageKey_rich_text_builder, _null, D.NeverScrollableScrollPhysics_null, _null, C.Axis_0);
},
_rich_text_builder$_getSpans$4$styleOrigin$styleWord$text$word(styleOrigin, styleWord, text, word) {
var spans, t2, t3, spanBoundary, startIndex, endIndex, spanText, _null = null,
t1 = word.length;
if (t1 === 0)
return A._setArrayType([A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, styleOrigin, text)], type$.JSArray_InlineSpan);
spans = A._setArrayType([], type$.JSArray_InlineSpan);
t2 = text.length;
t3 = this.firstHighlightKey;
spanBoundary = 0;
do {
startIndex = C.JSString_methods.indexOf$2(text.toLowerCase(), word.toLowerCase(), spanBoundary);
if (startIndex === -1) {
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, styleOrigin, C.JSString_methods.substring$1(text, spanBoundary)));
return spans;
}
if (startIndex > spanBoundary)
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, styleOrigin, C.JSString_methods.substring$2(text, spanBoundary, startIndex)));
endIndex = startIndex + t1;
spanText = C.JSString_methods.substring$2(text, startIndex, endIndex);
if (!this.firstHighlightKeyed) {
spans.push(new A.WidgetSpan(A.Text$(spanText, t3, _null, _null, _null, _null, _null, _null, _null, styleWord, _null, _null, _null, _null, _null), C.PlaceholderAlignment_5, _null, _null));
this.firstHighlightKeyed = true;
} else
spans.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, styleWord, spanText));
if (endIndex < t2) {
spanBoundary = endIndex;
continue;
} else
break;
} while (true);
return spans;
},
_getSpansFromPreMarkedText$0() {
var startIndex, t2, endIndex, t3, t4, markedText, _this = this, _null = null,
spans = A._setArrayType([], type$.JSArray_InlineSpan),
processingText = _this._widget.preMarkedText,
t1 = _this.firstHighlightKey;
while (true) {
if (!(processingText != null && processingText.length !== 0))
break;
startIndex = J.indexOf$1$asx(processingText, "<mark>");
if (startIndex === -1) {
t1 = _this._widget.styleOrigin;
spans.push(new A.TextSpan(processingText, _null, _null, C.C__DeferringMouseCursor, _null, _null, _null, _null, _null, t1));
return spans;
}
t2 = startIndex + 6;
endIndex = C.JSString_methods.indexOf$2(processingText, "</mark>", t2);
if (endIndex === -1) {
t1 = _this._widget.styleOrigin;
spans.push(new A.TextSpan(processingText, _null, _null, C.C__DeferringMouseCursor, _null, _null, _null, _null, _null, t1));
return spans;
}
if (startIndex > 0) {
t3 = C.JSString_methods.substring$2(processingText, 0, startIndex);
t4 = _this._widget.styleOrigin;
spans.push(new A.TextSpan(t3, _null, _null, C.C__DeferringMouseCursor, _null, _null, _null, _null, _null, t4));
}
markedText = C.JSString_methods.substring$2(processingText, t2, endIndex);
t2 = _this.firstHighlightKeyed;
t3 = _this._widget;
if (!t2) {
spans.push(new A.WidgetSpan(new A.Text(markedText, _null, t3.styleWord, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t1), C.PlaceholderAlignment_5, _null, _null));
_this.firstHighlightKeyed = true;
} else {
t2 = t3.styleWord;
spans.push(new A.TextSpan(markedText, _null, _null, C.C__DeferringMouseCursor, _null, _null, _null, _null, _null, t2));
}
processingText = C.JSString_methods.substring$1(processingText, endIndex + 7);
}
return spans;
},
get$wantKeepAlive() {
return this._widget.ensureHighlightVisible;
}
};
B.__RichTextBuilderState_State_AutomaticKeepAliveClientMixin.prototype = {
initState$0() {
this.super$State$initState();
if (this._widget.ensureHighlightVisible)
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.ArabicDateLocale.prototype = {
get$am() {
return "\u0635";
},
get$pm() {
return "\u0645";
},
get$monthsShort() {
return C.List_EAC;
},
get$monthsLong() {
return D.List_zVb;
},
get$daysShort() {
return C.List_SBl;
},
get$daysLong() {
return C.List_SBl;
}
};
B.EnglishDateLocale.prototype = {
get$am() {
return "AM";
},
get$pm() {
return "PM";
},
get$monthsShort() {
return C.List_TfR;
},
get$monthsLong() {
return C.List_U6e;
},
get$daysShort() {
return D.List_mBr;
},
get$daysLong() {
return C.List_HFE;
}
};
B.FrenchDateLocale.prototype = {
get$am() {
return "avant midi";
},
get$pm() {
return "apr\xe8s midi";
},
get$monthsShort() {
return D.List_V0o;
},
get$monthsLong() {
return D.List_he9;
},
get$daysShort() {
return D.List_wOX;
},
get$daysLong() {
return D.List_Ano;
}
};
B.GermanDateLocale.prototype = {
get$am() {
return "vormittags";
},
get$pm() {
return "nachmittags";
},
get$monthsShort() {
return D.List_GMA;
},
get$monthsLong() {
return C.List_7BT;
},
get$daysShort() {
return D.List_2bL;
},
get$daysLong() {
return D.List_FYo1;
}
};
B.ItalianDateLocale.prototype = {
get$am() {
return "AM";
},
get$pm() {
return "PM";
},
get$monthsShort() {
return D.List_ECL2;
},
get$monthsLong() {
return D.List_ewF;
},
get$daysShort() {
return D.List_OTw;
},
get$daysLong() {
return D.List_W3m;
}
};
B.RussianDateLocale.prototype = {
get$am() {
return "AM";
},
get$pm() {
return "PM";
},
get$monthsShort() {
return D.List_Hpw;
},
get$monthsLong() {
return C.List_Yqn;
},
get$daysShort() {
return D.List_qXT;
},
get$daysLong() {
return D.List_Dn4;
}
};
B.VietnameseDateLocale.prototype = {
get$am() {
return "SA";
},
get$pm() {
return "CH";
},
get$monthsShort() {
return D.List_kZA;
},
get$monthsLong() {
return D.List_FAi;
},
get$daysShort() {
return D.List_M2I1;
},
get$daysLong() {
return D.List_o0y1;
}
};
B.DropdownSearchData.prototype = {};
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._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._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._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._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._pointers.containsKey$1(0, pointer)) {
state = this._pointers.$index(0, pointer);
state._arenaEntry = state._multidrag$_lastPendingEventTimestamp = state._pendingDelta = null;
this._removeState$1(pointer);
}
},
_removeState$1(pointer) {
var t1, t2;
if (this._pointers == null)
return;
$.GestureBinding__instance.GestureBinding_pointerRouter.removeRoute$2(pointer, this.get$_multidrag$_handleEvent());
t1 = this._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._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._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.Drawer.prototype = {
build$1(context) {
var label, t1, defaults, effectiveShape, t2, t3, t4, t5, _null = null,
drawerTheme = A.DrawerTheme_of(context);
switch (A.Theme_of(context).platform.index) {
case 2:
case 4:
label = _null;
break;
case 0:
case 1:
case 3:
case 5:
t1 = A.Localizations_of(context, C.Type_MaterialLocalizations_EyN, type$.MaterialLocalizations);
t1.toString;
label = t1.get$drawerLabel();
break;
default:
label = _null;
}
A.Theme_of(context);
t1 = context.dependOnInheritedWidgetOfExactType$1$0(type$._DrawerControllerScope);
t1 = t1 == null ? _null : t1.controller;
t1 = t1 == null ? _null : t1.alignment;
defaults = new B._DrawerDefaultsM3(context, _null, _null, 1, _null, _null, _null, _null, _null);
effectiveShape = this.shape;
if (effectiveShape == null)
if (t1 !== C.DrawerAlignment_1) {
t1 = drawerTheme.shape;
if (t1 == null)
t1 = defaults.get$shape(0);
effectiveShape = t1;
} else {
t1 = drawerTheme.endShape;
if (t1 == null)
t1 = defaults.get$endShape();
effectiveShape = t1;
}
t1 = drawerTheme.width;
if (t1 == null)
t1 = 304;
t2 = drawerTheme.backgroundColor;
if (t2 == null)
t2 = defaults.get$backgroundColor(0);
t3 = this.elevation;
t4 = drawerTheme.shadowColor;
if (t4 == null)
t4 = defaults.get$shadowColor(0);
t5 = drawerTheme.surfaceTintColor;
if (t5 == null)
t5 = defaults.get$surfaceTintColor();
t2 = A.Material$(C.Duration_200000, true, _null, this.child, C.Clip_1, t2, t3, _null, t4, effectiveShape, t5, _null, C.MaterialType_0);
return new A.Semantics(A.SemanticsProperties$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, label, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null), false, true, false, false, new A.ConstrainedBox(new A.BoxConstraints(t1, t1, 1 / 0, 1 / 0), t2, _null), _null);
}
};
B._DrawerDefaultsM3.prototype = {
get$direction(_) {
var t1, _this = this,
value = _this.___DrawerDefaultsM3_direction_FI;
if (value === $) {
t1 = _this.context.dependOnInheritedWidgetOfExactType$1$0(type$.Directionality);
t1.toString;
_this.___DrawerDefaultsM3_direction_FI !== $ && A.throwUnnamedLateFieldADI();
value = _this.___DrawerDefaultsM3_direction_FI = t1.textDirection;
}
return value;
},
get$backgroundColor(_) {
var t1 = A.Theme_of(this.context).colorScheme,
t2 = t1._surfaceContainerLow;
return t2 == null ? t1.surface : t2;
},
get$surfaceTintColor() {
return C.Color_0;
},
get$shadowColor(_) {
return C.Color_0;
},
get$shape(_) {
return new A.RoundedRectangleBorder(D.BorderRadiusDirectional_6nc1.resolve$1(this.get$direction(0)), C.BorderSide_Q1M);
},
get$endShape() {
return new A.RoundedRectangleBorder(D.BorderRadiusDirectional_6nc0.resolve$1(this.get$direction(0)), C.BorderSide_Q1M);
}
};
B.SelectionArea.prototype = {
createState$0() {
return new B._SelectionAreaState(C._StateLifecycle_0);
}
};
B._SelectionAreaState.prototype = {
dispose$0() {
var t1 = this._internalNode;
if (t1 != null)
t1.dispose$0();
this.super$State$dispose();
},
build$1(context) {
var _0_0, t1, controls, t2, t3, _this = this, _null = null;
_this._widget.toString;
_0_0 = A.Theme_of(context).platform;
$label0$0: {
if (C.TargetPlatform_0 === _0_0 || C.TargetPlatform_1 === _0_0) {
t1 = $.$get$materialTextSelectionHandleControls();
break $label0$0;
}
if (C.TargetPlatform_3 === _0_0 || C.TargetPlatform_5 === _0_0) {
t1 = $.$get$desktopTextSelectionHandleControls();
break $label0$0;
}
if (C.TargetPlatform_2 === _0_0) {
t1 = $.$get$cupertinoTextSelectionHandleControls();
break $label0$0;
}
if (C.TargetPlatform_4 === _0_0) {
t1 = $.$get$cupertinoDesktopTextSelectionHandleControls();
break $label0$0;
}
t1 = _null;
}
controls = t1;
t1 = _this._widget;
t1.toString;
t2 = _this._internalNode;
if (t2 == null) {
t2 = A.FocusNode$(true, _null, true, true, _null, _null, false);
_this._internalNode = t2;
}
t3 = $.$get$TextMagnifier_adaptiveMagnifierConfiguration();
return new B.SelectableRegion(t3, t2, t1.child, B.selection_area_SelectionArea__defaultContextMenuBuilder$closure(), controls, _null, _null);
}
};
B.SelectAllSelectionEvent.prototype = {};
B.SelectWordSelectionEvent.prototype = {};
B.GranularlyExtendSelectionEvent.prototype = {};
B.DirectionallyExtendSelectionEvent.prototype = {
copyWith$1$direction(direction) {
return new B.DirectionallyExtendSelectionEvent(this.dx, this.isEnd, direction, C.SelectionEventType_6);
}
};
B.PlatformSelectableRegionContextMenu.prototype = {
build$1(context) {
return new A.Stack(C.Alignment_0_0, null, C.StackFit_0, C.Clip_1, A._setArrayType([D.Positioned_qdM, this.child], type$.JSArray_Widget), null);
}
};
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:
case void 0:
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_18);
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, t3, t4, 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;
t3 = t2.data;
t2 = t2.feedback;
t4 = _this._framework$_element;
t4.toString;
avatar = new B._DragAvatar(t3, null, dragStartPoint, t2, C.Offset_0_0, new B._DraggableState__startDrag_closure0(_this), new B._DraggableState__startDrag_closure1(_this), t1, true, true, A.View_maybeOf(t4).viewId, A._setArrayType([], type$.JSArray__DragTargetState_Object), position, _this.$ti._eval$1("_DragAvatar<1>"));
t4 = A.OverlayEntry$(avatar.get$_build(), false, false);
avatar._drag_target$_entry = t4;
t1.insert$1(0, t4);
avatar.updateDrag$1(position);
t4 = _this._widget.onDragStarted;
if (t4 != null)
t4.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, _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, targets, t2, t3, 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;
t1.hitTestInView$3(result, globalPosition.$add(0, _this.feedbackOffset), _this.viewId);
t1 = _this._getDragTargets$1(result._path);
targets = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
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 t1, t2, _this = this,
wasAccepted = endKind === D._DragEndKind_0 && _this._activeTarget != null;
if (wasAccepted) {
_this._activeTarget.didDrop$1(_this);
C.JSArray_methods.remove$1(_this._enteredTargets, _this._activeTarget);
}
_this._leaveAllEntered$0();
_this._activeTarget = null;
_this._drag_target$_entry.remove$0(0);
_this._drag_target$_entry.dispose$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.ExcludeSemantics(true, new A.IgnorePointer(true, _null, this.feedback, _null), _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.NeverScrollableScrollPhysics.prototype = {
applyTo$1(ancestor) {
return new B.NeverScrollableScrollPhysics(this.buildParent$1(ancestor));
},
get$allowUserScrolling() {
return false;
},
get$allowImplicitScrolling() {
return false;
}
};
B.SelectableRegion.prototype = {
createState$0() {
var t1 = type$.Selectable;
return new B.SelectableRegionState(A.LinkedHashMap_LinkedHashMap$_empty(type$.Type, type$.GestureRecognizerFactory_GestureRecognizer), new A.LayerLink(), new A.LayerLink(), new A.LayerLink(), new B._SelectableRegionContainerDelegate(A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), A._setArrayType([], type$.JSArray_Selectable), A.LinkedHashSet_LinkedHashSet$_empty(t1), C.SelectionGeometry_2jN0, $.$get$ChangeNotifier__emptyListeners()), A.DefaultProcessTextService$(), A._setArrayType([], type$.JSArray_ProcessTextAction), D.TextEditingValue_ssD, C._StateLifecycle_0);
}
};
B.SelectableRegionState.prototype = {
get$_hasSelectionOverlayGeometry() {
var t1 = this._selectionDelegate._selectionGeometry;
return t1.startSelectionPoint != null || t1.endSelectionPoint != null;
},
initState$0() {
var _this = this;
_this.super$State$initState();
_this._widget.focusNode.addListener$1(0, _this.get$_selectable_region$_handleFocusChanged());
_this._initMouseGestureRecognizer$0();
_this._initTouchGestureRecognizer$0();
_this._gestureRecognizers.$indexSet(0, C.Type_TapGestureRecognizer_o05, new A.GestureRecognizerFactoryWithHandlers(new B.SelectableRegionState_initState_closure(_this), new B.SelectableRegionState_initState_closure0(_this), type$.GestureRecognizerFactoryWithHandlers_TapGestureRecognizer));
_this._selectable_region$_initProcessTextActions$0();
},
_selectable_region$_initProcessTextActions$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$self = this, t1, $async$temp1, $async$temp2;
var $async$_selectable_region$_initProcessTextActions$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._selectable_region$_processTextActions;
C.JSArray_methods.clear$0(t1);
$async$temp1 = C.JSArray_methods;
$async$temp2 = t1;
$async$goto = 2;
return A._asyncAwait($async$self._selectable_region$_processTextService.queryTextActions$0(), $async$_selectable_region$_initProcessTextActions$0);
case 2:
// returning from await.
$async$temp1.addAll$1($async$temp2, $async$result);
// implicit return
return A._asyncReturn(null, $async$completer);
}
});
return A._asyncStartSync($async$_selectable_region$_initProcessTextActions$0, $async$completer);
},
didChangeDependencies$0() {
var t1, orientation, _this = this;
_this.super$State$didChangeDependencies();
switch (A.defaultTargetPlatform().index) {
case 0:
case 2:
break;
case 1:
case 3:
case 4:
case 5:
return;
}
t1 = _this._framework$_element;
t1.toString;
orientation = A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_1, type$.MediaQuery).data.get$orientation(0);
t1 = _this._selectable_region$_lastOrientation;
if (t1 == null) {
_this._selectable_region$_lastOrientation = orientation;
return;
}
if (orientation !== t1) {
_this._selectable_region$_lastOrientation = orientation;
_this.hideToolbar$1(A.defaultTargetPlatform() === C.TargetPlatform_0);
}
},
didUpdateWidget$1(oldWidget) {
var t1, t2, _this = this;
_this.super$State$didUpdateWidget(oldWidget);
t1 = oldWidget.focusNode;
if (_this._widget.focusNode !== t1) {
t2 = _this.get$_selectable_region$_handleFocusChanged();
t1.removeListener$1(0, t2);
_this._widget.focusNode.addListener$1(0, t2);
if (_this._widget.focusNode.get$hasFocus() !== t1.get$hasFocus())
_this._selectable_region$_handleFocusChanged$0();
}
},
_selectable_region$_handleFocusChanged$0() {
var _this = this;
if (!_this._widget.focusNode.get$hasFocus()) {
if ($.PlatformSelectableRegionContextMenu__activeClient !== _this._selectionDelegate)
$.PlatformSelectableRegionContextMenu__activeClient = null;
_this._clearSelection$0();
}
$.PlatformSelectableRegionContextMenu__activeClient = _this._selectionDelegate;
},
_updateSelectionStatus$0() {
var t1, _this = this,
_0_0 = _this._selectionDelegate._selectionGeometry.status;
$label0$0: {
if (C.SelectionStatus_0 === _0_0 || C.SelectionStatus_1 === _0_0) {
t1 = D.TextSelection_23h0;
break $label0$0;
}
if (C.SelectionStatus_2 === _0_0) {
t1 = D.TextSelection_23h1;
break $label0$0;
}
t1 = null;
}
_this.textEditingValue = new A.TextEditingValue("__", t1, C.TextRange_m1_m1);
if (_this.get$_hasSelectionOverlayGeometry())
_this._selectable_region$_updateSelectionOverlay$0();
else {
t1 = _this._selectable_region$_selectionOverlay;
if (t1 != null) {
t1.hide$0();
t1 = t1._magnifierInfo;
t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners();
t1.ChangeNotifier__count = 0;
}
_this._selectable_region$_selectionOverlay = null;
}
},
_initMouseGestureRecognizer$0() {
this._gestureRecognizers.$indexSet(0, C.Type_TapAndPanGestureRecognizer_STY, new A.GestureRecognizerFactoryWithHandlers(new B.SelectableRegionState__initMouseGestureRecognizer_closure(this), new B.SelectableRegionState__initMouseGestureRecognizer_closure0(this), type$.GestureRecognizerFactoryWithHandlers_TapAndPanGestureRecognizer));
},
_initTouchGestureRecognizer$0() {
this._gestureRecognizers.$indexSet(0, C.Type_LongPressGestureRecognizer_kMT, new A.GestureRecognizerFactoryWithHandlers(new B.SelectableRegionState__initTouchGestureRecognizer_closure(this), new B.SelectableRegionState__initTouchGestureRecognizer_closure0(this), type$.GestureRecognizerFactoryWithHandlers_LongPressGestureRecognizer));
},
_startNewMouseSelectionGesture$1(details) {
var t1, _this = this;
switch (B.SelectableRegionState__getEffectiveConsecutiveTapCount(details.consecutiveTapCount)) {
case 1:
_this._widget.focusNode.requestFocus$0();
_this.hideToolbar$0();
switch (A.defaultTargetPlatform().index) {
case 0:
case 1:
case 2:
break;
case 4:
case 3:
case 5:
t1 = details.globalPosition;
_this._selectStartTo$1$offset(t1);
_this._selectEndTo$1$offset(t1);
break;
}
break;
case 2:
_this._selectWordAt$1$offset(details.globalPosition);
break;
}
_this._updateSelectedContentIfNeeded$0();
},
_handleMouseDragStart$1(details) {
switch (B.SelectableRegionState__getEffectiveConsecutiveTapCount(details.consecutiveTapCount)) {
case 1:
this._selectStartTo$1$offset(details.globalPosition);
break;
}
this._updateSelectedContentIfNeeded$0();
},
_handleMouseDragUpdate$1(details) {
switch (B.SelectableRegionState__getEffectiveConsecutiveTapCount(details.consecutiveTapCount)) {
case 1:
this._selectEndTo$2$continuous$offset(true, details.globalPosition);
break;
case 2:
this._selectEndTo$3$continuous$offset$textGranularity(true, details.globalPosition, C.TextGranularity_1);
break;
}
this._updateSelectedContentIfNeeded$0();
},
_handleMouseDragEnd$1(details) {
var _this = this;
_this._scheduledSelectionEndEdgeUpdate = false;
_this._selectionEndPosition = null;
_this._scheduledSelectionStartEdgeUpdate = false;
_this._updateSelectedContentIfNeeded$0();
},
_handleMouseTapUp$1(details) {
var t1;
switch (B.SelectableRegionState__getEffectiveConsecutiveTapCount(details.consecutiveTapCount)) {
case 1:
switch (A.defaultTargetPlatform().index) {
case 0:
case 1:
case 2:
t1 = details.globalPosition;
this._selectStartTo$1$offset(t1);
this._selectEndTo$1$offset(t1);
break;
case 4:
case 3:
case 5:
break;
}
break;
}
this._updateSelectedContentIfNeeded$0();
},
_updateSelectedContentIfNeeded$0() {
var t2, _this = this, _null = null,
t1 = _this._lastSelectedContent;
t1 = t1 == null ? _null : t1.plainText;
t2 = _this._selectable;
if (t2 == null)
t2 = _null;
else {
t2 = t2._widget.delegate.getSelectedContent$0();
t2 = t2 == null ? _null : t2.plainText;
}
if (t1 != t2) {
t1 = _this._selectable;
_this._lastSelectedContent = t1 == null ? _null : t1._widget.delegate.getSelectedContent$0();
_this._widget.toString;
}
},
_handleTouchLongPressStart$1(details) {
var _this = this;
A.HapticFeedback_selectionClick();
_this._widget.focusNode.requestFocus$0();
_this._selectWordAt$1$offset(details.globalPosition);
if (A.defaultTargetPlatform() !== C.TargetPlatform_0)
_this._showHandles$0();
_this._updateSelectedContentIfNeeded$0();
},
_handleTouchLongPressMoveUpdate$1(details) {
this._selectEndTo$2$offset$textGranularity(details.globalPosition, C.TextGranularity_1);
this._updateSelectedContentIfNeeded$0();
},
_handleTouchLongPressEnd$1(details) {
var _this = this;
_this._scheduledSelectionEndEdgeUpdate = false;
_this._selectionEndPosition = null;
_this._scheduledSelectionStartEdgeUpdate = false;
_this._updateSelectedContentIfNeeded$0();
_this._showToolbar$0();
if (A.defaultTargetPlatform() === C.TargetPlatform_0)
_this._showHandles$0();
},
_positionIsOnActiveSelection$1$globalPosition(globalPosition) {
var t1, t2, _i, selectionRect;
for (t1 = this._selectionDelegate._selectionGeometry.selectionRects, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
selectionRect = t1[_i];
if (A.MatrixUtils_transformRect(this._selectable._framework$_element.get$renderObject().getTransformTo$1(0, null), selectionRect).contains$1(0, globalPosition))
return true;
}
return false;
},
_handleRightClickDown$1(details) {
var toolbarIsVisible, _this = this,
previousSecondaryTapDownPosition = _this.lastSecondaryTapDownPosition,
t1 = _this._selectable_region$_selectionOverlay;
t1 = t1 == null ? null : t1.get$toolbarIsVisible();
toolbarIsVisible = t1 === true;
t1 = _this.lastSecondaryTapDownPosition = details.globalPosition;
_this._widget.focusNode.requestFocus$0();
switch (A.defaultTargetPlatform().index) {
case 0:
case 1:
case 5:
if (!_this._positionIsOnActiveSelection$1$globalPosition(t1)) {
t1 = _this.lastSecondaryTapDownPosition;
t1.toString;
_this._selectStartTo$1$offset(t1);
_this._selectEndTo$1$offset(t1);
}
_this._showHandles$0();
_this._showToolbar$1$location(_this.lastSecondaryTapDownPosition);
break;
case 2:
t1 = _this.lastSecondaryTapDownPosition;
t1.toString;
_this._selectWordAt$1$offset(t1);
_this._showHandles$0();
_this._showToolbar$1$location(_this.lastSecondaryTapDownPosition);
break;
case 4:
if (J.$eq$(previousSecondaryTapDownPosition, _this.lastSecondaryTapDownPosition) && toolbarIsVisible) {
_this.hideToolbar$0();
return;
}
t1 = _this.lastSecondaryTapDownPosition;
t1.toString;
_this._selectWordAt$1$offset(t1);
_this._showHandles$0();
_this._showToolbar$1$location(_this.lastSecondaryTapDownPosition);
break;
case 3:
if (toolbarIsVisible) {
_this.hideToolbar$0();
return;
}
if (!_this._positionIsOnActiveSelection$1$globalPosition(t1)) {
t1 = _this.lastSecondaryTapDownPosition;
t1.toString;
_this._selectStartTo$1$offset(t1);
_this._selectEndTo$1$offset(t1);
}
_this._showHandles$0();
_this._showToolbar$1$location(_this.lastSecondaryTapDownPosition);
break;
}
_this._updateSelectedContentIfNeeded$0();
},
_triggerSelectionEndEdgeUpdate$1$textGranularity(textGranularity) {
var t1, t2, _this = this;
if (_this._scheduledSelectionEndEdgeUpdate || _this._selectionEndPosition == null)
return;
t1 = _this._selectable;
if (t1 == null)
t1 = null;
else {
t2 = _this._selectionEndPosition;
t2.toString;
t2 = A.SelectionEdgeUpdateEvent$forEnd(t2, textGranularity);
t2 = t1._widget.delegate.dispatchSelectionEvent$1(t2);
t1 = t2;
}
if (t1 === C.SelectionResult_3) {
_this._scheduledSelectionEndEdgeUpdate = true;
$.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new B.SelectableRegionState__triggerSelectionEndEdgeUpdate_closure(_this, textGranularity));
return;
}
},
_triggerSelectionEndEdgeUpdate$0() {
return this._triggerSelectionEndEdgeUpdate$1$textGranularity(null);
},
_onAnyDragEnd$1(details) {
var t1, t2, _this = this;
_this._widget.toString;
_this._selectable_region$_selectionOverlay.hideMagnifier$0();
t1 = _this._selectable_region$_selectionOverlay;
t1.toString;
t2 = _this._framework$_element;
t2.toString;
t1.showToolbar$2$context$contextMenuBuilder(t2, new B.SelectableRegionState__onAnyDragEnd_closure(_this));
_this._scheduledSelectionStartEdgeUpdate = false;
_this._selectionEndPosition = null;
_this._scheduledSelectionEndEdgeUpdate = false;
_this._updateSelectedContentIfNeeded$0();
},
_triggerSelectionStartEdgeUpdate$1$textGranularity(textGranularity) {
var t1, t2, _this = this;
if (_this._scheduledSelectionStartEdgeUpdate || _this._selectionStartPosition == null)
return;
t1 = _this._selectable;
if (t1 == null)
t1 = null;
else {
t2 = _this._selectionStartPosition;
t2.toString;
t2 = A.SelectionEdgeUpdateEvent$forStart(t2, textGranularity);
t2 = t1._widget.delegate.dispatchSelectionEvent$1(t2);
t1 = t2;
}
if (t1 === C.SelectionResult_3) {
_this._scheduledSelectionStartEdgeUpdate = true;
$.SchedulerBinding__instance.SchedulerBinding__postFrameCallbacks.push(new B.SelectableRegionState__triggerSelectionStartEdgeUpdate_closure(_this, textGranularity));
return;
}
},
_triggerSelectionStartEdgeUpdate$0() {
return this._triggerSelectionStartEdgeUpdate$1$textGranularity(null);
},
_selectable_region$_handleSelectionStartHandleDragStart$1(details) {
var t2, _this = this,
t1 = _this._selectionDelegate,
localPosition = t1._selectionGeometry.startSelectionPoint.localPosition;
_this.__SelectableRegionState__selectionStartHandleDragPosition_A = A.MatrixUtils_transformPoint(_this._selectable._framework$_element.get$renderObject().getTransformTo$1(0, null), localPosition);
t2 = _this._selectable_region$_selectionOverlay;
t2.toString;
t1 = t1._selectionGeometry.startSelectionPoint;
t1.toString;
t2.showMagnifier$1(_this._buildInfoForMagnifier$2(details.globalPosition, t1));
_this._updateSelectedContentIfNeeded$0();
},
_selectable_region$_handleSelectionStartHandleDragUpdate$1(details) {
var t2, _this = this,
t1 = _this.__SelectableRegionState__selectionStartHandleDragPosition_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t1 = t1.$add(0, details.delta);
_this.__SelectableRegionState__selectionStartHandleDragPosition_A = t1;
t2 = _this._selectionDelegate;
_this._selectionStartPosition = t1.$sub(0, new A.Offset(0, t2._selectionGeometry.startSelectionPoint.lineHeight / 2));
_this._triggerSelectionStartEdgeUpdate$0();
t1 = _this._selectable_region$_selectionOverlay;
t1.toString;
t2 = t2._selectionGeometry.startSelectionPoint;
t2.toString;
t1.updateMagnifier$1(_this._buildInfoForMagnifier$2(details.globalPosition, t2));
_this._updateSelectedContentIfNeeded$0();
},
_selectable_region$_handleSelectionEndHandleDragStart$1(details) {
var t2, _this = this,
t1 = _this._selectionDelegate,
localPosition = t1._selectionGeometry.endSelectionPoint.localPosition;
_this.__SelectableRegionState__selectionEndHandleDragPosition_A = A.MatrixUtils_transformPoint(_this._selectable._framework$_element.get$renderObject().getTransformTo$1(0, null), localPosition);
t2 = _this._selectable_region$_selectionOverlay;
t2.toString;
t1 = t1._selectionGeometry.endSelectionPoint;
t1.toString;
t2.showMagnifier$1(_this._buildInfoForMagnifier$2(details.globalPosition, t1));
_this._updateSelectedContentIfNeeded$0();
},
_selectable_region$_handleSelectionEndHandleDragUpdate$1(details) {
var t2, _this = this,
t1 = _this.__SelectableRegionState__selectionEndHandleDragPosition_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t1 = t1.$add(0, details.delta);
_this.__SelectableRegionState__selectionEndHandleDragPosition_A = t1;
t2 = _this._selectionDelegate;
_this._selectionEndPosition = t1.$sub(0, new A.Offset(0, t2._selectionGeometry.endSelectionPoint.lineHeight / 2));
_this._triggerSelectionEndEdgeUpdate$0();
t1 = _this._selectable_region$_selectionOverlay;
t1.toString;
t2 = t2._selectionGeometry.endSelectionPoint;
t2.toString;
t1.updateMagnifier$1(_this._buildInfoForMagnifier$2(details.globalPosition, t2));
_this._updateSelectedContentIfNeeded$0();
},
_buildInfoForMagnifier$2(globalGesturePosition, selectionPoint) {
var globalSelectionPointPosition, t3, t4, t5, t6, t7, t8,
t1 = this._selectable._framework$_element.get$renderObject().getTransformTo$1(0, null).getTranslation$0()._v3storage,
t2 = t1[0];
t1 = t1[1];
globalSelectionPointPosition = selectionPoint.localPosition.$add(0, new A.Offset(t2, t1));
t3 = globalSelectionPointPosition._dx;
t4 = selectionPoint.lineHeight;
t5 = globalSelectionPointPosition._dy - t4;
t6 = this._selectable._framework$_element.get$renderObject();
t6.toString;
t7 = type$.RenderBox;
t6 = t7._as(t6).get$size(0);
t8 = this._selectable._framework$_element.get$renderObject();
t8.toString;
t8 = t7._as(t8).get$size(0);
return new A.MagnifierInfo(globalGesturePosition, new A.Rect(t2, t1, t2 + t8._dx, t1 + t8._dy), new A.Rect(t3, t5, t3 + 0, t5 + t4), new A.Rect(t2, t1, t2 + t6._dx, t1 + t6._dy));
},
_selectable_region$_createSelectionOverlay$0() {
var t1, start, end, t2, t3, t4, t5, t6, t7, t8, t9, t10, _this = this, _null = null;
if (_this._selectable_region$_selectionOverlay != null)
return;
t1 = _this._selectionDelegate._selectionGeometry;
start = t1.startSelectionPoint;
end = t1.endSelectionPoint;
t1 = _this._framework$_element;
t1.toString;
t2 = _this._widget;
t2.toString;
t3 = start == null;
t4 = t3 ? _null : start.handleType;
if (t4 == null)
t4 = C.TextSelectionHandleType_0;
t3 = t3 ? _null : start.lineHeight;
if (t3 == null)
t3 = end.lineHeight;
t5 = _this.get$_onAnyDragEnd();
t6 = end == null;
t7 = t6 ? _null : end.handleType;
if (t7 == null)
t7 = C.TextSelectionHandleType_1;
t6 = t6 ? _null : end.lineHeight;
if (t6 == null)
t6 = start.lineHeight;
t8 = _this.get$selectionEndpoints();
t9 = _this._widget;
t10 = t9.selectionControls;
_this._selectable_region$_selectionOverlay = A.SelectionOverlay$(_null, t1, t2, C.DragStartBehavior_1, _this._selectable_region$_endHandleLayerLink, t7, _null, t6, t3, t9.magnifierConfiguration, t5, _this.get$_selectable_region$_handleSelectionEndHandleDragStart(), _this.get$_selectable_region$_handleSelectionEndHandleDragUpdate(), _null, t5, _this.get$_selectable_region$_handleSelectionStartHandleDragStart(), _this.get$_selectable_region$_handleSelectionStartHandleDragUpdate(), t10, _this, t8, _this._selectable_region$_startHandleLayerLink, t4, _null, _this._selectable_region$_toolbarLayerLink, _null, _null);
},
_selectable_region$_updateSelectionOverlay$0() {
var t2, start, end, t3, _null = null,
t1 = this._selectable_region$_selectionOverlay;
if (t1 == null)
return;
t2 = this._selectionDelegate._selectionGeometry;
start = t2.startSelectionPoint;
end = t2.endSelectionPoint;
t2 = start == null;
t3 = t2 ? _null : start.handleType;
t1.set$startHandleType(t3 == null ? C.TextSelectionHandleType_0 : t3);
t2 = t2 ? _null : start.lineHeight;
t1.set$lineHeightAtStart(t2 == null ? end.lineHeight : t2);
t2 = end == null;
t3 = t2 ? _null : end.handleType;
t1.set$endHandleType(t3 == null ? C.TextSelectionHandleType_1 : t3);
t2 = t2 ? _null : end.lineHeight;
t1.set$lineHeightAtEnd(t2 == null ? start.lineHeight : t2);
t1.set$selectionEndpoints(this.get$selectionEndpoints());
},
_showHandles$0() {
var _this = this,
t1 = _this._selectable_region$_selectionOverlay;
if (t1 != null) {
t1.showHandles$0();
return true;
}
if (!_this.get$_hasSelectionOverlayGeometry())
return false;
_this._selectable_region$_createSelectionOverlay$0();
_this._selectable_region$_selectionOverlay.showHandles$0();
return true;
},
_showToolbar$1$location($location) {
if (!this.get$_hasSelectionOverlayGeometry() && this._selectable_region$_selectionOverlay == null)
return false;
$.$get$BrowserContextMenu__instance();
return false;
},
_showToolbar$0() {
return this._showToolbar$1$location(null);
},
_selectEndTo$3$continuous$offset$textGranularity(continuous, offset, textGranularity) {
var t1, t2, _this = this;
if (!continuous) {
t1 = _this._selectable;
if (t1 != null) {
t2 = A.SelectionEdgeUpdateEvent$forEnd(offset, textGranularity);
t1._widget.delegate.dispatchSelectionEvent$1(t2);
}
return;
}
if (!J.$eq$(_this._selectionEndPosition, offset)) {
_this._selectionEndPosition = offset;
_this._triggerSelectionEndEdgeUpdate$1$textGranularity(textGranularity);
}
},
_selectEndTo$1$offset(offset) {
return this._selectEndTo$3$continuous$offset$textGranularity(false, offset, null);
},
_selectEndTo$2$offset$textGranularity(offset, textGranularity) {
return this._selectEndTo$3$continuous$offset$textGranularity(false, offset, textGranularity);
},
_selectEndTo$2$continuous$offset(continuous, offset) {
return this._selectEndTo$3$continuous$offset$textGranularity(continuous, offset, null);
},
_selectStartTo$1$offset(offset) {
var t2,
t1 = this._selectable;
if (t1 != null) {
t2 = A.SelectionEdgeUpdateEvent$forStart(offset, null);
t1._widget.delegate.dispatchSelectionEvent$1(t2);
}
return;
},
_selectWordAt$1$offset(offset) {
var t1, _this = this;
_this._scheduledSelectionEndEdgeUpdate = false;
_this._selectionEndPosition = null;
_this._scheduledSelectionStartEdgeUpdate = false;
t1 = _this._selectable;
if (t1 != null)
t1._widget.delegate.dispatchSelectionEvent$1(new B.SelectWordSelectionEvent(offset, C.SelectionEventType_4));
},
_clearSelection$0() {
var t1, _this = this;
_this._scheduledSelectionEndEdgeUpdate = false;
_this._selectionEndPosition = null;
_this._scheduledSelectionStartEdgeUpdate = false;
_this._adjustingSelectionEnd = _this._directionalHorizontalBaseline = null;
t1 = _this._selectable;
if (t1 != null)
t1._widget.delegate.dispatchSelectionEvent$1(C.ClearSelectionEvent_SelectionEventType_2);
_this._updateSelectedContentIfNeeded$0();
},
_copy$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, t1, data;
var $async$_copy$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._selectable;
data = t1 == null ? null : t1._widget.delegate.getSelectedContent$0();
if (data == null) {
// goto return
$async$goto = 1;
break;
}
$async$goto = 3;
return A._asyncAwait(A.Clipboard_setData(new A.ClipboardData(data.plainText)), $async$_copy$0);
case 3:
// returning from await.
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_copy$0, $async$completer);
},
_share$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$returnValue, $async$self = this, t1, data;
var $async$_share$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._selectable;
data = t1 == null ? null : t1._widget.delegate.getSelectedContent$0();
if (data == null) {
// goto return
$async$goto = 1;
break;
}
$async$goto = 3;
return A._asyncAwait(C.OptionalMethodChannel_kW8.invokeMethod$1$2("Share.invoke", data.plainText, type$.dynamic), $async$_share$0);
case 3:
// returning from await.
case 1:
// return
return A._asyncReturn($async$returnValue, $async$completer);
}
});
return A._asyncStartSync($async$_share$0, $async$completer);
},
get$contextMenuAnchors() {
var t2, t3, _this = this,
t1 = _this.lastSecondaryTapDownPosition;
if (t1 != null)
return new A.TextSelectionToolbarAnchors(t1, null);
t1 = _this._framework$_element.get$renderObject();
t1.toString;
type$.RenderBox._as(t1);
t2 = _this._selectionDelegate._selectionGeometry;
t3 = t2.startSelectionPoint.lineHeight;
return A.TextSelectionToolbarAnchors_TextSelectionToolbarAnchors$fromSelection(t2.endSelectionPoint.lineHeight, t1, _this.get$selectionEndpoints(), t3);
},
_determineIsAdjustingSelectionEnd$1($forward) {
var t2, t3, t4, isReversed,
t1 = this._adjustingSelectionEnd;
if (t1 != null)
return t1;
t1 = this._selectionDelegate._selectionGeometry;
t2 = t1.startSelectionPoint;
t2.toString;
t2 = t2.localPosition;
t3 = t2._dy;
t1 = t1.endSelectionPoint.localPosition;
t4 = t1._dy;
if (t3 > t4)
isReversed = true;
else
isReversed = t3 < t4 ? false : t2._dx > t1._dx;
return this._adjustingSelectionEnd = $forward !== isReversed;
},
_granularlyExtendSelection$2(granularity, $forward) {
var t1, t2, _this = this;
_this._directionalHorizontalBaseline = null;
if (_this._selectionDelegate._selectionGeometry.status === C.SelectionStatus_2)
return;
t1 = _this._selectable;
if (t1 != null) {
t2 = _this._determineIsAdjustingSelectionEnd$1($forward);
t1._widget.delegate.dispatchSelectionEvent$1(new B.GranularlyExtendSelectionEvent($forward, t2, granularity, C.SelectionEventType_5));
}
_this._updateSelectedContentIfNeeded$0();
},
_directionallyExtendSelection$1($forward) {
var adjustingSelectionExtend, baseLinePoint, t2, globalSelectionPointOffset, t3, _this = this,
t1 = _this._selectionDelegate;
if (t1._selectionGeometry.status === C.SelectionStatus_2)
return;
adjustingSelectionExtend = _this._determineIsAdjustingSelectionEnd$1($forward);
t1 = t1._selectionGeometry;
if (adjustingSelectionExtend) {
t1 = t1.endSelectionPoint;
t1.toString;
baseLinePoint = t1;
} else {
t1 = t1.startSelectionPoint;
t1.toString;
baseLinePoint = t1;
}
if (_this._directionalHorizontalBaseline == null)
_this._directionalHorizontalBaseline = baseLinePoint.localPosition._dx;
t1 = _this._framework$_element.get$renderObject().getTransformTo$1(0, null);
t2 = _this._directionalHorizontalBaseline;
t2.toString;
globalSelectionPointOffset = A.MatrixUtils_transformPoint(t1, new A.Offset(t2, 0));
t2 = _this._selectable;
if (t2 != null) {
t1 = _this._adjustingSelectionEnd;
t1.toString;
t3 = $forward ? C.SelectionExtendDirection_1 : C.SelectionExtendDirection_0;
t2._widget.delegate.dispatchSelectionEvent$1(new B.DirectionallyExtendSelectionEvent(globalSelectionPointOffset._dx, t1, t3, C.SelectionEventType_6));
}
_this._updateSelectedContentIfNeeded$0();
},
get$contextMenuButtonItems() {
var _this = this,
t1 = B.SelectableRegion_getSelectableButtonItems(new B.SelectableRegionState_contextMenuButtonItems_closure(_this), new B.SelectableRegionState_contextMenuButtonItems_closure0(_this), new B.SelectableRegionState_contextMenuButtonItems_closure1(_this), _this._selectionDelegate._selectionGeometry);
C.JSArray_methods.addAll$1(t1, _this.get$_selectable_region$_textProcessingActionButtonItems());
return t1;
},
get$_selectable_region$_textProcessingActionButtonItems() {
var t2, _i, action,
buttonItems = A._setArrayType([], type$.JSArray_ContextMenuButtonItem),
t1 = this._selectable,
data = t1 == null ? null : t1._widget.delegate.getSelectedContent$0();
if (data == null)
return buttonItems;
for (t1 = this._selectable_region$_processTextActions, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
action = t1[_i];
buttonItems.push(new A.ContextMenuButtonItem(new B.SelectableRegionState__textProcessingActionButtonItems_closure(this, data, action), C.ContextMenuButtonType_9, action.label));
}
return buttonItems;
},
get$selectionEndpoints() {
var endLocalPosition,
t1 = this._selectionDelegate._selectionGeometry,
start = t1.startSelectionPoint,
end = t1.endSelectionPoint,
points = A._Cell$named("points"),
startLocalPosition = start == null ? null : start.localPosition;
if (startLocalPosition == null)
startLocalPosition = end.localPosition;
endLocalPosition = end == null ? null : end.localPosition;
if (endLocalPosition == null)
endLocalPosition = start.localPosition;
t1 = type$.JSArray_TextSelectionPoint;
if (startLocalPosition._dy > endLocalPosition._dy)
points._value = A._setArrayType([new A.TextSelectionPoint(endLocalPosition, C.TextDirection_1), new A.TextSelectionPoint(startLocalPosition, C.TextDirection_1)], t1);
else
points._value = A._setArrayType([new A.TextSelectionPoint(startLocalPosition, C.TextDirection_1), new A.TextSelectionPoint(endLocalPosition, C.TextDirection_1)], t1);
return points._readLocal$0();
},
hideToolbar$1(hideHandles) {
var t1 = this._selectable_region$_selectionOverlay;
if (t1 != null)
t1.hideToolbar$0();
if (hideHandles) {
t1 = this._selectable_region$_selectionOverlay;
if (t1 != null)
t1.hideHandles$0();
}
},
hideToolbar$0() {
return this.hideToolbar$1(true);
},
selectAll$1(cause) {
var t1, _this = this;
_this._clearSelection$0();
t1 = _this._selectable;
if (t1 != null)
t1._widget.delegate.dispatchSelectionEvent$1(D.SelectAllSelectionEvent_SelectionEventType_3);
if (cause === C.SelectionChangedCause_5) {
_this._showToolbar$0();
_this._showHandles$0();
}
_this._updateSelectedContentIfNeeded$0();
},
selectAll$0() {
return this.selectAll$1(null);
},
add$1(_, selectable) {
var _this = this;
_this._selectable = selectable;
selectable.addListener$1(0, _this.get$_updateSelectionStatus());
_this._selectable._widget.delegate.pushHandleLayers$2(_this._selectable_region$_startHandleLayerLink, _this._selectable_region$_endHandleLayerLink);
},
remove$1(_, selectable) {
var _this = this;
_this._selectable.removeListener$1(0, _this.get$_updateSelectionStatus());
_this._selectable._widget.delegate.pushHandleLayers$2(null, null);
_this._selectable = null;
},
dispose$0() {
var _this = this,
t1 = _this._selectable;
if (t1 != null)
t1.removeListener$1(0, _this.get$_updateSelectionStatus());
t1 = _this._selectable;
if (t1 != null)
t1._widget.delegate.pushHandleLayers$2(null, null);
_this._selectionDelegate.dispose$0();
t1 = _this._selectable_region$_selectionOverlay;
if (t1 != null)
t1.hideMagnifier$0();
t1 = _this._selectable_region$_selectionOverlay;
if (t1 != null) {
t1.hide$0();
t1 = t1._magnifierInfo;
t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners();
t1.ChangeNotifier__count = 0;
}
_this._selectable_region$_selectionOverlay = null;
_this.super$State$dispose();
},
build$1(context) {
var value, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, result, _this = this, _null = null,
t1 = _this._widget.child;
if ($.PlatformSelectableRegionContextMenu__registeredViewType == null)
B.PlatformSelectableRegionContextMenu__register();
value = _this.__SelectableRegionState__actions_FI;
if (value === $) {
t2 = type$.JSArray_of_void_Function_Action_Intent;
t3 = A._setArrayType([], t2);
t4 = type$.ObserverList_of_void_Function_Action_Intent;
t5 = _this._framework$_element;
t5.toString;
t5 = new B._SelectAllAction0(_this, new A.ObserverList(t3, t4))._makeOverridableAction$1(t5);
t3 = A._setArrayType([], t2);
t6 = _this._framework$_element;
t6.toString;
t6 = new B._CopySelectionAction0(_this, new A.ObserverList(t3, t4))._makeOverridableAction$1(t6);
t3 = A._setArrayType([], t2);
t7 = _this._framework$_element;
t7.toString;
t7 = new B._GranularlyExtendSelectionAction(_this, C.TextGranularity_1, new A.ObserverList(t3, t4), type$._GranularlyExtendSelectionAction_ExtendSelectionToNextWordBoundaryOrCaretLocationIntent)._makeOverridableAction$1(t7);
t3 = A._setArrayType([], t2);
t8 = _this._framework$_element;
t8.toString;
t8 = new B._GranularlyExtendSelectionAction(_this, C.TextGranularity_3, new A.ObserverList(t3, t4), type$._GranularlyExtendSelectionAction_ExpandSelectionToDocumentBoundaryIntent)._makeOverridableAction$1(t8);
t3 = A._setArrayType([], t2);
t9 = _this._framework$_element;
t9.toString;
t9 = new B._GranularlyExtendSelectionAction(_this, C.TextGranularity_2, new A.ObserverList(t3, t4), type$._GranularlyExtendSelectionAction_ExpandSelectionToLineBreakIntent)._makeOverridableAction$1(t9);
t3 = A._setArrayType([], t2);
t10 = _this._framework$_element;
t10.toString;
t10 = new B._GranularlyExtendCaretSelectionAction(_this, C.TextGranularity_0, new A.ObserverList(t3, t4), type$._GranularlyExtendCaretSelectionAction_ExtendSelectionByCharacterIntent)._makeOverridableAction$1(t10);
t3 = A._setArrayType([], t2);
t11 = _this._framework$_element;
t11.toString;
t11 = new B._GranularlyExtendCaretSelectionAction(_this, C.TextGranularity_1, new A.ObserverList(t3, t4), type$._GranularlyExtendCaretSelectionAction_ExtendSelectionToNextWordBoundaryIntent)._makeOverridableAction$1(t11);
t3 = A._setArrayType([], t2);
t12 = _this._framework$_element;
t12.toString;
t12 = new B._GranularlyExtendCaretSelectionAction(_this, C.TextGranularity_2, new A.ObserverList(t3, t4), type$._GranularlyExtendCaretSelectionAction_ExtendSelectionToLineBreakIntent)._makeOverridableAction$1(t12);
t3 = A._setArrayType([], t2);
t13 = _this._framework$_element;
t13.toString;
t13 = new B._DirectionallyExtendCaretSelectionAction(_this, new A.ObserverList(t3, t4), type$._DirectionallyExtendCaretSelectionAction_ExtendSelectionVerticallyToAdjacentLineIntent)._makeOverridableAction$1(t13);
t2 = A._setArrayType([], t2);
t3 = _this._framework$_element;
t3.toString;
result = A.LinkedHashMap_LinkedHashMap$_literal([C.Type_SelectAllTextIntent_APP, t5, C.Type_CopySelectionTextIntent_HXb, t6, C.Type_1uv, t7, C.Type_wwi, t8, C.Type_YKM, t9, C.Type_86y, t10, C.Type_Mhs, t11, C.Type_kn0, t12, C.Type_gc6, t13, C.Type_Mhs0, new B._GranularlyExtendCaretSelectionAction(_this, C.TextGranularity_3, new A.ObserverList(t2, t4), type$._GranularlyExtendCaretSelectionAction_ExtendSelectionToDocumentBoundaryIntent)._makeOverridableAction$1(t3)], type$.Type, type$.Action_Intent);
_this.__SelectableRegionState__actions_FI !== $ && A.throwUnnamedLateFieldADI();
_this.__SelectableRegionState__actions_FI = result;
value = result;
}
return new A.CompositedTransformTarget(_this._selectable_region$_toolbarLayerLink, new A.RawGestureDetector(A.Actions$(value, A.Focus$(false, _null, new B.PlatformSelectableRegionContextMenu(new A.SelectionContainer(_this, t1, _this._selectionDelegate, _null), _null), _null, _null, _null, _this._widget.focusNode, false, _null, _null, _null, _null, _null, _null)), _this._gestureRecognizers, C.HitTestBehavior_2, true, _null), _null);
}
};
B._NonOverrideAction.prototype = {
invoke$2(intent, context) {
var t1 = this._currentCallingAction;
if (t1 != null)
return t1.invoke$1(intent);
return this.invokeAction$2(intent, context);
},
invoke$1(intent) {
return this.invoke$2(intent, null);
}
};
B._SelectAllAction0.prototype = {
invokeAction$2(intent, context) {
this.state.selectAll$1(C.SelectionChangedCause_4);
}
};
B._CopySelectionAction0.prototype = {
invokeAction$2(intent, context) {
this.state._copy$0();
}
};
B._GranularlyExtendSelectionAction.prototype = {
invokeAction$2(intent, context) {
this.state._granularlyExtendSelection$2(this.granularity, intent.forward);
}
};
B._GranularlyExtendCaretSelectionAction.prototype = {
invokeAction$2(intent, context) {
if (intent.collapseSelection)
return;
this.state._granularlyExtendSelection$2(this.granularity, intent.forward);
}
};
B._DirectionallyExtendCaretSelectionAction.prototype = {
invokeAction$2(intent, context) {
if (intent.collapseSelection)
return;
this.state._directionallyExtendSelection$1(intent.forward);
}
};
B._SelectableRegionContainerDelegate.prototype = {
remove$1(_, selectable) {
this._hasReceivedStartEvent.remove$1(0, selectable);
this._hasReceivedEndEvent.remove$1(0, selectable);
this.super$MultiSelectableSelectionContainerDelegate$remove(0, selectable);
},
_updateLastEdgeEventsFromGeometries$0() {
var start, localStartEdge, end, localEndEdge, _this = this,
t1 = _this.currentSelectionStartIndex;
if (t1 !== -1 && J.get$value$x(_this.selectables[t1]).status !== C.SelectionStatus_2) {
start = _this.selectables[_this.currentSelectionStartIndex];
localStartEdge = start.get$value(start).startSelectionPoint.localPosition.$add(0, new A.Offset(0, -start.get$value(start).startSelectionPoint.lineHeight / 2));
_this._lastStartEdgeUpdateGlobalPosition = A.MatrixUtils_transformPoint(start.getTransformTo$1(0, null), localStartEdge);
}
t1 = _this.currentSelectionEndIndex;
if (t1 !== -1 && J.get$value$x(_this.selectables[t1]).status !== C.SelectionStatus_2) {
end = _this.selectables[_this.currentSelectionEndIndex];
localEndEdge = end.get$value(end).endSelectionPoint.localPosition.$add(0, new A.Offset(0, -end.get$value(end).endSelectionPoint.lineHeight / 2));
_this._lastEndEdgeUpdateGlobalPosition = A.MatrixUtils_transformPoint(end.getTransformTo$1(0, null), localEndEdge);
}
},
handleSelectAll$1($event) {
var t1, t2, t3, t4, _i, selectable, _this = this,
result = _this.super$MultiSelectableSelectionContainerDelegate$handleSelectAll($event);
for (t1 = _this.selectables, t2 = t1.length, t3 = _this._hasReceivedStartEvent, t4 = _this._hasReceivedEndEvent, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
selectable = t1[_i];
t3.add$1(0, selectable);
t4.add$1(0, selectable);
}
_this._updateLastEdgeEventsFromGeometries$0();
return result;
},
handleSelectWord$1($event) {
var _this = this,
result = _this.super$MultiSelectableSelectionContainerDelegate$handleSelectWord($event),
t1 = _this.currentSelectionStartIndex;
if (t1 !== -1)
_this._hasReceivedStartEvent.add$1(0, _this.selectables[t1]);
t1 = _this.currentSelectionEndIndex;
if (t1 !== -1)
_this._hasReceivedEndEvent.add$1(0, _this.selectables[t1]);
_this._updateLastEdgeEventsFromGeometries$0();
return result;
},
handleClearSelection$1($event) {
var _this = this,
result = _this.super$MultiSelectableSelectionContainerDelegate$handleClearSelection($event);
_this._hasReceivedStartEvent.clear$0(0);
_this._hasReceivedEndEvent.clear$0(0);
_this._lastEndEdgeUpdateGlobalPosition = _this._lastStartEdgeUpdateGlobalPosition = null;
return result;
},
handleSelectionEdgeUpdate$1($event) {
var t1 = $event.globalPosition;
if ($event.type === C.SelectionEventType_1)
this._lastEndEdgeUpdateGlobalPosition = t1;
else
this._lastStartEdgeUpdateGlobalPosition = t1;
return this.super$MultiSelectableSelectionContainerDelegate$handleSelectionEdgeUpdate($event);
},
dispose$0() {
this._hasReceivedStartEvent.clear$0(0);
this._hasReceivedEndEvent.clear$0(0);
this.super$MultiSelectableSelectionContainerDelegate$dispose();
},
dispatchSelectionEventToChild$2(selectable, $event) {
var _this = this;
switch ($event.type.index) {
case 0:
_this._hasReceivedStartEvent.add$1(0, selectable);
_this.ensureChildUpdated$1(selectable);
break;
case 1:
_this._hasReceivedEndEvent.add$1(0, selectable);
_this.ensureChildUpdated$1(selectable);
break;
case 2:
_this._hasReceivedStartEvent.remove$1(0, selectable);
_this._hasReceivedEndEvent.remove$1(0, selectable);
break;
case 3:
case 4:
break;
case 5:
case 6:
_this._hasReceivedStartEvent.add$1(0, selectable);
_this._hasReceivedEndEvent.add$1(0, selectable);
_this.ensureChildUpdated$1(selectable);
break;
}
return _this.super$MultiSelectableSelectionContainerDelegate$dispatchSelectionEventToChild(selectable, $event);
},
ensureChildUpdated$1(selectable) {
var t1, synthesizedEvent, _this = this;
if (_this._lastEndEdgeUpdateGlobalPosition != null && _this._hasReceivedEndEvent.add$1(0, selectable)) {
t1 = _this._lastEndEdgeUpdateGlobalPosition;
t1.toString;
synthesizedEvent = A.SelectionEdgeUpdateEvent$forEnd(t1, null);
if (_this.currentSelectionEndIndex === -1)
_this.handleSelectionEdgeUpdate$1(synthesizedEvent);
selectable.dispatchSelectionEvent$1(synthesizedEvent);
}
if (_this._lastStartEdgeUpdateGlobalPosition != null && _this._hasReceivedStartEvent.add$1(0, selectable)) {
t1 = _this._lastStartEdgeUpdateGlobalPosition;
t1.toString;
synthesizedEvent = A.SelectionEdgeUpdateEvent$forStart(t1, null);
if (_this.currentSelectionStartIndex === -1)
_this.handleSelectionEdgeUpdate$1(synthesizedEvent);
selectable.dispatchSelectionEvent$1(synthesizedEvent);
}
},
didChangeSelectables$0() {
var selectableSet, _this = this,
t1 = _this._lastEndEdgeUpdateGlobalPosition;
if (t1 != null)
_this.handleSelectionEdgeUpdate$1(A.SelectionEdgeUpdateEvent$forEnd(t1, null));
t1 = _this._lastStartEdgeUpdateGlobalPosition;
if (t1 != null)
_this.handleSelectionEdgeUpdate$1(A.SelectionEdgeUpdateEvent$forStart(t1, null));
t1 = _this.selectables;
selectableSet = A.LinkedHashSet_LinkedHashSet$from(t1, A._arrayInstanceType(t1)._precomputed1);
_this._hasReceivedEndEvent._filterWhere$2(new B._SelectableRegionContainerDelegate_didChangeSelectables_closure(selectableSet), true);
_this._hasReceivedStartEvent._filterWhere$2(new B._SelectableRegionContainerDelegate_didChangeSelectables_closure0(selectableSet), true);
_this.super$MultiSelectableSelectionContainerDelegate$didChangeSelectables();
}
};
B._SelectableRegionState_State_TextSelectionDelegate.prototype = {};
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_3JOdg_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.WebScript.prototype = {};
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, _null, 28);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_2, _null, _null, true, _null, C.TextStyle_mtF0, _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._avatar_builder$_textStyle = D.TextStyle_mtF5;
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.Text$rich(A.TextSpan$(_null, _null, _null, _null, _null, t1, _null, _null, D.TextStyle_Szk, this.urlString), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.PopupItemNoIconWidget.prototype = {
build$1(context) {
var _this = this, _null = null,
t1 = type$.JSArray_Widget,
t2 = A._setArrayType([A.Expanded$(A.Text$(_this._popup_item_no_icon_widget$_nameAction, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t10, _null, _null, _null, _null, _null), 1)], t1);
if (_this.isSelected)
C.JSArray_methods.addAll$1(t2, A._setArrayType([C.SizedBox_12_null_null_null, A.SvgPicture$asset(_this.svgIconSelected, C.Alignment_0_0, _null, C.BoxFit_0, 24, _null, _null, 24)], t1));
return A.PointerInterceptor$(A.InkWell$(false, _null, true, new A.Padding(C.EdgeInsets_24_16_24_16, new A.SizedBox(_this.maxWidth, _null, A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.onCallbackAction, _null, _null, _null, _null, _null, _null, _null));
}
};
B.ComposerView.prototype = {
build$1(context) {
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)).responsiveUtils;
$.$get$Get();
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.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), t1, new B.TabletResponsiveContainerView(new B.ComposerView_build_closure1(_this), t2.find$1$1$tag(0, _null, type$.ResponsiveUtils), _null), _null);
},
_createMoreOptionPopupItems$1(context) {
var t2, t3, t4, t5, t6, t7, _this = this, _null = null,
_s36_ = "assets/images/ic_filter_selected.svg",
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t2._as(t1.get(_this)).toString;
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t4 = A.Intl__message("Embed code", _null, "embedCode", _null, _null);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).richTextWebController;
t5 = t5 == null ? _null : t5.codeViewState.get$value(0) === C.CodeViewState_0;
t6 = type$.dynamic;
t5 = A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_style_code_view.svg", t4, C.Color_4278221567, _null, t5, new B.ComposerView__createMoreOptionPopupItems_closure(_this), C.EdgeInsetsDirectional_12_0_12_0, _s36_, C.TextStyle_69t6), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, t6);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t4 = A.Intl__message("Request read receipt", _null, "requestReadReceipt", _null, _null);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.Expando__checkType(_this);
t4 = A.PopupMenuItem$(A.PopupItemWidget$("assets/images/ic_read_receipt.svg", t4, C.Color_4278221567, _null, t2._as(t1.get(_this)).hasRequestReadReceipt.get$value(0), new B.ComposerView__createMoreOptionPopupItems_closure0(_this, context), C.EdgeInsetsDirectional_12_0_12_0, _s36_, C.TextStyle_69t6), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, t6);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t7 = 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), C.EdgeInsetsDirectional_12_0_12_0, _null, C.TextStyle_69t6), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, t6);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
return A._setArrayType([t5, t4, t7, 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), C.EdgeInsetsDirectional_12_0_12_0, _null, C.TextStyle_69t6), true, 48, _null, 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$5$appLocalizations$emailActionType$emailContent$locale$presentationEmail(appLocalizations, emailActionType, emailContent, locale, presentationEmail) {
var headerEmailQuotedAsHtml,
headerEmailQuoted = B.EmailActionTypeExtension_getHeaderEmailQuoted(emailActionType, appLocalizations, locale, 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 "<div><br><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, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, t1).data.size._dy * 0.75, _null, _null, _null, _null, _null, t2.size._dx * 0.5), C.Clip_2, _null, 16, _null, C.RoundedRectangleBorder_NYu2), 20, _null, _null, _null);
} else if (t1 === C.ScreenDisplayMode_0) {
t1 = type$.MediaQuery;
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, t1).data.size._dy * 0.9, _null, _null, _null, _null, _null, t2.size._dx * 0.85), C.Clip_2, _null, 16, _null, C.RoundedRectangleBorder_NYu2), _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_NYu2), _null, _null), _null, _null, true, _null, _null, _null);
}
};
B.WebEditorView.prototype = {
build$1(context) {
var t2, _this = this,
_s19_ = "<div><br><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.onDragEnter, _this.onEditorSettings, _this.onEditorTextSizeChanged, _this.onFocus, _this.onInitial, _this.onInitialContentLoadComplete, _this.onMouseDown, _this.onPasteImageFailureAction, _this.onPasteImageSuccessAction, null, _this.width);
case 9:
case 10:
case 11:
case 15:
case 25:
case 14:
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.onDragEnter, _this.onEditorSettings, _this.onEditorTextSizeChanged, _this.onFocus, _this.onInitial, _this.onInitialContentLoadComplete, _this.onMouseDown, _this.onPasteImageFailureAction, _this.onPasteImageSuccessAction, null, _this.width);
}
}
};
B._WebEditorView_StatelessWidget_EditorViewMixin.prototype = {};
B.AttachmentHeaderComposerWidget.prototype = {
build$1(context) {
var t3, t4, t5, _this = this, _null = null,
t1 = _this.isCollapsed,
t2 = t1 ? _null : D.BoxDecoration_Aso;
t1 = t1 ? "assets/images/ic_arrow_right.svg" : "assets/images/ic_arrow_bottom.svg";
t1 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_4294967295, 20, _null, t1, D.Color_4287339695, 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(0));
t5 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t4 = 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_69t28, _null, _null, _null, _null, _null), C.SizedBox_8_null_null_null, A.Container$(_null, A.Text$(A.filesize(B.ListUploadFileStateExtension_get_totalSize(t3), 2), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mtF10, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, D.BoxDecoration_eAf, _null, _null, _null, _null, D.EdgeInsetsDirectional_5_2_5_2, _null, _null, _null)], type$.JSArray_Widget);
if (B.ListUploadFileStateExtension_get_totalSize(t3) > 10485760) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_quotas_warning.svg", C.Color_4294951175, 20, _null, C.EdgeInsetsDirectional_4_0_0_0, 1 / 0, _null, _null, C.EdgeInsets_3_3_3_3, A.Intl__message("Your message is larger than the size generally accepted by third party email systems. If you confirm sending this mail, there is a risk that it gets rejected by your recipient system.", _null, "warningMessageWhenExceedGenerallySizeInComposer", _null, _null)));
}
return A.InkWell$(false, _null, true, A.Container$(_null, A.Row$(t4, C.CrossAxisAlignment_2, _null, 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 _this = this, _null = null,
t1 = A.Border_Border$all(C.Color_4293258483, 1),
t2 = A.SvgPicture$asset(_this.fileIcon, C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20),
t3 = _this.fileName,
t4 = type$.JSArray_Widget;
return A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Column$(A._setArrayType([A.Row$(A._setArrayType([t2, C.SizedBox_8_null_null_null, A.Expanded$($.$get$_context().$index(0, "flutterCanvasKit") != null ? A.ExtendedText$(t3, 1, C.TextOverflowWidget_null, C.TextStyle_69t20) : A.Text$(t3, _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, C.TextStyle_69t20, _null, _null, _null, _null, _null), 1), C.SizedBox_8_null_null_null, A.Text$(_this.fileSize, _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t29, _null, _null, _null, _null, _null)], t4), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), new B.AttachmentProgressLoadingComposerWidget(_this.uploadStatus, _this.percentUploading, _null)], t4), 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, _null, "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)], t4), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294967295, _null, t1, C.BorderRadius_ww83, _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;
switch (this.uploadStatus.index) {
case 0:
return D.Padding_qbD;
case 1:
t1 = this.percentUploading;
return new A.Padding(D.EdgeInsetsDirectional_0_8_0_0, 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_NQk[A.EmailAddressExtension__generateIndex(t2)];
t1.push(new A.GradientCircleAvatarIcon(t5, 24, 12, A.StringExtension_get_firstLetterToUpperCase(t4 ? "" : t3), _null));
}
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_mtF7, _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, _null));
return A.MouseRegion$(A.Container$(_null, A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, _null, D.ShapeDecoration_int, _null, _null, _null, _null, D.EdgeInsets_6_3_6_3, _null, _null, _null), C.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));
},
_viewStateToUI$1(viewState) {
return viewState.fold$2(0, new B.InsertImageLoadingBarWidget__viewStateToUI_closure(), new B.InsertImageLoadingBarWidget__viewStateToUI_closure0(this));
}
};
B.FromComposerMobileWidget.prototype = {
build$1(context) {
var t5, t6, t7, _this = this, _null = null,
t1 = A.Text$(A.PrefixEmailAddressExtension_asName(C.PrefixEmailAddress_0, context) + ":", _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t14, _null, _null, _null, _null, _null),
t2 = type$.JSArray_Widget,
t3 = A._setArrayType([], t2),
t4 = _this.selectedIdentity;
if (t4 != null) {
t5 = A._setArrayType([], type$.JSArray_InlineSpan);
t6 = t4.name;
t7 = t6.length !== 0;
if (t7)
t5.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_Yec, t6 + " "));
t4 = t4.email;
t6 = t7 ? D.TextStyle_1Y6 : D.TextStyle_Yec;
t5.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, t6, "(" + A.S(t4) + ")"));
t3.push(new A.Flexible(1, C.FlexFit_1, A.RichText$(_null, 1, C.TextOverflow_2, _null, _null, false, _null, A.TextSpan$(t5, _null, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_4, _null, _null, C._LinearTextScaler_1, C.TextWidthBasis_0), _null));
} else
t3.push(C.SizedBox_0_0_null_null);
t3.push(A.SvgPicture$asset("assets/images/ic_dropdown.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null));
return A.Container$(_null, A.Row$(A._setArrayType([new A.Padding(D.EdgeInsetsDirectional_0_16_0_0, t1, _null), C.SizedBox_8_null_null_null, new A.Flexible(1, C.FlexFit_1, new A.Padding(C.EdgeInsets_0_8_0_8, A.InkWell$(false, C.BorderRadius_ww82, true, A.Container$(_null, A.Row$(t3, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, _null, D.BoxDecoration_sI7, _null, 32, _null, _null, D.EdgeInsets_8_4_0_4, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.onTap, _null, _null, _null, _null, _null, _null, _null), _null), _null)], t2), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_Aso, _null, _null, _null, _this.margin, _this.padding, _null, _null, _null);
}
};
B.RecipientComposerWidget.prototype = {
createState$0() {
return new B._RecipientComposerWidgetState(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) {
var t6, _this = this, _null = null,
t1 = _this._widget,
t2 = t1.padding,
t3 = t1.margin,
t4 = type$.ValueKey_String,
t5 = type$.JSArray_Widget;
t1 = A._setArrayType([new A.Padding(D.EdgeInsetsDirectional_0_16_0_0, A.Text$(A.PrefixEmailAddressExtension_asName(t1.prefix, context) + ":", new A.ValueKey("prefix_" + _this._widget.prefix._core$_name + "_recipient_composer_widget", t4), _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t14, _null, _null, _null, _null, _null), _null), C.SizedBox_8_null_null_null, A.Expanded$(A.FocusScope$(false, new A.StatefulBuilder(new B._RecipientComposerWidgetState_build_closure(_this), _null), _null, _null, _null, new B._RecipientComposerWidgetState_build_closure0(_this), _this.get$_recipientInputOnKeyListener(), _null), 1), C.SizedBox_8_null_null_null], t5);
if (_this._widget.prefix === C.PrefixEmailAddress_1) {
t5 = A._setArrayType([], t5);
t6 = _this._widget;
if (t6.fromState === C.PrefixRecipientState_1) {
t6 = t6.prefix;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, new A.ValueKey("prefix_" + t6._core$_name + "_recipient_from_button", t4), D.EdgeInsetsDirectional_0_12_0_0, 1 / 0, _null, 1 / 0, 0, _null, new B._RecipientComposerWidgetState_build_closure1(_this), D.EdgeInsetsDirectional_5_3_5_3, A.Intl__message("From", _null, "from_email_address_prefix", _null, _null), _null, D.TextStyle_hw4, _null, _null));
}
t6 = _this._widget;
if (t6.ccState === C.PrefixRecipientState_1) {
t6 = t6.prefix;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, new A.ValueKey("prefix_" + t6._core$_name + "_recipient_cc_button", t4), D.EdgeInsetsDirectional_0_12_0_0, 1 / 0, _null, 1 / 0, 0, _null, new B._RecipientComposerWidgetState_build_closure2(_this), D.EdgeInsetsDirectional_5_3_5_3, A.Intl__message("Cc", _null, "cc_email_address_prefix", _null, _null), _null, D.TextStyle_hw4, _null, _null));
}
t6 = _this._widget;
if (t6.bccState === C.PrefixRecipientState_1) {
t6 = t6.prefix;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, new A.ValueKey("prefix_" + t6._core$_name + "_recipient_bcc_button", t4), D.EdgeInsetsDirectional_0_12_0_0, 1 / 0, _null, 1 / 0, 0, _null, new B._RecipientComposerWidgetState_build_closure3(_this), D.EdgeInsetsDirectional_5_3_5_3, A.Intl__message("Bcc", _null, "bcc_email_address_prefix", _null, _null), _null, D.TextStyle_hw4, _null, _null));
}
C.JSArray_methods.addAll$1(t1, t5);
}
return A.Container$(_null, A.Row$(t1, C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_Aso, _null, _null, _null, t3, t2, _null, _null, _null);
},
_recipientInputOnKeyListener$2(node, $event) {
var t1;
if ($event instanceof A.KeyDownEvent && $event.logicalKey.$eq(0, C.LogicalKeyboardKey_4294967305)) {
t1 = this._widget.nextFocusNode;
if (t1 != null)
t1.requestFocus$0();
this._widget.onFocusNextAddressAction.call$0();
return C.KeyEventResult_0;
}
return C.KeyEventResult_1;
},
get$_recipient_composer_widget$_isCollapse() {
var t1 = this.___RecipientComposerWidgetState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.length > 1 && this._widget.expandMode === C.ExpandMode_0;
},
get$_recipient_composer_widget$_collapsedListEmailAddress() {
var t1 = this.get$_recipient_composer_widget$_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;
},
_recipient_composer_widget$_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, t3, t4, currentTextOnTextField, t1, $async$temp1, $async$temp2, $async$temp3;
var $async$_recipient_composer_widget$_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._recipient_composer_widget$_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);
t3 = $async$self._widget;
t4 = t3.minInputLengthAutocomplete;
$async$goto = t1 >= t4 ? 3 : 4;
break;
case 3:
// then
$async$temp1 = C.JSArray_methods;
$async$temp2 = tmailSuggestion;
$async$temp3 = J;
$async$goto = 5;
return A._asyncAwait(t3.onSuggestionEmailAddress.call$1(processedQuery), $async$_recipient_composer_widget$_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._recipient_composer_widget$_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$_recipient_composer_widget$_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 F.SuggestionEmailAddress0(item, E.SuggestionEmailState_10);
else
return new F.SuggestionEmailAddress0(item, E.SuggestionEmailState_00);
},
_recipient_composer_widget$_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,SuggestionEmailAddress0>"));
},
_recipient_composer_widget$_handleGapBetweenTagChangedAndFindSuggestion$0() {
A.log("_RecipientComposerWidgetState::_handleGapBetweenTagChangedAndFindSuggestion:Timeout", C.Level_3);
},
_recipient_composer_widget$_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);
},
_recipient_composer_widget$_handleFocusTagAction$2(focused, stateSetter) {
stateSetter.call$1(new B._RecipientComposerWidgetState__handleFocusTagAction_closure(this, focused));
},
_recipient_composer_widget$_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._recipient_composer_widget$_updateListEmailAddressAction$0();
}
},
_recipient_composer_widget$_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._recipient_composer_widget$_updateListEmailAddressAction$0();
}
},
_recipient_composer_widget$_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._recipient_composer_widget$_updateListEmailAddressAction$0();
}
},
_recipient_composer_widget$_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._recipient_composer_widget$_updateListEmailAddressAction$0();
}
},
_recipient_composer_widget$_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._recipient_composer_widget$_updateListEmailAddressAction$0();
}
_this._recipient_composer_widget$_gapBetweenTagChangedAndFindSuggestion = A.Timer_Timer(C.Duration_1000000, _this.get$_recipient_composer_widget$_handleGapBetweenTagChangedAndFindSuggestion());
},
_recipient_composer_widget$_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._recipient_composer_widget$_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));
},
_recipient_composer_widget$_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, _this = this, _null = null;
if (_this.suggestionState === E.SuggestionEmailState_10) {
t1 = _this.emailAddress;
t2 = A.EmailAddressExtension_asString(t1);
t3 = _this.suggestionValid;
t4 = t3 == null;
t2 = A.RichTextWidget$(C.TextOverflow_2, _null, _null, t2, t4 ? "" : t3);
t5 = t1.name;
if ((t5 == null ? "" : t5).length !== 0) {
t5 = t1.email;
if (t5 == null)
t5 = "";
t3 = A.RichTextWidget$(C.TextOverflow_2, C.TextStyle_8aB1, C.TextStyle_69t27, t5, t4 ? "" : t3);
} else
t3 = _null;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.ListTile$(C.EdgeInsets_8_0_8_0, new B.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, _null, 24)), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4), C.Clip_0, _null, _null, C.BoxDecoration_AiQ, _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 = A.RichTextWidget$(C.TextOverflow_2, _null, _null, t3, t5 ? "" : t4);
t6 = t2.name;
if ((t6 == null ? "" : t6).length !== 0) {
t6 = t2.email;
if (t6 == null)
t6 = "";
t4 = A.RichTextWidget$(C.TextOverflow_2, C.TextStyle_8aB1, C.TextStyle_69t27, t6, t5 ? "" : t4);
} else
t4 = _null;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.ListTile$(C.EdgeInsets_16_0_16_0, new B.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 t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, tagWidget, _this = this, _null = null,
_s16_ = "flutterCanvasKit",
t1 = _this.currentEmailAddress,
t2 = A.EmailAddressExtension_asString(t1),
t3 = A.RegExp_RegExp(string$.__u059, true, false, false);
t2 = t3._nativeRegExp.test(t2) ? 0 : 2;
t3 = _this.prefix;
t4 = t3._core$_name;
t5 = "" + _this.index;
t6 = type$.ValueKey_String;
t7 = A.Text$(A.EmailAddressExtension_asString(t1), new A.ValueKey("label_recipient_tag_item_" + t4 + "_" + t5, t6), _null, 1, C.TextOverflow_2, _null, _null, true, _null, _null, _null, _null, _null, _null, _null);
t8 = A.SvgPicture$asset("assets/images/ic_close.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, new A.ValueKey("delete_icon_recipient_tag_item_" + t4 + "_" + t5, t6), _null, _null);
t9 = _this._recipient_tag_item_widget$_getTagBackgroundColor$0();
t10 = _this._recipient_tag_item_widget$_getTagBorderSide$0();
t11 = t1.name;
t12 = t11 == null;
if ((t12 ? "" : t11).length !== 0) {
t13 = C.List_NQk[A.EmailAddressExtension__generateIndex(t1)];
t11 = new A.GradientCircleAvatarIcon(t13, 24, 12, A.StringExtension_get_firstLetterToUpperCase(t12 ? "" : t11), new A.ValueKey("avatar_icon_recipient_tag_item_" + t4 + "_" + t5, t6));
} else
t11 = _null;
tagWidget = A.Chip$(t11, t9, t8, t7, new A.EdgeInsetsDirectional(4, t2, 4, t2), C.TextStyle_69t10, _null, new B.RecipientTagItemWidget_build_closure(_this), C.EdgeInsets_0_0_0_0, D.RoundedRectangleBorder_NYu12, t10);
t10 = B.DraggableRecipientTagWidget$(t1);
t2 = B.DraggableRecipientTagWidget$(t1);
tagWidget = B.Draggable$(A.MouseRegion$(tagWidget, C.SystemMouseCursor_grab, _null, _null, _null, _null), t2, new B.DraggableEmailAddress(t1, t3), B.drag_target__childDragAnchorStrategy$closure(), t10, _null, _null, _null, type$.DraggableEmailAddress);
t1 = $.$get$_context();
t2 = t1.$index(0, _s16_);
if (t2 != null)
tagWidget = new A.Padding(D.EdgeInsetsDirectional_0_8_0_0, tagWidget, _null);
t2 = A._setArrayType([new A.Flexible(1, C.FlexFit_1, tagWidget, _null)], type$.JSArray_Widget);
if (_this.isCollapsed) {
t1 = t1.$index(0, _s16_) != null ? D.EdgeInsetsDirectional_8_8_0_0 : C.EdgeInsetsDirectional_8_0_0_0;
t2.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_4294243572, 10, new A.ValueKey("counter_recipient_tag_item_" + t4 + "_" + t5, t6), t1, 1 / 0, _null, 1 / 0, 0, _null, new B.RecipientTagItemWidget_build_closure0(_this), C.EdgeInsetsDirectional_8_5_8_5, "+" + (_this.currentListEmailAddress.length - _this.collapsedListEmailAddress.length), _null, C.TextStyle_69t10, _null, _null));
}
return A.Container$(_null, A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, new A.BoxConstraints(0, _this.maxWidth, 0, 1 / 0), _null, _null, _null, new A.ValueKey("recipient_tag_item_" + t4 + "_" + t5, t6), _null, _null, _null, _null, _null);
},
_recipient_tag_item_widget$_getTagBackgroundColor$0() {
if (this.isLatestTagFocused && this.isLatestEmail)
return C.Color_4292865791;
else {
var t1 = this.currentEmailAddress.email;
if (A.EmailUtils_isEmailAddressValid(t1 == null ? "" : t1))
return C.Color_4294243572;
else
return C.Color_4294967295;
}
},
_recipient_tag_item_widget$_getTagBorderSide$0() {
if (this.isLatestTagFocused && this.isLatestEmail)
return C.BorderSide_UKi0;
else {
var t1 = this.currentEmailAddress.email;
if (A.EmailUtils_isEmailAddressValid(t1 == null ? "" : t1))
return D.BorderSide_FGJ0;
else
return D.BorderSide_qNa;
}
}
};
B.SubjectComposerWidget.prototype = {
build$1(context) {
var t1, t2, _this = this, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_69t14, _null, _null, _null, _null, _null);
t2 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale.get$languageCode(0)) ? 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, C.InputDecoration_LLF, _this.focusNode, _null, _null, 1, _null, _null, _null, _this.onTextChange, _null, false, t2, _null, C.TextStyle_69t6), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_Aso, _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_CTL, type$.AppLocalizations).toString;
t1 = A.CapitalizeExtension_get_capitalizeFirstEach(A.Intl__message("New message", _null, "new_message", _null, _null));
}
return A.Text$(t1, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, E.TextStyle_69t9, C.TextAlign_2, _null, _null, _null, _null);
}
};
B.AttachmentComposerWidget.prototype = {
createState$0() {
$.$get$Get();
var t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B._AttachmentComposerWidgetState(t1.find$1$1$tag(0, null, type$.ImagePaths), 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;
},
dispose$0() {
this._isCollapsed = false;
this.super$State$dispose();
},
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_cUt0, _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_8sn, _null, _null, _null, _null, _null, _null, _null, 1 / 0);
}
};
B.AttachmentDropZoneWidget.prototype = {
build$1(context) {
return A.DragTarget$(new B.AttachmentDropZoneWidget_build_closure(this), new B.AttachmentDropZoneWidget_build_closure0(this), null, null, type$.Attachment);
}
};
B.BottomBarComposerWidget.prototype = {
build$1(context) {
var t3, t4, t5, t6, t7, t8, _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_CTL, t3).toString;
t1 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(t2, 8, _null, "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_CTL, t3).toString;
t2 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 8, _null, "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_CTL, t3).toString;
t5 = A.AbsorbPointer$(t4, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 8, _null, "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_CTL, t3).toString;
t6 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(t4, 8, _null, "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_CTL, t3).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 8, _null, "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));
t7 = _this.hasReadReceipt;
t8 = t7 ? C.Color_4278221567 : D.Color_4289638080;
if (t7) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t7 = A.Intl__message("Turn off request read receipt", _null, "turnOffRequestReadReceipt", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t7 = A.Intl__message("Turn on request read receipt", _null, "turnOnRequestReadReceipt", _null, _null);
}
t7 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 8, _null, "assets/images/ic_read_receipt.svg", t8, 20, _null, _null, 1 / 0, _null, _this.requestReadReceiptAction, D.EdgeInsetsDirectional_5_5_5_5, t7);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t8 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(_null, 8, _null, "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));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
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, _null, "assets/images/ic_send.svg", C.TextDirection_0, _null, 20, 5, _null, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, _this.sendMessageAction, D.EdgeInsetsDirectional_24_8_24_8, A.Intl__message("Send", _null, "send", _null, _null), _null, _null, D.TextStyle_mtF2, _null, _null, _null, _null, false, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, 60, _null, _null, D.EdgeInsetsDirectional_32_0_32_0, _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_CTL, t3).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "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 === C.ScreenDisplayMode_0 ? "assets/images/ic_fullscreen_exit.svg" : "assets/images/ic_fullscreen.svg";
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t5 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, 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_CTL, 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, _null, _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, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null));
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t2.push(new A.Align(C.AlignmentDirectional_1_0, _null, _null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, _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.FromComposerDropDownWidget.prototype = {
build$1(context) {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _this = this, _null = null,
_s29_ = "assets/images/ic_dropdown.svg",
t1 = A.Text$(A.PrefixEmailAddressExtension_asName(C.PrefixEmailAddress_0, context) + ":", _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t14, _null, _null, _null, _null, _null),
t2 = _this.items,
t3 = t2.$ti._eval$1("MappedListIterable<ListBase.E,DropdownMenuItem<Identity>>");
t3 = A.List_List$of(new A.MappedListIterable(t2, new B.FromComposerDropDownWidget_build_closure(), t3), true, t3._eval$1("ListIterable.E"));
t2 = _this.itemSelected;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t4 = A.Container$(_null, A.Text$(A.Intl__message("Your identities", _null, "yourIdentities", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mtF3, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, D.EdgeInsets_20_12_20_0, _null, _null, _null);
t5 = $.$get$FromComposerDropDownWidgetStyle_dropdownStyleData();
t6 = A.SvgPicture$asset(_s29_, C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null);
t7 = $.$get$FromComposerDropDownWidgetStyle_menuIemStyleData();
t8 = t2 != null;
t9 = t8 ? t2.email : "";
t10 = type$.JSArray_Widget;
t11 = A._setArrayType([], t10);
if (t8) {
t8 = A._setArrayType([], type$.JSArray_InlineSpan);
t12 = t2.name;
t13 = t12.length !== 0;
if (t13)
t8.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_gqD, t12 + " "));
t12 = t2.email;
t13 = t13 ? D.TextStyle_69t15 : D.TextStyle_gqD;
t8.push(A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, t13, "(" + A.S(t12) + ")"));
t11.push(A.Expanded$(A.RichText$(_null, 1, C.TextOverflow_2, _null, _null, true, _null, A.TextSpan$(t8, _null, _null, _null, _null, _null, _null, _null, _null, _null), C.TextAlign_4, _null, _null, C._LinearTextScaler_1, C.TextWidthBasis_0), 1));
} else
t11.push(C.SizedBox_0_0_null_null);
t11.push(A.SvgPicture$asset(_s29_, C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null));
return A.Container$(_null, A.Row$(A._setArrayType([new A.Padding(D.EdgeInsetsDirectional_0_16_0_0, t1, _null), C.SizedBox_8_null_null_null, new A.Padding(C.EdgeInsets_0_8_0_8, new A.DropdownButtonHideUnderline(A.PointerInterceptor$(A.DropdownButton2$(D.ButtonStyleData_qlj, A.Tooltip$(A.Container$(_null, A.Row$(t11, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_sI7, _null, 32, _null, _null, D.EdgeInsets_8_4_4_4, _null, _null, 411), _null, t9), new B.DropdownSearchData(t4, 32, type$.DropdownSearchData_Identity), t5, _null, new A.IconStyleData(t6, 24), false, t3, _this.dropdownKey, t7, _this.onChangeIdentity, _null, t2, type$.Identity)), _null), _null)], t10), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_Aso, _null, _null, _null, _this.margin, _this.padding, _null, _null, _null);
}
};
B.MinimizeComposerWidget.prototype = {
build$1(context) {
var t3, t4, _this = this, _null = null,
t1 = A.Center$(new A.ConstrainedBox(D.BoxConstraints_oA81, new B.TitleComposerWidget(_this.emailSubject, _null), _null), _null, _null),
t2 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "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_CTL, t2).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "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_CTL, 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, _null, "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, _null, 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_NYu9);
}
};
B.MobileResponsiveAppBarComposerWidget.prototype = {
build$1(context) {
var t2, t3, t4, _this = this, _null = null,
t1 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
t2 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_cancel.svg", C.Color_4287405231, 24, _null, _null, 1 / 0, _null, _this.onCloseViewAction, _null, 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 : C.Color_4287405231;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(t4, 20, _null, "assets/images/ic_rich_toolbar.svg", t3, 28, _null, _null, 1 / 0, _null, _this.openRichToolbarAction, D.EdgeInsetsDirectional_5_5_5_5, A.Intl__message("Formatting options", _null, "formattingOptions", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
t3 = A._setArrayType([t2, C.Spacer_null, t3, C.SizedBox_4_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_attach_file.svg", C.Color_4287405231, 24, _null, _null, 1 / 0, _null, _this.attachFileAction, _null, A.Intl__message("Attach file", _null, "attach_file", _null, _null)), C.SizedBox_4_null_null_null], type$.JSArray_Widget);
if (!_this.isCodeViewEnabled) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
t3.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_insert_image.svg", C.Color_4287405231, 24, _null, _null, 1 / 0, _null, _this.insertImageAction, _null, A.Intl__message("Insert image", _null, "insertImage", _null, _null)));
}
t3.push(C.SizedBox_4_null_null_null);
t2 = _this.isSendButtonEnabled ? "assets/images/ic_send_mobile.svg" : "assets/images/ic_send_disable.svg";
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
t3.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t2, _null, 30, _null, _null, 1 / 0, _null, _this.sendMessageAction, D.EdgeInsetsDirectional_3_3_3_3, A.Intl__message("Send", _null, "send", _null, _null)));
t3.push(C.SizedBox_4_null_null_null);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
t3.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_more.svg", C.Color_4287405231, 24, _null, _null, 1 / 0, _this.openContextMenuAction, _null, _null, A.Intl__message("More", _null, "more", _null, _null)));
return A.Container$(_null, A.Row$(t3, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294243572, _null, _null, _null, 56, _null, _null, C.EdgeInsetsDirectional_12_0_12_0, _null, _null, _null);
}
};
B.WebEditorWidget.prototype = {
createState$0() {
return new B._WebEditorState(new A.ValueNotifier(550, $.$get$ChangeNotifier__emptyListeners(), type$.ValueNotifier_double), 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;
A.log("_WebEditorState::initState:height: " + A.S(t2) + " | width: " + A.S(t1.width), C.Level_3);
_this.dropZoneHeight = t2 - 50;
_this._htmlEditorHeight.set$value(0, t2);
t1 = _this._widget.width - 90;
_this.dropZoneWidth = t1;
A.log("_WebEditorState::initState:dropZoneWidth: " + A.S(t1) + " | dropZoneHeight: " + A.S(_this.dropZoneHeight), C.Level_3);
t1 = new B._WebEditorState_initState_closure(_this);
_this._dropListener = t1;
t2 = window;
t2.toString;
C.Window_methods.addEventListener$2(t2, "message", t1);
},
didUpdateWidget$1(oldWidget) {
var t2, _this = this,
_s42_ = "_EmailEditorState::didUpdateWidget():Old: ",
t1 = oldWidget.direction;
A.log(_s42_ + 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));
}
t1 = oldWidget.height;
t2 = _this._widget.height;
A.log(_s42_ + A.S(t1) + " | current: " + A.S(t2), C.Level_3);
if (t1 !== t2)
_this._htmlEditorHeight.set$value(0, t2);
_this.super$State$didUpdateWidget(oldWidget);
},
dispose$0() {
var t2, _this = this,
t1 = _this._htmlEditorHeight;
t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners();
t1.ChangeNotifier__count = 0;
t1 = _this.___WebEditorState__editorController_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t1.evaluateJavascriptWeb$1(D.Record2_inI._0);
t1 = _this._dropListener;
if (t1 != null) {
t2 = window;
t2.toString;
C.Window_methods.removeEventListener$2(t2, "message", t1);
_this._dropListener = null;
}
_this.super$State$dispose();
},
build$1(context) {
return new A.ValueListenableBuilder(this._htmlEditorHeight, new B._WebEditorState_build_closure(this), null, null, type$.ValueListenableBuilder_double);
}
};
B.EmailView.prototype = {
build$1(context) {
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");
t2._as(t1.get(_this)).toString;
t3 = type$.MediaQuery;
t4 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data;
t4 = t4.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t3).data.get$orientation(0) === C.Orientation_1;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t3).data.get$orientation(0) === C.Orientation_1;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).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_MUU;
return new B.SelectionArea(A.Scaffold$(_null, t4, 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), t6, C.EdgeInsets_0_0_0_0, t5, true), _null, _null, true, _null, _null, _null), _null);
},
_getMarginEmailView$1(context) {
var t1 = $.$get$GetWidget__cache();
A.Expando__checkType(this);
A._instanceType(this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(this)).toString;
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200)
return D.EdgeInsetsDirectional_0_0_16_16;
else
return C.EdgeInsets_0_16_0_16;
},
_buildEmailMessage$5$calendarEvent$context$emailAddressSender$maxBodyHeight$presentationEmail(calendarEvent, context, emailAddressSender, maxBodyHeight, presentationEmail) {
var t3, t4, t5, usernameEvent, titleEvent, _this = this, _null = null,
t1 = type$.JSArray_Widget,
t2 = A._setArrayType([new B.EmailSubjectWidget(presentationEmail, _null), new A.Obx(new B.EmailView__buildEmailMessage_closure(_this, presentationEmail, maxBodyHeight, context), _null), new A.Obx(new B.EmailView__buildEmailMessage_closure0(_this), _null), new A.Obx(new B.EmailView__buildEmailMessage_closure1(_this, context), _null), new A.Obx(new B.EmailView__buildEmailMessage_closure2(_this), _null)], t1);
if (calendarEvent != null) {
t1 = A._setArrayType([new A.Obx(new B.EmailView__buildEmailMessage_closure3(_this, calendarEvent, presentationEmail), _null)], t1);
t3 = emailAddressSender == null;
t4 = t3 ? A._setArrayType([], type$.JSArray_String) : emailAddressSender;
t5 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
usernameEvent = B.CalendarEventExtension_getUserNameEventAction(calendarEvent, context, A._instanceType(_this)._eval$1("GetWidget.S")._as(t5._jsWeakMap.get(_this)).imagePaths, t4);
titleEvent = B.CalendarEventExtension_getTitleEventAction(calendarEvent, context, t4);
if (usernameEvent.length !== 0 && titleEvent.length !== 0)
t1.push(new B.CalendarEventActionBannerWidget(calendarEvent, t3 ? A._setArrayType([], type$.JSArray_String) : emailAddressSender, _null));
t1.push(new A.Obx(new B.EmailView__buildEmailMessage_closure4(_this, calendarEvent), _null));
t2.push(A.Column$(t1, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1));
} else {
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).mailboxDashBoardController.selectedEmail.get$value(0);
t1 = t1 == null ? _null : t1.id;
if (J.$eq$(presentationEmail.id, t1))
t2.push(new A.Obx(new B.EmailView__buildEmailMessage_closure5(_this), _null));
}
return A.Column$(t2, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
_buildEmailMessage$3$context$maxBodyHeight$presentationEmail(context, maxBodyHeight, presentationEmail) {
return this._buildEmailMessage$5$calendarEvent$context$emailAddressSender$maxBodyHeight$presentationEmail(null, context, null, maxBodyHeight, presentationEmail);
},
_emailActionMoreActionTile$3(context, presentationEmail, actionTypes) {
var t1 = A._arrayInstanceType(actionTypes)._eval$1("MappedListIterable<1,Widget>");
return A.List_List$of(new A.MappedListIterable(actionTypes, new B.EmailView__emailActionMoreActionTile_closure(this, context, presentationEmail), t1), true, t1._eval$1("ListIterable.E"));
},
_popupMenuEmailActionTile$3(context, presentationEmail, actionTypes) {
var t1 = A._arrayInstanceType(actionTypes)._eval$1("MappedListIterable<1,PopupMenuItem<@>>");
return A.List_List$of(new A.MappedListIterable(actionTypes, new B.EmailView__popupMenuEmailActionTile_closure(this, context, presentationEmail), t1), true, t1._eval$1("ListIterable.E"));
}
};
B.AttachmentItemWidget.prototype = {
build$1(context) {
return new A.Obx(new B.AttachmentItemWidget_build_closure(this, context), null);
},
_getMaxWidthItem$1(context) {
var t1 = this._attachment_item_widget$_responsiveUtils;
if (t1.isTabletLarge$1(context))
return 200;
else if (t1.isTablet$1(context))
return 240;
else
return 260;
}
};
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_QKd, " <" + t3.mailAddress.value + "> "));
if (!J.$eq$(C.JSArray_methods.get$last(this.listAttendees), t2))
t1.push(D.TextSpan_i21);
return A.Text$rich(A.TextSpan$(t1, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t6, _null), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
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_mtF4, C.TextAlign_2, _null, _null, _null, _null), C.Clip_0, C.Color_4278221567, _null, _null, _null, _null, _null, _null, C.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_69t19, _null, _null, _null, _null, _null), _null), D.Padding_EOY, 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_69t7, _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_0, _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, _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);
t5.push(A.Expanded$(A.Column$(A._setArrayType([A.Text$rich(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), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)], t4), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), 1));
return A.Container$(_null, A.Row$(t5, C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t3, _null, _null, C.BorderRadius_ww89, _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 t2, _null = null,
t1 = type$.MediaQuery;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t1).data.get$orientation(0) === C.Orientation_0 ? D.EdgeInsetsDirectional_0_16_0_0 : D.EdgeInsetsDirectional_100_16_16_0;
t2 = type$.MappedListIterable_EventActionType_AbsorbPointer;
return A.Container$(_null, A.Wrap$(C.WrapAlignment_0, A.List_List$of(new A.MappedListIterable(D.List_RWw, new B.CalendarEventActionButtonWidget_build_closure(this, context), t2), true, t2._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 16, 16), C.Clip_0, _null, _null, _null, _null, _null, _null, this.margin, t1, _null, _null, 1 / 0);
},
_getButtonBackgroundColor$1(eventActionType) {
var t1, _this = this;
switch (eventActionType.index) {
case 0:
t1 = _this.presentationEmail;
if ((t1 == null ? null : t1.get$isAcceptedEventAttendance()) === true)
return C.Color_4289311938;
if (_this.calendarEventReplying)
return $.$get$CalendarEventActionButtonWidgetStyles_loadingBackgroundColor();
return C.Color_0;
case 1:
if (_this.presentationEmail.get$isTentativelyAcceptedEventAttendance())
return C.Color_4289311938;
if (_this.calendarEventReplying)
return $.$get$CalendarEventActionButtonWidgetStyles_loadingBackgroundColor();
return C.Color_0;
case 2:
t1 = _this.presentationEmail;
if ((t1 == null ? null : t1.get$isRejectedEventAttendance()) === true)
return C.Color_4289311938;
if (_this.calendarEventReplying)
return $.$get$CalendarEventActionButtonWidgetStyles_loadingBackgroundColor();
return C.Color_0;
case 3:
return C.Color_0;
}
},
_getButtonTextColor$1(eventActionType) {
var t1;
switch (eventActionType.index) {
case 0:
t1 = this.presentationEmail;
if ((t1 == null ? null : t1.get$isAcceptedEventAttendance()) === true)
return C.Color_4294967295;
return C.Color_4278221567;
case 1:
t1 = this.presentationEmail;
if ((t1 == null ? null : t1.get$isTentativelyAcceptedEventAttendance()) === true)
return C.Color_4294967295;
return C.Color_4278221567;
case 2:
t1 = this.presentationEmail;
if ((t1 == null ? null : t1.get$isRejectedEventAttendance()) === true)
return C.Color_4294967295;
return C.Color_4278221567;
case 3:
return C.Color_4278221567;
}
},
_getButtonBorderColor$1(eventActionType) {
var t1;
switch (eventActionType.index) {
case 0:
t1 = this.presentationEmail;
if ((t1 == null ? null : t1.get$isAcceptedEventAttendance()) === true)
return C.Color_4289311938;
return C.Color_4278221567;
case 1:
t1 = this.presentationEmail;
if ((t1 == null ? null : t1.get$isTentativelyAcceptedEventAttendance()) === true)
return C.Color_4289311938;
return C.Color_4278221567;
case 2:
t1 = this.presentationEmail;
if ((t1 == null ? null : t1.get$isRejectedEventAttendance()) === true)
return C.Color_4289311938;
return C.Color_4278221567;
case 3:
return C.Color_4278221567;
}
},
_getCallbackFunction$1(eventActionType) {
var t1, _this = this, _null = null;
switch (eventActionType.index) {
case 0:
t1 = _this.presentationEmail;
if ((t1 == null ? _null : t1.get$isAcceptedEventAttendance()) === true || _this.calendarEventReplying)
return _null;
return new B.CalendarEventActionButtonWidget__getCallbackFunction_closure(_this, eventActionType);
case 1:
t1 = _this.presentationEmail;
if ((t1 == null ? _null : t1.get$isTentativelyAcceptedEventAttendance()) === true || _this.calendarEventReplying)
return _null;
return new B.CalendarEventActionButtonWidget__getCallbackFunction_closure0(_this, eventActionType);
case 2:
t1 = _this.presentationEmail;
if ((t1 == null ? _null : t1.get$isRejectedEventAttendance()) === true || _this.calendarEventReplying)
return _null;
return new B.CalendarEventActionButtonWidget__getCallbackFunction_closure1(_this, eventActionType);
case 3:
return _this.onMailToAttendeesAction;
}
}
};
B.CalendarEventDetailWidget.prototype = {
build$1(context) {
var eventDesc, _this = this, _null = null,
t1 = _this.calendarEvent,
t2 = t1.description;
if ((t2 == null ? _null : t2.length !== 0) === true) {
t2.toString;
eventDesc = t2;
} else
eventDesc = _this.emailContent;
t2 = A._setArrayType([], type$.JSArray_Widget);
t1 = t1.title;
if ((t1 == null ? _null : t1.length !== 0) === true) {
t1.toString;
t2.push(new B.EventTitleWidget(t1, _null));
}
if (eventDesc.length !== 0)
t2.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventBodyContentWidget(eventDesc, _this.isDraggableAppActive, _this.onMailtoDelegateAction, _null), _null));
return A.Container$(_null, A.Column$(t2, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_2, _null, _null, D.ShapeDecoration_pWN, _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 t2, t3, t4, t5, _this = this, _null = null,
_s33_ = " has invited you in to a meeting:",
_s36_ = "invitationMessageCalendarInformation",
t1 = type$.MediaQuery;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t1).data.get$orientation(0) === C.Orientation_0;
t2 = type$.JSArray_Widget;
t3 = _this.calendarEvent;
if (t1) {
t1 = A._setArrayType([], t2);
if (B.CalendarEventExtension_get_organizerName(t3).length !== 0) {
t4 = A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t18, B.CalendarEventExtension_get_organizerName(t3));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t1.push(new A.Padding(C.EdgeInsets_0_0_0_8, A.Text$rich(A.TextSpan$(A._setArrayType([t4, A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, A.Intl__message(_s33_, _null, _s36_, _null, _null))], type$.JSArray_InlineSpan), _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t6, _null), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null));
}
t4 = t3.title;
if ((t4 == null ? _null : t4.length !== 0) === true) {
t4.toString;
t1.push(new B.EventTitleWidget(t4, _null));
}
t1.push(_this._buildEventTimeInformationWidget$0());
t4 = t3.location;
if ((t4 == null ? _null : t4.length !== 0) === true) {
t4.toString;
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLocationInformationWidget(t4, _this.onOpenNewTabAction, _this.onOpenComposerAction, _null), _null));
}
if (B.CalendarEventExtension_get_videoConferences(t3).length !== 0)
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLinkDetailWidget(B.CalendarEventExtension_get_videoConferences(t3), _null), _null));
t4 = t3.participants;
t5 = t4 == null;
if ((t5 ? _null : t4.length !== 0) === true || t3.organizer != null) {
if (t5)
t4 = A._setArrayType([], type$.JSArray_CalendarAttendee);
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventAttendeeDetailWidget(t4, t3.organizer, _null), _null));
}
if (B.CalendarEventExtension_get_isDisplayedEventReplyAction(t3))
t1.push(B.CalendarEventActionButtonWidget$(_this.calendarEventReplying, D.EdgeInsetsDirectional_0_0_0_0, _this.onCalendarEventReplyActionClick, new B.CalendarEventInformationWidget_build_closure(_this), _this.presentationEmail));
t1 = A.Column$(A._setArrayType([new B.CalendarDateIconWidget(t3, 1 / 0, _null), 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_wAN, _null, _null, _null, _null, C.EdgeInsets_16_16_16_16, _null, _null, _null)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
} else {
t1 = A._setArrayType([], t2);
if (B.CalendarEventExtension_get_organizerName(t3).length !== 0) {
t4 = A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t18, B.CalendarEventExtension_get_organizerName(t3));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t1.push(new A.Padding(C.EdgeInsets_0_0_0_8, A.Text$rich(A.TextSpan$(A._setArrayType([t4, A.TextSpan$(_null, _null, _null, _null, _null, _null, _null, _null, _null, A.Intl__message(_s33_, _null, _s36_, _null, _null))], type$.JSArray_InlineSpan), _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t6, _null), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), _null));
}
t4 = t3.title;
if ((t4 == null ? _null : t4.length !== 0) === true) {
t4.toString;
t1.push(new B.EventTitleWidget(t4, _null));
}
t1.push(_this._buildEventTimeInformationWidget$0());
t4 = t3.location;
if ((t4 == null ? _null : t4.length !== 0) === true) {
t4.toString;
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLocationInformationWidget(t4, _this.onOpenNewTabAction, _this.onOpenComposerAction, _null), _null));
}
if (B.CalendarEventExtension_get_videoConferences(t3).length !== 0)
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventLinkDetailWidget(B.CalendarEventExtension_get_videoConferences(t3), _null), _null));
t4 = t3.participants;
t5 = t4 == null;
if ((t5 ? _null : t4.length !== 0) === true || t3.organizer != null) {
if (t5)
t4 = A._setArrayType([], type$.JSArray_CalendarAttendee);
t1.push(new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventAttendeeDetailWidget(t4, t3.organizer, _null), _null));
}
if (B.CalendarEventExtension_get_isDisplayedEventReplyAction(t3))
t1.push(B.CalendarEventActionButtonWidget$(_this.calendarEventReplying, D.EdgeInsetsDirectional_0_0_0_0, _this.onCalendarEventReplyActionClick, new B.CalendarEventInformationWidget_build_closure0(_this), _this.presentationEmail));
t1 = new A.IntrinsicHeight(A.Row$(A._setArrayType([new B.CalendarDateIconWidget(t3, 100, _null), A.Expanded$(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_wAN0, _null, _null, _null, _null, C.EdgeInsets_16_16_16_16, _null, _null, _null), 1)], t2), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null);
}
return A.Container$(_null, t1, C.Clip_2, _null, _null, D.ShapeDecoration_kyx, _null, _null, _null, D.EdgeInsetsDirectional_16_12_16_12, _null, _null, _null, _null);
},
_buildEventTimeInformationWidget$0() {
var dateTimeEvent,
t1 = B.AppUtils_getCurrentDateLocale(),
timeZoneOffset = C.JSInt_methods._tdivFast$1(new A.DateTime(Date.now(), false).get$timeZoneOffset()._duration, 3600000000),
timeZoneOffsetAsString = "" + timeZoneOffset;
if (timeZoneOffset >= 0)
timeZoneOffsetAsString = "+" + timeZoneOffsetAsString;
dateTimeEvent = B.CalendarEventExtension_getDateTimeEvent(this.calendarEvent, t1, "GMT" + timeZoneOffsetAsString);
if (dateTimeEvent.length !== 0)
return new A.Padding(C.EdgeInsets_0_16_0_0, new B.EventTimeInformationWidget(dateTimeEvent, null), null);
else
return C.SizedBox_0_0_null_null;
}
};
B.EventAttendeeDetailWidget.prototype = {
createState$0() {
return new B._EventAttendeeDetailWidgetState(C._StateLifecycle_0);
}
};
B._EventAttendeeDetailWidgetState.prototype = {
initState$0() {
var t1, t2, _this = this;
_this.super$State$initState();
_this.___EventAttendeeDetailWidgetState__attendeesDisplayed_A = _this._splitAttendees$1(_this._widget.attendees);
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_CTL, type$.AppLocalizations).toString;
t1 = A.Text$(A.Intl__message("Who", _null, "who", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_MIj, _null, _null, _null, _null, _null);
t2 = type$.JSArray_Widget;
t3 = A._setArrayType([], t2);
t4 = _this._widget.organizer;
if (t4 != null)
t3.push(new B.OrganizerWidget(t4, _null));
t4 = _this.___EventAttendeeDetailWidgetState__attendeesDisplayed_A;
t4 === $ && A.throwUnnamedLateFieldNI();
if (t4.length !== 0) {
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));
else if (_this._widget.attendees.length > 6)
t3.push(new A.Padding(C.EdgeInsets_0_8_0_0, new B.HideAllAttendeesButtonWidget(new B._EventAttendeeDetailWidgetState_build_closure1(_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, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_splitAttendees$1(attendees) {
var attendeesWithoutOrganizer = B.ListAttendeeExtension_withoutOrganizer(attendees, this._widget.organizer);
return attendeesWithoutOrganizer.length > 6 ? C.JSArray_methods.sublist$2(attendeesWithoutOrganizer, 0, 5) : attendeesWithoutOrganizer;
}
};
B.EventBodyContentWidget.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);
t1 = A._setArrayType([], type$.JSArray_Widget);
t1.push(A.Container$(_null, new A.LayoutBuilder(new B.EventBodyContentWidget_build_closure(this), _null), C.Clip_0, _null, D.BoxConstraints_cUt, _null, _null, _null, _null, _null, C.EdgeInsetsDirectional_0_0_4_0, _null, _null, _null));
t1.push(A.PositionedDirectional$(_null, A.SvgPicture$asset("assets/images/ic_format_quote.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null), 0, _null, 0, _null));
return A.Container$(_null, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, t1, _null), C.Clip_2, _null, _null, D.BoxDecoration_4GC, _null, _null, _null, _null, D.EdgeInsetsDirectional_16_16_8_16, _null, _null, 1 / 0);
}
};
B.EventLinkDetailWidget.prototype = {
build$1(context) {
var t1, t2, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_MIj, _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, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
};
B.EventLocationInformationWidget.prototype = {
build$1(context) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_MIj, _null, _null, _null, _null, _null), _null), A.Expanded$(new B.Linkify(this.locationEvent, D.List_EmailLinkifier_UrlLinkifier, new B.EventLocationInformationWidget_build_closure(this), C.LinkifyOptions_true_true_true, C.TextStyle_69t6, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, _null, 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_CTL, type$.AppLocalizations).toString;
t1 = A.Text$(A.Intl__message("When", _null, "when", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_MIj, _null, _null, _null, _null, _null);
t2 = type$.MediaQuery;
t3 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t2).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t2).data.get$orientation(0) === C.Orientation_0 ? _null : C.TextOverflow_2;
t4 = !(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t2).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t2).data.get$orientation(0) === C.Orientation_0) || _null;
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t2).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t2).data.get$orientation(0) === C.Orientation_0 ? _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_69t6, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, _null, 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_69t17, _null, _null, _null, _null, _null);
}
};
B.HideAllAttendeesButtonWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A.Matrix4_Matrix4$translationValues(-8, 0, 0);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Transform$(_null, F.MaterialTextButton$(20, D.TextStyle_OkG4, A.Intl__message("Hide", _null, "hide", _null, _null), _null, 15, _null, _null, this.onTap, _null, C.EdgeInsetsDirectional_8_4_8_4, _null), _null, t1, true);
}
};
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_QKd, " <" + t2.value + "> "));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_i21);
return A.Text$rich(A.TextSpan$(t1, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t6, _null), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.SeeAllAttendeesButtonWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A.Matrix4_Matrix4$translationValues(-8, 0, 0);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Transform$(_null, F.MaterialTextButton$(20, D.TextStyle_OkG4, A.Intl__message("See all attendees", _null, "seeAllAttendees", _null, _null), _null, 15, _null, _null, this.onTap, _null, C.EdgeInsetsDirectional_8_4_8_4, _null), _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;
t2 = (t4 == null ? $.GetInstance__getInstance = C.C_GetInstance : t4).find$1$1$tag(0, _null, t2);
t4 = $.GetInstance__getInstance;
if (t4 == null)
t4 = $.GetInstance__getInstance = C.C_GetInstance;
return B.Draggable$(new B.AttachmentItemWidget(t1, _this.downloadAttachmentAction, _this.viewAttachmentAction, t2, t4.find$1$1$tag(0, _null, type$.ResponsiveUtils), _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_WbI, C.TextAlign_0, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, 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,
attachmentDisplayed = _this._getAttachmentDisplayed$1(context),
t1 = _this.attachments,
t2 = J.getInterceptor$asx(attachmentDisplayed),
hideItemsCount = J.get$length$asx(t1.get$value(0)) - t2.get$length(attachmentDisplayed),
t3 = A.SvgPicture$asset("assets/images/ic_attachment.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4289640386), C.BoxFit_0, 20, _null, _null, 20),
t4 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t4).toString;
t5 = J.get$length$asx(t1.get$value(0));
t6 = A.filesize(B.ListAttachmentExtension_get_totalSize(t1), 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_8aB, _null, _null, _null, _null, _null), 1), C.SizedBox_4_null_null_null], t8), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), 1)], t8);
if (J.get$length$asx(t1.get$value(0)) > 2) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t4).toString;
t6.push(A.TMailButtonWidget$(C.Color_0, _null, 8, _null, false, _null, _null, C.TextDirection_1, _null, _null, 8, _null, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, _this.onTapShowAllAttachmentFile, C.EdgeInsets_12_8_12_8, A.Intl__message("Show all", _null, "showAll", _null, _null), _null, _null, C.TextStyle_yT33, _null, _null, _null, _null, false, _null));
}
t1 = A.Row$(t6, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t3 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx < 600 ? C.CrossAxisAlignment_1 : C.CrossAxisAlignment_2;
t2 = t2.map$1$1(attachmentDisplayed, new B.EmailAttachmentsWidget_build_closure(_this), type$.StatelessWidget);
t2 = A._setArrayType([new A.Flexible(1, C.FlexFit_1, A.Wrap$(C.WrapAlignment_0, A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E")), C.WrapCrossAlignment_0, C.WrapAlignment_0, 8, 8), _null)], t8);
if (hideItemsCount > 0) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t4).toString;
t2.push(A.TMailButtonWidget$(C.Color_0, _null, 8, _null, false, _null, _null, C.TextDirection_1, _null, _null, 8, _null, C.MainAxisSize_1, D.EdgeInsetsDirectional_8_0_0_2, 1 / 0, _null, 1 / 0, 0, _null, _null, _this.onTapShowAllAttachmentFile, C.EdgeInsets_12_8_12_8, A.Intl__message("+ " + hideItemsCount + " more", _null, "moreAttachments", A._setArrayType([hideItemsCount], t7), _null), _null, _null, D.TextStyle_mS8, _null, _null, _null, _null, false, _null));
}
return new A.Padding(D.EdgeInsetsDirectional_16_0_16_12, A.Column$(A._setArrayType([t1, D.SizedBox_null_6_null_null, A.Row$(t2, t3, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t8), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null);
},
_getAttachmentDisplayed$1(context) {
var t2,
t1 = this.attachments;
if (J.get$length$asx(t1.get$value(0)) <= 2)
return t1;
if (J.get$length$asx(t1.get$value(0)) === 3)
return A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200 ? t1 : t1.sublist$2(t1, 0, 2);
t2 = type$.MediaQuery;
return A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t2).data.size._dx >= 1200 || A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t2).data.size._dx < 600 ? t1.sublist$2(t1, 0, 4) : t1.sublist$2(t1, 0, 2);
}
};
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, t4, t5, _this = this, _null = null;
if (_this._isDisplayAll) {
t1 = _this._widget.maxHeight;
if (t1 != null) {
t1.toString;
t1 = t1 / 2 - 100;
} else
t1 = 1 / 0;
t2 = type$.JSArray_Widget;
t3 = A._setArrayType([], t2);
t4 = _this._widget.emailSelected;
t5 = t4.to;
if ((t5 != null ? t5._collection$_length : 0) > 0)
t3.push(_this._buildRecipientsWidgetToDisplayFull$3$context$listEmailAddress$prefixEmailAddress(context, B.PrefixEmailAddressExtension_listEmailAddress(C.PrefixEmailAddress_1, t4), C.PrefixEmailAddress_1));
t4 = _this._widget.emailSelected;
t5 = t4.cc;
if ((t5 != null ? t5._collection$_length : 0) > 0)
t3.push(_this._buildRecipientsWidgetToDisplayFull$3$context$listEmailAddress$prefixEmailAddress(context, B.PrefixEmailAddressExtension_listEmailAddress(C.PrefixEmailAddress_2, t4), C.PrefixEmailAddress_2));
t4 = _this._widget.emailSelected;
t5 = t4.bcc;
if ((t5 != null ? t5._collection$_length : 0) > 0)
t3.push(_this._buildRecipientsWidgetToDisplayFull$3$context$listEmailAddress$prefixEmailAddress(context, B.PrefixEmailAddressExtension_listEmailAddress(C.PrefixEmailAddress_3, t4), C.PrefixEmailAddress_3));
t1 = A.Expanded$(A.Container$(_null, A.ListView$(t3, _null, _null, C.EdgeInsets_0_0_0_0, _null, false, false, C.Axis_1, true), C.Clip_0, _null, new A.BoxConstraints(0, 1 / 0, 0, t1), _null, _null, _null, _null, _null, _null, _null, _null, _null), 1);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t3 = A.Intl__message("Hide", _null, "hide", _null, _null);
t4 = A.Theme_of(context).textTheme.labelMedium;
t4 = t4 == null ? _null : t4.copyWith$2$color$fontSize(C.Color_4278221567, 15);
return A.Row$(A._setArrayType([t1, A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, _null, _null, 1 / 0, _null, 1 / 0, 0, _null, new B._EmailReceiverWidgetState_build_closure(_this), _null, t3, _null, t4, _null, _null)], t2), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
} else {
t1 = _this._getMaxWidth$1(context);
t2 = type$.JSArray_Widget;
t3 = A._setArrayType([], t2);
t4 = _this._widget.emailSelected;
t5 = t4.to;
if ((t5 != null ? t5._collection$_length : 0) > 0)
C.JSArray_methods.addAll$1(t3, _this._buildRecipientsWidget$3$context$listEmailAddress$prefixEmailAddress(context, B.PrefixEmailAddressExtension_listEmailAddress(C.PrefixEmailAddress_1, t4), C.PrefixEmailAddress_1));
t4 = _this._widget.emailSelected;
t5 = t4.cc;
if ((t5 != null ? t5._collection$_length : 0) > 0)
C.JSArray_methods.addAll$1(t3, _this._buildRecipientsWidget$3$context$listEmailAddress$prefixEmailAddress(context, B.PrefixEmailAddressExtension_listEmailAddress(C.PrefixEmailAddress_2, t4), C.PrefixEmailAddress_2));
t4 = _this._widget.emailSelected;
t5 = t4.bcc;
if ((t5 != null ? t5._collection$_length : 0) > 0)
C.JSArray_methods.addAll$1(t3, _this._buildRecipientsWidget$3$context$listEmailAddress$prefixEmailAddress(context, B.PrefixEmailAddressExtension_listEmailAddress(C.PrefixEmailAddress_3, t4), C.PrefixEmailAddress_3));
t1 = A._setArrayType([new A.ConstrainedBox(new A.BoxConstraints(0, t1, 0, 34), A.ListView$(t3, _null, _null, C.EdgeInsets_0_0_0_0, D.NeverScrollableScrollPhysics_null, _null, false, C.Axis_0, true), _null)], t2);
if (B.PresentationEmailExtension_get_countRecipients(_this._widget.emailSelected) > 1)
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_chevron_down.svg", _null, _null, _null, _null, 1 / 0, _null, new B._EmailReceiverWidgetState_build_closure0(_this), _null, _null));
return A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null);
}
},
_buildRecipientsTag$1$listEmailAddress(listEmailAddress) {
var t1 = B.ListExtensions_mapIndexed(listEmailAddress, new B._EmailReceiverWidgetState__buildRecipientsTag_closure(this, listEmailAddress), type$.EmailAddress, type$.TMailButtonWidget);
return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
},
_buildRecipientsWidgetToDisplayFull$3$context$listEmailAddress$prefixEmailAddress(context, listEmailAddress, prefixEmailAddress) {
return A.Row$(A._setArrayType([new B.PrefixRecipientWidget(prefixEmailAddress, null), A.Expanded$(A.Wrap$(C.WrapAlignment_0, this._buildRecipientsTag$1$listEmailAddress(listEmailAddress), C.WrapCrossAlignment_0, C.WrapAlignment_0, 0, 0), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, null, C.MainAxisAlignment_0, C.MainAxisSize_1, null);
},
_buildRecipientsWidget$3$context$listEmailAddress$prefixEmailAddress(context, listEmailAddress, prefixEmailAddress) {
var t1 = A._setArrayType([new B.PrefixRecipientWidget(prefixEmailAddress, null)], type$.JSArray_Widget);
C.JSArray_methods.addAll$1(t1, this._buildRecipientsTag$1$listEmailAddress(listEmailAddress));
return t1;
},
_getMaxWidth$1(context) {
var t2,
t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, null, t1).data.get$orientation(0) === C.Orientation_0)
return this._widget.maxWidth - 50;
else {
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data;
t2 = this._widget;
if (t1.size._dx >= 1200)
return t2.maxWidth / 2;
else
return t2.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_2, C.EdgeInsets_3_3_3_3, true));
}
t2 = t2.email;
t1.push(new A.Padding(C.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_2, C.EdgeInsets_3_3_3_3, true), _null));
return A.SingleChildScrollView$(A.Row$(t1, C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null, _null, _null, D.NeverScrollableScrollPhysics_null, _null, C.Axis_0);
}
};
B.EmailSubjectWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.presentationEmail;
if (t1.getEmailTitle$0().length === 0)
return C.SizedBox_0_0_null_null;
return new A.Padding(E.EdgeInsets_16_12_16_12, A.Text$(t1.getEmailTitle$0(), _null, _null, 2, _null, _null, _null, _null, _null, E.TextStyle_69t12, _null, _null, _null, _null, _null), _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) {
if (t2)
t1 = null;
else {
t1 = t1.role;
t2 = J.getInterceptor$(t1);
t1 = t2.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t2.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
t1 = t1 === 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 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale.get$languageCode(0)) ? _s32_ : _s25_;
t2 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale.get$languageCode(0)) ? D.EdgeInsetsDirectional_8_0_8_0 : _null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.TMailButtonWidget$(C.Color_0, _null, 20, _null, true, _null, t3, C.TextDirection_1, C.Color_4278221567, _null, 8, _null, C.MainAxisSize_0, _null, 1 / 0, 1, _this.maxWidth - 270, 0, _null, _null, _this.onBackAction, t2, t1, _null, _null, C.TextStyle_OkG, A.Intl__message("Back", _null, "back", _null, _null), _null, _null, _null, false, _null);
} else {
t1 = type$._LocalizationsScope;
t2 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale.get$languageCode(0)) ? _s32_ : _s25_;
t1 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale.get$languageCode(0)) ? D.EdgeInsetsDirectional_8_0_8_0 : _null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, 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 t1, t2, t3, _this = this, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t1 = A.Intl__message("New message", _null, "new_message", _null, _null);
t2 = type$.MediaQuery;
t3 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t2).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t2).data.get$orientation(0) === C.Orientation_0 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t2).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t2).data.get$orientation(0) === C.Orientation_0;
return A.Container$(_null, new A.IntrinsicHeight(A.Row$(A._setArrayType([new A.Obx(new B.EmailViewBottomBarWidget_build_closure(_this, context), _null), new A.Obx(new B.EmailViewBottomBarWidget_build_closure0(_this, context), _null), new A.Obx(new B.EmailViewBottomBarWidget_build_closure1(_this, context), _null), A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, _null, "assets/images/ic_new_message.svg", C.TextDirection_1, _null, 20, 8, D.ValueKey_compose_new_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.EmailViewBottomBarWidget_build_closure2(_this), C.EdgeInsets_8_12_8_12, t1, C.TextAlign_2, _null, t3, _null, _null, _null, _null, t2, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), C.Clip_0, _null, _null, D.BoxDecoration_kXN, _null, _null, _null, _null, _null, _null, _null, _null);
}
};
B.EmailViewEmptyWidget.prototype = {
build$1(context) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_82N, 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, _null, 24);
t1 = t1.name;
if ($.$get$_context().$index(0, "flutterCanvasKit") != null)
t1 = A.DefaultTextStyle$(A.ExtendedText$(t1 == null ? "" : t1, 1, C.TextOverflowWidget_null, _null), _null, _null, C.TextOverflow_0, true, C.TextStyle_69t6, _null, _null, C.TextWidthBasis_0);
else
t1 = A.Text$(t1 == null ? "" : t1, _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, C.TextStyle_69t6, _null, _null, _null, _null, _null);
return A.Container$(_null, A.Row$(A._setArrayType([t2, C.SizedBox_12_null_null_null, new A.Flexible(1, C.FlexFit_1, t1, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, D.BoxConstraints_oA82, D.ShapeDecoration_00, _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_get_countRecipients(t1) > 0 ? C.CrossAxisAlignment_0 : C.CrossAxisAlignment_2;
return new A.Padding(C.EdgeInsetsDirectional_16_16_16_0, A.Row$(A._setArrayType([new B.EmailAvatarBuilder(t1, _null), E.SizedBox_16_null_null_null, A.Expanded$(new A.LayoutBuilder(new B.InformationSenderAndReceiverBuilder_build_closure(this), _null), 1)], type$.JSArray_Widget), t2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null);
}
};
B.MailUnsubscribedBanner.prototype = {
build$1(context) {
var _null = null,
t1 = this.presentationEmail,
t2 = t1 == null;
if ((t2 ? _null : t1.get$isSubscribed()) === true && this.emailUnsubscribe == null) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t1 = t2 ? _null : t1.get$firstEmailAddressInFrom();
if (t1 == null)
t1 = "";
return new A.Padding(D.EdgeInsetsDirectional_20_0_20_16, A.Text$(A.Intl__message("You unsubscribe from " + t1, _null, "mailUnsubscribedMessage", A._setArrayType([t1], type$.JSArray_Object), _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_mS80, _null, _null, _null, _null, _null), _null);
} else
return C.SizedBox_0_0_null_null;
}
};
B.PrefixRecipientWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A.PrefixEmailAddressExtension_asName(this.prefixEmailAddress, context),
t2 = A.Theme_of(context).textTheme.labelMedium;
t2 = t2 == null ? _null : t2.copyWith$3$color$fontSize$fontWeight(C.Color_4286680217, 16, C.FontWeight_4_500);
return new A.Padding(E.EdgeInsets_0_6_0_0, A.Text$(t1 + ":", _null, _null, _null, _null, _null, _null, _null, _null, t2, _null, _null, _null, _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 new A.Padding(E.EdgeInsetsDirectional_16_0_0_0, A.Text$(B.PresentationEmailExtension_getReceivedAt(t1, t2, t3 == null ? _null : B.DateTimeNullableExtension_toPatternForEmailView(t3.value.toLocal$0())), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_8aB2, _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 t2, t3, t4, t5, t6, t7, t8, t9, t10, _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)).toString;
t3 = type$.MediaQuery;
t4 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? 0 : 16;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? C.RoundedRectangleBorder_NYu6 : _null;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data;
t6 = t6.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
t7 = A._setArrayType([], type$.JSArray_Widget);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
if (!(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200))
t7.push(G.ApplicationLogoWidthTextWidget$(E.EdgeInsetsDirectional_16_16_0_16, _null));
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
if (!(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200))
t7.push(D.Divider_4e8);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t8 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? 16 : 0;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t9 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t10 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? C.Color_4294375158 : C.Color_4294967295;
t7.push(A.Expanded$(A.Container$(_null, A.Container$(_null, _this._mailbox_view_web$_buildListMailbox$1(context), C.Clip_0, t10, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), C.Clip_0, t9, _null, _null, _null, _null, _null, _null, new A.EdgeInsetsDirectional(t8, 0, 0, 0), _null, _null, _null), 1));
t7.push(D.Divider_SfU1);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t8 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data;
if (!(t8.size._dx >= 1200)) {
A.Expando__checkType(_this);
t2._as(t1.get(_this)).get$contactSupportCapability();
}
t7.push(D.QuotasView_null);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? C.AlignmentDirectional_m1_0 : C.AlignmentDirectional_0_0;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t2 = A.Intl__message("Version", _null, "version", _null, _null);
t3 = A.Theme_of(context).textTheme.bodySmall;
t3 = t3 == null ? _null : t3.copyWith$3$color$fontSize$fontWeight(C.Color_4286680217, 13, C.FontWeight_3_400);
t7.push(A.Container$(t1, new G.ApplicationVersionWidget(C.EdgeInsets_0_0_0_0, t2.toLowerCase() + " ", t3, _null), C.Clip_0, C.Color_4294440951, _null, _null, _null, _null, _null, _null, C.EdgeInsets_16_16_16_16, _null, _null, 1 / 0));
return new B.Drawer(t4, t5, A.Scaffold$(_null, t6, A.Column$(t7, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null, _null, true, _null, _null, _null), _null);
},
_mailbox_view_web$_buildListMailbox$1(context) {
var t2, t3, t4, t5, t6, t7, t8, t9, t10, mailboxListWidget, _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)).mailboxListScrollController;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t4 = type$.MediaQuery;
t5 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data.size._dx >= 1200 ? 16 : 0;
t6 = type$.JSArray_Widget;
t7 = A._setArrayType([], t6);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
if (!(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data.size._dx >= 1200))
t7.push(new A.Obx(new B.MailboxView__buildListMailbox_closure(_this, context), _null));
t7.push(new A.Obx(new B.MailboxView__buildListMailbox_closure0(_this), _null));
if (F.AppConfig_appGridDashboardAvailable()) {
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t8 = !(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data.size._dx >= 1200);
} else
t8 = false;
if (t8) {
A.Expando__checkType(_this);
t8 = t2._as(t1.get(_this)).responsiveUtils;
A.Expando__checkType(_this);
t9 = t2._as(t1.get(_this)).imagePaths;
A.Expando__checkType(_this);
t9 = _this.buildAppGridDashboard$4(context, t8, t9, t2._as(t1.get(_this)));
t8 = t9;
} else
t8 = C.SizedBox_0_0_null_null;
t7.push(t8);
t7.push(C.SizedBox_null_8_null_null);
t7.push(new A.Obx(new B.MailboxView__buildListMailbox_closure1(_this, context), _null));
t7.push(C.SizedBox_null_8_null_null);
t7.push(C.Divider_SfU);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t8 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data;
t8 = t8.size._dx >= 1200 ? 0 : 12;
t9 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t9).toString;
t8 = A.Expanded$(new A.Padding(new A.EdgeInsetsDirectional(t8, 0, 0, 0), A.Text$(A.Intl__message("Folders", _null, "folders", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t2, _null, _null, _null, _null, _null), _null), 1);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t4 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data.size._dx >= 1200 ? 0 : 12;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t9).toString;
t10 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_search_bar.svg", C.Color_4278221567, _null, _null, _null, 1 / 0, _null, new B.MailboxView__buildListMailbox_closure2(_this, context), _null, A.Intl__message("Search for folders", _null, "searchForFolders", _null, _null));
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t9).toString;
t7.push(new A.Padding(D.EdgeInsetsDirectional_0_4_0_4, A.Row$(A._setArrayType([t8, new A.Padding(new A.EdgeInsetsDirectional(0, 0, t4, 0), A.Row$(A._setArrayType([t10, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_add_new_folder.svg", C.Color_4278221567, _null, _null, _null, 1 / 0, _null, new B.MailboxView__buildListMailbox_closure3(_this, context), _null, A.Intl__message("New folder", _null, "newFolder", _null, _null))], t6), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null)], t6), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_3, C.MainAxisSize_1, _null), _null));
t7.push(new A.Obx(new B.MailboxView__buildListMailbox_closure4(_this, context), _null));
t7.push(new A.Obx(new B.MailboxView__buildListMailbox_closure5(_this, context), _null));
mailboxListWidget = A.SingleChildScrollView$(A.Column$(t7, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), t3, E.PageStorageKey_mailbox_list, new A.EdgeInsetsDirectional(0, 0, t5, 0), C.AlwaysScrollableScrollPhysics_null, _null, C.Axis_1);
t6 = A._setArrayType([], t6);
if ($.$get$_context().$index(0, "flutterCanvasKit") == null) {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this)).mailboxListScrollController;
t4 = A.ScrollConfiguration_of(context).copyWith$3$dragDevices$physics$scrollbars(A.LinkedHashSet_LinkedHashSet$_literal([C.PointerDeviceKind_0, C.PointerDeviceKind_1, C.PointerDeviceKind_4], type$.PointerDeviceKind), C.BouncingScrollPhysics_ScrollDecelerationRate_0_null, false);
A.Expando__checkType(_this);
t6.push(new A.ScrollbarListView(A.RefreshIndicator$(mailboxListWidget, C.Color_4278221567, t2._as(t1.get(_this)).get$refreshAllMailbox()), t3, t4, _null));
} else {
A.Expando__checkType(_this);
t6.push(new A.ScrollbarListView(mailboxListWidget, t2._as(t1.get(_this)).mailboxListScrollController, _null, _null));
}
t6.push(new A.Obx(new B.MailboxView__buildListMailbox_closure6(_this), _null));
t6.push(new A.Obx(new B.MailboxView__buildListMailbox_closure7(_this), _null));
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, t6, _null);
},
_mailbox_view_web$_buildBodyMailboxCategory$3(context, categories, mailboxNode) {
var t2, t3, t4, _this = this, _null = null,
t1 = mailboxNode.childrenItems,
lastNode = t1 == null ? _null : C.JSArray_methods.get$last(t1);
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t2._as(t1.get(_this)).toString;
t3 = type$.MediaQuery;
t4 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? 0 : 16;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx >= 1200 ? 0 : 16;
t2 = A.MailboxCategoriessExtension_get_keyValue(categories);
return A.Container$(_null, A.TreeView$(_this._mailbox_view_web$_buildListChildTileWidget$3$lastNode(context, mailboxNode, lastNode), new A.ValueKey(t2 + "_mailbox_list", type$.ValueKey_String)), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, new A.EdgeInsets(t1, 0, t4, 0), _null, _null, _null);
},
_mailbox_view_web$_buildMailboxCategory$3(context, categories, mailboxNode) {
var t1, t2, t3, t4, t5, t6, _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)).responsiveUtils;
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).imagePaths;
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this));
A.Expando__checkType(_this);
t6 = t2._as(t1.get(_this)).get$toggleMailboxCategories();
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t3 = _this.buildHeaderMailboxCategory$7$padding$toggleMailboxCategories(context, t3, t4, categories, t5, A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200 ? _null : E.EdgeInsetsDirectional_16_0_0_0, t6);
A.Expando__checkType(_this);
return A.Column$(A._setArrayType([t3, A.AnimatedContainer$(A.MailboxCategoriessExtension_getExpandMode(categories, t2._as(t1.get(_this)).mailboxCategoriesExpandMode.get$value(0)) === 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_FilterEmailPopupMenuMixin.prototype = {};
B._BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin_AppLoaderMixin.prototype = {};
B.MailboxDashBoardView.prototype = {
build$1(context) {
var t2, _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);
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).responsiveUtils;
t2 = type$.JSArray_Widget;
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([new A.Obx(new B.MailboxDashBoardView_build_closure(_this, context), _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)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), A.Expanded$(A.Column$(A._setArrayType([C.SizedBox_null_16_null_null, new A.Obx(new B.MailboxDashBoardView_build_closure1(_this), _null), new A.Obx(new B.MailboxDashBoardView_build_closure2(_this), _null), D.SpamReportBannerWebWidget_null, B.QuotasBannerWidget$(), _this._buildVacationNotificationMessage$1(context), new A.Obx(new B.MailboxDashBoardView_build_closure3(_this, context), _null), new A.Obx(new B.MailboxDashBoardView_build_closure4(_this, context), _null), _this._buildListButtonQuickSearchFilter$1(context), A.Expanded$(new A.Obx(new B.MailboxDashBoardView_build_closure5(_this, context), _null), 1)], t2), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t2), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), 1)], t2), 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, _null, _null, _null, new B.MailboxDashBoardView_build_closure6(context), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT), _null, _null, true, _null, _null, _null), _null, _null, new A.Obx(new B.MailboxDashBoardView_build_closure7(_this), _null), t1, _null, new A.Obx(new B.MailboxDashBoardView_build_closure8(_this), _null)), new A.Obx(new B.MailboxDashBoardView_build_closure9(_this), _null), new A.Obx(new B.MailboxDashBoardView_build_closure10(_this, context), _null), _this._buildDownloadTaskStateWidget$0()], t2), _null));
},
_buildScaffoldHaveDrawer$1$body(body) {
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)).scaffoldKey;
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).responsiveUtils;
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), t1, _null, new A.SizedBox(375, _null, B.MailboxView$(), _null)), true, _null, t3, _null);
},
_buildThreadViewForWebDesktop$1(context) {
var _null = null,
t1 = A.Border_Border$all(E.Color_1555612108, 1);
return A.Container$(_null, A.ClipRRect$(C.BorderRadius_ww812, A.Column$(A._setArrayType([new A.Obx(new B.MailboxDashBoardView__buildThreadViewForWebDesktop_closure(this, context), _null), C.Divider_WbI, 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, t1, C.BorderRadius_ww812, _null, _null, _null, C.BoxShape_0), _null, _null, _null, D.EdgeInsetsDirectional_0_0_16_16, _null, _null, _null, _null);
},
_buildListButtonTopBar$1(context) {
var _this = this, _null = null;
return A.Row$(A._setArrayType([new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure(_this), _null), new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure0(_this, context), _null), new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure1(_this, context), _null), new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure2(_this), _null), new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure3(_this), _null), C.Spacer_null, new A.Obx(new B.MailboxDashBoardView__buildListButtonTopBar_closure4(_this, context), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_onSelectFilterMessageOptionAction$3(context, filterMessageCurrent, buttonPosition) {
var t2, t3, _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));
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).searchController;
t1 = t1.simpleSearchIsActivated.get$value(0) || t1.advancedSearchIsActivated.get$value(0);
t3.openPopupMenuAction$3(context, buttonPosition, _this.popupMenuFilterEmailActionTile$4$isSearchEmailRunning(context, filterMessageCurrent, new B.MailboxDashBoardView__onSelectFilterMessageOptionAction_closure(_this), t1));
},
_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), null);
},
_buildListButtonQuickSearchFilter$1(context) {
return new A.Obx(new B.MailboxDashBoardView__buildListButtonQuickSearchFilter_closure(this, context), null);
},
_buildQuickSearchFilterButton$2(context, searchFilter) {
return new A.Obx(new B.MailboxDashBoardView__buildQuickSearchFilterButton_closure(this, searchFilter, context), null);
},
_mailbox_dashboard_view_web$_onSelectSearchFilterAction$3$buttonPosition(context, searchFilter, buttonPosition) {
return this._onSelectSearchFilterAction$body$MailboxDashBoardView(context, searchFilter, buttonPosition);
},
_mailbox_dashboard_view_web$_onSelectSearchFilterAction$2(context, searchFilter) {
return this._mailbox_dashboard_view_web$_onSelectSearchFilterAction$3$buttonPosition(context, searchFilter, null);
},
_onSelectSearchFilterAction$body$MailboxDashBoardView(context, searchFilter, buttonPosition) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$self = this, t1, t2, t3, t4;
var $async$_mailbox_dashboard_view_web$_onSelectSearchFilterAction$3$buttonPosition = 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
switch (searchFilter.index) {
case 5:
if (buttonPosition != null)
$async$self._mailbox_dashboard_view_web$_openPopupMenuDateFilter$2(context, buttonPosition);
break;
case 4:
if (buttonPosition != null) {
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t1 = t1._jsWeakMap;
t2 = A._instanceType($async$self)._eval$1("GetWidget.S");
t3 = t2._as(t1.get($async$self));
A.Expando__checkType($async$self);
t4 = t2._as(t1.get($async$self)).searchController.searchEmailFilter.get$value(0).sortOrderType;
A.Expando__checkType($async$self);
t3.openPopupMenuAction$3(context, buttonPosition, $async$self.popupMenuEmailSortOrderType$3$onCallBack(context, t4, t2._as(t1.get($async$self)).get$selectSortOrderQuickSearchFilter()));
}
break;
case 6:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t1 = A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self));
t2 = A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t2.toString;
t1.selectFromSearchFilter$1$appLocalizations(t2);
break;
case 0:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t1 = A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self));
t1.searchController.updateFilterEmail$1$hasAttachmentOption(C.Some_true);
t2 = new A.StartSearchEmailAction();
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
break;
case 7:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t1 = A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self));
t2 = A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t2.toString;
t1.selectToSearchFilter$1$appLocalizations(t2);
break;
case 8:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self)).selectFolderSearchFilter$0();
break;
default:
break;
}
// implicit return
return A._asyncReturn(null, $async$completer);
}
});
return A._asyncStartSync($async$_mailbox_dashboard_view_web$_onSelectSearchFilterAction$3$buttonPosition, $async$completer);
},
popupMenuEmailReceiveTimeType$3$onCallBack(context, receiveTimeSelected, onCallBack) {
var t1 = type$.MappedListIterable_of_EmailReceiveTimeType_and_PopupMenuItem_dynamic;
return A.List_List$of(new A.MappedListIterable(D.List_gOG, new B.MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure(this, context, receiveTimeSelected, onCallBack), t1), true, t1._eval$1("ListIterable.E"));
},
popupMenuEmailSortOrderType$3$onCallBack(context, sortOrderSelected, onCallBack) {
var t1 = type$.MappedListIterable_of_EmailSortOrderType_and_PopupMenuItem_dynamic;
return A.List_List$of(new A.MappedListIterable(D.List_aYI, new B.MailboxDashBoardView_popupMenuEmailSortOrderType_closure(this, context, sortOrderSelected, onCallBack), t1), true, t1._eval$1("ListIterable.E"));
},
_mailbox_dashboard_view_web$_openPopupMenuDateFilter$2(context, position) {
var t2, t3, _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));
A.Expando__checkType(_this);
t3.openPopupMenuAction$3(context, position, _this.popupMenuEmailReceiveTimeType$3$onCallBack(context, t2._as(t1.get(_this)).searchController.searchEmailFilter.get$value(0).emailReceiveTimeType, new B.MailboxDashBoardView__openPopupMenuDateFilter_closure(_this, context)));
},
_buildComposerButton$1(context) {
var t1, t2, _this = this, _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t1 = A.Intl__message("Compose", _null, "compose", _null, _null);
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(_this)).toString;
return A.Container$(C.Alignment_m1_0, A.TMailButtonWidget$(C.Color_4278221567, _null, 10, D.List_zPV, false, _null, "assets/images/ic_compose_web.svg", C.TextDirection_1, C.Color_4294967295, 24, 8, C.ValueKey_compose_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.MailboxDashBoardView__buildComposerButton_closure(_this), E.EdgeInsetsDirectional_0_8_0_8, t1, _null, _null, D.TextStyle_mtF2, _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 _null = null,
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, _null, C.EdgeInsets_0_0_0_0, _null, type$.dynamic), C.PopupMenuDivider_null], t1));
t1 = type$.dynamic;
t2.push(A.PopupMenuItem$(this._filterEmailAction$4(context, optionSelected, C.FilterMessageOption_1, onCallBack), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, t1));
t2.push(C.PopupMenuDivider_null);
t2.push(A.PopupMenuItem$(this._filterEmailAction$4(context, optionSelected, C.FilterMessageOption_3, onCallBack), true, 48, _null, 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_getContextMenuIcon(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, _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, C.TextStyle_69t13, _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, _null, 16)], t2));
return A.InkWell$(false, _null, true, new A.Padding(C.EdgeInsets_20_16_20_16, new A.SizedBox(_null, _null, A.Row$(t1, C.CrossAxisAlignment_2, _null, 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), _null, _null, _null, _null, _null, _null, _null);
}
};
B.AdvancedSearchFilterFormBottomView.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
t2._as(t1.get(_this)).toString;
t3 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data;
t3 = !(t3.size._dx >= 1200) ? 8 : 20;
t4 = A.Matrix4_Matrix4$translationValues(-8, 0, 0);
t5 = _this.focusManager;
t6 = t5.__InputFieldFocusManager_attachmentCheckboxFocusNode_A;
t6 === $ && A.throwUnnamedLateFieldNI();
t5 = t5.__InputFieldFocusManager_searchButtonFocusNode_A;
t5 === $ && A.throwUnnamedLateFieldNI();
t4 = A.Transform$(null, _this._buildCheckboxHasAttachment$3$currentFocusNode$nextFocusNode(context, t6, t5), null, t4, true);
A.Expando__checkType(_this);
return new A.Padding(new A.EdgeInsets(0, t3, 0, 0), A.Column$(A._setArrayType([t4, _this._buildListButton$2(context, t2._as(t1.get(_this)).responsiveUtils)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), null);
},
_buildListButton$2(context, responsiveUtils) {
var t5, _this = this, _null = null,
_s12_ = "Clear filter",
_s11_ = "clearFilter",
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data,
t2 = type$.AppLocalizations,
t3 = type$.JSArray_Widget,
t4 = _this.focusManager;
if (!(t1.size._dx >= 1200)) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t1 = A.Expanded$(_this._advanced_search_filter_form_bottom_view$_buildButton$6$colorButton$colorText$context$onAction$responsiveUtils$text(C.Color_4294967295, C.Color_4285364357, context, new B.AdvancedSearchFilterFormBottomView__buildListButton_closure(_this), responsiveUtils, A.Intl__message(_s12_, _null, _s11_, _null, _null)), 1);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Search", _null, "search", _null, _null);
t5 = t4.__InputFieldFocusManager_searchButtonFocusNode_A;
t5 === $ && A.throwUnnamedLateFieldNI();
t4 = t4.__InputFieldFocusManager_fromFieldFocusNode_A;
t4 === $ && A.throwUnnamedLateFieldNI();
return A.Row$(A._setArrayType([t1, C.SizedBox_12_null_null_null, A.Expanded$(_this._advanced_search_filter_form_bottom_view$_buildButton$8$colorButton$colorText$context$currentFocusNode$nextFocusNode$onAction$responsiveUtils$text(C.Color_4278221567, C.Color_4294967295, context, t5, t4, new B.AdvancedSearchFilterFormBottomView__buildListButton_closure0(_this), responsiveUtils, t2), 1)], t3), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t1 = _this._advanced_search_filter_form_bottom_view$_buildButton$7$colorButton$colorText$context$minWidth$onAction$responsiveUtils$text(C.Color_0, C.Color_4285364357, context, 92, new B.AdvancedSearchFilterFormBottomView__buildListButton_closure1(_this), responsiveUtils, A.Intl__message(_s12_, _null, _s11_, _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Search", _null, "search", _null, _null);
t5 = t4.__InputFieldFocusManager_searchButtonFocusNode_A;
t5 === $ && A.throwUnnamedLateFieldNI();
t4 = t4.__InputFieldFocusManager_fromFieldFocusNode_A;
t4 === $ && A.throwUnnamedLateFieldNI();
return A.Row$(A._setArrayType([C.Spacer_null, t1, C.SizedBox_12_null_null_null, _this._advanced_search_filter_form_bottom_view$_buildButton$9$colorButton$colorText$context$currentFocusNode$minWidth$nextFocusNode$onAction$responsiveUtils$text(C.Color_4278221567, C.Color_4294967295, context, t5, 144, t4, new B.AdvancedSearchFilterFormBottomView__buildListButton_closure2(_this), responsiveUtils, t2)], t3), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
},
_buildCheckboxHasAttachment$3$currentFocusNode$nextFocusNode(context, currentFocusNode, nextFocusNode) {
return new A.Obx(new B.AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment_closure(this, nextFocusNode, context, currentFocusNode), null);
},
_advanced_search_filter_form_bottom_view$_buildButton$9$colorButton$colorText$context$currentFocusNode$minWidth$nextFocusNode$onAction$responsiveUtils$text(colorButton, colorText, context, currentFocusNode, minWidth, nextFocusNode, onAction, responsiveUtils, text) {
var _null = null,
t1 = A.FocusNode$(true, _null, true, true, _null, _null, false);
return A.KeyboardListener$(false, A.buildButtonWrapText(text, colorButton, _null, currentFocusNode, 44, minWidth, onAction, 10, A.TextStyle$(_null, _null, colorText, _null, _null, _null, _null, _null, _null, _null, _null, 17, _null, _null, C.FontWeight_4_500, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null)), t1, new B.AdvancedSearchFilterFormBottomView__buildButton_closure(nextFocusNode));
},
_advanced_search_filter_form_bottom_view$_buildButton$6$colorButton$colorText$context$onAction$responsiveUtils$text(colorButton, colorText, context, onAction, responsiveUtils, text) {
return this._advanced_search_filter_form_bottom_view$_buildButton$9$colorButton$colorText$context$currentFocusNode$minWidth$nextFocusNode$onAction$responsiveUtils$text(colorButton, colorText, context, null, null, null, onAction, responsiveUtils, text);
},
_advanced_search_filter_form_bottom_view$_buildButton$8$colorButton$colorText$context$currentFocusNode$nextFocusNode$onAction$responsiveUtils$text(colorButton, colorText, context, currentFocusNode, nextFocusNode, onAction, responsiveUtils, text) {
return this._advanced_search_filter_form_bottom_view$_buildButton$9$colorButton$colorText$context$currentFocusNode$minWidth$nextFocusNode$onAction$responsiveUtils$text(colorButton, colorText, context, currentFocusNode, null, nextFocusNode, onAction, responsiveUtils, text);
},
_advanced_search_filter_form_bottom_view$_buildButton$7$colorButton$colorText$context$minWidth$onAction$responsiveUtils$text(colorButton, colorText, context, minWidth, onAction, responsiveUtils, text) {
return this._advanced_search_filter_form_bottom_view$_buildButton$9$colorButton$colorText$context$currentFocusNode$minWidth$nextFocusNode$onAction$responsiveUtils$text(colorButton, colorText, context, null, minWidth, null, onAction, responsiveUtils, text);
}
};
B.AdvancedSearchFilterOverlay.prototype = {
build$1(context) {
var _null = null,
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$(new B.AdvancedSearchInputForm(_null), _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_B6x1, _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, _null, _null, _null, new B.AdvancedSearchFilterOverlay_build_closure(), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT));
}
};
B.AdvancedSearchInputForm.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, t7, t8, t9, _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)).subjectFilterInputController;
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_subjectFieldFocusNode_A;
t4 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_hasKeywordFieldFocusNode_A;
t5 === $ && A.throwUnnamedLateFieldNI();
t3 = _this._buildFilterField$6$advancedSearchFilterField$context$currentFocusNode$nextFocusNode$onTextChange$textEditingController(C.AdvancedSearchFilterField_2, context, t4, t5, new B.AdvancedSearchInputForm_build_closure(_this), t3);
A.Expando__checkType(_this);
t5 = t2._as(t1.get(_this)).hasKeyWordFilterInputController;
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_hasKeywordFieldFocusNode_A;
t4 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(_this);
t6 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_notKeywordFieldFocusNode_A;
t6 === $ && A.throwUnnamedLateFieldNI();
t5 = _this._buildFilterField$6$advancedSearchFilterField$context$currentFocusNode$nextFocusNode$onTextChange$textEditingController(C.AdvancedSearchFilterField_3, context, t4, t6, new B.AdvancedSearchInputForm_build_closure0(_this), t5);
A.Expando__checkType(_this);
t6 = t2._as(t1.get(_this)).notKeyWordFilterInputController;
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_notKeywordFieldFocusNode_A;
t4 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(_this);
t7 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_mailboxFieldFocusNode_A;
t7 === $ && A.throwUnnamedLateFieldNI();
t6 = _this._buildFilterField$6$advancedSearchFilterField$context$currentFocusNode$nextFocusNode$onTextChange$textEditingController(C.AdvancedSearchFilterField_4, context, t4, t7, new B.AdvancedSearchInputForm_build_closure1(_this), t6);
A.Expando__checkType(_this);
t7 = t2._as(t1.get(_this)).mailBoxFilterInputController;
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_mailboxFieldFocusNode_A;
t4 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(_this);
t8 = t2._as(t1.get(_this)).focusManager.__InputFieldFocusManager_attachmentCheckboxFocusNode_A;
t8 === $ && A.throwUnnamedLateFieldNI();
t7 = _this._buildFilterField$8$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$textEditingController(C.AdvancedSearchFilterField_5, context, t4, true, C.SystemMouseCursor_click, t8, new B.AdvancedSearchInputForm_build_closure2(_this, context), t7);
t8 = A.Expanded$(_this._buildFilterField$4$advancedSearchFilterField$context$isSelectFormList$onTap(C.AdvancedSearchFilterField_6, context, true, new B.AdvancedSearchInputForm_build_closure3(_this, context)), 1);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t4 = A.SvgPicture$asset("assets/images/ic_calendar_sb.svg", C.Alignment_0_0, _null, C.BoxFit_0, 24, _null, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t9 = type$.JSArray_Widget;
t4 = A.Row$(A._setArrayType([t8, C.SizedBox_10_null_null_null, A.buildIconWeb(_null, _null, t4, C.EdgeInsets_0_0_0_0, _null, _null, _null, new B.AdvancedSearchInputForm_build_closure4(_this, context), _null, A.Intl__message("Select date", _null, "selectDate", _null, _null))], t9), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t8 = _this._buildFilterField$2$advancedSearchFilterField$context(C.AdvancedSearchFilterField_7, context);
A.Expando__checkType(_this);
return A.FocusTraversalGroup$(A.Column$(A._setArrayType([new A.Obx(new B.AdvancedSearchInputForm_build_closure5(_this), _null), new A.Obx(new B.AdvancedSearchInputForm_build_closure6(_this), _null), t3, t5, t6, t7, t4, t8, new B.AdvancedSearchFilterFormBottomView(t2._as(t1.get(_this)).focusManager, _null)], t9), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null);
},
_buildEmailReceiveTimeTypeActionTiles$1(context) {
var t1 = type$.MappedListIterable_of_EmailReceiveTimeType_and_PopupMenuItem_dynamic;
return A.List_List$of(new A.MappedListIterable(D.List_gOG, new B.AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles_closure(this, context), t1), true, t1._eval$1("ListIterable.E"));
},
_buildFilterField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, onTextChange, textEditingController) {
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");
t2._as(t1.get(_this)).toString;
t3 = type$.MediaQuery;
if (!(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx < 600)) {
A.Expando__checkType(_this);
t4 = t2._as(t1.get(_this)).responsiveUtils.isTabletLarge$1(context);
} else
t4 = true;
t4 = t4 ? _null : 112;
t4 = A._setArrayType([new A.SizedBox(t4, _null, A.Text$(advancedSearchFilterField.getTitle$1(context), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_ehp, _null, _null, _null, _null, _null), _null), D.Padding_WfU], type$.JSArray_Widget);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx < 600)
t4.push(_this._buildTextField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, onTextChange, textEditingController));
else {
A.Expando__checkType(_this);
if (t2._as(t1.get(_this)).responsiveUtils.isTabletLarge$1(context))
if (advancedSearchFilterField === C.AdvancedSearchFilterField_6)
t4.push(new A.Obx(new B.AdvancedSearchInputForm__buildFilterField_closure(_this, context), _null));
else if (advancedSearchFilterField === C.AdvancedSearchFilterField_7)
t4.push(new A.Obx(new B.AdvancedSearchInputForm__buildFilterField_closure0(_this), _null));
else
t4.push(_this._buildTextField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, onTextChange, textEditingController));
else
t4.push(A.Expanded$(_this._buildTextFieldFilterForWeb$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, onTextChange, textEditingController), 1));
}
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
if (!(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t3).data.size._dx < 600)) {
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).responsiveUtils.isTabletLarge$1(context);
} else
t1 = true;
return new A.Padding(C.EdgeInsets_0_8_0_8, t1 ? A.Column$(t4, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1) : new A.SizedBox(_null, 44, A.Row$(t4, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null);
},
_buildFilterField$6$advancedSearchFilterField$context$currentFocusNode$nextFocusNode$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, nextFocusNode, onTextChange, textEditingController) {
return this._buildFilterField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, false, null, nextFocusNode, null, onTextChange, textEditingController);
},
_buildFilterField$8$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, textEditingController) {
return this._buildFilterField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, null, textEditingController);
},
_buildFilterField$4$advancedSearchFilterField$context$isSelectFormList$onTap(advancedSearchFilterField, context, isSelectFormList, onTap) {
var _null = null;
return this._buildFilterField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, _null, isSelectFormList, _null, _null, onTap, _null, _null);
},
_buildFilterField$2$advancedSearchFilterField$context(advancedSearchFilterField, context) {
var _null = null;
return this._buildFilterField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, _null, false, _null, _null, _null, _null, _null);
},
_buildTextFieldFilterForWeb$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, onTextChange, textEditingController) {
switch (advancedSearchFilterField.index) {
case 6:
return new A.Obx(new B.AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure(this, context), null);
case 7:
return new A.Obx(new B.AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure0(this), null);
default:
return this._buildTextField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, onTextChange, textEditingController);
}
},
_buildTextField$9$advancedSearchFilterField$context$currentFocusNode$isSelectFormList$mouseCursor$nextFocusNode$onTap$onTextChange$textEditingController(advancedSearchFilterField, context, currentFocusNode, isSelectFormList, mouseCursor, nextFocusNode, onTap, onTextChange, textEditingController) {
var t9, _this = this, _null = null,
t1 = currentFocusNode == null ? A.FocusNode$(true, _null, true, true, _null, _null, false) : currentFocusNode,
t2 = isSelectFormList ? C.TextInputAction_2 : C.TextInputAction_6,
t3 = isSelectFormList ? C.Color_4294112245 : C.Color_4294967295,
t4 = isSelectFormList ? 0.5 : 1,
t5 = isSelectFormList ? 0.5 : 1,
t6 = isSelectFormList ? 0.5 : 1,
t7 = advancedSearchFilterField.getHintText$1(context),
t8 = A.TextStyle$(_null, _null, advancedSearchFilterField === C.AdvancedSearchFilterField_5 ? C.Color_4278190080 : C.Color_4286680217, _null, _null, _null, _null, _null, _null, _null, _null, 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
if (isSelectFormList) {
t9 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t9._jsWeakMap.get(_this)).toString;
t9 = A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_dropdown.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null), _null, _null, _null, _null, _null, _null, _null);
} else
t9 = _null;
return A.KeyboardListener$(false, A.TextFieldBuilder$(false, textEditingController, C.Color_4278221567, A.InputDecoration$(_null, new A.OutlineInputBorder(4, C.BorderRadius_ww82, new A.BorderSide(C.Color_520093696, t5, C.BorderStyle_1, -1)), _null, C.EdgeInsetsDirectional_12_0_12_0, _null, _null, _null, _null, true, new A.OutlineInputBorder(4, C.BorderRadius_ww82, new A.BorderSide(C.Color_520093696, t4, C.BorderStyle_1, -1)), _null, _null, _null, _null, _null, t3, true, _null, _null, _null, _null, new A.OutlineInputBorder(4, C.BorderRadius_ww82, new A.BorderSide(C.Color_4278221567, t6, C.BorderStyle_1, -1)), _null, _null, _null, _null, _null, _null, _null, t8, t7, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t9, _null, D.BoxConstraints_86y5, _null, _null), _null, _null, _null, 1, _null, mouseCursor, onTap, onTextChange, new B.AdvancedSearchInputForm__buildTextField_closure(_this, isSelectFormList, onTap), isSelectFormList, C.TextDirection_1, t2, C.TextStyle_69t3), t1, new B.AdvancedSearchInputForm__buildTextField_closure0(nextFocusNode));
}
};
B._AdvancedSearchInputForm_GetWidget_PopupContextMenuActionMixin.prototype = {};
B.AutoCompleteSuggestionItemWidgetWeb.prototype = {
build$1(context) {
var t1, t2, t3, t4, t5, t6, _this = this, _null = null;
if (_this.suggestionState === C.SuggestionEmailState_1) {
t1 = _this.emailAddress;
t2 = A.EmailAddressExtension_asString(t1);
t3 = _this.suggestionValid;
t4 = t3 == null;
t2 = A.RichTextWidget$(C.TextOverflow_2, _null, _null, t2, t4 ? "" : t3);
t5 = t1.name;
if ((t5 == null ? "" : t5).length !== 0) {
t5 = t1.email;
if (t5 == null)
t5 = "";
t3 = A.RichTextWidget$(C.TextOverflow_2, C.TextStyle_8aB1, C.TextStyle_69t27, t5, t4 ? "" : t3);
} else
t3 = _null;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.ListTile$(C.EdgeInsets_8_0_8_0, new B.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, _null, 24)), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4), C.Clip_0, _null, _null, C.BoxDecoration_AiQ, _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 = A.RichTextWidget$(C.TextOverflow_2, _null, _null, t3, t5 ? "" : t4);
t6 = t2.name;
if ((t6 == null ? "" : t6).length !== 0) {
t6 = t2.email;
if (t6 == null)
t6 = "";
t4 = A.RichTextWidget$(C.TextOverflow_2, C.TextStyle_8aB1, C.TextStyle_69t27, t6, t5 ? "" : t4);
} else
t4 = _null;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.ListTile$(C.EdgeInsets_16_0_16_0, new B.AvatarSuggestionItemWidget(t2, _null), new B.AutoCompleteSuggestionItemWidgetWeb_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.AutoCompleteTagItemWidgetWeb.prototype = {
build$1(context) {
var t9, t10, t11, t12, t13, _this = this, _null = null,
t1 = _this.isCollapsed,
t2 = t1 ? 40 : 0,
t3 = _this.currentEmailAddress,
t4 = _this.field.getPrefixEmailAddress$0(),
t5 = B.DraggableRecipientTagWidget$(t3),
t6 = B.DraggableRecipientTagWidget$(t3),
t7 = A.EmailAddressExtension_asString(t3),
t8 = A.RegExp_RegExp(string$.__u059, true, false, false);
t7 = t8._nativeRegExp.test(t7) ? 0 : 2;
t8 = A.Text$(A.EmailAddressExtension_asString(t3), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _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, _null);
t10 = _this._getTagBackgroundColor$0();
t11 = _this._getTagBorderSide$0();
t12 = t3.email;
t13 = t12 == null;
if ((t13 ? "" : t12).length !== 0)
t12 = new B.AvatarTagItemWidget(t13 ? "" : t12, _null);
else
t12 = _null;
t5 = A._setArrayType([new A.Padding(new A.EdgeInsetsDirectional(0, 8, t2, 0), B.Draggable$(A.TextFieldTapRegion$(A.InkWell$(false, _null, true, A.MouseRegion$(A.Chip$(t12, t10, t9, t8, new A.EdgeInsetsDirectional(4, t7, 4, t7), C.TextStyle_69t10, _null, new B.AutoCompleteTagItemWidgetWeb_build_closure(_this), C.EdgeInsets_0_0_0_0, new A.RoundedRectangleBorder(C.BorderRadius_ww82, t11), _null), C.SystemMouseCursor_grab, _null, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.AutoCompleteTagItemWidgetWeb_build_closure0(_this), _null, _null, _null, _null, _null, _null, _null), _null, _null), t6, new B.DraggableEmailAddress(t3, t4), B.drag_target__childDragAnchorStrategy$closure(), t5, _null, _null, _null, type$.DraggableEmailAddress), _null)], type$.JSArray_Widget);
if (t1)
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_4294243572, 10, _null, C.EdgeInsets_0_8_0_0, 1 / 0, _null, 1 / 0, 0, _null, new B.AutoCompleteTagItemWidgetWeb_build_closure1(_this), C.EdgeInsetsDirectional_8_4_8_4, "+" + (_this.currentListEmailAddress.length - _this.collapsedListEmailAddress.length), _null, C.TextStyle_69t10, _null, _null));
return new A.Stack(C.AlignmentDirectional_1_0, _null, C.StackFit_0, C.Clip_1, t5, _null);
},
_getTagBackgroundColor$0() {
if (this.isLatestTagFocused && this.isLatestEmail)
return C.Color_4292865791;
else
return C.Color_4294243572;
},
_getTagBorderSide$0() {
if (this.isLatestTagFocused && this.isLatestEmail)
return C.BorderSide_UKi0;
else
return D.BorderSide_FGJ;
}
};
B.AvatarSuggestionItemWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A.Border_Border$all(C.Color_335544320, 1),
t2 = this.emailAddress;
return A.Container$(C.Alignment_0_0, A.Text$(A.EmailAddressExtension_asString(t2).length !== 0 ? A.StringExtension_get_firstLetterToUpperCase(A.EmailAddressExtension_asString(t2)) : "", _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t16, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294506744, _null, t1, _null, _null, _null, _null, C.BoxShape_1), _null, 40, _null, _null, _null, _null, _null, 40);
}
};
B.AvatarTagItemWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.tagName,
t2 = C.List_NQk[this._generateIndex$1(t1)],
t3 = A.Border_Border$all(C.Color_335544320, 0.21);
return A.Container$(C.Alignment_0_0, A.Text$(t1.length !== 0 ? t1[0].toUpperCase() : "", _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_zzp, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, t3, _null, _null, new A.LinearGradient(C.Alignment_0_m1, C.Alignment_0_1, C.TileMode_0, t2, _null, _null), _null, C.BoxShape_1), _null, 24, _null, _null, _null, _null, _null, 24);
},
_generateIndex$1(tag) {
var codeUnits;
if (tag.length !== 0) {
codeUnits = new A.CodeUnits(tag);
if (!codeUnits.get$isEmpty(codeUnits))
return C.JSInt_methods.$mod(A.IterableIntegerExtension_get_sum(codeUnits), 10);
}
return 0;
}
};
B.DateDropDownButton.prototype = {
build$1(context) {
var t2, t3, t4, t5, _this = this, _null = null,
_s29_ = "assets/images/ic_dropdown.svg",
t1 = type$.MappedListIterable_of_EmailReceiveTimeType_and_DropdownMenuItem_EmailReceiveTimeType;
t1 = A.List_List$of(new A.MappedListIterable(D.List_gOG, new B.DateDropDownButton_build_closure(_this, context), t1), true, t1._eval$1("ListIterable.E"));
t2 = _this.receiveTimeSelected;
t3 = A.BorderRadius$circular(10);
t4 = A.Border_Border$all(C.Color_520093696, 0.5);
t5 = t2.getTitle$3$endDate$startDate(context, _this.endDate, _this.startDate);
t3 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t5, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_69t3, _null, _null, _null, _null, _null), 1), A.SvgPicture$asset(_s29_, C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294112245, _null, t4, t3, _null, _null, _null, C.BoxShape_0), _null, 44, _null, _null, C.EdgeInsets_12_0_10_0, _null, _null, _null);
t4 = A.BorderRadius$circular(10);
return new A.DropdownButtonHideUnderline(A.PointerInterceptor$(A.DropdownButton2$(new A.ButtonStyleData(44, _null, C.EdgeInsets_12_0_12_0, new A.BoxDecoration(C.Color_4294112245, _null, A.Border_Border$all(C.Color_520093696, 1), t4, _null, _null, _null, C.BoxShape_0)), t3, _null, A.DropdownStyleData$(new A.BoxDecoration(C.Color_4294967295, _null, _null, A.BorderRadius$circular(10), _null, _null, _null, C.BoxShape_0), 4, 200, C.Offset_0_m8, new A.ScrollbarThemeData(new A.WidgetStatePropertyAll(true, type$.WidgetStatePropertyAll_bool), new A.WidgetStatePropertyAll(6, type$.WidgetStatePropertyAll_double), _null, _null, C.Radius_40_40, _null, _null, _null, _null, _null, _null), _null), _null, new A.IconStyleData(A.SvgPicture$asset(_s29_, C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null), 24), true, t1, _null, C.MenuItemStyleData_sGC, new B.DateDropDownButton_build_closure0(_this), _null, t2, type$.EmailReceiveTimeType)), _null);
},
get$startDate() {
return this.startDate;
},
get$endDate() {
return this.endDate;
}
};
B.IconOpenAdvancedSearchWidget.prototype = {
build$1(context) {
return new A.Obx(new B.IconOpenAdvancedSearchWidget_build_closure(this, context), null);
}
};
B.SortByDropDownButton.prototype = {
build$1(context) {
var t2, t3, t4, t5, _null = null,
_s29_ = "assets/images/ic_dropdown.svg",
t1 = type$.MappedListIterable_of_EmailSortOrderType_and_DropdownMenuItem_EmailSortOrderType;
t1 = A.List_List$of(new A.MappedListIterable(D.List_aYI, new B.SortByDropDownButton_build_closure(this, context), t1), true, t1._eval$1("ListIterable.E"));
t2 = this.sortOrderSelected;
t3 = A.Border_Border$all(C.Color_520093696, 0.5);
t4 = A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t4.toString;
t4 = t2.getTitleByAppLocalizations$1(t4);
if (t4 == null)
t4 = "";
t5 = A.TextStyle$(_null, _null, C.Color_4278190080, _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);
t3 = A.Container$(_null, A.Row$(A._setArrayType([A.Expanded$(A.Text$(t4, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, t5, _null, _null, _null, _null, _null), 1), A.SvgPicture$asset(_s29_, C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294112245, _null, t3, C.BorderRadius_ww82, _null, _null, _null, C.BoxShape_0), _null, 44, _null, _null, C.EdgeInsetsDirectional_12_0_10_0, _null, _null, _null);
return new A.DropdownButtonHideUnderline(A.PointerInterceptor$(A.DropdownButton2$(new A.ButtonStyleData(44, _null, C.EdgeInsetsDirectional_12_0_10_0, new A.BoxDecoration(C.Color_4294112245, _null, A.Border_Border$all(C.Color_520093696, 0.5), C.BorderRadius_ww82, _null, _null, _null, C.BoxShape_0)), t3, _null, A.DropdownStyleData$(C.BoxDecoration_yXb2, 4, 332, C.Offset_0_m8, new A.ScrollbarThemeData(new A.WidgetStatePropertyAll(true, type$.WidgetStatePropertyAll_bool), new A.WidgetStatePropertyAll(6, type$.WidgetStatePropertyAll_double), _null, _null, C.Radius_40_40, _null, _null, _null, _null, _null, _null), _null), _null, new A.IconStyleData(A.SvgPicture$asset(_s29_, C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null), 24), true, t1, _null, C.MenuItemStyleData_sGC, this.onSortOrderSelected, _null, t2, type$.EmailSortOrderType)), _null);
}
};
B.TextFieldAutocompleteEmailAddressWeb.prototype = {
createState$0() {
return new B._TextFieldAutocompleteEmailAddressWebState(C._StateLifecycle_0);
}
};
B._TextFieldAutocompleteEmailAddressWebState.prototype = {
initState$0() {
this.super$State$initState();
this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A = this._widget.listEmailAddress;
},
didUpdateWidget$1(oldWidget) {
var t1;
this.super$State$didUpdateWidget(oldWidget);
t1 = this._widget.listEmailAddress;
if (t1 !== oldWidget.listEmailAddress)
this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A = t1;
},
build$1(context) {
return new A.Padding(C.EdgeInsets_0_8_0_8, new A.LayoutBuilder(new B._TextFieldAutocompleteEmailAddressWebState_build_closure(this), null), null);
},
get$_isCollapse() {
var t1 = this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.length > 1 && this._widget.expandMode === C.ExpandMode_0;
},
get$_collapsedListEmailAddress() {
var t1 = this.get$_isCollapse(),
t2 = this.___TextFieldAutocompleteEmailAddressWebState__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$_TextFieldAutocompleteEmailAddressWebState(query);
},
_findSuggestions$body$_TextFieldAutocompleteEmailAddressWebState(query) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.List_SuggestionEmailAddress_2),
$async$returnValue, $async$self = this, processedQuery, t2, tmailSuggestion, t3, t4, 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_2);
// 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_2);
// goto return
$async$goto = 1;
break;
}
t2 = type$.SuggestionEmailAddress_2;
tmailSuggestion = J.JSArray_JSArray$growable(0, t2);
t3 = $async$self._widget;
t4 = t3.minInputLengthAutocomplete;
$async$goto = t1 >= t4 ? 3 : 4;
break;
case 3:
// then
$async$temp1 = C.JSArray_methods;
$async$temp2 = tmailSuggestion;
$async$temp3 = J;
$async$goto = 5;
return A._asyncAwait(t3.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._TextFieldAutocompleteEmailAddressWebState__findSuggestions_closure($async$self), t2));
case 4:
// join
t1 = $async$self.___TextFieldAutocompleteEmailAddressWebState__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_2);
// 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);
},
_isDuplicated$1(inputEmail) {
var t1;
if (inputEmail.length === 0)
return false;
t1 = this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return A.IterableNullableExtension_whereNotNull(new A.MappedListIterable(t1, new B._TextFieldAutocompleteEmailAddressWebState__isDuplicated_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>")), type$.String).contains$1(0, inputEmail);
},
_toSuggestionEmailAddress$2(item, addedEmailAddresses) {
if (C.JSArray_methods.contains$1(addedEmailAddresses, item))
return new A.SuggestionEmailAddress(item, C.SuggestionEmailState_1);
else
return new A.SuggestionEmailAddress(item, C.SuggestionEmailState_0);
},
_matchedSuggestionEmailAddress$2(query, addedEmailAddress) {
var t1 = A._arrayInstanceType(addedEmailAddress);
return new A.MappedIterable(new A.WhereIterable(addedEmailAddress, new B._TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure(query), t1._eval$1("WhereIterable<1>")), new B._TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure0(), t1._eval$1("MappedIterable<1,SuggestionEmailAddress>"));
},
_handleGapBetweenTagChangedAndFindSuggestion$0() {
A.log("_TextFieldAutocompleteEmailAddressWebState::_handleGapBetweenTagChangedAndFindSuggestion:Timeout", C.Level_3);
},
_updateListEmailAddressAction$0() {
var t3,
t1 = this._widget,
t2 = t1.onUpdateListEmailAddressAction;
t1 = t1.field;
t3 = this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t3 === $ && A.throwUnnamedLateFieldNI();
t2.call$2(t1, t3);
},
_handleFocusTagAction$2(focused, stateSetter) {
if (this._framework$_element != null)
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleFocusTagAction_closure(this, focused));
},
_handleDeleteLatestTagAction$1(stateSetter) {
var t1 = this.___TextFieldAutocompleteEmailAddressWebState__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.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (t1.length !== 0) {
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleDeleteTagAction_closure(this, emailAddress));
this._updateListEmailAddressAction$0();
}
},
_handleSelectOptionAction$2(suggestionEmailAddress, stateSetter) {
var t1 = suggestionEmailAddress.emailAddress.email;
if (!this._isDuplicated$1(t1 == null ? "" : t1)) {
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleSelectOptionAction_closure(this, suggestionEmailAddress));
this._updateListEmailAddressAction$0();
}
},
_handleSubmitTagAction$2(value, stateSetter) {
var _this = this,
textTrim = C.JSString_methods.trim$0(value);
if (textTrim.length === 0) {
_this._widget.onSearchAction.call$0();
return;
}
if (!_this._isDuplicated$1(textTrim)) {
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleSubmitTagAction_closure(_this, textTrim));
_this._updateListEmailAddressAction$0();
}
},
_handleOnTagChangeAction$2(value, stateSetter) {
var _this = this,
textTrim = C.JSString_methods.trim$0(value);
if (!_this._isDuplicated$1(textTrim)) {
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleOnTagChangeAction_closure(_this, textTrim));
_this._updateListEmailAddressAction$0();
}
_this._gapBetweenTagChangedAndFindSuggestion = A.Timer_Timer(C.Duration_1000000, _this.get$_handleGapBetweenTagChangedAndFindSuggestion());
},
_getSuggestionBoxWidth$1(maxWidth) {
if (maxWidth < 600)
return Math.min(maxWidth, 300);
else
return null;
},
_handleAcceptDraggableEmailAddressAction$2(draggableEmailAddress, stateSetter) {
var t1, _this = this;
A.log("_TextFieldAutocompleteEmailAddressWebState::_handleAcceptDraggableEmailAddressAction:draggableEmailAddress = " + draggableEmailAddress.toString$0(0), C.Level_3);
if (draggableEmailAddress.prefix !== _this._widget.field.getPrefixEmailAddress$0()) {
t1 = _this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
if (!C.JSArray_methods.contains$1(t1, draggableEmailAddress.emailAddress)) {
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure(_this, draggableEmailAddress));
_this._updateListEmailAddressAction$0();
} else if (_this._isDragging)
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure0(_this));
_this._widget.onRemoveDraggableEmailAddressAction.call$1(draggableEmailAddress);
} else if (_this._isDragging)
stateSetter.call$1(new B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure1(_this));
}
};
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, _null, 16);
t4 = type$.JSArray_Widget;
t1 = A.Container$(_null, new A.Stack(C.Alignment_0_0, _null, C.StackFit_0, C.Clip_1, A._setArrayType([t1, A.Center$(t2.get$percentDownloading() === 0 ? D.CircularProgressIndicator_86y : A.CircularPercentIndicator$(C.Color_2581915884, _null, 3, t2.get$percentDownloading(), C.Color_4278221567, 14), _null, _null)], t4), _null), C.Clip_0, C.Color_0, _null, _null, _null, 30, _null, _null, _null, _null, _null, 30);
t3 = A.DefaultTextStyle$(A.Text$(t3.generateFileName$0(), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, _null, _null, _null, _null, _null, _null), _null, _null, C.TextOverflow_0, true, D.TextStyle_6nc, _null, _null, C.TextWidthBasis_0);
t5 = t2.downloaded;
t6 = new B.ByteConverter(t5);
t6._bits = C.JSInt_methods.ceil$0(t5 * 8);
t6 = t6.toHumanReadable$1(D.SizeUnit_2);
t2 = t2.total;
t5 = new B.ByteConverter(t2);
t5._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, t1, C.SizedBox_12_null_null_null, A.Expanded$(A.Column$(A._setArrayType([t3, C.SizedBox_null_4_null_null, A.DefaultTextStyle$(A.Text$(t6 + "/" + t5.toHumanReadable$1(D.SizeUnit_2), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, _null, _null, _null, _null, _null, _null), _null, _null, C.TextOverflow_0, true, D.TextStyle_6nc0, _null, _null, C.TextWidthBasis_0)], t4), C.CrossAxisAlignment_0, C.MainAxisAlignment_2, C.MainAxisSize_0, C.VerticalDirection_1), 1)], t4), C.CrossAxisAlignment_2, _null, 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.MarkMailboxAsReadLoadingBanner.prototype = {
build$1(context) {
return this.viewState.fold$2(0, new B.MarkMailboxAsReadLoadingBanner_build_closure(), new B.MarkMailboxAsReadLoadingBanner_build_closure0(this));
},
_mark_mailbox_as_read_loading_banner$_buildProgressBanner$2(progress, total) {
return new A.Padding(D.EdgeInsetsDirectional_0_0_16_8, this.horizontalPercentLoadingWidget$1(total > 0 ? progress / total : 0.68), null);
}
};
B._MarkMailboxAsReadLoadingBanner_StatelessWidget_AppLoaderMixin.prototype = {};
B.ContactQuickSearchItem.prototype = {
build$1(context) {
var _null = null,
t1 = this.emailAddress,
t2 = type$.JSArray_Widget,
t3 = A._setArrayType([A.Text$(A.EmailAddressExtension_asString(t1), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_69t3, _null, _null, _null, _null, _null)], t2),
t4 = t1.name;
if ((t4 == null ? "" : t4).length !== 0) {
t4 = t1.email;
t3.push(A.Text$(t4 == null ? "" : t4, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_8aB1, _null, _null, _null, _null, _null));
}
return new A.Padding(C.EdgeInsets_12_8_12_8, A.Row$(A._setArrayType([new B.AvatarSuggestionItemWidget(t1, _null), C.SizedBox_12_null_null_null, A.Expanded$(A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t2), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null);
}
};
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 : B.PresentationMailboxExtension_get_isOutbox(t1)) === true;
else
t1 = true;
else
t1 = true;
if (t1)
return B.PresentationEmailExtension_recipientsName(this._presentationEmail);
return this._presentationEmail.getSenderName$0();
}
};
B.RecentSearchItemTileWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.contentPadding;
if (t1 == null)
t1 = C.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, _null), C.SizedBox_8_null_null_null, A.Expanded$(A.Text$(this.recentSearch.value, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null);
}
};
B.RecoverDeletedMessageLoadingBannerWidget.prototype = {
build$1(context) {
var t1, _null = null;
if (this.isLoading) {
t1 = B.RecoverDeletedMessageLoadingBannerStyle_getBannerMargin(context, this.responsiveUtils);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Container$(_null, A.Column$(A._setArrayType([A.Text$(A.Intl__message("The recovery is in progress. You can continue using Twake Mail", _null, "bannerProgressingRecoveryMessage", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_yT30, _null, _null, _null, _null, _null), C.SizedBox_null_12_null_null, this.horizontalLoadingWidget], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_0, _null, _null, D.ShapeDecoration_uQ3, _null, _null, _null, t1, E.EdgeInsets_16_12_16_12, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
}
};
B.FilterMessageButton.prototype = {
build$1(context) {
var t2, listComponentsWidget, t3, childItem, _this = this, _null = null,
t1 = _this.filterMessageOption,
filterMessageTitle = B.FilterMessageOptionExtension_getTitle(t1, context),
deleteButtonWidget = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_delete_selection.svg", C.Color_4285034102, 10, _null, _null, 1 / 0, _null, new B.FilterMessageButton_build_closure(_this), C.EdgeInsets_8_8_8_8, _null);
t1 = A.SvgPicture$asset(B.FilterMessageOptionExtension_getIcon(t1, _this.imagePaths), C.Alignment_0_0, A.ColorNullableExtension_asFilter(B.FilterMessageOptionExtension_getIconColor(t1)), C.BoxFit_0, 16, _null, _null, 16);
t2 = type$.JSArray_Widget;
listComponentsWidget = A._setArrayType([t1, C.SizedBox_8_null_null_null, A.Text$(filterMessageTitle.length > 20 ? C.JSString_methods.substring$2(filterMessageTitle, 0, 20) + "..." : filterMessageTitle, _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, D.TextStyle_5Ry3, _null, _null, _null, _null, _null), new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset("assets/images/ic_dropdown.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4285034102), C.BoxFit_0, 18, _null, _null, 18), _null)], t2);
t1 = A.List_List$of(listComponentsWidget, true, type$.Widget);
t3 = _this.isSelected;
if (t3)
t1.push(deleteButtonWidget);
childItem = _this._filter_message_button$_buildContainerForComponents$1$children(t1);
if (!t3)
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_ww82, true, childItem, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.FilterMessageButton_build_closure0(_this, context), _null, _null, _null, _null, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4);
t1 = A._setArrayType([A.InkWell$(false, C.BorderRadius_ww82, true, A.Row$(listComponentsWidget, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.FilterMessageButton_build_closure1(_this, context), _null, _null, _null, _null, _null)], t2);
t1.push(deleteButtonWidget);
return _this._filter_message_button$_buildContainerForComponents$1$children(t1);
},
_filter_message_button$_buildContainerForComponents$1$children(children) {
var _null = null,
t1 = this.isSelected,
t2 = B.FilterMessageOptionExtension_getBackgroundColor(this.filterMessageOption, t1);
t1 = B.FilterMessageButtonStyle_getButtonPadding(t1);
return A.Container$(_null, A.Row$(children, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t2, _null, _null, C.BorderRadius_ww82, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, t1, _null, _null, _null);
},
_filter_message_button$_onTapDownAction$2(context, details) {
var screenSize = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size,
offset = details.globalPosition,
t1 = offset._dx,
t2 = offset._dy;
this.onSelectFilterMessageOptionAction.call$3(context, this.filterMessageOption, new A.RelativeRect(t1, t2, screenSize._dx - t1, screenSize._dy - t2));
}
};
B.SearchFilterButton.prototype = {
build$1(context) {
var t3, t4, t5, childItem, _this = this, _null = null,
t1 = _this.searchFilter,
t2 = _this.startDate,
filterTitle = t1.getTitle$9$endDate$listAddressOfFrom$listAddressOfTo$mailbox$receiveTimeType$sortOrderType$startDate$userName(context, t2, _this.listAddressOfFrom, _this.listAddressOfTo, _this.mailbox, _this.receiveTimeType, _this.sortOrderType, t2, _this.userName),
deleteButtonWidget = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_delete_selection.svg", C.Color_4286680217, 10, _null, _null, 1 / 0, _null, new B.SearchFilterButton_build_closure(_this), C.EdgeInsets_8_8_8_8, _null);
t2 = _this.isSelected;
t3 = A.SvgPicture$asset(t1.getIcon$2$isSelected(_this.imagePaths, t2), C.Alignment_0_0, A.ColorNullableExtension_asFilter(t1.getIconColor$1$isSelected(t2)), C.BoxFit_0, 16, _null, _null, 16);
t4 = type$.JSArray_Widget;
t3 = A._setArrayType([t3, C.SizedBox_4_null_null_null, A.Text$(filterTitle.length > 20 ? C.JSString_methods.substring$2(filterTitle, 0, 20) + "..." : filterTitle, _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, D.TextStyle_5Ry3, _null, _null, _null, _null, _null)], t4);
if (t1 === C.QuickSearchFilter_5 || t1 === C.QuickSearchFilter_6 || t1 === C.QuickSearchFilter_7 || t1 === C.QuickSearchFilter_8 || t1 === C.QuickSearchFilter_4)
t3.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset("assets/images/ic_dropdown.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4286680217), C.BoxFit_0, 16, _null, _null, 16), _null));
t5 = A.List_List$of(t3, true, type$.Widget);
if (t2)
t5.push(deleteButtonWidget);
childItem = _this._buildContainerForComponents$1$children(t5);
if (_this.onSelectSearchFilterAction == null)
return childItem;
t5 = _this.responsiveUtils;
if (!t1.isOnTapWithPositionActionSupported$2(context, t5)) {
t3 = !t1.isOnTapWithPositionActionSupported$2(context, t5) ? new B.SearchFilterButton_build_closure0(_this, context) : _null;
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_ww82, true, childItem, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3, _null, t1.isOnTapWithPositionActionSupported$2(context, t5) && !t2 ? new B.SearchFilterButton_build_closure1(_this, context) : _null, _null, _null, _null, _null, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4);
}
t1 = A._setArrayType([A.InkWell$(false, _null, true, A.Row$(t3, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchFilterButton_build_closure2(_this, context), _null, _null, _null, _null, _null)], t4);
if (t2)
t1.push(deleteButtonWidget);
return _this._buildContainerForComponents$1$children(t1);
},
_buildContainerForComponents$1$children(children) {
var t2, _this = this, _null = null,
t1 = _this.backgroundColor;
if (t1 == null)
t1 = _this.searchFilter.getBackgroundColor$1$isSelected(_this.isSelected);
t2 = _this.buttonPadding;
if (t2 == null)
t2 = B.SearchFilterButtonStyle_getButtonPadding(_this.isSelected);
return A.Container$(_null, A.Row$(children, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t1, _null, _null, C.BorderRadius_ww82, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, t2, _null, _null, _null);
},
_onTapDownAction$2(context, details) {
var screenSize = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size,
offset = details.globalPosition,
t1 = offset._dx,
t2 = offset._dy,
t3 = this.onSelectSearchFilterAction;
if (t3 != null)
t3.call$3$buttonPosition(context, this.searchFilter, new A.RelativeRect(t1, t2, screenSize._dx - t1, screenSize._dy - t2));
},
get$startDate() {
return this.startDate;
},
get$endDate() {
return this.endDate;
}
};
B.SearchInputFormWidget.prototype = {
build$1(context) {
return new A.Obx(new B.SearchInputFormWidget_build_closure(this, context), null);
},
_invokeSearchEmailAction$1(queryString) {
var t1, t2, t3, _null = null;
A.log("SearchInputFormWidget::_invokeSearchEmailAction:QueryString = " + queryString, C.Level_3);
t1 = this._searchController;
t1.searchFocus.unfocus$0();
t2 = t1.searchState;
t2.get$value(0);
t2.set$value(0, new A.SearchState(C.SearchStatus_0));
t2 = queryString.length === 0;
if (!t2)
t1.consumeState$1(t1._search_controller$_saveRecentSearchInteractor.execute$1(new A.RecentSearch(queryString, 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) {
t1.searchEmailFilter.set$value(0, A.SearchEmailFilter$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
t2 = t3.sessionCurrent;
t1.applyFilterSuggestionToSearchFilter$1(t2 == null ? _null : t2.username);
t3.searchEmailByQueryString$1(queryString);
} 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$textOption(new A.Some(new A.SearchQuery(""), type$.Some_SearchQuery));
t3.searchInputController.super$ValueNotifier$value(0, C.TextEditingValue_3bx);
t3.searchFocus.unfocus$0();
t3.simpleSearchIsActivated.set$value(0, false);
t3 = t3.searchState;
t3.get$value(0);
t3.set$value(0, new A.SearchState(C.SearchStatus_1));
}
},
_invokeSelectSuggestionItem$1(presentationEmail) {
var t1 = new B.OpenEmailDetailedFromSuggestionQuickSearchAction(presentationEmail);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t1).toString$0(0), C.Level_3);
this._search_input_form_widget$_dashBoardController.dashBoardAction.set$value(0, t1);
},
_invokeSelectRecentItem$1(recent) {
var t3, t4, _null = null,
t1 = this._searchController,
t2 = recent.value;
t1.searchInputController.set$text(0, t2);
t1.searchFocus.unfocus$0();
t3 = t1.searchState;
t3.get$value(0);
t3.set$value(0, new A.SearchState(C.SearchStatus_0));
t1.searchEmailFilter.set$value(0, A.SearchEmailFilter$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
t3 = this._search_input_form_widget$_dashBoardController;
t4 = t3.sessionCurrent;
t1.applyFilterSuggestionToSearchFilter$1(t4 == null ? _null : t4.username);
t3.searchEmailByQueryString$1(t2);
},
_buildShowAllResultButton$2(context, keyword) {
var _null = null;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_5Ry2, _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_69t23, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, 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, keyword), _null, _null, _null, _null, _null, _null, _null);
},
_createConfiguration$1(context) {
var t3, t4, t5, t6, t7, t8, _null = null,
t1 = this._searchController,
t2 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale.get$languageCode(0)) ? C.TextDirection_0 : C.TextDirection_1;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t3 = A.InputDecoration$(_null, C._NoInputBorder_i5L, _null, C.EdgeInsets_0_0_0_0, _null, _null, _null, _null, true, C._NoInputBorder_i5L, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, C._NoInputBorder_i5L, _null, _null, _null, _null, _null, _null, _null, E.TextStyle_e3y0, A.Intl__message("Search emails", _null, "search_emails", _null, _null), _null, _null, _null, _null, _null, _null, _null, C.TextStyle_WbI1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
t4 = A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_search_bar.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null, _null), C.EdgeInsets_0_0_0_0, _null, _null, 40, new B.SearchInputFormWidget__createConfiguration_closure(this), _null, _null);
t5 = A.buildIconWeb(_null, _null, A.SvgPicture$asset("assets/images/ic_clear_text_search.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, _null, 16), _null, _null, _null, _null, t1.get$clearTextSearch(), _null, _null);
$.$get$Get();
t6 = $.GetInstance__getInstance;
if (t6 == null)
t6 = $.GetInstance__getInstance = C.C_GetInstance;
t6 = t6.find$1$1$tag(0, _null, type$.ImagePaths);
t7 = $.GetInstance__getInstance;
if (t7 == null)
t7 = $.GetInstance__getInstance = C.C_GetInstance;
t7 = t7.find$1$1$tag(0, _null, type$.SearchController);
t8 = $.GetInstance__getInstance;
if (t8 == null)
t8 = $.GetInstance__getInstance = C.C_GetInstance;
return B.QuickSearchTextFieldConfiguration$(true, false, t5, t1.searchInputController, C.Color_4278221567, _null, 2, t3, true, true, true, t1.searchFocus, _null, _null, C.TextInputType_0_null_null, new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, t4, _null), _null, _null, 1, _null, false, _null, _null, new B.SearchInputFormWidget__createConfiguration_closure0(this), _null, new B.IconOpenAdvancedSearchWidget(t6, t7, t8.find$1$1$tag(0, _null, type$.AdvancedFilterController), _null), C.EdgeInsets_20_20_20_20, _null, C.TextAlign_4, _null, C.TextCapitalization_30, t2, C.TextInputAction_2);
},
buildListButtonForQuickSearchForm$3(context, searchFilter, suggestionsListState) {
return new A.Obx(new B.SearchInputFormWidget_buildListButtonForQuickSearchForm_closure(this, searchFilter, suggestionsListState), null);
},
_invokeSelectContactSuggestion$1(emailAddress) {
var t2,
t1 = this._searchController;
t1.searchInputController.super$ValueNotifier$value(0, C.TextEditingValue_3bx);
t1.searchFocus.unfocus$0();
t1 = t1.searchState;
t1.get$value(0);
t1.set$value(0, new A.SearchState(C.SearchStatus_0));
t1 = this._search_input_form_widget$_dashBoardController;
t2 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus;
if (t2 != null)
t2.unfocus$0();
t1.filterMessageOption.set$value(0, C.FilterMessageOption_0);
t1.searchController.listFilterOnSuggestionForm.set$length(0, 0);
if (t1._searchInsideEmailDetailedViewIsActive$0())
t1._closeEmailDetailedView$0();
t1.selectedMailbox.set$value(0, null);
t2 = new A.QuickSearchEmailByFromAction(emailAddress);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
}
};
B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin.prototype = {};
B.TopBarThreadSelection.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 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_close.svg", C.Color_4278221567, 28, _null, _null, 1 / 0, _null, _this.onCancelSelection, C.EdgeInsets_3_3_3_3, A.Intl__message("Cancel", _null, "cancel", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t4 = J.get$length$asx(t1.get$value(0));
t4 = 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_yT3, _null, _null, _null, _null, _null);
t5 = B.ListPresentationEmailExtension_get_isAllEmailRead(t1) ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailRead(t1)) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t6 = A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t6 = A.Intl__message("Mark as read", _null, "mark_as_read", _null, _null);
}
t6 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t5, _null, 24, _null, _null, 1 / 0, _null, new B.TopBarThreadSelection_build_closure(_this), _null, t6);
t5 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t1) ? "assets/images/ic_unstar.svg" : "assets/images/ic_star.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailStarred(t1)) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t1 = A.Intl__message("Unstar", _null, "un_star", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t1 = A.Intl__message("Star", _null, "star", _null, _null);
}
t7 = type$.JSArray_Widget;
t1 = A._setArrayType([t3, t4, D.SizedBox_30_null_null_null, t6, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t5, _null, 24, _null, _null, 1 / 0, _null, new B.TopBarThreadSelection_build_closure0(_this), _null, t1)], t7);
if (canSpamAndMove) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_move.svg", _null, 22, _null, _null, 1 / 0, _null, new B.TopBarThreadSelection_build_closure1(_this), _null, A.Intl__message("Move", _null, "move", _null, _null));
t4 = isAllSpam ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
if (isAllSpam) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t5 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t5 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
C.JSArray_methods.addAll$1(t1, A._setArrayType([t3, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t4, _null, 24, _null, _null, 1 / 0, _null, new B.TopBarThreadSelection_build_closure2(_this, isAllSpam), _null, t5)], t7));
}
if (isAllBelongToTheSameMailbox) {
t3 = canDeletePermanently ? C.Color_4293281350 : C.Color_4278221567;
if (canDeletePermanently) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_delete_composer.svg", t3, 20, _null, _null, 1 / 0, _null, new B.TopBarThreadSelection_build_closure3(_this, canDeletePermanently), _null, t2));
}
return A.Row$(t1, C.CrossAxisAlignment_2, _null, 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) {
return new A.Obx(new B.QuotasBannerWidget_build_closure(this, context), null);
}
};
B.SearchEmailView.prototype = {
build$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");
t2._as(t1.get(_this)).toString;
t3 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data;
if (t3.size._dx >= 1200)
$.WidgetsBinding__instance.SchedulerBinding__postFrameCallbacks.push(new B.SearchEmailView_build_closure(_this, context));
A.Expando__checkType(_this);
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, B.SearchEmailViewStyle_getAppBarPadding(context, t2._as(t1.get(_this)).EmailActionController_responsiveUtils), _null, _null, _null), E.Divider_0, _this._buildListSearchFilterAction$1(context), new A.Obx(new B.SearchEmailView_build_closure1(_this), _null), A.Expanded$(new A.Obx(new B.SearchEmailView_build_closure2(_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, _null, _null, _null, new B.SearchEmailView_build_closure3(context), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT), _null, _null, true, _null, _null, _null);
},
_search_email_view$_buildSearchInputForm$1(context) {
var t4, t5, t6, t7, _this = this, _null = null,
t1 = type$._LocalizationsScope,
t2 = A._instanceType(_this),
t3 = t2._eval$1("GetWidget.S");
if (A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale.get$languageCode(0))) {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t3._as(t4._jsWeakMap.get(_this)).toString;
t3 = "assets/images/ic_collapse_folder.svg";
} else {
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t3._as(t4._jsWeakMap.get(_this)).toString;
t3 = "assets/images/ic_back.svg";
}
t3 = A.SvgPicture$asset(t3, C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, _null, _null, _null, _null);
t5 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t3 = A.buildIconWeb(_null, _null, t3, _null, _null, _null, _null, new B.SearchEmailView__buildSearchInputForm_closure(_this, context), _null, A.Intl__message("Back", _null, "back", _null, _null));
A.Expando__checkType(_this);
t4 = t4._jsWeakMap;
t2 = t2._eval$1("GetWidget.S");
t6 = t2._as(t4.get(_this)).get$onTextSearchChange();
A.Expando__checkType(_this);
t7 = t2._as(t4.get(_this)).textInputSearchController;
A.Expando__checkType(_this);
t4 = t2._as(t4.get(_this)).textInputSearchFocus;
t1 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(t1).localizationsState._localizations$_locale.get$languageCode(0)) ? C.TextDirection_0 : C.TextDirection_1;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
return A.Row$(A._setArrayType([t3, A.Expanded$(A.TextFieldBuilder$(false, t7, C.Color_4278221567, A.InputDecoration$(_null, C._NoInputBorder_i5L, _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, _null, _null, _null, E.TextStyle_e3y0, A.Intl__message("Search emails", _null, "search_emails", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t4, D.ValueKey_search_email_text_field, C.TextInputType_0_null_null, 1, _null, _null, _null, t6, new B.SearchEmailView__buildSearchInputForm_closure0(_this, context), false, t1, C.TextInputAction_4, C.TextStyle_WbI1), 1), new A.Obx(new B.SearchEmailView__buildSearchInputForm_closure1(_this, context), _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildListSearchFilterAction$1(context) {
var t3, t4, t5, _this = this, _null = null,
t1 = A.ScrollConfiguration_of(context).copyWith$2$dragDevices$scrollbars(A.LinkedHashSet_LinkedHashSet$_literal([C.PointerDeviceKind_0, C.PointerDeviceKind_1, C.PointerDeviceKind_4], type$.PointerDeviceKind), false),
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)).listSearchFilterScrollController;
A.Expando__checkType(_this);
t5 = t3._as(t2.get(_this)).listSearchFilterScrollController;
A.Expando__checkType(_this);
t2 = B.SearchEmailViewStyle_getListSearchFilterButtonPadding(context, t3._as(t2.get(_this)).EmailActionController_responsiveUtils);
t3 = type$.JSArray_Widget;
return A.Row$(A._setArrayType([new A.Flexible(1, C.FlexFit_1, A.Container$(C.AlignmentDirectional_m1_0, new A.ScrollbarListView(A.ListView$(A._setArrayType([_this._buildSearchFilterButton$2(context, C.QuickSearchFilter_8), C.SizedBox_8_null_null_null, _this._buildSearchFilterButton$2(context, C.QuickSearchFilter_6), C.SizedBox_8_null_null_null, _this._buildSearchFilterButton$2(context, C.QuickSearchFilter_7), C.SizedBox_8_null_null_null, _this._buildSearchFilterButton$2(context, C.QuickSearchFilter_0), C.SizedBox_8_null_null_null, _this._buildSearchFilterButton$2(context, C.QuickSearchFilter_5), C.SizedBox_8_null_null_null, _this._buildSearchFilterButton$2(context, C.QuickSearchFilter_3), C.SizedBox_8_null_null_null, _this._buildSearchFilterButton$2(context, C.QuickSearchFilter_4)], t3), t5, D.ValueKey_search_filter_list_view, t2, _null, _null, false, C.Axis_0, true), t4, t1, _null), C.Clip_0, _null, _null, _null, _null, 45, _null, D.EdgeInsetsDirectional_0_16_0_0, _null, _null, _null, _null), _null), new A.Obx(new B.SearchEmailView__buildListSearchFilterAction_closure(_this, context), _null)], t3), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildSearchFilterButton$2(context, searchFilter) {
return new A.Obx(new B.SearchEmailView__buildSearchFilterButton_closure(this, searchFilter, context), null);
},
_onSelectSearchFilterAction$3$buttonPosition(context, searchFilter, buttonPosition) {
return this._onSelectSearchFilterAction$body$SearchEmailView(context, searchFilter, buttonPosition);
},
_onSelectSearchFilterAction$2(context, searchFilter) {
return this._onSelectSearchFilterAction$3$buttonPosition(context, searchFilter, null);
},
_onSelectSearchFilterAction$body$SearchEmailView(context, searchFilter, buttonPosition) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$self = this, t1, t2, t3, t4, listKeyword;
var $async$_onSelectSearchFilterAction$3$buttonPosition = 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
switch (searchFilter.index) {
case 5:
if (buttonPosition != null)
$async$self._openPopupMenuDateFilter$2(context, buttonPosition);
else
$async$self._openContextMenuDateFilter$1(context);
break;
case 4:
t1 = A._instanceType($async$self)._eval$1("GetWidget.S");
if (buttonPosition != null) {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t2 = t2._jsWeakMap;
t3 = t1._as(t2.get($async$self));
A.Expando__checkType($async$self);
t4 = t1._as(t2.get($async$self)).emailSortOrderType.get$value(0);
A.Expando__checkType($async$self);
t3.openPopupMenuAction$3(context, buttonPosition, $async$self._popupMenuEmailSortOrderType$3(context, t4, t1._as(t2.get($async$self)).get$selectSortOrderQuickSearchFilter()));
} else {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t2 = t2._jsWeakMap;
t3 = t1._as(t2.get($async$self));
A.Expando__checkType($async$self);
t4 = t1._as(t2.get($async$self)).emailSortOrderType.get$value(0);
A.Expando__checkType($async$self);
t3.openContextMenuAction$3$key(context, $async$self._emailSortOrderCupertinoActionTitle$3(context, t4, t1._as(t2.get($async$self)).get$selectSortOrderQuickSearchFilter()), D.ValueKey_sort_filter_context_menu);
}
break;
case 6:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self)).selectContactForSearchFilter$2(context, C.PrefixEmailAddress_0);
break;
case 0:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t1 = A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self));
t1._updateSimpleSearchFilter$1$hasAttachmentOption(C.Some_true);
t1._searchEmailAction$1(context);
break;
case 7:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self)).selectContactForSearchFilter$2(context, C.PrefixEmailAddress_1);
break;
case 8:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t1 = t1._jsWeakMap;
t2 = A._instanceType($async$self)._eval$1("GetWidget.S");
t3 = t2._as(t1.get($async$self));
A.Expando__checkType($async$self);
t3.selectMailboxForSearchFilter$2(context, t2._as(t1.get($async$self)).searchEmailFilter.get$value(0).mailbox);
break;
case 3:
t1 = $.$get$GetWidget__cache();
A.Expando__checkType($async$self);
t1 = A._instanceType($async$self)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get($async$self));
listKeyword = t1.searchEmailFilter.get$value(0).hasKeyword;
t2 = $.$get$KeyWordIdentifier_emailFlagged().value;
if (!listKeyword.contains$1(0, t2))
listKeyword.add$1(0, t2);
t1._updateSimpleSearchFilter$1$hasKeywordOption(new A.Some(listKeyword, type$.Some_Set_String));
t1._searchEmailAction$1(context);
break;
default:
break;
}
// implicit return
return A._asyncReturn(null, $async$completer);
}
});
return A._asyncStartSync($async$_onSelectSearchFilterAction$3$buttonPosition, $async$completer);
},
_openPopupMenuDateFilter$2(context, position) {
var t2, t3, _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));
A.Expando__checkType(_this);
t3.openPopupMenuAction$3(context, position, _this._popupMenuEmailReceiveTimeType$3(context, t2._as(t1.get(_this)).emailReceiveTimeType.get$value(0), new B.SearchEmailView__openPopupMenuDateFilter_closure(_this, context)));
},
_openContextMenuDateFilter$1(context) {
var t2, t3, _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));
A.Expando__checkType(_this);
t3.openContextMenuAction$2(context, _this._emailReceiveTimeCupertinoActionTile$3(context, t2._as(t1.get(_this)).emailReceiveTimeType.get$value(0), new B.SearchEmailView__openContextMenuDateFilter_closure(_this, context)));
},
_popupMenuEmailReceiveTimeType$3(context, receiveTimeSelected, onCallBack) {
var t1 = type$.MappedListIterable_of_EmailReceiveTimeType_and_PopupMenuItem_dynamic;
return A.List_List$of(new A.MappedListIterable(D.List_gOG, 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(D.List_gOG, new B.SearchEmailView__emailReceiveTimeCupertinoActionTile_closure(this, context, receiveTimeSelected, onCallBack), t1), true, t1._eval$1("ListIterable.E"));
},
_popupMenuEmailSortOrderType$3(context, sortTypeSelected, onCallBack) {
var t1 = type$.MappedListIterable_of_EmailSortOrderType_and_PopupMenuItem_dynamic;
return A.List_List$of(new A.MappedListIterable(D.List_aYI, new B.SearchEmailView__popupMenuEmailSortOrderType_closure(this, onCallBack, sortTypeSelected), t1), true, t1._eval$1("ListIterable.E"));
},
_emailSortOrderCupertinoActionTitle$3(context, sortOrderSelected, onCallBack) {
var t1 = type$.MappedListIterable_EmailSortOrderType_Widget;
return A.List_List$of(new A.MappedListIterable(D.List_aYI, new B.SearchEmailView__emailSortOrderCupertinoActionTitle_closure(this, context, sortOrderSelected, onCallBack), t1), true, t1._eval$1("ListIterable.E"));
},
_buildShowAllResultSearchButton$2(context, textSearch) {
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 = B.SearchEmailViewStyle_getShowAllResultButtonPadding(context, t2._as(t1.get(_this)).EmailActionController_responsiveUtils);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t4 = A.Text$(A.Intl__message("Showing results for:", _null, "showingResultsFor", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_5Ry2, _null, _null, _null, _null, _null);
A.Expando__checkType(_this);
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, new A.Padding(t3, A.Row$(A._setArrayType([t4, C.SizedBox_4_null_null_null, A.Expanded$(A.Text$('"' + A.S(t2._as(t1.get(_this)).currentSearchText.get$value(0)) + '"', _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_69t23, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, 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 _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = B.SearchEmailViewStyle_getSearchRecentTitleMargin(context, A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).EmailActionController_responsiveUtils);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Column$(A._setArrayType([new A.Padding(t1, A.Text$(A.Intl__message("Recent", _null, "recent", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_5Ry2, _null, _null, _null, _null, _null), _null), A.ListView$builder(_null, new B.SearchEmailView__buildListRecentSearch_closure(_this, listRecentSearch), J.get$length$asx(listRecentSearch.get$value(0)), _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(0)), _null, D.ValueKey_suggestion_search_list_view, _null, _null, false, C.Axis_1, true);
},
_buildListContactSuggestionSearch$2(context, listContactSuggestionSearch) {
var _null = null;
return A.ListView$builder(_null, new B.SearchEmailView__buildListContactSuggestionSearch_closure(this, listContactSuggestionSearch), J.get$length$asx(listContactSuggestionSearch.get$value(0)), _null, _null, _null, _null, false, C.Axis_1, true);
},
_search_email_view$_buildListEmailBody$2(context, listPresentationEmail) {
var _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
return new A.NotificationListener(new B.SearchEmailView__buildListEmailBody_closure(_this), A.ListView$separated(A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).resultSearchScrollController, new B.SearchEmailView__buildListEmailBody_closure0(_this, listPresentationEmail), J.get$length$asx(listPresentationEmail.get$value(0)), D.PageStorageKey_K6o, C.ScrollViewKeyboardDismissBehavior_0, null, C.AlwaysScrollableScrollPhysics_null, null, false, C.Axis_1, new B.SearchEmailView__buildListEmailBody_closure1(_this, listPresentationEmail), false), D.ValueKey_swd, type$.NotificationListener_ScrollNotification);
},
_markAsEmailSpamOrUnSpamAction$2(context, email) {
var t2, t3, t4, t5, t6, _this = this, _null = null,
mailboxContain = email.mailboxContain,
t1 = mailboxContain == null;
if (t1)
t2 = _null;
else {
t2 = mailboxContain.role;
t3 = J.getInterceptor$(t2);
t2 = t3.$eq(t2, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t2, $.$get$PresentationMailbox_roleJunk());
}
t3 = A._instanceType(_this);
t4 = t3._eval$1("GetWidget.S");
if (t2 === true) {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t4._as(t2._jsWeakMap.get(_this)).toString;
t4 = t2;
t2 = "assets/images/ic_unspam.svg";
} else {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t4._as(t2._jsWeakMap.get(_this)).toString;
t4 = t2;
t2 = "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, _null, 28);
if (t1)
t1 = _null;
else {
t1 = mailboxContain.role;
t5 = J.getInterceptor$(t1);
t1 = t5.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t5.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
t5 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t1 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
A.Expando__checkType(_this);
t4 = t4._jsWeakMap;
t3 = t3._eval$1("GetWidget.S");
t3._as(t4.get(_this)).toString;
t5 = type$.MediaQuery;
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
A.Expando__checkType(_this);
t3._as(t4.get(_this)).toString;
A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).toString;
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t6, 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);
}
};
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 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_close.svg", C.Color_4278221567, 25, _null, _null, 1 / 0, _null, _this.onCancelSelection, _null, A.Intl__message("Cancel", _null, "cancel", _null, _null));
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).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, 1, C.TextOverflow_2, _null, _null, _null, _null, C.TextStyle_yT3, _null, _null, _null, _null, _null), 1);
t5 = B.ListPresentationEmailExtension_get_isAllEmailRead(t1) ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailRead(t1)) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t6 = A.Intl__message("Unread", _null, "unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t6 = A.Intl__message("Read", _null, "read", _null, _null);
}
t6 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t5, _null, 25, _null, _null, 1 / 0, _null, new B.AppBarSelectionMode_build_closure(_this), _null, t6);
t5 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t1) ? "assets/images/ic_unstar.svg" : "assets/images/ic_star.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailStarred(t1)) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t1 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t1 = A.Intl__message("Starred", _null, "starred", _null, _null);
}
t7 = type$.JSArray_Widget;
t1 = A._setArrayType([t3, t4, t6, C.SizedBox_5_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t5, _null, 25, _null, _null, 1 / 0, _null, new B.AppBarSelectionMode_build_closure0(_this), _null, t1), C.SizedBox_5_null_null_null], t7);
if (canSpamAndMove) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_move.svg", _null, 25, _null, _null, 1 / 0, _null, new B.AppBarSelectionMode_build_closure1(_this), _null, A.Intl__message("Move", _null, "move", _null, _null));
t4 = isAllSpam ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
if (isAllSpam) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t5 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t5 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
C.JSArray_methods.addAll$1(t1, A._setArrayType([t3, C.SizedBox_5_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t4, _null, 25, _null, _null, 1 / 0, _null, new B.AppBarSelectionMode_build_closure2(_this, isAllSpam), _null, t5), C.SizedBox_5_null_null_null], t7));
}
if (isAllBelongToTheSameMailbox) {
t3 = canDeletePermanently ? C.Color_4293281350 : C.Color_4278221567;
if (canDeletePermanently) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t1.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_delete_composer.svg", t3, 20, _null, _null, 1 / 0, _null, new B.AppBarSelectionMode_build_closure3(_this, canDeletePermanently), _null, t2));
}
return A.Row$(t1, C.CrossAxisAlignment_2, _null, 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_69t10, _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, _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, _null, 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([E.SizedBox_16_null_null_null, A.Expanded$(A.Text$(_this.actionName, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_WbI, C.TextAlign_0, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
if (_this.timeTypeCurrent === _this.timeType)
t1.push(new A.Padding(_this.iconRightPadding, _this.actionSelected, _null));
return A.Container$(_null, A.MouseRegion$(A.CupertinoActionSheetAction$(A.Row$(t1, C.CrossAxisAlignment_2, _null, 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.EmailSortByActionTitleWidget.prototype = {
build$1(context) {
var _null = null,
t1 = this.sortType,
t2 = A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t2.toString;
t2 = t1.getTitleByAppLocalizations$1(t2);
t2 = A._setArrayType([A.Expanded$(A.Text$(t2, _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, C.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
t1 = t1 === this.sortTypeSelected;
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, _null, 24));
return A.InkWell$(false, _null, true, new A.Padding(C.EdgeInsets_24_16_24_16, new A.SizedBox(332, _null, A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.EmailSortByActionTitleWidget_build_closure(this, context), _null, _null, _null, _null, _null, _null, _null);
}
};
B.EmailSortByCupertinoActionSheetActionBuilder.prototype = {
build$0() {
var _this = this, _null = null,
t1 = A._setArrayType([E.SizedBox_16_null_null_null, A.Expanded$(A.Text$(_this.actionName, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_WbI, C.TextAlign_0, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
if (_this.sortTypeCurrent === _this.sortType)
t1.push(new A.Padding(_this.iconRightPadding, _this.actionSelected, _null));
return A.Container$(_null, A.MouseRegion$(A.CupertinoActionSheetAction$(A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), _this.key, new B.EmailSortByCupertinoActionSheetActionBuilder_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.EmptySearchEmailWidget.prototype = {
build$1(context) {
return this.resultSearchViewState.fold$2(0, new B.EmptySearchEmailWidget_build_closure(this), new B.EmptySearchEmailWidget_build_closure0(this));
},
_suggestionViewStateToUI$1(viewState) {
return viewState.fold$2(0, new B.EmptySearchEmailWidget__suggestionViewStateToUI_closure(this), new B.EmptySearchEmailWidget__suggestionViewStateToUI_closure0(this));
}
};
B.SearchEmailLoadingBarWidget.prototype = {
build$1(context) {
return this.resultSearchViewState.fold$2(0, new B.SearchEmailLoadingBarWidget_build_closure(this), new B.SearchEmailLoadingBarWidget_build_closure0(this));
},
_search_email_loading_bar_widget$_suggestionViewStateToUI$1(viewState) {
return viewState.fold$2(0, new B.SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure(), new B.SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure0(this));
}
};
B._SearchEmailLoadingBarWidget_StatelessWidget_AppLoaderMixin.prototype = {};
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, C._MediaQueryAspect_0, type$.MediaQuery).data;
if (!(t2.size._dx >= 1200))
t4.push(E.Divider_0);
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, C.EdgeInsets_4_0_4_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, _null, _null, _null, new B.SearchMailboxView_build_closure(context), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT), _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, _null);
t6 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t4 = A.buildIconWeb(_null, _null, t5, C.EdgeInsets_0_0_0_0, _null, _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, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, 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, _null);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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, _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, _null, 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, _null, 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 = A.Bidi_isRtlLanguage(context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale.get$languageCode(0)) ? C.TextDirection_0 : C.TextDirection_1;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.TextFieldBuilder$(true, t1, C.Color_4278221567, A.InputDecoration$(_null, C._NoInputBorder_i5L, _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, _null, _null, _null, C.TextStyle_8aB, A.Intl__message("Search for folders", _null, "searchForFolders", _null, _null), _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.TextInputType_0_null_null, 1, _null, _null, _null, t3, new B.SearchMailboxView__buildTextFieldSearchInput_closure(_this, context), false, t2, C.TextInputAction_4, C.TextStyle_69t);
},
_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);
contextMenuActions = _this.listContextMenuItemAction$2(mailbox, A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).dashboardController.spamReportController.spamReportState.get$value(0) === 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, _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, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null, t2)), 1), C.Color_4294967295);
},
_openMailboxMenuAction$3$position(context, mailbox, position) {
var t2, contextMenuActions, t3, t4, _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = t1._jsWeakMap;
t2 = A._instanceType(_this)._eval$1("GetWidget.S");
contextMenuActions = _this.listContextMenuItemAction$2(mailbox, t2._as(t1.get(_this)).dashboardController.spamReportController.spamReportState.get$value(0) === C.SpamReportState_0);
if (contextMenuActions.length === 0)
return;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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, _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._mailbox_searched_item_builder$_presentationMailbox;
if (!A.PresentationMailboxExtension_get_isSubscribedMailbox(t5)) {
t5 = t5.role;
t5 = t5 != null && t5.value.length !== 0;
} else
t5 = true;
t6 = _this._widget;
if (t5)
t5 = A.PresentationMailboxExtension_getMailboxIcon(t6._mailbox_searched_item_builder$_presentationMailbox, t6._mailbox_searched_item_builder$_imagePaths);
else {
t6.toString;
t5 = "assets/images/ic_hide_folder.svg";
}
t6 = type$.JSArray_Widget;
return A.InkWell$(false, _null, true, A.Container$(_null, A.Row$(A._setArrayType([A.SvgPicture$asset(t5, C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _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_WbI0), _this._mailbox_searched_item_builder$_buildSubtitleItem$0()], t6), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null), 1), _this._buildMenuIcon$1(context)], t6), t4, _null, 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 t1 = this._widget._mailbox_searched_item_builder$_presentationMailbox;
if (!A.PresentationMailboxExtension_get_isSubscribedMailbox(t1)) {
t1 = t1.role;
t1 = t1 != null && t1.value.length !== 0;
} else
t1 = true;
if (t1) {
t1 = this._widget;
t1.onClickOpenMailboxAction.call$1(t1._mailbox_searched_item_builder$_presentationMailbox);
}
},
_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_8aB0);
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_8aB0);
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, _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, C._MediaQueryAspect_0, 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_82N0), C.Clip_0, _null, D.BoxConstraints_oA85, 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 : B.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, _null = null;
if (this.isSearchEnabled$2(isSearchEmailRunning, query)) {
t1 = 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 B.RichTextBuilder$(false, _null, t3, A.TextStyle$(_null, C.Color_4294956864, 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), t1, t2);
} 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_2, _null, _null, _null, _null));
}
},
buildEmailTitle$4(context, email, isSearchEmailRunning, query) {
var t1, t2, t3, t4, t5, _null = null;
if (this.isSearchEnabled$2(isSearchEmailRunning, query)) {
t1 = email.getEmailTitle$0();
t2 = query == null ? _null : query.value;
if (t2 == null)
t2 = "";
t3 = B.PresentationEmailExtension__sanitizeSearchSnippet(email, email.SearchSnippetMixin_searchSnippetSubject);
t4 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
t4 = A.TextStyle$(_null, _null, 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);
t5 = email.get$hasRead() ? C.Color_4285364357 : C.Color_4278190080;
return B.RichTextBuilder$(true, t3, t4, A.TextStyle$(_null, C.Color_4294956864, t5, _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), t1, t2);
} 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, _null = null;
if (this.isSearchEnabled$2(isSearchEmailRunning, query)) {
t1 = email.getPartialContent$0();
t2 = query == null ? _null : query.value;
if (t2 == null)
t2 = "";
return B.RichTextBuilder$(true, B.PresentationEmailExtension__sanitizeSearchSnippet(email, email.SearchSnippetMixin_searchSnippetPreview), C.TextStyle_yql, A.TextStyle$(_null, C.Color_4294956864, C.Color_4285364357, _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), t1, t2);
} else
return A.TextOverflowBuilder$(email.getPartialContent$0(), C.TextStyle_yql);
},
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_2, _null, _null, true, _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);
},
buildIconAvatarText$3$iconSize$textStyle(email, iconSize, textStyle) {
var _null = null,
t1 = B.PresentationEmailExtension_get_avatarColors(email),
t2 = email.getAvatarText$0();
return A.Container$(C.Alignment_0_0, A.Text$(t2, _null, _null, _null, _null, _null, _null, _null, _null, textStyle == null ? D.TextStyle_mtF9 : textStyle, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, new A.ShapeDecoration(_null, new A.LinearGradient(C.Alignment_0_m1, C.Alignment_0_1, C.TileMode_0, t1, C.List_0_1, _null), _null, _null, C.CircleBorder_0), _null, iconSize, _null, _null, _null, _null, _null, iconSize);
},
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, null, t1);
},
messageToolTipForAnsweredOrForwarded$2(context, presentationEmail) {
var _null = null;
if (presentationEmail.get$isAnswered() && presentationEmail.get$isForwarded()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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_CTL, 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_CTL, 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(D.Color_4280032031), C.BoxFit_0, 20, null, null, 20), null);
}
};
B.ThreadView.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _this = this, _null = null,
t1 = $.WidgetsBinding__instance.WidgetsBinding__buildOwner.focusManager._primaryFocus;
t1 = t1 == null ? _null : t1.get$unfocus();
t2 = type$.JSArray_Widget;
t3 = A._setArrayType([], t2);
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t4 = t4._jsWeakMap;
t5 = A._instanceType(_this)._eval$1("GetWidget.S");
if (t5._as(t4.get(_this)).EmailActionController_responsiveUtils.isTabletLarge$1(context))
t3.push(D.VerticalDivider_Drw0);
A.Expando__checkType(_this);
t5._as(t4.get(_this)).toString;
t6 = type$.MediaQuery;
t7 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t6).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t6).data.get$orientation(0) === C.Orientation_1;
A.Expando__checkType(_this);
t5._as(t4.get(_this)).toString;
t8 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t6).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t6).data.get$orientation(0) === C.Orientation_1;
t9 = A._setArrayType([], t2);
A.Expando__checkType(_this);
t5._as(t4.get(_this)).toString;
t10 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t6).data;
if (!(t10.size._dx >= 1200)) {
t10 = A._setArrayType([new A.Obx(new B.ThreadView_build_closure(_this, context), _null)], t2);
A.Expando__checkType(_this);
t11 = t5._as(t4.get(_this)).EmailActionController_imagePaths;
A.Expando__checkType(_this);
t12 = B.ThreadViewStyle_getBannerMargin(context, t5._as(t4.get(_this)).EmailActionController_responsiveUtils);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t13 = A.Intl__message("Search emails", _null, "search_emails", _null, _null);
A.Expando__checkType(_this);
t10.push(new A.SearchBarView(t5._as(t4.get(_this)).get$goToSearchView(), t11, t12, t13, D.ValueKey_email_search_bar_view));
A.Expando__checkType(_this);
t13 = t5._as(t4.get(_this)).EmailActionController_mailboxDashBoardController;
A.Expando__checkType(_this);
t10.push(new B.SpamReportBannerWidget(B.ThreadViewStyle_getBannerMargin(context, t5._as(t4.get(_this)).EmailActionController_responsiveUtils), t13.spamReportController, _null));
t10.push(B.QuotasBannerWidget$());
t10.push(new A.Obx(new B.ThreadView_build_closure0(_this, context), _null));
t10.push(new A.Obx(new B.ThreadView_build_closure1(_this), _null));
C.JSArray_methods.addAll$1(t9, t10);
}
t9.push(new A.Obx(new B.ThreadView_build_closure2(_this, context), _null));
t9.push(new A.Obx(new B.ThreadView_build_closure3(_this, context), _null));
A.Expando__checkType(_this);
t5._as(t4.get(_this)).toString;
if (!(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t6).data.size._dx >= 1200))
t9.push(_this._buildMailboxActionProgressBanner$1(context));
t9.push(new A.Obx(new B.ThreadView_build_closure4(_this), _null));
t9.push(A.Expanded$(A.Container$(C.Alignment_0_0, new A.Obx(new B.ThreadView_build_closure5(_this, context), _null), C.Clip_0, C.Color_4294967295, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), 1));
t9.push(_this._buildListButtonSelectionForMobile$1(context));
t3.push(A.Expanded$(A.SafeArea$(true, A.Column$(t9, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), t8, C.EdgeInsets_0_0_0_0, t7, true), 1));
t3 = F.Portal$(A.Row$(t3, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
A.Expando__checkType(_this);
t6 = t5._as(t4.get(_this)).listEmailController;
A.Expando__checkType(_this);
t7 = t5._as(t4.get(_this)).get$scrollToTop();
A.Expando__checkType(_this);
t5._as(t4.get(_this)).toString;
A.Expando__checkType(_this);
t5._as(t4.get(_this)).toString;
return A.GestureDetector$(_null, A.Scaffold$(_null, C.Color_4294967295, t3, _null, _null, true, A.Column$(A._setArrayType([A.Container$(_null, new B.ScrollToTopButtonWidget(t6, t7, 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, _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)], t2), 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, _null, _null, _null, t1, _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT);
},
_buildListButtonSelectionForMobile$1(context) {
return new A.Obx(new B.ThreadView__buildListButtonSelectionForMobile_closure(this, context), null);
},
_validateDisplayBottomBarSelection$4$context$currentSelectMode$isSearchEmailRunning$listEmailSelected(context, currentSelectMode, isSearchEmailRunning, listEmailSelected) {
var t1;
if (currentSelectMode === C.SelectMode_0)
if (isSearchEmailRunning) {
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(this);
A._instanceType(this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(this)).toString;
t1 = !(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200) && listEmailSelected.length !== 0;
} else
t1 = false;
else
t1 = false;
if (t1)
return true;
return false;
},
_buildFloatingButtonCompose$1(context) {
var _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).toString;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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"));
},
_buildResultListEmail$2(context, listPresentationEmail) {
var _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
if (A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0) === 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);
return new A.NotificationListener(_this.get$_handleScrollNotificationListener(), A.Focus$(true, _null, A.ListView$separated(t2._as(t1.get(_this)).listEmailController, new B.ThreadView__buildListEmailBody_closure(_this, listPresentationEmail), J.get$length$asx(listPresentationEmail.get$value(0)) + 2, D.PageStorageKey_M4E, C.ScrollViewKeyboardDismissBehavior_0, _null, C.AlwaysScrollableScrollPhysics_null, _null, false, C.Axis_1, new B.ThreadView__buildListEmailBody_closure0(_this, listPresentationEmail), false), _null, _null, _null, t3, true, _null, _null, _null, t4, _null, _null), _null, type$.NotificationListener_ScrollNotification);
},
_handleScrollNotificationListener$1(scrollInfo) {
var t1, t2, t3, _this = this;
if (scrollInfo instanceof A.ScrollEndNotification) {
t1 = scrollInfo.metrics;
t2 = t1._scroll_metrics$_pixels;
t2.toString;
t3 = t1._maxScrollExtent;
t3.toString;
if (t2 === t3) {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t1 = A._instanceType(_this)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(_this)).loadingMoreStatus.get$value(0) !== C.LoadingMoreStatus_1 && t1.axisDirection === C.AxisDirection_2;
} else
t1 = false;
} else
t1 = false;
if (t1) {
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).handleLoadMoreEmailsRequest$0();
}
return false;
},
_buildLoadMoreButton$2(context, loadingMoreStatus) {
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");
if (t2._as(t1.get(_this)).canLoadMore) {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t3 = !(t3.simpleSearchIsActivated.get$value(0) || t3.advancedSearchIsActivated.get$value(0));
} else
t3 = false;
if (!t3) {
A.Expando__checkType(_this);
if (t2._as(t1.get(_this)).canSearchMore) {
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t3 = t3.simpleSearchIsActivated.get$value(0) || t3.advancedSearchIsActivated.get$value(0);
} else
t3 = false;
} else
t3 = true;
if (t3 && loadingMoreStatus !== C.LoadingMoreStatus_1) {
t3 = A.OutlinedButton_styleFrom(_null, _null, A.Theme_of(context).scaffoldBackgroundColor, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).get$handleLoadMoreEmailsRequest();
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t2 = A.Intl__message("Load more", _null, "loadMore", _null, _null);
t4 = A.Theme_of(context).textTheme.bodyMedium;
return A.Center$(A.OutlinedButton$(A.Text$(t2, _null, _null, _null, _null, _null, _null, _null, _null, t4 == null ? _null : t4.copyWith$1$color(C.Color_4278190080), _null, _null, _null, _null, _null), t1, t3), _null, _null);
}
return C.SizedBox_0_0_null_null;
},
_buildLoadMoreProgressBar$1(loadingMoreStatus) {
if (loadingMoreStatus === C.LoadingMoreStatus_1)
return D.CupertinoLoadingWidget_null_null_null;
return C.SizedBox_0_0_null_null;
},
_buildEmailItem$2(context, presentationEmail) {
var _this = this,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).toString;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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, t6, 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.get$value(0);
t5 = t5 == null ? _null : t5.id;
t6 = presentationEmail.id;
isShowingEmailContent = J.$eq$(t5, t6);
A.Expando__checkType(_this);
selectModeAll = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0);
t5 = t6 == null ? _null : t6.id.value;
A.Expando__checkType(_this);
t6 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter.get$value(0).text;
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t1 = t1.simpleSearchIsActivated.get$value(0) || t1.advancedSearchIsActivated.get$value(0);
t6 = B.EmailTileBuilder$(_null, true, t1, isShowingEmailContent, new A.ValueKey("email_tile_builder_" + A.S(t5), type$.ValueKey_String), presentationEmail.mailboxContain, _null, _null, presentationEmail, t6, selectModeAll);
return A.GestureDetector$(C.HitTestBehavior_2, B.Draggable$(_this._buildEmailItemNotDraggable$2(context, presentationEmail), t6, 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, _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure2(), _null, _null, _null, new B.ThreadView__buildEmailItemDraggable_closure3(), _null, _null, _null, _null, _null, false, C.Offset_7BT);
},
_buildEmailItemNotDraggable$2(context, presentationEmail) {
var t2, t3, t4, isShowingEmailContent, selectModeAll, t5, t6, t7, t8, _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.get$value(0);
t3 = t3 == null ? _null : t3.id;
t4 = presentationEmail.id;
isShowingEmailContent = J.$eq$(t3, t4);
A.Expando__checkType(_this);
selectModeAll = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0);
A.Expando__checkType(_this);
t3 = t2._as(t1.get(_this));
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data;
t3 = t3.getSwipeDirection$3(t5.size._dx >= 1200, selectModeAll, presentationEmail);
if (!presentationEmail.get$hasRead()) {
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = A.SvgPicture$asset("assets/images/ic_mark_as_read.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null, _null);
} else {
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = 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, _null);
}
t5 = A.CircleAvatar$(D.Color_4290764543, t5, 24);
t6 = type$.AppLocalizations;
if (!presentationEmail.get$hasRead()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t7 = A.Intl__message("Mark as read", _null, "mark_as_read", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t7 = A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
}
t8 = type$.JSArray_Widget;
t7 = A.Container$(C.AlignmentDirectional_m1_0, A.Row$(A._setArrayType([t5, D.SizedBox_11_null_null_null, A.Text$(t7, _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_OkG2, _null, _null, _null, _null, _null)], t8), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4292865791, _null, _null, _null, _null, _null, _null, E.EdgeInsetsDirectional_16_0_0_0, _null, _null, _null);
A.Expando__checkType(_this);
if (!t2._as(t1.get(_this)).isInArchiveMailbox$1(presentationEmail)) {
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = A.CircleAvatar$(D.Color_4290764543, A.SvgPicture$asset("assets/images/ic_mailbox_archived.svg", C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null, _null), 24);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t8 = A.Container$(C.AlignmentDirectional_1_0, A.Row$(A._setArrayType([C.Spacer_null, t5, D.SizedBox_11_null_null_null, A.Text$(A.Intl__message("Archive message", _null, "archiveMessage", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_OkG2, _null, _null, _null, _null, _null)], t8), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4292865791, _null, _null, _null, _null, _null, _null, C.EdgeInsetsDirectional_0_0_16_0, _null, _null, _null);
t5 = t8;
} else
t5 = _null;
t6 = t4 == null ? _null : t4.id.value;
A.Expando__checkType(_this);
t8 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController.searchEmailFilter.get$value(0).text;
A.Expando__checkType(_this);
t1 = t2._as(t1.get(_this)).EmailActionController_mailboxDashBoardController.searchController;
t1 = t1.simpleSearchIsActivated.get$value(0) || t1.advancedSearchIsActivated.get$value(0);
return A.Dismissible$(t7, C.HitTestBehavior_1, B.EmailTileBuilder$(_this.get$_handleEmailActionClicked(), false, t1, isShowingEmailContent, new A.ValueKey("email_tile_builder_" + A.S(t6), type$.ValueKey_String), presentationEmail.mailboxContain, new B.ThreadView__buildEmailItemNotDraggable_closure(_this, context), _null, presentationEmail, t8, selectModeAll), new B.ThreadView__buildEmailItemNotDraggable_closure0(_this, context, presentationEmail), t3, new A.ValueKey(t4, type$.ValueKey_nullable_EmailId), _null, C.Duration_300000, t5);
},
_handleEmailActionClicked$2(actionType, presentationEmail) {
var t1 = $.$get$GetWidget__cache();
A.Expando__checkType(this);
A._instanceType(this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(this)).handleEmailActionType$3$mailboxContain(actionType, presentationEmail, presentationEmail.mailboxContain);
},
_buildFeedBackWidget$1(context) {
var _this = this, _null = null,
t1 = A.BorderRadius$circular(10),
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(_this)).toString;
return new A.SizedBox(_null, 60, A.Material$(C.Duration_200000, true, t1, 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, _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, _null, 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), null);
},
_markAsEmailSpamOrUnSpamContextMenuItemAction$3(context, email, mailboxContain) {
var t2, t3, t4, t5, t6, _this = this, _null = null,
t1 = mailboxContain == null;
if (t1)
t2 = _null;
else {
t2 = mailboxContain.role;
t3 = J.getInterceptor$(t2);
t2 = t3.$eq(t2, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t2, $.$get$PresentationMailbox_roleJunk());
}
t3 = A._instanceType(_this);
t4 = t3._eval$1("GetWidget.S");
if (t2 === true) {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t4._as(t2._jsWeakMap.get(_this)).toString;
t4 = t2;
t2 = "assets/images/ic_unspam.svg";
} else {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t4._as(t2._jsWeakMap.get(_this)).toString;
t4 = t2;
t2 = "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, _null, 24);
if (t1)
t1 = _null;
else {
t1 = mailboxContain.role;
t5 = J.getInterceptor$(t1);
t1 = t5.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t5.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
t5 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t1 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
A.Expando__checkType(_this);
t4 = t4._jsWeakMap;
t3 = t3._eval$1("GetWidget.S");
t3._as(t4.get(_this)).toString;
t5 = type$.MediaQuery;
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
A.Expando__checkType(_this);
t3._as(t4.get(_this)).toString;
A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).toString;
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t6, D.ValueKey_mark_as_spam_or_un_spam_action, t2, t1);
t1.onCupertinoActionSheetActionClick = new B.ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure(_this, mailboxContain);
return t1.build$0();
},
_openInNewTabContextMenuItemAction$2(context, email) {
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");
t2._as(t1.get(_this)).toString;
t3 = 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, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t4 = A.Intl__message("Open in new tab", _null, "openInNewTab", _null, _null);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = type$.MediaQuery;
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).toString;
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t6, D.ValueKey_open_in_new_tab_action, t3, t4);
t1.onCupertinoActionSheetActionClick = new B.ThreadView__openInNewTabContextMenuItemAction_closure(_this);
return t1.build$0();
},
_archiveMessageContextMenuItemAction$2(context, email) {
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");
t2._as(t1.get(_this)).toString;
t3 = A.SvgPicture$asset("assets/images/ic_mailbox_archived.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 24, _null, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t4 = A.Intl__message("Archive message", _null, "archiveMessage", _null, _null);
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
t5 = type$.MediaQuery;
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).data.size._dx < 600 ? E.EdgeInsetsDirectional_12_0_16_0 : C.EdgeInsetsDirectional_12_0_0_0;
A.Expando__checkType(_this);
t2._as(t1.get(_this)).toString;
A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t5).toString;
t1 = new B.EmailActionCupertinoActionSheetActionBuilder(email, t6, D.ValueKey_archive_message_action, t3, t4);
t1.onCupertinoActionSheetActionClick = new B.ThreadView__archiveMessageContextMenuItemAction_closure(_this, context);
return t1.build$0();
},
_buildMarkAsSpamPopupMenuItem$3(context, email, mailboxContain) {
var t2, t3, _this = this, _null = null,
t1 = mailboxContain == null;
if (t1)
t2 = _null;
else {
t2 = mailboxContain.role;
t3 = J.getInterceptor$(t2);
t2 = t3.$eq(t2, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t2, $.$get$PresentationMailbox_roleJunk());
}
t3 = A._instanceType(_this)._eval$1("GetWidget.S");
if (t2 === true) {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t3._as(t2._jsWeakMap.get(_this)).toString;
t2 = "assets/images/ic_unspam.svg";
} else {
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
t3._as(t2._jsWeakMap.get(_this)).toString;
t2 = "assets/images/ic_spam.svg";
}
if (t1)
t1 = _null;
else {
t1 = mailboxContain.role;
t3 = J.getInterceptor$(t1);
t1 = t3.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
t3 = type$.AppLocalizations;
if (t1 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t1 = A.Intl__message("Remove from spam", _null, "remove_from_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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, mailboxContain, email), C.TextStyle_69t6), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
_buildOpenInNewTabPopupMenuItem$3(context, email, mailboxContain) {
var _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).toString;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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, email), C.TextStyle_69t6), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
_buildArchiveMessagePopupMenuItem$2(context, email) {
var _this = this, _null = null,
t1 = $.$get$GetWidget__cache();
A.Expando__checkType(_this);
A._instanceType(_this)._eval$1("GetWidget.S")._as(t1._jsWeakMap.get(_this)).toString;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.PopupMenuItem$(_this.popupItem$5$colorIcon$onCallbackAction$styleName("assets/images/ic_mailbox_archived.svg", A.Intl__message("Archive message", _null, "archiveMessage", _null, _null), C.Color_4278221567, new B.ThreadView__buildArchiveMessagePopupMenuItem_closure(_this, context, email), C.TextStyle_69t6), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
_buildMailboxActionProgressBanner$1(context) {
return new A.Obx(new B.ThreadView__buildMailboxActionProgressBanner_closure(this), null);
}
};
B._MailboxActionProgressBanner.prototype = {
build$1(context) {
return this.viewState.fold$2(0, new B._MailboxActionProgressBanner_build_closure(), new B._MailboxActionProgressBanner_build_closure0(this, context));
},
_buildProgressBanner$3(context, progress, total) {
var percent = total > 0 ? progress / total : 0.68,
t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200 ? 16 : 0;
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200 ? 0 : 16;
return new A.Padding(new A.EdgeInsets(16, t2, 16, t1), this.horizontalPercentLoadingWidget$1(percent), null);
}
};
B._ThreadView_GetWidget_AppLoaderMixin.prototype = {};
B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin.prototype = {};
B._ThreadView_GetWidget_AppLoaderMixin_FilterEmailPopupMenuMixin_PopupMenuWidgetMixin.prototype = {};
B.__MailboxActionProgressBanner_StatelessWidget_AppLoaderMixin.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 t3, t4, t5, t6, t7, t8, _this = this, _null = null,
t1 = B.SelectionWebAppBarThreadWidgetStyle_getPadding(context, _this._selection_web_app_bar_thread_widget$_responsiveUtils),
t2 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "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_CTL, t2).toString;
t4 = _this.listEmailSelected;
t5 = t4.length;
t5 = A._setArrayType([t3, A.Expanded$(A.Text$(A.Intl__message("" + t5 + " selected", _null, "count_email_selected", A._setArrayType([t5], type$.JSArray_Object), _null), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_yT3, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
t3 = _this.mailboxSelected;
t6 = t3 == null;
if ((t6 ? _null : J.$eq$(t3.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
t7 = B.ListPresentationEmailExtension_get_isAllEmailRead(t4) ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailRead(t4)) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t8 = A.Intl__message("Unread", _null, "unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t8 = A.Intl__message("Read", _null, "read", _null, _null);
}
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t7, _null, 22, D.ValueKey_2TE, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure(_this), _null, t8));
}
t7 = B.ListPresentationEmailExtension_get_isAllEmailStarred(t4) ? "assets/images/ic_unstar.svg" : "assets/images/ic_star.svg";
if (B.ListPresentationEmailExtension_get_isAllEmailStarred(t4)) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t4 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t4 = A.Intl__message("Starred", _null, "starred", _null, _null);
}
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t7, _null, 22, D.ValueKey_chs, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure0(_this), _null, t4));
if ((t6 ? _null : J.$eq$(t3.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "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 ((t6 ? _null : J.$eq$(t3.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
if (t6)
t4 = _null;
else {
t4 = t3.role;
t7 = J.getInterceptor$(t4);
t4 = t7.$eq(t4, $.$get$PresentationMailbox_roleSpam()) || t7.$eq(t4, $.$get$PresentationMailbox_roleJunk());
}
t4 = t4 === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
if (t6)
t3 = _null;
else {
t3 = t3.role;
t6 = J.getInterceptor$(t3);
t3 = t6.$eq(t3, $.$get$PresentationMailbox_roleSpam()) || t6.$eq(t3, $.$get$PresentationMailbox_roleJunk());
}
if (t3 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t3 = A.Intl__message("Mark as spam", _null, "mark_as_spam", _null, _null);
}
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t4, _null, 20, D.ValueKey_MMT, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure2(_this), _null, t3));
}
t3 = _this.get$_deletePermanentlyValid() ? "assets/images/ic_delete_composer.svg" : "assets/images/ic_delete.svg";
t4 = _this.get$_deletePermanentlyValid() ? C.Color_4293281350 : C.Color_4278221567;
if (_this.get$_deletePermanentlyValid()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t2).toString;
t2 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t5.push(A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t3, t4, 20, D.ValueKey_delete_email_selection_button, _null, 1 / 0, _null, new B.SelectionWebAppBarThreadWidget_build_closure3(_this), _null, t2));
return A.Container$(_null, A.Row$(t5, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, C.BoxConstraints_86y0, _null, _null, _null, _null, _null, t1, _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) {
if (t2)
t1 = null;
else {
t1 = t1.role;
t2 = J.getInterceptor$(t1);
t1 = t2.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t2.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
t1 = t1 === true;
} else
t1 = true;
else
t1 = true;
return t1;
}
};
B.WebAppBarThreadWidget.prototype = {
build$1(context) {
var t3, _this = this, _null = null,
t1 = type$.ImagePaths,
t2 = _this.mailboxSelected;
if (_this.selectMode === C.SelectMode_1) {
$.$get$Get();
t3 = $.GetInstance__getInstance;
t1 = (t3 == null ? $.GetInstance__getInstance = C.C_GetInstance : t3).find$1$1$tag(0, _null, t1);
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.DefaultWebAppBarThreadWidget(t1, t3.find$1$1$tag(0, _null, type$.ResponsiveUtils), t2, _this.filterOption, _this.openMailboxAction, _this.onPopupMenuFilterEmailAction, _this.onContextMenuFilterEmailAction, D.ValueKey_kqK);
} else {
$.$get$Get();
t3 = $.GetInstance__getInstance;
t1 = (t3 == null ? $.GetInstance__getInstance = C.C_GetInstance : t3).find$1$1$tag(0, _null, t1);
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.SelectionWebAppBarThreadWidget(t1, t3.find$1$1$tag(0, _null, type$.ResponsiveUtils), t2, _this.listEmailSelected, _this.cancelEditThreadAction, _this.emailSelectionAction, D.ValueKey_WbM);
}
}
};
B.BannerDeleteAllSpamEmailsWidget.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$.ImagePaths);
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = B.BannerEmptyTrashStyles_getBannerMargin(context, t1.find$1$1$tag(0, _null, type$.ResponsiveUtils));
t2 = A.SvgPicture$asset("assets/images/ic_delete_rule_mobile.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20);
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t4 = A.Text$(A.Intl__message("Delete all spam emails now", _null, "deleteAllSpamEmailsNow", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_8eb2, _null, _null, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t3 = type$.JSArray_Widget;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_ww811, true, new A.Padding(D.EdgeInsetsDirectional_16_10_16_10, A.Row$(A._setArrayType([t2, C.SizedBox_8_null_null_null, A.Expanded$(A.Column$(A._setArrayType([t4, 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, C.TextStyle_yql, _null, _null, _null, _null, _null)], t3), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t3), C.CrossAxisAlignment_0, _null, 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_uQ3, _null, _null, _null, t1, _null, _null, _null, _null);
}
};
B.BannerEmptyTrashWidget.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$.ImagePaths);
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
t1 = B.BannerEmptyTrashStyles_getBannerMargin(context, t1.find$1$1$tag(0, _null, type$.ResponsiveUtils));
t2 = A.SvgPicture$asset("assets/images/ic_delete_rule_mobile.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20);
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t4 = A.Text$(A.Intl__message("Empty trash now", _null, "empty_trash_now", _null, _null), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_8eb2, _null, _null, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t3 = type$.JSArray_Widget;
return A.Container$(_null, A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_ww811, true, new A.Padding(D.EdgeInsetsDirectional_16_10_16_10, A.Row$(A._setArrayType([t2, C.SizedBox_8_null_null_null, A.Expanded$(A.Column$(A._setArrayType([t4, 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, C.TextStyle_yql, _null, _null, _null, _null, _null)], t3), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t3), C.CrossAxisAlignment_0, _null, 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_uQ3, _null, _null, _null, t1, _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_CTL, t5).toString;
t5 = A.Intl__message("Unread", _null, "unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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, _null, t4, C.TextDirection_1, _null, 20, 8, D.ValueKey_WUO, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.BottomBarThreadSelectionWidget_build_closure(_this), C.EdgeInsets_8_12_8_12, t5, C.TextAlign_2, _null, D.TextStyle_OkG1, _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_CTL, t5).toString;
t6 = A.Intl__message("Unstar", _null, "un_star", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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, _null, t4, C.TextDirection_1, _null, 20, 8, D.ValueKey_ECn, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.BottomBarThreadSelectionWidget_build_closure0(_this), C.EdgeInsets_8_12_8_12, t6, C.TextAlign_2, _null, D.TextStyle_OkG1, _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_CTL, t5).toString;
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, _null, "assets/images/ic_move.svg", C.TextDirection_1, _null, 20, 8, D.ValueKey_qR4, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.BottomBarThreadSelectionWidget_build_closure1(_this), C.EdgeInsets_8_12_8_12, A.Intl__message("Move", _null, "move", _null, _null), C.TextAlign_2, _null, D.TextStyle_OkG1, _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)
t4 = _null;
else {
t4 = t2.role;
t6 = J.getInterceptor$(t4);
t4 = t6.$eq(t4, $.$get$PresentationMailbox_roleSpam()) || t6.$eq(t4, $.$get$PresentationMailbox_roleJunk());
}
if (t4 === true) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t4 = A.Intl__message("Unspam", _null, "un_spam", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t5).toString;
t4 = A.Intl__message("Spam", _null, "spam", _null, _null);
}
if (t3)
t2 = _null;
else {
t2 = t2.role;
t3 = J.getInterceptor$(t2);
t2 = t3.$eq(t2, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t2, $.$get$PresentationMailbox_roleJunk());
}
t2 = t2 === true ? "assets/images/ic_unspam.svg" : "assets/images/ic_spam.svg";
t1.push(A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, _null, t2, C.TextDirection_1, _null, 20, 8, D.ValueKey_cEn, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.BottomBarThreadSelectionWidget_build_closure2(_this), C.EdgeInsets_8_12_8_12, t4, C.TextAlign_2, _null, D.TextStyle_OkG1, _null, _null, _null, _null, _this._bottom_bar_thread_selection_widget$_verticalDirection$1(context), _null), 1));
}
A.Localizations_of(context, C.Type_AppLocalizations_CTL, 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, _null, t3, C.TextDirection_1, t4, 20, 8, D.ValueKey_delete_selected_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.BottomBarThreadSelectionWidget_build_closure3(_this), C.EdgeInsets_8_12_8_12, t2, C.TextAlign_2, _null, D.TextStyle_OkG1, _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, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null), C.Clip_0, _null, _null, D.BoxDecoration_2HT, _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) {
if (t2)
t1 = null;
else {
t1 = t1.role;
t2 = J.getInterceptor$(t1);
t1 = t2.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t2.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
t1 = t1 === true;
} else
t1 = true;
else
t1 = true;
return t1;
},
_bottom_bar_thread_selection_widget$_verticalDirection$1(context) {
var t1 = type$.MediaQuery;
if (!(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, null, t1).data.get$orientation(0) === C.Orientation_1))
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, null, t1).data.get$orientation(0) === C.Orientation_0 || this._bottom_bar_thread_selection_widget$_responsiveUtils.isTabletLarge$1(context);
else
t1 = true;
return t1;
}
};
B.EmailTileBuilder.prototype = {
createState$0() {
var t2, t3,
t1 = $.$get$ChangeNotifier__emptyListeners();
$.$get$Get();
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
t2 = t2.find$1$1$tag(0, null, type$.ResponsiveUtils);
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new B._EmailTileBuilderState(new A.ValueNotifier(false, t1, type$.ValueNotifier_bool), t2, t3.find$1$1$tag(0, null, type$.ImagePaths), C._StateLifecycle_0);
}
};
B._EmailTileBuilderState.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _this = this, _null = null,
_s34_ = "assets/images/ic_unread_status.svg",
_s25_ = "assets/images/ic_star.svg",
t1 = _this._widget.padding;
if (t1 == null)
t1 = _this._getPaddingItem$1(context);
t2 = _this._getDecorationItem$0();
t3 = A.MouseRegion$(A.GestureDetector$(_null, new A.Padding(D.EdgeInsetsDirectional_0_8_12_0, _this._email_tile_web_builder$_buildAvatarIcon$1$context(context), _null), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._EmailTileBuilderState_build_closure(_this), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT), C.SystemMouseCursor_click, _null, _null, _null, _null);
t4 = type$.JSArray_Widget;
t5 = A._setArrayType([], t4);
if (!_this._widget.presentationEmail.get$hasRead())
t5.push(new A.Padding(D.EdgeInsetsDirectional_0_0_5_0, A.SvgPicture$asset(_s34_, C.Alignment_0_0, _null, C.BoxFit_0, 9, _null, _null, 9), _null));
t6 = _this._widget;
t5.push(A.Expanded$(_this.buildInformationSender$5(context, t6.presentationEmail, t6.mailboxContain, t6.isSearchEmailRunning, t6.searchQuery), 1));
t5.push(_this.buildIconAnsweredOrForwarded$3$height$presentationEmail$width(16, _this._widget.presentationEmail, 16));
if (_this._widget.presentationEmail.hasAttachment === true)
t5.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, _null, 16), _null));
t5.push(new A.Padding(E.EdgeInsetsDirectional_8_0_4_0, _this.buildDateTime$2(context, _this._widget.presentationEmail), _null));
t5.push(A.SvgPicture$asset("assets/images/ic_chevron.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, _null, 16));
t5 = A.Row$(t5, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t6 = A._setArrayType([], t4);
if (_this._widget.presentationEmail.get$hasCalendarEvent())
t6.push(_this.buildCalendarEventIcon$2$context$presentationEmail(context, _this._widget.presentationEmail));
t7 = _this._widget;
t6.push(A.Expanded$(_this.buildEmailTitle$4(context, t7.presentationEmail, t7.isSearchEmailRunning, t7.searchQuery), 1));
t7 = _this._widget;
t6.push(_this.buildMailboxContain$3(context, t7.isSearchEmailRunning, t7.presentationEmail));
if (_this._widget.presentationEmail.get$hasStarred())
t6.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset(_s25_, C.Alignment_0_0, _null, C.BoxFit_0, 15, _null, _null, 15), _null));
t6 = A.Row$(t6, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null);
t7 = _this._widget;
t1 = A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.Container$(C.Alignment_0_0, A.Row$(A._setArrayType([t3, A.Expanded$(A.Column$(A._setArrayType([t5, C.SizedBox_null_2_null_null, t6, C.SizedBox_null_2_null_null, A.Row$(A._setArrayType([A.Expanded$(_this.buildEmailPartialContent$4(context, t7.presentationEmail, t7.isSearchEmailRunning, t7.searchQuery), 1)], t4), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t4), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t4), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, t2, _null, _null, _null, _null, t1, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._EmailTileBuilderState_build_closure0(_this), new B._EmailTileBuilderState_build_closure1(_this), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4);
t2 = _this._widget.padding;
if (t2 == null)
t2 = _this._getPaddingItem$1(context);
t3 = _this._getDecorationItem$0();
t5 = _this._hoverNotifier;
t6 = type$.ValueListenableBuilder_bool;
t7 = A.MouseRegion$(A.GestureDetector$(_null, new A.Padding(D.EdgeInsetsDirectional_0_8_12_0, new A.ValueListenableBuilder(t5, new B._EmailTileBuilderState_build_closure2(_this), _null, _null, t6), _null), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._EmailTileBuilderState_build_closure3(_this), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT), C.SystemMouseCursor_click, _null, _null, _null, _null);
t8 = A._setArrayType([], t4);
if (!_this._widget.presentationEmail.get$hasRead())
t8.push(new A.Padding(D.EdgeInsetsDirectional_0_0_5_0, A.SvgPicture$asset(_s34_, C.Alignment_0_0, _null, C.BoxFit_0, 9, _null, _null, 9), _null));
t9 = _this._widget;
t8.push(A.Expanded$(_this.buildInformationSender$5(context, t9.presentationEmail, t9.mailboxContain, t9.isSearchEmailRunning, t9.searchQuery), 1));
t8.push(new A.ValueListenableBuilder(t5, new B._EmailTileBuilderState_build_closure4(_this), _null, _null, t6));
t8 = A.Row$(t8, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t9 = A._setArrayType([], t4);
if (_this._widget.presentationEmail.get$hasCalendarEvent())
t9.push(_this.buildCalendarEventIcon$2$context$presentationEmail(context, _this._widget.presentationEmail));
t10 = _this._widget;
t9.push(A.Expanded$(_this.buildEmailTitle$4(context, t10.presentationEmail, t10.isSearchEmailRunning, t10.searchQuery), 1));
t10 = _this._widget;
t9.push(_this.buildMailboxContain$3(context, t10.isSearchEmailRunning, t10.presentationEmail));
if (_this._widget.presentationEmail.get$hasStarred())
t9.push(new A.Padding(C.EdgeInsetsDirectional_8_0_0_0, A.SvgPicture$asset(_s25_, C.Alignment_0_0, _null, C.BoxFit_0, 15, _null, _null, 15), _null));
t9 = A.Row$(t9, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null);
t10 = _this._widget;
t2 = A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.Container$(C.Alignment_0_0, new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, A._setArrayType([A.Row$(A._setArrayType([t7, A.Expanded$(A.Column$(A._setArrayType([t8, C.SizedBox_null_2_null_null, t9, C.SizedBox_null_2_null_null, A.Row$(A._setArrayType([A.Expanded$(_this.buildEmailPartialContent$4(context, t10.presentationEmail, t10.isSearchEmailRunning, t10.searchQuery), 1)], t4), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t4), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t4), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), new A.ValueListenableBuilder(t5, new B._EmailTileBuilderState_build_closure5(_this), _null, _null, t6)], t4), _null), C.Clip_0, _null, _null, t3, _null, _null, _null, _null, t2, _null, _null, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B._EmailTileBuilderState_build_closure6(_this), _null, new B._EmailTileBuilderState_build_closure7(_this), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4);
t3 = _this._widget.padding;
if (t3 == null)
t3 = _this._getPaddingItem$1(context);
t7 = _this._getDecorationItem$0();
t8 = type$.AppLocalizations;
if (_this._widget.presentationEmail.selectMode === C.SelectMode_0) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t8).toString;
t9 = A.Intl__message("Selected", _null, "selected", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t8).toString;
t9 = A.Intl__message("Not selected", _null, "notSelected", _null, _null);
}
t9 = A.buildIconWeb(_null, _null, new A.ValueListenableBuilder(t5, new B._EmailTileBuilderState_build_closure8(_this), _null, _null, t6), C.EdgeInsets_0_0_0_0, _null, C.EdgeInsets_0_6_0_6, 28, new B._EmailTileBuilderState_build_closure9(_this), _null, t9);
t10 = A.SvgPicture$asset(_this._widget.presentationEmail.get$hasStarred() ? _s25_ : "assets/images/ic_unstar.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20);
if (_this._widget.presentationEmail.get$hasStarred()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t8).toString;
t11 = A.Intl__message("Starred", _null, "starred", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t8).toString;
t11 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
}
t11 = A.buildIconWeb(_null, _null, t10, C.EdgeInsets_0_0_0_0, _null, C.EdgeInsets_0_6_0_6, 28, new B._EmailTileBuilderState_build_closure10(_this), _null, t11);
t10 = A.buildIconWeb(_null, _null, _this.buildIconAnsweredOrForwarded$1$presentationEmail(_this._widget.presentationEmail), C.EdgeInsets_0_0_0_0, _null, C.EdgeInsets_0_6_0_6, 28, _null, 1, _this.messageToolTipForAnsweredOrForwarded$2(context, _this._widget.presentationEmail));
t12 = _this._widget.presentationEmail.get$hasRead() ? D.SizedBox_20_20_null_null : A.Container$(C.Alignment_0_0, A.SvgPicture$asset(_s34_, C.Alignment_0_0, _null, C.BoxFit_0, 9, _null, _null, 9), C.Clip_0, _null, _null, _null, _null, 20, _null, _null, _null, _null, _null, 20);
if (_this._widget.presentationEmail.get$hasRead())
t8 = _null;
else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t8).toString;
t8 = A.Intl__message("Mark as read", _null, "mark_as_read", _null, _null);
}
t8 = A.buildIconWeb(_null, _null, t12, C.EdgeInsets_0_0_0_0, _null, C.EdgeInsets_0_6_0_6, 28, _this._widget.presentationEmail.get$hasRead() ? _null : new B._EmailTileBuilderState_build_closure11(_this), _null, t8);
t12 = _this.buildIconAvatarText$3$iconSize$textStyle(_this._widget.presentationEmail, 32, D.TextStyle_mtF8);
t13 = _this._widget;
return A.ResponsiveWidget$(new A.Padding(D.EdgeInsetsDirectional_3_2_3_0, A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_ww811, true, A.Container$(C.Alignment_0_0, A.Row$(A._setArrayType([C.SizedBox_10_null_null_null, t9, t11, t10, t8, t12, C.SizedBox_10_null_null_null, new A.SizedBox(160, _null, _this.buildInformationSender$5(context, t13.presentationEmail, t13.mailboxContain, t13.isSearchEmailRunning, t13.searchQuery), _null), E.SizedBox_24_null_null_null, A.Expanded$(_this._buildSubjectAndContent$0(), 1), E.SizedBox_16_null_null_null, new A.ValueListenableBuilder(t5, new B._EmailTileBuilderState_build_closure12(_this), _null, _null, t6)], t4), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, t7, _null, _null, _null, _null, t3, _null, _null, _null), _null, true, _null, _null, _null, C.Color_4292865791, _null, _null, _null, _null, _null, new B._EmailTileBuilderState_build_closure13(_this), _null, new B._EmailTileBuilderState_build_closure14(_this), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4), _null), _null, _null, t1, _this.BaseEmailItemTile_responsiveUtils, t2, _null);
},
_getPaddingItem$1(context) {
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200)
return C.EdgeInsets_0_4_0_4;
else if (this.BaseEmailItemTile_responsiveUtils.isTablet$1(context))
return D.EdgeInsetsDirectional_24_8_24_8;
else
return C.EdgeInsetsDirectional_12_8_12_8;
},
_getDecorationItem$0() {
var _this = this,
t1 = _this._widget;
if (t1.selectAllMode === C.SelectMode_0 && t1.presentationEmail.selectMode === C.SelectMode_0 || t1.isDrag) {
t1 = _this._framework$_element;
t1.toString;
t1 = A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200;
} else
t1 = false;
if (t1)
return D.BoxDecoration_qVm;
else {
if (_this._widget.isShowingEmailContent) {
t1 = _this._framework$_element;
t1.toString;
t1 = _this.BaseEmailItemTile_responsiveUtils.isTabletLarge$1(t1);
} else
t1 = false;
if (t1)
return D.BoxDecoration_EcE;
else
return null;
}
},
_buildListActionButtonWhenHover$1(context) {
var t4, t5, t6, t7, _this = this, _null = null,
t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200 ? 18 : 16,
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t4 = type$.JSArray_Widget;
t2 = A._setArrayType([F.buildSVGIconButton("assets/images/ic_open_in_new_tab.svg", C.Color_4288850611, t2, new B._EmailTileBuilderState__buildListActionButtonWhenHover_closure(_this), _null, C.EdgeInsets_5_5_5_5, A.Intl__message("Open in new tab", _null, "openInNewTab", _null, _null))], t4);
if (!_this._widget.presentationEmail.get$isDraft()) {
t5 = _this._widget.presentationEmail.get$hasRead() ? "assets/images/ic_unread.svg" : "assets/images/ic_read.svg";
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200 ? 18 : 16;
if (_this._widget.presentationEmail.get$hasRead()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t7 = A.Intl__message("Mark as unread", _null, "mark_as_unread", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t7 = A.Intl__message("Mark as read", _null, "mark_as_read", _null, _null);
}
t2.push(F.buildSVGIconButton(t5, C.Color_4288850611, t6, new B._EmailTileBuilderState__buildListActionButtonWhenHover_closure0(_this), _null, C.EdgeInsets_5_5_5_5, t7));
}
t5 = _this._widget.mailboxContain;
if (t5 != null)
t5 = J.$eq$(t5.role, $.$get$PresentationMailbox_roleDrafts()) === false;
else
t5 = false;
if (t5) {
t5 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200 ? 18 : 16;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
C.JSArray_methods.addAll$1(t2, A._setArrayType([F.buildSVGIconButton("assets/images/ic_move.svg", C.Color_4288850611, t5, new B._EmailTileBuilderState__buildListActionButtonWhenHover_closure1(_this), _null, C.EdgeInsets_5_5_5_5, A.Intl__message("Move", _null, "move", _null, _null))], t4));
}
t4 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200 ? 16 : 14;
if (_this.get$canDeletePermanently()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t5 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t5 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t2.push(F.buildSVGIconButton("assets/images/ic_delete_composer.svg", C.Color_4288850611, t4, new B._EmailTileBuilderState__buildListActionButtonWhenHover_closure2(_this), _null, C.EdgeInsets_5_5_5_5, t5));
t4 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200 ? 18 : 16;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t2.push(F.buildSVGIconButton("assets/images/ic_more.svg", C.Color_4288850611, t4, _null, new B._EmailTileBuilderState__buildListActionButtonWhenHover_closure3(_this, context), C.EdgeInsets_5_5_5_5, A.Intl__message("More", _null, "more", _null, _null)));
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200)
t2.push(E.SizedBox_16_null_null_null);
return A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
get$canDeletePermanently() {
var t2,
t1 = this._widget.mailboxContain;
if ((t1 == null ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleTrash())) !== true) {
t1 = this._widget.mailboxContain;
if ((t1 == null ? null : J.$eq$(t1.role, $.$get$PresentationMailbox_roleDrafts())) !== true) {
t1 = this._widget.mailboxContain;
if (t1 == null)
t1 = null;
else {
t1 = t1.role;
t2 = J.getInterceptor$(t1);
t1 = t2.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t2.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
t1 = t1 === true;
} else
t1 = true;
} else
t1 = true;
return t1;
},
_buildSubjectAndContent$0() {
return new A.LayoutBuilder(new B._EmailTileBuilderState__buildSubjectAndContent_closure(this), null);
},
_email_tile_web_builder$_buildAvatarIcon$2$context$isHovered(context, isHovered) {
var t1, t2, _this = this, _null = null;
if (_this._widget.presentationEmail.selectMode !== C.SelectMode_0)
t1 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size.get$shortestSide() < 600 && _this._widget.selectAllMode === C.SelectMode_0 || isHovered;
else
t1 = true;
t2 = _this._widget;
if (t1) {
t1 = t2.presentationEmail;
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200 ? D.EdgeInsetsDirectional_4_0_4_0 : C.EdgeInsetsDirectional_12_12_12_12;
return A.Container$(C.Alignment_0_0, A.SvgPicture$asset(t1.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, _null), C.Clip_0, C.Color_0, _null, _null, _null, 48, _null, _null, t2, _null, _null, 48);
} else {
t1 = t2.presentationEmail;
return _this.buildIconAvatarText$3$iconSize$textStyle(t1, 48, _null);
}
},
_email_tile_web_builder$_buildAvatarIcon$1$context(context) {
return this._email_tile_web_builder$_buildAvatarIcon$2$context$isHovered(context, false);
},
dispose$0() {
var t1 = this._hoverNotifier;
t1.ChangeNotifier__listeners = $.$get$ChangeNotifier__emptyListeners();
t1.ChangeNotifier__count = 0;
this.super$State$dispose();
}
};
B.__EmailTileBuilderState_State_BaseEmailItemTile.prototype = {};
B.EmptyEmailsWidget.prototype = {
build$1(context) {
var t6, childWidget, _this = this, _null = null,
t1 = type$.MediaQuery,
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600 ? C.MainAxisAlignment_0 : C.MainAxisAlignment_2,
t3 = _this._empty_emails_widget$_responsiveUtils,
t4 = _this._getIconSize$2(context, t3),
t5 = type$.JSArray_Widget;
t4 = A._setArrayType([A.SvgPicture$asset("assets/images/ic_empty_email.svg", C.Alignment_0_0, _null, C.BoxFit_0, _this._getIconSize$2(context, t3), _null, _null, t4), new A.Padding(D.EdgeInsetsDirectional_0_12_0_12, A.Text$(_this._getMessageEmptyEmail$1(context), D.ValueKey_empty_email_message, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t5, C.TextAlign_2, _null, _null, _null, _null), _null)], t5);
if (_this.isNetworkConnectionAvailable && !_this.isFilterMessageActive && !_this.isSearchActive && _this.onCreateFiltersActionCallback != null) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t3 = A.Intl__message("Create filters", _null, "createFilters", _null, _null);
t6 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t1).data.get$orientation(0) === C.Orientation_0 ? 1 / 0 : _null;
t4.push(A.TMailButtonWidget_TMailButtonWidget$fromText(D.Color_4294177783, 10, D.ValueKey_lqi, D.EdgeInsetsDirectional_0_12_0_0, 1 / 0, _null, 1 / 0, 0, _null, _this.onCreateFiltersActionCallback, C.EdgeInsetsDirectional_24_12_24_12, t3, C.TextAlign_2, C.TextStyle_yT3, _null, t6));
}
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$(C.AlignmentDirectional_0_0, A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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)], t5)), C.Clip_0, _null, D.BoxConstraints_NQk, _null, _null, _null, _null, _null, _null, _null, _null, _null);
},
_getIconSize$2(context, responsiveUtils) {
var t1 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx < 600)
return 160;
else if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t1).data.size._dx >= 1200)
return 212;
else
return 180;
},
_getMessageEmptyEmail$1(context) {
var t1, _null = null;
if (!this.isNetworkConnectionAvailable) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("No internet connection, try again later.", _null, "no_internet_connection_try_again_later", _null, _null);
}
if (this.isSearchActive) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.Intl__message("No emails are matching your search", _null, "no_emails_matching_your_search", _null, _null);
} else {
t1 = type$.AppLocalizations;
if (this.isFilterMessageActive) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
return A.Intl__message("We're sorry, there are no emails that match your current filter.", _null, "noEmailMatchYourCurrentFilter", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t1).toString;
return A.Intl__message("We're sorry, there are no emails in your current folder", _null, "noEmailInYourCurrentFolder", _null, _null);
}
}
}
};
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_WbI, C.TextAlign_0, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
if (_this.optionCurrent === _this.option)
t1.push(new A.Padding(_this.iconRightPadding, _this.actionSelected, _null));
return A.Container$(_null, A.MouseRegion$(A.CupertinoActionSheetAction$(A.Row$(t1, C.CrossAxisAlignment_2, _null, 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, A.Visibility$(A.Card$(true, A.InkWell$(false, A.BorderRadius$all(new A.Radius(32, 32)), true, A.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_0), 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, _null, 20), _null));
t5 = _this.labelColor;
t3.push(A.Text$(_this.label, _null, _null, _null, C.TextOverflow_2, _null, _null, true, _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(C.EdgeInsetsDirectional_4_0_0_0, A.SvgPicture$asset(t2, C.Alignment_0_0, A.ColorNullableExtension_asFilter(t5), C.BoxFit_1, 20, _null, _null, 20), _null));
t2 = A.Row$(t3, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_2, C.MainAxisSize_0, _null);
}
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_ww82, true, A.Container$(_null, t2, C.Clip_0, _null, _null, D.BoxDecoration_Z7k, _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, _null, 24), C.SizedBox_8_null_null_null], type$.JSArray_Widget);
t2 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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_CTL, 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_CTL, 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, _null, 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) {
return new A.Obx(new B.SpamReportBannerWidget_build_closure(this, context), null);
}
};
B.ThreadViewLoadingBarWidget.prototype = {
build$1(context) {
return this.viewState.fold$2(0, new B.ThreadViewLoadingBarWidget_build_closure(), new B.ThreadViewLoadingBarWidget_build_closure0());
}
};
var typesOffset = hunkHelpers.updateTypes(["~()", "~(String,~(~()))", "SearchFilterButton()", "WebEditorView()", "InsertImageLoadingBarWidget()", "~(bool,~(~()))", "~(DragStartDetails)", "~(DragUpdateDetails)", "DateDropDownButton()", "TextFieldAutocompleteEmailAddressWeb()", "Offset(Draggable<Object>,BuildContext,Offset)", "RecoverDeletedMessageLoadingBannerWidget()", "Future<~>(BuildContext,QuickSearchFilter{buttonPosition:RelativeRect?})", "SuggestionEmailAddress0(EmailAddress)", "~(EmailAddress,~(~()))", "~(~(~()))", "WebEditorWidget(Failure)", "Widget(BuildContext,@,QuickSearchSuggestionListState<@,@,@>)", "SortByDropDownButton()", "BottomBarComposerWidget()", "DesktopAppBarComposerWidget()", "~(String)", "~(PointerEvent)", "DesktopResponsiveContainerView()", "MobileResponsiveAppBarComposerWidget()", "~(Selectable)", "~(DragEndDetails)", "KeyEventResult(FocusNode,KeyEvent)", "List<SuggestionEmailAddress0>/(String)", "~(int)", "~(TapDownDetails)", "Future<~>(String)", "~(SuggestionEmailAddress0,~(~()))", "~(PointerDownEvent)", "TagEditor<SuggestionEmailAddress0>(BuildContext,List<DraggableEmailAddress?>,List<@>)", "~(SuggestionEmailAddress0)", "RecipientTagItemWidget(BuildContext,int)", "RecipientSuggestionItemWidget(BuildContext,TagsEditorState<SuggestionEmailAddress0>,SuggestionEmailAddress0,int,int,bool,String?)", "~(LongPressMoveUpdateDetails)", "AttachmentItemComposerWidget(UploadFileState)", "EmailViewAppBarWidget()", "InformationSenderAndReceiverBuilder()", "MailUnsubscribedBanner()", "~(LongPressEndDetails)", "EmailViewLoadingBarWidget()", "CalendarEventInformationWidget()", "CalendarEventDetailWidget()", "AttendeeWidget(CalendarAttendee)", "HyperLinkWidget(String)", "~(List<PresentationEmail>,PresentationMailbox)", "UserInformationWidget()", "MailboxLoadingBarWidget()", "~(BuildContext,FilterMessageOption,RelativeRect)", "~(LongPressStartDetails)", "~(TapDragUpDetails)", "MarkMailboxAsReadLoadingBanner()", "DownloadTaskItemWidget(BuildContext,int)", "~(TapDragEndDetails)", "~(TapDragUpdateDetails)", "~(TapDragStartDetails)", "~(TapDragDownDetails)", "List<SuggestionEmailAddress>/(String)", "~(SuggestionEmailAddress,~(~()))", "AutoCompleteTagItemWidgetWeb(BuildContext,int)", "AutoCompleteSuggestionItemWidgetWeb(BuildContext,TagsEditorState<SuggestionEmailAddress>,SuggestionEmailAddress,int,int,bool,String?)", "~(PresentationEmail)", "~(RecentSearch)", "~(EmailAddress)", "Widget(BuildContext)", "RecentSearchItemTileWidget(BuildContext,RecentSearch)", "EmailQuickSearchItemTileWidget(BuildContext,PresentationEmail)", "ContactQuickSearchItem(BuildContext,EmailAddress)", "SearchEmailLoadingBarWidget()", "EmptySearchEmailWidget()", "EmailTileBuilder()", "EmptyEmailsWidget(Failure)", "MailboxSearchedItemBuilder(BuildContext,BoxConstraints)", "FocusedMenuItem(ContextMenuItemMailboxAction)", "bool(ScrollNotification)", "~(EmailActionType,PresentationEmail)", "AppBarThreadWidget()", "ThreadViewLoadingBarWidget()", "~(DraggableDetails)", "_MailboxActionProgressBanner()", "bool(int)", "Widget(BuildContext,SelectableRegionState)", "Null(DraggableDetails)"]);
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(t1 * 3 * 3.141592653589793 / 180, widget);
},
$signature: 1668
};
B.QuickSearchInputForm_closure.prototype = {
call$1(field) {
var t1, t2, t3, _this = this;
type$._QuickSearchInputFormFormFieldState_dynamic_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, _this.contactItemBuilder, _this.contactSuggestionsCallback, _this.onContactSuggestionSelected, _this.minInputLengthAutocomplete, null, _this.T._eval$1("@<0>")._bind$1(_this.P)._bind$1(_this.R)._eval$1("TypeAheadFieldQuickSearch<1,2,3>"));
},
$signature() {
return this.T._eval$1("@<0>")._bind$1(this.P)._bind$1(this.R)._eval$1("TypeAheadFieldQuickSearch<1,2,3>(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.QuickSearchSuggestionsBox__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: 65
};
B.QuickSearchSuggestionListState__handleDebounceTimeListener_closure.prototype = {
call$0() {
this.$this._isLoading = true;
},
$signature: 0
};
B.QuickSearchSuggestionListState__handleDebounceTimeListener_closure0.prototype = {
call$0() {
var t1 = this.$this;
t1._isLoading = false;
t1._contacts = t1._suggestions = null;
t1._recentItems = this.recentItems;
t1.__QuickSearchSuggestionListState__suggestionsValid_A = true;
},
$signature: 0
};
B.QuickSearchSuggestionListState__getSuggestions_closure.prototype = {
call$0() {
var t1 = this.$this;
t1._quick_search_suggestion_list$_animationController.forward$1$from(0, 1);
t1._isLoading = true;
},
$signature: 0
};
B.QuickSearchSuggestionListState__getSuggestions_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._quick_search_suggestion_list$_animationController;
t2.toString;
t2.forward$1$from(0, t1._widget.animationStart);
t1._isLoading = false;
t1._suggestions = null;
t1._recentItems = this.recentItems;
t1._contacts = null;
},
$signature: 0
};
B.QuickSearchSuggestionListState__getSuggestions_closure1.prototype = {
call$1(item) {
return item == null || J.get$isEmpty$asx(item);
},
$signature: 1669
};
B.QuickSearchSuggestionListState__getSuggestions_closure2.prototype = {
call$0() {
var t1 = this._box_0,
t2 = t1.suggestions,
animationStart = (t2 == null ? null : J.get$isNotEmpty$asx(t2)) === true ? this.$this._widget.animationStart : 1;
t2 = this.$this;
t2._quick_search_suggestion_list$_animationController.forward$1$from(0, animationStart);
t2._isLoading = false;
t2._suggestions = t1.suggestions;
t2._recentItems = t1.recentItems;
t2._contacts = t1.contacts;
},
$signature: 0
};
B.QuickSearchSuggestionListState__buildListActionWidget_closure.prototype = {
call$1(action) {
var _null = null,
t1 = this.$this,
t2 = t1._widget.actionButtonBuilder,
t3 = t1._framework$_element;
t3.toString;
t1 = A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, C.BorderRadius_ww82, true, t2.call$3(t3, action, t1), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.QuickSearchSuggestionListState__buildListActionWidget__closure(t1, action), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4);
return new A.Padding(D.EdgeInsetsDirectional_0_0_8_8, t1, _null);
},
$signature: 1670
};
B.QuickSearchSuggestionListState__buildListActionWidget__closure.prototype = {
call$0() {
var t1 = this.$this;
t1._widget.buttonActionCallback.call$1(this.action);
t1.invalidateSuggestions$0();
},
$signature: 0
};
B.QuickSearchSuggestionListState__buildListViewRecentWidget_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.QuickSearchSuggestionListState__buildListViewRecentWidget__closure(t1, recent), _null, _null, _null, _null, _null, _null, _null);
return t1;
},
$signature() {
return this.$this.$ti._eval$1("Widget(3)");
}
};
B.QuickSearchSuggestionListState__buildListViewRecentWidget__closure.prototype = {
call$0() {
return this.$this._widget.onRecentSelected.call$1(this.recent);
},
$signature: 0
};
B.QuickSearchSuggestionListState__buildListViewSuggestionWidget_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.QuickSearchSuggestionListState__buildListViewSuggestionWidget__closure(t1, suggestion), _null, _null, _null, _null, _null, _null, _null);
return t1;
},
$signature() {
return this.$this.$ti._eval$1("Widget(1)");
}
};
B.QuickSearchSuggestionListState__buildListViewSuggestionWidget__closure.prototype = {
call$0() {
var t1 = this.$this._widget.onSuggestionSelected.call$1(this.suggestion);
return t1;
},
$signature: 0
};
B.QuickSearchSuggestionListState__buildListViewContactWidget_closure.prototype = {
call$1(contact) {
var _null = null,
t1 = this.$this,
t2 = t1._widget.contactSuggestionBuilder,
t3 = t1._framework$_element;
t3.toString;
t1 = A.InkWell$(false, _null, true, t2.call$2(t3, contact), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.QuickSearchSuggestionListState__buildListViewContactWidget__closure(t1, contact), _null, _null, _null, _null, _null, _null, _null);
return t1;
},
$signature() {
return this.$this.$ti._eval$1("Widget(2)");
}
};
B.QuickSearchSuggestionListState__buildListViewContactWidget__closure.prototype = {
call$0() {
var t1 = this.$this._widget.onContactSuggestionSelected.call$1(this.contact);
return t1;
},
$signature: 0
};
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: 16
};
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: 165
};
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$_type_ahead_field_quick_search$_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.QuickSearchSuggestionList(t2, t5, false, new B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure(t1), t9, t12, _null, t4, t3, t7, t8, t10, t11, false, false, 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, t6.minInputLengthAutocomplete, t6.contactItemBuilder, t6.contactSuggestionsCallback, new B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure1(t1), _null, t14._eval$1("@<1>")._bind$1(t14._rest[1])._bind$1(t14._rest[2])._eval$1("QuickSearchSuggestionList<1,2,3>"));
w = t13.textBoxWidth;
t2 = t13.direction === C.AxisDirection_2;
if (t2)
t3 = t13.textBoxHeight + t6.suggestionsBoxVerticalOffset;
else {
t3 = t13.__QuickSearchSuggestionsBox_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), C.Alignment_m1_m1, t1._layerLink, new A.Offset(0, t3), false, C.Alignment_m1_m1), _null, _null, _null, _null, _null, w);
},
$signature: 448
};
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("~(3)");
}
};
B._TypeAheadFieldQuickSearchState__initOverlayEntry__closure1.prototype = {
call$1(selection) {
var t1 = this.$this;
t1._widget.toString;
t1.get$_effectiveFocusNode().unfocus$0();
t1._suggestionsBox.close$0(0);
t1._widget.onContactSuggestionSelected.call$1(selection);
},
$signature() {
return this.$this.$ti._eval$1("~(2)");
}
};
B._TypeAheadFieldQuickSearchState__updateTextDirection_closure.prototype = {
call$0() {
this.$this.___TypeAheadFieldQuickSearchState__textDirection_A = this.directionByText;
},
$signature: 0
};
B._RichTextBuilderState_build_closure.prototype = {
call$1(_) {
this.$this.scrollDebounceListener$0();
},
$signature: 10
};
B.MultiDragGestureRecognizer_acceptGesture_closure.prototype = {
call$1(initialPosition) {
return this.$this._multidrag$_startDrag$2(initialPosition, this.pointer);
},
$signature: 1671
};
B.MultiDragGestureRecognizer__startDrag_closure.prototype = {
call$0() {
return this.$this.onStart.call$1(this.initialPosition);
},
$signature: 1672
};
B.PlatformSelectableRegionContextMenu__register_closure.prototype = {
call$2(element, $event) {
var t1, t2, t3, range, selection,
client = $.PlatformSelectableRegionContextMenu__activeClient;
if (client != null) {
t1 = $event.offsetX;
t2 = $event.offsetY;
t3 = client._selectionContainerContext.get$renderObject();
t3.toString;
client.dispatchSelectionEvent$1(new B.SelectWordSelectionEvent(A.MatrixUtils_transformPoint(type$.RenderBox._as(t3).getTransformTo$1(0, null), new A.Offset(t1, t2)), C.SelectionEventType_4));
t2 = client.getSelectedContent$0();
t1 = t2 == null ? null : t2.plainText;
if (t1 == null)
t1 = "";
element.innerText = t1;
t1 = self;
range = t1.document.createRange();
range.selectNode(element);
selection = t1.window.getSelection();
if (selection != null) {
selection.removeAllRanges();
selection.addRange(range);
}
}
},
$signature: 1673
};
B.PlatformSelectableRegionContextMenu__registerWebSelectionCallback_closure.prototype = {
call$1(viewId) {
var styleElement, sheet,
t1 = self,
htmlElement = t1.document.createElement("div");
htmlElement.style.width = "100%";
htmlElement.style.height = "100%";
htmlElement.classList.add("web-electable-region-context-menu");
styleElement = t1.document.createElement("style");
t1 = t1.document.head;
t1.toString;
A.callMethod(t1, "append", [styleElement]);
sheet = styleElement.sheet;
sheet.insertRule(".web-electable-region-context-menu {\n color: transparent;\n user-select: text;\n -webkit-user-select: text; /* Safari */\n -moz-user-select: text; /* Firefox */\n -ms-user-select: text; /* IE10+ */\n}\n", 0);
sheet.insertRule(".web-electable-region-context-menu::selection { background: transparent; }", 1);
htmlElement.addEventListener("mousedown", type$.JavaScriptFunction._as(A.allowInterop(new B.PlatformSelectableRegionContextMenu__registerWebSelectionCallback__closure(this.callback, htmlElement))));
return htmlElement;
},
$signature: 1674
};
B.PlatformSelectableRegionContextMenu__registerWebSelectionCallback__closure.prototype = {
call$1($event) {
if (!J.$eq$($event.button, 2))
return;
this.callback.call$2(this.htmlElement, $event);
},
$signature: 383
};
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: 27
};
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: 1675
};
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: 1676
};
B._DragAvatar_updateDrag_closure0.prototype = {
call$0() {
return null;
},
$signature: 9
};
B.SelectableRegionState_initState_closure.prototype = {
call$0() {
return A.TapGestureRecognizer$(this.$this, null);
},
$signature: 309
};
B.SelectableRegionState_initState_closure0.prototype = {
call$1(instance) {
var t1 = this.$this;
instance.onTapUp = new B.SelectableRegionState_initState__closure(t1);
instance.onSecondaryTapDown = t1.get$_handleRightClickDown();
},
$signature: 308
};
B.SelectableRegionState_initState__closure.prototype = {
call$1(details) {
var t1 = A.defaultTargetPlatform() === C.TargetPlatform_2 && this.$this._positionIsOnActiveSelection$1$globalPosition(details.globalPosition),
t2 = this.$this;
if (t1) {
t1 = t2._selectable_region$_selectionOverlay;
t1 = t1 == null ? null : t1.get$toolbarIsVisible();
if (t1 === true)
t2.hideToolbar$1(false);
else
t2._showToolbar$1$location(details.globalPosition);
} else {
t2.hideToolbar$0();
t1 = details.globalPosition;
t2._selectStartTo$1$offset(t1);
t2._selectEndTo$1$offset(t1);
}
},
$signature: 56
};
B.SelectableRegionState__initMouseGestureRecognizer_closure.prototype = {
call$0() {
return A.TapAndPanGestureRecognizer$(this.$this, A.LinkedHashSet_LinkedHashSet$_literal([C.PointerDeviceKind_1], type$.PointerDeviceKind));
},
$signature: 428
};
B.SelectableRegionState__initMouseGestureRecognizer_closure0.prototype = {
call$1(instance) {
var t1 = this.$this;
instance.onTapDown = t1.get$_startNewMouseSelectionGesture();
instance.onTapUp = t1.get$_handleMouseTapUp();
instance.onDragStart = t1.get$_handleMouseDragStart();
instance.onDragUpdate = t1.get$_handleMouseDragUpdate();
instance.onDragEnd = t1.get$_handleMouseDragEnd();
instance.onCancel = t1.get$_clearSelection();
instance.dragStartBehavior = C.DragStartBehavior_0;
},
$signature: 429
};
B.SelectableRegionState__initTouchGestureRecognizer_closure.prototype = {
call$0() {
return A.LongPressGestureRecognizer$(this.$this, null, D.Set_4qh83);
},
$signature: 302
};
B.SelectableRegionState__initTouchGestureRecognizer_closure0.prototype = {
call$1(instance) {
var t1 = this.$this;
instance.onLongPressStart = t1.get$_handleTouchLongPressStart();
instance.onLongPressMoveUpdate = t1.get$_handleTouchLongPressMoveUpdate();
instance.onLongPressEnd = t1.get$_handleTouchLongPressEnd();
},
$signature: 301
};
B.SelectableRegionState__triggerSelectionEndEdgeUpdate_closure.prototype = {
call$1(timeStamp) {
var t1 = this.$this;
if (!t1._scheduledSelectionEndEdgeUpdate)
return;
t1._scheduledSelectionEndEdgeUpdate = false;
t1._triggerSelectionEndEdgeUpdate$1$textGranularity(this.textGranularity);
},
$signature: 10
};
B.SelectableRegionState__onAnyDragEnd_closure.prototype = {
call$1(context) {
var t1 = this.$this;
return t1._widget.contextMenuBuilder.call$2(context, t1);
},
$signature: 28
};
B.SelectableRegionState__triggerSelectionStartEdgeUpdate_closure.prototype = {
call$1(timeStamp) {
var t1 = this.$this;
if (!t1._scheduledSelectionStartEdgeUpdate)
return;
t1._scheduledSelectionStartEdgeUpdate = false;
t1._triggerSelectionStartEdgeUpdate$1$textGranularity(this.textGranularity);
},
$signature: 10
};
B.SelectableRegionState_contextMenuButtonItems_closure.prototype = {
call$0() {
var t1 = this.$this;
t1._copy$0();
switch (A.defaultTargetPlatform().index) {
case 0:
case 1:
t1._clearSelection$0();
break;
case 2:
t1.hideToolbar$1(false);
break;
case 3:
case 4:
case 5:
t1.hideToolbar$0();
break;
}
},
$signature: 0
};
B.SelectableRegionState_contextMenuButtonItems_closure0.prototype = {
call$0() {
switch (A.defaultTargetPlatform().index) {
case 0:
case 2:
case 1:
this.$this.selectAll$1(C.SelectionChangedCause_5);
break;
case 3:
case 4:
case 5:
var t1 = this.$this;
t1.selectAll$0();
t1.hideToolbar$0();
break;
}
},
$signature: 0
};
B.SelectableRegionState_contextMenuButtonItems_closure1.prototype = {
call$0() {
var t1 = this.$this;
t1._share$0();
switch (A.defaultTargetPlatform().index) {
case 0:
case 1:
t1._clearSelection$0();
break;
case 2:
t1.hideToolbar$1(false);
break;
case 3:
case 4:
case 5:
t1.hideToolbar$0();
break;
}
},
$signature: 0
};
B.SelectableRegionState__textProcessingActionButtonItems_closure.prototype = {
call$0() {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
$async$self = this, t1, selectedText;
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
selectedText = $async$self.data.plainText;
$async$goto = selectedText.length !== 0 ? 2 : 3;
break;
case 2:
// then
t1 = $async$self.$this;
$async$goto = 4;
return A._asyncAwait(t1._selectable_region$_processTextService.processTextAction$3($async$self.action.id, selectedText, true), $async$call$0);
case 4:
// returning from await.
t1.hideToolbar$0();
case 3:
// join
// implicit return
return A._asyncReturn(null, $async$completer);
}
});
return A._asyncStartSync($async$call$0, $async$completer);
},
$signature: 6
};
B._SelectableRegionContainerDelegate_didChangeSelectables_closure.prototype = {
call$1(selectable) {
return !this.selectableSet.contains$1(0, selectable);
},
$signature: 212
};
B._SelectableRegionContainerDelegate_didChangeSelectables_closure0.prototype = {
call$1(selectable) {
return !this.selectableSet.contains$1(0, selectable);
},
$signature: 212
};
B.buildTextSpanChildren_closure.prototype = {
call$0() {
return this.onOpen.call$1(this.element);
},
$signature: 0
};
B.ListAttachmentExtension_get_totalSize_closure.prototype = {
call$1(attachment) {
var t1 = attachment.size;
t1 = t1 == null ? null : t1.value;
return t1 == null ? 0 : t1;
},
$signature: 1677
};
B.ListAttachmentExtension_get_totalSize_closure0.prototype = {
call$2(sum, size) {
return sum + size;
},
$signature: 630
};
B.SetEmailAddressExtension_toEscapeHtmlString_closure.prototype = {
call$1(emailAddress) {
return A.HtmlNullableExtension_escapeHtmlString(B.EmailAddressExtension_asFullStringWithLtGtCharacter(emailAddress), C.HtmlEscapeMode_element_false_false_false);
},
$signature: 75
};
B.ListPresentationEmailExtension_get_isAllEmailRead_closure.prototype = {
call$1(email) {
return email.get$hasRead();
},
$signature: 37
};
B.ListPresentationEmailExtension_get_isAllEmailStarred_closure.prototype = {
call$1(email) {
return email.get$hasStarred();
},
$signature: 37
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure.prototype = {
call$1(email) {
return A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
},
$signature: 342
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure0.prototype = {
call$1(mailbox) {
return J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleTrash());
},
$signature: 114
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure1.prototype = {
call$1(mailbox) {
return J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleDrafts());
},
$signature: 114
};
B.ListPresentationEmailExtension_isAllCanDeletePermanently_closure2.prototype = {
call$1(mailbox) {
var t1 = mailbox.role,
t2 = J.getInterceptor$(t1);
return t2.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t2.$eq(t1, $.$get$PresentationMailbox_roleJunk());
},
$signature: 114
};
B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure.prototype = {
call$1(email) {
return A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
},
$signature: 342
};
B.ListPresentationEmailExtension_isAllCanSpamAndMove_closure0.prototype = {
call$1(mailbox) {
return !J.$eq$(mailbox.role, $.$get$PresentationMailbox_roleDrafts());
},
$signature: 114
};
B.ListPresentationEmailExtension_isAllSpam_closure.prototype = {
call$1(email) {
return A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
},
$signature: 342
};
B.ListPresentationEmailExtension_isAllSpam_closure0.prototype = {
call$1(mailbox) {
var t1 = mailbox.role,
t2 = J.getInterceptor$(t1);
return t2.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t2.$eq(t1, $.$get$PresentationMailbox_roleJunk());
},
$signature: 114
};
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: 37
};
B.ListPresentationEmailExtension_listEmailCanSpam_closure.prototype = {
call$1(email) {
var t1, t2,
mailboxContain = A.PresentationEmailExtension_findMailboxContain(email, this.mapMailbox);
if (mailboxContain == null)
t1 = null;
else {
t1 = mailboxContain.role;
t2 = J.getInterceptor$(t1);
t1 = t2.$eq(t1, $.$get$PresentationMailbox_roleSpam()) || t2.$eq(t1, $.$get$PresentationMailbox_roleJunk());
}
if (t1 === false)
return email;
else
return null;
},
$signature: 1680
};
B.HyperLinkWidget_build_closure.prototype = {
call$0() {
return A.AppUtils_launchLink(this.$this.urlString);
},
$signature: 0
};
B.ComposerView_build_closure0.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");
t4 = B.ComposerStyle_getMaxHeightEmailAddressWidget(context, constraints, t3._as(t2.get(t1)).responsiveUtils);
A.Expando__checkType(t1);
t5 = A.SingleChildScrollView$(new A.Obx(new B.ComposerView_build__closure3(t1, context, constraints), _null), t3._as(t2.get(t1)).scrollControllerEmailAddress, _null, _null, _null, _null, C.Axis_1);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).subjectEmailInputController;
A.Expando__checkType(t1);
return A.GestureDetector$(_null, 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, t4), t5, _null), new B.SubjectComposerWidget(t6, t7, t3._as(t2.get(t1)).get$setSubjectEmail(), E.EdgeInsetsDirectional_16_0_0_0, C.EdgeInsetsDirectional_0_0_16_0, _null), A.Expanded$(new A.LayoutBuilder(new B.ComposerView_build__closure5(t1, constraints), _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.ComposerView_build__closure6(t1, context), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT);
},
$signature: 343
};
B.ComposerView_build__closure6.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.log("ComposerController::clearFocus:", C.Level_3);
A.FocusScope_of(this.context).unfocus$0();
return null;
},
$signature: 0
};
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.get$value(0);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).richTextWebController.get$toggleFormattingOptions();
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).isEnableEmailSendButton.get$value(0);
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___closure13(t1, t3), new B.ComposerView_build___closure14(t1, t3), new B.ComposerView_build___closure15(t1, t3, this.constraints), new B.ComposerView_build___closure16(t1, t3), new B.ComposerView_build___closure17(t1, t3), t6, t7.find$1$1$tag(0, null, type$.ImagePaths), null);
},
$signature: typesOffset + 24
};
B.ComposerView_build___closure13.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)).handleClickCloseComposer$1(this.context);
},
$signature: 0
};
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)).openFilePickerByType$2(this.context, C.FileType_0);
},
$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)).insertImage$2(this.context, this.constraints.maxWidth);
},
$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)).handleClickSendButton$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure17.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: 1682
};
B.ComposerView_build__closure3.prototype = {
call$0() {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = this.$this,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t2)._eval$1("GetWidget.S");
if (t4._as(t3.get(t2)).fromRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).identitySelected.get$value(0);
t5 = t5 == null ? _null : t5.email;
if (t5 == null)
t5 = "";
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).identitySelected.get$value(0);
A.Expando__checkType(t2);
t7 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t4._as(t3.get(t2)).toString;
t1.push(A.Tooltip$(new B.FromComposerMobileWidget(t6, t7, C.EdgeInsetsDirectional_0_0_16_0, E.EdgeInsetsDirectional_16_0_0_0, new B.ComposerView_build___closure18(t2, this.context), _null), _null, t5));
}
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listToEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
t7 = this.constraints.maxWidth;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).fromRecipientState.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).ccRecipientState.get$value(0);
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).bccRecipientState.get$value(0);
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).toAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).toEmailAddressController;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).toAddressFocusNode;
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).toAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).keyToEmailTagEditor;
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).getNextFocusOfToEmailAddress$0();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$addEmailAddressType();
A.Expando__checkType(t2);
t22 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t23 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t24 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(t11, t10, t13, t12, t14, t15, t9, t6, t17, t16, t5, E.EdgeInsetsDirectional_16_0_0_0, t7, t8, t18, t21, _null, t19, t24, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t20, t23, t22, C.EdgeInsetsDirectional_0_0_16_0, C.PrefixEmailAddress_1));
A.Expando__checkType(t2);
if (t4._as(t3.get(t2)).ccRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listCcEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).ccAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).ccEmailAddressController;
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).ccAddressFocusNode;
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).ccAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).keyCcEmailTagEditor;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).getNextFocusOfCcEmailAddress$0();
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).get$deleteEmailAddressType();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(C.PrefixRecipientState_1, C.PrefixRecipientState_1, t10, t9, t11, t12, C.PrefixRecipientState_1, t6, t14, t13, t5, E.EdgeInsetsDirectional_16_0_0_0, t7, t8, t15, _null, t18, t16, t21, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t17, t20, t19, C.EdgeInsetsDirectional_0_0_16_0, C.PrefixEmailAddress_2));
}
A.Expando__checkType(t2);
if (t4._as(t3.get(t2)).bccRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listBccEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).bccAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).bccEmailAddressController;
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).bccAddressFocusNode;
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).bccAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).keyBccEmailTagEditor;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).subjectEmailInputFocusNode;
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).get$deleteEmailAddressType();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(C.PrefixRecipientState_1, C.PrefixRecipientState_1, t10, t9, t11, t12, C.PrefixRecipientState_1, t6, t14, t13, t5, E.EdgeInsetsDirectional_16_0_0_0, t7, t8, t15, _null, t18, t16, t21, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t17, t20, t19, C.EdgeInsetsDirectional_0_0_16_0, C.PrefixEmailAddress_3));
}
return A.Column$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 249
};
B.ComposerView_build___closure18.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)).openSelectIdentityBottomSheet$1(this.context);
},
$signature: 0
};
B.ComposerView_build__closure5.prototype = {
call$2(context, constraintsEditor) {
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(C.EdgeInsetsDirectional_12_0_12_0, new A.Obx(new B.ComposerView_build___closure7(t1, this.constraints, context, constraintsEditor), _null), _null), 1), new A.Obx(new B.ComposerView_build___closure8(t1), _null), new A.Obx(new B.ComposerView_build___closure9(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___closure10(t1), _null), _null), new A.Obx(new B.ComposerView_build___closure11(t1, constraintsEditor), _null), new A.Obx(new B.ComposerView_build___closure12(t1, constraintsEditor, context), _null)], t2), _null);
},
$signature: 141
};
B.ComposerView_build___closure7.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _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)).richTextWebController.editorController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).composerArguments.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).emailContentsViewState.get$value(0);
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$handleOnMouseDownHtmlEditorWeb();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).richTextWebController.get$onEditorSettingsChange();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).richTextWebController.get$onEditorTextSizeChanged();
t14 = _this.constraints;
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$handleOnDragEnterHtmlEditorWeb();
t16 = _this.context;
A.Expando__checkType(t1);
return B.WebEditorView$(t5, t6, t7, t4, t14.maxHeight, t9, t15, t12, t13, t10, t8, t3._as(t2.get(t1)).get$restoreCollapsibleButton(), t11, new B.ComposerView_build____closure11(t1, t16), new B.ComposerView_build____closure12(t1, t16, _this.constraintsEditor), t14.maxWidth);
},
$signature: typesOffset + 3
};
B.ComposerView_build____closure12.prototype = {
call$1(listFileUpload) {
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)).handleOnPasteImageSuccessAction$3$context$listFileUpload$maxWidth(this.context, listFileUpload, this.constraintsEditor.maxWidth);
},
$signature: 217
};
B.ComposerView_build____closure11.prototype = {
call$3(listFileUpload, base64, 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)).handleOnPasteImageFailureAction$4$base64$context$listFileUpload$uploadError(base64, this.context, listFileUpload, uploadError);
},
$signature: 216
};
B.ComposerView_build___closure8.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)).uploadController.listUploadAttachments;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).uploadController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).isAttachmentCollapsed;
A.Expando__checkType(t1);
return new B.AttachmentComposerWidget(t4.listUploadAttachments, t5, t3._as(t2.get(t1)).get$deleteAttachmentUploaded(), new B.ComposerView_build____closure10(t1), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build____closure10.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: 16
};
B.ComposerView_build___closure9.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)).richTextWebController.formattingOptionsState.get$value(0) === C.FormattingOptionsState_0) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).richTextWebController;
t1.toString;
return A.ToolbarRichTextWebBuilder$(D.BoxDecoration_8sn, null, D.EdgeInsetsDirectional_24_8_24_8, t1);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build___closure10.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.get$value(0);
A.Expando__checkType(t1);
return new B.InsertImageLoadingBarWidget(t3._as(t2.get(t1)).viewState.get$value(0), t4, D.EdgeInsetsDirectional_0_12_0_0, null);
},
$signature: typesOffset + 4
};
B.ComposerView_build___closure11.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");
if (J.$eq$(t3._as(t2.get(t1)).mailboxDashBoardController.attachmentDraggableAppState.get$value(0), C.DraggableAppState_0)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).imagePaths;
t5 = this.constraintsEditor;
A.Expando__checkType(t1);
return A.Positioned$fill(0, A.PointerInterceptor$(new B.AttachmentDropZoneWidget(t4, t5.maxWidth, t5.maxHeight, t3._as(t2.get(t1)).get$onAttachmentDropZoneListener(), null)));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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");
if (J.$eq$(t3._as(t2.get(t1)).mailboxDashBoardController.localFileDraggableAppState.get$value(0), C.DraggableAppState_0)) {
A.Expando__checkType(t1);
t4 = this.constraintsEditor;
return A.Positioned$fill(0, A.PointerInterceptor$(new A.LocalFileDropZoneWidget(t3._as(t2.get(t1)).imagePaths, t4.maxWidth, t4.maxHeight, C.EdgeInsetsDirectional_8_8_8_60, new B.ComposerView_build____closure9(t1, this.context, t4), null)));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build____closure9.prototype = {
call$1(details) {
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)).onLocalFileDropZoneListener$3$context$details$maxWidth(this.context, details, this.constraintsEditor.maxWidth);
},
$signature: 231
};
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.get$value(0);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).subjectEmail.get$value(0);
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__closure7(t1, this.context), t2, new B.ComposerView_build__closure8(t1), t3.find$1$1$tag(0, null, type$.ResponsiveUtils), null);
},
$signature: typesOffset + 23
};
B.ComposerView_build__closure8.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");
t4 = B.ComposerStyle_getMaxHeightEmailAddressWidget(context, constraints, t3._as(t2.get(t1)).responsiveUtils);
A.Expando__checkType(t1);
t5 = A.SingleChildScrollView$(new A.Obx(new B.ComposerView_build___closure19(t1, constraints), _null), t3._as(t2.get(t1)).scrollControllerEmailAddress, _null, _null, _null, _null, C.Axis_1);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).subjectEmailInputController;
A.Expando__checkType(t1);
return A.GestureDetector$(_null, 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, t4), t5, _null), new B.SubjectComposerWidget(t6, t7, t3._as(t2.get(t1)).get$setSubjectEmail(), D.EdgeInsetsDirectional_24_0_0_0, D.EdgeInsetsDirectional_0_0_24_0, _null), A.Expanded$(new A.LayoutBuilder(new B.ComposerView_build___closure21(t1, constraints), _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.ComposerView_build___closure22(t1, context), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT);
},
$signature: 343
};
B.ComposerView_build___closure22.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.log("ComposerController::clearFocus:", C.Level_3);
A.FocusScope_of(this.context).unfocus$0();
return null;
},
$signature: 0
};
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.get$value(0);
if (t4 == null)
t4 = "";
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).screenDisplayMode.get$value(0);
A.Expando__checkType(t1);
return B.DesktopAppBarComposerWidget$(this.constraints, t5, t4, t3._as(t2.get(t1)).get$displayScreenTypeComposerAction(), new B.ComposerView_build____closure20(t1, this.context));
},
$signature: typesOffset + 20
};
B.ComposerView_build____closure20.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)).handleClickCloseComposer$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure19.prototype = {
call$0() {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = this.$this,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t2)._eval$1("GetWidget.S");
if (t4._as(t3.get(t2)).fromRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listFromIdentities;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).identitySelected.get$value(0);
A.Expando__checkType(t2);
t7 = t4._as(t3.get(t2)).identityDropdownKey;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t1.push(B.FromComposerDropDownWidget$(t7, t8, t6, t5, D.EdgeInsetsDirectional_24_0_0_0, t4._as(t3.get(t2)).get$onChangeIdentity(), D.EdgeInsetsDirectional_0_0_24_0));
}
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listToEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
t7 = this.constraints.maxWidth;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).fromRecipientState.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).ccRecipientState.get$value(0);
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).bccRecipientState.get$value(0);
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).toAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).toEmailAddressController;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).toAddressFocusNode;
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).toAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).keyToEmailTagEditor;
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).getNextFocusOfToEmailAddress$0();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$addEmailAddressType();
A.Expando__checkType(t2);
t22 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t23 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t24 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(t11, t10, t13, t12, t14, t15, t9, t6, t17, t16, t5, D.EdgeInsetsDirectional_24_0_0_0, t7, t8, t18, t21, null, t19, t24, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t20, t23, t22, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_1));
A.Expando__checkType(t2);
if (t4._as(t3.get(t2)).ccRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listCcEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).ccAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).ccEmailAddressController;
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).ccAddressFocusNode;
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).ccAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).keyCcEmailTagEditor;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).getNextFocusOfCcEmailAddress$0();
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).get$deleteEmailAddressType();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(C.PrefixRecipientState_1, C.PrefixRecipientState_1, t10, t9, t11, t12, C.PrefixRecipientState_1, t6, t14, t13, t5, D.EdgeInsetsDirectional_24_0_0_0, t7, t8, t15, null, t18, t16, t21, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t17, t20, t19, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_2));
}
A.Expando__checkType(t2);
if (t4._as(t3.get(t2)).bccRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listBccEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).bccAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).bccEmailAddressController;
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).bccAddressFocusNode;
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).bccAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).keyBccEmailTagEditor;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).subjectEmailInputFocusNode;
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).get$deleteEmailAddressType();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(C.PrefixRecipientState_1, C.PrefixRecipientState_1, t10, t9, t11, t12, C.PrefixRecipientState_1, t6, t14, t13, t5, D.EdgeInsetsDirectional_24_0_0_0, t7, t8, t15, null, t18, t16, t21, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t17, t20, t19, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_3));
}
return A.Column$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 249
};
B.ComposerView_build___closure21.prototype = {
call$2(context, constraintsEditor) {
var _null = null,
t1 = this.$this,
t2 = this.constraints,
t3 = 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$(A.Container$(_null, A.Column$(A._setArrayType([A.Expanded$(new A.Padding(D.EdgeInsetsDirectional_20_0_20_0, new A.Obx(new B.ComposerView_build____closure13(t1, t2, context, constraintsEditor), _null), _null), 1), new A.Obx(new B.ComposerView_build____closure14(t1), _null), new A.Obx(new B.ComposerView_build____closure15(t1), _null)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_0, _null, _null, D.BoxDecoration_omC, _null, _null, _null, _null, _null, _null, _null, _null), 1), new A.Obx(new B.ComposerView_build____closure16(t1, context, t2), _null)], t3), 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____closure17(t1), _null), _null), new A.Obx(new B.ComposerView_build____closure18(t1, constraintsEditor), _null), new A.Obx(new B.ComposerView_build____closure19(t1, constraintsEditor, context), _null)], t3), _null);
},
$signature: 141
};
B.ComposerView_build____closure13.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _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)).richTextWebController.editorController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).composerArguments.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).emailContentsViewState.get$value(0);
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$handleOnMouseDownHtmlEditorWeb();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).richTextWebController;
t12 = t12 == null ? null : t12.get$onEditorSettingsChange();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).richTextWebController;
t13 = t13 == null ? null : t13.get$onEditorTextSizeChanged();
t14 = _this.constraints;
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$handleOnDragEnterHtmlEditorWeb();
t16 = _this.context;
A.Expando__checkType(t1);
return B.WebEditorView$(t5, t6, t7, t4, t14.maxHeight, t9, t15, t12, t13, t10, t8, t3._as(t2.get(t1)).get$restoreCollapsibleButton(), t11, new B.ComposerView_build_____closure7(t1, t16), new B.ComposerView_build_____closure8(t1, t16, _this.constraintsEditor), t14.maxWidth);
},
$signature: typesOffset + 3
};
B.ComposerView_build_____closure8.prototype = {
call$1(listFileUpload) {
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)).handleOnPasteImageSuccessAction$3$context$listFileUpload$maxWidth(this.context, listFileUpload, this.constraintsEditor.maxWidth);
},
$signature: 217
};
B.ComposerView_build_____closure7.prototype = {
call$3(listFileUpload, base64, 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)).handleOnPasteImageFailureAction$4$base64$context$listFileUpload$uploadError(base64, this.context, listFileUpload, uploadError);
},
$signature: 216
};
B.ComposerView_build____closure14.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)).uploadController.listUploadAttachments;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).uploadController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).isAttachmentCollapsed;
A.Expando__checkType(t1);
return new B.AttachmentComposerWidget(t4.listUploadAttachments, t5, t3._as(t2.get(t1)).get$deleteAttachmentUploaded(), new B.ComposerView_build_____closure6(t1), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build_____closure6.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: 16
};
B.ComposerView_build____closure15.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)).richTextWebController.formattingOptionsState.get$value(0) === C.FormattingOptionsState_0) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).richTextWebController;
t1.toString;
return A.ToolbarRichTextWebBuilder$(D.BoxDecoration_8sn, null, D.EdgeInsetsDirectional_24_8_24_8, t1);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build____closure16.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.get$value(0);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).hasRequestReadReceipt.get$value(0);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).richTextWebController.get$toggleFormattingOptions();
t8 = this.context;
A.Expando__checkType(t1);
return B.BottomBarComposerWidget$(new B.ComposerView_build_____closure0(t1, t8), new B.ComposerView_build_____closure1(t1, t8), t6, new B.ComposerView_build_____closure2(t1, t8, this.constraints), t4 === C.CodeViewState_0, t5 === C.FormattingOptionsState_0, t7, new B.ComposerView_build_____closure3(t1, t8), new B.ComposerView_build_____closure4(t1, t8), new B.ComposerView_build_____closure5(t1, t8), t3._as(t2.get(t1)).richTextWebController.get$toggleCodeView());
},
$signature: typesOffset + 19
};
B.ComposerView_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)).openFilePickerByType$2(this.context, C.FileType_0);
},
$signature: 0
};
B.ComposerView_build_____closure2.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_____closure1.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.log("ComposerController::clearFocus:", C.Level_3);
A.FocusScope_of(this.context).unfocus$0();
t1._closeComposerAction$0();
return null;
},
$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)).handleClickSaveAsDraftsButton$1(this.context);
},
$signature: 0
};
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)).handleClickSendButton$1(this.context);
},
$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)).toggleRequestReadReceipt$1(this.context);
},
$signature: 0
};
B.ComposerView_build____closure17.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.get$value(0);
A.Expando__checkType(t1);
return new B.InsertImageLoadingBarWidget(t3._as(t2.get(t1)).viewState.get$value(0), t4, D.EdgeInsetsDirectional_0_12_0_0, null);
},
$signature: typesOffset + 4
};
B.ComposerView_build____closure18.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");
if (J.$eq$(t3._as(t2.get(t1)).mailboxDashBoardController.attachmentDraggableAppState.get$value(0), C.DraggableAppState_0)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).imagePaths;
t5 = this.constraintsEditor;
A.Expando__checkType(t1);
return A.Positioned$fill(0, A.PointerInterceptor$(new B.AttachmentDropZoneWidget(t4, t5.maxWidth, t5.maxHeight, t3._as(t2.get(t1)).get$onAttachmentDropZoneListener(), null)));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build____closure19.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");
if (J.$eq$(t3._as(t2.get(t1)).mailboxDashBoardController.localFileDraggableAppState.get$value(0), C.DraggableAppState_0)) {
A.Expando__checkType(t1);
t4 = this.constraintsEditor;
return A.Positioned$fill(0, A.PointerInterceptor$(new A.LocalFileDropZoneWidget(t3._as(t2.get(t1)).imagePaths, t4.maxWidth, t4.maxHeight, C.EdgeInsetsDirectional_8_8_8_60, new B.ComposerView_build_____closure(t1, this.context, t4), null)));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build_____closure.prototype = {
call$1(details) {
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)).onLocalFileDropZoneListener$3$context$details$maxWidth(this.context, details, this.constraintsEditor.maxWidth);
},
$signature: 231
};
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)).handleClickCloseComposer$1(this.context);
},
$signature: 0
};
B.ComposerView_build_closure1.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");
t4 = B.ComposerStyle_getMaxHeightEmailAddressWidget(context, constraints, t3._as(t2.get(t1)).responsiveUtils);
A.Expando__checkType(t1);
t5 = A.SingleChildScrollView$(new A.Obx(new B.ComposerView_build__closure(t1, constraints), _null), t3._as(t2.get(t1)).scrollControllerEmailAddress, _null, _null, _null, _null, C.Axis_1);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).subjectEmailInputFocusNode;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).subjectEmailInputController;
A.Expando__checkType(t1);
return A.GestureDetector$(_null, 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, t4), t5, _null), new B.SubjectComposerWidget(t6, t7, t3._as(t2.get(t1)).get$setSubjectEmail(), D.EdgeInsetsDirectional_24_0_0_0, D.EdgeInsetsDirectional_0_0_24_0, _null), A.Expanded$(new A.LayoutBuilder(new B.ComposerView_build__closure1(t1, constraints), _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.DragStartBehavior_1, false, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.ComposerView_build__closure2(t1, context), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT);
},
$signature: 343
};
B.ComposerView_build__closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
A.log("ComposerController::clearFocus:", C.Level_3);
A.FocusScope_of(this.context).unfocus$0();
return null;
},
$signature: 0
};
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.get$value(0);
if (t2 == null)
t2 = "";
return B.DesktopAppBarComposerWidget$(this.constraints, null, t2, null, new B.ComposerView_build___closure6(t1, this.context));
},
$signature: typesOffset + 20
};
B.ComposerView_build___closure6.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)).handleClickCloseComposer$1(this.context);
},
$signature: 0
};
B.ComposerView_build__closure.prototype = {
call$0() {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20, t21, t22, t23, t24,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = this.$this,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t2)._eval$1("GetWidget.S");
if (t4._as(t3.get(t2)).fromRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listFromIdentities;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).identitySelected.get$value(0);
A.Expando__checkType(t2);
t7 = t4._as(t3.get(t2)).identityDropdownKey;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t1.push(B.FromComposerDropDownWidget$(t7, t8, t6, t5, D.EdgeInsetsDirectional_24_0_0_0, t4._as(t3.get(t2)).get$onChangeIdentity(), D.EdgeInsetsDirectional_0_0_24_0));
}
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listToEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
t7 = this.constraints.maxWidth;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).fromRecipientState.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).ccRecipientState.get$value(0);
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).bccRecipientState.get$value(0);
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).toAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).toEmailAddressController;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).toAddressFocusNode;
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).toAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).keyToEmailTagEditor;
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).getNextFocusOfToEmailAddress$0();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$addEmailAddressType();
A.Expando__checkType(t2);
t22 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t23 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t24 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(t11, t10, t13, t12, t14, t15, t9, t6, t17, t16, t5, D.EdgeInsetsDirectional_24_0_0_0, t7, t8, t18, t21, null, t19, t24, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t20, t23, t22, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_1));
A.Expando__checkType(t2);
if (t4._as(t3.get(t2)).ccRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listCcEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).ccAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).ccEmailAddressController;
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).ccAddressFocusNode;
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).ccAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).keyCcEmailTagEditor;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).getNextFocusOfCcEmailAddress$0();
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).get$deleteEmailAddressType();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(C.PrefixRecipientState_1, C.PrefixRecipientState_1, t10, t9, t11, t12, C.PrefixRecipientState_1, t6, t14, t13, t5, D.EdgeInsetsDirectional_24_0_0_0, t7, t8, t15, null, t18, t16, t21, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t17, t20, t19, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_2));
}
A.Expando__checkType(t2);
if (t4._as(t3.get(t2)).bccRecipientState.get$value(0) === C.PrefixRecipientState_0) {
A.Expando__checkType(t2);
t5 = t4._as(t3.get(t2)).listBccEmailAddress;
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).imagePaths;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).bccAddressExpandMode.get$value(0);
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).bccEmailAddressController;
A.Expando__checkType(t2);
t11 = t4._as(t3.get(t2)).bccAddressFocusNode;
A.Expando__checkType(t2);
t12 = t4._as(t3.get(t2)).bccAddressFocusNodeKeyboard;
A.Expando__checkType(t2);
t13 = t4._as(t3.get(t2)).keyBccEmailTagEditor;
A.Expando__checkType(t2);
t14 = t4._as(t3.get(t2)).isInitialRecipient.get$value(0);
A.Expando__checkType(t2);
t15 = t4._as(t3.get(t2)).subjectEmailInputFocusNode;
A.Expando__checkType(t2);
t16 = t4._as(t3.get(t2)).get$onEmailAddressFocusChange();
A.Expando__checkType(t2);
t17 = t4._as(t3.get(t2)).get$showFullEmailAddress();
A.Expando__checkType(t2);
t18 = t4._as(t3.get(t2)).get$deleteEmailAddressType();
A.Expando__checkType(t2);
t19 = t4._as(t3.get(t2)).get$updateListEmailAddress();
A.Expando__checkType(t2);
t20 = t4._as(t3.get(t2)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t2);
t21 = t4._as(t3.get(t2)).get$handleFocusNextAddressAction();
A.Expando__checkType(t2);
t1.push(B.RecipientComposerWidget$(C.PrefixRecipientState_1, C.PrefixRecipientState_1, t10, t9, t11, t12, C.PrefixRecipientState_1, t6, t14, t13, t5, D.EdgeInsetsDirectional_24_0_0_0, t7, t8, t15, null, t18, t16, t21, t4._as(t3.get(t2)).get$removeDraggableEmailAddress(), t17, t20, t19, D.EdgeInsetsDirectional_0_0_24_0, C.PrefixEmailAddress_3));
}
return A.Column$(t1, C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
},
$signature: 249
};
B.ComposerView_build__closure1.prototype = {
call$2(context, constraintsBody) {
var _null = null,
t1 = this.$this,
t2 = this.constraints,
t3 = 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$(A.Container$(_null, A.Column$(A._setArrayType([A.Expanded$(new A.Padding(D.EdgeInsetsDirectional_20_0_20_0, new A.Obx(new B.ComposerView_build___closure(t1, t2, context, constraintsBody), _null), _null), 1), new A.Obx(new B.ComposerView_build___closure0(t1), _null), new A.Obx(new B.ComposerView_build___closure1(t1), _null)], t3), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), C.Clip_0, _null, _null, D.BoxDecoration_omC, _null, _null, _null, _null, _null, _null, _null, _null), 1), new A.Obx(new B.ComposerView_build___closure2(t1, context, t2), _null)], t3), 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___closure3(t1), _null), _null), new A.Obx(new B.ComposerView_build___closure4(t1, constraintsBody), _null), new A.Obx(new B.ComposerView_build___closure5(t1, constraintsBody, context), _null)], t3), _null);
},
$signature: 141
};
B.ComposerView_build___closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, _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)).richTextWebController.editorController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).composerArguments.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).emailContentsViewState.get$value(0);
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$handleOnMouseDownHtmlEditorWeb();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).richTextWebController.get$onEditorSettingsChange();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).richTextWebController.get$onEditorTextSizeChanged();
t14 = _this.constraints;
A.Expando__checkType(t1);
t15 = t3._as(t2.get(t1)).get$handleOnDragEnterHtmlEditorWeb();
t16 = _this.context;
A.Expando__checkType(t1);
return B.WebEditorView$(t5, t6, t7, t4, t14.maxHeight, t9, t15, t12, t13, t10, t8, t3._as(t2.get(t1)).get$restoreCollapsibleButton(), t11, new B.ComposerView_build____closure7(t1, t16), new B.ComposerView_build____closure8(t1, t16, _this.constraintsBody), t14.maxWidth);
},
$signature: typesOffset + 3
};
B.ComposerView_build____closure8.prototype = {
call$1(listFileUpload) {
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)).handleOnPasteImageSuccessAction$3$context$listFileUpload$maxWidth(this.context, listFileUpload, this.constraintsBody.maxWidth);
},
$signature: 217
};
B.ComposerView_build____closure7.prototype = {
call$3(listFileUpload, base64, 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)).handleOnPasteImageFailureAction$4$base64$context$listFileUpload$uploadError(base64, this.context, listFileUpload, uploadError);
},
$signature: 216
};
B.ComposerView_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)).uploadController.listUploadAttachments;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).uploadController;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).isAttachmentCollapsed;
A.Expando__checkType(t1);
return new B.AttachmentComposerWidget(t4.listUploadAttachments, t5, t3._as(t2.get(t1)).get$deleteAttachmentUploaded(), new B.ComposerView_build____closure6(t1), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build____closure6.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: 16
};
B.ComposerView_build___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)).richTextWebController.formattingOptionsState.get$value(0) === C.FormattingOptionsState_0) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).richTextWebController;
t1.toString;
return A.ToolbarRichTextWebBuilder$(D.BoxDecoration_8sn, null, D.EdgeInsetsDirectional_24_8_24_8, t1);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build___closure2.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.get$value(0);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).richTextWebController.formattingOptionsState.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).hasRequestReadReceipt.get$value(0);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).richTextWebController.get$toggleFormattingOptions();
t8 = this.context;
A.Expando__checkType(t1);
return B.BottomBarComposerWidget$(new B.ComposerView_build____closure0(t1, t8), new B.ComposerView_build____closure1(t1, t8), t6, new B.ComposerView_build____closure2(t1, t8, this.constraints), t4 === C.CodeViewState_0, t5 === C.FormattingOptionsState_0, t7, new B.ComposerView_build____closure3(t1, t8), new B.ComposerView_build____closure4(t1, t8), new B.ComposerView_build____closure5(t1, t8), t3._as(t2.get(t1)).richTextWebController.get$toggleCodeView());
},
$signature: typesOffset + 19
};
B.ComposerView_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)).openFilePickerByType$2(this.context, C.FileType_0);
},
$signature: 0
};
B.ComposerView_build____closure2.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____closure1.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.log("ComposerController::clearFocus:", C.Level_3);
A.FocusScope_of(this.context).unfocus$0();
t1._closeComposerAction$0();
return null;
},
$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)).handleClickSaveAsDraftsButton$1(this.context);
},
$signature: 0
};
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)).handleClickSendButton$1(this.context);
},
$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)).toggleRequestReadReceipt$1(this.context);
},
$signature: 0
};
B.ComposerView_build___closure3.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.get$value(0);
A.Expando__checkType(t1);
return new B.InsertImageLoadingBarWidget(t3._as(t2.get(t1)).viewState.get$value(0), t4, D.EdgeInsetsDirectional_0_12_0_0, null);
},
$signature: typesOffset + 4
};
B.ComposerView_build___closure4.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");
if (J.$eq$(t3._as(t2.get(t1)).mailboxDashBoardController.attachmentDraggableAppState.get$value(0), C.DraggableAppState_0)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).imagePaths;
t5 = this.constraintsBody;
A.Expando__checkType(t1);
return A.Positioned$fill(0, A.PointerInterceptor$(new B.AttachmentDropZoneWidget(t4, t5.maxWidth, t5.maxHeight, t3._as(t2.get(t1)).get$onAttachmentDropZoneListener(), null)));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build___closure5.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");
if (J.$eq$(t3._as(t2.get(t1)).mailboxDashBoardController.localFileDraggableAppState.get$value(0), C.DraggableAppState_0)) {
A.Expando__checkType(t1);
t4 = this.constraintsBody;
return A.Positioned$fill(0, A.PointerInterceptor$(new A.LocalFileDropZoneWidget(t3._as(t2.get(t1)).imagePaths, t4.maxWidth, t4.maxHeight, C.EdgeInsetsDirectional_8_8_8_60, new B.ComposerView_build____closure(t1, this.context, t4), null)));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ComposerView_build____closure.prototype = {
call$1(details) {
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)).onLocalFileDropZoneListener$3$context$details$maxWidth(this.context, details, this.constraintsBody.maxWidth);
},
$signature: 231
};
B.ComposerView__createMoreOptionPopupItems_closure.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, 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)).richTextWebController;
if (t1 != null)
t1.toggleCodeView$0();
},
$signature: 0
};
B.ComposerView__createMoreOptionPopupItems_closure0.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).toggleRequestReadReceipt$1(this.context);
},
$signature: 0
};
B.ComposerView__createMoreOptionPopupItems_closure1.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleClickSaveAsDraftsButton$1(this.context);
},
$signature: 0
};
B.ComposerView__createMoreOptionPopupItems_closure2.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, 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.log("ComposerController::clearFocus:", C.Level_3);
A.FocusScope_of(this.context).unfocus$0();
t1._closeComposerAction$0();
},
$signature: 0
};
B.FromComposerDropDownWidgetStyle_menuIemStyleData_closure.prototype = {
call$1(states) {
return C.Color_4294967295;
},
$signature: 13
};
B.DesktopResponsiveContainerView_build_closure.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 226
};
B.DesktopResponsiveContainerView_build_closure0.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 226
};
B.MobileResponsiveContainerView_build_closure.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 226
};
B.TabletResponsiveContainerView_build_closure.prototype = {
call$2(context, constraints) {
return A.PointerInterceptor$(this.$this.childBuilder.call$2(context, constraints));
},
$signature: 226
};
B.WebEditorView_build_closure.prototype = {
call$1(failure) {
var t3,
t1 = this.$this,
t2 = t1.currentWebContent;
if (t2 == null)
t2 = "<div><br><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.onDragEnter, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onInitial, t1.onInitialContentLoadComplete, t1.onMouseDown, t1.onPasteImageFailureAction, t1.onPasteImageSuccessAction, null, t1.width);
},
$signature: typesOffset + 16
};
B.WebEditorView_build_closure0.prototype = {
call$1(success) {
var newContent, t1, t2, t3,
_s19_ = "<div><br><br></div>";
if (success instanceof A.GetEmailContentLoading || success instanceof A.RestoringEmailInlineImages)
return D.CupertinoLoadingWidget_2jN0;
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.onDragEnter, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onInitial, t1.onInitialContentLoadComplete, t1.onMouseDown, t1.onPasteImageFailureAction, t1.onPasteImageSuccessAction, null, t1.width);
}
},
$signature: 52
};
B.WebEditorView_build_closure1.prototype = {
call$1(failure) {
var t4, t5, t6, emailContentQuoted,
t1 = this.$this,
t2 = this.context,
t3 = t2.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t3.toString;
t4 = A.Localizations_of(t2, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t4.toString;
t5 = t1.$arguments;
t6 = t5.emailActionType;
t5 = t5.presentationEmail;
t5.toString;
emailContentQuoted = t1.getEmailContentQuotedAsHtml$5$appLocalizations$emailActionType$emailContent$locale$presentationEmail(t4, t6, "", t3, t5);
t5 = t1.currentWebContent;
t3 = t5 == null ? emailContentQuoted : t5;
t2 = A.Directionality_maybeOf(t2);
if (t2 == null)
t2 = C.TextDirection_1;
return B.WebEditorWidget$(t3, t2, t1.editorController, t1.height, t1.onChangeContent, t1.onDragEnter, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onInitial, t1.onInitialContentLoadComplete, t1.onMouseDown, t1.onPasteImageFailureAction, t1.onPasteImageSuccessAction, null, t1.width);
},
$signature: typesOffset + 16
};
B.WebEditorView_build_closure2.prototype = {
call$1(success) {
var t1, t2, t3, t4, t5, t6, t7, emailContentQuoted;
if (success instanceof A.TransformHtmlEmailContentLoading)
return D.CupertinoLoadingWidget_2jN0;
else {
t1 = this.$this;
t2 = this.context;
t3 = t2.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale;
t3.toString;
t4 = A.Localizations_of(t2, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t4.toString;
t5 = success instanceof A.TransformHtmlEmailContentSuccess ? success.htmlContent : "";
t6 = t1.$arguments;
t7 = t6.emailActionType;
t6 = t6.presentationEmail;
t6.toString;
emailContentQuoted = t1.getEmailContentQuotedAsHtml$5$appLocalizations$emailActionType$emailContent$locale$presentationEmail(t4, t7, t5, t3, t6);
t6 = t1.currentWebContent;
t3 = t6 == null ? emailContentQuoted : t6;
t2 = A.Directionality_maybeOf(t2);
if (t2 == null)
t2 = C.TextDirection_1;
return B.WebEditorWidget$(t3, t2, t1.editorController, t1.height, t1.onChangeContent, t1.onDragEnter, t1.onEditorSettings, t1.onEditorTextSizeChanged, t1.onFocus, t1.onInitial, t1.onInitialContentLoadComplete, t1.onMouseDown, t1.onPasteImageFailureAction, t1.onPasteImageSuccessAction, null, t1.width);
}
},
$signature: 52
};
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.uploadTaskId);
return t1;
},
$signature: 0
};
B.InsertImageLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
var t1 = this.$this;
return t1._viewStateToUI$1(t1.viewState);
},
$signature: 117
};
B.InsertImageLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
var t1 = this.$this;
if (success instanceof A.UploadingAttachmentUploadState)
return B.CircleLoadingWidget$(t1.padding);
else
return t1._viewStateToUI$1(t1.viewState);
},
$signature: 52
};
B.InsertImageLoadingBarWidget__viewStateToUI_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B.InsertImageLoadingBarWidget__viewStateToUI_closure0.prototype = {
call$1(success) {
if (success instanceof A.DownloadingImageAsBase64)
return B.CircleLoadingWidget$(this.$this.padding);
else
return C.SizedBox_0_0_null_null;
},
$signature: 52
};
B._RecipientComposerWidgetState_build_closure0.prototype = {
call$1($focus) {
var t1 = this.$this._widget;
t1 = t1.onFocusEmailAddressChangeAction.call$2(t1.prefix, $focus);
return t1;
},
$signature: 16
};
B._RecipientComposerWidgetState_build_closure.prototype = {
call$2(context, stateSetter) {
var t1 = this.$this;
return A.DragTarget$(new B._RecipientComposerWidgetState_build__closure(t1, 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: 1685
};
B._RecipientComposerWidgetState_build__closure.prototype = {
call$3(context, candidateData, rejectedData) {
var t9, t10, _null = null,
t1 = this.$this,
t2 = t1._widget.keyTagEditor,
t3 = t1.get$_recipient_composer_widget$_collapsedListEmailAddress().length,
t4 = t1._widget,
t5 = t4.controller,
t6 = t4.focusNode,
t7 = t1._recipient_composer_widget$_isDragging,
t8 = t4.focusNodeKeyboard;
if (t4.prefix !== C.PrefixEmailAddress_1) {
t9 = t1.___RecipientComposerWidgetState__currentListEmailAddress_A;
t9 === $ && A.throwUnnamedLateFieldNI();
t9 = t9.length === 0;
} else
t9 = false;
t10 = this.stateSetter;
return A.TagEditor$(true, false, t9, _null, 10, _null, t5, C.Color_4278221567, C.Duration_150000, t7, C.Color_4278221567, true, t1.get$_recipient_composer_widget$_findSuggestions(), t6, t8, _null, C.InputDecoration_LLF, t2, C.TextInputType_5_null_null, t3, 20, new B._RecipientComposerWidgetState_build___closure1(t1, t10), new B._RecipientComposerWidgetState_build___closure2(t1, t10), new B._RecipientComposerWidgetState_build___closure3(t1), _null, new B._RecipientComposerWidgetState_build___closure4(t1, t10), new B._RecipientComposerWidgetState_build___closure5(t1, t10), new B._RecipientComposerWidgetState_build___closure6(t1, t10), new B._RecipientComposerWidgetState_build___closure7(), _null, true, t1._recipient_composer_widget$_getSuggestionBoxWidth$1(t4.maxWidth), new B._RecipientComposerWidgetState_build___closure8(t1, t10), _null, _null, C.Color_4294967295, 20, 350, 20, new B._RecipientComposerWidgetState_build___closure9(t1, t10), 8, C.TextInputAction_2, C.TextStyle_69t6, false, type$.SuggestionEmailAddress);
},
$signature: typesOffset + 34
};
B._RecipientComposerWidgetState_build___closure2.prototype = {
call$1(focused) {
return this.$this.get$_recipient_composer_widget$_handleFocusTagAction().call$2(focused, this.stateSetter);
},
$signature: 16
};
B._RecipientComposerWidgetState_build___closure1.prototype = {
call$0() {
return this.$this.get$_recipient_composer_widget$_handleDeleteLatestTagAction().call$1(this.stateSetter);
},
$signature: 0
};
B._RecipientComposerWidgetState_build___closure4.prototype = {
call$1(item) {
return this.$this.get$_recipient_composer_widget$_handleSelectOptionAction().call$2(item, this.stateSetter);
},
$signature: typesOffset + 35
};
B._RecipientComposerWidgetState_build___closure5.prototype = {
call$1(value) {
return this.$this.get$_recipient_composer_widget$_handleSubmitTagAction().call$2(value, this.stateSetter);
},
$signature: 8
};
B._RecipientComposerWidgetState_build___closure7.prototype = {
call$1(_) {
},
$signature: 86
};
B._RecipientComposerWidgetState_build___closure3.prototype = {
call$0() {
var t1 = this.$this;
if (t1.get$_recipient_composer_widget$_isCollapse()) {
t1 = t1._widget;
t1.onShowFullListEmailAddressAction.call$1(t1.prefix);
}
},
$signature: 9
};
B._RecipientComposerWidgetState_build___closure9.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;
t3 = t2.imagePaths;
t2 = t2.prefix;
t4 = t1.___RecipientComposerWidgetState__currentListEmailAddress_A;
t5 = t1.get$_recipient_composer_widget$_collapsedListEmailAddress();
t6 = t1.get$_recipient_composer_widget$_isCollapse();
t7 = t1._recipient_composer_widget$_lastTagFocused;
t8 = t1._widget;
return new B.RecipientTagItemWidget(t6, t7, isLatestEmail, t3, t8.maxWidth, index, t2, currentEmailAddress, t4, t5, t8.onShowFullListEmailAddressAction, new B._RecipientComposerWidgetState_build____closure(t1, this.stateSetter), null);
},
$signature: typesOffset + 36
};
B._RecipientComposerWidgetState_build____closure.prototype = {
call$1(emailAddress) {
return this.$this.get$_recipient_composer_widget$_handleDeleteTagAction().call$2(emailAddress, this.stateSetter);
},
$signature: 58
};
B._RecipientComposerWidgetState_build___closure6.prototype = {
call$1(value) {
return this.$this.get$_recipient_composer_widget$_handleOnTagChangeAction().call$2(value, this.stateSetter);
},
$signature: 8
};
B._RecipientComposerWidgetState_build___closure8.prototype = {
call$7(context, tagEditorState, suggestionEmailAddress, index, $length, highlight, suggestionValid) {
var t1 = this.$this;
return new B.RecipientSuggestionItemWidget(suggestionEmailAddress.state, suggestionEmailAddress.emailAddress, t1._widget.imagePaths, suggestionValid, highlight, new B._RecipientComposerWidgetState_build____closure0(t1, this.stateSetter, tagEditorState), null);
},
$signature: typesOffset + 37
};
B._RecipientComposerWidgetState_build____closure0.prototype = {
call$1(emailAddress) {
var t1 = this.$this;
this.stateSetter.call$1(new B._RecipientComposerWidgetState_build_____closure(t1, emailAddress));
t1._recipient_composer_widget$_updateListEmailAddressAction$0();
t1 = this.tagEditorState;
t1.resetTextField$0();
t1.closeSuggestionBox$0();
},
$signature: 224
};
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._recipient_composer_widget$_handleAcceptDraggableEmailAddressAction$2(draggableEmailAddress.data, this.stateSetter);
},
$signature: 261
};
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: 631
};
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: 261
};
B._RecipientComposerWidgetState_build___closure.prototype = {
call$0() {
return this.$this._recipient_composer_widget$_isDragging = true;
},
$signature: 0
};
B._RecipientComposerWidgetState_build_closure1.prototype = {
call$0() {
var t1 = this.$this._widget.onAddEmailAddressTypeAction;
return t1 == null ? null : t1.call$1(C.PrefixEmailAddress_0);
},
$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__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 + 13
};
B._RecipientComposerWidgetState__isDuplicatedRecipient_closure.prototype = {
call$1(emailAddress) {
return emailAddress.email;
},
$signature: 129
};
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: 46
};
B._RecipientComposerWidgetState__matchedSuggestionEmailAddress_closure0.prototype = {
call$1(emailAddress) {
return new F.SuggestionEmailAddress0(emailAddress, E.SuggestionEmailState_10);
},
$signature: typesOffset + 13
};
B._RecipientComposerWidgetState__handleFocusTagAction_closure.prototype = {
call$0() {
return this.$this._recipient_composer_widget$_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_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onDeleteTagAction.call$1(t1.currentEmailAddress);
return t1;
},
$signature: 0
};
B.RecipientTagItemWidget_build_closure0.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: 73
};
B._AttachmentComposerWidgetState_build__closure.prototype = {
call$0() {
return this.$this._isCollapsed = !this.isCollapsed;
},
$signature: 0
};
B._AttachmentComposerWidgetState_build_closure0.prototype = {
call$1(file) {
var t5,
t1 = this.$this,
t2 = file.getIcon$1(t1._attachment_composer_widget$_imagePaths),
t3 = file.get$fileName(),
t4 = A.filesize(file.get$fileSize(), 2);
t1 = t1._widget.onDeleteAttachmentAction;
$.$get$Get();
t5 = $.GetInstance__getInstance;
if (t5 == null)
t5 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.AttachmentItemComposerWidget(t5.find$1$1$tag(0, null, type$.ImagePaths), t2, t3, t4, file.uploadStatus, file.uploadingProgress / 100, file.uploadTaskId, t1, null);
},
$signature: typesOffset + 39
};
B.AttachmentDropZoneWidget_build_closure.prototype = {
call$3(context, _, __) {
var _null = null,
t1 = this.$this,
t2 = $.$get$DropZoneWidgetStyle_backgroundColor(),
t3 = A.SvgPicture$asset("assets/images/ic_drop_zone_icon.svg", C.Alignment_0_0, _null, C.BoxFit_1, _null, _null, _null, _null);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return new A.SizedBox(t1.width, t1.height, new A.Padding(C.EdgeInsetsDirectional_8_8_8_60, A.DottedBorder$(C.BorderType_1, A.Container$(C.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, C.TextStyle_69t5, _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, new A.ShapeDecoration(t2, _null, _null, _null, C.RoundedRectangleBorder_NYu3), _null, _null, _null, _null, C.EdgeInsets_20_20_20_20, _null, _null, _null), C.Color_4282819327, C.List_6_3, C.Radius_16_16, 2), _null), _null);
},
$signature: 1689
};
B.AttachmentDropZoneWidget_build_closure0.prototype = {
call$1(details) {
var t1 = this.$this.onAttachmentDropZoneListener.call$1(details.data);
return t1;
},
$signature: 1690
};
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 === C.ScreenDisplayMode_0 ? C.ScreenDisplayMode_2 : C.ScreenDisplayMode_0);
},
$signature: 0
};
B.FromComposerDropDownWidget_build_closure.prototype = {
call$1(item) {
var t4, t5, _null = null,
t1 = A.Border_Border$all(C.Color_335544320, 0.5),
t2 = item.name,
t3 = t2.length !== 0;
if (t3)
t4 = A.StringExtension_get_firstLetterToUpperCase(t2);
else {
t4 = item.email;
t4.toString;
t4 = A.StringExtension_get_firstLetterToUpperCase(t4);
}
t1 = A.Container$(C.Alignment_0_0, A.Text$(t4, _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_69t16, _null, _null, _null, _null, _null), C.Clip_0, _null, _null, new A.BoxDecoration(C.Color_4294506744, _null, t1, _null, _null, _null, _null, C.BoxShape_1), _null, 48, _null, _null, _null, _null, _null, 48);
t4 = type$.JSArray_Widget;
t5 = A._setArrayType([], t4);
if (t3)
t5.push(A.Text$(t2, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, D.TextStyle_FAo, _null, _null, _null, _null, _null));
t2 = item.email;
if (t2.length !== 0)
t5.push(A.Text$(t2, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_8aB1, _null, _null, _null, _null, _null));
return A.DropdownMenuItem$(A.PointerInterceptor$(A.Container$(_null, A.Row$(A._setArrayType([t1, C.SizedBox_12_null_null_null, A.Expanded$(A.Column$(t5, C.CrossAxisAlignment_0, C.MainAxisAlignment_2, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t4), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_0, _null, _null, _null, _null, _null, _null, C.EdgeInsets_0_12_0_12, _null, _null, _null)), item, type$.Identity);
},
$signature: 1691
};
B.MinimizeComposerWidget_build_closure.prototype = {
call$0() {
return this.$this.onChangeDisplayModeAction.call$1(C.ScreenDisplayMode_0);
},
$signature: 0
};
B.MinimizeComposerWidget_build_closure0.prototype = {
call$0() {
return this.$this.onChangeDisplayModeAction.call$1(C.ScreenDisplayMode_2);
},
$signature: 0
};
B._WebEditorState_initState_closure.prototype = {
call$1($event) {
var t1;
if (type$.MessageEvent._is($event))
if (J.$eq$(J.$index$asx(C.C_JsonCodec.decode$2$reviver(0, new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.data, true), null), "name"), D.Record2_i3y._0)) {
t1 = this.$this.___WebEditorState__editorController_A;
t1 === $ && A.throwUnnamedLateFieldNI();
t1.evaluateJavascriptWeb$1(D.Record2_wQ8._0);
}
},
$signature: 465
};
B._WebEditorState_build_closure.prototype = {
call$3(context, height, _) {
var t3, t4, t5, t6, t7, t8, t9,
t1 = this.$this,
t2 = t1.___WebEditorState__editorController_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t3 = t1._widget;
t4 = t3.content;
t4 = A.HtmlEditorOptions$(A.HtmlUtils_customCssStyleHtmlEditor(t3.direction), false, true, "", t4, true, true, new A.UnmodifiableListView(A._setArrayType([new B.WebScript(D.Record2_wQ8._0, D.Record2_wQ8._1), new B.WebScript(D.Record2_i3y._0, D.Record2_i3y._1), new B.WebScript(D.Record2_inI._0, D.Record2_inI._1)], type$.JSArray_WebScript), type$.UnmodifiableListView_WebScript));
t3 = t1._widget;
t5 = t3.onChangeContent;
t6 = t3.onFocus;
t7 = t3.onUnFocus;
t8 = t3.onEditorSettings;
t9 = t3.onEditorTextSizeChanged;
return A.HtmlEditor$(A.Callbacks$(t5, t7, t5, t5, t8, t3.onDragEnter, new B._WebEditorState_build__closure(), t6, t3.onPasteImageSuccessAction, t3.onPasteImageFailureAction, new B._WebEditorState_build__closure0(t1), t3.onInitialContentLoadComplete, new B._WebEditorState_build__closure1(t1, context), new B._WebEditorState_build__closure2(t1), t9), t2, t4, C.HtmlToolbarOptions_List_empty_ToolbarType_3, new A.ValueKey("web_editor_" + A.S(height), type$.ValueKey_String), new A.OtherOptions(height));
},
$signature: 1692
};
B._WebEditorState_build__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._widget;
t2.onInitial.call$1(t2.content);
if (!t1._dropListenerRegistered) {
t2 = t1.___WebEditorState__editorController_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t2.evaluateJavascriptWeb$1(D.Record2_i3y._0);
t1._dropListenerRegistered = true;
}
},
$signature: 0
};
B._WebEditorState_build__closure1.prototype = {
call$0() {
var t1 = this.$this._widget.onMouseDown.call$1(this.context);
return t1;
},
$signature: 0
};
B._WebEditorState_build__closure2.prototype = {
call$0() {
var t1 = this.$this.___WebEditorState__editorController_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.evaluateJavascriptWeb$1(D.Record2_wQ8._0);
},
$signature: 0
};
B._WebEditorState_build__closure.prototype = {
call$1(_) {
},
$signature: 257
};
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.get$value(0);
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.LayoutBuilder(new B.EmailView_build__closure1(t1, t4), _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;
t3 = t3.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t6 = $.GetInstance__getInstance;
if (t6 == null)
t6 = $.GetInstance__getInstance = C.C_GetInstance;
t5.push(new B.EmailViewBottomBarWidget(t2, t3, t6.find$1$1$tag(0, _null, type$.SingleEmailController), 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: 3
};
B.EmailView_build__closure.prototype = {
call$0() {
var t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, _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;
t6 = t6.simpleSearchIsActivated.get$value(0) || t6.advancedSearchIsActivated.get$value(0);
t7 = this.context;
A.Expando__checkType(t2);
t8 = t4._as(t3.get(t2)).emailSupervisorController.supportedPageView.get$value(0);
if (t8) {
t8 = type$._LocalizationsScope;
if (A.Bidi_isRtlLanguage(t7.dependOnInheritedWidgetOfExactType$1$0(t8).localizationsState._localizations$_locale.get$languageCode(0))) {
A.Expando__checkType(t2);
t4._as(t3.get(t2)).toString;
t9 = _s26_;
} else {
A.Expando__checkType(t2);
t4._as(t3.get(t2)).toString;
t9 = _s26_0;
}
A.Expando__checkType(t2);
t10 = t4._as(t3.get(t2)).emailSupervisorController.get$nextEmailActivated() ? C.Color_4278221567 : C.Color_4289640386;
t11 = $.EmailViewStyles_pageViewIconSize;
t12 = type$.AppLocalizations;
A.Localizations_of(t7, C.Type_AppLocalizations_CTL, t12).toString;
t13 = A.Intl__message("Newer", _null, "newer", _null, _null);
A.Expando__checkType(t2);
t13 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t9, t10, t11, _null, _null, 1 / 0, _null, t4._as(t3.get(t2)).emailSupervisorController.get$moveToNextEmail(), C.EdgeInsets_5_5_5_5, t13);
if (A.Bidi_isRtlLanguage(t7.dependOnInheritedWidgetOfExactType$1$0(t8).localizationsState._localizations$_locale.get$languageCode(0))) {
A.Expando__checkType(t2);
t4._as(t3.get(t2)).toString;
t8 = _s26_0;
} else {
A.Expando__checkType(t2);
t4._as(t3.get(t2)).toString;
t8 = _s26_;
}
A.Expando__checkType(t2);
t9 = t4._as(t3.get(t2)).emailSupervisorController.get$previousEmailActivated() ? C.Color_4278221567 : C.Color_4289640386;
t10 = $.EmailViewStyles_pageViewIconSize;
A.Localizations_of(t7, C.Type_AppLocalizations_CTL, t12).toString;
t12 = A.Intl__message("Older", _null, "older", _null, _null);
A.Expando__checkType(t2);
t12 = A._setArrayType([t13, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t8, t9, t10, _null, _null, 1 / 0, _null, t4._as(t3.get(t2)).emailSupervisorController.get$backToPreviousEmail(), C.EdgeInsets_5_5_5_5, t12)], type$.JSArray_Widget);
t3 = t12;
} 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;
t8 = t8.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t9 = $.GetInstance__getInstance;
if (t9 == null)
t9 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.EmailViewAppBarWidget(t4, t8, t9.find$1$1$tag(0, _null, type$.SingleEmailController), t1, t3, t5, t6, new B.EmailView_build___closure0(t2, t7), new B.EmailView_build___closure1(t2, t7), new B.EmailView_build___closure2(t2, t7), D.ValueKey_email_view_app_bar_widget);
},
$signature: typesOffset + 40
};
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)).closeEmailView$1$context(this.context);
},
$signature: 0
};
B.EmailView_build___closure1.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: 632
};
B.EmailView_build___closure2.prototype = {
call$2(presentationEmail, position) {
var t4, mailboxContain, t5, t6, t7, t8, _null = null,
t1 = this.$this,
t2 = this.context,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t1)._eval$1("GetWidget.S");
mailboxContain = t4._as(t3.get(t1)).getMailboxContain$1(presentationEmail);
t5 = A._setArrayType([C.EmailActionType_5], type$.JSArray_EmailActionType);
t6 = mailboxContain == null;
if (t6)
t7 = _null;
else {
t7 = mailboxContain.namespace;
t7 = !(t7 == null || t7.$eq(0, new A.Namespace("Personal"))) && A.PresentationMailboxExtension_hasParentId(mailboxContain);
}
if (t7 === false) {
if (t6)
t7 = _null;
else {
t7 = mailboxContain.role;
t8 = J.getInterceptor$(t7);
t7 = t8.$eq(t7, $.$get$PresentationMailbox_roleSpam()) || t8.$eq(t7, $.$get$PresentationMailbox_roleJunk());
}
if (t7 === true)
t5.push(C.EmailActionType_21);
else
t5.push(C.EmailActionType_20);
}
t7 = presentationEmail.from;
if ((t7 == null ? _null : t7._collection$_length !== 0) === true)
t5.push(C.EmailActionType_23);
if (!presentationEmail.get$isSubscribed()) {
A.Expando__checkType(t1);
t7 = t4._as(t3.get(t1)).emailUnsubscribe.get$value(0) != null;
} else
t7 = false;
if (t7)
t5.push(C.EmailActionType_24);
if ((t6 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleArchive())) === false)
t5.push(C.EmailActionType_26);
t6 = $.$get$_context().$index(0, "flutterCanvasKit");
if (t6 != null)
t5.push(C.EmailActionType_28);
if (position == null) {
A.Expando__checkType(t1);
t4._as(t3.get(t1)).openContextMenuAction$2(t2, t1._emailActionMoreActionTile$3(t2, presentationEmail, t5));
} else {
A.Expando__checkType(t1);
t4._as(t3.get(t1)).openPopupMenuAction$3(t2, position, t1._popupMenuEmailActionTile$3(t2, presentationEmail, t5));
}
return _null;
},
$signature: 348
};
B.EmailView_build__closure0.prototype = {
call$0() {
var t3, vacation, 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");
vacation = t3._as(t2.get(t1)).mailboxDashBoardController.vacationResponse.get$value(0);
if (vacation == null)
t4 = _null;
else
t4 = F.VacationResponseExtension_get_vacationResponderIsReady(vacation) && !F.VacationResponseExtension_get_vacationResponderIsStopped(vacation);
if (t4 === true) {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t4 = this.context;
t5 = type$.MediaQuery;
if (!(A.InheritedModel_inheritFrom(t4, C._MediaQueryAspect_0, t5).data.size._dx < 600)) {
A.Expando__checkType(t1);
if (!t3._as(t2.get(t1)).responsiveUtils.isTablet$1(t4)) {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t4 = A.InheritedModel_inheritFrom(t4, C._MediaQueryAspect_0, t5).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t4, _null, t5).data.get$orientation(0) === C.Orientation_1;
} 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, E.EdgeInsetsDirectional_12_8_12_0, _null, vacation);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.EmailView_build__closure1.prototype = {
call$2(context, constraints) {
return new A.Obx(new B.EmailView_build___closure(this.$this, constraints, this.currentEmail, context), null);
},
$signature: 633
};
B.EmailView_build___closure.prototype = {
call$0() {
var t3, _this = this,
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)).emailSupervisorController.supportedPageView.get$value(0);
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
return new A.Obx(new B.EmailView_build____closure(t1, _this.currentEmail, _this.context, _this.constraints), null);
},
$signature: 3
};
B.EmailView_build____closure.prototype = {
call$0() {
var calendarEvent, t3, t4, t5, _this = this, _null = null,
t1 = _this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
calendarEvent = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).get$calendarEvent();
t2 = _this.currentEmail;
t3 = t2.get$hasCalendarEvent() && calendarEvent != null;
t4 = _this.context;
t5 = _this.constraints.maxHeight;
if (t3)
return new A.Padding(D.EdgeInsetsDirectional_4_0_4_0, A.SingleChildScrollView$(A.Container$(C.Alignment_0_0, t1._buildEmailMessage$5$calendarEvent$context$emailAddressSender$maxBodyHeight$presentationEmail(calendarEvent, t4, A.SetEmailAddressExtension_getListAddress(B.PresentationEmailExtension_get_listEmailAddressSender(t2)), t5, 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), _null);
else
return t1._buildEmailMessage$3$context$maxBodyHeight$presentationEmail(t4, t5, t2);
},
$signature: 3
};
B.EmailView__buildEmailMessage_closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, _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)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).responsiveUtils;
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).currentEmailLoaded.get$value(0);
if (t6 == null)
t6 = null;
else {
t6 = t6.emailCurrent;
t6 = t6 == null ? null : A.EmailExtension_get_sMimeStatus(t6);
}
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).emailUnsubscribe.get$value(0);
A.Expando__checkType(t1);
return new B.InformationSenderAndReceiverBuilder(_this.presentationEmail, t5, t4, t7, t3._as(t2.get(t1)).get$openEmailAddressDialog(), new B.EmailView__buildEmailMessage__closure5(t1, _this.context), _this.maxBodyHeight, t6, null);
},
$signature: typesOffset + 41
};
B.EmailView__buildEmailMessage__closure5.prototype = {
call$2(presentationEmail, actionType) {
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, presentationEmail, actionType);
},
$signature: 632
};
B.EmailView__buildEmailMessage_closure0.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)).mailboxDashBoardController.selectedEmail.get$value(0);
A.Expando__checkType(t1);
return new B.MailUnsubscribedBanner(t4, t3._as(t2.get(t1)).emailUnsubscribe.get$value(0), null);
},
$signature: typesOffset + 42
};
B.EmailView__buildEmailMessage_closure1.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)).attachments;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).responsiveUtils;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).attachments;
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).imagePaths;
A.Expando__checkType(t1);
t7 = this.context;
return new B.EmailAttachmentsWidget(t5, t3._as(t2.get(t1)).mailboxDashBoardController.get$enableAttachmentDraggableApp(), new B.EmailView__buildEmailMessage__closure1(t1), new B.EmailView__buildEmailMessage__closure2(t1, t7), new B.EmailView__buildEmailMessage__closure3(t1, t7), t4, t6, new B.EmailView__buildEmailMessage__closure4(t1, t7), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.EmailView__buildEmailMessage__closure1.prototype = {
call$1(details) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).mailboxDashBoardController.attachmentDraggableAppState.set$value(0, C.DraggableAppState_1);
},
$signature: typesOffset + 86
};
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)).downloadAttachmentForWeb$1(attachment);
return null;
},
$signature: 127
};
B.EmailView__buildEmailMessage__closure3.prototype = {
call$1(attachment) {
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)).handleViewAttachmentAction$2(this.context, attachment);
},
$signature: 127
};
B.EmailView__buildEmailMessage__closure4.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);
return t4.openAttachmentList$2(this.context, t3._as(t2.get(t1)).attachments);
},
$signature: 0
};
B.EmailView__buildEmailMessage_closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return new B.EmailViewLoadingBarWidget(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).emailLoadedViewState.get$value(0), null);
},
$signature: typesOffset + 44
};
B.EmailView__buildEmailMessage_closure3.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)).get$openNewComposerAction();
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).get$openNewTabAction();
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).get$calendarEventProcessing();
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).mailboxDashBoardController.selectedEmail.get$value(0);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).get$handleMailToAttendees();
$.$get$Get();
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.CalendarEventInformationWidget(this.calendarEvent, t5, t4, new B.EmailView__buildEmailMessage__closure0(t1, this.presentationEmail), t6, t7, t2, t3.find$1$1$tag(0, null, type$.ResponsiveUtils), null);
},
$signature: typesOffset + 45
};
B.EmailView__buildEmailMessage__closure0.prototype = {
call$1(eventActionType) {
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.presentationEmail.id;
t2.toString;
return t1.onCalendarEventReplyAction$2(eventActionType, t2);
},
$signature: 1696
};
B.EmailView__buildEmailMessage_closure4.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)).currentEmailLoaded.get$value(0);
t4 = t4 == null ? null : t4.htmlContent;
if (t4 == null)
t4 = "";
A.Expando__checkType(t1);
t5 = J.$eq$(t3._as(t2.get(t1)).mailboxDashBoardController.attachmentDraggableAppState.get$value(0), C.DraggableAppState_0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).get$openMailToLink();
A.Expando__checkType(t1);
t3._as(t2.get(t1)).mailboxDashBoardController.selectedEmail.get$value(0);
return new B.CalendarEventDetailWidget(this.calendarEvent, t4, t5, t6, null);
},
$signature: typesOffset + 46
};
B.EmailView__buildEmailMessage_closure5.prototype = {
call$0() {
var t3, allEmailContents,
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)).emailContents.get$value(0) != null) {
A.Expando__checkType(t1);
allEmailContents = t3._as(t2.get(t1)).emailContents.get$value(0);
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: 3
};
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: 633
};
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, t7, t1, t6, t2)], type$.JSArray_Widget);
A.Expando__checkType(t3);
if (J.$eq$(t5._as(t4.get(t3)).mailboxDashBoardController.attachmentDraggableAppState.get$value(0), C.DraggableAppState_0))
t6.push(A.PointerInterceptor$(new A.SizedBox(t2, t1, _null, _null)));
A.Expando__checkType(t3);
if (J.$eq$(t5._as(t4.get(t3)).mailboxDashBoardController.localFileDraggableAppState.get$value(0), 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: 1697
};
B.EmailView__emailActionMoreActionTile_closure.prototype = {
call$1(action) {
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 = A.SvgPicture$asset(B.EmailActionTypeExtension_getIcon(action, t3._as(t2.get(t1)).imagePaths), C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4278221567), C.BoxFit_0, 24, null, null, 24);
t5 = this.context;
t6 = B.EmailActionTypeExtension_getTitle(action, t5);
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t7 = type$.MediaQuery;
t8 = A.InheritedModel_inheritFrom(t5, C._MediaQueryAspect_0, t7).data.size.get$shortestSide() < 600 ? E.EdgeInsetsDirectional_12_0_16_0 : C.EdgeInsetsDirectional_0_0_12_0;
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
A.InheritedModel_inheritFrom(t5, C._MediaQueryAspect_0, t7).data.size.get$shortestSide();
t2 = new B.EmailActionCupertinoActionSheetActionBuilder(this.presentationEmail, t8, new A.ValueKey(action._core$_name + "_action", type$.ValueKey_String), t4, t6);
t2.onCupertinoActionSheetActionClick = new B.EmailView__emailActionMoreActionTile__closure(t1, t5, action);
return t2.build$0();
},
$signature: 1698
};
B.EmailView__emailActionMoreActionTile__closure.prototype = {
call$1(presentationEmail) {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, null);
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleEmailAction$3(this.context, presentationEmail, this.action);
},
$signature: 199
};
B.EmailView__popupMenuEmailActionTile_closure.prototype = {
call$1(action) {
var t3, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = this.context;
return A.PopupMenuItem$(A.PopupItemWidget$(B.EmailActionTypeExtension_getIcon(action, A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).imagePaths), B.EmailActionTypeExtension_getTitle(action, t3), C.Color_4278221567, _null, _null, new B.EmailView__popupMenuEmailActionTile__closure(t1, t3, this.presentationEmail, action), C.EdgeInsetsDirectional_12_0_0_0, _null, C.TextStyle_69t6), true, 48, new A.ValueKey(action._core$_name + "_action", type$.ValueKey_String), C.EdgeInsets_0_0_0_0, _null, type$.dynamic);
},
$signature: 1700
};
B.EmailView__popupMenuEmailActionTile__closure.prototype = {
call$0() {
var t1, t2, _this = this;
A.GetNavigation_back($.$get$Get(), false, null);
t1 = _this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).handleEmailAction$3(_this.context, _this.presentationEmail, _this.action);
},
$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: 634
};
B.CalendarEventExtension_get_videoConferences_closure.prototype = {
call$1(link) {
return link.length !== 0;
},
$signature: 17
};
B.CalendarEventExtension_get_videoConferences_closure0.prototype = {
call$1(link) {
return link.length !== 0;
},
$signature: 17
};
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: 634
};
B.AttachmentItemWidget_build_closure.prototype = {
call$0() {
var t1, attachmentsViewState, t2, t3, isLoading, t4, t5, t6, t7, _null = null;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
attachmentsViewState = t1.find$1$1$tag(0, _null, type$.SingleEmailController).attachmentsViewState;
t1 = this.$this;
t2 = t1.attachment;
t3 = t2.blobId;
isLoading = t3 != null && !A.EmailUtils_checkingIfAttachmentActionIsEnabled(J.$index$asx(attachmentsViewState.get$value(0), attachmentsViewState.$ti._precomputed1._as(t3)));
t3 = isLoading ? _null : new B.AttachmentItemWidget_build__closure(t1);
t4 = A.Border_Border$all(C.Color_520093696, 1);
t5 = t1._getMaxWidthItem$1(this.context);
t6 = isLoading ? D.SizedBox_CLo : A.SvgPicture$asset(A.AttachmentExtension_getIcon(t2, t1._attachment_item_widget$_imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20);
t7 = t2.name;
if ($.$get$_context().$index(0, "flutterCanvasKit") != null)
t7 = A.ExtendedText$(t7 == null ? "" : t7, 1, C.TextOverflowWidget_null, C.TextStyle_69t20);
else
t7 = A.Text$(t7 == null ? "" : t7, _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, C.TextStyle_69t20, _null, _null, _null, _null, _null);
t7 = A.Expanded$(t7, 1);
t2 = t2.size;
t2 = A.Text$(A.filesize(t2 == null ? _null : t2.value, 2), _null, _null, 1, _null, _null, _null, _null, _null, C.TextStyle_8aB5, _null, _null, _null, _null, _null);
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, A.Container$(_null, A.Row$(A._setArrayType([t6, C.SizedBox_8_null_null_null, t7, C.SizedBox_8_null_null_null, t2, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_download_attachment.svg", _null, 22, _null, _null, 1 / 0, _null, isLoading ? _null : new B.AttachmentItemWidget_build__closure0(t1), C.EdgeInsets_5_5_5_5, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, t4, C.BorderRadius_ww83, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, C.EdgeInsetsDirectional_8_5_8_5, _null, _null, t5), C.RoundedRectangleBorder_NYu5, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, t3, _null, _null, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
},
$signature: 266
};
B.AttachmentItemWidget_build__closure.prototype = {
call$0() {
var t1 = this.$this;
return t1.viewAttachmentAction.call$1(t1.attachment);
},
$signature: 0
};
B.AttachmentItemWidget_build__closure0.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.$this,
t2 = t1._getCallbackFunction$1(action),
t3 = this.context,
t4 = action.getLabelButton$1(t3),
t5 = t1._getButtonBackgroundColor$1(action),
t6 = A.TextStyle$(_null, _null, t1._getButtonTextColor$1(action), _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),
t7 = type$.MediaQuery;
t3 = A.InheritedModel_inheritFrom(t3, C._MediaQueryAspect_0, t7).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t3, _null, t7).data.get$orientation(0) === C.Orientation_0 ? 1 / 0 : _null;
return A.AbsorbPointer$(t2 == null, A.TMailButtonWidget$(t5, A.Border_Border$all(t1._getButtonBorderColor$1(action), 1), 10, _null, false, _null, _null, C.TextDirection_1, _null, _null, 8, _null, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 80, _null, _null, t1._getCallbackFunction$1(action), C.EdgeInsetsDirectional_12_8_12_8, t4, C.TextAlign_2, _null, t6, _null, _null, _null, _null, false, t3));
},
$signature: 1702
};
B.CalendarEventActionButtonWidget__getCallbackFunction_closure.prototype = {
call$0() {
return this.$this.onCalendarEventReplyActionClick.call$1(this.eventActionType);
},
$signature: 0
};
B.CalendarEventActionButtonWidget__getCallbackFunction_closure0.prototype = {
call$0() {
return this.$this.onCalendarEventReplyActionClick.call$1(this.eventActionType);
},
$signature: 0
};
B.CalendarEventActionButtonWidget__getCallbackFunction_closure1.prototype = {
call$0() {
return this.$this.onCalendarEventReplyActionClick.call$1(this.eventActionType);
},
$signature: 0
};
B.CalendarEventInformationWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.calendarEvent;
t2 = t1.onMailtoAttendeesAction.call$2(t2.organizer, t2.participants);
return t2;
},
$signature: 0
};
B.CalendarEventInformationWidget_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.calendarEvent;
t2 = t1.onMailtoAttendeesAction.call$2(t2.organizer, t2.participants);
return t2;
},
$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 + 47
};
B._EventAttendeeDetailWidgetState_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
t1.setState$1(new B._EventAttendeeDetailWidgetState_build__closure0(t1));
},
$signature: 0
};
B._EventAttendeeDetailWidgetState_build__closure0.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._EventAttendeeDetailWidgetState_build_closure1.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;
t1.___EventAttendeeDetailWidgetState__attendeesDisplayed_A = t1._splitAttendees$1(t1._widget.attendees);
t1.___EventAttendeeDetailWidgetState__isShowAllAttendee_A = false;
},
$signature: 0
};
B.EventBodyContentWidget_build_closure.prototype = {
call$2(context, constraints) {
var _null = null,
t1 = constraints.maxWidth,
t2 = constraints.maxHeight,
t3 = this.$this,
t4 = A.Directionality_maybeOf(context);
if (t4 == null)
t4 = C.TextDirection_1;
t4 = A._setArrayType([F.HtmlContentViewerOnWeb$(true, t3.content, t4, t2, t3.onMailtoDelegateAction, t1)], type$.JSArray_Widget);
if (t3.isDraggableAppActive)
t4.push(A.PointerInterceptor$(new A.SizedBox(t1, t2, _null, _null)));
return new A.Stack(C.AlignmentDirectional_m1_m1, _null, C.StackFit_0, C.Clip_1, t4, _null);
},
$signature: 141
};
B.EventLinkDetailWidget_build_closure.prototype = {
call$1(link) {
return new B.HyperLinkWidget(link, null);
},
$signature: typesOffset + 48
};
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: 1703
};
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_closure.prototype = {
call$1(attachment) {
var t1 = this.$this;
return new B.DraggableAttachmentItemWidget(attachment, t1.onDragStarted, t1.onDragEnd, t1.downloadAttachmentAction, t1.viewAttachmentAction, null);
},
$signature: 1704
};
B._EmailReceiverWidgetState_build_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1.setState$1(new B._EmailReceiverWidgetState_build__closure0(t1));
},
$signature: 0
};
B._EmailReceiverWidgetState_build__closure0.prototype = {
call$0() {
return this.$this._isDisplayAll = false;
},
$signature: 0
};
B._EmailReceiverWidgetState_build_closure0.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 = true;
},
$signature: 0
};
B._EmailReceiverWidgetState__buildRecipientsTag_closure.prototype = {
call$2(index, emailAddress) {
var _null = null,
t1 = index === this.listEmailAddress.length - 1 ? A.EmailAddressExtension_asString(emailAddress) : A.EmailAddressExtension_asString(emailAddress) + ",",
t2 = this.$this,
t3 = t2._framework$_element;
t3.toString;
t3 = A.Theme_of(t3).textTheme.labelSmall;
t3 = t3 == null ? _null : t3.copyWith$2$color$fontSize(C.Color_4278190080, 16);
return A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, _null, _null, 1 / 0, _null, 1 / 0, 0, new B._EmailReceiverWidgetState__buildRecipientsTag__closure(t2, emailAddress), new B._EmailReceiverWidgetState__buildRecipientsTag__closure0(t2, emailAddress), C.EdgeInsetsDirectional_8_5_8_5, t1, _null, t3, _null, _null);
},
$signature: 1705
};
B._EmailReceiverWidgetState__buildRecipientsTag__closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._widget.openEmailAddressDetailAction;
t1 = t1._framework$_element;
t1.toString;
t1 = t2.call$2(t1, this.emailAddress);
return t1;
},
$signature: 0
};
B._EmailReceiverWidgetState__buildRecipientsTag__closure.prototype = {
call$0() {
var t2,
t1 = this.$this._framework$_element;
t1.toString;
t2 = this.emailAddress.email;
return A.AppUtils_copyEmailAddressToClipboard(t1, t2 == null ? "" : t2);
},
$signature: 0
};
B.EmailSenderBuilder_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.openEmailAddressDetailAction.call$2(this.context, t1.emailAddress);
return t1;
},
$signature: 89
};
B.EmailSenderBuilder_build_closure.prototype = {
call$0() {
var t1 = this.$this.emailAddress.email;
if (t1 == null)
t1 = "";
A.AppUtils_copyEmailAddressToClipboard(this.context, t1);
},
$signature: 9
};
B.EmailSenderBuilder_build_closure2.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.openEmailAddressDetailAction.call$2(this.context, t1.emailAddress);
return t1;
},
$signature: 89
};
B.EmailSenderBuilder_build_closure1.prototype = {
call$0() {
var t1 = this.$this.emailAddress.email;
if (t1 == null)
t1 = "";
A.AppUtils_copyEmailAddressToClipboard(this.context, t1);
},
$signature: 9
};
B.EmailViewAppBarWidget_build_closure.prototype = {
call$2(context, constraints) {
var t5, t6, t7, t8, t9, t10, _null = null,
t1 = type$.JSArray_Widget,
t2 = A._setArrayType([], t1),
t3 = this.$this,
t4 = type$.MediaQuery;
if (A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data.size._dx >= 1200 || A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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);
t5 = $.EmailViewAppBarWidgetStyles_buttonIconSize;
t6 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t5 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_move_email.svg", _null, t5, _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));
t7 = t3.presentationEmail;
t8 = t7.get$hasStarred() ? "assets/images/ic_star.svg" : "assets/images/ic_unstar.svg";
t9 = $.EmailViewAppBarWidgetStyles_buttonIconSize;
if (t7.get$hasStarred()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t7 = A.Intl__message("Not starred", _null, "not_starred", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t7 = A.Intl__message("Mark as starred", _null, "mark_as_starred", _null, _null);
}
t7 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, t8, _null, t9, _null, _null, 1 / 0, _null, new B.EmailViewAppBarWidget_build__closure0(t3), C.EdgeInsets_5_5_5_5, t7);
t8 = t3.get$canDeletePermanently() ? C.Color_4293281350 : C.Color_4278221567;
if (t3.get$canDeletePermanently()) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t9 = A.Intl__message("Delete permanently", _null, "delete_permanently", _null, _null);
} else {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t9 = A.Intl__message("Move to trash", _null, "move_to_trash", _null, _null);
}
t9 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_delete_composer.svg", t8, 20, _null, _null, 1 / 0, _null, new B.EmailViewAppBarWidget_build__closure1(t3), C.EdgeInsets_5_5_5_5, t9);
t8 = $.EmailViewAppBarWidgetStyles_buttonIconSize;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t6).toString;
t6 = A.Intl__message("More", _null, "more", _null, _null);
t10 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600 ? new B.EmailViewAppBarWidget_build__closure2(t3) : _null;
t1 = A._setArrayType([C.SizedBox_5_null_null_null, t5, C.SizedBox_5_null_null_null, t7, new A.Obx(new B.EmailViewAppBarWidget_build__closure3(t3, context), _null), C.SizedBox_5_null_null_null, t9, C.SizedBox_5_null_null_null, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_more.svg", _null, t8, _null, _null, 1 / 0, !(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600) ? new B.EmailViewAppBarWidget_build__closure4(t3) : _null, t10, C.EdgeInsets_5_5_5_5, t6)], t1);
t3 = t3.optionsWidget;
if (t3 != null)
C.JSArray_methods.addAll$1(t1, t3);
t1.push(C.SizedBox_5_null_null_null);
t2.push(A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
return A.Container$(_null, A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, D.BoxDecoration_qbf, _null, 52, _null, _null, D.EdgeInsetsDirectional_16_0_16_0, _null, _null, _null);
},
$signature: 188
};
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__closure3.prototype = {
call$0() {
var t2, _null = null,
t1 = this.$this;
if (t1._email_view_app_bar_widget$_singleEmailController.currentEmailLoaded.get$value(0) != null)
t2 = $.$get$_context().$index(0, "flutterCanvasKit") != null;
else
t2 = false;
if (t2) {
A.Localizations_of(this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_printer.svg", _null, 20, _null, C.EdgeInsetsDirectional_5_0_0_0, 1 / 0, _null, new B.EmailViewAppBarWidget_build___closure(t1), C.EdgeInsets_5_5_5_5, A.Intl__message("Print all", _null, "printAll", _null, _null));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.EmailViewAppBarWidget_build___closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onEmailActionClick.call$2(t1.presentationEmail, C.EmailActionType_27);
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__closure4.prototype = {
call$1(position) {
var t1 = this.$this;
t1 = t1.onMoreActionClick.call$2(t1.presentationEmail, position);
return t1;
},
$signature: 198
};
B.EmailViewBottomBarWidget_build_closure.prototype = {
call$0() {
var t4, t5, t6, _null = null,
t1 = this.$this,
t2 = t1._singleEmailController,
emailLoader = t2.currentEmailLoaded.get$value(0),
t3 = t1.presentationEmail;
t2 = t2.mailboxDashBoardController.sessionCurrent;
t2 = t2 == null ? _null : t2.username;
t2 = t2 == null ? _null : t2.value;
if (t2 == null)
t2 = "";
t4 = A.SetEmailAddressExtension_filterEmailAddress(t3.to, t2);
t4 = A.LinkedHashSet_LinkedHashSet$from(t4, A._arrayInstanceType(t4)._precomputed1)._collection$_length;
t5 = A.SetEmailAddressExtension_filterEmailAddress(t3.cc, t2);
t5 = A.LinkedHashSet_LinkedHashSet$from(t5, A._arrayInstanceType(t5)._precomputed1)._collection$_length;
t6 = A.SetEmailAddressExtension_filterEmailAddress(t3.bcc, t2);
t6 = A.LinkedHashSet_LinkedHashSet$from(t6, A._arrayInstanceType(t6)._precomputed1)._collection$_length;
t2 = A.SetEmailAddressExtension_filterEmailAddress(t3.from, t2);
t2 = A.LinkedHashSet_LinkedHashSet$from(t2, A._arrayInstanceType(t2)._precomputed1)._collection$_length;
if (emailLoader != null && t4 + t5 + t6 + t2 > 1) {
t2 = this.context;
A.Localizations_of(t2, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t3 = A.Intl__message("Reply all", _null, "reply_all", _null, _null);
t4 = type$.MediaQuery;
t5 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, A.InheritedModel_inheritFrom(t2, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t2, _null, t4).data.get$orientation(0) === C.Orientation_0 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t2 = A.InheritedModel_inheritFrom(t2, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t2, _null, t4).data.get$orientation(0) === C.Orientation_0;
return A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, _null, "assets/images/ic_reply_all.svg", C.TextDirection_1, _null, 20, 8, D.ValueKey_reply_all_emails_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.EmailViewBottomBarWidget_build__closure1(t1), C.EdgeInsets_8_12_8_12, t3, C.TextAlign_2, _null, t5, _null, _null, _null, _null, t2, _null), 1);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.EmailViewBottomBarWidget_build__closure1.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 t2, t3, t4, t5, _null = null,
t1 = this.$this;
if (t1._singleEmailController.currentEmailLoaded.get$value(0) != null) {
t2 = this.context;
A.Localizations_of(t2, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t3 = A.Intl__message("Reply", _null, "reply", _null, _null);
t4 = type$.MediaQuery;
t5 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, A.InheritedModel_inheritFrom(t2, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t2, _null, t4).data.get$orientation(0) === C.Orientation_0 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t2 = A.InheritedModel_inheritFrom(t2, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t2, _null, t4).data.get$orientation(0) === C.Orientation_0;
return A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, _null, "assets/images/ic_reply.svg", C.TextDirection_1, _null, 20, 8, D.ValueKey_reply_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.EmailViewBottomBarWidget_build__closure0(t1), C.EdgeInsets_8_12_8_12, t3, C.TextAlign_2, _null, t5, _null, _null, _null, _null, t2, _null), 1);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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 t2, t3, t4, t5, _null = null,
t1 = this.$this;
if (t1._singleEmailController.currentEmailLoaded.get$value(0) != null) {
t2 = this.context;
A.Localizations_of(t2, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t3 = A.Intl__message("Forward", _null, "forward", _null, _null);
t4 = type$.MediaQuery;
t5 = A.TextStyle$(_null, _null, C.Color_4278221567, _null, _null, _null, _null, _null, _null, _null, _null, A.InheritedModel_inheritFrom(t2, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t2, _null, t4).data.get$orientation(0) === C.Orientation_0 ? 12 : 16, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t2 = A.InheritedModel_inheritFrom(t2, C._MediaQueryAspect_0, t4).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(t2, _null, t4).data.get$orientation(0) === C.Orientation_0;
return A.Expanded$(A.TMailButtonWidget$(C.Color_0, _null, 0, _null, true, _null, "assets/images/ic_forward.svg", C.TextDirection_1, _null, 20, 8, D.ValueKey_forward_email_button, C.MainAxisSize_1, _null, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.EmailViewBottomBarWidget_build__closure(t1), C.EdgeInsets_8_12_8_12, t3, C.TextAlign_2, _null, t5, _null, _null, _null, _null, t2, _null), 1);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.EmailViewBottomBarWidget_build__closure.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: 40
};
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: 52
};
B.InformationSenderAndReceiverBuilder_build_closure.prototype = {
call$2(context, constraints) {
var t7, t8, _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);
t7 = A._setArrayType([new A.Flexible(1, C.FlexFit_1, A.Transform$(_null, new B.EmailSenderBuilder(t6.get$first(0), t4.openEmailAddressDetailAction, _null), _null, t7, true), _null)], t2);
t6 = t4.sMimeStatus;
if (t6 != null && t6 !== C.SMimeSignatureStatus_2) {
t8 = t6.getTooltipMessage$1(context);
t7.push(A.Tooltip$(A.MouseRegion$(A.SvgPicture$asset(t6.getIcon$1(t4.imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, _null, _null, _null, _null), C.SystemMouseCursor_click, _null, _null, _null, _null), D.ValueKey_smime_signature_status_icon, t8));
}
if (!t5.get$isSubscribed())
if (t4.emailUnsubscribe != null) {
t6 = type$.MediaQuery;
t6 = !(A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, t6).data.size.get$shortestSide() < 600 && A.InheritedModel_inheritFrom(context, _null, t6).data.get$orientation(0) === C.Orientation_0);
} else
t6 = false;
else
t6 = false;
if (t6) {
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t7.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 20, _null, _null, 1 / 0, _null, 1 / 0, 0, _null, new B.InformationSenderAndReceiverBuilder_build__closure(t4), C.EdgeInsetsDirectional_8_5_8_5, A.Intl__message("Unsubscribe", _null, "unsubscribe", _null, _null), _null, D.TextStyle_92e, _null, _null));
}
t3.push(A.Row$(A._setArrayType([A.Expanded$(A.Row$(t7, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), 1), new B.ReceivedTimeBuilder(t5, _null)], t2), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
}
if (B.PresentationEmailExtension_get_countRecipients(t5) > 0)
t3.push(new B.EmailReceiverWidget(t5, constraints.maxWidth, t4.maxBodyHeight, t4.openEmailAddressDetailAction, _null));
return A.Transform$(_null, A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), _null, t1, true);
},
$signature: 1706
};
B.InformationSenderAndReceiverBuilder_build__closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onEmailActionClick.call$2(t1.emailSelected, C.EmailActionType_24);
return t1;
},
$signature: 0
};
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");
if (t3._as(t2.get(t1)).mailboxDashBoardController.accountId.get$value(0) != null) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).mailboxDashBoardController.sessionCurrent;
t4 = t4 == null ? _null : t4.username;
} else
t4 = _null;
A.Localizations_of(this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t5 = A.Intl__message("Manage account", _null, "manage_account", _null, _null);
A.Expando__checkType(t1);
return F.UserInformationWidget$(D.Border_2Rm, t3._as(t2.get(t1)).mailboxDashBoardController.get$goToSettings(), _null, t5, _null, t4);
},
$signature: typesOffset + 50
};
B.MailboxView__buildListMailbox_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return new B.MailboxLoadingBarWidget(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState.get$value(0), null);
},
$signature: typesOffset + 51
};
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);
return t1._mailbox_view_web$_buildMailboxCategory$3(this.context, C.MailboxCategories_0, t3._as(t2.get(t1)).defaultMailboxTree.get$value(0).root);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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);
return t1._mailbox_view_web$_buildMailboxCategory$3(this.context, C.MailboxCategories_1, t3._as(t2.get(t1)).personalMailboxTree.get$value(0).root);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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);
return t1._mailbox_view_web$_buildMailboxCategory$3(this.context, C.MailboxCategories_3, t3._as(t2.get(t1)).teamMailboxesTree.get$value(0).root);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxView__buildListMailbox_closure6.prototype = {
call$0() {
var t3, _null = null,
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)).mailboxDashBoardController._isDraggingMailbox.get$value(0)) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1))._activeScrollTop.get$value(0);
} 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: 105
};
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_anB, 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: 16
};
B.MailboxView__buildListMailbox_closure7.prototype = {
call$0() {
var t3, _null = null,
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)).mailboxDashBoardController._isDraggingMailbox.get$value(0)) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1))._activeScrollBottom.get$value(0);
} 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: 105
};
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_anB, 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: 16
};
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: 278
};
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.get$value(0);
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: 635
};
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: 47
};
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: 47
};
B.MailboxView__buildListChildTileWidget___closure4.prototype = {
call$2(position, mailboxNode) {
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)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).responsiveUtils;
t6 = mailboxNode.item;
A.Expando__checkType(t1);
t1.openMailboxMenuActionOnWeb$6(this.context, t4, t5, position, t6, t3._as(t2.get(t1)));
},
$signature: 636
};
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: 47
};
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.get$value(0);
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: 635
};
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: 47
};
B.MailboxView__buildListChildTileWidget___closure0.prototype = {
call$2(position, mailboxNode) {
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)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).responsiveUtils;
t6 = mailboxNode.item;
A.Expando__checkType(t1);
t1.openMailboxMenuActionOnWeb$6(this.context, t4, t5, position, t6, t3._as(t2.get(t1)));
},
$signature: 636
};
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: 47
};
B.MailboxLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B.MailboxLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
if (success instanceof A.GetAllMailboxLoading)
return D.Padding_FtF;
else
return C.SizedBox_0_0_null_null;
},
$signature: 63
};
B.MailboxDashBoardView_build_closure6.prototype = {
call$0() {
return A.FocusScope_of(this.context).unfocus$0();
},
$signature: 0
};
B.MailboxDashBoardView_build_closure.prototype = {
call$0() {
var t3, accountId, t4, t5, t6, t7, t8, t9, t10, t11, t12, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
accountId = t3._as(t2.get(t1)).accountId.get$value(0);
if (accountId == null)
return C.SizedBox_0_0_null_null;
else {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).sessionCurrent;
t5 = t5 == null ? _null : F.UsernameExtension_get_firstCharacter(t5.username);
if (t5 == null)
t5 = "";
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).sessionCurrent;
t6 = t6 == null ? _null : A.SessionExtensions_getContactSupportCapability(t6, accountId);
$.$get$Get();
t7 = $.GetInstance__getInstance;
if (t7 == null)
t7 = $.GetInstance__getInstance = C.C_GetInstance;
t7 = t7.find$1$1$tag(0, _null, type$.SearchController);
t8 = $.GetInstance__getInstance;
if (t8 == null)
t8 = $.GetInstance__getInstance = C.C_GetInstance;
t8 = t8.find$1$1$tag(0, _null, type$.MailboxDashBoardController);
t9 = $.GetInstance__getInstance;
if (t9 == null)
t9 = $.GetInstance__getInstance = C.C_GetInstance;
t9 = t9.find$1$1$tag(0, _null, type$.ImagePaths);
t10 = $.GetInstance__getInstance;
if (t10 == null)
t10 = $.GetInstance__getInstance = C.C_GetInstance;
t10 = t10.find$1$1$tag(0, _null, type$.ResponsiveUtils);
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).appGridDashboardController;
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$showAppDashboardAction();
A.Expando__checkType(t1);
return F.NavigationBarWidget$(t11, t5, t6, t4, t12, t3._as(t2.get(t1)).get$redirectToInboxAction(), new B.MailboxDashBoardView_build__closure0(t1, this.context), new B.MailboxDashBoardView_build__closure1(t1), new B.SearchInputFormWidget(t7, t8, t9, t10, _null));
}
},
$signature: 3
};
B.MailboxDashBoardView_build__closure0.prototype = {
call$1(position) {
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)).handleClickAvatarAction$2(this.context, position);
},
$signature: 198
};
B.MailboxDashBoardView_build__closure1.prototype = {
call$1(contactSupport) {
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.onGetHelpOrReportBug$2(contactSupport, t3._as(t2.get(t1)));
},
$signature: 1710
};
B.MailboxDashBoardView_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
if (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).searchMailboxActivated.get$value(0))
return D.SearchMailboxView_Color_4294375158_null;
else
return B.MailboxView$();
},
$signature: 1711
};
B.MailboxDashBoardView_build_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)).isRecoveringDeletedMessage.get$value(0);
A.Expando__checkType(t1);
return new B.RecoverDeletedMessageLoadingBannerWidget(t4, C.Center_cwU, t3._as(t2.get(t1)).responsiveUtils, null);
},
$signature: typesOffset + 11
};
B.MailboxDashBoardView_build_closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return new B.MarkMailboxAsReadLoadingBanner(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewStateMailboxActionProgress.get$value(0), null);
},
$signature: typesOffset + 55
};
B.MailboxDashBoardView_build_closure3.prototype = {
call$0() {
var t3, presentationMailbox, t4,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
presentationMailbox = t3._as(t2.get(t1)).selectedMailbox.get$value(0);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1));
if (presentationMailbox != null)
if (J.$eq$(presentationMailbox.role, $.$get$PresentationMailbox_roleTrash()))
if (A.PresentationMailboxExtension_get_countTotalEmails(presentationMailbox) > 0)
if (t4.searchController.searchState.get$value(0).searchStatus !== C.SearchStatus_0)
t4 = A.InheritedModel_inheritFrom(this.context, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200;
else
t4 = false;
else
t4 = false;
else
t4 = false;
else
t4 = false;
if (t4) {
A.Expando__checkType(t1);
return new B.BannerEmptyTrashWidget(t3._as(t2.get(t1)).get$emptyTrashAction(), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxDashBoardView_build_closure4.prototype = {
call$0() {
var t3, presentationMailbox, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
presentationMailbox = t3._as(t2.get(t1)).selectedMailbox.get$value(0);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1));
t3 = this.context;
if (presentationMailbox != null) {
t4 = presentationMailbox.role;
t5 = J.getInterceptor$(t4);
if (t5.$eq(t4, $.$get$PresentationMailbox_roleSpam()) || t5.$eq(t4, $.$get$PresentationMailbox_roleJunk()))
if (A.PresentationMailboxExtension_get_countTotalEmails(presentationMailbox) > 0)
if (t2.searchController.searchState.get$value(0).searchStatus !== C.SearchStatus_0)
t2 = A.InheritedModel_inheritFrom(t3, C._MediaQueryAspect_0, type$.MediaQuery).data.size._dx >= 1200;
else
t2 = false;
else
t2 = false;
else
t2 = false;
} else
t2 = false;
if (t2)
return new B.BannerDeleteAllSpamEmailsWidget(new B.MailboxDashBoardView_build__closure(t1, t3), null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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_closure5.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
switch (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).dashboardRoute.get$value(0)) {
case C.DashboardRoutes_0:
return t1._buildThreadViewForWebDesktop$1(this.context);
case C.DashboardRoutes_1:
return D.EmailView_null;
default:
return C.SizedBox_0_0_null_null;
}
},
$signature: 3
};
B.MailboxDashBoardView_build_closure8.prototype = {
call$0() {
var t3, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
switch (t3._as(t2.get(t1)).dashboardRoute.get$value(0)) {
case C.DashboardRoutes_2:
return new B.SearchEmailView(_null);
case C.DashboardRoutes_1:
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).searchController;
return t2.simpleSearchIsActivated.get$value(0) || t2.advancedSearchIsActivated.get$value(0) ? D.EmailView_null : t1._buildScaffoldHaveDrawer$1$body(A.Row$(A._setArrayType([new A.SizedBox(375, _null, B.ThreadView$(), _null), D.VerticalDivider_Drw, D.Expanded_0EQ], type$.JSArray_Widget), C.CrossAxisAlignment_0, _null, 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_Drw, D.Expanded_0EQ], type$.JSArray_Widget), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null));
}
},
$signature: 3
};
B.MailboxDashBoardView_build_closure7.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
switch (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).dashboardRoute.get$value(0)) {
case C.DashboardRoutes_0:
return t1._buildScaffoldHaveDrawer$1$body(B.ThreadView$());
case C.DashboardRoutes_1:
return D.EmailView_null;
case C.DashboardRoutes_2:
return new B.SearchEmailView(null);
default:
return t1._buildScaffoldHaveDrawer$1$body(B.ThreadView$());
}
},
$signature: 3
};
B.MailboxDashBoardView_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)).composerOverlayState.get$value(0) === C.ComposerOverlayState_0 ? D.ComposerView_null : C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxDashBoardView_build_closure10.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 (J.$eq$(t3._as(t2.get(t1)).searchMailboxActivated.get$value(0), true)) {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t1 = A.InheritedModel_inheritFrom(this.context, C._MediaQueryAspect_0, type$.MediaQuery).data;
t1 = !(t1.size._dx >= 1200);
} else
t1 = false;
return t1 ? D.SearchMailboxView_null_null : C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxDashBoardView__buildThreadViewForWebDesktop_closure.prototype = {
call$0() {
var t3, listEmailSelected, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
listEmailSelected = t3._as(t2.get(t1)).listEmailSelected;
A.Expando__checkType(t1);
if (t3._as(t2.get(t1)).currentSelectMode.get$value(0) === C.SelectMode_0 && !listEmailSelected.get$isEmpty(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(D.EdgeInsets_ohJ, new B.TopBarThreadSelection(t3.find$1$1$tag(0, _null, type$.ImagePaths), listEmailSelected, t2, new B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure(t1), new B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure0(t1), _null), _null);
} else
return new A.Padding(E.EdgeInsets_16_12_16_12, t1._buildListButtonTopBar$1(this.context), _null);
},
$signature: 637
};
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(actionType, listEmails);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
return null;
},
$signature: 1713
};
B.MailboxDashBoardView__buildListButtonTopBar_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");
if (t3._as(t2.get(t1)).get$isRefreshingAllMailboxAndEmail())
return A.TMailContainerWidget$(A.Color$fromARGB(153, 235, 237, 240), _null, 10, _null, D.CupertinoLoadingWidget_16_null_null, _null, _null, 1 / 0, 1 / 0, 0, _null, _null, _null, D.EdgeInsetsDirectional_USP, _null, _null);
else {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t4 = A.Color$fromARGB(153, 235, 237, 240);
A.Expando__checkType(t1);
return A.TMailButtonWidget_TMailButtonWidget$fromIcon(t4, 10, _null, "assets/images/ic_refresh.svg", _null, 16, D.ValueKey_7Re, _null, 1 / 0, _null, t3._as(t2.get(t1)).get$refreshMailboxAction(), _null, _null);
}
},
$signature: 531
};
B.MailboxDashBoardView__buildListButtonTopBar_closure0.prototype = {
call$0() {
var t3, t4, t5, t6, t7, _null = null,
_s32_ = "Select all messages of this page",
_s27_ = "selectAllMessagesOfThisPage",
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)).emailsInCurrentMailbox.get$length(0) === 0)
return C.SizedBox_0_0_null_null;
else {
t4 = this.context;
t5 = type$.AppLocalizations;
A.Localizations_of(t4, C.Type_AppLocalizations_CTL, t5).toString;
t6 = A.Intl__message(_s32_, _null, _s27_, _null, _null);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).get$selectAllEmailAction();
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t1 = A.SvgPicture$asset("assets/images/ic_select_all.svg", C.Alignment_0_0, A.ColorNullableExtension_asFilter(C.Color_4285034102), C.BoxFit_0, 16, _null, _null, 16);
A.Localizations_of(t4, C.Type_AppLocalizations_CTL, t5).toString;
return new A.Padding(E.EdgeInsetsDirectional_16_0_0_0, A.Tooltip$(F.ElevatedButton_ElevatedButton$icon(t1, A.Text$(A.Intl__message(_s32_, _null, _s27_, _null, _null), _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), t7, A.ElevatedButton_styleFrom(_null, _null, A.Color$fromARGB(153, 235, 237, 240), _null, _null, _null, 0, _null, _null, C.Color_4285034102, D.Size_sBE, _null, C.EdgeInsetsDirectional_12_8_12_8, C.Color_0, D.RoundedRectangleBorder_NYu12, _null, _null, D.TextStyle_5Ry3, _null)), _null, t6), _null);
}
},
$signature: 105
};
B.MailboxDashBoardView__buildListButtonTopBar_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));
t5 = t4.searchController;
if (!(t5.simpleSearchIsActivated.get$value(0) || t5.advancedSearchIsActivated.get$value(0))) {
t4 = t4.selectedMailbox;
if (t4.get$value(0) != null) {
t4 = t4.get$value(0);
t4.toString;
t4 = J.$eq$(t4.role, $.$get$PresentationMailbox_roleDrafts());
} else
t4 = false;
} else
t4 = false;
if (t4) {
t4 = this.context;
A.Localizations_of(t4, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t5 = A.Intl__message("Mark all as read", _null, "mark_all_as_read", _null, _null);
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
return A.TMailButtonWidget$(_null, _null, 10, _null, false, _null, "assets/images/ic_select_all.svg", C.TextDirection_1, C.Color_4285034102, 16, 8, D.ValueKey_mark_as_read_emails_button, C.MainAxisSize_1, E.EdgeInsetsDirectional_16_0_0_0, 1 / 0, _null, 1 / 0, 0, _null, _null, new B.MailboxDashBoardView__buildListButtonTopBar__closure1(t1, t4), C.EdgeInsetsDirectional_12_8_12_8, t5, _null, _null, D.TextStyle_5Ry3, _null, _null, _null, _null, false, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxDashBoardView__buildListButtonTopBar__closure1.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;
currentAccountId = t1.accountId.get$value(0);
t2 = t1.selectedMailbox;
t3 = t2.get$value(0);
mailboxId = t3 == null ? _null : t3.id;
t3 = t2.get$value(0);
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(0);
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_closure2.prototype = {
call$0() {
var t3, filterMessageCurrent, 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");
filterMessageCurrent = t3._as(t2.get(t1)).filterMessageOption.get$value(0);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).selectedMailbox;
if (t4.get$value(0) != null) {
t5 = t4.get$value(0);
t5.toString;
if (!J.$eq$(t5.role, $.$get$PresentationMailbox_roleTrash())) {
t5 = t4.get$value(0);
t5.toString;
t5 = t5.role;
t6 = J.getInterceptor$(t5);
t5 = t6.$eq(t5, $.$get$PresentationMailbox_roleSpam()) || t6.$eq(t5, $.$get$PresentationMailbox_roleJunk());
} else
t5 = true;
if (t5) {
t4 = t4.get$value(0);
t4.toString;
t4 = A.PresentationMailboxExtension_get_countTotalEmails(t4) <= 0;
} else
t4 = false;
} else
t4 = false;
if (t4)
return C.SizedBox_0_0_null_null;
else {
A.Expando__checkType(t1);
return new A.Padding(E.EdgeInsetsDirectional_16_0_0_0, new B.FilterMessageButton(filterMessageCurrent, filterMessageCurrent !== C.FilterMessageOption_0, t3._as(t2.get(t1)).imagePaths, t1.get$_onSelectFilterMessageOptionAction(), new B.MailboxDashBoardView__buildListButtonTopBar__closure0(t1), null), null);
}
},
$signature: 105
};
B.MailboxDashBoardView__buildListButtonTopBar__closure0.prototype = {
call$1(_) {
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(C.FilterMessageOption_0);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
return null;
},
$signature: 333
};
B.MailboxDashBoardView__buildListButtonTopBar_closure3.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)).selectedMailbox.get$value(0);
if ((t4 == null ? _null : J.$eq$(t4.role, $.$get$PresentationMailbox_roleTrash())) === true) {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
return A.TMailButtonWidget_TMailButtonWidget$fromIcon(A.Color$fromARGB(153, 235, 237, 240), 10, _null, "assets/images/ic_recover_deleted_messages.svg", _null, 16, D.ValueKey_qFe, E.EdgeInsetsDirectional_16_0_0_0, 1 / 0, _null, new B.MailboxDashBoardView__buildListButtonTopBar__closure(t1), _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxDashBoardView__buildListButtonTopBar__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)).gotoEmailRecovery$0();
},
$signature: 0
};
B.MailboxDashBoardView__buildListButtonTopBar_closure4.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)).searchController;
if (t4.simpleSearchIsActivated.get$value(0) || t4.advancedSearchIsActivated.get$value(0)) {
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).dashboardRoute.get$value(0) === C.DashboardRoutes_0;
} else
t2 = false;
if (t2)
return t1._buildQuickSearchFilterButton$2(this.context, C.QuickSearchFilter_4);
else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxDashBoardView__onSelectFilterMessageOptionAction_closure.prototype = {
call$1(filterMessageSelected) {
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(filterMessageSelected);
A.log(string$.Mailbo + A.getRuntimeTypeOfDartObject(t2).toString$0(0), C.Level_3);
t1.dashBoardAction.set$value(0, t2);
},
$signature: 1714
};
B.MailboxDashBoardView__buildDownloadTaskStateWidget_closure.prototype = {
call$0() {
var listDownloadTasks, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
listDownloadTasks = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).downloadController.listDownloadTaskState;
if (!listDownloadTasks.get$isEmpty(listDownloadTasks))
return new A.Align(C.Alignment_0_1, _null, _null, A.Container$(_null, A.ListView$separated(_null, new B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure(listDownloadTasks), J.get$length$asx(listDownloadTasks.get$value(0)), _null, 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: 105
};
B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure0.prototype = {
call$2(context, index) {
return D.Padding_spY;
},
$signature: 196
};
B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure.prototype = {
call$2(context, index) {
return new B.DownloadTaskItemWidget(J.$index$asx(this.listDownloadTasks.get$value(0), index), null);
},
$signature: typesOffset + 56
};
B.MailboxDashBoardView__buildVacationNotificationMessage_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)).vacationResponse.get$value(0);
if (t4 == null)
t4 = null;
else
t4 = F.VacationResponseExtension_get_vacationResponderIsReady(t4) && !F.VacationResponseExtension_get_vacationResponderIsStopped(t4);
if (t4 === true) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).vacationResponse.get$value(0);
t4.toString;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).get$goToVacationSetting();
A.Expando__checkType(t1);
return F.VacationNotificationMessageWidget$(t3._as(t2.get(t1)).get$disableVacationResponder(), t5, false, null, D.EdgeInsetsDirectional_0_0_16_8, null, t4);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.MailboxDashBoardView__buildListButtonQuickSearchFilter_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)).searchController;
if (t4.simpleSearchIsActivated.get$value(0) || t4.advancedSearchIsActivated.get$value(0)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).dashboardRoute.get$value(0) === C.DashboardRoutes_0;
} else
t4 = false;
if (t4) {
t4 = this.context;
t5 = A.ScrollConfiguration_of(t4).copyWith$2$dragDevices$scrollbars(A.LinkedHashSet_LinkedHashSet$_literal([C.PointerDeviceKind_0, C.PointerDeviceKind_1, C.PointerDeviceKind_4], type$.PointerDeviceKind), false);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).listSearchFilterScrollController;
t6.toString;
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).listSearchFilterScrollController;
t7.toString;
t8 = type$.JSArray_Widget;
t8 = A._setArrayType([new A.Flexible(1, C.FlexFit_1, new A.SizedBox(_null, 45, new A.ScrollbarListView(A.ListView$(A._setArrayType([t1._buildQuickSearchFilterButton$2(t4, C.QuickSearchFilter_8), C.SizedBox_8_null_null_null, t1._buildQuickSearchFilterButton$2(t4, C.QuickSearchFilter_6), C.SizedBox_8_null_null_null, t1._buildQuickSearchFilterButton$2(t4, C.QuickSearchFilter_7), C.SizedBox_8_null_null_null, t1._buildQuickSearchFilterButton$2(t4, C.QuickSearchFilter_5), C.SizedBox_8_null_null_null, t1._buildQuickSearchFilterButton$2(t4, C.QuickSearchFilter_0)], t8), t7, _null, D.EdgeInsetsDirectional_0_0_0_10, _null, _null, false, C.Axis_0, true), t6, t5, _null), _null), _null)], t8);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1));
t5 = t5.searchController.searchEmailFilter.get$value(0).get$isApplied() || t5.filterMessageOption.get$value(0) !== C.FilterMessageOption_0;
t6 = type$.AppLocalizations;
if (t5) {
A.Localizations_of(t4, C.Type_AppLocalizations_CTL, t6).toString;
t4 = A.Intl__message("Clear filter", _null, "clearFilter", _null, _null);
A.Expando__checkType(t1);
t8.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 10, _null, C.EdgeInsetsDirectional_8_0_0_0, 1 / 0, _null, 1 / 0, 0, _null, t3._as(t2.get(t1)).get$clearAllSearchFilterApplied(), _null, t4, _null, D.TextStyle_yT34, _null, _null));
} else {
A.Localizations_of(t4, C.Type_AppLocalizations_CTL, t6).toString;
t4 = A.Intl__message("Advanced search", _null, "advancedSearch", _null, _null);
A.Expando__checkType(t1);
t8.push(A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 10, _null, C.EdgeInsetsDirectional_8_0_0_0, 1 / 0, _null, 1 / 0, 0, _null, t3._as(t2.get(t1)).get$openAdvancedSearchView(), _null, t4, _null, D.TextStyle_yT34, _null, _null));
}
return new A.Padding(C.EdgeInsetsDirectional_0_0_16_0, A.Row$(t8, C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 105
};
B.MailboxDashBoardView__buildQuickSearchFilterButton_closure.prototype = {
call$0() {
var t3, searchEmailFilter, sortOrderType, listAddressOfFrom, t4, userName, startDate, endDate, receiveTimeType, mailbox, listAddressOfTo, isSelected, buttonPadding, t5, t6,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
searchEmailFilter = t3._as(t2.get(t1)).searchController.searchEmailFilter.get$value(0);
A.Expando__checkType(t1);
sortOrderType = t3._as(t2.get(t1)).searchController.searchEmailFilter.get$value(0).sortOrderType;
A.Expando__checkType(t1);
listAddressOfFrom = t3._as(t2.get(t1)).searchController.searchEmailFilter.get$value(0).from;
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).sessionCurrent;
userName = t4 == null ? null : t4.username;
A.Expando__checkType(t1);
startDate = t3._as(t2.get(t1)).searchController.get$startDateFiltered();
A.Expando__checkType(t1);
endDate = t3._as(t2.get(t1)).searchController.get$endDateFiltered();
A.Expando__checkType(t1);
receiveTimeType = t3._as(t2.get(t1)).searchController.searchEmailFilter.get$value(0).emailReceiveTimeType;
A.Expando__checkType(t1);
mailbox = t3._as(t2.get(t1)).searchController.searchEmailFilter.get$value(0).mailbox;
A.Expando__checkType(t1);
listAddressOfTo = t3._as(t2.get(t1)).searchController.searchEmailFilter.get$value(0).to;
t4 = this.searchFilter;
isSelected = t4.isSelected$4(this.context, searchEmailFilter, sortOrderType, userName);
buttonPadding = t4 !== C.QuickSearchFilter_4 ? B.MailboxDashboardViewWebStyle_getSearchFilterButtonPadding(isSelected) : null;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).imagePaths;
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).responsiveUtils;
A.Expando__checkType(t1);
return B.SearchFilterButton$(null, buttonPadding, endDate, t5, isSelected, new A.ValueKey(t4._core$_name + "_search_filter_button", type$.ValueKey_String), listAddressOfFrom, listAddressOfTo, mailbox, t3._as(t2.get(t1)).get$onDeleteSearchFilterAction(), t1.get$_mailbox_dashboard_view_web$_onSelectSearchFilterAction(), receiveTimeType, t6, t4, sortOrderType, startDate, userName);
},
$signature: typesOffset + 2
};
B.MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure.prototype = {
call$1(receiveTime) {
var _this = this,
t1 = receiveTime.getTitle$1(_this.context),
t2 = _this.$this,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
A._instanceType(t2)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t2)).toString;
return A.PopupMenuItem$(B.PopupItemNoIconWidget$(t1, _this.receiveTimeSelected === receiveTime, 320, new B.MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure(_this.onCallBack, receiveTime), "assets/images/ic_filter_selected.svg"), true, 48, null, C.EdgeInsets_0_0_0_0, null, type$.dynamic);
},
$signature: 351
};
B.MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure.prototype = {
call$0() {
var t1 = this.onCallBack.call$1(this.receiveTime);
return t1;
},
$signature: 0
};
B.MailboxDashBoardView_popupMenuEmailSortOrderType_closure.prototype = {
call$1(sortType) {
var t2, t3, _this = this,
t1 = A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t1.toString;
t1 = sortType.getTitleByAppLocalizations$1(t1);
t2 = _this.$this;
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t2);
A._instanceType(t2)._eval$1("GetWidget.S")._as(t3._jsWeakMap.get(t2)).toString;
return A.PopupMenuItem$(B.PopupItemNoIconWidget$(t1, _this.sortOrderSelected === sortType, 332, new B.MailboxDashBoardView_popupMenuEmailSortOrderType__closure(_this.onCallBack, sortType), "assets/images/ic_filter_selected.svg"), true, 48, null, C.EdgeInsets_0_0_0_0, null, type$.dynamic);
},
$signature: 638
};
B.MailboxDashBoardView_popupMenuEmailSortOrderType__closure.prototype = {
call$0() {
var t1 = this.onCallBack.call$1(this.sortType);
return t1;
},
$signature: 0
};
B.MailboxDashBoardView__openPopupMenuDateFilter_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: 148
};
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, _null, _null, _null, C.ScreenDisplayMode_2, C.EmailActionType_3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
},
$signature: 0
};
B.FilterEmailPopupMenuMixin__filterEmailAction_closure.prototype = {
call$0() {
var t1 = this.onCallBack.call$1(this.option);
return t1;
},
$signature: 0
};
B.AdvancedSearchFilterFormBottomView__buildListButton_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).clearSearchFilter$0();
A.GetNavigation_back($.$get$Get(), false, null);
},
$signature: 0
};
B.AdvancedSearchFilterFormBottomView__buildListButton_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).applyAdvancedSearchFilter$0();
A.GetNavigation_back($.$get$Get(), false, null);
},
$signature: 0
};
B.AdvancedSearchFilterFormBottomView__buildListButton_closure1.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).clearSearchFilter$0();
A.GetNavigation_back($.$get$Get(), false, null);
},
$signature: 0
};
B.AdvancedSearchFilterFormBottomView__buildListButton_closure2.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).applyAdvancedSearchFilter$0();
A.GetNavigation_back($.$get$Get(), false, null);
},
$signature: 0
};
B.AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment_closure.prototype = {
call$0() {
var t2, t3, t4, t5, t6, _this = this, _null = null,
t1 = A.FocusNode$(true, _null, true, true, _null, _null, false);
A.Localizations_of(_this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t2 = A.Intl__message("Has attachment", _null, "hasAttachment", _null, _null);
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)).hasAttachment.get$value(0);
A.Expando__checkType(t3);
return A.KeyboardListener$(false, A.LabeledCheckbox$(C.Color_4278221567, C.EdgeInsets_0_0_0_0, _this.currentFocusNode, t2, t5._as(t4.get(t3)).get$onHasAttachmentCheckboxChanged(), t6), t1, new B.AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment__closure(_this.nextFocusNode));
},
$signature: 1718
};
B.AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment__closure.prototype = {
call$1($event) {
if ($event instanceof A.KeyDownEvent && $event.logicalKey.$eq(0, C.LogicalKeyboardKey_4294967305))
this.nextFocusNode.requestFocus$0();
},
$signature: 124
};
B.AdvancedSearchFilterFormBottomView__buildButton_closure.prototype = {
call$1($event) {
var t1;
if ($event instanceof A.KeyDownEvent && $event.logicalKey.$eq(0, C.LogicalKeyboardKey_4294967305)) {
t1 = this.nextFocusNode;
if (t1 != null)
t1.requestFocus$0();
}
},
$signature: 124
};
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.AdvancedSearchInputForm_build_closure5.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14,
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)).listFromEmailAddress;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).fromAddressExpandMode.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1))._mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).fromEmailAddressController;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).focusManager.__InputFieldFocusManager_fromFieldFocusNode_A;
t8 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).focusManager.__InputFieldFocusManager_toFieldFocusNode_A;
t9 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).keyFromEmailTagEditor;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$onSearchAction();
A.Expando__checkType(t1);
return B.TextFieldAutocompleteEmailAddressWeb$(t7, t5, C.AdvancedSearchFilterField_0, t8, t10, t4, t6, t9, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t14, t11, t13, t12);
},
$signature: typesOffset + 9
};
B.AdvancedSearchInputForm_build_closure6.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14,
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)).toAddressExpandMode.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1))._mailboxDashBoardController.get$minInputLengthAutocomplete();
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).toEmailAddressController;
A.Expando__checkType(t1);
t8 = t3._as(t2.get(t1)).focusManager.__InputFieldFocusManager_toFieldFocusNode_A;
t8 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(t1);
t9 = t3._as(t2.get(t1)).focusManager.__InputFieldFocusManager_subjectFieldFocusNode_A;
t9 === $ && A.throwUnnamedLateFieldNI();
A.Expando__checkType(t1);
t10 = t3._as(t2.get(t1)).keyToEmailTagEditor;
A.Expando__checkType(t1);
t11 = t3._as(t2.get(t1)).get$showFullEmailAddress();
A.Expando__checkType(t1);
t12 = t3._as(t2.get(t1)).get$updateListEmailAddress();
A.Expando__checkType(t1);
t13 = t3._as(t2.get(t1)).get$getAutoCompleteSuggestion();
A.Expando__checkType(t1);
t14 = t3._as(t2.get(t1)).get$onSearchAction();
A.Expando__checkType(t1);
return B.TextFieldAutocompleteEmailAddressWeb$(t7, t5, C.AdvancedSearchFilterField_1, t8, t10, t4, t6, t9, t3._as(t2.get(t1)).get$removeDraggableEmailAddress(), t14, t11, t13, t12);
},
$signature: typesOffset + 9
};
B.AdvancedSearchInputForm_build_closure.prototype = {
call$1(value) {
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)).onTextChanged$2(C.AdvancedSearchFilterField_2, value);
},
$signature: 8
};
B.AdvancedSearchInputForm_build_closure0.prototype = {
call$1(value) {
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)).onTextChanged$2(C.AdvancedSearchFilterField_3, value);
},
$signature: 8
};
B.AdvancedSearchInputForm_build_closure1.prototype = {
call$1(value) {
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)).onTextChanged$2(C.AdvancedSearchFilterField_4, value);
},
$signature: 8
};
B.AdvancedSearchInputForm_build_closure2.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)).selectedMailBox$1(this.context);
},
$signature: 0
};
B.AdvancedSearchInputForm_build_closure3.prototype = {
call$0() {
var t1 = this.$this,
t2 = this.context;
t1.openContextMenuAction$2(t2, t1._buildEmailReceiveTimeTypeActionTiles$1(t2));
},
$signature: 0
};
B.AdvancedSearchInputForm_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)).selectDateRange$1(this.context);
},
$signature: 0
};
B.AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles_closure.prototype = {
call$1(receiveTime) {
var t5,
t1 = this.context,
t2 = receiveTime.getTitle$1(t1),
t3 = this.$this,
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t3);
t4 = t4._jsWeakMap;
t5 = A._instanceType(t3)._eval$1("GetWidget.S");
t5._as(t4.get(t3)).toString;
A.Expando__checkType(t3);
return A.PopupMenuItem$(B.PopupItemNoIconWidget$(t2, t5._as(t4.get(t3)).receiveTimeType.get$value(0) === receiveTime, 320, new B.AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles__closure(t3, t1, receiveTime), "assets/images/ic_filter_selected.svg"), true, 48, null, C.EdgeInsets_0_0_0_0, null, type$.dynamic);
},
$signature: 351
};
B.AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles__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)).updateReceiveDateSearchFilter$2(this.context, this.receiveTime);
},
$signature: 0
};
B.AdvancedSearchInputForm__buildFilterField_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)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).startDate.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).endDate.get$value(0);
A.Expando__checkType(t1);
return new B.DateDropDownButton(t4, t5, t6, t3._as(t2.get(t1)).receiveTimeType.get$value(0), new B.AdvancedSearchInputForm__buildFilterField__closure(t1, this.context), null);
},
$signature: typesOffset + 8
};
B.AdvancedSearchInputForm__buildFilterField__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)).updateReceiveDateSearchFilter$2(this.context, receiveTime);
},
$signature: 148
};
B.AdvancedSearchInputForm__buildFilterField_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)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).sortOrderType.get$value(0);
A.Expando__checkType(t1);
return new B.SortByDropDownButton(t4, t5, t3._as(t2.get(t1)).get$updateSortOrder(), null);
},
$signature: typesOffset + 18
};
B.AdvancedSearchInputForm__buildTextFieldFilterForWeb_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)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).startDate.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).endDate.get$value(0);
A.Expando__checkType(t1);
return new B.DateDropDownButton(t4, t5, t6, t3._as(t2.get(t1)).receiveTimeType.get$value(0), new B.AdvancedSearchInputForm__buildTextFieldFilterForWeb__closure(t1, this.context), null);
},
$signature: typesOffset + 8
};
B.AdvancedSearchInputForm__buildTextFieldFilterForWeb__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)).updateReceiveDateSearchFilter$2(this.context, receiveTime);
},
$signature: 148
};
B.AdvancedSearchInputForm__buildTextFieldFilterForWeb_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)).imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).sortOrderType.get$value(0);
A.Expando__checkType(t1);
return new B.SortByDropDownButton(t4, t5, t3._as(t2.get(t1)).get$updateSortOrder(), null);
},
$signature: typesOffset + 18
};
B.AdvancedSearchInputForm__buildTextField_closure0.prototype = {
call$1($event) {
var t1;
if ($event instanceof A.KeyDownEvent && $event.logicalKey.$eq(0, C.LogicalKeyboardKey_4294967305)) {
t1 = this.nextFocusNode;
if (t1 != null)
t1.requestFocus$0();
}
},
$signature: 124
};
B.AdvancedSearchInputForm__buildTextField_closure.prototype = {
call$1(value) {
var t1, t2;
if (this.isSelectFormList) {
t1 = this.onTap;
if (t1 != null)
t1.call$0();
} else {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).onSearchAction$0();
A.GetNavigation_back($.$get$Get(), false, null);
}
},
$signature: 8
};
B.AutoCompleteSuggestionItemWidgetWeb_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onSelectedAction.call$1(t1.emailAddress);
return t1;
},
$signature: 0
};
B.AutoCompleteTagItemWidgetWeb_build_closure0.prototype = {
call$0() {
var t1 = this.$this;
if (t1.isCollapsed)
t1 = t1.onShowFullAction.call$1(t1.field);
else
t1 = null;
return t1;
},
$signature: 0
};
B.AutoCompleteTagItemWidgetWeb_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onDeleteTagAction.call$1(t1.currentEmailAddress);
return t1;
},
$signature: 0
};
B.AutoCompleteTagItemWidgetWeb_build_closure1.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onShowFullAction.call$1(t1.field);
return t1;
},
$signature: 0
};
B.DateDropDownButton_build_closure.prototype = {
call$1(item) {
var _null = null,
t1 = A._setArrayType([A.Expanded$(A.Text$(item.getTitle$1(this.context), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_69t3, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
if (item === this.$this.receiveTimeSelected)
t1.push(A.SvgPicture$asset("assets/images/ic_checked.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20));
return A.DropdownMenuItem$(A.PointerInterceptor$(A.Container$(_null, A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_0, _null, _null, _null, 44, _null, _null, _null, _null, _null, _null)), item, type$.EmailReceiveTimeType);
},
$signature: 1719
};
B.DateDropDownButton_build_closure0.prototype = {
call$1(value) {
if (value != null)
this.$this.onReceiveTimeSelected.call$1(value);
},
$signature: 1720
};
B.IconOpenAdvancedSearchWidget_build_closure.prototype = {
call$0() {
var t6, t7, _null = null,
t1 = this.context,
t2 = type$._LocalizationsScope,
t3 = A.Bidi_isRtlLanguage(t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale.get$languageCode(0)) ? 0 : 8,
t4 = A.Bidi_isRtlLanguage(t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale.get$languageCode(0)) ? 8 : 0,
t5 = A.Bidi_isRtlLanguage(t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale.get$languageCode(0)) ? 0 : 2;
t2 = A.Bidi_isRtlLanguage(t1.dependOnInheritedWidgetOfExactType$1$0(t2).localizationsState._localizations$_locale.get$languageCode(0)) ? 2 : 0;
t6 = this.$this;
t7 = t6.searchController;
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.isAdvancedSearchViewOpen.get$value(0) || t7.advancedSearchIsActivated.get$value(0) ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : A.ColorNullableExtension_asFilter(C.Color_4288258733), C.BoxFit_1, 16, _null, _null, 16), new A.EdgeInsets(t2, 0, t5, 0), _null, _null, 40, new B.IconOpenAdvancedSearchWidget_build__closure(t6, t1), 15, _null), _null);
},
$signature: 637
};
B.IconOpenAdvancedSearchWidget_build__closure.prototype = {
call$0() {
A.log("IconOpenAdvancedSearchWidget::build(): clicked", C.Level_3);
var t1 = this.$this;
t1.advancedFilterController.initSearchFilterField$1(this.context);
t1.searchController.isAdvancedSearchViewOpen.set$value(0, true);
},
$signature: 0
};
B.SortByDropDownButton_build_closure.prototype = {
call$1(sortType) {
var _null = null,
t1 = A.Localizations_of(this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t1.toString;
t1 = sortType.getTitleByAppLocalizations$1(t1);
t1 = A._setArrayType([A.Expanded$(A.Text$(t1, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, A.TextStyle$(_null, _null, C.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
if (sortType === this.$this.sortOrderSelected)
t1.push(A.SvgPicture$asset("assets/images/ic_checked.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20));
return A.DropdownMenuItem$(A.PointerInterceptor$(A.Container$(_null, A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_0, _null, _null, _null, 44, _null, _null, _null, _null, _null, _null)), sortType, type$.EmailSortOrderType);
},
$signature: 1721
};
B._TextFieldAutocompleteEmailAddressWebState_build_closure.prototype = {
call$2(context, constraints) {
var _null = null,
t1 = this.$this;
return A.Row$(A._setArrayType([new A.SizedBox(112, _null, A.Text$(t1._widget.field.getTitle$1(context), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_ehp, _null, _null, _null, _null, _null), _null), C.SizedBox_8_null_null_null, A.Expanded$(new A.StatefulBuilder(new B._TextFieldAutocompleteEmailAddressWebState_build__closure(t1, constraints), _null), 1)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
$signature: 353
};
B._TextFieldAutocompleteEmailAddressWebState_build__closure.prototype = {
call$2(context, setState) {
var t1 = this.$this;
return A.DragTarget$(new B._TextFieldAutocompleteEmailAddressWebState_build___closure(t1, context, this.constraints, setState), new B._TextFieldAutocompleteEmailAddressWebState_build___closure0(t1, setState), new B._TextFieldAutocompleteEmailAddressWebState_build___closure1(t1, setState), new B._TextFieldAutocompleteEmailAddressWebState_build___closure2(t1, setState), type$.DraggableEmailAddress);
},
$signature: 1723
};
B._TextFieldAutocompleteEmailAddressWebState_build___closure0.prototype = {
call$1(draggableEmailAddress) {
return this.$this._handleAcceptDraggableEmailAddressAction$2(draggableEmailAddress.data, this.setState);
},
$signature: 261
};
B._TextFieldAutocompleteEmailAddressWebState_build___closure1.prototype = {
call$1(draggableEmailAddress) {
var t1 = this.$this;
if (t1._isDragging)
this.setState.call$1(new B._TextFieldAutocompleteEmailAddressWebState_build____closure0(t1));
},
$signature: 631
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure0.prototype = {
call$0() {
return this.$this._isDragging = false;
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState_build___closure2.prototype = {
call$1(details) {
var t1 = this.$this;
if (!t1._isDragging)
this.setState.call$1(new B._TextFieldAutocompleteEmailAddressWebState_build____closure(t1));
},
$signature: 261
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure.prototype = {
call$0() {
return this.$this._isDragging = true;
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState_build___closure.prototype = {
call$3(_, __, ___) {
var t7, t8, t9, _this = this, _null = null,
t1 = _this.$this,
t2 = t1._widget.keyTagEditor,
t3 = t1.get$_collapsedListEmailAddress().length,
t4 = t1._widget,
t5 = t4.controller,
t6 = t4.focusNode;
t4 = t4.field.getHintText$1(_this.context);
t7 = t1.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t7 === $ && A.throwUnnamedLateFieldNI();
t7 = t7.length !== 0;
t4 = A.InputDecoration$(_null, C.OutlineInputBorder_iL9, _null, t7 ? C.EdgeInsetsDirectional_0_16_0_16 : C.EdgeInsetsDirectional_12_16_0_16, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, C.Color_4294967295, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, E.TextStyle_e3y0, t4, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
t7 = t7 ? C.EdgeInsets_12_0_12_0 : C.EdgeInsets_0_0_0_0;
t8 = t1._isDragging ? C.Color_4278221567 : C.Color_520093696;
t9 = _this.setState;
return A.TagEditor$(false, false, false, _null, 10, 1, t5, C.Color_4278221567, C.Duration_150000, true, t8, true, t1.get$_findSuggestions(), _null, t6, C.Color_4278221567, t4, t2, C.TextInputType_5_null_null, t3, 40, new B._TextFieldAutocompleteEmailAddressWebState_build____closure1(t1, t9), new B._TextFieldAutocompleteEmailAddressWebState_build____closure2(t1, t9), _null, new B._TextFieldAutocompleteEmailAddressWebState_build____closure3(t1), new B._TextFieldAutocompleteEmailAddressWebState_build____closure4(t1, t9), new B._TextFieldAutocompleteEmailAddressWebState_build____closure5(t1, t9), new B._TextFieldAutocompleteEmailAddressWebState_build____closure6(t1, t9), _null, t7, true, t1._getSuggestionBoxWidth$1(_this.constraints.maxWidth), new B._TextFieldAutocompleteEmailAddressWebState_build____closure7(t1, t9), _null, _null, C.Color_4294967295, 20, 350, 20, new B._TextFieldAutocompleteEmailAddressWebState_build____closure8(t1, t9), 4, C.TextInputAction_2, C.TextStyle_69t3, true, type$.SuggestionEmailAddress_2);
},
$signature: 1724
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure2.prototype = {
call$1(focused) {
return this.$this.get$_handleFocusTagAction().call$2(focused, this.setState);
},
$signature: 16
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure1.prototype = {
call$0() {
return this.$this.get$_handleDeleteLatestTagAction().call$1(this.setState);
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure4.prototype = {
call$1(item) {
return this.$this.get$_handleSelectOptionAction().call$2(item, this.setState);
},
$signature: 524
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure5.prototype = {
call$1(value) {
return this.$this.get$_handleSubmitTagAction().call$2(value, this.setState);
},
$signature: 8
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure8.prototype = {
call$2(context, index) {
var currentEmailAddress, isLatestEmail, t3, t4, t5, t6, t7, t8,
t1 = this.$this,
t2 = t1.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t2 === $ && A.throwUnnamedLateFieldNI();
currentEmailAddress = t2[index];
isLatestEmail = currentEmailAddress.$eq(0, C.JSArray_methods.get$last(t2));
t2 = t1._widget.field;
t3 = t1.___TextFieldAutocompleteEmailAddressWebState__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.AutoCompleteTagItemWidgetWeb(t5, t6, isLatestEmail, t2, currentEmailAddress, t3, t4, new B._TextFieldAutocompleteEmailAddressWebState_build_____closure(t1, this.setState), t7, t8.find$1$1$tag(0, null, type$.ImagePaths), null);
},
$signature: typesOffset + 63
};
B._TextFieldAutocompleteEmailAddressWebState_build_____closure.prototype = {
call$1(emailAddress) {
return this.$this.get$_handleDeleteTagAction().call$2(emailAddress, this.setState);
},
$signature: 58
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure6.prototype = {
call$1(tag) {
return this.$this.get$_handleOnTagChangeAction().call$2(tag, this.setState);
},
$signature: 8
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure7.prototype = {
call$7(context, tagEditorState, suggestionEmailAddress, index, $length, highlight, suggestionValid) {
var t1;
$.$get$Get();
t1 = $.GetInstance__getInstance;
if (t1 == null)
t1 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.AutoCompleteSuggestionItemWidgetWeb(suggestionEmailAddress.state, suggestionEmailAddress.emailAddress, suggestionValid, highlight, new B._TextFieldAutocompleteEmailAddressWebState_build_____closure0(this.$this, this.setState, tagEditorState), t1.find$1$1$tag(0, null, type$.ImagePaths), null);
},
$signature: typesOffset + 64
};
B._TextFieldAutocompleteEmailAddressWebState_build_____closure0.prototype = {
call$1(emailAddress) {
var t1 = this.$this;
this.setState.call$1(new B._TextFieldAutocompleteEmailAddressWebState_build______closure(t1, emailAddress));
t1._updateListEmailAddressAction$0();
t1 = this.tagEditorState;
t1.resetTextField$0();
t1.closeSuggestionBox$0();
},
$signature: 224
};
B._TextFieldAutocompleteEmailAddressWebState_build______closure.prototype = {
call$0() {
var t1 = this.$this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.push(this.emailAddress);
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState_build____closure3.prototype = {
call$1($event) {
if ($event instanceof A.KeyDownEvent)
$label0$0: {
if (C.LogicalKeyboardKey_4294967305.$eq(0, $event.logicalKey)) {
this.$this._widget.nextFocusNode.requestFocus$0();
break $label0$0;
}
break $label0$0;
}
},
$signature: 525
};
B._TextFieldAutocompleteEmailAddressWebState__findSuggestions_closure.prototype = {
call$1(emailAddress) {
var t1 = this.$this,
t2 = t1.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t2 === $ && A.throwUnnamedLateFieldNI();
return t1._toSuggestionEmailAddress$2(emailAddress, t2);
},
$signature: 208
};
B._TextFieldAutocompleteEmailAddressWebState__isDuplicated_closure.prototype = {
call$1(emailAddress) {
return emailAddress.email;
},
$signature: 129
};
B._TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure.prototype = {
call$1(addedMail) {
var t1 = addedMail.email;
if (t1 == null)
t1 = "";
return C.JSString_methods.contains$1(t1, this.query);
},
$signature: 46
};
B._TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure0.prototype = {
call$1(emailAddress) {
return new A.SuggestionEmailAddress(emailAddress, C.SuggestionEmailState_1);
},
$signature: 208
};
B._TextFieldAutocompleteEmailAddressWebState__handleFocusTagAction_closure.prototype = {
call$0() {
return this.$this._lastTagFocused = this.focused;
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState__handleDeleteTagAction_closure.prototype = {
call$0() {
var t1 = this.$this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return C.JSArray_methods.remove$1(t1, this.emailAddress);
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState__handleSelectOptionAction_closure.prototype = {
call$0() {
var t1 = this.$this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.push(this.suggestionEmailAddress.emailAddress);
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState__handleSubmitTagAction_closure.prototype = {
call$0() {
var t1 = this.$this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.push(new A.EmailAddress(null, this.textTrim));
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState__handleOnTagChangeAction_closure.prototype = {
call$0() {
var t1 = this.$this.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return t1.push(new A.EmailAddress(null, this.textTrim));
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.___TextFieldAutocompleteEmailAddressWebState__currentListEmailAddress_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t2.push(this.draggableEmailAddress.emailAddress);
t1._isDragging = false;
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure0.prototype = {
call$0() {
return this.$this._isDragging = false;
},
$signature: 0
};
B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure1.prototype = {
call$0() {
return this.$this._isDragging = false;
},
$signature: 0
};
B.MarkMailboxAsReadLoadingBanner_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B.MarkMailboxAsReadLoadingBanner_build_closure0.prototype = {
call$1(success) {
if (success instanceof A.MarkAsMailboxReadLoading)
return new A.Padding(D.EdgeInsetsDirectional_0_0_16_8, C.Center_cwU, null);
else if (success instanceof A.UpdatingMarkAsMailboxReadState)
return this.$this._mark_mailbox_as_read_loading_banner$_buildProgressBanner$2(success.countRead, success.totalUnread);
else if (success instanceof A.EmptyingFolderState)
return this.$this._mark_mailbox_as_read_loading_banner$_buildProgressBanner$2(success.countEmailsDeleted, success.totalEmails);
else
return C.SizedBox_0_0_null_null;
},
$signature: 63
};
B.EmailQuickSearchItemTileWidget_build_closure.prototype = {
call$2(context, constraints) {
var t1, t2, t3, t4, t5, t6, t7, t8, _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 = C.EdgeInsetsDirectional_12_12_12_12;
t3 = t1._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, _null, 18);
t5 = t1._getInformationSender$0();
t1 = t1.searchQuery.value;
t6 = t1;
t6 = A.Container$(_null, B.RichTextBuilder$(false, _null, C.TextStyle_69t1, A.TextStyle$(_null, C.Color_4294956864, C.Color_4278190080, _null, _null, _null, _null, _null, _null, _null, _null, 15, _null, _null, C.FontWeight_5_600, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), t5, t6), C.Clip_0, _null, new A.BoxConstraints(0, maxWidthItem / 3, 0, 1 / 0), _null, _null, _null, _null, _null, _null, _null, _null, _null);
t5 = t3.getEmailTitle$0();
t7 = t1;
t8 = type$.JSArray_Widget;
t7 = A._setArrayType([t6, E.SizedBox_16_null_null_null, A.Expanded$(B.RichTextBuilder$(true, B.PresentationEmailExtension__sanitizeSearchSnippet(t3, t3.SearchSnippetMixin_searchSnippetSubject), C.TextStyle_69t22, A.TextStyle$(_null, C.Color_4294956864, C.Color_4278190080, _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), t5, t7), 1)], t8);
if (t3.hasAttachment === true)
t7.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, _null, 14), _null));
t7.push(A.Text$(B.PresentationEmailExtension_getReceivedAt(t3, context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale._rawToString$1("-"), _null), _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, C.TextStyle_69t22, C.TextAlign_1, _null, _null, _null, _null));
t5 = A.Row$(t7, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_2, C.MainAxisSize_1, _null);
t6 = t3.getPartialContent$0();
return new A.Padding(t2, A.Row$(A._setArrayType([new A.Padding(C.EdgeInsets_0_2_0_0, t4, _null), C.SizedBox_8_null_null_null, A.Expanded$(A.Column$(A._setArrayType([t5, D.SizedBox_null_3_null_null, B.RichTextBuilder$(true, B.PresentationEmailExtension__sanitizeSearchSnippet(t3, t3.SearchSnippetMixin_searchSnippetPreview), C.TextStyle_yql, A.TextStyle$(_null, C.Color_4294956864, C.Color_4285364357, _null, _null, _null, _null, _null, _null, _null, _null, 13, _null, _null, _null, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), t6, t1)], t8), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t8), C.CrossAxisAlignment_0, _null, C.MainAxisAlignment_2, C.MainAxisSize_1, _null), _null);
},
$signature: 1725
};
B.FilterMessageButton_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onDeleteFilterMessageOptionAction.call$1(t1.filterMessageOption);
return t1;
},
$signature: 0
};
B.FilterMessageButton_build_closure0.prototype = {
call$1(details) {
return this.$this._filter_message_button$_onTapDownAction$2(this.context, details);
},
$signature: 33
};
B.FilterMessageButton_build_closure1.prototype = {
call$1(details) {
return this.$this._filter_message_button$_onTapDownAction$2(this.context, details);
},
$signature: 33
};
B.SearchFilterButton_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onDeleteSearchFilterAction.call$1(t1.searchFilter);
return t1;
},
$signature: 0
};
B.SearchFilterButton_build_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onSelectSearchFilterAction;
if (t2 != null)
t2.call$2(this.context, t1.searchFilter);
return null;
},
$signature: 0
};
B.SearchFilterButton_build_closure1.prototype = {
call$1(details) {
return this.$this._onTapDownAction$2(this.context, details);
},
$signature: 33
};
B.SearchFilterButton_build_closure2.prototype = {
call$1(details) {
return this.$this._onTapDownAction$2(this.context, details);
},
$signature: 33
};
B.SearchInputFormWidget_build_closure.prototype = {
call$0() {
var t6, t7, t8, t9, _null = null,
t1 = this.$this,
t2 = t1._searchController,
t3 = t2.isAdvancedSearchViewOpen,
t4 = t3.get$value(0),
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, _null, _null, _null, t2.get$closeAdvanceSearch(), _null, _null, _null, _null, _null, _null, _null, false, C.Offset_7BT));
t3 = t3.get$value(0);
t6 = t1._search_input_form_widget$_dashBoardController;
t7 = t6.get$minInputLengthAutocomplete();
t8 = this.context;
t9 = t1._createConfiguration$1(t8);
A.Localizations_of(t8, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.PortalTarget$(C.C_Filled, A.PortalTarget$(E.Aligned_wEo, B.QuickSearchInputForm$(new B.SearchInputFormWidget_build__closure(t1), new B.SearchInputFormWidget_build__closure0(t1), new B.SearchInputFormWidget_build__closure1(t1), new B.SearchInputFormWidget_build__closure2(), t6.get$getContactSuggestion(), C.Duration_300000, t2.get$getAllRecentSearchAction(), new B.SearchInputFormWidget_build__closure3(t1), new B.SearchInputFormWidget_build__closure4(), D.List_LB7, D.EdgeInsets_12_12_12_6, new B.SearchInputFormWidget_build__closure5(t1), 52, t7, t1.get$_invokeSelectContactSuggestion(), t1.get$_invokeSelectRecentItem(), t1.get$_invokeSelectSuggestionItem(), D.QuickSearchSuggestionsBoxDecoration_7K0, 0, t6.get$quickSearchEmails(), t9, 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_5Ry2, _null, _null, _null, _null, _null), _null), type$.PresentationEmail, type$.EmailAddress, type$.RecentSearch), D.AdvancedSearchFilterOverlay_null, t3), t5, t4);
},
$signature: 354
};
B.SearchInputFormWidget_build__closure.prototype = {
call$3(context, filterAction, suggestionsListState) {
if (filterAction instanceof A.QuickSearchFilter)
return this.$this.buildListButtonForQuickSearchForm$3(context, filterAction, suggestionsListState);
else
return C.SizedBox_0_0_null_null;
},
$signature: typesOffset + 17
};
B.SearchInputFormWidget_build__closure0.prototype = {
call$1(filterAction) {
var t1, t2;
if (filterAction instanceof A.QuickSearchFilter) {
t1 = this.$this._searchController.listFilterOnSuggestionForm;
if (!t1.contains$1(t1, filterAction)) {
t2 = t1.RxObjectMixin___RxObjectMixin__value_A;
t2 === $ && A.throwUnnamedLateFieldNI();
J.add$1$ax(t2, filterAction);
t2 = t1.NotifyManager_subject;
t1 = t1.get$value(0);
t2._rx_stream$_value = t1;
t2._notifyData$1(t1);
}
}
},
$signature: 15
};
B.SearchInputFormWidget_build__closure1.prototype = {
call$3(context, keyword, _) {
if (typeof keyword == "string")
return this.$this._buildShowAllResultButton$2(context, keyword);
else
return C.SizedBox_0_0_null_null;
},
$signature: typesOffset + 17
};
B.SearchInputFormWidget_build__closure5.prototype = {
call$1(context) {
return new A.Padding(D.EdgeInsets_0_0_0_16, C.Center_Gxp, null);
},
$signature: 1727
};
B.SearchInputFormWidget_build__closure4.prototype = {
call$2(context, recent) {
return B.RecentSearchItemTileWidget$(recent, null);
},
$signature: typesOffset + 69
};
B.SearchInputFormWidget_build__closure3.prototype = {
call$2(context, email) {
var t1 = this.$this;
return B.EmailQuickSearchItemTileWidget$(email, t1._search_input_form_widget$_dashBoardController.selectedMailbox.get$value(0), null, new A.SearchQuery(C.JSString_methods.trim$0(t1._searchController.currentSearchText)));
},
$signature: typesOffset + 70
};
B.SearchInputFormWidget_build__closure2.prototype = {
call$2(context, emailAddress) {
return new B.ContactQuickSearchItem(emailAddress, null);
},
$signature: typesOffset + 71
};
B.SearchInputFormWidget__buildShowAllResultButton_closure.prototype = {
call$0() {
return this.$this._invokeSearchEmailAction$1(C.JSString_methods.trim$0(this.keyword));
},
$signature: 0
};
B.SearchInputFormWidget__createConfiguration_closure0.prototype = {
call$1(keyword) {
return this.$this._invokeSearchEmailAction$1(C.JSString_methods.trim$0(keyword));
},
$signature: 8
};
B.SearchInputFormWidget__createConfiguration_closure.prototype = {
call$0() {
var t1 = this.$this;
return t1._invokeSearchEmailAction$1(C.JSString_methods.trim$0(t1._searchController.searchInputController._change_notifier$_value.text));
},
$signature: 0
};
B.SearchInputFormWidget_buildListButtonForQuickSearchForm_closure.prototype = {
call$0() {
var _null = null,
t1 = this.searchFilter,
t2 = this.$this,
t3 = t2._searchController.listFilterOnSuggestionForm,
isSelected = t3.contains$1(t3, t1);
return B.SearchFilterButton$(t1.getSuggestionBackgroundColor$1$isSelected(isSelected), _null, _null, t2._search_input_form_widget$_imagePaths, isSelected, _null, _null, _null, _null, new B.SearchInputFormWidget_buildListButtonForQuickSearchForm__closure(t2, this.suggestionsListState), _null, _null, t2._search_input_form_widget$_responsiveUtils, t1, _null, _null, _null);
},
$signature: typesOffset + 2
};
B.SearchInputFormWidget_buildListButtonForQuickSearchForm__closure.prototype = {
call$1(searchFilter) {
var t1 = this.$this._searchController.listFilterOnSuggestionForm;
t1.remove$1(t1, searchFilter);
this.suggestionsListState.invalidateSuggestions$0();
},
$signature: 1728
};
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");
if (t3._as(t2.get(t1)).octetsQuota.get$value(0) != null) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).octetsQuota.get$value(0);
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.get$value(0);
t2.toString;
return new A.LayoutBuilder(new B.QuotasView_build__closure(t1, t2), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 94
};
B.QuotasView_build__closure.prototype = {
call$2(context, constraints) {
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");
t3._as(t2.get(t1)).toString;
t4 = type$.MediaQuery;
t5 = A.InheritedModel_inheritFrom(context, C._MediaQueryAspect_0, 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, C._MediaQueryAspect_0, 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, _null, 24);
A.Localizations_of(context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t3 = type$.JSArray_Widget;
t6 = this.octetQuota;
return A.Container$(C.AlignmentDirectional_m1_0, A.Column$(A._setArrayType([A.Row$(A._setArrayType([t2, C.SizedBox_12_null_null_null, A.Text$(A.Intl__message("Storage", _null, "storageQuotas", _null, _null), _null, _null, 1, C.TextOverflow_2, _null, _null, _null, _null, C.TextStyle_8aB1, _null, _null, _null, _null, _null)], t3), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.SizedBox_null_8_null_null, new A.SizedBox(t1._getProgressBarMaxWith$1(constraints.maxWidth), _null, A.LinearProgressIndicator$(C.Color_4293388524, C.BorderRadius_ww8, B.QuotasExtensions_getQuotasStateProgressBarColor(t6), 3, B.QuotasExtensions_get_usedStoragePercent(t6)), _null), C.SizedBox_null_8_null_null, A.Text$(B.QuotasExtensions_getQuotasStateTitle(t6, context), _null, _null, 2, C.TextOverflow_2, _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, _null, _null, _null, _null, _null, C.BoxShape_0), _null, _null, _null, t5, D.EdgeInsetsDirectional_16_16_0_0, _null, _null, _null);
},
$signature: 188
};
B.QuotasBannerWidget_build_closure.prototype = {
call$0() {
var t2, t3, t4, t5, _null = null,
t1 = this.$this._quotasController,
octetQuota = t1.octetsQuota.get$value(0);
if (octetQuota != null) {
if (octetQuota.used != null) {
t2 = octetQuota.hardLimit;
t2 = (t2 == null ? octetQuota.limit : t2) != null;
} else
t2 = false;
if (t2)
t2 = B.QuotasExtensions_get_isHardLimitReached(octetQuota) || B.QuotasExtensions_get_isWarnLimitReached(octetQuota);
else
t2 = false;
} else
t2 = false;
if (t2) {
t2 = B.QuotasExtensions_getQuotaBannerBackgroundColor(octetQuota);
t3 = this.context;
t4 = B.QuotasBannerStyles_getBannerMargin(t3, t1.responsiveUtils);
t5 = type$.JSArray_Widget;
return A.Container$(_null, A.Row$(A._setArrayType([A.SvgPicture$asset(B.QuotasExtensions_getQuotaBannerIcon(octetQuota, t1.imagePaths), C.Alignment_0_0, _null, C.BoxFit_0, 32, _null, _null, 32), E.SizedBox_16_null_null_null, A.Expanded$(A.Column$(A._setArrayType([A.Text$(B.QuotasExtensions_getQuotaBannerTitle(octetQuota, t3), _null, _null, _null, _null, _null, _null, _null, _null, A.TextStyle$(_null, _null, B.QuotasExtensions_getQuotaBannerTitleColor(octetQuota), _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_4_null_null, A.Text$(B.QuotasExtensions_getQuotaBannerMessage(octetQuota, t3), _null, _null, _null, _null, _null, _null, _null, _null, C.TextStyle_8aB, _null, _null, _null, _null, _null)], t5), C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1)], t5), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(t2, _null, _null, C.BorderRadius_ww89, _null, _null, _null, C.BoxShape_0), _null, _null, _null, t4, C.EdgeInsetsDirectional_16_8_16_8, _null, _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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$context(this.context);
},
$signature: 10
};
B.SearchEmailView_build_closure3.prototype = {
call$0() {
return A.FocusScope_of(this.context).unfocus$0();
},
$signature: 0
};
B.SearchEmailView_build_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");
if (t3._as(t2.get(t1)).selectionMode.get$value(0) === C.SelectMode_0) {
A.Expando__checkType(t1);
t4 = A.ListPresentationEmailExtension_get_listEmailSelected(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.listResultSearch);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.mapMailboxById;
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).get$cancelSelectionMode();
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).get$handleSelectionEmailAction();
$.$get$Get();
t2 = $.GetInstance__getInstance;
if (t2 == null)
t2 = $.GetInstance__getInstance = C.C_GetInstance;
return new B.AppBarSelectionMode(t2.find$1$1$tag(0, null, type$.ImagePaths), t4, t5, t6, t1, null);
} else
return t1._search_email_view$_buildSearchInputForm$1(this.context);
},
$signature: 3
};
B.SearchEmailView_build_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)).suggestionSearchViewState.get$value(0);
A.Expando__checkType(t1);
return new B.SearchEmailLoadingBarWidget(t3._as(t2.get(t1)).resultSearchViewState.get$value(0), t4, null);
},
$signature: typesOffset + 72
};
B.SearchEmailView_build_closure2.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");
if (!t3._as(t2.get(t1)).searchIsRunning.get$value(0)) {
t4 = A._setArrayType([], type$.JSArray_Widget);
A.Expando__checkType(t1);
if (J.get$length$asx(t3._as(t2.get(t1)).currentSearchText.get$value(0)) !== 0) {
A.Expando__checkType(t1);
t4.push(t1._buildShowAllResultSearchButton$2(_this.context, t3._as(t2.get(t1)).currentSearchText.get$value(0)));
}
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).listContactSuggestionSearch;
if (!t5.get$isEmpty(t5)) {
A.Expando__checkType(t1);
t5 = J.get$length$asx(t3._as(t2.get(t1)).currentSearchText.get$value(0)) !== 0;
} else
t5 = false;
if (t5) {
A.Expando__checkType(t1);
t4.push(t1._buildListContactSuggestionSearch$2(_this.context, t3._as(t2.get(t1)).listContactSuggestionSearch));
}
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).listContactSuggestionSearch;
if (!t5.get$isEmpty(t5)) {
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).listSuggestionSearch;
t5 = !t5.get$isEmpty(t5);
} else
t5 = false;
if (t5)
t4.push(C.Divider_WbI);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).listSuggestionSearch;
if (!t5.get$isEmpty(t5)) {
A.Expando__checkType(t1);
t5 = J.get$length$asx(t3._as(t2.get(t1)).currentSearchText.get$value(0)) !== 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.get$length(0) === 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;
if (!t4.get$isEmpty(t4)) {
A.Expando__checkType(t1);
return t1._search_email_view$_buildListEmailBody$2(_this.context, t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.listResultSearch);
} else
return new A.Obx(new B.SearchEmailView_build__closure(t1), _null);
}
},
$signature: 3
};
B.SearchEmailView_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)).suggestionSearchViewState.get$value(0);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).resultSearchViewState.get$value(0);
A.Expando__checkType(t1);
return new B.EmptySearchEmailWidget(t5, t4, !J.$eq$(t3._as(t2.get(t1)).networkConnectionController._connectivityResult.get$value(0), C.ConnectivityResult_4), null);
},
$signature: typesOffset + 73
};
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$context(this.context);
},
$signature: 0
};
B.SearchEmailView__buildSearchInputForm_closure0.prototype = {
call$1(text) {
var queryString,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1));
queryString = C.JSString_methods.trim$0(text);
if (queryString.length !== 0) {
t2 = Date.now();
t1.consumeState$1(t1._saveRecentSearchInteractor.execute$1(new A.RecentSearch(queryString, new A.DateTime(t2, false))));
}
t1._searchEmailByQueryString$2$context$queryString(this.context, queryString);
return null;
},
$signature: 8
};
B.SearchEmailView__buildSearchInputForm_closure1.prototype = {
call$0() {
var t3, _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
if (J.get$length$asx(t3._as(t2.get(t1)).currentSearchText.get$value(0)) !== 0) {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t2 = A.SvgPicture$asset("assets/images/ic_clear_text_search.svg", C.Alignment_0_0, _null, C.BoxFit_0, 18, _null, _null, 18);
A.Localizations_of(this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.buildIconWeb(_null, _null, t2, _null, _null, _null, _null, new B.SearchEmailView__buildSearchInputForm__closure(t1), _null, A.Intl__message("Clear all", _null, "clearAll", _null, _null));
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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)).clearAllTextInputSearchForm$1$requestFocus(true);
},
$signature: 0
};
B.SearchEmailView__buildListSearchFilterAction_closure.prototype = {
call$0() {
var _null = null,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
if (A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).searchEmailFilter.get$value(0).get$isApplied()) {
t2 = this.context;
A.Localizations_of(t2, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
return A.TMailButtonWidget_TMailButtonWidget$fromText(C.Color_0, 10, _null, D.EdgeInsetsDirectional_8_6_8_0, 1 / 0, _null, 1 / 0, 0, _null, new B.SearchEmailView__buildListSearchFilterAction__closure(t1, t2), _null, A.Intl__message("Clear filter", _null, "clearFilter", _null, _null), _null, D.TextStyle_yT34, _null, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.SearchEmailView__buildListSearchFilterAction__closure.prototype = {
call$0() {
var _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));
t1.textInputSearchController.super$ValueNotifier$value(0, C.TextEditingValue_3bx);
t1.currentSearchText.set$value(0, "");
t1.listRecentSearch.set$length(0, 0);
t1.listSuggestionSearch.set$length(0, 0);
t1.EmailActionController_mailboxDashBoardController.listResultSearch.set$length(0, 0);
t1.__SearchEmailController_canSearchMore_A = true;
t1.__SearchEmailController_searchMoreState_A = C.SearchMoreState_0;
t1.emailReceiveTimeType.set$value(0, C.EmailReceiveTimeType_0);
t1.emailSortOrderType.set$value(0, C.EmailSortOrderType_0);
t1.searchEmailFilter.set$value(0, A.SearchEmailFilter$(_null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
t1._searchEmailAction$1(this.context);
return _null;
},
$signature: 0
};
B.SearchEmailView__buildSearchFilterButton_closure.prototype = {
call$0() {
var t3, searchEmailFilter, sortOrderType, listAddressOfFrom, t4, userName, startDate, endDate, receiveTimeType, mailbox, listAddressOfTo, t5, isSelected, 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");
searchEmailFilter = t3._as(t2.get(t1)).searchEmailFilter.get$value(0);
A.Expando__checkType(t1);
sortOrderType = t3._as(t2.get(t1)).emailSortOrderType.get$value(0);
A.Expando__checkType(t1);
listAddressOfFrom = t3._as(t2.get(t1)).searchEmailFilter.get$value(0).from;
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.sessionCurrent;
userName = t4 == null ? _null : t4.username;
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).searchEmailFilter.get$value(0).startDate;
startDate = t4 == null ? _null : t4.value.toLocal$0();
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).searchEmailFilter.get$value(0).endDate;
endDate = t4 == null ? _null : t4.value.toLocal$0();
A.Expando__checkType(t1);
receiveTimeType = t3._as(t2.get(t1)).searchEmailFilter.get$value(0).emailReceiveTimeType;
A.Expando__checkType(t1);
mailbox = t3._as(t2.get(t1)).searchEmailFilter.get$value(0).mailbox;
A.Expando__checkType(t1);
listAddressOfTo = t3._as(t2.get(t1)).searchEmailFilter.get$value(0).to;
t4 = this.searchFilter;
t5 = this.context;
isSelected = t4.isSelected$4(t5, searchEmailFilter, sortOrderType, userName);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).EmailActionController_imagePaths;
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).EmailActionController_responsiveUtils;
return B.SearchFilterButton$(t4.getMobileBackgroundColor$1$isSelected(isSelected), _null, endDate, t6, isSelected, new A.ValueKey("mobile_" + t4._core$_name + "_search_filter_button", type$.ValueKey_String), listAddressOfFrom, listAddressOfTo, mailbox, new B.SearchEmailView__buildSearchFilterButton__closure(t1, t5), t1.get$_onSelectSearchFilterAction(), receiveTimeType, t2, t4, sortOrderType, startDate, userName);
},
$signature: typesOffset + 2
};
B.SearchEmailView__buildSearchFilterButton__closure.prototype = {
call$1(searchFilter) {
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)).onDeleteSearchFilterAction$2(this.context, searchFilter);
},
$signature: 574
};
B.SearchEmailView__openPopupMenuDateFilter_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: 148
};
B.SearchEmailView__openContextMenuDateFilter_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: 148
};
B.SearchEmailView__popupMenuEmailReceiveTimeType_closure.prototype = {
call$1(timeType) {
return A.PopupMenuItem$(new B.EmailReceiveTimeActionTileWidget(this.receiveTimeSelected, timeType, this.onCallBack, null), true, 48, null, C.EdgeInsets_0_0_0_0, null, type$.dynamic);
},
$signature: 351
};
B.SearchEmailView__emailReceiveTimeCupertinoActionTile_closure.prototype = {
call$1(timeType) {
var t5, t6, _this = this, _null = null,
t1 = _this.context,
t2 = timeType.getTitle$1(t1),
t3 = _this.$this,
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t3);
t4 = t4._jsWeakMap;
t5 = A._instanceType(t3)._eval$1("GetWidget.S");
t5._as(t4.get(t3)).toString;
t6 = type$.MediaQuery;
A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, t6).toString;
A.Expando__checkType(t3);
t5._as(t4.get(t3)).toString;
t1 = A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, t6).data.size._dx < 600 ? C.EdgeInsetsDirectional_0_0_12_0 : C.EdgeInsets_0_0_0_0;
A.Expando__checkType(t3);
t5._as(t4.get(t3)).toString;
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, _null, 20), t1, _null, t2);
t2.onCupertinoActionSheetActionClick = new B.SearchEmailView__emailReceiveTimeCupertinoActionTile__closure(_this.onCallBack);
return t2.build$0();
},
$signature: 1729
};
B.SearchEmailView__emailReceiveTimeCupertinoActionTile__closure.prototype = {
call$1(timeType) {
var t1 = this.onCallBack.call$1(timeType);
return t1;
},
$signature: 148
};
B.SearchEmailView__popupMenuEmailSortOrderType_closure.prototype = {
call$1(sortType) {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A.PopupMenuItem$(new B.EmailSortByActionTitleWidget(sortType, A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_imagePaths, this.sortTypeSelected, this.onCallBack, null), true, 48, null, C.EdgeInsets_0_0_0_0, null, type$.dynamic);
},
$signature: 638
};
B.SearchEmailView__emailSortOrderCupertinoActionTitle_closure.prototype = {
call$1(sortType) {
var t3, t4, t5, t6, _this = this, _null = null,
t1 = _this.context,
t2 = A.Localizations_of(t1, C.Type_AppLocalizations_CTL, type$.AppLocalizations);
t2.toString;
t2 = sortType.getTitleByAppLocalizations$1(t2);
t3 = _this.$this;
t4 = $.$get$GetWidget__cache();
A.Expando__checkType(t3);
t4 = t4._jsWeakMap;
t5 = A._instanceType(t3)._eval$1("GetWidget.S");
t5._as(t4.get(t3)).toString;
t6 = type$.MediaQuery;
A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, t6).toString;
A.Expando__checkType(t3);
t5._as(t4.get(t3)).toString;
t6 = A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, t6).data.size._dx < 600 ? C.EdgeInsetsDirectional_0_0_12_0 : D.EdgeInsetsDirectional_0_0_0_0;
A.Expando__checkType(t3);
t5._as(t4.get(t3)).toString;
t2 = new B.EmailSortByCupertinoActionSheetActionBuilder(sortType, _this.sortOrderSelected, A.SvgPicture$asset("assets/images/ic_filter_selected.svg", C.Alignment_0_0, _null, C.BoxFit_0, 20, _null, _null, 20), t6, _null, t2);
t2.onCupertinoActionSheetActionClick = new B.SearchEmailView__emailSortOrderCupertinoActionTitle__closure(_this.onCallBack, t1);
return t2.build$0();
},
$signature: 1730
};
B.SearchEmailView__emailSortOrderCupertinoActionTitle__closure.prototype = {
call$1(sortType) {
var t1 = this.onCallBack.call$2(this.context, sortType);
return t1;
},
$signature: 573
};
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._searchEmailByQueryString$2$context$queryString(this.context, query);
}
},
$signature: 0
};
B.SearchEmailView__buildListRecentSearch_closure.prototype = {
call$2(context, index) {
var _null = null,
recentSearch = J.$index$asx(this.listRecentSearch.get$value(0), index),
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, B.RecentSearchItemTileWidget$(recentSearch, B.SearchEmailViewStyle_getListRecentSearchPadding(context, A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_responsiveUtils)), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildListRecentSearch__closure(t1, 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: 254
};
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._searchEmailByQueryString$2$context$queryString(this.context, t2);
return null;
},
$signature: 0
};
B.SearchEmailView__buildListSuggestionSearch_closure.prototype = {
call$2(context, index) {
var t5, t6, t7, _null = null,
t1 = this.listSuggestionSearch,
t2 = J.$index$asx(t1.get$value(0), index),
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)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0);
A.Expando__checkType(t3);
t7 = J.trim$0$s(t5._as(t4.get(t3)).currentSearchText.get$value(0));
A.Expando__checkType(t3);
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, B.EmailQuickSearchItemTileWidget$(t2, t6, B.SearchEmailViewStyle_getSearchSuggestionListPadding(context, t5._as(t4.get(t3)).EmailActionController_responsiveUtils), new A.SearchQuery(t7)), _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: 254
};
B.SearchEmailView__buildListSuggestionSearch__closure.prototype = {
call$0() {
var t3, mailboxContain, _this = this,
emailPreview = J.$index$asx(_this.listSuggestionSearch.get$value(0), _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__buildListContactSuggestionSearch_closure.prototype = {
call$2(context, index) {
var _null = null,
emailAddress = J.$index$asx(this.listContactSuggestionSearch.get$value(0), index);
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, new B.ContactQuickSearchItem(emailAddress, _null), _null, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, new B.SearchEmailView__buildListContactSuggestionSearch__closure(this.$this, context, emailAddress), _null, _null, _null, _null, _null, _null, _null), C.Clip_0, _null, 0, _null, _null, _null, _null, _null, C.MaterialType_4);
},
$signature: 254
};
B.SearchEmailView__buildListContactSuggestionSearch__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)).searchEmailByEmailAddressAction$2(this.context, this.emailAddress);
},
$signature: 0
};
B.SearchEmailView__buildListEmailBody_closure.prototype = {
call$1(scrollInfo) {
var t1, t2, t3, lastEmail, t4, t5, t6, t7, t8, t9, t10;
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;
t3 = t1._maxScrollExtent;
t3.toString;
t1 = t2 === t3 && t1.axisDirection === C.AxisDirection_2;
} 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;
t2 = t2.sessionCurrent != null && t2.accountId.get$value(0) != null;
} else
t2 = false;
if (t2) {
t2 = t1.EmailActionController_mailboxDashBoardController;
t3 = t2.listResultSearch;
lastEmail = t3.get$last(t3);
t4 = t1.searchEmailFilter;
if (t4.get$value(0).sortOrderType.isScrollByPosition$0())
t1._updateSimpleSearchFilter$2$beforeOption$positionOption(C.C_None2, new A.Some(J.get$length$asx(t3.get$value(0)), type$.Some_int));
else {
t3 = t4.get$value(0).sortOrderType;
t5 = type$.UTCDate;
t6 = lastEmail.receivedAt;
if (t3 === C.EmailSortOrderType_1)
t1._updateSimpleSearchFilter$1$startDateOption(A.optionOf(t6, t5));
else
t1._updateSimpleSearchFilter$1$beforeOption(A.optionOf(t6, t5));
}
t3 = t1._searchMoreEmailInteractor;
t5 = t2.sessionCurrent;
t5.toString;
t6 = t2.accountId;
t7 = t6.get$value(0);
t7.toString;
t8 = $.$get$ThreadConstants_defaultLimit();
t9 = t4.get$value(0).sortOrderType.getSortOrder$0().toNullable$0();
t10 = t4.get$value(0).position;
t4 = t4.get$value(0).mappingToEmailFilterCondition$0();
t2 = t2.sessionCurrent;
t2.toString;
t6 = t6.get$value(0);
t6.toString;
t6 = A.EmailUtils_getPropertiesForEmailGetMethod(t2, t6);
t1.consumeState$1(t3.execute$8$filter$lastEmailId$limit$position$properties$sort(t5, t7, t4, lastEmail.id, t8, t10, t6, t9));
}
}
return false;
},
$signature: 82
};
B.SearchEmailView__buildListEmailBody_closure0.prototype = {
call$2(context, index) {
return new A.Obx(new B.SearchEmailView__buildListEmailBody__closure(this.$this, J.$index$asx(this.listPresentationEmail.get$value(0), index), context), null);
},
$signature: 209
};
B.SearchEmailView__buildListEmailBody__closure.prototype = {
call$0() {
var t4, t5, t6, t7, t8,
t1 = this.currentPresentationEmail,
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)).selectionMode.get$value(0);
A.Expando__checkType(t2);
t6 = t4._as(t3.get(t2)).searchEmailFilter.get$value(0).text;
A.Expando__checkType(t2);
t7 = t4._as(t3.get(t2)).EmailActionController_mailboxDashBoardController.selectedEmail.get$value(0);
t7 = t7 == null ? null : t7.id;
t7 = J.$eq$(t7, t1.id);
t8 = this.context;
A.Expando__checkType(t2);
return B.EmailTileBuilder$(new B.SearchEmailView__buildListEmailBody___closure(t2, t8, t1), false, true, t7, null, t1.mailboxContain, new B.SearchEmailView__buildListEmailBody___closure0(t2, t8), B.SearchEmailViewStyle_getPaddingSearchResultList(t8, t4._as(t3.get(t2)).EmailActionController_responsiveUtils), t1, t6, t5);
},
$signature: typesOffset + 74
};
B.SearchEmailView__buildListEmailBody___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, this.currentPresentationEmail.mailboxContain);
},
$signature: 515
};
B.SearchEmailView__buildListEmailBody___closure0.prototype = {
call$2(email, position) {
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");
t3._as(t2.get(t1)).toString;
t4 = this.context;
if (A.InheritedModel_inheritFrom(t4, C._MediaQueryAspect_0, type$.MediaQuery).data.size.get$shortestSide() < 600) {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).openContextMenuAction$2(t4, A._setArrayType([t1._markAsEmailSpamOrUnSpamAction$2(t4, email)], type$.JSArray_Widget));
} else {
A.Expando__checkType(t1);
t3._as(t2.get(t1)).openPopupMenuAction$3(t4, position, A._setArrayType([A.PopupMenuItem$(t1._markAsEmailSpamOrUnSpamAction$2(t4, email), true, 48, null, C.EdgeInsets_8_0_8_0, null, type$.dynamic)], type$.JSArray_PopupMenuEntry_dynamic));
}
},
$signature: 348
};
B.SearchEmailView__buildListEmailBody_closure1.prototype = {
call$2(context, index) {
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 = B.ItemEmailTileStyles_getPaddingDividerWeb(context, t3._as(t2.get(t1)).EmailActionController_responsiveUtils);
if (index < J.get$length$asx(this.listPresentationEmail.get$value(0)) - 1) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).selectionMode.get$value(0) === C.SelectMode_1;
} else
t1 = false;
return new A.Padding(t4, A.Divider$(t1 ? _null : C.Color_4294967295, _null, _null, _null), _null);
},
$signature: 196
};
B.SearchEmailView__markAsEmailSpamOrUnSpamAction_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;
if (t2 == null)
t2 = null;
else {
t2 = t2.role;
t3 = J.getInterceptor$(t2);
t2 = t3.$eq(t2, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t2, $.$get$PresentationMailbox_roleJunk());
}
t2 = t2 === true ? C.EmailActionType_21 : C.EmailActionType_20;
return t1.pressEmailAction$3(this.context, t2, email);
},
$signature: 199
};
B.SearchEmailView__buildLoadingViewLoadMore_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return J.fold$2$ax(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState.get$value(0), new B.SearchEmailView__buildLoadingViewLoadMore__closure(), new B.SearchEmailView__buildLoadingViewLoadMore__closure0(t1));
},
$signature: 3
};
B.SearchEmailView__buildLoadingViewLoadMore__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B.SearchEmailView__buildLoadingViewLoadMore__closure0.prototype = {
call$1(success) {
return success instanceof A.SearchingMoreState ? new A.Padding(D.EdgeInsets_0_0_0_16, C.Center_Gxp, null) : C.SizedBox_0_0_null_null;
},
$signature: 63
};
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.EmailSortByActionTitleWidget_build_closure.prototype = {
call$0() {
var t1 = this.$this;
t1 = t1.onSortOrderSelected.call$2(this.context, t1.sortType);
return t1;
},
$signature: 0
};
B.EmailSortByCupertinoActionSheetActionBuilder_build_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1.onCupertinoActionSheetActionClick;
if (t2 != null)
t2.call$1(t1.sortType);
},
$signature: 0
};
B.EmptySearchEmailWidget_build_closure.prototype = {
call$1(failure) {
var t1 = this.$this;
return t1._suggestionViewStateToUI$1(t1.suggestionViewState);
},
$signature: 117
};
B.EmptySearchEmailWidget_build_closure0.prototype = {
call$1(success) {
var t1;
if (success instanceof A.SearchingState)
return C.SizedBox_0_0_null_null;
else {
t1 = this.$this;
return t1._suggestionViewStateToUI$1(t1.suggestionViewState);
}
},
$signature: 52
};
B.EmptySearchEmailWidget__suggestionViewStateToUI_closure.prototype = {
call$1(failure) {
return B.EmptyEmailsWidget$(false, this.$this.isNetworkConnectionAvailable, true, D.ValueKey_empty_search_email_view, null);
},
$signature: typesOffset + 75
};
B.EmptySearchEmailWidget__suggestionViewStateToUI_closure0.prototype = {
call$1(success) {
if (success instanceof A.LoadingState)
return C.SizedBox_0_0_null_null;
else
return B.EmptyEmailsWidget$(false, this.$this.isNetworkConnectionAvailable, true, D.ValueKey_empty_search_email_view, null);
},
$signature: 52
};
B.SearchEmailLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
var t1 = this.$this;
return t1._search_email_loading_bar_widget$_suggestionViewStateToUI$1(t1.suggestionViewState);
},
$signature: 117
};
B.SearchEmailLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
var t1;
if (success instanceof A.SearchingState)
return new A.Padding(C.EdgeInsets_0_16_0_16, C.Center_Gxp, null);
else {
t1 = this.$this;
return t1._search_email_loading_bar_widget$_suggestionViewStateToUI$1(t1.suggestionViewState);
}
},
$signature: 52
};
B.SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B.SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure0.prototype = {
call$1(success) {
if (success instanceof A.LoadingState)
return new A.Padding(C.EdgeInsets_0_16_0_16, C.Center_Gxp, null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 63
};
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);
return J.fold$2$ax(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState.get$value(0), new B.SearchMailboxView__buildLoadingView__closure(), new B.SearchMailboxView__buildLoadingView__closure0(t1));
},
$signature: 3
};
B.SearchMailboxView__buildLoadingView__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
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_Gxp, null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 63
};
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");
if (J.get$length$asx(t3._as(t2.get(t1)).currentSearchQuery.get$value(0)) !== 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, _null, 24);
A.Localizations_of(this.context, C.Type_AppLocalizations_CTL, 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, _null, 40, t3._as(t2.get(t1)).get$clearAllTextInputSearchForm(), _null, t5), _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 105
};
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);
return A.ListView$builder(null, new B.SearchMailboxView__buildMailboxListView__closure(t1), J.get$length$asx(t3._as(t2.get(t1)).listMailboxSearched.get$value(0)), null, C.ValueKey_list_mailbox_searched, t4, null, false, C.Axis_1, true);
},
$signature: 183
};
B.SearchMailboxView__buildMailboxListView__closure.prototype = {
call$2(context, index) {
return new A.LayoutBuilder(new B.SearchMailboxView__buildMailboxListView___closure(this.$this, index), null);
},
$signature: 1731
};
B.SearchMailboxView__buildMailboxListView___closure.prototype = {
call$2(context, constraints) {
var t3, mailboxCurrent, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
mailboxCurrent = J.$index$asx(t3._as(t2.get(t1)).listMailboxSearched.get$value(0), 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 + 76
};
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, C._MediaQueryAspect_0, type$.MediaQuery).data;
if (!(t3.size._dx >= 1200))
t1.closeSearchView$1(t2);
return null;
},
$signature: 180
};
B.SearchMailboxView__buildMailboxListView____closure0.prototype = {
call$2(position, mailbox) {
return this.$this._openMailboxMenuAction$3$position(this.context, mailbox, position);
},
$signature: 1732
};
B.SearchMailboxView__listPopupMenuItemAction_closure.prototype = {
call$1(action) {
return this.$this._mailboxFocusedMenuItem$3(this.context, action, this.mailbox);
},
$signature: typesOffset + 77
};
B._MailboxSearchedItemBuilderState_build_closure.prototype = {
call$3(_, __, ___) {
return this.$this._buildMailboxItem$1(this.context);
},
$signature: 1733
};
B._MailboxSearchedItemBuilderState_build_closure0.prototype = {
call$1(emails) {
var t1 = this.$this._widget;
t1.onDragEmailToMailboxAccepted.call$2(emails.data, t1._mailbox_searched_item_builder$_presentationMailbox);
},
$signature: 560
};
B._MailboxSearchedItemBuilderState__buildMailboxItem_closure.prototype = {
call$1(value) {
var t1 = this.$this;
return t1.setState$1(new B._MailboxSearchedItemBuilderState__buildMailboxItem__closure(t1, value));
},
$signature: 16
};
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: 33
};
B.ThreadView_build_closure.prototype = {
call$0() {
var t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13,
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.get$value(0);
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.get$value(0);
A.Expando__checkType(t1);
t7 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.filterMessageOption.get$value(0);
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);
t10 = t3._as(t2.get(t1)).get$pressEmailSelectionAction();
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t11 = this.context;
t12 = type$.MediaQuery;
t13 = A.InheritedModel_inheritFrom(t11, C._MediaQueryAspect_0, t12).data.size.get$shortestSide() < 600 ? new B.ThreadView_build__closure1(t1, t11) : null;
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
return new B.AppBarThreadWidget(!(A.InheritedModel_inheritFrom(t11, C._MediaQueryAspect_0, t12).data.size.get$shortestSide() < 600) ? new B.ThreadView_build__closure2(t1, t11) : null, t13, t8, t9, t10, t4, t5, t6, t7, null);
},
$signature: typesOffset + 80
};
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: 333
};
B.ThreadView_build__closure2.prototype = {
call$2(filterOption, 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);
return t4.openPopupMenuAction$3(t5, position, t1.popupMenuFilterEmailActionTile$3(t5, filterOption, t3._as(t2.get(t1)).get$filterMessagesAction()));
},
$signature: 1734
};
B.ThreadView_build_closure0.prototype = {
call$0() {
var t3, vacation, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
vacation = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.vacationResponse.get$value(0);
if (vacation == null)
t4 = null;
else
t4 = F.VacationResponseExtension_get_vacationResponderIsReady(vacation) && !F.VacationResponseExtension_get_vacationResponderIsStopped(vacation);
if (t4 === true) {
A.Expando__checkType(t1);
t4 = B.ThreadViewStyle_getBannerMargin(this.context, t3._as(t2.get(t1)).EmailActionController_responsiveUtils);
vacation.toString;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController;
A.Expando__checkType(t1);
return F.VacationNotificationMessageWidget$(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.get$disableVacationResponder(), t5.get$goToVacationSetting(), false, null, t4, null, vacation);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ThreadView_build_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)).EmailActionController_mailboxDashBoardController.isRecoveringDeletedMessage.get$value(0);
A.Expando__checkType(t1);
return new B.RecoverDeletedMessageLoadingBannerWidget(t4, C.Center_cwU, t3._as(t2.get(t1)).EmailActionController_responsiveUtils, null);
},
$signature: typesOffset + 11
};
B.ThreadView_build_closure2.prototype = {
call$0() {
var t3, presentationMailbox,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
presentationMailbox = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController;
t3 = this.context;
if (presentationMailbox != null)
if (J.$eq$(presentationMailbox.role, $.$get$PresentationMailbox_roleTrash()))
if (A.PresentationMailboxExtension_get_countTotalEmails(presentationMailbox) > 0)
if (t2.searchController.searchState.get$value(0).searchStatus !== C.SearchStatus_0) {
t2 = A.InheritedModel_inheritFrom(t3, C._MediaQueryAspect_0, type$.MediaQuery).data;
t2 = !(t2.size._dx >= 1200);
} else
t2 = false;
else
t2 = false;
else
t2 = false;
else
t2 = false;
if (t2)
return new B.BannerEmptyTrashWidget(new B.ThreadView_build__closure0(t1, t3), null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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_closure3.prototype = {
call$0() {
var t3, presentationMailbox, t4, t5,
t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
presentationMailbox = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0);
A.Expando__checkType(t1);
t2 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController;
t3 = this.context;
if (presentationMailbox != null) {
t4 = presentationMailbox.role;
t5 = J.getInterceptor$(t4);
if (t5.$eq(t4, $.$get$PresentationMailbox_roleSpam()) || t5.$eq(t4, $.$get$PresentationMailbox_roleJunk()))
if (A.PresentationMailboxExtension_get_countTotalEmails(presentationMailbox) > 0)
if (t2.searchController.searchState.get$value(0).searchStatus !== C.SearchStatus_0) {
t2 = A.InheritedModel_inheritFrom(t3, C._MediaQueryAspect_0, type$.MediaQuery).data;
t2 = !(t2.size._dx >= 1200);
} else
t2 = false;
else
t2 = false;
else
t2 = false;
} else
t2 = false;
if (t2)
return new B.BannerDeleteAllSpamEmailsWidget(new B.ThreadView_build__closure(t1, t3), null);
else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
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_closure4.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return new B.ThreadViewLoadingBarWidget(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState.get$value(0), null);
},
$signature: typesOffset + 81
};
B.ThreadView_build_closure5.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.get$value(0);
A.Expando__checkType(t1);
return A.Visibility$(t1._buildResultListEmail$2(this.context, t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox), !t4);
},
$signature: 1735
};
B.ThreadView__buildListButtonSelectionForMobile_closure.prototype = {
call$0() {
var t3, listEmailSelected, currentSelectMode, isSearchEmailRunning, 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");
listEmailSelected = A.ListPresentationEmailExtension_get_listEmailSelected(t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.emailsInCurrentMailbox);
A.Expando__checkType(t1);
currentSelectMode = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0);
A.Expando__checkType(t1);
if (!t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController.simpleSearchIsActivated.get$value(0)) {
A.Expando__checkType(t1);
isSearchEmailRunning = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController.advancedSearchIsActivated.get$value(0);
} else
isSearchEmailRunning = true;
if (t1._validateDisplayBottomBarSelection$4$context$currentSelectMode$isSearchEmailRunning$listEmailSelected(this.context, currentSelectMode, isSearchEmailRunning, listEmailSelected)) {
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).EmailActionController_imagePaths;
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).EmailActionController_responsiveUtils;
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0);
A.Expando__checkType(t1);
return new B.BottomBarThreadSelectionWidget(t4, t5, listEmailSelected, t6, t3._as(t2.get(t1)).get$pressEmailSelectionAction(), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 3
};
B.ThreadView__buildFloatingButtonCompose_closure.prototype = {
call$0() {
var t3, isAdvancedSearchViewOpen, 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");
isAdvancedSearchViewOpen = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController.isAdvancedSearchViewOpen.get$value(0);
A.Expando__checkType(t1);
t4 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0);
t4 = t4 == null ? _null : J.$eq$(t4.role, $.$get$PresentationMailbox_roleTrash());
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0);
A.Expando__checkType(t1);
if (t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController.searchState.get$value(0).searchStatus !== C.SearchStatus_0 && !isAdvancedSearchViewOpen && t4 !== true && t5 !== C.SelectMode_0) {
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: 3
};
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, _null, _null, _null, C.ScreenDisplayMode_2, C.EmailActionType_3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
},
$signature: 0
};
B.ThreadView__filterMessagesCupertinoActionTile_closure.prototype = {
call$1(filter) {
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 = B.FilterMessageOptionExtension_getContextMenuIcon(filter, t3._as(t2.get(t1)).EmailActionController_imagePaths);
t4 = A.SvgPicture$asset(t4, C.Alignment_0_0, filter === C.FilterMessageOption_2 ? A.ColorNullableExtension_asFilter(C.Color_4278221567) : _null, C.BoxFit_0, 20, _null, _null, 20);
t5 = this.context;
t6 = B.FilterMessageOptionExtension_getName(filter, t5);
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t7 = type$.MediaQuery;
t8 = A.InheritedModel_inheritFrom(t5, C._MediaQueryAspect_0, t7).data.size._dx < 600 ? C.EdgeInsets_12_0_16_0 : C.EdgeInsets_0_0_12_0;
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t5 = A.InheritedModel_inheritFrom(t5, C._MediaQueryAspect_0, t7).data.size._dx < 600 ? C.EdgeInsets_0_0_12_0 : C.EdgeInsets_0_0_0_0;
A.Expando__checkType(t1);
t3._as(t2.get(t1)).toString;
t6 = 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, _null, 20), t8, t5, new A.ValueKey("filter_email_" + filter._core$_name, type$.ValueKey_String), t4, t6);
A.Expando__checkType(t1);
t6.onCupertinoActionSheetActionClick = t3._as(t2.get(t1)).get$filterMessagesAction();
return t6.build$0();
},
$signature: 1736
};
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$2(context, index) {
return new A.Obx(new B.ThreadView__buildListEmailBody__closure(this.$this, index, this.listPresentationEmail, context), null);
},
$signature: 209
};
B.ThreadView__buildListEmailBody__closure.prototype = {
call$0() {
var _this = this,
t1 = _this.index,
t2 = _this.listPresentationEmail;
if (t1 === J.get$length$asx(t2.get$value(0))) {
t1 = _this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return t1._buildLoadMoreButton$2(_this.context, A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).loadingMoreStatus.get$value(0));
}
if (t1 === J.get$length$asx(t2.get$value(0)) + 1) {
t1 = _this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return t1._buildLoadMoreProgressBar$1(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).loadingMoreStatus.get$value(0));
}
return _this.$this._buildEmailItem$2(_this.context, J.$index$asx(t2.get$value(0), t1));
},
$signature: 3
};
B.ThreadView__buildListEmailBody_closure0.prototype = {
call$2(context, index) {
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 = B.ItemEmailTileStyles_getPaddingDividerWeb(context, t3._as(t2.get(t1)).EmailActionController_responsiveUtils);
if (index < J.get$length$asx(this.listPresentationEmail.get$value(0)) - 1) {
A.Expando__checkType(t1);
t1 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.currentSelectMode.get$value(0) === C.SelectMode_1;
} else
t1 = false;
return new A.Padding(t4, A.Divider$(t1 ? _null : C.Color_4294967295, _null, _null, _null), _null);
},
$signature: 196
};
B.ThreadView__buildEmailItemDraggable_closure2.prototype = {
call$1(_) {
},
$signature: 33
};
B.ThreadView__buildEmailItemDraggable_closure3.prototype = {
call$1(_) {
},
$signature: 33
};
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(0);
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(0);
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 + 82
};
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: 1737
};
B.ThreadView__buildEmailItemNotDraggable_closure0.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: 1738
};
B.ThreadView__buildEmailItemNotDraggable_closure.prototype = {
call$2(email, position) {
var t4, mailboxContain, t5, t6, _null = null,
_s8_ = "Personal",
t1 = this.$this,
t2 = this.context,
t3 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t3 = t3._jsWeakMap;
t4 = A._instanceType(t1)._eval$1("GetWidget.S");
t4._as(t3.get(t1)).toString;
mailboxContain = email.mailboxContain;
if (A.InheritedModel_inheritFrom(t2, C._MediaQueryAspect_0, type$.MediaQuery).data.size.get$shortestSide() < 600) {
A.Expando__checkType(t1);
t3 = t4._as(t3.get(t1));
t4 = A._setArrayType([t1._openInNewTabContextMenuItemAction$2(t2, email)], type$.JSArray_Widget);
t5 = mailboxContain == null;
if ((t5 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
if (t5)
t6 = _null;
else {
t6 = mailboxContain.namespace;
t6 = !(t6 == null || t6.$eq(0, new A.Namespace(_s8_))) && A.PresentationMailboxExtension_hasParentId(mailboxContain);
}
t6 = t6 === false;
} else
t6 = false;
if (t6)
t4.push(t1._markAsEmailSpamOrUnSpamContextMenuItemAction$3(t2, email, mailboxContain));
if ((t5 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleArchive())) === false)
t4.push(t1._archiveMessageContextMenuItemAction$2(t2, email));
t3.openContextMenuAction$2(t2, t4);
} else {
A.Expando__checkType(t1);
t3 = t4._as(t3.get(t1));
t4 = A._setArrayType([t1._buildOpenInNewTabPopupMenuItem$3(t2, email, mailboxContain)], type$.JSArray_PopupMenuEntry_dynamic);
t5 = mailboxContain == null;
if ((t5 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleDrafts())) === false) {
if (t5)
t6 = _null;
else {
t6 = mailboxContain.namespace;
t6 = !(t6 == null || t6.$eq(0, new A.Namespace(_s8_))) && A.PresentationMailboxExtension_hasParentId(mailboxContain);
}
t6 = t6 === false;
} else
t6 = false;
if (t6)
t4.push(t1._buildMarkAsSpamPopupMenuItem$3(t2, email, mailboxContain));
if ((t5 ? _null : J.$eq$(mailboxContain.role, $.$get$PresentationMailbox_roleArchive())) === false)
t4.push(t1._buildArchiveMessagePopupMenuItem$2(t2, email));
t3.openPopupMenuAction$3(t2, position, t4);
}
return _null;
},
$signature: 348
};
B.ThreadView__buildFeedBackWidget_closure.prototype = {
call$0() {
var t1, t2, _null = null;
A.Localizations_of(this.context, C.Type_AppLocalizations_CTL, type$.AppLocalizations).toString;
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = J.get$length$asx(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).listEmailDrag.get$value(0));
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_mtF6, _null, _null, _null, _null, _null);
},
$signature: 135
};
B.ThreadView__buildEmptyEmail_closure.prototype = {
call$0() {
var t1 = this.$this,
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
return J.fold$2$ax(A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).viewState.get$value(0), new B.ThreadView__buildEmptyEmail__closure(), new B.ThreadView__buildEmptyEmail__closure0(t1));
},
$signature: 3
};
B.ThreadView__buildEmptyEmail__closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B.ThreadView__buildEmptyEmail__closure0.prototype = {
call$1(success) {
var t1, t2, t3, t4, t5, t6;
if (success instanceof A.GetAllEmailLoading || success instanceof A.SearchingState)
return C.SizedBox_0_0_null_null;
if (success instanceof A.GetAllEmailSuccess) {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t1 = A._instanceType(t1)._eval$1("GetWidget.S")._as(t2._jsWeakMap.get(t1)).EmailActionController_mailboxDashBoardController.selectedMailbox.get$value(0);
t1 = t1 == null ? null : t1.id;
t1 = !J.$eq$(success.currentMailboxId, t1);
} else
t1 = false;
if (t1)
return C.SizedBox_0_0_null_null;
else {
t1 = this.$this;
t2 = $.$get$GetWidget__cache();
A.Expando__checkType(t1);
t2 = t2._jsWeakMap;
t3 = A._instanceType(t1)._eval$1("GetWidget.S");
t4 = J.$eq$(t3._as(t2.get(t1)).networkConnectionController._connectivityResult.get$value(0), C.ConnectivityResult_4);
A.Expando__checkType(t1);
t5 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.searchController;
t5 = t5.simpleSearchIsActivated.get$value(0) || t5.advancedSearchIsActivated.get$value(0);
A.Expando__checkType(t1);
t6 = t3._as(t2.get(t1)).EmailActionController_mailboxDashBoardController.filterMessageOption.get$value(0);
A.Expando__checkType(t1);
return B.EmptyEmailsWidget$(t6 !== C.FilterMessageOption_0, !t4, t5, D.ValueKey_empty_thread_view, t3._as(t2.get(t1)).get$goToCreateEmailRuleView());
}
},
$signature: 52
};
B.ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure.prototype = {
call$1(email) {
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.mailboxContain;
if (t2 == null)
t3 = null;
else {
t3 = t2.role;
t4 = J.getInterceptor$(t3);
t3 = t4.$eq(t3, $.$get$PresentationMailbox_roleSpam()) || t4.$eq(t3, $.$get$PresentationMailbox_roleJunk());
}
return t1.handleEmailActionType$3$mailboxContain(t3 === true ? C.EmailActionType_21 : C.EmailActionType_20, email, t2);
},
$signature: 199
};
B.ThreadView__openInNewTabContextMenuItemAction_closure.prototype = {
call$1(email) {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, 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: 199
};
B.ThreadView__archiveMessageContextMenuItemAction_closure.prototype = {
call$1(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)).EmailActionController_mailboxDashBoardController.archiveMessage$2(this.context, email);
return null;
},
$signature: 199
};
B.ThreadView__buildMarkAsSpamPopupMenuItem_closure.prototype = {
call$0() {
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.mailboxContain;
if (t2 == null)
t3 = null;
else {
t3 = t2.role;
t4 = J.getInterceptor$(t3);
t3 = t4.$eq(t3, $.$get$PresentationMailbox_roleSpam()) || t4.$eq(t3, $.$get$PresentationMailbox_roleJunk());
}
t3 = t3 === true ? C.EmailActionType_21 : C.EmailActionType_20;
return t1.handleEmailActionType$3$mailboxContain(t3, this.email, t2);
},
$signature: 0
};
B.ThreadView__buildOpenInNewTabPopupMenuItem_closure.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, 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: 9
};
B.ThreadView__buildArchiveMessagePopupMenuItem_closure.prototype = {
call$0() {
var t1, t2;
A.GetNavigation_back($.$get$Get(), false, 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.archiveMessage$2(this.context, this.email);
},
$signature: 9
};
B.ThreadView__buildMailboxActionProgressBanner_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)).EmailActionController_mailboxDashBoardController.viewStateMailboxActionProgress.get$value(0);
A.Expando__checkType(t1);
return new B._MailboxActionProgressBanner(t4, t3._as(t2.get(t1)).EmailActionController_responsiveUtils, null);
},
$signature: typesOffset + 83
};
B._MailboxActionProgressBanner_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B._MailboxActionProgressBanner_build_closure0.prototype = {
call$1(success) {
var t1, t2, t3, _this = this;
if (success instanceof A.MarkAsMailboxReadLoading || success instanceof A.EmptySpamFolderLoading || success instanceof A.EmptyTrashFolderLoading) {
t1 = _this.context;
t2 = type$.MediaQuery;
t3 = A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, t2).data.size._dx >= 1200 ? 16 : 0;
return new A.Padding(new A.EdgeInsets(16, t3, 16, A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, t2).data.size._dx >= 1200 ? 0 : 16), C.Center_cwU, null);
} else if (success instanceof A.UpdatingMarkAsMailboxReadState)
return _this.$this._buildProgressBanner$3(_this.context, success.countRead, success.totalUnread);
else if (success instanceof A.EmptyingFolderState)
return _this.$this._buildProgressBanner$3(_this.context, success.countEmailsDeleted, success.totalEmails);
return C.SizedBox_0_0_null_null;
},
$signature: 63
};
B.DefaultWebAppBarThreadWidget_build_closure.prototype = {
call$2(context, constraints) {
var t4, t5, t6, _null = null,
t1 = this.$this,
t2 = B.DefaultWebAppBarThreadWidgetStyle_getPadding(context, t1._default_web_app_bar_thread_widget$_responsiveUtils),
t3 = type$.AppLocalizations;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
t4 = A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_menu_drawer.svg", _null, _null, D.ValueKey_mailbox_menu_button, _null, 80, _null, t1.openMailboxAction, C.EdgeInsets_5_5_5_5, A.Intl__message("Open Folder menu", _null, "openFolderMenu", _null, _null));
t5 = t1.mailboxSelected;
t5 = t5 == null ? _null : A.PresentationMailboxExtension_getDisplayName(t5, context);
t5 = A.Expanded$(new A.Padding(C.EdgeInsets_16_0_16_0, A.Text$(t5 == null ? "" : t5, _null, _null, 1, C.TextOverflow_2, _null, _null, true, _null, D.TextStyle_69t21, _null, _null, _null, _null, _null), _null), 1);
t6 = t1.filterOption === C.FilterMessageOption_0 ? C.Color_4288258733 : C.Color_4278221567;
A.Localizations_of(context, C.Type_AppLocalizations_CTL, t3).toString;
return A.Container$(_null, A.Row$(A._setArrayType([t4, t5, A.TMailButtonWidget_TMailButtonWidget$fromIcon(C.Color_0, 20, _null, "assets/images/ic_filter.svg", t6, _null, D.ValueKey_filter_message_button, _null, 80, new B.DefaultWebAppBarThreadWidget_build__closure(t1), new B.DefaultWebAppBarThreadWidget_build__closure0(t1), _null, A.Intl__message("Filter messages", _null, "filter_messages", _null, _null))], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, C.Color_4294967295, C.BoxConstraints_86y0, _null, _null, _null, _null, _null, t2, _null, _null, _null);
},
$signature: 188
};
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: 198
};
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;
if (t2 == null)
t2 = null;
else {
t2 = t2.role;
t3 = J.getInterceptor$(t2);
t2 = t3.$eq(t2, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t2, $.$get$PresentationMailbox_roleJunk());
}
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;
if (t2 == null)
t2 = null;
else {
t2 = t2.role;
t3 = J.getInterceptor$(t2);
t2 = t3.$eq(t2, $.$get$PresentationMailbox_roleSpam()) || t3.$eq(t2, $.$get$PresentationMailbox_roleJunk());
}
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._EmailTileBuilderState_build_closure1.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_18, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState_build_closure0.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_19, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState_build_closure.prototype = {
call$0() {
var t3,
t1 = this.$this._widget,
t2 = t1.emailActionClick;
if (t2 == null)
t1 = null;
else {
t3 = t1.selectAllMode === C.SelectMode_0 ? C.EmailActionType_19 : C.EmailActionType_18;
t1 = t2.call$2(t3, t1.presentationEmail);
}
return t1;
},
$signature: 0
};
B._EmailTileBuilderState_build_closure7.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_18, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState_build_closure6.prototype = {
call$1(value) {
this.$this._hoverNotifier.set$value(0, value);
return value;
},
$signature: 16
};
B._EmailTileBuilderState_build_closure3.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_19, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState_build_closure2.prototype = {
call$3(context, value, child) {
return this.$this._email_tile_web_builder$_buildAvatarIcon$2$context$isHovered(context, value);
},
$signature: 200
};
B._EmailTileBuilderState_build_closure4.prototype = {
call$3(context, value, child) {
var t1, t2, _null = null;
if (value)
return D.SizedBox_120_null_null_null;
else {
t1 = this.$this;
t2 = A._setArrayType([t1.buildIconAnsweredOrForwarded$3$height$presentationEmail$width(16, t1._widget.presentationEmail, 16)], type$.JSArray_Widget);
if (t1._widget.presentationEmail.hasAttachment === true)
t2.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, _null, 16), _null));
t2.push(new A.Padding(E.EdgeInsetsDirectional_8_0_4_0, t1.buildDateTime$2(context, t1._widget.presentationEmail), _null));
t2.push(A.SvgPicture$asset("assets/images/ic_chevron.svg", C.Alignment_0_0, _null, C.BoxFit_0, 16, _null, _null, 16));
return A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
},
$signature: 200
};
B._EmailTileBuilderState_build_closure5.prototype = {
call$3(context, value, child) {
var t1, t2, _null = null;
if (value) {
t1 = this.$this;
t2 = A.Matrix4_Matrix4$translationValues(0, t1._widget.selectAllMode === C.SelectMode_1 ? -5 : 0, 0);
return A.Positioned$(_null, A.Transform$(_null, t1._buildListActionButtonWhenHover$1(context), _null, t2, true), _null, _null, _null, 0, 0, _null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 200
};
B._EmailTileBuilderState_build_closure14.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_18, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState_build_closure13.prototype = {
call$1(value) {
this.$this._hoverNotifier.set$value(0, value);
return value;
},
$signature: 16
};
B._EmailTileBuilderState_build_closure8.prototype = {
call$3(context, isHovered, child) {
var t1 = this.$this._widget.presentationEmail.selectMode === C.SelectMode_0,
t2 = t1 ? "assets/images/ic_checkbox_selected.svg" : "assets/images/ic_checkbox_unselected.svg";
return A.SvgPicture$asset(t2, C.Alignment_0_0, new A.EngineColorFilter(isHovered || t1 ? C.Color_4278221567 : C.Color_4289640386, C.BlendMode_5, null, C.ColorFilterType_0), C.BoxFit_1, 20, null, null, 20);
},
$signature: 1740
};
B._EmailTileBuilderState_build_closure9.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
if (t2 != null)
t2.call$2(C.EmailActionType_19, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState_build_closure10.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._widget,
t3 = t2.emailActionClick;
if (t3 == null)
t1 = null;
else {
t2 = t2.presentationEmail.get$hasStarred() ? C.EmailActionType_7 : C.EmailActionType_6;
t1 = t3.call$2(t2, t1._widget.presentationEmail);
}
return t1;
},
$signature: 0
};
B._EmailTileBuilderState_build_closure11.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
if (t2 != null)
t2.call$2(C.EmailActionType_4, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState_build_closure12.prototype = {
call$3(context, value, child) {
var t2, _null = null,
t1 = this.$this;
if (value)
return t1._buildListActionButtonWhenHover$1(context);
else {
t2 = t1._widget;
t2 = A._setArrayType([t1.buildMailboxContain$3(context, t2.isSearchEmailRunning, t2.presentationEmail)], type$.JSArray_Widget);
if (t1._widget.presentationEmail.hasAttachment === true)
t2.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, _null, 16), _null));
t2.push(new A.Padding(D.EdgeInsetsDirectional_8_0_20_0, t1.buildDateTime$2(context, t1._widget.presentationEmail), _null));
return A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
}
},
$signature: 200
};
B._EmailTileBuilderState__buildListActionButtonWhenHover_closure.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_22, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState__buildListActionButtonWhenHover_closure0.prototype = {
call$0() {
var t1 = this.$this,
t2 = t1._widget,
t3 = t2.emailActionClick;
if (t3 == null)
t1 = null;
else {
t2 = t2.presentationEmail.get$hasRead() ? C.EmailActionType_5 : C.EmailActionType_4;
t1 = t3.call$2(t2, t1._widget.presentationEmail);
}
return t1;
},
$signature: 0
};
B._EmailTileBuilderState__buildListActionButtonWhenHover_closure1.prototype = {
call$0() {
var t1 = this.$this._widget,
t2 = t1.emailActionClick;
return t2 == null ? null : t2.call$2(C.EmailActionType_8, t1.presentationEmail);
},
$signature: 0
};
B._EmailTileBuilderState__buildListActionButtonWhenHover_closure2.prototype = {
call$0() {
var t3,
t1 = this.$this,
t2 = t1._widget.emailActionClick;
if (t2 == null)
t1 = null;
else {
t3 = t1.get$canDeletePermanently() ? C.EmailActionType_17 : C.EmailActionType_16;
t1 = t2.call$2(t3, t1._widget.presentationEmail);
}
return t1;
},
$signature: 0
};
B._EmailTileBuilderState__buildListActionButtonWhenHover_closure3.prototype = {
call$1(tapDetails) {
var screenSize, offset,
t1 = this.context,
t2 = type$.MediaQuery,
t3 = A.InheritedModel_inheritFrom(t1, C._MediaQueryAspect_0, t2).data.size.get$shortestSide(),
t4 = this.$this._widget;
if (t3 < 600) {
t1 = t4.onMoreActionClick;
if (t1 != null)
t1.call$2(t4.presentationEmail, null);
} else {
t3 = t4.onMoreActionClick;
if (t3 != null) {
t4 = t4.presentationEmail;
screenSize = A.InheritedModel_inheritFrom(t1, null, t2).data.size;
offset = tapDetails.globalPosition;
t2 = offset._dx;
t1 = offset._dy;
t3.call$2(t4, new A.RelativeRect(t2, t1, screenSize._dx - t2, screenSize._dy - t1));
}
}
},
$signature: 33
};
B._EmailTileBuilderState__buildSubjectAndContent_closure.prototype = {
call$2(context, constraints) {
var t3, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = this.$this;
if (t2._widget.presentationEmail.get$hasCalendarEvent())
t1.push(t2.buildCalendarEventIcon$2$context$presentationEmail(context, t2._widget.presentationEmail));
if (t2._widget.presentationEmail.getEmailTitle$0().length !== 0) {
t3 = t2._widget;
t1.push(A.Container$(_null, t2.buildEmailTitle$4(context, t3.presentationEmail, t3.isSearchEmailRunning, t3.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));
}
t3 = t2._widget;
t1.push(A.Expanded$(A.Container$(_null, t2.buildEmailPartialContent$4(context, t3.presentationEmail, t3.isSearchEmailRunning, t3.searchQuery), C.Clip_0, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), 1));
return A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
$signature: 353
};
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 t2, t3, t4, t5, t6, t7, t8, _null = null,
t1 = this.spamReportController;
if (t1.spamReportState.get$value(0) === C.SpamReportState_1 || t1.presentationSpamMailbox.get$value(0) == null)
return C.SizedBox_0_0_null_null;
t2 = $.$get$SpamReportBannerWebStyles_backgroundColor();
t3 = t1.get$numberOfUnreadSpamEmails();
t4 = this.context;
t5 = type$.AppLocalizations;
A.Localizations_of(t4, C.Type_AppLocalizations_CTL, t5).toString;
t6 = A.Intl__message("Show Details", _null, "showDetails", _null, _null);
t7 = A.Bidi_isRtlLanguage(t4.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale.get$languageCode(0)) ? "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, _null, C.MainAxisAlignment_2, C.MainAxisSize_0, _null);
A.Localizations_of(t4, C.Type_AppLocalizations_CTL, t5).toString;
return A.Container$(_null, new A.Stack(C.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_1u2), _null, _null, _null, D.EdgeInsetsDirectional_0_0_16_8, C.EdgeInsetsDirectional_16_8_16_8, _null, _null, 1 / 0);
},
$signature: 3
};
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.$this,
t2 = t1.spamReportController;
if (t2.spamReportState.get$value(0) === C.SpamReportState_1 || t2.presentationSpamMailbox.get$value(0) == null)
return C.SizedBox_0_0_null_null;
t3 = $.$get$SpamReportBannerStyles_backgroundColor();
t4 = t2.get$numberOfUnreadSpamEmails();
t5 = this.context;
t6 = type$.AppLocalizations;
A.Localizations_of(t5, C.Type_AppLocalizations_CTL, t6).toString;
t2 = A.Expanded$(B.SpamReportBannerButtonWidget$(_null, true, A.Intl__message("Show Details", _null, "showDetails", _null, _null), C.Color_4278221567, t2.get$openMailbox(), false), 1);
A.Localizations_of(t5, C.Type_AppLocalizations_CTL, t6).toString;
t6 = type$.JSArray_Widget;
return A.Container$(_null, A.Column$(A._setArrayType([new B.SpamReportBannerLabelWidget(t4, D.Color_4284640634, _null), C.SizedBox_null_8_null_null, A.Row$(A._setArrayType([t2, 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, t5), false), 1)], t6), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t6), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_0, C.VerticalDirection_1), C.Clip_0, _null, _null, new A.ShapeDecoration(t3, _null, _null, _null, D.RoundedRectangleBorder_1u2), _null, _null, _null, t1.margin, C.EdgeInsetsDirectional_12_12_12_12, _null, _null, _null);
},
$signature: 3
};
B.SpamReportBannerWidget_build__closure.prototype = {
call$0() {
return this.$this.spamReportController.dismissSpamReportAction$1(this.context);
},
$signature: 0
};
B.ThreadViewLoadingBarWidget_build_closure.prototype = {
call$1(failure) {
return C.SizedBox_0_0_null_null;
},
$signature: 40
};
B.ThreadViewLoadingBarWidget_build_closure0.prototype = {
call$1(success) {
if (success instanceof A.SearchingState || success instanceof A.GetAllEmailLoading)
return D.Padding_FtF;
else
return C.SizedBox_0_0_null_null;
},
$signature: 63
};
B.ListUploadFileStateExtension_get_totalSize_closure.prototype = {
call$1(file) {
return file.get$fileSize();
},
$signature: 1741
};
B.ListUploadFileStateExtension_get_totalSize_closure0.prototype = {
call$2(sum, size) {
return sum + size;
},
$signature: 630
};
(function aliases() {
var _ = B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin.prototype;
_.super$__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin$dispose = _.dispose$0;
_ = B._QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin.prototype;
_.super$_QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin$dispose = _.dispose$0;
})();
(function installTearOffs() {
var _instance_0_u = hunkHelpers._instance_0u,
_instance_1_u = hunkHelpers._instance_1u,
_static_1 = hunkHelpers._static_1,
_static_2 = hunkHelpers._static_2,
_static = hunkHelpers.installStaticTearOff,
_instance_1_i = hunkHelpers._instance_1i,
_instance_2_u = hunkHelpers._instance_2u,
_instance = hunkHelpers.installInstanceTearOff;
_instance_0_u(B._QuickSearchInputFormFormFieldState.prototype, "get$_handleControllerChanged", "_handleControllerChanged$0", 0);
var _;
_instance_1_u(_ = B.QuickSearchSuggestionListState.prototype, "get$_handleDebounceTimeListener", "_handleDebounceTimeListener$1", 31);
_instance_0_u(_, "get$_textInputControllerListener", "_textInputControllerListener$0", 0);
_instance_0_u(_ = B._TypeAheadFieldQuickSearchState.prototype, "get$_scrollResizeListener", "_scrollResizeListener$0", 0);
_instance_1_u(_, "get$_onTextChange", "_onTextChange$1", 21);
_static_1(B, "multidrag_MultiDragGestureRecognizer__defaultButtonAcceptBehavior$closure", "MultiDragGestureRecognizer__defaultButtonAcceptBehavior", 84);
_instance_1_u(_ = B.MultiDragGestureRecognizer.prototype, "get$_multidrag$_handleEvent", "_multidrag$_handleEvent$1", 22);
_instance_1_u(_, "get$_removeState", "_removeState$1", 29);
_static_2(B, "selection_area_SelectionArea__defaultContextMenuBuilder$closure", "SelectionArea__defaultContextMenuBuilder", 85);
_static(B, "drag_target__childDragAnchorStrategy$closure", 3, null, ["call$3"], ["childDragAnchorStrategy"], 10, 0);
_static(B, "drag_target__pointerDragAnchorStrategy$closure", 3, null, ["call$3"], ["pointerDragAnchorStrategy"], 10, 0);
_instance_1_u(_ = B._DraggableState.prototype, "get$_routePointer", "_routePointer$1", 33);
_instance_1_u(_, "get$_startDrag", "_startDrag$1", "_DragAvatar<1>?(Offset)");
_instance_1_u(B._DragAvatar.prototype, "get$_build", "_build$1", 68);
_instance_0_u(_ = B.SelectableRegionState.prototype, "get$_selectable_region$_handleFocusChanged", "_selectable_region$_handleFocusChanged$0", 0);
_instance_0_u(_, "get$_updateSelectionStatus", "_updateSelectionStatus$0", 0);
_instance_1_u(_, "get$_startNewMouseSelectionGesture", "_startNewMouseSelectionGesture$1", 60);
_instance_1_u(_, "get$_handleMouseDragStart", "_handleMouseDragStart$1", 59);
_instance_1_u(_, "get$_handleMouseDragUpdate", "_handleMouseDragUpdate$1", 58);
_instance_1_u(_, "get$_handleMouseDragEnd", "_handleMouseDragEnd$1", 57);
_instance_1_u(_, "get$_handleMouseTapUp", "_handleMouseTapUp$1", 54);
_instance_1_u(_, "get$_handleTouchLongPressStart", "_handleTouchLongPressStart$1", 53);
_instance_1_u(_, "get$_handleTouchLongPressMoveUpdate", "_handleTouchLongPressMoveUpdate$1", 38);
_instance_1_u(_, "get$_handleTouchLongPressEnd", "_handleTouchLongPressEnd$1", 43);
_instance_1_u(_, "get$_handleRightClickDown", "_handleRightClickDown$1", 30);
_instance_1_u(_, "get$_onAnyDragEnd", "_onAnyDragEnd$1", 26);
_instance_1_u(_, "get$_selectable_region$_handleSelectionStartHandleDragStart", "_selectable_region$_handleSelectionStartHandleDragStart$1", 6);
_instance_1_u(_, "get$_selectable_region$_handleSelectionStartHandleDragUpdate", "_selectable_region$_handleSelectionStartHandleDragUpdate$1", 7);
_instance_1_u(_, "get$_selectable_region$_handleSelectionEndHandleDragStart", "_selectable_region$_handleSelectionEndHandleDragStart$1", 6);
_instance_1_u(_, "get$_selectable_region$_handleSelectionEndHandleDragUpdate", "_selectable_region$_handleSelectionEndHandleDragUpdate$1", 7);
_instance_0_u(_, "get$_clearSelection", "_clearSelection$0", 0);
_instance_1_i(_ = B._SelectableRegionContainerDelegate.prototype, "get$remove", "remove$1", 25);
_instance_0_u(_, "get$dispose", "dispose$0", 0);
_instance_2_u(_ = B._RecipientComposerWidgetState.prototype, "get$_recipientInputOnKeyListener", "_recipientInputOnKeyListener$2", 27);
_instance_1_u(_, "get$_recipient_composer_widget$_findSuggestions", "_recipient_composer_widget$_findSuggestions$1", 28);
_instance_0_u(_, "get$_recipient_composer_widget$_handleGapBetweenTagChangedAndFindSuggestion", "_recipient_composer_widget$_handleGapBetweenTagChangedAndFindSuggestion$0", 0);
_instance_2_u(_, "get$_recipient_composer_widget$_handleFocusTagAction", "_recipient_composer_widget$_handleFocusTagAction$2", 5);
_instance_1_u(_, "get$_recipient_composer_widget$_handleDeleteLatestTagAction", "_recipient_composer_widget$_handleDeleteLatestTagAction$1", 15);
_instance_2_u(_, "get$_recipient_composer_widget$_handleDeleteTagAction", "_recipient_composer_widget$_handleDeleteTagAction$2", 14);
_instance_2_u(_, "get$_recipient_composer_widget$_handleSelectOptionAction", "_recipient_composer_widget$_handleSelectOptionAction$2", 32);
_instance_2_u(_, "get$_recipient_composer_widget$_handleSubmitTagAction", "_recipient_composer_widget$_handleSubmitTagAction$2", 1);
_instance_2_u(_, "get$_recipient_composer_widget$_handleOnTagChangeAction", "_recipient_composer_widget$_handleOnTagChangeAction$2", 1);
_instance_2_u(B.MailboxView.prototype, "get$_handleDragItemAccepted", "_handleDragItemAccepted$2", 49);
_instance(_ = B.MailboxDashBoardView.prototype, "get$_onSelectFilterMessageOptionAction", 0, 3, null, ["call$3"], ["_onSelectFilterMessageOptionAction$3"], 52, 0, 0);
_instance(_, "get$_mailbox_dashboard_view_web$_onSelectSearchFilterAction", 0, 2, null, ["call$3$buttonPosition", "call$2"], ["_mailbox_dashboard_view_web$_onSelectSearchFilterAction$3$buttonPosition", "_mailbox_dashboard_view_web$_onSelectSearchFilterAction$2"], 12, 0, 0);
_instance_1_u(_ = B._TextFieldAutocompleteEmailAddressWebState.prototype, "get$_findSuggestions", "_findSuggestions$1", 61);
_instance_0_u(_, "get$_handleGapBetweenTagChangedAndFindSuggestion", "_handleGapBetweenTagChangedAndFindSuggestion$0", 0);
_instance_2_u(_, "get$_handleFocusTagAction", "_handleFocusTagAction$2", 5);
_instance_1_u(_, "get$_handleDeleteLatestTagAction", "_handleDeleteLatestTagAction$1", 15);
_instance_2_u(_, "get$_handleDeleteTagAction", "_handleDeleteTagAction$2", 14);
_instance_2_u(_, "get$_handleSelectOptionAction", "_handleSelectOptionAction$2", 62);
_instance_2_u(_, "get$_handleSubmitTagAction", "_handleSubmitTagAction$2", 1);
_instance_2_u(_, "get$_handleOnTagChangeAction", "_handleOnTagChangeAction$2", 1);
_instance_1_u(_ = B.SearchInputFormWidget.prototype, "get$_invokeSelectSuggestionItem", "_invokeSelectSuggestionItem$1", 65);
_instance_1_u(_, "get$_invokeSelectRecentItem", "_invokeSelectRecentItem$1", 66);
_instance_1_u(_, "get$_invokeSelectContactSuggestion", "_invokeSelectContactSuggestion$1", 67);
_instance(B.SearchEmailView.prototype, "get$_onSelectSearchFilterAction", 0, 2, null, ["call$3$buttonPosition", "call$2"], ["_onSelectSearchFilterAction$3$buttonPosition", "_onSelectSearchFilterAction$2"], 12, 0, 0);
_instance_0_u(B._MailboxSearchedItemBuilderState.prototype, "get$_mailbox_searched_item_builder$_onTapMailboxAction", "_mailbox_searched_item_builder$_onTapMailboxAction$0", 0);
_instance_1_u(_ = B.ThreadView.prototype, "get$_handleScrollNotificationListener", "_handleScrollNotificationListener$1", 78);
_instance_2_u(_, "get$_handleEmailActionClicked", "_handleEmailActionClicked$2", 79);
_instance_0_u(B._ScrollToTopButtonWidgetState.prototype, "get$_scroll_to_top_button_widget$_handleScroll", "_scroll_to_top_button_widget$_handleScroll$0", 0);
})();
(function inheritance() {
var _mixinHard = hunkHelpers.mixinHard,
_mixin = hunkHelpers.mixin,
_inheritMany = hunkHelpers.inheritMany,
_inherit = hunkHelpers.inherit;
_inheritMany(A.Object, [B.ByteConverter, B.QuickSearchSuggestionsBox, B.QuickSearchSuggestionsBoxDecoration, B.QuickSearchTextFieldConfiguration, B.ArabicDateLocale, B.EnglishDateLocale, B.FrenchDateLocale, B.GermanDateLocale, B.ItalianDateLocale, B.RussianDateLocale, B.VietnameseDateLocale, B.DropdownSearchData, B.Drag, B.MultiDragPointerState, B.DraggableDetails, B.FocusedMenuItem, B.WebScript, B._DraggableEmailAddress_Object_EquatableMixin, B.EditorViewMixin, B.FilterEmailPopupMenuMixin, B.BaseEmailItemTile]);
_inheritMany(A._Enum, [B.SizeUnit, B._DragEndKind]);
_inheritMany(A.StatefulWidget, [B.ScrollingFloatingButtonAnimated, B.QuickSearchSuggestionList, B.TypeAheadFieldQuickSearch, B.RichTextBuilder, B.SelectionArea, B.Draggable, B.SelectableRegion, B.RecipientComposerWidget, B.AttachmentComposerWidget, B.WebEditorWidget, B.EventAttendeeDetailWidget, B.EmailReceiverWidget, B.TextFieldAutocompleteEmailAddressWeb, B.MailboxSearchedItemBuilder, B.EmailTileBuilder, B.ScrollToTopButtonWidget]);
_inheritMany(A.State0, [B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin, B._QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin, B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver, B.__RichTextBuilderState_State_AutomaticKeepAliveClientMixin, B._SelectionAreaState, B._DraggableState, B._SelectableRegionState_State_TextSelectionDelegate, B._RecipientComposerWidgetState, B._AttachmentComposerWidgetState, B._WebEditorState, B._EventAttendeeDetailWidgetState, B._EmailReceiverWidgetState, B._TextFieldAutocompleteEmailAddressWebState, B._MailboxSearchedItemBuilderState, B.__EmailTileBuilderState_State_BaseEmailItemTile, 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.QuickSearchSuggestionListState__handleDebounceTimeListener_closure, B.QuickSearchSuggestionListState__handleDebounceTimeListener_closure0, B.QuickSearchSuggestionListState__getSuggestions_closure, B.QuickSearchSuggestionListState__getSuggestions_closure0, B.QuickSearchSuggestionListState__getSuggestions_closure2, B.QuickSearchSuggestionListState__buildListActionWidget__closure, B.QuickSearchSuggestionListState__buildListViewRecentWidget__closure, B.QuickSearchSuggestionListState__buildListViewSuggestionWidget__closure, B.QuickSearchSuggestionListState__buildListViewContactWidget__closure, B._TypeAheadFieldQuickSearchState_initState_closure, B._TypeAheadFieldQuickSearchState_initState__closure0, B._TypeAheadFieldQuickSearchState_initState__closure, B._TypeAheadFieldQuickSearchState__updateTextDirection_closure, B.MultiDragGestureRecognizer__startDrag_closure, B._DraggableState__startDrag_closure, B._DraggableState__startDrag__closure, B._DragAvatar_updateDrag_closure0, B.SelectableRegionState_initState_closure, B.SelectableRegionState__initMouseGestureRecognizer_closure, B.SelectableRegionState__initTouchGestureRecognizer_closure, B.SelectableRegionState_contextMenuButtonItems_closure, B.SelectableRegionState_contextMenuButtonItems_closure0, B.SelectableRegionState_contextMenuButtonItems_closure1, B.SelectableRegionState__textProcessingActionButtonItems_closure, B.buildTextSpanChildren_closure, B.HyperLinkWidget_build_closure, B.ComposerView_build__closure6, B.ComposerView_build__closure4, B.ComposerView_build___closure13, B.ComposerView_build___closure14, B.ComposerView_build___closure15, B.ComposerView_build___closure16, B.ComposerView_build__closure3, B.ComposerView_build___closure18, B.ComposerView_build___closure7, B.ComposerView_build___closure8, B.ComposerView_build___closure9, B.ComposerView_build___closure10, B.ComposerView_build___closure11, B.ComposerView_build___closure12, B.ComposerView_build_closure, B.ComposerView_build___closure22, B.ComposerView_build___closure20, B.ComposerView_build____closure20, B.ComposerView_build___closure19, B.ComposerView_build____closure13, B.ComposerView_build____closure14, B.ComposerView_build____closure15, B.ComposerView_build____closure16, B.ComposerView_build_____closure0, B.ComposerView_build_____closure2, B.ComposerView_build_____closure1, B.ComposerView_build_____closure4, B.ComposerView_build_____closure5, B.ComposerView_build_____closure3, B.ComposerView_build____closure17, B.ComposerView_build____closure18, B.ComposerView_build____closure19, B.ComposerView_build__closure7, B.ComposerView_build__closure2, B.ComposerView_build__closure0, B.ComposerView_build___closure6, B.ComposerView_build__closure, B.ComposerView_build___closure, B.ComposerView_build___closure0, B.ComposerView_build___closure1, B.ComposerView_build___closure2, B.ComposerView_build____closure0, B.ComposerView_build____closure2, B.ComposerView_build____closure1, B.ComposerView_build____closure4, B.ComposerView_build____closure5, B.ComposerView_build____closure3, B.ComposerView_build___closure3, B.ComposerView_build___closure4, B.ComposerView_build___closure5, 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___closure3, B._RecipientComposerWidgetState_build_____closure, B._RecipientComposerWidgetState_build___closure0, B._RecipientComposerWidgetState_build___closure, B._RecipientComposerWidgetState_build_closure1, B._RecipientComposerWidgetState_build_closure2, B._RecipientComposerWidgetState_build_closure3, 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_closure, B.RecipientTagItemWidget_build_closure0, B._AttachmentComposerWidgetState_build__closure, B.DesktopAppBarComposerWidget_build_closure, B.DesktopAppBarComposerWidget_build_closure0, B.MinimizeComposerWidget_build_closure, B.MinimizeComposerWidget_build_closure0, B._WebEditorState_build__closure0, B._WebEditorState_build__closure1, B._WebEditorState_build__closure2, B.EmailView_build_closure, B.EmailView_build__closure, B.EmailView_build___closure0, B.EmailView_build__closure0, B.EmailView_build___closure, B.EmailView_build____closure, B.EmailView__buildEmailMessage_closure, B.EmailView__buildEmailMessage_closure0, B.EmailView__buildEmailMessage_closure1, B.EmailView__buildEmailMessage__closure4, B.EmailView__buildEmailMessage_closure2, B.EmailView__buildEmailMessage_closure3, B.EmailView__buildEmailMessage_closure4, B.EmailView__buildEmailMessage_closure5, B.EmailView__buildEmailMessage___closure, B.EmailView__popupMenuEmailActionTile__closure, B.AttachmentItemWidget_build_closure, B.AttachmentItemWidget_build__closure, B.AttachmentItemWidget_build__closure0, B.CalendarEventActionButtonWidget__getCallbackFunction_closure, B.CalendarEventActionButtonWidget__getCallbackFunction_closure0, B.CalendarEventActionButtonWidget__getCallbackFunction_closure1, B.CalendarEventInformationWidget_build_closure, B.CalendarEventInformationWidget_build_closure0, B._EventAttendeeDetailWidgetState_build_closure0, B._EventAttendeeDetailWidgetState_build__closure0, B._EventAttendeeDetailWidgetState_build_closure1, B._EventAttendeeDetailWidgetState_build__closure, B.EmailActionCupertinoActionSheetActionBuilder_build_closure, B._EmailReceiverWidgetState_build_closure, B._EmailReceiverWidgetState_build__closure0, B._EmailReceiverWidgetState_build_closure0, B._EmailReceiverWidgetState_build__closure, B._EmailReceiverWidgetState__buildRecipientsTag__closure0, B._EmailReceiverWidgetState__buildRecipientsTag__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__closure3, B.EmailViewAppBarWidget_build___closure, B.EmailViewAppBarWidget_build__closure1, B.EmailViewAppBarWidget_build__closure2, B.EmailViewBottomBarWidget_build_closure, B.EmailViewBottomBarWidget_build__closure1, B.EmailViewBottomBarWidget_build_closure0, B.EmailViewBottomBarWidget_build__closure0, B.EmailViewBottomBarWidget_build_closure1, B.EmailViewBottomBarWidget_build__closure, B.EmailViewBottomBarWidget_build_closure2, B.InformationSenderAndReceiverBuilder_build__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_closure6, B.MailboxDashBoardView_build_closure, B.MailboxDashBoardView_build_closure0, B.MailboxDashBoardView_build_closure1, B.MailboxDashBoardView_build_closure2, B.MailboxDashBoardView_build_closure3, B.MailboxDashBoardView_build_closure4, B.MailboxDashBoardView_build__closure, B.MailboxDashBoardView_build_closure5, B.MailboxDashBoardView_build_closure8, B.MailboxDashBoardView_build_closure7, B.MailboxDashBoardView_build_closure9, B.MailboxDashBoardView_build_closure10, B.MailboxDashBoardView__buildThreadViewForWebDesktop_closure, B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure0, B.MailboxDashBoardView__buildListButtonTopBar_closure, B.MailboxDashBoardView__buildListButtonTopBar_closure0, B.MailboxDashBoardView__buildListButtonTopBar_closure1, B.MailboxDashBoardView__buildListButtonTopBar__closure1, B.MailboxDashBoardView__buildListButtonTopBar_closure2, B.MailboxDashBoardView__buildListButtonTopBar_closure3, B.MailboxDashBoardView__buildListButtonTopBar__closure, B.MailboxDashBoardView__buildListButtonTopBar_closure4, B.MailboxDashBoardView__buildDownloadTaskStateWidget_closure, B.MailboxDashBoardView__buildVacationNotificationMessage_closure, B.MailboxDashBoardView__buildListButtonQuickSearchFilter_closure, B.MailboxDashBoardView__buildQuickSearchFilterButton_closure, B.MailboxDashBoardView_popupMenuEmailReceiveTimeType__closure, B.MailboxDashBoardView_popupMenuEmailSortOrderType__closure, B.MailboxDashBoardView__buildComposerButton_closure, B.FilterEmailPopupMenuMixin__filterEmailAction_closure, B.AdvancedSearchFilterFormBottomView__buildListButton_closure, B.AdvancedSearchFilterFormBottomView__buildListButton_closure0, B.AdvancedSearchFilterFormBottomView__buildListButton_closure1, B.AdvancedSearchFilterFormBottomView__buildListButton_closure2, B.AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment_closure, B.AdvancedSearchFilterOverlay_build_closure, B.AdvancedSearchInputForm_build_closure5, B.AdvancedSearchInputForm_build_closure6, B.AdvancedSearchInputForm_build_closure2, B.AdvancedSearchInputForm_build_closure3, B.AdvancedSearchInputForm_build_closure4, B.AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles__closure, B.AdvancedSearchInputForm__buildFilterField_closure, B.AdvancedSearchInputForm__buildFilterField_closure0, B.AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure, B.AdvancedSearchInputForm__buildTextFieldFilterForWeb_closure0, B.AutoCompleteSuggestionItemWidgetWeb_build_closure, B.AutoCompleteTagItemWidgetWeb_build_closure0, B.AutoCompleteTagItemWidgetWeb_build_closure, B.AutoCompleteTagItemWidgetWeb_build_closure1, B.IconOpenAdvancedSearchWidget_build_closure, B.IconOpenAdvancedSearchWidget_build__closure, B._TextFieldAutocompleteEmailAddressWebState_build____closure0, B._TextFieldAutocompleteEmailAddressWebState_build____closure, B._TextFieldAutocompleteEmailAddressWebState_build____closure1, B._TextFieldAutocompleteEmailAddressWebState_build______closure, B._TextFieldAutocompleteEmailAddressWebState__handleFocusTagAction_closure, B._TextFieldAutocompleteEmailAddressWebState__handleDeleteTagAction_closure, B._TextFieldAutocompleteEmailAddressWebState__handleSelectOptionAction_closure, B._TextFieldAutocompleteEmailAddressWebState__handleSubmitTagAction_closure, B._TextFieldAutocompleteEmailAddressWebState__handleOnTagChangeAction_closure, B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure, B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure0, B._TextFieldAutocompleteEmailAddressWebState__handleAcceptDraggableEmailAddressAction_closure1, B.FilterMessageButton_build_closure, B.SearchFilterButton_build_closure, B.SearchFilterButton_build_closure0, 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_closure3, B.SearchEmailView_build_closure0, B.SearchEmailView_build_closure1, B.SearchEmailView_build_closure2, B.SearchEmailView_build__closure, B.SearchEmailView__buildSearchInputForm_closure, B.SearchEmailView__buildSearchInputForm_closure1, B.SearchEmailView__buildSearchInputForm__closure, B.SearchEmailView__buildListSearchFilterAction_closure, B.SearchEmailView__buildListSearchFilterAction__closure, B.SearchEmailView__buildSearchFilterButton_closure, B.SearchEmailView__buildShowAllResultSearchButton_closure, B.SearchEmailView__buildListRecentSearch__closure, B.SearchEmailView__buildListSuggestionSearch__closure, B.SearchEmailView__buildListContactSuggestionSearch__closure, B.SearchEmailView__buildListEmailBody__closure, B.SearchEmailView__buildLoadingViewLoadMore_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.EmailSortByActionTitleWidget_build_closure, B.EmailSortByCupertinoActionSheetActionBuilder_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_closure, B.ThreadView_build_closure0, B.ThreadView_build_closure1, B.ThreadView_build_closure2, B.ThreadView_build__closure0, B.ThreadView_build_closure3, B.ThreadView_build__closure, B.ThreadView_build_closure4, B.ThreadView_build_closure5, B.ThreadView__buildListButtonSelectionForMobile_closure, B.ThreadView__buildFloatingButtonCompose_closure, B.ThreadView__buildFloatingButtonCompose__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__buildArchiveMessagePopupMenuItem_closure, B.ThreadView__buildMailboxActionProgressBanner_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._EmailTileBuilderState_build_closure1, B._EmailTileBuilderState_build_closure0, B._EmailTileBuilderState_build_closure, B._EmailTileBuilderState_build_closure7, B._EmailTileBuilderState_build_closure3, B._EmailTileBuilderState_build_closure14, B._EmailTileBuilderState_build_closure9, B._EmailTileBuilderState_build_closure10, B._EmailTileBuilderState_build_closure11, B._EmailTileBuilderState__buildListActionButtonWhenHover_closure, B._EmailTileBuilderState__buildListActionButtonWhenHover_closure0, B._EmailTileBuilderState__buildListActionButtonWhenHover_closure1, B._EmailTileBuilderState__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]);
_inheritMany(A.Closure2Args, [B._ScrollingFloatingButtonAnimatedState_build_closure, B.PlatformSelectableRegionContextMenu__register_closure, B.ListAttachmentExtension_get_totalSize_closure0, B.ComposerView_build_closure0, B.ComposerView_build__closure5, B.ComposerView_build__closure8, 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___closure9, B.EmailView_build___closure1, B.EmailView_build___closure2, B.EmailView_build__closure1, B.EmailView__buildEmailMessage__closure5, B.EmailView__buildEmailMessage__closure, B.EventBodyContentWidget_build_closure, B._EmailReceiverWidgetState__buildRecipientsTag_closure, B.EmailViewAppBarWidget_build_closure, B.InformationSenderAndReceiverBuilder_build_closure, B.MailboxView__buildListChildTileWidget___closure4, B.MailboxView__buildListChildTileWidget___closure0, B.MailboxDashBoardView__buildThreadViewForWebDesktop__closure, B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure0, B.MailboxDashBoardView__buildDownloadTaskStateWidget__closure, B._TextFieldAutocompleteEmailAddressWebState_build_closure, B._TextFieldAutocompleteEmailAddressWebState_build__closure, B._TextFieldAutocompleteEmailAddressWebState_build____closure8, B.EmailQuickSearchItemTileWidget_build_closure, B.SearchInputFormWidget_build__closure4, B.SearchInputFormWidget_build__closure3, B.SearchInputFormWidget_build__closure2, B.QuotasView_build__closure, B.SearchEmailView__buildListRecentSearch_closure, B.SearchEmailView__buildListSuggestionSearch_closure, B.SearchEmailView__buildListContactSuggestionSearch_closure, B.SearchEmailView__buildListEmailBody_closure0, B.SearchEmailView__buildListEmailBody___closure, B.SearchEmailView__buildListEmailBody___closure0, B.SearchEmailView__buildListEmailBody_closure1, B.SearchMailboxView__buildMailboxListView__closure, B.SearchMailboxView__buildMailboxListView___closure, B.SearchMailboxView__buildMailboxListView____closure0, B.ThreadView_build__closure2, B.ThreadView__buildListEmailBody_closure, B.ThreadView__buildListEmailBody_closure0, B.ThreadView__buildEmailItemDraggable_closure1, B.ThreadView__buildEmailItemNotDraggable_closure, B.DefaultWebAppBarThreadWidget_build_closure, B._EmailTileBuilderState__buildSubjectAndContent_closure, B.ListUploadFileStateExtension_get_totalSize_closure0]);
_inherit(B.QuickSearchInputForm, A.FormField);
_inheritMany(A.Closure, [B.QuickSearchInputForm_closure, B.QuickSearchInputForm__closure, B.QuickSearchSuggestionsBox__findRootMediaQuery_closure, B.QuickSearchSuggestionListState__getSuggestions_closure1, B.QuickSearchSuggestionListState__buildListActionWidget_closure, B.QuickSearchSuggestionListState__buildListViewRecentWidget_closure, B.QuickSearchSuggestionListState__buildListViewSuggestionWidget_closure, B.QuickSearchSuggestionListState__buildListViewContactWidget_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__initOverlayEntry__closure1, B._RichTextBuilderState_build_closure, B.MultiDragGestureRecognizer_acceptGesture_closure, B.PlatformSelectableRegionContextMenu__registerWebSelectionCallback_closure, B.PlatformSelectableRegionContextMenu__registerWebSelectionCallback__closure, B._DraggableState__startDrag_closure0, B._DraggableState__startDrag_closure1, B._DragAvatar_updateDrag_closure, B.SelectableRegionState_initState_closure0, B.SelectableRegionState_initState__closure, B.SelectableRegionState__initMouseGestureRecognizer_closure0, B.SelectableRegionState__initTouchGestureRecognizer_closure0, B.SelectableRegionState__triggerSelectionEndEdgeUpdate_closure, B.SelectableRegionState__onAnyDragEnd_closure, B.SelectableRegionState__triggerSelectionStartEdgeUpdate_closure, B._SelectableRegionContainerDelegate_didChangeSelectables_closure, B._SelectableRegionContainerDelegate_didChangeSelectables_closure0, B.ListAttachmentExtension_get_totalSize_closure, B.SetEmailAddressExtension_toEscapeHtmlString_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___closure17, B.ComposerView_build____closure12, B.ComposerView_build____closure11, B.ComposerView_build____closure10, B.ComposerView_build____closure9, B.ComposerView_build_____closure8, B.ComposerView_build_____closure7, B.ComposerView_build_____closure6, B.ComposerView_build_____closure, B.ComposerView_build____closure8, B.ComposerView_build____closure7, B.ComposerView_build____closure6, B.ComposerView_build____closure, B.FromComposerDropDownWidgetStyle_menuIemStyleData_closure, B.WebEditorView_build_closure, B.WebEditorView_build_closure0, B.WebEditorView_build_closure1, B.WebEditorView_build_closure2, B.InsertImageLoadingBarWidget_build_closure, B.InsertImageLoadingBarWidget_build_closure0, B.InsertImageLoadingBarWidget__viewStateToUI_closure, B.InsertImageLoadingBarWidget__viewStateToUI_closure0, B._RecipientComposerWidgetState_build_closure0, B._RecipientComposerWidgetState_build__closure, B._RecipientComposerWidgetState_build___closure2, B._RecipientComposerWidgetState_build___closure4, B._RecipientComposerWidgetState_build___closure5, B._RecipientComposerWidgetState_build___closure7, B._RecipientComposerWidgetState_build____closure, B._RecipientComposerWidgetState_build___closure6, B._RecipientComposerWidgetState_build___closure8, 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.AttachmentDropZoneWidget_build_closure, B.AttachmentDropZoneWidget_build_closure0, B.FromComposerDropDownWidget_build_closure, B._WebEditorState_initState_closure, B._WebEditorState_build_closure, B._WebEditorState_build__closure, B.EmailView__buildEmailMessage__closure1, B.EmailView__buildEmailMessage__closure2, B.EmailView__buildEmailMessage__closure3, B.EmailView__buildEmailMessage__closure0, B.EmailView__emailActionMoreActionTile_closure, B.EmailView__emailActionMoreActionTile__closure, B.EmailView__popupMenuEmailActionTile_closure, B.CalendarEventExtension_findAttendeeHasUpdatedStatus_closure, B.CalendarEventExtension_get_videoConferences_closure, B.CalendarEventExtension_get_videoConferences_closure0, B.ListAttendeeExtension_withoutOrganizer_closure, B.CalendarEventActionButtonWidget_build_closure, B._EventAttendeeDetailWidgetState_build_closure, B.EventLinkDetailWidget_build_closure, B.EventLocationInformationWidget_build_closure, B.EmailAttachmentsWidget_build_closure, B.EmailViewAppBarWidget_build__closure4, 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_build__closure0, B.MailboxDashBoardView_build__closure1, B.MailboxDashBoardView__buildListButtonTopBar__closure0, B.MailboxDashBoardView__onSelectFilterMessageOptionAction_closure, B.MailboxDashBoardView_popupMenuEmailReceiveTimeType_closure, B.MailboxDashBoardView_popupMenuEmailSortOrderType_closure, B.MailboxDashBoardView__openPopupMenuDateFilter_closure, B.AdvancedSearchFilterFormBottomView__buildCheckboxHasAttachment__closure, B.AdvancedSearchFilterFormBottomView__buildButton_closure, B.AdvancedSearchInputForm_build_closure, B.AdvancedSearchInputForm_build_closure0, B.AdvancedSearchInputForm_build_closure1, B.AdvancedSearchInputForm__buildEmailReceiveTimeTypeActionTiles_closure, B.AdvancedSearchInputForm__buildFilterField__closure, B.AdvancedSearchInputForm__buildTextFieldFilterForWeb__closure, B.AdvancedSearchInputForm__buildTextField_closure0, B.AdvancedSearchInputForm__buildTextField_closure, B.DateDropDownButton_build_closure, B.DateDropDownButton_build_closure0, B.SortByDropDownButton_build_closure, B._TextFieldAutocompleteEmailAddressWebState_build___closure0, B._TextFieldAutocompleteEmailAddressWebState_build___closure1, B._TextFieldAutocompleteEmailAddressWebState_build___closure2, B._TextFieldAutocompleteEmailAddressWebState_build___closure, B._TextFieldAutocompleteEmailAddressWebState_build____closure2, B._TextFieldAutocompleteEmailAddressWebState_build____closure4, B._TextFieldAutocompleteEmailAddressWebState_build____closure5, B._TextFieldAutocompleteEmailAddressWebState_build_____closure, B._TextFieldAutocompleteEmailAddressWebState_build____closure6, B._TextFieldAutocompleteEmailAddressWebState_build____closure7, B._TextFieldAutocompleteEmailAddressWebState_build_____closure0, B._TextFieldAutocompleteEmailAddressWebState_build____closure3, B._TextFieldAutocompleteEmailAddressWebState__findSuggestions_closure, B._TextFieldAutocompleteEmailAddressWebState__isDuplicated_closure, B._TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure, B._TextFieldAutocompleteEmailAddressWebState__matchedSuggestionEmailAddress_closure0, B.MarkMailboxAsReadLoadingBanner_build_closure, B.MarkMailboxAsReadLoadingBanner_build_closure0, B.FilterMessageButton_build_closure0, B.FilterMessageButton_build_closure1, B.SearchFilterButton_build_closure1, B.SearchFilterButton_build_closure2, B.SearchInputFormWidget_build__closure, B.SearchInputFormWidget_build__closure0, B.SearchInputFormWidget_build__closure1, B.SearchInputFormWidget_build__closure5, B.SearchInputFormWidget__createConfiguration_closure0, B.SearchInputFormWidget_buildListButtonForQuickSearchForm__closure, B.SearchEmailView_build_closure, B.SearchEmailView__buildSearchInputForm_closure0, B.SearchEmailView__buildSearchFilterButton__closure, B.SearchEmailView__openPopupMenuDateFilter_closure, B.SearchEmailView__openContextMenuDateFilter_closure, B.SearchEmailView__popupMenuEmailReceiveTimeType_closure, B.SearchEmailView__emailReceiveTimeCupertinoActionTile_closure, B.SearchEmailView__emailReceiveTimeCupertinoActionTile__closure, B.SearchEmailView__popupMenuEmailSortOrderType_closure, B.SearchEmailView__emailSortOrderCupertinoActionTitle_closure, B.SearchEmailView__emailSortOrderCupertinoActionTitle__closure, B.SearchEmailView__buildListEmailBody_closure, B.SearchEmailView__markAsEmailSpamOrUnSpamAction_closure, B.SearchEmailView__buildLoadingViewLoadMore__closure, B.SearchEmailView__buildLoadingViewLoadMore__closure0, B.EmptySearchEmailWidget_build_closure, B.EmptySearchEmailWidget_build_closure0, B.EmptySearchEmailWidget__suggestionViewStateToUI_closure, B.EmptySearchEmailWidget__suggestionViewStateToUI_closure0, B.SearchEmailLoadingBarWidget_build_closure, B.SearchEmailLoadingBarWidget_build_closure0, B.SearchEmailLoadingBarWidget__suggestionViewStateToUI_closure, B.SearchEmailLoadingBarWidget__suggestionViewStateToUI_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__filterMessagesCupertinoActionTile_closure, B.ThreadView__buildEmailItemDraggable_closure2, B.ThreadView__buildEmailItemDraggable_closure3, B.ThreadView__buildEmailItemDraggable_closure, B.ThreadView__buildEmailItemNotDraggable_closure0, B.ThreadView__buildEmptyEmail__closure, B.ThreadView__buildEmptyEmail__closure0, B.ThreadView__markAsEmailSpamOrUnSpamContextMenuItemAction_closure, B.ThreadView__openInNewTabContextMenuItemAction_closure, B.ThreadView__archiveMessageContextMenuItemAction_closure, B._MailboxActionProgressBanner_build_closure, B._MailboxActionProgressBanner_build_closure0, B.DefaultWebAppBarThreadWidget_build__closure, B._EmailTileBuilderState_build_closure6, B._EmailTileBuilderState_build_closure2, B._EmailTileBuilderState_build_closure4, B._EmailTileBuilderState_build_closure5, B._EmailTileBuilderState_build_closure13, B._EmailTileBuilderState_build_closure8, B._EmailTileBuilderState_build_closure12, B._EmailTileBuilderState__buildListActionButtonWhenHover_closure3, B.ThreadViewLoadingBarWidget_build_closure, B.ThreadViewLoadingBarWidget_build_closure0, B.ListUploadFileStateExtension_get_totalSize_closure]);
_inherit(B._QuickSearchInputFormFormFieldState, A.FormFieldState);
_inherit(B.QuickSearchSuggestionListState, B._QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin);
_inherit(B._TypeAheadFieldQuickSearchState, B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver);
_inherit(B._RichTextBuilderState, B.__RichTextBuilderState_State_AutomaticKeepAliveClientMixin);
_inherit(B.MultiDragGestureRecognizer, A.GestureRecognizer);
_inheritMany(B.MultiDragPointerState, [B._ImmediatePointerState, B._HorizontalPointerState, B._VerticalPointerState]);
_inheritMany(B.MultiDragGestureRecognizer, [B.ImmediateMultiDragGestureRecognizer, B.HorizontalMultiDragGestureRecognizer, B.VerticalMultiDragGestureRecognizer]);
_inheritMany(A.StatelessWidget, [B.Drawer, B.PlatformSelectableRegionContextMenu, B.Linkify, B.ComposeFloatingButton, B.EmailAvatarBuilder, B.HyperLinkWidget, B.PopupItemNoIconWidget, B.DesktopResponsiveContainerView, B.MobileResponsiveContainerView, B.TabletResponsiveContainerView, B._WebEditorView_StatelessWidget_EditorViewMixin, B.AttachmentHeaderComposerWidget, B._AttachmentItemComposerWidget_StatelessWidget_AppLoaderMixin, B.AttachmentProgressLoadingComposerWidget, B.DraggableRecipientTagWidget, B.InsertImageLoadingBarWidget, B.FromComposerMobileWidget, B.RecipientSuggestionItemWidget, B.RecipientTagItemWidget, B.SubjectComposerWidget, B.TitleComposerWidget, B.AttachmentDropZoneWidget, B.BottomBarComposerWidget, B.DesktopAppBarComposerWidget, B.FromComposerDropDownWidget, B.MinimizeComposerWidget, B.MobileResponsiveAppBarComposerWidget, B.AttachmentItemWidget, B.AttendeeWidget, B.CalendarDateIconWidget, B.CalendarEventActionBannerWidget, B.CalendarEventActionButtonWidget, B.CalendarEventDetailWidget, B.CalendarEventInformationWidget, B.EventBodyContentWidget, B.EventLinkDetailWidget, B.EventLocationInformationWidget, B.EventTimeInformationWidget, B.EventTitleWidget, B.HideAllAttendeesButtonWidget, 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.MailUnsubscribedBanner, B.PrefixRecipientWidget, B.ReceivedTimeBuilder, B.MailboxLoadingBarWidget, B.AdvancedSearchFilterOverlay, B.AutoCompleteSuggestionItemWidgetWeb, B.AutoCompleteTagItemWidgetWeb, B.AvatarSuggestionItemWidget, B.AvatarTagItemWidget, B.DateDropDownButton, B.IconOpenAdvancedSearchWidget, B.SortByDropDownButton, B.DownloadTaskItemWidget, B._MarkMailboxAsReadLoadingBanner_StatelessWidget_AppLoaderMixin, B.ContactQuickSearchItem, B.EmailQuickSearchItemTileWidget, B.RecentSearchItemTileWidget, B.RecoverDeletedMessageLoadingBannerWidget, B.FilterMessageButton, B.SearchFilterButton, B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin, B.TopBarThreadSelection, B.QuotasBannerWidget, B.AppBarSelectionMode, B.EmailReceiveTimeActionTileWidget, B.EmailSortByActionTitleWidget, B.EmptySearchEmailWidget, B._SearchEmailLoadingBarWidget_StatelessWidget_AppLoaderMixin, B.__MailboxActionProgressBanner_StatelessWidget_AppLoaderMixin, 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.ThreadViewLoadingBarWidget]);
_inherit(B._DrawerDefaultsM3, A.DrawerThemeData);
_inheritMany(A.SelectionEvent, [B.SelectAllSelectionEvent, B.SelectWordSelectionEvent, B.GranularlyExtendSelectionEvent, B.DirectionallyExtendSelectionEvent]);
_inherit(B._DragAvatar, B.Drag);
_inherit(B.NeverScrollableScrollPhysics, A.ScrollPhysics);
_inherit(B.SelectableRegionState, B._SelectableRegionState_State_TextSelectionDelegate);
_inherit(B._NonOverrideAction, A.ContextAction);
_inheritMany(B._NonOverrideAction, [B._SelectAllAction0, B._CopySelectionAction0, B._GranularlyExtendSelectionAction, B._GranularlyExtendCaretSelectionAction, B._DirectionallyExtendCaretSelectionAction]);
_inherit(B._SelectableRegionContainerDelegate, A.MultiSelectableSelectionContainerDelegate);
_inheritMany(A.GetWidget, [B.ComposerView, B.EmailView, B._BaseMailboxView_GetWidget_AppLoaderMixin, B._BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin, B.AdvancedSearchFilterFormBottomView, B._AdvancedSearchInputForm_GetWidget_PopupContextMenuActionMixin, 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_FilterEmailPopupMenuMixin_AppLoaderMixin, B._BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin);
_inherit(B.BaseMailboxDashBoardView, B._BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin_AppLoaderMixin);
_inherit(B.MailboxDashBoardView, B.BaseMailboxDashBoardView);
_inherit(B.AdvancedSearchInputForm, B._AdvancedSearchInputForm_GetWidget_PopupContextMenuActionMixin);
_inherit(B.MarkMailboxAsReadLoadingBanner, B._MarkMailboxAsReadLoadingBanner_StatelessWidget_AppLoaderMixin);
_inherit(B.SearchInputFormWidget, B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin);
_inherit(B.SearchEmailView, B._SearchEmailView_GetWidget_AppLoaderMixin);
_inheritMany(A.CupertinoActionSheetNoIconBuilder, [B.EmailReceiveTimeCupertinoActionSheetActionBuilder, B.EmailSortByCupertinoActionSheetActionBuilder]);
_inherit(B.SearchEmailLoadingBarWidget, B._SearchEmailLoadingBarWidget_StatelessWidget_AppLoaderMixin);
_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._MailboxActionProgressBanner, B.__MailboxActionProgressBanner_StatelessWidget_AppLoaderMixin);
_inherit(B._EmailTileBuilderState, B.__EmailTileBuilderState_State_BaseEmailItemTile);
_mixinHard(B.__ScrollingFloatingButtonAnimatedState_State_SingleTickerProviderStateMixin, A.SingleTickerProviderStateMixin);
_mixinHard(B._QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin, A.SingleTickerProviderStateMixin);
_mixin(B.__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver, A.WidgetsBindingObserver);
_mixinHard(B.__RichTextBuilderState_State_AutomaticKeepAliveClientMixin, A.AutomaticKeepAliveClientMixin);
_mixin(B._SelectableRegionState_State_TextSelectionDelegate, A.TextSelectionDelegate);
_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_FilterEmailPopupMenuMixin, B.FilterEmailPopupMenuMixin);
_mixin(B._BaseMailboxDashBoardView_GetWidget_FilterEmailPopupMenuMixin_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._AdvancedSearchInputForm_GetWidget_PopupContextMenuActionMixin, A.PopupContextMenuActionMixin);
_mixin(B._MarkMailboxAsReadLoadingBanner_StatelessWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._SearchInputFormWidget_StatelessWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._SearchEmailView_GetWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B._SearchEmailLoadingBarWidget_StatelessWidget_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.__MailboxActionProgressBanner_StatelessWidget_AppLoaderMixin, A.AppLoaderMixin);
_mixin(B.__EmailTileBuilderState_State_BaseEmailItemTile, B.BaseEmailItemTile);
})();
A._Universe_addRules(init.typeUniverse, JSON.parse('{"ScrollingFloatingButtonAnimated":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_ScrollingFloatingButtonAnimatedState":{"State0":["ScrollingFloatingButtonAnimated"]},"QuickSearchInputForm":{"FormField":["String"],"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[],"FormField.T":"String"},"_QuickSearchInputFormFormFieldState":{"FormFieldState":["String"],"State0":["FormField<String>"]},"QuickSearchSuggestionList":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"QuickSearchSuggestionListState":{"State0":["QuickSearchSuggestionList<1,2,3>"]},"TypeAheadFieldQuickSearch":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_TypeAheadFieldQuickSearchState":{"State0":["TypeAheadFieldQuickSearch<1,2,3>"],"WidgetsBindingObserver":[]},"RichTextBuilder":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_RichTextBuilderState":{"State0":["RichTextBuilder"]},"MultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"_ImmediatePointerState":{"MultiDragPointerState":[]},"ImmediateMultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"_HorizontalPointerState":{"MultiDragPointerState":[]},"HorizontalMultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"_VerticalPointerState":{"MultiDragPointerState":[]},"VerticalMultiDragGestureRecognizer":{"GestureRecognizer":[],"DiagnosticableTree":[],"GestureArenaMember":[]},"Drawer":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SelectionArea":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_SelectionAreaState":{"State0":["SelectionArea"]},"PlatformSelectableRegionContextMenu":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"Draggable":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_DraggableState":{"State0":["Draggable<1>"]},"NeverScrollableScrollPhysics":{"ScrollPhysics":[]},"SelectableRegion":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"SelectableRegionState":{"State0":["SelectableRegion"]},"_NonOverrideAction":{"ContextAction":["1"],"Action":["1"]},"_SelectAllAction0":{"ContextAction":["SelectAllTextIntent"],"Action":["SelectAllTextIntent"],"Action.T":"SelectAllTextIntent","ContextAction.T":"SelectAllTextIntent"},"_CopySelectionAction0":{"ContextAction":["CopySelectionTextIntent"],"Action":["CopySelectionTextIntent"],"Action.T":"CopySelectionTextIntent","ContextAction.T":"CopySelectionTextIntent"},"_GranularlyExtendSelectionAction":{"ContextAction":["1"],"Action":["1"],"Action.T":"1","ContextAction.T":"1"},"_GranularlyExtendCaretSelectionAction":{"ContextAction":["1"],"Action":["1"],"Action.T":"1","ContextAction.T":"1"},"_DirectionallyExtendCaretSelectionAction":{"ContextAction":["1"],"Action":["1"],"Action.T":"1","ContextAction.T":"1"},"_SelectableRegionContainerDelegate":{"Listenable":[]},"Linkify":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ComposeFloatingButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailAvatarBuilder":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"HyperLinkWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"PopupItemNoIconWidget":{"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":[]},"FromComposerMobileWidget":{"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"]},"AttachmentDropZoneWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"BottomBarComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DesktopAppBarComposerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"FromComposerDropDownWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"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"]},"EventBodyContentWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventLinkDetailWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventLocationInformationWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventTimeInformationWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EventTitleWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"HideAllAttendeesButtonWidget":{"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":[]},"MailUnsubscribedBanner":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"PrefixRecipientWidget":{"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"},"AdvancedSearchFilterFormBottomView":{"GetWidget":["AdvancedFilterController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"AdvancedFilterController"},"AdvancedSearchFilterOverlay":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AdvancedSearchInputForm":{"GetWidget":["AdvancedFilterController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"AdvancedFilterController"},"AutoCompleteSuggestionItemWidgetWeb":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AutoCompleteTagItemWidgetWeb":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AvatarSuggestionItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"AvatarTagItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"DateDropDownButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"IconOpenAdvancedSearchWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SortByDropDownButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"TextFieldAutocompleteEmailAddressWeb":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_TextFieldAutocompleteEmailAddressWebState":{"State0":["TextFieldAutocompleteEmailAddressWeb"]},"DownloadTaskItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"MarkMailboxAsReadLoadingBanner":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"ContactQuickSearchItem":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmailQuickSearchItemTileWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"RecentSearchItemTileWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"RecoverDeletedMessageLoadingBannerWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"FilterMessageButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SearchFilterButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SearchInputFormWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"TopBarThreadSelection":{"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":[]},"EmailSortByActionTitleWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"EmptySearchEmailWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SearchEmailLoadingBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"SearchMailboxView":{"GetWidget":["SearchMailboxController"],"Widget":[],"DiagnosticableTree":[],"GetWidget.S":"SearchMailboxController"},"MailboxSearchedItemBuilder":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_MailboxSearchedItemBuilderState":{"State0":["MailboxSearchedItemBuilder"]},"_MailboxActionProgressBanner":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"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":[]},"EmailTileBuilder":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_EmailTileBuilderState":{"State0":["EmailTileBuilder"]},"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":[]},"ThreadViewLoadingBarWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]}}'));
A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"_QuickSearchSuggestionListState_State_SingleTickerProviderStateMixin":3,"__TypeAheadFieldQuickSearchState_State_WidgetsBindingObserver":3,"_NonOverrideAction":1}'));
var string$ = {
Mailbo: "MailboxDashBoardController::dispatchAction(): ",
__u059: "[\\u0591-\\u07FF\\uFB1D-\\uFDFD\\uFE70-\\uFEFC]"
};
var type$ = (function rtii() {
var findType = A.findType;
return {
Action_Intent: findType("Action<Intent>"),
AdvancedFilterController: findType("AdvancedFilterController"),
AppLocalizations: findType("AppLocalizations"),
Attachment: findType("Attachment"),
CalendarAttendee: findType("CalendarAttendee"),
Directionality: findType("Directionality"),
DraggableEmailAddress: findType("DraggableEmailAddress"),
DropdownSearchData_Identity: findType("DropdownSearchData<Identity>"),
EmailAddress: findType("EmailAddress"),
EmailReceiveTimeType: findType("EmailReceiveTimeType"),
EmailSortOrderType: findType("EmailSortOrderType"),
GestureRecognizerFactoryWithHandlers_LongPressGestureRecognizer: findType("GestureRecognizerFactoryWithHandlers<LongPressGestureRecognizer>"),
GestureRecognizerFactoryWithHandlers_TapAndPanGestureRecognizer: findType("GestureRecognizerFactoryWithHandlers<TapAndPanGestureRecognizer>"),
GestureRecognizerFactoryWithHandlers_TapGestureRecognizer: findType("GestureRecognizerFactoryWithHandlers<TapGestureRecognizer>"),
GestureRecognizerFactory_GestureRecognizer: findType("GestureRecognizerFactory<GestureRecognizer>"),
Identity: findType("Identity"),
ImagePaths: findType("ImagePaths"),
JSArray_BoxShadow: findType("JSArray<BoxShadow>"),
JSArray_CalendarAttendee: findType("JSArray<CalendarAttendee>"),
JSArray_ContextMenuButtonItem: findType("JSArray<ContextMenuButtonItem>"),
JSArray_EmailActionType: findType("JSArray<EmailActionType>"),
JSArray_FilterMessageOption: findType("JSArray<FilterMessageOption>"),
JSArray_Future_nullable_Iterable_nullable_Object: findType("JSArray<Future<Iterable<Object?>?>>"),
JSArray_InlineSpan: findType("JSArray<InlineSpan>"),
JSArray_Object: findType("JSArray<Object>"),
JSArray_PopupMenuEntry_dynamic: findType("JSArray<PopupMenuEntry<@>>"),
JSArray_ProcessTextAction: findType("JSArray<ProcessTextAction>"),
JSArray_ScrollPosition: findType("JSArray<ScrollPosition>"),
JSArray_Selectable: findType("JSArray<Selectable>"),
JSArray_String: findType("JSArray<String>"),
JSArray_SuggestionEmailAddress: findType("JSArray<SuggestionEmailAddress0>"),
JSArray_SuggestionEmailAddress_2: findType("JSArray<SuggestionEmailAddress>"),
JSArray_TextSelectionPoint: findType("JSArray<TextSelectionPoint>"),
JSArray_WebScript: findType("JSArray<WebScript>"),
JSArray_Widget: findType("JSArray<Widget>"),
JSArray__DragTargetState_Object: findType("JSArray<_DragTargetState<Object>>"),
JSArray_of_void_Function_Action_Intent: findType("JSArray<~(Action<Intent>)>"),
JavaScriptFunction: findType("JavaScriptFunction"),
LabeledGlobalKey_State_StatefulWidget: findType("LabeledGlobalKey<State0<StatefulWidget>>"),
List_PresentationEmail: findType("List<PresentationEmail>"),
List_SuggestionEmailAddress: findType("List<SuggestionEmailAddress0>"),
List_SuggestionEmailAddress_2: findType("List<SuggestionEmailAddress>"),
MailboxDashBoardController: findType("MailboxDashBoardController"),
MappedListIterable_EmailReceiveTimeType_Widget: findType("MappedListIterable<EmailReceiveTimeType,Widget>"),
MappedListIterable_EmailSortOrderType_Widget: findType("MappedListIterable<EmailSortOrderType,Widget>"),
MappedListIterable_EventActionType_AbsorbPointer: findType("MappedListIterable<EventActionType,AbsorbPointer>"),
MappedListIterable_FilterMessageOption_Widget: findType("MappedListIterable<FilterMessageOption,Widget>"),
MappedListIterable_of_EmailReceiveTimeType_and_DropdownMenuItem_EmailReceiveTimeType: findType("MappedListIterable<EmailReceiveTimeType,DropdownMenuItem<EmailReceiveTimeType>>"),
MappedListIterable_of_EmailReceiveTimeType_and_PopupMenuItem_dynamic: findType("MappedListIterable<EmailReceiveTimeType,PopupMenuItem<@>>"),
MappedListIterable_of_EmailSortOrderType_and_DropdownMenuItem_EmailSortOrderType: findType("MappedListIterable<EmailSortOrderType,DropdownMenuItem<EmailSortOrderType>>"),
MappedListIterable_of_EmailSortOrderType_and_PopupMenuItem_dynamic: findType("MappedListIterable<EmailSortOrderType,PopupMenuItem<@>>"),
MaterialLocalizations: findType("MaterialLocalizations"),
MediaQuery: findType("MediaQuery"),
MessageEvent: findType("MessageEvent"),
MultiDragPointerState: findType("MultiDragPointerState"),
NotificationListener_ScrollNotification: findType("NotificationListener<ScrollNotification>"),
ObserverList_of_void_Function_Action_Intent: findType("ObserverList<~(Action<Intent>)>"),
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_dynamic: findType("QuickSearchInputForm<@,@,@>"),
QuotasController: findType("QuotasController"),
RecentSearch: findType("RecentSearch"),
RenderBox: findType("RenderBox"),
ResponsiveUtils: findType("ResponsiveUtils"),
RestorableProperty_nullable_Object: findType("RestorableProperty<Object?>"),
SearchController: findType("SearchController"),
Selectable: findType("Selectable"),
SingleEmailController: findType("SingleEmailController"),
Some_SearchQuery: findType("Some<SearchQuery>"),
Some_Set_String: findType("Some<Set<String>>"),
Some_int: findType("Some<int>"),
SpamReportController: findType("SpamReportController"),
StatelessWidget: findType("StatelessWidget"),
String: findType("String"),
SuggestionEmailAddress: findType("SuggestionEmailAddress0"),
SuggestionEmailAddress_2: findType("SuggestionEmailAddress"),
TMailButtonWidget: findType("TMailButtonWidget"),
Type: findType("Type"),
TypeAheadFieldQuickSearch_dynamic_dynamic_dynamic: findType("TypeAheadFieldQuickSearch<@,@,@>"),
UTCDate: findType("UTCDate"),
UnmodifiableListView_WebScript: findType("UnmodifiableListView<WebScript>"),
ValueKey_String: findType("ValueKey<String>"),
ValueKey_nullable_EmailId: findType("ValueKey<EmailId?>"),
ValueListenableBuilder_bool: findType("ValueListenableBuilder<bool>"),
ValueListenableBuilder_double: findType("ValueListenableBuilder<double>"),
ValueNotifier_bool: findType("ValueNotifier<bool>"),
ValueNotifier_double: findType("ValueNotifier<double>"),
WhereTypeIterable_PresentationEmail: findType("WhereTypeIterable<PresentationEmail>"),
WhereTypeIterable_PresentationMailbox: findType("WhereTypeIterable<PresentationMailbox>"),
Widget: findType("Widget"),
WidgetStatePropertyAll_bool: findType("WidgetStatePropertyAll<bool>"),
WidgetStatePropertyAll_double: findType("WidgetStatePropertyAll<double>"),
_DirectionallyExtendCaretSelectionAction_ExtendSelectionVerticallyToAdjacentLineIntent: findType("_DirectionallyExtendCaretSelectionAction<ExtendSelectionVerticallyToAdjacentLineIntent>"),
_DrawerControllerScope: findType("_DrawerControllerScope"),
_GranularlyExtendCaretSelectionAction_ExtendSelectionByCharacterIntent: findType("_GranularlyExtendCaretSelectionAction<ExtendSelectionByCharacterIntent>"),
_GranularlyExtendCaretSelectionAction_ExtendSelectionToDocumentBoundaryIntent: findType("_GranularlyExtendCaretSelectionAction<ExtendSelectionToDocumentBoundaryIntent>"),
_GranularlyExtendCaretSelectionAction_ExtendSelectionToLineBreakIntent: findType("_GranularlyExtendCaretSelectionAction<ExtendSelectionToLineBreakIntent>"),
_GranularlyExtendCaretSelectionAction_ExtendSelectionToNextWordBoundaryIntent: findType("_GranularlyExtendCaretSelectionAction<ExtendSelectionToNextWordBoundaryIntent>"),
_GranularlyExtendSelectionAction_ExpandSelectionToDocumentBoundaryIntent: findType("_GranularlyExtendSelectionAction<ExpandSelectionToDocumentBoundaryIntent>"),
_GranularlyExtendSelectionAction_ExpandSelectionToLineBreakIntent: findType("_GranularlyExtendSelectionAction<ExpandSelectionToLineBreakIntent>"),
_GranularlyExtendSelectionAction_ExtendSelectionToNextWordBoundaryOrCaretLocationIntent: findType("_GranularlyExtendSelectionAction<ExtendSelectionToNextWordBoundaryOrCaretLocationIntent>"),
_LocalizationsScope: findType("_LocalizationsScope"),
_QuickSearchInputFormFormFieldState_dynamic_dynamic_dynamic: findType("_QuickSearchInputFormFormFieldState<@,@,@>"),
bool: findType("bool"),
dynamic: findType("@"),
int: findType("int"),
nullable_Iterable_nullable_Object: findType("Iterable<Object?>?"),
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_1_1 = new A.AlignmentDirectional(1, 1);
D.BorderRadiusDirectional_6nc0 = new A.BorderRadiusDirectional(C.Radius_16_16, C.Radius_0_0, C.Radius_16_16, C.Radius_0_0);
D.BorderRadiusDirectional_6nc1 = new A.BorderRadiusDirectional(C.Radius_0_0, C.Radius_16_16, C.Radius_0_0, C.Radius_16_16);
D.BorderRadius_ww816 = new A.BorderRadius(C.Radius_0_0, C.Radius_0_0, C.Radius_16_16, C.Radius_16_16);
D.BorderSide_FGJ = new A.BorderSide(C.Color_4294243572, 0, C.BorderStyle_1, -1);
D.BorderSide_FGJ0 = new A.BorderSide(C.Color_4294243572, 1, C.BorderStyle_1, -1);
D.BorderSide_qNa = new A.BorderSide(E.Color_4294914887, 1, C.BorderStyle_1, -1);
D.Border_2Rm = new A.Border(C.BorderSide_Q1M, C.BorderSide_Q1M, C.BorderSide_03, C.BorderSide_Q1M);
D.BoxConstraints_86y5 = new A.BoxConstraints(24, 1 / 0, 24, 1 / 0);
D.BoxConstraints_NQk = new A.BoxConstraints(0, 490, 0, 1 / 0);
D.BoxConstraints_cUt0 = new A.BoxConstraints(0, 1 / 0, 0, 150);
D.BoxConstraints_cUt = new A.BoxConstraints(0, 1 / 0, 0, 200);
D.BoxConstraints_oA85 = new A.BoxConstraints(0, 100, 0, 1 / 0);
D.BoxConstraints_oA81 = new A.BoxConstraints(0, 250, 0, 1 / 0);
D.BoxConstraints_oA82 = new A.BoxConstraints(0, 300, 0, 1 / 0);
D.Border_Lxv = new A.Border(C.BorderSide_03, C.BorderSide_Q1M, C.BorderSide_Q1M, C.BorderSide_Q1M);
D.BoxDecoration_2HT = new A.BoxDecoration(null, null, D.Border_Lxv, null, null, null, null, C.BoxShape_0);
D.BoxDecoration_4GC = new A.BoxDecoration(C.Color_83886080, null, null, C.BorderRadius_ww80, null, null, null, C.BoxShape_0);
D.BoxShadow_NMc30 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_335544320, C.Offset_0_0, 24);
D.List_B6x5 = A._setArrayType(makeConstList([D.BoxShadow_NMc30, C.BoxShadow_NMc0]), type$.JSArray_BoxShadow);
D.BoxDecoration_8sn = new A.BoxDecoration(C.Color_4294967295, null, null, null, D.List_B6x5, null, null, C.BoxShape_0);
D.Border_lNe = new A.Border(C.BorderSide_Q1M, C.BorderSide_Q1M, D.BorderSide_FGJ0, C.BorderSide_Q1M);
D.BoxDecoration_Aso = new A.BoxDecoration(null, null, D.Border_lNe, null, null, null, null, C.BoxShape_0);
D.BoxShadow_NMc31 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_520093696, C.Offset_0_0, 32);
D.BoxShadow_NMc32 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_520093696, C.Offset_0_0, 4);
D.List_B6x6 = A._setArrayType(makeConstList([D.BoxShadow_NMc31, D.BoxShadow_NMc32]), type$.JSArray_BoxShadow);
D.BoxDecoration_EFv = new A.BoxDecoration(C.Color_4294967295, null, null, C.BorderRadius_ww81, D.List_B6x6, null, null, C.BoxShape_0);
D.BoxDecoration_EcE = new A.BoxDecoration(C.Color_4292865791, null, null, null, null, null, null, C.BoxShape_0);
D.BoxDecoration_MUU = new A.BoxDecoration(C.Color_4294967295, null, null, null, null, null, null, C.BoxShape_0);
D.BoxDecoration_Z7k = new A.BoxDecoration(C.Color_4293651952, null, null, C.BorderRadius_ww82, null, null, null, C.BoxShape_0);
D.BoxDecoration_eAf = new A.BoxDecoration(C.Color_4278221567, null, null, C.BorderRadius_ww89, null, null, null, C.BoxShape_0);
D.BorderRadius_ww825 = new A.BorderRadius(C.Radius_0_0, C.Radius_0_0, C.Radius_20_20, C.Radius_20_20);
D.BoxDecoration_kXN = new A.BoxDecoration(C.Color_4294967295, null, D.Border_Lxv, D.BorderRadius_ww825, null, null, null, C.BoxShape_0);
D.BoxDecoration_omC = new A.BoxDecoration(C.Color_4294967295, null, D.Border_lNe, null, null, null, null, C.BoxShape_0);
D.BoxDecoration_qVm = new A.BoxDecoration(C.Color_4292865791, null, null, C.BorderRadius_ww83, null, null, null, C.BoxShape_0);
D.BoxDecoration_qbf = new A.BoxDecoration(C.Color_4294967295, null, D.Border_2Rm, C.BorderRadius_ww820, null, null, null, C.BoxShape_0);
D.BoxDecoration_sI7 = new A.BoxDecoration(C.Color_4294243572, null, null, C.BorderRadius_ww82, null, null, null, C.BoxShape_0);
D.EdgeInsets_8_4_4_4 = new A.EdgeInsets(8, 4, 4, 4);
D.ButtonStyleData_qlj = new A.ButtonStyleData(32, 411, D.EdgeInsets_8_4_4_4, D.BoxDecoration_sI7);
D.List_zVb = 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_mBr = A._setArrayType(makeConstList(["Mon", "Tue", "Wed", "Thur", "Fri", "Sat", "Sun"]), type$.JSArray_String);
D.C_EnglishDateLocale = new B.EnglishDateLocale();
D.List_V0o = A._setArrayType(makeConstList(["Janv.", "F\xe9vr", "Mars", "Avr.", "Mai", "Juin", "Juill.", "Ao\xfbt", "Sep.", "Oct.", "Nov.", "D\xe9c."]), type$.JSArray_String);
D.List_he9 = A._setArrayType(makeConstList(["Janvier", "F\xe9vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao\xfbt", "Septembre", "Octobre", "Novembre", "D\xe9cembre"]), type$.JSArray_String);
D.List_wOX = A._setArrayType(makeConstList(["Lu", "Ma", "Me", "Je", "Ve", "Sa", "Di"]), type$.JSArray_String);
D.List_Ano = A._setArrayType(makeConstList(["Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"]), type$.JSArray_String);
D.C_FrenchDateLocale = new B.FrenchDateLocale();
D.List_GMA = A._setArrayType(makeConstList(["Jan.", "Feb.", "M\xe4rz", "Apr.", "Mai", "Jun.", "Jul.", "Aug.", "Sep.", "Okt.", "Nov.", "Dez."]), type$.JSArray_String);
D.List_2bL = A._setArrayType(makeConstList(["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"]), type$.JSArray_String);
D.List_FYo1 = A._setArrayType(makeConstList(["Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"]), type$.JSArray_String);
D.C_GermanDateLocale = new B.GermanDateLocale();
D.List_ECL2 = A._setArrayType(makeConstList(["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"]), type$.JSArray_String);
D.List_ewF = A._setArrayType(makeConstList(["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"]), type$.JSArray_String);
D.List_OTw = A._setArrayType(makeConstList(["Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"]), type$.JSArray_String);
D.List_W3m = 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_Hpw = 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_qXT = A._setArrayType(makeConstList(["\u041f\u043d", "\u0412\u0442", "\u0421\u0440", "\u0427\u0442", "\u041f\u0442", "\u0421\u0431", "\u0412\u0441"]), type$.JSArray_String);
D.List_Dn4 = 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_kZA = A._setArrayType(makeConstList(["Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12"]), type$.JSArray_String);
D.List_FAi = 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_M2I1 = A._setArrayType(makeConstList(["T2", "T3", "T4", "T5", "T6", "T7", "CN"]), type$.JSArray_String);
D.List_o0y1 = 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_86y = new A.CircularProgressIndicator(C._ActivityIndicatorType_0, 3, 0, null, null, null, C.Color_4278221567, null, null, null, null);
D.Color_4280032031 = new A.Color(4280032031);
D.Color_4281611320 = new A.Color(4281611320);
D.Color_4284640634 = new A.Color(4284640634);
D.Color_4287339695 = new A.Color(4287339695);
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.ComposerView_null = new B.ComposerView(null);
D.CupertinoLoadingWidget_16_null_null = new A.CupertinoLoadingWidget(16, null, null);
D.CupertinoLoadingWidget_2jN0 = new A.CupertinoLoadingWidget(null, C.EdgeInsets_16_16_16_16, null);
D.CupertinoLoadingWidget_null_null_null = new A.CupertinoLoadingWidget(null, null, null);
D.Divider_4e8 = new A.Divider(0.5, 0.2, null, null, C.Color_520093696, null);
D.Divider_SfU1 = new A.Divider(null, null, null, null, C.Color_520093696, null);
D.Duration_170000 = new A.Duration(170000);
D.EdgeInsetsDirectional_0_0_0_0 = new A.EdgeInsetsDirectional(0, 0, 0, 0);
D.EdgeInsetsDirectional_0_0_0_10 = new A.EdgeInsetsDirectional(0, 0, 0, 10);
D.EdgeInsetsDirectional_0_0_16_16 = new A.EdgeInsetsDirectional(0, 0, 16, 16);
D.EdgeInsetsDirectional_0_0_16_8 = new A.EdgeInsetsDirectional(0, 0, 16, 8);
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_0_8_8 = new A.EdgeInsetsDirectional(0, 0, 8, 8);
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_16_0_0 = new A.EdgeInsetsDirectional(0, 16, 0, 0);
D.EdgeInsetsDirectional_0_4_0_4 = new A.EdgeInsetsDirectional(0, 4, 0, 4);
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_12_0 = new A.EdgeInsetsDirectional(0, 8, 12, 0);
D.EdgeInsetsDirectional_100_16_16_0 = new A.EdgeInsetsDirectional(100, 16, 16, 0);
D.EdgeInsetsDirectional_120_2_0_0 = new A.EdgeInsetsDirectional(120, 2, 0, 0);
D.EdgeInsetsDirectional_12_0_12_8 = new A.EdgeInsetsDirectional(12, 0, 12, 8);
D.EdgeInsetsDirectional_12_0_4_0 = new A.EdgeInsetsDirectional(12, 0, 4, 0);
D.EdgeInsetsDirectional_12_4_4_4 = new A.EdgeInsetsDirectional(12, 4, 4, 4);
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_0_16_10 = new A.EdgeInsetsDirectional(16, 0, 16, 10);
D.EdgeInsetsDirectional_16_0_16_12 = new A.EdgeInsetsDirectional(16, 0, 16, 12);
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_0 = new A.EdgeInsetsDirectional(16, 16, 0, 0);
D.EdgeInsetsDirectional_16_16_16_8 = new A.EdgeInsetsDirectional(16, 16, 16, 8);
D.EdgeInsetsDirectional_16_16_8_16 = new A.EdgeInsetsDirectional(16, 16, 8, 16);
D.EdgeInsetsDirectional_20_0_20_0 = new A.EdgeInsetsDirectional(20, 0, 20, 0);
D.EdgeInsetsDirectional_20_0_20_16 = new A.EdgeInsetsDirectional(20, 0, 20, 16);
D.EdgeInsetsDirectional_24_0_0_0 = new A.EdgeInsetsDirectional(24, 0, 0, 0);
D.EdgeInsetsDirectional_24_0_24_8 = new A.EdgeInsetsDirectional(24, 0, 24, 8);
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_0_32_0 = new A.EdgeInsetsDirectional(32, 0, 32, 0);
D.EdgeInsetsDirectional_32_0_32_10 = new A.EdgeInsetsDirectional(32, 0, 32, 10);
D.EdgeInsetsDirectional_32_8_32_8 = new A.EdgeInsetsDirectional(32, 8, 32, 8);
D.EdgeInsetsDirectional_3_2_3_0 = new A.EdgeInsetsDirectional(3, 2, 3, 0);
D.EdgeInsetsDirectional_3_3_3_3 = new A.EdgeInsetsDirectional(3, 3, 3, 3);
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_0_2 = new A.EdgeInsetsDirectional(8, 0, 0, 2);
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_6_8_0 = new A.EdgeInsetsDirectional(8, 6, 8, 0);
D.EdgeInsetsDirectional_8_8_0_0 = new A.EdgeInsetsDirectional(8, 8, 0, 0);
D.EdgeInsetsDirectional_USP = new A.EdgeInsetsDirectional(8.5, 8, 8.5, 8);
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_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_16_0_16_16 = new A.EdgeInsets(16, 0, 16, 16);
D.EdgeInsets_20_12_20_0 = new A.EdgeInsets(20, 12, 20, 0);
D.EdgeInsets_24_8_24_8 = new A.EdgeInsets(24, 8, 24, 8);
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.EdgeInsets_8_4_0_4 = new A.EdgeInsets(8, 4, 0, 4);
D.EdgeInsets_ohJ = new A.EdgeInsets(16, 8.5, 16, 8.5);
D.EmailViewEmptyWidget_null = new B.EmailViewEmptyWidget(null);
D.EmailView_null = new B.EmailView(null);
D.Expanded_0EQ = new A.Expanded(1, C.FlexFit_0, D.EmailView_null, null);
D.Color_251658240 = new A.Color(251658240);
D.BoxShadow_NMc33 = new A.BoxShadow(0, C.BlurStyle_0, D.Color_251658240, C.Offset_0_0, 4);
D.List_B6x1 = A._setArrayType(makeConstList([D.BoxShadow_NMc31, D.BoxShadow_NMc33]), type$.JSArray_BoxShadow);
D.List_EmailLinkifier_UrlLinkifier = A._setArrayType(makeConstList([C.C_EmailLinkifier, C.C_UrlLinkifier]), A.findType("JSArray<Linkifier>"));
D.List_LB7 = A._setArrayType(makeConstList([C.QuickSearchFilter_0, C.QuickSearchFilter_1, C.QuickSearchFilter_2, C.QuickSearchFilter_3]), A.findType("JSArray<@>"));
D.List_RWw = A._setArrayType(makeConstList([C.EventActionType_0, C.EventActionType_1, C.EventActionType_2, C.EventActionType_3]), A.findType("JSArray<EventActionType>"));
D.List_aYI = A._setArrayType(makeConstList([C.EmailSortOrderType_0, C.EmailSortOrderType_1, C.EmailSortOrderType_2, C.EmailSortOrderType_3, C.EmailSortOrderType_4, C.EmailSortOrderType_5, C.EmailSortOrderType_6]), A.findType("JSArray<EmailSortOrderType>"));
D.List_gOG = A._setArrayType(makeConstList([C.EmailReceiveTimeType_0, C.EmailReceiveTimeType_1, C.EmailReceiveTimeType_2, C.EmailReceiveTimeType_3, C.EmailReceiveTimeType_4, C.EmailReceiveTimeType_5]), A.findType("JSArray<EmailReceiveTimeType>"));
D.Color_2566945535 = new A.Color(2566945535);
D.BoxShadow_anX = new A.BoxShadow(0, C.BlurStyle_0, D.Color_2566945535, C.Offset_0_0, 12);
D.List_zPV = A._setArrayType(makeConstList([D.BoxShadow_anX]), type$.JSArray_BoxShadow);
D.NeverScrollableScrollPhysics_null = new B.NeverScrollableScrollPhysics(null);
D.Divider_SfU2 = new A.Divider(2, null, null, null, C.Color_520093696, null);
D.Padding_EOY = new A.Padding(C.EdgeInsets_8_0_8_0, D.Divider_SfU2, null);
D.Padding_FtF = new A.Padding(D.EdgeInsetsDirectional_0_16_0_0, D.CupertinoLoadingWidget_null_null_null, null);
D.Padding_WfU = new A.Padding(C.EdgeInsets_4_4_4_4, null, null);
D.LinearProgressIndicator_UVb = new A.LinearProgressIndicator(2, C.BorderRadius_ww8, null, D.Color_4293128703, C.Color_4278221567, null, null, null, null);
D.Padding_qbD = new A.Padding(D.EdgeInsetsDirectional_0_8_0_0, D.LinearProgressIndicator_UVb, null);
D.VerticalDivider_EqE = new A.VerticalDivider(2.5, 0.2, null, null, C.MaterialColor_Map_Ng0Da_4288585374, null);
D.Padding_spY = new A.Padding(E.EdgeInsets_0_5_0_5, D.VerticalDivider_EqE, null);
D.PageStorageKey_K6o = new A.PageStorageKey("list_presentation_email_in_search_view", type$.PageStorageKey_String);
D.PageStorageKey_M4E = new A.PageStorageKey("list_presentation_email_in_threads", type$.PageStorageKey_String);
D.PageStorageKey_rich_text_builder = new A.PageStorageKey("rich_text_builder", type$.PageStorageKey_String);
D.HtmlElementView_ato = new A.HtmlElementView("Browser__WebContextMenuViewType__", null, null, null);
D.Positioned_qdM = new A.Positioned(0, 0, 0, 0, null, null, D.HtmlElementView_ato, null);
D.QuickSearchSuggestionsBoxDecoration_7K0 = new B.QuickSearchSuggestionsBoxDecoration(C.Color_4294967295, C.BorderRadius_ww80);
D.QuickSearchSuggestionsBoxDecoration_null_null = new B.QuickSearchSuggestionsBoxDecoration(null, null);
D.QuickSearchTextFieldConfiguration_U86 = new B.QuickSearchTextFieldConfiguration(C.InputDecoration_8UR, 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.QuotasView_null = new B.QuotasView(null);
D.Record2_i3y = new A._Record_2_name_script("registerDropListener", ' document.querySelector(".note-editable").addEventListener(\n "drop",\n (event) => window.parent.postMessage(\n JSON.stringify({"name": "registerDropListener"})))');
D.Record2_inI = new A._Record_2_name_script("unregisterDropListener", ' const editor = document.querySelector(".note-editable");\n const newEditor = editor.cloneNode(true);\n editor.parentNode.replaceChild(newEditor, editor);');
D.Record2_wQ8 = new A._Record_2_name_script("lineHeight100Percent", ' document.querySelectorAll("*")\n .forEach((element) => {\n if (element.style.lineHeight !== "normal")\n element.style.lineHeight = "100%";\n });');
D.RoundedRectangleBorder_1u2 = new A.RoundedRectangleBorder(C.BorderRadius_ww89, C.BorderSide_00);
D.RoundedRectangleBorder_NYu12 = new A.RoundedRectangleBorder(C.BorderRadius_ww82, C.BorderSide_Q1M);
D.Radius_24_24 = new A.Radius(24, 24);
D.BorderRadius_ww826 = new A.BorderRadius(D.Radius_24_24, D.Radius_24_24, D.Radius_24_24, D.Radius_24_24);
D.RoundedRectangleBorder_NYu9 = new A.RoundedRectangleBorder(D.BorderRadius_ww826, C.BorderSide_Q1M);
D.SearchMailboxView_Color_4294375158_null = new B.SearchMailboxView(C.Color_4294375158, null);
D.SearchMailboxView_null_null = new B.SearchMailboxView(null, null);
D.SelectAllSelectionEvent_SelectionEventType_3 = new B.SelectAllSelectionEvent(C.SelectionEventType_3);
D.Set_4qh83 = new A.GeneralConstantSet([C.PointerDeviceKind_0, C.PointerDeviceKind_2, C.PointerDeviceKind_3], A.findType("GeneralConstantSet<PointerDeviceKind>"));
D.BoxShadow_NMc34 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_335544320, C.Offset_0_1, 80);
D.BoxShadow_NMc35 = new A.BoxShadow(1, C.BlurStyle_0, C.Color_637534208, C.Offset_0_1, 3);
D.List_B6x7 = A._setArrayType(makeConstList([D.BoxShadow_NMc34, D.BoxShadow_NMc35]), type$.JSArray_BoxShadow);
D.ShapeDecoration_0 = new A.ShapeDecoration(C.Color_4294967295, null, null, D.List_B6x7, C.RoundedRectangleBorder_NYu5);
D.BoxShadow_NMc36 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_687865856, C.Offset_0_0, 96);
D.BoxShadow_NMc37 = new A.BoxShadow(0, C.BlurStyle_0, C.Color_520093696, C.Offset_0_0, 2);
D.List_B6x8 = A._setArrayType(makeConstList([D.BoxShadow_NMc36, D.BoxShadow_NMc37]), type$.JSArray_BoxShadow);
D.ShapeDecoration_00 = new A.ShapeDecoration(C.Color_4294967295, null, null, D.List_B6x8, C.RoundedRectangleBorder_NYu5);
D.ShapeDecoration_int = new A.ShapeDecoration(C.Color_4278221567, null, null, null, D.RoundedRectangleBorder_NYu12);
D.RoundedRectangleBorder_1u21 = new A.RoundedRectangleBorder(C.BorderRadius_ww80, C.BorderSide_03);
D.ShapeDecoration_kyx = new A.ShapeDecoration(C.Color_167772160, null, null, null, D.RoundedRectangleBorder_1u21);
D.ShapeDecoration_pWN = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_1u21);
D.BorderSide_kmH0 = new A.BorderSide(E.Color_1555612108, 1, C.BorderStyle_1, -1);
D.RoundedRectangleBorder_OzL = new A.RoundedRectangleBorder(C.BorderRadius_ww811, D.BorderSide_kmH0);
D.ShapeDecoration_uQ3 = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_OzL);
D.BorderRadius_ww827 = new A.BorderRadius(C.Radius_0_0, C.Radius_16_16, C.Radius_0_0, C.Radius_16_16);
D.RoundedRectangleBorder_NYu14 = new A.RoundedRectangleBorder(D.BorderRadius_ww827, C.BorderSide_Q1M);
D.ShapeDecoration_wAN0 = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_NYu14);
D.RoundedRectangleBorder_NYu15 = new A.RoundedRectangleBorder(D.BorderRadius_ww816, C.BorderSide_Q1M);
D.ShapeDecoration_wAN = new A.ShapeDecoration(C.Color_4294967295, null, null, null, D.RoundedRectangleBorder_NYu15);
D.SizeUnit_2 = new B.SizeUnit(2, "MB");
D.Size_sBE = new A.Size(250, 1 / 0);
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_20_20_null_null = new A.SizedBox(20, 20, null, null);
D.SizedBox_30_null_null_null = new A.SizedBox(30, null, null, null);
D.SizedBox_CLo = new A.SizedBox(20, 20, C.CircularProgressIndicator_SZ90, 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.TextEditingValue_ssD = new A.TextEditingValue("_", C.TextSelection_vdW, C.TextRange_m1_m1);
D.TextSelection_23h0 = new A.TextSelection(0, 1, C.TextAffinity_1, false, 0, 1);
D.TextSelection_23h1 = new A.TextSelection(1, 1, C.TextAffinity_1, false, 1, 1);
D.TextSpan_i21 = new A.TextSpan(", ", null, null, C.C__DeferringMouseCursor, null, null, null, null, null, null);
D.TextStyle_1Y6 = new A.TextStyle(true, D.Color_4287339695, 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, C.TextOverflow_2);
D.TextStyle_5Ry3 = new A.TextStyle(true, C.Color_4285034102, 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_5Ry2 = 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_69t23 = 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_69t21 = 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_69t17 = 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_69t19 = 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_69t29 = new A.TextStyle(true, D.Color_4287339695, 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_69t28 = new A.TextStyle(true, D.Color_4287339695, 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_69t14 = new A.TextStyle(true, D.Color_4287339695, 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_69t15 = new A.TextStyle(true, D.Color_4287339695, 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_6nc0 = 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_6nc = 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_4279773522 = new A.Color(4279773522);
D.TextStyle_82N0 = 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_82N = 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.TextStyle_92e = new A.TextStyle(true, C.Color_4286680217, null, null, null, null, 14, 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_FAo = new A.TextStyle(true, C.Color_4278848010, 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.Color_4287861651 = new A.Color(4287861651);
D.TextStyle_MIj = 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_OkG1 = 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_OkG2 = 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_OkG4 = 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_4289967027 = new A.Color(4289967027);
D.TextStyle_QKd = 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_Szk = 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_Yec = new A.TextStyle(true, D.Color_4280032031, 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, C.TextOverflow_2);
D.TextStyle_gqD = new A.TextStyle(true, D.Color_4280032031, 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_hw4 = new A.TextStyle(true, D.Color_4287339695, null, null, null, null, 15, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, C.TextDecoration_1, D.Color_4287339695, null, null, null, null, null, null, null);
D.TextStyle_mS8 = new A.TextStyle(true, C.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_mS80 = new A.TextStyle(true, C.Color_4285625980, null, null, null, null, 15, C.FontWeight_3_400, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_mtF3 = new A.TextStyle(true, C.Color_4286149758, 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_mtF6 = 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_mtF10 = 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_mtF8 = 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_mtF4 = 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_mtF2 = 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_mtF7 = 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_mtF5 = 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_mtF9 = new A.TextStyle(true, C.Color_4294967295, null, null, null, null, 22, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_yT34 = new A.TextStyle(true, C.Color_4278221567, 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.ValueKey_2TE = new A.ValueKey("mark_as_read_email_selection_button", type$.ValueKey_String);
D.ValueKey_7Re = new A.ValueKey("refresh_all_mailbox_and_email_button", type$.ValueKey_String);
D.ValueKey_ECn = new A.ValueKey("mark_as_star_selected_email_button", type$.ValueKey_String);
D.ValueKey_MMT = new A.ValueKey("mark_as_spam_email_selection_button", type$.ValueKey_String);
D.ValueKey_WUO = new A.ValueKey("mark_as_read_selected_email_button", type$.ValueKey_String);
D.ValueKey_WbM = new A.ValueKey("selection_web_app_bar_thread_widget", type$.ValueKey_String);
D.ValueKey_archive_message_action = new A.ValueKey("archive_message_action", type$.ValueKey_String);
D.ValueKey_cEn = new A.ValueKey("move_selected_email_to_spam_button", type$.ValueKey_String);
D.ValueKey_cancel_selection_button = new A.ValueKey("cancel_selection_button", type$.ValueKey_String);
D.ValueKey_chs = new A.ValueKey("mark_as_star_email_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_search_bar_view = new A.ValueKey("email_search_bar_view", 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_email_message = new A.ValueKey("empty_email_message", 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_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_kqK = new A.ValueKey("default_web_app_bar_thread_widget", type$.ValueKey_String);
D.ValueKey_lqi = new A.ValueKey("create_filter_rule_button_within_empty_email", 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_move_email_selection_button = new A.ValueKey("move_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_qFe = new A.ValueKey("recover_deleted_messages_button", type$.ValueKey_String);
D.ValueKey_qR4 = new A.ValueKey("move_selected_email_to_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_search_email_text_field = new A.ValueKey("search_email_text_field", type$.ValueKey_String);
D.ValueKey_search_filter_list_view = new A.ValueKey("search_filter_list_view", type$.ValueKey_String);
D.ValueKey_smime_signature_status_icon = new A.ValueKey("smime_signature_status_icon", type$.ValueKey_String);
D.ValueKey_sort_filter_context_menu = new A.ValueKey("sort_filter_context_menu", type$.ValueKey_String);
D.ValueKey_suggestion_search_list_view = new A.ValueKey("suggestion_search_list_view", type$.ValueKey_String);
D.ValueKey_swd = new A.ValueKey("search_email_list_notification_listener", type$.ValueKey_String);
D.ValueKey_web_app_bar_thread_widget = new A.ValueKey("web_app_bar_thread_widget", type$.ValueKey_String);
D.VerticalDivider_Drw0 = new A.VerticalDivider(null, null, null, null, null, null);
D.VerticalDivider_Drw = new A.VerticalDivider(1, null, null, null, null, null);
D._DragEndKind_0 = new B._DragEndKind(0, "dropped");
D._DragEndKind_1 = new B._DragEndKind(1, "canceled");
})();
(function staticFields() {
$.PlatformSelectableRegionContextMenu__activeClient = null;
$.PlatformSelectableRegionContextMenu__registeredViewType = null;
$.EmailViewAppBarWidgetStyles_buttonIconSize = 20;
$.EmailViewStyles_pageViewIconSize = 20;
})();
(function lazyInitializers() {
var _lazy = hunkHelpers.lazy;
_lazy($, "FromComposerDropDownWidgetStyle_dropdownStyleData", "$get$FromComposerDropDownWidgetStyle_dropdownStyleData", () => {
var _null = null;
return A.DropdownStyleData$(C.BoxDecoration_yXb2, 4, 272, C.Offset_0_m8, A.ScrollbarThemeData$(_null, _null, _null, _null, C.Radius_40_40, A.WidgetStateProperty_all(6, A.findType("double")), _null, A.WidgetStateProperty_all(true, type$.bool), _null, _null, _null), 381);
});
_lazy($, "FromComposerDropDownWidgetStyle_menuIemStyleData", "$get$FromComposerDropDownWidgetStyle_menuIemStyleData", () => A.MenuItemStyleData$(72, A.WidgetStateProperty_resolveWith(new B.FromComposerDropDownWidgetStyle_menuIemStyleData_closure(), A.findType("Color")), C.EdgeInsets_12_0_12_0));
_lazy($, "CalendarEventActionButtonWidgetStyles_loadingBackgroundColor", "$get$CalendarEventActionButtonWidgetStyles_loadingBackgroundColor", () => C.MaterialColor_Map_Ng0Da_4288585374.get$shade300());
_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));
})();
};
;
((d, h) => {
d[h] = d.current;
d.eventLog.push({p: "main.dart.js_4", e: "endPart", h: h});
})($__dart_deferred_initializers__, "coivRRmOSM8MR8t8rH//AAdK6ws=");
;