@univerjs-pro/docs-table 1.1.0 → 1.2.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/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0xcee175=_0x56d6;(function(_0x487b1f,_0x4b26ce){const _0x2fd4cf=_0x56d6,_0x28530f=_0x487b1f();while(!![]){try{const _0x577c47=-parseInt(_0x2fd4cf(0x121))/0x1+parseInt(_0x2fd4cf(0x18d))/0x2+-parseInt(_0x2fd4cf(0x163))/0x3+parseInt(_0x2fd4cf(0x17a))/0x4+-parseInt(_0x2fd4cf(0x1a6))/0x5*(-parseInt(_0x2fd4cf(0x1c1))/0x6)+-parseInt(_0x2fd4cf(0x16e))/0x7*(parseInt(_0x2fd4cf(0x12f))/0x8)+-parseInt(_0x2fd4cf(0x191))/0x9*(-parseInt(_0x2fd4cf(0x11a))/0xa);if(_0x577c47===_0x4b26ce)break;else _0x28530f['push'](_0x28530f['shift']());}catch(_0x5963da){_0x28530f['push'](_0x28530f['shift']());}}}(_0x1a2a,0xeecee));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x21745d,DocsTableBorderPreset as _0xf76c6a,DocsTableColumnInsertPosition as _0x59e0f0,DocsTableColumnType as _0x828d38,DocsTableDeleteColumnsCommand as _0x135ce2,DocsTableDeleteRowsCommand as _0x463552,DocsTableDeleteTableCommand as _0x229429,DocsTableInsertPosition as _0x50a60f,DocsTableInsertTableCommand as _0x2f63fe,DocsTableInsertTablePosition as _0xed90d4,DocsTableModel as _0x3c570c,DocsTableRowInsertPosition as _0x429a89,DocsTableSelectionKind as _0x5a36fd,DocsTableSelectionService as _0x52774c,DocsTableSortDirection as _0x2399e3,buildDistributeTableColumnsMutationActions as _0x54b594,buildDistributeTableRowsMutationActions as _0x5e0604,buildInsertTableColumnsMutationActions as _0x42f91b,buildInsertTableRowsMutationActions as _0x1ba735,buildInsertTableTitleRowMutationActions as _0x5909d2,buildMergeCellsMutationActions as _0x3aec2e,buildMoveFloatingTableMutationActions as _0x4e09e1,buildMoveTableColumnsMutationActions as _0x2792a3,buildMoveTableRowsMutationActions as _0x4341e1,buildMoveTableToOffsetMutationActions as _0x22c831,buildResizeTableColumnActionsFromWidth as _0x1922ab,buildResizeTableRowActionsFromHeight as _0x3a3c68,buildSetTableBackgroundMutationActions as _0x47f64e,buildSetTableBorderMutationActions as _0x71f82c,buildSetTableCellMarginMutationActions as _0x2652fa,buildSetTableCellTextMutationActions as _0x2655ab,buildSetTableDefaultCellMarginMutationActions as _0xfdd2fe,buildSetTableHeaderRowCountMutationActions as _0x1e4c1,buildSortTableMutationActions as _0x26bb83,buildUnmergeCellsMutationActions as _0x393d14,executeRichTextTableActions as _0x279883,getTableActionBodyPath as _0x3b5491,getTableRangeById as _0x4ba6c9}from'@univerjs-pro/docs-table';import{DashStyleType as _0x235af0,ICommandService as _0x227b4c,Inject as _0x7b97ec,Injector as _0x5e029d,TableRowHeightRule as _0x3ebc1c,Tools as _0x307248,generateRandomId as _0x563431}from'@univerjs/core';import{FEnum as _0x551883}from'@univerjs/core/facade';import{FDocument as _0x1ebdb5}from'@univerjs/docs/facade';var K=class extends _0x551883{get['DocsTableInsertTablePosition'](){return _0xed90d4;}get['DocsTableColumnType'](){return _0x828d38;}get[_0xcee175(0x172)](){return _0x5a36fd;}get[_0xcee175(0x137)](){return _0x429a89;}get['DocsTableColumnInsertPosition'](){return _0x59e0f0;}get['DocsTableBorderPreset'](){return _0xf76c6a;}get[_0xcee175(0x15e)](){return _0x2399e3;}get[_0xcee175(0x178)](){return _0x235af0;}};_0x551883['extend'](K);var q=class{constructor(_0x5b25e8,_0x6534f4,_0x9d2006){const _0x1ee556=_0xcee175;this[_0x1ee556(0x18a)]=_0x5b25e8,this['_row']=_0x6534f4,this['_column']=_0x9d2006;}[_0xcee175(0x156)](){return this['_table'];}[_0xcee175(0x196)](){const _0xa6a88=_0xcee175;return this[_0xa6a88(0x18f)];}[_0xcee175(0x184)](){const _0x22ea1e=_0xcee175;return this[_0x22ea1e(0x11b)];}[_0xcee175(0x151)](){const _0x14d5e3=_0xcee175;return this[_0x14d5e3(0x18a)][_0x14d5e3(0x1be)](this['_row'],this[_0x14d5e3(0x11b)]);}[_0xcee175(0x19a)](){const _0x2211b3=_0xcee175;return this[_0x2211b3(0x18a)][_0x2211b3(0x1b5)](this[_0x2211b3(0x18f)],this[_0x2211b3(0x11b)]);}[_0xcee175(0x194)](){const _0x461a3a=_0xcee175;return this[_0x461a3a(0x18a)][_0x461a3a(0x174)](this['_row'],this[_0x461a3a(0x11b)]);}['getMargin'](){const _0x2f8b78=_0xcee175;return this[_0x2f8b78(0x18a)][_0x2f8b78(0x124)](this[_0x2f8b78(0x18f)],this[_0x2f8b78(0x11b)]);}[_0xcee175(0x122)](){const _0x58da08=_0xcee175;return this[_0x58da08(0x18a)]['getCellMarginOverride'](this[_0x58da08(0x18f)],this[_0x58da08(0x11b)]);}['setMargin'](_0x416c53){const _0x39f495=_0xcee175;return this[_0x39f495(0x18a)]['setCellMargin'](this[_0x39f495(0x18a)][_0x39f495(0x1b7)](this[_0x39f495(0x18f)],this[_0x39f495(0x11b)]),_0x416c53);}[_0xcee175(0x19e)](){const _0x199169=_0xcee175;return this['_table'][_0x199169(0x13d)](this[_0x199169(0x18a)][_0x199169(0x1b7)](this[_0x199169(0x18f)],this['_column']),null);}[_0xcee175(0x1c9)](_0x24a1cf){const _0x4f9b24=_0xcee175;return this[_0x4f9b24(0x18a)][_0x4f9b24(0x1ca)](this[_0x4f9b24(0x18f)],this[_0x4f9b24(0x11b)],_0x24a1cf);}[_0xcee175(0x176)](_0xa850c2){const _0x48748c=_0xcee175;return this[_0x48748c(0x18a)]['setCellBackground'](this[_0x48748c(0x18a)][_0x48748c(0x1b7)](this[_0x48748c(0x18f)],this[_0x48748c(0x11b)]),_0xa850c2);}[_0xcee175(0x11e)](_0x2be8ac){const _0x5a0e4e=_0xcee175;return this[_0x5a0e4e(0x18a)]['setBorder'](this[_0x5a0e4e(0x18a)][_0x5a0e4e(0x1b7)](this[_0x5a0e4e(0x18f)],this[_0x5a0e4e(0x11b)]),_0x2be8ac);}['mergeTo'](_0x48492e,_0x20a956){const _0x5336ab=_0xcee175;return this[_0x5336ab(0x18a)][_0x5336ab(0x1c5)]({'startRow':this[_0x5336ab(0x18f)],'startColumn':this['_column'],'endRow':this[_0x5336ab(0x18f)]+_0x48492e-0x1,'endColumn':this[_0x5336ab(0x11b)]+_0x20a956-0x1});}[_0xcee175(0x14b)](){const _0x35f8cf=_0xcee175;return this['_table'][_0x35f8cf(0x155)](this['_table'][_0x35f8cf(0x1b7)](this['_row'],this[_0x35f8cf(0x11b)]));}};function J(_0x2c5b77){'@babel/helpers - typeof';const _0x40c28f=_0xcee175;return J=typeof Symbol==_0x40c28f(0x133)&&typeof Symbol['iterator']==_0x40c28f(0x169)?function(_0x3989b2){return typeof _0x3989b2;}:function(_0x43cee6){const _0xdf650f=_0x40c28f;return _0x43cee6&&typeof Symbol==_0xdf650f(0x133)&&_0x43cee6[_0xdf650f(0x189)]===Symbol&&_0x43cee6!==Symbol[_0xdf650f(0x19c)]?_0xdf650f(0x169):typeof _0x43cee6;},J(_0x2c5b77);}function Y(_0xf5cee9,_0x62302b){const _0x2acbfa=_0xcee175;if(J(_0xf5cee9)!=_0x2acbfa(0x13e)||!_0xf5cee9)return _0xf5cee9;var _0x29da06=_0xf5cee9[Symbol['toPrimitive']];if(_0x29da06!==void 0x0){var _0x34e19b=_0x29da06['call'](_0xf5cee9,_0x62302b||_0x2acbfa(0x16c));if(J(_0x34e19b)!=_0x2acbfa(0x13e))return _0x34e19b;throw TypeError(_0x2acbfa(0x18b));}return(_0x62302b===_0x2acbfa(0x183)?String:Number)(_0xf5cee9);}function X(_0xd2edbd){const _0x4f85b1=_0xcee175;var _0x378543=Y(_0xd2edbd,_0x4f85b1(0x183));return J(_0x378543)==_0x4f85b1(0x169)?_0x378543:_0x378543+'';}function Z(_0x4249fd,_0x5d8b19,_0x8b6b12){const _0x2915aa=_0xcee175;return(_0x5d8b19=X(_0x5d8b19))in _0x4249fd?Object[_0x2915aa(0x167)](_0x4249fd,_0x5d8b19,{'value':_0x8b6b12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4249fd[_0x5d8b19]=_0x8b6b12,_0x4249fd;}function Q(_0x378d35,_0x1b8b8a){return function(_0x35b847,_0x2a6e25){_0x1b8b8a(_0x35b847,_0x2a6e25,_0x378d35);};}function _0x56d6(_0x25c5d7,_0x77efd3){_0x25c5d7=_0x25c5d7-0x118;const _0x1a2a8a=_0x1a2a();let _0x56d673=_0x1a2a8a[_0x25c5d7];return _0x56d673;}function te(_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10){const _0x3f6287=_0xcee175;var _0x2ed6b4=arguments[_0x3f6287(0x157)],_0x239219=_0x2ed6b4<0x3?_0xe775da:_0x48eb10===null?_0x48eb10=Object[_0x3f6287(0x15c)](_0xe775da,_0x1eddc5):_0x48eb10,_0x356abc;if(typeof Reflect==_0x3f6287(0x13e)&&typeof Reflect[_0x3f6287(0x126)]==_0x3f6287(0x133))_0x239219=Reflect[_0x3f6287(0x126)](_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10);else{for(var _0x17c5e8=_0x5eaafb[_0x3f6287(0x157)]-0x1;_0x17c5e8>=0x0;_0x17c5e8--)(_0x356abc=_0x5eaafb[_0x17c5e8])&&(_0x239219=(_0x2ed6b4<0x3?_0x356abc(_0x239219):_0x2ed6b4>0x3?_0x356abc(_0xe775da,_0x1eddc5,_0x239219):_0x356abc(_0xe775da,_0x1eddc5))||_0x239219);}return _0x2ed6b4>0x3&&_0x239219&&Object[_0x3f6287(0x167)](_0xe775da,_0x1eddc5,_0x239219),_0x239219;}function _0x1a2a(){const _0xccb892=['_getBodyPath','extend','103130JoOjaH','_column','type','_rowContainsText','setBorder','Above','documentStyle','144191zhJZGQ','getMarginOverride','filter','getCellMargin','selectRange','decorate','tableCells','trHeight','getSource','Table','segmentId','findTableByText','distributeRows','selectRows','8872FUCqaw','max','deleteTable','getRowsRange','function','setStructuralSelection','getCellMarginOverride','deepClone','DocsTableRowInsertPosition','setTitleRow','getInfo','body','backgroundColor','getRowRange','setCellMargin','object','getTableAtSelection','_serializeModel','moveRow','insertRowAfter','titleText','from','deleteRow','setCellBackground','deleteRows','getColumnsRange','getTableRange','getTables','unmerge','_mutateActions','columnTypes','selectColumn','_tableId','Left','getText','selectColumns','size','appendColumn','unmergeCells','getTable','length','_injector','rows','getRowHeight','moveTableToOffset','getOwnPropertyDescriptor','Row','DocsTableSortDirection','actions','_unitId','startOffset','_getTableDocumentData','3914676HaOjvR','titleRow','replace','findTables','defineProperty','preset','symbol','insertColumnBefore','_document','default','setRowHeight','12271HjsozD','border','_tableContainsText','insertTable','DocsTableSelectionKind','getMetadata','getCellInsertOffset','hasTitleRow','setBackgroundColor','deleteColumns','DashStyleType','text','1252244ZzMqyV','tableSource','insertColumnsAfter','setHeaderRowCount','_segmentId','moveTableBy','insertTitleRow','syncExecuteCommand','insertColumnsBefore','string','getColumnIndex','margin','insertRowsBefore','distributeColumns','slice','constructor','_table','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getTables','2500920DWIeLv','getRowCount','_row','tableColumns','1674GJgJgb','deleteColumn','setTableBackground','getInsertOffset','_commandService','getRowIndex','tableRows','describe','_getDocumentData','getContentRange','getStableTableSelection','prototype','width','clearMarginOverride','setColumnWidth','AT_LEAST','tableId','Below','appendRow','setTableStyle','getId','4447895DKjpvl','get','cells','dataStream','selectCell','getCell','selectTable','sortByColumn','headerRowCount','some','_createFDocumentTable','pinHeaderRows','includes','insertRowBefore','Right','getCellContentRange','setDefaultCellMargin','getCellRange','getSnapshot','getDefaultCellMargin','cellMargin','#1f1f1f','moveColumns','getColumnCount','getCellText','endOffset','setTableBorder','6CQPusi','moveRows','setColumnType','SOLID','mergeCells','getTableMetadata','getDocumentDataModel','All','setText','setCellText','headerText','insertRowsAfter','getDefaultCellMarginOverride'];_0x1a2a=function(){return _0xccb892;};return _0x1a2a();}let $=class{constructor(_0x643105,_0x310105,_0x1d9a55,_0x36ad25,_0x25b275){const _0x4273c1=_0xcee175;this[_0x4273c1(0x16b)]=_0x643105,this[_0x4273c1(0x14f)]=_0x310105,this[_0x4273c1(0x17e)]=_0x1d9a55,this[_0x4273c1(0x195)]=_0x36ad25,this[_0x4273c1(0x158)]=_0x25b275,Z(this,_0x4273c1(0x160),void 0x0),this[_0x4273c1(0x160)]=this[_0x4273c1(0x16b)]['getId']();}[_0xcee175(0x1a5)](){const _0x119049=_0xcee175;return this[_0x119049(0x14f)];}['getSegmentId'](){const _0x49bafa=_0xcee175;return this[_0x49bafa(0x17e)];}[_0xcee175(0x139)](){const _0x1157be=_0xcee175;return{'id':this['_tableId'],'rowCount':this[_0x1157be(0x18e)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x1157be(0x173)](),'source':this[_0x1157be(0x129)]()};}[_0xcee175(0x198)](){const _0x19bb91=_0xcee175;let _0x680863=this[_0x19bb91(0x173)](),_0x18d062=this['getSource'](),_0x3e160a=this[_0x19bb91(0x1bd)]();return{'id':this[_0x19bb91(0x14f)],'rowCount':this[_0x19bb91(0x18e)](),'columnCount':_0x3e160a,'headerRowCount':(_0x680863==null?void 0x0:_0x680863['headerRowCount'])??0x0,'titleRow':(_0x680863==null?void 0x0:_0x680863[_0x19bb91(0x164)])??!0x1,'columns':Array['from']({'length':_0x3e160a},(_0x56be14,_0x47b2ea)=>{const _0x2f82e4=_0x19bb91;var _0x3787aa,_0x1df8f0;return{'index':_0x47b2ea,'type':_0x680863==null||(_0x3787aa=_0x680863[_0x2f82e4(0x14d)])==null||(_0x3787aa=_0x3787aa[_0x47b2ea])==null?void 0x0:_0x3787aa[_0x2f82e4(0x11c)],'width':_0x18d062==null||(_0x1df8f0=_0x18d062[_0x2f82e4(0x190)][_0x47b2ea])==null?void 0x0:_0x1df8f0[_0x2f82e4(0x153)][_0x2f82e4(0x19d)]['v']};}),'sampleRows':Array[_0x19bb91(0x144)]({'length':this[_0x19bb91(0x18e)]()},(_0x177f2b,_0x4076cf)=>Array[_0x19bb91(0x144)]({'length':_0x3e160a},(_0xfceb05,_0x5c06b3)=>this['getCellText'](_0x4076cf,_0x5c06b3)))['filter'](_0x150ac0=>_0x150ac0[_0x19bb91(0x1af)](_0x352189=>_0x352189['length']>0x0))[_0x19bb91(0x188)](0x0,0x5)};}[_0xcee175(0x18e)](){const _0x5bef8d=_0xcee175;var _0x1562c8;return((_0x1562c8=this[_0x5bef8d(0x129)]())==null?void 0x0:_0x1562c8[_0x5bef8d(0x197)][_0x5bef8d(0x157)])??0x0;}['getColumnCount'](){const _0x4ff809=_0xcee175;var _0x2feb3f;return((_0x2feb3f=this[_0x4ff809(0x129)]())==null?void 0x0:_0x2feb3f[_0x4ff809(0x190)]['length'])??0x0;}[_0xcee175(0x1ab)](_0x32a603,_0xf9c7cd){const _0x5835c0=_0xcee175;var _0x4be3a0;return(_0x4be3a0=this['getSource']())!=null&&(_0x4be3a0=_0x4be3a0['tableRows'][_0x32a603])!=null&&_0x4be3a0[_0x5835c0(0x127)][_0xf9c7cd]?this[_0x5835c0(0x158)]['createInstance'](q,this,_0x32a603,_0xf9c7cd):null;}[_0xcee175(0x1be)](_0x29f8ad,_0x46912d){const _0x2c619d=_0xcee175;var _0x378707,_0x32d3a4;let _0x1b21b1=(_0x378707=_0x4ba6c9(this['_getDocumentData'](),this['_tableId']))==null||(_0x378707=_0x378707[_0x2c619d(0x159)][_0x29f8ad])==null?void 0x0:_0x378707[_0x2c619d(0x1a8)][_0x46912d];return _0x1b21b1?((_0x32d3a4=this[_0x2c619d(0x199)]()[_0x2c619d(0x13a)])==null?void 0x0:_0x32d3a4[_0x2c619d(0x1a9)]['slice'](_0x1b21b1['startOffset']+0x1,_0x1b21b1['endOffset'])[_0x2c619d(0x165)](/\r\n$/,''))??'':'';}[_0xcee175(0x124)](_0x8d2875,_0x210f0c){const _0x308e86=_0xcee175;var _0x30fdf3;let _0x387da7=this[_0x308e86(0x129)](),_0x4e5f67=_0x387da7==null||(_0x30fdf3=_0x387da7['tableRows'][_0x8d2875])==null?void 0x0:_0x30fdf3[_0x308e86(0x127)][_0x210f0c];return _0x4e5f67?_0x307248[_0x308e86(0x136)](_0x4e5f67['margin']??_0x387da7[_0x308e86(0x1ba)]??_0x21745d):null;}[_0xcee175(0x135)](_0x1e0346,_0x5bc3bf){const _0x58b74b=_0xcee175;var _0x3813bf;let _0x2c629a=(_0x3813bf=this['getSource']())==null||(_0x3813bf=_0x3813bf[_0x58b74b(0x197)][_0x1e0346])==null?void 0x0:_0x3813bf[_0x58b74b(0x127)][_0x5bc3bf];return _0x2c629a!=null&&_0x2c629a[_0x58b74b(0x185)]?_0x307248['deepClone'](_0x2c629a[_0x58b74b(0x185)]):null;}[_0xcee175(0x1b9)](){const _0x3aa7df=_0xcee175;var _0x55f5d1;return _0x307248[_0x3aa7df(0x136)](((_0x55f5d1=this[_0x3aa7df(0x129)]())==null?void 0x0:_0x55f5d1['cellMargin'])??_0x21745d);}[_0xcee175(0x1cd)](){const _0x50e600=_0xcee175;var _0x6ef81d;let _0x132a1a=(_0x6ef81d=this[_0x50e600(0x129)]())==null?void 0x0:_0x6ef81d[_0x50e600(0x1ba)];return _0x132a1a?_0x307248[_0x50e600(0x136)](_0x132a1a):null;}[_0xcee175(0x173)](){const _0x48c024=_0xcee175;return this[_0x48c024(0x158)][_0x48c024(0x1a7)](_0x3c570c)[_0x48c024(0x1c6)](this['_unitId'],this['_tableId']);}['getSource'](){const _0x330dd4=_0xcee175;var _0xc9b3d2;return(_0xc9b3d2=this['_getDocumentData']()[_0x330dd4(0x17b)])==null?void 0x0:_0xc9b3d2[this[_0x330dd4(0x14f)]];}['getRange'](){const _0x2c189e=_0xcee175;return _0x4ba6c9(this[_0x2c189e(0x199)](),this['_tableId']);}[_0xcee175(0x149)](){const _0x415ce1=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x18e)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x1bd)]()-0x1)};}['getCellRange'](_0x37f281,_0x31c90a){return{'startRow':_0x37f281,'endRow':_0x37f281,'startColumn':_0x31c90a,'endColumn':_0x31c90a};}[_0xcee175(0x1b5)](_0x208918,_0x343c32){const _0x1679b5=_0xcee175;var _0x328e8e;let _0x3d6bad=(_0x328e8e=_0x4ba6c9(this['_getDocumentData'](),this[_0x1679b5(0x14f)]))==null||(_0x328e8e=_0x328e8e['rows'][_0x208918])==null?void 0x0:_0x328e8e['cells'][_0x343c32];if(!_0x3d6bad)return null;let _0x492121=_0x3d6bad['startOffset']+0x1;return{'startOffset':_0x492121,'endOffset':Math[_0x1679b5(0x130)](_0x492121,_0x3d6bad[_0x1679b5(0x1bf)]-0x1),'segmentId':this['_segmentId']};}[_0xcee175(0x174)](_0x221a74,_0x4fb440){const _0x701a09=_0xcee175;let _0x448145=this[_0x701a09(0x1b5)](_0x221a74,_0x4fb440);return _0x448145?Math[_0x701a09(0x130)](_0x448145[_0x701a09(0x161)],_0x448145[_0x701a09(0x1bf)]-0x1):null;}[_0xcee175(0x13c)](_0x1a1b2c){return this['getRowsRange'](_0x1a1b2c,0x1);}['getRowsRange'](_0x2ba214,_0x575483=0x1){const _0x403da0=_0xcee175;return{'startRow':_0x2ba214,'endRow':_0x2ba214+_0x575483-0x1,'startColumn':0x0,'endColumn':Math[_0x403da0(0x130)](0x0,this['getColumnCount']()-0x1)};}['getColumnRange'](_0x3bc710){const _0x476512=_0xcee175;return this[_0x476512(0x148)](_0x3bc710,0x1);}[_0xcee175(0x148)](_0x3001c3,_0x50eeb4=0x1){const _0x19ac8e=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x19ac8e(0x130)](0x0,this[_0x19ac8e(0x18e)]()-0x1),'startColumn':_0x3001c3,'endColumn':_0x3001c3+_0x50eeb4-0x1};}[_0xcee175(0x1ac)](){const _0x42299a=_0xcee175;return this['selectRange'](this[_0x42299a(0x149)](),_0x5a36fd[_0x42299a(0x12a)]);}['selectRow'](_0x3a0c93){return this['selectRows'](_0x3a0c93,0x1);}[_0xcee175(0x12e)](_0x374714,_0x39f617=0x1){const _0x30f39=_0xcee175;return this['selectRange'](this[_0x30f39(0x132)](_0x374714,_0x39f617),_0x5a36fd[_0x30f39(0x15d)]);}[_0xcee175(0x14e)](_0x39375c){const _0x4d8971=_0xcee175;return this[_0x4d8971(0x152)](_0x39375c,0x1);}[_0xcee175(0x152)](_0x29624e,_0xc72198=0x1){const _0x40a41b=_0xcee175;return this['selectRange'](this[_0x40a41b(0x148)](_0x29624e,_0xc72198),_0x5a36fd['Column']);}[_0xcee175(0x1aa)](_0x29992e,_0x5234e7){const _0x37eba7=_0xcee175;return this[_0x37eba7(0x125)](this[_0x37eba7(0x1b7)](_0x29992e,_0x5234e7),_0x5a36fd['Cell']);}[_0xcee175(0x125)](_0x5d5b18,_0x2e2d72=_0x5a36fd['Range']){const _0x28aad4=_0xcee175;return this[_0x28aad4(0x158)][_0x28aad4(0x1a7)](_0x52774c)[_0x28aad4(0x134)]({..._0x5d5b18,'kind':_0x2e2d72,'segmentId':this[_0x28aad4(0x17e)],'tableId':this['_tableId']}),!0x0;}[_0xcee175(0x1b3)](_0x46b53d){const _0x2d2d8f=_0xcee175;return this[_0x2d2d8f(0x186)](_0x46b53d,0x1);}[_0xcee175(0x142)](_0x1443ed){return this['insertRowsAfter'](_0x1443ed,0x1);}['insertRowsBefore'](_0x594652,_0x3d2594){const _0x3c9353=_0xcee175;let _0xfdd2a8=this[_0x3c9353(0x199)](),_0x520517=_0x1ba735(_0xfdd2a8,this[_0x3c9353(0x14f)],_0x594652,_0x3d2594,_0x50a60f[_0x3c9353(0x11f)],this[_0x3c9353(0x118)]());return _0x520517?this[_0x3c9353(0x14c)](_0xfdd2a8,_0x520517[_0x3c9353(0x15f)]):!0x1;}[_0xcee175(0x1cc)](_0x4b30b7,_0x349727){const _0x196709=_0xcee175;let _0x44be8b=this[_0x196709(0x199)](),_0x10e1a4=_0x1ba735(_0x44be8b,this[_0x196709(0x14f)],_0x4b30b7,_0x349727,_0x50a60f[_0x196709(0x1a2)],this[_0x196709(0x118)]());return _0x10e1a4?this[_0x196709(0x14c)](_0x44be8b,_0x10e1a4['actions']):!0x1;}[_0xcee175(0x1a3)](){const _0x133528=_0xcee175;return this[_0x133528(0x1cc)](Math[_0x133528(0x130)](0x0,this[_0x133528(0x18e)]()-0x1),0x1);}[_0xcee175(0x16a)](_0x3da45a){const _0xf1c486=_0xcee175;return this[_0xf1c486(0x182)](_0x3da45a,0x1);}['insertColumnAfter'](_0x5c8ee0){const _0x2f2a5a=_0xcee175;return this[_0x2f2a5a(0x17c)](_0x5c8ee0,0x1);}[_0xcee175(0x182)](_0x133a32,_0x406181){const _0x2857a6=_0xcee175;let _0x1d40f7=this[_0x2857a6(0x199)](),_0x4bf8f5=_0x42f91b(_0x1d40f7,this[_0x2857a6(0x14f)],_0x133a32,_0x406181,_0x50a60f[_0x2857a6(0x150)],{'bodyPath':this[_0x2857a6(0x118)]()});return _0x4bf8f5?this[_0x2857a6(0x14c)](_0x1d40f7,_0x4bf8f5[_0x2857a6(0x15f)]):!0x1;}[_0xcee175(0x17c)](_0x3682c0,_0x1358ac){const _0x48c773=_0xcee175;let _0x3cd25e=this[_0x48c773(0x199)](),_0x27a153=_0x42f91b(_0x3cd25e,this[_0x48c773(0x14f)],_0x3682c0,_0x1358ac,_0x50a60f[_0x48c773(0x1b4)],{'bodyPath':this[_0x48c773(0x118)]()});return _0x27a153?this[_0x48c773(0x14c)](_0x3cd25e,_0x27a153[_0x48c773(0x15f)]):!0x1;}[_0xcee175(0x154)](){const _0x513661=_0xcee175;return this[_0x513661(0x17c)](Math[_0x513661(0x130)](0x0,this['getColumnCount']()-0x1),0x1);}[_0xcee175(0x145)](_0x22f2cc){const _0x5cea77=_0xcee175;return this[_0x5cea77(0x147)](_0x22f2cc,0x1);}[_0xcee175(0x147)](_0x56b6d9,_0x2f0259=0x1){const _0x438f01=_0xcee175;return!!this[_0x438f01(0x195)]['syncExecuteCommand'](_0x463552['id'],{'endRow':_0x56b6d9+_0x2f0259-0x1,'segmentId':this[_0x438f01(0x17e)],'startRow':_0x56b6d9,'tableId':this[_0x438f01(0x14f)],'unitId':this[_0x438f01(0x160)]});}[_0xcee175(0x192)](_0x4a05eb){const _0x51be07=_0xcee175;return this[_0x51be07(0x177)](_0x4a05eb,0x1);}[_0xcee175(0x177)](_0x4351f8,_0x305ba2=0x1){const _0x3b8a03=_0xcee175;return!!this[_0x3b8a03(0x195)][_0x3b8a03(0x181)](_0x135ce2['id'],{'endColumn':_0x4351f8+_0x305ba2-0x1,'segmentId':this[_0x3b8a03(0x17e)],'startColumn':_0x4351f8,'tableId':this[_0x3b8a03(0x14f)],'unitId':this[_0x3b8a03(0x160)]});}[_0xcee175(0x131)](){const _0x4f3615=_0xcee175;return!!this[_0x4f3615(0x195)][_0x4f3615(0x181)](_0x229429['id'],{'segmentId':this[_0x4f3615(0x17e)],'tableId':this[_0x4f3615(0x14f)],'unitId':this[_0x4f3615(0x160)]});}[_0xcee175(0x17f)](_0x33e726,_0x374051){const _0x4f34a6=_0xcee175;let _0x58df42=this[_0x4f34a6(0x199)]();return this[_0x4f34a6(0x14c)](_0x58df42,_0x4e09e1(_0x58df42,this[_0x4f34a6(0x14f)],_0x33e726,_0x374051));}[_0xcee175(0x15b)](_0x34110a){const _0x4612a6=_0xcee175;let _0x1ced14=this[_0x4612a6(0x199)]();return this[_0x4612a6(0x14c)](_0x1ced14,_0x22c831(_0x1ced14,this[_0x4612a6(0x14f)],_0x34110a,this[_0x4612a6(0x118)]()));}[_0xcee175(0x141)](_0x4df032,_0x47aad0,_0x5853d7=_0x50a60f[_0xcee175(0x11f)]){const _0x232617=_0xcee175;return this[_0x232617(0x1c2)](_0x4df032,0x1,_0x47aad0,_0x5853d7);}['moveRows'](_0x29b6d0,_0x76ad8f,_0x5324b2,_0x376397=_0x50a60f[_0xcee175(0x11f)]){const _0x1ae03b=_0xcee175;let _0x4e58f9=this[_0x1ae03b(0x199)](),_0x181385=_0x4341e1(_0x4e58f9,this['_tableId'],_0x29b6d0,_0x5324b2,_0x76ad8f,_0x376397,this[_0x1ae03b(0x118)]());return _0x181385?this[_0x1ae03b(0x14c)](_0x4e58f9,_0x181385[_0x1ae03b(0x15f)]):!0x1;}['moveColumn'](_0x2dcc74,_0x3c67d1,_0x260fb1=_0x50a60f[_0xcee175(0x150)]){return this['moveColumns'](_0x2dcc74,0x1,_0x3c67d1,_0x260fb1);}[_0xcee175(0x1bc)](_0x55e9a4,_0x2d5411,_0x4943df,_0x4b9053=_0x50a60f[_0xcee175(0x150)]){const _0x5e2c62=_0xcee175;let _0x3f6989=this[_0x5e2c62(0x199)](),_0x2ce144=_0x2792a3(_0x3f6989,this[_0x5e2c62(0x14f)],_0x55e9a4,_0x4943df,_0x2d5411,_0x4b9053,this[_0x5e2c62(0x118)]());return _0x2ce144?this[_0x5e2c62(0x14c)](_0x3f6989,_0x2ce144[_0x5e2c62(0x15f)]):!0x1;}[_0xcee175(0x1c5)](_0x51e77e){const _0x2de6c7=_0xcee175;try{let _0x190d63=this['_getDocumentData'](),_0x1d8180=_0x3aec2e({'documentData':_0x190d63,'tableId':this[_0x2de6c7(0x14f)],..._0x51e77e});return _0x1d8180?this[_0x2de6c7(0x14c)](_0x190d63,_0x1d8180[_0x2de6c7(0x15f)],_0x51e77e):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x1bcf99){const _0xaf4fd5=_0xcee175;try{let _0x31e763=this[_0xaf4fd5(0x199)](),_0x1deb35=_0x393d14({'documentData':_0x31e763,'tableId':this[_0xaf4fd5(0x14f)],..._0x1bcf99});return _0x1deb35?this[_0xaf4fd5(0x14c)](_0x31e763,_0x1deb35['actions'],_0x1bcf99):!0x1;}catch{return!0x1;}}['setCellText'](_0x12120e,_0x2a42fa,_0x2234a8){const _0x10832b=_0xcee175;let _0x10ba96=this[_0x10832b(0x199)](),_0x285270=_0x3b5491(this['_document'][_0x10832b(0x1c7)]()['getSnapshot'](),this[_0x10832b(0x17e)]);return this[_0x10832b(0x14c)](_0x10ba96,_0x2655ab({'documentData':_0x10ba96,'tableId':this[_0x10832b(0x14f)],'row':_0x12120e,'column':_0x2a42fa,'text':_0x2234a8},_0x285270),this[_0x10832b(0x1b7)](_0x12120e,_0x2a42fa));}[_0xcee175(0x146)](_0x463b52,_0x4e4dee){const _0x461382=_0xcee175;let _0x38adcf=this[_0x461382(0x199)]();return this[_0x461382(0x14c)](_0x38adcf,_0x47f64e(_0x38adcf,{'tableId':this[_0x461382(0x14f)],..._0x463b52,'value':_0x4e4dee}),_0x463b52);}['setCellMargin'](_0x4c322f,_0x2a4ada){const _0x108895=_0xcee175;let _0x3664ac=this[_0x108895(0x199)]();return this[_0x108895(0x14c)](_0x3664ac,_0x2652fa({'documentData':_0x3664ac,'tableId':this['_tableId'],..._0x4c322f,'margin':_0x2a4ada}),_0x4c322f);}[_0xcee175(0x1b6)](_0x451885){const _0x39a321=_0xcee175;let _0x43f324=this[_0x39a321(0x199)]();return this[_0x39a321(0x14c)](_0x43f324,_0xfdd2fe(_0x43f324,this[_0x39a321(0x14f)],_0x451885));}[_0xcee175(0x11e)](_0xdfbfbb,_0xad9af1){const _0xf62517=_0xcee175;let _0x4e9360=this['_getDocumentData']();return this['_mutateActions'](_0x4e9360,_0x71f82c({'documentData':_0x4e9360,'tableId':this['_tableId'],..._0xdfbfbb,'preset':_0xad9af1[_0xf62517(0x168)]??_0xf76c6a[_0xf62517(0x1c8)],'border':_0xad9af1[_0xf62517(0x16f)]??{'color':{'rgb':_0xad9af1['color']??_0xf62517(0x1bb)},'width':{'v':_0xad9af1[_0xf62517(0x19d)]??0x1},'dashStyle':_0x235af0[_0xf62517(0x1c4)]}}),_0xdfbfbb);}[_0xcee175(0x193)](_0x496913){const _0x196588=_0xcee175;return this['setCellBackground'](this[_0x196588(0x149)](),_0x496913);}['setTableBorder'](_0x6c5d22){const _0x13fb4b=_0xcee175;return this[_0x13fb4b(0x11e)](this[_0x13fb4b(0x149)](),_0x6c5d22);}[_0xcee175(0x1a4)](_0x43d8fb){const _0x364ef6=_0xcee175;let _0x4423c5=!_0x43d8fb[_0x364ef6(0x13b)]||this[_0x364ef6(0x193)](_0x43d8fb[_0x364ef6(0x13b)]),_0x524925=!_0x43d8fb[_0x364ef6(0x16f)]||this[_0x364ef6(0x1c0)](_0x43d8fb['border']);return _0x4423c5&&_0x524925;}[_0xcee175(0x16d)](_0x483f47,_0x38a54c,_0x1bd360=_0x3ebc1c[_0xcee175(0x1a0)]){const _0x67c578=_0xcee175;var _0x193e51;let _0x48522b=this[_0x67c578(0x199)]();return(_0x193e51=_0x48522b[_0x67c578(0x17b)])!=null&&(_0x193e51=_0x193e51[this[_0x67c578(0x14f)]])!=null&&_0x193e51['tableRows'][_0x483f47]?this[_0x67c578(0x14c)](_0x48522b,_0x3a3c68(_0x48522b,this[_0x67c578(0x14f)],_0x483f47,_0x38a54c,_0x1bd360)):!0x1;}[_0xcee175(0x15a)](_0x11c2f8){const _0x4e99cf=_0xcee175;var _0x35411c;let _0x23290c=(_0x35411c=this['getSource']())==null||(_0x35411c=_0x35411c[_0x4e99cf(0x197)][_0x11c2f8])==null?void 0x0:_0x35411c[_0x4e99cf(0x128)];return _0x23290c?_0x307248[_0x4e99cf(0x136)](_0x23290c):null;}[_0xcee175(0x19f)](_0x4a472f,_0x4db7bd){const _0xc00f42=_0xcee175;var _0x9d4cc9;let _0x4cab30=this[_0xc00f42(0x199)]();return(_0x9d4cc9=_0x4cab30[_0xc00f42(0x17b)])!=null&&(_0x9d4cc9=_0x9d4cc9[this['_tableId']])!=null&&_0x9d4cc9[_0xc00f42(0x190)][_0x4a472f]?this[_0xc00f42(0x14c)](_0x4cab30,_0x1922ab(_0x4cab30,this['_tableId'],_0x4a472f,_0x4db7bd)):!0x1;}[_0xcee175(0x12d)](_0x451042=0x0,_0x4e3750=this[_0xcee175(0x18e)]()){const _0x4ca3ea=_0xcee175;let _0xa8975d=this[_0x4ca3ea(0x199)]();return this[_0x4ca3ea(0x14c)](_0xa8975d,_0x5e0604(_0xa8975d,this[_0x4ca3ea(0x14f)],_0x451042,_0x451042+_0x4e3750-0x1));}[_0xcee175(0x187)](_0x59ebc0=0x0,_0x5bea7d=this['getColumnCount']()){const _0x5702ee=_0xcee175;let _0x3f4511=this[_0x5702ee(0x199)]();return this[_0x5702ee(0x14c)](_0x3f4511,_0x54b594(_0x3f4511,this[_0x5702ee(0x14f)],_0x59ebc0,_0x59ebc0+_0x5bea7d-0x1));}['getHeaderRowCount'](){const _0xbb44fe=_0xcee175;var _0x2e9ea3;return((_0x2e9ea3=this['getMetadata']())==null?void 0x0:_0x2e9ea3[_0xbb44fe(0x1ae)])??0x0;}['setHeaderRowCount'](_0x4e22ee){const _0x3a16f3=_0xcee175;let _0x142495=this[_0x3a16f3(0x158)]['get'](_0x3c570c),_0x2cbba9=this['_getDocumentData'](),_0x1cf15a=_0x1e4c1(_0x2cbba9,this[_0x3a16f3(0x14f)],_0x4e22ee);if(!_0x1cf15a)return!0x1;let _0x2e6582=this[_0x3a16f3(0x14c)](_0x2cbba9,_0x1cf15a[_0x3a16f3(0x15f)]);return _0x2e6582&&_0x142495['setHeaderRowCount'](this[_0x3a16f3(0x160)],this['_tableId'],_0x1cf15a[_0x3a16f3(0x1ae)]),_0x2e6582;}[_0xcee175(0x1b1)](_0x41868f){const _0x3d4ef2=_0xcee175;return this[_0x3d4ef2(0x17d)](_0x41868f);}[_0xcee175(0x175)](){const _0x44ea82=_0xcee175;var _0x238d14;return((_0x238d14=this[_0x44ea82(0x173)]())==null?void 0x0:_0x238d14[_0x44ea82(0x164)])??!0x1;}[_0xcee175(0x180)](){const _0x32e631=_0xcee175;let _0xed1a8f=this[_0x32e631(0x158)][_0x32e631(0x1a7)](_0x3c570c),_0x3114a2=this['_getDocumentData'](),_0x4faf02=_0x5909d2(_0x3114a2,this[_0x32e631(0x14f)],this['_getBodyPath']());if(!_0x4faf02)return!0x1;let _0x1025fa=this[_0x32e631(0x14c)](_0x3114a2,_0x4faf02['actions']);return _0x1025fa&&_0xed1a8f[_0x32e631(0x138)](this['_unitId'],this[_0x32e631(0x14f)],!0x0),_0x1025fa;}['setColumnType'](_0x272746,_0x10d2fc){const _0x19fa1f=_0xcee175;return this['_injector'][_0x19fa1f(0x1a7)](_0x3c570c)[_0x19fa1f(0x1c3)](this[_0x19fa1f(0x160)],this[_0x19fa1f(0x14f)],_0x272746,_0x10d2fc),!0x0;}[_0xcee175(0x1ad)](_0x4c0a4,_0x1b8ba0){const _0x5d0017=_0xcee175;let _0x474005=this[_0x5d0017(0x199)]();return this[_0x5d0017(0x14c)](_0x474005,_0x26bb83(_0x474005,this['_serializeModel'](),this[_0x5d0017(0x14f)],_0x4c0a4,_0x1b8ba0,this[_0x5d0017(0x118)]()));}['_getDocumentData'](){const _0x4f8ebe=_0xcee175;let _0x138690=this[_0x4f8ebe(0x16b)][_0x4f8ebe(0x1c7)]()[_0x4f8ebe(0x1b8)]();return this[_0x4f8ebe(0x17e)]?{...this[_0x4f8ebe(0x16b)]['getDocumentDataModel'](this[_0x4f8ebe(0x17e)])[_0x4f8ebe(0x1b8)](),'documentStyle':_0x138690['documentStyle'],'tableSource':_0x138690[_0x4f8ebe(0x17b)]}:_0x138690;}[_0xcee175(0x140)](){const _0x3eb4f0=_0xcee175;return this[_0x3eb4f0(0x158)][_0x3eb4f0(0x1a7)](_0x3c570c)['serialize'](this[_0x3eb4f0(0x160)]);}[_0xcee175(0x118)](){const _0x1f9b4b=_0xcee175;return _0x3b5491(this[_0x1f9b4b(0x16b)]['getDocumentDataModel']()[_0x1f9b4b(0x1b8)](),this[_0x1f9b4b(0x17e)]);}['_mutateActions'](_0x2eb54e,_0x31161b,_0x2ef6d4){const _0x22771e=_0xcee175;return _0x279883(this[_0x22771e(0x195)],this['_unitId'],_0x2eb54e,_0x31161b,_0x2ef6d4?{'tableId':this[_0x22771e(0x14f)],'segmentId':this[_0x22771e(0x17e)],..._0x2ef6d4}:void 0x0);}};$=te([Q(0x3,_0x227b4c),Q(0x4,_0x7b97ec(_0x5e029d))],$);var ne=class extends _0x1ebdb5{[_0xcee175(0x14a)](_0x343392=''){const _0x3a232b=_0xcee175;return this[_0x3a232b(0x18c)](_0x343392)['map'](_0x2f722a=>this[_0x3a232b(0x1b0)](_0x2f722a['tableId'],_0x343392));}['getTable'](_0x54d62f,_0x1a8211=''){const _0x26e976=_0xcee175;return this[_0x26e976(0x18c)](_0x1a8211)[_0x26e976(0x1af)](_0x47ed93=>_0x47ed93[_0x26e976(0x1a1)]===_0x54d62f)?this[_0x26e976(0x1b0)](_0x54d62f,_0x1a8211):null;}['getTableAt'](_0x2100e2,_0x103249=''){const _0x3029b0=_0xcee175;var _0x2af371;let _0x2fe7df=(_0x2af371=this[_0x3029b0(0x18c)](_0x103249)[_0x2100e2])==null?void 0x0:_0x2af371[_0x3029b0(0x1a1)];return _0x2fe7df?this['_createFDocumentTable'](_0x2fe7df,_0x103249):null;}[_0xcee175(0x13f)](){const _0x40afb6=_0xcee175;let _0x952a28=this['_injector'][_0x40afb6(0x1a7)](_0x52774c)[_0x40afb6(0x19b)]();return _0x952a28!=null&&_0x952a28[_0x40afb6(0x1a1)]?this['_createFDocumentTable'](_0x952a28['tableId'],_0x952a28[_0x40afb6(0x12b)]):null;}[_0xcee175(0x12c)](_0x13a3e0,_0x1a371a=''){const _0x163655=_0xcee175;return this[_0x163655(0x166)](_0x13a3e0,_0x1a371a)[0x0]??null;}[_0xcee175(0x166)](_0x2f8436,_0x5bdcc2=''){const _0x1ef941=_0xcee175;let _0x4bb40c=this[_0x1ef941(0x162)](_0x5bdcc2),_0x3cc257=typeof _0x2f8436==_0x1ef941(0x183)?{'text':_0x2f8436}:_0x2f8436;return this[_0x1ef941(0x14a)](_0x5bdcc2)[_0x1ef941(0x123)](_0x2a79b9=>{const _0x35d654=_0x1ef941;let _0x13c3b2=_0x2a79b9[_0x35d654(0x1a5)]();return!(_0x3cc257[_0x35d654(0x1a1)]&&_0x13c3b2!==_0x3cc257[_0x35d654(0x1a1)]||_0x3cc257[_0x35d654(0x179)]&&!this[_0x35d654(0x170)](_0x4bb40c,_0x13c3b2,_0x3cc257[_0x35d654(0x179)])||_0x3cc257[_0x35d654(0x1cb)]&&!this['_rowContainsText'](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x1cb)])||_0x3cc257[_0x35d654(0x143)]&&!this[_0x35d654(0x11d)](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x143)]));});}[_0xcee175(0x171)](_0x5a61ca,_0x1cd4fe,_0x5b3256={}){const _0xa248a4=_0xcee175;let _0x32e97c=this[_0xa248a4(0x158)][_0xa248a4(0x1a7)](_0x227b4c),_0x1c4b52=_0x5b3256[_0xa248a4(0x1a1)]??_0x563431(0x6);return _0x32e97c[_0xa248a4(0x181)](_0x2f63fe['id'],{..._0x5b3256,'unitId':this[_0xa248a4(0x1a5)](),'rows':_0x5a61ca,'columns':_0x1cd4fe,'tableId':_0x1c4b52})?this['_createFDocumentTable'](_0x1c4b52,_0x5b3256[_0xa248a4(0x12b)]??''):null;}['insertTableFromData'](_0x36509c,_0x1015c6={}){const _0xf8ae1a=_0xcee175;let _0x4788c8=this[_0xf8ae1a(0x158)][_0xf8ae1a(0x1a7)](_0x227b4c),_0x52ace4=_0x1015c6['tableId']??_0x563431(0x6);return _0x4788c8[_0xf8ae1a(0x181)](_0x2f63fe['id'],{..._0x1015c6,'unitId':this[_0xf8ae1a(0x1a5)](),'values':_0x36509c,'tableId':_0x52ace4})?this[_0xf8ae1a(0x1b0)](_0x52ace4,_0x1015c6[_0xf8ae1a(0x12b)]??''):null;}[_0xcee175(0x18c)](_0x4cb748=''){let {tables:_0x5a028d=[]}=this['getBody'](_0x4cb748);return _0x5a028d;}['_getTableDocumentData'](_0x248830=''){const _0x3ff438=_0xcee175;let _0x1b8042=this[_0x3ff438(0x1c7)]()[_0x3ff438(0x1b8)]();return _0x248830?{...this[_0x3ff438(0x1c7)](_0x248830)[_0x3ff438(0x1b8)](),'documentStyle':_0x1b8042[_0x3ff438(0x120)],'tableSource':_0x1b8042[_0x3ff438(0x17b)]}:_0x1b8042;}[_0xcee175(0x1b0)](_0x227812,_0x4763ce=''){return this['_injector']['createInstance']($,this,_0x227812,_0x4763ce);}[_0xcee175(0x170)](_0x496814,_0x45aecc,_0x24a5c8){const _0x1f8959=_0xcee175;var _0x519ed4;let _0x4b01f9=_0x4ba6c9(_0x496814,_0x45aecc);if(!_0x4b01f9)return!0x1;let _0x557afa=(_0x519ed4=_0x496814[_0x1f8959(0x13a)])==null?void 0x0:_0x519ed4[_0x1f8959(0x1a9)];return _0x557afa?_0x557afa[_0x1f8959(0x188)](_0x4b01f9[_0x1f8959(0x161)],_0x4b01f9[_0x1f8959(0x1bf)])[_0x1f8959(0x1b2)](_0x24a5c8):!0x1;}[_0xcee175(0x11d)](_0x1ab20a,_0xdcca06,_0x23f883){const _0x113bc0=_0xcee175;return Array['from']({'length':_0x1ab20a[_0x113bc0(0x1bd)]()},(_0x4724e5,_0x2fb2bf)=>_0x1ab20a['getCellText'](_0xdcca06,_0x2fb2bf))[_0x113bc0(0x1af)](_0x5cfd25=>_0x5cfd25[_0x113bc0(0x1b2)](_0x23f883));}};_0x1ebdb5[_0xcee175(0x119)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
1
+ const _0x3af55f=_0xefa6;(function(_0xc3b7fc,_0x3ce54e){const _0x2d351a=_0xefa6,_0x5af07d=_0xc3b7fc();while(!![]){try{const _0x4f9ff7=parseInt(_0x2d351a(0x228))/0x1*(-parseInt(_0x2d351a(0x192))/0x2)+-parseInt(_0x2d351a(0x1d4))/0x3+-parseInt(_0x2d351a(0x221))/0x4*(-parseInt(_0x2d351a(0x1b2))/0x5)+-parseInt(_0x2d351a(0x1e4))/0x6+parseInt(_0x2d351a(0x1f7))/0x7*(parseInt(_0x2d351a(0x186))/0x8)+-parseInt(_0x2d351a(0x230))/0x9*(parseInt(_0x2d351a(0x1a2))/0xa)+-parseInt(_0x2d351a(0x231))/0xb*(-parseInt(_0x2d351a(0x1f1))/0xc);if(_0x4f9ff7===_0x3ce54e)break;else _0x5af07d['push'](_0x5af07d['shift']());}catch(_0x57f03c){_0x5af07d['push'](_0x5af07d['shift']());}}}(_0x3bd1,0xc85f1));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x10a2bb,DocsTableBorderPreset as _0x21e5da,DocsTableColumnInsertPosition as _0x76e11d,DocsTableColumnType as _0x5f1eaa,DocsTableDeleteColumnsCommand as _0x269022,DocsTableDeleteRowsCommand as _0xe59a77,DocsTableDeleteTableCommand as _0x46859a,DocsTableInsertPosition as _0x2649be,DocsTableInsertTableCommand as _0x7e92c1,DocsTableInsertTablePosition as _0x3ad52f,DocsTableModel as _0x4deb2e,DocsTableRowInsertPosition as _0x82b3b,DocsTableSelectionKind as _0x3a682d,DocsTableSelectionService as _0x46af07,DocsTableSetColumnTypeCommand as _0x47a3a9,DocsTableSortDirection as _0x27cfac,buildDistributeTableColumnsMutationActions as _0x35e68b,buildDistributeTableRowsMutationActions as _0x585fc2,buildInsertTableColumnsMutationActions as _0x2f079e,buildInsertTableRowsMutationActions as _0x2f9970,buildInsertTableTitleRowMutationActions as _0x590c3e,buildMergeCellsMutationActions as _0x5daaa1,buildMoveFloatingTableMutationActions as _0x49ba5c,buildMoveTableColumnsMutationActions as _0x38c19c,buildMoveTableRowsMutationActions as _0x40e946,buildMoveTableToOffsetMutationActions as _0x5cab22,buildResizeTableColumnActionsFromWidth as _0x380eb0,buildResizeTableRowActionsFromHeight as _0x2a6d77,buildSetTableBackgroundMutationActions as _0x3be999,buildSetTableBorderMutationActions as _0x475739,buildSetTableCellMarginMutationActions as _0x4339b2,buildSetTableCellTextMutationActions as _0x8aa1c1,buildSetTableDefaultCellMarginMutationActions as _0xc24e0e,buildSetTableHeaderRowCountMutationActions as _0x2acf2d,buildSortTableMutationActions as _0x596c36,buildUnmergeCellsMutationActions as _0x51717e,executeRichTextTableActions as _0x32465f,getTableActionBodyPath as _0xc9b810,getTableRangeById as _0x2fe24d}from'@univerjs-pro/docs-table';import{DashStyleType as _0x316dee,ICommandService as _0x19b242,Inject as _0xa66981,Injector as _0x5b17ed,JSONX as _0x1a4f7f,TableRowHeightRule as _0x4f9476,ThemeService as _0x56cb3b,Tools as _0x44d3dc,generateRandomId as _0x556848}from'@univerjs/core';import{FEnum as _0x3582a5}from'@univerjs/core/facade';import{FDocument as _0x52b261}from'@univerjs/docs/facade';var J=class extends _0x3582a5{get[_0x3af55f(0x237)](){return _0x3ad52f;}get[_0x3af55f(0x1b3)](){return _0x5f1eaa;}get[_0x3af55f(0x1cd)](){return _0x3a682d;}get['DocsTableRowInsertPosition'](){return _0x82b3b;}get[_0x3af55f(0x1bb)](){return _0x76e11d;}get[_0x3af55f(0x1f9)](){return _0x21e5da;}get[_0x3af55f(0x180)](){return _0x27cfac;}get[_0x3af55f(0x18f)](){return _0x316dee;}};_0x3582a5[_0x3af55f(0x1fe)](J);var Y=class{constructor(_0x29eaf8,_0x49461d,_0x3ab85a){const _0x9d93fe=_0x3af55f;this[_0x9d93fe(0x193)]=_0x29eaf8,this[_0x9d93fe(0x22f)]=_0x49461d,this[_0x9d93fe(0x182)]=_0x3ab85a;}[_0x3af55f(0x22d)](){return this['_table'];}['getRowIndex'](){const _0x1c109a=_0x3af55f;return this[_0x1c109a(0x22f)];}[_0x3af55f(0x1ee)](){return this['_column'];}['getText'](){const _0x25c249=_0x3af55f;return this[_0x25c249(0x193)]['getCellText'](this['_row'],this[_0x25c249(0x182)]);}[_0x3af55f(0x1de)](){const _0x559214=_0x3af55f;return this[_0x559214(0x193)][_0x559214(0x1c6)](this[_0x559214(0x22f)],this[_0x559214(0x182)]);}[_0x3af55f(0x1c5)](){const _0x2d47c2=_0x3af55f;return this[_0x2d47c2(0x193)]['getCellInsertOffset'](this[_0x2d47c2(0x22f)],this['_column']);}[_0x3af55f(0x183)](){const _0x2add6d=_0x3af55f;return this[_0x2add6d(0x193)][_0x2add6d(0x1f0)](this[_0x2add6d(0x22f)],this['_column']);}[_0x3af55f(0x195)](){const _0x5a9e11=_0x3af55f;return this[_0x5a9e11(0x193)][_0x5a9e11(0x187)](this['_row'],this['_column']);}[_0x3af55f(0x1da)](_0x224d60){const _0x5a7bbd=_0x3af55f;return this[_0x5a7bbd(0x193)][_0x5a7bbd(0x234)](this[_0x5a7bbd(0x193)][_0x5a7bbd(0x1ff)](this['_row'],this[_0x5a7bbd(0x182)]),_0x224d60);}[_0x3af55f(0x18e)](){const _0x2217c0=_0x3af55f;return this[_0x2217c0(0x193)][_0x2217c0(0x234)](this[_0x2217c0(0x193)][_0x2217c0(0x1ff)](this[_0x2217c0(0x22f)],this[_0x2217c0(0x182)]),null);}[_0x3af55f(0x22c)](_0x5aa6f3){const _0x30097a=_0x3af55f;return this[_0x30097a(0x193)]['setCellText'](this[_0x30097a(0x22f)],this[_0x30097a(0x182)],_0x5aa6f3);}[_0x3af55f(0x1c1)](_0x24016b){const _0x181a9e=_0x3af55f;return this['_table']['setCellBackground'](this[_0x181a9e(0x193)]['getCellRange'](this['_row'],this[_0x181a9e(0x182)]),_0x24016b);}['setBorder'](_0x240841){const _0x25d5e6=_0x3af55f;return this[_0x25d5e6(0x193)]['setBorder'](this[_0x25d5e6(0x193)][_0x25d5e6(0x1ff)](this[_0x25d5e6(0x22f)],this[_0x25d5e6(0x182)]),_0x240841);}[_0x3af55f(0x18a)](_0x2492d6,_0x41d6db){const _0x484324=_0x3af55f;return this[_0x484324(0x193)]['mergeCells']({'startRow':this[_0x484324(0x22f)],'startColumn':this[_0x484324(0x182)],'endRow':this[_0x484324(0x22f)]+_0x2492d6-0x1,'endColumn':this[_0x484324(0x182)]+_0x41d6db-0x1});}[_0x3af55f(0x1c7)](){const _0x1f4235=_0x3af55f;return this[_0x1f4235(0x193)][_0x1f4235(0x19a)](this['_table']['getCellRange'](this[_0x1f4235(0x22f)],this[_0x1f4235(0x182)]));}};function _0xefa6(_0x2642b3,_0x1d02d5){_0x2642b3=_0x2642b3-0x180;const _0x3bd165=_0x3bd1();let _0xefa639=_0x3bd165[_0x2642b3];return _0xefa639;}function X(_0x21f243){'@babel/helpers - typeof';const _0x34b2a6=_0x3af55f;return X=typeof Symbol==_0x34b2a6(0x20e)&&typeof Symbol[_0x34b2a6(0x1dc)]==_0x34b2a6(0x1b0)?function(_0x3c7222){return typeof _0x3c7222;}:function(_0x120361){const _0x218118=_0x34b2a6;return _0x120361&&typeof Symbol==_0x218118(0x20e)&&_0x120361[_0x218118(0x185)]===Symbol&&_0x120361!==Symbol[_0x218118(0x21f)]?'symbol':typeof _0x120361;},X(_0x21f243);}function Z(_0x5077a7,_0x50a9d7){const _0x2be5ad=_0x3af55f;if(X(_0x5077a7)!=_0x2be5ad(0x1be)||!_0x5077a7)return _0x5077a7;var _0x5cf7a7=_0x5077a7[Symbol[_0x2be5ad(0x1f5)]];if(_0x5cf7a7!==void 0x0){var _0x4668cd=_0x5cf7a7[_0x2be5ad(0x1db)](_0x5077a7,_0x50a9d7||_0x2be5ad(0x188));if(X(_0x4668cd)!=_0x2be5ad(0x1be))return _0x4668cd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x50a9d7===_0x2be5ad(0x207)?String:Number)(_0x5077a7);}function ne(_0x3dc19c){const _0x649d6f=_0x3af55f;var _0x19039f=Z(_0x3dc19c,_0x649d6f(0x207));return X(_0x19039f)=='symbol'?_0x19039f:_0x19039f+'';}function re(_0x1be163,_0x25edd4,_0x16db09){const _0x465a50=_0x3af55f;return(_0x25edd4=ne(_0x25edd4))in _0x1be163?Object[_0x465a50(0x1ae)](_0x1be163,_0x25edd4,{'value':_0x16db09,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1be163[_0x25edd4]=_0x16db09,_0x1be163;}function Q(_0xdc8f6c,_0x11da47){return function(_0x4e34fc,_0x1db8b6){_0x11da47(_0x4e34fc,_0x1db8b6,_0xdc8f6c);};}function ie(_0x46b04a,_0x232ffc,_0x1e4a24,_0x147c7e){const _0x2e9a72=_0x3af55f;var _0x9d1b2f=arguments[_0x2e9a72(0x1c8)],_0x34bd28=_0x9d1b2f<0x3?_0x232ffc:_0x147c7e===null?_0x147c7e=Object[_0x2e9a72(0x1fc)](_0x232ffc,_0x1e4a24):_0x147c7e,_0x5b9424;if(typeof Reflect==_0x2e9a72(0x1be)&&typeof Reflect[_0x2e9a72(0x1fd)]==_0x2e9a72(0x20e))_0x34bd28=Reflect['decorate'](_0x46b04a,_0x232ffc,_0x1e4a24,_0x147c7e);else{for(var _0xcfae53=_0x46b04a[_0x2e9a72(0x1c8)]-0x1;_0xcfae53>=0x0;_0xcfae53--)(_0x5b9424=_0x46b04a[_0xcfae53])&&(_0x34bd28=(_0x9d1b2f<0x3?_0x5b9424(_0x34bd28):_0x9d1b2f>0x3?_0x5b9424(_0x232ffc,_0x1e4a24,_0x34bd28):_0x5b9424(_0x232ffc,_0x1e4a24))||_0x34bd28);}return _0x9d1b2f>0x3&&_0x34bd28&&Object[_0x2e9a72(0x1ae)](_0x232ffc,_0x1e4a24,_0x34bd28),_0x34bd28;}let $=class{constructor(_0x104691,_0x1c6302,_0x495672,_0x348464,_0x47e6ea){const _0x49a2d9=_0x3af55f;this[_0x49a2d9(0x19b)]=_0x104691,this['_tableId']=_0x1c6302,this[_0x49a2d9(0x20f)]=_0x495672,this[_0x49a2d9(0x1f6)]=_0x348464,this[_0x49a2d9(0x1bd)]=_0x47e6ea,re(this,_0x49a2d9(0x1d8),void 0x0),this['_unitId']=this[_0x49a2d9(0x19b)][_0x49a2d9(0x229)]();}['getId'](){return this['_tableId'];}[_0x3af55f(0x204)](){const _0x271d4e=_0x3af55f;return this[_0x271d4e(0x20f)];}[_0x3af55f(0x20c)](){const _0x37173d=_0x3af55f;return{'id':this[_0x37173d(0x1a5)],'rowCount':this[_0x37173d(0x1d5)](),'columnCount':this[_0x37173d(0x1eb)](),'metadata':this['getMetadata'](),'source':this[_0x37173d(0x18b)]()};}['describe'](){const _0x14ddcb=_0x3af55f;let _0x2b7e48=this[_0x14ddcb(0x1e2)](),_0xc661c9=this['getSource'](),_0x1970e6=this[_0x14ddcb(0x1eb)]();return{'id':this[_0x14ddcb(0x1a5)],'rowCount':this['getRowCount'](),'columnCount':_0x1970e6,'headerRowCount':(_0x2b7e48==null?void 0x0:_0x2b7e48[_0x14ddcb(0x1e8)])??0x0,'titleRow':(_0x2b7e48==null?void 0x0:_0x2b7e48[_0x14ddcb(0x189)])??!0x1,'columns':Array[_0x14ddcb(0x1a9)]({'length':_0x1970e6},(_0x4b7017,_0x23e72e)=>{const _0x375337=_0x14ddcb;var _0x2a9b15,_0xf4db85;return{'index':_0x23e72e,'type':_0x2b7e48==null||(_0x2a9b15=_0x2b7e48['columnTypes'])==null||(_0x2a9b15=_0x2a9b15[_0x23e72e])==null?void 0x0:_0x2a9b15['type'],'width':_0xc661c9==null||(_0xf4db85=_0xc661c9[_0x375337(0x1dd)][_0x23e72e])==null?void 0x0:_0xf4db85['size'][_0x375337(0x1e7)]['v']};}),'sampleRows':Array[_0x14ddcb(0x1a9)]({'length':this[_0x14ddcb(0x1d5)]()},(_0x527e31,_0x3f2d52)=>Array['from']({'length':_0x1970e6},(_0x225c28,_0x4a77d8)=>this[_0x14ddcb(0x1e5)](_0x3f2d52,_0x4a77d8)))[_0x14ddcb(0x1ad)](_0x3f25bc=>_0x3f25bc['some'](_0x39e2f0=>_0x39e2f0[_0x14ddcb(0x1c8)]>0x0))[_0x14ddcb(0x1ce)](0x0,0x5)};}['getRowCount'](){const _0x684f70=_0x3af55f;var _0x2bad32;return((_0x2bad32=this[_0x684f70(0x18b)]())==null?void 0x0:_0x2bad32[_0x684f70(0x1d7)][_0x684f70(0x1c8)])??0x0;}[_0x3af55f(0x1eb)](){const _0x53bb74=_0x3af55f;var _0xc41c5;return((_0xc41c5=this['getSource']())==null?void 0x0:_0xc41c5[_0x53bb74(0x1dd)][_0x53bb74(0x1c8)])??0x0;}[_0x3af55f(0x1ef)](_0x19b3f2,_0x1a1102){const _0x5024a9=_0x3af55f;var _0x2a9c7e;return(_0x2a9c7e=this['getSource']())!=null&&(_0x2a9c7e=_0x2a9c7e[_0x5024a9(0x1d7)][_0x19b3f2])!=null&&_0x2a9c7e[_0x5024a9(0x201)][_0x1a1102]?this[_0x5024a9(0x1bd)][_0x5024a9(0x236)](Y,this,_0x19b3f2,_0x1a1102):null;}[_0x3af55f(0x1e5)](_0x5300d5,_0x4815bc){const _0x2cd6dd=_0x3af55f;var _0x5b33f8,_0x438549;let _0x4490c9=(_0x5b33f8=_0x2fe24d(this['_getDocumentData'](),this[_0x2cd6dd(0x1a5)]))==null||(_0x5b33f8=_0x5b33f8['rows'][_0x5300d5])==null?void 0x0:_0x5b33f8[_0x2cd6dd(0x1e0)][_0x4815bc];return _0x4490c9?((_0x438549=this['_getDocumentData']()['body'])==null?void 0x0:_0x438549['dataStream'][_0x2cd6dd(0x1ce)](_0x4490c9[_0x2cd6dd(0x1cc)]+0x1,_0x4490c9[_0x2cd6dd(0x1d1)])[_0x2cd6dd(0x194)](/\r\n$/,''))??'':'';}[_0x3af55f(0x1f0)](_0x497421,_0x1bc763){const _0x31eb26=_0x3af55f;var _0x4f5b50;let _0x4ce03e=this[_0x31eb26(0x18b)](),_0x568311=_0x4ce03e==null||(_0x4f5b50=_0x4ce03e['tableRows'][_0x497421])==null?void 0x0:_0x4f5b50[_0x31eb26(0x201)][_0x1bc763];return _0x568311?_0x44d3dc['deepClone'](_0x568311['margin']??_0x4ce03e[_0x31eb26(0x20a)]??_0x10a2bb):null;}[_0x3af55f(0x187)](_0x50d314,_0x57ac77){const _0x1d4990=_0x3af55f;var _0x363c25;let _0x32dd93=(_0x363c25=this[_0x1d4990(0x18b)]())==null||(_0x363c25=_0x363c25[_0x1d4990(0x1d7)][_0x50d314])==null?void 0x0:_0x363c25[_0x1d4990(0x201)][_0x57ac77];return _0x32dd93!=null&&_0x32dd93[_0x1d4990(0x208)]?_0x44d3dc['deepClone'](_0x32dd93['margin']):null;}['getDefaultCellMargin'](){const _0x26ae94=_0x3af55f;var _0xef2451;return _0x44d3dc[_0x26ae94(0x206)](((_0xef2451=this[_0x26ae94(0x18b)]())==null?void 0x0:_0xef2451[_0x26ae94(0x20a)])??_0x10a2bb);}[_0x3af55f(0x212)](){const _0x18aff3=_0x3af55f;var _0x5ebda1;let _0x170cf8=(_0x5ebda1=this['getSource']())==null?void 0x0:_0x5ebda1[_0x18aff3(0x20a)];return _0x170cf8?_0x44d3dc[_0x18aff3(0x206)](_0x170cf8):null;}[_0x3af55f(0x1e2)](){const _0x1120b4=_0x3af55f;let _0x10ac85=this['_injector']['get'](_0x4deb2e),_0x155aa4=this[_0x1120b4(0x18b)]();return _0x155aa4?_0x10ac85[_0x1120b4(0x200)](this[_0x1120b4(0x1d8)],_0x155aa4):void 0x0;}[_0x3af55f(0x18b)](){const _0x5a0c1b=_0x3af55f;var _0x5b31c7;return(_0x5b31c7=this['_getDocumentData']()[_0x5a0c1b(0x1cf)])==null?void 0x0:_0x5b31c7[this[_0x5a0c1b(0x1a5)]];}[_0x3af55f(0x226)](){const _0x5110c9=_0x3af55f;return _0x2fe24d(this[_0x5110c9(0x1c4)](),this[_0x5110c9(0x1a5)]);}[_0x3af55f(0x1d9)](){const _0x46b254=_0x3af55f;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x46b254(0x1d5)]()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x46b254(0x1eb)]()-0x1)};}[_0x3af55f(0x1ff)](_0x13f6de,_0x37f7a8){return{'startRow':_0x13f6de,'endRow':_0x13f6de,'startColumn':_0x37f7a8,'endColumn':_0x37f7a8};}[_0x3af55f(0x1c6)](_0x3e6fb9,_0x2b15aa){const _0xd25cce=_0x3af55f;var _0x40c45f;let _0x543883=(_0x40c45f=_0x2fe24d(this[_0xd25cce(0x1c4)](),this[_0xd25cce(0x1a5)]))==null||(_0x40c45f=_0x40c45f['rows'][_0x3e6fb9])==null?void 0x0:_0x40c45f[_0xd25cce(0x1e0)][_0x2b15aa];if(!_0x543883)return null;let _0x30241d=_0x543883[_0xd25cce(0x1cc)]+0x1;return{'startOffset':_0x30241d,'endOffset':Math[_0xd25cce(0x181)](_0x30241d,_0x543883['endOffset']-0x1),'segmentId':this[_0xd25cce(0x20f)]};}['getCellInsertOffset'](_0x96617e,_0x2c932d){const _0x3c67d9=_0x3af55f;let _0x382998=this[_0x3c67d9(0x1c6)](_0x96617e,_0x2c932d);return _0x382998?Math[_0x3c67d9(0x181)](_0x382998[_0x3c67d9(0x1cc)],_0x382998['endOffset']-0x1):null;}['getRowRange'](_0x36620e){const _0xc64ec9=_0x3af55f;return this[_0xc64ec9(0x218)](_0x36620e,0x1);}[_0x3af55f(0x218)](_0x3ca226,_0x101260=0x1){const _0x49ec2c=_0x3af55f;return{'startRow':_0x3ca226,'endRow':_0x3ca226+_0x101260-0x1,'startColumn':0x0,'endColumn':Math[_0x49ec2c(0x181)](0x0,this[_0x49ec2c(0x1eb)]()-0x1)};}['getColumnRange'](_0x3ae6dc){const _0x1cc577=_0x3af55f;return this[_0x1cc577(0x1d3)](_0x3ae6dc,0x1);}[_0x3af55f(0x1d3)](_0x3c95c8,_0x51dbdb=0x1){const _0x37c5d8=_0x3af55f;return{'startRow':0x0,'endRow':Math[_0x37c5d8(0x181)](0x0,this[_0x37c5d8(0x1d5)]()-0x1),'startColumn':_0x3c95c8,'endColumn':_0x3c95c8+_0x51dbdb-0x1};}[_0x3af55f(0x1c0)](){const _0x1b8719=_0x3af55f;return this[_0x1b8719(0x224)](this[_0x1b8719(0x1d9)](),_0x3a682d['Table']);}[_0x3af55f(0x1b8)](_0x3e461b){const _0x496f65=_0x3af55f;return this[_0x496f65(0x190)](_0x3e461b,0x1);}['selectRows'](_0x81e03,_0x23ae07=0x1){const _0x3184d1=_0x3af55f;return this[_0x3184d1(0x224)](this[_0x3184d1(0x218)](_0x81e03,_0x23ae07),_0x3a682d[_0x3184d1(0x1bc)]);}[_0x3af55f(0x21a)](_0x595a21){const _0x1fbd24=_0x3af55f;return this[_0x1fbd24(0x1fa)](_0x595a21,0x1);}[_0x3af55f(0x1fa)](_0x169333,_0x2fb74e=0x1){const _0x405b90=_0x3af55f;return this['selectRange'](this[_0x405b90(0x1d3)](_0x169333,_0x2fb74e),_0x3a682d[_0x405b90(0x1d2)]);}[_0x3af55f(0x219)](_0x82a94,_0x2a7753){const _0x11f6aa=_0x3af55f;return this[_0x11f6aa(0x224)](this[_0x11f6aa(0x1ff)](_0x82a94,_0x2a7753),_0x3a682d[_0x11f6aa(0x1d0)]);}[_0x3af55f(0x224)](_0x2eea65,_0x244bd1=_0x3a682d['Range']){const _0x2f5608=_0x3af55f;return this[_0x2f5608(0x1bd)][_0x2f5608(0x222)](_0x46af07)[_0x2f5608(0x191)]({..._0x2eea65,'kind':_0x244bd1,'segmentId':this[_0x2f5608(0x20f)],'tableId':this[_0x2f5608(0x1a5)]}),!0x0;}['insertRowBefore'](_0x5965d7){const _0x3b44bd=_0x3af55f;return this[_0x3b44bd(0x202)](_0x5965d7,0x1);}[_0x3af55f(0x19f)](_0x2dea22){const _0x92a448=_0x3af55f;return this[_0x92a448(0x1cb)](_0x2dea22,0x1);}['insertRowsBefore'](_0x40215f,_0x35be9d){const _0xdd2d1d=_0x3af55f;let _0x26a099=this[_0xdd2d1d(0x1c4)](),_0x56bd0a=_0x2f9970(_0x26a099,this[_0xdd2d1d(0x1a5)],_0x40215f,_0x35be9d,_0x2649be[_0xdd2d1d(0x1d6)],this[_0xdd2d1d(0x1ed)]());return _0x56bd0a?this[_0xdd2d1d(0x210)](_0x26a099,_0x56bd0a['actions']):!0x1;}[_0x3af55f(0x1cb)](_0x23f154,_0x482f4d){const _0x4f3c3f=_0x3af55f;let _0x11e11c=this[_0x4f3c3f(0x1c4)](),_0x5c82bc=_0x2f9970(_0x11e11c,this['_tableId'],_0x23f154,_0x482f4d,_0x2649be[_0x4f3c3f(0x1ab)],this['_getBodyPath']());return _0x5c82bc?this[_0x4f3c3f(0x210)](_0x11e11c,_0x5c82bc['actions']):!0x1;}[_0x3af55f(0x22e)](){const _0x49e847=_0x3af55f;return this['insertRowsAfter'](Math[_0x49e847(0x181)](0x0,this[_0x49e847(0x1d5)]()-0x1),0x1);}[_0x3af55f(0x220)](_0x337f6e){const _0x871863=_0x3af55f;return this[_0x871863(0x1e9)](_0x337f6e,0x1);}[_0x3af55f(0x20b)](_0x5c68d5){const _0x8c26b1=_0x3af55f;return this[_0x8c26b1(0x1df)](_0x5c68d5,0x1);}['insertColumnsBefore'](_0x3c4a8b,_0x879259){const _0x81014e=_0x3af55f;let _0x5ef725=this[_0x81014e(0x1c4)](),_0x48388e=_0x2f079e(_0x5ef725,this['_tableId'],_0x3c4a8b,_0x879259,_0x2649be['Left'],{'bodyPath':this['_getBodyPath']()});return _0x48388e?this[_0x81014e(0x210)](_0x5ef725,_0x48388e[_0x81014e(0x213)]):!0x1;}['insertColumnsAfter'](_0x33e832,_0xa1d0ef){const _0x44ada1=_0x3af55f;let _0x2253a1=this[_0x44ada1(0x1c4)](),_0x4688d4=_0x2f079e(_0x2253a1,this[_0x44ada1(0x1a5)],_0x33e832,_0xa1d0ef,_0x2649be[_0x44ada1(0x1e6)],{'bodyPath':this[_0x44ada1(0x1ed)]()});return _0x4688d4?this['_mutateActions'](_0x2253a1,_0x4688d4[_0x44ada1(0x213)]):!0x1;}['appendColumn'](){const _0x6998a1=_0x3af55f;return this['insertColumnsAfter'](Math[_0x6998a1(0x181)](0x0,this[_0x6998a1(0x1eb)]()-0x1),0x1);}[_0x3af55f(0x19c)](_0x2ac93b){return this['deleteRows'](_0x2ac93b,0x1);}[_0x3af55f(0x233)](_0x162d58,_0x6ad362=0x1){const _0x3c5a66=_0x3af55f;return!!this[_0x3c5a66(0x1f6)]['syncExecuteCommand'](_0xe59a77['id'],{'endRow':_0x162d58+_0x6ad362-0x1,'segmentId':this[_0x3c5a66(0x20f)],'startRow':_0x162d58,'tableId':this['_tableId'],'unitId':this[_0x3c5a66(0x1d8)]});}[_0x3af55f(0x20d)](_0x380463){const _0x38ad69=_0x3af55f;return this[_0x38ad69(0x1b5)](_0x380463,0x1);}[_0x3af55f(0x1b5)](_0x4fb75f,_0x41ab26=0x1){const _0x1edb76=_0x3af55f;return!!this['_commandService'][_0x1edb76(0x1f2)](_0x269022['id'],{'endColumn':_0x4fb75f+_0x41ab26-0x1,'segmentId':this[_0x1edb76(0x20f)],'startColumn':_0x4fb75f,'tableId':this[_0x1edb76(0x1a5)],'unitId':this[_0x1edb76(0x1d8)]});}[_0x3af55f(0x216)](){const _0x4807db=_0x3af55f;return!!this['_commandService'][_0x4807db(0x1f2)](_0x46859a['id'],{'segmentId':this[_0x4807db(0x20f)],'tableId':this[_0x4807db(0x1a5)],'unitId':this['_unitId']});}[_0x3af55f(0x1ba)](_0x206f49,_0x560d8c){const _0x176a39=_0x3af55f;let _0x577ccc=this[_0x176a39(0x1c4)]();return this[_0x176a39(0x210)](_0x577ccc,_0x49ba5c(_0x577ccc,this[_0x176a39(0x1a5)],_0x206f49,_0x560d8c));}[_0x3af55f(0x22b)](_0x4a1a7b){const _0x3ade4c=_0x3af55f;let _0x1b0d71=this[_0x3ade4c(0x1c4)]();return this[_0x3ade4c(0x210)](_0x1b0d71,_0x5cab22(_0x1b0d71,this[_0x3ade4c(0x1a5)],_0x4a1a7b,this[_0x3ade4c(0x1ed)]()));}['moveRow'](_0x400331,_0x56346e,_0x5dd896=_0x2649be[_0x3af55f(0x1d6)]){const _0x5f4e9e=_0x3af55f;return this[_0x5f4e9e(0x1ec)](_0x400331,0x1,_0x56346e,_0x5dd896);}[_0x3af55f(0x1ec)](_0x41ed26,_0x5508a1,_0x3d4c03,_0x39d49a=_0x2649be[_0x3af55f(0x1d6)]){const _0xe87093=_0x3af55f;let _0x17b9b0=this[_0xe87093(0x1c4)](),_0xd42835=_0x40e946(_0x17b9b0,this[_0xe87093(0x1a5)],_0x41ed26,_0x3d4c03,_0x5508a1,_0x39d49a,this[_0xe87093(0x1ed)]());return _0xd42835?this['_mutateActions'](_0x17b9b0,_0xd42835[_0xe87093(0x213)]):!0x1;}[_0x3af55f(0x1af)](_0x3355b2,_0x102c23,_0x11f7f9=_0x2649be[_0x3af55f(0x232)]){const _0x231078=_0x3af55f;return this[_0x231078(0x1ca)](_0x3355b2,0x1,_0x102c23,_0x11f7f9);}[_0x3af55f(0x1ca)](_0xc1bffd,_0x5e3b05,_0x611b35,_0xf1e461=_0x2649be['Left']){const _0x2230e0=_0x3af55f;let _0x202000=this[_0x2230e0(0x1c4)](),_0x53b730=_0x38c19c(_0x202000,this[_0x2230e0(0x1a5)],_0xc1bffd,_0x611b35,_0x5e3b05,_0xf1e461,this[_0x2230e0(0x1ed)]());return _0x53b730?this[_0x2230e0(0x210)](_0x202000,_0x53b730[_0x2230e0(0x213)]):!0x1;}['mergeCells'](_0x622f){const _0x415c33=_0x3af55f;try{let _0x4e0ab3=this['_getDocumentData'](),_0x587c91=_0x5daaa1({'documentData':_0x4e0ab3,'tableId':this[_0x415c33(0x1a5)],..._0x622f});return _0x587c91?this[_0x415c33(0x210)](_0x4e0ab3,_0x587c91['actions'],_0x622f):!0x1;}catch{return!0x1;}}[_0x3af55f(0x19a)](_0x7bb3ec){const _0x2044c1=_0x3af55f;try{let _0x19402d=this[_0x2044c1(0x1c4)](),_0x43c559=_0x51717e({'documentData':_0x19402d,'tableId':this[_0x2044c1(0x1a5)],..._0x7bb3ec});return _0x43c559?this['_mutateActions'](_0x19402d,_0x43c559[_0x2044c1(0x213)],_0x7bb3ec):!0x1;}catch{return!0x1;}}[_0x3af55f(0x215)](_0xf4ce12,_0x263c88,_0x3dfac5){const _0x36da2b=_0x3af55f;let _0xfebcb6=this[_0x36da2b(0x1c4)](),_0x4b4ca2=_0xc9b810(this[_0x36da2b(0x19b)]['getDocumentDataModel']()[_0x36da2b(0x21b)](),this[_0x36da2b(0x20f)]);return this[_0x36da2b(0x210)](_0xfebcb6,_0x8aa1c1({'documentData':_0xfebcb6,'tableId':this[_0x36da2b(0x1a5)],'row':_0xf4ce12,'column':_0x263c88,'text':_0x3dfac5},_0x4b4ca2),this[_0x36da2b(0x1ff)](_0xf4ce12,_0x263c88));}[_0x3af55f(0x1b4)](_0x2a026f,_0xa82a4d){const _0xb631ec=_0x3af55f;let _0x56855e=this['_getDocumentData']();return this[_0xb631ec(0x210)](_0x56855e,_0x3be999(_0x56855e,{'tableId':this[_0xb631ec(0x1a5)],..._0x2a026f,'value':_0xa82a4d}),_0x2a026f);}[_0x3af55f(0x234)](_0x2626a5,_0x119233){const _0x3acf63=_0x3af55f;let _0xba54f8=this[_0x3acf63(0x1c4)]();return this['_mutateActions'](_0xba54f8,_0x4339b2({'documentData':_0xba54f8,'tableId':this[_0x3acf63(0x1a5)],..._0x2626a5,'margin':_0x119233}),_0x2626a5);}[_0x3af55f(0x1b9)](_0x2c0ab9){const _0x4a07ee=_0x3af55f;let _0x518bd5=this[_0x4a07ee(0x1c4)]();return this[_0x4a07ee(0x210)](_0x518bd5,_0xc24e0e(_0x518bd5,this['_tableId'],_0x2c0ab9));}[_0x3af55f(0x1b7)](_0x158869,_0x15f6dd){const _0x492c6f=_0x3af55f;let _0x140c9e=this[_0x492c6f(0x1c4)]();return this['_mutateActions'](_0x140c9e,this[_0x492c6f(0x1b6)](_0x140c9e,_0x158869,_0x15f6dd),_0x158869);}['setTableBackground'](_0x5f0e33){const _0x1734fa=_0x3af55f;return this['setCellBackground'](this[_0x1734fa(0x1d9)](),_0x5f0e33);}[_0x3af55f(0x1f8)](_0x380842){const _0x565ff7=_0x3af55f;return this[_0x565ff7(0x1b7)](this[_0x565ff7(0x1d9)](),_0x380842);}['setTableStyle'](_0x47d071){const _0x5ae695=_0x3af55f;let _0x4d3dfd=this[_0x5ae695(0x1c4)](),_0x27cf76=this['getTableRange'](),_0x16f019=_0x47d071[_0x5ae695(0x22a)]?_0x3be999(_0x4d3dfd,{'tableId':this['_tableId'],..._0x27cf76,'value':_0x47d071[_0x5ae695(0x22a)]}):null,_0x53b968=_0x47d071['border']?this[_0x5ae695(0x1b6)](_0x4d3dfd,_0x27cf76,_0x47d071[_0x5ae695(0x198)]):null;return this[_0x5ae695(0x210)](_0x4d3dfd,_0x1a4f7f[_0x5ae695(0x1a7)](_0x16f019,_0x53b968),_0x27cf76);}[_0x3af55f(0x19d)](_0x321c26,_0x912e70,_0x9bb8f1=_0x4f9476['AT_LEAST']){const _0x512ddc=_0x3af55f;var _0x3f9494;let _0x55f56e=this[_0x512ddc(0x1c4)]();return(_0x3f9494=_0x55f56e[_0x512ddc(0x1cf)])!=null&&(_0x3f9494=_0x3f9494[this[_0x512ddc(0x1a5)]])!=null&&_0x3f9494[_0x512ddc(0x1d7)][_0x321c26]?this[_0x512ddc(0x210)](_0x55f56e,_0x2a6d77(_0x55f56e,this[_0x512ddc(0x1a5)],_0x321c26,_0x912e70,_0x9bb8f1)):!0x1;}['getRowHeight'](_0x321009){var _0x59bf4d;let _0x13dab8=(_0x59bf4d=this['getSource']())==null||(_0x59bf4d=_0x59bf4d['tableRows'][_0x321009])==null?void 0x0:_0x59bf4d['trHeight'];return _0x13dab8?_0x44d3dc['deepClone'](_0x13dab8):null;}[_0x3af55f(0x1b1)](_0xf0213,_0x19835a){const _0x4bbfe9=_0x3af55f;var _0x1e38ba;let _0x2a5501=this['_getDocumentData']();return(_0x1e38ba=_0x2a5501[_0x4bbfe9(0x1cf)])!=null&&(_0x1e38ba=_0x1e38ba[this[_0x4bbfe9(0x1a5)]])!=null&&_0x1e38ba['tableColumns'][_0xf0213]?this[_0x4bbfe9(0x210)](_0x2a5501,_0x380eb0(_0x2a5501,this[_0x4bbfe9(0x1a5)],_0xf0213,_0x19835a)):!0x1;}[_0x3af55f(0x1ea)](_0xaad15f=0x0,_0x22ac22=this[_0x3af55f(0x1d5)]()){const _0x3e29d2=_0x3af55f;let _0x5dc96d=this[_0x3e29d2(0x1c4)]();return this[_0x3e29d2(0x210)](_0x5dc96d,_0x585fc2(_0x5dc96d,this['_tableId'],_0xaad15f,_0xaad15f+_0x22ac22-0x1));}['distributeColumns'](_0x36f971=0x0,_0x4a2018=this[_0x3af55f(0x1eb)]()){const _0x210e4f=_0x3af55f;let _0x326a94=this[_0x210e4f(0x1c4)]();return this['_mutateActions'](_0x326a94,_0x35e68b(_0x326a94,this['_tableId'],_0x36f971,_0x36f971+_0x4a2018-0x1));}[_0x3af55f(0x1a3)](){const _0x3d6750=_0x3af55f;var _0x368f67;return((_0x368f67=this[_0x3d6750(0x1e2)]())==null?void 0x0:_0x368f67['headerRowCount'])??0x0;}[_0x3af55f(0x235)](_0x4f5946){const _0x57c023=_0x3af55f;let _0x2a381d=this[_0x57c023(0x1c4)](),_0x16837d=_0x2acf2d(_0x2a381d,this['_tableId'],_0x4f5946);return _0x16837d?this[_0x57c023(0x210)](_0x2a381d,_0x16837d[_0x57c023(0x213)]):!0x1;}[_0x3af55f(0x225)](_0x448663){const _0x548f6e=_0x3af55f;return this[_0x548f6e(0x235)](_0x448663);}['hasTitleRow'](){const _0x47c301=_0x3af55f;var _0x400117;return((_0x400117=this[_0x47c301(0x1e2)]())==null?void 0x0:_0x400117[_0x47c301(0x189)])??!0x1;}[_0x3af55f(0x203)](){const _0x5f33ad=_0x3af55f;let _0x4d40e7=this['_getDocumentData'](),_0x5016c9=_0x590c3e(_0x4d40e7,this[_0x5f33ad(0x1a5)],this['_getBodyPath']());return _0x5016c9?this[_0x5f33ad(0x210)](_0x4d40e7,_0x5016c9[_0x5f33ad(0x213)]):!0x1;}[_0x3af55f(0x1a8)](_0x1d0a20,_0x1dea59){const _0x18dde5=_0x3af55f;return!!this['_commandService'][_0x18dde5(0x1f2)](_0x47a3a9['id'],{'unitId':this[_0x18dde5(0x1d8)],'tableId':this[_0x18dde5(0x1a5)],'segmentId':this[_0x18dde5(0x20f)],'column':_0x1d0a20,'config':_0x1dea59});}[_0x3af55f(0x1f3)](_0x4335bb,_0x285575){const _0x16c082=_0x3af55f;let _0x4baf4b=this['_getDocumentData']();return this[_0x16c082(0x210)](_0x4baf4b,_0x596c36(_0x4baf4b,this[_0x16c082(0x1fb)](),this[_0x16c082(0x1a5)],_0x4335bb,_0x285575,this[_0x16c082(0x1ed)]()));}['_buildBorderActions'](_0x2a8821,_0x28b66e,_0x46cf12){const _0x440568=_0x3af55f;return _0x475739({'documentData':_0x2a8821,'tableId':this[_0x440568(0x1a5)],..._0x28b66e,'preset':_0x46cf12[_0x440568(0x21d)]??_0x21e5da[_0x440568(0x1f4)],'border':_0x46cf12[_0x440568(0x198)]??{'color':{'rgb':_0x46cf12[_0x440568(0x196)]??this[_0x440568(0x1bd)][_0x440568(0x222)](_0x56cb3b)[_0x440568(0x1a6)](_0x440568(0x21c))},'width':{'v':_0x46cf12[_0x440568(0x1e7)]??0x1},'dashStyle':_0x316dee[_0x440568(0x211)]}});}['_getDocumentData'](){const _0xbad7ad=_0x3af55f;let _0x104853=this[_0xbad7ad(0x19b)]['getDocumentDataModel']()['getSnapshot']();return this['_segmentId']?{...this[_0xbad7ad(0x19b)]['getDocumentDataModel'](this['_segmentId'])['getSnapshot'](),'documentStyle':_0x104853[_0xbad7ad(0x1e1)],'tableSource':_0x104853['tableSource']}:_0x104853;}['_serializeModel'](){const _0xea4ea9=_0x3af55f;return this['_injector']['get'](_0x4deb2e)[_0xea4ea9(0x1c2)](this['_unitId'],this[_0xea4ea9(0x19b)][_0xea4ea9(0x18d)]()[_0xea4ea9(0x21b)]());}[_0x3af55f(0x1ed)](){const _0x4422c1=_0x3af55f;return _0xc9b810(this[_0x4422c1(0x19b)][_0x4422c1(0x18d)]()[_0x4422c1(0x21b)](),this[_0x4422c1(0x20f)]);}[_0x3af55f(0x210)](_0x51949d,_0x5cf43a,_0xa5c032){const _0x4cf055=_0x3af55f;return _0x32465f(this[_0x4cf055(0x1f6)],this[_0x4cf055(0x1d8)],_0x51949d,_0x5cf43a,_0xa5c032?{'tableId':this[_0x4cf055(0x1a5)],'segmentId':this['_segmentId'],..._0xa5c032}:void 0x0);}};$=ie([Q(0x3,_0x19b242),Q(0x4,_0xa66981(_0x5b17ed))],$);function _0x3bd1(){const _0x37b247=['getTableAt','headerText','6631460Jsogaf','getHeaderRowCount','getBody','_tableId','getColorFromTheme','compose','setColumnType','from','includes','Below','text','filter','defineProperty','moveColumn','symbol','setColumnWidth','50wRvCmJ','DocsTableColumnType','setCellBackground','deleteColumns','_buildBorderActions','setBorder','selectRow','setDefaultCellMargin','moveTableBy','DocsTableColumnInsertPosition','Row','_injector','object','insertTableFromData','selectTable','setBackgroundColor','serializeDocument','getTableAtSelection','_getDocumentData','getInsertOffset','getCellContentRange','unmerge','length','_getTableDocumentData','moveColumns','insertRowsAfter','startOffset','DocsTableSelectionKind','slice','tableSource','Cell','endOffset','Column','getColumnsRange','1379118PVAcbH','getRowCount','Above','tableRows','_unitId','getTableRange','setMargin','call','iterator','tableColumns','getContentRange','insertColumnsAfter','cells','documentStyle','getMetadata','body','2892072jIFvDU','getCellText','Right','width','headerRowCount','insertColumnsBefore','distributeRows','getColumnCount','moveRows','_getBodyPath','getColumnIndex','getCell','getCellMargin','8532yoHYiy','syncExecuteCommand','sortByColumn','All','toPrimitive','_commandService','3238291lWWoFj','setTableBorder','DocsTableBorderPreset','selectColumns','_serializeModel','getOwnPropertyDescriptor','decorate','extend','getCellRange','resolveTableMetadata','tableCells','insertRowsBefore','insertTitleRow','getSegmentId','findTables','deepClone','string','margin','some','cellMargin','insertColumnAfter','getInfo','deleteColumn','function','_segmentId','_mutateActions','SOLID','getDefaultCellMarginOverride','actions','getTables','setCellText','deleteTable','_rowContainsText','getRowsRange','selectCell','selectColumn','getSnapshot','gray.900','preset','_getTables','prototype','insertColumnBefore','67352LAdacN','get','tableId','selectRange','pinHeaderRows','getRange','dataStream','133818sjMKFT','getId','backgroundColor','moveTableToOffset','setText','getTable','appendRow','_row','18crHDVn','50446lAIEYR','Left','deleteRows','setCellMargin','setHeaderRowCount','createInstance','DocsTableInsertTablePosition','DocsTableSortDirection','max','_column','getMargin','getStableTableSelection','constructor','8YUnPwT','getCellMarginOverride','default','titleRow','mergeTo','getSource','findTableByText','getDocumentDataModel','clearMarginOverride','DashStyleType','selectRows','setStructuralSelection','12xmcLyf','_table','replace','getMarginOverride','color','titleText','border','segmentId','unmergeCells','_document','deleteRow','setRowHeight','_createFDocumentTable','insertRowAfter'];_0x3bd1=function(){return _0x37b247;};return _0x3bd1();}var ae=class extends _0x52b261{['getTables'](_0x194864=''){const _0x1d391f=_0x3af55f;return this[_0x1d391f(0x21e)](_0x194864)['map'](_0x32b782=>this['_createFDocumentTable'](_0x32b782['tableId'],_0x194864));}[_0x3af55f(0x22d)](_0x157a87,_0x11edf3=''){const _0x3ffb1b=_0x3af55f;return this[_0x3ffb1b(0x21e)](_0x11edf3)[_0x3ffb1b(0x209)](_0x21b52a=>_0x21b52a[_0x3ffb1b(0x223)]===_0x157a87)?this[_0x3ffb1b(0x19e)](_0x157a87,_0x11edf3):null;}[_0x3af55f(0x1a0)](_0x43466b,_0x256a2d=''){const _0x1cacd5=_0x3af55f;var _0x3e6b8d;let _0x5234bc=(_0x3e6b8d=this['_getTables'](_0x256a2d)[_0x43466b])==null?void 0x0:_0x3e6b8d[_0x1cacd5(0x223)];return _0x5234bc?this[_0x1cacd5(0x19e)](_0x5234bc,_0x256a2d):null;}[_0x3af55f(0x1c3)](){const _0x228e8a=_0x3af55f;let _0xb80416=this[_0x228e8a(0x1bd)][_0x228e8a(0x222)](_0x46af07)[_0x228e8a(0x184)]();return _0xb80416!=null&&_0xb80416[_0x228e8a(0x223)]?this[_0x228e8a(0x19e)](_0xb80416[_0x228e8a(0x223)],_0xb80416[_0x228e8a(0x199)]):null;}[_0x3af55f(0x18c)](_0x1dadc0,_0x5867aa=''){const _0x44c466=_0x3af55f;return this[_0x44c466(0x205)](_0x1dadc0,_0x5867aa)[0x0]??null;}[_0x3af55f(0x205)](_0x17060c,_0x113512=''){const _0x28b550=_0x3af55f;let _0x2fde30=this[_0x28b550(0x1c9)](_0x113512),_0x1d0bc1=typeof _0x17060c==_0x28b550(0x207)?{'text':_0x17060c}:_0x17060c;return this[_0x28b550(0x214)](_0x113512)[_0x28b550(0x1ad)](_0x4d5396=>{const _0x39c937=_0x28b550;let _0x35ca79=_0x4d5396[_0x39c937(0x229)]();return!(_0x1d0bc1[_0x39c937(0x223)]&&_0x35ca79!==_0x1d0bc1[_0x39c937(0x223)]||_0x1d0bc1[_0x39c937(0x1ac)]&&!this['_tableContainsText'](_0x2fde30,_0x35ca79,_0x1d0bc1[_0x39c937(0x1ac)])||_0x1d0bc1[_0x39c937(0x1a1)]&&!this[_0x39c937(0x217)](_0x4d5396,0x0,_0x1d0bc1[_0x39c937(0x1a1)])||_0x1d0bc1[_0x39c937(0x197)]&&!this[_0x39c937(0x217)](_0x4d5396,0x0,_0x1d0bc1[_0x39c937(0x197)]));});}['insertTable'](_0xf8c2cd,_0x2b07ef,_0x3031ca={}){const _0x395b71=_0x3af55f;let _0x260dba=this[_0x395b71(0x1bd)][_0x395b71(0x222)](_0x19b242),_0x1eb969=_0x3031ca['tableId']??_0x556848(0x6);return _0x260dba['syncExecuteCommand'](_0x7e92c1['id'],{..._0x3031ca,'unitId':this[_0x395b71(0x229)](),'rows':_0xf8c2cd,'columns':_0x2b07ef,'tableId':_0x1eb969})?this['_createFDocumentTable'](_0x1eb969,_0x3031ca['segmentId']??''):null;}[_0x3af55f(0x1bf)](_0x2803b6,_0xf2ed73={}){const _0x5b8b67=_0x3af55f;let _0x547707=this[_0x5b8b67(0x1bd)][_0x5b8b67(0x222)](_0x19b242),_0x1cbed5=_0xf2ed73['tableId']??_0x556848(0x6);return _0x547707[_0x5b8b67(0x1f2)](_0x7e92c1['id'],{..._0xf2ed73,'unitId':this[_0x5b8b67(0x229)](),'values':_0x2803b6,'tableId':_0x1cbed5})?this[_0x5b8b67(0x19e)](_0x1cbed5,_0xf2ed73[_0x5b8b67(0x199)]??''):null;}[_0x3af55f(0x21e)](_0x2c79eb=''){const _0x182fc9=_0x3af55f;let {tables:_0x157463=[]}=this[_0x182fc9(0x1a4)](_0x2c79eb);return _0x157463;}[_0x3af55f(0x1c9)](_0x2d1ed4=''){const _0x575caf=_0x3af55f;let _0x6ffba1=this[_0x575caf(0x18d)]()[_0x575caf(0x21b)]();return _0x2d1ed4?{...this[_0x575caf(0x18d)](_0x2d1ed4)[_0x575caf(0x21b)](),'documentStyle':_0x6ffba1[_0x575caf(0x1e1)],'tableSource':_0x6ffba1['tableSource']}:_0x6ffba1;}[_0x3af55f(0x19e)](_0x975142,_0x9a8687=''){const _0x197361=_0x3af55f;return this[_0x197361(0x1bd)]['createInstance']($,this,_0x975142,_0x9a8687);}['_tableContainsText'](_0x29cc26,_0x2c2a0f,_0xc79778){const _0x5b3b04=_0x3af55f;var _0x105ab2;let _0x526ec9=_0x2fe24d(_0x29cc26,_0x2c2a0f);if(!_0x526ec9)return!0x1;let _0x3a68e0=(_0x105ab2=_0x29cc26[_0x5b3b04(0x1e3)])==null?void 0x0:_0x105ab2[_0x5b3b04(0x227)];return _0x3a68e0?_0x3a68e0[_0x5b3b04(0x1ce)](_0x526ec9[_0x5b3b04(0x1cc)],_0x526ec9['endOffset'])['includes'](_0xc79778):!0x1;}[_0x3af55f(0x217)](_0x44f0d5,_0x1ebf39,_0x2a4ecc){const _0x1ae553=_0x3af55f;return Array['from']({'length':_0x44f0d5[_0x1ae553(0x1eb)]()},(_0x2b1aba,_0x197f7c)=>_0x44f0d5[_0x1ae553(0x1e5)](_0x1ebf39,_0x197f7c))['some'](_0x4971b8=>_0x4971b8[_0x1ae553(0x1aa)](_0x2a4ecc));}};_0x52b261[_0x3af55f(0x1fe)](ae);export{$ as FDocumentTable,Y as FDocumentTableCell};