chore(js/css): update generated files

This commit is contained in:
InverseBot committed 2021-06-16 00:48:37 -04:00
1 parent a9c6f09273
commit 71a648a7d4
8 files changed
+8 -8

No files matched your search

@@ -1,2 +1,2 @@
!function(){"use strict";function f(){var e,a,o=this;if(this.nextAlarm=null,this.nextInboxPoll=null,this.currentToast=f.$q.when(!0),this.lastUid=null,this.notifications={},this.defaults={},this.settings={Mail:{}},e=f.$document[0].getElementById("UserDefaults")){try{a=angular.fromJson(e.textContent||e.innerHTML)}catch(e){f.$log.error("Can't parse user's defaults: "+e.message),a={}}a.SOGoMailLabelsColorsKeys=[],a.SOGoMailLabelsColorsValues=[],_.forEach(a.SOGoMailLabelsColors,function(e,t){a.SOGoMailLabelsColorsKeys.push(t),a.SOGoMailLabelsColorsValues.push(e),"$"==t.charAt(0)&&(Object.defineProperty(a.SOGoMailLabelsColors,"_"+t,Object.getOwnPropertyDescriptor(a.SOGoMailLabelsColors,t)),delete a.SOGoMailLabelsColors[t])}),_.forEach(a.SOGoSieveFilters,function(e){_.forEach(e.actions,function(e){"addflag"==e.method&&"$"==e.argument.charAt(0)&&(e.argument="_"+e.argument)})}),a.SOGoRememberLastModule&&(a.SOGoLoginModule="Last"),a.SOGoMailAutoSave=parseInt(a.SOGoMailAutoSave)||0,a.SOGoMailComposeWindowEnabled=angular.isDefined(a.SOGoMailComposeWindow),a.SOGoMailComposeFontSizeEnabled=0<parseInt(a.SOGoMailComposeFontSize),window.CKEDITOR&&a.SOGoMailComposeFontSizeEnabled&&(window.CKEDITOR.config.fontSize_defaultLabel=a.SOGoMailComposeFontSize,window.CKEDITOR.addCss(".cke_editable { font-size: "+a.SOGoMailComposeFontSize+"px; }")),_.forEach(a.AuxiliaryMailAccounts,function(e){isNaN(parseInt(e.port))&&(e.port=null)}),a.Vacation?(a.Vacation.startDate?a.Vacation.startDate=new Date(1e3*parseInt(a.Vacation.startDate)):(a.Vacation.startDateEnabled=0,a.Vacation.startDate=new Date,a.Vacation.startDate=a.Vacation.startDate.beginOfDay(),a.Vacation.startDate.addDays(1)),a.Vacation.endDate?a.Vacation.endDate=new Date(1e3*parseInt(a.Vacation.endDate)):(a.Vacation.endDateEnabled=0,a.Vacation.endDate=new Date(a.Vacation.startDate.getTime()),a.Vacation.endDate.addDays(1)),a.Vacation.autoReplyEmailAddresses&&angular.isString(a.Vacation.autoReplyEmailAddresses)&&a.Vacation.autoReplyEmailAddresses.length&&(a.Vacation.autoReplyEmailAddresses=a.Vacation.autoReplyEmailAddresses.split(/, */))):a.Vacation={},(angular.isUndefined(a.Vacation.autoReplyEmailAddresses)||0==a.Vacation.autoReplyEmailAddresses.length)&&angular.isDefined(window.defaultEmailAddresses)&&(a.Vacation.autoReplyEmailAddresses=window.defaultEmailAddresses),angular.isUndefined(a.Vacation.daysBetweenResponse)&&(a.Vacation.daysBetweenResponse=7),angular.isUndefined(a.Vacation.startDate)&&(a.Vacation.startDateEnabled=0,a.Vacation.startDate=new Date),angular.isUndefined(a.Vacation.endDate)&&(a.Vacation.endDateEnabled=0,a.Vacation.endDate=new Date),a.Forward&&(angular.isString(a.Forward.forwardAddress)?a.Forward.forwardAddress=a.Forward.forwardAddress.split(/, */):angular.isArray(a.Forward.forwardAddress)||(a.Forward.forwardAddress=[])),angular.isUndefined(a.SOGoCalendarCategories)&&(a.SOGoCalendarCategories=[]),a.SOGoCalendarCategoriesColorsValues=[],_.forEach(a.SOGoCalendarCategories,function(e){a.SOGoCalendarCategoriesColorsValues.push(a.SOGoCalendarCategoriesColors[e])}),angular.isUndefined(a.SOGoContactsCategories)?a.SOGoContactsCategories=[]:a.SOGoContactsCategories=_.compact(a.SOGoContactsCategories),angular.extend(o.defaults,a),o.$mdDateLocaleProvider=f.$mdDateLocaleProvider,angular.extend(o.$mdDateLocaleProvider,a.locale),angular.extend(o.$mdDateLocaleProvider,{firstDayOfWeek:a.SOGoFirstDayOfWeek,firstWeekOfYear:a.SOGoFirstWeekOfYear}),o.$mdDateLocaleProvider.firstDayOfWeek=parseInt(a.SOGoFirstDayOfWeek),o.$mdDateLocaleProvider.weekNumberFormatter=function(e){return l("Week %d",e)},o.$mdDateLocaleProvider.msgCalendar=l("Calendar"),o.$mdDateLocaleProvider.msgOpenCalendar=l("Open Calendar"),o.$mdDateLocaleProvider.parseDate=function(e){return e?e.parseDate(o.$mdDateLocaleProvider,o.defaults.SOGoShortDateFormat):new Date(NaN)},o.$mdDateLocaleProvider.formatDate=function(e){return e?e.format(o.$mdDateLocaleProvider,e.$dateFormat||o.defaults.SOGoShortDateFormat):""},o.$mdDateLocaleProvider.parseTime=function(e){return e?e.parseDate(o.$mdDateLocaleProvider,o.defaults.SOGoTimeFormat):new Date(NaN)},o.$mdDateLocaleProvider.formatTime=function(e){return e?e.format(o.$mdDateLocaleProvider,o.defaults.SOGoTimeFormat):""},o.$mdDateLocaleProvider.isDateComplete=function(e){e=e.trim();return/^((([a-zA-Z]|[^\x00-\x7F]){2,}|[0-9]{1,4})([ .,]+|[/-])){2}(([a-zA-Z]|[^\x00-\x7F]){3,}|[0-9]{1,4})$/.test(e)}}if(e=f.$document[0].getElementById("UserSettings")){try{a=angular.fromJson(e.textContent||e.innerHTML)}catch(e){f.$log.error("Can't parse user's settings: "+e.message),a={}}a.Calendar&&(a.Calendar.PreventInvitationsWhitelist?a.Calendar.PreventInvitationsWhitelist=_.map(a.Calendar.PreventInvitationsWhitelist,function(e,t){e=/^(.+)\s<(\S+)>$/.exec(e),e=new f.$User({uid:t,cn:e[1],c_email:e[2]});return e.$$image||(e.$$image=o.avatar(e.c_email,32,{no_404:!0})),e}):a.Calendar.PreventInvitationsWhitelist=[]),angular.extend(o.settings,a)}}f.$factory=["$window","$document","$q","$timeout","$log",Line truncated
!function(){"use strict";function m(){var e,t,o=this;if(this.nextAlarm=null,this.nextInboxPoll=null,this.currentToast=m.$q.when(!0),this.lastUid=null,this.notifications={},this.defaults={},this.settings={Mail:{}},e=m.$document[0].getElementById("UserDefaults")){try{t=angular.fromJson(e.textContent||e.innerHTML)}catch(e){m.$log.error("Can't parse user's defaults: "+e.message),t={}}t.SOGoMailLabelsColorsKeys=[],t.SOGoMailLabelsColorsValues=[],_.forEach(t.SOGoMailLabelsColors,function(e,a){t.SOGoMailLabelsColorsKeys.push(a),t.SOGoMailLabelsColorsValues.push(e),"$"==a.charAt(0)&&(Object.defineProperty(t.SOGoMailLabelsColors,"_"+a,Object.getOwnPropertyDescriptor(t.SOGoMailLabelsColors,a)),delete t.SOGoMailLabelsColors[a])}),_.forEach(t.SOGoSieveFilters,function(e){_.forEach(e.actions,function(e){"addflag"==e.method&&"$"==e.argument.charAt(0)&&(e.argument="_"+e.argument)})}),t.SOGoRememberLastModule&&(t.SOGoLoginModule="Last"),t.SOGoMailAutoSave=parseInt(t.SOGoMailAutoSave)||0,t.SOGoMailComposeWindowEnabled=angular.isDefined(t.SOGoMailComposeWindow),t.SOGoMailComposeFontSizeEnabled=0<parseInt(t.SOGoMailComposeFontSize),window.CKEDITOR&&t.SOGoMailComposeFontSizeEnabled&&(window.CKEDITOR.config.fontSize_defaultLabel=t.SOGoMailComposeFontSize,window.CKEDITOR.addCss(".cke_editable { font-size: "+t.SOGoMailComposeFontSize+"px; }")),_.forEach(t.AuxiliaryMailAccounts,function(e){isNaN(parseInt(e.port))&&(e.port=null)}),t.Vacation?(t.Vacation.startDate?t.Vacation.startDate=new Date(1e3*parseInt(t.Vacation.startDate)):(t.Vacation.startDateEnabled=0,t.Vacation.startDate=new Date,t.Vacation.startDate=t.Vacation.startDate.beginOfDay(),t.Vacation.startDate.addDays(1)),t.Vacation.endDate?t.Vacation.endDate=new Date(1e3*parseInt(t.Vacation.endDate)):(t.Vacation.endDateEnabled=0,t.Vacation.endDate=new Date(t.Vacation.startDate.getTime()),t.Vacation.endDate.addDays(1)),t.Vacation.autoReplyEmailAddresses&&angular.isString(t.Vacation.autoReplyEmailAddresses)&&t.Vacation.autoReplyEmailAddresses.length&&(t.Vacation.autoReplyEmailAddresses=t.Vacation.autoReplyEmailAddresses.split(/, */))):t.Vacation={},(angular.isUndefined(t.Vacation.autoReplyEmailAddresses)||0==t.Vacation.autoReplyEmailAddresses.length)&&angular.isDefined(window.defaultEmailAddresses)&&(t.Vacation.autoReplyEmailAddresses=window.defaultEmailAddresses),angular.isUndefined(t.Vacation.daysBetweenResponse)&&(t.Vacation.daysBetweenResponse=7),angular.isUndefined(t.Vacation.startDate)&&(t.Vacation.startDateEnabled=0,t.Vacation.startDate=new Date),angular.isUndefined(t.Vacation.endDate)&&(t.Vacation.endDateEnabled=0,t.Vacation.endDate=new Date),t.Forward&&(angular.isString(t.Forward.forwardAddress)?t.Forward.forwardAddress=t.Forward.forwardAddress.split(/, */):angular.isArray(t.Forward.forwardAddress)||(t.Forward.forwardAddress=[])),angular.isUndefined(t.SOGoCalendarCategories)&&(t.SOGoCalendarCategories=[]),t.SOGoCalendarCategoriesColorsValues=[],_.forEach(t.SOGoCalendarCategories,function(e){t.SOGoCalendarCategoriesColorsValues.push(t.SOGoCalendarCategoriesColors[e])}),angular.isUndefined(t.SOGoContactsCategories)?t.SOGoContactsCategories=[]:t.SOGoContactsCategories=_.compact(t.SOGoContactsCategories),angular.extend(o.defaults,t),o.$mdDateLocaleProvider=m.$mdDateLocaleProvider,angular.extend(o.$mdDateLocaleProvider,t.locale),angular.extend(o.$mdDateLocaleProvider,{firstDayOfWeek:t.SOGoFirstDayOfWeek,firstWeekOfYear:t.SOGoFirstWeekOfYear}),o.$mdDateLocaleProvider.firstDayOfWeek=parseInt(t.SOGoFirstDayOfWeek),o.$mdDateLocaleProvider.weekNumberFormatter=function(e){return l("Week %d",e)},o.$mdDateLocaleProvider.msgCalendar=l("Calendar"),o.$mdDateLocaleProvider.msgOpenCalendar=l("Open Calendar"),o.$mdDateLocaleProvider.parseDate=function(e){return e?e.parseDate(o.$mdDateLocaleProvider,o.defaults.SOGoShortDateFormat):new Date(NaN)},o.$mdDateLocaleProvider.formatDate=function(e){return e?e.format(o.$mdDateLocaleProvider,e.$dateFormat||o.defaults.SOGoShortDateFormat):""},o.$mdDateLocaleProvider.parseTime=function(e){return e?e.parseDate(o.$mdDateLocaleProvider,o.defaults.SOGoTimeFormat):new Date(NaN)},o.$mdDateLocaleProvider.formatTime=function(e){return e?e.format(o.$mdDateLocaleProvider,o.defaults.SOGoTimeFormat):""},o.$mdDateLocaleProvider.isDateComplete=function(e){e=e.trim();return/^((([a-zA-Z]|[^\x00-\x7F]){2,}|[0-9]{1,4})([ .,]+|[/-])){2}(([a-zA-Z]|[^\x00-\x7F]){3,}|[0-9]{1,4})$/.test(e)}}if(e=m.$document[0].getElementById("UserSettings")){try{t=angular.fromJson(e.textContent||e.innerHTML)}catch(e){m.$log.error("Can't parse user's settings: "+e.message),t={}}t.Calendar&&(t.Calendar.PreventInvitationsWhitelist?t.Calendar.PreventInvitationsWhitelist=_.map(t.Calendar.PreventInvitationsWhitelist,function(e,a){e=/^(.+)\s<(\S+)>$/.exec(e),e=new m.$User({uid:a,cn:e[1],c_email:e[2]});return e.$$image||(e.$$image=o.avatar(e.c_email,32,{no_404:!0})),e}):t.Calendar.PreventInvitationsWhitelist=[]),angular.extend(o.settings,t)}}m.$factory=["$window","$document","$q","$timeout","$log",Line truncated
//# sourceMappingURL=Preferences.services.js.map