Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/js/advertising/ |
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/js/advertising/template.map.js |
{"version":3,"file":"template.min.js","sources":["template.js"],"names":["BXBannerTemplate","oConfig","this","MESS","lang","templates","templatesExtended","oldTemplates","tPosition","tCount","aNames","canAdd","canEdit","nType","BX","nComponentHead","nComponent","nAddTemplate","nTemplateProperties","nBannerContainer","nExtMode","prototype","show","name","ind","template","checked","window","changeTemplateNodes","style","display","a","curTemplateBanner","oTProps","nProps","oTPropsHead","nPropsHead","cleanNode","create","props","className","children","width","marginBottom","targetNode","firstChild","appendChild","nextSibling","i","hasOwnProperty","appendJS","innerHTML","addDraggableItem","sortItems","addListenerControlItem","oTParams","oParams","TYPE","parseInt","positions","easing","duration","start","height","opacity","finish","transition","transitions","quart","step","state","complete","animate","insBefore","insertBefore","oVal","tNew","data","action","properties","mode","bCopy","sessid","bitrix_sessid","_this","parameters","MODE","showWait","ajax","post","curPage","res","closeWait","eval","curValue","settings","SETTINGS","MULTIPLE","propValueHead","propHiddenName","createTemplatePropHead","setAttribute","createHiddenNameInput","BANNER_NAME","PROPS","PARAMETERS","propValueNode","valProp","propValue","buildProperty","Object","toString","call","ar","cnt","length","TOOLTIP","CHint","hint","parent","text","NAME","id","oSettings","close","createFromDB","getName","params","val","EXTENDED_MODE","refresh","curValues","getCurValues","index","oldTemplate","allTemplateProps","curOldTemplate","curAllTemplateProps","mergeObjects","addNewTBanner","del","title","DELETE","float","marginRight","cursor","colSpan","HIDE","refreshAll","templateForCurVal","curTemplate","fromObject","difference","countObject","saveNames","push","newTemplate","bannerName","obj","count","k","type","value","target","source","prop","select","options","findChild","tagName","selected","getAttribute","ext","oTemplate","node","findChildren","tag","opt","checkb","childNodes","propObj","toUpperCase","createListInput","createCheckboxInput","createStringInput","createColorpicker","createHTMLString","createPresetSelection","multiple","size","SIZE","events","str","REFRESH","change","input","DEFAULT","VALUES","option","jsUtils","htmlspecialchars","YES","NO","inputHid","inputCheck","IMAGES","eventInput","eventLabel","click","selectPreset","arr","pad","adminMode","radio","label","src","padding","addClass","div","margin","td","parentNode","labels","removeClass","cols","COLS","rows","ROWS","color","verticalAlign","backgroundColor","border","marginLeft","minWidth","script","HTML","html","patt1","RegExp","s","code1","match","substring","setTimeout","patt2","code2","createCPObject","BXColorPicker","Create","zIndex","WindowManager","GetZIndex","fid","e","OnKeyPress","OnDocumentClick","pColCont","document","body","arColors","row","cell","colorCell","tbl","l","insertRow","insertCell","defBut","jsColorPickerMess","DefaultColor","onmouseover","onmouseout","onclick","Select","Math","round","oPar","bCreated","SELECT_COLOR","OnSelect","delegate","pWnd","backgroundPosition","pCont","initDraggableItems","dragdrop","DragDrop","dragItemClassName","dragItemControlClassName","sortable","rootElem","gagClass","gagHtml","dragEnd","eventObj","dragElement","event","repairEditor","item","addSortableItem","bindDragItem","removeDraggableItem","removeSortableItem","itemList","elementPosition","elementSortText","elementNameText","sort","message","templateName","querySelectorAll","querySelector","indexOf","SLIDE","container","attr","attributes","nodeName","nodeValue","messageHtmlEditor","BXHtmlEditor","Get","CheckAndReInit","buttonToggleShow","contToggleShow","bind","toggleShow","buttonDeleteItem","deleteItem","showRenameDialogButton","showRenameDialog","button","isShow","SHOW","elementDelete","remove","popupWindow","PopupWindowManager","darkMode","closeIcon","content","autoHide","setBindElement","btnRenameCancel","btnRenameSave","unbindAll","setNameItem","setNameText","setNameToDialog","dialogNameValue","util","trim","nameInput","nameText"],"mappings":"AAAA,QAASA,kBAAiBC,GAEzBC,KAAKD,QAAUA,CACfC,MAAKC,KAAOF,EAAQG,IACpBF,MAAKG,YACLH,MAAKI,oBACLJ,MAAKK,eACLL,MAAKM,YACLN,MAAKO,SACLP,MAAKQ,SACLR,MAAKS,SACLT,MAAKU,QAAUX,EAAQW,SAAW,KAClCV,MAAKW,MAAQC,GAAG,cAChBZ,MAAKa,eAAiBD,GAAG,yBACzBZ,MAAKc,WAAaF,GAAG,qBACrBZ,MAAKe,aAA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