@univerjs-pro/docs-table 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/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 _0xcee175=_0x56d6;(function(_0x487b1f,_0x4b26ce){const _0x2fd4cf=_0x56d6,_0x28530f=_0x487b1f();while(!![]){try{const _0x577c47=-parseInt(_0x2fd4cf(0x121))/0x1+parseInt(_0x2fd4cf(0x18d))/0x2+-parseInt(_0x2fd4cf(0x163))/0x3+parseInt(_0x2fd4cf(0x17a))/0x4+-parseInt(_0x2fd4cf(0x1a6))/0x5*(-parseInt(_0x2fd4cf(0x1c1))/0x6)+-parseInt(_0x2fd4cf(0x16e))/0x7*(parseInt(_0x2fd4cf(0x12f))/0x8)+-parseInt(_0x2fd4cf(0x191))/0x9*(-parseInt(_0x2fd4cf(0x11a))/0xa);if(_0x577c47===_0x4b26ce)break;else _0x28530f['push'](_0x28530f['shift']());}catch(_0x5963da){_0x28530f['push'](_0x28530f['shift']());}}}(_0x1a2a,0xeecee));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x21745d,DocsTableBorderPreset as _0xf76c6a,DocsTableColumnInsertPosition as _0x59e0f0,DocsTableColumnType as _0x828d38,DocsTableDeleteColumnsCommand as _0x135ce2,DocsTableDeleteRowsCommand as _0x463552,DocsTableDeleteTableCommand as _0x229429,DocsTableInsertPosition as _0x50a60f,DocsTableInsertTableCommand as _0x2f63fe,DocsTableInsertTablePosition as _0xed90d4,DocsTableModel as _0x3c570c,DocsTableRowInsertPosition as _0x429a89,DocsTableSelectionKind as _0x5a36fd,DocsTableSelectionService as _0x52774c,DocsTableSortDirection as _0x2399e3,buildDistributeTableColumnsMutationActions as _0x54b594,buildDistributeTableRowsMutationActions as _0x5e0604,buildInsertTableColumnsMutationActions as _0x42f91b,buildInsertTableRowsMutationActions as _0x1ba735,buildInsertTableTitleRowMutationActions as _0x5909d2,buildMergeCellsMutationActions as _0x3aec2e,buildMoveFloatingTableMutationActions as _0x4e09e1,buildMoveTableColumnsMutationActions as _0x2792a3,buildMoveTableRowsMutationActions as _0x4341e1,buildMoveTableToOffsetMutationActions as _0x22c831,buildResizeTableColumnActionsFromWidth as _0x1922ab,buildResizeTableRowActionsFromHeight as _0x3a3c68,buildSetTableBackgroundMutationActions as _0x47f64e,buildSetTableBorderMutationActions as _0x71f82c,buildSetTableCellMarginMutationActions as _0x2652fa,buildSetTableCellTextMutationActions as _0x2655ab,buildSetTableDefaultCellMarginMutationActions as _0xfdd2fe,buildSetTableHeaderRowCountMutationActions as _0x1e4c1,buildSortTableMutationActions as _0x26bb83,buildUnmergeCellsMutationActions as _0x393d14,executeRichTextTableActions as _0x279883,getTableActionBodyPath as _0x3b5491,getTableRangeById as _0x4ba6c9}from'@univerjs-pro/docs-table';import{DashStyleType as _0x235af0,ICommandService as _0x227b4c,Inject as _0x7b97ec,Injector as _0x5e029d,TableRowHeightRule as _0x3ebc1c,Tools as _0x307248,generateRandomId as _0x563431}from'@univerjs/core';import{FEnum as _0x551883}from'@univerjs/core/facade';import{FDocument as _0x1ebdb5}from'@univerjs/docs/facade';var K=class extends _0x551883{get['DocsTableInsertTablePosition'](){return _0xed90d4;}get['DocsTableColumnType'](){return _0x828d38;}get[_0xcee175(0x172)](){return _0x5a36fd;}get[_0xcee175(0x137)](){return _0x429a89;}get['DocsTableColumnInsertPosition'](){return _0x59e0f0;}get['DocsTableBorderPreset'](){return _0xf76c6a;}get[_0xcee175(0x15e)](){return _0x2399e3;}get[_0xcee175(0x178)](){return _0x235af0;}};_0x551883['extend'](K);var q=class{constructor(_0x5b25e8,_0x6534f4,_0x9d2006){const _0x1ee556=_0xcee175;this[_0x1ee556(0x18a)]=_0x5b25e8,this['_row']=_0x6534f4,this['_column']=_0x9d2006;}[_0xcee175(0x156)](){return this['_table'];}[_0xcee175(0x196)](){const _0xa6a88=_0xcee175;return this[_0xa6a88(0x18f)];}[_0xcee175(0x184)](){const _0x22ea1e=_0xcee175;return this[_0x22ea1e(0x11b)];}[_0xcee175(0x151)](){const _0x14d5e3=_0xcee175;return this[_0x14d5e3(0x18a)][_0x14d5e3(0x1be)](this['_row'],this[_0x14d5e3(0x11b)]);}[_0xcee175(0x19a)](){const _0x2211b3=_0xcee175;return this[_0x2211b3(0x18a)][_0x2211b3(0x1b5)](this[_0x2211b3(0x18f)],this[_0x2211b3(0x11b)]);}[_0xcee175(0x194)](){const _0x461a3a=_0xcee175;return this[_0x461a3a(0x18a)][_0x461a3a(0x174)](this['_row'],this[_0x461a3a(0x11b)]);}['getMargin'](){const _0x2f8b78=_0xcee175;return this[_0x2f8b78(0x18a)][_0x2f8b78(0x124)](this[_0x2f8b78(0x18f)],this[_0x2f8b78(0x11b)]);}[_0xcee175(0x122)](){const _0x58da08=_0xcee175;return this[_0x58da08(0x18a)]['getCellMarginOverride'](this[_0x58da08(0x18f)],this[_0x58da08(0x11b)]);}['setMargin'](_0x416c53){const _0x39f495=_0xcee175;return this[_0x39f495(0x18a)]['setCellMargin'](this[_0x39f495(0x18a)][_0x39f495(0x1b7)](this[_0x39f495(0x18f)],this[_0x39f495(0x11b)]),_0x416c53);}[_0xcee175(0x19e)](){const _0x199169=_0xcee175;return this['_table'][_0x199169(0x13d)](this[_0x199169(0x18a)][_0x199169(0x1b7)](this[_0x199169(0x18f)],this['_column']),null);}[_0xcee175(0x1c9)](_0x24a1cf){const _0x4f9b24=_0xcee175;return this[_0x4f9b24(0x18a)][_0x4f9b24(0x1ca)](this[_0x4f9b24(0x18f)],this[_0x4f9b24(0x11b)],_0x24a1cf);}[_0xcee175(0x176)](_0xa850c2){const _0x48748c=_0xcee175;return this[_0x48748c(0x18a)]['setCellBackground'](this[_0x48748c(0x18a)][_0x48748c(0x1b7)](this[_0x48748c(0x18f)],this[_0x48748c(0x11b)]),_0xa850c2);}[_0xcee175(0x11e)](_0x2be8ac){const _0x5a0e4e=_0xcee175;return this[_0x5a0e4e(0x18a)]['setBorder'](this[_0x5a0e4e(0x18a)][_0x5a0e4e(0x1b7)](this[_0x5a0e4e(0x18f)],this[_0x5a0e4e(0x11b)]),_0x2be8ac);}['mergeTo'](_0x48492e,_0x20a956){const _0x5336ab=_0xcee175;return this[_0x5336ab(0x18a)][_0x5336ab(0x1c5)]({'startRow':this[_0x5336ab(0x18f)],'startColumn':this['_column'],'endRow':this[_0x5336ab(0x18f)]+_0x48492e-0x1,'endColumn':this[_0x5336ab(0x11b)]+_0x20a956-0x1});}[_0xcee175(0x14b)](){const _0x35f8cf=_0xcee175;return this['_table'][_0x35f8cf(0x155)](this['_table'][_0x35f8cf(0x1b7)](this['_row'],this[_0x35f8cf(0x11b)]));}};function J(_0x2c5b77){'@babel/helpers - typeof';const _0x40c28f=_0xcee175;return J=typeof Symbol==_0x40c28f(0x133)&&typeof Symbol['iterator']==_0x40c28f(0x169)?function(_0x3989b2){return typeof _0x3989b2;}:function(_0x43cee6){const _0xdf650f=_0x40c28f;return _0x43cee6&&typeof Symbol==_0xdf650f(0x133)&&_0x43cee6[_0xdf650f(0x189)]===Symbol&&_0x43cee6!==Symbol[_0xdf650f(0x19c)]?_0xdf650f(0x169):typeof _0x43cee6;},J(_0x2c5b77);}function Y(_0xf5cee9,_0x62302b){const _0x2acbfa=_0xcee175;if(J(_0xf5cee9)!=_0x2acbfa(0x13e)||!_0xf5cee9)return _0xf5cee9;var _0x29da06=_0xf5cee9[Symbol['toPrimitive']];if(_0x29da06!==void 0x0){var _0x34e19b=_0x29da06['call'](_0xf5cee9,_0x62302b||_0x2acbfa(0x16c));if(J(_0x34e19b)!=_0x2acbfa(0x13e))return _0x34e19b;throw TypeError(_0x2acbfa(0x18b));}return(_0x62302b===_0x2acbfa(0x183)?String:Number)(_0xf5cee9);}function X(_0xd2edbd){const _0x4f85b1=_0xcee175;var _0x378543=Y(_0xd2edbd,_0x4f85b1(0x183));return J(_0x378543)==_0x4f85b1(0x169)?_0x378543:_0x378543+'';}function Z(_0x4249fd,_0x5d8b19,_0x8b6b12){const _0x2915aa=_0xcee175;return(_0x5d8b19=X(_0x5d8b19))in _0x4249fd?Object[_0x2915aa(0x167)](_0x4249fd,_0x5d8b19,{'value':_0x8b6b12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4249fd[_0x5d8b19]=_0x8b6b12,_0x4249fd;}function Q(_0x378d35,_0x1b8b8a){return function(_0x35b847,_0x2a6e25){_0x1b8b8a(_0x35b847,_0x2a6e25,_0x378d35);};}function _0x56d6(_0x25c5d7,_0x77efd3){_0x25c5d7=_0x25c5d7-0x118;const _0x1a2a8a=_0x1a2a();let _0x56d673=_0x1a2a8a[_0x25c5d7];return _0x56d673;}function te(_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10){const _0x3f6287=_0xcee175;var _0x2ed6b4=arguments[_0x3f6287(0x157)],_0x239219=_0x2ed6b4<0x3?_0xe775da:_0x48eb10===null?_0x48eb10=Object[_0x3f6287(0x15c)](_0xe775da,_0x1eddc5):_0x48eb10,_0x356abc;if(typeof Reflect==_0x3f6287(0x13e)&&typeof Reflect[_0x3f6287(0x126)]==_0x3f6287(0x133))_0x239219=Reflect[_0x3f6287(0x126)](_0x5eaafb,_0xe775da,_0x1eddc5,_0x48eb10);else{for(var _0x17c5e8=_0x5eaafb[_0x3f6287(0x157)]-0x1;_0x17c5e8>=0x0;_0x17c5e8--)(_0x356abc=_0x5eaafb[_0x17c5e8])&&(_0x239219=(_0x2ed6b4<0x3?_0x356abc(_0x239219):_0x2ed6b4>0x3?_0x356abc(_0xe775da,_0x1eddc5,_0x239219):_0x356abc(_0xe775da,_0x1eddc5))||_0x239219);}return _0x2ed6b4>0x3&&_0x239219&&Object[_0x3f6287(0x167)](_0xe775da,_0x1eddc5,_0x239219),_0x239219;}function _0x1a2a(){const _0xccb892=['_getBodyPath','extend','103130JoOjaH','_column','type','_rowContainsText','setBorder','Above','documentStyle','144191zhJZGQ','getMarginOverride','filter','getCellMargin','selectRange','decorate','tableCells','trHeight','getSource','Table','segmentId','findTableByText','distributeRows','selectRows','8872FUCqaw','max','deleteTable','getRowsRange','function','setStructuralSelection','getCellMarginOverride','deepClone','DocsTableRowInsertPosition','setTitleRow','getInfo','body','backgroundColor','getRowRange','setCellMargin','object','getTableAtSelection','_serializeModel','moveRow','insertRowAfter','titleText','from','deleteRow','setCellBackground','deleteRows','getColumnsRange','getTableRange','getTables','unmerge','_mutateActions','columnTypes','selectColumn','_tableId','Left','getText','selectColumns','size','appendColumn','unmergeCells','getTable','length','_injector','rows','getRowHeight','moveTableToOffset','getOwnPropertyDescriptor','Row','DocsTableSortDirection','actions','_unitId','startOffset','_getTableDocumentData','3914676HaOjvR','titleRow','replace','findTables','defineProperty','preset','symbol','insertColumnBefore','_document','default','setRowHeight','12271HjsozD','border','_tableContainsText','insertTable','DocsTableSelectionKind','getMetadata','getCellInsertOffset','hasTitleRow','setBackgroundColor','deleteColumns','DashStyleType','text','1252244ZzMqyV','tableSource','insertColumnsAfter','setHeaderRowCount','_segmentId','moveTableBy','insertTitleRow','syncExecuteCommand','insertColumnsBefore','string','getColumnIndex','margin','insertRowsBefore','distributeColumns','slice','constructor','_table','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_getTables','2500920DWIeLv','getRowCount','_row','tableColumns','1674GJgJgb','deleteColumn','setTableBackground','getInsertOffset','_commandService','getRowIndex','tableRows','describe','_getDocumentData','getContentRange','getStableTableSelection','prototype','width','clearMarginOverride','setColumnWidth','AT_LEAST','tableId','Below','appendRow','setTableStyle','getId','4447895DKjpvl','get','cells','dataStream','selectCell','getCell','selectTable','sortByColumn','headerRowCount','some','_createFDocumentTable','pinHeaderRows','includes','insertRowBefore','Right','getCellContentRange','setDefaultCellMargin','getCellRange','getSnapshot','getDefaultCellMargin','cellMargin','#1f1f1f','moveColumns','getColumnCount','getCellText','endOffset','setTableBorder','6CQPusi','moveRows','setColumnType','SOLID','mergeCells','getTableMetadata','getDocumentDataModel','All','setText','setCellText','headerText','insertRowsAfter','getDefaultCellMarginOverride'];_0x1a2a=function(){return _0xccb892;};return _0x1a2a();}let $=class{constructor(_0x643105,_0x310105,_0x1d9a55,_0x36ad25,_0x25b275){const _0x4273c1=_0xcee175;this[_0x4273c1(0x16b)]=_0x643105,this[_0x4273c1(0x14f)]=_0x310105,this[_0x4273c1(0x17e)]=_0x1d9a55,this[_0x4273c1(0x195)]=_0x36ad25,this[_0x4273c1(0x158)]=_0x25b275,Z(this,_0x4273c1(0x160),void 0x0),this[_0x4273c1(0x160)]=this[_0x4273c1(0x16b)]['getId']();}[_0xcee175(0x1a5)](){const _0x119049=_0xcee175;return this[_0x119049(0x14f)];}['getSegmentId'](){const _0x49bafa=_0xcee175;return this[_0x49bafa(0x17e)];}[_0xcee175(0x139)](){const _0x1157be=_0xcee175;return{'id':this['_tableId'],'rowCount':this[_0x1157be(0x18e)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x1157be(0x173)](),'source':this[_0x1157be(0x129)]()};}[_0xcee175(0x198)](){const _0x19bb91=_0xcee175;let _0x680863=this[_0x19bb91(0x173)](),_0x18d062=this['getSource'](),_0x3e160a=this[_0x19bb91(0x1bd)]();return{'id':this[_0x19bb91(0x14f)],'rowCount':this[_0x19bb91(0x18e)](),'columnCount':_0x3e160a,'headerRowCount':(_0x680863==null?void 0x0:_0x680863['headerRowCount'])??0x0,'titleRow':(_0x680863==null?void 0x0:_0x680863[_0x19bb91(0x164)])??!0x1,'columns':Array['from']({'length':_0x3e160a},(_0x56be14,_0x47b2ea)=>{const _0x2f82e4=_0x19bb91;var _0x3787aa,_0x1df8f0;return{'index':_0x47b2ea,'type':_0x680863==null||(_0x3787aa=_0x680863[_0x2f82e4(0x14d)])==null||(_0x3787aa=_0x3787aa[_0x47b2ea])==null?void 0x0:_0x3787aa[_0x2f82e4(0x11c)],'width':_0x18d062==null||(_0x1df8f0=_0x18d062[_0x2f82e4(0x190)][_0x47b2ea])==null?void 0x0:_0x1df8f0[_0x2f82e4(0x153)][_0x2f82e4(0x19d)]['v']};}),'sampleRows':Array[_0x19bb91(0x144)]({'length':this[_0x19bb91(0x18e)]()},(_0x177f2b,_0x4076cf)=>Array[_0x19bb91(0x144)]({'length':_0x3e160a},(_0xfceb05,_0x5c06b3)=>this['getCellText'](_0x4076cf,_0x5c06b3)))['filter'](_0x150ac0=>_0x150ac0[_0x19bb91(0x1af)](_0x352189=>_0x352189['length']>0x0))[_0x19bb91(0x188)](0x0,0x5)};}[_0xcee175(0x18e)](){const _0x5bef8d=_0xcee175;var _0x1562c8;return((_0x1562c8=this[_0x5bef8d(0x129)]())==null?void 0x0:_0x1562c8[_0x5bef8d(0x197)][_0x5bef8d(0x157)])??0x0;}['getColumnCount'](){const _0x4ff809=_0xcee175;var _0x2feb3f;return((_0x2feb3f=this[_0x4ff809(0x129)]())==null?void 0x0:_0x2feb3f[_0x4ff809(0x190)]['length'])??0x0;}[_0xcee175(0x1ab)](_0x32a603,_0xf9c7cd){const _0x5835c0=_0xcee175;var _0x4be3a0;return(_0x4be3a0=this['getSource']())!=null&&(_0x4be3a0=_0x4be3a0['tableRows'][_0x32a603])!=null&&_0x4be3a0[_0x5835c0(0x127)][_0xf9c7cd]?this[_0x5835c0(0x158)]['createInstance'](q,this,_0x32a603,_0xf9c7cd):null;}[_0xcee175(0x1be)](_0x29f8ad,_0x46912d){const _0x2c619d=_0xcee175;var _0x378707,_0x32d3a4;let _0x1b21b1=(_0x378707=_0x4ba6c9(this['_getDocumentData'](),this['_tableId']))==null||(_0x378707=_0x378707[_0x2c619d(0x159)][_0x29f8ad])==null?void 0x0:_0x378707[_0x2c619d(0x1a8)][_0x46912d];return _0x1b21b1?((_0x32d3a4=this[_0x2c619d(0x199)]()[_0x2c619d(0x13a)])==null?void 0x0:_0x32d3a4[_0x2c619d(0x1a9)]['slice'](_0x1b21b1['startOffset']+0x1,_0x1b21b1['endOffset'])[_0x2c619d(0x165)](/\r\n$/,''))??'':'';}[_0xcee175(0x124)](_0x8d2875,_0x210f0c){const _0x308e86=_0xcee175;var _0x30fdf3;let _0x387da7=this[_0x308e86(0x129)](),_0x4e5f67=_0x387da7==null||(_0x30fdf3=_0x387da7['tableRows'][_0x8d2875])==null?void 0x0:_0x30fdf3[_0x308e86(0x127)][_0x210f0c];return _0x4e5f67?_0x307248[_0x308e86(0x136)](_0x4e5f67['margin']??_0x387da7[_0x308e86(0x1ba)]??_0x21745d):null;}[_0xcee175(0x135)](_0x1e0346,_0x5bc3bf){const _0x58b74b=_0xcee175;var _0x3813bf;let _0x2c629a=(_0x3813bf=this['getSource']())==null||(_0x3813bf=_0x3813bf[_0x58b74b(0x197)][_0x1e0346])==null?void 0x0:_0x3813bf[_0x58b74b(0x127)][_0x5bc3bf];return _0x2c629a!=null&&_0x2c629a[_0x58b74b(0x185)]?_0x307248['deepClone'](_0x2c629a[_0x58b74b(0x185)]):null;}[_0xcee175(0x1b9)](){const _0x3aa7df=_0xcee175;var _0x55f5d1;return _0x307248[_0x3aa7df(0x136)](((_0x55f5d1=this[_0x3aa7df(0x129)]())==null?void 0x0:_0x55f5d1['cellMargin'])??_0x21745d);}[_0xcee175(0x1cd)](){const _0x50e600=_0xcee175;var _0x6ef81d;let _0x132a1a=(_0x6ef81d=this[_0x50e600(0x129)]())==null?void 0x0:_0x6ef81d[_0x50e600(0x1ba)];return _0x132a1a?_0x307248[_0x50e600(0x136)](_0x132a1a):null;}[_0xcee175(0x173)](){const _0x48c024=_0xcee175;return this[_0x48c024(0x158)][_0x48c024(0x1a7)](_0x3c570c)[_0x48c024(0x1c6)](this['_unitId'],this['_tableId']);}['getSource'](){const _0x330dd4=_0xcee175;var _0xc9b3d2;return(_0xc9b3d2=this['_getDocumentData']()[_0x330dd4(0x17b)])==null?void 0x0:_0xc9b3d2[this[_0x330dd4(0x14f)]];}['getRange'](){const _0x2c189e=_0xcee175;return _0x4ba6c9(this[_0x2c189e(0x199)](),this['_tableId']);}[_0xcee175(0x149)](){const _0x415ce1=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x18e)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x415ce1(0x130)](0x0,this[_0x415ce1(0x1bd)]()-0x1)};}['getCellRange'](_0x37f281,_0x31c90a){return{'startRow':_0x37f281,'endRow':_0x37f281,'startColumn':_0x31c90a,'endColumn':_0x31c90a};}[_0xcee175(0x1b5)](_0x208918,_0x343c32){const _0x1679b5=_0xcee175;var _0x328e8e;let _0x3d6bad=(_0x328e8e=_0x4ba6c9(this['_getDocumentData'](),this[_0x1679b5(0x14f)]))==null||(_0x328e8e=_0x328e8e['rows'][_0x208918])==null?void 0x0:_0x328e8e['cells'][_0x343c32];if(!_0x3d6bad)return null;let _0x492121=_0x3d6bad['startOffset']+0x1;return{'startOffset':_0x492121,'endOffset':Math[_0x1679b5(0x130)](_0x492121,_0x3d6bad[_0x1679b5(0x1bf)]-0x1),'segmentId':this['_segmentId']};}[_0xcee175(0x174)](_0x221a74,_0x4fb440){const _0x701a09=_0xcee175;let _0x448145=this[_0x701a09(0x1b5)](_0x221a74,_0x4fb440);return _0x448145?Math[_0x701a09(0x130)](_0x448145[_0x701a09(0x161)],_0x448145[_0x701a09(0x1bf)]-0x1):null;}[_0xcee175(0x13c)](_0x1a1b2c){return this['getRowsRange'](_0x1a1b2c,0x1);}['getRowsRange'](_0x2ba214,_0x575483=0x1){const _0x403da0=_0xcee175;return{'startRow':_0x2ba214,'endRow':_0x2ba214+_0x575483-0x1,'startColumn':0x0,'endColumn':Math[_0x403da0(0x130)](0x0,this['getColumnCount']()-0x1)};}['getColumnRange'](_0x3bc710){const _0x476512=_0xcee175;return this[_0x476512(0x148)](_0x3bc710,0x1);}[_0xcee175(0x148)](_0x3001c3,_0x50eeb4=0x1){const _0x19ac8e=_0xcee175;return{'startRow':0x0,'endRow':Math[_0x19ac8e(0x130)](0x0,this[_0x19ac8e(0x18e)]()-0x1),'startColumn':_0x3001c3,'endColumn':_0x3001c3+_0x50eeb4-0x1};}[_0xcee175(0x1ac)](){const _0x42299a=_0xcee175;return this['selectRange'](this[_0x42299a(0x149)](),_0x5a36fd[_0x42299a(0x12a)]);}['selectRow'](_0x3a0c93){return this['selectRows'](_0x3a0c93,0x1);}[_0xcee175(0x12e)](_0x374714,_0x39f617=0x1){const _0x30f39=_0xcee175;return this['selectRange'](this[_0x30f39(0x132)](_0x374714,_0x39f617),_0x5a36fd[_0x30f39(0x15d)]);}[_0xcee175(0x14e)](_0x39375c){const _0x4d8971=_0xcee175;return this[_0x4d8971(0x152)](_0x39375c,0x1);}[_0xcee175(0x152)](_0x29624e,_0xc72198=0x1){const _0x40a41b=_0xcee175;return this['selectRange'](this[_0x40a41b(0x148)](_0x29624e,_0xc72198),_0x5a36fd['Column']);}[_0xcee175(0x1aa)](_0x29992e,_0x5234e7){const _0x37eba7=_0xcee175;return this[_0x37eba7(0x125)](this[_0x37eba7(0x1b7)](_0x29992e,_0x5234e7),_0x5a36fd['Cell']);}[_0xcee175(0x125)](_0x5d5b18,_0x2e2d72=_0x5a36fd['Range']){const _0x28aad4=_0xcee175;return this[_0x28aad4(0x158)][_0x28aad4(0x1a7)](_0x52774c)[_0x28aad4(0x134)]({..._0x5d5b18,'kind':_0x2e2d72,'segmentId':this[_0x28aad4(0x17e)],'tableId':this['_tableId']}),!0x0;}[_0xcee175(0x1b3)](_0x46b53d){const _0x2d2d8f=_0xcee175;return this[_0x2d2d8f(0x186)](_0x46b53d,0x1);}[_0xcee175(0x142)](_0x1443ed){return this['insertRowsAfter'](_0x1443ed,0x1);}['insertRowsBefore'](_0x594652,_0x3d2594){const _0x3c9353=_0xcee175;let _0xfdd2a8=this[_0x3c9353(0x199)](),_0x520517=_0x1ba735(_0xfdd2a8,this[_0x3c9353(0x14f)],_0x594652,_0x3d2594,_0x50a60f[_0x3c9353(0x11f)],this[_0x3c9353(0x118)]());return _0x520517?this[_0x3c9353(0x14c)](_0xfdd2a8,_0x520517[_0x3c9353(0x15f)]):!0x1;}[_0xcee175(0x1cc)](_0x4b30b7,_0x349727){const _0x196709=_0xcee175;let _0x44be8b=this[_0x196709(0x199)](),_0x10e1a4=_0x1ba735(_0x44be8b,this[_0x196709(0x14f)],_0x4b30b7,_0x349727,_0x50a60f[_0x196709(0x1a2)],this[_0x196709(0x118)]());return _0x10e1a4?this[_0x196709(0x14c)](_0x44be8b,_0x10e1a4['actions']):!0x1;}[_0xcee175(0x1a3)](){const _0x133528=_0xcee175;return this[_0x133528(0x1cc)](Math[_0x133528(0x130)](0x0,this[_0x133528(0x18e)]()-0x1),0x1);}[_0xcee175(0x16a)](_0x3da45a){const _0xf1c486=_0xcee175;return this[_0xf1c486(0x182)](_0x3da45a,0x1);}['insertColumnAfter'](_0x5c8ee0){const _0x2f2a5a=_0xcee175;return this[_0x2f2a5a(0x17c)](_0x5c8ee0,0x1);}[_0xcee175(0x182)](_0x133a32,_0x406181){const _0x2857a6=_0xcee175;let _0x1d40f7=this[_0x2857a6(0x199)](),_0x4bf8f5=_0x42f91b(_0x1d40f7,this[_0x2857a6(0x14f)],_0x133a32,_0x406181,_0x50a60f[_0x2857a6(0x150)],{'bodyPath':this[_0x2857a6(0x118)]()});return _0x4bf8f5?this[_0x2857a6(0x14c)](_0x1d40f7,_0x4bf8f5[_0x2857a6(0x15f)]):!0x1;}[_0xcee175(0x17c)](_0x3682c0,_0x1358ac){const _0x48c773=_0xcee175;let _0x3cd25e=this[_0x48c773(0x199)](),_0x27a153=_0x42f91b(_0x3cd25e,this[_0x48c773(0x14f)],_0x3682c0,_0x1358ac,_0x50a60f[_0x48c773(0x1b4)],{'bodyPath':this[_0x48c773(0x118)]()});return _0x27a153?this[_0x48c773(0x14c)](_0x3cd25e,_0x27a153[_0x48c773(0x15f)]):!0x1;}[_0xcee175(0x154)](){const _0x513661=_0xcee175;return this[_0x513661(0x17c)](Math[_0x513661(0x130)](0x0,this['getColumnCount']()-0x1),0x1);}[_0xcee175(0x145)](_0x22f2cc){const _0x5cea77=_0xcee175;return this[_0x5cea77(0x147)](_0x22f2cc,0x1);}[_0xcee175(0x147)](_0x56b6d9,_0x2f0259=0x1){const _0x438f01=_0xcee175;return!!this[_0x438f01(0x195)]['syncExecuteCommand'](_0x463552['id'],{'endRow':_0x56b6d9+_0x2f0259-0x1,'segmentId':this[_0x438f01(0x17e)],'startRow':_0x56b6d9,'tableId':this[_0x438f01(0x14f)],'unitId':this[_0x438f01(0x160)]});}[_0xcee175(0x192)](_0x4a05eb){const _0x51be07=_0xcee175;return this[_0x51be07(0x177)](_0x4a05eb,0x1);}[_0xcee175(0x177)](_0x4351f8,_0x305ba2=0x1){const _0x3b8a03=_0xcee175;return!!this[_0x3b8a03(0x195)][_0x3b8a03(0x181)](_0x135ce2['id'],{'endColumn':_0x4351f8+_0x305ba2-0x1,'segmentId':this[_0x3b8a03(0x17e)],'startColumn':_0x4351f8,'tableId':this[_0x3b8a03(0x14f)],'unitId':this[_0x3b8a03(0x160)]});}[_0xcee175(0x131)](){const _0x4f3615=_0xcee175;return!!this[_0x4f3615(0x195)][_0x4f3615(0x181)](_0x229429['id'],{'segmentId':this[_0x4f3615(0x17e)],'tableId':this[_0x4f3615(0x14f)],'unitId':this[_0x4f3615(0x160)]});}[_0xcee175(0x17f)](_0x33e726,_0x374051){const _0x4f34a6=_0xcee175;let _0x58df42=this[_0x4f34a6(0x199)]();return this[_0x4f34a6(0x14c)](_0x58df42,_0x4e09e1(_0x58df42,this[_0x4f34a6(0x14f)],_0x33e726,_0x374051));}[_0xcee175(0x15b)](_0x34110a){const _0x4612a6=_0xcee175;let _0x1ced14=this[_0x4612a6(0x199)]();return this[_0x4612a6(0x14c)](_0x1ced14,_0x22c831(_0x1ced14,this[_0x4612a6(0x14f)],_0x34110a,this[_0x4612a6(0x118)]()));}[_0xcee175(0x141)](_0x4df032,_0x47aad0,_0x5853d7=_0x50a60f[_0xcee175(0x11f)]){const _0x232617=_0xcee175;return this[_0x232617(0x1c2)](_0x4df032,0x1,_0x47aad0,_0x5853d7);}['moveRows'](_0x29b6d0,_0x76ad8f,_0x5324b2,_0x376397=_0x50a60f[_0xcee175(0x11f)]){const _0x1ae03b=_0xcee175;let _0x4e58f9=this[_0x1ae03b(0x199)](),_0x181385=_0x4341e1(_0x4e58f9,this['_tableId'],_0x29b6d0,_0x5324b2,_0x76ad8f,_0x376397,this[_0x1ae03b(0x118)]());return _0x181385?this[_0x1ae03b(0x14c)](_0x4e58f9,_0x181385[_0x1ae03b(0x15f)]):!0x1;}['moveColumn'](_0x2dcc74,_0x3c67d1,_0x260fb1=_0x50a60f[_0xcee175(0x150)]){return this['moveColumns'](_0x2dcc74,0x1,_0x3c67d1,_0x260fb1);}[_0xcee175(0x1bc)](_0x55e9a4,_0x2d5411,_0x4943df,_0x4b9053=_0x50a60f[_0xcee175(0x150)]){const _0x5e2c62=_0xcee175;let _0x3f6989=this[_0x5e2c62(0x199)](),_0x2ce144=_0x2792a3(_0x3f6989,this[_0x5e2c62(0x14f)],_0x55e9a4,_0x4943df,_0x2d5411,_0x4b9053,this[_0x5e2c62(0x118)]());return _0x2ce144?this[_0x5e2c62(0x14c)](_0x3f6989,_0x2ce144[_0x5e2c62(0x15f)]):!0x1;}[_0xcee175(0x1c5)](_0x51e77e){const _0x2de6c7=_0xcee175;try{let _0x190d63=this['_getDocumentData'](),_0x1d8180=_0x3aec2e({'documentData':_0x190d63,'tableId':this[_0x2de6c7(0x14f)],..._0x51e77e});return _0x1d8180?this[_0x2de6c7(0x14c)](_0x190d63,_0x1d8180[_0x2de6c7(0x15f)],_0x51e77e):!0x1;}catch{return!0x1;}}['unmergeCells'](_0x1bcf99){const _0xaf4fd5=_0xcee175;try{let _0x31e763=this[_0xaf4fd5(0x199)](),_0x1deb35=_0x393d14({'documentData':_0x31e763,'tableId':this[_0xaf4fd5(0x14f)],..._0x1bcf99});return _0x1deb35?this[_0xaf4fd5(0x14c)](_0x31e763,_0x1deb35['actions'],_0x1bcf99):!0x1;}catch{return!0x1;}}['setCellText'](_0x12120e,_0x2a42fa,_0x2234a8){const _0x10832b=_0xcee175;let _0x10ba96=this[_0x10832b(0x199)](),_0x285270=_0x3b5491(this['_document'][_0x10832b(0x1c7)]()['getSnapshot'](),this[_0x10832b(0x17e)]);return this[_0x10832b(0x14c)](_0x10ba96,_0x2655ab({'documentData':_0x10ba96,'tableId':this[_0x10832b(0x14f)],'row':_0x12120e,'column':_0x2a42fa,'text':_0x2234a8},_0x285270),this[_0x10832b(0x1b7)](_0x12120e,_0x2a42fa));}[_0xcee175(0x146)](_0x463b52,_0x4e4dee){const _0x461382=_0xcee175;let _0x38adcf=this[_0x461382(0x199)]();return this[_0x461382(0x14c)](_0x38adcf,_0x47f64e(_0x38adcf,{'tableId':this[_0x461382(0x14f)],..._0x463b52,'value':_0x4e4dee}),_0x463b52);}['setCellMargin'](_0x4c322f,_0x2a4ada){const _0x108895=_0xcee175;let _0x3664ac=this[_0x108895(0x199)]();return this[_0x108895(0x14c)](_0x3664ac,_0x2652fa({'documentData':_0x3664ac,'tableId':this['_tableId'],..._0x4c322f,'margin':_0x2a4ada}),_0x4c322f);}[_0xcee175(0x1b6)](_0x451885){const _0x39a321=_0xcee175;let _0x43f324=this[_0x39a321(0x199)]();return this[_0x39a321(0x14c)](_0x43f324,_0xfdd2fe(_0x43f324,this[_0x39a321(0x14f)],_0x451885));}[_0xcee175(0x11e)](_0xdfbfbb,_0xad9af1){const _0xf62517=_0xcee175;let _0x4e9360=this['_getDocumentData']();return this['_mutateActions'](_0x4e9360,_0x71f82c({'documentData':_0x4e9360,'tableId':this['_tableId'],..._0xdfbfbb,'preset':_0xad9af1[_0xf62517(0x168)]??_0xf76c6a[_0xf62517(0x1c8)],'border':_0xad9af1[_0xf62517(0x16f)]??{'color':{'rgb':_0xad9af1['color']??_0xf62517(0x1bb)},'width':{'v':_0xad9af1[_0xf62517(0x19d)]??0x1},'dashStyle':_0x235af0[_0xf62517(0x1c4)]}}),_0xdfbfbb);}[_0xcee175(0x193)](_0x496913){const _0x196588=_0xcee175;return this['setCellBackground'](this[_0x196588(0x149)](),_0x496913);}['setTableBorder'](_0x6c5d22){const _0x13fb4b=_0xcee175;return this[_0x13fb4b(0x11e)](this[_0x13fb4b(0x149)](),_0x6c5d22);}[_0xcee175(0x1a4)](_0x43d8fb){const _0x364ef6=_0xcee175;let _0x4423c5=!_0x43d8fb[_0x364ef6(0x13b)]||this[_0x364ef6(0x193)](_0x43d8fb[_0x364ef6(0x13b)]),_0x524925=!_0x43d8fb[_0x364ef6(0x16f)]||this[_0x364ef6(0x1c0)](_0x43d8fb['border']);return _0x4423c5&&_0x524925;}[_0xcee175(0x16d)](_0x483f47,_0x38a54c,_0x1bd360=_0x3ebc1c[_0xcee175(0x1a0)]){const _0x67c578=_0xcee175;var _0x193e51;let _0x48522b=this[_0x67c578(0x199)]();return(_0x193e51=_0x48522b[_0x67c578(0x17b)])!=null&&(_0x193e51=_0x193e51[this[_0x67c578(0x14f)]])!=null&&_0x193e51['tableRows'][_0x483f47]?this[_0x67c578(0x14c)](_0x48522b,_0x3a3c68(_0x48522b,this[_0x67c578(0x14f)],_0x483f47,_0x38a54c,_0x1bd360)):!0x1;}[_0xcee175(0x15a)](_0x11c2f8){const _0x4e99cf=_0xcee175;var _0x35411c;let _0x23290c=(_0x35411c=this['getSource']())==null||(_0x35411c=_0x35411c[_0x4e99cf(0x197)][_0x11c2f8])==null?void 0x0:_0x35411c[_0x4e99cf(0x128)];return _0x23290c?_0x307248[_0x4e99cf(0x136)](_0x23290c):null;}[_0xcee175(0x19f)](_0x4a472f,_0x4db7bd){const _0xc00f42=_0xcee175;var _0x9d4cc9;let _0x4cab30=this[_0xc00f42(0x199)]();return(_0x9d4cc9=_0x4cab30[_0xc00f42(0x17b)])!=null&&(_0x9d4cc9=_0x9d4cc9[this['_tableId']])!=null&&_0x9d4cc9[_0xc00f42(0x190)][_0x4a472f]?this[_0xc00f42(0x14c)](_0x4cab30,_0x1922ab(_0x4cab30,this['_tableId'],_0x4a472f,_0x4db7bd)):!0x1;}[_0xcee175(0x12d)](_0x451042=0x0,_0x4e3750=this[_0xcee175(0x18e)]()){const _0x4ca3ea=_0xcee175;let _0xa8975d=this[_0x4ca3ea(0x199)]();return this[_0x4ca3ea(0x14c)](_0xa8975d,_0x5e0604(_0xa8975d,this[_0x4ca3ea(0x14f)],_0x451042,_0x451042+_0x4e3750-0x1));}[_0xcee175(0x187)](_0x59ebc0=0x0,_0x5bea7d=this['getColumnCount']()){const _0x5702ee=_0xcee175;let _0x3f4511=this[_0x5702ee(0x199)]();return this[_0x5702ee(0x14c)](_0x3f4511,_0x54b594(_0x3f4511,this[_0x5702ee(0x14f)],_0x59ebc0,_0x59ebc0+_0x5bea7d-0x1));}['getHeaderRowCount'](){const _0xbb44fe=_0xcee175;var _0x2e9ea3;return((_0x2e9ea3=this['getMetadata']())==null?void 0x0:_0x2e9ea3[_0xbb44fe(0x1ae)])??0x0;}['setHeaderRowCount'](_0x4e22ee){const _0x3a16f3=_0xcee175;let _0x142495=this[_0x3a16f3(0x158)]['get'](_0x3c570c),_0x2cbba9=this['_getDocumentData'](),_0x1cf15a=_0x1e4c1(_0x2cbba9,this[_0x3a16f3(0x14f)],_0x4e22ee);if(!_0x1cf15a)return!0x1;let _0x2e6582=this[_0x3a16f3(0x14c)](_0x2cbba9,_0x1cf15a[_0x3a16f3(0x15f)]);return _0x2e6582&&_0x142495['setHeaderRowCount'](this[_0x3a16f3(0x160)],this['_tableId'],_0x1cf15a[_0x3a16f3(0x1ae)]),_0x2e6582;}[_0xcee175(0x1b1)](_0x41868f){const _0x3d4ef2=_0xcee175;return this[_0x3d4ef2(0x17d)](_0x41868f);}[_0xcee175(0x175)](){const _0x44ea82=_0xcee175;var _0x238d14;return((_0x238d14=this[_0x44ea82(0x173)]())==null?void 0x0:_0x238d14[_0x44ea82(0x164)])??!0x1;}[_0xcee175(0x180)](){const _0x32e631=_0xcee175;let _0xed1a8f=this[_0x32e631(0x158)][_0x32e631(0x1a7)](_0x3c570c),_0x3114a2=this['_getDocumentData'](),_0x4faf02=_0x5909d2(_0x3114a2,this[_0x32e631(0x14f)],this['_getBodyPath']());if(!_0x4faf02)return!0x1;let _0x1025fa=this[_0x32e631(0x14c)](_0x3114a2,_0x4faf02['actions']);return _0x1025fa&&_0xed1a8f[_0x32e631(0x138)](this['_unitId'],this[_0x32e631(0x14f)],!0x0),_0x1025fa;}['setColumnType'](_0x272746,_0x10d2fc){const _0x19fa1f=_0xcee175;return this['_injector'][_0x19fa1f(0x1a7)](_0x3c570c)[_0x19fa1f(0x1c3)](this[_0x19fa1f(0x160)],this[_0x19fa1f(0x14f)],_0x272746,_0x10d2fc),!0x0;}[_0xcee175(0x1ad)](_0x4c0a4,_0x1b8ba0){const _0x5d0017=_0xcee175;let _0x474005=this[_0x5d0017(0x199)]();return this[_0x5d0017(0x14c)](_0x474005,_0x26bb83(_0x474005,this['_serializeModel'](),this[_0x5d0017(0x14f)],_0x4c0a4,_0x1b8ba0,this[_0x5d0017(0x118)]()));}['_getDocumentData'](){const _0x4f8ebe=_0xcee175;let _0x138690=this[_0x4f8ebe(0x16b)][_0x4f8ebe(0x1c7)]()[_0x4f8ebe(0x1b8)]();return this[_0x4f8ebe(0x17e)]?{...this[_0x4f8ebe(0x16b)]['getDocumentDataModel'](this[_0x4f8ebe(0x17e)])[_0x4f8ebe(0x1b8)](),'documentStyle':_0x138690['documentStyle'],'tableSource':_0x138690[_0x4f8ebe(0x17b)]}:_0x138690;}[_0xcee175(0x140)](){const _0x3eb4f0=_0xcee175;return this[_0x3eb4f0(0x158)][_0x3eb4f0(0x1a7)](_0x3c570c)['serialize'](this[_0x3eb4f0(0x160)]);}[_0xcee175(0x118)](){const _0x1f9b4b=_0xcee175;return _0x3b5491(this[_0x1f9b4b(0x16b)]['getDocumentDataModel']()[_0x1f9b4b(0x1b8)](),this[_0x1f9b4b(0x17e)]);}['_mutateActions'](_0x2eb54e,_0x31161b,_0x2ef6d4){const _0x22771e=_0xcee175;return _0x279883(this[_0x22771e(0x195)],this['_unitId'],_0x2eb54e,_0x31161b,_0x2ef6d4?{'tableId':this[_0x22771e(0x14f)],'segmentId':this[_0x22771e(0x17e)],..._0x2ef6d4}:void 0x0);}};$=te([Q(0x3,_0x227b4c),Q(0x4,_0x7b97ec(_0x5e029d))],$);var ne=class extends _0x1ebdb5{[_0xcee175(0x14a)](_0x343392=''){const _0x3a232b=_0xcee175;return this[_0x3a232b(0x18c)](_0x343392)['map'](_0x2f722a=>this[_0x3a232b(0x1b0)](_0x2f722a['tableId'],_0x343392));}['getTable'](_0x54d62f,_0x1a8211=''){const _0x26e976=_0xcee175;return this[_0x26e976(0x18c)](_0x1a8211)[_0x26e976(0x1af)](_0x47ed93=>_0x47ed93[_0x26e976(0x1a1)]===_0x54d62f)?this[_0x26e976(0x1b0)](_0x54d62f,_0x1a8211):null;}['getTableAt'](_0x2100e2,_0x103249=''){const _0x3029b0=_0xcee175;var _0x2af371;let _0x2fe7df=(_0x2af371=this[_0x3029b0(0x18c)](_0x103249)[_0x2100e2])==null?void 0x0:_0x2af371[_0x3029b0(0x1a1)];return _0x2fe7df?this['_createFDocumentTable'](_0x2fe7df,_0x103249):null;}[_0xcee175(0x13f)](){const _0x40afb6=_0xcee175;let _0x952a28=this['_injector'][_0x40afb6(0x1a7)](_0x52774c)[_0x40afb6(0x19b)]();return _0x952a28!=null&&_0x952a28[_0x40afb6(0x1a1)]?this['_createFDocumentTable'](_0x952a28['tableId'],_0x952a28[_0x40afb6(0x12b)]):null;}[_0xcee175(0x12c)](_0x13a3e0,_0x1a371a=''){const _0x163655=_0xcee175;return this[_0x163655(0x166)](_0x13a3e0,_0x1a371a)[0x0]??null;}[_0xcee175(0x166)](_0x2f8436,_0x5bdcc2=''){const _0x1ef941=_0xcee175;let _0x4bb40c=this[_0x1ef941(0x162)](_0x5bdcc2),_0x3cc257=typeof _0x2f8436==_0x1ef941(0x183)?{'text':_0x2f8436}:_0x2f8436;return this[_0x1ef941(0x14a)](_0x5bdcc2)[_0x1ef941(0x123)](_0x2a79b9=>{const _0x35d654=_0x1ef941;let _0x13c3b2=_0x2a79b9[_0x35d654(0x1a5)]();return!(_0x3cc257[_0x35d654(0x1a1)]&&_0x13c3b2!==_0x3cc257[_0x35d654(0x1a1)]||_0x3cc257[_0x35d654(0x179)]&&!this[_0x35d654(0x170)](_0x4bb40c,_0x13c3b2,_0x3cc257[_0x35d654(0x179)])||_0x3cc257[_0x35d654(0x1cb)]&&!this['_rowContainsText'](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x1cb)])||_0x3cc257[_0x35d654(0x143)]&&!this[_0x35d654(0x11d)](_0x2a79b9,0x0,_0x3cc257[_0x35d654(0x143)]));});}[_0xcee175(0x171)](_0x5a61ca,_0x1cd4fe,_0x5b3256={}){const _0xa248a4=_0xcee175;let _0x32e97c=this[_0xa248a4(0x158)][_0xa248a4(0x1a7)](_0x227b4c),_0x1c4b52=_0x5b3256[_0xa248a4(0x1a1)]??_0x563431(0x6);return _0x32e97c[_0xa248a4(0x181)](_0x2f63fe['id'],{..._0x5b3256,'unitId':this[_0xa248a4(0x1a5)](),'rows':_0x5a61ca,'columns':_0x1cd4fe,'tableId':_0x1c4b52})?this['_createFDocumentTable'](_0x1c4b52,_0x5b3256[_0xa248a4(0x12b)]??''):null;}['insertTableFromData'](_0x36509c,_0x1015c6={}){const _0xf8ae1a=_0xcee175;let _0x4788c8=this[_0xf8ae1a(0x158)][_0xf8ae1a(0x1a7)](_0x227b4c),_0x52ace4=_0x1015c6['tableId']??_0x563431(0x6);return _0x4788c8[_0xf8ae1a(0x181)](_0x2f63fe['id'],{..._0x1015c6,'unitId':this[_0xf8ae1a(0x1a5)](),'values':_0x36509c,'tableId':_0x52ace4})?this[_0xf8ae1a(0x1b0)](_0x52ace4,_0x1015c6[_0xf8ae1a(0x12b)]??''):null;}[_0xcee175(0x18c)](_0x4cb748=''){let {tables:_0x5a028d=[]}=this['getBody'](_0x4cb748);return _0x5a028d;}['_getTableDocumentData'](_0x248830=''){const _0x3ff438=_0xcee175;let _0x1b8042=this[_0x3ff438(0x1c7)]()[_0x3ff438(0x1b8)]();return _0x248830?{...this[_0x3ff438(0x1c7)](_0x248830)[_0x3ff438(0x1b8)](),'documentStyle':_0x1b8042[_0x3ff438(0x120)],'tableSource':_0x1b8042[_0x3ff438(0x17b)]}:_0x1b8042;}[_0xcee175(0x1b0)](_0x227812,_0x4763ce=''){return this['_injector']['createInstance']($,this,_0x227812,_0x4763ce);}[_0xcee175(0x170)](_0x496814,_0x45aecc,_0x24a5c8){const _0x1f8959=_0xcee175;var _0x519ed4;let _0x4b01f9=_0x4ba6c9(_0x496814,_0x45aecc);if(!_0x4b01f9)return!0x1;let _0x557afa=(_0x519ed4=_0x496814[_0x1f8959(0x13a)])==null?void 0x0:_0x519ed4[_0x1f8959(0x1a9)];return _0x557afa?_0x557afa[_0x1f8959(0x188)](_0x4b01f9[_0x1f8959(0x161)],_0x4b01f9[_0x1f8959(0x1bf)])[_0x1f8959(0x1b2)](_0x24a5c8):!0x1;}[_0xcee175(0x11d)](_0x1ab20a,_0xdcca06,_0x23f883){const _0x113bc0=_0xcee175;return Array['from']({'length':_0x1ab20a[_0x113bc0(0x1bd)]()},(_0x4724e5,_0x2fb2bf)=>_0x1ab20a['getCellText'](_0xdcca06,_0x2fb2bf))[_0x113bc0(0x1af)](_0x5cfd25=>_0x5cfd25[_0x113bc0(0x1b2)](_0x23f883));}};_0x1ebdb5[_0xcee175(0x119)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};