@univerjs-pro/docs-table 1.0.0-alpha.7 → 1.0.0-alpha.8

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/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x2538(){const _0x23b4ed=['DocsTableInsertPosition','DashStyleType','Above','deleteRows','insertRowsBefore','tableRows','includes','tableCells','moveColumns','1801554wsCiOX','selectTable','Module','deepClone','insertColumnsBefore','insertColumnBefore','exports','_table','getCellText','getRowHeight','constructor','FDocument','Below','executeRichTextTableActions','getSource','getCellInsertOffset','filter','prototype','dataStream','getColumnRange','buildDistributeTableRowsMutationActions','buildSetTableHeaderRowCountMutationActions','Cell','sortByColumn','buildMoveTableRowsMutationActions','headerRowCount','setCellText','documentStyle','_row','setHeaderRowCount','Tools','cells','FEnum','getTableActionBodyPath','getMarginOverride','appendRow','getTable','buildSetTableCellTextMutationActions','buildDeleteTableRowsMutationActions','getRowCount','endOffset','getColumnCount','setTableBorder','buildMergeCellsMutationActions','string','length','setBorder','getRowsRange','@univerjs/core','_getBodyPath','buildSetTableCellMarginMutationActions','setCellBackground','appendColumn','FDocumentTable','getMetadata','getInsertOffset','_rowContainsText','tableId','getDefaultCellMarginOverride','selectRows','_document','_serializeModel','getCellMargin','getDocumentDataModel','4gxHhue','Left','_getTables','DocsTableInsertTableCommand','backgroundColor','margin','21OUjoEl','deleteTable','UniverProDocsTable','getRowIndex','tableColumns','6370744zLJjNL','buildInsertTableRowsMutationActions','26409618FquqVk','4055428ULPYIU','border','default','setTableStyle','syncExecuteCommand','describe','setTableBackground','startOffset','getStableTableSelection','max','moveTableToOffset','amd','getRange','iterator','selectColumn','getCellRange','size','buildUnmergeCellsMutationActions','_mutateActions','ICommandService','slice','selectCell','buildMoveTableColumnsMutationActions','@univerjs-pro/docs-table','DocsTableModel','moveRow','_getDocumentData','columnTypes','Column','_segmentId','type','getTableRange','DocsTableSelectionKind','unmerge','actions','103846Kuawtq','buildDeleteTableMutationActions','getId','setCellMargin','setColumnType','@univerjs/core/facade','trHeight','DocsTableSelectionService','buildResizeTableColumnActionsFromWidth','generateRandomId','_unitId','toPrimitive','buildMoveFloatingTableMutationActions','titleText','map','getSnapshot','DEFAULT_DOCS_TABLE_CELL_MARGIN','preset','_tableId','getTables','getBody','AT_LEAST','getTableAtSelection','from','DocsTableColumnType','_tableContainsText','distributeRows','width','some','titleRow','headerText','selectRange','DocsTableRowInsertPosition','toStringTag','buildDeleteTableColumnsMutationActions','setRowHeight','findTables','buildSetTableDefaultCellMarginMutationActions','_injector','getContentRange','Row','getTableRangeById','buildMoveTableToOffsetMutationActions','get','cellMargin','segmentId','body','buildSetTableBackgroundMutationActions','DocsTableSortDirection','setColumnWidth','moveTableBy','Range','insertTableFromData','DocsTableInsertTablePosition','All','insertColumnsAfter','getColumnsRange','getCellContentRange','4106795PzwJru','_getTableDocumentData','createInstance','hasTitleRow','buildResizeTableRowActionsFromHeight','getDefaultCellMargin','buildSortTableMutationActions','rows','deleteColumn','1970118QPtEXO','_column','DocsTableBorderPreset','FDocumentTableCell','symbol','selectColumns','@univerjs/docs/facade','getCell','defineProperty','function','buildDistributeTableColumnsMutationActions','SOLID','serialize','getCellMarginOverride','buildInsertTableColumnsMutationActions','insertRowAfter','extend','unmergeCells','text','object','insertColumnAfter','tableSource','Table','UniverCore','insertTitleRow','setText','moveRows','pinHeaderRows','setBackgroundColor','_createFDocumentTable','getText'];_0x2538=function(){return _0x23b4ed;};return _0x2538();}function _0x1fbb(_0x4d972b,_0x565373){_0x4d972b=_0x4d972b-0x185;const _0x253826=_0x2538();let _0x1fbb6e=_0x253826[_0x4d972b];return _0x1fbb6e;}(function(_0x1fe665,_0x2bd0aa){const _0x2efbd2=_0x1fbb,_0x3cd738=_0x1fe665();while(!![]){try{const _0xa165bd=parseInt(_0x2efbd2(0x1be))/0x1*(-parseInt(_0x2efbd2(0x1ef))/0x2)+-parseInt(_0x2efbd2(0x25a))/0x3+parseInt(_0x2efbd2(0x1cc))/0x4+-parseInt(_0x2efbd2(0x229))/0x5+-parseInt(_0x2efbd2(0x232))/0x6*(parseInt(_0x2efbd2(0x1c4))/0x7)+-parseInt(_0x2efbd2(0x1c9))/0x8+parseInt(_0x2efbd2(0x1cb))/0x9;if(_0xa165bd===_0x2bd0aa)break;else _0x3cd738['push'](_0x3cd738['shift']());}catch(_0xc46469){_0x3cd738['push'](_0x3cd738['shift']());}}}(_0x2538,0x832c8),function(_0x5f2ba3,_0x55d514){const _0x33104f=_0x1fbb;typeof exports=='object'&&typeof module<'u'?_0x55d514(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x33104f(0x23b)&&define[_0x33104f(0x1d7)]?define([_0x33104f(0x260),_0x33104f(0x1e3),_0x33104f(0x1ae),_0x33104f(0x1f4),_0x33104f(0x238)],_0x55d514):(_0x5f2ba3=typeof globalThis<'u'?globalThis:_0x5f2ba3||self,_0x55d514(_0x5f2ba3['UniverProDocsTableFacade']={},_0x5f2ba3[_0x33104f(0x1c6)],_0x5f2ba3[_0x33104f(0x249)],_0x5f2ba3['UniverCoreFacade'],_0x5f2ba3['UniverDocsFacade']));}(this,function(_0x1da92f,_0x260906,_0xcf1ccc,_0x16462c,_0x33887e){const _0x1aefd6=_0x1fbb;Object['defineProperty'](_0x1da92f,Symbol[_0x1aefd6(0x210)],{'value':_0x1aefd6(0x25c)});var _0x18485c=class extends _0x16462c[_0x1aefd6(0x19e)]{get[_0x1aefd6(0x224)](){const _0x536eae=_0x1aefd6;return _0x260906[_0x536eae(0x224)];}get[_0x1aefd6(0x207)](){const _0x28c7f0=_0x1aefd6;return _0x260906[_0x28c7f0(0x207)];}get['DocsTableSelectionKind'](){return _0x260906['DocsTableSelectionKind'];}get[_0x1aefd6(0x20f)](){const _0x2b83e1=_0x1aefd6;return _0x260906[_0x2b83e1(0x20f)];}get['DocsTableColumnInsertPosition'](){return _0x260906['DocsTableColumnInsertPosition'];}get['DocsTableBorderPreset'](){const _0x27feba=_0x1aefd6;return _0x260906[_0x27feba(0x234)];}get[_0x1aefd6(0x21f)](){const _0x543f87=_0x1aefd6;return _0x260906[_0x543f87(0x21f)];}get[_0x1aefd6(0x252)](){const _0x1a7d42=_0x1aefd6;return _0xcf1ccc[_0x1a7d42(0x252)];}};_0x16462c[_0x1aefd6(0x19e)]['extend'](_0x18485c);var _0x2daa72=class{constructor(_0x3d1db4,_0x31ed69,_0x2a5d1d){const _0x2ebe58=_0x1aefd6;this[_0x2ebe58(0x185)]=_0x3d1db4,this[_0x2ebe58(0x19a)]=_0x31ed69,this[_0x2ebe58(0x233)]=_0x2a5d1d;}[_0x1aefd6(0x1a2)](){const _0x4a955e=_0x1aefd6;return this[_0x4a955e(0x185)];}[_0x1aefd6(0x1c7)](){const _0x2573a0=_0x1aefd6;return this[_0x2573a0(0x19a)];}['getColumnIndex'](){return this['_column'];}[_0x1aefd6(0x250)](){const _0x4435f4=_0x1aefd6;return this[_0x4435f4(0x185)][_0x4435f4(0x186)](this['_row'],this[_0x4435f4(0x233)]);}[_0x1aefd6(0x216)](){const _0x22f5a8=_0x1aefd6;return this[_0x22f5a8(0x185)][_0x22f5a8(0x228)](this[_0x22f5a8(0x19a)],this[_0x22f5a8(0x233)]);}[_0x1aefd6(0x1b5)](){const _0x4de9fe=_0x1aefd6;return this[_0x4de9fe(0x185)][_0x4de9fe(0x18d)](this[_0x4de9fe(0x19a)],this['_column']);}['getMargin'](){const _0x419a09=_0x1aefd6;return this[_0x419a09(0x185)][_0x419a09(0x1bc)](this[_0x419a09(0x19a)],this[_0x419a09(0x233)]);}[_0x1aefd6(0x1a0)](){const _0x16fae9=_0x1aefd6;return this[_0x16fae9(0x185)][_0x16fae9(0x23f)](this[_0x16fae9(0x19a)],this[_0x16fae9(0x233)]);}['setMargin'](_0x350896){const _0x21fe3c=_0x1aefd6;return this[_0x21fe3c(0x185)][_0x21fe3c(0x1f2)](this[_0x21fe3c(0x185)]['getCellRange'](this[_0x21fe3c(0x19a)],this[_0x21fe3c(0x233)]),_0x350896);}['clearMarginOverride'](){const _0x2f31c8=_0x1aefd6;return this[_0x2f31c8(0x185)][_0x2f31c8(0x1f2)](this[_0x2f31c8(0x185)][_0x2f31c8(0x1db)](this['_row'],this[_0x2f31c8(0x233)]),null);}[_0x1aefd6(0x24b)](_0x4c8fdc){const _0x1fac7f=_0x1aefd6;return this['_table']['setCellText'](this[_0x1fac7f(0x19a)],this[_0x1fac7f(0x233)],_0x4c8fdc);}[_0x1aefd6(0x24e)](_0x4ad687){const _0x1774ef=_0x1aefd6;return this[_0x1774ef(0x185)]['setCellBackground'](this[_0x1774ef(0x185)]['getCellRange'](this['_row'],this['_column']),_0x4ad687);}[_0x1aefd6(0x1ac)](_0x3e3480){const _0x3fd1b6=_0x1aefd6;return this[_0x3fd1b6(0x185)][_0x3fd1b6(0x1ac)](this['_table'][_0x3fd1b6(0x1db)](this[_0x3fd1b6(0x19a)],this[_0x3fd1b6(0x233)]),_0x3e3480);}['mergeTo'](_0x437796,_0x11b3ff){const _0x370b08=_0x1aefd6;return this['_table']['mergeCells']({'startRow':this[_0x370b08(0x19a)],'startColumn':this[_0x370b08(0x233)],'endRow':this[_0x370b08(0x19a)]+_0x437796-0x1,'endColumn':this['_column']+_0x11b3ff-0x1});}[_0x1aefd6(0x1ed)](){const _0x2b739e=_0x1aefd6;return this['_table'][_0x2b739e(0x243)](this[_0x2b739e(0x185)][_0x2b739e(0x1db)](this[_0x2b739e(0x19a)],this[_0x2b739e(0x233)]));}};function _0x55d511(_0x58a791){'@babel/helpers - typeof';const _0x13f2a8=_0x1aefd6;return _0x55d511=typeof Symbol==_0x13f2a8(0x23b)&&typeof Symbol[_0x13f2a8(0x1d9)]==_0x13f2a8(0x236)?function(_0x54afdd){return typeof _0x54afdd;}:function(_0x40587c){const _0x34ca8e=_0x13f2a8;return _0x40587c&&typeof Symbol==_0x34ca8e(0x23b)&&_0x40587c[_0x34ca8e(0x188)]===Symbol&&_0x40587c!==Symbol[_0x34ca8e(0x18f)]?_0x34ca8e(0x236):typeof _0x40587c;},_0x55d511(_0x58a791);}function _0x159670(_0x2ff633,_0x4a5323){const _0x5bfdd6=_0x1aefd6;if(_0x55d511(_0x2ff633)!=_0x5bfdd6(0x245)||!_0x2ff633)return _0x2ff633;var _0x216397=_0x2ff633[Symbol[_0x5bfdd6(0x1fa)]];if(_0x216397!==void 0x0){var _0x1890ab=_0x216397['call'](_0x2ff633,_0x4a5323||_0x5bfdd6(0x1ce));if(_0x55d511(_0x1890ab)!='object')return _0x1890ab;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4a5323===_0x5bfdd6(0x1aa)?String:Number)(_0x2ff633);}function _0x4ba9ac(_0x3c5dda){const _0x1e48d1=_0x1aefd6;var _0x1fd1de=_0x159670(_0x3c5dda,_0x1e48d1(0x1aa));return _0x55d511(_0x1fd1de)==_0x1e48d1(0x236)?_0x1fd1de:_0x1fd1de+'';}function _0x178d6b(_0x27c59e,_0x1101c0,_0x33ec8b){const _0x341eab=_0x1aefd6;return(_0x1101c0=_0x4ba9ac(_0x1101c0))in _0x27c59e?Object[_0x341eab(0x23a)](_0x27c59e,_0x1101c0,{'value':_0x33ec8b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27c59e[_0x1101c0]=_0x33ec8b,_0x27c59e;}var _0x2f83f9=class{constructor(_0x1c7049,_0x54e13a,_0x41d0f4='',_0x22bf7d){const _0x55f959=_0x1aefd6;this[_0x55f959(0x1ba)]=_0x1c7049,this['_tableId']=_0x54e13a,this[_0x55f959(0x1e9)]=_0x41d0f4,this[_0x55f959(0x215)]=_0x22bf7d,_0x178d6b(this,'_unitId',void 0x0),this[_0x55f959(0x1f9)]=this[_0x55f959(0x1ba)][_0x55f959(0x1f1)]();}[_0x1aefd6(0x1f1)](){const _0x14e48c=_0x1aefd6;return this[_0x14e48c(0x201)];}['getSegmentId'](){return this['_segmentId'];}['getInfo'](){const _0x452ba7=_0x1aefd6;return{'id':this[_0x452ba7(0x201)],'rowCount':this['getRowCount'](),'columnCount':this['getColumnCount'](),'metadata':this[_0x452ba7(0x1b4)](),'source':this['getSource']()};}[_0x1aefd6(0x1d1)](){const _0x69a965=_0x1aefd6;var _0x14654c,_0x35a6e2;let _0x4aa561=this[_0x69a965(0x1b4)](),_0x242883=this[_0x69a965(0x18c)](),_0xe4f336=this['getColumnCount']();return{'id':this['_tableId'],'rowCount':this[_0x69a965(0x1a5)](),'columnCount':_0xe4f336,'headerRowCount':(_0x14654c=_0x4aa561==null?void 0x0:_0x4aa561['headerRowCount'])==null?0x0:_0x14654c,'titleRow':(_0x35a6e2=_0x4aa561==null?void 0x0:_0x4aa561[_0x69a965(0x20c)])==null?!0x1:_0x35a6e2,'columns':Array['from']({'length':_0xe4f336},(_0x1d60f,_0x414463)=>{const _0x100484=_0x69a965;var _0x54df39,_0x358184;return{'index':_0x414463,'type':_0x4aa561==null||(_0x54df39=_0x4aa561[_0x100484(0x1e7)])==null||(_0x54df39=_0x54df39[_0x414463])==null?void 0x0:_0x54df39[_0x100484(0x1ea)],'width':_0x242883==null||(_0x358184=_0x242883[_0x100484(0x1c8)][_0x414463])==null?void 0x0:_0x358184[_0x100484(0x1dc)][_0x100484(0x20a)]['v']};}),'sampleRows':Array[_0x69a965(0x206)]({'length':this[_0x69a965(0x1a5)]()},(_0x23ccd3,_0x628e10)=>Array[_0x69a965(0x206)]({'length':_0xe4f336},(_0xf06b21,_0x5f3cd1)=>this[_0x69a965(0x186)](_0x628e10,_0x5f3cd1)))['filter'](_0x14a048=>_0x14a048[_0x69a965(0x20b)](_0x83982c=>_0x83982c[_0x69a965(0x1ab)]>0x0))[_0x69a965(0x1e0)](0x0,0x5)};}[_0x1aefd6(0x1a5)](){const _0x535315=_0x1aefd6;var _0x55506f,_0x28ca98;return(_0x55506f=(_0x28ca98=this[_0x535315(0x18c)]())==null?void 0x0:_0x28ca98[_0x535315(0x256)][_0x535315(0x1ab)])==null?0x0:_0x55506f;}['getColumnCount'](){const _0x1a44f3=_0x1aefd6;var _0x2d5190,_0x149761;return(_0x2d5190=(_0x149761=this[_0x1a44f3(0x18c)]())==null?void 0x0:_0x149761['tableColumns']['length'])==null?0x0:_0x2d5190;}[_0x1aefd6(0x239)](_0x3ae5f5,_0x308bd0){const _0x1211e0=_0x1aefd6;var _0x4c7e19;return!((_0x4c7e19=this[_0x1211e0(0x18c)]())==null||(_0x4c7e19=_0x4c7e19[_0x1211e0(0x256)][_0x3ae5f5])==null)&&_0x4c7e19[_0x1211e0(0x258)][_0x308bd0]?this[_0x1211e0(0x215)][_0x1211e0(0x22b)](_0x2daa72,this,_0x3ae5f5,_0x308bd0):null;}['getCellText'](_0x2ccd23,_0x3b8233){const _0x4138c1=_0x1aefd6;var _0x285e08,_0x4c6c3b,_0x33fa7a;let _0x49ffc6=(_0x285e08=(0x0,_0x260906[_0x4138c1(0x218)])(this[_0x4138c1(0x1e6)](),this[_0x4138c1(0x201)]))==null||(_0x285e08=_0x285e08[_0x4138c1(0x230)][_0x2ccd23])==null?void 0x0:_0x285e08['cells'][_0x3b8233];return _0x49ffc6?(_0x4c6c3b=(_0x33fa7a=this[_0x4138c1(0x1e6)]()[_0x4138c1(0x21d)])==null?void 0x0:_0x33fa7a[_0x4138c1(0x190)]['slice'](_0x49ffc6['startOffset']+0x1,_0x49ffc6[_0x4138c1(0x1a6)])['replace'](/\r\n$/,''))==null?'':_0x4c6c3b:'';}[_0x1aefd6(0x1bc)](_0xde8294,_0x55f790){const _0x5c6b16=_0x1aefd6;var _0x190053,_0x48d872,_0x4547c3;let _0x4d8b55=this[_0x5c6b16(0x18c)](),_0x47b2e0=_0x4d8b55==null||(_0x190053=_0x4d8b55[_0x5c6b16(0x256)][_0xde8294])==null?void 0x0:_0x190053['tableCells'][_0x55f790];return _0x47b2e0?_0xcf1ccc[_0x5c6b16(0x19c)]['deepClone']((_0x48d872=(_0x4547c3=_0x47b2e0['margin'])==null?_0x4d8b55[_0x5c6b16(0x21b)]:_0x4547c3)==null?_0x260906[_0x5c6b16(0x1ff)]:_0x48d872):null;}[_0x1aefd6(0x23f)](_0x5dbeed,_0x2f3636){const _0x54020f=_0x1aefd6;var _0xdd65ff;let _0x197e7d=(_0xdd65ff=this[_0x54020f(0x18c)]())==null||(_0xdd65ff=_0xdd65ff['tableRows'][_0x5dbeed])==null?void 0x0:_0xdd65ff['tableCells'][_0x2f3636];return _0x197e7d!=null&&_0x197e7d['margin']?_0xcf1ccc[_0x54020f(0x19c)][_0x54020f(0x25d)](_0x197e7d[_0x54020f(0x1c3)]):null;}[_0x1aefd6(0x22e)](){const _0x3fa502=_0x1aefd6;var _0xbb6d2d,_0x4ff1b3;return _0xcf1ccc[_0x3fa502(0x19c)][_0x3fa502(0x25d)]((_0xbb6d2d=(_0x4ff1b3=this[_0x3fa502(0x18c)]())==null?void 0x0:_0x4ff1b3['cellMargin'])==null?_0x260906[_0x3fa502(0x1ff)]:_0xbb6d2d);}[_0x1aefd6(0x1b8)](){const _0x534fb7=_0x1aefd6;var _0x5c9c75;let _0x1f12ed=(_0x5c9c75=this[_0x534fb7(0x18c)]())==null?void 0x0:_0x5c9c75[_0x534fb7(0x21b)];return _0x1f12ed?_0xcf1ccc[_0x534fb7(0x19c)]['deepClone'](_0x1f12ed):null;}['getMetadata'](){const _0x735632=_0x1aefd6;return this[_0x735632(0x215)][_0x735632(0x21a)](_0x260906[_0x735632(0x1e4)])['getTableMetadata'](this[_0x735632(0x1f9)],this['_tableId']);}[_0x1aefd6(0x18c)](){const _0x4952a3=_0x1aefd6;var _0xc787ac;return(_0xc787ac=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0xc787ac[this[_0x4952a3(0x201)]];}[_0x1aefd6(0x1d8)](){const _0x148ed6=_0x1aefd6;return(0x0,_0x260906[_0x148ed6(0x218)])(this[_0x148ed6(0x1e6)](),this[_0x148ed6(0x201)]);}['getTableRange'](){const _0x158d55=_0x1aefd6;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x158d55(0x1a5)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x158d55(0x1d5)](0x0,this[_0x158d55(0x1a7)]()-0x1)};}[_0x1aefd6(0x1db)](_0x12422c,_0x594956){return{'startRow':_0x12422c,'endRow':_0x12422c,'startColumn':_0x594956,'endColumn':_0x594956};}['getCellContentRange'](_0x639c7c,_0x18e51b){const _0x32cc5c=_0x1aefd6;var _0x35a605;let _0x3edb4a=(_0x35a605=(0x0,_0x260906[_0x32cc5c(0x218)])(this[_0x32cc5c(0x1e6)](),this[_0x32cc5c(0x201)]))==null||(_0x35a605=_0x35a605[_0x32cc5c(0x230)][_0x639c7c])==null?void 0x0:_0x35a605[_0x32cc5c(0x19d)][_0x18e51b];if(!_0x3edb4a)return null;let _0xae2ee3=_0x3edb4a[_0x32cc5c(0x1d3)]+0x1;return{'startOffset':_0xae2ee3,'endOffset':Math['max'](_0xae2ee3,_0x3edb4a[_0x32cc5c(0x1a6)]-0x1),'segmentId':this[_0x32cc5c(0x1e9)]};}[_0x1aefd6(0x18d)](_0x21e65f,_0x18bbf4){const _0x15922b=_0x1aefd6;var _0x566f70,_0x216fa7;return(_0x566f70=(_0x216fa7=this[_0x15922b(0x228)](_0x21e65f,_0x18bbf4))==null?void 0x0:_0x216fa7['endOffset'])==null?null:_0x566f70;}['getRowRange'](_0x4c1325){return this['getRowsRange'](_0x4c1325,0x1);}[_0x1aefd6(0x1ad)](_0x1a72fd,_0x58cab1=0x1){const _0x4d205a=_0x1aefd6;return{'startRow':_0x1a72fd,'endRow':_0x1a72fd+_0x58cab1-0x1,'startColumn':0x0,'endColumn':Math[_0x4d205a(0x1d5)](0x0,this[_0x4d205a(0x1a7)]()-0x1)};}[_0x1aefd6(0x191)](_0x1a1993){const _0x317065=_0x1aefd6;return this[_0x317065(0x227)](_0x1a1993,0x1);}[_0x1aefd6(0x227)](_0xf2dc9,_0x3e8c39=0x1){const _0x3297b8=_0x1aefd6;return{'startRow':0x0,'endRow':Math[_0x3297b8(0x1d5)](0x0,this['getRowCount']()-0x1),'startColumn':_0xf2dc9,'endColumn':_0xf2dc9+_0x3e8c39-0x1};}[_0x1aefd6(0x25b)](){const _0x2a335b=_0x1aefd6;return this[_0x2a335b(0x20e)](this[_0x2a335b(0x1eb)](),_0x260906['DocsTableSelectionKind'][_0x2a335b(0x248)]);}['selectRow'](_0x277a34){const _0x420ebd=_0x1aefd6;return this[_0x420ebd(0x1b9)](_0x277a34,0x1);}['selectRows'](_0x199995,_0x397f7b=0x1){const _0x3bc337=_0x1aefd6;return this[_0x3bc337(0x20e)](this[_0x3bc337(0x1ad)](_0x199995,_0x397f7b),_0x260906[_0x3bc337(0x1ec)][_0x3bc337(0x217)]);}[_0x1aefd6(0x1da)](_0x570c84){const _0x488549=_0x1aefd6;return this[_0x488549(0x237)](_0x570c84,0x1);}[_0x1aefd6(0x237)](_0x17cab1,_0x130268=0x1){const _0x3c3c4b=_0x1aefd6;return this[_0x3c3c4b(0x20e)](this['getColumnsRange'](_0x17cab1,_0x130268),_0x260906['DocsTableSelectionKind'][_0x3c3c4b(0x1e8)]);}[_0x1aefd6(0x1e1)](_0x2be073,_0x2c8f72){const _0x1806f4=_0x1aefd6;return this['selectRange'](this[_0x1806f4(0x1db)](_0x2be073,_0x2c8f72),_0x260906[_0x1806f4(0x1ec)][_0x1806f4(0x194)]);}[_0x1aefd6(0x20e)](_0x1d9e7c,_0x170552=_0x260906[_0x1aefd6(0x1ec)][_0x1aefd6(0x222)]){const _0x554402=_0x1aefd6;return this['_injector'][_0x554402(0x21a)](_0x260906[_0x554402(0x1f6)])['setStructuralSelection']({..._0x1d9e7c,'kind':_0x170552,'segmentId':this['_segmentId'],'tableId':this[_0x554402(0x201)]}),!0x0;}['insertRowBefore'](_0x84973f){const _0x2b44d1=_0x1aefd6;return this[_0x2b44d1(0x255)](_0x84973f,0x1);}[_0x1aefd6(0x241)](_0x20219f){return this['insertRowsAfter'](_0x20219f,0x1);}['insertRowsBefore'](_0x36f6ce,_0x266409){const _0x2d1bd3=_0x1aefd6;let _0x3662a2=this[_0x2d1bd3(0x1e6)](),_0x5ed994=(0x0,_0x260906[_0x2d1bd3(0x1ca)])(_0x3662a2,this[_0x2d1bd3(0x201)],_0x36f6ce,_0x266409,_0x260906[_0x2d1bd3(0x251)][_0x2d1bd3(0x253)],this[_0x2d1bd3(0x1af)]());return _0x5ed994?this[_0x2d1bd3(0x1de)](_0x3662a2,_0x5ed994['actions']):!0x1;}['insertRowsAfter'](_0x20527d,_0x5937e6){const _0x972dd2=_0x1aefd6;let _0x2112aa=this['_getDocumentData'](),_0x1b61c2=(0x0,_0x260906[_0x972dd2(0x1ca)])(_0x2112aa,this[_0x972dd2(0x201)],_0x20527d,_0x5937e6,_0x260906[_0x972dd2(0x251)][_0x972dd2(0x18a)],this[_0x972dd2(0x1af)]());return _0x1b61c2?this[_0x972dd2(0x1de)](_0x2112aa,_0x1b61c2[_0x972dd2(0x1ee)]):!0x1;}[_0x1aefd6(0x1a1)](){const _0x12d2c5=_0x1aefd6;return this['insertRowsAfter'](Math['max'](0x0,this[_0x12d2c5(0x1a5)]()-0x1),0x1);}[_0x1aefd6(0x25f)](_0x10531f){const _0x42f718=_0x1aefd6;return this[_0x42f718(0x25e)](_0x10531f,0x1);}[_0x1aefd6(0x246)](_0x5e4cce){const _0x517422=_0x1aefd6;return this[_0x517422(0x226)](_0x5e4cce,0x1);}[_0x1aefd6(0x25e)](_0x5815a1,_0x22b7b3){const _0x2fd251=_0x1aefd6;let _0x15281d=this[_0x2fd251(0x1e6)](),_0x391f85=(0x0,_0x260906[_0x2fd251(0x240)])(_0x15281d,this[_0x2fd251(0x201)],_0x5815a1,_0x22b7b3,_0x260906[_0x2fd251(0x251)][_0x2fd251(0x1bf)],{'bodyPath':this[_0x2fd251(0x1af)]()});return _0x391f85?this[_0x2fd251(0x1de)](_0x15281d,_0x391f85['actions']):!0x1;}['insertColumnsAfter'](_0x47344e,_0x94907e){const _0x6e8383=_0x1aefd6;let _0x526a2d=this[_0x6e8383(0x1e6)](),_0x404010=(0x0,_0x260906['buildInsertTableColumnsMutationActions'])(_0x526a2d,this[_0x6e8383(0x201)],_0x47344e,_0x94907e,_0x260906[_0x6e8383(0x251)]['Right'],{'bodyPath':this[_0x6e8383(0x1af)]()});return _0x404010?this[_0x6e8383(0x1de)](_0x526a2d,_0x404010[_0x6e8383(0x1ee)]):!0x1;}[_0x1aefd6(0x1b2)](){const _0x515c40=_0x1aefd6;return this[_0x515c40(0x226)](Math[_0x515c40(0x1d5)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x159968){const _0x29bc15=_0x1aefd6;return this[_0x29bc15(0x254)](_0x159968,0x1);}[_0x1aefd6(0x254)](_0x435655,_0x3d70c4=0x1){const _0x503d14=_0x1aefd6;let _0x313f12=this[_0x503d14(0x1e6)](),_0x45d3de=(0x0,_0x260906[_0x503d14(0x1a4)])(_0x313f12,this['_tableId'],_0x435655,_0x435655+_0x3d70c4-0x1,this[_0x503d14(0x1af)]());return _0x45d3de?this['_mutateActions'](_0x313f12,_0x45d3de['actions']):!0x1;}[_0x1aefd6(0x231)](_0x4f96dd){return this['deleteColumns'](_0x4f96dd,0x1);}['deleteColumns'](_0x3901c,_0x1ab8d1=0x1){const _0x508c06=_0x1aefd6;let _0x389192=this[_0x508c06(0x1e6)](),_0x3073b4=(0x0,_0x260906[_0x508c06(0x211)])(_0x389192,this[_0x508c06(0x201)],_0x3901c,_0x3901c+_0x1ab8d1-0x1,this[_0x508c06(0x1af)]());return _0x3073b4?this[_0x508c06(0x1de)](_0x389192,_0x3073b4[_0x508c06(0x1ee)]):!0x1;}[_0x1aefd6(0x1c5)](){const _0x134101=_0x1aefd6;let _0x7cdb87=this[_0x134101(0x1e6)](),_0x2e1657=(0x0,_0x260906[_0x134101(0x1f0)])(_0x7cdb87,this[_0x134101(0x201)],this[_0x134101(0x1af)]());return _0x2e1657?this[_0x134101(0x1de)](_0x7cdb87,_0x2e1657[_0x134101(0x1ee)]):!0x1;}[_0x1aefd6(0x221)](_0x28c71d,_0x2a798d){const _0x353e36=_0x1aefd6;let _0x4ba9a0=this[_0x353e36(0x1e6)]();return this[_0x353e36(0x1de)](_0x4ba9a0,(0x0,_0x260906[_0x353e36(0x1fb)])(_0x4ba9a0,this[_0x353e36(0x201)],_0x28c71d,_0x2a798d));}[_0x1aefd6(0x1d6)](_0xfb0ee4){const _0x7268c8=_0x1aefd6;let _0x3395e7=this['_getDocumentData']();return this[_0x7268c8(0x1de)](_0x3395e7,(0x0,_0x260906[_0x7268c8(0x219)])(_0x3395e7,this['_tableId'],_0xfb0ee4,this[_0x7268c8(0x1af)]()));}[_0x1aefd6(0x1e5)](_0x12d1ca,_0x557f34,_0x16d042=_0x260906[_0x1aefd6(0x251)][_0x1aefd6(0x253)]){const _0xf73201=_0x1aefd6;return this[_0xf73201(0x24c)](_0x12d1ca,0x1,_0x557f34,_0x16d042);}['moveRows'](_0x14e4d9,_0x3fb13d,_0x2ec380,_0x5c1e8c=_0x260906['DocsTableInsertPosition'][_0x1aefd6(0x253)]){const _0x40f3ff=_0x1aefd6;let _0x4dde7c=this[_0x40f3ff(0x1e6)](),_0x507d72=(0x0,_0x260906[_0x40f3ff(0x196)])(_0x4dde7c,this[_0x40f3ff(0x201)],_0x14e4d9,_0x2ec380,_0x3fb13d,_0x5c1e8c,this['_getBodyPath']());return _0x507d72?this[_0x40f3ff(0x1de)](_0x4dde7c,_0x507d72['actions']):!0x1;}['moveColumn'](_0x570404,_0xd4be8c,_0x126b3d=_0x260906['DocsTableInsertPosition'][_0x1aefd6(0x1bf)]){const _0x510b26=_0x1aefd6;return this[_0x510b26(0x259)](_0x570404,0x1,_0xd4be8c,_0x126b3d);}[_0x1aefd6(0x259)](_0xf96e49,_0x35fce6,_0x5a95d1,_0x5ea5e7=_0x260906[_0x1aefd6(0x251)][_0x1aefd6(0x1bf)]){const _0x2b980c=_0x1aefd6;let _0x3c7d0f=this['_getDocumentData'](),_0xfc7c6=(0x0,_0x260906[_0x2b980c(0x1e2)])(_0x3c7d0f,this[_0x2b980c(0x201)],_0xf96e49,_0x5a95d1,_0x35fce6,_0x5ea5e7,this[_0x2b980c(0x1af)]());return _0xfc7c6?this['_mutateActions'](_0x3c7d0f,_0xfc7c6[_0x2b980c(0x1ee)]):!0x1;}['mergeCells'](_0x3b63e8){const _0x3fc087=_0x1aefd6;try{let _0x28b947=this['_getDocumentData'](),_0x5c68a7=(0x0,_0x260906[_0x3fc087(0x1a9)])({'documentData':_0x28b947,'tableId':this[_0x3fc087(0x201)],..._0x3b63e8});return _0x5c68a7?this[_0x3fc087(0x1de)](_0x28b947,_0x5c68a7['actions'],_0x3b63e8):!0x1;}catch{return!0x1;}}[_0x1aefd6(0x243)](_0xd1017a){const _0x50f0bd=_0x1aefd6;try{let _0x30aa02=this['_getDocumentData'](),_0x8e3ddf=(0x0,_0x260906[_0x50f0bd(0x1dd)])({'documentData':_0x30aa02,'tableId':this[_0x50f0bd(0x201)],..._0xd1017a});return _0x8e3ddf?this[_0x50f0bd(0x1de)](_0x30aa02,_0x8e3ddf[_0x50f0bd(0x1ee)],_0xd1017a):!0x1;}catch{return!0x1;}}[_0x1aefd6(0x198)](_0x10b2ac,_0x5f317f,_0x462e48){const _0x2b2ffd=_0x1aefd6;let _0x530bf6=this['_getDocumentData'](),_0x338a8f=(0x0,_0x260906[_0x2b2ffd(0x19f)])(this[_0x2b2ffd(0x1ba)][_0x2b2ffd(0x1bd)]()[_0x2b2ffd(0x1fe)](),this[_0x2b2ffd(0x1e9)]);return this['_mutateActions'](_0x530bf6,(0x0,_0x260906[_0x2b2ffd(0x1a3)])({'documentData':_0x530bf6,'tableId':this[_0x2b2ffd(0x201)],'row':_0x10b2ac,'column':_0x5f317f,'text':_0x462e48},_0x338a8f),this[_0x2b2ffd(0x1db)](_0x10b2ac,_0x5f317f));}[_0x1aefd6(0x1b1)](_0x1ccf92,_0x1f96dd){const _0x2b90bf=_0x1aefd6;let _0x2532fe=this[_0x2b90bf(0x1e6)]();return this[_0x2b90bf(0x1de)](_0x2532fe,(0x0,_0x260906[_0x2b90bf(0x21e)])(_0x2532fe,{'tableId':this[_0x2b90bf(0x201)],..._0x1ccf92,'value':_0x1f96dd}),_0x1ccf92);}[_0x1aefd6(0x1f2)](_0xa0c812,_0x15b39a){const _0x536779=_0x1aefd6;let _0x50c2cb=this['_getDocumentData']();return this['_mutateActions'](_0x50c2cb,(0x0,_0x260906[_0x536779(0x1b0)])({'documentData':_0x50c2cb,'tableId':this[_0x536779(0x201)],..._0xa0c812,'margin':_0x15b39a}),_0xa0c812);}['setDefaultCellMargin'](_0x26da09){const _0x1927ae=_0x1aefd6;let _0x3e783c=this[_0x1927ae(0x1e6)]();return this[_0x1927ae(0x1de)](_0x3e783c,(0x0,_0x260906[_0x1927ae(0x214)])(_0x3e783c,this[_0x1927ae(0x201)],_0x26da09));}[_0x1aefd6(0x1ac)](_0x5b13bd,_0x1afb5c){const _0x148784=_0x1aefd6;var _0x44b027,_0x361063,_0x41341a,_0x26350a;let _0x37fa00=this[_0x148784(0x1e6)]();return this['_mutateActions'](_0x37fa00,(0x0,_0x260906['buildSetTableBorderMutationActions'])({'documentData':_0x37fa00,'tableId':this[_0x148784(0x201)],..._0x5b13bd,'preset':(_0x44b027=_0x1afb5c[_0x148784(0x200)])==null?_0x260906[_0x148784(0x234)][_0x148784(0x225)]:_0x44b027,'border':(_0x361063=_0x1afb5c[_0x148784(0x1cd)])==null?{'color':{'rgb':(_0x41341a=_0x1afb5c['color'])==null?'#1f1f1f':_0x41341a},'width':{'v':(_0x26350a=_0x1afb5c[_0x148784(0x20a)])==null?0x1:_0x26350a},'dashStyle':_0xcf1ccc[_0x148784(0x252)][_0x148784(0x23d)]}:_0x361063}),_0x5b13bd);}['setTableBackground'](_0x11dbdd){const _0x587218=_0x1aefd6;return this[_0x587218(0x1b1)](this[_0x587218(0x1eb)](),_0x11dbdd);}[_0x1aefd6(0x1a8)](_0x25f7aa){const _0x28c6b8=_0x1aefd6;return this[_0x28c6b8(0x1ac)](this[_0x28c6b8(0x1eb)](),_0x25f7aa);}[_0x1aefd6(0x1cf)](_0x1430ef){const _0x2d1cb2=_0x1aefd6;let _0x2bb2bf=_0x1430ef[_0x2d1cb2(0x1c2)]?this[_0x2d1cb2(0x1d2)](_0x1430ef['backgroundColor']):!0x0,_0x5d29c6=_0x1430ef['border']?this[_0x2d1cb2(0x1a8)](_0x1430ef[_0x2d1cb2(0x1cd)]):!0x0;return _0x2bb2bf&&_0x5d29c6;}[_0x1aefd6(0x212)](_0xc51ac5,_0x578cc3,_0x1cd16d=_0xcf1ccc['TableRowHeightRule'][_0x1aefd6(0x204)]){const _0x480107=_0x1aefd6;var _0x2528ae;let _0x3975cb=this['_getDocumentData']();return!((_0x2528ae=_0x3975cb['tableSource'])==null||(_0x2528ae=_0x2528ae[this[_0x480107(0x201)]])==null)&&_0x2528ae['tableRows'][_0xc51ac5]?this[_0x480107(0x1de)](_0x3975cb,(0x0,_0x260906[_0x480107(0x22d)])(_0x3975cb,this['_tableId'],_0xc51ac5,_0x578cc3,_0x1cd16d)):!0x1;}[_0x1aefd6(0x187)](_0xbeab34){const _0x238b40=_0x1aefd6;var _0x177f4e;let _0x45240f=(_0x177f4e=this['getSource']())==null||(_0x177f4e=_0x177f4e[_0x238b40(0x256)][_0xbeab34])==null?void 0x0:_0x177f4e[_0x238b40(0x1f5)];return _0x45240f?_0xcf1ccc[_0x238b40(0x19c)][_0x238b40(0x25d)](_0x45240f):null;}[_0x1aefd6(0x220)](_0x1de4ac,_0x5f23c5){const _0x547f57=_0x1aefd6;var _0x500fda;let _0x54fe08=this['_getDocumentData']();return!((_0x500fda=_0x54fe08[_0x547f57(0x247)])==null||(_0x500fda=_0x500fda[this['_tableId']])==null)&&_0x500fda[_0x547f57(0x1c8)][_0x1de4ac]?this[_0x547f57(0x1de)](_0x54fe08,(0x0,_0x260906[_0x547f57(0x1f7)])(_0x54fe08,this['_tableId'],_0x1de4ac,_0x5f23c5)):!0x1;}[_0x1aefd6(0x209)](_0x41779c=0x0,_0x13a614=this[_0x1aefd6(0x1a5)]()){const _0x2ce16a=_0x1aefd6;let _0x281c0f=this['_getDocumentData']();return this['_mutateActions'](_0x281c0f,(0x0,_0x260906[_0x2ce16a(0x192)])(_0x281c0f,this['_tableId'],_0x41779c,_0x41779c+_0x13a614-0x1));}['distributeColumns'](_0x601e33=0x0,_0x40c124=this[_0x1aefd6(0x1a7)]()){const _0x416e8c=_0x1aefd6;let _0x3144b6=this[_0x416e8c(0x1e6)]();return this[_0x416e8c(0x1de)](_0x3144b6,(0x0,_0x260906[_0x416e8c(0x23c)])(_0x3144b6,this[_0x416e8c(0x201)],_0x601e33,_0x601e33+_0x40c124-0x1));}['getHeaderRowCount'](){const _0x223c54=_0x1aefd6;var _0x4e966c,_0x495548;return(_0x4e966c=(_0x495548=this[_0x223c54(0x1b4)]())==null?void 0x0:_0x495548[_0x223c54(0x197)])==null?0x0:_0x4e966c;}[_0x1aefd6(0x19b)](_0x59ed77){const _0x28e200=_0x1aefd6;let _0x54e82c=this[_0x28e200(0x215)][_0x28e200(0x21a)](_0x260906[_0x28e200(0x1e4)]),_0x165d1f=this[_0x28e200(0x1e6)](),_0x300fbd=(0x0,_0x260906[_0x28e200(0x193)])(_0x165d1f,this['_tableId'],_0x59ed77);if(!_0x300fbd)return!0x1;let _0xa2bfee=this[_0x28e200(0x1de)](_0x165d1f,_0x300fbd['actions']);return _0xa2bfee&&_0x54e82c[_0x28e200(0x19b)](this[_0x28e200(0x1f9)],this[_0x28e200(0x201)],_0x300fbd[_0x28e200(0x197)]),_0xa2bfee;}[_0x1aefd6(0x24d)](_0x10a484){const _0x1543fb=_0x1aefd6;return this[_0x1543fb(0x19b)](_0x10a484);}[_0x1aefd6(0x22c)](){const _0x50692b=_0x1aefd6;var _0x3a29df,_0x2e26d4;return(_0x3a29df=(_0x2e26d4=this[_0x50692b(0x1b4)]())==null?void 0x0:_0x2e26d4[_0x50692b(0x20c)])==null?!0x1:_0x3a29df;}[_0x1aefd6(0x24a)](){const _0x4e53ee=_0x1aefd6;let _0x3f4019=this[_0x4e53ee(0x215)][_0x4e53ee(0x21a)](_0x260906[_0x4e53ee(0x1e4)]),_0x3b8192=this['_getDocumentData'](),_0x15b1f0=(0x0,_0x260906['buildInsertTableTitleRowMutationActions'])(_0x3b8192,this[_0x4e53ee(0x201)],this[_0x4e53ee(0x1af)]());if(!_0x15b1f0)return!0x1;let _0x5aa3d0=this[_0x4e53ee(0x1de)](_0x3b8192,_0x15b1f0[_0x4e53ee(0x1ee)]);return _0x5aa3d0&&_0x3f4019['setTitleRow'](this[_0x4e53ee(0x1f9)],this[_0x4e53ee(0x201)],!0x0),_0x5aa3d0;}[_0x1aefd6(0x1f3)](_0x25b0c5,_0x3e193c){const _0x5da20d=_0x1aefd6;return this[_0x5da20d(0x215)][_0x5da20d(0x21a)](_0x260906[_0x5da20d(0x1e4)])['setColumnType'](this[_0x5da20d(0x1f9)],this[_0x5da20d(0x201)],_0x25b0c5,_0x3e193c),!0x0;}[_0x1aefd6(0x195)](_0x385b4b,_0x57853c){const _0xf73f85=_0x1aefd6;let _0x78dcc8=this[_0xf73f85(0x1e6)]();return this[_0xf73f85(0x1de)](_0x78dcc8,(0x0,_0x260906[_0xf73f85(0x22f)])(_0x78dcc8,this[_0xf73f85(0x1bb)](),this[_0xf73f85(0x201)],_0x385b4b,_0x57853c,this[_0xf73f85(0x1af)]()));}[_0x1aefd6(0x1e6)](){const _0x21cc3b=_0x1aefd6;let _0x414ecf=this[_0x21cc3b(0x1ba)][_0x21cc3b(0x1bd)]()[_0x21cc3b(0x1fe)]();return this[_0x21cc3b(0x1e9)]?{...this[_0x21cc3b(0x1ba)][_0x21cc3b(0x1bd)](this[_0x21cc3b(0x1e9)])[_0x21cc3b(0x1fe)](),'documentStyle':_0x414ecf[_0x21cc3b(0x199)],'tableSource':_0x414ecf[_0x21cc3b(0x247)]}:_0x414ecf;}[_0x1aefd6(0x1bb)](){const _0x2a861c=_0x1aefd6;return this['_injector'][_0x2a861c(0x21a)](_0x260906[_0x2a861c(0x1e4)])[_0x2a861c(0x23e)](this['_unitId']);}[_0x1aefd6(0x1af)](){const _0x4544c7=_0x1aefd6;return(0x0,_0x260906[_0x4544c7(0x19f)])(this[_0x4544c7(0x1ba)][_0x4544c7(0x1bd)]()[_0x4544c7(0x1fe)](),this[_0x4544c7(0x1e9)]);}['_mutateActions'](_0xb05022,_0x8a31b0,_0x199bb0){const _0x473a12=_0x1aefd6;return(0x0,_0x260906[_0x473a12(0x18b)])(this['_injector'][_0x473a12(0x21a)](_0xcf1ccc[_0x473a12(0x1df)]),this[_0x473a12(0x1f9)],_0xb05022,_0x8a31b0,_0x199bb0?{'tableId':this[_0x473a12(0x201)],'segmentId':this[_0x473a12(0x1e9)],..._0x199bb0}:void 0x0);}},_0x2acdea=class extends _0x33887e['FDocument']{[_0x1aefd6(0x202)](_0x1095e8=''){const _0x53a0c0=_0x1aefd6;return this[_0x53a0c0(0x1c0)](_0x1095e8)[_0x53a0c0(0x1fd)](_0x3aa20f=>this[_0x53a0c0(0x24f)](_0x3aa20f[_0x53a0c0(0x1b7)],_0x1095e8));}[_0x1aefd6(0x1a2)](_0x4589c6,_0xf42d76=''){const _0x4e5fdf=_0x1aefd6;return this[_0x4e5fdf(0x1c0)](_0xf42d76)['some'](_0x11fc6a=>_0x11fc6a['tableId']===_0x4589c6)?this['_createFDocumentTable'](_0x4589c6,_0xf42d76):null;}['getTableAt'](_0x53558f,_0x5e3258=''){const _0x2f1f75=_0x1aefd6;var _0x326697;let _0x7f6522=(_0x326697=this[_0x2f1f75(0x1c0)](_0x5e3258)[_0x53558f])==null?void 0x0:_0x326697[_0x2f1f75(0x1b7)];return _0x7f6522?this[_0x2f1f75(0x24f)](_0x7f6522,_0x5e3258):null;}[_0x1aefd6(0x205)](){const _0x524f04=_0x1aefd6;let _0x1918f9=this[_0x524f04(0x215)][_0x524f04(0x21a)](_0x260906[_0x524f04(0x1f6)])[_0x524f04(0x1d4)]();return _0x1918f9!=null&&_0x1918f9[_0x524f04(0x1b7)]?this['_createFDocumentTable'](_0x1918f9[_0x524f04(0x1b7)],_0x1918f9['segmentId']):null;}['findTableByText'](_0x5d8897,_0x57de40=''){const _0x1324db=_0x1aefd6;var _0x5ea408;return(_0x5ea408=this[_0x1324db(0x213)](_0x5d8897,_0x57de40)[0x0])==null?null:_0x5ea408;}[_0x1aefd6(0x213)](_0x381217,_0x1b3b58=''){const _0x21a18f=_0x1aefd6;let _0x25406c=this[_0x21a18f(0x22a)](_0x1b3b58),_0x2e96b3=typeof _0x381217=='string'?{'text':_0x381217}:_0x381217;return this[_0x21a18f(0x202)](_0x1b3b58)[_0x21a18f(0x18e)](_0x59c611=>{const _0x17e10d=_0x21a18f;let _0x18fca8=_0x59c611[_0x17e10d(0x1f1)]();return!(_0x2e96b3['tableId']&&_0x18fca8!==_0x2e96b3['tableId']||_0x2e96b3['text']&&!this['_tableContainsText'](_0x25406c,_0x18fca8,_0x2e96b3[_0x17e10d(0x244)])||_0x2e96b3[_0x17e10d(0x20d)]&&!this[_0x17e10d(0x1b6)](_0x59c611,0x0,_0x2e96b3[_0x17e10d(0x20d)])||_0x2e96b3[_0x17e10d(0x1fc)]&&!this[_0x17e10d(0x1b6)](_0x59c611,0x0,_0x2e96b3[_0x17e10d(0x1fc)]));});}['insertTable'](_0x36f8d7,_0x135403,_0x25d7f0={}){const _0x295c31=_0x1aefd6;var _0x3081cf,_0x4c82ad;let _0x4fe7eb=this[_0x295c31(0x215)]['get'](_0xcf1ccc['ICommandService']),_0x57dd1e=(_0x3081cf=_0x25d7f0['tableId'])==null?(0x0,_0xcf1ccc[_0x295c31(0x1f8)])(0x6):_0x3081cf;return _0x4fe7eb[_0x295c31(0x1d0)](_0x260906[_0x295c31(0x1c1)]['id'],{..._0x25d7f0,'unitId':this['getId'](),'rows':_0x36f8d7,'columns':_0x135403,'tableId':_0x57dd1e})?this['_createFDocumentTable'](_0x57dd1e,(_0x4c82ad=_0x25d7f0[_0x295c31(0x21c)])==null?'':_0x4c82ad):null;}[_0x1aefd6(0x223)](_0x13059e,_0x127800={}){const _0x444ec5=_0x1aefd6;var _0x3102ce,_0x38f943;let _0x281abb=this[_0x444ec5(0x215)][_0x444ec5(0x21a)](_0xcf1ccc[_0x444ec5(0x1df)]),_0x13b088=(_0x3102ce=_0x127800['tableId'])==null?(0x0,_0xcf1ccc[_0x444ec5(0x1f8)])(0x6):_0x3102ce;return _0x281abb[_0x444ec5(0x1d0)](_0x260906[_0x444ec5(0x1c1)]['id'],{..._0x127800,'unitId':this[_0x444ec5(0x1f1)](),'values':_0x13059e,'tableId':_0x13b088})?this[_0x444ec5(0x24f)](_0x13b088,(_0x38f943=_0x127800[_0x444ec5(0x21c)])==null?'':_0x38f943):null;}[_0x1aefd6(0x1c0)](_0x4f0432=''){const _0x405bc2=_0x1aefd6;let {tables:_0x188d0a=[]}=this[_0x405bc2(0x203)](_0x4f0432);return _0x188d0a;}[_0x1aefd6(0x22a)](_0xe3581f=''){const _0x40c2e9=_0x1aefd6;let _0x5174cd=this[_0x40c2e9(0x1bd)]()['getSnapshot']();return _0xe3581f?{...this[_0x40c2e9(0x1bd)](_0xe3581f)[_0x40c2e9(0x1fe)](),'documentStyle':_0x5174cd[_0x40c2e9(0x199)],'tableSource':_0x5174cd[_0x40c2e9(0x247)]}:_0x5174cd;}[_0x1aefd6(0x24f)](_0x364762,_0x49b6a9=''){const _0x4f6678=_0x1aefd6;return this[_0x4f6678(0x215)][_0x4f6678(0x22b)](_0x2f83f9,this,_0x364762,_0x49b6a9,this[_0x4f6678(0x215)]);}[_0x1aefd6(0x208)](_0x22de1d,_0x1b4552,_0xab1051){const _0x21401e=_0x1aefd6;var _0x317d72;let _0x4469cb=(0x0,_0x260906[_0x21401e(0x218)])(_0x22de1d,_0x1b4552);if(!_0x4469cb)return!0x1;let _0x2599a2=(_0x317d72=_0x22de1d['body'])==null?void 0x0:_0x317d72[_0x21401e(0x190)];return _0x2599a2?_0x2599a2[_0x21401e(0x1e0)](_0x4469cb[_0x21401e(0x1d3)],_0x4469cb[_0x21401e(0x1a6)])[_0x21401e(0x257)](_0xab1051):!0x1;}[_0x1aefd6(0x1b6)](_0x4ddd15,_0x30a55d,_0x4be9d2){const _0x379911=_0x1aefd6;return Array[_0x379911(0x206)]({'length':_0x4ddd15['getColumnCount']()},(_0x23f9cc,_0x862253)=>_0x4ddd15[_0x379911(0x186)](_0x30a55d,_0x862253))[_0x379911(0x20b)](_0x3546a3=>_0x3546a3[_0x379911(0x257)](_0x4be9d2));}};_0x33887e[_0x1aefd6(0x189)][_0x1aefd6(0x242)](_0x2acdea),_0x1da92f[_0x1aefd6(0x1b3)]=_0x2f83f9,_0x1da92f[_0x1aefd6(0x235)]=_0x2daa72;}));
1
+ function _0x3966(){const _0x28a206=['getTableActionBodyPath','FDocument','buildSetTableCellTextMutationActions','_tableContainsText','_row','startOffset','getStableTableSelection','getColumnCount','constructor','Left','getDocumentDataModel','buildDeleteTableMutationActions','setTableBorder','_tableId','slice','endOffset','_createFDocumentTable','some','Column','Cell','selectRows','actions','DEFAULT_DOCS_TABLE_CELL_MARGIN','setText','unmerge','dataStream','moveColumns','DocsTableBorderPreset','rows','getRowIndex','Row','getColumnsRange','setCellBackground','buildSetTableBorderMutationActions','buildInsertTableTitleRowMutationActions','filter','_column','tableRows','_getTableDocumentData','Below','insertTable','type','buildMergeCellsMutationActions','deleteColumn','preset','_document','getSnapshot','setCellText','map','selectRow','getTableRangeById','buildMoveTableRowsMutationActions','selectColumns','DocsTableInsertTableCommand','color','DocsTableColumnType','sortByColumn','headerText','getCellMarginOverride','findTables','max','getCellRange','setBorder','_mutateActions','setHeaderRowCount','hasTitleRow','tableColumns','AT_LEAST','buildDeleteTableColumnsMutationActions','insertColumnAfter','getCellInsertOffset','getCell','2099840TRcTvk','insertTableFromData','getHeaderRowCount','ICommandService','unmergeCells','getColumnIndex','setTitleRow','getTable','exports','setBackgroundColor','getRowRange','42hbEiRW','setCellMargin','getSource','DocsTableModel','_getDocumentData','prototype','text','extend','3219480BVBBtI','getContentRange','getId','getRowsRange','amd','Tools','function','buildDeleteTableRowsMutationActions','_getBodyPath','DocsTableSelectionKind','DashStyleType','_table','selectRange','getTableAtSelection','replace','getRange','moveColumn','getInfo','cells','UniverCore','getMetadata','buildInsertTableRowsMutationActions','_getTables','deepClone','body','moveRow','_segmentId','segmentId','getMargin','margin','backgroundColor','getColumnRange','getText','string','toStringTag','getTableMetadata','tableId','moveTableBy','selectTable','includes','@univerjs/core/facade','generateRandomId','get','_unitId','Above','DocsTableSortDirection','getTables','1829247gALRpe','buildResizeTableColumnActionsFromWidth','DocsTableRowInsertPosition','getRowCount','buildResizeTableRowActionsFromHeight','selectCell','titleRow','insertRowsBefore','insertRowBefore','getRowHeight','_serializeModel','moveTableToOffset','DocsTableInsertTablePosition','width','SOLID','deleteColumns','headerRowCount','setDefaultCellMargin','getTableAt','from','insertRowsAfter','mergeCells','68948myMbLa','DocsTableInsertPosition','FDocumentTableCell','clearMarginOverride','758409FCLoUH','titleText','distributeRows','distributeColumns','29349232HfbpJD','setTableBackground','syncExecuteCommand','defineProperty','describe','symbol','insertColumnsBefore','moveRows','getTableRange','buildSetTableHeaderRowCountMutationActions','default','length','#1f1f1f','border','2282285xjdneQ','getInsertOffset','buildInsertTableColumnsMutationActions','getDefaultCellMarginOverride','findTableByText','trHeight','pinHeaderRows','getDefaultCellMargin','DocsTableSelectionService','insertColumnsAfter','tableCells','appendRow','_injector','object','setTableStyle','UniverDocsFacade','getCellText','cellMargin','tableSource','buildMoveFloatingTableMutationActions','appendColumn','serialize','setColumnType','DocsTableColumnInsertPosition','getCellMargin','documentStyle','_rowContainsText','FEnum','deleteRows','call','FDocumentTable'];_0x3966=function(){return _0x28a206;};return _0x3966();}function _0x376e(_0x4a850f,_0x2aeb06){_0x4a850f=_0x4a850f-0x13f;const _0x396663=_0x3966();let _0x376ec3=_0x396663[_0x4a850f];return _0x376ec3;}(function(_0x1a80df,_0xd52040){const _0x10ed13=_0x376e,_0x424cdc=_0x1a80df();while(!![]){try{const _0x4022b0=-parseInt(_0x10ed13(0x1ae))/0x1+-parseInt(_0x10ed13(0x152))/0x2+parseInt(_0x10ed13(0x15d))/0x3*(-parseInt(_0x10ed13(0x1aa))/0x4)+-parseInt(_0x10ed13(0x1c0))/0x5+-parseInt(_0x10ed13(0x165))/0x6+parseInt(_0x10ed13(0x194))/0x7+parseInt(_0x10ed13(0x1b2))/0x8;if(_0x4022b0===_0xd52040)break;else _0x424cdc['push'](_0x424cdc['shift']());}catch(_0x4f8eac){_0x424cdc['push'](_0x424cdc['shift']());}}}(_0x3966,0xd89fb),function(_0x4fc545,_0x45a013){const _0x3d052e=_0x376e;typeof exports==_0x3d052e(0x1cd)&&typeof module<'u'?_0x45a013(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x3d052e(0x16b)&&define[_0x3d052e(0x169)]?define([_0x3d052e(0x15a),'@univerjs-pro/docs-table','@univerjs/core',_0x3d052e(0x18d),'@univerjs/docs/facade'],_0x45a013):(_0x4fc545=typeof globalThis<'u'?globalThis:_0x4fc545||self,_0x45a013(_0x4fc545['UniverProDocsTableFacade']={},_0x4fc545['UniverProDocsTable'],_0x4fc545[_0x3d052e(0x178)],_0x4fc545['UniverCoreFacade'],_0x4fc545[_0x3d052e(0x1cf)]));}(this,function(_0x56e2c7,_0x25c7cd,_0x45a3c4,_0x2a8ab5,_0xab3855){const _0x36f66f=_0x376e;Object[_0x36f66f(0x1b5)](_0x56e2c7,Symbol[_0x36f66f(0x187)],{'value':'Module'});var _0x29aeb7=class extends _0x2a8ab5[_0x36f66f(0x1db)]{get[_0x36f66f(0x1a0)](){const _0x63c2e7=_0x36f66f;return _0x25c7cd[_0x63c2e7(0x1a0)];}get[_0x36f66f(0x141)](){const _0x970f12=_0x36f66f;return _0x25c7cd[_0x970f12(0x141)];}get[_0x36f66f(0x16e)](){const _0xf192b9=_0x36f66f;return _0x25c7cd[_0xf192b9(0x16e)];}get[_0x36f66f(0x196)](){const _0x37e1e8=_0x36f66f;return _0x25c7cd[_0x37e1e8(0x196)];}get[_0x36f66f(0x1d7)](){const _0x39c02e=_0x36f66f;return _0x25c7cd[_0x39c02e(0x1d7)];}get['DocsTableBorderPreset'](){const _0x336cf6=_0x36f66f;return _0x25c7cd[_0x336cf6(0x1fa)];}get[_0x36f66f(0x192)](){const _0x21e8a9=_0x36f66f;return _0x25c7cd[_0x21e8a9(0x192)];}get[_0x36f66f(0x16f)](){const _0x2ba6c2=_0x36f66f;return _0x45a3c4[_0x2ba6c2(0x16f)];}};_0x2a8ab5['FEnum'][_0x36f66f(0x164)](_0x29aeb7);var _0x2a6666=class{constructor(_0x971aa9,_0xd6001d,_0x3b7f02){const _0x32598c=_0x36f66f;this[_0x32598c(0x170)]=_0x971aa9,this[_0x32598c(0x1e3)]=_0xd6001d,this[_0x32598c(0x203)]=_0x3b7f02;}['getTable'](){const _0x22f154=_0x36f66f;return this[_0x22f154(0x170)];}[_0x36f66f(0x1fc)](){return this['_row'];}[_0x36f66f(0x157)](){const _0x3fa94a=_0x36f66f;return this[_0x3fa94a(0x203)];}[_0x36f66f(0x185)](){const _0xf182a2=_0x36f66f;return this[_0xf182a2(0x170)][_0xf182a2(0x1d0)](this[_0xf182a2(0x1e3)],this[_0xf182a2(0x203)]);}[_0x36f66f(0x166)](){const _0x3043e7=_0x36f66f;return this['_table']['getCellContentRange'](this[_0x3043e7(0x1e3)],this[_0x3043e7(0x203)]);}[_0x36f66f(0x1c1)](){const _0x4dfc3f=_0x36f66f;return this[_0x4dfc3f(0x170)][_0x4dfc3f(0x150)](this[_0x4dfc3f(0x1e3)],this[_0x4dfc3f(0x203)]);}[_0x36f66f(0x181)](){const _0x3319f0=_0x36f66f;return this[_0x3319f0(0x170)][_0x3319f0(0x1d8)](this['_row'],this[_0x3319f0(0x203)]);}['getMarginOverride'](){const _0x464f6c=_0x36f66f;return this[_0x464f6c(0x170)][_0x464f6c(0x144)](this['_row'],this[_0x464f6c(0x203)]);}['setMargin'](_0x362e1c){const _0x7d29dc=_0x36f66f;return this[_0x7d29dc(0x170)][_0x7d29dc(0x15e)](this[_0x7d29dc(0x170)]['getCellRange'](this['_row'],this[_0x7d29dc(0x203)]),_0x362e1c);}[_0x36f66f(0x1ad)](){const _0x1a9876=_0x36f66f;return this[_0x1a9876(0x170)][_0x1a9876(0x15e)](this['_table'][_0x1a9876(0x147)](this['_row'],this[_0x1a9876(0x203)]),null);}[_0x36f66f(0x1f6)](_0x315432){const _0x1506c7=_0x36f66f;return this[_0x1506c7(0x170)][_0x1506c7(0x20e)](this[_0x1506c7(0x1e3)],this['_column'],_0x315432);}[_0x36f66f(0x15b)](_0x47058b){const _0x4d7610=_0x36f66f;return this[_0x4d7610(0x170)][_0x4d7610(0x1ff)](this[_0x4d7610(0x170)][_0x4d7610(0x147)](this[_0x4d7610(0x1e3)],this['_column']),_0x47058b);}[_0x36f66f(0x148)](_0x1680e9){const _0x5e813e=_0x36f66f;return this[_0x5e813e(0x170)]['setBorder'](this['_table']['getCellRange'](this[_0x5e813e(0x1e3)],this['_column']),_0x1680e9);}['mergeTo'](_0x4ba054,_0x5e087d){const _0x269fbe=_0x36f66f;return this[_0x269fbe(0x170)]['mergeCells']({'startRow':this[_0x269fbe(0x1e3)],'startColumn':this[_0x269fbe(0x203)],'endRow':this[_0x269fbe(0x1e3)]+_0x4ba054-0x1,'endColumn':this[_0x269fbe(0x203)]+_0x5e087d-0x1});}[_0x36f66f(0x1f7)](){const _0xad1b92=_0x36f66f;return this[_0xad1b92(0x170)][_0xad1b92(0x156)](this[_0xad1b92(0x170)][_0xad1b92(0x147)](this[_0xad1b92(0x1e3)],this[_0xad1b92(0x203)]));}};function _0x21cf0a(_0xfcdd62){'@babel/helpers - typeof';const _0x36b09c=_0x36f66f;return _0x21cf0a=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x36b09c(0x1b7)?function(_0x49b2c3){return typeof _0x49b2c3;}:function(_0x2f3391){const _0x23dd98=_0x36b09c;return _0x2f3391&&typeof Symbol==_0x23dd98(0x16b)&&_0x2f3391[_0x23dd98(0x1e7)]===Symbol&&_0x2f3391!==Symbol[_0x23dd98(0x162)]?_0x23dd98(0x1b7):typeof _0x2f3391;},_0x21cf0a(_0xfcdd62);}function _0x921d77(_0xacd7d,_0x749e7a){const _0x3ce7ee=_0x36f66f;if(_0x21cf0a(_0xacd7d)!='object'||!_0xacd7d)return _0xacd7d;var _0x21c6b3=_0xacd7d[Symbol['toPrimitive']];if(_0x21c6b3!==void 0x0){var _0x5a5684=_0x21c6b3[_0x3ce7ee(0x1dd)](_0xacd7d,_0x749e7a||_0x3ce7ee(0x1bc));if(_0x21cf0a(_0x5a5684)!='object')return _0x5a5684;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x749e7a==='string'?String:Number)(_0xacd7d);}function _0x5a7e23(_0x78a4b6){const _0xd3a4c=_0x36f66f;var _0x1b3c85=_0x921d77(_0x78a4b6,_0xd3a4c(0x186));return _0x21cf0a(_0x1b3c85)=='symbol'?_0x1b3c85:_0x1b3c85+'';}function _0x44a815(_0x396259,_0xd54350,_0x3b8ac1){const _0xf1862c=_0x36f66f;return(_0xd54350=_0x5a7e23(_0xd54350))in _0x396259?Object[_0xf1862c(0x1b5)](_0x396259,_0xd54350,{'value':_0x3b8ac1,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x396259[_0xd54350]=_0x3b8ac1,_0x396259;}var _0x1bf518=class{constructor(_0x44623d,_0x5ad5c6,_0x4474fb='',_0x3c5156){const _0xfef37e=_0x36f66f;this[_0xfef37e(0x20c)]=_0x44623d,this[_0xfef37e(0x1ec)]=_0x5ad5c6,this['_segmentId']=_0x4474fb,this[_0xfef37e(0x1cc)]=_0x3c5156,_0x44a815(this,_0xfef37e(0x190),void 0x0),this[_0xfef37e(0x190)]=this['_document'][_0xfef37e(0x167)]();}[_0x36f66f(0x167)](){const _0x1af3e8=_0x36f66f;return this[_0x1af3e8(0x1ec)];}['getSegmentId'](){return this['_segmentId'];}[_0x36f66f(0x176)](){const _0x1b4dd1=_0x36f66f;return{'id':this[_0x1b4dd1(0x1ec)],'rowCount':this[_0x1b4dd1(0x197)](),'columnCount':this[_0x1b4dd1(0x1e6)](),'metadata':this[_0x1b4dd1(0x179)](),'source':this['getSource']()};}[_0x36f66f(0x1b6)](){const _0x233a77=_0x36f66f;var _0x2f8f0b,_0x36a7cc;let _0x40e99e=this[_0x233a77(0x179)](),_0x586c3c=this[_0x233a77(0x15f)](),_0x3cb26c=this[_0x233a77(0x1e6)]();return{'id':this['_tableId'],'rowCount':this[_0x233a77(0x197)](),'columnCount':_0x3cb26c,'headerRowCount':(_0x2f8f0b=_0x40e99e==null?void 0x0:_0x40e99e[_0x233a77(0x1a4)])==null?0x0:_0x2f8f0b,'titleRow':(_0x36a7cc=_0x40e99e==null?void 0x0:_0x40e99e[_0x233a77(0x19a)])!=null&&_0x36a7cc,'columns':Array['from']({'length':_0x3cb26c},(_0x2b295a,_0x22bec7)=>{const _0x36c8d8=_0x233a77;var _0x58149b,_0xfce1e1;return{'index':_0x22bec7,'type':_0x40e99e==null||(_0x58149b=_0x40e99e['columnTypes'])==null||(_0x58149b=_0x58149b[_0x22bec7])==null?void 0x0:_0x58149b[_0x36c8d8(0x208)],'width':_0x586c3c==null||(_0xfce1e1=_0x586c3c[_0x36c8d8(0x14c)][_0x22bec7])==null?void 0x0:_0xfce1e1['size'][_0x36c8d8(0x1a1)]['v']};}),'sampleRows':Array['from']({'length':this[_0x233a77(0x197)]()},(_0x4e48be,_0x44fb54)=>Array['from']({'length':_0x3cb26c},(_0x574a3a,_0x2b4245)=>this[_0x233a77(0x1d0)](_0x44fb54,_0x2b4245)))['filter'](_0x48eced=>_0x48eced['some'](_0xd29357=>_0xd29357[_0x233a77(0x1bd)]>0x0))[_0x233a77(0x1ed)](0x0,0x5)};}[_0x36f66f(0x197)](){const _0x36e51f=_0x36f66f;var _0x3fc03d,_0x3cd2fa;return(_0x3fc03d=(_0x3cd2fa=this[_0x36e51f(0x15f)]())==null?void 0x0:_0x3cd2fa['tableRows'][_0x36e51f(0x1bd)])==null?0x0:_0x3fc03d;}[_0x36f66f(0x1e6)](){const _0x29c853=_0x36f66f;var _0x435dcb,_0x3d0ab1;return(_0x435dcb=(_0x3d0ab1=this[_0x29c853(0x15f)]())==null?void 0x0:_0x3d0ab1[_0x29c853(0x14c)]['length'])==null?0x0:_0x435dcb;}[_0x36f66f(0x151)](_0x452052,_0x2a76b7){const _0x529c9d=_0x36f66f;var _0x5f6f80;return(_0x5f6f80=this['getSource']())!=null&&(_0x5f6f80=_0x5f6f80[_0x529c9d(0x204)][_0x452052])!=null&&_0x5f6f80[_0x529c9d(0x1ca)][_0x2a76b7]?this[_0x529c9d(0x1cc)]['createInstance'](_0x2a6666,this,_0x452052,_0x2a76b7):null;}[_0x36f66f(0x1d0)](_0x5b08b9,_0x13644a){const _0x542973=_0x36f66f;var _0x13c7e8,_0x5d6af4,_0x5d40a8;let _0x1d9bfc=(_0x13c7e8=(0x0,_0x25c7cd[_0x542973(0x211)])(this[_0x542973(0x161)](),this[_0x542973(0x1ec)]))==null||(_0x13c7e8=_0x13c7e8[_0x542973(0x1fb)][_0x5b08b9])==null?void 0x0:_0x13c7e8[_0x542973(0x177)][_0x13644a];return _0x1d9bfc?(_0x5d6af4=(_0x5d40a8=this['_getDocumentData']()[_0x542973(0x17d)])==null?void 0x0:_0x5d40a8[_0x542973(0x1f8)][_0x542973(0x1ed)](_0x1d9bfc[_0x542973(0x1e4)]+0x1,_0x1d9bfc[_0x542973(0x1ee)])[_0x542973(0x173)](/\r\n$/,''))==null?'':_0x5d6af4:'';}['getCellMargin'](_0x129efb,_0x1211be){const _0x2d274e=_0x36f66f;var _0x1bcf9e,_0x1738d8,_0x1c68de;let _0x9d112c=this['getSource'](),_0x212d06=_0x9d112c==null||(_0x1bcf9e=_0x9d112c[_0x2d274e(0x204)][_0x129efb])==null?void 0x0:_0x1bcf9e['tableCells'][_0x1211be];return _0x212d06?_0x45a3c4[_0x2d274e(0x16a)][_0x2d274e(0x17c)]((_0x1738d8=(_0x1c68de=_0x212d06[_0x2d274e(0x182)])==null?_0x9d112c[_0x2d274e(0x1d1)]:_0x1c68de)==null?_0x25c7cd[_0x2d274e(0x1f5)]:_0x1738d8):null;}[_0x36f66f(0x144)](_0x4bf0e6,_0x405fd1){const _0x3d763a=_0x36f66f;var _0x1f78b0;let _0x251547=(_0x1f78b0=this['getSource']())==null||(_0x1f78b0=_0x1f78b0[_0x3d763a(0x204)][_0x4bf0e6])==null?void 0x0:_0x1f78b0[_0x3d763a(0x1ca)][_0x405fd1];return _0x251547!=null&&_0x251547['margin']?_0x45a3c4[_0x3d763a(0x16a)][_0x3d763a(0x17c)](_0x251547['margin']):null;}[_0x36f66f(0x1c7)](){const _0x34ac3c=_0x36f66f;var _0x477f56,_0x214404;return _0x45a3c4['Tools'][_0x34ac3c(0x17c)]((_0x477f56=(_0x214404=this[_0x34ac3c(0x15f)]())==null?void 0x0:_0x214404[_0x34ac3c(0x1d1)])==null?_0x25c7cd[_0x34ac3c(0x1f5)]:_0x477f56);}[_0x36f66f(0x1c3)](){const _0x190117=_0x36f66f;var _0x22e2b0;let _0x17fc86=(_0x22e2b0=this[_0x190117(0x15f)]())==null?void 0x0:_0x22e2b0[_0x190117(0x1d1)];return _0x17fc86?_0x45a3c4[_0x190117(0x16a)][_0x190117(0x17c)](_0x17fc86):null;}[_0x36f66f(0x179)](){const _0x51a65b=_0x36f66f;return this[_0x51a65b(0x1cc)][_0x51a65b(0x18f)](_0x25c7cd[_0x51a65b(0x160)])[_0x51a65b(0x188)](this['_unitId'],this[_0x51a65b(0x1ec)]);}[_0x36f66f(0x15f)](){const _0x233bf2=_0x36f66f;var _0x50bfd4;return(_0x50bfd4=this[_0x233bf2(0x161)]()[_0x233bf2(0x1d2)])==null?void 0x0:_0x50bfd4[this[_0x233bf2(0x1ec)]];}[_0x36f66f(0x174)](){const _0x1b6ad4=_0x36f66f;return(0x0,_0x25c7cd[_0x1b6ad4(0x211)])(this[_0x1b6ad4(0x161)](),this['_tableId']);}[_0x36f66f(0x1ba)](){const _0x4e022f=_0x36f66f;return{'startRow':0x0,'endRow':Math[_0x4e022f(0x146)](0x0,this[_0x4e022f(0x197)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x4e022f(0x146)](0x0,this[_0x4e022f(0x1e6)]()-0x1)};}['getCellRange'](_0x109cd8,_0x48170a){return{'startRow':_0x109cd8,'endRow':_0x109cd8,'startColumn':_0x48170a,'endColumn':_0x48170a};}['getCellContentRange'](_0x334c17,_0x47746b){const _0x43384d=_0x36f66f;var _0x46160f;let _0xe755d7=(_0x46160f=(0x0,_0x25c7cd[_0x43384d(0x211)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x46160f=_0x46160f[_0x43384d(0x1fb)][_0x334c17])==null?void 0x0:_0x46160f['cells'][_0x47746b];if(!_0xe755d7)return null;let _0x239abd=_0xe755d7[_0x43384d(0x1e4)]+0x1;return{'startOffset':_0x239abd,'endOffset':Math[_0x43384d(0x146)](_0x239abd,_0xe755d7[_0x43384d(0x1ee)]-0x1),'segmentId':this[_0x43384d(0x17f)]};}[_0x36f66f(0x150)](_0x4bb2f3,_0xb2c067){const _0x1826c3=_0x36f66f;var _0x2851e7,_0x14b37e;return(_0x2851e7=(_0x14b37e=this['getCellContentRange'](_0x4bb2f3,_0xb2c067))==null?void 0x0:_0x14b37e[_0x1826c3(0x1ee)])==null?null:_0x2851e7;}[_0x36f66f(0x15c)](_0x3c7732){return this['getRowsRange'](_0x3c7732,0x1);}[_0x36f66f(0x168)](_0x2dc311,_0x9db998=0x1){const _0x37aa5c=_0x36f66f;return{'startRow':_0x2dc311,'endRow':_0x2dc311+_0x9db998-0x1,'startColumn':0x0,'endColumn':Math[_0x37aa5c(0x146)](0x0,this['getColumnCount']()-0x1)};}[_0x36f66f(0x184)](_0x26ef2e){const _0x4a04c0=_0x36f66f;return this[_0x4a04c0(0x1fe)](_0x26ef2e,0x1);}[_0x36f66f(0x1fe)](_0x5c727e,_0x37c3c6=0x1){const _0x38b49c=_0x36f66f;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x38b49c(0x197)]()-0x1),'startColumn':_0x5c727e,'endColumn':_0x5c727e+_0x37c3c6-0x1};}[_0x36f66f(0x18b)](){const _0x14fe7d=_0x36f66f;return this[_0x14fe7d(0x171)](this[_0x14fe7d(0x1ba)](),_0x25c7cd[_0x14fe7d(0x16e)]['Table']);}[_0x36f66f(0x210)](_0x23ddb2){const _0x3c6cbc=_0x36f66f;return this[_0x3c6cbc(0x1f3)](_0x23ddb2,0x1);}[_0x36f66f(0x1f3)](_0x340186,_0x29c0dc=0x1){const _0x4c8928=_0x36f66f;return this['selectRange'](this['getRowsRange'](_0x340186,_0x29c0dc),_0x25c7cd[_0x4c8928(0x16e)][_0x4c8928(0x1fd)]);}['selectColumn'](_0x15a31d){const _0x14e7ec=_0x36f66f;return this[_0x14e7ec(0x213)](_0x15a31d,0x1);}[_0x36f66f(0x213)](_0x1eaf72,_0x2337d9=0x1){const _0x5b73ae=_0x36f66f;return this[_0x5b73ae(0x171)](this[_0x5b73ae(0x1fe)](_0x1eaf72,_0x2337d9),_0x25c7cd[_0x5b73ae(0x16e)][_0x5b73ae(0x1f1)]);}[_0x36f66f(0x199)](_0x1a0006,_0x371e63){const _0x47b848=_0x36f66f;return this[_0x47b848(0x171)](this['getCellRange'](_0x1a0006,_0x371e63),_0x25c7cd['DocsTableSelectionKind'][_0x47b848(0x1f2)]);}[_0x36f66f(0x171)](_0x47d401,_0x492588=_0x25c7cd[_0x36f66f(0x16e)]['Range']){const _0x5c0a46=_0x36f66f;return this[_0x5c0a46(0x1cc)][_0x5c0a46(0x18f)](_0x25c7cd[_0x5c0a46(0x1c8)])['setStructuralSelection']({..._0x47d401,'kind':_0x492588,'segmentId':this[_0x5c0a46(0x17f)],'tableId':this[_0x5c0a46(0x1ec)]}),!0x0;}[_0x36f66f(0x19c)](_0x37a372){return this['insertRowsBefore'](_0x37a372,0x1);}['insertRowAfter'](_0x4d1ec7){return this['insertRowsAfter'](_0x4d1ec7,0x1);}[_0x36f66f(0x19b)](_0x184b8f,_0x9d970f){const _0x2bf303=_0x36f66f;let _0x5a3f85=this[_0x2bf303(0x161)](),_0x1e438d=(0x0,_0x25c7cd[_0x2bf303(0x17a)])(_0x5a3f85,this[_0x2bf303(0x1ec)],_0x184b8f,_0x9d970f,_0x25c7cd[_0x2bf303(0x1ab)][_0x2bf303(0x191)],this[_0x2bf303(0x16d)]());return _0x1e438d?this['_mutateActions'](_0x5a3f85,_0x1e438d['actions']):!0x1;}[_0x36f66f(0x1a8)](_0x5e13ca,_0xa7e18f){const _0x16e7f1=_0x36f66f;let _0x52c98a=this[_0x16e7f1(0x161)](),_0x312a10=(0x0,_0x25c7cd[_0x16e7f1(0x17a)])(_0x52c98a,this[_0x16e7f1(0x1ec)],_0x5e13ca,_0xa7e18f,_0x25c7cd[_0x16e7f1(0x1ab)][_0x16e7f1(0x206)],this[_0x16e7f1(0x16d)]());return _0x312a10?this[_0x16e7f1(0x149)](_0x52c98a,_0x312a10['actions']):!0x1;}[_0x36f66f(0x1cb)](){const _0x1878ed=_0x36f66f;return this[_0x1878ed(0x1a8)](Math['max'](0x0,this[_0x1878ed(0x197)]()-0x1),0x1);}['insertColumnBefore'](_0x45d080){const _0xf5aaa2=_0x36f66f;return this[_0xf5aaa2(0x1b8)](_0x45d080,0x1);}[_0x36f66f(0x14f)](_0x432ac7){const _0x93646f=_0x36f66f;return this[_0x93646f(0x1c9)](_0x432ac7,0x1);}[_0x36f66f(0x1b8)](_0x59bc21,_0xf3152d){const _0x5ec46e=_0x36f66f;let _0x51d2b3=this[_0x5ec46e(0x161)](),_0x4514f0=(0x0,_0x25c7cd[_0x5ec46e(0x1c2)])(_0x51d2b3,this['_tableId'],_0x59bc21,_0xf3152d,_0x25c7cd[_0x5ec46e(0x1ab)]['Left'],{'bodyPath':this[_0x5ec46e(0x16d)]()});return _0x4514f0?this[_0x5ec46e(0x149)](_0x51d2b3,_0x4514f0[_0x5ec46e(0x1f4)]):!0x1;}[_0x36f66f(0x1c9)](_0x5be0bc,_0x4f7e48){const _0x313b90=_0x36f66f;let _0x2607ef=this[_0x313b90(0x161)](),_0x1c2aad=(0x0,_0x25c7cd[_0x313b90(0x1c2)])(_0x2607ef,this['_tableId'],_0x5be0bc,_0x4f7e48,_0x25c7cd[_0x313b90(0x1ab)]['Right'],{'bodyPath':this[_0x313b90(0x16d)]()});return _0x1c2aad?this[_0x313b90(0x149)](_0x2607ef,_0x1c2aad['actions']):!0x1;}[_0x36f66f(0x1d4)](){const _0x27ceeb=_0x36f66f;return this[_0x27ceeb(0x1c9)](Math[_0x27ceeb(0x146)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x146032){const _0x2a7e8d=_0x36f66f;return this[_0x2a7e8d(0x1dc)](_0x146032,0x1);}[_0x36f66f(0x1dc)](_0x1e30fd,_0x2c48bd=0x1){const _0x1a5c61=_0x36f66f;let _0x51ce0d=this['_getDocumentData'](),_0x37ffa3=(0x0,_0x25c7cd[_0x1a5c61(0x16c)])(_0x51ce0d,this['_tableId'],_0x1e30fd,_0x1e30fd+_0x2c48bd-0x1,this[_0x1a5c61(0x16d)]());return _0x37ffa3?this[_0x1a5c61(0x149)](_0x51ce0d,_0x37ffa3[_0x1a5c61(0x1f4)]):!0x1;}[_0x36f66f(0x20a)](_0x198d64){const _0x3769cf=_0x36f66f;return this[_0x3769cf(0x1a3)](_0x198d64,0x1);}[_0x36f66f(0x1a3)](_0x2cc839,_0x2096fb=0x1){const _0x2bca5e=_0x36f66f;let _0x3ac33a=this['_getDocumentData'](),_0x26bf77=(0x0,_0x25c7cd[_0x2bca5e(0x14e)])(_0x3ac33a,this[_0x2bca5e(0x1ec)],_0x2cc839,_0x2cc839+_0x2096fb-0x1,this[_0x2bca5e(0x16d)]());return _0x26bf77?this[_0x2bca5e(0x149)](_0x3ac33a,_0x26bf77[_0x2bca5e(0x1f4)]):!0x1;}['deleteTable'](){const _0x85b93=_0x36f66f;let _0x42f78d=this[_0x85b93(0x161)](),_0x3d8637=(0x0,_0x25c7cd[_0x85b93(0x1ea)])(_0x42f78d,this[_0x85b93(0x1ec)],this[_0x85b93(0x16d)]());return _0x3d8637?this['_mutateActions'](_0x42f78d,_0x3d8637['actions']):!0x1;}[_0x36f66f(0x18a)](_0x1fe174,_0x512ca0){const _0x3a035b=_0x36f66f;let _0xd7f246=this[_0x3a035b(0x161)]();return this[_0x3a035b(0x149)](_0xd7f246,(0x0,_0x25c7cd[_0x3a035b(0x1d3)])(_0xd7f246,this['_tableId'],_0x1fe174,_0x512ca0));}[_0x36f66f(0x19f)](_0x30c571){const _0x17f337=_0x36f66f;let _0x81e935=this[_0x17f337(0x161)]();return this[_0x17f337(0x149)](_0x81e935,(0x0,_0x25c7cd['buildMoveTableToOffsetMutationActions'])(_0x81e935,this[_0x17f337(0x1ec)],_0x30c571,this[_0x17f337(0x16d)]()));}[_0x36f66f(0x17e)](_0x3b7646,_0x524fc8,_0xa0e337=_0x25c7cd[_0x36f66f(0x1ab)]['Above']){const _0x236769=_0x36f66f;return this[_0x236769(0x1b9)](_0x3b7646,0x1,_0x524fc8,_0xa0e337);}[_0x36f66f(0x1b9)](_0x530e9c,_0x121c8e,_0x14f613,_0x5c6d59=_0x25c7cd['DocsTableInsertPosition'][_0x36f66f(0x191)]){const _0x45fcb3=_0x36f66f;let _0x3ea5db=this['_getDocumentData'](),_0x3e7989=(0x0,_0x25c7cd[_0x45fcb3(0x212)])(_0x3ea5db,this['_tableId'],_0x530e9c,_0x14f613,_0x121c8e,_0x5c6d59,this[_0x45fcb3(0x16d)]());return _0x3e7989?this[_0x45fcb3(0x149)](_0x3ea5db,_0x3e7989[_0x45fcb3(0x1f4)]):!0x1;}[_0x36f66f(0x175)](_0x545a3d,_0x20f717,_0x1426ab=_0x25c7cd['DocsTableInsertPosition'][_0x36f66f(0x1e8)]){const _0x27bdfc=_0x36f66f;return this[_0x27bdfc(0x1f9)](_0x545a3d,0x1,_0x20f717,_0x1426ab);}[_0x36f66f(0x1f9)](_0x5e945a,_0xbdde4c,_0x56abe7,_0xe8ebbe=_0x25c7cd[_0x36f66f(0x1ab)][_0x36f66f(0x1e8)]){const _0x3a751e=_0x36f66f;let _0x43b6c3=this[_0x3a751e(0x161)](),_0xd4916d=(0x0,_0x25c7cd['buildMoveTableColumnsMutationActions'])(_0x43b6c3,this[_0x3a751e(0x1ec)],_0x5e945a,_0x56abe7,_0xbdde4c,_0xe8ebbe,this['_getBodyPath']());return _0xd4916d?this['_mutateActions'](_0x43b6c3,_0xd4916d[_0x3a751e(0x1f4)]):!0x1;}[_0x36f66f(0x1a9)](_0x31cde5){const _0x410948=_0x36f66f;try{let _0x40ac8e=this[_0x410948(0x161)](),_0x61df89=(0x0,_0x25c7cd[_0x410948(0x209)])({'documentData':_0x40ac8e,'tableId':this['_tableId'],..._0x31cde5});return _0x61df89?this[_0x410948(0x149)](_0x40ac8e,_0x61df89[_0x410948(0x1f4)],_0x31cde5):!0x1;}catch{return!0x1;}}[_0x36f66f(0x156)](_0x52ad54){const _0x5247a1=_0x36f66f;try{let _0x3853c8=this[_0x5247a1(0x161)](),_0xa5d322=(0x0,_0x25c7cd['buildUnmergeCellsMutationActions'])({'documentData':_0x3853c8,'tableId':this[_0x5247a1(0x1ec)],..._0x52ad54});return _0xa5d322?this[_0x5247a1(0x149)](_0x3853c8,_0xa5d322['actions'],_0x52ad54):!0x1;}catch{return!0x1;}}[_0x36f66f(0x20e)](_0x57288d,_0x411270,_0x2e6418){const _0x586ab6=_0x36f66f;let _0x188cfb=this[_0x586ab6(0x161)](),_0x5332d1=(0x0,_0x25c7cd[_0x586ab6(0x1df)])(this[_0x586ab6(0x20c)][_0x586ab6(0x1e9)]()[_0x586ab6(0x20d)](),this['_segmentId']);return this['_mutateActions'](_0x188cfb,(0x0,_0x25c7cd[_0x586ab6(0x1e1)])({'documentData':_0x188cfb,'tableId':this[_0x586ab6(0x1ec)],'row':_0x57288d,'column':_0x411270,'text':_0x2e6418},_0x5332d1),this[_0x586ab6(0x147)](_0x57288d,_0x411270));}['setCellBackground'](_0x272279,_0x1e82ea){const _0x1eb29f=_0x36f66f;let _0x42beb0=this[_0x1eb29f(0x161)]();return this[_0x1eb29f(0x149)](_0x42beb0,(0x0,_0x25c7cd['buildSetTableBackgroundMutationActions'])(_0x42beb0,{'tableId':this[_0x1eb29f(0x1ec)],..._0x272279,'value':_0x1e82ea}),_0x272279);}[_0x36f66f(0x15e)](_0x45af48,_0x5e7e9f){const _0x9a410e=_0x36f66f;let _0x12d962=this[_0x9a410e(0x161)]();return this[_0x9a410e(0x149)](_0x12d962,(0x0,_0x25c7cd['buildSetTableCellMarginMutationActions'])({'documentData':_0x12d962,'tableId':this[_0x9a410e(0x1ec)],..._0x45af48,'margin':_0x5e7e9f}),_0x45af48);}[_0x36f66f(0x1a5)](_0x40c94f){const _0x17d774=_0x36f66f;let _0x4fa6fe=this[_0x17d774(0x161)]();return this[_0x17d774(0x149)](_0x4fa6fe,(0x0,_0x25c7cd['buildSetTableDefaultCellMarginMutationActions'])(_0x4fa6fe,this[_0x17d774(0x1ec)],_0x40c94f));}[_0x36f66f(0x148)](_0x1d024b,_0x46f199){const _0x4ce2d9=_0x36f66f;var _0x58af70,_0x110c41,_0x316b10,_0x240be1;let _0x2230f2=this[_0x4ce2d9(0x161)]();return this[_0x4ce2d9(0x149)](_0x2230f2,(0x0,_0x25c7cd[_0x4ce2d9(0x200)])({'documentData':_0x2230f2,'tableId':this['_tableId'],..._0x1d024b,'preset':(_0x58af70=_0x46f199[_0x4ce2d9(0x20b)])==null?_0x25c7cd[_0x4ce2d9(0x1fa)]['All']:_0x58af70,'border':(_0x110c41=_0x46f199[_0x4ce2d9(0x1bf)])==null?{'color':{'rgb':(_0x316b10=_0x46f199[_0x4ce2d9(0x140)])==null?_0x4ce2d9(0x1be):_0x316b10},'width':{'v':(_0x240be1=_0x46f199[_0x4ce2d9(0x1a1)])==null?0x1:_0x240be1},'dashStyle':_0x45a3c4[_0x4ce2d9(0x16f)][_0x4ce2d9(0x1a2)]}:_0x110c41}),_0x1d024b);}[_0x36f66f(0x1b3)](_0x4f37bf){const _0x20248f=_0x36f66f;return this[_0x20248f(0x1ff)](this[_0x20248f(0x1ba)](),_0x4f37bf);}[_0x36f66f(0x1eb)](_0x4d0c28){return this['setBorder'](this['getTableRange'](),_0x4d0c28);}[_0x36f66f(0x1ce)](_0x3072b0){const _0x4c1a7e=_0x36f66f;let _0x56a777=!_0x3072b0[_0x4c1a7e(0x183)]||this[_0x4c1a7e(0x1b3)](_0x3072b0[_0x4c1a7e(0x183)]),_0x80ac4=!_0x3072b0[_0x4c1a7e(0x1bf)]||this[_0x4c1a7e(0x1eb)](_0x3072b0[_0x4c1a7e(0x1bf)]);return _0x56a777&&_0x80ac4;}['setRowHeight'](_0x136864,_0x542c4c,_0x366af5=_0x45a3c4['TableRowHeightRule'][_0x36f66f(0x14d)]){const _0x11a956=_0x36f66f;var _0x48e0c0;let _0x9b9967=this['_getDocumentData']();return(_0x48e0c0=_0x9b9967[_0x11a956(0x1d2)])!=null&&(_0x48e0c0=_0x48e0c0[this[_0x11a956(0x1ec)]])!=null&&_0x48e0c0[_0x11a956(0x204)][_0x136864]?this[_0x11a956(0x149)](_0x9b9967,(0x0,_0x25c7cd[_0x11a956(0x198)])(_0x9b9967,this['_tableId'],_0x136864,_0x542c4c,_0x366af5)):!0x1;}[_0x36f66f(0x19d)](_0x228108){const _0x297497=_0x36f66f;var _0x2ec5ad;let _0x396655=(_0x2ec5ad=this[_0x297497(0x15f)]())==null||(_0x2ec5ad=_0x2ec5ad[_0x297497(0x204)][_0x228108])==null?void 0x0:_0x2ec5ad[_0x297497(0x1c5)];return _0x396655?_0x45a3c4[_0x297497(0x16a)][_0x297497(0x17c)](_0x396655):null;}['setColumnWidth'](_0xe82b18,_0x1079d6){const _0x59adce=_0x36f66f;var _0x3d188d;let _0x4a43fd=this[_0x59adce(0x161)]();return(_0x3d188d=_0x4a43fd[_0x59adce(0x1d2)])!=null&&(_0x3d188d=_0x3d188d[this[_0x59adce(0x1ec)]])!=null&&_0x3d188d[_0x59adce(0x14c)][_0xe82b18]?this[_0x59adce(0x149)](_0x4a43fd,(0x0,_0x25c7cd[_0x59adce(0x195)])(_0x4a43fd,this['_tableId'],_0xe82b18,_0x1079d6)):!0x1;}[_0x36f66f(0x1b0)](_0x43c360=0x0,_0x234d2f=this[_0x36f66f(0x197)]()){const _0x471976=_0x36f66f;let _0x2b8a06=this[_0x471976(0x161)]();return this[_0x471976(0x149)](_0x2b8a06,(0x0,_0x25c7cd['buildDistributeTableRowsMutationActions'])(_0x2b8a06,this[_0x471976(0x1ec)],_0x43c360,_0x43c360+_0x234d2f-0x1));}[_0x36f66f(0x1b1)](_0x1b2d97=0x0,_0x572646=this[_0x36f66f(0x1e6)]()){const _0x57f03f=_0x36f66f;let _0x49a8f6=this[_0x57f03f(0x161)]();return this[_0x57f03f(0x149)](_0x49a8f6,(0x0,_0x25c7cd['buildDistributeTableColumnsMutationActions'])(_0x49a8f6,this[_0x57f03f(0x1ec)],_0x1b2d97,_0x1b2d97+_0x572646-0x1));}[_0x36f66f(0x154)](){const _0x1b0d59=_0x36f66f;var _0x2fa618,_0x1bd452;return(_0x2fa618=(_0x1bd452=this[_0x1b0d59(0x179)]())==null?void 0x0:_0x1bd452[_0x1b0d59(0x1a4)])==null?0x0:_0x2fa618;}['setHeaderRowCount'](_0x5b8400){const _0xe8c57f=_0x36f66f;let _0x5248b9=this['_injector'][_0xe8c57f(0x18f)](_0x25c7cd[_0xe8c57f(0x160)]),_0x5eacb5=this[_0xe8c57f(0x161)](),_0x5046ff=(0x0,_0x25c7cd[_0xe8c57f(0x1bb)])(_0x5eacb5,this['_tableId'],_0x5b8400);if(!_0x5046ff)return!0x1;let _0x264bf0=this[_0xe8c57f(0x149)](_0x5eacb5,_0x5046ff[_0xe8c57f(0x1f4)]);return _0x264bf0&&_0x5248b9[_0xe8c57f(0x14a)](this[_0xe8c57f(0x190)],this[_0xe8c57f(0x1ec)],_0x5046ff[_0xe8c57f(0x1a4)]),_0x264bf0;}[_0x36f66f(0x1c6)](_0x388ef0){const _0x57f84a=_0x36f66f;return this[_0x57f84a(0x14a)](_0x388ef0);}[_0x36f66f(0x14b)](){const _0x1084dd=_0x36f66f;var _0x1e6c32,_0x1c12b5;return(_0x1e6c32=(_0x1c12b5=this['getMetadata']())==null?void 0x0:_0x1c12b5[_0x1084dd(0x19a)])!=null&&_0x1e6c32;}['insertTitleRow'](){const _0x3a079f=_0x36f66f;let _0x1e1d47=this[_0x3a079f(0x1cc)][_0x3a079f(0x18f)](_0x25c7cd[_0x3a079f(0x160)]),_0x39e97e=this['_getDocumentData'](),_0x492f06=(0x0,_0x25c7cd[_0x3a079f(0x201)])(_0x39e97e,this[_0x3a079f(0x1ec)],this[_0x3a079f(0x16d)]());if(!_0x492f06)return!0x1;let _0x1937e6=this[_0x3a079f(0x149)](_0x39e97e,_0x492f06['actions']);return _0x1937e6&&_0x1e1d47[_0x3a079f(0x158)](this[_0x3a079f(0x190)],this[_0x3a079f(0x1ec)],!0x0),_0x1937e6;}[_0x36f66f(0x1d6)](_0xfafa14,_0x3f3486){const _0x367a46=_0x36f66f;return this['_injector'][_0x367a46(0x18f)](_0x25c7cd[_0x367a46(0x160)])[_0x367a46(0x1d6)](this['_unitId'],this[_0x367a46(0x1ec)],_0xfafa14,_0x3f3486),!0x0;}[_0x36f66f(0x142)](_0x4fe26e,_0x370d21){const _0x4776cb=_0x36f66f;let _0x18a5a0=this[_0x4776cb(0x161)]();return this[_0x4776cb(0x149)](_0x18a5a0,(0x0,_0x25c7cd['buildSortTableMutationActions'])(_0x18a5a0,this[_0x4776cb(0x19e)](),this[_0x4776cb(0x1ec)],_0x4fe26e,_0x370d21,this[_0x4776cb(0x16d)]()));}[_0x36f66f(0x161)](){const _0x211cc7=_0x36f66f;let _0x544349=this[_0x211cc7(0x20c)]['getDocumentDataModel']()[_0x211cc7(0x20d)]();return this['_segmentId']?{...this['_document'][_0x211cc7(0x1e9)](this['_segmentId'])[_0x211cc7(0x20d)](),'documentStyle':_0x544349[_0x211cc7(0x1d9)],'tableSource':_0x544349[_0x211cc7(0x1d2)]}:_0x544349;}[_0x36f66f(0x19e)](){const _0x4fa0aa=_0x36f66f;return this[_0x4fa0aa(0x1cc)]['get'](_0x25c7cd[_0x4fa0aa(0x160)])[_0x4fa0aa(0x1d5)](this[_0x4fa0aa(0x190)]);}[_0x36f66f(0x16d)](){const _0x30c2be=_0x36f66f;return(0x0,_0x25c7cd['getTableActionBodyPath'])(this[_0x30c2be(0x20c)][_0x30c2be(0x1e9)]()[_0x30c2be(0x20d)](),this[_0x30c2be(0x17f)]);}[_0x36f66f(0x149)](_0x5c6306,_0x23b806,_0x2cc9bc){const _0x1a2164=_0x36f66f;return(0x0,_0x25c7cd['executeRichTextTableActions'])(this[_0x1a2164(0x1cc)][_0x1a2164(0x18f)](_0x45a3c4['ICommandService']),this[_0x1a2164(0x190)],_0x5c6306,_0x23b806,_0x2cc9bc?{'tableId':this['_tableId'],'segmentId':this['_segmentId'],..._0x2cc9bc}:void 0x0);}},_0x58d304=class extends _0xab3855['FDocument']{['getTables'](_0x416e2e=''){const _0xddfce1=_0x36f66f;return this[_0xddfce1(0x17b)](_0x416e2e)[_0xddfce1(0x20f)](_0x368ac9=>this[_0xddfce1(0x1ef)](_0x368ac9[_0xddfce1(0x189)],_0x416e2e));}[_0x36f66f(0x159)](_0x189b2f,_0x48329e=''){const _0x51bee5=_0x36f66f;return this[_0x51bee5(0x17b)](_0x48329e)[_0x51bee5(0x1f0)](_0x1fa8ce=>_0x1fa8ce[_0x51bee5(0x189)]===_0x189b2f)?this['_createFDocumentTable'](_0x189b2f,_0x48329e):null;}[_0x36f66f(0x1a6)](_0x3a8749,_0xedd5f5=''){const _0x22dd98=_0x36f66f;var _0x5d646a;let _0x25a08b=(_0x5d646a=this[_0x22dd98(0x17b)](_0xedd5f5)[_0x3a8749])==null?void 0x0:_0x5d646a['tableId'];return _0x25a08b?this[_0x22dd98(0x1ef)](_0x25a08b,_0xedd5f5):null;}[_0x36f66f(0x172)](){const _0x4d5ced=_0x36f66f;let _0x37ad47=this[_0x4d5ced(0x1cc)]['get'](_0x25c7cd['DocsTableSelectionService'])[_0x4d5ced(0x1e5)]();return _0x37ad47!=null&&_0x37ad47['tableId']?this[_0x4d5ced(0x1ef)](_0x37ad47[_0x4d5ced(0x189)],_0x37ad47[_0x4d5ced(0x180)]):null;}[_0x36f66f(0x1c4)](_0x79f4af,_0xa7d227=''){const _0x1da220=_0x36f66f;var _0x30ce1d;return(_0x30ce1d=this[_0x1da220(0x145)](_0x79f4af,_0xa7d227)[0x0])==null?null:_0x30ce1d;}[_0x36f66f(0x145)](_0x3d0ffd,_0x31b425=''){const _0xa02116=_0x36f66f;let _0x138383=this['_getTableDocumentData'](_0x31b425),_0x261c2b=typeof _0x3d0ffd==_0xa02116(0x186)?{'text':_0x3d0ffd}:_0x3d0ffd;return this[_0xa02116(0x193)](_0x31b425)[_0xa02116(0x202)](_0x4ebe8a=>{const _0x3bb2fb=_0xa02116;let _0x4e437a=_0x4ebe8a[_0x3bb2fb(0x167)]();return!(_0x261c2b[_0x3bb2fb(0x189)]&&_0x4e437a!==_0x261c2b[_0x3bb2fb(0x189)]||_0x261c2b['text']&&!this['_tableContainsText'](_0x138383,_0x4e437a,_0x261c2b[_0x3bb2fb(0x163)])||_0x261c2b[_0x3bb2fb(0x143)]&&!this[_0x3bb2fb(0x1da)](_0x4ebe8a,0x0,_0x261c2b[_0x3bb2fb(0x143)])||_0x261c2b[_0x3bb2fb(0x1af)]&&!this[_0x3bb2fb(0x1da)](_0x4ebe8a,0x0,_0x261c2b['titleText']));});}[_0x36f66f(0x207)](_0x49b8f8,_0x31115f,_0x2a70e7={}){const _0x28a663=_0x36f66f;var _0x52bf6a,_0x150a87;let _0x391e35=this[_0x28a663(0x1cc)][_0x28a663(0x18f)](_0x45a3c4[_0x28a663(0x155)]),_0x2abeff=(_0x52bf6a=_0x2a70e7['tableId'])==null?(0x0,_0x45a3c4['generateRandomId'])(0x6):_0x52bf6a;return _0x391e35['syncExecuteCommand'](_0x25c7cd[_0x28a663(0x13f)]['id'],{..._0x2a70e7,'unitId':this[_0x28a663(0x167)](),'rows':_0x49b8f8,'columns':_0x31115f,'tableId':_0x2abeff})?this[_0x28a663(0x1ef)](_0x2abeff,(_0x150a87=_0x2a70e7['segmentId'])==null?'':_0x150a87):null;}[_0x36f66f(0x153)](_0x3d3078,_0x4bb550={}){const _0x3e2b3d=_0x36f66f;var _0x1572ac,_0x2b1e50;let _0x2f6971=this[_0x3e2b3d(0x1cc)][_0x3e2b3d(0x18f)](_0x45a3c4[_0x3e2b3d(0x155)]),_0x427b5e=(_0x1572ac=_0x4bb550[_0x3e2b3d(0x189)])==null?(0x0,_0x45a3c4[_0x3e2b3d(0x18e)])(0x6):_0x1572ac;return _0x2f6971[_0x3e2b3d(0x1b4)](_0x25c7cd[_0x3e2b3d(0x13f)]['id'],{..._0x4bb550,'unitId':this[_0x3e2b3d(0x167)](),'values':_0x3d3078,'tableId':_0x427b5e})?this[_0x3e2b3d(0x1ef)](_0x427b5e,(_0x2b1e50=_0x4bb550[_0x3e2b3d(0x180)])==null?'':_0x2b1e50):null;}[_0x36f66f(0x17b)](_0x1593f5=''){let {tables:_0x7085f0=[]}=this['getBody'](_0x1593f5);return _0x7085f0;}[_0x36f66f(0x205)](_0x43432d=''){const _0x122afa=_0x36f66f;let _0x2ea69b=this[_0x122afa(0x1e9)]()[_0x122afa(0x20d)]();return _0x43432d?{...this[_0x122afa(0x1e9)](_0x43432d)[_0x122afa(0x20d)](),'documentStyle':_0x2ea69b[_0x122afa(0x1d9)],'tableSource':_0x2ea69b[_0x122afa(0x1d2)]}:_0x2ea69b;}[_0x36f66f(0x1ef)](_0x12ee46,_0x4c2f68=''){const _0x77e916=_0x36f66f;return this['_injector']['createInstance'](_0x1bf518,this,_0x12ee46,_0x4c2f68,this[_0x77e916(0x1cc)]);}[_0x36f66f(0x1e2)](_0x1865ba,_0x5d0a06,_0x730588){const _0x153985=_0x36f66f;var _0x28f301;let _0x518194=(0x0,_0x25c7cd['getTableRangeById'])(_0x1865ba,_0x5d0a06);if(!_0x518194)return!0x1;let _0x94d86b=(_0x28f301=_0x1865ba[_0x153985(0x17d)])==null?void 0x0:_0x28f301[_0x153985(0x1f8)];return _0x94d86b?_0x94d86b[_0x153985(0x1ed)](_0x518194[_0x153985(0x1e4)],_0x518194[_0x153985(0x1ee)])[_0x153985(0x18c)](_0x730588):!0x1;}['_rowContainsText'](_0x12ffc8,_0x2ba671,_0x4da61f){const _0xa5b0ce=_0x36f66f;return Array[_0xa5b0ce(0x1a7)]({'length':_0x12ffc8[_0xa5b0ce(0x1e6)]()},(_0x32e522,_0x544d22)=>_0x12ffc8[_0xa5b0ce(0x1d0)](_0x2ba671,_0x544d22))['some'](_0x370e5d=>_0x370e5d[_0xa5b0ce(0x18c)](_0x4da61f));}};_0xab3855[_0x36f66f(0x1e0)]['extend'](_0x58d304),_0x56e2c7[_0x36f66f(0x1de)]=_0x1bf518,_0x56e2c7[_0x36f66f(0x1ac)]=_0x2a6666;}));