@univerjs-pro/docs-table 0.24.0-insiders.20260528-29f582d
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 +77 -0
- package/lib/cjs/facade.js +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -0
- package/lib/types/commands/copy-selection.command.d.ts +6 -0
- package/lib/types/commands/delete-columns.command.d.ts +7 -0
- package/lib/types/commands/delete-rows.command.d.ts +7 -0
- package/lib/types/commands/delete-table.command.d.ts +5 -0
- package/lib/types/commands/distribute-columns.command.d.ts +7 -0
- package/lib/types/commands/distribute-rows.command.d.ts +7 -0
- package/lib/types/commands/insert-columns.command.d.ts +9 -0
- package/lib/types/commands/insert-rows.command.d.ts +9 -0
- package/lib/types/commands/insert-table.command.d.ts +7 -0
- package/lib/types/commands/insert-title-row.command.d.ts +5 -0
- package/lib/types/commands/merge-cells.command.d.ts +6 -0
- package/lib/types/commands/move-columns.command.d.ts +9 -0
- package/lib/types/commands/move-rows.command.d.ts +9 -0
- package/lib/types/commands/move-table.command.d.ts +8 -0
- package/lib/types/commands/paste-without-formatting.command.d.ts +7 -0
- package/lib/types/commands/resize-column.command.d.ts +7 -0
- package/lib/types/commands/resize-row.command.d.ts +7 -0
- package/lib/types/commands/set-column-type.command.d.ts +8 -0
- package/lib/types/commands/set-header-row-count.command.d.ts +7 -0
- package/lib/types/commands/set-table-background.command.d.ts +10 -0
- package/lib/types/commands/set-table-border-color.command.d.ts +11 -0
- package/lib/types/commands/set-table-border-style.command.d.ts +11 -0
- package/lib/types/commands/set-table-border-width.command.d.ts +8 -0
- package/lib/types/commands/set-table-border.command.d.ts +9 -0
- package/lib/types/commands/sort-table.command.d.ts +8 -0
- package/lib/types/commands/unmerge-cells.command.d.ts +6 -0
- package/lib/types/commands/utils.d.ts +10 -0
- package/lib/types/common/actions.d.ts +73 -0
- package/lib/types/common/border.d.ts +25 -0
- package/lib/types/common/cell-text.d.ts +12 -0
- package/lib/types/common/clipboard.d.ts +38 -0
- package/lib/types/common/const.d.ts +2 -0
- package/lib/types/common/insert-table.d.ts +27 -0
- package/lib/types/common/layout.d.ts +56 -0
- package/lib/types/common/merge.d.ts +21 -0
- package/lib/types/common/metadata.d.ts +5 -0
- package/lib/types/common/selection-remap.d.ts +12 -0
- package/lib/types/common/sort.d.ts +14 -0
- package/lib/types/common/table-fixture.d.ts +3 -0
- package/lib/types/common/table-range.d.ts +31 -0
- package/lib/types/common/type.d.ts +33 -0
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/controllers/docs-table-resource.controller.d.ts +8 -0
- package/lib/types/facade/f-docs-table-cell.d.ts +83 -0
- package/lib/types/facade/f-docs-table.d.ts +130 -0
- package/lib/types/facade/f-document.d.ts +88 -0
- package/lib/types/facade/index.d.ts +5 -0
- package/lib/types/facade/types.d.ts +52 -0
- package/lib/types/index.d.ts +80 -0
- package/lib/types/models/docs-table-model.d.ts +19 -0
- package/lib/types/plugin.d.ts +15 -0
- package/lib/types/services/docs-table-selection.service.d.ts +32 -0
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -0
- package/package.json +86 -0
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x2402dc=_0x4a55;(function(_0x49211b,_0xdcbb6e){const _0x382ed0=_0x4a55,_0x328d39=_0x49211b();while(!![]){try{const _0x58e2dd=parseInt(_0x382ed0(0x177))/0x1*(-parseInt(_0x382ed0(0x19f))/0x2)+parseInt(_0x382ed0(0x10e))/0x3+-parseInt(_0x382ed0(0x164))/0x4+-parseInt(_0x382ed0(0x12b))/0x5+parseInt(_0x382ed0(0xe9))/0x6+parseInt(_0x382ed0(0x18e))/0x7*(parseInt(_0x382ed0(0x182))/0x8)+parseInt(_0x382ed0(0x171))/0x9;if(_0x58e2dd===_0xdcbb6e)break;else _0x328d39['push'](_0x328d39['shift']());}catch(_0x4b2320){_0x328d39['push'](_0x328d39['shift']());}}}(_0x2eaa,0xd11fd));import{BooleanNumber as _0x4ec489,CommandType as _0x5b79de,DOC_RANGE_TYPE as _0x4df7a7,DashStyleType as _0x5b37a0,DataStreamTreeTokenType as _0x1f6900,DependentOn as _0x2469c2,Disposable as _0x563a5a,ICommandService as _0x3a98e3,IConfigService as _0x2911eb,IResourceManagerService as _0x482716,IUniverInstanceService as _0x34f351,Inject as _0x4a0988,Injector as _0x1275f1,JSONX as _0x3facce,ObjectRelativeFromH as _0x2a06d8,ObjectRelativeFromV as _0x1bf7f8,Plugin as _0x58831d,TableAlignmentType as _0x3fb619,TableRowHeightRule as _0x109bc9,TableSizeType as _0x222251,TableTextWrapType as _0x5522cb,Tools as _0x31a192,UniverInstanceType as _0x3be9d2,generateRandomId as _0x4b083f,merge as _0x480d1d}from'@univerjs/core';import{DocSelectionManagerService as _0x390e58,RichTextEditingMutation as _0x5e4115,UniverDocsPlugin as _0x3ae3f5}from'@univerjs/docs';import{Subject as _0x5f1f0e}from'rxjs';import{UniverLicensePlugin as _0x7ec861}from'@univerjs-pro/license';function C(_0x23edf3,_0x18be59){const _0x296850=_0x4a55;var _0x506a5,_0x3080c3,_0xc3dea7;let _0x784bd3=(_0x506a5=_0x23edf3[_0x296850(0x1c9)])==null||(_0x506a5=_0x506a5[_0x296850(0xe8)])==null?void 0x0:_0x506a5['find'](_0x3bea5d=>_0x3bea5d[_0x296850(0x1a2)]===_0x18be59),_0x2b5a5f=(_0x3080c3=_0x23edf3[_0x296850(0xea)])==null?void 0x0:_0x3080c3[_0x18be59],_0x1ea8cf=(_0xc3dea7=_0x23edf3['body'])==null?void 0x0:_0xc3dea7[_0x296850(0x15e)];return!_0x784bd3||!_0x2b5a5f||!_0x1ea8cf?null:ce(_0x1ea8cf,_0x784bd3[_0x296850(0x19e)],_0x784bd3['endIndex'],_0x18be59,_0x2b5a5f);}function w(_0x4245a1,_0x17b948){const _0x11d739=_0x4a55;let _0x4aa8c8=_0x4245a1['rows'][_0x17b948];if(!_0x4aa8c8)throw Error('[DocsTable]:\x20Row\x20'+_0x17b948+_0x11d739(0xe2));return _0x4aa8c8;}function se(_0x58101e,_0x4aaf9a){const _0xc8c148=_0x4a55;let _0x1699e6=_0x58101e['rows']['map'](_0x5249a7=>_0x5249a7[_0xc8c148(0x11c)][_0x4aaf9a])[_0xc8c148(0x1a9)](Boolean);if(_0x1699e6[_0xc8c148(0xfc)]===0x0)throw Error(_0xc8c148(0x1f0)+_0x4aaf9a+_0xc8c148(0xe2));return{'column':_0x4aaf9a,'startOffset':_0x1699e6[0x0]['startOffset'],'endOffset':_0x1699e6[_0x1699e6[_0xc8c148(0xfc)]-0x1][_0xc8c148(0x17f)],'cells':_0x1699e6};}function ce(_0x52494c,_0x4f1549,_0x26d7b3,_0x202938,_0x33214b){const _0x235f65=_0x4a55;var _0x171df9,_0x4b8ef4;let _0x262427=[],_0x4179e4=null;for(let _0x253867=_0x4f1549;_0x253867<_0x26d7b3;_0x253867++){let _0xf8a974=_0x52494c[_0x253867];if(_0xf8a974===_0x1f6900[_0x235f65(0x14f)]){_0x4179e4={'row':_0x262427[_0x235f65(0xfc)],'startOffset':_0x253867,'endOffset':_0x253867,'cells':[]},_0x262427[_0x235f65(0x1be)](_0x4179e4);continue;}if(_0xf8a974===_0x1f6900[_0x235f65(0xdf)]&&_0x4179e4){let _0x4ff4aa=_0x253867,_0x1540c5=_0x253867;for(let _0x56bf52=_0x253867+0x1;_0x56bf52<_0x26d7b3;_0x56bf52++)if(_0x52494c[_0x56bf52]===_0x1f6900[_0x235f65(0x151)]){_0x1540c5=_0x56bf52;break;}_0x4179e4[_0x235f65(0x11c)][_0x235f65(0x1be)]({'row':_0x4179e4[_0x235f65(0x1e3)],'column':_0x4179e4['cells']['length'],'startOffset':_0x4ff4aa,'endOffset':_0x1540c5}),_0x253867=_0x1540c5;continue;}_0xf8a974===_0x1f6900[_0x235f65(0x1db)]&&_0x4179e4&&(_0x4179e4[_0x235f65(0x17f)]=_0x253867,_0x4179e4=null);}return{'tableId':_0x202938,'startOffset':_0x4f1549,'endOffset':_0x26d7b3,'rowCount':_0x262427['length'],'columnCount':(_0x171df9=(_0x4b8ef4=_0x262427[0x0])==null?void 0x0:_0x4b8ef4[_0x235f65(0x11c)][_0x235f65(0xfc)])==null?0x0:_0x171df9,'tableSource':_0x33214b,'rows':_0x262427};}function le(_0x3cac16){const _0x14fe6a=_0x4a55;var _0x53e2dd;let _0x1d7ba1=C(_0x3cac16[_0x14fe6a(0x1ac)],_0x3cac16[_0x14fe6a(0x1a2)]),_0x1ff2b2=(_0x53e2dd=_0x3cac16['documentData']['body'])==null?void 0x0:_0x53e2dd[_0x14fe6a(0x15e)];if(!_0x1d7ba1||!_0x1ff2b2)throw Error('[DocsTable]:\x20Table\x20'+_0x3cac16[_0x14fe6a(0x1a2)]+_0x14fe6a(0x12a));let _0x16bb24=pe(_0x3cac16),_0x459a57=[];for(let _0x588c57=_0x16bb24['startRow'];_0x588c57<=_0x16bb24[_0x14fe6a(0x126)];_0x588c57++){let _0x1e1dca=[];for(let _0x21b9f9=_0x16bb24[_0x14fe6a(0x186)];_0x21b9f9<=_0x16bb24[_0x14fe6a(0x146)];_0x21b9f9++){var _0x3e9be2;let _0x45e489=(_0x3e9be2=_0x1d7ba1[_0x14fe6a(0x127)][_0x588c57])==null?void 0x0:_0x3e9be2['cells'][_0x21b9f9];_0x1e1dca['push'](_0x45e489?me(_0x1ff2b2,_0x45e489['startOffset'],_0x45e489[_0x14fe6a(0x17f)]):'');}_0x459a57[_0x14fe6a(0x1be)](_0x1e1dca);}return _0x459a57[_0x14fe6a(0xff)](_0x354ff8=>_0x354ff8[_0x14fe6a(0x109)]('\x09'))['join']('\x0a');}function ue(_0x46d9c5){const _0x2cdc6c=_0x4a55;var _0x2386c6;let _0x515257=_0x31a192[_0x2cdc6c(0x198)](_0x46d9c5[_0x2cdc6c(0x1ac)]),_0x480569=C(_0x515257,_0x46d9c5[_0x2cdc6c(0x1a2)]);if(!_0x480569||!((_0x2386c6=_0x515257['body'])!=null&&_0x2386c6[_0x2cdc6c(0x15e)]))throw Error(_0x2cdc6c(0x18d)+_0x46d9c5[_0x2cdc6c(0x1a2)]+_0x2cdc6c(0x12a));let _0x5c4dee=_0x46d9c5[_0x2cdc6c(0x175)]['split'](/\r?\n/)[_0x2cdc6c(0xff)](_0x3d0992=>_0x3d0992['split']('\x09')),_0x33210e=[];for(let _0x36c5d2=0x0;_0x36c5d2<_0x5c4dee[_0x2cdc6c(0xfc)];_0x36c5d2++)for(let _0x273546=0x0;_0x273546<_0x5c4dee[_0x36c5d2][_0x2cdc6c(0xfc)];_0x273546++){var _0x4bc57e;let _0x2377b7=(_0x4bc57e=_0x480569[_0x2cdc6c(0x127)][_0x46d9c5[_0x2cdc6c(0x19a)]+_0x36c5d2])==null?void 0x0:_0x4bc57e[_0x2cdc6c(0x11c)][_0x46d9c5['startColumn']+_0x273546];_0x2377b7&&_0x33210e[_0x2cdc6c(0x1be)]({'startOffset':_0x2377b7[_0x2cdc6c(0x1d2)]+0x1,'endOffset':_0x2377b7['endOffset'],'text':_0x5c4dee[_0x36c5d2][_0x273546]+'\x0d\x0a'});}_0x33210e[_0x2cdc6c(0x1ec)]((_0x444670,_0x11adbf)=>_0x11adbf[_0x2cdc6c(0x1d2)]-_0x444670[_0x2cdc6c(0x1d2)]);let _0x411f01=0x0;for(let _0x23ac8b of _0x33210e)_0x411f01+=_0x23ac8b[_0x2cdc6c(0x175)][_0x2cdc6c(0xfc)]-(_0x23ac8b[_0x2cdc6c(0x17f)]-_0x23ac8b[_0x2cdc6c(0x1d2)]),_0x515257[_0x2cdc6c(0x1c9)]['dataStream']=''+_0x515257[_0x2cdc6c(0x1c9)][_0x2cdc6c(0x15e)][_0x2cdc6c(0x1c0)](0x0,_0x23ac8b[_0x2cdc6c(0x1d2)])+_0x23ac8b[_0x2cdc6c(0x175)]+_0x515257['body']['dataStream'][_0x2cdc6c(0x1c0)](_0x23ac8b[_0x2cdc6c(0x17f)]);return _0x411f01!==0x0&&_0x515257[_0x2cdc6c(0x1c9)][_0x2cdc6c(0xe8)]&&(_0x515257[_0x2cdc6c(0x1c9)][_0x2cdc6c(0xe8)]=_0x515257[_0x2cdc6c(0x1c9)][_0x2cdc6c(0xe8)][_0x2cdc6c(0xff)](_0x409dd8=>_0x409dd8[_0x2cdc6c(0x1a2)]===_0x46d9c5[_0x2cdc6c(0x1a2)]?{..._0x409dd8,'endIndex':_0x409dd8['endIndex']+_0x411f01}:_0x409dd8['startIndex']>_0x480569[_0x2cdc6c(0x17f)]?{..._0x409dd8,'startIndex':_0x409dd8[_0x2cdc6c(0x19e)]+_0x411f01,'endIndex':_0x409dd8[_0x2cdc6c(0x12d)]+_0x411f01}:_0x409dd8)),{'nextDocumentData':_0x515257};}function de(_0x2c4e9c){const _0x8cdd86=_0x4a55;var _0x474309;let _0x3a33e7=fe(_0x2c4e9c[_0x8cdd86(0x194)]),_0x11b3ec=ue({..._0x2c4e9c,'text':_0x3a33e7[_0x8cdd86(0x127)]['map'](_0x388abf=>_0x388abf[_0x8cdd86(0x11c)][_0x8cdd86(0xff)](_0x203b87=>{const _0x20fa45=_0x8cdd86;var _0x357ee7;return(_0x357ee7=_0x203b87==null?void 0x0:_0x203b87[_0x20fa45(0x175)])==null?'':_0x357ee7;})[_0x8cdd86(0x109)]('\x09'))[_0x8cdd86(0x109)]('\x0a')})['nextDocumentData'],_0x3b49d5=(_0x474309=_0x11b3ec['tableSource'])==null?void 0x0:_0x474309[_0x2c4e9c[_0x8cdd86(0x1a2)]];if(!_0x3b49d5)throw Error(_0x8cdd86(0x18d)+_0x2c4e9c[_0x8cdd86(0x1a2)]+_0x8cdd86(0x12a));return _0x3a33e7[_0x8cdd86(0x1af)][_0x8cdd86(0x1e7)]((_0x45130c,_0x299d37)=>{const _0x38665e=_0x8cdd86;let _0x5413f8=_0x2c4e9c['startColumn']+_0x299d37;_0x45130c==null||!_0x3b49d5[_0x38665e(0xe3)][_0x5413f8]||(_0x3b49d5[_0x38665e(0xe3)][_0x5413f8][_0x38665e(0x1f4)]={'type':_0x222251['SPECIFIED'],'width':{'v':_0x45130c}});}),_0x3a33e7[_0x8cdd86(0x127)][_0x8cdd86(0x1e7)]((_0x470bce,_0x571252)=>{const _0x4f1eb2=_0x8cdd86;let _0x4c54b7=_0x3b49d5[_0x4f1eb2(0x165)][_0x2c4e9c[_0x4f1eb2(0x19a)]+_0x571252];_0x470bce['height']!=null&&_0x4c54b7&&(_0x4c54b7[_0x4f1eb2(0x17c)]={'hRule':_0x109bc9['EXACT'],'val':{'v':_0x470bce[_0x4f1eb2(0x193)]}}),_0x470bce[_0x4f1eb2(0x11c)][_0x4f1eb2(0x1e7)]((_0x5f267f,_0x4203ff)=>{const _0x58ab03=_0x4f1eb2;let _0x1939fa=_0x4c54b7==null?void 0x0:_0x4c54b7['tableCells'][_0x2c4e9c[_0x58ab03(0x186)]+_0x4203ff];_0x1939fa&&(delete _0x1939fa[_0x58ab03(0x1bc)],delete _0x1939fa[_0x58ab03(0x19b)]);});}),_0x3a33e7[_0x8cdd86(0x127)][_0x8cdd86(0x1e7)]((_0x286fd,_0x5b7079)=>{const _0x35894d=_0x8cdd86;_0x286fd[_0x35894d(0x11c)]['forEach']((_0x34ff60,_0x2ccf10)=>{const _0x3169ef=_0x35894d;var _0xc2da2c;if(!_0x34ff60)return;let _0x39fe43=_0x2c4e9c[_0x3169ef(0x19a)]+_0x5b7079,_0x5474ca=_0x2c4e9c[_0x3169ef(0x186)]+_0x2ccf10,_0x35d493=(_0xc2da2c=_0x3b49d5[_0x3169ef(0x165)][_0x39fe43])==null?void 0x0:_0xc2da2c[_0x3169ef(0xf2)][_0x5474ca];if(!_0x35d493)return;let _0x273d54=ye(_0x34ff60[_0x3169ef(0x1bc)],_0x3b49d5[_0x3169ef(0x165)][_0x3169ef(0xfc)]-_0x39fe43),_0x118f0e=ye(_0x34ff60['colSpan'],_0x3b49d5['tableRows'][_0x39fe43][_0x3169ef(0xf2)][_0x3169ef(0xfc)]-_0x5474ca);_0x273d54>0x1&&(_0x35d493[_0x3169ef(0x1bc)]=_0x273d54),_0x118f0e>0x1&&(_0x35d493[_0x3169ef(0x19b)]=_0x118f0e),_0x34ff60[_0x3169ef(0x13d)]&&(_0x35d493['backgroundColor']={'rgb':_0x34ff60[_0x3169ef(0x13d)]});let _0x4a7c1c=ve(_0x34ff60);_0x4a7c1c&&(_0x35d493[_0x3169ef(0x187)]=_0x4a7c1c,_0x35d493[_0x3169ef(0x13b)]=_0x4a7c1c,_0x35d493[_0x3169ef(0x102)]=_0x4a7c1c,_0x35d493[_0x3169ef(0x113)]=_0x4a7c1c);for(let _0x48c4f3=0x0;_0x48c4f3<_0x273d54;_0x48c4f3++)for(let _0x257dc2=0x0;_0x257dc2<_0x118f0e;_0x257dc2++){var _0x157764;if(_0x48c4f3===0x0&&_0x257dc2===0x0)continue;let _0xf381a=(_0x157764=_0x3b49d5[_0x3169ef(0x165)][_0x39fe43+_0x48c4f3])==null?void 0x0:_0x157764[_0x3169ef(0xf2)][_0x5474ca+_0x257dc2];_0xf381a&&(_0xf381a[_0x3169ef(0x1bc)]=0x0,_0xf381a['columnSpan']=0x0);}});}),{'nextDocumentData':_0x11b3ec};}function fe(_0x486dcc){const _0x30d347=_0x4a55;let _0x2c4318=new DOMParser()[_0x30d347(0x13f)](_0x486dcc,'text/html')[_0x30d347(0x1d9)](_0x30d347(0x173));if(!_0x2c4318)return{'rows':[],'columnWidths':[]};let _0x33cff2=Array[_0x30d347(0x143)](_0x2c4318[_0x30d347(0x1f1)]('col'))[_0x30d347(0xff)](_0x225212=>T(_0x225212[_0x30d347(0x199)](_0x30d347(0x15d)),_0x225212['getAttribute'](_0x30d347(0x121)),_0x30d347(0x15d))),_0x4bd978=[],_0x24c583=new Map();Array[_0x30d347(0x143)](_0x2c4318[_0x30d347(0x1f1)]('tr'))[_0x30d347(0x1e7)]((_0x269b4a,_0x464e20)=>{const _0x552285=_0x30d347;let _0x34ba22={'cells':[],'height':T(_0x269b4a[_0x552285(0x199)]('height'),_0x269b4a[_0x552285(0x199)](_0x552285(0x121)),_0x552285(0x193))},_0x56dafe=0x0;for(Array[_0x552285(0x143)](_0x269b4a[_0x552285(0x1a7)])[_0x552285(0x1a9)](_0x4b787b=>_0x4b787b['tagName']['toLowerCase']()==='td'||_0x4b787b['tagName']['toLowerCase']()==='th')[_0x552285(0x1e7)](_0x591af1=>{const _0xf81837=_0x552285;for(var _0x249dd8,_0x27038a,_0x1022b4,_0x2316f3,_0x435dd5;_0x24c583['has'](_0x464e20+':'+_0x56dafe);)_0x34ba22['cells'][_0x56dafe]=null,_0x56dafe++;let _0x37c7e5=Math[_0xf81837(0x14a)](0x1,Number((_0x249dd8=_0x591af1['getAttribute'](_0xf81837(0x1da)))==null?0x1:_0x249dd8)),_0x3f27ea=Math['max'](0x1,Number((_0x27038a=_0x591af1['getAttribute'](_0xf81837(0x107)))==null?0x1:_0x27038a)),_0x3cdddb=(_0x1022b4=_0x591af1[_0xf81837(0x199)](_0xf81837(0x121)))==null?'':_0x1022b4;_0x34ba22[_0xf81837(0x11c)][_0x56dafe]={'text':he((_0x2316f3=_0x591af1[_0xf81837(0x1df)])==null?'':_0x2316f3),'rowSpan':_0x37c7e5,'colSpan':_0x3f27ea,'backgroundColor':(_0x435dd5=E(_0x3cdddb,'background-color'))==null?E(_0x3cdddb,_0xf81837(0x18f)):_0x435dd5,'borderColor':ge(_0x3cdddb),'borderWidth':_e(_0x3cdddb)};let _0x3c0f19=T(_0x591af1['getAttribute'](_0xf81837(0x15d)),_0x3cdddb,'width');_0x3c0f19!=null&&_0x33cff2[_0x56dafe]==null&&(_0x33cff2[_0x56dafe]=_0x3c0f19);for(let _0xa7a0ba=0x0;_0xa7a0ba<_0x37c7e5;_0xa7a0ba++)for(let _0x16d7f9=0x0;_0x16d7f9<_0x3f27ea;_0x16d7f9++)(_0xa7a0ba!==0x0||_0x16d7f9!==0x0)&&_0x24c583[_0xf81837(0x111)](_0x464e20+_0xa7a0ba+':'+(_0x56dafe+_0x16d7f9),!0x0);for(let _0x4bf84a=0x1;_0x4bf84a<_0x3f27ea;_0x4bf84a++)_0x34ba22['cells'][_0x56dafe+_0x4bf84a]=null;_0x56dafe+=_0x3f27ea;});_0x34ba22['cells'][_0x552285(0xfc)]<_0x33cff2['length'];)_0x34ba22[_0x552285(0x11c)][_0x552285(0x1be)](null);_0x4bd978[_0x552285(0x1be)](_0x34ba22);});let _0x4f28a1=Math[_0x30d347(0x14a)](_0x33cff2[_0x30d347(0xfc)],..._0x4bd978[_0x30d347(0xff)](_0x2f8c27=>_0x2f8c27[_0x30d347(0x11c)]['length']));for(;_0x33cff2[_0x30d347(0xfc)]<_0x4f28a1;)_0x33cff2['push'](void 0x0);return _0x4bd978[_0x30d347(0x1e7)](_0x4a979e=>{const _0x177755=_0x30d347;for(;_0x4a979e[_0x177755(0x11c)][_0x177755(0xfc)]<_0x4f28a1;)_0x4a979e[_0x177755(0x11c)][_0x177755(0x1be)](null);}),{'columnWidths':_0x33cff2,'rows':_0x4bd978};}function pe(_0x30b9b9){const _0x3802fd=_0x4a55;return{'startRow':Math[_0x3802fd(0xf0)](_0x30b9b9['startRow'],_0x30b9b9['endRow']),'endRow':Math['max'](_0x30b9b9[_0x3802fd(0x19a)],_0x30b9b9[_0x3802fd(0x126)]),'startColumn':Math[_0x3802fd(0xf0)](_0x30b9b9[_0x3802fd(0x186)],_0x30b9b9[_0x3802fd(0x146)]),'endColumn':Math['max'](_0x30b9b9[_0x3802fd(0x186)],_0x30b9b9['endColumn'])};}function me(_0x34158a,_0x33976a,_0x2c346c){const _0x2b6306=_0x4a55;return _0x34158a[_0x2b6306(0x1c0)](_0x33976a+0x1,_0x2c346c)[_0x2b6306(0x103)](/\r?\n$/,'');}function he(_0x5b4670){const _0x5903eb=_0x4a55;return _0x5b4670[_0x5903eb(0x103)](/\u00A0/g,'\x20')[_0x5903eb(0x103)](/\s+/g,'\x20')[_0x5903eb(0x1e1)]();}function T(_0x1d3bf7,_0x2c98ed,_0x1c2622){const _0x3cfa3b=_0x4a55;let _0x5ab44f=_0x2c98ed==null?void 0x0:_0x2c98ed[_0x3cfa3b(0x12f)](RegExp(_0x1c2622+_0x3cfa3b(0x1b8),'i'));if(_0x5ab44f)return Number(_0x5ab44f[0x1]);if(!_0x1d3bf7)return;let _0xcc6c2a=_0x1d3bf7[_0x3cfa3b(0x12f)](/([0-9.]+)/);return _0xcc6c2a?Number(_0xcc6c2a[0x1]):void 0x0;}function E(_0x3936be,_0x140bc6){const _0x2cafc4=_0x4a55;var _0x1ea902;let _0x160bba=_0x3936be[_0x2cafc4(0x12f)](RegExp(_0x140bc6+_0x2cafc4(0x1ce),'i'));return _0x160bba==null||(_0x1ea902=_0x160bba[0x1])==null?void 0x0:_0x1ea902[_0x2cafc4(0x1e1)]();}function ge(_0x8a75a8){const _0x5b2d96=_0x4a55;var _0x4c21c4;return E(_0x8a75a8,_0x5b2d96(0x11b))||((_0x4c21c4=_0x8a75a8[_0x5b2d96(0x12f)](/border(?:-[a-z]+)?\s*:[^;]*?(#[0-9a-f]{3,8}|rgb\([^)]+\))/i))==null?void 0x0:_0x4c21c4[0x1]);}function _e(_0xb9ff3c){const _0x41ff7a=_0x4a55;var _0x3c5a92;let _0x15a0aa=T(null,(_0x3c5a92=E(_0xb9ff3c,_0x41ff7a(0xe6)))==null?null:_0x3c5a92,_0x41ff7a(0x15d));if(_0x15a0aa!=null)return _0x15a0aa;let _0x19ebeb=_0xb9ff3c[_0x41ff7a(0x12f)](/border(?:-[a-z]+)?\s*:\s*([0-9.]+)px/i);return _0x19ebeb?Number(_0x19ebeb[0x1]):void 0x0;}function ve(_0x54487a){const _0x4fd7f0=_0x4a55;var _0x17987b,_0x350908;if(!(!_0x54487a[_0x4fd7f0(0x18c)]&&_0x54487a[_0x4fd7f0(0xd8)]==null))return{'color':{'rgb':(_0x17987b=_0x54487a[_0x4fd7f0(0x18c)])==null?_0x4fd7f0(0x180):_0x17987b},'width':{'v':(_0x350908=_0x54487a['borderWidth'])==null?0x1:_0x350908}};}function ye(_0x3a51c2,_0x39bb7a){const _0x421348=_0x4a55;return Math[_0x421348(0x14a)](0x1,Math[_0x421348(0xf0)](_0x3a51c2,_0x39bb7a));}function be(_0xea85d1,_0x16ed55,_0x267a7e){const _0x3f9caa=_0x4a55;var _0x379ed6;let _0x4674b9=(_0x379ed6=_0xea85d1['tableSource'])==null?void 0x0:_0x379ed6[_0x16ed55];if(!_0x4674b9||!Me(_0x267a7e))return!0x1;try{return Pe(_0x4674b9,_0x267a7e)[_0x3f9caa(0x1cf)](_0x45a1c8=>j(_0x45a1c8)===0x1&&M(_0x45a1c8)===0x1);}catch{return!0x1;}}function xe(_0x3ae3f8,_0x199a10,_0x5cc58d){const _0x549e2b=_0x4a55;var _0x3e15b1;let _0x41b0b5=(_0x3e15b1=_0x3ae3f8[_0x549e2b(0xea)])==null?void 0x0:_0x3e15b1[_0x199a10];if(!_0x41b0b5)return!0x1;let _0x2ddc88=null;try{let _0x408493=O(_0x5cc58d);_0x2ddc88=we(_0x41b0b5,_0x408493['startRow'],_0x408493[_0x549e2b(0x186)]);}catch{return!0x1;}return!!_0x2ddc88&&Me(_0x2ddc88);}function Se(_0x18a6ea){const _0x110466=_0x4a55;let _0x132175=O(_0x18a6ea);if(!be(_0x18a6ea[_0x110466(0x1ac)],_0x18a6ea[_0x110466(0x1a2)],_0x132175))throw Error(_0x110466(0x190));let _0x4902c2=_0x31a192[_0x110466(0x198)](_0x18a6ea[_0x110466(0x1ac)]),_0x56e61f=Ne(_0x4902c2,_0x18a6ea[_0x110466(0x1a2)]),_0x57ddc0=_0x56e61f[_0x110466(0x165)][_0x132175['startRow']][_0x110466(0xf2)][_0x132175['startColumn']];return _0x57ddc0[_0x110466(0x1bc)]=_0x132175['endRow']-_0x132175['startRow']+0x1,_0x57ddc0[_0x110466(0x19b)]=_0x132175[_0x110466(0x146)]-_0x132175['startColumn']+0x1,Fe(_0x56e61f,_0x132175,(_0xd56307,_0x2ff318,_0x1d2303)=>{const _0x1f4831=_0x110466;_0x2ff318===_0x132175[_0x1f4831(0x19a)]&&_0x1d2303===_0x132175[_0x1f4831(0x186)]||(_0xd56307[_0x1f4831(0x1bc)]=0x0,_0xd56307[_0x1f4831(0x19b)]=0x0);}),{'nextDocumentData':_0x4902c2,'range':_0x132175};}function Ce(_0x420409){const _0x5c7ac8=_0x4a55;let _0x166d3e=_0x31a192['deepClone'](_0x420409[_0x5c7ac8(0x1ac)]),_0x3ee2de=Ne(_0x166d3e,_0x420409[_0x5c7ac8(0x1a2)]),_0x32e205=O(_0x420409),_0x39979d=we(_0x3ee2de,_0x32e205[_0x5c7ac8(0x19a)],_0x32e205[_0x5c7ac8(0x186)]);if(!xe(_0x420409[_0x5c7ac8(0x1ac)],_0x420409[_0x5c7ac8(0x1a2)],_0x32e205)||!_0x39979d)throw Error(_0x5c7ac8(0x10f));return Fe(_0x3ee2de,_0x39979d,_0x1498ae=>{const _0x3e80ca=_0x5c7ac8;delete _0x1498ae[_0x3e80ca(0x1bc)],delete _0x1498ae[_0x3e80ca(0x19b)];}),{'nextDocumentData':_0x166d3e,'range':_0x39979d};}function we(_0x5140ac,_0x134a82,_0x2d7495){const _0x2e805c=_0x4a55;var _0x148450;let _0x592074=(_0x148450=_0x5140ac[_0x2e805c(0x165)][_0x134a82])==null?void 0x0:_0x148450[_0x2e805c(0xf2)][_0x2d7495];if(!_0x592074)return null;if(j(_0x592074)>0x1||M(_0x592074)>0x1)return{'startRow':_0x134a82,'endRow':_0x134a82+j(_0x592074)-0x1,'startColumn':_0x2d7495,'endColumn':_0x2d7495+M(_0x592074)-0x1};if(_0x592074['rowSpan']!==0x0&&_0x592074['columnSpan']!==0x0)return{'startRow':_0x134a82,'endRow':_0x134a82,'startColumn':_0x2d7495,'endColumn':_0x2d7495};for(let _0x591701=0x0;_0x591701<_0x5140ac[_0x2e805c(0x165)][_0x2e805c(0xfc)];_0x591701++){let _0x51a13d=_0x5140ac[_0x2e805c(0x165)][_0x591701];for(let _0x996ad3=0x0;_0x996ad3<_0x51a13d['tableCells'][_0x2e805c(0xfc)];_0x996ad3++){let _0x25c665=_0x51a13d[_0x2e805c(0xf2)][_0x996ad3],_0x1a062b=j(_0x25c665),_0x19574a=M(_0x25c665);if(_0x1a062b<=0x1&&_0x19574a<=0x1)continue;let _0x3c2669={'startRow':_0x591701,'endRow':_0x591701+_0x1a062b-0x1,'startColumn':_0x996ad3,'endColumn':_0x996ad3+_0x19574a-0x1};if(_0x134a82>=_0x3c2669['startRow']&&_0x134a82<=_0x3c2669[_0x2e805c(0x126)]&&_0x2d7495>=_0x3c2669[_0x2e805c(0x186)]&&_0x2d7495<=_0x3c2669[_0x2e805c(0x146)])return _0x3c2669;}}return null;}function D(_0x3b5da2,_0x3d2f08){const _0x5a9e24=_0x4a55;let _0x5db005=O(_0x3d2f08),_0x3ebdf3=!0x0;for(;_0x3ebdf3;){_0x3ebdf3=!0x1;for(let _0x5903d4=0x0;_0x5903d4<_0x3b5da2['tableRows']['length'];_0x5903d4++){let _0x188f9f=_0x3b5da2[_0x5a9e24(0x165)][_0x5903d4];for(let _0xd5a6b2=0x0;_0xd5a6b2<_0x188f9f[_0x5a9e24(0xf2)][_0x5a9e24(0xfc)];_0xd5a6b2++){let _0x114c88=_0x188f9f['tableCells'][_0xd5a6b2],_0x41dd37=j(_0x114c88),_0x1b9be9=M(_0x114c88);if(_0x41dd37<=0x1&&_0x1b9be9<=0x1)continue;let _0x4feac3={'startRow':_0x5903d4,'endRow':_0x5903d4+_0x41dd37-0x1,'startColumn':_0xd5a6b2,'endColumn':_0xd5a6b2+_0x1b9be9-0x1};if(!Ie(_0x5db005,_0x4feac3))continue;let _0x16bf17={'startRow':Math[_0x5a9e24(0xf0)](_0x5db005[_0x5a9e24(0x19a)],_0x4feac3[_0x5a9e24(0x19a)]),'endRow':Math['max'](_0x5db005['endRow'],_0x4feac3[_0x5a9e24(0x126)]),'startColumn':Math[_0x5a9e24(0xf0)](_0x5db005[_0x5a9e24(0x186)],_0x4feac3[_0x5a9e24(0x186)]),'endColumn':Math[_0x5a9e24(0x14a)](_0x5db005['endColumn'],_0x4feac3[_0x5a9e24(0x146)])};Le(_0x16bf17,_0x5db005)||(_0x5db005=_0x16bf17,_0x3ebdf3=!0x0);}}}return _0x5db005;}function Te(_0x46651d,_0x3f005e,_0x23ac85,_0x4121f7=A(_0x46651d)){const _0x51ea96=_0x4a55;k(_0x46651d,_0x4121f7,_0x35299b=>_0x3f005e<=_0x35299b[_0x51ea96(0x19a)]?{..._0x35299b,'startRow':_0x35299b[_0x51ea96(0x19a)]+_0x23ac85,'endRow':_0x35299b[_0x51ea96(0x126)]+_0x23ac85}:_0x3f005e<=_0x35299b[_0x51ea96(0x126)]?{..._0x35299b,'endRow':_0x35299b['endRow']+_0x23ac85}:_0x35299b);}function Ee(_0x1505ff,_0x3b7d35,_0x163401,_0x5ee2e5=A(_0x1505ff)){const _0x5c465d=_0x4a55;k(_0x1505ff,_0x5ee2e5,_0x32df41=>_0x3b7d35<=_0x32df41[_0x5c465d(0x186)]?{..._0x32df41,'startColumn':_0x32df41[_0x5c465d(0x186)]+_0x163401,'endColumn':_0x32df41[_0x5c465d(0x146)]+_0x163401}:_0x3b7d35<=_0x32df41[_0x5c465d(0x146)]?{..._0x32df41,'endColumn':_0x32df41[_0x5c465d(0x146)]+_0x163401}:_0x32df41);}function De(_0x197167,_0x7460cd,_0x1bb1d3,_0x2f5308=A(_0x197167)){k(_0x197167,_0x2f5308,_0x533429=>{const _0x571521=_0x4a55;let _0x23fd99=[];for(let _0x16bc57=_0x533429[_0x571521(0x19a)];_0x16bc57<=_0x533429[_0x571521(0x126)];_0x16bc57++){let _0x1c7299=je(_0x16bc57,_0x7460cd,_0x1bb1d3);_0x1c7299!=null&&_0x23fd99[_0x571521(0x1be)](_0x1c7299);}return _0x23fd99[_0x571521(0xfc)]?{..._0x533429,'startRow':Math['min'](..._0x23fd99),'endRow':Math[_0x571521(0x14a)](..._0x23fd99)}:null;});}function Oe(_0x54ce7e,_0x2e081c,_0xd1166a,_0x127092=A(_0x54ce7e)){k(_0x54ce7e,_0x127092,_0x152722=>{const _0x4e8ed5=_0x4a55;let _0x38cb52=[];for(let _0x2171a3=_0x152722[_0x4e8ed5(0x186)];_0x2171a3<=_0x152722[_0x4e8ed5(0x146)];_0x2171a3++){let _0x1f1dc8=je(_0x2171a3,_0x2e081c,_0xd1166a);_0x1f1dc8!=null&&_0x38cb52[_0x4e8ed5(0x1be)](_0x1f1dc8);}return _0x38cb52[_0x4e8ed5(0xfc)]?{..._0x152722,'startColumn':Math[_0x4e8ed5(0xf0)](..._0x38cb52),'endColumn':Math[_0x4e8ed5(0x14a)](..._0x38cb52)}:null;});}function O(_0x2f1534){const _0x33a2f5=_0x4a55;return{'startRow':Math[_0x33a2f5(0xf0)](_0x2f1534[_0x33a2f5(0x19a)],_0x2f1534[_0x33a2f5(0x126)]),'endRow':Math[_0x33a2f5(0x14a)](_0x2f1534[_0x33a2f5(0x19a)],_0x2f1534['endRow']),'startColumn':Math[_0x33a2f5(0xf0)](_0x2f1534[_0x33a2f5(0x186)],_0x2f1534[_0x33a2f5(0x146)]),'endColumn':Math[_0x33a2f5(0x14a)](_0x2f1534['startColumn'],_0x2f1534[_0x33a2f5(0x146)])};}function k(_0x3d8801,_0x38ce68,_0x27d306){const _0x34c507=_0x4a55;ke(_0x3d8801),_0x38ce68[_0x34c507(0x1e7)](_0x226969=>{let _0x32273f=_0x27d306(_0x226969);_0x32273f&&Ae(_0x3d8801,_0x32273f);});}function A(_0xfab17){const _0x47571e=_0x4a55;let _0x407f8a=[];return _0xfab17[_0x47571e(0x165)]['forEach']((_0x4082dd,_0xa60b87)=>{const _0x3fc9cd=_0x47571e;_0x4082dd[_0x3fc9cd(0xf2)]['forEach']((_0xba43e9,_0x1b9160)=>{const _0x3b3a2c=_0x3fc9cd;let _0xd7198b=j(_0xba43e9),_0x52a37b=M(_0xba43e9);_0xd7198b<=0x1&&_0x52a37b<=0x1||_0x407f8a[_0x3b3a2c(0x1be)]({'startRow':_0xa60b87,'endRow':_0xa60b87+_0xd7198b-0x1,'startColumn':_0x1b9160,'endColumn':_0x1b9160+_0x52a37b-0x1});});}),_0x407f8a;}function ke(_0x3b1549){const _0x52bf88=_0x4a55;_0x3b1549[_0x52bf88(0x165)][_0x52bf88(0x1e7)](_0x1b4bca=>{const _0x4c7544=_0x52bf88;_0x1b4bca[_0x4c7544(0xf2)]['forEach'](_0x560f6b=>{const _0x1fe760=_0x4c7544;delete _0x560f6b['rowSpan'],delete _0x560f6b[_0x1fe760(0x19b)];});});}function Ae(_0x469b49,_0x133335){const _0x49f052=_0x4a55;var _0x37e418;let _0x556d9d=O(_0x133335),_0x63fd32=_0x556d9d[_0x49f052(0x126)]-_0x556d9d[_0x49f052(0x19a)]+0x1,_0x2b95a3=_0x556d9d[_0x49f052(0x146)]-_0x556d9d[_0x49f052(0x186)]+0x1;if(_0x63fd32<=0x0||_0x2b95a3<=0x0||_0x63fd32===0x1&&_0x2b95a3===0x1)return;let _0x19e407=(_0x37e418=_0x469b49['tableRows'][_0x556d9d['startRow']])==null?void 0x0:_0x37e418[_0x49f052(0xf2)][_0x556d9d[_0x49f052(0x186)]];_0x19e407&&(_0x19e407['rowSpan']=_0x63fd32,_0x19e407[_0x49f052(0x19b)]=_0x2b95a3,Fe(_0x469b49,_0x556d9d,(_0x20d7f7,_0x3577f,_0x3b75bb)=>{const _0x20112c=_0x49f052;_0x3577f===_0x556d9d[_0x20112c(0x19a)]&&_0x3b75bb===_0x556d9d[_0x20112c(0x186)]||(_0x20d7f7[_0x20112c(0x1bc)]=0x0,_0x20d7f7[_0x20112c(0x19b)]=0x0);}));}function je(_0x2ac65e,_0x3ca11b,_0x4bb7a4){return _0x2ac65e<_0x3ca11b?_0x2ac65e:_0x2ac65e>_0x4bb7a4?_0x2ac65e-(_0x4bb7a4-_0x3ca11b+0x1):null;}function Me(_0x3d51e9){const _0x3557b5=_0x4a55;return _0x3d51e9[_0x3557b5(0x19a)]!==_0x3d51e9[_0x3557b5(0x126)]||_0x3d51e9[_0x3557b5(0x186)]!==_0x3d51e9[_0x3557b5(0x146)];}function Ne(_0x4b4dde,_0x32b126){const _0x4ec8a3=_0x4a55;var _0x552112;let _0x502346=(_0x552112=_0x4b4dde[_0x4ec8a3(0xea)])==null?void 0x0:_0x552112[_0x32b126];if(!_0x502346)throw Error('[DocsTable]:\x20Table\x20'+_0x32b126+'\x20is\x20not\x20found.');return _0x502346;}function Pe(_0x223ad7,_0x270cca){const _0x480f99=_0x4a55;let _0x726296=[];return Fe(_0x223ad7,_0x270cca,_0x150c15=>_0x726296[_0x480f99(0x1be)](_0x150c15)),_0x726296;}function Fe(_0x530c6a,_0x1bc09b,_0x2ec709){const _0x364941=_0x4a55;for(let _0x38c6a1=_0x1bc09b[_0x364941(0x19a)];_0x38c6a1<=_0x1bc09b[_0x364941(0x126)];_0x38c6a1++)for(let _0x35566c=_0x1bc09b[_0x364941(0x186)];_0x35566c<=_0x1bc09b['endColumn'];_0x35566c++){var _0x334e91;let _0x1afa24=(_0x334e91=_0x530c6a['tableRows'][_0x38c6a1])==null?void 0x0:_0x334e91[_0x364941(0xf2)][_0x35566c];if(!_0x1afa24)throw Error(_0x364941(0x1ae));_0x2ec709(_0x1afa24,_0x38c6a1,_0x35566c);}}function j(_0x2adaba){const _0x553715=_0x4a55;return _0x2adaba['rowSpan']==null?0x1:_0x2adaba[_0x553715(0x1bc)];}function M(_0x49b092){const _0x3d3953=_0x4a55;return _0x49b092['columnSpan']==null?0x1:_0x49b092[_0x3d3953(0x19b)];}function Ie(_0x457f5d,_0x20e200){const _0x2fbda0=_0x4a55;return _0x457f5d[_0x2fbda0(0x19a)]<=_0x20e200[_0x2fbda0(0x126)]&&_0x457f5d['endRow']>=_0x20e200[_0x2fbda0(0x19a)]&&_0x457f5d[_0x2fbda0(0x186)]<=_0x20e200[_0x2fbda0(0x146)]&&_0x457f5d['endColumn']>=_0x20e200['startColumn'];}function Le(_0x512537,_0x628ccf){const _0x1b433e=_0x4a55;return _0x512537[_0x1b433e(0x19a)]===_0x628ccf[_0x1b433e(0x19a)]&&_0x512537[_0x1b433e(0x126)]===_0x628ccf['endRow']&&_0x512537[_0x1b433e(0x186)]===_0x628ccf[_0x1b433e(0x186)]&&_0x512537[_0x1b433e(0x146)]===_0x628ccf['endColumn'];}function N(_0x2e0b71){'@babel/helpers - typeof';const _0x527873=_0x4a55;return N=typeof Symbol=='function'&&typeof Symbol[_0x527873(0x1e2)]==_0x527873(0xdd)?function(_0x26c3b7){return typeof _0x26c3b7;}:function(_0x4d1914){const _0x25b909=_0x527873;return _0x4d1914&&typeof Symbol==_0x25b909(0x1a4)&&_0x4d1914['constructor']===Symbol&&_0x4d1914!==Symbol['prototype']?_0x25b909(0xdd):typeof _0x4d1914;},N(_0x2e0b71);}function Re(_0x3f0b07,_0x145b4a){const _0x175130=_0x4a55;if(N(_0x3f0b07)!='object'||!_0x3f0b07)return _0x3f0b07;var _0x3628c2=_0x3f0b07[Symbol[_0x175130(0x14d)]];if(_0x3628c2!==void 0x0){var _0x19a64b=_0x3628c2[_0x175130(0x174)](_0x3f0b07,_0x145b4a||'default');if(N(_0x19a64b)!=_0x175130(0x133))return _0x19a64b;throw TypeError(_0x175130(0x1e6));}return(_0x145b4a===_0x175130(0x13e)?String:Number)(_0x3f0b07);}function ze(_0x51c371){const _0x438202=_0x4a55;var _0x435be5=Re(_0x51c371,_0x438202(0x13e));return N(_0x435be5)==_0x438202(0xdd)?_0x435be5:_0x435be5+'';}function P(_0x2ca3c1,_0x50eb42,_0x37d92d){const _0x2e5bc1=_0x4a55;return(_0x50eb42=ze(_0x50eb42))in _0x2ca3c1?Object[_0x2e5bc1(0x154)](_0x2ca3c1,_0x50eb42,{'value':_0x37d92d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2ca3c1[_0x50eb42]=_0x37d92d,_0x2ca3c1;}function F(_0x19f536,_0x5be56d){return function(_0x76351e,_0x62a219){_0x5be56d(_0x76351e,_0x62a219,_0x19f536);};}function Be(_0x1a67de,_0x5eef1d,_0x5c4b98,_0x35c34c){const _0x3404c9=_0x4a55;var _0x1fd5a1=arguments['length'],_0x1a835a=_0x1fd5a1<0x3?_0x5eef1d:_0x35c34c===null?_0x35c34c=Object[_0x3404c9(0x188)](_0x5eef1d,_0x5c4b98):_0x35c34c,_0x363daf;if(typeof Reflect==_0x3404c9(0x133)&&typeof Reflect['decorate']==_0x3404c9(0x1a4))_0x1a835a=Reflect[_0x3404c9(0x140)](_0x1a67de,_0x5eef1d,_0x5c4b98,_0x35c34c);else{for(var _0x22f723=_0x1a67de[_0x3404c9(0xfc)]-0x1;_0x22f723>=0x0;_0x22f723--)(_0x363daf=_0x1a67de[_0x22f723])&&(_0x1a835a=(_0x1fd5a1<0x3?_0x363daf(_0x1a835a):_0x1fd5a1>0x3?_0x363daf(_0x5eef1d,_0x5c4b98,_0x1a835a):_0x363daf(_0x5eef1d,_0x5c4b98))||_0x1a835a);}return _0x1fd5a1>0x3&&_0x1a835a&&Object[_0x3404c9(0x154)](_0x5eef1d,_0x5c4b98,_0x1a835a),_0x1a835a;}let I=class extends _0x563a5a{constructor(_0x1aaa31,_0x5e1db0){const _0x36da90=_0x4a55;var _0x4d4f35,_0x6a2a51;super(),this[_0x36da90(0x170)]=_0x1aaa31,this['_docSelectionManagerService']=_0x5e1db0,P(this,'_selectionChange$',new _0x5f1f0e()),P(this,_0x36da90(0x172),null),P(this,'_nativeSelectionSuppressed',!0x1),P(this,_0x36da90(0x1d4),this[_0x36da90(0x1ab)][_0x36da90(0x141)]()),this[_0x36da90(0x1f6)]((_0x4d4f35=(_0x6a2a51=this[_0x36da90(0x1b0)]['textSelection$'])==null?void 0x0:_0x6a2a51[_0x36da90(0x142)](()=>{const _0x59afb6=_0x36da90;this[_0x59afb6(0x125)]();}))==null?()=>void 0x0:_0x4d4f35);}['getCurrentSelection'](){const _0x64ac3=_0x4a55;let _0x438528=this[_0x64ac3(0x16b)]();if(!_0x438528)return null;if(!this[_0x64ac3(0x179)]){var _0x78001d,_0xdc4d8b,_0x276129,_0x16a11c;let _0xa29470=(_0x78001d=(_0xdc4d8b=this[_0x64ac3(0x1b0)])[_0x64ac3(0x136)])==null?void 0x0:_0x78001d[_0x64ac3(0x174)](_0xdc4d8b);if(_0xa29470&&_0xa29470[_0x64ac3(0xfc)]>0x0)return this[_0x64ac3(0x1c5)](_0x438528,_0xa29470);let _0x19b6ca=(_0x276129=(_0x16a11c=this[_0x64ac3(0x1b0)])[_0x64ac3(0x10a)])==null?void 0x0:_0x276129[_0x64ac3(0x174)](_0x16a11c);if(_0x19b6ca){var _0x5a59a2,_0x6d0ecd,_0x672f3e,_0x1079ca;return this[_0x64ac3(0x1d7)](_0x438528,_0x19b6ca)||{'kind':_0x64ac3(0x175),'unitId':_0x438528[_0x64ac3(0xdb)](),'segmentId':(_0x5a59a2=_0x19b6ca['segmentId'])==null?'':_0x5a59a2,'tableId':'','startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1,'startOffset':(_0x6d0ecd=_0x19b6ca['startOffset'])==null?0x0:_0x6d0ecd,'endOffset':(_0x672f3e=(_0x1079ca=_0x19b6ca[_0x64ac3(0x17f)])==null?_0x19b6ca[_0x64ac3(0x1d2)]:_0x1079ca)==null?0x0:_0x672f3e};}}return this[_0x64ac3(0x172)]?{...this['_structuralSelection'],'unitId':_0x438528[_0x64ac3(0xdb)]()}:null;}['getStructuralSelection'](){const _0x4b731f=_0x4a55;let _0xdf9bc0=this[_0x4b731f(0x16b)]();return!_0xdf9bc0||!this[_0x4b731f(0x172)]?null:{...this[_0x4b731f(0x172)],'unitId':_0xdf9bc0['getUnitId']()};}[_0x2402dc(0x110)](){const _0x42964b=_0x2402dc;let _0x4cf015=this[_0x42964b(0x18b)]();return Ve(_0x4cf015)?_0x4cf015:null;}['emitCurrentSelection'](){const _0x3d26d4=_0x2402dc;this[_0x3d26d4(0x1ab)][_0x3d26d4(0x153)](this[_0x3d26d4(0x18b)]());}[_0x2402dc(0x1c4)](_0x3e9f9c,_0x290f5e={}){const _0x3a4844=_0x2402dc;var _0x55abf4,_0x3f2fab,_0x1433d4,_0x8b4835,_0x4823d1,_0x4c630f;let _0x473b85=this[_0x3a4844(0x16b)](),_0x3a61c7=_0x473b85==null||(_0x55abf4=_0x473b85[_0x3a4844(0xfd)]()['tableSource'])==null?void 0x0:_0x55abf4[_0x3e9f9c[_0x3a4844(0x1a2)]],_0x172b65=_0x3a61c7?D(_0x3a61c7,_0x3e9f9c):He(_0x3e9f9c);if(this['_structuralSelection']={'kind':Ue(_0x3e9f9c[_0x3a4844(0x1e8)],_0x172b65,_0x3a61c7),'unitId':(_0x3f2fab=_0x473b85==null?void 0x0:_0x473b85[_0x3a4844(0xdb)]())==null?'':_0x3f2fab,'segmentId':(_0x1433d4=_0x3e9f9c[_0x3a4844(0xf1)])==null?'':_0x1433d4,'tableId':_0x3e9f9c['tableId'],'startRow':_0x172b65['startRow'],'endRow':_0x172b65[_0x3a4844(0x126)],'startColumn':_0x172b65['startColumn'],'endColumn':_0x172b65[_0x3a4844(0x146)],'startOffset':(_0x8b4835=_0x3e9f9c[_0x3a4844(0x1d2)])==null?0x0:_0x8b4835,'endOffset':(_0x4823d1=(_0x4c630f=_0x3e9f9c['endOffset'])==null?_0x3e9f9c[_0x3a4844(0x1d2)]:_0x4c630f)==null?0x0:_0x4823d1},_0x290f5e[_0x3a4844(0x1f2)]!==!0x1){var _0x2d1adb,_0x2fbbea;(_0x2d1adb=(_0x2fbbea=this[_0x3a4844(0x1b0)])[_0x3a4844(0x197)])==null||_0x2d1adb[_0x3a4844(0x174)](_0x2fbbea,[],void 0x0,!0x1);}this[_0x3a4844(0x125)]();}['clearStructuralSelection'](_0x5f561b={}){const _0x18068e=_0x2402dc;if(this[_0x18068e(0x172)]=null,_0x5f561b[_0x18068e(0x1f2)]!==!0x1){var _0x4ad406,_0xe03bf7;(_0x4ad406=(_0xe03bf7=this['_docSelectionManagerService'])[_0x18068e(0x197)])==null||_0x4ad406['call'](_0xe03bf7,[],void 0x0,!0x1);}this['emitCurrentSelection']();}['setNativeSelectionSuppressed'](_0xe9f2bd){const _0x2f774e=_0x2402dc;if(this[_0x2f774e(0x179)]!==_0xe9f2bd){if(this[_0x2f774e(0x179)]=_0xe9f2bd,_0xe9f2bd){var _0x3699c5,_0x3717ea;(_0x3699c5=(_0x3717ea=this['_docSelectionManagerService'])[_0x2f774e(0x197)])==null||_0x3699c5[_0x2f774e(0x174)](_0x3717ea,[],void 0x0,!0x1);}this['emitCurrentSelection']();}}[_0x2402dc(0xe1)](){const _0xbaaaf5=_0x2402dc;super[_0xbaaaf5(0xe1)](),this['_selectionChange$'][_0xbaaaf5(0x1cb)]();}[_0x2402dc(0x16b)](){const _0xd8608c=_0x2402dc;var _0x21e323,_0x4b1928,_0x328b3a,_0x463ef6,_0x4dc00c,_0xf07304;return(_0x21e323=(_0x4b1928=(_0x328b3a=(_0x463ef6=this[_0xd8608c(0x170)])[_0xd8608c(0x122)])==null?void 0x0:_0x328b3a['call'](_0x463ef6))==null?(_0x4dc00c=(_0xf07304=this[_0xd8608c(0x170)])['getCurrentUnitOfType'])==null?void 0x0:_0x4dc00c[_0xd8608c(0x174)](_0xf07304,_0x3be9d2[_0xd8608c(0xef)]):_0x4b1928)==null?null:_0x21e323;}[_0x2402dc(0x1d7)](_0x18bd19,_0x4ab73b){const _0x151e21=_0x2402dc;var _0x1ad2c1,_0x83e54b;let _0x2b90e4=_0x4ab73b[_0x151e21(0x1d2)];if(_0x2b90e4==null)return null;let _0x41b7d4=_0x18bd19[_0x151e21(0xfd)](),_0x27e982=(_0x1ad2c1=_0x41b7d4[_0x151e21(0x1c9)])==null||(_0x1ad2c1=_0x1ad2c1[_0x151e21(0xe8)])==null?void 0x0:_0x1ad2c1['find'](_0x1f04d4=>_0x2b90e4>_0x1f04d4[_0x151e21(0x19e)]&&_0x2b90e4<_0x1f04d4[_0x151e21(0x12d)]);if(!(_0x27e982!=null&&_0x27e982[_0x151e21(0x1a2)]))return null;let _0x329cc8=C(_0x41b7d4,_0x27e982[_0x151e21(0x1a2)]),_0x3f49a9=_0x329cc8==null?void 0x0:_0x329cc8[_0x151e21(0x127)][_0x151e21(0x1c2)](_0x1f1b04=>_0x1f1b04[_0x151e21(0x11c)])[_0x151e21(0x195)](_0x146a28=>_0x2b90e4>=_0x146a28[_0x151e21(0x1d2)]&&_0x2b90e4<=_0x146a28[_0x151e21(0x17f)]);if(!_0x329cc8||!_0x3f49a9)return null;let _0x56d666=D(_0x329cc8['tableSource'],{'startRow':_0x3f49a9[_0x151e21(0x1e3)],'endRow':_0x3f49a9['row'],'startColumn':_0x3f49a9[_0x151e21(0x1b1)],'endColumn':_0x3f49a9[_0x151e21(0x1b1)]});return{'kind':Ue(_0x151e21(0x185),_0x56d666,_0x329cc8[_0x151e21(0xea)]),'unitId':_0x18bd19[_0x151e21(0xdb)](),'segmentId':(_0x83e54b=_0x4ab73b[_0x151e21(0xf1)])==null?'':_0x83e54b,'tableId':_0x27e982[_0x151e21(0x1a2)],'startRow':_0x56d666['startRow'],'endRow':_0x56d666[_0x151e21(0x126)],'startColumn':_0x56d666[_0x151e21(0x186)],'endColumn':_0x56d666[_0x151e21(0x146)],'startOffset':_0x3f49a9[_0x151e21(0x1d2)],'endOffset':_0x3f49a9[_0x151e21(0x17f)]};}[_0x2402dc(0x1c5)](_0x2af8fc,_0x5c75b9){const _0x20df52=_0x2402dc;var _0x143b85,_0x20bb8d,_0x296686,_0x155cc4;let _0x2f5f5c=_0x5c75b9[_0x20df52(0x195)](_0x538cc2=>!!_0x538cc2['tableId']);if(!(_0x2f5f5c!=null&&_0x2f5f5c[_0x20df52(0x1a2)]))return null;let _0x25518e=_0x2f5f5c['tableId'],_0x5c1169=(_0x143b85=_0x2af8fc[_0x20df52(0xfd)]()[_0x20df52(0xea)])==null?void 0x0:_0x143b85[_0x25518e],_0x53e50d=_0x5c75b9[_0x20df52(0x1a9)](_0xf27983=>_0xf27983['tableId']===_0x25518e)['map'](_0x262a6d=>_0x5c1169?{..._0x262a6d,...D(_0x5c1169,_0x262a6d)}:_0x262a6d),_0x1c1784=this[_0x20df52(0x192)](_0x53e50d)?_0x53e50d:[(_0x20bb8d=_0x53e50d[0x0])==null?_0x2f5f5c:_0x20bb8d],_0x4b1331={'startRow':Math[_0x20df52(0xf0)](..._0x1c1784['map'](_0x28d949=>Math[_0x20df52(0xf0)](_0x28d949[_0x20df52(0x19a)],_0x28d949['endRow']))),'endRow':Math['max'](..._0x1c1784['map'](_0x54fe87=>Math['max'](_0x54fe87[_0x20df52(0x19a)],_0x54fe87[_0x20df52(0x126)]))),'startColumn':Math[_0x20df52(0xf0)](..._0x1c1784['map'](_0x161a75=>Math[_0x20df52(0xf0)](_0x161a75[_0x20df52(0x186)],_0x161a75[_0x20df52(0x146)]))),'endColumn':Math[_0x20df52(0x14a)](..._0x1c1784['map'](_0x348ee8=>Math[_0x20df52(0x14a)](_0x348ee8[_0x20df52(0x186)],_0x348ee8[_0x20df52(0x146)])))},_0x58196b=_0x5c1169?D(_0x5c1169,_0x4b1331):_0x4b1331,_0x19a581=Ue(_0x20df52(0x1bb),_0x58196b,_0x5c1169),_0x30e0a4=_0x1c1784[_0x20df52(0xff)](_0x58d5c2=>_0x58d5c2[_0x20df52(0x1d2)])[_0x20df52(0x1a9)](_0x38fc76=>typeof _0x38fc76==_0x20df52(0x1dc)),_0x5356be=_0x1c1784[_0x20df52(0xff)](_0x393a62=>_0x393a62['endOffset'])[_0x20df52(0x1a9)](_0x3c2406=>typeof _0x3c2406==_0x20df52(0x1dc));return{'kind':_0x19a581,'unitId':_0x2af8fc[_0x20df52(0xdb)](),'segmentId':(_0x296686=_0x2f5f5c[_0x20df52(0xf1)])==null?'':_0x296686,'tableId':_0x25518e,'startRow':_0x58196b[_0x20df52(0x19a)],'endRow':_0x58196b[_0x20df52(0x126)],'startColumn':_0x58196b[_0x20df52(0x186)],'endColumn':_0x58196b[_0x20df52(0x146)],'startOffset':_0x30e0a4[_0x20df52(0xfc)]?Math['min'](..._0x30e0a4):0x0,'endOffset':_0x5356be[_0x20df52(0xfc)]?Math[_0x20df52(0x14a)](..._0x5356be):(_0x155cc4=_0x30e0a4[0x0])==null?0x0:_0x155cc4};}[_0x2402dc(0x192)](_0x3ecf84){const _0x334c1f=_0x2402dc;if(_0x3ecf84[_0x334c1f(0xfc)]<=0x1)return!0x0;let _0xd739a5=Math[_0x334c1f(0xf0)](..._0x3ecf84['map'](_0x3b8382=>Math[_0x334c1f(0xf0)](_0x3b8382[_0x334c1f(0x19a)],_0x3b8382[_0x334c1f(0x126)]))),_0x4af0fe=Math['max'](..._0x3ecf84['map'](_0x572e76=>Math[_0x334c1f(0x14a)](_0x572e76[_0x334c1f(0x19a)],_0x572e76['endRow']))),_0x2cf643=Math[_0x334c1f(0xf0)](..._0x3ecf84[_0x334c1f(0xff)](_0x48f623=>Math[_0x334c1f(0xf0)](_0x48f623['startColumn'],_0x48f623['endColumn']))),_0x457e4b=Math[_0x334c1f(0x14a)](..._0x3ecf84['map'](_0x392f6a=>Math[_0x334c1f(0x14a)](_0x392f6a[_0x334c1f(0x186)],_0x392f6a[_0x334c1f(0x146)]))),_0x59f030=new Set();return _0x3ecf84[_0x334c1f(0x1e7)](_0x544df7=>{const _0x4145cb=_0x334c1f;let _0x4c10d0=Math[_0x4145cb(0xf0)](_0x544df7[_0x4145cb(0x19a)],_0x544df7[_0x4145cb(0x126)]),_0x306a01=Math['max'](_0x544df7[_0x4145cb(0x19a)],_0x544df7['endRow']),_0x45f07d=Math[_0x4145cb(0xf0)](_0x544df7[_0x4145cb(0x186)],_0x544df7[_0x4145cb(0x146)]),_0x5847a5=Math[_0x4145cb(0x14a)](_0x544df7['startColumn'],_0x544df7[_0x4145cb(0x146)]);for(let _0x3d0e1b=_0x4c10d0;_0x3d0e1b<=_0x306a01;_0x3d0e1b++)for(let _0x24978a=_0x45f07d;_0x24978a<=_0x5847a5;_0x24978a++)_0x59f030[_0x4145cb(0x1e9)](_0x3d0e1b+':'+_0x24978a);}),_0x59f030['size']===(_0x4af0fe-_0xd739a5+0x1)*(_0x457e4b-_0x2cf643+0x1);}};I=Be([F(0x0,_0x34f351),F(0x1,_0x4a0988(_0x390e58))],I);function Ve(_0x200c06){const _0x5c9942=_0x2402dc;return!!(_0x200c06!=null&&_0x200c06[_0x5c9942(0x1a2)])&&_0x200c06['startRow']>=0x0&&_0x200c06[_0x5c9942(0x186)]>=0x0;}function He(_0x5ecc44){const _0x13054f=_0x2402dc;return{'startRow':Math[_0x13054f(0xf0)](_0x5ecc44['startRow'],_0x5ecc44[_0x13054f(0x126)]),'endRow':Math[_0x13054f(0x14a)](_0x5ecc44['startRow'],_0x5ecc44[_0x13054f(0x126)]),'startColumn':Math[_0x13054f(0xf0)](_0x5ecc44[_0x13054f(0x186)],_0x5ecc44['endColumn']),'endColumn':Math[_0x13054f(0x14a)](_0x5ecc44[_0x13054f(0x186)],_0x5ecc44[_0x13054f(0x146)])};}function Ue(_0xc9740c,_0x24fd42,_0x425b09){const _0xa4b06b=_0x2402dc;var _0x412313,_0x5ea1ef,_0x4d727c;let _0x511d02=_0x24fd42[_0xa4b06b(0x19a)]===_0x24fd42[_0xa4b06b(0x126)]&&_0x24fd42['startColumn']===_0x24fd42[_0xa4b06b(0x146)];if(_0xc9740c==='cell'&&(_0x511d02||We(_0x425b09,_0x24fd42)))return _0xa4b06b(0x185);let _0x36281a=(_0x412313=_0x425b09==null?void 0x0:_0x425b09['tableRows'][_0xa4b06b(0xfc)])==null?0x0:_0x412313,_0x13f231=(_0x5ea1ef=_0x425b09==null||(_0x4d727c=_0x425b09[_0xa4b06b(0x165)][0x0])==null?void 0x0:_0x4d727c[_0xa4b06b(0xf2)][_0xa4b06b(0xfc)])==null?0x0:_0x5ea1ef,_0x17bcb8=_0x13f231>0x0&&_0x24fd42[_0xa4b06b(0x186)]===0x0&&_0x24fd42[_0xa4b06b(0x146)]===_0x13f231-0x1,_0x1610b1=_0x36281a>0x0&&_0x24fd42[_0xa4b06b(0x19a)]===0x0&&_0x24fd42[_0xa4b06b(0x126)]===_0x36281a-0x1;return _0x17bcb8&&_0x1610b1?_0xa4b06b(0x173):_0xc9740c===_0xa4b06b(0x1e3)&&_0x17bcb8?'row':_0xc9740c===_0xa4b06b(0x1b1)&&_0x1610b1?_0xa4b06b(0x1b1):_0x511d02?_0xa4b06b(0x185):_0xa4b06b(0x1bb);}function We(_0x809477,_0x225a2e){const _0x516511=_0x2402dc;var _0x123a1b;return(_0x123a1b=_0x809477==null?void 0x0:_0x809477[_0x516511(0x165)][_0x516511(0x17b)]((_0xe882e1,_0xb5b67d)=>_0xe882e1['tableCells'][_0x516511(0x17b)]((_0x47ee9e,_0xa229e5)=>{const _0x18fc80=_0x516511;var _0x4510f2,_0x42f461;let _0x2f3e3e=(_0x4510f2=_0x47ee9e[_0x18fc80(0x1bc)])==null?0x1:_0x4510f2,_0x243c5d=(_0x42f461=_0x47ee9e[_0x18fc80(0x19b)])==null?0x1:_0x42f461;return _0x2f3e3e<=0x0||_0x243c5d<=0x0||_0x2f3e3e===0x1&&_0x243c5d===0x1?!0x1:_0x225a2e['startRow']===_0xb5b67d&&_0x225a2e['endRow']===_0xb5b67d+_0x2f3e3e-0x1&&_0x225a2e['startColumn']===_0xa229e5&&_0x225a2e['endColumn']===_0xa229e5+_0x243c5d-0x1;})))==null?!0x1:_0x123a1b;}const Ge={'id':_0x2402dc(0x1f8),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x538e63,_0x148343)=>{const _0x399c36=_0x2402dc;var _0x28043f,_0x3b1de3,_0x47ea94,_0xfbee32,_0x311a19;let _0x3b34a7=_0x538e63[_0x399c36(0x1c8)](_0x34f351),_0x417d75=_0x538e63[_0x399c36(0x1c8)](I),_0xec6c4b=_0x3b34a7['getCurrentUniverDocInstance'](),_0x2077ba=_0x417d75[_0x399c36(0x18b)]();return!_0xec6c4b||!_0x2077ba?!0x1:le({'documentData':_0xec6c4b['getSnapshot'](),'tableId':(_0x28043f=_0x148343==null?void 0x0:_0x148343[_0x399c36(0x1a2)])==null?_0x2077ba['tableId']:_0x28043f,'startRow':(_0x3b1de3=_0x148343==null?void 0x0:_0x148343[_0x399c36(0x19a)])==null?_0x2077ba[_0x399c36(0x19a)]:_0x3b1de3,'endRow':(_0x47ea94=_0x148343==null?void 0x0:_0x148343['endRow'])==null?_0x2077ba[_0x399c36(0x126)]:_0x47ea94,'startColumn':(_0xfbee32=_0x148343==null?void 0x0:_0x148343[_0x399c36(0x186)])==null?_0x2077ba[_0x399c36(0x186)]:_0xfbee32,'endColumn':(_0x311a19=_0x148343==null?void 0x0:_0x148343[_0x399c36(0x146)])==null?_0x2077ba[_0x399c36(0x146)]:_0x311a19});}};function Ke(_0x4ed0d8){const _0x4f78e0=_0x2402dc;return{..._0x4ed0d8,'columnTypes':_0x4ed0d8['columnTypes']?{..._0x4ed0d8[_0x4f78e0(0x114)]}:void 0x0};}function L(_0x3da662){const _0x192854=_0x2402dc;var _0x244f7f;let _0xdc642={};return Object['entries']((_0x244f7f=_0x3da662==null?void 0x0:_0x3da662['tables'])==null?{}:_0x244f7f)[_0x192854(0x1e7)](([_0x1fb4b8,_0x2394f8])=>{_0xdc642[_0x1fb4b8]=Ke(_0x2394f8);}),{'tables':_0xdc642};}function R(_0x109899,_0x44aed8,_0x3bef94){const _0x3aba1b=_0x2402dc;var _0x322c7b;let _0x22a801=L(_0x109899);return{'tables':{..._0x22a801[_0x3aba1b(0xe8)],[_0x44aed8]:{...(_0x322c7b=_0x22a801[_0x3aba1b(0xe8)][_0x44aed8])==null?{}:_0x322c7b,'headerRowCount':Math[_0x3aba1b(0x14a)](0x0,_0x3bef94)}}};}function qe(_0x320c6a,_0x24be90,_0x37fa87){const _0x32e7fc=_0x2402dc;var _0x409e55;let _0x577cc2=L(_0x320c6a);return{'tables':{..._0x577cc2[_0x32e7fc(0xe8)],[_0x24be90]:{...(_0x409e55=_0x577cc2[_0x32e7fc(0xe8)][_0x24be90])==null?{}:_0x409e55,'titleRow':_0x37fa87}}};}function Je(_0x3154ab,_0x10ffe1,_0x582333,_0x2590a6){const _0x136a06=_0x2402dc;var _0x59018c,_0x1a67eb;let _0x405d61=L(_0x3154ab),_0x4c43ff=(_0x59018c=_0x405d61[_0x136a06(0xe8)][_0x10ffe1])==null?{}:_0x59018c;return{'tables':{..._0x405d61[_0x136a06(0xe8)],[_0x10ffe1]:{..._0x4c43ff,'columnTypes':{...(_0x1a67eb=_0x4c43ff[_0x136a06(0x114)])==null?{}:_0x1a67eb,[_0x582333]:_0x2590a6}}}};}function Ye(_0x13413d){const _0x3c4586=_0x2402dc;let {documentData:_0x3675a7,tableId:_0x4820ff,row:_0x363d08,count:_0x114e19,position:_0x4eeeb7}=_0x13413d,_0x54d81b=B(_0x3675a7),_0x196f04=V(_0x54d81b,_0x4820ff),_0xb101f3=H(_0x54d81b,_0x4820ff),_0x1345bb=_0x4eeeb7===_0x3c4586(0xd6)?_0x363d08:_0x363d08+0x1,_0x37d260=_0x196f04[_0x3c4586(0x165)][Math[_0x3c4586(0xf0)](_0x363d08,_0x196f04['tableRows'][_0x3c4586(0xfc)]-0x1)],_0x3cd694=Array['from']({'length':_0x114e19},()=>tt(_0x37d260)),_0x5684a3=A(_0x196f04),_0x54ec38=_0x4eeeb7===_0x3c4586(0xd6)?w(_0xb101f3,_0x363d08)[_0x3c4586(0x1d2)]:w(_0xb101f3,_0x363d08)[_0x3c4586(0x17f)]+0x1,_0x20f487=at(rt(_0x196f04[_0x3c4586(0xe3)][_0x3c4586(0xfc)]),_0x114e19);return _0x196f04[_0x3c4586(0x165)][_0x3c4586(0x131)](_0x1345bb,0x0,..._0x3cd694),Te(_0x196f04,_0x1345bb,_0x114e19,_0x5684a3),ut(_0x54d81b,_0x4820ff,_0x54ec38,_0x20f487),{'nextDocumentData':_0x54d81b,'nextMetadata':_0x13413d['metadata']?L(_0x13413d['metadata']):void 0x0,'cursor':{'row':_0x1345bb,'column':0x0}};}function Xe(_0x453491){const _0x11aeda=_0x2402dc;let {documentData:_0x52d7d2,tableId:_0x658ab7,column:_0x5ac24f,count:_0x22ac09,position:_0x11704b}=_0x453491,_0x5c23d5=B(_0x52d7d2),_0x461a32=V(_0x5c23d5,_0x658ab7),_0x216f55=H(_0x5c23d5,_0x658ab7),_0x52df31=_0x11704b===_0x11aeda(0x150)?_0x5ac24f:_0x5ac24f+0x1,_0x104fdc=_0x461a32[_0x11aeda(0xe3)][Math[_0x11aeda(0xf0)](_0x5ac24f,_0x461a32[_0x11aeda(0xe3)][_0x11aeda(0xfc)]-0x1)],_0x3b3ae0=_0x104fdc[_0x11aeda(0x1f4)][_0x11aeda(0x15d)]['v'],_0x36206a=Array[_0x11aeda(0x143)]({'length':_0x22ac09},()=>_0x31a192['deepClone'](_0x104fdc)),_0x1b5225=A(_0x461a32);return _0x461a32[_0x11aeda(0xe3)]['splice'](_0x52df31,0x0,..._0x36206a),_0x461a32[_0x11aeda(0x165)]['forEach'](_0x4131d3=>{const _0x5f0973=_0x11aeda;let _0x211c94=_0x4131d3[_0x5f0973(0xf2)][Math[_0x5f0973(0xf0)](_0x5ac24f,_0x4131d3[_0x5f0973(0xf2)][_0x5f0973(0xfc)]-0x1)],_0x304183=Array[_0x5f0973(0x143)]({'length':_0x22ac09},()=>nt(_0x211c94));_0x4131d3[_0x5f0973(0xf2)][_0x5f0973(0x131)](_0x52df31,0x0,..._0x304183);}),Ee(_0x461a32,_0x52df31,_0x22ac09,_0x1b5225),ot(_0x5c23d5,_0x658ab7,_0x216f55,_0x5ac24f,_0x22ac09,_0x11704b),xt(_0x461a32,_0x3b3ae0*_0x22ac09),{'nextDocumentData':_0x5c23d5,'nextMetadata':_0x453491['metadata']?L(_0x453491[_0x11aeda(0xe5)]):void 0x0,'cursor':{'row':0x0,'column':_0x52df31}};}function Ze(_0x51e9c6){const _0x1d8307=_0x2402dc;let {documentData:_0x5ca2b6,metadata:_0x300702,tableId:_0x1bbd48}=_0x51e9c6,_0x52f996=B(_0x5ca2b6),_0x34418c=V(_0x52f996,_0x1bbd48),_0xfeba0d=Math[_0x1d8307(0xf0)](_0x51e9c6[_0x1d8307(0x19a)],_0x51e9c6['endRow']),_0x64faef=Math['max'](_0x51e9c6['startRow'],_0x51e9c6[_0x1d8307(0x126)]),_0x26ce87=_0x64faef-_0xfeba0d+0x1,_0x8c21=A(_0x34418c);return _0x26ce87>=_0x34418c[_0x1d8307(0x165)][_0x1d8307(0xfc)]?{...z({'documentData':_0x5ca2b6,'metadata':_0x300702,'tableId':_0x1bbd48}),'deleteTable':!0x0}:(st(_0x52f996,_0x1bbd48,_0xfeba0d,_0x64faef),_0x34418c[_0x1d8307(0x165)]['splice'](_0xfeba0d,_0x26ce87),De(_0x34418c,_0xfeba0d,_0x64faef,_0x8c21),{'nextDocumentData':_0x52f996,'nextMetadata':St(_0x300702,_0x1bbd48,_0xfeba0d,_0x64faef),'cursor':{'row':Math['min'](_0xfeba0d,_0x34418c[_0x1d8307(0x165)][_0x1d8307(0xfc)]-0x1),'column':0x0}});}function Qe(_0x4da02d){const _0x52fb57=_0x2402dc;let {documentData:_0x5907f8,metadata:_0x3dfba8,tableId:_0x32ce45}=_0x4da02d,_0x386b39=B(_0x5907f8),_0x38a313=V(_0x386b39,_0x32ce45),_0x471647=Math['min'](_0x4da02d['startColumn'],_0x4da02d[_0x52fb57(0x146)]),_0x4babfb=Math[_0x52fb57(0x14a)](_0x4da02d['startColumn'],_0x4da02d[_0x52fb57(0x146)]),_0x928368=_0x4babfb-_0x471647+0x1,_0x2232d9=A(_0x38a313);return _0x928368>=_0x38a313[_0x52fb57(0xe3)][_0x52fb57(0xfc)]?{...z({'documentData':_0x5907f8,'metadata':_0x3dfba8,'tableId':_0x32ce45}),'deleteTable':!0x0}:(ct(_0x386b39,_0x32ce45,_0x471647,_0x4babfb),_0x38a313['tableColumns'][_0x52fb57(0x131)](_0x471647,_0x928368),_0x38a313['tableRows'][_0x52fb57(0x1e7)](_0x4974b1=>_0x4974b1[_0x52fb57(0xf2)][_0x52fb57(0x131)](_0x471647,_0x928368)),Oe(_0x38a313,_0x471647,_0x4babfb,_0x2232d9),{'nextDocumentData':_0x386b39,'nextMetadata':_0x3dfba8?L(_0x3dfba8):void 0x0,'cursor':{'row':0x0,'column':Math[_0x52fb57(0xf0)](_0x471647,_0x38a313[_0x52fb57(0xe3)][_0x52fb57(0xfc)]-0x1)}});}function z(_0x3d60c3){const _0x1bf343=_0x2402dc;var _0x27176b;let {documentData:_0x19070e,tableId:_0x37b0c3}=_0x3d60c3,_0x1777f2=B(_0x19070e),_0xbe8daf={...(_0x27176b=_0x1777f2[_0x1bf343(0xea)])==null?{}:_0x27176b},_0x347343=_0x3d60c3[_0x1bf343(0xe5)]?L(_0x3d60c3['metadata']):void 0x0;return lt(_0x1777f2,_0x37b0c3),delete _0xbe8daf[_0x37b0c3],_0x1777f2[_0x1bf343(0xea)]=_0xbe8daf,_0x347343&&delete _0x347343[_0x1bf343(0xe8)][_0x37b0c3],{'nextDocumentData':_0x1777f2,'nextMetadata':_0x347343,'cursor':{'row':0x0,'column':0x0},'deleteTable':!0x0};}function $e(_0x3c434e){const _0x28e03=_0x2402dc;var _0x29a5f8;let _0x120bd9=B(_0x3c434e['documentData']),_0x497e31=V(_0x120bd9,_0x3c434e[_0x28e03(0x1a2)]),_0x5c502f=H(_0x120bd9,_0x3c434e[_0x28e03(0x1a2)]),_0x112c9d=(_0x29a5f8=_0x3c434e[_0x28e03(0x16a)])==null?0x1:_0x29a5f8,_0x96ccb7=U(_0x3c434e[_0x28e03(0x120)],_0x497e31[_0x28e03(0x165)][_0x28e03(0xfc)]-0x1),_0x3fc71f=U(_0x3c434e[_0x28e03(0x117)],_0x497e31[_0x28e03(0x165)][_0x28e03(0xfc)]-0x1),_0x1747c3=Math['min'](_0x497e31['tableRows'][_0x28e03(0xfc)]-0x1,_0x96ccb7+_0x112c9d-0x1),_0x5d8867=_0x1747c3-_0x96ccb7+0x1,_0x459217=_0x3c434e[_0x28e03(0xd7)]==='above'?_0x3fc71f:_0x3fc71f+0x1;if(_0x5d8867<=0x0||_0x459217>=_0x96ccb7&&_0x459217<=_0x1747c3+0x1)return{'nextDocumentData':_0x120bd9,'nextMetadata':_0x3c434e[_0x28e03(0xe5)]?L(_0x3c434e[_0x28e03(0xe5)]):void 0x0,'cursor':{'row':_0x96ccb7,'column':0x0}};let _0x7152d0=_0x497e31[_0x28e03(0x165)][_0x28e03(0x131)](_0x96ccb7,_0x5d8867),_0x34d91=_0x459217>_0x1747c3?_0x459217-_0x5d8867:_0x459217;_0x497e31[_0x28e03(0x165)][_0x28e03(0x131)](_0x34d91,0x0,..._0x7152d0);let _0x3270dc=w(_0x5c502f,_0x96ccb7)[_0x28e03(0x1d2)],_0x5e9e9c=w(_0x5c502f,_0x1747c3)[_0x28e03(0x17f)]+0x1,_0x20b181=_0x459217>_0x1747c3?w(_0x5c502f,Math[_0x28e03(0xf0)](_0x3fc71f,_0x5c502f['rowCount']-0x1))['endOffset']+0x1:w(_0x5c502f,_0x3fc71f)[_0x28e03(0x1d2)];return mt(_0x120bd9[_0x28e03(0x1c9)],_0x3270dc,_0x5e9e9c,_0x20b181),{'nextDocumentData':_0x120bd9,'nextMetadata':_0x3c434e['metadata']?L(_0x3c434e['metadata']):void 0x0,'cursor':{'row':_0x34d91,'column':0x0}};}function et(_0x3be281){const _0x2ee6b5=_0x2402dc;var _0x3bda8b;let _0x3f9651=B(_0x3be281['documentData']),_0x16306d=V(_0x3f9651,_0x3be281['tableId']),_0x38f4c1=H(_0x3f9651,_0x3be281[_0x2ee6b5(0x1a2)]),_0x3b2d4d=(_0x3bda8b=_0x3be281[_0x2ee6b5(0x16a)])==null?0x1:_0x3bda8b,_0x290f4c=U(_0x3be281[_0x2ee6b5(0xf5)],_0x16306d[_0x2ee6b5(0xe3)][_0x2ee6b5(0xfc)]-0x1),_0x44da94=U(_0x3be281[_0x2ee6b5(0x189)],_0x16306d[_0x2ee6b5(0xe3)]['length']-0x1),_0x3e37ee=Math[_0x2ee6b5(0xf0)](_0x16306d[_0x2ee6b5(0xe3)][_0x2ee6b5(0xfc)]-0x1,_0x290f4c+_0x3b2d4d-0x1),_0x11b6e4=_0x3e37ee-_0x290f4c+0x1,_0x28efee=_0x3be281[_0x2ee6b5(0xd7)]==='left'?_0x44da94:_0x44da94+0x1;if(_0x11b6e4<=0x0||_0x28efee>=_0x290f4c&&_0x28efee<=_0x3e37ee+0x1)return{'nextDocumentData':_0x3f9651,'nextMetadata':_0x3be281[_0x2ee6b5(0xe5)]?L(_0x3be281[_0x2ee6b5(0xe5)]):void 0x0,'cursor':{'row':0x0,'column':_0x290f4c}};let _0x4d2748=_0x16306d['tableColumns']['splice'](_0x290f4c,_0x11b6e4),_0x48e4c4=_0x28efee>_0x3e37ee?_0x28efee-_0x11b6e4:_0x28efee;return _0x16306d[_0x2ee6b5(0xe3)][_0x2ee6b5(0x131)](_0x48e4c4,0x0,..._0x4d2748),_0x16306d[_0x2ee6b5(0x165)]['forEach'](_0x5b71d2=>{const _0x5e2cae=_0x2ee6b5;let _0x1d3984=_0x5b71d2[_0x5e2cae(0xf2)][_0x5e2cae(0x131)](_0x290f4c,_0x11b6e4);_0x5b71d2[_0x5e2cae(0xf2)][_0x5e2cae(0x131)](_0x48e4c4,0x0,..._0x1d3984);}),_0x38f4c1[_0x2ee6b5(0x127)][_0x2ee6b5(0x1e7)](_0x3a8e8f=>{const _0x1af009=_0x2ee6b5;let _0x4e6d0f=_0x3a8e8f[_0x1af009(0x11c)][_0x290f4c][_0x1af009(0x1d2)],_0x182acf=_0x3a8e8f[_0x1af009(0x11c)][_0x3e37ee][_0x1af009(0x17f)]+0x1,_0x1026ee=_0x28efee>_0x3e37ee?_0x3a8e8f['cells'][Math[_0x1af009(0xf0)](_0x44da94,_0x3a8e8f['cells']['length']-0x1)][_0x1af009(0x17f)]+0x1:_0x3a8e8f[_0x1af009(0x11c)][_0x44da94][_0x1af009(0x1d2)];mt(_0x3f9651['body'],_0x4e6d0f,_0x182acf,_0x1026ee);}),{'nextDocumentData':_0x3f9651,'nextMetadata':_0x3be281[_0x2ee6b5(0xe5)]?L(_0x3be281[_0x2ee6b5(0xe5)]):void 0x0,'cursor':{'row':0x0,'column':_0x48e4c4}};}function B(_0x539817){const _0x57138c=_0x2402dc;return _0x31a192[_0x57138c(0x198)](_0x539817);}function V(_0x59a19,_0x4b90b3){const _0x19060d=_0x2402dc;var _0x4d91cb;let _0x4964f0=(_0x4d91cb=_0x59a19[_0x19060d(0xea)])==null?void 0x0:_0x4d91cb[_0x4b90b3];if(!_0x4964f0)throw Error(_0x19060d(0x18d)+_0x4b90b3+'\x20is\x20not\x20found.');return _0x4964f0;}function H(_0x1d3ccc,_0x2a680d){const _0x3f05be=_0x2402dc;let _0x131445=C(_0x1d3ccc,_0x2a680d);if(!_0x131445)throw Error(_0x3f05be(0x18d)+_0x2a680d+_0x3f05be(0x1f3));return _0x131445;}function tt(_0x59081a){const _0x229aab=_0x2402dc;let _0x53fe28=_0x31a192['deepClone'](_0x59081a);return _0x53fe28[_0x229aab(0xf2)]=_0x59081a[_0x229aab(0xf2)]['map'](_0x790510=>nt(_0x790510)),_0x53fe28;}function nt(_0x364605){const _0x2c034f=_0x2402dc;return _0x31a192[_0x2c034f(0x198)]({..._0x364605});}function rt(_0x83a53b){return''+_0x1f6900['TABLE_ROW_START']+at(it(),_0x83a53b)+_0x1f6900['TABLE_ROW_END'];}function it(){const _0x13a486=_0x2402dc;return _0x1f6900[_0x13a486(0xdf)]+'\x0d\x0a'+_0x1f6900[_0x13a486(0x151)];}function at(_0x258c9d,_0x19b2a9){const _0x546f56=_0x2402dc;return Array['from']({'length':_0x19b2a9},()=>_0x258c9d)[_0x546f56(0x109)]('');}function ot(_0x5b166a,_0x4d9731,_0x463655,_0x39c406,_0x4905b0,_0x561097){const _0x152c98=_0x2402dc;let _0x4e67be=at(it(),_0x4905b0),_0x238ac3=_0x463655['rows'][_0x152c98(0xff)](_0xecc13c=>{const _0x5cdba3=_0x152c98;let _0x3e1060=_0xecc13c['cells'][_0x39c406];return _0x561097===_0x5cdba3(0x150)?_0x3e1060[_0x5cdba3(0x1d2)]:_0x3e1060[_0x5cdba3(0x17f)]+0x1;})['sort']((_0x2737b1,_0x585828)=>_0x585828-_0x2737b1);for(let _0x288b71 of _0x238ac3)ft(_0x5b166a[_0x152c98(0x1c9)],_0x288b71,_0x4e67be),_0x5b166a[_0x152c98(0x1c9)]&&(_t(_0x5b166a[_0x152c98(0x1c9)],_0x288b71,_0x4e67be[_0x152c98(0xfc)]),vt(_0x5b166a[_0x152c98(0x1c9)],_0x288b71,_0x4e67be));gt(_0x5b166a,_0x4d9731,_0x463655[_0x152c98(0x17f)],_0x4e67be[_0x152c98(0xfc)]*_0x238ac3[_0x152c98(0xfc)]);}function st(_0x3e5cfb,_0x4e9f47,_0x126128,_0x5cf7bb){const _0x4536c7=_0x2402dc;let _0x93c8e7=H(_0x3e5cfb,_0x4e9f47),_0x18ad13=w(_0x93c8e7,_0x126128)['startOffset'];dt(_0x3e5cfb,_0x4e9f47,_0x18ad13,w(_0x93c8e7,_0x5cf7bb)[_0x4536c7(0x17f)]+0x1);}function ct(_0x1d9297,_0xc4f320,_0x752423,_0x14dee9){const _0x1d3bd3=_0x2402dc;let _0x27ca69=H(_0x1d9297,_0xc4f320),_0x1dd3a4=[];for(let _0x5e2a2a=_0x752423;_0x5e2a2a<=_0x14dee9;_0x5e2a2a++)_0x1dd3a4[_0x1d3bd3(0x1be)](...se(_0x27ca69,_0x5e2a2a)['cells'][_0x1d3bd3(0xff)](_0x45f7bf=>({'startOffset':_0x45f7bf['startOffset'],'endOffset':_0x45f7bf[_0x1d3bd3(0x17f)]+0x1})));_0x1dd3a4[_0x1d3bd3(0x1ec)]((_0x75e1b8,_0x6c87c2)=>_0x6c87c2[_0x1d3bd3(0x1d2)]-_0x75e1b8[_0x1d3bd3(0x1d2)]);let _0xd7e59d=0x0;for(let _0x329b38 of _0x1dd3a4){let _0x20ccba=_0x329b38[_0x1d3bd3(0x1d2)]-_0x329b38[_0x1d3bd3(0x17f)];_0xd7e59d-=_0x20ccba,pt(_0x1d9297[_0x1d3bd3(0x1c9)],_0x329b38[_0x1d3bd3(0x1d2)],_0x329b38[_0x1d3bd3(0x17f)]),_0x1d9297[_0x1d3bd3(0x1c9)]&&_t(_0x1d9297[_0x1d3bd3(0x1c9)],_0x329b38['startOffset'],_0x20ccba);}gt(_0x1d9297,_0xc4f320,_0x27ca69[_0x1d3bd3(0x17f)],-_0xd7e59d);}function lt(_0x1f55d1,_0x393b82){const _0x487cb4=_0x2402dc;var _0x5f2d8c;let _0xbdff0b=H(_0x1f55d1,_0x393b82);dt(_0x1f55d1,_0x393b82,_0xbdff0b[_0x487cb4(0x1d2)],_0xbdff0b[_0x487cb4(0x17f)]),(_0x5f2d8c=_0x1f55d1[_0x487cb4(0x1c9)])!=null&&_0x5f2d8c[_0x487cb4(0xe8)]&&(_0x1f55d1['body'][_0x487cb4(0xe8)]=_0x1f55d1['body']['tables'][_0x487cb4(0x1a9)](_0x46ac22=>_0x46ac22[_0x487cb4(0x1a2)]!==_0x393b82));}function ut(_0x5830f5,_0x3fafcb,_0x2538fd,_0x1691b2){const _0xf4a253=_0x2402dc;ft(_0x5830f5[_0xf4a253(0x1c9)],_0x2538fd,_0x1691b2),ht(_0x5830f5,_0x3fafcb,_0x2538fd,_0x1691b2[_0xf4a253(0xfc)]),_0x5830f5['body']&&vt(_0x5830f5[_0xf4a253(0x1c9)],_0x2538fd,_0x1691b2);}function dt(_0x1ab9a2,_0x4c5d52,_0x5b22cc,_0x58b327){const _0x1ef68a=_0x2402dc;pt(_0x1ab9a2[_0x1ef68a(0x1c9)],_0x5b22cc,_0x58b327),ht(_0x1ab9a2,_0x4c5d52,_0x5b22cc,_0x5b22cc-_0x58b327);}function ft(_0x1ac79b,_0xc5b78d,_0x423c4a){const _0x6e1d28=_0x2402dc;_0x1ac79b!=null&&_0x1ac79b['dataStream']&&(_0x1ac79b[_0x6e1d28(0x15e)]=''+_0x1ac79b[_0x6e1d28(0x15e)][_0x6e1d28(0x1c0)](0x0,_0xc5b78d)+_0x423c4a+_0x1ac79b[_0x6e1d28(0x15e)][_0x6e1d28(0x1c0)](_0xc5b78d));}function pt(_0x349e33,_0xb0dd8e,_0x210532){const _0x320665=_0x2402dc;_0x349e33!=null&&_0x349e33['dataStream']&&(_0x349e33[_0x320665(0x15e)]=''+_0x349e33[_0x320665(0x15e)][_0x320665(0x1c0)](0x0,_0xb0dd8e)+_0x349e33['dataStream'][_0x320665(0x1c0)](_0x210532));}function mt(_0x93ff70,_0x405e5d,_0x3b8c9c,_0x79fc90){const _0x5c9761=_0x2402dc;if(!(_0x93ff70!=null&&_0x93ff70[_0x5c9761(0x15e)])||_0x79fc90>=_0x405e5d&&_0x79fc90<=_0x3b8c9c)return;let _0x3297ac=_0x93ff70[_0x5c9761(0x15e)]['slice'](_0x405e5d,_0x3b8c9c),_0x2e2708=''+_0x93ff70['dataStream'][_0x5c9761(0x1c0)](0x0,_0x405e5d)+_0x93ff70['dataStream'][_0x5c9761(0x1c0)](_0x3b8c9c),_0x2a3b7e=_0x79fc90>_0x3b8c9c?_0x79fc90-_0x3297ac[_0x5c9761(0xfc)]:_0x79fc90;_0x93ff70[_0x5c9761(0x15e)]=''+_0x2e2708[_0x5c9761(0x1c0)](0x0,_0x2a3b7e)+_0x3297ac+_0x2e2708['slice'](_0x2a3b7e);}function U(_0x433612,_0x55883e){const _0x1bf875=_0x2402dc;return Math[_0x1bf875(0xf0)](Math[_0x1bf875(0x14a)](0x0,_0x433612),Math[_0x1bf875(0x14a)](0x0,_0x55883e));}function ht(_0x5e6bdc,_0x40826d,_0x522d2f,_0x4443c5){const _0x10f7c3=_0x2402dc;let _0x1e50cd=_0x5e6bdc[_0x10f7c3(0x1c9)];!_0x1e50cd||_0x4443c5===0x0||(gt(_0x5e6bdc,_0x40826d,_0x522d2f,_0x4443c5),_t(_0x1e50cd,_0x522d2f,_0x4443c5));}function gt(_0x598ba0,_0x2365f3,_0x19b258,_0x55acc1){const _0x520b4b=_0x2402dc;let _0x322fae=_0x598ba0[_0x520b4b(0x1c9)];!(_0x322fae!=null&&_0x322fae['tables'])||_0x55acc1===0x0||_0x322fae[_0x520b4b(0xe8)]&&(_0x322fae['tables']=_0x322fae['tables']['map'](_0x22e230=>_0x22e230[_0x520b4b(0x1a2)]===_0x2365f3?{..._0x22e230,'endIndex':_0x22e230[_0x520b4b(0x12d)]+_0x55acc1}:_0x22e230[_0x520b4b(0x19e)]>=_0x19b258?{..._0x22e230,'startIndex':_0x22e230['startIndex']+_0x55acc1,'endIndex':_0x22e230[_0x520b4b(0x12d)]+_0x55acc1}:_0x22e230));}function _t(_0x25c485,_0x112f46,_0x5b2623){const _0x2117b3=_0x2402dc;var _0x1319c9,_0x5036f3,_0x415595,_0x2673be,_0x427e60,_0x320eb4,_0x3176b8;_0x25c485[_0x2117b3(0x14b)]=(_0x1319c9=_0x25c485[_0x2117b3(0x14b)])==null?void 0x0:_0x1319c9['map'](_0x3e49bb=>{let _0x150a1c=bt(_0x3e49bb['startIndex'],_0x112f46,_0x5b2623);return _0x150a1c==null?null:{..._0x3e49bb,'startIndex':_0x150a1c};})['filter'](_0x258294=>_0x258294!=null),_0x25c485[_0x2117b3(0x17d)]=(_0x5036f3=_0x25c485[_0x2117b3(0x17d)])==null?void 0x0:_0x5036f3[_0x2117b3(0xff)](_0x4e9ccc=>{const _0x112e64=_0x2117b3;let _0x58c1c0=bt(_0x4e9ccc[_0x112e64(0x19e)],_0x112f46,_0x5b2623);return _0x58c1c0==null?null:{..._0x4e9ccc,'startIndex':_0x58c1c0};})[_0x2117b3(0x1a9)](_0x484f0d=>_0x484f0d!=null),_0x25c485[_0x2117b3(0x168)]=(_0x415595=_0x25c485[_0x2117b3(0x168)])==null?void 0x0:_0x415595['map'](_0x384c05=>{const _0x56a322=_0x2117b3;let _0x3c9fa4=bt(_0x384c05[_0x56a322(0x19e)],_0x112f46,_0x5b2623);return _0x3c9fa4==null?null:{..._0x384c05,'startIndex':_0x3c9fa4};})[_0x2117b3(0x1a9)](_0x4206a4=>_0x4206a4!=null),_0x25c485['blockRanges']=(_0x2673be=_0x25c485[_0x2117b3(0x147)])==null?void 0x0:_0x2673be[_0x2117b3(0xff)](_0x819e45=>{const _0x5e0c09=_0x2117b3;let _0x3bc4b3=W(_0x819e45[_0x5e0c09(0x19e)],_0x819e45[_0x5e0c09(0x12d)],_0x112f46,_0x5b2623);return _0x3bc4b3==null?null:{..._0x819e45,'startIndex':_0x3bc4b3[_0x5e0c09(0x15f)],'endIndex':_0x3bc4b3[_0x5e0c09(0x169)]};})[_0x2117b3(0x1a9)](_0x220eb0=>_0x220eb0!=null),_0x25c485[_0x2117b3(0x13c)]=(_0x427e60=_0x25c485[_0x2117b3(0x13c)])==null?void 0x0:_0x427e60[_0x2117b3(0xff)](_0x4059d8=>{const _0x1796c4=_0x2117b3;let _0x584148=W(_0x4059d8['st'],_0x4059d8['ed'],_0x112f46,_0x5b2623);return _0x584148==null?null:{..._0x4059d8,'st':_0x584148[_0x1796c4(0x15f)],'ed':_0x584148[_0x1796c4(0x169)]};})[_0x2117b3(0x1a9)](_0x9ddd0f=>_0x9ddd0f!=null),_0x25c485[_0x2117b3(0x196)]=(_0x320eb4=_0x25c485[_0x2117b3(0x196)])==null?void 0x0:_0x320eb4[_0x2117b3(0xff)](_0x41e56b=>{const _0x13d9d8=_0x2117b3;let _0x4e48d3=W(_0x41e56b[_0x13d9d8(0x19e)],_0x41e56b[_0x13d9d8(0x12d)],_0x112f46,_0x5b2623);return _0x4e48d3==null?null:{..._0x41e56b,'startIndex':_0x4e48d3[_0x13d9d8(0x15f)],'endIndex':_0x4e48d3['end']};})['filter'](_0x29b6cf=>_0x29b6cf!=null),_0x25c485[_0x2117b3(0x10c)]=(_0x3176b8=_0x25c485[_0x2117b3(0x10c)])==null?void 0x0:_0x3176b8['map'](_0x31f12c=>{const _0x40cc42=_0x2117b3;let _0x257ad3=W(_0x31f12c['startIndex'],_0x31f12c['endIndex'],_0x112f46,_0x5b2623);return _0x257ad3==null?null:{..._0x31f12c,'startIndex':_0x257ad3[_0x40cc42(0x15f)],'endIndex':_0x257ad3[_0x40cc42(0x169)]};})[_0x2117b3(0x1a9)](_0x5ac988=>_0x5ac988!=null);}function vt(_0x5754e0,_0x8d6eeb,_0x2a2581){const _0x8d2c6a=_0x2402dc;let _0x3013d3=yt(_0x2a2581,'\x0d')[_0x8d2c6a(0xff)](_0x4ade2f=>({'startIndex':_0x8d6eeb+_0x4ade2f})),_0x179102=yt(_0x2a2581,'\x0a')['map'](_0x4a86a2=>({'startIndex':_0x8d6eeb+_0x4a86a2}));if(_0x3013d3[_0x8d2c6a(0xfc)]){var _0x32d058;_0x5754e0['paragraphs']=[...(_0x32d058=_0x5754e0['paragraphs'])==null?[]:_0x32d058,..._0x3013d3][_0x8d2c6a(0x1ec)]((_0x5b793e,_0x420a57)=>_0x5b793e[_0x8d2c6a(0x19e)]-_0x420a57[_0x8d2c6a(0x19e)]);}if(_0x179102[_0x8d2c6a(0xfc)]){var _0xac90d8;_0x5754e0['sectionBreaks']=[...(_0xac90d8=_0x5754e0[_0x8d2c6a(0x17d)])==null?[]:_0xac90d8,..._0x179102][_0x8d2c6a(0x1ec)]((_0x279574,_0x5e659d)=>_0x279574[_0x8d2c6a(0x19e)]-_0x5e659d[_0x8d2c6a(0x19e)]);}}function yt(_0x4da2f,_0x9a27a6){const _0x15f6db=_0x2402dc;let _0x55965b=[];for(let _0x7bce04=0x0;_0x7bce04<_0x4da2f[_0x15f6db(0xfc)];_0x7bce04++)_0x4da2f[_0x7bce04]===_0x9a27a6&&_0x55965b[_0x15f6db(0x1be)](_0x7bce04);return _0x55965b;}function _0x4a55(_0x33f168,_0x37588d){_0x33f168=_0x33f168-0xd5;const _0x2eaa3a=_0x2eaa();let _0x4a5598=_0x2eaa3a[_0x33f168];return _0x4a5598;}function bt(_0x532fcc,_0x564030,_0x341e62){if(_0x341e62>=0x0)return _0x532fcc>=_0x564030?_0x532fcc+_0x341e62:_0x532fcc;let _0x2b89ed=_0x564030-_0x341e62;return _0x532fcc>=_0x564030&&_0x532fcc<_0x2b89ed?null:_0x532fcc>=_0x2b89ed?_0x532fcc+_0x341e62:_0x532fcc;}function W(_0x260853,_0x1f4d14,_0x2f4b6c,_0x583970){if(_0x583970>=0x0)return{'end':_0x1f4d14>=_0x2f4b6c?_0x1f4d14+_0x583970:_0x1f4d14,'start':_0x260853>=_0x2f4b6c?_0x260853+_0x583970:_0x260853};let _0x1d36db=_0x2f4b6c-_0x583970;if(_0x1f4d14<_0x2f4b6c)return{'start':_0x260853,'end':_0x1f4d14};if(_0x260853>=_0x1d36db)return{'start':_0x260853+_0x583970,'end':_0x1f4d14+_0x583970};let _0x11dd1b=_0x260853<_0x2f4b6c?_0x260853:_0x2f4b6c,_0x5e6e4b=_0x1f4d14>=_0x1d36db?_0x1f4d14+_0x583970:_0x2f4b6c;return _0x5e6e4b<_0x11dd1b?null:{'start':_0x11dd1b,'end':_0x5e6e4b};}function xt(_0x3cd25f,_0x3466ac){const _0x29c1a1=_0x2402dc;let _0x561b46=_0x3cd25f[_0x29c1a1(0xe3)][_0x29c1a1(0x1d0)]((_0x4a622a,_0x316c4c)=>_0x4a622a+_0x316c4c[_0x29c1a1(0x1f4)][_0x29c1a1(0x15d)]['v'],0x0)-_0x3466ac,_0x2df84f=_0x3cd25f['tableColumns'][_0x29c1a1(0x1d0)]((_0xc4be2a,_0x3d9be5)=>_0xc4be2a+_0x3d9be5[_0x29c1a1(0x1f4)][_0x29c1a1(0x15d)]['v'],0x0);_0x561b46<=0x0||_0x2df84f<=0x0||_0x3cd25f['tableColumns'][_0x29c1a1(0x1e7)](_0x5a4360=>{const _0x496e9b=_0x29c1a1;_0x5a4360[_0x496e9b(0x1f4)][_0x496e9b(0x15d)]['v']=_0x5a4360[_0x496e9b(0x1f4)][_0x496e9b(0x15d)]['v']/_0x2df84f*_0x561b46;});}function St(_0x5e6ad4,_0x4e8f78,_0x5a7d7c,_0x2b59f2){const _0x555790=_0x2402dc;var _0x22d24b,_0x4b4712;if(!_0x5e6ad4)return;let _0x5cc05d=L(_0x5e6ad4),_0x4773d6=(_0x22d24b=(_0x4b4712=_0x5cc05d[_0x555790(0xe8)][_0x4e8f78])==null?void 0x0:_0x4b4712[_0x555790(0x15c)])==null?0x0:_0x22d24b;if(_0x4773d6<=0x0)return _0x5cc05d;let _0xa53a9a=Math[_0x555790(0x14a)](0x0,Math['min'](_0x2b59f2,_0x4773d6-0x1)-Math[_0x555790(0x14a)](_0x5a7d7c,0x0)+0x1);return R(_0x5cc05d,_0x4e8f78,Math['max'](0x0,_0x4773d6-_0xa53a9a));}function G(_0x12029e,_0xc10c9d,_0x3146b3){const _0x2ec4b1=_0x2402dc;if(!_0x12029e||_0x12029e[_0x2ec4b1(0x1a2)]!==_0x3146b3[_0x2ec4b1(0x1a2)])return _0x12029e;if(_0x3146b3[_0x2ec4b1(0x1e8)]===_0x2ec4b1(0x12e))return null;let _0x3eadc7=C(_0xc10c9d,_0x12029e['tableId']);if(!_0x3eadc7)return null;let _0xa6e3b0={..._0x12029e};if(_0x3146b3[_0x2ec4b1(0x1e8)]===_0x2ec4b1(0x106))_0xa6e3b0['startRow']=K(_0xa6e3b0[_0x2ec4b1(0x19a)],_0x3146b3[_0x2ec4b1(0x1a8)],_0x3146b3[_0x2ec4b1(0x16a)]),_0xa6e3b0[_0x2ec4b1(0x126)]=K(_0xa6e3b0[_0x2ec4b1(0x126)],_0x3146b3['index'],_0x3146b3['count']);else{if(_0x3146b3[_0x2ec4b1(0x1e8)]===_0x2ec4b1(0x1a3))_0xa6e3b0['startColumn']=K(_0xa6e3b0[_0x2ec4b1(0x186)],_0x3146b3[_0x2ec4b1(0x1a8)],_0x3146b3[_0x2ec4b1(0x16a)]),_0xa6e3b0['endColumn']=K(_0xa6e3b0[_0x2ec4b1(0x146)],_0x3146b3[_0x2ec4b1(0x1a8)],_0x3146b3[_0x2ec4b1(0x16a)]);else{if(_0x3146b3[_0x2ec4b1(0x1e8)]===_0x2ec4b1(0x132)){let [_0x1d80fb,_0x270523]=Ct(_0xa6e3b0[_0x2ec4b1(0x19a)],_0xa6e3b0[_0x2ec4b1(0x126)],_0x3146b3[_0x2ec4b1(0x1a8)],_0x3146b3[_0x2ec4b1(0x16a)]);_0xa6e3b0[_0x2ec4b1(0x19a)]=_0x1d80fb,_0xa6e3b0[_0x2ec4b1(0x126)]=_0x270523;}else{if(_0x3146b3[_0x2ec4b1(0x1e8)]==='delete-columns'){let [_0x16668e,_0x44cf84]=Ct(_0xa6e3b0[_0x2ec4b1(0x186)],_0xa6e3b0['endColumn'],_0x3146b3['index'],_0x3146b3[_0x2ec4b1(0x16a)]);_0xa6e3b0[_0x2ec4b1(0x186)]=_0x16668e,_0xa6e3b0[_0x2ec4b1(0x146)]=_0x44cf84;}}}}let _0x55f94f=_0x3146b3[_0x2ec4b1(0x1e8)]===_0x2ec4b1(0x106)?_0x3eadc7[_0x2ec4b1(0xd5)]+_0x3146b3[_0x2ec4b1(0x16a)]:Math[_0x2ec4b1(0x14a)](0x1,_0x3eadc7[_0x2ec4b1(0xd5)]-(_0x3146b3[_0x2ec4b1(0x1e8)]===_0x2ec4b1(0x132)?_0x3146b3['count']:0x0)),_0x6f88a3=_0x3146b3['kind']===_0x2ec4b1(0x1a3)?_0x3eadc7[_0x2ec4b1(0x145)]+_0x3146b3['count']:Math['max'](0x1,_0x3eadc7[_0x2ec4b1(0x145)]-(_0x3146b3[_0x2ec4b1(0x1e8)]===_0x2ec4b1(0x16d)?_0x3146b3[_0x2ec4b1(0x16a)]:0x0));return _0xa6e3b0[_0x2ec4b1(0x19a)]=q(_0xa6e3b0[_0x2ec4b1(0x19a)],0x0,_0x55f94f-0x1),_0xa6e3b0[_0x2ec4b1(0x126)]=q(_0xa6e3b0[_0x2ec4b1(0x126)],0x0,_0x55f94f-0x1),_0xa6e3b0['startColumn']=q(_0xa6e3b0[_0x2ec4b1(0x186)],0x0,_0x6f88a3-0x1),_0xa6e3b0[_0x2ec4b1(0x146)]=q(_0xa6e3b0[_0x2ec4b1(0x146)],0x0,_0x6f88a3-0x1),_0xa6e3b0[_0x2ec4b1(0x19a)]>_0xa6e3b0['endRow']&&(_0xa6e3b0['endRow']=_0xa6e3b0['startRow']),_0xa6e3b0['startColumn']>_0xa6e3b0[_0x2ec4b1(0x146)]&&(_0xa6e3b0[_0x2ec4b1(0x146)]=_0xa6e3b0[_0x2ec4b1(0x186)]),_0xa6e3b0;}function K(_0x56dfc7,_0x1aac78,_0x945ddb){return _0x56dfc7>=_0x1aac78?_0x56dfc7+_0x945ddb:_0x56dfc7;}function Ct(_0x2ba68e,_0x3de58f,_0x274be1,_0x34abd3){let _0x56f6ae=_0x274be1+_0x34abd3-0x1;if(_0x3de58f<_0x274be1)return[_0x2ba68e,_0x3de58f];if(_0x2ba68e>_0x56f6ae)return[_0x2ba68e-_0x34abd3,_0x3de58f-_0x34abd3];let _0x4165bb=_0x2ba68e<_0x274be1?_0x2ba68e:_0x274be1,_0x51111e=Math['min'](_0x3de58f,_0x56f6ae)-_0x274be1+0x1;return[_0x4165bb,Math['max'](_0x4165bb,_0x3de58f-_0x51111e)];}function q(_0x5eb4c7,_0x5c17ce,_0x7c1705){const _0x3edef2=_0x2402dc;return Math[_0x3edef2(0xf0)](Math[_0x3edef2(0x14a)](_0x5eb4c7,_0x5c17ce),_0x7c1705);}function wt(_0x3a6dce,_0x289242){const _0x56d97d=_0x2402dc;var _0x394bea,_0x4be6ba,_0x2cfc4f,_0x26bd4f,_0x2bc1a9,_0x39ee29,_0x3bc6d1,_0x202ff9,_0x3b2dac,_0x196e0e,_0x3ee9a1,_0x40fa4b,_0x35ac97,_0x338db5,_0x3475b5,_0x3f68d3,_0x1b3e1b,_0x56149b;let _0xf5c256=_0x3facce[_0x56d97d(0x1f5)]();return[_0xf5c256[_0x56d97d(0x112)]([_0x56d97d(0x1c9),'dataStream'],(_0x394bea=_0x3a6dce[_0x56d97d(0x1c9)])==null?void 0x0:_0x394bea[_0x56d97d(0x15e)],(_0x4be6ba=_0x289242['body'])==null?void 0x0:_0x4be6ba[_0x56d97d(0x15e)]),_0xf5c256[_0x56d97d(0x112)]([_0x56d97d(0x1c9),_0x56d97d(0x14b)],(_0x2cfc4f=_0x3a6dce[_0x56d97d(0x1c9)])==null?void 0x0:_0x2cfc4f[_0x56d97d(0x14b)],(_0x26bd4f=_0x289242[_0x56d97d(0x1c9)])==null?void 0x0:_0x26bd4f[_0x56d97d(0x14b)]),_0xf5c256['replaceOp'](['body',_0x56d97d(0x17d)],(_0x2bc1a9=_0x3a6dce[_0x56d97d(0x1c9)])==null?void 0x0:_0x2bc1a9[_0x56d97d(0x17d)],(_0x39ee29=_0x289242['body'])==null?void 0x0:_0x39ee29[_0x56d97d(0x17d)]),_0xf5c256['replaceOp']([_0x56d97d(0x1c9),_0x56d97d(0xe8)],(_0x3bc6d1=_0x3a6dce['body'])==null?void 0x0:_0x3bc6d1[_0x56d97d(0xe8)],(_0x202ff9=_0x289242[_0x56d97d(0x1c9)])==null?void 0x0:_0x202ff9[_0x56d97d(0xe8)]),_0xf5c256['replaceOp']([_0x56d97d(0x1c9),_0x56d97d(0x147)],(_0x3b2dac=_0x3a6dce[_0x56d97d(0x1c9)])==null?void 0x0:_0x3b2dac[_0x56d97d(0x147)],(_0x196e0e=_0x289242[_0x56d97d(0x1c9)])==null?void 0x0:_0x196e0e[_0x56d97d(0x147)]),_0xf5c256[_0x56d97d(0x112)]([_0x56d97d(0x1c9),_0x56d97d(0x168)],(_0x3ee9a1=_0x3a6dce[_0x56d97d(0x1c9)])==null?void 0x0:_0x3ee9a1['customBlocks'],(_0x40fa4b=_0x289242[_0x56d97d(0x1c9)])==null?void 0x0:_0x40fa4b[_0x56d97d(0x168)]),_0xf5c256[_0x56d97d(0x112)]([_0x56d97d(0x1c9),_0x56d97d(0x196)],(_0x35ac97=_0x3a6dce['body'])==null?void 0x0:_0x35ac97[_0x56d97d(0x196)],(_0x338db5=_0x289242[_0x56d97d(0x1c9)])==null?void 0x0:_0x338db5[_0x56d97d(0x196)]),_0xf5c256[_0x56d97d(0x112)](['body',_0x56d97d(0x10c)],(_0x3475b5=_0x3a6dce[_0x56d97d(0x1c9)])==null?void 0x0:_0x3475b5['customDecorations'],(_0x3f68d3=_0x289242[_0x56d97d(0x1c9)])==null?void 0x0:_0x3f68d3['customDecorations']),_0xf5c256[_0x56d97d(0x112)]([_0x56d97d(0x1c9),_0x56d97d(0x13c)],(_0x1b3e1b=_0x3a6dce['body'])==null?void 0x0:_0x1b3e1b[_0x56d97d(0x13c)],(_0x56149b=_0x289242[_0x56d97d(0x1c9)])==null?void 0x0:_0x56149b[_0x56d97d(0x13c)]),_0xf5c256[_0x56d97d(0x112)](['tableSource'],_0x3a6dce['tableSource'],_0x289242[_0x56d97d(0xea)])]['filter'](Boolean)[_0x56d97d(0x1d0)]((_0x68415c,_0x37cfdb)=>_0x3facce[_0x56d97d(0x1b5)](_0x68415c,_0x37cfdb),null);}function J(_0x4cbafb,_0x4b0482,_0x88fcd1,_0x157883,_0x7393d0){let _0x3b3fd1=wt(_0x88fcd1,_0x157883);if(!_0x3b3fd1)return!0x1;let _0x37b279=_0x7393d0?Tt(_0x157883,_0x7393d0):[];return!!_0x4cbafb['syncExecuteCommand'](_0x5e4115['id'],{'unitId':_0x4b0482,'actions':_0x3b3fd1,'textRanges':_0x37b279});}function Tt(_0x2c1e73,_0x5e6244){const _0x470831=_0x2402dc;var _0x47903c,_0x214e51,_0x248141,_0x251f99,_0x167bb9,_0x54a774;let _0x3b3985=C(_0x2c1e73,_0x5e6244['tableId']);if(!_0x3b3985)return[];let _0x2358ea=Math[_0x470831(0xf0)](_0x5e6244[_0x470831(0x19a)],_0x5e6244[_0x470831(0x126)]),_0x28f8e1=Math['max'](_0x5e6244[_0x470831(0x19a)],_0x5e6244[_0x470831(0x126)]),_0x404d44=Math['min'](_0x5e6244[_0x470831(0x186)],_0x5e6244[_0x470831(0x146)]),_0x1f1d6c=Math[_0x470831(0x14a)](_0x5e6244['startColumn'],_0x5e6244[_0x470831(0x146)]),_0x38f77e=(_0x47903c=_0x3b3985['rows'][_0x2358ea])==null?void 0x0:_0x47903c[_0x470831(0x11c)][_0x404d44],_0x4617fc=(_0x214e51=_0x3b3985[_0x470831(0x127)][_0x28f8e1])==null?void 0x0:_0x214e51[_0x470831(0x11c)][_0x1f1d6c];if(!_0x38f77e||!_0x4617fc)return[];let _0x1e3743=(_0x248141=_0x3b3985['tableSource'][_0x470831(0x165)][_0x2358ea])==null?void 0x0:_0x248141[_0x470831(0xf2)][_0x404d44],_0x5e9621=(_0x251f99=_0x1e3743==null?void 0x0:_0x1e3743['rowSpan'])==null?0x1:_0x251f99,_0x571df6=(_0x167bb9=_0x1e3743==null?void 0x0:_0x1e3743[_0x470831(0x19b)])==null?0x1:_0x167bb9,_0x22f041=(_0x5e9621>0x1||_0x571df6>0x1)&&_0x2358ea+_0x5e9621-0x1>=_0x28f8e1&&_0x404d44+_0x571df6-0x1>=_0x1f1d6c?_0x38f77e:_0x4617fc,_0x2011d8=_0x404d44===0x0&&_0x1f1d6c===_0x3b3985[_0x470831(0x145)]-0x1,_0x3cc2cd=_0x2358ea===0x0&&_0x28f8e1===_0x3b3985[_0x470831(0xd5)]-0x1,_0x2fb0c1=_0x38f77e[_0x470831(0x1d2)]+0x1;return[{'startOffset':_0x2fb0c1,'endOffset':Math[_0x470831(0x14a)](_0x2fb0c1,_0x22f041[_0x470831(0x17f)]-0x1),'collapsed':!0x1,'rangeType':_0x4df7a7[_0x470831(0xfe)],'segmentId':(_0x54a774=_0x5e6244[_0x470831(0xf1)])==null?'':_0x54a774,'tableId':_0x5e6244[_0x470831(0x1a2)],'startRow':_0x2358ea,'endRow':_0x28f8e1,'startColumn':_0x404d44,'endColumn':_0x1f1d6c,'spanEntireRow':_0x2011d8,'spanEntireColumn':_0x3cc2cd,'spanEntireTable':_0x2011d8&&_0x3cc2cd,'isActive':!0x0}];}const Et={'id':_0x2402dc(0xda),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x43a922,_0x23577c)=>{const _0x5562e3=_0x2402dc;var _0x3b0602,_0x2780e4,_0x371648;let _0x2ca515=_0x43a922[_0x5562e3(0x1c8)](_0x34f351),_0x2ad428=_0x43a922[_0x5562e3(0x1c8)](_0x3a98e3),_0x1d0df7=_0x43a922[_0x5562e3(0x1c8)](I),_0x3a4ae0=_0x2ca515[_0x5562e3(0x122)](),_0x2948c0=_0x1d0df7['getCurrentSelection']();if(!_0x3a4ae0||!_0x2948c0)return!0x1;let _0x403ddb=_0x3a4ae0[_0x5562e3(0xfd)](),_0x52f1d8=(_0x3b0602=_0x23577c==null?void 0x0:_0x23577c['tableId'])==null?_0x2948c0[_0x5562e3(0x1a2)]:_0x3b0602,_0x462114=(_0x2780e4=_0x23577c==null?void 0x0:_0x23577c['startColumn'])==null?_0x2948c0[_0x5562e3(0x186)]:_0x2780e4,_0x328159=(_0x371648=_0x23577c==null?void 0x0:_0x23577c[_0x5562e3(0x146)])==null?_0x2948c0['endColumn']:_0x371648,_0xb99002=Qe({'documentData':_0x403ddb,'tableId':_0x52f1d8,'startColumn':_0x462114,'endColumn':_0x328159}),_0x5d546e=J(_0x2ad428,_0x3a4ae0[_0x5562e3(0xdb)](),_0x403ddb,_0xb99002[_0x5562e3(0x10d)]);if(_0x5d546e){let _0x48be75=G(_0x2948c0,_0x403ddb,_0xb99002[_0x5562e3(0x15a)]?{'kind':'delete-table','tableId':_0x52f1d8}:{'kind':_0x5562e3(0x16d),'tableId':_0x52f1d8,'index':Math['min'](_0x462114,_0x328159),'count':Math[_0x5562e3(0x1b2)](_0x328159-_0x462114)+0x1});_0x48be75?_0x1d0df7[_0x5562e3(0x1c4)](_0x48be75):_0x1d0df7[_0x5562e3(0x16f)]();}return _0x5d546e;}},Dt={'id':_0x2402dc(0x1ee),'type':_0x5b79de['COMMAND'],'handler':async(_0x218495,_0x2df42b)=>{const _0x2d9045=_0x2402dc;var _0x592674,_0xf9db5b,_0x29dae7;let _0x1e761f=_0x218495[_0x2d9045(0x1c8)](_0x34f351),_0x1d6f9b=_0x218495[_0x2d9045(0x1c8)](_0x3a98e3),_0x3c18a0=_0x218495[_0x2d9045(0x1c8)](I),_0x215c2e=_0x1e761f['getCurrentUniverDocInstance'](),_0x4b0620=_0x3c18a0[_0x2d9045(0x18b)]();if(!_0x215c2e||!_0x4b0620)return!0x1;let _0x5b30ae=_0x215c2e[_0x2d9045(0xfd)](),_0x11056e=(_0x592674=_0x2df42b==null?void 0x0:_0x2df42b[_0x2d9045(0x1a2)])==null?_0x4b0620['tableId']:_0x592674,_0x9638ac=(_0xf9db5b=_0x2df42b==null?void 0x0:_0x2df42b['startRow'])==null?_0x4b0620[_0x2d9045(0x19a)]:_0xf9db5b,_0x1b8965=(_0x29dae7=_0x2df42b==null?void 0x0:_0x2df42b['endRow'])==null?_0x4b0620['endRow']:_0x29dae7,_0x2b0c34=Ze({'documentData':_0x5b30ae,'tableId':_0x11056e,'startRow':_0x9638ac,'endRow':_0x1b8965}),_0x1def2f=J(_0x1d6f9b,_0x215c2e[_0x2d9045(0xdb)](),_0x5b30ae,_0x2b0c34[_0x2d9045(0x10d)]);if(_0x1def2f){let _0x7122db=G(_0x4b0620,_0x5b30ae,_0x2b0c34['deleteTable']?{'kind':_0x2d9045(0x12e),'tableId':_0x11056e}:{'kind':_0x2d9045(0x132),'tableId':_0x11056e,'index':Math[_0x2d9045(0xf0)](_0x9638ac,_0x1b8965),'count':Math[_0x2d9045(0x1b2)](_0x1b8965-_0x9638ac)+0x1});_0x7122db?_0x3c18a0['setStructuralSelection'](_0x7122db):_0x3c18a0[_0x2d9045(0x16f)]();}return _0x1def2f;}},Ot={'id':'docs-table.command.delete-table','type':_0x5b79de['COMMAND'],'handler':async(_0x4b552e,_0x4b12bd)=>{const _0x1b5666=_0x2402dc;var _0x217bde;let _0x31366f=_0x4b552e[_0x1b5666(0x1c8)](_0x34f351),_0x1b22cb=_0x4b552e[_0x1b5666(0x1c8)](_0x3a98e3),_0x1e2f01=_0x4b552e['get'](I),_0x5d57cb=_0x31366f[_0x1b5666(0x122)](),_0x386043=_0x1e2f01[_0x1b5666(0x18b)]();if(!_0x5d57cb||!_0x386043)return!0x1;let _0x546528=_0x5d57cb['getSnapshot'](),_0x50bfeb=(_0x217bde=_0x4b12bd==null?void 0x0:_0x4b12bd[_0x1b5666(0x1a2)])==null?_0x386043[_0x1b5666(0x1a2)]:_0x217bde,_0x28f07d=z({'documentData':_0x546528,'tableId':_0x50bfeb}),_0x250278=J(_0x1b22cb,_0x5d57cb[_0x1b5666(0xdb)](),_0x546528,_0x28f07d['nextDocumentData']);if(_0x250278){let _0x4b8301=G(_0x386043,_0x546528,{'kind':_0x1b5666(0x12e),'tableId':_0x50bfeb});_0x4b8301?_0x1e2f01[_0x1b5666(0x1c4)](_0x4b8301):_0x1e2f01[_0x1b5666(0x16f)]();}return _0x250278;}};function kt(_0x255e5d){const _0x22bf1b=_0x2402dc;var _0x8288a;let _0x8d6f87=Ye({'documentData':_0x255e5d[_0x22bf1b(0x1ac)],'metadata':_0x255e5d[_0x22bf1b(0xe5)],'tableId':_0x255e5d['tableId'],'row':0x0,'count':0x1,'position':_0x22bf1b(0xd6)}),_0x5e8cab=(_0x8288a=_0x8d6f87['nextDocumentData']['tableSource'])==null?void 0x0:_0x8288a[_0x255e5d[_0x22bf1b(0x1a2)]];if(!_0x5e8cab)throw Error(_0x22bf1b(0x18d)+_0x255e5d[_0x22bf1b(0x1a2)]+_0x22bf1b(0x12a));let _0x9cbcc1=_0x5e8cab['tableColumns'][_0x22bf1b(0xfc)];return _0x5e8cab[_0x22bf1b(0x165)][0x0][_0x22bf1b(0xf2)][_0x22bf1b(0x1e7)]((_0x7ade47,_0x19146a)=>{const _0x255084=_0x22bf1b;if(_0x19146a===0x0){_0x7ade47[_0x255084(0x19b)]=_0x9cbcc1,delete _0x7ade47['rowSpan'];return;}_0x7ade47[_0x255084(0x1bc)]=0x0,_0x7ade47[_0x255084(0x19b)]=0x0;}),{'nextDocumentData':_0x8d6f87[_0x22bf1b(0x10d)],'nextMetadata':qe(_0x8d6f87[_0x22bf1b(0x1ed)],_0x255e5d['tableId'],!0x0)};}function At(_0x5a278c){const _0x219c3f=_0x2402dc;var _0x19f08e;let _0x52543a=_0x31a192[_0x219c3f(0x198)](_0x5a278c[_0x219c3f(0x1ac)]),_0x1fd3ae=(_0x19f08e=_0x52543a[_0x219c3f(0xea)])==null?void 0x0:_0x19f08e[_0x5a278c['tableId']];if(!_0x1fd3ae)throw Error('[DocsTable]:\x20Table\x20'+_0x5a278c[_0x219c3f(0x1a2)]+_0x219c3f(0x12a));let _0x24cbe9=Math[_0x219c3f(0xf0)](Math[_0x219c3f(0x14a)](0x0,_0x5a278c[_0x219c3f(0x15c)]),_0x1fd3ae[_0x219c3f(0x165)][_0x219c3f(0xfc)]);return _0x1fd3ae[_0x219c3f(0x165)][_0x219c3f(0x1e7)]((_0x48553f,_0x28ca9a)=>{const _0x5a6c41=_0x219c3f;_0x48553f[_0x5a6c41(0x1de)]=_0x28ca9a<_0x24cbe9?_0x4ec489[_0x5a6c41(0x13a)]:_0x4ec489[_0x5a6c41(0x156)],_0x28ca9a<_0x24cbe9?_0x48553f[_0x5a6c41(0x15b)]=_0x4ec489[_0x5a6c41(0x13a)]:delete _0x48553f[_0x5a6c41(0x15b)];}),{'nextDocumentData':_0x52543a,'nextMetadata':R(_0x5a278c[_0x219c3f(0xe5)],_0x5a278c[_0x219c3f(0x1a2)],_0x24cbe9)};}function jt(_0x13b31b){const _0x287efe=_0x2402dc;var _0x354110;let _0x450d08=_0x31a192['deepClone'](_0x13b31b[_0x287efe(0x1ac)]),_0x454c25=(_0x354110=_0x450d08[_0x287efe(0xea)])==null?void 0x0:_0x354110[_0x13b31b[_0x287efe(0x1a2)]];if(!_0x454c25)throw Error(_0x287efe(0x18d)+_0x13b31b['tableId']+'\x20is\x20not\x20found.');let _0x37c599=Math[_0x287efe(0xf0)](_0x13b31b[_0x287efe(0x19a)],_0x13b31b[_0x287efe(0x126)]),_0x4cdaac=Math[_0x287efe(0x14a)](_0x13b31b[_0x287efe(0x19a)],_0x13b31b['endRow']),_0x42278b=_0x454c25[_0x287efe(0x165)][_0x287efe(0x1c0)](_0x37c599,_0x4cdaac+0x1),_0x46ae32=_0x42278b[_0x287efe(0x1d0)]((_0x59d81f,_0x56d6d0)=>_0x59d81f+Bt(_0x56d6d0),0x0)/_0x42278b[_0x287efe(0xfc)];return _0x42278b[_0x287efe(0x1e7)](_0x556b8d=>{const _0x307a6b=_0x287efe;_0x556b8d[_0x307a6b(0x17c)]={'hRule':_0x109bc9[_0x307a6b(0x149)],'val':{'v':_0x46ae32}};}),{'nextDocumentData':_0x450d08};}function Mt(_0x1ac778){const _0x4b38d0=_0x2402dc;var _0x39e4e1;let _0x1ef386=_0x31a192[_0x4b38d0(0x198)](_0x1ac778[_0x4b38d0(0x1ac)]),_0x4f0b70=(_0x39e4e1=_0x1ef386[_0x4b38d0(0xea)])==null?void 0x0:_0x39e4e1[_0x1ac778[_0x4b38d0(0x1a2)]];if(!_0x4f0b70)throw Error(_0x4b38d0(0x18d)+_0x1ac778[_0x4b38d0(0x1a2)]+_0x4b38d0(0x12a));let _0x28008e=Math['min'](_0x1ac778[_0x4b38d0(0x186)],_0x1ac778[_0x4b38d0(0x146)]),_0x197584=Math[_0x4b38d0(0x14a)](_0x1ac778['startColumn'],_0x1ac778['endColumn']),_0x699a46=_0x4f0b70[_0x4b38d0(0xe3)][_0x4b38d0(0x1c0)](_0x28008e,_0x197584+0x1),_0x55010b=_0x699a46[_0x4b38d0(0x1d0)]((_0x3e25ad,_0x3228a7)=>_0x3e25ad+_0x3228a7[_0x4b38d0(0x1f4)][_0x4b38d0(0x15d)]['v'],0x0)/_0x699a46[_0x4b38d0(0xfc)];return _0x699a46[_0x4b38d0(0x1e7)](_0x6c471e=>{const _0x4b7236=_0x4b38d0;_0x6c471e[_0x4b7236(0x1f4)][_0x4b7236(0x15d)]['v']=_0x55010b;}),{'nextDocumentData':_0x1ef386};}function Nt(_0x2347cd){const _0x3d2650=_0x2402dc;var _0x48d579;let _0x56080f=_0x31a192[_0x3d2650(0x198)](_0x2347cd[_0x3d2650(0x1ac)]),_0x3797fe=(_0x48d579=_0x56080f['tableSource'])==null||(_0x48d579=_0x48d579[_0x2347cd[_0x3d2650(0x1a2)]])==null?void 0x0:_0x48d579[_0x3d2650(0x165)][_0x2347cd[_0x3d2650(0x1e3)]];if(!_0x3797fe)throw Error(_0x3d2650(0x1b3)+_0x2347cd['row']+_0x3d2650(0x12a));return _0x3797fe['trHeight']={'hRule':_0x109bc9[_0x3d2650(0x149)],'val':{'v':Math[_0x3d2650(0x14a)](0x1,_0x2347cd[_0x3d2650(0x193)])}},{'nextDocumentData':_0x56080f};}function Pt(_0x4b8a97){const _0x2711fd=_0x2402dc;var _0x31c4fa;let _0x23d38a=_0x31a192[_0x2711fd(0x198)](_0x4b8a97[_0x2711fd(0x1ac)]),_0x56ad79=(_0x31c4fa=_0x23d38a[_0x2711fd(0xea)])==null||(_0x31c4fa=_0x31c4fa[_0x4b8a97[_0x2711fd(0x1a2)]])==null?void 0x0:_0x31c4fa[_0x2711fd(0xe3)][_0x4b8a97[_0x2711fd(0x1b1)]];if(!_0x56ad79)throw Error(_0x2711fd(0x1f0)+_0x4b8a97['column']+'\x20is\x20not\x20found.');return _0x56ad79[_0x2711fd(0x1f4)][_0x2711fd(0x15d)]['v']=Math[_0x2711fd(0x14a)](0x1,_0x4b8a97[_0x2711fd(0x15d)]),{'nextDocumentData':_0x23d38a};}function Ft(_0x13d079){const _0x1709f4=_0x2402dc;var _0xce6177,_0x27012f,_0x3ac957,_0x5ed05d,_0x3edbbf;if(_0x13d079[_0x1709f4(0x191)]!=null)return It(_0x13d079);let _0x769984=_0x31a192[_0x1709f4(0x198)](_0x13d079['documentData']),_0x128140=(_0xce6177=_0x769984[_0x1709f4(0xea)])==null?void 0x0:_0xce6177[_0x13d079[_0x1709f4(0x1a2)]];if(!_0x128140)throw Error('[DocsTable]:\x20Table\x20'+_0x13d079[_0x1709f4(0x1a2)]+'\x20is\x20not\x20found.');return _0x128140['textWrap']=_0x5522cb[_0x1709f4(0x1d6)],_0x128140[_0x1709f4(0xd7)][_0x1709f4(0x148)][_0x1709f4(0xf4)]=((_0x27012f=_0x128140[_0x1709f4(0xd7)][_0x1709f4(0x148)][_0x1709f4(0xf4)])==null?0x0:_0x27012f)+((_0x3ac957=_0x13d079[_0x1709f4(0x1ba)])==null?0x0:_0x3ac957),_0x128140[_0x1709f4(0xd7)][_0x1709f4(0x119)][_0x1709f4(0xf4)]=((_0x5ed05d=_0x128140['position'][_0x1709f4(0x119)]['posOffset'])==null?0x0:_0x5ed05d)+((_0x3edbbf=_0x13d079[_0x1709f4(0x1a1)])==null?0x0:_0x3edbbf),{'nextDocumentData':_0x769984};}function It(_0x297c51){const _0x2c026a=_0x2402dc;var _0x1977ff,_0xf49dd3;let _0x29bd4f=_0x31a192[_0x2c026a(0x198)](_0x297c51[_0x2c026a(0x1ac)]),_0x464d56=_0x29bd4f[_0x2c026a(0x1c9)],_0x524868=(_0x1977ff=_0x29bd4f['tableSource'])==null?void 0x0:_0x1977ff[_0x297c51[_0x2c026a(0x1a2)]],_0x499e5f=C(_0x29bd4f,_0x297c51[_0x2c026a(0x1a2)]);if(!(_0x464d56!=null&&_0x464d56[_0x2c026a(0x15e)])||!_0x464d56[_0x2c026a(0xe8)]||!_0x524868||!_0x499e5f||_0x297c51[_0x2c026a(0x191)]==null)throw Error('[DocsTable]:\x20Table\x20'+_0x297c51[_0x2c026a(0x1a2)]+'\x20range\x20is\x20not\x20found.');let _0x1f89ba=_0x499e5f[_0x2c026a(0x1d2)],_0x140079=_0x499e5f[_0x2c026a(0x17f)],_0x148d81=_0x464d56[_0x2c026a(0x15e)][_0x2c026a(0x1c0)](_0x1f89ba,_0x140079),_0x579453=_0x148d81[_0x2c026a(0xfc)],_0x5996ee=Rt(_0x297c51[_0x2c026a(0x191)],0x0,_0x464d56[_0x2c026a(0x15e)][_0x2c026a(0xfc)]);if(_0x5996ee>=_0x1f89ba&&_0x5996ee<=_0x140079)return{'nextDocumentData':_0x29bd4f};let _0x2b935a=_0x5996ee>_0x140079?_0x5996ee-_0x579453:_0x5996ee,_0x48eada=_0x464d56[_0x2c026a(0x15e)][_0x2c026a(0x1c0)](0x0,_0x1f89ba)+_0x464d56[_0x2c026a(0x15e)][_0x2c026a(0x1c0)](_0x140079);return _0x464d56[_0x2c026a(0x15e)]=_0x48eada[_0x2c026a(0x1c0)](0x0,_0x2b935a)+_0x148d81+_0x48eada['slice'](_0x2b935a),_0x464d56[_0x2c026a(0xe8)]=_0x464d56[_0x2c026a(0xe8)][_0x2c026a(0xff)](_0x1d011b=>_0x1d011b[_0x2c026a(0x1a2)]===_0x297c51[_0x2c026a(0x1a2)]?{..._0x1d011b,'startIndex':_0x2b935a,'endIndex':_0x2b935a+_0x579453}:{..._0x1d011b,'startIndex':Lt(_0x1d011b[_0x2c026a(0x19e)],_0x1f89ba,_0x140079,_0x5996ee,_0x2b935a,_0x579453),'endIndex':Lt(_0x1d011b[_0x2c026a(0x12d)],_0x1f89ba,_0x140079,_0x5996ee,_0x2b935a,_0x579453)})[_0x2c026a(0x1ec)]((_0x404743,_0x3d4e4f)=>_0x404743['startIndex']-_0x3d4e4f[_0x2c026a(0x19e)]),_0x464d56[_0x2c026a(0x14b)]=(_0xf49dd3=_0x464d56['paragraphs'])==null?void 0x0:_0xf49dd3[_0x2c026a(0xff)](_0x8a0c69=>({..._0x8a0c69,'startIndex':Lt(_0x8a0c69[_0x2c026a(0x19e)],_0x1f89ba,_0x140079,_0x5996ee,_0x2b935a,_0x579453)}))[_0x2c026a(0x1ec)]((_0x27d46a,_0x2b99da)=>_0x27d46a['startIndex']-_0x2b99da[_0x2c026a(0x19e)]),_0x524868[_0x2c026a(0x18a)]=_0x5522cb[_0x2c026a(0x17e)],_0x524868[_0x2c026a(0xd7)][_0x2c026a(0x148)][_0x2c026a(0xf4)]=0x0,_0x524868[_0x2c026a(0xd7)][_0x2c026a(0x119)][_0x2c026a(0xf4)]=0x0,{'nextDocumentData':_0x29bd4f};}function Lt(_0x5379e5,_0x1bbd33,_0x1fb08e,_0x56266c,_0x1f558e,_0x4c5898){return _0x5379e5>=_0x1bbd33&&_0x5379e5<_0x1fb08e?_0x1f558e+_0x5379e5-_0x1bbd33:_0x56266c<_0x1bbd33&&_0x5379e5>=_0x56266c&&_0x5379e5<_0x1bbd33?_0x5379e5+_0x4c5898:_0x56266c>_0x1fb08e&&_0x5379e5>=_0x1fb08e&&_0x5379e5<_0x56266c?_0x5379e5-_0x4c5898:_0x5379e5;}function Rt(_0x5d8ce1,_0x535e09,_0x929c06){const _0x5ef8ce=_0x2402dc;return Math['min'](Math[_0x5ef8ce(0x14a)](_0x5d8ce1,_0x535e09),_0x929c06);}function zt(_0x186a40,_0x421593){const _0x199e82=_0x2402dc;var _0x3ca78b,_0x3fb5ab;return(_0x3ca78b=(_0x3fb5ab=L(_0x186a40)[_0x199e82(0xe8)][_0x421593])==null?void 0x0:_0x3fb5ab['headerRowCount'])==null?0x0:_0x3ca78b;}function Bt(_0x159073){const _0x534f25=_0x2402dc;var _0x21d7d3,_0x18f782;return(_0x21d7d3=(_0x18f782=_0x159073['trHeight'])==null||(_0x18f782=_0x18f782[_0x534f25(0x139)])==null?void 0x0:_0x18f782['v'])==null?0x0:_0x21d7d3;}const Vt={'id':'docs-table.command.distribute-columns','type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x85a1f1,_0x4f9c20)=>{const _0x43d21e=_0x2402dc;var _0x5a45e2,_0x5ea073,_0x219e7c;let _0xcee9c3=_0x85a1f1[_0x43d21e(0x1c8)](_0x34f351),_0x107ed2=_0x85a1f1[_0x43d21e(0x1c8)](_0x3a98e3),_0x3f5564=_0x85a1f1[_0x43d21e(0x1c8)](I),_0xfbb734=_0xcee9c3[_0x43d21e(0x122)](),_0x5abc09=_0x3f5564[_0x43d21e(0x18b)]();if(!_0xfbb734||!_0x5abc09)return!0x1;let _0x485dd5=_0xfbb734['getSnapshot'](),_0x4f3425=Mt({'documentData':_0x485dd5,'tableId':(_0x5a45e2=_0x4f9c20==null?void 0x0:_0x4f9c20['tableId'])==null?_0x5abc09[_0x43d21e(0x1a2)]:_0x5a45e2,'startColumn':(_0x5ea073=_0x4f9c20==null?void 0x0:_0x4f9c20[_0x43d21e(0x186)])==null?_0x5abc09[_0x43d21e(0x186)]:_0x5ea073,'endColumn':(_0x219e7c=_0x4f9c20==null?void 0x0:_0x4f9c20[_0x43d21e(0x146)])==null?_0x5abc09['endColumn']:_0x219e7c});return J(_0x107ed2,_0xfbb734[_0x43d21e(0xdb)](),_0x485dd5,_0x4f3425['nextDocumentData']);}},Ht={'id':_0x2402dc(0x130),'type':_0x5b79de['COMMAND'],'handler':async(_0x25c195,_0x3a61cd)=>{const _0x2001e8=_0x2402dc;var _0x1b9872,_0x31e281,_0x3ff458;let _0x2d0f86=_0x25c195[_0x2001e8(0x1c8)](_0x34f351),_0x23a589=_0x25c195['get'](_0x3a98e3),_0x8894c2=_0x25c195['get'](I),_0x4fac56=_0x2d0f86['getCurrentUniverDocInstance'](),_0x1173dc=_0x8894c2['getCurrentSelection']();if(!_0x4fac56||!_0x1173dc)return!0x1;let _0x4271bf=_0x4fac56[_0x2001e8(0xfd)](),_0x5b7544=jt({'documentData':_0x4271bf,'tableId':(_0x1b9872=_0x3a61cd==null?void 0x0:_0x3a61cd[_0x2001e8(0x1a2)])==null?_0x1173dc['tableId']:_0x1b9872,'startRow':(_0x31e281=_0x3a61cd==null?void 0x0:_0x3a61cd[_0x2001e8(0x19a)])==null?_0x1173dc[_0x2001e8(0x19a)]:_0x31e281,'endRow':(_0x3ff458=_0x3a61cd==null?void 0x0:_0x3a61cd[_0x2001e8(0x126)])==null?_0x1173dc[_0x2001e8(0x126)]:_0x3ff458});return J(_0x23a589,_0x4fac56[_0x2001e8(0xdb)](),_0x4271bf,_0x5b7544['nextDocumentData']);}},Ut={'id':_0x2402dc(0x1ef),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0xeac62,_0x50d950)=>{const _0xac745e=_0x2402dc;var _0x266e6e,_0x2e4ae3,_0x4ee5c;if(!_0x50d950)return!0x1;let _0x517b6c=_0xeac62[_0xac745e(0x1c8)](_0x34f351),_0x220e62=_0xeac62['get'](_0x3a98e3),_0x3be7f3=_0xeac62[_0xac745e(0x1c8)](I),_0x1c98d4=_0x517b6c['getCurrentUniverDocInstance'](),_0x2edcdf=_0x3be7f3[_0xac745e(0x18b)](),_0x39151e=(_0x266e6e=_0x50d950[_0xac745e(0x1a2)])==null?_0x2edcdf==null?void 0x0:_0x2edcdf[_0xac745e(0x1a2)]:_0x266e6e,_0x16c190=(_0x2e4ae3=_0x50d950[_0xac745e(0x1b1)])==null?_0x50d950[_0xac745e(0xd7)]==='left'?_0x2edcdf==null?void 0x0:_0x2edcdf[_0xac745e(0x186)]:_0x2edcdf==null?void 0x0:_0x2edcdf[_0xac745e(0x146)]:_0x2e4ae3;if(!_0x1c98d4||_0x39151e==null||_0x16c190==null)return!0x1;let _0x2d164d=_0x1c98d4['getSnapshot'](),_0x4a6956=(_0x4ee5c=_0x50d950[_0xac745e(0x16a)])==null?_0x2edcdf?Math[_0xac745e(0x14a)](0x1,_0x2edcdf[_0xac745e(0x146)]-_0x2edcdf[_0xac745e(0x186)]+0x1):0x1:_0x4ee5c,_0x5e6bdb=Xe({'documentData':_0x2d164d,'tableId':_0x39151e,'column':_0x16c190,'count':_0x4a6956,'position':_0x50d950[_0xac745e(0xd7)]}),_0x5035b1=J(_0x220e62,_0x1c98d4['getUnitId'](),_0x2d164d,_0x5e6bdb['nextDocumentData']);if(_0x5035b1&&_0x2edcdf){let _0x3e66c9=G(_0x2edcdf,_0x2d164d,{'kind':_0xac745e(0x1a3),'tableId':_0x39151e,'index':_0x5e6bdb[_0xac745e(0x162)][_0xac745e(0x1b1)],'count':_0x4a6956});_0x3e66c9&&_0x3be7f3[_0xac745e(0x1c4)](_0x3e66c9);}return _0x5035b1;}},Wt={'id':_0x2402dc(0x10b),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x5e5e84,_0x40ecde)=>{const _0x598290=_0x2402dc;var _0x5c3cfd,_0x19789e,_0x226e83;if(!_0x40ecde)return!0x1;let _0x510089=_0x5e5e84['get'](_0x34f351),_0x346d15=_0x5e5e84[_0x598290(0x1c8)](_0x3a98e3),_0x14ec4a=_0x5e5e84[_0x598290(0x1c8)](I),_0x107f2e=_0x510089[_0x598290(0x122)](),_0x11d42a=_0x14ec4a[_0x598290(0x18b)](),_0x1ebdf7=(_0x5c3cfd=_0x40ecde[_0x598290(0x1a2)])==null?_0x11d42a==null?void 0x0:_0x11d42a['tableId']:_0x5c3cfd,_0x1af9b9=(_0x19789e=_0x40ecde[_0x598290(0x1e3)])==null?_0x40ecde[_0x598290(0xd7)]==='above'?_0x11d42a==null?void 0x0:_0x11d42a['startRow']:_0x11d42a==null?void 0x0:_0x11d42a['endRow']:_0x19789e;if(!_0x107f2e||_0x1ebdf7==null||_0x1af9b9==null)return!0x1;let _0x4bf69c=_0x107f2e[_0x598290(0xfd)](),_0x337d76=(_0x226e83=_0x40ecde['count'])==null?_0x11d42a?Math[_0x598290(0x14a)](0x1,_0x11d42a[_0x598290(0x126)]-_0x11d42a[_0x598290(0x19a)]+0x1):0x1:_0x226e83,_0x553f50=Ye({'documentData':_0x4bf69c,'tableId':_0x1ebdf7,'row':_0x1af9b9,'count':_0x337d76,'position':_0x40ecde[_0x598290(0xd7)]}),_0x223434=J(_0x346d15,_0x107f2e[_0x598290(0xdb)](),_0x4bf69c,_0x553f50[_0x598290(0x10d)]);if(_0x223434&&_0x11d42a){let _0x2f04b3=G(_0x11d42a,_0x4bf69c,{'kind':_0x598290(0x106),'tableId':_0x1ebdf7,'index':_0x553f50[_0x598290(0x162)][_0x598290(0x1e3)],'count':_0x337d76});_0x2f04b3&&_0x14ec4a[_0x598290(0x1c4)](_0x2f04b3);}return _0x223434;}};function Gt(_0x27c96){const _0x5be5f9=_0x2402dc;var _0x27b82c,_0x1997f0,_0x103e61,_0x1a2132,_0x4747b7;let _0x121b82=_0x31a192[_0x5be5f9(0x198)](_0x27c96['documentData']),_0xd16354=Kt(_0x121b82),_0x9d29a9=qt(_0x27c96),_0x587840=_0x9d29a9['length'],_0x16761f=(_0x27b82c=(_0x1997f0=_0x9d29a9[0x0])==null?void 0x0:_0x1997f0[_0x5be5f9(0xfc)])==null?0x1:_0x27b82c,_0x10b888=Jt(_0xd16354,_0x27c96),_0x1a3661=Yt(_0x9d29a9),_0x155323=_0x1f6900[_0x5be5f9(0xd9)],_0x50904a=''+_0x1a3661[_0x5be5f9(0x15e)]+_0x155323,_0x2dcea7=_0x10b888+_0x1a3661['dataStream']['length'];_0xd16354[_0x5be5f9(0x15e)]=''+_0xd16354[_0x5be5f9(0x15e)]['slice'](0x0,_0x10b888)+_0x50904a+_0xd16354[_0x5be5f9(0x15e)][_0x5be5f9(0x1c0)](_0x10b888),_0xd16354[_0x5be5f9(0x14b)]=[...nn((_0x103e61=_0xd16354['paragraphs'])==null?[]:_0x103e61,_0x10b888,_0x50904a[_0x5be5f9(0xfc)]),..._0x1a3661['paragraphs'][_0x5be5f9(0xff)](_0xd80b61=>({..._0xd80b61,'startIndex':_0xd80b61[_0x5be5f9(0x19e)]+_0x10b888})),{'startIndex':_0x2dcea7}][_0x5be5f9(0x1ec)]((_0x3dec22,_0x3f3b5e)=>_0x3dec22[_0x5be5f9(0x19e)]-_0x3f3b5e['startIndex']),_0xd16354['sectionBreaks']=[...rn((_0x1a2132=_0xd16354[_0x5be5f9(0x17d)])==null?[]:_0x1a2132,_0x10b888,_0x50904a['length']),..._0x1a3661['sectionBreaks'][_0x5be5f9(0xff)](_0x1431ac=>({..._0x1431ac,'startIndex':_0x1431ac[_0x5be5f9(0x19e)]+_0x10b888}))][_0x5be5f9(0x1ec)]((_0x40243a,_0x402100)=>_0x40243a[_0x5be5f9(0x19e)]-_0x402100['startIndex']),_0xd16354[_0x5be5f9(0xe8)]=[...an((_0x4747b7=_0xd16354[_0x5be5f9(0xe8)])==null?[]:_0x4747b7,_0x10b888,_0x50904a['length']),{'startIndex':_0x10b888,'endIndex':_0x2dcea7,'tableId':_0x27c96[_0x5be5f9(0x1a2)]}][_0x5be5f9(0x1ec)]((_0x423d39,_0x555a2e)=>_0x423d39[_0x5be5f9(0x19e)]-_0x555a2e[_0x5be5f9(0x19e)]),_0x121b82[_0x5be5f9(0xea)]={..._0x121b82[_0x5be5f9(0xea)],[_0x27c96['tableId']]:Xt(_0x27c96,_0x587840,_0x16761f)};let _0x14fb21=L(_0x27c96['metadata']),_0x456f50=tn(_0x27c96);return _0x456f50&&(_0x14fb21['tables'][_0x27c96[_0x5be5f9(0x1a2)]]=_0x456f50),{'nextDocumentData':_0x121b82,'nextMetadata':_0x14fb21,'tableId':_0x27c96['tableId']};}function Kt(_0x43729f){const _0x3b11db=_0x2402dc;var _0x2fb3fc,_0x2c8237,_0x1b1d32,_0xe182b0;return _0x43729f[_0x3b11db(0x1c9)]!=null||(_0x43729f['body']={'dataStream':_0x1f6900[_0x3b11db(0x1a6)],'paragraphs':[],'sectionBreaks':[{'startIndex':0x0}],'tables':[]}),(_0x2fb3fc=_0x43729f[_0x3b11db(0x1c9)])[_0x3b11db(0x15e)]!=null||(_0x2fb3fc[_0x3b11db(0x15e)]=_0x1f6900[_0x3b11db(0x1a6)]),(_0x2c8237=_0x43729f[_0x3b11db(0x1c9)])[_0x3b11db(0x14b)]!=null||(_0x2c8237[_0x3b11db(0x14b)]=[]),(_0x1b1d32=_0x43729f[_0x3b11db(0x1c9)])[_0x3b11db(0x17d)]!=null||(_0x1b1d32[_0x3b11db(0x17d)]=[]),(_0xe182b0=_0x43729f[_0x3b11db(0x1c9)])[_0x3b11db(0xe8)]!=null||(_0xe182b0['tables']=[]),_0x43729f[_0x3b11db(0x1c9)];}function qt(_0x13a7ba){const _0x48f34d=_0x2402dc;var _0x42eec5,_0x1f7866,_0x2ad0cd,_0xc9bc4,_0x1c875b,_0x2d95c8;let _0x54ea55=Math[_0x48f34d(0x14a)](0x1,(_0x42eec5=(_0x1f7866=_0x13a7ba[_0x48f34d(0x127)])==null?(_0x2ad0cd=_0x13a7ba[_0x48f34d(0x100)])==null?void 0x0:_0x2ad0cd[_0x48f34d(0xfc)]:_0x1f7866)==null?0x1:_0x42eec5),_0x319217=Math[_0x48f34d(0x14a)](0x0,...(_0xc9bc4=(_0x1c875b=_0x13a7ba[_0x48f34d(0x100)])==null?void 0x0:_0x1c875b[_0x48f34d(0xff)](_0x159cf2=>_0x159cf2['length']))==null?[]:_0xc9bc4),_0x50537a=Math[_0x48f34d(0x14a)](0x1,(_0x2d95c8=_0x13a7ba['columns'])==null?_0x319217||0x1:_0x2d95c8);return Array[_0x48f34d(0x143)]({'length':_0x54ea55},(_0x2b553d,_0xa2cfe4)=>Array['from']({'length':_0x50537a},(_0x427a20,_0x197464)=>{const _0x2fb6fb=_0x48f34d;var _0x22f634,_0x463639;return(_0x22f634=(_0x463639=_0x13a7ba[_0x2fb6fb(0x100)])==null||(_0x463639=_0x463639[_0xa2cfe4])==null?void 0x0:_0x463639[_0x197464])==null?'':_0x22f634;}));}function Jt(_0x2c19bf,_0x5af105){const _0x1f6694=_0x2402dc;if(_0x5af105[_0x1f6694(0xd7)]===_0x1f6694(0x11e)||typeof _0x5af105[_0x1f6694(0x11e)]==_0x1f6694(0x1dc)){var _0xbc8e63;return Math['max'](0x0,Math[_0x1f6694(0xf0)]((_0xbc8e63=_0x5af105['offset'])==null?0x0:_0xbc8e63,_0x2c19bf[_0x1f6694(0x15e)]['length']));}return _0x2c19bf[_0x1f6694(0x15e)]['endsWith'](_0x1f6900[_0x1f6694(0x1a6)])?_0x2c19bf[_0x1f6694(0x15e)]['length']-0x1:_0x2c19bf[_0x1f6694(0x15e)][_0x1f6694(0xfc)];}function Yt(_0x361f1a){const _0x1bc419=_0x2402dc;let _0x632af8=_0x1f6900[_0x1bc419(0x124)],_0x11c442=[],_0x41a804=[];return _0x361f1a['forEach'](_0x22d7eb=>{const _0x4f299f=_0x1bc419;_0x632af8+=_0x1f6900['TABLE_ROW_START'],_0x22d7eb[_0x4f299f(0x1e7)](_0x1f8814=>{const _0x25cc0c=_0x4f299f;_0x632af8+=''+_0x1f6900[_0x25cc0c(0xdf)]+_0x1f8814+_0x1f6900[_0x25cc0c(0xd9)]+_0x1f6900[_0x25cc0c(0x1a6)]+_0x1f6900['TABLE_CELL_END'],_0x11c442['push']({'startIndex':_0x632af8[_0x25cc0c(0xfc)]-0x3}),_0x41a804[_0x25cc0c(0x1be)]({'startIndex':_0x632af8[_0x25cc0c(0xfc)]-0x2});}),_0x632af8+=_0x1f6900[_0x4f299f(0x1db)];}),_0x632af8+=_0x1f6900[_0x1bc419(0x1ca)],{'dataStream':_0x632af8,'paragraphs':_0x11c442,'sectionBreaks':_0x41a804};}function Xt(_0x19bb9f,_0x54531f,_0x2bf076){const _0x4b9e4b=_0x2402dc;var _0x4fb2f5;let _0x322140=en(_0x19bb9f,_0x2bf076);return{'tableRows':Array['from']({'length':_0x54531f},(_0x54b982,_0x3fd247)=>Zt(_0x19bb9f,_0x3fd247,_0x2bf076)),'tableColumns':_0x322140[_0x4b9e4b(0xff)](_0x32de72=>$t(_0x32de72)),'tableId':_0x19bb9f[_0x4b9e4b(0x1a2)],'align':_0x3fb619[_0x4b9e4b(0x11d)],'indent':{'v':0x0},'textWrap':_0x5522cb[_0x4b9e4b(0x17e)],'position':{'positionH':{'relativeFrom':_0x2a06d8[_0x4b9e4b(0x17a)],'posOffset':0x0},'positionV':{'relativeFrom':_0x1bf7f8[_0x4b9e4b(0x17a)],'posOffset':0x0}},'dist':{'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0},'size':{'type':_0x222251[_0x4b9e4b(0x178)],'width':{'v':(_0x4fb2f5=_0x19bb9f[_0x4b9e4b(0x15d)])==null?_0x322140[_0x4b9e4b(0x1d0)]((_0x50b18e,_0x48d47c)=>_0x50b18e+_0x48d47c,0x0):_0x4fb2f5}}};}function Zt(_0x110415,_0x3625ba,_0x40e992){const _0x3f4704=_0x2402dc;var _0x474f24,_0xc16caa,_0x22a882;return{'tableCells':Array[_0x3f4704(0x143)]({'length':_0x40e992},(_0x28444e,_0x479891)=>Qt(_0x110415,_0x3625ba,_0x479891,_0x40e992)),'trHeight':{'val':{'v':(_0x474f24=(_0xc16caa=_0x110415[_0x3f4704(0x115)])==null?void 0x0:_0xc16caa[_0x3625ba])==null?0x1e:_0x474f24},'hRule':_0x109bc9['AT_LEAST']},'repeatHeaderRow':_0x3625ba<((_0x22a882=_0x110415[_0x3f4704(0x15c)])==null?0x0:_0x22a882)?_0x4ec489[_0x3f4704(0x13a)]:_0x4ec489['FALSE']};}function Qt(_0x12a250,_0x11a87a,_0x40420f,_0x3c2d93){const _0x57ca7d=_0x2402dc;let _0xfcbdc1=_0x12a250[_0x57ca7d(0x1b4)]&&_0x11a87a===0x0;return{'margin':{'start':{'v':0xa},'end':{'v':0xa},'top':{'v':0x5},'bottom':{'v':0x5}},..._0xfcbdc1&&_0x40420f===0x0?{'columnSpan':_0x3c2d93}:{},..._0xfcbdc1&&_0x40420f>0x0?{'rowSpan':0x0,'columnSpan':0x0}:{}};}function $t(_0x58e0c5){return{'size':{'type':_0x222251['SPECIFIED'],'width':{'v':_0x58e0c5}}};}function en(_0x3df107,_0x1814c7){const _0x1ea9d8=_0x2402dc;let _0xa556f1=_0x3df107[_0x1ea9d8(0x15d)]?_0x3df107[_0x1ea9d8(0x15d)]/_0x1814c7:0x64;return Array[_0x1ea9d8(0x143)]({'length':_0x1814c7},(_0x26161a,_0x1670e8)=>{var _0x3ac67c,_0x4a1bfb;return(_0x3ac67c=(_0x4a1bfb=_0x3df107['columnWidths'])==null?void 0x0:_0x4a1bfb[_0x1670e8])==null?_0xa556f1:_0x3ac67c;});}function tn(_0x3d3990){const _0x175f97=_0x2402dc;if(!(_0x3d3990[_0x175f97(0x1b4)]==null&&_0x3d3990[_0x175f97(0x15c)]==null&&_0x3d3990['columnTypes']==null))return{..._0x3d3990['titleRow']==null?{}:{'titleRow':_0x3d3990['titleRow']},..._0x3d3990[_0x175f97(0x15c)]==null?{}:{'headerRowCount':_0x3d3990[_0x175f97(0x15c)]},..._0x3d3990[_0x175f97(0x114)]==null?{}:{'columnTypes':_0x3d3990[_0x175f97(0x114)]}};}function nn(_0x2c48cd,_0x58de31,_0x17e67e){const _0x2900fc=_0x2402dc;return _0x2c48cd[_0x2900fc(0xff)](_0x51ba0d=>_0x51ba0d[_0x2900fc(0x19e)]>=_0x58de31?{..._0x51ba0d,'startIndex':_0x51ba0d[_0x2900fc(0x19e)]+_0x17e67e}:_0x51ba0d);}function rn(_0x29d306,_0x1edd58,_0x590b69){const _0x34ddb9=_0x2402dc;return _0x29d306[_0x34ddb9(0xff)](_0x492222=>_0x492222[_0x34ddb9(0x19e)]>=_0x1edd58?{..._0x492222,'startIndex':_0x492222[_0x34ddb9(0x19e)]+_0x590b69}:_0x492222);}function an(_0x1c3952,_0x4b97be,_0xfb9a71){const _0x5f3d64=_0x2402dc;return _0x1c3952[_0x5f3d64(0xff)](_0x400258=>_0x400258[_0x5f3d64(0x19e)]>=_0x4b97be?{..._0x400258,'startIndex':_0x400258[_0x5f3d64(0x19e)]+_0xfb9a71,'endIndex':_0x400258[_0x5f3d64(0x12d)]+_0xfb9a71}:_0x400258);}var Y=class extends _0x563a5a{constructor(..._0x31c5ab){const _0x53146a=_0x2402dc;super(..._0x31c5ab),P(this,_0x53146a(0x19d),new Map()),P(this,'_change$',new _0x5f1f0e()),P(this,'change$',this[_0x53146a(0x1b9)][_0x53146a(0x141)]());}[_0x2402dc(0x1f7)](_0x50cdec,_0x2358d3){const _0x1825db=_0x2402dc;var _0x174223;let _0x2a64e5=(_0x174223=this['_resources'][_0x1825db(0x1c8)](_0x50cdec))==null?void 0x0:_0x174223['tables'][_0x2358d3];if(_0x2a64e5)return L({'tables':{[_0x2358d3]:_0x2a64e5}})[_0x1825db(0xe8)][_0x2358d3];}['setHeaderRowCount'](_0x3e135f,_0x5a81f1,_0x5d2a5b){const _0x2916e5=_0x2402dc;this[_0x2916e5(0xf3)](_0x3e135f,_0x5a81f1,R(this[_0x2916e5(0x19d)][_0x2916e5(0x1c8)](_0x3e135f),_0x5a81f1,_0x5d2a5b));}['setTitleRow'](_0x35e745,_0x2094ab,_0x33b570){const _0x13e60b=_0x2402dc;this[_0x13e60b(0xf3)](_0x35e745,_0x2094ab,qe(this[_0x13e60b(0x19d)]['get'](_0x35e745),_0x2094ab,_0x33b570));}[_0x2402dc(0x1aa)](_0x58a129,_0x4ff72b,_0x4977e1,_0x25b578){const _0x2e6d0c=_0x2402dc;this[_0x2e6d0c(0xf3)](_0x58a129,_0x4ff72b,Je(this['_resources'][_0x2e6d0c(0x1c8)](_0x58a129),_0x4ff72b,_0x4977e1,_0x25b578));}[_0x2402dc(0xfb)](_0x3538a4){const _0x27b7b1=_0x2402dc;return L(this[_0x27b7b1(0x19d)]['get'](_0x3538a4));}['deserialize'](_0x613ad1,_0x572bba){const _0x178229=_0x2402dc;this[_0x178229(0x19d)]['set'](_0x613ad1,L(_0x572bba)),this[_0x178229(0x1b9)][_0x178229(0x153)]({'unitId':_0x613ad1});}[_0x2402dc(0x1c6)](_0x258bb6){const _0x3287de=_0x2402dc;this[_0x3287de(0x19d)][_0x3287de(0x152)](_0x258bb6),this[_0x3287de(0x1b9)]['next']({'unitId':_0x258bb6});}[_0x2402dc(0xe1)](){const _0x399287=_0x2402dc;super[_0x399287(0xe1)](),this['_resources'][_0x399287(0x11a)](),this[_0x399287(0x1b9)][_0x399287(0x1cb)]();}['_setResource'](_0x1f7ac3,_0x2c75bb,_0x15921e){const _0x438af5=_0x2402dc;this[_0x438af5(0x19d)][_0x438af5(0x111)](_0x1f7ac3,_0x15921e),this[_0x438af5(0x1b9)][_0x438af5(0x153)]({'unitId':_0x1f7ac3,'tableId':_0x2c75bb});}};const on={'id':_0x2402dc(0x116),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':(_0x43eee6,_0x5d485c)=>{const _0x1b91b8=_0x2402dc;var _0xdb8b50,_0x30bac8;let _0x2b7d84=_0x43eee6['get'](_0x34f351),_0x436154=_0x43eee6['get'](_0x3a98e3),_0xb0e32e=_0x43eee6['get'](Y),_0x162962=_0x2b7d84[_0x1b91b8(0x122)]();if(!_0x162962)return!0x1;let _0x3bd21c=_0x162962[_0x1b91b8(0xfd)](),_0x260319=(_0xdb8b50=_0x5d485c==null?void 0x0:_0x5d485c[_0x1b91b8(0x1a2)])==null?_0x4b083f(0x6):_0xdb8b50,_0x58b161=Gt({..._0x5d485c,'documentData':_0x3bd21c,'metadata':_0xb0e32e[_0x1b91b8(0xfb)](_0x162962[_0x1b91b8(0xdb)]()),'position':(_0x30bac8=_0x5d485c==null?void 0x0:_0x5d485c['position'])==null?'documentEnd':_0x30bac8,'tableId':_0x260319}),_0x57bdb9=J(_0x436154,_0x162962['getUnitId'](),_0x3bd21c,_0x58b161[_0x1b91b8(0x10d)]);return _0x57bdb9&&_0xb0e32e[_0x1b91b8(0x128)](_0x162962[_0x1b91b8(0xdb)](),_0x58b161['nextMetadata']),_0x57bdb9;}},sn={'id':_0x2402dc(0xf6),'type':_0x5b79de['COMMAND'],'handler':async(_0x3c4a57,_0x44a337)=>{const _0x3ffdd1=_0x2402dc;var _0x168a18;let _0x1cdcad=_0x3c4a57[_0x3ffdd1(0x1c8)](_0x34f351),_0x1bc547=_0x3c4a57[_0x3ffdd1(0x1c8)](_0x3a98e3),_0x19f65f=_0x3c4a57[_0x3ffdd1(0x1c8)](I),_0x1f2e57=_0x3c4a57['get'](Y),_0x9d0d47=_0x1cdcad[_0x3ffdd1(0x122)](),_0x4a8d93=_0x19f65f['getCurrentSelection']();if(!_0x9d0d47||!_0x4a8d93)return!0x1;let _0xf327b7=(_0x168a18=_0x44a337==null?void 0x0:_0x44a337['tableId'])==null?_0x4a8d93[_0x3ffdd1(0x1a2)]:_0x168a18,_0x53a20b=_0x9d0d47['getSnapshot'](),_0x2247f9=kt({'documentData':_0x53a20b,'metadata':_0x1f2e57[_0x3ffdd1(0xfb)](_0x9d0d47[_0x3ffdd1(0xdb)]()),'tableId':_0xf327b7}),_0x14ede9=J(_0x1bc547,_0x9d0d47[_0x3ffdd1(0xdb)](),_0x53a20b,_0x2247f9['nextDocumentData']);return _0x14ede9&&_0x1f2e57[_0x3ffdd1(0xe4)](_0x9d0d47[_0x3ffdd1(0xdb)](),_0xf327b7,!0x0),_0x14ede9;}},cn={'id':_0x2402dc(0x155),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x250085,_0x36d740)=>{const _0x106b19=_0x2402dc;var _0x48dfee,_0x14de6e,_0x1efd98,_0x3bcd89,_0xfa51fd;let _0x40f237=_0x250085['get'](_0x34f351),_0x3ba215=_0x250085[_0x106b19(0x1c8)](_0x3a98e3),_0x2d54e4=_0x250085[_0x106b19(0x1c8)](I),_0xfde518=_0x40f237[_0x106b19(0x122)](),_0x5510fc=_0x2d54e4['getStableTableSelection']();if(!_0xfde518||!_0x5510fc)return!0x1;let _0x51c8a0=_0xfde518['getSnapshot'](),_0x5eeb52={'startRow':(_0x48dfee=_0x36d740==null?void 0x0:_0x36d740[_0x106b19(0x19a)])==null?_0x5510fc[_0x106b19(0x19a)]:_0x48dfee,'endRow':(_0x14de6e=_0x36d740==null?void 0x0:_0x36d740[_0x106b19(0x126)])==null?_0x5510fc[_0x106b19(0x126)]:_0x14de6e,'startColumn':(_0x1efd98=_0x36d740==null?void 0x0:_0x36d740[_0x106b19(0x186)])==null?_0x5510fc[_0x106b19(0x186)]:_0x1efd98,'endColumn':(_0x3bcd89=_0x36d740==null?void 0x0:_0x36d740[_0x106b19(0x146)])==null?_0x5510fc[_0x106b19(0x146)]:_0x3bcd89},_0x429282=(_0xfa51fd=_0x36d740==null?void 0x0:_0x36d740['tableId'])==null?_0x5510fc[_0x106b19(0x1a2)]:_0xfa51fd;if(!be(_0x51c8a0,_0x429282,_0x5eeb52))return!0x1;let _0x268d9b=Se({'documentData':_0x51c8a0,'tableId':_0x429282,..._0x5eeb52}),_0x49e7cc=J(_0x3ba215,_0xfde518[_0x106b19(0xdb)](),_0x51c8a0,_0x268d9b[_0x106b19(0x10d)],{'tableId':_0x429282,'segmentId':_0x5510fc[_0x106b19(0xf1)],..._0x268d9b['range']});return _0x49e7cc&&_0x2d54e4[_0x106b19(0x1c4)]({'kind':'cell','tableId':_0x429282,'segmentId':_0x5510fc['segmentId'],..._0x268d9b[_0x106b19(0x1bb)]}),_0x49e7cc;}},ln={'id':'docs-table.command.move-columns','type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x3580ac,_0x52431c)=>{const _0x3b088b=_0x2402dc;var _0x36f2e1,_0x2ce23d,_0x366d79;if(!_0x52431c)return!0x1;let _0xd83de8=_0x3580ac[_0x3b088b(0x1c8)](_0x34f351),_0x369780=_0x3580ac[_0x3b088b(0x1c8)](_0x3a98e3),_0x38f834=_0x3580ac[_0x3b088b(0x1c8)](I),_0x2da28f=_0xd83de8[_0x3b088b(0x122)](),_0x56a5a4=_0x38f834[_0x3b088b(0x18b)](),_0x41d3d0=(_0x36f2e1=_0x52431c[_0x3b088b(0x1a2)])==null?_0x56a5a4==null?void 0x0:_0x56a5a4[_0x3b088b(0x1a2)]:_0x36f2e1,_0x51756b=(_0x2ce23d=_0x52431c['fromColumn'])==null?_0x56a5a4==null?void 0x0:_0x56a5a4[_0x3b088b(0x186)]:_0x2ce23d;if(!_0x2da28f||_0x41d3d0==null||_0x51756b==null)return!0x1;let _0x2b4075=_0x2da28f[_0x3b088b(0xfd)](),_0x1a7cd8=(_0x366d79=_0x52431c[_0x3b088b(0x16a)])==null?_0x56a5a4?Math[_0x3b088b(0x14a)](0x1,_0x56a5a4[_0x3b088b(0x146)]-_0x56a5a4[_0x3b088b(0x186)]+0x1):0x1:_0x366d79,_0x53ddb8=et({'documentData':_0x2b4075,'tableId':_0x41d3d0,'fromColumn':_0x51756b,'toColumn':_0x52431c[_0x3b088b(0x189)],'count':_0x1a7cd8,'position':_0x52431c['position']}),_0x5a9a0f=J(_0x369780,_0x2da28f['getUnitId'](),_0x2b4075,_0x53ddb8[_0x3b088b(0x10d)]);return _0x5a9a0f&&_0x56a5a4&&_0x38f834[_0x3b088b(0x1c4)]({..._0x56a5a4,'tableId':_0x41d3d0,'startColumn':_0x53ddb8['cursor']['column'],'endColumn':_0x53ddb8[_0x3b088b(0x162)]['column']+_0x1a7cd8-0x1}),_0x5a9a0f;}},un={'id':_0x2402dc(0x1b7),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0xa8987c,_0x150408)=>{const _0xad8621=_0x2402dc;var _0x57eefb,_0x26f8ae,_0x3b3710;if(!_0x150408)return!0x1;let _0x425796=_0xa8987c[_0xad8621(0x1c8)](_0x34f351),_0xc22865=_0xa8987c[_0xad8621(0x1c8)](_0x3a98e3),_0x1b0dfa=_0xa8987c['get'](I),_0x368d99=_0x425796[_0xad8621(0x122)](),_0x375b49=_0x1b0dfa[_0xad8621(0x18b)](),_0x2ec7ce=(_0x57eefb=_0x150408['tableId'])==null?_0x375b49==null?void 0x0:_0x375b49['tableId']:_0x57eefb,_0x1fa0fd=(_0x26f8ae=_0x150408['fromRow'])==null?_0x375b49==null?void 0x0:_0x375b49[_0xad8621(0x19a)]:_0x26f8ae;if(!_0x368d99||_0x2ec7ce==null||_0x1fa0fd==null)return!0x1;let _0x3c0a21=_0x368d99[_0xad8621(0xfd)](),_0x310819=(_0x3b3710=_0x150408['count'])==null?_0x375b49?Math['max'](0x1,_0x375b49[_0xad8621(0x126)]-_0x375b49[_0xad8621(0x19a)]+0x1):0x1:_0x3b3710,_0xdc83eb=$e({'documentData':_0x3c0a21,'tableId':_0x2ec7ce,'fromRow':_0x1fa0fd,'toRow':_0x150408[_0xad8621(0x117)],'count':_0x310819,'position':_0x150408[_0xad8621(0xd7)]}),_0x5b9908=J(_0xc22865,_0x368d99['getUnitId'](),_0x3c0a21,_0xdc83eb[_0xad8621(0x10d)]);return _0x5b9908&&_0x375b49&&_0x1b0dfa['setStructuralSelection']({..._0x375b49,'tableId':_0x2ec7ce,'startRow':_0xdc83eb[_0xad8621(0x162)]['row'],'endRow':_0xdc83eb[_0xad8621(0x162)][_0xad8621(0x1e3)]+_0x310819-0x1}),_0x5b9908;}},dn={'id':'docs-table.command.move-table','type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x1dd0da,_0x496dd8)=>{const _0x1e3761=_0x2402dc;var _0x5f2df9;if(!_0x496dd8)return!0x1;let _0x4c6916=_0x1dd0da[_0x1e3761(0x1c8)](_0x34f351),_0x17fcab=_0x1dd0da['get'](_0x3a98e3),_0x4fe246=_0x1dd0da[_0x1e3761(0x1c8)](I),_0x25fc79=_0x4c6916[_0x1e3761(0x122)](),_0x3d13aa=_0x4fe246[_0x1e3761(0x18b)](),_0x5c5ec4=(_0x5f2df9=_0x496dd8[_0x1e3761(0x1a2)])==null?_0x3d13aa==null?void 0x0:_0x3d13aa[_0x1e3761(0x1a2)]:_0x5f2df9;if(!_0x25fc79||!_0x5c5ec4)return!0x1;let _0x9a234=_0x25fc79['getSnapshot'](),_0x227cdd=Ft({'deltaX':_0x496dd8[_0x1e3761(0x1ba)],'deltaY':_0x496dd8[_0x1e3761(0x1a1)],'documentData':_0x9a234,'tableId':_0x5c5ec4,'targetOffset':_0x496dd8[_0x1e3761(0x191)]});return J(_0x17fcab,_0x25fc79[_0x1e3761(0xdb)](),_0x9a234,_0x227cdd['nextDocumentData']);}},fn={'id':_0x2402dc(0xec),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x333076,_0x8b5d2e)=>{const _0x43afdc=_0x2402dc;var _0x2d499f,_0x476f14,_0x449f69,_0x5ddfd4,_0x519a21;if(!_0x8b5d2e)return!0x1;let _0x5e42a1=_0x333076[_0x43afdc(0x1c8)](_0x34f351),_0xbcc02=_0x333076[_0x43afdc(0x1c8)](_0x3a98e3),_0x52cc29=_0x333076[_0x43afdc(0x1c8)](I),_0x470ef7=_0x5e42a1['getCurrentUniverDocInstance'](),_0xec95c7=_0x52cc29[_0x43afdc(0x18b)]();if(!_0x470ef7||!_0xec95c7)return!0x1;let _0x50d6aa=_0x470ef7[_0x43afdc(0xfd)](),_0x338e3a=ue({'documentData':_0x50d6aa,'tableId':(_0x2d499f=_0x8b5d2e['tableId'])==null?_0xec95c7[_0x43afdc(0x1a2)]:_0x2d499f,'startRow':(_0x476f14=_0x8b5d2e[_0x43afdc(0x19a)])==null?_0xec95c7[_0x43afdc(0x19a)]:_0x476f14,'endRow':(_0x449f69=_0x8b5d2e[_0x43afdc(0x126)])==null?_0xec95c7['endRow']:_0x449f69,'startColumn':(_0x5ddfd4=_0x8b5d2e[_0x43afdc(0x186)])==null?_0xec95c7[_0x43afdc(0x186)]:_0x5ddfd4,'endColumn':(_0x519a21=_0x8b5d2e['endColumn'])==null?_0xec95c7['endColumn']:_0x519a21,'text':_0x8b5d2e[_0x43afdc(0x175)]});return J(_0xbcc02,_0x470ef7[_0x43afdc(0xdb)](),_0x50d6aa,_0x338e3a['nextDocumentData']);}},pn={'id':_0x2402dc(0x1ea),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x19513a,_0x3253a6)=>{const _0x59428f=_0x2402dc;var _0x7e3f37,_0x436123;if(!_0x3253a6)return!0x1;let _0xe8c8ca=_0x19513a[_0x59428f(0x1c8)](_0x34f351),_0xdc31f4=_0x19513a[_0x59428f(0x1c8)](_0x3a98e3),_0x1c52ec=_0x19513a[_0x59428f(0x1c8)](I),_0x5a66aa=_0xe8c8ca['getCurrentUniverDocInstance'](),_0x3d2add=_0x1c52ec[_0x59428f(0x18b)](),_0xb061d3=(_0x7e3f37=_0x3253a6[_0x59428f(0x1a2)])==null?_0x3d2add==null?void 0x0:_0x3d2add[_0x59428f(0x1a2)]:_0x7e3f37,_0x32e3f6=(_0x436123=_0x3253a6[_0x59428f(0x1b1)])==null?_0x3d2add==null?void 0x0:_0x3d2add[_0x59428f(0x186)]:_0x436123;if(!_0x5a66aa||_0xb061d3==null||_0x32e3f6==null)return!0x1;let _0x4561a3=_0x5a66aa[_0x59428f(0xfd)](),_0x507d9e=Pt({'documentData':_0x4561a3,'tableId':_0xb061d3,'column':_0x32e3f6,'width':_0x3253a6[_0x59428f(0x15d)]});return J(_0xdc31f4,_0x5a66aa['getUnitId'](),_0x4561a3,_0x507d9e[_0x59428f(0x10d)]);}},mn={'id':_0x2402dc(0x12c),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x341986,_0x436a7c)=>{const _0xa8bed0=_0x2402dc;var _0x30a1a0,_0x224317;if(!_0x436a7c)return!0x1;let _0x976e19=_0x341986[_0xa8bed0(0x1c8)](_0x34f351),_0x19c438=_0x341986[_0xa8bed0(0x1c8)](_0x3a98e3),_0x48fa8b=_0x341986[_0xa8bed0(0x1c8)](I),_0x2f70fd=_0x976e19[_0xa8bed0(0x122)](),_0x2ec2b0=_0x48fa8b[_0xa8bed0(0x18b)](),_0x1f9d16=(_0x30a1a0=_0x436a7c[_0xa8bed0(0x1a2)])==null?_0x2ec2b0==null?void 0x0:_0x2ec2b0[_0xa8bed0(0x1a2)]:_0x30a1a0,_0x9c27f1=(_0x224317=_0x436a7c[_0xa8bed0(0x1e3)])==null?_0x2ec2b0==null?void 0x0:_0x2ec2b0[_0xa8bed0(0x19a)]:_0x224317;if(!_0x2f70fd||_0x1f9d16==null||_0x9c27f1==null)return!0x1;let _0x3e646b=_0x2f70fd[_0xa8bed0(0xfd)](),_0x285f8a=Nt({'documentData':_0x3e646b,'tableId':_0x1f9d16,'row':_0x9c27f1,'height':_0x436a7c['height']});return J(_0x19c438,_0x2f70fd[_0xa8bed0(0xdb)](),_0x3e646b,_0x285f8a[_0xa8bed0(0x10d)]);}},hn={'id':_0x2402dc(0x135),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x1902a9,_0x3bc84a)=>{const _0x3d3110=_0x2402dc;var _0x3fa074,_0x19f51a;if(!_0x3bc84a)return!0x1;let _0x1ecdee=_0x1902a9[_0x3d3110(0x1c8)](_0x34f351),_0x7274ec=_0x1902a9[_0x3d3110(0x1c8)](I),_0xbde623=_0x1902a9['get'](Y),_0x333054=_0x1ecdee['getCurrentUniverDocInstance'](),_0x8cb096=_0x7274ec[_0x3d3110(0x18b)]();return!_0x333054||!_0x8cb096?!0x1:(_0xbde623[_0x3d3110(0x1aa)](_0x333054['getUnitId'](),(_0x3fa074=_0x3bc84a[_0x3d3110(0x1a2)])==null?_0x8cb096[_0x3d3110(0x1a2)]:_0x3fa074,(_0x19f51a=_0x3bc84a[_0x3d3110(0x1b1)])==null?_0x8cb096['startColumn']:_0x19f51a,_0x3bc84a[_0x3d3110(0xe0)]),!0x0);}},gn={'id':_0x2402dc(0x16c),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x1811d4,_0x2ce244)=>{const _0xe8bce6=_0x2402dc;var _0x361c52,_0x24f04b,_0x3e7199;let _0x4080f6=_0x1811d4[_0xe8bce6(0x1c8)](_0x34f351),_0x219903=_0x1811d4[_0xe8bce6(0x1c8)](_0x3a98e3),_0x390ae2=_0x1811d4['get'](I),_0x1f2ffb=_0x1811d4[_0xe8bce6(0x1c8)](Y),_0x3400b5=_0x4080f6[_0xe8bce6(0x122)](),_0x321d38=_0x390ae2[_0xe8bce6(0x18b)]();if(!_0x3400b5)return!0x1;let _0x21f057=(_0x361c52=_0x2ce244==null?void 0x0:_0x2ce244[_0xe8bce6(0x1a2)])==null?_0x321d38==null?void 0x0:_0x321d38[_0xe8bce6(0x1a2)]:_0x361c52,_0x42f88c=(_0x24f04b=_0x2ce244==null?void 0x0:_0x2ce244[_0xe8bce6(0x1e3)])==null?_0x321d38==null?void 0x0:_0x321d38[_0xe8bce6(0x126)]:_0x24f04b;if(_0x21f057==null||(_0x2ce244==null?void 0x0:_0x2ce244[_0xe8bce6(0x15c)])==null&&_0x42f88c==null)return!0x1;let _0x426db5=(_0x3e7199=_0x2ce244==null?void 0x0:_0x2ce244[_0xe8bce6(0x15c)])==null?_0x42f88c+0x1:_0x3e7199,_0x28791c=_0x3400b5[_0xe8bce6(0xfd)](),_0x203e1d=At({'documentData':_0x28791c,'metadata':_0x1f2ffb['serialize'](_0x3400b5['getUnitId']()),'tableId':_0x21f057,'headerRowCount':_0x426db5}),_0x3cb9d1=J(_0x219903,_0x3400b5['getUnitId'](),_0x28791c,_0x203e1d[_0xe8bce6(0x10d)]);if(_0x3cb9d1){var _0x2fd04b,_0x337965;_0x1f2ffb[_0xe8bce6(0x129)](_0x3400b5[_0xe8bce6(0xdb)](),_0x21f057,(_0x2fd04b=(_0x337965=_0x203e1d[_0xe8bce6(0x1ed)])==null||(_0x337965=_0x337965[_0xe8bce6(0xe8)][_0x21f057])==null?void 0x0:_0x337965[_0xe8bce6(0x15c)])==null?_0x426db5:_0x2fd04b);}return _0x3cb9d1;}},_n={'color':{'rgb':'#1f1f1f'},'width':{'v':0x1}},X={'color':{'rgb':'transparent'},'width':{'v':0x0}};function vn(_0x5eb653){const _0x533bd1=_0x2402dc;var _0x5d5b43,_0x55e61a;let _0x4faf0c=_0x31a192['deepClone'](_0x5eb653['documentData']),_0x9aede1=(_0x5d5b43=_0x4faf0c[_0x533bd1(0xea)])==null?void 0x0:_0x5d5b43[_0x5eb653[_0x533bd1(0x1a2)]];if(!_0x9aede1)throw Error('[DocsTable]:\x20Table\x20'+_0x5eb653['tableId']+_0x533bd1(0x12a));let _0x55ad5f=Tn(_0x5eb653),_0x327694=(_0x55e61a=_0x5eb653[_0x533bd1(0x1d3)])==null?_n:_0x55e61a;for(let _0x2e4df6=_0x55ad5f[_0x533bd1(0x19a)];_0x2e4df6<=_0x55ad5f[_0x533bd1(0x126)];_0x2e4df6++)for(let _0x56f075=_0x55ad5f[_0x533bd1(0x186)];_0x56f075<=_0x55ad5f[_0x533bd1(0x146)];_0x56f075++){var _0x4760e7;let _0x26c37e=(_0x4760e7=_0x9aede1['tableRows'][_0x2e4df6])==null?void 0x0:_0x4760e7[_0x533bd1(0xf2)][_0x56f075];if(!_0x26c37e)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x26c37e[_0x533bd1(0x187)]=xn(_0x5eb653[_0x533bd1(0x1b6)],_0x2e4df6,_0x55ad5f)?_0x327694:X,_0x26c37e['borderBottom']=Sn(_0x5eb653[_0x533bd1(0x1b6)],_0x2e4df6,_0x55ad5f)?_0x327694:X,_0x26c37e[_0x533bd1(0x102)]=Cn(_0x5eb653[_0x533bd1(0x1b6)],_0x56f075,_0x55ad5f)?_0x327694:X,_0x26c37e[_0x533bd1(0x113)]=wn(_0x5eb653[_0x533bd1(0x1b6)],_0x56f075,_0x55ad5f)?_0x327694:X;}return Dn(_0x9aede1,_0x55ad5f,{'top':xn(_0x5eb653[_0x533bd1(0x1b6)],_0x55ad5f[_0x533bd1(0x19a)],_0x55ad5f)?_0x327694:X,'left':Cn(_0x5eb653[_0x533bd1(0x1b6)],_0x55ad5f['startColumn'],_0x55ad5f)?_0x327694:X}),{'nextDocumentData':_0x4faf0c};}function yn(_0x4ca0a7){const _0x3b6356=_0x2402dc;var _0x7e42ab;let _0x2390a=_0x31a192[_0x3b6356(0x198)](_0x4ca0a7[_0x3b6356(0x1ac)]),_0x32c2b7=(_0x7e42ab=_0x2390a['tableSource'])==null?void 0x0:_0x7e42ab[_0x4ca0a7[_0x3b6356(0x1a2)]];if(!_0x32c2b7)throw Error(_0x3b6356(0x18d)+_0x4ca0a7[_0x3b6356(0x1a2)]+'\x20is\x20not\x20found.');return En(_0x4ca0a7,(_0x78443d,_0x36616d)=>{const _0x391e51=_0x3b6356;var _0x1ef80b;let _0x3a5fed=(_0x1ef80b=_0x32c2b7[_0x391e51(0x165)][_0x78443d])==null?void 0x0:_0x1ef80b[_0x391e51(0xf2)][_0x36616d];if(!_0x3a5fed)throw Error(_0x391e51(0x1ae));_0x3a5fed[_0x391e51(0x13d)]={'rgb':_0x4ca0a7[_0x391e51(0x159)]};}),{'nextDocumentData':_0x2390a};}function bn(_0x16508c){const _0x4d9c80=_0x2402dc;var _0x19aad7;let _0x28ff3a=_0x31a192['deepClone'](_0x16508c[_0x4d9c80(0x1ac)]),_0x391988=(_0x19aad7=_0x28ff3a[_0x4d9c80(0xea)])==null?void 0x0:_0x19aad7[_0x16508c[_0x4d9c80(0x1a2)]];if(!_0x391988)throw Error('[DocsTable]:\x20Table\x20'+_0x16508c['tableId']+'\x20is\x20not\x20found.');return En(_0x16508c,(_0x53ec0a,_0x7adbb4)=>{const _0x2a8563=_0x4d9c80;var _0x292c97;let _0x266df=(_0x292c97=_0x391988['tableRows'][_0x53ec0a])==null?void 0x0:_0x292c97['tableCells'][_0x7adbb4];if(!_0x266df)throw Error(_0x2a8563(0x1ae));_0x266df['borderTop']=Z(_0x266df[_0x2a8563(0x187)],_0x16508c[_0x2a8563(0x1d3)]),_0x266df[_0x2a8563(0x13b)]=Z(_0x266df[_0x2a8563(0x13b)],_0x16508c[_0x2a8563(0x1d3)]),_0x266df['borderLeft']=Z(_0x266df[_0x2a8563(0x102)],_0x16508c[_0x2a8563(0x1d3)]),_0x266df[_0x2a8563(0x113)]=Z(_0x266df[_0x2a8563(0x113)],_0x16508c[_0x2a8563(0x1d3)]);}),Dn(_0x391988,Tn(_0x16508c),{'top':_0x16508c[_0x4d9c80(0x1d3)],'left':_0x16508c[_0x4d9c80(0x1d3)],'merge':!0x0}),{'nextDocumentData':_0x28ff3a};}function xn(_0x18c2ff,_0x5d5690,_0x481c65){const _0x382f9e=_0x2402dc;return _0x18c2ff==='all'||_0x18c2ff===_0x382f9e(0x1bd)||_0x18c2ff===_0x382f9e(0x118)&&_0x5d5690===_0x481c65[_0x382f9e(0x19a)]||_0x18c2ff===_0x382f9e(0x1c1)&&_0x5d5690>_0x481c65['startRow']||_0x18c2ff===_0x382f9e(0x1eb)&&_0x5d5690>_0x481c65[_0x382f9e(0x19a)];}function Sn(_0x315706,_0xb94830,_0x169bf4){const _0x150696=_0x2402dc;return _0x315706===_0x150696(0x184)||_0x315706===_0x150696(0x123)||_0x315706==='outer'&&_0xb94830===_0x169bf4[_0x150696(0x126)];}function Cn(_0x56b5bd,_0x346702,_0x1b92ff){const _0x21f12f=_0x2402dc;return _0x56b5bd===_0x21f12f(0x184)||_0x56b5bd===_0x21f12f(0x150)||_0x56b5bd==='outer'&&_0x346702===_0x1b92ff[_0x21f12f(0x186)]||_0x56b5bd==='innerVertical'&&_0x346702>_0x1b92ff[_0x21f12f(0x186)]||_0x56b5bd===_0x21f12f(0x1eb)&&_0x346702>_0x1b92ff[_0x21f12f(0x186)];}function _0x2eaa(){const _0x4f8d47=['config','dispose','\x20is\x20out\x20of\x20range.','tableColumns','setTitleRow','metadata','border-width','registerCommand','tables','7775148nzlHiG','tableSource','direction','docs-table.command.paste-without-formatting','_injector','dashStyle','UNIVER_DOC','min','segmentId','tableCells','_setResource','posOffset','fromColumn','docs-table.command.insert-title-row','includes','onStarting','checkbox','merge','serialize','length','getSnapshot','RECT','map','values','true','borderLeft','replace','docs-table.command.set-table-border-color','date','insert-rows','colspan','docs-table.command.set-table-border-width','join','getActiveTextRange','docs-table.command.insert-rows','customDecorations','nextDocumentData','158949dlviMX','[DocsTable]:\x20Cannot\x20unmerge\x20an\x20unmerged\x20cell.','getStableTableSelection','set','replaceOp','borderRight','columnTypes','rowHeights','docs-table.command.insert-table','toRow','outer','positionV','clear','border-color','cells','START','offset','docs-table.command.unmerge-cells','fromRow','style','getCurrentUniverDocInstance','bottom','TABLE_START','emitCurrentSelection','endRow','rows','deserialize','setHeaderRowCount','\x20is\x20not\x20found.','8337780EfgCas','docs-table.command.resize-row','endIndex','delete-table','match','docs-table.command.distribute-rows','splice','delete-rows','object','yes','docs-table.command.set-column-type','getRectRanges','isFinite','value','val','TRUE','borderBottom','textRuns','backgroundColor','string','parseFromString','decorate','asObservable','subscribe','from','parse','columnCount','endColumn','blockRanges','positionH','AT_LEAST','max','paragraphs','split','toPrimitive','COMMAND','TABLE_ROW_START','left','TABLE_CELL_END','delete','next','defineProperty','docs-table.command.merge-cells','FALSE','docs-table.command.set-table-border-style','rowText','color','deleteTable','isFirstRow','headerRowCount','width','dataStream','start','right','[DocsTable]:\x20Cell\x20','cursor','DOT','629268hgyekI','tableRows','DASH','@univerjs-pro/docs-table','customBlocks','end','count','_getCurrentDoc','docs-table.command.set-header-row-count','delete-columns','stringify','clearStructuralSelection','_univerInstanceService','21515247WRzDox','_structuralSelection','table','call','text','0.24.0-insiders.20260528-29f582d','148rKzdIP','SPECIFIED','_nativeSelectionSuppressed','PAGE','some','trHeight','sectionBreaks','NONE','endOffset','#1f1f1f','_config','296QMbYzc','DOC_TABLE_PLUGIN','all','cell','startColumn','borderTop','getOwnPropertyDescriptor','toColumn','textWrap','getCurrentSelection','borderColor','[DocsTable]:\x20Table\x20','59178OGHTxO','background','[DocsTable]:\x20Cannot\x20merge\x20a\x20non-rectangular\x20or\x20already\x20merged\x20selection.','targetOffset','_canCombineRectRanges','height','html','find','customRanges','replaceDocRanges','deepClone','getAttribute','startRow','columnSpan','docs-table.command.set-table-background','_resources','startIndex','18524sCjtGQ','checked','deltaY','tableId','insert-columns','function','_initCommands','SECTION_BREAK','children','index','filter','setColumnType','_selectionChange$','documentData','docs-table.config','[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.','columnWidths','_docSelectionManagerService','column','abs','[DocsTable]:\x20Row\x20','titleRow','compose','preset','docs-table.command.move-rows','\x5cs*:\x5cs*([0-9.]+)px','_change$','deltaX','range','rowSpan','top','push','docs-table.command.set-table-border','slice','innerHorizontal','flatMap','version','setStructuralSelection','_getSelectionFromRectRanges','removeUnit','type','get','body','TABLE_END','complete','isNaN','_docsTableModel','\x5cs*:\x5cs*([^;]+)','every','reduce','setConfig','startOffset','border','selectionChange$','packageName','WRAP','_getSelectionFromActiveTextRange','_resourceManagerService','querySelector','rowspan','TABLE_ROW_END','number','toLowerCase','repeatHeaderRow','textContent','pluginName','trim','iterator','row','docs-table','_initResource','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','forEach','kind','add','docs-table.command.resize-column','inner','sort','nextMetadata','docs-table.command.delete-rows','docs-table.command.insert-columns','[DocsTable]:\x20Column\x20','querySelectorAll','clearNativeSelection','\x20range\x20is\x20not\x20found.','size','getInstance','disposeWithMe','getTableMetadata','docs-table.command.copy-selection','rowCount','above','position','borderWidth','PARAGRAPH','docs-table.command.delete-columns','getUnitId','_commandService','symbol','_configService','TABLE_CELL_START'];_0x2eaa=function(){return _0x4f8d47;};return _0x2eaa();}function wn(_0x5c7528,_0x1f49d9,_0x1c73ab){const _0x2bdf77=_0x2402dc;return _0x5c7528===_0x2bdf77(0x184)||_0x5c7528===_0x2bdf77(0x160)||_0x5c7528==='outer'&&_0x1f49d9===_0x1c73ab['endColumn'];}function Tn(_0x18966e){const _0x414155=_0x2402dc;return{'startRow':Math[_0x414155(0xf0)](_0x18966e[_0x414155(0x19a)],_0x18966e['endRow']),'endRow':Math['max'](_0x18966e[_0x414155(0x19a)],_0x18966e['endRow']),'startColumn':Math[_0x414155(0xf0)](_0x18966e[_0x414155(0x186)],_0x18966e[_0x414155(0x146)]),'endColumn':Math[_0x414155(0x14a)](_0x18966e[_0x414155(0x186)],_0x18966e['endColumn'])};}function En(_0x25eb5f,_0x299d5d){const _0x1e90f2=_0x2402dc;let _0x7ec3f6=Tn(_0x25eb5f);for(let _0x2d588e=_0x7ec3f6['startRow'];_0x2d588e<=_0x7ec3f6[_0x1e90f2(0x126)];_0x2d588e++)for(let _0x4a50cd=_0x7ec3f6[_0x1e90f2(0x186)];_0x4a50cd<=_0x7ec3f6[_0x1e90f2(0x146)];_0x4a50cd++)_0x299d5d(_0x2d588e,_0x4a50cd);}function Z(_0x346562,_0x1ffbeb){const _0x617160=_0x2402dc;var _0x2ec64d,_0x3563b7,_0x577132,_0x3fff90,_0x172502;return{'color':(_0x2ec64d=(_0x3563b7=_0x1ffbeb[_0x617160(0x159)])==null?_0x346562==null?void 0x0:_0x346562[_0x617160(0x159)]:_0x3563b7)==null?_n[_0x617160(0x159)]:_0x2ec64d,'width':(_0x577132=(_0x3fff90=_0x1ffbeb[_0x617160(0x15d)])==null?_0x346562==null?void 0x0:_0x346562[_0x617160(0x15d)]:_0x3fff90)==null?_n[_0x617160(0x15d)]:_0x577132,'dashStyle':(_0x172502=_0x1ffbeb['dashStyle'])==null?_0x346562==null?void 0x0:_0x346562[_0x617160(0xee)]:_0x172502};}function Dn(_0x5427b5,_0x52754b,_0x3e0c5b){const _0x425ecb=_0x2402dc;if(_0x52754b[_0x425ecb(0x19a)]>0x0){let _0x125735=_0x5427b5[_0x425ecb(0x165)][_0x52754b[_0x425ecb(0x19a)]-0x1];for(let _0x58008e=_0x52754b[_0x425ecb(0x186)];_0x58008e<=_0x52754b[_0x425ecb(0x146)];_0x58008e++){let _0x385d53=_0x125735==null?void 0x0:_0x125735['tableCells'][_0x58008e];if(!_0x385d53)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x385d53[_0x425ecb(0x13b)]=_0x3e0c5b['merge']?Z(_0x385d53['borderBottom'],_0x3e0c5b[_0x425ecb(0x1bd)]):_0x3e0c5b[_0x425ecb(0x1bd)];}}if(_0x52754b['startColumn']>0x0)for(let _0x2a8969=_0x52754b[_0x425ecb(0x19a)];_0x2a8969<=_0x52754b[_0x425ecb(0x126)];_0x2a8969++){var _0x4eaa74;let _0xf25ebc=(_0x4eaa74=_0x5427b5[_0x425ecb(0x165)][_0x2a8969])==null?void 0x0:_0x4eaa74['tableCells'][_0x52754b['startColumn']-0x1];if(!_0xf25ebc)throw Error(_0x425ecb(0x1ae));_0xf25ebc[_0x425ecb(0x113)]=_0x3e0c5b[_0x425ecb(0xfa)]?Z(_0xf25ebc['borderRight'],_0x3e0c5b[_0x425ecb(0x150)]):_0x3e0c5b[_0x425ecb(0x150)];}}const On={'id':_0x2402dc(0x19c),'type':_0x5b79de['COMMAND'],'handler':async(_0x7f0895,_0x337cac)=>{const _0x1ce49e=_0x2402dc;var _0x33358c,_0x2a02ba,_0xe57cc4,_0x1e8a51,_0x382b8d,_0x3e3703;let _0x3415a8=(_0x33358c=_0x337cac==null?void 0x0:_0x337cac[_0x1ce49e(0x159)])==null?_0x337cac==null?void 0x0:_0x337cac[_0x1ce49e(0x138)]:_0x33358c;if(!_0x3415a8)return!0x1;let _0x41242e=_0x7f0895[_0x1ce49e(0x1c8)](_0x34f351),_0x270e25=_0x7f0895[_0x1ce49e(0x1c8)](_0x3a98e3),_0x52327b=_0x7f0895['get'](I),_0x56ef9d=_0x41242e[_0x1ce49e(0x122)](),_0x4f262d=An(_0x52327b),_0xb182c7=_0x337cac&&kn(_0x337cac)?_0x337cac:null,_0x507bc2=(_0x2a02ba=_0x337cac==null?void 0x0:_0x337cac[_0x1ce49e(0x1a2)])==null?_0x4f262d==null?void 0x0:_0x4f262d[_0x1ce49e(0x1a2)]:_0x2a02ba;if(!_0x56ef9d||!_0x507bc2||!_0x4f262d&&!_0xb182c7)return!0x1;let _0x2d4800={'startRow':(_0xe57cc4=_0xb182c7==null?void 0x0:_0xb182c7[_0x1ce49e(0x19a)])==null?_0x4f262d[_0x1ce49e(0x19a)]:_0xe57cc4,'endRow':(_0x1e8a51=_0xb182c7==null?void 0x0:_0xb182c7['endRow'])==null?_0x4f262d['endRow']:_0x1e8a51,'startColumn':(_0x382b8d=_0xb182c7==null?void 0x0:_0xb182c7[_0x1ce49e(0x186)])==null?_0x4f262d[_0x1ce49e(0x186)]:_0x382b8d,'endColumn':(_0x3e3703=_0xb182c7==null?void 0x0:_0xb182c7['endColumn'])==null?_0x4f262d['endColumn']:_0x3e3703},_0x184758=_0x56ef9d['getSnapshot'](),_0x4d159f=yn({'documentData':_0x184758,'tableId':_0x507bc2,..._0x2d4800,'color':_0x3415a8}),_0x2d3c1d=J(_0x270e25,_0x56ef9d[_0x1ce49e(0xdb)](),_0x184758,_0x4d159f[_0x1ce49e(0x10d)],{'tableId':_0x507bc2,'segmentId':_0x4f262d==null?void 0x0:_0x4f262d[_0x1ce49e(0xf1)],..._0x2d4800});if(_0x2d3c1d){var _0x373c8f;_0x52327b[_0x1ce49e(0x1c4)]({'kind':(_0x373c8f=_0x4f262d==null?void 0x0:_0x4f262d[_0x1ce49e(0x1e8)])==null?_0x1ce49e(0x1bb):_0x373c8f,'tableId':_0x507bc2,'segmentId':_0x4f262d==null?void 0x0:_0x4f262d[_0x1ce49e(0xf1)],..._0x2d4800});}return _0x2d3c1d;}};function kn(_0x3e8580){const _0x36b9bb=_0x2402dc;return _0x3e8580[_0x36b9bb(0x19a)]!=null&&_0x3e8580['endRow']!=null&&_0x3e8580[_0x36b9bb(0x186)]!=null&&_0x3e8580[_0x36b9bb(0x146)]!=null;}function An(_0x263584){const _0x54cd2=_0x2402dc;var _0x207e94,_0x2e4f7c;return(_0x207e94=(_0x2e4f7c=_0x263584[_0x54cd2(0x110)])==null?void 0x0:_0x2e4f7c['call'](_0x263584))==null?_0x263584['getCurrentSelection']():_0x207e94;}const jn={'id':_0x2402dc(0x104),'type':_0x5b79de['COMMAND'],'handler':async(_0x25ab91,_0x1f73d5)=>{const _0x296754=_0x2402dc;var _0x2ef49e;let _0x2788da=(_0x2ef49e=_0x1f73d5==null?void 0x0:_0x1f73d5[_0x296754(0x159)])==null?_0x1f73d5==null?void 0x0:_0x1f73d5['value']:_0x2ef49e;return _0x2788da?Mn(_0x25ab91,_0x1f73d5,{'color':{'rgb':_0x2788da}}):!0x1;}};async function Mn(_0x5287c3,_0x5b534b,_0x415b8b){const _0x21a489=_0x2402dc;var _0x264875,_0x2dca33,_0x416a1b,_0x1d7001,_0x56e48a;let _0x27717c=_0x5287c3[_0x21a489(0x1c8)](_0x34f351),_0x2ec875=_0x5287c3['get'](_0x3a98e3),_0x4d5724=_0x5287c3[_0x21a489(0x1c8)](I),_0x2cb475=_0x27717c[_0x21a489(0x122)](),_0x5b4aef=An(_0x4d5724),_0x6333ff=_0x5b534b&&Nn(_0x5b534b)?_0x5b534b:null,_0x5cd46e=(_0x264875=_0x5b534b==null?void 0x0:_0x5b534b[_0x21a489(0x1a2)])==null?_0x5b4aef==null?void 0x0:_0x5b4aef['tableId']:_0x264875;if(!_0x2cb475||!_0x5cd46e||!_0x5b4aef&&!_0x6333ff)return!0x1;let _0x4eedf6={'startRow':(_0x2dca33=_0x6333ff==null?void 0x0:_0x6333ff[_0x21a489(0x19a)])==null?_0x5b4aef[_0x21a489(0x19a)]:_0x2dca33,'endRow':(_0x416a1b=_0x6333ff==null?void 0x0:_0x6333ff[_0x21a489(0x126)])==null?_0x5b4aef['endRow']:_0x416a1b,'startColumn':(_0x1d7001=_0x6333ff==null?void 0x0:_0x6333ff[_0x21a489(0x186)])==null?_0x5b4aef[_0x21a489(0x186)]:_0x1d7001,'endColumn':(_0x56e48a=_0x6333ff==null?void 0x0:_0x6333ff[_0x21a489(0x146)])==null?_0x5b4aef['endColumn']:_0x56e48a},_0x4f9579=_0x2cb475[_0x21a489(0xfd)](),_0x38faf5=bn({'documentData':_0x4f9579,'tableId':_0x5cd46e,..._0x4eedf6,'border':_0x415b8b}),_0x38d4bf=J(_0x2ec875,_0x2cb475['getUnitId'](),_0x4f9579,_0x38faf5[_0x21a489(0x10d)],{'tableId':_0x5cd46e,'segmentId':_0x5b4aef==null?void 0x0:_0x5b4aef[_0x21a489(0xf1)],..._0x4eedf6});if(_0x38d4bf){var _0x28e422;_0x4d5724[_0x21a489(0x1c4)]({'kind':(_0x28e422=_0x5b4aef==null?void 0x0:_0x5b4aef[_0x21a489(0x1e8)])==null?'range':_0x28e422,'tableId':_0x5cd46e,'segmentId':_0x5b4aef==null?void 0x0:_0x5b4aef[_0x21a489(0xf1)],..._0x4eedf6});}return _0x38d4bf;}function Nn(_0x54e1bc){const _0xf90f2d=_0x2402dc;return _0x54e1bc['startRow']!=null&&_0x54e1bc[_0xf90f2d(0x126)]!=null&&_0x54e1bc[_0xf90f2d(0x186)]!=null&&_0x54e1bc[_0xf90f2d(0x146)]!=null;}const Pn={'id':_0x2402dc(0x157),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x269fdb,_0xcb9b41)=>{const _0x24c35d=_0x2402dc;var _0x5b3f7c;let _0x5f1e76=(_0x5b3f7c=_0xcb9b41==null?void 0x0:_0xcb9b41[_0x24c35d(0xee)])==null?_0xcb9b41==null?void 0x0:_0xcb9b41['value']:_0x5b3f7c;return _0x5f1e76==null?!0x1:Mn(_0x269fdb,_0xcb9b41,{'dashStyle':Fn(_0x5f1e76)});}};function Fn(_0x3361f4){const _0x5c2c86=_0x2402dc;return typeof _0x3361f4==_0x5c2c86(0x1dc)?_0x3361f4:_0x3361f4==='dot'?_0x5b37a0[_0x5c2c86(0x163)]:_0x3361f4==='dash'?_0x5b37a0[_0x5c2c86(0x166)]:_0x5b37a0['SOLID'];}const In={'id':_0x2402dc(0x108),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x24f279,_0x150899)=>{const _0x51f6f4=_0x2402dc;var _0x3378fb;let _0x598c9a=(_0x3378fb=_0x150899==null?void 0x0:_0x150899[_0x51f6f4(0x15d)])==null?_0x150899==null?void 0x0:_0x150899[_0x51f6f4(0x138)]:_0x3378fb;return _0x598c9a==null?!0x1:Mn(_0x24f279,_0x150899,{'width':{'v':_0x598c9a}});}},Ln={'id':_0x2402dc(0x1bf),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x1a3f52,_0x267511)=>{const _0x28a82b=_0x2402dc;var _0x4405ed,_0x15ab9e,_0x4e1256,_0x3d0eb7,_0x1bb7ac;if(!_0x267511)return!0x1;let _0x58eebe=_0x1a3f52[_0x28a82b(0x1c8)](_0x34f351),_0x22108b=_0x1a3f52[_0x28a82b(0x1c8)](_0x3a98e3),_0x395ae7=_0x1a3f52['get'](I),_0x537631=_0x58eebe[_0x28a82b(0x122)](),_0x4470a7=An(_0x395ae7),_0x28c845=Rn(_0x267511)?_0x267511:null,_0x2ea35d=(_0x4405ed=_0x267511[_0x28a82b(0x1a2)])==null?_0x4470a7==null?void 0x0:_0x4470a7['tableId']:_0x4405ed;if(!_0x537631||!_0x2ea35d||!_0x4470a7&&!_0x28c845)return!0x1;let _0x2d700d={'startRow':(_0x15ab9e=_0x28c845==null?void 0x0:_0x28c845[_0x28a82b(0x19a)])==null?_0x4470a7[_0x28a82b(0x19a)]:_0x15ab9e,'endRow':(_0x4e1256=_0x28c845==null?void 0x0:_0x28c845[_0x28a82b(0x126)])==null?_0x4470a7[_0x28a82b(0x126)]:_0x4e1256,'startColumn':(_0x3d0eb7=_0x28c845==null?void 0x0:_0x28c845[_0x28a82b(0x186)])==null?_0x4470a7['startColumn']:_0x3d0eb7,'endColumn':(_0x1bb7ac=_0x28c845==null?void 0x0:_0x28c845[_0x28a82b(0x146)])==null?_0x4470a7[_0x28a82b(0x146)]:_0x1bb7ac},_0x10cd61=_0x537631[_0x28a82b(0xfd)](),_0x426c75=vn({'documentData':_0x10cd61,'tableId':_0x2ea35d,..._0x2d700d,'preset':_0x267511[_0x28a82b(0x1b6)],'border':_0x267511[_0x28a82b(0x1d3)]}),_0x3170b8=J(_0x22108b,_0x537631[_0x28a82b(0xdb)](),_0x10cd61,_0x426c75[_0x28a82b(0x10d)],{'tableId':_0x2ea35d,'segmentId':_0x4470a7==null?void 0x0:_0x4470a7[_0x28a82b(0xf1)],..._0x2d700d});if(_0x3170b8){var _0x3dea36;_0x395ae7[_0x28a82b(0x1c4)]({'kind':(_0x3dea36=_0x4470a7==null?void 0x0:_0x4470a7['kind'])==null?_0x28a82b(0x1bb):_0x3dea36,'tableId':_0x2ea35d,'segmentId':_0x4470a7==null?void 0x0:_0x4470a7[_0x28a82b(0xf1)],..._0x2d700d});}return _0x3170b8;}};function Rn(_0x35813f){const _0x338105=_0x2402dc;return _0x35813f['startRow']!=null&&_0x35813f[_0x338105(0x126)]!=null&&_0x35813f['startColumn']!=null&&_0x35813f[_0x338105(0x146)]!=null;}function zn(_0xcbaf62){const _0x284fa6=_0x2402dc;var _0x562c79,_0x5df933,_0x4cf025,_0x1f4c67;let _0x53dc9c=_0x31a192['deepClone'](_0xcbaf62[_0x284fa6(0x1ac)]),_0x51f2c5=(_0x562c79=_0x53dc9c[_0x284fa6(0xea)])==null?void 0x0:_0x562c79[_0xcbaf62[_0x284fa6(0x1a2)]],_0x467886=C(_0x53dc9c,_0xcbaf62['tableId']);if(!_0x51f2c5||!_0x467886||!((_0x5df933=_0x53dc9c['body'])!=null&&_0x5df933[_0x284fa6(0x15e)]))throw Error(_0x284fa6(0x18d)+_0xcbaf62[_0x284fa6(0x1a2)]+_0x284fa6(0x12a));Bn(_0x51f2c5[_0x284fa6(0x165)]);let _0x160194=L(_0xcbaf62[_0x284fa6(0xe5)])[_0x284fa6(0xe8)][_0xcbaf62[_0x284fa6(0x1a2)]],_0x5d4c56=(_0x160194!=null&&_0x160194[_0x284fa6(0x1b4)]?0x1:0x0)+zt(_0xcbaf62[_0x284fa6(0xe5)],_0xcbaf62[_0x284fa6(0x1a2)]),_0x2e0b02=Math['min'](_0x5d4c56,_0x51f2c5[_0x284fa6(0x165)][_0x284fa6(0xfc)]),_0x2a46c1=(_0x4cf025=_0x160194==null||(_0x1f4c67=_0x160194[_0x284fa6(0x114)])==null||(_0x1f4c67=_0x1f4c67[_0xcbaf62[_0x284fa6(0x1b1)]])==null?void 0x0:_0x1f4c67[_0x284fa6(0x1c7)])==null?_0x284fa6(0x175):_0x4cf025,_0x56cc56=_0x51f2c5[_0x284fa6(0x165)]['slice'](_0x2e0b02),_0x35fd57=_0x467886['rows'][_0x284fa6(0x1c0)](_0x2e0b02),_0x52ae89=_0x56cc56[_0x284fa6(0xff)]((_0x15a7b9,_0x2704ab)=>{const _0x1ca3bf=_0x284fa6;let _0x41b629=_0x35fd57[_0x2704ab],_0x12efcb=_0x41b629[_0x1ca3bf(0x11c)][_0xcbaf62[_0x1ca3bf(0x1b1)]];return{'row':_0x15a7b9,'rowText':_0x53dc9c[_0x1ca3bf(0x1c9)][_0x1ca3bf(0x15e)]['slice'](_0x41b629['startOffset'],_0x41b629[_0x1ca3bf(0x17f)]+0x1),'value':_0x12efcb?_0x53dc9c[_0x1ca3bf(0x1c9)][_0x1ca3bf(0x15e)][_0x1ca3bf(0x1c0)](_0x12efcb[_0x1ca3bf(0x1d2)]+0x1,_0x12efcb[_0x1ca3bf(0x17f)])[_0x1ca3bf(0x1e1)]():'','index':_0x2704ab};});_0x52ae89[_0x284fa6(0x1ec)]((_0x4b0e51,_0x28539e)=>Hn(_0x4b0e51,_0x28539e,_0x2a46c1,_0xcbaf62[_0x284fa6(0xeb)])),_0x51f2c5[_0x284fa6(0x165)][_0x284fa6(0x131)](_0x2e0b02,_0x56cc56[_0x284fa6(0xfc)],..._0x52ae89[_0x284fa6(0xff)](_0xfcd8ca=>_0xfcd8ca['row']));let _0x43bde7=_0x53dc9c[_0x284fa6(0x1c9)][_0x284fa6(0x15e)]['slice'](_0x467886[_0x284fa6(0x1d2)],_0x467886['endOffset']),_0x8ca094=_0x467886[_0x284fa6(0x127)][_0x284fa6(0x1c0)](0x0,_0x2e0b02)[_0x284fa6(0xff)](_0x2833e5=>_0x53dc9c[_0x284fa6(0x1c9)][_0x284fa6(0x15e)]['slice'](_0x2833e5[_0x284fa6(0x1d2)],_0x2833e5[_0x284fa6(0x17f)]+0x1))['join'](''),_0x5a60bf=_0x52ae89[_0x284fa6(0xff)](_0x16ab29=>_0x16ab29[_0x284fa6(0x158)])[_0x284fa6(0x109)](''),_0x26cda4=''+_0x43bde7[0x0]+_0x8ca094+_0x5a60bf+_0x43bde7[_0x43bde7['length']-0x1];return _0x53dc9c[_0x284fa6(0x1c9)][_0x284fa6(0x15e)]=''+_0x53dc9c[_0x284fa6(0x1c9)][_0x284fa6(0x15e)][_0x284fa6(0x1c0)](0x0,_0x467886[_0x284fa6(0x1d2)])+_0x26cda4+_0x53dc9c[_0x284fa6(0x1c9)]['dataStream'][_0x284fa6(0x1c0)](_0x467886[_0x284fa6(0x17f)]),{'nextDocumentData':_0x53dc9c};}function Bn(_0x1187f3){const _0x4cdd66=_0x2402dc;if(_0x1187f3[_0x4cdd66(0x17b)](_0x4404e0=>_0x4404e0[_0x4cdd66(0xf2)]['some'](_0x3438e4=>Vn(_0x3438e4))))throw Error('[DocsTable]:\x20Cannot\x20sort\x20a\x20table\x20with\x20row-spanning\x20merged\x20cells.');}function Vn(_0x475627){const _0x1d019d=_0x2402dc;var _0x4219f1;return((_0x4219f1=_0x475627[_0x1d019d(0x1bc)])==null?0x1:_0x4219f1)>0x1||_0x475627[_0x1d019d(0x1bc)]===0x0;}function Hn(_0x595b8a,_0x528726,_0x5b0cb5,_0x1271c0){const _0x304e2d=_0x2402dc;let _0x33be9f=_0x1271c0==='asc'?0x1:-0x1,_0x4f2fa8=Un(_0x595b8a[_0x304e2d(0x138)],_0x528726['value'],_0x5b0cb5);return _0x4f2fa8===0x0?_0x595b8a[_0x304e2d(0x1a8)]-_0x528726[_0x304e2d(0x1a8)]:_0x4f2fa8*_0x33be9f;}function Un(_0x29423b,_0x10a9f0,_0x29e817){const _0x4bfae8=_0x2402dc;return _0x29e817===_0x4bfae8(0x1dc)?Wn(_0x29423b)-Wn(_0x10a9f0):_0x29e817===_0x4bfae8(0x105)?Gn(_0x29423b)-Gn(_0x10a9f0):_0x29e817===_0x4bfae8(0xf9)?Kn(_0x29423b)-Kn(_0x10a9f0):_0x29423b['localeCompare'](_0x10a9f0);}function Wn(_0x32a76d){const _0x4e134a=_0x2402dc;let _0x4f3d9b=Number(_0x32a76d);return Number[_0x4e134a(0x137)](_0x4f3d9b)?_0x4f3d9b:0x1/0x0;}function Gn(_0x3c6f8f){const _0x58b89a=_0x2402dc;let _0x2e29ea=Date[_0x58b89a(0x144)](_0x3c6f8f);return Number[_0x58b89a(0x1cc)](_0x2e29ea)?0x1/0x0:_0x2e29ea;}function Kn(_0xf8778f){const _0x2b0688=_0x2402dc;return+!![_0x2b0688(0x101),'1',_0x2b0688(0x134),_0x2b0688(0x1a0)][_0x2b0688(0xf7)](_0xf8778f[_0x2b0688(0x1dd)]());}const qn={'id':'docs-table.command.sort-table','type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x4befd4,_0x43a1b4)=>{const _0x57d31b=_0x2402dc;var _0x415fe0,_0x5731ae;if(!_0x43a1b4)return!0x1;let _0x2e3555=_0x4befd4[_0x57d31b(0x1c8)](_0x34f351),_0x3a957c=_0x4befd4[_0x57d31b(0x1c8)](_0x3a98e3),_0x24b6bd=_0x4befd4[_0x57d31b(0x1c8)](I),_0x438583=_0x4befd4[_0x57d31b(0x1c8)](Y),_0x518d49=_0x2e3555[_0x57d31b(0x122)](),_0x59816b=_0x24b6bd[_0x57d31b(0x18b)]();if(!_0x518d49||!_0x59816b)return!0x1;let _0x3c6fa2=_0x518d49[_0x57d31b(0xfd)](),_0x30bcb9=zn({'documentData':_0x3c6fa2,'metadata':_0x438583[_0x57d31b(0xfb)](_0x518d49['getUnitId']()),'tableId':(_0x415fe0=_0x43a1b4[_0x57d31b(0x1a2)])==null?_0x59816b[_0x57d31b(0x1a2)]:_0x415fe0,'column':(_0x5731ae=_0x43a1b4[_0x57d31b(0x1b1)])==null?_0x59816b[_0x57d31b(0x186)]:_0x5731ae,'direction':_0x43a1b4[_0x57d31b(0xeb)]});return J(_0x3a957c,_0x518d49[_0x57d31b(0xdb)](),_0x3c6fa2,_0x30bcb9['nextDocumentData']);}},Jn={'id':_0x2402dc(0x11f),'type':_0x5b79de[_0x2402dc(0x14e)],'handler':async(_0x5ed601,_0x2e6fd0)=>{const _0x2a6017=_0x2402dc;var _0x18b410,_0x3fab32,_0x2b90db,_0x2d987c,_0x16ec67;let _0x57c989=_0x5ed601[_0x2a6017(0x1c8)](_0x34f351),_0x1dd8d5=_0x5ed601['get'](_0x3a98e3),_0x5a83d8=_0x5ed601[_0x2a6017(0x1c8)](I),_0x317609=_0x57c989['getCurrentUniverDocInstance'](),_0xf9421a=_0x5a83d8[_0x2a6017(0x110)]();if(!_0x317609||!_0xf9421a)return!0x1;let _0x53e5cc=_0x317609[_0x2a6017(0xfd)](),_0x17ae46={'startRow':(_0x18b410=_0x2e6fd0==null?void 0x0:_0x2e6fd0['startRow'])==null?_0xf9421a[_0x2a6017(0x19a)]:_0x18b410,'endRow':(_0x3fab32=_0x2e6fd0==null?void 0x0:_0x2e6fd0['endRow'])==null?_0xf9421a[_0x2a6017(0x126)]:_0x3fab32,'startColumn':(_0x2b90db=_0x2e6fd0==null?void 0x0:_0x2e6fd0[_0x2a6017(0x186)])==null?_0xf9421a[_0x2a6017(0x186)]:_0x2b90db,'endColumn':(_0x2d987c=_0x2e6fd0==null?void 0x0:_0x2e6fd0['endColumn'])==null?_0xf9421a['endColumn']:_0x2d987c},_0x2f7961=(_0x16ec67=_0x2e6fd0==null?void 0x0:_0x2e6fd0['tableId'])==null?_0xf9421a[_0x2a6017(0x1a2)]:_0x16ec67;if(!xe(_0x53e5cc,_0x2f7961,_0x17ae46))return!0x1;let _0x137d60=Ce({'documentData':_0x53e5cc,'tableId':_0x2f7961,..._0x17ae46}),_0x2dba46=J(_0x1dd8d5,_0x317609['getUnitId'](),_0x53e5cc,_0x137d60[_0x2a6017(0x10d)],{'tableId':_0x2f7961,'segmentId':_0xf9421a[_0x2a6017(0xf1)],..._0x137d60['range']});return _0x2dba46&&_0x5a83d8[_0x2a6017(0x1c4)]({'kind':_0x2a6017(0x1bb),'tableId':_0x2f7961,'segmentId':_0xf9421a['segmentId'],..._0x137d60[_0x2a6017(0x1bb)]}),_0x2dba46;}};function Yn(_0x38c1bb){const _0x3a03af=_0x2402dc;var _0x5753ed;let _0x466ba3=_0x31a192[_0x3a03af(0x198)](_0x38c1bb[_0x3a03af(0x1ac)]),_0x621100=_0x466ba3[_0x3a03af(0x1c9)],_0x5d9f4b=C(_0x466ba3,_0x38c1bb[_0x3a03af(0x1a2)]),_0x4b1c46=_0x5d9f4b==null||(_0x5753ed=_0x5d9f4b[_0x3a03af(0x127)][_0x38c1bb[_0x3a03af(0x1e3)]])==null?void 0x0:_0x5753ed[_0x3a03af(0x11c)][_0x38c1bb[_0x3a03af(0x1b1)]];if(!(_0x621100!=null&&_0x621100[_0x3a03af(0x15e)])||!_0x5d9f4b||!_0x4b1c46)throw Error(_0x3a03af(0x161)+_0x38c1bb[_0x3a03af(0x1e3)]+':'+_0x38c1bb[_0x3a03af(0x1b1)]+_0x3a03af(0x12a));let _0x261fa5=_0x4b1c46[_0x3a03af(0x1d2)]+0x1,_0x225c2f=_0x4b1c46[_0x3a03af(0x17f)],_0x523b27=Xn(_0x38c1bb[_0x3a03af(0x175)]),_0x13ef4c=_0x523b27[_0x3a03af(0xfc)]-(_0x225c2f-_0x261fa5);return _0x621100[_0x3a03af(0x15e)]=''+_0x621100['dataStream'][_0x3a03af(0x1c0)](0x0,_0x261fa5)+_0x523b27+_0x621100[_0x3a03af(0x15e)][_0x3a03af(0x1c0)](_0x225c2f),Zn(_0x621100,_0x261fa5,_0x225c2f,_0x523b27,_0x13ef4c),tr(_0x466ba3,_0x38c1bb['tableId'],_0x225c2f,_0x13ef4c),{'nextDocumentData':_0x466ba3};}function Xn(_0xf43aa2){const _0x5edc25=_0x2402dc;return _0xf43aa2[_0x5edc25(0x103)](/\r\n/g,'\x0a')[_0x5edc25(0x103)](/\r/g,'\x0a')[_0x5edc25(0x14c)]('\x0a')[_0x5edc25(0x109)]('\x0d\x0a')+'\x0d\x0a';}function Zn(_0x52536e,_0x4de015,_0x56db9f,_0x919b54,_0x1e6e6c){const _0x5b2ad4=_0x2402dc;var _0xfe80a0,_0x3cce4d,_0x3d2de2,_0x4d7cfe,_0xd30b02;_0x52536e['paragraphs']=[...Qn((_0xfe80a0=_0x52536e['paragraphs'])==null?[]:_0xfe80a0,_0x4de015,_0x56db9f,_0x1e6e6c),...$n(_0x919b54,'\x0d')['map'](_0x5a2501=>({'startIndex':_0x4de015+_0x5a2501}))][_0x5b2ad4(0x1ec)]((_0x92e92a,_0x26cbcc)=>_0x92e92a['startIndex']-_0x26cbcc[_0x5b2ad4(0x19e)]),_0x52536e[_0x5b2ad4(0x17d)]=[...Qn((_0x3cce4d=_0x52536e[_0x5b2ad4(0x17d)])==null?[]:_0x3cce4d,_0x4de015,_0x56db9f,_0x1e6e6c),...$n(_0x919b54,'\x0a')['map'](_0xe8ed98=>({'startIndex':_0x4de015+_0xe8ed98}))][_0x5b2ad4(0x1ec)]((_0x1a082c,_0x522b2f)=>_0x1a082c['startIndex']-_0x522b2f[_0x5b2ad4(0x19e)]),_0x52536e['customBlocks']=_0x52536e[_0x5b2ad4(0x168)]?Qn(_0x52536e[_0x5b2ad4(0x168)],_0x4de015,_0x56db9f,_0x1e6e6c):void 0x0,_0x52536e['textRuns']=(_0x3d2de2=_0x52536e[_0x5b2ad4(0x13c)])==null?void 0x0:_0x3d2de2[_0x5b2ad4(0xff)](_0x27652a=>{const _0x2b91a4=_0x5b2ad4;let _0x2ded3f=er(_0x27652a['st'],_0x27652a['ed'],_0x4de015,_0x56db9f,_0x1e6e6c);return _0x2ded3f==null?null:{..._0x27652a,'st':_0x2ded3f[_0x2b91a4(0x15f)],'ed':_0x2ded3f[_0x2b91a4(0x169)]};})[_0x5b2ad4(0x1a9)](_0x4e7011=>_0x4e7011!=null),_0x52536e[_0x5b2ad4(0x196)]=(_0x4d7cfe=_0x52536e['customRanges'])==null?void 0x0:_0x4d7cfe[_0x5b2ad4(0xff)](_0x1d1420=>{const _0x414a07=_0x5b2ad4;let _0x484f31=er(_0x1d1420[_0x414a07(0x19e)],_0x1d1420[_0x414a07(0x12d)],_0x4de015,_0x56db9f,_0x1e6e6c);return _0x484f31==null?null:{..._0x1d1420,'startIndex':_0x484f31['start'],'endIndex':_0x484f31['end']};})['filter'](_0xab162a=>_0xab162a!=null),_0x52536e[_0x5b2ad4(0x10c)]=(_0xd30b02=_0x52536e['customDecorations'])==null?void 0x0:_0xd30b02[_0x5b2ad4(0xff)](_0x1831e7=>{const _0x1066af=_0x5b2ad4;let _0x4d79d3=er(_0x1831e7[_0x1066af(0x19e)],_0x1831e7[_0x1066af(0x12d)],_0x4de015,_0x56db9f,_0x1e6e6c);return _0x4d79d3==null?null:{..._0x1831e7,'startIndex':_0x4d79d3['start'],'endIndex':_0x4d79d3[_0x1066af(0x169)]};})[_0x5b2ad4(0x1a9)](_0x46573b=>_0x46573b!=null);}function Qn(_0x50a2d2,_0x11abe2,_0xeb4edf,_0x290db8){const _0x384179=_0x2402dc;return _0x50a2d2[_0x384179(0xff)](_0x5518fd=>_0x5518fd[_0x384179(0x19e)]>=_0x11abe2&&_0x5518fd[_0x384179(0x19e)]<_0xeb4edf?null:_0x5518fd[_0x384179(0x19e)]>=_0xeb4edf?{..._0x5518fd,'startIndex':_0x5518fd[_0x384179(0x19e)]+_0x290db8}:_0x5518fd)[_0x384179(0x1a9)](_0xc950f6=>_0xc950f6!=null);}function $n(_0x34db33,_0x4e84ab){const _0x44aa03=_0x2402dc;let _0x30b5c4=[];for(let _0x5d7af3=0x0;_0x5d7af3<_0x34db33[_0x44aa03(0xfc)];_0x5d7af3++)_0x34db33[_0x5d7af3]===_0x4e84ab&&_0x30b5c4[_0x44aa03(0x1be)](_0x5d7af3);return _0x30b5c4;}function er(_0x52201d,_0x558f26,_0xa35dc9,_0x35b223,_0x38c5c2){if(_0x558f26<_0xa35dc9)return{'start':_0x52201d,'end':_0x558f26};if(_0x52201d>=_0x35b223)return{'start':_0x52201d+_0x38c5c2,'end':_0x558f26+_0x38c5c2};let _0x296a99=_0x52201d<_0xa35dc9?_0x52201d:_0xa35dc9,_0x1e5c15=_0x558f26>=_0x35b223?_0x558f26+_0x38c5c2:_0xa35dc9;return _0x1e5c15<_0x296a99?null:{'start':_0x296a99,'end':_0x1e5c15};}function tr(_0x17df7a,_0x50ddfa,_0x197d47,_0x21dee1){const _0x23d306=_0x2402dc;var _0x5b0454;!((_0x5b0454=_0x17df7a['body'])!=null&&_0x5b0454['tables'])||_0x21dee1===0x0||(_0x17df7a['body'][_0x23d306(0xe8)]=_0x17df7a[_0x23d306(0x1c9)][_0x23d306(0xe8)][_0x23d306(0xff)](_0x4e8fb6=>_0x4e8fb6[_0x23d306(0x1a2)]===_0x50ddfa?{..._0x4e8fb6,'endIndex':_0x4e8fb6['endIndex']+_0x21dee1}:_0x4e8fb6[_0x23d306(0x19e)]>=_0x197d47?{..._0x4e8fb6,'startIndex':_0x4e8fb6['startIndex']+_0x21dee1,'endIndex':_0x4e8fb6[_0x23d306(0x12d)]+_0x21dee1}:_0x4e8fb6));}const nr=_0x2402dc(0x183),rr=_0x2402dc(0x1e4);let Q=class extends _0x563a5a{constructor(_0x458664,_0x5f3a51){const _0xabf5ca=_0x2402dc;super(),this[_0xabf5ca(0x1d8)]=_0x458664,this['_docsTableModel']=_0x5f3a51,this[_0xabf5ca(0x1e5)]();}[_0x2402dc(0x1e5)](){const _0x1e3972=_0x2402dc;this[_0x1e3972(0x1f6)](this[_0x1e3972(0x1d8)]['registerPluginResource']({'pluginName':nr,'businesses':[_0x3be9d2[_0x1e3972(0xef)]],'toJson':_0x29b8e5=>JSON[_0x1e3972(0x16e)](this['_docsTableModel'][_0x1e3972(0xfb)](_0x29b8e5)),'parseJson':_0x51fab1=>L(JSON['parse'](_0x51fab1)),'onLoad':(_0x315f16,_0x43a655)=>this['_docsTableModel'][_0x1e3972(0x128)](_0x315f16,_0x43a655),'onUnLoad':_0x2e250c=>this[_0x1e3972(0x1cd)][_0x1e3972(0x1c6)](_0x2e250c)}));}};Q=Be([F(0x0,_0x482716),F(0x1,_0x4a0988(Y))],Q);var ir=_0x2402dc(0x167),ar=_0x2402dc(0x176);const or=_0x2402dc(0x1ad);Symbol(or);const sr={};let $=class extends _0x58831d{constructor(_0x399c08=sr,_0x21f179,_0x46839e,_0x45ddc6){const _0x333de6=_0x2402dc;super(),this['_config']=_0x399c08,this[_0x333de6(0xed)]=_0x21f179,this[_0x333de6(0xdc)]=_0x46839e,this['_configService']=_0x45ddc6;let {..._0x59f2f2}=_0x480d1d({},sr,this[_0x333de6(0x181)]);this[_0x333de6(0xde)][_0x333de6(0x1d1)](or,_0x59f2f2);}[_0x2402dc(0xf8)](){const _0x1708f1=_0x2402dc;this['_injector']['add']([Y]),this['_injector'][_0x1708f1(0x1e9)]([Q]),this[_0x1708f1(0xed)][_0x1708f1(0x1e9)]([I]),this[_0x1708f1(0xed)][_0x1708f1(0x1c8)](Y),this['_injector'][_0x1708f1(0x1c8)](Q),this['_injector'][_0x1708f1(0x1c8)](I),this[_0x1708f1(0x1a5)]();}[_0x2402dc(0x1a5)](){const _0x16cf37=_0x2402dc;[Ge,Et,Dt,Ot,Vt,Ht,Ut,Wt,on,sn,cn,ln,un,dn,fn,pn,mn,hn,gn,On,Ln,jn,Pn,In,qn,Jn][_0x16cf37(0x1e7)](_0x70ddb3=>this[_0x16cf37(0x1f6)](this['_commandService'][_0x16cf37(0xe7)](_0x70ddb3)));}};P($,_0x2402dc(0x1e0),nr),P($,_0x2402dc(0x1d5),ir),P($,_0x2402dc(0x1c3),ar),P($,_0x2402dc(0x1c7),_0x3be9d2['UNIVER_DOC']),$=Be([_0x2469c2(_0x7ec861,_0x3ae3f5),F(0x1,_0x4a0988(_0x1275f1)),F(0x2,_0x3a98e3),F(0x3,_0x2911eb)],$);export{nr as DOCS_TABLE_PLUGIN,rr as DOCS_TABLE_RESOURCE_NAME,Ge as DocsTableCopySelectionCommand,Et as DocsTableDeleteColumnsCommand,Dt as DocsTableDeleteRowsCommand,Ot as DocsTableDeleteTableCommand,Vt as DocsTableDistributeColumnsCommand,Ht as DocsTableDistributeRowsCommand,Ut as DocsTableInsertColumnsCommand,Wt as DocsTableInsertRowsCommand,on as DocsTableInsertTableCommand,sn as DocsTableInsertTitleRowCommand,cn as DocsTableMergeCellsCommand,Y as DocsTableModel,ln as DocsTableMoveColumnsCommand,un as DocsTableMoveRowsCommand,dn as DocsTableMoveTableCommand,fn as DocsTablePasteWithoutFormattingCommand,pn as DocsTableResizeColumnCommand,mn as DocsTableResizeRowCommand,Q as DocsTableResourceController,I as DocsTableSelectionService,hn as DocsTableSetColumnTypeCommand,gn as DocsTableSetHeaderRowCountCommand,On as DocsTableSetTableBackgroundCommand,jn as DocsTableSetTableBorderColorCommand,Ln as DocsTableSetTableBorderCommand,Pn as DocsTableSetTableBorderStyleCommand,In as DocsTableSetTableBorderWidthCommand,qn as DocsTableSortTableCommand,Jn as DocsTableUnmergeCellsCommand,$ as UniverDocsTablePlugin,Qe as buildDeleteColumnsActions,Ze as buildDeleteRowsActions,z as buildDeleteTableActions,Mt as buildDistributeColumnsActions,jt as buildDistributeRowsActions,Xe as buildInsertColumnsActions,Ye as buildInsertRowsActions,Gt as buildInsertTableActions,kt as buildInsertTitleRowActions,Se as buildMergeCellsActions,et as buildMoveColumnsActions,$e as buildMoveRowsActions,de as buildPasteHtmlTableActions,ue as buildPastePlainTextTableActions,Pt as buildResizeColumnActions,Nt as buildResizeRowActions,At as buildSetHeaderRowCountActions,vn as buildSetTableBorderActions,yn as buildSetTableCellBackgroundActions,Yn as buildSetTableCellTextActions,zn as buildSortTableActions,Ce as buildUnmergeCellsActions,bn as buildUpdateTableBorderStyleActions,be as canMergeCells,xe as canUnmergeCells,we as findMergeRange,se as getColumnRange,zt as getPinnedHeaderRowCount,w as getRowRange,C as getTableRangeById,L as normalizeDocsTableMetadataResource,fe as parseHtmlTableClipboard,G as remapDocsTableSelection,le as serializeTableSelectionAsPlainText,Je as setColumnTypeInMetadata,R as setHeaderRowCountInMetadata,qe as setTitleRowInMetadata};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableCellRange } from '../common/type';
|
|
3
|
+
export interface IDocsTableCopySelectionCommandParams extends Partial<IDocsTableCellRange> {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const DocsTableCopySelectionCommand: ICommand<IDocsTableCopySelectionCommandParams>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDocsTableDeleteColumnsCommandParams {
|
|
3
|
+
tableId?: string;
|
|
4
|
+
startColumn?: number;
|
|
5
|
+
endColumn?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const DocsTableDeleteColumnsCommand: ICommand<IDocsTableDeleteColumnsCommandParams>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDocsTableDistributeColumnsCommandParams {
|
|
3
|
+
tableId?: string;
|
|
4
|
+
startColumn?: number;
|
|
5
|
+
endColumn?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const DocsTableDistributeColumnsCommand: ICommand<IDocsTableDistributeColumnsCommandParams>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDocsTableDistributeRowsCommandParams {
|
|
3
|
+
tableId?: string;
|
|
4
|
+
startRow?: number;
|
|
5
|
+
endRow?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const DocsTableDistributeRowsCommand: ICommand<IDocsTableDistributeRowsCommandParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { DocsTableInsertPosition } from '../common/actions';
|
|
3
|
+
export interface IDocsTableInsertColumnsCommandParams {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
column?: number;
|
|
6
|
+
count?: number;
|
|
7
|
+
position: Extract<DocsTableInsertPosition, 'left' | 'right'>;
|
|
8
|
+
}
|
|
9
|
+
export declare const DocsTableInsertColumnsCommand: ICommand<IDocsTableInsertColumnsCommandParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { DocsTableInsertPosition } from '../common/actions';
|
|
3
|
+
export interface IDocsTableInsertRowsCommandParams {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
row?: number;
|
|
6
|
+
count?: number;
|
|
7
|
+
position: Extract<DocsTableInsertPosition, 'above' | 'below'>;
|
|
8
|
+
}
|
|
9
|
+
export declare const DocsTableInsertRowsCommand: ICommand<IDocsTableInsertRowsCommandParams>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableInsertOptions } from '../common/insert-table';
|
|
3
|
+
export interface IDocsTableInsertTableCommandParams extends IDocsTableInsertOptions {
|
|
4
|
+
rows?: number;
|
|
5
|
+
columns?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const DocsTableInsertTableCommand: ICommand<IDocsTableInsertTableCommandParams>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableCellRange } from '../common/type';
|
|
3
|
+
export interface IDocsTableMergeCellsCommandParams extends Partial<IDocsTableCellRange> {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const DocsTableMergeCellsCommand: ICommand<IDocsTableMergeCellsCommandParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDocsTableMoveColumnsCommandParams {
|
|
3
|
+
tableId?: string;
|
|
4
|
+
fromColumn?: number;
|
|
5
|
+
toColumn: number;
|
|
6
|
+
count?: number;
|
|
7
|
+
position: 'left' | 'right';
|
|
8
|
+
}
|
|
9
|
+
export declare const DocsTableMoveColumnsCommand: ICommand<IDocsTableMoveColumnsCommandParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDocsTableMoveRowsCommandParams {
|
|
3
|
+
tableId?: string;
|
|
4
|
+
fromRow?: number;
|
|
5
|
+
toRow: number;
|
|
6
|
+
count?: number;
|
|
7
|
+
position: 'above' | 'below';
|
|
8
|
+
}
|
|
9
|
+
export declare const DocsTableMoveRowsCommand: ICommand<IDocsTableMoveRowsCommandParams>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDocsTableMoveTableCommandParams {
|
|
3
|
+
tableId?: string;
|
|
4
|
+
deltaX?: number;
|
|
5
|
+
deltaY?: number;
|
|
6
|
+
targetOffset?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const DocsTableMoveTableCommand: ICommand<IDocsTableMoveTableCommandParams>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableCellRange } from '../common/type';
|
|
3
|
+
export interface IDocsTablePasteWithoutFormattingCommandParams extends Partial<IDocsTableCellRange> {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
text: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const DocsTablePasteWithoutFormattingCommand: ICommand<IDocsTablePasteWithoutFormattingCommandParams>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableColumnTypeConfig } from '../common/type';
|
|
3
|
+
export interface IDocsTableSetColumnTypeCommandParams {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
column?: number;
|
|
6
|
+
config: IDocsTableColumnTypeConfig;
|
|
7
|
+
}
|
|
8
|
+
export declare const DocsTableSetColumnTypeCommand: ICommand<IDocsTableSetColumnTypeCommandParams>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IDocsTableSetHeaderRowCountCommandParams {
|
|
3
|
+
tableId?: string;
|
|
4
|
+
headerRowCount?: number;
|
|
5
|
+
row?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const DocsTableSetHeaderRowCountCommand: ICommand<IDocsTableSetHeaderRowCountCommandParams>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableCellRange } from '../common/type';
|
|
3
|
+
import { DocsTableSelectionService } from '../services/docs-table-selection.service';
|
|
4
|
+
export interface IDocsTableSetTableBackgroundCommandParams extends Partial<IDocsTableCellRange> {
|
|
5
|
+
tableId?: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const DocsTableSetTableBackgroundCommand: ICommand<IDocsTableSetTableBackgroundCommandParams>;
|
|
10
|
+
export declare function getStableTableStyleSelection(selectionService: DocsTableSelectionService): import("@univerjs/core").Nullable<import("..").IDocsTableSelection>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IAccessor, ICommand, ITableCellBorder } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableCellRange } from '../common/type';
|
|
3
|
+
export interface IDocsTableSetTableBorderColorCommandParams extends Partial<IDocsTableCellRange> {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const DocsTableSetTableBorderColorCommand: ICommand<IDocsTableSetTableBorderColorCommandParams>;
|
|
9
|
+
export declare function updateTableBorder(accessor: IAccessor, params: Partial<IDocsTableCellRange> & {
|
|
10
|
+
tableId?: string;
|
|
11
|
+
} | undefined, border: Partial<ITableCellBorder>): Promise<boolean>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableCellRange } from '../common/type';
|
|
3
|
+
import { DashStyleType } from '@univerjs/core';
|
|
4
|
+
export interface IDocsTableSetTableBorderStyleCommandParams extends Partial<IDocsTableCellRange> {
|
|
5
|
+
tableId?: string;
|
|
6
|
+
dashStyle?: DashStyleType | DocsTableBorderStyleValue;
|
|
7
|
+
value?: DashStyleType | DocsTableBorderStyleValue;
|
|
8
|
+
}
|
|
9
|
+
type DocsTableBorderStyleValue = 'solid' | 'dot' | 'dash';
|
|
10
|
+
export declare const DocsTableSetTableBorderStyleCommand: ICommand<IDocsTableSetTableBorderStyleCommandParams>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { IDocsTableCellRange } from '../common/type';
|
|
3
|
+
export interface IDocsTableSetTableBorderWidthCommandParams extends Partial<IDocsTableCellRange> {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
width?: number;
|
|
6
|
+
value?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const DocsTableSetTableBorderWidthCommand: ICommand<IDocsTableSetTableBorderWidthCommandParams>;
|