text: {"version":3,"sources":["script.js"],"names":["window","BXMailMessageController","init","options","this","__inited","__dummyNode","document","createElement","type","pageSize","__log","a","b","details","BX","messageId","moreA","findChildByClassName","parentNode","bind","handleLogClick","moreB","items","findChildrenByClassName","i","log","getAttribute","toLowerCase","handleLogItemClick","initCreateMenu","initScrollable","__scrollable","scrollingElement","documentElement","scrollTop","scrollLeft","body","scrollBy","scrollWrapper","pos","ctrl","__animation","clearInterval","start","delta","step","setInterval","scrollTo","node1","node2","pos0","top","bottom","pos1","pos2","Math","min","event","PreventDefault","button","loadLog","separator","data","sessid","bitrix_sessid","action","id","size","mail_uf_message_token","ajax","method","url","util","add_url_param","ajaxUrl","dataType","onsuccess","json","status","innerHTML","html","marker","findNextSibling","tag","childNodes","length","item","insertBefore","nodeType","hasClass","addClass","count","style","display","scrollHeight","onfailure","target","tagName","toUpperCase","getSelection","toString","trim","selection","createRange","htmlText","toggleLogItem","wrapper","logItem","opened","removeClass","toggleClass","errors","map","message","join","response","processHTML","setTimeout","textAlign","HTML","offsetHeight","processScripts","SCRIPT","removeAttribute","removeLogItem","removeChild","maxHeight","transition","handler","createAction","createBtn","value","createMenu","__default","disable","enable","createMenuBtn","isCrmEnabled","push","binded","concat","splice","text","title","onclick","disabled","PopupMenu","show","offsetLeft","angle","closeByEsc","failHandler","error","UI","Notification","Center","notify","autoHideDelay","content","SidePanel","Instance","open","href","pr","runComponentAction","mode","then","destroy","hide","menuWindow","close","slider","getSliderByWindow","setCacheable","location","pathList","strict","BXMailMessage","self","htmlForm","formId","__wrapper","addCustomEvent","source","hideReplyForm","postMessage","emailContainerId","emailLinks","querySelectorAll","findChildren","hasOwnProperty","setAttribute","quotesList","rcptMore","replyButton","replyLink","replyAllLink","forwardLink","skipLink","spamLink","deleteLink","showReplyForm","params","forward","pathNew","uidKeyData","querySelector","uid","dataset","uidKey","markAsSpam","delete","mailForm","BXMainMailForm","getForm","handleRcptSelectorClose","handleFooterButtonClick","handleFormSubmit","handleFormSubmitSuccess","PULL","extendWatch","proxy","command","adjust","form","field","name","match","fields","selector","SocNetLogDestination","obItems","obItemsLast","elements","emptyRcpt","showError","uploads","postForm","controllers","storage","agent","upload","filesCount","err","errorNode","isArray","code","appendChild","createTextNode","prototype","getField","setValue","rcptSelected","rcptAllSelected","rcptCcSelected","onCustomEvent","btn","classList","add","ids","onMessageActionSuccess","onMessageActionError","isTrash","popupDeleteConfirm","buttons","PopupWindowButton","className","events","click","delegate","processDelete","PopupWindow","zIndex","autoHide","titleBar","create","onPopupClose","onPopupDestroy","alert","BXMailMailbox","mailbox","sync","stepper","gridId","syncLock","isDomNode","ID","updateStepper","complete","new","Main","gridManager","getInstanceById","reload","completed","stepperLine","stepperSteps","max","round","parseFloat","width","createEvent","initEvent","dispatchEvent","setupDirs","callback","imapOptions","OPTIONS","imap","dirs","dirsList","ignore","outcome","trash","spam","dirsTree","path","level","in_array","cacheable","contentCallback","promise","Promise","subhtml","placeholder","checkedSingle","flag","htmlspecialchars","fulfill","onLoad","layout","e","preventDefault","prepareForm","imap_dirs","k","array_search","singleselect","input","attr","checked","input1","label0","for","label1","skip_singleselect","getSlider","getContentContainer","selectInputs","opacity","siteDir","SITE_DIR","replace","bindAnchors","rules","condition"],"mappings":"CACC,WAEA,GAAIA,OAAOC,wBACV,OAED,IAAIA,KAEJA,EAAwBC,KAAO,SAAUC,GAExC,GAAIC,KAAKC,SACR,OAEDD,KAAKD,QAAUA,EAEfC,KAAKE,YAAcC,SAASC,cAAc,OAE1C,GAAI,QAAUJ,KAAKD,QAAQM,KAC3B,CACC,GAAIL,KAAKD,QAAQO,SAAW,GAAKN,KAAKD,QAAQO,SAAW,IACxDN,KAAKD,QAAQO,SAAW,EAEzBN,KAAKO,OAASC,EAAK,EAAGC,EAAK,GAE3B,IAAIC,EAAUC,GAAG,yBAAyBX,KAAKD,QAAQa,WAEvD,IAAIC,EAAQF,GAAGG,qBAAqBJ,EAAQK,WAAY,2BAA4B,MACpFJ,GAAGK,KAAKH,EAAO,QAASb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