text: {"version":3,"sources":["script.js"],"names":["window","BX","ColorPicker","val","this","bCreated","bOpened","zIndex","pWnd","create","props","className","style","backgroundColor","_this","onmousedown","e","OnClick","prototype","Create","pColCont","document","body","appendChild","arColors","row","cell","colorCell","tbl","i","l","length","insertRow","insertCell","colSpan","defBut","text","message","onmouseover","onmouseout","Select","fOver","id","substring","fOut","fDown","k","Math","round","innerHTML","pEl","disabled","Close","Open","pos","top","left","display","browser","IsIE","parseInt","offsetHeight","align","bind","proxy","OnKeyPress","oTransOverlay","Show","onclick","Hide","unbind","event","keyCode","color","onCustomEvent","Popup","oPar","title","oPopup","CWindow","OnCreate","items","func","SelectItem","substr","pItem","classPrefix","value","toLowerCase","Get","currentValue","ind","item","oItem","activeItemInd","removeClass","addClass","OpacityControl","pCont","pDiv","values","valCont","fMd","html","cont","Overlay","bShowed","ws","GetWindowScrollSize","width","scrollWidth","height","scrollHeight","ondrag","False","onselectstart","arParams","Resize","cnvConstr","cnvEdtr","UploaderTemplateThumbnails","params","settings","UPLOADER_ID","dialogName","vars","filesCountForUpload","ii","hasOwnProperty","allowUploadExt","uploader","Uploader","getInstance","init","_onItemIsAdded","delegate","onItemIsAdded","_onFileIsAppended","onFileIsAppended","addCustomEvent","start","done","finish","terminate","onChange","_onUploadStart","onUploadStart","_onUploadProgress","onUploadProgress","_onUploadDone","onUploadDone","_onUploadError","onUploadError","_onUploadRestore","onUploadRestore","_onFileHasPreview","onFileHasPreview","submit","stop","userOptions","save","fileFields","description","__progressBarWidth","ph","getPH","percent","progress","adjust","max","ceil","pointer","getItem","node","hide","file","remove","canvas","queue","errorThumb","replace","error","pIndex","itUploaded","filesCount","stream","data","redirectUrl","report","uploading","CID","itFailed","type","isNotEmptyString","reload","f","removeCustomEvent","img","CanvasEditor","clickFile","__onTurnCanvas","image","context","Canvas","drawImage","copy","rotate","applyFile","cnv","UploaderFileCnvConstr","getCanvas","push","unbindAll","deleteFile","UploaderSettings","form","hasClass","SaveUserOption","n","oUploadHandler","SetOriginalSize","v","Watermark","Using","Type","Text","Copyright","Color","Position","vals","File","FileWidth","FileHeight","option","Opt","toUpperCase","name","attrs","bxu-set","hasAttribute","setAttribute","arguments","photo_resize_size","setWMUsing","setWMType","setWMText","setWMCopyright","setWMColor","setWMPosition","setWMSize","setWMFile","setWMOpacity","nodeWMUsing","checked","nodeP","pTypeText","pTypeImg","pWatermarkText","onchange","onblur","onkeyup","textButCont","pCopyright","photo_watermark_copyright","oColorpicker","oTextPosition","obj","oTextSize","path","fileWidth","fileHeight","imgButCont","pImgInput","pImgInputOld","cloneNode","parentNode","insertBefore","pImgForm","removeChild","method","enctype","encoding","action","children","bitrix_sessid","ajax","setTimeout","res","bxiu_wm_img_res","alert","watermarkPreview","onerror","onload","src","watermarkPreviewCont","watermarkPreviewDel","offsetWidth","oTextOpacity","InitImageTypeControls","position","size","oImagePosition","oImgSize"],"mappings":"CAAE,SAASA,GACV,GAAIC,GAAG,8BACN,OAAO,MAER,SAASC,EAAYC,GAEpBC,KAAKC,SAAW,MAChBD,KAAKE,QAAU,MACfF,KAAKG,OAAS,IACdH,KAAKI,KAAOP,GAAGQ,OAAO,OAAQC,OAAQC,UAAW,6BACjDP,KAAKI,KAAKI,MAAMC,gBAAkBV,EAElC,IAAIW,EAAQV,KACZA,KAAKI,KAAKO,YAAc,SAASC,GAAGF,EAAMG,QAAQD,EAAGZ,OAGtDF,EAAYgB,WACXC,OAAQ,WAEP,IAAIL,EAAQV,KACZA,KAAKgB,SAAWC,SAASC,KAAKC,YAAYtB,GAAGQ,OAAO,OAAQC,OAAQC,UAAW,mBAAoBC,OAAQL,OAAQH,KAAKG,WAExH,IACCiB,GAAY,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UACjL,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,UAAW,OAAQ,UAAW,UAAW,UAAW,OAAQ,UAC/J,UAAW,UAA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