@univerjs-pro/docs-table 1.0.0-rc.0 → 1.0.1
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/common/clipboard.d.ts +2 -0
- package/lib/types/index.d.ts +1 -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 +7 -7
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xae94f7=_0x307e;(function(_0x56e5a3,_0x49da21){const _0x44b559=_0x307e,_0x68d8e7=_0x56e5a3();while(!![]){try{const _0x2d7ee5=-parseInt(_0x44b559(0x17f))/0x1*(parseInt(_0x44b559(0x116))/0x2)+parseInt(_0x44b559(0x108))/0x3*(parseInt(_0x44b559(0x13a))/0x4)+-parseInt(_0x44b559(0x15c))/0x5*(parseInt(_0x44b559(0x138))/0x6)+parseInt(_0x44b559(0xf7))/0x7+parseInt(_0x44b559(0x17e))/0x8*(parseInt(_0x44b559(0x1a4))/0x9)+parseInt(_0x44b559(0x14e))/0xa*(parseInt(_0x44b559(0x1a6))/0xb)+-parseInt(_0x44b559(0x171))/0xc;if(_0x2d7ee5===_0x49da21)break;else _0x68d8e7['push'](_0x68d8e7['shift']());}catch(_0x566e56){_0x68d8e7['push'](_0x68d8e7['shift']());}}}(_0x326d,0x73d03));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x4f2a03,DocsTableBorderPreset as _0x299c38,DocsTableColumnInsertPosition as _0x42f2d3,DocsTableColumnType as _0x58bab2,DocsTableDeleteColumnsCommand as _0x17884c,DocsTableDeleteRowsCommand as _0x20d42e,DocsTableDeleteTableCommand as _0x5a3f48,DocsTableInsertPosition as _0x3be68e,DocsTableInsertTableCommand as _0x56a665,DocsTableInsertTablePosition as _0x51fbd8,DocsTableModel as _0x7fc983,DocsTableRowInsertPosition as _0x2b986b,DocsTableSelectionKind as _0x276d9a,DocsTableSelectionService as _0x7f813,DocsTableSortDirection as _0x1e41a7,buildDistributeTableColumnsMutationActions as _0x50d169,buildDistributeTableRowsMutationActions as _0x3fedf2,buildInsertTableColumnsMutationActions as _0x4c90bd,buildInsertTableRowsMutationActions as _0x214fab,buildInsertTableTitleRowMutationActions as _0xeb76b0,buildMergeCellsMutationActions as _0x1fdc4d,buildMoveFloatingTableMutationActions as _0x2007d0,buildMoveTableColumnsMutationActions as _0x5479d5,buildMoveTableRowsMutationActions as _0x4393b8,buildMoveTableToOffsetMutationActions as _0x391007,buildResizeTableColumnActionsFromWidth as _0x1734d7,buildResizeTableRowActionsFromHeight as _0x2e89a4,buildSetTableBackgroundMutationActions as _0x324cd4,buildSetTableBorderMutationActions as _0x1e9377,buildSetTableCellMarginMutationActions as _0x46a842,buildSetTableCellTextMutationActions as _0x23bff5,buildSetTableDefaultCellMarginMutationActions as _0x510941,buildSetTableHeaderRowCountMutationActions as _0x34d902,buildSortTableMutationActions as _0x3890f6,buildUnmergeCellsMutationActions as _0x26de2,executeRichTextTableActions as _0x36c172,getTableActionBodyPath as _0x1f55cf,getTableRangeById as _0x32dd55}from'@univerjs-pro/docs-table';import{DashStyleType as _0x9432ce,ICommandService as _0x33def4,Inject as _0x5bbd96,Injector as _0x4eaf40,TableRowHeightRule as _0x1cd986,Tools as _0x5916ff,generateRandomId as _0x5b3a90}from'@univerjs/core';import{FEnum as _0x4a16aa}from'@univerjs/core/facade';import{FDocument as _0x3622ec}from'@univerjs/docs/facade';function _0x307e(_0x29a0ce,_0x4dc2e5){_0x29a0ce=_0x29a0ce-0xf3;const _0x326d98=_0x326d();let _0x307ec6=_0x326d98[_0x29a0ce];return _0x307ec6;}var K=class extends _0x4a16aa{get[_0xae94f7(0x130)](){return _0x51fbd8;}get[_0xae94f7(0x146)](){return _0x58bab2;}get['DocsTableSelectionKind'](){return _0x276d9a;}get['DocsTableRowInsertPosition'](){return _0x2b986b;}get['DocsTableColumnInsertPosition'](){return _0x42f2d3;}get['DocsTableBorderPreset'](){return _0x299c38;}get[_0xae94f7(0x197)](){return _0x1e41a7;}get['DashStyleType'](){return _0x9432ce;}};_0x4a16aa[_0xae94f7(0x151)](K);function _0x326d(){const _0x39c995=['columnTypes','getCellInsertOffset','setBorder','getOwnPropertyDescriptor','setStructuralSelection','6074GfCgeP','selectRow','_getTableDocumentData','tableColumns','actions','Right','Above','describe','SOLID','getTables','_commandService','setColumnWidth','Cell','selectColumn','getMetadata','insertRowBefore','_serializeModel','selectRows','getHeaderRowCount','_rowContainsText','setDefaultCellMargin','getCellRange','dataStream','_getTables','trHeight','headerRowCount','DocsTableInsertTablePosition','get','setTableBorder','getRowCount','_mutateActions','getSource','_getDocumentData','_getBodyPath','60YVbtlb','_table','12KMFHfU','deleteRow','filter','getTableAt','insertTable','getDefaultCellMargin','insertColumnsBefore','rows','insertRowsAfter','getMarginOverride','getRowsRange','selectRange','DocsTableColumnType','cells','Column','Range','backgroundColor','titleRow','getRowHeight','syncExecuteCommand','19590qgaytC','_tableContainsText','getStableTableSelection','extend','border','Row','setHeaderRowCount','map','tableCells','selectTable','deleteColumn','defineProperty','selectColumns','insertRowsBefore','284655hQoKZK','insertColumnAfter','setTableBackground','mergeTo','max','getColumnIndex','hasTitleRow','from','getCellContentRange','getCellMarginOverride','deleteRows','createInstance','some','clearMarginOverride','getCellText','getCell','setCellBackground','cellMargin','moveTableBy','size','_column','3738396ITyIbU','distributeRows','iterator','body','documentStyle','setText','_segmentId','insertTableFromData','titleText','preset','default','findTableByText','serialize','8BhSYLQ','47neXxgx','selectCell','setTitleRow','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setCellText','type','pinHeaderRows','setMargin','slice','getTableAtSelection','Below','_injector','margin','getInfo','setBackgroundColor','object','getColumnsRange','color','call','unmerge','includes','mergeCells','getContentRange','getRange','DocsTableSortDirection','_tableId','setCellMargin','segmentId','appendRow','function','moveColumn','getSnapshot','distributeColumns','deepClone','deleteColumns','getCellMargin','getSegmentId','31167pzBJeq','endOffset','3883VAnKCn','getColumnCount','_unitId','appendColumn','moveColumns','startOffset','length','moveTableToOffset','Table','insertTitleRow','text','getId','313831OMRiyH','_document','getDocumentDataModel','tableId','insertColumnsAfter','sortByColumn','getTableRange','headerText','unmergeCells','_createFDocumentTable','symbol','getRowRange','_row','tableRows','getText','Left','AT_LEAST','758130nyZgyL','#1f1f1f','insertRowAfter','decorate','tableSource','replace','setColumnType','getBody','findTables'];_0x326d=function(){return _0x39c995;};return _0x326d();}var q=class{constructor(_0x8c3912,_0x1b0ea6,_0x4773ac){const _0x17ab24=_0xae94f7;this[_0x17ab24(0x139)]=_0x8c3912,this[_0x17ab24(0x103)]=_0x1b0ea6,this[_0x17ab24(0x170)]=_0x4773ac;}['getTable'](){const _0x353e2f=_0xae94f7;return this[_0x353e2f(0x139)];}['getRowIndex'](){const _0x1b58e5=_0xae94f7;return this[_0x1b58e5(0x103)];}[_0xae94f7(0x161)](){const _0x312b50=_0xae94f7;return this[_0x312b50(0x170)];}[_0xae94f7(0x105)](){const _0x52a7d6=_0xae94f7;return this['_table'][_0x52a7d6(0x16a)](this[_0x52a7d6(0x103)],this[_0x52a7d6(0x170)]);}[_0xae94f7(0x195)](){const _0x59735a=_0xae94f7;return this['_table'][_0x59735a(0x164)](this[_0x59735a(0x103)],this[_0x59735a(0x170)]);}['getInsertOffset'](){const _0xf82d82=_0xae94f7;return this['_table']['getCellInsertOffset'](this[_0xf82d82(0x103)],this['_column']);}['getMargin'](){const _0x296d4e=_0xae94f7;return this[_0x296d4e(0x139)][_0x296d4e(0x1a2)](this[_0x296d4e(0x103)],this[_0x296d4e(0x170)]);}[_0xae94f7(0x143)](){const _0x2f2522=_0xae94f7;return this[_0x2f2522(0x139)][_0x2f2522(0x165)](this['_row'],this['_column']);}[_0xae94f7(0x186)](_0x575974){const _0x294bec=_0xae94f7;return this[_0x294bec(0x139)][_0x294bec(0x199)](this[_0x294bec(0x139)][_0x294bec(0x12b)](this[_0x294bec(0x103)],this[_0x294bec(0x170)]),_0x575974);}[_0xae94f7(0x169)](){const _0x9aca60=_0xae94f7;return this[_0x9aca60(0x139)][_0x9aca60(0x199)](this[_0x9aca60(0x139)]['getCellRange'](this[_0x9aca60(0x103)],this[_0x9aca60(0x170)]),null);}[_0xae94f7(0x176)](_0x47d302){const _0x31e0c7=_0xae94f7;return this[_0x31e0c7(0x139)][_0x31e0c7(0x183)](this[_0x31e0c7(0x103)],this[_0x31e0c7(0x170)],_0x47d302);}[_0xae94f7(0x18d)](_0x3deda4){const _0x38b575=_0xae94f7;return this['_table'][_0x38b575(0x16c)](this[_0x38b575(0x139)][_0x38b575(0x12b)](this[_0x38b575(0x103)],this[_0x38b575(0x170)]),_0x3deda4);}[_0xae94f7(0x113)](_0x15b1b9){const _0x5747b6=_0xae94f7;return this[_0x5747b6(0x139)][_0x5747b6(0x113)](this[_0x5747b6(0x139)][_0x5747b6(0x12b)](this[_0x5747b6(0x103)],this['_column']),_0x15b1b9);}[_0xae94f7(0x15f)](_0xe2f765,_0x507cec){const _0x4c2736=_0xae94f7;return this[_0x4c2736(0x139)][_0x4c2736(0x194)]({'startRow':this['_row'],'startColumn':this[_0x4c2736(0x170)],'endRow':this[_0x4c2736(0x103)]+_0xe2f765-0x1,'endColumn':this['_column']+_0x507cec-0x1});}[_0xae94f7(0x192)](){const _0x270349=_0xae94f7;return this[_0x270349(0x139)][_0x270349(0xff)](this[_0x270349(0x139)]['getCellRange'](this[_0x270349(0x103)],this[_0x270349(0x170)]));}};function J(_0x415aaa){'@babel/helpers - typeof';const _0x5214b4=_0xae94f7;return J=typeof Symbol==_0x5214b4(0x19c)&&typeof Symbol[_0x5214b4(0x173)]==_0x5214b4(0x101)?function(_0x40738d){return typeof _0x40738d;}:function(_0x212ed4){const _0x101de1=_0x5214b4;return _0x212ed4&&typeof Symbol==_0x101de1(0x19c)&&_0x212ed4['constructor']===Symbol&&_0x212ed4!==Symbol['prototype']?_0x101de1(0x101):typeof _0x212ed4;},J(_0x415aaa);}function Y(_0x5af068,_0x2a0914){const _0x1a5cd2=_0xae94f7;if(J(_0x5af068)!=_0x1a5cd2(0x18e)||!_0x5af068)return _0x5af068;var _0x2eacd8=_0x5af068[Symbol['toPrimitive']];if(_0x2eacd8!==void 0x0){var _0x235fff=_0x2eacd8[_0x1a5cd2(0x191)](_0x5af068,_0x2a0914||_0x1a5cd2(0x17b));if(J(_0x235fff)!=_0x1a5cd2(0x18e))return _0x235fff;throw TypeError(_0x1a5cd2(0x182));}return(_0x2a0914==='string'?String:Number)(_0x5af068);}function X(_0x33af3f){var _0x2922e4=Y(_0x33af3f,'string');return J(_0x2922e4)=='symbol'?_0x2922e4:_0x2922e4+'';}function Z(_0x59d412,_0x1f67a4,_0x4c796d){const _0x251e18=_0xae94f7;return(_0x1f67a4=X(_0x1f67a4))in _0x59d412?Object[_0x251e18(0x159)](_0x59d412,_0x1f67a4,{'value':_0x4c796d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x59d412[_0x1f67a4]=_0x4c796d,_0x59d412;}function Q(_0x529654,_0x241de4){return function(_0x3ee2e3,_0x48e55d){_0x241de4(_0x3ee2e3,_0x48e55d,_0x529654);};}function te(_0x3bce64,_0x551f58,_0x11189e,_0x485975){const _0xf23bf5=_0xae94f7;var _0x2f7e85=arguments[_0xf23bf5(0x1ac)],_0x2d2870=_0x2f7e85<0x3?_0x551f58:_0x485975===null?_0x485975=Object[_0xf23bf5(0x114)](_0x551f58,_0x11189e):_0x485975,_0x52b8b2;if(typeof Reflect==_0xf23bf5(0x18e)&&typeof Reflect[_0xf23bf5(0x10b)]==_0xf23bf5(0x19c))_0x2d2870=Reflect[_0xf23bf5(0x10b)](_0x3bce64,_0x551f58,_0x11189e,_0x485975);else{for(var _0xc02265=_0x3bce64[_0xf23bf5(0x1ac)]-0x1;_0xc02265>=0x0;_0xc02265--)(_0x52b8b2=_0x3bce64[_0xc02265])&&(_0x2d2870=(_0x2f7e85<0x3?_0x52b8b2(_0x2d2870):_0x2f7e85>0x3?_0x52b8b2(_0x551f58,_0x11189e,_0x2d2870):_0x52b8b2(_0x551f58,_0x11189e))||_0x2d2870);}return _0x2f7e85>0x3&&_0x2d2870&&Object[_0xf23bf5(0x159)](_0x551f58,_0x11189e,_0x2d2870),_0x2d2870;}let $=class{constructor(_0x2c6caa,_0x14ccd4,_0x80fd92,_0x41508b,_0xb7e1d4){const _0x4370c4=_0xae94f7;this[_0x4370c4(0xf8)]=_0x2c6caa,this[_0x4370c4(0x198)]=_0x14ccd4,this[_0x4370c4(0x177)]=_0x80fd92,this['_commandService']=_0x41508b,this['_injector']=_0xb7e1d4,Z(this,_0x4370c4(0x1a8),void 0x0),this[_0x4370c4(0x1a8)]=this[_0x4370c4(0xf8)][_0x4370c4(0xf6)]();}[_0xae94f7(0xf6)](){const _0x56ceef=_0xae94f7;return this[_0x56ceef(0x198)];}[_0xae94f7(0x1a3)](){const _0x5dfa25=_0xae94f7;return this[_0x5dfa25(0x177)];}[_0xae94f7(0x18c)](){const _0x797678=_0xae94f7;return{'id':this[_0x797678(0x198)],'rowCount':this[_0x797678(0x133)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x797678(0x124)](),'source':this['getSource']()};}[_0xae94f7(0x11d)](){const _0x5d1c2c=_0xae94f7;let _0x3698eb=this[_0x5d1c2c(0x124)](),_0x199df6=this[_0x5d1c2c(0x135)](),_0x1e1c70=this[_0x5d1c2c(0x1a7)]();return{'id':this[_0x5d1c2c(0x198)],'rowCount':this[_0x5d1c2c(0x133)](),'columnCount':_0x1e1c70,'headerRowCount':(_0x3698eb==null?void 0x0:_0x3698eb[_0x5d1c2c(0x12f)])??0x0,'titleRow':(_0x3698eb==null?void 0x0:_0x3698eb[_0x5d1c2c(0x14b)])??!0x1,'columns':Array[_0x5d1c2c(0x163)]({'length':_0x1e1c70},(_0x4433fe,_0x340900)=>{const _0x4193ff=_0x5d1c2c;var _0x2f5014,_0x5781b1;return{'index':_0x340900,'type':_0x3698eb==null||(_0x2f5014=_0x3698eb[_0x4193ff(0x111)])==null||(_0x2f5014=_0x2f5014[_0x340900])==null?void 0x0:_0x2f5014[_0x4193ff(0x184)],'width':_0x199df6==null||(_0x5781b1=_0x199df6[_0x4193ff(0x119)][_0x340900])==null?void 0x0:_0x5781b1[_0x4193ff(0x16f)]['width']['v']};}),'sampleRows':Array[_0x5d1c2c(0x163)]({'length':this[_0x5d1c2c(0x133)]()},(_0x1bc930,_0xc33906)=>Array[_0x5d1c2c(0x163)]({'length':_0x1e1c70},(_0x570343,_0x4c2f66)=>this['getCellText'](_0xc33906,_0x4c2f66)))[_0x5d1c2c(0x13c)](_0x33e189=>_0x33e189['some'](_0x25a79b=>_0x25a79b[_0x5d1c2c(0x1ac)]>0x0))['slice'](0x0,0x5)};}[_0xae94f7(0x133)](){const _0x4b6f10=_0xae94f7;var _0x388a5b;return((_0x388a5b=this[_0x4b6f10(0x135)]())==null?void 0x0:_0x388a5b['tableRows']['length'])??0x0;}[_0xae94f7(0x1a7)](){var _0xdf9bbd;return((_0xdf9bbd=this['getSource']())==null?void 0x0:_0xdf9bbd['tableColumns']['length'])??0x0;}[_0xae94f7(0x16b)](_0x4323c2,_0x48cc07){const _0x171b26=_0xae94f7;var _0x5afe56;return(_0x5afe56=this[_0x171b26(0x135)]())!=null&&(_0x5afe56=_0x5afe56[_0x171b26(0x104)][_0x4323c2])!=null&&_0x5afe56[_0x171b26(0x156)][_0x48cc07]?this[_0x171b26(0x18a)][_0x171b26(0x167)](q,this,_0x4323c2,_0x48cc07):null;}[_0xae94f7(0x16a)](_0x41dea2,_0x338c25){const _0x3fbe4d=_0xae94f7;var _0x17139f,_0x5423b7;let _0x3bbc96=(_0x17139f=_0x32dd55(this[_0x3fbe4d(0x136)](),this[_0x3fbe4d(0x198)]))==null||(_0x17139f=_0x17139f[_0x3fbe4d(0x141)][_0x41dea2])==null?void 0x0:_0x17139f[_0x3fbe4d(0x147)][_0x338c25];return _0x3bbc96?((_0x5423b7=this[_0x3fbe4d(0x136)]()['body'])==null?void 0x0:_0x5423b7[_0x3fbe4d(0x12c)][_0x3fbe4d(0x187)](_0x3bbc96['startOffset']+0x1,_0x3bbc96['endOffset'])[_0x3fbe4d(0x10d)](/\r\n$/,''))??'':'';}[_0xae94f7(0x1a2)](_0x1d022a,_0x9ebd89){const _0x5e5d66=_0xae94f7;var _0x4a02a7;let _0x5c373e=this[_0x5e5d66(0x135)](),_0x4356a1=_0x5c373e==null||(_0x4a02a7=_0x5c373e['tableRows'][_0x1d022a])==null?void 0x0:_0x4a02a7[_0x5e5d66(0x156)][_0x9ebd89];return _0x4356a1?_0x5916ff['deepClone'](_0x4356a1[_0x5e5d66(0x18b)]??_0x5c373e[_0x5e5d66(0x16d)]??_0x4f2a03):null;}[_0xae94f7(0x165)](_0x40d62a,_0x138d53){const _0x1ac533=_0xae94f7;var _0x40cec5;let _0x20a354=(_0x40cec5=this[_0x1ac533(0x135)]())==null||(_0x40cec5=_0x40cec5[_0x1ac533(0x104)][_0x40d62a])==null?void 0x0:_0x40cec5['tableCells'][_0x138d53];return _0x20a354!=null&&_0x20a354[_0x1ac533(0x18b)]?_0x5916ff[_0x1ac533(0x1a0)](_0x20a354[_0x1ac533(0x18b)]):null;}[_0xae94f7(0x13f)](){const _0x1df552=_0xae94f7;var _0x56f58e;return _0x5916ff[_0x1df552(0x1a0)](((_0x56f58e=this[_0x1df552(0x135)]())==null?void 0x0:_0x56f58e[_0x1df552(0x16d)])??_0x4f2a03);}['getDefaultCellMarginOverride'](){const _0x3278d2=_0xae94f7;var _0x204191;let _0xd8ad71=(_0x204191=this[_0x3278d2(0x135)]())==null?void 0x0:_0x204191['cellMargin'];return _0xd8ad71?_0x5916ff[_0x3278d2(0x1a0)](_0xd8ad71):null;}['getMetadata'](){const _0x33a88a=_0xae94f7;return this[_0x33a88a(0x18a)]['get'](_0x7fc983)['getTableMetadata'](this['_unitId'],this[_0x33a88a(0x198)]);}[_0xae94f7(0x135)](){const _0x436acc=_0xae94f7;var _0x11adfb;return(_0x11adfb=this[_0x436acc(0x136)]()[_0x436acc(0x10c)])==null?void 0x0:_0x11adfb[this[_0x436acc(0x198)]];}[_0xae94f7(0x196)](){const _0x48fc5c=_0xae94f7;return _0x32dd55(this[_0x48fc5c(0x136)](),this['_tableId']);}[_0xae94f7(0xfd)](){const _0x1d37e6=_0xae94f7;return{'startRow':0x0,'endRow':Math[_0x1d37e6(0x160)](0x0,this[_0x1d37e6(0x133)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x1d37e6(0x160)](0x0,this[_0x1d37e6(0x1a7)]()-0x1)};}[_0xae94f7(0x12b)](_0x1ca61f,_0x46f8d7){return{'startRow':_0x1ca61f,'endRow':_0x1ca61f,'startColumn':_0x46f8d7,'endColumn':_0x46f8d7};}['getCellContentRange'](_0x576aab,_0x2ffd58){const _0x291c90=_0xae94f7;var _0x1b28cf;let _0x1d64e1=(_0x1b28cf=_0x32dd55(this['_getDocumentData'](),this['_tableId']))==null||(_0x1b28cf=_0x1b28cf[_0x291c90(0x141)][_0x576aab])==null?void 0x0:_0x1b28cf[_0x291c90(0x147)][_0x2ffd58];if(!_0x1d64e1)return null;let _0x2827bb=_0x1d64e1[_0x291c90(0x1ab)]+0x1;return{'startOffset':_0x2827bb,'endOffset':Math[_0x291c90(0x160)](_0x2827bb,_0x1d64e1['endOffset']-0x1),'segmentId':this[_0x291c90(0x177)]};}[_0xae94f7(0x112)](_0x5a1638,_0x48b193){const _0x2089e5=_0xae94f7;let _0x43facd=this[_0x2089e5(0x164)](_0x5a1638,_0x48b193);return _0x43facd?Math['max'](_0x43facd[_0x2089e5(0x1ab)],_0x43facd[_0x2089e5(0x1a5)]-0x1):null;}[_0xae94f7(0x102)](_0x510873){const _0x926d28=_0xae94f7;return this[_0x926d28(0x144)](_0x510873,0x1);}['getRowsRange'](_0x4419bc,_0x154ed1=0x1){const _0x547485=_0xae94f7;return{'startRow':_0x4419bc,'endRow':_0x4419bc+_0x154ed1-0x1,'startColumn':0x0,'endColumn':Math[_0x547485(0x160)](0x0,this[_0x547485(0x1a7)]()-0x1)};}['getColumnRange'](_0x1e4825){return this['getColumnsRange'](_0x1e4825,0x1);}[_0xae94f7(0x18f)](_0x514305,_0xf5e99d=0x1){const _0x1697ba=_0xae94f7;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x1697ba(0x133)]()-0x1),'startColumn':_0x514305,'endColumn':_0x514305+_0xf5e99d-0x1};}[_0xae94f7(0x157)](){const _0x55b999=_0xae94f7;return this[_0x55b999(0x145)](this['getTableRange'](),_0x276d9a[_0x55b999(0xf3)]);}[_0xae94f7(0x117)](_0x1e15d9){return this['selectRows'](_0x1e15d9,0x1);}[_0xae94f7(0x127)](_0x384174,_0x1b8102=0x1){const _0x466d75=_0xae94f7;return this[_0x466d75(0x145)](this[_0x466d75(0x144)](_0x384174,_0x1b8102),_0x276d9a[_0x466d75(0x153)]);}[_0xae94f7(0x123)](_0x5543fc){const _0x5d8901=_0xae94f7;return this[_0x5d8901(0x15a)](_0x5543fc,0x1);}[_0xae94f7(0x15a)](_0x47a875,_0x33689d=0x1){const _0x4cf056=_0xae94f7;return this[_0x4cf056(0x145)](this[_0x4cf056(0x18f)](_0x47a875,_0x33689d),_0x276d9a[_0x4cf056(0x148)]);}[_0xae94f7(0x180)](_0xa4932c,_0x2af9cd){const _0x61d1d5=_0xae94f7;return this[_0x61d1d5(0x145)](this[_0x61d1d5(0x12b)](_0xa4932c,_0x2af9cd),_0x276d9a[_0x61d1d5(0x122)]);}[_0xae94f7(0x145)](_0x3ebe18,_0x2db53c=_0x276d9a[_0xae94f7(0x149)]){const _0x30140a=_0xae94f7;return this[_0x30140a(0x18a)][_0x30140a(0x131)](_0x7f813)[_0x30140a(0x115)]({..._0x3ebe18,'kind':_0x2db53c,'segmentId':this[_0x30140a(0x177)],'tableId':this[_0x30140a(0x198)]}),!0x0;}[_0xae94f7(0x125)](_0x2fcc12){const _0x531c6d=_0xae94f7;return this[_0x531c6d(0x15b)](_0x2fcc12,0x1);}[_0xae94f7(0x10a)](_0x441480){const _0xab5ed2=_0xae94f7;return this[_0xab5ed2(0x142)](_0x441480,0x1);}[_0xae94f7(0x15b)](_0x46cd75,_0x545214){const _0x467819=_0xae94f7;let _0xcaceed=this[_0x467819(0x136)](),_0x353e5e=_0x214fab(_0xcaceed,this['_tableId'],_0x46cd75,_0x545214,_0x3be68e['Above'],this[_0x467819(0x137)]());return _0x353e5e?this['_mutateActions'](_0xcaceed,_0x353e5e[_0x467819(0x11a)]):!0x1;}[_0xae94f7(0x142)](_0x59df24,_0x22ddff){const _0x55b5dc=_0xae94f7;let _0x84afc5=this[_0x55b5dc(0x136)](),_0x99c646=_0x214fab(_0x84afc5,this[_0x55b5dc(0x198)],_0x59df24,_0x22ddff,_0x3be68e[_0x55b5dc(0x189)],this[_0x55b5dc(0x137)]());return _0x99c646?this[_0x55b5dc(0x134)](_0x84afc5,_0x99c646[_0x55b5dc(0x11a)]):!0x1;}[_0xae94f7(0x19b)](){const _0x22a1dc=_0xae94f7;return this[_0x22a1dc(0x142)](Math[_0x22a1dc(0x160)](0x0,this[_0x22a1dc(0x133)]()-0x1),0x1);}['insertColumnBefore'](_0xc036c5){return this['insertColumnsBefore'](_0xc036c5,0x1);}[_0xae94f7(0x15d)](_0x385e23){const _0x36a199=_0xae94f7;return this[_0x36a199(0xfb)](_0x385e23,0x1);}[_0xae94f7(0x140)](_0x29114c,_0x163a3d){const _0x4ca854=_0xae94f7;let _0x3c28c5=this[_0x4ca854(0x136)](),_0x19cb3a=_0x4c90bd(_0x3c28c5,this['_tableId'],_0x29114c,_0x163a3d,_0x3be68e[_0x4ca854(0x106)],{'bodyPath':this[_0x4ca854(0x137)]()});return _0x19cb3a?this[_0x4ca854(0x134)](_0x3c28c5,_0x19cb3a[_0x4ca854(0x11a)]):!0x1;}[_0xae94f7(0xfb)](_0xe3dd0a,_0x1d3f09){const _0x535940=_0xae94f7;let _0x56eb17=this['_getDocumentData'](),_0x2a01ea=_0x4c90bd(_0x56eb17,this[_0x535940(0x198)],_0xe3dd0a,_0x1d3f09,_0x3be68e[_0x535940(0x11b)],{'bodyPath':this['_getBodyPath']()});return _0x2a01ea?this[_0x535940(0x134)](_0x56eb17,_0x2a01ea[_0x535940(0x11a)]):!0x1;}[_0xae94f7(0x1a9)](){const _0x4f4a88=_0xae94f7;return this['insertColumnsAfter'](Math[_0x4f4a88(0x160)](0x0,this[_0x4f4a88(0x1a7)]()-0x1),0x1);}[_0xae94f7(0x13b)](_0x18b601){const _0x16c492=_0xae94f7;return this[_0x16c492(0x166)](_0x18b601,0x1);}[_0xae94f7(0x166)](_0x3cd550,_0x1f2bad=0x1){const _0x12f373=_0xae94f7;return!!this['_commandService'][_0x12f373(0x14d)](_0x20d42e['id'],{'endRow':_0x3cd550+_0x1f2bad-0x1,'segmentId':this[_0x12f373(0x177)],'startRow':_0x3cd550,'tableId':this[_0x12f373(0x198)],'unitId':this['_unitId']});}[_0xae94f7(0x158)](_0x3d789d){const _0x9d3663=_0xae94f7;return this[_0x9d3663(0x1a1)](_0x3d789d,0x1);}[_0xae94f7(0x1a1)](_0x3d56f7,_0x1fc1f2=0x1){const _0x2bf095=_0xae94f7;return!!this[_0x2bf095(0x120)][_0x2bf095(0x14d)](_0x17884c['id'],{'endColumn':_0x3d56f7+_0x1fc1f2-0x1,'segmentId':this[_0x2bf095(0x177)],'startColumn':_0x3d56f7,'tableId':this[_0x2bf095(0x198)],'unitId':this['_unitId']});}['deleteTable'](){const _0x29d69f=_0xae94f7;return!!this[_0x29d69f(0x120)]['syncExecuteCommand'](_0x5a3f48['id'],{'segmentId':this['_segmentId'],'tableId':this[_0x29d69f(0x198)],'unitId':this[_0x29d69f(0x1a8)]});}[_0xae94f7(0x16e)](_0x4f4366,_0x50a1fb){const _0x1139e1=_0xae94f7;let _0x1beb96=this[_0x1139e1(0x136)]();return this[_0x1139e1(0x134)](_0x1beb96,_0x2007d0(_0x1beb96,this[_0x1139e1(0x198)],_0x4f4366,_0x50a1fb));}[_0xae94f7(0x1ad)](_0x103c67){const _0x2c682e=_0xae94f7;let _0x642e66=this['_getDocumentData']();return this[_0x2c682e(0x134)](_0x642e66,_0x391007(_0x642e66,this[_0x2c682e(0x198)],_0x103c67,this[_0x2c682e(0x137)]()));}['moveRow'](_0x16ccc7,_0x2ef584,_0x2085b8=_0x3be68e[_0xae94f7(0x11c)]){return this['moveRows'](_0x16ccc7,0x1,_0x2ef584,_0x2085b8);}['moveRows'](_0xed63cf,_0x5c36fc,_0x1f969f,_0x29097e=_0x3be68e[_0xae94f7(0x11c)]){const _0xf1bf92=_0xae94f7;let _0x51981d=this[_0xf1bf92(0x136)](),_0x5d499a=_0x4393b8(_0x51981d,this['_tableId'],_0xed63cf,_0x1f969f,_0x5c36fc,_0x29097e,this[_0xf1bf92(0x137)]());return _0x5d499a?this[_0xf1bf92(0x134)](_0x51981d,_0x5d499a[_0xf1bf92(0x11a)]):!0x1;}[_0xae94f7(0x19d)](_0x372d41,_0x2dec81,_0x2dfb56=_0x3be68e[_0xae94f7(0x106)]){const _0x178faa=_0xae94f7;return this[_0x178faa(0x1aa)](_0x372d41,0x1,_0x2dec81,_0x2dfb56);}[_0xae94f7(0x1aa)](_0x4472fc,_0x55119e,_0x262bdf,_0x35af59=_0x3be68e[_0xae94f7(0x106)]){const _0x29644a=_0xae94f7;let _0x13b4c5=this['_getDocumentData'](),_0x4c4b04=_0x5479d5(_0x13b4c5,this[_0x29644a(0x198)],_0x4472fc,_0x262bdf,_0x55119e,_0x35af59,this['_getBodyPath']());return _0x4c4b04?this[_0x29644a(0x134)](_0x13b4c5,_0x4c4b04[_0x29644a(0x11a)]):!0x1;}[_0xae94f7(0x194)](_0x171c54){const _0x1ef88a=_0xae94f7;try{let _0x4738f8=this['_getDocumentData'](),_0x15aa3c=_0x1fdc4d({'documentData':_0x4738f8,'tableId':this[_0x1ef88a(0x198)],..._0x171c54});return _0x15aa3c?this[_0x1ef88a(0x134)](_0x4738f8,_0x15aa3c[_0x1ef88a(0x11a)],_0x171c54):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x1238ac){const _0x23ad2b=_0xae94f7;try{let _0x4e0a10=this[_0x23ad2b(0x136)](),_0x998c14=_0x26de2({'documentData':_0x4e0a10,'tableId':this[_0x23ad2b(0x198)],..._0x1238ac});return _0x998c14?this[_0x23ad2b(0x134)](_0x4e0a10,_0x998c14['actions'],_0x1238ac):!0x1;}catch{return!0x1;}}[_0xae94f7(0x183)](_0x5eb2b8,_0x4703bf,_0x5c6b86){const _0x450032=_0xae94f7;let _0xe27456=this['_getDocumentData'](),_0x5398f6=_0x1f55cf(this[_0x450032(0xf8)][_0x450032(0xf9)]()[_0x450032(0x19e)](),this[_0x450032(0x177)]);return this['_mutateActions'](_0xe27456,_0x23bff5({'documentData':_0xe27456,'tableId':this[_0x450032(0x198)],'row':_0x5eb2b8,'column':_0x4703bf,'text':_0x5c6b86},_0x5398f6),this['getCellRange'](_0x5eb2b8,_0x4703bf));}['setCellBackground'](_0x1c38de,_0x59134f){const _0x4b4740=_0xae94f7;let _0x4dafd7=this[_0x4b4740(0x136)]();return this[_0x4b4740(0x134)](_0x4dafd7,_0x324cd4(_0x4dafd7,{'tableId':this[_0x4b4740(0x198)],..._0x1c38de,'value':_0x59134f}),_0x1c38de);}[_0xae94f7(0x199)](_0x2987a1,_0x7f267c){const _0x9ff46=_0xae94f7;let _0x598dc8=this[_0x9ff46(0x136)]();return this['_mutateActions'](_0x598dc8,_0x46a842({'documentData':_0x598dc8,'tableId':this['_tableId'],..._0x2987a1,'margin':_0x7f267c}),_0x2987a1);}[_0xae94f7(0x12a)](_0x50d7a7){const _0x10ec18=_0xae94f7;let _0x256bcf=this[_0x10ec18(0x136)]();return this['_mutateActions'](_0x256bcf,_0x510941(_0x256bcf,this[_0x10ec18(0x198)],_0x50d7a7));}['setBorder'](_0x4e04fa,_0x16d248){const _0x23ddc8=_0xae94f7;let _0x2949ef=this[_0x23ddc8(0x136)]();return this[_0x23ddc8(0x134)](_0x2949ef,_0x1e9377({'documentData':_0x2949ef,'tableId':this[_0x23ddc8(0x198)],..._0x4e04fa,'preset':_0x16d248[_0x23ddc8(0x17a)]??_0x299c38['All'],'border':_0x16d248[_0x23ddc8(0x152)]??{'color':{'rgb':_0x16d248[_0x23ddc8(0x190)]??_0x23ddc8(0x109)},'width':{'v':_0x16d248['width']??0x1},'dashStyle':_0x9432ce[_0x23ddc8(0x11e)]}}),_0x4e04fa);}['setTableBackground'](_0x10398b){const _0x5324a3=_0xae94f7;return this[_0x5324a3(0x16c)](this['getTableRange'](),_0x10398b);}['setTableBorder'](_0xa846bb){const _0xed262f=_0xae94f7;return this['setBorder'](this[_0xed262f(0xfd)](),_0xa846bb);}['setTableStyle'](_0x4ce277){const _0x3082e1=_0xae94f7;let _0x5d35ae=!_0x4ce277[_0x3082e1(0x14a)]||this[_0x3082e1(0x15e)](_0x4ce277['backgroundColor']),_0x3b18ef=!_0x4ce277[_0x3082e1(0x152)]||this[_0x3082e1(0x132)](_0x4ce277[_0x3082e1(0x152)]);return _0x5d35ae&&_0x3b18ef;}['setRowHeight'](_0x128d47,_0x41d55f,_0x40b3cd=_0x1cd986[_0xae94f7(0x107)]){const _0x3748ad=_0xae94f7;var _0x37ba06;let _0x4be253=this[_0x3748ad(0x136)]();return(_0x37ba06=_0x4be253[_0x3748ad(0x10c)])!=null&&(_0x37ba06=_0x37ba06[this[_0x3748ad(0x198)]])!=null&&_0x37ba06[_0x3748ad(0x104)][_0x128d47]?this[_0x3748ad(0x134)](_0x4be253,_0x2e89a4(_0x4be253,this[_0x3748ad(0x198)],_0x128d47,_0x41d55f,_0x40b3cd)):!0x1;}[_0xae94f7(0x14c)](_0x2c19ef){const _0x138c2f=_0xae94f7;var _0xca3285;let _0x46d75d=(_0xca3285=this[_0x138c2f(0x135)]())==null||(_0xca3285=_0xca3285[_0x138c2f(0x104)][_0x2c19ef])==null?void 0x0:_0xca3285[_0x138c2f(0x12e)];return _0x46d75d?_0x5916ff['deepClone'](_0x46d75d):null;}[_0xae94f7(0x121)](_0x4cd60e,_0x260599){const _0x5d4d9d=_0xae94f7;var _0xb65fbd;let _0xc8f21c=this[_0x5d4d9d(0x136)]();return(_0xb65fbd=_0xc8f21c[_0x5d4d9d(0x10c)])!=null&&(_0xb65fbd=_0xb65fbd[this[_0x5d4d9d(0x198)]])!=null&&_0xb65fbd[_0x5d4d9d(0x119)][_0x4cd60e]?this[_0x5d4d9d(0x134)](_0xc8f21c,_0x1734d7(_0xc8f21c,this[_0x5d4d9d(0x198)],_0x4cd60e,_0x260599)):!0x1;}[_0xae94f7(0x172)](_0x796871=0x0,_0x32bbad=this[_0xae94f7(0x133)]()){const _0x367a9c=_0xae94f7;let _0x362572=this['_getDocumentData']();return this['_mutateActions'](_0x362572,_0x3fedf2(_0x362572,this[_0x367a9c(0x198)],_0x796871,_0x796871+_0x32bbad-0x1));}[_0xae94f7(0x19f)](_0x84ff7a=0x0,_0xc517ec=this[_0xae94f7(0x1a7)]()){const _0x3eb09b=_0xae94f7;let _0x372338=this[_0x3eb09b(0x136)]();return this[_0x3eb09b(0x134)](_0x372338,_0x50d169(_0x372338,this[_0x3eb09b(0x198)],_0x84ff7a,_0x84ff7a+_0xc517ec-0x1));}[_0xae94f7(0x128)](){const _0x3191cf=_0xae94f7;var _0x3749cf;return((_0x3749cf=this[_0x3191cf(0x124)]())==null?void 0x0:_0x3749cf['headerRowCount'])??0x0;}[_0xae94f7(0x154)](_0x4c5661){const _0x52434e=_0xae94f7;let _0x28608c=this[_0x52434e(0x18a)][_0x52434e(0x131)](_0x7fc983),_0x164ee2=this[_0x52434e(0x136)](),_0x405bf6=_0x34d902(_0x164ee2,this[_0x52434e(0x198)],_0x4c5661);if(!_0x405bf6)return!0x1;let _0x386026=this[_0x52434e(0x134)](_0x164ee2,_0x405bf6[_0x52434e(0x11a)]);return _0x386026&&_0x28608c['setHeaderRowCount'](this[_0x52434e(0x1a8)],this[_0x52434e(0x198)],_0x405bf6['headerRowCount']),_0x386026;}[_0xae94f7(0x185)](_0x1aae3d){const _0xf16783=_0xae94f7;return this[_0xf16783(0x154)](_0x1aae3d);}[_0xae94f7(0x162)](){const _0x2e98b5=_0xae94f7;var _0x424185;return((_0x424185=this[_0x2e98b5(0x124)]())==null?void 0x0:_0x424185['titleRow'])??!0x1;}[_0xae94f7(0xf4)](){const _0x2515cf=_0xae94f7;let _0x303fe7=this[_0x2515cf(0x18a)]['get'](_0x7fc983),_0x208ee7=this['_getDocumentData'](),_0x199cb0=_0xeb76b0(_0x208ee7,this[_0x2515cf(0x198)],this[_0x2515cf(0x137)]());if(!_0x199cb0)return!0x1;let _0x2fdfa0=this['_mutateActions'](_0x208ee7,_0x199cb0[_0x2515cf(0x11a)]);return _0x2fdfa0&&_0x303fe7[_0x2515cf(0x181)](this[_0x2515cf(0x1a8)],this[_0x2515cf(0x198)],!0x0),_0x2fdfa0;}[_0xae94f7(0x10e)](_0xc21a9a,_0x34cff1){const _0x3362f3=_0xae94f7;return this[_0x3362f3(0x18a)][_0x3362f3(0x131)](_0x7fc983)[_0x3362f3(0x10e)](this[_0x3362f3(0x1a8)],this[_0x3362f3(0x198)],_0xc21a9a,_0x34cff1),!0x0;}[_0xae94f7(0xfc)](_0x76d24e,_0x50b558){const _0x17d23a=_0xae94f7;let _0x7264b7=this['_getDocumentData']();return this[_0x17d23a(0x134)](_0x7264b7,_0x3890f6(_0x7264b7,this[_0x17d23a(0x126)](),this[_0x17d23a(0x198)],_0x76d24e,_0x50b558,this['_getBodyPath']()));}[_0xae94f7(0x136)](){const _0xda7bbc=_0xae94f7;let _0x237f41=this[_0xda7bbc(0xf8)][_0xda7bbc(0xf9)]()[_0xda7bbc(0x19e)]();return this[_0xda7bbc(0x177)]?{...this[_0xda7bbc(0xf8)][_0xda7bbc(0xf9)](this[_0xda7bbc(0x177)])[_0xda7bbc(0x19e)](),'documentStyle':_0x237f41[_0xda7bbc(0x175)],'tableSource':_0x237f41['tableSource']}:_0x237f41;}[_0xae94f7(0x126)](){const _0x4425b9=_0xae94f7;return this[_0x4425b9(0x18a)][_0x4425b9(0x131)](_0x7fc983)[_0x4425b9(0x17d)](this[_0x4425b9(0x1a8)]);}[_0xae94f7(0x137)](){const _0x342ca4=_0xae94f7;return _0x1f55cf(this[_0x342ca4(0xf8)][_0x342ca4(0xf9)]()[_0x342ca4(0x19e)](),this[_0x342ca4(0x177)]);}['_mutateActions'](_0x447d63,_0x24a404,_0x4721e0){const _0x532c99=_0xae94f7;return _0x36c172(this[_0x532c99(0x120)],this[_0x532c99(0x1a8)],_0x447d63,_0x24a404,_0x4721e0?{'tableId':this[_0x532c99(0x198)],'segmentId':this[_0x532c99(0x177)],..._0x4721e0}:void 0x0);}};$=te([Q(0x3,_0x33def4),Q(0x4,_0x5bbd96(_0x4eaf40))],$);var ne=class extends _0x3622ec{[_0xae94f7(0x11f)](_0x1e3fbf=''){const _0x47b499=_0xae94f7;return this[_0x47b499(0x12d)](_0x1e3fbf)[_0x47b499(0x155)](_0xcf8a54=>this['_createFDocumentTable'](_0xcf8a54[_0x47b499(0xfa)],_0x1e3fbf));}['getTable'](_0x21eef4,_0x18d02d=''){const _0x239ed4=_0xae94f7;return this['_getTables'](_0x18d02d)[_0x239ed4(0x168)](_0x906d9d=>_0x906d9d[_0x239ed4(0xfa)]===_0x21eef4)?this[_0x239ed4(0x100)](_0x21eef4,_0x18d02d):null;}[_0xae94f7(0x13d)](_0xa3b412,_0x2fcaf7=''){const _0x4c0b4d=_0xae94f7;var _0x1a6eb3;let _0x5de2d5=(_0x1a6eb3=this[_0x4c0b4d(0x12d)](_0x2fcaf7)[_0xa3b412])==null?void 0x0:_0x1a6eb3[_0x4c0b4d(0xfa)];return _0x5de2d5?this[_0x4c0b4d(0x100)](_0x5de2d5,_0x2fcaf7):null;}[_0xae94f7(0x188)](){const _0x297353=_0xae94f7;let _0x34a7fe=this[_0x297353(0x18a)][_0x297353(0x131)](_0x7f813)[_0x297353(0x150)]();return _0x34a7fe!=null&&_0x34a7fe['tableId']?this[_0x297353(0x100)](_0x34a7fe[_0x297353(0xfa)],_0x34a7fe[_0x297353(0x19a)]):null;}[_0xae94f7(0x17c)](_0x2d4258,_0x3d90ee=''){const _0x2fd275=_0xae94f7;return this[_0x2fd275(0x110)](_0x2d4258,_0x3d90ee)[0x0]??null;}['findTables'](_0x16a763,_0x295a7d=''){const _0xc8fdf6=_0xae94f7;let _0x1defae=this[_0xc8fdf6(0x118)](_0x295a7d),_0x40d601=typeof _0x16a763=='string'?{'text':_0x16a763}:_0x16a763;return this[_0xc8fdf6(0x11f)](_0x295a7d)[_0xc8fdf6(0x13c)](_0x445104=>{const _0x1b9b07=_0xc8fdf6;let _0x534d85=_0x445104['getId']();return!(_0x40d601[_0x1b9b07(0xfa)]&&_0x534d85!==_0x40d601['tableId']||_0x40d601[_0x1b9b07(0xf5)]&&!this[_0x1b9b07(0x14f)](_0x1defae,_0x534d85,_0x40d601[_0x1b9b07(0xf5)])||_0x40d601[_0x1b9b07(0xfe)]&&!this[_0x1b9b07(0x129)](_0x445104,0x0,_0x40d601[_0x1b9b07(0xfe)])||_0x40d601[_0x1b9b07(0x179)]&&!this[_0x1b9b07(0x129)](_0x445104,0x0,_0x40d601[_0x1b9b07(0x179)]));});}[_0xae94f7(0x13e)](_0x3fd73,_0x4d1df2,_0x51aa94={}){const _0x32cfd2=_0xae94f7;let _0x1f4b8f=this[_0x32cfd2(0x18a)][_0x32cfd2(0x131)](_0x33def4),_0x51d4fe=_0x51aa94[_0x32cfd2(0xfa)]??_0x5b3a90(0x6);return _0x1f4b8f['syncExecuteCommand'](_0x56a665['id'],{..._0x51aa94,'unitId':this['getId'](),'rows':_0x3fd73,'columns':_0x4d1df2,'tableId':_0x51d4fe})?this[_0x32cfd2(0x100)](_0x51d4fe,_0x51aa94[_0x32cfd2(0x19a)]??''):null;}[_0xae94f7(0x178)](_0x2a116a,_0x28f702={}){const _0x200679=_0xae94f7;let _0x3c3c0f=this[_0x200679(0x18a)][_0x200679(0x131)](_0x33def4),_0x293f6c=_0x28f702['tableId']??_0x5b3a90(0x6);return _0x3c3c0f['syncExecuteCommand'](_0x56a665['id'],{..._0x28f702,'unitId':this[_0x200679(0xf6)](),'values':_0x2a116a,'tableId':_0x293f6c})?this[_0x200679(0x100)](_0x293f6c,_0x28f702['segmentId']??''):null;}['_getTables'](_0x19fb92=''){const _0x25c9be=_0xae94f7;let {tables:_0x6c9b42=[]}=this[_0x25c9be(0x10f)](_0x19fb92);return _0x6c9b42;}[_0xae94f7(0x118)](_0x12e165=''){const _0x9eae7b=_0xae94f7;let _0x5d1a2b=this[_0x9eae7b(0xf9)]()[_0x9eae7b(0x19e)]();return _0x12e165?{...this['getDocumentDataModel'](_0x12e165)[_0x9eae7b(0x19e)](),'documentStyle':_0x5d1a2b['documentStyle'],'tableSource':_0x5d1a2b['tableSource']}:_0x5d1a2b;}[_0xae94f7(0x100)](_0x1da6e6,_0x22d7a7=''){const _0x996af7=_0xae94f7;return this['_injector'][_0x996af7(0x167)]($,this,_0x1da6e6,_0x22d7a7);}[_0xae94f7(0x14f)](_0x287b0b,_0x194ca3,_0x45f24b){const _0x10a239=_0xae94f7;var _0x29d5e4;let _0x139b00=_0x32dd55(_0x287b0b,_0x194ca3);if(!_0x139b00)return!0x1;let _0x3a1c1f=(_0x29d5e4=_0x287b0b[_0x10a239(0x174)])==null?void 0x0:_0x29d5e4[_0x10a239(0x12c)];return _0x3a1c1f?_0x3a1c1f[_0x10a239(0x187)](_0x139b00[_0x10a239(0x1ab)],_0x139b00[_0x10a239(0x1a5)])[_0x10a239(0x193)](_0x45f24b):!0x1;}[_0xae94f7(0x129)](_0x4a38dc,_0x3081ef,_0x198d4d){const _0xfc8bcb=_0xae94f7;return Array['from']({'length':_0x4a38dc['getColumnCount']()},(_0x3b8213,_0x25f29c)=>_0x4a38dc[_0xfc8bcb(0x16a)](_0x3081ef,_0x25f29c))[_0xfc8bcb(0x168)](_0x5a49cd=>_0x5a49cd[_0xfc8bcb(0x193)](_0x198d4d));}};_0x3622ec[_0xae94f7(0x151)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|
|
1
|
+
const _0x4036a9=_0x32cb;(function(_0x20f3f0,_0x5b7b07){const _0x42c176=_0x32cb,_0x5cb2b2=_0x20f3f0();while(!![]){try{const _0x34473b=parseInt(_0x42c176(0x20e))/0x1+-parseInt(_0x42c176(0x24b))/0x2*(parseInt(_0x42c176(0x227))/0x3)+parseInt(_0x42c176(0x1fe))/0x4+-parseInt(_0x42c176(0x1ec))/0x5*(parseInt(_0x42c176(0x1ab))/0x6)+-parseInt(_0x42c176(0x1ac))/0x7*(parseInt(_0x42c176(0x234))/0x8)+parseInt(_0x42c176(0x1f2))/0x9+parseInt(_0x42c176(0x1f0))/0xa*(parseInt(_0x42c176(0x1cf))/0xb);if(_0x34473b===_0x5b7b07)break;else _0x5cb2b2['push'](_0x5cb2b2['shift']());}catch(_0x29edf5){_0x5cb2b2['push'](_0x5cb2b2['shift']());}}}(_0x53f1,0x7b60c));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x34e26c,DocsTableBorderPreset as _0x2156ac,DocsTableColumnInsertPosition as _0xf79bc,DocsTableColumnType as _0x67be16,DocsTableDeleteColumnsCommand as _0x49cc55,DocsTableDeleteRowsCommand as _0x2a1250,DocsTableDeleteTableCommand as _0x4fc161,DocsTableInsertPosition as _0x1d57e5,DocsTableInsertTableCommand as _0xddb132,DocsTableInsertTablePosition as _0x4d11f6,DocsTableModel as _0x2c557a,DocsTableRowInsertPosition as _0x2664f3,DocsTableSelectionKind as _0x157e62,DocsTableSelectionService as _0x4e85cf,DocsTableSortDirection as _0x19b610,buildDistributeTableColumnsMutationActions as _0x147d93,buildDistributeTableRowsMutationActions as _0x4d0c44,buildInsertTableColumnsMutationActions as _0x2a6322,buildInsertTableRowsMutationActions as _0x402628,buildInsertTableTitleRowMutationActions as _0x1e1018,buildMergeCellsMutationActions as _0x171bb4,buildMoveFloatingTableMutationActions as _0x192d58,buildMoveTableColumnsMutationActions as _0x2be81f,buildMoveTableRowsMutationActions as _0x4895b8,buildMoveTableToOffsetMutationActions as _0x266814,buildResizeTableColumnActionsFromWidth as _0x4b322e,buildResizeTableRowActionsFromHeight as _0x14db2a,buildSetTableBackgroundMutationActions as _0x5635b4,buildSetTableBorderMutationActions as _0x356f5b,buildSetTableCellMarginMutationActions as _0x547277,buildSetTableCellTextMutationActions as _0x2e8320,buildSetTableDefaultCellMarginMutationActions as _0x2cd113,buildSetTableHeaderRowCountMutationActions as _0x20f357,buildSortTableMutationActions as _0x4612a6,buildUnmergeCellsMutationActions as _0x376098,executeRichTextTableActions as _0x116d8f,getTableActionBodyPath as _0x57b371,getTableRangeById as _0xbce39b}from'@univerjs-pro/docs-table';import{DashStyleType as _0x1ddec5,ICommandService as _0x3029fa,Inject as _0x11f1a5,Injector as _0xbdc167,TableRowHeightRule as _0x530e11,Tools as _0x3c5dc4,generateRandomId as _0x446707}from'@univerjs/core';import{FEnum as _0x2a5558}from'@univerjs/core/facade';import{FDocument as _0x598394}from'@univerjs/docs/facade';function _0x53f1(){const _0x5d70b2=['map','getCellInsertOffset','getHeaderRowCount','unmergeCells','rows','setMargin','selectRange','replace','Table','setColumnWidth','getSnapshot','getDocumentDataModel','defineProperty','setCellMargin','appendColumn','selectColumns','_unitId','insertColumnBefore','tableColumns','function','endOffset','tableSource','Left','dataStream','_mutateActions','get','55hcYjbS','decorate','from','getCellMargin','getRowsRange','titleRow','DocsTableBorderPreset','moveRows','#1f1f1f','getSource','body','_getTableDocumentData','_document','_getBodyPath','setHeaderRowCount','_createFDocumentTable','getStableTableSelection','slice','getCellRange','Below','DocsTableInsertTablePosition','setTableBorder','_tableContainsText','moveTableBy','getColumnIndex','getId','deleteTable','constructor','getCellContentRange','25910NezMkP','setStructuralSelection','sortByColumn','symbol','2192140Usamvd','preset','6236667OoswRN','getColumnsRange','getCellText','Above','getRowCount','_column','tableId','mergeCells','getColumnCount','border','getSegmentId','type','3013556CTIMkO','describe','startOffset','filter','setCellBackground','getTableMetadata','segmentId','documentStyle','getTableRange','moveColumns','extend','insertColumnsAfter','deleteRows','object','AT_LEAST','backgroundColor','504167ZfsaSZ','setText','getCellMarginOverride','Right','selectColumn','DocsTableSortDirection','setTitleRow','_commandService','insertTableFromData','distributeRows','_row','unmerge','length','max','includes','createInstance','getColumnRange','insertRowAfter','insertColumnAfter','setBackgroundColor','deepClone','getBody','distributeColumns','moveTableToOffset','hasTitleRow','1344453bOGhER','getMarginOverride','setDefaultCellMargin','_getDocumentData','insertColumnsBefore','size','_segmentId','_injector','getTables','call','getMargin','appendRow','DocsTableRowInsertPosition','156088bOkKdU','_tableId','Column','getCell','string','margin','setBorder','insertRowBefore','findTables','_rowContainsText','columnTypes','DashStyleType','headerText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','tableCells','setCellText','some','setTableStyle','findTableByText','cells','getRowIndex','text','trHeight','4VdnKUP','titleText','setRowHeight','actions','All','_table','cellMargin','default','SOLID','insertTitleRow','width','getText','tableRows','syncExecuteCommand','_serializeModel','serialize','pinHeaderRows','888qPIEzY','315kpwwlc','Row','deleteColumns','_getTables','getTableAtSelection','getTable','getMetadata','setTableBackground','moveRow'];_0x53f1=function(){return _0x5d70b2;};return _0x53f1();}var K=class extends _0x2a5558{get[_0x4036a9(0x1e3)](){return _0x4d11f6;}get['DocsTableColumnType'](){return _0x67be16;}get['DocsTableSelectionKind'](){return _0x157e62;}get[_0x4036a9(0x233)](){return _0x2664f3;}get['DocsTableColumnInsertPosition'](){return _0xf79bc;}get[_0x4036a9(0x1d5)](){return _0x2156ac;}get[_0x4036a9(0x213)](){return _0x19b610;}get[_0x4036a9(0x23f)](){return _0x1ddec5;}};_0x2a5558[_0x4036a9(0x208)](K);var q=class{constructor(_0x55e403,_0x551e9c,_0x3f733a){const _0x81fc52=_0x4036a9;this[_0x81fc52(0x250)]=_0x55e403,this[_0x81fc52(0x218)]=_0x551e9c,this[_0x81fc52(0x1f7)]=_0x3f733a;}[_0x4036a9(0x1b1)](){const _0x39645c=_0x4036a9;return this[_0x39645c(0x250)];}[_0x4036a9(0x248)](){return this['_row'];}[_0x4036a9(0x1e7)](){return this['_column'];}[_0x4036a9(0x1a5)](){const _0x1c0bb9=_0x4036a9;return this[_0x1c0bb9(0x250)][_0x1c0bb9(0x1f4)](this['_row'],this[_0x1c0bb9(0x1f7)]);}['getContentRange'](){const _0x26b69f=_0x4036a9;return this[_0x26b69f(0x250)][_0x26b69f(0x1eb)](this['_row'],this['_column']);}['getInsertOffset'](){const _0x5ad464=_0x4036a9;return this[_0x5ad464(0x250)][_0x5ad464(0x1b6)](this[_0x5ad464(0x218)],this[_0x5ad464(0x1f7)]);}[_0x4036a9(0x231)](){const _0x4d6272=_0x4036a9;return this[_0x4d6272(0x250)]['getCellMargin'](this[_0x4d6272(0x218)],this[_0x4d6272(0x1f7)]);}[_0x4036a9(0x228)](){const _0x625376=_0x4036a9;return this[_0x625376(0x250)][_0x625376(0x210)](this[_0x625376(0x218)],this[_0x625376(0x1f7)]);}[_0x4036a9(0x1ba)](_0xfe0e6e){const _0x48fa07=_0x4036a9;return this[_0x48fa07(0x250)][_0x48fa07(0x1c2)](this[_0x48fa07(0x250)][_0x48fa07(0x1e1)](this[_0x48fa07(0x218)],this[_0x48fa07(0x1f7)]),_0xfe0e6e);}['clearMarginOverride'](){const _0x418381=_0x4036a9;return this[_0x418381(0x250)]['setCellMargin'](this[_0x418381(0x250)][_0x418381(0x1e1)](this['_row'],this[_0x418381(0x1f7)]),null);}[_0x4036a9(0x20f)](_0x46d5de){const _0x3bd5e8=_0x4036a9;return this[_0x3bd5e8(0x250)][_0x3bd5e8(0x243)](this[_0x3bd5e8(0x218)],this[_0x3bd5e8(0x1f7)],_0x46d5de);}[_0x4036a9(0x221)](_0x50d608){const _0x4901d1=_0x4036a9;return this['_table']['setCellBackground'](this[_0x4901d1(0x250)]['getCellRange'](this[_0x4901d1(0x218)],this[_0x4901d1(0x1f7)]),_0x50d608);}['setBorder'](_0x8cf0da){const _0x5f2701=_0x4036a9;return this[_0x5f2701(0x250)]['setBorder'](this['_table'][_0x5f2701(0x1e1)](this['_row'],this['_column']),_0x8cf0da);}['mergeTo'](_0x185ab7,_0x46ad71){const _0x442711=_0x4036a9;return this[_0x442711(0x250)][_0x442711(0x1f9)]({'startRow':this[_0x442711(0x218)],'startColumn':this['_column'],'endRow':this[_0x442711(0x218)]+_0x185ab7-0x1,'endColumn':this[_0x442711(0x1f7)]+_0x46ad71-0x1});}[_0x4036a9(0x219)](){const _0x599320=_0x4036a9;return this[_0x599320(0x250)][_0x599320(0x1b8)](this[_0x599320(0x250)][_0x599320(0x1e1)](this[_0x599320(0x218)],this[_0x599320(0x1f7)]));}};function J(_0x2942e4){'@babel/helpers - typeof';const _0x54a080=_0x4036a9;return J=typeof Symbol==_0x54a080(0x1c8)&&typeof Symbol['iterator']==_0x54a080(0x1ef)?function(_0x5ab14d){return typeof _0x5ab14d;}:function(_0x1eab68){const _0x460348=_0x54a080;return _0x1eab68&&typeof Symbol==_0x460348(0x1c8)&&_0x1eab68[_0x460348(0x1ea)]===Symbol&&_0x1eab68!==Symbol['prototype']?_0x460348(0x1ef):typeof _0x1eab68;},J(_0x2942e4);}function Y(_0x19c3ea,_0x243196){const _0x3e3314=_0x4036a9;if(J(_0x19c3ea)!=_0x3e3314(0x20b)||!_0x19c3ea)return _0x19c3ea;var _0x5f20d6=_0x19c3ea[Symbol['toPrimitive']];if(_0x5f20d6!==void 0x0){var _0x44ff24=_0x5f20d6[_0x3e3314(0x230)](_0x19c3ea,_0x243196||_0x3e3314(0x252));if(J(_0x44ff24)!='object')return _0x44ff24;throw TypeError(_0x3e3314(0x241));}return(_0x243196===_0x3e3314(0x238)?String:Number)(_0x19c3ea);}function X(_0x26d2c8){const _0xa93998=_0x4036a9;var _0x461820=Y(_0x26d2c8,_0xa93998(0x238));return J(_0x461820)==_0xa93998(0x1ef)?_0x461820:_0x461820+'';}function _0x32cb(_0x34c979,_0x2ef4c2){_0x34c979=_0x34c979-0x1a3;const _0x53f190=_0x53f1();let _0x32cb59=_0x53f190[_0x34c979];return _0x32cb59;}function Z(_0x506f91,_0x4c7d25,_0x21939b){const _0x3d8293=_0x4036a9;return(_0x4c7d25=X(_0x4c7d25))in _0x506f91?Object[_0x3d8293(0x1c1)](_0x506f91,_0x4c7d25,{'value':_0x21939b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x506f91[_0x4c7d25]=_0x21939b,_0x506f91;}function Q(_0x1c1e4d,_0x325d0e){return function(_0x584e2f,_0x30f1bf){_0x325d0e(_0x584e2f,_0x30f1bf,_0x1c1e4d);};}function te(_0x5963e1,_0x334e29,_0x13b1ea,_0x2cdca3){const _0x5c3547=_0x4036a9;var _0x2198f4=arguments['length'],_0x39cf53=_0x2198f4<0x3?_0x334e29:_0x2cdca3===null?_0x2cdca3=Object['getOwnPropertyDescriptor'](_0x334e29,_0x13b1ea):_0x2cdca3,_0x57827c;if(typeof Reflect==_0x5c3547(0x20b)&&typeof Reflect[_0x5c3547(0x1d0)]==_0x5c3547(0x1c8))_0x39cf53=Reflect['decorate'](_0x5963e1,_0x334e29,_0x13b1ea,_0x2cdca3);else{for(var _0x438ba5=_0x5963e1[_0x5c3547(0x21a)]-0x1;_0x438ba5>=0x0;_0x438ba5--)(_0x57827c=_0x5963e1[_0x438ba5])&&(_0x39cf53=(_0x2198f4<0x3?_0x57827c(_0x39cf53):_0x2198f4>0x3?_0x57827c(_0x334e29,_0x13b1ea,_0x39cf53):_0x57827c(_0x334e29,_0x13b1ea))||_0x39cf53);}return _0x2198f4>0x3&&_0x39cf53&&Object['defineProperty'](_0x334e29,_0x13b1ea,_0x39cf53),_0x39cf53;}let $=class{constructor(_0x3d7123,_0x1af0dd,_0x3e220a,_0x15f812,_0xb272c0){const _0xb4c359=_0x4036a9;this[_0xb4c359(0x1db)]=_0x3d7123,this[_0xb4c359(0x235)]=_0x1af0dd,this[_0xb4c359(0x22d)]=_0x3e220a,this[_0xb4c359(0x215)]=_0x15f812,this[_0xb4c359(0x22e)]=_0xb272c0,Z(this,_0xb4c359(0x1c5),void 0x0),this[_0xb4c359(0x1c5)]=this[_0xb4c359(0x1db)][_0xb4c359(0x1e8)]();}[_0x4036a9(0x1e8)](){return this['_tableId'];}[_0x4036a9(0x1fc)](){const _0x29f7da=_0x4036a9;return this[_0x29f7da(0x22d)];}['getInfo'](){const _0x1dbb2e=_0x4036a9;return{'id':this[_0x1dbb2e(0x235)],'rowCount':this['getRowCount'](),'columnCount':this[_0x1dbb2e(0x1fa)](),'metadata':this[_0x1dbb2e(0x1b2)](),'source':this[_0x1dbb2e(0x1d8)]()};}[_0x4036a9(0x1ff)](){const _0x3f3891=_0x4036a9;let _0xc844b5=this['getMetadata'](),_0xdcf11f=this['getSource'](),_0x48d9e0=this[_0x3f3891(0x1fa)]();return{'id':this['_tableId'],'rowCount':this[_0x3f3891(0x1f6)](),'columnCount':_0x48d9e0,'headerRowCount':(_0xc844b5==null?void 0x0:_0xc844b5['headerRowCount'])??0x0,'titleRow':(_0xc844b5==null?void 0x0:_0xc844b5['titleRow'])??!0x1,'columns':Array[_0x3f3891(0x1d1)]({'length':_0x48d9e0},(_0xf3ba26,_0x4ad24b)=>{const _0x487b38=_0x3f3891;var _0x25a843,_0x1c6b6f;return{'index':_0x4ad24b,'type':_0xc844b5==null||(_0x25a843=_0xc844b5[_0x487b38(0x23e)])==null||(_0x25a843=_0x25a843[_0x4ad24b])==null?void 0x0:_0x25a843[_0x487b38(0x1fd)],'width':_0xdcf11f==null||(_0x1c6b6f=_0xdcf11f[_0x487b38(0x1c7)][_0x4ad24b])==null?void 0x0:_0x1c6b6f[_0x487b38(0x22c)][_0x487b38(0x1a4)]['v']};}),'sampleRows':Array[_0x3f3891(0x1d1)]({'length':this['getRowCount']()},(_0x2114d3,_0x59e235)=>Array['from']({'length':_0x48d9e0},(_0x4d753c,_0x4c7c9f)=>this[_0x3f3891(0x1f4)](_0x59e235,_0x4c7c9f)))[_0x3f3891(0x201)](_0x323fe8=>_0x323fe8[_0x3f3891(0x244)](_0x4580e8=>_0x4580e8['length']>0x0))[_0x3f3891(0x1e0)](0x0,0x5)};}[_0x4036a9(0x1f6)](){const _0x18f751=_0x4036a9;var _0x267795;return((_0x267795=this[_0x18f751(0x1d8)]())==null?void 0x0:_0x267795[_0x18f751(0x1a6)]['length'])??0x0;}[_0x4036a9(0x1fa)](){const _0x9e78b7=_0x4036a9;var _0x2e99b8;return((_0x2e99b8=this[_0x9e78b7(0x1d8)]())==null?void 0x0:_0x2e99b8[_0x9e78b7(0x1c7)][_0x9e78b7(0x21a)])??0x0;}[_0x4036a9(0x237)](_0x1699d2,_0x313683){const _0xe589db=_0x4036a9;var _0x3808b;return(_0x3808b=this['getSource']())!=null&&(_0x3808b=_0x3808b[_0xe589db(0x1a6)][_0x1699d2])!=null&&_0x3808b[_0xe589db(0x242)][_0x313683]?this['_injector'][_0xe589db(0x21d)](q,this,_0x1699d2,_0x313683):null;}[_0x4036a9(0x1f4)](_0x548260,_0x22f1fa){const _0xcce43f=_0x4036a9;var _0x14853a,_0x52c461;let _0x14c904=(_0x14853a=_0xbce39b(this[_0xcce43f(0x22a)](),this[_0xcce43f(0x235)]))==null||(_0x14853a=_0x14853a[_0xcce43f(0x1b9)][_0x548260])==null?void 0x0:_0x14853a[_0xcce43f(0x247)][_0x22f1fa];return _0x14c904?((_0x52c461=this[_0xcce43f(0x22a)]()[_0xcce43f(0x1d9)])==null?void 0x0:_0x52c461[_0xcce43f(0x1cc)][_0xcce43f(0x1e0)](_0x14c904[_0xcce43f(0x200)]+0x1,_0x14c904['endOffset'])[_0xcce43f(0x1bc)](/\r\n$/,''))??'':'';}[_0x4036a9(0x1d2)](_0x5735fc,_0x35c9c6){const _0x51e12c=_0x4036a9;var _0x2b3f7e;let _0x131ab4=this['getSource'](),_0x23e54f=_0x131ab4==null||(_0x2b3f7e=_0x131ab4['tableRows'][_0x5735fc])==null?void 0x0:_0x2b3f7e[_0x51e12c(0x242)][_0x35c9c6];return _0x23e54f?_0x3c5dc4[_0x51e12c(0x222)](_0x23e54f['margin']??_0x131ab4[_0x51e12c(0x251)]??_0x34e26c):null;}[_0x4036a9(0x210)](_0x54f519,_0x17d586){const _0x586be8=_0x4036a9;var _0x3b7afb;let _0x4933ae=(_0x3b7afb=this[_0x586be8(0x1d8)]())==null||(_0x3b7afb=_0x3b7afb[_0x586be8(0x1a6)][_0x54f519])==null?void 0x0:_0x3b7afb[_0x586be8(0x242)][_0x17d586];return _0x4933ae!=null&&_0x4933ae[_0x586be8(0x239)]?_0x3c5dc4[_0x586be8(0x222)](_0x4933ae[_0x586be8(0x239)]):null;}['getDefaultCellMargin'](){const _0xfa4f28=_0x4036a9;var _0x2cbb8f;return _0x3c5dc4[_0xfa4f28(0x222)](((_0x2cbb8f=this[_0xfa4f28(0x1d8)]())==null?void 0x0:_0x2cbb8f['cellMargin'])??_0x34e26c);}['getDefaultCellMarginOverride'](){const _0x634414=_0x4036a9;var _0x129f60;let _0x2ca8f1=(_0x129f60=this['getSource']())==null?void 0x0:_0x129f60[_0x634414(0x251)];return _0x2ca8f1?_0x3c5dc4['deepClone'](_0x2ca8f1):null;}[_0x4036a9(0x1b2)](){const _0x41588a=_0x4036a9;return this[_0x41588a(0x22e)]['get'](_0x2c557a)[_0x41588a(0x203)](this['_unitId'],this[_0x41588a(0x235)]);}[_0x4036a9(0x1d8)](){const _0x1fe199=_0x4036a9;var _0x1dbb64;return(_0x1dbb64=this[_0x1fe199(0x22a)]()[_0x1fe199(0x1ca)])==null?void 0x0:_0x1dbb64[this[_0x1fe199(0x235)]];}['getRange'](){const _0x57be3d=_0x4036a9;return _0xbce39b(this[_0x57be3d(0x22a)](),this[_0x57be3d(0x235)]);}[_0x4036a9(0x206)](){const _0x371789=_0x4036a9;return{'startRow':0x0,'endRow':Math[_0x371789(0x21b)](0x0,this[_0x371789(0x1f6)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x371789(0x21b)](0x0,this[_0x371789(0x1fa)]()-0x1)};}[_0x4036a9(0x1e1)](_0x56b0ad,_0x726204){return{'startRow':_0x56b0ad,'endRow':_0x56b0ad,'startColumn':_0x726204,'endColumn':_0x726204};}[_0x4036a9(0x1eb)](_0x1e883a,_0x363793){const _0x3d01e2=_0x4036a9;var _0x13d674;let _0x5849ab=(_0x13d674=_0xbce39b(this[_0x3d01e2(0x22a)](),this[_0x3d01e2(0x235)]))==null||(_0x13d674=_0x13d674['rows'][_0x1e883a])==null?void 0x0:_0x13d674[_0x3d01e2(0x247)][_0x363793];if(!_0x5849ab)return null;let _0x114355=_0x5849ab[_0x3d01e2(0x200)]+0x1;return{'startOffset':_0x114355,'endOffset':Math[_0x3d01e2(0x21b)](_0x114355,_0x5849ab[_0x3d01e2(0x1c9)]-0x1),'segmentId':this[_0x3d01e2(0x22d)]};}[_0x4036a9(0x1b6)](_0x19016a,_0x2cf767){const _0x36d116=_0x4036a9;let _0x5a8d70=this[_0x36d116(0x1eb)](_0x19016a,_0x2cf767);return _0x5a8d70?Math['max'](_0x5a8d70[_0x36d116(0x200)],_0x5a8d70[_0x36d116(0x1c9)]-0x1):null;}['getRowRange'](_0x241a6e){const _0x459b76=_0x4036a9;return this[_0x459b76(0x1d3)](_0x241a6e,0x1);}['getRowsRange'](_0x5ad882,_0x43d7e3=0x1){const _0xde40fa=_0x4036a9;return{'startRow':_0x5ad882,'endRow':_0x5ad882+_0x43d7e3-0x1,'startColumn':0x0,'endColumn':Math[_0xde40fa(0x21b)](0x0,this[_0xde40fa(0x1fa)]()-0x1)};}[_0x4036a9(0x21e)](_0x51a5dd){const _0x85df96=_0x4036a9;return this[_0x85df96(0x1f3)](_0x51a5dd,0x1);}[_0x4036a9(0x1f3)](_0x2d1e9b,_0x4a60f3=0x1){const _0x47db65=_0x4036a9;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x47db65(0x1f6)]()-0x1),'startColumn':_0x2d1e9b,'endColumn':_0x2d1e9b+_0x4a60f3-0x1};}['selectTable'](){const _0x317a4d=_0x4036a9;return this[_0x317a4d(0x1bb)](this[_0x317a4d(0x206)](),_0x157e62[_0x317a4d(0x1bd)]);}['selectRow'](_0x585f31){return this['selectRows'](_0x585f31,0x1);}['selectRows'](_0x5fc645,_0x472e61=0x1){const _0xc8417e=_0x4036a9;return this[_0xc8417e(0x1bb)](this['getRowsRange'](_0x5fc645,_0x472e61),_0x157e62[_0xc8417e(0x1ad)]);}[_0x4036a9(0x212)](_0x3f9b01){const _0x44644b=_0x4036a9;return this[_0x44644b(0x1c4)](_0x3f9b01,0x1);}[_0x4036a9(0x1c4)](_0x5c08ac,_0x252c07=0x1){const _0x10b9b0=_0x4036a9;return this[_0x10b9b0(0x1bb)](this[_0x10b9b0(0x1f3)](_0x5c08ac,_0x252c07),_0x157e62[_0x10b9b0(0x236)]);}['selectCell'](_0x1faf6f,_0x10951d){const _0x155146=_0x4036a9;return this[_0x155146(0x1bb)](this[_0x155146(0x1e1)](_0x1faf6f,_0x10951d),_0x157e62['Cell']);}['selectRange'](_0x52a244,_0x3b0047=_0x157e62['Range']){const _0x5757a0=_0x4036a9;return this[_0x5757a0(0x22e)]['get'](_0x4e85cf)[_0x5757a0(0x1ed)]({..._0x52a244,'kind':_0x3b0047,'segmentId':this[_0x5757a0(0x22d)],'tableId':this[_0x5757a0(0x235)]}),!0x0;}[_0x4036a9(0x23b)](_0x4b5592){return this['insertRowsBefore'](_0x4b5592,0x1);}[_0x4036a9(0x21f)](_0x27e2da){return this['insertRowsAfter'](_0x27e2da,0x1);}['insertRowsBefore'](_0x274941,_0x2ba0c5){const _0x91cd23=_0x4036a9;let _0xf2d219=this[_0x91cd23(0x22a)](),_0x2cf96b=_0x402628(_0xf2d219,this['_tableId'],_0x274941,_0x2ba0c5,_0x1d57e5[_0x91cd23(0x1f5)],this[_0x91cd23(0x1dc)]());return _0x2cf96b?this[_0x91cd23(0x1cd)](_0xf2d219,_0x2cf96b[_0x91cd23(0x24e)]):!0x1;}['insertRowsAfter'](_0x8e9f92,_0x4be148){const _0x30058a=_0x4036a9;let _0x2af95d=this['_getDocumentData'](),_0x135be1=_0x402628(_0x2af95d,this['_tableId'],_0x8e9f92,_0x4be148,_0x1d57e5[_0x30058a(0x1e2)],this[_0x30058a(0x1dc)]());return _0x135be1?this[_0x30058a(0x1cd)](_0x2af95d,_0x135be1[_0x30058a(0x24e)]):!0x1;}[_0x4036a9(0x232)](){const _0x1ede92=_0x4036a9;return this['insertRowsAfter'](Math[_0x1ede92(0x21b)](0x0,this[_0x1ede92(0x1f6)]()-0x1),0x1);}[_0x4036a9(0x1c6)](_0x34c085){const _0x274b36=_0x4036a9;return this[_0x274b36(0x22b)](_0x34c085,0x1);}[_0x4036a9(0x220)](_0x3941ac){return this['insertColumnsAfter'](_0x3941ac,0x1);}[_0x4036a9(0x22b)](_0x5de0b0,_0x35a128){const _0x51c4cf=_0x4036a9;let _0x52cb74=this[_0x51c4cf(0x22a)](),_0x465737=_0x2a6322(_0x52cb74,this[_0x51c4cf(0x235)],_0x5de0b0,_0x35a128,_0x1d57e5[_0x51c4cf(0x1cb)],{'bodyPath':this['_getBodyPath']()});return _0x465737?this[_0x51c4cf(0x1cd)](_0x52cb74,_0x465737[_0x51c4cf(0x24e)]):!0x1;}[_0x4036a9(0x209)](_0x2121c5,_0x405d1b){const _0x4d7163=_0x4036a9;let _0x264bfb=this['_getDocumentData'](),_0x16ccc=_0x2a6322(_0x264bfb,this[_0x4d7163(0x235)],_0x2121c5,_0x405d1b,_0x1d57e5[_0x4d7163(0x211)],{'bodyPath':this[_0x4d7163(0x1dc)]()});return _0x16ccc?this['_mutateActions'](_0x264bfb,_0x16ccc['actions']):!0x1;}[_0x4036a9(0x1c3)](){const _0x4436e7=_0x4036a9;return this[_0x4436e7(0x209)](Math[_0x4436e7(0x21b)](0x0,this[_0x4436e7(0x1fa)]()-0x1),0x1);}['deleteRow'](_0x43c9c0){const _0x1163e3=_0x4036a9;return this[_0x1163e3(0x20a)](_0x43c9c0,0x1);}[_0x4036a9(0x20a)](_0x459493,_0x699b0f=0x1){const _0x325d2c=_0x4036a9;return!!this[_0x325d2c(0x215)][_0x325d2c(0x1a7)](_0x2a1250['id'],{'endRow':_0x459493+_0x699b0f-0x1,'segmentId':this[_0x325d2c(0x22d)],'startRow':_0x459493,'tableId':this[_0x325d2c(0x235)],'unitId':this[_0x325d2c(0x1c5)]});}['deleteColumn'](_0x2baca9){const _0x339003=_0x4036a9;return this[_0x339003(0x1ae)](_0x2baca9,0x1);}['deleteColumns'](_0x5d04cb,_0xd33d0e=0x1){const _0x5e82e1=_0x4036a9;return!!this[_0x5e82e1(0x215)]['syncExecuteCommand'](_0x49cc55['id'],{'endColumn':_0x5d04cb+_0xd33d0e-0x1,'segmentId':this[_0x5e82e1(0x22d)],'startColumn':_0x5d04cb,'tableId':this[_0x5e82e1(0x235)],'unitId':this[_0x5e82e1(0x1c5)]});}[_0x4036a9(0x1e9)](){const _0x3892f0=_0x4036a9;return!!this['_commandService'][_0x3892f0(0x1a7)](_0x4fc161['id'],{'segmentId':this[_0x3892f0(0x22d)],'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x4036a9(0x1e6)](_0x478135,_0x437a32){const _0x5a8b0f=_0x4036a9;let _0x3be725=this[_0x5a8b0f(0x22a)]();return this['_mutateActions'](_0x3be725,_0x192d58(_0x3be725,this[_0x5a8b0f(0x235)],_0x478135,_0x437a32));}[_0x4036a9(0x225)](_0x4fa0e9){const _0x44fd19=_0x4036a9;let _0x71062f=this['_getDocumentData']();return this['_mutateActions'](_0x71062f,_0x266814(_0x71062f,this[_0x44fd19(0x235)],_0x4fa0e9,this[_0x44fd19(0x1dc)]()));}[_0x4036a9(0x1b4)](_0x41887d,_0x3affd5,_0x49bd97=_0x1d57e5[_0x4036a9(0x1f5)]){return this['moveRows'](_0x41887d,0x1,_0x3affd5,_0x49bd97);}[_0x4036a9(0x1d6)](_0x272c5c,_0x1c637b,_0x3ac08c,_0x3c6e12=_0x1d57e5[_0x4036a9(0x1f5)]){const _0x5200eb=_0x4036a9;let _0x284763=this[_0x5200eb(0x22a)](),_0x10e739=_0x4895b8(_0x284763,this[_0x5200eb(0x235)],_0x272c5c,_0x3ac08c,_0x1c637b,_0x3c6e12,this[_0x5200eb(0x1dc)]());return _0x10e739?this[_0x5200eb(0x1cd)](_0x284763,_0x10e739[_0x5200eb(0x24e)]):!0x1;}['moveColumn'](_0x504e49,_0x414259,_0x98deb6=_0x1d57e5[_0x4036a9(0x1cb)]){const _0x2aaa9d=_0x4036a9;return this[_0x2aaa9d(0x207)](_0x504e49,0x1,_0x414259,_0x98deb6);}[_0x4036a9(0x207)](_0x1fd90a,_0x6f3d9d,_0xfb55a0,_0x208bac=_0x1d57e5[_0x4036a9(0x1cb)]){const _0x2b4e0b=_0x4036a9;let _0x22ef3f=this[_0x2b4e0b(0x22a)](),_0x3177ca=_0x2be81f(_0x22ef3f,this[_0x2b4e0b(0x235)],_0x1fd90a,_0xfb55a0,_0x6f3d9d,_0x208bac,this[_0x2b4e0b(0x1dc)]());return _0x3177ca?this[_0x2b4e0b(0x1cd)](_0x22ef3f,_0x3177ca[_0x2b4e0b(0x24e)]):!0x1;}[_0x4036a9(0x1f9)](_0x54e779){const _0x482fd0=_0x4036a9;try{let _0x3fe984=this[_0x482fd0(0x22a)](),_0x55ac24=_0x171bb4({'documentData':_0x3fe984,'tableId':this[_0x482fd0(0x235)],..._0x54e779});return _0x55ac24?this[_0x482fd0(0x1cd)](_0x3fe984,_0x55ac24[_0x482fd0(0x24e)],_0x54e779):!0x1;}catch{return!0x1;}}[_0x4036a9(0x1b8)](_0x180a40){const _0x316664=_0x4036a9;try{let _0x271afb=this[_0x316664(0x22a)](),_0x2f842f=_0x376098({'documentData':_0x271afb,'tableId':this[_0x316664(0x235)],..._0x180a40});return _0x2f842f?this[_0x316664(0x1cd)](_0x271afb,_0x2f842f[_0x316664(0x24e)],_0x180a40):!0x1;}catch{return!0x1;}}[_0x4036a9(0x243)](_0x263ae7,_0x4321b9,_0x457cfe){const _0x3bb5c9=_0x4036a9;let _0x3c1848=this[_0x3bb5c9(0x22a)](),_0x5d77b4=_0x57b371(this[_0x3bb5c9(0x1db)][_0x3bb5c9(0x1c0)]()[_0x3bb5c9(0x1bf)](),this[_0x3bb5c9(0x22d)]);return this[_0x3bb5c9(0x1cd)](_0x3c1848,_0x2e8320({'documentData':_0x3c1848,'tableId':this[_0x3bb5c9(0x235)],'row':_0x263ae7,'column':_0x4321b9,'text':_0x457cfe},_0x5d77b4),this[_0x3bb5c9(0x1e1)](_0x263ae7,_0x4321b9));}[_0x4036a9(0x202)](_0x47b8b4,_0x5ca0d4){const _0x334eaf=_0x4036a9;let _0x3a4843=this[_0x334eaf(0x22a)]();return this[_0x334eaf(0x1cd)](_0x3a4843,_0x5635b4(_0x3a4843,{'tableId':this[_0x334eaf(0x235)],..._0x47b8b4,'value':_0x5ca0d4}),_0x47b8b4);}[_0x4036a9(0x1c2)](_0x58085c,_0x2b7c16){const _0x434ce9=_0x4036a9;let _0x477009=this['_getDocumentData']();return this['_mutateActions'](_0x477009,_0x547277({'documentData':_0x477009,'tableId':this[_0x434ce9(0x235)],..._0x58085c,'margin':_0x2b7c16}),_0x58085c);}[_0x4036a9(0x229)](_0x30a21a){const _0x2b10e0=_0x4036a9;let _0x51293c=this[_0x2b10e0(0x22a)]();return this[_0x2b10e0(0x1cd)](_0x51293c,_0x2cd113(_0x51293c,this['_tableId'],_0x30a21a));}[_0x4036a9(0x23a)](_0x20b19e,_0x4658af){const _0x461a54=_0x4036a9;let _0x419668=this[_0x461a54(0x22a)]();return this['_mutateActions'](_0x419668,_0x356f5b({'documentData':_0x419668,'tableId':this['_tableId'],..._0x20b19e,'preset':_0x4658af[_0x461a54(0x1f1)]??_0x2156ac[_0x461a54(0x24f)],'border':_0x4658af[_0x461a54(0x1fb)]??{'color':{'rgb':_0x4658af['color']??_0x461a54(0x1d7)},'width':{'v':_0x4658af[_0x461a54(0x1a4)]??0x1},'dashStyle':_0x1ddec5[_0x461a54(0x253)]}}),_0x20b19e);}[_0x4036a9(0x1b3)](_0x177dc9){const _0x298270=_0x4036a9;return this[_0x298270(0x202)](this[_0x298270(0x206)](),_0x177dc9);}['setTableBorder'](_0x29a81d){const _0x54d737=_0x4036a9;return this[_0x54d737(0x23a)](this[_0x54d737(0x206)](),_0x29a81d);}[_0x4036a9(0x245)](_0x4169b4){const _0x44f745=_0x4036a9;let _0x28352e=!_0x4169b4[_0x44f745(0x20d)]||this['setTableBackground'](_0x4169b4[_0x44f745(0x20d)]),_0x27b8b3=!_0x4169b4[_0x44f745(0x1fb)]||this[_0x44f745(0x1e4)](_0x4169b4['border']);return _0x28352e&&_0x27b8b3;}[_0x4036a9(0x24d)](_0xc0a689,_0x34d72e,_0x6cda62=_0x530e11[_0x4036a9(0x20c)]){const _0x3b5348=_0x4036a9;var _0x5b191a;let _0x3f8a86=this[_0x3b5348(0x22a)]();return(_0x5b191a=_0x3f8a86[_0x3b5348(0x1ca)])!=null&&(_0x5b191a=_0x5b191a[this[_0x3b5348(0x235)]])!=null&&_0x5b191a[_0x3b5348(0x1a6)][_0xc0a689]?this['_mutateActions'](_0x3f8a86,_0x14db2a(_0x3f8a86,this['_tableId'],_0xc0a689,_0x34d72e,_0x6cda62)):!0x1;}['getRowHeight'](_0x1d159c){const _0x858914=_0x4036a9;var _0x27abf9;let _0x295e97=(_0x27abf9=this['getSource']())==null||(_0x27abf9=_0x27abf9['tableRows'][_0x1d159c])==null?void 0x0:_0x27abf9[_0x858914(0x24a)];return _0x295e97?_0x3c5dc4['deepClone'](_0x295e97):null;}[_0x4036a9(0x1be)](_0x42923a,_0x4f40a4){const _0x129e2a=_0x4036a9;var _0x5005a9;let _0x5899eb=this[_0x129e2a(0x22a)]();return(_0x5005a9=_0x5899eb[_0x129e2a(0x1ca)])!=null&&(_0x5005a9=_0x5005a9[this[_0x129e2a(0x235)]])!=null&&_0x5005a9[_0x129e2a(0x1c7)][_0x42923a]?this[_0x129e2a(0x1cd)](_0x5899eb,_0x4b322e(_0x5899eb,this[_0x129e2a(0x235)],_0x42923a,_0x4f40a4)):!0x1;}[_0x4036a9(0x217)](_0x14f5cb=0x0,_0x4c5932=this[_0x4036a9(0x1f6)]()){const _0x53dd71=_0x4036a9;let _0x40f57f=this[_0x53dd71(0x22a)]();return this[_0x53dd71(0x1cd)](_0x40f57f,_0x4d0c44(_0x40f57f,this['_tableId'],_0x14f5cb,_0x14f5cb+_0x4c5932-0x1));}[_0x4036a9(0x224)](_0x20e661=0x0,_0x5b809c=this[_0x4036a9(0x1fa)]()){const _0x179313=_0x4036a9;let _0x5cc3e8=this[_0x179313(0x22a)]();return this[_0x179313(0x1cd)](_0x5cc3e8,_0x147d93(_0x5cc3e8,this[_0x179313(0x235)],_0x20e661,_0x20e661+_0x5b809c-0x1));}[_0x4036a9(0x1b7)](){var _0x249e64;return((_0x249e64=this['getMetadata']())==null?void 0x0:_0x249e64['headerRowCount'])??0x0;}['setHeaderRowCount'](_0x4c4068){const _0x418e21=_0x4036a9;let _0xa4ae7a=this[_0x418e21(0x22e)][_0x418e21(0x1ce)](_0x2c557a),_0xef1270=this[_0x418e21(0x22a)](),_0x3243dd=_0x20f357(_0xef1270,this[_0x418e21(0x235)],_0x4c4068);if(!_0x3243dd)return!0x1;let _0x4beb82=this[_0x418e21(0x1cd)](_0xef1270,_0x3243dd[_0x418e21(0x24e)]);return _0x4beb82&&_0xa4ae7a[_0x418e21(0x1dd)](this[_0x418e21(0x1c5)],this[_0x418e21(0x235)],_0x3243dd['headerRowCount']),_0x4beb82;}[_0x4036a9(0x1aa)](_0xe986d){const _0x3836d8=_0x4036a9;return this[_0x3836d8(0x1dd)](_0xe986d);}[_0x4036a9(0x226)](){const _0x263938=_0x4036a9;var _0x11b8ae;return((_0x11b8ae=this[_0x263938(0x1b2)]())==null?void 0x0:_0x11b8ae[_0x263938(0x1d4)])??!0x1;}[_0x4036a9(0x1a3)](){const _0x38acc2=_0x4036a9;let _0xa8dd6e=this['_injector'][_0x38acc2(0x1ce)](_0x2c557a),_0x319904=this[_0x38acc2(0x22a)](),_0x95a75d=_0x1e1018(_0x319904,this[_0x38acc2(0x235)],this[_0x38acc2(0x1dc)]());if(!_0x95a75d)return!0x1;let _0x446d49=this[_0x38acc2(0x1cd)](_0x319904,_0x95a75d['actions']);return _0x446d49&&_0xa8dd6e[_0x38acc2(0x214)](this['_unitId'],this[_0x38acc2(0x235)],!0x0),_0x446d49;}['setColumnType'](_0x10a3cd,_0x57a035){const _0x5a107b=_0x4036a9;return this[_0x5a107b(0x22e)][_0x5a107b(0x1ce)](_0x2c557a)['setColumnType'](this[_0x5a107b(0x1c5)],this['_tableId'],_0x10a3cd,_0x57a035),!0x0;}[_0x4036a9(0x1ee)](_0x5bef08,_0x134af6){const _0x413df4=_0x4036a9;let _0x5414f7=this['_getDocumentData']();return this[_0x413df4(0x1cd)](_0x5414f7,_0x4612a6(_0x5414f7,this[_0x413df4(0x1a8)](),this[_0x413df4(0x235)],_0x5bef08,_0x134af6,this[_0x413df4(0x1dc)]()));}[_0x4036a9(0x22a)](){const _0x4dba1b=_0x4036a9;let _0x288ddd=this[_0x4dba1b(0x1db)][_0x4dba1b(0x1c0)]()[_0x4dba1b(0x1bf)]();return this[_0x4dba1b(0x22d)]?{...this[_0x4dba1b(0x1db)][_0x4dba1b(0x1c0)](this[_0x4dba1b(0x22d)])[_0x4dba1b(0x1bf)](),'documentStyle':_0x288ddd[_0x4dba1b(0x205)],'tableSource':_0x288ddd[_0x4dba1b(0x1ca)]}:_0x288ddd;}[_0x4036a9(0x1a8)](){const _0x2d05a8=_0x4036a9;return this[_0x2d05a8(0x22e)][_0x2d05a8(0x1ce)](_0x2c557a)[_0x2d05a8(0x1a9)](this[_0x2d05a8(0x1c5)]);}['_getBodyPath'](){const _0x4fffc1=_0x4036a9;return _0x57b371(this['_document']['getDocumentDataModel']()[_0x4fffc1(0x1bf)](),this[_0x4fffc1(0x22d)]);}['_mutateActions'](_0x5ae7c8,_0x498f02,_0xfc8f31){const _0x2785a6=_0x4036a9;return _0x116d8f(this[_0x2785a6(0x215)],this['_unitId'],_0x5ae7c8,_0x498f02,_0xfc8f31?{'tableId':this[_0x2785a6(0x235)],'segmentId':this[_0x2785a6(0x22d)],..._0xfc8f31}:void 0x0);}};$=te([Q(0x3,_0x3029fa),Q(0x4,_0x11f1a5(_0xbdc167))],$);var ne=class extends _0x598394{[_0x4036a9(0x22f)](_0x14c626=''){const _0x10f2f1=_0x4036a9;return this['_getTables'](_0x14c626)[_0x10f2f1(0x1b5)](_0x2e8012=>this[_0x10f2f1(0x1de)](_0x2e8012[_0x10f2f1(0x1f8)],_0x14c626));}['getTable'](_0x19942b,_0x386336=''){const _0x17c90e=_0x4036a9;return this['_getTables'](_0x386336)['some'](_0x125ee8=>_0x125ee8['tableId']===_0x19942b)?this[_0x17c90e(0x1de)](_0x19942b,_0x386336):null;}['getTableAt'](_0x38df92,_0x4d2b6d=''){const _0x2ad96b=_0x4036a9;var _0x3045da;let _0x549d25=(_0x3045da=this[_0x2ad96b(0x1af)](_0x4d2b6d)[_0x38df92])==null?void 0x0:_0x3045da[_0x2ad96b(0x1f8)];return _0x549d25?this[_0x2ad96b(0x1de)](_0x549d25,_0x4d2b6d):null;}[_0x4036a9(0x1b0)](){const _0x50f38f=_0x4036a9;let _0x3d875d=this[_0x50f38f(0x22e)][_0x50f38f(0x1ce)](_0x4e85cf)[_0x50f38f(0x1df)]();return _0x3d875d!=null&&_0x3d875d[_0x50f38f(0x1f8)]?this[_0x50f38f(0x1de)](_0x3d875d['tableId'],_0x3d875d[_0x50f38f(0x204)]):null;}[_0x4036a9(0x246)](_0xbefe74,_0x537a5c=''){const _0xd1973=_0x4036a9;return this[_0xd1973(0x23c)](_0xbefe74,_0x537a5c)[0x0]??null;}[_0x4036a9(0x23c)](_0x1df2fc,_0x3b471a=''){const _0x310227=_0x4036a9;let _0x21bbe4=this['_getTableDocumentData'](_0x3b471a),_0x5b03dc=typeof _0x1df2fc==_0x310227(0x238)?{'text':_0x1df2fc}:_0x1df2fc;return this[_0x310227(0x22f)](_0x3b471a)[_0x310227(0x201)](_0xfb188a=>{const _0x152026=_0x310227;let _0x32fd0f=_0xfb188a[_0x152026(0x1e8)]();return!(_0x5b03dc[_0x152026(0x1f8)]&&_0x32fd0f!==_0x5b03dc[_0x152026(0x1f8)]||_0x5b03dc[_0x152026(0x249)]&&!this[_0x152026(0x1e5)](_0x21bbe4,_0x32fd0f,_0x5b03dc[_0x152026(0x249)])||_0x5b03dc['headerText']&&!this[_0x152026(0x23d)](_0xfb188a,0x0,_0x5b03dc[_0x152026(0x240)])||_0x5b03dc[_0x152026(0x24c)]&&!this[_0x152026(0x23d)](_0xfb188a,0x0,_0x5b03dc[_0x152026(0x24c)]));});}['insertTable'](_0x2b66d8,_0x824a5d,_0x1c65b8={}){const _0x425562=_0x4036a9;let _0x59adb9=this[_0x425562(0x22e)][_0x425562(0x1ce)](_0x3029fa),_0x57b90=_0x1c65b8['tableId']??_0x446707(0x6);return _0x59adb9[_0x425562(0x1a7)](_0xddb132['id'],{..._0x1c65b8,'unitId':this[_0x425562(0x1e8)](),'rows':_0x2b66d8,'columns':_0x824a5d,'tableId':_0x57b90})?this[_0x425562(0x1de)](_0x57b90,_0x1c65b8['segmentId']??''):null;}[_0x4036a9(0x216)](_0x34d5e1,_0x54946f={}){const _0x5e14df=_0x4036a9;let _0x8811de=this[_0x5e14df(0x22e)][_0x5e14df(0x1ce)](_0x3029fa),_0x315797=_0x54946f[_0x5e14df(0x1f8)]??_0x446707(0x6);return _0x8811de[_0x5e14df(0x1a7)](_0xddb132['id'],{..._0x54946f,'unitId':this[_0x5e14df(0x1e8)](),'values':_0x34d5e1,'tableId':_0x315797})?this['_createFDocumentTable'](_0x315797,_0x54946f[_0x5e14df(0x204)]??''):null;}[_0x4036a9(0x1af)](_0x23dd9a=''){const _0x3eea1f=_0x4036a9;let {tables:_0x785b9d=[]}=this[_0x3eea1f(0x223)](_0x23dd9a);return _0x785b9d;}[_0x4036a9(0x1da)](_0x4f5154=''){const _0x5f00bb=_0x4036a9;let _0x4723b6=this['getDocumentDataModel']()[_0x5f00bb(0x1bf)]();return _0x4f5154?{...this[_0x5f00bb(0x1c0)](_0x4f5154)[_0x5f00bb(0x1bf)](),'documentStyle':_0x4723b6['documentStyle'],'tableSource':_0x4723b6['tableSource']}:_0x4723b6;}[_0x4036a9(0x1de)](_0x370d70,_0x295420=''){const _0x17a0ab=_0x4036a9;return this[_0x17a0ab(0x22e)][_0x17a0ab(0x21d)]($,this,_0x370d70,_0x295420);}[_0x4036a9(0x1e5)](_0x8d4758,_0x459f6c,_0xb74a2e){const _0x5473a4=_0x4036a9;var _0x1f2085;let _0x5433b=_0xbce39b(_0x8d4758,_0x459f6c);if(!_0x5433b)return!0x1;let _0x4ba199=(_0x1f2085=_0x8d4758[_0x5473a4(0x1d9)])==null?void 0x0:_0x1f2085[_0x5473a4(0x1cc)];return _0x4ba199?_0x4ba199[_0x5473a4(0x1e0)](_0x5433b['startOffset'],_0x5433b[_0x5473a4(0x1c9)])[_0x5473a4(0x21c)](_0xb74a2e):!0x1;}[_0x4036a9(0x23d)](_0x5be17e,_0x323713,_0x550442){const _0x3454ca=_0x4036a9;return Array[_0x3454ca(0x1d1)]({'length':_0x5be17e[_0x3454ca(0x1fa)]()},(_0x3491c0,_0x1fcaff)=>_0x5be17e[_0x3454ca(0x1f4)](_0x323713,_0x1fcaff))['some'](_0x7174e2=>_0x7174e2[_0x3454ca(0x21c)](_0x550442));}};_0x598394['extend'](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|