@univerjs-pro/docs-table 1.0.0-insiders.20260809-70eefdd → 1.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/commands/delete-columns.command.d.ts +4 -3
- package/lib/types/commands/delete-rows.command.d.ts +4 -3
- package/lib/types/commands/delete-table.command.d.ts +2 -1
- package/lib/types/commands/utils.d.ts +1 -1
- package/lib/types/common/clipboard.d.ts +2 -0
- package/lib/types/facade/f-document-table.d.ts +4 -3
- package/lib/types/index.d.ts +2 -1
- package/lib/types/services/docs-table-selection.service.d.ts +3 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x31a186=_0xd0cd;(function(_0x14c722,_0x549b41){const _0x2dfe6e=_0xd0cd,_0x558063=_0x14c722();while(!![]){try{const _0xb5e4cb=-parseInt(_0x2dfe6e(0x1ee))/0x1*(parseInt(_0x2dfe6e(0x21d))/0x2)+parseInt(_0x2dfe6e(0x24d))/0x3+-parseInt(_0x2dfe6e(0x1c4))/0x4+parseInt(_0x2dfe6e(0x1fa))/0x5+parseInt(_0x2dfe6e(0x1c8))/0x6+-parseInt(_0x2dfe6e(0x1b8))/0x7*(-parseInt(_0x2dfe6e(0x21a))/0x8)+parseInt(_0x2dfe6e(0x1f5))/0x9*(-parseInt(_0x2dfe6e(0x206))/0xa);if(_0xb5e4cb===_0x549b41)break;else _0x558063['push'](_0x558063['shift']());}catch(_0x85bd23){_0x558063['push'](_0x558063['shift']());}}}(_0x1cbe,0x8045c));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x29a789,DocsTableBorderPreset as _0x2f9e76,DocsTableColumnInsertPosition as _0xb1f48,DocsTableColumnType as _0x42c51e,DocsTableInsertPosition as _0x16cfb4,DocsTableInsertTableCommand as _0xb6d8d9,DocsTableInsertTablePosition as _0x3e12c3,DocsTableModel as _0x472af3,DocsTableRowInsertPosition as _0x4e7021,DocsTableSelectionKind as _0x469145,DocsTableSelectionService as _0x45eaa1,DocsTableSortDirection as _0x1e85d2,buildDeleteTableColumnsMutationActions as _0x22c667,buildDeleteTableMutationActions as _0x1d641f,buildDeleteTableRowsMutationActions as _0x2fea87,buildDistributeTableColumnsMutationActions as _0x2acd00,buildDistributeTableRowsMutationActions as _0xebfdf5,buildInsertTableColumnsMutationActions as _0x563483,buildInsertTableRowsMutationActions as _0x5a6e90,buildInsertTableTitleRowMutationActions as _0x24955f,buildMergeCellsMutationActions as _0x51ccc5,buildMoveFloatingTableMutationActions as _0x28bccb,buildMoveTableColumnsMutationActions as _0x50e757,buildMoveTableRowsMutationActions as _0x72e763,buildMoveTableToOffsetMutationActions as _0xbb811f,buildResizeTableColumnActionsFromWidth as _0x4e793b,buildResizeTableRowActionsFromHeight as _0xc0339e,buildSetTableBackgroundMutationActions as _0x53ddec,buildSetTableBorderMutationActions as _0x252adf,buildSetTableCellMarginMutationActions as _0x2608a0,buildSetTableCellTextMutationActions as _0x32b1f5,buildSetTableDefaultCellMarginMutationActions as _0x14f03c,buildSetTableHeaderRowCountMutationActions as _0x4913c5,buildSortTableMutationActions as _0x3e82a7,buildUnmergeCellsMutationActions as _0x56e038,executeRichTextTableActions as _0x4a00c9,getTableActionBodyPath as _0x4c81dc,getTableRangeById as _0x2aa62e}from'@univerjs-pro/docs-table';import{DashStyleType as _0x2ed2d7,ICommandService as _0x34d00e,TableRowHeightRule as _0x537564,Tools as _0x5e1fcf,generateRandomId as _0x57b1dd}from'@univerjs/core';import{FEnum as _0x2d1792}from'@univerjs/core/facade';import{FDocument as _0x109282}from'@univerjs/docs/facade';var G=class extends _0x2d1792{get['DocsTableInsertTablePosition'](){return _0x3e12c3;}get[_0x31a186(0x221)](){return _0x42c51e;}get[_0x31a186(0x238)](){return _0x469145;}get['DocsTableRowInsertPosition'](){return _0x4e7021;}get[_0x31a186(0x1ed)](){return _0xb1f48;}get[_0x31a186(0x1ef)](){return _0x2f9e76;}get[_0x31a186(0x1e4)](){return _0x1e85d2;}get[_0x31a186(0x22a)](){return _0x2ed2d7;}};_0x2d1792['extend'](G);function _0xd0cd(_0x969bce,_0xf8650f){_0x969bce=_0x969bce-0x19d;const _0x1cbe9d=_0x1cbe();let _0xd0cd56=_0x1cbe9d[_0x969bce];return _0xd0cd56;}var K=class{constructor(_0x294bb6,_0x1bc537,_0x2b2267){const _0x1e3b9b=_0x31a186;this[_0x1e3b9b(0x1f6)]=_0x294bb6,this[_0x1e3b9b(0x1da)]=_0x1bc537,this[_0x1e3b9b(0x200)]=_0x2b2267;}[_0x31a186(0x1c6)](){const _0x5d7b03=_0x31a186;return this[_0x5d7b03(0x1f6)];}[_0x31a186(0x1b5)](){const _0x20ecee=_0x31a186;return this[_0x20ecee(0x1da)];}[_0x31a186(0x1aa)](){const _0x277553=_0x31a186;return this[_0x277553(0x200)];}[_0x31a186(0x1e8)](){const _0x382b0f=_0x31a186;return this[_0x382b0f(0x1f6)][_0x382b0f(0x1f0)](this[_0x382b0f(0x1da)],this['_column']);}[_0x31a186(0x1bd)](){const _0x1e766b=_0x31a186;return this[_0x1e766b(0x1f6)][_0x1e766b(0x20e)](this[_0x1e766b(0x1da)],this[_0x1e766b(0x200)]);}[_0x31a186(0x211)](){const _0x55e7d0=_0x31a186;return this['_table']['getCellInsertOffset'](this[_0x55e7d0(0x1da)],this[_0x55e7d0(0x200)]);}[_0x31a186(0x1fe)](){const _0x3bdeec=_0x31a186;return this[_0x3bdeec(0x1f6)]['getCellMargin'](this[_0x3bdeec(0x1da)],this['_column']);}['getMarginOverride'](){const _0x112cea=_0x31a186;return this[_0x112cea(0x1f6)]['getCellMarginOverride'](this[_0x112cea(0x1da)],this['_column']);}[_0x31a186(0x1e2)](_0x2ad29a){const _0x3d1b54=_0x31a186;return this[_0x3d1b54(0x1f6)]['setCellMargin'](this[_0x3d1b54(0x1f6)]['getCellRange'](this[_0x3d1b54(0x1da)],this[_0x3d1b54(0x200)]),_0x2ad29a);}[_0x31a186(0x1bf)](){const _0x184370=_0x31a186;return this[_0x184370(0x1f6)][_0x184370(0x1e1)](this[_0x184370(0x1f6)]['getCellRange'](this[_0x184370(0x1da)],this[_0x184370(0x200)]),null);}[_0x31a186(0x1d0)](_0x28f04d){const _0x527135=_0x31a186;return this[_0x527135(0x1f6)][_0x527135(0x230)](this[_0x527135(0x1da)],this[_0x527135(0x200)],_0x28f04d);}[_0x31a186(0x23f)](_0x7ea382){const _0x721066=_0x31a186;return this[_0x721066(0x1f6)][_0x721066(0x1cd)](this[_0x721066(0x1f6)][_0x721066(0x1c5)](this[_0x721066(0x1da)],this[_0x721066(0x200)]),_0x7ea382);}[_0x31a186(0x1fd)](_0x48b7a2){const _0x1214c9=_0x31a186;return this['_table']['setBorder'](this['_table'][_0x1214c9(0x1c5)](this['_row'],this[_0x1214c9(0x200)]),_0x48b7a2);}[_0x31a186(0x1f4)](_0x1a53a9,_0x35c7d2){const _0x4ff30c=_0x31a186;return this[_0x4ff30c(0x1f6)][_0x4ff30c(0x227)]({'startRow':this['_row'],'startColumn':this['_column'],'endRow':this[_0x4ff30c(0x1da)]+_0x1a53a9-0x1,'endColumn':this[_0x4ff30c(0x200)]+_0x35c7d2-0x1});}[_0x31a186(0x1ac)](){const _0x475ff3=_0x31a186;return this[_0x475ff3(0x1f6)][_0x475ff3(0x23a)](this[_0x475ff3(0x1f6)][_0x475ff3(0x1c5)](this[_0x475ff3(0x1da)],this['_column']));}};function q(_0xd4eb56){'@babel/helpers - typeof';const _0x213375=_0x31a186;return q=typeof Symbol=='function'&&typeof Symbol[_0x213375(0x1a3)]==_0x213375(0x20f)?function(_0x4eb180){return typeof _0x4eb180;}:function(_0x38f8aa){const _0x4bbd8b=_0x213375;return _0x38f8aa&&typeof Symbol=='function'&&_0x38f8aa[_0x4bbd8b(0x1a8)]===Symbol&&_0x38f8aa!==Symbol[_0x4bbd8b(0x244)]?'symbol':typeof _0x38f8aa;},q(_0xd4eb56);}function _0x1cbe(){const _0x432161=['symbol','_tableContainsText','getInsertOffset','selectRows','string','_getDocumentData','Range','getSegmentId','setStructuralSelection','Row','_rowContainsText','232hEmslm','color','_document','14hrtPeP','deleteRows','selectColumns','setTableBackground','DocsTableColumnType','Cell','describe','getColumnCount','setColumnWidth','moveTableToOffset','mergeCells','syncExecuteCommand','insertColumnsBefore','DashStyleType','getCell','insertRowsBefore','AT_LEAST','getRowsRange','get','setCellText','_tableId','getCellInsertOffset','tableId','getTableAt','deleteColumns','getSource','actions','DocsTableSelectionKind','moveRows','unmergeCells','object','_getTableDocumentData','cells','_serializeModel','setBackgroundColor','call','setHeaderRowCount','getRange','setColumnType','prototype','moveTableBy','backgroundColor','selectColumn','getTables','insertRowsAfter','insertTable','max','documentStyle','1503540fMfCbU','insertColumnAfter','pinHeaderRows','_createFDocumentTable','getDocumentDataModel','getId','deleteRow','startOffset','headerRowCount','getInfo','border','tableSource','preset','tableCells','titleRow','iterator','appendColumn','text','moveColumns','insertColumnsAfter','constructor','_mutateActions','getColumnIndex','Below','unmerge','hasTitleRow','distributeRows','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','margin','dataStream','getCellMarginOverride','width','filter','getRowIndex','selectRow','includes','120491Zvfljz','createInstance','getCellMargin','moveRow','insertTableFromData','getContentRange','headerText','clearMarginOverride','_getBodyPath','appendRow','selectRange','insertRowBefore','2902876xcVdii','getCellRange','getTable','_injector','2633988qmwxJi','insertColumnBefore','length','getSnapshot','getTableMetadata','setCellBackground','tableRows','getTableRange','setText','moveColumn','selectTable','getTableAtSelection','getRowCount','findTableByText','cellMargin','getColumnRange','insertTitleRow','Above','_row','Left','insertRowAfter','endOffset','tableColumns','Table','setTableStyle','setCellMargin','setMargin','_segmentId','DocsTableSortDirection','getRowHeight','slice','setTableBorder','getText','titleText','map','Column','deleteTable','DocsTableColumnInsertPosition','90289ChZDok','DocsTableBorderPreset','getCellText','some','_getTables','deleteColumn','mergeTo','1462347YivVBW','_table','_unitId','setRowHeight','setTitleRow','4656200OoiXAK','toPrimitive','extend','setBorder','getMargin','body','_column','findTables','getMetadata','deepClone','setDefaultCellMargin','from','30ItXQhe','getHeaderRowCount','getDefaultCellMargin','#1f1f1f','segmentId','size','rows','getColumnsRange','getCellContentRange'];_0x1cbe=function(){return _0x432161;};return _0x1cbe();}function J(_0x10d1af,_0x4d1774){const _0x166908=_0x31a186;if(q(_0x10d1af)!=_0x166908(0x23b)||!_0x10d1af)return _0x10d1af;var _0x137761=_0x10d1af[Symbol[_0x166908(0x1fb)]];if(_0x137761!==void 0x0){var _0x2c5471=_0x137761[_0x166908(0x240)](_0x10d1af,_0x4d1774||'default');if(q(_0x2c5471)!='object')return _0x2c5471;throw TypeError(_0x166908(0x1af));}return(_0x4d1774==='string'?String:Number)(_0x10d1af);}function Y(_0x102710){const _0x113cdd=_0x31a186;var _0x21faa8=J(_0x102710,_0x113cdd(0x213));return q(_0x21faa8)=='symbol'?_0x21faa8:_0x21faa8+'';}function X(_0x370213,_0x5f5ab2,_0x1fec1a){return(_0x5f5ab2=Y(_0x5f5ab2))in _0x370213?Object['defineProperty'](_0x370213,_0x5f5ab2,{'value':_0x1fec1a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x370213[_0x5f5ab2]=_0x1fec1a,_0x370213;}var Z=class{constructor(_0x22feb4,_0x1336fc,_0x151f52='',_0x3e47ee){const _0x11146b=_0x31a186;this['_document']=_0x22feb4,this[_0x11146b(0x231)]=_0x1336fc,this[_0x11146b(0x1e3)]=_0x151f52,this[_0x11146b(0x1c7)]=_0x3e47ee,X(this,_0x11146b(0x1f7),void 0x0),this[_0x11146b(0x1f7)]=this['_document']['getId']();}[_0x31a186(0x252)](){return this['_tableId'];}[_0x31a186(0x216)](){return this['_segmentId'];}[_0x31a186(0x19d)](){const _0x1d831b=_0x31a186;return{'id':this['_tableId'],'rowCount':this[_0x1d831b(0x1d4)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x1d831b(0x202)](),'source':this[_0x1d831b(0x236)]()};}[_0x31a186(0x223)](){const _0x77ea73=_0x31a186;let _0x4676a2=this[_0x77ea73(0x202)](),_0x3c1d44=this[_0x77ea73(0x236)](),_0x221016=this['getColumnCount']();return{'id':this['_tableId'],'rowCount':this[_0x77ea73(0x1d4)](),'columnCount':_0x221016,'headerRowCount':(_0x4676a2==null?void 0x0:_0x4676a2[_0x77ea73(0x255)])??0x0,'titleRow':(_0x4676a2==null?void 0x0:_0x4676a2[_0x77ea73(0x1a2)])??!0x1,'columns':Array[_0x77ea73(0x205)]({'length':_0x221016},(_0x2e19e1,_0x41d5c2)=>{const _0x543dba=_0x77ea73;var _0x51831b,_0x304e4d;return{'index':_0x41d5c2,'type':_0x4676a2==null||(_0x51831b=_0x4676a2['columnTypes'])==null||(_0x51831b=_0x51831b[_0x41d5c2])==null?void 0x0:_0x51831b['type'],'width':_0x3c1d44==null||(_0x304e4d=_0x3c1d44[_0x543dba(0x1de)][_0x41d5c2])==null?void 0x0:_0x304e4d[_0x543dba(0x20b)][_0x543dba(0x1b3)]['v']};}),'sampleRows':Array[_0x77ea73(0x205)]({'length':this[_0x77ea73(0x1d4)]()},(_0x4c3bb1,_0x41bee5)=>Array[_0x77ea73(0x205)]({'length':_0x221016},(_0x3d2664,_0x2aa4a1)=>this[_0x77ea73(0x1f0)](_0x41bee5,_0x2aa4a1)))['filter'](_0x39803d=>_0x39803d[_0x77ea73(0x1f1)](_0x1f858b=>_0x1f858b[_0x77ea73(0x1ca)]>0x0))[_0x77ea73(0x1e6)](0x0,0x5)};}[_0x31a186(0x1d4)](){const _0x1c4ff4=_0x31a186;var _0x4d4eea;return((_0x4d4eea=this[_0x1c4ff4(0x236)]())==null?void 0x0:_0x4d4eea['tableRows'][_0x1c4ff4(0x1ca)])??0x0;}[_0x31a186(0x224)](){const _0x39d49f=_0x31a186;var _0x40e8e8;return((_0x40e8e8=this[_0x39d49f(0x236)]())==null?void 0x0:_0x40e8e8[_0x39d49f(0x1de)][_0x39d49f(0x1ca)])??0x0;}[_0x31a186(0x22b)](_0xb6db3e,_0x537f72){const _0x20b59d=_0x31a186;var _0x48b48d;return(_0x48b48d=this[_0x20b59d(0x236)]())!=null&&(_0x48b48d=_0x48b48d[_0x20b59d(0x1ce)][_0xb6db3e])!=null&&_0x48b48d[_0x20b59d(0x1a1)][_0x537f72]?this[_0x20b59d(0x1c7)][_0x20b59d(0x1b9)](K,this,_0xb6db3e,_0x537f72):null;}['getCellText'](_0x54e6d8,_0x19c370){const _0x18ef7b=_0x31a186;var _0x5e51c4,_0x33aafe;let _0x5693e7=(_0x5e51c4=_0x2aa62e(this[_0x18ef7b(0x214)](),this['_tableId']))==null||(_0x5e51c4=_0x5e51c4[_0x18ef7b(0x20c)][_0x54e6d8])==null?void 0x0:_0x5e51c4[_0x18ef7b(0x23d)][_0x19c370];return _0x5693e7?((_0x33aafe=this[_0x18ef7b(0x214)]()[_0x18ef7b(0x1ff)])==null?void 0x0:_0x33aafe[_0x18ef7b(0x1b1)]['slice'](_0x5693e7[_0x18ef7b(0x254)]+0x1,_0x5693e7[_0x18ef7b(0x1dd)])['replace'](/\r\n$/,''))??'':'';}[_0x31a186(0x1ba)](_0x56a588,_0x503ddf){const _0x595605=_0x31a186;var _0x24f20e;let _0x4930ac=this[_0x595605(0x236)](),_0x10a38b=_0x4930ac==null||(_0x24f20e=_0x4930ac[_0x595605(0x1ce)][_0x56a588])==null?void 0x0:_0x24f20e[_0x595605(0x1a1)][_0x503ddf];return _0x10a38b?_0x5e1fcf[_0x595605(0x203)](_0x10a38b[_0x595605(0x1b0)]??_0x4930ac[_0x595605(0x1d6)]??_0x29a789):null;}[_0x31a186(0x1b2)](_0x35dc5e,_0x53879b){const _0x350ddd=_0x31a186;var _0x244c3f;let _0x2d43b8=(_0x244c3f=this['getSource']())==null||(_0x244c3f=_0x244c3f[_0x350ddd(0x1ce)][_0x35dc5e])==null?void 0x0:_0x244c3f[_0x350ddd(0x1a1)][_0x53879b];return _0x2d43b8!=null&&_0x2d43b8['margin']?_0x5e1fcf['deepClone'](_0x2d43b8[_0x350ddd(0x1b0)]):null;}[_0x31a186(0x208)](){const _0x44a6db=_0x31a186;var _0x1484da;return _0x5e1fcf[_0x44a6db(0x203)](((_0x1484da=this[_0x44a6db(0x236)]())==null?void 0x0:_0x1484da[_0x44a6db(0x1d6)])??_0x29a789);}['getDefaultCellMarginOverride'](){const _0x5dfd02=_0x31a186;var _0xa87bf;let _0x3bab76=(_0xa87bf=this[_0x5dfd02(0x236)]())==null?void 0x0:_0xa87bf['cellMargin'];return _0x3bab76?_0x5e1fcf[_0x5dfd02(0x203)](_0x3bab76):null;}[_0x31a186(0x202)](){const _0x15943e=_0x31a186;return this['_injector'][_0x15943e(0x22f)](_0x472af3)[_0x15943e(0x1cc)](this['_unitId'],this[_0x15943e(0x231)]);}['getSource'](){const _0x395d2e=_0x31a186;var _0x57e808;return(_0x57e808=this[_0x395d2e(0x214)]()[_0x395d2e(0x19f)])==null?void 0x0:_0x57e808[this[_0x395d2e(0x231)]];}[_0x31a186(0x242)](){const _0x1d7f7b=_0x31a186;return _0x2aa62e(this[_0x1d7f7b(0x214)](),this[_0x1d7f7b(0x231)]);}[_0x31a186(0x1cf)](){const _0x33619a=_0x31a186;return{'startRow':0x0,'endRow':Math[_0x33619a(0x24b)](0x0,this[_0x33619a(0x1d4)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x33619a(0x24b)](0x0,this[_0x33619a(0x224)]()-0x1)};}[_0x31a186(0x1c5)](_0x2529f6,_0x1e3c03){return{'startRow':_0x2529f6,'endRow':_0x2529f6,'startColumn':_0x1e3c03,'endColumn':_0x1e3c03};}[_0x31a186(0x20e)](_0x5a3d4a,_0x3b33fc){const _0x5e546d=_0x31a186;var _0x47f962;let _0x217145=(_0x47f962=_0x2aa62e(this[_0x5e546d(0x214)](),this[_0x5e546d(0x231)]))==null||(_0x47f962=_0x47f962[_0x5e546d(0x20c)][_0x5a3d4a])==null?void 0x0:_0x47f962[_0x5e546d(0x23d)][_0x3b33fc];if(!_0x217145)return null;let _0x2af7dc=_0x217145[_0x5e546d(0x254)]+0x1;return{'startOffset':_0x2af7dc,'endOffset':Math['max'](_0x2af7dc,_0x217145[_0x5e546d(0x1dd)]-0x1),'segmentId':this[_0x5e546d(0x1e3)]};}[_0x31a186(0x232)](_0xb41b3,_0x4bf899){const _0x570287=_0x31a186;let _0x47a8be=this[_0x570287(0x20e)](_0xb41b3,_0x4bf899);return _0x47a8be?Math[_0x570287(0x24b)](_0x47a8be[_0x570287(0x254)],_0x47a8be['endOffset']-0x1):null;}['getRowRange'](_0x2d2b2b){const _0x445032=_0x31a186;return this[_0x445032(0x22e)](_0x2d2b2b,0x1);}[_0x31a186(0x22e)](_0x5564a2,_0x27df60=0x1){const _0xed3a36=_0x31a186;return{'startRow':_0x5564a2,'endRow':_0x5564a2+_0x27df60-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0xed3a36(0x224)]()-0x1)};}[_0x31a186(0x1d7)](_0x403ef6){const _0x367f3e=_0x31a186;return this[_0x367f3e(0x20d)](_0x403ef6,0x1);}[_0x31a186(0x20d)](_0x1f4bef,_0x5aa8a0=0x1){const _0x39d37a=_0x31a186;return{'startRow':0x0,'endRow':Math[_0x39d37a(0x24b)](0x0,this[_0x39d37a(0x1d4)]()-0x1),'startColumn':_0x1f4bef,'endColumn':_0x1f4bef+_0x5aa8a0-0x1};}[_0x31a186(0x1d2)](){const _0x15ad60=_0x31a186;return this[_0x15ad60(0x1c2)](this[_0x15ad60(0x1cf)](),_0x469145[_0x15ad60(0x1df)]);}[_0x31a186(0x1b6)](_0x53804d){return this['selectRows'](_0x53804d,0x1);}[_0x31a186(0x212)](_0x531f17,_0x477731=0x1){const _0xc582e4=_0x31a186;return this[_0xc582e4(0x1c2)](this[_0xc582e4(0x22e)](_0x531f17,_0x477731),_0x469145[_0xc582e4(0x218)]);}[_0x31a186(0x247)](_0x753f0b){const _0x122e2c=_0x31a186;return this[_0x122e2c(0x21f)](_0x753f0b,0x1);}[_0x31a186(0x21f)](_0x4e2e13,_0x3279d8=0x1){const _0x42cca7=_0x31a186;return this[_0x42cca7(0x1c2)](this[_0x42cca7(0x20d)](_0x4e2e13,_0x3279d8),_0x469145[_0x42cca7(0x1eb)]);}['selectCell'](_0x2d8bb2,_0x48fcbc){const _0x5ec873=_0x31a186;return this['selectRange'](this[_0x5ec873(0x1c5)](_0x2d8bb2,_0x48fcbc),_0x469145[_0x5ec873(0x222)]);}[_0x31a186(0x1c2)](_0xbb7306,_0x21da3b=_0x469145[_0x31a186(0x215)]){const _0x3751a9=_0x31a186;return this[_0x3751a9(0x1c7)]['get'](_0x45eaa1)[_0x3751a9(0x217)]({..._0xbb7306,'kind':_0x21da3b,'segmentId':this[_0x3751a9(0x1e3)],'tableId':this[_0x3751a9(0x231)]}),!0x0;}[_0x31a186(0x1c3)](_0x53c620){const _0x576817=_0x31a186;return this[_0x576817(0x22c)](_0x53c620,0x1);}[_0x31a186(0x1dc)](_0x577f27){const _0x40eb4c=_0x31a186;return this[_0x40eb4c(0x249)](_0x577f27,0x1);}[_0x31a186(0x22c)](_0x55bada,_0x19ff8f){const _0x592ed2=_0x31a186;let _0x13b7c5=this[_0x592ed2(0x214)](),_0x2d1063=_0x5a6e90(_0x13b7c5,this['_tableId'],_0x55bada,_0x19ff8f,_0x16cfb4[_0x592ed2(0x1d9)],this[_0x592ed2(0x1c0)]());return _0x2d1063?this[_0x592ed2(0x1a9)](_0x13b7c5,_0x2d1063['actions']):!0x1;}[_0x31a186(0x249)](_0xc153a1,_0x38cd35){const _0x2071c1=_0x31a186;let _0x3e1b2b=this[_0x2071c1(0x214)](),_0x45d3e1=_0x5a6e90(_0x3e1b2b,this['_tableId'],_0xc153a1,_0x38cd35,_0x16cfb4[_0x2071c1(0x1ab)],this[_0x2071c1(0x1c0)]());return _0x45d3e1?this[_0x2071c1(0x1a9)](_0x3e1b2b,_0x45d3e1[_0x2071c1(0x237)]):!0x1;}[_0x31a186(0x1c1)](){const _0x284ba3=_0x31a186;return this[_0x284ba3(0x249)](Math[_0x284ba3(0x24b)](0x0,this[_0x284ba3(0x1d4)]()-0x1),0x1);}[_0x31a186(0x1c9)](_0xc53a74){const _0x22279a=_0x31a186;return this[_0x22279a(0x229)](_0xc53a74,0x1);}[_0x31a186(0x24e)](_0x43dfc7){const _0x81b1f7=_0x31a186;return this[_0x81b1f7(0x1a7)](_0x43dfc7,0x1);}[_0x31a186(0x229)](_0x2ffbb1,_0x26738c){const _0x5e105d=_0x31a186;let _0x452889=this[_0x5e105d(0x214)](),_0x196c86=_0x563483(_0x452889,this[_0x5e105d(0x231)],_0x2ffbb1,_0x26738c,_0x16cfb4[_0x5e105d(0x1db)],{'bodyPath':this['_getBodyPath']()});return _0x196c86?this[_0x5e105d(0x1a9)](_0x452889,_0x196c86['actions']):!0x1;}['insertColumnsAfter'](_0x596961,_0x229ae3){const _0x27e82f=_0x31a186;let _0x459097=this[_0x27e82f(0x214)](),_0x370e0e=_0x563483(_0x459097,this[_0x27e82f(0x231)],_0x596961,_0x229ae3,_0x16cfb4['Right'],{'bodyPath':this[_0x27e82f(0x1c0)]()});return _0x370e0e?this['_mutateActions'](_0x459097,_0x370e0e['actions']):!0x1;}[_0x31a186(0x1a4)](){const _0x1c715f=_0x31a186;return this[_0x1c715f(0x1a7)](Math[_0x1c715f(0x24b)](0x0,this[_0x1c715f(0x224)]()-0x1),0x1);}[_0x31a186(0x253)](_0x45ddf5){return this['deleteRows'](_0x45ddf5,0x1);}[_0x31a186(0x21e)](_0x44db1b,_0x2faf2a=0x1){const _0x1eec15=_0x31a186;let _0x381534=this[_0x1eec15(0x214)](),_0x297996=_0x2fea87(_0x381534,this[_0x1eec15(0x231)],_0x44db1b,_0x44db1b+_0x2faf2a-0x1,this[_0x1eec15(0x1c0)]());return _0x297996?this[_0x1eec15(0x1a9)](_0x381534,_0x297996[_0x1eec15(0x237)]):!0x1;}[_0x31a186(0x1f3)](_0x3592e5){const _0x3f38be=_0x31a186;return this[_0x3f38be(0x235)](_0x3592e5,0x1);}['deleteColumns'](_0x38bd1a,_0x5bf64b=0x1){const _0x5778da=_0x31a186;let _0x4efb49=this[_0x5778da(0x214)](),_0x24eb9e=_0x22c667(_0x4efb49,this[_0x5778da(0x231)],_0x38bd1a,_0x38bd1a+_0x5bf64b-0x1,this['_getBodyPath']());return _0x24eb9e?this[_0x5778da(0x1a9)](_0x4efb49,_0x24eb9e[_0x5778da(0x237)]):!0x1;}[_0x31a186(0x1ec)](){const _0x102984=_0x31a186;let _0x1d093a=this[_0x102984(0x214)](),_0x28b5ee=_0x1d641f(_0x1d093a,this['_tableId'],this['_getBodyPath']());return _0x28b5ee?this[_0x102984(0x1a9)](_0x1d093a,_0x28b5ee['actions']):!0x1;}[_0x31a186(0x245)](_0x4849e4,_0x2f9339){const _0x3055ce=_0x31a186;let _0x3d3409=this['_getDocumentData']();return this[_0x3055ce(0x1a9)](_0x3d3409,_0x28bccb(_0x3d3409,this[_0x3055ce(0x231)],_0x4849e4,_0x2f9339));}[_0x31a186(0x226)](_0x59344c){const _0x2c624d=_0x31a186;let _0x58efb7=this[_0x2c624d(0x214)]();return this[_0x2c624d(0x1a9)](_0x58efb7,_0xbb811f(_0x58efb7,this[_0x2c624d(0x231)],_0x59344c,this[_0x2c624d(0x1c0)]()));}[_0x31a186(0x1bb)](_0x98d011,_0x39be80,_0x5deff4=_0x16cfb4[_0x31a186(0x1d9)]){const _0x45e271=_0x31a186;return this[_0x45e271(0x239)](_0x98d011,0x1,_0x39be80,_0x5deff4);}[_0x31a186(0x239)](_0x506681,_0x1d9dec,_0x7fb8e7,_0x1abf6c=_0x16cfb4[_0x31a186(0x1d9)]){const _0x5141a0=_0x31a186;let _0x22b3b5=this[_0x5141a0(0x214)](),_0x2757f0=_0x72e763(_0x22b3b5,this[_0x5141a0(0x231)],_0x506681,_0x7fb8e7,_0x1d9dec,_0x1abf6c,this[_0x5141a0(0x1c0)]());return _0x2757f0?this[_0x5141a0(0x1a9)](_0x22b3b5,_0x2757f0[_0x5141a0(0x237)]):!0x1;}[_0x31a186(0x1d1)](_0x3575e1,_0x5deba0,_0xc72ada=_0x16cfb4[_0x31a186(0x1db)]){const _0x411e90=_0x31a186;return this[_0x411e90(0x1a6)](_0x3575e1,0x1,_0x5deba0,_0xc72ada);}['moveColumns'](_0x394ece,_0x1c680f,_0x571f50,_0x9af645=_0x16cfb4[_0x31a186(0x1db)]){const _0x2e562c=_0x31a186;let _0x28464c=this['_getDocumentData'](),_0x460a6c=_0x50e757(_0x28464c,this[_0x2e562c(0x231)],_0x394ece,_0x571f50,_0x1c680f,_0x9af645,this[_0x2e562c(0x1c0)]());return _0x460a6c?this[_0x2e562c(0x1a9)](_0x28464c,_0x460a6c[_0x2e562c(0x237)]):!0x1;}['mergeCells'](_0x137798){const _0x22ef1e=_0x31a186;try{let _0xf4a6c0=this[_0x22ef1e(0x214)](),_0x4b80e5=_0x51ccc5({'documentData':_0xf4a6c0,'tableId':this[_0x22ef1e(0x231)],..._0x137798});return _0x4b80e5?this[_0x22ef1e(0x1a9)](_0xf4a6c0,_0x4b80e5[_0x22ef1e(0x237)],_0x137798):!0x1;}catch{return!0x1;}}[_0x31a186(0x23a)](_0x1330ef){const _0x343a52=_0x31a186;try{let _0x5d3092=this['_getDocumentData'](),_0x90cb09=_0x56e038({'documentData':_0x5d3092,'tableId':this[_0x343a52(0x231)],..._0x1330ef});return _0x90cb09?this[_0x343a52(0x1a9)](_0x5d3092,_0x90cb09[_0x343a52(0x237)],_0x1330ef):!0x1;}catch{return!0x1;}}['setCellText'](_0x474ddf,_0x34484d,_0x3b7c2e){const _0x5b4691=_0x31a186;let _0x44a176=this['_getDocumentData'](),_0x305c1b=_0x4c81dc(this[_0x5b4691(0x21c)][_0x5b4691(0x251)]()[_0x5b4691(0x1cb)](),this[_0x5b4691(0x1e3)]);return this[_0x5b4691(0x1a9)](_0x44a176,_0x32b1f5({'documentData':_0x44a176,'tableId':this[_0x5b4691(0x231)],'row':_0x474ddf,'column':_0x34484d,'text':_0x3b7c2e},_0x305c1b),this[_0x5b4691(0x1c5)](_0x474ddf,_0x34484d));}['setCellBackground'](_0x2a0f03,_0x36e5d5){const _0x1ebedd=_0x31a186;let _0x1a22f5=this[_0x1ebedd(0x214)]();return this[_0x1ebedd(0x1a9)](_0x1a22f5,_0x53ddec(_0x1a22f5,{'tableId':this[_0x1ebedd(0x231)],..._0x2a0f03,'value':_0x36e5d5}),_0x2a0f03);}['setCellMargin'](_0x591485,_0x2e9641){const _0x2d9b9b=_0x31a186;let _0x84e29b=this['_getDocumentData']();return this[_0x2d9b9b(0x1a9)](_0x84e29b,_0x2608a0({'documentData':_0x84e29b,'tableId':this[_0x2d9b9b(0x231)],..._0x591485,'margin':_0x2e9641}),_0x591485);}[_0x31a186(0x204)](_0x552989){const _0x4da1d6=_0x31a186;let _0x54431b=this[_0x4da1d6(0x214)]();return this[_0x4da1d6(0x1a9)](_0x54431b,_0x14f03c(_0x54431b,this['_tableId'],_0x552989));}[_0x31a186(0x1fd)](_0x29b1f7,_0x39c433){const _0x221dbe=_0x31a186;let _0x18f16b=this[_0x221dbe(0x214)]();return this[_0x221dbe(0x1a9)](_0x18f16b,_0x252adf({'documentData':_0x18f16b,'tableId':this[_0x221dbe(0x231)],..._0x29b1f7,'preset':_0x39c433[_0x221dbe(0x1a0)]??_0x2f9e76['All'],'border':_0x39c433['border']??{'color':{'rgb':_0x39c433[_0x221dbe(0x21b)]??_0x221dbe(0x209)},'width':{'v':_0x39c433[_0x221dbe(0x1b3)]??0x1},'dashStyle':_0x2ed2d7['SOLID']}}),_0x29b1f7);}['setTableBackground'](_0x14fce5){return this['setCellBackground'](this['getTableRange'](),_0x14fce5);}['setTableBorder'](_0x4d9423){const _0x3d9810=_0x31a186;return this[_0x3d9810(0x1fd)](this[_0x3d9810(0x1cf)](),_0x4d9423);}[_0x31a186(0x1e0)](_0x1892ac){const _0x22872d=_0x31a186;let _0x527491=!_0x1892ac[_0x22872d(0x246)]||this[_0x22872d(0x220)](_0x1892ac[_0x22872d(0x246)]),_0x2df93f=!_0x1892ac[_0x22872d(0x19e)]||this[_0x22872d(0x1e7)](_0x1892ac['border']);return _0x527491&&_0x2df93f;}[_0x31a186(0x1f8)](_0x268aa8,_0x414452,_0x331797=_0x537564[_0x31a186(0x22d)]){const _0x3fe18b=_0x31a186;var _0x641c7;let _0x2b6967=this[_0x3fe18b(0x214)]();return(_0x641c7=_0x2b6967[_0x3fe18b(0x19f)])!=null&&(_0x641c7=_0x641c7[this[_0x3fe18b(0x231)]])!=null&&_0x641c7['tableRows'][_0x268aa8]?this[_0x3fe18b(0x1a9)](_0x2b6967,_0xc0339e(_0x2b6967,this['_tableId'],_0x268aa8,_0x414452,_0x331797)):!0x1;}[_0x31a186(0x1e5)](_0x208088){const _0x3a2689=_0x31a186;var _0x58115a;let _0x36118b=(_0x58115a=this[_0x3a2689(0x236)]())==null||(_0x58115a=_0x58115a[_0x3a2689(0x1ce)][_0x208088])==null?void 0x0:_0x58115a['trHeight'];return _0x36118b?_0x5e1fcf[_0x3a2689(0x203)](_0x36118b):null;}[_0x31a186(0x225)](_0x454389,_0x42a288){const _0x25088d=_0x31a186;var _0x543d46;let _0x16807d=this[_0x25088d(0x214)]();return(_0x543d46=_0x16807d['tableSource'])!=null&&(_0x543d46=_0x543d46[this[_0x25088d(0x231)]])!=null&&_0x543d46[_0x25088d(0x1de)][_0x454389]?this['_mutateActions'](_0x16807d,_0x4e793b(_0x16807d,this[_0x25088d(0x231)],_0x454389,_0x42a288)):!0x1;}[_0x31a186(0x1ae)](_0x5a4915=0x0,_0x347f44=this['getRowCount']()){const _0x34d90b=_0x31a186;let _0x3c2056=this[_0x34d90b(0x214)]();return this[_0x34d90b(0x1a9)](_0x3c2056,_0xebfdf5(_0x3c2056,this[_0x34d90b(0x231)],_0x5a4915,_0x5a4915+_0x347f44-0x1));}['distributeColumns'](_0x25b70c=0x0,_0x1b752a=this[_0x31a186(0x224)]()){const _0x8a771c=_0x31a186;let _0x25bcfe=this[_0x8a771c(0x214)]();return this['_mutateActions'](_0x25bcfe,_0x2acd00(_0x25bcfe,this[_0x8a771c(0x231)],_0x25b70c,_0x25b70c+_0x1b752a-0x1));}[_0x31a186(0x207)](){var _0x39ac02;return((_0x39ac02=this['getMetadata']())==null?void 0x0:_0x39ac02['headerRowCount'])??0x0;}[_0x31a186(0x241)](_0x35c38d){const _0x33b6cf=_0x31a186;let _0x48206b=this[_0x33b6cf(0x1c7)][_0x33b6cf(0x22f)](_0x472af3),_0x424cd6=this[_0x33b6cf(0x214)](),_0x3a2e30=_0x4913c5(_0x424cd6,this[_0x33b6cf(0x231)],_0x35c38d);if(!_0x3a2e30)return!0x1;let _0x1ff124=this[_0x33b6cf(0x1a9)](_0x424cd6,_0x3a2e30[_0x33b6cf(0x237)]);return _0x1ff124&&_0x48206b[_0x33b6cf(0x241)](this[_0x33b6cf(0x1f7)],this['_tableId'],_0x3a2e30[_0x33b6cf(0x255)]),_0x1ff124;}[_0x31a186(0x24f)](_0xbc1c7){const _0x5c4d5b=_0x31a186;return this[_0x5c4d5b(0x241)](_0xbc1c7);}[_0x31a186(0x1ad)](){var _0x542f3c;return((_0x542f3c=this['getMetadata']())==null?void 0x0:_0x542f3c['titleRow'])??!0x1;}[_0x31a186(0x1d8)](){const _0x2ab289=_0x31a186;let _0x2db1c2=this[_0x2ab289(0x1c7)]['get'](_0x472af3),_0x22d0a3=this[_0x2ab289(0x214)](),_0x4defc1=_0x24955f(_0x22d0a3,this['_tableId'],this['_getBodyPath']());if(!_0x4defc1)return!0x1;let _0x17ee2d=this[_0x2ab289(0x1a9)](_0x22d0a3,_0x4defc1[_0x2ab289(0x237)]);return _0x17ee2d&&_0x2db1c2[_0x2ab289(0x1f9)](this[_0x2ab289(0x1f7)],this[_0x2ab289(0x231)],!0x0),_0x17ee2d;}[_0x31a186(0x243)](_0x1b2242,_0x1789a6){const _0x4232b6=_0x31a186;return this['_injector']['get'](_0x472af3)[_0x4232b6(0x243)](this[_0x4232b6(0x1f7)],this[_0x4232b6(0x231)],_0x1b2242,_0x1789a6),!0x0;}['sortByColumn'](_0x4773a4,_0xe261a7){const _0x46c27a=_0x31a186;let _0x361213=this[_0x46c27a(0x214)]();return this[_0x46c27a(0x1a9)](_0x361213,_0x3e82a7(_0x361213,this[_0x46c27a(0x23e)](),this[_0x46c27a(0x231)],_0x4773a4,_0xe261a7,this[_0x46c27a(0x1c0)]()));}[_0x31a186(0x214)](){const _0x5623a2=_0x31a186;let _0x4591e9=this['_document'][_0x5623a2(0x251)]()[_0x5623a2(0x1cb)]();return this['_segmentId']?{...this[_0x5623a2(0x21c)][_0x5623a2(0x251)](this['_segmentId'])[_0x5623a2(0x1cb)](),'documentStyle':_0x4591e9[_0x5623a2(0x24c)],'tableSource':_0x4591e9[_0x5623a2(0x19f)]}:_0x4591e9;}[_0x31a186(0x23e)](){const _0x4274fc=_0x31a186;return this[_0x4274fc(0x1c7)][_0x4274fc(0x22f)](_0x472af3)['serialize'](this['_unitId']);}[_0x31a186(0x1c0)](){const _0x43a266=_0x31a186;return _0x4c81dc(this['_document'][_0x43a266(0x251)]()[_0x43a266(0x1cb)](),this['_segmentId']);}['_mutateActions'](_0x20b55b,_0x436c73,_0x55bd3c){const _0x214c8a=_0x31a186;return _0x4a00c9(this['_injector'][_0x214c8a(0x22f)](_0x34d00e),this[_0x214c8a(0x1f7)],_0x20b55b,_0x436c73,_0x55bd3c?{'tableId':this[_0x214c8a(0x231)],'segmentId':this[_0x214c8a(0x1e3)],..._0x55bd3c}:void 0x0);}},Q=class extends _0x109282{['getTables'](_0x40b995=''){const _0x1a1f73=_0x31a186;return this[_0x1a1f73(0x1f2)](_0x40b995)[_0x1a1f73(0x1ea)](_0x51f3b0=>this[_0x1a1f73(0x250)](_0x51f3b0[_0x1a1f73(0x233)],_0x40b995));}[_0x31a186(0x1c6)](_0x416914,_0x8cf480=''){const _0x27f957=_0x31a186;return this[_0x27f957(0x1f2)](_0x8cf480)[_0x27f957(0x1f1)](_0x472082=>_0x472082[_0x27f957(0x233)]===_0x416914)?this[_0x27f957(0x250)](_0x416914,_0x8cf480):null;}[_0x31a186(0x234)](_0x926f5c,_0x366e4b=''){const _0x434935=_0x31a186;var _0x9e0b00;let _0x37950c=(_0x9e0b00=this[_0x434935(0x1f2)](_0x366e4b)[_0x926f5c])==null?void 0x0:_0x9e0b00['tableId'];return _0x37950c?this[_0x434935(0x250)](_0x37950c,_0x366e4b):null;}[_0x31a186(0x1d3)](){const _0x2f6a09=_0x31a186;let _0x3d7c64=this[_0x2f6a09(0x1c7)][_0x2f6a09(0x22f)](_0x45eaa1)['getStableTableSelection']();return _0x3d7c64!=null&&_0x3d7c64[_0x2f6a09(0x233)]?this['_createFDocumentTable'](_0x3d7c64[_0x2f6a09(0x233)],_0x3d7c64[_0x2f6a09(0x20a)]):null;}[_0x31a186(0x1d5)](_0x17f3b1,_0x3783f7=''){return this['findTables'](_0x17f3b1,_0x3783f7)[0x0]??null;}[_0x31a186(0x201)](_0x3e9d3f,_0x1afcac=''){const _0x1d6cac=_0x31a186;let _0x576e2e=this[_0x1d6cac(0x23c)](_0x1afcac),_0x5f526c=typeof _0x3e9d3f==_0x1d6cac(0x213)?{'text':_0x3e9d3f}:_0x3e9d3f;return this[_0x1d6cac(0x248)](_0x1afcac)[_0x1d6cac(0x1b4)](_0xc30bae=>{const _0x38b6e9=_0x1d6cac;let _0x5c4b78=_0xc30bae[_0x38b6e9(0x252)]();return!(_0x5f526c[_0x38b6e9(0x233)]&&_0x5c4b78!==_0x5f526c['tableId']||_0x5f526c[_0x38b6e9(0x1a5)]&&!this[_0x38b6e9(0x210)](_0x576e2e,_0x5c4b78,_0x5f526c['text'])||_0x5f526c['headerText']&&!this[_0x38b6e9(0x219)](_0xc30bae,0x0,_0x5f526c[_0x38b6e9(0x1be)])||_0x5f526c[_0x38b6e9(0x1e9)]&&!this[_0x38b6e9(0x219)](_0xc30bae,0x0,_0x5f526c[_0x38b6e9(0x1e9)]));});}[_0x31a186(0x24a)](_0x120e81,_0x5b9844,_0x4e232e={}){const _0x2eee95=_0x31a186;let _0x39a92a=this[_0x2eee95(0x1c7)][_0x2eee95(0x22f)](_0x34d00e),_0x5688c7=_0x4e232e['tableId']??_0x57b1dd(0x6);return _0x39a92a['syncExecuteCommand'](_0xb6d8d9['id'],{..._0x4e232e,'unitId':this['getId'](),'rows':_0x120e81,'columns':_0x5b9844,'tableId':_0x5688c7})?this[_0x2eee95(0x250)](_0x5688c7,_0x4e232e[_0x2eee95(0x20a)]??''):null;}[_0x31a186(0x1bc)](_0x335b79,_0x3135c5={}){const _0x1d6654=_0x31a186;let _0x3bb4e7=this[_0x1d6654(0x1c7)][_0x1d6654(0x22f)](_0x34d00e),_0x3ede4a=_0x3135c5[_0x1d6654(0x233)]??_0x57b1dd(0x6);return _0x3bb4e7[_0x1d6654(0x228)](_0xb6d8d9['id'],{..._0x3135c5,'unitId':this[_0x1d6654(0x252)](),'values':_0x335b79,'tableId':_0x3ede4a})?this[_0x1d6654(0x250)](_0x3ede4a,_0x3135c5['segmentId']??''):null;}[_0x31a186(0x1f2)](_0x194d19=''){let {tables:_0x35fb48=[]}=this['getBody'](_0x194d19);return _0x35fb48;}[_0x31a186(0x23c)](_0x4bb51a=''){const _0x45109f=_0x31a186;let _0x5e62e7=this['getDocumentDataModel']()['getSnapshot']();return _0x4bb51a?{...this['getDocumentDataModel'](_0x4bb51a)[_0x45109f(0x1cb)](),'documentStyle':_0x5e62e7[_0x45109f(0x24c)],'tableSource':_0x5e62e7['tableSource']}:_0x5e62e7;}['_createFDocumentTable'](_0x2d01b6,_0x18d471=''){const _0x157403=_0x31a186;return this[_0x157403(0x1c7)][_0x157403(0x1b9)](Z,this,_0x2d01b6,_0x18d471,this[_0x157403(0x1c7)]);}[_0x31a186(0x210)](_0x28953f,_0x397713,_0x54f1d5){const _0x503ed9=_0x31a186;var _0x5b6ceb;let _0x1a94a1=_0x2aa62e(_0x28953f,_0x397713);if(!_0x1a94a1)return!0x1;let _0x5f17e4=(_0x5b6ceb=_0x28953f[_0x503ed9(0x1ff)])==null?void 0x0:_0x5b6ceb[_0x503ed9(0x1b1)];return _0x5f17e4?_0x5f17e4[_0x503ed9(0x1e6)](_0x1a94a1[_0x503ed9(0x254)],_0x1a94a1[_0x503ed9(0x1dd)])[_0x503ed9(0x1b7)](_0x54f1d5):!0x1;}['_rowContainsText'](_0x4222b0,_0x2e06b9,_0x2b87c7){const _0x41f347=_0x31a186;return Array[_0x41f347(0x205)]({'length':_0x4222b0['getColumnCount']()},(_0x448534,_0x4ba5ff)=>_0x4222b0['getCellText'](_0x2e06b9,_0x4ba5ff))[_0x41f347(0x1f1)](_0x37eef8=>_0x37eef8[_0x41f347(0x1b7)](_0x2b87c7));}};_0x109282[_0x31a186(0x1fc)](Q);export{Z as FDocumentTable,K as FDocumentTableCell};
|
|
1
|
+
const _0xae94f7=_0x307e;(function(_0x56e5a3,_0x49da21){const _0x44b559=_0x307e,_0x68d8e7=_0x56e5a3();while(!![]){try{const _0x2d7ee5=-parseInt(_0x44b559(0x17f))/0x1*(parseInt(_0x44b559(0x116))/0x2)+parseInt(_0x44b559(0x108))/0x3*(parseInt(_0x44b559(0x13a))/0x4)+-parseInt(_0x44b559(0x15c))/0x5*(parseInt(_0x44b559(0x138))/0x6)+parseInt(_0x44b559(0xf7))/0x7+parseInt(_0x44b559(0x17e))/0x8*(parseInt(_0x44b559(0x1a4))/0x9)+parseInt(_0x44b559(0x14e))/0xa*(parseInt(_0x44b559(0x1a6))/0xb)+-parseInt(_0x44b559(0x171))/0xc;if(_0x2d7ee5===_0x49da21)break;else _0x68d8e7['push'](_0x68d8e7['shift']());}catch(_0x566e56){_0x68d8e7['push'](_0x68d8e7['shift']());}}}(_0x326d,0x73d03));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x4f2a03,DocsTableBorderPreset as _0x299c38,DocsTableColumnInsertPosition as _0x42f2d3,DocsTableColumnType as _0x58bab2,DocsTableDeleteColumnsCommand as _0x17884c,DocsTableDeleteRowsCommand as _0x20d42e,DocsTableDeleteTableCommand as _0x5a3f48,DocsTableInsertPosition as _0x3be68e,DocsTableInsertTableCommand as _0x56a665,DocsTableInsertTablePosition as _0x51fbd8,DocsTableModel as _0x7fc983,DocsTableRowInsertPosition as _0x2b986b,DocsTableSelectionKind as _0x276d9a,DocsTableSelectionService as _0x7f813,DocsTableSortDirection as _0x1e41a7,buildDistributeTableColumnsMutationActions as _0x50d169,buildDistributeTableRowsMutationActions as _0x3fedf2,buildInsertTableColumnsMutationActions as _0x4c90bd,buildInsertTableRowsMutationActions as _0x214fab,buildInsertTableTitleRowMutationActions as _0xeb76b0,buildMergeCellsMutationActions as _0x1fdc4d,buildMoveFloatingTableMutationActions as _0x2007d0,buildMoveTableColumnsMutationActions as _0x5479d5,buildMoveTableRowsMutationActions as _0x4393b8,buildMoveTableToOffsetMutationActions as _0x391007,buildResizeTableColumnActionsFromWidth as _0x1734d7,buildResizeTableRowActionsFromHeight as _0x2e89a4,buildSetTableBackgroundMutationActions as _0x324cd4,buildSetTableBorderMutationActions as _0x1e9377,buildSetTableCellMarginMutationActions as _0x46a842,buildSetTableCellTextMutationActions as _0x23bff5,buildSetTableDefaultCellMarginMutationActions as _0x510941,buildSetTableHeaderRowCountMutationActions as _0x34d902,buildSortTableMutationActions as _0x3890f6,buildUnmergeCellsMutationActions as _0x26de2,executeRichTextTableActions as _0x36c172,getTableActionBodyPath as _0x1f55cf,getTableRangeById as _0x32dd55}from'@univerjs-pro/docs-table';import{DashStyleType as _0x9432ce,ICommandService as _0x33def4,Inject as _0x5bbd96,Injector as _0x4eaf40,TableRowHeightRule as _0x1cd986,Tools as _0x5916ff,generateRandomId as _0x5b3a90}from'@univerjs/core';import{FEnum as _0x4a16aa}from'@univerjs/core/facade';import{FDocument as _0x3622ec}from'@univerjs/docs/facade';function _0x307e(_0x29a0ce,_0x4dc2e5){_0x29a0ce=_0x29a0ce-0xf3;const _0x326d98=_0x326d();let _0x307ec6=_0x326d98[_0x29a0ce];return _0x307ec6;}var K=class extends _0x4a16aa{get[_0xae94f7(0x130)](){return _0x51fbd8;}get[_0xae94f7(0x146)](){return _0x58bab2;}get['DocsTableSelectionKind'](){return _0x276d9a;}get['DocsTableRowInsertPosition'](){return _0x2b986b;}get['DocsTableColumnInsertPosition'](){return _0x42f2d3;}get['DocsTableBorderPreset'](){return _0x299c38;}get[_0xae94f7(0x197)](){return _0x1e41a7;}get['DashStyleType'](){return _0x9432ce;}};_0x4a16aa[_0xae94f7(0x151)](K);function _0x326d(){const _0x39c995=['columnTypes','getCellInsertOffset','setBorder','getOwnPropertyDescriptor','setStructuralSelection','6074GfCgeP','selectRow','_getTableDocumentData','tableColumns','actions','Right','Above','describe','SOLID','getTables','_commandService','setColumnWidth','Cell','selectColumn','getMetadata','insertRowBefore','_serializeModel','selectRows','getHeaderRowCount','_rowContainsText','setDefaultCellMargin','getCellRange','dataStream','_getTables','trHeight','headerRowCount','DocsTableInsertTablePosition','get','setTableBorder','getRowCount','_mutateActions','getSource','_getDocumentData','_getBodyPath','60YVbtlb','_table','12KMFHfU','deleteRow','filter','getTableAt','insertTable','getDefaultCellMargin','insertColumnsBefore','rows','insertRowsAfter','getMarginOverride','getRowsRange','selectRange','DocsTableColumnType','cells','Column','Range','backgroundColor','titleRow','getRowHeight','syncExecuteCommand','19590qgaytC','_tableContainsText','getStableTableSelection','extend','border','Row','setHeaderRowCount','map','tableCells','selectTable','deleteColumn','defineProperty','selectColumns','insertRowsBefore','284655hQoKZK','insertColumnAfter','setTableBackground','mergeTo','max','getColumnIndex','hasTitleRow','from','getCellContentRange','getCellMarginOverride','deleteRows','createInstance','some','clearMarginOverride','getCellText','getCell','setCellBackground','cellMargin','moveTableBy','size','_column','3738396ITyIbU','distributeRows','iterator','body','documentStyle','setText','_segmentId','insertTableFromData','titleText','preset','default','findTableByText','serialize','8BhSYLQ','47neXxgx','selectCell','setTitleRow','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setCellText','type','pinHeaderRows','setMargin','slice','getTableAtSelection','Below','_injector','margin','getInfo','setBackgroundColor','object','getColumnsRange','color','call','unmerge','includes','mergeCells','getContentRange','getRange','DocsTableSortDirection','_tableId','setCellMargin','segmentId','appendRow','function','moveColumn','getSnapshot','distributeColumns','deepClone','deleteColumns','getCellMargin','getSegmentId','31167pzBJeq','endOffset','3883VAnKCn','getColumnCount','_unitId','appendColumn','moveColumns','startOffset','length','moveTableToOffset','Table','insertTitleRow','text','getId','313831OMRiyH','_document','getDocumentDataModel','tableId','insertColumnsAfter','sortByColumn','getTableRange','headerText','unmergeCells','_createFDocumentTable','symbol','getRowRange','_row','tableRows','getText','Left','AT_LEAST','758130nyZgyL','#1f1f1f','insertRowAfter','decorate','tableSource','replace','setColumnType','getBody','findTables'];_0x326d=function(){return _0x39c995;};return _0x326d();}var q=class{constructor(_0x8c3912,_0x1b0ea6,_0x4773ac){const _0x17ab24=_0xae94f7;this[_0x17ab24(0x139)]=_0x8c3912,this[_0x17ab24(0x103)]=_0x1b0ea6,this[_0x17ab24(0x170)]=_0x4773ac;}['getTable'](){const _0x353e2f=_0xae94f7;return this[_0x353e2f(0x139)];}['getRowIndex'](){const _0x1b58e5=_0xae94f7;return this[_0x1b58e5(0x103)];}[_0xae94f7(0x161)](){const _0x312b50=_0xae94f7;return this[_0x312b50(0x170)];}[_0xae94f7(0x105)](){const _0x52a7d6=_0xae94f7;return this['_table'][_0x52a7d6(0x16a)](this[_0x52a7d6(0x103)],this[_0x52a7d6(0x170)]);}[_0xae94f7(0x195)](){const _0x59735a=_0xae94f7;return this['_table'][_0x59735a(0x164)](this[_0x59735a(0x103)],this[_0x59735a(0x170)]);}['getInsertOffset'](){const _0xf82d82=_0xae94f7;return this['_table']['getCellInsertOffset'](this[_0xf82d82(0x103)],this['_column']);}['getMargin'](){const _0x296d4e=_0xae94f7;return this[_0x296d4e(0x139)][_0x296d4e(0x1a2)](this[_0x296d4e(0x103)],this[_0x296d4e(0x170)]);}[_0xae94f7(0x143)](){const _0x2f2522=_0xae94f7;return this[_0x2f2522(0x139)][_0x2f2522(0x165)](this['_row'],this['_column']);}[_0xae94f7(0x186)](_0x575974){const _0x294bec=_0xae94f7;return this[_0x294bec(0x139)][_0x294bec(0x199)](this[_0x294bec(0x139)][_0x294bec(0x12b)](this[_0x294bec(0x103)],this[_0x294bec(0x170)]),_0x575974);}[_0xae94f7(0x169)](){const _0x9aca60=_0xae94f7;return this[_0x9aca60(0x139)][_0x9aca60(0x199)](this[_0x9aca60(0x139)]['getCellRange'](this[_0x9aca60(0x103)],this[_0x9aca60(0x170)]),null);}[_0xae94f7(0x176)](_0x47d302){const _0x31e0c7=_0xae94f7;return this[_0x31e0c7(0x139)][_0x31e0c7(0x183)](this[_0x31e0c7(0x103)],this[_0x31e0c7(0x170)],_0x47d302);}[_0xae94f7(0x18d)](_0x3deda4){const _0x38b575=_0xae94f7;return this['_table'][_0x38b575(0x16c)](this[_0x38b575(0x139)][_0x38b575(0x12b)](this[_0x38b575(0x103)],this[_0x38b575(0x170)]),_0x3deda4);}[_0xae94f7(0x113)](_0x15b1b9){const _0x5747b6=_0xae94f7;return this[_0x5747b6(0x139)][_0x5747b6(0x113)](this[_0x5747b6(0x139)][_0x5747b6(0x12b)](this[_0x5747b6(0x103)],this['_column']),_0x15b1b9);}[_0xae94f7(0x15f)](_0xe2f765,_0x507cec){const _0x4c2736=_0xae94f7;return this[_0x4c2736(0x139)][_0x4c2736(0x194)]({'startRow':this['_row'],'startColumn':this[_0x4c2736(0x170)],'endRow':this[_0x4c2736(0x103)]+_0xe2f765-0x1,'endColumn':this['_column']+_0x507cec-0x1});}[_0xae94f7(0x192)](){const _0x270349=_0xae94f7;return this[_0x270349(0x139)][_0x270349(0xff)](this[_0x270349(0x139)]['getCellRange'](this[_0x270349(0x103)],this[_0x270349(0x170)]));}};function J(_0x415aaa){'@babel/helpers - typeof';const _0x5214b4=_0xae94f7;return J=typeof Symbol==_0x5214b4(0x19c)&&typeof Symbol[_0x5214b4(0x173)]==_0x5214b4(0x101)?function(_0x40738d){return typeof _0x40738d;}:function(_0x212ed4){const _0x101de1=_0x5214b4;return _0x212ed4&&typeof Symbol==_0x101de1(0x19c)&&_0x212ed4['constructor']===Symbol&&_0x212ed4!==Symbol['prototype']?_0x101de1(0x101):typeof _0x212ed4;},J(_0x415aaa);}function Y(_0x5af068,_0x2a0914){const _0x1a5cd2=_0xae94f7;if(J(_0x5af068)!=_0x1a5cd2(0x18e)||!_0x5af068)return _0x5af068;var _0x2eacd8=_0x5af068[Symbol['toPrimitive']];if(_0x2eacd8!==void 0x0){var _0x235fff=_0x2eacd8[_0x1a5cd2(0x191)](_0x5af068,_0x2a0914||_0x1a5cd2(0x17b));if(J(_0x235fff)!=_0x1a5cd2(0x18e))return _0x235fff;throw TypeError(_0x1a5cd2(0x182));}return(_0x2a0914==='string'?String:Number)(_0x5af068);}function X(_0x33af3f){var _0x2922e4=Y(_0x33af3f,'string');return J(_0x2922e4)=='symbol'?_0x2922e4:_0x2922e4+'';}function Z(_0x59d412,_0x1f67a4,_0x4c796d){const _0x251e18=_0xae94f7;return(_0x1f67a4=X(_0x1f67a4))in _0x59d412?Object[_0x251e18(0x159)](_0x59d412,_0x1f67a4,{'value':_0x4c796d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x59d412[_0x1f67a4]=_0x4c796d,_0x59d412;}function Q(_0x529654,_0x241de4){return function(_0x3ee2e3,_0x48e55d){_0x241de4(_0x3ee2e3,_0x48e55d,_0x529654);};}function te(_0x3bce64,_0x551f58,_0x11189e,_0x485975){const _0xf23bf5=_0xae94f7;var _0x2f7e85=arguments[_0xf23bf5(0x1ac)],_0x2d2870=_0x2f7e85<0x3?_0x551f58:_0x485975===null?_0x485975=Object[_0xf23bf5(0x114)](_0x551f58,_0x11189e):_0x485975,_0x52b8b2;if(typeof Reflect==_0xf23bf5(0x18e)&&typeof Reflect[_0xf23bf5(0x10b)]==_0xf23bf5(0x19c))_0x2d2870=Reflect[_0xf23bf5(0x10b)](_0x3bce64,_0x551f58,_0x11189e,_0x485975);else{for(var _0xc02265=_0x3bce64[_0xf23bf5(0x1ac)]-0x1;_0xc02265>=0x0;_0xc02265--)(_0x52b8b2=_0x3bce64[_0xc02265])&&(_0x2d2870=(_0x2f7e85<0x3?_0x52b8b2(_0x2d2870):_0x2f7e85>0x3?_0x52b8b2(_0x551f58,_0x11189e,_0x2d2870):_0x52b8b2(_0x551f58,_0x11189e))||_0x2d2870);}return _0x2f7e85>0x3&&_0x2d2870&&Object[_0xf23bf5(0x159)](_0x551f58,_0x11189e,_0x2d2870),_0x2d2870;}let $=class{constructor(_0x2c6caa,_0x14ccd4,_0x80fd92,_0x41508b,_0xb7e1d4){const _0x4370c4=_0xae94f7;this[_0x4370c4(0xf8)]=_0x2c6caa,this[_0x4370c4(0x198)]=_0x14ccd4,this[_0x4370c4(0x177)]=_0x80fd92,this['_commandService']=_0x41508b,this['_injector']=_0xb7e1d4,Z(this,_0x4370c4(0x1a8),void 0x0),this[_0x4370c4(0x1a8)]=this[_0x4370c4(0xf8)][_0x4370c4(0xf6)]();}[_0xae94f7(0xf6)](){const _0x56ceef=_0xae94f7;return this[_0x56ceef(0x198)];}[_0xae94f7(0x1a3)](){const _0x5dfa25=_0xae94f7;return this[_0x5dfa25(0x177)];}[_0xae94f7(0x18c)](){const _0x797678=_0xae94f7;return{'id':this[_0x797678(0x198)],'rowCount':this[_0x797678(0x133)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x797678(0x124)](),'source':this['getSource']()};}[_0xae94f7(0x11d)](){const _0x5d1c2c=_0xae94f7;let _0x3698eb=this[_0x5d1c2c(0x124)](),_0x199df6=this[_0x5d1c2c(0x135)](),_0x1e1c70=this[_0x5d1c2c(0x1a7)]();return{'id':this[_0x5d1c2c(0x198)],'rowCount':this[_0x5d1c2c(0x133)](),'columnCount':_0x1e1c70,'headerRowCount':(_0x3698eb==null?void 0x0:_0x3698eb[_0x5d1c2c(0x12f)])??0x0,'titleRow':(_0x3698eb==null?void 0x0:_0x3698eb[_0x5d1c2c(0x14b)])??!0x1,'columns':Array[_0x5d1c2c(0x163)]({'length':_0x1e1c70},(_0x4433fe,_0x340900)=>{const _0x4193ff=_0x5d1c2c;var _0x2f5014,_0x5781b1;return{'index':_0x340900,'type':_0x3698eb==null||(_0x2f5014=_0x3698eb[_0x4193ff(0x111)])==null||(_0x2f5014=_0x2f5014[_0x340900])==null?void 0x0:_0x2f5014[_0x4193ff(0x184)],'width':_0x199df6==null||(_0x5781b1=_0x199df6[_0x4193ff(0x119)][_0x340900])==null?void 0x0:_0x5781b1[_0x4193ff(0x16f)]['width']['v']};}),'sampleRows':Array[_0x5d1c2c(0x163)]({'length':this[_0x5d1c2c(0x133)]()},(_0x1bc930,_0xc33906)=>Array[_0x5d1c2c(0x163)]({'length':_0x1e1c70},(_0x570343,_0x4c2f66)=>this['getCellText'](_0xc33906,_0x4c2f66)))[_0x5d1c2c(0x13c)](_0x33e189=>_0x33e189['some'](_0x25a79b=>_0x25a79b[_0x5d1c2c(0x1ac)]>0x0))['slice'](0x0,0x5)};}[_0xae94f7(0x133)](){const _0x4b6f10=_0xae94f7;var _0x388a5b;return((_0x388a5b=this[_0x4b6f10(0x135)]())==null?void 0x0:_0x388a5b['tableRows']['length'])??0x0;}[_0xae94f7(0x1a7)](){var _0xdf9bbd;return((_0xdf9bbd=this['getSource']())==null?void 0x0:_0xdf9bbd['tableColumns']['length'])??0x0;}[_0xae94f7(0x16b)](_0x4323c2,_0x48cc07){const _0x171b26=_0xae94f7;var _0x5afe56;return(_0x5afe56=this[_0x171b26(0x135)]())!=null&&(_0x5afe56=_0x5afe56[_0x171b26(0x104)][_0x4323c2])!=null&&_0x5afe56[_0x171b26(0x156)][_0x48cc07]?this[_0x171b26(0x18a)][_0x171b26(0x167)](q,this,_0x4323c2,_0x48cc07):null;}[_0xae94f7(0x16a)](_0x41dea2,_0x338c25){const _0x3fbe4d=_0xae94f7;var _0x17139f,_0x5423b7;let _0x3bbc96=(_0x17139f=_0x32dd55(this[_0x3fbe4d(0x136)](),this[_0x3fbe4d(0x198)]))==null||(_0x17139f=_0x17139f[_0x3fbe4d(0x141)][_0x41dea2])==null?void 0x0:_0x17139f[_0x3fbe4d(0x147)][_0x338c25];return _0x3bbc96?((_0x5423b7=this[_0x3fbe4d(0x136)]()['body'])==null?void 0x0:_0x5423b7[_0x3fbe4d(0x12c)][_0x3fbe4d(0x187)](_0x3bbc96['startOffset']+0x1,_0x3bbc96['endOffset'])[_0x3fbe4d(0x10d)](/\r\n$/,''))??'':'';}[_0xae94f7(0x1a2)](_0x1d022a,_0x9ebd89){const _0x5e5d66=_0xae94f7;var _0x4a02a7;let _0x5c373e=this[_0x5e5d66(0x135)](),_0x4356a1=_0x5c373e==null||(_0x4a02a7=_0x5c373e['tableRows'][_0x1d022a])==null?void 0x0:_0x4a02a7[_0x5e5d66(0x156)][_0x9ebd89];return _0x4356a1?_0x5916ff['deepClone'](_0x4356a1[_0x5e5d66(0x18b)]??_0x5c373e[_0x5e5d66(0x16d)]??_0x4f2a03):null;}[_0xae94f7(0x165)](_0x40d62a,_0x138d53){const _0x1ac533=_0xae94f7;var _0x40cec5;let _0x20a354=(_0x40cec5=this[_0x1ac533(0x135)]())==null||(_0x40cec5=_0x40cec5[_0x1ac533(0x104)][_0x40d62a])==null?void 0x0:_0x40cec5['tableCells'][_0x138d53];return _0x20a354!=null&&_0x20a354[_0x1ac533(0x18b)]?_0x5916ff[_0x1ac533(0x1a0)](_0x20a354[_0x1ac533(0x18b)]):null;}[_0xae94f7(0x13f)](){const _0x1df552=_0xae94f7;var _0x56f58e;return _0x5916ff[_0x1df552(0x1a0)](((_0x56f58e=this[_0x1df552(0x135)]())==null?void 0x0:_0x56f58e[_0x1df552(0x16d)])??_0x4f2a03);}['getDefaultCellMarginOverride'](){const _0x3278d2=_0xae94f7;var _0x204191;let _0xd8ad71=(_0x204191=this[_0x3278d2(0x135)]())==null?void 0x0:_0x204191['cellMargin'];return _0xd8ad71?_0x5916ff[_0x3278d2(0x1a0)](_0xd8ad71):null;}['getMetadata'](){const _0x33a88a=_0xae94f7;return this[_0x33a88a(0x18a)]['get'](_0x7fc983)['getTableMetadata'](this['_unitId'],this[_0x33a88a(0x198)]);}[_0xae94f7(0x135)](){const _0x436acc=_0xae94f7;var _0x11adfb;return(_0x11adfb=this[_0x436acc(0x136)]()[_0x436acc(0x10c)])==null?void 0x0:_0x11adfb[this[_0x436acc(0x198)]];}[_0xae94f7(0x196)](){const _0x48fc5c=_0xae94f7;return _0x32dd55(this[_0x48fc5c(0x136)](),this['_tableId']);}[_0xae94f7(0xfd)](){const _0x1d37e6=_0xae94f7;return{'startRow':0x0,'endRow':Math[_0x1d37e6(0x160)](0x0,this[_0x1d37e6(0x133)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x1d37e6(0x160)](0x0,this[_0x1d37e6(0x1a7)]()-0x1)};}[_0xae94f7(0x12b)](_0x1ca61f,_0x46f8d7){return{'startRow':_0x1ca61f,'endRow':_0x1ca61f,'startColumn':_0x46f8d7,'endColumn':_0x46f8d7};}['getCellContentRange'](_0x576aab,_0x2ffd58){const _0x291c90=_0xae94f7;var _0x1b28cf;let _0x1d64e1=(_0x1b28cf=_0x32dd55(this['_getDocumentData'](),this['_tableId']))==null||(_0x1b28cf=_0x1b28cf[_0x291c90(0x141)][_0x576aab])==null?void 0x0:_0x1b28cf[_0x291c90(0x147)][_0x2ffd58];if(!_0x1d64e1)return null;let _0x2827bb=_0x1d64e1[_0x291c90(0x1ab)]+0x1;return{'startOffset':_0x2827bb,'endOffset':Math[_0x291c90(0x160)](_0x2827bb,_0x1d64e1['endOffset']-0x1),'segmentId':this[_0x291c90(0x177)]};}[_0xae94f7(0x112)](_0x5a1638,_0x48b193){const _0x2089e5=_0xae94f7;let _0x43facd=this[_0x2089e5(0x164)](_0x5a1638,_0x48b193);return _0x43facd?Math['max'](_0x43facd[_0x2089e5(0x1ab)],_0x43facd[_0x2089e5(0x1a5)]-0x1):null;}[_0xae94f7(0x102)](_0x510873){const _0x926d28=_0xae94f7;return this[_0x926d28(0x144)](_0x510873,0x1);}['getRowsRange'](_0x4419bc,_0x154ed1=0x1){const _0x547485=_0xae94f7;return{'startRow':_0x4419bc,'endRow':_0x4419bc+_0x154ed1-0x1,'startColumn':0x0,'endColumn':Math[_0x547485(0x160)](0x0,this[_0x547485(0x1a7)]()-0x1)};}['getColumnRange'](_0x1e4825){return this['getColumnsRange'](_0x1e4825,0x1);}[_0xae94f7(0x18f)](_0x514305,_0xf5e99d=0x1){const _0x1697ba=_0xae94f7;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x1697ba(0x133)]()-0x1),'startColumn':_0x514305,'endColumn':_0x514305+_0xf5e99d-0x1};}[_0xae94f7(0x157)](){const _0x55b999=_0xae94f7;return this[_0x55b999(0x145)](this['getTableRange'](),_0x276d9a[_0x55b999(0xf3)]);}[_0xae94f7(0x117)](_0x1e15d9){return this['selectRows'](_0x1e15d9,0x1);}[_0xae94f7(0x127)](_0x384174,_0x1b8102=0x1){const _0x466d75=_0xae94f7;return this[_0x466d75(0x145)](this[_0x466d75(0x144)](_0x384174,_0x1b8102),_0x276d9a[_0x466d75(0x153)]);}[_0xae94f7(0x123)](_0x5543fc){const _0x5d8901=_0xae94f7;return this[_0x5d8901(0x15a)](_0x5543fc,0x1);}[_0xae94f7(0x15a)](_0x47a875,_0x33689d=0x1){const _0x4cf056=_0xae94f7;return this[_0x4cf056(0x145)](this[_0x4cf056(0x18f)](_0x47a875,_0x33689d),_0x276d9a[_0x4cf056(0x148)]);}[_0xae94f7(0x180)](_0xa4932c,_0x2af9cd){const _0x61d1d5=_0xae94f7;return this[_0x61d1d5(0x145)](this[_0x61d1d5(0x12b)](_0xa4932c,_0x2af9cd),_0x276d9a[_0x61d1d5(0x122)]);}[_0xae94f7(0x145)](_0x3ebe18,_0x2db53c=_0x276d9a[_0xae94f7(0x149)]){const _0x30140a=_0xae94f7;return this[_0x30140a(0x18a)][_0x30140a(0x131)](_0x7f813)[_0x30140a(0x115)]({..._0x3ebe18,'kind':_0x2db53c,'segmentId':this[_0x30140a(0x177)],'tableId':this[_0x30140a(0x198)]}),!0x0;}[_0xae94f7(0x125)](_0x2fcc12){const _0x531c6d=_0xae94f7;return this[_0x531c6d(0x15b)](_0x2fcc12,0x1);}[_0xae94f7(0x10a)](_0x441480){const _0xab5ed2=_0xae94f7;return this[_0xab5ed2(0x142)](_0x441480,0x1);}[_0xae94f7(0x15b)](_0x46cd75,_0x545214){const _0x467819=_0xae94f7;let _0xcaceed=this[_0x467819(0x136)](),_0x353e5e=_0x214fab(_0xcaceed,this['_tableId'],_0x46cd75,_0x545214,_0x3be68e['Above'],this[_0x467819(0x137)]());return _0x353e5e?this['_mutateActions'](_0xcaceed,_0x353e5e[_0x467819(0x11a)]):!0x1;}[_0xae94f7(0x142)](_0x59df24,_0x22ddff){const _0x55b5dc=_0xae94f7;let _0x84afc5=this[_0x55b5dc(0x136)](),_0x99c646=_0x214fab(_0x84afc5,this[_0x55b5dc(0x198)],_0x59df24,_0x22ddff,_0x3be68e[_0x55b5dc(0x189)],this[_0x55b5dc(0x137)]());return _0x99c646?this[_0x55b5dc(0x134)](_0x84afc5,_0x99c646[_0x55b5dc(0x11a)]):!0x1;}[_0xae94f7(0x19b)](){const _0x22a1dc=_0xae94f7;return this[_0x22a1dc(0x142)](Math[_0x22a1dc(0x160)](0x0,this[_0x22a1dc(0x133)]()-0x1),0x1);}['insertColumnBefore'](_0xc036c5){return this['insertColumnsBefore'](_0xc036c5,0x1);}[_0xae94f7(0x15d)](_0x385e23){const _0x36a199=_0xae94f7;return this[_0x36a199(0xfb)](_0x385e23,0x1);}[_0xae94f7(0x140)](_0x29114c,_0x163a3d){const _0x4ca854=_0xae94f7;let _0x3c28c5=this[_0x4ca854(0x136)](),_0x19cb3a=_0x4c90bd(_0x3c28c5,this['_tableId'],_0x29114c,_0x163a3d,_0x3be68e[_0x4ca854(0x106)],{'bodyPath':this[_0x4ca854(0x137)]()});return _0x19cb3a?this[_0x4ca854(0x134)](_0x3c28c5,_0x19cb3a[_0x4ca854(0x11a)]):!0x1;}[_0xae94f7(0xfb)](_0xe3dd0a,_0x1d3f09){const _0x535940=_0xae94f7;let _0x56eb17=this['_getDocumentData'](),_0x2a01ea=_0x4c90bd(_0x56eb17,this[_0x535940(0x198)],_0xe3dd0a,_0x1d3f09,_0x3be68e[_0x535940(0x11b)],{'bodyPath':this['_getBodyPath']()});return _0x2a01ea?this[_0x535940(0x134)](_0x56eb17,_0x2a01ea[_0x535940(0x11a)]):!0x1;}[_0xae94f7(0x1a9)](){const _0x4f4a88=_0xae94f7;return this['insertColumnsAfter'](Math[_0x4f4a88(0x160)](0x0,this[_0x4f4a88(0x1a7)]()-0x1),0x1);}[_0xae94f7(0x13b)](_0x18b601){const _0x16c492=_0xae94f7;return this[_0x16c492(0x166)](_0x18b601,0x1);}[_0xae94f7(0x166)](_0x3cd550,_0x1f2bad=0x1){const _0x12f373=_0xae94f7;return!!this['_commandService'][_0x12f373(0x14d)](_0x20d42e['id'],{'endRow':_0x3cd550+_0x1f2bad-0x1,'segmentId':this[_0x12f373(0x177)],'startRow':_0x3cd550,'tableId':this[_0x12f373(0x198)],'unitId':this['_unitId']});}[_0xae94f7(0x158)](_0x3d789d){const _0x9d3663=_0xae94f7;return this[_0x9d3663(0x1a1)](_0x3d789d,0x1);}[_0xae94f7(0x1a1)](_0x3d56f7,_0x1fc1f2=0x1){const _0x2bf095=_0xae94f7;return!!this[_0x2bf095(0x120)][_0x2bf095(0x14d)](_0x17884c['id'],{'endColumn':_0x3d56f7+_0x1fc1f2-0x1,'segmentId':this[_0x2bf095(0x177)],'startColumn':_0x3d56f7,'tableId':this[_0x2bf095(0x198)],'unitId':this['_unitId']});}['deleteTable'](){const _0x29d69f=_0xae94f7;return!!this[_0x29d69f(0x120)]['syncExecuteCommand'](_0x5a3f48['id'],{'segmentId':this['_segmentId'],'tableId':this[_0x29d69f(0x198)],'unitId':this[_0x29d69f(0x1a8)]});}[_0xae94f7(0x16e)](_0x4f4366,_0x50a1fb){const _0x1139e1=_0xae94f7;let _0x1beb96=this[_0x1139e1(0x136)]();return this[_0x1139e1(0x134)](_0x1beb96,_0x2007d0(_0x1beb96,this[_0x1139e1(0x198)],_0x4f4366,_0x50a1fb));}[_0xae94f7(0x1ad)](_0x103c67){const _0x2c682e=_0xae94f7;let _0x642e66=this['_getDocumentData']();return this[_0x2c682e(0x134)](_0x642e66,_0x391007(_0x642e66,this[_0x2c682e(0x198)],_0x103c67,this[_0x2c682e(0x137)]()));}['moveRow'](_0x16ccc7,_0x2ef584,_0x2085b8=_0x3be68e[_0xae94f7(0x11c)]){return this['moveRows'](_0x16ccc7,0x1,_0x2ef584,_0x2085b8);}['moveRows'](_0xed63cf,_0x5c36fc,_0x1f969f,_0x29097e=_0x3be68e[_0xae94f7(0x11c)]){const _0xf1bf92=_0xae94f7;let _0x51981d=this[_0xf1bf92(0x136)](),_0x5d499a=_0x4393b8(_0x51981d,this['_tableId'],_0xed63cf,_0x1f969f,_0x5c36fc,_0x29097e,this[_0xf1bf92(0x137)]());return _0x5d499a?this[_0xf1bf92(0x134)](_0x51981d,_0x5d499a[_0xf1bf92(0x11a)]):!0x1;}[_0xae94f7(0x19d)](_0x372d41,_0x2dec81,_0x2dfb56=_0x3be68e[_0xae94f7(0x106)]){const _0x178faa=_0xae94f7;return this[_0x178faa(0x1aa)](_0x372d41,0x1,_0x2dec81,_0x2dfb56);}[_0xae94f7(0x1aa)](_0x4472fc,_0x55119e,_0x262bdf,_0x35af59=_0x3be68e[_0xae94f7(0x106)]){const _0x29644a=_0xae94f7;let _0x13b4c5=this['_getDocumentData'](),_0x4c4b04=_0x5479d5(_0x13b4c5,this[_0x29644a(0x198)],_0x4472fc,_0x262bdf,_0x55119e,_0x35af59,this['_getBodyPath']());return _0x4c4b04?this[_0x29644a(0x134)](_0x13b4c5,_0x4c4b04[_0x29644a(0x11a)]):!0x1;}[_0xae94f7(0x194)](_0x171c54){const _0x1ef88a=_0xae94f7;try{let _0x4738f8=this['_getDocumentData'](),_0x15aa3c=_0x1fdc4d({'documentData':_0x4738f8,'tableId':this[_0x1ef88a(0x198)],..._0x171c54});return _0x15aa3c?this[_0x1ef88a(0x134)](_0x4738f8,_0x15aa3c[_0x1ef88a(0x11a)],_0x171c54):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x1238ac){const _0x23ad2b=_0xae94f7;try{let _0x4e0a10=this[_0x23ad2b(0x136)](),_0x998c14=_0x26de2({'documentData':_0x4e0a10,'tableId':this[_0x23ad2b(0x198)],..._0x1238ac});return _0x998c14?this[_0x23ad2b(0x134)](_0x4e0a10,_0x998c14['actions'],_0x1238ac):!0x1;}catch{return!0x1;}}[_0xae94f7(0x183)](_0x5eb2b8,_0x4703bf,_0x5c6b86){const _0x450032=_0xae94f7;let _0xe27456=this['_getDocumentData'](),_0x5398f6=_0x1f55cf(this[_0x450032(0xf8)][_0x450032(0xf9)]()[_0x450032(0x19e)](),this[_0x450032(0x177)]);return this['_mutateActions'](_0xe27456,_0x23bff5({'documentData':_0xe27456,'tableId':this[_0x450032(0x198)],'row':_0x5eb2b8,'column':_0x4703bf,'text':_0x5c6b86},_0x5398f6),this['getCellRange'](_0x5eb2b8,_0x4703bf));}['setCellBackground'](_0x1c38de,_0x59134f){const _0x4b4740=_0xae94f7;let _0x4dafd7=this[_0x4b4740(0x136)]();return this[_0x4b4740(0x134)](_0x4dafd7,_0x324cd4(_0x4dafd7,{'tableId':this[_0x4b4740(0x198)],..._0x1c38de,'value':_0x59134f}),_0x1c38de);}[_0xae94f7(0x199)](_0x2987a1,_0x7f267c){const _0x9ff46=_0xae94f7;let _0x598dc8=this[_0x9ff46(0x136)]();return this['_mutateActions'](_0x598dc8,_0x46a842({'documentData':_0x598dc8,'tableId':this['_tableId'],..._0x2987a1,'margin':_0x7f267c}),_0x2987a1);}[_0xae94f7(0x12a)](_0x50d7a7){const _0x10ec18=_0xae94f7;let _0x256bcf=this[_0x10ec18(0x136)]();return this['_mutateActions'](_0x256bcf,_0x510941(_0x256bcf,this[_0x10ec18(0x198)],_0x50d7a7));}['setBorder'](_0x4e04fa,_0x16d248){const _0x23ddc8=_0xae94f7;let _0x2949ef=this[_0x23ddc8(0x136)]();return this[_0x23ddc8(0x134)](_0x2949ef,_0x1e9377({'documentData':_0x2949ef,'tableId':this[_0x23ddc8(0x198)],..._0x4e04fa,'preset':_0x16d248[_0x23ddc8(0x17a)]??_0x299c38['All'],'border':_0x16d248[_0x23ddc8(0x152)]??{'color':{'rgb':_0x16d248[_0x23ddc8(0x190)]??_0x23ddc8(0x109)},'width':{'v':_0x16d248['width']??0x1},'dashStyle':_0x9432ce[_0x23ddc8(0x11e)]}}),_0x4e04fa);}['setTableBackground'](_0x10398b){const _0x5324a3=_0xae94f7;return this[_0x5324a3(0x16c)](this['getTableRange'](),_0x10398b);}['setTableBorder'](_0xa846bb){const _0xed262f=_0xae94f7;return this['setBorder'](this[_0xed262f(0xfd)](),_0xa846bb);}['setTableStyle'](_0x4ce277){const _0x3082e1=_0xae94f7;let _0x5d35ae=!_0x4ce277[_0x3082e1(0x14a)]||this[_0x3082e1(0x15e)](_0x4ce277['backgroundColor']),_0x3b18ef=!_0x4ce277[_0x3082e1(0x152)]||this[_0x3082e1(0x132)](_0x4ce277[_0x3082e1(0x152)]);return _0x5d35ae&&_0x3b18ef;}['setRowHeight'](_0x128d47,_0x41d55f,_0x40b3cd=_0x1cd986[_0xae94f7(0x107)]){const _0x3748ad=_0xae94f7;var _0x37ba06;let _0x4be253=this[_0x3748ad(0x136)]();return(_0x37ba06=_0x4be253[_0x3748ad(0x10c)])!=null&&(_0x37ba06=_0x37ba06[this[_0x3748ad(0x198)]])!=null&&_0x37ba06[_0x3748ad(0x104)][_0x128d47]?this[_0x3748ad(0x134)](_0x4be253,_0x2e89a4(_0x4be253,this[_0x3748ad(0x198)],_0x128d47,_0x41d55f,_0x40b3cd)):!0x1;}[_0xae94f7(0x14c)](_0x2c19ef){const _0x138c2f=_0xae94f7;var _0xca3285;let _0x46d75d=(_0xca3285=this[_0x138c2f(0x135)]())==null||(_0xca3285=_0xca3285[_0x138c2f(0x104)][_0x2c19ef])==null?void 0x0:_0xca3285[_0x138c2f(0x12e)];return _0x46d75d?_0x5916ff['deepClone'](_0x46d75d):null;}[_0xae94f7(0x121)](_0x4cd60e,_0x260599){const _0x5d4d9d=_0xae94f7;var _0xb65fbd;let _0xc8f21c=this[_0x5d4d9d(0x136)]();return(_0xb65fbd=_0xc8f21c[_0x5d4d9d(0x10c)])!=null&&(_0xb65fbd=_0xb65fbd[this[_0x5d4d9d(0x198)]])!=null&&_0xb65fbd[_0x5d4d9d(0x119)][_0x4cd60e]?this[_0x5d4d9d(0x134)](_0xc8f21c,_0x1734d7(_0xc8f21c,this[_0x5d4d9d(0x198)],_0x4cd60e,_0x260599)):!0x1;}[_0xae94f7(0x172)](_0x796871=0x0,_0x32bbad=this[_0xae94f7(0x133)]()){const _0x367a9c=_0xae94f7;let _0x362572=this['_getDocumentData']();return this['_mutateActions'](_0x362572,_0x3fedf2(_0x362572,this[_0x367a9c(0x198)],_0x796871,_0x796871+_0x32bbad-0x1));}[_0xae94f7(0x19f)](_0x84ff7a=0x0,_0xc517ec=this[_0xae94f7(0x1a7)]()){const _0x3eb09b=_0xae94f7;let _0x372338=this[_0x3eb09b(0x136)]();return this[_0x3eb09b(0x134)](_0x372338,_0x50d169(_0x372338,this[_0x3eb09b(0x198)],_0x84ff7a,_0x84ff7a+_0xc517ec-0x1));}[_0xae94f7(0x128)](){const _0x3191cf=_0xae94f7;var _0x3749cf;return((_0x3749cf=this[_0x3191cf(0x124)]())==null?void 0x0:_0x3749cf['headerRowCount'])??0x0;}[_0xae94f7(0x154)](_0x4c5661){const _0x52434e=_0xae94f7;let _0x28608c=this[_0x52434e(0x18a)][_0x52434e(0x131)](_0x7fc983),_0x164ee2=this[_0x52434e(0x136)](),_0x405bf6=_0x34d902(_0x164ee2,this[_0x52434e(0x198)],_0x4c5661);if(!_0x405bf6)return!0x1;let _0x386026=this[_0x52434e(0x134)](_0x164ee2,_0x405bf6[_0x52434e(0x11a)]);return _0x386026&&_0x28608c['setHeaderRowCount'](this[_0x52434e(0x1a8)],this[_0x52434e(0x198)],_0x405bf6['headerRowCount']),_0x386026;}[_0xae94f7(0x185)](_0x1aae3d){const _0xf16783=_0xae94f7;return this[_0xf16783(0x154)](_0x1aae3d);}[_0xae94f7(0x162)](){const _0x2e98b5=_0xae94f7;var _0x424185;return((_0x424185=this[_0x2e98b5(0x124)]())==null?void 0x0:_0x424185['titleRow'])??!0x1;}[_0xae94f7(0xf4)](){const _0x2515cf=_0xae94f7;let _0x303fe7=this[_0x2515cf(0x18a)]['get'](_0x7fc983),_0x208ee7=this['_getDocumentData'](),_0x199cb0=_0xeb76b0(_0x208ee7,this[_0x2515cf(0x198)],this[_0x2515cf(0x137)]());if(!_0x199cb0)return!0x1;let _0x2fdfa0=this['_mutateActions'](_0x208ee7,_0x199cb0[_0x2515cf(0x11a)]);return _0x2fdfa0&&_0x303fe7[_0x2515cf(0x181)](this[_0x2515cf(0x1a8)],this[_0x2515cf(0x198)],!0x0),_0x2fdfa0;}[_0xae94f7(0x10e)](_0xc21a9a,_0x34cff1){const _0x3362f3=_0xae94f7;return this[_0x3362f3(0x18a)][_0x3362f3(0x131)](_0x7fc983)[_0x3362f3(0x10e)](this[_0x3362f3(0x1a8)],this[_0x3362f3(0x198)],_0xc21a9a,_0x34cff1),!0x0;}[_0xae94f7(0xfc)](_0x76d24e,_0x50b558){const _0x17d23a=_0xae94f7;let _0x7264b7=this['_getDocumentData']();return this[_0x17d23a(0x134)](_0x7264b7,_0x3890f6(_0x7264b7,this[_0x17d23a(0x126)](),this[_0x17d23a(0x198)],_0x76d24e,_0x50b558,this['_getBodyPath']()));}[_0xae94f7(0x136)](){const _0xda7bbc=_0xae94f7;let _0x237f41=this[_0xda7bbc(0xf8)][_0xda7bbc(0xf9)]()[_0xda7bbc(0x19e)]();return this[_0xda7bbc(0x177)]?{...this[_0xda7bbc(0xf8)][_0xda7bbc(0xf9)](this[_0xda7bbc(0x177)])[_0xda7bbc(0x19e)](),'documentStyle':_0x237f41[_0xda7bbc(0x175)],'tableSource':_0x237f41['tableSource']}:_0x237f41;}[_0xae94f7(0x126)](){const _0x4425b9=_0xae94f7;return this[_0x4425b9(0x18a)][_0x4425b9(0x131)](_0x7fc983)[_0x4425b9(0x17d)](this[_0x4425b9(0x1a8)]);}[_0xae94f7(0x137)](){const _0x342ca4=_0xae94f7;return _0x1f55cf(this[_0x342ca4(0xf8)][_0x342ca4(0xf9)]()[_0x342ca4(0x19e)](),this[_0x342ca4(0x177)]);}['_mutateActions'](_0x447d63,_0x24a404,_0x4721e0){const _0x532c99=_0xae94f7;return _0x36c172(this[_0x532c99(0x120)],this[_0x532c99(0x1a8)],_0x447d63,_0x24a404,_0x4721e0?{'tableId':this[_0x532c99(0x198)],'segmentId':this[_0x532c99(0x177)],..._0x4721e0}:void 0x0);}};$=te([Q(0x3,_0x33def4),Q(0x4,_0x5bbd96(_0x4eaf40))],$);var ne=class extends _0x3622ec{[_0xae94f7(0x11f)](_0x1e3fbf=''){const _0x47b499=_0xae94f7;return this[_0x47b499(0x12d)](_0x1e3fbf)[_0x47b499(0x155)](_0xcf8a54=>this['_createFDocumentTable'](_0xcf8a54[_0x47b499(0xfa)],_0x1e3fbf));}['getTable'](_0x21eef4,_0x18d02d=''){const _0x239ed4=_0xae94f7;return this['_getTables'](_0x18d02d)[_0x239ed4(0x168)](_0x906d9d=>_0x906d9d[_0x239ed4(0xfa)]===_0x21eef4)?this[_0x239ed4(0x100)](_0x21eef4,_0x18d02d):null;}[_0xae94f7(0x13d)](_0xa3b412,_0x2fcaf7=''){const _0x4c0b4d=_0xae94f7;var _0x1a6eb3;let _0x5de2d5=(_0x1a6eb3=this[_0x4c0b4d(0x12d)](_0x2fcaf7)[_0xa3b412])==null?void 0x0:_0x1a6eb3[_0x4c0b4d(0xfa)];return _0x5de2d5?this[_0x4c0b4d(0x100)](_0x5de2d5,_0x2fcaf7):null;}[_0xae94f7(0x188)](){const _0x297353=_0xae94f7;let _0x34a7fe=this[_0x297353(0x18a)][_0x297353(0x131)](_0x7f813)[_0x297353(0x150)]();return _0x34a7fe!=null&&_0x34a7fe['tableId']?this[_0x297353(0x100)](_0x34a7fe[_0x297353(0xfa)],_0x34a7fe[_0x297353(0x19a)]):null;}[_0xae94f7(0x17c)](_0x2d4258,_0x3d90ee=''){const _0x2fd275=_0xae94f7;return this[_0x2fd275(0x110)](_0x2d4258,_0x3d90ee)[0x0]??null;}['findTables'](_0x16a763,_0x295a7d=''){const _0xc8fdf6=_0xae94f7;let _0x1defae=this[_0xc8fdf6(0x118)](_0x295a7d),_0x40d601=typeof _0x16a763=='string'?{'text':_0x16a763}:_0x16a763;return this[_0xc8fdf6(0x11f)](_0x295a7d)[_0xc8fdf6(0x13c)](_0x445104=>{const _0x1b9b07=_0xc8fdf6;let _0x534d85=_0x445104['getId']();return!(_0x40d601[_0x1b9b07(0xfa)]&&_0x534d85!==_0x40d601['tableId']||_0x40d601[_0x1b9b07(0xf5)]&&!this[_0x1b9b07(0x14f)](_0x1defae,_0x534d85,_0x40d601[_0x1b9b07(0xf5)])||_0x40d601[_0x1b9b07(0xfe)]&&!this[_0x1b9b07(0x129)](_0x445104,0x0,_0x40d601[_0x1b9b07(0xfe)])||_0x40d601[_0x1b9b07(0x179)]&&!this[_0x1b9b07(0x129)](_0x445104,0x0,_0x40d601[_0x1b9b07(0x179)]));});}[_0xae94f7(0x13e)](_0x3fd73,_0x4d1df2,_0x51aa94={}){const _0x32cfd2=_0xae94f7;let _0x1f4b8f=this[_0x32cfd2(0x18a)][_0x32cfd2(0x131)](_0x33def4),_0x51d4fe=_0x51aa94[_0x32cfd2(0xfa)]??_0x5b3a90(0x6);return _0x1f4b8f['syncExecuteCommand'](_0x56a665['id'],{..._0x51aa94,'unitId':this['getId'](),'rows':_0x3fd73,'columns':_0x4d1df2,'tableId':_0x51d4fe})?this[_0x32cfd2(0x100)](_0x51d4fe,_0x51aa94[_0x32cfd2(0x19a)]??''):null;}[_0xae94f7(0x178)](_0x2a116a,_0x28f702={}){const _0x200679=_0xae94f7;let _0x3c3c0f=this[_0x200679(0x18a)][_0x200679(0x131)](_0x33def4),_0x293f6c=_0x28f702['tableId']??_0x5b3a90(0x6);return _0x3c3c0f['syncExecuteCommand'](_0x56a665['id'],{..._0x28f702,'unitId':this[_0x200679(0xf6)](),'values':_0x2a116a,'tableId':_0x293f6c})?this[_0x200679(0x100)](_0x293f6c,_0x28f702['segmentId']??''):null;}['_getTables'](_0x19fb92=''){const _0x25c9be=_0xae94f7;let {tables:_0x6c9b42=[]}=this[_0x25c9be(0x10f)](_0x19fb92);return _0x6c9b42;}[_0xae94f7(0x118)](_0x12e165=''){const _0x9eae7b=_0xae94f7;let _0x5d1a2b=this[_0x9eae7b(0xf9)]()[_0x9eae7b(0x19e)]();return _0x12e165?{...this['getDocumentDataModel'](_0x12e165)[_0x9eae7b(0x19e)](),'documentStyle':_0x5d1a2b['documentStyle'],'tableSource':_0x5d1a2b['tableSource']}:_0x5d1a2b;}[_0xae94f7(0x100)](_0x1da6e6,_0x22d7a7=''){const _0x996af7=_0xae94f7;return this['_injector'][_0x996af7(0x167)]($,this,_0x1da6e6,_0x22d7a7);}[_0xae94f7(0x14f)](_0x287b0b,_0x194ca3,_0x45f24b){const _0x10a239=_0xae94f7;var _0x29d5e4;let _0x139b00=_0x32dd55(_0x287b0b,_0x194ca3);if(!_0x139b00)return!0x1;let _0x3a1c1f=(_0x29d5e4=_0x287b0b[_0x10a239(0x174)])==null?void 0x0:_0x29d5e4[_0x10a239(0x12c)];return _0x3a1c1f?_0x3a1c1f[_0x10a239(0x187)](_0x139b00[_0x10a239(0x1ab)],_0x139b00[_0x10a239(0x1a5)])[_0x10a239(0x193)](_0x45f24b):!0x1;}[_0xae94f7(0x129)](_0x4a38dc,_0x3081ef,_0x198d4d){const _0xfc8bcb=_0xae94f7;return Array['from']({'length':_0x4a38dc['getColumnCount']()},(_0x3b8213,_0x25f29c)=>_0x4a38dc[_0xfc8bcb(0x16a)](_0x3081ef,_0x25f29c))[_0xfc8bcb(0x168)](_0x5a49cd=>_0x5a49cd[_0xfc8bcb(0x193)](_0x198d4d));}};_0x3622ec[_0xae94f7(0x151)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|