@univerjs-pro/docs-table 1.4.0 → 1.5.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.
@@ -235,6 +235,10 @@ export declare class FDocumentTable {
235
235
  getCellInsertOffset(row: number, column: number): number | null;
236
236
  /**
237
237
  * Gets the cell range for the specified row index, covering all columns in the row.
238
+ *
239
+ * For multiple consecutive rows, use {@link FDocumentTable.getRowsRange} with the full count
240
+ * instead of constructing a separate range for each row.
241
+ *
238
242
  * @param {number} row The zero-based row index.
239
243
  * @returns {IDocsTableCellRange} The cell range for the specified row, or `null` if the row does not exist.
240
244
  * @example
@@ -262,6 +266,10 @@ export declare class FDocumentTable {
262
266
  getRowsRange(startRow: number, count?: number): IDocsTableCellRange;
263
267
  /**
264
268
  * Gets the cell range for the specified column index, covering all rows in the column.
269
+ *
270
+ * For multiple consecutive columns, use {@link FDocumentTable.getColumnsRange} with the full count
271
+ * instead of constructing a separate range for each column.
272
+ *
265
273
  * @param {number} column The zero-based column index.
266
274
  * @returns {IDocsTableCellRange} The cell range for the specified column, or `null` if the column does not exist.
267
275
  * @example
@@ -300,6 +308,10 @@ export declare class FDocumentTable {
300
308
  selectTable(): boolean;
301
309
  /**
302
310
  * Selects a single row in the table.
311
+ *
312
+ * For multiple consecutive rows, prefer {@link FDocumentTable.selectRows} with the full count
313
+ * instead of calling this method for each row.
314
+ *
303
315
  * @param {number} row The zero-based row index to select.
304
316
  * @returns {boolean} `true` if the selection was successfully set, or `false` if the table source is not found in the document snapshot.
305
317
  * @example
@@ -312,6 +324,9 @@ export declare class FDocumentTable {
312
324
  selectRow(row: number): boolean;
313
325
  /**
314
326
  * Selects multiple rows in the table.
327
+ *
328
+ * For multiple consecutive rows, pass the full `count` in one call instead of looping with `count = 1`.
329
+ *
315
330
  * @param {number} startRow The zero-based starting row index to select.
316
331
  * @param {number} [count] The number of rows to select.
317
332
  * @returns {boolean} `true` if the selection was successfully set, or `false` if the table source is not found in the document snapshot.
@@ -325,6 +340,10 @@ export declare class FDocumentTable {
325
340
  selectRows(startRow: number, count?: number): boolean;
326
341
  /**
327
342
  * Selects a single column in the table.
343
+ *
344
+ * For multiple consecutive columns, prefer {@link FDocumentTable.selectColumns} with the full count
345
+ * instead of calling this method for each column.
346
+ *
328
347
  * @param {number} column The zero-based column index to select.
329
348
  * @returns {boolean} `true` if the selection was successfully set, or `false` if the table source is not found in the document snapshot.
330
349
  * @example
@@ -337,6 +356,9 @@ export declare class FDocumentTable {
337
356
  selectColumn(column: number): boolean;
338
357
  /**
339
358
  * Selects multiple columns in the table.
359
+ *
360
+ * For multiple consecutive columns, pass the full `count` in one call instead of looping with `count = 1`.
361
+ *
340
362
  * @param {number} startColumn The zero-based starting column index to select.
341
363
  * @param {number} [count] The number of columns to select.
342
364
  * @returns {boolean} `true` if the selection was successfully set, or `false` if the table source is not found in the document snapshot.
@@ -350,6 +372,10 @@ export declare class FDocumentTable {
350
372
  selectColumns(startColumn: number, count?: number): boolean;
351
373
  /**
352
374
  * Selects a single cell in the table.
375
+ *
376
+ * To select multiple cells, use {@link FDocumentTable.selectRange} once with the complete target range;
377
+ * repeated calls to this method replace the selection.
378
+ *
353
379
  * @param {number} row The zero-based row index of the cell to select.
354
380
  * @param {number} column The zero-based column index of the cell to select.
355
381
  * @returns {boolean} `true` if the selection was successfully set, or `false` if the table source is not found in the document snapshot.
@@ -383,6 +409,10 @@ export declare class FDocumentTable {
383
409
  selectRange(range: IDocsTableCellRange, kind?: Exclude<DocsTableSelectionKind, DocsTableSelectionKind.None | DocsTableSelectionKind.Text>): boolean;
384
410
  /**
385
411
  * Inserts a new row before the specified row index.
412
+ *
413
+ * For multiple consecutive rows, prefer {@link FDocumentTable.insertRowsBefore} with the full count
414
+ * instead of calling this method for each row.
415
+ *
386
416
  * @param {number} row The zero-based row index to insert before.
387
417
  * @returns {boolean} `true` if the row was successfully inserted.
388
418
  * @example
@@ -395,6 +425,10 @@ export declare class FDocumentTable {
395
425
  insertRowBefore(row: number): boolean;
396
426
  /**
397
427
  * Inserts a new row after the specified row index.
428
+ *
429
+ * For multiple consecutive rows, prefer {@link FDocumentTable.insertRowsAfter} with the full count
430
+ * instead of calling this method for each row.
431
+ *
398
432
  * @param {number} row The zero-based row index to insert after.
399
433
  * @returns {boolean} `true` if the row was successfully inserted.
400
434
  * @example
@@ -433,6 +467,10 @@ export declare class FDocumentTable {
433
467
  insertRowsAfter(row: number, count: number): boolean;
434
468
  /**
435
469
  * Appends a new row at the end of the table.
470
+ *
471
+ * To append multiple rows, call {@link FDocumentTable.insertRowsAfter} once with the last
472
+ * row index and the full count instead of repeatedly calling this method.
473
+ *
436
474
  * @returns {boolean} `true` if the row was successfully appended.
437
475
  * @example
438
476
  * ```ts
@@ -444,6 +482,10 @@ export declare class FDocumentTable {
444
482
  appendRow(): boolean;
445
483
  /**
446
484
  * Inserts a new column before the specified column index.
485
+ *
486
+ * For multiple consecutive columns, prefer {@link FDocumentTable.insertColumnsBefore} with the full count
487
+ * instead of calling this method for each column.
488
+ *
447
489
  * @param {number} column The zero-based column index to insert before.
448
490
  * @returns {boolean} `true` if the column was successfully inserted.
449
491
  * @example
@@ -456,6 +498,10 @@ export declare class FDocumentTable {
456
498
  insertColumnBefore(column: number): boolean;
457
499
  /**
458
500
  * Inserts a new column after the specified column index.
501
+ *
502
+ * For multiple consecutive columns, prefer {@link FDocumentTable.insertColumnsAfter} with the full count
503
+ * instead of calling this method for each column.
504
+ *
459
505
  * @param {number} column The zero-based column index to insert after.
460
506
  * @returns {boolean} `true` if the column was successfully inserted.
461
507
  * @example
@@ -494,6 +540,10 @@ export declare class FDocumentTable {
494
540
  insertColumnsAfter(column: number, count: number): boolean;
495
541
  /**
496
542
  * Appends a new column at the end of the table.
543
+ *
544
+ * To append multiple columns, call {@link FDocumentTable.insertColumnsAfter} once with the last
545
+ * column index and the full count instead of repeatedly calling this method.
546
+ *
497
547
  * @returns {boolean} `true` if the column was successfully appended.
498
548
  * @example
499
549
  * ```ts
@@ -505,6 +555,10 @@ export declare class FDocumentTable {
505
555
  appendColumn(): boolean;
506
556
  /**
507
557
  * Deletes a single row at the specified row index.
558
+ *
559
+ * For multiple consecutive rows, prefer {@link FDocumentTable.deleteRows} with the full count
560
+ * instead of calling this method for each row.
561
+ *
508
562
  * @param {number} row The zero-based row index to delete.
509
563
  * @returns {boolean} `true` if the row was successfully deleted.
510
564
  * @example
@@ -517,6 +571,9 @@ export declare class FDocumentTable {
517
571
  deleteRow(row: number): boolean;
518
572
  /**
519
573
  * Deletes multiple rows starting from the specified row index.
574
+ *
575
+ * For multiple consecutive rows, pass the full `count` in one call instead of looping with `count = 1`.
576
+ *
520
577
  * @param {number} startRow The zero-based starting row index to delete.
521
578
  * @param {number} [count] The number of rows to delete.
522
579
  * @returns {boolean} `true` if the rows were successfully deleted.
@@ -530,6 +587,10 @@ export declare class FDocumentTable {
530
587
  deleteRows(startRow: number, count?: number): boolean;
531
588
  /**
532
589
  * Deletes a single column at the specified column index.
590
+ *
591
+ * For multiple consecutive columns, prefer {@link FDocumentTable.deleteColumns} with the full count
592
+ * instead of calling this method for each column.
593
+ *
533
594
  * @param {number} column The zero-based column index to delete.
534
595
  * @returns {boolean} `true` if the column was successfully deleted.
535
596
  * @example
@@ -542,6 +603,9 @@ export declare class FDocumentTable {
542
603
  deleteColumn(column: number): boolean;
543
604
  /**
544
605
  * Deletes multiple columns starting from the specified column index.
606
+ *
607
+ * For multiple consecutive columns, pass the full `count` in one call instead of looping with `count = 1`.
608
+ *
545
609
  * @param {number} startColumn The zero-based starting column index to delete.
546
610
  * @param {number} [count] The number of columns to delete.
547
611
  * @returns {boolean} `true` if the columns were successfully deleted.
@@ -591,6 +655,10 @@ export declare class FDocumentTable {
591
655
  moveTableToOffset(offset: number): boolean;
592
656
  /**
593
657
  * Moves a single row to a target row index with the specified insert position relative to the target row.
658
+ *
659
+ * For multiple consecutive rows, prefer {@link FDocumentTable.moveRows} with the full count
660
+ * instead of calling this method for each row.
661
+ *
594
662
  * @param {number} row The zero-based row index to move.
595
663
  * @param {number} targetRow The zero-based target row index to move to.
596
664
  * @param {DocsTableRowInsertPosition} [position] The position to insert the moved row relative to the target row. Defaults to `Above`.
@@ -620,6 +688,10 @@ export declare class FDocumentTable {
620
688
  moveRows(startRow: number, count: number, targetRow: number, position?: DocsTableRowInsertPosition): boolean;
621
689
  /**
622
690
  * Moves a single column to a target column index with the specified insert position relative to the target column.
691
+ *
692
+ * For multiple consecutive columns, prefer {@link FDocumentTable.moveColumns} with the full count
693
+ * instead of calling this method for each column.
694
+ *
623
695
  * @param {number} column The zero-based column index to move.
624
696
  * @param {number} targetColumn The zero-based target column index to move to.
625
697
  * @param {DocsTableColumnInsertPosition} [position] The position to insert the moved column relative to the target column. Defaults to `Left`.
@@ -701,6 +773,10 @@ export declare class FDocumentTable {
701
773
  setCellText(row: number, column: number, text: string): boolean;
702
774
  /**
703
775
  * Sets the background color of a range of cells in the table.
776
+ *
777
+ * To apply the same setting to multiple cells, pass the complete target `range` in one call
778
+ * instead of calling this method for each cell.
779
+ *
704
780
  * @param {IDocsTableCellRange} range The range of cells to set the background color for.
705
781
  * @param {string} color The background color to set, specified as a hex string (e.g., `#ff0000` for red).
706
782
  * @returns {boolean} `true` if the cell background color was successfully set.
@@ -722,6 +798,10 @@ export declare class FDocumentTable {
722
798
  /**
723
799
  * Sets or clears the explicit margin override for a range of cells.
724
800
  * Pass `null` to make the cells inherit the table default.
801
+ *
802
+ * To apply the same setting to multiple cells, pass the complete target `range` in one call
803
+ * instead of calling this method for each cell.
804
+ *
725
805
  * @param {IDocsTableCellRange} range The target cell range.
726
806
  * @param {ITableCellMargin | null} margin The margin override, or `null` to clear it.
727
807
  * @returns {boolean} Whether the mutation succeeded.
@@ -736,6 +816,10 @@ export declare class FDocumentTable {
736
816
  setDefaultCellMargin(margin: Nullable<ITableCellMargin>): boolean;
737
817
  /**
738
818
  * Sets the border properties for a range of cells in the table.
819
+ *
820
+ * For borders on multiple cells, pass the complete target `range` in one call. Border presets are
821
+ * interpreted relative to that range, so applying them to each cell can produce different borders.
822
+ *
739
823
  * @param {IDocsTableCellRange} range The range of cells to set the border for.
740
824
  * @param {IDocsTableBorderOptions} options The border options, including color, width, dash style, and presets for which sides to apply the border to.
741
825
  * @returns {boolean} `true` if the cell border was successfully set.
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
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;}));
1
+ (function(_0x78aff7,_0x4b1ebb){const _0x467ae9=_0x117e,_0x270a83=_0x78aff7();while(!![]){try{const _0x17ef36=parseInt(_0x467ae9(0x120))/0x1*(-parseInt(_0x467ae9(0x171))/0x2)+parseInt(_0x467ae9(0xd9))/0x3*(parseInt(_0x467ae9(0x156))/0x4)+-parseInt(_0x467ae9(0xee))/0x5+parseInt(_0x467ae9(0x144))/0x6+parseInt(_0x467ae9(0x12f))/0x7*(-parseInt(_0x467ae9(0xcc))/0x8)+parseInt(_0x467ae9(0x117))/0x9*(parseInt(_0x467ae9(0x125))/0xa)+-parseInt(_0x467ae9(0x12c))/0xb*(-parseInt(_0x467ae9(0xc6))/0xc);if(_0x17ef36===_0x4b1ebb)break;else _0x270a83['push'](_0x270a83['shift']());}catch(_0x515bca){_0x270a83['push'](_0x270a83['shift']());}}}(_0x3cb2,0x3e5c1),function(_0x2d50ca,_0x53146c){const _0x54d942=_0x117e;typeof exports=='object'&&typeof module<'u'?_0x53146c(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x54d942(0x162)&&define['amd']?define([_0x54d942(0xff),_0x54d942(0x150),_0x54d942(0x168),_0x54d942(0xda),_0x54d942(0xad)],_0x53146c):(_0x2d50ca=typeof globalThis<'u'?globalThis:_0x2d50ca||self,_0x53146c(_0x2d50ca[_0x54d942(0x14a)]={},_0x2d50ca[_0x54d942(0xdb)],_0x2d50ca[_0x54d942(0x18f)],_0x2d50ca[_0x54d942(0x100)],_0x2d50ca[_0x54d942(0x12b)]));}(this,function(_0x3bd557,_0x1c0c84,_0x296ee2,_0x120827,_0x25c57e){const _0x5b2c50=_0x117e;Object[_0x5b2c50(0x179)](_0x3bd557,Symbol[_0x5b2c50(0xac)],{'value':_0x5b2c50(0x106)});var _0x5cc7a8=class extends _0x120827[_0x5b2c50(0xc5)]{get[_0x5b2c50(0x173)](){const _0x3f6a37=_0x5b2c50;return _0x1c0c84[_0x3f6a37(0x173)];}get['DocsTableColumnType'](){const _0x2f8334=_0x5b2c50;return _0x1c0c84[_0x2f8334(0x12d)];}get[_0x5b2c50(0xf5)](){const _0x2ac37e=_0x5b2c50;return _0x1c0c84[_0x2ac37e(0xf5)];}get[_0x5b2c50(0x149)](){const _0x3a3aa4=_0x5b2c50;return _0x1c0c84[_0x3a3aa4(0x149)];}get[_0x5b2c50(0x155)](){const _0x49d00b=_0x5b2c50;return _0x1c0c84[_0x49d00b(0x155)];}get['DocsTableBorderPreset'](){const _0x548c91=_0x5b2c50;return _0x1c0c84[_0x548c91(0xe8)];}get['DocsTableSortDirection'](){return _0x1c0c84['DocsTableSortDirection'];}get['DashStyleType'](){const _0x536e83=_0x5b2c50;return _0x296ee2[_0x536e83(0x172)];}};_0x120827[_0x5b2c50(0xc5)][_0x5b2c50(0xf8)](_0x5cc7a8);var _0x1fda9e=class{constructor(_0x490ca3,_0x1523b2,_0x3ffb3d){const _0x5893a3=_0x5b2c50;this[_0x5893a3(0x13f)]=_0x490ca3,this[_0x5893a3(0x14f)]=_0x1523b2,this[_0x5893a3(0xc0)]=_0x3ffb3d;}[_0x5b2c50(0x194)](){return this['_table'];}[_0x5b2c50(0xca)](){return this['_row'];}[_0x5b2c50(0xc7)](){const _0x5632b2=_0x5b2c50;return this[_0x5632b2(0xc0)];}['getText'](){const _0x423183=_0x5b2c50;return this[_0x423183(0x13f)][_0x423183(0x146)](this[_0x423183(0x14f)],this[_0x423183(0xc0)]);}['getContentRange'](){const _0x36ec03=_0x5b2c50;return this[_0x36ec03(0x13f)][_0x36ec03(0x148)](this[_0x36ec03(0x14f)],this[_0x36ec03(0xc0)]);}[_0x5b2c50(0x111)](){const _0x4887a2=_0x5b2c50;return this[_0x4887a2(0x13f)][_0x4887a2(0xdd)](this[_0x4887a2(0x14f)],this['_column']);}[_0x5b2c50(0x160)](){const _0x3d6a2e=_0x5b2c50;return this[_0x3d6a2e(0x13f)][_0x3d6a2e(0x175)](this[_0x3d6a2e(0x14f)],this[_0x3d6a2e(0xc0)]);}[_0x5b2c50(0x13b)](){const _0x564395=_0x5b2c50;return this[_0x564395(0x13f)][_0x564395(0xdc)](this[_0x564395(0x14f)],this[_0x564395(0xc0)]);}['setMargin'](_0x1c26dc){const _0x411a62=_0x5b2c50;return this[_0x411a62(0x13f)][_0x411a62(0xf9)](this[_0x411a62(0x13f)][_0x411a62(0x105)](this[_0x411a62(0x14f)],this[_0x411a62(0xc0)]),_0x1c26dc);}[_0x5b2c50(0x182)](){const _0x1a4996=_0x5b2c50;return this[_0x1a4996(0x13f)][_0x1a4996(0xf9)](this['_table']['getCellRange'](this[_0x1a4996(0x14f)],this[_0x1a4996(0xc0)]),null);}[_0x5b2c50(0xc9)](_0x204af6){const _0x3cdffa=_0x5b2c50;return this[_0x3cdffa(0x13f)]['setCellText'](this[_0x3cdffa(0x14f)],this[_0x3cdffa(0xc0)],_0x204af6);}['setBackgroundColor'](_0x3be90f){const _0x296256=_0x5b2c50;return this[_0x296256(0x13f)]['setCellBackground'](this[_0x296256(0x13f)]['getCellRange'](this['_row'],this[_0x296256(0xc0)]),_0x3be90f);}['setBorder'](_0x4a17e0){const _0x274e66=_0x5b2c50;return this['_table'][_0x274e66(0x14d)](this[_0x274e66(0x13f)][_0x274e66(0x105)](this[_0x274e66(0x14f)],this[_0x274e66(0xc0)]),_0x4a17e0);}['mergeTo'](_0x29fe19,_0x1fee7c){const _0x1b9a0d=_0x5b2c50;return this[_0x1b9a0d(0x13f)][_0x1b9a0d(0xcd)]({'startRow':this[_0x1b9a0d(0x14f)],'startColumn':this['_column'],'endRow':this['_row']+_0x29fe19-0x1,'endColumn':this['_column']+_0x1fee7c-0x1});}[_0x5b2c50(0xbb)](){const _0x20cb10=_0x5b2c50;return this[_0x20cb10(0x13f)]['unmergeCells'](this[_0x20cb10(0x13f)][_0x20cb10(0x105)](this[_0x20cb10(0x14f)],this['_column']));}};function _0xc5e662(_0x13a2ad){'@babel/helpers - typeof';const _0x1e1aaa=_0x5b2c50;return _0xc5e662=typeof Symbol==_0x1e1aaa(0x162)&&typeof Symbol[_0x1e1aaa(0x113)]=='symbol'?function(_0x35e2a9){return typeof _0x35e2a9;}:function(_0x3b4c70){const _0x82a27d=_0x1e1aaa;return _0x3b4c70&&typeof Symbol=='function'&&_0x3b4c70['constructor']===Symbol&&_0x3b4c70!==Symbol[_0x82a27d(0x183)]?'symbol':typeof _0x3b4c70;},_0xc5e662(_0x13a2ad);}function _0x5735bd(_0x13c064,_0x253e80){const _0x3662e8=_0x5b2c50;if(_0xc5e662(_0x13c064)!=_0x3662e8(0x178)||!_0x13c064)return _0x13c064;var _0x310599;if(typeof Symbol<'u'&&(_0x310599=_0x13c064[Symbol['toPrimitive']])!==void 0x0){var _0x531093=_0x310599[_0x3662e8(0xaf)](_0x13c064,_0x253e80||'default');if(_0xc5e662(_0x531093)!='object')return _0x531093;throw TypeError(_0x3662e8(0x10b));}return(_0x253e80===_0x3662e8(0x116)?String:Number)(_0x13c064);}function _0x466704(_0x4fb91c){const _0x126098=_0x5b2c50;var _0x4123cb=_0x5735bd(_0x4fb91c,_0x126098(0x116));return _0xc5e662(_0x4123cb)=='symbol'?_0x4123cb:_0x4123cb+'';}function _0x5989e3(_0x5aa180,_0x389ce3,_0x51e238){const _0x5e0558=_0x5b2c50;return(_0x389ce3=_0x466704(_0x389ce3))in _0x5aa180?Object[_0x5e0558(0x179)](_0x5aa180,_0x389ce3,{'value':_0x51e238,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5aa180[_0x389ce3]=_0x51e238,_0x5aa180;}function _0x4532c9(_0x21aa1b,_0x3570b3){return function(_0x320a19,_0x2c8802){_0x3570b3(_0x320a19,_0x2c8802,_0x21aa1b);};}function _0x9bfa19(_0xfecedd,_0x1aca80,_0x787a69,_0x57c805){const _0x17e824=_0x5b2c50;var _0x2bf853=arguments[_0x17e824(0x191)],_0x33d799=_0x2bf853<0x3?_0x1aca80:_0x57c805===null?_0x57c805=Object[_0x17e824(0x16b)](_0x1aca80,_0x787a69):_0x57c805,_0x1573d1;if(typeof Reflect==_0x17e824(0x178)&&typeof Reflect[_0x17e824(0x102)]==_0x17e824(0x162))_0x33d799=Reflect['decorate'](_0xfecedd,_0x1aca80,_0x787a69,_0x57c805);else{for(var _0xda6ba4=_0xfecedd[_0x17e824(0x191)]-0x1;_0xda6ba4>=0x0;_0xda6ba4--)(_0x1573d1=_0xfecedd[_0xda6ba4])&&(_0x33d799=(_0x2bf853<0x3?_0x1573d1(_0x33d799):_0x2bf853>0x3?_0x1573d1(_0x1aca80,_0x787a69,_0x33d799):_0x1573d1(_0x1aca80,_0x787a69))||_0x33d799);}return _0x2bf853>0x3&&_0x33d799&&Object['defineProperty'](_0x1aca80,_0x787a69,_0x33d799),_0x33d799;}let _0x4dbc7e=class{constructor(_0x2f7f3b,_0x1eef94,_0x4fcb86,_0x8562ab,_0x5ddcb6){const _0x339700=_0x5b2c50;this[_0x339700(0xf0)]=_0x2f7f3b,this['_tableId']=_0x1eef94,this['_segmentId']=_0x4fcb86,this[_0x339700(0x161)]=_0x8562ab,this[_0x339700(0x169)]=_0x5ddcb6,_0x5989e3(this,_0x339700(0x16d),void 0x0),this['_unitId']=this[_0x339700(0xf0)][_0x339700(0x15f)]();}['getId'](){const _0x2f3659=_0x5b2c50;return this[_0x2f3659(0x11c)];}[_0x5b2c50(0xf1)](){const _0x40e807=_0x5b2c50;return this[_0x40e807(0x18b)];}[_0x5b2c50(0x188)](){const _0x623702=_0x5b2c50;return{'id':this[_0x623702(0x11c)],'rowCount':this[_0x623702(0x112)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x623702(0x109)](),'source':this[_0x623702(0x126)]()};}[_0x5b2c50(0x181)](){const _0x465641=_0x5b2c50;let _0x2d7251=this[_0x465641(0x109)](),_0x5da1cc=this['getSource'](),_0x525207=this[_0x465641(0xec)]();return{'id':this[_0x465641(0x11c)],'rowCount':this['getRowCount'](),'columnCount':_0x525207,'headerRowCount':(_0x2d7251==null?void 0x0:_0x2d7251[_0x465641(0xf2)])??0x0,'titleRow':(_0x2d7251==null?void 0x0:_0x2d7251[_0x465641(0x10d)])??!0x1,'columns':Array[_0x465641(0x130)]({'length':_0x525207},(_0x20233d,_0x231e8a)=>{const _0x1cd51d=_0x465641;var _0x4063d9,_0x576c8f;return{'index':_0x231e8a,'type':_0x2d7251==null||(_0x4063d9=_0x2d7251[_0x1cd51d(0x104)])==null||(_0x4063d9=_0x4063d9[_0x231e8a])==null?void 0x0:_0x4063d9[_0x1cd51d(0x151)],'width':_0x5da1cc==null||(_0x576c8f=_0x5da1cc['tableColumns'][_0x231e8a])==null?void 0x0:_0x576c8f[_0x1cd51d(0x107)][_0x1cd51d(0x11b)]['v']};}),'sampleRows':Array[_0x465641(0x130)]({'length':this[_0x465641(0x112)]()},(_0x34a204,_0x4e6121)=>Array[_0x465641(0x130)]({'length':_0x525207},(_0x85c08e,_0x39698b)=>this[_0x465641(0x146)](_0x4e6121,_0x39698b)))[_0x465641(0x13c)](_0xd3ea27=>_0xd3ea27[_0x465641(0x13d)](_0xc2fd57=>_0xc2fd57[_0x465641(0x191)]>0x0))[_0x465641(0x12a)](0x0,0x5)};}['getRowCount'](){const _0x4acb60=_0x5b2c50;var _0x4af096;return((_0x4af096=this['getSource']())==null?void 0x0:_0x4af096[_0x4acb60(0x17b)]['length'])??0x0;}[_0x5b2c50(0xec)](){const _0x88bd80=_0x5b2c50;var _0x135f75;return((_0x135f75=this['getSource']())==null?void 0x0:_0x135f75['tableColumns'][_0x88bd80(0x191)])??0x0;}[_0x5b2c50(0xa8)](_0x530d46,_0x1f6ccb){const _0x4e865c=_0x5b2c50;var _0x3edffd;return(_0x3edffd=this[_0x4e865c(0x126)]())!=null&&(_0x3edffd=_0x3edffd[_0x4e865c(0x17b)][_0x530d46])!=null&&_0x3edffd['tableCells'][_0x1f6ccb]?this[_0x4e865c(0x169)][_0x4e865c(0x11a)](_0x1fda9e,this,_0x530d46,_0x1f6ccb):null;}[_0x5b2c50(0x146)](_0x14b55c,_0x49be95){const _0x475b03=_0x5b2c50;var _0x58dc16,_0x23a664;let _0x201415=(_0x58dc16=(0x0,_0x1c0c84[_0x475b03(0x158)])(this[_0x475b03(0x187)](),this[_0x475b03(0x11c)]))==null||(_0x58dc16=_0x58dc16[_0x475b03(0x186)][_0x14b55c])==null?void 0x0:_0x58dc16[_0x475b03(0x122)][_0x49be95];return _0x201415?((_0x23a664=this[_0x475b03(0x187)]()[_0x475b03(0xb7)])==null?void 0x0:_0x23a664['dataStream'][_0x475b03(0x12a)](_0x201415['startOffset']+0x1,_0x201415[_0x475b03(0x177)])[_0x475b03(0x14c)](/\r\n$/,''))??'':'';}[_0x5b2c50(0x175)](_0x56b842,_0x49df8d){const _0x3c24dc=_0x5b2c50;var _0x2ee204;let _0x1dc047=this[_0x3c24dc(0x126)](),_0x4b58a3=_0x1dc047==null||(_0x2ee204=_0x1dc047[_0x3c24dc(0x17b)][_0x56b842])==null?void 0x0:_0x2ee204[_0x3c24dc(0x10e)][_0x49df8d];return _0x4b58a3?_0x296ee2['Tools'][_0x3c24dc(0xbc)](_0x4b58a3['margin']??_0x1dc047[_0x3c24dc(0x167)]??_0x1c0c84['DEFAULT_DOCS_TABLE_CELL_MARGIN']):null;}[_0x5b2c50(0xdc)](_0x48378f,_0x20dc81){const _0x841019=_0x5b2c50;var _0x3987e7;let _0xaa54d=(_0x3987e7=this[_0x841019(0x126)]())==null||(_0x3987e7=_0x3987e7[_0x841019(0x17b)][_0x48378f])==null?void 0x0:_0x3987e7[_0x841019(0x10e)][_0x20dc81];return _0xaa54d!=null&&_0xaa54d[_0x841019(0x16f)]?_0x296ee2[_0x841019(0xf3)][_0x841019(0xbc)](_0xaa54d[_0x841019(0x16f)]):null;}[_0x5b2c50(0xbd)](){const _0x2238e6=_0x5b2c50;var _0x49bd01;return _0x296ee2[_0x2238e6(0xf3)]['deepClone'](((_0x49bd01=this[_0x2238e6(0x126)]())==null?void 0x0:_0x49bd01[_0x2238e6(0x167)])??_0x1c0c84[_0x2238e6(0xba)]);}[_0x5b2c50(0x15a)](){const _0x5a0e62=_0x5b2c50;var _0x22937c;let _0x5459d4=(_0x22937c=this[_0x5a0e62(0x126)]())==null?void 0x0:_0x22937c[_0x5a0e62(0x167)];return _0x5459d4?_0x296ee2[_0x5a0e62(0xf3)][_0x5a0e62(0xbc)](_0x5459d4):null;}[_0x5b2c50(0x109)](){const _0x1434fe=_0x5b2c50;let _0x32681b=this[_0x1434fe(0x169)][_0x1434fe(0xfc)](_0x1c0c84[_0x1434fe(0x128)]),_0x5d2536=this[_0x1434fe(0x126)]();return _0x5d2536?_0x32681b[_0x1434fe(0x119)](this[_0x1434fe(0x16d)],_0x5d2536):void 0x0;}[_0x5b2c50(0x126)](){const _0x47a6d3=_0x5b2c50;var _0x38ac1d;return(_0x38ac1d=this[_0x47a6d3(0x187)]()[_0x47a6d3(0xe9)])==null?void 0x0:_0x38ac1d[this[_0x47a6d3(0x11c)]];}['getRange'](){const _0x225771=_0x5b2c50;return(0x0,_0x1c0c84['getTableRangeById'])(this[_0x225771(0x187)](),this[_0x225771(0x11c)]);}[_0x5b2c50(0xc8)](){const _0x10b4d3=_0x5b2c50;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x10b4d3(0x112)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x10b4d3(0xab)](0x0,this[_0x10b4d3(0xec)]()-0x1)};}[_0x5b2c50(0x105)](_0x2efe87,_0x4e3106){return{'startRow':_0x2efe87,'endRow':_0x2efe87,'startColumn':_0x4e3106,'endColumn':_0x4e3106};}[_0x5b2c50(0x148)](_0x4b7954,_0x526a1b){const _0x5b7f0e=_0x5b2c50;var _0x218f38;let _0x31c2ab=(_0x218f38=(0x0,_0x1c0c84[_0x5b7f0e(0x158)])(this['_getDocumentData'](),this[_0x5b7f0e(0x11c)]))==null||(_0x218f38=_0x218f38['rows'][_0x4b7954])==null?void 0x0:_0x218f38['cells'][_0x526a1b];if(!_0x31c2ab)return null;let _0x5ea67d=_0x31c2ab[_0x5b7f0e(0xb6)]+0x1;return{'startOffset':_0x5ea67d,'endOffset':Math[_0x5b7f0e(0xab)](_0x5ea67d,_0x31c2ab[_0x5b7f0e(0x177)]-0x1),'segmentId':this[_0x5b7f0e(0x18b)]};}[_0x5b2c50(0xdd)](_0x5a526f,_0x3d3086){const _0x52026e=_0x5b2c50;let _0x53c178=this['getCellContentRange'](_0x5a526f,_0x3d3086);return _0x53c178?Math['max'](_0x53c178[_0x52026e(0xb6)],_0x53c178[_0x52026e(0x177)]-0x1):null;}['getRowRange'](_0x651db0){const _0x47f4a2=_0x5b2c50;return this[_0x47f4a2(0xbf)](_0x651db0,0x1);}['getRowsRange'](_0x6be31b,_0x289891=0x1){const _0x1fee5f=_0x5b2c50;return{'startRow':_0x6be31b,'endRow':_0x6be31b+_0x289891-0x1,'startColumn':0x0,'endColumn':Math[_0x1fee5f(0xab)](0x0,this[_0x1fee5f(0xec)]()-0x1)};}[_0x5b2c50(0x184)](_0x184862){return this['getColumnsRange'](_0x184862,0x1);}[_0x5b2c50(0xcf)](_0x1c9ad9,_0x19b37e=0x1){const _0x38abac=_0x5b2c50;return{'startRow':0x0,'endRow':Math[_0x38abac(0xab)](0x0,this[_0x38abac(0x112)]()-0x1),'startColumn':_0x1c9ad9,'endColumn':_0x1c9ad9+_0x19b37e-0x1};}['selectTable'](){const _0x5d3d59=_0x5b2c50;return this[_0x5d3d59(0xc4)](this[_0x5d3d59(0xc8)](),_0x1c0c84[_0x5d3d59(0xf5)][_0x5d3d59(0xe7)]);}[_0x5b2c50(0x18c)](_0x132889){return this['selectRows'](_0x132889,0x1);}['selectRows'](_0x410562,_0x43db3=0x1){const _0x5b8859=_0x5b2c50;return this[_0x5b8859(0xc4)](this[_0x5b8859(0xbf)](_0x410562,_0x43db3),_0x1c0c84[_0x5b8859(0xf5)][_0x5b8859(0x16c)]);}[_0x5b2c50(0xb1)](_0x4bccf8){const _0x25dec2=_0x5b2c50;return this[_0x25dec2(0x189)](_0x4bccf8,0x1);}[_0x5b2c50(0x189)](_0x5be760,_0x34328d=0x1){const _0x17ba1a=_0x5b2c50;return this[_0x17ba1a(0xc4)](this['getColumnsRange'](_0x5be760,_0x34328d),_0x1c0c84[_0x17ba1a(0xf5)]['Column']);}['selectCell'](_0x2e20de,_0x371235){const _0x219970=_0x5b2c50;return this[_0x219970(0xc4)](this[_0x219970(0x105)](_0x2e20de,_0x371235),_0x1c0c84[_0x219970(0xf5)]['Cell']);}[_0x5b2c50(0xc4)](_0x48b9e9,_0x534089=_0x1c0c84[_0x5b2c50(0xf5)][_0x5b2c50(0x190)]){const _0x512dcc=_0x5b2c50;return this['_injector'][_0x512dcc(0xfc)](_0x1c0c84[_0x512dcc(0x17c)])[_0x512dcc(0x142)]({..._0x48b9e9,'kind':_0x534089,'segmentId':this[_0x512dcc(0x18b)],'tableId':this[_0x512dcc(0x11c)]}),!0x0;}[_0x5b2c50(0x15e)](_0x3f1c10){const _0x5266e2=_0x5b2c50;return this[_0x5266e2(0xd2)](_0x3f1c10,0x1);}[_0x5b2c50(0x17f)](_0xd7711e){return this['insertRowsAfter'](_0xd7711e,0x1);}[_0x5b2c50(0xd2)](_0x22c137,_0x245f9b){const _0x27f9e3=_0x5b2c50;let _0x23f1b4=this['_getDocumentData'](),_0x50e878=(0x0,_0x1c0c84[_0x27f9e3(0x138)])(_0x23f1b4,this['_tableId'],_0x22c137,_0x245f9b,_0x1c0c84[_0x27f9e3(0x16a)][_0x27f9e3(0xd8)],this[_0x27f9e3(0x10f)]());return _0x50e878?this[_0x27f9e3(0x163)](_0x23f1b4,_0x50e878[_0x27f9e3(0x133)]):!0x1;}[_0x5b2c50(0xb0)](_0x1b8605,_0x37891c){const _0xa7ae32=_0x5b2c50;let _0x2372e5=this[_0xa7ae32(0x187)](),_0x1ae0e5=(0x0,_0x1c0c84[_0xa7ae32(0x138)])(_0x2372e5,this[_0xa7ae32(0x11c)],_0x1b8605,_0x37891c,_0x1c0c84['DocsTableInsertPosition'][_0xa7ae32(0x115)],this[_0xa7ae32(0x10f)]());return _0x1ae0e5?this[_0xa7ae32(0x163)](_0x2372e5,_0x1ae0e5[_0xa7ae32(0x133)]):!0x1;}[_0x5b2c50(0xef)](){const _0x27877e=_0x5b2c50;return this[_0x27877e(0xb0)](Math[_0x27877e(0xab)](0x0,this['getRowCount']()-0x1),0x1);}[_0x5b2c50(0x159)](_0x45a659){const _0x5ce841=_0x5b2c50;return this[_0x5ce841(0x10c)](_0x45a659,0x1);}[_0x5b2c50(0x166)](_0xe5b979){const _0x528939=_0x5b2c50;return this[_0x528939(0xed)](_0xe5b979,0x1);}[_0x5b2c50(0x10c)](_0x1d26f5,_0x1d54e1){const _0x2cb7e5=_0x5b2c50;let _0x1e8b3f=this[_0x2cb7e5(0x187)](),_0x2f8dfe=(0x0,_0x1c0c84['buildInsertTableColumnsMutationActions'])(_0x1e8b3f,this[_0x2cb7e5(0x11c)],_0x1d26f5,_0x1d54e1,_0x1c0c84[_0x2cb7e5(0x16a)]['Left'],{'bodyPath':this[_0x2cb7e5(0x10f)]()});return _0x2f8dfe?this[_0x2cb7e5(0x163)](_0x1e8b3f,_0x2f8dfe['actions']):!0x1;}[_0x5b2c50(0xed)](_0xfbc5b2,_0x2f2e9d){const _0x3a5e01=_0x5b2c50;let _0x430179=this['_getDocumentData'](),_0x260362=(0x0,_0x1c0c84[_0x3a5e01(0x134)])(_0x430179,this['_tableId'],_0xfbc5b2,_0x2f2e9d,_0x1c0c84[_0x3a5e01(0x16a)][_0x3a5e01(0x11f)],{'bodyPath':this[_0x3a5e01(0x10f)]()});return _0x260362?this[_0x3a5e01(0x163)](_0x430179,_0x260362[_0x3a5e01(0x133)]):!0x1;}[_0x5b2c50(0xe2)](){const _0x87580b=_0x5b2c50;return this['insertColumnsAfter'](Math[_0x87580b(0xab)](0x0,this[_0x87580b(0xec)]()-0x1),0x1);}[_0x5b2c50(0x136)](_0x32ec00){const _0x68748e=_0x5b2c50;return this[_0x68748e(0x129)](_0x32ec00,0x1);}[_0x5b2c50(0x129)](_0x4efa01,_0x2bba8e=0x1){const _0x467fa4=_0x5b2c50;return!!this[_0x467fa4(0x161)][_0x467fa4(0x108)](_0x1c0c84['DocsTableDeleteRowsCommand']['id'],{'endRow':_0x4efa01+_0x2bba8e-0x1,'segmentId':this[_0x467fa4(0x18b)],'startRow':_0x4efa01,'tableId':this[_0x467fa4(0x11c)],'unitId':this[_0x467fa4(0x16d)]});}[_0x5b2c50(0xb2)](_0x1b14d){const _0x421867=_0x5b2c50;return this[_0x421867(0x123)](_0x1b14d,0x1);}[_0x5b2c50(0x123)](_0x5d3e4b,_0x15d45a=0x1){const _0x4e9a6b=_0x5b2c50;return!!this['_commandService'][_0x4e9a6b(0x108)](_0x1c0c84['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x5d3e4b+_0x15d45a-0x1,'segmentId':this[_0x4e9a6b(0x18b)],'startColumn':_0x5d3e4b,'tableId':this[_0x4e9a6b(0x11c)],'unitId':this['_unitId']});}[_0x5b2c50(0x14b)](){const _0x1121aa=_0x5b2c50;return!!this[_0x1121aa(0x161)][_0x1121aa(0x108)](_0x1c0c84[_0x1121aa(0x174)]['id'],{'segmentId':this[_0x1121aa(0x18b)],'tableId':this['_tableId'],'unitId':this[_0x1121aa(0x16d)]});}[_0x5b2c50(0xce)](_0x4eeefd,_0x372992){const _0x478e3d=_0x5b2c50;let _0x267ce2=this['_getDocumentData']();return this['_mutateActions'](_0x267ce2,(0x0,_0x1c0c84[_0x478e3d(0x17a)])(_0x267ce2,this[_0x478e3d(0x11c)],_0x4eeefd,_0x372992));}[_0x5b2c50(0x180)](_0x3d55c4){const _0x229256=_0x5b2c50;let _0x4a8859=this[_0x229256(0x187)]();return this['_mutateActions'](_0x4a8859,(0x0,_0x1c0c84[_0x229256(0xe1)])(_0x4a8859,this['_tableId'],_0x3d55c4,this[_0x229256(0x10f)]()));}[_0x5b2c50(0x16e)](_0x665d12,_0x532ed2,_0x1d3b6e=_0x1c0c84[_0x5b2c50(0x16a)]['Above']){const _0x573cc7=_0x5b2c50;return this[_0x573cc7(0x131)](_0x665d12,0x1,_0x532ed2,_0x1d3b6e);}[_0x5b2c50(0x131)](_0x83608a,_0x23b57b,_0x2fa067,_0x3a9ccd=_0x1c0c84[_0x5b2c50(0x16a)][_0x5b2c50(0xd8)]){const _0x62fa3e=_0x5b2c50;let _0x1e58c4=this[_0x62fa3e(0x187)](),_0x409fb4=(0x0,_0x1c0c84['buildMoveTableRowsMutationActions'])(_0x1e58c4,this[_0x62fa3e(0x11c)],_0x83608a,_0x2fa067,_0x23b57b,_0x3a9ccd,this[_0x62fa3e(0x10f)]());return _0x409fb4?this[_0x62fa3e(0x163)](_0x1e58c4,_0x409fb4['actions']):!0x1;}[_0x5b2c50(0x185)](_0x4eaa10,_0x2e6a5f,_0x1b19ed=_0x1c0c84[_0x5b2c50(0x16a)][_0x5b2c50(0x157)]){const _0x4a20ee=_0x5b2c50;return this[_0x4a20ee(0xc3)](_0x4eaa10,0x1,_0x2e6a5f,_0x1b19ed);}[_0x5b2c50(0xc3)](_0x308860,_0x539c58,_0x35c671,_0x150989=_0x1c0c84['DocsTableInsertPosition'][_0x5b2c50(0x157)]){const _0x1fb173=_0x5b2c50;let _0x265915=this['_getDocumentData'](),_0x5d2644=(0x0,_0x1c0c84['buildMoveTableColumnsMutationActions'])(_0x265915,this[_0x1fb173(0x11c)],_0x308860,_0x35c671,_0x539c58,_0x150989,this['_getBodyPath']());return _0x5d2644?this[_0x1fb173(0x163)](_0x265915,_0x5d2644['actions']):!0x1;}[_0x5b2c50(0xcd)](_0x25e2ff){const _0x29b086=_0x5b2c50;try{let _0x3b6d7a=this[_0x29b086(0x187)](),_0x2269cb=(0x0,_0x1c0c84['buildMergeCellsMutationActions'])({'documentData':_0x3b6d7a,'tableId':this[_0x29b086(0x11c)],..._0x25e2ff});return _0x2269cb?this[_0x29b086(0x163)](_0x3b6d7a,_0x2269cb['actions'],_0x25e2ff):!0x1;}catch{return!0x1;}}[_0x5b2c50(0xb8)](_0x127348){const _0x41e788=_0x5b2c50;try{let _0x490935=this[_0x41e788(0x187)](),_0x101595=(0x0,_0x1c0c84[_0x41e788(0xd5)])({'documentData':_0x490935,'tableId':this[_0x41e788(0x11c)],..._0x127348});return _0x101595?this[_0x41e788(0x163)](_0x490935,_0x101595['actions'],_0x127348):!0x1;}catch{return!0x1;}}[_0x5b2c50(0xde)](_0x232ddb,_0x4cad75,_0x19d88f){const _0x11745b=_0x5b2c50;let _0x4dd285=this[_0x11745b(0x187)](),_0x1f8ede=(0x0,_0x1c0c84[_0x11745b(0x13e)])(this[_0x11745b(0xf0)][_0x11745b(0x154)]()[_0x11745b(0x147)](),this[_0x11745b(0x18b)]);return this['_mutateActions'](_0x4dd285,(0x0,_0x1c0c84[_0x11745b(0xb4)])({'documentData':_0x4dd285,'tableId':this[_0x11745b(0x11c)],'row':_0x232ddb,'column':_0x4cad75,'text':_0x19d88f},_0x1f8ede),this[_0x11745b(0x105)](_0x232ddb,_0x4cad75));}[_0x5b2c50(0x10a)](_0x2f7b6c,_0x5a02a9){const _0x426c36=_0x5b2c50;let _0x391aab=this[_0x426c36(0x187)]();return this[_0x426c36(0x163)](_0x391aab,(0x0,_0x1c0c84['buildSetTableBackgroundMutationActions'])(_0x391aab,{'tableId':this[_0x426c36(0x11c)],..._0x2f7b6c,'value':_0x5a02a9}),_0x2f7b6c);}[_0x5b2c50(0xf9)](_0x43bf16,_0x15a901){const _0x55f662=_0x5b2c50;let _0x510547=this['_getDocumentData']();return this[_0x55f662(0x163)](_0x510547,(0x0,_0x1c0c84['buildSetTableCellMarginMutationActions'])({'documentData':_0x510547,'tableId':this[_0x55f662(0x11c)],..._0x43bf16,'margin':_0x15a901}),_0x43bf16);}[_0x5b2c50(0xd6)](_0x21c758){const _0x5d6334=_0x5b2c50;let _0x2087ec=this['_getDocumentData']();return this[_0x5d6334(0x163)](_0x2087ec,(0x0,_0x1c0c84['buildSetTableDefaultCellMarginMutationActions'])(_0x2087ec,this[_0x5d6334(0x11c)],_0x21c758));}[_0x5b2c50(0x14d)](_0x19b191,_0x349204){const _0x17ca1d=_0x5b2c50;let _0x269985=this[_0x17ca1d(0x187)]();return this[_0x17ca1d(0x163)](_0x269985,this[_0x17ca1d(0x114)](_0x269985,_0x19b191,_0x349204),_0x19b191);}['setTableBackground'](_0x26726d){const _0x5ece7e=_0x5b2c50;return this[_0x5ece7e(0x10a)](this['getTableRange'](),_0x26726d);}['setTableBorder'](_0x3b9c9e){const _0x11af16=_0x5b2c50;return this['setBorder'](this[_0x11af16(0xc8)](),_0x3b9c9e);}[_0x5b2c50(0xcb)](_0x4ded78){const _0x1f4a47=_0x5b2c50;let _0x4f96e9=this[_0x1f4a47(0x187)](),_0x617bc7=this['getTableRange'](),_0x27d75a=_0x4ded78['backgroundColor']?(0x0,_0x1c0c84[_0x1f4a47(0x121)])(_0x4f96e9,{'tableId':this[_0x1f4a47(0x11c)],..._0x617bc7,'value':_0x4ded78[_0x1f4a47(0xbe)]}):null,_0x4e0856=_0x4ded78[_0x1f4a47(0xb9)]?this[_0x1f4a47(0x114)](_0x4f96e9,_0x617bc7,_0x4ded78[_0x1f4a47(0xb9)]):null;return this['_mutateActions'](_0x4f96e9,_0x296ee2[_0x1f4a47(0x152)][_0x1f4a47(0x141)](_0x27d75a,_0x4e0856),_0x617bc7);}[_0x5b2c50(0x118)](_0x5049b7,_0x5d6786,_0x5402dc=_0x296ee2[_0x5b2c50(0x170)][_0x5b2c50(0xae)]){const _0x28199a=_0x5b2c50;var _0x371d53;let _0x2a218e=this[_0x28199a(0x187)]();return(_0x371d53=_0x2a218e[_0x28199a(0xe9)])!=null&&(_0x371d53=_0x371d53[this['_tableId']])!=null&&_0x371d53[_0x28199a(0x17b)][_0x5049b7]?this['_mutateActions'](_0x2a218e,(0x0,_0x1c0c84[_0x28199a(0x11e)])(_0x2a218e,this[_0x28199a(0x11c)],_0x5049b7,_0x5d6786,_0x5402dc)):!0x1;}[_0x5b2c50(0x153)](_0x804092){const _0x825a39=_0x5b2c50;var _0x353d21;let _0x27950d=(_0x353d21=this['getSource']())==null||(_0x353d21=_0x353d21[_0x825a39(0x17b)][_0x804092])==null?void 0x0:_0x353d21[_0x825a39(0xf4)];return _0x27950d?_0x296ee2['Tools'][_0x825a39(0xbc)](_0x27950d):null;}[_0x5b2c50(0x165)](_0x1a2dae,_0x48acc2){const _0x3c31f0=_0x5b2c50;var _0x5b09c1;let _0x1d772b=this[_0x3c31f0(0x187)]();return(_0x5b09c1=_0x1d772b[_0x3c31f0(0xe9)])!=null&&(_0x5b09c1=_0x5b09c1[this[_0x3c31f0(0x11c)]])!=null&&_0x5b09c1[_0x3c31f0(0xaa)][_0x1a2dae]?this[_0x3c31f0(0x163)](_0x1d772b,(0x0,_0x1c0c84[_0x3c31f0(0x15d)])(_0x1d772b,this[_0x3c31f0(0x11c)],_0x1a2dae,_0x48acc2)):!0x1;}[_0x5b2c50(0x145)](_0x531f7a=0x0,_0x56994c=this[_0x5b2c50(0x112)]()){const _0x557994=_0x5b2c50;let _0x5b2f86=this[_0x557994(0x187)]();return this['_mutateActions'](_0x5b2f86,(0x0,_0x1c0c84[_0x557994(0x143)])(_0x5b2f86,this[_0x557994(0x11c)],_0x531f7a,_0x531f7a+_0x56994c-0x1));}[_0x5b2c50(0x15c)](_0x343072=0x0,_0x57f26d=this[_0x5b2c50(0xec)]()){const _0x1ae078=_0x5b2c50;let _0x3127a7=this[_0x1ae078(0x187)]();return this[_0x1ae078(0x163)](_0x3127a7,(0x0,_0x1c0c84[_0x1ae078(0xd0)])(_0x3127a7,this[_0x1ae078(0x11c)],_0x343072,_0x343072+_0x57f26d-0x1));}[_0x5b2c50(0x12e)](){var _0x52d2ff;return((_0x52d2ff=this['getMetadata']())==null?void 0x0:_0x52d2ff['headerRowCount'])??0x0;}[_0x5b2c50(0x11d)](_0x275433){const _0x11cd72=_0x5b2c50;let _0x24857c=this['_getDocumentData'](),_0x3d21ef=(0x0,_0x1c0c84[_0x11cd72(0x101)])(_0x24857c,this[_0x11cd72(0x11c)],_0x275433);return _0x3d21ef?this['_mutateActions'](_0x24857c,_0x3d21ef[_0x11cd72(0x133)]):!0x1;}[_0x5b2c50(0xe4)](_0xa8f4d1){const _0x588670=_0x5b2c50;return this[_0x588670(0x11d)](_0xa8f4d1);}['hasTitleRow'](){const _0x24f38b=_0x5b2c50;var _0x38f77f;return((_0x38f77f=this[_0x24f38b(0x109)]())==null?void 0x0:_0x38f77f['titleRow'])??!0x1;}[_0x5b2c50(0x127)](){const _0x3259f0=_0x5b2c50;let _0x1acf47=this[_0x3259f0(0x187)](),_0x12cd7c=(0x0,_0x1c0c84[_0x3259f0(0x164)])(_0x1acf47,this[_0x3259f0(0x11c)],this[_0x3259f0(0x10f)]());return _0x12cd7c?this['_mutateActions'](_0x1acf47,_0x12cd7c[_0x3259f0(0x133)]):!0x1;}[_0x5b2c50(0x18a)](_0x4deaea,_0x4b1b09){const _0x4f5e14=_0x5b2c50;return!!this[_0x4f5e14(0x161)][_0x4f5e14(0x108)](_0x1c0c84[_0x4f5e14(0xe5)]['id'],{'unitId':this['_unitId'],'tableId':this[_0x4f5e14(0x11c)],'segmentId':this[_0x4f5e14(0x18b)],'column':_0x4deaea,'config':_0x4b1b09});}[_0x5b2c50(0xea)](_0x39d090,_0x35d08c){const _0x3cee28=_0x5b2c50;let _0x1d72d8=this['_getDocumentData']();return this[_0x3cee28(0x163)](_0x1d72d8,(0x0,_0x1c0c84['buildSortTableMutationActions'])(_0x1d72d8,this[_0x3cee28(0xe3)](),this[_0x3cee28(0x11c)],_0x39d090,_0x35d08c,this['_getBodyPath']()));}[_0x5b2c50(0x114)](_0x49ec58,_0x3e4052,_0x1a7d0c){const _0x383270=_0x5b2c50;return(0x0,_0x1c0c84[_0x383270(0xb5)])({'documentData':_0x49ec58,'tableId':this[_0x383270(0x11c)],..._0x3e4052,'preset':_0x1a7d0c[_0x383270(0x15b)]??_0x1c0c84[_0x383270(0xe8)][_0x383270(0xfb)],'border':_0x1a7d0c[_0x383270(0xb9)]??{'color':{'rgb':_0x1a7d0c[_0x383270(0x103)]??this[_0x383270(0x169)][_0x383270(0xfc)](_0x296ee2[_0x383270(0xd4)])[_0x383270(0x135)](_0x383270(0x192))},'width':{'v':_0x1a7d0c['width']??0x1},'dashStyle':_0x296ee2['DashStyleType']['SOLID']}});}['_getDocumentData'](){const _0x4e6e3d=_0x5b2c50;let _0xceab47=this[_0x4e6e3d(0xf0)][_0x4e6e3d(0x154)]()['getSnapshot']();return this[_0x4e6e3d(0x18b)]?{...this[_0x4e6e3d(0xf0)][_0x4e6e3d(0x154)](this[_0x4e6e3d(0x18b)])['getSnapshot'](),'documentStyle':_0xceab47[_0x4e6e3d(0xfe)],'tableSource':_0xceab47['tableSource']}:_0xceab47;}[_0x5b2c50(0xe3)](){const _0x55acd4=_0x5b2c50;return this[_0x55acd4(0x169)][_0x55acd4(0xfc)](_0x1c0c84[_0x55acd4(0x128)])[_0x55acd4(0x18e)](this[_0x55acd4(0x16d)],this[_0x55acd4(0xf0)][_0x55acd4(0x154)]()[_0x55acd4(0x147)]());}[_0x5b2c50(0x10f)](){const _0x13baa9=_0x5b2c50;return(0x0,_0x1c0c84['getTableActionBodyPath'])(this['_document'][_0x13baa9(0x154)]()['getSnapshot'](),this[_0x13baa9(0x18b)]);}['_mutateActions'](_0x1c2f0c,_0x271c9a,_0x4a3d52){const _0x5bb8ae=_0x5b2c50;return(0x0,_0x1c0c84['executeRichTextTableActions'])(this[_0x5bb8ae(0x161)],this[_0x5bb8ae(0x16d)],_0x1c2f0c,_0x271c9a,_0x4a3d52?{'tableId':this[_0x5bb8ae(0x11c)],'segmentId':this[_0x5bb8ae(0x18b)],..._0x4a3d52}:void 0x0);}};_0x4dbc7e=_0x9bfa19([_0x4532c9(0x3,_0x296ee2[_0x5b2c50(0x14e)]),_0x4532c9(0x4,(0x0,_0x296ee2[_0x5b2c50(0xc1)])(_0x296ee2[_0x5b2c50(0x137)]))],_0x4dbc7e);var _0x4ea214=class extends _0x25c57e[_0x5b2c50(0xf7)]{[_0x5b2c50(0xc2)](_0x50570d=''){const _0x2b5b4d=_0x5b2c50;return this[_0x2b5b4d(0xdf)](_0x50570d)[_0x2b5b4d(0xfa)](_0x43ff1e=>this[_0x2b5b4d(0x18d)](_0x43ff1e[_0x2b5b4d(0xe6)],_0x50570d));}['getTable'](_0x53e089,_0x5ad5b0=''){const _0x5b2225=_0x5b2c50;return this[_0x5b2225(0xdf)](_0x5ad5b0)[_0x5b2225(0x13d)](_0x5b879d=>_0x5b879d['tableId']===_0x53e089)?this[_0x5b2225(0x18d)](_0x53e089,_0x5ad5b0):null;}[_0x5b2c50(0xe0)](_0xd6e23e,_0xcb635e=''){const _0x4f3fa0=_0x5b2c50;var _0x30cf8e;let _0x5492eb=(_0x30cf8e=this['_getTables'](_0xcb635e)[_0xd6e23e])==null?void 0x0:_0x30cf8e[_0x4f3fa0(0xe6)];return _0x5492eb?this['_createFDocumentTable'](_0x5492eb,_0xcb635e):null;}[_0x5b2c50(0x176)](){const _0x50b746=_0x5b2c50;let _0x3f036f=this[_0x50b746(0x169)][_0x50b746(0xfc)](_0x1c0c84[_0x50b746(0x17c)])[_0x50b746(0x140)]();return _0x3f036f!=null&&_0x3f036f[_0x50b746(0xe6)]?this[_0x50b746(0x18d)](_0x3f036f[_0x50b746(0xe6)],_0x3f036f[_0x50b746(0x132)]):null;}[_0x5b2c50(0xeb)](_0x5e2a37,_0xbf2f1d=''){const _0x43eabc=_0x5b2c50;return this[_0x43eabc(0x17d)](_0x5e2a37,_0xbf2f1d)[0x0]??null;}[_0x5b2c50(0x17d)](_0x1da63a,_0x20223b=''){const _0xb508ef=_0x5b2c50;let _0x2acd46=this['_getTableDocumentData'](_0x20223b),_0x3a6d6e=typeof _0x1da63a==_0xb508ef(0x116)?{'text':_0x1da63a}:_0x1da63a;return this['getTables'](_0x20223b)[_0xb508ef(0x13c)](_0x71855e=>{const _0x1b3500=_0xb508ef;let _0x3db7cc=_0x71855e[_0x1b3500(0x15f)]();return!(_0x3a6d6e['tableId']&&_0x3db7cc!==_0x3a6d6e[_0x1b3500(0xe6)]||_0x3a6d6e['text']&&!this[_0x1b3500(0xb3)](_0x2acd46,_0x3db7cc,_0x3a6d6e[_0x1b3500(0x13a)])||_0x3a6d6e[_0x1b3500(0xfd)]&&!this[_0x1b3500(0x17e)](_0x71855e,0x0,_0x3a6d6e[_0x1b3500(0xfd)])||_0x3a6d6e[_0x1b3500(0x195)]&&!this[_0x1b3500(0x17e)](_0x71855e,0x0,_0x3a6d6e[_0x1b3500(0x195)]));});}[_0x5b2c50(0xd1)](_0x495f42,_0x186dba,_0x295508={}){const _0x10ebc1=_0x5b2c50;let _0x19e506=this[_0x10ebc1(0x169)][_0x10ebc1(0xfc)](_0x296ee2['ICommandService']),_0x16fc1f=_0x295508['tableId']??(0x0,_0x296ee2['generateRandomId'])(0x6);return _0x19e506[_0x10ebc1(0x108)](_0x1c0c84[_0x10ebc1(0x139)]['id'],{..._0x295508,'unitId':this['getId'](),'rows':_0x495f42,'columns':_0x186dba,'tableId':_0x16fc1f})?this[_0x10ebc1(0x18d)](_0x16fc1f,_0x295508['segmentId']??''):null;}['insertTableFromData'](_0x1b026b,_0x1d4c3c={}){const _0x172d6b=_0x5b2c50;let _0x4a7e7a=this[_0x172d6b(0x169)][_0x172d6b(0xfc)](_0x296ee2[_0x172d6b(0x14e)]),_0x14a249=_0x1d4c3c['tableId']??(0x0,_0x296ee2[_0x172d6b(0xd7)])(0x6);return _0x4a7e7a['syncExecuteCommand'](_0x1c0c84[_0x172d6b(0x139)]['id'],{..._0x1d4c3c,'unitId':this['getId'](),'values':_0x1b026b,'tableId':_0x14a249})?this[_0x172d6b(0x18d)](_0x14a249,_0x1d4c3c[_0x172d6b(0x132)]??''):null;}[_0x5b2c50(0xdf)](_0x45bc63=''){const _0x29cfdd=_0x5b2c50;let {tables:_0x196a87=[]}=this[_0x29cfdd(0xa9)](_0x45bc63);return _0x196a87;}[_0x5b2c50(0xf6)](_0x8f6dd6=''){const _0xe40502=_0x5b2c50;let _0x5d994e=this['getDocumentDataModel']()[_0xe40502(0x147)]();return _0x8f6dd6?{...this[_0xe40502(0x154)](_0x8f6dd6)[_0xe40502(0x147)](),'documentStyle':_0x5d994e[_0xe40502(0xfe)],'tableSource':_0x5d994e['tableSource']}:_0x5d994e;}[_0x5b2c50(0x18d)](_0x4797d1,_0x3add83=''){const _0x14f640=_0x5b2c50;return this[_0x14f640(0x169)]['createInstance'](_0x4dbc7e,this,_0x4797d1,_0x3add83);}['_tableContainsText'](_0x544d8a,_0x43fc34,_0x1bc468){const _0x2b73a0=_0x5b2c50;var _0x19b64f;let _0x32c5c6=(0x0,_0x1c0c84['getTableRangeById'])(_0x544d8a,_0x43fc34);if(!_0x32c5c6)return!0x1;let _0x3b7936=(_0x19b64f=_0x544d8a[_0x2b73a0(0xb7)])==null?void 0x0:_0x19b64f[_0x2b73a0(0x193)];return _0x3b7936?_0x3b7936[_0x2b73a0(0x12a)](_0x32c5c6[_0x2b73a0(0xb6)],_0x32c5c6[_0x2b73a0(0x177)])['includes'](_0x1bc468):!0x1;}[_0x5b2c50(0x17e)](_0x553c71,_0x467af3,_0x472355){const _0x55337e=_0x5b2c50;return Array[_0x55337e(0x130)]({'length':_0x553c71[_0x55337e(0xec)]()},(_0x280f5b,_0x25b38c)=>_0x553c71[_0x55337e(0x146)](_0x467af3,_0x25b38c))[_0x55337e(0x13d)](_0x439971=>_0x439971[_0x55337e(0x110)](_0x472355));}};_0x25c57e['FDocument'][_0x5b2c50(0xf8)](_0x4ea214),Object[_0x5b2c50(0x179)](_0x3bd557,_0x5b2c50(0xd3),{'enumerable':!0x0,'get':function(){return _0x4dbc7e;}}),_0x3bd557[_0x5b2c50(0x124)]=_0x1fda9e;}));function _0x117e(_0x14be09,_0x50dda1){_0x14be09=_0x14be09-0xa8;const _0x3cb2b7=_0x3cb2();let _0x117e8a=_0x3cb2b7[_0x14be09];return _0x117e8a;}function _0x3cb2(){const _0x3f9a65=['@univerjs/core/facade','UniverProDocsTable','getCellMarginOverride','getCellInsertOffset','setCellText','_getTables','getTableAt','buildMoveTableToOffsetMutationActions','appendColumn','_serializeModel','pinHeaderRows','DocsTableSetColumnTypeCommand','tableId','Table','DocsTableBorderPreset','tableSource','sortByColumn','findTableByText','getColumnCount','insertColumnsAfter','2166120uEZQEV','appendRow','_document','getSegmentId','headerRowCount','Tools','trHeight','DocsTableSelectionKind','_getTableDocumentData','FDocument','extend','setCellMargin','map','All','get','headerText','documentStyle','exports','UniverCoreFacade','buildSetTableHeaderRowCountMutationActions','decorate','color','columnTypes','getCellRange','Module','size','syncExecuteCommand','getMetadata','setCellBackground','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','insertColumnsBefore','titleRow','tableCells','_getBodyPath','includes','getInsertOffset','getRowCount','iterator','_buildBorderActions','Below','string','279TlpLDf','setRowHeight','resolveTableMetadata','createInstance','width','_tableId','setHeaderRowCount','buildResizeTableRowActionsFromHeight','Right','197609aXSmGF','buildSetTableBackgroundMutationActions','cells','deleteColumns','FDocumentTableCell','136510RlBHyN','getSource','insertTitleRow','DocsTableModel','deleteRows','slice','UniverDocsFacade','7004074NmzFME','DocsTableColumnType','getHeaderRowCount','57267eajiHv','from','moveRows','segmentId','actions','buildInsertTableColumnsMutationActions','getColorFromTheme','deleteRow','Injector','buildInsertTableRowsMutationActions','DocsTableInsertTableCommand','text','getMarginOverride','filter','some','getTableActionBodyPath','_table','getStableTableSelection','compose','setStructuralSelection','buildDistributeTableRowsMutationActions','983322pxzdsr','distributeRows','getCellText','getSnapshot','getCellContentRange','DocsTableRowInsertPosition','UniverProDocsTableFacade','deleteTable','replace','setBorder','ICommandService','_row','@univerjs-pro/docs-table','type','JSONX','getRowHeight','getDocumentDataModel','DocsTableColumnInsertPosition','140poaqbq','Left','getTableRangeById','insertColumnBefore','getDefaultCellMarginOverride','preset','distributeColumns','buildResizeTableColumnActionsFromWidth','insertRowBefore','getId','getMargin','_commandService','function','_mutateActions','buildInsertTableTitleRowMutationActions','setColumnWidth','insertColumnAfter','cellMargin','@univerjs/core','_injector','DocsTableInsertPosition','getOwnPropertyDescriptor','Row','_unitId','moveRow','margin','TableRowHeightRule','2pCawIL','DashStyleType','DocsTableInsertTablePosition','DocsTableDeleteTableCommand','getCellMargin','getTableAtSelection','endOffset','object','defineProperty','buildMoveFloatingTableMutationActions','tableRows','DocsTableSelectionService','findTables','_rowContainsText','insertRowAfter','moveTableToOffset','describe','clearMarginOverride','prototype','getColumnRange','moveColumn','rows','_getDocumentData','getInfo','selectColumns','setColumnType','_segmentId','selectRow','_createFDocumentTable','serializeDocument','UniverCore','Range','length','gray.900','dataStream','getTable','titleText','getCell','getBody','tableColumns','max','toStringTag','@univerjs/docs/facade','AT_LEAST','call','insertRowsAfter','selectColumn','deleteColumn','_tableContainsText','buildSetTableCellTextMutationActions','buildSetTableBorderMutationActions','startOffset','body','unmergeCells','border','DEFAULT_DOCS_TABLE_CELL_MARGIN','unmerge','deepClone','getDefaultCellMargin','backgroundColor','getRowsRange','_column','Inject','getTables','moveColumns','selectRange','FEnum','12OsLAAZ','getColumnIndex','getTableRange','setText','getRowIndex','setTableStyle','432YYEibr','mergeCells','moveTableBy','getColumnsRange','buildDistributeTableColumnsMutationActions','insertTable','insertRowsBefore','FDocumentTable','ThemeService','buildUnmergeCellsMutationActions','setDefaultCellMargin','generateRandomId','Above','8934hjDIsU'];_0x3cb2=function(){return _0x3f9a65;};return _0x3cb2();}