@univerjs-pro/docs-table 1.0.0-insiders.20260813-7c9aa50 → 1.0.0
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/types/commands/delete-columns.command.d.ts +4 -3
- package/lib/types/commands/delete-rows.command.d.ts +4 -3
- package/lib/types/commands/delete-table.command.d.ts +2 -1
- package/lib/types/commands/utils.d.ts +1 -1
- package/lib/types/common/clipboard.d.ts +4 -0
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/facade/f-docs-table-cell.d.ts +83 -0
- package/lib/types/facade/f-docs-table.d.ts +130 -0
- package/lib/types/facade/f-document-table.d.ts +4 -3
- package/lib/types/index.d.ts +2 -1
- package/lib/types/services/docs-table-selection.service.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x45df34=_0x421c;(function(_0x4bbd5c,_0x1060ed){const _0x49897f=_0x421c,_0x85e9a7=_0x4bbd5c();while(!![]){try{const _0x513c4f=-parseInt(_0x49897f(0x16c))/0x1+-parseInt(_0x49897f(0x1ac))/0x2*(parseInt(_0x49897f(0x1c1))/0x3)+parseInt(_0x49897f(0x1c8))/0x4*(-parseInt(_0x49897f(0x18b))/0x5)+parseInt(_0x49897f(0x1df))/0x6+-parseInt(_0x49897f(0x219))/0x7*(-parseInt(_0x49897f(0x216))/0x8)+parseInt(_0x49897f(0x1b4))/0x9+-parseInt(_0x49897f(0x1fd))/0xa;if(_0x513c4f===_0x1060ed)break;else _0x85e9a7['push'](_0x85e9a7['shift']());}catch(_0x5e926a){_0x85e9a7['push'](_0x85e9a7['shift']());}}}(_0x5282,0x60fe3),Object['defineProperty'](exports,Symbol[_0x45df34(0x1b9)],{'value':_0x45df34(0x1e3)}));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[_0x45df34(0x1f2)]{get[_0x45df34(0x1c7)](){const _0x5eea55=_0x45df34;return e[_0x5eea55(0x1c7)];}get['DocsTableColumnType'](){const _0x485451=_0x45df34;return e[_0x485451(0x1ea)];}get[_0x45df34(0x1f3)](){const _0x49db7c=_0x45df34;return e[_0x49db7c(0x1f3)];}get[_0x45df34(0x20d)](){const _0x38644f=_0x45df34;return e[_0x38644f(0x20d)];}get['DocsTableColumnInsertPosition'](){const _0x5b8255=_0x45df34;return e[_0x5b8255(0x1dd)];}get['DocsTableBorderPreset'](){return e['DocsTableBorderPreset'];}get['DocsTableSortDirection'](){const _0x5aa894=_0x45df34;return e[_0x5aa894(0x16b)];}get[_0x45df34(0x172)](){const _0x2e64c2=_0x45df34;return t[_0x2e64c2(0x172)];}};n['FEnum'][_0x45df34(0x22a)](i);var a=class{constructor(_0x9b7efe,_0x295e2c,_0x55f361){const _0x491ac5=_0x45df34;this[_0x491ac5(0x1e1)]=_0x9b7efe,this[_0x491ac5(0x1bb)]=_0x295e2c,this[_0x491ac5(0x231)]=_0x55f361;}[_0x45df34(0x1f9)](){const _0x4bcd67=_0x45df34;return this[_0x4bcd67(0x1e1)];}[_0x45df34(0x1cc)](){const _0x12a49c=_0x45df34;return this[_0x12a49c(0x1bb)];}[_0x45df34(0x1c2)](){return this['_column'];}['getText'](){const _0x40200a=_0x45df34;return this[_0x40200a(0x1e1)][_0x40200a(0x18c)](this['_row'],this[_0x40200a(0x231)]);}[_0x45df34(0x1fa)](){const _0x5b1246=_0x45df34;return this[_0x5b1246(0x1e1)][_0x5b1246(0x234)](this[_0x5b1246(0x1bb)],this['_column']);}[_0x45df34(0x211)](){const _0x10888e=_0x45df34;return this[_0x10888e(0x1e1)][_0x10888e(0x209)](this[_0x10888e(0x1bb)],this[_0x10888e(0x231)]);}['getMargin'](){const _0x5f479c=_0x45df34;return this[_0x5f479c(0x1e1)]['getCellMargin'](this['_row'],this[_0x5f479c(0x231)]);}[_0x45df34(0x1c4)](){const _0x4bb740=_0x45df34;return this[_0x4bb740(0x1e1)][_0x4bb740(0x1fc)](this[_0x4bb740(0x1bb)],this[_0x4bb740(0x231)]);}['setMargin'](_0x31d879){const _0x4efaee=_0x45df34;return this['_table'][_0x4efaee(0x1e4)](this['_table'][_0x4efaee(0x1f0)](this[_0x4efaee(0x1bb)],this[_0x4efaee(0x231)]),_0x31d879);}[_0x45df34(0x184)](){const _0x1b94fc=_0x45df34;return this[_0x1b94fc(0x1e1)][_0x1b94fc(0x1e4)](this[_0x1b94fc(0x1e1)][_0x1b94fc(0x1f0)](this[_0x1b94fc(0x1bb)],this[_0x1b94fc(0x231)]),null);}[_0x45df34(0x1f5)](_0x3a904a){const _0x1de4b8=_0x45df34;return this[_0x1de4b8(0x1e1)][_0x1de4b8(0x1bc)](this[_0x1de4b8(0x1bb)],this['_column'],_0x3a904a);}[_0x45df34(0x181)](_0x358ace){const _0x411ebe=_0x45df34;return this[_0x411ebe(0x1e1)][_0x411ebe(0x198)](this[_0x411ebe(0x1e1)][_0x411ebe(0x1f0)](this[_0x411ebe(0x1bb)],this[_0x411ebe(0x231)]),_0x358ace);}[_0x45df34(0x225)](_0x5cd14e){const _0x3758d6=_0x45df34;return this['_table'][_0x3758d6(0x225)](this[_0x3758d6(0x1e1)][_0x3758d6(0x1f0)](this['_row'],this[_0x3758d6(0x231)]),_0x5cd14e);}['mergeTo'](_0x2bd920,_0x5632e0){const _0xf62b5d=_0x45df34;return this[_0xf62b5d(0x1e1)][_0xf62b5d(0x206)]({'startRow':this[_0xf62b5d(0x1bb)],'startColumn':this['_column'],'endRow':this[_0xf62b5d(0x1bb)]+_0x2bd920-0x1,'endColumn':this[_0xf62b5d(0x231)]+_0x5632e0-0x1});}[_0x45df34(0x192)](){const _0x1eeb82=_0x45df34;return this[_0x1eeb82(0x1e1)][_0x1eeb82(0x1da)](this['_table'][_0x1eeb82(0x1f0)](this[_0x1eeb82(0x1bb)],this['_column']));}};function _0x421c(_0x4c4a99,_0x7acfad){_0x4c4a99=_0x4c4a99-0x167;const _0x528297=_0x5282();let _0x421c16=_0x528297[_0x4c4a99];return _0x421c16;}function o(_0x5319d8){'@babel/helpers - typeof';const _0x3c4ecb=_0x45df34;return o=typeof Symbol==_0x3c4ecb(0x1bf)&&typeof Symbol[_0x3c4ecb(0x189)]==_0x3c4ecb(0x1e7)?function(_0x1a6be2){return typeof _0x1a6be2;}:function(_0x2d178b){const _0x3c6f3b=_0x3c4ecb;return _0x2d178b&&typeof Symbol==_0x3c6f3b(0x1bf)&&_0x2d178b['constructor']===Symbol&&_0x2d178b!==Symbol['prototype']?_0x3c6f3b(0x1e7):typeof _0x2d178b;},o(_0x5319d8);}function s(_0x4790bb,_0x5e79d1){const _0x101855=_0x45df34;if(o(_0x4790bb)!=_0x101855(0x19e)||!_0x4790bb)return _0x4790bb;var _0x43521e=_0x4790bb[Symbol[_0x101855(0x190)]];if(_0x43521e!==void 0x0){var _0x4e69e6=_0x43521e[_0x101855(0x19c)](_0x4790bb,_0x5e79d1||_0x101855(0x183));if(o(_0x4e69e6)!=_0x101855(0x19e))return _0x4e69e6;throw TypeError(_0x101855(0x1de));}return(_0x5e79d1==='string'?String:Number)(_0x4790bb);}function c(_0x44ae68){const _0x346342=_0x45df34;var _0x44e767=s(_0x44ae68,_0x346342(0x1a4));return o(_0x44e767)==_0x346342(0x1e7)?_0x44e767:_0x44e767+'';}function _0x5282(){const _0x24daa5=['FDocumentTableCell','buildSetTableBorderMutationActions','SOLID','2uEHxOb','deleteRows','trHeight','insertColumnBefore','getSource','setHeaderRowCount','_tableContainsText','_segmentId','6871869YWzCHN','getColumnCount','border','max','buildMergeCellsMutationActions','toStringTag','cellMargin','_row','setCellText','insertColumnsAfter','buildDistributeTableColumnsMutationActions','function','getHeaderRowCount','485883ttEQTI','getColumnIndex','getTableAtSelection','getMarginOverride','getTableRangeById','insertColumnsBefore','DocsTableInsertTablePosition','167236MhuSRj','replace','buildInsertTableTitleRowMutationActions','appendRow','getRowIndex','slice','documentStyle','getStableTableSelection','FDocumentTable','insertRowsAfter','_unitId','preset','hasTitleRow','getTables','columnTypes','buildMoveFloatingTableMutationActions','tableId','tableSource','unmergeCells','moveColumns','selectCell','DocsTableColumnInsertPosition','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','2893650GRyHWr','color','_table','tableCells','Module','setCellMargin','Tools','getTableMetadata','symbol','startOffset','getTableAt','DocsTableColumnType','moveRow','setColumnType','findTables','buildDeleteTableColumnsMutationActions','buildResizeTableColumnActionsFromWidth','getCellRange','moveColumn','FEnum','DocsTableSelectionKind','Cell','setText','buildDeleteTableMutationActions','rows','selectRange','getTable','getContentRange','text','getCellMarginOverride','5811340XFvIAp','DocsTableModel','filter','setTitleRow','FDocument','getColumnsRange','headerText','ICommandService','actions','mergeCells','syncExecuteCommand','segmentId','getCellInsertOffset','from','get','buildSetTableBackgroundMutationActions','DocsTableRowInsertPosition','endOffset','DocsTableInsertTableCommand','setTableBorder','getInsertOffset','cells','_getTableDocumentData','getMetadata','buildSetTableCellTextMutationActions','1069680OqOwfD','sortByColumn','buildSetTableCellMarginMutationActions','35xTqpaN','Left','AT_LEAST','buildInsertTableColumnsMutationActions','moveTableToOffset','createInstance','titleText','setTableBackground','All','generateRandomId','_tableId','buildMoveTableRowsMutationActions','setBorder','executeRichTextTableActions','_mutateActions','getTableRange','DocsTableInsertPosition','extend','Above','headerRowCount','deleteColumns','margin','insertRowBefore','tableColumns','_column','distributeRows','insertTitleRow','getCellContentRange','getSnapshot','buildDistributeTableRowsMutationActions','buildSortTableMutationActions','pinHeaderRows','setRowHeight','_createFDocumentTable','getRowsRange','getRowCount','_serializeModel','selectRow','insertRowsBefore','Row','getRowHeight','DocsTableSortDirection','732179fVncYU','buildMoveTableToOffsetMutationActions','getTableActionBodyPath','Right','length','_getDocumentData','DashStyleType','some','describe','buildDeleteTableRowsMutationActions','Range','body','getRowRange','getDefaultCellMarginOverride','includes','_document','insertTableFromData','selectColumn','buildResizeTableRowActionsFromHeight','titleRow','setDefaultCellMargin','setBackgroundColor','getBody','default','clearMarginOverride','_getTables','dataStream','getDefaultCellMargin','deleteRow','iterator','insertTable','5PWiPHx','getCellText','getDocumentDataModel','moveRows','getCell','toPrimitive','TableRowHeightRule','unmerge','getSegmentId','selectColumns','width','_injector','map','setCellBackground','buildMoveTableColumnsMutationActions','getId','_getBodyPath','call','buildInsertTableRowsMutationActions','object','deepClone','getCellMargin','getInfo','distributeColumns','size','string','deleteTable','tableRows','buildSetTableHeaderRowCountMutationActions','serialize'];_0x5282=function(){return _0x24daa5;};return _0x5282();}function l(_0x176a95,_0x5402b1,_0x3e8e20){return(_0x5402b1=c(_0x5402b1))in _0x176a95?Object['defineProperty'](_0x176a95,_0x5402b1,{'value':_0x3e8e20,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x176a95[_0x5402b1]=_0x3e8e20,_0x176a95;}var u=class{constructor(_0x3a2576,_0x3ced0f,_0x37f085='',_0x27c242){const _0x59a933=_0x45df34;this[_0x59a933(0x17b)]=_0x3a2576,this[_0x59a933(0x223)]=_0x3ced0f,this[_0x59a933(0x1b3)]=_0x37f085,this[_0x59a933(0x196)]=_0x27c242,l(this,'_unitId',void 0x0),this[_0x59a933(0x1d2)]=this['_document'][_0x59a933(0x19a)]();}['getId'](){return this['_tableId'];}[_0x45df34(0x193)](){return this['_segmentId'];}[_0x45df34(0x1a1)](){const _0xcc509d=_0x45df34;return{'id':this[_0xcc509d(0x223)],'rowCount':this['getRowCount'](),'columnCount':this['getColumnCount'](),'metadata':this[_0xcc509d(0x214)](),'source':this[_0xcc509d(0x1b0)]()};}[_0x45df34(0x174)](){const _0x473a6f=_0x45df34;let _0x451afc=this[_0x473a6f(0x214)](),_0x2d8a22=this[_0x473a6f(0x1b0)](),_0x49a16d=this[_0x473a6f(0x1b5)]();return{'id':this[_0x473a6f(0x223)],'rowCount':this[_0x473a6f(0x23c)](),'columnCount':_0x49a16d,'headerRowCount':(_0x451afc==null?void 0x0:_0x451afc[_0x473a6f(0x22c)])??0x0,'titleRow':(_0x451afc==null?void 0x0:_0x451afc['titleRow'])??!0x1,'columns':Array[_0x473a6f(0x20a)]({'length':_0x49a16d},(_0x2fa15c,_0xcaaed9)=>{const _0x10ff5a=_0x473a6f;var _0x4deaef,_0x3de39d;return{'index':_0xcaaed9,'type':_0x451afc==null||(_0x4deaef=_0x451afc[_0x10ff5a(0x1d6)])==null||(_0x4deaef=_0x4deaef[_0xcaaed9])==null?void 0x0:_0x4deaef['type'],'width':_0x2d8a22==null||(_0x3de39d=_0x2d8a22[_0x10ff5a(0x230)][_0xcaaed9])==null?void 0x0:_0x3de39d[_0x10ff5a(0x1a3)]['width']['v']};}),'sampleRows':Array['from']({'length':this[_0x473a6f(0x23c)]()},(_0x2d93ca,_0x457df4)=>Array[_0x473a6f(0x20a)]({'length':_0x49a16d},(_0x4e447c,_0x587c07)=>this[_0x473a6f(0x18c)](_0x457df4,_0x587c07)))['filter'](_0x51f890=>_0x51f890[_0x473a6f(0x173)](_0x33f0d1=>_0x33f0d1['length']>0x0))[_0x473a6f(0x1cd)](0x0,0x5)};}[_0x45df34(0x23c)](){const _0x410d66=_0x45df34;var _0x4a0f3a;return((_0x4a0f3a=this['getSource']())==null?void 0x0:_0x4a0f3a['tableRows'][_0x410d66(0x170)])??0x0;}['getColumnCount'](){const _0x464fa9=_0x45df34;var _0x15f7f7;return((_0x15f7f7=this[_0x464fa9(0x1b0)]())==null?void 0x0:_0x15f7f7[_0x464fa9(0x230)][_0x464fa9(0x170)])??0x0;}[_0x45df34(0x18f)](_0x46cac5,_0x37ef35){const _0x14beba=_0x45df34;var _0x3fbe71;return(_0x3fbe71=this[_0x14beba(0x1b0)]())!=null&&(_0x3fbe71=_0x3fbe71['tableRows'][_0x46cac5])!=null&&_0x3fbe71[_0x14beba(0x1e2)][_0x37ef35]?this['_injector'][_0x14beba(0x21e)](a,this,_0x46cac5,_0x37ef35):null;}['getCellText'](_0x3c0d23,_0x2955b4){const _0x499dfb=_0x45df34;var _0x4ca585,_0x547861;let _0x58215c=(_0x4ca585=(0x0,e[_0x499dfb(0x1c5)])(this['_getDocumentData'](),this['_tableId']))==null||(_0x4ca585=_0x4ca585[_0x499dfb(0x1f7)][_0x3c0d23])==null?void 0x0:_0x4ca585['cells'][_0x2955b4];return _0x58215c?((_0x547861=this['_getDocumentData']()['body'])==null?void 0x0:_0x547861[_0x499dfb(0x186)][_0x499dfb(0x1cd)](_0x58215c['startOffset']+0x1,_0x58215c[_0x499dfb(0x20e)])[_0x499dfb(0x1c9)](/\r\n$/,''))??'':'';}[_0x45df34(0x1a0)](_0x497c46,_0x2527cb){const _0xd8bc2d=_0x45df34;var _0x370a83;let _0x1d1e27=this[_0xd8bc2d(0x1b0)](),_0x4f06bc=_0x1d1e27==null||(_0x370a83=_0x1d1e27[_0xd8bc2d(0x1a6)][_0x497c46])==null?void 0x0:_0x370a83['tableCells'][_0x2527cb];return _0x4f06bc?t[_0xd8bc2d(0x1e5)][_0xd8bc2d(0x19f)](_0x4f06bc[_0xd8bc2d(0x22e)]??_0x1d1e27['cellMargin']??e['DEFAULT_DOCS_TABLE_CELL_MARGIN']):null;}['getCellMarginOverride'](_0x3a8f58,_0x56da26){const _0x54fbfb=_0x45df34;var _0x5de2aa;let _0x3579c2=(_0x5de2aa=this[_0x54fbfb(0x1b0)]())==null||(_0x5de2aa=_0x5de2aa['tableRows'][_0x3a8f58])==null?void 0x0:_0x5de2aa['tableCells'][_0x56da26];return _0x3579c2!=null&&_0x3579c2[_0x54fbfb(0x22e)]?t[_0x54fbfb(0x1e5)][_0x54fbfb(0x19f)](_0x3579c2[_0x54fbfb(0x22e)]):null;}[_0x45df34(0x187)](){const _0x3ee294=_0x45df34;var _0x76197b;return t[_0x3ee294(0x1e5)]['deepClone'](((_0x76197b=this[_0x3ee294(0x1b0)]())==null?void 0x0:_0x76197b[_0x3ee294(0x1ba)])??e['DEFAULT_DOCS_TABLE_CELL_MARGIN']);}[_0x45df34(0x179)](){const _0x3ece2c=_0x45df34;var _0x15fb48;let _0x4ef90f=(_0x15fb48=this[_0x3ece2c(0x1b0)]())==null?void 0x0:_0x15fb48[_0x3ece2c(0x1ba)];return _0x4ef90f?t[_0x3ece2c(0x1e5)][_0x3ece2c(0x19f)](_0x4ef90f):null;}[_0x45df34(0x214)](){const _0x238c81=_0x45df34;return this[_0x238c81(0x196)][_0x238c81(0x20b)](e[_0x238c81(0x1fe)])[_0x238c81(0x1e6)](this[_0x238c81(0x1d2)],this[_0x238c81(0x223)]);}[_0x45df34(0x1b0)](){const _0x76d1ff=_0x45df34;var _0xe54812;return(_0xe54812=this[_0x76d1ff(0x171)]()[_0x76d1ff(0x1d9)])==null?void 0x0:_0xe54812[this[_0x76d1ff(0x223)]];}['getRange'](){const _0xb3ad6d=_0x45df34;return(0x0,e[_0xb3ad6d(0x1c5)])(this[_0xb3ad6d(0x171)](),this[_0xb3ad6d(0x223)]);}['getTableRange'](){const _0x3314d3=_0x45df34;return{'startRow':0x0,'endRow':Math[_0x3314d3(0x1b7)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x3314d3(0x1b7)](0x0,this[_0x3314d3(0x1b5)]()-0x1)};}[_0x45df34(0x1f0)](_0x33c2fb,_0x52387b){return{'startRow':_0x33c2fb,'endRow':_0x33c2fb,'startColumn':_0x52387b,'endColumn':_0x52387b};}[_0x45df34(0x234)](_0x2b6825,_0x23de22){const _0x347b6f=_0x45df34;var _0x30390d;let _0xd2b4fc=(_0x30390d=(0x0,e[_0x347b6f(0x1c5)])(this[_0x347b6f(0x171)](),this[_0x347b6f(0x223)]))==null||(_0x30390d=_0x30390d[_0x347b6f(0x1f7)][_0x2b6825])==null?void 0x0:_0x30390d[_0x347b6f(0x212)][_0x23de22];if(!_0xd2b4fc)return null;let _0x5b8163=_0xd2b4fc[_0x347b6f(0x1e8)]+0x1;return{'startOffset':_0x5b8163,'endOffset':Math[_0x347b6f(0x1b7)](_0x5b8163,_0xd2b4fc['endOffset']-0x1),'segmentId':this[_0x347b6f(0x1b3)]};}[_0x45df34(0x209)](_0x2bf95f,_0x289857){const _0xa6c183=_0x45df34;let _0x2b7109=this[_0xa6c183(0x234)](_0x2bf95f,_0x289857);return _0x2b7109?Math[_0xa6c183(0x1b7)](_0x2b7109[_0xa6c183(0x1e8)],_0x2b7109[_0xa6c183(0x20e)]-0x1):null;}[_0x45df34(0x178)](_0x370f6c){const _0x2b7d64=_0x45df34;return this[_0x2b7d64(0x23b)](_0x370f6c,0x1);}[_0x45df34(0x23b)](_0x3799ea,_0x4975ab=0x1){const _0x280e62=_0x45df34;return{'startRow':_0x3799ea,'endRow':_0x3799ea+_0x4975ab-0x1,'startColumn':0x0,'endColumn':Math[_0x280e62(0x1b7)](0x0,this[_0x280e62(0x1b5)]()-0x1)};}['getColumnRange'](_0x265eb6){const _0x53978c=_0x45df34;return this[_0x53978c(0x202)](_0x265eb6,0x1);}[_0x45df34(0x202)](_0x4a0762,_0x3cfcbd=0x1){return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':_0x4a0762,'endColumn':_0x4a0762+_0x3cfcbd-0x1};}['selectTable'](){const _0x2f539d=_0x45df34;return this[_0x2f539d(0x1f8)](this['getTableRange'](),e[_0x2f539d(0x1f3)]['Table']);}[_0x45df34(0x167)](_0x127e2f){return this['selectRows'](_0x127e2f,0x1);}['selectRows'](_0x2d18c3,_0x25fbdd=0x1){const _0xc106f=_0x45df34;return this['selectRange'](this[_0xc106f(0x23b)](_0x2d18c3,_0x25fbdd),e[_0xc106f(0x1f3)][_0xc106f(0x169)]);}[_0x45df34(0x17d)](_0x1d42dc){const _0xc9aec0=_0x45df34;return this[_0xc9aec0(0x194)](_0x1d42dc,0x1);}[_0x45df34(0x194)](_0x7623b8,_0x4f7a0c=0x1){const _0x598204=_0x45df34;return this[_0x598204(0x1f8)](this[_0x598204(0x202)](_0x7623b8,_0x4f7a0c),e[_0x598204(0x1f3)]['Column']);}[_0x45df34(0x1dc)](_0x543285,_0x4728a6){const _0x5621e6=_0x45df34;return this[_0x5621e6(0x1f8)](this[_0x5621e6(0x1f0)](_0x543285,_0x4728a6),e[_0x5621e6(0x1f3)][_0x5621e6(0x1f4)]);}[_0x45df34(0x1f8)](_0x4b33f4,_0x468da0=e[_0x45df34(0x1f3)][_0x45df34(0x176)]){const _0x22bbbf=_0x45df34;return this[_0x22bbbf(0x196)][_0x22bbbf(0x20b)](e['DocsTableSelectionService'])['setStructuralSelection']({..._0x4b33f4,'kind':_0x468da0,'segmentId':this[_0x22bbbf(0x1b3)],'tableId':this[_0x22bbbf(0x223)]}),!0x0;}[_0x45df34(0x22f)](_0x2537e5){const _0x491417=_0x45df34;return this[_0x491417(0x168)](_0x2537e5,0x1);}['insertRowAfter'](_0x382939){const _0x57adc9=_0x45df34;return this[_0x57adc9(0x1d1)](_0x382939,0x1);}[_0x45df34(0x168)](_0x55a002,_0x23c66d){const _0x3148c=_0x45df34;let _0x13cb4e=this[_0x3148c(0x171)](),_0x3872f9=(0x0,e['buildInsertTableRowsMutationActions'])(_0x13cb4e,this['_tableId'],_0x55a002,_0x23c66d,e[_0x3148c(0x229)][_0x3148c(0x22b)],this[_0x3148c(0x19b)]());return _0x3872f9?this[_0x3148c(0x227)](_0x13cb4e,_0x3872f9[_0x3148c(0x205)]):!0x1;}[_0x45df34(0x1d1)](_0x5e5a77,_0x5a6e09){const _0x42bd08=_0x45df34;let _0xd54488=this[_0x42bd08(0x171)](),_0x4a080c=(0x0,e[_0x42bd08(0x19d)])(_0xd54488,this['_tableId'],_0x5e5a77,_0x5a6e09,e[_0x42bd08(0x229)]['Below'],this[_0x42bd08(0x19b)]());return _0x4a080c?this[_0x42bd08(0x227)](_0xd54488,_0x4a080c[_0x42bd08(0x205)]):!0x1;}[_0x45df34(0x1cb)](){const _0x3eba6b=_0x45df34;return this[_0x3eba6b(0x1d1)](Math[_0x3eba6b(0x1b7)](0x0,this[_0x3eba6b(0x23c)]()-0x1),0x1);}[_0x45df34(0x1af)](_0x3f3834){const _0x15dfc7=_0x45df34;return this[_0x15dfc7(0x1c6)](_0x3f3834,0x1);}['insertColumnAfter'](_0x4d984e){const _0x276d4b=_0x45df34;return this[_0x276d4b(0x1bd)](_0x4d984e,0x1);}['insertColumnsBefore'](_0x46f479,_0x36de79){const _0x156d63=_0x45df34;let _0x3341e6=this[_0x156d63(0x171)](),_0x1654fb=(0x0,e[_0x156d63(0x21c)])(_0x3341e6,this[_0x156d63(0x223)],_0x46f479,_0x36de79,e['DocsTableInsertPosition'][_0x156d63(0x21a)],{'bodyPath':this[_0x156d63(0x19b)]()});return _0x1654fb?this[_0x156d63(0x227)](_0x3341e6,_0x1654fb[_0x156d63(0x205)]):!0x1;}[_0x45df34(0x1bd)](_0xd6d8a0,_0x3334f9){const _0x4192bd=_0x45df34;let _0x9735db=this[_0x4192bd(0x171)](),_0x3cd2b1=(0x0,e[_0x4192bd(0x21c)])(_0x9735db,this[_0x4192bd(0x223)],_0xd6d8a0,_0x3334f9,e[_0x4192bd(0x229)][_0x4192bd(0x16f)],{'bodyPath':this[_0x4192bd(0x19b)]()});return _0x3cd2b1?this[_0x4192bd(0x227)](_0x9735db,_0x3cd2b1[_0x4192bd(0x205)]):!0x1;}['appendColumn'](){const _0x4aaa6b=_0x45df34;return this[_0x4aaa6b(0x1bd)](Math[_0x4aaa6b(0x1b7)](0x0,this[_0x4aaa6b(0x1b5)]()-0x1),0x1);}[_0x45df34(0x188)](_0x25216c){const _0x13f528=_0x45df34;return this[_0x13f528(0x1ad)](_0x25216c,0x1);}['deleteRows'](_0x2112b4,_0x22d3af=0x1){const _0x47f70c=_0x45df34;let _0x1b437a=this[_0x47f70c(0x171)](),_0x45b807=(0x0,e[_0x47f70c(0x175)])(_0x1b437a,this[_0x47f70c(0x223)],_0x2112b4,_0x2112b4+_0x22d3af-0x1,this[_0x47f70c(0x19b)]());return _0x45b807?this[_0x47f70c(0x227)](_0x1b437a,_0x45b807[_0x47f70c(0x205)]):!0x1;}['deleteColumn'](_0x3bdf30){return this['deleteColumns'](_0x3bdf30,0x1);}[_0x45df34(0x22d)](_0x5528a5,_0x581f35=0x1){const _0x843cb6=_0x45df34;let _0x3d418b=this['_getDocumentData'](),_0x2972d8=(0x0,e[_0x843cb6(0x1ee)])(_0x3d418b,this['_tableId'],_0x5528a5,_0x5528a5+_0x581f35-0x1,this[_0x843cb6(0x19b)]());return _0x2972d8?this[_0x843cb6(0x227)](_0x3d418b,_0x2972d8[_0x843cb6(0x205)]):!0x1;}[_0x45df34(0x1a5)](){const _0x12ec99=_0x45df34;let _0x35603d=this[_0x12ec99(0x171)](),_0x603560=(0x0,e[_0x12ec99(0x1f6)])(_0x35603d,this[_0x12ec99(0x223)],this['_getBodyPath']());return _0x603560?this['_mutateActions'](_0x35603d,_0x603560[_0x12ec99(0x205)]):!0x1;}['moveTableBy'](_0x1e18f1,_0x214cd2){const _0x3adfa8=_0x45df34;let _0x54bc3b=this[_0x3adfa8(0x171)]();return this[_0x3adfa8(0x227)](_0x54bc3b,(0x0,e[_0x3adfa8(0x1d7)])(_0x54bc3b,this[_0x3adfa8(0x223)],_0x1e18f1,_0x214cd2));}[_0x45df34(0x21d)](_0x1168a0){const _0x684890=_0x45df34;let _0x54e85b=this[_0x684890(0x171)]();return this['_mutateActions'](_0x54e85b,(0x0,e[_0x684890(0x16d)])(_0x54e85b,this[_0x684890(0x223)],_0x1168a0,this[_0x684890(0x19b)]()));}[_0x45df34(0x1eb)](_0x29094d,_0x4fbe72,_0x4044b1=e[_0x45df34(0x229)][_0x45df34(0x22b)]){const _0x30f77f=_0x45df34;return this[_0x30f77f(0x18e)](_0x29094d,0x1,_0x4fbe72,_0x4044b1);}[_0x45df34(0x18e)](_0x33df29,_0x43728e,_0x2ba993,_0x62bc1=e[_0x45df34(0x229)][_0x45df34(0x22b)]){const _0x24de37=_0x45df34;let _0x54a25d=this[_0x24de37(0x171)](),_0x3ef263=(0x0,e[_0x24de37(0x224)])(_0x54a25d,this[_0x24de37(0x223)],_0x33df29,_0x2ba993,_0x43728e,_0x62bc1,this[_0x24de37(0x19b)]());return _0x3ef263?this[_0x24de37(0x227)](_0x54a25d,_0x3ef263[_0x24de37(0x205)]):!0x1;}[_0x45df34(0x1f1)](_0xf227f9,_0x5dd5c2,_0x44db66=e['DocsTableInsertPosition'][_0x45df34(0x21a)]){const _0x584ec2=_0x45df34;return this[_0x584ec2(0x1db)](_0xf227f9,0x1,_0x5dd5c2,_0x44db66);}['moveColumns'](_0x4d4021,_0x23fcce,_0x597a4c,_0x36bbc0=e[_0x45df34(0x229)]['Left']){const _0x24f35d=_0x45df34;let _0x37d417=this[_0x24f35d(0x171)](),_0x1993ad=(0x0,e[_0x24f35d(0x199)])(_0x37d417,this['_tableId'],_0x4d4021,_0x597a4c,_0x23fcce,_0x36bbc0,this[_0x24f35d(0x19b)]());return _0x1993ad?this[_0x24f35d(0x227)](_0x37d417,_0x1993ad[_0x24f35d(0x205)]):!0x1;}['mergeCells'](_0x5d7a57){const _0x3ae09b=_0x45df34;try{let _0x12cee6=this[_0x3ae09b(0x171)](),_0x3ad315=(0x0,e[_0x3ae09b(0x1b8)])({'documentData':_0x12cee6,'tableId':this[_0x3ae09b(0x223)],..._0x5d7a57});return _0x3ad315?this[_0x3ae09b(0x227)](_0x12cee6,_0x3ad315[_0x3ae09b(0x205)],_0x5d7a57):!0x1;}catch{return!0x1;}}[_0x45df34(0x1da)](_0x504913){const _0x3cd1c2=_0x45df34;try{let _0x12edb5=this['_getDocumentData'](),_0x59800d=(0x0,e['buildUnmergeCellsMutationActions'])({'documentData':_0x12edb5,'tableId':this[_0x3cd1c2(0x223)],..._0x504913});return _0x59800d?this[_0x3cd1c2(0x227)](_0x12edb5,_0x59800d[_0x3cd1c2(0x205)],_0x504913):!0x1;}catch{return!0x1;}}[_0x45df34(0x1bc)](_0x280806,_0x344dff,_0x532e56){const _0x3c5110=_0x45df34;let _0x13c8de=this['_getDocumentData'](),_0x3b930e=(0x0,e['getTableActionBodyPath'])(this[_0x3c5110(0x17b)][_0x3c5110(0x18d)]()[_0x3c5110(0x235)](),this['_segmentId']);return this[_0x3c5110(0x227)](_0x13c8de,(0x0,e[_0x3c5110(0x215)])({'documentData':_0x13c8de,'tableId':this[_0x3c5110(0x223)],'row':_0x280806,'column':_0x344dff,'text':_0x532e56},_0x3b930e),this[_0x3c5110(0x1f0)](_0x280806,_0x344dff));}['setCellBackground'](_0x1a790b,_0x4285d5){const _0x1ee9a3=_0x45df34;let _0x2611aa=this[_0x1ee9a3(0x171)]();return this[_0x1ee9a3(0x227)](_0x2611aa,(0x0,e[_0x1ee9a3(0x20c)])(_0x2611aa,{'tableId':this[_0x1ee9a3(0x223)],..._0x1a790b,'value':_0x4285d5}),_0x1a790b);}[_0x45df34(0x1e4)](_0x404bf1,_0x17402c){const _0x1f7144=_0x45df34;let _0x4ea965=this[_0x1f7144(0x171)]();return this[_0x1f7144(0x227)](_0x4ea965,(0x0,e[_0x1f7144(0x218)])({'documentData':_0x4ea965,'tableId':this['_tableId'],..._0x404bf1,'margin':_0x17402c}),_0x404bf1);}[_0x45df34(0x180)](_0x38909d){const _0x5e0072=_0x45df34;let _0x2139a6=this[_0x5e0072(0x171)]();return this[_0x5e0072(0x227)](_0x2139a6,(0x0,e['buildSetTableDefaultCellMarginMutationActions'])(_0x2139a6,this[_0x5e0072(0x223)],_0x38909d));}[_0x45df34(0x225)](_0xc78201,_0x57088c){const _0x786309=_0x45df34;let _0x1e5faf=this['_getDocumentData']();return this[_0x786309(0x227)](_0x1e5faf,(0x0,e[_0x786309(0x1aa)])({'documentData':_0x1e5faf,'tableId':this[_0x786309(0x223)],..._0xc78201,'preset':_0x57088c[_0x786309(0x1d3)]??e['DocsTableBorderPreset'][_0x786309(0x221)],'border':_0x57088c['border']??{'color':{'rgb':_0x57088c[_0x786309(0x1e0)]??'#1f1f1f'},'width':{'v':_0x57088c[_0x786309(0x195)]??0x1},'dashStyle':t[_0x786309(0x172)][_0x786309(0x1ab)]}}),_0xc78201);}[_0x45df34(0x220)](_0x395aa2){const _0x56135b=_0x45df34;return this[_0x56135b(0x198)](this[_0x56135b(0x228)](),_0x395aa2);}[_0x45df34(0x210)](_0x4c06f2){const _0x29935b=_0x45df34;return this[_0x29935b(0x225)](this[_0x29935b(0x228)](),_0x4c06f2);}['setTableStyle'](_0x59cb47){const _0x5bf0d3=_0x45df34;let _0x116a47=!_0x59cb47['backgroundColor']||this['setTableBackground'](_0x59cb47['backgroundColor']),_0x59ee3f=!_0x59cb47[_0x5bf0d3(0x1b6)]||this[_0x5bf0d3(0x210)](_0x59cb47[_0x5bf0d3(0x1b6)]);return _0x116a47&&_0x59ee3f;}[_0x45df34(0x239)](_0x298c9e,_0x3d55b8,_0x77627=t[_0x45df34(0x191)][_0x45df34(0x21b)]){const _0x328ce0=_0x45df34;var _0x2e9752;let _0x778c37=this['_getDocumentData']();return(_0x2e9752=_0x778c37[_0x328ce0(0x1d9)])!=null&&(_0x2e9752=_0x2e9752[this[_0x328ce0(0x223)]])!=null&&_0x2e9752['tableRows'][_0x298c9e]?this[_0x328ce0(0x227)](_0x778c37,(0x0,e[_0x328ce0(0x17e)])(_0x778c37,this[_0x328ce0(0x223)],_0x298c9e,_0x3d55b8,_0x77627)):!0x1;}[_0x45df34(0x16a)](_0x293cf1){const _0x47d2bd=_0x45df34;var _0x628792;let _0x38a810=(_0x628792=this[_0x47d2bd(0x1b0)]())==null||(_0x628792=_0x628792[_0x47d2bd(0x1a6)][_0x293cf1])==null?void 0x0:_0x628792[_0x47d2bd(0x1ae)];return _0x38a810?t[_0x47d2bd(0x1e5)]['deepClone'](_0x38a810):null;}['setColumnWidth'](_0x214280,_0x3069b5){const _0x4f7dee=_0x45df34;var _0x1a8624;let _0x3e7af7=this[_0x4f7dee(0x171)]();return(_0x1a8624=_0x3e7af7['tableSource'])!=null&&(_0x1a8624=_0x1a8624[this['_tableId']])!=null&&_0x1a8624[_0x4f7dee(0x230)][_0x214280]?this['_mutateActions'](_0x3e7af7,(0x0,e[_0x4f7dee(0x1ef)])(_0x3e7af7,this['_tableId'],_0x214280,_0x3069b5)):!0x1;}[_0x45df34(0x232)](_0x2233c8=0x0,_0x764a12=this[_0x45df34(0x23c)]()){const _0x4d2b24=_0x45df34;let _0x3ecd14=this['_getDocumentData']();return this[_0x4d2b24(0x227)](_0x3ecd14,(0x0,e[_0x4d2b24(0x236)])(_0x3ecd14,this[_0x4d2b24(0x223)],_0x2233c8,_0x2233c8+_0x764a12-0x1));}[_0x45df34(0x1a2)](_0x2707e9=0x0,_0x2478df=this[_0x45df34(0x1b5)]()){const _0x47feff=_0x45df34;let _0x332ff0=this['_getDocumentData']();return this[_0x47feff(0x227)](_0x332ff0,(0x0,e[_0x47feff(0x1be)])(_0x332ff0,this[_0x47feff(0x223)],_0x2707e9,_0x2707e9+_0x2478df-0x1));}[_0x45df34(0x1c0)](){const _0x20803c=_0x45df34;var _0x47a7eb;return((_0x47a7eb=this[_0x20803c(0x214)]())==null?void 0x0:_0x47a7eb[_0x20803c(0x22c)])??0x0;}[_0x45df34(0x1b1)](_0x1e3397){const _0x1f5ce3=_0x45df34;let _0x6c99ca=this['_injector']['get'](e[_0x1f5ce3(0x1fe)]),_0x16f5f3=this[_0x1f5ce3(0x171)](),_0x506fda=(0x0,e[_0x1f5ce3(0x1a7)])(_0x16f5f3,this[_0x1f5ce3(0x223)],_0x1e3397);if(!_0x506fda)return!0x1;let _0x3d4411=this['_mutateActions'](_0x16f5f3,_0x506fda['actions']);return _0x3d4411&&_0x6c99ca['setHeaderRowCount'](this[_0x1f5ce3(0x1d2)],this[_0x1f5ce3(0x223)],_0x506fda['headerRowCount']),_0x3d4411;}[_0x45df34(0x238)](_0x48eebb){const _0x59afd0=_0x45df34;return this[_0x59afd0(0x1b1)](_0x48eebb);}[_0x45df34(0x1d4)](){const _0x3b7afb=_0x45df34;var _0x3d119c;return((_0x3d119c=this[_0x3b7afb(0x214)]())==null?void 0x0:_0x3d119c[_0x3b7afb(0x17f)])??!0x1;}[_0x45df34(0x233)](){const _0xd11c03=_0x45df34;let _0x48bcb6=this[_0xd11c03(0x196)][_0xd11c03(0x20b)](e[_0xd11c03(0x1fe)]),_0x26bbbc=this['_getDocumentData'](),_0x1e0beb=(0x0,e[_0xd11c03(0x1ca)])(_0x26bbbc,this[_0xd11c03(0x223)],this['_getBodyPath']());if(!_0x1e0beb)return!0x1;let _0x1dd333=this['_mutateActions'](_0x26bbbc,_0x1e0beb[_0xd11c03(0x205)]);return _0x1dd333&&_0x48bcb6[_0xd11c03(0x200)](this[_0xd11c03(0x1d2)],this['_tableId'],!0x0),_0x1dd333;}['setColumnType'](_0x28bd2f,_0x42907d){const _0x3d46b9=_0x45df34;return this[_0x3d46b9(0x196)][_0x3d46b9(0x20b)](e['DocsTableModel'])[_0x3d46b9(0x1ec)](this[_0x3d46b9(0x1d2)],this['_tableId'],_0x28bd2f,_0x42907d),!0x0;}[_0x45df34(0x217)](_0x1656d4,_0x13f606){const _0x5aeabd=_0x45df34;let _0x134e9b=this[_0x5aeabd(0x171)]();return this[_0x5aeabd(0x227)](_0x134e9b,(0x0,e[_0x5aeabd(0x237)])(_0x134e9b,this['_serializeModel'](),this[_0x5aeabd(0x223)],_0x1656d4,_0x13f606,this[_0x5aeabd(0x19b)]()));}['_getDocumentData'](){const _0x23d769=_0x45df34;let _0x41995c=this[_0x23d769(0x17b)][_0x23d769(0x18d)]()[_0x23d769(0x235)]();return this[_0x23d769(0x1b3)]?{...this[_0x23d769(0x17b)]['getDocumentDataModel'](this[_0x23d769(0x1b3)])[_0x23d769(0x235)](),'documentStyle':_0x41995c[_0x23d769(0x1ce)],'tableSource':_0x41995c[_0x23d769(0x1d9)]}:_0x41995c;}[_0x45df34(0x23d)](){const _0x1a638c=_0x45df34;return this[_0x1a638c(0x196)][_0x1a638c(0x20b)](e[_0x1a638c(0x1fe)])[_0x1a638c(0x1a8)](this[_0x1a638c(0x1d2)]);}[_0x45df34(0x19b)](){const _0xdb77dd=_0x45df34;return(0x0,e[_0xdb77dd(0x16e)])(this['_document'][_0xdb77dd(0x18d)]()['getSnapshot'](),this[_0xdb77dd(0x1b3)]);}[_0x45df34(0x227)](_0x2a7c05,_0x1cd556,_0x307a6d){const _0x287336=_0x45df34;return(0x0,e[_0x287336(0x226)])(this[_0x287336(0x196)]['get'](t[_0x287336(0x204)]),this['_unitId'],_0x2a7c05,_0x1cd556,_0x307a6d?{'tableId':this[_0x287336(0x223)],'segmentId':this[_0x287336(0x1b3)],..._0x307a6d}:void 0x0);}},d=class extends r[_0x45df34(0x201)]{[_0x45df34(0x1d5)](_0x2a3fc2=''){const _0x5ef286=_0x45df34;return this[_0x5ef286(0x185)](_0x2a3fc2)[_0x5ef286(0x197)](_0x821c9c=>this['_createFDocumentTable'](_0x821c9c['tableId'],_0x2a3fc2));}[_0x45df34(0x1f9)](_0x12e79b,_0x33521d=''){const _0x41c995=_0x45df34;return this[_0x41c995(0x185)](_0x33521d)['some'](_0x4b401e=>_0x4b401e[_0x41c995(0x1d8)]===_0x12e79b)?this[_0x41c995(0x23a)](_0x12e79b,_0x33521d):null;}[_0x45df34(0x1e9)](_0x5b6cbb,_0x388989=''){const _0x579416=_0x45df34;var _0x4efe96;let _0x41964a=(_0x4efe96=this[_0x579416(0x185)](_0x388989)[_0x5b6cbb])==null?void 0x0:_0x4efe96[_0x579416(0x1d8)];return _0x41964a?this[_0x579416(0x23a)](_0x41964a,_0x388989):null;}[_0x45df34(0x1c3)](){const _0x2db0b6=_0x45df34;let _0x2309bd=this['_injector'][_0x2db0b6(0x20b)](e['DocsTableSelectionService'])[_0x2db0b6(0x1cf)]();return _0x2309bd!=null&&_0x2309bd[_0x2db0b6(0x1d8)]?this['_createFDocumentTable'](_0x2309bd['tableId'],_0x2309bd['segmentId']):null;}['findTableByText'](_0xbd3b92,_0x37cef8=''){const _0x3fca6e=_0x45df34;return this[_0x3fca6e(0x1ed)](_0xbd3b92,_0x37cef8)[0x0]??null;}[_0x45df34(0x1ed)](_0x294e34,_0x3ec195=''){const _0x88ed76=_0x45df34;let _0x29e2db=this[_0x88ed76(0x213)](_0x3ec195),_0x55bfa7=typeof _0x294e34==_0x88ed76(0x1a4)?{'text':_0x294e34}:_0x294e34;return this[_0x88ed76(0x1d5)](_0x3ec195)[_0x88ed76(0x1ff)](_0x3206c5=>{const _0x3633f6=_0x88ed76;let _0x68d074=_0x3206c5['getId']();return!(_0x55bfa7[_0x3633f6(0x1d8)]&&_0x68d074!==_0x55bfa7[_0x3633f6(0x1d8)]||_0x55bfa7[_0x3633f6(0x1fb)]&&!this[_0x3633f6(0x1b2)](_0x29e2db,_0x68d074,_0x55bfa7['text'])||_0x55bfa7[_0x3633f6(0x203)]&&!this['_rowContainsText'](_0x3206c5,0x0,_0x55bfa7[_0x3633f6(0x203)])||_0x55bfa7['titleText']&&!this['_rowContainsText'](_0x3206c5,0x0,_0x55bfa7[_0x3633f6(0x21f)]));});}[_0x45df34(0x18a)](_0x1ee682,_0x43c5ce,_0x26070f={}){const _0x574f6e=_0x45df34;let _0x2520c3=this['_injector']['get'](t[_0x574f6e(0x204)]),_0x221dd2=_0x26070f[_0x574f6e(0x1d8)]??(0x0,t[_0x574f6e(0x222)])(0x6);return _0x2520c3[_0x574f6e(0x207)](e[_0x574f6e(0x20f)]['id'],{..._0x26070f,'unitId':this[_0x574f6e(0x19a)](),'rows':_0x1ee682,'columns':_0x43c5ce,'tableId':_0x221dd2})?this[_0x574f6e(0x23a)](_0x221dd2,_0x26070f[_0x574f6e(0x208)]??''):null;}[_0x45df34(0x17c)](_0x53c613,_0x3d6305={}){const _0x5683d3=_0x45df34;let _0x16f7ff=this[_0x5683d3(0x196)]['get'](t[_0x5683d3(0x204)]),_0x4a019a=_0x3d6305[_0x5683d3(0x1d8)]??(0x0,t[_0x5683d3(0x222)])(0x6);return _0x16f7ff[_0x5683d3(0x207)](e[_0x5683d3(0x20f)]['id'],{..._0x3d6305,'unitId':this[_0x5683d3(0x19a)](),'values':_0x53c613,'tableId':_0x4a019a})?this['_createFDocumentTable'](_0x4a019a,_0x3d6305[_0x5683d3(0x208)]??''):null;}[_0x45df34(0x185)](_0x2f5e4d=''){const _0x18ca5e=_0x45df34;let {tables:_0x3de192=[]}=this[_0x18ca5e(0x182)](_0x2f5e4d);return _0x3de192;}[_0x45df34(0x213)](_0x48d567=''){const _0x4fb86f=_0x45df34;let _0x115885=this['getDocumentDataModel']()['getSnapshot']();return _0x48d567?{...this['getDocumentDataModel'](_0x48d567)[_0x4fb86f(0x235)](),'documentStyle':_0x115885[_0x4fb86f(0x1ce)],'tableSource':_0x115885[_0x4fb86f(0x1d9)]}:_0x115885;}[_0x45df34(0x23a)](_0x3f530f,_0x27951e=''){const _0x1b3265=_0x45df34;return this[_0x1b3265(0x196)][_0x1b3265(0x21e)](u,this,_0x3f530f,_0x27951e,this['_injector']);}[_0x45df34(0x1b2)](_0x1183e5,_0x448600,_0x507ee6){const _0x2feccd=_0x45df34;var _0x2e0506;let _0x599ae3=(0x0,e[_0x2feccd(0x1c5)])(_0x1183e5,_0x448600);if(!_0x599ae3)return!0x1;let _0x42b737=(_0x2e0506=_0x1183e5[_0x2feccd(0x177)])==null?void 0x0:_0x2e0506[_0x2feccd(0x186)];return _0x42b737?_0x42b737[_0x2feccd(0x1cd)](_0x599ae3[_0x2feccd(0x1e8)],_0x599ae3['endOffset'])[_0x2feccd(0x17a)](_0x507ee6):!0x1;}['_rowContainsText'](_0x52b009,_0x42f21c,_0x1b717e){const _0x29b170=_0x45df34;return Array[_0x29b170(0x20a)]({'length':_0x52b009[_0x29b170(0x1b5)]()},(_0x5f45b9,_0x1787aa)=>_0x52b009['getCellText'](_0x42f21c,_0x1787aa))[_0x29b170(0x173)](_0x44dfbc=>_0x44dfbc[_0x29b170(0x17a)](_0x1b717e));}};r[_0x45df34(0x201)]['extend'](d),exports[_0x45df34(0x1d0)]=u,exports[_0x45df34(0x1a9)]=a;
|
|
1
|
+
const _0xa0eaaa=_0x45e2;(function(_0x27fb92,_0x3b926a){const _0x5e076d=_0x45e2,_0x4127d9=_0x27fb92();while(!![]){try{const _0x7443fb=-parseInt(_0x5e076d(0xfb))/0x1+parseInt(_0x5e076d(0xaf))/0x2+parseInt(_0x5e076d(0x13d))/0x3+-parseInt(_0x5e076d(0x99))/0x4+-parseInt(_0x5e076d(0x12a))/0x5*(parseInt(_0x5e076d(0x146))/0x6)+-parseInt(_0x5e076d(0xa9))/0x7+parseInt(_0x5e076d(0xa6))/0x8;if(_0x7443fb===_0x3b926a)break;else _0x4127d9['push'](_0x4127d9['shift']());}catch(_0x54926d){_0x4127d9['push'](_0x4127d9['shift']());}}}(_0x5dad,0x53db8),Object[_0xa0eaaa(0xd3)](exports,Symbol['toStringTag'],{'value':_0xa0eaaa(0x13f)}));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[_0xa0eaaa(0xe8)]{get[_0xa0eaaa(0xc1)](){const _0x42341f=_0xa0eaaa;return e[_0x42341f(0xc1)];}get[_0xa0eaaa(0x154)](){const _0x21e6c7=_0xa0eaaa;return e[_0x21e6c7(0x154)];}get['DocsTableSelectionKind'](){const _0x5232fd=_0xa0eaaa;return e[_0x5232fd(0x138)];}get[_0xa0eaaa(0x144)](){return e['DocsTableRowInsertPosition'];}get[_0xa0eaaa(0xf3)](){return e['DocsTableColumnInsertPosition'];}get[_0xa0eaaa(0x117)](){const _0x3393f0=_0xa0eaaa;return e[_0x3393f0(0x117)];}get[_0xa0eaaa(0x121)](){const _0x245dfa=_0xa0eaaa;return e[_0x245dfa(0x121)];}get['DashStyleType'](){return t['DashStyleType'];}};n['FEnum']['extend'](i);var a=class{constructor(_0x4fed39,_0x4cbcdd,_0x497094){const _0x33aefb=_0xa0eaaa;this[_0x33aefb(0x88)]=_0x4fed39,this[_0x33aefb(0x10a)]=_0x4cbcdd,this['_column']=_0x497094;}[_0xa0eaaa(0x96)](){return this['_table'];}[_0xa0eaaa(0x151)](){const _0x319b09=_0xa0eaaa;return this[_0x319b09(0x10a)];}[_0xa0eaaa(0x10b)](){const _0x2be59b=_0xa0eaaa;return this[_0x2be59b(0xac)];}[_0xa0eaaa(0xb0)](){const _0x433b9d=_0xa0eaaa;return this[_0x433b9d(0x88)]['getCellText'](this[_0x433b9d(0x10a)],this[_0x433b9d(0xac)]);}[_0xa0eaaa(0x136)](){const _0x165f3d=_0xa0eaaa;return this[_0x165f3d(0x88)]['getCellContentRange'](this[_0x165f3d(0x10a)],this['_column']);}[_0xa0eaaa(0x120)](){const _0x313491=_0xa0eaaa;return this[_0x313491(0x88)][_0x313491(0x8d)](this[_0x313491(0x10a)],this[_0x313491(0xac)]);}['getMargin'](){const _0x368fb6=_0xa0eaaa;return this['_table'][_0x368fb6(0x94)](this[_0x368fb6(0x10a)],this[_0x368fb6(0xac)]);}[_0xa0eaaa(0x10c)](){const _0x3f23be=_0xa0eaaa;return this[_0x3f23be(0x88)]['getCellMarginOverride'](this['_row'],this[_0x3f23be(0xac)]);}[_0xa0eaaa(0xe7)](_0x543fa0){const _0x2f6dbe=_0xa0eaaa;return this[_0x2f6dbe(0x88)][_0x2f6dbe(0x90)](this[_0x2f6dbe(0x88)][_0x2f6dbe(0x156)](this[_0x2f6dbe(0x10a)],this[_0x2f6dbe(0xac)]),_0x543fa0);}['clearMarginOverride'](){const _0x213e38=_0xa0eaaa;return this[_0x213e38(0x88)][_0x213e38(0x90)](this[_0x213e38(0x88)][_0x213e38(0x156)](this[_0x213e38(0x10a)],this[_0x213e38(0xac)]),null);}[_0xa0eaaa(0xad)](_0x30ce5f){const _0x3c4e21=_0xa0eaaa;return this[_0x3c4e21(0x88)][_0x3c4e21(0xd2)](this[_0x3c4e21(0x10a)],this[_0x3c4e21(0xac)],_0x30ce5f);}['setBackgroundColor'](_0x307c8b){const _0x5a3060=_0xa0eaaa;return this['_table'][_0x5a3060(0xf8)](this[_0x5a3060(0x88)][_0x5a3060(0x156)](this['_row'],this[_0x5a3060(0xac)]),_0x307c8b);}[_0xa0eaaa(0xd8)](_0xc22fb7){const _0x512970=_0xa0eaaa;return this['_table'][_0x512970(0xd8)](this['_table']['getCellRange'](this[_0x512970(0x10a)],this[_0x512970(0xac)]),_0xc22fb7);}['mergeTo'](_0x3a060e,_0x43f0ae){const _0x43051c=_0xa0eaaa;return this[_0x43051c(0x88)][_0x43051c(0x124)]({'startRow':this['_row'],'startColumn':this[_0x43051c(0xac)],'endRow':this[_0x43051c(0x10a)]+_0x3a060e-0x1,'endColumn':this[_0x43051c(0xac)]+_0x43f0ae-0x1});}[_0xa0eaaa(0x111)](){const _0xb4ce21=_0xa0eaaa;return this[_0xb4ce21(0x88)][_0xb4ce21(0x9f)](this['_table'][_0xb4ce21(0x156)](this[_0xb4ce21(0x10a)],this[_0xb4ce21(0xac)]));}};function o(_0x54d98f){'@babel/helpers - typeof';const _0x275bf6=_0xa0eaaa;return o=typeof Symbol=='function'&&typeof Symbol[_0x275bf6(0x11d)]==_0x275bf6(0x8b)?function(_0x5b4842){return typeof _0x5b4842;}:function(_0x112e82){const _0x44faae=_0x275bf6;return _0x112e82&&typeof Symbol==_0x44faae(0xdd)&&_0x112e82[_0x44faae(0xca)]===Symbol&&_0x112e82!==Symbol[_0x44faae(0xda)]?'symbol':typeof _0x112e82;},o(_0x54d98f);}function s(_0x4b06c3,_0x6261bd){const _0x10b5ac=_0xa0eaaa;if(o(_0x4b06c3)!=_0x10b5ac(0xc5)||!_0x4b06c3)return _0x4b06c3;var _0x1c0e34=_0x4b06c3[Symbol[_0x10b5ac(0x9d)]];if(_0x1c0e34!==void 0x0){var _0x5ecf78=_0x1c0e34[_0x10b5ac(0xc7)](_0x4b06c3,_0x6261bd||_0x10b5ac(0xa4));if(o(_0x5ecf78)!=_0x10b5ac(0xc5))return _0x5ecf78;throw TypeError(_0x10b5ac(0xd7));}return(_0x6261bd==='string'?String:Number)(_0x4b06c3);}function c(_0x2936a7){const _0x34e17a=_0xa0eaaa;var _0x5dbdb9=s(_0x2936a7,_0x34e17a(0xc6));return o(_0x5dbdb9)==_0x34e17a(0x8b)?_0x5dbdb9:_0x5dbdb9+'';}function _0x45e2(_0xb92d1b,_0x414d84){_0xb92d1b=_0xb92d1b-0x84;const _0x5dad9c=_0x5dad();let _0x45e2f9=_0x5dad9c[_0xb92d1b];return _0x45e2f9;}function l(_0x346482,_0x554332,_0x387b07){const _0xb2c5d4=_0xa0eaaa;return(_0x554332=c(_0x554332))in _0x346482?Object[_0xb2c5d4(0xd3)](_0x346482,_0x554332,{'value':_0x387b07,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x346482[_0x554332]=_0x387b07,_0x346482;}function u(_0x268196,_0x133c53){return function(_0xb836b3,_0x180088){_0x133c53(_0xb836b3,_0x180088,_0x268196);};}function d(_0x12c4c2,_0x3fe4d0,_0x5e3b00,_0x5bb216){const _0x1c6e5d=_0xa0eaaa;var _0x11906d=arguments[_0x1c6e5d(0x129)],_0x180544=_0x11906d<0x3?_0x3fe4d0:_0x5bb216===null?_0x5bb216=Object[_0x1c6e5d(0xec)](_0x3fe4d0,_0x5e3b00):_0x5bb216,_0x188b4;if(typeof Reflect==_0x1c6e5d(0xc5)&&typeof Reflect[_0x1c6e5d(0x137)]=='function')_0x180544=Reflect[_0x1c6e5d(0x137)](_0x12c4c2,_0x3fe4d0,_0x5e3b00,_0x5bb216);else{for(var _0x49a4fa=_0x12c4c2[_0x1c6e5d(0x129)]-0x1;_0x49a4fa>=0x0;_0x49a4fa--)(_0x188b4=_0x12c4c2[_0x49a4fa])&&(_0x180544=(_0x11906d<0x3?_0x188b4(_0x180544):_0x11906d>0x3?_0x188b4(_0x3fe4d0,_0x5e3b00,_0x180544):_0x188b4(_0x3fe4d0,_0x5e3b00))||_0x180544);}return _0x11906d>0x3&&_0x180544&&Object[_0x1c6e5d(0xd3)](_0x3fe4d0,_0x5e3b00,_0x180544),_0x180544;}let f=class{constructor(_0x5916a9,_0x1aacaf,_0x8f418b,_0x271eca,_0xb69ce3){const _0x4a68e4=_0xa0eaaa;this['_document']=_0x5916a9,this[_0x4a68e4(0x152)]=_0x1aacaf,this[_0x4a68e4(0x131)]=_0x8f418b,this[_0x4a68e4(0x128)]=_0x271eca,this['_injector']=_0xb69ce3,l(this,_0x4a68e4(0xbc),void 0x0),this[_0x4a68e4(0xbc)]=this[_0x4a68e4(0x130)]['getId']();}[_0xa0eaaa(0x101)](){return this['_tableId'];}['getSegmentId'](){const _0x424b48=_0xa0eaaa;return this[_0x424b48(0x131)];}['getInfo'](){const _0x45728e=_0xa0eaaa;return{'id':this['_tableId'],'rowCount':this[_0x45728e(0xc8)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x45728e(0xa7)](),'source':this['getSource']()};}[_0xa0eaaa(0x92)](){const _0x435df9=_0xa0eaaa;let _0x1acde1=this[_0x435df9(0xa7)](),_0x4daa6a=this[_0x435df9(0xcc)](),_0x481901=this['getColumnCount']();return{'id':this[_0x435df9(0x152)],'rowCount':this[_0x435df9(0xc8)](),'columnCount':_0x481901,'headerRowCount':(_0x1acde1==null?void 0x0:_0x1acde1[_0x435df9(0x11e)])??0x0,'titleRow':(_0x1acde1==null?void 0x0:_0x1acde1[_0x435df9(0xa3)])??!0x1,'columns':Array[_0x435df9(0x14c)]({'length':_0x481901},(_0x4a7fe9,_0x9503d3)=>{const _0xb977f4=_0x435df9;var _0x58e56b,_0x36720b;return{'index':_0x9503d3,'type':_0x1acde1==null||(_0x58e56b=_0x1acde1[_0xb977f4(0x105)])==null||(_0x58e56b=_0x58e56b[_0x9503d3])==null?void 0x0:_0x58e56b[_0xb977f4(0x108)],'width':_0x4daa6a==null||(_0x36720b=_0x4daa6a['tableColumns'][_0x9503d3])==null?void 0x0:_0x36720b[_0xb977f4(0x8e)]['width']['v']};}),'sampleRows':Array[_0x435df9(0x14c)]({'length':this[_0x435df9(0xc8)]()},(_0x4b8745,_0x47b961)=>Array['from']({'length':_0x481901},(_0x5bba1a,_0x2bc8ee)=>this['getCellText'](_0x47b961,_0x2bc8ee)))['filter'](_0xb757fb=>_0xb757fb[_0x435df9(0x12b)](_0x3bffb2=>_0x3bffb2['length']>0x0))[_0x435df9(0xba)](0x0,0x5)};}['getRowCount'](){const _0x54ec3c=_0xa0eaaa;var _0x420acb;return((_0x420acb=this[_0x54ec3c(0xcc)]())==null?void 0x0:_0x420acb[_0x54ec3c(0xbd)]['length'])??0x0;}[_0xa0eaaa(0x8c)](){const _0x1b1321=_0xa0eaaa;var _0x345cf1;return((_0x345cf1=this[_0x1b1321(0xcc)]())==null?void 0x0:_0x345cf1[_0x1b1321(0x134)][_0x1b1321(0x129)])??0x0;}[_0xa0eaaa(0x102)](_0x4b612c,_0x47a946){const _0x371184=_0xa0eaaa;var _0x5c9edc;return(_0x5c9edc=this[_0x371184(0xcc)]())!=null&&(_0x5c9edc=_0x5c9edc[_0x371184(0xbd)][_0x4b612c])!=null&&_0x5c9edc[_0x371184(0x9c)][_0x47a946]?this[_0x371184(0xc3)][_0x371184(0x113)](a,this,_0x4b612c,_0x47a946):null;}['getCellText'](_0x240dc0,_0xcdbd94){const _0x1aea9f=_0xa0eaaa;var _0x34fe6b,_0x4d788f;let _0xd7f97f=(_0x34fe6b=(0x0,e[_0x1aea9f(0xd4)])(this['_getDocumentData'](),this[_0x1aea9f(0x152)]))==null||(_0x34fe6b=_0x34fe6b[_0x1aea9f(0xb9)][_0x240dc0])==null?void 0x0:_0x34fe6b[_0x1aea9f(0xdf)][_0xcdbd94];return _0xd7f97f?((_0x4d788f=this[_0x1aea9f(0xc4)]()[_0x1aea9f(0x15a)])==null?void 0x0:_0x4d788f['dataStream']['slice'](_0xd7f97f[_0x1aea9f(0xf2)]+0x1,_0xd7f97f[_0x1aea9f(0xd1)])[_0x1aea9f(0xc9)](/\r\n$/,''))??'':'';}[_0xa0eaaa(0x94)](_0x49bf64,_0x3ffa25){const _0x4d691d=_0xa0eaaa;var _0x23be3d;let _0x350b61=this[_0x4d691d(0xcc)](),_0x20ef7d=_0x350b61==null||(_0x23be3d=_0x350b61['tableRows'][_0x49bf64])==null?void 0x0:_0x23be3d['tableCells'][_0x3ffa25];return _0x20ef7d?t[_0x4d691d(0x103)]['deepClone'](_0x20ef7d[_0x4d691d(0xa5)]??_0x350b61[_0x4d691d(0xa1)]??e[_0x4d691d(0x125)]):null;}[_0xa0eaaa(0x159)](_0x58cb5b,_0xfd0fe9){const _0x2457e5=_0xa0eaaa;var _0x331f39;let _0x41b8cc=(_0x331f39=this[_0x2457e5(0xcc)]())==null||(_0x331f39=_0x331f39[_0x2457e5(0xbd)][_0x58cb5b])==null?void 0x0:_0x331f39[_0x2457e5(0x9c)][_0xfd0fe9];return _0x41b8cc!=null&&_0x41b8cc[_0x2457e5(0xa5)]?t[_0x2457e5(0x103)][_0x2457e5(0x115)](_0x41b8cc['margin']):null;}[_0xa0eaaa(0x155)](){const _0x397cb1=_0xa0eaaa;var _0x57a7ef;return t[_0x397cb1(0x103)][_0x397cb1(0x115)](((_0x57a7ef=this['getSource']())==null?void 0x0:_0x57a7ef[_0x397cb1(0xa1)])??e[_0x397cb1(0x125)]);}[_0xa0eaaa(0x106)](){const _0x326135=_0xa0eaaa;var _0x5c8d6d;let _0x2533ad=(_0x5c8d6d=this[_0x326135(0xcc)]())==null?void 0x0:_0x5c8d6d[_0x326135(0xa1)];return _0x2533ad?t['Tools'][_0x326135(0x115)](_0x2533ad):null;}['getMetadata'](){const _0x28a836=_0xa0eaaa;return this[_0x28a836(0xc3)][_0x28a836(0xf1)](e[_0x28a836(0x98)])[_0x28a836(0x142)](this[_0x28a836(0xbc)],this[_0x28a836(0x152)]);}[_0xa0eaaa(0xcc)](){const _0x581325=_0xa0eaaa;var _0x3550f3;return(_0x3550f3=this[_0x581325(0xc4)]()['tableSource'])==null?void 0x0:_0x3550f3[this[_0x581325(0x152)]];}[_0xa0eaaa(0xe1)](){const _0x340e16=_0xa0eaaa;return(0x0,e[_0x340e16(0xd4)])(this[_0x340e16(0xc4)](),this[_0x340e16(0x152)]);}[_0xa0eaaa(0xd0)](){const _0x1dc9cc=_0xa0eaaa;return{'startRow':0x0,'endRow':Math[_0x1dc9cc(0xe0)](0x0,this[_0x1dc9cc(0xc8)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x1dc9cc(0xe0)](0x0,this[_0x1dc9cc(0x8c)]()-0x1)};}[_0xa0eaaa(0x156)](_0x3686f3,_0x1a5799){return{'startRow':_0x3686f3,'endRow':_0x3686f3,'startColumn':_0x1a5799,'endColumn':_0x1a5799};}[_0xa0eaaa(0x12e)](_0x4c9ec3,_0x5f4bfd){const _0x1c9e2e=_0xa0eaaa;var _0xfa33d6;let _0x208410=(_0xfa33d6=(0x0,e[_0x1c9e2e(0xd4)])(this['_getDocumentData'](),this[_0x1c9e2e(0x152)]))==null||(_0xfa33d6=_0xfa33d6[_0x1c9e2e(0xb9)][_0x4c9ec3])==null?void 0x0:_0xfa33d6[_0x1c9e2e(0xdf)][_0x5f4bfd];if(!_0x208410)return null;let _0x597079=_0x208410['startOffset']+0x1;return{'startOffset':_0x597079,'endOffset':Math[_0x1c9e2e(0xe0)](_0x597079,_0x208410[_0x1c9e2e(0xd1)]-0x1),'segmentId':this['_segmentId']};}[_0xa0eaaa(0x8d)](_0x351a4c,_0x463843){const _0x33c611=_0xa0eaaa;let _0x4787e5=this['getCellContentRange'](_0x351a4c,_0x463843);return _0x4787e5?Math[_0x33c611(0xe0)](_0x4787e5['startOffset'],_0x4787e5[_0x33c611(0xd1)]-0x1):null;}[_0xa0eaaa(0x93)](_0x46e1a2){const _0x496aca=_0xa0eaaa;return this[_0x496aca(0xb7)](_0x46e1a2,0x1);}[_0xa0eaaa(0xb7)](_0xc9571d,_0x2757b3=0x1){const _0x186cef=_0xa0eaaa;return{'startRow':_0xc9571d,'endRow':_0xc9571d+_0x2757b3-0x1,'startColumn':0x0,'endColumn':Math[_0x186cef(0xe0)](0x0,this['getColumnCount']()-0x1)};}[_0xa0eaaa(0xe2)](_0x3ea747){const _0x43abdd=_0xa0eaaa;return this[_0x43abdd(0x126)](_0x3ea747,0x1);}[_0xa0eaaa(0x126)](_0x1d1c87,_0x56f21f=0x1){const _0x163632=_0xa0eaaa;return{'startRow':0x0,'endRow':Math[_0x163632(0xe0)](0x0,this['getRowCount']()-0x1),'startColumn':_0x1d1c87,'endColumn':_0x1d1c87+_0x56f21f-0x1};}[_0xa0eaaa(0xe6)](){const _0x3deec8=_0xa0eaaa;return this[_0x3deec8(0xbf)](this['getTableRange'](),e[_0x3deec8(0x138)][_0x3deec8(0xb2)]);}[_0xa0eaaa(0xe3)](_0x535ba8){const _0x426432=_0xa0eaaa;return this[_0x426432(0xc2)](_0x535ba8,0x1);}[_0xa0eaaa(0xc2)](_0x42a5b0,_0x340f53=0x1){const _0x40fa4a=_0xa0eaaa;return this[_0x40fa4a(0xbf)](this[_0x40fa4a(0xb7)](_0x42a5b0,_0x340f53),e[_0x40fa4a(0x138)][_0x40fa4a(0x149)]);}['selectColumn'](_0x5e4b4d){const _0x4987be=_0xa0eaaa;return this[_0x4987be(0xf6)](_0x5e4b4d,0x1);}[_0xa0eaaa(0xf6)](_0xe90f3,_0x510500=0x1){const _0x5948bb=_0xa0eaaa;return this[_0x5948bb(0xbf)](this['getColumnsRange'](_0xe90f3,_0x510500),e[_0x5948bb(0x138)][_0x5948bb(0x135)]);}[_0xa0eaaa(0xaa)](_0x427fc,_0x1a8add){const _0xf44247=_0xa0eaaa;return this[_0xf44247(0xbf)](this['getCellRange'](_0x427fc,_0x1a8add),e[_0xf44247(0x138)][_0xf44247(0xd9)]);}['selectRange'](_0x57bb67,_0x20627f=e[_0xa0eaaa(0x138)][_0xa0eaaa(0x116)]){const _0xbbbb1b=_0xa0eaaa;return this['_injector'][_0xbbbb1b(0xf1)](e[_0xbbbb1b(0x9a)])[_0xbbbb1b(0x123)]({..._0x57bb67,'kind':_0x20627f,'segmentId':this[_0xbbbb1b(0x131)],'tableId':this[_0xbbbb1b(0x152)]}),!0x0;}[_0xa0eaaa(0xbe)](_0x2cba7a){const _0x64e305=_0xa0eaaa;return this[_0x64e305(0x118)](_0x2cba7a,0x1);}[_0xa0eaaa(0x14a)](_0x5c458b){const _0x551ea8=_0xa0eaaa;return this[_0x551ea8(0x10d)](_0x5c458b,0x1);}['insertRowsBefore'](_0x563589,_0x128ba4){const _0x2f8af2=_0xa0eaaa;let _0x6a783f=this['_getDocumentData'](),_0x4591bc=(0x0,e[_0x2f8af2(0x110)])(_0x6a783f,this[_0x2f8af2(0x152)],_0x563589,_0x128ba4,e[_0x2f8af2(0xae)][_0x2f8af2(0x85)],this['_getBodyPath']());return _0x4591bc?this[_0x2f8af2(0x14f)](_0x6a783f,_0x4591bc[_0x2f8af2(0x9b)]):!0x1;}[_0xa0eaaa(0x10d)](_0x12abd5,_0x2d704a){const _0x3d1179=_0xa0eaaa;let _0x576a46=this[_0x3d1179(0xc4)](),_0x58c251=(0x0,e[_0x3d1179(0x110)])(_0x576a46,this[_0x3d1179(0x152)],_0x12abd5,_0x2d704a,e['DocsTableInsertPosition'][_0x3d1179(0xdc)],this[_0x3d1179(0xde)]());return _0x58c251?this['_mutateActions'](_0x576a46,_0x58c251[_0x3d1179(0x9b)]):!0x1;}[_0xa0eaaa(0x127)](){const _0x372ea8=_0xa0eaaa;return this[_0x372ea8(0x10d)](Math['max'](0x0,this['getRowCount']()-0x1),0x1);}[_0xa0eaaa(0xb8)](_0x42c535){const _0xf38cda=_0xa0eaaa;return this[_0xf38cda(0x100)](_0x42c535,0x1);}[_0xa0eaaa(0x13c)](_0x262b3f){return this['insertColumnsAfter'](_0x262b3f,0x1);}[_0xa0eaaa(0x100)](_0x122ccc,_0x4064b3){const _0x3e6fdb=_0xa0eaaa;let _0x3b101a=this[_0x3e6fdb(0xc4)](),_0x6ebe46=(0x0,e[_0x3e6fdb(0xd5)])(_0x3b101a,this['_tableId'],_0x122ccc,_0x4064b3,e[_0x3e6fdb(0xae)][_0x3e6fdb(0x114)],{'bodyPath':this[_0x3e6fdb(0xde)]()});return _0x6ebe46?this[_0x3e6fdb(0x14f)](_0x3b101a,_0x6ebe46[_0x3e6fdb(0x9b)]):!0x1;}['insertColumnsAfter'](_0x36b2a6,_0x58bed7){const _0x5a5925=_0xa0eaaa;let _0x51f1cc=this[_0x5a5925(0xc4)](),_0x13946f=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x51f1cc,this['_tableId'],_0x36b2a6,_0x58bed7,e['DocsTableInsertPosition'][_0x5a5925(0x8f)],{'bodyPath':this[_0x5a5925(0xde)]()});return _0x13946f?this[_0x5a5925(0x14f)](_0x51f1cc,_0x13946f[_0x5a5925(0x9b)]):!0x1;}[_0xa0eaaa(0xb4)](){const _0x54095b=_0xa0eaaa;return this[_0x54095b(0xb1)](Math[_0x54095b(0xe0)](0x0,this[_0x54095b(0x8c)]()-0x1),0x1);}[_0xa0eaaa(0xf5)](_0x4eaa89){const _0x53d6b2=_0xa0eaaa;return this[_0x53d6b2(0x139)](_0x4eaa89,0x1);}['deleteRows'](_0xbc43c4,_0xcb221e=0x1){const _0x56edab=_0xa0eaaa;return!!this['_commandService'][_0x56edab(0x95)](e['DocsTableDeleteRowsCommand']['id'],{'endRow':_0xbc43c4+_0xcb221e-0x1,'segmentId':this[_0x56edab(0x131)],'startRow':_0xbc43c4,'tableId':this[_0x56edab(0x152)],'unitId':this['_unitId']});}['deleteColumn'](_0x4f0f03){const _0x59686f=_0xa0eaaa;return this[_0x59686f(0x112)](_0x4f0f03,0x1);}[_0xa0eaaa(0x112)](_0x2f639b,_0x3fe87e=0x1){const _0x2dad27=_0xa0eaaa;return!!this[_0x2dad27(0x128)][_0x2dad27(0x95)](e['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x2f639b+_0x3fe87e-0x1,'segmentId':this[_0x2dad27(0x131)],'startColumn':_0x2f639b,'tableId':this[_0x2dad27(0x152)],'unitId':this[_0x2dad27(0xbc)]});}[_0xa0eaaa(0x14d)](){const _0x22db60=_0xa0eaaa;return!!this[_0x22db60(0x128)]['syncExecuteCommand'](e[_0x22db60(0x10e)]['id'],{'segmentId':this[_0x22db60(0x131)],'tableId':this[_0x22db60(0x152)],'unitId':this[_0x22db60(0xbc)]});}[_0xa0eaaa(0x150)](_0x569731,_0x193d71){const _0x4c2bdf=_0xa0eaaa;let _0x45df2b=this['_getDocumentData']();return this[_0x4c2bdf(0x14f)](_0x45df2b,(0x0,e[_0x4c2bdf(0xa2)])(_0x45df2b,this[_0x4c2bdf(0x152)],_0x569731,_0x193d71));}['moveTableToOffset'](_0x2f214e){const _0x37c00e=_0xa0eaaa;let _0x283260=this[_0x37c00e(0xc4)]();return this[_0x37c00e(0x14f)](_0x283260,(0x0,e['buildMoveTableToOffsetMutationActions'])(_0x283260,this[_0x37c00e(0x152)],_0x2f214e,this[_0x37c00e(0xde)]()));}[_0xa0eaaa(0x8a)](_0x2667b5,_0x4d5c1c,_0x3d743a=e['DocsTableInsertPosition']['Above']){const _0x28b31c=_0xa0eaaa;return this[_0x28b31c(0x97)](_0x2667b5,0x1,_0x4d5c1c,_0x3d743a);}[_0xa0eaaa(0x97)](_0xa4e9bd,_0x222db0,_0x20c58b,_0x4ff584=e['DocsTableInsertPosition'][_0xa0eaaa(0x85)]){const _0x4bc46c=_0xa0eaaa;let _0x5e579e=this[_0x4bc46c(0xc4)](),_0x4a8259=(0x0,e[_0x4bc46c(0xa0)])(_0x5e579e,this[_0x4bc46c(0x152)],_0xa4e9bd,_0x20c58b,_0x222db0,_0x4ff584,this[_0x4bc46c(0xde)]());return _0x4a8259?this['_mutateActions'](_0x5e579e,_0x4a8259[_0x4bc46c(0x9b)]):!0x1;}[_0xa0eaaa(0xc0)](_0x135125,_0x590b58,_0x105e25=e[_0xa0eaaa(0xae)][_0xa0eaaa(0x114)]){const _0x4df477=_0xa0eaaa;return this[_0x4df477(0xfc)](_0x135125,0x1,_0x590b58,_0x105e25);}[_0xa0eaaa(0xfc)](_0x3b9349,_0x568bbc,_0x503021,_0x4dde78=e[_0xa0eaaa(0xae)][_0xa0eaaa(0x114)]){const _0x3cffa1=_0xa0eaaa;let _0x6682cb=this['_getDocumentData'](),_0xc60a8d=(0x0,e[_0x3cffa1(0xfe)])(_0x6682cb,this['_tableId'],_0x3b9349,_0x503021,_0x568bbc,_0x4dde78,this['_getBodyPath']());return _0xc60a8d?this['_mutateActions'](_0x6682cb,_0xc60a8d[_0x3cffa1(0x9b)]):!0x1;}[_0xa0eaaa(0x124)](_0x1cef03){const _0x4db419=_0xa0eaaa;try{let _0x33a6b4=this[_0x4db419(0xc4)](),_0x891203=(0x0,e[_0x4db419(0xef)])({'documentData':_0x33a6b4,'tableId':this[_0x4db419(0x152)],..._0x1cef03});return _0x891203?this[_0x4db419(0x14f)](_0x33a6b4,_0x891203['actions'],_0x1cef03):!0x1;}catch{return!0x1;}}[_0xa0eaaa(0x9f)](_0x4822f0){const _0x34366a=_0xa0eaaa;try{let _0x5601d1=this[_0x34366a(0xc4)](),_0x5bf4aa=(0x0,e[_0x34366a(0xce)])({'documentData':_0x5601d1,'tableId':this['_tableId'],..._0x4822f0});return _0x5bf4aa?this[_0x34366a(0x14f)](_0x5601d1,_0x5bf4aa['actions'],_0x4822f0):!0x1;}catch{return!0x1;}}['setCellText'](_0x4ebe1b,_0x2dd3f1,_0xd001cf){const _0x127c05=_0xa0eaaa;let _0x1e8499=this[_0x127c05(0xc4)](),_0x185fe8=(0x0,e[_0x127c05(0x12f)])(this[_0x127c05(0x130)]['getDocumentDataModel']()[_0x127c05(0x141)](),this[_0x127c05(0x131)]);return this[_0x127c05(0x14f)](_0x1e8499,(0x0,e['buildSetTableCellTextMutationActions'])({'documentData':_0x1e8499,'tableId':this[_0x127c05(0x152)],'row':_0x4ebe1b,'column':_0x2dd3f1,'text':_0xd001cf},_0x185fe8),this[_0x127c05(0x156)](_0x4ebe1b,_0x2dd3f1));}[_0xa0eaaa(0xf8)](_0x537e96,_0x193edc){const _0x22ae62=_0xa0eaaa;let _0x3589c6=this[_0x22ae62(0xc4)]();return this[_0x22ae62(0x14f)](_0x3589c6,(0x0,e['buildSetTableBackgroundMutationActions'])(_0x3589c6,{'tableId':this[_0x22ae62(0x152)],..._0x537e96,'value':_0x193edc}),_0x537e96);}['setCellMargin'](_0xcd4395,_0x5e7a1f){const _0x24e4b5=_0xa0eaaa;let _0x2a08f2=this[_0x24e4b5(0xc4)]();return this[_0x24e4b5(0x14f)](_0x2a08f2,(0x0,e['buildSetTableCellMarginMutationActions'])({'documentData':_0x2a08f2,'tableId':this[_0x24e4b5(0x152)],..._0xcd4395,'margin':_0x5e7a1f}),_0xcd4395);}['setDefaultCellMargin'](_0x253e38){const _0x5114d2=_0xa0eaaa;let _0x2b6f75=this[_0x5114d2(0xc4)]();return this[_0x5114d2(0x14f)](_0x2b6f75,(0x0,e['buildSetTableDefaultCellMarginMutationActions'])(_0x2b6f75,this[_0x5114d2(0x152)],_0x253e38));}[_0xa0eaaa(0xd8)](_0x44627c,_0x2c1ab1){const _0x1faa69=_0xa0eaaa;let _0x2abbf5=this['_getDocumentData']();return this[_0x1faa69(0x14f)](_0x2abbf5,(0x0,e[_0x1faa69(0x9e)])({'documentData':_0x2abbf5,'tableId':this[_0x1faa69(0x152)],..._0x44627c,'preset':_0x2c1ab1[_0x1faa69(0xea)]??e[_0x1faa69(0x117)][_0x1faa69(0x143)],'border':_0x2c1ab1[_0x1faa69(0x14e)]??{'color':{'rgb':_0x2c1ab1[_0x1faa69(0xee)]??'#1f1f1f'},'width':{'v':_0x2c1ab1[_0x1faa69(0x147)]??0x1},'dashStyle':t[_0x1faa69(0x10f)][_0x1faa69(0x13e)]}}),_0x44627c);}['setTableBackground'](_0x3a8ba1){const _0x57f81c=_0xa0eaaa;return this[_0x57f81c(0xf8)](this[_0x57f81c(0xd0)](),_0x3a8ba1);}['setTableBorder'](_0x40134d){const _0x5827de=_0xa0eaaa;return this[_0x5827de(0xd8)](this[_0x5827de(0xd0)](),_0x40134d);}['setTableStyle'](_0x5182a2){const _0x5e9a58=_0xa0eaaa;let _0x3d2f63=!_0x5182a2[_0x5e9a58(0x133)]||this[_0x5e9a58(0x15b)](_0x5182a2[_0x5e9a58(0x133)]),_0x1275f2=!_0x5182a2[_0x5e9a58(0x14e)]||this[_0x5e9a58(0x158)](_0x5182a2[_0x5e9a58(0x14e)]);return _0x3d2f63&&_0x1275f2;}[_0xa0eaaa(0xcb)](_0x51dfe3,_0x1d7c96,_0x136620=t[_0xa0eaaa(0xeb)][_0xa0eaaa(0xe9)]){const _0x33178b=_0xa0eaaa;var _0x1b3f35;let _0x47d2d6=this['_getDocumentData']();return(_0x1b3f35=_0x47d2d6[_0x33178b(0xf9)])!=null&&(_0x1b3f35=_0x1b3f35[this[_0x33178b(0x152)]])!=null&&_0x1b3f35[_0x33178b(0xbd)][_0x51dfe3]?this[_0x33178b(0x14f)](_0x47d2d6,(0x0,e[_0x33178b(0x14b)])(_0x47d2d6,this['_tableId'],_0x51dfe3,_0x1d7c96,_0x136620)):!0x1;}[_0xa0eaaa(0x12c)](_0x563f86){const _0x56c9fa=_0xa0eaaa;var _0x2518cf;let _0x4534e5=(_0x2518cf=this[_0x56c9fa(0xcc)]())==null||(_0x2518cf=_0x2518cf[_0x56c9fa(0xbd)][_0x563f86])==null?void 0x0:_0x2518cf[_0x56c9fa(0x11a)];return _0x4534e5?t[_0x56c9fa(0x103)][_0x56c9fa(0x115)](_0x4534e5):null;}[_0xa0eaaa(0xfa)](_0x416429,_0x3ba5bd){const _0x11bcff=_0xa0eaaa;var _0x53d933;let _0x110cfe=this['_getDocumentData']();return(_0x53d933=_0x110cfe[_0x11bcff(0xf9)])!=null&&(_0x53d933=_0x53d933[this[_0x11bcff(0x152)]])!=null&&_0x53d933['tableColumns'][_0x416429]?this['_mutateActions'](_0x110cfe,(0x0,e['buildResizeTableColumnActionsFromWidth'])(_0x110cfe,this['_tableId'],_0x416429,_0x3ba5bd)):!0x1;}['distributeRows'](_0x5a8387=0x0,_0x48faf5=this['getRowCount']()){const _0x43d04e=_0xa0eaaa;let _0x571c07=this[_0x43d04e(0xc4)]();return this[_0x43d04e(0x14f)](_0x571c07,(0x0,e[_0x43d04e(0x140)])(_0x571c07,this[_0x43d04e(0x152)],_0x5a8387,_0x5a8387+_0x48faf5-0x1));}['distributeColumns'](_0x1ebe05=0x0,_0x3c941b=this[_0xa0eaaa(0x8c)]()){const _0x2ed2a0=_0xa0eaaa;let _0x52e32b=this[_0x2ed2a0(0xc4)]();return this['_mutateActions'](_0x52e32b,(0x0,e[_0x2ed2a0(0x153)])(_0x52e32b,this[_0x2ed2a0(0x152)],_0x1ebe05,_0x1ebe05+_0x3c941b-0x1));}[_0xa0eaaa(0xa8)](){const _0x3a2ec3=_0xa0eaaa;var _0x37cc86;return((_0x37cc86=this[_0x3a2ec3(0xa7)]())==null?void 0x0:_0x37cc86[_0x3a2ec3(0x11e)])??0x0;}[_0xa0eaaa(0x13b)](_0x1a6f92){const _0x58dd4f=_0xa0eaaa;let _0x11a698=this['_injector']['get'](e['DocsTableModel']),_0x3098d0=this[_0x58dd4f(0xc4)](),_0x57d9a1=(0x0,e[_0x58dd4f(0x11b)])(_0x3098d0,this[_0x58dd4f(0x152)],_0x1a6f92);if(!_0x57d9a1)return!0x1;let _0x19d53b=this['_mutateActions'](_0x3098d0,_0x57d9a1[_0x58dd4f(0x9b)]);return _0x19d53b&&_0x11a698['setHeaderRowCount'](this[_0x58dd4f(0xbc)],this['_tableId'],_0x57d9a1[_0x58dd4f(0x11e)]),_0x19d53b;}[_0xa0eaaa(0xf4)](_0x4a8068){const _0x314959=_0xa0eaaa;return this[_0x314959(0x13b)](_0x4a8068);}['hasTitleRow'](){const _0x39a9ca=_0xa0eaaa;var _0x3a73c4;return((_0x3a73c4=this[_0x39a9ca(0xa7)]())==null?void 0x0:_0x3a73c4[_0x39a9ca(0xa3)])??!0x1;}[_0xa0eaaa(0x11f)](){const _0x30c14e=_0xa0eaaa;let _0xaa5908=this[_0x30c14e(0xc3)][_0x30c14e(0xf1)](e['DocsTableModel']),_0xc14457=this[_0x30c14e(0xc4)](),_0x1f26ff=(0x0,e['buildInsertTableTitleRowMutationActions'])(_0xc14457,this[_0x30c14e(0x152)],this['_getBodyPath']());if(!_0x1f26ff)return!0x1;let _0xd69bcf=this[_0x30c14e(0x14f)](_0xc14457,_0x1f26ff['actions']);return _0xd69bcf&&_0xaa5908['setTitleRow'](this[_0x30c14e(0xbc)],this[_0x30c14e(0x152)],!0x0),_0xd69bcf;}['setColumnType'](_0x537ce3,_0x17c924){const _0x81e17=_0xa0eaaa;return this[_0x81e17(0xc3)][_0x81e17(0xf1)](e['DocsTableModel'])['setColumnType'](this[_0x81e17(0xbc)],this[_0x81e17(0x152)],_0x537ce3,_0x17c924),!0x0;}[_0xa0eaaa(0xcd)](_0x2e147f,_0x24da25){const _0x5d2781=_0xa0eaaa;let _0x1a3373=this['_getDocumentData']();return this['_mutateActions'](_0x1a3373,(0x0,e['buildSortTableMutationActions'])(_0x1a3373,this['_serializeModel'](),this['_tableId'],_0x2e147f,_0x24da25,this[_0x5d2781(0xde)]()));}[_0xa0eaaa(0xc4)](){const _0x36c4e4=_0xa0eaaa;let _0x2d5953=this['_document'][_0x36c4e4(0x12d)]()[_0x36c4e4(0x141)]();return this[_0x36c4e4(0x131)]?{...this['_document'][_0x36c4e4(0x12d)](this[_0x36c4e4(0x131)])[_0x36c4e4(0x141)](),'documentStyle':_0x2d5953[_0x36c4e4(0xf0)],'tableSource':_0x2d5953['tableSource']}:_0x2d5953;}[_0xa0eaaa(0xb5)](){const _0x412817=_0xa0eaaa;return this[_0x412817(0xc3)][_0x412817(0xf1)](e[_0x412817(0x98)])['serialize'](this[_0x412817(0xbc)]);}[_0xa0eaaa(0xde)](){const _0x3dabeb=_0xa0eaaa;return(0x0,e[_0x3dabeb(0x12f)])(this['_document'][_0x3dabeb(0x12d)]()[_0x3dabeb(0x141)](),this[_0x3dabeb(0x131)]);}[_0xa0eaaa(0x14f)](_0x4a92fc,_0x138501,_0x50571c){const _0xf2c89f=_0xa0eaaa;return(0x0,e[_0xf2c89f(0x109)])(this['_commandService'],this[_0xf2c89f(0xbc)],_0x4a92fc,_0x138501,_0x50571c?{'tableId':this[_0xf2c89f(0x152)],'segmentId':this['_segmentId'],..._0x50571c}:void 0x0);}};f=d([u(0x3,t[_0xa0eaaa(0x122)]),u(0x4,(0x0,t[_0xa0eaaa(0xbb)])(t['Injector']))],f);var p=class extends r[_0xa0eaaa(0x84)]{[_0xa0eaaa(0xb3)](_0x25facd=''){const _0x5ef4c6=_0xa0eaaa;return this['_getTables'](_0x25facd)[_0x5ef4c6(0xdb)](_0x27cab5=>this[_0x5ef4c6(0x91)](_0x27cab5[_0x5ef4c6(0x89)],_0x25facd));}['getTable'](_0x2b1646,_0x14a975=''){const _0x481cab=_0xa0eaaa;return this[_0x481cab(0xf7)](_0x14a975)[_0x481cab(0x12b)](_0x50a275=>_0x50a275[_0x481cab(0x89)]===_0x2b1646)?this[_0x481cab(0x91)](_0x2b1646,_0x14a975):null;}[_0xa0eaaa(0x119)](_0x3c6784,_0xf8e2cd=''){const _0x5df01f=_0xa0eaaa;var _0x5805ad;let _0x31205c=(_0x5805ad=this['_getTables'](_0xf8e2cd)[_0x3c6784])==null?void 0x0:_0x5805ad['tableId'];return _0x31205c?this[_0x5df01f(0x91)](_0x31205c,_0xf8e2cd):null;}[_0xa0eaaa(0xab)](){const _0x2f1671=_0xa0eaaa;let _0x3513a8=this['_injector']['get'](e[_0x2f1671(0x9a)])[_0x2f1671(0x87)]();return _0x3513a8!=null&&_0x3513a8[_0x2f1671(0x89)]?this[_0x2f1671(0x91)](_0x3513a8['tableId'],_0x3513a8[_0x2f1671(0xe5)]):null;}[_0xa0eaaa(0xfd)](_0x458011,_0x4a6f9d=''){return this['findTables'](_0x458011,_0x4a6f9d)[0x0]??null;}['findTables'](_0x1fdb5e,_0x1161cf=''){const _0x333f22=_0xa0eaaa;let _0x31e55b=this[_0x333f22(0x148)](_0x1161cf),_0x4f40f=typeof _0x1fdb5e==_0x333f22(0xc6)?{'text':_0x1fdb5e}:_0x1fdb5e;return this[_0x333f22(0xb3)](_0x1161cf)['filter'](_0x534396=>{const _0x1ffa92=_0x333f22;let _0x23da89=_0x534396[_0x1ffa92(0x101)]();return!(_0x4f40f[_0x1ffa92(0x89)]&&_0x23da89!==_0x4f40f[_0x1ffa92(0x89)]||_0x4f40f['text']&&!this[_0x1ffa92(0xd6)](_0x31e55b,_0x23da89,_0x4f40f[_0x1ffa92(0x86)])||_0x4f40f['headerText']&&!this[_0x1ffa92(0x132)](_0x534396,0x0,_0x4f40f[_0x1ffa92(0xcf)])||_0x4f40f['titleText']&&!this[_0x1ffa92(0x132)](_0x534396,0x0,_0x4f40f[_0x1ffa92(0x104)]));});}[_0xa0eaaa(0x107)](_0x39f8bc,_0x4008f1,_0x5beca6={}){const _0x3f32c4=_0xa0eaaa;let _0x2cff5f=this[_0x3f32c4(0xc3)]['get'](t[_0x3f32c4(0x122)]),_0x2b07e2=_0x5beca6[_0x3f32c4(0x89)]??(0x0,t[_0x3f32c4(0xff)])(0x6);return _0x2cff5f[_0x3f32c4(0x95)](e[_0x3f32c4(0xed)]['id'],{..._0x5beca6,'unitId':this[_0x3f32c4(0x101)](),'rows':_0x39f8bc,'columns':_0x4008f1,'tableId':_0x2b07e2})?this[_0x3f32c4(0x91)](_0x2b07e2,_0x5beca6[_0x3f32c4(0xe5)]??''):null;}[_0xa0eaaa(0xb6)](_0x1185fa,_0x336181={}){const _0x1cb8cc=_0xa0eaaa;let _0x37b763=this['_injector'][_0x1cb8cc(0xf1)](t[_0x1cb8cc(0x122)]),_0x3498f5=_0x336181['tableId']??(0x0,t[_0x1cb8cc(0xff)])(0x6);return _0x37b763[_0x1cb8cc(0x95)](e[_0x1cb8cc(0xed)]['id'],{..._0x336181,'unitId':this['getId'](),'values':_0x1185fa,'tableId':_0x3498f5})?this[_0x1cb8cc(0x91)](_0x3498f5,_0x336181[_0x1cb8cc(0xe5)]??''):null;}[_0xa0eaaa(0xf7)](_0xa0bdbd=''){let {tables:_0x41db4b=[]}=this['getBody'](_0xa0bdbd);return _0x41db4b;}[_0xa0eaaa(0x148)](_0x2f237d=''){const _0x4bc4fb=_0xa0eaaa;let _0x5cbf54=this['getDocumentDataModel']()[_0x4bc4fb(0x141)]();return _0x2f237d?{...this[_0x4bc4fb(0x12d)](_0x2f237d)[_0x4bc4fb(0x141)](),'documentStyle':_0x5cbf54['documentStyle'],'tableSource':_0x5cbf54[_0x4bc4fb(0xf9)]}:_0x5cbf54;}['_createFDocumentTable'](_0x2ba4c3,_0x5909a6=''){const _0x55ebab=_0xa0eaaa;return this[_0x55ebab(0xc3)][_0x55ebab(0x113)](f,this,_0x2ba4c3,_0x5909a6);}[_0xa0eaaa(0xd6)](_0x14094f,_0x57307b,_0x48a915){const _0x21cf3c=_0xa0eaaa;var _0x8339de;let _0x4c6234=(0x0,e[_0x21cf3c(0xd4)])(_0x14094f,_0x57307b);if(!_0x4c6234)return!0x1;let _0x4adaa1=(_0x8339de=_0x14094f[_0x21cf3c(0x15a)])==null?void 0x0:_0x8339de[_0x21cf3c(0x13a)];return _0x4adaa1?_0x4adaa1['slice'](_0x4c6234[_0x21cf3c(0xf2)],_0x4c6234['endOffset'])[_0x21cf3c(0x157)](_0x48a915):!0x1;}['_rowContainsText'](_0x2d5249,_0x13f27a,_0x46b307){const _0x3c33f6=_0xa0eaaa;return Array['from']({'length':_0x2d5249[_0x3c33f6(0x8c)]()},(_0x154e62,_0x3e4e2f)=>_0x2d5249['getCellText'](_0x13f27a,_0x3e4e2f))['some'](_0x1ad41f=>_0x1ad41f['includes'](_0x46b307));}};function _0x5dad(){const _0x3661ea=['titleRow','default','margin','12352680RqHXdR','getMetadata','getHeaderRowCount','4368532qxvjum','selectCell','getTableAtSelection','_column','setText','DocsTableInsertPosition','372830LdbRJe','getText','insertColumnsAfter','Table','getTables','appendColumn','_serializeModel','insertTableFromData','getRowsRange','insertColumnBefore','rows','slice','Inject','_unitId','tableRows','insertRowBefore','selectRange','moveColumn','DocsTableInsertTablePosition','selectRows','_injector','_getDocumentData','object','string','call','getRowCount','replace','constructor','setRowHeight','getSource','sortByColumn','buildUnmergeCellsMutationActions','headerText','getTableRange','endOffset','setCellText','defineProperty','getTableRangeById','buildInsertTableColumnsMutationActions','_tableContainsText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setBorder','Cell','prototype','map','Below','function','_getBodyPath','cells','max','getRange','getColumnRange','selectRow','extend','segmentId','selectTable','setMargin','FEnum','AT_LEAST','preset','TableRowHeightRule','getOwnPropertyDescriptor','DocsTableInsertTableCommand','color','buildMergeCellsMutationActions','documentStyle','get','startOffset','DocsTableColumnInsertPosition','pinHeaderRows','deleteRow','selectColumns','_getTables','setCellBackground','tableSource','setColumnWidth','667470tfcvlp','moveColumns','findTableByText','buildMoveTableColumnsMutationActions','generateRandomId','insertColumnsBefore','getId','getCell','Tools','titleText','columnTypes','getDefaultCellMarginOverride','insertTable','type','executeRichTextTableActions','_row','getColumnIndex','getMarginOverride','insertRowsAfter','DocsTableDeleteTableCommand','DashStyleType','buildInsertTableRowsMutationActions','unmerge','deleteColumns','createInstance','Left','deepClone','Range','DocsTableBorderPreset','insertRowsBefore','getTableAt','trHeight','buildSetTableHeaderRowCountMutationActions','FDocumentTable','iterator','headerRowCount','insertTitleRow','getInsertOffset','DocsTableSortDirection','ICommandService','setStructuralSelection','mergeCells','DEFAULT_DOCS_TABLE_CELL_MARGIN','getColumnsRange','appendRow','_commandService','length','22835dqjnwD','some','getRowHeight','getDocumentDataModel','getCellContentRange','getTableActionBodyPath','_document','_segmentId','_rowContainsText','backgroundColor','tableColumns','Column','getContentRange','decorate','DocsTableSelectionKind','deleteRows','dataStream','setHeaderRowCount','insertColumnAfter','1591371wkRoKR','SOLID','Module','buildDistributeTableRowsMutationActions','getSnapshot','getTableMetadata','All','DocsTableRowInsertPosition','FDocumentTableCell','504satrll','width','_getTableDocumentData','Row','insertRowAfter','buildResizeTableRowActionsFromHeight','from','deleteTable','border','_mutateActions','moveTableBy','getRowIndex','_tableId','buildDistributeTableColumnsMutationActions','DocsTableColumnType','getDefaultCellMargin','getCellRange','includes','setTableBorder','getCellMarginOverride','body','setTableBackground','FDocument','Above','text','getStableTableSelection','_table','tableId','moveRow','symbol','getColumnCount','getCellInsertOffset','size','Right','setCellMargin','_createFDocumentTable','describe','getRowRange','getCellMargin','syncExecuteCommand','getTable','moveRows','DocsTableModel','969212VVnxPz','DocsTableSelectionService','actions','tableCells','toPrimitive','buildSetTableBorderMutationActions','unmergeCells','buildMoveTableRowsMutationActions','cellMargin','buildMoveFloatingTableMutationActions'];_0x5dad=function(){return _0x3661ea;};return _0x5dad();}r[_0xa0eaaa(0x84)][_0xa0eaaa(0xe4)](p),Object['defineProperty'](exports,_0xa0eaaa(0x11c),{'enumerable':!0x0,'get':function(){return f;}}),exports[_0xa0eaaa(0x145)]=a;
|