diff --git a/README.md b/README.md index aeaa4032..d714655f 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,11 @@ rainloop-nextcloud is a plugin for Nextcloud to use the excellent Rainloop webma ## Which branch for which version of Nextcloud? -The nc13 branch corresponds to the working version of the plugin for Nextcloud 10 to Nextcloud 13. -The nc14 branch corresponds to a beta version of the plugin for Nextcloud 14. All the changes of nc14 branch were merged into master when it was deemed suitable for production. -The master branch corresponds to the latest stable version of the plugin. +- The master branch corresponds to the latest stable version of the plugin that is suitable for Nextcloud 19 and upwards. +- The 'up-to-nc18' corresponds to the working version of the plugin for Nextcloud 14 to 18. +- The 'nc14' branch corresponds to a beta version of the plugin for Nextcloud 14. All the changes of 'nc14' branch were merged into master when it was deemed suitable for production. +- The 'nc13' branch corresponds to the working version of the plugin for Nextcloud 10 to Nextcloud 13. + Thank you to all contributors to Rainloop for nextcloud: - Rainloop Team, who initiated it @@ -47,6 +49,10 @@ Each user of Rainloop can also change user-specific behaviors in the Rainloop us Rainloop user settings include management of contacts, of email accounts, of folders, appearance and OpenPGP. +### The specificity of Rainloop user accounts +The plugin passes the login information of the user to the Rainloop app which then creates and manages the user accounts. Accounts in Rainloop are based soley on the authenticated email accounts, and do not take into account the nextcloud user which created them in the first place. If two or more Nextcloud users have the same email account in additional settings, they will in fact share the same 'email account' in Rainloop including any additional email accounts that they may have added subsequently to their main account. +This is to be kept in mind for the use case where multiple users shall have the same email account but may be also tempted to add additionnal acounts to their Rainloop. + ## How to auto-connect to Rainloop? ### Auto-connection for all Nextcloud users @@ -67,4 +73,4 @@ You can activate Rainloop logging here: `/path/to/nextcloud/data/rainloop-storag [logs] enable = On ``` -And then logs are then available in `/path/to/nextcloud/data/rainloop-storage/_data_/_default_/logs/` +Logs are then available in `/path/to/nextcloud/data/rainloop-storage/_data_/_default_/logs/` diff --git a/rainloop/VERSION b/rainloop/VERSION index dfda3e0b..c0f25bae 100755 --- a/rainloop/VERSION +++ b/rainloop/VERSION @@ -1 +1 @@ -6.1.0 +6.1.4 diff --git a/rainloop/admin.php b/rainloop/admin.php new file mode 100755 index 00000000..a01f6bc8 --- /dev/null +++ b/rainloop/admin.php @@ -0,0 +1,22 @@ +assign('rainloop-admin-panel-link', OC_RainLoop_Helper::getAppUrl().'?admin'); +$oTemplate->assign('rainloop-autologin', \OC::$server->getConfig()->getAppValue('rainloop', 'rainloop-autologin', false)); +$oTemplate->assign('rainloop-autologin-with-email', \OC::$server->getConfig()->getAppValue('rainloop', 'rainloop-autologin-with-email', false)); +return $oTemplate->fetchPage(); diff --git a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Base/Utils.php b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Base/Utils.php index 2a8b8ef6..35ee6505 100644 --- a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Base/Utils.php +++ b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Base/Utils.php @@ -700,7 +700,7 @@ public static function DecodeHeaderValue($sEncodedValue, $sIncomingCharset = '', { $iPos = \strpos($aTempArr[1], '?', 2); $aTempArr[0] = \substr($aTempArr[1], 2, $iPos - 2); - $sEncType = \strtoupper($aTempArr[1]{$iPos + 1}); + $sEncType = \strtoupper($aTempArr[1][$iPos + 1]); switch ($sEncType) { case 'Q': @@ -1986,13 +1986,13 @@ public static function Utf7ModifiedToUtf8($sStr) for ($iIndex = 0; $iLen > 0; $iIndex++, $iLen--) { - $sChar = $sStr{$iIndex}; + $sChar = $sStr[$iIndex]; if ($sChar == '&') { $iIndex++; $iLen--; - $sChar = isset($sStr{$iIndex}) ? $sStr{$iIndex} : null; + $sChar = isset($sStr[$iIndex]) ? $sStr[$iIndex] : null; if ($sChar === null) { break; @@ -2008,7 +2008,7 @@ public static function Utf7ModifiedToUtf8($sStr) $iK = 10; for (; $iLen > 0; $iIndex++, $iLen--) { - $sChar = $sStr{$iIndex}; + $sChar = $sStr[$iIndex]; $iB = $aArray[\ord($sChar)]; if ((\ord($sChar) & 0x80) || $iB == -1) @@ -2052,7 +2052,7 @@ public static function Utf7ModifiedToUtf8($sStr) if (($iCh || $iK < 6) || (!$iLen || $sChar != '-') || - ($iLen > 2 && '&' === $sStr{$iIndex+1} && '-' !== $sStr{$iIndex+2})) + ($iLen > 2 && '&' === $sStr[$iIndex+1] && '-' !== $sStr[$iIndex+2])) { return $bError; } @@ -2090,7 +2090,7 @@ public static function Utf8ToUtf7Modified($sStr) while ($sLen) { - $iC = \ord($sStr{$iIndex}); + $iC = \ord($sStr[$iIndex]); if ($iC < 0x80) { $iCh = $iC; @@ -2140,7 +2140,7 @@ public static function Utf8ToUtf7Modified($sStr) for ($iJ = 0; $iJ < $iN; $iJ++) { - $iO = \ord($sStr{$iIndex+$iJ}); + $iO = \ord($sStr[$iIndex+$iJ]); if (($iO & 0xc0) != 0x80) { return $bError; diff --git a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/Email.php b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/Email.php index 9dd393f5..f8f4b0db 100644 --- a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/Email.php +++ b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/Email.php @@ -102,11 +102,11 @@ public static function Parse($sEmailAddress) while ($iCurrentIndex < \strlen($sEmailAddress)) { - switch ($sEmailAddress{$iCurrentIndex}) + switch ($sEmailAddress[$iCurrentIndex]) { // case '\'': case '"': -// $sQuoteChar = $sEmailAddress{$iCurrentIndex}; +// $sQuoteChar = $sEmailAddress[$iCurrentIndex]; if ((!$bInName) && (!$bInAddress) && (!$bInComment)) { $bInName = true; diff --git a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailCollection.php b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailCollection.php index 53e5db39..3ab943af 100644 --- a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailCollection.php +++ b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailCollection.php @@ -156,16 +156,16 @@ private function parseEmailAddresses($sRawEmails) while ($iCurrentPos < $sWorkingRecipientsLen) { - switch ($sWorkingRecipients{$iCurrentPos}) + switch ($sWorkingRecipients[$iCurrentPos]) { case '\'': case '"': if (!$bIsInQuotes) { - $sChQuote = $sWorkingRecipients{$iCurrentPos}; + $sChQuote = $sWorkingRecipients[$iCurrentPos]; $bIsInQuotes = true; } - else if ($sChQuote == $sWorkingRecipients{$iCurrentPos}) + else if ($sChQuote == $sWorkingRecipients[$iCurrentPos]) { $bIsInQuotes = false; } diff --git a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailDep.php b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailDep.php index 64173bed..6dea1c52 100644 --- a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailDep.php +++ b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Mime/EmailDep.php @@ -111,11 +111,11 @@ public static function Parse($sEmailAddress) while ($iCurrentIndex < \strlen($sEmailAddress)) { - switch ($sEmailAddress{$iCurrentIndex}) + switch ($sEmailAddress[$iCurrentIndex]) { // case '\'': case '"': -// $sQuoteChar = $sEmailAddress{$iCurrentIndex}; +// $sQuoteChar = $sEmailAddress[$iCurrentIndex]; if ((!$bInName) && (!$bInAddress) && (!$bInComment)) { $bInName = true; diff --git a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Vendors/Net/IDNA2.php b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Vendors/Net/IDNA2.php index 82068341..c3dc298f 100644 --- a/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Vendors/Net/IDNA2.php +++ b/rainloop/app/rainloop/v/1.14.0/app/libraries/MailSo/Vendors/Net/IDNA2.php @@ -2687,7 +2687,7 @@ private function _decode($encoded) if ($delim_pos > self::_byteLength($this->_punycode_prefix)) { for ($k = self::_byteLength($this->_punycode_prefix); $k < $delim_pos; ++$k) { - $decoded[] = ord($encoded{$k}); + $decoded[] = ord($encoded[$k]); } } else { $decoded = array(); @@ -2704,7 +2704,7 @@ private function _decode($encoded) for ($enco_idx = ($delim_pos)? ($delim_pos + 1) : 0; $enco_idx < $enco_len; ++$deco_len) { for ($old_idx = $idx, $w = 1, $k = $this->_base; 1 ; $k += $this->_base) { - $digit = $this->_decodeDigit($encoded{$enco_idx++}); + $digit = $this->_decodeDigit($encoded[$enco_idx++]); $idx += $digit * $w; $t = ($k <= $bias) ? @@ -3116,7 +3116,7 @@ private function _utf8_to_ucs4($input) $mode = 'next'; $test = 'none'; for ($k = 0; $k < $inp_len; ++$k) { - $v = ord($input{$k}); // Extract byte from input string + $v = ord($input[$k]); // Extract byte from input string if ($v < 128) { // We found an ASCII char - put into stirng as is $output[$out_len] = $v; @@ -3283,7 +3283,7 @@ private function _ucs4_string_to_ucs4($input) $out_len++; $output[$out_len] = 0; } - $output[$out_len] += ord($input{$i}) << (8 * (3 - ($i % 4) ) ); + $output[$out_len] += ord($input[$i]) << (8 * (3 - ($i % 4) ) ); } return $output; } diff --git a/rainloop/app/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php b/rainloop/app/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php index 4af4cdb8..a1b2e209 100644 --- a/rainloop/app/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php +++ b/rainloop/app/rainloop/v/1.14.0/app/libraries/RainLoop/Actions.php @@ -1525,7 +1525,7 @@ public function AppData($bAdmin, $bMobile = false, $bMobileDevice = false, $sAut /* required by Index.html and rl.js: -NewThemeLink IncludeCss LoadingDescriptionEsc TemplatesLink LangLink IncludeBackground PluginsLink AuthAccountHash +NewThemeLink IncludeCss LoadingDescriptionEsc LangLink IncludeBackground PluginsLink AuthAccountHash */ $aResult = array( @@ -9260,7 +9260,7 @@ public function GetThemes($bMobile = false, $bIncludeMobile = true) { while (($sFile = \readdir($rDirH)) !== false) { - if ('.' !== $sFile{0} && \is_dir($sDir.'/'.$sFile) && \file_exists($sDir.'/'.$sFile.'/styles.less')) + if ('.' !== $sFile[0] && \is_dir($sDir.'/'.$sFile) && \file_exists($sDir.'/'.$sFile.'/styles.less')) { if ('Default' === $sFile) { @@ -9288,7 +9288,7 @@ public function GetThemes($bMobile = false, $bIncludeMobile = true) { while (($sFile = \readdir($rDirH)) !== false) { - if ('.' !== $sFile{0} && \is_dir($sDir.'/'.$sFile) && \file_exists($sDir.'/'.$sFile.'/styles.less')) + if ('.' !== $sFile[0] && \is_dir($sDir.'/'.$sFile) && \file_exists($sDir.'/'.$sFile.'/styles.less')) { $sList[] = $sFile.'@custom'; } @@ -9341,7 +9341,7 @@ public function GetLanguages($bAdmin = false) { while (($sFile = \readdir($rDirH)) !== false) { - if ('.' !== $sFile{0} && \is_file($sDir.'/'.$sFile) && '.yml' === \substr($sFile, -4)) + if ('.' !== $sFile[0] && \is_file($sDir.'/'.$sFile) && '.yml' === \substr($sFile, -4)) { $sLang = \substr($sFile, 0, -4); if (0 < \strlen($sLang) && 'always' !== $sLang && '_source.en' !== $sLang) diff --git a/rainloop/app/rainloop/v/1.14.0/app/libraries/lessphp/lessc.inc.php b/rainloop/app/rainloop/v/1.14.0/app/libraries/lessphp/lessc.inc.php index 3a185030..22706e72 100644 --- a/rainloop/app/rainloop/v/1.14.0/app/libraries/lessphp/lessc.inc.php +++ b/rainloop/app/rainloop/v/1.14.0/app/libraries/lessphp/lessc.inc.php @@ -659,7 +659,7 @@ protected function compileProp($prop, $block, $out) { if ($suffix !== null && $subProp[0] == "assign" && is_string($subProp[1]) && - $subProp[1]{0} != $this->vPrefix) + $subProp[1][0] != $this->vPrefix) { $subProp[2] = array( 'list', ' ', @@ -1626,7 +1626,7 @@ protected function injectVariables($args) { $this->pushEnv(); $parser = new lessc_parser($this, __METHOD__); foreach ($args as $name => $strValue) { - if ($name{0} != '@') $name = '@'.$name; + if ($name[0] != '@') $name = '@'.$name; $parser->count = 0; $parser->buffer = (string)$strValue; if (!$parser->propertyValue($value)) { @@ -2284,7 +2284,7 @@ protected function parseChunk() { $hidden = true; if (!isset($block->args)) { foreach ($block->tags as $tag) { - if (!is_string($tag) || $tag{0} != $this->lessc->mPrefix) { + if (!is_string($tag) || $tag[0] != $this->lessc->mPrefix) { $hidden = false; break; } @@ -2338,7 +2338,7 @@ protected function isDirective($dirname, $directives) { protected function fixTags($tags) { // move @ tags out of variable namespace foreach ($tags as &$tag) { - if ($tag{0} == $this->lessc->vPrefix) + if ($tag[0] == $this->lessc->vPrefix) $tag[0] = $this->lessc->mPrefix; } return $tags; @@ -3068,7 +3068,7 @@ protected function keyword(&$word) { protected function end() { if ($this->literal(';')) { return true; - } elseif ($this->count == strlen($this->buffer) || $this->buffer{$this->count} == '}') { + } elseif ($this->count == strlen($this->buffer) || $this->buffer[$this->count] == '}') { // if there is end of file or a closing block next then we don't need a ; return true; } diff --git a/rainloop/app/rainloop/v/1.14.0/static/js/min/admin.min.js b/rainloop/app/rainloop/v/1.14.0/static/js/min/admin.min.js index 57c1204e..a5b3f8e6 100644 --- a/rainloop/app/rainloop/v/1.14.0/static/js/min/admin.min.js +++ b/rainloop/app/rainloop/v/1.14.0/static/js/min/admin.min.js @@ -1 +1 @@ -!function(n){var i={};function o(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=i,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="rainloop/v/0.0.0/static/js/min/",o(o.s=534)}([function(e,t,n){"use strict";n.r(t),n.d(t,"FileType",function(){return i}),n.d(t,"StorageResultType",function(){return o}),n.d(t,"Focused",function(){return r}),n.d(t,"State",function(){return a}),n.d(t,"StateType",function(){return s}),n.d(t,"Capa",function(){return c}),n.d(t,"KeyState",function(){return u}),n.d(t,"FolderType",function(){return l}),n.d(t,"ServerFolderType",function(){return d}),n.d(t,"LoginSignMeTypeAsString",function(){return p}),n.d(t,"LoginSignMeType",function(){return f}),n.d(t,"ComposeType",function(){return g}),n.d(t,"UploadErrorCode",function(){return h}),n.d(t,"SetSystemFoldersNotification",function(){return m}),n.d(t,"ClientSideKeyName",function(){return b}),n.d(t,"EventKeyCode",function(){return v}),n.d(t,"MessageSetAction",function(){return S}),n.d(t,"MessageSelectAction",function(){return y}),n.d(t,"DesktopNotification",function(){return w}),n.d(t,"MessagePriority",function(){return O}),n.d(t,"EditorDefaultType",function(){return A}),n.d(t,"ServerSecure",function(){return T}),n.d(t,"SearchDateType",function(){return C}),n.d(t,"SaveSettingsStep",function(){return _}),n.d(t,"Layout",function(){return x}),n.d(t,"FilterConditionField",function(){return E}),n.d(t,"FilterConditionType",function(){return j}),n.d(t,"FiltersAction",function(){return D}),n.d(t,"FilterRulesType",function(){return N}),n.d(t,"SignedVerifyStatus",function(){return R}),n.d(t,"ContactPropertyType",function(){return I}),n.d(t,"Magics",function(){return P}),n.d(t,"Ports",function(){return k}),n.d(t,"Notification",function(){return L});var i={Unknown:"unknown",Text:"text",Html:"html",Code:"code",Eml:"eml",WordText:"word-text",Pdf:"pdf",Image:"image",Audio:"audio",Video:"video",Sheet:"sheet",Presentation:"presentation",Certificate:"certificate",CertificateBin:"certificate-bin",Archive:"archive"},o={Success:"success",Abort:"abort",Error:"error",Unload:"unload"},r={None:"none",MessageList:"message-list",MessageView:"message-view",FolderList:"folder-list"},a={Empty:10,Login:20,Auth:30},s={Webmail:0,Admin:1},c={TwoFactor:"TWO_FACTOR",TwoFactorForce:"TWO_FACTOR_FORCE",OpenPGP:"OPEN_PGP",Prefetch:"PREFETCH",Gravatar:"GRAVATAR",Folders:"FOLDERS",Composer:"COMPOSER",Contacts:"CONTACTS",Reload:"RELOAD",Search:"SEARCH",SearchAdv:"SEARCH_ADV",MessageActions:"MESSAGE_ACTIONS",MessageListActions:"MESSAGELIST_ACTIONS",AttachmentsActions:"ATTACHMENTS_ACTIONS",DangerousActions:"DANGEROUS_ACTIONS",Settings:"SETTINGS",Help:"HELP",Themes:"THEMES",UserBackground:"USER_BACKGROUND",Sieve:"SIEVE",Filters:"FILTERS",AttachmentThumbnails:"ATTACHMENT_THUMBNAILS",Templates:"TEMPLATES",AutoLogout:"AUTOLOGOUT",AdditionalAccounts:"ADDITIONAL_ACCOUNTS",Identities:"IDENTITIES"},u={All:"all",None:"none",ContactList:"contact-list",MessageList:"message-list",FolderList:"folder-list",MessageView:"message-view",Compose:"compose",Settings:"settings",Menu:"menu",PopupComposeOpenPGP:"compose-open-pgp",PopupMessageOpenPGP:"message-open-pgp",PopupViewOpenPGP:"view-open-pgp",PopupKeyboardShortcutsHelp:"popup-keyboard-shortcuts-help",PopupAsk:"popup-ask"},l={Inbox:10,SentItems:11,Draft:12,Trash:13,Spam:14,Archive:15,NotSpam:80,User:99},d={USER:0,INBOX:1,SENT:2,DRAFTS:3,JUNK:4,TRASH:5,IMPORTANT:10,FLAGGED:11,ALL:12},p={DefaultOff:"defaultoff",DefaultOn:"defaulton",Unused:"unused"},f={DefaultOff:0,DefaultOn:1,Unused:2},g={Empty:"empty",Reply:"reply",ReplyAll:"replyall",Forward:"forward",ForwardAsAttachment:"forward-as-attachment",Draft:"draft",EditAsNew:"editasnew"},h={Normal:0,FileIsTooBig:1,FilePartiallyUploaded:2,FileNoUploaded:3,MissingTempFolder:4,FileOnSaveingError:5,FileType:98,Unknown:99},m={None:0,Sent:1,Draft:2,Spam:3,Trash:4,Archive:5},b={FoldersLashHash:0,MessagesInboxLastHash:1,MailBoxListSize:2,ExpandedFolders:3,FolderListSize:4,MessageListSize:5,LastReplyAction:6,LastSignMe:7,ComposeLastIdentityID:8,MessageHeaderFullInfo:9,MessageAttachmnetControls:10},v={Backspace:8,Tab:9,Enter:13,Esc:27,PageUp:33,PageDown:34,Left:37,Right:39,Up:38,Down:40,End:35,Home:36,Space:32,Insert:45,Delete:46,A:65,S:83},S={SetSeen:0,UnsetSeen:1,SetFlag:2,UnsetFlag:3},y={All:0,None:1,Invert:2,Unseen:3,Seen:4,Flagged:5,Unflagged:6},w={Allowed:0,NotAllowed:1,Denied:2,NotSupported:9},O={Low:5,Normal:3,High:1},A={Html:"Html",Plain:"Plain",HtmlForced:"HtmlForced",PlainForced:"PlainForced"},T={None:0,SSL:1,TLS:2},C={All:-1,Days3:3,Days7:7,Month:30},_={Animate:-2,Idle:-1,TrueResult:1,FalseResult:0},x={NoPreview:0,SidePreview:1,BottomPreview:2},E={From:"From",Recipient:"Recipient",Subject:"Subject",Header:"Header",Size:"Size"},j={Contains:"Contains",NotContains:"NotContains",EqualTo:"EqualTo",NotEqualTo:"NotEqualTo",Regex:"Regex",Over:"Over",Under:"Under"},D={None:"None",MoveTo:"MoveTo",Discard:"Discard",Vacation:"Vacation",Reject:"Reject",Forward:"Forward"},N={All:"All",Any:"Any"},R={UnknownPublicKeys:-4,UnknownPrivateKey:-3,Unverified:-2,Error:-1,None:0,Success:1},I={Unknown:0,FullName:10,FirstName:15,LastName:16,MiddleName:16,Nick:18,NamePrefix:20,NameSuffix:21,Email:30,Phone:31,Web:32,Birthday:40,Facebook:90,Skype:91,GitHub:92,Note:110,Custom:250},P={EventWhichMouseMiddle:3,ifvisibleIdle10s:10,BitLength2048:2048,BitLength1024:1024,Size350px:350,Size50px:50,Size20px:20,Size1px:1,Time30mInMin:30,Time60m:36e5,Time30m:18e5,Time20m:12e5,Time15m:9e5,Time10m:6e5,Time5m:3e5,Time3m:18e4,Time2m:12e4,Time1m:6e4,Time30s:3e4,Time10s:1e4,Time7s:7e3,Time5s:5e3,Time3s:3e3,Time1s:1e3,Time500ms:500,Time350ms:350,Time250ms:250,Time200ms:200,Time100ms:100,Time50ms:50,Time20ms:20,Time10ms:10,Time1ms:1},k={Imap:143,ImapSsl:993,Smtp:25,SmtpSsl:465,SmtpStartTls:587},L={InvalidToken:101,AuthError:102,AccessError:103,ConnectionError:104,CaptchaError:105,SocialFacebookLoginAccessDisable:106,SocialTwitterLoginAccessDisable:107,SocialGoogleLoginAccessDisable:108,DomainNotAllowed:109,AccountNotAllowed:110,AccountTwoFactorAuthRequired:120,AccountTwoFactorAuthError:121,CouldNotSaveNewPassword:130,CurrentPasswordIncorrect:131,NewPasswordShort:132,NewPasswordWeak:133,NewPasswordForbidden:134,ContactsSyncError:140,CantGetMessageList:201,CantGetMessage:202,CantDeleteMessage:203,CantMoveMessage:204,CantCopyMessage:205,CantSaveMessage:301,CantSendMessage:302,InvalidRecipients:303,CantSaveFilters:351,CantGetFilters:352,FiltersAreNotCorrect:355,CantCreateFolder:400,CantRenameFolder:401,CantDeleteFolder:402,CantSubscribeFolder:403,CantUnsubscribeFolder:404,CantDeleteNonEmptyFolder:405,CantSaveSettings:501,CantSavePluginSettings:502,DomainAlreadyExists:601,CantInstallPackage:701,CantDeletePackage:702,InvalidPluginPackage:703,UnsupportedPluginPackage:704,LicensingServerIsUnavailable:710,LicensingExpired:711,LicensingBanned:712,DemoSendMessageError:750,DemoAccountError:751,AccountAlreadyExists:801,AccountDoesNotExist:802,MailServerError:901,ClientViewError:902,InvalidInputArgument:903,AjaxFalse:950,AjaxAbort:951,AjaxParse:952,AjaxTimeout:953,UnknownNotification:999,UnknownError:999}},function(e,t,u){"use strict";u(339),u(63),u(111),u(172),u(67);var n=u(18),l=u.n(n),i=u(30),d=u.n(i),o=u(138),p=u.n(o),r=u(12),c=u.n(r),a=u(4),f=u.n(a),s=u(3),g=u.n(s),h=u(8),m=u.n(h),b=u(210),v=u(211),S=u.n(v),y=u(0),w=f.a.ko,O=m()(f.a);w.bindingHandlers.updateWidth={init:function(e,t){var n=m()(e),i=t(),o=function(){i(n.width()),f.a.setTimeout(function(){i(n.width())},y.Magics.Time500ms)};O.on("resize",o),o(),w.utils.domNodeDisposal.addDisposeCallback(e,function(){O.off("resize",o)})}},w.bindingHandlers.editor={init:function(e,t){var n=null,i=t(),o=u(207).default,r=function(){i&&i.__editor&&i.__editor.setHtmlOrPlain(i())},a=function(){i&&i.__editor&&i(i.__editor.getDataWithHtmlMark())};w.isObservable(i)&&o&&(n=new o(e,a,function(){i.__editor=n,r()},a),i.__fetchEditorValue=a,i.subscribe(r))}},w.bindingHandlers.json={init:function(e,t){m()(e).text(f.a.JSON.stringify(w.unwrap(t())))},update:function(e,t){m()(e).text(f.a.JSON.stringify(w.unwrap(t())))}},w.bindingHandlers.scrollerShadows={init:function(e){var t=m()(e),n=c()(t).call(t,"[data-scroller-shadows-content]")[0]||null,i=g.a.throttle(function(){t.toggleClass("scroller-shadow-top",8=t.left&&r.pageX<=t.left+e.width()){if(r.pageY>=n-100&&r.pageY<=n){var i=function(){e.scrollTop(e.scrollTop()+3),a.windowResize()};e.data("timerScroll",f.a.setInterval(i,10)),i()}if(r.pageY>=t.top&&r.pageY<=t.top+100){var o=function(){e.scrollTop(e.scrollTop()-3),a.windowResize()};e.data("timerScroll",f.a.setInterval(o,10)),o()}}})},r.stop=function(){m()(s).each(function(){var e=m()(this);f.a.clearInterval(e.data("timerScroll")),e.data("timerScroll",!1)})}),r.helper=function(e){return t()(e&&e.target?w.dataFor(e.target):null)},m()(e).draggable(r).on("mousedown.koDraggable",function(){a.removeInFocus()}),w.utils.domNodeDisposal.addDisposeCallback(e,function(){m()(e).off("mousedown.koDraggable").draggable("destroy")})}}},w.bindingHandlers.droppable={init:function(e,t,n){if(!u(6).bMobileDevice){var i=t(),o=n(),r=o&&o.droppableOver?o.droppableOver:null,a=o&&o.droppableOut?o.droppableOut:null,s={tolerance:"pointer",hoverClass:"droppableHover",drop:null,over:null,out:null};i&&(s.drop=function(e,t){i(e,t)},r&&(s.over=function(e,t){r(e,t)}),a&&(s.out=function(e,t){a(e,t)}),m()(e).droppable(s),w.utils.domNodeDisposal.addDisposeCallback(e,function(){m()(e).droppable("destroy")}))}}},w.bindingHandlers.nano={init:function(e){var t=u(6),n=u(5);t.bDisableNanoScroll||n.appSettingsGet("useNativeScrollbars")||m()(e).addClass("nano").nanoScroller({iOSNativeScrolling:!1,preventPageScrolling:!0})}},w.bindingHandlers.saveTrigger={init:function(e){var t=m()(e);t.data("save-trigger-type",t.is("input[type=text],input[type=email],input[type=password],select,textarea")?"input":"custom"),"custom"===t.data("save-trigger-type")?t.append('  ').addClass("settings-saved-trigger"):t.addClass("settings-saved-trigger-input")},update:function(e,t){var n,i,o,r,a=w.unwrap(t()),s=m()(e);if("custom"===s.data("save-trigger-type"))switch(a.toString()){case"1":c()(n=c()(s).call(s,".animated,.error").hide().removeClass("visible").end()).call(n,".success").show().addClass("visible");break;case"0":c()(i=c()(s).call(s,".animated,.success").hide().removeClass("visible").end()).call(i,".error").show().addClass("visible");break;case"-2":c()(o=c()(s).call(s,".error,.success").hide().removeClass("visible").end()).call(o,".animated").show().addClass("visible");break;default:c()(r=c()(s).call(s,".animated").hide().end()).call(r,".error,.success").removeClass("visible")}else switch(a.toString()){case"1":s.addClass("success").removeClass("error");break;case"0":s.addClass("error").removeClass("success");break;case"-2":break;default:s.removeClass("error success")}}},w.bindingHandlers.emailsTags={init:function(e,t,n){var i=u(2),o=u(80).default,r=m()(e),a=t(),s=n().autoCompleteSource||null,c=[",",";","\n"];r.inputosaurus({parseOnBlur:!0,allowDragAndDrop:!0,focusCallback:function(e){a&&a.focused&&a.focused(!!e)},inputDelimiters:c,autoCompleteSource:s,splitHook:function(e){var t=p()(i).call(i,e);return t&&-1t;)i=o.substring(0,t),r=p()(i).call(i," "),-1!==(a=p()(i).call(i,"\n"))&&(r=a),-1===r&&(r=t),n+=i.substring(0,r)+"\n",o=o.substring(r+1);return n+o}var ae,se,ce=(ae={},function(e,t,n){ae[e]=M(ae[e])?0:ae[e],y.a.clearTimeout(ae[e]),ae[e]=y.a.setTimeout(t,n)}),ue=(se={},function(e,t,n){se[e]||(se[e]=y.a.setTimeout(function(){t(),se[e]=0},n))});function le(e){return(e&&e.default?e.default:e)||""}function de(){try{if(y.a.document.activeElement)return M(y.a.document.activeElement.__inFocusCache)&&(y.a.document.activeElement.__inFocusCache=O()(y.a.document.activeElement).is("input,textarea,iframe,.cke_editable")),!!y.a.document.activeElement.__inFocusCache}catch(e){}return!1}function pe(e){if(y.a.document&&y.a.document.activeElement&&y.a.document.activeElement.blur)try{var t=O()(y.a.document.activeElement);t&&t.is("input,textarea")?y.a.document.activeElement.blur():e&&y.a.document.activeElement.blur()}catch(e){}}function fe(){try{if(y.a&&y.a.getSelection){var e=y.a.getSelection();e&&e.removeAllRanges&&e.removeAllRanges()}else y.a.document&&y.a.document.selection&&y.a.document.selection.empty&&y.a.document.selection.empty()}catch(e){}}function ge(e,t){e=R(e.toUpperCase()),t=R(t.replace(/[\s]+/g," "));var n=!1,i="RE"===e,o="FWD"===e,r=[],a=!o;return""!==t&&T.a.each(t.split(":"),function(e){var t=R(e);n||!/^(RE|FWD)$/i.test(t)&&!/^(RE|FWD)[[(][\d]+[\])]$/i.test(t)?(r.push(e),n=!0):(i||(i=!!/^RE/i.test(t)),o||(o=!!/^FWD/i.test(t)))}),a?i=!1:o=!1,R((a?"Re: ":"Fwd: ")+(i?"Re: ":"")+(o?"Fwd: ":"")+R(r.join(":")))}function he(e,t){return y.a.Math.round(e*y.a.Math.pow(10,t))/y.a.Math.pow(10,t)}function me(e){switch(e=W(e),!0){case 1073741824<=e:return he(e/1073741824,1)+"GB";case 1048576<=e:return he(e/1048576,1)+"MB";case 1024<=e:return he(e/1024,0)+"KB"}return e+"B"}function be(e){y.a.console&&y.a.console.log&&y.a.console.log(e)}function ve(e,t,n,i){void 0===i&&(i=0),e&&e[t]&&(i=W(i),n=P(n)?n:[],i<=0?e[t].apply(e,n):T.a.delay(function(){e[t].apply(e,n)},i))}function Se(e){if((e=e||y.a.event)&&e.ctrlKey&&!e.shiftKey&&!e.altKey){var t=e.keyCode||e.which;if(t===j.EventKeyCode.S)return void e.preventDefault();if(t===j.EventKeyCode.A){var n=e.target||e.srcElement;if(n&&("true"==""+n.contentEditable||n.tagName&&n.tagName.match(/INPUT|TEXTAREA/i)))return;y.a.getSelection?y.a.getSelection().removeAllRanges():y.a.document.selection&&y.a.document.selection.clear&&y.a.document.selection.clear(),e.preventDefault()}}}function ye(i,o,e){void 0===e&&(e=!0);var r=null;return(r=o?function(){if(r&&r.canExecute&&r.canExecute()){for(var e=arguments.length,t=new Array(e),n=0;n ').appendTo("#rl-hidden")}function xe(e,t){t&&!M(t.disabled)&&e&&O()(e).toggleClass("disabled",t.disabled).prop("disabled",t.disabled)}function Ee(e){s()(e).call(e,"blockquote.rl-bq-switcher").removeClass("rl-bq-switcher hidden-bq"),s()(e).call(e,".rlBlockquoteSwitcher").off(".rlBlockquoteSwitcher").remove(),s()(e).call(e,"[data-html-editor-font-wrapper]").removeAttr("data-html-editor-font-wrapper")}function je(e,t,n,i){var o=e.title,r=e.subject,a=e.date,s=e.fromCreds,c=e.toCreds,u=e.toLabel,l=e.ccClass,d=e.ccCreds,p=e.ccLabel,f=y.a.open(""),g=f.document,h=t.clone(),m=n?"html":"plain";Ee(h);var b=h?h.html():"";g.write(le(v(355)).replace("{{title}}",oe(o)).replace("{{subject}}",oe(r)).replace("{{date}}",oe(a)).replace("{{fromCreds}}",oe(s)).replace("{{toCreds}}",oe(c)).replace("{{toLabel}}",oe(u)).replace("{{ccClass}}",oe(l)).replace("{{ccCreds}}",oe(d)).replace("{{ccLabel}}",oe(p)).replace("{{bodyClass}}",m).replace("{{html}}",b)),g.close(),i&&y.a.setTimeout(function(){return f.print()},100)}function De(r,a,s,c){return void 0===s&&(s=null),void 0===c&&(c=1e3),c=W(c),function(e,t,n,i,o){a.call(s,t&&t.Result?j.SaveSettingsStep.TrueResult:j.SaveSettingsStep.FalseResult),r&&r.call(s,e,t,n,i,o),T.a.delay(function(){a.call(s,j.SaveSettingsStep.Idle)},c)}}function Ne(e,t){return De(null,e,t,1e3)}function Re(n,i,o,r){return function(e){if(n){switch(o){case"bool":case"boolean":e=e?"1":"0";break;case"int":case"integer":case"number":e=W(e);break;case"trim":e=R(e);break;default:e=Y(e)}var t={};t[i]=e,n.saveAdminConfig?n.saveAdminConfig(r||null,t):n.saveSettings&&n.saveSettings(r||null,t)}}}function Ie(e){return x.a?x.a.link(e,{newWindow:!0,stripPrefix:!1,urls:!0,email:!0,mention:!1,phone:!1,hashtag:!1,replaceFn:function(e){var t;return!(e&&"url"===e.getType()&&e.matchedText&&0!==c()(t=e.matchedText).call(t,"http"))}}):e}function Pe(e){var t,n=0,i=0,o=0,r=0,a=0,s="";for(s=e.replace(/]*><\/p>/gi,"").replace(/]*>([\s\S\r\n\t]*)<\/pre>/gim,function(){for(var e=arguments.length,t=new Array(e),n=0;n").replace(/[\r]/gm,""):""}).replace(/[\s]+/gm," ").replace(/((?:href|data)\s?=\s?)("[^"]+?"|'[^']+?')/gim,function(){for(var e=arguments.length,t=new Array(e),n=0;n]*>/gim,"\n").replace(/<\/h[\d]>/gi,"\n").replace(/<\/p>/gi,"\n\n").replace(/]*>/gim,"\n").replace(/<\/ul>/gi,"\n").replace(/]*>/gim," * ").replace(/<\/li>/gi,"\n").replace(/<\/td>/gi,"\n").replace(/<\/tr>/gi,"\n").replace(/]*>/gim,"\n_______________________________\n\n").replace(/]*>([\s\S\r\n]*)<\/div>/gim,function e(){for(var t=arguments.length,n=new Array(t),i=0;i]*>([\s\S\r\n]*)<\/div>/gim,e),o="\n"+R(o)+"\n"),o}return""}).replace(/]*>/gim,"\n__bq__start__\n").replace(/<\/blockquote>/gim,"\n__bq__end__\n").replace(/]*>([\s\S\r\n]*?)<\/a>/gim,function(){for(var e=arguments.length,t=new Array(e),n=0;n/gi,"\n").replace(/ /gi," ").replace(/"/gi,'"').replace(/<[^>]*>/gm,""),s=re(s=(s=E.$div.html(s).text()).replace(/\n[ \t]+/gm,"\n").replace(/[\n]{3,}/gm,"\n\n").replace(/>/gi,">").replace(/</gi,"<").replace(/&/gi,"&")),n=0,i=800;0 "+R(t).replace(/\n/gm,"\n> ")).replace(/(^|\n)([> ]+)/gm,function(){for(var e=arguments.length,t=new Array(e),n=0;n[> ]>+/gm,function(e){var t=e[0];return t?t.replace(/[ ]+/g,""):t})).split("\n");do{for(i=!1,r=[],s=0;s"===(a=c[s]).substr(0,1))&&!n?(n=i=!0,r.push("~~~blockquote~~~"),r.push(a.substr(1))):!o&&n?(""!==a&&(n=!1,r.push("~~~/blockquote~~~")),r.push(a)):o&&n?r.push(a.substr(1)):r.push(a);n&&(n=!1,r.push("~~~/blockquote~~~")),c=r}while(i);return e=(e=c.join("\n")).replace(/&/g,"&").replace(/>/g,">").replace(/").replace(/[\s]*~~~\/blockquote~~~/g,"").replace(/\n/g,"
"),t?Ie(e):e}function Le(e,t,n,i,o,r,a,s,c,u){var l=null,d=!1,p=0,f=0,g=[];for(u=!M(u)&&!!u,c=z(c)?c:0'),n.after(o),n.remove()),o&&o[0]&&ze(o,e[1])&&o.attr("data-href",r).attr("data-theme",e[0]),t(j.SaveSettingsStep.TrueResult))}).then(i,i))}function $e(s,c){return function(){var o=s(),e=c(),r=[],t=function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="");var i={current:e===o,name:""===n?e.toString():n.toString(),custom:""!==n,title:""===n?"":e.toString(),value:e.toString()};t?r.push(i):r.unshift(i)},n=0,i=0,a=2;if(1this.height?[this.width-this.height,0]:[0,this.height-this.width],n.fillStyle="#fff",n.fillRect(0,0,i,i),n.drawImage(this,e[0]/2,e[1]/2,this.width-e[0],this.height-e[1],0,0,i,i),o(t.toDataURL("image/jpeg"))},t.src=e}function tt(e,t){if(e&&"mailto:"===e.toString().substr(0,7).toLowerCase()){if(!t)return!0;var n,i=[],o=null,r=null,a=(e=e.toString().substr(7)).replace(/\?.+$/,""),s=e.replace(/^[^?]*\?/,""),c=v(80).default;return n=ne(s),i=M(n.to)?c.parseEmailLine(a):(i=c.parseEmailLine(Z(a+","+n.to)),l()(T.a).call(T.a,u()(i).call(i,function(e,t){return t&&(e[t.email]&&e[t.email].name||(e[t.email]=t)),e},{}))),M(n.cc)||(o=c.parseEmailLine(Z(n.cc))),M(n.bcc)||(r=c.parseEmailLine(Z(n.bcc))),v(7).showScreenPopup(t,[j.ComposeType.Empty,null,i,o,r,M(n.subject)?null:Y(Z(n.subject)),M(n.body)?null:ke(Y(Z(n.body)))]),!0}return!1}function nt(e){O()(function(){return e()})}var it=T.a.debounce(function(e){M(e)||F(e)?E.$win.resize():y.a.setTimeout(function(){E.$win.resize()},e)},50);function ot(){it()}var rt=y.a.String.substr;"b"!=="ab".substr(-1)&&(rt=function(e,t,n){return t=t<0?e.length+t:t,e.substr(t,n)},y.a.String.substr=rt)},function(e,t){e.exports=window._},function(e,t){e.exports=window},function(e,t,n){"use strict";n.r(t),n.d(t,"settingsGet",function(){return c}),n.d(t,"settingsSet",function(){return u}),n.d(t,"appSettingsGet",function(){return l}),n.d(t,"capa",function(){return d});var i=n(4),o=n.n(i),r=n(2),a=o.a.__rlah_data()||null,s=(a=Object(r.isNormal)(a)?a:{}).System||null;function c(e){return Object(r.isUnd)(a[e])?null:a[e]}function u(e,t){a[e]=t}function l(e){return Object(r.isUnd)(s[e])?null:s[e]}function d(e){var t=c("Capa");return Object(r.isArray)(t)&&Object(r.isNormal)(e)&&-1"),O=p()("
");O.attr("area","hidden").css({position:"absolute",left:-5e3}).appendTo(y);var A=(new c.a.Date).getTime(),T=!0,C=h.a.observable(!1).extend({rateLimit:0}),_=h.a.observable(!0),x="navigator"in c.a&&"userAgent"in c.a.navigator&&c.a.navigator.userAgent.toLowerCase()||"",E=-1").addClass("rl-view-model").addClass("RL-"+i.viewModelTemplateID).hide()).appendTo(r),i.viewModelDom=n,t.__dom=n,w.Popup===o&&(i.cancelCommand=i.closeCommand=A(function(){N(t)}),i.modalVisibility.subscribe(function(e){e?(i.viewModelDom.show(),i.storeAndSetKeyScope(),m.popupVisibilityNames.push(i.viewModelName),i.viewModelDom.css("z-index",3e3+Object(m.popupVisibilityNames)().length+10),i.onShowTrigger&&i.onShowTrigger(!i.onShowTrigger()),Object(b.delegateRun)(i,"onShowWithDelay",[],500)):(Object(b.delegateRun)(i,"onHide"),Object(b.delegateRun)(i,"onHideWithDelay",[],500),i.onHideTrigger&&i.onHideTrigger(!i.onHideTrigger()),i.restoreKeyScope(),R("view-model-on-hide",t),m.popupVisibilityNames.remove(i.viewModelName),i.viewModelDom.css("z-index",2e3),s.a.delay(function(){return i.viewModelDom.hide()},300))})),R("view-model-pre-build",t,n),u.a.applyBindingAccessorsToNode(n[0],{translatorInit:!0,template:function(){return{name:i.viewModelTemplateID}}},i),Object(b.delegateRun)(i,"onBuild",[n]),i&&w.Popup===o&&i.registerPopupKeyDown(),R("view-model-post-build",t,n)):Object(b.log)("Cannot find view model position: "+o)}return t?t.__vm:null}function P(e,t){void 0===t&&(t=[]);var n=D(e);n&&(I(n),n.__vm&&n.__dom&&(Object(b.delegateRun)(n.__vm,"onBeforeShow",t||[]),n.__vm.modalVisibility(!0),Object(b.delegateRun)(n.__vm,"onShow",t||[]),R("view-model-on-show",n,t||[])))}function k(e){var t=D(e);t&&(I(t),t.__vm&&t.__dom&&Object(b.delegateRun)(t.__vm,"onWarmUp"))}function L(e){var t=D(e);return!(!t||!t.__vm)&&t.__vm.modalVisibility()}function M(e,t){var n=null,i=!1,o=null;""===Object(b.pString)(e)&&(e=S),""!==e&&((n=j(e))||(n=j(S))&&(t=e+"/"+t,e=S),n&&n.__started&&(i=v&&n===v,n.__builded||(n.__builded=!0,Object(b.isNonEmptyArray)(n.viewModels())&&s.a.each(n.viewModels(),function(e){I(e,n)}),Object(b.delegateRun)(n,"onBuild")),s.a.defer(function(){v&&!i&&(Object(b.delegateRun)(v,"onHide"),Object(b.delegateRun)(v,"onHideWithDelay",[],500),v.onHideTrigger&&v.onHideTrigger(!v.onHideTrigger()),Object(b.isNonEmptyArray)(v.viewModels())&&s.a.each(v.viewModels(),function(e){e.__vm&&e.__dom&&w.Popup!==e.__vm.viewModelPosition&&(e.__dom.hide(),e.__vm.viewModelVisibility(!1),Object(b.delegateRun)(e.__vm,"onHide"),Object(b.delegateRun)(e.__vm,"onHideWithDelay",[],500),e.__vm.onHideTrigger&&e.__vm.onHideTrigger(!e.__vm.onHideTrigger()))})),(v=n)&&!i&&(Object(b.delegateRun)(v,"onShow"),v.onShowTrigger&&v.onShowTrigger(!v.onShowTrigger()),Object(h.f)("screen-on-show",[v.screenName(),v]),Object(b.isNonEmptyArray)(v.viewModels())&&s.a.each(v.viewModels(),function(e){e.__vm&&e.__dom&&w.Popup!==e.__vm.viewModelPosition&&(Object(b.delegateRun)(e.__vm,"onBeforeShow"),e.__dom.show(),e.__vm.viewModelVisibility(!0),Object(b.delegateRun)(e.__vm,"onShow"),e.__vm.onShowTrigger&&e.__vm.onShowTrigger(!e.__vm.onShowTrigger()),Object(b.delegateRun)(e.__vm,"onShowWithDelay",[],200),R("view-model-on-show",e))})),(o=n&&n.__cross?n.__cross():null)&&o.parse(t)})))}function F(e){s.a.each(e,function(e){if(e){var t=new e,n=t?t.screenName():"";t&&""!==n&&(""===S&&(S=n),y[n]=t)}}),s.a.each(y,function(e){e&&!e.__started&&e.__start&&(e.__started=!0,e.__start(),Object(h.f)("screen-pre-start",[e.screenName(),e]),Object(b.delegateRun)(e,"onStart"),Object(h.f)("screen-post-start",[e.screenName(),e]))});var t=f.a.create();t.addRoute(/^([a-zA-Z0-9-]*)\/?(.*)$/,M),d.a.initialized.add(t.parse,t),d.a.changed.add(t.parse,t),d.a.init(),s.a.delay(function(){return m.$html.removeClass("rl-started-trigger").addClass("rl-started")},100),s.a.delay(function(){return m.$html.addClass("rl-started-delay")},200)}function U(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),e="/"===(e="#"===e.substr(0,1)?e.substr(1):e).substr(0,1)?e.substr(1):e;var i=n?"replaceHash":"setHash";t?(d.a.changed.active=!1,d.a[i](e),d.a.changed.active=!0):(d.a.changed.active=!0,d.a[i](e),d.a.setHash(e))}function G(e){var t=e.name,n=e.type,i=e.templateID;return function(e){e&&(t&&(Object(b.isArray)(t)?e.__names=t:e.__names=[t],e.__name=e.__names[0]),n&&(e.__type=n),i&&(e.__templateID=i))}}function H(e){var t=e.name,n=e.templateID;return G({name:t,type:w.Popup,templateID:n})}function B(r){return void 0===r&&(r=!0),function(e,t,n){if(!t||!t.match(/Command$/))throw new Error('name "'+t+'" should end with Command suffix');var i=n.value||n.initializer(),o=Object(b.isFunc)(r)?r:function(){return!!r};return n.value=function(){if(o.call(this,this)){for(var e=arguments.length,t=new Array(e),n=0;n",viewModel:{createViewModel:function(e,t){return(e=e||{}).element=null,t&&t.element&&(e.component=t,e.element=s()(t.element),Object(l.i18nToNodes)(e.element),!Object(u.isUnd)(e.inline)&&c.a.unwrap(e.inline)&&e.element.css("display","inline-block")),new n(e)}}}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var i=n(44);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},,function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"f",function(){return p}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return g}),n.d(t,"b",function(){return h}),n.d(t,"c",function(){return m}),n.d(t,"g",function(){return b}),n.d(t,"h",function(){return v});var i=n(3),o=n.n(i),r=n(2),a=n(6),s=n(5),c={},u=[],l=[];function d(e,t){Object(r.isFunc)(t)&&(Object(r.isArray)(c[e])||(c[e]=[]),c[e].push(t))}function p(e,t){void 0===t&&(t=[]),Object(r.isArray)(c[e])&&o.a.each(c[e],function(e){e.apply(void 0,t)})}function f(e){return s.settingsGet(e)}function g(e,t,n,i){a.data.__APP__&&a.data.__APP__.remote().defaultRequest(e,"Plugin"+t,n,i)}function h(e,t,n,i){u.push([e,t,n,i])}function m(e,t,n,i){l.push([e,t,n,i])}function b(e){var t=n(7);o.a.each(e?l:u,function(e){t.addSettingsViewModel(e[0],e[1],e[2],e[3])})}function v(e,t){var n=s.settingsGet("Plugins");return(n=n&&!Object(r.isUnd)(n[e])?n[e]:null)?Object(r.isUnd)(n[t])?null:n[t]:null}},function(e,t,n){"use strict";var i=n(1);t.a=new function(){this.coreReal=i.a.observable(!0),this.coreChannel=i.a.observable("stable"),this.coreType=i.a.observable("stable"),this.coreUpdatable=i.a.observable(!0),this.coreAccess=i.a.observable(!0),this.coreWarning=i.a.observable(!1),this.coreChecking=i.a.observable(!1).extend({throttle:100}),this.coreUpdating=i.a.observable(!1).extend({throttle:100}),this.coreVersion=i.a.observable(""),this.coreRemoteVersion=i.a.observable(""),this.coreRemoteRelease=i.a.observable(""),this.coreVersionCompare=i.a.observable(-2)}},,function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var b=n(75),v=n(235).f,S=n(289),y=n(96),w=n(238),O=n(83),A=n(95),T=function(i){var e=function(e,t,n){if(this instanceof i){switch(arguments.length){case 0:return new i;case 1:return new i(e);case 2:return new i(e,t)}return new i(e,t,n)}return i.apply(this,arguments)};return e.prototype=i.prototype,e};e.exports=function(e,t){var n,i,o,r,a,s,c,u,l=e.target,d=e.global,p=e.stat,f=e.proto,g=d?b:p?b[l]:(b[l]||{}).prototype,h=d?y:y[l]||(y[l]={}),m=h.prototype;for(o in t)n=!S(d?o:l+(p?".":"#")+o,e.forced)&&g&&A(g,o),a=h[o],n&&(s=e.noTargetGet?(u=v(g,o))&&u.value:g[o]),r=n&&s?s:t[o],n&&typeof a==typeof r||(c=e.bind&&n?w(r,b):e.wrap&&n?T(r):f&&"function"==typeof r?w(Function.call,r):r,(e.sham||r&&r.sham||a&&a.sham)&&O(c,"sham",!0),h[o]=c,f&&(A(y,i=l+"Prototype")||O(y,i,{}),y[i][o]=r,e.real&&m&&!m[o]&&O(m,o,r)))}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var i=n(48),o=n(110);i({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},,function(e,t,n){var i=n(36);e.exports=!i(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,n){var l=n(27),d=n(89).f,p=n(49),f=n(53),g=n(91),h=n(179),m=n(129);e.exports=function(e,t){var n,i,o,r,a,s=e.target,c=e.global,u=e.stat;if(n=c?l:u?l[s]||g(s,{}):(l[s]||{}).prototype)for(i in t){if(r=t[i],o=e.noTargetGet?(a=d(n,i))&&a.value:n[i],!m(c?i:s+(u?".":"#")+i,e.forced)&&void 0!==o){if(typeof r==typeof o)continue;h(r,o)}(e.sham||o&&o.sham)&&p(r,"sham",!0),f(n,i,r,e)}}},function(e,t,n){var i=n(47),o=n(52),r=n(90);e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(47),o=n(52).f,r=Function.prototype,a=r.toString,s=/^\s*function ([^ (]*)/;!i||"name"in r||o(r,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){var i=n(47),o=n(125),r=n(37),a=n(124),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var s=n(27),c=n(49),u=n(42),l=n(91),i=n(92),o=n(86),r=o.get,d=o.enforce,p=String(String).split("String");(e.exports=function(e,t,n,i){var o=!!i&&!!i.unsafe,r=!!i&&!!i.enumerable,a=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||u(n,"name")||c(n,"name",t),d(n).source=p.join("string"==typeof t?t:"")),e!==s?(o?!a&&e[t]&&(r=!0):delete e[t],r?e[t]=n:c(e,t,n)):r?e[t]=n:l(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&r(this).source||i(this)})},function(e,t,n){var i=n(96);e.exports=function(e){return i[e+"Prototype"]}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var i=n(134),x=n(37),p=n(119),E=n(72),j=n(79),r=n(55),D=n(152),N=n(135),R=Math.max,I=Math.min,f=Math.floor,g=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g;i("replace",2,function(o,w,O,e){var A=e.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,T=e.REPLACE_KEEPS_$0,C=A?"$":"$0";return[function(e,t){var n=r(this),i=null==e?void 0:e[o];return void 0!==i?i.call(e,n,t):w.call(String(n),e,t)},function(e,t){if(!A&&T||"string"==typeof t&&-1===t.indexOf(C)){var n=O(w,e,this,t);if(n.done)return n.value}var i=x(e),o=String(this),r="function"==typeof t;r||(t=String(t));var a=i.global;if(a){var s=i.unicode;i.lastIndex=0}for(var c=[];;){var u=N(i,o);if(null===u)break;if(c.push(u),!a)break;""===String(u[0])&&(i.lastIndex=D(o,E(i.lastIndex),s))}for(var l,d="",p=0,f=0;f")+'" target="_blank" tabindex="-1">'+Object(g.encodeHtml)(this.name)+"
":n?Object(g.encodeHtml)(this.name):this.name:(i=this.email,""!==this.name?t?i=Object(g.encodeHtml)('"'+this.name+'" <')+'")+'" target="_blank" tabindex="-1">'+Object(g.encodeHtml)(i)+""+Object(g.encodeHtml)(">"):(i='"'+this.name+'" <'+i+">",n&&(i=Object(g.encodeHtml)(i))):t&&(i=''+Object(g.encodeHtml)(this.email)+""))),i},o.splitEmailLine=function(e){var t=f()(e);if(Object(g.isNonEmptyArray)(t)){var n=[],i=!1;return a()(t).call(t,function(e){var t=e.address?new o(e.address.replace(/^[<]+(.*)[>]+$/g,"$1"),e.name||""):null;t&&t.email&&(i=!0),n.push(t?t.toLine(!1):e.name)}),i?n:null}return null},o.parseEmailLine=function(e){var t=f()(e);return Object(g.isNonEmptyArray)(t)?d.a.compact(r()(d.a).call(d.a,t,function(e){return e.address?new o(e.address.replace(/^[<]+(.*)[>]+$/g,"$1"),e.name||""):null})):[]},e.parse=function(e){if(""===(e=Object(g.trim)(e)))return!1;var t=f()(e);return!(!Object(g.isNonEmptyArray)(t)||!t[0])&&(this.name=t[0].name||"",this.email=t[0].address||"",this.clearDuplicateName(),!0)},o}()},,function(e,t,n){var i=n(57);e.exports=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(82),o=n(136),r=n(153);e.exports=i?function(e,t,n){return o.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n(12),o=n.n(i),r=n(33),a=n(10),s=n(1),c=n(2),u=n(0),l=function(i){function e(e){var t,n;((t=i.call(this)||this).value=e.value||"",t.size=e.size||0,t.label=e.label||"",t.preLabel=e.preLabel||"",t.enable=!!Object(c.isUnd)(e.enable)||e.enable,t.trigger=e.trigger&&e.trigger.subscribe?e.trigger:null,t.placeholder=e.placeholder||"",t.labeled=!Object(c.isUnd)(e.label),t.preLabeled=!Object(c.isUnd)(e.preLabel),t.triggered=!Object(c.isUnd)(e.trigger)&&!!t.trigger,t.classForTrigger=s.a.observable(""),t.className=s.a.computed(function(){var e=s.a.unwrap(t.size);return(0n;){var i,o,r,a=g[n++],s=t?a.ok:a.fail,c=a.resolve,u=a.reject,l=a.domain;try{s?(t||(2===p.rejection&&ne(d,p),p.rejection=1),!0===s?i=e:(l&&l.enter(),i=s(e),l&&(l.exit(),r=!0)),i===a.promise?u(G("Promise-chain cycle")):(o=J(i))?o.call(i,c,u):c(i)):u(e)}catch(e){l&&!r&&l.exit(),u(e)}}p.reactions=[],p.notified=!1,f&&!p.rejection&&ee(d,p)})}},Z=function(e,t,n){var i,o;W?((i=H.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),u.dispatchEvent(i)):i={promise:t,reason:n},(o=u["on"+e])?o(i):e===Y&&x("Unhandled promise rejection",n)},ee=function(n,i){T.call(u,function(){var e,t=i.value;if(te(i)&&(e=j(function(){K?B.emit("unhandledRejection",t,n):Z(Y,n,t)}),i.rejection=K||te(i)?2:1,e.error))throw e.value})},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){T.call(u,function(){K?B.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)})},ie=function(t,n,i,o){return function(e){t(n,i,e,o)}},oe=function(e,t,n,i){t.done||(t.done=!0,i&&(t=i),t.value=n,t.state=2,Q(e,t,!0))},re=function(n,i,e,t){if(!i.done){i.done=!0,t&&(i=t);try{if(n===e)throw G("Promise can't be resolved itself");var o=J(e);o?C(function(){var t={done:!1};try{o.call(e,ie(re,n,t,i),ie(oe,n,t,i))}catch(e){oe(n,t,e,i)}}):(i.value=e,i.state=1,Q(n,i,!1))}catch(e){oe(n,{done:!1},e,i)}}};$&&(U=function(e){v(this,U,k),b(e),i.call(this);var t=L(this);try{e(ie(re,this,t),ie(oe,this,t))}catch(e){oe(this,t,e)}},(i=function(e){M(this,{type:k,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(U.prototype,{then:function(e,t){var n=F(this),i=q(A(this,U));return i.ok="function"!=typeof e||e,i.fail="function"==typeof t&&t,i.domain=K?B.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&Q(this,n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i,t=L(e);this.promise=e,this.resolve=ie(re,e,t),this.reject=ie(oe,e,t)},E.f=q=function(e){return e===U||e===r?new o(e):z(e)},c||"function"!=typeof d||(a=d.prototype.then,p(d.prototype,"then",function(e,t){var n=this;return new U(function(e,t){a.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return _(U,V.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:$},{Promise:U}),g(U,k,!1,!0),h(k),r=l(k),s({target:k,stat:!0,forced:$},{reject:function(e){var t=q(this);return t.reject.call(void 0,e),t.promise}}),s({target:k,stat:!0,forced:c||$},{resolve:function(e){return _(c&&this===r?U:this,e)}}),s({target:k,stat:!0,forced:X},{all:function(e){var s=this,t=q(s),c=t.resolve,u=t.reject,n=j(function(){var i=b(s.resolve),o=[],r=0,a=1;w(e,function(e){var t=r++,n=!1;o.push(void 0),a++,i.call(s,e).then(function(e){n||(n=!0,o[t]=e,--a||c(o))},u)}),--a||c(o)});return n.error&&u(n.value),t.promise},race:function(e){var n=this,i=q(n),o=i.reject,t=j(function(){var t=b(n.resolve);w(e,function(e){t.call(n,e).then(i.resolve,o)})});return t.error&&o(t.value),i.promise}})},function(e,t,n){var i=n(199);e.exports=function(e){return Object(i(e))}},,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var o=n(44);e.exports=function(e,t){if(!o(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!o(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var i=n(47),o=n(36),r=n(101);e.exports=!i&&!o(function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(27),o=n(91),r="__core-js_shared__",a=i[r]||o(r,{});e.exports=a},function(e,t,n){var i=n(78),o=n(126);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+i).toString(36)}},function(e,t,n){var i=n(36),o=/#|\.prototype\./,r=function(e,t){var n=s[a(e)];return n==u||n!=c&&("function"==typeof t?i(t):!!t)},a=r.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=r.data={},c=r.NATIVE="N",u=r.POLYFILL="P";e.exports=r},function(e,t,n){var i=n(36);e.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},function(e,t,n){var i=n(93),o=n(50),r=n(32)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),r))?n:a?o(t):"Object"==(i=o(t))&&"function"==typeof t.callee?"Arguments":i}},function(e,t,n){var i,o,r,a=n(27),s=n(36),c=n(50),u=n(103),l=n(141),d=n(101),p=n(133),f=a.location,g=a.setImmediate,h=a.clearImmediate,m=a.process,b=a.MessageChannel,v=a.Dispatch,S=0,y={},w="onreadystatechange",O=function(e){if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},A=function(e){return function(){O(e)}},T=function(e){O(e.data)},C=function(e){a.postMessage(e+"",f.protocol+"//"+f.host)};g&&h||(g=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return y[++S]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},i(S),S},h=function(e){delete y[e]},"process"==c(m)?i=function(e){m.nextTick(A(e))}:v&&v.now?i=function(e){v.now(A(e))}:b&&!p?(r=(o=new b).port2,o.port1.onmessage=T,i=u(r.postMessage,r,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(C)?i=w in d("script")?function(e){l.appendChild(d("script"))[w]=function(){l.removeChild(this),O(e)}}:function(e){setTimeout(A(e),0)}:(i=C,a.addEventListener("message",T,!1))),e.exports={set:g,clear:h}},function(e,t,n){var i=n(104);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(i)},function(e,t,n){"use strict";n(45);var d=n(53),p=n(36),f=n(32),g=n(110),h=n(49),m=f("species"),b=!p(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")}),v="$0"==="a".replace(/./,"$0"),i=f("replace"),S=!!/./[i]&&""===/./[i]("a","$0"),y=!p(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});e.exports=function(n,e,t,i){var o=f(n),r=!p(function(){var e={};return e[o]=function(){return 7},7!=""[n](e)}),a=r&&!p(function(){var e=!1,t=/a/;return"split"===n&&((t={constructor:{}}).constructor[m]=function(){return t},t.flags="",t[o]=/./[o]),t.exec=function(){return e=!0,null},t[o](""),!e});if(!r||!a||"replace"===n&&(!b||!v||S)||"split"===n&&!y){var s=/./[o],c=t(o,""[n],function(e,t,n,i,o){return t.exec===g?r&&!o?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}},{REPLACE_KEEPS_$0:v,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:S}),u=c[0],l=c[1];d(String.prototype,n,u),d(RegExp.prototype,o,2==e?function(e,t){return l.call(e,this,t)}:function(e){return l.call(e,this)})}i&&h(RegExp.prototype[o],"sham",!0)}},function(e,t,n){var o=n(50),r=n(110);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){var i=n(82),o=n(236),r=n(154),a=n(200),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n(69),o=n.n(i),r=n(26),a=n.n(r),s=n(17),c=n(3),u=n.n(c),l=n(161),d=n.n(l),p=n(2),f=function(){function e(e,t){void 0===t&&(t=[]),Object(s.a)(this,"oCross",null),Object(s.a)(this,"sScreenName",void 0),Object(s.a)(this,"aViewModels",void 0),this.sScreenName=e,this.aViewModels=Object(p.isArray)(t)?t:[]}var t=e.prototype;return t.viewModels=function(){return this.aViewModels},t.screenName=function(){return this.sScreenName},t.routes=function(){return null},t.__cross=function(){return this.oCross},t.__start=function(){var t=null,n=null,e=this.routes();Object(p.isNonEmptyArray)(e)&&(n=a()(u.a).call(u.a,this.onRoute||p.noop,this),t=d.a.create(),o()(e).call(e,function(e){e&&t&&(t.addRoute(e[0],n).rules=e[1])}),this.oCross=t)},e}()},function(e,t,n){e.exports=n(333)},function(e,t){e.exports=window.ssm},function(e,t,n){var a=n(42),s=n(71),c=n(165).indexOf,u=n(102);e.exports=function(e,t){var n,i=s(e),o=0,r=[];for(n in i)!a(u,n)&&a(i,n)&&r.push(n);for(;t.length>o;)a(i,n=t[o++])&&(~c(r,n)||r.push(n));return r}},function(e,t,n){var i=n(59);e.exports=i("document","documentElement")},function(e,t,n){var f=n(37),g=n(190),h=n(72),m=n(103),b=n(191),v=n(192),S=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,i,o){var r,a,s,c,u,l,d,p=m(t,n,i?2:1);if(o)r=e;else{if("function"!=typeof(a=b(e)))throw TypeError("Target is not iterable");if(g(a)){for(s=0,c=h(e.length);s"+e+""},m=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;m=i?function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t}(i):((t=u("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete m[d][a[n]];return m()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[d]=o(e),n=new g,g[d]=null,n[f]=e):n=m(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(42),o=n(119),r=n(107),a=n(228),s=r("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),i(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,n){var i,o,r=n(27),a=n(104),s=r.process,c=s&&s.versions,u=c&&c.v8;u?o=(i=u.split("."))[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||74<=i[1])&&(i=a.match(/Chrome\/(\d+)/))&&(o=i[1]),e.exports=o&&+o},function(e,t,n){"use strict";var i=n(185).charAt;e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(76);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t){e.exports={}},function(e,t,n){var i=n(198);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(57),o=n(68)("species");e.exports=function(t){return!i(function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},function(e,t,n){var y=n(238),w=n(197),O=n(121),A=n(112),T=n(250),C=[].push,i=function(f){var g=1==f,h=2==f,m=3==f,b=4==f,v=6==f,S=5==f||v;return function(e,t,n,i){for(var o,r,a=O(e),s=w(a),c=y(t,n,3),u=A(s.length),l=0,d=i||T,p=g?d(e,u):h?d(e,0):void 0;l",",":"",":":";",";":""},r=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.str=(e||"").toString(),this.operatorCurrent="",this.operatorExpecting="",this.node=null,this.escaped=!1,this.list=[]}return i(t,[{key:"tokenize",value:function(){for(var e=void 0,t=[],n=0,i=this.str.length;n>>0;if(0===i)return[];if(void 0===e)return[n];if(!d(e))return m.call(n,e,i);for(var o,r,a,s=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,l=new RegExp(e.source,c+"g");(o=f.call(l,n))&&!(u<(r=l.lastIndex)&&(s.push(n.slice(u,o.index)),1=i));)l.lastIndex===o.index&&l.lastIndex++;return u===n.length?!a&&l.test("")||s.push(""):s.push(n.slice(u)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:m.call(this,e,t)}:m,[function(e,t){var n=p(this),i=null==e?void 0:e[o];return void 0!==i?i.call(e,n,t):v.call(String(n),e,t)},function(e,t){var n=b(v,e,this,t,v!==m);if(n.done)return n.value;var i=S(e),o=String(this),r=y(i,RegExp),a=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_?"y":"g"),c=new r(_?i:"^(?:"+i.source+")",s),u=void 0===t?C:t>>>0;if(0===u)return[];if(0===o.length)return null===A(c,o)?[o]:[];for(var l=0,d=0,p=[];d=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}},"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var o=n(53);e.exports=function(e,t,n){for(var i in t)o(e,i,t[i],n);return e}},function(e,t,n){"use strict";var i=n(59),o=n(52),r=n(32),a=n(47),s=r("species");e.exports=function(e){var t=i(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var i=n(32),o=n(73),r=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[r]===e)}},function(e,t,n){var i=n(131),o=n(73),r=n(32)("iterator");e.exports=function(e){if(null!=e)return e[r]||e["@@iterator"]||o[i(e)]}},function(e,t,n){var r=n(37);e.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(e,t,n){var o=n(32)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){r=!0}};a[o]=function(){return this},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){var i,o,r,a,s,c,u,l,d=n(27),p=n(89).f,f=n(50),g=n(132).set,h=n(133),m=d.MutationObserver||d.WebKitMutationObserver,b=d.process,v=d.Promise,S="process"==f(b),y=p(d,"queueMicrotask"),w=y&&y.value;w||(i=function(){var e,t;for(S&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():r=void 0,e}}r=void 0,e&&e.enter()},a=S?function(){b.nextTick(i)}:m&&!h?(s=!0,c=document.createTextNode(""),new m(i).observe(c,{characterData:!0}),function(){c.data=s=!s}):v&&v.resolve?(u=v.resolve(void 0),l=u.then,function(){l.call(u,i)}):function(){g.call(d,i)}),e.exports=w||function(e){var t={fn:e,next:void 0};r&&(r.next=t),o||(o=t,a()),r=t}},function(e,t,n){var i=n(27);e.exports=function(e,t){var n=i.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var i=n(134),d=n(37),p=n(72),o=n(55),f=n(152),g=n(135);i("match",1,function(i,u,l){return[function(e){var t=o(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},function(e){var t=l(u,e,this);if(t.done)return t.value;var n=d(e),i=String(this);if(!n.global)return g(n,i);for(var o,r=n.unicode,a=[],s=n.lastIndex=0;null!==(o=g(n,i));){var c=String(o[0]);""===(a[s]=c)&&(n.lastIndex=f(i,p(n.lastIndex),r)),s++}return 0===s?null:a}]})},function(e,t,n){var i=n(57),o=n(198),r="".split;e.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?r.call(e,""):Object(e)}:Object},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var o=n(76);e.exports=function(e,t){if(!o(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!o(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0'+this.editor.getData()+"":this.editor.getData()}catch(e){}return t},t.getDataWithHtmlMark=function(e){return void 0===e&&(e=!1),(this.isHtml()?":HTML:":"")+this.getData(e)},t.modeToggle=function(e,t){if(this.editor){try{e?"plain"===this.editor.mode&&this.editor.setMode("wysiwyg"):"wysiwyg"===this.editor.mode&&this.editor.setMode("plain")}catch(e){}t&&this.resize()}},t.setHtmlOrPlain=function(e,t){":HTML:"===e.substr(0,6)?this.setHtml(e.substr(6),t):this.setPlain(e,t)},t.setHtml=function(e,t){if(this.editor&&this.__inited){this.clearCachedSignature(),this.modeToggle(!0),e=e.replace(/]*><\/p>/gi,"");try{this.editor.setData(e)}catch(e){}t&&this.focus()}},t.replaceHtml=function(e,t){if(this.editor&&this.__inited&&"wysiwyg"===this.editor.mode)try{this.editor.setData(this.editor.getData().replace(e,t))}catch(e){}},t.setPlain=function(e,t){if(this.editor&&this.__inited){if(this.clearCachedSignature(),this.modeToggle(!1),"plain"===this.editor.mode&&this.editor.plugins.plain&&this.editor.__plain)this.editor.__plain.setRawData(e);else try{this.editor.setData(e)}catch(e){}t&&this.focus()}},t.init=function(){var o=this;if(this.element&&!this.editor){var e=function(){var e=p.htmlEditorDefaultConfig,t=g.settingsGet("Language"),n=!!g.appSettingsGet("allowHtmlEditorSourceButton"),i=!!g.appSettingsGet("allowHtmlEditorBitiButtons");!n&&i||e.toolbarGroups.__cfgInited||(e.toolbarGroups.__cfgInited=!0,n&&(e.removeButtons=e.removeButtons.replace(",Source","")),i||(e.removePlugins+=(e.removePlugins?",":"")+"bidi")),e.enterMode=s.a.CKEDITOR.ENTER_BR,e.shiftEnterMode=s.a.CKEDITOR.ENTER_P,e.language=p.htmlEditorLangsMap[(t||"en").toLowerCase()]||"en",s.a.CKEDITOR.env&&(s.a.CKEDITOR.env.isCompatible=!0),o.editor=s.a.CKEDITOR.appendTo(o.element,e),o.editor.on("key",function(e){return!e||!e.data||f.EventKeyCode.Tab!==e.data.keyCode}),o.editor.on("blur",function(){o.blurTrigger()}),o.editor.on("mode",function(){o.blurTrigger(),o.onModeChange&&o.onModeChange("plain"!==o.editor.mode)}),o.editor.on("focus",function(){o.focusTrigger()}),s.a.FileReader&&o.editor.on("drop",function(e){if(0')},i.readAsDataURL(t),e.data.dataTransfer.setData("text/html",n)}}}),o.editor.on("instanceReady",function(){o.editor.removeMenuItem&&(o.editor.removeMenuItem("cut"),o.editor.removeMenuItem("copy"),o.editor.removeMenuItem("paste")),o.__resizable=!0,o.__inited=!0,o.resize(),o.onReady&&o.onReady()})};s.a.CKEDITOR?e():s.a.__initEditor=e}},t.focus=function(){if(this.editor)try{this.editor.focus()}catch(e){}},t.hasFocus=function(){if(this.editor)try{return!!this.editor.focusManager.hasFocus}catch(e){}return!1},t.blur=function(){if(this.editor)try{this.editor.focusManager.blur(!0)}catch(e){}},t.resizeEditor=function(){if(this.editor&&this.__resizable)try{this.editor.resize(this.$element.width(),this.$element.innerHeight())}catch(e){}},t.setReadOnly=function(e){if(this.editor)try{this.editor.setReadOnly(!!e)}catch(e){}},t.clear=function(e){this.setHtml("",e)},e}()},function(e,t,n){e.exports=n(285)},function(e,t,n){e.exports=n(323)},function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n(4),o=n.n(i).a.Opentip||{};o.styles=o.styles||{},o.styles.rainloop={extends:"standard",fixed:!0,target:!0,delay:.2,hideDelay:0,hideEffect:"fade",hideEffectDuration:.2,showEffect:"fade",showEffectDuration:.2,showOn:"mouseover click",removeElementsOnHide:!0,background:"#fff",shadow:!1,borderColor:"#999",borderRadius:2,borderWidth:1},o.styles.rainloopTip={extends:"rainloop",delay:.4,group:"rainloopTips"},o.styles.rainloopErrorTip={extends:"rainloop",className:"rainloopErrorTip"}},function(y,e,w){!function(e,t){"use strict";var n,r,a,s,p,u,c,i,l,f,g,b,U,G,H,B,d,o,h,m,V,q,v,S;try{n=w(97)}catch(e){}y.exports=(a="function"==typeof(r=n),s=!!window.addEventListener,p=window.document,u=window.setTimeout,c=function(e,t,n,i){s?e.addEventListener(t,n,!!i):e.attachEvent("on"+t,n)},i=function(e,t,n,i){s?e.removeEventListener(t,n,!!i):e.detachEvent("on"+t,n)},l=function(e,t){return-1!==(" "+e.className+" ").indexOf(" "+t+" ")},f=function(e,t){l(e,t)||(e.className=""===e.className?t:e.className+" "+t)},g=function(e,t){var n;e.className=(n=(" "+e.className+" ").replace(" "+t+" "," ")).trim?n.trim():n.replace(/^\s+|\s+$/g,"")},m={field:null,bound:void 0,ariaLabel:"Use the arrow keys to pick a date",position:"bottom left",reposition:!0,format:"YYYY-MM-DD",toString:null,parse:null,defaultDate:null,setDefaultDate:!(h=function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),11';t.push("is-outside-current-month"),e.enableSelectionDaysInNextAndPreviousMonths||t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),n="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'"},v=function(e,t,n,i,o,r){var a,s,c,u,l,d=e._o,p=n===d.minYear,f=n===d.maxYear,g='
',h=!0,m=!0;for(c=[],a=0;a<12;a++)c.push('");for(u='
'+d.i18n.months[i]+'
",s=b(d.yearRange)?(a=d.yearRange[0],d.yearRange[1]+1):(a=n-d.yearRange,1+n+d.yearRange),c=[];a=d.minYear&&c.push('");return l='
'+n+d.yearSuffix+'
",d.showMonthAfterYear?g+=l+u:g+=u+l,p&&(0===i||d.minMonth>=i)&&(h=!1),f&&(11===i||d.maxMonth<=i)&&(m=!1),0===t&&(g+='"),t===e._o.numberOfMonths-1&&(g+='"),g+="
"},(S=function(e){var i=this,o=i.config(e);i._onMouseDown=function(e){if(i._v){var t=(e=e||window.event).target||e.srcElement;if(t)if(l(t,"is-disabled")||(!l(t,"pika-button")||l(t,"is-empty")||l(t.parentNode,"is-disabled")?l(t,"pika-prev")?i.prevMonth():l(t,"pika-next")&&i.nextMonth():(i.setDate(new Date(t.getAttribute("data-pika-year"),t.getAttribute("data-pika-month"),t.getAttribute("data-pika-day"))),o.bound&&u(function(){i.hide(),o.blurFieldOnSelect&&o.field&&o.field.blur()},100))),l(t,"pika-select"))i._c=!0;else{if(!e.preventDefault)return e.returnValue=!1;e.preventDefault()}}},i._onChange=function(e){var t=(e=e||window.event).target||e.srcElement;t&&(l(t,"pika-select-month")?i.gotoMonth(t.value):l(t,"pika-select-year")&&i.gotoYear(t.value))},i._onKeyChange=function(e){if(e=e||window.event,i.isVisible())switch(e.keyCode){case 13:case 27:o.field&&o.field.blur();break;case 37:e.preventDefault(),i.adjustDate("subtract",1);break;case 38:i.adjustDate("subtract",7);break;case 39:i.adjustDate("add",1);break;case 40:i.adjustDate("add",7)}},i._onInputChange=function(e){var t;e.firedBy!==i&&(t=o.parse?o.parse(o.field.value,o.format):a?(t=r(o.field.value,o.format,o.formatStrict))&&t.isValid()?t.toDate():null:new Date(Date.parse(o.field.value)),U(t)&&i.setDate(t),i._v||i.show())},i._onInputFocus=function(){i.show()},i._onInputClick=function(){i.show()},i._onInputBlur=function(){var e=p.activeElement;do{if(l(e,"pika-single"))return}while(e=e.parentNode);i._c||(i._b=u(function(){i.hide()},50)),i._c=!1},i._onClick=function(e){var t=(e=e||window.event).target||e.srcElement,n=t;if(t){!s&&l(t,"pika-select")&&(t.onchange||(t.setAttribute("onchange","return;"),c(t,"change",i._onChange)));do{if(l(n,"pika-single")||n===o.trigger)return}while(n=n.parentNode);i._v&&t!==o.trigger&&n!==o.trigger&&i.hide()}},i.el=p.createElement("div"),i.el.className="pika-single"+(o.isRTL?" is-rtl":"")+(o.theme?" "+o.theme:""),c(i.el,"mousedown",i._onMouseDown,!0),c(i.el,"touchend",i._onMouseDown,!0),c(i.el,"change",i._onChange),o.keyboardInput&&c(p,"keydown",i._onKeyChange),o.field&&(o.container?o.container.appendChild(i.el):o.bound?p.body.appendChild(i.el):o.field.parentNode.insertBefore(i.el,o.field.nextSibling),c(o.field,"change",i._onInputChange),o.defaultDate||(a&&o.field.value?o.defaultDate=r(o.field.value,o.format).toDate():o.defaultDate=new Date(Date.parse(o.field.value)),o.setDefaultDate=!0));var t=o.defaultDate;U(t)?o.setDefaultDate?i.setDate(t,!0):i.gotoDate(t):i.gotoDate(new Date),o.bound?(this.hide(),i.el.className+=" is-bound",c(o.trigger,"click",i._onInputClick),c(o.trigger,"focus",i._onInputFocus),c(o.trigger,"blur",i._onInputBlur)):this.show()}).prototype={config:function(e){this._o||(this._o=d({},m,!0));var t=d(this._o,e,!0);t.isRTL=!!t.isRTL,t.field=t.field&&t.field.nodeName?t.field:null,t.theme="string"==typeof t.theme&&t.theme?t.theme:null,t.bound=!!(void 0!==t.bound?t.field&&t.bound:t.field),t.trigger=t.trigger&&t.trigger.nodeName?t.trigger:t.field,t.disableWeekends=!!t.disableWeekends,t.disableDayFn="function"==typeof t.disableDayFn?t.disableDayFn:null;var n=parseInt(t.numberOfMonths,10)||1;if(t.numberOfMonths=4=o&&(this._y=o,!isNaN(a)&&this._m>a&&(this._m=a)),t="pika-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var c=0;c'+v(this,c,this.calendars[c].year,this.calendars[c].month,this.calendars[0].year,t)+this.render(this.calendars[c].year,this.calendars[c].month,t)+"";this.el.innerHTML=s,n.bound&&"hidden"!==n.field.type&&u(function(){n.trigger.focus()},1),"function"==typeof this._o.onDraw&&this._o.onDraw(this),n.bound&&n.field.setAttribute("aria-label",n.ariaLabel)}},adjustPosition:function(){var e,t,n,i,o,r,a,s,c,u,l,d;if(!this._o.container){if(this.el.style.position="absolute",t=e=this._o.trigger,n=this.el.offsetWidth,i=this.el.offsetHeight,o=window.innerWidth||p.documentElement.clientWidth,r=window.innerHeight||p.documentElement.clientHeight,a=window.pageYOffset||p.body.scrollTop||p.documentElement.scrollTop,d=l=!0,"function"==typeof e.getBoundingClientRect)s=(u=e.getBoundingClientRect()).left+window.pageXOffset,c=u.bottom+window.pageYOffset;else for(s=t.offsetLeft,c=t.offsetTop+t.offsetHeight;t=t.offsetParent;)s+=t.offsetLeft,c+=t.offsetTop;(this._o.reposition&&oi.maxDate||i.disableWeekends&&(0===(O=x.getDay())||6===O)||i.disableDayFn&&i.disableDayFn(x),isEmpty:N,isStartRange:k,isEndRange:L,isInRange:M,showDaysInNextAndPreviousMonths:i.showDaysInNextAndPreviousMonths,enableSelectionDaysInNextAndPreviousMonths:i.enableSelectionDaysInNextAndPreviousMonths};i.pickWholeWeek&&E&&(T=!0),c.push(q(F)),7==++_&&(i.showWeekNumber&&c.unshift((v=C-a,S=t,y=e,w=void 0,w=new Date(y,0,1),''+Math.ceil(((new Date(y,S,v)-w)/864e5+w.getDay()+1)/7)+"")),s.push((m=c,b=i.isRTL,''+(b?m.reverse():m).join("")+"")),_=0,T=!(c=[]))}return A=s,''+function(e){var t,n=[];for(e.showWeekNumber&&n.push(""),t=0;t<7;t++)n.push('");return""+(e.isRTL?n.reverse():n).join("")+""}(i)+""+A.join("")+"
'+V(e,t,!0)+"
"},isVisible:function(){return this._v},show:function(){this.isVisible()||(this._v=!0,this.draw(),g(this.el,"is-hidden"),this._o.bound&&(c(p,"click",this._onClick),this.adjustPosition()),"function"==typeof this._o.onOpen&&this._o.onOpen.call(this))},hide:function(){var e=this._v;!1!==e&&(this._o.bound&&i(p,"click",this._onClick),this.el.style.position="static",this.el.style.left="auto",this.el.style.top="auto",f(this.el,"is-hidden"),this._v=!1,void 0!==e&&"function"==typeof this._o.onClose&&this._o.onClose.call(this))},destroy:function(){var e=this._o;this.hide(),i(this.el,"mousedown",this._onMouseDown,!0),i(this.el,"touchend",this._onMouseDown,!0),i(this.el,"change",this._onChange),e.keyboardInput&&i(p,"keydown",this._onKeyChange),e.field&&(i(e.field,"change",this._onInputChange),e.bound&&(i(e.trigger,"click",this._onInputClick),i(e.trigger,"focus",this._onInputFocus),i(e.trigger,"blur",this._onInputBlur))),this.el.parentNode&&this.el.parentNode.removeChild(this.el)}},S)}()},function(e,t){e.exports=window.Autolinker},function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i={eml:"message/rfc822",mime:"message/rfc822",txt:"text/plain",text:"text/plain",def:"text/plain",list:"text/plain",in:"text/plain",ini:"text/plain",log:"text/plain",sql:"text/plain",cfg:"text/plain",conf:"text/plain",asc:"text/plain",rtx:"text/richtext",vcard:"text/vcard",vcf:"text/vcard",htm:"text/html",html:"text/html",csv:"text/csv",ics:"text/calendar",ifb:"text/calendar",xml:"text/xml",json:"application/json",swf:"application/x-shockwave-flash",hlp:"application/winhlp",wgt:"application/widget",chm:"application/vnd.ms-htmlhelp",p10:"application/pkcs10",p7c:"application/pkcs7-mime",p7m:"application/pkcs7-mime",p7s:"application/pkcs7-signature",torrent:"application/x-bittorrent",js:"application/javascript",pl:"text/perl",css:"text/css",asp:"text/asp",php:"application/x-httpd-php",php3:"application/x-httpd-php",php4:"application/x-httpd-php",php5:"application/x-httpd-php",phtml:"application/x-httpd-php",png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",jpe:"image/jpeg",jfif:"image/jpeg",gif:"image/gif",bmp:"image/bmp",cgm:"image/cgm",ief:"image/ief",ico:"image/x-icon",tif:"image/tiff",tiff:"image/tiff",svg:"image/svg+xml",svgz:"image/svg+xml",djv:"image/vnd.djvu",djvu:"image/vnd.djvu",webp:"image/webp",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",exe:"application/x-msdownload",dll:"application/x-msdownload",scr:"application/x-msdownload",com:"application/x-msdownload",bat:"application/x-msdownload",msi:"application/x-msdownload",cab:"application/vnd.ms-cab-compressed",gz:"application/x-gzip",tgz:"application/x-gzip",bz:"application/x-bzip",bz2:"application/x-bzip2",deb:"application/x-debian-package",psf:"application/x-font-linux-psf",otf:"application/x-font-otf",pcf:"application/x-font-pcf",snf:"application/x-font-snf",ttf:"application/x-font-ttf",ttc:"application/x-font-ttf",mp3:"audio/mpeg",amr:"audio/amr",aac:"audio/x-aac",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",wav:"audio/x-wav",wma:"audio/x-ms-wma",wax:"audio/x-ms-wax",midi:"audio/midi",mp4a:"audio/mp4",ogg:"audio/ogg",weba:"audio/webm",ra:"audio/x-pn-realaudio",ram:"audio/x-pn-realaudio",rmp:"audio/x-pn-realaudio-plugin",m3u:"audio/x-mpegurl",flv:"video/x-flv",qt:"video/quicktime",mov:"video/quicktime",wmv:"video/windows-media",avi:"video/x-msvideo",mpg:"video/mpeg",mpeg:"video/mpeg",mpe:"video/mpeg",m1v:"video/mpeg",m2v:"video/mpeg","3gp":"video/3gpp","3g2":"video/3gpp2",h261:"video/h261",h263:"video/h263",h264:"video/h264",jpgv:"video/jpgv",mp4:"video/mp4",mp4v:"video/mp4",mpg4:"video/mp4",ogv:"video/ogg",webm:"video/webm",m4v:"video/x-m4v",asf:"video/x-ms-asf",asx:"video/x-ms-asf",wm:"video/x-ms-wm",wmx:"video/x-ms-wmx",wvx:"video/x-ms-wvx",movie:"video/x-sgi-movie",pdf:"application/pdf",psd:"image/vnd.adobe.photoshop",ai:"application/postscript",eps:"application/postscript",ps:"application/postscript",doc:"application/msword",dot:"application/msword",rtf:"application/rtf",xls:"application/vnd.ms-excel",ppt:"application/vnd.ms-powerpoint",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",odt:"application/vnd.oasis.opendocument.text",ods:"application/vnd.oasis.opendocument.spreadsheet"}},,function(e,t,n){var i=n(140),o=n(108);e.exports=Object.keys||function(e){return i(e,o)}},function(e,t,n){var i=n(32),o=n(149),r=n(52),a=i("unscopables"),s=Array.prototype;null==s[a]&&r.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t,n){"use strict";var b=n(48),v=n(227),S=n(150),y=n(218),w=n(109),O=n(49),A=n(53),i=n(32),T=n(78),C=n(73),o=n(167),_=o.IteratorPrototype,x=o.BUGGY_SAFARI_ITERATORS,E=i("iterator"),j="values",D=function(){return this};e.exports=function(e,t,n,i,o,r,a){v(n,t,i);var s,c,u,l=function(e){if(e===o&&h)return h;if(!x&&e in f)return f[e];switch(e){case"keys":case j:case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,f=e.prototype,g=f[E]||f["@@iterator"]||o&&f[o],h=!x&&g||l(o),m="Array"==t&&f.entries||g;if(m&&(s=S(m.call(new e)),_!==Object.prototype&&s.next&&(T||S(s)===_||(y?y(s,_):"function"!=typeof s[E]&&O(s,E,D)),w(s,d,!0,!0),T&&(C[d]=D))),o==j&&g&&g.name!==j&&(p=!0,h=function(){return g.call(this)}),T&&!a||f[E]===h||O(f,E,h),C[t]=h,o)if(c={values:l(j),keys:r?h:l("keys"),entries:l("entries")},a)for(u in c)!x&&!p&&u in f||A(f,u,c[u]);else b({target:t,proto:!0,forced:x||p},c);return c}},function(e,t,n){var o=n(37),r=n(229);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),i=e instanceof Array}catch(e){}return function(e,t){return o(e),r(t),i?n.call(e,t):e.__proto__=t,e}}():void 0)},function(e,t,n){n(220);var i=n(308),o=n(75),r=n(83),a=n(155),s=n(68)("toStringTag");for(var c in i){var u=o[c],l=u&&u.prototype;l&&!l[s]&&r(l,s,c),a[c]=a.Array}},function(e,t,n){"use strict";var i=n(94),o=n(239),r=n(155),a=n(292),s=n(296),c="Array Iterator",u=a.set,l=a.getterFor(c);e.exports=s(Array,"Array",function(e,t){u(this,{type:c,target:i(e),index:0,kind:t})},function(){var e=l(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}},"values"),r.Arguments=r.Array,o("keys"),o("values"),o("entries")},function(e,t,n){"use strict";n.r(t),n.d(t,"AskPopupView",function(){return f}),n.d(t,"default",function(){return f});var i,o=n(10),r=n(1),a=n(21),s=n.n(a),c=n(0),u=n(2),l=n(9),d=n(7),p=n(28),f=Object(d.popup)({name:"View/Popup/Ask",templateID:"PopupsAsk"})(i=function(t){function e(){var e;return(e=t.call(this)||this).askDesc=r.a.observable(""),e.yesButton=r.a.observable(""),e.noButton=r.a.observable(""),e.yesFocus=r.a.observable(!1),e.noFocus=r.a.observable(!1),e.fYesAction=null,e.fNoAction=null,e.bFocusYesOnShow=!0,e.bDisabeCloseOnEsc=!0,e.sDefaultKeyScope=c.KeyState.PopupAsk,e}Object(o.a)(e,t);var n=e.prototype;return n.clearPopup=function(){this.askDesc(""),this.yesButton(Object(l.i18n)("POPUPS_ASK/BUTTON_YES")),this.noButton(Object(l.i18n)("POPUPS_ASK/BUTTON_NO")),this.yesFocus(!1),this.noFocus(!1),this.fYesAction=null,this.fNoAction=null},n.yesClick=function(){this.cancelCommand(),Object(u.isFunc)(this.fYesAction)&&this.fYesAction.call(null)},n.noClick=function(){this.cancelCommand(),Object(u.isFunc)(this.fNoAction)&&this.fNoAction.call(null)},n.onShow=function(e,t,n,i,o,r){void 0===t&&(t=null),void 0===n&&(n=null),void 0===i&&(i=""),void 0===o&&(o=""),void 0===r&&(r=!0),this.clearPopup(),this.fYesAction=t||null,this.fNoAction=n||null,this.askDesc(e||""),i&&this.yesButton(i),o&&this.noButton(o),this.bFocusYesOnShow=!!r},n.onShowWithDelay=function(){this.bFocusYesOnShow&&this.yesFocus(!0)},n.onBuild=function(){var e=this;s()("tab, shift+tab, right, left",c.KeyState.PopupAsk,function(){return e.yesFocus()?e.noFocus(!0):e.yesFocus(!0),!1}),s()("esc",c.KeyState.PopupAsk,function(){return e.noClick(),!1})},e}(p.a))||i},,,function(e,t,n){var i=n(47),a=n(52),s=n(37),c=n(215);e.exports=i?Object.defineProperties:function(e,t){s(e);for(var n,i=c(t),o=i.length,r=0;rdocument.F=Object<\/script>"),e.close(),p=e.F;n--;)delete p[l][r[n]];return p()};e.exports=Object.create||function(e,t){var n;return null!==e?(d[l]=i(e),n=new d,d[l]=null,n[u]=e):n=p(),void 0===t?n:o(n,t)},a[u]=!0},function(e,t,n){var i=n(301),o=n(247);e.exports=Object.keys||function(e){return i(e,o)}},function(e,t,n){var c=n(94),u=n(112),l=n(246),i=function(s){return function(e,t,n){var i,o=c(e),r=u(o.length),a=l(n,r);if(s&&t!=t){for(;a(new l.a.Date).getTime()-c),e&&e.UpdateToken&&g.data.__APP__&&g.data.__APP__.setClientSideToken&&g.data.__APP__.setClientSideToken(e.UpdateToken),a&&r.oRequests[a]&&(r.oRequests[a].__aborted&&(t="abort"),r.oRequests[a]=null),r.defaultResponse(i,a,t,e,n,o)}),a&&0").addClass("rl-settings-view-model").hide()).appendTo(o),n.viewModelDom=r,n.__rlSettingsData=i.__rlSettingsData,i.__dom=r,i.__builded=!0,i.__vm=n;var a={name:i.__rlSettingsData.Template};l.a.applyBindingAccessorsToNode(r[0],{translatorInit:!0,template:function(){return a}},n),Object(p.delegateRun)(n,"onBuild",[r])}else Object(p.log)("Cannot find sub settings view model position: SettingsSubScreen");n&&c.a.defer(function(){e.oCurrentSubScreen&&(Object(p.delegateRun)(e.oCurrentSubScreen,"onHide"),e.oCurrentSubScreen.viewModelDom.hide()),e.oCurrentSubScreen=n,e.oCurrentSubScreen&&(Object(p.delegateRun)(e.oCurrentSubScreen,"onBeforeShow"),e.oCurrentSubScreen.viewModelDom.show(),Object(p.delegateRun)(e.oCurrentSubScreen,"onShow"),Object(p.delegateRun)(e.oCurrentSubScreen,"onShowWithDelay",[],200),c.a.each(e.menu(),function(e){e.selected(n&&n.__rlSettingsData&&e.route===n.__rlSettingsData.Route)}),u()("#rl-content .b-settings .b-content .content").scrollTop(0)),Object(p.windowResize)()})}else Object(g.setHash)(Object(f.z)(),!1,!0)},t.onHide=function(){this.oCurrentSubScreen&&this.oCurrentSubScreen.viewModelDom&&(Object(p.delegateRun)(this.oCurrentSubScreen,"onHide"),this.oCurrentSubScreen.viewModelDom.hide())},t.onBuild=function(){var e=this;c.a.each(d.VIEW_MODELS.settings,function(t){t&&t.__rlSettingsData&&!s()(c.a).call(c.a,d.VIEW_MODELS["settings-removed"],function(e){return e&&e===t})&&e.menu.push({route:t.__rlSettingsData.Route,label:t.__rlSettingsData.Label,selected:l.a.observable(!1),disabled:!!s()(c.a).call(c.a,d.VIEW_MODELS["settings-disabled"],function(e){return e&&e===t})})}),this.oViewModelPlace=u()("#rl-content #rl-settings-subscreen")},t.routes=function(){var e=s()(c.a).call(c.a,d.VIEW_MODELS.settings,function(e){return e&&e.__rlSettingsData&&e.__rlSettingsData.IsDefault}),n=e&&e.__rlSettingsData?e.__rlSettingsData.Route:"general",t={subname:/^(.*)$/,normalize_:function(e,t){return t.subname=Object(p.isUnd)(t.subname)?n:Object(p.pString)(t.subname),[t.subname]}};return[["{subname}/",t],["{subname}",t],["",t]]},e}(n(137).a)},function(e,t,i){"use strict";i.d(t,"a",function(){return E});var n=i(30),o=i.n(n),r=i(10),a=i(4),s=i.n(a),c=i(8),u=i.n(c),l=i(3),d=i.n(l),p=i(1),f=i(21),g=i.n(f),h=i(139),m=i.n(h),b=i(6),v=i(2),S=i(0),y=i(15),w=i(9),O=i(24),A=i(5),T=i(70),C=i(114),_=i(29),x=i(7),E=function(t){function e(){var e;return(e=t.call(this)||this).googlePreviewSupportedCache=null,e.isLocalAutocomplete=!0,e.iframe=null,e.lastErrorTime=0,e.iframe=u()('