@univerjs-pro/docs-table 1.0.2 → 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 _0x450391=_0x3239;(function(_0x33a8b3,_0x37a219){const _0x7d2f2d=_0x3239,_0x1f7683=_0x33a8b3();while(!![]){try{const _0x55e326=-parseInt(_0x7d2f2d(0x185))/0x1*(-parseInt(_0x7d2f2d(0x134))/0x2)+-parseInt(_0x7d2f2d(0x1a8))/0x3*(-parseInt(_0x7d2f2d(0x15c))/0x4)+parseInt(_0x7d2f2d(0x177))/0x5*(-parseInt(_0x7d2f2d(0x1bf))/0x6)+-parseInt(_0x7d2f2d(0x11b))/0x7*(-parseInt(_0x7d2f2d(0x12b))/0x8)+-parseInt(_0x7d2f2d(0x182))/0x9*(-parseInt(_0x7d2f2d(0x1c1))/0xa)+parseInt(_0x7d2f2d(0x11f))/0xb+parseInt(_0x7d2f2d(0x170))/0xc*(-parseInt(_0x7d2f2d(0x1a2))/0xd);if(_0x55e326===_0x37a219)break;else _0x1f7683['push'](_0x1f7683['shift']());}catch(_0x4cf26e){_0x1f7683['push'](_0x1f7683['shift']());}}}(_0xd222,0x23380));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x17b993,DocsTableBorderPreset as _0x546136,DocsTableColumnInsertPosition as _0x257619,DocsTableColumnType as _0x1d0fba,DocsTableDeleteColumnsCommand as _0xa25738,DocsTableDeleteRowsCommand as _0x2270d3,DocsTableDeleteTableCommand as _0x2bd454,DocsTableInsertPosition as _0x263a96,DocsTableInsertTableCommand as _0x1aa8ac,DocsTableInsertTablePosition as _0x5075cb,DocsTableModel as _0x1d5e57,DocsTableRowInsertPosition as _0x912eda,DocsTableSelectionKind as _0xc55a4e,DocsTableSelectionService as _0x7a6c73,DocsTableSortDirection as _0x2cef95,buildDistributeTableColumnsMutationActions as _0xb08199,buildDistributeTableRowsMutationActions as _0x522aac,buildInsertTableColumnsMutationActions as _0x59d424,buildInsertTableRowsMutationActions as _0x2c56c3,buildInsertTableTitleRowMutationActions as _0xd4511d,buildMergeCellsMutationActions as _0x28b21b,buildMoveFloatingTableMutationActions as _0x3b4223,buildMoveTableColumnsMutationActions as _0x306aab,buildMoveTableRowsMutationActions as _0x62186a,buildMoveTableToOffsetMutationActions as _0x5d6442,buildResizeTableColumnActionsFromWidth as _0x4e543f,buildResizeTableRowActionsFromHeight as _0x5398c0,buildSetTableBackgroundMutationActions as _0x4cab8c,buildSetTableBorderMutationActions as _0x36a2e0,buildSetTableCellMarginMutationActions as _0x559923,buildSetTableCellTextMutationActions as _0x38a634,buildSetTableDefaultCellMarginMutationActions as _0x38bd1c,buildSetTableHeaderRowCountMutationActions as _0x20b714,buildSortTableMutationActions as _0x27e257,buildUnmergeCellsMutationActions as _0x43c6c6,executeRichTextTableActions as _0x5888fa,getTableActionBodyPath as _0x46b1a1,getTableRangeById as _0x31425e}from'@univerjs-pro/docs-table';import{DashStyleType as _0x312d8b,ICommandService as _0x1b348d,Inject as _0x420241,Injector as _0x6422cd,TableRowHeightRule as _0x2daa1c,Tools as _0x3ed6fb,generateRandomId as _0x45f65c}from'@univerjs/core';import{FEnum as _0x1708f8}from'@univerjs/core/facade';import{FDocument as _0x3a5148}from'@univerjs/docs/facade';var K=class extends _0x1708f8{get['DocsTableInsertTablePosition'](){return _0x5075cb;}get['DocsTableColumnType'](){return _0x1d0fba;}get[_0x450391(0x15a)](){return _0xc55a4e;}get[_0x450391(0x1ad)](){return _0x912eda;}get[_0x450391(0x132)](){return _0x257619;}get[_0x450391(0x14a)](){return _0x546136;}get[_0x450391(0x19e)](){return _0x2cef95;}get[_0x450391(0x167)](){return _0x312d8b;}};_0x1708f8[_0x450391(0x1bb)](K);var q=class{constructor(_0x296fa6,_0x3fe685,_0xebf645){const _0x3f5460=_0x450391;this[_0x3f5460(0x1ae)]=_0x296fa6,this['_row']=_0x3fe685,this[_0x3f5460(0x1be)]=_0xebf645;}[_0x450391(0x155)](){const _0x2a62d6=_0x450391;return this[_0x2a62d6(0x1ae)];}['getRowIndex'](){const _0x15983c=_0x450391;return this[_0x15983c(0x13c)];}[_0x450391(0x129)](){const _0x17882d=_0x450391;return this[_0x17882d(0x1be)];}[_0x450391(0x143)](){const _0x20d31b=_0x450391;return this[_0x20d31b(0x1ae)][_0x20d31b(0x117)](this[_0x20d31b(0x13c)],this[_0x20d31b(0x1be)]);}['getContentRange'](){const _0x272b48=_0x450391;return this[_0x272b48(0x1ae)]['getCellContentRange'](this[_0x272b48(0x13c)],this['_column']);}[_0x450391(0x1c4)](){const _0x5b42cb=_0x450391;return this[_0x5b42cb(0x1ae)][_0x5b42cb(0x181)](this['_row'],this[_0x5b42cb(0x1be)]);}[_0x450391(0x1c2)](){const _0x300048=_0x450391;return this[_0x300048(0x1ae)][_0x300048(0x15e)](this[_0x300048(0x13c)],this['_column']);}[_0x450391(0x17d)](){const _0x1fe07d=_0x450391;return this[_0x1fe07d(0x1ae)][_0x1fe07d(0x184)](this[_0x1fe07d(0x13c)],this[_0x1fe07d(0x1be)]);}[_0x450391(0x123)](_0x3a5992){const _0x183476=_0x450391;return this[_0x183476(0x1ae)]['setCellMargin'](this[_0x183476(0x1ae)]['getCellRange'](this[_0x183476(0x13c)],this[_0x183476(0x1be)]),_0x3a5992);}[_0x450391(0x121)](){const _0x5ca595=_0x450391;return this[_0x5ca595(0x1ae)][_0x5ca595(0x1af)](this[_0x5ca595(0x1ae)]['getCellRange'](this[_0x5ca595(0x13c)],this['_column']),null);}[_0x450391(0x193)](_0x3ae862){const _0x3f9f02=_0x450391;return this[_0x3f9f02(0x1ae)]['setCellText'](this[_0x3f9f02(0x13c)],this[_0x3f9f02(0x1be)],_0x3ae862);}[_0x450391(0x1b1)](_0x1010d8){const _0x5f439b=_0x450391;return this[_0x5f439b(0x1ae)][_0x5f439b(0x148)](this[_0x5f439b(0x1ae)][_0x5f439b(0x165)](this[_0x5f439b(0x13c)],this[_0x5f439b(0x1be)]),_0x1010d8);}['setBorder'](_0x19136e){const _0x4435b2=_0x450391;return this[_0x4435b2(0x1ae)]['setBorder'](this[_0x4435b2(0x1ae)]['getCellRange'](this[_0x4435b2(0x13c)],this[_0x4435b2(0x1be)]),_0x19136e);}[_0x450391(0x1ab)](_0x41bd05,_0x2cb41e){const _0x1ea644=_0x450391;return this[_0x1ea644(0x1ae)][_0x1ea644(0x19d)]({'startRow':this[_0x1ea644(0x13c)],'startColumn':this[_0x1ea644(0x1be)],'endRow':this[_0x1ea644(0x13c)]+_0x41bd05-0x1,'endColumn':this[_0x1ea644(0x1be)]+_0x2cb41e-0x1});}['unmerge'](){const _0x47b2cf=_0x450391;return this[_0x47b2cf(0x1ae)]['unmergeCells'](this['_table'][_0x47b2cf(0x165)](this[_0x47b2cf(0x13c)],this['_column']));}};function J(_0x19d8d6){'@babel/helpers - typeof';const _0x5ca6af=_0x450391;return J=typeof Symbol==_0x5ca6af(0x153)&&typeof Symbol['iterator']==_0x5ca6af(0x175)?function(_0x1c4f7a){return typeof _0x1c4f7a;}:function(_0x9c21fc){const _0x295431=_0x5ca6af;return _0x9c21fc&&typeof Symbol==_0x295431(0x153)&&_0x9c21fc[_0x295431(0x1b8)]===Symbol&&_0x9c21fc!==Symbol['prototype']?_0x295431(0x175):typeof _0x9c21fc;},J(_0x19d8d6);}function Y(_0x2cca46,_0x3535fe){const _0x327f65=_0x450391;if(J(_0x2cca46)!=_0x327f65(0x111)||!_0x2cca46)return _0x2cca46;var _0x27b33d=_0x2cca46[Symbol['toPrimitive']];if(_0x27b33d!==void 0x0){var _0x49b764=_0x27b33d[_0x327f65(0x195)](_0x2cca46,_0x3535fe||_0x327f65(0x133));if(J(_0x49b764)!=_0x327f65(0x111))return _0x49b764;throw TypeError(_0x327f65(0x13b));}return(_0x3535fe===_0x327f65(0x12f)?String:Number)(_0x2cca46);}function X(_0x3e411f){const _0x5a5827=_0x450391;var _0xcd4d30=Y(_0x3e411f,_0x5a5827(0x12f));return J(_0xcd4d30)==_0x5a5827(0x175)?_0xcd4d30:_0xcd4d30+'';}function Z(_0xe53840,_0x269c9f,_0xe578e3){return(_0x269c9f=X(_0x269c9f))in _0xe53840?Object['defineProperty'](_0xe53840,_0x269c9f,{'value':_0xe578e3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe53840[_0x269c9f]=_0xe578e3,_0xe53840;}function _0x3239(_0xb4b65,_0xad9628){_0xb4b65=_0xb4b65-0x109;const _0xd2228d=_0xd222();let _0x3239e7=_0xd2228d[_0xb4b65];return _0x3239e7;}function Q(_0x5dc659,_0x59eec3){return function(_0x98059f,_0x4b23a6){_0x59eec3(_0x98059f,_0x4b23a6,_0x5dc659);};}function te(_0x270136,_0x10fa63,_0x2e0a5e,_0x34e3dc){const _0x33f378=_0x450391;var _0x56c8e7=arguments['length'],_0x2f902a=_0x56c8e7<0x3?_0x10fa63:_0x34e3dc===null?_0x34e3dc=Object[_0x33f378(0x1b2)](_0x10fa63,_0x2e0a5e):_0x34e3dc,_0x516883;if(typeof Reflect=='object'&&typeof Reflect[_0x33f378(0x139)]==_0x33f378(0x153))_0x2f902a=Reflect[_0x33f378(0x139)](_0x270136,_0x10fa63,_0x2e0a5e,_0x34e3dc);else{for(var _0xea0579=_0x270136['length']-0x1;_0xea0579>=0x0;_0xea0579--)(_0x516883=_0x270136[_0xea0579])&&(_0x2f902a=(_0x56c8e7<0x3?_0x516883(_0x2f902a):_0x56c8e7>0x3?_0x516883(_0x10fa63,_0x2e0a5e,_0x2f902a):_0x516883(_0x10fa63,_0x2e0a5e))||_0x2f902a);}return _0x56c8e7>0x3&&_0x2f902a&&Object[_0x33f378(0x18e)](_0x10fa63,_0x2e0a5e,_0x2f902a),_0x2f902a;}let $=class{constructor(_0x154ae1,_0x1af134,_0x3291ff,_0x432e91,_0x35a3a1){const _0x1ab62c=_0x450391;this[_0x1ab62c(0x17c)]=_0x154ae1,this[_0x1ab62c(0x14e)]=_0x1af134,this['_segmentId']=_0x3291ff,this[_0x1ab62c(0x14c)]=_0x432e91,this['_injector']=_0x35a3a1,Z(this,_0x1ab62c(0x161),void 0x0),this[_0x1ab62c(0x161)]=this['_document'][_0x1ab62c(0x19a)]();}[_0x450391(0x19a)](){const _0xdde58a=_0x450391;return this[_0xdde58a(0x14e)];}[_0x450391(0x1a0)](){const _0xa7a5d9=_0x450391;return this[_0xa7a5d9(0x115)];}[_0x450391(0x18d)](){const _0x4a8232=_0x450391;return{'id':this[_0x4a8232(0x14e)],'rowCount':this['getRowCount'](),'columnCount':this[_0x4a8232(0x1bd)](),'metadata':this[_0x4a8232(0x125)](),'source':this[_0x4a8232(0x1b7)]()};}[_0x450391(0x18c)](){const _0x3cf091=_0x450391;let _0x2d458c=this['getMetadata'](),_0x330998=this[_0x3cf091(0x1b7)](),_0x396da0=this[_0x3cf091(0x1bd)]();return{'id':this['_tableId'],'rowCount':this[_0x3cf091(0x1a1)](),'columnCount':_0x396da0,'headerRowCount':(_0x2d458c==null?void 0x0:_0x2d458c[_0x3cf091(0x10b)])??0x0,'titleRow':(_0x2d458c==null?void 0x0:_0x2d458c[_0x3cf091(0x160)])??!0x1,'columns':Array['from']({'length':_0x396da0},(_0x246f04,_0x27f147)=>{const _0x37981c=_0x3cf091;var _0x2fba38,_0x59acbb;return{'index':_0x27f147,'type':_0x2d458c==null||(_0x2fba38=_0x2d458c[_0x37981c(0x196)])==null||(_0x2fba38=_0x2fba38[_0x27f147])==null?void 0x0:_0x2fba38[_0x37981c(0x11e)],'width':_0x330998==null||(_0x59acbb=_0x330998[_0x37981c(0x138)][_0x27f147])==null?void 0x0:_0x59acbb[_0x37981c(0x109)][_0x37981c(0x118)]['v']};}),'sampleRows':Array['from']({'length':this[_0x3cf091(0x1a1)]()},(_0x1f7c31,_0x4178b7)=>Array[_0x3cf091(0x159)]({'length':_0x396da0},(_0x2c25bd,_0x4330d4)=>this['getCellText'](_0x4178b7,_0x4330d4)))['filter'](_0x31f783=>_0x31f783[_0x3cf091(0x119)](_0x3ee7d7=>_0x3ee7d7['length']>0x0))[_0x3cf091(0x147)](0x0,0x5)};}[_0x450391(0x1a1)](){const _0x48b29e=_0x450391;var _0x1232aa;return((_0x1232aa=this[_0x48b29e(0x1b7)]())==null?void 0x0:_0x1232aa[_0x48b29e(0x156)][_0x48b29e(0x13a)])??0x0;}[_0x450391(0x1bd)](){const _0x76e9ce=_0x450391;var _0x52511c;return((_0x52511c=this['getSource']())==null?void 0x0:_0x52511c[_0x76e9ce(0x138)][_0x76e9ce(0x13a)])??0x0;}[_0x450391(0x19b)](_0x4c6d34,_0x283901){const _0x31eac2=_0x450391;var _0x3331f9;return(_0x3331f9=this['getSource']())!=null&&(_0x3331f9=_0x3331f9[_0x31eac2(0x156)][_0x4c6d34])!=null&&_0x3331f9[_0x31eac2(0x151)][_0x283901]?this['_injector']['createInstance'](q,this,_0x4c6d34,_0x283901):null;}[_0x450391(0x117)](_0x1b9e08,_0x3fc2a2){const _0x57aae8=_0x450391;var _0x1e58ae,_0x36aba4;let _0x3929a2=(_0x1e58ae=_0x31425e(this['_getDocumentData'](),this[_0x57aae8(0x14e)]))==null||(_0x1e58ae=_0x1e58ae['rows'][_0x1b9e08])==null?void 0x0:_0x1e58ae['cells'][_0x3fc2a2];return _0x3929a2?((_0x36aba4=this[_0x57aae8(0x191)]()[_0x57aae8(0x116)])==null?void 0x0:_0x36aba4[_0x57aae8(0x1ba)][_0x57aae8(0x147)](_0x3929a2[_0x57aae8(0x174)]+0x1,_0x3929a2[_0x57aae8(0x173)])[_0x57aae8(0x142)](/\r\n$/,''))??'':'';}[_0x450391(0x15e)](_0x278f4c,_0x3dfec8){const _0x397c6a=_0x450391;var _0xbbd274;let _0xf43832=this[_0x397c6a(0x1b7)](),_0x47caae=_0xf43832==null||(_0xbbd274=_0xf43832[_0x397c6a(0x156)][_0x278f4c])==null?void 0x0:_0xbbd274['tableCells'][_0x3dfec8];return _0x47caae?_0x3ed6fb[_0x397c6a(0x157)](_0x47caae[_0x397c6a(0x194)]??_0xf43832[_0x397c6a(0x15f)]??_0x17b993):null;}['getCellMarginOverride'](_0x3791f8,_0x3317b9){const _0x5481be=_0x450391;var _0x5c3d03;let _0xf0b89d=(_0x5c3d03=this[_0x5481be(0x1b7)]())==null||(_0x5c3d03=_0x5c3d03[_0x5481be(0x156)][_0x3791f8])==null?void 0x0:_0x5c3d03[_0x5481be(0x151)][_0x3317b9];return _0xf0b89d!=null&&_0xf0b89d['margin']?_0x3ed6fb[_0x5481be(0x157)](_0xf0b89d[_0x5481be(0x194)]):null;}[_0x450391(0x176)](){const _0xa49659=_0x450391;var _0x2db4f7;return _0x3ed6fb[_0xa49659(0x157)](((_0x2db4f7=this[_0xa49659(0x1b7)]())==null?void 0x0:_0x2db4f7['cellMargin'])??_0x17b993);}[_0x450391(0x166)](){const _0x25a050=_0x450391;var _0x2dbd3d;let _0x92ff18=(_0x2dbd3d=this['getSource']())==null?void 0x0:_0x2dbd3d[_0x25a050(0x15f)];return _0x92ff18?_0x3ed6fb[_0x25a050(0x157)](_0x92ff18):null;}[_0x450391(0x125)](){const _0x4bd451=_0x450391;return this[_0x4bd451(0x188)][_0x4bd451(0x1a6)](_0x1d5e57)[_0x4bd451(0x110)](this[_0x4bd451(0x161)],this[_0x4bd451(0x14e)]);}[_0x450391(0x1b7)](){var _0x46fe8f;return(_0x46fe8f=this['_getDocumentData']()['tableSource'])==null?void 0x0:_0x46fe8f[this['_tableId']];}['getRange'](){const _0x52652c=_0x450391;return _0x31425e(this[_0x52652c(0x191)](),this[_0x52652c(0x14e)]);}['getTableRange'](){const _0x53adda=_0x450391;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x53adda(0x169)](0x0,this[_0x53adda(0x1bd)]()-0x1)};}['getCellRange'](_0x1357d2,_0x1cce3d){return{'startRow':_0x1357d2,'endRow':_0x1357d2,'startColumn':_0x1cce3d,'endColumn':_0x1cce3d};}[_0x450391(0x163)](_0x664b74,_0x509411){const _0x448043=_0x450391;var _0x2528f8;let _0x5144df=(_0x2528f8=_0x31425e(this[_0x448043(0x191)](),this['_tableId']))==null||(_0x2528f8=_0x2528f8[_0x448043(0x130)][_0x664b74])==null?void 0x0:_0x2528f8[_0x448043(0x17b)][_0x509411];if(!_0x5144df)return null;let _0x9692b8=_0x5144df[_0x448043(0x174)]+0x1;return{'startOffset':_0x9692b8,'endOffset':Math[_0x448043(0x169)](_0x9692b8,_0x5144df[_0x448043(0x173)]-0x1),'segmentId':this[_0x448043(0x115)]};}['getCellInsertOffset'](_0x426045,_0x386e7b){const _0x3cfab2=_0x450391;let _0x4faecc=this['getCellContentRange'](_0x426045,_0x386e7b);return _0x4faecc?Math[_0x3cfab2(0x169)](_0x4faecc['startOffset'],_0x4faecc[_0x3cfab2(0x173)]-0x1):null;}[_0x450391(0x135)](_0x3b64be){const _0x1d475b=_0x450391;return this[_0x1d475b(0x1b6)](_0x3b64be,0x1);}[_0x450391(0x1b6)](_0x3ac948,_0x294155=0x1){const _0x2bafd8=_0x450391;return{'startRow':_0x3ac948,'endRow':_0x3ac948+_0x294155-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x2bafd8(0x1bd)]()-0x1)};}[_0x450391(0x122)](_0x1049bb){const _0x341890=_0x450391;return this[_0x341890(0x15b)](_0x1049bb,0x1);}[_0x450391(0x15b)](_0x13d8c4,_0xa20622=0x1){const _0x14ff80=_0x450391;return{'startRow':0x0,'endRow':Math[_0x14ff80(0x169)](0x0,this[_0x14ff80(0x1a1)]()-0x1),'startColumn':_0x13d8c4,'endColumn':_0x13d8c4+_0xa20622-0x1};}[_0x450391(0x124)](){const _0x432d89=_0x450391;return this[_0x432d89(0x13f)](this['getTableRange'](),_0xc55a4e[_0x432d89(0x17f)]);}[_0x450391(0x186)](_0x2a4d15){const _0x5c9fa0=_0x450391;return this[_0x5c9fa0(0x10c)](_0x2a4d15,0x1);}['selectRows'](_0x17d3a5,_0x3ac0dd=0x1){const _0x1c3d35=_0x450391;return this[_0x1c3d35(0x13f)](this['getRowsRange'](_0x17d3a5,_0x3ac0dd),_0xc55a4e[_0x1c3d35(0x1aa)]);}[_0x450391(0x18a)](_0x4ea82b){return this['selectColumns'](_0x4ea82b,0x1);}['selectColumns'](_0x555ee0,_0x371428=0x1){const _0x58a1c5=_0x450391;return this[_0x58a1c5(0x13f)](this[_0x58a1c5(0x15b)](_0x555ee0,_0x371428),_0xc55a4e[_0x58a1c5(0x126)]);}['selectCell'](_0x1eab6a,_0x531319){const _0xb98bac=_0x450391;return this[_0xb98bac(0x13f)](this['getCellRange'](_0x1eab6a,_0x531319),_0xc55a4e[_0xb98bac(0x10d)]);}['selectRange'](_0x390b31,_0x328c58=_0xc55a4e[_0x450391(0x164)]){const _0x4359a4=_0x450391;return this[_0x4359a4(0x188)][_0x4359a4(0x1a6)](_0x7a6c73)[_0x4359a4(0x1c3)]({..._0x390b31,'kind':_0x328c58,'segmentId':this[_0x4359a4(0x115)],'tableId':this[_0x4359a4(0x14e)]}),!0x0;}[_0x450391(0x11a)](_0x5e960f){return this['insertRowsBefore'](_0x5e960f,0x1);}[_0x450391(0x1a7)](_0x53c0c4){const _0x45cb5e=_0x450391;return this[_0x45cb5e(0x10a)](_0x53c0c4,0x1);}[_0x450391(0x162)](_0x336bbc,_0x2ce955){const _0x3bdf90=_0x450391;let _0x1d3a9a=this['_getDocumentData'](),_0x589769=_0x2c56c3(_0x1d3a9a,this[_0x3bdf90(0x14e)],_0x336bbc,_0x2ce955,_0x263a96[_0x3bdf90(0x18b)],this[_0x3bdf90(0x190)]());return _0x589769?this[_0x3bdf90(0x187)](_0x1d3a9a,_0x589769[_0x3bdf90(0x178)]):!0x1;}[_0x450391(0x10a)](_0x3d89e5,_0x4ce3f9){const _0x496ac2=_0x450391;let _0x2d8618=this['_getDocumentData'](),_0x32b4f4=_0x2c56c3(_0x2d8618,this[_0x496ac2(0x14e)],_0x3d89e5,_0x4ce3f9,_0x263a96[_0x496ac2(0x10e)],this[_0x496ac2(0x190)]());return _0x32b4f4?this['_mutateActions'](_0x2d8618,_0x32b4f4[_0x496ac2(0x178)]):!0x1;}[_0x450391(0x1b0)](){const _0x22f195=_0x450391;return this[_0x22f195(0x10a)](Math['max'](0x0,this[_0x22f195(0x1a1)]()-0x1),0x1);}['insertColumnBefore'](_0x30940b){const _0x81ec3f=_0x450391;return this[_0x81ec3f(0x1a9)](_0x30940b,0x1);}[_0x450391(0x19c)](_0x244b29){const _0x3db817=_0x450391;return this[_0x3db817(0x11c)](_0x244b29,0x1);}['insertColumnsBefore'](_0x8827f7,_0x59c5be){const _0x1005d0=_0x450391;let _0x8eb98e=this[_0x1005d0(0x191)](),_0x144912=_0x59d424(_0x8eb98e,this[_0x1005d0(0x14e)],_0x8827f7,_0x59c5be,_0x263a96['Left'],{'bodyPath':this[_0x1005d0(0x190)]()});return _0x144912?this[_0x1005d0(0x187)](_0x8eb98e,_0x144912[_0x1005d0(0x178)]):!0x1;}[_0x450391(0x11c)](_0x33a1b7,_0x5e2daf){const _0x28b312=_0x450391;let _0x30549c=this[_0x28b312(0x191)](),_0x4af3fd=_0x59d424(_0x30549c,this[_0x28b312(0x14e)],_0x33a1b7,_0x5e2daf,_0x263a96[_0x28b312(0x12a)],{'bodyPath':this['_getBodyPath']()});return _0x4af3fd?this[_0x28b312(0x187)](_0x30549c,_0x4af3fd[_0x28b312(0x178)]):!0x1;}[_0x450391(0x120)](){const _0x9417ae=_0x450391;return this['insertColumnsAfter'](Math[_0x9417ae(0x169)](0x0,this[_0x9417ae(0x1bd)]()-0x1),0x1);}[_0x450391(0x198)](_0x19503a){return this['deleteRows'](_0x19503a,0x1);}[_0x450391(0x14b)](_0x1897bf,_0x4c8a6c=0x1){const _0x2fd747=_0x450391;return!!this['_commandService'][_0x2fd747(0x1bc)](_0x2270d3['id'],{'endRow':_0x1897bf+_0x4c8a6c-0x1,'segmentId':this[_0x2fd747(0x115)],'startRow':_0x1897bf,'tableId':this[_0x2fd747(0x14e)],'unitId':this[_0x2fd747(0x161)]});}[_0x450391(0x1b5)](_0x292ee4){const _0x25e458=_0x450391;return this[_0x25e458(0x144)](_0x292ee4,0x1);}['deleteColumns'](_0x36e636,_0x17d9de=0x1){const _0xe1e48f=_0x450391;return!!this['_commandService']['syncExecuteCommand'](_0xa25738['id'],{'endColumn':_0x36e636+_0x17d9de-0x1,'segmentId':this[_0xe1e48f(0x115)],'startColumn':_0x36e636,'tableId':this[_0xe1e48f(0x14e)],'unitId':this[_0xe1e48f(0x161)]});}[_0x450391(0x158)](){const _0x1e1508=_0x450391;return!!this[_0x1e1508(0x14c)][_0x1e1508(0x1bc)](_0x2bd454['id'],{'segmentId':this[_0x1e1508(0x115)],'tableId':this[_0x1e1508(0x14e)],'unitId':this[_0x1e1508(0x161)]});}[_0x450391(0x128)](_0xeb9524,_0x28ecdc){const _0x1c263e=_0x450391;let _0x3d1585=this[_0x1c263e(0x191)]();return this[_0x1c263e(0x187)](_0x3d1585,_0x3b4223(_0x3d1585,this['_tableId'],_0xeb9524,_0x28ecdc));}['moveTableToOffset'](_0x25ebb7){const _0x5378ce=_0x450391;let _0x21a18f=this[_0x5378ce(0x191)]();return this[_0x5378ce(0x187)](_0x21a18f,_0x5d6442(_0x21a18f,this[_0x5378ce(0x14e)],_0x25ebb7,this[_0x5378ce(0x190)]()));}['moveRow'](_0x244793,_0x415cea,_0x28a711=_0x263a96[_0x450391(0x18b)]){return this['moveRows'](_0x244793,0x1,_0x415cea,_0x28a711);}['moveRows'](_0x204d36,_0x2509e1,_0x87050f,_0x1d0c82=_0x263a96[_0x450391(0x18b)]){const _0x5b1a15=_0x450391;let _0x8bd5bd=this[_0x5b1a15(0x191)](),_0x1ff10a=_0x62186a(_0x8bd5bd,this[_0x5b1a15(0x14e)],_0x204d36,_0x87050f,_0x2509e1,_0x1d0c82,this[_0x5b1a15(0x190)]());return _0x1ff10a?this[_0x5b1a15(0x187)](_0x8bd5bd,_0x1ff10a[_0x5b1a15(0x178)]):!0x1;}[_0x450391(0x154)](_0x46bf53,_0x42fdc2,_0x596843=_0x263a96[_0x450391(0x136)]){return this['moveColumns'](_0x46bf53,0x1,_0x42fdc2,_0x596843);}[_0x450391(0x183)](_0x148be5,_0x22f8fa,_0x389099,_0x5ba94d=_0x263a96[_0x450391(0x136)]){const _0x15f044=_0x450391;let _0x5d5e69=this[_0x15f044(0x191)](),_0x4f1003=_0x306aab(_0x5d5e69,this[_0x15f044(0x14e)],_0x148be5,_0x389099,_0x22f8fa,_0x5ba94d,this[_0x15f044(0x190)]());return _0x4f1003?this['_mutateActions'](_0x5d5e69,_0x4f1003['actions']):!0x1;}[_0x450391(0x19d)](_0x47b45f){const _0x35b641=_0x450391;try{let _0x514646=this[_0x35b641(0x191)](),_0x3d3853=_0x28b21b({'documentData':_0x514646,'tableId':this[_0x35b641(0x14e)],..._0x47b45f});return _0x3d3853?this[_0x35b641(0x187)](_0x514646,_0x3d3853[_0x35b641(0x178)],_0x47b45f):!0x1;}catch{return!0x1;}}[_0x450391(0x19f)](_0x58edeb){const _0x2cee35=_0x450391;try{let _0x3baeb8=this[_0x2cee35(0x191)](),_0x7e06ec=_0x43c6c6({'documentData':_0x3baeb8,'tableId':this[_0x2cee35(0x14e)],..._0x58edeb});return _0x7e06ec?this[_0x2cee35(0x187)](_0x3baeb8,_0x7e06ec['actions'],_0x58edeb):!0x1;}catch{return!0x1;}}[_0x450391(0x17a)](_0x372ad4,_0x3f5d2b,_0x77a72){const _0x43cbce=_0x450391;let _0x2e61a8=this[_0x43cbce(0x191)](),_0x456867=_0x46b1a1(this[_0x43cbce(0x17c)]['getDocumentDataModel']()[_0x43cbce(0x16c)](),this['_segmentId']);return this['_mutateActions'](_0x2e61a8,_0x38a634({'documentData':_0x2e61a8,'tableId':this['_tableId'],'row':_0x372ad4,'column':_0x3f5d2b,'text':_0x77a72},_0x456867),this[_0x43cbce(0x165)](_0x372ad4,_0x3f5d2b));}[_0x450391(0x148)](_0x4d165d,_0x779e3f){const _0x1839ac=_0x450391;let _0x4577fb=this[_0x1839ac(0x191)]();return this[_0x1839ac(0x187)](_0x4577fb,_0x4cab8c(_0x4577fb,{'tableId':this['_tableId'],..._0x4d165d,'value':_0x779e3f}),_0x4d165d);}[_0x450391(0x1af)](_0x27e610,_0x359aa0){const _0x5674a3=_0x450391;let _0x1b6174=this[_0x5674a3(0x191)]();return this['_mutateActions'](_0x1b6174,_0x559923({'documentData':_0x1b6174,'tableId':this[_0x5674a3(0x14e)],..._0x27e610,'margin':_0x359aa0}),_0x27e610);}[_0x450391(0x150)](_0x2673de){const _0x5cd439=_0x450391;let _0x310f7b=this[_0x5cd439(0x191)]();return this[_0x5cd439(0x187)](_0x310f7b,_0x38bd1c(_0x310f7b,this['_tableId'],_0x2673de));}['setBorder'](_0x4e2965,_0x5cace1){const _0x21c459=_0x450391;let _0x303ce0=this[_0x21c459(0x191)]();return this[_0x21c459(0x187)](_0x303ce0,_0x36a2e0({'documentData':_0x303ce0,'tableId':this[_0x21c459(0x14e)],..._0x4e2965,'preset':_0x5cace1[_0x21c459(0x197)]??_0x546136[_0x21c459(0x146)],'border':_0x5cace1[_0x21c459(0x179)]??{'color':{'rgb':_0x5cace1['color']??_0x21c459(0x127)},'width':{'v':_0x5cace1[_0x21c459(0x118)]??0x1},'dashStyle':_0x312d8b[_0x21c459(0x152)]}}),_0x4e2965);}[_0x450391(0x112)](_0x41bc41){const _0x1f9873=_0x450391;return this[_0x1f9873(0x148)](this[_0x1f9873(0x14f)](),_0x41bc41);}[_0x450391(0x14d)](_0x1f09d0){const _0xdb4f45=_0x450391;return this[_0xdb4f45(0x137)](this[_0xdb4f45(0x14f)](),_0x1f09d0);}[_0x450391(0x1a4)](_0x4eac53){const _0x39dc2e=_0x450391;let _0x3cbc99=!_0x4eac53[_0x39dc2e(0x131)]||this[_0x39dc2e(0x112)](_0x4eac53['backgroundColor']),_0x5d1ea1=!_0x4eac53[_0x39dc2e(0x179)]||this['setTableBorder'](_0x4eac53[_0x39dc2e(0x179)]);return _0x3cbc99&&_0x5d1ea1;}[_0x450391(0x10f)](_0x2e2ac,_0x1b976a,_0x5a6444=_0x2daa1c['AT_LEAST']){const _0x1d357f=_0x450391;var _0x5b47a7;let _0xc91282=this['_getDocumentData']();return(_0x5b47a7=_0xc91282[_0x1d357f(0x1b4)])!=null&&(_0x5b47a7=_0x5b47a7[this[_0x1d357f(0x14e)]])!=null&&_0x5b47a7[_0x1d357f(0x156)][_0x2e2ac]?this['_mutateActions'](_0xc91282,_0x5398c0(_0xc91282,this[_0x1d357f(0x14e)],_0x2e2ac,_0x1b976a,_0x5a6444)):!0x1;}[_0x450391(0x12c)](_0x45f50a){const _0x3298bb=_0x450391;var _0xe90fd6;let _0x2011a2=(_0xe90fd6=this[_0x3298bb(0x1b7)]())==null||(_0xe90fd6=_0xe90fd6[_0x3298bb(0x156)][_0x45f50a])==null?void 0x0:_0xe90fd6[_0x3298bb(0x114)];return _0x2011a2?_0x3ed6fb[_0x3298bb(0x157)](_0x2011a2):null;}['setColumnWidth'](_0x17fc7b,_0x2dfd4d){const _0x568122=_0x450391;var _0x4b6bae;let _0x5b804b=this[_0x568122(0x191)]();return(_0x4b6bae=_0x5b804b['tableSource'])!=null&&(_0x4b6bae=_0x4b6bae[this[_0x568122(0x14e)]])!=null&&_0x4b6bae[_0x568122(0x138)][_0x17fc7b]?this[_0x568122(0x187)](_0x5b804b,_0x4e543f(_0x5b804b,this[_0x568122(0x14e)],_0x17fc7b,_0x2dfd4d)):!0x1;}[_0x450391(0x18f)](_0x289c3e=0x0,_0x17a64a=this['getRowCount']()){const _0x9de46c=_0x450391;let _0x545838=this[_0x9de46c(0x191)]();return this[_0x9de46c(0x187)](_0x545838,_0x522aac(_0x545838,this[_0x9de46c(0x14e)],_0x289c3e,_0x289c3e+_0x17a64a-0x1));}[_0x450391(0x171)](_0x384195=0x0,_0x598fdf=this['getColumnCount']()){const _0x3d22ab=_0x450391;let _0x2b9407=this[_0x3d22ab(0x191)]();return this[_0x3d22ab(0x187)](_0x2b9407,_0xb08199(_0x2b9407,this[_0x3d22ab(0x14e)],_0x384195,_0x384195+_0x598fdf-0x1));}['getHeaderRowCount'](){const _0x2a2d6f=_0x450391;var _0x59ecd5;return((_0x59ecd5=this[_0x2a2d6f(0x125)]())==null?void 0x0:_0x59ecd5[_0x2a2d6f(0x10b)])??0x0;}[_0x450391(0x16e)](_0x299604){const _0x1904a1=_0x450391;let _0x34c941=this[_0x1904a1(0x188)]['get'](_0x1d5e57),_0x1516aa=this[_0x1904a1(0x191)](),_0x3bf495=_0x20b714(_0x1516aa,this['_tableId'],_0x299604);if(!_0x3bf495)return!0x1;let _0x239962=this[_0x1904a1(0x187)](_0x1516aa,_0x3bf495['actions']);return _0x239962&&_0x34c941[_0x1904a1(0x16e)](this['_unitId'],this[_0x1904a1(0x14e)],_0x3bf495[_0x1904a1(0x10b)]),_0x239962;}['pinHeaderRows'](_0x4de378){const _0x4fbd83=_0x450391;return this[_0x4fbd83(0x16e)](_0x4de378);}[_0x450391(0x189)](){const _0x4c2b01=_0x450391;var _0x4fb8c7;return((_0x4fb8c7=this[_0x4c2b01(0x125)]())==null?void 0x0:_0x4fb8c7[_0x4c2b01(0x160)])??!0x1;}[_0x450391(0x180)](){const _0x15e600=_0x450391;let _0x299d47=this[_0x15e600(0x188)]['get'](_0x1d5e57),_0x1786cf=this[_0x15e600(0x191)](),_0x3de2e7=_0xd4511d(_0x1786cf,this['_tableId'],this['_getBodyPath']());if(!_0x3de2e7)return!0x1;let _0x27c3a7=this[_0x15e600(0x187)](_0x1786cf,_0x3de2e7[_0x15e600(0x178)]);return _0x27c3a7&&_0x299d47['setTitleRow'](this[_0x15e600(0x161)],this['_tableId'],!0x0),_0x27c3a7;}[_0x450391(0x13d)](_0x16ed7f,_0x499dbd){const _0x3fec82=_0x450391;return this[_0x3fec82(0x188)]['get'](_0x1d5e57)[_0x3fec82(0x13d)](this[_0x3fec82(0x161)],this['_tableId'],_0x16ed7f,_0x499dbd),!0x0;}['sortByColumn'](_0x4cc795,_0x2e9040){const _0xd293a0=_0x450391;let _0x596b16=this[_0xd293a0(0x191)]();return this[_0xd293a0(0x187)](_0x596b16,_0x27e257(_0x596b16,this['_serializeModel'](),this[_0xd293a0(0x14e)],_0x4cc795,_0x2e9040,this['_getBodyPath']()));}[_0x450391(0x191)](){const _0x1cfe07=_0x450391;let _0x33285e=this[_0x1cfe07(0x17c)][_0x1cfe07(0x141)]()[_0x1cfe07(0x16c)]();return this[_0x1cfe07(0x115)]?{...this[_0x1cfe07(0x17c)][_0x1cfe07(0x141)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0x33285e[_0x1cfe07(0x1ac)],'tableSource':_0x33285e[_0x1cfe07(0x1b4)]}:_0x33285e;}[_0x450391(0x16f)](){const _0x24c4b2=_0x450391;return this['_injector'][_0x24c4b2(0x1a6)](_0x1d5e57)[_0x24c4b2(0x16b)](this[_0x24c4b2(0x161)]);}[_0x450391(0x190)](){const _0x5440cf=_0x450391;return _0x46b1a1(this[_0x5440cf(0x17c)][_0x5440cf(0x141)]()['getSnapshot'](),this[_0x5440cf(0x115)]);}[_0x450391(0x187)](_0xe06244,_0x4786b7,_0x4f91f8){const _0x380ad5=_0x450391;return _0x5888fa(this[_0x380ad5(0x14c)],this[_0x380ad5(0x161)],_0xe06244,_0x4786b7,_0x4f91f8?{'tableId':this[_0x380ad5(0x14e)],'segmentId':this[_0x380ad5(0x115)],..._0x4f91f8}:void 0x0);}};$=te([Q(0x3,_0x1b348d),Q(0x4,_0x420241(_0x6422cd))],$);var ne=class extends _0x3a5148{[_0x450391(0x1b3)](_0x14b7be=''){const _0x3e82de=_0x450391;return this[_0x3e82de(0x1b9)](_0x14b7be)[_0x3e82de(0x145)](_0x3be404=>this[_0x3e82de(0x17e)](_0x3be404[_0x3e82de(0x1a3)],_0x14b7be));}[_0x450391(0x155)](_0x455718,_0x16c0f0=''){const _0x209c6f=_0x450391;return this[_0x209c6f(0x1b9)](_0x16c0f0)[_0x209c6f(0x119)](_0x140e1c=>_0x140e1c[_0x209c6f(0x1a3)]===_0x455718)?this[_0x209c6f(0x17e)](_0x455718,_0x16c0f0):null;}[_0x450391(0x1c0)](_0x531b23,_0x323561=''){const _0xc617f8=_0x450391;var _0x3a4d3a;let _0x8918c5=(_0x3a4d3a=this['_getTables'](_0x323561)[_0x531b23])==null?void 0x0:_0x3a4d3a['tableId'];return _0x8918c5?this[_0xc617f8(0x17e)](_0x8918c5,_0x323561):null;}['getTableAtSelection'](){const _0x4940ad=_0x450391;let _0x10d566=this[_0x4940ad(0x188)]['get'](_0x7a6c73)[_0x4940ad(0x192)]();return _0x10d566!=null&&_0x10d566[_0x4940ad(0x1a3)]?this['_createFDocumentTable'](_0x10d566['tableId'],_0x10d566[_0x4940ad(0x1a5)]):null;}[_0x450391(0x16d)](_0x5ccb3d,_0xd99dc1=''){const _0x47ae82=_0x450391;return this[_0x47ae82(0x113)](_0x5ccb3d,_0xd99dc1)[0x0]??null;}[_0x450391(0x113)](_0x36811b,_0xf4b1fd=''){const _0x1ed798=_0x450391;let _0x8dc371=this['_getTableDocumentData'](_0xf4b1fd),_0x55b6f2=typeof _0x36811b==_0x1ed798(0x12f)?{'text':_0x36811b}:_0x36811b;return this[_0x1ed798(0x1b3)](_0xf4b1fd)[_0x1ed798(0x172)](_0x14f43d=>{const _0x42106f=_0x1ed798;let _0x35fb04=_0x14f43d[_0x42106f(0x19a)]();return!(_0x55b6f2['tableId']&&_0x35fb04!==_0x55b6f2[_0x42106f(0x1a3)]||_0x55b6f2[_0x42106f(0x12e)]&&!this[_0x42106f(0x140)](_0x8dc371,_0x35fb04,_0x55b6f2['text'])||_0x55b6f2[_0x42106f(0x16a)]&&!this[_0x42106f(0x149)](_0x14f43d,0x0,_0x55b6f2['headerText'])||_0x55b6f2[_0x42106f(0x168)]&&!this[_0x42106f(0x149)](_0x14f43d,0x0,_0x55b6f2[_0x42106f(0x168)]));});}[_0x450391(0x12d)](_0x445bd5,_0x4a582e,_0x13d449={}){const _0xf796d2=_0x450391;let _0x44aab4=this[_0xf796d2(0x188)]['get'](_0x1b348d),_0x5d9d28=_0x13d449[_0xf796d2(0x1a3)]??_0x45f65c(0x6);return _0x44aab4['syncExecuteCommand'](_0x1aa8ac['id'],{..._0x13d449,'unitId':this[_0xf796d2(0x19a)](),'rows':_0x445bd5,'columns':_0x4a582e,'tableId':_0x5d9d28})?this[_0xf796d2(0x17e)](_0x5d9d28,_0x13d449[_0xf796d2(0x1a5)]??''):null;}[_0x450391(0x11d)](_0x2d3543,_0x61a2c6={}){const _0x105a28=_0x450391;let _0x27c3ab=this[_0x105a28(0x188)][_0x105a28(0x1a6)](_0x1b348d),_0x2e59d3=_0x61a2c6[_0x105a28(0x1a3)]??_0x45f65c(0x6);return _0x27c3ab['syncExecuteCommand'](_0x1aa8ac['id'],{..._0x61a2c6,'unitId':this[_0x105a28(0x19a)](),'values':_0x2d3543,'tableId':_0x2e59d3})?this[_0x105a28(0x17e)](_0x2e59d3,_0x61a2c6[_0x105a28(0x1a5)]??''):null;}[_0x450391(0x1b9)](_0x5cfa4d=''){const _0x54da54=_0x450391;let {tables:_0x2a819a=[]}=this[_0x54da54(0x199)](_0x5cfa4d);return _0x2a819a;}[_0x450391(0x13e)](_0x3cdeb0=''){const _0x4f4fce=_0x450391;let _0x41b1c3=this[_0x4f4fce(0x141)]()[_0x4f4fce(0x16c)]();return _0x3cdeb0?{...this[_0x4f4fce(0x141)](_0x3cdeb0)[_0x4f4fce(0x16c)](),'documentStyle':_0x41b1c3[_0x4f4fce(0x1ac)],'tableSource':_0x41b1c3[_0x4f4fce(0x1b4)]}:_0x41b1c3;}[_0x450391(0x17e)](_0x2b1f1d,_0x38d41b=''){const _0x4571a2=_0x450391;return this[_0x4571a2(0x188)]['createInstance']($,this,_0x2b1f1d,_0x38d41b);}[_0x450391(0x140)](_0x3a9c5b,_0x450c99,_0x5c7cae){const _0xebd5d2=_0x450391;var _0x2981ab;let _0x273588=_0x31425e(_0x3a9c5b,_0x450c99);if(!_0x273588)return!0x1;let _0x29eb12=(_0x2981ab=_0x3a9c5b[_0xebd5d2(0x116)])==null?void 0x0:_0x2981ab[_0xebd5d2(0x1ba)];return _0x29eb12?_0x29eb12[_0xebd5d2(0x147)](_0x273588['startOffset'],_0x273588[_0xebd5d2(0x173)])[_0xebd5d2(0x15d)](_0x5c7cae):!0x1;}[_0x450391(0x149)](_0x2d6e2a,_0x48e276,_0x11fc6a){const _0x2c3dd2=_0x450391;return Array[_0x2c3dd2(0x159)]({'length':_0x2d6e2a['getColumnCount']()},(_0xd22715,_0x4ae959)=>_0x2d6e2a[_0x2c3dd2(0x117)](_0x48e276,_0x4ae959))[_0x2c3dd2(0x119)](_0x78ed42=>_0x78ed42['includes'](_0x11fc6a));}};_0x3a5148[_0x450391(0x1bb)](ne);export{$ as FDocumentTable,q as FDocumentTableCell};function _0xd222(){const _0x402760=['appendColumn','clearMarginOverride','getColumnRange','setMargin','selectTable','getMetadata','Column','#1f1f1f','moveTableBy','getColumnIndex','Right','1796584oiNimX','getRowHeight','insertTable','text','string','rows','backgroundColor','DocsTableColumnInsertPosition','default','5842jhWafm','getRowRange','Left','setBorder','tableColumns','decorate','length','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_row','setColumnType','_getTableDocumentData','selectRange','_tableContainsText','getDocumentDataModel','replace','getText','deleteColumns','map','All','slice','setCellBackground','_rowContainsText','DocsTableBorderPreset','deleteRows','_commandService','setTableBorder','_tableId','getTableRange','setDefaultCellMargin','tableCells','SOLID','function','moveColumn','getTable','tableRows','deepClone','deleteTable','from','DocsTableSelectionKind','getColumnsRange','4sxagCh','includes','getCellMargin','cellMargin','titleRow','_unitId','insertRowsBefore','getCellContentRange','Range','getCellRange','getDefaultCellMarginOverride','DashStyleType','titleText','max','headerText','serialize','getSnapshot','findTableByText','setHeaderRowCount','_serializeModel','10680CQAvWH','distributeColumns','filter','endOffset','startOffset','symbol','getDefaultCellMargin','378605ldMVex','actions','border','setCellText','cells','_document','getMarginOverride','_createFDocumentTable','Table','insertTitleRow','getCellInsertOffset','256689HGiaIK','moveColumns','getCellMarginOverride','22kzOhOj','selectRow','_mutateActions','_injector','hasTitleRow','selectColumn','Above','describe','getInfo','defineProperty','distributeRows','_getBodyPath','_getDocumentData','getStableTableSelection','setText','margin','call','columnTypes','preset','deleteRow','getBody','getId','getCell','insertColumnAfter','mergeCells','DocsTableSortDirection','unmergeCells','getSegmentId','getRowCount','10504rMSJCl','tableId','setTableStyle','segmentId','get','insertRowAfter','836049jDlLGM','insertColumnsBefore','Row','mergeTo','documentStyle','DocsTableRowInsertPosition','_table','setCellMargin','appendRow','setBackgroundColor','getOwnPropertyDescriptor','getTables','tableSource','deleteColumn','getRowsRange','getSource','constructor','_getTables','dataStream','extend','syncExecuteCommand','getColumnCount','_column','6FGoaGs','getTableAt','60xhcVDm','getMargin','setStructuralSelection','getInsertOffset','size','insertRowsAfter','headerRowCount','selectRows','Cell','Below','setRowHeight','getTableMetadata','object','setTableBackground','findTables','trHeight','_segmentId','body','getCellText','width','some','insertRowBefore','7QyhXgG','insertColumnsAfter','insertTableFromData','type','2204983SSdnTp'];_0xd222=function(){return _0x402760;};return _0xd222();}
|
|
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};
|