text: {"version":3,"sources":["script.js"],"names":["window","repo","fileObj","d","uri","BX","type","isNotEmptyString","this","id","url","name","substr","lastIndexOf","indexOf","ext","toLowerCase","ii","hasOwnProperty","prototype","getErrorText","text","message","diskController","manager","params","location","protocol","host","urlUpload","values","propertyName","catchUF","delegate","parseUF","prepareToSaveUF","prefixHTMLNode","userTypeId","uploadBase64","options","FileUploadOptions","ft","FileTransfer","good","proxy","response","parseJSON","bad","uploadBase64Response","uploadBase64Failure","fileKey","fileName","sessid","bitrix_sessid","mimeType","chunkedMode","upload","app","BasicAuth","success","auth_data","sessid_md5","failure","onCustomEvent","status","isArray","length","data","iconUrl","util","in_array","extension","previewImageUrl","fileId","xmlID","fieldName","fieldValue","UF","files","extraData","getId","tempId","Math","random","node","getAttribute","undefined","push","file","parseInt","replace","attachments","queue","f","add","pop","f0","fileD","removeCustomEvent","f1","addCustomEvent","uploadQueue","controller","__queueId","__onUploadOk","start","__onUploadError","error","files1","clear","q","res","simpleForm","handler","getRandomString","placeholder","onEvent","handleAppCallback","onSend","handleAppData","repeat","isPlainObject","attachedFiles","comment","stopCheckWriting","handleAppFile","__this","BXMobileApp","UI","Page","TextPanel","getText","txt","e","writingParams","lastEvent","startCheckWriting","init","isNotEmptyObject","hideForm","MobileUI","TextField","setDefaultParams","show","isString","setText","focus","BXMPage","lastFired","frequency","~text","time","Date","showWait","showLoading","closeWait","extendedForm","formSettings","attachButton","items","initFiles","attachFileSettings","resize","sendLocalFileMethod","saveToPhotoAlbum","mentionButton","dataSource","return_full_mode","outsection","okname","cancelname","multiple","alphabet_index","smileButton","okButton","callback","applyExtendedForm","cancelButton","cancelExtendedForm","controllers","cid","buttons","button","searchField","showtitle","modal","exec","MPF","enableInVersion","errors","destroy","form","forumContext","hide","document","body","appendChild","elements","create","props","value","block","className","currentForm","uniqueId","initEvents","initControllers","error00","error01","submitExtended","writing","cancel","bind","bound","remove","setForm","extended","isBoolean","edit","submitBase64","base64","result","filesToPost","submit","jj","attachmentsData","uploadTasks","taskIdList","processAttachments","then","commentVirtualId","formId","formUniqueId","entityId","addComment","commentData","addError","errorText","getForm","ajax","prepareForm","promise","Promise","resolve","reject","taskId","fileData","i","match","MobileUtils","getFileMimeType","folderId","getUploadFilename","previewUrl","getResizeOptions","filter","catch","console","createInstance","getInstance","onUploadQueueReady","formInstance","onUploadQueueError"],"mappings":"CAAC,WACA,IAAKA,OAAO,OAASA,OAAO,MAAM,SAAWA,OAAO,OACnD,OACD,IAAIC,KACHC,EAAU,WACT,IAAIC,EAAI,SAASC,GAChB,GAAIC,GAAGC,KAAKC,iBAAiBH,GAC7B,CACCI,KAAKC,GAAKL,EACVI,KAAKE,IAAMN,EACXI,KAAKG,KAAOP,EAAIQ,OAAOR,EAAIS,YAAY,KAAO,GAC9C,GAAIL,KAAKG,KAAKG,QAAQ,MAAQ,EAC7BN,KAAKG,KAAOH,KAAKG,KAAKC,OAAO,EAAGJ,KAAKG,KAAKG,QAAQ,MACnDN,KAAKO,IAAOP,KAAKG,KAAKE,YAAY,KAAO,EAAIL,KAAKG,KAAKC,OAAOJ,KAAKG,KAAKE,YAAY,KAAO,GAAGG,cAAgB,OAG/G,CACC,IAAK,IAAIC,KAAMb,EACf,CACC,GAAIA,EAAIc,eAAeD,GACvB,CACCT,KAAKS,GAAMb,EAAIa,OAKnBd,EAAEgB,WACDC,aAAe,SAASC,GACvB,OAAQA,GAAQhB,GAAGiB,QAAQ,2BAG7B,OAAOnB,EA3BE,GA6BVoB,EAAiB,WAChB,IAAIpB,EAAI,SAASqB,EAASf,EAAIgB,GAC7BjB,KAAKC,GAAKA,EACVD,KAAKE,IAAMV,OAAO0B,SAASC,SAAW,KAAO3B,OAAO0B,SAASE,KAAOpB,KAAKqB,UACzErB,KAAKsB,UACLtB,KAAKiB,OAASA,EAEdjB,KAAKuB,aAAevB,KAAKiB,OAAO,cAEhCjB,KAAKwB,QAAU3B,GAAG4B,SAASzB,KAAKwB,QAASxB,MACzCA,KAAK0B,QAAU7B,GAAG4B,S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