@univerjs-pro/docs-table 1.0.1 → 1.0.3
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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x51a194=_0x549a;(function(_0x6497ca,_0x1e3af2){const _0x1ce247=_0x549a,_0x480b7e=_0x6497ca();while(!![]){try{const _0x4da5d6=parseInt(_0x1ce247(0x134))/0x1+parseInt(_0x1ce247(0x157))/0x2*(-parseInt(_0x1ce247(0x1a2))/0x3)+parseInt(_0x1ce247(0x136))/0x4*(parseInt(_0x1ce247(0x181))/0x5)+-parseInt(_0x1ce247(0x1d0))/0x6*(parseInt(_0x1ce247(0x1fe))/0x7)+parseInt(_0x1ce247(0x145))/0x8+-parseInt(_0x1ce247(0x1d8))/0x9*(-parseInt(_0x1ce247(0x1b3))/0xa)+-parseInt(_0x1ce247(0x1e1))/0xb;if(_0x4da5d6===_0x1e3af2)break;else _0x480b7e['push'](_0x480b7e['shift']());}catch(_0x3f7100){_0x480b7e['push'](_0x480b7e['shift']());}}}(_0x3fec,0x98894),Object[_0x51a194(0x1bf)](exports,Symbol['toStringTag'],{'value':_0x51a194(0x1c1)}));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[_0x51a194(0x185)]{get[_0x51a194(0x1e9)](){const _0x293018=_0x51a194;return e[_0x293018(0x1e9)];}get[_0x51a194(0x1a9)](){const _0x162786=_0x51a194;return e[_0x162786(0x1a9)];}get[_0x51a194(0x137)](){const _0x3a324c=_0x51a194;return e[_0x3a324c(0x137)];}get[_0x51a194(0x17b)](){return e['DocsTableRowInsertPosition'];}get[_0x51a194(0x142)](){return e['DocsTableColumnInsertPosition'];}get[_0x51a194(0x1cb)](){const _0x2b3f01=_0x51a194;return e[_0x2b3f01(0x1cb)];}get['DocsTableSortDirection'](){return e['DocsTableSortDirection'];}get[_0x51a194(0x17d)](){const _0x54ef82=_0x51a194;return t[_0x54ef82(0x17d)];}};function _0x3fec(){const _0x3332a5=['DocsTableSelectionKind','getMargin','DocsTableInsertPosition','call','getCellText','moveRows','buildInsertTableRowsMutationActions','findTables','insertRowsAfter','moveColumn','length','DocsTableColumnInsertPosition','_column','rows','8978720KGueLm','appendColumn','endOffset','getRowCount','Table','getTables','getRowHeight','dataStream','ICommandService','getInfo','describe','backgroundColor','tableId','some','getTableActionBodyPath','getTableAtSelection','constructor','from','26mAlfOJ','moveRow','getTableMetadata','buildMoveTableToOffsetMutationActions','Range','selectRows','getCell','string','get','_getTables','setTitleRow','replace','filter','buildInsertTableTitleRowMutationActions','setHeaderRowCount','clearMarginOverride','distributeRows','body','buildSetTableDefaultCellMarginMutationActions','margin','startOffset','buildMoveFloatingTableMutationActions','moveTableToOffset','getSnapshot','iterator','getSource','Tools','getBody','deleteRow','segmentId','getDefaultCellMarginOverride','_getDocumentData','moveColumns','_unitId','type','deepClone','DocsTableRowInsertPosition','unmergeCells','DashStyleType','_serializeModel','headerRowCount','decorate','90zaASke','text','getMetadata','generateRandomId','FEnum','setCellBackground','TableRowHeightRule','_segmentId','FDocumentTableCell','getColumnRange','preset','buildMergeCellsMutationActions','buildInsertTableColumnsMutationActions','function','default','headerText','tableSource','Injector','cellMargin','getText','buildSetTableBorderMutationActions','mergeTo','getRowsRange','getCellContentRange','slice','object','cells','_tableId','#1f1f1f','actions','createInstance','_getBodyPath','border','285171XqMhbA','getTableRange','_injector','Right','insertRowAfter','selectCell','DocsTableSelectionService','DocsTableColumnType','_getTableDocumentData','DocsTableModel','Column','getDocumentDataModel','map','insertColumnsAfter','getColumnCount','getHeaderRowCount','selectColumns','2064030GikuoD','DEFAULT_DOCS_TABLE_CELL_MARGIN','Left','deleteRows','titleRow','Below','width','getContentRange','setTableBackground','setRowHeight','getCellInsertOffset','selectRange','defineProperty','setBorder','Module','sortByColumn','getSegmentId','_mutateActions','deleteColumns','buildDistributeTableRowsMutationActions','insertRowsBefore','syncExecuteCommand','symbol','_rowContainsText','DocsTableBorderPreset','buildMoveTableColumnsMutationActions','_tableContainsText','getMarginOverride','getCellMarginOverride','3102978WGkxZD','DocsTableInsertTableCommand','setColumnType','getTable','buildResizeTableRowActionsFromHeight','documentStyle','setBackgroundColor','buildMoveTableRowsMutationActions','18xcNAQE','getColumnsRange','insertColumnBefore','tableColumns','getRange','setCellMargin','appendRow','tableRows','moveTableBy','3633157uxCqmR','selectColumn','deleteColumn','includes','setTableBorder','buildSetTableBackgroundMutationActions','selectRow','setDefaultCellMargin','DocsTableInsertTablePosition','hasTitleRow','trHeight','getTableRangeById','DocsTableDeleteRowsCommand','getId','DocsTableDeleteColumnsCommand','getRowRange','serialize','_document','getRowIndex','FDocumentTable','getCellRange','getInsertOffset','max','color','_table','getTableAt','tableCells','insertColumnAfter','mergeCells','7XEJDsl','buildResizeTableColumnActionsFromWidth','_row','buildSortTableMutationActions','titleText','columnTypes','Above','Cell','_commandService','buildSetTableCellTextMutationActions','insertTitleRow','insertColumnsBefore','getCellMargin','getColumnIndex','extend','_createFDocumentTable','AT_LEAST','setMargin','buildUnmergeCellsMutationActions','insertTable','setCellText','SOLID','getOwnPropertyDescriptor','pinHeaderRows','toPrimitive','233539ortsrB','buildSetTableHeaderRowCountMutationActions','208732LioTBU'];_0x3fec=function(){return _0x3332a5;};return _0x3fec();}n[_0x51a194(0x185)]['extend'](i);function _0x549a(_0x89e095,_0x385d98){_0x89e095=_0x89e095-0x12f;const _0x3fecb7=_0x3fec();let _0x549a07=_0x3fecb7[_0x89e095];return _0x549a07;}var a=class{constructor(_0x3049f5,_0x472c49,_0x564a6c){this['_table']=_0x3049f5,this['_row']=_0x472c49,this['_column']=_0x564a6c;}[_0x51a194(0x1d3)](){const _0xd28998=_0x51a194;return this[_0xd28998(0x1f9)];}[_0x51a194(0x1f3)](){const _0x393610=_0x51a194;return this[_0x393610(0x200)];}[_0x51a194(0x20b)](){const _0x4850ff=_0x51a194;return this[_0x4850ff(0x143)];}[_0x51a194(0x194)](){const _0x316bfb=_0x51a194;return this[_0x316bfb(0x1f9)]['getCellText'](this[_0x316bfb(0x200)],this[_0x316bfb(0x143)]);}[_0x51a194(0x1ba)](){const _0x172219=_0x51a194;return this[_0x172219(0x1f9)][_0x172219(0x198)](this[_0x172219(0x200)],this[_0x172219(0x143)]);}[_0x51a194(0x1f6)](){const _0x300d53=_0x51a194;return this[_0x300d53(0x1f9)][_0x300d53(0x1bd)](this[_0x300d53(0x200)],this[_0x300d53(0x143)]);}[_0x51a194(0x138)](){const _0xfd532b=_0x51a194;return this[_0xfd532b(0x1f9)]['getCellMargin'](this['_row'],this[_0xfd532b(0x143)]);}[_0x51a194(0x1ce)](){const _0x14bc12=_0x51a194;return this[_0x14bc12(0x1f9)][_0x14bc12(0x1cf)](this['_row'],this[_0x14bc12(0x143)]);}[_0x51a194(0x20f)](_0x128b00){const _0x2bd17e=_0x51a194;return this[_0x2bd17e(0x1f9)]['setCellMargin'](this['_table'][_0x2bd17e(0x1f5)](this[_0x2bd17e(0x200)],this[_0x2bd17e(0x143)]),_0x128b00);}[_0x51a194(0x166)](){const _0x250f5a=_0x51a194;return this['_table'][_0x250f5a(0x1dd)](this[_0x250f5a(0x1f9)][_0x250f5a(0x1f5)](this['_row'],this[_0x250f5a(0x143)]),null);}['setText'](_0x208661){const _0xf99cc6=_0x51a194;return this[_0xf99cc6(0x1f9)][_0xf99cc6(0x12f)](this[_0xf99cc6(0x200)],this[_0xf99cc6(0x143)],_0x208661);}[_0x51a194(0x1d6)](_0x141274){const _0x445b76=_0x51a194;return this[_0x445b76(0x1f9)]['setCellBackground'](this[_0x445b76(0x1f9)][_0x445b76(0x1f5)](this[_0x445b76(0x200)],this['_column']),_0x141274);}[_0x51a194(0x1c0)](_0x5011b0){const _0x33cdc1=_0x51a194;return this[_0x33cdc1(0x1f9)]['setBorder'](this[_0x33cdc1(0x1f9)][_0x33cdc1(0x1f5)](this['_row'],this[_0x33cdc1(0x143)]),_0x5011b0);}[_0x51a194(0x196)](_0xb91a39,_0x1e7ac4){const _0x243ee8=_0x51a194;return this[_0x243ee8(0x1f9)][_0x243ee8(0x1fd)]({'startRow':this[_0x243ee8(0x200)],'startColumn':this[_0x243ee8(0x143)],'endRow':this['_row']+_0xb91a39-0x1,'endColumn':this['_column']+_0x1e7ac4-0x1});}['unmerge'](){const _0x3447d1=_0x51a194;return this[_0x3447d1(0x1f9)][_0x3447d1(0x17c)](this[_0x3447d1(0x1f9)]['getCellRange'](this[_0x3447d1(0x200)],this[_0x3447d1(0x143)]));}};function o(_0x4284f4){'@babel/helpers - typeof';const _0x5d53bc=_0x51a194;return o=typeof Symbol=='function'&&typeof Symbol[_0x5d53bc(0x16f)]==_0x5d53bc(0x1c9)?function(_0xb40bcf){return typeof _0xb40bcf;}:function(_0xf4ab5c){const _0x56b73b=_0x5d53bc;return _0xf4ab5c&&typeof Symbol==_0x56b73b(0x18e)&&_0xf4ab5c[_0x56b73b(0x155)]===Symbol&&_0xf4ab5c!==Symbol['prototype']?'symbol':typeof _0xf4ab5c;},o(_0x4284f4);}function s(_0x2220ae,_0xc67623){const _0x140245=_0x51a194;if(o(_0x2220ae)!=_0x140245(0x19a)||!_0x2220ae)return _0x2220ae;var _0x45f594=_0x2220ae[Symbol[_0x140245(0x133)]];if(_0x45f594!==void 0x0){var _0x195b89=_0x45f594[_0x140245(0x13a)](_0x2220ae,_0xc67623||_0x140245(0x18f));if(o(_0x195b89)!='object')return _0x195b89;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xc67623===_0x140245(0x15e)?String:Number)(_0x2220ae);}function c(_0x6bed4b){const _0x5aa7ea=_0x51a194;var _0x3bd2e6=s(_0x6bed4b,_0x5aa7ea(0x15e));return o(_0x3bd2e6)==_0x5aa7ea(0x1c9)?_0x3bd2e6:_0x3bd2e6+'';}function l(_0x5594a2,_0x1ae763,_0x78449c){const _0x43ae19=_0x51a194;return(_0x1ae763=c(_0x1ae763))in _0x5594a2?Object[_0x43ae19(0x1bf)](_0x5594a2,_0x1ae763,{'value':_0x78449c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5594a2[_0x1ae763]=_0x78449c,_0x5594a2;}function u(_0x1907a4,_0x29d1f0){return function(_0x597af8,_0x30edcd){_0x29d1f0(_0x597af8,_0x30edcd,_0x1907a4);};}function d(_0x3a20f1,_0x2666b4,_0x441f67,_0x2167fd){const _0x213c95=_0x51a194;var _0x52214f=arguments[_0x213c95(0x141)],_0xff6797=_0x52214f<0x3?_0x2666b4:_0x2167fd===null?_0x2167fd=Object[_0x213c95(0x131)](_0x2666b4,_0x441f67):_0x2167fd,_0x460954;if(typeof Reflect==_0x213c95(0x19a)&&typeof Reflect[_0x213c95(0x180)]=='function')_0xff6797=Reflect[_0x213c95(0x180)](_0x3a20f1,_0x2666b4,_0x441f67,_0x2167fd);else{for(var _0x48e566=_0x3a20f1[_0x213c95(0x141)]-0x1;_0x48e566>=0x0;_0x48e566--)(_0x460954=_0x3a20f1[_0x48e566])&&(_0xff6797=(_0x52214f<0x3?_0x460954(_0xff6797):_0x52214f>0x3?_0x460954(_0x2666b4,_0x441f67,_0xff6797):_0x460954(_0x2666b4,_0x441f67))||_0xff6797);}return _0x52214f>0x3&&_0xff6797&&Object[_0x213c95(0x1bf)](_0x2666b4,_0x441f67,_0xff6797),_0xff6797;}let f=class{constructor(_0xa092ca,_0x4910f4,_0x23fe00,_0x2ea04d,_0x4b71c7){const _0x4abe8f=_0x51a194;this[_0x4abe8f(0x1f2)]=_0xa092ca,this[_0x4abe8f(0x19c)]=_0x4910f4,this[_0x4abe8f(0x188)]=_0x23fe00,this[_0x4abe8f(0x206)]=_0x2ea04d,this[_0x4abe8f(0x1a4)]=_0x4b71c7,l(this,_0x4abe8f(0x178),void 0x0),this['_unitId']=this[_0x4abe8f(0x1f2)][_0x4abe8f(0x1ee)]();}['getId'](){const _0x268d82=_0x51a194;return this[_0x268d82(0x19c)];}[_0x51a194(0x1c3)](){const _0x1a8c8e=_0x51a194;return this[_0x1a8c8e(0x188)];}[_0x51a194(0x14e)](){const _0x752ea6=_0x51a194;return{'id':this[_0x752ea6(0x19c)],'rowCount':this[_0x752ea6(0x148)](),'columnCount':this[_0x752ea6(0x1b0)](),'metadata':this['getMetadata'](),'source':this['getSource']()};}[_0x51a194(0x14f)](){const _0x2774f8=_0x51a194;let _0x3ef707=this[_0x2774f8(0x183)](),_0x4013ce=this[_0x2774f8(0x170)](),_0x3fa401=this[_0x2774f8(0x1b0)]();return{'id':this[_0x2774f8(0x19c)],'rowCount':this['getRowCount'](),'columnCount':_0x3fa401,'headerRowCount':(_0x3ef707==null?void 0x0:_0x3ef707['headerRowCount'])??0x0,'titleRow':(_0x3ef707==null?void 0x0:_0x3ef707[_0x2774f8(0x1b7)])??!0x1,'columns':Array[_0x2774f8(0x156)]({'length':_0x3fa401},(_0x3b80c6,_0x13ca3e)=>{const _0x10aead=_0x2774f8;var _0x38ef1c,_0x20adf8;return{'index':_0x13ca3e,'type':_0x3ef707==null||(_0x38ef1c=_0x3ef707[_0x10aead(0x203)])==null||(_0x38ef1c=_0x38ef1c[_0x13ca3e])==null?void 0x0:_0x38ef1c[_0x10aead(0x179)],'width':_0x4013ce==null||(_0x20adf8=_0x4013ce[_0x10aead(0x1db)][_0x13ca3e])==null?void 0x0:_0x20adf8['size'][_0x10aead(0x1b9)]['v']};}),'sampleRows':Array['from']({'length':this[_0x2774f8(0x148)]()},(_0x33bef7,_0x474dab)=>Array[_0x2774f8(0x156)]({'length':_0x3fa401},(_0x13c32d,_0x2efb49)=>this[_0x2774f8(0x13b)](_0x474dab,_0x2efb49)))[_0x2774f8(0x163)](_0x468ddd=>_0x468ddd[_0x2774f8(0x152)](_0x26f435=>_0x26f435[_0x2774f8(0x141)]>0x0))[_0x2774f8(0x199)](0x0,0x5)};}[_0x51a194(0x148)](){const _0x179d24=_0x51a194;var _0x40ad4e;return((_0x40ad4e=this[_0x179d24(0x170)]())==null?void 0x0:_0x40ad4e[_0x179d24(0x1df)][_0x179d24(0x141)])??0x0;}['getColumnCount'](){const _0x2db53e=_0x51a194;var _0x296019;return((_0x296019=this[_0x2db53e(0x170)]())==null?void 0x0:_0x296019[_0x2db53e(0x1db)][_0x2db53e(0x141)])??0x0;}[_0x51a194(0x15d)](_0x137a07,_0x7f6270){const _0x36bc5e=_0x51a194;var _0x501c60;return(_0x501c60=this[_0x36bc5e(0x170)]())!=null&&(_0x501c60=_0x501c60[_0x36bc5e(0x1df)][_0x137a07])!=null&&_0x501c60[_0x36bc5e(0x1fb)][_0x7f6270]?this[_0x36bc5e(0x1a4)][_0x36bc5e(0x19f)](a,this,_0x137a07,_0x7f6270):null;}['getCellText'](_0x1f248d,_0x3b5d0d){const _0x82b9be=_0x51a194;var _0x13a4b6,_0x2d58e0;let _0x47244d=(_0x13a4b6=(0x0,e[_0x82b9be(0x1ec)])(this[_0x82b9be(0x176)](),this[_0x82b9be(0x19c)]))==null||(_0x13a4b6=_0x13a4b6[_0x82b9be(0x144)][_0x1f248d])==null?void 0x0:_0x13a4b6[_0x82b9be(0x19b)][_0x3b5d0d];return _0x47244d?((_0x2d58e0=this[_0x82b9be(0x176)]()[_0x82b9be(0x168)])==null?void 0x0:_0x2d58e0[_0x82b9be(0x14c)][_0x82b9be(0x199)](_0x47244d[_0x82b9be(0x16b)]+0x1,_0x47244d[_0x82b9be(0x147)])[_0x82b9be(0x162)](/\r\n$/,''))??'':'';}[_0x51a194(0x20a)](_0x3df3b1,_0x4eacc2){const _0x53983b=_0x51a194;var _0x4b1d52;let _0x46b2d3=this['getSource'](),_0x3332da=_0x46b2d3==null||(_0x4b1d52=_0x46b2d3[_0x53983b(0x1df)][_0x3df3b1])==null?void 0x0:_0x4b1d52[_0x53983b(0x1fb)][_0x4eacc2];return _0x3332da?t[_0x53983b(0x171)][_0x53983b(0x17a)](_0x3332da[_0x53983b(0x16a)]??_0x46b2d3[_0x53983b(0x193)]??e[_0x53983b(0x1b4)]):null;}[_0x51a194(0x1cf)](_0x51a13c,_0x5724c4){const _0x4a4ffa=_0x51a194;var _0x1528a8;let _0x3bbf5e=(_0x1528a8=this[_0x4a4ffa(0x170)]())==null||(_0x1528a8=_0x1528a8['tableRows'][_0x51a13c])==null?void 0x0:_0x1528a8[_0x4a4ffa(0x1fb)][_0x5724c4];return _0x3bbf5e!=null&&_0x3bbf5e['margin']?t[_0x4a4ffa(0x171)][_0x4a4ffa(0x17a)](_0x3bbf5e['margin']):null;}['getDefaultCellMargin'](){const _0x44acf2=_0x51a194;var _0x158f88;return t[_0x44acf2(0x171)][_0x44acf2(0x17a)](((_0x158f88=this[_0x44acf2(0x170)]())==null?void 0x0:_0x158f88['cellMargin'])??e[_0x44acf2(0x1b4)]);}[_0x51a194(0x175)](){const _0x17a815=_0x51a194;var _0x490863;let _0x3e387e=(_0x490863=this['getSource']())==null?void 0x0:_0x490863[_0x17a815(0x193)];return _0x3e387e?t[_0x17a815(0x171)]['deepClone'](_0x3e387e):null;}[_0x51a194(0x183)](){const _0x205249=_0x51a194;return this[_0x205249(0x1a4)][_0x205249(0x15f)](e['DocsTableModel'])[_0x205249(0x159)](this[_0x205249(0x178)],this[_0x205249(0x19c)]);}['getSource'](){const _0x9ef02c=_0x51a194;var _0x17c5d5;return(_0x17c5d5=this[_0x9ef02c(0x176)]()[_0x9ef02c(0x191)])==null?void 0x0:_0x17c5d5[this[_0x9ef02c(0x19c)]];}[_0x51a194(0x1dc)](){const _0x50a968=_0x51a194;return(0x0,e[_0x50a968(0x1ec)])(this['_getDocumentData'](),this[_0x50a968(0x19c)]);}[_0x51a194(0x1a3)](){const _0xac10a6=_0x51a194;return{'startRow':0x0,'endRow':Math[_0xac10a6(0x1f7)](0x0,this[_0xac10a6(0x148)]()-0x1),'startColumn':0x0,'endColumn':Math[_0xac10a6(0x1f7)](0x0,this['getColumnCount']()-0x1)};}[_0x51a194(0x1f5)](_0x94fc03,_0x50e86f){return{'startRow':_0x94fc03,'endRow':_0x94fc03,'startColumn':_0x50e86f,'endColumn':_0x50e86f};}[_0x51a194(0x198)](_0x3f7739,_0xf4e196){const _0x5e082a=_0x51a194;var _0x640bdd;let _0x3e4375=(_0x640bdd=(0x0,e[_0x5e082a(0x1ec)])(this[_0x5e082a(0x176)](),this[_0x5e082a(0x19c)]))==null||(_0x640bdd=_0x640bdd['rows'][_0x3f7739])==null?void 0x0:_0x640bdd[_0x5e082a(0x19b)][_0xf4e196];if(!_0x3e4375)return null;let _0x3a7963=_0x3e4375[_0x5e082a(0x16b)]+0x1;return{'startOffset':_0x3a7963,'endOffset':Math['max'](_0x3a7963,_0x3e4375[_0x5e082a(0x147)]-0x1),'segmentId':this[_0x5e082a(0x188)]};}['getCellInsertOffset'](_0x1fc73a,_0x3051a3){const _0x347aa5=_0x51a194;let _0x45e18d=this[_0x347aa5(0x198)](_0x1fc73a,_0x3051a3);return _0x45e18d?Math[_0x347aa5(0x1f7)](_0x45e18d[_0x347aa5(0x16b)],_0x45e18d['endOffset']-0x1):null;}[_0x51a194(0x1f0)](_0x15cece){const _0x192131=_0x51a194;return this[_0x192131(0x197)](_0x15cece,0x1);}[_0x51a194(0x197)](_0x54da6c,_0xc99452=0x1){const _0x394211=_0x51a194;return{'startRow':_0x54da6c,'endRow':_0x54da6c+_0xc99452-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x394211(0x1b0)]()-0x1)};}[_0x51a194(0x18a)](_0x455480){const _0x20559b=_0x51a194;return this[_0x20559b(0x1d9)](_0x455480,0x1);}[_0x51a194(0x1d9)](_0x176be0,_0x29e03c=0x1){const _0x4c85fd=_0x51a194;return{'startRow':0x0,'endRow':Math[_0x4c85fd(0x1f7)](0x0,this[_0x4c85fd(0x148)]()-0x1),'startColumn':_0x176be0,'endColumn':_0x176be0+_0x29e03c-0x1};}['selectTable'](){const _0x248fbc=_0x51a194;return this[_0x248fbc(0x1be)](this[_0x248fbc(0x1a3)](),e[_0x248fbc(0x137)][_0x248fbc(0x149)]);}[_0x51a194(0x1e7)](_0x5d6b7e){const _0x16c2f0=_0x51a194;return this[_0x16c2f0(0x15c)](_0x5d6b7e,0x1);}[_0x51a194(0x15c)](_0xce1ef7,_0x2ef235=0x1){const _0x28debb=_0x51a194;return this[_0x28debb(0x1be)](this[_0x28debb(0x197)](_0xce1ef7,_0x2ef235),e[_0x28debb(0x137)]['Row']);}[_0x51a194(0x1e2)](_0x4a7712){const _0x2f06a5=_0x51a194;return this[_0x2f06a5(0x1b2)](_0x4a7712,0x1);}[_0x51a194(0x1b2)](_0x151fe2,_0x37d054=0x1){const _0x4b533e=_0x51a194;return this['selectRange'](this[_0x4b533e(0x1d9)](_0x151fe2,_0x37d054),e['DocsTableSelectionKind'][_0x4b533e(0x1ac)]);}[_0x51a194(0x1a7)](_0x3e8675,_0x1ae53f){const _0x5b125a=_0x51a194;return this['selectRange'](this[_0x5b125a(0x1f5)](_0x3e8675,_0x1ae53f),e['DocsTableSelectionKind'][_0x5b125a(0x205)]);}[_0x51a194(0x1be)](_0x4b3118,_0x2a43c0=e[_0x51a194(0x137)][_0x51a194(0x15b)]){const _0xd57b57=_0x51a194;return this[_0xd57b57(0x1a4)]['get'](e[_0xd57b57(0x1a8)])['setStructuralSelection']({..._0x4b3118,'kind':_0x2a43c0,'segmentId':this['_segmentId'],'tableId':this[_0xd57b57(0x19c)]}),!0x0;}['insertRowBefore'](_0x3a1c98){const _0x1ff523=_0x51a194;return this[_0x1ff523(0x1c7)](_0x3a1c98,0x1);}[_0x51a194(0x1a6)](_0x191aba){const _0x368fd9=_0x51a194;return this[_0x368fd9(0x13f)](_0x191aba,0x1);}[_0x51a194(0x1c7)](_0x4cc018,_0x1859a2){const _0x248a89=_0x51a194;let _0x662c8=this[_0x248a89(0x176)](),_0x3cf7c0=(0x0,e['buildInsertTableRowsMutationActions'])(_0x662c8,this[_0x248a89(0x19c)],_0x4cc018,_0x1859a2,e['DocsTableInsertPosition']['Above'],this[_0x248a89(0x1a0)]());return _0x3cf7c0?this[_0x248a89(0x1c4)](_0x662c8,_0x3cf7c0[_0x248a89(0x19e)]):!0x1;}[_0x51a194(0x13f)](_0x3a1cf4,_0x346778){const _0x2dced7=_0x51a194;let _0x16ead8=this[_0x2dced7(0x176)](),_0x1e664f=(0x0,e[_0x2dced7(0x13d)])(_0x16ead8,this['_tableId'],_0x3a1cf4,_0x346778,e['DocsTableInsertPosition'][_0x2dced7(0x1b8)],this[_0x2dced7(0x1a0)]());return _0x1e664f?this[_0x2dced7(0x1c4)](_0x16ead8,_0x1e664f[_0x2dced7(0x19e)]):!0x1;}[_0x51a194(0x1de)](){const _0x124f75=_0x51a194;return this[_0x124f75(0x13f)](Math['max'](0x0,this[_0x124f75(0x148)]()-0x1),0x1);}[_0x51a194(0x1da)](_0x31c8cc){const _0x434eb8=_0x51a194;return this[_0x434eb8(0x209)](_0x31c8cc,0x1);}[_0x51a194(0x1fc)](_0x3ee67d){const _0x217f58=_0x51a194;return this[_0x217f58(0x1af)](_0x3ee67d,0x1);}[_0x51a194(0x209)](_0x4efa2d,_0x3c4dcb){const _0x1da3c5=_0x51a194;let _0x3cb7b8=this[_0x1da3c5(0x176)](),_0x5e7802=(0x0,e[_0x1da3c5(0x18d)])(_0x3cb7b8,this[_0x1da3c5(0x19c)],_0x4efa2d,_0x3c4dcb,e[_0x1da3c5(0x139)][_0x1da3c5(0x1b5)],{'bodyPath':this[_0x1da3c5(0x1a0)]()});return _0x5e7802?this[_0x1da3c5(0x1c4)](_0x3cb7b8,_0x5e7802['actions']):!0x1;}[_0x51a194(0x1af)](_0x1db115,_0x2c9584){const _0x4afda8=_0x51a194;let _0xbcc03e=this[_0x4afda8(0x176)](),_0x15602f=(0x0,e[_0x4afda8(0x18d)])(_0xbcc03e,this[_0x4afda8(0x19c)],_0x1db115,_0x2c9584,e[_0x4afda8(0x139)][_0x4afda8(0x1a5)],{'bodyPath':this[_0x4afda8(0x1a0)]()});return _0x15602f?this[_0x4afda8(0x1c4)](_0xbcc03e,_0x15602f['actions']):!0x1;}[_0x51a194(0x146)](){const _0x3f6ce7=_0x51a194;return this['insertColumnsAfter'](Math[_0x3f6ce7(0x1f7)](0x0,this[_0x3f6ce7(0x1b0)]()-0x1),0x1);}[_0x51a194(0x173)](_0x40fc12){return this['deleteRows'](_0x40fc12,0x1);}[_0x51a194(0x1b6)](_0x5db05c,_0xbb3cb5=0x1){const _0x298dfc=_0x51a194;return!!this[_0x298dfc(0x206)][_0x298dfc(0x1c8)](e[_0x298dfc(0x1ed)]['id'],{'endRow':_0x5db05c+_0xbb3cb5-0x1,'segmentId':this['_segmentId'],'startRow':_0x5db05c,'tableId':this['_tableId'],'unitId':this[_0x298dfc(0x178)]});}[_0x51a194(0x1e3)](_0xdad75b){const _0x723cfc=_0x51a194;return this[_0x723cfc(0x1c5)](_0xdad75b,0x1);}[_0x51a194(0x1c5)](_0x404f98,_0x126d3c=0x1){const _0x1c9c83=_0x51a194;return!!this[_0x1c9c83(0x206)][_0x1c9c83(0x1c8)](e[_0x1c9c83(0x1ef)]['id'],{'endColumn':_0x404f98+_0x126d3c-0x1,'segmentId':this[_0x1c9c83(0x188)],'startColumn':_0x404f98,'tableId':this[_0x1c9c83(0x19c)],'unitId':this[_0x1c9c83(0x178)]});}['deleteTable'](){const _0x21a3b4=_0x51a194;return!!this[_0x21a3b4(0x206)][_0x21a3b4(0x1c8)](e['DocsTableDeleteTableCommand']['id'],{'segmentId':this['_segmentId'],'tableId':this['_tableId'],'unitId':this[_0x21a3b4(0x178)]});}[_0x51a194(0x1e0)](_0x2381ed,_0xaf604b){const _0x1c23c4=_0x51a194;let _0x4b0423=this[_0x1c23c4(0x176)]();return this['_mutateActions'](_0x4b0423,(0x0,e[_0x1c23c4(0x16c)])(_0x4b0423,this[_0x1c23c4(0x19c)],_0x2381ed,_0xaf604b));}[_0x51a194(0x16d)](_0x462391){const _0xc3e2a7=_0x51a194;let _0x2e1f33=this[_0xc3e2a7(0x176)]();return this['_mutateActions'](_0x2e1f33,(0x0,e[_0xc3e2a7(0x15a)])(_0x2e1f33,this[_0xc3e2a7(0x19c)],_0x462391,this[_0xc3e2a7(0x1a0)]()));}[_0x51a194(0x158)](_0x12953e,_0xb2c48b,_0x1b55db=e[_0x51a194(0x139)][_0x51a194(0x204)]){return this['moveRows'](_0x12953e,0x1,_0xb2c48b,_0x1b55db);}[_0x51a194(0x13c)](_0x460186,_0x199c44,_0x29ce21,_0x285c66=e[_0x51a194(0x139)][_0x51a194(0x204)]){const _0x4abcb9=_0x51a194;let _0xf96525=this['_getDocumentData'](),_0x10c40f=(0x0,e[_0x4abcb9(0x1d7)])(_0xf96525,this['_tableId'],_0x460186,_0x29ce21,_0x199c44,_0x285c66,this[_0x4abcb9(0x1a0)]());return _0x10c40f?this['_mutateActions'](_0xf96525,_0x10c40f[_0x4abcb9(0x19e)]):!0x1;}[_0x51a194(0x140)](_0x5e0e49,_0x235c77,_0x356462=e[_0x51a194(0x139)][_0x51a194(0x1b5)]){const _0x1ba7b9=_0x51a194;return this[_0x1ba7b9(0x177)](_0x5e0e49,0x1,_0x235c77,_0x356462);}[_0x51a194(0x177)](_0x1d4ffe,_0x3f13a3,_0x183e73,_0x298677=e[_0x51a194(0x139)][_0x51a194(0x1b5)]){const _0x26bf32=_0x51a194;let _0x4dfa87=this[_0x26bf32(0x176)](),_0x33210d=(0x0,e[_0x26bf32(0x1cc)])(_0x4dfa87,this['_tableId'],_0x1d4ffe,_0x183e73,_0x3f13a3,_0x298677,this['_getBodyPath']());return _0x33210d?this[_0x26bf32(0x1c4)](_0x4dfa87,_0x33210d[_0x26bf32(0x19e)]):!0x1;}[_0x51a194(0x1fd)](_0x1b1bd4){const _0x195569=_0x51a194;try{let _0x334b2d=this[_0x195569(0x176)](),_0x2fda97=(0x0,e[_0x195569(0x18c)])({'documentData':_0x334b2d,'tableId':this[_0x195569(0x19c)],..._0x1b1bd4});return _0x2fda97?this[_0x195569(0x1c4)](_0x334b2d,_0x2fda97['actions'],_0x1b1bd4):!0x1;}catch{return!0x1;}}[_0x51a194(0x17c)](_0x55af4a){const _0xf32aa1=_0x51a194;try{let _0x96993b=this[_0xf32aa1(0x176)](),_0x34f336=(0x0,e[_0xf32aa1(0x210)])({'documentData':_0x96993b,'tableId':this[_0xf32aa1(0x19c)],..._0x55af4a});return _0x34f336?this[_0xf32aa1(0x1c4)](_0x96993b,_0x34f336[_0xf32aa1(0x19e)],_0x55af4a):!0x1;}catch{return!0x1;}}[_0x51a194(0x12f)](_0x58d3e2,_0x3face4,_0x23c2df){const _0x325eb5=_0x51a194;let _0x1aeaca=this['_getDocumentData'](),_0x2b1b37=(0x0,e['getTableActionBodyPath'])(this[_0x325eb5(0x1f2)][_0x325eb5(0x1ad)]()[_0x325eb5(0x16e)](),this[_0x325eb5(0x188)]);return this['_mutateActions'](_0x1aeaca,(0x0,e[_0x325eb5(0x207)])({'documentData':_0x1aeaca,'tableId':this[_0x325eb5(0x19c)],'row':_0x58d3e2,'column':_0x3face4,'text':_0x23c2df},_0x2b1b37),this['getCellRange'](_0x58d3e2,_0x3face4));}['setCellBackground'](_0x181a94,_0xfb4c0f){const _0x3d8676=_0x51a194;let _0x2e0eb0=this['_getDocumentData']();return this[_0x3d8676(0x1c4)](_0x2e0eb0,(0x0,e[_0x3d8676(0x1e6)])(_0x2e0eb0,{'tableId':this[_0x3d8676(0x19c)],..._0x181a94,'value':_0xfb4c0f}),_0x181a94);}[_0x51a194(0x1dd)](_0x317e35,_0x57054e){const _0x27ea87=_0x51a194;let _0x24c23e=this[_0x27ea87(0x176)]();return this[_0x27ea87(0x1c4)](_0x24c23e,(0x0,e['buildSetTableCellMarginMutationActions'])({'documentData':_0x24c23e,'tableId':this[_0x27ea87(0x19c)],..._0x317e35,'margin':_0x57054e}),_0x317e35);}[_0x51a194(0x1e8)](_0x398860){const _0x522a94=_0x51a194;let _0x5a7529=this[_0x522a94(0x176)]();return this[_0x522a94(0x1c4)](_0x5a7529,(0x0,e[_0x522a94(0x169)])(_0x5a7529,this['_tableId'],_0x398860));}[_0x51a194(0x1c0)](_0x46e038,_0x5ccec5){const _0xfb7dcf=_0x51a194;let _0x27566e=this[_0xfb7dcf(0x176)]();return this[_0xfb7dcf(0x1c4)](_0x27566e,(0x0,e[_0xfb7dcf(0x195)])({'documentData':_0x27566e,'tableId':this[_0xfb7dcf(0x19c)],..._0x46e038,'preset':_0x5ccec5[_0xfb7dcf(0x18b)]??e[_0xfb7dcf(0x1cb)]['All'],'border':_0x5ccec5[_0xfb7dcf(0x1a1)]??{'color':{'rgb':_0x5ccec5[_0xfb7dcf(0x1f8)]??_0xfb7dcf(0x19d)},'width':{'v':_0x5ccec5[_0xfb7dcf(0x1b9)]??0x1},'dashStyle':t['DashStyleType'][_0xfb7dcf(0x130)]}}),_0x46e038);}[_0x51a194(0x1bb)](_0x2b8f93){const _0x1ca9d7=_0x51a194;return this[_0x1ca9d7(0x186)](this[_0x1ca9d7(0x1a3)](),_0x2b8f93);}[_0x51a194(0x1e5)](_0x91f8c4){return this['setBorder'](this['getTableRange'](),_0x91f8c4);}['setTableStyle'](_0x6d5c89){const _0x33f3a4=_0x51a194;let _0x1a364d=!_0x6d5c89['backgroundColor']||this[_0x33f3a4(0x1bb)](_0x6d5c89[_0x33f3a4(0x150)]),_0x114197=!_0x6d5c89['border']||this[_0x33f3a4(0x1e5)](_0x6d5c89['border']);return _0x1a364d&&_0x114197;}[_0x51a194(0x1bc)](_0x2f14da,_0x972e19,_0x15eba7=t[_0x51a194(0x187)][_0x51a194(0x20e)]){const _0x455ae0=_0x51a194;var _0x5ead50;let _0x5e6fdd=this[_0x455ae0(0x176)]();return(_0x5ead50=_0x5e6fdd[_0x455ae0(0x191)])!=null&&(_0x5ead50=_0x5ead50[this[_0x455ae0(0x19c)]])!=null&&_0x5ead50[_0x455ae0(0x1df)][_0x2f14da]?this[_0x455ae0(0x1c4)](_0x5e6fdd,(0x0,e[_0x455ae0(0x1d4)])(_0x5e6fdd,this[_0x455ae0(0x19c)],_0x2f14da,_0x972e19,_0x15eba7)):!0x1;}[_0x51a194(0x14b)](_0xe6c2bb){const _0x4bc15e=_0x51a194;var _0x3ceeb5;let _0x5abb9d=(_0x3ceeb5=this[_0x4bc15e(0x170)]())==null||(_0x3ceeb5=_0x3ceeb5[_0x4bc15e(0x1df)][_0xe6c2bb])==null?void 0x0:_0x3ceeb5[_0x4bc15e(0x1eb)];return _0x5abb9d?t[_0x4bc15e(0x171)]['deepClone'](_0x5abb9d):null;}['setColumnWidth'](_0x54a881,_0x2a3268){const _0x4dd80f=_0x51a194;var _0xd301d4;let _0x5e95f9=this[_0x4dd80f(0x176)]();return(_0xd301d4=_0x5e95f9[_0x4dd80f(0x191)])!=null&&(_0xd301d4=_0xd301d4[this['_tableId']])!=null&&_0xd301d4[_0x4dd80f(0x1db)][_0x54a881]?this['_mutateActions'](_0x5e95f9,(0x0,e[_0x4dd80f(0x1ff)])(_0x5e95f9,this[_0x4dd80f(0x19c)],_0x54a881,_0x2a3268)):!0x1;}[_0x51a194(0x167)](_0x5f1249=0x0,_0x375398=this[_0x51a194(0x148)]()){const _0x39d54c=_0x51a194;let _0x180313=this[_0x39d54c(0x176)]();return this['_mutateActions'](_0x180313,(0x0,e[_0x39d54c(0x1c6)])(_0x180313,this['_tableId'],_0x5f1249,_0x5f1249+_0x375398-0x1));}['distributeColumns'](_0x39ac4f=0x0,_0x6213e7=this[_0x51a194(0x1b0)]()){const _0x10d220=_0x51a194;let _0x2dfce3=this[_0x10d220(0x176)]();return this['_mutateActions'](_0x2dfce3,(0x0,e['buildDistributeTableColumnsMutationActions'])(_0x2dfce3,this[_0x10d220(0x19c)],_0x39ac4f,_0x39ac4f+_0x6213e7-0x1));}[_0x51a194(0x1b1)](){const _0x3b940a=_0x51a194;var _0x4a94c5;return((_0x4a94c5=this[_0x3b940a(0x183)]())==null?void 0x0:_0x4a94c5[_0x3b940a(0x17f)])??0x0;}[_0x51a194(0x165)](_0x27a04b){const _0x453546=_0x51a194;let _0x52c971=this['_injector']['get'](e[_0x453546(0x1ab)]),_0x5f4526=this['_getDocumentData'](),_0x4b35e4=(0x0,e[_0x453546(0x135)])(_0x5f4526,this[_0x453546(0x19c)],_0x27a04b);if(!_0x4b35e4)return!0x1;let _0x1a0bae=this[_0x453546(0x1c4)](_0x5f4526,_0x4b35e4[_0x453546(0x19e)]);return _0x1a0bae&&_0x52c971[_0x453546(0x165)](this[_0x453546(0x178)],this['_tableId'],_0x4b35e4[_0x453546(0x17f)]),_0x1a0bae;}[_0x51a194(0x132)](_0x5c1406){const _0x5210af=_0x51a194;return this[_0x5210af(0x165)](_0x5c1406);}[_0x51a194(0x1ea)](){const _0x573747=_0x51a194;var _0x165b5a;return((_0x165b5a=this[_0x573747(0x183)]())==null?void 0x0:_0x165b5a[_0x573747(0x1b7)])??!0x1;}[_0x51a194(0x208)](){const _0x15ceba=_0x51a194;let _0x48edbf=this[_0x15ceba(0x1a4)]['get'](e[_0x15ceba(0x1ab)]),_0x6f071c=this[_0x15ceba(0x176)](),_0x59111d=(0x0,e[_0x15ceba(0x164)])(_0x6f071c,this[_0x15ceba(0x19c)],this[_0x15ceba(0x1a0)]());if(!_0x59111d)return!0x1;let _0x56fc00=this['_mutateActions'](_0x6f071c,_0x59111d[_0x15ceba(0x19e)]);return _0x56fc00&&_0x48edbf[_0x15ceba(0x161)](this[_0x15ceba(0x178)],this[_0x15ceba(0x19c)],!0x0),_0x56fc00;}['setColumnType'](_0x597f79,_0x8392d7){const _0x2b22d9=_0x51a194;return this[_0x2b22d9(0x1a4)][_0x2b22d9(0x15f)](e['DocsTableModel'])[_0x2b22d9(0x1d2)](this[_0x2b22d9(0x178)],this['_tableId'],_0x597f79,_0x8392d7),!0x0;}[_0x51a194(0x1c2)](_0x8e2e6,_0x3e82ad){const _0x92d60=_0x51a194;let _0xd7b92a=this[_0x92d60(0x176)]();return this[_0x92d60(0x1c4)](_0xd7b92a,(0x0,e[_0x92d60(0x201)])(_0xd7b92a,this[_0x92d60(0x17e)](),this[_0x92d60(0x19c)],_0x8e2e6,_0x3e82ad,this[_0x92d60(0x1a0)]()));}['_getDocumentData'](){const _0x34b31f=_0x51a194;let _0xcc0060=this['_document'][_0x34b31f(0x1ad)]()[_0x34b31f(0x16e)]();return this[_0x34b31f(0x188)]?{...this[_0x34b31f(0x1f2)][_0x34b31f(0x1ad)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0xcc0060[_0x34b31f(0x1d5)],'tableSource':_0xcc0060[_0x34b31f(0x191)]}:_0xcc0060;}[_0x51a194(0x17e)](){const _0x5d9c38=_0x51a194;return this[_0x5d9c38(0x1a4)]['get'](e[_0x5d9c38(0x1ab)])[_0x5d9c38(0x1f1)](this[_0x5d9c38(0x178)]);}[_0x51a194(0x1a0)](){const _0x1399aa=_0x51a194;return(0x0,e[_0x1399aa(0x153)])(this['_document'][_0x1399aa(0x1ad)]()[_0x1399aa(0x16e)](),this['_segmentId']);}['_mutateActions'](_0x1fd905,_0x1e2364,_0x3fae8c){const _0x73ff=_0x51a194;return(0x0,e['executeRichTextTableActions'])(this['_commandService'],this[_0x73ff(0x178)],_0x1fd905,_0x1e2364,_0x3fae8c?{'tableId':this[_0x73ff(0x19c)],'segmentId':this['_segmentId'],..._0x3fae8c}:void 0x0);}};f=d([u(0x3,t[_0x51a194(0x14d)]),u(0x4,(0x0,t['Inject'])(t[_0x51a194(0x192)]))],f);var p=class extends r['FDocument']{[_0x51a194(0x14a)](_0x241ab0=''){const _0x4c5eb3=_0x51a194;return this['_getTables'](_0x241ab0)[_0x4c5eb3(0x1ae)](_0x4e709e=>this[_0x4c5eb3(0x20d)](_0x4e709e['tableId'],_0x241ab0));}[_0x51a194(0x1d3)](_0x9d70b6,_0x7cfc78=''){const _0x45786b=_0x51a194;return this[_0x45786b(0x160)](_0x7cfc78)[_0x45786b(0x152)](_0x568e33=>_0x568e33[_0x45786b(0x151)]===_0x9d70b6)?this['_createFDocumentTable'](_0x9d70b6,_0x7cfc78):null;}[_0x51a194(0x1fa)](_0x450e87,_0x192062=''){const _0x452cec=_0x51a194;var _0x226f45;let _0x3577d6=(_0x226f45=this['_getTables'](_0x192062)[_0x450e87])==null?void 0x0:_0x226f45[_0x452cec(0x151)];return _0x3577d6?this[_0x452cec(0x20d)](_0x3577d6,_0x192062):null;}[_0x51a194(0x154)](){const _0x423c50=_0x51a194;let _0x2cabb0=this['_injector'][_0x423c50(0x15f)](e[_0x423c50(0x1a8)])['getStableTableSelection']();return _0x2cabb0!=null&&_0x2cabb0[_0x423c50(0x151)]?this[_0x423c50(0x20d)](_0x2cabb0[_0x423c50(0x151)],_0x2cabb0[_0x423c50(0x174)]):null;}['findTableByText'](_0x5b4ca5,_0x1514e9=''){return this['findTables'](_0x5b4ca5,_0x1514e9)[0x0]??null;}[_0x51a194(0x13e)](_0xe7cff3,_0x384a00=''){const _0x94cb5f=_0x51a194;let _0x2194e2=this[_0x94cb5f(0x1aa)](_0x384a00),_0x562922=typeof _0xe7cff3=='string'?{'text':_0xe7cff3}:_0xe7cff3;return this['getTables'](_0x384a00)[_0x94cb5f(0x163)](_0x4922c5=>{const _0x55e243=_0x94cb5f;let _0xd322cb=_0x4922c5[_0x55e243(0x1ee)]();return!(_0x562922[_0x55e243(0x151)]&&_0xd322cb!==_0x562922[_0x55e243(0x151)]||_0x562922['text']&&!this[_0x55e243(0x1cd)](_0x2194e2,_0xd322cb,_0x562922[_0x55e243(0x182)])||_0x562922[_0x55e243(0x190)]&&!this['_rowContainsText'](_0x4922c5,0x0,_0x562922[_0x55e243(0x190)])||_0x562922[_0x55e243(0x202)]&&!this[_0x55e243(0x1ca)](_0x4922c5,0x0,_0x562922[_0x55e243(0x202)]));});}[_0x51a194(0x211)](_0x44cd91,_0x5490bc,_0x4f5849={}){const _0x20e6ba=_0x51a194;let _0x467126=this[_0x20e6ba(0x1a4)][_0x20e6ba(0x15f)](t['ICommandService']),_0x14bd3e=_0x4f5849[_0x20e6ba(0x151)]??(0x0,t['generateRandomId'])(0x6);return _0x467126['syncExecuteCommand'](e[_0x20e6ba(0x1d1)]['id'],{..._0x4f5849,'unitId':this[_0x20e6ba(0x1ee)](),'rows':_0x44cd91,'columns':_0x5490bc,'tableId':_0x14bd3e})?this[_0x20e6ba(0x20d)](_0x14bd3e,_0x4f5849[_0x20e6ba(0x174)]??''):null;}['insertTableFromData'](_0x2cd433,_0x5f469={}){const _0xe8d837=_0x51a194;let _0x431e6e=this[_0xe8d837(0x1a4)][_0xe8d837(0x15f)](t['ICommandService']),_0x18b3f0=_0x5f469[_0xe8d837(0x151)]??(0x0,t[_0xe8d837(0x184)])(0x6);return _0x431e6e['syncExecuteCommand'](e[_0xe8d837(0x1d1)]['id'],{..._0x5f469,'unitId':this[_0xe8d837(0x1ee)](),'values':_0x2cd433,'tableId':_0x18b3f0})?this[_0xe8d837(0x20d)](_0x18b3f0,_0x5f469[_0xe8d837(0x174)]??''):null;}['_getTables'](_0x4fad72=''){const _0x16a30b=_0x51a194;let {tables:_0x4f84b3=[]}=this[_0x16a30b(0x172)](_0x4fad72);return _0x4f84b3;}[_0x51a194(0x1aa)](_0x3bdc9b=''){const _0x15d548=_0x51a194;let _0x2ee7a0=this[_0x15d548(0x1ad)]()['getSnapshot']();return _0x3bdc9b?{...this[_0x15d548(0x1ad)](_0x3bdc9b)['getSnapshot'](),'documentStyle':_0x2ee7a0['documentStyle'],'tableSource':_0x2ee7a0['tableSource']}:_0x2ee7a0;}[_0x51a194(0x20d)](_0x5d7112,_0x456b1d=''){const _0xe28257=_0x51a194;return this[_0xe28257(0x1a4)][_0xe28257(0x19f)](f,this,_0x5d7112,_0x456b1d);}[_0x51a194(0x1cd)](_0x4fca3b,_0x22939e,_0xdcd02f){const _0x40e7c6=_0x51a194;var _0x417bf5;let _0xea7d8e=(0x0,e[_0x40e7c6(0x1ec)])(_0x4fca3b,_0x22939e);if(!_0xea7d8e)return!0x1;let _0x5d6980=(_0x417bf5=_0x4fca3b['body'])==null?void 0x0:_0x417bf5[_0x40e7c6(0x14c)];return _0x5d6980?_0x5d6980[_0x40e7c6(0x199)](_0xea7d8e[_0x40e7c6(0x16b)],_0xea7d8e['endOffset'])[_0x40e7c6(0x1e4)](_0xdcd02f):!0x1;}['_rowContainsText'](_0x19e06f,_0x3a7df5,_0x5a3e11){const _0x3ad4a5=_0x51a194;return Array[_0x3ad4a5(0x156)]({'length':_0x19e06f[_0x3ad4a5(0x1b0)]()},(_0x598f1d,_0x66d74)=>_0x19e06f[_0x3ad4a5(0x13b)](_0x3a7df5,_0x66d74))[_0x3ad4a5(0x152)](_0x1a4824=>_0x1a4824[_0x3ad4a5(0x1e4)](_0x5a3e11));}};r['FDocument'][_0x51a194(0x20c)](p),Object['defineProperty'](exports,_0x51a194(0x1f4),{'enumerable':!0x0,'get':function(){return f;}}),exports[_0x51a194(0x189)]=a;
|
|
1
|
+
const _0x18610f=_0x1d5f;function _0x1d5f(_0x1ac73a,_0x4aae7d){_0x1ac73a=_0x1ac73a-0x171;const _0x2dcf9a=_0x2dcf();let _0x1d5f5b=_0x2dcf9a[_0x1ac73a];return _0x1d5f5b;}(function(_0x54872d,_0x4728a2){const _0x6c4d09=_0x1d5f,_0x354d4c=_0x54872d();while(!![]){try{const _0xf3c99f=parseInt(_0x6c4d09(0x17e))/0x1*(-parseInt(_0x6c4d09(0x177))/0x2)+parseInt(_0x6c4d09(0x1a6))/0x3*(-parseInt(_0x6c4d09(0x224))/0x4)+parseInt(_0x6c4d09(0x226))/0x5+-parseInt(_0x6c4d09(0x1cb))/0x6*(-parseInt(_0x6c4d09(0x221))/0x7)+parseInt(_0x6c4d09(0x1c5))/0x8+-parseInt(_0x6c4d09(0x1d0))/0x9*(parseInt(_0x6c4d09(0x233))/0xa)+-parseInt(_0x6c4d09(0x1f3))/0xb*(-parseInt(_0x6c4d09(0x1a4))/0xc);if(_0xf3c99f===_0x4728a2)break;else _0x354d4c['push'](_0x354d4c['shift']());}catch(_0x50cae2){_0x354d4c['push'](_0x354d4c['shift']());}}}(_0x2dcf,0xe203a),Object['defineProperty'](exports,Symbol[_0x18610f(0x21b)],{'value':'Module'}));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[_0x18610f(0x1be)]{get[_0x18610f(0x171)](){const _0xf0b7ca=_0x18610f;return e[_0xf0b7ca(0x171)];}get[_0x18610f(0x1a9)](){const _0x4a1a17=_0x18610f;return e[_0x4a1a17(0x1a9)];}get[_0x18610f(0x20b)](){const _0x3c6017=_0x18610f;return e[_0x3c6017(0x20b)];}get['DocsTableRowInsertPosition'](){const _0x1e5dfd=_0x18610f;return e[_0x1e5dfd(0x247)];}get[_0x18610f(0x174)](){const _0x1fd951=_0x18610f;return e[_0x1fd951(0x174)];}get[_0x18610f(0x1dd)](){return e['DocsTableBorderPreset'];}get[_0x18610f(0x209)](){const _0x544a8e=_0x18610f;return e[_0x544a8e(0x209)];}get[_0x18610f(0x182)](){const _0x30a8e5=_0x18610f;return t[_0x30a8e5(0x182)];}};n[_0x18610f(0x1be)]['extend'](i);var a=class{constructor(_0x58f47e,_0x4ae1fc,_0x57ef82){const _0x515f6d=_0x18610f;this[_0x515f6d(0x1bd)]=_0x58f47e,this['_row']=_0x4ae1fc,this[_0x515f6d(0x18c)]=_0x57ef82;}[_0x18610f(0x24b)](){const _0x5031af=_0x18610f;return this[_0x5031af(0x1bd)];}[_0x18610f(0x1e1)](){const _0x392130=_0x18610f;return this[_0x392130(0x202)];}[_0x18610f(0x199)](){const _0x44b892=_0x18610f;return this[_0x44b892(0x18c)];}[_0x18610f(0x239)](){const _0x301e52=_0x18610f;return this[_0x301e52(0x1bd)][_0x301e52(0x1c9)](this[_0x301e52(0x202)],this[_0x301e52(0x18c)]);}['getContentRange'](){const _0x40f2dc=_0x18610f;return this['_table'][_0x40f2dc(0x21e)](this[_0x40f2dc(0x202)],this[_0x40f2dc(0x18c)]);}[_0x18610f(0x197)](){const _0x318cc4=_0x18610f;return this['_table'][_0x318cc4(0x21f)](this[_0x318cc4(0x202)],this['_column']);}[_0x18610f(0x218)](){const _0x12a43b=_0x18610f;return this[_0x12a43b(0x1bd)]['getCellMargin'](this['_row'],this['_column']);}[_0x18610f(0x23b)](){const _0x4a8f5a=_0x18610f;return this[_0x4a8f5a(0x1bd)][_0x4a8f5a(0x230)](this['_row'],this[_0x4a8f5a(0x18c)]);}[_0x18610f(0x1d8)](_0x32b4a8){const _0x52c8f7=_0x18610f;return this[_0x52c8f7(0x1bd)][_0x52c8f7(0x1f8)](this['_table'][_0x52c8f7(0x1c1)](this[_0x52c8f7(0x202)],this[_0x52c8f7(0x18c)]),_0x32b4a8);}[_0x18610f(0x1d4)](){const _0x41c662=_0x18610f;return this[_0x41c662(0x1bd)]['setCellMargin'](this['_table'][_0x41c662(0x1c1)](this[_0x41c662(0x202)],this[_0x41c662(0x18c)]),null);}[_0x18610f(0x1c4)](_0x31b9ca){const _0x56040c=_0x18610f;return this[_0x56040c(0x1bd)][_0x56040c(0x1e2)](this[_0x56040c(0x202)],this[_0x56040c(0x18c)],_0x31b9ca);}[_0x18610f(0x23e)](_0x1af1c2){const _0x315e4d=_0x18610f;return this[_0x315e4d(0x1bd)][_0x315e4d(0x1b9)](this['_table'][_0x315e4d(0x1c1)](this['_row'],this[_0x315e4d(0x18c)]),_0x1af1c2);}['setBorder'](_0x53d600){const _0x538573=_0x18610f;return this[_0x538573(0x1bd)][_0x538573(0x1e0)](this['_table'][_0x538573(0x1c1)](this[_0x538573(0x202)],this[_0x538573(0x18c)]),_0x53d600);}[_0x18610f(0x1c3)](_0x1791bc,_0x3e6bad){const _0x5bcb3b=_0x18610f;return this[_0x5bcb3b(0x1bd)][_0x5bcb3b(0x227)]({'startRow':this[_0x5bcb3b(0x202)],'startColumn':this[_0x5bcb3b(0x18c)],'endRow':this[_0x5bcb3b(0x202)]+_0x1791bc-0x1,'endColumn':this[_0x5bcb3b(0x18c)]+_0x3e6bad-0x1});}['unmerge'](){const _0x106f54=_0x18610f;return this['_table']['unmergeCells'](this[_0x106f54(0x1bd)][_0x106f54(0x1c1)](this[_0x106f54(0x202)],this['_column']));}};function o(_0x1e4ecf){'@babel/helpers - typeof';const _0x3a32c2=_0x18610f;return o=typeof Symbol==_0x3a32c2(0x190)&&typeof Symbol[_0x3a32c2(0x19e)]=='symbol'?function(_0x552a6d){return typeof _0x552a6d;}:function(_0x4baa31){const _0x29ac6f=_0x3a32c2;return _0x4baa31&&typeof Symbol=='function'&&_0x4baa31[_0x29ac6f(0x193)]===Symbol&&_0x4baa31!==Symbol[_0x29ac6f(0x1aa)]?_0x29ac6f(0x1e8):typeof _0x4baa31;},o(_0x1e4ecf);}function s(_0x542dff,_0x3ad517){const _0xcbd990=_0x18610f;if(o(_0x542dff)!='object'||!_0x542dff)return _0x542dff;var _0x521cd9=_0x542dff[Symbol['toPrimitive']];if(_0x521cd9!==void 0x0){var _0x58908e=_0x521cd9[_0xcbd990(0x187)](_0x542dff,_0x3ad517||'default');if(o(_0x58908e)!=_0xcbd990(0x22e))return _0x58908e;throw TypeError(_0xcbd990(0x219));}return(_0x3ad517==='string'?String:Number)(_0x542dff);}function c(_0x2431a7){const _0x31640a=_0x18610f;var _0x5bfa0b=s(_0x2431a7,_0x31640a(0x1a0));return o(_0x5bfa0b)==_0x31640a(0x1e8)?_0x5bfa0b:_0x5bfa0b+'';}function l(_0x3660fa,_0x578bd4,_0x343785){return(_0x578bd4=c(_0x578bd4))in _0x3660fa?Object['defineProperty'](_0x3660fa,_0x578bd4,{'value':_0x343785,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3660fa[_0x578bd4]=_0x343785,_0x3660fa;}function u(_0x51e859,_0x506b58){return function(_0x3a2bef,_0x317a79){_0x506b58(_0x3a2bef,_0x317a79,_0x51e859);};}function d(_0x5e2acc,_0x181e22,_0x5e8862,_0x592ad4){const _0x183f4e=_0x18610f;var _0x37c251=arguments[_0x183f4e(0x20d)],_0x23976b=_0x37c251<0x3?_0x181e22:_0x592ad4===null?_0x592ad4=Object[_0x183f4e(0x1cc)](_0x181e22,_0x5e8862):_0x592ad4,_0x3d5d50;if(typeof Reflect=='object'&&typeof Reflect[_0x183f4e(0x236)]==_0x183f4e(0x190))_0x23976b=Reflect[_0x183f4e(0x236)](_0x5e2acc,_0x181e22,_0x5e8862,_0x592ad4);else{for(var _0x4c5842=_0x5e2acc['length']-0x1;_0x4c5842>=0x0;_0x4c5842--)(_0x3d5d50=_0x5e2acc[_0x4c5842])&&(_0x23976b=(_0x37c251<0x3?_0x3d5d50(_0x23976b):_0x37c251>0x3?_0x3d5d50(_0x181e22,_0x5e8862,_0x23976b):_0x3d5d50(_0x181e22,_0x5e8862))||_0x23976b);}return _0x37c251>0x3&&_0x23976b&&Object[_0x183f4e(0x183)](_0x181e22,_0x5e8862,_0x23976b),_0x23976b;}function _0x2dcf(){const _0xfd55cc=['getText','buildSetTableBackgroundMutationActions','getMarginOverride','_getBodyPath','preset','setBackgroundColor','getTables','buildMergeCellsMutationActions','_getTables','getMetadata','text','getSource','getRange','get','DocsTableRowInsertPosition','getSnapshot','deepClone','buildSetTableCellTextMutationActions','getTable','getColumnCount','DocsTableInsertTablePosition','buildMoveTableColumnsMutationActions','Tools','DocsTableColumnInsertPosition','max','deleteRows','8DnKthd','DocsTableDeleteTableCommand','backgroundColor','deleteColumns','setTitleRow','getRowCount','findTableByText','31996KrQZCp','setDefaultCellMargin','getDocumentDataModel','startOffset','DashStyleType','defineProperty','_serializeModel','documentStyle','getDefaultCellMarginOverride','call','getTableRange','setRowHeight','getId','_createFDocumentTable','_column','distributeColumns','from','actions','function','some','hasTitleRow','constructor','endOffset','_rowContainsText','_tableContainsText','getInsertOffset','tableColumns','getColumnIndex','getInfo','DocsTableInsertTableCommand','DocsTableDeleteRowsCommand','setColumnType','iterator','getRowHeight','string','_injector','titleText','insertRowsBefore','24IsblBu','DocsTableSelectionService','3CSGtFU','buildInsertTableColumnsMutationActions','insertRowBefore','DocsTableColumnType','prototype','selectRow','getHeaderRowCount','selectColumns','buildMoveTableRowsMutationActions','buildInsertTableTitleRowMutationActions','tableCells','executeRichTextTableActions','width','insertColumnAfter','body','serialize','dataStream','AT_LEAST','buildMoveFloatingTableMutationActions','setCellBackground','selectRows','appendColumn','buildInsertTableRowsMutationActions','_table','FEnum','margin','FDocument','getCellRange','DocsTableModel','mergeTo','setText','5917200oGVqDI','generateRandomId','getColumnRange','selectRange','getCellText','Left','1251294uJNpLI','getOwnPropertyDescriptor','pinHeaderRows','ICommandService','buildSetTableBorderMutationActions','99vmNNFo','setTableBackground','_getDocumentData','All','clearMarginOverride','type','getColumnsRange','buildSetTableDefaultCellMarginMutationActions','setMargin','getDefaultCellMargin','setColumnWidth','moveRows','Range','DocsTableBorderPreset','insertColumnsAfter','headerRowCount','setBorder','getRowIndex','setCellText','Column','createInstance','_document','selectColumn','getTableAtSelection','symbol','FDocumentTableCell','_mutateActions','insertTitleRow','_getTableDocumentData','tableSource','Above','moveColumn','tableId','setStructuralSelection','Table','5545122WlUExp','moveRow','setTableBorder','describe','trHeight','setCellMargin','#1f1f1f','setHeaderRowCount','buildSortTableMutationActions','getCell','buildResizeTableColumnActionsFromWidth','getSegmentId','columnTypes','segmentId','unmergeCells','_row','getTableActionBodyPath','replace','getTableAt','slice','includes','getTableMetadata','DocsTableSortDirection','insertTableFromData','DocsTableSelectionKind','DEFAULT_DOCS_TABLE_CELL_MARGIN','length','findTables','getRowRange','filter','syncExecuteCommand','buildResizeTableRowActionsFromHeight','deleteColumn','_commandService','_segmentId','getRowsRange','DocsTableInsertPosition','getMargin','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','buildSetTableCellMarginMutationActions','toStringTag','_unitId','titleRow','getCellContentRange','getCellInsertOffset','getTableRangeById','35neBgCR','Inject','insertColumnBefore','3358552gCTljd','rows','1930350CPRaQG','mergeCells','Cell','insertRowAfter','cells','tableRows','border','cellMargin','object','selectTable','getCellMarginOverride','color','insertRowsAfter','1166630wJEfep','TableRowHeightRule','insertColumnsBefore','decorate','_tableId','appendRow'];_0x2dcf=function(){return _0xfd55cc;};return _0x2dcf();}let f=class{constructor(_0x34cc5c,_0x2d8106,_0x3ee438,_0x586c02,_0x12cec4){const _0x4d50eb=_0x18610f;this[_0x4d50eb(0x1e5)]=_0x34cc5c,this[_0x4d50eb(0x237)]=_0x2d8106,this[_0x4d50eb(0x215)]=_0x3ee438,this['_commandService']=_0x586c02,this[_0x4d50eb(0x1a1)]=_0x12cec4,l(this,_0x4d50eb(0x21c),void 0x0),this[_0x4d50eb(0x21c)]=this[_0x4d50eb(0x1e5)][_0x4d50eb(0x18a)]();}[_0x18610f(0x18a)](){const _0x4f634d=_0x18610f;return this[_0x4f634d(0x237)];}[_0x18610f(0x1fe)](){const _0x44f639=_0x18610f;return this[_0x44f639(0x215)];}[_0x18610f(0x19a)](){const _0x445e50=_0x18610f;return{'id':this[_0x445e50(0x237)],'rowCount':this[_0x445e50(0x17c)](),'columnCount':this[_0x445e50(0x24c)](),'metadata':this[_0x445e50(0x242)](),'source':this[_0x445e50(0x244)]()};}[_0x18610f(0x1f6)](){const _0x59ce85=_0x18610f;let _0x4282f5=this[_0x59ce85(0x242)](),_0x5374c3=this[_0x59ce85(0x244)](),_0x57e5a2=this['getColumnCount']();return{'id':this[_0x59ce85(0x237)],'rowCount':this[_0x59ce85(0x17c)](),'columnCount':_0x57e5a2,'headerRowCount':(_0x4282f5==null?void 0x0:_0x4282f5[_0x59ce85(0x1df)])??0x0,'titleRow':(_0x4282f5==null?void 0x0:_0x4282f5[_0x59ce85(0x21d)])??!0x1,'columns':Array['from']({'length':_0x57e5a2},(_0x4d4edd,_0x519b3b)=>{const _0x9a3e81=_0x59ce85;var _0x276db0,_0xcb75f7;return{'index':_0x519b3b,'type':_0x4282f5==null||(_0x276db0=_0x4282f5[_0x9a3e81(0x1ff)])==null||(_0x276db0=_0x276db0[_0x519b3b])==null?void 0x0:_0x276db0[_0x9a3e81(0x1d5)],'width':_0x5374c3==null||(_0xcb75f7=_0x5374c3['tableColumns'][_0x519b3b])==null?void 0x0:_0xcb75f7['size'][_0x9a3e81(0x1b2)]['v']};}),'sampleRows':Array[_0x59ce85(0x18e)]({'length':this[_0x59ce85(0x17c)]()},(_0x2fe94d,_0x1f9cb8)=>Array['from']({'length':_0x57e5a2},(_0x2013a8,_0x2d7ddc)=>this[_0x59ce85(0x1c9)](_0x1f9cb8,_0x2d7ddc)))['filter'](_0x41c5e5=>_0x41c5e5['some'](_0x3b820a=>_0x3b820a[_0x59ce85(0x20d)]>0x0))[_0x59ce85(0x206)](0x0,0x5)};}[_0x18610f(0x17c)](){const _0x51a92d=_0x18610f;var _0xf00e31;return((_0xf00e31=this['getSource']())==null?void 0x0:_0xf00e31[_0x51a92d(0x22b)]['length'])??0x0;}[_0x18610f(0x24c)](){const _0x3b222c=_0x18610f;var _0x364b3d;return((_0x364b3d=this[_0x3b222c(0x244)]())==null?void 0x0:_0x364b3d[_0x3b222c(0x198)]['length'])??0x0;}[_0x18610f(0x1fc)](_0x3a36dd,_0xdc180f){const _0x2bc096=_0x18610f;var _0x35aace;return(_0x35aace=this[_0x2bc096(0x244)]())!=null&&(_0x35aace=_0x35aace[_0x2bc096(0x22b)][_0x3a36dd])!=null&&_0x35aace[_0x2bc096(0x1b0)][_0xdc180f]?this[_0x2bc096(0x1a1)]['createInstance'](a,this,_0x3a36dd,_0xdc180f):null;}[_0x18610f(0x1c9)](_0x385b00,_0x11d539){const _0x5cc3d6=_0x18610f;var _0x236e76,_0x1396e2;let _0x5aaaf0=(_0x236e76=(0x0,e[_0x5cc3d6(0x220)])(this[_0x5cc3d6(0x1d2)](),this['_tableId']))==null||(_0x236e76=_0x236e76[_0x5cc3d6(0x225)][_0x385b00])==null?void 0x0:_0x236e76['cells'][_0x11d539];return _0x5aaaf0?((_0x1396e2=this[_0x5cc3d6(0x1d2)]()[_0x5cc3d6(0x1b4)])==null?void 0x0:_0x1396e2[_0x5cc3d6(0x1b6)][_0x5cc3d6(0x206)](_0x5aaaf0[_0x5cc3d6(0x181)]+0x1,_0x5aaaf0[_0x5cc3d6(0x194)])[_0x5cc3d6(0x204)](/\r\n$/,''))??'':'';}['getCellMargin'](_0x2231b7,_0x34f8bd){const _0x3a54a8=_0x18610f;var _0x5b9e1b;let _0x49b87f=this[_0x3a54a8(0x244)](),_0x449502=_0x49b87f==null||(_0x5b9e1b=_0x49b87f[_0x3a54a8(0x22b)][_0x2231b7])==null?void 0x0:_0x5b9e1b[_0x3a54a8(0x1b0)][_0x34f8bd];return _0x449502?t['Tools'][_0x3a54a8(0x249)](_0x449502[_0x3a54a8(0x1bf)]??_0x49b87f[_0x3a54a8(0x22d)]??e[_0x3a54a8(0x20c)]):null;}[_0x18610f(0x230)](_0x257e81,_0x10a77b){const _0x1ada23=_0x18610f;var _0xba71f9;let _0x3498b0=(_0xba71f9=this[_0x1ada23(0x244)]())==null||(_0xba71f9=_0xba71f9[_0x1ada23(0x22b)][_0x257e81])==null?void 0x0:_0xba71f9[_0x1ada23(0x1b0)][_0x10a77b];return _0x3498b0!=null&&_0x3498b0[_0x1ada23(0x1bf)]?t['Tools'][_0x1ada23(0x249)](_0x3498b0[_0x1ada23(0x1bf)]):null;}[_0x18610f(0x1d9)](){const _0x4354a5=_0x18610f;var _0x32be52;return t[_0x4354a5(0x173)][_0x4354a5(0x249)](((_0x32be52=this[_0x4354a5(0x244)]())==null?void 0x0:_0x32be52[_0x4354a5(0x22d)])??e[_0x4354a5(0x20c)]);}[_0x18610f(0x186)](){const _0x139a18=_0x18610f;var _0x4066c2;let _0x39964b=(_0x4066c2=this['getSource']())==null?void 0x0:_0x4066c2[_0x139a18(0x22d)];return _0x39964b?t[_0x139a18(0x173)][_0x139a18(0x249)](_0x39964b):null;}[_0x18610f(0x242)](){const _0x30c609=_0x18610f;return this[_0x30c609(0x1a1)]['get'](e['DocsTableModel'])[_0x30c609(0x208)](this[_0x30c609(0x21c)],this['_tableId']);}[_0x18610f(0x244)](){const _0x450912=_0x18610f;var _0x1cbcb6;return(_0x1cbcb6=this[_0x450912(0x1d2)]()[_0x450912(0x1ed)])==null?void 0x0:_0x1cbcb6[this[_0x450912(0x237)]];}[_0x18610f(0x245)](){const _0x153982=_0x18610f;return(0x0,e[_0x153982(0x220)])(this[_0x153982(0x1d2)](),this['_tableId']);}[_0x18610f(0x188)](){const _0x251cc0=_0x18610f;return{'startRow':0x0,'endRow':Math[_0x251cc0(0x175)](0x0,this[_0x251cc0(0x17c)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x251cc0(0x175)](0x0,this[_0x251cc0(0x24c)]()-0x1)};}[_0x18610f(0x1c1)](_0x41991d,_0x59a187){return{'startRow':_0x41991d,'endRow':_0x41991d,'startColumn':_0x59a187,'endColumn':_0x59a187};}['getCellContentRange'](_0x3102f7,_0x5ec018){const _0x1beccb=_0x18610f;var _0x305918;let _0x5d54ce=(_0x305918=(0x0,e[_0x1beccb(0x220)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x305918=_0x305918[_0x1beccb(0x225)][_0x3102f7])==null?void 0x0:_0x305918[_0x1beccb(0x22a)][_0x5ec018];if(!_0x5d54ce)return null;let _0x5ed4be=_0x5d54ce[_0x1beccb(0x181)]+0x1;return{'startOffset':_0x5ed4be,'endOffset':Math[_0x1beccb(0x175)](_0x5ed4be,_0x5d54ce[_0x1beccb(0x194)]-0x1),'segmentId':this[_0x1beccb(0x215)]};}[_0x18610f(0x21f)](_0x7ee094,_0x46ea6a){const _0x126778=_0x18610f;let _0x45a830=this[_0x126778(0x21e)](_0x7ee094,_0x46ea6a);return _0x45a830?Math[_0x126778(0x175)](_0x45a830[_0x126778(0x181)],_0x45a830[_0x126778(0x194)]-0x1):null;}[_0x18610f(0x20f)](_0x29b19a){return this['getRowsRange'](_0x29b19a,0x1);}[_0x18610f(0x216)](_0x3e7d74,_0x35c7fa=0x1){const _0x1b0848=_0x18610f;return{'startRow':_0x3e7d74,'endRow':_0x3e7d74+_0x35c7fa-0x1,'startColumn':0x0,'endColumn':Math[_0x1b0848(0x175)](0x0,this['getColumnCount']()-0x1)};}[_0x18610f(0x1c7)](_0x4b0aa9){const _0x5c0bd9=_0x18610f;return this[_0x5c0bd9(0x1d6)](_0x4b0aa9,0x1);}[_0x18610f(0x1d6)](_0x6d47bf,_0xdfcc6f=0x1){const _0x17a054=_0x18610f;return{'startRow':0x0,'endRow':Math[_0x17a054(0x175)](0x0,this['getRowCount']()-0x1),'startColumn':_0x6d47bf,'endColumn':_0x6d47bf+_0xdfcc6f-0x1};}[_0x18610f(0x22f)](){const _0x5e1657=_0x18610f;return this[_0x5e1657(0x1c8)](this[_0x5e1657(0x188)](),e['DocsTableSelectionKind'][_0x5e1657(0x1f2)]);}[_0x18610f(0x1ab)](_0x3c0ae2){const _0x16b2d9=_0x18610f;return this[_0x16b2d9(0x1ba)](_0x3c0ae2,0x1);}[_0x18610f(0x1ba)](_0x397bec,_0x3fa0a0=0x1){const _0xb5420c=_0x18610f;return this[_0xb5420c(0x1c8)](this[_0xb5420c(0x216)](_0x397bec,_0x3fa0a0),e['DocsTableSelectionKind']['Row']);}[_0x18610f(0x1e6)](_0x5142a4){const _0x3723ba=_0x18610f;return this[_0x3723ba(0x1ad)](_0x5142a4,0x1);}[_0x18610f(0x1ad)](_0x1e32d4,_0x4b802a=0x1){const _0x25990b=_0x18610f;return this[_0x25990b(0x1c8)](this[_0x25990b(0x1d6)](_0x1e32d4,_0x4b802a),e[_0x25990b(0x20b)][_0x25990b(0x1e3)]);}['selectCell'](_0x299ec7,_0x4c5c6a){const _0x4c6c7f=_0x18610f;return this[_0x4c6c7f(0x1c8)](this[_0x4c6c7f(0x1c1)](_0x299ec7,_0x4c5c6a),e['DocsTableSelectionKind'][_0x4c6c7f(0x228)]);}[_0x18610f(0x1c8)](_0x1c1569,_0x56dc23=e[_0x18610f(0x20b)][_0x18610f(0x1dc)]){const _0x1036aa=_0x18610f;return this[_0x1036aa(0x1a1)][_0x1036aa(0x246)](e[_0x1036aa(0x1a5)])[_0x1036aa(0x1f1)]({..._0x1c1569,'kind':_0x56dc23,'segmentId':this[_0x1036aa(0x215)],'tableId':this[_0x1036aa(0x237)]}),!0x0;}[_0x18610f(0x1a8)](_0x1718b1){const _0x4aac97=_0x18610f;return this[_0x4aac97(0x1a3)](_0x1718b1,0x1);}[_0x18610f(0x229)](_0x2084e6){return this['insertRowsAfter'](_0x2084e6,0x1);}['insertRowsBefore'](_0x4ff8e0,_0x443ceb){const _0x3f3a3b=_0x18610f;let _0x4e6146=this[_0x3f3a3b(0x1d2)](),_0x4240c3=(0x0,e[_0x3f3a3b(0x1bc)])(_0x4e6146,this[_0x3f3a3b(0x237)],_0x4ff8e0,_0x443ceb,e['DocsTableInsertPosition']['Above'],this[_0x3f3a3b(0x23c)]());return _0x4240c3?this[_0x3f3a3b(0x1ea)](_0x4e6146,_0x4240c3[_0x3f3a3b(0x18f)]):!0x1;}[_0x18610f(0x232)](_0x30f66e,_0x11c6ee){const _0x9cff93=_0x18610f;let _0x520b98=this['_getDocumentData'](),_0x415f6e=(0x0,e[_0x9cff93(0x1bc)])(_0x520b98,this['_tableId'],_0x30f66e,_0x11c6ee,e[_0x9cff93(0x217)]['Below'],this[_0x9cff93(0x23c)]());return _0x415f6e?this[_0x9cff93(0x1ea)](_0x520b98,_0x415f6e[_0x9cff93(0x18f)]):!0x1;}[_0x18610f(0x238)](){const _0x414d32=_0x18610f;return this['insertRowsAfter'](Math[_0x414d32(0x175)](0x0,this[_0x414d32(0x17c)]()-0x1),0x1);}[_0x18610f(0x223)](_0x396aba){const _0x7af2ab=_0x18610f;return this[_0x7af2ab(0x235)](_0x396aba,0x1);}[_0x18610f(0x1b3)](_0x25fd9f){const _0x1394ba=_0x18610f;return this[_0x1394ba(0x1de)](_0x25fd9f,0x1);}[_0x18610f(0x235)](_0x2deba7,_0x44ac47){const _0x3da80d=_0x18610f;let _0x233c62=this['_getDocumentData'](),_0x4258be=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x233c62,this[_0x3da80d(0x237)],_0x2deba7,_0x44ac47,e['DocsTableInsertPosition']['Left'],{'bodyPath':this['_getBodyPath']()});return _0x4258be?this[_0x3da80d(0x1ea)](_0x233c62,_0x4258be['actions']):!0x1;}[_0x18610f(0x1de)](_0x89e2d7,_0x575183){const _0x473ae0=_0x18610f;let _0x1b16ee=this['_getDocumentData'](),_0xe5d194=(0x0,e[_0x473ae0(0x1a7)])(_0x1b16ee,this['_tableId'],_0x89e2d7,_0x575183,e[_0x473ae0(0x217)]['Right'],{'bodyPath':this['_getBodyPath']()});return _0xe5d194?this[_0x473ae0(0x1ea)](_0x1b16ee,_0xe5d194[_0x473ae0(0x18f)]):!0x1;}[_0x18610f(0x1bb)](){const _0x54fca5=_0x18610f;return this[_0x54fca5(0x1de)](Math[_0x54fca5(0x175)](0x0,this[_0x54fca5(0x24c)]()-0x1),0x1);}['deleteRow'](_0xbcc4d2){const _0x2e6283=_0x18610f;return this[_0x2e6283(0x176)](_0xbcc4d2,0x1);}['deleteRows'](_0x50562b,_0x273388=0x1){const _0x48888b=_0x18610f;return!!this[_0x48888b(0x214)][_0x48888b(0x211)](e[_0x48888b(0x19c)]['id'],{'endRow':_0x50562b+_0x273388-0x1,'segmentId':this[_0x48888b(0x215)],'startRow':_0x50562b,'tableId':this[_0x48888b(0x237)],'unitId':this['_unitId']});}[_0x18610f(0x213)](_0x56f287){const _0x5a6d13=_0x18610f;return this[_0x5a6d13(0x17a)](_0x56f287,0x1);}[_0x18610f(0x17a)](_0x3e3cc9,_0x2eb396=0x1){const _0x55b39f=_0x18610f;return!!this['_commandService'][_0x55b39f(0x211)](e['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x3e3cc9+_0x2eb396-0x1,'segmentId':this[_0x55b39f(0x215)],'startColumn':_0x3e3cc9,'tableId':this[_0x55b39f(0x237)],'unitId':this[_0x55b39f(0x21c)]});}['deleteTable'](){const _0x5b485e=_0x18610f;return!!this[_0x5b485e(0x214)]['syncExecuteCommand'](e[_0x5b485e(0x178)]['id'],{'segmentId':this[_0x5b485e(0x215)],'tableId':this[_0x5b485e(0x237)],'unitId':this[_0x5b485e(0x21c)]});}['moveTableBy'](_0x9ff092,_0x335036){const _0x32f6d4=_0x18610f;let _0x1e4a68=this['_getDocumentData']();return this['_mutateActions'](_0x1e4a68,(0x0,e[_0x32f6d4(0x1b8)])(_0x1e4a68,this[_0x32f6d4(0x237)],_0x9ff092,_0x335036));}['moveTableToOffset'](_0x407c11){const _0x1f5239=_0x18610f;let _0x5ebc91=this[_0x1f5239(0x1d2)]();return this[_0x1f5239(0x1ea)](_0x5ebc91,(0x0,e['buildMoveTableToOffsetMutationActions'])(_0x5ebc91,this['_tableId'],_0x407c11,this['_getBodyPath']()));}[_0x18610f(0x1f4)](_0x3c17d0,_0x597267,_0x3b174c=e['DocsTableInsertPosition'][_0x18610f(0x1ee)]){const _0x22c3c8=_0x18610f;return this[_0x22c3c8(0x1db)](_0x3c17d0,0x1,_0x597267,_0x3b174c);}[_0x18610f(0x1db)](_0x5c9444,_0x51a4b8,_0x5b9a7b,_0x5990ce=e['DocsTableInsertPosition'][_0x18610f(0x1ee)]){const _0x363a96=_0x18610f;let _0x28d1ce=this[_0x363a96(0x1d2)](),_0x37743e=(0x0,e[_0x363a96(0x1ae)])(_0x28d1ce,this[_0x363a96(0x237)],_0x5c9444,_0x5b9a7b,_0x51a4b8,_0x5990ce,this['_getBodyPath']());return _0x37743e?this[_0x363a96(0x1ea)](_0x28d1ce,_0x37743e[_0x363a96(0x18f)]):!0x1;}[_0x18610f(0x1ef)](_0x423816,_0x2600ff,_0x5b8168=e[_0x18610f(0x217)]['Left']){return this['moveColumns'](_0x423816,0x1,_0x2600ff,_0x5b8168);}['moveColumns'](_0x533665,_0x5e547e,_0x10af4f,_0x9e525=e['DocsTableInsertPosition'][_0x18610f(0x1ca)]){const _0xdce2df=_0x18610f;let _0x13643f=this[_0xdce2df(0x1d2)](),_0xc4d349=(0x0,e[_0xdce2df(0x172)])(_0x13643f,this[_0xdce2df(0x237)],_0x533665,_0x10af4f,_0x5e547e,_0x9e525,this[_0xdce2df(0x23c)]());return _0xc4d349?this[_0xdce2df(0x1ea)](_0x13643f,_0xc4d349[_0xdce2df(0x18f)]):!0x1;}['mergeCells'](_0x4a1b4d){const _0x1cad8b=_0x18610f;try{let _0x1b1c54=this['_getDocumentData'](),_0x522ac4=(0x0,e[_0x1cad8b(0x240)])({'documentData':_0x1b1c54,'tableId':this[_0x1cad8b(0x237)],..._0x4a1b4d});return _0x522ac4?this[_0x1cad8b(0x1ea)](_0x1b1c54,_0x522ac4[_0x1cad8b(0x18f)],_0x4a1b4d):!0x1;}catch{return!0x1;}}[_0x18610f(0x201)](_0x10cdd9){const _0x351614=_0x18610f;try{let _0x3d3ee0=this['_getDocumentData'](),_0x138239=(0x0,e['buildUnmergeCellsMutationActions'])({'documentData':_0x3d3ee0,'tableId':this[_0x351614(0x237)],..._0x10cdd9});return _0x138239?this[_0x351614(0x1ea)](_0x3d3ee0,_0x138239['actions'],_0x10cdd9):!0x1;}catch{return!0x1;}}[_0x18610f(0x1e2)](_0x1fd3d7,_0x58df73,_0x44843a){const _0x5e42ce=_0x18610f;let _0x36bd64=this[_0x5e42ce(0x1d2)](),_0x3831d3=(0x0,e[_0x5e42ce(0x203)])(this[_0x5e42ce(0x1e5)][_0x5e42ce(0x180)]()[_0x5e42ce(0x248)](),this[_0x5e42ce(0x215)]);return this[_0x5e42ce(0x1ea)](_0x36bd64,(0x0,e[_0x5e42ce(0x24a)])({'documentData':_0x36bd64,'tableId':this[_0x5e42ce(0x237)],'row':_0x1fd3d7,'column':_0x58df73,'text':_0x44843a},_0x3831d3),this['getCellRange'](_0x1fd3d7,_0x58df73));}[_0x18610f(0x1b9)](_0x57d3e9,_0x126824){const _0x41f198=_0x18610f;let _0x3c3409=this[_0x41f198(0x1d2)]();return this[_0x41f198(0x1ea)](_0x3c3409,(0x0,e[_0x41f198(0x23a)])(_0x3c3409,{'tableId':this[_0x41f198(0x237)],..._0x57d3e9,'value':_0x126824}),_0x57d3e9);}[_0x18610f(0x1f8)](_0x108e52,_0x53d3e3){const _0x28b9a0=_0x18610f;let _0xe5c25a=this[_0x28b9a0(0x1d2)]();return this['_mutateActions'](_0xe5c25a,(0x0,e[_0x28b9a0(0x21a)])({'documentData':_0xe5c25a,'tableId':this[_0x28b9a0(0x237)],..._0x108e52,'margin':_0x53d3e3}),_0x108e52);}[_0x18610f(0x17f)](_0x4c3625){const _0x35b84c=_0x18610f;let _0x4eea15=this['_getDocumentData']();return this['_mutateActions'](_0x4eea15,(0x0,e[_0x35b84c(0x1d7)])(_0x4eea15,this[_0x35b84c(0x237)],_0x4c3625));}[_0x18610f(0x1e0)](_0x4f2059,_0x6622f){const _0x37e367=_0x18610f;let _0x20ca6d=this['_getDocumentData']();return this[_0x37e367(0x1ea)](_0x20ca6d,(0x0,e[_0x37e367(0x1cf)])({'documentData':_0x20ca6d,'tableId':this[_0x37e367(0x237)],..._0x4f2059,'preset':_0x6622f[_0x37e367(0x23d)]??e[_0x37e367(0x1dd)][_0x37e367(0x1d3)],'border':_0x6622f['border']??{'color':{'rgb':_0x6622f[_0x37e367(0x231)]??_0x37e367(0x1f9)},'width':{'v':_0x6622f[_0x37e367(0x1b2)]??0x1},'dashStyle':t[_0x37e367(0x182)]['SOLID']}}),_0x4f2059);}[_0x18610f(0x1d1)](_0x18a67f){const _0x3e9c2b=_0x18610f;return this[_0x3e9c2b(0x1b9)](this['getTableRange'](),_0x18a67f);}[_0x18610f(0x1f5)](_0x1990ae){const _0x7a723b=_0x18610f;return this[_0x7a723b(0x1e0)](this[_0x7a723b(0x188)](),_0x1990ae);}['setTableStyle'](_0x308274){const _0xa9d482=_0x18610f;let _0x38df5e=!_0x308274['backgroundColor']||this[_0xa9d482(0x1d1)](_0x308274[_0xa9d482(0x179)]),_0x5e5511=!_0x308274[_0xa9d482(0x22c)]||this[_0xa9d482(0x1f5)](_0x308274[_0xa9d482(0x22c)]);return _0x38df5e&&_0x5e5511;}[_0x18610f(0x189)](_0x2c40b5,_0xb650f3,_0xe4249c=t[_0x18610f(0x234)][_0x18610f(0x1b7)]){const _0x441936=_0x18610f;var _0x4b3f85;let _0x313368=this[_0x441936(0x1d2)]();return(_0x4b3f85=_0x313368[_0x441936(0x1ed)])!=null&&(_0x4b3f85=_0x4b3f85[this[_0x441936(0x237)]])!=null&&_0x4b3f85[_0x441936(0x22b)][_0x2c40b5]?this[_0x441936(0x1ea)](_0x313368,(0x0,e[_0x441936(0x212)])(_0x313368,this[_0x441936(0x237)],_0x2c40b5,_0xb650f3,_0xe4249c)):!0x1;}[_0x18610f(0x19f)](_0x57205a){const _0x53b9c0=_0x18610f;var _0x4aa2f2;let _0x327a9c=(_0x4aa2f2=this[_0x53b9c0(0x244)]())==null||(_0x4aa2f2=_0x4aa2f2[_0x53b9c0(0x22b)][_0x57205a])==null?void 0x0:_0x4aa2f2[_0x53b9c0(0x1f7)];return _0x327a9c?t['Tools'][_0x53b9c0(0x249)](_0x327a9c):null;}[_0x18610f(0x1da)](_0x2f2f95,_0x1b49df){const _0x2f7109=_0x18610f;var _0x148a30;let _0x3ed17a=this[_0x2f7109(0x1d2)]();return(_0x148a30=_0x3ed17a[_0x2f7109(0x1ed)])!=null&&(_0x148a30=_0x148a30[this[_0x2f7109(0x237)]])!=null&&_0x148a30[_0x2f7109(0x198)][_0x2f2f95]?this[_0x2f7109(0x1ea)](_0x3ed17a,(0x0,e[_0x2f7109(0x1fd)])(_0x3ed17a,this['_tableId'],_0x2f2f95,_0x1b49df)):!0x1;}['distributeRows'](_0x4fd610=0x0,_0x190999=this['getRowCount']()){const _0x385b4c=_0x18610f;let _0x248d17=this[_0x385b4c(0x1d2)]();return this[_0x385b4c(0x1ea)](_0x248d17,(0x0,e['buildDistributeTableRowsMutationActions'])(_0x248d17,this[_0x385b4c(0x237)],_0x4fd610,_0x4fd610+_0x190999-0x1));}[_0x18610f(0x18d)](_0x4d2967=0x0,_0x3fa1e2=this[_0x18610f(0x24c)]()){const _0x9f7f0a=_0x18610f;let _0x5ca51e=this[_0x9f7f0a(0x1d2)]();return this[_0x9f7f0a(0x1ea)](_0x5ca51e,(0x0,e['buildDistributeTableColumnsMutationActions'])(_0x5ca51e,this[_0x9f7f0a(0x237)],_0x4d2967,_0x4d2967+_0x3fa1e2-0x1));}[_0x18610f(0x1ac)](){const _0x3707f1=_0x18610f;var _0x1ea80a;return((_0x1ea80a=this['getMetadata']())==null?void 0x0:_0x1ea80a[_0x3707f1(0x1df)])??0x0;}['setHeaderRowCount'](_0x1933e0){const _0x466917=_0x18610f;let _0xb98caa=this[_0x466917(0x1a1)][_0x466917(0x246)](e['DocsTableModel']),_0x51656c=this[_0x466917(0x1d2)](),_0xb6dc3b=(0x0,e['buildSetTableHeaderRowCountMutationActions'])(_0x51656c,this[_0x466917(0x237)],_0x1933e0);if(!_0xb6dc3b)return!0x1;let _0x158086=this[_0x466917(0x1ea)](_0x51656c,_0xb6dc3b['actions']);return _0x158086&&_0xb98caa['setHeaderRowCount'](this['_unitId'],this[_0x466917(0x237)],_0xb6dc3b[_0x466917(0x1df)]),_0x158086;}[_0x18610f(0x1cd)](_0x4b69ac){const _0x1f5829=_0x18610f;return this[_0x1f5829(0x1fa)](_0x4b69ac);}[_0x18610f(0x192)](){const _0x1d91b0=_0x18610f;var _0x382906;return((_0x382906=this[_0x1d91b0(0x242)]())==null?void 0x0:_0x382906[_0x1d91b0(0x21d)])??!0x1;}[_0x18610f(0x1eb)](){const _0x548069=_0x18610f;let _0x3b21e7=this['_injector'][_0x548069(0x246)](e['DocsTableModel']),_0x21692d=this[_0x548069(0x1d2)](),_0x29bba5=(0x0,e[_0x548069(0x1af)])(_0x21692d,this[_0x548069(0x237)],this['_getBodyPath']());if(!_0x29bba5)return!0x1;let _0x48e85f=this['_mutateActions'](_0x21692d,_0x29bba5['actions']);return _0x48e85f&&_0x3b21e7[_0x548069(0x17b)](this[_0x548069(0x21c)],this[_0x548069(0x237)],!0x0),_0x48e85f;}[_0x18610f(0x19d)](_0x142c6c,_0x47453e){const _0x2ee92e=_0x18610f;return this[_0x2ee92e(0x1a1)][_0x2ee92e(0x246)](e['DocsTableModel'])[_0x2ee92e(0x19d)](this[_0x2ee92e(0x21c)],this[_0x2ee92e(0x237)],_0x142c6c,_0x47453e),!0x0;}['sortByColumn'](_0x16ba46,_0x4f73cb){const _0x2b90f7=_0x18610f;let _0x4869d4=this['_getDocumentData']();return this[_0x2b90f7(0x1ea)](_0x4869d4,(0x0,e[_0x2b90f7(0x1fb)])(_0x4869d4,this[_0x2b90f7(0x184)](),this[_0x2b90f7(0x237)],_0x16ba46,_0x4f73cb,this['_getBodyPath']()));}[_0x18610f(0x1d2)](){const _0xcb170=_0x18610f;let _0xdb0eea=this[_0xcb170(0x1e5)][_0xcb170(0x180)]()[_0xcb170(0x248)]();return this[_0xcb170(0x215)]?{...this[_0xcb170(0x1e5)]['getDocumentDataModel'](this['_segmentId'])[_0xcb170(0x248)](),'documentStyle':_0xdb0eea[_0xcb170(0x185)],'tableSource':_0xdb0eea['tableSource']}:_0xdb0eea;}[_0x18610f(0x184)](){const _0x3d5726=_0x18610f;return this['_injector'][_0x3d5726(0x246)](e[_0x3d5726(0x1c2)])[_0x3d5726(0x1b5)](this['_unitId']);}[_0x18610f(0x23c)](){const _0x264e40=_0x18610f;return(0x0,e['getTableActionBodyPath'])(this[_0x264e40(0x1e5)]['getDocumentDataModel']()['getSnapshot'](),this[_0x264e40(0x215)]);}[_0x18610f(0x1ea)](_0x516434,_0x532377,_0xd9587c){const _0x4ce604=_0x18610f;return(0x0,e[_0x4ce604(0x1b1)])(this['_commandService'],this['_unitId'],_0x516434,_0x532377,_0xd9587c?{'tableId':this[_0x4ce604(0x237)],'segmentId':this[_0x4ce604(0x215)],..._0xd9587c}:void 0x0);}};f=d([u(0x3,t[_0x18610f(0x1ce)]),u(0x4,(0x0,t[_0x18610f(0x222)])(t['Injector']))],f);var p=class extends r[_0x18610f(0x1c0)]{[_0x18610f(0x23f)](_0x471a31=''){const _0xec6f45=_0x18610f;return this['_getTables'](_0x471a31)['map'](_0x408dd1=>this['_createFDocumentTable'](_0x408dd1[_0xec6f45(0x1f0)],_0x471a31));}['getTable'](_0x4f78b1,_0x1f7681=''){const _0x5d87a7=_0x18610f;return this['_getTables'](_0x1f7681)[_0x5d87a7(0x191)](_0x5c024c=>_0x5c024c[_0x5d87a7(0x1f0)]===_0x4f78b1)?this[_0x5d87a7(0x18b)](_0x4f78b1,_0x1f7681):null;}[_0x18610f(0x205)](_0x3017e1,_0xc1e1ef=''){const _0x15b9a3=_0x18610f;var _0x121275;let _0x5572b6=(_0x121275=this[_0x15b9a3(0x241)](_0xc1e1ef)[_0x3017e1])==null?void 0x0:_0x121275[_0x15b9a3(0x1f0)];return _0x5572b6?this[_0x15b9a3(0x18b)](_0x5572b6,_0xc1e1ef):null;}[_0x18610f(0x1e7)](){const _0x59a474=_0x18610f;let _0x558c9c=this['_injector'][_0x59a474(0x246)](e[_0x59a474(0x1a5)])['getStableTableSelection']();return _0x558c9c!=null&&_0x558c9c[_0x59a474(0x1f0)]?this[_0x59a474(0x18b)](_0x558c9c['tableId'],_0x558c9c[_0x59a474(0x200)]):null;}[_0x18610f(0x17d)](_0x3c9ad3,_0xde88ea=''){const _0x876dbd=_0x18610f;return this[_0x876dbd(0x20e)](_0x3c9ad3,_0xde88ea)[0x0]??null;}[_0x18610f(0x20e)](_0x499b9f,_0x3116e9=''){const _0x21ec7f=_0x18610f;let _0x407339=this[_0x21ec7f(0x1ec)](_0x3116e9),_0x1a33ae=typeof _0x499b9f==_0x21ec7f(0x1a0)?{'text':_0x499b9f}:_0x499b9f;return this[_0x21ec7f(0x23f)](_0x3116e9)[_0x21ec7f(0x210)](_0x5e15e3=>{const _0x37eefb=_0x21ec7f;let _0x4d1cfd=_0x5e15e3[_0x37eefb(0x18a)]();return!(_0x1a33ae[_0x37eefb(0x1f0)]&&_0x4d1cfd!==_0x1a33ae[_0x37eefb(0x1f0)]||_0x1a33ae['text']&&!this['_tableContainsText'](_0x407339,_0x4d1cfd,_0x1a33ae[_0x37eefb(0x243)])||_0x1a33ae['headerText']&&!this[_0x37eefb(0x195)](_0x5e15e3,0x0,_0x1a33ae['headerText'])||_0x1a33ae[_0x37eefb(0x1a2)]&&!this[_0x37eefb(0x195)](_0x5e15e3,0x0,_0x1a33ae['titleText']));});}['insertTable'](_0x6b5f4,_0x503076,_0x1d0afd={}){const _0x34c597=_0x18610f;let _0x518bab=this['_injector'][_0x34c597(0x246)](t[_0x34c597(0x1ce)]),_0x5ea770=_0x1d0afd[_0x34c597(0x1f0)]??(0x0,t[_0x34c597(0x1c6)])(0x6);return _0x518bab[_0x34c597(0x211)](e[_0x34c597(0x19b)]['id'],{..._0x1d0afd,'unitId':this[_0x34c597(0x18a)](),'rows':_0x6b5f4,'columns':_0x503076,'tableId':_0x5ea770})?this[_0x34c597(0x18b)](_0x5ea770,_0x1d0afd[_0x34c597(0x200)]??''):null;}[_0x18610f(0x20a)](_0x169fef,_0x2e521e={}){const _0x1424ed=_0x18610f;let _0x218559=this['_injector']['get'](t[_0x1424ed(0x1ce)]),_0x264bea=_0x2e521e['tableId']??(0x0,t[_0x1424ed(0x1c6)])(0x6);return _0x218559[_0x1424ed(0x211)](e[_0x1424ed(0x19b)]['id'],{..._0x2e521e,'unitId':this[_0x1424ed(0x18a)](),'values':_0x169fef,'tableId':_0x264bea})?this['_createFDocumentTable'](_0x264bea,_0x2e521e[_0x1424ed(0x200)]??''):null;}[_0x18610f(0x241)](_0x2e3115=''){let {tables:_0x2a68d0=[]}=this['getBody'](_0x2e3115);return _0x2a68d0;}['_getTableDocumentData'](_0x585c85=''){const _0x5d6236=_0x18610f;let _0x5409d1=this[_0x5d6236(0x180)]()[_0x5d6236(0x248)]();return _0x585c85?{...this[_0x5d6236(0x180)](_0x585c85)['getSnapshot'](),'documentStyle':_0x5409d1[_0x5d6236(0x185)],'tableSource':_0x5409d1['tableSource']}:_0x5409d1;}[_0x18610f(0x18b)](_0x10d150,_0x497f01=''){const _0x517e5a=_0x18610f;return this['_injector'][_0x517e5a(0x1e4)](f,this,_0x10d150,_0x497f01);}[_0x18610f(0x196)](_0x44f33d,_0x32c424,_0x56db33){const _0x1157d2=_0x18610f;var _0x12f298;let _0x3e6f11=(0x0,e[_0x1157d2(0x220)])(_0x44f33d,_0x32c424);if(!_0x3e6f11)return!0x1;let _0x2b7023=(_0x12f298=_0x44f33d['body'])==null?void 0x0:_0x12f298[_0x1157d2(0x1b6)];return _0x2b7023?_0x2b7023[_0x1157d2(0x206)](_0x3e6f11['startOffset'],_0x3e6f11[_0x1157d2(0x194)])[_0x1157d2(0x207)](_0x56db33):!0x1;}[_0x18610f(0x195)](_0x579e5f,_0x23e6f4,_0x3ec879){const _0x11f53d=_0x18610f;return Array['from']({'length':_0x579e5f['getColumnCount']()},(_0x4d1c91,_0x30faad)=>_0x579e5f['getCellText'](_0x23e6f4,_0x30faad))[_0x11f53d(0x191)](_0x26de79=>_0x26de79[_0x11f53d(0x207)](_0x3ec879));}};r[_0x18610f(0x1c0)]['extend'](p),Object[_0x18610f(0x183)](exports,'FDocumentTable',{'enumerable':!0x0,'get':function(){return f;}}),exports[_0x18610f(0x1e9)]=a;
|