@univerjs-pro/docs-table 1.0.0-alpha.5 → 1.0.0-alpha.6

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/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5253(_0x2b8778,_0x49a280){_0x2b8778=_0x2b8778-0xd2;const _0x55d44d=_0x55d4();let _0x525313=_0x55d44d[_0x2b8778];return _0x525313;}(function(_0x42ed31,_0xb0c06c){const _0x4d4b87=_0x5253,_0x376598=_0x42ed31();while(!![]){try{const _0x163e69=parseInt(_0x4d4b87(0x197))/0x1*(parseInt(_0x4d4b87(0xd2))/0x2)+-parseInt(_0x4d4b87(0xe2))/0x3*(parseInt(_0x4d4b87(0x13a))/0x4)+-parseInt(_0x4d4b87(0x12d))/0x5*(parseInt(_0x4d4b87(0x141))/0x6)+-parseInt(_0x4d4b87(0x128))/0x7*(parseInt(_0x4d4b87(0x181))/0x8)+-parseInt(_0x4d4b87(0xd3))/0x9*(-parseInt(_0x4d4b87(0x112))/0xa)+-parseInt(_0x4d4b87(0x10b))/0xb+parseInt(_0x4d4b87(0x103))/0xc;if(_0x163e69===_0xb0c06c)break;else _0x376598['push'](_0x376598['shift']());}catch(_0x103a76){_0x376598['push'](_0x376598['shift']());}}}(_0x55d4,0x56b68),function(_0x3819d5,_0x5b1317){const _0x5c3422=_0x5253;typeof exports==_0x5c3422(0x109)&&typeof module<'u'?_0x5b1317(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x5c3422(0xe6)&&define[_0x5c3422(0xf3)]?define([_0x5c3422(0x14c),_0x5c3422(0x121),_0x5c3422(0x190),'@univerjs/core/facade',_0x5c3422(0x186)],_0x5b1317):(_0x3819d5=typeof globalThis<'u'?globalThis:_0x3819d5||self,_0x5b1317(_0x3819d5[_0x5c3422(0x144)]={},_0x3819d5[_0x5c3422(0x157)],_0x3819d5[_0x5c3422(0x15d)],_0x3819d5[_0x5c3422(0x145)],_0x3819d5[_0x5c3422(0x179)]));}(this,function(_0x449d82,_0x334d76,_0x46d274,_0x3ec9b3,_0x5b6186){const _0x174a03=_0x5253;Object[_0x174a03(0x1a7)](_0x449d82,Symbol[_0x174a03(0x18e)],{'value':'Module'});var _0x24e6a5=class extends _0x3ec9b3[_0x174a03(0x12a)]{get[_0x174a03(0x14f)](){const _0x3f6a5c=_0x174a03;return _0x334d76[_0x3f6a5c(0x14f)];}get[_0x174a03(0x150)](){const _0x192598=_0x174a03;return _0x334d76[_0x192598(0x150)];}get['DocsTableSelectionKind'](){const _0x3fccf7=_0x174a03;return _0x334d76[_0x3fccf7(0x171)];}get[_0x174a03(0xd4)](){const _0x1e44d6=_0x174a03;return _0x334d76[_0x1e44d6(0xd4)];}get[_0x174a03(0x138)](){const _0x41d95b=_0x174a03;return _0x334d76[_0x41d95b(0x138)];}get[_0x174a03(0x135)](){return _0x334d76['DocsTableBorderPreset'];}get[_0x174a03(0x130)](){const _0x127a57=_0x174a03;return _0x334d76[_0x127a57(0x130)];}get[_0x174a03(0x113)](){const _0x155ee5=_0x174a03;return _0x46d274[_0x155ee5(0x113)];}};_0x3ec9b3[_0x174a03(0x12a)][_0x174a03(0x12c)](_0x24e6a5);var _0x38c491=class{constructor(_0x1e5a98,_0x171548,_0x322a46){const _0xe365f6=_0x174a03;this[_0xe365f6(0x10f)]=_0x1e5a98,this[_0xe365f6(0x1a3)]=_0x171548,this[_0xe365f6(0x10e)]=_0x322a46;}['getTable'](){const _0x2f4fce=_0x174a03;return this[_0x2f4fce(0x10f)];}[_0x174a03(0xe9)](){return this['_row'];}[_0x174a03(0xe7)](){return this['_column'];}[_0x174a03(0x188)](){const _0x92f3fa=_0x174a03;return this['_table'][_0x92f3fa(0x1a9)](this[_0x92f3fa(0x1a3)],this[_0x92f3fa(0x10e)]);}[_0x174a03(0x1a5)](){const _0x3e50f2=_0x174a03;return this['_table']['getCellContentRange'](this[_0x3e50f2(0x1a3)],this[_0x3e50f2(0x10e)]);}[_0x174a03(0x1a6)](){const _0x59327e=_0x174a03;return this[_0x59327e(0x10f)]['getCellInsertOffset'](this['_row'],this[_0x59327e(0x10e)]);}['getMargin'](){const _0x2d3ff1=_0x174a03;return this['_table'][_0x2d3ff1(0xf2)](this[_0x2d3ff1(0x1a3)],this['_column']);}[_0x174a03(0xd7)](){const _0x22fba1=_0x174a03;return this['_table'][_0x22fba1(0xe8)](this[_0x22fba1(0x1a3)],this['_column']);}['setMargin'](_0x4db988){const _0x264ac2=_0x174a03;return this[_0x264ac2(0x10f)][_0x264ac2(0xef)](this[_0x264ac2(0x10f)][_0x264ac2(0x193)](this[_0x264ac2(0x1a3)],this[_0x264ac2(0x10e)]),_0x4db988);}['clearMarginOverride'](){const _0x27ddf5=_0x174a03;return this['_table'][_0x27ddf5(0xef)](this[_0x27ddf5(0x10f)][_0x27ddf5(0x193)](this[_0x27ddf5(0x1a3)],this[_0x27ddf5(0x10e)]),null);}['setText'](_0x2849c2){const _0x56adfb=_0x174a03;return this[_0x56adfb(0x10f)][_0x56adfb(0x16a)](this[_0x56adfb(0x1a3)],this[_0x56adfb(0x10e)],_0x2849c2);}[_0x174a03(0x100)](_0x487889){const _0xe3108e=_0x174a03;return this['_table'][_0xe3108e(0x156)](this[_0xe3108e(0x10f)][_0xe3108e(0x193)](this[_0xe3108e(0x1a3)],this[_0xe3108e(0x10e)]),_0x487889);}[_0x174a03(0x1a2)](_0x2d6694){const _0x70285d=_0x174a03;return this['_table'][_0x70285d(0x1a2)](this[_0x70285d(0x10f)][_0x70285d(0x193)](this[_0x70285d(0x1a3)],this['_column']),_0x2d6694);}[_0x174a03(0xdb)](_0x209a60,_0x2b867e){const _0x3551bc=_0x174a03;return this[_0x3551bc(0x10f)][_0x3551bc(0xf0)]({'startRow':this[_0x3551bc(0x1a3)],'startColumn':this[_0x3551bc(0x10e)],'endRow':this[_0x3551bc(0x1a3)]+_0x209a60-0x1,'endColumn':this[_0x3551bc(0x10e)]+_0x2b867e-0x1});}[_0x174a03(0x111)](){const _0x58edb2=_0x174a03;return this[_0x58edb2(0x10f)]['unmergeCells'](this[_0x58edb2(0x10f)]['getCellRange'](this['_row'],this[_0x58edb2(0x10e)]));}};function _0x429ddc(_0x1d9a1b){'@babel/helpers - typeof';const _0x3fa534=_0x174a03;return _0x429ddc=typeof Symbol==_0x3fa534(0xe6)&&typeof Symbol[_0x3fa534(0xf1)]==_0x3fa534(0x11f)?function(_0x34a778){return typeof _0x34a778;}:function(_0x2350eb){const _0x3e3dc4=_0x3fa534;return _0x2350eb&&typeof Symbol==_0x3e3dc4(0xe6)&&_0x2350eb[_0x3e3dc4(0x10a)]===Symbol&&_0x2350eb!==Symbol[_0x3e3dc4(0x14e)]?_0x3e3dc4(0x11f):typeof _0x2350eb;},_0x429ddc(_0x1d9a1b);}function _0x3a0688(_0x30ec79,_0xe99f5d){const _0x5c957e=_0x174a03;if(_0x429ddc(_0x30ec79)!='object'||!_0x30ec79)return _0x30ec79;var _0x4727d9=_0x30ec79[Symbol['toPrimitive']];if(_0x4727d9!==void 0x0){var _0x5c945f=_0x4727d9['call'](_0x30ec79,_0xe99f5d||'default');if(_0x429ddc(_0x5c945f)!='object')return _0x5c945f;throw TypeError(_0x5c957e(0x137));}return(_0xe99f5d==='string'?String:Number)(_0x30ec79);}function _0x73531a(_0x284c8a){const _0x49f49b=_0x174a03;var _0x58a200=_0x3a0688(_0x284c8a,_0x49f49b(0x13f));return _0x429ddc(_0x58a200)==_0x49f49b(0x11f)?_0x58a200:_0x58a200+'';}function _0x2a2e29(_0x35163b,_0x52d270,_0x3d9cb0){const _0x42c9dc=_0x174a03;return(_0x52d270=_0x73531a(_0x52d270))in _0x35163b?Object[_0x42c9dc(0x1a7)](_0x35163b,_0x52d270,{'value':_0x3d9cb0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x35163b[_0x52d270]=_0x3d9cb0,_0x35163b;}var _0x3064e4=class{constructor(_0x220a2e,_0x54ae33,_0x33067b='',_0x9dbc53){const _0x53b4d8=_0x174a03;this['_document']=_0x220a2e,this['_tableId']=_0x54ae33,this[_0x53b4d8(0x114)]=_0x33067b,this['_injector']=_0x9dbc53,_0x2a2e29(this,_0x53b4d8(0x187),void 0x0),this[_0x53b4d8(0x187)]=this[_0x53b4d8(0x16c)][_0x53b4d8(0x11c)]();}[_0x174a03(0x11c)](){const _0x3b553f=_0x174a03;return this[_0x3b553f(0xf7)];}[_0x174a03(0xff)](){const _0x315a44=_0x174a03;return this[_0x315a44(0x114)];}[_0x174a03(0xf8)](){const _0x312bac=_0x174a03;return{'id':this[_0x312bac(0xf7)],'rowCount':this[_0x312bac(0xde)](),'columnCount':this[_0x312bac(0x12f)](),'metadata':this[_0x312bac(0xfe)](),'source':this[_0x312bac(0xd5)]()};}[_0x174a03(0x1aa)](){const _0xb01376=_0x174a03;var _0x1730ab,_0x525ae6;let _0x343445=this[_0xb01376(0xfe)](),_0x3c2455=this[_0xb01376(0xd5)](),_0x502db0=this[_0xb01376(0x12f)]();return{'id':this[_0xb01376(0xf7)],'rowCount':this['getRowCount'](),'columnCount':_0x502db0,'headerRowCount':(_0x1730ab=_0x343445==null?void 0x0:_0x343445[_0xb01376(0x14d)])==null?0x0:_0x1730ab,'titleRow':(_0x525ae6=_0x343445==null?void 0x0:_0x343445[_0xb01376(0x151)])==null?!0x1:_0x525ae6,'columns':Array[_0xb01376(0x196)]({'length':_0x502db0},(_0x24e765,_0xc2c3f3)=>{const _0xcaeb8=_0xb01376;var _0x1b1c7a,_0x4f6c8c;return{'index':_0xc2c3f3,'type':_0x343445==null||(_0x1b1c7a=_0x343445[_0xcaeb8(0x12b)])==null||(_0x1b1c7a=_0x1b1c7a[_0xc2c3f3])==null?void 0x0:_0x1b1c7a[_0xcaeb8(0x134)],'width':_0x3c2455==null||(_0x4f6c8c=_0x3c2455[_0xcaeb8(0x154)][_0xc2c3f3])==null?void 0x0:_0x4f6c8c[_0xcaeb8(0x11b)]['width']['v']};}),'sampleRows':Array['from']({'length':this[_0xb01376(0xde)]()},(_0x487611,_0x40e384)=>Array[_0xb01376(0x196)]({'length':_0x502db0},(_0x423957,_0x27214b)=>this[_0xb01376(0x1a9)](_0x40e384,_0x27214b)))[_0xb01376(0x13c)](_0x2f3322=>_0x2f3322[_0xb01376(0x126)](_0x2a5525=>_0x2a5525[_0xb01376(0x178)]>0x0))[_0xb01376(0x19b)](0x0,0x5)};}[_0x174a03(0xde)](){const _0x35b388=_0x174a03;var _0x4daed6,_0x2c9012;return(_0x4daed6=(_0x2c9012=this[_0x35b388(0xd5)]())==null?void 0x0:_0x2c9012[_0x35b388(0x17c)][_0x35b388(0x178)])==null?0x0:_0x4daed6;}[_0x174a03(0x12f)](){const _0x219b14=_0x174a03;var _0xebba1c,_0x4264da;return(_0xebba1c=(_0x4264da=this[_0x219b14(0xd5)]())==null?void 0x0:_0x4264da[_0x219b14(0x154)]['length'])==null?0x0:_0xebba1c;}['getCell'](_0x5507dd,_0x5b7603){const _0x186d7e=_0x174a03;var _0x27eff3;return!((_0x27eff3=this[_0x186d7e(0xd5)]())==null||(_0x27eff3=_0x27eff3[_0x186d7e(0x17c)][_0x5507dd])==null)&&_0x27eff3[_0x186d7e(0x11e)][_0x5b7603]?this['_injector'][_0x186d7e(0xe3)](_0x38c491,this,_0x5507dd,_0x5b7603):null;}[_0x174a03(0x1a9)](_0x24e8cc,_0x4b5d60){const _0xcee56b=_0x174a03;var _0x5924d2,_0xff15a5,_0x88ffc7;let _0xadcc09=(_0x5924d2=(0x0,_0x334d76['getTableRangeById'])(this[_0xcee56b(0x11a)](),this['_tableId']))==null||(_0x5924d2=_0x5924d2['rows'][_0x24e8cc])==null?void 0x0:_0x5924d2[_0xcee56b(0x118)][_0x4b5d60];return _0xadcc09?(_0xff15a5=(_0x88ffc7=this['_getDocumentData']()['body'])==null?void 0x0:_0x88ffc7['dataStream'][_0xcee56b(0x19b)](_0xadcc09[_0xcee56b(0x15f)]+0x1,_0xadcc09['endOffset'])['replace'](/\r\n$/,''))==null?'':_0xff15a5:'';}[_0x174a03(0xf2)](_0x57ef2c,_0x4098e3){const _0x12885c=_0x174a03;var _0x5c7754,_0xee255a,_0x3812dd;let _0x74377d=this[_0x12885c(0xd5)](),_0x2734d5=_0x74377d==null||(_0x5c7754=_0x74377d[_0x12885c(0x17c)][_0x57ef2c])==null?void 0x0:_0x5c7754[_0x12885c(0x11e)][_0x4098e3];return _0x2734d5?_0x46d274[_0x12885c(0x167)][_0x12885c(0x133)]((_0xee255a=(_0x3812dd=_0x2734d5[_0x12885c(0x166)])==null?_0x74377d[_0x12885c(0x13e)]:_0x3812dd)==null?_0x334d76[_0x12885c(0x175)]:_0xee255a):null;}[_0x174a03(0xe8)](_0x599115,_0x32219d){const _0x39f0d2=_0x174a03;var _0xc6ed3b;let _0x42221b=(_0xc6ed3b=this['getSource']())==null||(_0xc6ed3b=_0xc6ed3b[_0x39f0d2(0x17c)][_0x599115])==null?void 0x0:_0xc6ed3b[_0x39f0d2(0x11e)][_0x32219d];return _0x42221b!=null&&_0x42221b['margin']?_0x46d274['Tools'][_0x39f0d2(0x133)](_0x42221b[_0x39f0d2(0x166)]):null;}[_0x174a03(0x152)](){const _0x2c8185=_0x174a03;var _0x42bef3,_0x38ff87;return _0x46d274[_0x2c8185(0x167)][_0x2c8185(0x133)]((_0x42bef3=(_0x38ff87=this[_0x2c8185(0xd5)]())==null?void 0x0:_0x38ff87['cellMargin'])==null?_0x334d76[_0x2c8185(0x175)]:_0x42bef3);}['getDefaultCellMarginOverride'](){const _0x58bd7c=_0x174a03;var _0x362094;let _0x558675=(_0x362094=this[_0x58bd7c(0xd5)]())==null?void 0x0:_0x362094['cellMargin'];return _0x558675?_0x46d274['Tools'][_0x58bd7c(0x133)](_0x558675):null;}[_0x174a03(0xfe)](){const _0x2c78f6=_0x174a03;return this[_0x2c78f6(0x15e)][_0x2c78f6(0xe1)](_0x334d76[_0x2c78f6(0x198)])[_0x2c78f6(0x17e)](this['_unitId'],this[_0x2c78f6(0xf7)]);}['getSource'](){const _0x584d39=_0x174a03;var _0x2e41d4;return(_0x2e41d4=this['_getDocumentData']()[_0x584d39(0x173)])==null?void 0x0:_0x2e41d4[this['_tableId']];}[_0x174a03(0x1a8)](){const _0x4f9006=_0x174a03;return(0x0,_0x334d76['getTableRangeById'])(this[_0x4f9006(0x11a)](),this[_0x4f9006(0xf7)]);}[_0x174a03(0x155)](){const _0x1258c8=_0x174a03;return{'startRow':0x0,'endRow':Math[_0x1258c8(0x107)](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math[_0x1258c8(0x107)](0x0,this[_0x1258c8(0x12f)]()-0x1)};}[_0x174a03(0x193)](_0x308122,_0x13b273){return{'startRow':_0x308122,'endRow':_0x308122,'startColumn':_0x13b273,'endColumn':_0x13b273};}[_0x174a03(0xdf)](_0x57f1f2,_0x51c06b){const _0x49c61e=_0x174a03;var _0x408b5d;let _0x1fde96=(_0x408b5d=(0x0,_0x334d76[_0x49c61e(0xf9)])(this[_0x49c61e(0x11a)](),this['_tableId']))==null||(_0x408b5d=_0x408b5d[_0x49c61e(0x194)][_0x57f1f2])==null?void 0x0:_0x408b5d[_0x49c61e(0x118)][_0x51c06b];if(!_0x1fde96)return null;let _0x575816=_0x1fde96['startOffset']+0x1;return{'startOffset':_0x575816,'endOffset':Math['max'](_0x575816,_0x1fde96[_0x49c61e(0x146)]-0x1),'segmentId':this[_0x49c61e(0x114)]};}[_0x174a03(0x1ae)](_0x297eb6,_0xaf2fc7){const _0x56b1e6=_0x174a03;var _0x2ebe9f,_0x400436;return(_0x2ebe9f=(_0x400436=this[_0x56b1e6(0xdf)](_0x297eb6,_0xaf2fc7))==null?void 0x0:_0x400436[_0x56b1e6(0x146)])==null?null:_0x2ebe9f;}['getRowRange'](_0x1cf4a7){const _0x326155=_0x174a03;return this[_0x326155(0x139)](_0x1cf4a7,0x1);}[_0x174a03(0x139)](_0x46e860,_0x308d7c=0x1){const _0x2c5499=_0x174a03;return{'startRow':_0x46e860,'endRow':_0x46e860+_0x308d7c-0x1,'startColumn':0x0,'endColumn':Math[_0x2c5499(0x107)](0x0,this[_0x2c5499(0x12f)]()-0x1)};}[_0x174a03(0x14a)](_0x45156c){const _0x243224=_0x174a03;return this[_0x243224(0x136)](_0x45156c,0x1);}[_0x174a03(0x136)](_0x588fa7,_0x436506=0x1){const _0x1be695=_0x174a03;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x1be695(0xde)]()-0x1),'startColumn':_0x588fa7,'endColumn':_0x588fa7+_0x436506-0x1};}[_0x174a03(0x180)](){const _0x1f0331=_0x174a03;return this[_0x1f0331(0x17f)](this[_0x1f0331(0x155)](),_0x334d76['DocsTableSelectionKind'][_0x1f0331(0x161)]);}[_0x174a03(0x169)](_0x3696f6){return this['selectRows'](_0x3696f6,0x1);}['selectRows'](_0x5905b2,_0x3772f0=0x1){const _0x1de351=_0x174a03;return this[_0x1de351(0x17f)](this[_0x1de351(0x139)](_0x5905b2,_0x3772f0),_0x334d76[_0x1de351(0x171)][_0x1de351(0x1a0)]);}[_0x174a03(0x1b0)](_0x58487b){const _0x736b6c=_0x174a03;return this[_0x736b6c(0x16b)](_0x58487b,0x1);}[_0x174a03(0x16b)](_0x3879aa,_0x5e734a=0x1){const _0x6bcc7d=_0x174a03;return this['selectRange'](this[_0x6bcc7d(0x136)](_0x3879aa,_0x5e734a),_0x334d76[_0x6bcc7d(0x171)][_0x6bcc7d(0xe5)]);}[_0x174a03(0xe4)](_0x44e230,_0x2de4e9){const _0x5a01ee=_0x174a03;return this['selectRange'](this['getCellRange'](_0x44e230,_0x2de4e9),_0x334d76['DocsTableSelectionKind'][_0x5a01ee(0xf6)]);}[_0x174a03(0x17f)](_0x5178f3,_0x371396=_0x334d76[_0x174a03(0x171)][_0x174a03(0x158)]){const _0x4b4876=_0x174a03;return this[_0x4b4876(0x15e)][_0x4b4876(0xe1)](_0x334d76['DocsTableSelectionService'])[_0x4b4876(0x170)]({..._0x5178f3,'kind':_0x371396,'segmentId':this[_0x4b4876(0x114)],'tableId':this[_0x4b4876(0xf7)]}),!0x0;}[_0x174a03(0x124)](_0x31059f){const _0x3ca395=_0x174a03;return this[_0x3ca395(0x15b)](_0x31059f,0x1);}[_0x174a03(0x191)](_0x57346c){const _0x4db5a5=_0x174a03;return this[_0x4db5a5(0x127)](_0x57346c,0x1);}[_0x174a03(0x15b)](_0x9f0d58,_0xf19f95){const _0x5e3dd7=_0x174a03;let _0x30daef=this[_0x5e3dd7(0x11a)](),_0x4771fa=(0x0,_0x334d76[_0x5e3dd7(0x15a)])(_0x30daef,this[_0x5e3dd7(0xf7)],_0x9f0d58,_0xf19f95,_0x334d76[_0x5e3dd7(0x18b)][_0x5e3dd7(0x16f)],this['_getBodyPath']());return _0x4771fa?this[_0x5e3dd7(0x18c)](_0x30daef,_0x4771fa[_0x5e3dd7(0x104)]):!0x1;}[_0x174a03(0x127)](_0xefd3ec,_0x144a0e){const _0x2d1810=_0x174a03;let _0x2c6a72=this[_0x2d1810(0x11a)](),_0x2b1e86=(0x0,_0x334d76['buildInsertTableRowsMutationActions'])(_0x2c6a72,this['_tableId'],_0xefd3ec,_0x144a0e,_0x334d76['DocsTableInsertPosition'][_0x2d1810(0x199)],this[_0x2d1810(0x16e)]());return _0x2b1e86?this[_0x2d1810(0x18c)](_0x2c6a72,_0x2b1e86['actions']):!0x1;}[_0x174a03(0x13d)](){const _0x40c347=_0x174a03;return this[_0x40c347(0x127)](Math[_0x40c347(0x107)](0x0,this[_0x40c347(0xde)]()-0x1),0x1);}['insertColumnBefore'](_0x29b2dd){return this['insertColumnsBefore'](_0x29b2dd,0x1);}['insertColumnAfter'](_0x37510a){const _0x344131=_0x174a03;return this[_0x344131(0x160)](_0x37510a,0x1);}[_0x174a03(0x12e)](_0x576722,_0x3e9f02){const _0x4eb7ce=_0x174a03;let _0x1f6dda=this[_0x4eb7ce(0x11a)](),_0x3a66a5=(0x0,_0x334d76[_0x4eb7ce(0x119)])(_0x1f6dda,this['_tableId'],_0x576722,_0x3e9f02,_0x334d76[_0x4eb7ce(0x18b)][_0x4eb7ce(0x195)],{'bodyPath':this[_0x4eb7ce(0x16e)]()});return _0x3a66a5?this[_0x4eb7ce(0x18c)](_0x1f6dda,_0x3a66a5['actions']):!0x1;}[_0x174a03(0x160)](_0x576c66,_0x11ba42){const _0x76bd4a=_0x174a03;let _0x5024e6=this[_0x76bd4a(0x11a)](),_0x5231b2=(0x0,_0x334d76['buildInsertTableColumnsMutationActions'])(_0x5024e6,this[_0x76bd4a(0xf7)],_0x576c66,_0x11ba42,_0x334d76[_0x76bd4a(0x18b)]['Right'],{'bodyPath':this['_getBodyPath']()});return _0x5231b2?this['_mutateActions'](_0x5024e6,_0x5231b2[_0x76bd4a(0x104)]):!0x1;}[_0x174a03(0x174)](){const _0x3bacfa=_0x174a03;return this[_0x3bacfa(0x160)](Math[_0x3bacfa(0x107)](0x0,this[_0x3bacfa(0x12f)]()-0x1),0x1);}['deleteRow'](_0x532a16){const _0x575875=_0x174a03;return this[_0x575875(0xfc)](_0x532a16,0x1);}['deleteRows'](_0x5350f4,_0x362c3b=0x1){const _0x3d0e5a=_0x174a03;let _0x109598=this[_0x3d0e5a(0x11a)](),_0x19f51c=(0x0,_0x334d76[_0x3d0e5a(0xd9)])(_0x109598,this[_0x3d0e5a(0xf7)],_0x5350f4,_0x5350f4+_0x362c3b-0x1,this[_0x3d0e5a(0x16e)]());return _0x19f51c?this[_0x3d0e5a(0x18c)](_0x109598,_0x19f51c[_0x3d0e5a(0x104)]):!0x1;}['deleteColumn'](_0x1249cb){const _0x3c5cf6=_0x174a03;return this[_0x3c5cf6(0x18d)](_0x1249cb,0x1);}[_0x174a03(0x18d)](_0x584b71,_0x12b6aa=0x1){const _0x5d9c42=_0x174a03;let _0xbfece=this['_getDocumentData'](),_0x54d172=(0x0,_0x334d76[_0x5d9c42(0x101)])(_0xbfece,this['_tableId'],_0x584b71,_0x584b71+_0x12b6aa-0x1,this[_0x5d9c42(0x16e)]());return _0x54d172?this[_0x5d9c42(0x18c)](_0xbfece,_0x54d172[_0x5d9c42(0x104)]):!0x1;}['deleteTable'](){const _0x21ee57=_0x174a03;let _0x826236=this[_0x21ee57(0x11a)](),_0x578ffa=(0x0,_0x334d76[_0x21ee57(0xf5)])(_0x826236,this[_0x21ee57(0xf7)],this['_getBodyPath']());return _0x578ffa?this[_0x21ee57(0x18c)](_0x826236,_0x578ffa['actions']):!0x1;}['moveTableBy'](_0x28dc5c,_0x3ee6f5){const _0x6e589b=_0x174a03;let _0x25a67f=this[_0x6e589b(0x11a)]();return this['_mutateActions'](_0x25a67f,(0x0,_0x334d76['buildMoveFloatingTableMutationActions'])(_0x25a67f,this[_0x6e589b(0xf7)],_0x28dc5c,_0x3ee6f5));}[_0x174a03(0x1ac)](_0x2fdd59){const _0x228d62=_0x174a03;let _0x1c3777=this['_getDocumentData']();return this[_0x228d62(0x18c)](_0x1c3777,(0x0,_0x334d76[_0x228d62(0x164)])(_0x1c3777,this[_0x228d62(0xf7)],_0x2fdd59,this[_0x228d62(0x16e)]()));}[_0x174a03(0xdc)](_0x248321,_0x31d60d,_0x44965f=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x16f)]){return this['moveRows'](_0x248321,0x1,_0x31d60d,_0x44965f);}['moveRows'](_0x58fdb8,_0x30d466,_0xcc7202,_0x24fcb9=_0x334d76['DocsTableInsertPosition']['Above']){const _0x2d73e9=_0x174a03;let _0x5c7d69=this['_getDocumentData'](),_0x361eb3=(0x0,_0x334d76[_0x2d73e9(0xd8)])(_0x5c7d69,this[_0x2d73e9(0xf7)],_0x58fdb8,_0xcc7202,_0x30d466,_0x24fcb9,this[_0x2d73e9(0x16e)]());return _0x361eb3?this['_mutateActions'](_0x5c7d69,_0x361eb3['actions']):!0x1;}[_0x174a03(0x19a)](_0x17e6b0,_0x3affde,_0x2d6292=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x195)]){const _0xea11a5=_0x174a03;return this[_0xea11a5(0x18a)](_0x17e6b0,0x1,_0x3affde,_0x2d6292);}[_0x174a03(0x18a)](_0x2dc3da,_0x57ce6c,_0x181428,_0x4e6fce=_0x334d76[_0x174a03(0x18b)][_0x174a03(0x195)]){const _0x46e5f7=_0x174a03;let _0x45761f=this[_0x46e5f7(0x11a)](),_0x1008a9=(0x0,_0x334d76[_0x46e5f7(0xee)])(_0x45761f,this['_tableId'],_0x2dc3da,_0x181428,_0x57ce6c,_0x4e6fce,this['_getBodyPath']());return _0x1008a9?this['_mutateActions'](_0x45761f,_0x1008a9[_0x46e5f7(0x104)]):!0x1;}[_0x174a03(0xf0)](_0x26a4ff){const _0x2cfa79=_0x174a03;try{let _0x150e97=this['_getDocumentData'](),_0x1ba217=(0x0,_0x334d76[_0x2cfa79(0xdd)])({'documentData':_0x150e97,'tableId':this[_0x2cfa79(0xf7)],..._0x26a4ff});return _0x1ba217?this[_0x2cfa79(0x18c)](_0x150e97,_0x1ba217[_0x2cfa79(0x104)],_0x26a4ff):!0x1;}catch{return!0x1;}}[_0x174a03(0x108)](_0x1a4b15){const _0x4b7ee8=_0x174a03;try{let _0x4b88b1=this[_0x4b7ee8(0x11a)](),_0x2665fb=(0x0,_0x334d76['buildUnmergeCellsMutationActions'])({'documentData':_0x4b88b1,'tableId':this[_0x4b7ee8(0xf7)],..._0x1a4b15});return _0x2665fb?this[_0x4b7ee8(0x18c)](_0x4b88b1,_0x2665fb[_0x4b7ee8(0x104)],_0x1a4b15):!0x1;}catch{return!0x1;}}[_0x174a03(0x16a)](_0x465d83,_0x5a208b,_0x407b3e){const _0x149b9b=_0x174a03;let _0x5743e7=this['_getDocumentData'](),_0x558a0a=(0x0,_0x334d76['getTableActionBodyPath'])(this[_0x149b9b(0x16c)][_0x149b9b(0x13b)]()[_0x149b9b(0x143)](),this[_0x149b9b(0x114)]);return this[_0x149b9b(0x18c)](_0x5743e7,(0x0,_0x334d76[_0x149b9b(0x19e)])({'documentData':_0x5743e7,'tableId':this['_tableId'],'row':_0x465d83,'column':_0x5a208b,'text':_0x407b3e},_0x558a0a),this['getCellRange'](_0x465d83,_0x5a208b));}[_0x174a03(0x156)](_0x33cb7b,_0x2b0736){const _0x4666a4=_0x174a03;let _0xcf5bfc=this['_getDocumentData']();return this[_0x4666a4(0x18c)](_0xcf5bfc,(0x0,_0x334d76[_0x4666a4(0xd6)])(_0xcf5bfc,{'tableId':this[_0x4666a4(0xf7)],..._0x33cb7b,'value':_0x2b0736}),_0x33cb7b);}[_0x174a03(0xef)](_0x224afc,_0x21ebf1){const _0x21e8ca=_0x174a03;let _0x1e71f8=this[_0x21e8ca(0x11a)]();return this[_0x21e8ca(0x18c)](_0x1e71f8,(0x0,_0x334d76[_0x21e8ca(0x185)])({'documentData':_0x1e71f8,'tableId':this[_0x21e8ca(0xf7)],..._0x224afc,'margin':_0x21ebf1}),_0x224afc);}[_0x174a03(0xda)](_0x43cfff){const _0x169a66=_0x174a03;let _0x405e0e=this[_0x169a66(0x11a)]();return this[_0x169a66(0x18c)](_0x405e0e,(0x0,_0x334d76[_0x169a66(0x1ab)])(_0x405e0e,this['_tableId'],_0x43cfff));}[_0x174a03(0x1a2)](_0x349b06,_0xaf989b){const _0x53d7ef=_0x174a03;var _0xc2ac95,_0x1048a1,_0x241bf7,_0x1c71cf;let _0xf44043=this[_0x53d7ef(0x11a)]();return this[_0x53d7ef(0x18c)](_0xf44043,(0x0,_0x334d76['buildSetTableBorderMutationActions'])({'documentData':_0xf44043,'tableId':this[_0x53d7ef(0xf7)],..._0x349b06,'preset':(_0xc2ac95=_0xaf989b[_0x53d7ef(0x11d)])==null?_0x334d76[_0x53d7ef(0x135)][_0x53d7ef(0x18f)]:_0xc2ac95,'border':(_0x1048a1=_0xaf989b['border'])==null?{'color':{'rgb':(_0x241bf7=_0xaf989b[_0x53d7ef(0x116)])==null?_0x53d7ef(0xed):_0x241bf7},'width':{'v':(_0x1c71cf=_0xaf989b[_0x53d7ef(0x17b)])==null?0x1:_0x1c71cf},'dashStyle':_0x46d274['DashStyleType'][_0x53d7ef(0x17a)]}:_0x1048a1}),_0x349b06);}[_0x174a03(0x176)](_0x3a49bd){return this['setCellBackground'](this['getTableRange'](),_0x3a49bd);}[_0x174a03(0x120)](_0x2f81b4){const _0x47da14=_0x174a03;return this['setBorder'](this[_0x47da14(0x155)](),_0x2f81b4);}[_0x174a03(0x172)](_0xa45f65){const _0x5bd623=_0x174a03;let _0xd955da=_0xa45f65[_0x5bd623(0x10c)]?this[_0x5bd623(0x176)](_0xa45f65[_0x5bd623(0x10c)]):!0x0,_0x48858f=_0xa45f65[_0x5bd623(0x106)]?this['setTableBorder'](_0xa45f65[_0x5bd623(0x106)]):!0x0;return _0xd955da&&_0x48858f;}[_0x174a03(0xfa)](_0x1511dc,_0x21a650,_0x49ee8e=_0x46d274[_0x174a03(0x148)][_0x174a03(0xec)]){const _0x1ee674=_0x174a03;var _0x181208;let _0x2b5723=this[_0x1ee674(0x11a)]();return!((_0x181208=_0x2b5723[_0x1ee674(0x173)])==null||(_0x181208=_0x181208[this[_0x1ee674(0xf7)]])==null)&&_0x181208[_0x1ee674(0x17c)][_0x1511dc]?this[_0x1ee674(0x18c)](_0x2b5723,(0x0,_0x334d76[_0x1ee674(0x168)])(_0x2b5723,this['_tableId'],_0x1511dc,_0x21a650,_0x49ee8e)):!0x1;}[_0x174a03(0x189)](_0x4437f9){const _0x229c88=_0x174a03;var _0xc9425f;let _0x46dffa=(_0xc9425f=this[_0x229c88(0xd5)]())==null||(_0xc9425f=_0xc9425f[_0x229c88(0x17c)][_0x4437f9])==null?void 0x0:_0xc9425f[_0x229c88(0x16d)];return _0x46dffa?_0x46d274['Tools'][_0x229c88(0x133)](_0x46dffa):null;}[_0x174a03(0x15c)](_0x3a0665,_0x240ed3){const _0x37204a=_0x174a03;var _0xfbfdf4;let _0x5800be=this[_0x37204a(0x11a)]();return!((_0xfbfdf4=_0x5800be['tableSource'])==null||(_0xfbfdf4=_0xfbfdf4[this[_0x37204a(0xf7)]])==null)&&_0xfbfdf4[_0x37204a(0x154)][_0x3a0665]?this[_0x37204a(0x18c)](_0x5800be,(0x0,_0x334d76['buildResizeTableColumnActionsFromWidth'])(_0x5800be,this[_0x37204a(0xf7)],_0x3a0665,_0x240ed3)):!0x1;}[_0x174a03(0x177)](_0x23a795=0x0,_0xd32ac0=this['getRowCount']()){const _0x478db6=_0x174a03;let _0x190d13=this['_getDocumentData']();return this['_mutateActions'](_0x190d13,(0x0,_0x334d76['buildDistributeTableRowsMutationActions'])(_0x190d13,this[_0x478db6(0xf7)],_0x23a795,_0x23a795+_0xd32ac0-0x1));}[_0x174a03(0x10d)](_0x51261b=0x0,_0x1a6fa1=this[_0x174a03(0x12f)]()){const _0x276606=_0x174a03;let _0x581127=this['_getDocumentData']();return this[_0x276606(0x18c)](_0x581127,(0x0,_0x334d76['buildDistributeTableColumnsMutationActions'])(_0x581127,this[_0x276606(0xf7)],_0x51261b,_0x51261b+_0x1a6fa1-0x1));}[_0x174a03(0xfb)](){const _0x981ca=_0x174a03;var _0x1e8d14,_0x4c8e2e;return(_0x1e8d14=(_0x4c8e2e=this[_0x981ca(0xfe)]())==null?void 0x0:_0x4c8e2e['headerRowCount'])==null?0x0:_0x1e8d14;}[_0x174a03(0x110)](_0x33068c){const _0x7773c4=_0x174a03;let _0x26e832=this[_0x7773c4(0x15e)][_0x7773c4(0xe1)](_0x334d76[_0x7773c4(0x198)]),_0x5c6561=this[_0x7773c4(0x11a)](),_0x4913d8=(0x0,_0x334d76['buildSetTableHeaderRowCountMutationActions'])(_0x5c6561,this['_tableId'],_0x33068c);if(!_0x4913d8)return!0x1;let _0x3fc2e5=this['_mutateActions'](_0x5c6561,_0x4913d8['actions']);return _0x3fc2e5&&_0x26e832[_0x7773c4(0x110)](this[_0x7773c4(0x187)],this[_0x7773c4(0xf7)],_0x4913d8['headerRowCount']),_0x3fc2e5;}[_0x174a03(0x1b1)](_0x1a311b){const _0x214487=_0x174a03;return this[_0x214487(0x110)](_0x1a311b);}[_0x174a03(0x162)](){const _0x274c90=_0x174a03;var _0x5a3679,_0x56b270;return(_0x5a3679=(_0x56b270=this[_0x274c90(0xfe)]())==null?void 0x0:_0x56b270['titleRow'])==null?!0x1:_0x5a3679;}[_0x174a03(0x125)](){const _0x28a287=_0x174a03;let _0x4c9fba=this['_injector'][_0x28a287(0xe1)](_0x334d76[_0x28a287(0x198)]),_0x43f2a3=this[_0x28a287(0x11a)](),_0x5849b6=(0x0,_0x334d76['buildInsertTableTitleRowMutationActions'])(_0x43f2a3,this[_0x28a287(0xf7)],this[_0x28a287(0x16e)]());if(!_0x5849b6)return!0x1;let _0x54761e=this['_mutateActions'](_0x43f2a3,_0x5849b6['actions']);return _0x54761e&&_0x4c9fba[_0x28a287(0x123)](this['_unitId'],this[_0x28a287(0xf7)],!0x0),_0x54761e;}[_0x174a03(0x163)](_0xc16d15,_0x223000){const _0x3b90ac=_0x174a03;return this['_injector'][_0x3b90ac(0xe1)](_0x334d76['DocsTableModel'])['setColumnType'](this[_0x3b90ac(0x187)],this[_0x3b90ac(0xf7)],_0xc16d15,_0x223000),!0x0;}[_0x174a03(0x192)](_0x3d1760,_0x1f9f64){const _0x8ec67d=_0x174a03;let _0x35a531=this[_0x8ec67d(0x11a)]();return this[_0x8ec67d(0x18c)](_0x35a531,(0x0,_0x334d76[_0x8ec67d(0xf4)])(_0x35a531,this[_0x8ec67d(0x102)](),this[_0x8ec67d(0xf7)],_0x3d1760,_0x1f9f64,this[_0x8ec67d(0x16e)]()));}[_0x174a03(0x11a)](){const _0x46b7a7=_0x174a03;let _0x1a73e5=this[_0x46b7a7(0x16c)][_0x46b7a7(0x13b)]()['getSnapshot']();return this['_segmentId']?{...this[_0x46b7a7(0x16c)][_0x46b7a7(0x13b)](this[_0x46b7a7(0x114)])[_0x46b7a7(0x143)](),'documentStyle':_0x1a73e5[_0x46b7a7(0x129)],'tableSource':_0x1a73e5[_0x46b7a7(0x173)]}:_0x1a73e5;}[_0x174a03(0x102)](){const _0x10e98c=_0x174a03;return this[_0x10e98c(0x15e)]['get'](_0x334d76[_0x10e98c(0x198)])[_0x10e98c(0x122)](this[_0x10e98c(0x187)]);}[_0x174a03(0x16e)](){const _0x4cffec=_0x174a03;return(0x0,_0x334d76[_0x4cffec(0x165)])(this[_0x4cffec(0x16c)][_0x4cffec(0x13b)]()[_0x4cffec(0x143)](),this[_0x4cffec(0x114)]);}['_mutateActions'](_0x264540,_0x533645,_0x5c7347){const _0x44b2f2=_0x174a03;return(0x0,_0x334d76[_0x44b2f2(0x159)])(this[_0x44b2f2(0x15e)][_0x44b2f2(0xe1)](_0x46d274[_0x44b2f2(0x1af)]),this[_0x44b2f2(0x187)],_0x264540,_0x533645,_0x5c7347?{'tableId':this['_tableId'],'segmentId':this[_0x44b2f2(0x114)],..._0x5c7347}:void 0x0);}},_0x8bac75=class extends _0x5b6186[_0x174a03(0xfd)]{[_0x174a03(0x184)](_0x4cd006=''){const _0x531db0=_0x174a03;return this[_0x531db0(0x149)](_0x4cd006)['map'](_0x3a5e3a=>this[_0x531db0(0xea)](_0x3a5e3a[_0x531db0(0x14b)],_0x4cd006));}[_0x174a03(0x131)](_0xf23f46,_0x46fa8a=''){const _0x223a30=_0x174a03;return this['_getTables'](_0x46fa8a)['some'](_0x515198=>_0x515198[_0x223a30(0x14b)]===_0xf23f46)?this[_0x223a30(0xea)](_0xf23f46,_0x46fa8a):null;}[_0x174a03(0xe0)](_0x5a8c8e,_0x2139f2=''){const _0x125bf4=_0x174a03;var _0x5b079f;let _0x573844=(_0x5b079f=this[_0x125bf4(0x149)](_0x2139f2)[_0x5a8c8e])==null?void 0x0:_0x5b079f['tableId'];return _0x573844?this[_0x125bf4(0xea)](_0x573844,_0x2139f2):null;}['getTableAtSelection'](){const _0xa28104=_0x174a03;let _0x2be6de=this[_0xa28104(0x15e)][_0xa28104(0xe1)](_0x334d76[_0xa28104(0x115)])['getStableTableSelection']();return _0x2be6de!=null&&_0x2be6de[_0xa28104(0x14b)]?this[_0xa28104(0xea)](_0x2be6de[_0xa28104(0x14b)],_0x2be6de[_0xa28104(0x117)]):null;}['findTableByText'](_0x1aae81,_0x1354b7=''){const _0x238c00=_0x174a03;var _0x108993;return(_0x108993=this[_0x238c00(0x1a1)](_0x1aae81,_0x1354b7)[0x0])==null?null:_0x108993;}['findTables'](_0x351709,_0x3dd041=''){const _0x1f013e=_0x174a03;let _0x291b75=this[_0x1f013e(0x19c)](_0x3dd041),_0x1d0c02=typeof _0x351709=='string'?{'text':_0x351709}:_0x351709;return this['getTables'](_0x3dd041)[_0x1f013e(0x13c)](_0x40bc5a=>{const _0x56a0c5=_0x1f013e;let _0x4f520c=_0x40bc5a[_0x56a0c5(0x11c)]();return!(_0x1d0c02[_0x56a0c5(0x14b)]&&_0x4f520c!==_0x1d0c02[_0x56a0c5(0x14b)]||_0x1d0c02['text']&&!this[_0x56a0c5(0xeb)](_0x291b75,_0x4f520c,_0x1d0c02[_0x56a0c5(0x183)])||_0x1d0c02[_0x56a0c5(0x153)]&&!this[_0x56a0c5(0x105)](_0x40bc5a,0x0,_0x1d0c02[_0x56a0c5(0x153)])||_0x1d0c02[_0x56a0c5(0x182)]&&!this['_rowContainsText'](_0x40bc5a,0x0,_0x1d0c02[_0x56a0c5(0x182)]));});}[_0x174a03(0x140)](_0x1683e2,_0x1d8737,_0x174ff4={}){const _0x36f83b=_0x174a03;var _0xb8bdd2,_0x3cd7e3;let _0x45db6c=this['_injector']['get'](_0x46d274[_0x36f83b(0x1af)]),_0x5a7eca=(_0xb8bdd2=_0x174ff4[_0x36f83b(0x14b)])==null?(0x0,_0x46d274[_0x36f83b(0x1ad)])(0x6):_0xb8bdd2;return _0x45db6c[_0x36f83b(0x142)](_0x334d76[_0x36f83b(0x19d)]['id'],{..._0x174ff4,'unitId':this[_0x36f83b(0x11c)](),'rows':_0x1683e2,'columns':_0x1d8737,'tableId':_0x5a7eca})?this[_0x36f83b(0xea)](_0x5a7eca,(_0x3cd7e3=_0x174ff4[_0x36f83b(0x117)])==null?'':_0x3cd7e3):null;}[_0x174a03(0x1a4)](_0x31db3a,_0x36cba5={}){const _0x1955b8=_0x174a03;var _0x384949,_0x2e3b06;let _0x50fd3c=this[_0x1955b8(0x15e)]['get'](_0x46d274[_0x1955b8(0x1af)]),_0x3b551a=(_0x384949=_0x36cba5[_0x1955b8(0x14b)])==null?(0x0,_0x46d274[_0x1955b8(0x1ad)])(0x6):_0x384949;return _0x50fd3c[_0x1955b8(0x142)](_0x334d76['DocsTableInsertTableCommand']['id'],{..._0x36cba5,'unitId':this['getId'](),'values':_0x31db3a,'tableId':_0x3b551a})?this[_0x1955b8(0xea)](_0x3b551a,(_0x2e3b06=_0x36cba5[_0x1955b8(0x117)])==null?'':_0x2e3b06):null;}['_getTables'](_0x2e00ff=''){let {tables:_0x3022df=[]}=this['getBody'](_0x2e00ff);return _0x3022df;}[_0x174a03(0x19c)](_0x3f4bc7=''){const _0x6637a4=_0x174a03;let _0xe05fe7=this['getDocumentDataModel']()[_0x6637a4(0x143)]();return _0x3f4bc7?{...this['getDocumentDataModel'](_0x3f4bc7)['getSnapshot'](),'documentStyle':_0xe05fe7[_0x6637a4(0x129)],'tableSource':_0xe05fe7[_0x6637a4(0x173)]}:_0xe05fe7;}[_0x174a03(0xea)](_0x53337a,_0x40b80c=''){const _0x45e86f=_0x174a03;return this[_0x45e86f(0x15e)]['createInstance'](_0x3064e4,this,_0x53337a,_0x40b80c,this[_0x45e86f(0x15e)]);}[_0x174a03(0xeb)](_0x57d723,_0x13772a,_0x173dc7){const _0x15b075=_0x174a03;var _0x3a959c;let _0x7b383e=(0x0,_0x334d76[_0x15b075(0xf9)])(_0x57d723,_0x13772a);if(!_0x7b383e)return!0x1;let _0x38ef8e=(_0x3a959c=_0x57d723[_0x15b075(0x19f)])==null?void 0x0:_0x3a959c[_0x15b075(0x132)];return _0x38ef8e?_0x38ef8e[_0x15b075(0x19b)](_0x7b383e['startOffset'],_0x7b383e[_0x15b075(0x146)])[_0x15b075(0x147)](_0x173dc7):!0x1;}['_rowContainsText'](_0x2872d1,_0x1db8d8,_0x56277c){const _0x5fdfe9=_0x174a03;return Array[_0x5fdfe9(0x196)]({'length':_0x2872d1[_0x5fdfe9(0x12f)]()},(_0x36b528,_0x443b5f)=>_0x2872d1[_0x5fdfe9(0x1a9)](_0x1db8d8,_0x443b5f))[_0x5fdfe9(0x126)](_0x1c7c18=>_0x1c7c18[_0x5fdfe9(0x147)](_0x56277c));}};_0x5b6186[_0x174a03(0xfd)][_0x174a03(0x12c)](_0x8bac75),_0x449d82['FDocumentTable']=_0x3064e4,_0x449d82[_0x174a03(0x17d)]=_0x38c491;}));function _0x55d4(){const _0x60564=['hasTitleRow','setColumnType','buildMoveTableToOffsetMutationActions','getTableActionBodyPath','margin','Tools','buildResizeTableRowActionsFromHeight','selectRow','setCellText','selectColumns','_document','trHeight','_getBodyPath','Above','setStructuralSelection','DocsTableSelectionKind','setTableStyle','tableSource','appendColumn','DEFAULT_DOCS_TABLE_CELL_MARGIN','setTableBackground','distributeRows','length','UniverDocsFacade','SOLID','width','tableRows','FDocumentTableCell','getTableMetadata','selectRange','selectTable','2098648mOqkwt','titleText','text','getTables','buildSetTableCellMarginMutationActions','@univerjs/docs/facade','_unitId','getText','getRowHeight','moveColumns','DocsTableInsertPosition','_mutateActions','deleteColumns','toStringTag','All','@univerjs/core','insertRowAfter','sortByColumn','getCellRange','rows','Left','from','5TRnjeg','DocsTableModel','Below','moveColumn','slice','_getTableDocumentData','DocsTableInsertTableCommand','buildSetTableCellTextMutationActions','body','Row','findTables','setBorder','_row','insertTableFromData','getContentRange','getInsertOffset','defineProperty','getRange','getCellText','describe','buildSetTableDefaultCellMarginMutationActions','moveTableToOffset','generateRandomId','getCellInsertOffset','ICommandService','selectColumn','pinHeaderRows','83548ZFaHMa','3411ambPNy','DocsTableRowInsertPosition','getSource','buildSetTableBackgroundMutationActions','getMarginOverride','buildMoveTableRowsMutationActions','buildDeleteTableRowsMutationActions','setDefaultCellMargin','mergeTo','moveRow','buildMergeCellsMutationActions','getRowCount','getCellContentRange','getTableAt','get','1713LPNIut','createInstance','selectCell','Column','function','getColumnIndex','getCellMarginOverride','getRowIndex','_createFDocumentTable','_tableContainsText','AT_LEAST','#1f1f1f','buildMoveTableColumnsMutationActions','setCellMargin','mergeCells','iterator','getCellMargin','amd','buildSortTableMutationActions','buildDeleteTableMutationActions','Cell','_tableId','getInfo','getTableRangeById','setRowHeight','getHeaderRowCount','deleteRows','FDocument','getMetadata','getSegmentId','setBackgroundColor','buildDeleteTableColumnsMutationActions','_serializeModel','15441540QLFWos','actions','_rowContainsText','border','max','unmergeCells','object','constructor','6811992GLJywc','backgroundColor','distributeColumns','_column','_table','setHeaderRowCount','unmerge','9250zDnJUr','DashStyleType','_segmentId','DocsTableSelectionService','color','segmentId','cells','buildInsertTableColumnsMutationActions','_getDocumentData','size','getId','preset','tableCells','symbol','setTableBorder','@univerjs-pro/docs-table','serialize','setTitleRow','insertRowBefore','insertTitleRow','some','insertRowsAfter','7Lzxyah','documentStyle','FEnum','columnTypes','extend','1370910uuTxNi','insertColumnsBefore','getColumnCount','DocsTableSortDirection','getTable','dataStream','deepClone','type','DocsTableBorderPreset','getColumnsRange','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DocsTableColumnInsertPosition','getRowsRange','428KZTqkB','getDocumentDataModel','filter','appendRow','cellMargin','string','insertTable','12ZdYKmO','syncExecuteCommand','getSnapshot','UniverProDocsTableFacade','UniverCoreFacade','endOffset','includes','TableRowHeightRule','_getTables','getColumnRange','tableId','exports','headerRowCount','prototype','DocsTableInsertTablePosition','DocsTableColumnType','titleRow','getDefaultCellMargin','headerText','tableColumns','getTableRange','setCellBackground','UniverProDocsTable','Range','executeRichTextTableActions','buildInsertTableRowsMutationActions','insertRowsBefore','setColumnWidth','UniverCore','_injector','startOffset','insertColumnsAfter','Table'];_0x55d4=function(){return _0x60564;};return _0x55d4();}
1
+ function _0xe2cc(_0x25adf2,_0x38083b){_0x25adf2=_0x25adf2-0xe9;const _0xd64c68=_0xd64c();let _0xe2cce6=_0xd64c68[_0x25adf2];return _0xe2cce6;}(function(_0x4bc363,_0x4a825e){const _0x13b9a9=_0xe2cc,_0x16dbb2=_0x4bc363();while(!![]){try{const _0xa1251c=parseInt(_0x13b9a9(0x176))/0x1+-parseInt(_0x13b9a9(0x165))/0x2+-parseInt(_0x13b9a9(0x1b7))/0x3+-parseInt(_0x13b9a9(0x13f))/0x4*(-parseInt(_0x13b9a9(0x174))/0x5)+parseInt(_0x13b9a9(0xeb))/0x6*(parseInt(_0x13b9a9(0x167))/0x7)+parseInt(_0x13b9a9(0x10a))/0x8+-parseInt(_0x13b9a9(0x18e))/0x9;if(_0xa1251c===_0x4a825e)break;else _0x16dbb2['push'](_0x16dbb2['shift']());}catch(_0x574f82){_0x16dbb2['push'](_0x16dbb2['shift']());}}}(_0xd64c,0xe9a30),function(_0x25bca3,_0x39b916){const _0x624131=_0xe2cc;typeof exports=='object'&&typeof module<'u'?_0x39b916(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x624131(0x111)&&define[_0x624131(0x19d)]?define([_0x624131(0x1b9),_0x624131(0x163),_0x624131(0x16a),_0x624131(0x1ae),'@univerjs/docs/facade'],_0x39b916):(_0x25bca3=typeof globalThis<'u'?globalThis:_0x25bca3||self,_0x39b916(_0x25bca3['UniverProDocsTableFacade']={},_0x25bca3[_0x624131(0x153)],_0x25bca3[_0x624131(0x134)],_0x25bca3['UniverCoreFacade'],_0x25bca3['UniverDocsFacade']));}(this,function(_0x1d1d72,_0x2d445f,_0x172e84,_0x3256d2,_0x44bc52){const _0x3136c6=_0xe2cc;Object['defineProperty'](_0x1d1d72,Symbol[_0x3136c6(0x13a)],{'value':_0x3136c6(0x1a2)});var _0x506fdb=class extends _0x3256d2['FEnum']{get[_0x3136c6(0xef)](){const _0x3fda12=_0x3136c6;return _0x2d445f[_0x3fda12(0xef)];}get[_0x3136c6(0x168)](){const _0x4a053d=_0x3136c6;return _0x2d445f[_0x4a053d(0x168)];}get[_0x3136c6(0x170)](){return _0x2d445f['DocsTableSelectionKind'];}get[_0x3136c6(0x118)](){const _0x28c610=_0x3136c6;return _0x2d445f[_0x28c610(0x118)];}get[_0x3136c6(0x116)](){const _0xf16d6b=_0x3136c6;return _0x2d445f[_0xf16d6b(0x116)];}get['DocsTableBorderPreset'](){const _0x5c33ca=_0x3136c6;return _0x2d445f[_0x5c33ca(0x12a)];}get['DocsTableSortDirection'](){return _0x2d445f['DocsTableSortDirection'];}get[_0x3136c6(0x19f)](){return _0x172e84['DashStyleType'];}};_0x3256d2['FEnum'][_0x3136c6(0x114)](_0x506fdb);var _0xedc215=class{constructor(_0x33018a,_0x317275,_0x782660){const _0x315bc9=_0x3136c6;this['_table']=_0x33018a,this[_0x315bc9(0x12d)]=_0x317275,this[_0x315bc9(0x11e)]=_0x782660;}[_0x3136c6(0x19e)](){const _0x39d213=_0x3136c6;return this[_0x39d213(0x119)];}[_0x3136c6(0x15e)](){const _0x31bbd4=_0x3136c6;return this[_0x31bbd4(0x12d)];}[_0x3136c6(0xf9)](){const _0x5bb3e7=_0x3136c6;return this[_0x5bb3e7(0x11e)];}[_0x3136c6(0x195)](){const _0x340690=_0x3136c6;return this[_0x340690(0x119)]['getCellText'](this[_0x340690(0x12d)],this[_0x340690(0x11e)]);}[_0x3136c6(0xfd)](){const _0x267987=_0x3136c6;return this[_0x267987(0x119)][_0x267987(0x169)](this['_row'],this[_0x267987(0x11e)]);}[_0x3136c6(0x1aa)](){const _0x2e39b5=_0x3136c6;return this[_0x2e39b5(0x119)]['getCellInsertOffset'](this[_0x2e39b5(0x12d)],this[_0x2e39b5(0x11e)]);}['getMargin'](){const _0x112ce=_0x3136c6;return this[_0x112ce(0x119)][_0x112ce(0x190)](this[_0x112ce(0x12d)],this[_0x112ce(0x11e)]);}[_0x3136c6(0xf7)](){const _0x3710c9=_0x3136c6;return this[_0x3710c9(0x119)]['getCellMarginOverride'](this['_row'],this[_0x3710c9(0x11e)]);}[_0x3136c6(0xf6)](_0x5ae462){const _0x4a68ce=_0x3136c6;return this[_0x4a68ce(0x119)][_0x4a68ce(0x10f)](this[_0x4a68ce(0x119)][_0x4a68ce(0x141)](this[_0x4a68ce(0x12d)],this[_0x4a68ce(0x11e)]),_0x5ae462);}['clearMarginOverride'](){const _0x46d779=_0x3136c6;return this['_table']['setCellMargin'](this[_0x46d779(0x119)][_0x46d779(0x141)](this[_0x46d779(0x12d)],this[_0x46d779(0x11e)]),null);}[_0x3136c6(0x18d)](_0x54c5c8){const _0x29c54d=_0x3136c6;return this[_0x29c54d(0x119)][_0x29c54d(0x12f)](this[_0x29c54d(0x12d)],this[_0x29c54d(0x11e)],_0x54c5c8);}['setBackgroundColor'](_0x573e4a){const _0x17c981=_0x3136c6;return this[_0x17c981(0x119)][_0x17c981(0x135)](this[_0x17c981(0x119)][_0x17c981(0x141)](this[_0x17c981(0x12d)],this[_0x17c981(0x11e)]),_0x573e4a);}[_0x3136c6(0xed)](_0x278a19){const _0x56795b=_0x3136c6;return this[_0x56795b(0x119)][_0x56795b(0xed)](this[_0x56795b(0x119)]['getCellRange'](this[_0x56795b(0x12d)],this[_0x56795b(0x11e)]),_0x278a19);}[_0x3136c6(0x187)](_0x27ddae,_0x25f530){const _0x1eb09f=_0x3136c6;return this[_0x1eb09f(0x119)][_0x1eb09f(0xfc)]({'startRow':this['_row'],'startColumn':this[_0x1eb09f(0x11e)],'endRow':this[_0x1eb09f(0x12d)]+_0x27ddae-0x1,'endColumn':this[_0x1eb09f(0x11e)]+_0x25f530-0x1});}[_0x3136c6(0x136)](){const _0x5cd02c=_0x3136c6;return this['_table'][_0x5cd02c(0x166)](this[_0x5cd02c(0x119)][_0x5cd02c(0x141)](this[_0x5cd02c(0x12d)],this[_0x5cd02c(0x11e)]));}};function _0x410c81(_0x44891e){'@babel/helpers - typeof';const _0x17f501=_0x3136c6;return _0x410c81=typeof Symbol=='function'&&typeof Symbol[_0x17f501(0x1a6)]=='symbol'?function(_0x5ba798){return typeof _0x5ba798;}:function(_0x3d8e00){const _0xd2a8f6=_0x17f501;return _0x3d8e00&&typeof Symbol=='function'&&_0x3d8e00[_0xd2a8f6(0x172)]===Symbol&&_0x3d8e00!==Symbol['prototype']?'symbol':typeof _0x3d8e00;},_0x410c81(_0x44891e);}function _0x207f18(_0x25d2aa,_0x3c4532){const _0x2c71dd=_0x3136c6;if(_0x410c81(_0x25d2aa)!=_0x2c71dd(0x105)||!_0x25d2aa)return _0x25d2aa;var _0x23e8b5=_0x25d2aa[Symbol['toPrimitive']];if(_0x23e8b5!==void 0x0){var _0x30cbc0=_0x23e8b5[_0x2c71dd(0x14d)](_0x25d2aa,_0x3c4532||_0x2c71dd(0x179));if(_0x410c81(_0x30cbc0)!=_0x2c71dd(0x105))return _0x30cbc0;throw TypeError(_0x2c71dd(0x15b));}return(_0x3c4532===_0x2c71dd(0x130)?String:Number)(_0x25d2aa);}function _0x2a3682(_0x4bb447){const _0x480657=_0x3136c6;var _0x29be4b=_0x207f18(_0x4bb447,_0x480657(0x130));return _0x410c81(_0x29be4b)==_0x480657(0x19a)?_0x29be4b:_0x29be4b+'';}function _0x2e8d99(_0x17c225,_0x2b4f8d,_0x456976){return(_0x2b4f8d=_0x2a3682(_0x2b4f8d))in _0x17c225?Object['defineProperty'](_0x17c225,_0x2b4f8d,{'value':_0x456976,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x17c225[_0x2b4f8d]=_0x456976,_0x17c225;}var _0x2b931c=class{constructor(_0x4e44c8,_0x1cc85e,_0x1093be='',_0x1501dd){const _0x48d1f0=_0x3136c6;this[_0x48d1f0(0x126)]=_0x4e44c8,this[_0x48d1f0(0x101)]=_0x1cc85e,this['_segmentId']=_0x1093be,this['_injector']=_0x1501dd,_0x2e8d99(this,_0x48d1f0(0x140),void 0x0),this['_unitId']=this[_0x48d1f0(0x126)]['getId']();}[_0x3136c6(0x120)](){const _0x507f28=_0x3136c6;return this[_0x507f28(0x101)];}[_0x3136c6(0x15c)](){const _0x51f1c7=_0x3136c6;return this[_0x51f1c7(0x143)];}['getInfo'](){const _0x4c071c=_0x3136c6;return{'id':this[_0x4c071c(0x101)],'rowCount':this[_0x4c071c(0x175)](),'columnCount':this[_0x4c071c(0x154)](),'metadata':this[_0x4c071c(0x109)](),'source':this[_0x4c071c(0x1bf)]()};}['describe'](){const _0x5461c5=_0x3136c6;var _0x1a2259,_0x35eac9;let _0x4907e8=this[_0x5461c5(0x109)](),_0xf03309=this['getSource'](),_0x2fe6e8=this['getColumnCount']();return{'id':this[_0x5461c5(0x101)],'rowCount':this[_0x5461c5(0x175)](),'columnCount':_0x2fe6e8,'headerRowCount':(_0x1a2259=_0x4907e8==null?void 0x0:_0x4907e8[_0x5461c5(0x14f)])==null?0x0:_0x1a2259,'titleRow':(_0x35eac9=_0x4907e8==null?void 0x0:_0x4907e8[_0x5461c5(0x16d)])==null?!0x1:_0x35eac9,'columns':Array[_0x5461c5(0xff)]({'length':_0x2fe6e8},(_0x104188,_0x39376f)=>{const _0x21815a=_0x5461c5;var _0x3fe779,_0x58f56f;return{'index':_0x39376f,'type':_0x4907e8==null||(_0x3fe779=_0x4907e8[_0x21815a(0xec)])==null||(_0x3fe779=_0x3fe779[_0x39376f])==null?void 0x0:_0x3fe779[_0x21815a(0x11d)],'width':_0xf03309==null||(_0x58f56f=_0xf03309[_0x21815a(0x1b2)][_0x39376f])==null?void 0x0:_0x58f56f[_0x21815a(0x158)][_0x21815a(0x189)]['v']};}),'sampleRows':Array['from']({'length':this[_0x5461c5(0x175)]()},(_0x925cfd,_0x50295f)=>Array['from']({'length':_0x2fe6e8},(_0x343e7f,_0x10b848)=>this[_0x5461c5(0x1af)](_0x50295f,_0x10b848)))[_0x5461c5(0x1c0)](_0x1ba195=>_0x1ba195[_0x5461c5(0x128)](_0x4be51b=>_0x4be51b[_0x5461c5(0x196)]>0x0))[_0x5461c5(0x149)](0x0,0x5)};}[_0x3136c6(0x175)](){const _0x1381be=_0x3136c6;var _0x28fc21,_0x3d6286;return(_0x28fc21=(_0x3d6286=this[_0x1381be(0x1bf)]())==null?void 0x0:_0x3d6286[_0x1381be(0x16c)]['length'])==null?0x0:_0x28fc21;}[_0x3136c6(0x154)](){const _0x32653e=_0x3136c6;var _0x2cae4a,_0x57b3fc;return(_0x2cae4a=(_0x57b3fc=this[_0x32653e(0x1bf)]())==null?void 0x0:_0x57b3fc[_0x32653e(0x1b2)][_0x32653e(0x196)])==null?0x0:_0x2cae4a;}['getCell'](_0x114e93,_0x593c99){const _0x333a14=_0x3136c6;var _0x68dc4b;return!((_0x68dc4b=this['getSource']())==null||(_0x68dc4b=_0x68dc4b[_0x333a14(0x16c)][_0x114e93])==null)&&_0x68dc4b[_0x333a14(0xfa)][_0x593c99]?this[_0x333a14(0x192)][_0x333a14(0x14b)](_0xedc215,this,_0x114e93,_0x593c99):null;}[_0x3136c6(0x1af)](_0x41a795,_0x17369e){const _0x3adb0f=_0x3136c6;var _0x163f2b,_0x20436b,_0x2551e3;let _0x4d5407=(_0x163f2b=(0x0,_0x2d445f[_0x3adb0f(0x13d)])(this[_0x3adb0f(0x188)](),this[_0x3adb0f(0x101)]))==null||(_0x163f2b=_0x163f2b[_0x3adb0f(0x14c)][_0x41a795])==null?void 0x0:_0x163f2b[_0x3adb0f(0x1bd)][_0x17369e];return _0x4d5407?(_0x20436b=(_0x2551e3=this[_0x3adb0f(0x188)]()[_0x3adb0f(0x159)])==null?void 0x0:_0x2551e3[_0x3adb0f(0x125)][_0x3adb0f(0x149)](_0x4d5407[_0x3adb0f(0x16f)]+0x1,_0x4d5407[_0x3adb0f(0xf4)])[_0x3adb0f(0x194)](/\r\n$/,''))==null?'':_0x20436b:'';}[_0x3136c6(0x190)](_0x413d4a,_0x134375){const _0xc651c8=_0x3136c6;var _0x3d3534,_0x536b7d,_0x371b13;let _0x1b75c2=this[_0xc651c8(0x1bf)](),_0x2275ae=_0x1b75c2==null||(_0x3d3534=_0x1b75c2[_0xc651c8(0x16c)][_0x413d4a])==null?void 0x0:_0x3d3534['tableCells'][_0x134375];return _0x2275ae?_0x172e84['Tools']['deepClone']((_0x536b7d=(_0x371b13=_0x2275ae['margin'])==null?_0x1b75c2[_0xc651c8(0x183)]:_0x371b13)==null?_0x2d445f[_0xc651c8(0x186)]:_0x536b7d):null;}[_0x3136c6(0x13e)](_0x2e3981,_0x3f3d28){const _0x4c3148=_0x3136c6;var _0x2e0784;let _0x1552e8=(_0x2e0784=this[_0x4c3148(0x1bf)]())==null||(_0x2e0784=_0x2e0784[_0x4c3148(0x16c)][_0x2e3981])==null?void 0x0:_0x2e0784[_0x4c3148(0xfa)][_0x3f3d28];return _0x1552e8!=null&&_0x1552e8[_0x4c3148(0x161)]?_0x172e84[_0x4c3148(0x162)][_0x4c3148(0x1b3)](_0x1552e8[_0x4c3148(0x161)]):null;}['getDefaultCellMargin'](){const _0x2e3e8d=_0x3136c6;var _0x168c17,_0x130e6d;return _0x172e84['Tools']['deepClone']((_0x168c17=(_0x130e6d=this[_0x2e3e8d(0x1bf)]())==null?void 0x0:_0x130e6d[_0x2e3e8d(0x183)])==null?_0x2d445f[_0x2e3e8d(0x186)]:_0x168c17);}['getDefaultCellMarginOverride'](){const _0x115c28=_0x3136c6;var _0x54fc5f;let _0x1b4ca8=(_0x54fc5f=this[_0x115c28(0x1bf)]())==null?void 0x0:_0x54fc5f[_0x115c28(0x183)];return _0x1b4ca8?_0x172e84[_0x115c28(0x162)][_0x115c28(0x1b3)](_0x1b4ca8):null;}['getMetadata'](){const _0x4ab163=_0x3136c6;return this[_0x4ab163(0x192)][_0x4ab163(0x1ab)](_0x2d445f[_0x4ab163(0x11b)])[_0x4ab163(0x10b)](this[_0x4ab163(0x140)],this[_0x4ab163(0x101)]);}[_0x3136c6(0x1bf)](){const _0x14c6a4=_0x3136c6;var _0x10eb1b;return(_0x10eb1b=this['_getDocumentData']()[_0x14c6a4(0x199)])==null?void 0x0:_0x10eb1b[this[_0x14c6a4(0x101)]];}[_0x3136c6(0x181)](){const _0x4a9118=_0x3136c6;return(0x0,_0x2d445f[_0x4a9118(0x13d)])(this[_0x4a9118(0x188)](),this[_0x4a9118(0x101)]);}[_0x3136c6(0xee)](){const _0x17f49a=_0x3136c6;return{'startRow':0x0,'endRow':Math['max'](0x0,this['getRowCount']()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x17f49a(0x154)]()-0x1)};}[_0x3136c6(0x141)](_0x480e7e,_0x19020a){return{'startRow':_0x480e7e,'endRow':_0x480e7e,'startColumn':_0x19020a,'endColumn':_0x19020a};}['getCellContentRange'](_0x5f2825,_0x571884){const _0x52068d=_0x3136c6;var _0x1b9345;let _0x1444d7=(_0x1b9345=(0x0,_0x2d445f[_0x52068d(0x13d)])(this['_getDocumentData'](),this[_0x52068d(0x101)]))==null||(_0x1b9345=_0x1b9345[_0x52068d(0x14c)][_0x5f2825])==null?void 0x0:_0x1b9345[_0x52068d(0x1bd)][_0x571884];if(!_0x1444d7)return null;let _0x352d32=_0x1444d7['startOffset']+0x1;return{'startOffset':_0x352d32,'endOffset':Math['max'](_0x352d32,_0x1444d7[_0x52068d(0xf4)]-0x1),'segmentId':this['_segmentId']};}[_0x3136c6(0x17e)](_0x503f67,_0x1cf1cd){const _0x296af3=_0x3136c6;var _0x2cbe47,_0x401d55;return(_0x2cbe47=(_0x401d55=this['getCellContentRange'](_0x503f67,_0x1cf1cd))==null?void 0x0:_0x401d55[_0x296af3(0xf4)])==null?null:_0x2cbe47;}['getRowRange'](_0x459cf9){return this['getRowsRange'](_0x459cf9,0x1);}[_0x3136c6(0x13b)](_0x1bd34c,_0x11017b=0x1){const _0x475bf9=_0x3136c6;return{'startRow':_0x1bd34c,'endRow':_0x1bd34c+_0x11017b-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x475bf9(0x154)]()-0x1)};}[_0x3136c6(0x1b8)](_0x531c65){const _0x1a61fd=_0x3136c6;return this[_0x1a61fd(0x18b)](_0x531c65,0x1);}['getColumnsRange'](_0x1b71bb,_0x224f4e=0x1){const _0x56b22a=_0x3136c6;return{'startRow':0x0,'endRow':Math[_0x56b22a(0x123)](0x0,this[_0x56b22a(0x175)]()-0x1),'startColumn':_0x1b71bb,'endColumn':_0x1b71bb+_0x224f4e-0x1};}[_0x3136c6(0x1ad)](){const _0xc4097b=_0x3136c6;return this[_0xc4097b(0x193)](this[_0xc4097b(0xee)](),_0x2d445f['DocsTableSelectionKind'][_0xc4097b(0x11a)]);}[_0x3136c6(0x106)](_0x4cba0b){return this['selectRows'](_0x4cba0b,0x1);}[_0x3136c6(0x110)](_0x441de5,_0x396785=0x1){const _0x35b0a0=_0x3136c6;return this[_0x35b0a0(0x193)](this[_0x35b0a0(0x13b)](_0x441de5,_0x396785),_0x2d445f[_0x35b0a0(0x170)]['Row']);}[_0x3136c6(0x1ba)](_0x47fb11){return this['selectColumns'](_0x47fb11,0x1);}['selectColumns'](_0x44e9d1,_0x87c0bd=0x1){const _0xfc921b=_0x3136c6;return this['selectRange'](this['getColumnsRange'](_0x44e9d1,_0x87c0bd),_0x2d445f[_0xfc921b(0x170)][_0xfc921b(0xf2)]);}[_0x3136c6(0x198)](_0x23ef2b,_0x361348){const _0x21961c=_0x3136c6;return this[_0x21961c(0x193)](this[_0x21961c(0x141)](_0x23ef2b,_0x361348),_0x2d445f[_0x21961c(0x170)][_0x21961c(0x17d)]);}[_0x3136c6(0x193)](_0x25d184,_0x49eff5=_0x2d445f[_0x3136c6(0x170)][_0x3136c6(0xf0)]){const _0x4e2de6=_0x3136c6;return this[_0x4e2de6(0x192)][_0x4e2de6(0x1ab)](_0x2d445f['DocsTableSelectionService'])[_0x4e2de6(0x107)]({..._0x25d184,'kind':_0x49eff5,'segmentId':this[_0x4e2de6(0x143)],'tableId':this['_tableId']}),!0x0;}[_0x3136c6(0x19c)](_0x45f5a6){const _0x509e60=_0x3136c6;return this[_0x509e60(0x122)](_0x45f5a6,0x1);}[_0x3136c6(0x108)](_0x1a71b2){const _0x3b8a6c=_0x3136c6;return this[_0x3b8a6c(0x146)](_0x1a71b2,0x1);}[_0x3136c6(0x122)](_0x17d692,_0x4a3f44){const _0x13a41a=_0x3136c6;let _0x42cbce=this[_0x13a41a(0x188)](),_0x5070a5=(0x0,_0x2d445f[_0x13a41a(0x13c)])(_0x42cbce,this[_0x13a41a(0x101)],_0x17d692,_0x4a3f44,_0x2d445f[_0x13a41a(0x137)][_0x13a41a(0x152)],this[_0x13a41a(0x133)]());return _0x5070a5?this[_0x13a41a(0x1b6)](_0x42cbce,_0x5070a5[_0x13a41a(0xfb)]):!0x1;}[_0x3136c6(0x146)](_0x58e45e,_0x5c3875){const _0x2a840e=_0x3136c6;let _0x35c920=this[_0x2a840e(0x188)](),_0x58f5f5=(0x0,_0x2d445f['buildInsertTableRowsMutationActions'])(_0x35c920,this['_tableId'],_0x58e45e,_0x5c3875,_0x2d445f[_0x2a840e(0x137)][_0x2a840e(0x155)],this['_getBodyPath']());return _0x58f5f5?this[_0x2a840e(0x1b6)](_0x35c920,_0x58f5f5[_0x2a840e(0xfb)]):!0x1;}['appendRow'](){const _0x2b974e=_0x3136c6;return this[_0x2b974e(0x146)](Math[_0x2b974e(0x123)](0x0,this['getRowCount']()-0x1),0x1);}[_0x3136c6(0x14e)](_0x3f7ad9){const _0xe6d1ae=_0x3136c6;return this[_0xe6d1ae(0x185)](_0x3f7ad9,0x1);}[_0x3136c6(0xf5)](_0x30c7d2){const _0x5566d2=_0x3136c6;return this[_0x5566d2(0x173)](_0x30c7d2,0x1);}['insertColumnsBefore'](_0x4de3be,_0xd2a3df){const _0x3888be=_0x3136c6;let _0x1c8b75=this[_0x3888be(0x188)](),_0x3884d6=(0x0,_0x2d445f['buildInsertTableColumnsMutationActions'])(_0x1c8b75,this[_0x3888be(0x101)],_0x4de3be,_0xd2a3df,_0x2d445f[_0x3888be(0x137)][_0x3888be(0x157)],{'bodyPath':this[_0x3888be(0x133)]()});return _0x3884d6?this[_0x3888be(0x1b6)](_0x1c8b75,_0x3884d6[_0x3888be(0xfb)]):!0x1;}[_0x3136c6(0x173)](_0x7f893c,_0x2091f0){const _0x2b08d9=_0x3136c6;let _0x1051c5=this[_0x2b08d9(0x188)](),_0xf695b4=(0x0,_0x2d445f[_0x2b08d9(0x1a5)])(_0x1051c5,this[_0x2b08d9(0x101)],_0x7f893c,_0x2091f0,_0x2d445f['DocsTableInsertPosition'][_0x2b08d9(0xea)],{'bodyPath':this[_0x2b08d9(0x133)]()});return _0xf695b4?this[_0x2b08d9(0x1b6)](_0x1051c5,_0xf695b4[_0x2b08d9(0xfb)]):!0x1;}[_0x3136c6(0x121)](){const _0x38adc7=_0x3136c6;return this['insertColumnsAfter'](Math[_0x38adc7(0x123)](0x0,this['getColumnCount']()-0x1),0x1);}['deleteRow'](_0x464795){const _0x3f4324=_0x3136c6;return this[_0x3f4324(0x1a4)](_0x464795,0x1);}[_0x3136c6(0x1a4)](_0x529e95,_0x50577b=0x1){const _0x249727=_0x3136c6;let _0x36d395=this[_0x249727(0x188)](),_0xc0ea6d=(0x0,_0x2d445f[_0x249727(0x15a)])(_0x36d395,this['_tableId'],_0x529e95,_0x529e95+_0x50577b-0x1,this['_getBodyPath']());return _0xc0ea6d?this[_0x249727(0x1b6)](_0x36d395,_0xc0ea6d[_0x249727(0xfb)]):!0x1;}[_0x3136c6(0x10c)](_0x43e395){return this['deleteColumns'](_0x43e395,0x1);}['deleteColumns'](_0x151ea8,_0x48d2a8=0x1){const _0x341f7d=_0x3136c6;let _0x567ce4=this[_0x341f7d(0x188)](),_0x5084c8=(0x0,_0x2d445f['buildDeleteTableColumnsMutationActions'])(_0x567ce4,this[_0x341f7d(0x101)],_0x151ea8,_0x151ea8+_0x48d2a8-0x1,this[_0x341f7d(0x133)]());return _0x5084c8?this[_0x341f7d(0x1b6)](_0x567ce4,_0x5084c8[_0x341f7d(0xfb)]):!0x1;}[_0x3136c6(0x150)](){const _0x23da8e=_0x3136c6;let _0x58aeaf=this['_getDocumentData'](),_0x199f08=(0x0,_0x2d445f[_0x23da8e(0x1a3)])(_0x58aeaf,this[_0x23da8e(0x101)],this[_0x23da8e(0x133)]());return _0x199f08?this[_0x23da8e(0x1b6)](_0x58aeaf,_0x199f08['actions']):!0x1;}['moveTableBy'](_0x3fb0e2,_0xdb7331){const _0x342562=_0x3136c6;let _0x2c86b5=this['_getDocumentData']();return this[_0x342562(0x1b6)](_0x2c86b5,(0x0,_0x2d445f[_0x342562(0x14a)])(_0x2c86b5,this['_tableId'],_0x3fb0e2,_0xdb7331));}['moveTableToOffset'](_0x37aef3){const _0x53b8ae=_0x3136c6;let _0x38dbf5=this[_0x53b8ae(0x188)]();return this[_0x53b8ae(0x1b6)](_0x38dbf5,(0x0,_0x2d445f['buildMoveTableToOffsetMutationActions'])(_0x38dbf5,this[_0x53b8ae(0x101)],_0x37aef3,this[_0x53b8ae(0x133)]()));}[_0x3136c6(0x11c)](_0x2e0820,_0x4f7aac,_0x3d79b7=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x152)]){const _0x5a4a9b=_0x3136c6;return this[_0x5a4a9b(0x151)](_0x2e0820,0x1,_0x4f7aac,_0x3d79b7);}[_0x3136c6(0x151)](_0x1944f2,_0x4a096b,_0x4c07bf,_0x38e977=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x152)]){const _0x54dd17=_0x3136c6;let _0x52075b=this[_0x54dd17(0x188)](),_0x2352cb=(0x0,_0x2d445f[_0x54dd17(0x1b0)])(_0x52075b,this[_0x54dd17(0x101)],_0x1944f2,_0x4c07bf,_0x4a096b,_0x38e977,this[_0x54dd17(0x133)]());return _0x2352cb?this[_0x54dd17(0x1b6)](_0x52075b,_0x2352cb[_0x54dd17(0xfb)]):!0x1;}['moveColumn'](_0x116b68,_0x49937e,_0x379832=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x157)]){const _0x3ba714=_0x3136c6;return this[_0x3ba714(0x1a0)](_0x116b68,0x1,_0x49937e,_0x379832);}[_0x3136c6(0x1a0)](_0x469988,_0x4885c2,_0x4d6c0d,_0x21f0e2=_0x2d445f[_0x3136c6(0x137)][_0x3136c6(0x157)]){const _0x3b08dd=_0x3136c6;let _0x45e517=this['_getDocumentData'](),_0x178a14=(0x0,_0x2d445f[_0x3b08dd(0x18c)])(_0x45e517,this[_0x3b08dd(0x101)],_0x469988,_0x4d6c0d,_0x4885c2,_0x21f0e2,this[_0x3b08dd(0x133)]());return _0x178a14?this['_mutateActions'](_0x45e517,_0x178a14[_0x3b08dd(0xfb)]):!0x1;}[_0x3136c6(0xfc)](_0x1e5652){const _0x5ddaee=_0x3136c6;try{let _0x20e2dd=this[_0x5ddaee(0x188)](),_0x263d80=(0x0,_0x2d445f[_0x5ddaee(0x180)])({'documentData':_0x20e2dd,'tableId':this[_0x5ddaee(0x101)],..._0x1e5652});return _0x263d80?this[_0x5ddaee(0x1b6)](_0x20e2dd,_0x263d80['actions'],_0x1e5652):!0x1;}catch{return!0x1;}}[_0x3136c6(0x166)](_0x57bc28){const _0x5977b6=_0x3136c6;try{let _0xd4e8aa=this['_getDocumentData'](),_0xa42ccd=(0x0,_0x2d445f['buildUnmergeCellsMutationActions'])({'documentData':_0xd4e8aa,'tableId':this[_0x5977b6(0x101)],..._0x57bc28});return _0xa42ccd?this[_0x5977b6(0x1b6)](_0xd4e8aa,_0xa42ccd[_0x5977b6(0xfb)],_0x57bc28):!0x1;}catch{return!0x1;}}[_0x3136c6(0x12f)](_0x2b1c4f,_0x1c017b,_0x3824a6){const _0xae5f9=_0x3136c6;let _0x36962b=this[_0xae5f9(0x188)](),_0x1d8d6c=(0x0,_0x2d445f['getTableActionBodyPath'])(this['_document'][_0xae5f9(0x127)]()[_0xae5f9(0x144)](),this['_segmentId']);return this['_mutateActions'](_0x36962b,(0x0,_0x2d445f['buildSetTableCellTextMutationActions'])({'documentData':_0x36962b,'tableId':this[_0xae5f9(0x101)],'row':_0x2b1c4f,'column':_0x1c017b,'text':_0x3824a6},_0x1d8d6c),this['getCellRange'](_0x2b1c4f,_0x1c017b));}[_0x3136c6(0x135)](_0x25fbcb,_0x32359f){const _0x167046=_0x3136c6;let _0x38701a=this[_0x167046(0x188)]();return this[_0x167046(0x1b6)](_0x38701a,(0x0,_0x2d445f['buildSetTableBackgroundMutationActions'])(_0x38701a,{'tableId':this[_0x167046(0x101)],..._0x25fbcb,'value':_0x32359f}),_0x25fbcb);}[_0x3136c6(0x10f)](_0x389d5e,_0x23ac4e){const _0x3d78d0=_0x3136c6;let _0x3be32c=this[_0x3d78d0(0x188)]();return this[_0x3d78d0(0x1b6)](_0x3be32c,(0x0,_0x2d445f['buildSetTableCellMarginMutationActions'])({'documentData':_0x3be32c,'tableId':this['_tableId'],..._0x389d5e,'margin':_0x23ac4e}),_0x389d5e);}[_0x3136c6(0x10e)](_0x38680c){const _0x384d7c=_0x3136c6;let _0xa9c4e2=this[_0x384d7c(0x188)]();return this[_0x384d7c(0x1b6)](_0xa9c4e2,(0x0,_0x2d445f[_0x384d7c(0x1b1)])(_0xa9c4e2,this['_tableId'],_0x38680c));}[_0x3136c6(0xed)](_0x576b70,_0x3f5335){const _0x3772e5=_0x3136c6;var _0x5123e0,_0x262f5f,_0x3677e3,_0x5c8b78;let _0x63f196=this['_getDocumentData']();return this[_0x3772e5(0x1b6)](_0x63f196,(0x0,_0x2d445f[_0x3772e5(0x18f)])({'documentData':_0x63f196,'tableId':this[_0x3772e5(0x101)],..._0x576b70,'preset':(_0x5123e0=_0x3f5335[_0x3772e5(0x19b)])==null?_0x2d445f[_0x3772e5(0x12a)][_0x3772e5(0x197)]:_0x5123e0,'border':(_0x262f5f=_0x3f5335[_0x3772e5(0x191)])==null?{'color':{'rgb':(_0x3677e3=_0x3f5335[_0x3772e5(0x113)])==null?'#1f1f1f':_0x3677e3},'width':{'v':(_0x5c8b78=_0x3f5335[_0x3772e5(0x189)])==null?0x1:_0x5c8b78},'dashStyle':_0x172e84[_0x3772e5(0x19f)][_0x3772e5(0x103)]}:_0x262f5f}),_0x576b70);}[_0x3136c6(0x171)](_0x3fe12a){return this['setCellBackground'](this['getTableRange'](),_0x3fe12a);}['setTableBorder'](_0x391ef4){const _0xf90d5=_0x3136c6;return this['setBorder'](this[_0xf90d5(0xee)](),_0x391ef4);}[_0x3136c6(0x17a)](_0x24edbc){const _0x42eec8=_0x3136c6;let _0xcacfb8=_0x24edbc['backgroundColor']?this[_0x42eec8(0x171)](_0x24edbc[_0x42eec8(0xfe)]):!0x0,_0x4c99c2=_0x24edbc[_0x42eec8(0x191)]?this['setTableBorder'](_0x24edbc[_0x42eec8(0x191)]):!0x0;return _0xcacfb8&&_0x4c99c2;}[_0x3136c6(0x17b)](_0x1ab7f6,_0x33edda,_0x3ad789=_0x172e84[_0x3136c6(0x138)][_0x3136c6(0x112)]){const _0x5a6f93=_0x3136c6;var _0x5dae95;let _0x37a03f=this[_0x5a6f93(0x188)]();return!((_0x5dae95=_0x37a03f[_0x5a6f93(0x199)])==null||(_0x5dae95=_0x5dae95[this[_0x5a6f93(0x101)]])==null)&&_0x5dae95['tableRows'][_0x1ab7f6]?this['_mutateActions'](_0x37a03f,(0x0,_0x2d445f[_0x5a6f93(0x117)])(_0x37a03f,this[_0x5a6f93(0x101)],_0x1ab7f6,_0x33edda,_0x3ad789)):!0x1;}[_0x3136c6(0x156)](_0x332c15){const _0x353f27=_0x3136c6;var _0x125749;let _0x5d60c6=(_0x125749=this[_0x353f27(0x1bf)]())==null||(_0x125749=_0x125749[_0x353f27(0x16c)][_0x332c15])==null?void 0x0:_0x125749[_0x353f27(0x129)];return _0x5d60c6?_0x172e84[_0x353f27(0x162)][_0x353f27(0x1b3)](_0x5d60c6):null;}[_0x3136c6(0x145)](_0x5a42c7,_0x575b09){const _0x4b584c=_0x3136c6;var _0x4a968e;let _0x168b4b=this[_0x4b584c(0x188)]();return!((_0x4a968e=_0x168b4b['tableSource'])==null||(_0x4a968e=_0x4a968e[this['_tableId']])==null)&&_0x4a968e[_0x4b584c(0x1b2)][_0x5a42c7]?this[_0x4b584c(0x1b6)](_0x168b4b,(0x0,_0x2d445f['buildResizeTableColumnActionsFromWidth'])(_0x168b4b,this['_tableId'],_0x5a42c7,_0x575b09)):!0x1;}[_0x3136c6(0x17c)](_0x2588f8=0x0,_0x4ae029=this[_0x3136c6(0x175)]()){const _0x30215f=_0x3136c6;let _0x1eb9de=this[_0x30215f(0x188)]();return this[_0x30215f(0x1b6)](_0x1eb9de,(0x0,_0x2d445f['buildDistributeTableRowsMutationActions'])(_0x1eb9de,this[_0x30215f(0x101)],_0x2588f8,_0x2588f8+_0x4ae029-0x1));}[_0x3136c6(0x16b)](_0x4030d9=0x0,_0x5b093a=this['getColumnCount']()){const _0x34275e=_0x3136c6;let _0x49f1ae=this[_0x34275e(0x188)]();return this[_0x34275e(0x1b6)](_0x49f1ae,(0x0,_0x2d445f[_0x34275e(0x132)])(_0x49f1ae,this[_0x34275e(0x101)],_0x4030d9,_0x4030d9+_0x5b093a-0x1));}[_0x3136c6(0x17f)](){const _0x2ce18f=_0x3136c6;var _0x544053,_0xeb4b25;return(_0x544053=(_0xeb4b25=this[_0x2ce18f(0x109)]())==null?void 0x0:_0xeb4b25[_0x2ce18f(0x14f)])==null?0x0:_0x544053;}[_0x3136c6(0x178)](_0x210dd1){const _0x5c6617=_0x3136c6;let _0x7170a9=this[_0x5c6617(0x192)]['get'](_0x2d445f[_0x5c6617(0x11b)]),_0x3b89e0=this[_0x5c6617(0x188)](),_0x3748d0=(0x0,_0x2d445f[_0x5c6617(0x147)])(_0x3b89e0,this[_0x5c6617(0x101)],_0x210dd1);if(!_0x3748d0)return!0x1;let _0x1a3f7d=this[_0x5c6617(0x1b6)](_0x3b89e0,_0x3748d0[_0x5c6617(0xfb)]);return _0x1a3f7d&&_0x7170a9['setHeaderRowCount'](this[_0x5c6617(0x140)],this[_0x5c6617(0x101)],_0x3748d0['headerRowCount']),_0x1a3f7d;}[_0x3136c6(0x1be)](_0x1ce927){const _0x32b6fa=_0x3136c6;return this[_0x32b6fa(0x178)](_0x1ce927);}['hasTitleRow'](){const _0x126c39=_0x3136c6;var _0x344f6e,_0x5c1968;return(_0x344f6e=(_0x5c1968=this[_0x126c39(0x109)]())==null?void 0x0:_0x5c1968[_0x126c39(0x16d)])==null?!0x1:_0x344f6e;}[_0x3136c6(0x15f)](){const _0x23995d=_0x3136c6;let _0x119edd=this[_0x23995d(0x192)][_0x23995d(0x1ab)](_0x2d445f[_0x23995d(0x11b)]),_0x144a1d=this[_0x23995d(0x188)](),_0x191885=(0x0,_0x2d445f['buildInsertTableTitleRowMutationActions'])(_0x144a1d,this[_0x23995d(0x101)],this['_getBodyPath']());if(!_0x191885)return!0x1;let _0x2b047b=this[_0x23995d(0x1b6)](_0x144a1d,_0x191885[_0x23995d(0xfb)]);return _0x2b047b&&_0x119edd[_0x23995d(0x164)](this[_0x23995d(0x140)],this[_0x23995d(0x101)],!0x0),_0x2b047b;}[_0x3136c6(0x1a8)](_0x198bad,_0x2209a8){const _0x92796b=_0x3136c6;return this[_0x92796b(0x192)][_0x92796b(0x1ab)](_0x2d445f[_0x92796b(0x11b)])[_0x92796b(0x1a8)](this[_0x92796b(0x140)],this[_0x92796b(0x101)],_0x198bad,_0x2209a8),!0x0;}[_0x3136c6(0x10d)](_0xab8923,_0x44feea){const _0x2f2195=_0x3136c6;let _0x1e6cbe=this[_0x2f2195(0x188)]();return this['_mutateActions'](_0x1e6cbe,(0x0,_0x2d445f[_0x2f2195(0x139)])(_0x1e6cbe,this[_0x2f2195(0x184)](),this[_0x2f2195(0x101)],_0xab8923,_0x44feea,this['_getBodyPath']()));}[_0x3136c6(0x188)](){const _0x4a1080=_0x3136c6;let _0x51bde4=this[_0x4a1080(0x126)][_0x4a1080(0x127)]()['getSnapshot']();return this[_0x4a1080(0x143)]?{...this[_0x4a1080(0x126)]['getDocumentDataModel'](this[_0x4a1080(0x143)])[_0x4a1080(0x144)](),'documentStyle':_0x51bde4[_0x4a1080(0xe9)],'tableSource':_0x51bde4[_0x4a1080(0x199)]}:_0x51bde4;}['_serializeModel'](){const _0xfe76df=_0x3136c6;return this['_injector'][_0xfe76df(0x1ab)](_0x2d445f['DocsTableModel'])[_0xfe76df(0x12e)](this[_0xfe76df(0x140)]);}[_0x3136c6(0x133)](){const _0x5b5ab5=_0x3136c6;return(0x0,_0x2d445f[_0x5b5ab5(0x100)])(this[_0x5b5ab5(0x126)]['getDocumentDataModel']()[_0x5b5ab5(0x144)](),this[_0x5b5ab5(0x143)]);}[_0x3136c6(0x1b6)](_0x5bd689,_0x9cad80,_0x1b6501){const _0x5d779e=_0x3136c6;return(0x0,_0x2d445f[_0x5d779e(0x182)])(this['_injector'][_0x5d779e(0x1ab)](_0x172e84[_0x5d779e(0x102)]),this[_0x5d779e(0x140)],_0x5bd689,_0x9cad80,_0x1b6501?{'tableId':this[_0x5d779e(0x101)],'segmentId':this[_0x5d779e(0x143)],..._0x1b6501}:void 0x0);}},_0x2575a8=class extends _0x44bc52[_0x3136c6(0x12b)]{[_0x3136c6(0x1bc)](_0x2731e7=''){const _0x136dc4=_0x3136c6;return this[_0x136dc4(0x148)](_0x2731e7)[_0x136dc4(0x18a)](_0x90ea6c=>this[_0x136dc4(0x142)](_0x90ea6c[_0x136dc4(0x1bb)],_0x2731e7));}[_0x3136c6(0x19e)](_0x5365c1,_0x54a393=''){const _0x3749f5=_0x3136c6;return this[_0x3749f5(0x148)](_0x54a393)[_0x3749f5(0x128)](_0x381d62=>_0x381d62['tableId']===_0x5365c1)?this[_0x3749f5(0x142)](_0x5365c1,_0x54a393):null;}['getTableAt'](_0x2c4199,_0x164928=''){const _0x262524=_0x3136c6;var _0x421e2a;let _0x34e641=(_0x421e2a=this[_0x262524(0x148)](_0x164928)[_0x2c4199])==null?void 0x0:_0x421e2a[_0x262524(0x1bb)];return _0x34e641?this['_createFDocumentTable'](_0x34e641,_0x164928):null;}['getTableAtSelection'](){const _0x3bc220=_0x3136c6;let _0x3df340=this[_0x3bc220(0x192)][_0x3bc220(0x1ab)](_0x2d445f[_0x3bc220(0x1a9)])[_0x3bc220(0x1a1)]();return _0x3df340!=null&&_0x3df340[_0x3bc220(0x1bb)]?this[_0x3bc220(0x142)](_0x3df340['tableId'],_0x3df340[_0x3bc220(0xf8)]):null;}[_0x3136c6(0x177)](_0x248cc0,_0x3ad744=''){const _0x5d4c30=_0x3136c6;var _0x4f60d0;return(_0x4f60d0=this[_0x5d4c30(0x124)](_0x248cc0,_0x3ad744)[0x0])==null?null:_0x4f60d0;}[_0x3136c6(0x124)](_0x5edfff,_0x6da558=''){const _0x4d7fc5=_0x3136c6;let _0x1d702d=this[_0x4d7fc5(0x1b4)](_0x6da558),_0x2a0f06=typeof _0x5edfff=='string'?{'text':_0x5edfff}:_0x5edfff;return this[_0x4d7fc5(0x1bc)](_0x6da558)['filter'](_0x416ae5=>{const _0x3360c7=_0x4d7fc5;let _0x2096fd=_0x416ae5[_0x3360c7(0x120)]();return!(_0x2a0f06[_0x3360c7(0x1bb)]&&_0x2096fd!==_0x2a0f06[_0x3360c7(0x1bb)]||_0x2a0f06['text']&&!this[_0x3360c7(0x131)](_0x1d702d,_0x2096fd,_0x2a0f06[_0x3360c7(0x104)])||_0x2a0f06[_0x3360c7(0xf3)]&&!this['_rowContainsText'](_0x416ae5,0x0,_0x2a0f06['headerText'])||_0x2a0f06[_0x3360c7(0x11f)]&&!this['_rowContainsText'](_0x416ae5,0x0,_0x2a0f06[_0x3360c7(0x11f)]));});}[_0x3136c6(0x1a7)](_0x3d0464,_0x4cd1b5,_0x12f78a={}){const _0x509ee7=_0x3136c6;var _0x1a08a5,_0x12be3a;let _0x30ee42=this['_injector'][_0x509ee7(0x1ab)](_0x172e84['ICommandService']),_0x88b60f=(_0x1a08a5=_0x12f78a['tableId'])==null?(0x0,_0x172e84['generateRandomId'])(0x6):_0x1a08a5;return _0x30ee42[_0x509ee7(0x1ac)](_0x2d445f['DocsTableInsertTableCommand']['id'],{..._0x12f78a,'unitId':this[_0x509ee7(0x120)](),'rows':_0x3d0464,'columns':_0x4cd1b5,'tableId':_0x88b60f})?this[_0x509ee7(0x142)](_0x88b60f,(_0x12be3a=_0x12f78a[_0x509ee7(0xf8)])==null?'':_0x12be3a):null;}[_0x3136c6(0x12c)](_0x376dcc,_0x587c3d={}){const _0x51de57=_0x3136c6;var _0x173017,_0x121d24;let _0x246f46=this[_0x51de57(0x192)]['get'](_0x172e84[_0x51de57(0x102)]),_0x580598=(_0x173017=_0x587c3d['tableId'])==null?(0x0,_0x172e84[_0x51de57(0xf1)])(0x6):_0x173017;return _0x246f46[_0x51de57(0x1ac)](_0x2d445f[_0x51de57(0x16e)]['id'],{..._0x587c3d,'unitId':this['getId'](),'values':_0x376dcc,'tableId':_0x580598})?this[_0x51de57(0x142)](_0x580598,(_0x121d24=_0x587c3d['segmentId'])==null?'':_0x121d24):null;}[_0x3136c6(0x148)](_0x5948b9=''){const _0x38227a=_0x3136c6;let {tables:_0xb47d9b=[]}=this[_0x38227a(0x15d)](_0x5948b9);return _0xb47d9b;}[_0x3136c6(0x1b4)](_0x2c4a20=''){const _0x531daa=_0x3136c6;let _0x17eead=this[_0x531daa(0x127)]()['getSnapshot']();return _0x2c4a20?{...this[_0x531daa(0x127)](_0x2c4a20)[_0x531daa(0x144)](),'documentStyle':_0x17eead[_0x531daa(0xe9)],'tableSource':_0x17eead[_0x531daa(0x199)]}:_0x17eead;}['_createFDocumentTable'](_0x296613,_0x4b2b8a=''){const _0x1a606e=_0x3136c6;return this[_0x1a606e(0x192)]['createInstance'](_0x2b931c,this,_0x296613,_0x4b2b8a,this[_0x1a606e(0x192)]);}[_0x3136c6(0x131)](_0x4a1ff7,_0x648add,_0x343271){const _0x1ad064=_0x3136c6;var _0x5661e6;let _0x2b7b2e=(0x0,_0x2d445f[_0x1ad064(0x13d)])(_0x4a1ff7,_0x648add);if(!_0x2b7b2e)return!0x1;let _0x3d9afd=(_0x5661e6=_0x4a1ff7[_0x1ad064(0x159)])==null?void 0x0:_0x5661e6['dataStream'];return _0x3d9afd?_0x3d9afd[_0x1ad064(0x149)](_0x2b7b2e[_0x1ad064(0x16f)],_0x2b7b2e[_0x1ad064(0xf4)])[_0x1ad064(0x160)](_0x343271):!0x1;}[_0x3136c6(0x115)](_0x4db8a5,_0x21c0e3,_0x1cc9b8){const _0x2319f7=_0x3136c6;return Array[_0x2319f7(0xff)]({'length':_0x4db8a5['getColumnCount']()},(_0x106112,_0x2c58ec)=>_0x4db8a5[_0x2319f7(0x1af)](_0x21c0e3,_0x2c58ec))['some'](_0x2c15a7=>_0x2c15a7['includes'](_0x1cc9b8));}};_0x44bc52['FDocument'][_0x3136c6(0x114)](_0x2575a8),_0x1d1d72['FDocumentTable']=_0x2b931c,_0x1d1d72[_0x3136c6(0x1b5)]=_0xedc215;}));function _0xd64c(){const _0x9528c3=['_getDocumentData','width','map','getColumnsRange','buildMoveTableColumnsMutationActions','setText','8228574rhYCCP','buildSetTableBorderMutationActions','getCellMargin','border','_injector','selectRange','replace','getText','length','All','selectCell','tableSource','symbol','preset','insertRowBefore','amd','getTable','DashStyleType','moveColumns','getStableTableSelection','Module','buildDeleteTableMutationActions','deleteRows','buildInsertTableColumnsMutationActions','iterator','insertTable','setColumnType','DocsTableSelectionService','getInsertOffset','get','syncExecuteCommand','selectTable','@univerjs/core/facade','getCellText','buildMoveTableRowsMutationActions','buildSetTableDefaultCellMarginMutationActions','tableColumns','deepClone','_getTableDocumentData','FDocumentTableCell','_mutateActions','292347nBKMgT','getColumnRange','exports','selectColumn','tableId','getTables','cells','pinHeaderRows','getSource','filter','documentStyle','Right','708dUYbdX','columnTypes','setBorder','getTableRange','DocsTableInsertTablePosition','Range','generateRandomId','Column','headerText','endOffset','insertColumnAfter','setMargin','getMarginOverride','segmentId','getColumnIndex','tableCells','actions','mergeCells','getContentRange','backgroundColor','from','getTableActionBodyPath','_tableId','ICommandService','SOLID','text','object','selectRow','setStructuralSelection','insertRowAfter','getMetadata','7607352CmNpkM','getTableMetadata','deleteColumn','sortByColumn','setDefaultCellMargin','setCellMargin','selectRows','function','AT_LEAST','color','extend','_rowContainsText','DocsTableColumnInsertPosition','buildResizeTableRowActionsFromHeight','DocsTableRowInsertPosition','_table','Table','DocsTableModel','moveRow','type','_column','titleText','getId','appendColumn','insertRowsBefore','max','findTables','dataStream','_document','getDocumentDataModel','some','trHeight','DocsTableBorderPreset','FDocument','insertTableFromData','_row','serialize','setCellText','string','_tableContainsText','buildDistributeTableColumnsMutationActions','_getBodyPath','UniverCore','setCellBackground','unmerge','DocsTableInsertPosition','TableRowHeightRule','buildSortTableMutationActions','toStringTag','getRowsRange','buildInsertTableRowsMutationActions','getTableRangeById','getCellMarginOverride','24RzZyzn','_unitId','getCellRange','_createFDocumentTable','_segmentId','getSnapshot','setColumnWidth','insertRowsAfter','buildSetTableHeaderRowCountMutationActions','_getTables','slice','buildMoveFloatingTableMutationActions','createInstance','rows','call','insertColumnBefore','headerRowCount','deleteTable','moveRows','Above','UniverProDocsTable','getColumnCount','Below','getRowHeight','Left','size','body','buildDeleteTableRowsMutationActions','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getSegmentId','getBody','getRowIndex','insertTitleRow','includes','margin','Tools','@univerjs-pro/docs-table','setTitleRow','3225488bTkXaC','unmergeCells','40061TdpuJn','DocsTableColumnType','getCellContentRange','@univerjs/core','distributeColumns','tableRows','titleRow','DocsTableInsertTableCommand','startOffset','DocsTableSelectionKind','setTableBackground','constructor','insertColumnsAfter','1489505ewpiyb','getRowCount','167816TavIWe','findTableByText','setHeaderRowCount','default','setTableStyle','setRowHeight','distributeRows','Cell','getCellInsertOffset','getHeaderRowCount','buildMergeCellsMutationActions','getRange','executeRichTextTableActions','cellMargin','_serializeModel','insertColumnsBefore','DEFAULT_DOCS_TABLE_CELL_MARGIN','mergeTo'];_0xd64c=function(){return _0x9528c3;};return _0xd64c();}