@mindfusion/dataviews 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -3
- package/dataviews.d.ts +7 -6
- package/dist/cjs/dataviews.js +1 -1
- package/dist/esm/dataviews.js +1 -1
- package/dist/umd/dataviews.js +1 -1
- package/package.json +1 -1
package/dist/esm/dataviews.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x3ec5=['sortFunction','createEditor','Cannot\x20invoke\x20abstract\x20method.','equals','undefined','localeCompare','createElement','input','text','className','dataset','customType','type','has','customAttributes','get','value','isEditing','effectiveModel','row','column','addEventListener','change','false','parse','updateValueFromInput','focusin','length','focusout','click','keydown','key','ctrlKey','substr','selectionStart','selectionEnd','preventDefault','true','keyCode','shiftKey','stopPropagation','paste','Text','appendChild','cellDataType','rowCount','assign','columnName','addRow','getRowData','Update','setValue','renderer','updateCell','getTextNode','createTextNode','nodeValue','onCustomDrawCell','innerHTML','firstChild','left','NEGATIVE_INFINITY','valueOf','customEditor','createDefaultEditor','createCustomEditor','date','mfdv-string-editor','valueAsDate','cssClass','theme','autoComplete','buttonStyle','copySettings','locale','_value','_state','valueChanged','draw','attach','format','invalid','dateSettings','dateFormats','shortDate','en-US','DateTimeFormat','locales','options','columnMetaData','datetime-local','valueAsNumber','formatDate','short','checkbox','mfdv-boolean-editor','checked','model','setAttribute','removeAttribute','test','outerHTML','button','innerText','...','replace','decimal','NumberFormat','textAlign','right','keyValues','toString','mfdv-lookup-editor','cellMetaData','Meta\x20data\x20must\x20be\x20provided\x20for\x20the\x20Lookup\x20data\x20type.','values','option','keys','multiple','metaDataContext','push','shift','resolveValueType','dataType','isInteger','isNaN','boolean','string','select','meta','resolveDataTypeCallback','resolveCellMetaDataCallback','formatCellValueCallback','_columns','_keyField','_autoKey','generate','__NEWROW','getMaxKey','_values','columnType','findIndex','name','map','bind','getRowKey','getKeyRow','columnCaption','caption','editable','columnSortable','sortable','columnHidden','hidden','metaData','Row\x20index\x20exceeds\x20the\x20number\x20of\x20array\x20elements.','getCellValueCallback','displayValue','deleteRow','splice','mfdv-command-control','commandName','eventName','onRowCommand','_rowData','_oldValues','_newValues','_row','rowData','action','_action','newValues','oldValues','_commandName','_control','_column','_displayValue','displayValuelu','_defaultContent','defaultContent','_content','content','_result','result','_index','_propertyValue','_oldValue','_meta','propertyName','_propertyName','index','oldValue','newValue','_newValue','createContent','commands','createControl','Render','command','symbol','style','currency','Delete','execute','grid','visibleRows','visibleCells','renderGrid','invalidate','refreshRows','onRowCreated','onRowDeleted','onScroll','onSelect','onSort','fromCharCode','apply','dashStops','constructor','targetElement','buffer','object','location','hostname','split','getTime','log','match','req','licenseLocation','GET','overrideMimeType','onload','status','responseText','onerror','message','_messenger','parentNode','removeChild','div','classList','add','mfc-attr','body','setLicenseKey','MindFusion.DataViews','onMouseDown','sourceModel','_filter','_sortedColumn','_sortAscending','indexMap','ensureIndexMap','indexOf','columnEditable','columnCount','_groupColumn','sort','filter','sortedColumn','sortAscending','groupColumn','isGroupRow','groupRow','file','accept','image/*','files','readAsDataURL','target','createWrapper','backgroundImage','mfdv-inline-image','insertAt','head','getElementsByTagName','text/css','top','styleSheet','cssText','.mfdv-grid\x0d\x0a{\x0d\x0a\x20\x20padding:\x200;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20display:\x20block;\x0d\x0a\x20\x20font-family:\x20Arial,\x20Helvetica,\x20sans-serif;\x0d\x0a\x20\x20color:\x20#000;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid\x20div\x0d\x0a{\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-wrapper\x0d\x0a{\x0d\x0a\x20\x20float:\x20right;\x20\x0d\x0a\x20\x20height:\x200;\x0d\x0a\x20\x20overflow-y:\x20scroll;\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-wrapper\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20width:\x201px;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-corner-top\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20right:0;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-corner-bottom\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20right:0;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-content-wrapper\x0d\x0a{\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a\x20\x20display:\x20flex;\x0d\x0a\x20\x20flex-direction:\x20column-reverse;\x0d\x0a\x20\x20overflow-x:\x20auto;\x0d\x0a\x20\x20overflow-y:\x20hidden;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20bottom:0;\x0d\x0a\x20\x20left:0;\x0d\x0a}\x0d\x0a.mfdv-grid-content-inner-wrapper\x0d\x0a{\x0d\x0a\x20\x20display:\x20flex;\x0d\x0a\x20\x20flex-direction:\x20column-reverse;\x0d\x0a\x20\x20flex:\x201\x201\x20100%;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20min-width:\x20100%;\x0d\x0a}\x0d\x0a.mfdv-grid-header,\x0d\x0a.mfdv-grid-footer\x0d\x0a{\x0d\x0a\x20\x20display:flex;\x0d\x0a\x20\x20/*flex:\x201\x201\x20100%;*/\x0d\x0a\x20\x20flex-direction:\x20column;\x0d\x0a\x20\x20font-weight:bold;\x0d\x0a\x20\x20transform:\x20translate(0);\x0d\x0a}\x0d\x0a.mfdv-grid-footer\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20z-index:\x201;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20>\x20div,\x0d\x0a.mfdv-grid\x20.mfdv-grid-footer\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20display:flex;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20div[data-column],\x0d\x0a.mfdv-grid\x20.mfdv-grid-footer\x20div[data-column]\x0d\x0a{\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20flex:\x20none;\x0d\x0a\x20\x20text-align:center;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a\x20\x20padding-right:\x2015px;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20min-height:\x201em;\x0d\x0a\x20\x20border-bottom:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-sort-indicator-asc::before\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c25b2\x22;\x0d\x0a\x20\x20\x20\x20right:\x202px;\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a}\x0d\x0a.mfdv-sort-indicator-desc::before\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c25bc\x22;\x0d\x0a\x20\x20\x20\x20right:\x202px;\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a}\x0d\x0a.mfdv-grid-data-table\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:flex;\x0d\x0a\x20\x20\x20\x20flex-direction:\x20column;\x0d\x0a\x20\x20\x20\x20flex:\x201\x201\x20100%;\x0d\x0a\x20\x20\x20\x20outline:\x20none;\x0d\x0a\x20\x20\x20/*\x20transform:\x20translate(0);*/\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-data-table\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:flex;\x0d\x0a\x20\x20\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-group-row\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background-color:\x20rgba(0,\x200,\x200,\x200.1);\x0d\x0a}\x0d\x0a.mfdv-grid-cell\x0d\x0a{\x0d\x0a\x20\x20position:relative;\x0d\x0a\x20\x20flex:\x20none;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20min-height:\x201.125em;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a}\x0d\x0a.mfdv-grid-cell\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header,\x20\x0d\x0a.mfdv-grid-table-corner\x0d\x0a{\x0d\x0a\x20\x20/*flex:\x200\x200\x2017px;*/\x0d\x0a\x20\x20/*width:\x2017px;*/\x0d\x0a\x20\x20border-bottom:\x201px\x20solid;\x0d\x0a\x20\x20border-right:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20div[data-column],\x0d\x0a.mfdv-grid\x20.mfdv-grid-data-table\x20.mfdv-grid-cell\x0d\x0a{\x0d\x0a\x20\x20padding:\x201px;\x0d\x0a\x20\x20border-right:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header[data-selected=true],\x20\x0d\x0a.mfdv-grid-cell[data-selected=true]\x0d\x0a{\x0d\x0a\x20\x20background-color:\x20rgba(0,0,0,0.1);\x0d\x0a}\x0d\x0a.mfdv-grid-row-header.mfdv-new-row::before\x0d\x0a{\x0d\x0a\x20\x20content\x20:\x20\x27\x5c01F7B9\x27;\x0d\x0a\x20\x20vertical-align:\x20-50%;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header.mfdv-new-row::after\x0d\x0a{\x0d\x0a\x20\x20content\x20:\x20\x27(New)\x27;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20/*\x20vertical-align:\x20-50%;*/\x0d\x0a\x20\x20margin-left:\x2010px;\x0d\x0a}\x0d\x0a.mfdv-command-control\x0d\x0a{\x0d\x0a\x20\x20margin:\x200px\x202px;\x0d\x0a\x20\x20cursor:\x20pointer;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x0d\x0a{\x0d\x0a\x20\x20position:\x20fixed;\x0d\x0a\x20\x20background:\x20#fff;\x0d\x0a\x20\x20box-shadow:\x204px\x204px\x204px\x20rgba(0,0,0,0.1);\x0d\x0a\x20\x20padding:\x201px;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20cursor:\x20pointer;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20text-align:\x20justify;\x0d\x0a\x20\x20font-size:\x20small;\x0d\x0a\x20\x20padding:\x2010px;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20div:hover\x0d\x0a{\x0d\x0a\x20\x20background-color:\x20rgba(0,0,0,0.1);\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20hr\x0d\x0a{\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20border-bottom:\x200;\x0d\x0a}\x0d\x0a.mfdv-string-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20width:\x20100%\x20!important;\x20\x0d\x0a\x20\x20height:\x20100%\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20outline:\x201px\x20solid\x20black;\x20\x0d\x0a\x20\x20outline-offset:\x201px;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a}\x0d\x0a.mfdv-lookup-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20width:\x20100%;\x20\x0d\x0a\x20\x20height:\x20100%;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20outline:\x201px\x20solid\x20black;\x0d\x0a}\x0d\x0a.mfdv-inline-image\x0d\x0a{\x0d\x0a\x20\x20width:100%;\x0d\x0a\x20\x20height:100%;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20background-position:\x2050%\x2050%;\x0d\x0a\x20\x20background-repeat:\x20no-repeat;\x0d\x0a\x20\x20background-size:\x20contain;\x0d\x0a}\x0d\x0a.mfdv-boolean-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a}\x0d\x0a.mfdv-boolean-editor-readonly\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20pointer-events:\x20none;\x0d\x0a}\x0d\x0a.mfdv-editor-expander\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20right:\x200px;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20bottom:\x200px;\x20\x0d\x0a}\x0d\x0a.mfdv-attribution2\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20left:0;\x0d\x0a\x20\x20font-size:\x20smaller;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a\x20\x20color:\x20red;\x0d\x0a\x20\x20cursor:\x20default;\x0d\x0a}\x0d\x0a.mfc-overlay-disabled\x0d\x0a{\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a\x20\x20\x20\x20z-index:1;\x0d\x0a\x20\x20\x20\x20top:0;\x0d\x0a\x20\x20\x20\x20left:0;\x0d\x0a\x20\x20\x20\x20width:100%;\x0d\x0a\x20\x20\x20\x20height:100%;\x0d\x0a\x20\x20\x20\x20background-color:rgba(0,0,0,0.1)\x0d\x0a}\x0d\x0a.mfc-readonly\x20\x0d\x0a{\x0d\x0a\x20\x20\x20\x20opacity:\x200.65;\x20\x0d\x0a}','dataTable','slice','call','.mfdv-grid-cell[data-column=\x27','repaintId','drawRows','onAfterRender','isRepainting','wrapper','drawHeader','drawContent','mfdv-grid-header','mfdv-grid-table-corner','_rowHeaderWidth','flex','1\x201\x20100%','skipHeader','mfc-hidden','mfdv-sort-indicator-','onCustomDrawHeader','mfdv-grid-data-table','tabIndex','scrollRow','onRowAction','rowHeight','getBounds','height','contentClientHeight','rowsHeight','drawRow','mfdv-grid-group-row','group','mfdv-grid-group-row-header','width',' ','allowAppend','selection','rows','setCssClass','mfdv-new-row','addSelectedFlag','mfdv-grid-cell','cells','some','drawFooter','mfdv-grid-footer','asc','desc','isRowVisible','refreshRow','querySelectorAll','.mfdv-grid-cell','focusedCell','element','children','getCellElement','selected','clearSelection','.mfdv-grid-row-header','removeSelectedFlag','updateSelection','isCellVisible','querySelector','.mfdv-grid-row-header[data-row=\x22','_grid','_rows','_cells','_rowKey','parent','focus','bringRowIntoView','selectCell','disposeActiveEditor','activeEditor','onCellFocused','onCellSelected','invalidateKey','_parent','find','percentage','_defaultHeight','_model','_allowEdit','_allowDelete','_allowCellSelect','_allowScroll','_focusedCell','_tableShouldFocus','queuedEvents','resolveCellDataType','raiseEvent','resolveCellMetaData','formatCellValue','_rowLoading','_rowRendered','_rowCreating','_rowCreated','_rowDeleting','_rowDeleted','_rowUpdating','_rowUpdated','_rowSelected','_cellSelecting','_cellSelected','_cellFocused','_customDrawCell','_customDrawHeader','_rowCommand','_resolveCellDataType','_getCellValue','_formatCellValue','_scrollHandler','onMouseWheel','_element','.mfdv-grid-content-inner-wrapper','header','detach','scroll','resize','resizeHandler','removeEventListener','mousewheel','mouseWheelHandler','DOMMouseScroll','MozMousePixelScroll','getScrollbarWidth','.mfdv-grid-content-wrapper','.mfdv-grid-scroll-corner-top','.mfdv-grid-scroll-wrapper','marginTop','calcScrollFix','onResize','onBeforeRender','activeElement','isChildOf','.mfdv-grid-header','mouseover','headerMouseOver','mouseleave','headerMouseLeave','div[data-column]','contextmenu','columnHeaderContextMenu','mousedown','forEach','.mfdv-grid-data-table','rowHeaderContextMenu','rowHeaderMouseDown','tableKeyDown','keyup','tableKeyUp','rowsCount','scrollRangeInvalid','updateScrollRange','scrollFix','allowCellSelect','stopEvents','raiseQueuedEvents','addCssClass','mfdv-grid','mfdv-grid-scroll-wrapper','mfdv-grid-scroll-corner-top','mfdv-grid-content-wrapper','refresh','selectedRowIndices','invalidateDom','waitFor','focusCell','moveFocusedCell','selectRows','setRowSelection','selectedCells','entries','onRowValidateAction','Create','Model\x20is\x20undefined.','removeRows','removeRowRange','includes','sortByColumn','scrollIncrement','initColumnWidths','_columnWidths','.mfdv-grid-table-corner','none','setColumnWidth','forceRedraw','resizeColumn','loaded','ensureProxyModel','_proxyModel','_allowAppend','allowDelete','allowScroll','_scrollRow','round','clientX','col-resize','cursor','auto','currentTarget','Sort\x20Ascending','Sort\x20Descending','Clear\x20Sorting','disposeContextMenu','getRelativeBounds','showContextMenu','bottomLeft','mousemove','mouseup','columnHeaderClicked','max','New\x20Row','Delete\x20Row','contextMenu','topRight','contextMenuCallback','title','data','dispose','focusedItem','moveFocusedCellLeft','scrollToRow','lastRowIndex','moveFocusedCellRight','tableCellClicked','getFocusableCell','then','getRowElement','abs','bringIntoView','transform','translateY(-','scrollFixAmount','_activeEditor','onBlur','blur','removeNode','contentHeight','offsetHeight','div[data-column=\x22','Select','adjust','getCursorPosition','bounds','containsPoint','wheelDelta','detail','timeStamp','scrollTop','Load','_rowSelecting','cancel','queueEvent','objectButtonClick','rowRendered','rowSelecting','rowSelected','rowCreating','rowCreated','rowDeleting','rowDeleted','cellSelecting','onCellSelecting','cellSelected','cellFocusing','onCellFocusing','customDrawHeader','rowCommand','getCellValue','_resolveCellMetaData','_objectButtonClick','_name','_dataType','_editable','_sortable','_hidden','_metaData','_caption','category','displayName','[Collection]','_defaultWidth','_excludedProperties','__proto__','_searchString','_scrollBarSize','_columnSorted','_groupingChanged','_rowExpanding','_rowExpanded','_cellFocusing','scrollHandler','min','getColumnWidth','mfdv-grid-scroll-corner-bottom','generateData','_collectionObject','getAllPropertyDescriptors','create','getPrototypeOf','getOwnPropertyDescriptors','selectedObject','_selectedObject','showAllProperties','editReadonlyProperties','set','showReadonlyProperties','readonly','exclude','rebind','allowEdit','columnSorted','groupingChanged','columnHeaderMouseDown','Clear\x20Property\x20Value','dataIndex','nullable','nullValue','lastFocusableColumn','firstFocusableColumn','_clearSearchTimeout','autoSearch','toLowerCase','startsWith','getNextFocusableRow','cellReadonly','bottom','px)','BUTTON','clientHeight','offsetWidth','.mfdv-grid-cell[data-column=\x270\x27]','.mfdv-grid-cell[data-column=\x271\x27]','enabled','Expand','rowLoading','rowUpdated','onRowRender','_visible','_collectionPage','Default','size','mfdv-group-indicator-icon-on','tooltip','Sort\x20By\x20Name','mfdv-sort-indicator-icon-asc','Label','Add','allowRemove','Remove','headers','mfc-tabpage','mfc-selected','onPropertyChanged','visible','_mainPage','.mfdv-propertygrid\x0d\x0a{\x0d\x0a\x20\x20padding:\x200;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20font-family:\x20Arial,\x20Helvetica,\x20sans-serif;\x0d\x0a\x20\x20color:\x20#000;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x20\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip\x0d\x0a{\x0d\x0a\x20\x20font-family:\x20Arial,\x20Helvetica,\x20sans-serif;\x0d\x0a\x20\x20font-size:\x20small;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-scrollable\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20left:17px;\x0d\x0a\x20\x20right:17px;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border:none\x20!important;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfc-selected\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background-color:\x20rgba(0,\x200,\x200,\x200.6);\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfc-toolbutton-default\x0d\x0a{\x0d\x0a\x20\x20\x20\x20padding:10px;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-sort-indicator-icon-asc\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/sort-az.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-sort-indicator-icon-desc\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/sort-za.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-group-indicator-icon-on\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/ungroup.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-group-indicator-icon-off\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/group.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-propertygrid-footer\x20.mfc-toolstrip-item\x20a::after\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c00d7\x22;\x0d\x0a\x20\x20\x20\x20margin-left:\x204px;\x0d\x0a}\x0d\x0a.mfdv-propertygrid.mfc-tabcontrol\x20>\x20ul\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border:none;\x0d\x0a\x20\x20\x20\x20border-top:1px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-tabpage-content\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:\x20flex;\x0d\x0a\x20\x20\x20\x20flex-direction:\x20column;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x0d\x0a{\x0d\x0a\x20\x20\x20border:none;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-header\x0d\x0a{\x0d\x0a\x20\x20\x20height:\x200;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid-table-corner\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border-bottom:\x20none;\x0d\x0a}\x0d\x0a/*.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-group-row:not(:first-child)\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border-top:\x201px\x20solid;\x0d\x0a}*/\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-row-header\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border:none;\x0d\x0a}/*\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-data-table\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border-bottom:1px\x20solid;\x0d\x0a}*/','pixel','allowDrag','empty','tabMaxSize','mfdv-propertygrid-header','footer','mfdv-propertygrid-footer','_grouped','_showReadonlyProperties','Miscellaneous','_currentProperty','_currentIndex','_currentObjectChanging','_propertyValueChanging','_headerButtonClick','onHeaderButtonClick','_footerButtonClick','onFooterButtonClick','_rowValidateActionHandler','_rowActionHandler','_cellSelectHandler','getContent','Dom','getElement','beforeAddItem','_sortedHandler','detachItem','attachItem','groupByColumn','itemClick','selectedItem','mfdv-propertygrid','mfc-tabcontrol-vertical','mfc-content','items','count','addItem','insertRange','footers','removeItem','removeRange','indexOfItem','getTabToSelect','where','last','expandProperty','Specified\x20index\x20not\x20found\x20within\x20the\x20current\x20object.','onCellAction','Specified\x20property\x20not\x20found\x20within\x20the\x20current\x20object.','_propertyIndex','closeItem','Collapse','currentProperty','currentIndex','__selectedObject__','currentObjectChanged','_showAllProperties','_editReadonlyProperties','_selectedItem','_items','first','selectItem','allowDrop','acceptDrop','currentObjectChanging','propertyValueChanged','_propertyValueChanged','item','propertyValueChanging','propertyValue','currentObject','onCellSelect','off','mfdv-sort-indicator-icon-','newItems'];var _0x4cfc=function(_0x38201b,_0x44653a){_0x38201b=_0x38201b-0x0;var _0x5ec942=_0x3ec5[_0x38201b];return _0x5ec942;};import{DateUtils,IdGenerator,Control,Unit,EventDispatcher,NotifyCollectionChangedAction}from'@mindfusion/common';import{DateTimePicker,CheckListPicker,ImagePicker,Dialogs,ListItem,ToolStripItem,ToolStripItemType,ListContainer,ToolStrip}from'@mindfusion/common-ui';import{DomUtils,CancelEventArgs,EventArgs,Control as _0x5238ef}from'@mindfusion/controls';class DataType{static[_0x4cfc('0x0')](value1,value2){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}static[_0x4cfc('0x1')](element,displayValue,value,view){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}static['parse'](text){throw new Error(_0x4cfc('0x2'));}static[_0x4cfc('0x3')](value1,value2){throw new Error(_0x4cfc('0x2'));}}const RowAction={'Select':0x0,'Create':0x1,'Update':0x2,'Delete':0x3,'Command':0x4,'Render':0x5,'Load':0x6,'Expand':0x7,'Collapse':0x8};class StringType extends DataType{static[_0x4cfc('0x0')](value1,value2){if(typeof value1===_0x4cfc('0x4')||value1==null)value1='';if(typeof value2===_0x4cfc('0x4')||value2==null)value2='';return value1['toString']()[_0x4cfc('0x5')](value2);}static[_0x4cfc('0x1')](element,displayValue,value,view){var editor=document[_0x4cfc('0x6')](_0x4cfc('0x7'));editor['type']=_0x4cfc('0x8');editor[_0x4cfc('0x9')]='mfdv-string-editor';var model=view['effectiveModel'];if(model!=null){var meta=model['cellMetaData'](parseInt(element[_0x4cfc('0xa')]['row']),parseInt(element[_0x4cfc('0xa')]['column']));if(meta['has'](_0x4cfc('0xb')))editor[_0x4cfc('0xc')]=meta['get']('customType');if(meta[_0x4cfc('0xd')](_0x4cfc('0xe'))){var atts=meta[_0x4cfc('0xf')]('customAttributes');for(var i in atts){editor['setAttribute'](i,atts[i]);}}}editor[_0x4cfc('0x10')]=value||'';editor['dataset'][_0x4cfc('0x11')]=![];var type=view[_0x4cfc('0x12')]['cellDataType'](parseInt(element['dataset'][_0x4cfc('0x13')]),parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x14')]));editor[_0x4cfc('0x15')](_0x4cfc('0x16'),e=>{if(editor[_0x4cfc('0xa')][_0x4cfc('0x11')]==_0x4cfc('0x17'))return;editor[_0x4cfc('0xa')][_0x4cfc('0x11')]=![];var newValue=type[_0x4cfc('0x18')](editor[_0x4cfc('0x10')]);StringType[_0x4cfc('0x19')](newValue,element,view);});editor[_0x4cfc('0x15')](_0x4cfc('0x7'),e=>{if(editor['dataset']['isEditing']==_0x4cfc('0x17'))editor[_0x4cfc('0xa')][_0x4cfc('0x11')]=!![];});editor['addEventListener'](_0x4cfc('0x1a'),e=>{try{editor['setSelectionRange'](0x0,editor[_0x4cfc('0x10')][_0x4cfc('0x1b')]);}catch(_0x41ddc8){}});editor[_0x4cfc('0x15')](_0x4cfc('0x1c'),e=>{if(editor['dataset'][_0x4cfc('0x11')]=='false')return;editor[_0x4cfc('0xa')]['isEditing']=![];var newValue=type[_0x4cfc('0x18')](editor['value']);StringType[_0x4cfc('0x19')](newValue,element,view);});editor[_0x4cfc('0x15')](_0x4cfc('0x1d'),e=>{editor[_0x4cfc('0xa')][_0x4cfc('0x11')]=!![];});editor[_0x4cfc('0x15')](_0x4cfc('0x1e'),e=>{if(e[_0x4cfc('0x1f')][_0x4cfc('0x1b')]==0x1&&e[_0x4cfc('0x20')]==![]){var newValue=editor['value'][_0x4cfc('0x21')](0x0,editor[_0x4cfc('0x22')])+e[_0x4cfc('0x1f')]+editor['value'][_0x4cfc('0x21')](editor[_0x4cfc('0x23')]);if(typeof type[_0x4cfc('0x18')](newValue)=='undefined')e[_0x4cfc('0x24')]();}if(editor[_0x4cfc('0xa')][_0x4cfc('0x11')]==_0x4cfc('0x25')&&!(editor[_0x4cfc('0x22')]==0x0&&(e[_0x4cfc('0x26')]==0x25||e[_0x4cfc('0x26')]==0x26)&&e[_0x4cfc('0x27')]==![])&&!(editor[_0x4cfc('0x22')]==editor[_0x4cfc('0x10')]['length']&&(e[_0x4cfc('0x26')]==0x27||e[_0x4cfc('0x26')]==0x28)&&e[_0x4cfc('0x27')]==![])&&!(e[_0x4cfc('0x26')]==0x21||e[_0x4cfc('0x26')]==0x22||e[_0x4cfc('0x26')]==0x9)){e[_0x4cfc('0x28')]();}if(e[_0x4cfc('0x26')]==0x9)e['target']['blur']();});editor['addEventListener'](_0x4cfc('0x29'),e=>{var newValue=editor[_0x4cfc('0x10')][_0x4cfc('0x21')](0x0,editor[_0x4cfc('0x22')])+e['clipboardData']['getData'](_0x4cfc('0x2a'))+editor[_0x4cfc('0x10')][_0x4cfc('0x21')](editor[_0x4cfc('0x23')]);if(typeof type[_0x4cfc('0x18')](newValue)==_0x4cfc('0x4'))e[_0x4cfc('0x24')]();});element[_0x4cfc('0x2b')](editor);return editor;}static[_0x4cfc('0x19')](newValue,element,view,row,column){var model=view[_0x4cfc('0x12')];var r=element?parseInt(element[_0x4cfc('0xa')]['row']):row;var c=element?parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x14')]):column;var dataType=model[_0x4cfc('0x2c')](r,c);if(r===model[_0x4cfc('0x2d')]){var rowData=Object[_0x4cfc('0x2e')]({},model['getRowData'](r));rowData[model[_0x4cfc('0x2f')](c)]=newValue;view[_0x4cfc('0x30')](rowData);return;}if(!dataType['equals'](model[_0x4cfc('0x10')](r,c),newValue)){var rowData=Object[_0x4cfc('0x2e')]({},model[_0x4cfc('0x31')](r));var oldValues=new Map([[model[_0x4cfc('0x2f')](c),rowData[model['columnName'](c)]]]);var newValues=new Map([[model['columnName'](c),newValue]]);if(view['onRowValidateAction'](r,RowAction[_0x4cfc('0x32')],null,oldValues,newValues)){model[_0x4cfc('0x33')](r,c,newValues[_0x4cfc('0xf')](model[_0x4cfc('0x2f')](c)));if(element)view[_0x4cfc('0x34')][_0x4cfc('0x35')](r,c,element);view['onRowAction'](r,RowAction['Update'],null,oldValues,newValues);}}}static[_0x4cfc('0x35')](view,element,r,c,displayValue){var valueText=DomUtils[_0x4cfc('0x36')](element);if(!valueText)valueText=document[_0x4cfc('0x37')]('');valueText[_0x4cfc('0x38')]=displayValue;var content=view[_0x4cfc('0x39')](r,c,valueText);element['firstChild'][_0x4cfc('0x3a')]='';element[_0x4cfc('0x3b')]['appendChild'](content);}static['parse'](text){return text;}static['format'](value,meta){if(typeof value===_0x4cfc('0x4'))return'';return value;}static[_0x4cfc('0x3')](value1,value2){if(typeof value1===_0x4cfc('0x4'))value1='';if(typeof value2===_0x4cfc('0x4'))value2='';return value1===value2;}static get['textAlign'](){return _0x4cfc('0x3c');}}class DateType extends DataType{static[_0x4cfc('0x0')](value1,value2){if(typeof value1===_0x4cfc('0x4')||value1==null)value1=Number[_0x4cfc('0x3d')];if(typeof value2===_0x4cfc('0x4')||value2==null)value2=Number[_0x4cfc('0x3d')];return value1[_0x4cfc('0x3e')]()-value2[_0x4cfc('0x3e')]();}static get[_0x4cfc('0x3f')](){return new DateTimePicker();}static[_0x4cfc('0x1')](element,displayValue,value,view){var meta=view[_0x4cfc('0x12')]['columnMetaData'](parseInt(element[_0x4cfc('0xa')]['column']))||new Map();if(!meta[_0x4cfc('0xd')](_0x4cfc('0x3f'))){return DateType[_0x4cfc('0x40')](element,displayValue,value,view);}else{var editor=DateType[_0x4cfc('0x3f')];DateType[_0x4cfc('0x41')](editor,meta[_0x4cfc('0xf')](_0x4cfc('0x3f')),element,displayValue,value,view);return editor;}}static['createDefaultEditor'](element,displayValue,value,view){var editor=document[_0x4cfc('0x6')](_0x4cfc('0x7'));editor[_0x4cfc('0xc')]=_0x4cfc('0x42');editor['className']=_0x4cfc('0x43');editor[_0x4cfc('0x44')]=value||null;editor[_0x4cfc('0x15')]('focusout',e=>{var newValue=editor[_0x4cfc('0x44')];StringType[_0x4cfc('0x19')](newValue,element,view);});element[_0x4cfc('0x2b')](editor);return editor;}static[_0x4cfc('0x41')](editor,options,element,displayValue,value,view){editor[_0x4cfc('0x45')]=_0x4cfc('0x43');editor[_0x4cfc('0x46')]=view[_0x4cfc('0x46')];editor[_0x4cfc('0x47')]=![];editor[_0x4cfc('0x48')]=0x2;editor['createWrapper']=![];editor[_0x4cfc('0x49')](options);if(options[_0x4cfc('0x4a')])editor['calendar'][_0x4cfc('0x4a')]=options[_0x4cfc('0x4a')];editor[_0x4cfc('0x4b')]=value||null;if(value!=undefined&&isNaN(value))editor[_0x4cfc('0x4c')]=0x0;editor[_0x4cfc('0x4d')][_0x4cfc('0x15')]((sender,args)=>{var newValue=editor['value'];StringType[_0x4cfc('0x19')](newValue,element,view);});element[_0x4cfc('0x2b')](editor[_0x4cfc('0x4e')]());editor[_0x4cfc('0x4f')]();}static[_0x4cfc('0x18')](text){return Date[_0x4cfc('0x18')](text);}static[_0x4cfc('0x50')](value,meta){if(value==null)return'';if(isNaN(value))return _0x4cfc('0x51');meta=meta||new Map();if(meta[_0x4cfc('0xd')](_0x4cfc('0x3f'))){var options=meta['get'](_0x4cfc('0x3f'));if(options[_0x4cfc('0x4a')])return DateUtils['formatDate'](value,options[_0x4cfc('0x4a')][_0x4cfc('0x52')][_0x4cfc('0x53')][_0x4cfc('0x54')],options['locale'][_0x4cfc('0x52')]);}var format={...{'locales':_0x4cfc('0x55'),'options':{}},...meta['has']('format')?meta[_0x4cfc('0xf')](_0x4cfc('0x50')):{}};return new Intl[(_0x4cfc('0x56'))](format[_0x4cfc('0x57')],format[_0x4cfc('0x58')])[_0x4cfc('0x50')](value);}static[_0x4cfc('0x3')](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number[_0x4cfc('0x3d')];if(typeof value2===_0x4cfc('0x4')||value2==null)value2=Number['NEGATIVE_INFINITY'];return value1[_0x4cfc('0x3e')]()===value2[_0x4cfc('0x3e')]();}}class DateTimeType extends DateType{static get[_0x4cfc('0x3f')](){var editor=new DateTimePicker();editor['mode']=0x2;return editor;}static[_0x4cfc('0x1')](element,displayValue,value,view){var meta=view[_0x4cfc('0x12')][_0x4cfc('0x59')](parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x14')]))||new Map();if(!meta['has'](_0x4cfc('0x3f'))){return DateTimeType[_0x4cfc('0x40')](element,displayValue,value,view);}else{var editor=DateTimeType['customEditor'];DateType[_0x4cfc('0x41')](editor,meta['get'](_0x4cfc('0x3f')),element,displayValue,value,view);return editor;}}static[_0x4cfc('0x40')](element,displayValue,value,view){var editor=document[_0x4cfc('0x6')](_0x4cfc('0x7'));editor[_0x4cfc('0xc')]=_0x4cfc('0x5a');editor[_0x4cfc('0x9')]=_0x4cfc('0x43');try{editor[_0x4cfc('0x44')]=value||null;}catch(_0x327723){editor['value']=displayValue;}editor['addEventListener']('focusout',e=>{var newValue=new Date(editor[_0x4cfc('0x5b')]);StringType[_0x4cfc('0x19')](newValue,element,view);});element[_0x4cfc('0x2b')](editor);return editor;}static[_0x4cfc('0x50')](value,meta){if(value==null)return'';if(isNaN(value))return _0x4cfc('0x51');meta=meta||new Map();if(meta['has'](_0x4cfc('0x3f'))){var options=meta[_0x4cfc('0xf')]('customEditor');if(options[_0x4cfc('0x4a')])return DateUtils[_0x4cfc('0x5c')](value,options['locale'][_0x4cfc('0x52')][_0x4cfc('0x53')]['shortDateTime'],options[_0x4cfc('0x4a')]['dateSettings']);}return new Intl[(_0x4cfc('0x56'))](meta[_0x4cfc('0xf')](_0x4cfc('0x57')),{'dateStyle':_0x4cfc('0x5d'),'timeStyle':'short'})[_0x4cfc('0x50')](value);}}class BooleanType extends StringType{static[_0x4cfc('0x0')](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number[_0x4cfc('0x3d')];if(typeof value2===_0x4cfc('0x4')||value2==null)value2=Number[_0x4cfc('0x3d')];return value1-value2;}static[_0x4cfc('0x1')](element,displayValue,value,view){var editor=document[_0x4cfc('0x6')](_0x4cfc('0x7'));editor[_0x4cfc('0xc')]=_0x4cfc('0x5e');editor[_0x4cfc('0x9')]=_0x4cfc('0x5f');editor[_0x4cfc('0x60')]=value?'checked':'';editor[_0x4cfc('0x15')]('change',e=>{var newValue=editor[_0x4cfc('0x60')];StringType[_0x4cfc('0x19')](newValue,element,view);});element['appendChild'](editor);return editor;}static['updateCell'](view,element,r,c,displayValue){var checkbox=element[_0x4cfc('0x3b')][_0x4cfc('0x3b')];var value=view[_0x4cfc('0x61')][_0x4cfc('0x10')](r,c)['value'];if(value)checkbox[_0x4cfc('0x62')]('checked',_0x4cfc('0x60'));else checkbox[_0x4cfc('0x63')]('checked');}static[_0x4cfc('0x18')](text){return!/^(false|0)$/i[_0x4cfc('0x64')](text)&&!!text;}static[_0x4cfc('0x3')](value1,value2){if(typeof value1===_0x4cfc('0x4'))value1=Number[_0x4cfc('0x3d')];if(typeof value2==='undefined')value2=Number[_0x4cfc('0x3d')];return value1===value2;}static[_0x4cfc('0x50')](value,meta){var checkbox=document[_0x4cfc('0x6')]('input');checkbox[_0x4cfc('0xc')]=_0x4cfc('0x5e');checkbox['tabIndex']='-1';checkbox[_0x4cfc('0x9')]='mfdv-boolean-editor-readonly';if(value)checkbox[_0x4cfc('0x62')](_0x4cfc('0x60'),_0x4cfc('0x60'));else checkbox[_0x4cfc('0x63')](_0x4cfc('0x60'));return checkbox[_0x4cfc('0x65')];}}class ObjectType extends DataType{static['sortFunction'](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number[_0x4cfc('0x3d')];if(typeof value2===_0x4cfc('0x4')||value2==null)value2=Number[_0x4cfc('0x3d')];return value1-value2;}static[_0x4cfc('0x1')](element,displayValue,value,view){var r=parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x13')]);var c=parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x14')]);var editor=document['createElement'](_0x4cfc('0x66'));editor[_0x4cfc('0x67')]=_0x4cfc('0x68');editor['className']='mfdv-editor-expander';editor[_0x4cfc('0x15')](_0x4cfc('0x1d'),e=>{view['onCellAction'](r,c,value,displayValue);});element['appendChild'](editor);return editor;}static['parse'](text){return text;}static[_0x4cfc('0x50')](value,meta){if(value===undefined)return'';return value;}static[_0x4cfc('0x3')](value1,value2){if(typeof value1==='undefined')value1=Number[_0x4cfc('0x3d')];if(typeof value2==='undefined')value2=Number['NEGATIVE_INFINITY'];return value1===value2;}}class IntegerType extends DataType{static[_0x4cfc('0x0')](value1,value2){if(typeof value1===_0x4cfc('0x4')||value1==null)value1=Number[_0x4cfc('0x3d')];if(typeof value2===_0x4cfc('0x4')||value2==null)value2=Number[_0x4cfc('0x3d')];return value1-value2;}static[_0x4cfc('0x1')](element,displayValue,value,view){return StringType[_0x4cfc('0x1')](element,displayValue,value,view);}static[_0x4cfc('0x18')](text){if(/^\s*[+-]?[\d\s]*$/['test'](text)==![])return undefined;text=text[_0x4cfc('0x69')](/\s/g,'');if(/^[+-]$/[_0x4cfc('0x64')](text)==!![])return 0x0;var asInteger=parseInt(text);if(isNaN(asInteger))return undefined;return asInteger;}static[_0x4cfc('0x50')](value,meta){if(typeof value==='undefined')return'';meta=meta||new Map();var format={...{'locales':'en-US','options':{'style':_0x4cfc('0x6a'),'useGrouping':![]}},...meta['has'](_0x4cfc('0x50'))?meta[_0x4cfc('0xf')](_0x4cfc('0x50')):{}};return new Intl[(_0x4cfc('0x6b'))](format['locales'],format['options'])[_0x4cfc('0x50')](value);}static['equals'](value1,value2){if(typeof value1===_0x4cfc('0x4'))value1=Number[_0x4cfc('0x3d')];if(typeof value2===_0x4cfc('0x4'))value2=Number[_0x4cfc('0x3d')];return value1===value2;}static get[_0x4cfc('0x6c')](){return _0x4cfc('0x6d');}}class LookupType extends DataType{static[_0x4cfc('0x0')](value1,value2){var ctx=DataType['metaDataContext'];if(typeof ctx!==_0x4cfc('0x4')&&ctx[_0x4cfc('0x6e')]instanceof Map){value1=ctx['keyValues'][_0x4cfc('0xf')](value1);value2=ctx[_0x4cfc('0x6e')][_0x4cfc('0xf')](value2);}if(typeof value1===_0x4cfc('0x4')||value1==null)value1='';if(typeof value2===_0x4cfc('0x4')||value2==null)value2='';return value1[_0x4cfc('0x6f')]()[_0x4cfc('0x5')](value2);}static get['customEditor'](){return new CheckListPicker();}static[_0x4cfc('0x1')](element,displayValue,value,view){var meta=view['effectiveModel'][_0x4cfc('0x59')](parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x14')]))||new Map();if(!meta[_0x4cfc('0xd')](_0x4cfc('0x3f'))){return LookupType[_0x4cfc('0x40')](element,displayValue,value,view);}else{var editor=LookupType[_0x4cfc('0x3f')];LookupType['createCustomEditor'](editor,meta['get']('customEditor'),element,displayValue,value,view);return editor;}}static['createDefaultEditor'](element,displayValue,value,view){var editor=document[_0x4cfc('0x6')]('select');editor[_0x4cfc('0x9')]=_0x4cfc('0x70');var model=view[_0x4cfc('0x12')];if(model!=null){var meta=model[_0x4cfc('0x71')](parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x13')]),parseInt(element['dataset']['column']));if(typeof meta==='undefined')throw new Error(_0x4cfc('0x72'));var values=[];if(meta[_0x4cfc('0xf')]('keyValues')instanceof Map)values=meta[_0x4cfc('0xf')](_0x4cfc('0x6e'))[_0x4cfc('0x73')]();else if(meta['get'](_0x4cfc('0x73'))instanceof Array)values=meta[_0x4cfc('0xf')](_0x4cfc('0x73'));else throw new Error('Meta\x20data\x20must\x20either\x20have\x20a\x20\x27keyValues\x27\x20property\x20of\x20type\x20Map\x20or\x20a\x20\x27values\x27\x20property\x20of\x20type\x20Array.');for(let value of values){let option=document[_0x4cfc('0x6')](_0x4cfc('0x74'));option[_0x4cfc('0x10')]=value;option[_0x4cfc('0x67')]=value;editor['appendChild'](option);}}editor[_0x4cfc('0x10')]=displayValue;editor[_0x4cfc('0x15')](_0x4cfc('0x16'),e=>{var model=view[_0x4cfc('0x12')];if(model!=null){if(meta['get']('keyValues')instanceof Map){for(let key of meta[_0x4cfc('0xf')](_0x4cfc('0x6e'))[_0x4cfc('0x75')]()){if(meta[_0x4cfc('0xf')]('keyValues')[_0x4cfc('0xf')](key)===editor[_0x4cfc('0x10')]){StringType[_0x4cfc('0x19')](key,element,view);break;}}}else if(meta[_0x4cfc('0xf')](_0x4cfc('0x73'))instanceof Array){StringType[_0x4cfc('0x19')](editor['value'],element,view);}}});element['appendChild'](editor);return editor;}static[_0x4cfc('0x41')](editor,options,element,displayValue,value,view){var model=view['effectiveModel'];if(model!=null){var meta=model[_0x4cfc('0x71')](parseInt(element[_0x4cfc('0xa')]['row']),parseInt(element['dataset'][_0x4cfc('0x14')]));editor[_0x4cfc('0x45')]=_0x4cfc('0x43');editor[_0x4cfc('0x46')]=view[_0x4cfc('0x46')];editor[_0x4cfc('0x48')]=0x2;editor['createWrapper']=![];editor[_0x4cfc('0x49')](options);editor[_0x4cfc('0x73')]=meta[_0x4cfc('0xf')]('keyValues')||new Map(meta[_0x4cfc('0xf')]('values')['map'](x=>[x[_0x4cfc('0x6f')](),x[_0x4cfc('0x6f')]()]));editor['value']=value;editor['valueChanged'][_0x4cfc('0x15')]((sender,args)=>{var model=view['effectiveModel'];if(model!=null){if(editor[_0x4cfc('0x76')])StringType[_0x4cfc('0x19')](editor[_0x4cfc('0x10')],element,view);else StringType[_0x4cfc('0x19')](typeof editor[_0x4cfc('0x10')]!=undefined&&editor[_0x4cfc('0x10')]!=null?editor['value'][0x0]:editor[_0x4cfc('0x10')],element,view);}});element[_0x4cfc('0x2b')](editor[_0x4cfc('0x4e')]());editor[_0x4cfc('0x4f')]();}}static[_0x4cfc('0x50')](value,meta){meta=meta||new Map();if(meta[_0x4cfc('0xf')]('keyValues')){if(meta['has']('customEditor')){var options=meta['get'](_0x4cfc('0x3f'));return CheckListPicker['getStringValue'](options['mode'],value,meta[_0x4cfc('0xf')](_0x4cfc('0x6e')));}return meta[_0x4cfc('0xf')](_0x4cfc('0x6e'))[_0x4cfc('0xf')](value);}return value==null||value==undefined?'':value;}static[_0x4cfc('0x3')](value1,value2){var ctx=DataType[_0x4cfc('0x77')];if(typeof ctx!=='undefined'&&ctx[_0x4cfc('0x6e')]instanceof Map){value1=ctx[_0x4cfc('0x6e')][_0x4cfc('0xf')](value1);value2=ctx[_0x4cfc('0x6e')][_0x4cfc('0xf')](value2);}if(typeof value1===_0x4cfc('0x4'))value1='';if(typeof value2===_0x4cfc('0x4'))value2='';return value1===value2;}}class RealNumberType extends IntegerType{static[_0x4cfc('0x18')](text){if(/^\s*[+-]?[\d\s]*[\.,]?[\d\s]*$/[_0x4cfc('0x64')](text)==![])return undefined;text=text[_0x4cfc('0x69')](/\s/g,'');text=text[_0x4cfc('0x69')](/,/g,'.');if(/^([+-\.])\.?$/[_0x4cfc('0x64')](text)==!![])return 0x0;var asReal=parseFloat(text);if(isNaN(asReal))return undefined;return asReal;}}class DynamicType extends DataType{static[_0x4cfc('0x0')](valueObj1,valueObj2){var value1=valueObj1[_0x4cfc('0x10')];var value2=valueObj2[_0x4cfc('0x10')];if(typeof value1===_0x4cfc('0x4')||value1==null)value1='';if(typeof value2===_0x4cfc('0x4')||value2==null)value2='';value1=value1['toString']();value2=value2['toString']();var ax=[],bx=[];value1[_0x4cfc('0x69')](/(\d+)|(\D+)/g,function(_,$1,$2){ax[_0x4cfc('0x78')]([$1||Infinity,$2||'']);});value2[_0x4cfc('0x69')](/(\d+)|(\D+)/g,function(_,$1,$2){bx[_0x4cfc('0x78')]([$1||Infinity,$2||'']);});while(ax['length']&&bx[_0x4cfc('0x1b')]){var an=ax[_0x4cfc('0x79')]();var bn=bx['shift']();var nn=an[0x0]-bn[0x0]||an[0x1][_0x4cfc('0x5')](bn[0x1]);if(nn)return nn;}return ax[_0x4cfc('0x1b')]-bx[_0x4cfc('0x1b')];}static[_0x4cfc('0x7a')](value,meta){if(meta[_0x4cfc('0xd')]('dataType'))return meta['get'](_0x4cfc('0x7b'));if(value instanceof Array){if(meta[_0x4cfc('0xd')](_0x4cfc('0x6e'))||meta['has'](_0x4cfc('0x73')))return LookupType;}if(value instanceof Date)return DateType;if(Number[_0x4cfc('0x7c')](value))return IntegerType;if(typeof value==='number'&&!Number[_0x4cfc('0x7d')](value))return RealNumberType;if(typeof value===_0x4cfc('0x7e'))return BooleanType;if(typeof value===_0x4cfc('0x7f'))return StringType;return ObjectType;}static[_0x4cfc('0x1')](element,displayValue,value,view){var editor=document['createElement'](_0x4cfc('0x80'));editor[_0x4cfc('0x9')]=_0x4cfc('0x70');var model=view[_0x4cfc('0x12')];if(model!=null){var meta=value[_0x4cfc('0x81')];var dataType=DynamicType[_0x4cfc('0x82')](value);if(!dataType)dataType=DynamicType[_0x4cfc('0x7a')](value[_0x4cfc('0x10')],meta);if(dataType){var customEditor=meta[_0x4cfc('0xf')](_0x4cfc('0x3f'));if(customEditor&&dataType['createCustomEditor']){var editor=dataType['customEditor'];dataType[_0x4cfc('0x41')](editor,customEditor,element,displayValue,value[_0x4cfc('0x10')],view);return editor;}else if(dataType['createDefaultEditor'])return dataType[_0x4cfc('0x40')](element,displayValue,value[_0x4cfc('0x10')],view);else return dataType[_0x4cfc('0x1')](element,displayValue,value['value'],view);}return StringType[_0x4cfc('0x1')](element,displayValue,value[_0x4cfc('0x10')],view);}}static[_0x4cfc('0x18')](text){return text;}static['format'](value,meta){var dataType=DynamicType[_0x4cfc('0x7a')](value,meta);return dataType[_0x4cfc('0x50')](value,meta);}static[_0x4cfc('0x3')](value1,value2){var dataType=DynamicType[_0x4cfc('0x7a')](value1,value1[_0x4cfc('0x81')]);return dataType[_0x4cfc('0x3')](value1[_0x4cfc('0x10')],value2);}static get['textAlign'](){return'';}static[_0x4cfc('0x82')](){return null;}static['getCellValueCallback'](){return null;}static[_0x4cfc('0x83')](){return null;}static[_0x4cfc('0x84')](text){return null;}}class ArrayModel{constructor(values,columns,keyField){this['_values']=values;this[_0x4cfc('0x85')]=columns;this[_0x4cfc('0x86')]=keyField;this[_0x4cfc('0x87')]=IdGenerator[_0x4cfc('0x88')](_0x4cfc('0x89'));}[_0x4cfc('0x8a')](){if(this['_keyField']==undefined||this[_0x4cfc('0x8b')][_0x4cfc('0x1b')]==0x0)return null;var keyType=this[_0x4cfc('0x8c')](this['_columns'][_0x4cfc('0x8d')](c=>c[_0x4cfc('0x8e')]==this[_0x4cfc('0x86')]));var values=this[_0x4cfc('0x8b')][_0x4cfc('0x8f')](function(row){return row[this['_keyField']];}[_0x4cfc('0x90')](this));var sorted=values['sort'](keyType[_0x4cfc('0x0')]);var key=sorted[sorted[_0x4cfc('0x1b')]-0x1];return key;}[_0x4cfc('0x91')](row){if(row<this['rowCount']){var key=this['_values'][row][this['_keyField']];if(key!=undefined)return key;return row;}return this['_autoKey'];}[_0x4cfc('0x92')](key){if(key==this[_0x4cfc('0x87')])return this[_0x4cfc('0x2d')];if(this[_0x4cfc('0x86')]==undefined)return key;var row=this[_0x4cfc('0x8b')]['findIndex'](v=>v[this[_0x4cfc('0x86')]]===key);return row;}[_0x4cfc('0x8c')](column){return this[_0x4cfc('0x85')][column][_0x4cfc('0x7b')];}[_0x4cfc('0x2f')](column){return this[_0x4cfc('0x85')][column][_0x4cfc('0x8e')];}[_0x4cfc('0x93')](column){return this[_0x4cfc('0x85')][column][_0x4cfc('0x94')];}['columnEditable'](column){return this['_columns'][column][_0x4cfc('0x95')];}[_0x4cfc('0x96')](column){return this[_0x4cfc('0x85')][column][_0x4cfc('0x97')];}[_0x4cfc('0x98')](column){return this[_0x4cfc('0x85')][column][_0x4cfc('0x99')];}[_0x4cfc('0x59')](column){return this[_0x4cfc('0x85')][column][_0x4cfc('0x9a')];}[_0x4cfc('0x71')](row,column){if(this[_0x4cfc('0x8c')](column)==DynamicType){if(row<this['rowCount']){var valueObj=this['value'](row,column);var userMetaData=DynamicType[_0x4cfc('0x83')](valueObj,row,column);if(userMetaData)return userMetaData;return valueObj[_0x4cfc('0x81')];}}return this[_0x4cfc('0x85')][column][_0x4cfc('0x9a')];}[_0x4cfc('0x2c')](row,column){if(this[_0x4cfc('0x8c')](column)==DynamicType){if(row<this['rowCount']){var valueObj=this['value'](row,column);var userDataType=DynamicType['resolveDataTypeCallback'](valueObj,row,column);if(userDataType)return userDataType;return DynamicType[_0x4cfc('0x7a')](valueObj[_0x4cfc('0x10')],valueObj[_0x4cfc('0x81')]);}}return this['columnType'](column);}[_0x4cfc('0x33')](row,column,value){if(row<this[_0x4cfc('0x2d')]){var columnName=this[_0x4cfc('0x85')][column][_0x4cfc('0x8e')];this[_0x4cfc('0x8b')][row][columnName]=value;}else throw new Error(_0x4cfc('0x9b'));}['value'](row,column){var columnName=this[_0x4cfc('0x85')][column][_0x4cfc('0x8e')];if(row<this[_0x4cfc('0x2d')]){var value=this[_0x4cfc('0x8b')][row][columnName];if(this[_0x4cfc('0x8c')](column)==DynamicType){var userValue=DynamicType[_0x4cfc('0x9c')](value,row,column);if(userValue)return{'value':userValue,'meta':new Map()};return{'value':value,'meta':new Map()};}if(typeof this[_0x4cfc('0x8b')][row][columnName]!==_0x4cfc('0x4')){if(this[_0x4cfc('0x8c')](column)===DateType||this[_0x4cfc('0x8c')](column)===DateTimeType){if(isNaN(value))return new Date(Date[_0x4cfc('0x18')](value));}return value;}}return undefined;}[_0x4cfc('0x9d')](row,column){var value=this[_0x4cfc('0x10')](row,column);var meta=this[_0x4cfc('0x59')](column);if(this['columnType'](column)==DynamicType){var userFormat=DynamicType['formatCellValueCallback'](value,row,column);if(userFormat)return userFormat;var userDataType=DynamicType[_0x4cfc('0x82')](value,row,column);if(userDataType)return userDataType[_0x4cfc('0x50')](value[_0x4cfc('0x10')],meta);return DynamicType[_0x4cfc('0x50')](value[_0x4cfc('0x10')],meta);}var dataType=this[_0x4cfc('0x8c')](column);if(dataType[_0x4cfc('0x50')])return dataType['format'](value,meta);return'';}[_0x4cfc('0x31')](row){if(row>-0x1&&row<this['rowCount']){return this['_values'][row];}else{var data={};for(var c=0x0;c<this[_0x4cfc('0x85')]['length'];c++){data[this[_0x4cfc('0x85')][c][_0x4cfc('0x8e')]]=undefined;}return data;}}[_0x4cfc('0x30')](rowData,index){if(rowData===undefined)rowData=this['getRowData'](-0x1);if(index===undefined)index=this['rowCount'];this['_values']['splice'](index,0x0,rowData);return index;}[_0x4cfc('0x9e')](row){if(row>-0x1&&row<this[_0x4cfc('0x2d')])this[_0x4cfc('0x8b')][_0x4cfc('0x9f')](row,0x1);}get['rowCount'](){return this[_0x4cfc('0x8b')][_0x4cfc('0x1b')];}get['columnCount'](){return this[_0x4cfc('0x85')][_0x4cfc('0x1b')];}}class Command{static['createControl'](sender,args){var control=document[_0x4cfc('0x6')]('input');control['type']='button';control['value']=this[_0x4cfc('0x8e')];control[_0x4cfc('0x9')]=_0x4cfc('0xa0');return control;}static get[_0x4cfc('0xa1')](){return'';}static get[_0x4cfc('0xa2')](){return _0x4cfc('0x1d');}static[_0x4cfc('0x4f')](command,control,view,row){control[_0x4cfc('0x15')](command[_0x4cfc('0xa2')],e=>{e['stopPropagation']();view[_0x4cfc('0xa3')](command[_0x4cfc('0xa1')],control,row);});}}class RowModifyingEventArgs extends CancelEventArgs{constructor(row,action,rowData,oldValues,newValues){super();this['_row']=row;this['_action']=action;this[_0x4cfc('0xa4')]=rowData;this[_0x4cfc('0xa5')]=oldValues||new Map();this[_0x4cfc('0xa6')]=newValues||new Map();}get[_0x4cfc('0x13')](){return this[_0x4cfc('0xa7')];}get[_0x4cfc('0xa8')](){return this[_0x4cfc('0xa4')];}get[_0x4cfc('0xa9')](){return this[_0x4cfc('0xaa')];}get['oldValues'](){return this['_oldValues'];}get[_0x4cfc('0xab')](){return this[_0x4cfc('0xa6')];}}class RowModifiedEventArgs extends EventArgs{constructor(row,action,rowData,oldValues,newValues){super();this[_0x4cfc('0xa7')]=row;this[_0x4cfc('0xaa')]=action;this[_0x4cfc('0xa4')]=rowData;this[_0x4cfc('0xa5')]=oldValues||new Map();this[_0x4cfc('0xa6')]=newValues||new Map();}get['row'](){return this['_row'];}get[_0x4cfc('0xa8')](){return this['_rowData'];}get['action'](){return this[_0x4cfc('0xaa')];}get[_0x4cfc('0xac')](){return this[_0x4cfc('0xa5')];}get[_0x4cfc('0xab')](){return this[_0x4cfc('0xa6')];}}class CommandEventArgs extends RowModifyingEventArgs{constructor(commandName,control,row,rowData){super(row,RowAction['Command'],rowData);this[_0x4cfc('0xad')]=commandName;this['_control']=control;}get[_0x4cfc('0xa1')](){return this[_0x4cfc('0xad')];}get['control'](){return this[_0x4cfc('0xae')];}}class CellValidateEventArgs extends CancelEventArgs{constructor(row,column,value,displayValue){super();this[_0x4cfc('0xa7')]=row;this[_0x4cfc('0xaf')]=column;this[_0x4cfc('0x4b')]=value;this[_0x4cfc('0xb0')]=displayValue;}get[_0x4cfc('0x13')](){return this[_0x4cfc('0xa7')];}get[_0x4cfc('0x14')](){return this[_0x4cfc('0xaf')];}get[_0x4cfc('0x10')](){return this['_value'];}get[_0x4cfc('0xb1')](){return this[_0x4cfc('0xb0')];}}class CellEventArgs extends EventArgs{constructor(row,column,value,displayValue){super();this[_0x4cfc('0xa7')]=row;this[_0x4cfc('0xaf')]=column;this['_value']=value;this[_0x4cfc('0xb0')]=displayValue;}get[_0x4cfc('0x13')](){return this[_0x4cfc('0xa7')];}get[_0x4cfc('0x14')](){return this['_column'];}get[_0x4cfc('0x10')](){return this[_0x4cfc('0x4b')];}get['displayValuelu'](){return this[_0x4cfc('0xb0')];}}class CellCustomDrawEventArgs extends CellEventArgs{constructor(row,column,defaultContent){super(row,column);this[_0x4cfc('0xb2')]=defaultContent;}get[_0x4cfc('0xb3')](){return this[_0x4cfc('0xb2')];}get['content'](){return this[_0x4cfc('0xb4')];}set[_0x4cfc('0xb5')](value){this[_0x4cfc('0xb4')]=value;}}class CellResolveEventArgs extends EventArgs{constructor(row,column,value,result){super();this[_0x4cfc('0xa7')]=row;this[_0x4cfc('0xaf')]=column;this[_0x4cfc('0x4b')]=value;this[_0x4cfc('0xb6')]=result;}get['row'](){return this['_row'];}get[_0x4cfc('0x14')](){return this[_0x4cfc('0xaf')];}get[_0x4cfc('0x10')](){return this[_0x4cfc('0x4b')];}get[_0x4cfc('0xb7')](){return this[_0x4cfc('0xb6')];}set[_0x4cfc('0xb7')](value){this['_result']=value;}}class PropertyEventArgs extends CancelEventArgs{constructor(action,propertyName,index,propertyValue,oldValue,newValue,meta){super();this[_0x4cfc('0xaa')]=action;this['_propertyName']=propertyName;this[_0x4cfc('0xb8')]=index;this[_0x4cfc('0xb9')]=propertyValue;this[_0x4cfc('0xba')]=oldValue;this['_newValue']=newValue;this[_0x4cfc('0xbb')]=meta;}get[_0x4cfc('0xa9')](){return this[_0x4cfc('0xaa')];}get[_0x4cfc('0xbc')](){return this[_0x4cfc('0xbd')];}get[_0x4cfc('0xbe')](){return this['_index'];}get['propertyValue'](){return this[_0x4cfc('0xb9')];}get[_0x4cfc('0xbf')](){return this['_oldValue'];}get[_0x4cfc('0xc0')](){return this[_0x4cfc('0xc1')];}set[_0x4cfc('0xc0')](value){this[_0x4cfc('0xc1')]=value;}get[_0x4cfc('0x81')](){return this[_0x4cfc('0xbb')];}}class CommandType{static[_0x4cfc('0xc2')](element,view){var row=parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x13')]);if(row==view[_0x4cfc('0x12')][_0x4cfc('0x2d')])return;var meta=view['effectiveModel'][_0x4cfc('0x59')](parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x14')]));var commands=meta[_0x4cfc('0xf')](_0x4cfc('0xc3'))||[];for(var i=0x0;i<commands[_0x4cfc('0x1b')];i++){var command=commands[i];var control=command[_0x4cfc('0xc4')](view,new RowModifiedEventArgs(row,RowAction[_0x4cfc('0xc5')],view[_0x4cfc('0x12')][_0x4cfc('0x31')](row)));control[_0x4cfc('0xa')][_0x4cfc('0xc6')]=command['commandName'];Command[_0x4cfc('0x4f')](command,control,view,row);element[_0x4cfc('0x2b')](control);}}}class CurrencyType extends RealNumberType{static[_0x4cfc('0x18')](text){var asReal=super[_0x4cfc('0x18')](text);if(typeof asReal===_0x4cfc('0x4'))return undefined;var decimalFormatter=new Intl['NumberFormat'](_0x4cfc('0x55'),{'style':_0x4cfc('0x6a'),'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':![]});var rounded=decimalFormatter['format'](asReal);if(isNaN(rounded))return undefined;return parseFloat(rounded);}static['format'](value,meta){if(typeof value===_0x4cfc('0x4'))return'';meta=meta||new Map();var format=meta[_0x4cfc('0xd')](_0x4cfc('0x50'))?meta[_0x4cfc('0xf')](_0x4cfc('0x50')):{'locales':_0x4cfc('0x55'),'options':{'currencyDisplay':_0x4cfc('0xc7'),'useGrouping':!![]}};format[_0x4cfc('0x58')]=format[_0x4cfc('0x58')]||{};format[_0x4cfc('0x58')][_0x4cfc('0xc8')]=_0x4cfc('0xc9');format[_0x4cfc('0x58')][_0x4cfc('0xc9')]=format['options']['currency']||'USD';return new Intl['NumberFormat'](format['locales'],format['options'])['format'](value);}}class DeleteCommand extends Command{static get[_0x4cfc('0xa1')](){return _0x4cfc('0xca');}static[_0x4cfc('0xcb')](sender,args){sender['removeRowRange'](args[_0x4cfc('0x13')],0x1);}}class DomRenderer{get[_0x4cfc('0xcc')](){return this['_grid'];}set[_0x4cfc('0xcc')](value){this['_grid']=value;}get[_0x4cfc('0xcd')](){}get[_0x4cfc('0xce')](){}[_0x4cfc('0xcf')](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}[_0x4cfc('0xd0')](){throw new Error(_0x4cfc('0x2'));}[_0x4cfc('0xd1')](index,count){throw new Error(_0x4cfc('0x2'));}[_0x4cfc('0x35')](row,column){throw new Error(_0x4cfc('0x2'));}[_0x4cfc('0xd2')](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}[_0x4cfc('0xd3')](){throw new Error(_0x4cfc('0x2'));}[_0x4cfc('0xd4')](){throw new Error(_0x4cfc('0x2'));}[_0x4cfc('0xd5')](){throw new Error(_0x4cfc('0x2'));}[_0x4cfc('0xd6')](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}}class UIControl extends Control{constructor(element,tagName){super(element,tagName);const Messenger=function(){var licenseKey=null;var start,startXhr;var d=null,dm=null,ns;var rd=new Date(0x7e7,0x6,0x1);var f,dt,checked=![],nowait=![];var dec=String[_0x4cfc('0xd7')];if(!start)start=new Date()['getTime']();function drawMessage(control){if(!d&&new Date()['getTime']()-start>0x1f40){d=control;}if(!d)return;if(req(control))return;dm=dec[_0x4cfc('0xd8')](undefined,control[_0x4cfc('0xd9')]||UIControl['tm']);ns=dm==0x0?'':control[_0x4cfc('0xda')]['ns'];var h=control[_0x4cfc('0xdb')];if(h){h[_0x4cfc('0x3a')]=ns+dm;}}function logMeInConsole(){return String['fromCharCode']['apply'](undefined,[0x4d,0x69,0x6e,0x64,0x46,0x75,0x73,0x69,0x6f,0x6e,0x2e,0x44,0x61,0x74,0x61,0x56,0x69,0x65,0x77,0x73,0x20,0x20,0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x20,0x74,0x6f,0x20]);}function ab2str(buf){return String['fromCharCode']['apply'](null,new Uint16Array(buf));}function str2ab(str){var buf=new ArrayBuffer(str[_0x4cfc('0x1b')]*0x2);var bufView=new Uint16Array(buf);for(var i=0x0,strLen=str[_0x4cfc('0x1b')];i<strLen;i++){bufView[i]=str['charCodeAt'](i);}return buf;}var isBase64=function(value){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0x4cfc('0x64')](value);};function req(control){var getLicenseKey=function(){return licenseKey||_0x5238ef['licenseKey'];};var lc2=function(){var content=String[_0x4cfc('0xd7')][_0x4cfc('0xd8')](undefined,[0x5a,0x6b,0x59,0x6c,0x4d,0x55,0x5a,0x57,0x57,0x45,0x51,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x5a,0x51,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x56,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x54,0x4e,0x59,0x53,0x43,0x55,0x77,0x4e,0x6e,0x42,0x55,0x55,0x31,0x6b,0x6c,0x4e,0x30,0x4a,0x49,0x54,0x6c,0x52,0x53,0x55,0x79,0x55,0x78,0x52,0x69,0x55,0x78,0x4d,0x53,0x55,0x78,0x52,0x6b,0x73,0x6c,0x4e,0x55,0x4e,0x52,0x53,0x46,0x67,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x54,0x41,0x6c,0x4d,0x45,0x4d,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x54,0x41,0x6c,0x4d,0x45,0x55,0x6c,0x4d,0x45,0x4e,0x70,0x4a,0x54,0x42,0x47,0x4a,0x54,0x42,0x47,0x4a,0x54,0x41,0x33,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x41,0x33,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x45,0x7a,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x5a,0x79,0x55,0x78,0x52,0x69,0x55,0x30,0x4d,0x43,0x55,0x78,0x4d,0x55,0x59,0x6c,0x4d,0x55,0x5a,0x57,0x57,0x45,0x51,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x5a,0x51,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x56,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x54,0x4d,0x6c,0x4e,0x55,0x56,0x53,0x4a,0x54,0x41,0x32,0x63,0x46,0x52,0x54,0x57,0x53,0x55,0x33,0x51,0x6b,0x68,0x4f,0x56,0x46,0x4a,0x54,0x4a,0x54,0x46,0x47,0x4a,0x54,0x45,0x78,0x4a,0x54,0x46,0x47,0x53,0x79,0x55,0x31,0x51,0x31,0x46,0x49,0x57,0x43,0x55,0x78,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x78,0x52,0x69,0x55,0x77,0x52,0x69,0x55,0x77,0x4e,0x43,0x55,0x77,0x4e,0x43,0x55,0x77,0x4e,0x43,0x55,0x78,0x4d,0x43,0x55,0x77,0x51,0x79,0x55,0x77,0x52,0x69,0x55,0x78,0x4d,0x43,0x55,0x77,0x52,0x53,0x55,0x77,0x51,0x32,0x6b,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x54,0x4d,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x52,0x6e,0x4a,0x54,0x46,0x47,0x4a,0x54,0x51,0x77,0x4a,0x54,0x45,0x78,0x52,0x69,0x55,0x78,0x52,0x6c,0x5a,0x59,0x52,0x43,0x55,0x78,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x78,0x52,0x69,0x55,0x31,0x52,0x56,0x46,0x55,0x57,0x46,0x4e,0x4a,0x54,0x69,0x55,0x31,0x51,0x30,0x39,0x59,0x4a,0x54,0x56,0x44,0x4a,0x54,0x45,0x7a,0x57,0x45,0x67,0x6c,0x4d,0x44,0x5a,0x77,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x64,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x54,0x45,0x6c,0x4d,0x55,0x5a,0x4c,0x4a,0x54,0x56,0x44,0x55,0x55,0x68,0x59,0x4a,0x54,0x46,0x47,0x4a,0x54,0x41,0x33,0x4a,0x54,0x46,0x47,0x4a,0x54,0x42,0x47,0x4a,0x54,0x41,0x30,0x4a,0x54,0x41,0x30,0x4a,0x54,0x41,0x30,0x4a,0x54,0x45,0x77,0x4a,0x54,0x42,0x44,0x4a,0x54,0x42,0x47,0x4a,0x54,0x45,0x77,0x4a,0x54,0x42,0x46,0x4a,0x54,0x42,0x44,0x61,0x53,0x55,0x77,0x52,0x69,0x55,0x77,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x77,0x4e,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x78,0x4d,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x47,0x63,0x6c,0x4d,0x55,0x59,0x6c,0x4e,0x44,0x41,0x6c,0x4e,0x6a,0x41,0x3d]);if(!isBase64(content))return![];var cb=new Uint16Array(str2ab(decodeURIComponent(atob(content)))),cc_1=new Uint16Array(cb[_0x4cfc('0x1b')]);for(var i=0x0;i<cb[_0x4cfc('0x1b')];i++){var v=cb[i];cc_1[i]=~(v^~'37')^0x18;}var strl=ab2str(cc_1[_0x4cfc('0xdc')]);var doms=JSON[_0x4cfc('0x18')](strl);try{if(doms&&doms[_0x4cfc('0x1b')]){var h=typeof window===_0x4cfc('0xdd')&&typeof window[_0x4cfc('0xde')]===_0x4cfc('0xdd')&&typeof window[_0x4cfc('0xde')][_0x4cfc('0xdf')]===_0x4cfc('0x7f')&&window[_0x4cfc('0xde')][_0x4cfc('0xdf')];if(h){h=(h||'')[_0x4cfc('0x69')](String[_0x4cfc('0xd7')](0x77,0x77,0x77,0x2e),'');for(var i=0x0;i<doms[_0x4cfc('0x1b')];i++){var n=doms[i]['key'][_0x4cfc('0xe0')](';');if(n[0x0][_0x4cfc('0x69')](String[_0x4cfc('0xd7')](0x77,0x77,0x77,0x2e),'')==h&&rd[_0x4cfc('0xe1')]()<=new Date(doms[i][_0x4cfc('0x10')])[_0x4cfc('0xe1')]()){f=!![];console[_0x4cfc('0xe2')](''+logMeInConsole()+n[0x1]+'.');return!![];}}}}}catch(_0x1dbdfc){return![];}return![];};var lc=function(content){var cb=new Uint16Array(str2ab(decodeURIComponent(atob(content)))),cc_1=new Uint16Array(cb[_0x4cfc('0x1b')]);for(var i=0x0;i<cb[_0x4cfc('0x1b')];i++){var v=cb[i];cc_1[i]=~(v^~'73')^0x2a;}var strl=ab2str(cc_1[_0x4cfc('0xdc')]);var flag1=![],flag2=![];var a1='',a2='';for(var strli=0x0;strli<strl['length'];strli++){if(!flag1){if(strl[strli]=='.'){flag1=!![];continue;}a1+=strl[strli];continue;}if(!flag2){if(strl[strli]=='.'){flag2=!![];continue;}a2+=strl[strli];continue;}break;}var c1='',c2='';strl=strl['substr'](a1[_0x4cfc('0x1b')]+a2[_0x4cfc('0x1b')]+0x2);a1=parseInt(a1);a2=parseInt(a2);for(var arg=0x0;arg<a1;++arg){if(arg<=a2)c1+=strl[arg*0x2];else c1+=strl[a2*0x2+(arg-a2)];}for(var arg=0x0;arg<a2;++arg){if(arg<a1)c2+=strl[0x1+arg*0x2];else c2+=strl[a1*0x2+(arg-a1)];}var cj_1=[c1,c2];var expDate=cj_1[0x0][_0x4cfc('0x21')](0x2,0x4)+'-'+cj_1[0x0][_0x4cfc('0x21')](0x6,0x2)+'-'+cj_1[0x0]['substr'](0x8,0x2);f=cj_1[0x0]['substr'](0x11)[_0x4cfc('0xe3')]('(jspack)')&&rd[_0x4cfc('0xe1')]()<=new Date(expDate)[_0x4cfc('0xe1')]();if(f)console[_0x4cfc('0xe2')](''+logMeInConsole()+cj_1[0x1]+'.');};if(!checked){if(control[_0x4cfc('0xe4')])return control['req']();checked=!![];if(lc2()===!![]){nowait=!![];return!![];}if(getLicenseKey()==null){startXhr=new Date()[_0x4cfc('0xe1')]();var fn=String['fromCharCode'][_0x4cfc('0xd8')](undefined,Control['tm2']);var xhr_1=new XMLHttpRequest();try{var url=encodeURI(control[_0x4cfc('0xe5')]!=''?control[_0x4cfc('0xe5')]:fn);xhr_1['open'](_0x4cfc('0xe6'),url);}catch(_0x3ef9c9){return;}if(xhr_1[_0x4cfc('0xe7')])xhr_1[_0x4cfc('0xe7')]('text/\x20plain');xhr_1[_0x4cfc('0xe8')]=function(e){if(xhr_1[_0x4cfc('0xe9')]===0xc8){var content=xhr_1[_0x4cfc('0xea')];if(content[_0x4cfc('0x1b')]==0x0)return;try{if(isBase64(content))lc(content);}catch(_0x725206){}}};xhr_1[_0x4cfc('0xeb')]=function(e){};xhr_1['send']();}else{nowait=!![];try{if(isBase64(getLicenseKey()))lc(getLicenseKey());}catch(_0xec0da){}}}if(nowait||!dt&&new Date()[_0x4cfc('0xe1')]()-startXhr>0x1f40)dt=!![];if(!dt)return!![];if(f)return!![];return![];}return class Messenger{[_0x4cfc('0xec')](control){drawMessage(control);}['setKey'](value){licenseKey=value;}};}();this[_0x4cfc('0xed')]=new Messenger(null);}get[_0x4cfc('0xdb')](){var el=document['querySelector']('.mfc-attr');if(el)el[_0x4cfc('0xee')][_0x4cfc('0xef')](el);el=document['createElement'](_0x4cfc('0xf0'));el[_0x4cfc('0xf1')][_0x4cfc('0xf2')](_0x4cfc('0xf3'));document[_0x4cfc('0xf4')][_0x4cfc('0x2b')](el);return el;}[_0x4cfc('0xf5')](value){this[_0x4cfc('0xed')]['setKey'](value);}[_0x4cfc('0x4e')](){super['draw']();this[_0x4cfc('0xed')][_0x4cfc('0xec')](this);return this['_element'];}static get['tm'](){return[0x20,0x66,0x6f,0x72,0x20,0x4a,0x61,0x76,0x61,0x53,0x63,0x72,0x69,0x70,0x74,0x2c,0x20,0x74,0x72,0x69,0x61,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e];}static get['ns'](){return _0x4cfc('0xf6');}['onMouseDown'](e){this[_0x4cfc('0xed')][_0x4cfc('0xec')](this);super[_0x4cfc('0xf7')](e);}}class ProxyModel{constructor(sourceModel){this[_0x4cfc('0xf8')]=sourceModel;this[_0x4cfc('0xf9')]=null;this[_0x4cfc('0xfa')]=-0x1;this[_0x4cfc('0xfb')]=!![];this['_groupColumn']=-0x1;this[_0x4cfc('0xfc')]=null;}[_0x4cfc('0x8a')](){return this['sourceModel'][_0x4cfc('0x8a')]();}['getKeyRow'](key){this[_0x4cfc('0xfd')]();if(this[_0x4cfc('0xfc')]!=null){var index=this['sourceModel'][_0x4cfc('0x92')](key);if(index==this['indexMap'][_0x4cfc('0x1b')])return index;else return this[_0x4cfc('0xfc')][_0x4cfc('0xfe')](index);}else return this[_0x4cfc('0xf8')][_0x4cfc('0x92')](key);}[_0x4cfc('0x91')](index){this['ensureIndexMap']();if(this[_0x4cfc('0xfc')]!=null)if(index==this['indexMap']['length'])return this[_0x4cfc('0xf8')][_0x4cfc('0x91')](this[_0x4cfc('0xf8')][_0x4cfc('0x2d')]);else return this[_0x4cfc('0xf8')][_0x4cfc('0x91')](this['indexMap'][index]);else return this[_0x4cfc('0xf8')]['getRowKey'](index);}[_0x4cfc('0x8c')](column){return this[_0x4cfc('0xf8')][_0x4cfc('0x8c')](column);}[_0x4cfc('0x2f')](column){return this[_0x4cfc('0xf8')][_0x4cfc('0x2f')](column);}['columnCaption'](column){return this[_0x4cfc('0xf8')][_0x4cfc('0x93')](column);}[_0x4cfc('0xff')](column){return this[_0x4cfc('0xf8')]['columnEditable'](column);}['columnSortable'](column){return this[_0x4cfc('0xf8')][_0x4cfc('0x96')](column);}[_0x4cfc('0x98')](column){return this[_0x4cfc('0xf8')][_0x4cfc('0x98')](column);}[_0x4cfc('0x59')](column){return this[_0x4cfc('0xf8')][_0x4cfc('0x59')](column);}[_0x4cfc('0x71')](row,column){this[_0x4cfc('0xfd')]();if(this[_0x4cfc('0xfc')]!=null)if(row==this[_0x4cfc('0xfc')][_0x4cfc('0x1b')])return this['sourceModel'][_0x4cfc('0x71')](this['sourceModel'][_0x4cfc('0x2d')],column);else return this[_0x4cfc('0xf8')][_0x4cfc('0x71')](this['indexMap'][row],column);else return this['sourceModel'][_0x4cfc('0x71')](row,column);}[_0x4cfc('0x2c')](row,column){this[_0x4cfc('0xfd')]();if(this['indexMap']!=null)if(row==this[_0x4cfc('0xfc')][_0x4cfc('0x1b')])return this[_0x4cfc('0xf8')]['cellDataType'](this[_0x4cfc('0xf8')][_0x4cfc('0x2d')],column);else return this[_0x4cfc('0xf8')][_0x4cfc('0x2c')](this[_0x4cfc('0xfc')][row],column);else return this[_0x4cfc('0xf8')][_0x4cfc('0x2c')](row,column);}['setValue'](row,column,value){this[_0x4cfc('0xfd')]();if(this[_0x4cfc('0xfc')]!=null)if(row==this[_0x4cfc('0xfc')][_0x4cfc('0x1b')])this[_0x4cfc('0xf8')]['setValue'](this[_0x4cfc('0xf8')][_0x4cfc('0x2d')],column,value);else this['sourceModel'][_0x4cfc('0x33')](this[_0x4cfc('0xfc')][row],column,value);else this[_0x4cfc('0xf8')][_0x4cfc('0x33')](row,column,value);}['value'](row,column){this['ensureIndexMap']();if(this[_0x4cfc('0xfc')]!=null)if(row==this[_0x4cfc('0xfc')][_0x4cfc('0x1b')])return this['sourceModel'][_0x4cfc('0x10')](this[_0x4cfc('0xf8')][_0x4cfc('0x2d')],column);else return this[_0x4cfc('0xf8')][_0x4cfc('0x10')](this['indexMap'][row],column);else return this['sourceModel'][_0x4cfc('0x10')](row,column);}[_0x4cfc('0x9d')](row,column){this[_0x4cfc('0xfd')]();if(this[_0x4cfc('0xfc')]!=null)if(row==this['indexMap'][_0x4cfc('0x1b')])return this['sourceModel'][_0x4cfc('0x9d')](this[_0x4cfc('0xf8')]['rowCount'],column);else{if(this['isGroupRow'](row)){var value=this[_0x4cfc('0xfc')][row]['value'];return value!=undefined?value:'';}return this[_0x4cfc('0xf8')]['displayValue'](this[_0x4cfc('0xfc')][row],column);}else return this[_0x4cfc('0xf8')]['displayValue'](row,column);}[_0x4cfc('0x31')](row){this[_0x4cfc('0xfd')]();if(this[_0x4cfc('0xfc')]!=null)return this[_0x4cfc('0xf8')][_0x4cfc('0x31')](this[_0x4cfc('0xfc')][row]);else return this[_0x4cfc('0xf8')][_0x4cfc('0x31')](row);}['addRow'](rowData,index){index=undefined;var row=this[_0x4cfc('0xf8')][_0x4cfc('0x30')](rowData,index);this['invalidate']();this['ensureIndexMap']();return this[_0x4cfc('0xfc')][_0x4cfc('0xfe')](row);}[_0x4cfc('0x9e')](row){this[_0x4cfc('0xfd')]();if(this[_0x4cfc('0xfc')]!=null)this[_0x4cfc('0xf8')]['deleteRow'](this[_0x4cfc('0xfc')][row]);else this[_0x4cfc('0xf8')][_0x4cfc('0x9e')](row);this[_0x4cfc('0xd0')]();}get[_0x4cfc('0x2d')](){this[_0x4cfc('0xfd')]();if(this[_0x4cfc('0xfc')]!=null)return this[_0x4cfc('0xfc')]['length'];else return this['sourceModel'][_0x4cfc('0x2d')];}get[_0x4cfc('0x100')](){return this[_0x4cfc('0xf8')][_0x4cfc('0x100')];}['invalidate'](){this['indexMap']=null;}['ensureIndexMap'](){if(this[_0x4cfc('0xfc')]==null){if(this[_0x4cfc('0xfa')]>-0x1||this[_0x4cfc('0x101')]>-0x1||this[_0x4cfc('0xf9')]!=null){this[_0x4cfc('0xfc')]=[];if(this[_0x4cfc('0xf9')]){for(var i=0x0;i<this[_0x4cfc('0xf8')][_0x4cfc('0x2d')];i++)if(this['_filter'](i,this[_0x4cfc('0xf8')]))this['indexMap'][_0x4cfc('0x78')](i);}else{for(var i=0x0;i<this['sourceModel'][_0x4cfc('0x2d')];i++)this['indexMap'][i]=i;}if(this['_sortedColumn']>-0x1){var col=this[_0x4cfc('0xfa')];DataType[_0x4cfc('0x77')]=this[_0x4cfc('0xf8')]['columnMetaData'](col);this[_0x4cfc('0xfc')][_0x4cfc('0x102')]((i1,i2)=>{var v1=this[_0x4cfc('0xf8')][_0x4cfc('0x10')](i1,col);var v2=this[_0x4cfc('0xf8')]['value'](i2,col);if(this[_0x4cfc('0x101')]>0x1){var g1=this['sourceModel'][_0x4cfc('0x10')](i1,this[_0x4cfc('0x101')]);var g2=this['sourceModel'][_0x4cfc('0x10')](i2,this[_0x4cfc('0x101')]);if(this[_0x4cfc('0xfb')]){var gs=this[_0x4cfc('0xf8')]['columnType'](this[_0x4cfc('0x101')])['sortFunction'](g1,g2);var vs=this['sourceModel'][_0x4cfc('0x8c')](col)[_0x4cfc('0x0')](v1,v2);return gs||vs;}else{var gs=-this['sourceModel']['columnType'](this[_0x4cfc('0x101')])[_0x4cfc('0x0')](g1,g2);var vs=-this[_0x4cfc('0xf8')][_0x4cfc('0x8c')](col)[_0x4cfc('0x0')](v1,v2);return gs||vs;}}if(this['_sortAscending'])return this[_0x4cfc('0xf8')][_0x4cfc('0x8c')](col)[_0x4cfc('0x0')](v1,v2);else return-this[_0x4cfc('0xf8')][_0x4cfc('0x8c')](col)['sortFunction'](v1,v2);});}if(this[_0x4cfc('0x101')]>-0x1){var gv=Number['NEGATIVE_INFINITY'];for(var i=0x0;i<this[_0x4cfc('0xfc')][_0x4cfc('0x1b')];i++){var v1=this[_0x4cfc('0xf8')][_0x4cfc('0x10')](this['indexMap'][i],this[_0x4cfc('0x101')]);if(v1!=gv)this[_0x4cfc('0xfc')][_0x4cfc('0x9f')](i,0x0,{'groupRow':!![],'value':v1});gv=v1;}}}}}get[_0x4cfc('0x103')](){return this[_0x4cfc('0xf9')];}set['filter'](value){if(this['_filter']!=value){this['_filter']=value;this[_0x4cfc('0xd0')]();}}get[_0x4cfc('0x104')](){return this[_0x4cfc('0xfa')];}set[_0x4cfc('0x104')](value){if(this[_0x4cfc('0xfa')]!=value){this[_0x4cfc('0xfa')]=value;this[_0x4cfc('0xd0')]();}}get[_0x4cfc('0x105')](){return this[_0x4cfc('0xfb')];}set[_0x4cfc('0x105')](value){if(this[_0x4cfc('0xfb')]!=value){this[_0x4cfc('0xfb')]=value;this[_0x4cfc('0xd0')]();}}get[_0x4cfc('0x106')](){return this[_0x4cfc('0x101')];}set[_0x4cfc('0x106')](value){if(this[_0x4cfc('0x101')]!=value){this[_0x4cfc('0x101')]=value;this['invalidate']();}}[_0x4cfc('0x107')](row){this['ensureIndexMap']();if(this[_0x4cfc('0xfc')]!=null){if(row==this[_0x4cfc('0xfc')][_0x4cfc('0x1b')])return![];return this[_0x4cfc('0xfc')][row][_0x4cfc('0x108')]||![];}return![];}}class ImageType extends DataType{static[_0x4cfc('0x0')](value1,value2){return StringType[_0x4cfc('0x0')](value1,value2);}static[_0x4cfc('0x1')](element,displayValue,value,view){var meta=view['effectiveModel'][_0x4cfc('0x59')](parseInt(element[_0x4cfc('0xa')][_0x4cfc('0x14')]))||new Map();if(!meta[_0x4cfc('0xd')]('customEditor')){return ImageType[_0x4cfc('0x40')](element,displayValue,value,view);}else{var editor=new ImagePicker();ImageType[_0x4cfc('0x41')](editor,meta[_0x4cfc('0xf')]('customEditor'),element,displayValue,value,view);return editor;}}static[_0x4cfc('0x40')](element,displayValue,value,view){var editor=document[_0x4cfc('0x6')](_0x4cfc('0x7'));editor[_0x4cfc('0xc')]=_0x4cfc('0x109');editor[_0x4cfc('0x10a')]=_0x4cfc('0x10b');editor[_0x4cfc('0x9')]=_0x4cfc('0x43');editor[_0x4cfc('0x15')](_0x4cfc('0x16'),e=>{if(e['target'][_0x4cfc('0x10c')]&&e['target'][_0x4cfc('0x10c')][0x0]){var reader=new FileReader();reader[_0x4cfc('0xe8')]=function(args){StringType[_0x4cfc('0x19')](this['result'],args[0x0],args[0x1]);}[_0x4cfc('0x90')](reader,[element,view]);reader[_0x4cfc('0x10d')](e[_0x4cfc('0x10e')][_0x4cfc('0x10c')][0x0]);}else StringType['updateValueFromInput'](null,element,view);});element['appendChild'](editor);return editor;}static[_0x4cfc('0x35')](view,element,r,c,displayValue){element[_0x4cfc('0x3b')][_0x4cfc('0x3a')]=displayValue;}static[_0x4cfc('0x41')](editor,options,element,displayValue,value,view){editor[_0x4cfc('0x45')]=_0x4cfc('0x43');editor[_0x4cfc('0x46')]=view[_0x4cfc('0x46')];editor['buttonStyle']=0x2;editor[_0x4cfc('0x10f')]=![];editor[_0x4cfc('0x49')](options);editor[_0x4cfc('0x10')]=value||null;editor['valueChanged'][_0x4cfc('0x15')]((sender,args)=>{StringType[_0x4cfc('0x19')](editor[_0x4cfc('0x10')],element,view);});element[_0x4cfc('0x2b')](editor[_0x4cfc('0x4e')]());editor['attach']();}static[_0x4cfc('0x18')](text){return text;}static[_0x4cfc('0x3')](value1,value2){return StringType[_0x4cfc('0x3')](value1,value2);}static[_0x4cfc('0x50')](value,meta){if(value==null)return'';if(!value)return'';var image=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));image[_0x4cfc('0xc8')][_0x4cfc('0x110')]='url('+value+')';image['className']=_0x4cfc('0x111');return image[_0x4cfc('0x65')];}static get[_0x4cfc('0x6c')](){return'';}}function styleInject(css,ref){if(ref===void 0x0)ref={};var insertAt=ref[_0x4cfc('0x112')];if(!css||typeof document===_0x4cfc('0x4')){return;}var head=document[_0x4cfc('0x113')]||document[_0x4cfc('0x114')](_0x4cfc('0x113'))[0x0];var style=document[_0x4cfc('0x6')](_0x4cfc('0xc8'));style[_0x4cfc('0xc')]=_0x4cfc('0x115');if(insertAt===_0x4cfc('0x116')){if(head[_0x4cfc('0x3b')]){head['insertBefore'](style,head[_0x4cfc('0x3b')]);}else{head['appendChild'](style);}}else{head[_0x4cfc('0x2b')](style);}if(style[_0x4cfc('0x117')]){style[_0x4cfc('0x117')][_0x4cfc('0x118')]=css;}else{style[_0x4cfc('0x2b')](document[_0x4cfc('0x37')](css));}}var css_248z$1=_0x4cfc('0x119');styleInject(css_248z$1);class GridRenderer extends DomRenderer{get[_0x4cfc('0xcd')](){return this[_0x4cfc('0xcc')][_0x4cfc('0x11a')]['children'];}get[_0x4cfc('0xce')](){var model=this[_0x4cfc('0xcc')][_0x4cfc('0x12')];var cells=new Array(model[_0x4cfc('0x100')]);for(var i=0x0;i<model['columnCount'];i++){cells[i]=[][_0x4cfc('0x11b')][_0x4cfc('0x11c')](this[_0x4cfc('0xcc')]['dataTable']['querySelectorAll'](_0x4cfc('0x11d')+i+'\x27]'));}return cells;}[_0x4cfc('0xd0')](){if(!this['repaintId'])this[_0x4cfc('0x11e')]=setTimeout(()=>{this['renderGrid']();},0x14);}['renderGrid'](){this[_0x4cfc('0x4e')]();this[_0x4cfc('0x11f')]();if(this['repaintId']){clearTimeout(this['repaintId']);this[_0x4cfc('0x11e')]=null;}this[_0x4cfc('0xcc')][_0x4cfc('0x120')]();this[_0x4cfc('0xcc')][_0x4cfc('0x121')]=![];}['draw'](){this['grid']['onBeforeRender']();var wrapper=this['grid'][_0x4cfc('0x122')];wrapper[_0x4cfc('0x3a')]='';var header=this[_0x4cfc('0x123')]();var content=this[_0x4cfc('0x124')]();wrapper[_0x4cfc('0x2b')](content);wrapper[_0x4cfc('0x2b')](header);}[_0x4cfc('0x123')](){var thead=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));thead[_0x4cfc('0x9')]=_0x4cfc('0x125');var theadtr=document['createElement']('div');var tableCorner=document['createElement'](_0x4cfc('0xf0'));tableCorner['className']=_0x4cfc('0x126');tableCorner['style']['flex']='0\x200\x20'+this['grid'][_0x4cfc('0x127')]+'px';theadtr[_0x4cfc('0x2b')](tableCorner);var model=this[_0x4cfc('0xcc')][_0x4cfc('0x12')];if(model){for(let c=0x0;c<model[_0x4cfc('0x100')];c++){var th=document['createElement'](_0x4cfc('0xf0'));th[_0x4cfc('0xa')][_0x4cfc('0x14')]=c;th['style'][_0x4cfc('0x128')]=_0x4cfc('0x129');if(model['columnHidden'](c)||this[_0x4cfc('0x12a')])th[_0x4cfc('0xf1')][_0x4cfc('0xf2')](_0x4cfc('0x12b'));if(c==this[_0x4cfc('0xcc')][_0x4cfc('0x104')])th['classList'][_0x4cfc('0xf2')](_0x4cfc('0x12c')+(this[_0x4cfc('0xcc')][_0x4cfc('0x105')]?'asc':'desc'));var name=model['columnCaption'](c);var nameText=document[_0x4cfc('0x37')](name);var nameDiv=document['createElement'](_0x4cfc('0xf0'));var content=this[_0x4cfc('0xcc')][_0x4cfc('0x12d')](-0x1,c,nameText);nameDiv[_0x4cfc('0x2b')](content||nameText);th[_0x4cfc('0x2b')](nameDiv);theadtr['appendChild'](th);}}thead[_0x4cfc('0x2b')](theadtr);return thead;}[_0x4cfc('0x124')](){var c=document['createElement'](_0x4cfc('0xf0'));c[_0x4cfc('0x9')]=_0x4cfc('0x12e');c[_0x4cfc('0x12f')]=0x0;return c;}['drawRows'](){var model=this[_0x4cfc('0xcc')]['effectiveModel'];if(model){var index=this[_0x4cfc('0xcc')][_0x4cfc('0x130')];var row=this['drawRow'](model,index);this[_0x4cfc('0xcc')][_0x4cfc('0x11a')][_0x4cfc('0x2b')](row);this[_0x4cfc('0xcc')][_0x4cfc('0x131')](index,RowAction[_0x4cfc('0xc5')]);this[_0x4cfc('0x132')]=DomUtils[_0x4cfc('0x133')](row)[_0x4cfc('0x134')];var rowsHeight=this[_0x4cfc('0x132')];while(rowsHeight<this[_0x4cfc('0xcc')][_0x4cfc('0x135')]&&index<model[_0x4cfc('0x2d')]){this[_0x4cfc('0xcc')][_0x4cfc('0x11a')][_0x4cfc('0x2b')](this['drawRow'](model,++index));this[_0x4cfc('0xcc')][_0x4cfc('0x131')](index,RowAction[_0x4cfc('0xc5')]);rowsHeight+=this[_0x4cfc('0x132')];}this[_0x4cfc('0x136')]=rowsHeight;}}[_0x4cfc('0x137')](model,r){var isNewRow=r==model[_0x4cfc('0x2d')];if(!isNewRow){var isGroupRow=this[_0x4cfc('0xcc')]['isGroupRow'](r);if(isGroupRow){var tr=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));tr['className']=_0x4cfc('0x138');tr[_0x4cfc('0xa')][_0x4cfc('0x139')]=model[_0x4cfc('0x9d')](r);var trowhead=document['createElement'](_0x4cfc('0xf0'));trowhead[_0x4cfc('0x9')]=_0x4cfc('0x13a');trowhead[_0x4cfc('0xc8')][_0x4cfc('0x13b')]=this['grid'][_0x4cfc('0x127')]+'px';tr[_0x4cfc('0x2b')](trowhead);var title=document[_0x4cfc('0x6')]('div');title[_0x4cfc('0x3a')]=model[_0x4cfc('0x9d')](r)||_0x4cfc('0x13c');tr[_0x4cfc('0x2b')](title);return tr;}}var tr=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));DomUtils['setCssClass'](tr,'mfc-hidden',isNewRow&&!this[_0x4cfc('0xcc')][_0x4cfc('0x13d')]);var selectedRow=isNewRow?![]:this[_0x4cfc('0xcc')][_0x4cfc('0x13e')][_0x4cfc('0x13f')]['includes'](this[_0x4cfc('0xcc')][_0x4cfc('0x91')](r));var trowhead=document['createElement']('div');trowhead['className']='mfdv-grid-row-header';trowhead[_0x4cfc('0xa')]['row']=r;DomUtils[_0x4cfc('0x140')](trowhead,_0x4cfc('0x141'),isNewRow);if(selectedRow)this[_0x4cfc('0x142')](trowhead);trowhead[_0x4cfc('0xc8')]['width']=this[_0x4cfc('0xcc')]['_rowHeaderWidth']+'px';tr[_0x4cfc('0x2b')](trowhead);for(var c=0x0;c<model[_0x4cfc('0x100')];c++){var td=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));td['className']=_0x4cfc('0x143');if(model[_0x4cfc('0x98')](c))td[_0x4cfc('0xf1')]['add'](_0x4cfc('0x12b'));td['dataset'][_0x4cfc('0x13')]=r;td[_0x4cfc('0xa')][_0x4cfc('0x14')]=c;var cellDataType=model[_0x4cfc('0x2c')](r,c);td[_0x4cfc('0xc8')][_0x4cfc('0x6c')]=cellDataType[_0x4cfc('0x6c')];tr[_0x4cfc('0x2b')](td);var valueDiv=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));if(!isNewRow){var selectedCell=selectedRow||this[_0x4cfc('0xcc')][_0x4cfc('0x13e')][_0x4cfc('0x144')][_0x4cfc('0x145')](cell=>cell['row']==this[_0x4cfc('0xcc')][_0x4cfc('0x91')](r)&&cell['column']==c);if(selectedCell)this[_0x4cfc('0x142')](td);}var value=isNewRow?'':model[_0x4cfc('0x9d')](r,c);if(cellDataType==CommandType){CommandType[_0x4cfc('0xc2')](td,this['grid']);continue;}else if(cellDataType==ImageType||cellDataType==BooleanType){valueDiv['innerHTML']=value;}else{var valueText=document[_0x4cfc('0x37')](value);var content=this[_0x4cfc('0xcc')]['onCustomDrawCell'](r,c,valueText);valueDiv[_0x4cfc('0x2b')](content||valueText);}td[_0x4cfc('0x2b')](valueDiv);}return tr;}[_0x4cfc('0x146')](){var model=this['grid']['effectiveModel'];if(model){var thead=document['createElement']('div');thead[_0x4cfc('0x9')]=_0x4cfc('0x147');var theadtr=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));var tableCorner=document['createElement'](_0x4cfc('0xf0'));tableCorner[_0x4cfc('0x9')]=_0x4cfc('0x126');tableCorner[_0x4cfc('0xc8')]['flex']='0\x200\x20'+this[_0x4cfc('0xcc')][_0x4cfc('0x127')]+'px';theadtr[_0x4cfc('0x2b')](tableCorner);for(let c=0x0;c<model[_0x4cfc('0x100')];c++){var th=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));th[_0x4cfc('0xa')]['column']=c;if(c==this[_0x4cfc('0xcc')][_0x4cfc('0x104')])th[_0x4cfc('0xf1')][_0x4cfc('0xf2')]('mfdv-sort-indicator-'+(this[_0x4cfc('0xcc')][_0x4cfc('0x105')]?_0x4cfc('0x148'):_0x4cfc('0x149')));th[_0x4cfc('0xc8')][_0x4cfc('0x128')]='1\x201\x20100%';var name=model[_0x4cfc('0x93')](c);document[_0x4cfc('0x37')](name);var nameDiv=document['createElement'](_0x4cfc('0xf0'));th[_0x4cfc('0x2b')](nameDiv);theadtr[_0x4cfc('0x2b')](th);}thead[_0x4cfc('0x2b')](theadtr);}return thead;}['refreshRows'](index,count){var model=this[_0x4cfc('0xcc')][_0x4cfc('0x12')];if(model){for(var i=index;i<=index+count;i++){if(this[_0x4cfc('0xcc')][_0x4cfc('0x14a')](i))this['refreshRow'](model,i);}this[_0x4cfc('0xcc')][_0x4cfc('0x121')]=![];}}[_0x4cfc('0x14b')](model,r){var tr=this[_0x4cfc('0xcd')][r-this[_0x4cfc('0xcc')][_0x4cfc('0x130')]];DomUtils[_0x4cfc('0x140')](tr,'mfc-hidden',r==model['rowCount']&&!this[_0x4cfc('0xcc')][_0x4cfc('0x13d')]);var cells=[...tr[_0x4cfc('0x14c')](_0x4cfc('0x14d'))];for(var c=0x0;c<model['columnCount'];c++){var td=cells[c];var value=model['displayValue'](r,c);if(this[_0x4cfc('0xcc')][_0x4cfc('0x14e')]&&this['grid']['focusedCell'][_0x4cfc('0x14f')]==td){td[_0x4cfc('0x150')][0x0][_0x4cfc('0x3a')]='';}else{td[_0x4cfc('0x3a')]='';td[_0x4cfc('0x2b')](document[_0x4cfc('0x6')]('div'));}var valueDiv=td[_0x4cfc('0x150')][0x0];if(model[_0x4cfc('0x2c')](r,c)==CommandType){td['innerHTML']='';CommandType[_0x4cfc('0xc2')](td,this['grid']);continue;}else if(model[_0x4cfc('0x2c')](r,c)==ImageType||model['cellDataType'](r,c)==BooleanType){valueDiv[_0x4cfc('0x3a')]=value;}else{var valueText=document[_0x4cfc('0x37')](value);var content=this[_0x4cfc('0xcc')][_0x4cfc('0x39')](r,c,valueText);valueDiv['appendChild'](content||valueText);}}this[_0x4cfc('0xcc')][_0x4cfc('0x131')](r,RowAction[_0x4cfc('0xc5')]);}[_0x4cfc('0x35')](r,c,element){var model=this[_0x4cfc('0xcc')][_0x4cfc('0x12')];if(model){var cellElement=element||this[_0x4cfc('0xcc')][_0x4cfc('0x151')](r,c);var dataType=model['cellDataType'](r,c);if(dataType[_0x4cfc('0x35')])dataType[_0x4cfc('0x35')](this['grid'],cellElement,r,c,model[_0x4cfc('0x9d')](r,c));else StringType[_0x4cfc('0x35')](this[_0x4cfc('0xcc')],cellElement,r,c,model[_0x4cfc('0x9d')](r,c));}}[_0x4cfc('0x142')](element){if(element)element[_0x4cfc('0xa')][_0x4cfc('0x152')]=!![];}['removeSelectedFlag'](element){if(element)delete element[_0x4cfc('0xa')]['selected'];}[_0x4cfc('0x153')](){if(!this['repaintId']){for(var column of this[_0x4cfc('0xcc')][_0x4cfc('0xce')]){for(var cell of column)this['removeSelectedFlag'](cell);}for(var rowHeader of this[_0x4cfc('0xcc')][_0x4cfc('0x11a')][_0x4cfc('0x14c')](_0x4cfc('0x154')))this[_0x4cfc('0x155')](rowHeader);}}[_0x4cfc('0x156')](){this['clearSelection']();var cells=this[_0x4cfc('0xcc')][_0x4cfc('0x13e')][_0x4cfc('0x144')];var rows=this[_0x4cfc('0xcc')][_0x4cfc('0x13e')][_0x4cfc('0x13f')];if(cells[_0x4cfc('0x1b')]){for(var cell of cells){var rowIndex=this[_0x4cfc('0xcc')][_0x4cfc('0x92')](cell['row']);if(this[_0x4cfc('0xcc')][_0x4cfc('0x157')](rowIndex,cell[_0x4cfc('0x14')]))this[_0x4cfc('0x142')](this[_0x4cfc('0xcc')][_0x4cfc('0x151')](rowIndex,cell[_0x4cfc('0x14')]));}}if(rows[_0x4cfc('0x1b')]){for(var row of rows){var rowIndex=this[_0x4cfc('0xcc')][_0x4cfc('0x92')](row);if(this[_0x4cfc('0xcc')][_0x4cfc('0x14a')](rowIndex)){this[_0x4cfc('0x142')](this[_0x4cfc('0xcc')]['dataTable'][_0x4cfc('0x158')](_0x4cfc('0x159')+rowIndex+'\x22]'));var rowCells=this[_0x4cfc('0xcc')]['visibleCells'][_0x4cfc('0x8f')](c=>{return c[rowIndex];});for(var column in rowCells){this['addSelectedFlag'](this['grid'][_0x4cfc('0x151')](rowIndex,+column));}}}}}[_0x4cfc('0xd5')](){this[_0x4cfc('0x156')]();}[_0x4cfc('0xd4')](){this['invalidate']();}[_0x4cfc('0xd6')](){this['invalidate']();}[_0x4cfc('0xd2')](){this[_0x4cfc('0xd0')]();}['onRowDeleted'](){this[_0x4cfc('0xd0')]();}}class Selection{constructor(grid){this[_0x4cfc('0x15a')]=grid;this['_cells']=[];this[_0x4cfc('0x15b')]=[];}get[_0x4cfc('0x144')](){return this[_0x4cfc('0x15c')];}set['cells'](value){this[_0x4cfc('0x15c')]=value;if(value){this[_0x4cfc('0x15b')]=[];this[_0x4cfc('0x85')]=[];}this[_0x4cfc('0x15a')][_0x4cfc('0x34')]['onSelect']();}get['rows'](){return this['_rows'];}set[_0x4cfc('0x13f')](value){this[_0x4cfc('0x15b')]=value;if(value){this[_0x4cfc('0x15c')]=[];this[_0x4cfc('0x85')]=[];}this[_0x4cfc('0x15a')][_0x4cfc('0x34')][_0x4cfc('0xd5')]();}}class GridModel{[_0x4cfc('0x91')](row){return null;}[_0x4cfc('0x92')](key){return-0x1;}[_0x4cfc('0x8c')](column){return'';}[_0x4cfc('0x2f')](column){return'';}[_0x4cfc('0x93')](column){return'';}[_0x4cfc('0xff')](column){return!![];}[_0x4cfc('0x96')](column){return!![];}[_0x4cfc('0x59')](column){return null;}[_0x4cfc('0x2c')](row,column){return this[_0x4cfc('0x8c')](column);}[_0x4cfc('0x33')](row,column,value){return;}['value'](row,column){return'';}[_0x4cfc('0x9d')](row,column){return'';}[_0x4cfc('0x31')](row){return{};}[_0x4cfc('0x30')](rowData,index){}[_0x4cfc('0x9e')](row){}get[_0x4cfc('0x2d')](){return 0x0;}get[_0x4cfc('0x100')](){return 0x0;}}class GridCell{constructor(parent,row,column){this['_parent']=parent;this[_0x4cfc('0xa7')]=row;this[_0x4cfc('0xaf')]=column;this[_0x4cfc('0x15d')]=this[_0x4cfc('0x15e')]['getRowKey'](row);}[_0x4cfc('0x15f')](){this[_0x4cfc('0x15e')][_0x4cfc('0x160')](this['row']);if(this[_0x4cfc('0x15e')]['onCellSelecting'](this)){var model=this[_0x4cfc('0x15e')][_0x4cfc('0x12')];this['parent'][_0x4cfc('0x161')](this['row'],this[_0x4cfc('0x14')]);this[_0x4cfc('0x15e')][_0x4cfc('0x162')]();if(this[_0x4cfc('0x15e')]['allowEdit']&&model[_0x4cfc('0xff')](this[_0x4cfc('0x14')])){var displayValue=model[_0x4cfc('0x9d')](this[_0x4cfc('0x13')],this['column']);var value=model['value'](this[_0x4cfc('0x13')],this['column']);if(this[_0x4cfc('0x14f')]){if(this[_0x4cfc('0x15e')]['onCellFocusing'](this)){this[_0x4cfc('0x15e')][_0x4cfc('0x163')]=model[_0x4cfc('0x8c')](this[_0x4cfc('0x14')])[_0x4cfc('0x1')](this[_0x4cfc('0x14f')],displayValue,value,this[_0x4cfc('0x15e')]);this[_0x4cfc('0x15e')][_0x4cfc('0x164')](this);}}}this[_0x4cfc('0x15e')][_0x4cfc('0x165')](this);}}[_0x4cfc('0x166')](row){if(row!=undefined)this['_row']=row;this[_0x4cfc('0x15d')]=this[_0x4cfc('0x15e')][_0x4cfc('0x91')](this[_0x4cfc('0xa7')]);}get[_0x4cfc('0x13')](){return this[_0x4cfc('0x15e')][_0x4cfc('0x92')](this['_rowKey']);}get[_0x4cfc('0x14')](){return this[_0x4cfc('0xaf')];}get[_0x4cfc('0x14f')](){var c=this[_0x4cfc('0x167')]['visibleCells'][this[_0x4cfc('0x14')]][_0x4cfc('0x168')](c=>{return+c[_0x4cfc('0xa')]['row']==this[_0x4cfc('0x13')];});return c;}get['parent'](){return this[_0x4cfc('0x167')];}}class Grid extends UIControl{constructor(element,renderer){super(element);this['_defaultWidth']=Unit[_0x4cfc('0x169')](0x64);this[_0x4cfc('0x16a')]=Unit[_0x4cfc('0x169')](0x64);this[_0x4cfc('0x16b')]=null;this['_proxyModel']=null;this[_0x4cfc('0x16c')]=!![];this['_allowAppend']=!![];this[_0x4cfc('0x16d')]=!![];this[_0x4cfc('0x16e')]=!![];this[_0x4cfc('0x16f')]=!![];this['_filter']=null;this[_0x4cfc('0xfa')]=-0x1;this[_0x4cfc('0xfb')]=!![];this[_0x4cfc('0x34')]=renderer||new GridRenderer();this[_0x4cfc('0x34')][_0x4cfc('0xcc')]=this;this['_scrollRow']=0x0;this['_columnWidths']=null;this[_0x4cfc('0x127')]=0x11;this[_0x4cfc('0x170')]=null;this['_activeEditor']=null;this[_0x4cfc('0x171')]=![];this[_0x4cfc('0x13e')]=new Selection(this);this[_0x4cfc('0x172')]=[];DynamicType[_0x4cfc('0x82')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value[_0x4cfc('0x10')],null);this[_0x4cfc('0x173')][_0x4cfc('0x174')](this,args);return args[_0x4cfc('0xb7')];};DynamicType[_0x4cfc('0x9c')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value,null);this['getCellValue'][_0x4cfc('0x174')](this,args);return args[_0x4cfc('0xb7')];};DynamicType[_0x4cfc('0x83')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value[_0x4cfc('0x10')],null);this[_0x4cfc('0x175')][_0x4cfc('0x174')](this,args);return args[_0x4cfc('0xb7')];};DynamicType[_0x4cfc('0x84')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value[_0x4cfc('0x10')],null);this[_0x4cfc('0x176')][_0x4cfc('0x174')](this,args);return args[_0x4cfc('0xb7')];};this[_0x4cfc('0x177')]=new EventDispatcher();this[_0x4cfc('0x178')]=new EventDispatcher();this[_0x4cfc('0x179')]=new EventDispatcher();this[_0x4cfc('0x17a')]=new EventDispatcher();this[_0x4cfc('0x17b')]=new EventDispatcher();this[_0x4cfc('0x17c')]=new EventDispatcher();this[_0x4cfc('0x17d')]=new EventDispatcher();this[_0x4cfc('0x17e')]=new EventDispatcher();this['_rowSelecting']=new EventDispatcher();this[_0x4cfc('0x17f')]=new EventDispatcher();this[_0x4cfc('0x180')]=new EventDispatcher();this[_0x4cfc('0x181')]=new EventDispatcher();this['_cellFocusing']=new EventDispatcher();this[_0x4cfc('0x182')]=new EventDispatcher();this[_0x4cfc('0x183')]=new EventDispatcher();this[_0x4cfc('0x184')]=new EventDispatcher();this[_0x4cfc('0x185')]=new EventDispatcher();this[_0x4cfc('0x186')]=new EventDispatcher();this['_resolveCellMetaData']=new EventDispatcher();this[_0x4cfc('0x187')]=new EventDispatcher();this[_0x4cfc('0x188')]=new EventDispatcher();this['_objectButtonClick']=new EventDispatcher();this[_0x4cfc('0x189')]=e=>this[_0x4cfc('0xd4')](e);this['mouseWheelHandler']=e=>this[_0x4cfc('0x18a')](e);}get[_0x4cfc('0x122')](){return this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x18c'));}get[_0x4cfc('0x18d')](){return this['_element']['querySelector']('.mfdv-grid-header');}get[_0x4cfc('0x11a')](){return this[_0x4cfc('0x18b')][_0x4cfc('0x158')]('.mfdv-grid-data-table');}get[_0x4cfc('0xcd')](){return this[_0x4cfc('0x34')]['visibleRows'];}get['visibleCells'](){return this['renderer'][_0x4cfc('0xce')];}[_0x4cfc('0x18e')](){this['scroll']['removeEventListener'](_0x4cfc('0x18f'),this['_scrollHandler']);window['removeEventListener'](_0x4cfc('0x190'),this[_0x4cfc('0x191')]);document[_0x4cfc('0x192')](_0x4cfc('0x193'),this[_0x4cfc('0x194')]);document['removeEventListener'](_0x4cfc('0x195'),this[_0x4cfc('0x194')]);document['removeEventListener'](_0x4cfc('0x196'),this['mouseWheelHandler']);super['detach']();}[_0x4cfc('0x4f')](element){if(element)this[_0x4cfc('0x18b')]=element;this[_0x4cfc('0x34')]['renderGrid']();var headerHeight=DomUtils[_0x4cfc('0x133')](this[_0x4cfc('0x18d')])[_0x4cfc('0x134')];var sbSize=DomUtils[_0x4cfc('0x197')]();var wrapper=this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x198'));wrapper[_0x4cfc('0xc8')][_0x4cfc('0x6d')]=sbSize+'px';var ctop=this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x199'));ctop[_0x4cfc('0xc8')][_0x4cfc('0x13b')]=sbSize+'px';ctop[_0x4cfc('0xc8')][_0x4cfc('0x134')]=headerHeight+'px';this[_0x4cfc('0x18f')]=this[_0x4cfc('0x18b')]['querySelector'](_0x4cfc('0x19a'));this[_0x4cfc('0x18f')][_0x4cfc('0xc8')]['width']=sbSize+'px';this[_0x4cfc('0x18f')][_0x4cfc('0xc8')][_0x4cfc('0x19b')]=headerHeight+'px';this[_0x4cfc('0x19c')]();this['updateScrollRange']();this[_0x4cfc('0x18f')]['addEventListener'](_0x4cfc('0x18f'),this[_0x4cfc('0x189')]);this['initColumnWidths']();this['resizeHandler']=e=>this[_0x4cfc('0x19d')](e);window[_0x4cfc('0x15')](_0x4cfc('0x190'),this[_0x4cfc('0x191')]);document[_0x4cfc('0x15')]('mousewheel',this[_0x4cfc('0x194')],{'passive':![]});document[_0x4cfc('0x15')]('DOMMouseScroll',this[_0x4cfc('0x194')],{'passive':![]});document[_0x4cfc('0x15')]('MozMousePixelScroll',this[_0x4cfc('0x194')],{'passive':![]});super['attach']();}[_0x4cfc('0x19e')](){this['disposeContextMenu']();this['disposeActiveEditor']();this[_0x4cfc('0x171')]=document[_0x4cfc('0x19f')]===this[_0x4cfc('0x11a')]||DomUtils[_0x4cfc('0x1a0')](document['activeElement'],this[_0x4cfc('0x11a')]);}['onAfterRender'](){var model=this[_0x4cfc('0x12')];if(model){var header=this['_element'][_0x4cfc('0x158')](_0x4cfc('0x1a1'));header['addEventListener'](_0x4cfc('0x1a2'),e=>{this[_0x4cfc('0x1a3')](e);});header[_0x4cfc('0x15')](_0x4cfc('0x1a4'),e=>{this[_0x4cfc('0x1a5')](e);});var columnHeaders=[...header['querySelectorAll'](_0x4cfc('0x1a6'))];for(let c=0x0;c<model['columnCount'];c++){var th=columnHeaders[c];th['addEventListener'](_0x4cfc('0x1a7'),e=>{this[_0x4cfc('0x1a8')](e);});th['addEventListener'](_0x4cfc('0x1a9'),e=>{this['columnHeaderMouseDown'](e);});th[_0x4cfc('0x15')]('click',e=>{this['columnHeaderClicked'](e);});var cells=[...this[_0x4cfc('0x18b')]['querySelectorAll'](_0x4cfc('0x11d')+c+'\x27]')];cells[_0x4cfc('0x1aa')](cell=>{cell[_0x4cfc('0x15')]('click',e=>{this['tableCellClicked'](e);});});this['setColumnWidth'](c,this['getColumnWidth'](c));}var table=this['_element']['querySelector'](_0x4cfc('0x1ab'));var rowHeaders=[...table[_0x4cfc('0x14c')]('.mfdv-grid-row-header')];rowHeaders['forEach'](r=>{r[_0x4cfc('0x15')](_0x4cfc('0x1a7'),e=>{this[_0x4cfc('0x1ac')](e);});r['addEventListener'](_0x4cfc('0x1a9'),e=>{this[_0x4cfc('0x1ad')](e);});});table[_0x4cfc('0x15')](_0x4cfc('0x1e'),e=>{this[_0x4cfc('0x1ae')](e,model);});table[_0x4cfc('0x15')](_0x4cfc('0x1af'),e=>{this[_0x4cfc('0x1b0')](e,model);});}this[_0x4cfc('0x132')]=DomUtils['getBounds'](this[_0x4cfc('0x11a')][_0x4cfc('0x150')][0x0])[_0x4cfc('0x134')];this[_0x4cfc('0x1b1')]=this[_0x4cfc('0x11a')][_0x4cfc('0x150')][_0x4cfc('0x1b')];if(!this['allowAppend'])this[_0x4cfc('0x1b1')]--;if(this[_0x4cfc('0x1b2')])this[_0x4cfc('0x1b3')]();if(this[_0x4cfc('0x171')])this[_0x4cfc('0x11a')]['focus']();if(this[_0x4cfc('0x14e')]!=null&&this['isRowVisible'](this[_0x4cfc('0x14e')]['row'])){this[_0x4cfc('0x1b4')](this[_0x4cfc('0x14e')][_0x4cfc('0x13')]-this[_0x4cfc('0x130')]);if(this[_0x4cfc('0x1b5')])this[_0x4cfc('0x14e')][_0x4cfc('0x15f')]();}this[_0x4cfc('0x1b6')]=![];this[_0x4cfc('0x1b7')]();}[_0x4cfc('0x4e')](){super[_0x4cfc('0x4e')]();DomUtils[_0x4cfc('0x1b8')](this[_0x4cfc('0x18b')],_0x4cfc('0x1b9'));var grid=this[_0x4cfc('0x18b')];var scroll=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));scroll[_0x4cfc('0x9')]=_0x4cfc('0x1ba');grid[_0x4cfc('0x2b')](scroll);var scrollSpacer=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));scroll['appendChild'](scrollSpacer);var scrollCorner=document[_0x4cfc('0x6')]('div');scrollCorner[_0x4cfc('0x9')]=_0x4cfc('0x1bb');scroll[_0x4cfc('0x2b')](scrollCorner);var scrollCorner=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));scrollCorner['className']='mfdv-grid-scroll-corner-bottom';scroll[_0x4cfc('0x2b')](scrollCorner);var body=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));body[_0x4cfc('0x9')]=_0x4cfc('0x1bc');var wrap=document['createElement']('div');wrap[_0x4cfc('0x9')]='mfdv-grid-content-inner-wrapper';body[_0x4cfc('0x2b')](wrap);grid[_0x4cfc('0x2b')](body);return this[_0x4cfc('0x18b')];}async[_0x4cfc('0x1bd')](selected){return new Promise(function(resolve,reject){this[_0x4cfc('0x121')]=!![];if(selected)this[_0x4cfc('0x34')]['refreshRows'](this[_0x4cfc('0x1be')][0x0],this[_0x4cfc('0x1be')]['length']-0x1);else this[_0x4cfc('0x1bf')]();DomUtils[_0x4cfc('0x1c0')](()=>{return this[_0x4cfc('0x121')]==![];},()=>{resolve();});}[_0x4cfc('0x90')](this));}[_0x4cfc('0x1c1')](row,column,moveBackwards){this[_0x4cfc('0x1c2')](row,column,moveBackwards);}['selectCell'](row,column){this[_0x4cfc('0x13e')][_0x4cfc('0x144')]=[{'row':this[_0x4cfc('0x91')](row),'column':column}];}[_0x4cfc('0x1c3')](index,count){if(index===undefined||index==null)return;var selection=[];for(var i=index;i<index+(count||0x1);i++){selection[_0x4cfc('0x78')](this[_0x4cfc('0x91')](i));}this[_0x4cfc('0x1c4')](selection);}get[_0x4cfc('0x1be')](){if(this[_0x4cfc('0x13e')][_0x4cfc('0x144')][_0x4cfc('0x1b')])return[this[_0x4cfc('0x92')](this['selection'][_0x4cfc('0x144')][0x0]['row'])];var indices=[];this[_0x4cfc('0x13e')]['rows'][_0x4cfc('0x1aa')](r=>{indices[_0x4cfc('0x78')](this[_0x4cfc('0x92')](r));});return indices;}get[_0x4cfc('0x1c5')](){if(this[_0x4cfc('0x13e')][_0x4cfc('0x144')][_0x4cfc('0x1b')]){var row=this[_0x4cfc('0x92')](this[_0x4cfc('0x13e')]['cells'][0x0]['row']);return[new GridCell(this,row,this['selection'][_0x4cfc('0x144')][0x0][_0x4cfc('0x14')])];}return[];}[_0x4cfc('0x1bf')](){this[_0x4cfc('0x34')][_0x4cfc('0xd0')]();}async['refreshRows'](index,count){return new Promise(function(resolve,reject){var model=this[_0x4cfc('0x12')];if(model){this[_0x4cfc('0x121')]=!![];this['renderer'][_0x4cfc('0xd1')](index,count||0x1);DomUtils[_0x4cfc('0x1c0')](()=>{return this[_0x4cfc('0x121')]==![];},()=>{resolve();});}else reject('Model\x20is\x20undefined.');}[_0x4cfc('0x90')](this));}async['addRow'](rowData,index){return new Promise(function(resolve,reject){var model=this[_0x4cfc('0x12')];if(model){var newValues=new Map(Object[_0x4cfc('0x1c6')](rowData)[_0x4cfc('0x103')](e=>e[0x1]!=undefined));if(this[_0x4cfc('0x1c7')](model[_0x4cfc('0x2d')],RowAction[_0x4cfc('0x1c8')],rowData,null,newValues)){this[_0x4cfc('0x121')]=!![];var newRow=model[_0x4cfc('0x30')](rowData,index);if(this['focusedCell'])this[_0x4cfc('0x14e')][_0x4cfc('0x166')](newRow);newValues=new Map(Object[_0x4cfc('0x1c6')](rowData)[_0x4cfc('0x103')](e=>e[0x1]!=undefined));this[_0x4cfc('0x131')](newRow,RowAction[_0x4cfc('0x1c8')],null,null,newValues);this['updateScrollRange']();this[_0x4cfc('0x160')](newRow);this[_0x4cfc('0x34')][_0x4cfc('0xd2')]();DomUtils[_0x4cfc('0x1c0')](()=>{return this[_0x4cfc('0x121')]==![];},()=>{if(!this['focusedCell']){this[_0x4cfc('0x1c2')](newRow,0x0);}resolve(newRow);});}else resolve();}else reject(_0x4cfc('0x1c9'));}[_0x4cfc('0x90')](this));}async[_0x4cfc('0x1ca')](index,count){return new Promise(function(resolve,reject){var model=this[_0x4cfc('0x12')];if(model){this[_0x4cfc('0x121')]=!![];this[_0x4cfc('0x1cb')](index,count||0x1);DomUtils[_0x4cfc('0x1c0')](()=>{return this[_0x4cfc('0x121')]==![];},()=>{resolve();});}else reject(_0x4cfc('0x1c9'));}[_0x4cfc('0x90')](this));}['removeRowRange'](index,count){var model=this[_0x4cfc('0x12')];if(model){var i=index+count-0x1;while(i>=index){var rowData=this[_0x4cfc('0x12')][_0x4cfc('0x31')](i);if(this[_0x4cfc('0x1c7')](i,RowAction[_0x4cfc('0xca')])){var row=this[_0x4cfc('0x91')](i);if(this['selection']['rows'][_0x4cfc('0x1cc')](row))this[_0x4cfc('0x13e')]['rows'][_0x4cfc('0x9f')](this[_0x4cfc('0x13e')][_0x4cfc('0x13f')][_0x4cfc('0xfe')](row),0x1);model[_0x4cfc('0x9e')](i);var oldValues=new Map(Object['entries'](rowData));this[_0x4cfc('0x131')](-0x1,RowAction[_0x4cfc('0xca')],null,oldValues);}i--;}this[_0x4cfc('0x1b2')]=!![];this[_0x4cfc('0x34')][_0x4cfc('0xd3')]();}}[_0x4cfc('0x1cd')](index,sortAscending){if(index==null){this[_0x4cfc('0x104')]=-0x1;return;}if(this[_0x4cfc('0x104')]==index){this[_0x4cfc('0x105')]=sortAscending!==undefined?sortAscending:!this['sortAscending'];}else{this[_0x4cfc('0x104')]=index;this[_0x4cfc('0x105')]=sortAscending!==undefined?sortAscending:!![];}}[_0x4cfc('0x19c')](){this[_0x4cfc('0x18f')][_0x4cfc('0xc8')][_0x4cfc('0x134')]=this['contentHeight']+'px';this['scrollFixAmount']=this[_0x4cfc('0x132')]-this[_0x4cfc('0x135')]%this[_0x4cfc('0x132')];}['updateScrollRange'](){var model=this[_0x4cfc('0x12')];if(model){var scrollRange=this['rowHeight']*(model[_0x4cfc('0x2d')]+0x1);this[_0x4cfc('0x18f')][_0x4cfc('0x150')][0x0][_0x4cfc('0xc8')][_0x4cfc('0x134')]=scrollRange+'px';this[_0x4cfc('0x1ce')]=this[_0x4cfc('0x132')];this[_0x4cfc('0x1b2')]=![];}}[_0x4cfc('0x1cf')](){if(!this[_0x4cfc('0x1d0')]){var columnHeaders=[...this[_0x4cfc('0x18d')][_0x4cfc('0x14c')](_0x4cfc('0x1a6'))];var w=DomUtils[_0x4cfc('0x133')](columnHeaders[0x0])[_0x4cfc('0x13b')];var c=this['header'][_0x4cfc('0x158')](_0x4cfc('0x1d1'));c[_0x4cfc('0xc8')]['flex']=_0x4cfc('0x1d2');c['style']['width']=this[_0x4cfc('0x127')]+'px';this['_columnWidths']=new Array(this[_0x4cfc('0x12')][_0x4cfc('0x100')]);for(var i=0x0;i<this[_0x4cfc('0x1d0')][_0x4cfc('0x1b')];i++){this[_0x4cfc('0x1d3')](i,w);}}DomUtils[_0x4cfc('0x1d4')](this['element']);}[_0x4cfc('0x1d5')](clientX,column){var columnHeaders=[...this['header'][_0x4cfc('0x14c')](_0x4cfc('0x1a6'))];var dx=clientX-DomUtils[_0x4cfc('0x133')](columnHeaders[column])['left']();this[_0x4cfc('0x1d3')](column,dx);this[_0x4cfc('0x19d')]();}get[_0x4cfc('0x61')](){return this['effectiveModel'];}set[_0x4cfc('0x61')](value){if(this[_0x4cfc('0x16b')]!=value){if(this['focusedCell']){this['focusedCell'][_0x4cfc('0x166')]();}this['_proxyModel']=null;this[_0x4cfc('0x16b')]=value;if(this[_0x4cfc('0x1d6')]){this[_0x4cfc('0x1b2')]=!![];this[_0x4cfc('0x1bf')]();}}}['rebind'](){this[_0x4cfc('0x130')]=0x0;var model=this['_model'];this[_0x4cfc('0x61')]=null;this[_0x4cfc('0x61')]=model;}get[_0x4cfc('0x12')](){this[_0x4cfc('0x1d7')]();if(this['_proxyModel']!=null)return this['_proxyModel'];return this[_0x4cfc('0x16b')];}[_0x4cfc('0x1d7')](){if(this[_0x4cfc('0x1d8')]==null&&this[_0x4cfc('0x16b')]!=null){if(this[_0x4cfc('0xfa')]>-0x1||this[_0x4cfc('0xf9')]!=null){this[_0x4cfc('0x1d8')]=new ProxyModel(this[_0x4cfc('0x16b')]);this[_0x4cfc('0x1d8')][_0x4cfc('0x103')]=this[_0x4cfc('0xf9')];this['_proxyModel'][_0x4cfc('0x104')]=this[_0x4cfc('0xfa')];this[_0x4cfc('0x1d8')][_0x4cfc('0x105')]=this['_sortAscending'];}}}get['allowEdit'](){return this['_allowEdit'];}set['allowEdit'](value){if(this[_0x4cfc('0x16c')]!=value){this[_0x4cfc('0x16c')]=value;}}get[_0x4cfc('0x13d')](){return this['_allowAppend'];}set[_0x4cfc('0x13d')](value){if(this[_0x4cfc('0x1d9')]!=value){this[_0x4cfc('0x1d9')]=value;}}get[_0x4cfc('0x1da')](){return this[_0x4cfc('0x16d')];}set[_0x4cfc('0x1da')](value){if(this[_0x4cfc('0x16d')]!=value){this[_0x4cfc('0x16d')]=value;}}get[_0x4cfc('0x1b5')](){return this[_0x4cfc('0x16e')];}set['allowCellSelect'](value){if(this['_allowCellSelect']!=value){this[_0x4cfc('0x16e')]=value;}}get[_0x4cfc('0x1db')](){return this['_allowScroll'];}set[_0x4cfc('0x1db')](value){if(this[_0x4cfc('0x16f')]!=value){this[_0x4cfc('0x16f')]=value;}}get['filter'](){return this[_0x4cfc('0xf9')];}set[_0x4cfc('0x103')](value){if(this['_filter']!=value){this[_0x4cfc('0x1d8')]=null;this[_0x4cfc('0xf9')]=value;this[_0x4cfc('0x1b2')]=!![];this[_0x4cfc('0x1bf')]();}}get[_0x4cfc('0x104')](){return this[_0x4cfc('0xfa')];}set['sortedColumn'](value){if(this[_0x4cfc('0xfa')]!=value){this[_0x4cfc('0x1d8')]=null;this[_0x4cfc('0xfa')]=value;this['renderer'][_0x4cfc('0xd6')]();}}get[_0x4cfc('0x105')](){return this[_0x4cfc('0xfb')];}set[_0x4cfc('0x105')](value){if(this[_0x4cfc('0xfb')]!=value){this['_proxyModel']=null;this[_0x4cfc('0xfb')]=value;if(this[_0x4cfc('0xfa')]>-0x1)this[_0x4cfc('0x34')][_0x4cfc('0xd6')]();}}get[_0x4cfc('0x130')](){return this['_scrollRow'];}set[_0x4cfc('0x130')](value){if(this[_0x4cfc('0x1dc')]!=value){if(value>-0x1&&value<this[_0x4cfc('0x61')][_0x4cfc('0x2d')])this['_scrollRow']=value;if(this[_0x4cfc('0x1d6')]){this['scrollToRow'](this['_scrollRow']);this[_0x4cfc('0x34')]['onScroll']();}}}['onScroll'](e){if(!this['allowScroll']){e[_0x4cfc('0x24')]();return![];}var scrollPos=this['scroll']['scrollTop'];var row=Math[_0x4cfc('0x1dd')](scrollPos/this['scrollIncrement']);this[_0x4cfc('0x130')]=row;}[_0x4cfc('0x1a3')](e){if(typeof e[_0x4cfc('0x10e')][_0x4cfc('0xa')][_0x4cfc('0x14')]!=='undefined'&&e[_0x4cfc('0x1de')]>DomUtils[_0x4cfc('0x133')](e[_0x4cfc('0x10e')])[_0x4cfc('0x6d')]()-0x14)e[_0x4cfc('0x10e')][_0x4cfc('0xc8')]['cursor']=_0x4cfc('0x1df');else e['target'][_0x4cfc('0xc8')][_0x4cfc('0x1e0')]=_0x4cfc('0x1e1');}[_0x4cfc('0x1a5')](e){e[_0x4cfc('0x10e')][_0x4cfc('0xc8')][_0x4cfc('0x1e0')]='auto';}[_0x4cfc('0x1a8')](e){e[_0x4cfc('0x24')]();var c=parseInt(e[_0x4cfc('0x1e2')][_0x4cfc('0xa')]['column']);if(!this[_0x4cfc('0x12')][_0x4cfc('0x96')](c))return;var items=[{'title':_0x4cfc('0x1e3'),'data':c},{'title':_0x4cfc('0x1e4'),'data':c},{'title':_0x4cfc('0x1e5'),'data':c}];this[_0x4cfc('0x1e6')]();var b=DomUtils[_0x4cfc('0x1e7')](e[_0x4cfc('0x1e2')],this[_0x4cfc('0x18d')]);this['contextMenu']=Dialogs[_0x4cfc('0x1e8')](items,b[_0x4cfc('0x1e9')](),this['contextMenuCallback'][_0x4cfc('0x90')](this),this['element'],this[_0x4cfc('0x46')]);}['columnHeaderMouseDown'](e){var c=parseInt(e['currentTarget'][_0x4cfc('0xa')][_0x4cfc('0x14')]);if(e['clientX']>DomUtils[_0x4cfc('0x133')](e[_0x4cfc('0x1e2')])[_0x4cfc('0x6d')]()-0x14){e['preventDefault']();let resizeHandler=e=>this[_0x4cfc('0x1d5')](e[_0x4cfc('0x1de')],c);var resizeEndHandler=()=>{window[_0x4cfc('0x192')](_0x4cfc('0x1ea'),resizeHandler);window[_0x4cfc('0x192')](_0x4cfc('0x1eb'),resizeEndHandler);};window['addEventListener'](_0x4cfc('0x1ea'),resizeHandler);window[_0x4cfc('0x15')](_0x4cfc('0x1eb'),resizeEndHandler);}}[_0x4cfc('0x1ec')](e){var c=parseInt(e['currentTarget'][_0x4cfc('0xa')][_0x4cfc('0x14')]);this[_0x4cfc('0x14e')]=null;this[_0x4cfc('0x162')]();if(!this[_0x4cfc('0x12')][_0x4cfc('0x96')](c))return;this[_0x4cfc('0x1cd')](c);}[_0x4cfc('0x1ad')](e){if(e[_0x4cfc('0x66')]===0x2)return;e['preventDefault']();this['focusedCell']=null;var index=parseInt(e[_0x4cfc('0x10e')][_0x4cfc('0xa')][_0x4cfc('0x13')]);var selection=this[_0x4cfc('0x13e')][_0x4cfc('0x13f')];var row=this[_0x4cfc('0x91')](index);if(e['shiftKey']&&selection[_0x4cfc('0x1b')]){var sindex=this['getKeyRow'](selection[0x0]);var s=Math['min'](sindex,index);var e=Math[_0x4cfc('0x1ed')](sindex,index);selection=[];for(var i=s;i<=e;i++){selection[_0x4cfc('0x78')](this[_0x4cfc('0x91')](i));}this[_0x4cfc('0x1c4')](selection);}else if(e['ctrlKey']){if(!selection[_0x4cfc('0x1cc')](row))selection[_0x4cfc('0x78')](row);else selection['splice'](selection[_0x4cfc('0xfe')](row),0x1);this[_0x4cfc('0x1c4')](selection);}else{this['setRowSelection']([row]);}}[_0x4cfc('0x1ac')](e){if(!this[_0x4cfc('0x1d9')]&&!this[_0x4cfc('0x16d')])return;e[_0x4cfc('0x24')]();var items=[];var items=[{'title':_0x4cfc('0x1ee'),'enabled':this[_0x4cfc('0x13d')]},{'title':this['selectedRowIndices'][_0x4cfc('0x1b')]>0x1?'Delete\x20Rows':_0x4cfc('0x1ef'),'enabled':this['allowDelete']&&this[_0x4cfc('0x1be')][_0x4cfc('0x1b')]}];this[_0x4cfc('0x1e6')]();var b=DomUtils[_0x4cfc('0x133')](e[_0x4cfc('0x1e2')],this[_0x4cfc('0x14f')]);this[_0x4cfc('0x1f0')]=Dialogs[_0x4cfc('0x1e8')](items,b[_0x4cfc('0x1f1')](),this[_0x4cfc('0x1f2')][_0x4cfc('0x90')](this),this[_0x4cfc('0x14f')],this[_0x4cfc('0x46')]);}[_0x4cfc('0x1f2')](item){if(item){var model=this[_0x4cfc('0x12')];if(model){if(item[_0x4cfc('0x1f3')]=='New\x20Row'){this[_0x4cfc('0x1c2')](model[_0x4cfc('0x2d')],0x0);this['scrollRangeInvalid']=!![];this[_0x4cfc('0x1bf')]();}else if(item[_0x4cfc('0x1f3')][_0x4cfc('0xfe')](_0x4cfc('0x1ef'))>-0x1){var indices=this['selectedRowIndices'];indices[_0x4cfc('0x102')]((a,b)=>a-b);var i=indices[_0x4cfc('0x1b')];while(i--){this[_0x4cfc('0x1cb')](indices[i],0x1);}}else if(item['title']==_0x4cfc('0x1e3')){this[_0x4cfc('0x1cd')](item['data'],!![]);}else if(item[_0x4cfc('0x1f3')]==_0x4cfc('0x1e4')){this[_0x4cfc('0x1cd')](item[_0x4cfc('0x1f4')],![]);}else if(item['title']=='Clear\x20Sorting'){this[_0x4cfc('0x1cd')](null);}}this[_0x4cfc('0x1f0')][_0x4cfc('0x1f5')]();}this['contextMenu']=null;}['tableKeyDown'](e){var model=this[_0x4cfc('0x12')];var keys=[0x9,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28];if(keys[_0x4cfc('0x1cc')](e[_0x4cfc('0x26')]))e[_0x4cfc('0x24')]();switch(e[_0x4cfc('0x26')]){case 0x9:{if(e[_0x4cfc('0x27')]==!![]){if(this[_0x4cfc('0x1f6')]){if(this[_0x4cfc('0x1b5')])this[_0x4cfc('0x1f7')]();else this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]-0x1,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);}}else{if(this[_0x4cfc('0x1f6')]){if(this[_0x4cfc('0x1b5')])this['moveFocusedCellRight']();else this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]+0x1,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);}}break;}case 0x21:{if(this['focusedItem']){if(this[_0x4cfc('0x1f6')]['row']-this['rowsCount']<=0x0)this[_0x4cfc('0x1c2')](0x0,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);else{this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]-this['rowsCount'],this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);this[_0x4cfc('0x1f8')](this[_0x4cfc('0x1f6')]['row']);}}break;}case 0x22:{if(this[_0x4cfc('0x1f6')]){if(this['focusedItem'][_0x4cfc('0x13')]+this['rowsCount']>=this[_0x4cfc('0x1f9')])this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f9')],this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);else{this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')]['row']+this['rowsCount'],this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);this['scrollToRow'](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]);}}break;}case 0x23:{if(e[_0x4cfc('0x20')]==!![]){this[_0x4cfc('0x1c2')](this['lastRowIndex'],model['columnCount']-0x1);break;}if(this[_0x4cfc('0x1f6')]){this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')],model[_0x4cfc('0x100')]-0x1);}break;}case 0x24:{if(e[_0x4cfc('0x20')]==!![]){this[_0x4cfc('0x1c2')](0x0,0x0);break;}if(this['focusedCell']){this[_0x4cfc('0x1c2')](this['focusedItem'][_0x4cfc('0x13')],0x0);}break;}case 0x25:{if(this[_0x4cfc('0x1f6')]){if(this['allowCellSelect'])this[_0x4cfc('0x1f7')]();else this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]-0x1,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);}break;}case 0x27:{if(this[_0x4cfc('0x1f6')]){if(this[_0x4cfc('0x1b5')])this[_0x4cfc('0x1fa')]();else{if(this['focusedItem'][_0x4cfc('0x13')]<this[_0x4cfc('0x1f9')])this['moveFocusedCell'](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]+0x1,this['focusedItem']['column']);}}break;}case 0x26:{if(this[_0x4cfc('0x1f6')]){if(e[_0x4cfc('0x20')]==!![]){this[_0x4cfc('0x1c2')](0x0,this[_0x4cfc('0x1f6')]['column']);break;}if(this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]>0x0)this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]-0x1,this[_0x4cfc('0x1f6')]['column']);}break;}case 0x28:{if(this[_0x4cfc('0x1f6')]){if(e[_0x4cfc('0x20')]==!![]){this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f9')],this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);break;}if(this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]<this[_0x4cfc('0x1f9')])this[_0x4cfc('0x1c2')](this['focusedItem'][_0x4cfc('0x13')]+0x1,this['focusedItem']['column']);}break;}}}[_0x4cfc('0x1b0')](e){var model=this[_0x4cfc('0x12')];if(e['ctrlKey']==!![]&&this[_0x4cfc('0x14e')]){if(e['keyCode']==0x21){e['preventDefault']();this[_0x4cfc('0x1c2')](this[_0x4cfc('0x14e')][_0x4cfc('0x13')],0x0);}else if(e[_0x4cfc('0x26')]==0x22){e['preventDefault']();this[_0x4cfc('0x1c2')](this[_0x4cfc('0x14e')]['row'],model['columnCount']-0x1);}}}[_0x4cfc('0x1fb')](e){var row=parseInt(e[_0x4cfc('0x1e2')][_0x4cfc('0xa')][_0x4cfc('0x13')]);if(!this[_0x4cfc('0x1b5')]){this[_0x4cfc('0x14e')]=null;this[_0x4cfc('0x1c3')](row);return;}if(this[_0x4cfc('0x14e')]&&e['currentTarget']===this['focusedCell']['element'])return;this[_0x4cfc('0x14e')]=new GridCell(this,row,parseInt(e['currentTarget'][_0x4cfc('0xa')][_0x4cfc('0x14')]));this[_0x4cfc('0x14e')]['focus']();}[_0x4cfc('0x1fc')](row,column,back){var c;var count=this[_0x4cfc('0x12')][_0x4cfc('0x100')];while(!![]){if(column>=count){column=0x0;back?row--:row++;}if(column<0x0){column=count-0x1;back?row--:row++;}if(this[_0x4cfc('0x12')]['columnEditable'](column)){c=column;break;}back?column--:column++;}if(c!=null){var nc={'row':row,'column':c};if(row>-0x1&&row<=this[_0x4cfc('0x1f9')])return nc;}return null;}[_0x4cfc('0x1c2')](row,column,back){if(this[_0x4cfc('0x1b5')]){var newCell=this[_0x4cfc('0x1fc')](row,column,back);if(newCell){this[_0x4cfc('0x14e')]=new GridCell(this,newCell['row'],newCell[_0x4cfc('0x14')]);if(this[_0x4cfc('0x121')]){return;}this[_0x4cfc('0x14e')][_0x4cfc('0x15f')]();}}else{if(this[_0x4cfc('0x121')])this[_0x4cfc('0x1c3')](row);else this['bringIntoView'](row)[_0x4cfc('0x1fd')](()=>{this[_0x4cfc('0x1c3')](row);});}}['moveFocusedCellLeft'](){if(this['focusedCell'])this[_0x4cfc('0x1c2')](this['focusedCell'][_0x4cfc('0x13')],this['focusedCell'][_0x4cfc('0x14')]-0x1,!![]);}['moveFocusedCellRight'](){if(this[_0x4cfc('0x14e')])this['moveFocusedCell'](this[_0x4cfc('0x14e')][_0x4cfc('0x13')],this['focusedCell'][_0x4cfc('0x14')]+0x1);}get['focusedItem'](){if(this[_0x4cfc('0x14e')])return this['focusedCell'];if(this[_0x4cfc('0x1be')][_0x4cfc('0x1b')])return{'row':this[_0x4cfc('0x1be')][0x0],'column':0x0};return null;}[_0x4cfc('0x151')](row,column){return this[_0x4cfc('0xce')][column][row-this[_0x4cfc('0x130')]];}[_0x4cfc('0x1fe')](row){return this['visibleRows'][row-this[_0x4cfc('0x130')]];}['isRowVisible'](row){if(row>=this[_0x4cfc('0x130')]&&row<this[_0x4cfc('0x130')]+this[_0x4cfc('0x1b1')])return!![];return![];}[_0x4cfc('0x157')](row,column){return this[_0x4cfc('0x14a')](row);}[_0x4cfc('0x160')](row){var relRow=Math['abs'](this[_0x4cfc('0x130')]-row);if(!this['isRowVisible'](row)){this[_0x4cfc('0x121')]=!![];if(relRow==0x1){this[_0x4cfc('0x1f8')](row);}else{this[_0x4cfc('0x1f8')](row-this[_0x4cfc('0x1b1')]+0x1);}}this['scrollFix'](Math[_0x4cfc('0x1ff')](this[_0x4cfc('0x130')]-row));}async[_0x4cfc('0x200')](row){return new Promise(function(resolve,reject){var relRow=Math[_0x4cfc('0x1ff')](this[_0x4cfc('0x130')]-row);if(!this[_0x4cfc('0x14a')](row)){this[_0x4cfc('0x121')]=!![];if(relRow==0x1){this['scrollToRow'](row);}else{this[_0x4cfc('0x1f8')](row-this['rowsCount']+0x1);}}if(this[_0x4cfc('0x121')]){DomUtils[_0x4cfc('0x1c0')](()=>{return this['isRepainting']==![];},()=>{this[_0x4cfc('0x1b4')](Math[_0x4cfc('0x1ff')](this[_0x4cfc('0x130')]-row));resolve();});}else{resolve();}}[_0x4cfc('0x90')](this));}['scrollFix'](row){if(row!=0x0&&row!=this['rowsCount']-0x1)return;if(row==0x0)this['dataTable'][_0x4cfc('0xc8')][_0x4cfc('0x201')]='';if(row==this[_0x4cfc('0x1b1')]-0x1){if(this[_0x4cfc('0x132')]*(row+0x1)>this[_0x4cfc('0x135')]){this[_0x4cfc('0x11a')][_0x4cfc('0xc8')]['transform']=_0x4cfc('0x202')+this[_0x4cfc('0x203')]+'px)';}else this['dataTable'][_0x4cfc('0xc8')][_0x4cfc('0x201')]='';}}[_0x4cfc('0x107')](row){return![];}[_0x4cfc('0x1f8')](row){this[_0x4cfc('0x18f')]['scrollTop']=row*this[_0x4cfc('0x1ce')];}get['focusedCell'](){return this[_0x4cfc('0x170')];}set[_0x4cfc('0x14e')](value){if(this[_0x4cfc('0x170')]==value)return;this[_0x4cfc('0x170')]=value;}[_0x4cfc('0x162')](){if(this['_activeEditor']!=null){if(this[_0x4cfc('0x204')][_0x4cfc('0x1f5')]){if(this[_0x4cfc('0x204')]['onBlur'])this['_activeEditor'][_0x4cfc('0x205')]();this[_0x4cfc('0x204')][_0x4cfc('0x1f5')]();}else{this[_0x4cfc('0x204')][_0x4cfc('0x206')]();DomUtils[_0x4cfc('0x207')](this[_0x4cfc('0x204')]);}}this[_0x4cfc('0x204')]=null;}get[_0x4cfc('0x163')](){return this[_0x4cfc('0x204')];}set[_0x4cfc('0x163')](value){this[_0x4cfc('0x162')]();this[_0x4cfc('0x204')]=value;if(this[_0x4cfc('0x204')]){if(this[_0x4cfc('0x204')][_0x4cfc('0x14f')])this[_0x4cfc('0x204')][_0x4cfc('0x14f')][_0x4cfc('0x15f')]();else this[_0x4cfc('0x204')][_0x4cfc('0x15f')]();}}get['lastRowIndex'](){var r=this[_0x4cfc('0x12')][_0x4cfc('0x2d')];if(!this[_0x4cfc('0x13d')])r--;return r;}get[_0x4cfc('0x208')](){var header=this[_0x4cfc('0x18b')]['querySelector']('.mfdv-grid-header');var h=DomUtils[_0x4cfc('0x133')](header);return this[_0x4cfc('0x18b')][_0x4cfc('0x158')]('.mfdv-grid-content-wrapper')[_0x4cfc('0x209')]-h[_0x4cfc('0x134')];}get['contentClientHeight'](){var header=this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x1a1'));var h=DomUtils[_0x4cfc('0x133')](header);return this[_0x4cfc('0x18b')]['querySelector'](_0x4cfc('0x198'))['clientHeight']-h[_0x4cfc('0x134')];}['getColumnWidth'](column){if(this[_0x4cfc('0x1d0')])return this[_0x4cfc('0x1d0')][column];return null;}[_0x4cfc('0x1d3')](column,width){if(!this[_0x4cfc('0x18d')]||width==null)return;width=Math[_0x4cfc('0x1ed')](0x0,width);var header=this[_0x4cfc('0x18d')][_0x4cfc('0x158')](_0x4cfc('0x20a')+column+'\x22]');header[_0x4cfc('0xc8')]['width']=width+'px';header[_0x4cfc('0xc8')][_0x4cfc('0x128')]=_0x4cfc('0x1d2');var cells=[...this[_0x4cfc('0x18b')]['querySelectorAll'](_0x4cfc('0x11d')+column+'\x27]')];for(var cell of cells)cell['style']['width']=width+'px';this[_0x4cfc('0x1d0')][column]=width;}['disposeContextMenu'](){if(this[_0x4cfc('0x1f0')]){this[_0x4cfc('0x1f0')][_0x4cfc('0x1f5')]();this[_0x4cfc('0x1f0')]=null;}}[_0x4cfc('0x1c4')](value){this['disposeActiveEditor']();var s=[];for(var i=0x0;i<value['length'];i++){var row=this[_0x4cfc('0x92')](value[i]);if(this['onRowValidateAction'](row,RowAction[_0x4cfc('0x20b')])){s[_0x4cfc('0x78')](value[i]);this['onRowAction'](row,RowAction[_0x4cfc('0x20b')]);}}this['selection']['rows']=s;}[_0x4cfc('0x92')](key){if(this[_0x4cfc('0x12')])return this[_0x4cfc('0x12')][_0x4cfc('0x92')](key);return-0x1;}[_0x4cfc('0x91')](index){if(this[_0x4cfc('0x12')])return this[_0x4cfc('0x12')][_0x4cfc('0x91')](index);return null;}[_0x4cfc('0x20c')](){this['onResize']();}[_0x4cfc('0x19d')](){if(this[_0x4cfc('0x1d6')]){if(this[_0x4cfc('0x12')]){this[_0x4cfc('0x19c')]();this['refresh']();}}}[_0x4cfc('0x18a')](e){if(!this['enabled']||!this[_0x4cfc('0x1d6')]||!this[_0x4cfc('0x1db')])return;var currentPoint=DomUtils[_0x4cfc('0x20d')](e);var bounds=this[_0x4cfc('0x20e')];if(bounds[_0x4cfc('0x20f')](currentPoint)){var timeNow=new Date()[_0x4cfc('0xe1')]();e[_0x4cfc('0x24')]();var delta=parseInt(e[_0x4cfc('0x210')]||-e[_0x4cfc('0x211')]);if(timeNow-this[_0x4cfc('0x212')]<0x64){this['timeStamp']=timeNow;return;}else{this[_0x4cfc('0x212')]=timeNow;var scrollDelta=this['scrollIncrement']*(delta>0x0?-0x1:0x1);this['scroll'][_0x4cfc('0x213')]+=scrollDelta;}}}['onRowValidateAction'](row,action,rowData,oldValues,newValues){if(this['effectiveModel']){var rowData=rowData||this[_0x4cfc('0x12')][_0x4cfc('0x31')](row);var args=new RowModifyingEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction[_0x4cfc('0x214')]:this[_0x4cfc('0x177')][_0x4cfc('0x174')](this,args);break;case RowAction['Select']:this[_0x4cfc('0x215')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x1c8')]:this[_0x4cfc('0x179')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x32')]:this[_0x4cfc('0x17d')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0xca')]:this[_0x4cfc('0x17b')][_0x4cfc('0x174')](this,args);break;}return!args[_0x4cfc('0x216')];}}[_0x4cfc('0x131')](row,action,rowData,oldValues,newValues){if(this[_0x4cfc('0x12')]){if(rowData==null&&action!=RowAction[_0x4cfc('0xca')])rowData=this[_0x4cfc('0x12')]['getRowData'](row);var args=new RowModifiedEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction['Select']:this[_0x4cfc('0x17f')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x1c8')]:this[_0x4cfc('0x217')](()=>this['_rowCreated'][_0x4cfc('0x174')](this,args));break;case RowAction[_0x4cfc('0x32')]:this[_0x4cfc('0x17e')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0xca')]:this[_0x4cfc('0x17c')][_0x4cfc('0x174')](this,args);break;case RowAction['Render']:this[_0x4cfc('0x178')]['raiseEvent'](this,args);break;}}}['onCellAction'](row,column,value,displayValue){this[_0x4cfc('0x218')][_0x4cfc('0x174')](this,new CellEventArgs(row,column,value,displayValue));}[_0x4cfc('0x217')](callback){this['queuedEvents'][_0x4cfc('0x78')](callback);}[_0x4cfc('0x1b7')](){this[_0x4cfc('0x172')][_0x4cfc('0x1aa')](e=>e());this['queuedEvents']=[];}[_0x4cfc('0xa3')](commandName,control,row){this[_0x4cfc('0x162')]();var rowData=this[_0x4cfc('0x12')][_0x4cfc('0x31')](row);var args=new CommandEventArgs(commandName,control,row,rowData);this[_0x4cfc('0x185')]['raiseEvent'](this,args);if(!args['cancel']){if(commandName==='Delete'){DeleteCommand[_0x4cfc('0xcb')](this,args);}}}get['rowLoading'](){return this[_0x4cfc('0x177')];}get[_0x4cfc('0x219')](){return this[_0x4cfc('0x178')];}get[_0x4cfc('0x21a')](){return this[_0x4cfc('0x215')];}get[_0x4cfc('0x21b')](){return this[_0x4cfc('0x17f')];}get[_0x4cfc('0x21c')](){return this['_rowCreating'];}get[_0x4cfc('0x21d')](){return this[_0x4cfc('0x17a')];}get[_0x4cfc('0x21e')](){return this[_0x4cfc('0x17b')];}get[_0x4cfc('0x21f')](){return this[_0x4cfc('0x17c')];}get['rowUpdating'](){return this[_0x4cfc('0x17d')];}get['rowUpdated'](){return this[_0x4cfc('0x17e')];}get[_0x4cfc('0x220')](){return this[_0x4cfc('0x180')];}[_0x4cfc('0x221')](cell){var args=new CellValidateEventArgs(cell[_0x4cfc('0x13')],cell[_0x4cfc('0x14')]);this['_cellSelecting']['raiseEvent'](this,args);return!args[_0x4cfc('0x216')];}get[_0x4cfc('0x222')](){return this[_0x4cfc('0x181')];}['onCellSelected'](cell){var args=new CellEventArgs(cell[_0x4cfc('0x13')],cell[_0x4cfc('0x14')]);this[_0x4cfc('0x181')][_0x4cfc('0x174')](this,args);}get[_0x4cfc('0x223')](){return this['_cellFocusing'];}[_0x4cfc('0x224')](cell){if(this[_0x4cfc('0x1b6')])return!![];var args=new CellValidateEventArgs(cell['row'],cell['column']);this['_cellFocusing'][_0x4cfc('0x174')](this,args);return!args[_0x4cfc('0x216')];}get['cellFocused'](){return this[_0x4cfc('0x182')];}[_0x4cfc('0x164')](cell){if(this['stopEvents'])return!![];var args=new CellEventArgs(cell[_0x4cfc('0x13')],cell[_0x4cfc('0x14')]);this[_0x4cfc('0x182')][_0x4cfc('0x174')](this,args);}[_0x4cfc('0x39')](row,column,defaultContent){var args=new CellCustomDrawEventArgs(row,column,defaultContent);this[_0x4cfc('0x183')][_0x4cfc('0x174')](this,args);return args['content']||args[_0x4cfc('0xb3')];}get['customDrawCell'](){return this['_customDrawCell'];}['onCustomDrawHeader'](row,column,defaultContent){var args=new CellCustomDrawEventArgs(row,column,defaultContent);this['_customDrawHeader']['raiseEvent'](this,args);return args['content']||args[_0x4cfc('0xb3')];}get[_0x4cfc('0x225')](){return this[_0x4cfc('0x184')];}get[_0x4cfc('0x226')](){return this[_0x4cfc('0x185')];}get[_0x4cfc('0x173')](){return this[_0x4cfc('0x186')];}get[_0x4cfc('0x227')](){return this[_0x4cfc('0x187')];}get[_0x4cfc('0x175')](){return this[_0x4cfc('0x228')];}get[_0x4cfc('0x176')](){return this[_0x4cfc('0x188')];}get[_0x4cfc('0x218')](){return this[_0x4cfc('0x229')];}}class GridColumn{constructor(name,dataType,editable){if(name)this[_0x4cfc('0x22a')]=name;if(dataType)this[_0x4cfc('0x22b')]=dataType;this['_metaData']=new Map();this[_0x4cfc('0x22c')]=editable!=undefined?editable:!![];this[_0x4cfc('0x22d')]=!![];this[_0x4cfc('0x22e')]=![];}get[_0x4cfc('0x8e')](){return this[_0x4cfc('0x22a')];}set['name'](value){this[_0x4cfc('0x22a')]=value;}get[_0x4cfc('0x7b')](){return this[_0x4cfc('0x22b')];}set['dataType'](value){this[_0x4cfc('0x22b')]=value;}get[_0x4cfc('0x9a')](){return this[_0x4cfc('0x22f')];}set[_0x4cfc('0x9a')](value){this[_0x4cfc('0x22f')]=value;}get[_0x4cfc('0x94')](){if(this[_0x4cfc('0x22b')]==CommandType)return'';return this[_0x4cfc('0x230')]||this['_name'];}set[_0x4cfc('0x94')](value){this[_0x4cfc('0x230')]=value;}get[_0x4cfc('0x95')](){if(this[_0x4cfc('0x22b')]==CommandType)return![];return this['_editable'];}set[_0x4cfc('0x95')](value){this[_0x4cfc('0x22c')]=value;}get[_0x4cfc('0x97')](){if(this[_0x4cfc('0x22b')]==CommandType)return![];return this[_0x4cfc('0x22d')];}set['sortable'](value){this['_sortable']=value;}get[_0x4cfc('0x99')](){return this[_0x4cfc('0x22e')];}set['hidden'](value){this['_hidden']=value;}}class PropertyGridModel extends ArrayModel{constructor(values,meta){var columns=[];var column1=new GridColumn('name');column1[_0x4cfc('0x7b')]=StringType;column1[_0x4cfc('0x9a')]=meta;column1['editable']=![];columns['push'](column1);var column2=new GridColumn('value');column2[_0x4cfc('0x7b')]=DynamicType;column2['metaData']=meta;columns[_0x4cfc('0x78')](column2);var column3=new GridColumn(_0x4cfc('0x231'));column3[_0x4cfc('0x7b')]=StringType;column3[_0x4cfc('0x9a')]=meta;column3['hidden']=!![];columns[_0x4cfc('0x78')](column3);super(values,columns,_0x4cfc('0x8e'));}[_0x4cfc('0x71')](row,column){if(row<this[_0x4cfc('0x2d')]){return this[_0x4cfc('0x10')](row,0x1)[_0x4cfc('0x81')];}return this[_0x4cfc('0x85')][column]['metaData'];}[_0x4cfc('0x2c')](row,column){if(this[_0x4cfc('0x8c')](column)==DynamicType){if(row<this[_0x4cfc('0x2d')]){var valueObj=this[_0x4cfc('0x10')](row,column);return DynamicType[_0x4cfc('0x7a')](valueObj[_0x4cfc('0x10')],valueObj[_0x4cfc('0x81')]);}}return this[_0x4cfc('0x8c')](column);}[_0x4cfc('0x10')](row,column){var columnName=this[_0x4cfc('0x85')][column][_0x4cfc('0x8e')];if(row<this[_0x4cfc('0x2d')]){if(this[_0x4cfc('0x8c')](column)==DynamicType)return this['_values'][row];return this['_values'][row][columnName];}return undefined;}[_0x4cfc('0x9d')](row,column){var value=this[_0x4cfc('0x10')](row,column);var meta=this[_0x4cfc('0x71')](row,column);if(this['columnType'](column)==DynamicType){return DynamicType['format'](value[_0x4cfc('0x10')],meta);}else if(this[_0x4cfc('0x8c')](column)==StringType){if(meta[_0x4cfc('0xf')]('displayName')!=undefined)return this['columnType'](column)['format'](meta['get'](_0x4cfc('0x232')),meta);return this[_0x4cfc('0x8c')](column)[_0x4cfc('0x50')](value,meta);}return this[_0x4cfc('0x8c')](column)[_0x4cfc('0x50')](value,meta);}[_0x4cfc('0x30')](rowData,index){throw new Error('Method\x20not\x20supported.');}[_0x4cfc('0x9e')](row){throw new Error('Method\x20not\x20supported.');}}class CollectionType extends ObjectType{static['format'](value,meta){return _0x4cfc('0x233');}}class PropertyGridContent extends UIControl{constructor(obj){super();this[_0x4cfc('0x234')]=Unit[_0x4cfc('0x169')](0x64);this[_0x4cfc('0x16a')]=Unit[_0x4cfc('0x169')](0x64);this['_selectedObject']=obj;this[_0x4cfc('0x16b')]=null;this['_proxyModel']=null;this[_0x4cfc('0x22f')]=new Map();this[_0x4cfc('0x235')]=[_0x4cfc('0x236')];this[_0x4cfc('0x16c')]=!![];this['_allowCellSelect']=!![];this[_0x4cfc('0x16f')]=!![];this['_filter']=null;this['_sortedColumn']=-0x1;this['_sortAscending']=!![];this[_0x4cfc('0x34')]=new GridRenderer();this['renderer'][_0x4cfc('0x12a')]=!![];this[_0x4cfc('0x34')][_0x4cfc('0xcc')]=this;this[_0x4cfc('0x1dc')]=0x0;this[_0x4cfc('0x1d0')]=null;this['_rowHeaderWidth']=0x11;this[_0x4cfc('0x170')]=null;this[_0x4cfc('0x204')]=null;this[_0x4cfc('0x171')]=![];this[_0x4cfc('0x237')]='';this[_0x4cfc('0x238')]=0x10;this[_0x4cfc('0x13e')]=new Selection(this);this[_0x4cfc('0x172')]=[];this['_expandObject']=new EventDispatcher();this[_0x4cfc('0x239')]=new EventDispatcher();this[_0x4cfc('0x23a')]=new EventDispatcher();this['_rowLoading']=new EventDispatcher();this[_0x4cfc('0x178')]=new EventDispatcher();this[_0x4cfc('0x23b')]=new EventDispatcher();this[_0x4cfc('0x23c')]=new EventDispatcher();this[_0x4cfc('0x179')]=new EventDispatcher();this['_rowCreated']=new EventDispatcher();this[_0x4cfc('0x17b')]=new EventDispatcher();this[_0x4cfc('0x17c')]=new EventDispatcher();this[_0x4cfc('0x17d')]=new EventDispatcher();this[_0x4cfc('0x17e')]=new EventDispatcher();this['_rowSelecting']=new EventDispatcher();this['_rowSelected']=new EventDispatcher();this[_0x4cfc('0x180')]=new EventDispatcher();this[_0x4cfc('0x181')]=new EventDispatcher();this[_0x4cfc('0x23d')]=new EventDispatcher();this[_0x4cfc('0x182')]=new EventDispatcher();this[_0x4cfc('0x23e')]=e=>this[_0x4cfc('0xd4')](e);this[_0x4cfc('0x194')]=e=>this[_0x4cfc('0x18a')](e);}get[_0x4cfc('0x122')](){return this[_0x4cfc('0x18b')][_0x4cfc('0x158')]('.mfdv-grid-content-inner-wrapper');}get[_0x4cfc('0x18d')](){return this['_element'][_0x4cfc('0x158')]('.mfdv-grid-header');}get['dataTable'](){return this[_0x4cfc('0x18b')]['querySelector'](_0x4cfc('0x1ab'));}get['visibleRows'](){return this[_0x4cfc('0x34')][_0x4cfc('0xcd')];}get['visibleCells'](){return this[_0x4cfc('0x34')][_0x4cfc('0xce')];}[_0x4cfc('0x18e')](){this[_0x4cfc('0x18f')][_0x4cfc('0x192')](_0x4cfc('0x18f'),this[_0x4cfc('0x23e')]);window['removeEventListener']('resize',this[_0x4cfc('0x191')]);document[_0x4cfc('0x192')](_0x4cfc('0x193'),this['mouseWheelHandler']);document[_0x4cfc('0x192')](_0x4cfc('0x195'),this['mouseWheelHandler']);document['removeEventListener'](_0x4cfc('0x196'),this['mouseWheelHandler']);super[_0x4cfc('0x18e')]();}[_0x4cfc('0x1ad')](e){if(e[_0x4cfc('0x66')]===0x2)return;e[_0x4cfc('0x24')]();this[_0x4cfc('0x14e')]=null;var index=parseInt(e[_0x4cfc('0x10e')][_0x4cfc('0xa')][_0x4cfc('0x13')]);var selection=this[_0x4cfc('0x13e')][_0x4cfc('0x13f')];var row=this[_0x4cfc('0x91')](index);if(e['shiftKey']&&selection[_0x4cfc('0x1b')]){var sindex=this[_0x4cfc('0x92')](selection[0x0]);var s=Math[_0x4cfc('0x23f')](sindex,index);var e=Math[_0x4cfc('0x1ed')](sindex,index);selection=[];for(var i=s;i<=e;i++){selection['push'](this['getRowKey'](i));}this[_0x4cfc('0x1c4')](selection);}else if(e[_0x4cfc('0x20')]){if(!selection['includes'](row))selection[_0x4cfc('0x78')](row);else selection[_0x4cfc('0x9f')](selection['indexOf'](row),0x1);this[_0x4cfc('0x1c4')](selection);}else{this['setRowSelection']([row]);}}[_0x4cfc('0x4f')](element){this['generateData']();if(element)this[_0x4cfc('0x18b')]=element;this['renderer']['renderGrid']();var headerHeight=DomUtils[_0x4cfc('0x133')](this['header'])[_0x4cfc('0x134')];var sbSize=DomUtils[_0x4cfc('0x197')]();var wrapper=this[_0x4cfc('0x18b')]['querySelector'](_0x4cfc('0x198'));wrapper[_0x4cfc('0xc8')]['right']=sbSize+'px';var ctop=this['_element']['querySelector'](_0x4cfc('0x199'));ctop[_0x4cfc('0xc8')][_0x4cfc('0x13b')]=sbSize+'px';ctop['style']['height']=headerHeight+'px';this[_0x4cfc('0x18f')]=this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x19a'));this[_0x4cfc('0x18f')][_0x4cfc('0xc8')][_0x4cfc('0x13b')]=sbSize+'px';this[_0x4cfc('0x18f')][_0x4cfc('0xc8')]['marginTop']=headerHeight+'px';this[_0x4cfc('0x19c')]();this[_0x4cfc('0x1b3')]();this[_0x4cfc('0x18f')][_0x4cfc('0x15')](_0x4cfc('0x18f'),this['scrollHandler']);this[_0x4cfc('0x1cf')]();this[_0x4cfc('0x191')]=e=>this[_0x4cfc('0x19d')](e);window[_0x4cfc('0x15')](_0x4cfc('0x190'),this['resizeHandler']);this['_element'][_0x4cfc('0x15')]('wheel',this[_0x4cfc('0x194')]);super[_0x4cfc('0x4f')]();}[_0x4cfc('0x19e')](){this[_0x4cfc('0x1e6')]();this['disposeActiveEditor']();this[_0x4cfc('0x171')]=document[_0x4cfc('0x19f')]===this[_0x4cfc('0x11a')]||DomUtils['isChildOf'](document[_0x4cfc('0x19f')],this[_0x4cfc('0x11a')]);}[_0x4cfc('0x120')](){var model=this[_0x4cfc('0x12')];if(model){for(let c=0x0;c<model[_0x4cfc('0x100')];c++){var cells=[...this[_0x4cfc('0x18b')][_0x4cfc('0x14c')](_0x4cfc('0x11d')+c+'\x27]')];cells[_0x4cfc('0x1aa')](cell=>{cell[_0x4cfc('0x15')](_0x4cfc('0x1d'),e=>{this[_0x4cfc('0x1fb')](e);});if(c==0x0){cell[_0x4cfc('0x15')](_0x4cfc('0x1a2'),e=>{this[_0x4cfc('0x1a3')](e);});cell[_0x4cfc('0x15')](_0x4cfc('0x1a4'),e=>{this[_0x4cfc('0x1a5')](e);});cell[_0x4cfc('0x15')](_0x4cfc('0x1a9'),e=>{this['columnHeaderMouseDown'](e);});cell[_0x4cfc('0x15')](_0x4cfc('0x1a7'),e=>{this[_0x4cfc('0x1ac')](e);});}});}this[_0x4cfc('0x1d3')](this[_0x4cfc('0x240')](0x0));var table=this[_0x4cfc('0x18b')]['querySelector']('.mfdv-grid-data-table');var rowHeaders=[...table[_0x4cfc('0x14c')](_0x4cfc('0x154'))];rowHeaders[_0x4cfc('0x1aa')](r=>{r[_0x4cfc('0x15')]('mousedown',e=>{this['rowHeaderMouseDown'](e);});r[_0x4cfc('0x15')](_0x4cfc('0x1a7'),e=>{this['rowHeaderContextMenu'](e,!![]);});});var table=this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x1ab'));table[_0x4cfc('0x15')](_0x4cfc('0x1e'),e=>{this[_0x4cfc('0x1ae')](e,model);});table[_0x4cfc('0x15')]('keyup',e=>{this[_0x4cfc('0x1b0')](e,model);});}this[_0x4cfc('0x1b1')]=this[_0x4cfc('0xcd')][_0x4cfc('0x1b')];this[_0x4cfc('0x132')]=this['rowsCount']?DomUtils[_0x4cfc('0x133')](this[_0x4cfc('0x11a')]['children'][0x0])[_0x4cfc('0x134')]:0x0;if(this[_0x4cfc('0x1b2')])this[_0x4cfc('0x1b3')]();if(this[_0x4cfc('0x171')])this['dataTable']['focus']();if(this['focusedCell']!=null&&this[_0x4cfc('0x14a')](this[_0x4cfc('0x14e')][_0x4cfc('0x13')])){this[_0x4cfc('0x1b4')](this[_0x4cfc('0x14e')][_0x4cfc('0x13')]-this[_0x4cfc('0x130')]);if(this['allowCellSelect'])this[_0x4cfc('0x14e')][_0x4cfc('0x15f')]();}}['draw'](){super[_0x4cfc('0x4e')]();DomUtils['addCssClass'](this[_0x4cfc('0x18b')],_0x4cfc('0x1b9'));var grid=this[_0x4cfc('0x18b')];var scroll=document['createElement'](_0x4cfc('0xf0'));scroll[_0x4cfc('0x9')]='mfdv-grid-scroll-wrapper';grid[_0x4cfc('0x2b')](scroll);var scrollSpacer=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));scroll[_0x4cfc('0x2b')](scrollSpacer);var scrollCorner=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));scrollCorner[_0x4cfc('0x9')]=_0x4cfc('0x1bb');scroll[_0x4cfc('0x2b')](scrollCorner);var scrollCorner=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));scrollCorner[_0x4cfc('0x9')]=_0x4cfc('0x241');scroll[_0x4cfc('0x2b')](scrollCorner);var body=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));body['className']=_0x4cfc('0x1bc');var wrap=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));wrap[_0x4cfc('0x9')]='mfdv-grid-content-inner-wrapper';body[_0x4cfc('0x2b')](wrap);grid['appendChild'](body);return this['_element'];}async['refresh'](selected){return new Promise(function(resolve,reject){this['isRepainting']=!![];if(selected)this[_0x4cfc('0x34')]['refreshRows'](this[_0x4cfc('0x1be')][0x0],this[_0x4cfc('0x1be')][_0x4cfc('0x1b')]-0x1);else this[_0x4cfc('0x1bf')]();DomUtils[_0x4cfc('0x1c0')](()=>{return this[_0x4cfc('0x121')]==![];},()=>{resolve();});}[_0x4cfc('0x90')](this));}[_0x4cfc('0x1c1')](row,column,moveBackwards){this[_0x4cfc('0x1c2')](row,column,moveBackwards);}[_0x4cfc('0x161')](row,column){this[_0x4cfc('0x13e')][_0x4cfc('0x144')]=[{'row':this[_0x4cfc('0x91')](row),'column':column}];}[_0x4cfc('0x1c3')](index,count){if(index===undefined||index==null)return;var selection=[];for(var i=index;i<index+(count||0x1);i++){selection['push'](this[_0x4cfc('0x91')](i));}this[_0x4cfc('0x1c4')](selection);}get[_0x4cfc('0x1be')](){if(this[_0x4cfc('0x13e')][_0x4cfc('0x144')]['length'])return[this['getKeyRow'](this[_0x4cfc('0x13e')]['cells'][0x0][_0x4cfc('0x13')])];var indices=[];this[_0x4cfc('0x13e')]['rows'][_0x4cfc('0x1aa')](r=>{indices[_0x4cfc('0x78')](this[_0x4cfc('0x92')](r));});return indices;}get[_0x4cfc('0x1c5')](){if(this[_0x4cfc('0x13e')][_0x4cfc('0x144')]['length']){var row=this[_0x4cfc('0x92')](this[_0x4cfc('0x13e')][_0x4cfc('0x144')][0x0][_0x4cfc('0x13')]);return[new GridCell(this,row,this['selection'][_0x4cfc('0x144')][0x0]['column'])];}return[];}['invalidateDom'](){this[_0x4cfc('0x34')]['invalidate']();}async[_0x4cfc('0xd1')](index,count){return new Promise(function(resolve,reject){var model=this['effectiveModel'];if(model){this[_0x4cfc('0x121')]=!![];this[_0x4cfc('0x34')][_0x4cfc('0xd1')](index,count||0x1);DomUtils[_0x4cfc('0x1c0')](()=>{return this[_0x4cfc('0x121')]==![];},()=>{resolve();});}else reject('Model\x20is\x20undefined.');}[_0x4cfc('0x90')](this));}[_0x4cfc('0x30')](){if(this[_0x4cfc('0x1c7')](this[_0x4cfc('0x61')][_0x4cfc('0x2d')],RowAction[_0x4cfc('0x1c8')])){this[_0x4cfc('0x131')](this['model']['rowCount'],RowAction[_0x4cfc('0x1c8')]);}}[_0x4cfc('0x1cb')](index,count){var model=this['effectiveModel'];if(model){var i=index+count-0x1;while(i>=index){if(this[_0x4cfc('0x1c7')](i,RowAction[_0x4cfc('0xca')])){this[_0x4cfc('0x242')]();this[_0x4cfc('0x131')](-0x1,RowAction[_0x4cfc('0xca')],null,null);}i--;}this[_0x4cfc('0x1b2')]=!![];}}[_0x4cfc('0x1cd')](index,sortAscending){if(index==null){this['sortedColumn']=-0x1;return;}if(this['sortedColumn']==index){this[_0x4cfc('0x105')]=sortAscending!==undefined?sortAscending:!this['sortAscending'];}else{this[_0x4cfc('0x104')]=index;this['sortAscending']=sortAscending!==undefined?sortAscending:!![];}}['groupByColumn'](index){if(index==null){this[_0x4cfc('0x106')]=-0x1;return;}if(this[_0x4cfc('0x106')]!=index){this[_0x4cfc('0x106')]=index;}}[_0x4cfc('0x19c')](){this[_0x4cfc('0x18f')][_0x4cfc('0xc8')]['height']=this[_0x4cfc('0x208')]+'px';this[_0x4cfc('0x203')]=this[_0x4cfc('0x132')]-this[_0x4cfc('0x135')]%this[_0x4cfc('0x132')];}['updateScrollRange'](){var model=this[_0x4cfc('0x12')];if(model){var scrollRange=this[_0x4cfc('0x132')]*model[_0x4cfc('0x2d')]-this[_0x4cfc('0x238')];this['scroll'][_0x4cfc('0x150')][0x0][_0x4cfc('0xc8')]['height']=scrollRange+'px';this[_0x4cfc('0x1ce')]=this[_0x4cfc('0x132')];this[_0x4cfc('0x1b2')]=![];}}[_0x4cfc('0x1cf')](){if(!this[_0x4cfc('0x1d0')]){var w=this[_0x4cfc('0x18b')]['parentNode'][_0x4cfc('0xee')][_0x4cfc('0xee')]['offsetWidth']-0x28;this['_columnWidths']=new Array(0x2);if(this[_0x4cfc('0x243')])this['setColumnWidth'](0x1e);else this[_0x4cfc('0x1d3')](w/0x2);}DomUtils[_0x4cfc('0x1d4')](this[_0x4cfc('0x14f')]);}['resizeColumn'](clientX,column){var dx=clientX-DomUtils[_0x4cfc('0x133')](this['visibleCells'][0x0][0x0])[_0x4cfc('0x3c')]();this[_0x4cfc('0x1d3')](dx);}get[_0x4cfc('0x61')](){return this[_0x4cfc('0x12')];}set[_0x4cfc('0x61')](value){if(this[_0x4cfc('0x16b')]!=value){if(this[_0x4cfc('0x14e')]){this['focusedCell'][_0x4cfc('0x166')]();}this[_0x4cfc('0x1d8')]=null;this['_model']=value;if(this[_0x4cfc('0x1d6')]){this['scrollRangeInvalid']=!![];this[_0x4cfc('0x1bf')]();}}}[_0x4cfc('0x244')](obj){if(!obj){return Object[_0x4cfc('0x245')](null);}else{const proto=Object[_0x4cfc('0x246')](obj);return{...this[_0x4cfc('0x244')](proto),...Object[_0x4cfc('0x247')](obj)};}}get[_0x4cfc('0x248')](){return this[_0x4cfc('0x249')];}set[_0x4cfc('0x248')](value){this['_selectedObject']=value;this[_0x4cfc('0x242')]();}[_0x4cfc('0x242')](values){var values=[];var props=this['getAllPropertyDescriptors'](this[_0x4cfc('0x248')]);Object[_0x4cfc('0x1c6')](props)[_0x4cfc('0x8f')](d=>{var propName=d[0x0][_0x4cfc('0x6f')]();var valueObj=d[0x1][_0x4cfc('0x10')];if(valueObj instanceof Function)return;if(this[_0x4cfc('0x235')][_0x4cfc('0xfe')](propName)>-0x1)return;if(!this[_0x4cfc('0x24a')]&&!this[_0x4cfc('0x15e')][_0x4cfc('0x9a')][_0x4cfc('0xd')](propName))return;var meta=new Map(Object['entries'](this['parent'][_0x4cfc('0x9a')][_0x4cfc('0xf')](propName)||{}));if(!this[_0x4cfc('0x24b')]){if(!(d[0x1][_0x4cfc('0x24c')]instanceof Function)&&meta[_0x4cfc('0xf')](_0x4cfc('0x7b'))!=CollectionType){if(this[_0x4cfc('0x24d')]){if(!this[_0x4cfc('0x243')])meta['set'](_0x4cfc('0x24e'),!![]);}else return;}}if(meta[_0x4cfc('0xf')](_0x4cfc('0x24f'))==!![])return;var rowData={'id':values[_0x4cfc('0x1b')],'name':propName,'value':this[_0x4cfc('0x248')][propName],'category':meta['get'](_0x4cfc('0x231')),'meta':meta};var valid=this[_0x4cfc('0x1c7')](values[_0x4cfc('0x1b')],RowAction['Load'],rowData,null,null);if(valid){values[_0x4cfc('0x78')](rowData);}});this[_0x4cfc('0x61')]=new PropertyGridModel(values,this['_metaData']);}get[_0x4cfc('0x9a')](){return this[_0x4cfc('0x22f')];}set['metaData'](value){this[_0x4cfc('0x22f')]=value;}get[_0x4cfc('0x24a')](){return this['_collectionObject']||this[_0x4cfc('0x15e')]['showAllProperties'];}get['showReadonlyProperties'](){return this[_0x4cfc('0x243')]||this[_0x4cfc('0x15e')]['showReadonlyProperties'];}get[_0x4cfc('0x24b')](){return this[_0x4cfc('0x15e')][_0x4cfc('0x24b')];}[_0x4cfc('0x250')](){this['scrollRow']=0x0;var model=this['_model'];this[_0x4cfc('0x61')]=null;this[_0x4cfc('0x61')]=model;}get['effectiveModel'](){this[_0x4cfc('0x1d7')]();if(this[_0x4cfc('0x1d8')]!=null)return this['_proxyModel'];return this[_0x4cfc('0x16b')];}[_0x4cfc('0x1d7')](){if(this[_0x4cfc('0x1d8')]==null&&this[_0x4cfc('0x16b')]!=null){if(this[_0x4cfc('0xfa')]>-0x1||this[_0x4cfc('0xf9')]!=null){this['_proxyModel']=new ProxyModel(this[_0x4cfc('0x16b')]);this[_0x4cfc('0x1d8')][_0x4cfc('0x103')]=this['_filter'];this[_0x4cfc('0x1d8')][_0x4cfc('0x104')]=this['_sortedColumn'];this[_0x4cfc('0x1d8')][_0x4cfc('0x105')]=this[_0x4cfc('0xfb')];this[_0x4cfc('0x1d8')]['groupColumn']=this[_0x4cfc('0x101')];}}}get['allowEdit'](){return this[_0x4cfc('0x16c')];}set[_0x4cfc('0x251')](value){if(this['_allowEdit']!=value){this[_0x4cfc('0x16c')]=value;}}get[_0x4cfc('0x1b5')](){return this[_0x4cfc('0x16e')];}set[_0x4cfc('0x1b5')](value){if(this['_allowCellSelect']!=value){this['_allowCellSelect']=value;}}get[_0x4cfc('0x1db')](){return this[_0x4cfc('0x16f')];}set[_0x4cfc('0x1db')](value){if(this[_0x4cfc('0x16f')]!=value){this[_0x4cfc('0x16f')]=value;}}get[_0x4cfc('0x103')](){return this[_0x4cfc('0xf9')];}set[_0x4cfc('0x103')](value){if(this['_filter']!=value){this[_0x4cfc('0x1d8')]=null;this[_0x4cfc('0xf9')]=value;this[_0x4cfc('0x1b2')]=!![];this[_0x4cfc('0x1bf')]();}}get['sortedColumn'](){return this[_0x4cfc('0xfa')];}set[_0x4cfc('0x104')](value){if(this[_0x4cfc('0xfa')]!=value){this[_0x4cfc('0x1d8')]=null;this[_0x4cfc('0xfa')]=value;this[_0x4cfc('0x34')][_0x4cfc('0xd6')]();this[_0x4cfc('0x252')][_0x4cfc('0x174')](this,{'column':this[_0x4cfc('0xfa')],'sortAscending':this[_0x4cfc('0xfb')]});}}get[_0x4cfc('0x105')](){return this[_0x4cfc('0xfb')];}set['sortAscending'](value){if(this[_0x4cfc('0xfb')]!=value){this[_0x4cfc('0x1d8')]=null;this['_sortAscending']=value;if(this[_0x4cfc('0xfa')]>-0x1){this[_0x4cfc('0x34')][_0x4cfc('0xd6')]();this[_0x4cfc('0x252')][_0x4cfc('0x174')](this,{'column':this['_sortedColumn'],'sortAscending':this['_sortAscending']});}}}get[_0x4cfc('0x106')](){return this[_0x4cfc('0x101')];}set[_0x4cfc('0x106')](value){if(this['_groupColumn']!=value){this[_0x4cfc('0x1d8')]=null;var oldGrouping=this[_0x4cfc('0x101')];this[_0x4cfc('0x101')]=value;this[_0x4cfc('0x1b2')]=!![];this['renderer']['onSort']();this[_0x4cfc('0x253')][_0x4cfc('0x174')](this,{'newValue':this[_0x4cfc('0x101')],'oldValue':oldGrouping});}}get[_0x4cfc('0x130')](){return this[_0x4cfc('0x1dc')];}set[_0x4cfc('0x130')](value){if(this[_0x4cfc('0x1dc')]!=value){if(value>-0x1&&value<this[_0x4cfc('0x61')][_0x4cfc('0x2d')])this[_0x4cfc('0x1dc')]=value;if(this[_0x4cfc('0x1d6')]){this[_0x4cfc('0x1f8')](this[_0x4cfc('0x1dc')]);this[_0x4cfc('0x34')][_0x4cfc('0xd4')]();}}}[_0x4cfc('0xd4')](e){if(!this[_0x4cfc('0x1db')]){e['preventDefault']();return![];}var scrollPos=this[_0x4cfc('0x18f')][_0x4cfc('0x213')];var row=Math[_0x4cfc('0x1dd')](scrollPos/this[_0x4cfc('0x1ce')]);this[_0x4cfc('0x130')]=row;}[_0x4cfc('0x1a3')](e){if(typeof e[_0x4cfc('0x10e')][_0x4cfc('0xa')]['column']!==_0x4cfc('0x4')&&e[_0x4cfc('0x1de')]>DomUtils[_0x4cfc('0x133')](e['target'])[_0x4cfc('0x6d')]()-0x14)e[_0x4cfc('0x10e')][_0x4cfc('0xc8')][_0x4cfc('0x1e0')]=_0x4cfc('0x1df');else e[_0x4cfc('0x10e')]['style'][_0x4cfc('0x1e0')]=_0x4cfc('0x1e1');}[_0x4cfc('0x1a5')](e){e['target'][_0x4cfc('0xc8')][_0x4cfc('0x1e0')]=_0x4cfc('0x1e1');}[_0x4cfc('0x254')](e){var c=parseInt(e[_0x4cfc('0x1e2')][_0x4cfc('0xa')]['column']);if(e[_0x4cfc('0x1de')]>DomUtils[_0x4cfc('0x133')](e[_0x4cfc('0x1e2')])['right']()-0x14){e['preventDefault']();let resizeHandler=e=>this[_0x4cfc('0x1d5')](e[_0x4cfc('0x1de')],c);var resizeEndHandler=()=>{window[_0x4cfc('0x192')](_0x4cfc('0x1ea'),resizeHandler);window['removeEventListener'](_0x4cfc('0x1eb'),resizeEndHandler);};window[_0x4cfc('0x15')](_0x4cfc('0x1ea'),resizeHandler);window[_0x4cfc('0x15')]('mouseup',resizeEndHandler);}}[_0x4cfc('0x1ac')](e,selection){e[_0x4cfc('0x24')]();var items=[];var items=[{'title':_0x4cfc('0x255')+(selection&&this[_0x4cfc('0x1be')][_0x4cfc('0x1b')]>0x1?'s':''),'dataIndex':selection?0x1:0x0}];this['disposeContextMenu']();var b=DomUtils['getBounds'](e[_0x4cfc('0x1e2')],this[_0x4cfc('0x14f')]);this['contextMenu']=Dialogs[_0x4cfc('0x1e8')](items,b[_0x4cfc('0x1f1')](),this['contextMenuCallback'][_0x4cfc('0x90')](this),this['element'],this['theme']);}[_0x4cfc('0x1f2')](item){if(item){var model=this[_0x4cfc('0x12')];if(model){if(item[_0x4cfc('0x256')]==0x0){var row=this[_0x4cfc('0x14e')][_0x4cfc('0x13')];var meta=this[_0x4cfc('0x61')][_0x4cfc('0x71')](row,0x1);if(meta['get'](_0x4cfc('0x257'))==![])return;var nullValue=meta[_0x4cfc('0xd')](_0x4cfc('0x258'))?meta[_0x4cfc('0xf')](_0x4cfc('0x258')):null;StringType[_0x4cfc('0x19')](nullValue,this[_0x4cfc('0x151')](row,0x1),this);}if(item[_0x4cfc('0x256')]==0x1){var indices=this[_0x4cfc('0x1be')];indices['forEach'](row=>{var meta=this[_0x4cfc('0x61')]['cellMetaData'](row,0x1);if(meta[_0x4cfc('0xf')](_0x4cfc('0x257'))==![])return;var nullValue=meta[_0x4cfc('0xd')](_0x4cfc('0x258'))?meta[_0x4cfc('0xf')]('nullValue'):null;var element=null;if(this[_0x4cfc('0x14a')](row))element=this[_0x4cfc('0x151')](row,0x1);StringType[_0x4cfc('0x19')](nullValue,element,this,row,0x1);});}}this[_0x4cfc('0x1f0')]['dispose']();}this[_0x4cfc('0x1f0')]=null;}[_0x4cfc('0x1e6')](){if(this[_0x4cfc('0x1f0')]){this[_0x4cfc('0x1f0')][_0x4cfc('0x1f5')]();this['contextMenu']=null;}}[_0x4cfc('0x1ae')](e){var keys=[0x9,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28];if(keys['includes'](e[_0x4cfc('0x26')]))e[_0x4cfc('0x24')]();switch(e[_0x4cfc('0x26')]){case 0x9:{if(e[_0x4cfc('0x27')]==!![]){if(this['focusedItem']){if(this[_0x4cfc('0x1b5')])this[_0x4cfc('0x1f7')]();else this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]-0x1,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);}}else{if(this[_0x4cfc('0x1f6')]){if(this['allowCellSelect'])this[_0x4cfc('0x1fa')]();else this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')]['row']+0x1,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);}}break;}case 0x21:{if(this[_0x4cfc('0x1f6')]){if(this[_0x4cfc('0x1f6')]['row']-this['rowsCount']<=0x0)this[_0x4cfc('0x1c2')](0x0,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);else{this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')]['row']-this[_0x4cfc('0x1b1')],this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);this[_0x4cfc('0x1f8')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]);}}break;}case 0x22:{if(this[_0x4cfc('0x1f6')]){if(this['focusedItem'][_0x4cfc('0x13')]+this['rowsCount']>=this['lastRowIndex'])this['moveFocusedCell'](this[_0x4cfc('0x1f9')],this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);else{this['moveFocusedCell'](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]+this[_0x4cfc('0x1b1')],this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);this[_0x4cfc('0x1f8')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]);}}break;}case 0x23:{if(e['ctrlKey']==!![]){this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f9')],this[_0x4cfc('0x259')]);break;}if(this[_0x4cfc('0x1f6')]){this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')],this[_0x4cfc('0x259')]);}break;}case 0x24:{if(e[_0x4cfc('0x20')]==!![]){this[_0x4cfc('0x1c2')](0x0,this['firstFocusableColumn']);break;}if(this[_0x4cfc('0x14e')]){this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')]['row'],this[_0x4cfc('0x25a')]);}break;}case 0x25:{if(this['focusedItem']){if(this['allowCellSelect'])this['moveFocusedCellLeft']();else this['moveFocusedCell'](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]-0x1,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')]);}break;}case 0x27:{if(this[_0x4cfc('0x1f6')]){if(this[_0x4cfc('0x1b5')])this[_0x4cfc('0x1fa')]();else{if(this[_0x4cfc('0x1f6')]['row']<this[_0x4cfc('0x1f9')])this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')]['row']+0x1,this['focusedItem'][_0x4cfc('0x14')]);}}break;}case 0x26:{if(this['focusedItem']){if(e[_0x4cfc('0x20')]==!![]){this[_0x4cfc('0x1c2')](0x0,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')],!![]);break;}if(this['focusedItem']['row']>0x0)this['moveFocusedCell'](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]-0x1,this[_0x4cfc('0x1f6')][_0x4cfc('0x14')],!![]);}break;}case 0x28:{if(this[_0x4cfc('0x1f6')]){if(e[_0x4cfc('0x20')]==!![]){this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f9')],this[_0x4cfc('0x1f6')]['column']);break;}if(this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]<this[_0x4cfc('0x1f9')])this[_0x4cfc('0x1c2')](this[_0x4cfc('0x1f6')][_0x4cfc('0x13')]+0x1,this[_0x4cfc('0x1f6')]['column']);}break;}}if(this['focusedCell']){if(this['focusedCell']['column']==0x0){if(e[_0x4cfc('0x1f')][_0x4cfc('0xe3')](/^[\d\w]$/i)){this[_0x4cfc('0x237')]+=e[_0x4cfc('0x1f')];if(this[_0x4cfc('0x25b')])clearTimeout(this[_0x4cfc('0x25b')]);this[_0x4cfc('0x25b')]=setTimeout(function(){this['_searchString']='';}['bind'](this),0xc8);this[_0x4cfc('0x25c')](this['_searchString']);}}}}[_0x4cfc('0x25c')](searchString){var i=0x0;var row=0x0;if(this['focusedCell']){var d=this[_0x4cfc('0x61')][_0x4cfc('0x9d')](this[_0x4cfc('0x14e')]['row'],0x0)[_0x4cfc('0x25d')]();if(d[_0x4cfc('0x25e')](searchString))row=this['focusedCell']['row']+0x1;else row=this[_0x4cfc('0x14e')][_0x4cfc('0x13')];}while(i<this[_0x4cfc('0x61')][_0x4cfc('0x2d')]){if(row==this[_0x4cfc('0x61')][_0x4cfc('0x2d')]){row=0x0;}if(!this[_0x4cfc('0x107')](row)){var d=this[_0x4cfc('0x61')][_0x4cfc('0x9d')](row,0x0)[_0x4cfc('0x25d')]();if(d[_0x4cfc('0x25e')](searchString)){this[_0x4cfc('0x14e')]=new GridCell(this,row,0x0);if(this['isRepainting'])return;this[_0x4cfc('0x14e')]['focus']();return;}}i+=0x1;row+=0x1;}}[_0x4cfc('0x1b0')](e){var model=this[_0x4cfc('0x12')];if(e['ctrlKey']==!![]&&this['focusedCell']){if(e[_0x4cfc('0x26')]==0x21){e[_0x4cfc('0x24')]();this[_0x4cfc('0x1c2')](this['focusedCell']['row'],0x0);}else if(e[_0x4cfc('0x26')]==0x22){e['preventDefault']();this[_0x4cfc('0x1c2')](this[_0x4cfc('0x14e')][_0x4cfc('0x13')],model[_0x4cfc('0x100')]-0x1);}}}[_0x4cfc('0x1fb')](e){var row=parseInt(e[_0x4cfc('0x1e2')]['dataset'][_0x4cfc('0x13')]);if(!this[_0x4cfc('0x1b5')]){this[_0x4cfc('0x14e')]=null;this[_0x4cfc('0x1c3')](row);return;}if(this[_0x4cfc('0x14e')]&&e[_0x4cfc('0x1e2')]===this[_0x4cfc('0x14e')][_0x4cfc('0x14f')])return;this[_0x4cfc('0x14e')]=new GridCell(this,row,parseInt(e[_0x4cfc('0x1e2')][_0x4cfc('0xa')][_0x4cfc('0x14')]));this['focusedCell']['focus']();}['getNextFocusableRow'](row,back){if(!this[_0x4cfc('0x107')](row)){if(back){if(row>0x0)row--;else return null;}else{if(row<this[_0x4cfc('0x1f9')])row++;else return null;}}while(this[_0x4cfc('0x107')](row)){if(back){if(row>0x0)return--row;else return null;}else{if(row<this[_0x4cfc('0x1f9')])return++row;else return null;}}return row;}['getFocusableCell'](row,column,back){if(!this[_0x4cfc('0x12')])return null;var c;var count=this['effectiveModel'][_0x4cfc('0x100')];if(this[_0x4cfc('0x107')](row))row=this[_0x4cfc('0x25f')](row,back);while(!![]){if(column>=count){column=0x0;row=this['getNextFocusableRow'](row,back);}if(column<0x0){column=count-0x1;row=this[_0x4cfc('0x25f')](row,back);}if(this[_0x4cfc('0x12')][_0x4cfc('0xff')](column)&&!this[_0x4cfc('0x12')][_0x4cfc('0x98')](column)&&!this[_0x4cfc('0x260')](row,column)){c=column;break;}back?column--:column++;}if(row!=null&&c!=null){var nc={'row':row,'column':c};if(row>-0x1&&row<=this['lastRowIndex'])return nc;}return null;}[_0x4cfc('0x1c2')](row,column,back){if(this[_0x4cfc('0x1b5')]){var newCell=this[_0x4cfc('0x1fc')](row,column,back);if(newCell){this['focusedCell']=new GridCell(this,newCell[_0x4cfc('0x13')],newCell['column']);if(this['isRepainting']){return;}this[_0x4cfc('0x14e')][_0x4cfc('0x15f')]();}}else{if(this['isRepainting'])this[_0x4cfc('0x1c3')](row);else this[_0x4cfc('0x200')](row)[_0x4cfc('0x1fd')](()=>{this[_0x4cfc('0x1c3')](row);});}}['moveFocusedCellLeft'](){if(this[_0x4cfc('0x14e')])this[_0x4cfc('0x1c2')](this[_0x4cfc('0x14e')][_0x4cfc('0x13')],this[_0x4cfc('0x14e')][_0x4cfc('0x14')]-0x1,!![]);}['moveFocusedCellRight'](){if(this[_0x4cfc('0x14e')])this[_0x4cfc('0x1c2')](this[_0x4cfc('0x14e')]['row'],this[_0x4cfc('0x14e')][_0x4cfc('0x14')]+0x1);}get[_0x4cfc('0x1f6')](){if(this[_0x4cfc('0x14e')])return this[_0x4cfc('0x14e')];if(this['selectedRowIndices'][_0x4cfc('0x1b')])return{'row':this[_0x4cfc('0x1be')][0x0],'column':0x0};return null;}get[_0x4cfc('0x25a')](){return 0x1;}get[_0x4cfc('0x259')](){return 0x1;}[_0x4cfc('0x151')](row,column){var c=this['visibleCells'][column][_0x4cfc('0x168')](c=>{return+c['dataset'][_0x4cfc('0x13')]==row;});return c;}[_0x4cfc('0x1fe')](row){return this[_0x4cfc('0xcd')][row-this['scrollRow']];}[_0x4cfc('0x14a')](row){return this[_0x4cfc('0x151')](row,0x1)!=undefined;}[_0x4cfc('0x157')](row,column){return this[_0x4cfc('0x14a')](row);}[_0x4cfc('0x160')](row){var relRow=Math[_0x4cfc('0x1ff')](this[_0x4cfc('0x130')]-row);if(!this['isRowVisible'](row)){this['isRepainting']=!![];if(relRow==0x1){this['scrollToRow'](row);}else{this[_0x4cfc('0x1f8')](row-this[_0x4cfc('0x1b1')]+0x1);}}this['scrollFix'](Math[_0x4cfc('0x1ff')](this[_0x4cfc('0x130')]-row));}async[_0x4cfc('0x200')](row){return new Promise(function(resolve,reject){var relRow=Math['abs'](this[_0x4cfc('0x130')]-row);if(!this['isRowVisible'](row)){this[_0x4cfc('0x121')]=!![];if(relRow==0x1){this[_0x4cfc('0x1f8')](row);}else{this[_0x4cfc('0x1f8')](row-this[_0x4cfc('0x1b1')]+0x1);}}if(this[_0x4cfc('0x121')]){DomUtils[_0x4cfc('0x1c0')](()=>{return this['isRepainting']==![];},()=>{this[_0x4cfc('0x1b4')](Math['abs'](this['scrollRow']-row));resolve();});}else{resolve();}}[_0x4cfc('0x90')](this));}['scrollFix'](row){if(row!=0x0&&row!=this[_0x4cfc('0x1b1')]-0x1)return;if(row==0x0)this[_0x4cfc('0x11a')][_0x4cfc('0xc8')][_0x4cfc('0x201')]='';if(row==this[_0x4cfc('0x1b1')]-0x1){var b=DomUtils['getBounds'](this['visibleRows'][row]);if(b[_0x4cfc('0x261')]()>this[_0x4cfc('0x135')]){this['dataTable']['style'][_0x4cfc('0x201')]='translateY(-'+this[_0x4cfc('0x203')]+_0x4cfc('0x262');}else this['dataTable']['style']['transform']='';}}[_0x4cfc('0x107')](row){if(this[_0x4cfc('0x12')]instanceof ProxyModel)return this['effectiveModel'][_0x4cfc('0x107')](row);return![];}[_0x4cfc('0x1f8')](row){this[_0x4cfc('0x18f')]['scrollTop']=row*this[_0x4cfc('0x1ce')];}get[_0x4cfc('0x14e')](){return this[_0x4cfc('0x170')];}set[_0x4cfc('0x14e')](value){if(this['_focusedCell']==value)return;this[_0x4cfc('0x170')]=value;}[_0x4cfc('0x162')](){if(this[_0x4cfc('0x204')]!=null){var element=this[_0x4cfc('0x204')]['element']||this[_0x4cfc('0x204')];DomUtils[_0x4cfc('0x140')](element[_0x4cfc('0xee')][_0x4cfc('0x3b')],_0x4cfc('0x12b'),![]);if(this[_0x4cfc('0x204')][_0x4cfc('0x1f5')]){if(this[_0x4cfc('0x204')][_0x4cfc('0x205')])this['_activeEditor'][_0x4cfc('0x205')]();this['_activeEditor'][_0x4cfc('0x1f5')]();}else{this[_0x4cfc('0x204')][_0x4cfc('0x206')]();DomUtils[_0x4cfc('0x207')](this['_activeEditor']);}}this['_activeEditor']=null;}get[_0x4cfc('0x163')](){return this['_activeEditor'];}set['activeEditor'](value){this[_0x4cfc('0x162')]();this['_activeEditor']=value;if(this['_activeEditor']){var element=this[_0x4cfc('0x204')][_0x4cfc('0x14f')]||this['_activeEditor'];if(element['nodeName']!=_0x4cfc('0x263'))DomUtils[_0x4cfc('0x140')](element[_0x4cfc('0xee')][_0x4cfc('0x3b')],_0x4cfc('0x12b'),!![]);element[_0x4cfc('0x15f')]();}}get[_0x4cfc('0x1f9')](){return this[_0x4cfc('0x12')][_0x4cfc('0x2d')]-0x1;}get['contentHeight'](){var header=this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x1a1'));var h=DomUtils['getBounds'](header);return this['_element'][_0x4cfc('0x158')](_0x4cfc('0x198'))[_0x4cfc('0x209')]-h[_0x4cfc('0x134')];}get['contentClientHeight'](){var header=this[_0x4cfc('0x18b')][_0x4cfc('0x158')](_0x4cfc('0x1a1'));var h=DomUtils['getBounds'](header);return this[_0x4cfc('0x18b')]['querySelector']('.mfdv-grid-content-wrapper')[_0x4cfc('0x264')]-h[_0x4cfc('0x134')];}get['parent'](){return this['_parent'];}[_0x4cfc('0x240')](column){if(this[_0x4cfc('0x1d0')])return this[_0x4cfc('0x1d0')][column];return null;}['setColumnWidth'](width){if(!this['header']||width==null)return;var w=this[_0x4cfc('0x18b')][_0x4cfc('0xee')]['parentNode']['parentNode'][_0x4cfc('0x265')]-this[_0x4cfc('0x127')]*0x2-0x2;width=Math[_0x4cfc('0x1ed')](0x0,width);width=Math[_0x4cfc('0x23f')](w-this[_0x4cfc('0x127')],width);var cells=[...this[_0x4cfc('0x18b')]['querySelectorAll'](_0x4cfc('0x266'))];for(var cell of cells)cell['style'][_0x4cfc('0x13b')]=width+'px';var cells=[...this['_element'][_0x4cfc('0x14c')](_0x4cfc('0x267'))];for(var cell of cells)cell['style'][_0x4cfc('0x13b')]=w-width+'px';this[_0x4cfc('0x1d0')][0x0]=width;this[_0x4cfc('0x1d0')][0x1]=w-width;}['setRowSelection'](value){this[_0x4cfc('0x162')]();var s=[];for(var i=0x0;i<value[_0x4cfc('0x1b')];i++){var row=this['getKeyRow'](value[i]);if(this[_0x4cfc('0x1c7')](row,RowAction['Select'])){s[_0x4cfc('0x78')](value[i]);this[_0x4cfc('0x131')](row,RowAction[_0x4cfc('0x20b')]);}}this['selection'][_0x4cfc('0x13f')]=s;}[_0x4cfc('0x92')](key){if(this[_0x4cfc('0x12')])return this[_0x4cfc('0x12')][_0x4cfc('0x92')](key);return-0x1;}[_0x4cfc('0x91')](index){if(this[_0x4cfc('0x12')])return this[_0x4cfc('0x12')][_0x4cfc('0x91')](index);return null;}[_0x4cfc('0x20c')](){this[_0x4cfc('0x19d')]();}[_0x4cfc('0x19d')](){if(this[_0x4cfc('0x1d6')]){if(this[_0x4cfc('0x12')]){this[_0x4cfc('0x19c')]();this[_0x4cfc('0x1bd')]();}}}[_0x4cfc('0x18a')](e){if(!this[_0x4cfc('0x268')]||!this[_0x4cfc('0x1d6')]||!this[_0x4cfc('0x1db')])return;var currentPoint=DomUtils[_0x4cfc('0x20d')](e);var bounds=this['bounds'];if(bounds['containsPoint'](currentPoint)){var timeNow=new Date()[_0x4cfc('0xe1')]();e['preventDefault']();var delta=parseInt(e[_0x4cfc('0x210')]||-e[_0x4cfc('0x211')]);if(timeNow-this[_0x4cfc('0x212')]<0x64){this[_0x4cfc('0x212')]=timeNow;return;}else{this['timeStamp']=timeNow;var scrollDelta=this[_0x4cfc('0x1ce')]*(delta>0x0?-0x1:0x1);this[_0x4cfc('0x18f')]['scrollTop']+=scrollDelta;}}}[_0x4cfc('0x1c7')](row,action,rowData,oldValues,newValues){var rowData=rowData||this['model'][_0x4cfc('0x31')](row);var args=new RowModifyingEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction['Load']:this[_0x4cfc('0x177')]['raiseEvent'](this,args);break;case RowAction[_0x4cfc('0x20b')]:this[_0x4cfc('0x215')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x269')]:this[_0x4cfc('0x23b')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x1c8')]:this[_0x4cfc('0x179')][_0x4cfc('0x174')](this,args);break;case RowAction['Update']:this[_0x4cfc('0x17d')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0xca')]:this[_0x4cfc('0x17b')]['raiseEvent'](this,args);break;}return!args['cancel'];}[_0x4cfc('0x131')](row,action,rowData,oldValues,newValues){if(this[_0x4cfc('0x12')]){if(rowData==null&&action!=RowAction[_0x4cfc('0xca')])rowData=this[_0x4cfc('0x12')][_0x4cfc('0x31')](row);var args=new RowModifiedEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction[_0x4cfc('0xc5')]:this['onRowRender'](row);break;case RowAction[_0x4cfc('0x20b')]:this[_0x4cfc('0x17f')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x269')]:this[_0x4cfc('0x23c')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x1c8')]:this[_0x4cfc('0x17a')][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0x32')]:this[_0x4cfc('0x248')][rowData[_0x4cfc('0x8e')]]=newValues[_0x4cfc('0xf')](_0x4cfc('0x10'));this['_rowUpdated'][_0x4cfc('0x174')](this,args);break;case RowAction[_0x4cfc('0xca')]:this['_rowDeleted'][_0x4cfc('0x174')](this,args);break;}}}['onCellAction'](row,column){if(this[_0x4cfc('0x1c7')](row,RowAction[_0x4cfc('0x269')])){this[_0x4cfc('0x131')](row,RowAction['Expand']);}}get['columnSorted'](){return this[_0x4cfc('0x239')];}get[_0x4cfc('0x253')](){return this['_groupingChanged'];}get[_0x4cfc('0x26a')](){return this[_0x4cfc('0x177')];}get[_0x4cfc('0x219')](){return this[_0x4cfc('0x178')];}get[_0x4cfc('0x21a')](){return this[_0x4cfc('0x215')];}get[_0x4cfc('0x21b')](){return this[_0x4cfc('0x17f')];}get['rowExpanding'](){return this[_0x4cfc('0x23b')];}get['rowExpanded'](){return this[_0x4cfc('0x23c')];}get['rowCreating'](){return this[_0x4cfc('0x179')];}get[_0x4cfc('0x21d')](){return this['_rowCreated'];}get[_0x4cfc('0x21e')](){return this[_0x4cfc('0x17b')];}get['rowDeleted'](){return this[_0x4cfc('0x17c')];}get['rowUpdating'](){return this[_0x4cfc('0x17d')];}get[_0x4cfc('0x26b')](){return this[_0x4cfc('0x17e')];}get['cellSelecting'](){return this[_0x4cfc('0x180')];}['onCellSelecting'](cell){var args=new CellValidateEventArgs(cell[_0x4cfc('0x13')],cell[_0x4cfc('0x14')]);this['_cellSelecting']['raiseEvent'](this,args);return!args[_0x4cfc('0x216')];}get[_0x4cfc('0x222')](){return this[_0x4cfc('0x181')];}[_0x4cfc('0x165')](cell){var args=new CellEventArgs(cell[_0x4cfc('0x13')],cell[_0x4cfc('0x14')]);this[_0x4cfc('0x181')][_0x4cfc('0x174')](this,args);}['onCellFocusing'](cell){var meta=this[_0x4cfc('0x61')][_0x4cfc('0x71')](cell[_0x4cfc('0x13')],cell[_0x4cfc('0x14')]);if(meta[_0x4cfc('0xf')]('readonly'))return![];return!![];}[_0x4cfc('0x164')](){}[_0x4cfc('0x26c')](row){if(this[_0x4cfc('0x260')](row,0x1)){this['getRowElement'](row)[_0x4cfc('0xf1')][_0x4cfc('0xf2')]('mfc-readonly');}}[_0x4cfc('0x260')](row,column){var meta=this[_0x4cfc('0x61')][_0x4cfc('0x71')](row,column);return meta[_0x4cfc('0xf')](_0x4cfc('0x24e'))==!![];}[_0x4cfc('0x12d')](row,column,defaultContent){return defaultContent;}[_0x4cfc('0x39')](row,column,defaultContent){return defaultContent;}}class PropertyGridPage extends ListItem{constructor(propertyName,index,obj,meta,main){super();this[_0x4cfc('0x26d')]=![];this['_propertyName']=propertyName;this['_propertyIndex']=index;this[_0x4cfc('0x249')]=obj;var content=new PropertyGridContent(obj);var headers=[];var footers=[];this['_mainPage']=main;this[_0x4cfc('0x26e')]=meta['get'](_0x4cfc('0x7b'))==CollectionType;if(main){var h=new ToolStripItem(ToolStripItemType[_0x4cfc('0x26f')]);h[_0x4cfc('0x270')]=new Unit(0xa);h['tooltip']='Group\x20By\x20Category';h[_0x4cfc('0x256')]=-0x1;h[_0x4cfc('0x45')]=_0x4cfc('0x271');headers[_0x4cfc('0x78')](h);var h=new ToolStripItem(ToolStripItemType[_0x4cfc('0x26f')]);h[_0x4cfc('0x270')]=new Unit(0xa);h[_0x4cfc('0x272')]=_0x4cfc('0x273');h[_0x4cfc('0x256')]=0x0;h[_0x4cfc('0x45')]=_0x4cfc('0x274');headers[_0x4cfc('0x78')](h);}else{footers['push'](new ToolStripItem(ToolStripItemType[_0x4cfc('0x275')]));}if(this[_0x4cfc('0x26e')]){content['allowDelete']=!![];content[_0x4cfc('0x235')][_0x4cfc('0x78')](_0x4cfc('0x1b'));content[_0x4cfc('0x243')]=this[_0x4cfc('0x26e')];if(meta['get']('allowAdd')!=![]){var item=new ToolStripItem(ToolStripItemType[_0x4cfc('0x275')],_0x4cfc('0x276'));item['dataIndex']=0x1;headers[_0x4cfc('0x78')](item);}if(meta[_0x4cfc('0xf')](_0x4cfc('0x277'))!=![]){item=new ToolStripItem(ToolStripItemType[_0x4cfc('0x275')],_0x4cfc('0x278'));item[_0x4cfc('0x256')]=0x2;headers[_0x4cfc('0x78')](item);}}this[_0x4cfc('0xb5')]=content;this[_0x4cfc('0x279')]=headers;this['footers']=footers;}['detach'](){this[_0x4cfc('0xb5')][_0x4cfc('0x18e')]();super['detach']();}['attach'](){this['content'][_0x4cfc('0x4f')]();super['attach']();}[_0x4cfc('0x4e')](){var b=document[_0x4cfc('0x6')]('li');DomUtils[_0x4cfc('0x1b8')](b,_0x4cfc('0x27a'));if(this[_0x4cfc('0x45')])DomUtils[_0x4cfc('0x1b8')](b,this['cssClass']);var c=document[_0x4cfc('0x6')](_0x4cfc('0xf0'));DomUtils['addCssClass'](c,'mfc-tabpage-content');c['appendChild'](this['content'][_0x4cfc('0x4e')]());b[_0x4cfc('0x2b')](c);this['_element']=b;DomUtils[_0x4cfc('0x140')](this[_0x4cfc('0x18b')],_0x4cfc('0x12b'),!this['visible']);DomUtils[_0x4cfc('0x140')](this['_element'],'mfc-disabled',!this[_0x4cfc('0x268')]);DomUtils[_0x4cfc('0x140')](this[_0x4cfc('0x18b')],_0x4cfc('0x27b'),this[_0x4cfc('0x152')]);return b;}[_0x4cfc('0x27c')](name,oldValue,newValue){if(name===_0x4cfc('0x27d')){if(!this[_0x4cfc('0x27e')])this[_0x4cfc('0x279')]['forEach'](h=>h[_0x4cfc('0x27d')]=newValue);if(newValue){if(this['content']['loaded']){this['content'][_0x4cfc('0x1b2')]=!![];this['content'][_0x4cfc('0x120')]();this[_0x4cfc('0xb5')][_0x4cfc('0x19d')]();}}}super[_0x4cfc('0x27c')](name,oldValue,newValue);}}var css_248z=_0x4cfc('0x27f');styleInject(css_248z);class PropertyGrid extends ListContainer{constructor(element){super(element);this['_defaultWidth']=Unit[_0x4cfc('0x280')](0x190);this[_0x4cfc('0x16a')]=Unit[_0x4cfc('0x169')](0x64);this['header']=new ToolStrip();this[_0x4cfc('0x18d')][_0x4cfc('0x15e')]=this;this[_0x4cfc('0x18d')][_0x4cfc('0x281')]=![];this[_0x4cfc('0x18d')][_0x4cfc('0x134')]=new Unit(0x1e);this[_0x4cfc('0x18d')][_0x4cfc('0x13b')]=Unit[_0x4cfc('0x282')]();this[_0x4cfc('0x18d')][_0x4cfc('0x283')]=Unit[_0x4cfc('0x282')]();this['header'][_0x4cfc('0x45')]=_0x4cfc('0x284');this[_0x4cfc('0x285')]=new ToolStrip();this[_0x4cfc('0x285')][_0x4cfc('0x15e')]=this;this[_0x4cfc('0x285')][_0x4cfc('0x281')]=![];this[_0x4cfc('0x285')]['allowMultipleSelection']=![];this[_0x4cfc('0x285')][_0x4cfc('0x134')]=new Unit(0x1e);this[_0x4cfc('0x285')][_0x4cfc('0x13b')]=Unit[_0x4cfc('0x282')]();this[_0x4cfc('0x285')]['tabMaxSize']=Unit['empty']();this['footer'][_0x4cfc('0x45')]=_0x4cfc('0x286');this[_0x4cfc('0x22f')]=new Map();this[_0x4cfc('0xfb')]=!![];this[_0x4cfc('0x287')]=!![];this['_showAllProperties']=!![];this[_0x4cfc('0x288')]=!![];this['_editReadonlyProperties']=![];this['_defaultCategoryName']=_0x4cfc('0x289');this[_0x4cfc('0x28a')]='';this[_0x4cfc('0x28b')]=-0x1;this[_0x4cfc('0x177')]=new EventDispatcher();this['_rowRendered']=new EventDispatcher();this[_0x4cfc('0x28c')]=new EventDispatcher();this['_currentObjectChanged']=new EventDispatcher();this[_0x4cfc('0x28d')]=new EventDispatcher();this['_propertyValueChanged']=new EventDispatcher();this[_0x4cfc('0x186')]=new EventDispatcher();this[_0x4cfc('0x188')]=new EventDispatcher();this[_0x4cfc('0x28e')]=(sender,args)=>{this[_0x4cfc('0x28f')](sender,args);};this[_0x4cfc('0x290')]=(sender,args)=>{this[_0x4cfc('0x291')](sender,args);};this[_0x4cfc('0x292')]=(sender,args)=>{this['onRowValidateAction'](sender,args);};this[_0x4cfc('0x293')]=(sender,args)=>{this[_0x4cfc('0x131')](sender,args);};this[_0x4cfc('0x294')]=(sender,args)=>{this['onCellSelect'](sender,args);};this['_sortedHandler']=(sender,args)=>{this[_0x4cfc('0xd6')](sender,args);};}[_0x4cfc('0x295')](){if(!this[_0x4cfc('0x296')]['content']){this[_0x4cfc('0x296')][_0x4cfc('0xb5')]=this[_0x4cfc('0x297')]()[_0x4cfc('0x158')]('ul.mfc-content');}return this[_0x4cfc('0x296')][_0x4cfc('0xb5')];}[_0x4cfc('0x298')](item,index){item[_0x4cfc('0xb5')][_0x4cfc('0x46')]=this[_0x4cfc('0x46')];item[_0x4cfc('0xb5')][_0x4cfc('0x167')]=this;item[_0x4cfc('0xb5')]['_columnSorted']['addEventListener'](this[_0x4cfc('0x299')]);item['content'][_0x4cfc('0x23a')][_0x4cfc('0x15')](this[_0x4cfc('0x299')]);item[_0x4cfc('0xb5')]['_rowExpanding'][_0x4cfc('0x15')](this[_0x4cfc('0x292')]);item[_0x4cfc('0xb5')][_0x4cfc('0x23c')][_0x4cfc('0x15')](this['_rowActionHandler']);item[_0x4cfc('0xb5')][_0x4cfc('0x177')]['addEventListener'](this[_0x4cfc('0x292')]);item[_0x4cfc('0xb5')][_0x4cfc('0x178')][_0x4cfc('0x15')](this['_rowActionHandler']);item[_0x4cfc('0xb5')][_0x4cfc('0x179')][_0x4cfc('0x15')](this[_0x4cfc('0x292')]);item[_0x4cfc('0xb5')][_0x4cfc('0x17a')]['addEventListener'](this[_0x4cfc('0x293')]);item['content'][_0x4cfc('0x17d')][_0x4cfc('0x15')](this[_0x4cfc('0x292')]);item['content'][_0x4cfc('0x17e')]['addEventListener'](this[_0x4cfc('0x293')]);item[_0x4cfc('0xb5')]['_rowDeleting'][_0x4cfc('0x15')](this[_0x4cfc('0x292')]);item[_0x4cfc('0xb5')][_0x4cfc('0x17c')]['addEventListener'](this[_0x4cfc('0x293')]);item['content'][_0x4cfc('0x181')]['addEventListener'](this['_cellSelectHandler']);}[_0x4cfc('0x29a')](item){item[_0x4cfc('0xb5')][_0x4cfc('0x239')]['removeEventListener'](this[_0x4cfc('0x299')]);item[_0x4cfc('0xb5')][_0x4cfc('0x23a')][_0x4cfc('0x192')](this[_0x4cfc('0x299')]);item[_0x4cfc('0xb5')][_0x4cfc('0x23b')][_0x4cfc('0x192')](this[_0x4cfc('0x292')]);item['content']['_rowExpanded'][_0x4cfc('0x192')](this['_rowActionHandler']);item[_0x4cfc('0xb5')][_0x4cfc('0x177')][_0x4cfc('0x192')](this[_0x4cfc('0x292')]);item[_0x4cfc('0xb5')][_0x4cfc('0x178')][_0x4cfc('0x192')](this['_rowActionHandler']);item['content']['_rowCreating'][_0x4cfc('0x192')](this[_0x4cfc('0x292')]);item[_0x4cfc('0xb5')][_0x4cfc('0x17a')][_0x4cfc('0x192')](this[_0x4cfc('0x293')]);item[_0x4cfc('0xb5')][_0x4cfc('0x17d')][_0x4cfc('0x192')](this['_rowValidateActionHandler']);item[_0x4cfc('0xb5')][_0x4cfc('0x17e')][_0x4cfc('0x192')](this[_0x4cfc('0x293')]);item[_0x4cfc('0xb5')]['_rowDeleting'][_0x4cfc('0x192')](this['_rowValidateActionHandler']);item[_0x4cfc('0xb5')][_0x4cfc('0x17c')][_0x4cfc('0x192')](this[_0x4cfc('0x293')]);item[_0x4cfc('0xb5')][_0x4cfc('0x181')]['removeEventListener'](this[_0x4cfc('0x294')]);super[_0x4cfc('0x29a')](item);}[_0x4cfc('0x29b')](item){super['attachItem'](item);item[_0x4cfc('0xb5')][_0x4cfc('0x1cd')](0x0,this[_0x4cfc('0xfb')]);if(this['_grouped'])item[_0x4cfc('0xb5')][_0x4cfc('0x29c')](0x2);}[_0x4cfc('0x18e')](){this[_0x4cfc('0x18d')][_0x4cfc('0x29d')][_0x4cfc('0x192')](this[_0x4cfc('0x28e')]);this[_0x4cfc('0x18d')][_0x4cfc('0x18e')]();this['footer'][_0x4cfc('0x29d')][_0x4cfc('0x192')](this[_0x4cfc('0x290')]);this[_0x4cfc('0x285')]['detach']();super[_0x4cfc('0x18e')]();}[_0x4cfc('0x4f')](){this[_0x4cfc('0x18d')][_0x4cfc('0x29d')][_0x4cfc('0x15')](this['_headerButtonClick']);this['header'][_0x4cfc('0x4f')]();this['footer'][_0x4cfc('0x29d')][_0x4cfc('0x15')](this[_0x4cfc('0x290')]);this[_0x4cfc('0x285')][_0x4cfc('0x4f')]();this[_0x4cfc('0x298')](this[_0x4cfc('0x29e')]);super[_0x4cfc('0x4f')]();}[_0x4cfc('0x4e')](){super[_0x4cfc('0x4e')]();DomUtils[_0x4cfc('0x1b8')](this['_element'],_0x4cfc('0x29f'));DomUtils[_0x4cfc('0x1b8')](this[_0x4cfc('0x18b')],'mfc-tabcontrol');DomUtils[_0x4cfc('0x1b8')](this[_0x4cfc('0x18b')],_0x4cfc('0x2a0'));this['_element'][_0x4cfc('0x2b')](this[_0x4cfc('0x18d')]['draw']());var content=document[_0x4cfc('0x6')]('ul');DomUtils['addCssClass'](content,_0x4cfc('0x2a1'));this[_0x4cfc('0x18b')][_0x4cfc('0x2b')](content);for(var i=0x0,l=this[_0x4cfc('0x2a2')][_0x4cfc('0x2a3')]();i<l;i++){content[_0x4cfc('0x2b')](this[_0x4cfc('0x2a2')][_0x4cfc('0x2a2')]()[i][_0x4cfc('0x4e')]());}this[_0x4cfc('0x18b')][_0x4cfc('0x2b')](this[_0x4cfc('0x285')][_0x4cfc('0x4e')]());return this[_0x4cfc('0x18b')];}[_0x4cfc('0x2a4')](item,index){super[_0x4cfc('0x2a4')](item,index);if(item[_0x4cfc('0x279')])this[_0x4cfc('0x18d')]['items'][_0x4cfc('0x2a5')](index,item['headers']);if(item[_0x4cfc('0x2a6')])this[_0x4cfc('0x285')][_0x4cfc('0x2a2')][_0x4cfc('0x2a5')](index,item['footers']);this[_0x4cfc('0x29e')]=item;this['selectedItem'][_0x4cfc('0xb5')][_0x4cfc('0x1c1')](0x0,0x0);}[_0x4cfc('0x2a7')](item,index){if(item[_0x4cfc('0x279')][_0x4cfc('0x1b')])this[_0x4cfc('0x18d')][_0x4cfc('0x2a2')][_0x4cfc('0x2a8')](this[_0x4cfc('0x18d')]['items'][_0x4cfc('0x2a9')](item[_0x4cfc('0x279')][0x0]),item[_0x4cfc('0x279')]['length']);if(item['footers'][_0x4cfc('0x1b')])this[_0x4cfc('0x285')][_0x4cfc('0x2a2')][_0x4cfc('0x2a8')](this['footer'][_0x4cfc('0x2a2')][_0x4cfc('0x2a9')](item[_0x4cfc('0x2a6')][0x0]),item[_0x4cfc('0x2a6')][_0x4cfc('0x1b')]);super['removeItem'](item,index);this[_0x4cfc('0x29e')]=this[_0x4cfc('0x2aa')](index);this['selectedItem'][_0x4cfc('0xb5')][_0x4cfc('0x1c1')](0x0,0x0);}[_0x4cfc('0x2aa')](index){if(index==undefined)index=this[_0x4cfc('0x2a2')]['count']()-0x1;var tab=this[_0x4cfc('0x2a2')][_0x4cfc('0x2ab')](t=>t['enabled']&&this['items']['indexOfItem'](t)<=index)[_0x4cfc('0x2ac')]();return tab;}['rebind'](){this[_0x4cfc('0x29e')]['content'][_0x4cfc('0x248')]=this[_0x4cfc('0x29e')][_0x4cfc('0xb5')][_0x4cfc('0x249')];}async[_0x4cfc('0x2ad')](propertyName,index){if(index!=undefined){index=index[_0x4cfc('0x6f')]();return new Promise(function(resolve,reject){var row=this[_0x4cfc('0x29e')][_0x4cfc('0xb5')][_0x4cfc('0x61')][_0x4cfc('0x92')](index);if(row!=-0x1){this[_0x4cfc('0x28b')]=index;this[_0x4cfc('0x29e')][_0x4cfc('0xb5')]['onCellAction'](row,0x1);resolve(row);}else reject(new Error(_0x4cfc('0x2ae')));}['bind'](this));}else if(propertyName){return new Promise(function(resolve,reject){var row=this[_0x4cfc('0x29e')][_0x4cfc('0xb5')][_0x4cfc('0x61')][_0x4cfc('0x92')](propertyName);if(row!=-0x1){this[_0x4cfc('0x28a')]=propertyName;this['selectedItem'][_0x4cfc('0xb5')][_0x4cfc('0x2af')](row,0x1);resolve(row);}else reject(new Error(_0x4cfc('0x2b0')));}[_0x4cfc('0x90')](this));}}['collapseProperty'](propertyName,index){var item;if(index!=undefined)item=this[_0x4cfc('0x2a2')][_0x4cfc('0x2ab')](x=>x[_0x4cfc('0xbd')]==propertyName&&x[_0x4cfc('0x2b1')]==index)['first']();else item=this['items'][_0x4cfc('0x2ab')](x=>x[_0x4cfc('0xbd')]==propertyName)['first']();if(item){this[_0x4cfc('0x2b2')](item);}}[_0x4cfc('0x2b2')](item){var a=new PropertyEventArgs(RowAction[_0x4cfc('0x2b3')],this[_0x4cfc('0x2b4')],this[_0x4cfc('0x2b5')],item[_0x4cfc('0x249')],undefined,undefined,this[_0x4cfc('0x9a')][_0x4cfc('0xf')](item[_0x4cfc('0xbd')]));this['currentObjectChanging'][_0x4cfc('0x174')](this,a);if(!a[_0x4cfc('0x216')]){this[_0x4cfc('0x2a2')][_0x4cfc('0x2a8')](this[_0x4cfc('0x2a2')]['indexOfItem'](item),this[_0x4cfc('0x2a2')][_0x4cfc('0x2a3')]()-this['items'][_0x4cfc('0x2a9')](item));var item=this[_0x4cfc('0x29e')];var a=new PropertyEventArgs(RowAction[_0x4cfc('0x269')],this[_0x4cfc('0x2b4')],this['currentIndex'],item['_selectedObject'],undefined,undefined,item['_propertyName']==_0x4cfc('0x2b6')?this[_0x4cfc('0x9a')]:this['metaData'][_0x4cfc('0xf')](item[_0x4cfc('0xbd')]));this[_0x4cfc('0x2b7')][_0x4cfc('0x174')](this,a);}}get[_0x4cfc('0x248')](){return this[_0x4cfc('0x249')];}set['selectedObject'](value){this['items']['clear']();this[_0x4cfc('0x249')]=value;var item=new PropertyGridPage(_0x4cfc('0x2b6'),-0x1,value,new Map(Object[_0x4cfc('0x1c6')](this['metaData']['get'](_0x4cfc('0x2b6'))||{})),!![]);this[_0x4cfc('0x2a2')][_0x4cfc('0xf2')](item);this[_0x4cfc('0x29e')]=item;}get['currentObject'](){return this[_0x4cfc('0x29e')][_0x4cfc('0x249')];}get[_0x4cfc('0x2b4')](){return this[_0x4cfc('0x28a')];}get['currentIndex'](){return this['_currentIndex'];}get['metaData'](){return this[_0x4cfc('0x22f')];}set[_0x4cfc('0x9a')](value){this['_metaData']=value;}get[_0x4cfc('0x24a')](){return this[_0x4cfc('0x2b8')];}set[_0x4cfc('0x24a')](value){this[_0x4cfc('0x2b8')]=value;}get[_0x4cfc('0x24d')](){return this[_0x4cfc('0x288')];}set[_0x4cfc('0x24d')](value){this[_0x4cfc('0x288')]=value;}get[_0x4cfc('0x24b')](){return this[_0x4cfc('0x2b9')];}set[_0x4cfc('0x24b')](value){this[_0x4cfc('0x2b9')]=value;}get[_0x4cfc('0x251')](){return this['_allowEdit'];}set[_0x4cfc('0x251')](value){if(this[_0x4cfc('0x16c')]!=value){this[_0x4cfc('0x16c')]=value;}}get[_0x4cfc('0x1b5')](){return this[_0x4cfc('0x16e')];}set[_0x4cfc('0x1b5')](value){if(this[_0x4cfc('0x16e')]!=value){this[_0x4cfc('0x16e')]=value;}}get[_0x4cfc('0x1db')](){return this[_0x4cfc('0x16f')];}set[_0x4cfc('0x1db')](value){if(this[_0x4cfc('0x16f')]!=value){this[_0x4cfc('0x16f')]=value;}}get[_0x4cfc('0x29e')](){return this[_0x4cfc('0x2ba')];}set[_0x4cfc('0x29e')](value){if(value){if(!value['enabled'])return;for(var i=0x0,l=this[_0x4cfc('0x2a2')]['count']();i<l;i++){this[_0x4cfc('0x2a2')][_0x4cfc('0x2bb')][i][_0x4cfc('0x27d')]=![];}this[_0x4cfc('0x2ba')]=value;this[_0x4cfc('0x2ba')][_0x4cfc('0x27d')]=!![];this['items'][_0x4cfc('0x2bc')]()[_0x4cfc('0x279')][0x0]['visible']=!this[_0x4cfc('0x2ba')][_0x4cfc('0x26e')];if(this[_0x4cfc('0x2ba')][_0x4cfc('0x2a6')]['length']){this[_0x4cfc('0x285')][_0x4cfc('0x200')](this[_0x4cfc('0x2ba')][_0x4cfc('0x2a6')][0x0]);this[_0x4cfc('0x285')][_0x4cfc('0x2bd')](this[_0x4cfc('0x2ba')][_0x4cfc('0x2a6')][0x0]);}}}get[_0x4cfc('0x281')](){return![];}set[_0x4cfc('0x281')](value){}get[_0x4cfc('0x2be')](){return![];}set['allowDrop'](value){}get[_0x4cfc('0x2bf')](){return null;}set[_0x4cfc('0x2bf')](value){}get[_0x4cfc('0x26a')](){return this[_0x4cfc('0x177')];}get[_0x4cfc('0x219')](){return this[_0x4cfc('0x178')];}get[_0x4cfc('0x2c0')](){return this[_0x4cfc('0x28c')];}get['currentObjectChanged'](){return this['_currentObjectChanged'];}get['propertyValueChanging'](){return this[_0x4cfc('0x28d')];}get[_0x4cfc('0x2c1')](){return this[_0x4cfc('0x2c2')];}['onHeaderButtonClick'](sender,args){if(!args[_0x4cfc('0x2c3')][_0x4cfc('0x268')])return;if(args[_0x4cfc('0x2c3')][_0x4cfc('0x256')]==-0x1){this[_0x4cfc('0x2a2')]['forEach'](item=>{item[_0x4cfc('0xb5')][_0x4cfc('0x29c')](this['_grouped']?null:0x2);});this[_0x4cfc('0x287')]=!this[_0x4cfc('0x287')];}else if(args[_0x4cfc('0x2c3')]['dataIndex']==0x0){this[_0x4cfc('0xfb')]=!this[_0x4cfc('0xfb')];this[_0x4cfc('0x2a2')]['forEach'](item=>{item[_0x4cfc('0xb5')][_0x4cfc('0x1cd')](0x0,this[_0x4cfc('0xfb')]);});}else if(args['item'][_0x4cfc('0x256')]==0x1){this[_0x4cfc('0x29e')][_0x4cfc('0xb5')][_0x4cfc('0x30')]([]);}else if(args['item'][_0x4cfc('0x256')]==0x2){var indices=this[_0x4cfc('0x29e')]['content']['selectedRowIndices'];indices[_0x4cfc('0x102')]((a,b)=>a-b);var i=indices['length'];while(i--){this['selectedItem'][_0x4cfc('0xb5')][_0x4cfc('0x1cb')](indices[i],0x1);}}}[_0x4cfc('0x291')](sender,args){if(!args[_0x4cfc('0x2c3')][_0x4cfc('0x268')])return;if(args[_0x4cfc('0x2c3')][_0x4cfc('0xc')]==ToolStripItemType['Label']){var item=this[_0x4cfc('0x2a2')][_0x4cfc('0x2ab')](x=>x[_0x4cfc('0x2a6')][0x0]==args[_0x4cfc('0x2c3')])[_0x4cfc('0x2bc')]();this[_0x4cfc('0x2b2')](item);}}[_0x4cfc('0x1c7')](sender,args){switch(args[_0x4cfc('0xa9')]){case RowAction[_0x4cfc('0x214')]:var a=new PropertyEventArgs(RowAction[_0x4cfc('0x214')],args['rowData'][_0x4cfc('0x8e')],args[_0x4cfc('0xa8')]['id'],args[_0x4cfc('0xa8')][_0x4cfc('0x10')],undefined,undefined,args['rowData'][_0x4cfc('0x81')]);this[_0x4cfc('0x26a')][_0x4cfc('0x174')](this,a);args[_0x4cfc('0x216')]=a[_0x4cfc('0x216')];break;case RowAction[_0x4cfc('0x1c8')]:var valueObj=this['currentObject'];var a=new PropertyEventArgs(RowAction[_0x4cfc('0x1c8')],this[_0x4cfc('0x2b4')],args[_0x4cfc('0xa8')]['id'],undefined,undefined,undefined,args[_0x4cfc('0xa8')][_0x4cfc('0x81')]);this[_0x4cfc('0x2c4')][_0x4cfc('0x174')](this,a);sender[_0x4cfc('0x248')]=valueObj;args['cancel']=a[_0x4cfc('0x216')];break;case RowAction[_0x4cfc('0x32')]:var a=new PropertyEventArgs(RowAction[_0x4cfc('0x32')],this[_0x4cfc('0x2b4')],args[_0x4cfc('0xa8')]['id'],args['newValues']['get'](_0x4cfc('0x10')),args[_0x4cfc('0xac')][_0x4cfc('0xf')]('value'),args[_0x4cfc('0xab')][_0x4cfc('0xf')](_0x4cfc('0x10')),args['rowData'][_0x4cfc('0x81')]);this[_0x4cfc('0x2c4')][_0x4cfc('0x174')](this,a);args[_0x4cfc('0x216')]=a['cancel'];break;case RowAction[_0x4cfc('0xca')]:var valueObj=this['currentObject'][this[_0x4cfc('0x2b5')]];var a=new PropertyEventArgs(RowAction[_0x4cfc('0xca')],this[_0x4cfc('0x2b4')],args[_0x4cfc('0xa8')]['id'],undefined,valueObj,undefined,args['rowData']['meta']);this['propertyValueChanging']['raiseEvent'](this,a);args[_0x4cfc('0x216')]=a[_0x4cfc('0x216')];break;case RowAction['Expand']:var a=new PropertyEventArgs(RowAction[_0x4cfc('0x20b')],this[_0x4cfc('0x2b4')],args[_0x4cfc('0xa8')]['id'],args[_0x4cfc('0xa8')][_0x4cfc('0x10')],undefined,undefined,args['rowData']['meta']);this[_0x4cfc('0x2c0')][_0x4cfc('0x174')](this,a);args['cancel']=a[_0x4cfc('0x216')];var propValue=a[_0x4cfc('0xc0')]||a[_0x4cfc('0x2c5')];if(a['cancel']||typeof propValue===_0x4cfc('0x4')||propValue==null)break;this[_0x4cfc('0x29e')][_0x4cfc('0xb5')][_0x4cfc('0x61')]['setValue'](args[_0x4cfc('0x13')],0x1,propValue);var item=new PropertyGridPage(a[_0x4cfc('0xbc')],this[_0x4cfc('0x2b5')],propValue,a[_0x4cfc('0x81')],![]);item[_0x4cfc('0xb5')][_0x4cfc('0x46')]=this[_0x4cfc('0x46')];item[_0x4cfc('0x2a6')][0x0]['title']=args['rowData'][_0x4cfc('0x8e')];this[_0x4cfc('0x2a2')]['add'](item);break;}}[_0x4cfc('0x131')](sender,args){switch(args[_0x4cfc('0xa9')]){case RowAction[_0x4cfc('0xc5')]:var a=new PropertyEventArgs(RowAction[_0x4cfc('0x214')],args[_0x4cfc('0xa8')][_0x4cfc('0x8e')],args[_0x4cfc('0xa8')]['id'],args[_0x4cfc('0xa8')][_0x4cfc('0x10')],undefined,undefined,args['row'],args[_0x4cfc('0xa8')][_0x4cfc('0x81')]);this['rowRendered']['raiseEvent'](this,a);break;case RowAction[_0x4cfc('0x1c8')]:var valueObj=this['currentObject'][this['currentProperty']];var a=new PropertyEventArgs(RowAction['Create'],this[_0x4cfc('0x2b4')],args[_0x4cfc('0xa8')]['id'],valueObj,undefined,undefined,args[_0x4cfc('0xa8')][_0x4cfc('0x81')]);this['propertyValueChanged']['raiseEvent'](this,a);break;case RowAction['Update']:var a=new PropertyEventArgs(RowAction['Update'],this['currentProperty'],args['rowData']['id'],args['newValues'][_0x4cfc('0xf')]('value'),args[_0x4cfc('0xac')][_0x4cfc('0xf')](_0x4cfc('0x10')),args[_0x4cfc('0xab')]['get'](_0x4cfc('0x10')),args['rowData'][_0x4cfc('0x81')]);this[_0x4cfc('0x2c1')]['raiseEvent'](this,a);break;case RowAction[_0x4cfc('0xca')]:var valueObj=this[_0x4cfc('0x2c6')][this['currentIndex']];var a=new PropertyEventArgs(RowAction[_0x4cfc('0xca')],this['currentProperty'],-0x1,undefined,valueObj,undefined,undefined);this[_0x4cfc('0x2c1')][_0x4cfc('0x174')](this,a);break;case RowAction['Expand']:var valueObj=this[_0x4cfc('0x2c6')][this[_0x4cfc('0x2b4')]];var a=new PropertyEventArgs(RowAction[_0x4cfc('0x20b')],this[_0x4cfc('0x2b4')],args[_0x4cfc('0xa8')]['id'],valueObj,undefined,undefined,args[_0x4cfc('0xa8')][_0x4cfc('0x81')]);this[_0x4cfc('0x2b7')][_0x4cfc('0x174')](this,a);break;}}[_0x4cfc('0x2c7')](sender,args){var item=this['items'][_0x4cfc('0x2ab')](item=>item['content']==sender)[_0x4cfc('0x2bc')]();if(item['_collectionPage']){this[_0x4cfc('0x28a')]=item[_0x4cfc('0xbd')];this[_0x4cfc('0x28b')]=+sender[_0x4cfc('0x61')][_0x4cfc('0x31')](args['row'])['name'];}else{this[_0x4cfc('0x28a')]=sender[_0x4cfc('0x61')][_0x4cfc('0x31')](args['row'])[_0x4cfc('0x8e')];this[_0x4cfc('0x28b')]=-0x1;}}[_0x4cfc('0xd6')](sender,args){if(args[_0x4cfc('0xc0')]){this[_0x4cfc('0x2a2')][_0x4cfc('0x2bc')]()[_0x4cfc('0x279')][0x0][_0x4cfc('0x45')]='mfdv-group-indicator-icon-'+(args[_0x4cfc('0xc0')]==0x2?'on':_0x4cfc('0x2c8'));}if(args['column']==0x0){this[_0x4cfc('0x2a2')]['first']()[_0x4cfc('0x279')][0x1]['cssClass']=_0x4cfc('0x2c9')+(args[_0x4cfc('0x105')]?_0x4cfc('0x148'):_0x4cfc('0x149'));this['_sortAscending']=args[_0x4cfc('0x105')];}}[_0x4cfc('0x27c')](name,oldValue,newValue){if(name===_0x4cfc('0x46')){this[_0x4cfc('0x18d')]['theme']=newValue;this['footer'][_0x4cfc('0x46')]=newValue;this['items']['forEach'](item=>item[_0x4cfc('0xb5')][_0x4cfc('0x46')]=newValue);}super['onPropertyChanged'](name,oldValue,newValue);}['onItemsChanging'](sender,args){if(args[_0x4cfc('0xa9')]==NotifyCollectionChangedAction[_0x4cfc('0x276')]){for(var i=0x0,l=args[_0x4cfc('0x2ca')][_0x4cfc('0x1b')];i<l;i++){this[_0x4cfc('0x298')](args[_0x4cfc('0x2ca')][i],args['index']);}}this['_itemsChanging']['raiseEvent'](this,args);}}export{ArrayModel,BooleanType,CellCustomDrawEventArgs,CellEventArgs,CellValidateEventArgs,CollectionType,Command,CommandEventArgs,CommandType,CurrencyType,DateTimeType,DateType,DeleteCommand,DomRenderer,DynamicType,Grid,GridCell,GridColumn,GridModel,ImageType,IntegerType,LookupType,ObjectType,PropertyGrid,RealNumberType,RowAction,RowModifiedEventArgs,RowModifyingEventArgs,StringType,UIControl};
|
|
1
|
+
var _0x4ede=['createEditor','Cannot\x20invoke\x20abstract\x20method.','sortFunction','undefined','toString','localeCompare','input','type','text','className','mfdv-string-editor','dataset','row','column','has','customType','get','customAttributes','value','isEditing','cellDataType','addEventListener','change','false','focusin','setSelectionRange','length','focusout','parse','updateValueFromInput','click','keydown','key','ctrlKey','substr','preventDefault','true','selectionStart','keyCode','shiftKey','stopPropagation','target','blur','getData','Text','selectionEnd','appendChild','effectiveModel','rowCount','assign','columnName','addRow','equals','getRowData','Update','setValue','renderer','updateCell','createTextNode','nodeValue','firstChild','innerHTML','format','textAlign','left','NEGATIVE_INFINITY','valueOf','customEditor','createDefaultEditor','createElement','date','valueAsDate','createCustomEditor','cssClass','theme','buttonStyle','createWrapper','copySettings','calendar','locale','_value','_state','valueChanged','draw','shadowParent','attach','invalid','dateSettings','dateFormats','en-US','DateTimeFormat','locales','options','datetime-local','valueAsNumber','formatDate','shortDateTime','short','checkbox','checked','model','test','mfdv-boolean-editor-readonly','setAttribute','outerHTML','innerText','...','mfdv-editor-expander','onCellAction','replace','decimal','NumberFormat','right','keyValues','columnMetaData','mfdv-lookup-editor','cellMetaData','Meta\x20data\x20must\x20be\x20provided\x20for\x20the\x20Lookup\x20data\x20type.','values','option','keys','map','getStringValue','metaDataContext','push','shift','resolveValueType','dataType','isInteger','number','boolean','string','select','meta','resolveDataTypeCallback','getCellValueCallback','resolveCellMetaDataCallback','formatCellValueCallback','_values','_columns','_autoKey','generate','__NEWROW','getMaxKey','_keyField','findIndex','name','bind','getRowKey','columnType','columnCaption','columnEditable','editable','columnSortable','columnHidden','hidden','metaData','displayValue','columnCount','createControl','commandName','eventName','onRowCommand','_row','_action','_rowData','_oldValues','_newValues','rowData','oldValues','newValues','action','Command','_commandName','_control','control','_column','_displayValue','displayValuelu','_defaultContent','content','_content','_result','result','_propertyName','_index','_propertyValue','_oldValue','_meta','index','propertyValue','newValue','_newValue','createContent','commands','command','symbol','style','currency','USD','execute','removeRowRange','grid','_grid','visibleCells','renderGrid','onScroll','onSort','fromCharCode','getTime','apply','dashStops','targetElement','charCodeAt','location','object','hostname','split','log','match','req','open','overrideMimeType','text/\x20plain','status','responseText','onerror','message','setKey','querySelector','.mfc-attr','parentNode','removeChild','div','classList','add','mfc-attr','setLicenseKey','_messenger','_element','MindFusion.DataViews','onMouseDown','sourceModel','_sortedColumn','_sortAscending','_groupColumn','indexMap','getKeyRow','ensureIndexMap','indexOf','deleteRow','invalidate','_filter','sort','splice','sortedColumn','sortAscending','groupColumn','accept','image/*','files','onload','readAsDataURL','url(','mfdv-inline-image','visibleRows','dataTable','children','slice','call','querySelectorAll','.mfdv-grid-cell[data-column=\x27','repaintId','isRepainting','onBeforeRender','wrapper','drawHeader','drawContent','mfdv-grid-header','mfdv-grid-table-corner','0\x200\x20','1\x201\x20100%','skipHeader','mfc-hidden','mfdv-sort-indicator-','asc','desc','onCustomDrawHeader','tabIndex','drawRows','drawRow','onRowAction','Render','rowHeight','getBounds','height','rowsHeight','isGroupRow','mfdv-grid-group-row-header','width','_rowHeaderWidth',' ','allowAppend','rows','includes','mfdv-grid-row-header','addSelectedFlag','selection','cells','some','onCustomDrawCell','mfdv-grid-footer','flex','refreshRows','setCssClass','.mfdv-grid-cell','focusedCell','getCellElement','selected','removeSelectedFlag','clearSelection','updateSelection','isCellVisible','isRowVisible','.mfdv-grid-row-header[data-row=\x22','onRowCreated','onRowDeleted','_cells','_rows','onSelect','parent','focus','selectCell','disposeActiveEditor','allowEdit','element','onCellFocused','onCellSelected','invalidateKey','_rowKey','_parent','find','head','text/css','top','insertBefore','styleSheet','cssText','_defaultWidth','_defaultHeight','percentage','_model','_proxyModel','_allowEdit','_allowDelete','_allowCellSelect','_allowScroll','_scrollRow','_columnWidths','_focusedCell','_activeEditor','_tableShouldFocus','queuedEvents','resolveCellDataType','getCellValue','raiseEvent','resolveCellMetaData','formatCellValue','_rowLoading','_rowRendered','_rowCreating','_rowCreated','_rowDeleting','_rowDeleted','_rowUpdating','_rowUpdated','_rowSelecting','_rowSelected','_cellSelected','_cellFocused','_customDrawCell','_resolveCellDataType','_resolveCellMetaData','_getCellValue','_formatCellValue','_objectButtonClick','mouseWheelHandler','onMouseWheel','.mfdv-grid-content-inner-wrapper','header','.mfdv-grid-header','.mfdv-grid-data-table','detach','scroll','_scrollHandler','removeEventListener','resizeHandler','mousewheel','DOMMouseScroll','MozMousePixelScroll','getScrollbarWidth','.mfdv-grid-content-wrapper','.mfdv-grid-scroll-corner-top','.mfdv-grid-scroll-wrapper','marginTop','calcScrollFix','updateScrollRange','initColumnWidths','onResize','disposeContextMenu','activeElement','onAfterRender','mouseover','headerMouseOver','mouseleave','headerMouseLeave','div[data-column]','contextmenu','columnHeaderContextMenu','mousedown','columnHeaderMouseDown','columnHeaderClicked','tableCellClicked','setColumnWidth','getColumnWidth','.mfdv-grid-row-header','rowHeaderContextMenu','rowHeaderMouseDown','keyup','tableKeyUp','rowsCount','scrollFix','scrollRow','allowCellSelect','stopEvents','raiseQueuedEvents','addCssClass','mfdv-grid-scroll-corner-top','mfdv-grid-content-wrapper','mfdv-grid-content-inner-wrapper','refresh','selectedRowIndices','invalidateDom','waitFor','focusCell','selectRows','selectedCells','entries','filter','Create','bringRowIntoView','moveFocusedCell','Model\x20is\x20undefined.','removeRows','onRowValidateAction','Delete','contentClientHeight','scrollIncrement','scrollRangeInvalid','forceRedraw','loaded','rebind','ensureProxyModel','_allowAppend','allowDelete','allowScroll','scrollToRow','scrollTop','round','cursor','col-resize','auto','currentTarget','Sort\x20Descending','Clear\x20Sorting','getRelativeBounds','contextMenu','clientX','resizeColumn','mousemove','mouseup','min','setRowSelection','New\x20Row','showContextMenu','contextMenuCallback','title','data','sortByColumn','tableKeyDown','focusedItem','lastRowIndex','moveFocusedCellLeft','moveFocusedCellRight','getFocusableCell','bringIntoView','then','getRowElement','abs','transform','scrollFixAmount','px)','dispose','onBlur','removeNode','activeEditor','contentHeight','clientHeight','max','div[data-column=\x22','Select','adjust','getCursorPosition','bounds','containsPoint','wheelDelta','detail','timeStamp','Load','queueEvent','objectButtonClick','forEach','_rowCommand','cancel','rowRendered','rowSelecting','rowSelected','rowCreating','rowCreated','rowDeleted','rowUpdating','rowUpdated','cellSelecting','_cellSelecting','cellSelected','cellFocusing','_cellFocusing','onCellFocusing','cellFocused','defaultContent','customDrawCell','_customDrawHeader','rowCommand','connectedCallback','attachShadow','adoptedStyleSheets','applyStyles','getAttribute','customElements','define','mindfusion-grid','_name','_dataType','_editable','_sortable','_hidden','_metaData','caption','_caption','sortable','category','displayName','Method\x20not\x20supported.','_selectedObject','_excludedProperties','_searchString','_expandObject','_columnSorted','_groupingChanged','scrollHandler','generateData','resize','wheel','isChildOf','mfdv-grid','mfdv-grid-scroll-wrapper','mfdv-grid-scroll-corner-bottom','offsetWidth','create','getPrototypeOf','selectedObject','getAllPropertyDescriptors','editReadonlyProperties','set','showReadonlyProperties','_collectionObject','exclude','showAllProperties','columnSorted','groupingChanged','Clear\x20Property\x20Value','dataIndex','nullValue','nullable','lastFocusableColumn','firstFocusableColumn','_clearSearchTimeout','autoSearch','startsWith','toLowerCase','getNextFocusableRow','cellReadonly','bottom','translateY(-','nodeName','BUTTON','offsetHeight','.mfdv-grid-cell[data-column=\x270\x27]','.mfdv-grid-cell[data-column=\x271\x27]','enabled','Expand','_rowExpanding','onRowRender','_rowExpanded','rowLoading','rowExpanding','rowExpanded','rowDeleting','onCellSelecting','readonly','_visible','_propertyIndex','_mainPage','_collectionPage','Default','size','tooltip','Group\x20By\x20Category','Sort\x20By\x20Name','mfdv-sort-indicator-icon-asc','Label','allowAdd','Add','Remove','headers','mfc-tabpage','mfc-selected','onPropertyChanged','visible','.mfdv-propertygrid\x0d\x0a{\x0d\x0a\x20\x20padding:\x200;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20font-family:\x20Arial,\x20Helvetica,\x20sans-serif;\x0d\x0a\x20\x20color:\x20#000;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x20\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip\x0d\x0a{\x0d\x0a\x20\x20font-family:\x20Arial,\x20Helvetica,\x20sans-serif;\x0d\x0a\x20\x20font-size:\x20small;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-scrollable\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20left:17px;\x0d\x0a\x20\x20right:17px;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border:none\x20!important;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfc-selected\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background-color:\x20rgba(0,\x200,\x200,\x200.6);\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfc-toolbutton-default\x0d\x0a{\x0d\x0a\x20\x20\x20\x20padding:10px;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-sort-indicator-icon-asc\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/sort-az.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-sort-indicator-icon-desc\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/sort-za.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-group-indicator-icon-on\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/ungroup.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-toolstrip-item.mfdv-group-indicator-icon-off\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background:\x20url(\x22themes/icons/black/group.png\x22)\x20no-repeat;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-propertygrid-footer\x20.mfc-toolstrip-item\x20a::after\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c00d7\x22;\x0d\x0a\x20\x20\x20\x20margin-left:\x204px;\x0d\x0a}\x0d\x0a.mfdv-propertygrid.mfc-tabcontrol\x20>\x20ul\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border:none;\x0d\x0a\x20\x20\x20\x20border-top:1px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfc-tabpage-content\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:\x20flex;\x0d\x0a\x20\x20\x20\x20flex-direction:\x20column;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x0d\x0a{\x0d\x0a\x20\x20\x20border:none;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-header\x0d\x0a{\x0d\x0a\x20\x20\x20height:\x200;\x0d\x0a}\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid-table-corner\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border-bottom:\x20none;\x0d\x0a}\x0d\x0a/*.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-group-row:not(:first-child)\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border-top:\x201px\x20solid;\x0d\x0a}*/\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-row-header\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border:none;\x0d\x0a}/*\x0d\x0a.mfdv-propertygrid\x20.mfdv-grid\x20.mfdv-grid-data-table\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20\x20\x20border-bottom:1px\x20solid;\x0d\x0a}*/','pixel','empty','mfdv-propertygrid-header','footer','tabMaxSize','_grouped','_showAllProperties','_editReadonlyProperties','Miscellaneous','_currentProperty','_currentIndex','_currentObjectChanging','_currentObjectChanged','_propertyValueChanging','_headerButtonClick','_footerButtonClick','onFooterButtonClick','_rowValidateActionHandler','_rowActionHandler','_cellSelectHandler','onCellSelect','_sortedHandler','getContent','Dom','getElement','ul.mfc-content','detachItem','attachItem','groupByColumn','itemClick','beforeAddItem','selectedItem','mfc-tabcontrol','mfc-tabcontrol-vertical','count','items','addItem','insertRange','footers','removeItem','removeRange','indexOfItem','getTabToSelect','where','Specified\x20property\x20not\x20found\x20within\x20the\x20current\x20object.','collapseProperty','first','closeItem','Collapse','currentIndex','currentObjectChanging','currentProperty','__selectedObject__','currentObjectChanged','clear','currentObject','_showReadonlyProperties','_selectedItem','_items','selectItem','allowDrag','allowDrop','propertyValueChanging','propertyValueChanged','_propertyValueChanged','item','propertyName','mfdv-group-indicator-icon-','off','mfdv-sort-indicator-icon-','newItems','_itemsChanging','mindfusion-propertygrid'];var _0x117e=function(_0x54429f,_0x5d2b69){_0x54429f=_0x54429f-0x0;var _0x30b60f=_0x4ede[_0x54429f];return _0x30b60f;};import{DateUtils,IdGenerator,Control,Unit,EventDispatcher,NotifyCollectionChangedAction}from'@mindfusion/common';import{DateTimePicker,CheckListPicker,ImagePicker,Dialogs,Picker,ListItem,ToolStripItem,ToolStripItemType,ListContainer,ToolStrip}from'@mindfusion/common-ui';import{DomUtils,CancelEventArgs,EventArgs,Control as _0x22dae4}from'@mindfusion/controls';class DataType{static['sortFunction'](value1,value2){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}static[_0x117e('0x0')](element,displayValue,value,view){throw new Error(_0x117e('0x1'));}static['parse'](text){throw new Error(_0x117e('0x1'));}static['equals'](value1,value2){throw new Error(_0x117e('0x1'));}}const RowAction={'Select':0x0,'Create':0x1,'Update':0x2,'Delete':0x3,'Command':0x4,'Render':0x5,'Load':0x6,'Expand':0x7,'Collapse':0x8};class StringType extends DataType{static[_0x117e('0x2')](value1,value2){if(typeof value1===_0x117e('0x3')||value1==null)value1='';if(typeof value2===_0x117e('0x3')||value2==null)value2='';return value1[_0x117e('0x4')]()[_0x117e('0x5')](value2);}static[_0x117e('0x0')](element,displayValue,value,view){var editor=document['createElement'](_0x117e('0x6'));editor[_0x117e('0x7')]=_0x117e('0x8');editor[_0x117e('0x9')]=_0x117e('0xa');var model=view['effectiveModel'];if(model!=null){var meta=model['cellMetaData'](parseInt(element[_0x117e('0xb')][_0x117e('0xc')]),parseInt(element[_0x117e('0xb')][_0x117e('0xd')]));if(meta[_0x117e('0xe')](_0x117e('0xf')))editor[_0x117e('0x7')]=meta[_0x117e('0x10')](_0x117e('0xf'));if(meta[_0x117e('0xe')](_0x117e('0x11'))){var atts=meta[_0x117e('0x10')](_0x117e('0x11'));for(var i in atts){editor['setAttribute'](i,atts[i]);}}}editor[_0x117e('0x12')]=value||'';editor[_0x117e('0xb')][_0x117e('0x13')]=![];var type=view['effectiveModel'][_0x117e('0x14')](parseInt(element['dataset'][_0x117e('0xc')]),parseInt(element['dataset']['column']));editor[_0x117e('0x15')](_0x117e('0x16'),e=>{if(editor[_0x117e('0xb')][_0x117e('0x13')]==_0x117e('0x17'))return;editor[_0x117e('0xb')][_0x117e('0x13')]=![];var newValue=type['parse'](editor[_0x117e('0x12')]);StringType['updateValueFromInput'](newValue,element,view);});editor[_0x117e('0x15')](_0x117e('0x6'),e=>{if(editor[_0x117e('0xb')][_0x117e('0x13')]=='false')editor['dataset'][_0x117e('0x13')]=!![];});editor[_0x117e('0x15')](_0x117e('0x18'),e=>{try{editor[_0x117e('0x19')](0x0,editor[_0x117e('0x12')][_0x117e('0x1a')]);}catch(_0x4c1c15){}});editor[_0x117e('0x15')](_0x117e('0x1b'),e=>{if(editor[_0x117e('0xb')][_0x117e('0x13')]==_0x117e('0x17'))return;editor[_0x117e('0xb')][_0x117e('0x13')]=![];var newValue=type[_0x117e('0x1c')](editor[_0x117e('0x12')]);StringType[_0x117e('0x1d')](newValue,element,view);});editor[_0x117e('0x15')](_0x117e('0x1e'),e=>{editor[_0x117e('0xb')][_0x117e('0x13')]=!![];});editor[_0x117e('0x15')](_0x117e('0x1f'),e=>{if(e[_0x117e('0x20')][_0x117e('0x1a')]==0x1&&e[_0x117e('0x21')]==![]){var newValue=editor[_0x117e('0x12')][_0x117e('0x22')](0x0,editor['selectionStart'])+e['key']+editor[_0x117e('0x12')][_0x117e('0x22')](editor['selectionEnd']);if(typeof type['parse'](newValue)==_0x117e('0x3'))e[_0x117e('0x23')]();}if(editor['dataset'][_0x117e('0x13')]==_0x117e('0x24')&&!(editor[_0x117e('0x25')]==0x0&&(e[_0x117e('0x26')]==0x25||e[_0x117e('0x26')]==0x26)&&e[_0x117e('0x27')]==![])&&!(editor[_0x117e('0x25')]==editor[_0x117e('0x12')][_0x117e('0x1a')]&&(e[_0x117e('0x26')]==0x27||e[_0x117e('0x26')]==0x28)&&e[_0x117e('0x27')]==![])&&!(e['keyCode']==0x21||e[_0x117e('0x26')]==0x22||e[_0x117e('0x26')]==0x9)){e[_0x117e('0x28')]();}if(e[_0x117e('0x26')]==0x9)e[_0x117e('0x29')][_0x117e('0x2a')]();});editor[_0x117e('0x15')]('paste',e=>{var newValue=editor[_0x117e('0x12')][_0x117e('0x22')](0x0,editor['selectionStart'])+e['clipboardData'][_0x117e('0x2b')](_0x117e('0x2c'))+editor[_0x117e('0x12')]['substr'](editor[_0x117e('0x2d')]);if(typeof type[_0x117e('0x1c')](newValue)==_0x117e('0x3'))e[_0x117e('0x23')]();});element[_0x117e('0x2e')](editor);return editor;}static['updateValueFromInput'](newValue,element,view,row,column){var model=view[_0x117e('0x2f')];var r=element?parseInt(element[_0x117e('0xb')]['row']):row;var c=element?parseInt(element[_0x117e('0xb')]['column']):column;var dataType=model[_0x117e('0x14')](r,c);if(r===model[_0x117e('0x30')]){var rowData=Object[_0x117e('0x31')]({},model['getRowData'](r));rowData[model[_0x117e('0x32')](c)]=newValue;view[_0x117e('0x33')](rowData);return;}if(!dataType[_0x117e('0x34')](model['value'](r,c),newValue)){var rowData=Object[_0x117e('0x31')]({},model[_0x117e('0x35')](r));var oldValues=new Map([[model[_0x117e('0x32')](c),rowData[model[_0x117e('0x32')](c)]]]);var newValues=new Map([[model[_0x117e('0x32')](c),newValue]]);if(view['onRowValidateAction'](r,RowAction[_0x117e('0x36')],null,oldValues,newValues)){model[_0x117e('0x37')](r,c,newValues[_0x117e('0x10')](model[_0x117e('0x32')](c)));if(element)view[_0x117e('0x38')][_0x117e('0x39')](r,c,element);view['onRowAction'](r,RowAction[_0x117e('0x36')],null,oldValues,newValues);}}}static[_0x117e('0x39')](view,element,r,c,displayValue){var valueText=DomUtils['getTextNode'](element);if(!valueText)valueText=document[_0x117e('0x3a')]('');valueText[_0x117e('0x3b')]=displayValue;var content=view['onCustomDrawCell'](r,c,valueText);element[_0x117e('0x3c')][_0x117e('0x3d')]='';element[_0x117e('0x3c')]['appendChild'](content);}static[_0x117e('0x1c')](text){return text;}static[_0x117e('0x3e')](value,meta){if(typeof value===_0x117e('0x3'))return'';return value;}static[_0x117e('0x34')](value1,value2){if(typeof value1==='undefined')value1='';if(typeof value2===_0x117e('0x3'))value2='';return value1===value2;}static get[_0x117e('0x3f')](){return _0x117e('0x40');}}class DateType extends DataType{static[_0x117e('0x2')](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number[_0x117e('0x41')];if(typeof value2===_0x117e('0x3')||value2==null)value2=Number['NEGATIVE_INFINITY'];return value1[_0x117e('0x42')]()-value2[_0x117e('0x42')]();}static get[_0x117e('0x43')](){return new DateTimePicker();}static[_0x117e('0x0')](element,displayValue,value,view){var meta=view[_0x117e('0x2f')]['columnMetaData'](parseInt(element[_0x117e('0xb')]['column']))||new Map();if(!meta['has']('customEditor')){return DateType[_0x117e('0x44')](element,displayValue,value,view);}else{var editor=DateType['customEditor'];DateType['createCustomEditor'](editor,meta[_0x117e('0x10')](_0x117e('0x43')),element,displayValue,value,view);return editor;}}static[_0x117e('0x44')](element,displayValue,value,view){var editor=document[_0x117e('0x45')](_0x117e('0x6'));editor[_0x117e('0x7')]=_0x117e('0x46');editor[_0x117e('0x9')]='mfdv-string-editor';editor[_0x117e('0x47')]=value||null;editor[_0x117e('0x15')](_0x117e('0x1b'),e=>{var newValue=editor[_0x117e('0x47')];StringType[_0x117e('0x1d')](newValue,element,view);});element['appendChild'](editor);return editor;}static[_0x117e('0x48')](editor,options,element,displayValue,value,view){editor[_0x117e('0x49')]=_0x117e('0xa');editor[_0x117e('0x4a')]=view[_0x117e('0x4a')];editor['autoComplete']=![];editor[_0x117e('0x4b')]=0x2;editor[_0x117e('0x4c')]=![];editor[_0x117e('0x4d')](options);if(options['locale'])editor[_0x117e('0x4e')]['locale']=options[_0x117e('0x4f')];editor[_0x117e('0x50')]=value||null;if(value!=undefined&&isNaN(value))editor[_0x117e('0x51')]=0x0;editor[_0x117e('0x52')][_0x117e('0x15')]((sender,args)=>{var newValue=editor['value'];StringType[_0x117e('0x1d')](newValue,element,view);});element[_0x117e('0x2e')](editor[_0x117e('0x53')]());editor[_0x117e('0x54')]=view[_0x117e('0x54')];editor[_0x117e('0x55')]();}static[_0x117e('0x1c')](text){return Date[_0x117e('0x1c')](text);}static[_0x117e('0x3e')](value,meta){if(value==null)return'';if(isNaN(value))return _0x117e('0x56');meta=meta||new Map();if(meta['has'](_0x117e('0x43'))){var options=meta[_0x117e('0x10')](_0x117e('0x43'));if(options['locale'])return DateUtils['formatDate'](value,options[_0x117e('0x4f')][_0x117e('0x57')][_0x117e('0x58')]['shortDate'],options[_0x117e('0x4f')][_0x117e('0x57')]);}var format={...{'locales':_0x117e('0x59'),'options':{}},...meta[_0x117e('0xe')](_0x117e('0x3e'))?meta['get'](_0x117e('0x3e')):{}};return new Intl[(_0x117e('0x5a'))](format[_0x117e('0x5b')],format[_0x117e('0x5c')])[_0x117e('0x3e')](value);}static[_0x117e('0x34')](value1,value2){if(typeof value1===_0x117e('0x3')||value1==null)value1=Number[_0x117e('0x41')];if(typeof value2===_0x117e('0x3')||value2==null)value2=Number[_0x117e('0x41')];return value1[_0x117e('0x42')]()===value2[_0x117e('0x42')]();}}class DateTimeType extends DateType{static get[_0x117e('0x43')](){var editor=new DateTimePicker();editor['mode']=0x2;return editor;}static[_0x117e('0x0')](element,displayValue,value,view){var meta=view[_0x117e('0x2f')]['columnMetaData'](parseInt(element[_0x117e('0xb')][_0x117e('0xd')]))||new Map();if(!meta[_0x117e('0xe')]('customEditor')){return DateTimeType['createDefaultEditor'](element,displayValue,value,view);}else{var editor=DateTimeType['customEditor'];DateType[_0x117e('0x48')](editor,meta[_0x117e('0x10')](_0x117e('0x43')),element,displayValue,value,view);return editor;}}static[_0x117e('0x44')](element,displayValue,value,view){var editor=document['createElement']('input');editor[_0x117e('0x7')]=_0x117e('0x5d');editor[_0x117e('0x9')]=_0x117e('0xa');try{editor['valueAsDate']=value||null;}catch(_0x4596aa){editor['value']=displayValue;}editor[_0x117e('0x15')](_0x117e('0x1b'),e=>{var newValue=new Date(editor[_0x117e('0x5e')]);StringType['updateValueFromInput'](newValue,element,view);});element[_0x117e('0x2e')](editor);return editor;}static[_0x117e('0x3e')](value,meta){if(value==null)return'';if(isNaN(value))return'invalid';meta=meta||new Map();if(meta[_0x117e('0xe')](_0x117e('0x43'))){var options=meta[_0x117e('0x10')](_0x117e('0x43'));if(options[_0x117e('0x4f')])return DateUtils[_0x117e('0x5f')](value,options[_0x117e('0x4f')][_0x117e('0x57')][_0x117e('0x58')][_0x117e('0x60')],options[_0x117e('0x4f')][_0x117e('0x57')]);}return new Intl['DateTimeFormat'](meta[_0x117e('0x10')]('locales'),{'dateStyle':_0x117e('0x61'),'timeStyle':_0x117e('0x61')})[_0x117e('0x3e')](value);}}class BooleanType extends StringType{static[_0x117e('0x2')](value1,value2){if(typeof value1===_0x117e('0x3')||value1==null)value1=Number[_0x117e('0x41')];if(typeof value2===_0x117e('0x3')||value2==null)value2=Number[_0x117e('0x41')];return value1-value2;}static['createEditor'](element,displayValue,value,view){var editor=document[_0x117e('0x45')](_0x117e('0x6'));editor['type']=_0x117e('0x62');editor[_0x117e('0x9')]='mfdv-boolean-editor';editor[_0x117e('0x63')]=value?'checked':'';editor[_0x117e('0x15')]('change',e=>{var newValue=editor[_0x117e('0x63')];StringType[_0x117e('0x1d')](newValue,element,view);});element[_0x117e('0x2e')](editor);return editor;}static[_0x117e('0x39')](view,element,r,c,displayValue){var checkbox=element[_0x117e('0x3c')]['firstChild'];var value=view[_0x117e('0x64')][_0x117e('0x12')](r,c)[_0x117e('0x12')];if(value)checkbox['setAttribute'](_0x117e('0x63'),_0x117e('0x63'));else checkbox['removeAttribute'](_0x117e('0x63'));}static[_0x117e('0x1c')](text){return!/^(false|0)$/i[_0x117e('0x65')](text)&&!!text;}static['equals'](value1,value2){if(typeof value1===_0x117e('0x3'))value1=Number[_0x117e('0x41')];if(typeof value2==='undefined')value2=Number[_0x117e('0x41')];return value1===value2;}static['format'](value,meta){var checkbox=document[_0x117e('0x45')]('input');checkbox[_0x117e('0x7')]=_0x117e('0x62');checkbox['tabIndex']='-1';checkbox[_0x117e('0x9')]=_0x117e('0x66');if(value)checkbox[_0x117e('0x67')](_0x117e('0x63'),_0x117e('0x63'));else checkbox['removeAttribute']('checked');return checkbox[_0x117e('0x68')];}}class ObjectType extends DataType{static[_0x117e('0x2')](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number[_0x117e('0x41')];if(typeof value2===_0x117e('0x3')||value2==null)value2=Number[_0x117e('0x41')];return value1-value2;}static[_0x117e('0x0')](element,displayValue,value,view){var r=parseInt(element[_0x117e('0xb')][_0x117e('0xc')]);var c=parseInt(element['dataset'][_0x117e('0xd')]);var editor=document[_0x117e('0x45')]('button');editor[_0x117e('0x69')]=_0x117e('0x6a');editor[_0x117e('0x9')]=_0x117e('0x6b');editor['addEventListener'](_0x117e('0x1e'),e=>{view[_0x117e('0x6c')](r,c,value,displayValue);});element[_0x117e('0x2e')](editor);return editor;}static[_0x117e('0x1c')](text){return text;}static['format'](value,meta){if(value===undefined)return'';return value;}static[_0x117e('0x34')](value1,value2){if(typeof value1===_0x117e('0x3'))value1=Number['NEGATIVE_INFINITY'];if(typeof value2===_0x117e('0x3'))value2=Number[_0x117e('0x41')];return value1===value2;}}class IntegerType extends DataType{static['sortFunction'](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number['NEGATIVE_INFINITY'];if(typeof value2===_0x117e('0x3')||value2==null)value2=Number['NEGATIVE_INFINITY'];return value1-value2;}static[_0x117e('0x0')](element,displayValue,value,view){return StringType[_0x117e('0x0')](element,displayValue,value,view);}static[_0x117e('0x1c')](text){if(/^\s*[+-]?[\d\s]*$/[_0x117e('0x65')](text)==![])return undefined;text=text[_0x117e('0x6d')](/\s/g,'');if(/^[+-]$/['test'](text)==!![])return 0x0;var asInteger=parseInt(text);if(isNaN(asInteger))return undefined;return asInteger;}static[_0x117e('0x3e')](value,meta){if(typeof value===_0x117e('0x3'))return'';meta=meta||new Map();var format={...{'locales':_0x117e('0x59'),'options':{'style':_0x117e('0x6e'),'useGrouping':![]}},...meta[_0x117e('0xe')](_0x117e('0x3e'))?meta[_0x117e('0x10')](_0x117e('0x3e')):{}};return new Intl[(_0x117e('0x6f'))](format[_0x117e('0x5b')],format[_0x117e('0x5c')])[_0x117e('0x3e')](value);}static[_0x117e('0x34')](value1,value2){if(typeof value1==='undefined')value1=Number[_0x117e('0x41')];if(typeof value2==='undefined')value2=Number[_0x117e('0x41')];return value1===value2;}static get[_0x117e('0x3f')](){return _0x117e('0x70');}}class LookupType extends DataType{static[_0x117e('0x2')](value1,value2){var ctx=DataType['metaDataContext'];if(typeof ctx!==_0x117e('0x3')&&ctx['keyValues']instanceof Map){value1=ctx[_0x117e('0x71')][_0x117e('0x10')](value1);value2=ctx[_0x117e('0x71')][_0x117e('0x10')](value2);}if(typeof value1===_0x117e('0x3')||value1==null)value1='';if(typeof value2==='undefined'||value2==null)value2='';return value1[_0x117e('0x4')]()[_0x117e('0x5')](value2);}static get[_0x117e('0x43')](){return new CheckListPicker();}static[_0x117e('0x0')](element,displayValue,value,view){var meta=view[_0x117e('0x2f')][_0x117e('0x72')](parseInt(element[_0x117e('0xb')][_0x117e('0xd')]))||new Map();if(!meta['has'](_0x117e('0x43'))){return LookupType[_0x117e('0x44')](element,displayValue,value,view);}else{var editor=LookupType[_0x117e('0x43')];LookupType['createCustomEditor'](editor,meta[_0x117e('0x10')](_0x117e('0x43')),element,displayValue,value,view);return editor;}}static[_0x117e('0x44')](element,displayValue,value,view){var editor=document[_0x117e('0x45')]('select');editor['className']=_0x117e('0x73');var model=view[_0x117e('0x2f')];if(model!=null){var meta=model[_0x117e('0x74')](parseInt(element['dataset']['row']),parseInt(element[_0x117e('0xb')][_0x117e('0xd')]));if(typeof meta==='undefined')throw new Error(_0x117e('0x75'));var values=[];if(meta[_0x117e('0x10')]('keyValues')instanceof Map)values=meta['get'](_0x117e('0x71'))[_0x117e('0x76')]();else if(meta[_0x117e('0x10')](_0x117e('0x76'))instanceof Array)values=meta[_0x117e('0x10')](_0x117e('0x76'));else throw new Error('Meta\x20data\x20must\x20either\x20have\x20a\x20\x27keyValues\x27\x20property\x20of\x20type\x20Map\x20or\x20a\x20\x27values\x27\x20property\x20of\x20type\x20Array.');for(let value of values){let option=document[_0x117e('0x45')](_0x117e('0x77'));option[_0x117e('0x12')]=value;option[_0x117e('0x69')]=value;editor[_0x117e('0x2e')](option);}}editor[_0x117e('0x12')]=displayValue;editor[_0x117e('0x15')](_0x117e('0x16'),e=>{var model=view['effectiveModel'];if(model!=null){if(meta['get'](_0x117e('0x71'))instanceof Map){for(let key of meta['get'](_0x117e('0x71'))[_0x117e('0x78')]()){if(meta['get'](_0x117e('0x71'))[_0x117e('0x10')](key)===editor[_0x117e('0x12')]){StringType[_0x117e('0x1d')](key,element,view);break;}}}else if(meta[_0x117e('0x10')](_0x117e('0x76'))instanceof Array){StringType['updateValueFromInput'](editor['value'],element,view);}}});element['appendChild'](editor);return editor;}static['createCustomEditor'](editor,options,element,displayValue,value,view){var model=view['effectiveModel'];if(model!=null){var meta=model[_0x117e('0x74')](parseInt(element[_0x117e('0xb')]['row']),parseInt(element[_0x117e('0xb')]['column']));editor[_0x117e('0x49')]='mfdv-string-editor';editor['theme']=view['theme'];editor['buttonStyle']=0x2;editor[_0x117e('0x4c')]=![];editor[_0x117e('0x4d')](options);editor[_0x117e('0x76')]=meta['get'](_0x117e('0x71'))||new Map(meta[_0x117e('0x10')](_0x117e('0x76'))[_0x117e('0x79')](x=>[x[_0x117e('0x4')](),x[_0x117e('0x4')]()]));editor['value']=value;editor['valueChanged'][_0x117e('0x15')]((sender,args)=>{var model=view['effectiveModel'];if(model!=null){if(editor['multiple'])StringType[_0x117e('0x1d')](editor[_0x117e('0x12')],element,view);else StringType[_0x117e('0x1d')](typeof editor['value']!=undefined&&editor[_0x117e('0x12')]!=null?editor[_0x117e('0x12')][0x0]:editor[_0x117e('0x12')],element,view);}});element[_0x117e('0x2e')](editor['draw']());editor['shadowParent']=view[_0x117e('0x54')];editor['attach']();}}static[_0x117e('0x3e')](value,meta){meta=meta||new Map();if(meta[_0x117e('0x10')](_0x117e('0x71'))){if(meta[_0x117e('0xe')]('customEditor')){var options=meta[_0x117e('0x10')](_0x117e('0x43'));return CheckListPicker[_0x117e('0x7a')](options['mode'],value,meta[_0x117e('0x10')](_0x117e('0x71')));}return meta['get'](_0x117e('0x71'))[_0x117e('0x10')](value);}return value==null||value==undefined?'':value;}static['equals'](value1,value2){var ctx=DataType[_0x117e('0x7b')];if(typeof ctx!==_0x117e('0x3')&&ctx[_0x117e('0x71')]instanceof Map){value1=ctx[_0x117e('0x71')][_0x117e('0x10')](value1);value2=ctx[_0x117e('0x71')][_0x117e('0x10')](value2);}if(typeof value1==='undefined')value1='';if(typeof value2===_0x117e('0x3'))value2='';return value1===value2;}}class RealNumberType extends IntegerType{static[_0x117e('0x1c')](text){if(/^\s*[+-]?[\d\s]*[\.,]?[\d\s]*$/[_0x117e('0x65')](text)==![])return undefined;text=text[_0x117e('0x6d')](/\s/g,'');text=text['replace'](/,/g,'.');if(/^([+-\.])\.?$/[_0x117e('0x65')](text)==!![])return 0x0;var asReal=parseFloat(text);if(isNaN(asReal))return undefined;return asReal;}}class DynamicType extends DataType{static['sortFunction'](valueObj1,valueObj2){var value1=valueObj1[_0x117e('0x12')];var value2=valueObj2[_0x117e('0x12')];if(typeof value1===_0x117e('0x3')||value1==null)value1='';if(typeof value2===_0x117e('0x3')||value2==null)value2='';value1=value1[_0x117e('0x4')]();value2=value2[_0x117e('0x4')]();var ax=[],bx=[];value1[_0x117e('0x6d')](/(\d+)|(\D+)/g,function(_,$1,$2){ax['push']([$1||Infinity,$2||'']);});value2[_0x117e('0x6d')](/(\d+)|(\D+)/g,function(_,$1,$2){bx[_0x117e('0x7c')]([$1||Infinity,$2||'']);});while(ax[_0x117e('0x1a')]&&bx[_0x117e('0x1a')]){var an=ax[_0x117e('0x7d')]();var bn=bx[_0x117e('0x7d')]();var nn=an[0x0]-bn[0x0]||an[0x1][_0x117e('0x5')](bn[0x1]);if(nn)return nn;}return ax[_0x117e('0x1a')]-bx[_0x117e('0x1a')];}static[_0x117e('0x7e')](value,meta){if(meta[_0x117e('0xe')](_0x117e('0x7f')))return meta[_0x117e('0x10')]('dataType');if(value instanceof Array){if(meta['has']('keyValues')||meta[_0x117e('0xe')]('values'))return LookupType;}if(value instanceof Date)return DateType;if(Number[_0x117e('0x80')](value))return IntegerType;if(typeof value===_0x117e('0x81')&&!Number['isNaN'](value))return RealNumberType;if(typeof value===_0x117e('0x82'))return BooleanType;if(typeof value===_0x117e('0x83'))return StringType;return ObjectType;}static[_0x117e('0x0')](element,displayValue,value,view){var editor=document['createElement'](_0x117e('0x84'));editor[_0x117e('0x9')]=_0x117e('0x73');var model=view[_0x117e('0x2f')];if(model!=null){var meta=value[_0x117e('0x85')];var dataType=DynamicType[_0x117e('0x86')](value);if(!dataType)dataType=DynamicType[_0x117e('0x7e')](value[_0x117e('0x12')],meta);if(dataType){var customEditor=meta[_0x117e('0x10')]('customEditor');if(customEditor&&dataType['createCustomEditor']){var editor=dataType[_0x117e('0x43')];dataType['createCustomEditor'](editor,customEditor,element,displayValue,value['value'],view);return editor;}else if(dataType[_0x117e('0x44')])return dataType[_0x117e('0x44')](element,displayValue,value[_0x117e('0x12')],view);else return dataType[_0x117e('0x0')](element,displayValue,value[_0x117e('0x12')],view);}return StringType[_0x117e('0x0')](element,displayValue,value[_0x117e('0x12')],view);}}static[_0x117e('0x1c')](text){return text;}static[_0x117e('0x3e')](value,meta){var dataType=DynamicType[_0x117e('0x7e')](value,meta);return dataType['format'](value,meta);}static[_0x117e('0x34')](value1,value2){var dataType=DynamicType[_0x117e('0x7e')](value1,value1[_0x117e('0x85')]);return dataType['equals'](value1['value'],value2);}static get[_0x117e('0x3f')](){return'';}static[_0x117e('0x86')](){return null;}static[_0x117e('0x87')](){return null;}static[_0x117e('0x88')](){return null;}static[_0x117e('0x89')](text){return null;}}class ArrayModel{constructor(values,columns,keyField){this[_0x117e('0x8a')]=values;this[_0x117e('0x8b')]=columns;this['_keyField']=keyField;this[_0x117e('0x8c')]=IdGenerator[_0x117e('0x8d')](_0x117e('0x8e'));}[_0x117e('0x8f')](){if(this[_0x117e('0x90')]==undefined||this['_values']['length']==0x0)return null;var keyType=this['columnType'](this['_columns'][_0x117e('0x91')](c=>c[_0x117e('0x92')]==this[_0x117e('0x90')]));var values=this['_values'][_0x117e('0x79')](function(row){return row[this['_keyField']];}[_0x117e('0x93')](this));var sorted=values['sort'](keyType[_0x117e('0x2')]);var key=sorted[sorted[_0x117e('0x1a')]-0x1];return key;}[_0x117e('0x94')](row){if(row<this['rowCount']){var key=this['_values'][row][this[_0x117e('0x90')]];if(key!=undefined)return key;return row;}return this['_autoKey'];}['getKeyRow'](key){if(key==this[_0x117e('0x8c')])return this[_0x117e('0x30')];if(this[_0x117e('0x90')]==undefined)return key;var row=this[_0x117e('0x8a')][_0x117e('0x91')](v=>v[this[_0x117e('0x90')]]===key);return row;}[_0x117e('0x95')](column){return this['_columns'][column][_0x117e('0x7f')];}[_0x117e('0x32')](column){return this[_0x117e('0x8b')][column][_0x117e('0x92')];}[_0x117e('0x96')](column){return this[_0x117e('0x8b')][column]['caption'];}[_0x117e('0x97')](column){return this['_columns'][column][_0x117e('0x98')];}[_0x117e('0x99')](column){return this[_0x117e('0x8b')][column]['sortable'];}[_0x117e('0x9a')](column){return this[_0x117e('0x8b')][column][_0x117e('0x9b')];}[_0x117e('0x72')](column){return this[_0x117e('0x8b')][column][_0x117e('0x9c')];}[_0x117e('0x74')](row,column){if(this[_0x117e('0x95')](column)==DynamicType){if(row<this[_0x117e('0x30')]){var valueObj=this[_0x117e('0x12')](row,column);var userMetaData=DynamicType[_0x117e('0x88')](valueObj,row,column);if(userMetaData)return userMetaData;return valueObj[_0x117e('0x85')];}}return this[_0x117e('0x8b')][column][_0x117e('0x9c')];}['cellDataType'](row,column){if(this[_0x117e('0x95')](column)==DynamicType){if(row<this[_0x117e('0x30')]){var valueObj=this[_0x117e('0x12')](row,column);var userDataType=DynamicType['resolveDataTypeCallback'](valueObj,row,column);if(userDataType)return userDataType;return DynamicType[_0x117e('0x7e')](valueObj['value'],valueObj[_0x117e('0x85')]);}}return this['columnType'](column);}['setValue'](row,column,value){if(row<this[_0x117e('0x30')]){var columnName=this[_0x117e('0x8b')][column][_0x117e('0x92')];this[_0x117e('0x8a')][row][columnName]=value;}else throw new Error('Row\x20index\x20exceeds\x20the\x20number\x20of\x20array\x20elements.');}['value'](row,column){var columnName=this[_0x117e('0x8b')][column][_0x117e('0x92')];if(row<this[_0x117e('0x30')]){var value=this[_0x117e('0x8a')][row][columnName];if(this[_0x117e('0x95')](column)==DynamicType){var userValue=DynamicType['getCellValueCallback'](value,row,column);if(userValue)return{'value':userValue,'meta':new Map()};return{'value':value,'meta':new Map()};}if(typeof this[_0x117e('0x8a')][row][columnName]!=='undefined'){if(this['columnType'](column)===DateType||this['columnType'](column)===DateTimeType){if(isNaN(value))return new Date(Date['parse'](value));}return value;}}return undefined;}[_0x117e('0x9d')](row,column){var value=this[_0x117e('0x12')](row,column);var meta=this[_0x117e('0x72')](column);if(this[_0x117e('0x95')](column)==DynamicType){var userFormat=DynamicType[_0x117e('0x89')](value,row,column);if(userFormat)return userFormat;var userDataType=DynamicType[_0x117e('0x86')](value,row,column);if(userDataType)return userDataType['format'](value[_0x117e('0x12')],meta);return DynamicType[_0x117e('0x3e')](value[_0x117e('0x12')],meta);}var dataType=this[_0x117e('0x95')](column);if(dataType['format'])return dataType[_0x117e('0x3e')](value,meta);return'';}[_0x117e('0x35')](row){if(row>-0x1&&row<this[_0x117e('0x30')]){return this[_0x117e('0x8a')][row];}else{var data={};for(var c=0x0;c<this[_0x117e('0x8b')]['length'];c++){data[this[_0x117e('0x8b')][c][_0x117e('0x92')]]=undefined;}return data;}}['addRow'](rowData,index){if(rowData===undefined)rowData=this['getRowData'](-0x1);if(index===undefined)index=this[_0x117e('0x30')];this['_values']['splice'](index,0x0,rowData);return index;}['deleteRow'](row){if(row>-0x1&&row<this['rowCount'])this['_values']['splice'](row,0x1);}get[_0x117e('0x30')](){return this[_0x117e('0x8a')][_0x117e('0x1a')];}get[_0x117e('0x9e')](){return this[_0x117e('0x8b')][_0x117e('0x1a')];}}class Command{static[_0x117e('0x9f')](sender,args){var control=document[_0x117e('0x45')](_0x117e('0x6'));control[_0x117e('0x7')]='button';control[_0x117e('0x12')]=this['name'];control[_0x117e('0x9')]='mfdv-command-control';return control;}static get[_0x117e('0xa0')](){return'';}static get[_0x117e('0xa1')](){return'click';}static[_0x117e('0x55')](command,control,view,row){control[_0x117e('0x15')](command[_0x117e('0xa1')],e=>{e[_0x117e('0x28')]();view[_0x117e('0xa2')](command[_0x117e('0xa0')],control,row);});}}class RowModifyingEventArgs extends CancelEventArgs{constructor(row,action,rowData,oldValues,newValues){super();this[_0x117e('0xa3')]=row;this[_0x117e('0xa4')]=action;this[_0x117e('0xa5')]=rowData;this[_0x117e('0xa6')]=oldValues||new Map();this[_0x117e('0xa7')]=newValues||new Map();}get[_0x117e('0xc')](){return this['_row'];}get[_0x117e('0xa8')](){return this[_0x117e('0xa5')];}get['action'](){return this[_0x117e('0xa4')];}get[_0x117e('0xa9')](){return this[_0x117e('0xa6')];}get[_0x117e('0xaa')](){return this[_0x117e('0xa7')];}}class RowModifiedEventArgs extends EventArgs{constructor(row,action,rowData,oldValues,newValues){super();this['_row']=row;this[_0x117e('0xa4')]=action;this[_0x117e('0xa5')]=rowData;this[_0x117e('0xa6')]=oldValues||new Map();this[_0x117e('0xa7')]=newValues||new Map();}get[_0x117e('0xc')](){return this[_0x117e('0xa3')];}get[_0x117e('0xa8')](){return this[_0x117e('0xa5')];}get[_0x117e('0xab')](){return this['_action'];}get['oldValues'](){return this['_oldValues'];}get[_0x117e('0xaa')](){return this[_0x117e('0xa7')];}}class CommandEventArgs extends RowModifyingEventArgs{constructor(commandName,control,row,rowData){super(row,RowAction[_0x117e('0xac')],rowData);this[_0x117e('0xad')]=commandName;this[_0x117e('0xae')]=control;}get[_0x117e('0xa0')](){return this[_0x117e('0xad')];}get[_0x117e('0xaf')](){return this['_control'];}}class CellValidateEventArgs extends CancelEventArgs{constructor(row,column,value,displayValue){super();this[_0x117e('0xa3')]=row;this[_0x117e('0xb0')]=column;this[_0x117e('0x50')]=value;this[_0x117e('0xb1')]=displayValue;}get[_0x117e('0xc')](){return this[_0x117e('0xa3')];}get[_0x117e('0xd')](){return this['_column'];}get[_0x117e('0x12')](){return this[_0x117e('0x50')];}get[_0x117e('0xb2')](){return this[_0x117e('0xb1')];}}class CellEventArgs extends EventArgs{constructor(row,column,value,displayValue){super();this['_row']=row;this['_column']=column;this['_value']=value;this['_displayValue']=displayValue;}get['row'](){return this[_0x117e('0xa3')];}get['column'](){return this['_column'];}get[_0x117e('0x12')](){return this[_0x117e('0x50')];}get[_0x117e('0xb2')](){return this[_0x117e('0xb1')];}}class CellCustomDrawEventArgs extends CellEventArgs{constructor(row,column,defaultContent){super(row,column);this['_defaultContent']=defaultContent;}get['defaultContent'](){return this[_0x117e('0xb3')];}get[_0x117e('0xb4')](){return this[_0x117e('0xb5')];}set[_0x117e('0xb4')](value){this[_0x117e('0xb5')]=value;}}class CellResolveEventArgs extends EventArgs{constructor(row,column,value,result){super();this['_row']=row;this[_0x117e('0xb0')]=column;this[_0x117e('0x50')]=value;this[_0x117e('0xb6')]=result;}get[_0x117e('0xc')](){return this['_row'];}get[_0x117e('0xd')](){return this[_0x117e('0xb0')];}get[_0x117e('0x12')](){return this[_0x117e('0x50')];}get[_0x117e('0xb7')](){return this[_0x117e('0xb6')];}set['result'](value){this['_result']=value;}}class PropertyEventArgs extends CancelEventArgs{constructor(action,propertyName,index,propertyValue,oldValue,newValue,meta){super();this[_0x117e('0xa4')]=action;this[_0x117e('0xb8')]=propertyName;this[_0x117e('0xb9')]=index;this[_0x117e('0xba')]=propertyValue;this[_0x117e('0xbb')]=oldValue;this['_newValue']=newValue;this[_0x117e('0xbc')]=meta;}get[_0x117e('0xab')](){return this['_action'];}get['propertyName'](){return this[_0x117e('0xb8')];}get[_0x117e('0xbd')](){return this['_index'];}get[_0x117e('0xbe')](){return this[_0x117e('0xba')];}get['oldValue'](){return this[_0x117e('0xbb')];}get[_0x117e('0xbf')](){return this[_0x117e('0xc0')];}set[_0x117e('0xbf')](value){this[_0x117e('0xc0')]=value;}get['meta'](){return this[_0x117e('0xbc')];}}class CommandType{static[_0x117e('0xc1')](element,view){var row=parseInt(element[_0x117e('0xb')][_0x117e('0xc')]);if(row==view[_0x117e('0x2f')][_0x117e('0x30')])return;var meta=view[_0x117e('0x2f')][_0x117e('0x72')](parseInt(element[_0x117e('0xb')][_0x117e('0xd')]));var commands=meta['get'](_0x117e('0xc2'))||[];for(var i=0x0;i<commands['length'];i++){var command=commands[i];var control=command['createControl'](view,new RowModifiedEventArgs(row,RowAction['Render'],view[_0x117e('0x2f')][_0x117e('0x35')](row)));control[_0x117e('0xb')][_0x117e('0xc3')]=command['commandName'];Command[_0x117e('0x55')](command,control,view,row);element[_0x117e('0x2e')](control);}}}class CurrencyType extends RealNumberType{static[_0x117e('0x1c')](text){var asReal=super[_0x117e('0x1c')](text);if(typeof asReal===_0x117e('0x3'))return undefined;var decimalFormatter=new Intl['NumberFormat']('en-US',{'style':_0x117e('0x6e'),'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':![]});var rounded=decimalFormatter[_0x117e('0x3e')](asReal);if(isNaN(rounded))return undefined;return parseFloat(rounded);}static[_0x117e('0x3e')](value,meta){if(typeof value==='undefined')return'';meta=meta||new Map();var format=meta[_0x117e('0xe')]('format')?meta['get'](_0x117e('0x3e')):{'locales':_0x117e('0x59'),'options':{'currencyDisplay':_0x117e('0xc4'),'useGrouping':!![]}};format[_0x117e('0x5c')]=format[_0x117e('0x5c')]||{};format[_0x117e('0x5c')][_0x117e('0xc5')]=_0x117e('0xc6');format[_0x117e('0x5c')]['currency']=format[_0x117e('0x5c')][_0x117e('0xc6')]||_0x117e('0xc7');return new Intl[(_0x117e('0x6f'))](format['locales'],format[_0x117e('0x5c')])[_0x117e('0x3e')](value);}}class DeleteCommand extends Command{static get[_0x117e('0xa0')](){return'Delete';}static[_0x117e('0xc8')](sender,args){sender[_0x117e('0xc9')](args[_0x117e('0xc')],0x1);}}class DomRenderer{get[_0x117e('0xca')](){return this[_0x117e('0xcb')];}set[_0x117e('0xca')](value){this[_0x117e('0xcb')]=value;}get['visibleRows'](){}get[_0x117e('0xcc')](){}[_0x117e('0xcd')](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}['invalidate'](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}['refreshRows'](index,count){throw new Error(_0x117e('0x1'));}[_0x117e('0x39')](row,column){throw new Error(_0x117e('0x1'));}['onRowCreated'](){throw new Error(_0x117e('0x1'));}['onRowDeleted'](){throw new Error(_0x117e('0x1'));}[_0x117e('0xce')](){throw new Error(_0x117e('0x1'));}['onSelect'](){throw new Error(_0x117e('0x1'));}[_0x117e('0xcf')](){throw new Error(_0x117e('0x1'));}}class UIControl extends Control{constructor(element,tagName){super(element,tagName);const Messenger=function(){var licenseKey=null;var start,startXhr;var d=null,dm=null,ns;var rd=new Date(0x7e7,0xa,0x7);var f,dt,checked=![],nowait=![];var dec=String[_0x117e('0xd0')];if(!start)start=new Date()[_0x117e('0xd1')]();function drawMessage(control){if(!d&&new Date()[_0x117e('0xd1')]()-start>0x1f40){d=control;}if(!d)return;if(req(control))return;dm=dec[_0x117e('0xd2')](undefined,control[_0x117e('0xd3')]||UIControl['tm']);ns=dm==0x0?'':control['constructor']['ns'];var h=control[_0x117e('0xd4')];if(h){h[_0x117e('0x3d')]=ns+dm;}}function logMeInConsole(){return String[_0x117e('0xd0')][_0x117e('0xd2')](undefined,[0x4d,0x69,0x6e,0x64,0x46,0x75,0x73,0x69,0x6f,0x6e,0x2e,0x44,0x61,0x74,0x61,0x56,0x69,0x65,0x77,0x73,0x20,0x20,0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x20,0x74,0x6f,0x20]);}function ab2str(buf){return String[_0x117e('0xd0')]['apply'](null,new Uint16Array(buf));}function str2ab(str){var buf=new ArrayBuffer(str[_0x117e('0x1a')]*0x2);var bufView=new Uint16Array(buf);for(var i=0x0,strLen=str[_0x117e('0x1a')];i<strLen;i++){bufView[i]=str[_0x117e('0xd5')](i);}return buf;}var isBase64=function(value){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0x117e('0x65')](value);};function req(control){var getLicenseKey=function(){return licenseKey||_0x22dae4['licenseKey'];};var lc2=function(){var content=String[_0x117e('0xd0')]['apply'](undefined,[0x5a,0x6b,0x59,0x6c,0x4d,0x55,0x5a,0x57,0x57,0x45,0x51,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x5a,0x51,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x56,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x54,0x4e,0x59,0x53,0x43,0x55,0x77,0x4e,0x6e,0x42,0x55,0x55,0x31,0x6b,0x6c,0x4e,0x30,0x4a,0x49,0x54,0x6c,0x52,0x53,0x55,0x79,0x55,0x78,0x52,0x69,0x55,0x78,0x4d,0x53,0x55,0x78,0x52,0x6b,0x73,0x6c,0x4e,0x55,0x4e,0x52,0x53,0x46,0x67,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x54,0x41,0x6c,0x4d,0x45,0x4d,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x54,0x41,0x6c,0x4d,0x45,0x55,0x6c,0x4d,0x45,0x4e,0x70,0x4a,0x54,0x42,0x47,0x4a,0x54,0x42,0x47,0x4a,0x54,0x41,0x33,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x41,0x33,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x45,0x7a,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x5a,0x79,0x55,0x78,0x52,0x69,0x55,0x30,0x4d,0x43,0x55,0x78,0x4d,0x55,0x59,0x6c,0x4d,0x55,0x5a,0x57,0x57,0x45,0x51,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x5a,0x51,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x56,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x54,0x4d,0x6c,0x4e,0x55,0x56,0x53,0x4a,0x54,0x41,0x32,0x63,0x46,0x52,0x54,0x57,0x53,0x55,0x33,0x51,0x6b,0x68,0x4f,0x56,0x46,0x4a,0x54,0x4a,0x54,0x46,0x47,0x4a,0x54,0x45,0x78,0x4a,0x54,0x46,0x47,0x53,0x79,0x55,0x31,0x51,0x31,0x46,0x49,0x57,0x43,0x55,0x78,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x78,0x52,0x69,0x55,0x77,0x52,0x69,0x55,0x77,0x4e,0x43,0x55,0x77,0x4e,0x43,0x55,0x77,0x4e,0x43,0x55,0x78,0x4d,0x43,0x55,0x77,0x51,0x79,0x55,0x77,0x52,0x69,0x55,0x78,0x4d,0x43,0x55,0x77,0x52,0x53,0x55,0x77,0x51,0x32,0x6b,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x54,0x4d,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x52,0x6e,0x4a,0x54,0x46,0x47,0x4a,0x54,0x51,0x77,0x4a,0x54,0x45,0x78,0x52,0x69,0x55,0x78,0x52,0x6c,0x5a,0x59,0x52,0x43,0x55,0x78,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x78,0x52,0x69,0x55,0x31,0x52,0x56,0x46,0x55,0x57,0x46,0x4e,0x4a,0x54,0x69,0x55,0x31,0x51,0x30,0x39,0x59,0x4a,0x54,0x56,0x44,0x4a,0x54,0x45,0x7a,0x57,0x45,0x67,0x6c,0x4d,0x44,0x5a,0x77,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x64,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x54,0x45,0x6c,0x4d,0x55,0x5a,0x4c,0x4a,0x54,0x56,0x44,0x55,0x55,0x68,0x59,0x4a,0x54,0x46,0x47,0x4a,0x54,0x41,0x33,0x4a,0x54,0x46,0x47,0x4a,0x54,0x42,0x47,0x4a,0x54,0x41,0x30,0x4a,0x54,0x41,0x30,0x4a,0x54,0x41,0x30,0x4a,0x54,0x45,0x77,0x4a,0x54,0x42,0x44,0x4a,0x54,0x42,0x47,0x4a,0x54,0x45,0x77,0x4a,0x54,0x42,0x46,0x4a,0x54,0x42,0x44,0x61,0x53,0x55,0x77,0x52,0x69,0x55,0x77,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x77,0x4e,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x78,0x4d,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x47,0x63,0x6c,0x4d,0x55,0x59,0x6c,0x4e,0x44,0x41,0x6c,0x4e,0x6a,0x41,0x3d]);if(!isBase64(content))return![];var cb=new Uint16Array(str2ab(decodeURIComponent(atob(content)))),cc_1=new Uint16Array(cb[_0x117e('0x1a')]);for(var i=0x0;i<cb[_0x117e('0x1a')];i++){var v=cb[i];cc_1[i]=~(v^~'37')^0x18;}var strl=ab2str(cc_1['buffer']);var doms=JSON[_0x117e('0x1c')](strl);try{if(doms&&doms[_0x117e('0x1a')]){var h=typeof window==='object'&&typeof window[_0x117e('0xd6')]===_0x117e('0xd7')&&typeof window[_0x117e('0xd6')][_0x117e('0xd8')]===_0x117e('0x83')&&window['location'][_0x117e('0xd8')];if(h){h=(h||'')[_0x117e('0x6d')](String[_0x117e('0xd0')](0x77,0x77,0x77,0x2e),'');for(var i=0x0;i<doms[_0x117e('0x1a')];i++){var n=doms[i][_0x117e('0x20')][_0x117e('0xd9')](';');if(n[0x0][_0x117e('0x6d')](String[_0x117e('0xd0')](0x77,0x77,0x77,0x2e),'')==h&&rd[_0x117e('0xd1')]()<=new Date(doms[i]['value'])['getTime']()){f=!![];console[_0x117e('0xda')](''+logMeInConsole()+n[0x1]+'.');return!![];}}}}}catch(_0x2e92ae){return![];}return![];};var lc=function(content){var cb=new Uint16Array(str2ab(decodeURIComponent(atob(content)))),cc_1=new Uint16Array(cb[_0x117e('0x1a')]);for(var i=0x0;i<cb[_0x117e('0x1a')];i++){var v=cb[i];cc_1[i]=~(v^~'73')^0x2a;}var strl=ab2str(cc_1['buffer']);var flag1=![],flag2=![];var a1='',a2='';for(var strli=0x0;strli<strl[_0x117e('0x1a')];strli++){if(!flag1){if(strl[strli]=='.'){flag1=!![];continue;}a1+=strl[strli];continue;}if(!flag2){if(strl[strli]=='.'){flag2=!![];continue;}a2+=strl[strli];continue;}break;}var c1='',c2='';strl=strl[_0x117e('0x22')](a1[_0x117e('0x1a')]+a2['length']+0x2);a1=parseInt(a1);a2=parseInt(a2);for(var arg=0x0;arg<a1;++arg){if(arg<=a2)c1+=strl[arg*0x2];else c1+=strl[a2*0x2+(arg-a2)];}for(var arg=0x0;arg<a2;++arg){if(arg<a1)c2+=strl[0x1+arg*0x2];else c2+=strl[a1*0x2+(arg-a1)];}var cj_1=[c1,c2];var expDate=cj_1[0x0][_0x117e('0x22')](0x2,0x4)+'-'+cj_1[0x0][_0x117e('0x22')](0x6,0x2)+'-'+cj_1[0x0][_0x117e('0x22')](0x8,0x2);f=cj_1[0x0][_0x117e('0x22')](0x11)[_0x117e('0xdb')]('(jspack)')&&rd[_0x117e('0xd1')]()<=new Date(expDate)[_0x117e('0xd1')]();if(f)console[_0x117e('0xda')](''+logMeInConsole()+cj_1[0x1]+'.');};if(!checked){if(control[_0x117e('0xdc')])return control[_0x117e('0xdc')]();checked=!![];if(lc2()===!![]){nowait=!![];return!![];}if(getLicenseKey()==null){startXhr=new Date()[_0x117e('0xd1')]();var fn=String[_0x117e('0xd0')][_0x117e('0xd2')](undefined,Control['tm2']);var xhr_1=new XMLHttpRequest();try{var url=encodeURI(control['licenseLocation']!=''?control['licenseLocation']:fn);xhr_1[_0x117e('0xdd')]('GET',url);}catch(_0x2f4caf){return;}if(xhr_1[_0x117e('0xde')])xhr_1[_0x117e('0xde')](_0x117e('0xdf'));xhr_1['onload']=function(e){if(xhr_1[_0x117e('0xe0')]===0xc8){var content=xhr_1[_0x117e('0xe1')];if(content['length']==0x0)return;try{if(isBase64(content))lc(content);}catch(_0x3cd787){}}};xhr_1[_0x117e('0xe2')]=function(e){};xhr_1['send']();}else{nowait=!![];try{if(isBase64(getLicenseKey()))lc(getLicenseKey());}catch(_0x1313e1){}}}if(nowait||!dt&&new Date()[_0x117e('0xd1')]()-startXhr>0x1f40)dt=!![];if(!dt)return!![];if(f)return!![];return![];}return class Messenger{[_0x117e('0xe3')](control){drawMessage(control);}[_0x117e('0xe4')](value){licenseKey=value;}};}();this['_messenger']=new Messenger(null);}get[_0x117e('0xd4')](){var el=document[_0x117e('0xe5')](_0x117e('0xe6'));if(el)el[_0x117e('0xe7')][_0x117e('0xe8')](el);el=document[_0x117e('0x45')](_0x117e('0xe9'));el[_0x117e('0xea')][_0x117e('0xeb')](_0x117e('0xec'));document['body']['appendChild'](el);return el;}[_0x117e('0xed')](value){this[_0x117e('0xee')][_0x117e('0xe4')](value);}[_0x117e('0x53')](){super[_0x117e('0x53')]();this[_0x117e('0xee')][_0x117e('0xe3')](this);return this[_0x117e('0xef')];}static get['tm'](){return[0x20,0x66,0x6f,0x72,0x20,0x4a,0x61,0x76,0x61,0x53,0x63,0x72,0x69,0x70,0x74,0x2c,0x20,0x74,0x72,0x69,0x61,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e];}static get['ns'](){return _0x117e('0xf0');}[_0x117e('0xf1')](e){this[_0x117e('0xee')]['message'](this);super['onMouseDown'](e);}}class ProxyModel{constructor(sourceModel){this[_0x117e('0xf2')]=sourceModel;this['_filter']=null;this[_0x117e('0xf3')]=-0x1;this[_0x117e('0xf4')]=!![];this[_0x117e('0xf5')]=-0x1;this[_0x117e('0xf6')]=null;}[_0x117e('0x8f')](){return this[_0x117e('0xf2')][_0x117e('0x8f')]();}[_0x117e('0xf7')](key){this[_0x117e('0xf8')]();if(this[_0x117e('0xf6')]!=null){var index=this[_0x117e('0xf2')]['getKeyRow'](key);if(index==this[_0x117e('0xf6')][_0x117e('0x1a')])return index;else return this[_0x117e('0xf6')][_0x117e('0xf9')](index);}else return this['sourceModel'][_0x117e('0xf7')](key);}[_0x117e('0x94')](index){this[_0x117e('0xf8')]();if(this[_0x117e('0xf6')]!=null)if(index==this[_0x117e('0xf6')][_0x117e('0x1a')])return this[_0x117e('0xf2')][_0x117e('0x94')](this['sourceModel'][_0x117e('0x30')]);else return this[_0x117e('0xf2')][_0x117e('0x94')](this[_0x117e('0xf6')][index]);else return this['sourceModel'][_0x117e('0x94')](index);}[_0x117e('0x95')](column){return this['sourceModel'][_0x117e('0x95')](column);}[_0x117e('0x32')](column){return this[_0x117e('0xf2')][_0x117e('0x32')](column);}[_0x117e('0x96')](column){return this['sourceModel']['columnCaption'](column);}[_0x117e('0x97')](column){return this[_0x117e('0xf2')]['columnEditable'](column);}[_0x117e('0x99')](column){return this[_0x117e('0xf2')][_0x117e('0x99')](column);}[_0x117e('0x9a')](column){return this[_0x117e('0xf2')]['columnHidden'](column);}[_0x117e('0x72')](column){return this[_0x117e('0xf2')][_0x117e('0x72')](column);}['cellMetaData'](row,column){this[_0x117e('0xf8')]();if(this[_0x117e('0xf6')]!=null)if(row==this[_0x117e('0xf6')]['length'])return this[_0x117e('0xf2')][_0x117e('0x74')](this[_0x117e('0xf2')][_0x117e('0x30')],column);else return this[_0x117e('0xf2')][_0x117e('0x74')](this[_0x117e('0xf6')][row],column);else return this[_0x117e('0xf2')]['cellMetaData'](row,column);}[_0x117e('0x14')](row,column){this[_0x117e('0xf8')]();if(this[_0x117e('0xf6')]!=null)if(row==this[_0x117e('0xf6')]['length'])return this[_0x117e('0xf2')][_0x117e('0x14')](this[_0x117e('0xf2')][_0x117e('0x30')],column);else return this[_0x117e('0xf2')]['cellDataType'](this[_0x117e('0xf6')][row],column);else return this['sourceModel'][_0x117e('0x14')](row,column);}[_0x117e('0x37')](row,column,value){this[_0x117e('0xf8')]();if(this[_0x117e('0xf6')]!=null)if(row==this['indexMap'][_0x117e('0x1a')])this[_0x117e('0xf2')][_0x117e('0x37')](this['sourceModel']['rowCount'],column,value);else this[_0x117e('0xf2')][_0x117e('0x37')](this[_0x117e('0xf6')][row],column,value);else this['sourceModel'][_0x117e('0x37')](row,column,value);}['value'](row,column){this['ensureIndexMap']();if(this[_0x117e('0xf6')]!=null)if(row==this[_0x117e('0xf6')][_0x117e('0x1a')])return this['sourceModel'][_0x117e('0x12')](this['sourceModel'][_0x117e('0x30')],column);else return this[_0x117e('0xf2')]['value'](this['indexMap'][row],column);else return this[_0x117e('0xf2')][_0x117e('0x12')](row,column);}['displayValue'](row,column){this['ensureIndexMap']();if(this[_0x117e('0xf6')]!=null)if(row==this[_0x117e('0xf6')][_0x117e('0x1a')])return this[_0x117e('0xf2')][_0x117e('0x9d')](this[_0x117e('0xf2')]['rowCount'],column);else{if(this['isGroupRow'](row)){var value=this[_0x117e('0xf6')][row][_0x117e('0x12')];return value!=undefined?value:'';}return this[_0x117e('0xf2')][_0x117e('0x9d')](this[_0x117e('0xf6')][row],column);}else return this[_0x117e('0xf2')][_0x117e('0x9d')](row,column);}[_0x117e('0x35')](row){this[_0x117e('0xf8')]();if(this[_0x117e('0xf6')]!=null)return this[_0x117e('0xf2')][_0x117e('0x35')](this['indexMap'][row]);else return this[_0x117e('0xf2')]['getRowData'](row);}[_0x117e('0x33')](rowData,index){index=undefined;var row=this[_0x117e('0xf2')][_0x117e('0x33')](rowData,index);this['invalidate']();this[_0x117e('0xf8')]();return this[_0x117e('0xf6')][_0x117e('0xf9')](row);}['deleteRow'](row){this[_0x117e('0xf8')]();if(this['indexMap']!=null)this['sourceModel'][_0x117e('0xfa')](this['indexMap'][row]);else this['sourceModel']['deleteRow'](row);this[_0x117e('0xfb')]();}get[_0x117e('0x30')](){this['ensureIndexMap']();if(this[_0x117e('0xf6')]!=null)return this[_0x117e('0xf6')][_0x117e('0x1a')];else return this[_0x117e('0xf2')][_0x117e('0x30')];}get[_0x117e('0x9e')](){return this['sourceModel'][_0x117e('0x9e')];}[_0x117e('0xfb')](){this[_0x117e('0xf6')]=null;}['ensureIndexMap'](){if(this[_0x117e('0xf6')]==null){if(this['_sortedColumn']>-0x1||this[_0x117e('0xf5')]>-0x1||this['_filter']!=null){this[_0x117e('0xf6')]=[];if(this[_0x117e('0xfc')]){for(var i=0x0;i<this[_0x117e('0xf2')][_0x117e('0x30')];i++)if(this[_0x117e('0xfc')](i,this[_0x117e('0xf2')]))this['indexMap']['push'](i);}else{for(var i=0x0;i<this['sourceModel'][_0x117e('0x30')];i++)this[_0x117e('0xf6')][i]=i;}if(this[_0x117e('0xf3')]>-0x1){var col=this['_sortedColumn'];DataType['metaDataContext']=this['sourceModel']['columnMetaData'](col);this[_0x117e('0xf6')][_0x117e('0xfd')]((i1,i2)=>{var v1=this[_0x117e('0xf2')][_0x117e('0x12')](i1,col);var v2=this['sourceModel']['value'](i2,col);if(this[_0x117e('0xf5')]>0x1){var g1=this[_0x117e('0xf2')][_0x117e('0x12')](i1,this[_0x117e('0xf5')]);var g2=this[_0x117e('0xf2')][_0x117e('0x12')](i2,this['_groupColumn']);if(this[_0x117e('0xf4')]){var gs=this[_0x117e('0xf2')][_0x117e('0x95')](this[_0x117e('0xf5')])[_0x117e('0x2')](g1,g2);var vs=this['sourceModel']['columnType'](col)[_0x117e('0x2')](v1,v2);return gs||vs;}else{var gs=-this[_0x117e('0xf2')][_0x117e('0x95')](this[_0x117e('0xf5')])['sortFunction'](g1,g2);var vs=-this[_0x117e('0xf2')][_0x117e('0x95')](col)[_0x117e('0x2')](v1,v2);return gs||vs;}}if(this[_0x117e('0xf4')])return this['sourceModel'][_0x117e('0x95')](col)[_0x117e('0x2')](v1,v2);else return-this['sourceModel'][_0x117e('0x95')](col)[_0x117e('0x2')](v1,v2);});}if(this[_0x117e('0xf5')]>-0x1){var gv=Number[_0x117e('0x41')];for(var i=0x0;i<this[_0x117e('0xf6')][_0x117e('0x1a')];i++){var v1=this[_0x117e('0xf2')]['value'](this[_0x117e('0xf6')][i],this[_0x117e('0xf5')]);if(v1!=gv)this[_0x117e('0xf6')][_0x117e('0xfe')](i,0x0,{'groupRow':!![],'value':v1});gv=v1;}}}}}get['filter'](){return this[_0x117e('0xfc')];}set['filter'](value){if(this[_0x117e('0xfc')]!=value){this[_0x117e('0xfc')]=value;this[_0x117e('0xfb')]();}}get['sortedColumn'](){return this['_sortedColumn'];}set[_0x117e('0xff')](value){if(this[_0x117e('0xf3')]!=value){this[_0x117e('0xf3')]=value;this[_0x117e('0xfb')]();}}get[_0x117e('0x100')](){return this['_sortAscending'];}set[_0x117e('0x100')](value){if(this[_0x117e('0xf4')]!=value){this[_0x117e('0xf4')]=value;this[_0x117e('0xfb')]();}}get[_0x117e('0x101')](){return this[_0x117e('0xf5')];}set[_0x117e('0x101')](value){if(this[_0x117e('0xf5')]!=value){this[_0x117e('0xf5')]=value;this[_0x117e('0xfb')]();}}['isGroupRow'](row){this[_0x117e('0xf8')]();if(this[_0x117e('0xf6')]!=null){if(row==this[_0x117e('0xf6')][_0x117e('0x1a')])return![];return this[_0x117e('0xf6')][row]['groupRow']||![];}return![];}}class ImageType extends DataType{static[_0x117e('0x2')](value1,value2){return StringType[_0x117e('0x2')](value1,value2);}static[_0x117e('0x0')](element,displayValue,value,view){var meta=view[_0x117e('0x2f')][_0x117e('0x72')](parseInt(element[_0x117e('0xb')][_0x117e('0xd')]))||new Map();if(!meta['has'](_0x117e('0x43'))){return ImageType['createDefaultEditor'](element,displayValue,value,view);}else{var editor=new ImagePicker();ImageType[_0x117e('0x48')](editor,meta[_0x117e('0x10')](_0x117e('0x43')),element,displayValue,value,view);return editor;}}static[_0x117e('0x44')](element,displayValue,value,view){var editor=document[_0x117e('0x45')](_0x117e('0x6'));editor[_0x117e('0x7')]='file';editor[_0x117e('0x102')]=_0x117e('0x103');editor[_0x117e('0x9')]=_0x117e('0xa');editor['addEventListener'](_0x117e('0x16'),e=>{if(e['target'][_0x117e('0x104')]&&e[_0x117e('0x29')][_0x117e('0x104')][0x0]){var reader=new FileReader();reader[_0x117e('0x105')]=function(args){StringType[_0x117e('0x1d')](this['result'],args[0x0],args[0x1]);}[_0x117e('0x93')](reader,[element,view]);reader[_0x117e('0x106')](e['target']['files'][0x0]);}else StringType[_0x117e('0x1d')](null,element,view);});element[_0x117e('0x2e')](editor);return editor;}static[_0x117e('0x39')](view,element,r,c,displayValue){element[_0x117e('0x3c')][_0x117e('0x3d')]=displayValue;}static[_0x117e('0x48')](editor,options,element,displayValue,value,view){editor['cssClass']='mfdv-string-editor';editor[_0x117e('0x4a')]=view[_0x117e('0x4a')];editor[_0x117e('0x4b')]=0x2;editor['createWrapper']=![];editor[_0x117e('0x4d')](options);editor[_0x117e('0x12')]=value||null;editor['valueChanged']['addEventListener']((sender,args)=>{StringType[_0x117e('0x1d')](editor[_0x117e('0x12')],element,view);});element[_0x117e('0x2e')](editor[_0x117e('0x53')]());editor[_0x117e('0x54')]=view['shadowParent'];editor[_0x117e('0x55')]();}static[_0x117e('0x1c')](text){return text;}static[_0x117e('0x34')](value1,value2){return StringType['equals'](value1,value2);}static['format'](value,meta){if(value==null)return'';if(!value)return'';var image=document[_0x117e('0x45')](_0x117e('0xe9'));image[_0x117e('0xc5')]['backgroundImage']=_0x117e('0x107')+value+')';image[_0x117e('0x9')]=_0x117e('0x108');return image[_0x117e('0x68')];}static get['textAlign'](){return'';}}class GridRenderer extends DomRenderer{get[_0x117e('0x109')](){return this[_0x117e('0xca')][_0x117e('0x10a')][_0x117e('0x10b')];}get['visibleCells'](){var model=this[_0x117e('0xca')]['effectiveModel'];var cells=new Array(model[_0x117e('0x9e')]);for(var i=0x0;i<model[_0x117e('0x9e')];i++){cells[i]=[][_0x117e('0x10c')][_0x117e('0x10d')](this[_0x117e('0xca')][_0x117e('0x10a')][_0x117e('0x10e')](_0x117e('0x10f')+i+'\x27]'));}return cells;}[_0x117e('0xfb')](){if(!this['repaintId'])this[_0x117e('0x110')]=setTimeout(()=>{this[_0x117e('0xcd')]();},0x14);}[_0x117e('0xcd')](){this[_0x117e('0x53')]();this['drawRows']();if(this['repaintId']){clearTimeout(this[_0x117e('0x110')]);this[_0x117e('0x110')]=null;}this[_0x117e('0xca')]['onAfterRender']();this[_0x117e('0xca')][_0x117e('0x111')]=![];}['draw'](){this[_0x117e('0xca')][_0x117e('0x112')]();var wrapper=this[_0x117e('0xca')][_0x117e('0x113')];wrapper['innerHTML']='';var header=this[_0x117e('0x114')]();var content=this[_0x117e('0x115')]();wrapper[_0x117e('0x2e')](content);wrapper[_0x117e('0x2e')](header);}[_0x117e('0x114')](){var thead=document[_0x117e('0x45')](_0x117e('0xe9'));thead[_0x117e('0x9')]=_0x117e('0x116');var theadtr=document[_0x117e('0x45')]('div');var tableCorner=document[_0x117e('0x45')](_0x117e('0xe9'));tableCorner[_0x117e('0x9')]=_0x117e('0x117');tableCorner[_0x117e('0xc5')]['flex']=_0x117e('0x118')+this[_0x117e('0xca')]['_rowHeaderWidth']+'px';theadtr[_0x117e('0x2e')](tableCorner);var model=this[_0x117e('0xca')][_0x117e('0x2f')];if(model){for(let c=0x0;c<model[_0x117e('0x9e')];c++){var th=document[_0x117e('0x45')](_0x117e('0xe9'));th[_0x117e('0xb')]['column']=c;th[_0x117e('0xc5')]['flex']=_0x117e('0x119');if(model['columnHidden'](c)||this[_0x117e('0x11a')])th[_0x117e('0xea')][_0x117e('0xeb')](_0x117e('0x11b'));if(c==this[_0x117e('0xca')]['sortedColumn'])th[_0x117e('0xea')][_0x117e('0xeb')](_0x117e('0x11c')+(this[_0x117e('0xca')][_0x117e('0x100')]?_0x117e('0x11d'):_0x117e('0x11e')));var name=model[_0x117e('0x96')](c);var nameText=document[_0x117e('0x3a')](name);var nameDiv=document[_0x117e('0x45')](_0x117e('0xe9'));var content=this['grid'][_0x117e('0x11f')](-0x1,c,nameText);nameDiv[_0x117e('0x2e')](content||nameText);th[_0x117e('0x2e')](nameDiv);theadtr[_0x117e('0x2e')](th);}}thead[_0x117e('0x2e')](theadtr);return thead;}[_0x117e('0x115')](){var c=document[_0x117e('0x45')](_0x117e('0xe9'));c[_0x117e('0x9')]='mfdv-grid-data-table';c[_0x117e('0x120')]=0x0;return c;}[_0x117e('0x121')](){var model=this[_0x117e('0xca')][_0x117e('0x2f')];if(model){var index=this[_0x117e('0xca')]['scrollRow'];var row=this[_0x117e('0x122')](model,index);this['grid'][_0x117e('0x10a')][_0x117e('0x2e')](row);this['grid'][_0x117e('0x123')](index,RowAction[_0x117e('0x124')]);this[_0x117e('0x125')]=DomUtils[_0x117e('0x126')](row)[_0x117e('0x127')];var rowsHeight=this[_0x117e('0x125')];while(rowsHeight<this[_0x117e('0xca')]['contentClientHeight']&&index<model[_0x117e('0x30')]){this[_0x117e('0xca')]['dataTable'][_0x117e('0x2e')](this[_0x117e('0x122')](model,++index));this[_0x117e('0xca')][_0x117e('0x123')](index,RowAction[_0x117e('0x124')]);rowsHeight+=this[_0x117e('0x125')];}this[_0x117e('0x128')]=rowsHeight;}}[_0x117e('0x122')](model,r){var isNewRow=r==model['rowCount'];if(!isNewRow){var isGroupRow=this[_0x117e('0xca')][_0x117e('0x129')](r);if(isGroupRow){var tr=document[_0x117e('0x45')](_0x117e('0xe9'));tr[_0x117e('0x9')]='mfdv-grid-group-row';tr[_0x117e('0xb')]['group']=model[_0x117e('0x9d')](r);var trowhead=document[_0x117e('0x45')](_0x117e('0xe9'));trowhead[_0x117e('0x9')]=_0x117e('0x12a');trowhead['style'][_0x117e('0x12b')]=this[_0x117e('0xca')][_0x117e('0x12c')]+'px';tr[_0x117e('0x2e')](trowhead);var title=document[_0x117e('0x45')](_0x117e('0xe9'));title[_0x117e('0x3d')]=model['displayValue'](r)||_0x117e('0x12d');tr[_0x117e('0x2e')](title);return tr;}}var tr=document['createElement'](_0x117e('0xe9'));DomUtils['setCssClass'](tr,_0x117e('0x11b'),isNewRow&&!this[_0x117e('0xca')][_0x117e('0x12e')]);var selectedRow=isNewRow?![]:this[_0x117e('0xca')]['selection'][_0x117e('0x12f')][_0x117e('0x130')](this[_0x117e('0xca')][_0x117e('0x94')](r));var trowhead=document[_0x117e('0x45')](_0x117e('0xe9'));trowhead['className']=_0x117e('0x131');trowhead[_0x117e('0xb')]['row']=r;DomUtils['setCssClass'](trowhead,'mfdv-new-row',isNewRow);if(selectedRow)this[_0x117e('0x132')](trowhead);trowhead['style'][_0x117e('0x12b')]=this[_0x117e('0xca')][_0x117e('0x12c')]+'px';tr[_0x117e('0x2e')](trowhead);for(var c=0x0;c<model[_0x117e('0x9e')];c++){var td=document['createElement']('div');td[_0x117e('0x9')]='mfdv-grid-cell';if(model['columnHidden'](c))td[_0x117e('0xea')]['add'](_0x117e('0x11b'));td[_0x117e('0xb')][_0x117e('0xc')]=r;td['dataset'][_0x117e('0xd')]=c;var cellDataType=model[_0x117e('0x14')](r,c);td[_0x117e('0xc5')][_0x117e('0x3f')]=cellDataType['textAlign'];tr[_0x117e('0x2e')](td);var valueDiv=document['createElement']('div');if(!isNewRow){var selectedCell=selectedRow||this['grid'][_0x117e('0x133')][_0x117e('0x134')][_0x117e('0x135')](cell=>cell[_0x117e('0xc')]==this['grid'][_0x117e('0x94')](r)&&cell[_0x117e('0xd')]==c);if(selectedCell)this[_0x117e('0x132')](td);}var value=isNewRow?'':model[_0x117e('0x9d')](r,c);if(cellDataType==CommandType){CommandType['createContent'](td,this[_0x117e('0xca')]);continue;}else if(cellDataType==ImageType||cellDataType==BooleanType){valueDiv[_0x117e('0x3d')]=value;}else{var valueText=document[_0x117e('0x3a')](value);var content=this['grid'][_0x117e('0x136')](r,c,valueText);valueDiv[_0x117e('0x2e')](content||valueText);}td['appendChild'](valueDiv);}return tr;}['drawFooter'](){var model=this[_0x117e('0xca')][_0x117e('0x2f')];if(model){var thead=document['createElement']('div');thead[_0x117e('0x9')]=_0x117e('0x137');var theadtr=document[_0x117e('0x45')](_0x117e('0xe9'));var tableCorner=document[_0x117e('0x45')](_0x117e('0xe9'));tableCorner[_0x117e('0x9')]='mfdv-grid-table-corner';tableCorner[_0x117e('0xc5')][_0x117e('0x138')]=_0x117e('0x118')+this[_0x117e('0xca')][_0x117e('0x12c')]+'px';theadtr[_0x117e('0x2e')](tableCorner);for(let c=0x0;c<model[_0x117e('0x9e')];c++){var th=document[_0x117e('0x45')]('div');th[_0x117e('0xb')][_0x117e('0xd')]=c;if(c==this['grid'][_0x117e('0xff')])th[_0x117e('0xea')]['add'](_0x117e('0x11c')+(this[_0x117e('0xca')][_0x117e('0x100')]?_0x117e('0x11d'):_0x117e('0x11e')));th[_0x117e('0xc5')][_0x117e('0x138')]='1\x201\x20100%';var name=model[_0x117e('0x96')](c);document[_0x117e('0x3a')](name);var nameDiv=document[_0x117e('0x45')](_0x117e('0xe9'));th[_0x117e('0x2e')](nameDiv);theadtr[_0x117e('0x2e')](th);}thead[_0x117e('0x2e')](theadtr);}return thead;}[_0x117e('0x139')](index,count){var model=this[_0x117e('0xca')]['effectiveModel'];if(model){for(var i=index;i<=index+count;i++){if(this['grid']['isRowVisible'](i))this['refreshRow'](model,i);}this[_0x117e('0xca')][_0x117e('0x111')]=![];}}['refreshRow'](model,r){var tr=this[_0x117e('0x109')][r-this[_0x117e('0xca')]['scrollRow']];DomUtils[_0x117e('0x13a')](tr,'mfc-hidden',r==model[_0x117e('0x30')]&&!this[_0x117e('0xca')][_0x117e('0x12e')]);var cells=[...tr[_0x117e('0x10e')](_0x117e('0x13b'))];for(var c=0x0;c<model['columnCount'];c++){var td=cells[c];var value=model[_0x117e('0x9d')](r,c);if(this['grid'][_0x117e('0x13c')]&&this['grid'][_0x117e('0x13c')]['element']==td){td[_0x117e('0x10b')][0x0][_0x117e('0x3d')]='';}else{td[_0x117e('0x3d')]='';td[_0x117e('0x2e')](document[_0x117e('0x45')](_0x117e('0xe9')));}var valueDiv=td[_0x117e('0x10b')][0x0];if(model[_0x117e('0x14')](r,c)==CommandType){td[_0x117e('0x3d')]='';CommandType[_0x117e('0xc1')](td,this[_0x117e('0xca')]);continue;}else if(model[_0x117e('0x14')](r,c)==ImageType||model[_0x117e('0x14')](r,c)==BooleanType){valueDiv[_0x117e('0x3d')]=value;}else{var valueText=document[_0x117e('0x3a')](value);var content=this[_0x117e('0xca')][_0x117e('0x136')](r,c,valueText);valueDiv[_0x117e('0x2e')](content||valueText);}}this[_0x117e('0xca')]['onRowAction'](r,RowAction[_0x117e('0x124')]);}['updateCell'](r,c,element){var model=this[_0x117e('0xca')]['effectiveModel'];if(model){var cellElement=element||this['grid'][_0x117e('0x13d')](r,c);var dataType=model[_0x117e('0x14')](r,c);if(dataType[_0x117e('0x39')])dataType[_0x117e('0x39')](this['grid'],cellElement,r,c,model[_0x117e('0x9d')](r,c));else StringType[_0x117e('0x39')](this['grid'],cellElement,r,c,model[_0x117e('0x9d')](r,c));}}[_0x117e('0x132')](element){if(element)element[_0x117e('0xb')][_0x117e('0x13e')]=!![];}[_0x117e('0x13f')](element){if(element)delete element[_0x117e('0xb')][_0x117e('0x13e')];}[_0x117e('0x140')](){if(!this['repaintId']){for(var column of this[_0x117e('0xca')]['visibleCells']){for(var cell of column)this[_0x117e('0x13f')](cell);}for(var rowHeader of this[_0x117e('0xca')]['dataTable'][_0x117e('0x10e')]('.mfdv-grid-row-header'))this[_0x117e('0x13f')](rowHeader);}}[_0x117e('0x141')](){this['clearSelection']();var cells=this['grid'][_0x117e('0x133')][_0x117e('0x134')];var rows=this[_0x117e('0xca')]['selection'][_0x117e('0x12f')];if(cells[_0x117e('0x1a')]){for(var cell of cells){var rowIndex=this[_0x117e('0xca')][_0x117e('0xf7')](cell[_0x117e('0xc')]);if(this[_0x117e('0xca')][_0x117e('0x142')](rowIndex,cell[_0x117e('0xd')]))this['addSelectedFlag'](this['grid'][_0x117e('0x13d')](rowIndex,cell[_0x117e('0xd')]));}}if(rows[_0x117e('0x1a')]){for(var row of rows){var rowIndex=this['grid']['getKeyRow'](row);if(this['grid'][_0x117e('0x143')](rowIndex)){this['addSelectedFlag'](this['grid'][_0x117e('0x10a')][_0x117e('0xe5')](_0x117e('0x144')+rowIndex+'\x22]'));var rowCells=this[_0x117e('0xca')][_0x117e('0xcc')][_0x117e('0x79')](c=>{return c[rowIndex];});for(var column in rowCells){this['addSelectedFlag'](this[_0x117e('0xca')][_0x117e('0x13d')](rowIndex,+column));}}}}}['onSelect'](){this[_0x117e('0x141')]();}[_0x117e('0xce')](){this[_0x117e('0xfb')]();}[_0x117e('0xcf')](){this[_0x117e('0xfb')]();}[_0x117e('0x145')](){this[_0x117e('0xfb')]();}[_0x117e('0x146')](){this[_0x117e('0xfb')]();}}class Selection{constructor(grid){this[_0x117e('0xcb')]=grid;this[_0x117e('0x147')]=[];this[_0x117e('0x148')]=[];}get[_0x117e('0x134')](){return this[_0x117e('0x147')];}set[_0x117e('0x134')](value){this['_cells']=value;if(value){this[_0x117e('0x148')]=[];this[_0x117e('0x8b')]=[];}this[_0x117e('0xcb')][_0x117e('0x38')]['onSelect']();}get[_0x117e('0x12f')](){return this[_0x117e('0x148')];}set[_0x117e('0x12f')](value){this[_0x117e('0x148')]=value;if(value){this['_cells']=[];this[_0x117e('0x8b')]=[];}this[_0x117e('0xcb')][_0x117e('0x38')][_0x117e('0x149')]();}}class GridModel{[_0x117e('0x94')](row){return null;}[_0x117e('0xf7')](key){return-0x1;}[_0x117e('0x95')](column){return'';}[_0x117e('0x32')](column){return'';}[_0x117e('0x96')](column){return'';}[_0x117e('0x97')](column){return!![];}[_0x117e('0x99')](column){return!![];}[_0x117e('0x72')](column){return null;}[_0x117e('0x14')](row,column){return this[_0x117e('0x95')](column);}[_0x117e('0x37')](row,column,value){return;}[_0x117e('0x12')](row,column){return'';}[_0x117e('0x9d')](row,column){return'';}[_0x117e('0x35')](row){return{};}['addRow'](rowData,index){}[_0x117e('0xfa')](row){}get['rowCount'](){return 0x0;}get[_0x117e('0x9e')](){return 0x0;}}class GridCell{constructor(parent,row,column){this['_parent']=parent;this[_0x117e('0xa3')]=row;this[_0x117e('0xb0')]=column;this['_rowKey']=this[_0x117e('0x14a')][_0x117e('0x94')](row);}[_0x117e('0x14b')](){this[_0x117e('0x14a')]['bringRowIntoView'](this[_0x117e('0xc')]);if(this[_0x117e('0x14a')]['onCellSelecting'](this)){var model=this[_0x117e('0x14a')][_0x117e('0x2f')];this[_0x117e('0x14a')][_0x117e('0x14c')](this[_0x117e('0xc')],this[_0x117e('0xd')]);this[_0x117e('0x14a')][_0x117e('0x14d')]();if(this['parent'][_0x117e('0x14e')]&&model['columnEditable'](this[_0x117e('0xd')])){var displayValue=model[_0x117e('0x9d')](this[_0x117e('0xc')],this[_0x117e('0xd')]);var value=model[_0x117e('0x12')](this[_0x117e('0xc')],this[_0x117e('0xd')]);if(this[_0x117e('0x14f')]){if(this[_0x117e('0x14a')]['onCellFocusing'](this)){this[_0x117e('0x14a')]['activeEditor']=model[_0x117e('0x95')](this[_0x117e('0xd')])[_0x117e('0x0')](this['element'],displayValue,value,this['parent']);this['parent'][_0x117e('0x150')](this);}}}this[_0x117e('0x14a')][_0x117e('0x151')](this);}}[_0x117e('0x152')](row){if(row!=undefined)this[_0x117e('0xa3')]=row;this[_0x117e('0x153')]=this[_0x117e('0x14a')][_0x117e('0x94')](this[_0x117e('0xa3')]);}get[_0x117e('0xc')](){return this[_0x117e('0x14a')][_0x117e('0xf7')](this[_0x117e('0x153')]);}get['column'](){return this[_0x117e('0xb0')];}get['element'](){var c=this[_0x117e('0x154')][_0x117e('0xcc')][this[_0x117e('0xd')]][_0x117e('0x155')](c=>{return+c[_0x117e('0xb')][_0x117e('0xc')]==this[_0x117e('0xc')];});return c;}get[_0x117e('0x14a')](){return this[_0x117e('0x154')];}}function styleInject(css,ref){if(ref===void 0x0)ref={};var insertAt=ref['insertAt'];if(!css||typeof document==='undefined'){return;}var head=document['head']||document['getElementsByTagName'](_0x117e('0x156'))[0x0];var style=document[_0x117e('0x45')](_0x117e('0xc5'));style[_0x117e('0x7')]=_0x117e('0x157');if(insertAt===_0x117e('0x158')){if(head[_0x117e('0x3c')]){head[_0x117e('0x159')](style,head[_0x117e('0x3c')]);}else{head[_0x117e('0x2e')](style);}}else{head[_0x117e('0x2e')](style);}if(style[_0x117e('0x15a')]){style['styleSheet'][_0x117e('0x15b')]=css;}else{style[_0x117e('0x2e')](document['createTextNode'](css));}}var css_248z$1='.mfdv-grid\x0d\x0a{\x0d\x0a\x20\x20padding:\x200;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20display:\x20block;\x0d\x0a\x20\x20font-family:\x20Arial,\x20Helvetica,\x20sans-serif;\x0d\x0a\x20\x20color:\x20#000;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid\x20div\x0d\x0a{\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-wrapper\x0d\x0a{\x0d\x0a\x20\x20float:\x20right;\x20\x0d\x0a\x20\x20height:\x200;\x0d\x0a\x20\x20overflow-y:\x20scroll;\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-wrapper\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20width:\x201px;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-corner-top\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20right:0;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-corner-bottom\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20right:0;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-content-wrapper\x0d\x0a{\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a\x20\x20display:\x20flex;\x0d\x0a\x20\x20flex-direction:\x20column-reverse;\x0d\x0a\x20\x20overflow-x:\x20auto;\x0d\x0a\x20\x20overflow-y:\x20hidden;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20bottom:0;\x0d\x0a\x20\x20left:0;\x0d\x0a}\x0d\x0a.mfdv-grid-content-inner-wrapper\x0d\x0a{\x0d\x0a\x20\x20display:\x20flex;\x0d\x0a\x20\x20flex-direction:\x20column-reverse;\x0d\x0a\x20\x20flex:\x201\x201\x20100%;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20min-width:\x20100%;\x0d\x0a}\x0d\x0a.mfdv-grid-header,\x0d\x0a.mfdv-grid-footer\x0d\x0a{\x0d\x0a\x20\x20display:flex;\x0d\x0a\x20\x20/*flex:\x201\x201\x20100%;*/\x0d\x0a\x20\x20flex-direction:\x20column;\x0d\x0a\x20\x20font-weight:bold;\x0d\x0a\x20\x20transform:\x20translate(0);\x0d\x0a}\x0d\x0a.mfdv-grid-footer\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20z-index:\x201;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20>\x20div,\x0d\x0a.mfdv-grid\x20.mfdv-grid-footer\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20display:flex;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20div[data-column],\x0d\x0a.mfdv-grid\x20.mfdv-grid-footer\x20div[data-column]\x0d\x0a{\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20flex:\x20none;\x0d\x0a\x20\x20text-align:center;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a\x20\x20padding-right:\x2015px;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20min-height:\x201em;\x0d\x0a\x20\x20border-bottom:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-sort-indicator-asc::before\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c25b2\x22;\x0d\x0a\x20\x20\x20\x20right:\x202px;\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a}\x0d\x0a.mfdv-sort-indicator-desc::before\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c25bc\x22;\x0d\x0a\x20\x20\x20\x20right:\x202px;\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a}\x0d\x0a.mfdv-grid-data-table\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:flex;\x0d\x0a\x20\x20\x20\x20flex-direction:\x20column;\x0d\x0a\x20\x20\x20\x20flex:\x201\x201\x20100%;\x0d\x0a\x20\x20\x20\x20outline:\x20none;\x0d\x0a\x20\x20\x20/*\x20transform:\x20translate(0);*/\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-data-table\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:flex;\x0d\x0a\x20\x20\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-group-row\x0d\x0a{\x0d\x0a\x20\x20\x20\x20background-color:\x20rgba(0,\x200,\x200,\x200.1);\x0d\x0a}\x0d\x0a.mfdv-grid-cell\x0d\x0a{\x0d\x0a\x20\x20position:relative;\x0d\x0a\x20\x20flex:\x20none;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20min-height:\x201.125em;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a}\x0d\x0a.mfdv-grid-cell\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header,\x20\x0d\x0a.mfdv-grid-table-corner\x0d\x0a{\x0d\x0a\x20\x20/*flex:\x200\x200\x2017px;*/\x0d\x0a\x20\x20/*width:\x2017px;*/\x0d\x0a\x20\x20border-bottom:\x201px\x20solid;\x0d\x0a\x20\x20border-right:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20div[data-column],\x0d\x0a.mfdv-grid\x20.mfdv-grid-data-table\x20.mfdv-grid-cell\x0d\x0a{\x0d\x0a\x20\x20padding:\x201px;\x0d\x0a\x20\x20border-right:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header[data-selected=true],\x20\x0d\x0a.mfdv-grid-cell[data-selected=true]\x0d\x0a{\x0d\x0a\x20\x20background-color:\x20rgba(0,0,0,0.1);\x0d\x0a}\x0d\x0a.mfdv-grid-row-header.mfdv-new-row::before\x0d\x0a{\x0d\x0a\x20\x20content\x20:\x20\x27\x5c01F7B9\x27;\x0d\x0a\x20\x20vertical-align:\x20-50%;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header.mfdv-new-row::after\x0d\x0a{\x0d\x0a\x20\x20content\x20:\x20\x27(New)\x27;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20/*\x20vertical-align:\x20-50%;*/\x0d\x0a\x20\x20margin-left:\x2010px;\x0d\x0a}\x0d\x0a.mfdv-command-control\x0d\x0a{\x0d\x0a\x20\x20margin:\x200px\x202px;\x0d\x0a\x20\x20cursor:\x20pointer;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x0d\x0a{\x0d\x0a\x20\x20position:\x20fixed;\x0d\x0a\x20\x20background:\x20#fff;\x0d\x0a\x20\x20box-shadow:\x204px\x204px\x204px\x20rgba(0,0,0,0.1);\x0d\x0a\x20\x20padding:\x201px;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20cursor:\x20pointer;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20text-align:\x20justify;\x0d\x0a\x20\x20font-size:\x20small;\x0d\x0a\x20\x20padding:\x2010px;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20div:hover\x0d\x0a{\x0d\x0a\x20\x20background-color:\x20rgba(0,0,0,0.1);\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20hr\x0d\x0a{\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20border-bottom:\x200;\x0d\x0a}\x0d\x0a.mfdv-string-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20width:\x20100%\x20!important;\x20\x0d\x0a\x20\x20height:\x20100%\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20outline:\x201px\x20solid\x20black;\x20\x0d\x0a\x20\x20outline-offset:\x201px;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a}\x0d\x0a.mfdv-lookup-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20width:\x20100%;\x20\x0d\x0a\x20\x20height:\x20100%;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20outline:\x201px\x20solid\x20black;\x0d\x0a}\x0d\x0a.mfdv-inline-image\x0d\x0a{\x0d\x0a\x20\x20width:100%;\x0d\x0a\x20\x20height:100%;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20background-position:\x2050%\x2050%;\x0d\x0a\x20\x20background-repeat:\x20no-repeat;\x0d\x0a\x20\x20background-size:\x20contain;\x0d\x0a}\x0d\x0a.mfdv-boolean-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a}\x0d\x0a.mfdv-boolean-editor-readonly\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20pointer-events:\x20none;\x0d\x0a}\x0d\x0a.mfdv-editor-expander\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20right:\x200px;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20bottom:\x200px;\x20\x0d\x0a}\x0d\x0a.mfdv-attribution2\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20left:0;\x0d\x0a\x20\x20font-size:\x20smaller;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a\x20\x20color:\x20red;\x0d\x0a\x20\x20cursor:\x20default;\x0d\x0a}\x0d\x0a.mfc-overlay-disabled\x0d\x0a{\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a\x20\x20\x20\x20z-index:1;\x0d\x0a\x20\x20\x20\x20top:0;\x0d\x0a\x20\x20\x20\x20left:0;\x0d\x0a\x20\x20\x20\x20width:100%;\x0d\x0a\x20\x20\x20\x20height:100%;\x0d\x0a\x20\x20\x20\x20background-color:rgba(0,0,0,0.1)\x0d\x0a}\x0d\x0a.mfc-readonly\x20\x0d\x0a{\x0d\x0a\x20\x20\x20\x20opacity:\x200.65;\x20\x0d\x0a}';styleInject(css_248z$1);class Grid extends UIControl{constructor(element,renderer){super(element);this[_0x117e('0x15c')]=Unit['percentage'](0x64);this[_0x117e('0x15d')]=Unit[_0x117e('0x15e')](0x64);this[_0x117e('0x15f')]=null;this[_0x117e('0x160')]=null;this[_0x117e('0x161')]=!![];this['_allowAppend']=!![];this[_0x117e('0x162')]=!![];this[_0x117e('0x163')]=!![];this[_0x117e('0x164')]=!![];this[_0x117e('0xfc')]=null;this[_0x117e('0xf3')]=-0x1;this[_0x117e('0xf4')]=!![];this['renderer']=renderer||new GridRenderer();this[_0x117e('0x38')][_0x117e('0xca')]=this;this[_0x117e('0x165')]=0x0;this[_0x117e('0x166')]=null;this[_0x117e('0x12c')]=0x11;this[_0x117e('0x167')]=null;this[_0x117e('0x168')]=null;this[_0x117e('0x169')]=![];this[_0x117e('0x133')]=new Selection(this);this[_0x117e('0x16a')]=[];DynamicType[_0x117e('0x86')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value[_0x117e('0x12')],null);this[_0x117e('0x16b')]['raiseEvent'](this,args);return args['result'];};DynamicType[_0x117e('0x87')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value,null);this[_0x117e('0x16c')][_0x117e('0x16d')](this,args);return args[_0x117e('0xb7')];};DynamicType[_0x117e('0x88')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value[_0x117e('0x12')],null);this[_0x117e('0x16e')][_0x117e('0x16d')](this,args);return args['result'];};DynamicType[_0x117e('0x89')]=(value,row,column)=>{var args=new CellResolveEventArgs(row,column,value['value'],null);this[_0x117e('0x16f')][_0x117e('0x16d')](this,args);return args['result'];};this[_0x117e('0x170')]=new EventDispatcher();this[_0x117e('0x171')]=new EventDispatcher();this[_0x117e('0x172')]=new EventDispatcher();this[_0x117e('0x173')]=new EventDispatcher();this[_0x117e('0x174')]=new EventDispatcher();this[_0x117e('0x175')]=new EventDispatcher();this[_0x117e('0x176')]=new EventDispatcher();this[_0x117e('0x177')]=new EventDispatcher();this[_0x117e('0x178')]=new EventDispatcher();this[_0x117e('0x179')]=new EventDispatcher();this['_cellSelecting']=new EventDispatcher();this[_0x117e('0x17a')]=new EventDispatcher();this['_cellFocusing']=new EventDispatcher();this[_0x117e('0x17b')]=new EventDispatcher();this[_0x117e('0x17c')]=new EventDispatcher();this['_customDrawHeader']=new EventDispatcher();this['_rowCommand']=new EventDispatcher();this[_0x117e('0x17d')]=new EventDispatcher();this[_0x117e('0x17e')]=new EventDispatcher();this[_0x117e('0x17f')]=new EventDispatcher();this[_0x117e('0x180')]=new EventDispatcher();this[_0x117e('0x181')]=new EventDispatcher();this['_scrollHandler']=e=>this[_0x117e('0xce')](e);this[_0x117e('0x182')]=e=>this[_0x117e('0x183')](e);}get[_0x117e('0x113')](){return this['_element'][_0x117e('0xe5')](_0x117e('0x184'));}get[_0x117e('0x185')](){return this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x186'));}get[_0x117e('0x10a')](){return this['_element'][_0x117e('0xe5')](_0x117e('0x187'));}get[_0x117e('0x109')](){return this[_0x117e('0x38')][_0x117e('0x109')];}get[_0x117e('0xcc')](){return this['renderer'][_0x117e('0xcc')];}[_0x117e('0x188')](){this[_0x117e('0x189')]['removeEventListener'](_0x117e('0x189'),this[_0x117e('0x18a')]);window[_0x117e('0x18b')]('resize',this[_0x117e('0x18c')]);document[_0x117e('0x18b')](_0x117e('0x18d'),this[_0x117e('0x182')]);document[_0x117e('0x18b')](_0x117e('0x18e'),this[_0x117e('0x182')]);document['removeEventListener'](_0x117e('0x18f'),this['mouseWheelHandler']);super[_0x117e('0x188')]();}[_0x117e('0x55')](element){if(element)this[_0x117e('0xef')]=element;this[_0x117e('0x38')][_0x117e('0xcd')]();var headerHeight=DomUtils['getBounds'](this[_0x117e('0x185')])['height'];var sbSize=DomUtils[_0x117e('0x190')]();var wrapper=this[_0x117e('0xef')]['querySelector'](_0x117e('0x191'));wrapper[_0x117e('0xc5')]['right']=sbSize+'px';var ctop=this[_0x117e('0xef')]['querySelector'](_0x117e('0x192'));ctop[_0x117e('0xc5')][_0x117e('0x12b')]=sbSize+'px';ctop['style'][_0x117e('0x127')]=headerHeight+'px';this[_0x117e('0x189')]=this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x193'));this[_0x117e('0x189')]['style'][_0x117e('0x12b')]=sbSize+'px';this[_0x117e('0x189')]['style'][_0x117e('0x194')]=headerHeight+'px';this[_0x117e('0x195')]();this[_0x117e('0x196')]();this['scroll'][_0x117e('0x15')](_0x117e('0x189'),this[_0x117e('0x18a')]);this[_0x117e('0x197')]();this[_0x117e('0x18c')]=e=>this[_0x117e('0x198')](e);window[_0x117e('0x15')]('resize',this[_0x117e('0x18c')]);document['addEventListener'](_0x117e('0x18d'),this['mouseWheelHandler'],{'passive':![]});document[_0x117e('0x15')](_0x117e('0x18e'),this[_0x117e('0x182')],{'passive':![]});document[_0x117e('0x15')]('MozMousePixelScroll',this[_0x117e('0x182')],{'passive':![]});super[_0x117e('0x55')]();}[_0x117e('0x112')](){this[_0x117e('0x199')]();this['disposeActiveEditor']();this[_0x117e('0x169')]=document[_0x117e('0x19a')]===this['dataTable']||DomUtils['isChildOf'](document[_0x117e('0x19a')],this[_0x117e('0x10a')]);}[_0x117e('0x19b')](){var model=this['effectiveModel'];if(model){var header=this['_element'][_0x117e('0xe5')](_0x117e('0x186'));header[_0x117e('0x15')](_0x117e('0x19c'),e=>{this[_0x117e('0x19d')](e);});header[_0x117e('0x15')](_0x117e('0x19e'),e=>{this[_0x117e('0x19f')](e);});var columnHeaders=[...header[_0x117e('0x10e')](_0x117e('0x1a0'))];for(let c=0x0;c<model[_0x117e('0x9e')];c++){var th=columnHeaders[c];th[_0x117e('0x15')](_0x117e('0x1a1'),e=>{this[_0x117e('0x1a2')](e);});th[_0x117e('0x15')](_0x117e('0x1a3'),e=>{this[_0x117e('0x1a4')](e);});th['addEventListener'](_0x117e('0x1e'),e=>{this[_0x117e('0x1a5')](e);});var cells=[...this[_0x117e('0xef')][_0x117e('0x10e')]('.mfdv-grid-cell[data-column=\x27'+c+'\x27]')];cells['forEach'](cell=>{cell[_0x117e('0x15')]('click',e=>{this[_0x117e('0x1a6')](e);});});this[_0x117e('0x1a7')](c,this[_0x117e('0x1a8')](c));}var table=this[_0x117e('0xef')]['querySelector'](_0x117e('0x187'));var rowHeaders=[...table[_0x117e('0x10e')](_0x117e('0x1a9'))];rowHeaders['forEach'](r=>{r[_0x117e('0x15')](_0x117e('0x1a1'),e=>{this[_0x117e('0x1aa')](e);});r[_0x117e('0x15')](_0x117e('0x1a3'),e=>{this[_0x117e('0x1ab')](e);});});table['addEventListener'](_0x117e('0x1f'),e=>{this['tableKeyDown'](e,model);});table['addEventListener'](_0x117e('0x1ac'),e=>{this[_0x117e('0x1ad')](e,model);});}this[_0x117e('0x125')]=DomUtils[_0x117e('0x126')](this[_0x117e('0x10a')][_0x117e('0x10b')][0x0])[_0x117e('0x127')];this[_0x117e('0x1ae')]=this['dataTable'][_0x117e('0x10b')][_0x117e('0x1a')];if(!this[_0x117e('0x12e')])this[_0x117e('0x1ae')]--;if(this['scrollRangeInvalid'])this['updateScrollRange']();if(this[_0x117e('0x169')])this[_0x117e('0x10a')][_0x117e('0x14b')]();if(this[_0x117e('0x13c')]!=null&&this[_0x117e('0x143')](this[_0x117e('0x13c')]['row'])){this[_0x117e('0x1af')](this[_0x117e('0x13c')][_0x117e('0xc')]-this[_0x117e('0x1b0')]);if(this[_0x117e('0x1b1')])this[_0x117e('0x13c')][_0x117e('0x14b')]();}this[_0x117e('0x1b2')]=![];this[_0x117e('0x1b3')]();}[_0x117e('0x53')](){super[_0x117e('0x53')]();DomUtils[_0x117e('0x1b4')](this['_element'],'mfdv-grid');var grid=this[_0x117e('0xef')];var scroll=document[_0x117e('0x45')](_0x117e('0xe9'));scroll['className']='mfdv-grid-scroll-wrapper';grid[_0x117e('0x2e')](scroll);var scrollSpacer=document[_0x117e('0x45')]('div');scroll[_0x117e('0x2e')](scrollSpacer);var scrollCorner=document[_0x117e('0x45')](_0x117e('0xe9'));scrollCorner[_0x117e('0x9')]=_0x117e('0x1b5');scroll[_0x117e('0x2e')](scrollCorner);var scrollCorner=document[_0x117e('0x45')]('div');scrollCorner[_0x117e('0x9')]='mfdv-grid-scroll-corner-bottom';scroll[_0x117e('0x2e')](scrollCorner);var body=document[_0x117e('0x45')](_0x117e('0xe9'));body[_0x117e('0x9')]=_0x117e('0x1b6');var wrap=document[_0x117e('0x45')]('div');wrap['className']=_0x117e('0x1b7');body['appendChild'](wrap);grid['appendChild'](body);return this['_element'];}async[_0x117e('0x1b8')](selected){return new Promise(function(resolve,reject){this['isRepainting']=!![];if(selected)this[_0x117e('0x38')][_0x117e('0x139')](this['selectedRowIndices'][0x0],this[_0x117e('0x1b9')]['length']-0x1);else this[_0x117e('0x1ba')]();DomUtils[_0x117e('0x1bb')](()=>{return this['isRepainting']==![];},()=>{resolve();});}[_0x117e('0x93')](this));}[_0x117e('0x1bc')](row,column,moveBackwards){this['moveFocusedCell'](row,column,moveBackwards);}[_0x117e('0x14c')](row,column){this[_0x117e('0x133')][_0x117e('0x134')]=[{'row':this[_0x117e('0x94')](row),'column':column}];}[_0x117e('0x1bd')](index,count){if(index===undefined||index==null)return;var selection=[];for(var i=index;i<index+(count||0x1);i++){selection[_0x117e('0x7c')](this[_0x117e('0x94')](i));}this['setRowSelection'](selection);}get[_0x117e('0x1b9')](){if(this[_0x117e('0x133')][_0x117e('0x134')][_0x117e('0x1a')])return[this[_0x117e('0xf7')](this[_0x117e('0x133')][_0x117e('0x134')][0x0][_0x117e('0xc')])];var indices=[];this[_0x117e('0x133')][_0x117e('0x12f')]['forEach'](r=>{indices[_0x117e('0x7c')](this[_0x117e('0xf7')](r));});return indices;}get[_0x117e('0x1be')](){if(this['selection'][_0x117e('0x134')]['length']){var row=this[_0x117e('0xf7')](this[_0x117e('0x133')][_0x117e('0x134')][0x0]['row']);return[new GridCell(this,row,this[_0x117e('0x133')]['cells'][0x0][_0x117e('0xd')])];}return[];}['invalidateDom'](){this[_0x117e('0x38')][_0x117e('0xfb')]();}async[_0x117e('0x139')](index,count){return new Promise(function(resolve,reject){var model=this[_0x117e('0x2f')];if(model){this['isRepainting']=!![];this[_0x117e('0x38')]['refreshRows'](index,count||0x1);DomUtils[_0x117e('0x1bb')](()=>{return this[_0x117e('0x111')]==![];},()=>{resolve();});}else reject('Model\x20is\x20undefined.');}[_0x117e('0x93')](this));}async[_0x117e('0x33')](rowData,index){return new Promise(function(resolve,reject){var model=this[_0x117e('0x2f')];if(model){var newValues=new Map(Object[_0x117e('0x1bf')](rowData)[_0x117e('0x1c0')](e=>e[0x1]!=undefined));if(this['onRowValidateAction'](model[_0x117e('0x30')],RowAction[_0x117e('0x1c1')],rowData,null,newValues)){this['isRepainting']=!![];var newRow=model[_0x117e('0x33')](rowData,index);if(this['focusedCell'])this[_0x117e('0x13c')]['invalidateKey'](newRow);newValues=new Map(Object[_0x117e('0x1bf')](rowData)['filter'](e=>e[0x1]!=undefined));this['onRowAction'](newRow,RowAction[_0x117e('0x1c1')],null,null,newValues);this[_0x117e('0x196')]();this[_0x117e('0x1c2')](newRow);this['renderer']['onRowCreated']();DomUtils[_0x117e('0x1bb')](()=>{return this[_0x117e('0x111')]==![];},()=>{if(!this[_0x117e('0x13c')]){this[_0x117e('0x1c3')](newRow,0x0);}resolve(newRow);});}else resolve();}else reject(_0x117e('0x1c4'));}[_0x117e('0x93')](this));}async[_0x117e('0x1c5')](index,count){return new Promise(function(resolve,reject){var model=this['effectiveModel'];if(model){this[_0x117e('0x111')]=!![];this[_0x117e('0xc9')](index,count||0x1);DomUtils[_0x117e('0x1bb')](()=>{return this[_0x117e('0x111')]==![];},()=>{resolve();});}else reject(_0x117e('0x1c4'));}[_0x117e('0x93')](this));}[_0x117e('0xc9')](index,count){var model=this['effectiveModel'];if(model){var i=index+count-0x1;while(i>=index){var rowData=this[_0x117e('0x2f')][_0x117e('0x35')](i);if(this[_0x117e('0x1c6')](i,RowAction[_0x117e('0x1c7')])){var row=this[_0x117e('0x94')](i);if(this[_0x117e('0x133')]['rows']['includes'](row))this[_0x117e('0x133')]['rows'][_0x117e('0xfe')](this[_0x117e('0x133')][_0x117e('0x12f')][_0x117e('0xf9')](row),0x1);model[_0x117e('0xfa')](i);var oldValues=new Map(Object[_0x117e('0x1bf')](rowData));this[_0x117e('0x123')](-0x1,RowAction['Delete'],null,oldValues);}i--;}this['scrollRangeInvalid']=!![];this[_0x117e('0x38')]['onRowDeleted']();}}['sortByColumn'](index,sortAscending){if(index==null){this[_0x117e('0xff')]=-0x1;return;}if(this[_0x117e('0xff')]==index){this[_0x117e('0x100')]=sortAscending!==undefined?sortAscending:!this[_0x117e('0x100')];}else{this[_0x117e('0xff')]=index;this[_0x117e('0x100')]=sortAscending!==undefined?sortAscending:!![];}}['calcScrollFix'](){this['scroll'][_0x117e('0xc5')][_0x117e('0x127')]=this['contentHeight']+'px';this['scrollFixAmount']=this['rowHeight']-this[_0x117e('0x1c8')]%this[_0x117e('0x125')];}[_0x117e('0x196')](){var model=this['effectiveModel'];if(model){var scrollRange=this[_0x117e('0x125')]*(model[_0x117e('0x30')]+0x1);this['scroll'][_0x117e('0x10b')][0x0]['style']['height']=scrollRange+'px';this[_0x117e('0x1c9')]=this[_0x117e('0x125')];this[_0x117e('0x1ca')]=![];}}[_0x117e('0x197')](){if(!this[_0x117e('0x166')]){var columnHeaders=[...this[_0x117e('0x185')][_0x117e('0x10e')](_0x117e('0x1a0'))];var w=DomUtils[_0x117e('0x126')](columnHeaders[0x0])['width'];var c=this[_0x117e('0x185')][_0x117e('0xe5')]('.mfdv-grid-table-corner');c[_0x117e('0xc5')][_0x117e('0x138')]='none';c[_0x117e('0xc5')][_0x117e('0x12b')]=this[_0x117e('0x12c')]+'px';this[_0x117e('0x166')]=new Array(this[_0x117e('0x2f')][_0x117e('0x9e')]);for(var i=0x0;i<this[_0x117e('0x166')]['length'];i++){this[_0x117e('0x1a7')](i,w);}}DomUtils[_0x117e('0x1cb')](this[_0x117e('0x14f')]);}['resizeColumn'](clientX,column){var columnHeaders=[...this[_0x117e('0x185')]['querySelectorAll'](_0x117e('0x1a0'))];var dx=clientX-DomUtils[_0x117e('0x126')](columnHeaders[column])[_0x117e('0x40')]();this[_0x117e('0x1a7')](column,dx);this[_0x117e('0x198')]();}get[_0x117e('0x64')](){return this[_0x117e('0x2f')];}set[_0x117e('0x64')](value){if(this[_0x117e('0x15f')]!=value){if(this[_0x117e('0x13c')]){this[_0x117e('0x13c')]['invalidateKey']();}this[_0x117e('0x160')]=null;this[_0x117e('0x15f')]=value;if(this[_0x117e('0x1cc')]){this[_0x117e('0x1ca')]=!![];this[_0x117e('0x1ba')]();}}}[_0x117e('0x1cd')](){this[_0x117e('0x1b0')]=0x0;var model=this[_0x117e('0x15f')];this['model']=null;this[_0x117e('0x64')]=model;}get[_0x117e('0x2f')](){this[_0x117e('0x1ce')]();if(this['_proxyModel']!=null)return this[_0x117e('0x160')];return this[_0x117e('0x15f')];}['ensureProxyModel'](){if(this[_0x117e('0x160')]==null&&this[_0x117e('0x15f')]!=null){if(this[_0x117e('0xf3')]>-0x1||this[_0x117e('0xfc')]!=null){this[_0x117e('0x160')]=new ProxyModel(this[_0x117e('0x15f')]);this[_0x117e('0x160')]['filter']=this[_0x117e('0xfc')];this[_0x117e('0x160')]['sortedColumn']=this[_0x117e('0xf3')];this[_0x117e('0x160')][_0x117e('0x100')]=this['_sortAscending'];}}}get[_0x117e('0x14e')](){return this[_0x117e('0x161')];}set[_0x117e('0x14e')](value){if(this['_allowEdit']!=value){this[_0x117e('0x161')]=value;}}get[_0x117e('0x12e')](){return this[_0x117e('0x1cf')];}set[_0x117e('0x12e')](value){if(this[_0x117e('0x1cf')]!=value){this[_0x117e('0x1cf')]=value;}}get[_0x117e('0x1d0')](){return this[_0x117e('0x162')];}set[_0x117e('0x1d0')](value){if(this[_0x117e('0x162')]!=value){this[_0x117e('0x162')]=value;}}get['allowCellSelect'](){return this[_0x117e('0x163')];}set[_0x117e('0x1b1')](value){if(this[_0x117e('0x163')]!=value){this[_0x117e('0x163')]=value;}}get[_0x117e('0x1d1')](){return this[_0x117e('0x164')];}set[_0x117e('0x1d1')](value){if(this[_0x117e('0x164')]!=value){this[_0x117e('0x164')]=value;}}get['filter'](){return this[_0x117e('0xfc')];}set[_0x117e('0x1c0')](value){if(this[_0x117e('0xfc')]!=value){this[_0x117e('0x160')]=null;this[_0x117e('0xfc')]=value;this[_0x117e('0x1ca')]=!![];this[_0x117e('0x1ba')]();}}get['sortedColumn'](){return this[_0x117e('0xf3')];}set[_0x117e('0xff')](value){if(this[_0x117e('0xf3')]!=value){this['_proxyModel']=null;this[_0x117e('0xf3')]=value;this[_0x117e('0x38')][_0x117e('0xcf')]();}}get[_0x117e('0x100')](){return this['_sortAscending'];}set[_0x117e('0x100')](value){if(this[_0x117e('0xf4')]!=value){this[_0x117e('0x160')]=null;this[_0x117e('0xf4')]=value;if(this['_sortedColumn']>-0x1)this[_0x117e('0x38')][_0x117e('0xcf')]();}}get[_0x117e('0x1b0')](){return this[_0x117e('0x165')];}set[_0x117e('0x1b0')](value){if(this[_0x117e('0x165')]!=value){if(value>-0x1&&value<this[_0x117e('0x64')][_0x117e('0x30')])this[_0x117e('0x165')]=value;if(this[_0x117e('0x1cc')]){this[_0x117e('0x1d2')](this[_0x117e('0x165')]);this[_0x117e('0x38')][_0x117e('0xce')]();}}}['onScroll'](e){if(!this[_0x117e('0x1d1')]){e[_0x117e('0x23')]();return![];}var scrollPos=this[_0x117e('0x189')][_0x117e('0x1d3')];var row=Math[_0x117e('0x1d4')](scrollPos/this['scrollIncrement']);this[_0x117e('0x1b0')]=row;}['headerMouseOver'](e){if(typeof e['target']['dataset'][_0x117e('0xd')]!==_0x117e('0x3')&&e['clientX']>DomUtils['getBounds'](e[_0x117e('0x29')])[_0x117e('0x70')]()-0x14)e['target'][_0x117e('0xc5')][_0x117e('0x1d5')]=_0x117e('0x1d6');else e['target']['style'][_0x117e('0x1d5')]=_0x117e('0x1d7');}['headerMouseLeave'](e){e[_0x117e('0x29')][_0x117e('0xc5')][_0x117e('0x1d5')]='auto';}['columnHeaderContextMenu'](e){e[_0x117e('0x23')]();var c=parseInt(e[_0x117e('0x1d8')][_0x117e('0xb')][_0x117e('0xd')]);if(!this['effectiveModel'][_0x117e('0x99')](c))return;var items=[{'title':'Sort\x20Ascending','data':c},{'title':_0x117e('0x1d9'),'data':c},{'title':_0x117e('0x1da'),'data':c}];this[_0x117e('0x199')]();var b=DomUtils[_0x117e('0x1db')](e[_0x117e('0x1d8')],this[_0x117e('0x185')]);this[_0x117e('0x1dc')]=Dialogs['showContextMenu'](items,b['bottomLeft'](),this['contextMenuCallback'][_0x117e('0x93')](this),this['element'],this[_0x117e('0x4a')]);}[_0x117e('0x1a4')](e){var c=parseInt(e['currentTarget']['dataset'][_0x117e('0xd')]);if(e[_0x117e('0x1dd')]>DomUtils[_0x117e('0x126')](e[_0x117e('0x1d8')])[_0x117e('0x70')]()-0x14){e[_0x117e('0x23')]();let resizeHandler=e=>this[_0x117e('0x1de')](e[_0x117e('0x1dd')],c);var resizeEndHandler=()=>{window[_0x117e('0x18b')](_0x117e('0x1df'),resizeHandler);window[_0x117e('0x18b')](_0x117e('0x1e0'),resizeEndHandler);};window[_0x117e('0x15')](_0x117e('0x1df'),resizeHandler);window[_0x117e('0x15')]('mouseup',resizeEndHandler);}}[_0x117e('0x1a5')](e){var c=parseInt(e[_0x117e('0x1d8')]['dataset']['column']);this[_0x117e('0x13c')]=null;this[_0x117e('0x14d')]();if(!this['effectiveModel'][_0x117e('0x99')](c))return;this['sortByColumn'](c);}['rowHeaderMouseDown'](e){if(e['button']===0x2)return;e[_0x117e('0x23')]();this[_0x117e('0x13c')]=null;var index=parseInt(e[_0x117e('0x29')][_0x117e('0xb')][_0x117e('0xc')]);var selection=this['selection'][_0x117e('0x12f')];var row=this[_0x117e('0x94')](index);if(e[_0x117e('0x27')]&&selection['length']){var sindex=this[_0x117e('0xf7')](selection[0x0]);var s=Math[_0x117e('0x1e1')](sindex,index);var e=Math['max'](sindex,index);selection=[];for(var i=s;i<=e;i++){selection['push'](this['getRowKey'](i));}this[_0x117e('0x1e2')](selection);}else if(e[_0x117e('0x21')]){if(!selection[_0x117e('0x130')](row))selection['push'](row);else selection[_0x117e('0xfe')](selection[_0x117e('0xf9')](row),0x1);this[_0x117e('0x1e2')](selection);}else{this[_0x117e('0x1e2')]([row]);}}[_0x117e('0x1aa')](e){if(!this[_0x117e('0x1cf')]&&!this['_allowDelete'])return;e[_0x117e('0x23')]();var items=[];var items=[{'title':_0x117e('0x1e3'),'enabled':this[_0x117e('0x12e')]},{'title':this['selectedRowIndices'][_0x117e('0x1a')]>0x1?'Delete\x20Rows':'Delete\x20Row','enabled':this[_0x117e('0x1d0')]&&this['selectedRowIndices'][_0x117e('0x1a')]}];this[_0x117e('0x199')]();var b=DomUtils[_0x117e('0x126')](e[_0x117e('0x1d8')],this['element']);this[_0x117e('0x1dc')]=Dialogs[_0x117e('0x1e4')](items,b['topRight'](),this['contextMenuCallback'][_0x117e('0x93')](this),this['element'],this[_0x117e('0x4a')]);}[_0x117e('0x1e5')](item){if(item){var model=this[_0x117e('0x2f')];if(model){if(item[_0x117e('0x1e6')]==_0x117e('0x1e3')){this[_0x117e('0x1c3')](model['rowCount'],0x0);this[_0x117e('0x1ca')]=!![];this[_0x117e('0x1ba')]();}else if(item[_0x117e('0x1e6')][_0x117e('0xf9')]('Delete\x20Row')>-0x1){var indices=this[_0x117e('0x1b9')];indices[_0x117e('0xfd')]((a,b)=>a-b);var i=indices['length'];while(i--){this[_0x117e('0xc9')](indices[i],0x1);}}else if(item['title']=='Sort\x20Ascending'){this['sortByColumn'](item[_0x117e('0x1e7')],!![]);}else if(item[_0x117e('0x1e6')]=='Sort\x20Descending'){this['sortByColumn'](item['data'],![]);}else if(item[_0x117e('0x1e6')]==_0x117e('0x1da')){this[_0x117e('0x1e8')](null);}}this['contextMenu']['dispose']();}this[_0x117e('0x1dc')]=null;}[_0x117e('0x1e9')](e){var model=this[_0x117e('0x2f')];var keys=[0x9,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28];if(keys[_0x117e('0x130')](e['keyCode']))e['preventDefault']();switch(e['keyCode']){case 0x9:{if(e[_0x117e('0x27')]==!![]){if(this['focusedItem']){if(this[_0x117e('0x1b1')])this['moveFocusedCellLeft']();else this[_0x117e('0x1c3')](this[_0x117e('0x1ea')][_0x117e('0xc')]-0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}}else{if(this['focusedItem']){if(this[_0x117e('0x1b1')])this['moveFocusedCellRight']();else this['moveFocusedCell'](this[_0x117e('0x1ea')][_0x117e('0xc')]+0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}}break;}case 0x21:{if(this['focusedItem']){if(this[_0x117e('0x1ea')][_0x117e('0xc')]-this[_0x117e('0x1ae')]<=0x0)this[_0x117e('0x1c3')](0x0,this[_0x117e('0x1ea')][_0x117e('0xd')]);else{this[_0x117e('0x1c3')](this[_0x117e('0x1ea')]['row']-this[_0x117e('0x1ae')],this[_0x117e('0x1ea')]['column']);this['scrollToRow'](this['focusedItem'][_0x117e('0xc')]);}}break;}case 0x22:{if(this[_0x117e('0x1ea')]){if(this['focusedItem']['row']+this[_0x117e('0x1ae')]>=this[_0x117e('0x1eb')])this['moveFocusedCell'](this[_0x117e('0x1eb')],this[_0x117e('0x1ea')][_0x117e('0xd')]);else{this[_0x117e('0x1c3')](this[_0x117e('0x1ea')][_0x117e('0xc')]+this[_0x117e('0x1ae')],this[_0x117e('0x1ea')][_0x117e('0xd')]);this[_0x117e('0x1d2')](this[_0x117e('0x1ea')]['row']);}}break;}case 0x23:{if(e[_0x117e('0x21')]==!![]){this[_0x117e('0x1c3')](this[_0x117e('0x1eb')],model['columnCount']-0x1);break;}if(this[_0x117e('0x1ea')]){this['moveFocusedCell'](this[_0x117e('0x1ea')][_0x117e('0xc')],model['columnCount']-0x1);}break;}case 0x24:{if(e[_0x117e('0x21')]==!![]){this[_0x117e('0x1c3')](0x0,0x0);break;}if(this['focusedCell']){this['moveFocusedCell'](this[_0x117e('0x1ea')][_0x117e('0xc')],0x0);}break;}case 0x25:{if(this[_0x117e('0x1ea')]){if(this[_0x117e('0x1b1')])this[_0x117e('0x1ec')]();else this[_0x117e('0x1c3')](this[_0x117e('0x1ea')][_0x117e('0xc')]-0x1,this[_0x117e('0x1ea')]['column']);}break;}case 0x27:{if(this[_0x117e('0x1ea')]){if(this[_0x117e('0x1b1')])this[_0x117e('0x1ed')]();else{if(this[_0x117e('0x1ea')][_0x117e('0xc')]<this[_0x117e('0x1eb')])this[_0x117e('0x1c3')](this[_0x117e('0x1ea')]['row']+0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}}break;}case 0x26:{if(this['focusedItem']){if(e[_0x117e('0x21')]==!![]){this['moveFocusedCell'](0x0,this[_0x117e('0x1ea')][_0x117e('0xd')]);break;}if(this[_0x117e('0x1ea')][_0x117e('0xc')]>0x0)this[_0x117e('0x1c3')](this[_0x117e('0x1ea')][_0x117e('0xc')]-0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}break;}case 0x28:{if(this[_0x117e('0x1ea')]){if(e[_0x117e('0x21')]==!![]){this['moveFocusedCell'](this[_0x117e('0x1eb')],this['focusedItem'][_0x117e('0xd')]);break;}if(this[_0x117e('0x1ea')][_0x117e('0xc')]<this['lastRowIndex'])this[_0x117e('0x1c3')](this[_0x117e('0x1ea')][_0x117e('0xc')]+0x1,this[_0x117e('0x1ea')]['column']);}break;}}}[_0x117e('0x1ad')](e){var model=this[_0x117e('0x2f')];if(e[_0x117e('0x21')]==!![]&&this[_0x117e('0x13c')]){if(e['keyCode']==0x21){e[_0x117e('0x23')]();this[_0x117e('0x1c3')](this['focusedCell'][_0x117e('0xc')],0x0);}else if(e[_0x117e('0x26')]==0x22){e['preventDefault']();this[_0x117e('0x1c3')](this[_0x117e('0x13c')][_0x117e('0xc')],model[_0x117e('0x9e')]-0x1);}}}[_0x117e('0x1a6')](e){var row=parseInt(e[_0x117e('0x1d8')][_0x117e('0xb')][_0x117e('0xc')]);if(!this[_0x117e('0x1b1')]){this[_0x117e('0x13c')]=null;this[_0x117e('0x1bd')](row);return;}if(this['focusedCell']&&e['currentTarget']===this['focusedCell']['element'])return;this[_0x117e('0x13c')]=new GridCell(this,row,parseInt(e[_0x117e('0x1d8')][_0x117e('0xb')][_0x117e('0xd')]));this[_0x117e('0x13c')]['focus']();}[_0x117e('0x1ee')](row,column,back){var c;var count=this['effectiveModel'][_0x117e('0x9e')];while(!![]){if(column>=count){column=0x0;back?row--:row++;}if(column<0x0){column=count-0x1;back?row--:row++;}if(this[_0x117e('0x2f')][_0x117e('0x97')](column)){c=column;break;}back?column--:column++;}if(c!=null){var nc={'row':row,'column':c};if(row>-0x1&&row<=this[_0x117e('0x1eb')])return nc;}return null;}[_0x117e('0x1c3')](row,column,back){if(this[_0x117e('0x1b1')]){var newCell=this[_0x117e('0x1ee')](row,column,back);if(newCell){this['focusedCell']=new GridCell(this,newCell['row'],newCell[_0x117e('0xd')]);if(this[_0x117e('0x111')]){return;}this[_0x117e('0x13c')][_0x117e('0x14b')]();}}else{if(this[_0x117e('0x111')])this[_0x117e('0x1bd')](row);else this[_0x117e('0x1ef')](row)[_0x117e('0x1f0')](()=>{this[_0x117e('0x1bd')](row);});}}[_0x117e('0x1ec')](){if(this[_0x117e('0x13c')])this[_0x117e('0x1c3')](this[_0x117e('0x13c')][_0x117e('0xc')],this['focusedCell'][_0x117e('0xd')]-0x1,!![]);}[_0x117e('0x1ed')](){if(this[_0x117e('0x13c')])this[_0x117e('0x1c3')](this[_0x117e('0x13c')][_0x117e('0xc')],this['focusedCell'][_0x117e('0xd')]+0x1);}get[_0x117e('0x1ea')](){if(this[_0x117e('0x13c')])return this[_0x117e('0x13c')];if(this[_0x117e('0x1b9')][_0x117e('0x1a')])return{'row':this[_0x117e('0x1b9')][0x0],'column':0x0};return null;}[_0x117e('0x13d')](row,column){return this[_0x117e('0xcc')][column][row-this[_0x117e('0x1b0')]];}[_0x117e('0x1f1')](row){return this[_0x117e('0x109')][row-this[_0x117e('0x1b0')]];}['isRowVisible'](row){if(row>=this[_0x117e('0x1b0')]&&row<this[_0x117e('0x1b0')]+this[_0x117e('0x1ae')])return!![];return![];}[_0x117e('0x142')](row,column){return this[_0x117e('0x143')](row);}[_0x117e('0x1c2')](row){var relRow=Math[_0x117e('0x1f2')](this[_0x117e('0x1b0')]-row);if(!this[_0x117e('0x143')](row)){this[_0x117e('0x111')]=!![];if(relRow==0x1){this['scrollToRow'](row);}else{this[_0x117e('0x1d2')](row-this[_0x117e('0x1ae')]+0x1);}}this[_0x117e('0x1af')](Math[_0x117e('0x1f2')](this[_0x117e('0x1b0')]-row));}async[_0x117e('0x1ef')](row){return new Promise(function(resolve,reject){var relRow=Math[_0x117e('0x1f2')](this['scrollRow']-row);if(!this[_0x117e('0x143')](row)){this[_0x117e('0x111')]=!![];if(relRow==0x1){this[_0x117e('0x1d2')](row);}else{this[_0x117e('0x1d2')](row-this[_0x117e('0x1ae')]+0x1);}}if(this[_0x117e('0x111')]){DomUtils[_0x117e('0x1bb')](()=>{return this[_0x117e('0x111')]==![];},()=>{this[_0x117e('0x1af')](Math[_0x117e('0x1f2')](this[_0x117e('0x1b0')]-row));resolve();});}else{resolve();}}['bind'](this));}[_0x117e('0x1af')](row){if(row!=0x0&&row!=this[_0x117e('0x1ae')]-0x1)return;if(row==0x0)this['dataTable']['style'][_0x117e('0x1f3')]='';if(row==this['rowsCount']-0x1){if(this[_0x117e('0x125')]*(row+0x1)>this[_0x117e('0x1c8')]){this[_0x117e('0x10a')][_0x117e('0xc5')][_0x117e('0x1f3')]='translateY(-'+this[_0x117e('0x1f4')]+_0x117e('0x1f5');}else this['dataTable'][_0x117e('0xc5')][_0x117e('0x1f3')]='';}}[_0x117e('0x129')](row){return![];}[_0x117e('0x1d2')](row){this[_0x117e('0x189')][_0x117e('0x1d3')]=row*this[_0x117e('0x1c9')];}get[_0x117e('0x13c')](){return this[_0x117e('0x167')];}set[_0x117e('0x13c')](value){if(this[_0x117e('0x167')]==value)return;this['_focusedCell']=value;}[_0x117e('0x14d')](){if(this[_0x117e('0x168')]!=null){if(this['_activeEditor'][_0x117e('0x1f6')]){if(this[_0x117e('0x168')][_0x117e('0x1f7')])this['_activeEditor']['onBlur']();this[_0x117e('0x168')][_0x117e('0x1f6')]();}else{this[_0x117e('0x168')][_0x117e('0x2a')]();DomUtils[_0x117e('0x1f8')](this[_0x117e('0x168')]);}}this[_0x117e('0x168')]=null;}get[_0x117e('0x1f9')](){return this['_activeEditor'];}set[_0x117e('0x1f9')](value){this['disposeActiveEditor']();this[_0x117e('0x168')]=value;if(this[_0x117e('0x168')]){if(this[_0x117e('0x168')][_0x117e('0x14f')])this[_0x117e('0x168')][_0x117e('0x14f')]['focus']();else this[_0x117e('0x168')]['focus']();}}get[_0x117e('0x1eb')](){var r=this['effectiveModel'][_0x117e('0x30')];if(!this[_0x117e('0x12e')])r--;return r;}get[_0x117e('0x1fa')](){var header=this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x186'));var h=DomUtils['getBounds'](header);return this['_element'][_0x117e('0xe5')](_0x117e('0x191'))['offsetHeight']-h['height'];}get[_0x117e('0x1c8')](){var header=this[_0x117e('0xef')]['querySelector'](_0x117e('0x186'));var h=DomUtils[_0x117e('0x126')](header);return this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x191'))[_0x117e('0x1fb')]-h[_0x117e('0x127')];}['getColumnWidth'](column){if(this['_columnWidths'])return this['_columnWidths'][column];return null;}[_0x117e('0x1a7')](column,width){if(!this[_0x117e('0x185')]||width==null)return;width=Math[_0x117e('0x1fc')](0x0,width);var header=this[_0x117e('0x185')]['querySelector'](_0x117e('0x1fd')+column+'\x22]');header[_0x117e('0xc5')][_0x117e('0x12b')]=width+'px';header[_0x117e('0xc5')]['flex']='none';var cells=[...this[_0x117e('0xef')]['querySelectorAll'](_0x117e('0x10f')+column+'\x27]')];for(var cell of cells)cell[_0x117e('0xc5')][_0x117e('0x12b')]=width+'px';this[_0x117e('0x166')][column]=width;}[_0x117e('0x199')](){if(this[_0x117e('0x1dc')]){this[_0x117e('0x1dc')][_0x117e('0x1f6')]();this[_0x117e('0x1dc')]=null;}}[_0x117e('0x1e2')](value){this[_0x117e('0x14d')]();var s=[];for(var i=0x0;i<value[_0x117e('0x1a')];i++){var row=this[_0x117e('0xf7')](value[i]);if(this[_0x117e('0x1c6')](row,RowAction[_0x117e('0x1fe')])){s[_0x117e('0x7c')](value[i]);this['onRowAction'](row,RowAction[_0x117e('0x1fe')]);}}this['selection'][_0x117e('0x12f')]=s;}[_0x117e('0xf7')](key){if(this['effectiveModel'])return this[_0x117e('0x2f')]['getKeyRow'](key);return-0x1;}[_0x117e('0x94')](index){if(this[_0x117e('0x2f')])return this[_0x117e('0x2f')][_0x117e('0x94')](index);return null;}[_0x117e('0x1ff')](){this[_0x117e('0x198')]();}['onResize'](){if(this[_0x117e('0x1cc')]){if(this[_0x117e('0x2f')]){this['calcScrollFix']();this[_0x117e('0x1b8')]();}}}[_0x117e('0x183')](e){if(!this['enabled']||!this[_0x117e('0x1cc')]||!this['allowScroll'])return;var currentPoint=DomUtils[_0x117e('0x200')](e);var bounds=this[_0x117e('0x201')];if(bounds[_0x117e('0x202')](currentPoint)){var timeNow=new Date()['getTime']();e['preventDefault']();var delta=parseInt(e[_0x117e('0x203')]||-e[_0x117e('0x204')]);if(timeNow-this[_0x117e('0x205')]<0x64){this[_0x117e('0x205')]=timeNow;return;}else{this[_0x117e('0x205')]=timeNow;var scrollDelta=this[_0x117e('0x1c9')]*(delta>0x0?-0x1:0x1);this['scroll'][_0x117e('0x1d3')]+=scrollDelta;}}}[_0x117e('0x1c6')](row,action,rowData,oldValues,newValues){if(this['effectiveModel']){var rowData=rowData||this[_0x117e('0x2f')][_0x117e('0x35')](row);var args=new RowModifyingEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction[_0x117e('0x206')]:this['_rowLoading'][_0x117e('0x16d')](this,args);break;case RowAction[_0x117e('0x1fe')]:this[_0x117e('0x178')]['raiseEvent'](this,args);break;case RowAction[_0x117e('0x1c1')]:this[_0x117e('0x172')][_0x117e('0x16d')](this,args);break;case RowAction[_0x117e('0x36')]:this[_0x117e('0x176')][_0x117e('0x16d')](this,args);break;case RowAction[_0x117e('0x1c7')]:this['_rowDeleting'][_0x117e('0x16d')](this,args);break;}return!args['cancel'];}}[_0x117e('0x123')](row,action,rowData,oldValues,newValues){if(this[_0x117e('0x2f')]){if(rowData==null&&action!=RowAction['Delete'])rowData=this['effectiveModel'][_0x117e('0x35')](row);var args=new RowModifiedEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction['Select']:this[_0x117e('0x179')][_0x117e('0x16d')](this,args);break;case RowAction[_0x117e('0x1c1')]:this[_0x117e('0x207')](()=>this[_0x117e('0x173')][_0x117e('0x16d')](this,args));break;case RowAction[_0x117e('0x36')]:this['_rowUpdated'][_0x117e('0x16d')](this,args);break;case RowAction[_0x117e('0x1c7')]:this[_0x117e('0x175')][_0x117e('0x16d')](this,args);break;case RowAction['Render']:this['_rowRendered']['raiseEvent'](this,args);break;}}}[_0x117e('0x6c')](row,column,value,displayValue){this[_0x117e('0x208')][_0x117e('0x16d')](this,new CellEventArgs(row,column,value,displayValue));}['queueEvent'](callback){this[_0x117e('0x16a')][_0x117e('0x7c')](callback);}[_0x117e('0x1b3')](){this['queuedEvents'][_0x117e('0x209')](e=>e());this[_0x117e('0x16a')]=[];}['onRowCommand'](commandName,control,row){this[_0x117e('0x14d')]();var rowData=this[_0x117e('0x2f')]['getRowData'](row);var args=new CommandEventArgs(commandName,control,row,rowData);this[_0x117e('0x20a')][_0x117e('0x16d')](this,args);if(!args[_0x117e('0x20b')]){if(commandName===_0x117e('0x1c7')){DeleteCommand[_0x117e('0xc8')](this,args);}}}get['rowLoading'](){return this[_0x117e('0x170')];}get[_0x117e('0x20c')](){return this[_0x117e('0x171')];}get[_0x117e('0x20d')](){return this[_0x117e('0x178')];}get[_0x117e('0x20e')](){return this[_0x117e('0x179')];}get[_0x117e('0x20f')](){return this[_0x117e('0x172')];}get[_0x117e('0x210')](){return this['_rowCreated'];}get['rowDeleting'](){return this['_rowDeleting'];}get[_0x117e('0x211')](){return this[_0x117e('0x175')];}get[_0x117e('0x212')](){return this[_0x117e('0x176')];}get[_0x117e('0x213')](){return this[_0x117e('0x177')];}get[_0x117e('0x214')](){return this[_0x117e('0x215')];}['onCellSelecting'](cell){var args=new CellValidateEventArgs(cell[_0x117e('0xc')],cell[_0x117e('0xd')]);this[_0x117e('0x215')][_0x117e('0x16d')](this,args);return!args[_0x117e('0x20b')];}get[_0x117e('0x216')](){return this[_0x117e('0x17a')];}[_0x117e('0x151')](cell){var args=new CellEventArgs(cell['row'],cell[_0x117e('0xd')]);this[_0x117e('0x17a')][_0x117e('0x16d')](this,args);}get[_0x117e('0x217')](){return this[_0x117e('0x218')];}[_0x117e('0x219')](cell){if(this[_0x117e('0x1b2')])return!![];var args=new CellValidateEventArgs(cell[_0x117e('0xc')],cell[_0x117e('0xd')]);this['_cellFocusing'][_0x117e('0x16d')](this,args);return!args[_0x117e('0x20b')];}get[_0x117e('0x21a')](){return this[_0x117e('0x17b')];}[_0x117e('0x150')](cell){if(this[_0x117e('0x1b2')])return!![];var args=new CellEventArgs(cell[_0x117e('0xc')],cell['column']);this[_0x117e('0x17b')]['raiseEvent'](this,args);}[_0x117e('0x136')](row,column,defaultContent){var args=new CellCustomDrawEventArgs(row,column,defaultContent);this[_0x117e('0x17c')][_0x117e('0x16d')](this,args);return args['content']||args[_0x117e('0x21b')];}get[_0x117e('0x21c')](){return this[_0x117e('0x17c')];}[_0x117e('0x11f')](row,column,defaultContent){var args=new CellCustomDrawEventArgs(row,column,defaultContent);this[_0x117e('0x21d')][_0x117e('0x16d')](this,args);return args[_0x117e('0xb4')]||args[_0x117e('0x21b')];}get['customDrawHeader'](){return this[_0x117e('0x21d')];}get[_0x117e('0x21e')](){return this[_0x117e('0x20a')];}get['resolveCellDataType'](){return this[_0x117e('0x17d')];}get[_0x117e('0x16c')](){return this[_0x117e('0x17f')];}get[_0x117e('0x16e')](){return this[_0x117e('0x17e')];}get['formatCellValue'](){return this[_0x117e('0x180')];}get[_0x117e('0x208')](){return this[_0x117e('0x181')];}[_0x117e('0x21f')](){var shadow=this[_0x117e('0x220')]({'mode':_0x117e('0xdd')});let gridsheet=new CSSStyleSheet();gridsheet[_0x117e('0x6d')](css_248z$1);shadow[_0x117e('0x221')]=[gridsheet];Picker[_0x117e('0x222')](shadow);let div=document[_0x117e('0x45')](_0x117e('0xe9'));div[_0x117e('0xc5')][_0x117e('0x15b')]=this[_0x117e('0xc5')][_0x117e('0x15b')];this[_0x117e('0xc5')]['cssText']='';div['id']=this[_0x117e('0x223')]('id');shadow[_0x117e('0x2e')](div);this['removeAttribute']('id');var view=new Grid(div);view[_0x117e('0x54')]=shadow;}}var g$2=typeof window!==_0x117e('0x3')?window:global;if(g$2[_0x117e('0x224')]!=undefined)g$2[_0x117e('0x224')][_0x117e('0x225')](_0x117e('0x226'),Grid);class GridColumn{constructor(name,dataType,editable){if(name)this[_0x117e('0x227')]=name;if(dataType)this[_0x117e('0x228')]=dataType;this['_metaData']=new Map();this[_0x117e('0x229')]=editable!=undefined?editable:!![];this[_0x117e('0x22a')]=!![];this[_0x117e('0x22b')]=![];}get[_0x117e('0x92')](){return this['_name'];}set[_0x117e('0x92')](value){this[_0x117e('0x227')]=value;}get[_0x117e('0x7f')](){return this[_0x117e('0x228')];}set[_0x117e('0x7f')](value){this[_0x117e('0x228')]=value;}get[_0x117e('0x9c')](){return this[_0x117e('0x22c')];}set[_0x117e('0x9c')](value){this[_0x117e('0x22c')]=value;}get[_0x117e('0x22d')](){if(this[_0x117e('0x228')]==CommandType)return'';return this[_0x117e('0x22e')]!=undefined?this['_caption']:this['_name'];}set[_0x117e('0x22d')](value){this['_caption']=value;}get['editable'](){if(this[_0x117e('0x228')]==CommandType)return![];return this[_0x117e('0x229')];}set[_0x117e('0x98')](value){this['_editable']=value;}get[_0x117e('0x22f')](){if(this[_0x117e('0x228')]==CommandType)return![];return this[_0x117e('0x22a')];}set[_0x117e('0x22f')](value){this[_0x117e('0x22a')]=value;}get[_0x117e('0x9b')](){return this[_0x117e('0x22b')];}set['hidden'](value){this['_hidden']=value;}}class PropertyGridModel extends ArrayModel{constructor(values,meta){var columns=[];var column1=new GridColumn(_0x117e('0x92'));column1[_0x117e('0x7f')]=StringType;column1[_0x117e('0x9c')]=meta;column1['editable']=![];columns[_0x117e('0x7c')](column1);var column2=new GridColumn(_0x117e('0x12'));column2['dataType']=DynamicType;column2[_0x117e('0x9c')]=meta;columns[_0x117e('0x7c')](column2);var column3=new GridColumn(_0x117e('0x230'));column3[_0x117e('0x7f')]=StringType;column3[_0x117e('0x9c')]=meta;column3[_0x117e('0x9b')]=!![];columns['push'](column3);super(values,columns,_0x117e('0x92'));}[_0x117e('0x74')](row,column){if(row<this[_0x117e('0x30')]){return this[_0x117e('0x12')](row,0x1)['meta'];}return this[_0x117e('0x8b')][column][_0x117e('0x9c')];}['cellDataType'](row,column){if(this[_0x117e('0x95')](column)==DynamicType){if(row<this['rowCount']){var valueObj=this[_0x117e('0x12')](row,column);return DynamicType['resolveValueType'](valueObj[_0x117e('0x12')],valueObj['meta']);}}return this['columnType'](column);}['value'](row,column){var columnName=this[_0x117e('0x8b')][column][_0x117e('0x92')];if(row<this['rowCount']){if(this[_0x117e('0x95')](column)==DynamicType)return this[_0x117e('0x8a')][row];return this[_0x117e('0x8a')][row][columnName];}return undefined;}['displayValue'](row,column){var value=this[_0x117e('0x12')](row,column);var meta=this[_0x117e('0x74')](row,column);if(this[_0x117e('0x95')](column)==DynamicType){return DynamicType[_0x117e('0x3e')](value['value'],meta);}else if(this[_0x117e('0x95')](column)==StringType){if(meta[_0x117e('0x10')](_0x117e('0x231'))!=undefined)return this[_0x117e('0x95')](column)[_0x117e('0x3e')](meta[_0x117e('0x10')](_0x117e('0x231')),meta);return this['columnType'](column)[_0x117e('0x3e')](value,meta);}return this[_0x117e('0x95')](column)[_0x117e('0x3e')](value,meta);}[_0x117e('0x33')](rowData,index){throw new Error(_0x117e('0x232'));}[_0x117e('0xfa')](row){throw new Error(_0x117e('0x232'));}}class CollectionType extends ObjectType{static[_0x117e('0x3e')](value,meta){return'[Collection]';}}class PropertyGridContent extends UIControl{constructor(obj){super();this['_defaultWidth']=Unit[_0x117e('0x15e')](0x64);this[_0x117e('0x15d')]=Unit[_0x117e('0x15e')](0x64);this[_0x117e('0x233')]=obj;this[_0x117e('0x15f')]=null;this[_0x117e('0x160')]=null;this['_metaData']=new Map();this[_0x117e('0x234')]=['__proto__'];this[_0x117e('0x161')]=!![];this[_0x117e('0x163')]=!![];this['_allowScroll']=!![];this[_0x117e('0xfc')]=null;this['_sortedColumn']=-0x1;this[_0x117e('0xf4')]=!![];this[_0x117e('0x38')]=new GridRenderer();this[_0x117e('0x38')]['skipHeader']=!![];this[_0x117e('0x38')][_0x117e('0xca')]=this;this['_scrollRow']=0x0;this[_0x117e('0x166')]=null;this[_0x117e('0x12c')]=0x11;this[_0x117e('0x167')]=null;this[_0x117e('0x168')]=null;this[_0x117e('0x169')]=![];this[_0x117e('0x235')]='';this['_scrollBarSize']=0x10;this['selection']=new Selection(this);this[_0x117e('0x16a')]=[];this[_0x117e('0x236')]=new EventDispatcher();this[_0x117e('0x237')]=new EventDispatcher();this[_0x117e('0x238')]=new EventDispatcher();this[_0x117e('0x170')]=new EventDispatcher();this['_rowRendered']=new EventDispatcher();this['_rowExpanding']=new EventDispatcher();this['_rowExpanded']=new EventDispatcher();this['_rowCreating']=new EventDispatcher();this[_0x117e('0x173')]=new EventDispatcher();this['_rowDeleting']=new EventDispatcher();this[_0x117e('0x175')]=new EventDispatcher();this[_0x117e('0x176')]=new EventDispatcher();this[_0x117e('0x177')]=new EventDispatcher();this['_rowSelecting']=new EventDispatcher();this[_0x117e('0x179')]=new EventDispatcher();this['_cellSelecting']=new EventDispatcher();this['_cellSelected']=new EventDispatcher();this[_0x117e('0x218')]=new EventDispatcher();this[_0x117e('0x17b')]=new EventDispatcher();this['scrollHandler']=e=>this[_0x117e('0xce')](e);this[_0x117e('0x182')]=e=>this[_0x117e('0x183')](e);}get['wrapper'](){return this['_element'][_0x117e('0xe5')]('.mfdv-grid-content-inner-wrapper');}get[_0x117e('0x185')](){return this[_0x117e('0xef')][_0x117e('0xe5')]('.mfdv-grid-header');}get[_0x117e('0x10a')](){return this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x187'));}get[_0x117e('0x109')](){return this[_0x117e('0x38')][_0x117e('0x109')];}get[_0x117e('0xcc')](){return this['renderer'][_0x117e('0xcc')];}['detach'](){this[_0x117e('0x189')][_0x117e('0x18b')](_0x117e('0x189'),this[_0x117e('0x239')]);window[_0x117e('0x18b')]('resize',this[_0x117e('0x18c')]);document[_0x117e('0x18b')](_0x117e('0x18d'),this[_0x117e('0x182')]);document[_0x117e('0x18b')](_0x117e('0x18e'),this[_0x117e('0x182')]);document[_0x117e('0x18b')](_0x117e('0x18f'),this[_0x117e('0x182')]);super['detach']();}[_0x117e('0x1ab')](e){if(e['button']===0x2)return;e[_0x117e('0x23')]();this[_0x117e('0x13c')]=null;var index=parseInt(e[_0x117e('0x29')][_0x117e('0xb')]['row']);var selection=this[_0x117e('0x133')]['rows'];var row=this[_0x117e('0x94')](index);if(e[_0x117e('0x27')]&&selection[_0x117e('0x1a')]){var sindex=this['getKeyRow'](selection[0x0]);var s=Math[_0x117e('0x1e1')](sindex,index);var e=Math[_0x117e('0x1fc')](sindex,index);selection=[];for(var i=s;i<=e;i++){selection[_0x117e('0x7c')](this[_0x117e('0x94')](i));}this[_0x117e('0x1e2')](selection);}else if(e[_0x117e('0x21')]){if(!selection['includes'](row))selection[_0x117e('0x7c')](row);else selection[_0x117e('0xfe')](selection['indexOf'](row),0x1);this[_0x117e('0x1e2')](selection);}else{this[_0x117e('0x1e2')]([row]);}}[_0x117e('0x55')](element){this[_0x117e('0x23a')]();if(element)this[_0x117e('0xef')]=element;this['renderer'][_0x117e('0xcd')]();var headerHeight=DomUtils[_0x117e('0x126')](this['header'])[_0x117e('0x127')];var sbSize=DomUtils[_0x117e('0x190')]();var wrapper=this[_0x117e('0xef')][_0x117e('0xe5')]('.mfdv-grid-content-wrapper');wrapper[_0x117e('0xc5')]['right']=sbSize+'px';var ctop=this['_element'][_0x117e('0xe5')]('.mfdv-grid-scroll-corner-top');ctop['style'][_0x117e('0x12b')]=sbSize+'px';ctop[_0x117e('0xc5')][_0x117e('0x127')]=headerHeight+'px';this[_0x117e('0x189')]=this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x193'));this[_0x117e('0x189')][_0x117e('0xc5')][_0x117e('0x12b')]=sbSize+'px';this[_0x117e('0x189')][_0x117e('0xc5')][_0x117e('0x194')]=headerHeight+'px';this['calcScrollFix']();this['updateScrollRange']();this[_0x117e('0x189')][_0x117e('0x15')](_0x117e('0x189'),this[_0x117e('0x239')]);this[_0x117e('0x197')]();this[_0x117e('0x18c')]=e=>this[_0x117e('0x198')](e);window[_0x117e('0x15')](_0x117e('0x23b'),this[_0x117e('0x18c')]);this[_0x117e('0xef')][_0x117e('0x15')](_0x117e('0x23c'),this[_0x117e('0x182')]);super['attach']();}['onBeforeRender'](){this[_0x117e('0x199')]();this[_0x117e('0x14d')]();this[_0x117e('0x169')]=document[_0x117e('0x19a')]===this['dataTable']||DomUtils[_0x117e('0x23d')](document[_0x117e('0x19a')],this[_0x117e('0x10a')]);}['onAfterRender'](){var model=this[_0x117e('0x2f')];if(model){for(let c=0x0;c<model['columnCount'];c++){var cells=[...this[_0x117e('0xef')][_0x117e('0x10e')](_0x117e('0x10f')+c+'\x27]')];cells[_0x117e('0x209')](cell=>{cell[_0x117e('0x15')](_0x117e('0x1e'),e=>{this[_0x117e('0x1a6')](e);});if(c==0x0){cell[_0x117e('0x15')](_0x117e('0x19c'),e=>{this[_0x117e('0x19d')](e);});cell[_0x117e('0x15')](_0x117e('0x19e'),e=>{this['headerMouseLeave'](e);});cell[_0x117e('0x15')]('mousedown',e=>{this[_0x117e('0x1a4')](e);});cell[_0x117e('0x15')]('contextmenu',e=>{this[_0x117e('0x1aa')](e);});}});}this[_0x117e('0x1a7')](this['getColumnWidth'](0x0));var table=this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x187'));var rowHeaders=[...table[_0x117e('0x10e')]('.mfdv-grid-row-header')];rowHeaders[_0x117e('0x209')](r=>{r[_0x117e('0x15')](_0x117e('0x1a3'),e=>{this[_0x117e('0x1ab')](e);});r[_0x117e('0x15')](_0x117e('0x1a1'),e=>{this[_0x117e('0x1aa')](e,!![]);});});var table=this[_0x117e('0xef')]['querySelector'](_0x117e('0x187'));table[_0x117e('0x15')]('keydown',e=>{this[_0x117e('0x1e9')](e,model);});table[_0x117e('0x15')](_0x117e('0x1ac'),e=>{this[_0x117e('0x1ad')](e,model);});}this[_0x117e('0x1ae')]=this[_0x117e('0x109')][_0x117e('0x1a')];this[_0x117e('0x125')]=this[_0x117e('0x1ae')]?DomUtils[_0x117e('0x126')](this[_0x117e('0x10a')][_0x117e('0x10b')][0x0])['height']:0x0;if(this[_0x117e('0x1ca')])this[_0x117e('0x196')]();if(this[_0x117e('0x169')])this[_0x117e('0x10a')]['focus']();if(this[_0x117e('0x13c')]!=null&&this[_0x117e('0x143')](this[_0x117e('0x13c')][_0x117e('0xc')])){this['scrollFix'](this[_0x117e('0x13c')][_0x117e('0xc')]-this[_0x117e('0x1b0')]);if(this[_0x117e('0x1b1')])this[_0x117e('0x13c')][_0x117e('0x14b')]();}}['draw'](){super[_0x117e('0x53')]();DomUtils['addCssClass'](this[_0x117e('0xef')],_0x117e('0x23e'));var grid=this[_0x117e('0xef')];var scroll=document['createElement'](_0x117e('0xe9'));scroll['className']=_0x117e('0x23f');grid['appendChild'](scroll);var scrollSpacer=document[_0x117e('0x45')]('div');scroll[_0x117e('0x2e')](scrollSpacer);var scrollCorner=document[_0x117e('0x45')](_0x117e('0xe9'));scrollCorner[_0x117e('0x9')]=_0x117e('0x1b5');scroll[_0x117e('0x2e')](scrollCorner);var scrollCorner=document[_0x117e('0x45')](_0x117e('0xe9'));scrollCorner[_0x117e('0x9')]=_0x117e('0x240');scroll[_0x117e('0x2e')](scrollCorner);var body=document[_0x117e('0x45')]('div');body[_0x117e('0x9')]=_0x117e('0x1b6');var wrap=document[_0x117e('0x45')](_0x117e('0xe9'));wrap[_0x117e('0x9')]=_0x117e('0x1b7');body['appendChild'](wrap);grid['appendChild'](body);return this[_0x117e('0xef')];}async['refresh'](selected){return new Promise(function(resolve,reject){this['isRepainting']=!![];if(selected)this[_0x117e('0x38')][_0x117e('0x139')](this['selectedRowIndices'][0x0],this[_0x117e('0x1b9')][_0x117e('0x1a')]-0x1);else this[_0x117e('0x1ba')]();DomUtils['waitFor'](()=>{return this[_0x117e('0x111')]==![];},()=>{resolve();});}[_0x117e('0x93')](this));}[_0x117e('0x1bc')](row,column,moveBackwards){this['moveFocusedCell'](row,column,moveBackwards);}[_0x117e('0x14c')](row,column){this[_0x117e('0x133')][_0x117e('0x134')]=[{'row':this[_0x117e('0x94')](row),'column':column}];}['selectRows'](index,count){if(index===undefined||index==null)return;var selection=[];for(var i=index;i<index+(count||0x1);i++){selection[_0x117e('0x7c')](this['getRowKey'](i));}this[_0x117e('0x1e2')](selection);}get[_0x117e('0x1b9')](){if(this[_0x117e('0x133')][_0x117e('0x134')][_0x117e('0x1a')])return[this['getKeyRow'](this[_0x117e('0x133')]['cells'][0x0][_0x117e('0xc')])];var indices=[];this['selection'][_0x117e('0x12f')][_0x117e('0x209')](r=>{indices[_0x117e('0x7c')](this[_0x117e('0xf7')](r));});return indices;}get[_0x117e('0x1be')](){if(this['selection']['cells'][_0x117e('0x1a')]){var row=this[_0x117e('0xf7')](this[_0x117e('0x133')][_0x117e('0x134')][0x0][_0x117e('0xc')]);return[new GridCell(this,row,this[_0x117e('0x133')][_0x117e('0x134')][0x0][_0x117e('0xd')])];}return[];}[_0x117e('0x1ba')](){this['renderer'][_0x117e('0xfb')]();}async[_0x117e('0x139')](index,count){return new Promise(function(resolve,reject){var model=this[_0x117e('0x2f')];if(model){this[_0x117e('0x111')]=!![];this[_0x117e('0x38')][_0x117e('0x139')](index,count||0x1);DomUtils[_0x117e('0x1bb')](()=>{return this[_0x117e('0x111')]==![];},()=>{resolve();});}else reject(_0x117e('0x1c4'));}['bind'](this));}['addRow'](){if(this['onRowValidateAction'](this['model'][_0x117e('0x30')],RowAction[_0x117e('0x1c1')])){this[_0x117e('0x123')](this[_0x117e('0x64')]['rowCount'],RowAction[_0x117e('0x1c1')]);}}[_0x117e('0xc9')](index,count){var model=this['effectiveModel'];if(model){var i=index+count-0x1;while(i>=index){if(this[_0x117e('0x1c6')](i,RowAction[_0x117e('0x1c7')])){this[_0x117e('0x23a')]();this[_0x117e('0x123')](-0x1,RowAction[_0x117e('0x1c7')],null,null);}i--;}this[_0x117e('0x1ca')]=!![];}}['sortByColumn'](index,sortAscending){if(index==null){this[_0x117e('0xff')]=-0x1;return;}if(this[_0x117e('0xff')]==index){this[_0x117e('0x100')]=sortAscending!==undefined?sortAscending:!this[_0x117e('0x100')];}else{this[_0x117e('0xff')]=index;this[_0x117e('0x100')]=sortAscending!==undefined?sortAscending:!![];}}['groupByColumn'](index){if(index==null){this[_0x117e('0x101')]=-0x1;return;}if(this[_0x117e('0x101')]!=index){this[_0x117e('0x101')]=index;}}[_0x117e('0x195')](){this[_0x117e('0x189')][_0x117e('0xc5')]['height']=this[_0x117e('0x1fa')]+'px';this['scrollFixAmount']=this[_0x117e('0x125')]-this[_0x117e('0x1c8')]%this['rowHeight'];}[_0x117e('0x196')](){var model=this[_0x117e('0x2f')];if(model){var scrollRange=this[_0x117e('0x125')]*model[_0x117e('0x30')]-this['_scrollBarSize'];this[_0x117e('0x189')]['children'][0x0][_0x117e('0xc5')][_0x117e('0x127')]=scrollRange+'px';this[_0x117e('0x1c9')]=this[_0x117e('0x125')];this[_0x117e('0x1ca')]=![];}}['initColumnWidths'](){if(!this[_0x117e('0x166')]){var w=this['_element'][_0x117e('0xe7')]['parentNode'][_0x117e('0xe7')][_0x117e('0x241')]-0x28;this['_columnWidths']=new Array(0x2);if(this['_collectionObject'])this[_0x117e('0x1a7')](0x1e);else this[_0x117e('0x1a7')](w/0x2);}DomUtils['forceRedraw'](this[_0x117e('0x14f')]);}['resizeColumn'](clientX,column){var dx=clientX-DomUtils['getBounds'](this[_0x117e('0xcc')][0x0][0x0])[_0x117e('0x40')]();this[_0x117e('0x1a7')](dx);}get[_0x117e('0x64')](){return this['effectiveModel'];}set[_0x117e('0x64')](value){if(this['_model']!=value){if(this[_0x117e('0x13c')]){this[_0x117e('0x13c')]['invalidateKey']();}this['_proxyModel']=null;this[_0x117e('0x15f')]=value;if(this[_0x117e('0x1cc')]){this[_0x117e('0x1ca')]=!![];this['invalidateDom']();}}}['getAllPropertyDescriptors'](obj){if(!obj){return Object[_0x117e('0x242')](null);}else{const proto=Object[_0x117e('0x243')](obj);return{...this['getAllPropertyDescriptors'](proto),...Object['getOwnPropertyDescriptors'](obj)};}}get['selectedObject'](){return this[_0x117e('0x233')];}set[_0x117e('0x244')](value){this[_0x117e('0x233')]=value;this[_0x117e('0x23a')]();}['generateData'](values){var values=[];var props=this[_0x117e('0x245')](this['selectedObject']);Object['entries'](props)[_0x117e('0x79')](d=>{var propName=d[0x0]['toString']();var valueObj=d[0x1][_0x117e('0x12')];if(valueObj instanceof Function)return;if(this[_0x117e('0x234')]['indexOf'](propName)>-0x1)return;if(!this['showAllProperties']&&!this[_0x117e('0x14a')][_0x117e('0x9c')][_0x117e('0xe')](propName))return;var meta=new Map(Object[_0x117e('0x1bf')](this[_0x117e('0x14a')][_0x117e('0x9c')]['get'](propName)||{}));if(!this[_0x117e('0x246')]){if(!(d[0x1][_0x117e('0x247')]instanceof Function)&&meta[_0x117e('0x10')]('dataType')!=CollectionType){if(this[_0x117e('0x248')]){if(!this[_0x117e('0x249')])meta[_0x117e('0x247')]('readonly',!![]);}else return;}}if(meta[_0x117e('0x10')](_0x117e('0x24a'))==!![])return;var rowData={'id':values[_0x117e('0x1a')],'name':propName,'value':this[_0x117e('0x244')][propName],'category':meta[_0x117e('0x10')]('category'),'meta':meta};var valid=this['onRowValidateAction'](values[_0x117e('0x1a')],RowAction[_0x117e('0x206')],rowData,null,null);if(valid){values[_0x117e('0x7c')](rowData);}});this[_0x117e('0x64')]=new PropertyGridModel(values,this['_metaData']);}get[_0x117e('0x9c')](){return this[_0x117e('0x22c')];}set['metaData'](value){this[_0x117e('0x22c')]=value;}get[_0x117e('0x24b')](){return this[_0x117e('0x249')]||this[_0x117e('0x14a')][_0x117e('0x24b')];}get[_0x117e('0x248')](){return this['_collectionObject']||this[_0x117e('0x14a')]['showReadonlyProperties'];}get['editReadonlyProperties'](){return this[_0x117e('0x14a')][_0x117e('0x246')];}[_0x117e('0x1cd')](){this[_0x117e('0x1b0')]=0x0;var model=this['_model'];this[_0x117e('0x64')]=null;this[_0x117e('0x64')]=model;}get['effectiveModel'](){this[_0x117e('0x1ce')]();if(this[_0x117e('0x160')]!=null)return this['_proxyModel'];return this['_model'];}[_0x117e('0x1ce')](){if(this['_proxyModel']==null&&this[_0x117e('0x15f')]!=null){if(this[_0x117e('0xf3')]>-0x1||this[_0x117e('0xfc')]!=null){this['_proxyModel']=new ProxyModel(this['_model']);this[_0x117e('0x160')]['filter']=this[_0x117e('0xfc')];this[_0x117e('0x160')][_0x117e('0xff')]=this[_0x117e('0xf3')];this[_0x117e('0x160')][_0x117e('0x100')]=this[_0x117e('0xf4')];this[_0x117e('0x160')][_0x117e('0x101')]=this[_0x117e('0xf5')];}}}get[_0x117e('0x14e')](){return this[_0x117e('0x161')];}set[_0x117e('0x14e')](value){if(this['_allowEdit']!=value){this[_0x117e('0x161')]=value;}}get[_0x117e('0x1b1')](){return this[_0x117e('0x163')];}set[_0x117e('0x1b1')](value){if(this[_0x117e('0x163')]!=value){this[_0x117e('0x163')]=value;}}get[_0x117e('0x1d1')](){return this[_0x117e('0x164')];}set[_0x117e('0x1d1')](value){if(this[_0x117e('0x164')]!=value){this[_0x117e('0x164')]=value;}}get[_0x117e('0x1c0')](){return this[_0x117e('0xfc')];}set['filter'](value){if(this[_0x117e('0xfc')]!=value){this[_0x117e('0x160')]=null;this['_filter']=value;this[_0x117e('0x1ca')]=!![];this[_0x117e('0x1ba')]();}}get[_0x117e('0xff')](){return this['_sortedColumn'];}set[_0x117e('0xff')](value){if(this['_sortedColumn']!=value){this[_0x117e('0x160')]=null;this[_0x117e('0xf3')]=value;this['renderer'][_0x117e('0xcf')]();this[_0x117e('0x24c')][_0x117e('0x16d')](this,{'column':this[_0x117e('0xf3')],'sortAscending':this['_sortAscending']});}}get['sortAscending'](){return this[_0x117e('0xf4')];}set[_0x117e('0x100')](value){if(this['_sortAscending']!=value){this[_0x117e('0x160')]=null;this[_0x117e('0xf4')]=value;if(this[_0x117e('0xf3')]>-0x1){this[_0x117e('0x38')]['onSort']();this[_0x117e('0x24c')][_0x117e('0x16d')](this,{'column':this['_sortedColumn'],'sortAscending':this['_sortAscending']});}}}get[_0x117e('0x101')](){return this['_groupColumn'];}set[_0x117e('0x101')](value){if(this[_0x117e('0xf5')]!=value){this[_0x117e('0x160')]=null;var oldGrouping=this[_0x117e('0xf5')];this['_groupColumn']=value;this[_0x117e('0x1ca')]=!![];this['renderer'][_0x117e('0xcf')]();this[_0x117e('0x24d')][_0x117e('0x16d')](this,{'newValue':this[_0x117e('0xf5')],'oldValue':oldGrouping});}}get[_0x117e('0x1b0')](){return this[_0x117e('0x165')];}set[_0x117e('0x1b0')](value){if(this[_0x117e('0x165')]!=value){if(value>-0x1&&value<this['model'][_0x117e('0x30')])this['_scrollRow']=value;if(this[_0x117e('0x1cc')]){this[_0x117e('0x1d2')](this['_scrollRow']);this[_0x117e('0x38')][_0x117e('0xce')]();}}}['onScroll'](e){if(!this['allowScroll']){e[_0x117e('0x23')]();return![];}var scrollPos=this[_0x117e('0x189')]['scrollTop'];var row=Math[_0x117e('0x1d4')](scrollPos/this['scrollIncrement']);this[_0x117e('0x1b0')]=row;}[_0x117e('0x19d')](e){if(typeof e[_0x117e('0x29')][_0x117e('0xb')][_0x117e('0xd')]!=='undefined'&&e['clientX']>DomUtils[_0x117e('0x126')](e[_0x117e('0x29')])['right']()-0x14)e['target'][_0x117e('0xc5')][_0x117e('0x1d5')]='col-resize';else e['target'][_0x117e('0xc5')][_0x117e('0x1d5')]=_0x117e('0x1d7');}[_0x117e('0x19f')](e){e[_0x117e('0x29')][_0x117e('0xc5')][_0x117e('0x1d5')]=_0x117e('0x1d7');}[_0x117e('0x1a4')](e){var c=parseInt(e[_0x117e('0x1d8')][_0x117e('0xb')][_0x117e('0xd')]);if(e['clientX']>DomUtils['getBounds'](e[_0x117e('0x1d8')])[_0x117e('0x70')]()-0x14){e[_0x117e('0x23')]();let resizeHandler=e=>this[_0x117e('0x1de')](e['clientX'],c);var resizeEndHandler=()=>{window[_0x117e('0x18b')](_0x117e('0x1df'),resizeHandler);window[_0x117e('0x18b')]('mouseup',resizeEndHandler);};window[_0x117e('0x15')](_0x117e('0x1df'),resizeHandler);window[_0x117e('0x15')](_0x117e('0x1e0'),resizeEndHandler);}}[_0x117e('0x1aa')](e,selection){e[_0x117e('0x23')]();var items=[];var items=[{'title':_0x117e('0x24e')+(selection&&this[_0x117e('0x1b9')][_0x117e('0x1a')]>0x1?'s':''),'dataIndex':selection?0x1:0x0}];this[_0x117e('0x199')]();var b=DomUtils['getBounds'](e['currentTarget'],this[_0x117e('0x14f')]);this[_0x117e('0x1dc')]=Dialogs['showContextMenu'](items,b['topRight'](),this[_0x117e('0x1e5')][_0x117e('0x93')](this),this[_0x117e('0x14f')],this[_0x117e('0x4a')]);}[_0x117e('0x1e5')](item){if(item){var model=this['effectiveModel'];if(model){if(item[_0x117e('0x24f')]==0x0){var row=this[_0x117e('0x13c')][_0x117e('0xc')];var meta=this[_0x117e('0x64')]['cellMetaData'](row,0x1);if(meta['get']('nullable')==![])return;var nullValue=meta[_0x117e('0xe')]('nullValue')?meta['get'](_0x117e('0x250')):null;StringType[_0x117e('0x1d')](nullValue,this[_0x117e('0x13d')](row,0x1),this);}if(item[_0x117e('0x24f')]==0x1){var indices=this[_0x117e('0x1b9')];indices[_0x117e('0x209')](row=>{var meta=this[_0x117e('0x64')][_0x117e('0x74')](row,0x1);if(meta[_0x117e('0x10')](_0x117e('0x251'))==![])return;var nullValue=meta['has'](_0x117e('0x250'))?meta[_0x117e('0x10')](_0x117e('0x250')):null;var element=null;if(this[_0x117e('0x143')](row))element=this[_0x117e('0x13d')](row,0x1);StringType[_0x117e('0x1d')](nullValue,element,this,row,0x1);});}}this[_0x117e('0x1dc')][_0x117e('0x1f6')]();}this['contextMenu']=null;}[_0x117e('0x199')](){if(this[_0x117e('0x1dc')]){this[_0x117e('0x1dc')]['dispose']();this[_0x117e('0x1dc')]=null;}}[_0x117e('0x1e9')](e){var keys=[0x9,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28];if(keys[_0x117e('0x130')](e[_0x117e('0x26')]))e['preventDefault']();switch(e['keyCode']){case 0x9:{if(e[_0x117e('0x27')]==!![]){if(this[_0x117e('0x1ea')]){if(this[_0x117e('0x1b1')])this[_0x117e('0x1ec')]();else this[_0x117e('0x1c3')](this[_0x117e('0x1ea')]['row']-0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}}else{if(this[_0x117e('0x1ea')]){if(this[_0x117e('0x1b1')])this[_0x117e('0x1ed')]();else this['moveFocusedCell'](this[_0x117e('0x1ea')][_0x117e('0xc')]+0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}}break;}case 0x21:{if(this[_0x117e('0x1ea')]){if(this[_0x117e('0x1ea')][_0x117e('0xc')]-this[_0x117e('0x1ae')]<=0x0)this[_0x117e('0x1c3')](0x0,this['focusedItem'][_0x117e('0xd')]);else{this[_0x117e('0x1c3')](this[_0x117e('0x1ea')][_0x117e('0xc')]-this[_0x117e('0x1ae')],this[_0x117e('0x1ea')][_0x117e('0xd')]);this[_0x117e('0x1d2')](this[_0x117e('0x1ea')][_0x117e('0xc')]);}}break;}case 0x22:{if(this[_0x117e('0x1ea')]){if(this[_0x117e('0x1ea')][_0x117e('0xc')]+this[_0x117e('0x1ae')]>=this[_0x117e('0x1eb')])this['moveFocusedCell'](this['lastRowIndex'],this[_0x117e('0x1ea')][_0x117e('0xd')]);else{this[_0x117e('0x1c3')](this[_0x117e('0x1ea')][_0x117e('0xc')]+this['rowsCount'],this['focusedItem'][_0x117e('0xd')]);this[_0x117e('0x1d2')](this[_0x117e('0x1ea')][_0x117e('0xc')]);}}break;}case 0x23:{if(e[_0x117e('0x21')]==!![]){this[_0x117e('0x1c3')](this[_0x117e('0x1eb')],this[_0x117e('0x252')]);break;}if(this[_0x117e('0x1ea')]){this['moveFocusedCell'](this[_0x117e('0x1ea')][_0x117e('0xc')],this[_0x117e('0x252')]);}break;}case 0x24:{if(e['ctrlKey']==!![]){this[_0x117e('0x1c3')](0x0,this[_0x117e('0x253')]);break;}if(this[_0x117e('0x13c')]){this['moveFocusedCell'](this[_0x117e('0x1ea')]['row'],this[_0x117e('0x253')]);}break;}case 0x25:{if(this[_0x117e('0x1ea')]){if(this['allowCellSelect'])this['moveFocusedCellLeft']();else this[_0x117e('0x1c3')](this[_0x117e('0x1ea')]['row']-0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}break;}case 0x27:{if(this[_0x117e('0x1ea')]){if(this[_0x117e('0x1b1')])this['moveFocusedCellRight']();else{if(this[_0x117e('0x1ea')]['row']<this[_0x117e('0x1eb')])this[_0x117e('0x1c3')](this['focusedItem']['row']+0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}}break;}case 0x26:{if(this['focusedItem']){if(e[_0x117e('0x21')]==!![]){this[_0x117e('0x1c3')](0x0,this[_0x117e('0x1ea')][_0x117e('0xd')],!![]);break;}if(this[_0x117e('0x1ea')][_0x117e('0xc')]>0x0)this['moveFocusedCell'](this[_0x117e('0x1ea')]['row']-0x1,this['focusedItem']['column'],!![]);}break;}case 0x28:{if(this[_0x117e('0x1ea')]){if(e[_0x117e('0x21')]==!![]){this[_0x117e('0x1c3')](this[_0x117e('0x1eb')],this[_0x117e('0x1ea')][_0x117e('0xd')]);break;}if(this[_0x117e('0x1ea')]['row']<this[_0x117e('0x1eb')])this[_0x117e('0x1c3')](this['focusedItem'][_0x117e('0xc')]+0x1,this[_0x117e('0x1ea')][_0x117e('0xd')]);}break;}}if(this[_0x117e('0x13c')]){if(this[_0x117e('0x13c')][_0x117e('0xd')]==0x0){if(e[_0x117e('0x20')][_0x117e('0xdb')](/^[\d\w]$/i)){this[_0x117e('0x235')]+=e[_0x117e('0x20')];if(this['_clearSearchTimeout'])clearTimeout(this[_0x117e('0x254')]);this[_0x117e('0x254')]=setTimeout(function(){this['_searchString']='';}[_0x117e('0x93')](this),0xc8);this[_0x117e('0x255')](this[_0x117e('0x235')]);}}}}['autoSearch'](searchString){var i=0x0;var row=0x0;if(this[_0x117e('0x13c')]){var d=this[_0x117e('0x64')][_0x117e('0x9d')](this[_0x117e('0x13c')][_0x117e('0xc')],0x0)['toLowerCase']();if(d[_0x117e('0x256')](searchString))row=this[_0x117e('0x13c')][_0x117e('0xc')]+0x1;else row=this[_0x117e('0x13c')][_0x117e('0xc')];}while(i<this['model']['rowCount']){if(row==this[_0x117e('0x64')][_0x117e('0x30')]){row=0x0;}if(!this['isGroupRow'](row)){var d=this[_0x117e('0x64')][_0x117e('0x9d')](row,0x0)[_0x117e('0x257')]();if(d['startsWith'](searchString)){this[_0x117e('0x13c')]=new GridCell(this,row,0x0);if(this[_0x117e('0x111')])return;this[_0x117e('0x13c')][_0x117e('0x14b')]();return;}}i+=0x1;row+=0x1;}}['tableKeyUp'](e){var model=this['effectiveModel'];if(e[_0x117e('0x21')]==!![]&&this[_0x117e('0x13c')]){if(e[_0x117e('0x26')]==0x21){e[_0x117e('0x23')]();this[_0x117e('0x1c3')](this[_0x117e('0x13c')][_0x117e('0xc')],0x0);}else if(e[_0x117e('0x26')]==0x22){e[_0x117e('0x23')]();this[_0x117e('0x1c3')](this[_0x117e('0x13c')]['row'],model['columnCount']-0x1);}}}[_0x117e('0x1a6')](e){var row=parseInt(e['currentTarget'][_0x117e('0xb')]['row']);if(!this['allowCellSelect']){this[_0x117e('0x13c')]=null;this[_0x117e('0x1bd')](row);return;}if(this[_0x117e('0x13c')]&&e[_0x117e('0x1d8')]===this[_0x117e('0x13c')]['element'])return;this[_0x117e('0x13c')]=new GridCell(this,row,parseInt(e[_0x117e('0x1d8')][_0x117e('0xb')][_0x117e('0xd')]));this[_0x117e('0x13c')]['focus']();}[_0x117e('0x258')](row,back){if(!this[_0x117e('0x129')](row)){if(back){if(row>0x0)row--;else return null;}else{if(row<this['lastRowIndex'])row++;else return null;}}while(this[_0x117e('0x129')](row)){if(back){if(row>0x0)return--row;else return null;}else{if(row<this[_0x117e('0x1eb')])return++row;else return null;}}return row;}[_0x117e('0x1ee')](row,column,back){if(!this[_0x117e('0x2f')])return null;var c;var count=this[_0x117e('0x2f')]['columnCount'];if(this[_0x117e('0x129')](row))row=this[_0x117e('0x258')](row,back);while(!![]){if(column>=count){column=0x0;row=this[_0x117e('0x258')](row,back);}if(column<0x0){column=count-0x1;row=this[_0x117e('0x258')](row,back);}if(this[_0x117e('0x2f')][_0x117e('0x97')](column)&&!this[_0x117e('0x2f')]['columnHidden'](column)&&!this[_0x117e('0x259')](row,column)){c=column;break;}back?column--:column++;}if(row!=null&&c!=null){var nc={'row':row,'column':c};if(row>-0x1&&row<=this[_0x117e('0x1eb')])return nc;}return null;}[_0x117e('0x1c3')](row,column,back){if(this[_0x117e('0x1b1')]){var newCell=this[_0x117e('0x1ee')](row,column,back);if(newCell){this[_0x117e('0x13c')]=new GridCell(this,newCell['row'],newCell[_0x117e('0xd')]);if(this['isRepainting']){return;}this[_0x117e('0x13c')][_0x117e('0x14b')]();}}else{if(this['isRepainting'])this['selectRows'](row);else this[_0x117e('0x1ef')](row)['then'](()=>{this[_0x117e('0x1bd')](row);});}}[_0x117e('0x1ec')](){if(this[_0x117e('0x13c')])this[_0x117e('0x1c3')](this[_0x117e('0x13c')][_0x117e('0xc')],this['focusedCell']['column']-0x1,!![]);}[_0x117e('0x1ed')](){if(this[_0x117e('0x13c')])this['moveFocusedCell'](this['focusedCell'][_0x117e('0xc')],this[_0x117e('0x13c')]['column']+0x1);}get[_0x117e('0x1ea')](){if(this[_0x117e('0x13c')])return this[_0x117e('0x13c')];if(this['selectedRowIndices']['length'])return{'row':this[_0x117e('0x1b9')][0x0],'column':0x0};return null;}get[_0x117e('0x253')](){return 0x1;}get[_0x117e('0x252')](){return 0x1;}['getCellElement'](row,column){var c=this[_0x117e('0xcc')][column][_0x117e('0x155')](c=>{return+c[_0x117e('0xb')][_0x117e('0xc')]==row;});return c;}[_0x117e('0x1f1')](row){return this[_0x117e('0x109')][row-this['scrollRow']];}[_0x117e('0x143')](row){return this[_0x117e('0x13d')](row,0x1)!=undefined;}[_0x117e('0x142')](row,column){return this['isRowVisible'](row);}[_0x117e('0x1c2')](row){var relRow=Math[_0x117e('0x1f2')](this[_0x117e('0x1b0')]-row);if(!this[_0x117e('0x143')](row)){this[_0x117e('0x111')]=!![];if(relRow==0x1){this[_0x117e('0x1d2')](row);}else{this['scrollToRow'](row-this[_0x117e('0x1ae')]+0x1);}}this[_0x117e('0x1af')](Math[_0x117e('0x1f2')](this[_0x117e('0x1b0')]-row));}async[_0x117e('0x1ef')](row){return new Promise(function(resolve,reject){var relRow=Math[_0x117e('0x1f2')](this[_0x117e('0x1b0')]-row);if(!this[_0x117e('0x143')](row)){this['isRepainting']=!![];if(relRow==0x1){this[_0x117e('0x1d2')](row);}else{this[_0x117e('0x1d2')](row-this[_0x117e('0x1ae')]+0x1);}}if(this[_0x117e('0x111')]){DomUtils[_0x117e('0x1bb')](()=>{return this['isRepainting']==![];},()=>{this[_0x117e('0x1af')](Math['abs'](this[_0x117e('0x1b0')]-row));resolve();});}else{resolve();}}[_0x117e('0x93')](this));}[_0x117e('0x1af')](row){if(row!=0x0&&row!=this[_0x117e('0x1ae')]-0x1)return;if(row==0x0)this[_0x117e('0x10a')]['style'][_0x117e('0x1f3')]='';if(row==this[_0x117e('0x1ae')]-0x1){var b=DomUtils['getBounds'](this[_0x117e('0x109')][row]);if(b[_0x117e('0x25a')]()>this[_0x117e('0x1c8')]){this[_0x117e('0x10a')][_0x117e('0xc5')][_0x117e('0x1f3')]=_0x117e('0x25b')+this[_0x117e('0x1f4')]+'px)';}else this['dataTable'][_0x117e('0xc5')]['transform']='';}}[_0x117e('0x129')](row){if(this[_0x117e('0x2f')]instanceof ProxyModel)return this[_0x117e('0x2f')][_0x117e('0x129')](row);return![];}[_0x117e('0x1d2')](row){this[_0x117e('0x189')]['scrollTop']=row*this['scrollIncrement'];}get[_0x117e('0x13c')](){return this['_focusedCell'];}set[_0x117e('0x13c')](value){if(this[_0x117e('0x167')]==value)return;this[_0x117e('0x167')]=value;}['disposeActiveEditor'](){if(this[_0x117e('0x168')]!=null){var element=this[_0x117e('0x168')][_0x117e('0x14f')]||this['_activeEditor'];DomUtils['setCssClass'](element[_0x117e('0xe7')][_0x117e('0x3c')],_0x117e('0x11b'),![]);if(this[_0x117e('0x168')]['dispose']){if(this[_0x117e('0x168')][_0x117e('0x1f7')])this['_activeEditor']['onBlur']();this['_activeEditor']['dispose']();}else{this[_0x117e('0x168')][_0x117e('0x2a')]();DomUtils[_0x117e('0x1f8')](this[_0x117e('0x168')]);}}this['_activeEditor']=null;}get['activeEditor'](){return this[_0x117e('0x168')];}set[_0x117e('0x1f9')](value){this[_0x117e('0x14d')]();this[_0x117e('0x168')]=value;if(this[_0x117e('0x168')]){var element=this['_activeEditor'][_0x117e('0x14f')]||this[_0x117e('0x168')];if(element[_0x117e('0x25c')]!=_0x117e('0x25d'))DomUtils['setCssClass'](element[_0x117e('0xe7')][_0x117e('0x3c')],_0x117e('0x11b'),!![]);element['focus']();}}get[_0x117e('0x1eb')](){return this[_0x117e('0x2f')][_0x117e('0x30')]-0x1;}get[_0x117e('0x1fa')](){var header=this[_0x117e('0xef')][_0x117e('0xe5')]('.mfdv-grid-header');var h=DomUtils['getBounds'](header);return this['_element'][_0x117e('0xe5')](_0x117e('0x191'))[_0x117e('0x25e')]-h[_0x117e('0x127')];}get[_0x117e('0x1c8')](){var header=this[_0x117e('0xef')][_0x117e('0xe5')](_0x117e('0x186'));var h=DomUtils['getBounds'](header);return this['_element'][_0x117e('0xe5')](_0x117e('0x191'))[_0x117e('0x1fb')]-h[_0x117e('0x127')];}get[_0x117e('0x14a')](){return this[_0x117e('0x154')];}[_0x117e('0x1a8')](column){if(this[_0x117e('0x166')])return this['_columnWidths'][column];return null;}[_0x117e('0x1a7')](width){if(!this[_0x117e('0x185')]||width==null)return;var w=this[_0x117e('0xef')][_0x117e('0xe7')][_0x117e('0xe7')][_0x117e('0xe7')][_0x117e('0x241')]-this[_0x117e('0x12c')]*0x2-0x2;width=Math[_0x117e('0x1fc')](0x0,width);width=Math['min'](w-this['_rowHeaderWidth'],width);var cells=[...this[_0x117e('0xef')][_0x117e('0x10e')](_0x117e('0x25f'))];for(var cell of cells)cell['style'][_0x117e('0x12b')]=width+'px';var cells=[...this[_0x117e('0xef')][_0x117e('0x10e')](_0x117e('0x260'))];for(var cell of cells)cell['style']['width']=w-width+'px';this['_columnWidths'][0x0]=width;this[_0x117e('0x166')][0x1]=w-width;}[_0x117e('0x1e2')](value){this[_0x117e('0x14d')]();var s=[];for(var i=0x0;i<value['length'];i++){var row=this['getKeyRow'](value[i]);if(this['onRowValidateAction'](row,RowAction['Select'])){s['push'](value[i]);this['onRowAction'](row,RowAction[_0x117e('0x1fe')]);}}this[_0x117e('0x133')]['rows']=s;}[_0x117e('0xf7')](key){if(this[_0x117e('0x2f')])return this[_0x117e('0x2f')][_0x117e('0xf7')](key);return-0x1;}[_0x117e('0x94')](index){if(this[_0x117e('0x2f')])return this[_0x117e('0x2f')][_0x117e('0x94')](index);return null;}[_0x117e('0x1ff')](){this[_0x117e('0x198')]();}['onResize'](){if(this[_0x117e('0x1cc')]){if(this[_0x117e('0x2f')]){this['calcScrollFix']();this[_0x117e('0x1b8')]();}}}[_0x117e('0x183')](e){if(!this[_0x117e('0x261')]||!this[_0x117e('0x1cc')]||!this[_0x117e('0x1d1')])return;var currentPoint=DomUtils[_0x117e('0x200')](e);var bounds=this[_0x117e('0x201')];if(bounds[_0x117e('0x202')](currentPoint)){var timeNow=new Date()[_0x117e('0xd1')]();e[_0x117e('0x23')]();var delta=parseInt(e[_0x117e('0x203')]||-e[_0x117e('0x204')]);if(timeNow-this['timeStamp']<0x64){this[_0x117e('0x205')]=timeNow;return;}else{this[_0x117e('0x205')]=timeNow;var scrollDelta=this[_0x117e('0x1c9')]*(delta>0x0?-0x1:0x1);this['scroll'][_0x117e('0x1d3')]+=scrollDelta;}}}['onRowValidateAction'](row,action,rowData,oldValues,newValues){var rowData=rowData||this[_0x117e('0x64')][_0x117e('0x35')](row);var args=new RowModifyingEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction[_0x117e('0x206')]:this[_0x117e('0x170')]['raiseEvent'](this,args);break;case RowAction['Select']:this[_0x117e('0x178')]['raiseEvent'](this,args);break;case RowAction[_0x117e('0x262')]:this[_0x117e('0x263')]['raiseEvent'](this,args);break;case RowAction[_0x117e('0x1c1')]:this[_0x117e('0x172')]['raiseEvent'](this,args);break;case RowAction['Update']:this[_0x117e('0x176')][_0x117e('0x16d')](this,args);break;case RowAction[_0x117e('0x1c7')]:this[_0x117e('0x174')][_0x117e('0x16d')](this,args);break;}return!args['cancel'];}[_0x117e('0x123')](row,action,rowData,oldValues,newValues){if(this[_0x117e('0x2f')]){if(rowData==null&&action!=RowAction['Delete'])rowData=this[_0x117e('0x2f')]['getRowData'](row);var args=new RowModifiedEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction[_0x117e('0x124')]:this[_0x117e('0x264')](row);break;case RowAction['Select']:this['_rowSelected'][_0x117e('0x16d')](this,args);break;case RowAction[_0x117e('0x262')]:this[_0x117e('0x265')]['raiseEvent'](this,args);break;case RowAction[_0x117e('0x1c1')]:this[_0x117e('0x173')]['raiseEvent'](this,args);break;case RowAction[_0x117e('0x36')]:this[_0x117e('0x244')][rowData[_0x117e('0x92')]]=newValues[_0x117e('0x10')]('value');this[_0x117e('0x177')]['raiseEvent'](this,args);break;case RowAction[_0x117e('0x1c7')]:this[_0x117e('0x175')][_0x117e('0x16d')](this,args);break;}}}['onCellAction'](row,column){if(this[_0x117e('0x1c6')](row,RowAction[_0x117e('0x262')])){this[_0x117e('0x123')](row,RowAction[_0x117e('0x262')]);}}get['columnSorted'](){return this['_columnSorted'];}get['groupingChanged'](){return this['_groupingChanged'];}get[_0x117e('0x266')](){return this[_0x117e('0x170')];}get[_0x117e('0x20c')](){return this[_0x117e('0x171')];}get[_0x117e('0x20d')](){return this[_0x117e('0x178')];}get[_0x117e('0x20e')](){return this[_0x117e('0x179')];}get[_0x117e('0x267')](){return this[_0x117e('0x263')];}get[_0x117e('0x268')](){return this[_0x117e('0x265')];}get[_0x117e('0x20f')](){return this[_0x117e('0x172')];}get['rowCreated'](){return this[_0x117e('0x173')];}get[_0x117e('0x269')](){return this['_rowDeleting'];}get[_0x117e('0x211')](){return this['_rowDeleted'];}get[_0x117e('0x212')](){return this['_rowUpdating'];}get[_0x117e('0x213')](){return this['_rowUpdated'];}get[_0x117e('0x214')](){return this[_0x117e('0x215')];}[_0x117e('0x26a')](cell){var args=new CellValidateEventArgs(cell[_0x117e('0xc')],cell[_0x117e('0xd')]);this[_0x117e('0x215')]['raiseEvent'](this,args);return!args[_0x117e('0x20b')];}get[_0x117e('0x216')](){return this[_0x117e('0x17a')];}['onCellSelected'](cell){var args=new CellEventArgs(cell[_0x117e('0xc')],cell[_0x117e('0xd')]);this[_0x117e('0x17a')][_0x117e('0x16d')](this,args);}['onCellFocusing'](cell){var meta=this[_0x117e('0x64')][_0x117e('0x74')](cell['row'],cell['column']);if(meta[_0x117e('0x10')](_0x117e('0x26b')))return![];return!![];}[_0x117e('0x150')](){}[_0x117e('0x264')](row){if(this['cellReadonly'](row,0x1)){this[_0x117e('0x1f1')](row)[_0x117e('0xea')][_0x117e('0xeb')]('mfc-readonly');}}['cellReadonly'](row,column){var meta=this[_0x117e('0x64')][_0x117e('0x74')](row,column);return meta['get'](_0x117e('0x26b'))==!![];}[_0x117e('0x11f')](row,column,defaultContent){return defaultContent;}[_0x117e('0x136')](row,column,defaultContent){return defaultContent;}}var g$1=typeof window!==_0x117e('0x3')?window:global;if(g$1[_0x117e('0x224')]!=undefined)g$1[_0x117e('0x224')]['define']('mindfusion-propertygridcontent',PropertyGridContent);class PropertyGridPage extends ListItem{constructor(propertyName,index,obj,meta,main){super();this[_0x117e('0x26c')]=![];this[_0x117e('0xb8')]=propertyName;this[_0x117e('0x26d')]=index;this['_selectedObject']=obj;var content=new PropertyGridContent(obj);var headers=[];var footers=[];this[_0x117e('0x26e')]=main;this[_0x117e('0x26f')]=meta['get'](_0x117e('0x7f'))==CollectionType;if(main){var h=new ToolStripItem(ToolStripItemType[_0x117e('0x270')]);h[_0x117e('0x271')]=new Unit(0xa);h[_0x117e('0x272')]=_0x117e('0x273');h[_0x117e('0x24f')]=-0x1;h[_0x117e('0x49')]='mfdv-group-indicator-icon-on';headers[_0x117e('0x7c')](h);var h=new ToolStripItem(ToolStripItemType[_0x117e('0x270')]);h[_0x117e('0x271')]=new Unit(0xa);h[_0x117e('0x272')]=_0x117e('0x274');h[_0x117e('0x24f')]=0x0;h['cssClass']=_0x117e('0x275');headers['push'](h);}else{footers[_0x117e('0x7c')](new ToolStripItem(ToolStripItemType[_0x117e('0x276')]));}if(this[_0x117e('0x26f')]){content[_0x117e('0x1d0')]=!![];content['_excludedProperties'][_0x117e('0x7c')](_0x117e('0x1a'));content[_0x117e('0x249')]=this[_0x117e('0x26f')];if(meta[_0x117e('0x10')](_0x117e('0x277'))!=![]){var item=new ToolStripItem(ToolStripItemType[_0x117e('0x276')],_0x117e('0x278'));item['dataIndex']=0x1;headers[_0x117e('0x7c')](item);}if(meta[_0x117e('0x10')]('allowRemove')!=![]){item=new ToolStripItem(ToolStripItemType[_0x117e('0x276')],_0x117e('0x279'));item[_0x117e('0x24f')]=0x2;headers[_0x117e('0x7c')](item);}}this['content']=content;this[_0x117e('0x27a')]=headers;this['footers']=footers;}[_0x117e('0x188')](){this['content'][_0x117e('0x188')]();super[_0x117e('0x188')]();}[_0x117e('0x55')](){this[_0x117e('0xb4')][_0x117e('0x55')]();super['attach']();}[_0x117e('0x53')](){var b=document[_0x117e('0x45')]('li');DomUtils[_0x117e('0x1b4')](b,_0x117e('0x27b'));if(this[_0x117e('0x49')])DomUtils[_0x117e('0x1b4')](b,this['cssClass']);var c=document['createElement'](_0x117e('0xe9'));DomUtils['addCssClass'](c,'mfc-tabpage-content');c[_0x117e('0x2e')](this[_0x117e('0xb4')]['draw']());b[_0x117e('0x2e')](c);this['_element']=b;DomUtils[_0x117e('0x13a')](this[_0x117e('0xef')],'mfc-hidden',!this['visible']);DomUtils[_0x117e('0x13a')](this['_element'],'mfc-disabled',!this['enabled']);DomUtils[_0x117e('0x13a')](this[_0x117e('0xef')],_0x117e('0x27c'),this['selected']);return b;}[_0x117e('0x27d')](name,oldValue,newValue){if(name==='visible'){if(!this[_0x117e('0x26e')])this[_0x117e('0x27a')][_0x117e('0x209')](h=>h[_0x117e('0x27e')]=newValue);if(newValue){if(this[_0x117e('0xb4')][_0x117e('0x1cc')]){this[_0x117e('0xb4')][_0x117e('0x1ca')]=!![];this[_0x117e('0xb4')][_0x117e('0x19b')]();this['content'][_0x117e('0x198')]();}}}super[_0x117e('0x27d')](name,oldValue,newValue);}}var css_248z=_0x117e('0x27f');styleInject(css_248z);class PropertyGrid extends ListContainer{constructor(element){super(element);this[_0x117e('0x15c')]=Unit[_0x117e('0x280')](0x190);this[_0x117e('0x15d')]=Unit[_0x117e('0x15e')](0x64);this['header']=new ToolStrip();this[_0x117e('0x185')][_0x117e('0x14a')]=this;this[_0x117e('0x185')]['allowDrag']=![];this['header'][_0x117e('0x127')]=new Unit(0x1e);this[_0x117e('0x185')][_0x117e('0x12b')]=Unit[_0x117e('0x281')]();this[_0x117e('0x185')]['tabMaxSize']=Unit['empty']();this[_0x117e('0x185')][_0x117e('0x49')]=_0x117e('0x282');this['footer']=new ToolStrip();this[_0x117e('0x283')]['parent']=this;this[_0x117e('0x283')]['allowDrag']=![];this[_0x117e('0x283')]['allowMultipleSelection']=![];this[_0x117e('0x283')]['height']=new Unit(0x1e);this[_0x117e('0x283')][_0x117e('0x12b')]=Unit[_0x117e('0x281')]();this[_0x117e('0x283')][_0x117e('0x284')]=Unit[_0x117e('0x281')]();this[_0x117e('0x283')][_0x117e('0x49')]='mfdv-propertygrid-footer';this[_0x117e('0x22c')]=new Map();this[_0x117e('0xf4')]=!![];this[_0x117e('0x285')]=!![];this[_0x117e('0x286')]=!![];this['_showReadonlyProperties']=!![];this[_0x117e('0x287')]=![];this['_defaultCategoryName']=_0x117e('0x288');this[_0x117e('0x289')]='';this[_0x117e('0x28a')]=-0x1;this[_0x117e('0x170')]=new EventDispatcher();this[_0x117e('0x171')]=new EventDispatcher();this[_0x117e('0x28b')]=new EventDispatcher();this[_0x117e('0x28c')]=new EventDispatcher();this[_0x117e('0x28d')]=new EventDispatcher();this['_propertyValueChanged']=new EventDispatcher();this[_0x117e('0x17d')]=new EventDispatcher();this[_0x117e('0x180')]=new EventDispatcher();this[_0x117e('0x28e')]=(sender,args)=>{this['onHeaderButtonClick'](sender,args);};this[_0x117e('0x28f')]=(sender,args)=>{this[_0x117e('0x290')](sender,args);};this[_0x117e('0x291')]=(sender,args)=>{this[_0x117e('0x1c6')](sender,args);};this[_0x117e('0x292')]=(sender,args)=>{this[_0x117e('0x123')](sender,args);};this[_0x117e('0x293')]=(sender,args)=>{this[_0x117e('0x294')](sender,args);};this[_0x117e('0x295')]=(sender,args)=>{this[_0x117e('0xcf')](sender,args);};}[_0x117e('0x296')](){if(!this[_0x117e('0x297')][_0x117e('0xb4')]){this[_0x117e('0x297')][_0x117e('0xb4')]=this[_0x117e('0x298')]()['querySelector'](_0x117e('0x299'));}return this[_0x117e('0x297')][_0x117e('0xb4')];}['beforeAddItem'](item,index){item[_0x117e('0xb4')]['theme']=this[_0x117e('0x4a')];item[_0x117e('0xb4')][_0x117e('0x154')]=this;item[_0x117e('0xb4')]['_columnSorted'][_0x117e('0x15')](this[_0x117e('0x295')]);item[_0x117e('0xb4')]['_groupingChanged'][_0x117e('0x15')](this[_0x117e('0x295')]);item[_0x117e('0xb4')][_0x117e('0x263')][_0x117e('0x15')](this['_rowValidateActionHandler']);item['content'][_0x117e('0x265')]['addEventListener'](this[_0x117e('0x292')]);item[_0x117e('0xb4')][_0x117e('0x170')]['addEventListener'](this[_0x117e('0x291')]);item['content'][_0x117e('0x171')][_0x117e('0x15')](this[_0x117e('0x292')]);item[_0x117e('0xb4')][_0x117e('0x172')]['addEventListener'](this[_0x117e('0x291')]);item[_0x117e('0xb4')][_0x117e('0x173')][_0x117e('0x15')](this['_rowActionHandler']);item['content'][_0x117e('0x176')][_0x117e('0x15')](this[_0x117e('0x291')]);item[_0x117e('0xb4')][_0x117e('0x177')][_0x117e('0x15')](this['_rowActionHandler']);item['content'][_0x117e('0x174')][_0x117e('0x15')](this[_0x117e('0x291')]);item[_0x117e('0xb4')][_0x117e('0x175')][_0x117e('0x15')](this[_0x117e('0x292')]);item['content'][_0x117e('0x17a')][_0x117e('0x15')](this[_0x117e('0x293')]);}[_0x117e('0x29a')](item){item[_0x117e('0xb4')][_0x117e('0x237')][_0x117e('0x18b')](this[_0x117e('0x295')]);item['content'][_0x117e('0x238')]['removeEventListener'](this[_0x117e('0x295')]);item[_0x117e('0xb4')][_0x117e('0x263')][_0x117e('0x18b')](this['_rowValidateActionHandler']);item[_0x117e('0xb4')]['_rowExpanded']['removeEventListener'](this[_0x117e('0x292')]);item['content'][_0x117e('0x170')][_0x117e('0x18b')](this[_0x117e('0x291')]);item[_0x117e('0xb4')][_0x117e('0x171')][_0x117e('0x18b')](this['_rowActionHandler']);item[_0x117e('0xb4')]['_rowCreating'][_0x117e('0x18b')](this[_0x117e('0x291')]);item['content'][_0x117e('0x173')][_0x117e('0x18b')](this[_0x117e('0x292')]);item[_0x117e('0xb4')][_0x117e('0x176')][_0x117e('0x18b')](this[_0x117e('0x291')]);item[_0x117e('0xb4')][_0x117e('0x177')][_0x117e('0x18b')](this[_0x117e('0x292')]);item[_0x117e('0xb4')][_0x117e('0x174')][_0x117e('0x18b')](this[_0x117e('0x291')]);item[_0x117e('0xb4')][_0x117e('0x175')]['removeEventListener'](this[_0x117e('0x292')]);item[_0x117e('0xb4')][_0x117e('0x17a')][_0x117e('0x18b')](this[_0x117e('0x293')]);super[_0x117e('0x29a')](item);}[_0x117e('0x29b')](item){super[_0x117e('0x29b')](item);item[_0x117e('0xb4')][_0x117e('0x1e8')](0x0,this[_0x117e('0xf4')]);if(this[_0x117e('0x285')])item['content'][_0x117e('0x29c')](0x2);}['detach'](){this[_0x117e('0x185')]['itemClick'][_0x117e('0x18b')](this[_0x117e('0x28e')]);this['header'][_0x117e('0x188')]();this[_0x117e('0x283')][_0x117e('0x29d')][_0x117e('0x18b')](this['_footerButtonClick']);this[_0x117e('0x283')][_0x117e('0x188')]();super['detach']();}[_0x117e('0x55')](){this[_0x117e('0x185')][_0x117e('0x29d')][_0x117e('0x15')](this['_headerButtonClick']);this[_0x117e('0x185')][_0x117e('0x55')]();this['footer'][_0x117e('0x29d')][_0x117e('0x15')](this[_0x117e('0x28f')]);this[_0x117e('0x283')][_0x117e('0x55')]();this[_0x117e('0x29e')](this[_0x117e('0x29f')]);super[_0x117e('0x55')]();}[_0x117e('0x53')](){super[_0x117e('0x53')]();DomUtils[_0x117e('0x1b4')](this[_0x117e('0xef')],'mfdv-propertygrid');DomUtils[_0x117e('0x1b4')](this['_element'],_0x117e('0x2a0'));DomUtils[_0x117e('0x1b4')](this[_0x117e('0xef')],_0x117e('0x2a1'));this[_0x117e('0xef')][_0x117e('0x2e')](this[_0x117e('0x185')][_0x117e('0x53')]());var content=document[_0x117e('0x45')]('ul');DomUtils['addCssClass'](content,'mfc-content');this[_0x117e('0xef')][_0x117e('0x2e')](content);for(var i=0x0,l=this['items'][_0x117e('0x2a2')]();i<l;i++){content[_0x117e('0x2e')](this[_0x117e('0x2a3')][_0x117e('0x2a3')]()[i][_0x117e('0x53')]());}this[_0x117e('0xef')][_0x117e('0x2e')](this['footer']['draw']());return this[_0x117e('0xef')];}[_0x117e('0x2a4')](item,index){super['addItem'](item,index);if(item['headers'])this[_0x117e('0x185')]['items']['insertRange'](index,item[_0x117e('0x27a')]);if(item['footers'])this['footer'][_0x117e('0x2a3')][_0x117e('0x2a5')](index,item[_0x117e('0x2a6')]);this[_0x117e('0x29f')]=item;this[_0x117e('0x29f')][_0x117e('0xb4')]['focusCell'](0x0,0x0);}[_0x117e('0x2a7')](item,index){if(item[_0x117e('0x27a')]['length'])this[_0x117e('0x185')]['items'][_0x117e('0x2a8')](this['header'][_0x117e('0x2a3')][_0x117e('0x2a9')](item[_0x117e('0x27a')][0x0]),item[_0x117e('0x27a')]['length']);if(item[_0x117e('0x2a6')][_0x117e('0x1a')])this['footer']['items']['removeRange'](this['footer'][_0x117e('0x2a3')][_0x117e('0x2a9')](item[_0x117e('0x2a6')][0x0]),item[_0x117e('0x2a6')][_0x117e('0x1a')]);super[_0x117e('0x2a7')](item,index);this[_0x117e('0x29f')]=this[_0x117e('0x2aa')](index);this[_0x117e('0x29f')]['content'][_0x117e('0x1bc')](0x0,0x0);}[_0x117e('0x2aa')](index){if(index==undefined)index=this[_0x117e('0x2a3')][_0x117e('0x2a2')]()-0x1;var tab=this[_0x117e('0x2a3')][_0x117e('0x2ab')](t=>t[_0x117e('0x261')]&&this[_0x117e('0x2a3')]['indexOfItem'](t)<=index)['last']();return tab;}[_0x117e('0x1cd')](){this[_0x117e('0x29f')][_0x117e('0xb4')]['selectedObject']=this[_0x117e('0x29f')][_0x117e('0xb4')][_0x117e('0x233')];}async['expandProperty'](propertyName,index){if(index!=undefined){index=index[_0x117e('0x4')]();return new Promise(function(resolve,reject){var row=this[_0x117e('0x29f')][_0x117e('0xb4')]['model'][_0x117e('0xf7')](index);if(row!=-0x1){this['_currentIndex']=index;this[_0x117e('0x29f')][_0x117e('0xb4')]['onCellAction'](row,0x1);resolve(row);}else reject(new Error('Specified\x20index\x20not\x20found\x20within\x20the\x20current\x20object.'));}[_0x117e('0x93')](this));}else if(propertyName){return new Promise(function(resolve,reject){var row=this['selectedItem']['content'][_0x117e('0x64')][_0x117e('0xf7')](propertyName);if(row!=-0x1){this['_currentProperty']=propertyName;this['selectedItem'][_0x117e('0xb4')][_0x117e('0x6c')](row,0x1);resolve(row);}else reject(new Error(_0x117e('0x2ac')));}['bind'](this));}}[_0x117e('0x2ad')](propertyName,index){var item;if(index!=undefined)item=this['items']['where'](x=>x[_0x117e('0xb8')]==propertyName&&x[_0x117e('0x26d')]==index)[_0x117e('0x2ae')]();else item=this[_0x117e('0x2a3')][_0x117e('0x2ab')](x=>x[_0x117e('0xb8')]==propertyName)['first']();if(item){this[_0x117e('0x2af')](item);}}[_0x117e('0x2af')](item){var a=new PropertyEventArgs(RowAction[_0x117e('0x2b0')],this['currentProperty'],this[_0x117e('0x2b1')],item[_0x117e('0x233')],undefined,undefined,this[_0x117e('0x9c')][_0x117e('0x10')](item[_0x117e('0xb8')]));this[_0x117e('0x2b2')][_0x117e('0x16d')](this,a);if(!a['cancel']){this[_0x117e('0x2a3')][_0x117e('0x2a8')](this[_0x117e('0x2a3')]['indexOfItem'](item),this[_0x117e('0x2a3')][_0x117e('0x2a2')]()-this['items'][_0x117e('0x2a9')](item));var item=this[_0x117e('0x29f')];var a=new PropertyEventArgs(RowAction[_0x117e('0x262')],this[_0x117e('0x2b3')],this[_0x117e('0x2b1')],item['_selectedObject'],undefined,undefined,item[_0x117e('0xb8')]==_0x117e('0x2b4')?this[_0x117e('0x9c')]:this['metaData'][_0x117e('0x10')](item[_0x117e('0xb8')]));this[_0x117e('0x2b5')]['raiseEvent'](this,a);}}get[_0x117e('0x244')](){return this[_0x117e('0x233')];}set[_0x117e('0x244')](value){this[_0x117e('0x2a3')][_0x117e('0x2b6')]();this[_0x117e('0x233')]=value;var item=new PropertyGridPage(_0x117e('0x2b4'),-0x1,value,new Map(Object[_0x117e('0x1bf')](this[_0x117e('0x9c')]['get']('__selectedObject__')||{})),!![]);this['items']['add'](item);this[_0x117e('0x29f')]=item;}get[_0x117e('0x2b7')](){return this[_0x117e('0x29f')][_0x117e('0x233')];}get[_0x117e('0x2b3')](){return this[_0x117e('0x289')];}get[_0x117e('0x2b1')](){return this[_0x117e('0x28a')];}get[_0x117e('0x9c')](){return this[_0x117e('0x22c')];}set['metaData'](value){this[_0x117e('0x22c')]=value;}get[_0x117e('0x24b')](){return this['_showAllProperties'];}set['showAllProperties'](value){this[_0x117e('0x286')]=value;}get[_0x117e('0x248')](){return this[_0x117e('0x2b8')];}set['showReadonlyProperties'](value){this['_showReadonlyProperties']=value;}get[_0x117e('0x246')](){return this['_editReadonlyProperties'];}set[_0x117e('0x246')](value){this[_0x117e('0x287')]=value;}get[_0x117e('0x14e')](){return this[_0x117e('0x161')];}set[_0x117e('0x14e')](value){if(this[_0x117e('0x161')]!=value){this['_allowEdit']=value;}}get['allowCellSelect'](){return this[_0x117e('0x163')];}set[_0x117e('0x1b1')](value){if(this[_0x117e('0x163')]!=value){this[_0x117e('0x163')]=value;}}get[_0x117e('0x1d1')](){return this[_0x117e('0x164')];}set[_0x117e('0x1d1')](value){if(this[_0x117e('0x164')]!=value){this[_0x117e('0x164')]=value;}}get[_0x117e('0x29f')](){return this[_0x117e('0x2b9')];}set[_0x117e('0x29f')](value){if(value){if(!value[_0x117e('0x261')])return;for(var i=0x0,l=this[_0x117e('0x2a3')][_0x117e('0x2a2')]();i<l;i++){this['items'][_0x117e('0x2ba')][i][_0x117e('0x27e')]=![];}this[_0x117e('0x2b9')]=value;this[_0x117e('0x2b9')]['visible']=!![];this[_0x117e('0x2a3')][_0x117e('0x2ae')]()['headers'][0x0][_0x117e('0x27e')]=!this['_selectedItem'][_0x117e('0x26f')];if(this['_selectedItem'][_0x117e('0x2a6')][_0x117e('0x1a')]){this[_0x117e('0x283')][_0x117e('0x1ef')](this[_0x117e('0x2b9')][_0x117e('0x2a6')][0x0]);this[_0x117e('0x283')][_0x117e('0x2bb')](this[_0x117e('0x2b9')][_0x117e('0x2a6')][0x0]);}}}get[_0x117e('0x2bc')](){return![];}set[_0x117e('0x2bc')](value){}get[_0x117e('0x2bd')](){return![];}set[_0x117e('0x2bd')](value){}get['acceptDrop'](){return null;}set['acceptDrop'](value){}get[_0x117e('0x266')](){return this[_0x117e('0x170')];}get[_0x117e('0x20c')](){return this['_rowRendered'];}get[_0x117e('0x2b2')](){return this[_0x117e('0x28b')];}get[_0x117e('0x2b5')](){return this[_0x117e('0x28c')];}get[_0x117e('0x2be')](){return this['_propertyValueChanging'];}get[_0x117e('0x2bf')](){return this[_0x117e('0x2c0')];}['onHeaderButtonClick'](sender,args){if(!args[_0x117e('0x2c1')][_0x117e('0x261')])return;if(args[_0x117e('0x2c1')][_0x117e('0x24f')]==-0x1){this[_0x117e('0x2a3')][_0x117e('0x209')](item=>{item[_0x117e('0xb4')]['groupByColumn'](this[_0x117e('0x285')]?null:0x2);});this[_0x117e('0x285')]=!this[_0x117e('0x285')];}else if(args[_0x117e('0x2c1')][_0x117e('0x24f')]==0x0){this[_0x117e('0xf4')]=!this['_sortAscending'];this[_0x117e('0x2a3')][_0x117e('0x209')](item=>{item[_0x117e('0xb4')]['sortByColumn'](0x0,this[_0x117e('0xf4')]);});}else if(args[_0x117e('0x2c1')]['dataIndex']==0x1){this[_0x117e('0x29f')][_0x117e('0xb4')]['addRow']([]);}else if(args['item'][_0x117e('0x24f')]==0x2){var indices=this[_0x117e('0x29f')][_0x117e('0xb4')][_0x117e('0x1b9')];indices[_0x117e('0xfd')]((a,b)=>a-b);var i=indices[_0x117e('0x1a')];while(i--){this[_0x117e('0x29f')]['content'][_0x117e('0xc9')](indices[i],0x1);}}}[_0x117e('0x290')](sender,args){if(!args[_0x117e('0x2c1')][_0x117e('0x261')])return;if(args[_0x117e('0x2c1')][_0x117e('0x7')]==ToolStripItemType[_0x117e('0x276')]){var item=this['items']['where'](x=>x[_0x117e('0x2a6')][0x0]==args['item'])['first']();this[_0x117e('0x2af')](item);}}[_0x117e('0x1c6')](sender,args){switch(args['action']){case RowAction[_0x117e('0x206')]:var a=new PropertyEventArgs(RowAction[_0x117e('0x206')],args[_0x117e('0xa8')][_0x117e('0x92')],args[_0x117e('0xa8')]['id'],args[_0x117e('0xa8')]['value'],undefined,undefined,args['rowData'][_0x117e('0x85')]);this[_0x117e('0x266')][_0x117e('0x16d')](this,a);args[_0x117e('0x20b')]=a[_0x117e('0x20b')];break;case RowAction[_0x117e('0x1c1')]:var valueObj=this[_0x117e('0x2b7')];var a=new PropertyEventArgs(RowAction[_0x117e('0x1c1')],this[_0x117e('0x2b3')],args['rowData']['id'],undefined,undefined,undefined,args['rowData'][_0x117e('0x85')]);this[_0x117e('0x2be')][_0x117e('0x16d')](this,a);sender['selectedObject']=valueObj;args['cancel']=a[_0x117e('0x20b')];break;case RowAction[_0x117e('0x36')]:var a=new PropertyEventArgs(RowAction[_0x117e('0x36')],this[_0x117e('0x2b3')],args[_0x117e('0xa8')]['id'],args['newValues'][_0x117e('0x10')](_0x117e('0x12')),args[_0x117e('0xa9')][_0x117e('0x10')](_0x117e('0x12')),args['newValues'][_0x117e('0x10')](_0x117e('0x12')),args[_0x117e('0xa8')][_0x117e('0x85')]);this['propertyValueChanging'][_0x117e('0x16d')](this,a);args[_0x117e('0x20b')]=a['cancel'];break;case RowAction['Delete']:var valueObj=this[_0x117e('0x2b7')][this[_0x117e('0x2b1')]];var a=new PropertyEventArgs(RowAction[_0x117e('0x1c7')],this['currentProperty'],args[_0x117e('0xa8')]['id'],undefined,valueObj,undefined,args[_0x117e('0xa8')][_0x117e('0x85')]);this[_0x117e('0x2be')]['raiseEvent'](this,a);args[_0x117e('0x20b')]=a[_0x117e('0x20b')];break;case RowAction['Expand']:var a=new PropertyEventArgs(RowAction['Select'],this[_0x117e('0x2b3')],args[_0x117e('0xa8')]['id'],args[_0x117e('0xa8')][_0x117e('0x12')],undefined,undefined,args[_0x117e('0xa8')]['meta']);this[_0x117e('0x2b2')][_0x117e('0x16d')](this,a);args[_0x117e('0x20b')]=a['cancel'];var propValue=a[_0x117e('0xbf')]||a[_0x117e('0xbe')];if(a[_0x117e('0x20b')]||typeof propValue===_0x117e('0x3')||propValue==null)break;this[_0x117e('0x29f')][_0x117e('0xb4')][_0x117e('0x64')]['setValue'](args['row'],0x1,propValue);var item=new PropertyGridPage(a[_0x117e('0x2c2')],this[_0x117e('0x2b1')],propValue,a['meta'],![]);item['content'][_0x117e('0x4a')]=this[_0x117e('0x4a')];item[_0x117e('0x2a6')][0x0][_0x117e('0x1e6')]=args['rowData'][_0x117e('0x92')];this['items']['add'](item);break;}}['onRowAction'](sender,args){switch(args[_0x117e('0xab')]){case RowAction['Render']:var a=new PropertyEventArgs(RowAction[_0x117e('0x206')],args[_0x117e('0xa8')][_0x117e('0x92')],args[_0x117e('0xa8')]['id'],args['rowData'][_0x117e('0x12')],undefined,undefined,args[_0x117e('0xc')],args[_0x117e('0xa8')][_0x117e('0x85')]);this[_0x117e('0x20c')][_0x117e('0x16d')](this,a);break;case RowAction[_0x117e('0x1c1')]:var valueObj=this[_0x117e('0x2b7')][this[_0x117e('0x2b3')]];var a=new PropertyEventArgs(RowAction[_0x117e('0x1c1')],this[_0x117e('0x2b3')],args[_0x117e('0xa8')]['id'],valueObj,undefined,undefined,args[_0x117e('0xa8')][_0x117e('0x85')]);this[_0x117e('0x2bf')]['raiseEvent'](this,a);break;case RowAction[_0x117e('0x36')]:var a=new PropertyEventArgs(RowAction[_0x117e('0x36')],this[_0x117e('0x2b3')],args['rowData']['id'],args[_0x117e('0xaa')][_0x117e('0x10')](_0x117e('0x12')),args['oldValues']['get'](_0x117e('0x12')),args[_0x117e('0xaa')][_0x117e('0x10')](_0x117e('0x12')),args[_0x117e('0xa8')][_0x117e('0x85')]);this['propertyValueChanged'][_0x117e('0x16d')](this,a);break;case RowAction[_0x117e('0x1c7')]:var valueObj=this[_0x117e('0x2b7')][this[_0x117e('0x2b1')]];var a=new PropertyEventArgs(RowAction[_0x117e('0x1c7')],this[_0x117e('0x2b3')],-0x1,undefined,valueObj,undefined,undefined);this[_0x117e('0x2bf')][_0x117e('0x16d')](this,a);break;case RowAction[_0x117e('0x262')]:var valueObj=this[_0x117e('0x2b7')][this[_0x117e('0x2b3')]];var a=new PropertyEventArgs(RowAction['Select'],this[_0x117e('0x2b3')],args[_0x117e('0xa8')]['id'],valueObj,undefined,undefined,args['rowData'][_0x117e('0x85')]);this[_0x117e('0x2b5')][_0x117e('0x16d')](this,a);break;}}['onCellSelect'](sender,args){var item=this[_0x117e('0x2a3')][_0x117e('0x2ab')](item=>item[_0x117e('0xb4')]==sender)[_0x117e('0x2ae')]();if(item[_0x117e('0x26f')]){this[_0x117e('0x289')]=item[_0x117e('0xb8')];this['_currentIndex']=+sender[_0x117e('0x64')][_0x117e('0x35')](args['row'])[_0x117e('0x92')];}else{this[_0x117e('0x289')]=sender[_0x117e('0x64')][_0x117e('0x35')](args[_0x117e('0xc')])['name'];this[_0x117e('0x28a')]=-0x1;}}[_0x117e('0xcf')](sender,args){if(args[_0x117e('0xbf')]){this[_0x117e('0x2a3')]['first']()[_0x117e('0x27a')][0x0][_0x117e('0x49')]=_0x117e('0x2c3')+(args[_0x117e('0xbf')]==0x2?'on':_0x117e('0x2c4'));}if(args[_0x117e('0xd')]==0x0){this[_0x117e('0x2a3')]['first']()['headers'][0x1][_0x117e('0x49')]=_0x117e('0x2c5')+(args['sortAscending']?_0x117e('0x11d'):_0x117e('0x11e'));this[_0x117e('0xf4')]=args['sortAscending'];}}['onPropertyChanged'](name,oldValue,newValue){if(name==='theme'){this[_0x117e('0x185')][_0x117e('0x4a')]=newValue;this[_0x117e('0x283')]['theme']=newValue;this[_0x117e('0x2a3')][_0x117e('0x209')](item=>item[_0x117e('0xb4')][_0x117e('0x4a')]=newValue);}super[_0x117e('0x27d')](name,oldValue,newValue);}['onItemsChanging'](sender,args){if(args[_0x117e('0xab')]==NotifyCollectionChangedAction[_0x117e('0x278')]){for(var i=0x0,l=args[_0x117e('0x2c6')]['length'];i<l;i++){this[_0x117e('0x29e')](args[_0x117e('0x2c6')][i],args[_0x117e('0xbd')]);}}this[_0x117e('0x2c7')]['raiseEvent'](this,args);}}var g=typeof window!=='undefined'?window:global;if(g[_0x117e('0x224')]!=undefined)g[_0x117e('0x224')]['define'](_0x117e('0x2c8'),PropertyGrid);export{ArrayModel,BooleanType,CellCustomDrawEventArgs,CellEventArgs,CellValidateEventArgs,CollectionType,Command,CommandEventArgs,CommandType,CurrencyType,DateTimeType,DateType,DeleteCommand,DomRenderer,DynamicType,Grid,GridCell,GridColumn,GridModel,ImageType,IntegerType,LookupType,ObjectType,PropertyGrid,RealNumberType,RowAction,RowModifiedEventArgs,RowModifyingEventArgs,StringType,UIControl};
|