@univerjs-pro/docs-table 1.0.0 → 1.0.1

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 CHANGED
@@ -1 +1 @@
1
- const _0xa0eaaa=_0x45e2;(function(_0x27fb92,_0x3b926a){const _0x5e076d=_0x45e2,_0x4127d9=_0x27fb92();while(!![]){try{const _0x7443fb=-parseInt(_0x5e076d(0xfb))/0x1+parseInt(_0x5e076d(0xaf))/0x2+parseInt(_0x5e076d(0x13d))/0x3+-parseInt(_0x5e076d(0x99))/0x4+-parseInt(_0x5e076d(0x12a))/0x5*(parseInt(_0x5e076d(0x146))/0x6)+-parseInt(_0x5e076d(0xa9))/0x7+parseInt(_0x5e076d(0xa6))/0x8;if(_0x7443fb===_0x3b926a)break;else _0x4127d9['push'](_0x4127d9['shift']());}catch(_0x54926d){_0x4127d9['push'](_0x4127d9['shift']());}}}(_0x5dad,0x53db8),Object[_0xa0eaaa(0xd3)](exports,Symbol['toStringTag'],{'value':_0xa0eaaa(0x13f)}));let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');var i=class extends n[_0xa0eaaa(0xe8)]{get[_0xa0eaaa(0xc1)](){const _0x42341f=_0xa0eaaa;return e[_0x42341f(0xc1)];}get[_0xa0eaaa(0x154)](){const _0x21e6c7=_0xa0eaaa;return e[_0x21e6c7(0x154)];}get['DocsTableSelectionKind'](){const _0x5232fd=_0xa0eaaa;return e[_0x5232fd(0x138)];}get[_0xa0eaaa(0x144)](){return e['DocsTableRowInsertPosition'];}get[_0xa0eaaa(0xf3)](){return e['DocsTableColumnInsertPosition'];}get[_0xa0eaaa(0x117)](){const _0x3393f0=_0xa0eaaa;return e[_0x3393f0(0x117)];}get[_0xa0eaaa(0x121)](){const _0x245dfa=_0xa0eaaa;return e[_0x245dfa(0x121)];}get['DashStyleType'](){return t['DashStyleType'];}};n['FEnum']['extend'](i);var a=class{constructor(_0x4fed39,_0x4cbcdd,_0x497094){const _0x33aefb=_0xa0eaaa;this[_0x33aefb(0x88)]=_0x4fed39,this[_0x33aefb(0x10a)]=_0x4cbcdd,this['_column']=_0x497094;}[_0xa0eaaa(0x96)](){return this['_table'];}[_0xa0eaaa(0x151)](){const _0x319b09=_0xa0eaaa;return this[_0x319b09(0x10a)];}[_0xa0eaaa(0x10b)](){const _0x2be59b=_0xa0eaaa;return this[_0x2be59b(0xac)];}[_0xa0eaaa(0xb0)](){const _0x433b9d=_0xa0eaaa;return this[_0x433b9d(0x88)]['getCellText'](this[_0x433b9d(0x10a)],this[_0x433b9d(0xac)]);}[_0xa0eaaa(0x136)](){const _0x165f3d=_0xa0eaaa;return this[_0x165f3d(0x88)]['getCellContentRange'](this[_0x165f3d(0x10a)],this['_column']);}[_0xa0eaaa(0x120)](){const _0x313491=_0xa0eaaa;return this[_0x313491(0x88)][_0x313491(0x8d)](this[_0x313491(0x10a)],this[_0x313491(0xac)]);}['getMargin'](){const _0x368fb6=_0xa0eaaa;return this['_table'][_0x368fb6(0x94)](this[_0x368fb6(0x10a)],this[_0x368fb6(0xac)]);}[_0xa0eaaa(0x10c)](){const _0x3f23be=_0xa0eaaa;return this[_0x3f23be(0x88)]['getCellMarginOverride'](this['_row'],this[_0x3f23be(0xac)]);}[_0xa0eaaa(0xe7)](_0x543fa0){const _0x2f6dbe=_0xa0eaaa;return this[_0x2f6dbe(0x88)][_0x2f6dbe(0x90)](this[_0x2f6dbe(0x88)][_0x2f6dbe(0x156)](this[_0x2f6dbe(0x10a)],this[_0x2f6dbe(0xac)]),_0x543fa0);}['clearMarginOverride'](){const _0x213e38=_0xa0eaaa;return this[_0x213e38(0x88)][_0x213e38(0x90)](this[_0x213e38(0x88)][_0x213e38(0x156)](this[_0x213e38(0x10a)],this[_0x213e38(0xac)]),null);}[_0xa0eaaa(0xad)](_0x30ce5f){const _0x3c4e21=_0xa0eaaa;return this[_0x3c4e21(0x88)][_0x3c4e21(0xd2)](this[_0x3c4e21(0x10a)],this[_0x3c4e21(0xac)],_0x30ce5f);}['setBackgroundColor'](_0x307c8b){const _0x5a3060=_0xa0eaaa;return this['_table'][_0x5a3060(0xf8)](this[_0x5a3060(0x88)][_0x5a3060(0x156)](this['_row'],this[_0x5a3060(0xac)]),_0x307c8b);}[_0xa0eaaa(0xd8)](_0xc22fb7){const _0x512970=_0xa0eaaa;return this['_table'][_0x512970(0xd8)](this['_table']['getCellRange'](this[_0x512970(0x10a)],this[_0x512970(0xac)]),_0xc22fb7);}['mergeTo'](_0x3a060e,_0x43f0ae){const _0x43051c=_0xa0eaaa;return this[_0x43051c(0x88)][_0x43051c(0x124)]({'startRow':this['_row'],'startColumn':this[_0x43051c(0xac)],'endRow':this[_0x43051c(0x10a)]+_0x3a060e-0x1,'endColumn':this[_0x43051c(0xac)]+_0x43f0ae-0x1});}[_0xa0eaaa(0x111)](){const _0xb4ce21=_0xa0eaaa;return this[_0xb4ce21(0x88)][_0xb4ce21(0x9f)](this['_table'][_0xb4ce21(0x156)](this[_0xb4ce21(0x10a)],this[_0xb4ce21(0xac)]));}};function o(_0x54d98f){'@babel/helpers - typeof';const _0x275bf6=_0xa0eaaa;return o=typeof Symbol=='function'&&typeof Symbol[_0x275bf6(0x11d)]==_0x275bf6(0x8b)?function(_0x5b4842){return typeof _0x5b4842;}:function(_0x112e82){const _0x44faae=_0x275bf6;return _0x112e82&&typeof Symbol==_0x44faae(0xdd)&&_0x112e82[_0x44faae(0xca)]===Symbol&&_0x112e82!==Symbol[_0x44faae(0xda)]?'symbol':typeof _0x112e82;},o(_0x54d98f);}function s(_0x4b06c3,_0x6261bd){const _0x10b5ac=_0xa0eaaa;if(o(_0x4b06c3)!=_0x10b5ac(0xc5)||!_0x4b06c3)return _0x4b06c3;var _0x1c0e34=_0x4b06c3[Symbol[_0x10b5ac(0x9d)]];if(_0x1c0e34!==void 0x0){var _0x5ecf78=_0x1c0e34[_0x10b5ac(0xc7)](_0x4b06c3,_0x6261bd||_0x10b5ac(0xa4));if(o(_0x5ecf78)!=_0x10b5ac(0xc5))return _0x5ecf78;throw TypeError(_0x10b5ac(0xd7));}return(_0x6261bd==='string'?String:Number)(_0x4b06c3);}function c(_0x2936a7){const _0x34e17a=_0xa0eaaa;var _0x5dbdb9=s(_0x2936a7,_0x34e17a(0xc6));return o(_0x5dbdb9)==_0x34e17a(0x8b)?_0x5dbdb9:_0x5dbdb9+'';}function _0x45e2(_0xb92d1b,_0x414d84){_0xb92d1b=_0xb92d1b-0x84;const _0x5dad9c=_0x5dad();let _0x45e2f9=_0x5dad9c[_0xb92d1b];return _0x45e2f9;}function l(_0x346482,_0x554332,_0x387b07){const _0xb2c5d4=_0xa0eaaa;return(_0x554332=c(_0x554332))in _0x346482?Object[_0xb2c5d4(0xd3)](_0x346482,_0x554332,{'value':_0x387b07,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x346482[_0x554332]=_0x387b07,_0x346482;}function u(_0x268196,_0x133c53){return function(_0xb836b3,_0x180088){_0x133c53(_0xb836b3,_0x180088,_0x268196);};}function d(_0x12c4c2,_0x3fe4d0,_0x5e3b00,_0x5bb216){const _0x1c6e5d=_0xa0eaaa;var _0x11906d=arguments[_0x1c6e5d(0x129)],_0x180544=_0x11906d<0x3?_0x3fe4d0:_0x5bb216===null?_0x5bb216=Object[_0x1c6e5d(0xec)](_0x3fe4d0,_0x5e3b00):_0x5bb216,_0x188b4;if(typeof Reflect==_0x1c6e5d(0xc5)&&typeof Reflect[_0x1c6e5d(0x137)]=='function')_0x180544=Reflect[_0x1c6e5d(0x137)](_0x12c4c2,_0x3fe4d0,_0x5e3b00,_0x5bb216);else{for(var _0x49a4fa=_0x12c4c2[_0x1c6e5d(0x129)]-0x1;_0x49a4fa>=0x0;_0x49a4fa--)(_0x188b4=_0x12c4c2[_0x49a4fa])&&(_0x180544=(_0x11906d<0x3?_0x188b4(_0x180544):_0x11906d>0x3?_0x188b4(_0x3fe4d0,_0x5e3b00,_0x180544):_0x188b4(_0x3fe4d0,_0x5e3b00))||_0x180544);}return _0x11906d>0x3&&_0x180544&&Object[_0x1c6e5d(0xd3)](_0x3fe4d0,_0x5e3b00,_0x180544),_0x180544;}let f=class{constructor(_0x5916a9,_0x1aacaf,_0x8f418b,_0x271eca,_0xb69ce3){const _0x4a68e4=_0xa0eaaa;this['_document']=_0x5916a9,this[_0x4a68e4(0x152)]=_0x1aacaf,this[_0x4a68e4(0x131)]=_0x8f418b,this[_0x4a68e4(0x128)]=_0x271eca,this['_injector']=_0xb69ce3,l(this,_0x4a68e4(0xbc),void 0x0),this[_0x4a68e4(0xbc)]=this[_0x4a68e4(0x130)]['getId']();}[_0xa0eaaa(0x101)](){return this['_tableId'];}['getSegmentId'](){const _0x424b48=_0xa0eaaa;return this[_0x424b48(0x131)];}['getInfo'](){const _0x45728e=_0xa0eaaa;return{'id':this['_tableId'],'rowCount':this[_0x45728e(0xc8)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x45728e(0xa7)](),'source':this['getSource']()};}[_0xa0eaaa(0x92)](){const _0x435df9=_0xa0eaaa;let _0x1acde1=this[_0x435df9(0xa7)](),_0x4daa6a=this[_0x435df9(0xcc)](),_0x481901=this['getColumnCount']();return{'id':this[_0x435df9(0x152)],'rowCount':this[_0x435df9(0xc8)](),'columnCount':_0x481901,'headerRowCount':(_0x1acde1==null?void 0x0:_0x1acde1[_0x435df9(0x11e)])??0x0,'titleRow':(_0x1acde1==null?void 0x0:_0x1acde1[_0x435df9(0xa3)])??!0x1,'columns':Array[_0x435df9(0x14c)]({'length':_0x481901},(_0x4a7fe9,_0x9503d3)=>{const _0xb977f4=_0x435df9;var _0x58e56b,_0x36720b;return{'index':_0x9503d3,'type':_0x1acde1==null||(_0x58e56b=_0x1acde1[_0xb977f4(0x105)])==null||(_0x58e56b=_0x58e56b[_0x9503d3])==null?void 0x0:_0x58e56b[_0xb977f4(0x108)],'width':_0x4daa6a==null||(_0x36720b=_0x4daa6a['tableColumns'][_0x9503d3])==null?void 0x0:_0x36720b[_0xb977f4(0x8e)]['width']['v']};}),'sampleRows':Array[_0x435df9(0x14c)]({'length':this[_0x435df9(0xc8)]()},(_0x4b8745,_0x47b961)=>Array['from']({'length':_0x481901},(_0x5bba1a,_0x2bc8ee)=>this['getCellText'](_0x47b961,_0x2bc8ee)))['filter'](_0xb757fb=>_0xb757fb[_0x435df9(0x12b)](_0x3bffb2=>_0x3bffb2['length']>0x0))[_0x435df9(0xba)](0x0,0x5)};}['getRowCount'](){const _0x54ec3c=_0xa0eaaa;var _0x420acb;return((_0x420acb=this[_0x54ec3c(0xcc)]())==null?void 0x0:_0x420acb[_0x54ec3c(0xbd)]['length'])??0x0;}[_0xa0eaaa(0x8c)](){const _0x1b1321=_0xa0eaaa;var _0x345cf1;return((_0x345cf1=this[_0x1b1321(0xcc)]())==null?void 0x0:_0x345cf1[_0x1b1321(0x134)][_0x1b1321(0x129)])??0x0;}[_0xa0eaaa(0x102)](_0x4b612c,_0x47a946){const _0x371184=_0xa0eaaa;var _0x5c9edc;return(_0x5c9edc=this[_0x371184(0xcc)]())!=null&&(_0x5c9edc=_0x5c9edc[_0x371184(0xbd)][_0x4b612c])!=null&&_0x5c9edc[_0x371184(0x9c)][_0x47a946]?this[_0x371184(0xc3)][_0x371184(0x113)](a,this,_0x4b612c,_0x47a946):null;}['getCellText'](_0x240dc0,_0xcdbd94){const _0x1aea9f=_0xa0eaaa;var _0x34fe6b,_0x4d788f;let _0xd7f97f=(_0x34fe6b=(0x0,e[_0x1aea9f(0xd4)])(this['_getDocumentData'](),this[_0x1aea9f(0x152)]))==null||(_0x34fe6b=_0x34fe6b[_0x1aea9f(0xb9)][_0x240dc0])==null?void 0x0:_0x34fe6b[_0x1aea9f(0xdf)][_0xcdbd94];return _0xd7f97f?((_0x4d788f=this[_0x1aea9f(0xc4)]()[_0x1aea9f(0x15a)])==null?void 0x0:_0x4d788f['dataStream']['slice'](_0xd7f97f[_0x1aea9f(0xf2)]+0x1,_0xd7f97f[_0x1aea9f(0xd1)])[_0x1aea9f(0xc9)](/\r\n$/,''))??'':'';}[_0xa0eaaa(0x94)](_0x49bf64,_0x3ffa25){const _0x4d691d=_0xa0eaaa;var _0x23be3d;let _0x350b61=this[_0x4d691d(0xcc)](),_0x20ef7d=_0x350b61==null||(_0x23be3d=_0x350b61['tableRows'][_0x49bf64])==null?void 0x0:_0x23be3d['tableCells'][_0x3ffa25];return _0x20ef7d?t[_0x4d691d(0x103)]['deepClone'](_0x20ef7d[_0x4d691d(0xa5)]??_0x350b61[_0x4d691d(0xa1)]??e[_0x4d691d(0x125)]):null;}[_0xa0eaaa(0x159)](_0x58cb5b,_0xfd0fe9){const _0x2457e5=_0xa0eaaa;var _0x331f39;let _0x41b8cc=(_0x331f39=this[_0x2457e5(0xcc)]())==null||(_0x331f39=_0x331f39[_0x2457e5(0xbd)][_0x58cb5b])==null?void 0x0:_0x331f39[_0x2457e5(0x9c)][_0xfd0fe9];return _0x41b8cc!=null&&_0x41b8cc[_0x2457e5(0xa5)]?t[_0x2457e5(0x103)][_0x2457e5(0x115)](_0x41b8cc['margin']):null;}[_0xa0eaaa(0x155)](){const _0x397cb1=_0xa0eaaa;var _0x57a7ef;return t[_0x397cb1(0x103)][_0x397cb1(0x115)](((_0x57a7ef=this['getSource']())==null?void 0x0:_0x57a7ef[_0x397cb1(0xa1)])??e[_0x397cb1(0x125)]);}[_0xa0eaaa(0x106)](){const _0x326135=_0xa0eaaa;var _0x5c8d6d;let _0x2533ad=(_0x5c8d6d=this[_0x326135(0xcc)]())==null?void 0x0:_0x5c8d6d[_0x326135(0xa1)];return _0x2533ad?t['Tools'][_0x326135(0x115)](_0x2533ad):null;}['getMetadata'](){const _0x28a836=_0xa0eaaa;return this[_0x28a836(0xc3)][_0x28a836(0xf1)](e[_0x28a836(0x98)])[_0x28a836(0x142)](this[_0x28a836(0xbc)],this[_0x28a836(0x152)]);}[_0xa0eaaa(0xcc)](){const _0x581325=_0xa0eaaa;var _0x3550f3;return(_0x3550f3=this[_0x581325(0xc4)]()['tableSource'])==null?void 0x0:_0x3550f3[this[_0x581325(0x152)]];}[_0xa0eaaa(0xe1)](){const _0x340e16=_0xa0eaaa;return(0x0,e[_0x340e16(0xd4)])(this[_0x340e16(0xc4)](),this[_0x340e16(0x152)]);}[_0xa0eaaa(0xd0)](){const _0x1dc9cc=_0xa0eaaa;return{'startRow':0x0,'endRow':Math[_0x1dc9cc(0xe0)](0x0,this[_0x1dc9cc(0xc8)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x1dc9cc(0xe0)](0x0,this[_0x1dc9cc(0x8c)]()-0x1)};}[_0xa0eaaa(0x156)](_0x3686f3,_0x1a5799){return{'startRow':_0x3686f3,'endRow':_0x3686f3,'startColumn':_0x1a5799,'endColumn':_0x1a5799};}[_0xa0eaaa(0x12e)](_0x4c9ec3,_0x5f4bfd){const _0x1c9e2e=_0xa0eaaa;var _0xfa33d6;let _0x208410=(_0xfa33d6=(0x0,e[_0x1c9e2e(0xd4)])(this['_getDocumentData'](),this[_0x1c9e2e(0x152)]))==null||(_0xfa33d6=_0xfa33d6[_0x1c9e2e(0xb9)][_0x4c9ec3])==null?void 0x0:_0xfa33d6[_0x1c9e2e(0xdf)][_0x5f4bfd];if(!_0x208410)return null;let _0x597079=_0x208410['startOffset']+0x1;return{'startOffset':_0x597079,'endOffset':Math[_0x1c9e2e(0xe0)](_0x597079,_0x208410[_0x1c9e2e(0xd1)]-0x1),'segmentId':this['_segmentId']};}[_0xa0eaaa(0x8d)](_0x351a4c,_0x463843){const _0x33c611=_0xa0eaaa;let _0x4787e5=this['getCellContentRange'](_0x351a4c,_0x463843);return _0x4787e5?Math[_0x33c611(0xe0)](_0x4787e5['startOffset'],_0x4787e5[_0x33c611(0xd1)]-0x1):null;}[_0xa0eaaa(0x93)](_0x46e1a2){const _0x496aca=_0xa0eaaa;return this[_0x496aca(0xb7)](_0x46e1a2,0x1);}[_0xa0eaaa(0xb7)](_0xc9571d,_0x2757b3=0x1){const _0x186cef=_0xa0eaaa;return{'startRow':_0xc9571d,'endRow':_0xc9571d+_0x2757b3-0x1,'startColumn':0x0,'endColumn':Math[_0x186cef(0xe0)](0x0,this['getColumnCount']()-0x1)};}[_0xa0eaaa(0xe2)](_0x3ea747){const _0x43abdd=_0xa0eaaa;return this[_0x43abdd(0x126)](_0x3ea747,0x1);}[_0xa0eaaa(0x126)](_0x1d1c87,_0x56f21f=0x1){const _0x163632=_0xa0eaaa;return{'startRow':0x0,'endRow':Math[_0x163632(0xe0)](0x0,this['getRowCount']()-0x1),'startColumn':_0x1d1c87,'endColumn':_0x1d1c87+_0x56f21f-0x1};}[_0xa0eaaa(0xe6)](){const _0x3deec8=_0xa0eaaa;return this[_0x3deec8(0xbf)](this['getTableRange'](),e[_0x3deec8(0x138)][_0x3deec8(0xb2)]);}[_0xa0eaaa(0xe3)](_0x535ba8){const _0x426432=_0xa0eaaa;return this[_0x426432(0xc2)](_0x535ba8,0x1);}[_0xa0eaaa(0xc2)](_0x42a5b0,_0x340f53=0x1){const _0x40fa4a=_0xa0eaaa;return this[_0x40fa4a(0xbf)](this[_0x40fa4a(0xb7)](_0x42a5b0,_0x340f53),e[_0x40fa4a(0x138)][_0x40fa4a(0x149)]);}['selectColumn'](_0x5e4b4d){const _0x4987be=_0xa0eaaa;return this[_0x4987be(0xf6)](_0x5e4b4d,0x1);}[_0xa0eaaa(0xf6)](_0xe90f3,_0x510500=0x1){const _0x5948bb=_0xa0eaaa;return this[_0x5948bb(0xbf)](this['getColumnsRange'](_0xe90f3,_0x510500),e[_0x5948bb(0x138)][_0x5948bb(0x135)]);}[_0xa0eaaa(0xaa)](_0x427fc,_0x1a8add){const _0xf44247=_0xa0eaaa;return this[_0xf44247(0xbf)](this['getCellRange'](_0x427fc,_0x1a8add),e[_0xf44247(0x138)][_0xf44247(0xd9)]);}['selectRange'](_0x57bb67,_0x20627f=e[_0xa0eaaa(0x138)][_0xa0eaaa(0x116)]){const _0xbbbb1b=_0xa0eaaa;return this['_injector'][_0xbbbb1b(0xf1)](e[_0xbbbb1b(0x9a)])[_0xbbbb1b(0x123)]({..._0x57bb67,'kind':_0x20627f,'segmentId':this[_0xbbbb1b(0x131)],'tableId':this[_0xbbbb1b(0x152)]}),!0x0;}[_0xa0eaaa(0xbe)](_0x2cba7a){const _0x64e305=_0xa0eaaa;return this[_0x64e305(0x118)](_0x2cba7a,0x1);}[_0xa0eaaa(0x14a)](_0x5c458b){const _0x551ea8=_0xa0eaaa;return this[_0x551ea8(0x10d)](_0x5c458b,0x1);}['insertRowsBefore'](_0x563589,_0x128ba4){const _0x2f8af2=_0xa0eaaa;let _0x6a783f=this['_getDocumentData'](),_0x4591bc=(0x0,e[_0x2f8af2(0x110)])(_0x6a783f,this[_0x2f8af2(0x152)],_0x563589,_0x128ba4,e[_0x2f8af2(0xae)][_0x2f8af2(0x85)],this['_getBodyPath']());return _0x4591bc?this[_0x2f8af2(0x14f)](_0x6a783f,_0x4591bc[_0x2f8af2(0x9b)]):!0x1;}[_0xa0eaaa(0x10d)](_0x12abd5,_0x2d704a){const _0x3d1179=_0xa0eaaa;let _0x576a46=this[_0x3d1179(0xc4)](),_0x58c251=(0x0,e[_0x3d1179(0x110)])(_0x576a46,this[_0x3d1179(0x152)],_0x12abd5,_0x2d704a,e['DocsTableInsertPosition'][_0x3d1179(0xdc)],this[_0x3d1179(0xde)]());return _0x58c251?this['_mutateActions'](_0x576a46,_0x58c251[_0x3d1179(0x9b)]):!0x1;}[_0xa0eaaa(0x127)](){const _0x372ea8=_0xa0eaaa;return this[_0x372ea8(0x10d)](Math['max'](0x0,this['getRowCount']()-0x1),0x1);}[_0xa0eaaa(0xb8)](_0x42c535){const _0xf38cda=_0xa0eaaa;return this[_0xf38cda(0x100)](_0x42c535,0x1);}[_0xa0eaaa(0x13c)](_0x262b3f){return this['insertColumnsAfter'](_0x262b3f,0x1);}[_0xa0eaaa(0x100)](_0x122ccc,_0x4064b3){const _0x3e6fdb=_0xa0eaaa;let _0x3b101a=this[_0x3e6fdb(0xc4)](),_0x6ebe46=(0x0,e[_0x3e6fdb(0xd5)])(_0x3b101a,this['_tableId'],_0x122ccc,_0x4064b3,e[_0x3e6fdb(0xae)][_0x3e6fdb(0x114)],{'bodyPath':this[_0x3e6fdb(0xde)]()});return _0x6ebe46?this[_0x3e6fdb(0x14f)](_0x3b101a,_0x6ebe46[_0x3e6fdb(0x9b)]):!0x1;}['insertColumnsAfter'](_0x36b2a6,_0x58bed7){const _0x5a5925=_0xa0eaaa;let _0x51f1cc=this[_0x5a5925(0xc4)](),_0x13946f=(0x0,e['buildInsertTableColumnsMutationActions'])(_0x51f1cc,this['_tableId'],_0x36b2a6,_0x58bed7,e['DocsTableInsertPosition'][_0x5a5925(0x8f)],{'bodyPath':this[_0x5a5925(0xde)]()});return _0x13946f?this[_0x5a5925(0x14f)](_0x51f1cc,_0x13946f[_0x5a5925(0x9b)]):!0x1;}[_0xa0eaaa(0xb4)](){const _0x54095b=_0xa0eaaa;return this[_0x54095b(0xb1)](Math[_0x54095b(0xe0)](0x0,this[_0x54095b(0x8c)]()-0x1),0x1);}[_0xa0eaaa(0xf5)](_0x4eaa89){const _0x53d6b2=_0xa0eaaa;return this[_0x53d6b2(0x139)](_0x4eaa89,0x1);}['deleteRows'](_0xbc43c4,_0xcb221e=0x1){const _0x56edab=_0xa0eaaa;return!!this['_commandService'][_0x56edab(0x95)](e['DocsTableDeleteRowsCommand']['id'],{'endRow':_0xbc43c4+_0xcb221e-0x1,'segmentId':this[_0x56edab(0x131)],'startRow':_0xbc43c4,'tableId':this[_0x56edab(0x152)],'unitId':this['_unitId']});}['deleteColumn'](_0x4f0f03){const _0x59686f=_0xa0eaaa;return this[_0x59686f(0x112)](_0x4f0f03,0x1);}[_0xa0eaaa(0x112)](_0x2f639b,_0x3fe87e=0x1){const _0x2dad27=_0xa0eaaa;return!!this[_0x2dad27(0x128)][_0x2dad27(0x95)](e['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x2f639b+_0x3fe87e-0x1,'segmentId':this[_0x2dad27(0x131)],'startColumn':_0x2f639b,'tableId':this[_0x2dad27(0x152)],'unitId':this[_0x2dad27(0xbc)]});}[_0xa0eaaa(0x14d)](){const _0x22db60=_0xa0eaaa;return!!this[_0x22db60(0x128)]['syncExecuteCommand'](e[_0x22db60(0x10e)]['id'],{'segmentId':this[_0x22db60(0x131)],'tableId':this[_0x22db60(0x152)],'unitId':this[_0x22db60(0xbc)]});}[_0xa0eaaa(0x150)](_0x569731,_0x193d71){const _0x4c2bdf=_0xa0eaaa;let _0x45df2b=this['_getDocumentData']();return this[_0x4c2bdf(0x14f)](_0x45df2b,(0x0,e[_0x4c2bdf(0xa2)])(_0x45df2b,this[_0x4c2bdf(0x152)],_0x569731,_0x193d71));}['moveTableToOffset'](_0x2f214e){const _0x37c00e=_0xa0eaaa;let _0x283260=this[_0x37c00e(0xc4)]();return this[_0x37c00e(0x14f)](_0x283260,(0x0,e['buildMoveTableToOffsetMutationActions'])(_0x283260,this[_0x37c00e(0x152)],_0x2f214e,this[_0x37c00e(0xde)]()));}[_0xa0eaaa(0x8a)](_0x2667b5,_0x4d5c1c,_0x3d743a=e['DocsTableInsertPosition']['Above']){const _0x28b31c=_0xa0eaaa;return this[_0x28b31c(0x97)](_0x2667b5,0x1,_0x4d5c1c,_0x3d743a);}[_0xa0eaaa(0x97)](_0xa4e9bd,_0x222db0,_0x20c58b,_0x4ff584=e['DocsTableInsertPosition'][_0xa0eaaa(0x85)]){const _0x4bc46c=_0xa0eaaa;let _0x5e579e=this[_0x4bc46c(0xc4)](),_0x4a8259=(0x0,e[_0x4bc46c(0xa0)])(_0x5e579e,this[_0x4bc46c(0x152)],_0xa4e9bd,_0x20c58b,_0x222db0,_0x4ff584,this[_0x4bc46c(0xde)]());return _0x4a8259?this['_mutateActions'](_0x5e579e,_0x4a8259[_0x4bc46c(0x9b)]):!0x1;}[_0xa0eaaa(0xc0)](_0x135125,_0x590b58,_0x105e25=e[_0xa0eaaa(0xae)][_0xa0eaaa(0x114)]){const _0x4df477=_0xa0eaaa;return this[_0x4df477(0xfc)](_0x135125,0x1,_0x590b58,_0x105e25);}[_0xa0eaaa(0xfc)](_0x3b9349,_0x568bbc,_0x503021,_0x4dde78=e[_0xa0eaaa(0xae)][_0xa0eaaa(0x114)]){const _0x3cffa1=_0xa0eaaa;let _0x6682cb=this['_getDocumentData'](),_0xc60a8d=(0x0,e[_0x3cffa1(0xfe)])(_0x6682cb,this['_tableId'],_0x3b9349,_0x503021,_0x568bbc,_0x4dde78,this['_getBodyPath']());return _0xc60a8d?this['_mutateActions'](_0x6682cb,_0xc60a8d[_0x3cffa1(0x9b)]):!0x1;}[_0xa0eaaa(0x124)](_0x1cef03){const _0x4db419=_0xa0eaaa;try{let _0x33a6b4=this[_0x4db419(0xc4)](),_0x891203=(0x0,e[_0x4db419(0xef)])({'documentData':_0x33a6b4,'tableId':this[_0x4db419(0x152)],..._0x1cef03});return _0x891203?this[_0x4db419(0x14f)](_0x33a6b4,_0x891203['actions'],_0x1cef03):!0x1;}catch{return!0x1;}}[_0xa0eaaa(0x9f)](_0x4822f0){const _0x34366a=_0xa0eaaa;try{let _0x5601d1=this[_0x34366a(0xc4)](),_0x5bf4aa=(0x0,e[_0x34366a(0xce)])({'documentData':_0x5601d1,'tableId':this['_tableId'],..._0x4822f0});return _0x5bf4aa?this[_0x34366a(0x14f)](_0x5601d1,_0x5bf4aa['actions'],_0x4822f0):!0x1;}catch{return!0x1;}}['setCellText'](_0x4ebe1b,_0x2dd3f1,_0xd001cf){const _0x127c05=_0xa0eaaa;let _0x1e8499=this[_0x127c05(0xc4)](),_0x185fe8=(0x0,e[_0x127c05(0x12f)])(this[_0x127c05(0x130)]['getDocumentDataModel']()[_0x127c05(0x141)](),this[_0x127c05(0x131)]);return this[_0x127c05(0x14f)](_0x1e8499,(0x0,e['buildSetTableCellTextMutationActions'])({'documentData':_0x1e8499,'tableId':this[_0x127c05(0x152)],'row':_0x4ebe1b,'column':_0x2dd3f1,'text':_0xd001cf},_0x185fe8),this[_0x127c05(0x156)](_0x4ebe1b,_0x2dd3f1));}[_0xa0eaaa(0xf8)](_0x537e96,_0x193edc){const _0x22ae62=_0xa0eaaa;let _0x3589c6=this[_0x22ae62(0xc4)]();return this[_0x22ae62(0x14f)](_0x3589c6,(0x0,e['buildSetTableBackgroundMutationActions'])(_0x3589c6,{'tableId':this[_0x22ae62(0x152)],..._0x537e96,'value':_0x193edc}),_0x537e96);}['setCellMargin'](_0xcd4395,_0x5e7a1f){const _0x24e4b5=_0xa0eaaa;let _0x2a08f2=this[_0x24e4b5(0xc4)]();return this[_0x24e4b5(0x14f)](_0x2a08f2,(0x0,e['buildSetTableCellMarginMutationActions'])({'documentData':_0x2a08f2,'tableId':this[_0x24e4b5(0x152)],..._0xcd4395,'margin':_0x5e7a1f}),_0xcd4395);}['setDefaultCellMargin'](_0x253e38){const _0x5114d2=_0xa0eaaa;let _0x2b6f75=this[_0x5114d2(0xc4)]();return this[_0x5114d2(0x14f)](_0x2b6f75,(0x0,e['buildSetTableDefaultCellMarginMutationActions'])(_0x2b6f75,this[_0x5114d2(0x152)],_0x253e38));}[_0xa0eaaa(0xd8)](_0x44627c,_0x2c1ab1){const _0x1faa69=_0xa0eaaa;let _0x2abbf5=this['_getDocumentData']();return this[_0x1faa69(0x14f)](_0x2abbf5,(0x0,e[_0x1faa69(0x9e)])({'documentData':_0x2abbf5,'tableId':this[_0x1faa69(0x152)],..._0x44627c,'preset':_0x2c1ab1[_0x1faa69(0xea)]??e[_0x1faa69(0x117)][_0x1faa69(0x143)],'border':_0x2c1ab1[_0x1faa69(0x14e)]??{'color':{'rgb':_0x2c1ab1[_0x1faa69(0xee)]??'#1f1f1f'},'width':{'v':_0x2c1ab1[_0x1faa69(0x147)]??0x1},'dashStyle':t[_0x1faa69(0x10f)][_0x1faa69(0x13e)]}}),_0x44627c);}['setTableBackground'](_0x3a8ba1){const _0x57f81c=_0xa0eaaa;return this[_0x57f81c(0xf8)](this[_0x57f81c(0xd0)](),_0x3a8ba1);}['setTableBorder'](_0x40134d){const _0x5827de=_0xa0eaaa;return this[_0x5827de(0xd8)](this[_0x5827de(0xd0)](),_0x40134d);}['setTableStyle'](_0x5182a2){const _0x5e9a58=_0xa0eaaa;let _0x3d2f63=!_0x5182a2[_0x5e9a58(0x133)]||this[_0x5e9a58(0x15b)](_0x5182a2[_0x5e9a58(0x133)]),_0x1275f2=!_0x5182a2[_0x5e9a58(0x14e)]||this[_0x5e9a58(0x158)](_0x5182a2[_0x5e9a58(0x14e)]);return _0x3d2f63&&_0x1275f2;}[_0xa0eaaa(0xcb)](_0x51dfe3,_0x1d7c96,_0x136620=t[_0xa0eaaa(0xeb)][_0xa0eaaa(0xe9)]){const _0x33178b=_0xa0eaaa;var _0x1b3f35;let _0x47d2d6=this['_getDocumentData']();return(_0x1b3f35=_0x47d2d6[_0x33178b(0xf9)])!=null&&(_0x1b3f35=_0x1b3f35[this[_0x33178b(0x152)]])!=null&&_0x1b3f35[_0x33178b(0xbd)][_0x51dfe3]?this[_0x33178b(0x14f)](_0x47d2d6,(0x0,e[_0x33178b(0x14b)])(_0x47d2d6,this['_tableId'],_0x51dfe3,_0x1d7c96,_0x136620)):!0x1;}[_0xa0eaaa(0x12c)](_0x563f86){const _0x56c9fa=_0xa0eaaa;var _0x2518cf;let _0x4534e5=(_0x2518cf=this[_0x56c9fa(0xcc)]())==null||(_0x2518cf=_0x2518cf[_0x56c9fa(0xbd)][_0x563f86])==null?void 0x0:_0x2518cf[_0x56c9fa(0x11a)];return _0x4534e5?t[_0x56c9fa(0x103)][_0x56c9fa(0x115)](_0x4534e5):null;}[_0xa0eaaa(0xfa)](_0x416429,_0x3ba5bd){const _0x11bcff=_0xa0eaaa;var _0x53d933;let _0x110cfe=this['_getDocumentData']();return(_0x53d933=_0x110cfe[_0x11bcff(0xf9)])!=null&&(_0x53d933=_0x53d933[this[_0x11bcff(0x152)]])!=null&&_0x53d933['tableColumns'][_0x416429]?this['_mutateActions'](_0x110cfe,(0x0,e['buildResizeTableColumnActionsFromWidth'])(_0x110cfe,this['_tableId'],_0x416429,_0x3ba5bd)):!0x1;}['distributeRows'](_0x5a8387=0x0,_0x48faf5=this['getRowCount']()){const _0x43d04e=_0xa0eaaa;let _0x571c07=this[_0x43d04e(0xc4)]();return this[_0x43d04e(0x14f)](_0x571c07,(0x0,e[_0x43d04e(0x140)])(_0x571c07,this[_0x43d04e(0x152)],_0x5a8387,_0x5a8387+_0x48faf5-0x1));}['distributeColumns'](_0x1ebe05=0x0,_0x3c941b=this[_0xa0eaaa(0x8c)]()){const _0x2ed2a0=_0xa0eaaa;let _0x52e32b=this[_0x2ed2a0(0xc4)]();return this['_mutateActions'](_0x52e32b,(0x0,e[_0x2ed2a0(0x153)])(_0x52e32b,this[_0x2ed2a0(0x152)],_0x1ebe05,_0x1ebe05+_0x3c941b-0x1));}[_0xa0eaaa(0xa8)](){const _0x3a2ec3=_0xa0eaaa;var _0x37cc86;return((_0x37cc86=this[_0x3a2ec3(0xa7)]())==null?void 0x0:_0x37cc86[_0x3a2ec3(0x11e)])??0x0;}[_0xa0eaaa(0x13b)](_0x1a6f92){const _0x58dd4f=_0xa0eaaa;let _0x11a698=this['_injector']['get'](e['DocsTableModel']),_0x3098d0=this[_0x58dd4f(0xc4)](),_0x57d9a1=(0x0,e[_0x58dd4f(0x11b)])(_0x3098d0,this[_0x58dd4f(0x152)],_0x1a6f92);if(!_0x57d9a1)return!0x1;let _0x19d53b=this['_mutateActions'](_0x3098d0,_0x57d9a1[_0x58dd4f(0x9b)]);return _0x19d53b&&_0x11a698['setHeaderRowCount'](this[_0x58dd4f(0xbc)],this['_tableId'],_0x57d9a1[_0x58dd4f(0x11e)]),_0x19d53b;}[_0xa0eaaa(0xf4)](_0x4a8068){const _0x314959=_0xa0eaaa;return this[_0x314959(0x13b)](_0x4a8068);}['hasTitleRow'](){const _0x39a9ca=_0xa0eaaa;var _0x3a73c4;return((_0x3a73c4=this[_0x39a9ca(0xa7)]())==null?void 0x0:_0x3a73c4[_0x39a9ca(0xa3)])??!0x1;}[_0xa0eaaa(0x11f)](){const _0x30c14e=_0xa0eaaa;let _0xaa5908=this[_0x30c14e(0xc3)][_0x30c14e(0xf1)](e['DocsTableModel']),_0xc14457=this[_0x30c14e(0xc4)](),_0x1f26ff=(0x0,e['buildInsertTableTitleRowMutationActions'])(_0xc14457,this[_0x30c14e(0x152)],this['_getBodyPath']());if(!_0x1f26ff)return!0x1;let _0xd69bcf=this[_0x30c14e(0x14f)](_0xc14457,_0x1f26ff['actions']);return _0xd69bcf&&_0xaa5908['setTitleRow'](this[_0x30c14e(0xbc)],this[_0x30c14e(0x152)],!0x0),_0xd69bcf;}['setColumnType'](_0x537ce3,_0x17c924){const _0x81e17=_0xa0eaaa;return this[_0x81e17(0xc3)][_0x81e17(0xf1)](e['DocsTableModel'])['setColumnType'](this[_0x81e17(0xbc)],this[_0x81e17(0x152)],_0x537ce3,_0x17c924),!0x0;}[_0xa0eaaa(0xcd)](_0x2e147f,_0x24da25){const _0x5d2781=_0xa0eaaa;let _0x1a3373=this['_getDocumentData']();return this['_mutateActions'](_0x1a3373,(0x0,e['buildSortTableMutationActions'])(_0x1a3373,this['_serializeModel'](),this['_tableId'],_0x2e147f,_0x24da25,this[_0x5d2781(0xde)]()));}[_0xa0eaaa(0xc4)](){const _0x36c4e4=_0xa0eaaa;let _0x2d5953=this['_document'][_0x36c4e4(0x12d)]()[_0x36c4e4(0x141)]();return this[_0x36c4e4(0x131)]?{...this['_document'][_0x36c4e4(0x12d)](this[_0x36c4e4(0x131)])[_0x36c4e4(0x141)](),'documentStyle':_0x2d5953[_0x36c4e4(0xf0)],'tableSource':_0x2d5953['tableSource']}:_0x2d5953;}[_0xa0eaaa(0xb5)](){const _0x412817=_0xa0eaaa;return this[_0x412817(0xc3)][_0x412817(0xf1)](e[_0x412817(0x98)])['serialize'](this[_0x412817(0xbc)]);}[_0xa0eaaa(0xde)](){const _0x3dabeb=_0xa0eaaa;return(0x0,e[_0x3dabeb(0x12f)])(this['_document'][_0x3dabeb(0x12d)]()[_0x3dabeb(0x141)](),this[_0x3dabeb(0x131)]);}[_0xa0eaaa(0x14f)](_0x4a92fc,_0x138501,_0x50571c){const _0xf2c89f=_0xa0eaaa;return(0x0,e[_0xf2c89f(0x109)])(this['_commandService'],this[_0xf2c89f(0xbc)],_0x4a92fc,_0x138501,_0x50571c?{'tableId':this[_0xf2c89f(0x152)],'segmentId':this['_segmentId'],..._0x50571c}:void 0x0);}};f=d([u(0x3,t[_0xa0eaaa(0x122)]),u(0x4,(0x0,t[_0xa0eaaa(0xbb)])(t['Injector']))],f);var p=class extends r[_0xa0eaaa(0x84)]{[_0xa0eaaa(0xb3)](_0x25facd=''){const _0x5ef4c6=_0xa0eaaa;return this['_getTables'](_0x25facd)[_0x5ef4c6(0xdb)](_0x27cab5=>this[_0x5ef4c6(0x91)](_0x27cab5[_0x5ef4c6(0x89)],_0x25facd));}['getTable'](_0x2b1646,_0x14a975=''){const _0x481cab=_0xa0eaaa;return this[_0x481cab(0xf7)](_0x14a975)[_0x481cab(0x12b)](_0x50a275=>_0x50a275[_0x481cab(0x89)]===_0x2b1646)?this[_0x481cab(0x91)](_0x2b1646,_0x14a975):null;}[_0xa0eaaa(0x119)](_0x3c6784,_0xf8e2cd=''){const _0x5df01f=_0xa0eaaa;var _0x5805ad;let _0x31205c=(_0x5805ad=this['_getTables'](_0xf8e2cd)[_0x3c6784])==null?void 0x0:_0x5805ad['tableId'];return _0x31205c?this[_0x5df01f(0x91)](_0x31205c,_0xf8e2cd):null;}[_0xa0eaaa(0xab)](){const _0x2f1671=_0xa0eaaa;let _0x3513a8=this['_injector']['get'](e[_0x2f1671(0x9a)])[_0x2f1671(0x87)]();return _0x3513a8!=null&&_0x3513a8[_0x2f1671(0x89)]?this[_0x2f1671(0x91)](_0x3513a8['tableId'],_0x3513a8[_0x2f1671(0xe5)]):null;}[_0xa0eaaa(0xfd)](_0x458011,_0x4a6f9d=''){return this['findTables'](_0x458011,_0x4a6f9d)[0x0]??null;}['findTables'](_0x1fdb5e,_0x1161cf=''){const _0x333f22=_0xa0eaaa;let _0x31e55b=this[_0x333f22(0x148)](_0x1161cf),_0x4f40f=typeof _0x1fdb5e==_0x333f22(0xc6)?{'text':_0x1fdb5e}:_0x1fdb5e;return this[_0x333f22(0xb3)](_0x1161cf)['filter'](_0x534396=>{const _0x1ffa92=_0x333f22;let _0x23da89=_0x534396[_0x1ffa92(0x101)]();return!(_0x4f40f[_0x1ffa92(0x89)]&&_0x23da89!==_0x4f40f[_0x1ffa92(0x89)]||_0x4f40f['text']&&!this[_0x1ffa92(0xd6)](_0x31e55b,_0x23da89,_0x4f40f[_0x1ffa92(0x86)])||_0x4f40f['headerText']&&!this[_0x1ffa92(0x132)](_0x534396,0x0,_0x4f40f[_0x1ffa92(0xcf)])||_0x4f40f['titleText']&&!this[_0x1ffa92(0x132)](_0x534396,0x0,_0x4f40f[_0x1ffa92(0x104)]));});}[_0xa0eaaa(0x107)](_0x39f8bc,_0x4008f1,_0x5beca6={}){const _0x3f32c4=_0xa0eaaa;let _0x2cff5f=this[_0x3f32c4(0xc3)]['get'](t[_0x3f32c4(0x122)]),_0x2b07e2=_0x5beca6[_0x3f32c4(0x89)]??(0x0,t[_0x3f32c4(0xff)])(0x6);return _0x2cff5f[_0x3f32c4(0x95)](e[_0x3f32c4(0xed)]['id'],{..._0x5beca6,'unitId':this[_0x3f32c4(0x101)](),'rows':_0x39f8bc,'columns':_0x4008f1,'tableId':_0x2b07e2})?this[_0x3f32c4(0x91)](_0x2b07e2,_0x5beca6[_0x3f32c4(0xe5)]??''):null;}[_0xa0eaaa(0xb6)](_0x1185fa,_0x336181={}){const _0x1cb8cc=_0xa0eaaa;let _0x37b763=this['_injector'][_0x1cb8cc(0xf1)](t[_0x1cb8cc(0x122)]),_0x3498f5=_0x336181['tableId']??(0x0,t[_0x1cb8cc(0xff)])(0x6);return _0x37b763[_0x1cb8cc(0x95)](e[_0x1cb8cc(0xed)]['id'],{..._0x336181,'unitId':this['getId'](),'values':_0x1185fa,'tableId':_0x3498f5})?this[_0x1cb8cc(0x91)](_0x3498f5,_0x336181[_0x1cb8cc(0xe5)]??''):null;}[_0xa0eaaa(0xf7)](_0xa0bdbd=''){let {tables:_0x41db4b=[]}=this['getBody'](_0xa0bdbd);return _0x41db4b;}[_0xa0eaaa(0x148)](_0x2f237d=''){const _0x4bc4fb=_0xa0eaaa;let _0x5cbf54=this['getDocumentDataModel']()[_0x4bc4fb(0x141)]();return _0x2f237d?{...this[_0x4bc4fb(0x12d)](_0x2f237d)[_0x4bc4fb(0x141)](),'documentStyle':_0x5cbf54['documentStyle'],'tableSource':_0x5cbf54[_0x4bc4fb(0xf9)]}:_0x5cbf54;}['_createFDocumentTable'](_0x2ba4c3,_0x5909a6=''){const _0x55ebab=_0xa0eaaa;return this[_0x55ebab(0xc3)][_0x55ebab(0x113)](f,this,_0x2ba4c3,_0x5909a6);}[_0xa0eaaa(0xd6)](_0x14094f,_0x57307b,_0x48a915){const _0x21cf3c=_0xa0eaaa;var _0x8339de;let _0x4c6234=(0x0,e[_0x21cf3c(0xd4)])(_0x14094f,_0x57307b);if(!_0x4c6234)return!0x1;let _0x4adaa1=(_0x8339de=_0x14094f[_0x21cf3c(0x15a)])==null?void 0x0:_0x8339de[_0x21cf3c(0x13a)];return _0x4adaa1?_0x4adaa1['slice'](_0x4c6234[_0x21cf3c(0xf2)],_0x4c6234['endOffset'])[_0x21cf3c(0x157)](_0x48a915):!0x1;}['_rowContainsText'](_0x2d5249,_0x13f27a,_0x46b307){const _0x3c33f6=_0xa0eaaa;return Array['from']({'length':_0x2d5249[_0x3c33f6(0x8c)]()},(_0x154e62,_0x3e4e2f)=>_0x2d5249['getCellText'](_0x13f27a,_0x3e4e2f))['some'](_0x1ad41f=>_0x1ad41f['includes'](_0x46b307));}};function _0x5dad(){const _0x3661ea=['titleRow','default','margin','12352680RqHXdR','getMetadata','getHeaderRowCount','4368532qxvjum','selectCell','getTableAtSelection','_column','setText','DocsTableInsertPosition','372830LdbRJe','getText','insertColumnsAfter','Table','getTables','appendColumn','_serializeModel','insertTableFromData','getRowsRange','insertColumnBefore','rows','slice','Inject','_unitId','tableRows','insertRowBefore','selectRange','moveColumn','DocsTableInsertTablePosition','selectRows','_injector','_getDocumentData','object','string','call','getRowCount','replace','constructor','setRowHeight','getSource','sortByColumn','buildUnmergeCellsMutationActions','headerText','getTableRange','endOffset','setCellText','defineProperty','getTableRangeById','buildInsertTableColumnsMutationActions','_tableContainsText','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setBorder','Cell','prototype','map','Below','function','_getBodyPath','cells','max','getRange','getColumnRange','selectRow','extend','segmentId','selectTable','setMargin','FEnum','AT_LEAST','preset','TableRowHeightRule','getOwnPropertyDescriptor','DocsTableInsertTableCommand','color','buildMergeCellsMutationActions','documentStyle','get','startOffset','DocsTableColumnInsertPosition','pinHeaderRows','deleteRow','selectColumns','_getTables','setCellBackground','tableSource','setColumnWidth','667470tfcvlp','moveColumns','findTableByText','buildMoveTableColumnsMutationActions','generateRandomId','insertColumnsBefore','getId','getCell','Tools','titleText','columnTypes','getDefaultCellMarginOverride','insertTable','type','executeRichTextTableActions','_row','getColumnIndex','getMarginOverride','insertRowsAfter','DocsTableDeleteTableCommand','DashStyleType','buildInsertTableRowsMutationActions','unmerge','deleteColumns','createInstance','Left','deepClone','Range','DocsTableBorderPreset','insertRowsBefore','getTableAt','trHeight','buildSetTableHeaderRowCountMutationActions','FDocumentTable','iterator','headerRowCount','insertTitleRow','getInsertOffset','DocsTableSortDirection','ICommandService','setStructuralSelection','mergeCells','DEFAULT_DOCS_TABLE_CELL_MARGIN','getColumnsRange','appendRow','_commandService','length','22835dqjnwD','some','getRowHeight','getDocumentDataModel','getCellContentRange','getTableActionBodyPath','_document','_segmentId','_rowContainsText','backgroundColor','tableColumns','Column','getContentRange','decorate','DocsTableSelectionKind','deleteRows','dataStream','setHeaderRowCount','insertColumnAfter','1591371wkRoKR','SOLID','Module','buildDistributeTableRowsMutationActions','getSnapshot','getTableMetadata','All','DocsTableRowInsertPosition','FDocumentTableCell','504satrll','width','_getTableDocumentData','Row','insertRowAfter','buildResizeTableRowActionsFromHeight','from','deleteTable','border','_mutateActions','moveTableBy','getRowIndex','_tableId','buildDistributeTableColumnsMutationActions','DocsTableColumnType','getDefaultCellMargin','getCellRange','includes','setTableBorder','getCellMarginOverride','body','setTableBackground','FDocument','Above','text','getStableTableSelection','_table','tableId','moveRow','symbol','getColumnCount','getCellInsertOffset','size','Right','setCellMargin','_createFDocumentTable','describe','getRowRange','getCellMargin','syncExecuteCommand','getTable','moveRows','DocsTableModel','969212VVnxPz','DocsTableSelectionService','actions','tableCells','toPrimitive','buildSetTableBorderMutationActions','unmergeCells','buildMoveTableRowsMutationActions','cellMargin','buildMoveFloatingTableMutationActions'];_0x5dad=function(){return _0x3661ea;};return _0x5dad();}r[_0xa0eaaa(0x84)][_0xa0eaaa(0xe4)](p),Object['defineProperty'](exports,_0xa0eaaa(0x11c),{'enumerable':!0x0,'get':function(){return f;}}),exports[_0xa0eaaa(0x145)]=a;
1
+ const _0x51a194=_0x549a;(function(_0x6497ca,_0x1e3af2){const _0x1ce247=_0x549a,_0x480b7e=_0x6497ca();while(!![]){try{const _0x4da5d6=parseInt(_0x1ce247(0x134))/0x1+parseInt(_0x1ce247(0x157))/0x2*(-parseInt(_0x1ce247(0x1a2))/0x3)+parseInt(_0x1ce247(0x136))/0x4*(parseInt(_0x1ce247(0x181))/0x5)+-parseInt(_0x1ce247(0x1d0))/0x6*(parseInt(_0x1ce247(0x1fe))/0x7)+parseInt(_0x1ce247(0x145))/0x8+-parseInt(_0x1ce247(0x1d8))/0x9*(-parseInt(_0x1ce247(0x1b3))/0xa)+-parseInt(_0x1ce247(0x1e1))/0xb;if(_0x4da5d6===_0x1e3af2)break;else _0x480b7e['push'](_0x480b7e['shift']());}catch(_0x3f7100){_0x480b7e['push'](_0x480b7e['shift']());}}}(_0x3fec,0x98894),Object[_0x51a194(0x1bf)](exports,Symbol['toStringTag'],{'value':_0x51a194(0x1c1)}));let e=require('@univerjs-pro/docs-table'),t=require('@univerjs/core'),n=require('@univerjs/core/facade'),r=require('@univerjs/docs/facade');var i=class extends n[_0x51a194(0x185)]{get[_0x51a194(0x1e9)](){const _0x293018=_0x51a194;return e[_0x293018(0x1e9)];}get[_0x51a194(0x1a9)](){const _0x162786=_0x51a194;return e[_0x162786(0x1a9)];}get[_0x51a194(0x137)](){const _0x3a324c=_0x51a194;return e[_0x3a324c(0x137)];}get[_0x51a194(0x17b)](){return e['DocsTableRowInsertPosition'];}get[_0x51a194(0x142)](){return e['DocsTableColumnInsertPosition'];}get[_0x51a194(0x1cb)](){const _0x2b3f01=_0x51a194;return e[_0x2b3f01(0x1cb)];}get['DocsTableSortDirection'](){return e['DocsTableSortDirection'];}get[_0x51a194(0x17d)](){const _0x54ef82=_0x51a194;return t[_0x54ef82(0x17d)];}};function _0x3fec(){const _0x3332a5=['DocsTableSelectionKind','getMargin','DocsTableInsertPosition','call','getCellText','moveRows','buildInsertTableRowsMutationActions','findTables','insertRowsAfter','moveColumn','length','DocsTableColumnInsertPosition','_column','rows','8978720KGueLm','appendColumn','endOffset','getRowCount','Table','getTables','getRowHeight','dataStream','ICommandService','getInfo','describe','backgroundColor','tableId','some','getTableActionBodyPath','getTableAtSelection','constructor','from','26mAlfOJ','moveRow','getTableMetadata','buildMoveTableToOffsetMutationActions','Range','selectRows','getCell','string','get','_getTables','setTitleRow','replace','filter','buildInsertTableTitleRowMutationActions','setHeaderRowCount','clearMarginOverride','distributeRows','body','buildSetTableDefaultCellMarginMutationActions','margin','startOffset','buildMoveFloatingTableMutationActions','moveTableToOffset','getSnapshot','iterator','getSource','Tools','getBody','deleteRow','segmentId','getDefaultCellMarginOverride','_getDocumentData','moveColumns','_unitId','type','deepClone','DocsTableRowInsertPosition','unmergeCells','DashStyleType','_serializeModel','headerRowCount','decorate','90zaASke','text','getMetadata','generateRandomId','FEnum','setCellBackground','TableRowHeightRule','_segmentId','FDocumentTableCell','getColumnRange','preset','buildMergeCellsMutationActions','buildInsertTableColumnsMutationActions','function','default','headerText','tableSource','Injector','cellMargin','getText','buildSetTableBorderMutationActions','mergeTo','getRowsRange','getCellContentRange','slice','object','cells','_tableId','#1f1f1f','actions','createInstance','_getBodyPath','border','285171XqMhbA','getTableRange','_injector','Right','insertRowAfter','selectCell','DocsTableSelectionService','DocsTableColumnType','_getTableDocumentData','DocsTableModel','Column','getDocumentDataModel','map','insertColumnsAfter','getColumnCount','getHeaderRowCount','selectColumns','2064030GikuoD','DEFAULT_DOCS_TABLE_CELL_MARGIN','Left','deleteRows','titleRow','Below','width','getContentRange','setTableBackground','setRowHeight','getCellInsertOffset','selectRange','defineProperty','setBorder','Module','sortByColumn','getSegmentId','_mutateActions','deleteColumns','buildDistributeTableRowsMutationActions','insertRowsBefore','syncExecuteCommand','symbol','_rowContainsText','DocsTableBorderPreset','buildMoveTableColumnsMutationActions','_tableContainsText','getMarginOverride','getCellMarginOverride','3102978WGkxZD','DocsTableInsertTableCommand','setColumnType','getTable','buildResizeTableRowActionsFromHeight','documentStyle','setBackgroundColor','buildMoveTableRowsMutationActions','18xcNAQE','getColumnsRange','insertColumnBefore','tableColumns','getRange','setCellMargin','appendRow','tableRows','moveTableBy','3633157uxCqmR','selectColumn','deleteColumn','includes','setTableBorder','buildSetTableBackgroundMutationActions','selectRow','setDefaultCellMargin','DocsTableInsertTablePosition','hasTitleRow','trHeight','getTableRangeById','DocsTableDeleteRowsCommand','getId','DocsTableDeleteColumnsCommand','getRowRange','serialize','_document','getRowIndex','FDocumentTable','getCellRange','getInsertOffset','max','color','_table','getTableAt','tableCells','insertColumnAfter','mergeCells','7XEJDsl','buildResizeTableColumnActionsFromWidth','_row','buildSortTableMutationActions','titleText','columnTypes','Above','Cell','_commandService','buildSetTableCellTextMutationActions','insertTitleRow','insertColumnsBefore','getCellMargin','getColumnIndex','extend','_createFDocumentTable','AT_LEAST','setMargin','buildUnmergeCellsMutationActions','insertTable','setCellText','SOLID','getOwnPropertyDescriptor','pinHeaderRows','toPrimitive','233539ortsrB','buildSetTableHeaderRowCountMutationActions','208732LioTBU'];_0x3fec=function(){return _0x3332a5;};return _0x3fec();}n[_0x51a194(0x185)]['extend'](i);function _0x549a(_0x89e095,_0x385d98){_0x89e095=_0x89e095-0x12f;const _0x3fecb7=_0x3fec();let _0x549a07=_0x3fecb7[_0x89e095];return _0x549a07;}var a=class{constructor(_0x3049f5,_0x472c49,_0x564a6c){this['_table']=_0x3049f5,this['_row']=_0x472c49,this['_column']=_0x564a6c;}[_0x51a194(0x1d3)](){const _0xd28998=_0x51a194;return this[_0xd28998(0x1f9)];}[_0x51a194(0x1f3)](){const _0x393610=_0x51a194;return this[_0x393610(0x200)];}[_0x51a194(0x20b)](){const _0x4850ff=_0x51a194;return this[_0x4850ff(0x143)];}[_0x51a194(0x194)](){const _0x316bfb=_0x51a194;return this[_0x316bfb(0x1f9)]['getCellText'](this[_0x316bfb(0x200)],this[_0x316bfb(0x143)]);}[_0x51a194(0x1ba)](){const _0x172219=_0x51a194;return this[_0x172219(0x1f9)][_0x172219(0x198)](this[_0x172219(0x200)],this[_0x172219(0x143)]);}[_0x51a194(0x1f6)](){const _0x300d53=_0x51a194;return this[_0x300d53(0x1f9)][_0x300d53(0x1bd)](this[_0x300d53(0x200)],this[_0x300d53(0x143)]);}[_0x51a194(0x138)](){const _0xfd532b=_0x51a194;return this[_0xfd532b(0x1f9)]['getCellMargin'](this['_row'],this[_0xfd532b(0x143)]);}[_0x51a194(0x1ce)](){const _0x14bc12=_0x51a194;return this[_0x14bc12(0x1f9)][_0x14bc12(0x1cf)](this['_row'],this[_0x14bc12(0x143)]);}[_0x51a194(0x20f)](_0x128b00){const _0x2bd17e=_0x51a194;return this[_0x2bd17e(0x1f9)]['setCellMargin'](this['_table'][_0x2bd17e(0x1f5)](this[_0x2bd17e(0x200)],this[_0x2bd17e(0x143)]),_0x128b00);}[_0x51a194(0x166)](){const _0x250f5a=_0x51a194;return this['_table'][_0x250f5a(0x1dd)](this[_0x250f5a(0x1f9)][_0x250f5a(0x1f5)](this['_row'],this[_0x250f5a(0x143)]),null);}['setText'](_0x208661){const _0xf99cc6=_0x51a194;return this[_0xf99cc6(0x1f9)][_0xf99cc6(0x12f)](this[_0xf99cc6(0x200)],this[_0xf99cc6(0x143)],_0x208661);}[_0x51a194(0x1d6)](_0x141274){const _0x445b76=_0x51a194;return this[_0x445b76(0x1f9)]['setCellBackground'](this[_0x445b76(0x1f9)][_0x445b76(0x1f5)](this[_0x445b76(0x200)],this['_column']),_0x141274);}[_0x51a194(0x1c0)](_0x5011b0){const _0x33cdc1=_0x51a194;return this[_0x33cdc1(0x1f9)]['setBorder'](this[_0x33cdc1(0x1f9)][_0x33cdc1(0x1f5)](this['_row'],this[_0x33cdc1(0x143)]),_0x5011b0);}[_0x51a194(0x196)](_0xb91a39,_0x1e7ac4){const _0x243ee8=_0x51a194;return this[_0x243ee8(0x1f9)][_0x243ee8(0x1fd)]({'startRow':this[_0x243ee8(0x200)],'startColumn':this[_0x243ee8(0x143)],'endRow':this['_row']+_0xb91a39-0x1,'endColumn':this['_column']+_0x1e7ac4-0x1});}['unmerge'](){const _0x3447d1=_0x51a194;return this[_0x3447d1(0x1f9)][_0x3447d1(0x17c)](this[_0x3447d1(0x1f9)]['getCellRange'](this[_0x3447d1(0x200)],this[_0x3447d1(0x143)]));}};function o(_0x4284f4){'@babel/helpers - typeof';const _0x5d53bc=_0x51a194;return o=typeof Symbol=='function'&&typeof Symbol[_0x5d53bc(0x16f)]==_0x5d53bc(0x1c9)?function(_0xb40bcf){return typeof _0xb40bcf;}:function(_0xf4ab5c){const _0x56b73b=_0x5d53bc;return _0xf4ab5c&&typeof Symbol==_0x56b73b(0x18e)&&_0xf4ab5c[_0x56b73b(0x155)]===Symbol&&_0xf4ab5c!==Symbol['prototype']?'symbol':typeof _0xf4ab5c;},o(_0x4284f4);}function s(_0x2220ae,_0xc67623){const _0x140245=_0x51a194;if(o(_0x2220ae)!=_0x140245(0x19a)||!_0x2220ae)return _0x2220ae;var _0x45f594=_0x2220ae[Symbol[_0x140245(0x133)]];if(_0x45f594!==void 0x0){var _0x195b89=_0x45f594[_0x140245(0x13a)](_0x2220ae,_0xc67623||_0x140245(0x18f));if(o(_0x195b89)!='object')return _0x195b89;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xc67623===_0x140245(0x15e)?String:Number)(_0x2220ae);}function c(_0x6bed4b){const _0x5aa7ea=_0x51a194;var _0x3bd2e6=s(_0x6bed4b,_0x5aa7ea(0x15e));return o(_0x3bd2e6)==_0x5aa7ea(0x1c9)?_0x3bd2e6:_0x3bd2e6+'';}function l(_0x5594a2,_0x1ae763,_0x78449c){const _0x43ae19=_0x51a194;return(_0x1ae763=c(_0x1ae763))in _0x5594a2?Object[_0x43ae19(0x1bf)](_0x5594a2,_0x1ae763,{'value':_0x78449c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5594a2[_0x1ae763]=_0x78449c,_0x5594a2;}function u(_0x1907a4,_0x29d1f0){return function(_0x597af8,_0x30edcd){_0x29d1f0(_0x597af8,_0x30edcd,_0x1907a4);};}function d(_0x3a20f1,_0x2666b4,_0x441f67,_0x2167fd){const _0x213c95=_0x51a194;var _0x52214f=arguments[_0x213c95(0x141)],_0xff6797=_0x52214f<0x3?_0x2666b4:_0x2167fd===null?_0x2167fd=Object[_0x213c95(0x131)](_0x2666b4,_0x441f67):_0x2167fd,_0x460954;if(typeof Reflect==_0x213c95(0x19a)&&typeof Reflect[_0x213c95(0x180)]=='function')_0xff6797=Reflect[_0x213c95(0x180)](_0x3a20f1,_0x2666b4,_0x441f67,_0x2167fd);else{for(var _0x48e566=_0x3a20f1[_0x213c95(0x141)]-0x1;_0x48e566>=0x0;_0x48e566--)(_0x460954=_0x3a20f1[_0x48e566])&&(_0xff6797=(_0x52214f<0x3?_0x460954(_0xff6797):_0x52214f>0x3?_0x460954(_0x2666b4,_0x441f67,_0xff6797):_0x460954(_0x2666b4,_0x441f67))||_0xff6797);}return _0x52214f>0x3&&_0xff6797&&Object[_0x213c95(0x1bf)](_0x2666b4,_0x441f67,_0xff6797),_0xff6797;}let f=class{constructor(_0xa092ca,_0x4910f4,_0x23fe00,_0x2ea04d,_0x4b71c7){const _0x4abe8f=_0x51a194;this[_0x4abe8f(0x1f2)]=_0xa092ca,this[_0x4abe8f(0x19c)]=_0x4910f4,this[_0x4abe8f(0x188)]=_0x23fe00,this[_0x4abe8f(0x206)]=_0x2ea04d,this[_0x4abe8f(0x1a4)]=_0x4b71c7,l(this,_0x4abe8f(0x178),void 0x0),this['_unitId']=this[_0x4abe8f(0x1f2)][_0x4abe8f(0x1ee)]();}['getId'](){const _0x268d82=_0x51a194;return this[_0x268d82(0x19c)];}[_0x51a194(0x1c3)](){const _0x1a8c8e=_0x51a194;return this[_0x1a8c8e(0x188)];}[_0x51a194(0x14e)](){const _0x752ea6=_0x51a194;return{'id':this[_0x752ea6(0x19c)],'rowCount':this[_0x752ea6(0x148)](),'columnCount':this[_0x752ea6(0x1b0)](),'metadata':this['getMetadata'](),'source':this['getSource']()};}[_0x51a194(0x14f)](){const _0x2774f8=_0x51a194;let _0x3ef707=this[_0x2774f8(0x183)](),_0x4013ce=this[_0x2774f8(0x170)](),_0x3fa401=this[_0x2774f8(0x1b0)]();return{'id':this[_0x2774f8(0x19c)],'rowCount':this['getRowCount'](),'columnCount':_0x3fa401,'headerRowCount':(_0x3ef707==null?void 0x0:_0x3ef707['headerRowCount'])??0x0,'titleRow':(_0x3ef707==null?void 0x0:_0x3ef707[_0x2774f8(0x1b7)])??!0x1,'columns':Array[_0x2774f8(0x156)]({'length':_0x3fa401},(_0x3b80c6,_0x13ca3e)=>{const _0x10aead=_0x2774f8;var _0x38ef1c,_0x20adf8;return{'index':_0x13ca3e,'type':_0x3ef707==null||(_0x38ef1c=_0x3ef707[_0x10aead(0x203)])==null||(_0x38ef1c=_0x38ef1c[_0x13ca3e])==null?void 0x0:_0x38ef1c[_0x10aead(0x179)],'width':_0x4013ce==null||(_0x20adf8=_0x4013ce[_0x10aead(0x1db)][_0x13ca3e])==null?void 0x0:_0x20adf8['size'][_0x10aead(0x1b9)]['v']};}),'sampleRows':Array['from']({'length':this[_0x2774f8(0x148)]()},(_0x33bef7,_0x474dab)=>Array[_0x2774f8(0x156)]({'length':_0x3fa401},(_0x13c32d,_0x2efb49)=>this[_0x2774f8(0x13b)](_0x474dab,_0x2efb49)))[_0x2774f8(0x163)](_0x468ddd=>_0x468ddd[_0x2774f8(0x152)](_0x26f435=>_0x26f435[_0x2774f8(0x141)]>0x0))[_0x2774f8(0x199)](0x0,0x5)};}[_0x51a194(0x148)](){const _0x179d24=_0x51a194;var _0x40ad4e;return((_0x40ad4e=this[_0x179d24(0x170)]())==null?void 0x0:_0x40ad4e[_0x179d24(0x1df)][_0x179d24(0x141)])??0x0;}['getColumnCount'](){const _0x2db53e=_0x51a194;var _0x296019;return((_0x296019=this[_0x2db53e(0x170)]())==null?void 0x0:_0x296019[_0x2db53e(0x1db)][_0x2db53e(0x141)])??0x0;}[_0x51a194(0x15d)](_0x137a07,_0x7f6270){const _0x36bc5e=_0x51a194;var _0x501c60;return(_0x501c60=this[_0x36bc5e(0x170)]())!=null&&(_0x501c60=_0x501c60[_0x36bc5e(0x1df)][_0x137a07])!=null&&_0x501c60[_0x36bc5e(0x1fb)][_0x7f6270]?this[_0x36bc5e(0x1a4)][_0x36bc5e(0x19f)](a,this,_0x137a07,_0x7f6270):null;}['getCellText'](_0x1f248d,_0x3b5d0d){const _0x82b9be=_0x51a194;var _0x13a4b6,_0x2d58e0;let _0x47244d=(_0x13a4b6=(0x0,e[_0x82b9be(0x1ec)])(this[_0x82b9be(0x176)](),this[_0x82b9be(0x19c)]))==null||(_0x13a4b6=_0x13a4b6[_0x82b9be(0x144)][_0x1f248d])==null?void 0x0:_0x13a4b6[_0x82b9be(0x19b)][_0x3b5d0d];return _0x47244d?((_0x2d58e0=this[_0x82b9be(0x176)]()[_0x82b9be(0x168)])==null?void 0x0:_0x2d58e0[_0x82b9be(0x14c)][_0x82b9be(0x199)](_0x47244d[_0x82b9be(0x16b)]+0x1,_0x47244d[_0x82b9be(0x147)])[_0x82b9be(0x162)](/\r\n$/,''))??'':'';}[_0x51a194(0x20a)](_0x3df3b1,_0x4eacc2){const _0x53983b=_0x51a194;var _0x4b1d52;let _0x46b2d3=this['getSource'](),_0x3332da=_0x46b2d3==null||(_0x4b1d52=_0x46b2d3[_0x53983b(0x1df)][_0x3df3b1])==null?void 0x0:_0x4b1d52[_0x53983b(0x1fb)][_0x4eacc2];return _0x3332da?t[_0x53983b(0x171)][_0x53983b(0x17a)](_0x3332da[_0x53983b(0x16a)]??_0x46b2d3[_0x53983b(0x193)]??e[_0x53983b(0x1b4)]):null;}[_0x51a194(0x1cf)](_0x51a13c,_0x5724c4){const _0x4a4ffa=_0x51a194;var _0x1528a8;let _0x3bbf5e=(_0x1528a8=this[_0x4a4ffa(0x170)]())==null||(_0x1528a8=_0x1528a8['tableRows'][_0x51a13c])==null?void 0x0:_0x1528a8[_0x4a4ffa(0x1fb)][_0x5724c4];return _0x3bbf5e!=null&&_0x3bbf5e['margin']?t[_0x4a4ffa(0x171)][_0x4a4ffa(0x17a)](_0x3bbf5e['margin']):null;}['getDefaultCellMargin'](){const _0x44acf2=_0x51a194;var _0x158f88;return t[_0x44acf2(0x171)][_0x44acf2(0x17a)](((_0x158f88=this[_0x44acf2(0x170)]())==null?void 0x0:_0x158f88['cellMargin'])??e[_0x44acf2(0x1b4)]);}[_0x51a194(0x175)](){const _0x17a815=_0x51a194;var _0x490863;let _0x3e387e=(_0x490863=this['getSource']())==null?void 0x0:_0x490863[_0x17a815(0x193)];return _0x3e387e?t[_0x17a815(0x171)]['deepClone'](_0x3e387e):null;}[_0x51a194(0x183)](){const _0x205249=_0x51a194;return this[_0x205249(0x1a4)][_0x205249(0x15f)](e['DocsTableModel'])[_0x205249(0x159)](this[_0x205249(0x178)],this[_0x205249(0x19c)]);}['getSource'](){const _0x9ef02c=_0x51a194;var _0x17c5d5;return(_0x17c5d5=this[_0x9ef02c(0x176)]()[_0x9ef02c(0x191)])==null?void 0x0:_0x17c5d5[this[_0x9ef02c(0x19c)]];}[_0x51a194(0x1dc)](){const _0x50a968=_0x51a194;return(0x0,e[_0x50a968(0x1ec)])(this['_getDocumentData'](),this[_0x50a968(0x19c)]);}[_0x51a194(0x1a3)](){const _0xac10a6=_0x51a194;return{'startRow':0x0,'endRow':Math[_0xac10a6(0x1f7)](0x0,this[_0xac10a6(0x148)]()-0x1),'startColumn':0x0,'endColumn':Math[_0xac10a6(0x1f7)](0x0,this['getColumnCount']()-0x1)};}[_0x51a194(0x1f5)](_0x94fc03,_0x50e86f){return{'startRow':_0x94fc03,'endRow':_0x94fc03,'startColumn':_0x50e86f,'endColumn':_0x50e86f};}[_0x51a194(0x198)](_0x3f7739,_0xf4e196){const _0x5e082a=_0x51a194;var _0x640bdd;let _0x3e4375=(_0x640bdd=(0x0,e[_0x5e082a(0x1ec)])(this[_0x5e082a(0x176)](),this[_0x5e082a(0x19c)]))==null||(_0x640bdd=_0x640bdd['rows'][_0x3f7739])==null?void 0x0:_0x640bdd[_0x5e082a(0x19b)][_0xf4e196];if(!_0x3e4375)return null;let _0x3a7963=_0x3e4375[_0x5e082a(0x16b)]+0x1;return{'startOffset':_0x3a7963,'endOffset':Math['max'](_0x3a7963,_0x3e4375[_0x5e082a(0x147)]-0x1),'segmentId':this[_0x5e082a(0x188)]};}['getCellInsertOffset'](_0x1fc73a,_0x3051a3){const _0x347aa5=_0x51a194;let _0x45e18d=this[_0x347aa5(0x198)](_0x1fc73a,_0x3051a3);return _0x45e18d?Math[_0x347aa5(0x1f7)](_0x45e18d[_0x347aa5(0x16b)],_0x45e18d['endOffset']-0x1):null;}[_0x51a194(0x1f0)](_0x15cece){const _0x192131=_0x51a194;return this[_0x192131(0x197)](_0x15cece,0x1);}[_0x51a194(0x197)](_0x54da6c,_0xc99452=0x1){const _0x394211=_0x51a194;return{'startRow':_0x54da6c,'endRow':_0x54da6c+_0xc99452-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x394211(0x1b0)]()-0x1)};}[_0x51a194(0x18a)](_0x455480){const _0x20559b=_0x51a194;return this[_0x20559b(0x1d9)](_0x455480,0x1);}[_0x51a194(0x1d9)](_0x176be0,_0x29e03c=0x1){const _0x4c85fd=_0x51a194;return{'startRow':0x0,'endRow':Math[_0x4c85fd(0x1f7)](0x0,this[_0x4c85fd(0x148)]()-0x1),'startColumn':_0x176be0,'endColumn':_0x176be0+_0x29e03c-0x1};}['selectTable'](){const _0x248fbc=_0x51a194;return this[_0x248fbc(0x1be)](this[_0x248fbc(0x1a3)](),e[_0x248fbc(0x137)][_0x248fbc(0x149)]);}[_0x51a194(0x1e7)](_0x5d6b7e){const _0x16c2f0=_0x51a194;return this[_0x16c2f0(0x15c)](_0x5d6b7e,0x1);}[_0x51a194(0x15c)](_0xce1ef7,_0x2ef235=0x1){const _0x28debb=_0x51a194;return this[_0x28debb(0x1be)](this[_0x28debb(0x197)](_0xce1ef7,_0x2ef235),e[_0x28debb(0x137)]['Row']);}[_0x51a194(0x1e2)](_0x4a7712){const _0x2f06a5=_0x51a194;return this[_0x2f06a5(0x1b2)](_0x4a7712,0x1);}[_0x51a194(0x1b2)](_0x151fe2,_0x37d054=0x1){const _0x4b533e=_0x51a194;return this['selectRange'](this[_0x4b533e(0x1d9)](_0x151fe2,_0x37d054),e['DocsTableSelectionKind'][_0x4b533e(0x1ac)]);}[_0x51a194(0x1a7)](_0x3e8675,_0x1ae53f){const _0x5b125a=_0x51a194;return this['selectRange'](this[_0x5b125a(0x1f5)](_0x3e8675,_0x1ae53f),e['DocsTableSelectionKind'][_0x5b125a(0x205)]);}[_0x51a194(0x1be)](_0x4b3118,_0x2a43c0=e[_0x51a194(0x137)][_0x51a194(0x15b)]){const _0xd57b57=_0x51a194;return this[_0xd57b57(0x1a4)]['get'](e[_0xd57b57(0x1a8)])['setStructuralSelection']({..._0x4b3118,'kind':_0x2a43c0,'segmentId':this['_segmentId'],'tableId':this[_0xd57b57(0x19c)]}),!0x0;}['insertRowBefore'](_0x3a1c98){const _0x1ff523=_0x51a194;return this[_0x1ff523(0x1c7)](_0x3a1c98,0x1);}[_0x51a194(0x1a6)](_0x191aba){const _0x368fd9=_0x51a194;return this[_0x368fd9(0x13f)](_0x191aba,0x1);}[_0x51a194(0x1c7)](_0x4cc018,_0x1859a2){const _0x248a89=_0x51a194;let _0x662c8=this[_0x248a89(0x176)](),_0x3cf7c0=(0x0,e['buildInsertTableRowsMutationActions'])(_0x662c8,this[_0x248a89(0x19c)],_0x4cc018,_0x1859a2,e['DocsTableInsertPosition']['Above'],this[_0x248a89(0x1a0)]());return _0x3cf7c0?this[_0x248a89(0x1c4)](_0x662c8,_0x3cf7c0[_0x248a89(0x19e)]):!0x1;}[_0x51a194(0x13f)](_0x3a1cf4,_0x346778){const _0x2dced7=_0x51a194;let _0x16ead8=this[_0x2dced7(0x176)](),_0x1e664f=(0x0,e[_0x2dced7(0x13d)])(_0x16ead8,this['_tableId'],_0x3a1cf4,_0x346778,e['DocsTableInsertPosition'][_0x2dced7(0x1b8)],this[_0x2dced7(0x1a0)]());return _0x1e664f?this[_0x2dced7(0x1c4)](_0x16ead8,_0x1e664f[_0x2dced7(0x19e)]):!0x1;}[_0x51a194(0x1de)](){const _0x124f75=_0x51a194;return this[_0x124f75(0x13f)](Math['max'](0x0,this[_0x124f75(0x148)]()-0x1),0x1);}[_0x51a194(0x1da)](_0x31c8cc){const _0x434eb8=_0x51a194;return this[_0x434eb8(0x209)](_0x31c8cc,0x1);}[_0x51a194(0x1fc)](_0x3ee67d){const _0x217f58=_0x51a194;return this[_0x217f58(0x1af)](_0x3ee67d,0x1);}[_0x51a194(0x209)](_0x4efa2d,_0x3c4dcb){const _0x1da3c5=_0x51a194;let _0x3cb7b8=this[_0x1da3c5(0x176)](),_0x5e7802=(0x0,e[_0x1da3c5(0x18d)])(_0x3cb7b8,this[_0x1da3c5(0x19c)],_0x4efa2d,_0x3c4dcb,e[_0x1da3c5(0x139)][_0x1da3c5(0x1b5)],{'bodyPath':this[_0x1da3c5(0x1a0)]()});return _0x5e7802?this[_0x1da3c5(0x1c4)](_0x3cb7b8,_0x5e7802['actions']):!0x1;}[_0x51a194(0x1af)](_0x1db115,_0x2c9584){const _0x4afda8=_0x51a194;let _0xbcc03e=this[_0x4afda8(0x176)](),_0x15602f=(0x0,e[_0x4afda8(0x18d)])(_0xbcc03e,this[_0x4afda8(0x19c)],_0x1db115,_0x2c9584,e[_0x4afda8(0x139)][_0x4afda8(0x1a5)],{'bodyPath':this[_0x4afda8(0x1a0)]()});return _0x15602f?this[_0x4afda8(0x1c4)](_0xbcc03e,_0x15602f['actions']):!0x1;}[_0x51a194(0x146)](){const _0x3f6ce7=_0x51a194;return this['insertColumnsAfter'](Math[_0x3f6ce7(0x1f7)](0x0,this[_0x3f6ce7(0x1b0)]()-0x1),0x1);}[_0x51a194(0x173)](_0x40fc12){return this['deleteRows'](_0x40fc12,0x1);}[_0x51a194(0x1b6)](_0x5db05c,_0xbb3cb5=0x1){const _0x298dfc=_0x51a194;return!!this[_0x298dfc(0x206)][_0x298dfc(0x1c8)](e[_0x298dfc(0x1ed)]['id'],{'endRow':_0x5db05c+_0xbb3cb5-0x1,'segmentId':this['_segmentId'],'startRow':_0x5db05c,'tableId':this['_tableId'],'unitId':this[_0x298dfc(0x178)]});}[_0x51a194(0x1e3)](_0xdad75b){const _0x723cfc=_0x51a194;return this[_0x723cfc(0x1c5)](_0xdad75b,0x1);}[_0x51a194(0x1c5)](_0x404f98,_0x126d3c=0x1){const _0x1c9c83=_0x51a194;return!!this[_0x1c9c83(0x206)][_0x1c9c83(0x1c8)](e[_0x1c9c83(0x1ef)]['id'],{'endColumn':_0x404f98+_0x126d3c-0x1,'segmentId':this[_0x1c9c83(0x188)],'startColumn':_0x404f98,'tableId':this[_0x1c9c83(0x19c)],'unitId':this[_0x1c9c83(0x178)]});}['deleteTable'](){const _0x21a3b4=_0x51a194;return!!this[_0x21a3b4(0x206)][_0x21a3b4(0x1c8)](e['DocsTableDeleteTableCommand']['id'],{'segmentId':this['_segmentId'],'tableId':this['_tableId'],'unitId':this[_0x21a3b4(0x178)]});}[_0x51a194(0x1e0)](_0x2381ed,_0xaf604b){const _0x1c23c4=_0x51a194;let _0x4b0423=this[_0x1c23c4(0x176)]();return this['_mutateActions'](_0x4b0423,(0x0,e[_0x1c23c4(0x16c)])(_0x4b0423,this[_0x1c23c4(0x19c)],_0x2381ed,_0xaf604b));}[_0x51a194(0x16d)](_0x462391){const _0xc3e2a7=_0x51a194;let _0x2e1f33=this[_0xc3e2a7(0x176)]();return this['_mutateActions'](_0x2e1f33,(0x0,e[_0xc3e2a7(0x15a)])(_0x2e1f33,this[_0xc3e2a7(0x19c)],_0x462391,this[_0xc3e2a7(0x1a0)]()));}[_0x51a194(0x158)](_0x12953e,_0xb2c48b,_0x1b55db=e[_0x51a194(0x139)][_0x51a194(0x204)]){return this['moveRows'](_0x12953e,0x1,_0xb2c48b,_0x1b55db);}[_0x51a194(0x13c)](_0x460186,_0x199c44,_0x29ce21,_0x285c66=e[_0x51a194(0x139)][_0x51a194(0x204)]){const _0x4abcb9=_0x51a194;let _0xf96525=this['_getDocumentData'](),_0x10c40f=(0x0,e[_0x4abcb9(0x1d7)])(_0xf96525,this['_tableId'],_0x460186,_0x29ce21,_0x199c44,_0x285c66,this[_0x4abcb9(0x1a0)]());return _0x10c40f?this['_mutateActions'](_0xf96525,_0x10c40f[_0x4abcb9(0x19e)]):!0x1;}[_0x51a194(0x140)](_0x5e0e49,_0x235c77,_0x356462=e[_0x51a194(0x139)][_0x51a194(0x1b5)]){const _0x1ba7b9=_0x51a194;return this[_0x1ba7b9(0x177)](_0x5e0e49,0x1,_0x235c77,_0x356462);}[_0x51a194(0x177)](_0x1d4ffe,_0x3f13a3,_0x183e73,_0x298677=e[_0x51a194(0x139)][_0x51a194(0x1b5)]){const _0x26bf32=_0x51a194;let _0x4dfa87=this[_0x26bf32(0x176)](),_0x33210d=(0x0,e[_0x26bf32(0x1cc)])(_0x4dfa87,this['_tableId'],_0x1d4ffe,_0x183e73,_0x3f13a3,_0x298677,this['_getBodyPath']());return _0x33210d?this[_0x26bf32(0x1c4)](_0x4dfa87,_0x33210d[_0x26bf32(0x19e)]):!0x1;}[_0x51a194(0x1fd)](_0x1b1bd4){const _0x195569=_0x51a194;try{let _0x334b2d=this[_0x195569(0x176)](),_0x2fda97=(0x0,e[_0x195569(0x18c)])({'documentData':_0x334b2d,'tableId':this[_0x195569(0x19c)],..._0x1b1bd4});return _0x2fda97?this[_0x195569(0x1c4)](_0x334b2d,_0x2fda97['actions'],_0x1b1bd4):!0x1;}catch{return!0x1;}}[_0x51a194(0x17c)](_0x55af4a){const _0xf32aa1=_0x51a194;try{let _0x96993b=this[_0xf32aa1(0x176)](),_0x34f336=(0x0,e[_0xf32aa1(0x210)])({'documentData':_0x96993b,'tableId':this[_0xf32aa1(0x19c)],..._0x55af4a});return _0x34f336?this[_0xf32aa1(0x1c4)](_0x96993b,_0x34f336[_0xf32aa1(0x19e)],_0x55af4a):!0x1;}catch{return!0x1;}}[_0x51a194(0x12f)](_0x58d3e2,_0x3face4,_0x23c2df){const _0x325eb5=_0x51a194;let _0x1aeaca=this['_getDocumentData'](),_0x2b1b37=(0x0,e['getTableActionBodyPath'])(this[_0x325eb5(0x1f2)][_0x325eb5(0x1ad)]()[_0x325eb5(0x16e)](),this[_0x325eb5(0x188)]);return this['_mutateActions'](_0x1aeaca,(0x0,e[_0x325eb5(0x207)])({'documentData':_0x1aeaca,'tableId':this[_0x325eb5(0x19c)],'row':_0x58d3e2,'column':_0x3face4,'text':_0x23c2df},_0x2b1b37),this['getCellRange'](_0x58d3e2,_0x3face4));}['setCellBackground'](_0x181a94,_0xfb4c0f){const _0x3d8676=_0x51a194;let _0x2e0eb0=this['_getDocumentData']();return this[_0x3d8676(0x1c4)](_0x2e0eb0,(0x0,e[_0x3d8676(0x1e6)])(_0x2e0eb0,{'tableId':this[_0x3d8676(0x19c)],..._0x181a94,'value':_0xfb4c0f}),_0x181a94);}[_0x51a194(0x1dd)](_0x317e35,_0x57054e){const _0x27ea87=_0x51a194;let _0x24c23e=this[_0x27ea87(0x176)]();return this[_0x27ea87(0x1c4)](_0x24c23e,(0x0,e['buildSetTableCellMarginMutationActions'])({'documentData':_0x24c23e,'tableId':this[_0x27ea87(0x19c)],..._0x317e35,'margin':_0x57054e}),_0x317e35);}[_0x51a194(0x1e8)](_0x398860){const _0x522a94=_0x51a194;let _0x5a7529=this[_0x522a94(0x176)]();return this[_0x522a94(0x1c4)](_0x5a7529,(0x0,e[_0x522a94(0x169)])(_0x5a7529,this['_tableId'],_0x398860));}[_0x51a194(0x1c0)](_0x46e038,_0x5ccec5){const _0xfb7dcf=_0x51a194;let _0x27566e=this[_0xfb7dcf(0x176)]();return this[_0xfb7dcf(0x1c4)](_0x27566e,(0x0,e[_0xfb7dcf(0x195)])({'documentData':_0x27566e,'tableId':this[_0xfb7dcf(0x19c)],..._0x46e038,'preset':_0x5ccec5[_0xfb7dcf(0x18b)]??e[_0xfb7dcf(0x1cb)]['All'],'border':_0x5ccec5[_0xfb7dcf(0x1a1)]??{'color':{'rgb':_0x5ccec5[_0xfb7dcf(0x1f8)]??_0xfb7dcf(0x19d)},'width':{'v':_0x5ccec5[_0xfb7dcf(0x1b9)]??0x1},'dashStyle':t['DashStyleType'][_0xfb7dcf(0x130)]}}),_0x46e038);}[_0x51a194(0x1bb)](_0x2b8f93){const _0x1ca9d7=_0x51a194;return this[_0x1ca9d7(0x186)](this[_0x1ca9d7(0x1a3)](),_0x2b8f93);}[_0x51a194(0x1e5)](_0x91f8c4){return this['setBorder'](this['getTableRange'](),_0x91f8c4);}['setTableStyle'](_0x6d5c89){const _0x33f3a4=_0x51a194;let _0x1a364d=!_0x6d5c89['backgroundColor']||this[_0x33f3a4(0x1bb)](_0x6d5c89[_0x33f3a4(0x150)]),_0x114197=!_0x6d5c89['border']||this[_0x33f3a4(0x1e5)](_0x6d5c89['border']);return _0x1a364d&&_0x114197;}[_0x51a194(0x1bc)](_0x2f14da,_0x972e19,_0x15eba7=t[_0x51a194(0x187)][_0x51a194(0x20e)]){const _0x455ae0=_0x51a194;var _0x5ead50;let _0x5e6fdd=this[_0x455ae0(0x176)]();return(_0x5ead50=_0x5e6fdd[_0x455ae0(0x191)])!=null&&(_0x5ead50=_0x5ead50[this[_0x455ae0(0x19c)]])!=null&&_0x5ead50[_0x455ae0(0x1df)][_0x2f14da]?this[_0x455ae0(0x1c4)](_0x5e6fdd,(0x0,e[_0x455ae0(0x1d4)])(_0x5e6fdd,this[_0x455ae0(0x19c)],_0x2f14da,_0x972e19,_0x15eba7)):!0x1;}[_0x51a194(0x14b)](_0xe6c2bb){const _0x4bc15e=_0x51a194;var _0x3ceeb5;let _0x5abb9d=(_0x3ceeb5=this[_0x4bc15e(0x170)]())==null||(_0x3ceeb5=_0x3ceeb5[_0x4bc15e(0x1df)][_0xe6c2bb])==null?void 0x0:_0x3ceeb5[_0x4bc15e(0x1eb)];return _0x5abb9d?t[_0x4bc15e(0x171)]['deepClone'](_0x5abb9d):null;}['setColumnWidth'](_0x54a881,_0x2a3268){const _0x4dd80f=_0x51a194;var _0xd301d4;let _0x5e95f9=this[_0x4dd80f(0x176)]();return(_0xd301d4=_0x5e95f9[_0x4dd80f(0x191)])!=null&&(_0xd301d4=_0xd301d4[this['_tableId']])!=null&&_0xd301d4[_0x4dd80f(0x1db)][_0x54a881]?this['_mutateActions'](_0x5e95f9,(0x0,e[_0x4dd80f(0x1ff)])(_0x5e95f9,this[_0x4dd80f(0x19c)],_0x54a881,_0x2a3268)):!0x1;}[_0x51a194(0x167)](_0x5f1249=0x0,_0x375398=this[_0x51a194(0x148)]()){const _0x39d54c=_0x51a194;let _0x180313=this[_0x39d54c(0x176)]();return this['_mutateActions'](_0x180313,(0x0,e[_0x39d54c(0x1c6)])(_0x180313,this['_tableId'],_0x5f1249,_0x5f1249+_0x375398-0x1));}['distributeColumns'](_0x39ac4f=0x0,_0x6213e7=this[_0x51a194(0x1b0)]()){const _0x10d220=_0x51a194;let _0x2dfce3=this[_0x10d220(0x176)]();return this['_mutateActions'](_0x2dfce3,(0x0,e['buildDistributeTableColumnsMutationActions'])(_0x2dfce3,this[_0x10d220(0x19c)],_0x39ac4f,_0x39ac4f+_0x6213e7-0x1));}[_0x51a194(0x1b1)](){const _0x3b940a=_0x51a194;var _0x4a94c5;return((_0x4a94c5=this[_0x3b940a(0x183)]())==null?void 0x0:_0x4a94c5[_0x3b940a(0x17f)])??0x0;}[_0x51a194(0x165)](_0x27a04b){const _0x453546=_0x51a194;let _0x52c971=this['_injector']['get'](e[_0x453546(0x1ab)]),_0x5f4526=this['_getDocumentData'](),_0x4b35e4=(0x0,e[_0x453546(0x135)])(_0x5f4526,this[_0x453546(0x19c)],_0x27a04b);if(!_0x4b35e4)return!0x1;let _0x1a0bae=this[_0x453546(0x1c4)](_0x5f4526,_0x4b35e4[_0x453546(0x19e)]);return _0x1a0bae&&_0x52c971[_0x453546(0x165)](this[_0x453546(0x178)],this['_tableId'],_0x4b35e4[_0x453546(0x17f)]),_0x1a0bae;}[_0x51a194(0x132)](_0x5c1406){const _0x5210af=_0x51a194;return this[_0x5210af(0x165)](_0x5c1406);}[_0x51a194(0x1ea)](){const _0x573747=_0x51a194;var _0x165b5a;return((_0x165b5a=this[_0x573747(0x183)]())==null?void 0x0:_0x165b5a[_0x573747(0x1b7)])??!0x1;}[_0x51a194(0x208)](){const _0x15ceba=_0x51a194;let _0x48edbf=this[_0x15ceba(0x1a4)]['get'](e[_0x15ceba(0x1ab)]),_0x6f071c=this[_0x15ceba(0x176)](),_0x59111d=(0x0,e[_0x15ceba(0x164)])(_0x6f071c,this[_0x15ceba(0x19c)],this[_0x15ceba(0x1a0)]());if(!_0x59111d)return!0x1;let _0x56fc00=this['_mutateActions'](_0x6f071c,_0x59111d[_0x15ceba(0x19e)]);return _0x56fc00&&_0x48edbf[_0x15ceba(0x161)](this[_0x15ceba(0x178)],this[_0x15ceba(0x19c)],!0x0),_0x56fc00;}['setColumnType'](_0x597f79,_0x8392d7){const _0x2b22d9=_0x51a194;return this[_0x2b22d9(0x1a4)][_0x2b22d9(0x15f)](e['DocsTableModel'])[_0x2b22d9(0x1d2)](this[_0x2b22d9(0x178)],this['_tableId'],_0x597f79,_0x8392d7),!0x0;}[_0x51a194(0x1c2)](_0x8e2e6,_0x3e82ad){const _0x92d60=_0x51a194;let _0xd7b92a=this[_0x92d60(0x176)]();return this[_0x92d60(0x1c4)](_0xd7b92a,(0x0,e[_0x92d60(0x201)])(_0xd7b92a,this[_0x92d60(0x17e)](),this[_0x92d60(0x19c)],_0x8e2e6,_0x3e82ad,this[_0x92d60(0x1a0)]()));}['_getDocumentData'](){const _0x34b31f=_0x51a194;let _0xcc0060=this['_document'][_0x34b31f(0x1ad)]()[_0x34b31f(0x16e)]();return this[_0x34b31f(0x188)]?{...this[_0x34b31f(0x1f2)][_0x34b31f(0x1ad)](this['_segmentId'])['getSnapshot'](),'documentStyle':_0xcc0060[_0x34b31f(0x1d5)],'tableSource':_0xcc0060[_0x34b31f(0x191)]}:_0xcc0060;}[_0x51a194(0x17e)](){const _0x5d9c38=_0x51a194;return this[_0x5d9c38(0x1a4)]['get'](e[_0x5d9c38(0x1ab)])[_0x5d9c38(0x1f1)](this[_0x5d9c38(0x178)]);}[_0x51a194(0x1a0)](){const _0x1399aa=_0x51a194;return(0x0,e[_0x1399aa(0x153)])(this['_document'][_0x1399aa(0x1ad)]()[_0x1399aa(0x16e)](),this['_segmentId']);}['_mutateActions'](_0x1fd905,_0x1e2364,_0x3fae8c){const _0x73ff=_0x51a194;return(0x0,e['executeRichTextTableActions'])(this['_commandService'],this[_0x73ff(0x178)],_0x1fd905,_0x1e2364,_0x3fae8c?{'tableId':this[_0x73ff(0x19c)],'segmentId':this['_segmentId'],..._0x3fae8c}:void 0x0);}};f=d([u(0x3,t[_0x51a194(0x14d)]),u(0x4,(0x0,t['Inject'])(t[_0x51a194(0x192)]))],f);var p=class extends r['FDocument']{[_0x51a194(0x14a)](_0x241ab0=''){const _0x4c5eb3=_0x51a194;return this['_getTables'](_0x241ab0)[_0x4c5eb3(0x1ae)](_0x4e709e=>this[_0x4c5eb3(0x20d)](_0x4e709e['tableId'],_0x241ab0));}[_0x51a194(0x1d3)](_0x9d70b6,_0x7cfc78=''){const _0x45786b=_0x51a194;return this[_0x45786b(0x160)](_0x7cfc78)[_0x45786b(0x152)](_0x568e33=>_0x568e33[_0x45786b(0x151)]===_0x9d70b6)?this['_createFDocumentTable'](_0x9d70b6,_0x7cfc78):null;}[_0x51a194(0x1fa)](_0x450e87,_0x192062=''){const _0x452cec=_0x51a194;var _0x226f45;let _0x3577d6=(_0x226f45=this['_getTables'](_0x192062)[_0x450e87])==null?void 0x0:_0x226f45[_0x452cec(0x151)];return _0x3577d6?this[_0x452cec(0x20d)](_0x3577d6,_0x192062):null;}[_0x51a194(0x154)](){const _0x423c50=_0x51a194;let _0x2cabb0=this['_injector'][_0x423c50(0x15f)](e[_0x423c50(0x1a8)])['getStableTableSelection']();return _0x2cabb0!=null&&_0x2cabb0[_0x423c50(0x151)]?this[_0x423c50(0x20d)](_0x2cabb0[_0x423c50(0x151)],_0x2cabb0[_0x423c50(0x174)]):null;}['findTableByText'](_0x5b4ca5,_0x1514e9=''){return this['findTables'](_0x5b4ca5,_0x1514e9)[0x0]??null;}[_0x51a194(0x13e)](_0xe7cff3,_0x384a00=''){const _0x94cb5f=_0x51a194;let _0x2194e2=this[_0x94cb5f(0x1aa)](_0x384a00),_0x562922=typeof _0xe7cff3=='string'?{'text':_0xe7cff3}:_0xe7cff3;return this['getTables'](_0x384a00)[_0x94cb5f(0x163)](_0x4922c5=>{const _0x55e243=_0x94cb5f;let _0xd322cb=_0x4922c5[_0x55e243(0x1ee)]();return!(_0x562922[_0x55e243(0x151)]&&_0xd322cb!==_0x562922[_0x55e243(0x151)]||_0x562922['text']&&!this[_0x55e243(0x1cd)](_0x2194e2,_0xd322cb,_0x562922[_0x55e243(0x182)])||_0x562922[_0x55e243(0x190)]&&!this['_rowContainsText'](_0x4922c5,0x0,_0x562922[_0x55e243(0x190)])||_0x562922[_0x55e243(0x202)]&&!this[_0x55e243(0x1ca)](_0x4922c5,0x0,_0x562922[_0x55e243(0x202)]));});}[_0x51a194(0x211)](_0x44cd91,_0x5490bc,_0x4f5849={}){const _0x20e6ba=_0x51a194;let _0x467126=this[_0x20e6ba(0x1a4)][_0x20e6ba(0x15f)](t['ICommandService']),_0x14bd3e=_0x4f5849[_0x20e6ba(0x151)]??(0x0,t['generateRandomId'])(0x6);return _0x467126['syncExecuteCommand'](e[_0x20e6ba(0x1d1)]['id'],{..._0x4f5849,'unitId':this[_0x20e6ba(0x1ee)](),'rows':_0x44cd91,'columns':_0x5490bc,'tableId':_0x14bd3e})?this[_0x20e6ba(0x20d)](_0x14bd3e,_0x4f5849[_0x20e6ba(0x174)]??''):null;}['insertTableFromData'](_0x2cd433,_0x5f469={}){const _0xe8d837=_0x51a194;let _0x431e6e=this[_0xe8d837(0x1a4)][_0xe8d837(0x15f)](t['ICommandService']),_0x18b3f0=_0x5f469[_0xe8d837(0x151)]??(0x0,t[_0xe8d837(0x184)])(0x6);return _0x431e6e['syncExecuteCommand'](e[_0xe8d837(0x1d1)]['id'],{..._0x5f469,'unitId':this[_0xe8d837(0x1ee)](),'values':_0x2cd433,'tableId':_0x18b3f0})?this[_0xe8d837(0x20d)](_0x18b3f0,_0x5f469[_0xe8d837(0x174)]??''):null;}['_getTables'](_0x4fad72=''){const _0x16a30b=_0x51a194;let {tables:_0x4f84b3=[]}=this[_0x16a30b(0x172)](_0x4fad72);return _0x4f84b3;}[_0x51a194(0x1aa)](_0x3bdc9b=''){const _0x15d548=_0x51a194;let _0x2ee7a0=this[_0x15d548(0x1ad)]()['getSnapshot']();return _0x3bdc9b?{...this[_0x15d548(0x1ad)](_0x3bdc9b)['getSnapshot'](),'documentStyle':_0x2ee7a0['documentStyle'],'tableSource':_0x2ee7a0['tableSource']}:_0x2ee7a0;}[_0x51a194(0x20d)](_0x5d7112,_0x456b1d=''){const _0xe28257=_0x51a194;return this[_0xe28257(0x1a4)][_0xe28257(0x19f)](f,this,_0x5d7112,_0x456b1d);}[_0x51a194(0x1cd)](_0x4fca3b,_0x22939e,_0xdcd02f){const _0x40e7c6=_0x51a194;var _0x417bf5;let _0xea7d8e=(0x0,e[_0x40e7c6(0x1ec)])(_0x4fca3b,_0x22939e);if(!_0xea7d8e)return!0x1;let _0x5d6980=(_0x417bf5=_0x4fca3b['body'])==null?void 0x0:_0x417bf5[_0x40e7c6(0x14c)];return _0x5d6980?_0x5d6980[_0x40e7c6(0x199)](_0xea7d8e[_0x40e7c6(0x16b)],_0xea7d8e['endOffset'])[_0x40e7c6(0x1e4)](_0xdcd02f):!0x1;}['_rowContainsText'](_0x19e06f,_0x3a7df5,_0x5a3e11){const _0x3ad4a5=_0x51a194;return Array[_0x3ad4a5(0x156)]({'length':_0x19e06f[_0x3ad4a5(0x1b0)]()},(_0x598f1d,_0x66d74)=>_0x19e06f[_0x3ad4a5(0x13b)](_0x3a7df5,_0x66d74))[_0x3ad4a5(0x152)](_0x1a4824=>_0x1a4824[_0x3ad4a5(0x1e4)](_0x5a3e11));}};r['FDocument'][_0x51a194(0x20c)](p),Object['defineProperty'](exports,_0x51a194(0x1f4),{'enumerable':!0x0,'get':function(){return f;}}),exports[_0x51a194(0x189)]=a;