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

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/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x481001=_0x327c;(function(_0x4372b5,_0x355fbb){const _0x30a29d=_0x327c,_0x507a95=_0x4372b5();while(!![]){try{const _0x35e791=parseInt(_0x30a29d(0x28b))/0x1*(-parseInt(_0x30a29d(0x1f3))/0x2)+parseInt(_0x30a29d(0x27a))/0x3+parseInt(_0x30a29d(0x2a4))/0x4+-parseInt(_0x30a29d(0x1fd))/0x5*(parseInt(_0x30a29d(0x292))/0x6)+-parseInt(_0x30a29d(0x238))/0x7*(-parseInt(_0x30a29d(0x28c))/0x8)+parseInt(_0x30a29d(0x2a5))/0x9*(-parseInt(_0x30a29d(0x260))/0xa)+parseInt(_0x30a29d(0x2ba))/0xb;if(_0x35e791===_0x355fbb)break;else _0x507a95['push'](_0x507a95['shift']());}catch(_0x5155c0){_0x507a95['push'](_0x507a95['shift']());}}}(_0x275c,0x1aa33),Object[_0x481001(0x251)](exports,Symbol[_0x481001(0x274)],{'value':_0x481001(0x27f)}));function _0x275c(){const _0x112a3b=['1fgVUOJ','8HxABet','DocsTableModel','_rowContainsText','setText','executeRichTextTableActions','insertColumnsAfter','6kSsfmm','setRowHeight','_row','DEFAULT_DOCS_TABLE_CELL_MARGIN','_mutateActions','getColumnsRange','insertTable','getColumnRange','replace','function','cellMargin','titleText','deleteColumn','buildSetTableHeaderRowCountMutationActions','_getTables','columnTypes','buildInsertTableColumnsMutationActions','tableId','17400gjiSyJ','1187847lpgjhi','buildDistributeTableColumnsMutationActions','getRowsRange','DocsTableBorderPreset','appendRow','setMargin','some','getId','getTableMetadata','buildSetTableCellMarginMutationActions','insertColumnBefore','getCellRange','startOffset','moveColumn','_getDocumentData','setBorder','buildSetTableBorderMutationActions','selectRange','endOffset','getContentRange','moveColumns','2764839VOczYd','DocsTableInsertPosition','Below','buildMergeCellsMutationActions','DocsTableColumnInsertPosition','distributeRows','getTableActionBodyPath','setCellMargin','documentStyle','margin','selectTable','headerRowCount','getTableAt','_document','findTableByText','cells','dataStream','DocsTableSortDirection','222418bCEkSD','buildDeleteTableRowsMutationActions','unmergeCells','trHeight','buildMoveTableToOffsetMutationActions','buildResizeTableRowActionsFromHeight','findTables','DocsTableInsertTablePosition','buildDeleteTableMutationActions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','870565leUDtL','ICommandService','mergeCells','Left','getTableAtSelection','DocsTableSelectionService','moveRow','DocsTableRowInsertPosition','Right','getCellMarginOverride','max','setStructuralSelection','body','generateRandomId','getTableRangeById','setDefaultCellMargin','getSource','from','insertRowBefore','unmerge','default','sortByColumn','createInstance','Cell','includes','preset','getMargin','setTableBorder','getStableTableSelection','getCellText','getRowHeight','_getTableDocumentData','insertRowsBefore','getCell','getTables','Tools','selectColumns','syncExecuteCommand','deleteTable','segmentId','setTableBackground','selectColumn','buildResizeTableColumnActionsFromWidth','_column','getMetadata','slice','map','getRange','symbol','moveTableBy','_segmentId','iterator','appendColumn','Row','getRowIndex','headerText','rows','DocsTableSelectionKind','_injector','1137185OUUjEz','insertTableFromData','setHeaderRowCount','FDocumentTableCell','_getBodyPath','getCellMargin','buildSortTableMutationActions','setTitleRow','width','text','getCellInsertOffset','Above','getTable','_tableId','filter','insertRowAfter','buildSetTableBackgroundMutationActions','size','buildMoveFloatingTableMutationActions','setCellBackground','clearMarginOverride','FEnum','buildInsertTableRowsMutationActions','deepClone','actions','defineProperty','getColumnCount','_createFDocumentTable','_serializeModel','DocsTableColumnType','buildDistributeTableRowsMutationActions','getSnapshot','getColumnIndex','getRowCount','titleRow','Table','setBackgroundColor','getSegmentId','_table','setTableStyle','10IKAJMw','getCellContentRange','selectCell','moveTableToOffset','Range','_tableContainsText','color','getMarginOverride','_unitId','getHeaderRowCount','getDocumentDataModel','TableRowHeightRule','constructor','backgroundColor','type','getInsertOffset','moveRows','setColumnWidth','border','buildMoveTableColumnsMutationActions','toStringTag','tableColumns','string','tableCells','get','DashStyleType','324774OPvEyM','extend','insertRowsAfter','pinHeaderRows','All','Module','getTableRange','tableRows','FDocument','setCellText','selectRow','DocsTableInsertTableCommand','object','tableSource','deleteRows','selectRows','insertColumnAfter'];_0x275c=function(){return _0x112a3b;};return _0x275c();}let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');var i=class extends n[_0x481001(0x24d)]{get['DocsTableInsertTablePosition'](){const _0x4e7533=_0x481001;return e[_0x4e7533(0x1fa)];}get[_0x481001(0x255)](){const _0x410c36=_0x481001;return e[_0x410c36(0x255)];}get['DocsTableSelectionKind'](){const _0x572b06=_0x481001;return e[_0x572b06(0x236)];}get['DocsTableRowInsertPosition'](){const _0x1b77ae=_0x481001;return e[_0x1b77ae(0x204)];}get[_0x481001(0x2be)](){return e['DocsTableColumnInsertPosition'];}get['DocsTableBorderPreset'](){return e['DocsTableBorderPreset'];}get['DocsTableSortDirection'](){const _0x43d117=_0x481001;return e[_0x43d117(0x1f2)];}get[_0x481001(0x279)](){return t['DashStyleType'];}};n['FEnum'][_0x481001(0x27b)](i);var a=class{constructor(_0x4a3dfe,_0x46dcb3,_0x3580b2){const _0x2ee0d9=_0x481001;this[_0x2ee0d9(0x25e)]=_0x4a3dfe,this[_0x2ee0d9(0x294)]=_0x46dcb3,this[_0x2ee0d9(0x228)]=_0x3580b2;}['getTable'](){return this['_table'];}[_0x481001(0x233)](){const _0x2c3bd7=_0x481001;return this[_0x2c3bd7(0x294)];}[_0x481001(0x258)](){const _0x2f6049=_0x481001;return this[_0x2f6049(0x228)];}['getText'](){const _0x4cc1dd=_0x481001;return this[_0x4cc1dd(0x25e)]['getCellText'](this['_row'],this[_0x4cc1dd(0x228)]);}[_0x481001(0x2b8)](){const _0x187d74=_0x481001;return this[_0x187d74(0x25e)][_0x187d74(0x261)](this['_row'],this[_0x187d74(0x228)]);}[_0x481001(0x26f)](){const _0x127892=_0x481001;return this[_0x127892(0x25e)][_0x127892(0x242)](this[_0x127892(0x294)],this[_0x127892(0x228)]);}[_0x481001(0x217)](){const _0x66c186=_0x481001;return this['_table'][_0x66c186(0x23d)](this[_0x66c186(0x294)],this[_0x66c186(0x228)]);}[_0x481001(0x267)](){const _0x18a65d=_0x481001;return this[_0x18a65d(0x25e)][_0x18a65d(0x206)](this[_0x18a65d(0x294)],this['_column']);}[_0x481001(0x2aa)](_0x9a109e){const _0x16099e=_0x481001;return this[_0x16099e(0x25e)]['setCellMargin'](this['_table'][_0x16099e(0x2b0)](this[_0x16099e(0x294)],this[_0x16099e(0x228)]),_0x9a109e);}[_0x481001(0x24c)](){const _0x59b466=_0x481001;return this[_0x59b466(0x25e)]['setCellMargin'](this[_0x59b466(0x25e)][_0x59b466(0x2b0)](this[_0x59b466(0x294)],this[_0x59b466(0x228)]),null);}[_0x481001(0x28f)](_0x2c7cbd){const _0xd28625=_0x481001;return this[_0xd28625(0x25e)][_0xd28625(0x283)](this[_0xd28625(0x294)],this[_0xd28625(0x228)],_0x2c7cbd);}[_0x481001(0x25c)](_0x5bc583){const _0x18a337=_0x481001;return this[_0x18a337(0x25e)][_0x18a337(0x24b)](this['_table']['getCellRange'](this[_0x18a337(0x294)],this[_0x18a337(0x228)]),_0x5bc583);}['setBorder'](_0x5776b3){const _0x59024f=_0x481001;return this[_0x59024f(0x25e)]['setBorder'](this[_0x59024f(0x25e)]['getCellRange'](this[_0x59024f(0x294)],this[_0x59024f(0x228)]),_0x5776b3);}['mergeTo'](_0x184e0f,_0x5dd18f){const _0x2755cb=_0x481001;return this[_0x2755cb(0x25e)]['mergeCells']({'startRow':this[_0x2755cb(0x294)],'startColumn':this[_0x2755cb(0x228)],'endRow':this['_row']+_0x184e0f-0x1,'endColumn':this['_column']+_0x5dd18f-0x1});}[_0x481001(0x210)](){const _0x482488=_0x481001;return this[_0x482488(0x25e)][_0x482488(0x1f5)](this[_0x482488(0x25e)][_0x482488(0x2b0)](this['_row'],this[_0x482488(0x228)]));}};function _0x327c(_0x2ac633,_0x2c384c){_0x2ac633=_0x2ac633-0x1ec;const _0x275c22=_0x275c();let _0x327c54=_0x275c22[_0x2ac633];return _0x327c54;}function o(_0x16c278){'@babel/helpers - typeof';const _0x150442=_0x481001;return o=typeof Symbol==_0x150442(0x29b)&&typeof Symbol[_0x150442(0x230)]=='symbol'?function(_0xb5ad9b){return typeof _0xb5ad9b;}:function(_0x1e6ef5){const _0x10badf=_0x150442;return _0x1e6ef5&&typeof Symbol==_0x10badf(0x29b)&&_0x1e6ef5[_0x10badf(0x26c)]===Symbol&&_0x1e6ef5!==Symbol['prototype']?_0x10badf(0x22d):typeof _0x1e6ef5;},o(_0x16c278);}function s(_0x3569f8,_0x5b4e94){const _0x1f1ed8=_0x481001;if(o(_0x3569f8)!=_0x1f1ed8(0x286)||!_0x3569f8)return _0x3569f8;var _0x107296=_0x3569f8[Symbol['toPrimitive']];if(_0x107296!==void 0x0){var _0x31364c=_0x107296['call'](_0x3569f8,_0x5b4e94||_0x1f1ed8(0x211));if(o(_0x31364c)!=_0x1f1ed8(0x286))return _0x31364c;throw TypeError(_0x1f1ed8(0x1fc));}return(_0x5b4e94===_0x1f1ed8(0x276)?String:Number)(_0x3569f8);}function c(_0x55c196){const _0x4dae34=_0x481001;var _0x20e67b=s(_0x55c196,'string');return o(_0x20e67b)==_0x4dae34(0x22d)?_0x20e67b:_0x20e67b+'';}function l(_0x221de2,_0x3dbda2,_0x5948cd){return(_0x3dbda2=c(_0x3dbda2))in _0x221de2?Object['defineProperty'](_0x221de2,_0x3dbda2,{'value':_0x5948cd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x221de2[_0x3dbda2]=_0x5948cd,_0x221de2;}var u=class{constructor(_0x13320a,_0x35e368,_0x6a422b='',_0x267855){const _0x4237aa=_0x481001;this[_0x4237aa(0x1ee)]=_0x13320a,this[_0x4237aa(0x245)]=_0x35e368,this[_0x4237aa(0x22f)]=_0x6a422b,this[_0x4237aa(0x237)]=_0x267855,l(this,'_unitId',void 0x0),this[_0x4237aa(0x268)]=this[_0x4237aa(0x1ee)]['getId']();}['getId'](){const _0x384767=_0x481001;return this[_0x384767(0x245)];}[_0x481001(0x25d)](){const _0x2fdc57=_0x481001;return this[_0x2fdc57(0x22f)];}['getInfo'](){const _0x2bcb02=_0x481001;return{'id':this[_0x2bcb02(0x245)],'rowCount':this[_0x2bcb02(0x259)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x2bcb02(0x229)](),'source':this[_0x2bcb02(0x20d)]()};}['describe'](){const _0x54e491=_0x481001;var _0x2854da,_0x44a3fa;let _0x1c4a8b=this[_0x54e491(0x229)](),_0x1a4160=this['getSource'](),_0x26236d=this[_0x54e491(0x252)]();return{'id':this[_0x54e491(0x245)],'rowCount':this[_0x54e491(0x259)](),'columnCount':_0x26236d,'headerRowCount':(_0x2854da=_0x1c4a8b==null?void 0x0:_0x1c4a8b[_0x54e491(0x1ec)])==null?0x0:_0x2854da,'titleRow':(_0x44a3fa=_0x1c4a8b==null?void 0x0:_0x1c4a8b[_0x54e491(0x25a)])==null?!0x1:_0x44a3fa,'columns':Array['from']({'length':_0x26236d},(_0xca2485,_0x7833fb)=>{const _0x1de353=_0x54e491;var _0x33abb1,_0x4a69cf;return{'index':_0x7833fb,'type':_0x1c4a8b==null||(_0x33abb1=_0x1c4a8b[_0x1de353(0x2a1)])==null||(_0x33abb1=_0x33abb1[_0x7833fb])==null?void 0x0:_0x33abb1[_0x1de353(0x26e)],'width':_0x1a4160==null||(_0x4a69cf=_0x1a4160[_0x1de353(0x275)][_0x7833fb])==null?void 0x0:_0x4a69cf[_0x1de353(0x249)][_0x1de353(0x240)]['v']};}),'sampleRows':Array[_0x54e491(0x20e)]({'length':this[_0x54e491(0x259)]()},(_0x2b9d62,_0x3fd3c0)=>Array[_0x54e491(0x20e)]({'length':_0x26236d},(_0xc5663b,_0x1f5962)=>this[_0x54e491(0x21a)](_0x3fd3c0,_0x1f5962)))[_0x54e491(0x246)](_0x241098=>_0x241098[_0x54e491(0x2ab)](_0x39d292=>_0x39d292['length']>0x0))[_0x54e491(0x22a)](0x0,0x5)};}[_0x481001(0x259)](){const _0x4be4d1=_0x481001;var _0x37bcf9,_0x4edeb2;return(_0x37bcf9=(_0x4edeb2=this[_0x4be4d1(0x20d)]())==null?void 0x0:_0x4edeb2[_0x4be4d1(0x281)]['length'])==null?0x0:_0x37bcf9;}[_0x481001(0x252)](){const _0x4ae862=_0x481001;var _0x5e1bc5,_0x3f030b;return(_0x5e1bc5=(_0x3f030b=this[_0x4ae862(0x20d)]())==null?void 0x0:_0x3f030b[_0x4ae862(0x275)]['length'])==null?0x0:_0x5e1bc5;}[_0x481001(0x21e)](_0xc193d1,_0x1fae26){const _0x5ba5bd=_0x481001;var _0x54816f;return!((_0x54816f=this[_0x5ba5bd(0x20d)]())==null||(_0x54816f=_0x54816f[_0x5ba5bd(0x281)][_0xc193d1])==null)&&_0x54816f[_0x5ba5bd(0x277)][_0x1fae26]?this[_0x5ba5bd(0x237)][_0x5ba5bd(0x213)](a,this,_0xc193d1,_0x1fae26):null;}[_0x481001(0x21a)](_0x32a4d8,_0x1aca29){const _0x33a7f1=_0x481001;var _0x15ce5a,_0x282dc4,_0x32cd10;let _0x40586c=(_0x15ce5a=(0x0,e[_0x33a7f1(0x20b)])(this[_0x33a7f1(0x2b3)](),this[_0x33a7f1(0x245)]))==null||(_0x15ce5a=_0x15ce5a['rows'][_0x32a4d8])==null?void 0x0:_0x15ce5a[_0x33a7f1(0x1f0)][_0x1aca29];return _0x40586c?(_0x282dc4=(_0x32cd10=this[_0x33a7f1(0x2b3)]()[_0x33a7f1(0x209)])==null?void 0x0:_0x32cd10[_0x33a7f1(0x1f1)][_0x33a7f1(0x22a)](_0x40586c[_0x33a7f1(0x2b1)]+0x1,_0x40586c['endOffset'])[_0x33a7f1(0x29a)](/\r\n$/,''))==null?'':_0x282dc4:'';}['getCellMargin'](_0x2aa0f2,_0x3ccd67){const _0x1786d3=_0x481001;var _0x1d11fe,_0x1f6a0d,_0x282074;let _0xfc068b=this['getSource'](),_0xb89fce=_0xfc068b==null||(_0x1d11fe=_0xfc068b[_0x1786d3(0x281)][_0x2aa0f2])==null?void 0x0:_0x1d11fe['tableCells'][_0x3ccd67];return _0xb89fce?t[_0x1786d3(0x220)]['deepClone']((_0x1f6a0d=(_0x282074=_0xb89fce[_0x1786d3(0x2c3)])==null?_0xfc068b[_0x1786d3(0x29c)]:_0x282074)==null?e[_0x1786d3(0x295)]:_0x1f6a0d):null;}[_0x481001(0x206)](_0x3a6b01,_0x5bf5a6){const _0x1f121f=_0x481001;var _0x465354;let _0x459b5d=(_0x465354=this[_0x1f121f(0x20d)]())==null||(_0x465354=_0x465354[_0x1f121f(0x281)][_0x3a6b01])==null?void 0x0:_0x465354['tableCells'][_0x5bf5a6];return _0x459b5d!=null&&_0x459b5d[_0x1f121f(0x2c3)]?t['Tools'][_0x1f121f(0x24f)](_0x459b5d[_0x1f121f(0x2c3)]):null;}['getDefaultCellMargin'](){const _0x350adb=_0x481001;var _0x34a763,_0x13cd82;return t[_0x350adb(0x220)][_0x350adb(0x24f)]((_0x34a763=(_0x13cd82=this['getSource']())==null?void 0x0:_0x13cd82[_0x350adb(0x29c)])==null?e[_0x350adb(0x295)]:_0x34a763);}['getDefaultCellMarginOverride'](){const _0x58ff90=_0x481001;var _0xcb10ac;let _0x2863b0=(_0xcb10ac=this[_0x58ff90(0x20d)]())==null?void 0x0:_0xcb10ac[_0x58ff90(0x29c)];return _0x2863b0?t[_0x58ff90(0x220)][_0x58ff90(0x24f)](_0x2863b0):null;}['getMetadata'](){const _0x579366=_0x481001;return this['_injector']['get'](e[_0x579366(0x28d)])[_0x579366(0x2ad)](this[_0x579366(0x268)],this[_0x579366(0x245)]);}[_0x481001(0x20d)](){const _0x172944=_0x481001;var _0x7e7e7c;return(_0x7e7e7c=this[_0x172944(0x2b3)]()[_0x172944(0x287)])==null?void 0x0:_0x7e7e7c[this[_0x172944(0x245)]];}[_0x481001(0x22c)](){const _0x54f0f8=_0x481001;return(0x0,e['getTableRangeById'])(this[_0x54f0f8(0x2b3)](),this['_tableId']);}[_0x481001(0x280)](){const _0x4ecebc=_0x481001;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x4ecebc(0x259)]()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this['getColumnCount']()-0x1)};}[_0x481001(0x2b0)](_0xf7848a,_0x183c66){return{'startRow':_0xf7848a,'endRow':_0xf7848a,'startColumn':_0x183c66,'endColumn':_0x183c66};}[_0x481001(0x261)](_0x54d915,_0x473b0a){const _0x5298fd=_0x481001;var _0x2c1f4f;let _0x330c4e=(_0x2c1f4f=(0x0,e['getTableRangeById'])(this[_0x5298fd(0x2b3)](),this['_tableId']))==null||(_0x2c1f4f=_0x2c1f4f[_0x5298fd(0x235)][_0x54d915])==null?void 0x0:_0x2c1f4f[_0x5298fd(0x1f0)][_0x473b0a];if(!_0x330c4e)return null;let _0x3af82a=_0x330c4e[_0x5298fd(0x2b1)]+0x1;return{'startOffset':_0x3af82a,'endOffset':Math[_0x5298fd(0x207)](_0x3af82a,_0x330c4e[_0x5298fd(0x2b7)]-0x1),'segmentId':this[_0x5298fd(0x22f)]};}[_0x481001(0x242)](_0x19894b,_0x293350){const _0x5338db=_0x481001;var _0x61c425,_0x3c386e;return(_0x61c425=(_0x3c386e=this[_0x5338db(0x261)](_0x19894b,_0x293350))==null?void 0x0:_0x3c386e[_0x5338db(0x2b7)])==null?null:_0x61c425;}['getRowRange'](_0x52def1){return this['getRowsRange'](_0x52def1,0x1);}[_0x481001(0x2a7)](_0x562851,_0x56d0fa=0x1){const _0x36bf96=_0x481001;return{'startRow':_0x562851,'endRow':_0x562851+_0x56d0fa-0x1,'startColumn':0x0,'endColumn':Math[_0x36bf96(0x207)](0x0,this[_0x36bf96(0x252)]()-0x1)};}[_0x481001(0x299)](_0x260307){const _0x5844c4=_0x481001;return this[_0x5844c4(0x297)](_0x260307,0x1);}[_0x481001(0x297)](_0x55a320,_0xa28f97=0x1){const _0x307bcf=_0x481001;return{'startRow':0x0,'endRow':Math[_0x307bcf(0x207)](0x0,this['getRowCount']()-0x1),'startColumn':_0x55a320,'endColumn':_0x55a320+_0xa28f97-0x1};}[_0x481001(0x2c4)](){const _0x38a599=_0x481001;return this[_0x38a599(0x2b6)](this[_0x38a599(0x280)](),e[_0x38a599(0x236)][_0x38a599(0x25b)]);}[_0x481001(0x284)](_0xc4d52c){const _0x271171=_0x481001;return this[_0x271171(0x289)](_0xc4d52c,0x1);}[_0x481001(0x289)](_0x16c1a9,_0x5db1d0=0x1){const _0x82fafc=_0x481001;return this[_0x82fafc(0x2b6)](this[_0x82fafc(0x2a7)](_0x16c1a9,_0x5db1d0),e[_0x82fafc(0x236)][_0x82fafc(0x232)]);}[_0x481001(0x226)](_0x1b964f){const _0x56f1fe=_0x481001;return this[_0x56f1fe(0x221)](_0x1b964f,0x1);}[_0x481001(0x221)](_0x12de82,_0x3693a6=0x1){const _0x375289=_0x481001;return this[_0x375289(0x2b6)](this['getColumnsRange'](_0x12de82,_0x3693a6),e['DocsTableSelectionKind']['Column']);}[_0x481001(0x262)](_0x15e531,_0xfbf679){const _0x3ca2c6=_0x481001;return this[_0x3ca2c6(0x2b6)](this[_0x3ca2c6(0x2b0)](_0x15e531,_0xfbf679),e[_0x3ca2c6(0x236)][_0x3ca2c6(0x214)]);}[_0x481001(0x2b6)](_0x5cc52a,_0x295f4b=e[_0x481001(0x236)][_0x481001(0x264)]){const _0xe62651=_0x481001;return this[_0xe62651(0x237)][_0xe62651(0x278)](e[_0xe62651(0x202)])[_0xe62651(0x208)]({..._0x5cc52a,'kind':_0x295f4b,'segmentId':this[_0xe62651(0x22f)],'tableId':this['_tableId']}),!0x0;}[_0x481001(0x20f)](_0x55d904){const _0x1bdab4=_0x481001;return this[_0x1bdab4(0x21d)](_0x55d904,0x1);}[_0x481001(0x247)](_0x14d4ff){const _0x62fe75=_0x481001;return this[_0x62fe75(0x27c)](_0x14d4ff,0x1);}[_0x481001(0x21d)](_0x46d704,_0x9940a7){const _0x58e0fa=_0x481001;let _0x233ba3=this[_0x58e0fa(0x2b3)](),_0x5699f4=(0x0,e[_0x58e0fa(0x24e)])(_0x233ba3,this['_tableId'],_0x46d704,_0x9940a7,e['DocsTableInsertPosition'][_0x58e0fa(0x243)],this[_0x58e0fa(0x23c)]());return _0x5699f4?this[_0x58e0fa(0x296)](_0x233ba3,_0x5699f4[_0x58e0fa(0x250)]):!0x1;}[_0x481001(0x27c)](_0x27a2fb,_0x4f242c){const _0x248dfd=_0x481001;let _0x4520e2=this[_0x248dfd(0x2b3)](),_0x2d6c9b=(0x0,e[_0x248dfd(0x24e)])(_0x4520e2,this['_tableId'],_0x27a2fb,_0x4f242c,e['DocsTableInsertPosition'][_0x248dfd(0x2bc)],this[_0x248dfd(0x23c)]());return _0x2d6c9b?this['_mutateActions'](_0x4520e2,_0x2d6c9b[_0x248dfd(0x250)]):!0x1;}[_0x481001(0x2a9)](){const _0x557f2e=_0x481001;return this[_0x557f2e(0x27c)](Math[_0x557f2e(0x207)](0x0,this[_0x557f2e(0x259)]()-0x1),0x1);}[_0x481001(0x2af)](_0x5e377a){return this['insertColumnsBefore'](_0x5e377a,0x1);}[_0x481001(0x28a)](_0x53625f){const _0x156312=_0x481001;return this[_0x156312(0x291)](_0x53625f,0x1);}['insertColumnsBefore'](_0x2d65ff,_0x4d9083){const _0x5d48d7=_0x481001;let _0x5a8760=this[_0x5d48d7(0x2b3)](),_0x47020f=(0x0,e[_0x5d48d7(0x2a2)])(_0x5a8760,this[_0x5d48d7(0x245)],_0x2d65ff,_0x4d9083,e[_0x5d48d7(0x2bb)]['Left'],{'bodyPath':this['_getBodyPath']()});return _0x47020f?this[_0x5d48d7(0x296)](_0x5a8760,_0x47020f[_0x5d48d7(0x250)]):!0x1;}[_0x481001(0x291)](_0x3be41c,_0x1f11e0){const _0x19d58d=_0x481001;let _0x2d56e7=this[_0x19d58d(0x2b3)](),_0x5e6425=(0x0,e[_0x19d58d(0x2a2)])(_0x2d56e7,this['_tableId'],_0x3be41c,_0x1f11e0,e[_0x19d58d(0x2bb)][_0x19d58d(0x205)],{'bodyPath':this['_getBodyPath']()});return _0x5e6425?this[_0x19d58d(0x296)](_0x2d56e7,_0x5e6425['actions']):!0x1;}[_0x481001(0x231)](){const _0xcb5ae8=_0x481001;return this[_0xcb5ae8(0x291)](Math[_0xcb5ae8(0x207)](0x0,this[_0xcb5ae8(0x252)]()-0x1),0x1);}['deleteRow'](_0x43df07){const _0x431550=_0x481001;return this[_0x431550(0x288)](_0x43df07,0x1);}[_0x481001(0x288)](_0xd21003,_0x5490a2=0x1){const _0x5c4325=_0x481001;let _0x2ecb2b=this[_0x5c4325(0x2b3)](),_0x3687b2=(0x0,e[_0x5c4325(0x1f4)])(_0x2ecb2b,this['_tableId'],_0xd21003,_0xd21003+_0x5490a2-0x1,this[_0x5c4325(0x23c)]());return _0x3687b2?this[_0x5c4325(0x296)](_0x2ecb2b,_0x3687b2[_0x5c4325(0x250)]):!0x1;}[_0x481001(0x29e)](_0x2407d9){return this['deleteColumns'](_0x2407d9,0x1);}['deleteColumns'](_0x14c157,_0x8f938=0x1){const _0x18696e=_0x481001;let _0x526fa5=this[_0x18696e(0x2b3)](),_0xbcd8f2=(0x0,e['buildDeleteTableColumnsMutationActions'])(_0x526fa5,this[_0x18696e(0x245)],_0x14c157,_0x14c157+_0x8f938-0x1,this[_0x18696e(0x23c)]());return _0xbcd8f2?this[_0x18696e(0x296)](_0x526fa5,_0xbcd8f2[_0x18696e(0x250)]):!0x1;}[_0x481001(0x223)](){const _0x3a855f=_0x481001;let _0x1a18d0=this[_0x3a855f(0x2b3)](),_0x19d96f=(0x0,e[_0x3a855f(0x1fb)])(_0x1a18d0,this[_0x3a855f(0x245)],this['_getBodyPath']());return _0x19d96f?this['_mutateActions'](_0x1a18d0,_0x19d96f[_0x3a855f(0x250)]):!0x1;}[_0x481001(0x22e)](_0x50869c,_0x1a7efd){const _0x28cb11=_0x481001;let _0x27f474=this[_0x28cb11(0x2b3)]();return this[_0x28cb11(0x296)](_0x27f474,(0x0,e[_0x28cb11(0x24a)])(_0x27f474,this['_tableId'],_0x50869c,_0x1a7efd));}[_0x481001(0x263)](_0x27aa09){const _0x507b90=_0x481001;let _0xa76e30=this['_getDocumentData']();return this[_0x507b90(0x296)](_0xa76e30,(0x0,e[_0x507b90(0x1f7)])(_0xa76e30,this['_tableId'],_0x27aa09,this[_0x507b90(0x23c)]()));}[_0x481001(0x203)](_0x18514f,_0x5bc1de,_0x4b2c64=e['DocsTableInsertPosition']['Above']){const _0x151b8c=_0x481001;return this[_0x151b8c(0x270)](_0x18514f,0x1,_0x5bc1de,_0x4b2c64);}['moveRows'](_0x69e3e9,_0x48bec8,_0x20992d,_0x5818e1=e[_0x481001(0x2bb)]['Above']){const _0x3f1f69=_0x481001;let _0x2d06de=this[_0x3f1f69(0x2b3)](),_0x1fa50e=(0x0,e['buildMoveTableRowsMutationActions'])(_0x2d06de,this['_tableId'],_0x69e3e9,_0x20992d,_0x48bec8,_0x5818e1,this[_0x3f1f69(0x23c)]());return _0x1fa50e?this[_0x3f1f69(0x296)](_0x2d06de,_0x1fa50e['actions']):!0x1;}[_0x481001(0x2b2)](_0x3749bf,_0x773199,_0x5d0947=e['DocsTableInsertPosition'][_0x481001(0x200)]){const _0x1b3bab=_0x481001;return this[_0x1b3bab(0x2b9)](_0x3749bf,0x1,_0x773199,_0x5d0947);}[_0x481001(0x2b9)](_0x59f8dd,_0x2f4189,_0x25432c,_0x58499a=e[_0x481001(0x2bb)][_0x481001(0x200)]){const _0x3fc880=_0x481001;let _0x1f82b3=this[_0x3fc880(0x2b3)](),_0x126850=(0x0,e[_0x3fc880(0x273)])(_0x1f82b3,this[_0x3fc880(0x245)],_0x59f8dd,_0x25432c,_0x2f4189,_0x58499a,this[_0x3fc880(0x23c)]());return _0x126850?this[_0x3fc880(0x296)](_0x1f82b3,_0x126850['actions']):!0x1;}[_0x481001(0x1ff)](_0x362f15){const _0x47c210=_0x481001;try{let _0x2519ec=this[_0x47c210(0x2b3)](),_0x45ab02=(0x0,e[_0x47c210(0x2bd)])({'documentData':_0x2519ec,'tableId':this[_0x47c210(0x245)],..._0x362f15});return _0x45ab02?this['_mutateActions'](_0x2519ec,_0x45ab02[_0x47c210(0x250)],_0x362f15):!0x1;}catch{return!0x1;}}[_0x481001(0x1f5)](_0x44e01d){const _0x20d072=_0x481001;try{let _0x31d924=this[_0x20d072(0x2b3)](),_0x5c10cc=(0x0,e['buildUnmergeCellsMutationActions'])({'documentData':_0x31d924,'tableId':this[_0x20d072(0x245)],..._0x44e01d});return _0x5c10cc?this[_0x20d072(0x296)](_0x31d924,_0x5c10cc['actions'],_0x44e01d):!0x1;}catch{return!0x1;}}[_0x481001(0x283)](_0x31e77a,_0x349938,_0x5232cf){const _0x24ba5d=_0x481001;let _0x409fe8=this['_getDocumentData'](),_0x5817b8=(0x0,e[_0x24ba5d(0x2c0)])(this[_0x24ba5d(0x1ee)][_0x24ba5d(0x26a)]()[_0x24ba5d(0x257)](),this[_0x24ba5d(0x22f)]);return this[_0x24ba5d(0x296)](_0x409fe8,(0x0,e['buildSetTableCellTextMutationActions'])({'documentData':_0x409fe8,'tableId':this[_0x24ba5d(0x245)],'row':_0x31e77a,'column':_0x349938,'text':_0x5232cf},_0x5817b8),this[_0x24ba5d(0x2b0)](_0x31e77a,_0x349938));}[_0x481001(0x24b)](_0x160e1a,_0x1659bb){const _0x2de15f=_0x481001;let _0x4ead65=this['_getDocumentData']();return this[_0x2de15f(0x296)](_0x4ead65,(0x0,e[_0x2de15f(0x248)])(_0x4ead65,{'tableId':this[_0x2de15f(0x245)],..._0x160e1a,'value':_0x1659bb}),_0x160e1a);}[_0x481001(0x2c1)](_0x54ad70,_0x38139d){const _0x3844cf=_0x481001;let _0x204335=this[_0x3844cf(0x2b3)]();return this[_0x3844cf(0x296)](_0x204335,(0x0,e[_0x3844cf(0x2ae)])({'documentData':_0x204335,'tableId':this[_0x3844cf(0x245)],..._0x54ad70,'margin':_0x38139d}),_0x54ad70);}[_0x481001(0x20c)](_0x36afc3){const _0x4eea22=_0x481001;let _0x2e74a3=this[_0x4eea22(0x2b3)]();return this['_mutateActions'](_0x2e74a3,(0x0,e['buildSetTableDefaultCellMarginMutationActions'])(_0x2e74a3,this['_tableId'],_0x36afc3));}[_0x481001(0x2b4)](_0x18b146,_0x12a33d){const _0x15a040=_0x481001;var _0x4929bd,_0x2851ec,_0x3e2daa,_0x4fa7bc;let _0x1a5dc8=this[_0x15a040(0x2b3)]();return this[_0x15a040(0x296)](_0x1a5dc8,(0x0,e[_0x15a040(0x2b5)])({'documentData':_0x1a5dc8,'tableId':this[_0x15a040(0x245)],..._0x18b146,'preset':(_0x4929bd=_0x12a33d[_0x15a040(0x216)])==null?e[_0x15a040(0x2a8)][_0x15a040(0x27e)]:_0x4929bd,'border':(_0x2851ec=_0x12a33d[_0x15a040(0x272)])==null?{'color':{'rgb':(_0x3e2daa=_0x12a33d[_0x15a040(0x266)])==null?'#1f1f1f':_0x3e2daa},'width':{'v':(_0x4fa7bc=_0x12a33d[_0x15a040(0x240)])==null?0x1:_0x4fa7bc},'dashStyle':t[_0x15a040(0x279)]['SOLID']}:_0x2851ec}),_0x18b146);}[_0x481001(0x225)](_0x1811af){const _0x2882b3=_0x481001;return this['setCellBackground'](this[_0x2882b3(0x280)](),_0x1811af);}[_0x481001(0x218)](_0x4a3d2b){const _0x24cf1f=_0x481001;return this[_0x24cf1f(0x2b4)](this[_0x24cf1f(0x280)](),_0x4a3d2b);}[_0x481001(0x25f)](_0x38409f){const _0x3f83ab=_0x481001;let _0x3a21ba=_0x38409f[_0x3f83ab(0x26d)]?this[_0x3f83ab(0x225)](_0x38409f['backgroundColor']):!0x0,_0x477530=_0x38409f[_0x3f83ab(0x272)]?this['setTableBorder'](_0x38409f['border']):!0x0;return _0x3a21ba&&_0x477530;}[_0x481001(0x293)](_0x2754c4,_0x22fbc7,_0x49a8ec=t[_0x481001(0x26b)]['AT_LEAST']){const _0x2411de=_0x481001;var _0x4fb61a;let _0x229b38=this['_getDocumentData']();return!((_0x4fb61a=_0x229b38[_0x2411de(0x287)])==null||(_0x4fb61a=_0x4fb61a[this['_tableId']])==null)&&_0x4fb61a[_0x2411de(0x281)][_0x2754c4]?this[_0x2411de(0x296)](_0x229b38,(0x0,e[_0x2411de(0x1f8)])(_0x229b38,this[_0x2411de(0x245)],_0x2754c4,_0x22fbc7,_0x49a8ec)):!0x1;}[_0x481001(0x21b)](_0x279a83){const _0x11182=_0x481001;var _0x4621ee;let _0x15db4e=(_0x4621ee=this[_0x11182(0x20d)]())==null||(_0x4621ee=_0x4621ee[_0x11182(0x281)][_0x279a83])==null?void 0x0:_0x4621ee[_0x11182(0x1f6)];return _0x15db4e?t[_0x11182(0x220)][_0x11182(0x24f)](_0x15db4e):null;}[_0x481001(0x271)](_0xe78e79,_0x29f9a7){const _0x356710=_0x481001;var _0x167df7;let _0x1650c7=this[_0x356710(0x2b3)]();return!((_0x167df7=_0x1650c7[_0x356710(0x287)])==null||(_0x167df7=_0x167df7[this[_0x356710(0x245)]])==null)&&_0x167df7[_0x356710(0x275)][_0xe78e79]?this['_mutateActions'](_0x1650c7,(0x0,e[_0x356710(0x227)])(_0x1650c7,this[_0x356710(0x245)],_0xe78e79,_0x29f9a7)):!0x1;}[_0x481001(0x2bf)](_0x59989e=0x0,_0x2f9c0d=this['getRowCount']()){const _0x471c92=_0x481001;let _0x5ea390=this[_0x471c92(0x2b3)]();return this[_0x471c92(0x296)](_0x5ea390,(0x0,e[_0x471c92(0x256)])(_0x5ea390,this[_0x471c92(0x245)],_0x59989e,_0x59989e+_0x2f9c0d-0x1));}['distributeColumns'](_0x147c92=0x0,_0x2ab3a7=this['getColumnCount']()){const _0x11ca27=_0x481001;let _0x3fdfd8=this[_0x11ca27(0x2b3)]();return this[_0x11ca27(0x296)](_0x3fdfd8,(0x0,e[_0x11ca27(0x2a6)])(_0x3fdfd8,this[_0x11ca27(0x245)],_0x147c92,_0x147c92+_0x2ab3a7-0x1));}[_0x481001(0x269)](){const _0x2788c7=_0x481001;var _0x30bc97,_0x2ce613;return(_0x30bc97=(_0x2ce613=this[_0x2788c7(0x229)]())==null?void 0x0:_0x2ce613['headerRowCount'])==null?0x0:_0x30bc97;}[_0x481001(0x23a)](_0x31cf4b){const _0x1c08eb=_0x481001;let _0x50f546=this[_0x1c08eb(0x237)]['get'](e[_0x1c08eb(0x28d)]),_0x54c739=this[_0x1c08eb(0x2b3)](),_0x3dd97c=(0x0,e[_0x1c08eb(0x29f)])(_0x54c739,this['_tableId'],_0x31cf4b);if(!_0x3dd97c)return!0x1;let _0x4541f5=this[_0x1c08eb(0x296)](_0x54c739,_0x3dd97c[_0x1c08eb(0x250)]);return _0x4541f5&&_0x50f546['setHeaderRowCount'](this[_0x1c08eb(0x268)],this[_0x1c08eb(0x245)],_0x3dd97c[_0x1c08eb(0x1ec)]),_0x4541f5;}[_0x481001(0x27d)](_0x43cad9){const _0xce5789=_0x481001;return this[_0xce5789(0x23a)](_0x43cad9);}['hasTitleRow'](){const _0x30865a=_0x481001;var _0x1c0ca7,_0x5416d0;return(_0x1c0ca7=(_0x5416d0=this[_0x30865a(0x229)]())==null?void 0x0:_0x5416d0['titleRow'])==null?!0x1:_0x1c0ca7;}['insertTitleRow'](){const _0x1de03f=_0x481001;let _0x497c0d=this[_0x1de03f(0x237)][_0x1de03f(0x278)](e['DocsTableModel']),_0x141ce7=this[_0x1de03f(0x2b3)](),_0x2c59d0=(0x0,e['buildInsertTableTitleRowMutationActions'])(_0x141ce7,this['_tableId'],this[_0x1de03f(0x23c)]());if(!_0x2c59d0)return!0x1;let _0xfd5d06=this[_0x1de03f(0x296)](_0x141ce7,_0x2c59d0[_0x1de03f(0x250)]);return _0xfd5d06&&_0x497c0d[_0x1de03f(0x23f)](this[_0x1de03f(0x268)],this[_0x1de03f(0x245)],!0x0),_0xfd5d06;}['setColumnType'](_0x12d04d,_0x4cae84){const _0x19d925=_0x481001;return this['_injector'][_0x19d925(0x278)](e['DocsTableModel'])['setColumnType'](this[_0x19d925(0x268)],this[_0x19d925(0x245)],_0x12d04d,_0x4cae84),!0x0;}[_0x481001(0x212)](_0x31bcf5,_0x54a965){const _0x4e9a79=_0x481001;let _0x226522=this[_0x4e9a79(0x2b3)]();return this['_mutateActions'](_0x226522,(0x0,e[_0x4e9a79(0x23e)])(_0x226522,this[_0x4e9a79(0x254)](),this[_0x4e9a79(0x245)],_0x31bcf5,_0x54a965,this[_0x4e9a79(0x23c)]()));}[_0x481001(0x2b3)](){const _0x3fff8d=_0x481001;let _0x45a4ae=this[_0x3fff8d(0x1ee)]['getDocumentDataModel']()['getSnapshot']();return this[_0x3fff8d(0x22f)]?{...this[_0x3fff8d(0x1ee)]['getDocumentDataModel'](this[_0x3fff8d(0x22f)])[_0x3fff8d(0x257)](),'documentStyle':_0x45a4ae[_0x3fff8d(0x2c2)],'tableSource':_0x45a4ae[_0x3fff8d(0x287)]}:_0x45a4ae;}[_0x481001(0x254)](){const _0x12f8f0=_0x481001;return this[_0x12f8f0(0x237)][_0x12f8f0(0x278)](e[_0x12f8f0(0x28d)])['serialize'](this[_0x12f8f0(0x268)]);}['_getBodyPath'](){const _0x396383=_0x481001;return(0x0,e['getTableActionBodyPath'])(this['_document'][_0x396383(0x26a)]()[_0x396383(0x257)](),this[_0x396383(0x22f)]);}['_mutateActions'](_0x122d44,_0x1aac3e,_0x364024){const _0x286e7b=_0x481001;return(0x0,e[_0x286e7b(0x290)])(this[_0x286e7b(0x237)][_0x286e7b(0x278)](t[_0x286e7b(0x1fe)]),this['_unitId'],_0x122d44,_0x1aac3e,_0x364024?{'tableId':this[_0x286e7b(0x245)],'segmentId':this['_segmentId'],..._0x364024}:void 0x0);}},d=class extends r['FDocument']{[_0x481001(0x21f)](_0x659759=''){const _0x4496aa=_0x481001;return this[_0x4496aa(0x2a0)](_0x659759)[_0x4496aa(0x22b)](_0x4205b6=>this[_0x4496aa(0x253)](_0x4205b6[_0x4496aa(0x2a3)],_0x659759));}[_0x481001(0x244)](_0x122f79,_0x4c31cb=''){const _0x4424a3=_0x481001;return this['_getTables'](_0x4c31cb)['some'](_0x2372af=>_0x2372af[_0x4424a3(0x2a3)]===_0x122f79)?this['_createFDocumentTable'](_0x122f79,_0x4c31cb):null;}[_0x481001(0x1ed)](_0x4bede7,_0x3a868b=''){const _0x49d7a3=_0x481001;var _0x8f05c9;let _0x3b78d6=(_0x8f05c9=this[_0x49d7a3(0x2a0)](_0x3a868b)[_0x4bede7])==null?void 0x0:_0x8f05c9[_0x49d7a3(0x2a3)];return _0x3b78d6?this[_0x49d7a3(0x253)](_0x3b78d6,_0x3a868b):null;}[_0x481001(0x201)](){const _0x645805=_0x481001;let _0x1833da=this['_injector'][_0x645805(0x278)](e[_0x645805(0x202)])[_0x645805(0x219)]();return _0x1833da!=null&&_0x1833da[_0x645805(0x2a3)]?this['_createFDocumentTable'](_0x1833da[_0x645805(0x2a3)],_0x1833da[_0x645805(0x224)]):null;}[_0x481001(0x1ef)](_0x398974,_0x3f5fc6=''){const _0x153125=_0x481001;var _0x41ffd2;return(_0x41ffd2=this[_0x153125(0x1f9)](_0x398974,_0x3f5fc6)[0x0])==null?null:_0x41ffd2;}[_0x481001(0x1f9)](_0x14ef9e,_0x34a2da=''){const _0x5db154=_0x481001;let _0x2b9834=this[_0x5db154(0x21c)](_0x34a2da),_0x4523b5=typeof _0x14ef9e==_0x5db154(0x276)?{'text':_0x14ef9e}:_0x14ef9e;return this['getTables'](_0x34a2da)[_0x5db154(0x246)](_0x2a0500=>{const _0x3b6a88=_0x5db154;let _0x1ec53c=_0x2a0500[_0x3b6a88(0x2ac)]();return!(_0x4523b5['tableId']&&_0x1ec53c!==_0x4523b5[_0x3b6a88(0x2a3)]||_0x4523b5[_0x3b6a88(0x241)]&&!this[_0x3b6a88(0x265)](_0x2b9834,_0x1ec53c,_0x4523b5[_0x3b6a88(0x241)])||_0x4523b5['headerText']&&!this[_0x3b6a88(0x28e)](_0x2a0500,0x0,_0x4523b5[_0x3b6a88(0x234)])||_0x4523b5['titleText']&&!this[_0x3b6a88(0x28e)](_0x2a0500,0x0,_0x4523b5[_0x3b6a88(0x29d)]));});}[_0x481001(0x298)](_0x4bac02,_0x17ee4d,_0x2245f6={}){const _0x230130=_0x481001;var _0x2040ec,_0xe129e1;let _0x9ba050=this[_0x230130(0x237)][_0x230130(0x278)](t[_0x230130(0x1fe)]),_0x219518=(_0x2040ec=_0x2245f6[_0x230130(0x2a3)])==null?(0x0,t[_0x230130(0x20a)])(0x6):_0x2040ec;return _0x9ba050[_0x230130(0x222)](e[_0x230130(0x285)]['id'],{..._0x2245f6,'unitId':this[_0x230130(0x2ac)](),'rows':_0x4bac02,'columns':_0x17ee4d,'tableId':_0x219518})?this[_0x230130(0x253)](_0x219518,(_0xe129e1=_0x2245f6['segmentId'])==null?'':_0xe129e1):null;}[_0x481001(0x239)](_0x224a70,_0x26af26={}){const _0x2b0952=_0x481001;var _0x3d8e2b,_0x5d741d;let _0x548c69=this[_0x2b0952(0x237)][_0x2b0952(0x278)](t[_0x2b0952(0x1fe)]),_0x33d48b=(_0x3d8e2b=_0x26af26[_0x2b0952(0x2a3)])==null?(0x0,t['generateRandomId'])(0x6):_0x3d8e2b;return _0x548c69[_0x2b0952(0x222)](e[_0x2b0952(0x285)]['id'],{..._0x26af26,'unitId':this['getId'](),'values':_0x224a70,'tableId':_0x33d48b})?this[_0x2b0952(0x253)](_0x33d48b,(_0x5d741d=_0x26af26['segmentId'])==null?'':_0x5d741d):null;}[_0x481001(0x2a0)](_0x2d2a26=''){let {tables:_0x1df470=[]}=this['getBody'](_0x2d2a26);return _0x1df470;}[_0x481001(0x21c)](_0x526190=''){const _0x12c57e=_0x481001;let _0x4fdd59=this[_0x12c57e(0x26a)]()[_0x12c57e(0x257)]();return _0x526190?{...this['getDocumentDataModel'](_0x526190)[_0x12c57e(0x257)](),'documentStyle':_0x4fdd59[_0x12c57e(0x2c2)],'tableSource':_0x4fdd59[_0x12c57e(0x287)]}:_0x4fdd59;}[_0x481001(0x253)](_0x1b39ec,_0x4e3a10=''){const _0xeb93ac=_0x481001;return this['_injector'][_0xeb93ac(0x213)](u,this,_0x1b39ec,_0x4e3a10,this['_injector']);}[_0x481001(0x265)](_0x489aff,_0x2f2f30,_0x161537){const _0x1a278c=_0x481001;var _0x308377;let _0x18bb93=(0x0,e[_0x1a278c(0x20b)])(_0x489aff,_0x2f2f30);if(!_0x18bb93)return!0x1;let _0x2fd55f=(_0x308377=_0x489aff[_0x1a278c(0x209)])==null?void 0x0:_0x308377[_0x1a278c(0x1f1)];return _0x2fd55f?_0x2fd55f[_0x1a278c(0x22a)](_0x18bb93[_0x1a278c(0x2b1)],_0x18bb93['endOffset'])[_0x1a278c(0x215)](_0x161537):!0x1;}[_0x481001(0x28e)](_0x37a1d6,_0x3de8c2,_0x43baf1){const _0x2706de=_0x481001;return Array[_0x2706de(0x20e)]({'length':_0x37a1d6[_0x2706de(0x252)]()},(_0x361d86,_0x12bc62)=>_0x37a1d6[_0x2706de(0x21a)](_0x3de8c2,_0x12bc62))[_0x2706de(0x2ab)](_0x7bf878=>_0x7bf878[_0x2706de(0x215)](_0x43baf1));}};r[_0x481001(0x282)][_0x481001(0x27b)](d),exports['FDocumentTable']=u,exports[_0x481001(0x23b)]=a;
1
+ function _0x55d6(_0x58c76f,_0x2a6888){_0x58c76f=_0x58c76f-0x17d;const _0x37255b=_0x3725();let _0x55d6ad=_0x37255b[_0x58c76f];return _0x55d6ad;}const _0x1765da=_0x55d6;(function(_0x1182e1,_0x57cdd0){const _0x4689d5=_0x55d6,_0x3199b9=_0x1182e1();while(!![]){try{const _0x55dadc=parseInt(_0x4689d5(0x1d3))/0x1*(parseInt(_0x4689d5(0x239))/0x2)+-parseInt(_0x4689d5(0x244))/0x3+-parseInt(_0x4689d5(0x21a))/0x4+parseInt(_0x4689d5(0x23a))/0x5+parseInt(_0x4689d5(0x19d))/0x6+-parseInt(_0x4689d5(0x1d6))/0x7*(parseInt(_0x4689d5(0x1ad))/0x8)+parseInt(_0x4689d5(0x238))/0x9;if(_0x55dadc===_0x57cdd0)break;else _0x3199b9['push'](_0x3199b9['shift']());}catch(_0x12b3ef){_0x3199b9['push'](_0x3199b9['shift']());}}}(_0x3725,0x9b2b9),Object['defineProperty'](exports,Symbol[_0x1765da(0x1b4)],{'value':'Module'}));let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');function _0x3725(){const _0x7d5460=['_injector','_serializeModel','Right','FEnum','ICommandService','FDocumentTableCell','getRowIndex','getTableRange','mergeTo','startOffset','getTables','segmentId','getSegmentId','getMarginOverride','getStableTableSelection','getTable','object','endOffset','insertRowBefore','rows','setCellMargin','_table','getSnapshot','insertTable','getCellText','buildMoveTableToOffsetMutationActions','function','type','getColumnIndex','FDocument','getId','_rowContainsText','buildSetTableBackgroundMutationActions','setColumnWidth','buildDistributeTableColumnsMutationActions','trHeight','getRowRange','getRange','DocsTableBorderPreset','setRowHeight','buildSetTableCellMarginMutationActions','4054196oywGDJ','headerText','selectColumns','getCellMarginOverride','get','toPrimitive','#1f1f1f','setCellBackground','Left','Above','hasTitleRow','max','tableId','setText','border','appendRow','findTables','DocsTableInsertPosition','DocsTableColumnType','buildDeleteTableColumnsMutationActions','tableRows','getBody','findTableByText','buildDeleteTableMutationActions','width','margin','text','symbol','deleteRow','_tableId','8106615LFIIuJ','11054FRvhCZ','5477250RRSAum','setTableBackground','setTableStyle','defineProperty','serialize','map','deleteColumn','selectTable','Range','Table','2029023UgjCxe','buildDistributeTableRowsMutationActions','titleText','getColumnsRange','getTableRangeById','filter','DocsTableColumnInsertPosition','buildInsertTableRowsMutationActions','moveColumn','deleteTable','insertRowsAfter','getDefaultCellMargin','extend','actions','getColumnRange','getMetadata','Cell','insertTitleRow','moveColumns','DocsTableInsertTableCommand','setTableBorder','DEFAULT_DOCS_TABLE_CELL_MARGIN','includes','selectColumn','Row','string','getTableAtSelection','deepClone','distributeRows','dataStream','DocsTableModel','getCellInsertOffset','buildSetTableHeaderRowCountMutationActions','length','insertColumnsBefore','_segmentId','insertColumnBefore','tableSource','preset','DocsTableSelectionKind','deleteColumns','iterator','getCellContentRange','buildMergeCellsMutationActions','setBorder','moveRow','sortByColumn','_createFDocumentTable','call','buildSetTableDefaultCellMarginMutationActions','prototype','4113102AsapJz','tableCells','cells','setTitleRow','getColumnCount','generateRandomId','constructor','TableRowHeightRule','backgroundColor','getTableAt','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getTableMetadata','buildUnmergeCellsMutationActions','_tableContainsText','moveTableToOffset','tableColumns','1208OaPkIz','unmergeCells','describe','insertColumnAfter','_unitId','_getTables','_mutateActions','toStringTag','pinHeaderRows','DocsTableInsertTablePosition','_getDocumentData','selectRows','DocsTableSortDirection','_row','moveTableBy','DashStyleType','buildSetTableBorderMutationActions','body','titleRow','Tools','slice','buildMoveFloatingTableMutationActions','getCell','selectRange','cellMargin','setCellText','getSource','setColumnType','getRowsRange','DocsTableSelectionService','syncExecuteCommand','selectRow','setHeaderRowCount','insertRowsBefore','getCellMargin','createInstance','columnTypes','getContentRange','86bIVtxs','getRowCount','getDefaultCellMarginOverride','38549LtyDIB','clearMarginOverride','setStructuralSelection','moveRows','buildInsertTableColumnsMutationActions','some','_document','buildInsertTableTitleRowMutationActions','_column','getDocumentDataModel','replace','SOLID','distributeColumns','insertColumnsAfter','_getBodyPath','from','getTableActionBodyPath','appendColumn','deleteRows','setBackgroundColor','color','getCellRange','headerRowCount','mergeCells','All','buildMoveTableRowsMutationActions','getRowHeight'];_0x3725=function(){return _0x7d5460;};return _0x3725();}var i=class extends n[_0x1765da(0x1f4)]{get[_0x1765da(0x1b6)](){const _0x1eb1fe=_0x1765da;return e[_0x1eb1fe(0x1b6)];}get[_0x1765da(0x22c)](){return e['DocsTableColumnType'];}get[_0x1765da(0x191)](){const _0x57bad2=_0x1765da;return e[_0x57bad2(0x191)];}get['DocsTableRowInsertPosition'](){return e['DocsTableRowInsertPosition'];}get[_0x1765da(0x24a)](){return e['DocsTableColumnInsertPosition'];}get[_0x1765da(0x217)](){const _0x4f633c=_0x1765da;return e[_0x4f633c(0x217)];}get[_0x1765da(0x1b9)](){const _0x523842=_0x1765da;return e[_0x523842(0x1b9)];}get[_0x1765da(0x1bc)](){return t['DashStyleType'];}};n[_0x1765da(0x1f4)]['extend'](i);var a=class{constructor(_0x2c99bb,_0x13cd3a,_0x129cfb){const _0x217253=_0x1765da;this[_0x217253(0x206)]=_0x2c99bb,this[_0x217253(0x1ba)]=_0x13cd3a,this[_0x217253(0x1de)]=_0x129cfb;}['getTable'](){const _0x23158c=_0x1765da;return this[_0x23158c(0x206)];}[_0x1765da(0x1f7)](){const _0x2ed6fd=_0x1765da;return this[_0x2ed6fd(0x1ba)];}[_0x1765da(0x20d)](){const _0x219753=_0x1765da;return this[_0x219753(0x1de)];}['getText'](){const _0x831f71=_0x1765da;return this[_0x831f71(0x206)]['getCellText'](this['_row'],this['_column']);}[_0x1765da(0x1d2)](){const _0x359a82=_0x1765da;return this[_0x359a82(0x206)]['getCellContentRange'](this[_0x359a82(0x1ba)],this[_0x359a82(0x1de)]);}['getInsertOffset'](){const _0x58fbd0=_0x1765da;return this[_0x58fbd0(0x206)][_0x58fbd0(0x189)](this[_0x58fbd0(0x1ba)],this[_0x58fbd0(0x1de)]);}['getMargin'](){const _0x2e70e6=_0x1765da;return this[_0x2e70e6(0x206)][_0x2e70e6(0x1cf)](this['_row'],this[_0x2e70e6(0x1de)]);}[_0x1765da(0x1fe)](){const _0x5bd8ff=_0x1765da;return this[_0x5bd8ff(0x206)]['getCellMarginOverride'](this[_0x5bd8ff(0x1ba)],this[_0x5bd8ff(0x1de)]);}['setMargin'](_0x14ff75){const _0x9778fd=_0x1765da;return this[_0x9778fd(0x206)][_0x9778fd(0x205)](this[_0x9778fd(0x206)][_0x9778fd(0x1eb)](this['_row'],this[_0x9778fd(0x1de)]),_0x14ff75);}[_0x1765da(0x1d7)](){const _0x546f43=_0x1765da;return this[_0x546f43(0x206)][_0x546f43(0x205)](this[_0x546f43(0x206)][_0x546f43(0x1eb)](this['_row'],this[_0x546f43(0x1de)]),null);}[_0x1765da(0x227)](_0x179df9){const _0x1fd6cb=_0x1765da;return this[_0x1fd6cb(0x206)][_0x1fd6cb(0x1c6)](this[_0x1fd6cb(0x1ba)],this[_0x1fd6cb(0x1de)],_0x179df9);}[_0x1765da(0x1e9)](_0x1b8873){const _0x262f2d=_0x1765da;return this['_table'][_0x262f2d(0x221)](this['_table'][_0x262f2d(0x1eb)](this[_0x262f2d(0x1ba)],this[_0x262f2d(0x1de)]),_0x1b8873);}[_0x1765da(0x196)](_0x2b9d94){const _0x140713=_0x1765da;return this[_0x140713(0x206)][_0x140713(0x196)](this[_0x140713(0x206)][_0x140713(0x1eb)](this[_0x140713(0x1ba)],this['_column']),_0x2b9d94);}[_0x1765da(0x1f9)](_0x51189f,_0x4ed765){const _0x4fbb52=_0x1765da;return this['_table'][_0x4fbb52(0x1ed)]({'startRow':this['_row'],'startColumn':this[_0x4fbb52(0x1de)],'endRow':this[_0x4fbb52(0x1ba)]+_0x51189f-0x1,'endColumn':this[_0x4fbb52(0x1de)]+_0x4ed765-0x1});}['unmerge'](){const _0xcda774=_0x1765da;return this[_0xcda774(0x206)][_0xcda774(0x1ae)](this['_table']['getCellRange'](this['_row'],this[_0xcda774(0x1de)]));}};function o(_0x21b1b5){'@babel/helpers - typeof';const _0x59efe4=_0x1765da;return o=typeof Symbol==_0x59efe4(0x20b)&&typeof Symbol[_0x59efe4(0x193)]=='symbol'?function(_0x1717fd){return typeof _0x1717fd;}:function(_0x4879ac){const _0x51827c=_0x59efe4;return _0x4879ac&&typeof Symbol==_0x51827c(0x20b)&&_0x4879ac[_0x51827c(0x1a3)]===Symbol&&_0x4879ac!==Symbol[_0x51827c(0x19c)]?_0x51827c(0x235):typeof _0x4879ac;},o(_0x21b1b5);}function s(_0x29bfb4,_0x8aea10){const _0x4bf043=_0x1765da;if(o(_0x29bfb4)!='object'||!_0x29bfb4)return _0x29bfb4;var _0x2546d3=_0x29bfb4[Symbol[_0x4bf043(0x21f)]];if(_0x2546d3!==void 0x0){var _0x277f49=_0x2546d3[_0x4bf043(0x19a)](_0x29bfb4,_0x8aea10||'default');if(o(_0x277f49)!=_0x4bf043(0x201))return _0x277f49;throw TypeError(_0x4bf043(0x1a7));}return(_0x8aea10===_0x4bf043(0x183)?String:Number)(_0x29bfb4);}function c(_0x20b1bd){const _0x2e9710=_0x1765da;var _0x2f1b8a=s(_0x20b1bd,_0x2e9710(0x183));return o(_0x2f1b8a)==_0x2e9710(0x235)?_0x2f1b8a:_0x2f1b8a+'';}function l(_0x327671,_0x237c0,_0x1ee7b5){const _0x3072ce=_0x1765da;return(_0x237c0=c(_0x237c0))in _0x327671?Object[_0x3072ce(0x23d)](_0x327671,_0x237c0,{'value':_0x1ee7b5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x327671[_0x237c0]=_0x1ee7b5,_0x327671;}var u=class{constructor(_0x4f23b0,_0x41dbcb,_0x32b515='',_0x5897a2){const _0x5d667b=_0x1765da;this[_0x5d667b(0x1dc)]=_0x4f23b0,this[_0x5d667b(0x237)]=_0x41dbcb,this[_0x5d667b(0x18d)]=_0x32b515,this[_0x5d667b(0x1f1)]=_0x5897a2,l(this,'_unitId',void 0x0),this['_unitId']=this[_0x5d667b(0x1dc)][_0x5d667b(0x20f)]();}[_0x1765da(0x20f)](){const _0x1285c0=_0x1765da;return this[_0x1285c0(0x237)];}[_0x1765da(0x1fd)](){const _0x1be034=_0x1765da;return this[_0x1be034(0x18d)];}['getInfo'](){const _0x18fe85=_0x1765da;return{'id':this[_0x18fe85(0x237)],'rowCount':this[_0x18fe85(0x1d4)](),'columnCount':this[_0x18fe85(0x1a1)](),'metadata':this['getMetadata'](),'source':this[_0x18fe85(0x1c7)]()};}[_0x1765da(0x1af)](){const _0x55109d=_0x1765da;var _0x210633,_0x2d879a;let _0x45f590=this['getMetadata'](),_0x5da3bc=this[_0x55109d(0x1c7)](),_0xbf5b7c=this['getColumnCount']();return{'id':this[_0x55109d(0x237)],'rowCount':this['getRowCount'](),'columnCount':_0xbf5b7c,'headerRowCount':(_0x210633=_0x45f590==null?void 0x0:_0x45f590[_0x55109d(0x1ec)])==null?0x0:_0x210633,'titleRow':(_0x2d879a=_0x45f590==null?void 0x0:_0x45f590['titleRow'])==null?!0x1:_0x2d879a,'columns':Array['from']({'length':_0xbf5b7c},(_0x2a980c,_0x41bec8)=>{const _0x4c609f=_0x55109d;var _0x3d04ea,_0x15f74d;return{'index':_0x41bec8,'type':_0x45f590==null||(_0x3d04ea=_0x45f590[_0x4c609f(0x1d1)])==null||(_0x3d04ea=_0x3d04ea[_0x41bec8])==null?void 0x0:_0x3d04ea[_0x4c609f(0x20c)],'width':_0x5da3bc==null||(_0x15f74d=_0x5da3bc['tableColumns'][_0x41bec8])==null?void 0x0:_0x15f74d['size'][_0x4c609f(0x232)]['v']};}),'sampleRows':Array[_0x55109d(0x1e5)]({'length':this[_0x55109d(0x1d4)]()},(_0x57292c,_0x88d100)=>Array[_0x55109d(0x1e5)]({'length':_0xbf5b7c},(_0x3d6106,_0x15743e)=>this['getCellText'](_0x88d100,_0x15743e)))['filter'](_0x4bf95e=>_0x4bf95e[_0x55109d(0x1db)](_0x3cdbad=>_0x3cdbad[_0x55109d(0x18b)]>0x0))[_0x55109d(0x1c1)](0x0,0x5)};}[_0x1765da(0x1d4)](){const _0xd37b04=_0x1765da;var _0x37829a,_0x516a24;return(_0x37829a=(_0x516a24=this[_0xd37b04(0x1c7)]())==null?void 0x0:_0x516a24[_0xd37b04(0x22e)]['length'])==null?0x0:_0x37829a;}[_0x1765da(0x1a1)](){const _0x3e317e=_0x1765da;var _0x5c0be3,_0x434bd3;return(_0x5c0be3=(_0x434bd3=this[_0x3e317e(0x1c7)]())==null?void 0x0:_0x434bd3[_0x3e317e(0x1ac)][_0x3e317e(0x18b)])==null?0x0:_0x5c0be3;}[_0x1765da(0x1c3)](_0x3a5235,_0x405fee){const _0x31a55a=_0x1765da;var _0x2a1017;return!((_0x2a1017=this[_0x31a55a(0x1c7)]())==null||(_0x2a1017=_0x2a1017[_0x31a55a(0x22e)][_0x3a5235])==null)&&_0x2a1017[_0x31a55a(0x19e)][_0x405fee]?this[_0x31a55a(0x1f1)][_0x31a55a(0x1d0)](a,this,_0x3a5235,_0x405fee):null;}[_0x1765da(0x209)](_0x148536,_0x28e21c){const _0x12a35b=_0x1765da;var _0x202be3,_0x36a2aa,_0x15d9ab;let _0x17a861=(_0x202be3=(0x0,e[_0x12a35b(0x248)])(this[_0x12a35b(0x1b7)](),this['_tableId']))==null||(_0x202be3=_0x202be3[_0x12a35b(0x204)][_0x148536])==null?void 0x0:_0x202be3['cells'][_0x28e21c];return _0x17a861?(_0x36a2aa=(_0x15d9ab=this[_0x12a35b(0x1b7)]()[_0x12a35b(0x1be)])==null?void 0x0:_0x15d9ab[_0x12a35b(0x187)][_0x12a35b(0x1c1)](_0x17a861[_0x12a35b(0x1fa)]+0x1,_0x17a861[_0x12a35b(0x202)])[_0x12a35b(0x1e0)](/\r\n$/,''))==null?'':_0x36a2aa:'';}[_0x1765da(0x1cf)](_0x41779c,_0x336436){const _0x2ebe70=_0x1765da;var _0x4412c1,_0x154e89,_0x5eb9c9;let _0x5b8a25=this['getSource'](),_0x281046=_0x5b8a25==null||(_0x4412c1=_0x5b8a25['tableRows'][_0x41779c])==null?void 0x0:_0x4412c1[_0x2ebe70(0x19e)][_0x336436];return _0x281046?t[_0x2ebe70(0x1c0)][_0x2ebe70(0x185)]((_0x154e89=(_0x5eb9c9=_0x281046['margin'])==null?_0x5b8a25[_0x2ebe70(0x1c5)]:_0x5eb9c9)==null?e['DEFAULT_DOCS_TABLE_CELL_MARGIN']:_0x154e89):null;}[_0x1765da(0x21d)](_0x146d65,_0x374880){const _0x3f6ea9=_0x1765da;var _0x5606b6;let _0x10f6d5=(_0x5606b6=this[_0x3f6ea9(0x1c7)]())==null||(_0x5606b6=_0x5606b6[_0x3f6ea9(0x22e)][_0x146d65])==null?void 0x0:_0x5606b6[_0x3f6ea9(0x19e)][_0x374880];return _0x10f6d5!=null&&_0x10f6d5[_0x3f6ea9(0x233)]?t[_0x3f6ea9(0x1c0)]['deepClone'](_0x10f6d5[_0x3f6ea9(0x233)]):null;}[_0x1765da(0x24f)](){const _0x371fb8=_0x1765da;var _0x54d9a1,_0x2e4e41;return t[_0x371fb8(0x1c0)]['deepClone']((_0x54d9a1=(_0x2e4e41=this['getSource']())==null?void 0x0:_0x2e4e41[_0x371fb8(0x1c5)])==null?e[_0x371fb8(0x17f)]:_0x54d9a1);}[_0x1765da(0x1d5)](){const _0xb2f750=_0x1765da;var _0x52b77f;let _0x4862d5=(_0x52b77f=this[_0xb2f750(0x1c7)]())==null?void 0x0:_0x52b77f[_0xb2f750(0x1c5)];return _0x4862d5?t[_0xb2f750(0x1c0)][_0xb2f750(0x185)](_0x4862d5):null;}['getMetadata'](){const _0x132110=_0x1765da;return this[_0x132110(0x1f1)][_0x132110(0x21e)](e[_0x132110(0x188)])[_0x132110(0x1a8)](this['_unitId'],this[_0x132110(0x237)]);}['getSource'](){const _0x50e835=_0x1765da;var _0x443093;return(_0x443093=this[_0x50e835(0x1b7)]()[_0x50e835(0x18f)])==null?void 0x0:_0x443093[this[_0x50e835(0x237)]];}[_0x1765da(0x216)](){const _0x5c8fb3=_0x1765da;return(0x0,e[_0x5c8fb3(0x248)])(this[_0x5c8fb3(0x1b7)](),this['_tableId']);}[_0x1765da(0x1f8)](){const _0x2174a0=_0x1765da;return{'startRow':0x0,'endRow':Math[_0x2174a0(0x225)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x2174a0(0x225)](0x0,this[_0x2174a0(0x1a1)]()-0x1)};}[_0x1765da(0x1eb)](_0xca008f,_0x54ee72){return{'startRow':_0xca008f,'endRow':_0xca008f,'startColumn':_0x54ee72,'endColumn':_0x54ee72};}['getCellContentRange'](_0x286408,_0x4b2d38){const _0x5b4454=_0x1765da;var _0x47fb57;let _0x357588=(_0x47fb57=(0x0,e[_0x5b4454(0x248)])(this[_0x5b4454(0x1b7)](),this['_tableId']))==null||(_0x47fb57=_0x47fb57['rows'][_0x286408])==null?void 0x0:_0x47fb57[_0x5b4454(0x19f)][_0x4b2d38];if(!_0x357588)return null;let _0x2fc62a=_0x357588[_0x5b4454(0x1fa)]+0x1;return{'startOffset':_0x2fc62a,'endOffset':Math[_0x5b4454(0x225)](_0x2fc62a,_0x357588[_0x5b4454(0x202)]-0x1),'segmentId':this['_segmentId']};}[_0x1765da(0x189)](_0x65affa,_0x342b06){const _0x446184=_0x1765da;var _0x3f81de,_0x4c647b;return(_0x3f81de=(_0x4c647b=this[_0x446184(0x194)](_0x65affa,_0x342b06))==null?void 0x0:_0x4c647b[_0x446184(0x202)])==null?null:_0x3f81de;}[_0x1765da(0x215)](_0x54e851){const _0x5b06e7=_0x1765da;return this[_0x5b06e7(0x1c9)](_0x54e851,0x1);}[_0x1765da(0x1c9)](_0x305735,_0x5f48bc=0x1){const _0x18cb03=_0x1765da;return{'startRow':_0x305735,'endRow':_0x305735+_0x5f48bc-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x18cb03(0x1a1)]()-0x1)};}[_0x1765da(0x252)](_0x5d17eb){const _0x471006=_0x1765da;return this[_0x471006(0x247)](_0x5d17eb,0x1);}[_0x1765da(0x247)](_0x1dd7fa,_0x1c63aa=0x1){const _0x30131d=_0x1765da;return{'startRow':0x0,'endRow':Math[_0x30131d(0x225)](0x0,this[_0x30131d(0x1d4)]()-0x1),'startColumn':_0x1dd7fa,'endColumn':_0x1dd7fa+_0x1c63aa-0x1};}[_0x1765da(0x241)](){const _0x516afb=_0x1765da;return this['selectRange'](this[_0x516afb(0x1f8)](),e[_0x516afb(0x191)][_0x516afb(0x243)]);}[_0x1765da(0x1cc)](_0x4c0c09){return this['selectRows'](_0x4c0c09,0x1);}[_0x1765da(0x1b8)](_0x2d8d4c,_0xd2d255=0x1){const _0x47fe4c=_0x1765da;return this[_0x47fe4c(0x1c4)](this[_0x47fe4c(0x1c9)](_0x2d8d4c,_0xd2d255),e[_0x47fe4c(0x191)][_0x47fe4c(0x182)]);}[_0x1765da(0x181)](_0x546197){const _0x16ac96=_0x1765da;return this[_0x16ac96(0x21c)](_0x546197,0x1);}[_0x1765da(0x21c)](_0x53944c,_0x56fef4=0x1){const _0x4e508e=_0x1765da;return this[_0x4e508e(0x1c4)](this[_0x4e508e(0x247)](_0x53944c,_0x56fef4),e['DocsTableSelectionKind']['Column']);}['selectCell'](_0x5f22ce,_0x19e65b){const _0xd547dd=_0x1765da;return this[_0xd547dd(0x1c4)](this[_0xd547dd(0x1eb)](_0x5f22ce,_0x19e65b),e[_0xd547dd(0x191)][_0xd547dd(0x254)]);}[_0x1765da(0x1c4)](_0x2a26bf,_0x369974=e[_0x1765da(0x191)][_0x1765da(0x242)]){const _0x2769bd=_0x1765da;return this[_0x2769bd(0x1f1)][_0x2769bd(0x21e)](e[_0x2769bd(0x1ca)])[_0x2769bd(0x1d8)]({..._0x2a26bf,'kind':_0x369974,'segmentId':this[_0x2769bd(0x18d)],'tableId':this[_0x2769bd(0x237)]}),!0x0;}[_0x1765da(0x203)](_0x1961fc){const _0x41bf2d=_0x1765da;return this[_0x41bf2d(0x1ce)](_0x1961fc,0x1);}['insertRowAfter'](_0x177054){const _0x55dada=_0x1765da;return this[_0x55dada(0x24e)](_0x177054,0x1);}[_0x1765da(0x1ce)](_0x1992b2,_0x3c80bf){const _0x1c7836=_0x1765da;let _0x5ac7de=this['_getDocumentData'](),_0x4b3774=(0x0,e['buildInsertTableRowsMutationActions'])(_0x5ac7de,this['_tableId'],_0x1992b2,_0x3c80bf,e['DocsTableInsertPosition'][_0x1c7836(0x223)],this[_0x1c7836(0x1e4)]());return _0x4b3774?this[_0x1c7836(0x1b3)](_0x5ac7de,_0x4b3774['actions']):!0x1;}['insertRowsAfter'](_0x3b3d34,_0x26952d){const _0x5049d4=_0x1765da;let _0x2193f1=this[_0x5049d4(0x1b7)](),_0xaeba10=(0x0,e[_0x5049d4(0x24b)])(_0x2193f1,this[_0x5049d4(0x237)],_0x3b3d34,_0x26952d,e['DocsTableInsertPosition']['Below'],this[_0x5049d4(0x1e4)]());return _0xaeba10?this[_0x5049d4(0x1b3)](_0x2193f1,_0xaeba10[_0x5049d4(0x251)]):!0x1;}[_0x1765da(0x229)](){const _0x4c45da=_0x1765da;return this[_0x4c45da(0x24e)](Math[_0x4c45da(0x225)](0x0,this[_0x4c45da(0x1d4)]()-0x1),0x1);}[_0x1765da(0x18e)](_0x1fdb85){const _0x5f39c0=_0x1765da;return this[_0x5f39c0(0x18c)](_0x1fdb85,0x1);}[_0x1765da(0x1b0)](_0x5a25f7){return this['insertColumnsAfter'](_0x5a25f7,0x1);}['insertColumnsBefore'](_0x4714df,_0x55995a){const _0x2561f4=_0x1765da;let _0x365198=this[_0x2561f4(0x1b7)](),_0x1d3e95=(0x0,e[_0x2561f4(0x1da)])(_0x365198,this[_0x2561f4(0x237)],_0x4714df,_0x55995a,e[_0x2561f4(0x22b)][_0x2561f4(0x222)],{'bodyPath':this[_0x2561f4(0x1e4)]()});return _0x1d3e95?this['_mutateActions'](_0x365198,_0x1d3e95[_0x2561f4(0x251)]):!0x1;}['insertColumnsAfter'](_0x4fa428,_0x9cf518){const _0x3948cf=_0x1765da;let _0x128406=this[_0x3948cf(0x1b7)](),_0x1eb9f2=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x128406,this[_0x3948cf(0x237)],_0x4fa428,_0x9cf518,e[_0x3948cf(0x22b)][_0x3948cf(0x1f3)],{'bodyPath':this[_0x3948cf(0x1e4)]()});return _0x1eb9f2?this['_mutateActions'](_0x128406,_0x1eb9f2[_0x3948cf(0x251)]):!0x1;}[_0x1765da(0x1e7)](){const _0x453e16=_0x1765da;return this[_0x453e16(0x1e3)](Math[_0x453e16(0x225)](0x0,this[_0x453e16(0x1a1)]()-0x1),0x1);}[_0x1765da(0x236)](_0x5ac51a){return this['deleteRows'](_0x5ac51a,0x1);}[_0x1765da(0x1e8)](_0x22dd1a,_0x111c7d=0x1){const _0xddac8c=_0x1765da;let _0x5ab3a4=this['_getDocumentData'](),_0x2ef5c5=(0x0,e['buildDeleteTableRowsMutationActions'])(_0x5ab3a4,this[_0xddac8c(0x237)],_0x22dd1a,_0x22dd1a+_0x111c7d-0x1,this['_getBodyPath']());return _0x2ef5c5?this['_mutateActions'](_0x5ab3a4,_0x2ef5c5[_0xddac8c(0x251)]):!0x1;}[_0x1765da(0x240)](_0x5d8864){const _0x2822bd=_0x1765da;return this[_0x2822bd(0x192)](_0x5d8864,0x1);}[_0x1765da(0x192)](_0x51fab9,_0x4e08ce=0x1){const _0x136e6a=_0x1765da;let _0x31ec3d=this[_0x136e6a(0x1b7)](),_0x53c8e5=(0x0,e[_0x136e6a(0x22d)])(_0x31ec3d,this[_0x136e6a(0x237)],_0x51fab9,_0x51fab9+_0x4e08ce-0x1,this[_0x136e6a(0x1e4)]());return _0x53c8e5?this[_0x136e6a(0x1b3)](_0x31ec3d,_0x53c8e5[_0x136e6a(0x251)]):!0x1;}[_0x1765da(0x24d)](){const _0x21d0dd=_0x1765da;let _0x519898=this[_0x21d0dd(0x1b7)](),_0x4c6347=(0x0,e[_0x21d0dd(0x231)])(_0x519898,this['_tableId'],this[_0x21d0dd(0x1e4)]());return _0x4c6347?this[_0x21d0dd(0x1b3)](_0x519898,_0x4c6347[_0x21d0dd(0x251)]):!0x1;}[_0x1765da(0x1bb)](_0x105e14,_0x27f54b){const _0x339503=_0x1765da;let _0x560832=this['_getDocumentData']();return this[_0x339503(0x1b3)](_0x560832,(0x0,e[_0x339503(0x1c2)])(_0x560832,this[_0x339503(0x237)],_0x105e14,_0x27f54b));}[_0x1765da(0x1ab)](_0x2ad33b){const _0x546872=_0x1765da;let _0x618669=this[_0x546872(0x1b7)]();return this['_mutateActions'](_0x618669,(0x0,e[_0x546872(0x20a)])(_0x618669,this['_tableId'],_0x2ad33b,this['_getBodyPath']()));}[_0x1765da(0x197)](_0x3d1dfa,_0x1d1c0c,_0xb01c37=e['DocsTableInsertPosition']['Above']){const _0x526201=_0x1765da;return this[_0x526201(0x1d9)](_0x3d1dfa,0x1,_0x1d1c0c,_0xb01c37);}['moveRows'](_0x4d9b41,_0x3a9623,_0x40aafa,_0x5a05ce=e[_0x1765da(0x22b)]['Above']){const _0x257acb=_0x1765da;let _0x59a8db=this[_0x257acb(0x1b7)](),_0x3b0325=(0x0,e[_0x257acb(0x1ef)])(_0x59a8db,this[_0x257acb(0x237)],_0x4d9b41,_0x40aafa,_0x3a9623,_0x5a05ce,this[_0x257acb(0x1e4)]());return _0x3b0325?this[_0x257acb(0x1b3)](_0x59a8db,_0x3b0325[_0x257acb(0x251)]):!0x1;}[_0x1765da(0x24c)](_0x2f1fb6,_0x2fb5a2,_0x5e1f04=e[_0x1765da(0x22b)][_0x1765da(0x222)]){const _0x4a410c=_0x1765da;return this[_0x4a410c(0x256)](_0x2f1fb6,0x1,_0x2fb5a2,_0x5e1f04);}[_0x1765da(0x256)](_0x9d55b0,_0x5d8a7e,_0x54a515,_0x4b9e4e=e[_0x1765da(0x22b)][_0x1765da(0x222)]){const _0x47c529=_0x1765da;let _0x462250=this['_getDocumentData'](),_0x5da461=(0x0,e['buildMoveTableColumnsMutationActions'])(_0x462250,this[_0x47c529(0x237)],_0x9d55b0,_0x54a515,_0x5d8a7e,_0x4b9e4e,this[_0x47c529(0x1e4)]());return _0x5da461?this[_0x47c529(0x1b3)](_0x462250,_0x5da461[_0x47c529(0x251)]):!0x1;}[_0x1765da(0x1ed)](_0x5ae081){const _0x12abe5=_0x1765da;try{let _0x3ac1a2=this['_getDocumentData'](),_0x540171=(0x0,e[_0x12abe5(0x195)])({'documentData':_0x3ac1a2,'tableId':this[_0x12abe5(0x237)],..._0x5ae081});return _0x540171?this['_mutateActions'](_0x3ac1a2,_0x540171[_0x12abe5(0x251)],_0x5ae081):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x24ff94){const _0x468373=_0x1765da;try{let _0x1a3d10=this['_getDocumentData'](),_0x3417e9=(0x0,e[_0x468373(0x1a9)])({'documentData':_0x1a3d10,'tableId':this[_0x468373(0x237)],..._0x24ff94});return _0x3417e9?this[_0x468373(0x1b3)](_0x1a3d10,_0x3417e9[_0x468373(0x251)],_0x24ff94):!0x1;}catch{return!0x1;}}['setCellText'](_0x45b330,_0x577572,_0x25101d){const _0x3092fc=_0x1765da;let _0x27ced3=this[_0x3092fc(0x1b7)](),_0x251d84=(0x0,e['getTableActionBodyPath'])(this[_0x3092fc(0x1dc)]['getDocumentDataModel']()[_0x3092fc(0x207)](),this['_segmentId']);return this[_0x3092fc(0x1b3)](_0x27ced3,(0x0,e['buildSetTableCellTextMutationActions'])({'documentData':_0x27ced3,'tableId':this[_0x3092fc(0x237)],'row':_0x45b330,'column':_0x577572,'text':_0x25101d},_0x251d84),this[_0x3092fc(0x1eb)](_0x45b330,_0x577572));}['setCellBackground'](_0x5f0681,_0x32f50e){const _0x1c84af=_0x1765da;let _0x10b30d=this['_getDocumentData']();return this[_0x1c84af(0x1b3)](_0x10b30d,(0x0,e[_0x1c84af(0x211)])(_0x10b30d,{'tableId':this[_0x1c84af(0x237)],..._0x5f0681,'value':_0x32f50e}),_0x5f0681);}[_0x1765da(0x205)](_0x56e3c5,_0x4231c6){const _0x5a177b=_0x1765da;let _0x1589dc=this['_getDocumentData']();return this['_mutateActions'](_0x1589dc,(0x0,e[_0x5a177b(0x219)])({'documentData':_0x1589dc,'tableId':this['_tableId'],..._0x56e3c5,'margin':_0x4231c6}),_0x56e3c5);}['setDefaultCellMargin'](_0xa29c24){const _0x7b95a=_0x1765da;let _0x276db0=this[_0x7b95a(0x1b7)]();return this[_0x7b95a(0x1b3)](_0x276db0,(0x0,e[_0x7b95a(0x19b)])(_0x276db0,this[_0x7b95a(0x237)],_0xa29c24));}[_0x1765da(0x196)](_0x12cdb8,_0x2f18a2){const _0x586ff9=_0x1765da;var _0x17b82e,_0x530d46,_0x16f1cb,_0x4d4979;let _0x160fee=this[_0x586ff9(0x1b7)]();return this['_mutateActions'](_0x160fee,(0x0,e[_0x586ff9(0x1bd)])({'documentData':_0x160fee,'tableId':this['_tableId'],..._0x12cdb8,'preset':(_0x17b82e=_0x2f18a2[_0x586ff9(0x190)])==null?e[_0x586ff9(0x217)][_0x586ff9(0x1ee)]:_0x17b82e,'border':(_0x530d46=_0x2f18a2['border'])==null?{'color':{'rgb':(_0x16f1cb=_0x2f18a2[_0x586ff9(0x1ea)])==null?_0x586ff9(0x220):_0x16f1cb},'width':{'v':(_0x4d4979=_0x2f18a2[_0x586ff9(0x232)])==null?0x1:_0x4d4979},'dashStyle':t[_0x586ff9(0x1bc)][_0x586ff9(0x1e1)]}:_0x530d46}),_0x12cdb8);}[_0x1765da(0x23b)](_0xd58728){const _0x2ddc0b=_0x1765da;return this[_0x2ddc0b(0x221)](this[_0x2ddc0b(0x1f8)](),_0xd58728);}[_0x1765da(0x17e)](_0x5ca1f0){const _0x125067=_0x1765da;return this['setBorder'](this[_0x125067(0x1f8)](),_0x5ca1f0);}[_0x1765da(0x23c)](_0x4580e0){const _0x23719f=_0x1765da;let _0x20b6a4=_0x4580e0[_0x23719f(0x1a5)]?this['setTableBackground'](_0x4580e0[_0x23719f(0x1a5)]):!0x0,_0x5cf21c=_0x4580e0[_0x23719f(0x228)]?this['setTableBorder'](_0x4580e0[_0x23719f(0x228)]):!0x0;return _0x20b6a4&&_0x5cf21c;}[_0x1765da(0x218)](_0x4a6af2,_0x335ac7,_0x3c2a64=t[_0x1765da(0x1a4)]['AT_LEAST']){const _0x31056e=_0x1765da;var _0xabbaa4;let _0x13d109=this['_getDocumentData']();return!((_0xabbaa4=_0x13d109[_0x31056e(0x18f)])==null||(_0xabbaa4=_0xabbaa4[this[_0x31056e(0x237)]])==null)&&_0xabbaa4['tableRows'][_0x4a6af2]?this['_mutateActions'](_0x13d109,(0x0,e['buildResizeTableRowActionsFromHeight'])(_0x13d109,this[_0x31056e(0x237)],_0x4a6af2,_0x335ac7,_0x3c2a64)):!0x1;}[_0x1765da(0x1f0)](_0x423cbd){const _0x55f842=_0x1765da;var _0xf94592;let _0x2a308c=(_0xf94592=this[_0x55f842(0x1c7)]())==null||(_0xf94592=_0xf94592[_0x55f842(0x22e)][_0x423cbd])==null?void 0x0:_0xf94592[_0x55f842(0x214)];return _0x2a308c?t['Tools'][_0x55f842(0x185)](_0x2a308c):null;}[_0x1765da(0x212)](_0x276f18,_0x37168c){const _0x1f022a=_0x1765da;var _0x225b53;let _0x1a477b=this[_0x1f022a(0x1b7)]();return!((_0x225b53=_0x1a477b['tableSource'])==null||(_0x225b53=_0x225b53[this['_tableId']])==null)&&_0x225b53[_0x1f022a(0x1ac)][_0x276f18]?this[_0x1f022a(0x1b3)](_0x1a477b,(0x0,e['buildResizeTableColumnActionsFromWidth'])(_0x1a477b,this[_0x1f022a(0x237)],_0x276f18,_0x37168c)):!0x1;}[_0x1765da(0x186)](_0x33db7a=0x0,_0x216572=this[_0x1765da(0x1d4)]()){const _0x17b606=_0x1765da;let _0x4320b5=this['_getDocumentData']();return this[_0x17b606(0x1b3)](_0x4320b5,(0x0,e[_0x17b606(0x245)])(_0x4320b5,this[_0x17b606(0x237)],_0x33db7a,_0x33db7a+_0x216572-0x1));}[_0x1765da(0x1e2)](_0x4cae2c=0x0,_0x440b80=this['getColumnCount']()){const _0x200724=_0x1765da;let _0x674ba4=this[_0x200724(0x1b7)]();return this['_mutateActions'](_0x674ba4,(0x0,e[_0x200724(0x213)])(_0x674ba4,this[_0x200724(0x237)],_0x4cae2c,_0x4cae2c+_0x440b80-0x1));}['getHeaderRowCount'](){const _0x4acd7d=_0x1765da;var _0x33f080,_0x395937;return(_0x33f080=(_0x395937=this[_0x4acd7d(0x253)]())==null?void 0x0:_0x395937[_0x4acd7d(0x1ec)])==null?0x0:_0x33f080;}[_0x1765da(0x1cd)](_0x11dae3){const _0x204798=_0x1765da;let _0x21f86c=this['_injector'][_0x204798(0x21e)](e['DocsTableModel']),_0x31780c=this['_getDocumentData'](),_0x4ec834=(0x0,e[_0x204798(0x18a)])(_0x31780c,this[_0x204798(0x237)],_0x11dae3);if(!_0x4ec834)return!0x1;let _0x67f9dd=this[_0x204798(0x1b3)](_0x31780c,_0x4ec834[_0x204798(0x251)]);return _0x67f9dd&&_0x21f86c['setHeaderRowCount'](this[_0x204798(0x1b1)],this[_0x204798(0x237)],_0x4ec834[_0x204798(0x1ec)]),_0x67f9dd;}[_0x1765da(0x1b5)](_0x29473d){const _0x2b1db3=_0x1765da;return this[_0x2b1db3(0x1cd)](_0x29473d);}[_0x1765da(0x224)](){const _0x39be98=_0x1765da;var _0x5282c8,_0x3d4f9d;return(_0x5282c8=(_0x3d4f9d=this['getMetadata']())==null?void 0x0:_0x3d4f9d[_0x39be98(0x1bf)])==null?!0x1:_0x5282c8;}[_0x1765da(0x255)](){const _0x400736=_0x1765da;let _0x3ad48b=this[_0x400736(0x1f1)][_0x400736(0x21e)](e[_0x400736(0x188)]),_0x4544df=this['_getDocumentData'](),_0x14a49f=(0x0,e[_0x400736(0x1dd)])(_0x4544df,this[_0x400736(0x237)],this[_0x400736(0x1e4)]());if(!_0x14a49f)return!0x1;let _0x48572b=this['_mutateActions'](_0x4544df,_0x14a49f['actions']);return _0x48572b&&_0x3ad48b[_0x400736(0x1a0)](this[_0x400736(0x1b1)],this[_0x400736(0x237)],!0x0),_0x48572b;}[_0x1765da(0x1c8)](_0x2faa4c,_0x3625bb){const _0x3ae568=_0x1765da;return this[_0x3ae568(0x1f1)][_0x3ae568(0x21e)](e[_0x3ae568(0x188)])['setColumnType'](this[_0x3ae568(0x1b1)],this[_0x3ae568(0x237)],_0x2faa4c,_0x3625bb),!0x0;}[_0x1765da(0x198)](_0x266fbf,_0x5dce44){const _0x4486bb=_0x1765da;let _0x19a36d=this[_0x4486bb(0x1b7)]();return this['_mutateActions'](_0x19a36d,(0x0,e['buildSortTableMutationActions'])(_0x19a36d,this[_0x4486bb(0x1f2)](),this['_tableId'],_0x266fbf,_0x5dce44,this[_0x4486bb(0x1e4)]()));}[_0x1765da(0x1b7)](){const _0x581e00=_0x1765da;let _0x106c73=this['_document'][_0x581e00(0x1df)]()[_0x581e00(0x207)]();return this[_0x581e00(0x18d)]?{...this[_0x581e00(0x1dc)][_0x581e00(0x1df)](this[_0x581e00(0x18d)])[_0x581e00(0x207)](),'documentStyle':_0x106c73['documentStyle'],'tableSource':_0x106c73[_0x581e00(0x18f)]}:_0x106c73;}[_0x1765da(0x1f2)](){const _0x4112ac=_0x1765da;return this[_0x4112ac(0x1f1)][_0x4112ac(0x21e)](e[_0x4112ac(0x188)])[_0x4112ac(0x23e)](this[_0x4112ac(0x1b1)]);}[_0x1765da(0x1e4)](){const _0x590c7b=_0x1765da;return(0x0,e[_0x590c7b(0x1e6)])(this[_0x590c7b(0x1dc)][_0x590c7b(0x1df)]()[_0x590c7b(0x207)](),this['_segmentId']);}[_0x1765da(0x1b3)](_0x42f609,_0x2d6527,_0x104990){const _0x5648b7=_0x1765da;return(0x0,e['executeRichTextTableActions'])(this[_0x5648b7(0x1f1)][_0x5648b7(0x21e)](t['ICommandService']),this[_0x5648b7(0x1b1)],_0x42f609,_0x2d6527,_0x104990?{'tableId':this[_0x5648b7(0x237)],'segmentId':this[_0x5648b7(0x18d)],..._0x104990}:void 0x0);}},d=class extends r[_0x1765da(0x20e)]{[_0x1765da(0x1fb)](_0x3a66a1=''){const _0x171f0f=_0x1765da;return this[_0x171f0f(0x1b2)](_0x3a66a1)[_0x171f0f(0x23f)](_0x268dda=>this[_0x171f0f(0x199)](_0x268dda[_0x171f0f(0x226)],_0x3a66a1));}[_0x1765da(0x200)](_0x245595,_0x42e4b0=''){const _0x5e8025=_0x1765da;return this[_0x5e8025(0x1b2)](_0x42e4b0)[_0x5e8025(0x1db)](_0x64676e=>_0x64676e['tableId']===_0x245595)?this[_0x5e8025(0x199)](_0x245595,_0x42e4b0):null;}[_0x1765da(0x1a6)](_0x39e0db,_0xe8b59f=''){const _0x1cb36c=_0x1765da;var _0x268b02;let _0x2c26cf=(_0x268b02=this['_getTables'](_0xe8b59f)[_0x39e0db])==null?void 0x0:_0x268b02['tableId'];return _0x2c26cf?this[_0x1cb36c(0x199)](_0x2c26cf,_0xe8b59f):null;}[_0x1765da(0x184)](){const _0x15cd58=_0x1765da;let _0x4f9ca3=this[_0x15cd58(0x1f1)][_0x15cd58(0x21e)](e['DocsTableSelectionService'])[_0x15cd58(0x1ff)]();return _0x4f9ca3!=null&&_0x4f9ca3[_0x15cd58(0x226)]?this[_0x15cd58(0x199)](_0x4f9ca3['tableId'],_0x4f9ca3[_0x15cd58(0x1fc)]):null;}[_0x1765da(0x230)](_0x145080,_0x439832=''){var _0x5d6481;return(_0x5d6481=this['findTables'](_0x145080,_0x439832)[0x0])==null?null:_0x5d6481;}[_0x1765da(0x22a)](_0x381ed0,_0x26ba14=''){const _0x4126f8=_0x1765da;let _0x2fdb80=this['_getTableDocumentData'](_0x26ba14),_0x21d044=typeof _0x381ed0==_0x4126f8(0x183)?{'text':_0x381ed0}:_0x381ed0;return this[_0x4126f8(0x1fb)](_0x26ba14)[_0x4126f8(0x249)](_0x4b132e=>{const _0x26202b=_0x4126f8;let _0x379983=_0x4b132e['getId']();return!(_0x21d044[_0x26202b(0x226)]&&_0x379983!==_0x21d044[_0x26202b(0x226)]||_0x21d044[_0x26202b(0x234)]&&!this[_0x26202b(0x1aa)](_0x2fdb80,_0x379983,_0x21d044[_0x26202b(0x234)])||_0x21d044[_0x26202b(0x21b)]&&!this[_0x26202b(0x210)](_0x4b132e,0x0,_0x21d044[_0x26202b(0x21b)])||_0x21d044['titleText']&&!this['_rowContainsText'](_0x4b132e,0x0,_0x21d044[_0x26202b(0x246)]));});}[_0x1765da(0x208)](_0x397fe8,_0x276eec,_0x433bf2={}){const _0x2f5704=_0x1765da;var _0x2d5215,_0x2116ad;let _0x59e118=this[_0x2f5704(0x1f1)][_0x2f5704(0x21e)](t['ICommandService']),_0x305074=(_0x2d5215=_0x433bf2[_0x2f5704(0x226)])==null?(0x0,t[_0x2f5704(0x1a2)])(0x6):_0x2d5215;return _0x59e118[_0x2f5704(0x1cb)](e[_0x2f5704(0x17d)]['id'],{..._0x433bf2,'unitId':this[_0x2f5704(0x20f)](),'rows':_0x397fe8,'columns':_0x276eec,'tableId':_0x305074})?this[_0x2f5704(0x199)](_0x305074,(_0x2116ad=_0x433bf2[_0x2f5704(0x1fc)])==null?'':_0x2116ad):null;}['insertTableFromData'](_0x4e3418,_0x456ed0={}){const _0x42f6a3=_0x1765da;var _0x3dd8ce,_0x37a789;let _0x21df4f=this[_0x42f6a3(0x1f1)][_0x42f6a3(0x21e)](t[_0x42f6a3(0x1f5)]),_0x2ff935=(_0x3dd8ce=_0x456ed0[_0x42f6a3(0x226)])==null?(0x0,t[_0x42f6a3(0x1a2)])(0x6):_0x3dd8ce;return _0x21df4f[_0x42f6a3(0x1cb)](e[_0x42f6a3(0x17d)]['id'],{..._0x456ed0,'unitId':this['getId'](),'values':_0x4e3418,'tableId':_0x2ff935})?this[_0x42f6a3(0x199)](_0x2ff935,(_0x37a789=_0x456ed0[_0x42f6a3(0x1fc)])==null?'':_0x37a789):null;}[_0x1765da(0x1b2)](_0xc7af78=''){const _0x18cd84=_0x1765da;let {tables:_0x56be7d=[]}=this[_0x18cd84(0x22f)](_0xc7af78);return _0x56be7d;}['_getTableDocumentData'](_0x441062=''){const _0x48f230=_0x1765da;let _0x21528b=this[_0x48f230(0x1df)]()[_0x48f230(0x207)]();return _0x441062?{...this['getDocumentDataModel'](_0x441062)['getSnapshot'](),'documentStyle':_0x21528b['documentStyle'],'tableSource':_0x21528b[_0x48f230(0x18f)]}:_0x21528b;}[_0x1765da(0x199)](_0x2b29c1,_0x2e7841=''){const _0x37c4e7=_0x1765da;return this[_0x37c4e7(0x1f1)]['createInstance'](u,this,_0x2b29c1,_0x2e7841,this[_0x37c4e7(0x1f1)]);}[_0x1765da(0x1aa)](_0x41fab8,_0x122ffe,_0x53445c){const _0x215636=_0x1765da;var _0x33b774;let _0x5aa3c8=(0x0,e[_0x215636(0x248)])(_0x41fab8,_0x122ffe);if(!_0x5aa3c8)return!0x1;let _0xe940f0=(_0x33b774=_0x41fab8[_0x215636(0x1be)])==null?void 0x0:_0x33b774[_0x215636(0x187)];return _0xe940f0?_0xe940f0[_0x215636(0x1c1)](_0x5aa3c8['startOffset'],_0x5aa3c8[_0x215636(0x202)])[_0x215636(0x180)](_0x53445c):!0x1;}[_0x1765da(0x210)](_0x153011,_0x152234,_0x33e508){const _0x5dfb22=_0x1765da;return Array[_0x5dfb22(0x1e5)]({'length':_0x153011[_0x5dfb22(0x1a1)]()},(_0x43b783,_0x5a96ad)=>_0x153011[_0x5dfb22(0x209)](_0x152234,_0x5a96ad))[_0x5dfb22(0x1db)](_0x1b8d01=>_0x1b8d01[_0x5dfb22(0x180)](_0x33e508));}};r[_0x1765da(0x20e)][_0x1765da(0x250)](d),exports['FDocumentTable']=u,exports[_0x1765da(0x1f6)]=a;