@univerjs-pro/docs-table 1.0.4 → 1.1.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/resize-column.command.d.ts +2 -0
- package/lib/types/commands/utils.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2964ad=_0x59e3;(function(_0x176b83,_0x37693b){const _0x1c5233=_0x59e3,_0x590dd9=_0x176b83();while(!![]){try{const _0x28e0ae=-parseInt(_0x1c5233(0x22b))/0x1+parseInt(_0x1c5233(0x1dd))/0x2+parseInt(_0x1c5233(0x1cb))/0x3*(-parseInt(_0x1c5233(0x1e7))/0x4)+-parseInt(_0x1c5233(0x1d7))/0x5*(parseInt(_0x1c5233(0x1e5))/0x6)+parseInt(_0x1c5233(0x20f))/0x7+parseInt(_0x1c5233(0x1bb))/0x8*(-parseInt(_0x1c5233(0x212))/0x9)+-parseInt(_0x1c5233(0x1cf))/0xa*(-parseInt(_0x1c5233(0x1e0))/0xb);if(_0x28e0ae===_0x37693b)break;else _0x590dd9['push'](_0x590dd9['shift']());}catch(_0x333685){_0x590dd9['push'](_0x590dd9['shift']());}}}(_0x38c5,0x22b4e));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x5a8874,DocsTableBorderPreset as _0x59e935,DocsTableColumnInsertPosition as _0x589bd3,DocsTableColumnType as _0x356fdd,DocsTableDeleteColumnsCommand as _0x364737,DocsTableDeleteRowsCommand as _0x528c3f,DocsTableDeleteTableCommand as _0x4f2b2b,DocsTableInsertPosition as _0x572225,DocsTableInsertTableCommand as _0x2c9106,DocsTableInsertTablePosition as _0x41922a,DocsTableModel as _0x13f143,DocsTableRowInsertPosition as _0x24424d,DocsTableSelectionKind as _0x36be01,DocsTableSelectionService as _0x8deb5f,DocsTableSortDirection as _0x4c957f,buildDistributeTableColumnsMutationActions as _0x3e5889,buildDistributeTableRowsMutationActions as _0x4a19f1,buildInsertTableColumnsMutationActions as _0x5e7d26,buildInsertTableRowsMutationActions as _0x24ef5c,buildInsertTableTitleRowMutationActions as _0x194e49,buildMergeCellsMutationActions as _0x184782,buildMoveFloatingTableMutationActions as _0x58e916,buildMoveTableColumnsMutationActions as _0x1e58f2,buildMoveTableRowsMutationActions as _0x38a0a8,buildMoveTableToOffsetMutationActions as _0x2455da,buildResizeTableColumnActionsFromWidth as _0x2eb7ad,buildResizeTableRowActionsFromHeight as _0x4ac450,buildSetTableBackgroundMutationActions as _0x165ebe,buildSetTableBorderMutationActions as _0x4b2d2c,buildSetTableCellMarginMutationActions as _0x13ede9,buildSetTableCellTextMutationActions as _0x40e296,buildSetTableDefaultCellMarginMutationActions as _0x2a48b4,buildSetTableHeaderRowCountMutationActions as _0x5a2374,buildSortTableMutationActions as _0x1279e9,buildUnmergeCellsMutationActions as _0x273e0e,executeRichTextTableActions as _0x24e9b6,getTableActionBodyPath as _0x5782ef,getTableRangeById as _0x2d82ba}from'@univerjs-pro/docs-table';import{DashStyleType as _0x4bca8c,ICommandService as _0x15d908,Inject as _0x279e1d,Injector as _0x2b9a50,TableRowHeightRule as _0x2c1e70,Tools as _0x29e6a5,generateRandomId as _0x14e7c5}from'@univerjs/core';import{FEnum as _0x5b889d}from'@univerjs/core/facade';import{FDocument as _0x22f2c3}from'@univerjs/docs/facade';var K=class extends _0x5b889d{get[_0x2964ad(0x244)](){return _0x41922a;}get['DocsTableColumnType'](){return _0x356fdd;}get['DocsTableSelectionKind'](){return _0x36be01;}get['DocsTableRowInsertPosition'](){return _0x24424d;}get[_0x2964ad(0x1ba)](){return _0x589bd3;}get[_0x2964ad(0x204)](){return _0x59e935;}get[_0x2964ad(0x1d5)](){return _0x4c957f;}get[_0x2964ad(0x1ab)](){return _0x4bca8c;}};function _0x38c5(){const _0x22b617=['getSegmentId','setCellBackground','#1f1f1f','deleteRows','endOffset','some','setCellText','prototype','insertTableFromData','DocsTableColumnInsertPosition','871016hejyHE','_rowContainsText','setText','getDefaultCellMargin','cells','Above','toPrimitive','_tableId','documentStyle','_getTables','setHeaderRowCount','getText','size','insertRowsAfter','headerRowCount','getInsertOffset','40791gGJkaR','getTableMetadata','constructor','_createFDocumentTable','4406590CSgDhA','type','getBody','deleteColumns','findTables','setStructuralSelection','DocsTableSortDirection','slice','600tIwfvM','_mutateActions','extend','findTableByText','tableSource','moveRow','249806BBBajZ','appendColumn','deepClone','11ZeYuSM','iterator','margin','max','createInstance','11598lhGIfi','_getTableDocumentData','20vEVbts','SOLID','setTableStyle','tableId','_segmentId','_column','insertColumnsAfter','titleRow','default','cellMargin','mergeCells','getTableAtSelection','replace','setBorder','width','tableRows','insertRowBefore','call','setRowHeight','backgroundColor','symbol','deleteColumn','syncExecuteCommand','getCellMarginOverride','moveRows','getInfo','headerText','AT_LEAST','getCellMargin','DocsTableBorderPreset','getColumnsRange','trHeight','Below','getId','titleText','getColumnRange','selectRange','includes','segmentId','getMarginOverride','1926078rESXWh','getColumnCount','border','18hgNuIh','insertRowsBefore','_serializeModel','preset','_table','distributeRows','Right','function','getTableRange','setColumnType','sortByColumn','setCellMargin','getTables','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getCellText','tableColumns','selectColumns','getRange','getCellContentRange','_injector','getDefaultCellMarginOverride','_getDocumentData','_tableContainsText','selectRow','setTitleRow','180859HGJDhF','Left','_unitId','insertColumnsBefore','getRowCount','selectTable','_getBodyPath','string','length','getHeaderRowCount','getSnapshot','getTable','getColumnIndex','mergeTo','getMetadata','tableCells','getCellInsertOffset','Range','_document','hasTitleRow','getDocumentDataModel','body','insertColumnBefore','clearMarginOverride','moveTableBy','DocsTableInsertTablePosition','setDefaultCellMargin','_commandService','moveColumns','startOffset','decorate','object','map','selectCell','from','getSource','getRowsRange','insertColumnAfter','_row','defineProperty','unmerge','setColumnWidth','get','insertTitleRow','getOwnPropertyDescriptor','actions','getCellRange','unmergeCells','Row','DashStyleType','setTableBorder','dataStream','setTableBackground','Column','filter'];_0x38c5=function(){return _0x22b617;};return _0x38c5();}_0x5b889d[_0x2964ad(0x1d9)](K);function _0x59e3(_0x5eec72,_0x2e0063){_0x5eec72=_0x5eec72-0x1a0;const _0x38c56c=_0x38c5();let _0x59e371=_0x38c56c[_0x5eec72];return _0x59e371;}var q=class{constructor(_0x35fdda,_0x18318b,_0x578c9d){const _0x1ad8a3=_0x2964ad;this[_0x1ad8a3(0x216)]=_0x35fdda,this[_0x1ad8a3(0x1a0)]=_0x18318b,this[_0x1ad8a3(0x1ec)]=_0x578c9d;}[_0x2964ad(0x236)](){const _0x1b88ad=_0x2964ad;return this[_0x1b88ad(0x216)];}['getRowIndex'](){const _0x25b4e1=_0x2964ad;return this[_0x25b4e1(0x1a0)];}[_0x2964ad(0x237)](){return this['_column'];}[_0x2964ad(0x1c6)](){const _0x6e60b7=_0x2964ad;return this[_0x6e60b7(0x216)]['getCellText'](this['_row'],this[_0x6e60b7(0x1ec)]);}['getContentRange'](){const _0xa2c663=_0x2964ad;return this['_table'][_0xa2c663(0x224)](this[_0xa2c663(0x1a0)],this[_0xa2c663(0x1ec)]);}[_0x2964ad(0x1ca)](){const _0x3ce600=_0x2964ad;return this[_0x3ce600(0x216)][_0x3ce600(0x23b)](this[_0x3ce600(0x1a0)],this[_0x3ce600(0x1ec)]);}['getMargin'](){const _0x117668=_0x2964ad;return this['_table'][_0x117668(0x203)](this[_0x117668(0x1a0)],this[_0x117668(0x1ec)]);}[_0x2964ad(0x20e)](){const _0x23606c=_0x2964ad;return this[_0x23606c(0x216)][_0x23606c(0x1fe)](this[_0x23606c(0x1a0)],this[_0x23606c(0x1ec)]);}['setMargin'](_0x77916c){const _0x4e4104=_0x2964ad;return this[_0x4e4104(0x216)]['setCellMargin'](this[_0x4e4104(0x216)]['getCellRange'](this[_0x4e4104(0x1a0)],this[_0x4e4104(0x1ec)]),_0x77916c);}[_0x2964ad(0x242)](){const _0x4d42fb=_0x2964ad;return this[_0x4d42fb(0x216)]['setCellMargin'](this[_0x4d42fb(0x216)][_0x4d42fb(0x1a8)](this[_0x4d42fb(0x1a0)],this[_0x4d42fb(0x1ec)]),null);}[_0x2964ad(0x1bd)](_0x50212b){const _0x49a62a=_0x2964ad;return this[_0x49a62a(0x216)]['setCellText'](this[_0x49a62a(0x1a0)],this['_column'],_0x50212b);}['setBackgroundColor'](_0x2e2626){const _0x49d2b5=_0x2964ad;return this[_0x49d2b5(0x216)]['setCellBackground'](this[_0x49d2b5(0x216)][_0x49d2b5(0x1a8)](this[_0x49d2b5(0x1a0)],this['_column']),_0x2e2626);}[_0x2964ad(0x1f4)](_0x1a3495){const _0x1428e0=_0x2964ad;return this['_table'][_0x1428e0(0x1f4)](this[_0x1428e0(0x216)][_0x1428e0(0x1a8)](this[_0x1428e0(0x1a0)],this[_0x1428e0(0x1ec)]),_0x1a3495);}[_0x2964ad(0x238)](_0x574a6c,_0x40564e){const _0x496236=_0x2964ad;return this[_0x496236(0x216)]['mergeCells']({'startRow':this['_row'],'startColumn':this[_0x496236(0x1ec)],'endRow':this['_row']+_0x574a6c-0x1,'endColumn':this[_0x496236(0x1ec)]+_0x40564e-0x1});}[_0x2964ad(0x1a2)](){const _0x298db8=_0x2964ad;return this[_0x298db8(0x216)][_0x298db8(0x1a9)](this[_0x298db8(0x216)]['getCellRange'](this[_0x298db8(0x1a0)],this['_column']));}};function J(_0x58c481){'@babel/helpers - typeof';const _0x46b0b1=_0x2964ad;return J=typeof Symbol==_0x46b0b1(0x219)&&typeof Symbol[_0x46b0b1(0x1e1)]==_0x46b0b1(0x1fb)?function(_0x3c3d45){return typeof _0x3c3d45;}:function(_0x368bd4){const _0xf77b37=_0x46b0b1;return _0x368bd4&&typeof Symbol==_0xf77b37(0x219)&&_0x368bd4[_0xf77b37(0x1cd)]===Symbol&&_0x368bd4!==Symbol[_0xf77b37(0x1b8)]?_0xf77b37(0x1fb):typeof _0x368bd4;},J(_0x58c481);}function Y(_0x5730bb,_0x4dd081){const _0x30c887=_0x2964ad;if(J(_0x5730bb)!='object'||!_0x5730bb)return _0x5730bb;var _0xd95322=_0x5730bb[Symbol[_0x30c887(0x1c1)]];if(_0xd95322!==void 0x0){var _0x2429b3=_0xd95322[_0x30c887(0x1f8)](_0x5730bb,_0x4dd081||_0x30c887(0x1ef));if(J(_0x2429b3)!=_0x30c887(0x24a))return _0x2429b3;throw TypeError(_0x30c887(0x21f));}return(_0x4dd081===_0x30c887(0x232)?String:Number)(_0x5730bb);}function X(_0x11b245){var _0x5a9858=Y(_0x11b245,'string');return J(_0x5a9858)=='symbol'?_0x5a9858:_0x5a9858+'';}function Z(_0x48e74c,_0xb31134,_0x11d073){const _0x5f3468=_0x2964ad;return(_0xb31134=X(_0xb31134))in _0x48e74c?Object[_0x5f3468(0x1a1)](_0x48e74c,_0xb31134,{'value':_0x11d073,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x48e74c[_0xb31134]=_0x11d073,_0x48e74c;}function Q(_0x9ed685,_0x3a50ec){return function(_0x1f1f29,_0x243cac){_0x3a50ec(_0x1f1f29,_0x243cac,_0x9ed685);};}function te(_0x4114d8,_0x1c81e5,_0x308e09,_0x3c1a72){const _0x359570=_0x2964ad;var _0x10b710=arguments['length'],_0x50ebac=_0x10b710<0x3?_0x1c81e5:_0x3c1a72===null?_0x3c1a72=Object[_0x359570(0x1a6)](_0x1c81e5,_0x308e09):_0x3c1a72,_0x1427b3;if(typeof Reflect==_0x359570(0x24a)&&typeof Reflect[_0x359570(0x249)]==_0x359570(0x219))_0x50ebac=Reflect['decorate'](_0x4114d8,_0x1c81e5,_0x308e09,_0x3c1a72);else{for(var _0x3660cf=_0x4114d8[_0x359570(0x233)]-0x1;_0x3660cf>=0x0;_0x3660cf--)(_0x1427b3=_0x4114d8[_0x3660cf])&&(_0x50ebac=(_0x10b710<0x3?_0x1427b3(_0x50ebac):_0x10b710>0x3?_0x1427b3(_0x1c81e5,_0x308e09,_0x50ebac):_0x1427b3(_0x1c81e5,_0x308e09))||_0x50ebac);}return _0x10b710>0x3&&_0x50ebac&&Object[_0x359570(0x1a1)](_0x1c81e5,_0x308e09,_0x50ebac),_0x50ebac;}let $=class{constructor(_0xab2f75,_0x5e7028,_0xd0725c,_0x23c259,_0x5a9e29){const _0x63dee9=_0x2964ad;this[_0x63dee9(0x23d)]=_0xab2f75,this[_0x63dee9(0x1c2)]=_0x5e7028,this['_segmentId']=_0xd0725c,this['_commandService']=_0x23c259,this['_injector']=_0x5a9e29,Z(this,_0x63dee9(0x22d),void 0x0),this[_0x63dee9(0x22d)]=this['_document']['getId']();}[_0x2964ad(0x208)](){return this['_tableId'];}[_0x2964ad(0x1b1)](){return this['_segmentId'];}[_0x2964ad(0x200)](){const _0x2dbed7=_0x2964ad;return{'id':this[_0x2dbed7(0x1c2)],'rowCount':this[_0x2dbed7(0x22f)](),'columnCount':this[_0x2dbed7(0x210)](),'metadata':this[_0x2dbed7(0x239)](),'source':this[_0x2dbed7(0x24e)]()};}['describe'](){const _0x5d92a8=_0x2964ad;let _0x1e0fba=this[_0x5d92a8(0x239)](),_0xc76b6c=this[_0x5d92a8(0x24e)](),_0x39d76f=this[_0x5d92a8(0x210)]();return{'id':this[_0x5d92a8(0x1c2)],'rowCount':this[_0x5d92a8(0x22f)](),'columnCount':_0x39d76f,'headerRowCount':(_0x1e0fba==null?void 0x0:_0x1e0fba['headerRowCount'])??0x0,'titleRow':(_0x1e0fba==null?void 0x0:_0x1e0fba[_0x5d92a8(0x1ee)])??!0x1,'columns':Array[_0x5d92a8(0x24d)]({'length':_0x39d76f},(_0x2e7a71,_0x367f34)=>{const _0x48df6f=_0x5d92a8;var _0x38ede5,_0x24c5a0;return{'index':_0x367f34,'type':_0x1e0fba==null||(_0x38ede5=_0x1e0fba['columnTypes'])==null||(_0x38ede5=_0x38ede5[_0x367f34])==null?void 0x0:_0x38ede5[_0x48df6f(0x1d0)],'width':_0xc76b6c==null||(_0x24c5a0=_0xc76b6c['tableColumns'][_0x367f34])==null?void 0x0:_0x24c5a0[_0x48df6f(0x1c7)]['width']['v']};}),'sampleRows':Array[_0x5d92a8(0x24d)]({'length':this[_0x5d92a8(0x22f)]()},(_0x2de48c,_0x497e64)=>Array['from']({'length':_0x39d76f},(_0x334103,_0x4fe63a)=>this[_0x5d92a8(0x220)](_0x497e64,_0x4fe63a)))[_0x5d92a8(0x1b0)](_0x5617f6=>_0x5617f6[_0x5d92a8(0x1b6)](_0x4b1a2b=>_0x4b1a2b[_0x5d92a8(0x233)]>0x0))[_0x5d92a8(0x1d6)](0x0,0x5)};}['getRowCount'](){const _0x4a46b7=_0x2964ad;var _0x230648;return((_0x230648=this[_0x4a46b7(0x24e)]())==null?void 0x0:_0x230648[_0x4a46b7(0x1f6)][_0x4a46b7(0x233)])??0x0;}[_0x2964ad(0x210)](){const _0x20e859=_0x2964ad;var _0x176667;return((_0x176667=this[_0x20e859(0x24e)]())==null?void 0x0:_0x176667[_0x20e859(0x221)][_0x20e859(0x233)])??0x0;}['getCell'](_0x1be988,_0x59ff28){const _0x160d20=_0x2964ad;var _0x1682d6;return(_0x1682d6=this[_0x160d20(0x24e)]())!=null&&(_0x1682d6=_0x1682d6['tableRows'][_0x1be988])!=null&&_0x1682d6[_0x160d20(0x23a)][_0x59ff28]?this['_injector']['createInstance'](q,this,_0x1be988,_0x59ff28):null;}[_0x2964ad(0x220)](_0x2a7e95,_0x141c2c){const _0x1e6450=_0x2964ad;var _0x231710,_0x462fae;let _0x26bbac=(_0x231710=_0x2d82ba(this[_0x1e6450(0x227)](),this[_0x1e6450(0x1c2)]))==null||(_0x231710=_0x231710['rows'][_0x2a7e95])==null?void 0x0:_0x231710[_0x1e6450(0x1bf)][_0x141c2c];return _0x26bbac?((_0x462fae=this[_0x1e6450(0x227)]()[_0x1e6450(0x240)])==null?void 0x0:_0x462fae[_0x1e6450(0x1ad)][_0x1e6450(0x1d6)](_0x26bbac[_0x1e6450(0x248)]+0x1,_0x26bbac['endOffset'])[_0x1e6450(0x1f3)](/\r\n$/,''))??'':'';}['getCellMargin'](_0x11f360,_0x105134){const _0x1d96b4=_0x2964ad;var _0x34298a;let _0x31f7c8=this[_0x1d96b4(0x24e)](),_0x198959=_0x31f7c8==null||(_0x34298a=_0x31f7c8['tableRows'][_0x11f360])==null?void 0x0:_0x34298a[_0x1d96b4(0x23a)][_0x105134];return _0x198959?_0x29e6a5[_0x1d96b4(0x1df)](_0x198959['margin']??_0x31f7c8[_0x1d96b4(0x1f0)]??_0x5a8874):null;}[_0x2964ad(0x1fe)](_0x19efcc,_0x533b5f){const _0xb0fad=_0x2964ad;var _0x49e1ab;let _0x56a5a5=(_0x49e1ab=this[_0xb0fad(0x24e)]())==null||(_0x49e1ab=_0x49e1ab[_0xb0fad(0x1f6)][_0x19efcc])==null?void 0x0:_0x49e1ab[_0xb0fad(0x23a)][_0x533b5f];return _0x56a5a5!=null&&_0x56a5a5[_0xb0fad(0x1e2)]?_0x29e6a5[_0xb0fad(0x1df)](_0x56a5a5[_0xb0fad(0x1e2)]):null;}[_0x2964ad(0x1be)](){const _0x213766=_0x2964ad;var _0x997973;return _0x29e6a5[_0x213766(0x1df)](((_0x997973=this[_0x213766(0x24e)]())==null?void 0x0:_0x997973[_0x213766(0x1f0)])??_0x5a8874);}[_0x2964ad(0x226)](){const _0x48f381=_0x2964ad;var _0x13b3d6;let _0x31a3d7=(_0x13b3d6=this[_0x48f381(0x24e)]())==null?void 0x0:_0x13b3d6[_0x48f381(0x1f0)];return _0x31a3d7?_0x29e6a5[_0x48f381(0x1df)](_0x31a3d7):null;}[_0x2964ad(0x239)](){const _0xcafafd=_0x2964ad;return this[_0xcafafd(0x225)][_0xcafafd(0x1a4)](_0x13f143)[_0xcafafd(0x1cc)](this[_0xcafafd(0x22d)],this['_tableId']);}[_0x2964ad(0x24e)](){const _0x4c81e6=_0x2964ad;var _0x10b981;return(_0x10b981=this[_0x4c81e6(0x227)]()[_0x4c81e6(0x1db)])==null?void 0x0:_0x10b981[this[_0x4c81e6(0x1c2)]];}[_0x2964ad(0x223)](){const _0x3cd70d=_0x2964ad;return _0x2d82ba(this['_getDocumentData'](),this[_0x3cd70d(0x1c2)]);}['getTableRange'](){const _0x11d687=_0x2964ad;return{'startRow':0x0,'endRow':Math[_0x11d687(0x1e3)](0x0,this[_0x11d687(0x22f)]()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this['getColumnCount']()-0x1)};}['getCellRange'](_0x24c30e,_0x4a611f){return{'startRow':_0x24c30e,'endRow':_0x24c30e,'startColumn':_0x4a611f,'endColumn':_0x4a611f};}[_0x2964ad(0x224)](_0x2ad23c,_0x173274){const _0x463046=_0x2964ad;var _0x47101e;let _0x3d9426=(_0x47101e=_0x2d82ba(this[_0x463046(0x227)](),this[_0x463046(0x1c2)]))==null||(_0x47101e=_0x47101e['rows'][_0x2ad23c])==null?void 0x0:_0x47101e[_0x463046(0x1bf)][_0x173274];if(!_0x3d9426)return null;let _0x36be05=_0x3d9426[_0x463046(0x248)]+0x1;return{'startOffset':_0x36be05,'endOffset':Math['max'](_0x36be05,_0x3d9426[_0x463046(0x1b5)]-0x1),'segmentId':this['_segmentId']};}['getCellInsertOffset'](_0x51930f,_0x5cfcfd){const _0x2c166a=_0x2964ad;let _0x142b8e=this[_0x2c166a(0x224)](_0x51930f,_0x5cfcfd);return _0x142b8e?Math[_0x2c166a(0x1e3)](_0x142b8e[_0x2c166a(0x248)],_0x142b8e[_0x2c166a(0x1b5)]-0x1):null;}['getRowRange'](_0x194334){const _0x2e949e=_0x2964ad;return this[_0x2e949e(0x24f)](_0x194334,0x1);}[_0x2964ad(0x24f)](_0x193c5a,_0x3b4473=0x1){const _0x49a817=_0x2964ad;return{'startRow':_0x193c5a,'endRow':_0x193c5a+_0x3b4473-0x1,'startColumn':0x0,'endColumn':Math[_0x49a817(0x1e3)](0x0,this['getColumnCount']()-0x1)};}[_0x2964ad(0x20a)](_0x45f38a){const _0x397287=_0x2964ad;return this[_0x397287(0x205)](_0x45f38a,0x1);}[_0x2964ad(0x205)](_0x248ec7,_0xf18be5=0x1){const _0x548478=_0x2964ad;return{'startRow':0x0,'endRow':Math[_0x548478(0x1e3)](0x0,this[_0x548478(0x22f)]()-0x1),'startColumn':_0x248ec7,'endColumn':_0x248ec7+_0xf18be5-0x1};}[_0x2964ad(0x230)](){return this['selectRange'](this['getTableRange'](),_0x36be01['Table']);}[_0x2964ad(0x229)](_0x24f21d){return this['selectRows'](_0x24f21d,0x1);}['selectRows'](_0x53dd4e,_0x951de0=0x1){const _0x3074c9=_0x2964ad;return this[_0x3074c9(0x20b)](this[_0x3074c9(0x24f)](_0x53dd4e,_0x951de0),_0x36be01[_0x3074c9(0x1aa)]);}['selectColumn'](_0x314494){const _0x532507=_0x2964ad;return this[_0x532507(0x222)](_0x314494,0x1);}[_0x2964ad(0x222)](_0x438ced,_0x1e92e=0x1){const _0x296145=_0x2964ad;return this[_0x296145(0x20b)](this[_0x296145(0x205)](_0x438ced,_0x1e92e),_0x36be01[_0x296145(0x1af)]);}[_0x2964ad(0x24c)](_0xcb66bd,_0x4f400c){const _0x5b544a=_0x2964ad;return this[_0x5b544a(0x20b)](this[_0x5b544a(0x1a8)](_0xcb66bd,_0x4f400c),_0x36be01['Cell']);}[_0x2964ad(0x20b)](_0x1b7494,_0x50df74=_0x36be01[_0x2964ad(0x23c)]){const _0x116edc=_0x2964ad;return this['_injector']['get'](_0x8deb5f)[_0x116edc(0x1d4)]({..._0x1b7494,'kind':_0x50df74,'segmentId':this[_0x116edc(0x1eb)],'tableId':this['_tableId']}),!0x0;}[_0x2964ad(0x1f7)](_0x213ee0){const _0xa6e8f6=_0x2964ad;return this[_0xa6e8f6(0x213)](_0x213ee0,0x1);}['insertRowAfter'](_0x19b9fe){const _0x5a4a44=_0x2964ad;return this[_0x5a4a44(0x1c8)](_0x19b9fe,0x1);}[_0x2964ad(0x213)](_0x3ce68d,_0x4b3792){const _0x1ea12e=_0x2964ad;let _0x5d3491=this['_getDocumentData'](),_0x5b1706=_0x24ef5c(_0x5d3491,this[_0x1ea12e(0x1c2)],_0x3ce68d,_0x4b3792,_0x572225['Above'],this[_0x1ea12e(0x231)]());return _0x5b1706?this[_0x1ea12e(0x1d8)](_0x5d3491,_0x5b1706['actions']):!0x1;}[_0x2964ad(0x1c8)](_0x216b5e,_0x48781b){const _0x28b149=_0x2964ad;let _0x480cf8=this[_0x28b149(0x227)](),_0x3a115c=_0x24ef5c(_0x480cf8,this[_0x28b149(0x1c2)],_0x216b5e,_0x48781b,_0x572225[_0x28b149(0x207)],this[_0x28b149(0x231)]());return _0x3a115c?this[_0x28b149(0x1d8)](_0x480cf8,_0x3a115c['actions']):!0x1;}['appendRow'](){const _0x5d9ab0=_0x2964ad;return this[_0x5d9ab0(0x1c8)](Math[_0x5d9ab0(0x1e3)](0x0,this[_0x5d9ab0(0x22f)]()-0x1),0x1);}[_0x2964ad(0x241)](_0x40a5a4){const _0x5f0f3c=_0x2964ad;return this[_0x5f0f3c(0x22e)](_0x40a5a4,0x1);}[_0x2964ad(0x250)](_0x427dcd){const _0x5917be=_0x2964ad;return this[_0x5917be(0x1ed)](_0x427dcd,0x1);}[_0x2964ad(0x22e)](_0x570991,_0x2d4257){const _0x16fe67=_0x2964ad;let _0x2dbeff=this[_0x16fe67(0x227)](),_0x520904=_0x5e7d26(_0x2dbeff,this[_0x16fe67(0x1c2)],_0x570991,_0x2d4257,_0x572225[_0x16fe67(0x22c)],{'bodyPath':this[_0x16fe67(0x231)]()});return _0x520904?this[_0x16fe67(0x1d8)](_0x2dbeff,_0x520904[_0x16fe67(0x1a7)]):!0x1;}['insertColumnsAfter'](_0x963fde,_0x37d368){const _0x4f648a=_0x2964ad;let _0x1927e3=this[_0x4f648a(0x227)](),_0x4df525=_0x5e7d26(_0x1927e3,this[_0x4f648a(0x1c2)],_0x963fde,_0x37d368,_0x572225[_0x4f648a(0x218)],{'bodyPath':this[_0x4f648a(0x231)]()});return _0x4df525?this['_mutateActions'](_0x1927e3,_0x4df525['actions']):!0x1;}[_0x2964ad(0x1de)](){const _0x36a44b=_0x2964ad;return this['insertColumnsAfter'](Math[_0x36a44b(0x1e3)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x428780){const _0x467361=_0x2964ad;return this[_0x467361(0x1b4)](_0x428780,0x1);}[_0x2964ad(0x1b4)](_0x4d2dad,_0x455e90=0x1){const _0x5c620e=_0x2964ad;return!!this['_commandService'][_0x5c620e(0x1fd)](_0x528c3f['id'],{'endRow':_0x4d2dad+_0x455e90-0x1,'segmentId':this[_0x5c620e(0x1eb)],'startRow':_0x4d2dad,'tableId':this[_0x5c620e(0x1c2)],'unitId':this[_0x5c620e(0x22d)]});}[_0x2964ad(0x1fc)](_0x3d8e2d){const _0x198a1a=_0x2964ad;return this[_0x198a1a(0x1d2)](_0x3d8e2d,0x1);}[_0x2964ad(0x1d2)](_0x544180,_0x5af466=0x1){const _0x2ce99a=_0x2964ad;return!!this[_0x2ce99a(0x246)][_0x2ce99a(0x1fd)](_0x364737['id'],{'endColumn':_0x544180+_0x5af466-0x1,'segmentId':this['_segmentId'],'startColumn':_0x544180,'tableId':this[_0x2ce99a(0x1c2)],'unitId':this[_0x2ce99a(0x22d)]});}['deleteTable'](){const _0x54962e=_0x2964ad;return!!this['_commandService'][_0x54962e(0x1fd)](_0x4f2b2b['id'],{'segmentId':this[_0x54962e(0x1eb)],'tableId':this['_tableId'],'unitId':this[_0x54962e(0x22d)]});}[_0x2964ad(0x243)](_0x11e4ec,_0x46a368){const _0x4dd841=_0x2964ad;let _0x251368=this['_getDocumentData']();return this[_0x4dd841(0x1d8)](_0x251368,_0x58e916(_0x251368,this[_0x4dd841(0x1c2)],_0x11e4ec,_0x46a368));}['moveTableToOffset'](_0x2170a0){const _0x4f83c5=_0x2964ad;let _0x429dcd=this[_0x4f83c5(0x227)]();return this[_0x4f83c5(0x1d8)](_0x429dcd,_0x2455da(_0x429dcd,this[_0x4f83c5(0x1c2)],_0x2170a0,this[_0x4f83c5(0x231)]()));}[_0x2964ad(0x1dc)](_0x37c418,_0x40ce78,_0x4d76ec=_0x572225[_0x2964ad(0x1c0)]){const _0x4666bd=_0x2964ad;return this[_0x4666bd(0x1ff)](_0x37c418,0x1,_0x40ce78,_0x4d76ec);}[_0x2964ad(0x1ff)](_0x2f9d35,_0x1104ea,_0x247f4b,_0x5d5a87=_0x572225[_0x2964ad(0x1c0)]){const _0x13d5dd=_0x2964ad;let _0x33d318=this[_0x13d5dd(0x227)](),_0x566870=_0x38a0a8(_0x33d318,this[_0x13d5dd(0x1c2)],_0x2f9d35,_0x247f4b,_0x1104ea,_0x5d5a87,this[_0x13d5dd(0x231)]());return _0x566870?this[_0x13d5dd(0x1d8)](_0x33d318,_0x566870['actions']):!0x1;}['moveColumn'](_0x19386e,_0x141f93,_0x2bbdd6=_0x572225[_0x2964ad(0x22c)]){const _0xc76064=_0x2964ad;return this[_0xc76064(0x247)](_0x19386e,0x1,_0x141f93,_0x2bbdd6);}['moveColumns'](_0x32125b,_0x9b7881,_0x446f28,_0x2ae1ef=_0x572225[_0x2964ad(0x22c)]){const _0x3bbb23=_0x2964ad;let _0x24adac=this[_0x3bbb23(0x227)](),_0x3453a0=_0x1e58f2(_0x24adac,this[_0x3bbb23(0x1c2)],_0x32125b,_0x446f28,_0x9b7881,_0x2ae1ef,this[_0x3bbb23(0x231)]());return _0x3453a0?this['_mutateActions'](_0x24adac,_0x3453a0[_0x3bbb23(0x1a7)]):!0x1;}[_0x2964ad(0x1f1)](_0x355eb8){const _0x6109f7=_0x2964ad;try{let _0x42e807=this['_getDocumentData'](),_0xeee2=_0x184782({'documentData':_0x42e807,'tableId':this[_0x6109f7(0x1c2)],..._0x355eb8});return _0xeee2?this[_0x6109f7(0x1d8)](_0x42e807,_0xeee2['actions'],_0x355eb8):!0x1;}catch{return!0x1;}}[_0x2964ad(0x1a9)](_0x4b8559){const _0x5df13c=_0x2964ad;try{let _0x46facb=this['_getDocumentData'](),_0x5bc35c=_0x273e0e({'documentData':_0x46facb,'tableId':this[_0x5df13c(0x1c2)],..._0x4b8559});return _0x5bc35c?this[_0x5df13c(0x1d8)](_0x46facb,_0x5bc35c[_0x5df13c(0x1a7)],_0x4b8559):!0x1;}catch{return!0x1;}}[_0x2964ad(0x1b7)](_0x452bea,_0x427c27,_0x32dca8){const _0x29c30e=_0x2964ad;let _0x45d4e8=this[_0x29c30e(0x227)](),_0x2a6743=_0x5782ef(this['_document'][_0x29c30e(0x23f)]()[_0x29c30e(0x235)](),this[_0x29c30e(0x1eb)]);return this[_0x29c30e(0x1d8)](_0x45d4e8,_0x40e296({'documentData':_0x45d4e8,'tableId':this[_0x29c30e(0x1c2)],'row':_0x452bea,'column':_0x427c27,'text':_0x32dca8},_0x2a6743),this[_0x29c30e(0x1a8)](_0x452bea,_0x427c27));}[_0x2964ad(0x1b2)](_0x217148,_0x21d418){const _0x367ce2=_0x2964ad;let _0x461dbe=this[_0x367ce2(0x227)]();return this['_mutateActions'](_0x461dbe,_0x165ebe(_0x461dbe,{'tableId':this[_0x367ce2(0x1c2)],..._0x217148,'value':_0x21d418}),_0x217148);}[_0x2964ad(0x21d)](_0x40cc4c,_0x23ae79){const _0x24fdd4=_0x2964ad;let _0x2370a8=this[_0x24fdd4(0x227)]();return this['_mutateActions'](_0x2370a8,_0x13ede9({'documentData':_0x2370a8,'tableId':this['_tableId'],..._0x40cc4c,'margin':_0x23ae79}),_0x40cc4c);}[_0x2964ad(0x245)](_0x39e787){const _0x91d540=_0x2964ad;let _0x3cd4e6=this[_0x91d540(0x227)]();return this[_0x91d540(0x1d8)](_0x3cd4e6,_0x2a48b4(_0x3cd4e6,this[_0x91d540(0x1c2)],_0x39e787));}['setBorder'](_0x42bb4c,_0x5a1061){const _0x2856f1=_0x2964ad;let _0x3d6788=this[_0x2856f1(0x227)]();return this[_0x2856f1(0x1d8)](_0x3d6788,_0x4b2d2c({'documentData':_0x3d6788,'tableId':this[_0x2856f1(0x1c2)],..._0x42bb4c,'preset':_0x5a1061[_0x2856f1(0x215)]??_0x59e935['All'],'border':_0x5a1061['border']??{'color':{'rgb':_0x5a1061['color']??_0x2856f1(0x1b3)},'width':{'v':_0x5a1061[_0x2856f1(0x1f5)]??0x1},'dashStyle':_0x4bca8c[_0x2856f1(0x1e8)]}}),_0x42bb4c);}[_0x2964ad(0x1ae)](_0x125877){const _0x3df5b8=_0x2964ad;return this[_0x3df5b8(0x1b2)](this[_0x3df5b8(0x21a)](),_0x125877);}[_0x2964ad(0x1ac)](_0x46a6e5){return this['setBorder'](this['getTableRange'](),_0x46a6e5);}[_0x2964ad(0x1e9)](_0x2b2d32){const _0x34035a=_0x2964ad;let _0x139ec9=!_0x2b2d32['backgroundColor']||this[_0x34035a(0x1ae)](_0x2b2d32[_0x34035a(0x1fa)]),_0x4c02aa=!_0x2b2d32[_0x34035a(0x211)]||this[_0x34035a(0x1ac)](_0x2b2d32[_0x34035a(0x211)]);return _0x139ec9&&_0x4c02aa;}[_0x2964ad(0x1f9)](_0x4a67c1,_0x53feff,_0x2e2e11=_0x2c1e70[_0x2964ad(0x202)]){const _0x3e276a=_0x2964ad;var _0x2286bb;let _0x5c2e07=this[_0x3e276a(0x227)]();return(_0x2286bb=_0x5c2e07[_0x3e276a(0x1db)])!=null&&(_0x2286bb=_0x2286bb[this[_0x3e276a(0x1c2)]])!=null&&_0x2286bb['tableRows'][_0x4a67c1]?this[_0x3e276a(0x1d8)](_0x5c2e07,_0x4ac450(_0x5c2e07,this['_tableId'],_0x4a67c1,_0x53feff,_0x2e2e11)):!0x1;}['getRowHeight'](_0x5ce3e6){const _0x4a426b=_0x2964ad;var _0x492574;let _0x20cc91=(_0x492574=this[_0x4a426b(0x24e)]())==null||(_0x492574=_0x492574[_0x4a426b(0x1f6)][_0x5ce3e6])==null?void 0x0:_0x492574[_0x4a426b(0x206)];return _0x20cc91?_0x29e6a5['deepClone'](_0x20cc91):null;}[_0x2964ad(0x1a3)](_0x42bbdd,_0x381279){const _0x440eb1=_0x2964ad;var _0x34d001;let _0x164030=this[_0x440eb1(0x227)]();return(_0x34d001=_0x164030[_0x440eb1(0x1db)])!=null&&(_0x34d001=_0x34d001[this['_tableId']])!=null&&_0x34d001[_0x440eb1(0x221)][_0x42bbdd]?this[_0x440eb1(0x1d8)](_0x164030,_0x2eb7ad(_0x164030,this['_tableId'],_0x42bbdd,_0x381279)):!0x1;}[_0x2964ad(0x217)](_0x61dfe7=0x0,_0x1fa15c=this[_0x2964ad(0x22f)]()){const _0x34a949=_0x2964ad;let _0x1d1380=this['_getDocumentData']();return this[_0x34a949(0x1d8)](_0x1d1380,_0x4a19f1(_0x1d1380,this[_0x34a949(0x1c2)],_0x61dfe7,_0x61dfe7+_0x1fa15c-0x1));}['distributeColumns'](_0x46b9f8=0x0,_0x4d194d=this[_0x2964ad(0x210)]()){const _0x37be01=_0x2964ad;let _0x17eb7a=this[_0x37be01(0x227)]();return this[_0x37be01(0x1d8)](_0x17eb7a,_0x3e5889(_0x17eb7a,this[_0x37be01(0x1c2)],_0x46b9f8,_0x46b9f8+_0x4d194d-0x1));}[_0x2964ad(0x234)](){const _0x43b5b9=_0x2964ad;var _0x5bc915;return((_0x5bc915=this[_0x43b5b9(0x239)]())==null?void 0x0:_0x5bc915['headerRowCount'])??0x0;}['setHeaderRowCount'](_0x21ce6d){const _0x2b96cb=_0x2964ad;let _0x2e4769=this['_injector'][_0x2b96cb(0x1a4)](_0x13f143),_0x505109=this[_0x2b96cb(0x227)](),_0x567531=_0x5a2374(_0x505109,this[_0x2b96cb(0x1c2)],_0x21ce6d);if(!_0x567531)return!0x1;let _0x160125=this[_0x2b96cb(0x1d8)](_0x505109,_0x567531[_0x2b96cb(0x1a7)]);return _0x160125&&_0x2e4769[_0x2b96cb(0x1c5)](this[_0x2b96cb(0x22d)],this[_0x2b96cb(0x1c2)],_0x567531[_0x2b96cb(0x1c9)]),_0x160125;}['pinHeaderRows'](_0x333ae3){const _0x32c904=_0x2964ad;return this[_0x32c904(0x1c5)](_0x333ae3);}[_0x2964ad(0x23e)](){const _0x1ce9a7=_0x2964ad;var _0x255a71;return((_0x255a71=this[_0x1ce9a7(0x239)]())==null?void 0x0:_0x255a71[_0x1ce9a7(0x1ee)])??!0x1;}[_0x2964ad(0x1a5)](){const _0x2be43d=_0x2964ad;let _0x42c2a1=this[_0x2be43d(0x225)][_0x2be43d(0x1a4)](_0x13f143),_0x1ee743=this[_0x2be43d(0x227)](),_0x52f76e=_0x194e49(_0x1ee743,this[_0x2be43d(0x1c2)],this[_0x2be43d(0x231)]());if(!_0x52f76e)return!0x1;let _0x2dd217=this[_0x2be43d(0x1d8)](_0x1ee743,_0x52f76e[_0x2be43d(0x1a7)]);return _0x2dd217&&_0x42c2a1[_0x2be43d(0x22a)](this[_0x2be43d(0x22d)],this[_0x2be43d(0x1c2)],!0x0),_0x2dd217;}[_0x2964ad(0x21b)](_0x11f55a,_0x14b8f6){const _0x4701f3=_0x2964ad;return this[_0x4701f3(0x225)][_0x4701f3(0x1a4)](_0x13f143)['setColumnType'](this[_0x4701f3(0x22d)],this['_tableId'],_0x11f55a,_0x14b8f6),!0x0;}[_0x2964ad(0x21c)](_0x47f4d5,_0x2c458d){const _0x4232ab=_0x2964ad;let _0x5e19f7=this['_getDocumentData']();return this['_mutateActions'](_0x5e19f7,_0x1279e9(_0x5e19f7,this[_0x4232ab(0x214)](),this[_0x4232ab(0x1c2)],_0x47f4d5,_0x2c458d,this['_getBodyPath']()));}[_0x2964ad(0x227)](){const _0x9afb8d=_0x2964ad;let _0x20ba5b=this[_0x9afb8d(0x23d)][_0x9afb8d(0x23f)]()[_0x9afb8d(0x235)]();return this[_0x9afb8d(0x1eb)]?{...this[_0x9afb8d(0x23d)][_0x9afb8d(0x23f)](this['_segmentId'])[_0x9afb8d(0x235)](),'documentStyle':_0x20ba5b[_0x9afb8d(0x1c3)],'tableSource':_0x20ba5b[_0x9afb8d(0x1db)]}:_0x20ba5b;}[_0x2964ad(0x214)](){const _0x234393=_0x2964ad;return this[_0x234393(0x225)][_0x234393(0x1a4)](_0x13f143)['serialize'](this[_0x234393(0x22d)]);}['_getBodyPath'](){const _0x14ed01=_0x2964ad;return _0x5782ef(this[_0x14ed01(0x23d)][_0x14ed01(0x23f)]()['getSnapshot'](),this['_segmentId']);}['_mutateActions'](_0xd4c139,_0x3113dd,_0x4ea5b1){const _0x11404c=_0x2964ad;return _0x24e9b6(this[_0x11404c(0x246)],this['_unitId'],_0xd4c139,_0x3113dd,_0x4ea5b1?{'tableId':this[_0x11404c(0x1c2)],'segmentId':this[_0x11404c(0x1eb)],..._0x4ea5b1}:void 0x0);}};$=te([Q(0x3,_0x15d908),Q(0x4,_0x279e1d(_0x2b9a50))],$);var ne=class extends _0x22f2c3{[_0x2964ad(0x21e)](_0xebf593=''){const _0x34582c=_0x2964ad;return this[_0x34582c(0x1c4)](_0xebf593)[_0x34582c(0x24b)](_0xd3409f=>this['_createFDocumentTable'](_0xd3409f['tableId'],_0xebf593));}[_0x2964ad(0x236)](_0x217c9b,_0x2483ea=''){const _0x384721=_0x2964ad;return this[_0x384721(0x1c4)](_0x2483ea)[_0x384721(0x1b6)](_0x427e21=>_0x427e21['tableId']===_0x217c9b)?this[_0x384721(0x1ce)](_0x217c9b,_0x2483ea):null;}['getTableAt'](_0x3dc977,_0x2b81d9=''){const _0x2db693=_0x2964ad;var _0x1d5b94;let _0x4e61f9=(_0x1d5b94=this[_0x2db693(0x1c4)](_0x2b81d9)[_0x3dc977])==null?void 0x0:_0x1d5b94[_0x2db693(0x1ea)];return _0x4e61f9?this['_createFDocumentTable'](_0x4e61f9,_0x2b81d9):null;}[_0x2964ad(0x1f2)](){const _0x5736ec=_0x2964ad;let _0x511730=this[_0x5736ec(0x225)][_0x5736ec(0x1a4)](_0x8deb5f)['getStableTableSelection']();return _0x511730!=null&&_0x511730[_0x5736ec(0x1ea)]?this[_0x5736ec(0x1ce)](_0x511730[_0x5736ec(0x1ea)],_0x511730[_0x5736ec(0x20d)]):null;}[_0x2964ad(0x1da)](_0x453bb3,_0x59e5c2=''){const _0x245881=_0x2964ad;return this[_0x245881(0x1d3)](_0x453bb3,_0x59e5c2)[0x0]??null;}['findTables'](_0x59313f,_0x1fd66e=''){const _0x17b8c3=_0x2964ad;let _0x3f3207=this[_0x17b8c3(0x1e6)](_0x1fd66e),_0x26f384=typeof _0x59313f=='string'?{'text':_0x59313f}:_0x59313f;return this[_0x17b8c3(0x21e)](_0x1fd66e)[_0x17b8c3(0x1b0)](_0x693524=>{const _0x5678fc=_0x17b8c3;let _0x4bb3c2=_0x693524[_0x5678fc(0x208)]();return!(_0x26f384[_0x5678fc(0x1ea)]&&_0x4bb3c2!==_0x26f384[_0x5678fc(0x1ea)]||_0x26f384['text']&&!this[_0x5678fc(0x228)](_0x3f3207,_0x4bb3c2,_0x26f384['text'])||_0x26f384[_0x5678fc(0x201)]&&!this[_0x5678fc(0x1bc)](_0x693524,0x0,_0x26f384['headerText'])||_0x26f384[_0x5678fc(0x209)]&&!this[_0x5678fc(0x1bc)](_0x693524,0x0,_0x26f384[_0x5678fc(0x209)]));});}['insertTable'](_0x3b4ee0,_0x2d315c,_0x46766e={}){const _0x5ed365=_0x2964ad;let _0x56060d=this[_0x5ed365(0x225)][_0x5ed365(0x1a4)](_0x15d908),_0x209658=_0x46766e[_0x5ed365(0x1ea)]??_0x14e7c5(0x6);return _0x56060d[_0x5ed365(0x1fd)](_0x2c9106['id'],{..._0x46766e,'unitId':this[_0x5ed365(0x208)](),'rows':_0x3b4ee0,'columns':_0x2d315c,'tableId':_0x209658})?this[_0x5ed365(0x1ce)](_0x209658,_0x46766e[_0x5ed365(0x20d)]??''):null;}[_0x2964ad(0x1b9)](_0x324cb4,_0x54be98={}){const _0x32ad5f=_0x2964ad;let _0x702081=this[_0x32ad5f(0x225)][_0x32ad5f(0x1a4)](_0x15d908),_0x1af789=_0x54be98[_0x32ad5f(0x1ea)]??_0x14e7c5(0x6);return _0x702081[_0x32ad5f(0x1fd)](_0x2c9106['id'],{..._0x54be98,'unitId':this[_0x32ad5f(0x208)](),'values':_0x324cb4,'tableId':_0x1af789})?this[_0x32ad5f(0x1ce)](_0x1af789,_0x54be98['segmentId']??''):null;}[_0x2964ad(0x1c4)](_0x2348c1=''){const _0x23b461=_0x2964ad;let {tables:_0x39986e=[]}=this[_0x23b461(0x1d1)](_0x2348c1);return _0x39986e;}[_0x2964ad(0x1e6)](_0x4d0e15=''){const _0x4af379=_0x2964ad;let _0x59da15=this[_0x4af379(0x23f)]()[_0x4af379(0x235)]();return _0x4d0e15?{...this['getDocumentDataModel'](_0x4d0e15)[_0x4af379(0x235)](),'documentStyle':_0x59da15[_0x4af379(0x1c3)],'tableSource':_0x59da15[_0x4af379(0x1db)]}:_0x59da15;}[_0x2964ad(0x1ce)](_0x1d6d5b,_0x2eff1e=''){const _0x26f9f3=_0x2964ad;return this[_0x26f9f3(0x225)][_0x26f9f3(0x1e4)]($,this,_0x1d6d5b,_0x2eff1e);}[_0x2964ad(0x228)](_0x19f246,_0x33e08e,_0x55c95d){const _0x3577a0=_0x2964ad;var _0x572e5e;let _0x36443e=_0x2d82ba(_0x19f246,_0x33e08e);if(!_0x36443e)return!0x1;let _0x359d1a=(_0x572e5e=_0x19f246['body'])==null?void 0x0:_0x572e5e[_0x3577a0(0x1ad)];return _0x359d1a?_0x359d1a[_0x3577a0(0x1d6)](_0x36443e[_0x3577a0(0x248)],_0x36443e[_0x3577a0(0x1b5)])[_0x3577a0(0x20c)](_0x55c95d):!0x1;}[_0x2964ad(0x1bc)](_0x35e037,_0xa85b3b,_0x254884){const _0x1b1216=_0x2964ad;return Array['from']({'length':_0x35e037[_0x1b1216(0x210)]()},(_0x2f646c,_0x275ff7)=>_0x35e037[_0x1b1216(0x220)](_0xa85b3b,_0x275ff7))[_0x1b1216(0x1b6)](_0x447eb=>_0x447eb[_0x1b1216(0x20c)](_0x254884));}};_0x22f2c3[_0x2964ad(0x1d9)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|
|
1
|
+
const _0xcee175=_0x56d6;(function(_0x487b1f,_0x4b26ce){const _0x2fd4cf=_0x56d6,_0x28530f=_0x487b1f();while(!![]){try{const _0x577c47=-parseInt(_0x2fd4cf(0x121))/0x1+parseInt(_0x2fd4cf(0x18d))/0x2+-parseInt(_0x2fd4cf(0x163))/0x3+parseInt(_0x2fd4cf(0x17a))/0x4+-parseInt(_0x2fd4cf(0x1a6))/0x5*(-parseInt(_0x2fd4cf(0x1c1))/0x6)+-parseInt(_0x2fd4cf(0x16e))/0x7*(parseInt(_0x2fd4cf(0x12f))/0x8)+-parseInt(_0x2fd4cf(0x191))/0x9*(-parseInt(_0x2fd4cf(0x11a))/0xa);if(_0x577c47===_0x4b26ce)break;else _0x28530f['push'](_0x28530f['shift']());}catch(_0x5963da){_0x28530f['push'](_0x28530f['shift']());}}}(_0x1a2a,0xeecee));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x21745d,DocsTableBorderPreset as _0xf76c6a,DocsTableColumnInsertPosition as _0x59e0f0,DocsTableColumnType as _0x828d38,DocsTableDeleteColumnsCommand as _0x135ce2,DocsTableDeleteRowsCommand as _0x463552,DocsTableDeleteTableCommand as _0x229429,DocsTableInsertPosition as _0x50a60f,DocsTableInsertTableCommand as _0x2f63fe,DocsTableInsertTablePosition as _0xed90d4,DocsTableModel as _0x3c570c,DocsTableRowInsertPosition as _0x429a89,DocsTableSelectionKind as _0x5a36fd,DocsTableSelectionService as _0x52774c,DocsTableSortDirection as _0x2399e3,buildDistributeTableColumnsMutationActions as _0x54b594,buildDistributeTableRowsMutationActions as _0x5e0604,buildInsertTableColumnsMutationActions as _0x42f91b,buildInsertTableRowsMutationActions as _0x1ba735,buildInsertTableTitleRowMutationActions as _0x5909d2,buildMergeCellsMutationActions as _0x3aec2e,buildMoveFloatingTableMutationActions as _0x4e09e1,buildMoveTableColumnsMutationActions as _0x2792a3,buildMoveTableRowsMutationActions as _0x4341e1,buildMoveTableToOffsetMutationActions as _0x22c831,buildResizeTableColumnActionsFromWidth as _0x1922ab,buildResizeTableRowActionsFromHeight as _0x3a3c68,buildSetTableBackgroundMutationActions as _0x47f64e,buildSetTableBorderMutationActions as _0x71f82c,buildSetTableCellMarginMutationActions as _0x2652fa,buildSetTableCellTextMutationActions as _0x2655ab,buildSetTableDefaultCellMarginMutationActions as _0xfdd2fe,buildSetTableHeaderRowCountMutationActions as _0x1e4c1,buildSortTableMutationActions as _0x26bb83,buildUnmergeCellsMutationActions as _0x393d14,executeRichTextTableActions as _0x279883,getTableActionBodyPath as _0x3b5491,getTableRangeById as _0x4ba6c9}from'@univerjs-pro/docs-table';import{DashStyleType as _0x235af0,ICommandService as _0x227b4c,Inject as _0x7b97ec,Injector as _0x5e029d,TableRowHeightRule as _0x3ebc1c,Tools as _0x307248,generateRandomId as _0x563431}from'@univerjs/core';import{FEnum as _0x551883}from'@univerjs/core/facade';import{FDocument as _0x1ebdb5}from'@univerjs/docs/facade';var K=class extends _0x551883{get['DocsTableInsertTablePosition'](){return _0xed90d4;}get['DocsTableColumnType'](){return _0x828d38;}get[_0xcee175(0x172)](){return _0x5a36fd;}get[_0xcee175(0x137)](){return _0x429a89;}get['DocsTableColumnInsertPosition'](){return _0x59e0f0;}get['DocsTableBorderPreset'](){return _0xf76c6a;}get[_0xcee175(0x15e)](){return _0x2399e3;}get[_0xcee175(0x178)](){return _0x235af0;}};_0x551883['extend'](K);var q=class{constructor(_0x5b25e8,_0x6534f4,_0x9d2006){const _0x1ee556=_0xcee175;this[_0x1ee556(0x18a)]=_0x5b25e8,this['_row']=_0x6534f4,this['_column']=_0x9d2006;}[_0xcee175(0x156)](){return this['_table'];}[_0xcee175(0x196)](){const _0xa6a88=_0xcee175;return this[_0xa6a88(0x18f)];}[_0xcee175(0x184)](){const _0x22ea1e=_0xcee175;return this[_0x22ea1e(0x11b)];}[_0xcee175(0x151)](){const _0x14d5e3=_0xcee175;return this[_0x14d5e3(0x18a)][_0x14d5e3(0x1be)](this['_row'],this[_0x14d5e3(0x11b)]);}[_0xcee175(0x19a)](){const _0x2211b3=_0xcee175;return this[_0x2211b3(0x18a)][_0x2211b3(0x1b5)](this[_0x2211b3(0x18f)],this[_0x2211b3(0x11b)]);}[_0xcee175(0x194)](){const _0x461a3a=_0xcee175;return this[_0x461a3a(0x18a)][_0x461a3a(0x174)](this['_row'],this[_0x461a3a(0x11b)]);}['getMargin'](){const _0x2f8b78=_0xcee175;return this[_0x2f8b78(0x18a)][_0x2f8b78(0x124)](this[_0x2f8b78(0x18f)],this[_0x2f8b78(0x11b)]);}[_0xcee175(0x122)](){const _0x58da08=_0xcee175;return this[_0x58da08(0x18a)]['getCellMarginOverride'](this[_0x58da08(0x18f)],this[_0x58da08(0x11b)]);}['setMargin'](_0x416c53){const _0x39f495=_0xcee175;return this[_0x39f495(0x18a)]['setCellMargin'](this[_0x39f495(0x18a)][_0x39f495(0x1b7)](this[_0x39f495(0x18f)],this[_0x39f495(0x11b)]),_0x416c53);}[_0xcee175(0x19e)](){const _0x199169=_0xcee175;return this['_table'][_0x199169(0x13d)](this[_0x199169(0x18a)][_0x199169(0x1b7)](this[_0x199169(0x18f)],this['_column']),null);}[_0xcee175(0x1c9)](_0x24a1cf){const _0x4f9b24=_0xcee175;return this[_0x4f9b24(0x18a)][_0x4f9b24(0x1ca)](this[_0x4f9b24(0x18f)],this[_0x4f9b24(0x11b)],_0x24a1cf);}[_0xcee175(0x176)](_0xa850c2){const _0x48748c=_0xcee175;return this[_0x48748c(0x18a)]['setCellBackground'](this[_0x48748c(0x18a)][_0x48748c(0x1b7)](this[_0x48748c(0x18f)],this[_0x48748c(0x11b)]),_0xa850c2);}[_0xcee175(0x11e)](_0x2be8ac){const _0x5a0e4e=_0xcee175;return this[_0x5a0e4e(0x18a)]['setBorder'](this[_0x5a0e4e(0x18a)][_0x5a0e4e(0x1b7)](this[_0x5a0e4e(0x18f)],this[_0x5a0e4e(0x11b)]),_0x2be8ac);}['mergeTo'](_0x48492e,_0x20a956){const _0x5336ab=_0xcee175;return this[_0x5336ab(0x18a)][_0x5336ab(0x1c5)]({'startRow':this[_0x5336ab(0x18f)],'startColumn':this['_column'],'endRow':this[_0x5336ab(0x18f)]+_0x48492e-0x1,'endColumn':this[_0x5336ab(0x11b)]+_0x20a956-0x1});}[_0xcee175(0x14b)](){const _0x35f8cf=_0xcee175;return this['_table'][_0x35f8cf(0x155)](this['_table'][_0x35f8cf(0x1b7)](this['_row'],this[_0x35f8cf(0x11b)]));}};function J(_0x2c5b77){'@babel/helpers - typeof';const _0x40c28f=_0xcee175;return J=typeof Symbol==_0x40c28f(0x133)&&typeof Symbol['iterator']==_0x40c28f(0x169)?function(_0x3989b2){return typeof _0x3989b2;}:function(_0x43cee6){const _0xdf650f=_0x40c28f;return _0x43cee6&&typeof Symbol==_0xdf650f(0x133)&&_0x43cee6[_0xdf650f(0x189)]===Symbol&&_0x43cee6!==Symbol[_0xdf650f(0x19c)]?_0xdf650f(0x169):typeof _0x43cee6;},J(_0x2c5b77);}function Y(_0xf5cee9,_0x62302b){const _0x2acbfa=_0xcee175;if(J(_0xf5cee9)!=_0x2acbfa(0x13e)||!_0xf5cee9)return _0xf5cee9;var _0x29da06=_0xf5cee9[Symbol['toPrimitive']];if(_0x29da06!==void 0x0){var _0x34e19b=_0x29da06['call'](_0xf5cee9,_0x62302b||_0x2acbfa(0x16c));if(J(_0x34e19b)!=_0x2acbfa(0x13e))return _0x34e19b;throw TypeError(_0x2acbfa(0x18b));}return(_0x62302b===_0x2acbfa(0x183)?String:Number)(_0xf5cee9);}function X(_0xd2edbd){const _0x4f85b1=_0xcee175;var _0x378543=Y(_0xd2edbd,_0x4f85b1(0x183));return J(_0x378543)==_0x4f85b1(0x169)?_0x378543:_0x378543+'';}function Z(_0x4249fd,_0x5d8b19,_0x8b6b12){const _0x2915aa=_0xcee175;return(_0x5d8b19=X(_0x5d8b19))in _0x4249fd?Object[_0x2915aa(0x167)](_0x4249fd,_0x5d8b19,{'value':_0x8b6b12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4249fd[_0x5d8b19]=_0x8b6b12,_0x4249fd;}function Q(_0x378d35,_0x1b8b8a){return function(_0x35b847,_0x2a6e25){_0x1b8b8a(_0x35b847,_0x2a6e25,_0x378d35);};}function _0x56d6(_0x25c5d7,_0x77efd3){_0x25c5d7=_0x25c5d7-0x118;const _0x1a2a8a=_0x1a2a();let _0x56d673=_0x1a2a8a[_0x25c5d7];return _0x56d673;}function te(_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10){const _0x3f6287=_0xcee175;var _0x2ed6b4=arguments[_0x3f6287(0x157)],_0x239219=_0x2ed6b4<0x3?_0xe775da:_0x48eb10===null?_0x48eb10=Object[_0x3f6287(0x15c)](_0xe775da,_0x1eddc5):_0x48eb10,_0x356abc;if(typeof Reflect==_0x3f6287(0x13e)&&typeof Reflect[_0x3f6287(0x126)]==_0x3f6287(0x133))_0x239219=Reflect[_0x3f6287(0x126)](_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10);else{for(var _0x17c5e8=_0x5eaafb[_0x3f6287(0x157)]-0x1;_0x17c5e8>=0x0;_0x17c5e8--)(_0x356abc=_0x5eaafb[_0x17c5e8])&&(_0x239219=(_0x2ed6b4<0x3?_0x356abc(_0x239219):_0x2ed6b4>0x3?_0x356abc(_0xe775da,_0x1eddc5,_0x239219):_0x356abc(_0xe775da,_0x1eddc5))||_0x239219);}return _0x2ed6b4>0x3&&_0x239219&&Object[_0x3f6287(0x167)](_0xe775da,_0x1eddc5,_0x239219),_0x239219;}function _0x1a2a(){const _0xccb892=['_getBodyPath','extend','103130JoOjaH','_column','type','_rowContainsText','setBorder','Above','documentStyle','144191zhJZGQ','getMarginOverride','filter','getCellMargin','selectRange','decorate','tableCells','trHeight','getSource','Table','segmentId','findTableByText','distributeRows','selectRows','8872FUCqaw','max','deleteTable','getRowsRange','function','setStructuralSelection','getCellMarginOverride','deepClone','DocsTableRowInsertPosition','setTitleRow','getInfo','body','backgroundColor','getRowRange','setCellMargin','object','getTableAtSelection','_serializeModel','moveRow','insertRowAfter','titleText','from','deleteRow','setCellBackground','deleteRows','getColumnsRange','getTableRange','getTables','unmerge','_mutateActions','columnTypes','selectColumn','_tableId','Left','getText','selectColumns','size','appendColumn','unmergeCells','getTable','length','_injector','rows','getRowHeight','moveTableToOffset','getOwnPropertyDescriptor','Row','DocsTableSortDirection','actions','_unitId','startOffset','_getTableDocumentData','3914676HaOjvR','titleRow','replace','findTables','defineProperty','preset','symbol','insertColumnBefore','_document','default','setRowHeight','12271HjsozD','border','_tableContainsText','insertTable','DocsTableSelectionKind','getMetadata','getCellInsertOffset','hasTitleRow','setBackgroundColor','deleteColumns','DashStyleType','text','1252244ZzMqyV','tableSource','insertColumnsAfter','setHeaderRowCount','_segmentId','moveTableBy','insertTitleRow','syncExecuteCommand','insertColumnsBefore','string','getColumnIndex','margin','insertRowsBefore','distributeColumns','slice','constructor','_table','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getTables','2500920DWIeLv','getRowCount','_row','tableColumns','1674GJgJgb','deleteColumn','setTableBackground','getInsertOffset','_commandService','getRowIndex','tableRows','describe','_getDocumentData','getContentRange','getStableTableSelection','prototype','width','clearMarginOverride','setColumnWidth','AT_LEAST','tableId','Below','appendRow','setTableStyle','getId','4447895DKjpvl','get','cells','dataStream','selectCell','getCell','selectTable','sortByColumn','headerRowCount','some','_createFDocumentTable','pinHeaderRows','includes','insertRowBefore','Right','getCellContentRange','setDefaultCellMargin','getCellRange','getSnapshot','getDefaultCellMargin','cellMargin','#1f1f1f','moveColumns','getColumnCount','getCellText','endOffset','setTableBorder','6CQPusi','moveRows','setColumnType','SOLID','mergeCells','getTableMetadata','getDocumentDataModel','All','setText','setCellText','headerText','insertRowsAfter','getDefaultCellMarginOverride'];_0x1a2a=function(){return _0xccb892;};return _0x1a2a();}let $=class{constructor(_0x643105,_0x310105,_0x1d9a55,_0x36ad25,_0x25b275){const _0x4273c1=_0xcee175;this[_0x4273c1(0x16b)]=_0x643105,this[_0x4273c1(0x14f)]=_0x310105,this[_0x4273c1(0x17e)]=_0x1d9a55,this[_0x4273c1(0x195)]=_0x36ad25,this[_0x4273c1(0x158)]=_0x25b275,Z(this,_0x4273c1(0x160),void 0x0),this[_0x4273c1(0x160)]=this[_0x4273c1(0x16b)]['getId']();}[_0xcee175(0x1a5)](){const _0x119049=_0xcee175;return this[_0x119049(0x14f)];}['getSegmentId'](){const _0x49bafa=_0xcee175;return this[_0x49bafa(0x17e)];}[_0xcee175(0x139)](){const _0x1157be=_0xcee175;return{'id':this['_tableId'],'rowCount':this[_0x1157be(0x18e)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x1157be(0x173)](),'source':this[_0x1157be(0x129)]()};}[_0xcee175(0x198)](){const _0x19bb91=_0xcee175;let _0x680863=this[_0x19bb91(0x173)](),_0x18d062=this['getSource'](),_0x3e160a=this[_0x19bb91(0x1bd)]();return{'id':this[_0x19bb91(0x14f)],'rowCount':this[_0x19bb91(0x18e)](),'columnCount':_0x3e160a,'headerRowCount':(_0x680863==null?void 0x0:_0x680863['headerRowCount'])??0x0,'titleRow':(_0x680863==null?void 0x0:_0x680863[_0x19bb91(0x164)])??!0x1,'columns':Array['from']({'length':_0x3e160a},(_0x56be14,_0x47b2ea)=>{const _0x2f82e4=_0x19bb91;var _0x3787aa,_0x1df8f0;return{'index':_0x47b2ea,'type':_0x680863==null||(_0x3787aa=_0x680863[_0x2f82e4(0x14d)])==null||(_0x3787aa=_0x3787aa[_0x47b2ea])==null?void 0x0:_0x3787aa[_0x2f82e4(0x11c)],'width':_0x18d062==null||(_0x1df8f0=_0x18d062[_0x2f82e4(0x190)][_0x47b2ea])==null?void 0x0:_0x1df8f0[_0x2f82e4(0x153)][_0x2f82e4(0x19d)]['v']};}),'sampleRows':Array[_0x19bb91(0x144)]({'length':this[_0x19bb91(0x18e)]()},(_0x177f2b,_0x4076cf)=>Array[_0x19bb91(0x144)]({'length':_0x3e160a},(_0xfceb05,_0x5c06b3)=>this['getCellText'](_0x4076cf,_0x5c06b3)))['filter'](_0x150ac0=>_0x150ac0[_0x19bb91(0x1af)](_0x352189=>_0x352189['length']>0x0))[_0x19bb91(0x188)](0x0,0x5)};}[_0xcee175(0x18e)](){const _0x5bef8d=_0xcee175;var _0x1562c8;return((_0x1562c8=this[_0x5bef8d(0x129)]())==null?void 0x0:_0x1562c8[_0x5bef8d(0x197)][_0x5bef8d(0x157)])??0x0;}['getColumnCount'](){const _0x4ff809=_0xcee175;var _0x2feb3f;return((_0x2feb3f=this[_0x4ff809(0x129)]())==null?void 0x0:_0x2feb3f[_0x4ff809(0x190)]['length'])??0x0;}[_0xcee175(0x1ab)](_0x32a603,_0xf9c7cd){const _0x5835c0=_0xcee175;var _0x4be3a0;return(_0x4be3a0=this['getSource']())!=null&&(_0x4be3a0=_0x4be3a0['tableRows'][_0x32a603])!=null&&_0x4be3a0[_0x5835c0(0x127)][_0xf9c7cd]?this[_0x5835c0(0x158)]['createInstance'](q,this,_0x32a603,_0xf9c7cd):null;}[_0xcee175(0x1be)](_0x29f8ad,_0x46912d){const _0x2c619d=_0xcee175;var _0x378707,_0x32d3a4;let _0x1b21b1=(_0x378707=_0x4ba6c9(this['_getDocumentData'](),this['_tableId']))==null||(_0x378707=_0x378707[_0x2c619d(0x159)][_0x29f8ad])==null?void 0x0:_0x378707[_0x2c619d(0x1a8)][_0x46912d];return _0x1b21b1?((_0x32d3a4=this[_0x2c619d(0x199)]()[_0x2c619d(0x13a)])==null?void 0x0:_0x32d3a4[_0x2c619d(0x1a9)]['slice'](_0x1b21b1['startOffset']+0x1,_0x1b21b1['endOffset'])[_0x2c619d(0x165)](/\r\n$/,''))??'':'';}[_0xcee175(0x124)](_0x8d2875,_0x210f0c){const _0x308e86=_0xcee175;var _0x30fdf3;let _0x387da7=this[_0x308e86(0x129)](),_0x4e5f67=_0x387da7==null||(_0x30fdf3=_0x387da7['tableRows'][_0x8d2875])==null?void 0x0:_0x30fdf3[_0x308e86(0x127)][_0x210f0c];return _0x4e5f67?_0x307248[_0x308e86(0x136)](_0x4e5f67['margin']??_0x387da7[_0x308e86(0x1ba)]??_0x21745d):null;}[_0xcee175(0x135)](_0x1e0346,_0x5bc3bf){const _0x58b74b=_0xcee175;var _0x3813bf;let _0x2c629a=(_0x3813bf=this['getSource']())==null||(_0x3813bf=_0x3813bf[_0x58b74b(0x197)][_0x1e0346])==null?void 0x0:_0x3813bf[_0x58b74b(0x127)][_0x5bc3bf];return _0x2c629a!=null&&_0x2c629a[_0x58b74b(0x185)]?_0x307248['deepClone'](_0x2c629a[_0x58b74b(0x185)]):null;}[_0xcee175(0x1b9)](){const _0x3aa7df=_0xcee175;var _0x55f5d1;return _0x307248[_0x3aa7df(0x136)](((_0x55f5d1=this[_0x3aa7df(0x129)]())==null?void 0x0:_0x55f5d1['cellMargin'])??_0x21745d);}[_0xcee175(0x1cd)](){const _0x50e600=_0xcee175;var _0x6ef81d;let _0x132a1a=(_0x6ef81d=this[_0x50e600(0x129)]())==null?void 0x0:_0x6ef81d[_0x50e600(0x1ba)];return _0x132a1a?_0x307248[_0x50e600(0x136)](_0x132a1a):null;}[_0xcee175(0x173)](){const _0x48c024=_0xcee175;return this[_0x48c024(0x158)][_0x48c024(0x1a7)](_0x3c570c)[_0x48c024(0x1c6)](this['_unitId'],this['_tableId']);}['getSource'](){const _0x330dd4=_0xcee175;var _0xc9b3d2;return(_0xc9b3d2=this['_getDocumentData']()[_0x330dd4(0x17b)])==null?void 0x0:_0xc9b3d2[this[_0x330dd4(0x14f)]];}['getRange'](){const _0x2c189e=_0xcee175;return _0x4ba6c9(this[_0x2c189e(0x199)](),this['_tableId']);}[_0xcee175(0x149)](){const _0x415ce1=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x18e)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x1bd)]()-0x1)};}['getCellRange'](_0x37f281,_0x31c90a){return{'startRow':_0x37f281,'endRow':_0x37f281,'startColumn':_0x31c90a,'endColumn':_0x31c90a};}[_0xcee175(0x1b5)](_0x208918,_0x343c32){const _0x1679b5=_0xcee175;var _0x328e8e;let _0x3d6bad=(_0x328e8e=_0x4ba6c9(this['_getDocumentData'](),this[_0x1679b5(0x14f)]))==null||(_0x328e8e=_0x328e8e['rows'][_0x208918])==null?void 0x0:_0x328e8e['cells'][_0x343c32];if(!_0x3d6bad)return null;let _0x492121=_0x3d6bad['startOffset']+0x1;return{'startOffset':_0x492121,'endOffset':Math[_0x1679b5(0x130)](_0x492121,_0x3d6bad[_0x1679b5(0x1bf)]-0x1),'segmentId':this['_segmentId']};}[_0xcee175(0x174)](_0x221a74,_0x4fb440){const _0x701a09=_0xcee175;let _0x448145=this[_0x701a09(0x1b5)](_0x221a74,_0x4fb440);return _0x448145?Math[_0x701a09(0x130)](_0x448145[_0x701a09(0x161)],_0x448145[_0x701a09(0x1bf)]-0x1):null;}[_0xcee175(0x13c)](_0x1a1b2c){return this['getRowsRange'](_0x1a1b2c,0x1);}['getRowsRange'](_0x2ba214,_0x575483=0x1){const _0x403da0=_0xcee175;return{'startRow':_0x2ba214,'endRow':_0x2ba214+_0x575483-0x1,'startColumn':0x0,'endColumn':Math[_0x403da0(0x130)](0x0,this['getColumnCount']()-0x1)};}['getColumnRange'](_0x3bc710){const _0x476512=_0xcee175;return this[_0x476512(0x148)](_0x3bc710,0x1);}[_0xcee175(0x148)](_0x3001c3,_0x50eeb4=0x1){const _0x19ac8e=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x19ac8e(0x130)](0x0,this[_0x19ac8e(0x18e)]()-0x1),'startColumn':_0x3001c3,'endColumn':_0x3001c3+_0x50eeb4-0x1};}[_0xcee175(0x1ac)](){const _0x42299a=_0xcee175;return this['selectRange'](this[_0x42299a(0x149)](),_0x5a36fd[_0x42299a(0x12a)]);}['selectRow'](_0x3a0c93){return this['selectRows'](_0x3a0c93,0x1);}[_0xcee175(0x12e)](_0x374714,_0x39f617=0x1){const _0x30f39=_0xcee175;return this['selectRange'](this[_0x30f39(0x132)](_0x374714,_0x39f617),_0x5a36fd[_0x30f39(0x15d)]);}[_0xcee175(0x14e)](_0x39375c){const _0x4d8971=_0xcee175;return this[_0x4d8971(0x152)](_0x39375c,0x1);}[_0xcee175(0x152)](_0x29624e,_0xc72198=0x1){const _0x40a41b=_0xcee175;return this['selectRange'](this[_0x40a41b(0x148)](_0x29624e,_0xc72198),_0x5a36fd['Column']);}[_0xcee175(0x1aa)](_0x29992e,_0x5234e7){const _0x37eba7=_0xcee175;return this[_0x37eba7(0x125)](this[_0x37eba7(0x1b7)](_0x29992e,_0x5234e7),_0x5a36fd['Cell']);}[_0xcee175(0x125)](_0x5d5b18,_0x2e2d72=_0x5a36fd['Range']){const _0x28aad4=_0xcee175;return this[_0x28aad4(0x158)][_0x28aad4(0x1a7)](_0x52774c)[_0x28aad4(0x134)]({..._0x5d5b18,'kind':_0x2e2d72,'segmentId':this[_0x28aad4(0x17e)],'tableId':this['_tableId']}),!0x0;}[_0xcee175(0x1b3)](_0x46b53d){const _0x2d2d8f=_0xcee175;return this[_0x2d2d8f(0x186)](_0x46b53d,0x1);}[_0xcee175(0x142)](_0x1443ed){return this['insertRowsAfter'](_0x1443ed,0x1);}['insertRowsBefore'](_0x594652,_0x3d2594){const _0x3c9353=_0xcee175;let _0xfdd2a8=this[_0x3c9353(0x199)](),_0x520517=_0x1ba735(_0xfdd2a8,this[_0x3c9353(0x14f)],_0x594652,_0x3d2594,_0x50a60f[_0x3c9353(0x11f)],this[_0x3c9353(0x118)]());return _0x520517?this[_0x3c9353(0x14c)](_0xfdd2a8,_0x520517[_0x3c9353(0x15f)]):!0x1;}[_0xcee175(0x1cc)](_0x4b30b7,_0x349727){const _0x196709=_0xcee175;let _0x44be8b=this[_0x196709(0x199)](),_0x10e1a4=_0x1ba735(_0x44be8b,this[_0x196709(0x14f)],_0x4b30b7,_0x349727,_0x50a60f[_0x196709(0x1a2)],this[_0x196709(0x118)]());return _0x10e1a4?this[_0x196709(0x14c)](_0x44be8b,_0x10e1a4['actions']):!0x1;}[_0xcee175(0x1a3)](){const _0x133528=_0xcee175;return this[_0x133528(0x1cc)](Math[_0x133528(0x130)](0x0,this[_0x133528(0x18e)]()-0x1),0x1);}[_0xcee175(0x16a)](_0x3da45a){const _0xf1c486=_0xcee175;return this[_0xf1c486(0x182)](_0x3da45a,0x1);}['insertColumnAfter'](_0x5c8ee0){const _0x2f2a5a=_0xcee175;return this[_0x2f2a5a(0x17c)](_0x5c8ee0,0x1);}[_0xcee175(0x182)](_0x133a32,_0x406181){const _0x2857a6=_0xcee175;let _0x1d40f7=this[_0x2857a6(0x199)](),_0x4bf8f5=_0x42f91b(_0x1d40f7,this[_0x2857a6(0x14f)],_0x133a32,_0x406181,_0x50a60f[_0x2857a6(0x150)],{'bodyPath':this[_0x2857a6(0x118)]()});return _0x4bf8f5?this[_0x2857a6(0x14c)](_0x1d40f7,_0x4bf8f5[_0x2857a6(0x15f)]):!0x1;}[_0xcee175(0x17c)](_0x3682c0,_0x1358ac){const _0x48c773=_0xcee175;let _0x3cd25e=this[_0x48c773(0x199)](),_0x27a153=_0x42f91b(_0x3cd25e,this[_0x48c773(0x14f)],_0x3682c0,_0x1358ac,_0x50a60f[_0x48c773(0x1b4)],{'bodyPath':this[_0x48c773(0x118)]()});return _0x27a153?this[_0x48c773(0x14c)](_0x3cd25e,_0x27a153[_0x48c773(0x15f)]):!0x1;}[_0xcee175(0x154)](){const _0x513661=_0xcee175;return this[_0x513661(0x17c)](Math[_0x513661(0x130)](0x0,this['getColumnCount']()-0x1),0x1);}[_0xcee175(0x145)](_0x22f2cc){const _0x5cea77=_0xcee175;return this[_0x5cea77(0x147)](_0x22f2cc,0x1);}[_0xcee175(0x147)](_0x56b6d9,_0x2f0259=0x1){const _0x438f01=_0xcee175;return!!this[_0x438f01(0x195)]['syncExecuteCommand'](_0x463552['id'],{'endRow':_0x56b6d9+_0x2f0259-0x1,'segmentId':this[_0x438f01(0x17e)],'startRow':_0x56b6d9,'tableId':this[_0x438f01(0x14f)],'unitId':this[_0x438f01(0x160)]});}[_0xcee175(0x192)](_0x4a05eb){const _0x51be07=_0xcee175;return this[_0x51be07(0x177)](_0x4a05eb,0x1);}[_0xcee175(0x177)](_0x4351f8,_0x305ba2=0x1){const _0x3b8a03=_0xcee175;return!!this[_0x3b8a03(0x195)][_0x3b8a03(0x181)](_0x135ce2['id'],{'endColumn':_0x4351f8+_0x305ba2-0x1,'segmentId':this[_0x3b8a03(0x17e)],'startColumn':_0x4351f8,'tableId':this[_0x3b8a03(0x14f)],'unitId':this[_0x3b8a03(0x160)]});}[_0xcee175(0x131)](){const _0x4f3615=_0xcee175;return!!this[_0x4f3615(0x195)][_0x4f3615(0x181)](_0x229429['id'],{'segmentId':this[_0x4f3615(0x17e)],'tableId':this[_0x4f3615(0x14f)],'unitId':this[_0x4f3615(0x160)]});}[_0xcee175(0x17f)](_0x33e726,_0x374051){const _0x4f34a6=_0xcee175;let _0x58df42=this[_0x4f34a6(0x199)]();return this[_0x4f34a6(0x14c)](_0x58df42,_0x4e09e1(_0x58df42,this[_0x4f34a6(0x14f)],_0x33e726,_0x374051));}[_0xcee175(0x15b)](_0x34110a){const _0x4612a6=_0xcee175;let _0x1ced14=this[_0x4612a6(0x199)]();return this[_0x4612a6(0x14c)](_0x1ced14,_0x22c831(_0x1ced14,this[_0x4612a6(0x14f)],_0x34110a,this[_0x4612a6(0x118)]()));}[_0xcee175(0x141)](_0x4df032,_0x47aad0,_0x5853d7=_0x50a60f[_0xcee175(0x11f)]){const _0x232617=_0xcee175;return this[_0x232617(0x1c2)](_0x4df032,0x1,_0x47aad0,_0x5853d7);}['moveRows'](_0x29b6d0,_0x76ad8f,_0x5324b2,_0x376397=_0x50a60f[_0xcee175(0x11f)]){const _0x1ae03b=_0xcee175;let _0x4e58f9=this[_0x1ae03b(0x199)](),_0x181385=_0x4341e1(_0x4e58f9,this['_tableId'],_0x29b6d0,_0x5324b2,_0x76ad8f,_0x376397,this[_0x1ae03b(0x118)]());return _0x181385?this[_0x1ae03b(0x14c)](_0x4e58f9,_0x181385[_0x1ae03b(0x15f)]):!0x1;}['moveColumn'](_0x2dcc74,_0x3c67d1,_0x260fb1=_0x50a60f[_0xcee175(0x150)]){return this['moveColumns'](_0x2dcc74,0x1,_0x3c67d1,_0x260fb1);}[_0xcee175(0x1bc)](_0x55e9a4,_0x2d5411,_0x4943df,_0x4b9053=_0x50a60f[_0xcee175(0x150)]){const _0x5e2c62=_0xcee175;let _0x3f6989=this[_0x5e2c62(0x199)](),_0x2ce144=_0x2792a3(_0x3f6989,this[_0x5e2c62(0x14f)],_0x55e9a4,_0x4943df,_0x2d5411,_0x4b9053,this[_0x5e2c62(0x118)]());return _0x2ce144?this[_0x5e2c62(0x14c)](_0x3f6989,_0x2ce144[_0x5e2c62(0x15f)]):!0x1;}[_0xcee175(0x1c5)](_0x51e77e){const _0x2de6c7=_0xcee175;try{let _0x190d63=this['_getDocumentData'](),_0x1d8180=_0x3aec2e({'documentData':_0x190d63,'tableId':this[_0x2de6c7(0x14f)],..._0x51e77e});return _0x1d8180?this[_0x2de6c7(0x14c)](_0x190d63,_0x1d8180[_0x2de6c7(0x15f)],_0x51e77e):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x1bcf99){const _0xaf4fd5=_0xcee175;try{let _0x31e763=this[_0xaf4fd5(0x199)](),_0x1deb35=_0x393d14({'documentData':_0x31e763,'tableId':this[_0xaf4fd5(0x14f)],..._0x1bcf99});return _0x1deb35?this[_0xaf4fd5(0x14c)](_0x31e763,_0x1deb35['actions'],_0x1bcf99):!0x1;}catch{return!0x1;}}['setCellText'](_0x12120e,_0x2a42fa,_0x2234a8){const _0x10832b=_0xcee175;let _0x10ba96=this[_0x10832b(0x199)](),_0x285270=_0x3b5491(this['_document'][_0x10832b(0x1c7)]()['getSnapshot'](),this[_0x10832b(0x17e)]);return this[_0x10832b(0x14c)](_0x10ba96,_0x2655ab({'documentData':_0x10ba96,'tableId':this[_0x10832b(0x14f)],'row':_0x12120e,'column':_0x2a42fa,'text':_0x2234a8},_0x285270),this[_0x10832b(0x1b7)](_0x12120e,_0x2a42fa));}[_0xcee175(0x146)](_0x463b52,_0x4e4dee){const _0x461382=_0xcee175;let _0x38adcf=this[_0x461382(0x199)]();return this[_0x461382(0x14c)](_0x38adcf,_0x47f64e(_0x38adcf,{'tableId':this[_0x461382(0x14f)],..._0x463b52,'value':_0x4e4dee}),_0x463b52);}['setCellMargin'](_0x4c322f,_0x2a4ada){const _0x108895=_0xcee175;let _0x3664ac=this[_0x108895(0x199)]();return this[_0x108895(0x14c)](_0x3664ac,_0x2652fa({'documentData':_0x3664ac,'tableId':this['_tableId'],..._0x4c322f,'margin':_0x2a4ada}),_0x4c322f);}[_0xcee175(0x1b6)](_0x451885){const _0x39a321=_0xcee175;let _0x43f324=this[_0x39a321(0x199)]();return this[_0x39a321(0x14c)](_0x43f324,_0xfdd2fe(_0x43f324,this[_0x39a321(0x14f)],_0x451885));}[_0xcee175(0x11e)](_0xdfbfbb,_0xad9af1){const _0xf62517=_0xcee175;let _0x4e9360=this['_getDocumentData']();return this['_mutateActions'](_0x4e9360,_0x71f82c({'documentData':_0x4e9360,'tableId':this['_tableId'],..._0xdfbfbb,'preset':_0xad9af1[_0xf62517(0x168)]??_0xf76c6a[_0xf62517(0x1c8)],'border':_0xad9af1[_0xf62517(0x16f)]??{'color':{'rgb':_0xad9af1['color']??_0xf62517(0x1bb)},'width':{'v':_0xad9af1[_0xf62517(0x19d)]??0x1},'dashStyle':_0x235af0[_0xf62517(0x1c4)]}}),_0xdfbfbb);}[_0xcee175(0x193)](_0x496913){const _0x196588=_0xcee175;return this['setCellBackground'](this[_0x196588(0x149)](),_0x496913);}['setTableBorder'](_0x6c5d22){const _0x13fb4b=_0xcee175;return this[_0x13fb4b(0x11e)](this[_0x13fb4b(0x149)](),_0x6c5d22);}[_0xcee175(0x1a4)](_0x43d8fb){const _0x364ef6=_0xcee175;let _0x4423c5=!_0x43d8fb[_0x364ef6(0x13b)]||this[_0x364ef6(0x193)](_0x43d8fb[_0x364ef6(0x13b)]),_0x524925=!_0x43d8fb[_0x364ef6(0x16f)]||this[_0x364ef6(0x1c0)](_0x43d8fb['border']);return _0x4423c5&&_0x524925;}[_0xcee175(0x16d)](_0x483f47,_0x38a54c,_0x1bd360=_0x3ebc1c[_0xcee175(0x1a0)]){const _0x67c578=_0xcee175;var _0x193e51;let _0x48522b=this[_0x67c578(0x199)]();return(_0x193e51=_0x48522b[_0x67c578(0x17b)])!=null&&(_0x193e51=_0x193e51[this[_0x67c578(0x14f)]])!=null&&_0x193e51['tableRows'][_0x483f47]?this[_0x67c578(0x14c)](_0x48522b,_0x3a3c68(_0x48522b,this[_0x67c578(0x14f)],_0x483f47,_0x38a54c,_0x1bd360)):!0x1;}[_0xcee175(0x15a)](_0x11c2f8){const _0x4e99cf=_0xcee175;var _0x35411c;let _0x23290c=(_0x35411c=this['getSource']())==null||(_0x35411c=_0x35411c[_0x4e99cf(0x197)][_0x11c2f8])==null?void 0x0:_0x35411c[_0x4e99cf(0x128)];return _0x23290c?_0x307248[_0x4e99cf(0x136)](_0x23290c):null;}[_0xcee175(0x19f)](_0x4a472f,_0x4db7bd){const _0xc00f42=_0xcee175;var _0x9d4cc9;let _0x4cab30=this[_0xc00f42(0x199)]();return(_0x9d4cc9=_0x4cab30[_0xc00f42(0x17b)])!=null&&(_0x9d4cc9=_0x9d4cc9[this['_tableId']])!=null&&_0x9d4cc9[_0xc00f42(0x190)][_0x4a472f]?this[_0xc00f42(0x14c)](_0x4cab30,_0x1922ab(_0x4cab30,this['_tableId'],_0x4a472f,_0x4db7bd)):!0x1;}[_0xcee175(0x12d)](_0x451042=0x0,_0x4e3750=this[_0xcee175(0x18e)]()){const _0x4ca3ea=_0xcee175;let _0xa8975d=this[_0x4ca3ea(0x199)]();return this[_0x4ca3ea(0x14c)](_0xa8975d,_0x5e0604(_0xa8975d,this[_0x4ca3ea(0x14f)],_0x451042,_0x451042+_0x4e3750-0x1));}[_0xcee175(0x187)](_0x59ebc0=0x0,_0x5bea7d=this['getColumnCount']()){const _0x5702ee=_0xcee175;let _0x3f4511=this[_0x5702ee(0x199)]();return this[_0x5702ee(0x14c)](_0x3f4511,_0x54b594(_0x3f4511,this[_0x5702ee(0x14f)],_0x59ebc0,_0x59ebc0+_0x5bea7d-0x1));}['getHeaderRowCount'](){const _0xbb44fe=_0xcee175;var _0x2e9ea3;return((_0x2e9ea3=this['getMetadata']())==null?void 0x0:_0x2e9ea3[_0xbb44fe(0x1ae)])??0x0;}['setHeaderRowCount'](_0x4e22ee){const _0x3a16f3=_0xcee175;let _0x142495=this[_0x3a16f3(0x158)]['get'](_0x3c570c),_0x2cbba9=this['_getDocumentData'](),_0x1cf15a=_0x1e4c1(_0x2cbba9,this[_0x3a16f3(0x14f)],_0x4e22ee);if(!_0x1cf15a)return!0x1;let _0x2e6582=this[_0x3a16f3(0x14c)](_0x2cbba9,_0x1cf15a[_0x3a16f3(0x15f)]);return _0x2e6582&&_0x142495['setHeaderRowCount'](this[_0x3a16f3(0x160)],this['_tableId'],_0x1cf15a[_0x3a16f3(0x1ae)]),_0x2e6582;}[_0xcee175(0x1b1)](_0x41868f){const _0x3d4ef2=_0xcee175;return this[_0x3d4ef2(0x17d)](_0x41868f);}[_0xcee175(0x175)](){const _0x44ea82=_0xcee175;var _0x238d14;return((_0x238d14=this[_0x44ea82(0x173)]())==null?void 0x0:_0x238d14[_0x44ea82(0x164)])??!0x1;}[_0xcee175(0x180)](){const _0x32e631=_0xcee175;let _0xed1a8f=this[_0x32e631(0x158)][_0x32e631(0x1a7)](_0x3c570c),_0x3114a2=this['_getDocumentData'](),_0x4faf02=_0x5909d2(_0x3114a2,this[_0x32e631(0x14f)],this['_getBodyPath']());if(!_0x4faf02)return!0x1;let _0x1025fa=this[_0x32e631(0x14c)](_0x3114a2,_0x4faf02['actions']);return _0x1025fa&&_0xed1a8f[_0x32e631(0x138)](this['_unitId'],this[_0x32e631(0x14f)],!0x0),_0x1025fa;}['setColumnType'](_0x272746,_0x10d2fc){const _0x19fa1f=_0xcee175;return this['_injector'][_0x19fa1f(0x1a7)](_0x3c570c)[_0x19fa1f(0x1c3)](this[_0x19fa1f(0x160)],this[_0x19fa1f(0x14f)],_0x272746,_0x10d2fc),!0x0;}[_0xcee175(0x1ad)](_0x4c0a4,_0x1b8ba0){const _0x5d0017=_0xcee175;let _0x474005=this[_0x5d0017(0x199)]();return this[_0x5d0017(0x14c)](_0x474005,_0x26bb83(_0x474005,this['_serializeModel'](),this[_0x5d0017(0x14f)],_0x4c0a4,_0x1b8ba0,this[_0x5d0017(0x118)]()));}['_getDocumentData'](){const _0x4f8ebe=_0xcee175;let _0x138690=this[_0x4f8ebe(0x16b)][_0x4f8ebe(0x1c7)]()[_0x4f8ebe(0x1b8)]();return this[_0x4f8ebe(0x17e)]?{...this[_0x4f8ebe(0x16b)]['getDocumentDataModel'](this[_0x4f8ebe(0x17e)])[_0x4f8ebe(0x1b8)](),'documentStyle':_0x138690['documentStyle'],'tableSource':_0x138690[_0x4f8ebe(0x17b)]}:_0x138690;}[_0xcee175(0x140)](){const _0x3eb4f0=_0xcee175;return this[_0x3eb4f0(0x158)][_0x3eb4f0(0x1a7)](_0x3c570c)['serialize'](this[_0x3eb4f0(0x160)]);}[_0xcee175(0x118)](){const _0x1f9b4b=_0xcee175;return _0x3b5491(this[_0x1f9b4b(0x16b)]['getDocumentDataModel']()[_0x1f9b4b(0x1b8)](),this[_0x1f9b4b(0x17e)]);}['_mutateActions'](_0x2eb54e,_0x31161b,_0x2ef6d4){const _0x22771e=_0xcee175;return _0x279883(this[_0x22771e(0x195)],this['_unitId'],_0x2eb54e,_0x31161b,_0x2ef6d4?{'tableId':this[_0x22771e(0x14f)],'segmentId':this[_0x22771e(0x17e)],..._0x2ef6d4}:void 0x0);}};$=te([Q(0x3,_0x227b4c),Q(0x4,_0x7b97ec(_0x5e029d))],$);var ne=class extends _0x1ebdb5{[_0xcee175(0x14a)](_0x343392=''){const _0x3a232b=_0xcee175;return this[_0x3a232b(0x18c)](_0x343392)['map'](_0x2f722a=>this[_0x3a232b(0x1b0)](_0x2f722a['tableId'],_0x343392));}['getTable'](_0x54d62f,_0x1a8211=''){const _0x26e976=_0xcee175;return this[_0x26e976(0x18c)](_0x1a8211)[_0x26e976(0x1af)](_0x47ed93=>_0x47ed93[_0x26e976(0x1a1)]===_0x54d62f)?this[_0x26e976(0x1b0)](_0x54d62f,_0x1a8211):null;}['getTableAt'](_0x2100e2,_0x103249=''){const _0x3029b0=_0xcee175;var _0x2af371;let _0x2fe7df=(_0x2af371=this[_0x3029b0(0x18c)](_0x103249)[_0x2100e2])==null?void 0x0:_0x2af371[_0x3029b0(0x1a1)];return _0x2fe7df?this['_createFDocumentTable'](_0x2fe7df,_0x103249):null;}[_0xcee175(0x13f)](){const _0x40afb6=_0xcee175;let _0x952a28=this['_injector'][_0x40afb6(0x1a7)](_0x52774c)[_0x40afb6(0x19b)]();return _0x952a28!=null&&_0x952a28[_0x40afb6(0x1a1)]?this['_createFDocumentTable'](_0x952a28['tableId'],_0x952a28[_0x40afb6(0x12b)]):null;}[_0xcee175(0x12c)](_0x13a3e0,_0x1a371a=''){const _0x163655=_0xcee175;return this[_0x163655(0x166)](_0x13a3e0,_0x1a371a)[0x0]??null;}[_0xcee175(0x166)](_0x2f8436,_0x5bdcc2=''){const _0x1ef941=_0xcee175;let _0x4bb40c=this[_0x1ef941(0x162)](_0x5bdcc2),_0x3cc257=typeof _0x2f8436==_0x1ef941(0x183)?{'text':_0x2f8436}:_0x2f8436;return this[_0x1ef941(0x14a)](_0x5bdcc2)[_0x1ef941(0x123)](_0x2a79b9=>{const _0x35d654=_0x1ef941;let _0x13c3b2=_0x2a79b9[_0x35d654(0x1a5)]();return!(_0x3cc257[_0x35d654(0x1a1)]&&_0x13c3b2!==_0x3cc257[_0x35d654(0x1a1)]||_0x3cc257[_0x35d654(0x179)]&&!this[_0x35d654(0x170)](_0x4bb40c,_0x13c3b2,_0x3cc257[_0x35d654(0x179)])||_0x3cc257[_0x35d654(0x1cb)]&&!this['_rowContainsText'](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x1cb)])||_0x3cc257[_0x35d654(0x143)]&&!this[_0x35d654(0x11d)](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x143)]));});}[_0xcee175(0x171)](_0x5a61ca,_0x1cd4fe,_0x5b3256={}){const _0xa248a4=_0xcee175;let _0x32e97c=this[_0xa248a4(0x158)][_0xa248a4(0x1a7)](_0x227b4c),_0x1c4b52=_0x5b3256[_0xa248a4(0x1a1)]??_0x563431(0x6);return _0x32e97c[_0xa248a4(0x181)](_0x2f63fe['id'],{..._0x5b3256,'unitId':this[_0xa248a4(0x1a5)](),'rows':_0x5a61ca,'columns':_0x1cd4fe,'tableId':_0x1c4b52})?this['_createFDocumentTable'](_0x1c4b52,_0x5b3256[_0xa248a4(0x12b)]??''):null;}['insertTableFromData'](_0x36509c,_0x1015c6={}){const _0xf8ae1a=_0xcee175;let _0x4788c8=this[_0xf8ae1a(0x158)][_0xf8ae1a(0x1a7)](_0x227b4c),_0x52ace4=_0x1015c6['tableId']??_0x563431(0x6);return _0x4788c8[_0xf8ae1a(0x181)](_0x2f63fe['id'],{..._0x1015c6,'unitId':this[_0xf8ae1a(0x1a5)](),'values':_0x36509c,'tableId':_0x52ace4})?this[_0xf8ae1a(0x1b0)](_0x52ace4,_0x1015c6[_0xf8ae1a(0x12b)]??''):null;}[_0xcee175(0x18c)](_0x4cb748=''){let {tables:_0x5a028d=[]}=this['getBody'](_0x4cb748);return _0x5a028d;}['_getTableDocumentData'](_0x248830=''){const _0x3ff438=_0xcee175;let _0x1b8042=this[_0x3ff438(0x1c7)]()[_0x3ff438(0x1b8)]();return _0x248830?{...this[_0x3ff438(0x1c7)](_0x248830)[_0x3ff438(0x1b8)](),'documentStyle':_0x1b8042[_0x3ff438(0x120)],'tableSource':_0x1b8042[_0x3ff438(0x17b)]}:_0x1b8042;}[_0xcee175(0x1b0)](_0x227812,_0x4763ce=''){return this['_injector']['createInstance']($,this,_0x227812,_0x4763ce);}[_0xcee175(0x170)](_0x496814,_0x45aecc,_0x24a5c8){const _0x1f8959=_0xcee175;var _0x519ed4;let _0x4b01f9=_0x4ba6c9(_0x496814,_0x45aecc);if(!_0x4b01f9)return!0x1;let _0x557afa=(_0x519ed4=_0x496814[_0x1f8959(0x13a)])==null?void 0x0:_0x519ed4[_0x1f8959(0x1a9)];return _0x557afa?_0x557afa[_0x1f8959(0x188)](_0x4b01f9[_0x1f8959(0x161)],_0x4b01f9[_0x1f8959(0x1bf)])[_0x1f8959(0x1b2)](_0x24a5c8):!0x1;}[_0xcee175(0x11d)](_0x1ab20a,_0xdcca06,_0x23f883){const _0x113bc0=_0xcee175;return Array['from']({'length':_0x1ab20a[_0x113bc0(0x1bd)]()},(_0x4724e5,_0x2fb2bf)=>_0x1ab20a['getCellText'](_0xdcca06,_0x2fb2bf))[_0x113bc0(0x1af)](_0x5cfd25=>_0x5cfd25[_0x113bc0(0x1b2)](_0x23f883));}};_0x1ebdb5[_0xcee175(0x119)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|