@univerjs-pro/docs-table 1.0.1 → 1.0.3
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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4036a9=_0x32cb;(function(_0x20f3f0,_0x5b7b07){const _0x42c176=_0x32cb,_0x5cb2b2=_0x20f3f0();while(!![]){try{const _0x34473b=parseInt(_0x42c176(0x20e))/0x1+-parseInt(_0x42c176(0x24b))/0x2*(parseInt(_0x42c176(0x227))/0x3)+parseInt(_0x42c176(0x1fe))/0x4+-parseInt(_0x42c176(0x1ec))/0x5*(parseInt(_0x42c176(0x1ab))/0x6)+-parseInt(_0x42c176(0x1ac))/0x7*(parseInt(_0x42c176(0x234))/0x8)+parseInt(_0x42c176(0x1f2))/0x9+parseInt(_0x42c176(0x1f0))/0xa*(parseInt(_0x42c176(0x1cf))/0xb);if(_0x34473b===_0x5b7b07)break;else _0x5cb2b2['push'](_0x5cb2b2['shift']());}catch(_0x29edf5){_0x5cb2b2['push'](_0x5cb2b2['shift']());}}}(_0x53f1,0x7b60c));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x34e26c,DocsTableBorderPreset as _0x2156ac,DocsTableColumnInsertPosition as _0xf79bc,DocsTableColumnType as _0x67be16,DocsTableDeleteColumnsCommand as _0x49cc55,DocsTableDeleteRowsCommand as _0x2a1250,DocsTableDeleteTableCommand as _0x4fc161,DocsTableInsertPosition as _0x1d57e5,DocsTableInsertTableCommand as _0xddb132,DocsTableInsertTablePosition as _0x4d11f6,DocsTableModel as _0x2c557a,DocsTableRowInsertPosition as _0x2664f3,DocsTableSelectionKind as _0x157e62,DocsTableSelectionService as _0x4e85cf,DocsTableSortDirection as _0x19b610,buildDistributeTableColumnsMutationActions as _0x147d93,buildDistributeTableRowsMutationActions as _0x4d0c44,buildInsertTableColumnsMutationActions as _0x2a6322,buildInsertTableRowsMutationActions as _0x402628,buildInsertTableTitleRowMutationActions as _0x1e1018,buildMergeCellsMutationActions as _0x171bb4,buildMoveFloatingTableMutationActions as _0x192d58,buildMoveTableColumnsMutationActions as _0x2be81f,buildMoveTableRowsMutationActions as _0x4895b8,buildMoveTableToOffsetMutationActions as _0x266814,buildResizeTableColumnActionsFromWidth as _0x4b322e,buildResizeTableRowActionsFromHeight as _0x14db2a,buildSetTableBackgroundMutationActions as _0x5635b4,buildSetTableBorderMutationActions as _0x356f5b,buildSetTableCellMarginMutationActions as _0x547277,buildSetTableCellTextMutationActions as _0x2e8320,buildSetTableDefaultCellMarginMutationActions as _0x2cd113,buildSetTableHeaderRowCountMutationActions as _0x20f357,buildSortTableMutationActions as _0x4612a6,buildUnmergeCellsMutationActions as _0x376098,executeRichTextTableActions as _0x116d8f,getTableActionBodyPath as _0x57b371,getTableRangeById as _0xbce39b}from'@univerjs-pro/docs-table';import{DashStyleType as _0x1ddec5,ICommandService as _0x3029fa,Inject as _0x11f1a5,Injector as _0xbdc167,TableRowHeightRule as _0x530e11,Tools as _0x3c5dc4,generateRandomId as _0x446707}from'@univerjs/core';import{FEnum as _0x2a5558}from'@univerjs/core/facade';import{FDocument as _0x598394}from'@univerjs/docs/facade';function _0x53f1(){const _0x5d70b2=['map','getCellInsertOffset','getHeaderRowCount','unmergeCells','rows','setMargin','selectRange','replace','Table','setColumnWidth','getSnapshot','getDocumentDataModel','defineProperty','setCellMargin','appendColumn','selectColumns','_unitId','insertColumnBefore','tableColumns','function','endOffset','tableSource','Left','dataStream','_mutateActions','get','55hcYjbS','decorate','from','getCellMargin','getRowsRange','titleRow','DocsTableBorderPreset','moveRows','#1f1f1f','getSource','body','_getTableDocumentData','_document','_getBodyPath','setHeaderRowCount','_createFDocumentTable','getStableTableSelection','slice','getCellRange','Below','DocsTableInsertTablePosition','setTableBorder','_tableContainsText','moveTableBy','getColumnIndex','getId','deleteTable','constructor','getCellContentRange','25910NezMkP','setStructuralSelection','sortByColumn','symbol','2192140Usamvd','preset','6236667OoswRN','getColumnsRange','getCellText','Above','getRowCount','_column','tableId','mergeCells','getColumnCount','border','getSegmentId','type','3013556CTIMkO','describe','startOffset','filter','setCellBackground','getTableMetadata','segmentId','documentStyle','getTableRange','moveColumns','extend','insertColumnsAfter','deleteRows','object','AT_LEAST','backgroundColor','504167ZfsaSZ','setText','getCellMarginOverride','Right','selectColumn','DocsTableSortDirection','setTitleRow','_commandService','insertTableFromData','distributeRows','_row','unmerge','length','max','includes','createInstance','getColumnRange','insertRowAfter','insertColumnAfter','setBackgroundColor','deepClone','getBody','distributeColumns','moveTableToOffset','hasTitleRow','1344453bOGhER','getMarginOverride','setDefaultCellMargin','_getDocumentData','insertColumnsBefore','size','_segmentId','_injector','getTables','call','getMargin','appendRow','DocsTableRowInsertPosition','156088bOkKdU','_tableId','Column','getCell','string','margin','setBorder','insertRowBefore','findTables','_rowContainsText','columnTypes','DashStyleType','headerText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','tableCells','setCellText','some','setTableStyle','findTableByText','cells','getRowIndex','text','trHeight','4VdnKUP','titleText','setRowHeight','actions','All','_table','cellMargin','default','SOLID','insertTitleRow','width','getText','tableRows','syncExecuteCommand','_serializeModel','serialize','pinHeaderRows','888qPIEzY','315kpwwlc','Row','deleteColumns','_getTables','getTableAtSelection','getTable','getMetadata','setTableBackground','moveRow'];_0x53f1=function(){return _0x5d70b2;};return _0x53f1();}var K=class extends _0x2a5558{get[_0x4036a9(0x1e3)](){return _0x4d11f6;}get['DocsTableColumnType'](){return _0x67be16;}get['DocsTableSelectionKind'](){return _0x157e62;}get[_0x4036a9(0x233)](){return _0x2664f3;}get['DocsTableColumnInsertPosition'](){return _0xf79bc;}get[_0x4036a9(0x1d5)](){return _0x2156ac;}get[_0x4036a9(0x213)](){return _0x19b610;}get[_0x4036a9(0x23f)](){return _0x1ddec5;}};_0x2a5558[_0x4036a9(0x208)](K);var q=class{constructor(_0x55e403,_0x551e9c,_0x3f733a){const _0x81fc52=_0x4036a9;this[_0x81fc52(0x250)]=_0x55e403,this[_0x81fc52(0x218)]=_0x551e9c,this[_0x81fc52(0x1f7)]=_0x3f733a;}[_0x4036a9(0x1b1)](){const _0x39645c=_0x4036a9;return this[_0x39645c(0x250)];}[_0x4036a9(0x248)](){return this['_row'];}[_0x4036a9(0x1e7)](){return this['_column'];}[_0x4036a9(0x1a5)](){const _0x1c0bb9=_0x4036a9;return this[_0x1c0bb9(0x250)][_0x1c0bb9(0x1f4)](this['_row'],this[_0x1c0bb9(0x1f7)]);}['getContentRange'](){const _0x26b69f=_0x4036a9;return this[_0x26b69f(0x250)][_0x26b69f(0x1eb)](this['_row'],this['_column']);}['getInsertOffset'](){const _0x5ad464=_0x4036a9;return this[_0x5ad464(0x250)][_0x5ad464(0x1b6)](this[_0x5ad464(0x218)],this[_0x5ad464(0x1f7)]);}[_0x4036a9(0x231)](){const _0x4d6272=_0x4036a9;return this[_0x4d6272(0x250)]['getCellMargin'](this[_0x4d6272(0x218)],this[_0x4d6272(0x1f7)]);}[_0x4036a9(0x228)](){const _0x625376=_0x4036a9;return this[_0x625376(0x250)][_0x625376(0x210)](this[_0x625376(0x218)],this[_0x625376(0x1f7)]);}[_0x4036a9(0x1ba)](_0xfe0e6e){const _0x48fa07=_0x4036a9;return this[_0x48fa07(0x250)][_0x48fa07(0x1c2)](this[_0x48fa07(0x250)][_0x48fa07(0x1e1)](this[_0x48fa07(0x218)],this[_0x48fa07(0x1f7)]),_0xfe0e6e);}['clearMarginOverride'](){const _0x418381=_0x4036a9;return this[_0x418381(0x250)]['setCellMargin'](this[_0x418381(0x250)][_0x418381(0x1e1)](this['_row'],this[_0x418381(0x1f7)]),null);}[_0x4036a9(0x20f)](_0x46d5de){const _0x3bd5e8=_0x4036a9;return this[_0x3bd5e8(0x250)][_0x3bd5e8(0x243)](this[_0x3bd5e8(0x218)],this[_0x3bd5e8(0x1f7)],_0x46d5de);}[_0x4036a9(0x221)](_0x50d608){const _0x4901d1=_0x4036a9;return this['_table']['setCellBackground'](this[_0x4901d1(0x250)]['getCellRange'](this[_0x4901d1(0x218)],this[_0x4901d1(0x1f7)]),_0x50d608);}['setBorder'](_0x8cf0da){const _0x5f2701=_0x4036a9;return this[_0x5f2701(0x250)]['setBorder'](this['_table'][_0x5f2701(0x1e1)](this['_row'],this['_column']),_0x8cf0da);}['mergeTo'](_0x185ab7,_0x46ad71){const _0x442711=_0x4036a9;return this[_0x442711(0x250)][_0x442711(0x1f9)]({'startRow':this[_0x442711(0x218)],'startColumn':this['_column'],'endRow':this[_0x442711(0x218)]+_0x185ab7-0x1,'endColumn':this[_0x442711(0x1f7)]+_0x46ad71-0x1});}[_0x4036a9(0x219)](){const _0x599320=_0x4036a9;return this[_0x599320(0x250)][_0x599320(0x1b8)](this[_0x599320(0x250)][_0x599320(0x1e1)](this[_0x599320(0x218)],this[_0x599320(0x1f7)]));}};function J(_0x2942e4){'@babel/helpers - typeof';const _0x54a080=_0x4036a9;return J=typeof Symbol==_0x54a080(0x1c8)&&typeof Symbol['iterator']==_0x54a080(0x1ef)?function(_0x5ab14d){return typeof _0x5ab14d;}:function(_0x1eab68){const _0x460348=_0x54a080;return _0x1eab68&&typeof Symbol==_0x460348(0x1c8)&&_0x1eab68[_0x460348(0x1ea)]===Symbol&&_0x1eab68!==Symbol['prototype']?_0x460348(0x1ef):typeof _0x1eab68;},J(_0x2942e4);}function Y(_0x19c3ea,_0x243196){const _0x3e3314=_0x4036a9;if(J(_0x19c3ea)!=_0x3e3314(0x20b)||!_0x19c3ea)return _0x19c3ea;var _0x5f20d6=_0x19c3ea[Symbol['toPrimitive']];if(_0x5f20d6!==void 0x0){var _0x44ff24=_0x5f20d6[_0x3e3314(0x230)](_0x19c3ea,_0x243196||_0x3e3314(0x252));if(J(_0x44ff24)!='object')return _0x44ff24;throw TypeError(_0x3e3314(0x241));}return(_0x243196===_0x3e3314(0x238)?String:Number)(_0x19c3ea);}function X(_0x26d2c8){const _0xa93998=_0x4036a9;var _0x461820=Y(_0x26d2c8,_0xa93998(0x238));return J(_0x461820)==_0xa93998(0x1ef)?_0x461820:_0x461820+'';}function _0x32cb(_0x34c979,_0x2ef4c2){_0x34c979=_0x34c979-0x1a3;const _0x53f190=_0x53f1();let _0x32cb59=_0x53f190[_0x34c979];return _0x32cb59;}function Z(_0x506f91,_0x4c7d25,_0x21939b){const _0x3d8293=_0x4036a9;return(_0x4c7d25=X(_0x4c7d25))in _0x506f91?Object[_0x3d8293(0x1c1)](_0x506f91,_0x4c7d25,{'value':_0x21939b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x506f91[_0x4c7d25]=_0x21939b,_0x506f91;}function Q(_0x1c1e4d,_0x325d0e){return function(_0x584e2f,_0x30f1bf){_0x325d0e(_0x584e2f,_0x30f1bf,_0x1c1e4d);};}function te(_0x5963e1,_0x334e29,_0x13b1ea,_0x2cdca3){const _0x5c3547=_0x4036a9;var _0x2198f4=arguments['length'],_0x39cf53=_0x2198f4<0x3?_0x334e29:_0x2cdca3===null?_0x2cdca3=Object['getOwnPropertyDescriptor'](_0x334e29,_0x13b1ea):_0x2cdca3,_0x57827c;if(typeof Reflect==_0x5c3547(0x20b)&&typeof Reflect[_0x5c3547(0x1d0)]==_0x5c3547(0x1c8))_0x39cf53=Reflect['decorate'](_0x5963e1,_0x334e29,_0x13b1ea,_0x2cdca3);else{for(var _0x438ba5=_0x5963e1[_0x5c3547(0x21a)]-0x1;_0x438ba5>=0x0;_0x438ba5--)(_0x57827c=_0x5963e1[_0x438ba5])&&(_0x39cf53=(_0x2198f4<0x3?_0x57827c(_0x39cf53):_0x2198f4>0x3?_0x57827c(_0x334e29,_0x13b1ea,_0x39cf53):_0x57827c(_0x334e29,_0x13b1ea))||_0x39cf53);}return _0x2198f4>0x3&&_0x39cf53&&Object['defineProperty'](_0x334e29,_0x13b1ea,_0x39cf53),_0x39cf53;}let $=class{constructor(_0x3d7123,_0x1af0dd,_0x3e220a,_0x15f812,_0xb272c0){const _0xb4c359=_0x4036a9;this[_0xb4c359(0x1db)]=_0x3d7123,this[_0xb4c359(0x235)]=_0x1af0dd,this[_0xb4c359(0x22d)]=_0x3e220a,this[_0xb4c359(0x215)]=_0x15f812,this[_0xb4c359(0x22e)]=_0xb272c0,Z(this,_0xb4c359(0x1c5),void 0x0),this[_0xb4c359(0x1c5)]=this[_0xb4c359(0x1db)][_0xb4c359(0x1e8)]();}[_0x4036a9(0x1e8)](){return this['_tableId'];}[_0x4036a9(0x1fc)](){const _0x29f7da=_0x4036a9;return this[_0x29f7da(0x22d)];}['getInfo'](){const _0x1dbb2e=_0x4036a9;return{'id':this[_0x1dbb2e(0x235)],'rowCount':this['getRowCount'](),'columnCount':this[_0x1dbb2e(0x1fa)](),'metadata':this[_0x1dbb2e(0x1b2)](),'source':this[_0x1dbb2e(0x1d8)]()};}[_0x4036a9(0x1ff)](){const _0x3f3891=_0x4036a9;let _0xc844b5=this['getMetadata'](),_0xdcf11f=this['getSource'](),_0x48d9e0=this[_0x3f3891(0x1fa)]();return{'id':this['_tableId'],'rowCount':this[_0x3f3891(0x1f6)](),'columnCount':_0x48d9e0,'headerRowCount':(_0xc844b5==null?void 0x0:_0xc844b5['headerRowCount'])??0x0,'titleRow':(_0xc844b5==null?void 0x0:_0xc844b5['titleRow'])??!0x1,'columns':Array[_0x3f3891(0x1d1)]({'length':_0x48d9e0},(_0xf3ba26,_0x4ad24b)=>{const _0x487b38=_0x3f3891;var _0x25a843,_0x1c6b6f;return{'index':_0x4ad24b,'type':_0xc844b5==null||(_0x25a843=_0xc844b5[_0x487b38(0x23e)])==null||(_0x25a843=_0x25a843[_0x4ad24b])==null?void 0x0:_0x25a843[_0x487b38(0x1fd)],'width':_0xdcf11f==null||(_0x1c6b6f=_0xdcf11f[_0x487b38(0x1c7)][_0x4ad24b])==null?void 0x0:_0x1c6b6f[_0x487b38(0x22c)][_0x487b38(0x1a4)]['v']};}),'sampleRows':Array[_0x3f3891(0x1d1)]({'length':this['getRowCount']()},(_0x2114d3,_0x59e235)=>Array['from']({'length':_0x48d9e0},(_0x4d753c,_0x4c7c9f)=>this[_0x3f3891(0x1f4)](_0x59e235,_0x4c7c9f)))[_0x3f3891(0x201)](_0x323fe8=>_0x323fe8[_0x3f3891(0x244)](_0x4580e8=>_0x4580e8['length']>0x0))[_0x3f3891(0x1e0)](0x0,0x5)};}[_0x4036a9(0x1f6)](){const _0x18f751=_0x4036a9;var _0x267795;return((_0x267795=this[_0x18f751(0x1d8)]())==null?void 0x0:_0x267795[_0x18f751(0x1a6)]['length'])??0x0;}[_0x4036a9(0x1fa)](){const _0x9e78b7=_0x4036a9;var _0x2e99b8;return((_0x2e99b8=this[_0x9e78b7(0x1d8)]())==null?void 0x0:_0x2e99b8[_0x9e78b7(0x1c7)][_0x9e78b7(0x21a)])??0x0;}[_0x4036a9(0x237)](_0x1699d2,_0x313683){const _0xe589db=_0x4036a9;var _0x3808b;return(_0x3808b=this['getSource']())!=null&&(_0x3808b=_0x3808b[_0xe589db(0x1a6)][_0x1699d2])!=null&&_0x3808b[_0xe589db(0x242)][_0x313683]?this['_injector'][_0xe589db(0x21d)](q,this,_0x1699d2,_0x313683):null;}[_0x4036a9(0x1f4)](_0x548260,_0x22f1fa){const _0xcce43f=_0x4036a9;var _0x14853a,_0x52c461;let _0x14c904=(_0x14853a=_0xbce39b(this[_0xcce43f(0x22a)](),this[_0xcce43f(0x235)]))==null||(_0x14853a=_0x14853a[_0xcce43f(0x1b9)][_0x548260])==null?void 0x0:_0x14853a[_0xcce43f(0x247)][_0x22f1fa];return _0x14c904?((_0x52c461=this[_0xcce43f(0x22a)]()[_0xcce43f(0x1d9)])==null?void 0x0:_0x52c461[_0xcce43f(0x1cc)][_0xcce43f(0x1e0)](_0x14c904[_0xcce43f(0x200)]+0x1,_0x14c904['endOffset'])[_0xcce43f(0x1bc)](/\r\n$/,''))??'':'';}[_0x4036a9(0x1d2)](_0x5735fc,_0x35c9c6){const _0x51e12c=_0x4036a9;var _0x2b3f7e;let _0x131ab4=this['getSource'](),_0x23e54f=_0x131ab4==null||(_0x2b3f7e=_0x131ab4['tableRows'][_0x5735fc])==null?void 0x0:_0x2b3f7e[_0x51e12c(0x242)][_0x35c9c6];return _0x23e54f?_0x3c5dc4[_0x51e12c(0x222)](_0x23e54f['margin']??_0x131ab4[_0x51e12c(0x251)]??_0x34e26c):null;}[_0x4036a9(0x210)](_0x54f519,_0x17d586){const _0x586be8=_0x4036a9;var _0x3b7afb;let _0x4933ae=(_0x3b7afb=this[_0x586be8(0x1d8)]())==null||(_0x3b7afb=_0x3b7afb[_0x586be8(0x1a6)][_0x54f519])==null?void 0x0:_0x3b7afb[_0x586be8(0x242)][_0x17d586];return _0x4933ae!=null&&_0x4933ae[_0x586be8(0x239)]?_0x3c5dc4[_0x586be8(0x222)](_0x4933ae[_0x586be8(0x239)]):null;}['getDefaultCellMargin'](){const _0xfa4f28=_0x4036a9;var _0x2cbb8f;return _0x3c5dc4[_0xfa4f28(0x222)](((_0x2cbb8f=this[_0xfa4f28(0x1d8)]())==null?void 0x0:_0x2cbb8f['cellMargin'])??_0x34e26c);}['getDefaultCellMarginOverride'](){const _0x634414=_0x4036a9;var _0x129f60;let _0x2ca8f1=(_0x129f60=this['getSource']())==null?void 0x0:_0x129f60[_0x634414(0x251)];return _0x2ca8f1?_0x3c5dc4['deepClone'](_0x2ca8f1):null;}[_0x4036a9(0x1b2)](){const _0x41588a=_0x4036a9;return this[_0x41588a(0x22e)]['get'](_0x2c557a)[_0x41588a(0x203)](this['_unitId'],this[_0x41588a(0x235)]);}[_0x4036a9(0x1d8)](){const _0x1fe199=_0x4036a9;var _0x1dbb64;return(_0x1dbb64=this[_0x1fe199(0x22a)]()[_0x1fe199(0x1ca)])==null?void 0x0:_0x1dbb64[this[_0x1fe199(0x235)]];}['getRange'](){const _0x57be3d=_0x4036a9;return _0xbce39b(this[_0x57be3d(0x22a)](),this[_0x57be3d(0x235)]);}[_0x4036a9(0x206)](){const _0x371789=_0x4036a9;return{'startRow':0x0,'endRow':Math[_0x371789(0x21b)](0x0,this[_0x371789(0x1f6)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x371789(0x21b)](0x0,this[_0x371789(0x1fa)]()-0x1)};}[_0x4036a9(0x1e1)](_0x56b0ad,_0x726204){return{'startRow':_0x56b0ad,'endRow':_0x56b0ad,'startColumn':_0x726204,'endColumn':_0x726204};}[_0x4036a9(0x1eb)](_0x1e883a,_0x363793){const _0x3d01e2=_0x4036a9;var _0x13d674;let _0x5849ab=(_0x13d674=_0xbce39b(this[_0x3d01e2(0x22a)](),this[_0x3d01e2(0x235)]))==null||(_0x13d674=_0x13d674['rows'][_0x1e883a])==null?void 0x0:_0x13d674[_0x3d01e2(0x247)][_0x363793];if(!_0x5849ab)return null;let _0x114355=_0x5849ab[_0x3d01e2(0x200)]+0x1;return{'startOffset':_0x114355,'endOffset':Math[_0x3d01e2(0x21b)](_0x114355,_0x5849ab[_0x3d01e2(0x1c9)]-0x1),'segmentId':this[_0x3d01e2(0x22d)]};}[_0x4036a9(0x1b6)](_0x19016a,_0x2cf767){const _0x36d116=_0x4036a9;let _0x5a8d70=this[_0x36d116(0x1eb)](_0x19016a,_0x2cf767);return _0x5a8d70?Math['max'](_0x5a8d70[_0x36d116(0x200)],_0x5a8d70[_0x36d116(0x1c9)]-0x1):null;}['getRowRange'](_0x241a6e){const _0x459b76=_0x4036a9;return this[_0x459b76(0x1d3)](_0x241a6e,0x1);}['getRowsRange'](_0x5ad882,_0x43d7e3=0x1){const _0xde40fa=_0x4036a9;return{'startRow':_0x5ad882,'endRow':_0x5ad882+_0x43d7e3-0x1,'startColumn':0x0,'endColumn':Math[_0xde40fa(0x21b)](0x0,this[_0xde40fa(0x1fa)]()-0x1)};}[_0x4036a9(0x21e)](_0x51a5dd){const _0x85df96=_0x4036a9;return this[_0x85df96(0x1f3)](_0x51a5dd,0x1);}[_0x4036a9(0x1f3)](_0x2d1e9b,_0x4a60f3=0x1){const _0x47db65=_0x4036a9;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x47db65(0x1f6)]()-0x1),'startColumn':_0x2d1e9b,'endColumn':_0x2d1e9b+_0x4a60f3-0x1};}['selectTable'](){const _0x317a4d=_0x4036a9;return this[_0x317a4d(0x1bb)](this[_0x317a4d(0x206)](),_0x157e62[_0x317a4d(0x1bd)]);}['selectRow'](_0x585f31){return this['selectRows'](_0x585f31,0x1);}['selectRows'](_0x5fc645,_0x472e61=0x1){const _0xc8417e=_0x4036a9;return this[_0xc8417e(0x1bb)](this['getRowsRange'](_0x5fc645,_0x472e61),_0x157e62[_0xc8417e(0x1ad)]);}[_0x4036a9(0x212)](_0x3f9b01){const _0x44644b=_0x4036a9;return this[_0x44644b(0x1c4)](_0x3f9b01,0x1);}[_0x4036a9(0x1c4)](_0x5c08ac,_0x252c07=0x1){const _0x10b9b0=_0x4036a9;return this[_0x10b9b0(0x1bb)](this[_0x10b9b0(0x1f3)](_0x5c08ac,_0x252c07),_0x157e62[_0x10b9b0(0x236)]);}['selectCell'](_0x1faf6f,_0x10951d){const _0x155146=_0x4036a9;return this[_0x155146(0x1bb)](this[_0x155146(0x1e1)](_0x1faf6f,_0x10951d),_0x157e62['Cell']);}['selectRange'](_0x52a244,_0x3b0047=_0x157e62['Range']){const _0x5757a0=_0x4036a9;return this[_0x5757a0(0x22e)]['get'](_0x4e85cf)[_0x5757a0(0x1ed)]({..._0x52a244,'kind':_0x3b0047,'segmentId':this[_0x5757a0(0x22d)],'tableId':this[_0x5757a0(0x235)]}),!0x0;}[_0x4036a9(0x23b)](_0x4b5592){return this['insertRowsBefore'](_0x4b5592,0x1);}[_0x4036a9(0x21f)](_0x27e2da){return this['insertRowsAfter'](_0x27e2da,0x1);}['insertRowsBefore'](_0x274941,_0x2ba0c5){const _0x91cd23=_0x4036a9;let _0xf2d219=this[_0x91cd23(0x22a)](),_0x2cf96b=_0x402628(_0xf2d219,this['_tableId'],_0x274941,_0x2ba0c5,_0x1d57e5[_0x91cd23(0x1f5)],this[_0x91cd23(0x1dc)]());return _0x2cf96b?this[_0x91cd23(0x1cd)](_0xf2d219,_0x2cf96b[_0x91cd23(0x24e)]):!0x1;}['insertRowsAfter'](_0x8e9f92,_0x4be148){const _0x30058a=_0x4036a9;let _0x2af95d=this['_getDocumentData'](),_0x135be1=_0x402628(_0x2af95d,this['_tableId'],_0x8e9f92,_0x4be148,_0x1d57e5[_0x30058a(0x1e2)],this[_0x30058a(0x1dc)]());return _0x135be1?this[_0x30058a(0x1cd)](_0x2af95d,_0x135be1[_0x30058a(0x24e)]):!0x1;}[_0x4036a9(0x232)](){const _0x1ede92=_0x4036a9;return this['insertRowsAfter'](Math[_0x1ede92(0x21b)](0x0,this[_0x1ede92(0x1f6)]()-0x1),0x1);}[_0x4036a9(0x1c6)](_0x34c085){const _0x274b36=_0x4036a9;return this[_0x274b36(0x22b)](_0x34c085,0x1);}[_0x4036a9(0x220)](_0x3941ac){return this['insertColumnsAfter'](_0x3941ac,0x1);}[_0x4036a9(0x22b)](_0x5de0b0,_0x35a128){const _0x51c4cf=_0x4036a9;let _0x52cb74=this[_0x51c4cf(0x22a)](),_0x465737=_0x2a6322(_0x52cb74,this[_0x51c4cf(0x235)],_0x5de0b0,_0x35a128,_0x1d57e5[_0x51c4cf(0x1cb)],{'bodyPath':this['_getBodyPath']()});return _0x465737?this[_0x51c4cf(0x1cd)](_0x52cb74,_0x465737[_0x51c4cf(0x24e)]):!0x1;}[_0x4036a9(0x209)](_0x2121c5,_0x405d1b){const _0x4d7163=_0x4036a9;let _0x264bfb=this['_getDocumentData'](),_0x16ccc=_0x2a6322(_0x264bfb,this[_0x4d7163(0x235)],_0x2121c5,_0x405d1b,_0x1d57e5[_0x4d7163(0x211)],{'bodyPath':this[_0x4d7163(0x1dc)]()});return _0x16ccc?this['_mutateActions'](_0x264bfb,_0x16ccc['actions']):!0x1;}[_0x4036a9(0x1c3)](){const _0x4436e7=_0x4036a9;return this[_0x4436e7(0x209)](Math[_0x4436e7(0x21b)](0x0,this[_0x4436e7(0x1fa)]()-0x1),0x1);}['deleteRow'](_0x43c9c0){const _0x1163e3=_0x4036a9;return this[_0x1163e3(0x20a)](_0x43c9c0,0x1);}[_0x4036a9(0x20a)](_0x459493,_0x699b0f=0x1){const _0x325d2c=_0x4036a9;return!!this[_0x325d2c(0x215)][_0x325d2c(0x1a7)](_0x2a1250['id'],{'endRow':_0x459493+_0x699b0f-0x1,'segmentId':this[_0x325d2c(0x22d)],'startRow':_0x459493,'tableId':this[_0x325d2c(0x235)],'unitId':this[_0x325d2c(0x1c5)]});}['deleteColumn'](_0x2baca9){const _0x339003=_0x4036a9;return this[_0x339003(0x1ae)](_0x2baca9,0x1);}['deleteColumns'](_0x5d04cb,_0xd33d0e=0x1){const _0x5e82e1=_0x4036a9;return!!this[_0x5e82e1(0x215)]['syncExecuteCommand'](_0x49cc55['id'],{'endColumn':_0x5d04cb+_0xd33d0e-0x1,'segmentId':this[_0x5e82e1(0x22d)],'startColumn':_0x5d04cb,'tableId':this[_0x5e82e1(0x235)],'unitId':this[_0x5e82e1(0x1c5)]});}[_0x4036a9(0x1e9)](){const _0x3892f0=_0x4036a9;return!!this['_commandService'][_0x3892f0(0x1a7)](_0x4fc161['id'],{'segmentId':this[_0x3892f0(0x22d)],'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x4036a9(0x1e6)](_0x478135,_0x437a32){const _0x5a8b0f=_0x4036a9;let _0x3be725=this[_0x5a8b0f(0x22a)]();return this['_mutateActions'](_0x3be725,_0x192d58(_0x3be725,this[_0x5a8b0f(0x235)],_0x478135,_0x437a32));}[_0x4036a9(0x225)](_0x4fa0e9){const _0x44fd19=_0x4036a9;let _0x71062f=this['_getDocumentData']();return this['_mutateActions'](_0x71062f,_0x266814(_0x71062f,this[_0x44fd19(0x235)],_0x4fa0e9,this[_0x44fd19(0x1dc)]()));}[_0x4036a9(0x1b4)](_0x41887d,_0x3affd5,_0x49bd97=_0x1d57e5[_0x4036a9(0x1f5)]){return this['moveRows'](_0x41887d,0x1,_0x3affd5,_0x49bd97);}[_0x4036a9(0x1d6)](_0x272c5c,_0x1c637b,_0x3ac08c,_0x3c6e12=_0x1d57e5[_0x4036a9(0x1f5)]){const _0x5200eb=_0x4036a9;let _0x284763=this[_0x5200eb(0x22a)](),_0x10e739=_0x4895b8(_0x284763,this[_0x5200eb(0x235)],_0x272c5c,_0x3ac08c,_0x1c637b,_0x3c6e12,this[_0x5200eb(0x1dc)]());return _0x10e739?this[_0x5200eb(0x1cd)](_0x284763,_0x10e739[_0x5200eb(0x24e)]):!0x1;}['moveColumn'](_0x504e49,_0x414259,_0x98deb6=_0x1d57e5[_0x4036a9(0x1cb)]){const _0x2aaa9d=_0x4036a9;return this[_0x2aaa9d(0x207)](_0x504e49,0x1,_0x414259,_0x98deb6);}[_0x4036a9(0x207)](_0x1fd90a,_0x6f3d9d,_0xfb55a0,_0x208bac=_0x1d57e5[_0x4036a9(0x1cb)]){const _0x2b4e0b=_0x4036a9;let _0x22ef3f=this[_0x2b4e0b(0x22a)](),_0x3177ca=_0x2be81f(_0x22ef3f,this[_0x2b4e0b(0x235)],_0x1fd90a,_0xfb55a0,_0x6f3d9d,_0x208bac,this[_0x2b4e0b(0x1dc)]());return _0x3177ca?this[_0x2b4e0b(0x1cd)](_0x22ef3f,_0x3177ca[_0x2b4e0b(0x24e)]):!0x1;}[_0x4036a9(0x1f9)](_0x54e779){const _0x482fd0=_0x4036a9;try{let _0x3fe984=this[_0x482fd0(0x22a)](),_0x55ac24=_0x171bb4({'documentData':_0x3fe984,'tableId':this[_0x482fd0(0x235)],..._0x54e779});return _0x55ac24?this[_0x482fd0(0x1cd)](_0x3fe984,_0x55ac24[_0x482fd0(0x24e)],_0x54e779):!0x1;}catch{return!0x1;}}[_0x4036a9(0x1b8)](_0x180a40){const _0x316664=_0x4036a9;try{let _0x271afb=this[_0x316664(0x22a)](),_0x2f842f=_0x376098({'documentData':_0x271afb,'tableId':this[_0x316664(0x235)],..._0x180a40});return _0x2f842f?this[_0x316664(0x1cd)](_0x271afb,_0x2f842f[_0x316664(0x24e)],_0x180a40):!0x1;}catch{return!0x1;}}[_0x4036a9(0x243)](_0x263ae7,_0x4321b9,_0x457cfe){const _0x3bb5c9=_0x4036a9;let _0x3c1848=this[_0x3bb5c9(0x22a)](),_0x5d77b4=_0x57b371(this[_0x3bb5c9(0x1db)][_0x3bb5c9(0x1c0)]()[_0x3bb5c9(0x1bf)](),this[_0x3bb5c9(0x22d)]);return this[_0x3bb5c9(0x1cd)](_0x3c1848,_0x2e8320({'documentData':_0x3c1848,'tableId':this[_0x3bb5c9(0x235)],'row':_0x263ae7,'column':_0x4321b9,'text':_0x457cfe},_0x5d77b4),this[_0x3bb5c9(0x1e1)](_0x263ae7,_0x4321b9));}[_0x4036a9(0x202)](_0x47b8b4,_0x5ca0d4){const _0x334eaf=_0x4036a9;let _0x3a4843=this[_0x334eaf(0x22a)]();return this[_0x334eaf(0x1cd)](_0x3a4843,_0x5635b4(_0x3a4843,{'tableId':this[_0x334eaf(0x235)],..._0x47b8b4,'value':_0x5ca0d4}),_0x47b8b4);}[_0x4036a9(0x1c2)](_0x58085c,_0x2b7c16){const _0x434ce9=_0x4036a9;let _0x477009=this['_getDocumentData']();return this['_mutateActions'](_0x477009,_0x547277({'documentData':_0x477009,'tableId':this[_0x434ce9(0x235)],..._0x58085c,'margin':_0x2b7c16}),_0x58085c);}[_0x4036a9(0x229)](_0x30a21a){const _0x2b10e0=_0x4036a9;let _0x51293c=this[_0x2b10e0(0x22a)]();return this[_0x2b10e0(0x1cd)](_0x51293c,_0x2cd113(_0x51293c,this['_tableId'],_0x30a21a));}[_0x4036a9(0x23a)](_0x20b19e,_0x4658af){const _0x461a54=_0x4036a9;let _0x419668=this[_0x461a54(0x22a)]();return this['_mutateActions'](_0x419668,_0x356f5b({'documentData':_0x419668,'tableId':this['_tableId'],..._0x20b19e,'preset':_0x4658af[_0x461a54(0x1f1)]??_0x2156ac[_0x461a54(0x24f)],'border':_0x4658af[_0x461a54(0x1fb)]??{'color':{'rgb':_0x4658af['color']??_0x461a54(0x1d7)},'width':{'v':_0x4658af[_0x461a54(0x1a4)]??0x1},'dashStyle':_0x1ddec5[_0x461a54(0x253)]}}),_0x20b19e);}[_0x4036a9(0x1b3)](_0x177dc9){const _0x298270=_0x4036a9;return this[_0x298270(0x202)](this[_0x298270(0x206)](),_0x177dc9);}['setTableBorder'](_0x29a81d){const _0x54d737=_0x4036a9;return this[_0x54d737(0x23a)](this[_0x54d737(0x206)](),_0x29a81d);}[_0x4036a9(0x245)](_0x4169b4){const _0x44f745=_0x4036a9;let _0x28352e=!_0x4169b4[_0x44f745(0x20d)]||this['setTableBackground'](_0x4169b4[_0x44f745(0x20d)]),_0x27b8b3=!_0x4169b4[_0x44f745(0x1fb)]||this[_0x44f745(0x1e4)](_0x4169b4['border']);return _0x28352e&&_0x27b8b3;}[_0x4036a9(0x24d)](_0xc0a689,_0x34d72e,_0x6cda62=_0x530e11[_0x4036a9(0x20c)]){const _0x3b5348=_0x4036a9;var _0x5b191a;let _0x3f8a86=this[_0x3b5348(0x22a)]();return(_0x5b191a=_0x3f8a86[_0x3b5348(0x1ca)])!=null&&(_0x5b191a=_0x5b191a[this[_0x3b5348(0x235)]])!=null&&_0x5b191a[_0x3b5348(0x1a6)][_0xc0a689]?this['_mutateActions'](_0x3f8a86,_0x14db2a(_0x3f8a86,this['_tableId'],_0xc0a689,_0x34d72e,_0x6cda62)):!0x1;}['getRowHeight'](_0x1d159c){const _0x858914=_0x4036a9;var _0x27abf9;let _0x295e97=(_0x27abf9=this['getSource']())==null||(_0x27abf9=_0x27abf9['tableRows'][_0x1d159c])==null?void 0x0:_0x27abf9[_0x858914(0x24a)];return _0x295e97?_0x3c5dc4['deepClone'](_0x295e97):null;}[_0x4036a9(0x1be)](_0x42923a,_0x4f40a4){const _0x129e2a=_0x4036a9;var _0x5005a9;let _0x5899eb=this[_0x129e2a(0x22a)]();return(_0x5005a9=_0x5899eb[_0x129e2a(0x1ca)])!=null&&(_0x5005a9=_0x5005a9[this[_0x129e2a(0x235)]])!=null&&_0x5005a9[_0x129e2a(0x1c7)][_0x42923a]?this[_0x129e2a(0x1cd)](_0x5899eb,_0x4b322e(_0x5899eb,this[_0x129e2a(0x235)],_0x42923a,_0x4f40a4)):!0x1;}[_0x4036a9(0x217)](_0x14f5cb=0x0,_0x4c5932=this[_0x4036a9(0x1f6)]()){const _0x53dd71=_0x4036a9;let _0x40f57f=this[_0x53dd71(0x22a)]();return this[_0x53dd71(0x1cd)](_0x40f57f,_0x4d0c44(_0x40f57f,this['_tableId'],_0x14f5cb,_0x14f5cb+_0x4c5932-0x1));}[_0x4036a9(0x224)](_0x20e661=0x0,_0x5b809c=this[_0x4036a9(0x1fa)]()){const _0x179313=_0x4036a9;let _0x5cc3e8=this[_0x179313(0x22a)]();return this[_0x179313(0x1cd)](_0x5cc3e8,_0x147d93(_0x5cc3e8,this[_0x179313(0x235)],_0x20e661,_0x20e661+_0x5b809c-0x1));}[_0x4036a9(0x1b7)](){var _0x249e64;return((_0x249e64=this['getMetadata']())==null?void 0x0:_0x249e64['headerRowCount'])??0x0;}['setHeaderRowCount'](_0x4c4068){const _0x418e21=_0x4036a9;let _0xa4ae7a=this[_0x418e21(0x22e)][_0x418e21(0x1ce)](_0x2c557a),_0xef1270=this[_0x418e21(0x22a)](),_0x3243dd=_0x20f357(_0xef1270,this[_0x418e21(0x235)],_0x4c4068);if(!_0x3243dd)return!0x1;let _0x4beb82=this[_0x418e21(0x1cd)](_0xef1270,_0x3243dd[_0x418e21(0x24e)]);return _0x4beb82&&_0xa4ae7a[_0x418e21(0x1dd)](this[_0x418e21(0x1c5)],this[_0x418e21(0x235)],_0x3243dd['headerRowCount']),_0x4beb82;}[_0x4036a9(0x1aa)](_0xe986d){const _0x3836d8=_0x4036a9;return this[_0x3836d8(0x1dd)](_0xe986d);}[_0x4036a9(0x226)](){const _0x263938=_0x4036a9;var _0x11b8ae;return((_0x11b8ae=this[_0x263938(0x1b2)]())==null?void 0x0:_0x11b8ae[_0x263938(0x1d4)])??!0x1;}[_0x4036a9(0x1a3)](){const _0x38acc2=_0x4036a9;let _0xa8dd6e=this['_injector'][_0x38acc2(0x1ce)](_0x2c557a),_0x319904=this[_0x38acc2(0x22a)](),_0x95a75d=_0x1e1018(_0x319904,this[_0x38acc2(0x235)],this[_0x38acc2(0x1dc)]());if(!_0x95a75d)return!0x1;let _0x446d49=this[_0x38acc2(0x1cd)](_0x319904,_0x95a75d['actions']);return _0x446d49&&_0xa8dd6e[_0x38acc2(0x214)](this['_unitId'],this[_0x38acc2(0x235)],!0x0),_0x446d49;}['setColumnType'](_0x10a3cd,_0x57a035){const _0x5a107b=_0x4036a9;return this[_0x5a107b(0x22e)][_0x5a107b(0x1ce)](_0x2c557a)['setColumnType'](this[_0x5a107b(0x1c5)],this['_tableId'],_0x10a3cd,_0x57a035),!0x0;}[_0x4036a9(0x1ee)](_0x5bef08,_0x134af6){const _0x413df4=_0x4036a9;let _0x5414f7=this['_getDocumentData']();return this[_0x413df4(0x1cd)](_0x5414f7,_0x4612a6(_0x5414f7,this[_0x413df4(0x1a8)](),this[_0x413df4(0x235)],_0x5bef08,_0x134af6,this[_0x413df4(0x1dc)]()));}[_0x4036a9(0x22a)](){const _0x4dba1b=_0x4036a9;let _0x288ddd=this[_0x4dba1b(0x1db)][_0x4dba1b(0x1c0)]()[_0x4dba1b(0x1bf)]();return this[_0x4dba1b(0x22d)]?{...this[_0x4dba1b(0x1db)][_0x4dba1b(0x1c0)](this[_0x4dba1b(0x22d)])[_0x4dba1b(0x1bf)](),'documentStyle':_0x288ddd[_0x4dba1b(0x205)],'tableSource':_0x288ddd[_0x4dba1b(0x1ca)]}:_0x288ddd;}[_0x4036a9(0x1a8)](){const _0x2d05a8=_0x4036a9;return this[_0x2d05a8(0x22e)][_0x2d05a8(0x1ce)](_0x2c557a)[_0x2d05a8(0x1a9)](this[_0x2d05a8(0x1c5)]);}['_getBodyPath'](){const _0x4fffc1=_0x4036a9;return _0x57b371(this['_document']['getDocumentDataModel']()[_0x4fffc1(0x1bf)](),this[_0x4fffc1(0x22d)]);}['_mutateActions'](_0x5ae7c8,_0x498f02,_0xfc8f31){const _0x2785a6=_0x4036a9;return _0x116d8f(this[_0x2785a6(0x215)],this['_unitId'],_0x5ae7c8,_0x498f02,_0xfc8f31?{'tableId':this[_0x2785a6(0x235)],'segmentId':this[_0x2785a6(0x22d)],..._0xfc8f31}:void 0x0);}};$=te([Q(0x3,_0x3029fa),Q(0x4,_0x11f1a5(_0xbdc167))],$);var ne=class extends _0x598394{[_0x4036a9(0x22f)](_0x14c626=''){const _0x10f2f1=_0x4036a9;return this['_getTables'](_0x14c626)[_0x10f2f1(0x1b5)](_0x2e8012=>this[_0x10f2f1(0x1de)](_0x2e8012[_0x10f2f1(0x1f8)],_0x14c626));}['getTable'](_0x19942b,_0x386336=''){const _0x17c90e=_0x4036a9;return this['_getTables'](_0x386336)['some'](_0x125ee8=>_0x125ee8['tableId']===_0x19942b)?this[_0x17c90e(0x1de)](_0x19942b,_0x386336):null;}['getTableAt'](_0x38df92,_0x4d2b6d=''){const _0x2ad96b=_0x4036a9;var _0x3045da;let _0x549d25=(_0x3045da=this[_0x2ad96b(0x1af)](_0x4d2b6d)[_0x38df92])==null?void 0x0:_0x3045da[_0x2ad96b(0x1f8)];return _0x549d25?this[_0x2ad96b(0x1de)](_0x549d25,_0x4d2b6d):null;}[_0x4036a9(0x1b0)](){const _0x50f38f=_0x4036a9;let _0x3d875d=this[_0x50f38f(0x22e)][_0x50f38f(0x1ce)](_0x4e85cf)[_0x50f38f(0x1df)]();return _0x3d875d!=null&&_0x3d875d[_0x50f38f(0x1f8)]?this[_0x50f38f(0x1de)](_0x3d875d['tableId'],_0x3d875d[_0x50f38f(0x204)]):null;}[_0x4036a9(0x246)](_0xbefe74,_0x537a5c=''){const _0xd1973=_0x4036a9;return this[_0xd1973(0x23c)](_0xbefe74,_0x537a5c)[0x0]??null;}[_0x4036a9(0x23c)](_0x1df2fc,_0x3b471a=''){const _0x310227=_0x4036a9;let _0x21bbe4=this['_getTableDocumentData'](_0x3b471a),_0x5b03dc=typeof _0x1df2fc==_0x310227(0x238)?{'text':_0x1df2fc}:_0x1df2fc;return this[_0x310227(0x22f)](_0x3b471a)[_0x310227(0x201)](_0xfb188a=>{const _0x152026=_0x310227;let _0x32fd0f=_0xfb188a[_0x152026(0x1e8)]();return!(_0x5b03dc[_0x152026(0x1f8)]&&_0x32fd0f!==_0x5b03dc[_0x152026(0x1f8)]||_0x5b03dc[_0x152026(0x249)]&&!this[_0x152026(0x1e5)](_0x21bbe4,_0x32fd0f,_0x5b03dc[_0x152026(0x249)])||_0x5b03dc['headerText']&&!this[_0x152026(0x23d)](_0xfb188a,0x0,_0x5b03dc[_0x152026(0x240)])||_0x5b03dc[_0x152026(0x24c)]&&!this[_0x152026(0x23d)](_0xfb188a,0x0,_0x5b03dc[_0x152026(0x24c)]));});}['insertTable'](_0x2b66d8,_0x824a5d,_0x1c65b8={}){const _0x425562=_0x4036a9;let _0x59adb9=this[_0x425562(0x22e)][_0x425562(0x1ce)](_0x3029fa),_0x57b90=_0x1c65b8['tableId']??_0x446707(0x6);return _0x59adb9[_0x425562(0x1a7)](_0xddb132['id'],{..._0x1c65b8,'unitId':this[_0x425562(0x1e8)](),'rows':_0x2b66d8,'columns':_0x824a5d,'tableId':_0x57b90})?this[_0x425562(0x1de)](_0x57b90,_0x1c65b8['segmentId']??''):null;}[_0x4036a9(0x216)](_0x34d5e1,_0x54946f={}){const _0x5e14df=_0x4036a9;let _0x8811de=this[_0x5e14df(0x22e)][_0x5e14df(0x1ce)](_0x3029fa),_0x315797=_0x54946f[_0x5e14df(0x1f8)]??_0x446707(0x6);return _0x8811de[_0x5e14df(0x1a7)](_0xddb132['id'],{..._0x54946f,'unitId':this[_0x5e14df(0x1e8)](),'values':_0x34d5e1,'tableId':_0x315797})?this['_createFDocumentTable'](_0x315797,_0x54946f[_0x5e14df(0x204)]??''):null;}[_0x4036a9(0x1af)](_0x23dd9a=''){const _0x3eea1f=_0x4036a9;let {tables:_0x785b9d=[]}=this[_0x3eea1f(0x223)](_0x23dd9a);return _0x785b9d;}[_0x4036a9(0x1da)](_0x4f5154=''){const _0x5f00bb=_0x4036a9;let _0x4723b6=this['getDocumentDataModel']()[_0x5f00bb(0x1bf)]();return _0x4f5154?{...this[_0x5f00bb(0x1c0)](_0x4f5154)[_0x5f00bb(0x1bf)](),'documentStyle':_0x4723b6['documentStyle'],'tableSource':_0x4723b6['tableSource']}:_0x4723b6;}[_0x4036a9(0x1de)](_0x370d70,_0x295420=''){const _0x17a0ab=_0x4036a9;return this[_0x17a0ab(0x22e)][_0x17a0ab(0x21d)]($,this,_0x370d70,_0x295420);}[_0x4036a9(0x1e5)](_0x8d4758,_0x459f6c,_0xb74a2e){const _0x5473a4=_0x4036a9;var _0x1f2085;let _0x5433b=_0xbce39b(_0x8d4758,_0x459f6c);if(!_0x5433b)return!0x1;let _0x4ba199=(_0x1f2085=_0x8d4758[_0x5473a4(0x1d9)])==null?void 0x0:_0x1f2085[_0x5473a4(0x1cc)];return _0x4ba199?_0x4ba199[_0x5473a4(0x1e0)](_0x5433b['startOffset'],_0x5433b[_0x5473a4(0x1c9)])[_0x5473a4(0x21c)](_0xb74a2e):!0x1;}[_0x4036a9(0x23d)](_0x5be17e,_0x323713,_0x550442){const _0x3454ca=_0x4036a9;return Array[_0x3454ca(0x1d1)]({'length':_0x5be17e[_0x3454ca(0x1fa)]()},(_0x3491c0,_0x1fcaff)=>_0x5be17e[_0x3454ca(0x1f4)](_0x323713,_0x1fcaff))['some'](_0x7174e2=>_0x7174e2[_0x3454ca(0x21c)](_0x550442));}};_0x598394['extend'](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|
|
1
|
+
const _0x47fd2f=_0x421b;(function(_0x39c1e4,_0xcdf77f){const _0x3ab692=_0x421b,_0x25ec68=_0x39c1e4();while(!![]){try{const _0x45853b=-parseInt(_0x3ab692(0x129))/0x1*(parseInt(_0x3ab692(0x169))/0x2)+-parseInt(_0x3ab692(0x126))/0x3*(-parseInt(_0x3ab692(0x10b))/0x4)+-parseInt(_0x3ab692(0x1a3))/0x5+parseInt(_0x3ab692(0x104))/0x6*(parseInt(_0x3ab692(0x19b))/0x7)+parseInt(_0x3ab692(0x1b3))/0x8+-parseInt(_0x3ab692(0x11e))/0x9*(-parseInt(_0x3ab692(0x1b4))/0xa)+-parseInt(_0x3ab692(0x15a))/0xb*(parseInt(_0x3ab692(0x141))/0xc);if(_0x45853b===_0xcdf77f)break;else _0x25ec68['push'](_0x25ec68['shift']());}catch(_0x3d7bc5){_0x25ec68['push'](_0x25ec68['shift']());}}}(_0x4c2e,0x82c89));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0xa68050,DocsTableBorderPreset as _0x3fc8f8,DocsTableColumnInsertPosition as _0x263553,DocsTableColumnType as _0x3c2319,DocsTableDeleteColumnsCommand as _0x2b8f2f,DocsTableDeleteRowsCommand as _0x20b192,DocsTableDeleteTableCommand as _0x2241ec,DocsTableInsertPosition as _0x26684c,DocsTableInsertTableCommand as _0x3bc41b,DocsTableInsertTablePosition as _0x4917d8,DocsTableModel as _0x2cf60a,DocsTableRowInsertPosition as _0x1f7656,DocsTableSelectionKind as _0x1a01fa,DocsTableSelectionService as _0x46bca0,DocsTableSortDirection as _0x5bf7b4,buildDistributeTableColumnsMutationActions as _0x49dc89,buildDistributeTableRowsMutationActions as _0x3ddda9,buildInsertTableColumnsMutationActions as _0x3d7200,buildInsertTableRowsMutationActions as _0x13d422,buildInsertTableTitleRowMutationActions as _0xe68bbf,buildMergeCellsMutationActions as _0xb06fda,buildMoveFloatingTableMutationActions as _0x2119bd,buildMoveTableColumnsMutationActions as _0x510aa9,buildMoveTableRowsMutationActions as _0x50abcf,buildMoveTableToOffsetMutationActions as _0x40a9af,buildResizeTableColumnActionsFromWidth as _0x3acf1d,buildResizeTableRowActionsFromHeight as _0x3fd61d,buildSetTableBackgroundMutationActions as _0x3b6646,buildSetTableBorderMutationActions as _0x21d7f8,buildSetTableCellMarginMutationActions as _0x253de6,buildSetTableCellTextMutationActions as _0xd421fb,buildSetTableDefaultCellMarginMutationActions as _0x101d84,buildSetTableHeaderRowCountMutationActions as _0x1af443,buildSortTableMutationActions as _0xebe1ad,buildUnmergeCellsMutationActions as _0x3be8f5,executeRichTextTableActions as _0xb6be76,getTableActionBodyPath as _0x4babab,getTableRangeById as _0x2c5196}from'@univerjs-pro/docs-table';import{DashStyleType as _0x707e74,ICommandService as _0x17e1b5,Inject as _0x21d25f,Injector as _0x4ef01b,TableRowHeightRule as _0x205477,Tools as _0x56fc73,generateRandomId as _0x593063}from'@univerjs/core';import{FEnum as _0x44216a}from'@univerjs/core/facade';function _0x421b(_0x2418d0,_0xbdf592){_0x2418d0=_0x2418d0-0x104;const _0x4c2e0c=_0x4c2e();let _0x421b03=_0x4c2e0c[_0x2418d0];return _0x421b03;}import{FDocument as _0x5234ad}from'@univerjs/docs/facade';var K=class extends _0x44216a{get[_0x47fd2f(0x156)](){return _0x4917d8;}get[_0x47fd2f(0x16d)](){return _0x3c2319;}get['DocsTableSelectionKind'](){return _0x1a01fa;}get[_0x47fd2f(0x18b)](){return _0x1f7656;}get[_0x47fd2f(0x153)](){return _0x263553;}get[_0x47fd2f(0x1b6)](){return _0x3fc8f8;}get[_0x47fd2f(0x174)](){return _0x5bf7b4;}get['DashStyleType'](){return _0x707e74;}};_0x44216a['extend'](K);var q=class{constructor(_0x53f445,_0x4cdc93,_0x20f833){const _0x463954=_0x47fd2f;this[_0x463954(0x1ba)]=_0x53f445,this[_0x463954(0x154)]=_0x4cdc93,this[_0x463954(0x14a)]=_0x20f833;}['getTable'](){return this['_table'];}[_0x47fd2f(0x164)](){const _0x2d12e0=_0x47fd2f;return this[_0x2d12e0(0x154)];}['getColumnIndex'](){const _0x51cc7e=_0x47fd2f;return this[_0x51cc7e(0x14a)];}[_0x47fd2f(0x19e)](){const _0x4bbe30=_0x47fd2f;return this[_0x4bbe30(0x1ba)][_0x4bbe30(0x117)](this[_0x4bbe30(0x154)],this['_column']);}[_0x47fd2f(0x162)](){const _0x13d0c5=_0x47fd2f;return this['_table'][_0x13d0c5(0x17c)](this['_row'],this['_column']);}[_0x47fd2f(0x139)](){const _0x2e9bc6=_0x47fd2f;return this['_table']['getCellInsertOffset'](this[_0x2e9bc6(0x154)],this[_0x2e9bc6(0x14a)]);}[_0x47fd2f(0x12a)](){const _0x14667c=_0x47fd2f;return this[_0x14667c(0x1ba)][_0x14667c(0x199)](this[_0x14667c(0x154)],this[_0x14667c(0x14a)]);}['getMarginOverride'](){const _0xee6140=_0x47fd2f;return this[_0xee6140(0x1ba)][_0xee6140(0x143)](this[_0xee6140(0x154)],this[_0xee6140(0x14a)]);}['setMargin'](_0x1d7765){const _0x36031f=_0x47fd2f;return this['_table'][_0x36031f(0x192)](this[_0x36031f(0x1ba)][_0x36031f(0x11d)](this[_0x36031f(0x154)],this[_0x36031f(0x14a)]),_0x1d7765);}[_0x47fd2f(0x1b2)](){const _0x5c4ee1=_0x47fd2f;return this[_0x5c4ee1(0x1ba)]['setCellMargin'](this[_0x5c4ee1(0x1ba)][_0x5c4ee1(0x11d)](this['_row'],this[_0x5c4ee1(0x14a)]),null);}[_0x47fd2f(0x1a8)](_0x5f3591){const _0x2d4b54=_0x47fd2f;return this[_0x2d4b54(0x1ba)][_0x2d4b54(0x144)](this[_0x2d4b54(0x154)],this[_0x2d4b54(0x14a)],_0x5f3591);}[_0x47fd2f(0x123)](_0x488975){const _0x133050=_0x47fd2f;return this[_0x133050(0x1ba)][_0x133050(0x121)](this['_table'][_0x133050(0x11d)](this[_0x133050(0x154)],this[_0x133050(0x14a)]),_0x488975);}['setBorder'](_0xa9ef47){const _0x149a4c=_0x47fd2f;return this['_table'][_0x149a4c(0x196)](this[_0x149a4c(0x1ba)][_0x149a4c(0x11d)](this[_0x149a4c(0x154)],this[_0x149a4c(0x14a)]),_0xa9ef47);}[_0x47fd2f(0x109)](_0x27df92,_0x3c88e5){const _0x14abac=_0x47fd2f;return this[_0x14abac(0x1ba)][_0x14abac(0x157)]({'startRow':this[_0x14abac(0x154)],'startColumn':this[_0x14abac(0x14a)],'endRow':this[_0x14abac(0x154)]+_0x27df92-0x1,'endColumn':this[_0x14abac(0x14a)]+_0x3c88e5-0x1});}[_0x47fd2f(0x11b)](){const _0x1fa250=_0x47fd2f;return this[_0x1fa250(0x1ba)]['unmergeCells'](this[_0x1fa250(0x1ba)][_0x1fa250(0x11d)](this[_0x1fa250(0x154)],this[_0x1fa250(0x14a)]));}};function J(_0x28b86a){'@babel/helpers - typeof';const _0x13b0f8=_0x47fd2f;return J=typeof Symbol=='function'&&typeof Symbol[_0x13b0f8(0x1ac)]==_0x13b0f8(0x17f)?function(_0x167d92){return typeof _0x167d92;}:function(_0x24f20a){const _0x9b1bd9=_0x13b0f8;return _0x24f20a&&typeof Symbol==_0x9b1bd9(0x17e)&&_0x24f20a[_0x9b1bd9(0x173)]===Symbol&&_0x24f20a!==Symbol['prototype']?_0x9b1bd9(0x17f):typeof _0x24f20a;},J(_0x28b86a);}function Y(_0x28af3d,_0x410c04){const _0x14fc32=_0x47fd2f;if(J(_0x28af3d)!='object'||!_0x28af3d)return _0x28af3d;var _0x48b072=_0x28af3d[Symbol[_0x14fc32(0x11c)]];if(_0x48b072!==void 0x0){var _0x4a4751=_0x48b072['call'](_0x28af3d,_0x410c04||_0x14fc32(0x194));if(J(_0x4a4751)!='object')return _0x4a4751;throw TypeError(_0x14fc32(0x10c));}return(_0x410c04===_0x14fc32(0x108)?String:Number)(_0x28af3d);}function X(_0xc0c3b){const _0x1fe7c6=_0x47fd2f;var _0x26851c=Y(_0xc0c3b,_0x1fe7c6(0x108));return J(_0x26851c)==_0x1fe7c6(0x17f)?_0x26851c:_0x26851c+'';}function Z(_0x195f13,_0x5b64df,_0xa52152){const _0x21f317=_0x47fd2f;return(_0x5b64df=X(_0x5b64df))in _0x195f13?Object[_0x21f317(0x146)](_0x195f13,_0x5b64df,{'value':_0xa52152,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x195f13[_0x5b64df]=_0xa52152,_0x195f13;}function Q(_0x5a8b4d,_0x741622){return function(_0x38b0f3,_0x3de095){_0x741622(_0x38b0f3,_0x3de095,_0x5a8b4d);};}function te(_0xc7cbd5,_0x5f331f,_0x5dc07c,_0x559ac2){const _0x27be16=_0x47fd2f;var _0x4c118b=arguments['length'],_0x38cfeb=_0x4c118b<0x3?_0x5f331f:_0x559ac2===null?_0x559ac2=Object[_0x27be16(0x1b0)](_0x5f331f,_0x5dc07c):_0x559ac2,_0x443f89;if(typeof Reflect==_0x27be16(0x155)&&typeof Reflect[_0x27be16(0x188)]==_0x27be16(0x17e))_0x38cfeb=Reflect[_0x27be16(0x188)](_0xc7cbd5,_0x5f331f,_0x5dc07c,_0x559ac2);else{for(var _0x213e97=_0xc7cbd5[_0x27be16(0x14f)]-0x1;_0x213e97>=0x0;_0x213e97--)(_0x443f89=_0xc7cbd5[_0x213e97])&&(_0x38cfeb=(_0x4c118b<0x3?_0x443f89(_0x38cfeb):_0x4c118b>0x3?_0x443f89(_0x5f331f,_0x5dc07c,_0x38cfeb):_0x443f89(_0x5f331f,_0x5dc07c))||_0x38cfeb);}return _0x4c118b>0x3&&_0x38cfeb&&Object[_0x27be16(0x146)](_0x5f331f,_0x5dc07c,_0x38cfeb),_0x38cfeb;}let $=class{constructor(_0x26f554,_0xed586e,_0x36086a,_0x578e54,_0x1e8f0e){const _0x388e1a=_0x47fd2f;this['_document']=_0x26f554,this[_0x388e1a(0x190)]=_0xed586e,this['_segmentId']=_0x36086a,this['_commandService']=_0x578e54,this[_0x388e1a(0x10d)]=_0x1e8f0e,Z(this,_0x388e1a(0x198),void 0x0),this[_0x388e1a(0x198)]=this[_0x388e1a(0x193)][_0x388e1a(0x19a)]();}[_0x47fd2f(0x19a)](){const _0x52f095=_0x47fd2f;return this[_0x52f095(0x190)];}[_0x47fd2f(0x16a)](){return this['_segmentId'];}['getInfo'](){const _0x22de3e=_0x47fd2f;return{'id':this['_tableId'],'rowCount':this[_0x22de3e(0x185)](),'columnCount':this[_0x22de3e(0x127)](),'metadata':this[_0x22de3e(0x145)](),'source':this[_0x22de3e(0x15e)]()};}[_0x47fd2f(0x140)](){const _0x492748=_0x47fd2f;let _0x51e864=this[_0x492748(0x145)](),_0x92e67e=this[_0x492748(0x15e)](),_0x5e1aee=this[_0x492748(0x127)]();return{'id':this[_0x492748(0x190)],'rowCount':this[_0x492748(0x185)](),'columnCount':_0x5e1aee,'headerRowCount':(_0x51e864==null?void 0x0:_0x51e864[_0x492748(0x19c)])??0x0,'titleRow':(_0x51e864==null?void 0x0:_0x51e864[_0x492748(0x106)])??!0x1,'columns':Array[_0x492748(0x116)]({'length':_0x5e1aee},(_0x5f507e,_0x4cb826)=>{const _0x4f5f49=_0x492748;var _0x26e0fa,_0x427e3d;return{'index':_0x4cb826,'type':_0x51e864==null||(_0x26e0fa=_0x51e864['columnTypes'])==null||(_0x26e0fa=_0x26e0fa[_0x4cb826])==null?void 0x0:_0x26e0fa[_0x4f5f49(0x1b1)],'width':_0x92e67e==null||(_0x427e3d=_0x92e67e[_0x4f5f49(0x118)][_0x4cb826])==null?void 0x0:_0x427e3d[_0x4f5f49(0x119)][_0x4f5f49(0x1a9)]['v']};}),'sampleRows':Array[_0x492748(0x116)]({'length':this[_0x492748(0x185)]()},(_0x18d737,_0x20da46)=>Array[_0x492748(0x116)]({'length':_0x5e1aee},(_0x1c2d9d,_0x41d9df)=>this[_0x492748(0x117)](_0x20da46,_0x41d9df)))[_0x492748(0x142)](_0x212865=>_0x212865['some'](_0x496277=>_0x496277['length']>0x0))[_0x492748(0x135)](0x0,0x5)};}['getRowCount'](){const _0x2d4fcd=_0x47fd2f;var _0x567dcd;return((_0x567dcd=this[_0x2d4fcd(0x15e)]())==null?void 0x0:_0x567dcd[_0x2d4fcd(0x1a4)][_0x2d4fcd(0x14f)])??0x0;}[_0x47fd2f(0x127)](){const _0x570e3b=_0x47fd2f;var _0x29c478;return((_0x29c478=this[_0x570e3b(0x15e)]())==null?void 0x0:_0x29c478[_0x570e3b(0x118)][_0x570e3b(0x14f)])??0x0;}[_0x47fd2f(0x14c)](_0x148a81,_0xb88f79){const _0x45d382=_0x47fd2f;var _0x11643d;return(_0x11643d=this[_0x45d382(0x15e)]())!=null&&(_0x11643d=_0x11643d[_0x45d382(0x1a4)][_0x148a81])!=null&&_0x11643d[_0x45d382(0x124)][_0xb88f79]?this[_0x45d382(0x10d)][_0x45d382(0x163)](q,this,_0x148a81,_0xb88f79):null;}[_0x47fd2f(0x117)](_0x1a33bf,_0x2476a5){const _0x5f110a=_0x47fd2f;var _0xc12e00,_0x5652ac;let _0x32a8ed=(_0xc12e00=_0x2c5196(this[_0x5f110a(0x172)](),this[_0x5f110a(0x190)]))==null||(_0xc12e00=_0xc12e00[_0x5f110a(0x18e)][_0x1a33bf])==null?void 0x0:_0xc12e00[_0x5f110a(0x12b)][_0x2476a5];return _0x32a8ed?((_0x5652ac=this[_0x5f110a(0x172)]()['body'])==null?void 0x0:_0x5652ac[_0x5f110a(0x178)][_0x5f110a(0x135)](_0x32a8ed[_0x5f110a(0x175)]+0x1,_0x32a8ed[_0x5f110a(0x16f)])[_0x5f110a(0x13f)](/\r\n$/,''))??'':'';}[_0x47fd2f(0x199)](_0x2e737a,_0x32342e){const _0x377051=_0x47fd2f;var _0x2f2bce;let _0x856d93=this[_0x377051(0x15e)](),_0x401063=_0x856d93==null||(_0x2f2bce=_0x856d93[_0x377051(0x1a4)][_0x2e737a])==null?void 0x0:_0x2f2bce['tableCells'][_0x32342e];return _0x401063?_0x56fc73[_0x377051(0x187)](_0x401063[_0x377051(0x17d)]??_0x856d93[_0x377051(0x133)]??_0xa68050):null;}[_0x47fd2f(0x143)](_0x1a1a00,_0x5f327f){const _0x545c64=_0x47fd2f;var _0x3c5ce8;let _0x546bf9=(_0x3c5ce8=this[_0x545c64(0x15e)]())==null||(_0x3c5ce8=_0x3c5ce8['tableRows'][_0x1a1a00])==null?void 0x0:_0x3c5ce8['tableCells'][_0x5f327f];return _0x546bf9!=null&&_0x546bf9['margin']?_0x56fc73[_0x545c64(0x187)](_0x546bf9[_0x545c64(0x17d)]):null;}[_0x47fd2f(0x1ae)](){const _0x38664f=_0x47fd2f;var _0x5de088;return _0x56fc73['deepClone'](((_0x5de088=this[_0x38664f(0x15e)]())==null?void 0x0:_0x5de088['cellMargin'])??_0xa68050);}[_0x47fd2f(0x168)](){const _0x394bf2=_0x47fd2f;var _0x6705a8;let _0xf5b431=(_0x6705a8=this[_0x394bf2(0x15e)]())==null?void 0x0:_0x6705a8[_0x394bf2(0x133)];return _0xf5b431?_0x56fc73[_0x394bf2(0x187)](_0xf5b431):null;}[_0x47fd2f(0x145)](){const _0x1e09e1=_0x47fd2f;return this['_injector']['get'](_0x2cf60a)['getTableMetadata'](this[_0x1e09e1(0x198)],this[_0x1e09e1(0x190)]);}[_0x47fd2f(0x15e)](){const _0x5a3ce9=_0x47fd2f;var _0x37d1f4;return(_0x37d1f4=this[_0x5a3ce9(0x172)]()[_0x5a3ce9(0x114)])==null?void 0x0:_0x37d1f4[this[_0x5a3ce9(0x190)]];}['getRange'](){const _0x53ed8f=_0x47fd2f;return _0x2c5196(this[_0x53ed8f(0x172)](),this['_tableId']);}[_0x47fd2f(0x130)](){const _0x424668=_0x47fd2f;return{'startRow':0x0,'endRow':Math[_0x424668(0x1a1)](0x0,this[_0x424668(0x185)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x424668(0x1a1)](0x0,this[_0x424668(0x127)]()-0x1)};}[_0x47fd2f(0x11d)](_0x2998ac,_0x7891e){return{'startRow':_0x2998ac,'endRow':_0x2998ac,'startColumn':_0x7891e,'endColumn':_0x7891e};}[_0x47fd2f(0x17c)](_0x48e657,_0x1e41b3){const _0x133dae=_0x47fd2f;var _0x329667;let _0x5b688a=(_0x329667=_0x2c5196(this[_0x133dae(0x172)](),this[_0x133dae(0x190)]))==null||(_0x329667=_0x329667[_0x133dae(0x18e)][_0x48e657])==null?void 0x0:_0x329667['cells'][_0x1e41b3];if(!_0x5b688a)return null;let _0x1a7ddf=_0x5b688a[_0x133dae(0x175)]+0x1;return{'startOffset':_0x1a7ddf,'endOffset':Math['max'](_0x1a7ddf,_0x5b688a[_0x133dae(0x16f)]-0x1),'segmentId':this[_0x133dae(0x189)]};}['getCellInsertOffset'](_0x27a482,_0x406f38){const _0x222540=_0x47fd2f;let _0x521c86=this[_0x222540(0x17c)](_0x27a482,_0x406f38);return _0x521c86?Math[_0x222540(0x1a1)](_0x521c86[_0x222540(0x175)],_0x521c86[_0x222540(0x16f)]-0x1):null;}[_0x47fd2f(0x1af)](_0x41ecc9){const _0x4e156e=_0x47fd2f;return this[_0x4e156e(0x11f)](_0x41ecc9,0x1);}['getRowsRange'](_0x147b1c,_0x4180e7=0x1){const _0x1f04a1=_0x47fd2f;return{'startRow':_0x147b1c,'endRow':_0x147b1c+_0x4180e7-0x1,'startColumn':0x0,'endColumn':Math[_0x1f04a1(0x1a1)](0x0,this['getColumnCount']()-0x1)};}[_0x47fd2f(0x167)](_0x3cc6aa){return this['getColumnsRange'](_0x3cc6aa,0x1);}[_0x47fd2f(0x186)](_0x1cee12,_0x4f99e8=0x1){const _0x1c50fe=_0x47fd2f;return{'startRow':0x0,'endRow':Math[_0x1c50fe(0x1a1)](0x0,this[_0x1c50fe(0x185)]()-0x1),'startColumn':_0x1cee12,'endColumn':_0x1cee12+_0x4f99e8-0x1};}[_0x47fd2f(0x151)](){const _0x4ba314=_0x47fd2f;return this[_0x4ba314(0x15c)](this[_0x4ba314(0x130)](),_0x1a01fa[_0x4ba314(0x131)]);}[_0x47fd2f(0x122)](_0x1af624){return this['selectRows'](_0x1af624,0x1);}[_0x47fd2f(0x179)](_0x46714a,_0x224b52=0x1){const _0x3c62e2=_0x47fd2f;return this[_0x3c62e2(0x15c)](this[_0x3c62e2(0x11f)](_0x46714a,_0x224b52),_0x1a01fa['Row']);}[_0x47fd2f(0x147)](_0x26bcef){const _0x2214ef=_0x47fd2f;return this[_0x2214ef(0x181)](_0x26bcef,0x1);}[_0x47fd2f(0x181)](_0x70ebf2,_0x1a40c1=0x1){const _0x3640c3=_0x47fd2f;return this[_0x3640c3(0x15c)](this[_0x3640c3(0x186)](_0x70ebf2,_0x1a40c1),_0x1a01fa['Column']);}[_0x47fd2f(0x1a5)](_0x2deb5b,_0x2233b2){const _0x3fe704=_0x47fd2f;return this[_0x3fe704(0x15c)](this[_0x3fe704(0x11d)](_0x2deb5b,_0x2233b2),_0x1a01fa[_0x3fe704(0x1b7)]);}[_0x47fd2f(0x15c)](_0x1f9548,_0x49fa19=_0x1a01fa['Range']){const _0xd43aaf=_0x47fd2f;return this['_injector']['get'](_0x46bca0)[_0xd43aaf(0x17b)]({..._0x1f9548,'kind':_0x49fa19,'segmentId':this[_0xd43aaf(0x189)],'tableId':this[_0xd43aaf(0x190)]}),!0x0;}[_0x47fd2f(0x171)](_0x726cae){const _0x171e02=_0x47fd2f;return this[_0x171e02(0x177)](_0x726cae,0x1);}['insertRowAfter'](_0x374893){const _0x5df9ee=_0x47fd2f;return this[_0x5df9ee(0x1a0)](_0x374893,0x1);}[_0x47fd2f(0x177)](_0x28463b,_0x1b7d4e){const _0x2e2c6c=_0x47fd2f;let _0x40f55=this['_getDocumentData'](),_0x38e601=_0x13d422(_0x40f55,this[_0x2e2c6c(0x190)],_0x28463b,_0x1b7d4e,_0x26684c[_0x2e2c6c(0x18c)],this[_0x2e2c6c(0x1a7)]());return _0x38e601?this['_mutateActions'](_0x40f55,_0x38e601[_0x2e2c6c(0x1ad)]):!0x1;}[_0x47fd2f(0x1a0)](_0x3956c0,_0x39fc7e){const _0x2c2fad=_0x47fd2f;let _0x39eb5c=this['_getDocumentData'](),_0x379711=_0x13d422(_0x39eb5c,this[_0x2c2fad(0x190)],_0x3956c0,_0x39fc7e,_0x26684c[_0x2c2fad(0x12d)],this['_getBodyPath']());return _0x379711?this[_0x2c2fad(0x19f)](_0x39eb5c,_0x379711[_0x2c2fad(0x1ad)]):!0x1;}[_0x47fd2f(0x16e)](){const _0x284384=_0x47fd2f;return this[_0x284384(0x1a0)](Math[_0x284384(0x1a1)](0x0,this[_0x284384(0x185)]()-0x1),0x1);}['insertColumnBefore'](_0x57a92b){const _0x15eaee=_0x47fd2f;return this[_0x15eaee(0x148)](_0x57a92b,0x1);}['insertColumnAfter'](_0x1fc714){const _0x14555d=_0x47fd2f;return this[_0x14555d(0x182)](_0x1fc714,0x1);}[_0x47fd2f(0x148)](_0xe31f3a,_0x50c3e8){const _0x5e4088=_0x47fd2f;let _0x2226b5=this[_0x5e4088(0x172)](),_0x5d29ec=_0x3d7200(_0x2226b5,this['_tableId'],_0xe31f3a,_0x50c3e8,_0x26684c[_0x5e4088(0x132)],{'bodyPath':this[_0x5e4088(0x1a7)]()});return _0x5d29ec?this[_0x5e4088(0x19f)](_0x2226b5,_0x5d29ec[_0x5e4088(0x1ad)]):!0x1;}[_0x47fd2f(0x182)](_0x5d79b3,_0x24df02){const _0x1d361c=_0x47fd2f;let _0x5de4bf=this['_getDocumentData'](),_0x4c0b2d=_0x3d7200(_0x5de4bf,this[_0x1d361c(0x190)],_0x5d79b3,_0x24df02,_0x26684c[_0x1d361c(0x1a6)],{'bodyPath':this['_getBodyPath']()});return _0x4c0b2d?this[_0x1d361c(0x19f)](_0x5de4bf,_0x4c0b2d[_0x1d361c(0x1ad)]):!0x1;}[_0x47fd2f(0x18d)](){const _0x1eb858=_0x47fd2f;return this[_0x1eb858(0x182)](Math[_0x1eb858(0x1a1)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x67be43){const _0x441ffc=_0x47fd2f;return this[_0x441ffc(0x17a)](_0x67be43,0x1);}[_0x47fd2f(0x17a)](_0x1c0f6c,_0x4a9130=0x1){const _0x84705c=_0x47fd2f;return!!this['_commandService']['syncExecuteCommand'](_0x20b192['id'],{'endRow':_0x1c0f6c+_0x4a9130-0x1,'segmentId':this['_segmentId'],'startRow':_0x1c0f6c,'tableId':this[_0x84705c(0x190)],'unitId':this[_0x84705c(0x198)]});}[_0x47fd2f(0x12c)](_0x3dc9eb){const _0x2f9857=_0x47fd2f;return this[_0x2f9857(0x1aa)](_0x3dc9eb,0x1);}[_0x47fd2f(0x1aa)](_0x143550,_0x5b61b7=0x1){const _0x2c62a9=_0x47fd2f;return!!this[_0x2c62a9(0x158)][_0x2c62a9(0x159)](_0x2b8f2f['id'],{'endColumn':_0x143550+_0x5b61b7-0x1,'segmentId':this[_0x2c62a9(0x189)],'startColumn':_0x143550,'tableId':this['_tableId'],'unitId':this[_0x2c62a9(0x198)]});}[_0x47fd2f(0x1b9)](){const _0x457ce0=_0x47fd2f;return!!this[_0x457ce0(0x158)][_0x457ce0(0x159)](_0x2241ec['id'],{'segmentId':this['_segmentId'],'tableId':this[_0x457ce0(0x190)],'unitId':this[_0x457ce0(0x198)]});}[_0x47fd2f(0x134)](_0x366a7c,_0x54108c){const _0x4b56c1=_0x47fd2f;let _0x6f2e9a=this[_0x4b56c1(0x172)]();return this[_0x4b56c1(0x19f)](_0x6f2e9a,_0x2119bd(_0x6f2e9a,this[_0x4b56c1(0x190)],_0x366a7c,_0x54108c));}[_0x47fd2f(0x16c)](_0x56f70c){const _0x7e9a6=_0x47fd2f;let _0x9f1be7=this[_0x7e9a6(0x172)]();return this[_0x7e9a6(0x19f)](_0x9f1be7,_0x40a9af(_0x9f1be7,this[_0x7e9a6(0x190)],_0x56f70c,this[_0x7e9a6(0x1a7)]()));}['moveRow'](_0x454bad,_0x16ee60,_0x3d72ec=_0x26684c[_0x47fd2f(0x18c)]){const _0x5e7fd5=_0x47fd2f;return this[_0x5e7fd5(0x105)](_0x454bad,0x1,_0x16ee60,_0x3d72ec);}[_0x47fd2f(0x105)](_0x1235d3,_0x51d851,_0x3176d9,_0xccad8c=_0x26684c[_0x47fd2f(0x18c)]){const _0x3dc112=_0x47fd2f;let _0x28f73d=this[_0x3dc112(0x172)](),_0x513303=_0x50abcf(_0x28f73d,this[_0x3dc112(0x190)],_0x1235d3,_0x3176d9,_0x51d851,_0xccad8c,this[_0x3dc112(0x1a7)]());return _0x513303?this[_0x3dc112(0x19f)](_0x28f73d,_0x513303[_0x3dc112(0x1ad)]):!0x1;}[_0x47fd2f(0x137)](_0x6fbe32,_0x377297,_0xe275e4=_0x26684c[_0x47fd2f(0x132)]){const _0x590340=_0x47fd2f;return this[_0x590340(0x14b)](_0x6fbe32,0x1,_0x377297,_0xe275e4);}[_0x47fd2f(0x14b)](_0xec8938,_0x5da837,_0x570b52,_0x716b55=_0x26684c[_0x47fd2f(0x132)]){const _0x70d5ea=_0x47fd2f;let _0x35211d=this['_getDocumentData'](),_0x1bfccc=_0x510aa9(_0x35211d,this[_0x70d5ea(0x190)],_0xec8938,_0x570b52,_0x5da837,_0x716b55,this['_getBodyPath']());return _0x1bfccc?this[_0x70d5ea(0x19f)](_0x35211d,_0x1bfccc[_0x70d5ea(0x1ad)]):!0x1;}['mergeCells'](_0x36e2a0){const _0x4d4538=_0x47fd2f;try{let _0x205046=this[_0x4d4538(0x172)](),_0x47bbee=_0xb06fda({'documentData':_0x205046,'tableId':this[_0x4d4538(0x190)],..._0x36e2a0});return _0x47bbee?this['_mutateActions'](_0x205046,_0x47bbee[_0x4d4538(0x1ad)],_0x36e2a0):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x22a6d4){const _0x4523f1=_0x47fd2f;try{let _0x185030=this['_getDocumentData'](),_0x2e6e84=_0x3be8f5({'documentData':_0x185030,'tableId':this[_0x4523f1(0x190)],..._0x22a6d4});return _0x2e6e84?this[_0x4523f1(0x19f)](_0x185030,_0x2e6e84[_0x4523f1(0x1ad)],_0x22a6d4):!0x1;}catch{return!0x1;}}[_0x47fd2f(0x144)](_0x29f90e,_0xce7818,_0x2a70b7){const _0x4bdd25=_0x47fd2f;let _0x5b850a=this[_0x4bdd25(0x172)](),_0x4d31bd=_0x4babab(this[_0x4bdd25(0x193)][_0x4bdd25(0x11a)]()['getSnapshot'](),this['_segmentId']);return this['_mutateActions'](_0x5b850a,_0xd421fb({'documentData':_0x5b850a,'tableId':this[_0x4bdd25(0x190)],'row':_0x29f90e,'column':_0xce7818,'text':_0x2a70b7},_0x4d31bd),this[_0x4bdd25(0x11d)](_0x29f90e,_0xce7818));}[_0x47fd2f(0x121)](_0xbc223b,_0x7029e2){const _0x1737d1=_0x47fd2f;let _0x308a38=this[_0x1737d1(0x172)]();return this[_0x1737d1(0x19f)](_0x308a38,_0x3b6646(_0x308a38,{'tableId':this[_0x1737d1(0x190)],..._0xbc223b,'value':_0x7029e2}),_0xbc223b);}['setCellMargin'](_0x44eb5e,_0x17b781){const _0x3b0e4a=_0x47fd2f;let _0x486109=this[_0x3b0e4a(0x172)]();return this['_mutateActions'](_0x486109,_0x253de6({'documentData':_0x486109,'tableId':this['_tableId'],..._0x44eb5e,'margin':_0x17b781}),_0x44eb5e);}[_0x47fd2f(0x15d)](_0x5f8ded){const _0x13db46=_0x47fd2f;let _0x1a6c0c=this['_getDocumentData']();return this[_0x13db46(0x19f)](_0x1a6c0c,_0x101d84(_0x1a6c0c,this[_0x13db46(0x190)],_0x5f8ded));}[_0x47fd2f(0x196)](_0x112deb,_0x1a48e4){const _0x219333=_0x47fd2f;let _0x36bf29=this['_getDocumentData']();return this['_mutateActions'](_0x36bf29,_0x21d7f8({'documentData':_0x36bf29,'tableId':this['_tableId'],..._0x112deb,'preset':_0x1a48e4[_0x219333(0x12e)]??_0x3fc8f8[_0x219333(0x160)],'border':_0x1a48e4[_0x219333(0x165)]??{'color':{'rgb':_0x1a48e4[_0x219333(0x15b)]??_0x219333(0x176)},'width':{'v':_0x1a48e4[_0x219333(0x1a9)]??0x1},'dashStyle':_0x707e74[_0x219333(0x125)]}}),_0x112deb);}[_0x47fd2f(0x14e)](_0x3bdcb1){const _0x404cf5=_0x47fd2f;return this['setCellBackground'](this[_0x404cf5(0x130)](),_0x3bdcb1);}[_0x47fd2f(0x18f)](_0x3244e4){const _0x48159b=_0x47fd2f;return this['setBorder'](this[_0x48159b(0x130)](),_0x3244e4);}[_0x47fd2f(0x18a)](_0x3f3643){const _0x5ecbab=_0x47fd2f;let _0x86d2a9=!_0x3f3643['backgroundColor']||this[_0x5ecbab(0x14e)](_0x3f3643['backgroundColor']),_0x1e97ed=!_0x3f3643[_0x5ecbab(0x165)]||this[_0x5ecbab(0x18f)](_0x3f3643[_0x5ecbab(0x165)]);return _0x86d2a9&&_0x1e97ed;}[_0x47fd2f(0x13d)](_0x5e517d,_0x24a9a7,_0x185361=_0x205477['AT_LEAST']){const _0x3ebca8=_0x47fd2f;var _0x580ff0;let _0x2f4a63=this[_0x3ebca8(0x172)]();return(_0x580ff0=_0x2f4a63[_0x3ebca8(0x114)])!=null&&(_0x580ff0=_0x580ff0[this[_0x3ebca8(0x190)]])!=null&&_0x580ff0[_0x3ebca8(0x1a4)][_0x5e517d]?this[_0x3ebca8(0x19f)](_0x2f4a63,_0x3fd61d(_0x2f4a63,this[_0x3ebca8(0x190)],_0x5e517d,_0x24a9a7,_0x185361)):!0x1;}[_0x47fd2f(0x1ab)](_0x29c64c){const _0x172f5f=_0x47fd2f;var _0x3c68bc;let _0x3fedbc=(_0x3c68bc=this[_0x172f5f(0x15e)]())==null||(_0x3c68bc=_0x3c68bc['tableRows'][_0x29c64c])==null?void 0x0:_0x3c68bc['trHeight'];return _0x3fedbc?_0x56fc73[_0x172f5f(0x187)](_0x3fedbc):null;}[_0x47fd2f(0x19d)](_0x3f0872,_0x474948){const _0xb13f61=_0x47fd2f;var _0x180423;let _0x585cd1=this[_0xb13f61(0x172)]();return(_0x180423=_0x585cd1['tableSource'])!=null&&(_0x180423=_0x180423[this[_0xb13f61(0x190)]])!=null&&_0x180423[_0xb13f61(0x118)][_0x3f0872]?this[_0xb13f61(0x19f)](_0x585cd1,_0x3acf1d(_0x585cd1,this[_0xb13f61(0x190)],_0x3f0872,_0x474948)):!0x1;}[_0x47fd2f(0x1b8)](_0x24e463=0x0,_0x4908d7=this[_0x47fd2f(0x185)]()){const _0x202aec=_0x47fd2f;let _0x364395=this['_getDocumentData']();return this[_0x202aec(0x19f)](_0x364395,_0x3ddda9(_0x364395,this[_0x202aec(0x190)],_0x24e463,_0x24e463+_0x4908d7-0x1));}['distributeColumns'](_0x35ea59=0x0,_0x2f17b0=this[_0x47fd2f(0x127)]()){const _0x13f7ff=_0x47fd2f;let _0x4c2370=this[_0x13f7ff(0x172)]();return this[_0x13f7ff(0x19f)](_0x4c2370,_0x49dc89(_0x4c2370,this[_0x13f7ff(0x190)],_0x35ea59,_0x35ea59+_0x2f17b0-0x1));}[_0x47fd2f(0x115)](){const _0x33f598=_0x47fd2f;var _0x327ff4;return((_0x327ff4=this[_0x33f598(0x145)]())==null?void 0x0:_0x327ff4['headerRowCount'])??0x0;}['setHeaderRowCount'](_0x2e42c6){const _0xc5328c=_0x47fd2f;let _0xfe707d=this['_injector']['get'](_0x2cf60a),_0x3f6537=this[_0xc5328c(0x172)](),_0x1f2ec5=_0x1af443(_0x3f6537,this[_0xc5328c(0x190)],_0x2e42c6);if(!_0x1f2ec5)return!0x1;let _0x23f2f8=this[_0xc5328c(0x19f)](_0x3f6537,_0x1f2ec5[_0xc5328c(0x1ad)]);return _0x23f2f8&&_0xfe707d[_0xc5328c(0x180)](this[_0xc5328c(0x198)],this['_tableId'],_0x1f2ec5[_0xc5328c(0x19c)]),_0x23f2f8;}[_0x47fd2f(0x10e)](_0xc9831c){const _0x256baa=_0x47fd2f;return this[_0x256baa(0x180)](_0xc9831c);}[_0x47fd2f(0x1a2)](){var _0x328291;return((_0x328291=this['getMetadata']())==null?void 0x0:_0x328291['titleRow'])??!0x1;}[_0x47fd2f(0x14d)](){const _0x3dd1ca=_0x47fd2f;let _0x423106=this[_0x3dd1ca(0x10d)]['get'](_0x2cf60a),_0x40c4c1=this[_0x3dd1ca(0x172)](),_0x4e9f5a=_0xe68bbf(_0x40c4c1,this['_tableId'],this[_0x3dd1ca(0x1a7)]());if(!_0x4e9f5a)return!0x1;let _0xd990cb=this[_0x3dd1ca(0x19f)](_0x40c4c1,_0x4e9f5a[_0x3dd1ca(0x1ad)]);return _0xd990cb&&_0x423106[_0x3dd1ca(0x161)](this[_0x3dd1ca(0x198)],this[_0x3dd1ca(0x190)],!0x0),_0xd990cb;}[_0x47fd2f(0x170)](_0x4b9c9a,_0x26414a){const _0x1f556c=_0x47fd2f;return this[_0x1f556c(0x10d)][_0x1f556c(0x197)](_0x2cf60a)['setColumnType'](this[_0x1f556c(0x198)],this[_0x1f556c(0x190)],_0x4b9c9a,_0x26414a),!0x0;}[_0x47fd2f(0x138)](_0x1bdf79,_0x4bc991){const _0x1bd3df=_0x47fd2f;let _0x3150f6=this['_getDocumentData']();return this[_0x1bd3df(0x19f)](_0x3150f6,_0xebe1ad(_0x3150f6,this[_0x1bd3df(0x1bb)](),this[_0x1bd3df(0x190)],_0x1bdf79,_0x4bc991,this[_0x1bd3df(0x1a7)]()));}[_0x47fd2f(0x172)](){const _0x3564f5=_0x47fd2f;let _0x4cefb8=this['_document'][_0x3564f5(0x11a)]()[_0x3564f5(0x149)]();return this['_segmentId']?{...this[_0x3564f5(0x193)][_0x3564f5(0x11a)](this['_segmentId'])[_0x3564f5(0x149)](),'documentStyle':_0x4cefb8[_0x3564f5(0x136)],'tableSource':_0x4cefb8['tableSource']}:_0x4cefb8;}[_0x47fd2f(0x1bb)](){const _0x5d5964=_0x47fd2f;return this[_0x5d5964(0x10d)][_0x5d5964(0x197)](_0x2cf60a)[_0x5d5964(0x112)](this['_unitId']);}[_0x47fd2f(0x1a7)](){const _0x30b446=_0x47fd2f;return _0x4babab(this[_0x30b446(0x193)][_0x30b446(0x11a)]()['getSnapshot'](),this[_0x30b446(0x189)]);}[_0x47fd2f(0x19f)](_0x2e67d3,_0x2667db,_0x55f4ad){const _0x138fe3=_0x47fd2f;return _0xb6be76(this[_0x138fe3(0x158)],this[_0x138fe3(0x198)],_0x2e67d3,_0x2667db,_0x55f4ad?{'tableId':this[_0x138fe3(0x190)],'segmentId':this[_0x138fe3(0x189)],..._0x55f4ad}:void 0x0);}};function _0x4c2e(){const _0x5375a1=['getTable','serialize','_getTables','tableSource','getHeaderRowCount','from','getCellText','tableColumns','size','getDocumentDataModel','unmerge','toPrimitive','getCellRange','4715883idTohE','getRowsRange','_createFDocumentTable','setCellBackground','selectRow','setBackgroundColor','tableCells','SOLID','631089kCNTrx','getColumnCount','findTableByText','7681BvqJcg','getMargin','cells','deleteColumn','Below','preset','segmentId','getTableRange','Table','Left','cellMargin','moveTableBy','slice','documentStyle','moveColumn','sortByColumn','getInsertOffset','findTables','titleText','getTableAt','setRowHeight','text','replace','describe','1009188cWRbXZ','filter','getCellMarginOverride','setCellText','getMetadata','defineProperty','selectColumn','insertColumnsBefore','getSnapshot','_column','moveColumns','getCell','insertTitleRow','setTableBackground','length','map','selectTable','getTableAtSelection','DocsTableColumnInsertPosition','_row','object','DocsTableInsertTablePosition','mergeCells','_commandService','syncExecuteCommand','143htIOVc','color','selectRange','setDefaultCellMargin','getSource','includes','All','setTitleRow','getContentRange','createInstance','getRowIndex','border','_getTableDocumentData','getColumnRange','getDefaultCellMarginOverride','10gbeKVB','getSegmentId','headerText','moveTableToOffset','DocsTableColumnType','appendRow','endOffset','setColumnType','insertRowBefore','_getDocumentData','constructor','DocsTableSortDirection','startOffset','#1f1f1f','insertRowsBefore','dataStream','selectRows','deleteRows','setStructuralSelection','getCellContentRange','margin','function','symbol','setHeaderRowCount','selectColumns','insertColumnsAfter','_rowContainsText','tableId','getRowCount','getColumnsRange','deepClone','decorate','_segmentId','setTableStyle','DocsTableRowInsertPosition','Above','appendColumn','rows','setTableBorder','_tableId','getBody','setCellMargin','_document','default','some','setBorder','get','_unitId','getCellMargin','getId','126aKkeim','headerRowCount','setColumnWidth','getText','_mutateActions','insertRowsAfter','max','hasTitleRow','3169495JvuWaE','tableRows','selectCell','Right','_getBodyPath','setText','width','deleteColumns','getRowHeight','iterator','actions','getDefaultCellMargin','getRowRange','getOwnPropertyDescriptor','type','clearMarginOverride','8495952jWCkgO','10zihLrj','getTables','DocsTableBorderPreset','Cell','distributeRows','deleteTable','_table','_serializeModel','168312zQSjig','moveRows','titleRow','extend','string','mergeTo','body','4yAMbHH','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_injector','pinHeaderRows','_tableContainsText','getStableTableSelection'];_0x4c2e=function(){return _0x5375a1;};return _0x4c2e();}$=te([Q(0x3,_0x17e1b5),Q(0x4,_0x21d25f(_0x4ef01b))],$);var ne=class extends _0x5234ad{[_0x47fd2f(0x1b5)](_0x5bffc0=''){const _0x20f02f=_0x47fd2f;return this[_0x20f02f(0x113)](_0x5bffc0)[_0x20f02f(0x150)](_0x2957bc=>this[_0x20f02f(0x120)](_0x2957bc[_0x20f02f(0x184)],_0x5bffc0));}[_0x47fd2f(0x111)](_0x4ec333,_0x544943=''){const _0x40412c=_0x47fd2f;return this[_0x40412c(0x113)](_0x544943)[_0x40412c(0x195)](_0x386889=>_0x386889['tableId']===_0x4ec333)?this['_createFDocumentTable'](_0x4ec333,_0x544943):null;}[_0x47fd2f(0x13c)](_0x21a1a0,_0x5b23f4=''){const _0x338a84=_0x47fd2f;var _0x12155a;let _0x1b5cbd=(_0x12155a=this[_0x338a84(0x113)](_0x5b23f4)[_0x21a1a0])==null?void 0x0:_0x12155a[_0x338a84(0x184)];return _0x1b5cbd?this[_0x338a84(0x120)](_0x1b5cbd,_0x5b23f4):null;}[_0x47fd2f(0x152)](){const _0x4650f1=_0x47fd2f;let _0x11d555=this['_injector'][_0x4650f1(0x197)](_0x46bca0)[_0x4650f1(0x110)]();return _0x11d555!=null&&_0x11d555[_0x4650f1(0x184)]?this[_0x4650f1(0x120)](_0x11d555[_0x4650f1(0x184)],_0x11d555[_0x4650f1(0x12f)]):null;}[_0x47fd2f(0x128)](_0x3f491b,_0x895f05=''){const _0x3d21cf=_0x47fd2f;return this[_0x3d21cf(0x13a)](_0x3f491b,_0x895f05)[0x0]??null;}['findTables'](_0xb54dd9,_0x12441c=''){const _0x7c7e33=_0x47fd2f;let _0x423c68=this[_0x7c7e33(0x166)](_0x12441c),_0x488bf7=typeof _0xb54dd9==_0x7c7e33(0x108)?{'text':_0xb54dd9}:_0xb54dd9;return this[_0x7c7e33(0x1b5)](_0x12441c)[_0x7c7e33(0x142)](_0x12bbc3=>{const _0x2003b3=_0x7c7e33;let _0x2d88a0=_0x12bbc3[_0x2003b3(0x19a)]();return!(_0x488bf7['tableId']&&_0x2d88a0!==_0x488bf7[_0x2003b3(0x184)]||_0x488bf7['text']&&!this[_0x2003b3(0x10f)](_0x423c68,_0x2d88a0,_0x488bf7[_0x2003b3(0x13e)])||_0x488bf7[_0x2003b3(0x16b)]&&!this[_0x2003b3(0x183)](_0x12bbc3,0x0,_0x488bf7[_0x2003b3(0x16b)])||_0x488bf7[_0x2003b3(0x13b)]&&!this[_0x2003b3(0x183)](_0x12bbc3,0x0,_0x488bf7[_0x2003b3(0x13b)]));});}['insertTable'](_0x41eb84,_0x21db09,_0xca66b2={}){const _0x1c3aab=_0x47fd2f;let _0x4f2f02=this[_0x1c3aab(0x10d)]['get'](_0x17e1b5),_0x3d8bc4=_0xca66b2[_0x1c3aab(0x184)]??_0x593063(0x6);return _0x4f2f02[_0x1c3aab(0x159)](_0x3bc41b['id'],{..._0xca66b2,'unitId':this[_0x1c3aab(0x19a)](),'rows':_0x41eb84,'columns':_0x21db09,'tableId':_0x3d8bc4})?this[_0x1c3aab(0x120)](_0x3d8bc4,_0xca66b2[_0x1c3aab(0x12f)]??''):null;}['insertTableFromData'](_0x32c2bb,_0x6f3266={}){const _0x475ff5=_0x47fd2f;let _0x54813c=this[_0x475ff5(0x10d)][_0x475ff5(0x197)](_0x17e1b5),_0x372bf1=_0x6f3266[_0x475ff5(0x184)]??_0x593063(0x6);return _0x54813c[_0x475ff5(0x159)](_0x3bc41b['id'],{..._0x6f3266,'unitId':this['getId'](),'values':_0x32c2bb,'tableId':_0x372bf1})?this['_createFDocumentTable'](_0x372bf1,_0x6f3266[_0x475ff5(0x12f)]??''):null;}[_0x47fd2f(0x113)](_0xb59d43=''){const _0x46431a=_0x47fd2f;let {tables:_0x4f49ec=[]}=this[_0x46431a(0x191)](_0xb59d43);return _0x4f49ec;}[_0x47fd2f(0x166)](_0x5a7a3b=''){const _0x48219c=_0x47fd2f;let _0x425410=this[_0x48219c(0x11a)]()[_0x48219c(0x149)]();return _0x5a7a3b?{...this[_0x48219c(0x11a)](_0x5a7a3b)['getSnapshot'](),'documentStyle':_0x425410[_0x48219c(0x136)],'tableSource':_0x425410[_0x48219c(0x114)]}:_0x425410;}[_0x47fd2f(0x120)](_0x1add7a,_0x17595d=''){const _0x1045a9=_0x47fd2f;return this[_0x1045a9(0x10d)][_0x1045a9(0x163)]($,this,_0x1add7a,_0x17595d);}[_0x47fd2f(0x10f)](_0x56129d,_0x1c4871,_0x73735e){const _0x45616b=_0x47fd2f;var _0xd5a8d7;let _0x5ee67d=_0x2c5196(_0x56129d,_0x1c4871);if(!_0x5ee67d)return!0x1;let _0x78baf6=(_0xd5a8d7=_0x56129d[_0x45616b(0x10a)])==null?void 0x0:_0xd5a8d7[_0x45616b(0x178)];return _0x78baf6?_0x78baf6[_0x45616b(0x135)](_0x5ee67d[_0x45616b(0x175)],_0x5ee67d[_0x45616b(0x16f)])['includes'](_0x73735e):!0x1;}['_rowContainsText'](_0x5c7840,_0x2a676a,_0x47c716){const _0x1a4141=_0x47fd2f;return Array[_0x1a4141(0x116)]({'length':_0x5c7840[_0x1a4141(0x127)]()},(_0xbe8179,_0x1826e8)=>_0x5c7840[_0x1a4141(0x117)](_0x2a676a,_0x1826e8))[_0x1a4141(0x195)](_0x46dd6f=>_0x46dd6f[_0x1a4141(0x15f)](_0x47c716));}};_0x5234ad[_0x47fd2f(0x107)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};
|