@univerjs-pro/docs-table 1.0.0 → 1.0.2

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/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x41125a=_0x57b2;(function(_0x4a9f3f,_0x7a9194){const _0x4aeb0d=_0x57b2,_0x58ba9b=_0x4a9f3f();while(!![]){try{const _0x3234aa=-parseInt(_0x4aeb0d(0x250))/0x1+-parseInt(_0x4aeb0d(0x1dd))/0x2+parseInt(_0x4aeb0d(0x1cd))/0x3*(parseInt(_0x4aeb0d(0x247))/0x4)+-parseInt(_0x4aeb0d(0x1be))/0x5*(-parseInt(_0x4aeb0d(0x1d8))/0x6)+parseInt(_0x4aeb0d(0x1f1))/0x7*(parseInt(_0x4aeb0d(0x1ce))/0x8)+parseInt(_0x4aeb0d(0x243))/0x9*(-parseInt(_0x4aeb0d(0x202))/0xa)+-parseInt(_0x4aeb0d(0x1f4))/0xb;if(_0x3234aa===_0x7a9194)break;else _0x58ba9b['push'](_0x58ba9b['shift']());}catch(_0x7ae91b){_0x58ba9b['push'](_0x58ba9b['shift']());}}}(_0x1d31,0xf1bff));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x4c8e4d,DocsTableBorderPreset as _0x5771ee,DocsTableColumnInsertPosition as _0x542303,DocsTableColumnType as _0x1e3971,DocsTableDeleteColumnsCommand as _0x653349,DocsTableDeleteRowsCommand as _0x40b009,DocsTableDeleteTableCommand as _0x5b87b5,DocsTableInsertPosition as _0x376ce1,DocsTableInsertTableCommand as _0x415eca,DocsTableInsertTablePosition as _0xeae5,DocsTableModel as _0x1ea9f7,DocsTableRowInsertPosition as _0x3038f3,DocsTableSelectionKind as _0x5e825f,DocsTableSelectionService as _0x5c6c3e,DocsTableSortDirection as _0x3c0f0f,buildDistributeTableColumnsMutationActions as _0xdd1724,buildDistributeTableRowsMutationActions as _0x6ecb9b,buildInsertTableColumnsMutationActions as _0x54ce17,buildInsertTableRowsMutationActions as _0x14491b,buildInsertTableTitleRowMutationActions as _0x18e5b3,buildMergeCellsMutationActions as _0x5e175e,buildMoveFloatingTableMutationActions as _0x28bd2c,buildMoveTableColumnsMutationActions as _0x3b6303,buildMoveTableRowsMutationActions as _0x515431,buildMoveTableToOffsetMutationActions as _0x27762e,buildResizeTableColumnActionsFromWidth as _0x41e320,buildResizeTableRowActionsFromHeight as _0x521df2,buildSetTableBackgroundMutationActions as _0x82af2d,buildSetTableBorderMutationActions as _0x231dfb,buildSetTableCellMarginMutationActions as _0x98376d,buildSetTableCellTextMutationActions as _0x14cfd6,buildSetTableDefaultCellMarginMutationActions as _0x55eec1,buildSetTableHeaderRowCountMutationActions as _0x21036a,buildSortTableMutationActions as _0x517a17,buildUnmergeCellsMutationActions as _0x16f349,executeRichTextTableActions as _0xe64ace,getTableActionBodyPath as _0x2bbc2c,getTableRangeById as _0xffe7b0}from'@univerjs-pro/docs-table';import{DashStyleType as _0x52632a,ICommandService as _0x2d69d9,Inject as _0xea0b69,Injector as _0x25de43,TableRowHeightRule as _0xbad851,Tools as _0x1d66af,generateRandomId as _0x190e8f}from'@univerjs/core';import{FEnum as _0x59f7da}from'@univerjs/core/facade';function _0x1d31(){const _0x3ab9da=['insertRowsBefore','setCellBackground','tableCells','endOffset','330806ZkoGIh','setCellMargin','getCellRange','setTableBackground','setCellText','Left','getContentRange','_getDocumentData','_getTableDocumentData','setStructuralSelection','getInsertOffset','moveRows','deleteTable','getStableTableSelection','slice','_tableContainsText','getTable','getCellText','setBorder','setRowHeight','637280ZrDwFT','selectColumns','moveColumns','25016387mUWjlG','getRowIndex','DocsTableColumnType','pinHeaderRows','replace','All','getColumnsRange','type','insertColumnBefore','border','Row','getRowHeight','cellMargin','getSnapshot','6010azCZlC','from','getSegmentId','insertRowBefore','deleteRow','cells','getText','describe','constructor','deepClone','preset','getTableAt','_segmentId','insertColumnsAfter','prototype','mergeCells','Above','getHeaderRowCount','titleRow','setColumnType','moveTableToOffset','clearMarginOverride','DocsTableRowInsertPosition','_injector','getCellContentRange','tableColumns','actions','insertColumnsBefore','_unitId','_getBodyPath','moveColumn','Column','_rowContainsText','_createFDocumentTable','some','headerRowCount','_table','createInstance','DashStyleType','_document','get','columnTypes','selectRow','DocsTableBorderPreset','text','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','titleText','syncExecuteCommand','_getTables','getColumnRange','findTables','size','decorate','max','AT_LEAST','backgroundColor','toPrimitive','distributeRows','documentStyle','appendRow','selectRange','Right','body','appendColumn','Range','12591JWrwtp','rows','selectTable','selectCell','4520GhHixl','width','#1f1f1f','unmergeCells','getDefaultCellMarginOverride','getInfo','extend','function','tableId','49082pkodXh','tableSource','_tableId','setBackgroundColor','headerText','selectColumn','getMarginOverride','setColumnWidth','defineProperty','_serializeModel','setText','segmentId','startOffset','insertTable','getDocumentDataModel','_commandService','getRowsRange','getCellMargin','Cell','insertRowsAfter','setHeaderRowCount','map','color','setTableBorder','object','setMargin','mergeTo','deleteColumns','getDefaultCellMargin','sortByColumn','getTableRange','includes','distributeColumns','getRange','deleteColumn','_mutateActions','filter','deleteRows','getRowCount','symbol','getMargin','setTitleRow','hasTitleRow','10eaSWvR','insertTitleRow','getId','getMetadata','DocsTableSelectionKind','string','getSource','getTables','SOLID','setDefaultCellMargin','tableRows','getCellInsertOffset','dataStream','getRowRange','length','3165lmiewI','120cNqbaf','margin','insertRowAfter','setTableStyle','getCell','selectRows','getColumnCount','_column','moveRow','_row','5285874OQtuLk'];_0x1d31=function(){return _0x3ab9da;};return _0x1d31();}import{FDocument as _0x5a8917}from'@univerjs/docs/facade';var K=class extends _0x59f7da{get['DocsTableInsertTablePosition'](){return _0xeae5;}get[_0x41125a(0x1f6)](){return _0x1e3971;}get[_0x41125a(0x1c2)](){return _0x5e825f;}get[_0x41125a(0x218)](){return _0x3038f3;}get['DocsTableColumnInsertPosition'](){return _0x542303;}get[_0x41125a(0x22d)](){return _0x5771ee;}get['DocsTableSortDirection'](){return _0x3c0f0f;}get[_0x41125a(0x228)](){return _0x52632a;}};_0x59f7da[_0x41125a(0x24d)](K);var q=class{constructor(_0xb239ab,_0x5c9a23,_0x11c583){const _0x352908=_0x41125a;this[_0x352908(0x226)]=_0xb239ab,this[_0x352908(0x1d7)]=_0x5c9a23,this[_0x352908(0x1d5)]=_0x11c583;}[_0x41125a(0x1ed)](){const _0x4f0d7a=_0x41125a;return this[_0x4f0d7a(0x226)];}[_0x41125a(0x1f5)](){return this['_row'];}['getColumnIndex'](){const _0x4d0ba9=_0x41125a;return this[_0x4d0ba9(0x1d5)];}[_0x41125a(0x208)](){const _0x4fd9d8=_0x41125a;return this[_0x4fd9d8(0x226)][_0x4fd9d8(0x1ee)](this[_0x4fd9d8(0x1d7)],this[_0x4fd9d8(0x1d5)]);}[_0x41125a(0x1e3)](){const _0xa60463=_0x41125a;return this[_0xa60463(0x226)][_0xa60463(0x21a)](this[_0xa60463(0x1d7)],this[_0xa60463(0x1d5)]);}[_0x41125a(0x1e7)](){const _0x26b9fd=_0x41125a;return this[_0x26b9fd(0x226)][_0x26b9fd(0x1c9)](this[_0x26b9fd(0x1d7)],this[_0x26b9fd(0x1d5)]);}[_0x41125a(0x1bb)](){const _0x355f07=_0x41125a;return this['_table'][_0x355f07(0x261)](this['_row'],this[_0x355f07(0x1d5)]);}[_0x41125a(0x256)](){const _0x3aa8cc=_0x41125a;return this[_0x3aa8cc(0x226)]['getCellMarginOverride'](this[_0x3aa8cc(0x1d7)],this['_column']);}[_0x41125a(0x1ac)](_0xd66cbf){const _0x370913=_0x41125a;return this[_0x370913(0x226)][_0x370913(0x1de)](this[_0x370913(0x226)][_0x370913(0x1df)](this['_row'],this['_column']),_0xd66cbf);}[_0x41125a(0x217)](){const _0xfa5172=_0x41125a;return this['_table'][_0xfa5172(0x1de)](this[_0xfa5172(0x226)][_0xfa5172(0x1df)](this[_0xfa5172(0x1d7)],this[_0xfa5172(0x1d5)]),null);}[_0x41125a(0x25a)](_0x313d63){const _0x5e9ad7=_0x41125a;return this[_0x5e9ad7(0x226)]['setCellText'](this[_0x5e9ad7(0x1d7)],this[_0x5e9ad7(0x1d5)],_0x313d63);}[_0x41125a(0x253)](_0x88700f){const _0x1d3397=_0x41125a;return this[_0x1d3397(0x226)]['setCellBackground'](this[_0x1d3397(0x226)][_0x1d3397(0x1df)](this[_0x1d3397(0x1d7)],this[_0x1d3397(0x1d5)]),_0x88700f);}[_0x41125a(0x1ef)](_0x186aac){const _0x2eedb9=_0x41125a;return this[_0x2eedb9(0x226)][_0x2eedb9(0x1ef)](this[_0x2eedb9(0x226)][_0x2eedb9(0x1df)](this[_0x2eedb9(0x1d7)],this[_0x2eedb9(0x1d5)]),_0x186aac);}[_0x41125a(0x1ad)](_0x4413a5,_0x516e4f){const _0x13300d=_0x41125a;return this['_table'][_0x13300d(0x211)]({'startRow':this[_0x13300d(0x1d7)],'startColumn':this[_0x13300d(0x1d5)],'endRow':this[_0x13300d(0x1d7)]+_0x4413a5-0x1,'endColumn':this[_0x13300d(0x1d5)]+_0x516e4f-0x1});}['unmerge'](){const _0x2710af=_0x41125a;return this[_0x2710af(0x226)][_0x2710af(0x24a)](this[_0x2710af(0x226)][_0x2710af(0x1df)](this[_0x2710af(0x1d7)],this[_0x2710af(0x1d5)]));}};function J(_0x238d46){'@babel/helpers - typeof';const _0x1bf70a=_0x41125a;return J=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x1bf70a(0x1ba)?function(_0x3c744f){return typeof _0x3c744f;}:function(_0x4e5cfa){const _0x206225=_0x1bf70a;return _0x4e5cfa&&typeof Symbol==_0x206225(0x24e)&&_0x4e5cfa[_0x206225(0x20a)]===Symbol&&_0x4e5cfa!==Symbol[_0x206225(0x210)]?_0x206225(0x1ba):typeof _0x4e5cfa;},J(_0x238d46);}function Y(_0x334359,_0x2e50fb){const _0x32ef7f=_0x41125a;if(J(_0x334359)!=_0x32ef7f(0x1ab)||!_0x334359)return _0x334359;var _0x361ccf=_0x334359[Symbol[_0x32ef7f(0x23a)]];if(_0x361ccf!==void 0x0){var _0x1e9b49=_0x361ccf['call'](_0x334359,_0x2e50fb||'default');if(J(_0x1e9b49)!='object')return _0x1e9b49;throw TypeError(_0x32ef7f(0x22f));}return(_0x2e50fb===_0x32ef7f(0x1c3)?String:Number)(_0x334359);}function _0x57b2(_0x16269c,_0x1f8e6d){_0x16269c=_0x16269c-0x1a7;const _0x1d31ad=_0x1d31();let _0x57b278=_0x1d31ad[_0x16269c];return _0x57b278;}function X(_0x2b84df){const _0x5ca21b=_0x41125a;var _0xa02c77=Y(_0x2b84df,_0x5ca21b(0x1c3));return J(_0xa02c77)=='symbol'?_0xa02c77:_0xa02c77+'';}function Z(_0x907966,_0x8e2c1,_0x52506c){const _0x1c7924=_0x41125a;return(_0x8e2c1=X(_0x8e2c1))in _0x907966?Object[_0x1c7924(0x258)](_0x907966,_0x8e2c1,{'value':_0x52506c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x907966[_0x8e2c1]=_0x52506c,_0x907966;}function Q(_0x50c6a8,_0x2cd276){return function(_0x19ca56,_0x50eaf2){_0x2cd276(_0x19ca56,_0x50eaf2,_0x50c6a8);};}function te(_0x3f4af4,_0x18e395,_0x53dbd7,_0x40f24c){const _0x2c28c3=_0x41125a;var _0x3ac71d=arguments[_0x2c28c3(0x1cc)],_0x5bcb3d=_0x3ac71d<0x3?_0x18e395:_0x40f24c===null?_0x40f24c=Object['getOwnPropertyDescriptor'](_0x18e395,_0x53dbd7):_0x40f24c,_0x2a2487;if(typeof Reflect==_0x2c28c3(0x1ab)&&typeof Reflect[_0x2c28c3(0x236)]==_0x2c28c3(0x24e))_0x5bcb3d=Reflect[_0x2c28c3(0x236)](_0x3f4af4,_0x18e395,_0x53dbd7,_0x40f24c);else{for(var _0xaa6c58=_0x3f4af4[_0x2c28c3(0x1cc)]-0x1;_0xaa6c58>=0x0;_0xaa6c58--)(_0x2a2487=_0x3f4af4[_0xaa6c58])&&(_0x5bcb3d=(_0x3ac71d<0x3?_0x2a2487(_0x5bcb3d):_0x3ac71d>0x3?_0x2a2487(_0x18e395,_0x53dbd7,_0x5bcb3d):_0x2a2487(_0x18e395,_0x53dbd7))||_0x5bcb3d);}return _0x3ac71d>0x3&&_0x5bcb3d&&Object['defineProperty'](_0x18e395,_0x53dbd7,_0x5bcb3d),_0x5bcb3d;}let $=class{constructor(_0x2705b2,_0x3d7206,_0x20669b,_0x54f0e1,_0x44c4d8){const _0x271c9f=_0x41125a;this[_0x271c9f(0x229)]=_0x2705b2,this['_tableId']=_0x3d7206,this['_segmentId']=_0x20669b,this['_commandService']=_0x54f0e1,this['_injector']=_0x44c4d8,Z(this,_0x271c9f(0x21e),void 0x0),this[_0x271c9f(0x21e)]=this[_0x271c9f(0x229)][_0x271c9f(0x1c0)]();}[_0x41125a(0x1c0)](){const _0x1c81a4=_0x41125a;return this[_0x1c81a4(0x252)];}[_0x41125a(0x204)](){const _0x3016b0=_0x41125a;return this[_0x3016b0(0x20e)];}[_0x41125a(0x24c)](){const _0x475520=_0x41125a;return{'id':this[_0x475520(0x252)],'rowCount':this['getRowCount'](),'columnCount':this[_0x475520(0x1d4)](),'metadata':this['getMetadata'](),'source':this[_0x475520(0x1c4)]()};}[_0x41125a(0x209)](){const _0x192c99=_0x41125a;let _0x72165b=this[_0x192c99(0x1c1)](),_0x17bfb9=this[_0x192c99(0x1c4)](),_0x1e6000=this[_0x192c99(0x1d4)]();return{'id':this['_tableId'],'rowCount':this[_0x192c99(0x1b9)](),'columnCount':_0x1e6000,'headerRowCount':(_0x72165b==null?void 0x0:_0x72165b[_0x192c99(0x225)])??0x0,'titleRow':(_0x72165b==null?void 0x0:_0x72165b[_0x192c99(0x214)])??!0x1,'columns':Array[_0x192c99(0x203)]({'length':_0x1e6000},(_0x276437,_0x3b56d1)=>{const _0x30886a=_0x192c99;var _0x34e300,_0x1380e4;return{'index':_0x3b56d1,'type':_0x72165b==null||(_0x34e300=_0x72165b[_0x30886a(0x22b)])==null||(_0x34e300=_0x34e300[_0x3b56d1])==null?void 0x0:_0x34e300[_0x30886a(0x1fb)],'width':_0x17bfb9==null||(_0x1380e4=_0x17bfb9[_0x30886a(0x21b)][_0x3b56d1])==null?void 0x0:_0x1380e4[_0x30886a(0x235)][_0x30886a(0x248)]['v']};}),'sampleRows':Array[_0x192c99(0x203)]({'length':this['getRowCount']()},(_0x3a8ff5,_0x8b211)=>Array['from']({'length':_0x1e6000},(_0x437b3f,_0x5619f9)=>this[_0x192c99(0x1ee)](_0x8b211,_0x5619f9)))[_0x192c99(0x1b7)](_0x5defe4=>_0x5defe4['some'](_0x26da9a=>_0x26da9a[_0x192c99(0x1cc)]>0x0))[_0x192c99(0x1eb)](0x0,0x5)};}['getRowCount'](){const _0x2a23fd=_0x41125a;var _0x2a972d;return((_0x2a972d=this[_0x2a23fd(0x1c4)]())==null?void 0x0:_0x2a972d[_0x2a23fd(0x1c8)]['length'])??0x0;}[_0x41125a(0x1d4)](){const _0x4c6d31=_0x41125a;var _0x40bbf6;return((_0x40bbf6=this[_0x4c6d31(0x1c4)]())==null?void 0x0:_0x40bbf6['tableColumns'][_0x4c6d31(0x1cc)])??0x0;}[_0x41125a(0x1d2)](_0x1791c7,_0x6a3d00){const _0x2e98b7=_0x41125a;var _0xa43c2e;return(_0xa43c2e=this[_0x2e98b7(0x1c4)]())!=null&&(_0xa43c2e=_0xa43c2e[_0x2e98b7(0x1c8)][_0x1791c7])!=null&&_0xa43c2e[_0x2e98b7(0x1db)][_0x6a3d00]?this['_injector'][_0x2e98b7(0x227)](q,this,_0x1791c7,_0x6a3d00):null;}[_0x41125a(0x1ee)](_0x5a6785,_0x37a6f3){const _0x5efa13=_0x41125a;var _0x594452,_0x494476;let _0x27f601=(_0x594452=_0xffe7b0(this['_getDocumentData'](),this[_0x5efa13(0x252)]))==null||(_0x594452=_0x594452[_0x5efa13(0x244)][_0x5a6785])==null?void 0x0:_0x594452[_0x5efa13(0x207)][_0x37a6f3];return _0x27f601?((_0x494476=this[_0x5efa13(0x1e4)]()[_0x5efa13(0x240)])==null?void 0x0:_0x494476[_0x5efa13(0x1ca)]['slice'](_0x27f601[_0x5efa13(0x25c)]+0x1,_0x27f601[_0x5efa13(0x1dc)])[_0x5efa13(0x1f8)](/\r\n$/,''))??'':'';}[_0x41125a(0x261)](_0x55c186,_0x3eb03a){const _0x54aef1=_0x41125a;var _0x2b3eee;let _0x547218=this[_0x54aef1(0x1c4)](),_0x35f5fa=_0x547218==null||(_0x2b3eee=_0x547218[_0x54aef1(0x1c8)][_0x55c186])==null?void 0x0:_0x2b3eee[_0x54aef1(0x1db)][_0x3eb03a];return _0x35f5fa?_0x1d66af[_0x54aef1(0x20b)](_0x35f5fa[_0x54aef1(0x1cf)]??_0x547218['cellMargin']??_0x4c8e4d):null;}['getCellMarginOverride'](_0x5e6fae,_0x547530){const _0x10ff87=_0x41125a;var _0x142550;let _0x487633=(_0x142550=this[_0x10ff87(0x1c4)]())==null||(_0x142550=_0x142550[_0x10ff87(0x1c8)][_0x5e6fae])==null?void 0x0:_0x142550['tableCells'][_0x547530];return _0x487633!=null&&_0x487633['margin']?_0x1d66af[_0x10ff87(0x20b)](_0x487633[_0x10ff87(0x1cf)]):null;}[_0x41125a(0x1af)](){const _0x2b92a1=_0x41125a;var _0x3d782c;return _0x1d66af['deepClone'](((_0x3d782c=this['getSource']())==null?void 0x0:_0x3d782c[_0x2b92a1(0x200)])??_0x4c8e4d);}[_0x41125a(0x24b)](){const _0x43ae32=_0x41125a;var _0xa3740b;let _0x2de83e=(_0xa3740b=this['getSource']())==null?void 0x0:_0xa3740b[_0x43ae32(0x200)];return _0x2de83e?_0x1d66af[_0x43ae32(0x20b)](_0x2de83e):null;}['getMetadata'](){const _0x435ae8=_0x41125a;return this['_injector'][_0x435ae8(0x22a)](_0x1ea9f7)['getTableMetadata'](this[_0x435ae8(0x21e)],this['_tableId']);}['getSource'](){const _0x9cff11=_0x41125a;var _0x54414e;return(_0x54414e=this[_0x9cff11(0x1e4)]()['tableSource'])==null?void 0x0:_0x54414e[this[_0x9cff11(0x252)]];}[_0x41125a(0x1b4)](){const _0x294c76=_0x41125a;return _0xffe7b0(this[_0x294c76(0x1e4)](),this[_0x294c76(0x252)]);}['getTableRange'](){const _0x1f4c8f=_0x41125a;return{'startRow':0x0,'endRow':Math[_0x1f4c8f(0x237)](0x0,this[_0x1f4c8f(0x1b9)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x1f4c8f(0x237)](0x0,this[_0x1f4c8f(0x1d4)]()-0x1)};}[_0x41125a(0x1df)](_0x195d66,_0x31e55f){return{'startRow':_0x195d66,'endRow':_0x195d66,'startColumn':_0x31e55f,'endColumn':_0x31e55f};}['getCellContentRange'](_0x42f96b,_0x40c1d0){const _0xf02a81=_0x41125a;var _0x284a6e;let _0x39d373=(_0x284a6e=_0xffe7b0(this['_getDocumentData'](),this[_0xf02a81(0x252)]))==null||(_0x284a6e=_0x284a6e[_0xf02a81(0x244)][_0x42f96b])==null?void 0x0:_0x284a6e[_0xf02a81(0x207)][_0x40c1d0];if(!_0x39d373)return null;let _0xecdb43=_0x39d373['startOffset']+0x1;return{'startOffset':_0xecdb43,'endOffset':Math[_0xf02a81(0x237)](_0xecdb43,_0x39d373[_0xf02a81(0x1dc)]-0x1),'segmentId':this[_0xf02a81(0x20e)]};}[_0x41125a(0x1c9)](_0x2b2803,_0x3c7baf){const _0x569337=_0x41125a;let _0x41e25d=this[_0x569337(0x21a)](_0x2b2803,_0x3c7baf);return _0x41e25d?Math['max'](_0x41e25d[_0x569337(0x25c)],_0x41e25d['endOffset']-0x1):null;}[_0x41125a(0x1cb)](_0x27a24a){const _0x5c26be=_0x41125a;return this[_0x5c26be(0x260)](_0x27a24a,0x1);}[_0x41125a(0x260)](_0x4d6718,_0x4905b2=0x1){const _0x4a9f54=_0x41125a;return{'startRow':_0x4d6718,'endRow':_0x4d6718+_0x4905b2-0x1,'startColumn':0x0,'endColumn':Math[_0x4a9f54(0x237)](0x0,this['getColumnCount']()-0x1)};}[_0x41125a(0x233)](_0x4831f1){return this['getColumnsRange'](_0x4831f1,0x1);}[_0x41125a(0x1fa)](_0x1a7b30,_0x221363=0x1){const _0x3d1881=_0x41125a;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x3d1881(0x1b9)]()-0x1),'startColumn':_0x1a7b30,'endColumn':_0x1a7b30+_0x221363-0x1};}[_0x41125a(0x245)](){return this['selectRange'](this['getTableRange'](),_0x5e825f['Table']);}[_0x41125a(0x22c)](_0x3e49d9){return this['selectRows'](_0x3e49d9,0x1);}[_0x41125a(0x1d3)](_0x23e8f0,_0x436339=0x1){const _0x33de25=_0x41125a;return this[_0x33de25(0x23e)](this[_0x33de25(0x260)](_0x23e8f0,_0x436339),_0x5e825f[_0x33de25(0x1fe)]);}[_0x41125a(0x255)](_0xbe1d5f){const _0x4b55fd=_0x41125a;return this[_0x4b55fd(0x1f2)](_0xbe1d5f,0x1);}[_0x41125a(0x1f2)](_0x5d5402,_0x331120=0x1){const _0x12c9f9=_0x41125a;return this[_0x12c9f9(0x23e)](this[_0x12c9f9(0x1fa)](_0x5d5402,_0x331120),_0x5e825f[_0x12c9f9(0x221)]);}[_0x41125a(0x246)](_0x32ff10,_0x1cd100){const _0x37f401=_0x41125a;return this[_0x37f401(0x23e)](this['getCellRange'](_0x32ff10,_0x1cd100),_0x5e825f[_0x37f401(0x262)]);}[_0x41125a(0x23e)](_0x3daebf,_0x5167a4=_0x5e825f[_0x41125a(0x242)]){const _0x3f6a71=_0x41125a;return this[_0x3f6a71(0x219)][_0x3f6a71(0x22a)](_0x5c6c3e)[_0x3f6a71(0x1e6)]({..._0x3daebf,'kind':_0x5167a4,'segmentId':this[_0x3f6a71(0x20e)],'tableId':this[_0x3f6a71(0x252)]}),!0x0;}[_0x41125a(0x205)](_0x2dd781){const _0x10b787=_0x41125a;return this[_0x10b787(0x1d9)](_0x2dd781,0x1);}[_0x41125a(0x1d0)](_0x160626){const _0x1306e8=_0x41125a;return this[_0x1306e8(0x263)](_0x160626,0x1);}['insertRowsBefore'](_0x3fee1e,_0x3ab5e4){const _0x4d0ed3=_0x41125a;let _0x2ff729=this[_0x4d0ed3(0x1e4)](),_0x5341d0=_0x14491b(_0x2ff729,this[_0x4d0ed3(0x252)],_0x3fee1e,_0x3ab5e4,_0x376ce1[_0x4d0ed3(0x212)],this[_0x4d0ed3(0x21f)]());return _0x5341d0?this['_mutateActions'](_0x2ff729,_0x5341d0['actions']):!0x1;}['insertRowsAfter'](_0x238e7a,_0xbfaabb){const _0x408578=_0x41125a;let _0x23c336=this[_0x408578(0x1e4)](),_0x72c1f1=_0x14491b(_0x23c336,this[_0x408578(0x252)],_0x238e7a,_0xbfaabb,_0x376ce1['Below'],this['_getBodyPath']());return _0x72c1f1?this[_0x408578(0x1b6)](_0x23c336,_0x72c1f1['actions']):!0x1;}[_0x41125a(0x23d)](){const _0xcbcbf=_0x41125a;return this[_0xcbcbf(0x263)](Math[_0xcbcbf(0x237)](0x0,this[_0xcbcbf(0x1b9)]()-0x1),0x1);}[_0x41125a(0x1fc)](_0x2e34ea){const _0x497405=_0x41125a;return this[_0x497405(0x21d)](_0x2e34ea,0x1);}['insertColumnAfter'](_0x5e398f){const _0x3b197f=_0x41125a;return this[_0x3b197f(0x20f)](_0x5e398f,0x1);}[_0x41125a(0x21d)](_0x4857db,_0x5df8f9){const _0x228672=_0x41125a;let _0x3063d7=this['_getDocumentData'](),_0x2a2c58=_0x54ce17(_0x3063d7,this[_0x228672(0x252)],_0x4857db,_0x5df8f9,_0x376ce1[_0x228672(0x1e2)],{'bodyPath':this[_0x228672(0x21f)]()});return _0x2a2c58?this[_0x228672(0x1b6)](_0x3063d7,_0x2a2c58[_0x228672(0x21c)]):!0x1;}[_0x41125a(0x20f)](_0xa834ad,_0x927b97){const _0x45e715=_0x41125a;let _0x1d79d9=this[_0x45e715(0x1e4)](),_0x874c87=_0x54ce17(_0x1d79d9,this[_0x45e715(0x252)],_0xa834ad,_0x927b97,_0x376ce1[_0x45e715(0x23f)],{'bodyPath':this[_0x45e715(0x21f)]()});return _0x874c87?this['_mutateActions'](_0x1d79d9,_0x874c87[_0x45e715(0x21c)]):!0x1;}[_0x41125a(0x241)](){const _0x494050=_0x41125a;return this[_0x494050(0x20f)](Math['max'](0x0,this['getColumnCount']()-0x1),0x1);}[_0x41125a(0x206)](_0x347636){return this['deleteRows'](_0x347636,0x1);}[_0x41125a(0x1b8)](_0x2359e0,_0x181259=0x1){const _0x71137b=_0x41125a;return!!this[_0x71137b(0x25f)][_0x71137b(0x231)](_0x40b009['id'],{'endRow':_0x2359e0+_0x181259-0x1,'segmentId':this[_0x71137b(0x20e)],'startRow':_0x2359e0,'tableId':this[_0x71137b(0x252)],'unitId':this[_0x71137b(0x21e)]});}[_0x41125a(0x1b5)](_0x5e8547){const _0xcacb0e=_0x41125a;return this[_0xcacb0e(0x1ae)](_0x5e8547,0x1);}[_0x41125a(0x1ae)](_0x4dca86,_0x48b8aa=0x1){const _0x2f1aad=_0x41125a;return!!this[_0x2f1aad(0x25f)][_0x2f1aad(0x231)](_0x653349['id'],{'endColumn':_0x4dca86+_0x48b8aa-0x1,'segmentId':this[_0x2f1aad(0x20e)],'startColumn':_0x4dca86,'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x41125a(0x1e9)](){const _0x4a7f7a=_0x41125a;return!!this['_commandService'][_0x4a7f7a(0x231)](_0x5b87b5['id'],{'segmentId':this['_segmentId'],'tableId':this['_tableId'],'unitId':this[_0x4a7f7a(0x21e)]});}['moveTableBy'](_0x527c17,_0x8c9e93){const _0x2c0ea4=_0x41125a;let _0x3902bd=this[_0x2c0ea4(0x1e4)]();return this[_0x2c0ea4(0x1b6)](_0x3902bd,_0x28bd2c(_0x3902bd,this[_0x2c0ea4(0x252)],_0x527c17,_0x8c9e93));}[_0x41125a(0x216)](_0x59f03a){const _0x1f9f69=_0x41125a;let _0x486b92=this['_getDocumentData']();return this[_0x1f9f69(0x1b6)](_0x486b92,_0x27762e(_0x486b92,this[_0x1f9f69(0x252)],_0x59f03a,this[_0x1f9f69(0x21f)]()));}[_0x41125a(0x1d6)](_0x4c36d2,_0x285f56,_0x7c5a76=_0x376ce1[_0x41125a(0x212)]){const _0x4a37e7=_0x41125a;return this[_0x4a37e7(0x1e8)](_0x4c36d2,0x1,_0x285f56,_0x7c5a76);}['moveRows'](_0x58e0d0,_0x4ba075,_0x32c8a5,_0x270198=_0x376ce1[_0x41125a(0x212)]){const _0x4834a0=_0x41125a;let _0x4090de=this[_0x4834a0(0x1e4)](),_0x5eced4=_0x515431(_0x4090de,this[_0x4834a0(0x252)],_0x58e0d0,_0x32c8a5,_0x4ba075,_0x270198,this[_0x4834a0(0x21f)]());return _0x5eced4?this[_0x4834a0(0x1b6)](_0x4090de,_0x5eced4[_0x4834a0(0x21c)]):!0x1;}[_0x41125a(0x220)](_0x64159a,_0x469f00,_0x26a6b2=_0x376ce1[_0x41125a(0x1e2)]){const _0x1aa3ee=_0x41125a;return this[_0x1aa3ee(0x1f3)](_0x64159a,0x1,_0x469f00,_0x26a6b2);}[_0x41125a(0x1f3)](_0x19208d,_0x42cd43,_0x25914d,_0x517fbd=_0x376ce1['Left']){const _0x2ba8f6=_0x41125a;let _0x1cb238=this['_getDocumentData'](),_0x218d30=_0x3b6303(_0x1cb238,this['_tableId'],_0x19208d,_0x25914d,_0x42cd43,_0x517fbd,this[_0x2ba8f6(0x21f)]());return _0x218d30?this[_0x2ba8f6(0x1b6)](_0x1cb238,_0x218d30[_0x2ba8f6(0x21c)]):!0x1;}[_0x41125a(0x211)](_0x19af4a){const _0x2b325e=_0x41125a;try{let _0x463771=this[_0x2b325e(0x1e4)](),_0x47098d=_0x5e175e({'documentData':_0x463771,'tableId':this[_0x2b325e(0x252)],..._0x19af4a});return _0x47098d?this[_0x2b325e(0x1b6)](_0x463771,_0x47098d['actions'],_0x19af4a):!0x1;}catch{return!0x1;}}[_0x41125a(0x24a)](_0x5dc4ce){const _0x5e7f58=_0x41125a;try{let _0x4cffab=this[_0x5e7f58(0x1e4)](),_0x400a5d=_0x16f349({'documentData':_0x4cffab,'tableId':this['_tableId'],..._0x5dc4ce});return _0x400a5d?this['_mutateActions'](_0x4cffab,_0x400a5d[_0x5e7f58(0x21c)],_0x5dc4ce):!0x1;}catch{return!0x1;}}[_0x41125a(0x1e1)](_0x18708b,_0x18b7a8,_0x134746){const _0x234199=_0x41125a;let _0x32d653=this[_0x234199(0x1e4)](),_0x56e2e8=_0x2bbc2c(this[_0x234199(0x229)][_0x234199(0x25e)]()[_0x234199(0x201)](),this[_0x234199(0x20e)]);return this[_0x234199(0x1b6)](_0x32d653,_0x14cfd6({'documentData':_0x32d653,'tableId':this[_0x234199(0x252)],'row':_0x18708b,'column':_0x18b7a8,'text':_0x134746},_0x56e2e8),this[_0x234199(0x1df)](_0x18708b,_0x18b7a8));}['setCellBackground'](_0x472f48,_0x1a424e){const _0x1c02cf=_0x41125a;let _0x462c57=this['_getDocumentData']();return this[_0x1c02cf(0x1b6)](_0x462c57,_0x82af2d(_0x462c57,{'tableId':this[_0x1c02cf(0x252)],..._0x472f48,'value':_0x1a424e}),_0x472f48);}[_0x41125a(0x1de)](_0x5b2b8f,_0x55bb28){const _0x569e65=_0x41125a;let _0x22bf7b=this['_getDocumentData']();return this[_0x569e65(0x1b6)](_0x22bf7b,_0x98376d({'documentData':_0x22bf7b,'tableId':this['_tableId'],..._0x5b2b8f,'margin':_0x55bb28}),_0x5b2b8f);}[_0x41125a(0x1c7)](_0xee4499){const _0x5c29bb=_0x41125a;let _0x49c123=this[_0x5c29bb(0x1e4)]();return this[_0x5c29bb(0x1b6)](_0x49c123,_0x55eec1(_0x49c123,this[_0x5c29bb(0x252)],_0xee4499));}[_0x41125a(0x1ef)](_0x539f34,_0x510a98){const _0x3f7af1=_0x41125a;let _0x5d2fdb=this['_getDocumentData']();return this[_0x3f7af1(0x1b6)](_0x5d2fdb,_0x231dfb({'documentData':_0x5d2fdb,'tableId':this[_0x3f7af1(0x252)],..._0x539f34,'preset':_0x510a98[_0x3f7af1(0x20c)]??_0x5771ee[_0x3f7af1(0x1f9)],'border':_0x510a98[_0x3f7af1(0x1fd)]??{'color':{'rgb':_0x510a98[_0x3f7af1(0x1a9)]??_0x3f7af1(0x249)},'width':{'v':_0x510a98[_0x3f7af1(0x248)]??0x1},'dashStyle':_0x52632a[_0x3f7af1(0x1c6)]}}),_0x539f34);}[_0x41125a(0x1e0)](_0x119bf4){const _0x1701f7=_0x41125a;return this[_0x1701f7(0x1da)](this[_0x1701f7(0x1b1)](),_0x119bf4);}[_0x41125a(0x1aa)](_0x106b06){const _0xe799f0=_0x41125a;return this[_0xe799f0(0x1ef)](this[_0xe799f0(0x1b1)](),_0x106b06);}[_0x41125a(0x1d1)](_0x5df12f){const _0x13b641=_0x41125a;let _0x4f111a=!_0x5df12f[_0x13b641(0x239)]||this[_0x13b641(0x1e0)](_0x5df12f[_0x13b641(0x239)]),_0x23b287=!_0x5df12f['border']||this[_0x13b641(0x1aa)](_0x5df12f[_0x13b641(0x1fd)]);return _0x4f111a&&_0x23b287;}[_0x41125a(0x1f0)](_0x57f6bd,_0x260fd1,_0x39745b=_0xbad851[_0x41125a(0x238)]){const _0x1e9c4f=_0x41125a;var _0x322f21;let _0x167c87=this[_0x1e9c4f(0x1e4)]();return(_0x322f21=_0x167c87[_0x1e9c4f(0x251)])!=null&&(_0x322f21=_0x322f21[this[_0x1e9c4f(0x252)]])!=null&&_0x322f21[_0x1e9c4f(0x1c8)][_0x57f6bd]?this[_0x1e9c4f(0x1b6)](_0x167c87,_0x521df2(_0x167c87,this[_0x1e9c4f(0x252)],_0x57f6bd,_0x260fd1,_0x39745b)):!0x1;}[_0x41125a(0x1ff)](_0x218914){const _0x4c1034=_0x41125a;var _0x5e7c3f;let _0xb7d05=(_0x5e7c3f=this[_0x4c1034(0x1c4)]())==null||(_0x5e7c3f=_0x5e7c3f[_0x4c1034(0x1c8)][_0x218914])==null?void 0x0:_0x5e7c3f['trHeight'];return _0xb7d05?_0x1d66af[_0x4c1034(0x20b)](_0xb7d05):null;}[_0x41125a(0x257)](_0x4d7f6e,_0x42d342){const _0x1d45ca=_0x41125a;var _0xd0cad8;let _0x23eb74=this[_0x1d45ca(0x1e4)]();return(_0xd0cad8=_0x23eb74[_0x1d45ca(0x251)])!=null&&(_0xd0cad8=_0xd0cad8[this[_0x1d45ca(0x252)]])!=null&&_0xd0cad8[_0x1d45ca(0x21b)][_0x4d7f6e]?this['_mutateActions'](_0x23eb74,_0x41e320(_0x23eb74,this[_0x1d45ca(0x252)],_0x4d7f6e,_0x42d342)):!0x1;}[_0x41125a(0x23b)](_0x3ab938=0x0,_0x9d23ab=this[_0x41125a(0x1b9)]()){const _0x3985e6=_0x41125a;let _0x46b93c=this[_0x3985e6(0x1e4)]();return this[_0x3985e6(0x1b6)](_0x46b93c,_0x6ecb9b(_0x46b93c,this['_tableId'],_0x3ab938,_0x3ab938+_0x9d23ab-0x1));}[_0x41125a(0x1b3)](_0x366259=0x0,_0x53f80e=this['getColumnCount']()){const _0x239c38=_0x41125a;let _0x14dbbf=this['_getDocumentData']();return this[_0x239c38(0x1b6)](_0x14dbbf,_0xdd1724(_0x14dbbf,this[_0x239c38(0x252)],_0x366259,_0x366259+_0x53f80e-0x1));}[_0x41125a(0x213)](){const _0x73cb8c=_0x41125a;var _0x4aff6f;return((_0x4aff6f=this['getMetadata']())==null?void 0x0:_0x4aff6f[_0x73cb8c(0x225)])??0x0;}[_0x41125a(0x1a7)](_0x37ca7c){const _0x91fa67=_0x41125a;let _0x1a7314=this[_0x91fa67(0x219)][_0x91fa67(0x22a)](_0x1ea9f7),_0x43d5ff=this[_0x91fa67(0x1e4)](),_0x12faae=_0x21036a(_0x43d5ff,this[_0x91fa67(0x252)],_0x37ca7c);if(!_0x12faae)return!0x1;let _0x185b63=this[_0x91fa67(0x1b6)](_0x43d5ff,_0x12faae[_0x91fa67(0x21c)]);return _0x185b63&&_0x1a7314['setHeaderRowCount'](this[_0x91fa67(0x21e)],this['_tableId'],_0x12faae['headerRowCount']),_0x185b63;}[_0x41125a(0x1f7)](_0x393c4b){const _0x34f5c2=_0x41125a;return this[_0x34f5c2(0x1a7)](_0x393c4b);}[_0x41125a(0x1bd)](){var _0x59e5dd;return((_0x59e5dd=this['getMetadata']())==null?void 0x0:_0x59e5dd['titleRow'])??!0x1;}[_0x41125a(0x1bf)](){const _0x1bbd04=_0x41125a;let _0x20305c=this[_0x1bbd04(0x219)][_0x1bbd04(0x22a)](_0x1ea9f7),_0x4eeeb0=this[_0x1bbd04(0x1e4)](),_0x4fc1f2=_0x18e5b3(_0x4eeeb0,this[_0x1bbd04(0x252)],this[_0x1bbd04(0x21f)]());if(!_0x4fc1f2)return!0x1;let _0x230859=this[_0x1bbd04(0x1b6)](_0x4eeeb0,_0x4fc1f2['actions']);return _0x230859&&_0x20305c[_0x1bbd04(0x1bc)](this[_0x1bbd04(0x21e)],this['_tableId'],!0x0),_0x230859;}['setColumnType'](_0x186d15,_0x4b013a){const _0x3fa676=_0x41125a;return this[_0x3fa676(0x219)][_0x3fa676(0x22a)](_0x1ea9f7)[_0x3fa676(0x215)](this[_0x3fa676(0x21e)],this[_0x3fa676(0x252)],_0x186d15,_0x4b013a),!0x0;}[_0x41125a(0x1b0)](_0x160567,_0x2188d4){const _0xf5d946=_0x41125a;let _0x5e216d=this['_getDocumentData']();return this[_0xf5d946(0x1b6)](_0x5e216d,_0x517a17(_0x5e216d,this[_0xf5d946(0x259)](),this[_0xf5d946(0x252)],_0x160567,_0x2188d4,this[_0xf5d946(0x21f)]()));}[_0x41125a(0x1e4)](){const _0xf78b3a=_0x41125a;let _0x5da1cb=this[_0xf78b3a(0x229)][_0xf78b3a(0x25e)]()['getSnapshot']();return this[_0xf78b3a(0x20e)]?{...this[_0xf78b3a(0x229)][_0xf78b3a(0x25e)](this[_0xf78b3a(0x20e)])['getSnapshot'](),'documentStyle':_0x5da1cb[_0xf78b3a(0x23c)],'tableSource':_0x5da1cb[_0xf78b3a(0x251)]}:_0x5da1cb;}['_serializeModel'](){const _0x49bea9=_0x41125a;return this[_0x49bea9(0x219)][_0x49bea9(0x22a)](_0x1ea9f7)['serialize'](this[_0x49bea9(0x21e)]);}[_0x41125a(0x21f)](){const _0x4cf94c=_0x41125a;return _0x2bbc2c(this[_0x4cf94c(0x229)][_0x4cf94c(0x25e)]()['getSnapshot'](),this[_0x4cf94c(0x20e)]);}[_0x41125a(0x1b6)](_0x13cdfc,_0x40ffd2,_0x313183){const _0x648e8f=_0x41125a;return _0xe64ace(this[_0x648e8f(0x25f)],this[_0x648e8f(0x21e)],_0x13cdfc,_0x40ffd2,_0x313183?{'tableId':this[_0x648e8f(0x252)],'segmentId':this[_0x648e8f(0x20e)],..._0x313183}:void 0x0);}};$=te([Q(0x3,_0x2d69d9),Q(0x4,_0xea0b69(_0x25de43))],$);var ne=class extends _0x5a8917{[_0x41125a(0x1c5)](_0x5410bc=''){const _0x4ae8e8=_0x41125a;return this[_0x4ae8e8(0x232)](_0x5410bc)[_0x4ae8e8(0x1a8)](_0x584d19=>this[_0x4ae8e8(0x223)](_0x584d19[_0x4ae8e8(0x24f)],_0x5410bc));}['getTable'](_0x9f5c50,_0x3e19ca=''){const _0x497329=_0x41125a;return this[_0x497329(0x232)](_0x3e19ca)[_0x497329(0x224)](_0x27267c=>_0x27267c[_0x497329(0x24f)]===_0x9f5c50)?this[_0x497329(0x223)](_0x9f5c50,_0x3e19ca):null;}[_0x41125a(0x20d)](_0x473a48,_0x4395c5=''){const _0x5e9aa4=_0x41125a;var _0x18e34d;let _0x1e9cb3=(_0x18e34d=this[_0x5e9aa4(0x232)](_0x4395c5)[_0x473a48])==null?void 0x0:_0x18e34d['tableId'];return _0x1e9cb3?this[_0x5e9aa4(0x223)](_0x1e9cb3,_0x4395c5):null;}['getTableAtSelection'](){const _0xc32b70=_0x41125a;let _0x96e24f=this['_injector'][_0xc32b70(0x22a)](_0x5c6c3e)[_0xc32b70(0x1ea)]();return _0x96e24f!=null&&_0x96e24f['tableId']?this[_0xc32b70(0x223)](_0x96e24f['tableId'],_0x96e24f['segmentId']):null;}['findTableByText'](_0x12cfa9,_0x5ac532=''){const _0x362dc7=_0x41125a;return this[_0x362dc7(0x234)](_0x12cfa9,_0x5ac532)[0x0]??null;}[_0x41125a(0x234)](_0x2d775a,_0x55776d=''){const _0x3b7bd6=_0x41125a;let _0x45ff4e=this[_0x3b7bd6(0x1e5)](_0x55776d),_0x58fed4=typeof _0x2d775a=='string'?{'text':_0x2d775a}:_0x2d775a;return this[_0x3b7bd6(0x1c5)](_0x55776d)['filter'](_0x2fe13e=>{const _0x1989a1=_0x3b7bd6;let _0xa484fd=_0x2fe13e[_0x1989a1(0x1c0)]();return!(_0x58fed4[_0x1989a1(0x24f)]&&_0xa484fd!==_0x58fed4[_0x1989a1(0x24f)]||_0x58fed4[_0x1989a1(0x22e)]&&!this[_0x1989a1(0x1ec)](_0x45ff4e,_0xa484fd,_0x58fed4['text'])||_0x58fed4[_0x1989a1(0x254)]&&!this[_0x1989a1(0x222)](_0x2fe13e,0x0,_0x58fed4[_0x1989a1(0x254)])||_0x58fed4[_0x1989a1(0x230)]&&!this['_rowContainsText'](_0x2fe13e,0x0,_0x58fed4['titleText']));});}[_0x41125a(0x25d)](_0x1b226c,_0x5351bc,_0x3ff9b4={}){const _0x4511c1=_0x41125a;let _0x1780e0=this[_0x4511c1(0x219)][_0x4511c1(0x22a)](_0x2d69d9),_0x21ed2f=_0x3ff9b4[_0x4511c1(0x24f)]??_0x190e8f(0x6);return _0x1780e0['syncExecuteCommand'](_0x415eca['id'],{..._0x3ff9b4,'unitId':this[_0x4511c1(0x1c0)](),'rows':_0x1b226c,'columns':_0x5351bc,'tableId':_0x21ed2f})?this[_0x4511c1(0x223)](_0x21ed2f,_0x3ff9b4['segmentId']??''):null;}['insertTableFromData'](_0x178c02,_0x4ee4c6={}){const _0x44dce7=_0x41125a;let _0x54fd39=this[_0x44dce7(0x219)]['get'](_0x2d69d9),_0x591df3=_0x4ee4c6[_0x44dce7(0x24f)]??_0x190e8f(0x6);return _0x54fd39[_0x44dce7(0x231)](_0x415eca['id'],{..._0x4ee4c6,'unitId':this[_0x44dce7(0x1c0)](),'values':_0x178c02,'tableId':_0x591df3})?this[_0x44dce7(0x223)](_0x591df3,_0x4ee4c6[_0x44dce7(0x25b)]??''):null;}[_0x41125a(0x232)](_0x3471d0=''){let {tables:_0x542d12=[]}=this['getBody'](_0x3471d0);return _0x542d12;}['_getTableDocumentData'](_0x137cb3=''){const _0x32d479=_0x41125a;let _0x4cc6c8=this['getDocumentDataModel']()[_0x32d479(0x201)]();return _0x137cb3?{...this[_0x32d479(0x25e)](_0x137cb3)[_0x32d479(0x201)](),'documentStyle':_0x4cc6c8['documentStyle'],'tableSource':_0x4cc6c8[_0x32d479(0x251)]}:_0x4cc6c8;}['_createFDocumentTable'](_0x1385e5,_0x916fb4=''){const _0x4cde44=_0x41125a;return this['_injector'][_0x4cde44(0x227)]($,this,_0x1385e5,_0x916fb4);}['_tableContainsText'](_0x3490f7,_0x39530b,_0x253b0a){const _0x117a11=_0x41125a;var _0x3d0f96;let _0x29ae04=_0xffe7b0(_0x3490f7,_0x39530b);if(!_0x29ae04)return!0x1;let _0x20473d=(_0x3d0f96=_0x3490f7[_0x117a11(0x240)])==null?void 0x0:_0x3d0f96[_0x117a11(0x1ca)];return _0x20473d?_0x20473d['slice'](_0x29ae04['startOffset'],_0x29ae04['endOffset'])[_0x117a11(0x1b2)](_0x253b0a):!0x1;}[_0x41125a(0x222)](_0x3e7bd8,_0x742130,_0x2c0dfc){const _0xe654b7=_0x41125a;return Array['from']({'length':_0x3e7bd8[_0xe654b7(0x1d4)]()},(_0x5f29f6,_0x5ceeb1)=>_0x3e7bd8['getCellText'](_0x742130,_0x5ceeb1))['some'](_0x243178=>_0x243178[_0xe654b7(0x1b2)](_0x2c0dfc));}};_0x5a8917[_0x41125a(0x24d)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
1
+ const _0x450391=_0x3239;(function(_0x33a8b3,_0x37a219){const _0x7d2f2d=_0x3239,_0x1f7683=_0x33a8b3();while(!![]){try{const _0x55e326=-parseInt(_0x7d2f2d(0x185))/0x1*(-parseInt(_0x7d2f2d(0x134))/0x2)+-parseInt(_0x7d2f2d(0x1a8))/0x3*(-parseInt(_0x7d2f2d(0x15c))/0x4)+parseInt(_0x7d2f2d(0x177))/0x5*(-parseInt(_0x7d2f2d(0x1bf))/0x6)+-parseInt(_0x7d2f2d(0x11b))/0x7*(-parseInt(_0x7d2f2d(0x12b))/0x8)+-parseInt(_0x7d2f2d(0x182))/0x9*(-parseInt(_0x7d2f2d(0x1c1))/0xa)+parseInt(_0x7d2f2d(0x11f))/0xb+parseInt(_0x7d2f2d(0x170))/0xc*(-parseInt(_0x7d2f2d(0x1a2))/0xd);if(_0x55e326===_0x37a219)break;else _0x1f7683['push'](_0x1f7683['shift']());}catch(_0x4cf26e){_0x1f7683['push'](_0x1f7683['shift']());}}}(_0xd222,0x23380));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x17b993,DocsTableBorderPreset as _0x546136,DocsTableColumnInsertPosition as _0x257619,DocsTableColumnType as _0x1d0fba,DocsTableDeleteColumnsCommand as _0xa25738,DocsTableDeleteRowsCommand as _0x2270d3,DocsTableDeleteTableCommand as _0x2bd454,DocsTableInsertPosition as _0x263a96,DocsTableInsertTableCommand as _0x1aa8ac,DocsTableInsertTablePosition as _0x5075cb,DocsTableModel as _0x1d5e57,DocsTableRowInsertPosition as _0x912eda,DocsTableSelectionKind as _0xc55a4e,DocsTableSelectionService as _0x7a6c73,DocsTableSortDirection as _0x2cef95,buildDistributeTableColumnsMutationActions as _0xb08199,buildDistributeTableRowsMutationActions as _0x522aac,buildInsertTableColumnsMutationActions as _0x59d424,buildInsertTableRowsMutationActions as _0x2c56c3,buildInsertTableTitleRowMutationActions as _0xd4511d,buildMergeCellsMutationActions as _0x28b21b,buildMoveFloatingTableMutationActions as _0x3b4223,buildMoveTableColumnsMutationActions as _0x306aab,buildMoveTableRowsMutationActions as _0x62186a,buildMoveTableToOffsetMutationActions as _0x5d6442,buildResizeTableColumnActionsFromWidth as _0x4e543f,buildResizeTableRowActionsFromHeight as _0x5398c0,buildSetTableBackgroundMutationActions as _0x4cab8c,buildSetTableBorderMutationActions as _0x36a2e0,buildSetTableCellMarginMutationActions as _0x559923,buildSetTableCellTextMutationActions as _0x38a634,buildSetTableDefaultCellMarginMutationActions as _0x38bd1c,buildSetTableHeaderRowCountMutationActions as _0x20b714,buildSortTableMutationActions as _0x27e257,buildUnmergeCellsMutationActions as _0x43c6c6,executeRichTextTableActions as _0x5888fa,getTableActionBodyPath as _0x46b1a1,getTableRangeById as _0x31425e}from'@univerjs-pro/docs-table';import{DashStyleType as _0x312d8b,ICommandService as _0x1b348d,Inject as _0x420241,Injector as _0x6422cd,TableRowHeightRule as _0x2daa1c,Tools as _0x3ed6fb,generateRandomId as _0x45f65c}from'@univerjs/core';import{FEnum as _0x1708f8}from'@univerjs/core/facade';import{FDocument as _0x3a5148}from'@univerjs/docs/facade';var K=class extends _0x1708f8{get['DocsTableInsertTablePosition'](){return _0x5075cb;}get['DocsTableColumnType'](){return _0x1d0fba;}get[_0x450391(0x15a)](){return _0xc55a4e;}get[_0x450391(0x1ad)](){return _0x912eda;}get[_0x450391(0x132)](){return _0x257619;}get[_0x450391(0x14a)](){return _0x546136;}get[_0x450391(0x19e)](){return _0x2cef95;}get[_0x450391(0x167)](){return _0x312d8b;}};_0x1708f8[_0x450391(0x1bb)](K);var q=class{constructor(_0x296fa6,_0x3fe685,_0xebf645){const _0x3f5460=_0x450391;this[_0x3f5460(0x1ae)]=_0x296fa6,this['_row']=_0x3fe685,this[_0x3f5460(0x1be)]=_0xebf645;}[_0x450391(0x155)](){const _0x2a62d6=_0x450391;return this[_0x2a62d6(0x1ae)];}['getRowIndex'](){const _0x15983c=_0x450391;return this[_0x15983c(0x13c)];}[_0x450391(0x129)](){const _0x17882d=_0x450391;return this[_0x17882d(0x1be)];}[_0x450391(0x143)](){const _0x20d31b=_0x450391;return this[_0x20d31b(0x1ae)][_0x20d31b(0x117)](this[_0x20d31b(0x13c)],this[_0x20d31b(0x1be)]);}['getContentRange'](){const _0x272b48=_0x450391;return this[_0x272b48(0x1ae)]['getCellContentRange'](this[_0x272b48(0x13c)],this['_column']);}[_0x450391(0x1c4)](){const _0x5b42cb=_0x450391;return this[_0x5b42cb(0x1ae)][_0x5b42cb(0x181)](this['_row'],this[_0x5b42cb(0x1be)]);}[_0x450391(0x1c2)](){const _0x300048=_0x450391;return this[_0x300048(0x1ae)][_0x300048(0x15e)](this[_0x300048(0x13c)],this['_column']);}[_0x450391(0x17d)](){const _0x1fe07d=_0x450391;return this[_0x1fe07d(0x1ae)][_0x1fe07d(0x184)](this[_0x1fe07d(0x13c)],this[_0x1fe07d(0x1be)]);}[_0x450391(0x123)](_0x3a5992){const _0x183476=_0x450391;return this[_0x183476(0x1ae)]['setCellMargin'](this[_0x183476(0x1ae)]['getCellRange'](this[_0x183476(0x13c)],this[_0x183476(0x1be)]),_0x3a5992);}[_0x450391(0x121)](){const _0x5ca595=_0x450391;return this[_0x5ca595(0x1ae)][_0x5ca595(0x1af)](this[_0x5ca595(0x1ae)]['getCellRange'](this[_0x5ca595(0x13c)],this['_column']),null);}[_0x450391(0x193)](_0x3ae862){const _0x3f9f02=_0x450391;return this[_0x3f9f02(0x1ae)]['setCellText'](this[_0x3f9f02(0x13c)],this[_0x3f9f02(0x1be)],_0x3ae862);}[_0x450391(0x1b1)](_0x1010d8){const _0x5f439b=_0x450391;return this[_0x5f439b(0x1ae)][_0x5f439b(0x148)](this[_0x5f439b(0x1ae)][_0x5f439b(0x165)](this[_0x5f439b(0x13c)],this[_0x5f439b(0x1be)]),_0x1010d8);}['setBorder'](_0x19136e){const _0x4435b2=_0x450391;return this[_0x4435b2(0x1ae)]['setBorder'](this[_0x4435b2(0x1ae)]['getCellRange'](this[_0x4435b2(0x13c)],this[_0x4435b2(0x1be)]),_0x19136e);}[_0x450391(0x1ab)](_0x41bd05,_0x2cb41e){const _0x1ea644=_0x450391;return this[_0x1ea644(0x1ae)][_0x1ea644(0x19d)]({'startRow':this[_0x1ea644(0x13c)],'startColumn':this[_0x1ea644(0x1be)],'endRow':this[_0x1ea644(0x13c)]+_0x41bd05-0x1,'endColumn':this[_0x1ea644(0x1be)]+_0x2cb41e-0x1});}['unmerge'](){const _0x47b2cf=_0x450391;return this[_0x47b2cf(0x1ae)]['unmergeCells'](this['_table'][_0x47b2cf(0x165)](this[_0x47b2cf(0x13c)],this['_column']));}};function J(_0x19d8d6){'@babel/helpers - typeof';const _0x5ca6af=_0x450391;return J=typeof Symbol==_0x5ca6af(0x153)&&typeof Symbol['iterator']==_0x5ca6af(0x175)?function(_0x1c4f7a){return typeof _0x1c4f7a;}:function(_0x9c21fc){const _0x295431=_0x5ca6af;return _0x9c21fc&&typeof Symbol==_0x295431(0x153)&&_0x9c21fc[_0x295431(0x1b8)]===Symbol&&_0x9c21fc!==Symbol['prototype']?_0x295431(0x175):typeof _0x9c21fc;},J(_0x19d8d6);}function Y(_0x2cca46,_0x3535fe){const _0x327f65=_0x450391;if(J(_0x2cca46)!=_0x327f65(0x111)||!_0x2cca46)return _0x2cca46;var _0x27b33d=_0x2cca46[Symbol['toPrimitive']];if(_0x27b33d!==void 0x0){var _0x49b764=_0x27b33d[_0x327f65(0x195)](_0x2cca46,_0x3535fe||_0x327f65(0x133));if(J(_0x49b764)!=_0x327f65(0x111))return _0x49b764;throw TypeError(_0x327f65(0x13b));}return(_0x3535fe===_0x327f65(0x12f)?String:Number)(_0x2cca46);}function X(_0x3e411f){const _0x5a5827=_0x450391;var _0xcd4d30=Y(_0x3e411f,_0x5a5827(0x12f));return J(_0xcd4d30)==_0x5a5827(0x175)?_0xcd4d30:_0xcd4d30+'';}function Z(_0xe53840,_0x269c9f,_0xe578e3){return(_0x269c9f=X(_0x269c9f))in _0xe53840?Object['defineProperty'](_0xe53840,_0x269c9f,{'value':_0xe578e3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe53840[_0x269c9f]=_0xe578e3,_0xe53840;}function _0x3239(_0xb4b65,_0xad9628){_0xb4b65=_0xb4b65-0x109;const _0xd2228d=_0xd222();let _0x3239e7=_0xd2228d[_0xb4b65];return _0x3239e7;}function Q(_0x5dc659,_0x59eec3){return function(_0x98059f,_0x4b23a6){_0x59eec3(_0x98059f,_0x4b23a6,_0x5dc659);};}function te(_0x270136,_0x10fa63,_0x2e0a5e,_0x34e3dc){const _0x33f378=_0x450391;var _0x56c8e7=arguments['length'],_0x2f902a=_0x56c8e7<0x3?_0x10fa63:_0x34e3dc===null?_0x34e3dc=Object[_0x33f378(0x1b2)](_0x10fa63,_0x2e0a5e):_0x34e3dc,_0x516883;if(typeof Reflect=='object'&&typeof Reflect[_0x33f378(0x139)]==_0x33f378(0x153))_0x2f902a=Reflect[_0x33f378(0x139)](_0x270136,_0x10fa63,_0x2e0a5e,_0x34e3dc);else{for(var _0xea0579=_0x270136['length']-0x1;_0xea0579>=0x0;_0xea0579--)(_0x516883=_0x270136[_0xea0579])&&(_0x2f902a=(_0x56c8e7<0x3?_0x516883(_0x2f902a):_0x56c8e7>0x3?_0x516883(_0x10fa63,_0x2e0a5e,_0x2f902a):_0x516883(_0x10fa63,_0x2e0a5e))||_0x2f902a);}return _0x56c8e7>0x3&&_0x2f902a&&Object[_0x33f378(0x18e)](_0x10fa63,_0x2e0a5e,_0x2f902a),_0x2f902a;}let $=class{constructor(_0x154ae1,_0x1af134,_0x3291ff,_0x432e91,_0x35a3a1){const _0x1ab62c=_0x450391;this[_0x1ab62c(0x17c)]=_0x154ae1,this[_0x1ab62c(0x14e)]=_0x1af134,this['_segmentId']=_0x3291ff,this[_0x1ab62c(0x14c)]=_0x432e91,this['_injector']=_0x35a3a1,Z(this,_0x1ab62c(0x161),void 0x0),this[_0x1ab62c(0x161)]=this['_document'][_0x1ab62c(0x19a)]();}[_0x450391(0x19a)](){const _0xdde58a=_0x450391;return this[_0xdde58a(0x14e)];}[_0x450391(0x1a0)](){const _0xa7a5d9=_0x450391;return this[_0xa7a5d9(0x115)];}[_0x450391(0x18d)](){const _0x4a8232=_0x450391;return{'id':this[_0x4a8232(0x14e)],'rowCount':this['getRowCount'](),'columnCount':this[_0x4a8232(0x1bd)](),'metadata':this[_0x4a8232(0x125)](),'source':this[_0x4a8232(0x1b7)]()};}[_0x450391(0x18c)](){const _0x3cf091=_0x450391;let _0x2d458c=this['getMetadata'](),_0x330998=this[_0x3cf091(0x1b7)](),_0x396da0=this[_0x3cf091(0x1bd)]();return{'id':this['_tableId'],'rowCount':this[_0x3cf091(0x1a1)](),'columnCount':_0x396da0,'headerRowCount':(_0x2d458c==null?void 0x0:_0x2d458c[_0x3cf091(0x10b)])??0x0,'titleRow':(_0x2d458c==null?void 0x0:_0x2d458c[_0x3cf091(0x160)])??!0x1,'columns':Array['from']({'length':_0x396da0},(_0x246f04,_0x27f147)=>{const _0x37981c=_0x3cf091;var _0x2fba38,_0x59acbb;return{'index':_0x27f147,'type':_0x2d458c==null||(_0x2fba38=_0x2d458c[_0x37981c(0x196)])==null||(_0x2fba38=_0x2fba38[_0x27f147])==null?void 0x0:_0x2fba38[_0x37981c(0x11e)],'width':_0x330998==null||(_0x59acbb=_0x330998[_0x37981c(0x138)][_0x27f147])==null?void 0x0:_0x59acbb[_0x37981c(0x109)][_0x37981c(0x118)]['v']};}),'sampleRows':Array['from']({'length':this[_0x3cf091(0x1a1)]()},(_0x1f7c31,_0x4178b7)=>Array[_0x3cf091(0x159)]({'length':_0x396da0},(_0x2c25bd,_0x4330d4)=>this['getCellText'](_0x4178b7,_0x4330d4)))['filter'](_0x31f783=>_0x31f783[_0x3cf091(0x119)](_0x3ee7d7=>_0x3ee7d7['length']>0x0))[_0x3cf091(0x147)](0x0,0x5)};}[_0x450391(0x1a1)](){const _0x48b29e=_0x450391;var _0x1232aa;return((_0x1232aa=this[_0x48b29e(0x1b7)]())==null?void 0x0:_0x1232aa[_0x48b29e(0x156)][_0x48b29e(0x13a)])??0x0;}[_0x450391(0x1bd)](){const _0x76e9ce=_0x450391;var _0x52511c;return((_0x52511c=this['getSource']())==null?void 0x0:_0x52511c[_0x76e9ce(0x138)][_0x76e9ce(0x13a)])??0x0;}[_0x450391(0x19b)](_0x4c6d34,_0x283901){const _0x31eac2=_0x450391;var _0x3331f9;return(_0x3331f9=this['getSource']())!=null&&(_0x3331f9=_0x3331f9[_0x31eac2(0x156)][_0x4c6d34])!=null&&_0x3331f9[_0x31eac2(0x151)][_0x283901]?this['_injector']['createInstance'](q,this,_0x4c6d34,_0x283901):null;}[_0x450391(0x117)](_0x1b9e08,_0x3fc2a2){const _0x57aae8=_0x450391;var _0x1e58ae,_0x36aba4;let _0x3929a2=(_0x1e58ae=_0x31425e(this['_getDocumentData'](),this[_0x57aae8(0x14e)]))==null||(_0x1e58ae=_0x1e58ae['rows'][_0x1b9e08])==null?void 0x0:_0x1e58ae['cells'][_0x3fc2a2];return _0x3929a2?((_0x36aba4=this[_0x57aae8(0x191)]()[_0x57aae8(0x116)])==null?void 0x0:_0x36aba4[_0x57aae8(0x1ba)][_0x57aae8(0x147)](_0x3929a2[_0x57aae8(0x174)]+0x1,_0x3929a2[_0x57aae8(0x173)])[_0x57aae8(0x142)](/\r\n$/,''))??'':'';}[_0x450391(0x15e)](_0x278f4c,_0x3dfec8){const _0x397c6a=_0x450391;var _0xbbd274;let _0xf43832=this[_0x397c6a(0x1b7)](),_0x47caae=_0xf43832==null||(_0xbbd274=_0xf43832[_0x397c6a(0x156)][_0x278f4c])==null?void 0x0:_0xbbd274['tableCells'][_0x3dfec8];return _0x47caae?_0x3ed6fb[_0x397c6a(0x157)](_0x47caae[_0x397c6a(0x194)]??_0xf43832[_0x397c6a(0x15f)]??_0x17b993):null;}['getCellMarginOverride'](_0x3791f8,_0x3317b9){const _0x5481be=_0x450391;var _0x5c3d03;let _0xf0b89d=(_0x5c3d03=this[_0x5481be(0x1b7)]())==null||(_0x5c3d03=_0x5c3d03[_0x5481be(0x156)][_0x3791f8])==null?void 0x0:_0x5c3d03[_0x5481be(0x151)][_0x3317b9];return _0xf0b89d!=null&&_0xf0b89d['margin']?_0x3ed6fb[_0x5481be(0x157)](_0xf0b89d[_0x5481be(0x194)]):null;}[_0x450391(0x176)](){const _0xa49659=_0x450391;var _0x2db4f7;return _0x3ed6fb[_0xa49659(0x157)](((_0x2db4f7=this[_0xa49659(0x1b7)]())==null?void 0x0:_0x2db4f7['cellMargin'])??_0x17b993);}[_0x450391(0x166)](){const _0x25a050=_0x450391;var _0x2dbd3d;let _0x92ff18=(_0x2dbd3d=this['getSource']())==null?void 0x0:_0x2dbd3d[_0x25a050(0x15f)];return _0x92ff18?_0x3ed6fb[_0x25a050(0x157)](_0x92ff18):null;}[_0x450391(0x125)](){const _0x4bd451=_0x450391;return this[_0x4bd451(0x188)][_0x4bd451(0x1a6)](_0x1d5e57)[_0x4bd451(0x110)](this[_0x4bd451(0x161)],this[_0x4bd451(0x14e)]);}[_0x450391(0x1b7)](){var _0x46fe8f;return(_0x46fe8f=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x46fe8f[this['_tableId']];}['getRange'](){const _0x52652c=_0x450391;return _0x31425e(this[_0x52652c(0x191)](),this[_0x52652c(0x14e)]);}['getTableRange'](){const _0x53adda=_0x450391;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x53adda(0x169)](0x0,this[_0x53adda(0x1bd)]()-0x1)};}['getCellRange'](_0x1357d2,_0x1cce3d){return{'startRow':_0x1357d2,'endRow':_0x1357d2,'startColumn':_0x1cce3d,'endColumn':_0x1cce3d};}[_0x450391(0x163)](_0x664b74,_0x509411){const _0x448043=_0x450391;var _0x2528f8;let _0x5144df=(_0x2528f8=_0x31425e(this[_0x448043(0x191)](),this['_tableId']))==null||(_0x2528f8=_0x2528f8[_0x448043(0x130)][_0x664b74])==null?void 0x0:_0x2528f8[_0x448043(0x17b)][_0x509411];if(!_0x5144df)return null;let _0x9692b8=_0x5144df[_0x448043(0x174)]+0x1;return{'startOffset':_0x9692b8,'endOffset':Math[_0x448043(0x169)](_0x9692b8,_0x5144df[_0x448043(0x173)]-0x1),'segmentId':this[_0x448043(0x115)]};}['getCellInsertOffset'](_0x426045,_0x386e7b){const _0x3cfab2=_0x450391;let _0x4faecc=this['getCellContentRange'](_0x426045,_0x386e7b);return _0x4faecc?Math[_0x3cfab2(0x169)](_0x4faecc['startOffset'],_0x4faecc[_0x3cfab2(0x173)]-0x1):null;}[_0x450391(0x135)](_0x3b64be){const _0x1d475b=_0x450391;return this[_0x1d475b(0x1b6)](_0x3b64be,0x1);}[_0x450391(0x1b6)](_0x3ac948,_0x294155=0x1){const _0x2bafd8=_0x450391;return{'startRow':_0x3ac948,'endRow':_0x3ac948+_0x294155-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x2bafd8(0x1bd)]()-0x1)};}[_0x450391(0x122)](_0x1049bb){const _0x341890=_0x450391;return this[_0x341890(0x15b)](_0x1049bb,0x1);}[_0x450391(0x15b)](_0x13d8c4,_0xa20622=0x1){const _0x14ff80=_0x450391;return{'startRow':0x0,'endRow':Math[_0x14ff80(0x169)](0x0,this[_0x14ff80(0x1a1)]()-0x1),'startColumn':_0x13d8c4,'endColumn':_0x13d8c4+_0xa20622-0x1};}[_0x450391(0x124)](){const _0x432d89=_0x450391;return this[_0x432d89(0x13f)](this['getTableRange'](),_0xc55a4e[_0x432d89(0x17f)]);}[_0x450391(0x186)](_0x2a4d15){const _0x5c9fa0=_0x450391;return this[_0x5c9fa0(0x10c)](_0x2a4d15,0x1);}['selectRows'](_0x17d3a5,_0x3ac0dd=0x1){const _0x1c3d35=_0x450391;return this[_0x1c3d35(0x13f)](this['getRowsRange'](_0x17d3a5,_0x3ac0dd),_0xc55a4e[_0x1c3d35(0x1aa)]);}[_0x450391(0x18a)](_0x4ea82b){return this['selectColumns'](_0x4ea82b,0x1);}['selectColumns'](_0x555ee0,_0x371428=0x1){const _0x58a1c5=_0x450391;return this[_0x58a1c5(0x13f)](this[_0x58a1c5(0x15b)](_0x555ee0,_0x371428),_0xc55a4e[_0x58a1c5(0x126)]);}['selectCell'](_0x1eab6a,_0x531319){const _0xb98bac=_0x450391;return this[_0xb98bac(0x13f)](this['getCellRange'](_0x1eab6a,_0x531319),_0xc55a4e[_0xb98bac(0x10d)]);}['selectRange'](_0x390b31,_0x328c58=_0xc55a4e[_0x450391(0x164)]){const _0x4359a4=_0x450391;return this[_0x4359a4(0x188)][_0x4359a4(0x1a6)](_0x7a6c73)[_0x4359a4(0x1c3)]({..._0x390b31,'kind':_0x328c58,'segmentId':this[_0x4359a4(0x115)],'tableId':this[_0x4359a4(0x14e)]}),!0x0;}[_0x450391(0x11a)](_0x5e960f){return this['insertRowsBefore'](_0x5e960f,0x1);}[_0x450391(0x1a7)](_0x53c0c4){const _0x45cb5e=_0x450391;return this[_0x45cb5e(0x10a)](_0x53c0c4,0x1);}[_0x450391(0x162)](_0x336bbc,_0x2ce955){const _0x3bdf90=_0x450391;let _0x1d3a9a=this['_getDocumentData'](),_0x589769=_0x2c56c3(_0x1d3a9a,this[_0x3bdf90(0x14e)],_0x336bbc,_0x2ce955,_0x263a96[_0x3bdf90(0x18b)],this[_0x3bdf90(0x190)]());return _0x589769?this[_0x3bdf90(0x187)](_0x1d3a9a,_0x589769[_0x3bdf90(0x178)]):!0x1;}[_0x450391(0x10a)](_0x3d89e5,_0x4ce3f9){const _0x496ac2=_0x450391;let _0x2d8618=this['_getDocumentData'](),_0x32b4f4=_0x2c56c3(_0x2d8618,this[_0x496ac2(0x14e)],_0x3d89e5,_0x4ce3f9,_0x263a96[_0x496ac2(0x10e)],this[_0x496ac2(0x190)]());return _0x32b4f4?this['_mutateActions'](_0x2d8618,_0x32b4f4[_0x496ac2(0x178)]):!0x1;}[_0x450391(0x1b0)](){const _0x22f195=_0x450391;return this[_0x22f195(0x10a)](Math['max'](0x0,this[_0x22f195(0x1a1)]()-0x1),0x1);}['insertColumnBefore'](_0x30940b){const _0x81ec3f=_0x450391;return this[_0x81ec3f(0x1a9)](_0x30940b,0x1);}[_0x450391(0x19c)](_0x244b29){const _0x3db817=_0x450391;return this[_0x3db817(0x11c)](_0x244b29,0x1);}['insertColumnsBefore'](_0x8827f7,_0x59c5be){const _0x1005d0=_0x450391;let _0x8eb98e=this[_0x1005d0(0x191)](),_0x144912=_0x59d424(_0x8eb98e,this[_0x1005d0(0x14e)],_0x8827f7,_0x59c5be,_0x263a96['Left'],{'bodyPath':this[_0x1005d0(0x190)]()});return _0x144912?this[_0x1005d0(0x187)](_0x8eb98e,_0x144912[_0x1005d0(0x178)]):!0x1;}[_0x450391(0x11c)](_0x33a1b7,_0x5e2daf){const _0x28b312=_0x450391;let _0x30549c=this[_0x28b312(0x191)](),_0x4af3fd=_0x59d424(_0x30549c,this[_0x28b312(0x14e)],_0x33a1b7,_0x5e2daf,_0x263a96[_0x28b312(0x12a)],{'bodyPath':this['_getBodyPath']()});return _0x4af3fd?this[_0x28b312(0x187)](_0x30549c,_0x4af3fd[_0x28b312(0x178)]):!0x1;}[_0x450391(0x120)](){const _0x9417ae=_0x450391;return this['insertColumnsAfter'](Math[_0x9417ae(0x169)](0x0,this[_0x9417ae(0x1bd)]()-0x1),0x1);}[_0x450391(0x198)](_0x19503a){return this['deleteRows'](_0x19503a,0x1);}[_0x450391(0x14b)](_0x1897bf,_0x4c8a6c=0x1){const _0x2fd747=_0x450391;return!!this['_commandService'][_0x2fd747(0x1bc)](_0x2270d3['id'],{'endRow':_0x1897bf+_0x4c8a6c-0x1,'segmentId':this[_0x2fd747(0x115)],'startRow':_0x1897bf,'tableId':this[_0x2fd747(0x14e)],'unitId':this[_0x2fd747(0x161)]});}[_0x450391(0x1b5)](_0x292ee4){const _0x25e458=_0x450391;return this[_0x25e458(0x144)](_0x292ee4,0x1);}['deleteColumns'](_0x36e636,_0x17d9de=0x1){const _0xe1e48f=_0x450391;return!!this['_commandService']['syncExecuteCommand'](_0xa25738['id'],{'endColumn':_0x36e636+_0x17d9de-0x1,'segmentId':this[_0xe1e48f(0x115)],'startColumn':_0x36e636,'tableId':this[_0xe1e48f(0x14e)],'unitId':this[_0xe1e48f(0x161)]});}[_0x450391(0x158)](){const _0x1e1508=_0x450391;return!!this[_0x1e1508(0x14c)][_0x1e1508(0x1bc)](_0x2bd454['id'],{'segmentId':this[_0x1e1508(0x115)],'tableId':this[_0x1e1508(0x14e)],'unitId':this[_0x1e1508(0x161)]});}[_0x450391(0x128)](_0xeb9524,_0x28ecdc){const _0x1c263e=_0x450391;let _0x3d1585=this[_0x1c263e(0x191)]();return this[_0x1c263e(0x187)](_0x3d1585,_0x3b4223(_0x3d1585,this['_tableId'],_0xeb9524,_0x28ecdc));}['moveTableToOffset'](_0x25ebb7){const _0x5378ce=_0x450391;let _0x21a18f=this[_0x5378ce(0x191)]();return this[_0x5378ce(0x187)](_0x21a18f,_0x5d6442(_0x21a18f,this[_0x5378ce(0x14e)],_0x25ebb7,this[_0x5378ce(0x190)]()));}['moveRow'](_0x244793,_0x415cea,_0x28a711=_0x263a96[_0x450391(0x18b)]){return this['moveRows'](_0x244793,0x1,_0x415cea,_0x28a711);}['moveRows'](_0x204d36,_0x2509e1,_0x87050f,_0x1d0c82=_0x263a96[_0x450391(0x18b)]){const _0x5b1a15=_0x450391;let _0x8bd5bd=this[_0x5b1a15(0x191)](),_0x1ff10a=_0x62186a(_0x8bd5bd,this[_0x5b1a15(0x14e)],_0x204d36,_0x87050f,_0x2509e1,_0x1d0c82,this[_0x5b1a15(0x190)]());return _0x1ff10a?this[_0x5b1a15(0x187)](_0x8bd5bd,_0x1ff10a[_0x5b1a15(0x178)]):!0x1;}[_0x450391(0x154)](_0x46bf53,_0x42fdc2,_0x596843=_0x263a96[_0x450391(0x136)]){return this['moveColumns'](_0x46bf53,0x1,_0x42fdc2,_0x596843);}[_0x450391(0x183)](_0x148be5,_0x22f8fa,_0x389099,_0x5ba94d=_0x263a96[_0x450391(0x136)]){const _0x15f044=_0x450391;let _0x5d5e69=this[_0x15f044(0x191)](),_0x4f1003=_0x306aab(_0x5d5e69,this[_0x15f044(0x14e)],_0x148be5,_0x389099,_0x22f8fa,_0x5ba94d,this[_0x15f044(0x190)]());return _0x4f1003?this['_mutateActions'](_0x5d5e69,_0x4f1003['actions']):!0x1;}[_0x450391(0x19d)](_0x47b45f){const _0x35b641=_0x450391;try{let _0x514646=this[_0x35b641(0x191)](),_0x3d3853=_0x28b21b({'documentData':_0x514646,'tableId':this[_0x35b641(0x14e)],..._0x47b45f});return _0x3d3853?this[_0x35b641(0x187)](_0x514646,_0x3d3853[_0x35b641(0x178)],_0x47b45f):!0x1;}catch{return!0x1;}}[_0x450391(0x19f)](_0x58edeb){const _0x2cee35=_0x450391;try{let _0x3baeb8=this[_0x2cee35(0x191)](),_0x7e06ec=_0x43c6c6({'documentData':_0x3baeb8,'tableId':this[_0x2cee35(0x14e)],..._0x58edeb});return _0x7e06ec?this[_0x2cee35(0x187)](_0x3baeb8,_0x7e06ec['actions'],_0x58edeb):!0x1;}catch{return!0x1;}}[_0x450391(0x17a)](_0x372ad4,_0x3f5d2b,_0x77a72){const _0x43cbce=_0x450391;let _0x2e61a8=this[_0x43cbce(0x191)](),_0x456867=_0x46b1a1(this[_0x43cbce(0x17c)]['getDocumentDataModel']()[_0x43cbce(0x16c)](),this['_segmentId']);return this['_mutateActions'](_0x2e61a8,_0x38a634({'documentData':_0x2e61a8,'tableId':this['_tableId'],'row':_0x372ad4,'column':_0x3f5d2b,'text':_0x77a72},_0x456867),this[_0x43cbce(0x165)](_0x372ad4,_0x3f5d2b));}[_0x450391(0x148)](_0x4d165d,_0x779e3f){const _0x1839ac=_0x450391;let _0x4577fb=this[_0x1839ac(0x191)]();return this[_0x1839ac(0x187)](_0x4577fb,_0x4cab8c(_0x4577fb,{'tableId':this['_tableId'],..._0x4d165d,'value':_0x779e3f}),_0x4d165d);}[_0x450391(0x1af)](_0x27e610,_0x359aa0){const _0x5674a3=_0x450391;let _0x1b6174=this[_0x5674a3(0x191)]();return this['_mutateActions'](_0x1b6174,_0x559923({'documentData':_0x1b6174,'tableId':this[_0x5674a3(0x14e)],..._0x27e610,'margin':_0x359aa0}),_0x27e610);}[_0x450391(0x150)](_0x2673de){const _0x5cd439=_0x450391;let _0x310f7b=this[_0x5cd439(0x191)]();return this[_0x5cd439(0x187)](_0x310f7b,_0x38bd1c(_0x310f7b,this['_tableId'],_0x2673de));}['setBorder'](_0x4e2965,_0x5cace1){const _0x21c459=_0x450391;let _0x303ce0=this[_0x21c459(0x191)]();return this[_0x21c459(0x187)](_0x303ce0,_0x36a2e0({'documentData':_0x303ce0,'tableId':this[_0x21c459(0x14e)],..._0x4e2965,'preset':_0x5cace1[_0x21c459(0x197)]??_0x546136[_0x21c459(0x146)],'border':_0x5cace1[_0x21c459(0x179)]??{'color':{'rgb':_0x5cace1['color']??_0x21c459(0x127)},'width':{'v':_0x5cace1[_0x21c459(0x118)]??0x1},'dashStyle':_0x312d8b[_0x21c459(0x152)]}}),_0x4e2965);}[_0x450391(0x112)](_0x41bc41){const _0x1f9873=_0x450391;return this[_0x1f9873(0x148)](this[_0x1f9873(0x14f)](),_0x41bc41);}[_0x450391(0x14d)](_0x1f09d0){const _0xdb4f45=_0x450391;return this[_0xdb4f45(0x137)](this[_0xdb4f45(0x14f)](),_0x1f09d0);}[_0x450391(0x1a4)](_0x4eac53){const _0x39dc2e=_0x450391;let _0x3cbc99=!_0x4eac53[_0x39dc2e(0x131)]||this[_0x39dc2e(0x112)](_0x4eac53['backgroundColor']),_0x5d1ea1=!_0x4eac53[_0x39dc2e(0x179)]||this['setTableBorder'](_0x4eac53[_0x39dc2e(0x179)]);return _0x3cbc99&&_0x5d1ea1;}[_0x450391(0x10f)](_0x2e2ac,_0x1b976a,_0x5a6444=_0x2daa1c['AT_LEAST']){const _0x1d357f=_0x450391;var _0x5b47a7;let _0xc91282=this['_getDocumentData']();return(_0x5b47a7=_0xc91282[_0x1d357f(0x1b4)])!=null&&(_0x5b47a7=_0x5b47a7[this[_0x1d357f(0x14e)]])!=null&&_0x5b47a7[_0x1d357f(0x156)][_0x2e2ac]?this['_mutateActions'](_0xc91282,_0x5398c0(_0xc91282,this[_0x1d357f(0x14e)],_0x2e2ac,_0x1b976a,_0x5a6444)):!0x1;}[_0x450391(0x12c)](_0x45f50a){const _0x3298bb=_0x450391;var _0xe90fd6;let _0x2011a2=(_0xe90fd6=this[_0x3298bb(0x1b7)]())==null||(_0xe90fd6=_0xe90fd6[_0x3298bb(0x156)][_0x45f50a])==null?void 0x0:_0xe90fd6[_0x3298bb(0x114)];return _0x2011a2?_0x3ed6fb[_0x3298bb(0x157)](_0x2011a2):null;}['setColumnWidth'](_0x17fc7b,_0x2dfd4d){const _0x568122=_0x450391;var _0x4b6bae;let _0x5b804b=this[_0x568122(0x191)]();return(_0x4b6bae=_0x5b804b['tableSource'])!=null&&(_0x4b6bae=_0x4b6bae[this[_0x568122(0x14e)]])!=null&&_0x4b6bae[_0x568122(0x138)][_0x17fc7b]?this[_0x568122(0x187)](_0x5b804b,_0x4e543f(_0x5b804b,this[_0x568122(0x14e)],_0x17fc7b,_0x2dfd4d)):!0x1;}[_0x450391(0x18f)](_0x289c3e=0x0,_0x17a64a=this['getRowCount']()){const _0x9de46c=_0x450391;let _0x545838=this[_0x9de46c(0x191)]();return this[_0x9de46c(0x187)](_0x545838,_0x522aac(_0x545838,this[_0x9de46c(0x14e)],_0x289c3e,_0x289c3e+_0x17a64a-0x1));}[_0x450391(0x171)](_0x384195=0x0,_0x598fdf=this['getColumnCount']()){const _0x3d22ab=_0x450391;let _0x2b9407=this[_0x3d22ab(0x191)]();return this[_0x3d22ab(0x187)](_0x2b9407,_0xb08199(_0x2b9407,this[_0x3d22ab(0x14e)],_0x384195,_0x384195+_0x598fdf-0x1));}['getHeaderRowCount'](){const _0x2a2d6f=_0x450391;var _0x59ecd5;return((_0x59ecd5=this[_0x2a2d6f(0x125)]())==null?void 0x0:_0x59ecd5[_0x2a2d6f(0x10b)])??0x0;}[_0x450391(0x16e)](_0x299604){const _0x1904a1=_0x450391;let _0x34c941=this[_0x1904a1(0x188)]['get'](_0x1d5e57),_0x1516aa=this[_0x1904a1(0x191)](),_0x3bf495=_0x20b714(_0x1516aa,this['_tableId'],_0x299604);if(!_0x3bf495)return!0x1;let _0x239962=this[_0x1904a1(0x187)](_0x1516aa,_0x3bf495['actions']);return _0x239962&&_0x34c941[_0x1904a1(0x16e)](this['_unitId'],this[_0x1904a1(0x14e)],_0x3bf495[_0x1904a1(0x10b)]),_0x239962;}['pinHeaderRows'](_0x4de378){const _0x4fbd83=_0x450391;return this[_0x4fbd83(0x16e)](_0x4de378);}[_0x450391(0x189)](){const _0x4c2b01=_0x450391;var _0x4fb8c7;return((_0x4fb8c7=this[_0x4c2b01(0x125)]())==null?void 0x0:_0x4fb8c7[_0x4c2b01(0x160)])??!0x1;}[_0x450391(0x180)](){const _0x15e600=_0x450391;let _0x299d47=this[_0x15e600(0x188)]['get'](_0x1d5e57),_0x1786cf=this[_0x15e600(0x191)](),_0x3de2e7=_0xd4511d(_0x1786cf,this['_tableId'],this['_getBodyPath']());if(!_0x3de2e7)return!0x1;let _0x27c3a7=this[_0x15e600(0x187)](_0x1786cf,_0x3de2e7[_0x15e600(0x178)]);return _0x27c3a7&&_0x299d47['setTitleRow'](this[_0x15e600(0x161)],this['_tableId'],!0x0),_0x27c3a7;}[_0x450391(0x13d)](_0x16ed7f,_0x499dbd){const _0x3fec82=_0x450391;return this[_0x3fec82(0x188)]['get'](_0x1d5e57)[_0x3fec82(0x13d)](this[_0x3fec82(0x161)],this['_tableId'],_0x16ed7f,_0x499dbd),!0x0;}['sortByColumn'](_0x4cc795,_0x2e9040){const _0xd293a0=_0x450391;let _0x596b16=this[_0xd293a0(0x191)]();return this[_0xd293a0(0x187)](_0x596b16,_0x27e257(_0x596b16,this['_serializeModel'](),this[_0xd293a0(0x14e)],_0x4cc795,_0x2e9040,this['_getBodyPath']()));}[_0x450391(0x191)](){const _0x1cfe07=_0x450391;let _0x33285e=this[_0x1cfe07(0x17c)][_0x1cfe07(0x141)]()[_0x1cfe07(0x16c)]();return this[_0x1cfe07(0x115)]?{...this[_0x1cfe07(0x17c)][_0x1cfe07(0x141)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0x33285e[_0x1cfe07(0x1ac)],'tableSource':_0x33285e[_0x1cfe07(0x1b4)]}:_0x33285e;}[_0x450391(0x16f)](){const _0x24c4b2=_0x450391;return this['_injector'][_0x24c4b2(0x1a6)](_0x1d5e57)[_0x24c4b2(0x16b)](this[_0x24c4b2(0x161)]);}[_0x450391(0x190)](){const _0x5440cf=_0x450391;return _0x46b1a1(this[_0x5440cf(0x17c)][_0x5440cf(0x141)]()['getSnapshot'](),this[_0x5440cf(0x115)]);}[_0x450391(0x187)](_0xe06244,_0x4786b7,_0x4f91f8){const _0x380ad5=_0x450391;return _0x5888fa(this[_0x380ad5(0x14c)],this[_0x380ad5(0x161)],_0xe06244,_0x4786b7,_0x4f91f8?{'tableId':this[_0x380ad5(0x14e)],'segmentId':this[_0x380ad5(0x115)],..._0x4f91f8}:void 0x0);}};$=te([Q(0x3,_0x1b348d),Q(0x4,_0x420241(_0x6422cd))],$);var ne=class extends _0x3a5148{[_0x450391(0x1b3)](_0x14b7be=''){const _0x3e82de=_0x450391;return this[_0x3e82de(0x1b9)](_0x14b7be)[_0x3e82de(0x145)](_0x3be404=>this[_0x3e82de(0x17e)](_0x3be404[_0x3e82de(0x1a3)],_0x14b7be));}[_0x450391(0x155)](_0x455718,_0x16c0f0=''){const _0x209c6f=_0x450391;return this[_0x209c6f(0x1b9)](_0x16c0f0)[_0x209c6f(0x119)](_0x140e1c=>_0x140e1c[_0x209c6f(0x1a3)]===_0x455718)?this[_0x209c6f(0x17e)](_0x455718,_0x16c0f0):null;}[_0x450391(0x1c0)](_0x531b23,_0x323561=''){const _0xc617f8=_0x450391;var _0x3a4d3a;let _0x8918c5=(_0x3a4d3a=this['_getTables'](_0x323561)[_0x531b23])==null?void 0x0:_0x3a4d3a['tableId'];return _0x8918c5?this[_0xc617f8(0x17e)](_0x8918c5,_0x323561):null;}['getTableAtSelection'](){const _0x4940ad=_0x450391;let _0x10d566=this[_0x4940ad(0x188)]['get'](_0x7a6c73)[_0x4940ad(0x192)]();return _0x10d566!=null&&_0x10d566[_0x4940ad(0x1a3)]?this['_createFDocumentTable'](_0x10d566['tableId'],_0x10d566[_0x4940ad(0x1a5)]):null;}[_0x450391(0x16d)](_0x5ccb3d,_0xd99dc1=''){const _0x47ae82=_0x450391;return this[_0x47ae82(0x113)](_0x5ccb3d,_0xd99dc1)[0x0]??null;}[_0x450391(0x113)](_0x36811b,_0xf4b1fd=''){const _0x1ed798=_0x450391;let _0x8dc371=this['_getTableDocumentData'](_0xf4b1fd),_0x55b6f2=typeof _0x36811b==_0x1ed798(0x12f)?{'text':_0x36811b}:_0x36811b;return this[_0x1ed798(0x1b3)](_0xf4b1fd)[_0x1ed798(0x172)](_0x14f43d=>{const _0x42106f=_0x1ed798;let _0x35fb04=_0x14f43d[_0x42106f(0x19a)]();return!(_0x55b6f2['tableId']&&_0x35fb04!==_0x55b6f2[_0x42106f(0x1a3)]||_0x55b6f2[_0x42106f(0x12e)]&&!this[_0x42106f(0x140)](_0x8dc371,_0x35fb04,_0x55b6f2['text'])||_0x55b6f2[_0x42106f(0x16a)]&&!this[_0x42106f(0x149)](_0x14f43d,0x0,_0x55b6f2['headerText'])||_0x55b6f2[_0x42106f(0x168)]&&!this[_0x42106f(0x149)](_0x14f43d,0x0,_0x55b6f2[_0x42106f(0x168)]));});}[_0x450391(0x12d)](_0x445bd5,_0x4a582e,_0x13d449={}){const _0xf796d2=_0x450391;let _0x44aab4=this[_0xf796d2(0x188)]['get'](_0x1b348d),_0x5d9d28=_0x13d449[_0xf796d2(0x1a3)]??_0x45f65c(0x6);return _0x44aab4['syncExecuteCommand'](_0x1aa8ac['id'],{..._0x13d449,'unitId':this[_0xf796d2(0x19a)](),'rows':_0x445bd5,'columns':_0x4a582e,'tableId':_0x5d9d28})?this[_0xf796d2(0x17e)](_0x5d9d28,_0x13d449[_0xf796d2(0x1a5)]??''):null;}[_0x450391(0x11d)](_0x2d3543,_0x61a2c6={}){const _0x105a28=_0x450391;let _0x27c3ab=this[_0x105a28(0x188)][_0x105a28(0x1a6)](_0x1b348d),_0x2e59d3=_0x61a2c6[_0x105a28(0x1a3)]??_0x45f65c(0x6);return _0x27c3ab['syncExecuteCommand'](_0x1aa8ac['id'],{..._0x61a2c6,'unitId':this[_0x105a28(0x19a)](),'values':_0x2d3543,'tableId':_0x2e59d3})?this[_0x105a28(0x17e)](_0x2e59d3,_0x61a2c6[_0x105a28(0x1a5)]??''):null;}[_0x450391(0x1b9)](_0x5cfa4d=''){const _0x54da54=_0x450391;let {tables:_0x2a819a=[]}=this[_0x54da54(0x199)](_0x5cfa4d);return _0x2a819a;}[_0x450391(0x13e)](_0x3cdeb0=''){const _0x4f4fce=_0x450391;let _0x41b1c3=this[_0x4f4fce(0x141)]()[_0x4f4fce(0x16c)]();return _0x3cdeb0?{...this[_0x4f4fce(0x141)](_0x3cdeb0)[_0x4f4fce(0x16c)](),'documentStyle':_0x41b1c3[_0x4f4fce(0x1ac)],'tableSource':_0x41b1c3[_0x4f4fce(0x1b4)]}:_0x41b1c3;}[_0x450391(0x17e)](_0x2b1f1d,_0x38d41b=''){const _0x4571a2=_0x450391;return this[_0x4571a2(0x188)]['createInstance']($,this,_0x2b1f1d,_0x38d41b);}[_0x450391(0x140)](_0x3a9c5b,_0x450c99,_0x5c7cae){const _0xebd5d2=_0x450391;var _0x2981ab;let _0x273588=_0x31425e(_0x3a9c5b,_0x450c99);if(!_0x273588)return!0x1;let _0x29eb12=(_0x2981ab=_0x3a9c5b[_0xebd5d2(0x116)])==null?void 0x0:_0x2981ab[_0xebd5d2(0x1ba)];return _0x29eb12?_0x29eb12[_0xebd5d2(0x147)](_0x273588['startOffset'],_0x273588[_0xebd5d2(0x173)])[_0xebd5d2(0x15d)](_0x5c7cae):!0x1;}[_0x450391(0x149)](_0x2d6e2a,_0x48e276,_0x11fc6a){const _0x2c3dd2=_0x450391;return Array[_0x2c3dd2(0x159)]({'length':_0x2d6e2a['getColumnCount']()},(_0xd22715,_0x4ae959)=>_0x2d6e2a[_0x2c3dd2(0x117)](_0x48e276,_0x4ae959))[_0x2c3dd2(0x119)](_0x78ed42=>_0x78ed42['includes'](_0x11fc6a));}};_0x3a5148[_0x450391(0x1bb)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};function _0xd222(){const _0x402760=['appendColumn','clearMarginOverride','getColumnRange','setMargin','selectTable','getMetadata','Column','#1f1f1f','moveTableBy','getColumnIndex','Right','1796584oiNimX','getRowHeight','insertTable','text','string','rows','backgroundColor','DocsTableColumnInsertPosition','default','5842jhWafm','getRowRange','Left','setBorder','tableColumns','decorate','length','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_row','setColumnType','_getTableDocumentData','selectRange','_tableContainsText','getDocumentDataModel','replace','getText','deleteColumns','map','All','slice','setCellBackground','_rowContainsText','DocsTableBorderPreset','deleteRows','_commandService','setTableBorder','_tableId','getTableRange','setDefaultCellMargin','tableCells','SOLID','function','moveColumn','getTable','tableRows','deepClone','deleteTable','from','DocsTableSelectionKind','getColumnsRange','4sxagCh','includes','getCellMargin','cellMargin','titleRow','_unitId','insertRowsBefore','getCellContentRange','Range','getCellRange','getDefaultCellMarginOverride','DashStyleType','titleText','max','headerText','serialize','getSnapshot','findTableByText','setHeaderRowCount','_serializeModel','10680CQAvWH','distributeColumns','filter','endOffset','startOffset','symbol','getDefaultCellMargin','378605ldMVex','actions','border','setCellText','cells','_document','getMarginOverride','_createFDocumentTable','Table','insertTitleRow','getCellInsertOffset','256689HGiaIK','moveColumns','getCellMarginOverride','22kzOhOj','selectRow','_mutateActions','_injector','hasTitleRow','selectColumn','Above','describe','getInfo','defineProperty','distributeRows','_getBodyPath','_getDocumentData','getStableTableSelection','setText','margin','call','columnTypes','preset','deleteRow','getBody','getId','getCell','insertColumnAfter','mergeCells','DocsTableSortDirection','unmergeCells','getSegmentId','getRowCount','10504rMSJCl','tableId','setTableStyle','segmentId','get','insertRowAfter','836049jDlLGM','insertColumnsBefore','Row','mergeTo','documentStyle','DocsTableRowInsertPosition','_table','setCellMargin','appendRow','setBackgroundColor','getOwnPropertyDescriptor','getTables','tableSource','deleteColumn','getRowsRange','getSource','constructor','_getTables','dataStream','extend','syncExecuteCommand','getColumnCount','_column','6FGoaGs','getTableAt','60xhcVDm','getMargin','setStructuralSelection','getInsertOffset','size','insertRowsAfter','headerRowCount','selectRows','Cell','Below','setRowHeight','getTableMetadata','object','setTableBackground','findTables','trHeight','_segmentId','body','getCellText','width','some','insertRowBefore','7QyhXgG','insertColumnsAfter','insertTableFromData','type','2204983SSdnTp'];_0xd222=function(){return _0x402760;};return _0xd222();}