@univerjs-pro/docs-table 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  import type { IDocumentBody } from '@univerjs/core';
2
2
  export declare const DocsTableColumnDataStreamTreeTokenType: {
3
- readonly COLUMN_GROUP_START: "\u0012";
4
- readonly COLUMN_START: "\u0013";
5
- readonly COLUMN_END: "\u0014";
6
- readonly COLUMN_GROUP_END: "\u0015";
3
+ readonly COLUMN_GROUP_START: '\u0012';
4
+ readonly COLUMN_START: '\u0013';
5
+ readonly COLUMN_END: '\u0014';
6
+ readonly COLUMN_GROUP_END: '\u0015';
7
7
  };
8
8
  export interface IDocsTableColumnGroupRange {
9
9
  columnGroupId: string;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x879461,_0x365a63){const _0x40aa39=_0x38aa,_0xd1fa82=_0x879461();while(!![]){try{const _0x9e04f=-parseInt(_0x40aa39(0x202))/0x1+-parseInt(_0x40aa39(0x243))/0x2+-parseInt(_0x40aa39(0x250))/0x3*(parseInt(_0x40aa39(0x23e))/0x4)+parseInt(_0x40aa39(0x24d))/0x5+parseInt(_0x40aa39(0x226))/0x6*(-parseInt(_0x40aa39(0x1f2))/0x7)+parseInt(_0x40aa39(0x223))/0x8+parseInt(_0x40aa39(0x1b1))/0x9*(parseInt(_0x40aa39(0x24a))/0xa);if(_0x9e04f===_0x365a63)break;else _0xd1fa82['push'](_0xd1fa82['shift']());}catch(_0x162010){_0xd1fa82['push'](_0xd1fa82['shift']());}}}(_0x15f3,0x2b9eb),function(_0x5affbf,_0x598a1f){const _0x247a23=_0x38aa;typeof exports==_0x247a23(0x28a)&&typeof module<'u'?_0x598a1f(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x247a23(0x1e5)&&define[_0x247a23(0x1f8)]?define(['exports',_0x247a23(0x221),'@univerjs/core',_0x247a23(0x1bb),'@univerjs/docs/facade'],_0x598a1f):(_0x5affbf=typeof globalThis<'u'?globalThis:_0x5affbf||self,_0x598a1f(_0x5affbf[_0x247a23(0x24c)]={},_0x5affbf[_0x247a23(0x1e4)],_0x5affbf['UniverCore'],_0x5affbf['UniverCoreFacade'],_0x5affbf[_0x247a23(0x1d9)]));}(this,function(_0x31d60b,_0x23f840,_0x35ecf7,_0x1e0e66,_0x5a9859){const _0x55d57c=_0x38aa;Object[_0x55d57c(0x206)](_0x31d60b,Symbol[_0x55d57c(0x207)],{'value':_0x55d57c(0x289)});var _0x2b5fd0=class extends _0x1e0e66['FEnum']{get[_0x55d57c(0x25c)](){const _0x579bd4=_0x55d57c;return _0x23f840[_0x579bd4(0x25c)];}get['DocsTableColumnType'](){return _0x23f840['DocsTableColumnType'];}get[_0x55d57c(0x25e)](){const _0x1a1a7b=_0x55d57c;return _0x23f840[_0x1a1a7b(0x25e)];}get[_0x55d57c(0x272)](){return _0x23f840['DocsTableRowInsertPosition'];}get[_0x55d57c(0x24f)](){const _0x2d64aa=_0x55d57c;return _0x23f840[_0x2d64aa(0x24f)];}get[_0x55d57c(0x22c)](){const _0x17a4f4=_0x55d57c;return _0x23f840[_0x17a4f4(0x22c)];}get[_0x55d57c(0x22b)](){return _0x23f840['DocsTableSortDirection'];}get[_0x55d57c(0x265)](){return _0x35ecf7['DashStyleType'];}};_0x1e0e66[_0x55d57c(0x1e0)][_0x55d57c(0x1fd)](_0x2b5fd0);var _0x375d01=class{constructor(_0x2740e5,_0x2269a6,_0xa0bc6c){const _0x349359=_0x55d57c;this[_0x349359(0x1dc)]=_0x2740e5,this['_row']=_0x2269a6,this[_0x349359(0x1f0)]=_0xa0bc6c;}[_0x55d57c(0x23f)](){const _0x21f100=_0x55d57c;return this[_0x21f100(0x1dc)];}[_0x55d57c(0x209)](){const _0x4c6ee2=_0x55d57c;return this[_0x4c6ee2(0x1db)];}[_0x55d57c(0x1ac)](){const _0x235d4f=_0x55d57c;return this[_0x235d4f(0x1f0)];}['getText'](){const _0x1d676b=_0x55d57c;return this['_table'][_0x1d676b(0x271)](this[_0x1d676b(0x1db)],this[_0x1d676b(0x1f0)]);}['getContentRange'](){const _0x561f46=_0x55d57c;return this['_table'][_0x561f46(0x1c0)](this[_0x561f46(0x1db)],this[_0x561f46(0x1f0)]);}['getInsertOffset'](){const _0x42a58f=_0x55d57c;return this[_0x42a58f(0x1dc)][_0x42a58f(0x205)](this[_0x42a58f(0x1db)],this[_0x42a58f(0x1f0)]);}[_0x55d57c(0x236)](){const _0x2abb01=_0x55d57c;return this[_0x2abb01(0x1dc)][_0x2abb01(0x25a)](this[_0x2abb01(0x1db)],this['_column']);}[_0x55d57c(0x283)](){const _0x219a6=_0x55d57c;return this[_0x219a6(0x1dc)][_0x219a6(0x1ed)](this['_row'],this[_0x219a6(0x1f0)]);}[_0x55d57c(0x241)](_0x21eeea){const _0x187719=_0x55d57c;return this['_table'][_0x187719(0x246)](this[_0x187719(0x1dc)][_0x187719(0x1fb)](this[_0x187719(0x1db)],this[_0x187719(0x1f0)]),_0x21eeea);}['clearMarginOverride'](){const _0x103076=_0x55d57c;return this[_0x103076(0x1dc)][_0x103076(0x246)](this['_table'][_0x103076(0x1fb)](this[_0x103076(0x1db)],this[_0x103076(0x1f0)]),null);}[_0x55d57c(0x24b)](_0x486b20){const _0x11d76f=_0x55d57c;return this[_0x11d76f(0x1dc)][_0x11d76f(0x264)](this['_row'],this['_column'],_0x486b20);}[_0x55d57c(0x229)](_0x4cf455){const _0x53e0e4=_0x55d57c;return this[_0x53e0e4(0x1dc)]['setCellBackground'](this[_0x53e0e4(0x1dc)][_0x53e0e4(0x1fb)](this[_0x53e0e4(0x1db)],this['_column']),_0x4cf455);}[_0x55d57c(0x275)](_0x5dbcc1){const _0x528754=_0x55d57c;return this[_0x528754(0x1dc)]['setBorder'](this[_0x528754(0x1dc)][_0x528754(0x1fb)](this[_0x528754(0x1db)],this[_0x528754(0x1f0)]),_0x5dbcc1);}[_0x55d57c(0x1c1)](_0x3f21d6,_0x35c5b9){const _0x1bbd63=_0x55d57c;return this[_0x1bbd63(0x1dc)][_0x1bbd63(0x1da)]({'startRow':this[_0x1bbd63(0x1db)],'startColumn':this['_column'],'endRow':this['_row']+_0x3f21d6-0x1,'endColumn':this[_0x1bbd63(0x1f0)]+_0x35c5b9-0x1});}[_0x55d57c(0x1b9)](){const _0x559222=_0x55d57c;return this[_0x559222(0x1dc)]['unmergeCells'](this[_0x559222(0x1dc)][_0x559222(0x1fb)](this[_0x559222(0x1db)],this[_0x559222(0x1f0)]));}};function _0x5ea136(_0x96605c){'@babel/helpers - typeof';const _0x51dbfe=_0x55d57c;return _0x5ea136=typeof Symbol=='function'&&typeof Symbol[_0x51dbfe(0x23d)]==_0x51dbfe(0x237)?function(_0x3cdd3b){return typeof _0x3cdd3b;}:function(_0x81c67e){const _0x41729d=_0x51dbfe;return _0x81c67e&&typeof Symbol==_0x41729d(0x1e5)&&_0x81c67e[_0x41729d(0x1b4)]===Symbol&&_0x81c67e!==Symbol[_0x41729d(0x1e6)]?_0x41729d(0x237):typeof _0x81c67e;},_0x5ea136(_0x96605c);}function _0x5f0774(_0xe16acc,_0x2a0a6d){const _0x6e7c18=_0x55d57c;if(_0x5ea136(_0xe16acc)!=_0x6e7c18(0x28a)||!_0xe16acc)return _0xe16acc;var _0x1bfb0d=_0xe16acc[Symbol['toPrimitive']];if(_0x1bfb0d!==void 0x0){var _0x1189dd=_0x1bfb0d[_0x6e7c18(0x228)](_0xe16acc,_0x2a0a6d||_0x6e7c18(0x25d));if(_0x5ea136(_0x1189dd)!=_0x6e7c18(0x28a))return _0x1189dd;throw TypeError(_0x6e7c18(0x1ea));}return(_0x2a0a6d==='string'?String:Number)(_0xe16acc);}function _0x5db300(_0xa66c9c){const _0x5dc9b3=_0x55d57c;var _0x444030=_0x5f0774(_0xa66c9c,_0x5dc9b3(0x277));return _0x5ea136(_0x444030)==_0x5dc9b3(0x237)?_0x444030:_0x444030+'';}function _0x5a6c5e(_0x4aeca7,_0x216d1a,_0x5536d7){const _0x294135=_0x55d57c;return(_0x216d1a=_0x5db300(_0x216d1a))in _0x4aeca7?Object[_0x294135(0x206)](_0x4aeca7,_0x216d1a,{'value':_0x5536d7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4aeca7[_0x216d1a]=_0x5536d7,_0x4aeca7;}function _0xb58257(_0x57dad4,_0x139b8d){return function(_0x3dc339,_0x47e703){_0x139b8d(_0x3dc339,_0x47e703,_0x57dad4);};}function _0x4e5de4(_0x56b8df,_0x54b5f3,_0x2312e3,_0x432806){const _0x256cb9=_0x55d57c;var _0x46bc92=arguments[_0x256cb9(0x1fa)],_0x126ae6=_0x46bc92<0x3?_0x54b5f3:_0x432806===null?_0x432806=Object[_0x256cb9(0x22a)](_0x54b5f3,_0x2312e3):_0x432806,_0x99a03b;if(typeof Reflect=='object'&&typeof Reflect[_0x256cb9(0x1d7)]==_0x256cb9(0x1e5))_0x126ae6=Reflect[_0x256cb9(0x1d7)](_0x56b8df,_0x54b5f3,_0x2312e3,_0x432806);else{for(var _0x46157e=_0x56b8df[_0x256cb9(0x1fa)]-0x1;_0x46157e>=0x0;_0x46157e--)(_0x99a03b=_0x56b8df[_0x46157e])&&(_0x126ae6=(_0x46bc92<0x3?_0x99a03b(_0x126ae6):_0x46bc92>0x3?_0x99a03b(_0x54b5f3,_0x2312e3,_0x126ae6):_0x99a03b(_0x54b5f3,_0x2312e3))||_0x126ae6);}return _0x46bc92>0x3&&_0x126ae6&&Object[_0x256cb9(0x206)](_0x54b5f3,_0x2312e3,_0x126ae6),_0x126ae6;}let _0x4d92f2=class{constructor(_0x1aa666,_0x3a9be7,_0x322a15,_0x1d7a9f,_0xeff840){const _0xa85aa8=_0x55d57c;this['_document']=_0x1aa666,this[_0xa85aa8(0x247)]=_0x3a9be7,this[_0xa85aa8(0x1de)]=_0x322a15,this[_0xa85aa8(0x23c)]=_0x1d7a9f,this[_0xa85aa8(0x278)]=_0xeff840,_0x5a6c5e(this,_0xa85aa8(0x284),void 0x0),this[_0xa85aa8(0x284)]=this[_0xa85aa8(0x27c)][_0xa85aa8(0x222)]();}['getId'](){const _0x92af4c=_0x55d57c;return this[_0x92af4c(0x247)];}[_0x55d57c(0x28b)](){const _0x274191=_0x55d57c;return this[_0x274191(0x1de)];}['getInfo'](){const _0x1c449c=_0x55d57c;return{'id':this[_0x1c449c(0x247)],'rowCount':this[_0x1c449c(0x1c9)](),'columnCount':this[_0x1c449c(0x220)](),'metadata':this[_0x1c449c(0x254)](),'source':this[_0x1c449c(0x1e2)]()};}[_0x55d57c(0x26d)](){const _0x472acf=_0x55d57c;let _0x17ef48=this[_0x472acf(0x254)](),_0x1a821e=this[_0x472acf(0x1e2)](),_0x3f41fa=this['getColumnCount']();return{'id':this['_tableId'],'rowCount':this['getRowCount'](),'columnCount':_0x3f41fa,'headerRowCount':(_0x17ef48==null?void 0x0:_0x17ef48[_0x472acf(0x249)])??0x0,'titleRow':(_0x17ef48==null?void 0x0:_0x17ef48[_0x472acf(0x1b6)])??!0x1,'columns':Array['from']({'length':_0x3f41fa},(_0x5a3e69,_0x36bbbd)=>{const _0x5478f4=_0x472acf;var _0x13caf9,_0x518990;return{'index':_0x36bbbd,'type':_0x17ef48==null||(_0x13caf9=_0x17ef48[_0x5478f4(0x274)])==null||(_0x13caf9=_0x13caf9[_0x36bbbd])==null?void 0x0:_0x13caf9[_0x5478f4(0x23b)],'width':_0x1a821e==null||(_0x518990=_0x1a821e['tableColumns'][_0x36bbbd])==null?void 0x0:_0x518990['size'][_0x5478f4(0x1e9)]['v']};}),'sampleRows':Array[_0x472acf(0x1ad)]({'length':this['getRowCount']()},(_0x3f2b81,_0xc1696a)=>Array[_0x472acf(0x1ad)]({'length':_0x3f41fa},(_0x5cbd28,_0x250650)=>this[_0x472acf(0x271)](_0xc1696a,_0x250650)))[_0x472acf(0x1f1)](_0x3f71d0=>_0x3f71d0[_0x472acf(0x26c)](_0x8d027f=>_0x8d027f[_0x472acf(0x1fa)]>0x0))[_0x472acf(0x231)](0x0,0x5)};}[_0x55d57c(0x1c9)](){const _0x241687=_0x55d57c;var _0x27d528;return((_0x27d528=this[_0x241687(0x1e2)]())==null?void 0x0:_0x27d528[_0x241687(0x1af)][_0x241687(0x1fa)])??0x0;}[_0x55d57c(0x220)](){const _0x5b823d=_0x55d57c;var _0xfe24d;return((_0xfe24d=this[_0x5b823d(0x1e2)]())==null?void 0x0:_0xfe24d[_0x5b823d(0x1ee)][_0x5b823d(0x1fa)])??0x0;}['getCell'](_0x23536e,_0x44df00){const _0x1079cf=_0x55d57c;var _0x12f00b;return(_0x12f00b=this[_0x1079cf(0x1e2)]())!=null&&(_0x12f00b=_0x12f00b[_0x1079cf(0x1af)][_0x23536e])!=null&&_0x12f00b[_0x1079cf(0x20b)][_0x44df00]?this[_0x1079cf(0x278)][_0x1079cf(0x25b)](_0x375d01,this,_0x23536e,_0x44df00):null;}[_0x55d57c(0x271)](_0xc24a3,_0x31b860){const _0x2a352e=_0x55d57c;var _0x2dc595,_0x80977c;let _0x15b48b=(_0x2dc595=(0x0,_0x23f840[_0x2a352e(0x276)])(this[_0x2a352e(0x27b)](),this[_0x2a352e(0x247)]))==null||(_0x2dc595=_0x2dc595[_0x2a352e(0x20a)][_0xc24a3])==null?void 0x0:_0x2dc595[_0x2a352e(0x286)][_0x31b860];return _0x15b48b?((_0x80977c=this[_0x2a352e(0x27b)]()[_0x2a352e(0x20f)])==null?void 0x0:_0x80977c[_0x2a352e(0x260)]['slice'](_0x15b48b['startOffset']+0x1,_0x15b48b[_0x2a352e(0x212)])['replace'](/\r\n$/,''))??'':'';}[_0x55d57c(0x25a)](_0x219f91,_0x535637){const _0x5f40bb=_0x55d57c;var _0x2c3839;let _0x4b65f3=this[_0x5f40bb(0x1e2)](),_0x3a8875=_0x4b65f3==null||(_0x2c3839=_0x4b65f3[_0x5f40bb(0x1af)][_0x219f91])==null?void 0x0:_0x2c3839[_0x5f40bb(0x20b)][_0x535637];return _0x3a8875?_0x35ecf7[_0x5f40bb(0x1b7)][_0x5f40bb(0x1ca)](_0x3a8875[_0x5f40bb(0x287)]??_0x4b65f3[_0x5f40bb(0x1fc)]??_0x23f840[_0x5f40bb(0x267)]):null;}[_0x55d57c(0x1ed)](_0x5133fc,_0x61116){const _0x548539=_0x55d57c;var _0xb8388f;let _0x20b9ee=(_0xb8388f=this[_0x548539(0x1e2)]())==null||(_0xb8388f=_0xb8388f[_0x548539(0x1af)][_0x5133fc])==null?void 0x0:_0xb8388f['tableCells'][_0x61116];return _0x20b9ee!=null&&_0x20b9ee[_0x548539(0x287)]?_0x35ecf7[_0x548539(0x1b7)][_0x548539(0x1ca)](_0x20b9ee[_0x548539(0x287)]):null;}[_0x55d57c(0x1bf)](){const _0x5d43c3=_0x55d57c;var _0x46d2df;return _0x35ecf7[_0x5d43c3(0x1b7)][_0x5d43c3(0x1ca)](((_0x46d2df=this['getSource']())==null?void 0x0:_0x46d2df[_0x5d43c3(0x1fc)])??_0x23f840[_0x5d43c3(0x267)]);}[_0x55d57c(0x261)](){const _0xb42f30=_0x55d57c;var _0xf1187c;let _0x34f15a=(_0xf1187c=this[_0xb42f30(0x1e2)]())==null?void 0x0:_0xf1187c[_0xb42f30(0x1fc)];return _0x34f15a?_0x35ecf7['Tools']['deepClone'](_0x34f15a):null;}[_0x55d57c(0x254)](){const _0x3408ae=_0x55d57c;let _0x7c085c=this[_0x3408ae(0x278)][_0x3408ae(0x1d6)](_0x23f840[_0x3408ae(0x1f5)]),_0x4bc7ee=this[_0x3408ae(0x1e2)]();return _0x4bc7ee?_0x7c085c[_0x3408ae(0x1c3)](this[_0x3408ae(0x284)],_0x4bc7ee):void 0x0;}[_0x55d57c(0x1e2)](){const _0x62272d=_0x55d57c;var _0x2255f0;return(_0x2255f0=this[_0x62272d(0x27b)]()[_0x62272d(0x22d)])==null?void 0x0:_0x2255f0[this[_0x62272d(0x247)]];}[_0x55d57c(0x1cd)](){const _0x31cacf=_0x55d57c;return(0x0,_0x23f840['getTableRangeById'])(this[_0x31cacf(0x27b)](),this[_0x31cacf(0x247)]);}[_0x55d57c(0x1d4)](){const _0x48c458=_0x55d57c;return{'startRow':0x0,'endRow':Math[_0x48c458(0x27d)](0x0,this[_0x48c458(0x1c9)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x48c458(0x27d)](0x0,this[_0x48c458(0x220)]()-0x1)};}[_0x55d57c(0x1fb)](_0xac6a9c,_0x3775b9){return{'startRow':_0xac6a9c,'endRow':_0xac6a9c,'startColumn':_0x3775b9,'endColumn':_0x3775b9};}[_0x55d57c(0x1c0)](_0x4a0e4a,_0x48d5e4){const _0x14ea3c=_0x55d57c;var _0x1f9463;let _0x473ef1=(_0x1f9463=(0x0,_0x23f840[_0x14ea3c(0x276)])(this[_0x14ea3c(0x27b)](),this[_0x14ea3c(0x247)]))==null||(_0x1f9463=_0x1f9463['rows'][_0x4a0e4a])==null?void 0x0:_0x1f9463[_0x14ea3c(0x286)][_0x48d5e4];if(!_0x473ef1)return null;let _0xceb7ca=_0x473ef1[_0x14ea3c(0x270)]+0x1;return{'startOffset':_0xceb7ca,'endOffset':Math[_0x14ea3c(0x27d)](_0xceb7ca,_0x473ef1[_0x14ea3c(0x212)]-0x1),'segmentId':this[_0x14ea3c(0x1de)]};}[_0x55d57c(0x205)](_0x23d739,_0x5dcb4d){const _0x5a4f61=_0x55d57c;let _0x22dc0f=this[_0x5a4f61(0x1c0)](_0x23d739,_0x5dcb4d);return _0x22dc0f?Math[_0x5a4f61(0x27d)](_0x22dc0f[_0x5a4f61(0x270)],_0x22dc0f[_0x5a4f61(0x212)]-0x1):null;}[_0x55d57c(0x1ce)](_0x2edd03){return this['getRowsRange'](_0x2edd03,0x1);}['getRowsRange'](_0x3118ad,_0x153fa9=0x1){const _0x513c35=_0x55d57c;return{'startRow':_0x3118ad,'endRow':_0x3118ad+_0x153fa9-0x1,'startColumn':0x0,'endColumn':Math[_0x513c35(0x27d)](0x0,this[_0x513c35(0x220)]()-0x1)};}['getColumnRange'](_0x5f29a5){const _0x571d97=_0x55d57c;return this[_0x571d97(0x24e)](_0x5f29a5,0x1);}[_0x55d57c(0x24e)](_0xdd3aea,_0x1296d2=0x1){const _0x797043=_0x55d57c;return{'startRow':0x0,'endRow':Math[_0x797043(0x27d)](0x0,this[_0x797043(0x1c9)]()-0x1),'startColumn':_0xdd3aea,'endColumn':_0xdd3aea+_0x1296d2-0x1};}[_0x55d57c(0x1c4)](){const _0x266ea5=_0x55d57c;return this[_0x266ea5(0x235)](this[_0x266ea5(0x1d4)](),_0x23f840['DocsTableSelectionKind'][_0x266ea5(0x225)]);}[_0x55d57c(0x252)](_0x110e66){return this['selectRows'](_0x110e66,0x1);}['selectRows'](_0x1daf4a,_0x54e27a=0x1){const _0xa96936=_0x55d57c;return this[_0xa96936(0x235)](this[_0xa96936(0x1c5)](_0x1daf4a,_0x54e27a),_0x23f840['DocsTableSelectionKind'][_0xa96936(0x234)]);}[_0x55d57c(0x244)](_0xf59cc8){const _0x4076f1=_0x55d57c;return this[_0x4076f1(0x208)](_0xf59cc8,0x1);}[_0x55d57c(0x208)](_0xdfbdf8,_0x1cb253=0x1){const _0xd7a860=_0x55d57c;return this[_0xd7a860(0x235)](this[_0xd7a860(0x24e)](_0xdfbdf8,_0x1cb253),_0x23f840[_0xd7a860(0x25e)][_0xd7a860(0x218)]);}[_0x55d57c(0x203)](_0x2a71a1,_0x58f3ae){const _0x4a3f86=_0x55d57c;return this[_0x4a3f86(0x235)](this[_0x4a3f86(0x1fb)](_0x2a71a1,_0x58f3ae),_0x23f840[_0x4a3f86(0x25e)][_0x4a3f86(0x1d8)]);}['selectRange'](_0x40da7c,_0x4e5d4a=_0x23f840['DocsTableSelectionKind'][_0x55d57c(0x204)]){const _0x50440a=_0x55d57c;return this[_0x50440a(0x278)][_0x50440a(0x1d6)](_0x23f840[_0x50440a(0x1e1)])['setStructuralSelection']({..._0x40da7c,'kind':_0x4e5d4a,'segmentId':this[_0x50440a(0x1de)],'tableId':this['_tableId']}),!0x0;}[_0x55d57c(0x20e)](_0x633d15){const _0x4c7ccc=_0x55d57c;return this[_0x4c7ccc(0x263)](_0x633d15,0x1);}[_0x55d57c(0x21e)](_0x301cd1){const _0x270e6a=_0x55d57c;return this[_0x270e6a(0x27e)](_0x301cd1,0x1);}[_0x55d57c(0x263)](_0x5d8a7a,_0x15d977){const _0x3cc906=_0x55d57c;let _0x6349eb=this[_0x3cc906(0x27b)](),_0x374904=(0x0,_0x23f840['buildInsertTableRowsMutationActions'])(_0x6349eb,this['_tableId'],_0x5d8a7a,_0x15d977,_0x23f840[_0x3cc906(0x269)][_0x3cc906(0x1f7)],this[_0x3cc906(0x1c8)]());return _0x374904?this['_mutateActions'](_0x6349eb,_0x374904[_0x3cc906(0x211)]):!0x1;}['insertRowsAfter'](_0x54a28f,_0x3cc08e){const _0x21b655=_0x55d57c;let _0x4b9367=this['_getDocumentData'](),_0x4d8fa6=(0x0,_0x23f840['buildInsertTableRowsMutationActions'])(_0x4b9367,this[_0x21b655(0x247)],_0x54a28f,_0x3cc08e,_0x23f840[_0x21b655(0x269)][_0x21b655(0x21c)],this[_0x21b655(0x1c8)]());return _0x4d8fa6?this[_0x21b655(0x1e3)](_0x4b9367,_0x4d8fa6['actions']):!0x1;}[_0x55d57c(0x240)](){const _0x6b0e97=_0x55d57c;return this[_0x6b0e97(0x27e)](Math[_0x6b0e97(0x27d)](0x0,this[_0x6b0e97(0x1c9)]()-0x1),0x1);}['insertColumnBefore'](_0x7c6d7f){const _0x21f965=_0x55d57c;return this[_0x21f965(0x20d)](_0x7c6d7f,0x1);}[_0x55d57c(0x230)](_0x22ffba){const _0x5eb673=_0x55d57c;return this[_0x5eb673(0x22f)](_0x22ffba,0x1);}[_0x55d57c(0x20d)](_0xe0fa4,_0x3862ff){const _0x521e4e=_0x55d57c;let _0x16b4f5=this[_0x521e4e(0x27b)](),_0x1e39af=(0x0,_0x23f840[_0x521e4e(0x1ba)])(_0x16b4f5,this[_0x521e4e(0x247)],_0xe0fa4,_0x3862ff,_0x23f840[_0x521e4e(0x269)]['Left'],{'bodyPath':this[_0x521e4e(0x1c8)]()});return _0x1e39af?this[_0x521e4e(0x1e3)](_0x16b4f5,_0x1e39af[_0x521e4e(0x211)]):!0x1;}[_0x55d57c(0x22f)](_0x225040,_0x31a63e){const _0x9a6ac9=_0x55d57c;let _0x5bdf69=this['_getDocumentData'](),_0x56611f=(0x0,_0x23f840['buildInsertTableColumnsMutationActions'])(_0x5bdf69,this[_0x9a6ac9(0x247)],_0x225040,_0x31a63e,_0x23f840[_0x9a6ac9(0x269)][_0x9a6ac9(0x213)],{'bodyPath':this[_0x9a6ac9(0x1c8)]()});return _0x56611f?this[_0x9a6ac9(0x1e3)](_0x5bdf69,_0x56611f[_0x9a6ac9(0x211)]):!0x1;}[_0x55d57c(0x26f)](){const _0x30292d=_0x55d57c;return this[_0x30292d(0x22f)](Math[_0x30292d(0x27d)](0x0,this[_0x30292d(0x220)]()-0x1),0x1);}[_0x55d57c(0x21b)](_0x2fa22c){const _0x15f222=_0x55d57c;return this[_0x15f222(0x1f4)](_0x2fa22c,0x1);}[_0x55d57c(0x1f4)](_0x106a46,_0x45ca2=0x1){const _0x3fca0d=_0x55d57c;return!!this[_0x3fca0d(0x23c)][_0x3fca0d(0x214)](_0x23f840[_0x3fca0d(0x227)]['id'],{'endRow':_0x106a46+_0x45ca2-0x1,'segmentId':this['_segmentId'],'startRow':_0x106a46,'tableId':this[_0x3fca0d(0x247)],'unitId':this[_0x3fca0d(0x284)]});}[_0x55d57c(0x242)](_0x18bbaa){const _0x5b39f7=_0x55d57c;return this[_0x5b39f7(0x1c7)](_0x18bbaa,0x1);}[_0x55d57c(0x1c7)](_0x51e2fa,_0x144ea8=0x1){const _0x3d2979=_0x55d57c;return!!this[_0x3d2979(0x23c)][_0x3d2979(0x214)](_0x23f840[_0x3d2979(0x1e7)]['id'],{'endColumn':_0x51e2fa+_0x144ea8-0x1,'segmentId':this['_segmentId'],'startColumn':_0x51e2fa,'tableId':this[_0x3d2979(0x247)],'unitId':this[_0x3d2979(0x284)]});}['deleteTable'](){const _0x217704=_0x55d57c;return!!this[_0x217704(0x23c)][_0x217704(0x214)](_0x23f840[_0x217704(0x1ef)]['id'],{'segmentId':this[_0x217704(0x1de)],'tableId':this[_0x217704(0x247)],'unitId':this[_0x217704(0x284)]});}['moveTableBy'](_0x1cc351,_0x5cb087){const _0x139fce=_0x55d57c;let _0x26187d=this['_getDocumentData']();return this[_0x139fce(0x1e3)](_0x26187d,(0x0,_0x23f840[_0x139fce(0x217)])(_0x26187d,this[_0x139fce(0x247)],_0x1cc351,_0x5cb087));}[_0x55d57c(0x1dd)](_0x5ecf2f){const _0x20a0ca=_0x55d57c;let _0x52a97d=this[_0x20a0ca(0x27b)]();return this[_0x20a0ca(0x1e3)](_0x52a97d,(0x0,_0x23f840[_0x20a0ca(0x201)])(_0x52a97d,this[_0x20a0ca(0x247)],_0x5ecf2f,this[_0x20a0ca(0x1c8)]()));}[_0x55d57c(0x1ff)](_0x1b368d,_0x29e5a0,_0x13a020=_0x23f840['DocsTableInsertPosition'][_0x55d57c(0x1f7)]){const _0x27368d=_0x55d57c;return this[_0x27368d(0x266)](_0x1b368d,0x1,_0x29e5a0,_0x13a020);}[_0x55d57c(0x266)](_0x4d7e1c,_0xba0c7b,_0x3b3f70,_0x2d8d00=_0x23f840[_0x55d57c(0x269)][_0x55d57c(0x1f7)]){const _0x1ae373=_0x55d57c;let _0xb08399=this[_0x1ae373(0x27b)](),_0x5c89ea=(0x0,_0x23f840['buildMoveTableRowsMutationActions'])(_0xb08399,this[_0x1ae373(0x247)],_0x4d7e1c,_0x3b3f70,_0xba0c7b,_0x2d8d00,this[_0x1ae373(0x1c8)]());return _0x5c89ea?this['_mutateActions'](_0xb08399,_0x5c89ea[_0x1ae373(0x211)]):!0x1;}['moveColumn'](_0x5ed3ed,_0x229550,_0xccaa5a=_0x23f840[_0x55d57c(0x269)]['Left']){return this['moveColumns'](_0x5ed3ed,0x1,_0x229550,_0xccaa5a);}[_0x55d57c(0x21a)](_0x473483,_0x4668ad,_0x4fcd9f,_0x4eb25d=_0x23f840[_0x55d57c(0x269)][_0x55d57c(0x285)]){const _0x136e1a=_0x55d57c;let _0x3d5a83=this[_0x136e1a(0x27b)](),_0x1994f2=(0x0,_0x23f840[_0x136e1a(0x256)])(_0x3d5a83,this[_0x136e1a(0x247)],_0x473483,_0x4fcd9f,_0x4668ad,_0x4eb25d,this[_0x136e1a(0x1c8)]());return _0x1994f2?this[_0x136e1a(0x1e3)](_0x3d5a83,_0x1994f2[_0x136e1a(0x211)]):!0x1;}[_0x55d57c(0x1da)](_0x429d73){const _0xd7f4b2=_0x55d57c;try{let _0x9f2b44=this[_0xd7f4b2(0x27b)](),_0x144a84=(0x0,_0x23f840[_0xd7f4b2(0x238)])({'documentData':_0x9f2b44,'tableId':this[_0xd7f4b2(0x247)],..._0x429d73});return _0x144a84?this[_0xd7f4b2(0x1e3)](_0x9f2b44,_0x144a84[_0xd7f4b2(0x211)],_0x429d73):!0x1;}catch{return!0x1;}}[_0x55d57c(0x1ab)](_0x403351){const _0x4e98b3=_0x55d57c;try{let _0x2fefdb=this[_0x4e98b3(0x27b)](),_0x14d7ce=(0x0,_0x23f840[_0x4e98b3(0x268)])({'documentData':_0x2fefdb,'tableId':this[_0x4e98b3(0x247)],..._0x403351});return _0x14d7ce?this[_0x4e98b3(0x1e3)](_0x2fefdb,_0x14d7ce[_0x4e98b3(0x211)],_0x403351):!0x1;}catch{return!0x1;}}[_0x55d57c(0x264)](_0x17c373,_0x509bb4,_0x59297d){const _0x136355=_0x55d57c;let _0x5556ee=this[_0x136355(0x27b)](),_0x35fc88=(0x0,_0x23f840['getTableActionBodyPath'])(this['_document']['getDocumentDataModel']()[_0x136355(0x1bc)](),this[_0x136355(0x1de)]);return this[_0x136355(0x1e3)](_0x5556ee,(0x0,_0x23f840[_0x136355(0x1c2)])({'documentData':_0x5556ee,'tableId':this[_0x136355(0x247)],'row':_0x17c373,'column':_0x509bb4,'text':_0x59297d},_0x35fc88),this[_0x136355(0x1fb)](_0x17c373,_0x509bb4));}['setCellBackground'](_0x37bd1c,_0x5275f4){const _0x3c84bb=_0x55d57c;let _0xc5c428=this['_getDocumentData']();return this[_0x3c84bb(0x1e3)](_0xc5c428,(0x0,_0x23f840[_0x3c84bb(0x288)])(_0xc5c428,{'tableId':this[_0x3c84bb(0x247)],..._0x37bd1c,'value':_0x5275f4}),_0x37bd1c);}[_0x55d57c(0x246)](_0x4df4ed,_0x2db6ad){const _0x223418=_0x55d57c;let _0x51163d=this[_0x223418(0x27b)]();return this['_mutateActions'](_0x51163d,(0x0,_0x23f840[_0x223418(0x255)])({'documentData':_0x51163d,'tableId':this['_tableId'],..._0x4df4ed,'margin':_0x2db6ad}),_0x4df4ed);}[_0x55d57c(0x216)](_0x1f2b81){const _0x29cf33=_0x55d57c;let _0xb3c9fa=this[_0x29cf33(0x27b)]();return this['_mutateActions'](_0xb3c9fa,(0x0,_0x23f840[_0x29cf33(0x251)])(_0xb3c9fa,this['_tableId'],_0x1f2b81));}[_0x55d57c(0x275)](_0x3fa136,_0x1c77c0){const _0x3b2dfb=_0x55d57c;let _0x43abbd=this[_0x3b2dfb(0x27b)]();return this[_0x3b2dfb(0x1e3)](_0x43abbd,this[_0x3b2dfb(0x1f9)](_0x43abbd,_0x3fa136,_0x1c77c0),_0x3fa136);}[_0x55d57c(0x233)](_0xd0e87){const _0x3e462d=_0x55d57c;return this[_0x3e462d(0x215)](this[_0x3e462d(0x1d4)](),_0xd0e87);}[_0x55d57c(0x28c)](_0x39e4fe){const _0x1f4091=_0x55d57c;return this[_0x1f4091(0x275)](this['getTableRange'](),_0x39e4fe);}['setTableStyle'](_0x19837a){const _0x49a02e=_0x55d57c;let _0x17b833=this['_getDocumentData'](),_0x5f48c9=this[_0x49a02e(0x1d4)](),_0x533de4=_0x19837a['backgroundColor']?(0x0,_0x23f840[_0x49a02e(0x288)])(_0x17b833,{'tableId':this['_tableId'],..._0x5f48c9,'value':_0x19837a[_0x49a02e(0x25f)]}):null,_0x5b0fb8=_0x19837a['border']?this[_0x49a02e(0x1f9)](_0x17b833,_0x5f48c9,_0x19837a[_0x49a02e(0x1c6)]):null;return this[_0x49a02e(0x1e3)](_0x17b833,_0x35ecf7[_0x49a02e(0x21f)][_0x49a02e(0x281)](_0x533de4,_0x5b0fb8),_0x5f48c9);}[_0x55d57c(0x210)](_0x3d7331,_0x124276,_0x150728=_0x35ecf7[_0x55d57c(0x1cb)][_0x55d57c(0x1fe)]){const _0x4fb865=_0x55d57c;var _0x3b0466;let _0x41b0dc=this[_0x4fb865(0x27b)]();return(_0x3b0466=_0x41b0dc['tableSource'])!=null&&(_0x3b0466=_0x3b0466[this[_0x4fb865(0x247)]])!=null&&_0x3b0466[_0x4fb865(0x1af)][_0x3d7331]?this[_0x4fb865(0x1e3)](_0x41b0dc,(0x0,_0x23f840[_0x4fb865(0x279)])(_0x41b0dc,this['_tableId'],_0x3d7331,_0x124276,_0x150728)):!0x1;}[_0x55d57c(0x273)](_0x2c390f){const _0x246d95=_0x55d57c;var _0x34fc46;let _0x5d3ea8=(_0x34fc46=this[_0x246d95(0x1e2)]())==null||(_0x34fc46=_0x34fc46[_0x246d95(0x1af)][_0x2c390f])==null?void 0x0:_0x34fc46[_0x246d95(0x1cc)];return _0x5d3ea8?_0x35ecf7[_0x246d95(0x1b7)]['deepClone'](_0x5d3ea8):null;}['setColumnWidth'](_0x29590d,_0xd7dde9){const _0x1c9b67=_0x55d57c;var _0x49c326;let _0x379015=this[_0x1c9b67(0x27b)]();return(_0x49c326=_0x379015[_0x1c9b67(0x22d)])!=null&&(_0x49c326=_0x49c326[this[_0x1c9b67(0x247)]])!=null&&_0x49c326[_0x1c9b67(0x1ee)][_0x29590d]?this[_0x1c9b67(0x1e3)](_0x379015,(0x0,_0x23f840[_0x1c9b67(0x1b5)])(_0x379015,this[_0x1c9b67(0x247)],_0x29590d,_0xd7dde9)):!0x1;}['distributeRows'](_0x13ec56=0x0,_0x10db6c=this[_0x55d57c(0x1c9)]()){const _0x5265a0=_0x55d57c;let _0x539efa=this[_0x5265a0(0x27b)]();return this[_0x5265a0(0x1e3)](_0x539efa,(0x0,_0x23f840[_0x5265a0(0x1b8)])(_0x539efa,this[_0x5265a0(0x247)],_0x13ec56,_0x13ec56+_0x10db6c-0x1));}['distributeColumns'](_0x106150=0x0,_0x2466e8=this[_0x55d57c(0x220)]()){const _0x4f57d7=_0x55d57c;let _0x4142d3=this[_0x4f57d7(0x27b)]();return this[_0x4f57d7(0x1e3)](_0x4142d3,(0x0,_0x23f840[_0x4f57d7(0x1be)])(_0x4142d3,this[_0x4f57d7(0x247)],_0x106150,_0x106150+_0x2466e8-0x1));}[_0x55d57c(0x1eb)](){var _0x6ce3f;return((_0x6ce3f=this['getMetadata']())==null?void 0x0:_0x6ce3f['headerRowCount'])??0x0;}['setHeaderRowCount'](_0x98c4f2){const _0x362e42=_0x55d57c;let _0x19e9c5=this['_getDocumentData'](),_0x451488=(0x0,_0x23f840[_0x362e42(0x1d0)])(_0x19e9c5,this[_0x362e42(0x247)],_0x98c4f2);return _0x451488?this['_mutateActions'](_0x19e9c5,_0x451488[_0x362e42(0x211)]):!0x1;}[_0x55d57c(0x224)](_0x300f0f){const _0x55d154=_0x55d57c;return this[_0x55d154(0x21d)](_0x300f0f);}[_0x55d57c(0x1ae)](){const _0x453b6d=_0x55d57c;var _0x19b7a7;return((_0x19b7a7=this[_0x453b6d(0x254)]())==null?void 0x0:_0x19b7a7[_0x453b6d(0x1b6)])??!0x1;}[_0x55d57c(0x258)](){const _0x56c358=_0x55d57c;let _0x2f5d8f=this[_0x56c358(0x27b)](),_0x119245=(0x0,_0x23f840['buildInsertTableTitleRowMutationActions'])(_0x2f5d8f,this[_0x56c358(0x247)],this[_0x56c358(0x1c8)]());return _0x119245?this[_0x56c358(0x1e3)](_0x2f5d8f,_0x119245[_0x56c358(0x211)]):!0x1;}[_0x55d57c(0x1b2)](_0x1cc8db,_0x12751a){const _0x979ba8=_0x55d57c;return!!this[_0x979ba8(0x23c)][_0x979ba8(0x214)](_0x23f840[_0x979ba8(0x27f)]['id'],{'unitId':this[_0x979ba8(0x284)],'tableId':this[_0x979ba8(0x247)],'segmentId':this['_segmentId'],'column':_0x1cc8db,'config':_0x12751a});}[_0x55d57c(0x23a)](_0x384ea8,_0x553a11){const _0x2f8b52=_0x55d57c;let _0x10d8d9=this[_0x2f8b52(0x27b)]();return this[_0x2f8b52(0x1e3)](_0x10d8d9,(0x0,_0x23f840[_0x2f8b52(0x22e)])(_0x10d8d9,this[_0x2f8b52(0x1d3)](),this['_tableId'],_0x384ea8,_0x553a11,this['_getBodyPath']()));}[_0x55d57c(0x1f9)](_0x80a343,_0x424f3e,_0x3e171d){const _0x29e109=_0x55d57c;return(0x0,_0x23f840[_0x29e109(0x262)])({'documentData':_0x80a343,'tableId':this['_tableId'],..._0x424f3e,'preset':_0x3e171d['preset']??_0x23f840['DocsTableBorderPreset'][_0x29e109(0x1d1)],'border':_0x3e171d[_0x29e109(0x1c6)]??{'color':{'rgb':_0x3e171d['color']??this[_0x29e109(0x278)][_0x29e109(0x1d6)](_0x35ecf7['ThemeService'])[_0x29e109(0x26b)]('gray.900')},'width':{'v':_0x3e171d[_0x29e109(0x1e9)]??0x1},'dashStyle':_0x35ecf7['DashStyleType']['SOLID']}});}['_getDocumentData'](){const _0x41afe1=_0x55d57c;let _0x36aa02=this['_document']['getDocumentDataModel']()[_0x41afe1(0x1bc)]();return this[_0x41afe1(0x1de)]?{...this[_0x41afe1(0x27c)][_0x41afe1(0x1d5)](this[_0x41afe1(0x1de)])[_0x41afe1(0x1bc)](),'documentStyle':_0x36aa02[_0x41afe1(0x232)],'tableSource':_0x36aa02[_0x41afe1(0x22d)]}:_0x36aa02;}[_0x55d57c(0x1d3)](){const _0x403169=_0x55d57c;return this[_0x403169(0x278)][_0x403169(0x1d6)](_0x23f840[_0x403169(0x1f5)])[_0x403169(0x1df)](this['_unitId'],this['_document'][_0x403169(0x1d5)]()['getSnapshot']());}[_0x55d57c(0x1c8)](){const _0x296de8=_0x55d57c;return(0x0,_0x23f840[_0x296de8(0x239)])(this['_document'][_0x296de8(0x1d5)]()[_0x296de8(0x1bc)](),this['_segmentId']);}['_mutateActions'](_0x3a4def,_0x57181d,_0x3331f9){const _0x4e706a=_0x55d57c;return(0x0,_0x23f840[_0x4e706a(0x282)])(this[_0x4e706a(0x23c)],this[_0x4e706a(0x284)],_0x3a4def,_0x57181d,_0x3331f9?{'tableId':this[_0x4e706a(0x247)],'segmentId':this[_0x4e706a(0x1de)],..._0x3331f9}:void 0x0);}};_0x4d92f2=_0x4e5de4([_0xb58257(0x3,_0x35ecf7['ICommandService']),_0xb58257(0x4,(0x0,_0x35ecf7[_0x55d57c(0x1bd)])(_0x35ecf7[_0x55d57c(0x1f6)]))],_0x4d92f2);var _0x21f137=class extends _0x5a9859[_0x55d57c(0x27a)]{[_0x55d57c(0x1e8)](_0x314f14=''){const _0x24c95f=_0x55d57c;return this[_0x24c95f(0x259)](_0x314f14)[_0x24c95f(0x219)](_0x133451=>this[_0x24c95f(0x280)](_0x133451[_0x24c95f(0x1b3)],_0x314f14));}[_0x55d57c(0x23f)](_0x311f9f,_0x5d72d5=''){const _0x22edde=_0x55d57c;return this[_0x22edde(0x259)](_0x5d72d5)[_0x22edde(0x26c)](_0xbfff4d=>_0xbfff4d[_0x22edde(0x1b3)]===_0x311f9f)?this[_0x22edde(0x280)](_0x311f9f,_0x5d72d5):null;}['getTableAt'](_0x4f8fbd,_0x53d0f1=''){const _0x58f074=_0x55d57c;var _0xb4a9e6;let _0x2024eb=(_0xb4a9e6=this[_0x58f074(0x259)](_0x53d0f1)[_0x4f8fbd])==null?void 0x0:_0xb4a9e6['tableId'];return _0x2024eb?this['_createFDocumentTable'](_0x2024eb,_0x53d0f1):null;}[_0x55d57c(0x253)](){const _0x5216f7=_0x55d57c;let _0xccc1e6=this[_0x5216f7(0x278)][_0x5216f7(0x1d6)](_0x23f840['DocsTableSelectionService'])['getStableTableSelection']();return _0xccc1e6!=null&&_0xccc1e6['tableId']?this[_0x5216f7(0x280)](_0xccc1e6[_0x5216f7(0x1b3)],_0xccc1e6['segmentId']):null;}[_0x55d57c(0x245)](_0x553573,_0x428792=''){return this['findTables'](_0x553573,_0x428792)[0x0]??null;}[_0x55d57c(0x26a)](_0x392e2f,_0x53d503=''){const _0xb3889=_0x55d57c;let _0x136811=this['_getTableDocumentData'](_0x53d503),_0xaefb28=typeof _0x392e2f==_0xb3889(0x277)?{'text':_0x392e2f}:_0x392e2f;return this[_0xb3889(0x1e8)](_0x53d503)[_0xb3889(0x1f1)](_0x3e36f8=>{const _0x3cb74c=_0xb3889;let _0x2f3aca=_0x3e36f8[_0x3cb74c(0x222)]();return!(_0xaefb28[_0x3cb74c(0x1b3)]&&_0x2f3aca!==_0xaefb28[_0x3cb74c(0x1b3)]||_0xaefb28[_0x3cb74c(0x1cf)]&&!this[_0x3cb74c(0x1ec)](_0x136811,_0x2f3aca,_0xaefb28[_0x3cb74c(0x1cf)])||_0xaefb28[_0x3cb74c(0x1b0)]&&!this[_0x3cb74c(0x248)](_0x3e36f8,0x0,_0xaefb28[_0x3cb74c(0x1b0)])||_0xaefb28['titleText']&&!this['_rowContainsText'](_0x3e36f8,0x0,_0xaefb28['titleText']));});}['insertTable'](_0x17849b,_0x31fb8a,_0x1c3aef={}){const _0x4bc663=_0x55d57c;let _0x57399b=this[_0x4bc663(0x278)][_0x4bc663(0x1d6)](_0x35ecf7['ICommandService']),_0x2b6818=_0x1c3aef[_0x4bc663(0x1b3)]??(0x0,_0x35ecf7[_0x4bc663(0x26e)])(0x6);return _0x57399b[_0x4bc663(0x214)](_0x23f840['DocsTableInsertTableCommand']['id'],{..._0x1c3aef,'unitId':this[_0x4bc663(0x222)](),'rows':_0x17849b,'columns':_0x31fb8a,'tableId':_0x2b6818})?this[_0x4bc663(0x280)](_0x2b6818,_0x1c3aef['segmentId']??''):null;}[_0x55d57c(0x257)](_0x44edce,_0x2e729c={}){const _0x509f66=_0x55d57c;let _0x28c56f=this[_0x509f66(0x278)]['get'](_0x35ecf7[_0x509f66(0x1d2)]),_0xdb79ff=_0x2e729c[_0x509f66(0x1b3)]??(0x0,_0x35ecf7[_0x509f66(0x26e)])(0x6);return _0x28c56f['syncExecuteCommand'](_0x23f840[_0x509f66(0x200)]['id'],{..._0x2e729c,'unitId':this[_0x509f66(0x222)](),'values':_0x44edce,'tableId':_0xdb79ff})?this[_0x509f66(0x280)](_0xdb79ff,_0x2e729c[_0x509f66(0x1f3)]??''):null;}[_0x55d57c(0x259)](_0x3ee237=''){let {tables:_0x232f6b=[]}=this['getBody'](_0x3ee237);return _0x232f6b;}['_getTableDocumentData'](_0x511331=''){const _0x182a44=_0x55d57c;let _0x171130=this[_0x182a44(0x1d5)]()[_0x182a44(0x1bc)]();return _0x511331?{...this['getDocumentDataModel'](_0x511331)[_0x182a44(0x1bc)](),'documentStyle':_0x171130['documentStyle'],'tableSource':_0x171130[_0x182a44(0x22d)]}:_0x171130;}['_createFDocumentTable'](_0x777a10,_0x521f28=''){const _0x6c014c=_0x55d57c;return this[_0x6c014c(0x278)][_0x6c014c(0x25b)](_0x4d92f2,this,_0x777a10,_0x521f28);}[_0x55d57c(0x1ec)](_0x43c148,_0x448505,_0x3596df){const _0x3a614f=_0x55d57c;var _0x3485a3;let _0x416b20=(0x0,_0x23f840['getTableRangeById'])(_0x43c148,_0x448505);if(!_0x416b20)return!0x1;let _0x4d171e=(_0x3485a3=_0x43c148['body'])==null?void 0x0:_0x3485a3[_0x3a614f(0x260)];return _0x4d171e?_0x4d171e[_0x3a614f(0x231)](_0x416b20[_0x3a614f(0x270)],_0x416b20['endOffset'])['includes'](_0x3596df):!0x1;}[_0x55d57c(0x248)](_0x105679,_0x5d12b9,_0x2be7b7){const _0x2f98a6=_0x55d57c;return Array['from']({'length':_0x105679[_0x2f98a6(0x220)]()},(_0x2c65cb,_0x1e143c)=>_0x105679[_0x2f98a6(0x271)](_0x5d12b9,_0x1e143c))[_0x2f98a6(0x26c)](_0x496b04=>_0x496b04['includes'](_0x2be7b7));}};_0x5a9859[_0x55d57c(0x27a)][_0x55d57c(0x1fd)](_0x21f137),Object[_0x55d57c(0x206)](_0x31d60b,_0x55d57c(0x20c),{'enumerable':!0x0,'get':function(){return _0x4d92f2;}}),_0x31d60b['FDocumentTableCell']=_0x375d01;}));function _0x38aa(_0x249eaf,_0x3f207b){_0x249eaf=_0x249eaf-0x1ab;const _0x15f3a2=_0x15f3();let _0x38aa1=_0x15f3a2[_0x249eaf];return _0x38aa1;}function _0x15f3(){const _0x48b43f=['insertColumnsBefore','insertRowBefore','body','setRowHeight','actions','endOffset','Right','syncExecuteCommand','setCellBackground','setDefaultCellMargin','buildMoveFloatingTableMutationActions','Column','map','moveColumns','deleteRow','Below','setHeaderRowCount','insertRowAfter','JSONX','getColumnCount','@univerjs-pro/docs-table','getId','959048aLzssF','pinHeaderRows','Table','12lTwDIY','DocsTableDeleteRowsCommand','call','setBackgroundColor','getOwnPropertyDescriptor','DocsTableSortDirection','DocsTableBorderPreset','tableSource','buildSortTableMutationActions','insertColumnsAfter','insertColumnAfter','slice','documentStyle','setTableBackground','Row','selectRange','getMargin','symbol','buildMergeCellsMutationActions','getTableActionBodyPath','sortByColumn','type','_commandService','iterator','344LINcmr','getTable','appendRow','setMargin','deleteColumn','39244KmnHOL','selectColumn','findTableByText','setCellMargin','_tableId','_rowContainsText','headerRowCount','40vXpbee','setText','UniverProDocsTableFacade','1606565SGzauu','getColumnsRange','DocsTableColumnInsertPosition','3279IaCCpB','buildSetTableDefaultCellMarginMutationActions','selectRow','getTableAtSelection','getMetadata','buildSetTableCellMarginMutationActions','buildMoveTableColumnsMutationActions','insertTableFromData','insertTitleRow','_getTables','getCellMargin','createInstance','DocsTableInsertTablePosition','default','DocsTableSelectionKind','backgroundColor','dataStream','getDefaultCellMarginOverride','buildSetTableBorderMutationActions','insertRowsBefore','setCellText','DashStyleType','moveRows','DEFAULT_DOCS_TABLE_CELL_MARGIN','buildUnmergeCellsMutationActions','DocsTableInsertPosition','findTables','getColorFromTheme','some','describe','generateRandomId','appendColumn','startOffset','getCellText','DocsTableRowInsertPosition','getRowHeight','columnTypes','setBorder','getTableRangeById','string','_injector','buildResizeTableRowActionsFromHeight','FDocument','_getDocumentData','_document','max','insertRowsAfter','DocsTableSetColumnTypeCommand','_createFDocumentTable','compose','executeRichTextTableActions','getMarginOverride','_unitId','Left','cells','margin','buildSetTableBackgroundMutationActions','Module','object','getSegmentId','setTableBorder','unmergeCells','getColumnIndex','from','hasTitleRow','tableRows','headerText','567531KuBUve','setColumnType','tableId','constructor','buildResizeTableColumnActionsFromWidth','titleRow','Tools','buildDistributeTableRowsMutationActions','unmerge','buildInsertTableColumnsMutationActions','@univerjs/core/facade','getSnapshot','Inject','buildDistributeTableColumnsMutationActions','getDefaultCellMargin','getCellContentRange','mergeTo','buildSetTableCellTextMutationActions','resolveTableMetadata','selectTable','getRowsRange','border','deleteColumns','_getBodyPath','getRowCount','deepClone','TableRowHeightRule','trHeight','getRange','getRowRange','text','buildSetTableHeaderRowCountMutationActions','All','ICommandService','_serializeModel','getTableRange','getDocumentDataModel','get','decorate','Cell','UniverDocsFacade','mergeCells','_row','_table','moveTableToOffset','_segmentId','serializeDocument','FEnum','DocsTableSelectionService','getSource','_mutateActions','UniverProDocsTable','function','prototype','DocsTableDeleteColumnsCommand','getTables','width','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getHeaderRowCount','_tableContainsText','getCellMarginOverride','tableColumns','DocsTableDeleteTableCommand','_column','filter','254422mTGnLZ','segmentId','deleteRows','DocsTableModel','Injector','Above','amd','_buildBorderActions','length','getCellRange','cellMargin','extend','AT_LEAST','moveRow','DocsTableInsertTableCommand','buildMoveTableToOffsetMutationActions','328451LXwumB','selectCell','Range','getCellInsertOffset','defineProperty','toStringTag','selectColumns','getRowIndex','rows','tableCells','FDocumentTable'];_0x15f3=function(){return _0x48b43f;};return _0x15f3();}
1
+ function _0x350c(){const _0x1aa57f=['buildInsertTableRowsMutationActions','deleteColumns','getTableRange','setHeaderRowCount','_tableContainsText','selectColumns','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','color','setRowHeight','Tools','getTableRangeById','getRange','_buildBorderActions','getCellContentRange','Row','getColorFromTheme','setDefaultCellMargin','map','DocsTableRowInsertPosition','getMetadata','_unitId','deleteRows','buildMoveTableColumnsMutationActions','size','moveColumns','deleteRow','_segmentId','body','_column','SOLID','buildInsertTableColumnsMutationActions','setCellText','cellMargin','getDocumentDataModel','backgroundColor','setBorder','UniverProDocsTable','setTableBackground','Inject','sortByColumn','insertColumnsAfter','some','Cell','UniverCoreFacade','getCellMarginOverride','insertTable','insertRowsAfter','length','DocsTableColumnType','preset','border','distributeColumns','buildMoveTableRowsMutationActions','findTables','Range','selectRange','serializeDocument','toStringTag','compose','UniverProDocsTableFacade','669LlFYIp','getMargin','getContentRange','deepClone','Left','801636iDrtGG','max','trHeight','getTableAtSelection','ThemeService','columnTypes','Right','DocsTableInsertPosition','text','setColumnWidth','_row','margin','moveRows','843543KayibC','Above','from','appendRow','FDocument','dataStream','DocsTableDeleteTableCommand','getCellText','endOffset','buildInsertTableTitleRowMutationActions','setTableBorder','pinHeaderRows','insertRowsBefore','generateRandomId','getColumnRange','FEnum','string','actions','moveRow','buildMoveTableToOffsetMutationActions','insertColumnAfter','width','Module','deleteColumn','setText','getCellRange','getTables','_getTableDocumentData','_commandService','tableId','DocsTableColumnInsertPosition','documentStyle','tableCells','TableRowHeightRule','getColumnsRange','rows','_document','72EMptcR','appendColumn','@univerjs/core/facade','UniverDocsFacade','findTableByText','DocsTableSelectionKind','type','_table','buildMergeCellsMutationActions','getRowsRange','buildUnmergeCellsMutationActions','getSnapshot','get','FDocumentTable','getCell','ICommandService','_getTables','startOffset','symbol','moveColumn','@univerjs-pro/docs-table','buildResizeTableColumnActionsFromWidth','function','buildSetTableDefaultCellMarginMutationActions','getTableAt','tableColumns','selectRows','DocsTableBorderPreset','headerText','buildSetTableHeaderRowCountMutationActions','DocsTableInsertTablePosition','buildMoveFloatingTableMutationActions','createInstance','selectCell','unmerge','includes','mergeTo','buildDistributeTableRowsMutationActions','_createFDocumentTable','buildSortTableMutationActions','insertColumnBefore','DocsTableInsertTableCommand','titleRow','getCellInsertOffset','All','cells','default','AT_LEAST','filter','2324dBueEv','tableSource','distributeRows','insertColumnsBefore','_getBodyPath','setStructuralSelection','call','buildResizeTableRowActionsFromHeight','replace','Below','segmentId','syncExecuteCommand','844327UGQaXC','6631674wSXwLN','DEFAULT_DOCS_TABLE_CELL_MARGIN','getRowCount','selectTable','gray.900','setCellBackground','getCellMargin','getTable','insertTitleRow','slice','buildSetTableBackgroundMutationActions','moveTableToOffset','insertRowAfter','extend','moveTableBy','buildDistributeTableColumnsMutationActions','unmergeCells','_tableId','getSource','mergeCells','setTableStyle','headerRowCount','DocsTableModel','getInsertOffset','setCellMargin','_rowContainsText','_getDocumentData','getColumnCount','_mutateActions','buildSetTableCellMarginMutationActions','6597480fWncEy','Table','defineProperty','tableRows','_injector','getId','DashStyleType','titleText','selectColumn','getColumnIndex','clearMarginOverride','_serializeModel','getRowRange','iterator','7042926krfohs','object'];_0x350c=function(){return _0x1aa57f;};return _0x350c();}function _0x2ba0(_0x3c2cd7,_0x5ac329){_0x3c2cd7=_0x3c2cd7-0x1a5;const _0x350cc0=_0x350c();let _0x2ba0c0=_0x350cc0[_0x3c2cd7];return _0x2ba0c0;}(function(_0x551cf2,_0x47162e){const _0x123b7d=_0x2ba0,_0x281040=_0x551cf2();while(!![]){try{const _0x18f643=-parseInt(_0x123b7d(0x21a))/0x1+-parseInt(_0x123b7d(0x1ab))/0x2+parseInt(_0x123b7d(0x1a6))/0x3*(parseInt(_0x123b7d(0x20e))/0x4)+parseInt(_0x123b7d(0x239))/0x5+-parseInt(_0x123b7d(0x247))/0x6+parseInt(_0x123b7d(0x21b))/0x7+-parseInt(_0x123b7d(0x1dd))/0x8*(-parseInt(_0x123b7d(0x1b8))/0x9);if(_0x18f643===_0x47162e)break;else _0x281040['push'](_0x281040['shift']());}catch(_0x254558){_0x281040['push'](_0x281040['shift']());}}}(_0x350c,0xc871a),function(_0x228ef8,_0x31e494){const _0x2a90e9=_0x2ba0;typeof exports==_0x2a90e9(0x248)&&typeof module<'u'?_0x31e494(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x2a90e9(0x1f3)&&define['amd']?define(['exports',_0x2a90e9(0x1f1),'@univerjs/core',_0x2a90e9(0x1df),'@univerjs/docs/facade'],_0x31e494):(_0x228ef8=typeof globalThis<'u'?globalThis:_0x228ef8||self,_0x31e494(_0x228ef8[_0x2a90e9(0x1a5)]={},_0x228ef8[_0x2a90e9(0x26d)],_0x228ef8['UniverCore'],_0x228ef8[_0x2a90e9(0x274)],_0x228ef8[_0x2a90e9(0x1e0)]));}(this,function(_0x5e4f39,_0x2de058,_0x3cc9fb,_0x5214b1,_0x319cfb){const _0x2a6225=_0x2ba0;Object[_0x2a6225(0x23b)](_0x5e4f39,Symbol[_0x2a6225(0x282)],{'value':_0x2a6225(0x1ce)});var _0x1b3d71=class extends _0x5214b1['FEnum']{get[_0x2a6225(0x1fb)](){const _0x3c7aac=_0x2a6225;return _0x2de058[_0x3c7aac(0x1fb)];}get[_0x2a6225(0x279)](){const _0x4f0bb4=_0x2a6225;return _0x2de058[_0x4f0bb4(0x279)];}get[_0x2a6225(0x1e2)](){return _0x2de058['DocsTableSelectionKind'];}get[_0x2a6225(0x25b)](){return _0x2de058['DocsTableRowInsertPosition'];}get[_0x2a6225(0x1d6)](){const _0x2198a0=_0x2a6225;return _0x2de058[_0x2198a0(0x1d6)];}get[_0x2a6225(0x1f8)](){return _0x2de058['DocsTableBorderPreset'];}get['DocsTableSortDirection'](){return _0x2de058['DocsTableSortDirection'];}get['DashStyleType'](){return _0x3cc9fb['DashStyleType'];}};_0x5214b1[_0x2a6225(0x1c7)][_0x2a6225(0x228)](_0x1b3d71);var _0x444506=class{constructor(_0x27c914,_0x3143d2,_0x10ea80){const _0x384925=_0x2a6225;this['_table']=_0x27c914,this[_0x384925(0x1b5)]=_0x3143d2,this['_column']=_0x10ea80;}[_0x2a6225(0x222)](){const _0x36a2c4=_0x2a6225;return this[_0x36a2c4(0x1e4)];}['getRowIndex'](){return this['_row'];}[_0x2a6225(0x242)](){const _0x5dfa4e=_0x2a6225;return this[_0x5dfa4e(0x265)];}['getText'](){const _0x38d61c=_0x2a6225;return this['_table'][_0x38d61c(0x1bf)](this[_0x38d61c(0x1b5)],this['_column']);}[_0x2a6225(0x1a8)](){const _0x121742=_0x2a6225;return this[_0x121742(0x1e4)][_0x121742(0x256)](this[_0x121742(0x1b5)],this[_0x121742(0x265)]);}[_0x2a6225(0x232)](){const _0x4afd7c=_0x2a6225;return this[_0x4afd7c(0x1e4)]['getCellInsertOffset'](this[_0x4afd7c(0x1b5)],this[_0x4afd7c(0x265)]);}[_0x2a6225(0x1a7)](){const _0x16cd51=_0x2a6225;return this[_0x16cd51(0x1e4)][_0x16cd51(0x221)](this[_0x16cd51(0x1b5)],this[_0x16cd51(0x265)]);}['getMarginOverride'](){const _0x5a95fb=_0x2a6225;return this[_0x5a95fb(0x1e4)]['getCellMarginOverride'](this[_0x5a95fb(0x1b5)],this[_0x5a95fb(0x265)]);}['setMargin'](_0x194fbc){const _0x1bd11a=_0x2a6225;return this[_0x1bd11a(0x1e4)][_0x1bd11a(0x233)](this[_0x1bd11a(0x1e4)][_0x1bd11a(0x1d1)](this[_0x1bd11a(0x1b5)],this['_column']),_0x194fbc);}[_0x2a6225(0x243)](){const _0x42f9ce=_0x2a6225;return this[_0x42f9ce(0x1e4)][_0x42f9ce(0x233)](this[_0x42f9ce(0x1e4)][_0x42f9ce(0x1d1)](this[_0x42f9ce(0x1b5)],this[_0x42f9ce(0x265)]),null);}[_0x2a6225(0x1d0)](_0x31e4c5){const _0x24d8e9=_0x2a6225;return this[_0x24d8e9(0x1e4)][_0x24d8e9(0x268)](this['_row'],this[_0x24d8e9(0x265)],_0x31e4c5);}['setBackgroundColor'](_0x5a23d9){const _0x5db0f3=_0x2a6225;return this[_0x5db0f3(0x1e4)][_0x5db0f3(0x220)](this['_table'][_0x5db0f3(0x1d1)](this['_row'],this[_0x5db0f3(0x265)]),_0x5a23d9);}[_0x2a6225(0x26c)](_0x1d2dad){const _0x2db867=_0x2a6225;return this[_0x2db867(0x1e4)][_0x2db867(0x26c)](this[_0x2db867(0x1e4)][_0x2db867(0x1d1)](this['_row'],this['_column']),_0x1d2dad);}[_0x2a6225(0x201)](_0x5341d3,_0x3f09fe){const _0x576f80=_0x2a6225;return this[_0x576f80(0x1e4)][_0x576f80(0x22e)]({'startRow':this[_0x576f80(0x1b5)],'startColumn':this[_0x576f80(0x265)],'endRow':this[_0x576f80(0x1b5)]+_0x5341d3-0x1,'endColumn':this[_0x576f80(0x265)]+_0x3f09fe-0x1});}[_0x2a6225(0x1ff)](){const _0x4063b2=_0x2a6225;return this[_0x4063b2(0x1e4)][_0x4063b2(0x22b)](this[_0x4063b2(0x1e4)][_0x4063b2(0x1d1)](this['_row'],this['_column']));}};function _0xe1179a(_0xd36dab){'@babel/helpers - typeof';const _0x3e41af=_0x2a6225;return _0xe1179a=typeof Symbol==_0x3e41af(0x1f3)&&typeof Symbol[_0x3e41af(0x246)]==_0x3e41af(0x1ef)?function(_0xa55377){return typeof _0xa55377;}:function(_0x537117){const _0x4fb23a=_0x3e41af;return _0x537117&&typeof Symbol==_0x4fb23a(0x1f3)&&_0x537117['constructor']===Symbol&&_0x537117!==Symbol['prototype']?_0x4fb23a(0x1ef):typeof _0x537117;},_0xe1179a(_0xd36dab);}function _0x72c231(_0x19e337,_0x392237){const _0x2ccca1=_0x2a6225;if(_0xe1179a(_0x19e337)!=_0x2ccca1(0x248)||!_0x19e337)return _0x19e337;var _0x4ba34a=_0x19e337[Symbol['toPrimitive']];if(_0x4ba34a!==void 0x0){var _0x423f50=_0x4ba34a[_0x2ccca1(0x214)](_0x19e337,_0x392237||_0x2ccca1(0x20b));if(_0xe1179a(_0x423f50)!=_0x2ccca1(0x248))return _0x423f50;throw TypeError(_0x2ccca1(0x24f));}return(_0x392237===_0x2ccca1(0x1c8)?String:Number)(_0x19e337);}function _0x3e795a(_0x1a45c4){const _0x4b15f0=_0x2a6225;var _0x5b1dcd=_0x72c231(_0x1a45c4,_0x4b15f0(0x1c8));return _0xe1179a(_0x5b1dcd)==_0x4b15f0(0x1ef)?_0x5b1dcd:_0x5b1dcd+'';}function _0x2ffd79(_0x4f429c,_0x40d6d9,_0x2f6fb4){const _0x11db53=_0x2a6225;return(_0x40d6d9=_0x3e795a(_0x40d6d9))in _0x4f429c?Object[_0x11db53(0x23b)](_0x4f429c,_0x40d6d9,{'value':_0x2f6fb4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f429c[_0x40d6d9]=_0x2f6fb4,_0x4f429c;}function _0x32136e(_0x188362,_0x1df889){return function(_0x5e169c,_0xaf8c29){_0x1df889(_0x5e169c,_0xaf8c29,_0x188362);};}function _0x358732(_0x20e7f4,_0x235e1d,_0x480f04,_0x32ce79){const _0x521d8c=_0x2a6225;var _0x374e4e=arguments[_0x521d8c(0x278)],_0x1a0d6b=_0x374e4e<0x3?_0x235e1d:_0x32ce79===null?_0x32ce79=Object['getOwnPropertyDescriptor'](_0x235e1d,_0x480f04):_0x32ce79,_0x5d9a79;if(typeof Reflect==_0x521d8c(0x248)&&typeof Reflect['decorate']==_0x521d8c(0x1f3))_0x1a0d6b=Reflect['decorate'](_0x20e7f4,_0x235e1d,_0x480f04,_0x32ce79);else{for(var _0x390116=_0x20e7f4[_0x521d8c(0x278)]-0x1;_0x390116>=0x0;_0x390116--)(_0x5d9a79=_0x20e7f4[_0x390116])&&(_0x1a0d6b=(_0x374e4e<0x3?_0x5d9a79(_0x1a0d6b):_0x374e4e>0x3?_0x5d9a79(_0x235e1d,_0x480f04,_0x1a0d6b):_0x5d9a79(_0x235e1d,_0x480f04))||_0x1a0d6b);}return _0x374e4e>0x3&&_0x1a0d6b&&Object[_0x521d8c(0x23b)](_0x235e1d,_0x480f04,_0x1a0d6b),_0x1a0d6b;}let _0x4e5482=class{constructor(_0x2add4b,_0x3d0511,_0x11adc1,_0x3ffb3a,_0x536993){const _0x33df69=_0x2a6225;this[_0x33df69(0x1dc)]=_0x2add4b,this[_0x33df69(0x22c)]=_0x3d0511,this[_0x33df69(0x263)]=_0x11adc1,this[_0x33df69(0x1d4)]=_0x3ffb3a,this[_0x33df69(0x23d)]=_0x536993,_0x2ffd79(this,'_unitId',void 0x0),this['_unitId']=this[_0x33df69(0x1dc)]['getId']();}[_0x2a6225(0x23e)](){const _0x1a2d9b=_0x2a6225;return this[_0x1a2d9b(0x22c)];}['getSegmentId'](){const _0x42f2d8=_0x2a6225;return this[_0x42f2d8(0x263)];}['getInfo'](){const _0x27b144=_0x2a6225;return{'id':this[_0x27b144(0x22c)],'rowCount':this[_0x27b144(0x21d)](),'columnCount':this[_0x27b144(0x236)](),'metadata':this[_0x27b144(0x25c)](),'source':this[_0x27b144(0x22d)]()};}['describe'](){const _0x1b62ff=_0x2a6225;let _0x5e3f9f=this[_0x1b62ff(0x25c)](),_0x43ceff=this[_0x1b62ff(0x22d)](),_0x396eaf=this[_0x1b62ff(0x236)]();return{'id':this[_0x1b62ff(0x22c)],'rowCount':this[_0x1b62ff(0x21d)](),'columnCount':_0x396eaf,'headerRowCount':(_0x5e3f9f==null?void 0x0:_0x5e3f9f[_0x1b62ff(0x230)])??0x0,'titleRow':(_0x5e3f9f==null?void 0x0:_0x5e3f9f[_0x1b62ff(0x207)])??!0x1,'columns':Array[_0x1b62ff(0x1ba)]({'length':_0x396eaf},(_0x288584,_0xe5551f)=>{const _0x2e636a=_0x1b62ff;var _0x234fa6,_0x39e8ca;return{'index':_0xe5551f,'type':_0x5e3f9f==null||(_0x234fa6=_0x5e3f9f[_0x2e636a(0x1b0)])==null||(_0x234fa6=_0x234fa6[_0xe5551f])==null?void 0x0:_0x234fa6[_0x2e636a(0x1e3)],'width':_0x43ceff==null||(_0x39e8ca=_0x43ceff[_0x2e636a(0x1f6)][_0xe5551f])==null?void 0x0:_0x39e8ca[_0x2e636a(0x260)][_0x2e636a(0x1cd)]['v']};}),'sampleRows':Array['from']({'length':this['getRowCount']()},(_0x14571c,_0x265265)=>Array['from']({'length':_0x396eaf},(_0x66816,_0x4e1206)=>this[_0x1b62ff(0x1bf)](_0x265265,_0x4e1206)))['filter'](_0x32375d=>_0x32375d[_0x1b62ff(0x272)](_0x3175cd=>_0x3175cd[_0x1b62ff(0x278)]>0x0))[_0x1b62ff(0x224)](0x0,0x5)};}['getRowCount'](){const _0x5f395c=_0x2a6225;var _0x3b681d;return((_0x3b681d=this[_0x5f395c(0x22d)]())==null?void 0x0:_0x3b681d['tableRows'][_0x5f395c(0x278)])??0x0;}[_0x2a6225(0x236)](){const _0x157ba9=_0x2a6225;var _0x54bee1;return((_0x54bee1=this['getSource']())==null?void 0x0:_0x54bee1['tableColumns'][_0x157ba9(0x278)])??0x0;}[_0x2a6225(0x1eb)](_0x162f35,_0x2c0eff){const _0x502ec2=_0x2a6225;var _0xbaf146;return(_0xbaf146=this['getSource']())!=null&&(_0xbaf146=_0xbaf146[_0x502ec2(0x23c)][_0x162f35])!=null&&_0xbaf146[_0x502ec2(0x1d8)][_0x2c0eff]?this[_0x502ec2(0x23d)][_0x502ec2(0x1fd)](_0x444506,this,_0x162f35,_0x2c0eff):null;}[_0x2a6225(0x1bf)](_0x5a2213,_0x391016){const _0xa06a38=_0x2a6225;var _0x2027b6,_0x5f12f6;let _0x1c1534=(_0x2027b6=(0x0,_0x2de058[_0xa06a38(0x253)])(this[_0xa06a38(0x235)](),this[_0xa06a38(0x22c)]))==null||(_0x2027b6=_0x2027b6[_0xa06a38(0x1db)][_0x5a2213])==null?void 0x0:_0x2027b6[_0xa06a38(0x20a)][_0x391016];return _0x1c1534?((_0x5f12f6=this[_0xa06a38(0x235)]()[_0xa06a38(0x264)])==null?void 0x0:_0x5f12f6[_0xa06a38(0x1bd)]['slice'](_0x1c1534['startOffset']+0x1,_0x1c1534[_0xa06a38(0x1c0)])[_0xa06a38(0x216)](/\r\n$/,''))??'':'';}[_0x2a6225(0x221)](_0xff7292,_0x3626ec){const _0x5787a0=_0x2a6225;var _0xb58224;let _0x22af07=this['getSource'](),_0x41642d=_0x22af07==null||(_0xb58224=_0x22af07[_0x5787a0(0x23c)][_0xff7292])==null?void 0x0:_0xb58224[_0x5787a0(0x1d8)][_0x3626ec];return _0x41642d?_0x3cc9fb[_0x5787a0(0x252)][_0x5787a0(0x1a9)](_0x41642d[_0x5787a0(0x1b6)]??_0x22af07[_0x5787a0(0x269)]??_0x2de058[_0x5787a0(0x21c)]):null;}[_0x2a6225(0x275)](_0x34040d,_0x26fd6a){const _0x466d65=_0x2a6225;var _0x4c549;let _0x2e0ee2=(_0x4c549=this[_0x466d65(0x22d)]())==null||(_0x4c549=_0x4c549[_0x466d65(0x23c)][_0x34040d])==null?void 0x0:_0x4c549[_0x466d65(0x1d8)][_0x26fd6a];return _0x2e0ee2!=null&&_0x2e0ee2['margin']?_0x3cc9fb[_0x466d65(0x252)][_0x466d65(0x1a9)](_0x2e0ee2[_0x466d65(0x1b6)]):null;}['getDefaultCellMargin'](){const _0x2573df=_0x2a6225;var _0x4136db;return _0x3cc9fb[_0x2573df(0x252)]['deepClone'](((_0x4136db=this[_0x2573df(0x22d)]())==null?void 0x0:_0x4136db['cellMargin'])??_0x2de058[_0x2573df(0x21c)]);}['getDefaultCellMarginOverride'](){const _0x5373b5=_0x2a6225;var _0xdb4284;let _0xdc5748=(_0xdb4284=this[_0x5373b5(0x22d)]())==null?void 0x0:_0xdb4284[_0x5373b5(0x269)];return _0xdc5748?_0x3cc9fb[_0x5373b5(0x252)][_0x5373b5(0x1a9)](_0xdc5748):null;}[_0x2a6225(0x25c)](){const _0x403735=_0x2a6225;let _0x2edf9e=this[_0x403735(0x23d)][_0x403735(0x1e9)](_0x2de058[_0x403735(0x231)]),_0x5e332e=this[_0x403735(0x22d)]();return _0x5e332e?_0x2edf9e['resolveTableMetadata'](this[_0x403735(0x25d)],_0x5e332e):void 0x0;}['getSource'](){const _0xc4fe4e=_0x2a6225;var _0x35b3f2;return(_0x35b3f2=this[_0xc4fe4e(0x235)]()[_0xc4fe4e(0x20f)])==null?void 0x0:_0x35b3f2[this[_0xc4fe4e(0x22c)]];}[_0x2a6225(0x254)](){const _0x5a07ee=_0x2a6225;return(0x0,_0x2de058[_0x5a07ee(0x253)])(this[_0x5a07ee(0x235)](),this[_0x5a07ee(0x22c)]);}[_0x2a6225(0x24b)](){const _0x53331d=_0x2a6225;return{'startRow':0x0,'endRow':Math[_0x53331d(0x1ac)](0x0,this[_0x53331d(0x21d)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x53331d(0x1ac)](0x0,this[_0x53331d(0x236)]()-0x1)};}[_0x2a6225(0x1d1)](_0x194a66,_0x385caa){return{'startRow':_0x194a66,'endRow':_0x194a66,'startColumn':_0x385caa,'endColumn':_0x385caa};}[_0x2a6225(0x256)](_0x1b9a3c,_0x391cf8){const _0x2c31e2=_0x2a6225;var _0x111baf;let _0x167bb0=(_0x111baf=(0x0,_0x2de058[_0x2c31e2(0x253)])(this['_getDocumentData'](),this[_0x2c31e2(0x22c)]))==null||(_0x111baf=_0x111baf['rows'][_0x1b9a3c])==null?void 0x0:_0x111baf['cells'][_0x391cf8];if(!_0x167bb0)return null;let _0x2981ff=_0x167bb0[_0x2c31e2(0x1ee)]+0x1;return{'startOffset':_0x2981ff,'endOffset':Math[_0x2c31e2(0x1ac)](_0x2981ff,_0x167bb0['endOffset']-0x1),'segmentId':this['_segmentId']};}[_0x2a6225(0x208)](_0x162ad2,_0x104f8a){const _0x367ea3=_0x2a6225;let _0xc9ba35=this[_0x367ea3(0x256)](_0x162ad2,_0x104f8a);return _0xc9ba35?Math[_0x367ea3(0x1ac)](_0xc9ba35[_0x367ea3(0x1ee)],_0xc9ba35[_0x367ea3(0x1c0)]-0x1):null;}[_0x2a6225(0x245)](_0x1922fb){const _0x475c5b=_0x2a6225;return this[_0x475c5b(0x1e6)](_0x1922fb,0x1);}[_0x2a6225(0x1e6)](_0x578a36,_0x415057=0x1){const _0x387805=_0x2a6225;return{'startRow':_0x578a36,'endRow':_0x578a36+_0x415057-0x1,'startColumn':0x0,'endColumn':Math[_0x387805(0x1ac)](0x0,this[_0x387805(0x236)]()-0x1)};}[_0x2a6225(0x1c6)](_0x41f6b5){const _0x5b23f9=_0x2a6225;return this[_0x5b23f9(0x1da)](_0x41f6b5,0x1);}['getColumnsRange'](_0x719ed6,_0x3bccf7=0x1){const _0x1b2fa3=_0x2a6225;return{'startRow':0x0,'endRow':Math[_0x1b2fa3(0x1ac)](0x0,this[_0x1b2fa3(0x21d)]()-0x1),'startColumn':_0x719ed6,'endColumn':_0x719ed6+_0x3bccf7-0x1};}[_0x2a6225(0x21e)](){const _0x4405d3=_0x2a6225;return this['selectRange'](this[_0x4405d3(0x24b)](),_0x2de058[_0x4405d3(0x1e2)][_0x4405d3(0x23a)]);}['selectRow'](_0x2713c2){return this['selectRows'](_0x2713c2,0x1);}[_0x2a6225(0x1f7)](_0x163c26,_0x1c422a=0x1){const _0xb5565=_0x2a6225;return this[_0xb5565(0x280)](this[_0xb5565(0x1e6)](_0x163c26,_0x1c422a),_0x2de058[_0xb5565(0x1e2)][_0xb5565(0x257)]);}[_0x2a6225(0x241)](_0x11cc5e){const _0x362f81=_0x2a6225;return this[_0x362f81(0x24e)](_0x11cc5e,0x1);}['selectColumns'](_0x54cb39,_0x5e389d=0x1){const _0xd0af35=_0x2a6225;return this['selectRange'](this['getColumnsRange'](_0x54cb39,_0x5e389d),_0x2de058[_0xd0af35(0x1e2)]['Column']);}[_0x2a6225(0x1fe)](_0x1e5219,_0x3f5385){const _0x2d825a=_0x2a6225;return this[_0x2d825a(0x280)](this[_0x2d825a(0x1d1)](_0x1e5219,_0x3f5385),_0x2de058[_0x2d825a(0x1e2)][_0x2d825a(0x273)]);}[_0x2a6225(0x280)](_0x228b2e,_0x2526b8=_0x2de058[_0x2a6225(0x1e2)][_0x2a6225(0x27f)]){const _0x34cb31=_0x2a6225;return this['_injector'][_0x34cb31(0x1e9)](_0x2de058['DocsTableSelectionService'])[_0x34cb31(0x213)]({..._0x228b2e,'kind':_0x2526b8,'segmentId':this[_0x34cb31(0x263)],'tableId':this[_0x34cb31(0x22c)]}),!0x0;}['insertRowBefore'](_0x36e9f0){return this['insertRowsBefore'](_0x36e9f0,0x1);}[_0x2a6225(0x227)](_0x2c751e){return this['insertRowsAfter'](_0x2c751e,0x1);}[_0x2a6225(0x1c4)](_0x57f993,_0x3779f6){const _0x2267bf=_0x2a6225;let _0x41ed1b=this['_getDocumentData'](),_0x4283df=(0x0,_0x2de058['buildInsertTableRowsMutationActions'])(_0x41ed1b,this[_0x2267bf(0x22c)],_0x57f993,_0x3779f6,_0x2de058[_0x2267bf(0x1b2)][_0x2267bf(0x1b9)],this[_0x2267bf(0x212)]());return _0x4283df?this[_0x2267bf(0x237)](_0x41ed1b,_0x4283df[_0x2267bf(0x1c9)]):!0x1;}['insertRowsAfter'](_0x2ce3f4,_0x30898d){const _0xb4a999=_0x2a6225;let _0xcf6098=this[_0xb4a999(0x235)](),_0xbf719e=(0x0,_0x2de058[_0xb4a999(0x249)])(_0xcf6098,this[_0xb4a999(0x22c)],_0x2ce3f4,_0x30898d,_0x2de058[_0xb4a999(0x1b2)][_0xb4a999(0x217)],this[_0xb4a999(0x212)]());return _0xbf719e?this[_0xb4a999(0x237)](_0xcf6098,_0xbf719e[_0xb4a999(0x1c9)]):!0x1;}[_0x2a6225(0x1bb)](){const _0x143f0d=_0x2a6225;return this[_0x143f0d(0x277)](Math[_0x143f0d(0x1ac)](0x0,this[_0x143f0d(0x21d)]()-0x1),0x1);}[_0x2a6225(0x205)](_0x36f6e2){const _0x47fdc0=_0x2a6225;return this[_0x47fdc0(0x211)](_0x36f6e2,0x1);}[_0x2a6225(0x1cc)](_0x531b6f){const _0x5e750f=_0x2a6225;return this[_0x5e750f(0x271)](_0x531b6f,0x1);}['insertColumnsBefore'](_0xd5769c,_0x3dbfeb){const _0x1c29cf=_0x2a6225;let _0x1f3f9a=this[_0x1c29cf(0x235)](),_0x545792=(0x0,_0x2de058[_0x1c29cf(0x267)])(_0x1f3f9a,this['_tableId'],_0xd5769c,_0x3dbfeb,_0x2de058[_0x1c29cf(0x1b2)][_0x1c29cf(0x1aa)],{'bodyPath':this['_getBodyPath']()});return _0x545792?this[_0x1c29cf(0x237)](_0x1f3f9a,_0x545792[_0x1c29cf(0x1c9)]):!0x1;}[_0x2a6225(0x271)](_0x516345,_0x4a357b){const _0x458092=_0x2a6225;let _0x5509d9=this[_0x458092(0x235)](),_0x4db154=(0x0,_0x2de058['buildInsertTableColumnsMutationActions'])(_0x5509d9,this[_0x458092(0x22c)],_0x516345,_0x4a357b,_0x2de058[_0x458092(0x1b2)][_0x458092(0x1b1)],{'bodyPath':this[_0x458092(0x212)]()});return _0x4db154?this[_0x458092(0x237)](_0x5509d9,_0x4db154[_0x458092(0x1c9)]):!0x1;}[_0x2a6225(0x1de)](){const _0x49a889=_0x2a6225;return this[_0x49a889(0x271)](Math[_0x49a889(0x1ac)](0x0,this[_0x49a889(0x236)]()-0x1),0x1);}[_0x2a6225(0x262)](_0x47dd85){const _0xd595a2=_0x2a6225;return this[_0xd595a2(0x25e)](_0x47dd85,0x1);}[_0x2a6225(0x25e)](_0x2698ce,_0x4e77ce=0x1){const _0xcd06ee=_0x2a6225;return!!this[_0xcd06ee(0x1d4)][_0xcd06ee(0x219)](_0x2de058['DocsTableDeleteRowsCommand']['id'],{'endRow':_0x2698ce+_0x4e77ce-0x1,'segmentId':this['_segmentId'],'startRow':_0x2698ce,'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x2a6225(0x1cf)](_0x2e5397){const _0x32f421=_0x2a6225;return this[_0x32f421(0x24a)](_0x2e5397,0x1);}[_0x2a6225(0x24a)](_0x356805,_0x2f181e=0x1){const _0xa92a3e=_0x2a6225;return!!this[_0xa92a3e(0x1d4)][_0xa92a3e(0x219)](_0x2de058['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x356805+_0x2f181e-0x1,'segmentId':this[_0xa92a3e(0x263)],'startColumn':_0x356805,'tableId':this[_0xa92a3e(0x22c)],'unitId':this[_0xa92a3e(0x25d)]});}['deleteTable'](){const _0x3e2d4f=_0x2a6225;return!!this[_0x3e2d4f(0x1d4)][_0x3e2d4f(0x219)](_0x2de058[_0x3e2d4f(0x1be)]['id'],{'segmentId':this[_0x3e2d4f(0x263)],'tableId':this[_0x3e2d4f(0x22c)],'unitId':this[_0x3e2d4f(0x25d)]});}[_0x2a6225(0x229)](_0x227471,_0x4474de){const _0x19f219=_0x2a6225;let _0x4c9fd8=this[_0x19f219(0x235)]();return this[_0x19f219(0x237)](_0x4c9fd8,(0x0,_0x2de058[_0x19f219(0x1fc)])(_0x4c9fd8,this[_0x19f219(0x22c)],_0x227471,_0x4474de));}[_0x2a6225(0x226)](_0x47454d){const _0x4f2618=_0x2a6225;let _0x3babe2=this[_0x4f2618(0x235)]();return this[_0x4f2618(0x237)](_0x3babe2,(0x0,_0x2de058[_0x4f2618(0x1cb)])(_0x3babe2,this[_0x4f2618(0x22c)],_0x47454d,this[_0x4f2618(0x212)]()));}[_0x2a6225(0x1ca)](_0x45eea0,_0x5f1be6,_0x370de6=_0x2de058[_0x2a6225(0x1b2)][_0x2a6225(0x1b9)]){const _0x314bcb=_0x2a6225;return this[_0x314bcb(0x1b7)](_0x45eea0,0x1,_0x5f1be6,_0x370de6);}[_0x2a6225(0x1b7)](_0x31ee2b,_0x4054aa,_0x3d6cda,_0x295c87=_0x2de058[_0x2a6225(0x1b2)][_0x2a6225(0x1b9)]){const _0x234a1b=_0x2a6225;let _0x4b615d=this[_0x234a1b(0x235)](),_0x49168d=(0x0,_0x2de058[_0x234a1b(0x27d)])(_0x4b615d,this[_0x234a1b(0x22c)],_0x31ee2b,_0x3d6cda,_0x4054aa,_0x295c87,this['_getBodyPath']());return _0x49168d?this['_mutateActions'](_0x4b615d,_0x49168d[_0x234a1b(0x1c9)]):!0x1;}[_0x2a6225(0x1f0)](_0x233ee5,_0x4a2ea4,_0x196d08=_0x2de058[_0x2a6225(0x1b2)][_0x2a6225(0x1aa)]){const _0x28c5e9=_0x2a6225;return this[_0x28c5e9(0x261)](_0x233ee5,0x1,_0x4a2ea4,_0x196d08);}[_0x2a6225(0x261)](_0x39ad0f,_0x18a995,_0x372db9,_0x47d6d1=_0x2de058[_0x2a6225(0x1b2)]['Left']){const _0x4ffe93=_0x2a6225;let _0x506f25=this[_0x4ffe93(0x235)](),_0xa614b7=(0x0,_0x2de058[_0x4ffe93(0x25f)])(_0x506f25,this[_0x4ffe93(0x22c)],_0x39ad0f,_0x372db9,_0x18a995,_0x47d6d1,this[_0x4ffe93(0x212)]());return _0xa614b7?this[_0x4ffe93(0x237)](_0x506f25,_0xa614b7[_0x4ffe93(0x1c9)]):!0x1;}[_0x2a6225(0x22e)](_0x48eb37){const _0x2c9ea0=_0x2a6225;try{let _0x458077=this[_0x2c9ea0(0x235)](),_0x4fb463=(0x0,_0x2de058[_0x2c9ea0(0x1e5)])({'documentData':_0x458077,'tableId':this['_tableId'],..._0x48eb37});return _0x4fb463?this[_0x2c9ea0(0x237)](_0x458077,_0x4fb463[_0x2c9ea0(0x1c9)],_0x48eb37):!0x1;}catch{return!0x1;}}[_0x2a6225(0x22b)](_0x364a1e){const _0x3fc2a1=_0x2a6225;try{let _0x14399d=this[_0x3fc2a1(0x235)](),_0x54db82=(0x0,_0x2de058[_0x3fc2a1(0x1e7)])({'documentData':_0x14399d,'tableId':this['_tableId'],..._0x364a1e});return _0x54db82?this['_mutateActions'](_0x14399d,_0x54db82[_0x3fc2a1(0x1c9)],_0x364a1e):!0x1;}catch{return!0x1;}}[_0x2a6225(0x268)](_0x221971,_0x1dfb3a,_0x512d6b){const _0x33cc0d=_0x2a6225;let _0x402faf=this[_0x33cc0d(0x235)](),_0x5ec32b=(0x0,_0x2de058['getTableActionBodyPath'])(this['_document'][_0x33cc0d(0x26a)]()[_0x33cc0d(0x1e8)](),this[_0x33cc0d(0x263)]);return this[_0x33cc0d(0x237)](_0x402faf,(0x0,_0x2de058['buildSetTableCellTextMutationActions'])({'documentData':_0x402faf,'tableId':this['_tableId'],'row':_0x221971,'column':_0x1dfb3a,'text':_0x512d6b},_0x5ec32b),this[_0x33cc0d(0x1d1)](_0x221971,_0x1dfb3a));}['setCellBackground'](_0x6d3250,_0x58e737){const _0x379ca3=_0x2a6225;let _0xb0b68=this[_0x379ca3(0x235)]();return this[_0x379ca3(0x237)](_0xb0b68,(0x0,_0x2de058[_0x379ca3(0x225)])(_0xb0b68,{'tableId':this[_0x379ca3(0x22c)],..._0x6d3250,'value':_0x58e737}),_0x6d3250);}[_0x2a6225(0x233)](_0x21b60b,_0x1955f2){const _0xbcaadd=_0x2a6225;let _0x22db32=this[_0xbcaadd(0x235)]();return this['_mutateActions'](_0x22db32,(0x0,_0x2de058[_0xbcaadd(0x238)])({'documentData':_0x22db32,'tableId':this['_tableId'],..._0x21b60b,'margin':_0x1955f2}),_0x21b60b);}[_0x2a6225(0x259)](_0x3bb1fe){const _0xeb8e94=_0x2a6225;let _0x38888a=this[_0xeb8e94(0x235)]();return this[_0xeb8e94(0x237)](_0x38888a,(0x0,_0x2de058[_0xeb8e94(0x1f4)])(_0x38888a,this['_tableId'],_0x3bb1fe));}['setBorder'](_0x1cbb81,_0x5474d1){const _0x3fea54=_0x2a6225;let _0x547b54=this[_0x3fea54(0x235)]();return this[_0x3fea54(0x237)](_0x547b54,this['_buildBorderActions'](_0x547b54,_0x1cbb81,_0x5474d1),_0x1cbb81);}[_0x2a6225(0x26e)](_0x1ca577){const _0x12c6ba=_0x2a6225;return this[_0x12c6ba(0x220)](this[_0x12c6ba(0x24b)](),_0x1ca577);}[_0x2a6225(0x1c2)](_0x2e1091){const _0xefb8d0=_0x2a6225;return this[_0xefb8d0(0x26c)](this[_0xefb8d0(0x24b)](),_0x2e1091);}[_0x2a6225(0x22f)](_0x28f3a2){const _0x5746ff=_0x2a6225;let _0x5eb19b=this[_0x5746ff(0x235)](),_0x279511=this[_0x5746ff(0x24b)](),_0x421a46=_0x28f3a2[_0x5746ff(0x26b)]?(0x0,_0x2de058[_0x5746ff(0x225)])(_0x5eb19b,{'tableId':this[_0x5746ff(0x22c)],..._0x279511,'value':_0x28f3a2[_0x5746ff(0x26b)]}):null,_0x1ab7b6=_0x28f3a2[_0x5746ff(0x27b)]?this[_0x5746ff(0x255)](_0x5eb19b,_0x279511,_0x28f3a2[_0x5746ff(0x27b)]):null;return this['_mutateActions'](_0x5eb19b,_0x3cc9fb['JSONX'][_0x5746ff(0x283)](_0x421a46,_0x1ab7b6),_0x279511);}[_0x2a6225(0x251)](_0x1b78c9,_0x3bfafc,_0x4cbb70=_0x3cc9fb[_0x2a6225(0x1d9)][_0x2a6225(0x20c)]){const _0x2f1949=_0x2a6225;var _0x472930;let _0x323fce=this[_0x2f1949(0x235)]();return(_0x472930=_0x323fce[_0x2f1949(0x20f)])!=null&&(_0x472930=_0x472930[this[_0x2f1949(0x22c)]])!=null&&_0x472930['tableRows'][_0x1b78c9]?this['_mutateActions'](_0x323fce,(0x0,_0x2de058[_0x2f1949(0x215)])(_0x323fce,this[_0x2f1949(0x22c)],_0x1b78c9,_0x3bfafc,_0x4cbb70)):!0x1;}['getRowHeight'](_0x11645c){const _0x4533af=_0x2a6225;var _0x14e0fb;let _0x435d1f=(_0x14e0fb=this[_0x4533af(0x22d)]())==null||(_0x14e0fb=_0x14e0fb[_0x4533af(0x23c)][_0x11645c])==null?void 0x0:_0x14e0fb[_0x4533af(0x1ad)];return _0x435d1f?_0x3cc9fb[_0x4533af(0x252)][_0x4533af(0x1a9)](_0x435d1f):null;}[_0x2a6225(0x1b4)](_0x4c0aba,_0x1ae96a){const _0x298071=_0x2a6225;var _0x34db46;let _0x3c5ae9=this[_0x298071(0x235)]();return(_0x34db46=_0x3c5ae9[_0x298071(0x20f)])!=null&&(_0x34db46=_0x34db46[this[_0x298071(0x22c)]])!=null&&_0x34db46[_0x298071(0x1f6)][_0x4c0aba]?this[_0x298071(0x237)](_0x3c5ae9,(0x0,_0x2de058[_0x298071(0x1f2)])(_0x3c5ae9,this[_0x298071(0x22c)],_0x4c0aba,_0x1ae96a)):!0x1;}[_0x2a6225(0x210)](_0x5dd8cd=0x0,_0x55e617=this['getRowCount']()){const _0x1273c5=_0x2a6225;let _0x22a560=this[_0x1273c5(0x235)]();return this[_0x1273c5(0x237)](_0x22a560,(0x0,_0x2de058[_0x1273c5(0x202)])(_0x22a560,this['_tableId'],_0x5dd8cd,_0x5dd8cd+_0x55e617-0x1));}[_0x2a6225(0x27c)](_0x260631=0x0,_0x26cf87=this[_0x2a6225(0x236)]()){const _0x518b9a=_0x2a6225;let _0x57dd0d=this[_0x518b9a(0x235)]();return this['_mutateActions'](_0x57dd0d,(0x0,_0x2de058[_0x518b9a(0x22a)])(_0x57dd0d,this[_0x518b9a(0x22c)],_0x260631,_0x260631+_0x26cf87-0x1));}['getHeaderRowCount'](){var _0x5aa6b1;return((_0x5aa6b1=this['getMetadata']())==null?void 0x0:_0x5aa6b1['headerRowCount'])??0x0;}[_0x2a6225(0x24c)](_0x58c142){const _0xe089bd=_0x2a6225;let _0x138451=this[_0xe089bd(0x235)](),_0x2005ed=(0x0,_0x2de058[_0xe089bd(0x1fa)])(_0x138451,this[_0xe089bd(0x22c)],_0x58c142);return _0x2005ed?this[_0xe089bd(0x237)](_0x138451,_0x2005ed[_0xe089bd(0x1c9)]):!0x1;}[_0x2a6225(0x1c3)](_0x174051){const _0x3751cd=_0x2a6225;return this[_0x3751cd(0x24c)](_0x174051);}['hasTitleRow'](){const _0x56b7ab=_0x2a6225;var _0xf2cc40;return((_0xf2cc40=this[_0x56b7ab(0x25c)]())==null?void 0x0:_0xf2cc40[_0x56b7ab(0x207)])??!0x1;}[_0x2a6225(0x223)](){const _0x2ec083=_0x2a6225;let _0x45ab19=this[_0x2ec083(0x235)](),_0x14d2dd=(0x0,_0x2de058[_0x2ec083(0x1c1)])(_0x45ab19,this[_0x2ec083(0x22c)],this[_0x2ec083(0x212)]());return _0x14d2dd?this[_0x2ec083(0x237)](_0x45ab19,_0x14d2dd[_0x2ec083(0x1c9)]):!0x1;}['setColumnType'](_0x5381eb,_0xb491f4){const _0x429ceb=_0x2a6225;return!!this[_0x429ceb(0x1d4)]['syncExecuteCommand'](_0x2de058['DocsTableSetColumnTypeCommand']['id'],{'unitId':this[_0x429ceb(0x25d)],'tableId':this[_0x429ceb(0x22c)],'segmentId':this[_0x429ceb(0x263)],'column':_0x5381eb,'config':_0xb491f4});}[_0x2a6225(0x270)](_0x221c50,_0x1aa998){const _0x46929a=_0x2a6225;let _0x173f3c=this[_0x46929a(0x235)]();return this[_0x46929a(0x237)](_0x173f3c,(0x0,_0x2de058[_0x46929a(0x204)])(_0x173f3c,this[_0x46929a(0x244)](),this[_0x46929a(0x22c)],_0x221c50,_0x1aa998,this[_0x46929a(0x212)]()));}[_0x2a6225(0x255)](_0xd8ef75,_0x2a5427,_0x29ba4b){const _0x34cec5=_0x2a6225;return(0x0,_0x2de058['buildSetTableBorderMutationActions'])({'documentData':_0xd8ef75,'tableId':this[_0x34cec5(0x22c)],..._0x2a5427,'preset':_0x29ba4b[_0x34cec5(0x27a)]??_0x2de058[_0x34cec5(0x1f8)][_0x34cec5(0x209)],'border':_0x29ba4b[_0x34cec5(0x27b)]??{'color':{'rgb':_0x29ba4b[_0x34cec5(0x250)]??this[_0x34cec5(0x23d)][_0x34cec5(0x1e9)](_0x3cc9fb[_0x34cec5(0x1af)])[_0x34cec5(0x258)](_0x34cec5(0x21f))},'width':{'v':_0x29ba4b[_0x34cec5(0x1cd)]??0x1},'dashStyle':_0x3cc9fb[_0x34cec5(0x23f)][_0x34cec5(0x266)]}});}[_0x2a6225(0x235)](){const _0x33dd2d=_0x2a6225;let _0x1c7a3e=this[_0x33dd2d(0x1dc)][_0x33dd2d(0x26a)]()[_0x33dd2d(0x1e8)]();return this[_0x33dd2d(0x263)]?{...this[_0x33dd2d(0x1dc)][_0x33dd2d(0x26a)](this['_segmentId'])[_0x33dd2d(0x1e8)](),'documentStyle':_0x1c7a3e['documentStyle'],'tableSource':_0x1c7a3e['tableSource']}:_0x1c7a3e;}[_0x2a6225(0x244)](){const _0x158650=_0x2a6225;return this[_0x158650(0x23d)][_0x158650(0x1e9)](_0x2de058['DocsTableModel'])[_0x158650(0x281)](this[_0x158650(0x25d)],this[_0x158650(0x1dc)][_0x158650(0x26a)]()[_0x158650(0x1e8)]());}[_0x2a6225(0x212)](){const _0x2dc3c0=_0x2a6225;return(0x0,_0x2de058['getTableActionBodyPath'])(this[_0x2dc3c0(0x1dc)][_0x2dc3c0(0x26a)]()[_0x2dc3c0(0x1e8)](),this[_0x2dc3c0(0x263)]);}[_0x2a6225(0x237)](_0x5f3317,_0xa9d1cd,_0x4374c6){const _0x409455=_0x2a6225;return(0x0,_0x2de058['executeRichTextTableActions'])(this[_0x409455(0x1d4)],this[_0x409455(0x25d)],_0x5f3317,_0xa9d1cd,_0x4374c6?{'tableId':this['_tableId'],'segmentId':this['_segmentId'],..._0x4374c6}:void 0x0);}};_0x4e5482=_0x358732([_0x32136e(0x3,_0x3cc9fb[_0x2a6225(0x1ec)]),_0x32136e(0x4,(0x0,_0x3cc9fb[_0x2a6225(0x26f)])(_0x3cc9fb['Injector']))],_0x4e5482);var _0x4e1010=class extends _0x319cfb[_0x2a6225(0x1bc)]{['getTables'](_0xd425cf=''){const _0x7ab3fa=_0x2a6225;return this[_0x7ab3fa(0x1ed)](_0xd425cf)[_0x7ab3fa(0x25a)](_0x23c417=>this[_0x7ab3fa(0x203)](_0x23c417[_0x7ab3fa(0x1d5)],_0xd425cf));}[_0x2a6225(0x222)](_0x1581fd,_0x222d94=''){const _0x5ce6aa=_0x2a6225;return this[_0x5ce6aa(0x1ed)](_0x222d94)[_0x5ce6aa(0x272)](_0x308e18=>_0x308e18[_0x5ce6aa(0x1d5)]===_0x1581fd)?this['_createFDocumentTable'](_0x1581fd,_0x222d94):null;}[_0x2a6225(0x1f5)](_0xcc3411,_0x5898d3=''){const _0x32ea55=_0x2a6225;var _0x4a0e6e;let _0x10f4e6=(_0x4a0e6e=this[_0x32ea55(0x1ed)](_0x5898d3)[_0xcc3411])==null?void 0x0:_0x4a0e6e[_0x32ea55(0x1d5)];return _0x10f4e6?this[_0x32ea55(0x203)](_0x10f4e6,_0x5898d3):null;}[_0x2a6225(0x1ae)](){const _0x581f0a=_0x2a6225;let _0x2a3578=this[_0x581f0a(0x23d)][_0x581f0a(0x1e9)](_0x2de058['DocsTableSelectionService'])['getStableTableSelection']();return _0x2a3578!=null&&_0x2a3578[_0x581f0a(0x1d5)]?this[_0x581f0a(0x203)](_0x2a3578[_0x581f0a(0x1d5)],_0x2a3578['segmentId']):null;}[_0x2a6225(0x1e1)](_0x4c7575,_0x21324b=''){const _0x9f055d=_0x2a6225;return this[_0x9f055d(0x27e)](_0x4c7575,_0x21324b)[0x0]??null;}[_0x2a6225(0x27e)](_0x2a8dc1,_0x44efb8=''){const _0x5838c1=_0x2a6225;let _0x1a162e=this[_0x5838c1(0x1d3)](_0x44efb8),_0x51ab94=typeof _0x2a8dc1==_0x5838c1(0x1c8)?{'text':_0x2a8dc1}:_0x2a8dc1;return this[_0x5838c1(0x1d2)](_0x44efb8)[_0x5838c1(0x20d)](_0x1598dc=>{const _0x15f924=_0x5838c1;let _0x4525bc=_0x1598dc[_0x15f924(0x23e)]();return!(_0x51ab94[_0x15f924(0x1d5)]&&_0x4525bc!==_0x51ab94[_0x15f924(0x1d5)]||_0x51ab94['text']&&!this['_tableContainsText'](_0x1a162e,_0x4525bc,_0x51ab94[_0x15f924(0x1b3)])||_0x51ab94[_0x15f924(0x1f9)]&&!this[_0x15f924(0x234)](_0x1598dc,0x0,_0x51ab94['headerText'])||_0x51ab94[_0x15f924(0x240)]&&!this[_0x15f924(0x234)](_0x1598dc,0x0,_0x51ab94['titleText']));});}[_0x2a6225(0x276)](_0x3ed60a,_0x247065,_0x2fcc89={}){const _0xb799e4=_0x2a6225;let _0xe02509=this[_0xb799e4(0x23d)][_0xb799e4(0x1e9)](_0x3cc9fb[_0xb799e4(0x1ec)]),_0x139ab2=_0x2fcc89[_0xb799e4(0x1d5)]??(0x0,_0x3cc9fb[_0xb799e4(0x1c5)])(0x6);return _0xe02509[_0xb799e4(0x219)](_0x2de058['DocsTableInsertTableCommand']['id'],{..._0x2fcc89,'unitId':this[_0xb799e4(0x23e)](),'rows':_0x3ed60a,'columns':_0x247065,'tableId':_0x139ab2})?this['_createFDocumentTable'](_0x139ab2,_0x2fcc89[_0xb799e4(0x218)]??''):null;}['insertTableFromData'](_0x261d20,_0x288553={}){const _0x382252=_0x2a6225;let _0x12b4f3=this[_0x382252(0x23d)]['get'](_0x3cc9fb[_0x382252(0x1ec)]),_0x2e54a4=_0x288553[_0x382252(0x1d5)]??(0x0,_0x3cc9fb[_0x382252(0x1c5)])(0x6);return _0x12b4f3[_0x382252(0x219)](_0x2de058[_0x382252(0x206)]['id'],{..._0x288553,'unitId':this['getId'](),'values':_0x261d20,'tableId':_0x2e54a4})?this[_0x382252(0x203)](_0x2e54a4,_0x288553[_0x382252(0x218)]??''):null;}['_getTables'](_0x2c4acd=''){let {tables:_0x58f0e0=[]}=this['getBody'](_0x2c4acd);return _0x58f0e0;}[_0x2a6225(0x1d3)](_0x4d5179=''){const _0x2f696b=_0x2a6225;let _0x132cca=this['getDocumentDataModel']()[_0x2f696b(0x1e8)]();return _0x4d5179?{...this[_0x2f696b(0x26a)](_0x4d5179)[_0x2f696b(0x1e8)](),'documentStyle':_0x132cca[_0x2f696b(0x1d7)],'tableSource':_0x132cca[_0x2f696b(0x20f)]}:_0x132cca;}['_createFDocumentTable'](_0x4241ba,_0x33bece=''){const _0x2f0dfc=_0x2a6225;return this[_0x2f0dfc(0x23d)][_0x2f0dfc(0x1fd)](_0x4e5482,this,_0x4241ba,_0x33bece);}[_0x2a6225(0x24d)](_0x5be3cc,_0x44d994,_0x3770b1){const _0xe0d1b8=_0x2a6225;var _0x112ab8;let _0x224ad8=(0x0,_0x2de058['getTableRangeById'])(_0x5be3cc,_0x44d994);if(!_0x224ad8)return!0x1;let _0x25f3a1=(_0x112ab8=_0x5be3cc[_0xe0d1b8(0x264)])==null?void 0x0:_0x112ab8[_0xe0d1b8(0x1bd)];return _0x25f3a1?_0x25f3a1[_0xe0d1b8(0x224)](_0x224ad8[_0xe0d1b8(0x1ee)],_0x224ad8[_0xe0d1b8(0x1c0)])[_0xe0d1b8(0x200)](_0x3770b1):!0x1;}[_0x2a6225(0x234)](_0x50f1d8,_0x424337,_0x33884c){const _0x5911db=_0x2a6225;return Array[_0x5911db(0x1ba)]({'length':_0x50f1d8[_0x5911db(0x236)]()},(_0x4a2abd,_0xcbc42e)=>_0x50f1d8['getCellText'](_0x424337,_0xcbc42e))[_0x5911db(0x272)](_0x59d53a=>_0x59d53a[_0x5911db(0x200)](_0x33884c));}};_0x319cfb[_0x2a6225(0x1bc)]['extend'](_0x4e1010),Object[_0x2a6225(0x23b)](_0x5e4f39,_0x2a6225(0x1ea),{'enumerable':!0x0,'get':function(){return _0x4e5482;}}),_0x5e4f39['FDocumentTableCell']=_0x444506;}));