@univerjs-pro/docs-table 1.0.3 → 1.0.4
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 _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};
|
|
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};
|