{"size": 7872, "ext": "js", "max_stars_repo_path": "bitrix/modules/landing/install/js/landing/node/img.map.js", "max_stars_repo_name": "Poulhouse/dev_don360", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "bitrix/modules/landing/install/js/landing/node/img.map.js", "max_issues_repo_name": "Poulhouse/dev_don360", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "bitrix/modules/landing/install/js/landing/node/img.map.js", "max_forks_repo_name": "Poulhouse/dev_don360", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 7872.0, "max_line_length": 7872, "alphanum_fraction": 0.8107215447}
{"version":3,"sources":["img.js"],"names":["BX","namespace","attr","Landing","Utils","data","encodeDataValue","decodeDataValue","Block","Node","Img","options","apply","this","arguments","type","editPanel","lastValue","field","uploadParams","isGrouped","node","addEventListener","onClick","bind","isAllowInlineEdit","setAttribute","Loc","getMessage","isBackground","nodeName","isImage","isIcon","getBackgroundUrl","bg","style","getPropertyValue","res","match","replace","getBackgroundUrl2x","getFileId","fileId","parseInt","dataset","fileid","getFileId2x","fileid2x","getAlt","alt","getPseudoUrl","url","getImageSrc","src","getImageSrc2x","setImageValue","value","newNode","create","attrs","data-fileid","id","parentNode","insertBefore","remove","srcset","src2x","id2x","setBackgroundValue","backgroundImage","join","removeProperty","prototype","__proto__","constructor","event","manifest","allowInlineEdit","Main","getInstance","isControlsEnabled","Text","currentNode","isEditable","UI","Panel","StylePanel","isShown","preventDefault","stopPropagation","Button","FontAction","hideAll","ColorAction","Content","selector","title","className","appendFooterButton","BaseButton","text","save","hide","document","body","appendChild","layout","form","Form","BaseForm","name","addField","getField","clear","appendForm","show","EditorPanel","forms","fields","getValue","JSON","stringify","setValue","description","dimensions","width","maxWidth","minWidth","height","maxHeight","minHeight","disableLink","closest","Field","Image","content","create2xByDefault","disableAltField","requestAnimationFrame","adjustPreviewBackgroundSize","preventSave","preventHistory","decodeURIComponent","onChange","History","push","Entry","block","getBlock","command","undo","redo","href","target","enabled"],"mappings":"CAAA,WACC,aAEAA,GAAGC,UAAU,cAEb,IAAIC,EAAOF,GAAGG,QAAQC,MAAMF,KAC5B,IAAIG,EAAOL,GAAGG,QAAQC,MAAMC,KAC5B,IAAIC,EAAkBN,GAAGG,QAAQC,MAAME,gBACvC,IAAIC,EAAkBP,GAAGG,QAAQC,MAAMG,gBAWvCP,GAAGG,QAAQK,MAAMC,KAAKC,IAAM,SAASC,GAEpCX,GAAGG,QAAQK,MAAMC,KAAKG,MAAMC,KAAMC,WAClCD,KAAKE,KAAO,MACZF,KAAKG,UAAY,KACjBH,KAAKI,UAAY,KACjBJ,KAAKK,MAAQ,KACbL,KAAKM,aAAeR,EAAQQ,aAE5B,IAAKN,KAAKO,YACV,CACCP,KAAKQ,KAAKC,iBAAiB,QAAST,KAAKU,QAAQC,KAAKX,OAGvD,GAAIA,KAAKY,oBACT,CACCZ,KAAKQ,KAAKK,aAAa,QAAS1B,GAAGG,QAAQwB,IAAIC,WAAW,kCAU5D,SAASC,EAAaR,GAErB,OAAOA,EAAKA,KAAKS,WAAa,MAS/B,SAASC,EAAQV,GAEhB,OAAOA,EAAKA,KAAKS,WAAa,MAS/B,SAASE,EAAOX,GAEf,OAAOA,EAAKA,KAAKS,WAAa,QAAUT,EAAKA,KAAKS,WAAa,KAAOT,EAAKA,KAAKS,WAAa,KAS9F,SAASG,EAAiBZ,GAEzB,IAAIa,EAAKb,EAAKA,KAAKc,MAAMC,iBAAiB,oBAC1C,GAAIF,EACJ,CACC,IAAIG,EAAMH,EAAGI,MAAM,gBAEnB,GAAID,GAAOA,EAAI,GACf,CACC,OAAOA,EAAI,GAAGE,QAAQ,SAAU,KAIlC,MAAO,GAQR,SAASC,EAAmBnB,GAE3B,IAAIa,EAAKb,EAAKA,KAAKc,MAAMC,iBAAiB,oBAC1C,GA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