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

930 lines
53 KiB
JavaScript

// Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.2.0.
((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, E,
B = {
HtmlContentViewerOnWeb$(allowResizeToDocumentSize, contentHtml, direction, heightContent, mailtoDelegate, widthContent) {
return new B.HtmlContentViewerOnWeb(contentHtml, widthContent, heightContent, direction, mailtoDelegate, allowResizeToDocumentSize, null);
},
HtmlContentViewerOnWeb: function HtmlContentViewerOnWeb(t0, t1, t2, t3, t4, t5, t6) {
var _ = this;
_.contentHtml = t0;
_.widthContent = t1;
_.heightContent = t2;
_.direction = t3;
_.mailtoDelegate = t4;
_.allowResizeToDocumentSize = t5;
_.key = t6;
},
_HtmlContentViewerOnWebState: function _HtmlContentViewerOnWebState(t0) {
var _ = this;
_.___HtmlContentViewerOnWebState__actualWidth_A = _.___HtmlContentViewerOnWebState__actualHeight_A = _.___HtmlContentViewerOnWebState__createdViewId_A = $;
_._htmlData = _._webInit = null;
_._html_content_viewer_on_web_widget$_isLoading = true;
_.minHeight = 100;
_.___HtmlContentViewerOnWebState_sizeListener_F = $;
_._iframeLoaded = false;
_._widget = null;
_._debugLifecycleState = t0;
_._framework$_element = null;
},
_HtmlContentViewerOnWebState_initState_closure: function _HtmlContentViewerOnWebState_initState_closure(t0) {
this.$this = t0;
},
_HtmlContentViewerOnWebState_initState__closure: function _HtmlContentViewerOnWebState_initState__closure(t0, t1) {
this.$this = t0;
this.scrollHeightWithBuffer = t1;
},
_HtmlContentViewerOnWebState_initState__closure0: function _HtmlContentViewerOnWebState_initState__closure0(t0) {
this.$this = t0;
},
_HtmlContentViewerOnWebState_initState__closure1: function _HtmlContentViewerOnWebState_initState__closure1(t0, t1) {
this.$this = t0;
this.docWidth = t1;
},
_HtmlContentViewerOnWebState__setUpWeb_closure: function _HtmlContentViewerOnWebState__setUpWeb_closure(t0) {
this.iframe = t0;
},
_HtmlContentViewerOnWebState__setUpWeb_closure0: function _HtmlContentViewerOnWebState__setUpWeb_closure0(t0) {
this.$this = t0;
},
_HtmlContentViewerOnWebState_build_closure: function _HtmlContentViewerOnWebState_build_closure(t0) {
this.$this = t0;
},
_HtmlContentViewerOnWebState_build__closure: function _HtmlContentViewerOnWebState_build__closure(t0) {
this.$this = t0;
},
PopupMenuItemWidget$(icon, $name, onTapCallback) {
return new B.PopupMenuItemWidget(onTapCallback, icon, $name, null);
},
PopupMenuItemWidget: function PopupMenuItemWidget(t0, t1, t2, t3) {
var _ = this;
_.onTapCallback = t0;
_.icon = t1;
_.name = t2;
_.key = t3;
},
PopupMenuItemWidget_build_closure: function PopupMenuItemWidget_build_closure(t0) {
this.$this = t0;
},
_ElevatedButtonWithIcon$(icon, label, onPressed, style) {
var _null = null;
return new B._ElevatedButtonWithIcon(onPressed, _null, _null, _null, style, C.Clip_0, _null, false, _null, true, new B._ElevatedButtonWithIconChild(label, icon, _null), _null);
},
_ElevatedButtonWithIcon: function _ElevatedButtonWithIcon(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.onPressed = t0;
_.onLongPress = t1;
_.onHover = t2;
_.onFocusChange = t3;
_.style = t4;
_.clipBehavior = t5;
_.focusNode = t6;
_.autofocus = t7;
_.statesController = t8;
_.isSemanticButton = t9;
_.child = t10;
_.key = t11;
},
_ElevatedButtonWithIconChild: function _ElevatedButtonWithIconChild(t0, t1, t2) {
this.label = t0;
this.icon = t1;
this.key = t2;
},
PopupMenuDivider: function PopupMenuDivider(t0) {
this.key = t0;
},
_PopupMenuDividerState: function _PopupMenuDividerState(t0) {
this._widget = null;
this._debugLifecycleState = t0;
this._framework$_element = null;
},
Portal$(child) {
return new B.Portal(child, null);
},
Portal: function Portal(t0, t1) {
this.child = t0;
this.key = t1;
},
_PortalState: function _PortalState(t0, t1) {
var _ = this;
_._portal$_portalLink = t0;
_._widget = null;
_._debugLifecycleState = t1;
_._framework$_element = null;
},
PortalLink: function PortalLink(t0) {
this.theater = null;
this.overlays = t0;
},
PortalLinkScope: function PortalLinkScope(t0, t1, t2, t3, t4) {
var _ = this;
_.debugName = t0;
_.portalLink = t1;
_.portalLabels = t2;
_.child = t3;
_.key = t4;
},
PortalTheater: function PortalTheater(t0, t1, t2, t3) {
var _ = this;
_.debugName = t0;
_._portal_theater$_portalLink = t1;
_.child = t2;
_.key = t3;
},
RenderPortalTheater: function RenderPortalTheater(t0, t1, t2, t3) {
var _ = this;
_.debugName = t0;
_._portal_theater$_portalLink = t1;
_.RenderObjectWithChildMixin__child = t2;
_._cachedDryLayoutSizes = _._cachedIntrinsicDimensions = null;
_._computingThisDryLayout = false;
_._cachedBaselines = _._box$_size = null;
_._debugActivePointers = 0;
_._object$_debugDisposed = false;
_.parentData = null;
_._object$_depth = 0;
_.debugCreator = _._object$_parent = null;
_._debugDoingThisLayout = _._debugDoingThisResize = false;
_._debugCanParentUseSize = null;
_._debugMutationsLocked = false;
_._owner = null;
_._needsLayout = true;
_._relayoutBoundary = null;
_._doingThisLayoutWithCallback = false;
_._constraints = null;
_._debugDoingThisPaint = false;
_.__RenderObject__wasRepaintBoundary_A = $;
_._layerHandle = t3;
_._needsCompositingBitsUpdate = false;
_.__RenderObject__needsCompositing_A = $;
_._needsPaint = true;
_._needsCompositedLayerUpdate = false;
_._cachedSemanticsConfiguration = null;
_._needsSemanticsUpdate = true;
_._semantics = null;
},
PopupMenuWidgetMixin: function PopupMenuWidgetMixin() {
},
MaterialTextButton$(borderRadius, customStyle, label, labelColor, labelSize, labelWeight, onLongPress, onTap, overflow, padding, softWrap) {
return new B.MaterialTextButton(label, onTap, onLongPress, borderRadius, labelColor, labelSize, labelWeight, customStyle, padding, overflow, softWrap, null);
},
MaterialTextButton: function MaterialTextButton(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
var _ = this;
_.label = t0;
_.onTap = t1;
_.onLongPress = t2;
_.borderRadius = t3;
_.labelColor = t4;
_.labelSize = t5;
_.labelWeight = t6;
_.customStyle = t7;
_.padding = t8;
_.overflow = t9;
_.softWrap = t10;
_.key = t11;
},
UserInformationWidget$(border, onSubtitleClick, padding, subtitle, titlePadding, userProfile) {
return new B.UserInformationWidget(userProfile, subtitle, onSubtitleClick, padding, border, null);
},
UserInformationWidget: function UserInformationWidget(t0, t1, t2, t3, t4, t5) {
var _ = this;
_.userProfile = t0;
_.subtitle = t1;
_.onSubtitleClick = t2;
_.padding = t3;
_.border = t4;
_.key = t5;
},
UserSettingPopupMenuMixin: function UserSettingPopupMenuMixin() {
},
UserSettingPopupMenuMixin__settingAction_closure: function UserSettingPopupMenuMixin__settingAction_closure(t0) {
this.onCallBack = t0;
},
UserSettingPopupMenuMixin__logoutAction_closure: function UserSettingPopupMenuMixin__logoutAction_closure(t0) {
this.onCallBack = t0;
},
VacationNotificationMessageWidget$(actionEndNow, actionGotoVacationSetting, fromAccountDashBoard, leadingIcon, margin, padding, vacationResponse) {
return new B.VacationNotificationMessageWidget(vacationResponse, actionEndNow, actionGotoVacationSetting, margin, padding, leadingIcon, fromAccountDashBoard, null);
},
VacationNotificationMessageWidget: function VacationNotificationMessageWidget(t0, t1, t2, t3, t4, t5, t6, t7) {
var _ = this;
_.vacationResponse = t0;
_.actionEndNow = t1;
_.actionGotoVacationSetting = t2;
_.margin = t3;
_.padding = t4;
_.leadingIcon = t5;
_.fromAccountDashBoard = t6;
_.key = t7;
},
VacationNotificationMessageWidget__buildBodyForDesktop_closure: function VacationNotificationMessageWidget__buildBodyForDesktop_closure(t0) {
this.$this = t0;
},
VacationNotificationMessageWidget__buildBodyForDesktop_closure0: function VacationNotificationMessageWidget__buildBodyForDesktop_closure0(t0) {
this.$this = t0;
},
VacationNotificationMessageWidget__buildBodyForMobile_closure: function VacationNotificationMessageWidget__buildBodyForMobile_closure(t0) {
this.$this = t0;
},
VacationNotificationMessageWidget__buildBodyForMobile_closure0: function VacationNotificationMessageWidget__buildBodyForMobile_closure0(t0) {
this.$this = t0;
},
buildSVGIconButton(icon, iconColor, iconSize, onTap, onTapDown, padding, tooltip) {
var _null = null,
t1 = padding == null ? C.EdgeInsets_8_8_8_8 : padding,
t2 = A.ColorNullableExtension_asFilter(iconColor),
iconWidget = new A.Padding(t1, A.SvgPicture$asset(icon, C.Alignment_0_0, t2, C.BoxFit_0, iconSize, _null, iconSize), _null);
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, tooltip != null ? A.Tooltip$(iconWidget, tooltip) : iconWidget, C.CircleBorder_Umb, true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, onTap, _null, onTapDown, _null, _null, _null, _null, _null), C.Clip_0, C.Color_0, 0, _null, _null, _null, _null, _null, C.MaterialType_0);
},
VacationResponseExtension_get_vacationResponderIsReady(_this) {
var t1, t2, startDate;
if (_this.isEnabled === true) {
t1 = Date.now();
t2 = _this.fromDate;
startDate = t2 == null ? null : t2.value.toLocal$0();
if (startDate != null) {
t2 = startDate._value;
t1 = t2 < t1 || t2 === t1;
} else
t1 = false;
if (t1)
return true;
else
return false;
}
return false;
},
VacationResponseExtension_get_vacationResponderIsWaiting(_this) {
var t1, t2, startDate;
if (_this.isEnabled === true) {
t1 = Date.now();
t2 = _this.fromDate;
startDate = t2 == null ? null : t2.value.toLocal$0();
if (startDate != null && startDate._value > t1)
return true;
else
return false;
}
return false;
},
VacationResponseExtension_get_vacationResponderIsStopped(_this) {
var t1, t2, endDate;
if (_this.isEnabled === true) {
t1 = Date.now();
t2 = _this.toDate;
endDate = t2 == null ? null : t2.value.toLocal$0();
if (endDate != null && endDate._value < t1)
return true;
else
return false;
}
return false;
},
VacationResponseExtension_getNotificationMessage(_this, context) {
var t1, _null = null,
_s15_ = "MMM d, y h:mm a";
if (B.VacationResponseExtension_get_vacationResponderIsReady(_this) && !B.VacationResponseExtension_get_vacationResponderIsStopped(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return A.Intl__message("Your vacation responder is enabled.", _null, "yourVacationResponderIsEnabled", _null, _null);
} else if (B.VacationResponseExtension_get_vacationResponderIsWaiting(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.UTCDateExtension_formatDateToLocal(_this.fromDate, context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale._rawToString$1("-"), _s15_);
return A.Intl__message("Your vacation responder will be activated on " + t1, _null, "messageEnableVacationResponderAutomatically", A._setArrayType([t1], type$.JSArray_Object), _null);
} else if (B.VacationResponseExtension_get_vacationResponderIsStopped(_this)) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1 = A.UTCDateExtension_formatDateToLocal(_this.toDate, context.dependOnInheritedWidgetOfExactType$1$0(type$._LocalizationsScope).localizationsState._localizations$_locale._rawToString$1("-"), _s15_);
return A.Intl__message("Your vacation responder stopped on " + t1, _null, "messageDisableVacationResponderAutomatically", A._setArrayType([t1], type$.JSArray_Object), _null);
} else
return "";
}
},
D;
J = holdersList[1];
A = holdersList[0];
C = holdersList[2];
E = holdersList[10];
B = hunkHelpers.updateHolder(holdersList[8], B);
D = holdersList[12];
B.HtmlContentViewerOnWeb.prototype = {
createState$0() {
return new B._HtmlContentViewerOnWebState(C._StateLifecycle_0);
}
};
B._HtmlContentViewerOnWebState.prototype = {
initState$0() {
var t1, _this = this;
_this.super$State$initState();
t1 = _this._widget;
_this.___HtmlContentViewerOnWebState__actualHeight_A = t1.heightContent;
_this.___HtmlContentViewerOnWebState__actualWidth_A = t1.widthContent;
_this.___HtmlContentViewerOnWebState__createdViewId_A = _this._getRandString$1(10);
_this._setUpWeb$0();
t1 = window;
t1.toString;
t1 = A._EventStreamSubscription$(t1, "message", new B._HtmlContentViewerOnWebState_initState_closure(_this), false, type$.MessageEvent);
_this.___HtmlContentViewerOnWebState_sizeListener_F !== $ && A.throwUnnamedLateFieldAI();
_this.___HtmlContentViewerOnWebState_sizeListener_F = t1;
},
didUpdateWidget$1(oldWidget) {
var t1, t2, _this = this;
_this.super$State$didUpdateWidget(oldWidget);
t1 = oldWidget.direction;
A.log("_HtmlContentViewerOnWebState::didUpdateWidget():Old-Direction: " + t1.toString$0(0) + " | Current-Direction: " + _this._widget.direction.toString$0(0), C.Level_3);
t2 = _this._widget;
if (t2.contentHtml !== oldWidget.contentHtml || t2.direction !== t1) {
_this.___HtmlContentViewerOnWebState__createdViewId_A = _this._getRandString$1(10);
_this._setUpWeb$0();
}
t1 = _this._widget;
t2 = t1.heightContent;
if (t2 !== oldWidget.heightContent)
_this.___HtmlContentViewerOnWebState__actualHeight_A = t2;
t1 = t1.widthContent;
if (t1 !== oldWidget.widthContent)
_this.___HtmlContentViewerOnWebState__actualWidth_A = t1;
},
_getRandString$1(len) {
var i,
random = $.$get$Random__secureRandom(),
values = J.JSArray_JSArray$allocateGrowable(len, type$.int);
for (i = 0; i < len; ++i)
values[i] = random.nextInt$1(255);
return C.Base64Codec_Base64Encoder_true.get$encoder().convert$1(values);
},
_setUpWeb$0() {
var t4, _this = this,
t1 = _this._widget,
t2 = t1.contentHtml,
t3 = _this.___HtmlContentViewerOnWebState__createdViewId_A;
t3 === $ && A.throwUnnamedLateFieldNI();
t4 = _this.minHeight;
t1 = t1.direction;
t1 = t1 === C.TextDirection_0 ? 'dir="rtl"' : "";
_this._htmlData = ' <!DOCTYPE html>\n <html>\n <head>\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n <style>\n .tmail-content {\n min-height: ' + A.S(t4) + "px;\n min-width: 300px;\n overflow: auto;\n }\n .tmail-content::-webkit-scrollbar {\n display: none;\n }\n .tmail-content {\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n }\n \n .tmail-tooltip .tooltiptext {\n visibility: hidden;\n max-width: 400px;\n background-color: black;\n color: #fff;\n text-align: center;\n border-radius: 6px;\n padding: 5px 8px 5px 8px;\n white-space: nowrap; \n overflow: hidden;\n text-overflow: ellipsis;\n position: absolute;\n z-index: 1;\n }\n .tmail-tooltip:hover .tooltiptext {\n visibility: visible;\n }\n \n </style>\n </head>\n <body " + t1 + ' style = "overflow-x: hidden">\n <div class="tmail-content">' + t2 + "</div>\n " + (" <script type=\"text/javascript\">\n window.parent.addEventListener('message', handleMessage, false);\n window.addEventListener('click', handleOnClickLink, true);\n window.addEventListener('load', handleOnLoad);\n window.addEventListener('pagehide', (event) => {\n window.parent.removeEventListener('message', handleMessage, false);\n });\n \n function handleMessage(e) {\n if (e && e.data && e.data.includes(\"toIframe:\")) {\n var data = JSON.parse(e.data);\n if (data[\"view\"].includes(\"" + t3 + '")) {\n if (data["type"].includes("getHeight")) {\n var height = document.body.scrollHeight;\n window.parent.postMessage(JSON.stringify({"view": "' + t3 + '", "type": "toDart: htmlHeight", "height": height}), "*");\n }\n if (data["type"].includes("getWidth")) {\n var width = document.body.scrollWidth;\n window.parent.postMessage(JSON.stringify({"view": "' + t3 + '", "type": "toDart: htmlWidth", "width": width}), "*");\n }\n if (data["type"].includes("execCommand")) {\n if (data["argument"] === null) {\n document.execCommand(data["command"], false);\n } else {\n document.execCommand(data["command"], false, data["argument"]);\n }\n }\n }\n }\n }\n \n function handleOnClickLink(e) {\n let link = e.target;\n let textContent = e.target.textContent;\n if (link && isValidMailtoLink(link)) {\n window.parent.postMessage(JSON.stringify({"view": "' + t3 + '", "type": "toDart: OpenLink", "url": "" + link}), "*");\n e.preventDefault();\n } else if (textContent && isValidMailtoLink(textContent)) {\n window.parent.postMessage(JSON.stringify({"view": "' + t3 + '", "type": "toDart: OpenLink", "url": "" + textContent}), "*");\n e.preventDefault();\n }\n }\n \n function isValidMailtoLink(string) {\n let url;\n \n try {\n url = new URL(string);\n } catch (_) {\n return false; \n }\n \n return url.protocol === "mailto:";\n }\n\n function handleOnLoad() {\n window.parent.postMessage(JSON.stringify({"view": "' + t3 + '", "message": "iframeHasBeenLoaded"}), "*");\n window.parent.postMessage(JSON.stringify({"view": "' + t3 + '", "type": "toIframe: getHeight"}), "*");\n window.parent.postMessage(JSON.stringify({"view": "' + t3 + "\", \"type\": \"toIframe: getWidth\"}), \"*\");\n }\n </script>\n <script type=\"text/javascript\">\n document.addEventListener('wheel', function(e) {\n e.ctrlKey && e.preventDefault();\n }, {\n passive: false,\n });\n window.addEventListener('keydown', function(e) {\n if (event.metaKey || event.ctrlKey) {\n switch (event.key) {\n case '=':\n case '-':\n event.preventDefault();\n break;\n }\n }\n });\n </script>\n <script>\n const lazyImages = document.querySelectorAll('[lazy]');\n const lazyImageObserver = new IntersectionObserver((entries, observer) => {\n entries.forEach((entry) => {\n if (entry.isIntersecting) {\n const lazyImage = entry.target;\n const src = lazyImage.dataset.src;\n lazyImage.tagName.toLowerCase() === 'img'\n ? lazyImage.src = src\n : lazyImage.style.backgroundImage = \"url('\" + src + \"')\";\n lazyImage.removeAttribute('lazy');\n observer.unobserve(lazyImage);\n }\n });\n });\n \n lazyImages.forEach((lazyImage) => {\n lazyImageObserver.observe(lazyImage);\n });\n </script>\n ") + "\n </body>\n </html> \n ";
t1 = document.createElement("iframe");
t1.toString;
t2 = _this.___HtmlContentViewerOnWebState__actualWidth_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t1.width = C.JSNumber_methods.toString$0(t2);
t2 = _this.___HtmlContentViewerOnWebState__actualHeight_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t1.height = C.JSNumber_methods.toString$0(t2);
t2 = _this._htmlData;
t1.srcdoc = t2 == null ? "" : t2;
t2 = t1.style;
t2.border = "none";
t2 = t1.style;
t2.overflow = "hidden";
t2 = t1.style;
t2.width = "100%";
t2 = t1.style;
t2.height = "100%";
$.$get$platformViewRegistry();
t2 = _this.___HtmlContentViewerOnWebState__createdViewId_A;
$.$get$PlatformViewManager_instance().registerFactory$3$isVisible(t2, new B._HtmlContentViewerOnWebState__setUpWeb_closure(t1), true);
if (_this._framework$_element != null)
_this.setState$1(new B._HtmlContentViewerOnWebState__setUpWeb_closure0(_this));
},
build$1(context) {
return new A.LayoutBuilder(new B._HtmlContentViewerOnWebState_build_closure(this), null);
},
dispose$0() {
this._htmlData = null;
var t1 = this.___HtmlContentViewerOnWebState_sizeListener_F;
t1 === $ && A.throwUnnamedLateFieldNI();
t1.cancel$0(0);
this.super$State$dispose();
}
};
B.PopupMenuItemWidget.prototype = {
build$1(context) {
var _null = null,
t1 = A._setArrayType([A.SvgPicture$asset(this.icon, C.Alignment_0_0, A.ColorNullableExtension_asFilter(_null), C.BoxFit_0, 20, _null, 20), C.SizedBox_12_null_null_null, A.Expanded$(A.Text$(this.name, _null, _null, _null, _null, _null, _null, _null, _null, D.TextStyle_oHY11, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget);
return A.InkWell$(false, _null, true, new A.Padding(D.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.PopupMenuItemWidget_build_closure(this), _null, _null, _null, _null, _null, _null, _null);
}
};
B._ElevatedButtonWithIcon.prototype = {
defaultStyleOf$1(context) {
var t1, scaledPadding;
A.Theme_of(context);
t1 = A.MediaQuery__maybeOf(context, C._MediaQueryAspect_4);
t1 = t1 == null ? null : t1.get$textScaler();
scaledPadding = A.ButtonStyleButton_scaledPadding(C.EdgeInsetsDirectional_16_0_24_0, D.EdgeInsetsDirectional_8_0_12_0, D.EdgeInsetsDirectional_4_0_6_0, (t1 == null ? C._LinearTextScaler_1 : t1).get$textScaleFactor());
return this.super$ElevatedButton$defaultStyleOf(context).copyWith$1$padding(new A.MaterialStatePropertyAll(scaledPadding, type$.MaterialStatePropertyAll_EdgeInsetsGeometry));
}
};
B._ElevatedButtonWithIconChild.prototype = {
build$1(context) {
var scale, gap, _null = null,
t1 = A.MediaQuery__maybeOf(context, C._MediaQueryAspect_4);
t1 = t1 == null ? _null : t1.get$textScaler();
scale = (t1 == null ? C._LinearTextScaler_1 : t1).get$textScaleFactor();
if (scale <= 1)
gap = 8;
else {
t1 = A.lerpDouble(8, 4, Math.min(scale - 1, 1));
t1.toString;
gap = t1;
}
return A.Row$(A._setArrayType([this.icon, new A.SizedBox(gap, _null, _null, _null), new A.Flexible(1, C.FlexFit_1, this.label, _null)], type$.JSArray_Widget), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_0, _null);
}
};
B.PopupMenuDivider.prototype = {
createState$0() {
return new B._PopupMenuDividerState(C._StateLifecycle_0);
}
};
B._PopupMenuDividerState.prototype = {
build$1(context) {
this._widget.toString;
return A.Divider$(null, null, 0.5, null);
}
};
B.Portal.prototype = {
createState$0() {
return new B._PortalState(new B.PortalLink(A.LinkedHashSet_LinkedHashSet$_empty(type$.PortalLinkOverlay)), C._StateLifecycle_0);
}
};
B._PortalState.prototype = {
build$1(context) {
var _null = null,
t1 = this._portal$_portalLink;
return new B.PortalLinkScope(_null, t1, C.List__PortalMainLabel, new B.PortalTheater(_null, t1, this._widget.child, _null), _null);
}
};
B.PortalLink.prototype = {
get$constraints() {
var t1 = this.theater;
return t1 == null ? null : type$.BoxConstraints._as(A.RenderObject.prototype.get$constraints.call(t1));
},
toString$0(_) {
return "PortalLink#" + A.shortHash(this);
}
};
B.PortalLinkScope.prototype = {
updateShouldNotify$1(oldWidget) {
return oldWidget.portalLink !== this.portalLink || !A.listEquals0(oldWidget.portalLabels, this.portalLabels);
},
linkEquals$1(other) {
return this.portalLink === other.portalLink;
}
};
B.PortalTheater.prototype = {
createRenderObject$1(context) {
var t1 = new B.RenderPortalTheater(this.debugName, this._portal_theater$_portalLink, null, A.LayerHandle$(type$.ContainerLayer));
t1.RenderObject$0();
t1.set$child(null);
return t1._portal_theater$_portalLink.theater = t1;
},
updateRenderObject$2(context, renderObject) {
var t1, t2;
renderObject.debugName = this.debugName;
t1 = this._portal_theater$_portalLink;
t2 = renderObject._portal_theater$_portalLink;
if (t2 !== t1) {
t2.theater = null;
renderObject._portal_theater$_portalLink = t1;
t1.theater = renderObject;
}
}
};
B.RenderPortalTheater.prototype = {
markNeedsLayout$0() {
var t1, t2, t3;
for (t1 = this._portal_theater$_portalLink.overlays, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
t3 = t1._collection$_current;
(t3 == null ? t2._as(t3) : t3).overlay.markNeedsLayout$0();
}
this.super$RenderBox$markNeedsLayout();
},
paint$2(context, offset) {
var i;
this.super$RenderProxyBoxMixin$paint(context, offset);
for (i = this._portal_theater$_portalLink.overlays._collection$_length - 1; i >= 0; --i)
context.paintChild$2(this._portal_theater$_portalLink.overlays.elementAt$1(0, i).overlay, offset);
},
hitTestChildren$2$position(result, position) {
var t1, t2, t3;
for (t1 = this._portal_theater$_portalLink.overlays, t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications, A._instanceType(t1)._precomputed1), t2 = t1.$ti._precomputed1; t1.moveNext$0();) {
t3 = t1._collection$_current;
if ((t3 == null ? t2._as(t3) : t3).overlay.hitTest$2$position(result, position))
return true;
}
return this.super$RenderProxyBoxMixin$hitTestChildren(result, position);
}
};
B.PopupMenuWidgetMixin.prototype = {
popupItem$5$colorIcon$onCallbackAction$styleName(iconAction, nameAction, colorIcon, onCallbackAction, styleName) {
var _null = null,
t1 = A.SvgPicture$asset(iconAction, C.Alignment_0_0, A.ColorNullableExtension_asFilter(colorIcon), C.BoxFit_0, 20, _null, 20);
return A.InkWell$(false, _null, true, new A.Padding(D.EdgeInsets_20_16_20_16, new A.SizedBox(_null, _null, A.Row$(A._setArrayType([t1, C.SizedBox_12_null_null_null, A.Expanded$(A.Text$(nameAction, _null, _null, _null, _null, _null, _null, _null, _null, styleName, _null, _null, _null, _null, _null), 1)], type$.JSArray_Widget), 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, onCallbackAction, _null, _null, _null, _null, _null, _null, _null);
}
};
B.MaterialTextButton.prototype = {
build$1(context) {
var t3, t4, _this = this, _null = null,
t1 = A.BorderRadius$circular(_this.borderRadius),
t2 = _this.padding;
if (t2 == null)
t2 = D.EdgeInsets_8_5_8_5;
t3 = _this.customStyle;
if (t3 == null) {
t3 = _this.labelColor;
if (t3 == null)
t3 = C.Color_4278221567;
t4 = _this.labelWeight;
if (t4 == null)
t4 = C.FontWeight_3_400;
t4 = A.TextStyle$(_null, _null, t3, _null, _null, _null, _null, _null, _null, _null, _null, _this.labelSize, _null, _null, t4, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null);
t3 = t4;
}
return A.Material$(C.Duration_200000, true, _null, A.InkWell$(false, _null, true, new A.Padding(t2, A.Text$(_this.label, _null, _null, _null, _this.overflow, _null, _null, _this.softWrap, _null, t3, _null, _null, _null, _null, _null), _null), new A.RoundedRectangleBorder(t1, C.BorderSide_8xm), true, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _this.onLongPress, _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.UserInformationWidget.prototype = {
build$1(context) {
var t2, t3, t4, t5, _this = this, _null = null,
t1 = _this.padding;
if (t1 == null)
t1 = D.EdgeInsetsDirectional_16_16_4_16;
t2 = new A.AvatarBuilder();
t3 = _this.userProfile;
t4 = t3 != null;
t2._avatar_builder$_text = t4 ? t3.email[0].toUpperCase() : "";
t2._bgColor = C.Color_4294967295;
t2._textColor = C.Color_4278190080;
t2._boxShadows = A._setArrayType([D.BoxShadow_oyn], type$.JSArray_BoxShadow);
t2._avatar_builder$_size = 48;
t2 = t2.build$0();
if (t4)
t3 = A.S(t3.email);
else
t3 = "";
t4 = type$.JSArray_Widget;
t3 = A._setArrayType([A.TextOverflowBuilder$(t3, D.TextStyle_oHY7)], t4);
if (_this.subtitle != null) {
t5 = A.Matrix4_Matrix4$translationValues(-8, 0, 0);
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t3.push(new A.Padding(D.EdgeInsetsDirectional_0_10_0_0, A.Transform$(_null, B.MaterialTextButton$(20, E.TextStyle_kmC0, A.Intl__message("Manage account", _null, "manage_account", _null, _null), _null, 15, _null, _null, _this.onSubtitleClick, _null, C.EdgeInsetsDirectional_8_8_8_8, _null), _null, t5, true), _null));
}
return A.Container$(_null, A.Row$(A._setArrayType([t2, C.SizedBox_16_null_null_null, A.Expanded$(A.Column$(t3, C.CrossAxisAlignment_0, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1), 1), C.SizedBox_16_null_null_null], t4), C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null), C.Clip_0, _null, _null, new A.BoxDecoration(_null, _null, _this.border, _null, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _null, t1, _null, _null, _null);
}
};
B.UserSettingPopupMenuMixin.prototype = {
popupMenuUserSettingActionTile$4$onLogoutAction$onSettingAction(context, userProfile, onLogoutAction, onSettingAction) {
var _null = null,
t1 = type$.dynamic,
t2 = type$.JSArray_PopupMenuEntry_dynamic,
t3 = A._setArrayType([A.PopupMenuItem$(this._userInformation$2(context, userProfile), false, 48, _null, C.EdgeInsets_0_0_0_0, _null, t1)], t2);
if (onSettingAction != null)
C.JSArray_methods.addAll$1(t3, A._setArrayType([D.PopupMenuDivider_null, A.PopupMenuItem$(this._settingAction$2(context, onSettingAction), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, t1), D.PopupMenuDivider_null], t2));
C.JSArray_methods.addAll$1(t3, A._setArrayType([D.PopupMenuDivider_null, A.PopupMenuItem$(this._logoutAction$2(context, onLogoutAction), true, 48, _null, C.EdgeInsets_0_0_0_0, _null, t1)], t2));
return t3;
},
popupMenuUserSettingActionTile$3$onLogoutAction(context, userProfile, onLogoutAction) {
return this.popupMenuUserSettingActionTile$4$onLogoutAction$onSettingAction(context, userProfile, onLogoutAction, null);
},
_userInformation$2(context, userProfile) {
var _null = null;
if (userProfile != null)
return new A.SizedBox(300, _null, A.ListTile$(C.EdgeInsets_20_0_20_0, _null, _null, _null, A.Text$(userProfile.email, _null, _null, 1, _null, _null, _null, _null, _null, C.TextStyle_chs3, _null, _null, _null, _null, _null), _null), _null);
return C.SizedBox_0_0_null_null;
},
_settingAction$2(context, onCallBack) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return B.PopupMenuItemWidget$("assets/images/ic_setting.svg", A.Intl__message("Manage account", null, "manage_account", null, null), new B.UserSettingPopupMenuMixin__settingAction_closure(onCallBack));
},
_logoutAction$2(context, onCallBack) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
return B.PopupMenuItemWidget$("assets/images/ic_logout.svg", A.Intl__message("Sign out", null, "sign_out", null, null), new B.UserSettingPopupMenuMixin__logoutAction_closure(onCallBack));
}
};
B.VacationNotificationMessageWidget.prototype = {
build$1(context) {
var t2, t3, t4, t5, t6, t7, t8, _this = this, _null = null,
t1 = _this.padding;
if (t1 == null)
t1 = C.EdgeInsetsDirectional_12_0_0_0;
t2 = A.BorderRadius$circular(8);
$.$get$Get();
t3 = $.GetInstance__getInstance;
if (t3 == null)
t3 = $.GetInstance__getInstance = C.C_GetInstance;
t3 = t3.find$1$1$tag(0, _null, type$.ResponsiveUtils);
t4 = _this._buildBodyForMobile$1(context);
t5 = _this.fromAccountDashBoard;
t6 = t5 ? _this._buildBodyForDesktop$1(context) : _this._buildBodyForMobile$1(context);
t5 = t5 ? _this._buildBodyForDesktop$1(context) : _this._buildBodyForMobile$1(context);
t7 = _this._buildBodyForDesktop$1(context);
t8 = _this._buildBodyForDesktop$1(context);
return A.Container$(_null, A.ResponsiveWidget$(t7, _this._buildBodyForDesktop$1(context), t5, t4, t3, t8, t6), C.Clip_0, _null, _null, new A.BoxDecoration(D.Color_4294964674, _null, _null, t2, _null, _null, _null, C.BoxShape_0), _null, _null, _null, _this.margin, t1, _null, _null, 1 / 0);
},
_buildBodyForDesktop$1(context) {
var _this = this, _null = null,
t1 = A._setArrayType([], type$.JSArray_Widget),
t2 = _this.leadingIcon;
if (t2 != null)
t1.push(t2);
t2 = B.VacationResponseExtension_getNotificationMessage(_this.vacationResponse, context);
t1.push(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, 16, _null, _null, C.FontWeight_3_400, _null, _null, true, _null, _null, _null, _null, _null, _null, _null, _null), _null, _null, _null, _null, _null), 1));
if (_this.actionEndNow != null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1.push(A.buildTextButton(A.Intl__message("End now", _null, "endNow", _null, _null), C.Color_0, 44, new B.VacationNotificationMessageWidget__buildBodyForDesktop_closure(_this), 10, C.TextStyle_yzp2, 90));
}
if (_this.actionGotoVacationSetting != null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t1.push(A.buildTextButton(A.Intl__message("Vacation setting", _null, "vacationSetting", _null, _null), C.Color_0, 44, new B.VacationNotificationMessageWidget__buildBodyForDesktop_closure0(_this), 10, C.TextStyle_yzp2, 150));
}
return A.Row$(t1, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
},
_buildBodyForMobile$1(context) {
var _this = this, _null = null,
t1 = type$.JSArray_Widget,
t2 = A._setArrayType([], t1),
t3 = _this.leadingIcon;
if (t3 != null)
t2.push(t3);
t3 = B.VacationResponseExtension_getNotificationMessage(_this.vacationResponse, context);
t2.push(A.Expanded$(new A.Padding(D.EdgeInsets_0_12_12_0, A.Center$(A.Text$(t3, _null, _null, _null, _null, _null, _null, _null, _null, 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), _null, _null, _null, _null, _null), _null, _null), _null), 1));
t2 = A.Row$(t2, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null);
t3 = A._setArrayType([C.Spacer_null], t1);
if (_this.actionEndNow != null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t3.push(A.buildTextButton(A.Intl__message("End now", _null, "endNow", _null, _null), C.Color_0, 36, new B.VacationNotificationMessageWidget__buildBodyForMobile_closure(_this), 10, C.TextStyle_yzp2, 90));
}
if (_this.actionGotoVacationSetting != null) {
A.Localizations_of(context, C.Type_AppLocalizations_swi, type$.AppLocalizations).toString;
t3.push(A.buildTextButton(A.Intl__message("Vacation setting", _null, "vacationSetting", _null, _null), C.Color_0, 36, new B.VacationNotificationMessageWidget__buildBodyForMobile_closure0(_this), 10, C.TextStyle_yzp2, 150));
}
t3.push(C.Spacer_null);
return A.Column$(A._setArrayType([t2, A.Row$(t3, C.CrossAxisAlignment_2, _null, C.MainAxisAlignment_0, C.MainAxisSize_1, _null)], t1), C.CrossAxisAlignment_2, C.MainAxisAlignment_0, C.MainAxisSize_1, C.VerticalDirection_1);
}
};
var typesOffset = hunkHelpers.updateTypes(["bool(PortalLinkScope)"]);
B._HtmlContentViewerOnWebState_initState_closure.prototype = {
call$1($event) {
var docHeight, scrollHeightWithBuffer, docWidth, link, _s4_ = "type",
data = C.C_JsonCodec.decode$1(0, new A._AcceptStructuredCloneDart2Js([], []).convertNativeToDart_AcceptStructuredClone$2$mustCopy($event.data, true)),
t1 = J.getInterceptor$asx(data),
t2 = t1.$index(data, "view"),
t3 = this.$this,
t4 = t3.___HtmlContentViewerOnWebState__createdViewId_A;
t4 === $ && A.throwUnnamedLateFieldNI();
if (!J.$eq$(t2, t4))
return;
if (J.$eq$(t1.$index(data, "message"), "iframeHasBeenLoaded"))
t3._iframeLoaded = true;
if (!t3._iframeLoaded)
return;
if (t1.$index(data, _s4_) != null && J.contains$1$asx(t1.$index(data, _s4_), "toDart: htmlHeight")) {
docHeight = t1.$index(data, "height");
if (docHeight == null) {
t2 = t3.___HtmlContentViewerOnWebState__actualHeight_A;
t2 === $ && A.throwUnnamedLateFieldNI();
docHeight = t2;
}
t2 = t3._framework$_element;
if (t2 != null) {
scrollHeightWithBuffer = J.$add$ansx(docHeight, 30);
if (J.$gt$n(scrollHeightWithBuffer, t3.minHeight))
t3.setState$1(new B._HtmlContentViewerOnWebState_initState__closure(t3, scrollHeightWithBuffer));
}
if (t3._framework$_element != null && t3._html_content_viewer_on_web_widget$_isLoading)
t3.setState$1(new B._HtmlContentViewerOnWebState_initState__closure0(t3));
}
if (t1.$index(data, _s4_) != null && J.contains$1$asx(t1.$index(data, _s4_), "toDart: htmlWidth")) {
docWidth = t1.$index(data, "width");
if (docWidth == null) {
t2 = t3.___HtmlContentViewerOnWebState__actualWidth_A;
t2 === $ && A.throwUnnamedLateFieldNI();
docWidth = t2;
}
t2 = t3._framework$_element;
if (t2 != null)
if (J.$gt$n(docWidth, 300) && t3._widget.allowResizeToDocumentSize)
t3.setState$1(new B._HtmlContentViewerOnWebState_initState__closure1(t3, docWidth));
}
if (t1.$index(data, _s4_) != null && J.contains$1$asx(t1.$index(data, _s4_), "toDart: OpenLink")) {
link = t1.$index(data, "url");
if (link != null && t3._framework$_element != null) {
A._asString(link);
if (C.JSString_methods.startsWith$1(link, "mailto:")) {
t1 = t3._widget.mailtoDelegate;
if (t1 != null)
t1.call$1(A.Uri_parse(link, 0, null));
}
}
}
},
$signature: 184
};
B._HtmlContentViewerOnWebState_initState__closure.prototype = {
call$0() {
var t1 = this.$this;
t1.___HtmlContentViewerOnWebState__actualHeight_A = this.scrollHeightWithBuffer;
t1._html_content_viewer_on_web_widget$_isLoading = false;
},
$signature: 0
};
B._HtmlContentViewerOnWebState_initState__closure0.prototype = {
call$0() {
this.$this._html_content_viewer_on_web_widget$_isLoading = false;
},
$signature: 0
};
B._HtmlContentViewerOnWebState_initState__closure1.prototype = {
call$0() {
this.$this.___HtmlContentViewerOnWebState__actualWidth_A = this.docWidth;
},
$signature: 0
};
B._HtmlContentViewerOnWebState__setUpWeb_closure.prototype = {
call$1(viewId) {
return this.iframe;
},
$signature: 601
};
B._HtmlContentViewerOnWebState__setUpWeb_closure0.prototype = {
call$0() {
this.$this._webInit = A.Future_Future$value(true, type$.bool);
},
$signature: 0
};
B._HtmlContentViewerOnWebState_build_closure.prototype = {
call$2(context, constraint) {
var t2, t3,
t1 = this.$this;
t1.minHeight = Math.max(constraint.maxHeight, t1.minHeight);
t2 = A._setArrayType([], type$.JSArray_Widget);
t3 = t1._htmlData;
if ((t3 == null ? null : t3.length !== 0) === false)
t2.push(C.SizedBox_0_0_null_null);
else
t2.push(A.FutureBuilder$(new B._HtmlContentViewerOnWebState_build__closure(t1), t1._webInit, type$.bool));
if (t1._html_content_viewer_on_web_widget$_isLoading)
t2.push(D.Align_Ktb);
return new A.Stack(C.AlignmentDirectional_m1_m1, null, C.StackFit_0, C.Clip_1, t2, null);
},
$signature: 477
};
B._HtmlContentViewerOnWebState_build__closure.prototype = {
call$2(context, snapshot) {
var t1, t2, t3, t4;
if (snapshot.data != null) {
t1 = this.$this;
t2 = t1.___HtmlContentViewerOnWebState__actualHeight_A;
t2 === $ && A.throwUnnamedLateFieldNI();
t3 = t1.___HtmlContentViewerOnWebState__actualWidth_A;
t3 === $ && A.throwUnnamedLateFieldNI();
t4 = t1._htmlData;
t1 = t1.___HtmlContentViewerOnWebState__createdViewId_A;
t1 === $ && A.throwUnnamedLateFieldNI();
return new A.SizedBox(t3, t2, A.HtmlElementView$(new A.ValueKey(t4, type$.ValueKey_nullable_String), t1), null);
} else
return C.SizedBox_0_0_null_null;
},
$signature: 1691
};
B.PopupMenuItemWidget_build_closure.prototype = {
call$0() {
return this.$this.onTapCallback.call$0();
},
$signature: 0
};
B.UserSettingPopupMenuMixin__settingAction_closure.prototype = {
call$0() {
var t1 = this.onCallBack.call$0();
return t1;
},
$signature: 83
};
B.UserSettingPopupMenuMixin__logoutAction_closure.prototype = {
call$0() {
var t1 = this.onCallBack.call$0();
return t1;
},
$signature: 83
};
B.VacationNotificationMessageWidget__buildBodyForDesktop_closure.prototype = {
call$0() {
return this.$this.actionEndNow.call$0();
},
$signature: 0
};
B.VacationNotificationMessageWidget__buildBodyForDesktop_closure0.prototype = {
call$0() {
return this.$this.actionGotoVacationSetting.call$0();
},
$signature: 0
};
B.VacationNotificationMessageWidget__buildBodyForMobile_closure.prototype = {
call$0() {
return this.$this.actionEndNow.call$0();
},
$signature: 0
};
B.VacationNotificationMessageWidget__buildBodyForMobile_closure0.prototype = {
call$0() {
return this.$this.actionGotoVacationSetting.call$0();
},
$signature: 0
};
(function installTearOffs() {
var _instance_1_u = hunkHelpers._instance_1u;
_instance_1_u(B.PortalLinkScope.prototype, "get$linkEquals", "linkEquals$1", 0);
})();
(function inheritance() {
var _inheritMany = hunkHelpers.inheritMany,
_inherit = hunkHelpers.inherit;
_inheritMany(A.StatefulWidget, [B.HtmlContentViewerOnWeb, B.Portal]);
_inheritMany(A.State0, [B._HtmlContentViewerOnWebState, B._PopupMenuDividerState, B._PortalState]);
_inheritMany(A.Closure, [B._HtmlContentViewerOnWebState_initState_closure, B._HtmlContentViewerOnWebState__setUpWeb_closure]);
_inheritMany(A.Closure0Args, [B._HtmlContentViewerOnWebState_initState__closure, B._HtmlContentViewerOnWebState_initState__closure0, B._HtmlContentViewerOnWebState_initState__closure1, B._HtmlContentViewerOnWebState__setUpWeb_closure0, B.PopupMenuItemWidget_build_closure, B.UserSettingPopupMenuMixin__settingAction_closure, B.UserSettingPopupMenuMixin__logoutAction_closure, B.VacationNotificationMessageWidget__buildBodyForDesktop_closure, B.VacationNotificationMessageWidget__buildBodyForDesktop_closure0, B.VacationNotificationMessageWidget__buildBodyForMobile_closure, B.VacationNotificationMessageWidget__buildBodyForMobile_closure0]);
_inheritMany(A.Closure2Args, [B._HtmlContentViewerOnWebState_build_closure, B._HtmlContentViewerOnWebState_build__closure]);
_inheritMany(A.StatelessWidget, [B.PopupMenuItemWidget, B._ElevatedButtonWithIconChild, B.MaterialTextButton, B.UserInformationWidget, B.VacationNotificationMessageWidget]);
_inherit(B._ElevatedButtonWithIcon, A.ElevatedButton);
_inherit(B.PopupMenuDivider, A.PopupMenuEntry);
_inheritMany(A.Object, [B.PortalLink, B.PopupMenuWidgetMixin, B.UserSettingPopupMenuMixin]);
_inherit(B.PortalLinkScope, A.InheritedWidget);
_inherit(B.PortalTheater, A.SingleChildRenderObjectWidget);
_inherit(B.RenderPortalTheater, A.RenderProxyBox);
})();
A._Universe_addRules(init.typeUniverse, JSON.parse('{"HtmlContentViewerOnWeb":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_HtmlContentViewerOnWebState":{"State0":["HtmlContentViewerOnWeb"]},"PopupMenuItemWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"_ElevatedButtonWithIcon":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_ElevatedButtonWithIconChild":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"PopupMenuDivider":{"PopupMenuEntry":["0&"],"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_PopupMenuDividerState":{"State0":["PopupMenuDivider"]},"Portal":{"StatefulWidget":[],"Widget":[],"DiagnosticableTree":[]},"_PortalState":{"State0":["Portal"]},"PortalLinkScope":{"InheritedWidget":[],"ProxyWidget":[],"Widget":[],"DiagnosticableTree":[]},"PortalTheater":{"SingleChildRenderObjectWidget":[],"RenderObjectWidget":[],"Widget":[],"DiagnosticableTree":[]},"RenderPortalTheater":{"RenderBox":[],"RenderObjectWithChildMixin":["RenderBox"],"RenderObject":[],"DiagnosticableTree":[],"HitTestTarget":[]},"MaterialTextButton":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"UserInformationWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]},"VacationNotificationMessageWidget":{"StatelessWidget":[],"Widget":[],"DiagnosticableTree":[]}}'));
var type$ = (function rtii() {
var findType = A.findType;
return {
AppLocalizations: findType("AppLocalizations"),
BoxConstraints: findType("BoxConstraints"),
ContainerLayer: findType("ContainerLayer0"),
JSArray_BoxShadow: findType("JSArray<BoxShadow>"),
JSArray_Object: findType("JSArray<Object>"),
JSArray_PopupMenuEntry_dynamic: findType("JSArray<PopupMenuEntry<@>>"),
JSArray_Widget: findType("JSArray<Widget>"),
MaterialStatePropertyAll_EdgeInsetsGeometry: findType("MaterialStatePropertyAll<EdgeInsetsGeometry>"),
MessageEvent: findType("MessageEvent"),
PortalLinkOverlay: findType("PortalLinkOverlay"),
ResponsiveUtils: findType("ResponsiveUtils0"),
ValueKey_nullable_String: findType("ValueKey<String?>"),
_LocalizationsScope: findType("_LocalizationsScope"),
bool: findType("bool"),
dynamic: findType("@"),
int: findType("int")
};
})();
(function constants() {
D.SizedBox_VEQ0 = new A.SizedBox(30, 30, C.CupertinoActivityIndicator_Color_697934509_null, null);
D.Padding_kr3 = new A.Padding(C.EdgeInsets_16_16_16_16, D.SizedBox_VEQ0, null);
D.Align_Ktb = new A.Align(C.Alignment_0_m1, null, null, D.Padding_kr3, null);
D.Alignment_1_1 = new A.Alignment(1, 1);
D.Aligned_HRf = new A.Aligned(1, null, C.Alignment_1_m1, D.Alignment_1_1, C.Alignment_0_0, C.C_AxisFlag, C.C_AxisFlag, C.Offset_0_0, null);
D.Aligned_2Lz = new A.Aligned(1, null, C.Alignment_1_m1, D.Alignment_1_1, C.Alignment_0_0, C.C_AxisFlag, C.C_AxisFlag, C.Offset_0_0, D.Aligned_HRf);
D.Color_4294914887 = new A.Color(4294914887);
D.Color_4294964674 = new A.Color(4294964674);
D.Offset_chs1 = new A.Offset(0, 0.5);
D.BoxShadow_oyn = new A.BoxShadow(1, C.BlurStyle_0, C.Color_335544320, D.Offset_chs1, 1);
D.Color_1555612108 = new A.Color(1555612108);
D.EdgeInsetsDirectional_0_10_0_0 = new A.EdgeInsetsDirectional(0, 10, 0, 0);
D.EdgeInsetsDirectional_0_24_0_24 = new A.EdgeInsetsDirectional(0, 24, 0, 24);
D.EdgeInsetsDirectional_0_8_0_8 = new A.EdgeInsetsDirectional(0, 8, 0, 8);
D.EdgeInsetsDirectional_12_0_16_0 = new A.EdgeInsetsDirectional(12, 0, 16, 0);
D.EdgeInsetsDirectional_16_0_0_0 = new A.EdgeInsetsDirectional(16, 0, 0, 0);
D.EdgeInsetsDirectional_16_16_4_16 = new A.EdgeInsetsDirectional(16, 16, 4, 16);
D.EdgeInsetsDirectional_4_0_6_0 = new A.EdgeInsetsDirectional(4, 0, 6, 0);
D.EdgeInsetsDirectional_8_0_12_0 = new A.EdgeInsetsDirectional(8, 0, 12, 0);
D.EdgeInsetsDirectional_8_0_4_0 = new A.EdgeInsetsDirectional(8, 0, 4, 0);
D.EdgeInsets_0_0_16_0 = new A.EdgeInsets(0, 0, 16, 0);
D.EdgeInsets_0_12_12_0 = new A.EdgeInsets(0, 12, 12, 0);
D.EdgeInsets_0_4_0_0 = new A.EdgeInsets(0, 4, 0, 0);
D.EdgeInsets_0_4_0_4 = new A.EdgeInsets(0, 4, 0, 4);
D.EdgeInsets_0_5_0_5 = new A.EdgeInsets(0, 5, 0, 5);
D.EdgeInsets_0_6_0_0 = new A.EdgeInsets(0, 6, 0, 0);
D.EdgeInsets_16_12_16_12 = new A.EdgeInsets(16, 12, 16, 12);
D.EdgeInsets_20_16_20_16 = new A.EdgeInsets(20, 16, 20, 16);
D.EdgeInsets_32_0_32_0 = new A.EdgeInsets(32, 0, 32, 0);
D.EdgeInsets_32_12_32_12 = new A.EdgeInsets(32, 12, 32, 12);
D.EdgeInsets_32_16_32_16 = new A.EdgeInsets(32, 16, 32, 16);
D.EdgeInsets_32_8_32_8 = new A.EdgeInsets(32, 8, 32, 8);
D.EdgeInsets_8_12_8_12 = new A.EdgeInsets(8, 12, 8, 12);
D.EdgeInsets_8_5_8_5 = new A.EdgeInsets(8, 5, 8, 5);
D.PageStorageKey_mailbox_list = new A.PageStorageKey("mailbox_list", A.findType("PageStorageKey<String>"));
D.PopupMenuDivider_null = new B.PopupMenuDivider(null);
D.SizedBox_24_null_null_null = new A.SizedBox(24, null, null, null);
D.TextStyle_g3y0 = new A.TextStyle(true, C.Color_4286680217, 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.TextStyle_jjv0 = new A.TextStyle(true, C.Color_4285364357, 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_jjv = new A.TextStyle(true, C.Color_4285364357, 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_oHY11 = new A.TextStyle(true, C.Color_4278190080, 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_oHY7 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 17, C.FontWeight_5_600, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
D.TextStyle_oHY10 = new A.TextStyle(true, C.Color_4278190080, null, null, null, null, 20, C.FontWeight_4_500, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
})();
};
;
((d, h) => {
d[h] = d.current;
d.eventLog.push({p: "main.dart.js_4", e: "endPart", h: h});
})($__dart_deferred_initializers__, "PuvO7gkW0/7Toz3KBZUC+5l9nvs=");
;