@univerjs-pro/docs-table 1.3.1 → 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.
- package/README.md +7 -17
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/column-compat.d.ts +4 -4
- package/lib/types/facade/f-document-table.d.ts +84 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +10 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { IDocumentBody } from '@univerjs/core';
|
|
2
2
|
export declare const DocsTableColumnDataStreamTreeTokenType: {
|
|
3
|
-
readonly COLUMN_GROUP_START:
|
|
4
|
-
readonly COLUMN_START:
|
|
5
|
-
readonly COLUMN_END:
|
|
6
|
-
readonly COLUMN_GROUP_END:
|
|
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;
|
|
@@ -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 _0x549e(_0x137e25,_0x2c130a){_0x137e25=_0x137e25-0xea;const _0x8c8ed8=_0x8c8e();let _0x549e5f=_0x8c8ed8[_0x137e25];return _0x549e5f;}function _0x8c8e(){const _0x408cb6=['filter','ICommandService','Range','deleteColumn','getColumnsRange','Table','setTableStyle','_column','getCell','gray.900','8501710qgkLoe','endOffset','_commandService','tableCells','2026550gUqIgu','prototype','rows','Tools','mergeTo','Inject','_table','insertColumnAfter','_segmentId','DocsTableInsertPosition','body','pinHeaderRows','setHeaderRowCount','buildUnmergeCellsMutationActions','selectColumn','buildMoveFloatingTableMutationActions','buildSortTableMutationActions','DEFAULT_DOCS_TABLE_CELL_MARGIN','default','9NXWOGO','sortByColumn','6345504cBRCNb','length','Column','describe','insertTable','DocsTableSortDirection','getTableActionBodyPath','_createFDocumentTable','buildDistributeTableRowsMutationActions','replace','setCellMargin','setDefaultCellMargin','actions','DocsTableSelectionService','getDefaultCellMarginOverride','headerText','_mutateActions','cellMargin','max','appendColumn','All','Cell','hasTitleRow','Module','moveTableToOffset','DocsTableSetColumnTypeCommand','size','insertRowBefore','_tableContainsText','DocsTableSelectionKind','generateRandomId','Right','getTableRangeById','string','tableColumns','buildResizeTableRowActionsFromHeight','includes','executeRichTextTableActions','border','3092430qgwGNl','setStructuralSelection','1WbWkTD','DocsTableColumnType','getDocumentDataModel','deepClone','from','tableRows','getTables','getCellInsertOffset','slice','_buildBorderActions','getBody','distributeColumns','getCellRange','findTableByText','buildInsertTableRowsMutationActions','documentStyle','setBorder','DocsTableColumnInsertPosition','mergeCells','_unitId','6501600EgYlnf','some','buildSetTableCellTextMutationActions','setText','selectCell','getTableAt','getStableTableSelection','tableId','getCellMargin','Row','setBackgroundColor','insertRowAfter','getTable','getHeaderRowCount','iterator','_row','dataStream','getMetadata','buildResizeTableColumnActionsFromWidth','getRowCount','SOLID','UniverCoreFacade','@univerjs/core/facade','createInstance','titleText','insertTableFromData','DocsTableInsertTablePosition','getSource','text','DocsTableDeleteTableCommand','_getDocumentData','amd','393562GXCbaR','setCellBackground','insertRowsAfter','deleteColumns','cells','buildInsertTableColumnsMutationActions','_serializeModel','moveRow','Injector','appendRow','extend','insertRowsBefore','setTableBorder','clearMarginOverride','DocsTableBorderPreset','segmentId','buildSetTableBackgroundMutationActions','margin','getCellContentRange','_injector','DocsTableRowInsertPosition','insertColumnsAfter','moveColumns','UniverProDocsTable','ThemeService','findTables','_rowContainsText','serializeDocument','getInsertOffset','getText','moveTableBy','248924DNtuKY','titleRow','insertColumnBefore','insertTitleRow','_getTableDocumentData','getSnapshot','7MJDqTv','setColumnType','setRowHeight','UniverProDocsTableFacade','UniverDocsFacade','deleteRows','getDefaultCellMargin','insertColumnsBefore','get','getId','object','unmergeCells','deleteRow','getColumnIndex','getOwnPropertyDescriptor','getCellText','Above','getRowRange','deleteTable','tableSource','_getBodyPath','getTableRange','Left','getCellMarginOverride','getTableAtSelection','getRowsRange','DocsTableDeleteRowsCommand','UniverCore','resolveTableMetadata','preset','toStringTag','DashStyleType','symbol','unmerge','9upOcrq','_getTables','DocsTableInsertTableCommand','_document','getColumnRange','function','selectColumns','FDocument','distributeRows','setCellText','selectRow','syncExecuteCommand','buildMoveTableRowsMutationActions','headerRowCount','buildSetTableDefaultCellMarginMutationActions','width','buildSetTableHeaderRowCountMutationActions','startOffset','getMargin','_tableId','getColorFromTheme','moveRows','getColumnCount','getContentRange','selectRange','backgroundColor','defineProperty','AT_LEAST'];_0x8c8e=function(){return _0x408cb6;};return _0x8c8e();}(function(_0x2b34ea,_0x962fcc){const _0x5032d2=_0x549e,_0x2e6bbd=_0x2b34ea();while(!![]){try{const _0x27c7c2=parseInt(_0x5032d2(0x139))/0x1*(parseInt(_0x5032d2(0x16d))/0x2)+parseInt(_0x5032d2(0x10e))/0x3*(parseInt(_0x5032d2(0x18c))/0x4)+-parseInt(_0x5032d2(0xfb))/0x5+-parseInt(_0x5032d2(0x137))/0x6*(parseInt(_0x5032d2(0x192))/0x7)+parseInt(_0x5032d2(0x14d))/0x8+-parseInt(_0x5032d2(0x1b4))/0x9*(-parseInt(_0x5032d2(0xf7))/0xa)+-parseInt(_0x5032d2(0x110))/0xb;if(_0x27c7c2===_0x962fcc)break;else _0x2e6bbd['push'](_0x2e6bbd['shift']());}catch(_0x426d9a){_0x2e6bbd['push'](_0x2e6bbd['shift']());}}}(_0x8c8e,0x85f9e),function(_0x4bd05b,_0x1d4301){const _0x4bf561=_0x549e;typeof exports=='object'&&typeof module<'u'?_0x1d4301(exports,require('@univerjs-pro/docs-table'),require('@univerjs/core'),require('@univerjs/core/facade'),require('@univerjs/docs/facade')):typeof define==_0x4bf561(0x1b9)&&define[_0x4bf561(0x16c)]?define(['exports','@univerjs-pro/docs-table','@univerjs/core',_0x4bf561(0x163),'@univerjs/docs/facade'],_0x1d4301):(_0x4bd05b=typeof globalThis<'u'?globalThis:_0x4bd05b||self,_0x1d4301(_0x4bd05b[_0x4bf561(0x195)]={},_0x4bd05b[_0x4bf561(0x184)],_0x4bd05b[_0x4bf561(0x1ad)],_0x4bd05b[_0x4bf561(0x162)],_0x4bd05b[_0x4bf561(0x196)]));}(this,function(_0x242d79,_0x19f39c,_0x2e8565,_0x11fe8a,_0x127995){const _0x1620aa=_0x549e;Object[_0x1620aa(0xeb)](_0x242d79,Symbol[_0x1620aa(0x1b0)],{'value':_0x1620aa(0x127)});var _0x46742e=class extends _0x11fe8a['FEnum']{get[_0x1620aa(0x167)](){return _0x19f39c['DocsTableInsertTablePosition'];}get[_0x1620aa(0x13a)](){const _0x5f0e14=_0x1620aa;return _0x19f39c[_0x5f0e14(0x13a)];}get[_0x1620aa(0x12d)](){const _0x1d6371=_0x1620aa;return _0x19f39c[_0x1d6371(0x12d)];}get[_0x1620aa(0x181)](){const _0x216443=_0x1620aa;return _0x19f39c[_0x216443(0x181)];}get[_0x1620aa(0x14a)](){const _0x5c42a0=_0x1620aa;return _0x19f39c[_0x5c42a0(0x14a)];}get[_0x1620aa(0x17b)](){return _0x19f39c['DocsTableBorderPreset'];}get[_0x1620aa(0x115)](){const _0x452155=_0x1620aa;return _0x19f39c[_0x452155(0x115)];}get[_0x1620aa(0x1b1)](){const _0x115d59=_0x1620aa;return _0x2e8565[_0x115d59(0x1b1)];}};_0x11fe8a['FEnum'][_0x1620aa(0x177)](_0x46742e);var _0x46d816=class{constructor(_0x1f091e,_0x41791f,_0x417ff8){const _0x62bf81=_0x1620aa;this[_0x62bf81(0x101)]=_0x1f091e,this['_row']=_0x41791f,this[_0x62bf81(0xf4)]=_0x417ff8;}[_0x1620aa(0x159)](){const _0x13cf10=_0x1620aa;return this[_0x13cf10(0x101)];}['getRowIndex'](){const _0x7d6efc=_0x1620aa;return this[_0x7d6efc(0x15c)];}[_0x1620aa(0x19f)](){return this['_column'];}[_0x1620aa(0x18a)](){const _0x161dc6=_0x1620aa;return this[_0x161dc6(0x101)][_0x161dc6(0x1a1)](this['_row'],this['_column']);}[_0x1620aa(0x1cb)](){const _0x494217=_0x1620aa;return this['_table'][_0x494217(0x17f)](this[_0x494217(0x15c)],this[_0x494217(0xf4)]);}[_0x1620aa(0x189)](){const _0x549d34=_0x1620aa;return this[_0x549d34(0x101)][_0x549d34(0x140)](this[_0x549d34(0x15c)],this[_0x549d34(0xf4)]);}[_0x1620aa(0x1c6)](){const _0x4e314f=_0x1620aa;return this[_0x4e314f(0x101)]['getCellMargin'](this['_row'],this[_0x4e314f(0xf4)]);}['getMarginOverride'](){const _0x15a9df=_0x1620aa;return this[_0x15a9df(0x101)][_0x15a9df(0x1a9)](this[_0x15a9df(0x15c)],this['_column']);}['setMargin'](_0x138836){const _0x10bcd8=_0x1620aa;return this[_0x10bcd8(0x101)]['setCellMargin'](this[_0x10bcd8(0x101)]['getCellRange'](this[_0x10bcd8(0x15c)],this[_0x10bcd8(0xf4)]),_0x138836);}[_0x1620aa(0x17a)](){const _0x4967cd=_0x1620aa;return this[_0x4967cd(0x101)][_0x4967cd(0x11a)](this[_0x4967cd(0x101)]['getCellRange'](this[_0x4967cd(0x15c)],this[_0x4967cd(0xf4)]),null);}[_0x1620aa(0x150)](_0x20500f){const _0x24898e=_0x1620aa;return this[_0x24898e(0x101)][_0x24898e(0x1bd)](this[_0x24898e(0x15c)],this[_0x24898e(0xf4)],_0x20500f);}[_0x1620aa(0x157)](_0x37d8ff){const _0xd9d438=_0x1620aa;return this[_0xd9d438(0x101)][_0xd9d438(0x16e)](this['_table'][_0xd9d438(0x145)](this[_0xd9d438(0x15c)],this[_0xd9d438(0xf4)]),_0x37d8ff);}['setBorder'](_0xa3a861){const _0x4f8d82=_0x1620aa;return this[_0x4f8d82(0x101)][_0x4f8d82(0x149)](this[_0x4f8d82(0x101)][_0x4f8d82(0x145)](this[_0x4f8d82(0x15c)],this[_0x4f8d82(0xf4)]),_0xa3a861);}[_0x1620aa(0xff)](_0x5a5f3d,_0x554715){const _0x593760=_0x1620aa;return this[_0x593760(0x101)][_0x593760(0x14b)]({'startRow':this[_0x593760(0x15c)],'startColumn':this[_0x593760(0xf4)],'endRow':this[_0x593760(0x15c)]+_0x5a5f3d-0x1,'endColumn':this[_0x593760(0xf4)]+_0x554715-0x1});}[_0x1620aa(0x1b3)](){const _0x2bcff2=_0x1620aa;return this[_0x2bcff2(0x101)]['unmergeCells'](this[_0x2bcff2(0x101)][_0x2bcff2(0x145)](this[_0x2bcff2(0x15c)],this[_0x2bcff2(0xf4)]));}};function _0x409d26(_0x9d8320){'@babel/helpers - typeof';const _0x15e2b6=_0x1620aa;return _0x409d26=typeof Symbol==_0x15e2b6(0x1b9)&&typeof Symbol[_0x15e2b6(0x15b)]==_0x15e2b6(0x1b2)?function(_0x291568){return typeof _0x291568;}:function(_0x487bf4){const _0x461c45=_0x15e2b6;return _0x487bf4&&typeof Symbol==_0x461c45(0x1b9)&&_0x487bf4['constructor']===Symbol&&_0x487bf4!==Symbol[_0x461c45(0xfc)]?_0x461c45(0x1b2):typeof _0x487bf4;},_0x409d26(_0x9d8320);}function _0x22a46b(_0x55febd,_0x33cb5){const _0x42c29a=_0x1620aa;if(_0x409d26(_0x55febd)!=_0x42c29a(0x19c)||!_0x55febd)return _0x55febd;var _0x3e50c0=_0x55febd[Symbol['toPrimitive']];if(_0x3e50c0!==void 0x0){var _0x27162e=_0x3e50c0['call'](_0x55febd,_0x33cb5||_0x42c29a(0x10d));if(_0x409d26(_0x27162e)!=_0x42c29a(0x19c))return _0x27162e;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x33cb5===_0x42c29a(0x131)?String:Number)(_0x55febd);}function _0x15c87c(_0x31d26f){const _0x3d447c=_0x1620aa;var _0x17a9d5=_0x22a46b(_0x31d26f,_0x3d447c(0x131));return _0x409d26(_0x17a9d5)==_0x3d447c(0x1b2)?_0x17a9d5:_0x17a9d5+'';}function _0x3e9f0f(_0x3fac13,_0x452cfc,_0x21600c){const _0xdc9dc4=_0x1620aa;return(_0x452cfc=_0x15c87c(_0x452cfc))in _0x3fac13?Object[_0xdc9dc4(0xeb)](_0x3fac13,_0x452cfc,{'value':_0x21600c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3fac13[_0x452cfc]=_0x21600c,_0x3fac13;}function _0x5bedc2(_0x459dcb,_0x22fd2c){return function(_0x537863,_0x3fc1c5){_0x22fd2c(_0x537863,_0x3fc1c5,_0x459dcb);};}function _0x4f5b6f(_0x1176f9,_0xa44b7b,_0x11b47b,_0x54ce6f){const _0xd26b2e=_0x1620aa;var _0x194250=arguments['length'],_0x55cf07=_0x194250<0x3?_0xa44b7b:_0x54ce6f===null?_0x54ce6f=Object[_0xd26b2e(0x1a0)](_0xa44b7b,_0x11b47b):_0x54ce6f,_0x13e5d6;if(typeof Reflect==_0xd26b2e(0x19c)&&typeof Reflect['decorate']=='function')_0x55cf07=Reflect['decorate'](_0x1176f9,_0xa44b7b,_0x11b47b,_0x54ce6f);else{for(var _0x4f14fb=_0x1176f9['length']-0x1;_0x4f14fb>=0x0;_0x4f14fb--)(_0x13e5d6=_0x1176f9[_0x4f14fb])&&(_0x55cf07=(_0x194250<0x3?_0x13e5d6(_0x55cf07):_0x194250>0x3?_0x13e5d6(_0xa44b7b,_0x11b47b,_0x55cf07):_0x13e5d6(_0xa44b7b,_0x11b47b))||_0x55cf07);}return _0x194250>0x3&&_0x55cf07&&Object[_0xd26b2e(0xeb)](_0xa44b7b,_0x11b47b,_0x55cf07),_0x55cf07;}let _0x14dc85=class{constructor(_0x278494,_0x10031c,_0x5eb55c,_0x8efdbb,_0x1b47d6){const _0x95efb0=_0x1620aa;this[_0x95efb0(0x1b7)]=_0x278494,this[_0x95efb0(0x1c7)]=_0x10031c,this[_0x95efb0(0x103)]=_0x5eb55c,this[_0x95efb0(0xf9)]=_0x8efdbb,this[_0x95efb0(0x180)]=_0x1b47d6,_0x3e9f0f(this,_0x95efb0(0x14c),void 0x0),this[_0x95efb0(0x14c)]=this[_0x95efb0(0x1b7)][_0x95efb0(0x19b)]();}[_0x1620aa(0x19b)](){const _0x1b0247=_0x1620aa;return this[_0x1b0247(0x1c7)];}['getSegmentId'](){const _0x14a229=_0x1620aa;return this[_0x14a229(0x103)];}['getInfo'](){const _0x2682a2=_0x1620aa;return{'id':this[_0x2682a2(0x1c7)],'rowCount':this[_0x2682a2(0x160)](),'columnCount':this[_0x2682a2(0x1ca)](),'metadata':this[_0x2682a2(0x15e)](),'source':this[_0x2682a2(0x168)]()};}[_0x1620aa(0x113)](){const _0x40be07=_0x1620aa;let _0x400feb=this[_0x40be07(0x15e)](),_0x334432=this[_0x40be07(0x168)](),_0x9b2a9=this['getColumnCount']();return{'id':this[_0x40be07(0x1c7)],'rowCount':this['getRowCount'](),'columnCount':_0x9b2a9,'headerRowCount':(_0x400feb==null?void 0x0:_0x400feb[_0x40be07(0x1c1)])??0x0,'titleRow':(_0x400feb==null?void 0x0:_0x400feb[_0x40be07(0x18d)])??!0x1,'columns':Array[_0x40be07(0x13d)]({'length':_0x9b2a9},(_0x11741c,_0x28b1f4)=>{const _0xfd9853=_0x40be07;var _0x8ae3c0,_0x41f025;return{'index':_0x28b1f4,'type':_0x400feb==null||(_0x8ae3c0=_0x400feb['columnTypes'])==null||(_0x8ae3c0=_0x8ae3c0[_0x28b1f4])==null?void 0x0:_0x8ae3c0['type'],'width':_0x334432==null||(_0x41f025=_0x334432[_0xfd9853(0x132)][_0x28b1f4])==null?void 0x0:_0x41f025[_0xfd9853(0x12a)][_0xfd9853(0x1c3)]['v']};}),'sampleRows':Array[_0x40be07(0x13d)]({'length':this[_0x40be07(0x160)]()},(_0x437e4a,_0x21adc9)=>Array[_0x40be07(0x13d)]({'length':_0x9b2a9},(_0x2a72a5,_0x2e8036)=>this['getCellText'](_0x21adc9,_0x2e8036)))[_0x40be07(0xed)](_0x14ae3b=>_0x14ae3b[_0x40be07(0x14e)](_0x28d13b=>_0x28d13b[_0x40be07(0x111)]>0x0))['slice'](0x0,0x5)};}[_0x1620aa(0x160)](){const _0x12750e=_0x1620aa;var _0x168dd2;return((_0x168dd2=this[_0x12750e(0x168)]())==null?void 0x0:_0x168dd2[_0x12750e(0x13e)][_0x12750e(0x111)])??0x0;}['getColumnCount'](){const _0x360786=_0x1620aa;var _0x250286;return((_0x250286=this[_0x360786(0x168)]())==null?void 0x0:_0x250286[_0x360786(0x132)]['length'])??0x0;}[_0x1620aa(0xf5)](_0x36b60a,_0x4f40f0){const _0x36841f=_0x1620aa;var _0x70a3a0;return(_0x70a3a0=this[_0x36841f(0x168)]())!=null&&(_0x70a3a0=_0x70a3a0[_0x36841f(0x13e)][_0x36b60a])!=null&&_0x70a3a0['tableCells'][_0x4f40f0]?this[_0x36841f(0x180)][_0x36841f(0x164)](_0x46d816,this,_0x36b60a,_0x4f40f0):null;}['getCellText'](_0x5a9211,_0x502c8b){const _0xe5b852=_0x1620aa;var _0x381d29,_0xff46cd;let _0x47b401=(_0x381d29=(0x0,_0x19f39c['getTableRangeById'])(this[_0xe5b852(0x16b)](),this[_0xe5b852(0x1c7)]))==null||(_0x381d29=_0x381d29[_0xe5b852(0xfd)][_0x5a9211])==null?void 0x0:_0x381d29[_0xe5b852(0x171)][_0x502c8b];return _0x47b401?((_0xff46cd=this[_0xe5b852(0x16b)]()[_0xe5b852(0x105)])==null?void 0x0:_0xff46cd['dataStream'][_0xe5b852(0x141)](_0x47b401[_0xe5b852(0x1c5)]+0x1,_0x47b401[_0xe5b852(0xf8)])[_0xe5b852(0x119)](/\r\n$/,''))??'':'';}[_0x1620aa(0x155)](_0x285930,_0x3339e1){const _0x327bf0=_0x1620aa;var _0x562ac1;let _0xbb314d=this[_0x327bf0(0x168)](),_0x1f7a09=_0xbb314d==null||(_0x562ac1=_0xbb314d[_0x327bf0(0x13e)][_0x285930])==null?void 0x0:_0x562ac1[_0x327bf0(0xfa)][_0x3339e1];return _0x1f7a09?_0x2e8565[_0x327bf0(0xfe)][_0x327bf0(0x13c)](_0x1f7a09[_0x327bf0(0x17e)]??_0xbb314d['cellMargin']??_0x19f39c[_0x327bf0(0x10c)]):null;}[_0x1620aa(0x1a9)](_0x5b846c,_0x10cb86){const _0x408325=_0x1620aa;var _0x4bd438;let _0x5d53a5=(_0x4bd438=this[_0x408325(0x168)]())==null||(_0x4bd438=_0x4bd438[_0x408325(0x13e)][_0x5b846c])==null?void 0x0:_0x4bd438[_0x408325(0xfa)][_0x10cb86];return _0x5d53a5!=null&&_0x5d53a5[_0x408325(0x17e)]?_0x2e8565[_0x408325(0xfe)][_0x408325(0x13c)](_0x5d53a5[_0x408325(0x17e)]):null;}[_0x1620aa(0x198)](){const _0x22ba3e=_0x1620aa;var _0x1118ba;return _0x2e8565[_0x22ba3e(0xfe)][_0x22ba3e(0x13c)](((_0x1118ba=this[_0x22ba3e(0x168)]())==null?void 0x0:_0x1118ba[_0x22ba3e(0x121)])??_0x19f39c[_0x22ba3e(0x10c)]);}[_0x1620aa(0x11e)](){const _0x30fe60=_0x1620aa;var _0x1a2daa;let _0x405abc=(_0x1a2daa=this[_0x30fe60(0x168)]())==null?void 0x0:_0x1a2daa[_0x30fe60(0x121)];return _0x405abc?_0x2e8565[_0x30fe60(0xfe)][_0x30fe60(0x13c)](_0x405abc):null;}['getMetadata'](){const _0x5aaffd=_0x1620aa;let _0x59fc6f=this[_0x5aaffd(0x180)]['get'](_0x19f39c['DocsTableModel']),_0x37f237=this['getSource']();return _0x37f237?_0x59fc6f[_0x5aaffd(0x1ae)](this[_0x5aaffd(0x14c)],_0x37f237):void 0x0;}['getSource'](){const _0x5e5a17=_0x1620aa;var _0x434cc1;return(_0x434cc1=this[_0x5e5a17(0x16b)]()[_0x5e5a17(0x1a5)])==null?void 0x0:_0x434cc1[this[_0x5e5a17(0x1c7)]];}['getRange'](){const _0x20f0b5=_0x1620aa;return(0x0,_0x19f39c[_0x20f0b5(0x130)])(this['_getDocumentData'](),this['_tableId']);}['getTableRange'](){const _0x3c99a4=_0x1620aa;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x3c99a4(0x160)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x3c99a4(0x122)](0x0,this['getColumnCount']()-0x1)};}[_0x1620aa(0x145)](_0x293b99,_0x25c2c3){return{'startRow':_0x293b99,'endRow':_0x293b99,'startColumn':_0x25c2c3,'endColumn':_0x25c2c3};}[_0x1620aa(0x17f)](_0x5996de,_0x1674bd){const _0x168548=_0x1620aa;var _0x5a9fa2;let _0x178476=(_0x5a9fa2=(0x0,_0x19f39c[_0x168548(0x130)])(this[_0x168548(0x16b)](),this[_0x168548(0x1c7)]))==null||(_0x5a9fa2=_0x5a9fa2[_0x168548(0xfd)][_0x5996de])==null?void 0x0:_0x5a9fa2[_0x168548(0x171)][_0x1674bd];if(!_0x178476)return null;let _0x1e7f56=_0x178476[_0x168548(0x1c5)]+0x1;return{'startOffset':_0x1e7f56,'endOffset':Math[_0x168548(0x122)](_0x1e7f56,_0x178476[_0x168548(0xf8)]-0x1),'segmentId':this[_0x168548(0x103)]};}['getCellInsertOffset'](_0x4c810d,_0x47326e){const _0x5a51a6=_0x1620aa;let _0x40e877=this[_0x5a51a6(0x17f)](_0x4c810d,_0x47326e);return _0x40e877?Math[_0x5a51a6(0x122)](_0x40e877['startOffset'],_0x40e877['endOffset']-0x1):null;}[_0x1620aa(0x1a3)](_0x7df6f4){return this['getRowsRange'](_0x7df6f4,0x1);}[_0x1620aa(0x1ab)](_0x85d69e,_0x56d3c7=0x1){const _0x2aa674=_0x1620aa;return{'startRow':_0x85d69e,'endRow':_0x85d69e+_0x56d3c7-0x1,'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x2aa674(0x1ca)]()-0x1)};}[_0x1620aa(0x1b8)](_0x2b0e51){return this['getColumnsRange'](_0x2b0e51,0x1);}[_0x1620aa(0xf1)](_0x599d13,_0x44cf7d=0x1){const _0x21e11b=_0x1620aa;return{'startRow':0x0,'endRow':Math[_0x21e11b(0x122)](0x0,this[_0x21e11b(0x160)]()-0x1),'startColumn':_0x599d13,'endColumn':_0x599d13+_0x44cf7d-0x1};}['selectTable'](){const _0x19ddf3=_0x1620aa;return this['selectRange'](this[_0x19ddf3(0x1a7)](),_0x19f39c['DocsTableSelectionKind'][_0x19ddf3(0xf2)]);}[_0x1620aa(0x1be)](_0x8bcea7){return this['selectRows'](_0x8bcea7,0x1);}['selectRows'](_0x4635e9,_0x518779=0x1){const _0x48b3ed=_0x1620aa;return this[_0x48b3ed(0x1cc)](this[_0x48b3ed(0x1ab)](_0x4635e9,_0x518779),_0x19f39c['DocsTableSelectionKind'][_0x48b3ed(0x156)]);}[_0x1620aa(0x109)](_0x234a69){const _0x319bd8=_0x1620aa;return this[_0x319bd8(0x1ba)](_0x234a69,0x1);}[_0x1620aa(0x1ba)](_0x464f47,_0x587746=0x1){const _0x3deb77=_0x1620aa;return this[_0x3deb77(0x1cc)](this[_0x3deb77(0xf1)](_0x464f47,_0x587746),_0x19f39c[_0x3deb77(0x12d)][_0x3deb77(0x112)]);}[_0x1620aa(0x151)](_0x497dd3,_0x2e0643){const _0x3cbf0a=_0x1620aa;return this[_0x3cbf0a(0x1cc)](this[_0x3cbf0a(0x145)](_0x497dd3,_0x2e0643),_0x19f39c['DocsTableSelectionKind'][_0x3cbf0a(0x125)]);}['selectRange'](_0x11d5c3,_0x258e09=_0x19f39c[_0x1620aa(0x12d)][_0x1620aa(0xef)]){const _0x2ad0e9=_0x1620aa;return this[_0x2ad0e9(0x180)][_0x2ad0e9(0x19a)](_0x19f39c[_0x2ad0e9(0x11d)])[_0x2ad0e9(0x138)]({..._0x11d5c3,'kind':_0x258e09,'segmentId':this['_segmentId'],'tableId':this[_0x2ad0e9(0x1c7)]}),!0x0;}[_0x1620aa(0x12b)](_0x570013){const _0x5e5e7a=_0x1620aa;return this[_0x5e5e7a(0x178)](_0x570013,0x1);}[_0x1620aa(0x158)](_0x1702c7){const _0x4ee932=_0x1620aa;return this[_0x4ee932(0x16f)](_0x1702c7,0x1);}['insertRowsBefore'](_0x34e5e1,_0x42caf5){const _0x120e99=_0x1620aa;let _0x333828=this[_0x120e99(0x16b)](),_0x34a292=(0x0,_0x19f39c[_0x120e99(0x147)])(_0x333828,this[_0x120e99(0x1c7)],_0x34e5e1,_0x42caf5,_0x19f39c['DocsTableInsertPosition'][_0x120e99(0x1a2)],this[_0x120e99(0x1a6)]());return _0x34a292?this[_0x120e99(0x120)](_0x333828,_0x34a292[_0x120e99(0x11c)]):!0x1;}[_0x1620aa(0x16f)](_0x540d2c,_0x1e54b3){const _0x51edf3=_0x1620aa;let _0x1adab7=this[_0x51edf3(0x16b)](),_0x18a4c6=(0x0,_0x19f39c['buildInsertTableRowsMutationActions'])(_0x1adab7,this[_0x51edf3(0x1c7)],_0x540d2c,_0x1e54b3,_0x19f39c['DocsTableInsertPosition']['Below'],this[_0x51edf3(0x1a6)]());return _0x18a4c6?this[_0x51edf3(0x120)](_0x1adab7,_0x18a4c6['actions']):!0x1;}[_0x1620aa(0x176)](){const _0xcfe4b5=_0x1620aa;return this[_0xcfe4b5(0x16f)](Math['max'](0x0,this[_0xcfe4b5(0x160)]()-0x1),0x1);}[_0x1620aa(0x18e)](_0x8f03d4){const _0x1b31c0=_0x1620aa;return this[_0x1b31c0(0x199)](_0x8f03d4,0x1);}[_0x1620aa(0x102)](_0x1b8547){const _0x4e177e=_0x1620aa;return this[_0x4e177e(0x182)](_0x1b8547,0x1);}[_0x1620aa(0x199)](_0x2137a5,_0x14e91f){const _0x9f0f2a=_0x1620aa;let _0x30a871=this[_0x9f0f2a(0x16b)](),_0x117989=(0x0,_0x19f39c['buildInsertTableColumnsMutationActions'])(_0x30a871,this['_tableId'],_0x2137a5,_0x14e91f,_0x19f39c[_0x9f0f2a(0x104)][_0x9f0f2a(0x1a8)],{'bodyPath':this[_0x9f0f2a(0x1a6)]()});return _0x117989?this[_0x9f0f2a(0x120)](_0x30a871,_0x117989[_0x9f0f2a(0x11c)]):!0x1;}['insertColumnsAfter'](_0x1a765f,_0x133319){const _0x1086a9=_0x1620aa;let _0x732c4c=this['_getDocumentData'](),_0x19501e=(0x0,_0x19f39c[_0x1086a9(0x172)])(_0x732c4c,this[_0x1086a9(0x1c7)],_0x1a765f,_0x133319,_0x19f39c[_0x1086a9(0x104)][_0x1086a9(0x12f)],{'bodyPath':this[_0x1086a9(0x1a6)]()});return _0x19501e?this[_0x1086a9(0x120)](_0x732c4c,_0x19501e[_0x1086a9(0x11c)]):!0x1;}[_0x1620aa(0x123)](){const _0x92e6ba=_0x1620aa;return this['insertColumnsAfter'](Math[_0x92e6ba(0x122)](0x0,this[_0x92e6ba(0x1ca)]()-0x1),0x1);}[_0x1620aa(0x19e)](_0x37a9e5){const _0x17f0a4=_0x1620aa;return this[_0x17f0a4(0x197)](_0x37a9e5,0x1);}[_0x1620aa(0x197)](_0x5b1146,_0xef6d37=0x1){const _0x4849e0=_0x1620aa;return!!this[_0x4849e0(0xf9)][_0x4849e0(0x1bf)](_0x19f39c[_0x4849e0(0x1ac)]['id'],{'endRow':_0x5b1146+_0xef6d37-0x1,'segmentId':this[_0x4849e0(0x103)],'startRow':_0x5b1146,'tableId':this[_0x4849e0(0x1c7)],'unitId':this['_unitId']});}[_0x1620aa(0xf0)](_0x4b7048){const _0x4652cb=_0x1620aa;return this[_0x4652cb(0x170)](_0x4b7048,0x1);}['deleteColumns'](_0x5efb73,_0x25e383=0x1){const _0x1e59f0=_0x1620aa;return!!this[_0x1e59f0(0xf9)]['syncExecuteCommand'](_0x19f39c['DocsTableDeleteColumnsCommand']['id'],{'endColumn':_0x5efb73+_0x25e383-0x1,'segmentId':this['_segmentId'],'startColumn':_0x5efb73,'tableId':this['_tableId'],'unitId':this[_0x1e59f0(0x14c)]});}[_0x1620aa(0x1a4)](){const _0xbd6a9c=_0x1620aa;return!!this[_0xbd6a9c(0xf9)][_0xbd6a9c(0x1bf)](_0x19f39c[_0xbd6a9c(0x16a)]['id'],{'segmentId':this['_segmentId'],'tableId':this['_tableId'],'unitId':this[_0xbd6a9c(0x14c)]});}[_0x1620aa(0x18b)](_0x442e43,_0x3d11bf){const _0x2cd1c7=_0x1620aa;let _0x20beaf=this[_0x2cd1c7(0x16b)]();return this[_0x2cd1c7(0x120)](_0x20beaf,(0x0,_0x19f39c[_0x2cd1c7(0x10a)])(_0x20beaf,this[_0x2cd1c7(0x1c7)],_0x442e43,_0x3d11bf));}[_0x1620aa(0x128)](_0x329766){const _0x26890f=_0x1620aa;let _0x2060e9=this[_0x26890f(0x16b)]();return this[_0x26890f(0x120)](_0x2060e9,(0x0,_0x19f39c['buildMoveTableToOffsetMutationActions'])(_0x2060e9,this['_tableId'],_0x329766,this[_0x26890f(0x1a6)]()));}[_0x1620aa(0x174)](_0x1eb362,_0x44b97e,_0x754a41=_0x19f39c[_0x1620aa(0x104)]['Above']){const _0x546289=_0x1620aa;return this[_0x546289(0x1c9)](_0x1eb362,0x1,_0x44b97e,_0x754a41);}[_0x1620aa(0x1c9)](_0x1d4ad7,_0x2726a0,_0x7c85f4,_0x5ebfa2=_0x19f39c['DocsTableInsertPosition'][_0x1620aa(0x1a2)]){const _0x42bdba=_0x1620aa;let _0x37a630=this[_0x42bdba(0x16b)](),_0x530967=(0x0,_0x19f39c[_0x42bdba(0x1c0)])(_0x37a630,this[_0x42bdba(0x1c7)],_0x1d4ad7,_0x7c85f4,_0x2726a0,_0x5ebfa2,this[_0x42bdba(0x1a6)]());return _0x530967?this[_0x42bdba(0x120)](_0x37a630,_0x530967['actions']):!0x1;}['moveColumn'](_0x23e8cc,_0x576388,_0x11b2e0=_0x19f39c[_0x1620aa(0x104)]['Left']){return this['moveColumns'](_0x23e8cc,0x1,_0x576388,_0x11b2e0);}[_0x1620aa(0x183)](_0x50f8a9,_0x38bb92,_0x148f8b,_0x1121a5=_0x19f39c['DocsTableInsertPosition'][_0x1620aa(0x1a8)]){const _0x18a6f1=_0x1620aa;let _0x2b5a1b=this[_0x18a6f1(0x16b)](),_0x5a47de=(0x0,_0x19f39c['buildMoveTableColumnsMutationActions'])(_0x2b5a1b,this[_0x18a6f1(0x1c7)],_0x50f8a9,_0x148f8b,_0x38bb92,_0x1121a5,this['_getBodyPath']());return _0x5a47de?this[_0x18a6f1(0x120)](_0x2b5a1b,_0x5a47de[_0x18a6f1(0x11c)]):!0x1;}[_0x1620aa(0x14b)](_0x130535){const _0x1bcabd=_0x1620aa;try{let _0x30f41f=this[_0x1bcabd(0x16b)](),_0x4b94f4=(0x0,_0x19f39c['buildMergeCellsMutationActions'])({'documentData':_0x30f41f,'tableId':this[_0x1bcabd(0x1c7)],..._0x130535});return _0x4b94f4?this[_0x1bcabd(0x120)](_0x30f41f,_0x4b94f4['actions'],_0x130535):!0x1;}catch{return!0x1;}}[_0x1620aa(0x19d)](_0x360a11){const _0x265fb2=_0x1620aa;try{let _0x864865=this[_0x265fb2(0x16b)](),_0x42cdd9=(0x0,_0x19f39c[_0x265fb2(0x108)])({'documentData':_0x864865,'tableId':this[_0x265fb2(0x1c7)],..._0x360a11});return _0x42cdd9?this['_mutateActions'](_0x864865,_0x42cdd9[_0x265fb2(0x11c)],_0x360a11):!0x1;}catch{return!0x1;}}[_0x1620aa(0x1bd)](_0x4351ee,_0x158b7a,_0x4219b5){const _0x418270=_0x1620aa;let _0x43cbf5=this[_0x418270(0x16b)](),_0x2be960=(0x0,_0x19f39c[_0x418270(0x116)])(this['_document'][_0x418270(0x13b)]()[_0x418270(0x191)](),this[_0x418270(0x103)]);return this[_0x418270(0x120)](_0x43cbf5,(0x0,_0x19f39c[_0x418270(0x14f)])({'documentData':_0x43cbf5,'tableId':this[_0x418270(0x1c7)],'row':_0x4351ee,'column':_0x158b7a,'text':_0x4219b5},_0x2be960),this[_0x418270(0x145)](_0x4351ee,_0x158b7a));}[_0x1620aa(0x16e)](_0x516f39,_0x4bbc7e){const _0x20f275=_0x1620aa;let _0x7d7fe2=this[_0x20f275(0x16b)]();return this[_0x20f275(0x120)](_0x7d7fe2,(0x0,_0x19f39c[_0x20f275(0x17d)])(_0x7d7fe2,{'tableId':this[_0x20f275(0x1c7)],..._0x516f39,'value':_0x4bbc7e}),_0x516f39);}[_0x1620aa(0x11a)](_0x3ffd4b,_0x38ea0c){const _0x328ea1=_0x1620aa;let _0xd2523=this[_0x328ea1(0x16b)]();return this[_0x328ea1(0x120)](_0xd2523,(0x0,_0x19f39c['buildSetTableCellMarginMutationActions'])({'documentData':_0xd2523,'tableId':this[_0x328ea1(0x1c7)],..._0x3ffd4b,'margin':_0x38ea0c}),_0x3ffd4b);}[_0x1620aa(0x11b)](_0x39f408){const _0x49cbd4=_0x1620aa;let _0x170327=this[_0x49cbd4(0x16b)]();return this[_0x49cbd4(0x120)](_0x170327,(0x0,_0x19f39c[_0x49cbd4(0x1c2)])(_0x170327,this[_0x49cbd4(0x1c7)],_0x39f408));}['setBorder'](_0x35f285,_0x32ec5a){const _0x43eb0b=_0x1620aa;let _0x58509f=this[_0x43eb0b(0x16b)]();return this[_0x43eb0b(0x120)](_0x58509f,this[_0x43eb0b(0x142)](_0x58509f,_0x35f285,_0x32ec5a),_0x35f285);}['setTableBackground'](_0x3e56d2){const _0x6bd9e6=_0x1620aa;return this[_0x6bd9e6(0x16e)](this['getTableRange'](),_0x3e56d2);}[_0x1620aa(0x179)](_0x2f0d46){const _0x3c7e70=_0x1620aa;return this[_0x3c7e70(0x149)](this[_0x3c7e70(0x1a7)](),_0x2f0d46);}[_0x1620aa(0xf3)](_0x2c8eb3){const _0x1e7f46=_0x1620aa;let _0x24bfa8=this['_getDocumentData'](),_0x376b30=this[_0x1e7f46(0x1a7)](),_0x3b92a1=_0x2c8eb3[_0x1e7f46(0xea)]?(0x0,_0x19f39c[_0x1e7f46(0x17d)])(_0x24bfa8,{'tableId':this[_0x1e7f46(0x1c7)],..._0x376b30,'value':_0x2c8eb3[_0x1e7f46(0xea)]}):null,_0x4d1db7=_0x2c8eb3['border']?this[_0x1e7f46(0x142)](_0x24bfa8,_0x376b30,_0x2c8eb3[_0x1e7f46(0x136)]):null;return this[_0x1e7f46(0x120)](_0x24bfa8,_0x2e8565['JSONX']['compose'](_0x3b92a1,_0x4d1db7),_0x376b30);}[_0x1620aa(0x194)](_0x599104,_0x50d66a,_0x32614a=_0x2e8565['TableRowHeightRule'][_0x1620aa(0xec)]){const _0x56efad=_0x1620aa;var _0x11beb9;let _0xbf28a9=this[_0x56efad(0x16b)]();return(_0x11beb9=_0xbf28a9['tableSource'])!=null&&(_0x11beb9=_0x11beb9[this[_0x56efad(0x1c7)]])!=null&&_0x11beb9[_0x56efad(0x13e)][_0x599104]?this[_0x56efad(0x120)](_0xbf28a9,(0x0,_0x19f39c[_0x56efad(0x133)])(_0xbf28a9,this[_0x56efad(0x1c7)],_0x599104,_0x50d66a,_0x32614a)):!0x1;}['getRowHeight'](_0x1479e4){const _0x22b0d2=_0x1620aa;var _0x45168b;let _0x3faafc=(_0x45168b=this['getSource']())==null||(_0x45168b=_0x45168b[_0x22b0d2(0x13e)][_0x1479e4])==null?void 0x0:_0x45168b['trHeight'];return _0x3faafc?_0x2e8565['Tools'][_0x22b0d2(0x13c)](_0x3faafc):null;}['setColumnWidth'](_0x909ed9,_0x42a2b3){const _0x5aa190=_0x1620aa;var _0x22db5a;let _0x4f5b62=this['_getDocumentData']();return(_0x22db5a=_0x4f5b62[_0x5aa190(0x1a5)])!=null&&(_0x22db5a=_0x22db5a[this[_0x5aa190(0x1c7)]])!=null&&_0x22db5a[_0x5aa190(0x132)][_0x909ed9]?this['_mutateActions'](_0x4f5b62,(0x0,_0x19f39c[_0x5aa190(0x15f)])(_0x4f5b62,this[_0x5aa190(0x1c7)],_0x909ed9,_0x42a2b3)):!0x1;}[_0x1620aa(0x1bc)](_0x4d2d8f=0x0,_0x36ab7a=this['getRowCount']()){const _0x17bc12=_0x1620aa;let _0x531fed=this[_0x17bc12(0x16b)]();return this[_0x17bc12(0x120)](_0x531fed,(0x0,_0x19f39c[_0x17bc12(0x118)])(_0x531fed,this[_0x17bc12(0x1c7)],_0x4d2d8f,_0x4d2d8f+_0x36ab7a-0x1));}[_0x1620aa(0x144)](_0x5f41d7=0x0,_0x579e4a=this['getColumnCount']()){const _0x4dab90=_0x1620aa;let _0x57c3dd=this[_0x4dab90(0x16b)]();return this[_0x4dab90(0x120)](_0x57c3dd,(0x0,_0x19f39c['buildDistributeTableColumnsMutationActions'])(_0x57c3dd,this[_0x4dab90(0x1c7)],_0x5f41d7,_0x5f41d7+_0x579e4a-0x1));}[_0x1620aa(0x15a)](){const _0x17d0c7=_0x1620aa;var _0x39c48e;return((_0x39c48e=this[_0x17d0c7(0x15e)]())==null?void 0x0:_0x39c48e[_0x17d0c7(0x1c1)])??0x0;}[_0x1620aa(0x107)](_0x3bfc08){const _0x349c45=_0x1620aa;let _0x3e3558=this[_0x349c45(0x16b)](),_0x5f59f9=(0x0,_0x19f39c[_0x349c45(0x1c4)])(_0x3e3558,this['_tableId'],_0x3bfc08);return _0x5f59f9?this[_0x349c45(0x120)](_0x3e3558,_0x5f59f9[_0x349c45(0x11c)]):!0x1;}[_0x1620aa(0x106)](_0x4acbfd){const _0x1bc9b9=_0x1620aa;return this[_0x1bc9b9(0x107)](_0x4acbfd);}[_0x1620aa(0x126)](){const _0x31cfb2=_0x1620aa;var _0x30f767;return((_0x30f767=this[_0x31cfb2(0x15e)]())==null?void 0x0:_0x30f767[_0x31cfb2(0x18d)])??!0x1;}[_0x1620aa(0x18f)](){const _0x4b3a50=_0x1620aa;let _0x1a3961=this[_0x4b3a50(0x16b)](),_0x411eba=(0x0,_0x19f39c['buildInsertTableTitleRowMutationActions'])(_0x1a3961,this[_0x4b3a50(0x1c7)],this['_getBodyPath']());return _0x411eba?this[_0x4b3a50(0x120)](_0x1a3961,_0x411eba[_0x4b3a50(0x11c)]):!0x1;}[_0x1620aa(0x193)](_0x3a0042,_0x38c758){const _0x2da4e7=_0x1620aa;return!!this[_0x2da4e7(0xf9)][_0x2da4e7(0x1bf)](_0x19f39c[_0x2da4e7(0x129)]['id'],{'unitId':this[_0x2da4e7(0x14c)],'tableId':this[_0x2da4e7(0x1c7)],'segmentId':this[_0x2da4e7(0x103)],'column':_0x3a0042,'config':_0x38c758});}[_0x1620aa(0x10f)](_0x985eb4,_0x24e46c){const _0x390db9=_0x1620aa;let _0x2ac4e7=this[_0x390db9(0x16b)]();return this['_mutateActions'](_0x2ac4e7,(0x0,_0x19f39c[_0x390db9(0x10b)])(_0x2ac4e7,this[_0x390db9(0x173)](),this['_tableId'],_0x985eb4,_0x24e46c,this[_0x390db9(0x1a6)]()));}[_0x1620aa(0x142)](_0x19177a,_0x2a6c42,_0x3cb447){const _0x5cccb6=_0x1620aa;return(0x0,_0x19f39c['buildSetTableBorderMutationActions'])({'documentData':_0x19177a,'tableId':this['_tableId'],..._0x2a6c42,'preset':_0x3cb447[_0x5cccb6(0x1af)]??_0x19f39c[_0x5cccb6(0x17b)][_0x5cccb6(0x124)],'border':_0x3cb447[_0x5cccb6(0x136)]??{'color':{'rgb':_0x3cb447['color']??this[_0x5cccb6(0x180)][_0x5cccb6(0x19a)](_0x2e8565[_0x5cccb6(0x185)])[_0x5cccb6(0x1c8)](_0x5cccb6(0xf6))},'width':{'v':_0x3cb447[_0x5cccb6(0x1c3)]??0x1},'dashStyle':_0x2e8565[_0x5cccb6(0x1b1)][_0x5cccb6(0x161)]}});}[_0x1620aa(0x16b)](){const _0x108d1a=_0x1620aa;let _0xb7df44=this['_document']['getDocumentDataModel']()[_0x108d1a(0x191)]();return this[_0x108d1a(0x103)]?{...this[_0x108d1a(0x1b7)]['getDocumentDataModel'](this[_0x108d1a(0x103)])[_0x108d1a(0x191)](),'documentStyle':_0xb7df44[_0x108d1a(0x148)],'tableSource':_0xb7df44[_0x108d1a(0x1a5)]}:_0xb7df44;}[_0x1620aa(0x173)](){const _0x167e8f=_0x1620aa;return this['_injector']['get'](_0x19f39c['DocsTableModel'])[_0x167e8f(0x188)](this[_0x167e8f(0x14c)],this['_document'][_0x167e8f(0x13b)]()[_0x167e8f(0x191)]());}[_0x1620aa(0x1a6)](){const _0x1f56ac=_0x1620aa;return(0x0,_0x19f39c[_0x1f56ac(0x116)])(this[_0x1f56ac(0x1b7)][_0x1f56ac(0x13b)]()[_0x1f56ac(0x191)](),this[_0x1f56ac(0x103)]);}[_0x1620aa(0x120)](_0x4c344a,_0x9c6553,_0x368fe8){const _0x5cee1a=_0x1620aa;return(0x0,_0x19f39c[_0x5cee1a(0x135)])(this[_0x5cee1a(0xf9)],this[_0x5cee1a(0x14c)],_0x4c344a,_0x9c6553,_0x368fe8?{'tableId':this[_0x5cee1a(0x1c7)],'segmentId':this[_0x5cee1a(0x103)],..._0x368fe8}:void 0x0);}};_0x14dc85=_0x4f5b6f([_0x5bedc2(0x3,_0x2e8565['ICommandService']),_0x5bedc2(0x4,(0x0,_0x2e8565[_0x1620aa(0x100)])(_0x2e8565[_0x1620aa(0x175)]))],_0x14dc85);var _0x11dde3=class extends _0x127995['FDocument']{[_0x1620aa(0x13f)](_0x4b0257=''){const _0x56fbef=_0x1620aa;return this['_getTables'](_0x4b0257)['map'](_0xf113af=>this[_0x56fbef(0x117)](_0xf113af['tableId'],_0x4b0257));}['getTable'](_0xcc30e1,_0x510275=''){const _0x54c820=_0x1620aa;return this[_0x54c820(0x1b5)](_0x510275)[_0x54c820(0x14e)](_0x3879c1=>_0x3879c1['tableId']===_0xcc30e1)?this['_createFDocumentTable'](_0xcc30e1,_0x510275):null;}[_0x1620aa(0x152)](_0x3cb448,_0x25e4ca=''){const _0x43323f=_0x1620aa;var _0x5b99c6;let _0xfdd494=(_0x5b99c6=this[_0x43323f(0x1b5)](_0x25e4ca)[_0x3cb448])==null?void 0x0:_0x5b99c6[_0x43323f(0x154)];return _0xfdd494?this[_0x43323f(0x117)](_0xfdd494,_0x25e4ca):null;}[_0x1620aa(0x1aa)](){const _0x1ad1e3=_0x1620aa;let _0x547391=this[_0x1ad1e3(0x180)][_0x1ad1e3(0x19a)](_0x19f39c[_0x1ad1e3(0x11d)])[_0x1ad1e3(0x153)]();return _0x547391!=null&&_0x547391['tableId']?this[_0x1ad1e3(0x117)](_0x547391[_0x1ad1e3(0x154)],_0x547391[_0x1ad1e3(0x17c)]):null;}[_0x1620aa(0x146)](_0x151a4f,_0x26eeda=''){const _0x72f436=_0x1620aa;return this[_0x72f436(0x186)](_0x151a4f,_0x26eeda)[0x0]??null;}[_0x1620aa(0x186)](_0x55a4e5,_0x4feb59=''){const _0xfc6144=_0x1620aa;let _0x19e400=this['_getTableDocumentData'](_0x4feb59),_0x40666f=typeof _0x55a4e5==_0xfc6144(0x131)?{'text':_0x55a4e5}:_0x55a4e5;return this[_0xfc6144(0x13f)](_0x4feb59)[_0xfc6144(0xed)](_0x2b0b8c=>{const _0x41cd72=_0xfc6144;let _0x287f3c=_0x2b0b8c[_0x41cd72(0x19b)]();return!(_0x40666f[_0x41cd72(0x154)]&&_0x287f3c!==_0x40666f[_0x41cd72(0x154)]||_0x40666f[_0x41cd72(0x169)]&&!this[_0x41cd72(0x12c)](_0x19e400,_0x287f3c,_0x40666f[_0x41cd72(0x169)])||_0x40666f[_0x41cd72(0x11f)]&&!this[_0x41cd72(0x187)](_0x2b0b8c,0x0,_0x40666f[_0x41cd72(0x11f)])||_0x40666f['titleText']&&!this[_0x41cd72(0x187)](_0x2b0b8c,0x0,_0x40666f[_0x41cd72(0x165)]));});}[_0x1620aa(0x114)](_0x2e8424,_0x108534,_0x26cd76={}){const _0x28c47c=_0x1620aa;let _0x1ba618=this[_0x28c47c(0x180)][_0x28c47c(0x19a)](_0x2e8565[_0x28c47c(0xee)]),_0x12b947=_0x26cd76['tableId']??(0x0,_0x2e8565[_0x28c47c(0x12e)])(0x6);return _0x1ba618['syncExecuteCommand'](_0x19f39c[_0x28c47c(0x1b6)]['id'],{..._0x26cd76,'unitId':this[_0x28c47c(0x19b)](),'rows':_0x2e8424,'columns':_0x108534,'tableId':_0x12b947})?this['_createFDocumentTable'](_0x12b947,_0x26cd76[_0x28c47c(0x17c)]??''):null;}[_0x1620aa(0x166)](_0x56550d,_0x18ce13={}){const _0x34615e=_0x1620aa;let _0x4be2ef=this[_0x34615e(0x180)][_0x34615e(0x19a)](_0x2e8565[_0x34615e(0xee)]),_0x20b82a=_0x18ce13[_0x34615e(0x154)]??(0x0,_0x2e8565[_0x34615e(0x12e)])(0x6);return _0x4be2ef[_0x34615e(0x1bf)](_0x19f39c[_0x34615e(0x1b6)]['id'],{..._0x18ce13,'unitId':this[_0x34615e(0x19b)](),'values':_0x56550d,'tableId':_0x20b82a})?this[_0x34615e(0x117)](_0x20b82a,_0x18ce13['segmentId']??''):null;}[_0x1620aa(0x1b5)](_0x3914a3=''){const _0x4a30bf=_0x1620aa;let {tables:_0x4ce60c=[]}=this[_0x4a30bf(0x143)](_0x3914a3);return _0x4ce60c;}[_0x1620aa(0x190)](_0x3259f3=''){const _0x17735e=_0x1620aa;let _0x4c4dd1=this['getDocumentDataModel']()['getSnapshot']();return _0x3259f3?{...this[_0x17735e(0x13b)](_0x3259f3)['getSnapshot'](),'documentStyle':_0x4c4dd1[_0x17735e(0x148)],'tableSource':_0x4c4dd1[_0x17735e(0x1a5)]}:_0x4c4dd1;}['_createFDocumentTable'](_0x2b230c,_0x2f6e63=''){const _0x2dee96=_0x1620aa;return this[_0x2dee96(0x180)][_0x2dee96(0x164)](_0x14dc85,this,_0x2b230c,_0x2f6e63);}[_0x1620aa(0x12c)](_0x558f0e,_0x76c90d,_0x1bdcda){const _0x149cd1=_0x1620aa;var _0x3d0dcb;let _0x4743c9=(0x0,_0x19f39c[_0x149cd1(0x130)])(_0x558f0e,_0x76c90d);if(!_0x4743c9)return!0x1;let _0x44a5b0=(_0x3d0dcb=_0x558f0e[_0x149cd1(0x105)])==null?void 0x0:_0x3d0dcb[_0x149cd1(0x15d)];return _0x44a5b0?_0x44a5b0[_0x149cd1(0x141)](_0x4743c9[_0x149cd1(0x1c5)],_0x4743c9[_0x149cd1(0xf8)])[_0x149cd1(0x134)](_0x1bdcda):!0x1;}[_0x1620aa(0x187)](_0x13fce9,_0x133b47,_0x12e60c){const _0x58bae6=_0x1620aa;return Array[_0x58bae6(0x13d)]({'length':_0x13fce9[_0x58bae6(0x1ca)]()},(_0x3521a1,_0x2f5155)=>_0x13fce9['getCellText'](_0x133b47,_0x2f5155))[_0x58bae6(0x14e)](_0x2fea15=>_0x2fea15[_0x58bae6(0x134)](_0x12e60c));}};_0x127995[_0x1620aa(0x1bb)][_0x1620aa(0x177)](_0x11dde3),Object[_0x1620aa(0xeb)](_0x242d79,'FDocumentTable',{'enumerable':!0x0,'get':function(){return _0x14dc85;}}),_0x242d79['FDocumentTableCell']=_0x46d816;}));
|
|
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();}
|