text: {"version":3,"sources":["script.js"],"names":["BxInterfaceGrid","table_id","this","oActions","oColsMeta","oColsNames","customNames","oEditData","oSaveData","oOptions","oVisibleCols","vars","menu","settingsMenu","filterMenu","checkBoxCount","bColsChanged","bViewsChanged","oFilterRows","activeRow","ajaxLoader","isAjaxEnabled","form","filter","_this","InitTable","tbl","document","getElementById","rows","length","cells","i","nCols","j","cell","onmouseover","HighlightGutter","onmouseout","className","user_authorized","onbxdragstart","DragStart","onbxdragstop","DragStop","onbxdrag","Drag","onbxdraghout","jsDD","registerObject","onbxdestdraghover","DragHover","onbxdestdraghout","DragOut","onbxdestdragfinish","DragFinish","registerDest","n","row","checkbox","childNodes","tagName","toUpperCase","type","onclick","SelectRow","EnableActions","jsUtils","addEvent","OnClickRow","HighlightRow","oncontextmenu","OnRowContext","r","forms","getElementsByName","filters","BX","isNotEmptyString","ajax","bindFormSubmits","delegate","OnFormSubmit","OnFilterSubmit","self","eventParams","gridObject","initEventParams","onCustomEvent","window","setLoader","loader","handler","isElementNode","submits","cssQuery","bind","e","event","phpVars","opt_context_ctrl","ctrlKey","targetElement","target","srcElement","el","FindParentObject","col_menu","SEPARATOR","PopupHide","OnClose","replace","SaveColumns","menuItems","util","array_merge","SetItems","BuildItems","arScroll","GetWindowScrollPos","x","clientX","scrollLeft","y","clientY","scrollTop","pos","PopupShow","returnValue","preventDefault","ShowActionMenu","index","ShowMenu","on","table","parentNode","gutter","cellIndex","bSorted","indexOf","span","id","selCount","parseInt","innerHTML","checked","checkAll","setupForm","obj","disabled","SelectAllRows","bChecked","box","bEnabled","IsActionEnabled","bEnabledEdit","apply","b","action","elAll","SwitchActionButtons","bShow","buttonsTd","td","FindNextSibling","style","display","ActionEdit","a","ids","Array","tr","denyEvent","row_id","value","col_id","editable","data","name","appendChild","create","props","defaultChecked","options","list_val","items","selected","text","children","whiteSpace","size","href","title","mess","calend_title","html","calendar_image","server_time","maxlength","maxLength","elements","ActionCancel","allowEvent","ActionDelete","selectedIds","rowChkBoxes","querySelectorAll","l","push","forAllChkBox","forAll","eventArgs","gridId","cancel","submit","DeleteItem","field_id","message","confirm","ForAllClick","for_all_confirm","Sort","url","by","sort_state","def_order","args","order","bControl","get","component_path","sessid","Reload","InitVisCols","CheckColumn","column","menuItem","columnId","columnMenu","colMenu","GetMenuByItemId","GetItemInfo","ICON","SetItemIcon","HideColumn","ApplySaveColumns","columns","sCols","_onColumnsSaved","setTimeout","Disable","add_url_param","location","reload","onAjaxReload","bxajaxid","SetTheme","theme","loadCSS","template_path","themeMenu","SetAllItemsIcon","SetView","view_id","filter_id","views","saved_filter","func","ApplyFilter","EditCurrentView","ShowSettings","current_view","SaveSettings","AddView","Math","round","random","view","viewsNewView","sort_by","sort_order","page_size","custom_names","views_list","Option","viewsNoName","EditView","selectedIndex","DeleteView","viewsDelete","remove","bCreated","CDialog","content","settingsTitle","width","settingWndSize","height","resize_id","ClearButtons","SetButtons","settingsSave","parentWindow","Close","prototype","btnCancel","Show","view_name","focus","aVisCols","split","oVisCols","jsSelectUtils","deleteAllOptions","view_all_cols","colName","view_cols","selectOption","view_sort_by","view_sort_order","view_page_size","view_filters","viewsFilter","set_default_settings","delete_users_settings","RenameColumn","renameTitle","renameWndSize","buttons","selectedCol","settingsForm","col_name","col_name_def","doReload","GRID_ID","post","ReloadViews","ShowViews","applyBtn","CWindowButton","viewsApply","hint","viewsApplyTitle","viewsTitle","btnClose","viewsWndSize","addCustomEvent","div","body","createElement","position","zIndex","clientWidth","__dragCopyDiv","arrowDiv","__dragArrowDiv","left","top","removeChild","obDrag","hasOwnProperty","GetRealPos","delta","cols","index_from","index_to","tmp","InitFilter","SwitchFilterRow","mnu","MENU","ID","ICONCLASS","SwitchFilter","SaveFilterRows","SwitchFilterRows","sRows","filterShow","filterHide","ClearFilter","isDomNode","toLowerCase","onchange","clear","findChild","tag","property","ShowFilters","filtersApply","filtersApplyTitle","filters_list","filtersTitle","filtersWndSize","AddFilter","fields","filtersNew","ShowFilterSettings","SaveFilter","insertIntoArray","mnuItem","TEXT","htmlspecialchars","TITLE","ApplyTitle","ONCLICK","AddFilterAs","GetFilterFields","EditFilter","DeleteFilter","filtersDelete","deleteFromArray","filterSettingsTitle","filterSettingWndSize","filter_name","SetFilterFields","val","substr","option","k","sel","attrs","OnDateChange","bShowFrom","bShowTo","bShowHellip","bShowDays","bShowBr","findNextSibling","class"],"mappings":"AAAA,SAASA,gBAAgBC,GAExBC,KAAKC,YACLD,KAAKE,aACLF,KAAKG,cACLH,KAAKI,eACLJ,KAAKK,aACLL,KAAKM,aACLN,KAAKO,YACLP,KAAKQ,aAAe,KACpBR,KAAKS,QACLT,KAAKU,KAAO,KACZV,KAAKW,gBACLX,KAAKY,cACLZ,KAAKa,cAAgB,EACrBb,KAAKc,aAAe,MACpBd,KAAKe,cAAgB,MACrBf,KAAKgB,eACLhB,KAAKiB,UAAY,KACjBjB,KAAKkB,WAAa,KAClBlB,KAAKmB,cAAgB,MAErBnB,KAAKoB,KAAO,KACZpB,KAAKqB,OAAS,KAEd,IAAIC,EAAQtB,KACZA,KAAKD,SAAWA,EAEhBC,KAAKuB,UAAY,WAEhB,IAAIC,EAAMC,SAASC,eAAe1B,KAAKD,UACvC,IAAIyB,GAAOA,EAAIG,KAAKC,OAAO,GAAKJ,EAAIG,KAAK,GAAGE,MAAMD,OAAO,EACxD,OAED,IAAIE,EACJ,IAAIC,EAAQP,EAAIG,KAAK,GAAGE,MAAMD,OAG9B,IAAIE,EAAE,EAAGA,EAAEC,EAAOD,IAClB,CACC,IAAIE,EACJ,IAAIA,EAAE,EAAGA,EAAE,EAAGA,IACd,CACC,IAAIC,EAAOT,EAAIG,KAAKK,GAAGH,MAAMC,GAE7BG,EAAKC,YAAc,WAAWZ,EAAMa,gBAAgBnC,KAAM,OAC1DiC,EAAKG,WAAa,WAAWd,EAAMa,gBAAgBnC,KAAM,QACzD,GAAGgC,GAAG,EACN,CACC,GAAGC,EAAKI,YAAcJ,EAAKI,WAAa,kBAAoBJ,EAAKI,WAAa,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