@univerjs-pro/docs-table 1.0.0-alpha.4 → 1.0.0-alpha.5

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 _0x4eb6(_0x5db617,_0x402b11){_0x5db617=_0x5db617-0x7d;const _0x525cf5=_0x525c();let _0x4eb621=_0x525cf5[_0x5db617];return _0x4eb621;}function _0x525c(){const _0xcc77cd=['replace','_unitId','DocsTableBorderPreset','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','6LTcWRH','selectCell','includes','headerText','findTableByText','getCellRange','constructor','getTableAt','UniverCore','4186570fdFVck','getBody','width','_tableId','from','insertColumnsAfter','setCellBackground','getCellInsertOffset','buildSetTableCellTextMutationActions','deleteColumn','@univerjs/core/facade','DocsTableInsertTableCommand','selectRange','_document','DashStyleType','setColumnType','setColumnWidth','Cell','titleText','FDocumentTableCell','_tableContainsText','setBackgroundColor','getTables','moveColumns','unmergeCells','buildResizeTableColumnActionsFromWidth','_createFDocumentTable','filter','getInsertOffset','setHeaderRowCount','buildMoveFloatingTableMutationActions','findTables','getSegmentId','columnTypes','_table','3948910dkBUrp','getColumnsRange','getRowsRange','_row','_getBodyPath','cells','buildInsertTableColumnsMutationActions','setBorder','symbol','SOLID','length','unmerge','startOffset','_rowContainsText','setTableBackground','getMetadata','_segmentId','tableColumns','setDefaultCellMargin','selectColumns','documentStyle','DocsTableModel','4158522EOzsRg','AT_LEAST','setStructuralSelection','getRowCount','moveTableBy','getStableTableSelection','buildDeleteTableRowsMutationActions','tableId','Module','selectRow','deepClone','string','getMargin','setCellText','9194EbnDzG','getDocumentDataModel','buildMoveTableRowsMutationActions','buildMoveTableColumnsMutationActions','generateRandomId','ICommandService','setCellMargin','insertColumnsBefore','_column','_injector','_mutateActions','Above','getRowRange','getTable','buildSetTableBackgroundMutationActions','@univerjs-pro/docs-table','setText','buildUnmergeCellsMutationActions','distributeRows','border','UniverProDocsTable','slice','getTableAtSelection','buildSetTableHeaderRowCountMutationActions','margin','iterator','color','UniverDocsFacade','pinHeaderRows','createInstance','getCellContentRange','actions','default','cellMargin','dataStream','segmentId','getInfo','All','DocsTableColumnInsertPosition','buildMergeCellsMutationActions','exports','@univerjs/docs/facade','mergeCells','tableSource','getCell','deleteTable','insertRowsBefore','getDefaultCellMargin','appendRow','getTableActionBodyPath','deleteRow','187WRYipy','headerRowCount','selectColumn','getRowHeight','DocsTableColumnType','setMargin','body','tableRows','buildSetTableCellMarginMutationActions','clearMarginOverride','DocsTableSelectionKind','getHeaderRowCount','insertRowsAfter','buildDeleteTableMutationActions','getCellMargin','selectRows','DocsTableSortDirection','_serializeModel','DocsTableInsertTablePosition','sortByColumn','Row','280VCeqZu','getMarginOverride','DocsTableInsertPosition','FDocument','moveRow','titleRow','deleteColumns','buildResizeTableRowActionsFromHeight','trHeight','getColumnIndex','executeRichTextTableActions','endOffset','TableRowHeightRule','text','buildMoveTableToOffsetMutationActions','selectTable','_getDocumentData','getTableRangeById','buildInsertTableRowsMutationActions','max','buildDistributeTableColumnsMutationActions','getText','getTableRange','some','getColumnRange','getSnapshot','Left','getSource','Tools','describe','type','get','insertColumnAfter','rows','getContentRange','function','getCellMarginOverride','insertColumnBefore','_getTableDocumentData','getId','tableCells','478264qdoODX','setTableBorder','DEFAULT_DOCS_TABLE_CELL_MARGIN','buildDistributeTableRowsMutationActions','extend','FEnum','setTableStyle','syncExecuteCommand','FDocumentTable','getDefaultCellMarginOverride','16639065CyUYSD','size','moveRows','Right','distributeColumns','DocsTableSelectionService','defineProperty','backgroundColor','getCellText','preset','Range','_getTables','object','insertTable','toStringTag','getColumnCount','176584PjELTX','buildDeleteTableColumnsMutationActions','insertTitleRow'];_0x525c=function(){return _0xcc77cd;};return _0x525c();}(function(_0x4e40b1,_0x204878){const _0x4dd953=_0x4eb6,_0x44b735=_0x4e40b1();while(!![]){try{const _0x129b2f=parseInt(_0x4dd953(0x144))/0x1*(-parseInt(_0x4dd953(0x111))/0x2)+parseInt(_0x4dd953(0xc1))/0x3*(-parseInt(_0x4dd953(0xa0))/0x4)+parseInt(_0x4dd953(0xed))/0x5+parseInt(_0x4dd953(0x103))/0x6+parseInt(_0x4dd953(0x159))/0x7*(-parseInt(_0x4dd953(0xba))/0x8)+parseInt(_0x4dd953(0xaa))/0x9+-parseInt(_0x4dd953(0xca))/0xa;if(_0x129b2f===_0x204878)break;else _0x44b735['push'](_0x44b735['shift']());}catch(_0x172137){_0x44b735['push'](_0x44b735['shift']());}}}(_0x525c,0xe35ea),function(_0xadb2f3,_0x2b08ae){const _0x511d18=_0x4eb6;typeof exports==_0x511d18(0xb6)&&typeof module<'u'?_0x2b08ae(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x511d18(0x9a)&&define['amd']?define([_0x511d18(0x139),_0x511d18(0x120),'@univerjs/core',_0x511d18(0xd4),_0x511d18(0x13a)],_0x2b08ae):(_0xadb2f3=typeof globalThis<'u'?globalThis:_0xadb2f3||self,_0x2b08ae(_0xadb2f3['UniverProDocsTableFacade']={},_0xadb2f3[_0x511d18(0x125)],_0xadb2f3[_0x511d18(0xc9)],_0xadb2f3['UniverCoreFacade'],_0xadb2f3[_0x511d18(0x12c)]));}(this,function(_0x1d1e12,_0x3bace7,_0x42c1ff,_0x30bf38,_0x18775f){const _0x1f5fb2=_0x4eb6;Object[_0x1f5fb2(0xb0)](_0x1d1e12,Symbol[_0x1f5fb2(0xb8)],{'value':_0x1f5fb2(0x10b)});var _0x77e7d0=class extends _0x30bf38[_0x1f5fb2(0xa5)]{get[_0x1f5fb2(0x156)](){const _0x428ec8=_0x1f5fb2;return _0x3bace7[_0x428ec8(0x156)];}get[_0x1f5fb2(0x148)](){const _0x2e6448=_0x1f5fb2;return _0x3bace7[_0x2e6448(0x148)];}get['DocsTableSelectionKind'](){return _0x3bace7['DocsTableSelectionKind'];}get['DocsTableRowInsertPosition'](){return _0x3bace7['DocsTableRowInsertPosition'];}get[_0x1f5fb2(0x137)](){const _0x4e24c1=_0x1f5fb2;return _0x3bace7[_0x4e24c1(0x137)];}get[_0x1f5fb2(0xbf)](){const _0x2a2bfd=_0x1f5fb2;return _0x3bace7[_0x2a2bfd(0xbf)];}get[_0x1f5fb2(0x154)](){const _0x1aae9e=_0x1f5fb2;return _0x3bace7[_0x1aae9e(0x154)];}get['DashStyleType'](){const _0x582ead=_0x1f5fb2;return _0x42c1ff[_0x582ead(0xd8)];}};_0x30bf38[_0x1f5fb2(0xa5)]['extend'](_0x77e7d0);var _0x29cc3a=class{constructor(_0x308b25,_0x29d921,_0x599487){const _0x33f3c4=_0x1f5fb2;this[_0x33f3c4(0xec)]=_0x308b25,this[_0x33f3c4(0xf0)]=_0x29d921,this['_column']=_0x599487;}[_0x1f5fb2(0x11e)](){const _0x121439=_0x1f5fb2;return this[_0x121439(0xec)];}['getRowIndex'](){const _0x399451=_0x1f5fb2;return this[_0x399451(0xf0)];}[_0x1f5fb2(0x80)](){const _0x15218f=_0x1f5fb2;return this[_0x15218f(0x119)];}[_0x1f5fb2(0x8c)](){const _0x2bc9ae=_0x1f5fb2;return this['_table'][_0x2bc9ae(0xb2)](this[_0x2bc9ae(0xf0)],this[_0x2bc9ae(0x119)]);}[_0x1f5fb2(0x99)](){const _0x2b642d=_0x1f5fb2;return this['_table'][_0x2b642d(0x12f)](this[_0x2b642d(0xf0)],this['_column']);}[_0x1f5fb2(0xe6)](){const _0x4e4064=_0x1f5fb2;return this['_table']['getCellInsertOffset'](this['_row'],this[_0x4e4064(0x119)]);}[_0x1f5fb2(0x10f)](){const _0xf67224=_0x1f5fb2;return this['_table'][_0xf67224(0x152)](this['_row'],this['_column']);}[_0x1f5fb2(0x15a)](){const _0x4392bf=_0x1f5fb2;return this[_0x4392bf(0xec)]['getCellMarginOverride'](this[_0x4392bf(0xf0)],this['_column']);}[_0x1f5fb2(0x149)](_0x165294){const _0x430933=_0x1f5fb2;return this[_0x430933(0xec)][_0x430933(0x117)](this[_0x430933(0xec)][_0x430933(0xc6)](this[_0x430933(0xf0)],this[_0x430933(0x119)]),_0x165294);}[_0x1f5fb2(0x14d)](){const _0x3df40f=_0x1f5fb2;return this[_0x3df40f(0xec)][_0x3df40f(0x117)](this['_table'][_0x3df40f(0xc6)](this['_row'],this[_0x3df40f(0x119)]),null);}[_0x1f5fb2(0x121)](_0x542aeb){const _0xb5c845=_0x1f5fb2;return this[_0xb5c845(0xec)][_0xb5c845(0x110)](this[_0xb5c845(0xf0)],this[_0xb5c845(0x119)],_0x542aeb);}[_0x1f5fb2(0xdf)](_0x649d50){const _0x2b1586=_0x1f5fb2;return this['_table'][_0x2b1586(0xd0)](this[_0x2b1586(0xec)][_0x2b1586(0xc6)](this[_0x2b1586(0xf0)],this[_0x2b1586(0x119)]),_0x649d50);}[_0x1f5fb2(0xf4)](_0x337e45){const _0xec7124=_0x1f5fb2;return this[_0xec7124(0xec)]['setBorder'](this[_0xec7124(0xec)][_0xec7124(0xc6)](this[_0xec7124(0xf0)],this[_0xec7124(0x119)]),_0x337e45);}['mergeTo'](_0x337164,_0x5e41ef){const _0x5980c4=_0x1f5fb2;return this[_0x5980c4(0xec)]['mergeCells']({'startRow':this[_0x5980c4(0xf0)],'startColumn':this[_0x5980c4(0x119)],'endRow':this[_0x5980c4(0xf0)]+_0x337164-0x1,'endColumn':this[_0x5980c4(0x119)]+_0x5e41ef-0x1});}[_0x1f5fb2(0xf8)](){const _0x30d098=_0x1f5fb2;return this[_0x30d098(0xec)][_0x30d098(0xe2)](this[_0x30d098(0xec)][_0x30d098(0xc6)](this[_0x30d098(0xf0)],this['_column']));}};function _0x26098b(_0x43968d){'@babel/helpers - typeof';const _0x17f156=_0x1f5fb2;return _0x26098b=typeof Symbol==_0x17f156(0x9a)&&typeof Symbol[_0x17f156(0x12a)]==_0x17f156(0xf5)?function(_0x44a673){return typeof _0x44a673;}:function(_0x4e60a5){const _0x27c2fa=_0x17f156;return _0x4e60a5&&typeof Symbol==_0x27c2fa(0x9a)&&_0x4e60a5[_0x27c2fa(0xc7)]===Symbol&&_0x4e60a5!==Symbol['prototype']?_0x27c2fa(0xf5):typeof _0x4e60a5;},_0x26098b(_0x43968d);}function _0x48605c(_0x43e90a,_0x2255bd){const _0x4e4796=_0x1f5fb2;if(_0x26098b(_0x43e90a)!=_0x4e4796(0xb6)||!_0x43e90a)return _0x43e90a;var _0x95b742=_0x43e90a[Symbol['toPrimitive']];if(_0x95b742!==void 0x0){var _0x436550=_0x95b742['call'](_0x43e90a,_0x2255bd||_0x4e4796(0x131));if(_0x26098b(_0x436550)!='object')return _0x436550;throw TypeError(_0x4e4796(0xc0));}return(_0x2255bd===_0x4e4796(0x10e)?String:Number)(_0x43e90a);}function _0x3be9ed(_0x242bca){const _0x14ca05=_0x1f5fb2;var _0x592c27=_0x48605c(_0x242bca,_0x14ca05(0x10e));return _0x26098b(_0x592c27)=='symbol'?_0x592c27:_0x592c27+'';}function _0xd96fe4(_0xb3cc74,_0x428e3d,_0x5d8fea){return(_0x428e3d=_0x3be9ed(_0x428e3d))in _0xb3cc74?Object['defineProperty'](_0xb3cc74,_0x428e3d,{'value':_0x5d8fea,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb3cc74[_0x428e3d]=_0x5d8fea,_0xb3cc74;}var _0x1cdb12=class{constructor(_0x5903d9,_0x52b6cd,_0x5d0cd4='',_0xf7b12c){const _0x336848=_0x1f5fb2;this[_0x336848(0xd7)]=_0x5903d9,this[_0x336848(0xcd)]=_0x52b6cd,this[_0x336848(0xfd)]=_0x5d0cd4,this[_0x336848(0x11a)]=_0xf7b12c,_0xd96fe4(this,_0x336848(0xbe),void 0x0),this[_0x336848(0xbe)]=this['_document'][_0x336848(0x9e)]();}[_0x1f5fb2(0x9e)](){return this['_tableId'];}[_0x1f5fb2(0xea)](){return this['_segmentId'];}[_0x1f5fb2(0x135)](){const _0x1a294e=_0x1f5fb2;return{'id':this[_0x1a294e(0xcd)],'rowCount':this[_0x1a294e(0x106)](),'columnCount':this[_0x1a294e(0xb9)](),'metadata':this[_0x1a294e(0xfc)](),'source':this[_0x1a294e(0x92)]()};}[_0x1f5fb2(0x94)](){const _0x2104ee=_0x1f5fb2;var _0x4eb761,_0x437901;let _0x36a1e7=this[_0x2104ee(0xfc)](),_0x438aa8=this[_0x2104ee(0x92)](),_0x1826eb=this[_0x2104ee(0xb9)]();return{'id':this['_tableId'],'rowCount':this[_0x2104ee(0x106)](),'columnCount':_0x1826eb,'headerRowCount':(_0x4eb761=_0x36a1e7==null?void 0x0:_0x36a1e7['headerRowCount'])==null?0x0:_0x4eb761,'titleRow':(_0x437901=_0x36a1e7==null?void 0x0:_0x36a1e7[_0x2104ee(0x15e)])==null?!0x1:_0x437901,'columns':Array[_0x2104ee(0xce)]({'length':_0x1826eb},(_0x110764,_0x1686cf)=>{const _0x31dc3d=_0x2104ee;var _0x1406c0,_0x1fffbb;return{'index':_0x1686cf,'type':_0x36a1e7==null||(_0x1406c0=_0x36a1e7[_0x31dc3d(0xeb)])==null||(_0x1406c0=_0x1406c0[_0x1686cf])==null?void 0x0:_0x1406c0[_0x31dc3d(0x95)],'width':_0x438aa8==null||(_0x1fffbb=_0x438aa8[_0x31dc3d(0xfe)][_0x1686cf])==null?void 0x0:_0x1fffbb[_0x31dc3d(0xab)][_0x31dc3d(0xcc)]['v']};}),'sampleRows':Array['from']({'length':this[_0x2104ee(0x106)]()},(_0x28533f,_0x2a3a88)=>Array[_0x2104ee(0xce)]({'length':_0x1826eb},(_0x2a66a7,_0x122c02)=>this['getCellText'](_0x2a3a88,_0x122c02)))[_0x2104ee(0xe5)](_0x1951f2=>_0x1951f2[_0x2104ee(0x8e)](_0x3b5c02=>_0x3b5c02[_0x2104ee(0xf7)]>0x0))[_0x2104ee(0x126)](0x0,0x5)};}['getRowCount'](){const _0x43eae5=_0x1f5fb2;var _0x439695,_0x485629;return(_0x439695=(_0x485629=this[_0x43eae5(0x92)]())==null?void 0x0:_0x485629[_0x43eae5(0x14b)][_0x43eae5(0xf7)])==null?0x0:_0x439695;}[_0x1f5fb2(0xb9)](){const _0x408fe0=_0x1f5fb2;var _0x3ae756,_0x4e9371;return(_0x3ae756=(_0x4e9371=this[_0x408fe0(0x92)]())==null?void 0x0:_0x4e9371[_0x408fe0(0xfe)][_0x408fe0(0xf7)])==null?0x0:_0x3ae756;}[_0x1f5fb2(0x13d)](_0xa6857a,_0x5e44d2){const _0x1f4bda=_0x1f5fb2;var _0x2aba10;return!((_0x2aba10=this[_0x1f4bda(0x92)]())==null||(_0x2aba10=_0x2aba10[_0x1f4bda(0x14b)][_0xa6857a])==null)&&_0x2aba10[_0x1f4bda(0x9f)][_0x5e44d2]?this['_injector']['createInstance'](_0x29cc3a,this,_0xa6857a,_0x5e44d2):null;}[_0x1f5fb2(0xb2)](_0x4e9705,_0xf868d){const _0x467a3f=_0x1f5fb2;var _0x44f034,_0x40bf1a,_0x128137;let _0x7b318d=(_0x44f034=(0x0,_0x3bace7[_0x467a3f(0x88)])(this[_0x467a3f(0x87)](),this['_tableId']))==null||(_0x44f034=_0x44f034[_0x467a3f(0x98)][_0x4e9705])==null?void 0x0:_0x44f034[_0x467a3f(0xf2)][_0xf868d];return _0x7b318d?(_0x40bf1a=(_0x128137=this[_0x467a3f(0x87)]()[_0x467a3f(0x14a)])==null?void 0x0:_0x128137[_0x467a3f(0x133)][_0x467a3f(0x126)](_0x7b318d[_0x467a3f(0xf9)]+0x1,_0x7b318d[_0x467a3f(0x82)])[_0x467a3f(0xbd)](/\r\n$/,''))==null?'':_0x40bf1a:'';}[_0x1f5fb2(0x152)](_0x7fba7c,_0x3249e8){const _0x5e7897=_0x1f5fb2;var _0x672571,_0x810983,_0x4a6986;let _0xbdd876=this['getSource'](),_0x4d9379=_0xbdd876==null||(_0x672571=_0xbdd876[_0x5e7897(0x14b)][_0x7fba7c])==null?void 0x0:_0x672571[_0x5e7897(0x9f)][_0x3249e8];return _0x4d9379?_0x42c1ff[_0x5e7897(0x93)][_0x5e7897(0x10d)]((_0x810983=(_0x4a6986=_0x4d9379[_0x5e7897(0x129)])==null?_0xbdd876[_0x5e7897(0x132)]:_0x4a6986)==null?_0x3bace7[_0x5e7897(0xa2)]:_0x810983):null;}[_0x1f5fb2(0x9b)](_0x5b65de,_0x58823f){const _0x20ea0c=_0x1f5fb2;var _0x3eb9b8;let _0x5f42a2=(_0x3eb9b8=this[_0x20ea0c(0x92)]())==null||(_0x3eb9b8=_0x3eb9b8[_0x20ea0c(0x14b)][_0x5b65de])==null?void 0x0:_0x3eb9b8[_0x20ea0c(0x9f)][_0x58823f];return _0x5f42a2!=null&&_0x5f42a2[_0x20ea0c(0x129)]?_0x42c1ff[_0x20ea0c(0x93)][_0x20ea0c(0x10d)](_0x5f42a2['margin']):null;}[_0x1f5fb2(0x140)](){const _0x406283=_0x1f5fb2;var _0x20e59b,_0x273e87;return _0x42c1ff[_0x406283(0x93)]['deepClone']((_0x20e59b=(_0x273e87=this[_0x406283(0x92)]())==null?void 0x0:_0x273e87[_0x406283(0x132)])==null?_0x3bace7[_0x406283(0xa2)]:_0x20e59b);}[_0x1f5fb2(0xa9)](){const _0x1eb8d6=_0x1f5fb2;var _0x1974ce;let _0x191e93=(_0x1974ce=this['getSource']())==null?void 0x0:_0x1974ce[_0x1eb8d6(0x132)];return _0x191e93?_0x42c1ff['Tools'][_0x1eb8d6(0x10d)](_0x191e93):null;}[_0x1f5fb2(0xfc)](){const _0x25a13d=_0x1f5fb2;return this[_0x25a13d(0x11a)][_0x25a13d(0x96)](_0x3bace7[_0x25a13d(0x102)])['getTableMetadata'](this['_unitId'],this['_tableId']);}[_0x1f5fb2(0x92)](){const _0x5b2697=_0x1f5fb2;var _0x484ec4;return(_0x484ec4=this[_0x5b2697(0x87)]()[_0x5b2697(0x13c)])==null?void 0x0:_0x484ec4[this[_0x5b2697(0xcd)]];}['getRange'](){const _0x30080e=_0x1f5fb2;return(0x0,_0x3bace7[_0x30080e(0x88)])(this['_getDocumentData'](),this[_0x30080e(0xcd)]);}['getTableRange'](){const _0x367e9e=_0x1f5fb2;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x367e9e(0x8a)](0x0,this[_0x367e9e(0xb9)]()-0x1)};}['getCellRange'](_0x5863ba,_0x2d65ee){return{'startRow':_0x5863ba,'endRow':_0x5863ba,'startColumn':_0x2d65ee,'endColumn':_0x2d65ee};}[_0x1f5fb2(0x12f)](_0x538357,_0x265262){const _0x59d041=_0x1f5fb2;var _0x246e2c;let _0x579b6d=(_0x246e2c=(0x0,_0x3bace7[_0x59d041(0x88)])(this['_getDocumentData'](),this[_0x59d041(0xcd)]))==null||(_0x246e2c=_0x246e2c[_0x59d041(0x98)][_0x538357])==null?void 0x0:_0x246e2c[_0x59d041(0xf2)][_0x265262];if(!_0x579b6d)return null;let _0x13f75a=_0x579b6d['startOffset']+0x1;return{'startOffset':_0x13f75a,'endOffset':Math['max'](_0x13f75a,_0x579b6d[_0x59d041(0x82)]-0x1),'segmentId':this['_segmentId']};}[_0x1f5fb2(0xd1)](_0x463281,_0x184591){const _0x3ac2d7=_0x1f5fb2;var _0x553071,_0x2bcb0a;return(_0x553071=(_0x2bcb0a=this[_0x3ac2d7(0x12f)](_0x463281,_0x184591))==null?void 0x0:_0x2bcb0a['endOffset'])==null?null:_0x553071;}[_0x1f5fb2(0x11d)](_0x5c00a2){return this['getRowsRange'](_0x5c00a2,0x1);}[_0x1f5fb2(0xef)](_0x52654c,_0xaee0f9=0x1){const _0x456e02=_0x1f5fb2;return{'startRow':_0x52654c,'endRow':_0x52654c+_0xaee0f9-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x456e02(0xb9)]()-0x1)};}[_0x1f5fb2(0x8f)](_0x1d4012){const _0x5c6012=_0x1f5fb2;return this[_0x5c6012(0xee)](_0x1d4012,0x1);}['getColumnsRange'](_0x5d8967,_0x289517=0x1){const _0x13daef=_0x1f5fb2;return{'startRow':0x0,'endRow':Math[_0x13daef(0x8a)](0x0,this[_0x13daef(0x106)]()-0x1),'startColumn':_0x5d8967,'endColumn':_0x5d8967+_0x289517-0x1};}[_0x1f5fb2(0x86)](){const _0x50fcb7=_0x1f5fb2;return this['selectRange'](this[_0x50fcb7(0x8d)](),_0x3bace7['DocsTableSelectionKind']['Table']);}[_0x1f5fb2(0x10c)](_0x2df020){const _0x397bbf=_0x1f5fb2;return this[_0x397bbf(0x153)](_0x2df020,0x1);}[_0x1f5fb2(0x153)](_0x3ca80c,_0x583621=0x1){const _0x2fd8c8=_0x1f5fb2;return this[_0x2fd8c8(0xd6)](this[_0x2fd8c8(0xef)](_0x3ca80c,_0x583621),_0x3bace7[_0x2fd8c8(0x14e)][_0x2fd8c8(0x158)]);}[_0x1f5fb2(0x146)](_0x18313b){return this['selectColumns'](_0x18313b,0x1);}[_0x1f5fb2(0x100)](_0x3f99fe,_0x311817=0x1){const _0x2f4af7=_0x1f5fb2;return this[_0x2f4af7(0xd6)](this['getColumnsRange'](_0x3f99fe,_0x311817),_0x3bace7['DocsTableSelectionKind']['Column']);}[_0x1f5fb2(0xc2)](_0x12938a,_0xd792a1){const _0x449682=_0x1f5fb2;return this[_0x449682(0xd6)](this['getCellRange'](_0x12938a,_0xd792a1),_0x3bace7[_0x449682(0x14e)][_0x449682(0xdb)]);}[_0x1f5fb2(0xd6)](_0x5cbe4e,_0x1373b8=_0x3bace7['DocsTableSelectionKind'][_0x1f5fb2(0xb4)]){const _0x183cd7=_0x1f5fb2;return this[_0x183cd7(0x11a)][_0x183cd7(0x96)](_0x3bace7[_0x183cd7(0xaf)])[_0x183cd7(0x105)]({..._0x5cbe4e,'kind':_0x1373b8,'segmentId':this[_0x183cd7(0xfd)],'tableId':this['_tableId']}),!0x0;}['insertRowBefore'](_0x13e460){const _0x56f8cf=_0x1f5fb2;return this[_0x56f8cf(0x13f)](_0x13e460,0x1);}['insertRowAfter'](_0x1b5d07){const _0x53ca78=_0x1f5fb2;return this[_0x53ca78(0x150)](_0x1b5d07,0x1);}[_0x1f5fb2(0x13f)](_0x29c00a,_0x3bffe4){const _0x384dd5=_0x1f5fb2;let _0x406051=this[_0x384dd5(0x87)](),_0x48dc52=(0x0,_0x3bace7['buildInsertTableRowsMutationActions'])(_0x406051,this['_tableId'],_0x29c00a,_0x3bffe4,_0x3bace7[_0x384dd5(0x15b)]['Above'],this['_getBodyPath']());return _0x48dc52?this[_0x384dd5(0x11b)](_0x406051,_0x48dc52['actions']):!0x1;}[_0x1f5fb2(0x150)](_0x11d851,_0x204606){const _0x13d59c=_0x1f5fb2;let _0x3afca5=this[_0x13d59c(0x87)](),_0x1c2e56=(0x0,_0x3bace7[_0x13d59c(0x89)])(_0x3afca5,this['_tableId'],_0x11d851,_0x204606,_0x3bace7[_0x13d59c(0x15b)]['Below'],this[_0x13d59c(0xf1)]());return _0x1c2e56?this[_0x13d59c(0x11b)](_0x3afca5,_0x1c2e56[_0x13d59c(0x130)]):!0x1;}[_0x1f5fb2(0x141)](){const _0x4af95c=_0x1f5fb2;return this[_0x4af95c(0x150)](Math[_0x4af95c(0x8a)](0x0,this[_0x4af95c(0x106)]()-0x1),0x1);}[_0x1f5fb2(0x9c)](_0x464bfb){return this['insertColumnsBefore'](_0x464bfb,0x1);}[_0x1f5fb2(0x97)](_0x47c26d){const _0x268737=_0x1f5fb2;return this[_0x268737(0xcf)](_0x47c26d,0x1);}[_0x1f5fb2(0x118)](_0x1d378b,_0x156ee7){const _0x4f85cd=_0x1f5fb2;let _0x1598f4=this[_0x4f85cd(0x87)](),_0x3cfabe=(0x0,_0x3bace7[_0x4f85cd(0xf3)])(_0x1598f4,this[_0x4f85cd(0xcd)],_0x1d378b,_0x156ee7,_0x3bace7[_0x4f85cd(0x15b)][_0x4f85cd(0x91)],{'bodyPath':this['_getBodyPath']()});return _0x3cfabe?this[_0x4f85cd(0x11b)](_0x1598f4,_0x3cfabe['actions']):!0x1;}[_0x1f5fb2(0xcf)](_0x492345,_0x411d21){const _0x10cf62=_0x1f5fb2;let _0x39bad2=this[_0x10cf62(0x87)](),_0x92ed97=(0x0,_0x3bace7[_0x10cf62(0xf3)])(_0x39bad2,this[_0x10cf62(0xcd)],_0x492345,_0x411d21,_0x3bace7[_0x10cf62(0x15b)][_0x10cf62(0xad)],{'bodyPath':this[_0x10cf62(0xf1)]()});return _0x92ed97?this[_0x10cf62(0x11b)](_0x39bad2,_0x92ed97[_0x10cf62(0x130)]):!0x1;}['appendColumn'](){const _0x486baf=_0x1f5fb2;return this[_0x486baf(0xcf)](Math[_0x486baf(0x8a)](0x0,this['getColumnCount']()-0x1),0x1);}[_0x1f5fb2(0x143)](_0x27f76e){return this['deleteRows'](_0x27f76e,0x1);}['deleteRows'](_0x23408c,_0x4c3bd2=0x1){const _0x7af4df=_0x1f5fb2;let _0x149255=this[_0x7af4df(0x87)](),_0x1c8881=(0x0,_0x3bace7[_0x7af4df(0x109)])(_0x149255,this[_0x7af4df(0xcd)],_0x23408c,_0x23408c+_0x4c3bd2-0x1,this['_getBodyPath']());return _0x1c8881?this[_0x7af4df(0x11b)](_0x149255,_0x1c8881[_0x7af4df(0x130)]):!0x1;}[_0x1f5fb2(0xd3)](_0x18a588){const _0x38c215=_0x1f5fb2;return this[_0x38c215(0x7d)](_0x18a588,0x1);}['deleteColumns'](_0x2df80f,_0x2e5171=0x1){const _0x564eb4=_0x1f5fb2;let _0x517b09=this[_0x564eb4(0x87)](),_0x3f083d=(0x0,_0x3bace7[_0x564eb4(0xbb)])(_0x517b09,this['_tableId'],_0x2df80f,_0x2df80f+_0x2e5171-0x1,this['_getBodyPath']());return _0x3f083d?this[_0x564eb4(0x11b)](_0x517b09,_0x3f083d[_0x564eb4(0x130)]):!0x1;}[_0x1f5fb2(0x13e)](){const _0x73ebc=_0x1f5fb2;let _0x110707=this['_getDocumentData'](),_0x2e05eb=(0x0,_0x3bace7[_0x73ebc(0x151)])(_0x110707,this[_0x73ebc(0xcd)],this['_getBodyPath']());return _0x2e05eb?this[_0x73ebc(0x11b)](_0x110707,_0x2e05eb[_0x73ebc(0x130)]):!0x1;}[_0x1f5fb2(0x107)](_0x265fd0,_0x35ff8b){const _0x2ca46e=_0x1f5fb2;let _0x54263c=this[_0x2ca46e(0x87)]();return this[_0x2ca46e(0x11b)](_0x54263c,(0x0,_0x3bace7[_0x2ca46e(0xe8)])(_0x54263c,this[_0x2ca46e(0xcd)],_0x265fd0,_0x35ff8b));}['moveTableToOffset'](_0x4b7d1e){const _0x3e6e34=_0x1f5fb2;let _0x4deea2=this['_getDocumentData']();return this[_0x3e6e34(0x11b)](_0x4deea2,(0x0,_0x3bace7[_0x3e6e34(0x85)])(_0x4deea2,this[_0x3e6e34(0xcd)],_0x4b7d1e,this[_0x3e6e34(0xf1)]()));}[_0x1f5fb2(0x15d)](_0x25c7ee,_0x1872d6,_0xb1a138=_0x3bace7[_0x1f5fb2(0x15b)]['Above']){const _0x9703cd=_0x1f5fb2;return this[_0x9703cd(0xac)](_0x25c7ee,0x1,_0x1872d6,_0xb1a138);}[_0x1f5fb2(0xac)](_0x2ccba4,_0x3a2154,_0x2f465e,_0x6a2841=_0x3bace7[_0x1f5fb2(0x15b)][_0x1f5fb2(0x11c)]){const _0x3732ea=_0x1f5fb2;let _0x2b96df=this[_0x3732ea(0x87)](),_0x5eb8fe=(0x0,_0x3bace7[_0x3732ea(0x113)])(_0x2b96df,this[_0x3732ea(0xcd)],_0x2ccba4,_0x2f465e,_0x3a2154,_0x6a2841,this[_0x3732ea(0xf1)]());return _0x5eb8fe?this['_mutateActions'](_0x2b96df,_0x5eb8fe[_0x3732ea(0x130)]):!0x1;}['moveColumn'](_0x61a504,_0x791154,_0x22784c=_0x3bace7[_0x1f5fb2(0x15b)][_0x1f5fb2(0x91)]){const _0x54540e=_0x1f5fb2;return this[_0x54540e(0xe1)](_0x61a504,0x1,_0x791154,_0x22784c);}[_0x1f5fb2(0xe1)](_0x95e27f,_0x40d664,_0x2cbecd,_0xc0e0dd=_0x3bace7[_0x1f5fb2(0x15b)][_0x1f5fb2(0x91)]){const _0x31429f=_0x1f5fb2;let _0x721f6f=this['_getDocumentData'](),_0x38d32a=(0x0,_0x3bace7[_0x31429f(0x114)])(_0x721f6f,this[_0x31429f(0xcd)],_0x95e27f,_0x2cbecd,_0x40d664,_0xc0e0dd,this[_0x31429f(0xf1)]());return _0x38d32a?this[_0x31429f(0x11b)](_0x721f6f,_0x38d32a[_0x31429f(0x130)]):!0x1;}[_0x1f5fb2(0x13b)](_0x34fbe0){const _0x545dfd=_0x1f5fb2;try{let _0x4b5ce2=this[_0x545dfd(0x87)](),_0x2257b6=(0x0,_0x3bace7[_0x545dfd(0x138)])({'documentData':_0x4b5ce2,'tableId':this[_0x545dfd(0xcd)],..._0x34fbe0});return _0x2257b6?this[_0x545dfd(0x11b)](_0x4b5ce2,_0x2257b6['actions'],_0x34fbe0):!0x1;}catch{return!0x1;}}[_0x1f5fb2(0xe2)](_0x13be3a){const _0x223831=_0x1f5fb2;try{let _0x44799b=this[_0x223831(0x87)](),_0x269964=(0x0,_0x3bace7[_0x223831(0x122)])({'documentData':_0x44799b,'tableId':this[_0x223831(0xcd)],..._0x13be3a});return _0x269964?this['_mutateActions'](_0x44799b,_0x269964[_0x223831(0x130)],_0x13be3a):!0x1;}catch{return!0x1;}}[_0x1f5fb2(0x110)](_0x5ae018,_0x5e861e,_0x1f7b28){const _0x171020=_0x1f5fb2;let _0x36d3e4=this[_0x171020(0x87)](),_0x41adef=(0x0,_0x3bace7[_0x171020(0x142)])(this[_0x171020(0xd7)][_0x171020(0x112)]()[_0x171020(0x90)](),this['_segmentId']);return this[_0x171020(0x11b)](_0x36d3e4,(0x0,_0x3bace7[_0x171020(0xd2)])({'documentData':_0x36d3e4,'tableId':this['_tableId'],'row':_0x5ae018,'column':_0x5e861e,'text':_0x1f7b28},_0x41adef),this[_0x171020(0xc6)](_0x5ae018,_0x5e861e));}[_0x1f5fb2(0xd0)](_0xece3da,_0x28b569){const _0x530568=_0x1f5fb2;let _0x1c3ed2=this['_getDocumentData']();return this[_0x530568(0x11b)](_0x1c3ed2,(0x0,_0x3bace7[_0x530568(0x11f)])(_0x1c3ed2,{'tableId':this[_0x530568(0xcd)],..._0xece3da,'value':_0x28b569}),_0xece3da);}[_0x1f5fb2(0x117)](_0x58b4fb,_0x4dc6fe){const _0x1de131=_0x1f5fb2;let _0x45abc3=this[_0x1de131(0x87)]();return this['_mutateActions'](_0x45abc3,(0x0,_0x3bace7[_0x1de131(0x14c)])({'documentData':_0x45abc3,'tableId':this[_0x1de131(0xcd)],..._0x58b4fb,'margin':_0x4dc6fe}),_0x58b4fb);}[_0x1f5fb2(0xff)](_0x13c492){const _0x442871=_0x1f5fb2;let _0x101f7f=this['_getDocumentData']();return this[_0x442871(0x11b)](_0x101f7f,(0x0,_0x3bace7['buildSetTableDefaultCellMarginMutationActions'])(_0x101f7f,this[_0x442871(0xcd)],_0x13c492));}[_0x1f5fb2(0xf4)](_0x4f0f5c,_0x288858){const _0x14f67b=_0x1f5fb2;var _0x3c548e,_0x24eef1,_0x313e5e,_0x1eca39;let _0x148617=this[_0x14f67b(0x87)]();return this[_0x14f67b(0x11b)](_0x148617,(0x0,_0x3bace7['buildSetTableBorderMutationActions'])({'documentData':_0x148617,'tableId':this[_0x14f67b(0xcd)],..._0x4f0f5c,'preset':(_0x3c548e=_0x288858[_0x14f67b(0xb3)])==null?_0x3bace7[_0x14f67b(0xbf)][_0x14f67b(0x136)]:_0x3c548e,'border':(_0x24eef1=_0x288858['border'])==null?{'color':{'rgb':(_0x313e5e=_0x288858[_0x14f67b(0x12b)])==null?'#1f1f1f':_0x313e5e},'width':{'v':(_0x1eca39=_0x288858[_0x14f67b(0xcc)])==null?0x1:_0x1eca39},'dashStyle':_0x42c1ff[_0x14f67b(0xd8)][_0x14f67b(0xf6)]}:_0x24eef1}),_0x4f0f5c);}['setTableBackground'](_0x2cfc33){const _0x4961d0=_0x1f5fb2;return this[_0x4961d0(0xd0)](this[_0x4961d0(0x8d)](),_0x2cfc33);}[_0x1f5fb2(0xa1)](_0x1b5013){const _0x5a9660=_0x1f5fb2;return this[_0x5a9660(0xf4)](this[_0x5a9660(0x8d)](),_0x1b5013);}[_0x1f5fb2(0xa6)](_0x302b3f){const _0x1cc718=_0x1f5fb2;let _0x485bc6=_0x302b3f[_0x1cc718(0xb1)]?this[_0x1cc718(0xfb)](_0x302b3f[_0x1cc718(0xb1)]):!0x0,_0x2043a9=_0x302b3f[_0x1cc718(0x124)]?this[_0x1cc718(0xa1)](_0x302b3f[_0x1cc718(0x124)]):!0x0;return _0x485bc6&&_0x2043a9;}['setRowHeight'](_0x20c8a4,_0x1a8f86,_0x190c3a=_0x42c1ff[_0x1f5fb2(0x83)][_0x1f5fb2(0x104)]){const _0x28944b=_0x1f5fb2;var _0x595403;let _0x1113e7=this[_0x28944b(0x87)]();return!((_0x595403=_0x1113e7[_0x28944b(0x13c)])==null||(_0x595403=_0x595403[this['_tableId']])==null)&&_0x595403[_0x28944b(0x14b)][_0x20c8a4]?this[_0x28944b(0x11b)](_0x1113e7,(0x0,_0x3bace7[_0x28944b(0x7e)])(_0x1113e7,this[_0x28944b(0xcd)],_0x20c8a4,_0x1a8f86,_0x190c3a)):!0x1;}[_0x1f5fb2(0x147)](_0xb2ab91){const _0x1f2332=_0x1f5fb2;var _0x575d04;let _0x54c43b=(_0x575d04=this['getSource']())==null||(_0x575d04=_0x575d04[_0x1f2332(0x14b)][_0xb2ab91])==null?void 0x0:_0x575d04[_0x1f2332(0x7f)];return _0x54c43b?_0x42c1ff[_0x1f2332(0x93)][_0x1f2332(0x10d)](_0x54c43b):null;}[_0x1f5fb2(0xda)](_0x36721f,_0x33f90e){const _0x1c7b26=_0x1f5fb2;var _0x677a99;let _0x4dfbb6=this['_getDocumentData']();return!((_0x677a99=_0x4dfbb6['tableSource'])==null||(_0x677a99=_0x677a99[this[_0x1c7b26(0xcd)]])==null)&&_0x677a99[_0x1c7b26(0xfe)][_0x36721f]?this[_0x1c7b26(0x11b)](_0x4dfbb6,(0x0,_0x3bace7[_0x1c7b26(0xe3)])(_0x4dfbb6,this[_0x1c7b26(0xcd)],_0x36721f,_0x33f90e)):!0x1;}[_0x1f5fb2(0x123)](_0x2b4b57=0x0,_0x2f822c=this[_0x1f5fb2(0x106)]()){const _0x337455=_0x1f5fb2;let _0xce7b0e=this[_0x337455(0x87)]();return this[_0x337455(0x11b)](_0xce7b0e,(0x0,_0x3bace7[_0x337455(0xa3)])(_0xce7b0e,this['_tableId'],_0x2b4b57,_0x2b4b57+_0x2f822c-0x1));}[_0x1f5fb2(0xae)](_0xe6f7f2=0x0,_0x22f0a4=this[_0x1f5fb2(0xb9)]()){const _0x2f3cbf=_0x1f5fb2;let _0x1d2d84=this['_getDocumentData']();return this[_0x2f3cbf(0x11b)](_0x1d2d84,(0x0,_0x3bace7[_0x2f3cbf(0x8b)])(_0x1d2d84,this['_tableId'],_0xe6f7f2,_0xe6f7f2+_0x22f0a4-0x1));}[_0x1f5fb2(0x14f)](){const _0x1f63cd=_0x1f5fb2;var _0x30bb1e,_0x454c9b;return(_0x30bb1e=(_0x454c9b=this['getMetadata']())==null?void 0x0:_0x454c9b[_0x1f63cd(0x145)])==null?0x0:_0x30bb1e;}[_0x1f5fb2(0xe7)](_0x4ba4fb){const _0x4329d4=_0x1f5fb2;let _0x59014d=this[_0x4329d4(0x11a)][_0x4329d4(0x96)](_0x3bace7['DocsTableModel']),_0x40984c=this[_0x4329d4(0x87)](),_0x4979ba=(0x0,_0x3bace7[_0x4329d4(0x128)])(_0x40984c,this[_0x4329d4(0xcd)],_0x4ba4fb);if(!_0x4979ba)return!0x1;let _0x5ce446=this[_0x4329d4(0x11b)](_0x40984c,_0x4979ba[_0x4329d4(0x130)]);return _0x5ce446&&_0x59014d[_0x4329d4(0xe7)](this[_0x4329d4(0xbe)],this[_0x4329d4(0xcd)],_0x4979ba[_0x4329d4(0x145)]),_0x5ce446;}[_0x1f5fb2(0x12d)](_0x34a0a6){const _0x119fa4=_0x1f5fb2;return this[_0x119fa4(0xe7)](_0x34a0a6);}['hasTitleRow'](){const _0x222c40=_0x1f5fb2;var _0x3d3620,_0x380f9c;return(_0x3d3620=(_0x380f9c=this[_0x222c40(0xfc)]())==null?void 0x0:_0x380f9c[_0x222c40(0x15e)])==null?!0x1:_0x3d3620;}[_0x1f5fb2(0xbc)](){const _0x631c54=_0x1f5fb2;let _0x8461c0=this[_0x631c54(0x11a)][_0x631c54(0x96)](_0x3bace7[_0x631c54(0x102)]),_0x4eabb6=this[_0x631c54(0x87)](),_0x3db111=(0x0,_0x3bace7['buildInsertTableTitleRowMutationActions'])(_0x4eabb6,this[_0x631c54(0xcd)],this[_0x631c54(0xf1)]());if(!_0x3db111)return!0x1;let _0x56c669=this[_0x631c54(0x11b)](_0x4eabb6,_0x3db111[_0x631c54(0x130)]);return _0x56c669&&_0x8461c0['setTitleRow'](this[_0x631c54(0xbe)],this['_tableId'],!0x0),_0x56c669;}[_0x1f5fb2(0xd9)](_0x1e0542,_0x11ce40){const _0x1c057e=_0x1f5fb2;return this['_injector'][_0x1c057e(0x96)](_0x3bace7[_0x1c057e(0x102)])[_0x1c057e(0xd9)](this[_0x1c057e(0xbe)],this[_0x1c057e(0xcd)],_0x1e0542,_0x11ce40),!0x0;}[_0x1f5fb2(0x157)](_0x237b47,_0xbaa13){const _0xd9482a=_0x1f5fb2;let _0x2fedfe=this[_0xd9482a(0x87)]();return this['_mutateActions'](_0x2fedfe,(0x0,_0x3bace7['buildSortTableMutationActions'])(_0x2fedfe,this[_0xd9482a(0x155)](),this[_0xd9482a(0xcd)],_0x237b47,_0xbaa13,this[_0xd9482a(0xf1)]()));}[_0x1f5fb2(0x87)](){const _0x110c55=_0x1f5fb2;let _0x2769ae=this[_0x110c55(0xd7)][_0x110c55(0x112)]()[_0x110c55(0x90)]();return this[_0x110c55(0xfd)]?{...this[_0x110c55(0xd7)][_0x110c55(0x112)](this[_0x110c55(0xfd)])[_0x110c55(0x90)](),'documentStyle':_0x2769ae[_0x110c55(0x101)],'tableSource':_0x2769ae[_0x110c55(0x13c)]}:_0x2769ae;}[_0x1f5fb2(0x155)](){const _0x13de11=_0x1f5fb2;return this[_0x13de11(0x11a)][_0x13de11(0x96)](_0x3bace7[_0x13de11(0x102)])['serialize'](this[_0x13de11(0xbe)]);}[_0x1f5fb2(0xf1)](){const _0x530744=_0x1f5fb2;return(0x0,_0x3bace7[_0x530744(0x142)])(this[_0x530744(0xd7)][_0x530744(0x112)]()['getSnapshot'](),this[_0x530744(0xfd)]);}['_mutateActions'](_0x31538f,_0x5d4b9d,_0x34aa62){const _0x4c5d9e=_0x1f5fb2;return(0x0,_0x3bace7[_0x4c5d9e(0x81)])(this[_0x4c5d9e(0x11a)][_0x4c5d9e(0x96)](_0x42c1ff[_0x4c5d9e(0x116)]),this[_0x4c5d9e(0xbe)],_0x31538f,_0x5d4b9d,_0x34aa62?{'tableId':this[_0x4c5d9e(0xcd)],'segmentId':this[_0x4c5d9e(0xfd)],..._0x34aa62}:void 0x0);}},_0x3f02b5=class extends _0x18775f['FDocument']{[_0x1f5fb2(0xe0)](_0x1ba7ea=''){const _0x2d4578=_0x1f5fb2;return this['_getTables'](_0x1ba7ea)['map'](_0x411b64=>this['_createFDocumentTable'](_0x411b64[_0x2d4578(0x10a)],_0x1ba7ea));}['getTable'](_0xe1f40c,_0x25d6c5=''){const _0x25c8ca=_0x1f5fb2;return this[_0x25c8ca(0xb5)](_0x25d6c5)[_0x25c8ca(0x8e)](_0x1b7965=>_0x1b7965[_0x25c8ca(0x10a)]===_0xe1f40c)?this[_0x25c8ca(0xe4)](_0xe1f40c,_0x25d6c5):null;}[_0x1f5fb2(0xc8)](_0x932f6d,_0x1ab57e=''){const _0x1f854f=_0x1f5fb2;var _0xe4e8a4;let _0x48dbda=(_0xe4e8a4=this[_0x1f854f(0xb5)](_0x1ab57e)[_0x932f6d])==null?void 0x0:_0xe4e8a4[_0x1f854f(0x10a)];return _0x48dbda?this[_0x1f854f(0xe4)](_0x48dbda,_0x1ab57e):null;}[_0x1f5fb2(0x127)](){const _0x5c0bee=_0x1f5fb2;let _0x38e074=this[_0x5c0bee(0x11a)]['get'](_0x3bace7[_0x5c0bee(0xaf)])[_0x5c0bee(0x108)]();return _0x38e074!=null&&_0x38e074[_0x5c0bee(0x10a)]?this[_0x5c0bee(0xe4)](_0x38e074[_0x5c0bee(0x10a)],_0x38e074[_0x5c0bee(0x134)]):null;}[_0x1f5fb2(0xc5)](_0x4d2cba,_0x110f62=''){const _0x2f5ea0=_0x1f5fb2;var _0x815bd1;return(_0x815bd1=this[_0x2f5ea0(0xe9)](_0x4d2cba,_0x110f62)[0x0])==null?null:_0x815bd1;}['findTables'](_0xc7e6db,_0x54c951=''){const _0x3a3431=_0x1f5fb2;let _0xdb2096=this['_getTableDocumentData'](_0x54c951),_0x432236=typeof _0xc7e6db=='string'?{'text':_0xc7e6db}:_0xc7e6db;return this[_0x3a3431(0xe0)](_0x54c951)[_0x3a3431(0xe5)](_0x5d7a00=>{const _0x4b5c6e=_0x3a3431;let _0x210c3b=_0x5d7a00['getId']();return!(_0x432236[_0x4b5c6e(0x10a)]&&_0x210c3b!==_0x432236[_0x4b5c6e(0x10a)]||_0x432236[_0x4b5c6e(0x84)]&&!this[_0x4b5c6e(0xde)](_0xdb2096,_0x210c3b,_0x432236[_0x4b5c6e(0x84)])||_0x432236[_0x4b5c6e(0xc4)]&&!this[_0x4b5c6e(0xfa)](_0x5d7a00,0x0,_0x432236[_0x4b5c6e(0xc4)])||_0x432236['titleText']&&!this[_0x4b5c6e(0xfa)](_0x5d7a00,0x0,_0x432236[_0x4b5c6e(0xdc)]));});}[_0x1f5fb2(0xb7)](_0x525781,_0x4a4e45,_0x4ece85={}){const _0x3fa22a=_0x1f5fb2;var _0x1e2267,_0x4794dd;let _0xfa7949=this[_0x3fa22a(0x11a)][_0x3fa22a(0x96)](_0x42c1ff['ICommandService']),_0x40a6ae=(_0x1e2267=_0x4ece85[_0x3fa22a(0x10a)])==null?(0x0,_0x42c1ff[_0x3fa22a(0x115)])(0x6):_0x1e2267;return _0xfa7949[_0x3fa22a(0xa7)](_0x3bace7[_0x3fa22a(0xd5)]['id'],{..._0x4ece85,'unitId':this[_0x3fa22a(0x9e)](),'rows':_0x525781,'columns':_0x4a4e45,'tableId':_0x40a6ae})?this[_0x3fa22a(0xe4)](_0x40a6ae,(_0x4794dd=_0x4ece85[_0x3fa22a(0x134)])==null?'':_0x4794dd):null;}['insertTableFromData'](_0x13b415,_0x17b85b={}){const _0x28d77a=_0x1f5fb2;var _0x49d612,_0x58fb21;let _0x2f3d67=this[_0x28d77a(0x11a)][_0x28d77a(0x96)](_0x42c1ff['ICommandService']),_0x14d2c0=(_0x49d612=_0x17b85b['tableId'])==null?(0x0,_0x42c1ff[_0x28d77a(0x115)])(0x6):_0x49d612;return _0x2f3d67[_0x28d77a(0xa7)](_0x3bace7[_0x28d77a(0xd5)]['id'],{..._0x17b85b,'unitId':this[_0x28d77a(0x9e)](),'values':_0x13b415,'tableId':_0x14d2c0})?this[_0x28d77a(0xe4)](_0x14d2c0,(_0x58fb21=_0x17b85b[_0x28d77a(0x134)])==null?'':_0x58fb21):null;}[_0x1f5fb2(0xb5)](_0xc8df80=''){const _0x51de16=_0x1f5fb2;let {tables:_0x50a56f=[]}=this[_0x51de16(0xcb)](_0xc8df80);return _0x50a56f;}[_0x1f5fb2(0x9d)](_0xf51865=''){const _0x3eca5b=_0x1f5fb2;let _0x29fb90=this[_0x3eca5b(0x112)]()[_0x3eca5b(0x90)]();return _0xf51865?{...this[_0x3eca5b(0x112)](_0xf51865)[_0x3eca5b(0x90)](),'documentStyle':_0x29fb90[_0x3eca5b(0x101)],'tableSource':_0x29fb90[_0x3eca5b(0x13c)]}:_0x29fb90;}[_0x1f5fb2(0xe4)](_0x3067f3,_0x2d0d86=''){const _0x1f45e7=_0x1f5fb2;return this[_0x1f45e7(0x11a)][_0x1f45e7(0x12e)](_0x1cdb12,this,_0x3067f3,_0x2d0d86,this['_injector']);}[_0x1f5fb2(0xde)](_0x250a7d,_0x2e1ba0,_0x2d547c){const _0x2c8c19=_0x1f5fb2;var _0x12ced6;let _0x2539d3=(0x0,_0x3bace7['getTableRangeById'])(_0x250a7d,_0x2e1ba0);if(!_0x2539d3)return!0x1;let _0x34a297=(_0x12ced6=_0x250a7d['body'])==null?void 0x0:_0x12ced6[_0x2c8c19(0x133)];return _0x34a297?_0x34a297[_0x2c8c19(0x126)](_0x2539d3[_0x2c8c19(0xf9)],_0x2539d3['endOffset'])[_0x2c8c19(0xc3)](_0x2d547c):!0x1;}[_0x1f5fb2(0xfa)](_0x4a98bb,_0x3f18aa,_0x5de99b){const _0x4394e2=_0x1f5fb2;return Array['from']({'length':_0x4a98bb['getColumnCount']()},(_0x70e0e3,_0x177d1d)=>_0x4a98bb[_0x4394e2(0xb2)](_0x3f18aa,_0x177d1d))[_0x4394e2(0x8e)](_0x1e6e6d=>_0x1e6e6d[_0x4394e2(0xc3)](_0x5de99b));}};_0x18775f[_0x1f5fb2(0x15c)][_0x1f5fb2(0xa4)](_0x3f02b5),_0x1d1e12[_0x1f5fb2(0xa8)]=_0x1cdb12,_0x1d1e12[_0x1f5fb2(0xdd)]=_0x29cc3a;}));
1
+ function _0x5253(_0x2b8778,_0x49a280){_0x2b8778=_0x2b8778-0xd2;const _0x55d44d=_0x55d4();let _0x525313=_0x55d44d[_0x2b8778];return _0x525313;}(function(_0x42ed31,_0xb0c06c){const _0x4d4b87=_0x5253,_0x376598=_0x42ed31();while(!![]){try{const _0x163e69=parseInt(_0x4d4b87(0x197))/0x1*(parseInt(_0x4d4b87(0xd2))/0x2)+-parseInt(_0x4d4b87(0xe2))/0x3*(parseInt(_0x4d4b87(0x13a))/0x4)+-parseInt(_0x4d4b87(0x12d))/0x5*(parseInt(_0x4d4b87(0x141))/0x6)+-parseInt(_0x4d4b87(0x128))/0x7*(parseInt(_0x4d4b87(0x181))/0x8)+-parseInt(_0x4d4b87(0xd3))/0x9*(-parseInt(_0x4d4b87(0x112))/0xa)+-parseInt(_0x4d4b87(0x10b))/0xb+parseInt(_0x4d4b87(0x103))/0xc;if(_0x163e69===_0xb0c06c)break;else _0x376598['push'](_0x376598['shift']());}catch(_0x103a76){_0x376598['push'](_0x376598['shift']());}}}(_0x55d4,0x56b68),function(_0x3819d5,_0x5b1317){const _0x5c3422=_0x5253;typeof exports==_0x5c3422(0x109)&&typeof module<'u'?_0x5b1317(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x5c3422(0xe6)&&define[_0x5c3422(0xf3)]?define([_0x5c3422(0x14c),_0x5c3422(0x121),_0x5c3422(0x190),'@univerjs/core/facade',_0x5c3422(0x186)],_0x5b1317):(_0x3819d5=typeof globalThis<'u'?globalThis:_0x3819d5||self,_0x5b1317(_0x3819d5[_0x5c3422(0x144)]={},_0x3819d5[_0x5c3422(0x157)],_0x3819d5[_0x5c3422(0x15d)],_0x3819d5[_0x5c3422(0x145)],_0x3819d5[_0x5c3422(0x179)]));}(this,function(_0x449d82,_0x334d76,_0x46d274,_0x3ec9b3,_0x5b6186){const _0x174a03=_0x5253;Object[_0x174a03(0x1a7)](_0x449d82,Symbol[_0x174a03(0x18e)],{'value':'Module'});var _0x24e6a5=class extends _0x3ec9b3[_0x174a03(0x12a)]{get[_0x174a03(0x14f)](){const _0x3f6a5c=_0x174a03;return _0x334d76[_0x3f6a5c(0x14f)];}get[_0x174a03(0x150)](){const _0x192598=_0x174a03;return _0x334d76[_0x192598(0x150)];}get['DocsTableSelectionKind'](){const _0x3fccf7=_0x174a03;return _0x334d76[_0x3fccf7(0x171)];}get[_0x174a03(0xd4)](){const _0x1e44d6=_0x174a03;return _0x334d76[_0x1e44d6(0xd4)];}get[_0x174a03(0x138)](){const _0x41d95b=_0x174a03;return _0x334d76[_0x41d95b(0x138)];}get[_0x174a03(0x135)](){return _0x334d76['DocsTableBorderPreset'];}get[_0x174a03(0x130)](){const _0x127a57=_0x174a03;return _0x334d76[_0x127a57(0x130)];}get[_0x174a03(0x113)](){const _0x155ee5=_0x174a03;return _0x46d274[_0x155ee5(0x113)];}};_0x3ec9b3[_0x174a03(0x12a)][_0x174a03(0x12c)](_0x24e6a5);var _0x38c491=class{constructor(_0x1e5a98,_0x171548,_0x322a46){const _0xe365f6=_0x174a03;this[_0xe365f6(0x10f)]=_0x1e5a98,this[_0xe365f6(0x1a3)]=_0x171548,this[_0xe365f6(0x10e)]=_0x322a46;}['getTable'](){const _0x2f4fce=_0x174a03;return this[_0x2f4fce(0x10f)];}[_0x174a03(0xe9)](){return this['_row'];}[_0x174a03(0xe7)](){return this['_column'];}[_0x174a03(0x188)](){const _0x92f3fa=_0x174a03;return this['_table'][_0x92f3fa(0x1a9)](this[_0x92f3fa(0x1a3)],this[_0x92f3fa(0x10e)]);}[_0x174a03(0x1a5)](){const _0x3e50f2=_0x174a03;return this['_table']['getCellContentRange'](this[_0x3e50f2(0x1a3)],this[_0x3e50f2(0x10e)]);}[_0x174a03(0x1a6)](){const _0x59327e=_0x174a03;return this[_0x59327e(0x10f)]['getCellInsertOffset'](this['_row'],this[_0x59327e(0x10e)]);}['getMargin'](){const _0x2d3ff1=_0x174a03;return this['_table'][_0x2d3ff1(0xf2)](this[_0x2d3ff1(0x1a3)],this['_column']);}[_0x174a03(0xd7)](){const _0x22fba1=_0x174a03;return this['_table'][_0x22fba1(0xe8)](this[_0x22fba1(0x1a3)],this['_column']);}['setMargin'](_0x4db988){const _0x264ac2=_0x174a03;return this[_0x264ac2(0x10f)][_0x264ac2(0xef)](this[_0x264ac2(0x10f)][_0x264ac2(0x193)](this[_0x264ac2(0x1a3)],this[_0x264ac2(0x10e)]),_0x4db988);}['clearMarginOverride'](){const _0x27ddf5=_0x174a03;return this['_table'][_0x27ddf5(0xef)](this[_0x27ddf5(0x10f)][_0x27ddf5(0x193)](this[_0x27ddf5(0x1a3)],this[_0x27ddf5(0x10e)]),null);}['setText'](_0x2849c2){const _0x56adfb=_0x174a03;return this[_0x56adfb(0x10f)][_0x56adfb(0x16a)](this[_0x56adfb(0x1a3)],this[_0x56adfb(0x10e)],_0x2849c2);}[_0x174a03(0x100)](_0x487889){const _0xe3108e=_0x174a03;return this['_table'][_0xe3108e(0x156)](this[_0xe3108e(0x10f)][_0xe3108e(0x193)](this[_0xe3108e(0x1a3)],this[_0xe3108e(0x10e)]),_0x487889);}[_0x174a03(0x1a2)](_0x2d6694){const _0x70285d=_0x174a03;return this['_table'][_0x70285d(0x1a2)](this[_0x70285d(0x10f)][_0x70285d(0x193)](this[_0x70285d(0x1a3)],this['_column']),_0x2d6694);}[_0x174a03(0xdb)](_0x209a60,_0x2b867e){const _0x3551bc=_0x174a03;return this[_0x3551bc(0x10f)][_0x3551bc(0xf0)]({'startRow':this[_0x3551bc(0x1a3)],'startColumn':this[_0x3551bc(0x10e)],'endRow':this[_0x3551bc(0x1a3)]+_0x209a60-0x1,'endColumn':this[_0x3551bc(0x10e)]+_0x2b867e-0x1});}[_0x174a03(0x111)](){const _0x58edb2=_0x174a03;return this[_0x58edb2(0x10f)]['unmergeCells'](this[_0x58edb2(0x10f)]['getCellRange'](this['_row'],this[_0x58edb2(0x10e)]));}};function _0x429ddc(_0x1d9a1b){'@babel/helpers - typeof';const _0x3fa534=_0x174a03;return _0x429ddc=typeof Symbol==_0x3fa534(0xe6)&&typeof Symbol[_0x3fa534(0xf1)]==_0x3fa534(0x11f)?function(_0x34a778){return typeof _0x34a778;}:function(_0x2350eb){const _0x3e3dc4=_0x3fa534;return _0x2350eb&&typeof Symbol==_0x3e3dc4(0xe6)&&_0x2350eb[_0x3e3dc4(0x10a)]===Symbol&&_0x2350eb!==Symbol[_0x3e3dc4(0x14e)]?_0x3e3dc4(0x11f):typeof _0x2350eb;},_0x429ddc(_0x1d9a1b);}function _0x3a0688(_0x30ec79,_0xe99f5d){const _0x5c957e=_0x174a03;if(_0x429ddc(_0x30ec79)!='object'||!_0x30ec79)return _0x30ec79;var _0x4727d9=_0x30ec79[Symbol['toPrimitive']];if(_0x4727d9!==void 0x0){var _0x5c945f=_0x4727d9['call'](_0x30ec79,_0xe99f5d||'default');if(_0x429ddc(_0x5c945f)!='object')return _0x5c945f;throw TypeError(_0x5c957e(0x137));}return(_0xe99f5d==='string'?String:Number)(_0x30ec79);}function _0x73531a(_0x284c8a){const _0x49f49b=_0x174a03;var _0x58a200=_0x3a0688(_0x284c8a,_0x49f49b(0x13f));return _0x429ddc(_0x58a200)==_0x49f49b(0x11f)?_0x58a200:_0x58a200+'';}function _0x2a2e29(_0x35163b,_0x52d270,_0x3d9cb0){const _0x42c9dc=_0x174a03;return(_0x52d270=_0x73531a(_0x52d270))in _0x35163b?Object[_0x42c9dc(0x1a7)](_0x35163b,_0x52d270,{'value':_0x3d9cb0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x35163b[_0x52d270]=_0x3d9cb0,_0x35163b;}var _0x3064e4=class{constructor(_0x220a2e,_0x54ae33,_0x33067b='',_0x9dbc53){const _0x53b4d8=_0x174a03;this['_document']=_0x220a2e,this['_tableId']=_0x54ae33,this[_0x53b4d8(0x114)]=_0x33067b,this['_injector']=_0x9dbc53,_0x2a2e29(this,_0x53b4d8(0x187),void 0x0),this[_0x53b4d8(0x187)]=this[_0x53b4d8(0x16c)][_0x53b4d8(0x11c)]();}[_0x174a03(0x11c)](){const _0x3b553f=_0x174a03;return this[_0x3b553f(0xf7)];}[_0x174a03(0xff)](){const _0x315a44=_0x174a03;return this[_0x315a44(0x114)];}[_0x174a03(0xf8)](){const _0x312bac=_0x174a03;return{'id':this[_0x312bac(0xf7)],'rowCount':this[_0x312bac(0xde)](),'columnCount':this[_0x312bac(0x12f)](),'metadata':this[_0x312bac(0xfe)](),'source':this[_0x312bac(0xd5)]()};}[_0x174a03(0x1aa)](){const _0xb01376=_0x174a03;var _0x1730ab,_0x525ae6;let _0x343445=this[_0xb01376(0xfe)](),_0x3c2455=this[_0xb01376(0xd5)](),_0x502db0=this[_0xb01376(0x12f)]();return{'id':this[_0xb01376(0xf7)],'rowCount':this['getRowCount'](),'columnCount':_0x502db0,'headerRowCount':(_0x1730ab=_0x343445==null?void 0x0:_0x343445[_0xb01376(0x14d)])==null?0x0:_0x1730ab,'titleRow':(_0x525ae6=_0x343445==null?void 0x0:_0x343445[_0xb01376(0x151)])==null?!0x1:_0x525ae6,'columns':Array[_0xb01376(0x196)]({'length':_0x502db0},(_0x24e765,_0xc2c3f3)=>{const _0xcaeb8=_0xb01376;var _0x1b1c7a,_0x4f6c8c;return{'index':_0xc2c3f3,'type':_0x343445==null||(_0x1b1c7a=_0x343445[_0xcaeb8(0x12b)])==null||(_0x1b1c7a=_0x1b1c7a[_0xc2c3f3])==null?void 0x0:_0x1b1c7a[_0xcaeb8(0x134)],'width':_0x3c2455==null||(_0x4f6c8c=_0x3c2455[_0xcaeb8(0x154)][_0xc2c3f3])==null?void 0x0:_0x4f6c8c[_0xcaeb8(0x11b)]['width']['v']};}),'sampleRows':Array['from']({'length':this[_0xb01376(0xde)]()},(_0x487611,_0x40e384)=>Array[_0xb01376(0x196)]({'length':_0x502db0},(_0x423957,_0x27214b)=>this[_0xb01376(0x1a9)](_0x40e384,_0x27214b)))[_0xb01376(0x13c)](_0x2f3322=>_0x2f3322[_0xb01376(0x126)](_0x2a5525=>_0x2a5525[_0xb01376(0x178)]>0x0))[_0xb01376(0x19b)](0x0,0x5)};}[_0x174a03(0xde)](){const _0x35b388=_0x174a03;var _0x4daed6,_0x2c9012;return(_0x4daed6=(_0x2c9012=this[_0x35b388(0xd5)]())==null?void 0x0:_0x2c9012[_0x35b388(0x17c)][_0x35b388(0x178)])==null?0x0:_0x4daed6;}[_0x174a03(0x12f)](){const _0x219b14=_0x174a03;var _0xebba1c,_0x4264da;return(_0xebba1c=(_0x4264da=this[_0x219b14(0xd5)]())==null?void 0x0:_0x4264da[_0x219b14(0x154)]['length'])==null?0x0:_0xebba1c;}['getCell'](_0x5507dd,_0x5b7603){const _0x186d7e=_0x174a03;var _0x27eff3;return!((_0x27eff3=this[_0x186d7e(0xd5)]())==null||(_0x27eff3=_0x27eff3[_0x186d7e(0x17c)][_0x5507dd])==null)&&_0x27eff3[_0x186d7e(0x11e)][_0x5b7603]?this['_injector'][_0x186d7e(0xe3)](_0x38c491,this,_0x5507dd,_0x5b7603):null;}[_0x174a03(0x1a9)](_0x24e8cc,_0x4b5d60){const _0xcee56b=_0x174a03;var _0x5924d2,_0xff15a5,_0x88ffc7;let _0xadcc09=(_0x5924d2=(0x0,_0x334d76['getTableRangeById'])(this[_0xcee56b(0x11a)](),this['_tableId']))==null||(_0x5924d2=_0x5924d2['rows'][_0x24e8cc])==null?void 0x0:_0x5924d2[_0xcee56b(0x118)][_0x4b5d60];return _0xadcc09?(_0xff15a5=(_0x88ffc7=this['_getDocumentData']()['body'])==null?void 0x0:_0x88ffc7['dataStream'][_0xcee56b(0x19b)](_0xadcc09[_0xcee56b(0x15f)]+0x1,_0xadcc09['endOffset'])['replace'](/\r\n$/,''))==null?'':_0xff15a5:'';}[_0x174a03(0xf2)](_0x57ef2c,_0x4098e3){const _0x12885c=_0x174a03;var _0x5c7754,_0xee255a,_0x3812dd;let _0x74377d=this[_0x12885c(0xd5)](),_0x2734d5=_0x74377d==null||(_0x5c7754=_0x74377d[_0x12885c(0x17c)][_0x57ef2c])==null?void 0x0:_0x5c7754[_0x12885c(0x11e)][_0x4098e3];return _0x2734d5?_0x46d274[_0x12885c(0x167)][_0x12885c(0x133)]((_0xee255a=(_0x3812dd=_0x2734d5[_0x12885c(0x166)])==null?_0x74377d[_0x12885c(0x13e)]:_0x3812dd)==null?_0x334d76[_0x12885c(0x175)]:_0xee255a):null;}[_0x174a03(0xe8)](_0x599115,_0x32219d){const _0x39f0d2=_0x174a03;var _0xc6ed3b;let _0x42221b=(_0xc6ed3b=this['getSource']())==null||(_0xc6ed3b=_0xc6ed3b[_0x39f0d2(0x17c)][_0x599115])==null?void 0x0:_0xc6ed3b[_0x39f0d2(0x11e)][_0x32219d];return _0x42221b!=null&&_0x42221b['margin']?_0x46d274['Tools'][_0x39f0d2(0x133)](_0x42221b[_0x39f0d2(0x166)]):null;}[_0x174a03(0x152)](){const _0x2c8185=_0x174a03;var _0x42bef3,_0x38ff87;return _0x46d274[_0x2c8185(0x167)][_0x2c8185(0x133)]((_0x42bef3=(_0x38ff87=this[_0x2c8185(0xd5)]())==null?void 0x0:_0x38ff87['cellMargin'])==null?_0x334d76[_0x2c8185(0x175)]:_0x42bef3);}['getDefaultCellMarginOverride'](){const _0x58bd7c=_0x174a03;var _0x362094;let _0x558675=(_0x362094=this[_0x58bd7c(0xd5)]())==null?void 0x0:_0x362094['cellMargin'];return _0x558675?_0x46d274['Tools'][_0x58bd7c(0x133)](_0x558675):null;}[_0x174a03(0xfe)](){const _0x2c78f6=_0x174a03;return this[_0x2c78f6(0x15e)][_0x2c78f6(0xe1)](_0x334d76[_0x2c78f6(0x198)])[_0x2c78f6(0x17e)](this['_unitId'],this[_0x2c78f6(0xf7)]);}['getSource'](){const _0x584d39=_0x174a03;var _0x2e41d4;return(_0x2e41d4=this['_getDocumentData']()[_0x584d39(0x173)])==null?void 0x0:_0x2e41d4[this['_tableId']];}[_0x174a03(0x1a8)](){const _0x4f9006=_0x174a03;return(0x0,_0x334d76['getTableRangeById'])(this[_0x4f9006(0x11a)](),this[_0x4f9006(0xf7)]);}[_0x174a03(0x155)](){const _0x1258c8=_0x174a03;return{'startRow':0x0,'endRow':Math[_0x1258c8(0x107)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x1258c8(0x107)](0x0,this[_0x1258c8(0x12f)]()-0x1)};}[_0x174a03(0x193)](_0x308122,_0x13b273){return{'startRow':_0x308122,'endRow':_0x308122,'startColumn':_0x13b273,'endColumn':_0x13b273};}[_0x174a03(0xdf)](_0x57f1f2,_0x51c06b){const _0x49c61e=_0x174a03;var _0x408b5d;let _0x1fde96=(_0x408b5d=(0x0,_0x334d76[_0x49c61e(0xf9)])(this[_0x49c61e(0x11a)](),this['_tableId']))==null||(_0x408b5d=_0x408b5d[_0x49c61e(0x194)][_0x57f1f2])==null?void 0x0:_0x408b5d[_0x49c61e(0x118)][_0x51c06b];if(!_0x1fde96)return null;let _0x575816=_0x1fde96['startOffset']+0x1;return{'startOffset':_0x575816,'endOffset':Math['max'](_0x575816,_0x1fde96[_0x49c61e(0x146)]-0x1),'segmentId':this[_0x49c61e(0x114)]};}[_0x174a03(0x1ae)](_0x297eb6,_0xaf2fc7){const _0x56b1e6=_0x174a03;var _0x2ebe9f,_0x400436;return(_0x2ebe9f=(_0x400436=this[_0x56b1e6(0xdf)](_0x297eb6,_0xaf2fc7))==null?void 0x0:_0x400436[_0x56b1e6(0x146)])==null?null:_0x2ebe9f;}['getRowRange'](_0x1cf4a7){const _0x326155=_0x174a03;return this[_0x326155(0x139)](_0x1cf4a7,0x1);}[_0x174a03(0x139)](_0x46e860,_0x308d7c=0x1){const _0x2c5499=_0x174a03;return{'startRow':_0x46e860,'endRow':_0x46e860+_0x308d7c-0x1,'startColumn':0x0,'endColumn':Math[_0x2c5499(0x107)](0x0,this[_0x2c5499(0x12f)]()-0x1)};}[_0x174a03(0x14a)](_0x45156c){const _0x243224=_0x174a03;return this[_0x243224(0x136)](_0x45156c,0x1);}[_0x174a03(0x136)](_0x588fa7,_0x436506=0x1){const _0x1be695=_0x174a03;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x1be695(0xde)]()-0x1),'startColumn':_0x588fa7,'endColumn':_0x588fa7+_0x436506-0x1};}[_0x174a03(0x180)](){const _0x1f0331=_0x174a03;return this[_0x1f0331(0x17f)](this[_0x1f0331(0x155)](),_0x334d76['DocsTableSelectionKind'][_0x1f0331(0x161)]);}[_0x174a03(0x169)](_0x3696f6){return this['selectRows'](_0x3696f6,0x1);}['selectRows'](_0x5905b2,_0x3772f0=0x1){const _0x1de351=_0x174a03;return this[_0x1de351(0x17f)](this[_0x1de351(0x139)](_0x5905b2,_0x3772f0),_0x334d76[_0x1de351(0x171)][_0x1de351(0x1a0)]);}[_0x174a03(0x1b0)](_0x58487b){const _0x736b6c=_0x174a03;return this[_0x736b6c(0x16b)](_0x58487b,0x1);}[_0x174a03(0x16b)](_0x3879aa,_0x5e734a=0x1){const _0x6bcc7d=_0x174a03;return this['selectRange'](this[_0x6bcc7d(0x136)](_0x3879aa,_0x5e734a),_0x334d76[_0x6bcc7d(0x171)][_0x6bcc7d(0xe5)]);}[_0x174a03(0xe4)](_0x44e230,_0x2de4e9){const _0x5a01ee=_0x174a03;return this['selectRange'](this['getCellRange'](_0x44e230,_0x2de4e9),_0x334d76['DocsTableSelectionKind'][_0x5a01ee(0xf6)]);}[_0x174a03(0x17f)](_0x5178f3,_0x371396=_0x334d76[_0x174a03(0x171)][_0x174a03(0x158)]){const _0x4b4876=_0x174a03;return this[_0x4b4876(0x15e)][_0x4b4876(0xe1)](_0x334d76['DocsTableSelectionService'])[_0x4b4876(0x170)]({..._0x5178f3,'kind':_0x371396,'segmentId':this[_0x4b4876(0x114)],'tableId':this[_0x4b4876(0xf7)]}),!0x0;}[_0x174a03(0x124)](_0x31059f){const _0x3ca395=_0x174a03;return this[_0x3ca395(0x15b)](_0x31059f,0x1);}[_0x174a03(0x191)](_0x57346c){const _0x4db5a5=_0x174a03;return this[_0x4db5a5(0x127)](_0x57346c,0x1);}[_0x174a03(0x15b)](_0x9f0d58,_0xf19f95){const _0x5e3dd7=_0x174a03;let _0x30daef=this[_0x5e3dd7(0x11a)](),_0x4771fa=(0x0,_0x334d76[_0x5e3dd7(0x15a)])(_0x30daef,this[_0x5e3dd7(0xf7)],_0x9f0d58,_0xf19f95,_0x334d76[_0x5e3dd7(0x18b)][_0x5e3dd7(0x16f)],this['_getBodyPath']());return _0x4771fa?this[_0x5e3dd7(0x18c)](_0x30daef,_0x4771fa[_0x5e3dd7(0x104)]):!0x1;}[_0x174a03(0x127)](_0xefd3ec,_0x144a0e){const _0x2d1810=_0x174a03;let _0x2c6a72=this[_0x2d1810(0x11a)](),_0x2b1e86=(0x0,_0x334d76['buildInsertTableRowsMutationActions'])(_0x2c6a72,this['_tableId'],_0xefd3ec,_0x144a0e,_0x334d76['DocsTableInsertPosition'][_0x2d1810(0x199)],this[_0x2d1810(0x16e)]());return _0x2b1e86?this[_0x2d1810(0x18c)](_0x2c6a72,_0x2b1e86['actions']):!0x1;}[_0x174a03(0x13d)](){const _0x40c347=_0x174a03;return this[_0x40c347(0x127)](Math[_0x40c347(0x107)](0x0,this[_0x40c347(0xde)]()-0x1),0x1);}['insertColumnBefore'](_0x29b2dd){return this['insertColumnsBefore'](_0x29b2dd,0x1);}['insertColumnAfter'](_0x37510a){const _0x344131=_0x174a03;return this[_0x344131(0x160)](_0x37510a,0x1);}[_0x174a03(0x12e)](_0x576722,_0x3e9f02){const _0x4eb7ce=_0x174a03;let _0x1f6dda=this[_0x4eb7ce(0x11a)](),_0x3a66a5=(0x0,_0x334d76[_0x4eb7ce(0x119)])(_0x1f6dda,this['_tableId'],_0x576722,_0x3e9f02,_0x334d76[_0x4eb7ce(0x18b)][_0x4eb7ce(0x195)],{'bodyPath':this[_0x4eb7ce(0x16e)]()});return _0x3a66a5?this[_0x4eb7ce(0x18c)](_0x1f6dda,_0x3a66a5['actions']):!0x1;}[_0x174a03(0x160)](_0x576c66,_0x11ba42){const _0x76bd4a=_0x174a03;let _0x5024e6=this[_0x76bd4a(0x11a)](),_0x5231b2=(0x0,_0x334d76['buildInsertTableColumnsMutationActions'])(_0x5024e6,this[_0x76bd4a(0xf7)],_0x576c66,_0x11ba42,_0x334d76[_0x76bd4a(0x18b)]['Right'],{'bodyPath':this['_getBodyPath']()});return _0x5231b2?this['_mutateActions'](_0x5024e6,_0x5231b2[_0x76bd4a(0x104)]):!0x1;}[_0x174a03(0x174)](){const _0x3bacfa=_0x174a03;return this[_0x3bacfa(0x160)](Math[_0x3bacfa(0x107)](0x0,this[_0x3bacfa(0x12f)]()-0x1),0x1);}['deleteRow'](_0x532a16){const _0x575875=_0x174a03;return this[_0x575875(0xfc)](_0x532a16,0x1);}['deleteRows'](_0x5350f4,_0x362c3b=0x1){const _0x3d0e5a=_0x174a03;let _0x109598=this[_0x3d0e5a(0x11a)](),_0x19f51c=(0x0,_0x334d76[_0x3d0e5a(0xd9)])(_0x109598,this[_0x3d0e5a(0xf7)],_0x5350f4,_0x5350f4+_0x362c3b-0x1,this[_0x3d0e5a(0x16e)]());return _0x19f51c?this[_0x3d0e5a(0x18c)](_0x109598,_0x19f51c[_0x3d0e5a(0x104)]):!0x1;}['deleteColumn'](_0x1249cb){const _0x3c5cf6=_0x174a03;return this[_0x3c5cf6(0x18d)](_0x1249cb,0x1);}[_0x174a03(0x18d)](_0x584b71,_0x12b6aa=0x1){const _0x5d9c42=_0x174a03;let _0xbfece=this['_getDocumentData'](),_0x54d172=(0x0,_0x334d76[_0x5d9c42(0x101)])(_0xbfece,this['_tableId'],_0x584b71,_0x584b71+_0x12b6aa-0x1,this[_0x5d9c42(0x16e)]());return _0x54d172?this[_0x5d9c42(0x18c)](_0xbfece,_0x54d172[_0x5d9c42(0x104)]):!0x1;}['deleteTable'](){const _0x21ee57=_0x174a03;let _0x826236=this[_0x21ee57(0x11a)](),_0x578ffa=(0x0,_0x334d76[_0x21ee57(0xf5)])(_0x826236,this[_0x21ee57(0xf7)],this['_getBodyPath']());return _0x578ffa?this[_0x21ee57(0x18c)](_0x826236,_0x578ffa['actions']):!0x1;}['moveTableBy'](_0x28dc5c,_0x3ee6f5){const _0x6e589b=_0x174a03;let _0x25a67f=this[_0x6e589b(0x11a)]();return this['_mutateActions'](_0x25a67f,(0x0,_0x334d76['buildMoveFloatingTableMutationActions'])(_0x25a67f,this[_0x6e589b(0xf7)],_0x28dc5c,_0x3ee6f5));}[_0x174a03(0x1ac)](_0x2fdd59){const _0x228d62=_0x174a03;let _0x1c3777=this['_getDocumentData']();return this[_0x228d62(0x18c)](_0x1c3777,(0x0,_0x334d76[_0x228d62(0x164)])(_0x1c3777,this[_0x228d62(0xf7)],_0x2fdd59,this[_0x228d62(0x16e)]()));}[_0x174a03(0xdc)](_0x248321,_0x31d60d,_0x44965f=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x16f)]){return this['moveRows'](_0x248321,0x1,_0x31d60d,_0x44965f);}['moveRows'](_0x58fdb8,_0x30d466,_0xcc7202,_0x24fcb9=_0x334d76['DocsTableInsertPosition']['Above']){const _0x2d73e9=_0x174a03;let _0x5c7d69=this['_getDocumentData'](),_0x361eb3=(0x0,_0x334d76[_0x2d73e9(0xd8)])(_0x5c7d69,this[_0x2d73e9(0xf7)],_0x58fdb8,_0xcc7202,_0x30d466,_0x24fcb9,this[_0x2d73e9(0x16e)]());return _0x361eb3?this['_mutateActions'](_0x5c7d69,_0x361eb3['actions']):!0x1;}[_0x174a03(0x19a)](_0x17e6b0,_0x3affde,_0x2d6292=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x195)]){const _0xea11a5=_0x174a03;return this[_0xea11a5(0x18a)](_0x17e6b0,0x1,_0x3affde,_0x2d6292);}[_0x174a03(0x18a)](_0x2dc3da,_0x57ce6c,_0x181428,_0x4e6fce=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x195)]){const _0x46e5f7=_0x174a03;let _0x45761f=this[_0x46e5f7(0x11a)](),_0x1008a9=(0x0,_0x334d76[_0x46e5f7(0xee)])(_0x45761f,this['_tableId'],_0x2dc3da,_0x181428,_0x57ce6c,_0x4e6fce,this['_getBodyPath']());return _0x1008a9?this['_mutateActions'](_0x45761f,_0x1008a9[_0x46e5f7(0x104)]):!0x1;}[_0x174a03(0xf0)](_0x26a4ff){const _0x2cfa79=_0x174a03;try{let _0x150e97=this['_getDocumentData'](),_0x1ba217=(0x0,_0x334d76[_0x2cfa79(0xdd)])({'documentData':_0x150e97,'tableId':this[_0x2cfa79(0xf7)],..._0x26a4ff});return _0x1ba217?this[_0x2cfa79(0x18c)](_0x150e97,_0x1ba217[_0x2cfa79(0x104)],_0x26a4ff):!0x1;}catch{return!0x1;}}[_0x174a03(0x108)](_0x1a4b15){const _0x4b7ee8=_0x174a03;try{let _0x4b88b1=this[_0x4b7ee8(0x11a)](),_0x2665fb=(0x0,_0x334d76['buildUnmergeCellsMutationActions'])({'documentData':_0x4b88b1,'tableId':this[_0x4b7ee8(0xf7)],..._0x1a4b15});return _0x2665fb?this[_0x4b7ee8(0x18c)](_0x4b88b1,_0x2665fb[_0x4b7ee8(0x104)],_0x1a4b15):!0x1;}catch{return!0x1;}}[_0x174a03(0x16a)](_0x465d83,_0x5a208b,_0x407b3e){const _0x149b9b=_0x174a03;let _0x5743e7=this['_getDocumentData'](),_0x558a0a=(0x0,_0x334d76['getTableActionBodyPath'])(this[_0x149b9b(0x16c)][_0x149b9b(0x13b)]()[_0x149b9b(0x143)](),this[_0x149b9b(0x114)]);return this[_0x149b9b(0x18c)](_0x5743e7,(0x0,_0x334d76[_0x149b9b(0x19e)])({'documentData':_0x5743e7,'tableId':this['_tableId'],'row':_0x465d83,'column':_0x5a208b,'text':_0x407b3e},_0x558a0a),this['getCellRange'](_0x465d83,_0x5a208b));}[_0x174a03(0x156)](_0x33cb7b,_0x2b0736){const _0x4666a4=_0x174a03;let _0xcf5bfc=this['_getDocumentData']();return this[_0x4666a4(0x18c)](_0xcf5bfc,(0x0,_0x334d76[_0x4666a4(0xd6)])(_0xcf5bfc,{'tableId':this[_0x4666a4(0xf7)],..._0x33cb7b,'value':_0x2b0736}),_0x33cb7b);}[_0x174a03(0xef)](_0x224afc,_0x21ebf1){const _0x21e8ca=_0x174a03;let _0x1e71f8=this[_0x21e8ca(0x11a)]();return this[_0x21e8ca(0x18c)](_0x1e71f8,(0x0,_0x334d76[_0x21e8ca(0x185)])({'documentData':_0x1e71f8,'tableId':this[_0x21e8ca(0xf7)],..._0x224afc,'margin':_0x21ebf1}),_0x224afc);}[_0x174a03(0xda)](_0x43cfff){const _0x169a66=_0x174a03;let _0x405e0e=this[_0x169a66(0x11a)]();return this[_0x169a66(0x18c)](_0x405e0e,(0x0,_0x334d76[_0x169a66(0x1ab)])(_0x405e0e,this['_tableId'],_0x43cfff));}[_0x174a03(0x1a2)](_0x349b06,_0xaf989b){const _0x53d7ef=_0x174a03;var _0xc2ac95,_0x1048a1,_0x241bf7,_0x1c71cf;let _0xf44043=this[_0x53d7ef(0x11a)]();return this[_0x53d7ef(0x18c)](_0xf44043,(0x0,_0x334d76['buildSetTableBorderMutationActions'])({'documentData':_0xf44043,'tableId':this[_0x53d7ef(0xf7)],..._0x349b06,'preset':(_0xc2ac95=_0xaf989b[_0x53d7ef(0x11d)])==null?_0x334d76[_0x53d7ef(0x135)][_0x53d7ef(0x18f)]:_0xc2ac95,'border':(_0x1048a1=_0xaf989b['border'])==null?{'color':{'rgb':(_0x241bf7=_0xaf989b[_0x53d7ef(0x116)])==null?_0x53d7ef(0xed):_0x241bf7},'width':{'v':(_0x1c71cf=_0xaf989b[_0x53d7ef(0x17b)])==null?0x1:_0x1c71cf},'dashStyle':_0x46d274['DashStyleType'][_0x53d7ef(0x17a)]}:_0x1048a1}),_0x349b06);}[_0x174a03(0x176)](_0x3a49bd){return this['setCellBackground'](this['getTableRange'](),_0x3a49bd);}[_0x174a03(0x120)](_0x2f81b4){const _0x47da14=_0x174a03;return this['setBorder'](this[_0x47da14(0x155)](),_0x2f81b4);}[_0x174a03(0x172)](_0xa45f65){const _0x5bd623=_0x174a03;let _0xd955da=_0xa45f65[_0x5bd623(0x10c)]?this[_0x5bd623(0x176)](_0xa45f65[_0x5bd623(0x10c)]):!0x0,_0x48858f=_0xa45f65[_0x5bd623(0x106)]?this['setTableBorder'](_0xa45f65[_0x5bd623(0x106)]):!0x0;return _0xd955da&&_0x48858f;}[_0x174a03(0xfa)](_0x1511dc,_0x21a650,_0x49ee8e=_0x46d274[_0x174a03(0x148)][_0x174a03(0xec)]){const _0x1ee674=_0x174a03;var _0x181208;let _0x2b5723=this[_0x1ee674(0x11a)]();return!((_0x181208=_0x2b5723[_0x1ee674(0x173)])==null||(_0x181208=_0x181208[this[_0x1ee674(0xf7)]])==null)&&_0x181208[_0x1ee674(0x17c)][_0x1511dc]?this[_0x1ee674(0x18c)](_0x2b5723,(0x0,_0x334d76[_0x1ee674(0x168)])(_0x2b5723,this['_tableId'],_0x1511dc,_0x21a650,_0x49ee8e)):!0x1;}[_0x174a03(0x189)](_0x4437f9){const _0x229c88=_0x174a03;var _0xc9425f;let _0x46dffa=(_0xc9425f=this[_0x229c88(0xd5)]())==null||(_0xc9425f=_0xc9425f[_0x229c88(0x17c)][_0x4437f9])==null?void 0x0:_0xc9425f[_0x229c88(0x16d)];return _0x46dffa?_0x46d274['Tools'][_0x229c88(0x133)](_0x46dffa):null;}[_0x174a03(0x15c)](_0x3a0665,_0x240ed3){const _0x37204a=_0x174a03;var _0xfbfdf4;let _0x5800be=this[_0x37204a(0x11a)]();return!((_0xfbfdf4=_0x5800be['tableSource'])==null||(_0xfbfdf4=_0xfbfdf4[this[_0x37204a(0xf7)]])==null)&&_0xfbfdf4[_0x37204a(0x154)][_0x3a0665]?this[_0x37204a(0x18c)](_0x5800be,(0x0,_0x334d76['buildResizeTableColumnActionsFromWidth'])(_0x5800be,this[_0x37204a(0xf7)],_0x3a0665,_0x240ed3)):!0x1;}[_0x174a03(0x177)](_0x23a795=0x0,_0xd32ac0=this['getRowCount']()){const _0x478db6=_0x174a03;let _0x190d13=this['_getDocumentData']();return this['_mutateActions'](_0x190d13,(0x0,_0x334d76['buildDistributeTableRowsMutationActions'])(_0x190d13,this[_0x478db6(0xf7)],_0x23a795,_0x23a795+_0xd32ac0-0x1));}[_0x174a03(0x10d)](_0x51261b=0x0,_0x1a6fa1=this[_0x174a03(0x12f)]()){const _0x276606=_0x174a03;let _0x581127=this['_getDocumentData']();return this[_0x276606(0x18c)](_0x581127,(0x0,_0x334d76['buildDistributeTableColumnsMutationActions'])(_0x581127,this[_0x276606(0xf7)],_0x51261b,_0x51261b+_0x1a6fa1-0x1));}[_0x174a03(0xfb)](){const _0x981ca=_0x174a03;var _0x1e8d14,_0x4c8e2e;return(_0x1e8d14=(_0x4c8e2e=this[_0x981ca(0xfe)]())==null?void 0x0:_0x4c8e2e['headerRowCount'])==null?0x0:_0x1e8d14;}[_0x174a03(0x110)](_0x33068c){const _0x7773c4=_0x174a03;let _0x26e832=this[_0x7773c4(0x15e)][_0x7773c4(0xe1)](_0x334d76[_0x7773c4(0x198)]),_0x5c6561=this[_0x7773c4(0x11a)](),_0x4913d8=(0x0,_0x334d76['buildSetTableHeaderRowCountMutationActions'])(_0x5c6561,this['_tableId'],_0x33068c);if(!_0x4913d8)return!0x1;let _0x3fc2e5=this['_mutateActions'](_0x5c6561,_0x4913d8['actions']);return _0x3fc2e5&&_0x26e832[_0x7773c4(0x110)](this[_0x7773c4(0x187)],this[_0x7773c4(0xf7)],_0x4913d8['headerRowCount']),_0x3fc2e5;}[_0x174a03(0x1b1)](_0x1a311b){const _0x214487=_0x174a03;return this[_0x214487(0x110)](_0x1a311b);}[_0x174a03(0x162)](){const _0x274c90=_0x174a03;var _0x5a3679,_0x56b270;return(_0x5a3679=(_0x56b270=this[_0x274c90(0xfe)]())==null?void 0x0:_0x56b270['titleRow'])==null?!0x1:_0x5a3679;}[_0x174a03(0x125)](){const _0x28a287=_0x174a03;let _0x4c9fba=this['_injector'][_0x28a287(0xe1)](_0x334d76[_0x28a287(0x198)]),_0x43f2a3=this[_0x28a287(0x11a)](),_0x5849b6=(0x0,_0x334d76['buildInsertTableTitleRowMutationActions'])(_0x43f2a3,this[_0x28a287(0xf7)],this[_0x28a287(0x16e)]());if(!_0x5849b6)return!0x1;let _0x54761e=this['_mutateActions'](_0x43f2a3,_0x5849b6['actions']);return _0x54761e&&_0x4c9fba[_0x28a287(0x123)](this['_unitId'],this[_0x28a287(0xf7)],!0x0),_0x54761e;}[_0x174a03(0x163)](_0xc16d15,_0x223000){const _0x3b90ac=_0x174a03;return this['_injector'][_0x3b90ac(0xe1)](_0x334d76['DocsTableModel'])['setColumnType'](this[_0x3b90ac(0x187)],this[_0x3b90ac(0xf7)],_0xc16d15,_0x223000),!0x0;}[_0x174a03(0x192)](_0x3d1760,_0x1f9f64){const _0x8ec67d=_0x174a03;let _0x35a531=this[_0x8ec67d(0x11a)]();return this[_0x8ec67d(0x18c)](_0x35a531,(0x0,_0x334d76[_0x8ec67d(0xf4)])(_0x35a531,this[_0x8ec67d(0x102)](),this[_0x8ec67d(0xf7)],_0x3d1760,_0x1f9f64,this[_0x8ec67d(0x16e)]()));}[_0x174a03(0x11a)](){const _0x46b7a7=_0x174a03;let _0x1a73e5=this[_0x46b7a7(0x16c)][_0x46b7a7(0x13b)]()['getSnapshot']();return this['_segmentId']?{...this[_0x46b7a7(0x16c)][_0x46b7a7(0x13b)](this[_0x46b7a7(0x114)])[_0x46b7a7(0x143)](),'documentStyle':_0x1a73e5[_0x46b7a7(0x129)],'tableSource':_0x1a73e5[_0x46b7a7(0x173)]}:_0x1a73e5;}[_0x174a03(0x102)](){const _0x10e98c=_0x174a03;return this[_0x10e98c(0x15e)]['get'](_0x334d76[_0x10e98c(0x198)])[_0x10e98c(0x122)](this[_0x10e98c(0x187)]);}[_0x174a03(0x16e)](){const _0x4cffec=_0x174a03;return(0x0,_0x334d76[_0x4cffec(0x165)])(this[_0x4cffec(0x16c)][_0x4cffec(0x13b)]()[_0x4cffec(0x143)](),this[_0x4cffec(0x114)]);}['_mutateActions'](_0x264540,_0x533645,_0x5c7347){const _0x44b2f2=_0x174a03;return(0x0,_0x334d76[_0x44b2f2(0x159)])(this[_0x44b2f2(0x15e)][_0x44b2f2(0xe1)](_0x46d274[_0x44b2f2(0x1af)]),this[_0x44b2f2(0x187)],_0x264540,_0x533645,_0x5c7347?{'tableId':this['_tableId'],'segmentId':this[_0x44b2f2(0x114)],..._0x5c7347}:void 0x0);}},_0x8bac75=class extends _0x5b6186[_0x174a03(0xfd)]{[_0x174a03(0x184)](_0x4cd006=''){const _0x531db0=_0x174a03;return this[_0x531db0(0x149)](_0x4cd006)['map'](_0x3a5e3a=>this[_0x531db0(0xea)](_0x3a5e3a[_0x531db0(0x14b)],_0x4cd006));}[_0x174a03(0x131)](_0xf23f46,_0x46fa8a=''){const _0x223a30=_0x174a03;return this['_getTables'](_0x46fa8a)['some'](_0x515198=>_0x515198[_0x223a30(0x14b)]===_0xf23f46)?this[_0x223a30(0xea)](_0xf23f46,_0x46fa8a):null;}[_0x174a03(0xe0)](_0x5a8c8e,_0x2139f2=''){const _0x125bf4=_0x174a03;var _0x5b079f;let _0x573844=(_0x5b079f=this[_0x125bf4(0x149)](_0x2139f2)[_0x5a8c8e])==null?void 0x0:_0x5b079f['tableId'];return _0x573844?this[_0x125bf4(0xea)](_0x573844,_0x2139f2):null;}['getTableAtSelection'](){const _0xa28104=_0x174a03;let _0x2be6de=this[_0xa28104(0x15e)][_0xa28104(0xe1)](_0x334d76[_0xa28104(0x115)])['getStableTableSelection']();return _0x2be6de!=null&&_0x2be6de[_0xa28104(0x14b)]?this[_0xa28104(0xea)](_0x2be6de[_0xa28104(0x14b)],_0x2be6de[_0xa28104(0x117)]):null;}['findTableByText'](_0x1aae81,_0x1354b7=''){const _0x238c00=_0x174a03;var _0x108993;return(_0x108993=this[_0x238c00(0x1a1)](_0x1aae81,_0x1354b7)[0x0])==null?null:_0x108993;}['findTables'](_0x351709,_0x3dd041=''){const _0x1f013e=_0x174a03;let _0x291b75=this[_0x1f013e(0x19c)](_0x3dd041),_0x1d0c02=typeof _0x351709=='string'?{'text':_0x351709}:_0x351709;return this['getTables'](_0x3dd041)[_0x1f013e(0x13c)](_0x40bc5a=>{const _0x56a0c5=_0x1f013e;let _0x4f520c=_0x40bc5a[_0x56a0c5(0x11c)]();return!(_0x1d0c02[_0x56a0c5(0x14b)]&&_0x4f520c!==_0x1d0c02[_0x56a0c5(0x14b)]||_0x1d0c02['text']&&!this[_0x56a0c5(0xeb)](_0x291b75,_0x4f520c,_0x1d0c02[_0x56a0c5(0x183)])||_0x1d0c02[_0x56a0c5(0x153)]&&!this[_0x56a0c5(0x105)](_0x40bc5a,0x0,_0x1d0c02[_0x56a0c5(0x153)])||_0x1d0c02[_0x56a0c5(0x182)]&&!this['_rowContainsText'](_0x40bc5a,0x0,_0x1d0c02[_0x56a0c5(0x182)]));});}[_0x174a03(0x140)](_0x1683e2,_0x1d8737,_0x174ff4={}){const _0x36f83b=_0x174a03;var _0xb8bdd2,_0x3cd7e3;let _0x45db6c=this['_injector']['get'](_0x46d274[_0x36f83b(0x1af)]),_0x5a7eca=(_0xb8bdd2=_0x174ff4[_0x36f83b(0x14b)])==null?(0x0,_0x46d274[_0x36f83b(0x1ad)])(0x6):_0xb8bdd2;return _0x45db6c[_0x36f83b(0x142)](_0x334d76[_0x36f83b(0x19d)]['id'],{..._0x174ff4,'unitId':this[_0x36f83b(0x11c)](),'rows':_0x1683e2,'columns':_0x1d8737,'tableId':_0x5a7eca})?this[_0x36f83b(0xea)](_0x5a7eca,(_0x3cd7e3=_0x174ff4[_0x36f83b(0x117)])==null?'':_0x3cd7e3):null;}[_0x174a03(0x1a4)](_0x31db3a,_0x36cba5={}){const _0x1955b8=_0x174a03;var _0x384949,_0x2e3b06;let _0x50fd3c=this[_0x1955b8(0x15e)]['get'](_0x46d274[_0x1955b8(0x1af)]),_0x3b551a=(_0x384949=_0x36cba5[_0x1955b8(0x14b)])==null?(0x0,_0x46d274[_0x1955b8(0x1ad)])(0x6):_0x384949;return _0x50fd3c[_0x1955b8(0x142)](_0x334d76['DocsTableInsertTableCommand']['id'],{..._0x36cba5,'unitId':this['getId'](),'values':_0x31db3a,'tableId':_0x3b551a})?this[_0x1955b8(0xea)](_0x3b551a,(_0x2e3b06=_0x36cba5[_0x1955b8(0x117)])==null?'':_0x2e3b06):null;}['_getTables'](_0x2e00ff=''){let {tables:_0x3022df=[]}=this['getBody'](_0x2e00ff);return _0x3022df;}[_0x174a03(0x19c)](_0x3f4bc7=''){const _0x6637a4=_0x174a03;let _0xe05fe7=this['getDocumentDataModel']()[_0x6637a4(0x143)]();return _0x3f4bc7?{...this['getDocumentDataModel'](_0x3f4bc7)['getSnapshot'](),'documentStyle':_0xe05fe7[_0x6637a4(0x129)],'tableSource':_0xe05fe7[_0x6637a4(0x173)]}:_0xe05fe7;}[_0x174a03(0xea)](_0x53337a,_0x40b80c=''){const _0x45e86f=_0x174a03;return this[_0x45e86f(0x15e)]['createInstance'](_0x3064e4,this,_0x53337a,_0x40b80c,this[_0x45e86f(0x15e)]);}[_0x174a03(0xeb)](_0x57d723,_0x13772a,_0x173dc7){const _0x15b075=_0x174a03;var _0x3a959c;let _0x7b383e=(0x0,_0x334d76[_0x15b075(0xf9)])(_0x57d723,_0x13772a);if(!_0x7b383e)return!0x1;let _0x38ef8e=(_0x3a959c=_0x57d723[_0x15b075(0x19f)])==null?void 0x0:_0x3a959c[_0x15b075(0x132)];return _0x38ef8e?_0x38ef8e[_0x15b075(0x19b)](_0x7b383e['startOffset'],_0x7b383e[_0x15b075(0x146)])[_0x15b075(0x147)](_0x173dc7):!0x1;}['_rowContainsText'](_0x2872d1,_0x1db8d8,_0x56277c){const _0x5fdfe9=_0x174a03;return Array[_0x5fdfe9(0x196)]({'length':_0x2872d1[_0x5fdfe9(0x12f)]()},(_0x36b528,_0x443b5f)=>_0x2872d1[_0x5fdfe9(0x1a9)](_0x1db8d8,_0x443b5f))[_0x5fdfe9(0x126)](_0x1c7c18=>_0x1c7c18[_0x5fdfe9(0x147)](_0x56277c));}};_0x5b6186[_0x174a03(0xfd)][_0x174a03(0x12c)](_0x8bac75),_0x449d82['FDocumentTable']=_0x3064e4,_0x449d82[_0x174a03(0x17d)]=_0x38c491;}));function _0x55d4(){const _0x60564=['hasTitleRow','setColumnType','buildMoveTableToOffsetMutationActions','getTableActionBodyPath','margin','Tools','buildResizeTableRowActionsFromHeight','selectRow','setCellText','selectColumns','_document','trHeight','_getBodyPath','Above','setStructuralSelection','DocsTableSelectionKind','setTableStyle','tableSource','appendColumn','DEFAULT_DOCS_TABLE_CELL_MARGIN','setTableBackground','distributeRows','length','UniverDocsFacade','SOLID','width','tableRows','FDocumentTableCell','getTableMetadata','selectRange','selectTable','2098648mOqkwt','titleText','text','getTables','buildSetTableCellMarginMutationActions','@univerjs/docs/facade','_unitId','getText','getRowHeight','moveColumns','DocsTableInsertPosition','_mutateActions','deleteColumns','toStringTag','All','@univerjs/core','insertRowAfter','sortByColumn','getCellRange','rows','Left','from','5TRnjeg','DocsTableModel','Below','moveColumn','slice','_getTableDocumentData','DocsTableInsertTableCommand','buildSetTableCellTextMutationActions','body','Row','findTables','setBorder','_row','insertTableFromData','getContentRange','getInsertOffset','defineProperty','getRange','getCellText','describe','buildSetTableDefaultCellMarginMutationActions','moveTableToOffset','generateRandomId','getCellInsertOffset','ICommandService','selectColumn','pinHeaderRows','83548ZFaHMa','3411ambPNy','DocsTableRowInsertPosition','getSource','buildSetTableBackgroundMutationActions','getMarginOverride','buildMoveTableRowsMutationActions','buildDeleteTableRowsMutationActions','setDefaultCellMargin','mergeTo','moveRow','buildMergeCellsMutationActions','getRowCount','getCellContentRange','getTableAt','get','1713LPNIut','createInstance','selectCell','Column','function','getColumnIndex','getCellMarginOverride','getRowIndex','_createFDocumentTable','_tableContainsText','AT_LEAST','#1f1f1f','buildMoveTableColumnsMutationActions','setCellMargin','mergeCells','iterator','getCellMargin','amd','buildSortTableMutationActions','buildDeleteTableMutationActions','Cell','_tableId','getInfo','getTableRangeById','setRowHeight','getHeaderRowCount','deleteRows','FDocument','getMetadata','getSegmentId','setBackgroundColor','buildDeleteTableColumnsMutationActions','_serializeModel','15441540QLFWos','actions','_rowContainsText','border','max','unmergeCells','object','constructor','6811992GLJywc','backgroundColor','distributeColumns','_column','_table','setHeaderRowCount','unmerge','9250zDnJUr','DashStyleType','_segmentId','DocsTableSelectionService','color','segmentId','cells','buildInsertTableColumnsMutationActions','_getDocumentData','size','getId','preset','tableCells','symbol','setTableBorder','@univerjs-pro/docs-table','serialize','setTitleRow','insertRowBefore','insertTitleRow','some','insertRowsAfter','7Lzxyah','documentStyle','FEnum','columnTypes','extend','1370910uuTxNi','insertColumnsBefore','getColumnCount','DocsTableSortDirection','getTable','dataStream','deepClone','type','DocsTableBorderPreset','getColumnsRange','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DocsTableColumnInsertPosition','getRowsRange','428KZTqkB','getDocumentDataModel','filter','appendRow','cellMargin','string','insertTable','12ZdYKmO','syncExecuteCommand','getSnapshot','UniverProDocsTableFacade','UniverCoreFacade','endOffset','includes','TableRowHeightRule','_getTables','getColumnRange','tableId','exports','headerRowCount','prototype','DocsTableInsertTablePosition','DocsTableColumnType','titleRow','getDefaultCellMargin','headerText','tableColumns','getTableRange','setCellBackground','UniverProDocsTable','Range','executeRichTextTableActions','buildInsertTableRowsMutationActions','insertRowsBefore','setColumnWidth','UniverCore','_injector','startOffset','insertColumnsAfter','Table'];_0x55d4=function(){return _0x60564;};return _0x55d4();}