@univerjs-pro/sheets-outline 0.23.0-insiders.20260522-e8f2a3b
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 +35 -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/commands/add-dimension-outline.command.d.ts +12 -0
- package/lib/types/commands/commands/clear-dimension-outlines.command.d.ts +12 -0
- package/lib/types/commands/commands/permission.d.ts +4 -0
- package/lib/types/commands/commands/remove-dimension-outline.command.d.ts +7 -0
- package/lib/types/commands/commands/set-dimension-outline-collapsed.command.d.ts +8 -0
- package/lib/types/commands/commands/util.d.ts +8 -0
- package/lib/types/commands/mutations/add-dimension-outline.mutation.d.ts +8 -0
- package/lib/types/commands/mutations/clear-dimension-outlines.mutation.d.ts +11 -0
- package/lib/types/commands/mutations/remove-dimension-outline.mutation.d.ts +9 -0
- package/lib/types/commands/mutations/set-dimension-outline-collapsed.mutation.d.ts +10 -0
- package/lib/types/commands/mutations/transform-dimension-outlines.mutation.d.ts +27 -0
- package/lib/types/common/algorithm.d.ts +21 -0
- package/lib/types/common/const.d.ts +1 -0
- package/lib/types/common/error.d.ts +8 -0
- package/lib/types/common/type.d.ts +80 -0
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/controllers/dimension-outline-command-interceptor.controller.d.ts +23 -0
- package/lib/types/controllers/sheets-outline-resource.controller.d.ts +8 -0
- package/lib/types/facade/f-enum.d.ts +23 -0
- package/lib/types/facade/f-worksheet.d.ts +179 -0
- package/lib/types/facade/index.d.ts +4 -0
- package/lib/types/index.d.ts +29 -0
- package/lib/types/models/sheets-outline-model.d.ts +18 -0
- package/lib/types/plugin.d.ts +14 -0
- package/lib/types/services/sheets-outline-error.service.d.ts +8 -0
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -0
- package/package.json +84 -0
package/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @univerjs-pro/sheets-outline
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.com/package/@univerjs-pro/sheets-outline)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs-pro/sheets-outline)
|
|
5
|
+
|
|
6
|
+
`@univerjs-pro/sheets-outline` provides dimension outline model integration for Univer Sheets.
|
|
7
|
+
|
|
8
|
+
## Package Overview
|
|
9
|
+
|
|
10
|
+
| Package | UMD global | CSS | Locales | Facade entry |
|
|
11
|
+
| --- | --- | :---: | :---: | :---: |
|
|
12
|
+
| `@univerjs-pro/sheets-outline` | `UniverProSheetsOutline` | No | No | Yes |
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```sh
|
|
17
|
+
pnpm add @univerjs-pro/sheets-outline
|
|
18
|
+
# or
|
|
19
|
+
npm install @univerjs-pro/sheets-outline
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { UniverSheetsOutlinePlugin } from '@univerjs-pro/sheets-outline';
|
|
28
|
+
|
|
29
|
+
univer.registerPlugin(UniverSheetsOutlinePlugin);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Resources
|
|
33
|
+
|
|
34
|
+
- [Documentation](https://docs.univer.ai/guides/pro)
|
|
35
|
+
- [NPM package](https://npmjs.com/package/@univerjs-pro/sheets-outline)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x52ac08=_0x25d4;(function(_0x5805a5,_0x40bd0e){var _0x30e20b=_0x25d4,_0x391860=_0x5805a5();while(!![]){try{var _0x1a41f8=parseInt(_0x30e20b(0x7e))/0x1+parseInt(_0x30e20b(0x70))/0x2+parseInt(_0x30e20b(0x77))/0x3*(-parseInt(_0x30e20b(0x8d))/0x4)+-parseInt(_0x30e20b(0x8c))/0x5*(parseInt(_0x30e20b(0x73))/0x6)+-parseInt(_0x30e20b(0x7b))/0x7+-parseInt(_0x30e20b(0x6b))/0x8*(-parseInt(_0x30e20b(0x71))/0x9)+parseInt(_0x30e20b(0x6e))/0xa*(parseInt(_0x30e20b(0x72))/0xb);if(_0x1a41f8===_0x40bd0e)break;else _0x391860['push'](_0x391860['shift']());}catch(_0x2943d8){_0x391860['push'](_0x391860['shift']());}}}(_0x51a8,0xcedd8));let e=require(`@univerjs-pro/sheets-outline`),t=require(`@univerjs/core/facade`),n=require(`@univerjs/sheets/facade`);function _0x25d4(_0x48c0e6,_0x3af002){_0x48c0e6=_0x48c0e6-0x6b;var _0x51a8fd=_0x51a8();var _0x25d4f7=_0x51a8fd[_0x48c0e6];return _0x25d4f7;}var r=class extends t[_0x52ac08(0x88)]{get['DimensionOutlineAxis'](){return e['DimensionOutlineAxis'];}get['DimensionOutlineErrorReason'](){var _0x4ceb5b=_0x52ac08;return e[_0x4ceb5b(0x84)];}};t[_0x52ac08(0x88)][_0x52ac08(0x89)](r);var i=class extends n[_0x52ac08(0x82)]{[_0x52ac08(0x7c)](_0x1f9a2e,_0xcb51c5){var _0x314d26=_0x52ac08;return this['_addDimensionOutline'](e[_0x314d26(0x7d)][_0x314d26(0x86)],_0x1f9a2e,_0xcb51c5);}['addColumnOutline'](_0x49c735,_0x43b1e2){var _0x2cc7b4=_0x52ac08;return this[_0x2cc7b4(0x8b)](e[_0x2cc7b4(0x7d)][_0x2cc7b4(0x75)],_0x49c735,_0x43b1e2);}['removeDimensionOutline'](_0x58a564){var _0x463e42=_0x52ac08;return this[_0x463e42(0x7a)][_0x463e42(0x74)](e[_0x463e42(0x8a)]['id'],{'unitId':this[_0x463e42(0x6f)][_0x463e42(0x7f)](),'subUnitId':this[_0x463e42(0x83)][_0x463e42(0x81)](),'outlineId':_0x58a564}),this;}[_0x52ac08(0x76)](_0x2769f3,_0x4ebd49){var _0xac9ffe=_0x52ac08;return this['_commandService'][_0xac9ffe(0x74)](e['SetDimensionOutlineCollapsedCommand']['id'],{'unitId':this[_0xac9ffe(0x6f)]['getUnitId'](),'subUnitId':this['_worksheet'][_0xac9ffe(0x81)](),'outlineId':_0x2769f3,'collapsed':_0x4ebd49}),this;}[_0x52ac08(0x6d)](_0x7f0f5f,_0x4962dc,_0x2f3542){var _0x24aba4=_0x52ac08;return this['_commandService'][_0x24aba4(0x74)](e['ClearDimensionOutlinesCommand']['id'],{'unitId':this['_workbook'][_0x24aba4(0x7f)](),'subUnitId':this[_0x24aba4(0x83)][_0x24aba4(0x81)](),'axis':_0x7f0f5f,'start':_0x4962dc,'end':_0x2f3542}),this;}[_0x52ac08(0x87)](_0x2fb6a7){var _0x57988f=_0x52ac08;let _0x1aa6df=this[_0x57988f(0x78)][_0x57988f(0x80)](e[_0x57988f(0x6c)])[_0x57988f(0x79)](this[_0x57988f(0x6f)][_0x57988f(0x7f)](),this[_0x57988f(0x83)][_0x57988f(0x81)]());return _0x2fb6a7?_0x1aa6df[_0x57988f(0x85)](_0x15a65f=>_0x15a65f['axis']===_0x2fb6a7):_0x1aa6df;}['_addDimensionOutline'](_0x5c3987,_0x50ddce,_0x260874){var _0x1ad8dd=_0x52ac08;return this[_0x1ad8dd(0x7a)][_0x1ad8dd(0x74)](e[_0x1ad8dd(0x8e)]['id'],{'unitId':this[_0x1ad8dd(0x6f)]['getUnitId'](),'subUnitId':this[_0x1ad8dd(0x83)][_0x1ad8dd(0x81)](),'axis':_0x5c3987,'start':_0x50ddce,'end':_0x50ddce+_0x260874-0x1}),this;}};function _0x51a8(){var _0x23f0ef=['FEnum','extend','RemoveDimensionOutlineCommand','_addDimensionOutline','5rszYva','416QJqTvv','AddDimensionOutlineCommand','80136ovsAtD','SheetsOutlineModel','clearDimensionOutlines','338260FZCdPT','_workbook','2894670DIqpXf','234MxhqQT','286MCTjdN','2129466fCpnYi','syncExecuteCommand','COLUMN','setDimensionOutlineCollapsed','40737XPuUoT','_injector','getOutlines','_commandService','9615655YVCLOq','addRowOutline','DimensionOutlineAxis','1400859aXuDOL','getUnitId','get','getSheetId','FWorksheet','_worksheet','DimensionOutlineErrorReason','filter','ROW','getDimensionOutlines'];_0x51a8=function(){return _0x23f0ef;};return _0x51a8();}n[_0x52ac08(0x82)][_0x52ac08(0x89)](i);
|
package/lib/cjs/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const _0x424ebc=_0x5873;(function(_0x2e1bd7,_0x28274d){const _0x3855ce=_0x5873,_0x1b42d6=_0x2e1bd7();while(!![]){try{const _0x1d63d7=parseInt(_0x3855ce(0xcb))/0x1*(parseInt(_0x3855ce(0x16a))/0x2)+parseInt(_0x3855ce(0xd4))/0x3*(-parseInt(_0x3855ce(0x16b))/0x4)+-parseInt(_0x3855ce(0x12d))/0x5+parseInt(_0x3855ce(0x10b))/0x6*(-parseInt(_0x3855ce(0xb2))/0x7)+parseInt(_0x3855ce(0x107))/0x8*(parseInt(_0x3855ce(0xf4))/0x9)+-parseInt(_0x3855ce(0x15a))/0xa*(-parseInt(_0x3855ce(0xae))/0xb)+-parseInt(_0x3855ce(0xd0))/0xc*(-parseInt(_0x3855ce(0x158))/0xd);if(_0x1d63d7===_0x28274d)break;else _0x1b42d6['push'](_0x1b42d6['shift']());}catch(_0x33f22b){_0x1b42d6['push'](_0x1b42d6['shift']());}}}(_0x1f4c,0xc0a30),Object['defineProperty'](exports,Symbol[_0x424ebc(0x153)],{'value':_0x424ebc(0x150)}));let e=require(`@univerjs/core`),t=require(`@univerjs/sheets`),n=require(`rxjs`),r=require(`rxjs/operators`),i=require(`@univerjs-pro/license`),a=function(_0x273770){const _0x54883d=_0x424ebc;return _0x273770['ROW']=_0x54883d(0x161),_0x273770['COLUMN']=_0x54883d(0x154),_0x273770;}({}),o=function(_0x40b96c){const _0x5524cc=_0x424ebc;return _0x40b96c[_0x5524cc(0xfb)]='invalid-range',_0x40b96c[_0x5524cc(0x14d)]=_0x5524cc(0xdf),_0x40b96c[_0x5524cc(0xea)]=_0x5524cc(0xe6),_0x40b96c['MAX_DEPTH']=_0x5524cc(0x121),_0x40b96c[_0x5524cc(0x139)]='move-splits-outline',_0x40b96c[_0x5524cc(0x12a)]=_0x5524cc(0x10c),_0x40b96c[_0x5524cc(0x159)]=_0x5524cc(0xeb),_0x40b96c;}({});var s=class extends Error{constructor(_0x49015f,_0x23b612,_0x47f830){const _0x2a4775=_0x424ebc;super(_0x23b612),this[_0x2a4775(0x168)]=_0x49015f,this['outlineId']=_0x47f830,this[_0x2a4775(0x12b)]='DimensionOutlineError';}};function c(_0x360c10){const _0x586e5f=_0x424ebc;return _0x360c10 instanceof s?_0x360c10[_0x586e5f(0x168)]:_0x360c10 instanceof Error?_0x360c10[_0x586e5f(0x109)][_0x586e5f(0x14b)](_0x586e5f(0x16e))?'move-splits-outline':_0x360c10[_0x586e5f(0x109)]['includes'](_0x586e5f(0xc9))?_0x586e5f(0x121):_0x360c10['message'][_0x586e5f(0x14b)](_0x586e5f(0xc7))?_0x586e5f(0xe6):_0x360c10['message']['includes'](_0x586e5f(0x10e))?_0x586e5f(0xcf):_0x586e5f(0xeb):_0x586e5f(0xeb);}function l(_0x1ed7e4){const _0x313aaa=_0x424ebc;return _0x1ed7e4 instanceof s?_0x1ed7e4[_0x313aaa(0x14f)]:void 0x0;}const u=0x2**0x35-0x1;function d(_0x3d316c,_0x1d7e9f){const _0x5a6e3c=_0x424ebc;return _0x3d316c[_0x5a6e3c(0xde)]===_0x1d7e9f[_0x5a6e3c(0xde)]&&_0x3d316c[_0x5a6e3c(0x100)]===_0x1d7e9f['subUnitId']&&_0x3d316c['axis']===_0x1d7e9f[_0x5a6e3c(0xab)];}function f(_0x1b3bb7,_0x5e2064={}){const _0x94feda=_0x424ebc;var _0x101efc;let _0x465afa=(_0x101efc=_0x5e2064[_0x94feda(0x108)])==null?0x8:_0x101efc,_0x3a7122=new Map();for(let _0x1a681e of _0x1b3bb7){let _0x32f6cb=_0x1a681e['unitId']+':'+_0x1a681e['subUnitId']+':'+_0x1a681e[_0x94feda(0xab)],_0x2bb095=_0x3a7122['get'](_0x32f6cb);_0x2bb095?_0x2bb095[_0x94feda(0xf5)](_0x1a681e):_0x3a7122[_0x94feda(0xe8)](_0x32f6cb,[_0x1a681e]);}let _0x95510c=[];for(let _0xfbf11f of _0x3a7122[_0x94feda(0xd1)]()){let _0x4e4cdb=[..._0xfbf11f]['sort'](C),_0x1ea56e=[];for(let _0x5816e3 of _0x4e4cdb){for(oe(_0x5816e3);_0x1ea56e[_0x94feda(0xf9)]>0x0&&_0x5816e3[_0x94feda(0xf6)]>_0x1ea56e[_0x1ea56e[_0x94feda(0xf9)]-0x1][_0x94feda(0x13c)];)_0x1ea56e[_0x94feda(0x171)]();let _0x488830=_0x1ea56e[_0x1ea56e[_0x94feda(0xf9)]-0x1];if(_0x488830&&_0x5816e3['end']>_0x488830['end'])throw new s('crossing',_0x94feda(0xb3),_0x5816e3['id']);let _0x1c3bea=_0x488830?_0x488830['depth']+0x1:0x1;if(_0x1c3bea>_0x465afa)throw new s('max-depth',_0x94feda(0x145)+_0x465afa,_0x5816e3['id']);let _0x6241bc={..._0x5816e3,'depth':_0x1c3bea,'parentId':_0x488830==null?void 0x0:_0x488830['id'],'anchor':_0x5816e3[_0x94feda(0x13c)],'children':[]};_0x488830?_0x488830[_0x94feda(0xad)][_0x94feda(0xf5)](_0x6241bc):_0x95510c[_0x94feda(0xf5)](_0x6241bc),_0x1ea56e[_0x94feda(0xf5)](_0x6241bc);}}return _0x95510c;}function p(_0x2105d4,_0x5ab12f,_0x140bd0={}){const _0x4e283a=_0x424ebc;if(_0x5ab12f[_0x4e283a(0xf6)]<0x0||_0x5ab12f[_0x4e283a(0xf6)]>_0x5ab12f[_0x4e283a(0x13c)])return{'valid':!0x1,'reason':'invalid-range'};if(_0x140bd0['maxIndex']!=null&&_0x5ab12f[_0x4e283a(0x13c)]>=_0x140bd0[_0x4e283a(0x15b)])return{'valid':!0x1,'reason':_0x4e283a(0xdf)};let _0x23c59a=_0x2105d4['filter'](_0x15f3ae=>d(_0x15f3ae,_0x5ab12f));for(let _0x245520 of _0x23c59a)if(se(_0x245520,_0x5ab12f))return{'valid':!0x1,'reason':_0x4e283a(0xe6)};try{f([..._0x2105d4,_0x5ab12f],_0x140bd0);}catch(_0x16fe10){let _0x346091=c(_0x16fe10);return _0x346091===_0x4e283a(0x121)?{'valid':!0x1,'reason':_0x4e283a(0x121)}:_0x346091===_0x4e283a(0xcf)?{'valid':!0x1,'reason':_0x4e283a(0xcf)}:{'valid':!0x1,'reason':_0x4e283a(0xe6)};}return{'valid':!0x0};}function m(_0xb1c81b,_0x3d8bec,_0x237663={}){const _0x4ae2df=_0x424ebc;let _0x2b7467=p(_0xb1c81b,_0x3d8bec,_0x237663);if(!_0x2b7467[_0x4ae2df(0x10d)]){var _0xfddb17;throw Error((_0xfddb17=_0x2b7467[_0x4ae2df(0x168)])==null?_0x4ae2df(0x10f):_0xfddb17);}return[..._0xb1c81b,_0x3d8bec];}function ee(_0x12e7e7,_0x5d9dc4){const _0x46c62e=_0x424ebc;let _0x223e1e=_0x5d9dc4[_0x46c62e(0xf6)],_0x132926=_0x5d9dc4[_0x46c62e(0x13c)],_0x33907d=[],_0x30859d=!0x0;for(;_0x30859d;){_0x30859d=!0x1;for(let _0x2c33c7 of _0x12e7e7)_0x33907d[_0x46c62e(0x14b)](_0x2c33c7)||!d(_0x2c33c7,_0x5d9dc4)||!ie(_0x2c33c7['start'],_0x2c33c7[_0x46c62e(0x13c)],_0x223e1e,_0x132926)||(_0x33907d[_0x46c62e(0xf5)](_0x2c33c7),_0x223e1e=Math[_0x46c62e(0x118)](_0x223e1e,_0x2c33c7['start']),_0x132926=Math[_0x46c62e(0x167)](_0x132926,_0x2c33c7[_0x46c62e(0x13c)]),_0x30859d=!0x0);}if(_0x33907d[_0x46c62e(0xf9)]===0x0)return null;let [_0x594e52]=[..._0x33907d][_0x46c62e(0x15c)](C);return{'mergedOutline':{..._0x594e52,'start':_0x223e1e,'end':_0x132926},'mergedOutlines':_0x33907d};}function h(_0xada9cd,_0x2501db){const _0x41ba66=_0x424ebc;return _0xada9cd[_0x41ba66(0x173)](_0x1b4f1f=>d(_0x1b4f1f,_0x2501db)?!(_0x1b4f1f['start']>=_0x2501db[_0x41ba66(0xf6)]&&_0x1b4f1f[_0x41ba66(0x13c)]<=_0x2501db[_0x41ba66(0x13c)]):!0x0);}function g(_0x3e9e82,_0x3e2e71,_0x12f609,_0x346173){const _0x3db217=_0x424ebc;return _(_0x3e9e82[_0x3db217(0x173)](_0x168f23=>_0x168f23['unitId']===_0x3e2e71&&_0x168f23['subUnitId']===_0x12f609&&_0x168f23['axis']===_0x346173&&_0x168f23[_0x3db217(0xb8)])['map'](_0x192d53=>({'start':_0x192d53[_0x3db217(0xf6)],'end':_0x192d53[_0x3db217(0x13c)]})));}function _(_0x47dc67){const _0x39b209=_0x424ebc;if(_0x47dc67[_0x39b209(0xf9)]===0x0)return[];let _0x2f7d8e=[..._0x47dc67][_0x39b209(0x15c)]((_0x4496b0,_0x10f430)=>_0x4496b0[_0x39b209(0xf6)]-_0x10f430[_0x39b209(0xf6)]||_0x4496b0[_0x39b209(0x13c)]-_0x10f430[_0x39b209(0x13c)]),_0x47798f=[];for(let _0x56626d of _0x2f7d8e){let _0x5bf763=_0x47798f[_0x47798f['length']-0x1];!_0x5bf763||_0x56626d[_0x39b209(0xf6)]>_0x5bf763[_0x39b209(0x13c)]+0x1?_0x47798f[_0x39b209(0xf5)]({..._0x56626d}):_0x5bf763[_0x39b209(0x13c)]=Math[_0x39b209(0x167)](_0x5bf763[_0x39b209(0x13c)],_0x56626d[_0x39b209(0x13c)]);}return _0x47798f;}function v(_0x4c40d9,_0x341ee7){const _0x47c9bd=_0x424ebc;return _0x341ee7[_0x47c9bd(0xb9)]<=0x0?_0x4c40d9:S(_0x4c40d9[_0x47c9bd(0x164)](_0xfa7996=>d(_0xfa7996,_0x341ee7)?_0x341ee7[_0x47c9bd(0xa4)]<=_0xfa7996['start']?{..._0xfa7996,'start':_0xfa7996[_0x47c9bd(0xf6)]+_0x341ee7[_0x47c9bd(0xb9)],'end':_0xfa7996['end']+_0x341ee7[_0x47c9bd(0xb9)]}:_0xfa7996[_0x47c9bd(0xf6)]<_0x341ee7[_0x47c9bd(0xa4)]&&_0x341ee7[_0x47c9bd(0xa4)]<=_0xfa7996[_0x47c9bd(0x13c)]?{..._0xfa7996,'end':_0xfa7996[_0x47c9bd(0x13c)]+_0x341ee7['count']}:_0xfa7996:_0xfa7996));}function y(_0x49d71c,_0x14913d){const _0x5af7ed=_0x424ebc;if(_0x14913d[_0x5af7ed(0xf6)]>_0x14913d[_0x5af7ed(0x13c)])return _0x49d71c;let _0x26e364=_0x14913d[_0x5af7ed(0x13c)]-_0x14913d[_0x5af7ed(0xf6)]+0x1,_0x37fd9a=[];for(let _0x42b954 of _0x49d71c){if(!d(_0x42b954,_0x14913d)){_0x37fd9a[_0x5af7ed(0xf5)](_0x42b954);continue;}if(_0x42b954[_0x5af7ed(0x13c)]<_0x14913d['start']){_0x37fd9a['push'](_0x42b954);continue;}if(_0x42b954[_0x5af7ed(0xf6)]>_0x14913d[_0x5af7ed(0x13c)]){_0x37fd9a[_0x5af7ed(0xf5)]({..._0x42b954,'start':_0x42b954[_0x5af7ed(0xf6)]-_0x26e364,'end':_0x42b954[_0x5af7ed(0x13c)]-_0x26e364});continue;}let _0x4ed3ab=Math[_0x5af7ed(0x167)](_0x42b954[_0x5af7ed(0xf6)],_0x14913d['start']),_0x1498ae=Math[_0x5af7ed(0x118)](_0x42b954[_0x5af7ed(0x13c)],_0x14913d['end']),_0x555945=Math[_0x5af7ed(0x167)](0x0,_0x1498ae-_0x4ed3ab+0x1),_0x44b9ee=_0x42b954['end']-_0x42b954[_0x5af7ed(0xf6)]+0x1-_0x555945;if(_0x44b9ee<=0x0)continue;let _0x55c242=_0x42b954[_0x5af7ed(0xf6)]<_0x14913d[_0x5af7ed(0xf6)]?_0x42b954[_0x5af7ed(0xf6)]:_0x14913d[_0x5af7ed(0xf6)];_0x37fd9a[_0x5af7ed(0xf5)]({..._0x42b954,'start':_0x55c242,'end':_0x55c242+_0x44b9ee-0x1});}return S(_0x37fd9a);}function b(_0x16055e,_0x489e9a){const _0x543489=_0x424ebc;if(_0x489e9a[_0x543489(0xbc)]>_0x489e9a[_0x543489(0x125)])return _0x16055e;let _0xe4665=[];for(let _0x5bbecb of _0x16055e){if(!d(_0x5bbecb,_0x489e9a)){_0xe4665[_0x543489(0xf5)](_0x5bbecb);continue;}let _0x11f6c1=x(_0x5bbecb,_0x489e9a);if(_0x11f6c1[_0x543489(0x147)]===_0x543489(0x11e))throw new s('move-splits-outline',_0x543489(0xa9)+_0x5bbecb['id'],_0x5bbecb['id']);_0xe4665[_0x543489(0xf5)](_0x11f6c1['outline']);}return S(_0xe4665);}function x(_0x2c97e3,_0x41bded){const _0x2e6dd0=_0x424ebc;let _0xe538bf=te(_0x41bded[_0x2e6dd0(0xbc)],_0x41bded[_0x2e6dd0(0x125)]+0x1,_0x41bded[_0x2e6dd0(0x13f)]),_0x313cd2=[],_0x1e96d9={'start':_0x2c97e3['start'],'end':_0x2c97e3[_0x2e6dd0(0x13c)]+0x1};for(let _0xb97e50 of _0xe538bf){let _0x4f56fe=ne(_0x1e96d9,_0xb97e50[_0x2e6dd0(0x10e)]);_0x4f56fe&&_0x313cd2['push']({'start':_0x4f56fe[_0x2e6dd0(0xf6)]+_0xb97e50[_0x2e6dd0(0x160)],'end':_0x4f56fe[_0x2e6dd0(0x13c)]+_0xb97e50[_0x2e6dd0(0x160)]});}let _0x527532=re(_0x313cd2);return _0x527532[_0x2e6dd0(0xf9)]===0x1?{'type':'ok','outline':{..._0x2c97e3,'start':_0x527532[0x0][_0x2e6dd0(0xf6)],'end':_0x527532[0x0][_0x2e6dd0(0x13c)]-0x1}}:{'type':_0x2e6dd0(0x11e),'outline':_0x2c97e3,'ranges':_0x527532};}function te(_0x3ef384,_0x4ccba2,_0x47f197){const _0x2d139a=_0x424ebc;let _0x375180=_0x4ccba2-_0x3ef384;if(_0x375180<=0x0)throw Error(_0x2d139a(0xb0));return _0x47f197>=_0x3ef384&&_0x47f197<=_0x4ccba2?[{'range':{'start':0x0,'end':u},'offset':0x0}]:_0x47f197<_0x3ef384?[{'range':{'start':0x0,'end':_0x47f197},'offset':0x0},{'range':{'start':_0x47f197,'end':_0x3ef384},'offset':_0x375180},{'range':{'start':_0x3ef384,'end':_0x4ccba2},'offset':_0x47f197-_0x3ef384},{'range':{'start':_0x4ccba2,'end':u},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x3ef384},'offset':0x0},{'range':{'start':_0x3ef384,'end':_0x4ccba2},'offset':_0x47f197-_0x4ccba2},{'range':{'start':_0x4ccba2,'end':_0x47f197},'offset':-_0x375180},{'range':{'start':_0x47f197,'end':u},'offset':0x0}];}function ne(_0x4d6431,_0x477697){const _0x1534f2=_0x424ebc;let _0x610631=Math['max'](_0x4d6431['start'],_0x477697[_0x1534f2(0xf6)]),_0x4a4bee=Math[_0x1534f2(0x118)](_0x4d6431[_0x1534f2(0x13c)],_0x477697[_0x1534f2(0x13c)]);return _0x610631>=_0x4a4bee?null:{'start':_0x610631,'end':_0x4a4bee};}function re(_0x4e07ac){const _0x130aed=_0x424ebc;if(_0x4e07ac['length']===0x0)return[];let _0xdfe80=[..._0x4e07ac][_0x130aed(0x15c)]((_0x23df99,_0x19ee7f)=>_0x23df99[_0x130aed(0xf6)]-_0x19ee7f[_0x130aed(0xf6)]||_0x23df99['end']-_0x19ee7f['end']),_0x408c84=[];for(let _0x312ad9 of _0xdfe80){let _0x5a58e7=_0x408c84[_0x408c84[_0x130aed(0xf9)]-0x1];!_0x5a58e7||_0x312ad9['start']>_0x5a58e7['end']?_0x408c84[_0x130aed(0xf5)]({..._0x312ad9}):_0x5a58e7[_0x130aed(0x13c)]=Math[_0x130aed(0x167)](_0x5a58e7[_0x130aed(0x13c)],_0x312ad9[_0x130aed(0x13c)]);}return _0x408c84;}function ie(_0x412c68,_0x4cad1d,_0x3c9c9c,_0x3b85aa){return _0x4cad1d+0x1===_0x3c9c9c||_0x3b85aa+0x1===_0x412c68;}function S(_0x2c1952){let _0x115d0f=ae(_0x2c1952);return f(_0x115d0f),_0x115d0f;}function ae(_0x12c635){const _0x3b4b49=_0x424ebc;let _0x1562bd=new Map();for(let _0x398e78 of _0x12c635){let _0xeb21c7=[_0x398e78['unitId'],_0x398e78[_0x3b4b49(0x100)],_0x398e78['axis'],_0x398e78[_0x3b4b49(0xf6)],_0x398e78['end']][_0x3b4b49(0xc8)](':'),_0x4cc5f6=_0x1562bd['get'](_0xeb21c7);if(!_0x4cc5f6){_0x1562bd[_0x3b4b49(0xe8)](_0xeb21c7,_0x398e78);continue;}_0x1562bd[_0x3b4b49(0xe8)](_0xeb21c7,{..._0x4cc5f6,'collapsed':_0x4cc5f6['collapsed']||_0x398e78[_0x3b4b49(0xb8)]});}return Array['from'](_0x1562bd['values']());}function _0x5873(_0x26821a,_0x5795fd){_0x26821a=_0x26821a-0x9f;const _0x1f4cc9=_0x1f4c();let _0x58739e=_0x1f4cc9[_0x26821a];return _0x58739e;}function C(_0x15babc,_0x40d2a6){const _0x41fc3b=_0x424ebc;return _0x15babc[_0x41fc3b(0xde)]===_0x40d2a6['unitId']?_0x15babc[_0x41fc3b(0x100)]===_0x40d2a6[_0x41fc3b(0x100)]?_0x15babc[_0x41fc3b(0xab)]===_0x40d2a6[_0x41fc3b(0xab)]?_0x15babc[_0x41fc3b(0xf6)]===_0x40d2a6['start']?_0x40d2a6[_0x41fc3b(0x13c)]-_0x15babc[_0x41fc3b(0x13c)]:_0x15babc[_0x41fc3b(0xf6)]-_0x40d2a6[_0x41fc3b(0xf6)]:_0x15babc['axis'][_0x41fc3b(0x135)](_0x40d2a6[_0x41fc3b(0xab)]):_0x15babc[_0x41fc3b(0x100)][_0x41fc3b(0x135)](_0x40d2a6[_0x41fc3b(0x100)]):_0x15babc[_0x41fc3b(0xde)]['localeCompare'](_0x40d2a6['unitId']);}function oe(_0x3dbfb0){const _0x3d8d8b=_0x424ebc;if(_0x3dbfb0[_0x3d8d8b(0xf6)]>_0x3dbfb0[_0x3d8d8b(0x13c)])throw new s(_0x3d8d8b(0xcf),_0x3d8d8b(0xf1),_0x3dbfb0['id']);}function se(_0x3e380e,_0x1b2417){const _0x5cd60f=_0x424ebc;let _0x178d7c=_0x3e380e[_0x5cd60f(0xf6)]<=_0x1b2417[_0x5cd60f(0x13c)]&&_0x1b2417[_0x5cd60f(0xf6)]<=_0x3e380e[_0x5cd60f(0x13c)],_0x3ddbf4=_0x3e380e[_0x5cd60f(0xf6)]<=_0x1b2417[_0x5cd60f(0xf6)]&&_0x1b2417[_0x5cd60f(0x13c)]<=_0x3e380e[_0x5cd60f(0x13c)],_0xac82c7=_0x1b2417[_0x5cd60f(0xf6)]<=_0x3e380e['start']&&_0x3e380e[_0x5cd60f(0x13c)]<=_0x1b2417[_0x5cd60f(0x13c)];return _0x178d7c&&!_0x3ddbf4&&!_0xac82c7;}function w(_0x460415){'@babel/helpers - typeof';const _0x3c6a2a=_0x424ebc;return w=typeof Symbol==_0x3c6a2a(0xe3)&&typeof Symbol[_0x3c6a2a(0x157)]=='symbol'?function(_0x6fc783){return typeof _0x6fc783;}:function(_0x12c6e4){const _0x3d58a0=_0x3c6a2a;return _0x12c6e4&&typeof Symbol==_0x3d58a0(0xe3)&&_0x12c6e4[_0x3d58a0(0xe5)]===Symbol&&_0x12c6e4!==Symbol['prototype']?_0x3d58a0(0x126):typeof _0x12c6e4;},w(_0x460415);}function ce(_0x3a0adf,_0x1e1918){const _0x8d2e76=_0x424ebc;if(w(_0x3a0adf)!=_0x8d2e76(0x105)||!_0x3a0adf)return _0x3a0adf;var _0x111f8d=_0x3a0adf[Symbol[_0x8d2e76(0x151)]];if(_0x111f8d!==void 0x0){var _0x38ee2d=_0x111f8d['call'](_0x3a0adf,_0x1e1918||_0x8d2e76(0xe7));if(w(_0x38ee2d)!=_0x8d2e76(0x105))return _0x38ee2d;throw TypeError(_0x8d2e76(0x11d));}return(_0x1e1918==='string'?String:Number)(_0x3a0adf);}function le(_0x312ef5){const _0x4a3c2c=_0x424ebc;var _0x50e9d4=ce(_0x312ef5,_0x4a3c2c(0x15d));return w(_0x50e9d4)==_0x4a3c2c(0x126)?_0x50e9d4:_0x50e9d4+'';}function T(_0x19d0de,_0x4f97e3,_0x3f8634){const _0x19fb51=_0x424ebc;return(_0x4f97e3=le(_0x4f97e3))in _0x19d0de?Object[_0x19fb51(0xa8)](_0x19d0de,_0x4f97e3,{'value':_0x3f8634,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x19d0de[_0x4f97e3]=_0x3f8634,_0x19d0de;}var E=class extends e[_0x424ebc(0x132)]{constructor(..._0x213acf){const _0x4b5d7f=_0x424ebc;super(..._0x213acf),T(this,_0x4b5d7f(0x174),new Map()),T(this,_0x4b5d7f(0xaa),new n['Subject']()),T(this,_0x4b5d7f(0x152),this[_0x4b5d7f(0xaa)][_0x4b5d7f(0x103)]());}[_0x424ebc(0xe4)](_0x1c3bf2,_0x520145){const _0xb3c13f=_0x424ebc;var _0x42bb65,_0x19e5a2;return[...(_0x42bb65=(_0x19e5a2=this[_0xb3c13f(0x174)][_0xb3c13f(0xd7)](_0x1c3bf2))==null?void 0x0:_0x19e5a2[_0xb3c13f(0xd7)](_0x520145))==null?[]:_0x42bb65];}[_0x424ebc(0xc6)](_0x9d8898){const _0x450cc0=_0x424ebc;let _0xa545a5=this[_0x450cc0(0x174)][_0x450cc0(0xd7)](_0x9d8898),_0x23ee48=new Map();return _0xa545a5==null||_0xa545a5[_0x450cc0(0xbb)]((_0x4f04b7,_0x4b8c35)=>{const _0x15c1d7=_0x450cc0;_0x23ee48[_0x15c1d7(0xe8)](_0x4b8c35,[..._0x4f04b7]);}),_0x23ee48;}[_0x424ebc(0x10a)](_0xb46d0b,_0x4adac8,_0x405f18){const _0x56bab7=_0x424ebc;this[_0x56bab7(0xbf)](_0xb46d0b)['set'](_0x4adac8,[..._0x405f18]),this[_0x56bab7(0xaa)][_0x56bab7(0x15e)]({'unitId':_0xb46d0b,'subUnitId':_0x4adac8});}[_0x424ebc(0x116)](_0x1d2ca5){const _0x110c6e=_0x424ebc;this[_0x110c6e(0x174)][_0x110c6e(0xdd)](_0x1d2ca5),this['_change$']['next']({'unitId':_0x1d2ca5});}[_0x424ebc(0xc2)](_0x2c6a56){const _0x336d07=_0x424ebc;let _0x4e7007=this[_0x336d07(0x174)][_0x336d07(0xd7)](_0x2c6a56),_0x1095ef={};return _0x4e7007==null||_0x4e7007['forEach']((_0x962100,_0x173c0f)=>{_0x1095ef[_0x173c0f]={'outlineList':[..._0x962100]};}),_0x1095ef;}[_0x424ebc(0x166)](_0x4fed7b,_0x57172e){const _0x1bbd95=_0x424ebc;let _0x1f20e1=new Map();Object[_0x1bbd95(0xd6)](_0x57172e)['forEach'](([_0x4ed2f7,_0x42a92c])=>{const _0xb51f91=_0x1bbd95;var _0x56c4ea;_0x1f20e1[_0xb51f91(0xe8)](_0x4ed2f7,[...(_0x56c4ea=_0x42a92c['outlineList'])==null?[]:_0x56c4ea]);}),this[_0x1bbd95(0x174)][_0x1bbd95(0xe8)](_0x4fed7b,_0x1f20e1),this[_0x1bbd95(0xaa)][_0x1bbd95(0x15e)]({'unitId':_0x4fed7b});}['dispose'](){const _0x23b185=_0x424ebc;super[_0x23b185(0xa0)](),this['_outlines'][_0x23b185(0x136)](),this[_0x23b185(0xaa)][_0x23b185(0xed)]();}['_ensureUnitOutlines'](_0xfab223){const _0x3187af=_0x424ebc;let _0x3a3205=this['_outlines']['get'](_0xfab223);return _0x3a3205||(_0x3a3205=new Map(),this[_0x3187af(0x174)][_0x3187af(0xe8)](_0xfab223,_0x3a3205)),_0x3a3205;}},D=class extends e[_0x424ebc(0x132)]{constructor(..._0x7f7b47){const _0x3e2133=_0x424ebc;super(..._0x7f7b47),T(this,_0x3e2133(0xdb),new n['Subject']()),T(this,_0x3e2133(0xb7),this[_0x3e2133(0xdb)][_0x3e2133(0x103)]());}[_0x424ebc(0xc5)](_0x14f805){const _0xb9f30b=_0x424ebc;this['_error$'][_0xb9f30b(0x15e)](_0x14f805);}[_0x424ebc(0xa0)](){const _0x463f3a=_0x424ebc;super[_0x463f3a(0xa0)](),this[_0x463f3a(0xdb)]['complete']();}};const O={'id':_0x424ebc(0x169),'type':e[_0x424ebc(0x175)]['MUTATION'],'handler':(_0x3e9328,_0xe5923c)=>{const _0x41c092=_0x424ebc;let _0x51e641=_0x3e9328['get'](E),_0x8eda30=_0x51e641[_0x41c092(0xe4)](_0xe5923c[_0x41c092(0xde)],_0xe5923c[_0x41c092(0x100)]);return _0x51e641[_0x41c092(0x10a)](_0xe5923c[_0x41c092(0xde)],_0xe5923c[_0x41c092(0x100)],m(_0x8eda30,_0xe5923c['outline'])),!0x0;}},k={'id':_0x424ebc(0xcd),'type':e['CommandType'][_0x424ebc(0x119)],'handler':(_0x561ac2,_0x4ae037)=>{const _0xfaec90=_0x424ebc;let _0x5ce80e=_0x561ac2[_0xfaec90(0xd7)](E),_0x27f894=_0x5ce80e[_0xfaec90(0xe4)](_0x4ae037[_0xfaec90(0xde)],_0x4ae037[_0xfaec90(0x100)]);return _0x5ce80e[_0xfaec90(0x10a)](_0x4ae037[_0xfaec90(0xde)],_0x4ae037['subUnitId'],_0x27f894[_0xfaec90(0x173)](_0x4f1c42=>_0x4f1c42['id']!==_0x4ae037['outlineId'])),!0x0;}};function A(_0x356d7c,_0x3f5eaf,_0x2b0082){const _0x430725=_0x424ebc;let _0x4feae3=de(_0x356d7c);return _0x4feae3?_0x4feae3['permissionCheckWithoutRange']({'workbookTypes':[t[_0x430725(0xf7)]],'worksheetTypes':[t[_0x430725(0x172)]]},_0x3f5eaf,_0x2b0082):!0x0;}function ue(_0x2b8a94,_0xa12b5e,_0x197e14){const _0x1d89ee=_0x424ebc;var _0x18e2fd;let _0x1f1433=fe(_0x2b8a94);return((_0x18e2fd=_0x1f1433==null?void 0x0:_0x1f1433[_0x1d89ee(0x11c)])==null?(0x0,n['of'])(null):_0x18e2fd)[_0x1d89ee(0xac)]((0x0,r[_0x1d89ee(0x11a)])(0x64),(0x0,r['startWith'])(null),(0x0,r['map'])(()=>A(_0x2b8a94,_0xa12b5e,_0x197e14)));}function de(_0x1dcc35){const _0x574525=_0x424ebc;if(typeof _0x1dcc35['has']==_0x574525(0xe3)&&!_0x1dcc35['has'](t[_0x574525(0xe2)]))return null;try{return _0x1dcc35['get'](t[_0x574525(0xe2)]);}catch{return null;}}function fe(_0x3b1c4e){const _0x221029=_0x424ebc;if(typeof _0x3b1c4e[_0x221029(0x163)]==_0x221029(0xe3)&&!_0x3b1c4e[_0x221029(0x163)](e[_0x221029(0x11b)]))return null;try{return _0x3b1c4e[_0x221029(0xd7)](e[_0x221029(0x11b)]);}catch{return null;}}const j={'id':_0x424ebc(0xaf),'type':e['CommandType'][_0x424ebc(0x13b)],'handler':(_0x431d5d,_0x2f8d2a)=>{const _0x91b6a=_0x424ebc;var _0x3a8d01,_0x369f87;if(!_0x2f8d2a)return!0x1;let _0x505e5d=(0x0,t[_0x91b6a(0x170)])(_0x431d5d[_0x91b6a(0xd7)](e['IUniverInstanceService']),_0x2f8d2a);if(!_0x505e5d)return!0x1;let {unitId:_0x22b2e1,subUnitId:_0x4ec012,worksheet:_0x171c07}=_0x505e5d;if(!A(_0x431d5d,_0x22b2e1,_0x4ec012))return!0x1;let _0x3b717d=_0x431d5d[_0x91b6a(0xd7)](E),_0x54763f={'id':_0x91b6a(0xb4)+(0x0,e[_0x91b6a(0xa6)])(0x6),'unitId':_0x22b2e1,'subUnitId':_0x4ec012,'axis':_0x2f8d2a['axis'],'start':_0x2f8d2a[_0x91b6a(0xf6)],'end':_0x2f8d2a['end'],'collapsed':!0x1},_0xfdd150=_0x2f8d2a[_0x91b6a(0xab)]===_0x91b6a(0x161)?_0x171c07[_0x91b6a(0x144)]():_0x171c07[_0x91b6a(0xa3)](),_0x40dd33=_0x3b717d[_0x91b6a(0xe4)](_0x22b2e1,_0x4ec012),_0x323cca=ee(_0x40dd33,_0x54763f),_0x772306=(_0x3a8d01=_0x323cca==null?void 0x0:_0x323cca[_0x91b6a(0x165)])==null?[]:_0x3a8d01,_0xfe63a7=(_0x369f87=_0x323cca==null?void 0x0:_0x323cca[_0x91b6a(0x124)])==null?_0x54763f:_0x369f87,_0x3eed28=p(_0x323cca?_0x40dd33[_0x91b6a(0x173)](_0x15f9c8=>!_0x772306[_0x91b6a(0x143)](_0x549466=>_0x549466['id']===_0x15f9c8['id'])):_0x40dd33,_0xfe63a7,{'maxIndex':_0xfdd150});if(!_0x3eed28[_0x91b6a(0x10d)]){var _0x121d1c;return _0x431d5d['get'](D)[_0x91b6a(0xc5)]({'reason':(_0x121d1c=_0x3eed28[_0x91b6a(0x168)])==null?_0x91b6a(0xeb):_0x121d1c,'commandId':j['id'],'unitId':_0x22b2e1,'subUnitId':_0x4ec012,'axis':_0x2f8d2a[_0x91b6a(0xab)],'outlineId':_0xfe63a7['id']}),!0x1;}let _0x5beb2a=[..._0x772306[_0x91b6a(0x164)](_0x296b39=>({'id':k['id'],'params':{'unitId':_0x22b2e1,'subUnitId':_0x4ec012,'outlineId':_0x296b39['id']}})),{'id':O['id'],'params':{'unitId':_0x22b2e1,'subUnitId':_0x4ec012,'outline':_0xfe63a7}}],_0x3c176a=[{'id':k['id'],'params':{'unitId':_0x22b2e1,'subUnitId':_0x4ec012,'outlineId':_0xfe63a7['id']}},..._0x772306[_0x91b6a(0x164)](_0x4304e8=>({'id':O['id'],'params':{'unitId':_0x22b2e1,'subUnitId':_0x4ec012,'outline':_0x4304e8}}))];return(0x0,e['sequenceExecute'])(_0x5beb2a,_0x431d5d[_0x91b6a(0xd7)](e[_0x91b6a(0x117)]))[_0x91b6a(0xd3)]?(_0x431d5d[_0x91b6a(0xd7)](e[_0x91b6a(0x140)])[_0x91b6a(0x106)]({'unitID':_0x22b2e1,'undoMutations':_0x3c176a,'redoMutations':_0x5beb2a}),!0x0):!0x1;}},M={'id':_0x424ebc(0xd8),'type':e[_0x424ebc(0x175)][_0x424ebc(0x119)],'handler':(_0x17f16b,_0x4175e4)=>{const _0x485b07=_0x424ebc;let _0x5cb571=_0x17f16b['get'](E),_0x1394ce=_0x5cb571[_0x485b07(0xe4)](_0x4175e4['unitId'],_0x4175e4[_0x485b07(0x100)]);return _0x5cb571[_0x485b07(0x10a)](_0x4175e4[_0x485b07(0xde)],_0x4175e4[_0x485b07(0x100)],h(_0x1394ce,_0x4175e4)),!0x0;}},N={'id':'sheet.command.clear-dimension-outlines','type':e[_0x424ebc(0x175)][_0x424ebc(0x13b)],'handler':(_0x3197b,_0x41566a)=>{const _0x31354d=_0x424ebc;if(!_0x41566a)return!0x1;let _0x54abcd=(0x0,t[_0x31354d(0x170)])(_0x3197b[_0x31354d(0xd7)](e[_0x31354d(0x137)]),_0x41566a);if(!_0x54abcd)return!0x1;let {unitId:_0x4af8c7,subUnitId:_0x2da30e}=_0x54abcd;if(!A(_0x3197b,_0x4af8c7,_0x2da30e))return!0x1;let _0x17739e={'unitId':_0x4af8c7,'subUnitId':_0x2da30e,'axis':_0x41566a[_0x31354d(0xab)],'start':_0x41566a['start'],'end':_0x41566a['end']},_0x5af7f4=_0x3197b['get'](E)['getOutlines'](_0x4af8c7,_0x2da30e)[_0x31354d(0x173)](_0x5b32da=>d(_0x5b32da,_0x17739e)&&_0x5b32da[_0x31354d(0xf6)]>=_0x41566a[_0x31354d(0xf6)]&&_0x5b32da[_0x31354d(0x13c)]<=_0x41566a[_0x31354d(0x13c)]);if(_0x5af7f4[_0x31354d(0xf9)]===0x0)return _0x3197b[_0x31354d(0xd7)](D)['emit']({'reason':'clear-range-not-contain-outline','commandId':N['id'],'unitId':_0x4af8c7,'subUnitId':_0x2da30e,'axis':_0x41566a[_0x31354d(0xab)]}),!0x1;let _0xf6cb4d=[{'id':M['id'],'params':{..._0x17739e,'removedOutlineIds':_0x5af7f4[_0x31354d(0x164)](_0x303362=>_0x303362['id'])}}],_0x286d35=_0x5af7f4[_0x31354d(0x164)](_0x504d1c=>({'id':O['id'],'params':{'unitId':_0x4af8c7,'subUnitId':_0x2da30e,'outline':_0x504d1c}}));return(0x0,e[_0x31354d(0x15f)])(_0xf6cb4d,_0x3197b[_0x31354d(0xd7)](e[_0x31354d(0x117)]))[_0x31354d(0xd3)]?(_0x3197b['get'](e[_0x31354d(0x140)])[_0x31354d(0x106)]({'unitID':_0x4af8c7,'undoMutations':_0x286d35,'redoMutations':_0xf6cb4d}),!0x0):!0x1;}},P={'id':'sheet.command.remove-dimension-outline','type':e[_0x424ebc(0x175)]['COMMAND'],'handler':(_0x46afe2,_0x42b557)=>{const _0x2f1954=_0x424ebc;if(!_0x42b557)return!0x1;let _0x120197=(0x0,t[_0x2f1954(0x170)])(_0x46afe2['get'](e[_0x2f1954(0x137)]),_0x42b557);if(!_0x120197)return!0x1;let {unitId:_0x2553cd,subUnitId:_0x20f26a}=_0x120197;if(!A(_0x46afe2,_0x2553cd,_0x20f26a))return!0x1;let _0x2de4f0=_0x46afe2['get'](E)[_0x2f1954(0xe4)](_0x2553cd,_0x20f26a)[_0x2f1954(0xec)](_0x1d6c92=>_0x1d6c92['id']===_0x42b557['outlineId']);if(!_0x2de4f0)return!0x1;let _0x36012e=[{'id':k['id'],'params':{'unitId':_0x2553cd,'subUnitId':_0x20f26a,'outlineId':_0x2de4f0['id'],'outline':_0x2de4f0}}],_0x5a1d15=[{'id':O['id'],'params':{'unitId':_0x2553cd,'subUnitId':_0x20f26a,'outline':_0x2de4f0}}];return(0x0,e['sequenceExecute'])(_0x36012e,_0x46afe2[_0x2f1954(0xd7)](e['ICommandService']))[_0x2f1954(0xd3)]?(_0x46afe2[_0x2f1954(0xd7)](e[_0x2f1954(0x140)])[_0x2f1954(0x106)]({'unitID':_0x2553cd,'undoMutations':_0x5a1d15,'redoMutations':_0x36012e}),!0x0):!0x1;}},F={'id':_0x424ebc(0x14e),'type':e[_0x424ebc(0x175)][_0x424ebc(0x119)],'handler':(_0x360174,_0x2ec9a1)=>{const _0x2cadc9=_0x424ebc;let _0xadd3a2=_0x360174[_0x2cadc9(0xd7)](E),_0x4bae92=_0xadd3a2[_0x2cadc9(0xe4)](_0x2ec9a1['unitId'],_0x2ec9a1['subUnitId']),_0x4e854e=_0x4bae92[_0x2cadc9(0xec)](_0x936de2=>_0x936de2['id']===_0x2ec9a1['outlineId']);return _0x4e854e&&_0xadd3a2[_0x2cadc9(0x10a)](_0x2ec9a1[_0x2cadc9(0xde)],_0x2ec9a1['subUnitId'],_0x4bae92[_0x2cadc9(0x164)](_0x4c8d2a=>_0x4c8d2a[_0x2cadc9(0xde)]!==_0x4e854e['unitId']||_0x4c8d2a[_0x2cadc9(0x100)]!==_0x4e854e['subUnitId']||_0x4c8d2a['axis']!==_0x4e854e[_0x2cadc9(0xab)]||_0x4c8d2a['start']!==_0x4e854e[_0x2cadc9(0xf6)]||_0x4c8d2a[_0x2cadc9(0x13c)]!==_0x4e854e[_0x2cadc9(0x13c)]?_0x4c8d2a:{..._0x4c8d2a,'collapsed':_0x2ec9a1[_0x2cadc9(0xb8)]})),!0x0;}};function I(_0x3cfb11,_0x296941,_0x20b92d,_0x23aeb8){const _0x387171=_0x424ebc;return _0x3cfb11===_0x387171(0x161)?{'startRow':_0x296941,'endRow':_0x20b92d,'startColumn':0x0,'endColumn':_0x23aeb8[_0x387171(0xc1)]()-0x1}:{'startRow':0x0,'endRow':_0x23aeb8['getRowCount']()-0x1,'startColumn':_0x296941,'endColumn':_0x20b92d};}function pe(_0x35546f){const _0x4d520d=_0x424ebc;return _0x35546f===_0x4d520d(0x161)?t['SetRowHiddenMutation']['id']:t[_0x4d520d(0xb6)]['id'];}function me(_0x29dbc2){const _0x5a62f3=_0x424ebc;return _0x29dbc2===_0x5a62f3(0x161)?t[_0x5a62f3(0xd5)]['id']:t['SetColVisibleMutation']['id'];}function L(_0x24a96c,_0x487c97,_0x14eaaf,_0x97b037){const _0x43f13a=_0x424ebc;let _0x47ea5e=_0x487c97?[I(_0x24a96c[_0x43f13a(0xab)],_0x24a96c[_0x43f13a(0xf6)],_0x24a96c[_0x43f13a(0x13c)],_0x14eaaf)]:he(_0x24a96c,_0x97b037,_0x14eaaf),_0x1e813f=_0x487c97?pe(_0x24a96c[_0x43f13a(0xab)]):me(_0x24a96c['axis']);return[{'id':F['id'],'params':{'unitId':_0x24a96c[_0x43f13a(0xde)],'subUnitId':_0x24a96c[_0x43f13a(0x100)],'outlineId':_0x24a96c['id'],'outline':_0x24a96c,'collapsed':_0x487c97}},..._0x47ea5e['map'](_0x1baa8a=>({'id':_0x1e813f,'params':{'unitId':_0x24a96c[_0x43f13a(0xde)],'subUnitId':_0x24a96c['subUnitId'],'ranges':[_0x1baa8a],'dimensionOutlineId':_0x24a96c['id']}}))];}function he(_0x1b9bb8,_0x18f444,_0x39cd46){const _0x27335a=_0x424ebc;let _0x5b1bdc=g(_0x18f444[_0x27335a(0x164)](_0x57d4ef=>R(_0x57d4ef,_0x1b9bb8)?{..._0x57d4ef,'collapsed':!0x1}:_0x57d4ef),_0x1b9bb8[_0x27335a(0xde)],_0x1b9bb8[_0x27335a(0x100)],_0x1b9bb8[_0x27335a(0xab)]);return ge({'start':_0x1b9bb8['start'],'end':_0x1b9bb8[_0x27335a(0x13c)]},_0x5b1bdc)[_0x27335a(0x164)](_0x45de94=>I(_0x1b9bb8[_0x27335a(0xab)],_0x45de94[_0x27335a(0xf6)],_0x45de94[_0x27335a(0x13c)],_0x39cd46));}function R(_0x18d44f,_0x31a8b4){const _0x3ecec=_0x424ebc;return _0x18d44f[_0x3ecec(0xde)]===_0x31a8b4['unitId']&&_0x18d44f[_0x3ecec(0x100)]===_0x31a8b4[_0x3ecec(0x100)]&&_0x18d44f['axis']===_0x31a8b4[_0x3ecec(0xab)]&&_0x18d44f[_0x3ecec(0xf6)]===_0x31a8b4[_0x3ecec(0xf6)]&&_0x18d44f[_0x3ecec(0x13c)]===_0x31a8b4[_0x3ecec(0x13c)];}function ge(_0x75f34e,_0x2a2dad){const _0x1da295=_0x424ebc;let _0x19e248=_0x75f34e['start'],_0x5e31f7=[];for(let _0x1cb718 of _0x2a2dad)if(!(_0x1cb718[_0x1da295(0x13c)]<_0x19e248||_0x1cb718['start']>_0x75f34e[_0x1da295(0x13c)])&&(_0x1cb718[_0x1da295(0xf6)]>_0x19e248&&_0x5e31f7[_0x1da295(0xf5)]({'start':_0x19e248,'end':Math[_0x1da295(0x118)](_0x1cb718[_0x1da295(0xf6)]-0x1,_0x75f34e[_0x1da295(0x13c)])}),_0x19e248=Math[_0x1da295(0x167)](_0x19e248,_0x1cb718[_0x1da295(0x13c)]+0x1),_0x19e248>_0x75f34e[_0x1da295(0x13c)]))break;return _0x19e248<=_0x75f34e[_0x1da295(0x13c)]&&_0x5e31f7[_0x1da295(0xf5)]({'start':_0x19e248,'end':_0x75f34e[_0x1da295(0x13c)]}),_0x5e31f7;}const z={'id':'sheet.command.set-dimension-outline-collapsed','type':e['CommandType'][_0x424ebc(0x13b)],'handler':(_0x45ae58,_0x15e00a)=>{const _0x48e777=_0x424ebc;if(!_0x15e00a)return!0x1;let _0x20c566=(0x0,t['getSheetCommandTarget'])(_0x45ae58[_0x48e777(0xd7)](e['IUniverInstanceService']),_0x15e00a);if(!_0x20c566)return!0x1;let {unitId:_0x2fae8b,subUnitId:_0x2f9c26,worksheet:_0x244afb}=_0x20c566;if(!A(_0x45ae58,_0x2fae8b,_0x2f9c26))return!0x1;let _0x538949=_0x45ae58['get'](E)['getOutlines'](_0x2fae8b,_0x2f9c26),_0x3b0a88=_0x538949[_0x48e777(0xec)](_0x1455a7=>_0x1455a7['id']===_0x15e00a[_0x48e777(0x14f)]);if(!_0x3b0a88||_0x3b0a88[_0x48e777(0xb8)]===_0x15e00a[_0x48e777(0xb8)])return!0x1;let _0x492134=L(_0x3b0a88,_0x15e00a[_0x48e777(0xb8)],_0x244afb,_0x538949),_0x57fde2=L(_0x3b0a88,!_0x15e00a[_0x48e777(0xb8)],_0x244afb,_0x538949);return(0x0,e['sequenceExecute'])(_0x492134,_0x45ae58[_0x48e777(0xd7)](e[_0x48e777(0x117)]))[_0x48e777(0xd3)]?(_0x45ae58[_0x48e777(0xd7)](e[_0x48e777(0x140)])[_0x48e777(0x106)]({'unitID':_0x2fae8b,'undoMutations':_0x57fde2,'redoMutations':_0x492134}),!0x0):!0x1;}},B={'id':_0x424ebc(0xca),'type':e[_0x424ebc(0x175)][_0x424ebc(0x119)],'handler':(_0x435717,_0xdbead8)=>{const _0x1785f3=_0x424ebc;let _0x4fc077=_0x435717[_0x1785f3(0xd7)](E),_0x2fe917=_e(_0x4fc077['getOutlines'](_0xdbead8['unitId'],_0xdbead8[_0x1785f3(0x100)]),_0xdbead8);return _0x4fc077[_0x1785f3(0x10a)](_0xdbead8['unitId'],_0xdbead8[_0x1785f3(0x100)],_0x2fe917),!0x0;}};function _e(_0x2f18ff,_0xd8cf87){const _0x37d2e8=_0x424ebc;switch(_0xd8cf87[_0x37d2e8(0x147)]){case _0x37d2e8(0xf8):return _0xd8cf87['restoreOutlines']?ve(_0x2f18ff,_0xd8cf87):v(_0x2f18ff,_0xd8cf87);case _0x37d2e8(0xdd):return y(_0x2f18ff,_0xd8cf87);case _0x37d2e8(0xfd):return b(_0x2f18ff,_0xd8cf87);}}function ve(_0x47236b,_0x42b626){const _0x34cde4=_0x424ebc;return[..._0x47236b[_0x34cde4(0x173)](_0x10fcc6=>_0x10fcc6['unitId']!==_0x42b626[_0x34cde4(0xde)]||_0x10fcc6[_0x34cde4(0x100)]!==_0x42b626[_0x34cde4(0x100)]||_0x10fcc6[_0x34cde4(0xab)]!==_0x42b626['axis']),..._0x42b626[_0x34cde4(0x131)]];}const V='SHEET_OUTLINE_PLUGIN',H=_0x424ebc(0x123);Symbol(H);var ye=_0x424ebc(0x14c),be=_0x424ebc(0xfa);function U(_0x54d1c4,_0xe5f0fe){return function(_0x56dece,_0x2a13bb){_0xe5f0fe(_0x56dece,_0x2a13bb,_0x54d1c4);};}function W(_0x39c918,_0x1201e9,_0x293fd4,_0xcec2d8){const _0x4a6d81=_0x424ebc;var _0x3ed6f7=arguments[_0x4a6d81(0xf9)],_0x519f6a=_0x3ed6f7<0x3?_0x1201e9:_0xcec2d8===null?_0xcec2d8=Object[_0x4a6d81(0x104)](_0x1201e9,_0x293fd4):_0xcec2d8,_0x14ab08;if(typeof Reflect==_0x4a6d81(0x105)&&typeof Reflect[_0x4a6d81(0xa7)]==_0x4a6d81(0xe3))_0x519f6a=Reflect[_0x4a6d81(0xa7)](_0x39c918,_0x1201e9,_0x293fd4,_0xcec2d8);else{for(var _0x5d6e93=_0x39c918[_0x4a6d81(0xf9)]-0x1;_0x5d6e93>=0x0;_0x5d6e93--)(_0x14ab08=_0x39c918[_0x5d6e93])&&(_0x519f6a=(_0x3ed6f7<0x3?_0x14ab08(_0x519f6a):_0x3ed6f7>0x3?_0x14ab08(_0x1201e9,_0x293fd4,_0x519f6a):_0x14ab08(_0x1201e9,_0x293fd4))||_0x519f6a);}return _0x3ed6f7>0x3&&_0x519f6a&&Object[_0x4a6d81(0xa8)](_0x1201e9,_0x293fd4,_0x519f6a),_0x519f6a;}const G={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let K=class extends e[_0x424ebc(0x132)]{constructor(_0xe3df4c,_0x5764a9,_0x4ea383,_0x519a10){const _0x4efa58=_0x424ebc;super(),this[_0x4efa58(0x141)]=_0xe3df4c,this[_0x4efa58(0xba)]=_0x5764a9,this[_0x4efa58(0x14a)]=_0x4ea383,this[_0x4efa58(0x146)]=_0x519a10,this[_0x4efa58(0x130)]();}[_0x424ebc(0x130)](){const _0x3ad96e=_0x424ebc;this['disposeWithMe'](this['_sheetInterceptorService'][_0x3ad96e(0xda)]({'getMutations':_0x139f02=>xe(_0x139f02,(_0x4d7ee2,_0x335ef4)=>this[_0x3ad96e(0x14a)][_0x3ad96e(0xe4)](_0x4d7ee2,_0x335ef4),this[_0x3ad96e(0xc0)](_0x139f02[_0x3ad96e(0x133)]),_0x38186b=>this[_0x3ad96e(0x146)][_0x3ad96e(0xc5)](_0x38186b))}));}[_0x424ebc(0xc0)](_0x385253){const _0x1898ce=_0x424ebc;let _0x92680a=_0x385253,_0x2d5731=_0x92680a!=null&&_0x92680a[_0x1898ce(0xde)]?this[_0x1898ce(0x141)][_0x1898ce(0x122)](_0x92680a[_0x1898ce(0xde)]):this[_0x1898ce(0x141)]['getCurrentUnitForType'](e[_0x1898ce(0x114)]['UNIVER_SHEET']);if(!_0x2d5731)return;let _0x3fc561=_0x92680a!=null&&_0x92680a[_0x1898ce(0x100)]?_0x2d5731[_0x1898ce(0x142)](_0x92680a['subUnitId']):_0x2d5731[_0x1898ce(0x13a)]();if(_0x3fc561)return{'unitId':_0x2d5731[_0x1898ce(0xe0)](),'subUnitId':_0x3fc561[_0x1898ce(0x12e)]()};}};K=W([U(0x0,e[_0x424ebc(0x137)]),U(0x1,(0x0,e['Inject'])(t[_0x424ebc(0x13e)])),U(0x2,(0x0,e['Inject'])(E)),U(0x3,(0x0,e[_0x424ebc(0xb5)])(D))],K);function xe(_0x359c2d,_0x388b42,_0x4abfb7,_0x2243b4){const _0x4b6a33=_0x424ebc;let _0x45a17b=Ce(_0x359c2d,_0x4abfb7);if(!_0x45a17b)return Z();let _0x216b68=_0x388b42(_0x45a17b['unitId'],_0x45a17b['subUnitId']);if(!_0x216b68[_0x4b6a33(0x143)](_0x108f6d=>_0x108f6d[_0x4b6a33(0xab)]===_0x45a17b['axis']))return Z();Se(_0x216b68,_0x45a17b,_0x359c2d['id'],_0x2243b4);let _0x2424e8=we(_0x45a17b,_0x216b68);return{'redos':[{'id':B['id'],'params':_0x45a17b}],'undos':[{'id':B['id'],'params':_0x2424e8}],'preRedos':[],'preUndos':[]};}function Se(_0x52fd2f,_0x58a464,_0x2235ff,_0xb826de){const _0x12aad5=_0x424ebc;try{switch(_0x58a464[_0x12aad5(0x147)]){case _0x12aad5(0xf8):v(_0x52fd2f,_0x58a464);break;case _0x12aad5(0xdd):y(_0x52fd2f,_0x58a464);break;case _0x12aad5(0xfd):b(_0x52fd2f,_0x58a464);break;}}catch(_0x2ca08e){throw _0xb826de==null||_0xb826de({'reason':c(_0x2ca08e),'commandId':_0x2235ff,'unitId':_0x58a464['unitId'],'subUnitId':_0x58a464['subUnitId'],'axis':_0x58a464['axis'],'outlineId':l(_0x2ca08e)}),new e[(_0x12aad5(0x16c))](_0x2ca08e instanceof Error?_0x2ca08e['message']:_0x12aad5(0x113));}}function Ce(_0x11123f,_0x1317f0){const _0x469b7f=_0x424ebc;switch(_0x11123f['id']){case t[_0x469b7f(0x110)]['id']:return q(_0x11123f[_0x469b7f(0x133)],'row',_0x1317f0);case t['InsertColCommand']['id']:return q(_0x11123f[_0x469b7f(0x133)],_0x469b7f(0x154),_0x1317f0);case t['RemoveRowCommand']['id']:return J(_0x11123f[_0x469b7f(0x133)],_0x469b7f(0x161),_0x1317f0);case t[_0x469b7f(0xf0)]['id']:return J(_0x11123f[_0x469b7f(0x133)],_0x469b7f(0x154),_0x1317f0);case t[_0x469b7f(0x129)]['id']:return Y(_0x11123f[_0x469b7f(0x133)],'row',_0x1317f0);case t['MoveColsCommand']['id']:return Y(_0x11123f[_0x469b7f(0x133)],_0x469b7f(0x154),_0x1317f0);default:return null;}}function q(_0x1fdb7a,_0xfd3a3c,_0x21886a){const _0x23ac1b=_0x424ebc;let _0x96a31e=X(_0x1fdb7a,_0x21886a);if(!(_0x1fdb7a!=null&&_0x1fdb7a[_0x23ac1b(0x10e)])||!_0x96a31e)return null;let _0x248fcb=_0xfd3a3c===_0x23ac1b(0x161)?_0x1fdb7a[_0x23ac1b(0x10e)]['startRow']:_0x1fdb7a[_0x23ac1b(0x10e)][_0x23ac1b(0xef)],_0x13a273=_0xfd3a3c===_0x23ac1b(0x161)?_0x1fdb7a[_0x23ac1b(0x10e)][_0x23ac1b(0x149)]:_0x1fdb7a[_0x23ac1b(0x10e)][_0x23ac1b(0x120)];return{..._0x96a31e,'axis':_0xfd3a3c,'type':_0x23ac1b(0xf8),'index':_0x248fcb,'count':_0x13a273-_0x248fcb+0x1};}function J(_0x2bfba1,_0x18b1b1,_0x57afeb){const _0x55a973=_0x424ebc;let _0xe821e5=X(_0x2bfba1,_0x57afeb);if(!(_0x2bfba1!=null&&_0x2bfba1[_0x55a973(0x10e)])||!_0xe821e5)return null;let _0x433bcd=_0x18b1b1===_0x55a973(0x161)?_0x2bfba1[_0x55a973(0x10e)][_0x55a973(0xe9)]:_0x2bfba1[_0x55a973(0x10e)]['startColumn'],_0x1a7ba3=_0x18b1b1===_0x55a973(0x161)?_0x2bfba1[_0x55a973(0x10e)]['endRow']:_0x2bfba1[_0x55a973(0x10e)]['endColumn'];return{..._0xe821e5,'axis':_0x18b1b1,'type':'delete','start':_0x433bcd,'end':_0x1a7ba3};}function Y(_0x315cff,_0x2b8208,_0x44c4ea){const _0x3f5a44=_0x424ebc;let _0x36a616=X(_0x315cff,_0x44c4ea);if(!(_0x315cff!=null&&_0x315cff[_0x3f5a44(0xbd)])||!_0x315cff[_0x3f5a44(0xf2)]||!_0x36a616)return null;let _0x3128b9=_0x2b8208==='row'?_0x315cff['fromRange'][_0x3f5a44(0xe9)]:_0x315cff[_0x3f5a44(0xbd)][_0x3f5a44(0xef)],_0x2c09e0=_0x2b8208===_0x3f5a44(0x161)?_0x315cff['fromRange'][_0x3f5a44(0x149)]:_0x315cff[_0x3f5a44(0xbd)]['endColumn'],_0x4a3ccb=_0x2b8208===_0x3f5a44(0x161)?_0x315cff['toRange'][_0x3f5a44(0xe9)]:_0x315cff[_0x3f5a44(0xf2)][_0x3f5a44(0xef)];return{..._0x36a616,'axis':_0x2b8208,'type':_0x3f5a44(0xfd),'sourceStart':_0x3128b9,'sourceEnd':_0x2c09e0,'destinationIndex':_0x4a3ccb};}function we(_0x188eec,_0x42e99c){const _0x1d26f7=_0x424ebc;switch(_0x188eec[_0x1d26f7(0x147)]){case _0x1d26f7(0xf8):return{'unitId':_0x188eec['unitId'],'subUnitId':_0x188eec[_0x1d26f7(0x100)],'axis':_0x188eec['axis'],'type':_0x1d26f7(0xdd),'start':_0x188eec[_0x1d26f7(0xa4)],'end':_0x188eec['index']+_0x188eec['count']-0x1};case'delete':return{'unitId':_0x188eec[_0x1d26f7(0xde)],'subUnitId':_0x188eec[_0x1d26f7(0x100)],'axis':_0x188eec[_0x1d26f7(0xab)],'type':_0x1d26f7(0xf8),'index':_0x188eec[_0x1d26f7(0xf6)],'count':_0x188eec[_0x1d26f7(0x13c)]-_0x188eec[_0x1d26f7(0xf6)]+0x1,'restoreOutlines':_0x42e99c[_0x1d26f7(0x173)](_0x46511e=>_0x46511e[_0x1d26f7(0xde)]===_0x188eec[_0x1d26f7(0xde)]&&_0x46511e[_0x1d26f7(0x100)]===_0x188eec[_0x1d26f7(0x100)]&&_0x46511e['axis']===_0x188eec[_0x1d26f7(0xab)])};case'move':return Te(_0x188eec);}}function Te(_0x3b4f62){const _0x2072d2=_0x424ebc;let _0x427526=_0x3b4f62[_0x2072d2(0x125)]-_0x3b4f62[_0x2072d2(0xbc)]+0x1;return _0x3b4f62['destinationIndex']>=_0x3b4f62[_0x2072d2(0xbc)]&&_0x3b4f62[_0x2072d2(0x13f)]<=_0x3b4f62[_0x2072d2(0x125)]+0x1?{..._0x3b4f62}:_0x3b4f62[_0x2072d2(0x13f)]>_0x3b4f62[_0x2072d2(0x125)]+0x1?{..._0x3b4f62,'sourceStart':_0x3b4f62[_0x2072d2(0x13f)]-_0x427526,'sourceEnd':_0x3b4f62[_0x2072d2(0x13f)]-0x1,'destinationIndex':_0x3b4f62[_0x2072d2(0xbc)]}:{..._0x3b4f62,'sourceStart':_0x3b4f62['destinationIndex'],'sourceEnd':_0x3b4f62[_0x2072d2(0x13f)]+_0x427526-0x1,'destinationIndex':_0x3b4f62[_0x2072d2(0x125)]+0x1};}function X(_0x378b09,_0x54712b){const _0x805e00=_0x424ebc;var _0x52545d,_0x184c23;let _0x142ac5=(_0x52545d=_0x378b09==null?void 0x0:_0x378b09[_0x805e00(0xde)])==null?_0x54712b==null?void 0x0:_0x54712b[_0x805e00(0xde)]:_0x52545d,_0x126e32=(_0x184c23=_0x378b09==null?void 0x0:_0x378b09['subUnitId'])==null?_0x54712b==null?void 0x0:_0x54712b['subUnitId']:_0x184c23;return _0x142ac5&&_0x126e32?{'unitId':_0x142ac5,'subUnitId':_0x126e32}:null;}function Z(){const _0x4e2cac=_0x424ebc;var _0x5c8e3d,_0x93675b;return{'redos':[...G['redos']],'undos':[...G[_0x4e2cac(0xa2)]],'preRedos':[...(_0x5c8e3d=G[_0x4e2cac(0xd9)])==null?[]:_0x5c8e3d],'preUndos':[...(_0x93675b=G[_0x4e2cac(0x162)])==null?[]:_0x93675b]};}let Q=class extends e[_0x424ebc(0x132)]{constructor(_0x2d4e87,_0x192099){const _0x49c03b=_0x424ebc;super(),this[_0x49c03b(0x115)]=_0x2d4e87,this['_sheetsOutlineModel']=_0x192099,this[_0x49c03b(0xbe)]();}[_0x424ebc(0xbe)](){const _0x2ae4e5=_0x424ebc;this[_0x2ae4e5(0xfe)](this[_0x2ae4e5(0x115)][_0x2ae4e5(0xcc)]({'pluginName':V,'businesses':[e['UniverInstanceType']['UNIVER_SHEET']],'toJson':_0x20621c=>JSON[_0x2ae4e5(0xb1)](this[_0x2ae4e5(0x14a)][_0x2ae4e5(0xc2)](_0x20621c)),'parseJson':_0x47b932=>JSON[_0x2ae4e5(0x148)](_0x47b932),'onLoad':(_0x4cd630,_0x49cef7)=>this[_0x2ae4e5(0x14a)][_0x2ae4e5(0x166)](_0x4cd630,_0x49cef7),'onUnLoad':_0x3bb4c2=>this[_0x2ae4e5(0x14a)][_0x2ae4e5(0x116)](_0x3bb4c2)}));}};Q=W([U(0x0,e[_0x424ebc(0x13d)]),U(0x1,(0x0,e[_0x424ebc(0xb5)])(E))],Q);let $=class extends e[_0x424ebc(0xce)]{constructor(_0x5b9f79,_0x4325be,_0x27f884){const _0x448f6e=_0x424ebc;super(),this[_0x448f6e(0x16d)]=_0x5b9f79,this[_0x448f6e(0xd2)]=_0x4325be,this['_commandService']=_0x27f884;}['onStarting'](){const _0x59418f=_0x424ebc;this[_0x59418f(0xd2)][_0x59418f(0x127)]([E]),this[_0x59418f(0xd2)][_0x59418f(0x127)]([D]),this[_0x59418f(0xd2)][_0x59418f(0x127)]([Q]),this[_0x59418f(0xd2)][_0x59418f(0x127)]([K]),this['_initRegisterCommand'](),this['_injector'][_0x59418f(0xd7)](E),this[_0x59418f(0xd2)][_0x59418f(0xd7)](D),this[_0x59418f(0xd2)][_0x59418f(0xd7)](Q),this[_0x59418f(0xd2)]['get'](K);}['_initRegisterCommand'](){const _0x2b1ad1=_0x424ebc;[j,P,z,N][_0x2b1ad1(0xbb)](_0xd02341=>{const _0x5d49f9=_0x2b1ad1;this[_0x5d49f9(0xfe)](this[_0x5d49f9(0x138)][_0x5d49f9(0xf3)](_0xd02341));}),[O,k,F,M,B][_0x2b1ad1(0xbb)](_0x58d690=>{const _0x4f2a3d=_0x2b1ad1;this['disposeWithMe'](this[_0x4f2a3d(0x138)]['registerCommand'](_0x58d690));});}};T($,'pluginName',V),T($,'packageName',ye),T($,_0x424ebc(0xe1),be),T($,_0x424ebc(0x147),e[_0x424ebc(0x114)][_0x424ebc(0x9f)]),$=W([(0x0,e[_0x424ebc(0x101)])(i['UniverLicensePlugin']),U(0x1,(0x0,e[_0x424ebc(0xb5)])(e['Injector'])),U(0x2,e['ICommandService'])],$),exports[_0x424ebc(0x11f)]=j,exports[_0x424ebc(0x134)]=O,exports['ClearDimensionOutlinesCommand']=N,exports[_0x424ebc(0x155)]=M,exports['DimensionOutlineAxis']=a,exports[_0x424ebc(0x12f)]=s,exports[_0x424ebc(0x128)]=o,exports[_0x424ebc(0x12c)]=P,exports[_0x424ebc(0xc3)]=k,exports['SHEETS_OUTLINE_PLUGIN_CONFIG_KEY']=H,exports['SHEET_OUTLINE_PLUGIN']=V,exports[_0x424ebc(0xa5)]=z,exports['SetDimensionOutlineCollapsedMutation']=F,exports[_0x424ebc(0xff)]=D,exports[_0x424ebc(0x16f)]=E,exports[_0x424ebc(0x111)]=B,Object['defineProperty'](exports,'UniverSheetsOutlinePlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports['addDimensionOutlineToList']=m,exports[_0x424ebc(0x112)]=f,exports[_0x424ebc(0xdc)]=g,exports[_0x424ebc(0x102)]=p,exports[_0x424ebc(0xee)]=h,exports[_0x424ebc(0xa1)]=l,exports['getDimensionOutlineErrorReason']=c,exports[_0x424ebc(0xc4)]=ue,exports['hasDimensionOutlineViewPermission']=A,exports[_0x424ebc(0x156)]=_,exports['transformOutlinesByDelete']=y,exports['transformOutlinesByInsert']=v,exports[_0x424ebc(0xfc)]=b;function _0x1f4c(){const _0x176a9f=['result','2067iKBYyz','SetRowVisibleMutation','entries','get','sheet.mutation.clear-dimension-outlines','preRedos','interceptCommand','_error$','buildHiddenRanges','delete','unitId','out-of-bounds','getUnitId','version','SheetPermissionCheckController','function','getOutlines','constructor','crossing','default','set','startRow','CROSSING','unknown','find','complete','clearDimensionOutlinesInRange','startColumn','RemoveColCommand','Invalid\x20outline\x20range','toRange','registerCommand','1762857SogHDY','push','start','WorkbookViewPermission','insert','length','0.23.0-insiders.20260522-e8f2a3b','INVALID_RANGE','transformOutlinesByMove','move','disposeWithMe','SheetsOutlineErrorService','subUnitId','DependentOn','canAddDimensionOutline','asObservable','getOwnPropertyDescriptor','object','pushUndoRedo','8vHJxYT','maxDepth','message','setOutlines','16746tfxGMn','clear-range-not-contain-outline','valid','range','invalid-dimension-outline','InsertRowCommand','TransformDimensionOutlinesMutation','buildDimensionOutlineTree','Invalid\x20dimension\x20outline\x20mutation','UniverInstanceType','_resourceManagerService','removeUnit','ICommandService','min','MUTATION','debounceTime','IPermissionService','permissionPointUpdate$','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','split','AddDimensionOutlineCommand','endColumn','max-depth','getUniverSheetInstance','sheets-outline.config','mergedOutline','sourceEnd','symbol','add','DimensionOutlineErrorReason','MoveRowsCommand','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','name','RemoveDimensionOutlineCommand','1754610KORNnJ','getSheetId','DimensionOutlineError','_initCommandInterceptor','restoreOutlines','Disposable','params','AddDimensionOutlineMutation','localeCompare','clear','IUniverInstanceService','_commandService','MOVE_SPLITS_OUTLINE','getActiveSheet','COMMAND','end','IResourceManagerService','SheetInterceptorService','destinationIndex','IUndoRedoService','_univerInstanceService','getSheetBySheetId','some','getRowCount','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','_sheetsOutlineErrorService','type','parse','endRow','_sheetsOutlineModel','includes','@univerjs-pro/sheets-outline','OUT_OF_BOUNDS','sheet.mutation.set-dimension-outline-collapsed','outlineId','Module','toPrimitive','change$','toStringTag','column','ClearDimensionOutlinesMutation','mergeRanges','iterator','16289oqdqUE','UNKNOWN','1410eLNhix','maxIndex','sort','string','next','sequenceExecute','offset','row','preUndos','has','map','mergedOutlines','deserialize','max','reason','sheet.mutation.add-dimension-outline','4fBdotA','4676jwbTsI','CustomCommandExecutionError','_config','split\x20dimension\x20outline','SheetsOutlineModel','getSheetCommandTarget','pop','WorksheetViewPermission','filter','_outlines','CommandType','UNIVER_SHEET','dispose','getDimensionOutlineErrorOutlineId','undos','getColumnCount','index','SetDimensionOutlineCollapsedCommand','generateRandomId','decorate','defineProperty','Move\x20would\x20split\x20dimension\x20outline:\x20','_change$','axis','pipe','children','10923NjWjhL','sheet.command.add-dimension-outline','Invalid\x20dimension\x20outline\x20move\x20source\x20range','stringify','1610TTwOkZ','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','dimension-outline-','Inject','SetColHiddenMutation','error$','collapsed','count','_sheetInterceptorService','forEach','sourceStart','fromRange','_initResource','_ensureUnitOutlines','_getCommandScope','getMaxColumns','serialize','RemoveDimensionOutlineMutation','getDimensionOutlineViewPermission$','emit','getUnitOutlines','Crossing','join','depth','sheet.mutation.transform-dimension-outlines','204142cAHDdj','registerPluginResource','sheet.mutation.remove-dimension-outline','Plugin','invalid-range','17652gmcMUL','values','_injector'];_0x1f4c=function(){return _0x176a9f;};return _0x1f4c();}
|
package/lib/es/facade.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x83ca4c=_0x5921;function _0xe552(){var _0x5a0c15=['282388TueakZ','getDimensionOutlines','64004dtvGGH','setDimensionOutlineCollapsed','2812288vNtCxo','getUnitId','3DJpVJK','clearDimensionOutlines','_injector','removeDimensionOutline','_worksheet','ROW','axis','296436yKdNHx','643682cVMxBz','_addDimensionOutline','_commandService','getOutlines','getSheetId','filter','COLUMN','syncExecuteCommand','extend','_workbook','addColumnOutline','1074522GWHscv','1452815gnPlye'];_0xe552=function(){return _0x5a0c15;};return _0xe552();}(function(_0x2b16c8,_0x2a402d){var _0x191df9=_0x5921,_0x542761=_0x2b16c8();while(!![]){try{var _0x291f41=parseInt(_0x191df9(0x1e1))/0x1+parseInt(_0x191df9(0x1ef))/0x2+-parseInt(_0x191df9(0x1e7))/0x3*(-parseInt(_0x191df9(0x1e3))/0x4)+parseInt(_0x191df9(0x1e0))/0x5+-parseInt(_0x191df9(0x1df))/0x6+-parseInt(_0x191df9(0x1ee))/0x7+-parseInt(_0x191df9(0x1e5))/0x8;if(_0x291f41===_0x2a402d)break;else _0x542761['push'](_0x542761['shift']());}catch(_0x571749){_0x542761['push'](_0x542761['shift']());}}}(_0xe552,0x5279e));import{AddDimensionOutlineCommand as _0x588539,ClearDimensionOutlinesCommand as _0x2a7a2b,DimensionOutlineAxis as _0x1c043f,DimensionOutlineErrorReason as _0x34697b,RemoveDimensionOutlineCommand as _0x417f68,SetDimensionOutlineCollapsedCommand as _0x3fdfa1,SheetsOutlineModel as _0x24668c}from'@univerjs-pro/sheets-outline';function _0x5921(_0x11f2f3,_0x15f511){_0x11f2f3=_0x11f2f3-0x1dd;var _0xe55260=_0xe552();var _0x59210c=_0xe55260[_0x11f2f3];return _0x59210c;}import{FEnum as _0x120f6e}from'@univerjs/core/facade';import{FWorksheet as _0x439e44}from'@univerjs/sheets/facade';var l=class extends _0x120f6e{get['DimensionOutlineAxis'](){return _0x1c043f;}get['DimensionOutlineErrorReason'](){return _0x34697b;}};_0x120f6e[_0x83ca4c(0x1f7)](l);var u=class extends _0x439e44{['addRowOutline'](_0x4ed485,_0x144415){var _0x3dff51=_0x83ca4c;return this[_0x3dff51(0x1f0)](_0x1c043f[_0x3dff51(0x1ec)],_0x4ed485,_0x144415);}[_0x83ca4c(0x1de)](_0x381db2,_0x4fa16f){var _0xcacdd0=_0x83ca4c;return this[_0xcacdd0(0x1f0)](_0x1c043f[_0xcacdd0(0x1f5)],_0x381db2,_0x4fa16f);}[_0x83ca4c(0x1ea)](_0x3a4e5d){var _0x4d077b=_0x83ca4c;return this['_commandService'][_0x4d077b(0x1f6)](_0x417f68['id'],{'unitId':this[_0x4d077b(0x1dd)][_0x4d077b(0x1e6)](),'subUnitId':this[_0x4d077b(0x1eb)]['getSheetId'](),'outlineId':_0x3a4e5d}),this;}[_0x83ca4c(0x1e4)](_0xaa6c50,_0x4dac0f){var _0x268e4d=_0x83ca4c;return this['_commandService'][_0x268e4d(0x1f6)](_0x3fdfa1['id'],{'unitId':this[_0x268e4d(0x1dd)]['getUnitId'](),'subUnitId':this[_0x268e4d(0x1eb)][_0x268e4d(0x1f3)](),'outlineId':_0xaa6c50,'collapsed':_0x4dac0f}),this;}[_0x83ca4c(0x1e8)](_0x4762b3,_0x3f9c4c,_0x3ee928){var _0x397186=_0x83ca4c;return this[_0x397186(0x1f1)][_0x397186(0x1f6)](_0x2a7a2b['id'],{'unitId':this[_0x397186(0x1dd)][_0x397186(0x1e6)](),'subUnitId':this[_0x397186(0x1eb)][_0x397186(0x1f3)](),'axis':_0x4762b3,'start':_0x3f9c4c,'end':_0x3ee928}),this;}[_0x83ca4c(0x1e2)](_0x4093b8){var _0x4063b1=_0x83ca4c;let _0x5a55fc=this[_0x4063b1(0x1e9)]['get'](_0x24668c)[_0x4063b1(0x1f2)](this['_workbook']['getUnitId'](),this[_0x4063b1(0x1eb)][_0x4063b1(0x1f3)]());return _0x4093b8?_0x5a55fc[_0x4063b1(0x1f4)](_0x37700e=>_0x37700e[_0x4063b1(0x1ed)]===_0x4093b8):_0x5a55fc;}[_0x83ca4c(0x1f0)](_0x2708f8,_0x350b00,_0x410f82){var _0x3989cd=_0x83ca4c;return this['_commandService']['syncExecuteCommand'](_0x588539['id'],{'unitId':this[_0x3989cd(0x1dd)][_0x3989cd(0x1e6)](),'subUnitId':this[_0x3989cd(0x1eb)][_0x3989cd(0x1f3)](),'axis':_0x2708f8,'start':_0x350b00,'end':_0x350b00+_0x410f82-0x1}),this;}};_0x439e44['extend'](u);export{};
|
package/lib/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x407a(){const _0x4d660a=['filter','getOutlines','startColumn','unitId','version','sourceEnd','change$','subUnitId','maxDepth','6508EXWYLb','pop','interceptCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','registerPluginResource','emit','find','getMaxColumns','sourceStart','forEach','permissionPointUpdate$','MUTATION','_initResource','2121sNpwSN','symbol','mergedOutline','getUnitId','min','COMMAND','Invalid\x20outline\x20range','MAX_DEPTH','sheet.mutation.remove-dimension-outline','sheet.command.add-dimension-outline','start','startRow','Invalid\x20dimension\x20outline\x20mutation','serialize','result','sheet.mutation.transform-dimension-outlines','getActiveSheet','push','disposeWithMe','count','onStarting','_initRegisterCommand','sheet.command.set-dimension-outline-collapsed','pushUndoRedo','fromRange','pipe','next','sheet.command.remove-dimension-outline','valid','depth','function','dimension-outline-','7tgjbue','outlineId','sheet.mutation.add-dimension-outline','crossing','0.23.0-insiders.20260522-e8f2a3b','call','from','deserialize','_sheetInterceptorService','end','CROSSING','max-depth','8358485DLVWdx','sort','set','143KslxeU','map','_outlines','getUniverSheetInstance','_error$','column','string','1043698JdxahO','_injector','add','includes','toRange','length','split\x20dimension\x20outline','offset','values','move-splits-outline','iterator','type','6LnGjZY','collapsed','endColumn','getRowCount','some','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','redos','UNIVER_SHEET','insert','_univerInstanceService','restoreOutlines','delete','unknown','_getCommandScope','asObservable','message','axis','index','destinationIndex','dispose','move','10ZJOjfd','9262278VDpJLn','@univerjs-pro/sheets-outline','getUnitOutlines','decorate','clear','permissionCheckWithoutRange','_commandService','endRow','object','mergedOutlines','has','invalid-range','split','_sheetsOutlineModel','_resourceManagerService','setOutlines','localeCompare','get','DimensionOutlineError','clear-range-not-contain-outline','_initCommandInterceptor','max','stringify','complete','sheet.mutation.set-dimension-outline-collapsed','sheets-outline.config','params','constructor','toPrimitive','reason','children','outline','outlineList','249828fjJWzi','prototype','registerCommand','13800040VkQhNW','MOVE_SPLITS_OUTLINE','_sheetsOutlineErrorService','maxIndex','getCurrentUnitForType','preUndos','range','defineProperty','default','removeUnit','_ensureUnitOutlines','1300510Utbntw','error$','_config','sheet.mutation.clear-dimension-outlines','out-of-bounds','getColumnCount','pluginName','_change$','join','row'];_0x407a=function(){return _0x4d660a;};return _0x407a();}const _0x5d32a7=_0x29f2;(function(_0x39cc11,_0x43c0a7){const _0x3ee566=_0x29f2,_0x3c6973=_0x39cc11();while(!![]){try{const _0x3e6861=parseInt(_0x3ee566(0x10a))/0x1+-parseInt(_0x3ee566(0xb9))/0x2+-parseInt(_0x3ee566(0x83))/0x3*(parseInt(_0x3ee566(0x11d))/0x4)+-parseInt(_0x3ee566(0xaf))/0x5*(-parseInt(_0x3ee566(0xc5))/0x6)+parseInt(_0x3ee566(0xa3))/0x7*(-parseInt(_0x3ee566(0xff))/0x8)+parseInt(_0x3ee566(0xdb))/0x9*(parseInt(_0x3ee566(0xda))/0xa)+-parseInt(_0x3ee566(0xb2))/0xb*(-parseInt(_0x3ee566(0xfc))/0xc);if(_0x3e6861===_0x43c0a7)break;else _0x3c6973['push'](_0x3c6973['shift']());}catch(_0x83d893){_0x3c6973['push'](_0x3c6973['shift']());}}}(_0x407a,0xd5965));import{CommandType as _0x4edc21,CustomCommandExecutionError as _0xe8d48a,DependentOn as _0x2b5666,Disposable as _0x470ba7,ICommandService as _0x147a2d,IPermissionService as _0x33a765,IResourceManagerService as _0x1e23e7,IUndoRedoService as _0x11d84b,IUniverInstanceService as _0x5daa48,Inject as _0x1924a8,Injector as _0x3eca3a,Plugin as _0x24d77d,UniverInstanceType as _0x4e8739,generateRandomId as _0x524ac4,sequenceExecute as _0x391a7d}from'@univerjs/core';import{InsertColCommand as _0x18773e,InsertRowCommand as _0x37c8de,MoveColsCommand as _0x53ee34,MoveRowsCommand as _0x4b0f3d,RemoveColCommand as _0x519170,RemoveRowCommand as _0x3aba96,SetColHiddenMutation as _0x216a3d,SetColVisibleMutation as _0x2f83c5,SetRowHiddenMutation as _0x39639d,SetRowVisibleMutation as _0x429e40,SheetInterceptorService as _0x2b29b0,SheetPermissionCheckController as _0x5ac7a4,WorkbookViewPermission as _0x497349,WorksheetViewPermission as _0x139688,getSheetCommandTarget as _0x51ea1c}from'@univerjs/sheets';import{Subject as _0x34e2c1,of as _0x200ad5}from'rxjs';import{debounceTime as _0x10721e,map as _0x1b2bfa,startWith as _0x546505}from'rxjs/operators';import{UniverLicensePlugin as _0x5020a7}from'@univerjs-pro/license';let fe=function(_0x15f01c){const _0x21b817=_0x29f2;return _0x15f01c['ROW']=_0x21b817(0x113),_0x15f01c['COLUMN']=_0x21b817(0xb7),_0x15f01c;}({}),pe=function(_0x27afb9){const _0x3de742=_0x29f2;return _0x27afb9['INVALID_RANGE']='invalid-range',_0x27afb9['OUT_OF_BOUNDS']=_0x3de742(0x10e),_0x27afb9[_0x3de742(0xad)]=_0x3de742(0xa6),_0x27afb9[_0x3de742(0x8a)]=_0x3de742(0xae),_0x27afb9[_0x3de742(0x100)]='move-splits-outline',_0x27afb9[_0x3de742(0xca)]='clear-range-not-contain-outline',_0x27afb9['UNKNOWN']=_0x3de742(0xd1),_0x27afb9;}({});var w=class extends Error{constructor(_0x32abaf,_0x204f39,_0x2eb962){const _0x70ab60=_0x29f2;super(_0x204f39),this['reason']=_0x32abaf,this['outlineId']=_0x2eb962,this['name']=_0x70ab60(0xed);}};function T(_0x41bb5f){const _0x5d0fee=_0x29f2;return _0x41bb5f instanceof w?_0x41bb5f[_0x5d0fee(0xf8)]:_0x41bb5f instanceof Error?_0x41bb5f['message'][_0x5d0fee(0xbc)](_0x5d0fee(0xbf))?_0x5d0fee(0xc2):_0x41bb5f[_0x5d0fee(0xd4)][_0x5d0fee(0xbc)](_0x5d0fee(0xa0))?'max-depth':_0x41bb5f['message'][_0x5d0fee(0xbc)]('Crossing')?_0x5d0fee(0xa6):_0x41bb5f['message'][_0x5d0fee(0xbc)]('range')?_0x5d0fee(0xe6):_0x5d0fee(0xd1):_0x5d0fee(0xd1);}function me(_0x5d397e){const _0x9bfc07=_0x29f2;return _0x5d397e instanceof w?_0x5d397e[_0x9bfc07(0xa4)]:void 0x0;}const E=0x2**0x35-0x1;function D(_0x3114f4,_0x40568c){const _0x5ed532=_0x29f2;return _0x3114f4[_0x5ed532(0x117)]===_0x40568c[_0x5ed532(0x117)]&&_0x3114f4[_0x5ed532(0x11b)]===_0x40568c[_0x5ed532(0x11b)]&&_0x3114f4[_0x5ed532(0xd5)]===_0x40568c[_0x5ed532(0xd5)];}function O(_0x3d33b6,_0xbc0e57={}){const _0x22aacd=_0x29f2;var _0x1810f7;let _0xfceb=(_0x1810f7=_0xbc0e57[_0x22aacd(0x11c)])==null?0x8:_0x1810f7,_0x3dcd88=new Map();for(let _0x17835f of _0x3d33b6){let _0xe0ef54=_0x17835f['unitId']+':'+_0x17835f['subUnitId']+':'+_0x17835f[_0x22aacd(0xd5)],_0x2e3469=_0x3dcd88[_0x22aacd(0xec)](_0xe0ef54);_0x2e3469?_0x2e3469[_0x22aacd(0x94)](_0x17835f):_0x3dcd88[_0x22aacd(0xb1)](_0xe0ef54,[_0x17835f]);}let _0xd2bfa3=[];for(let _0x114430 of _0x3dcd88[_0x22aacd(0xc1)]()){let _0x4fafe7=[..._0x114430][_0x22aacd(0xb0)](Ee),_0x423b50=[];for(let _0x354bf5 of _0x4fafe7){for(De(_0x354bf5);_0x423b50['length']>0x0&&_0x354bf5[_0x22aacd(0x8d)]>_0x423b50[_0x423b50['length']-0x1][_0x22aacd(0xac)];)_0x423b50[_0x22aacd(0x11e)]();let _0x5b8194=_0x423b50[_0x423b50[_0x22aacd(0xbe)]-0x1];if(_0x5b8194&&_0x354bf5[_0x22aacd(0xac)]>_0x5b8194['end'])throw new w(_0x22aacd(0xa6),'Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed',_0x354bf5['id']);let _0x14d50f=_0x5b8194?_0x5b8194[_0x22aacd(0xa0)]+0x1:0x1;if(_0x14d50f>_0xfceb)throw new w(_0x22aacd(0xae),'Dimension\x20outline\x20depth\x20cannot\x20exceed\x20'+_0xfceb,_0x354bf5['id']);let _0x2480f8={..._0x354bf5,'depth':_0x14d50f,'parentId':_0x5b8194==null?void 0x0:_0x5b8194['id'],'anchor':_0x354bf5[_0x22aacd(0xac)],'children':[]};_0x5b8194?_0x5b8194[_0x22aacd(0xf9)]['push'](_0x2480f8):_0xd2bfa3[_0x22aacd(0x94)](_0x2480f8),_0x423b50[_0x22aacd(0x94)](_0x2480f8);}}return _0xd2bfa3;}function k(_0x2e6730,_0x30173b,_0x236091={}){const _0x3a8643=_0x29f2;if(_0x30173b[_0x3a8643(0x8d)]<0x0||_0x30173b[_0x3a8643(0x8d)]>_0x30173b['end'])return{'valid':!0x1,'reason':_0x3a8643(0xe6)};if(_0x236091[_0x3a8643(0x102)]!=null&&_0x30173b[_0x3a8643(0xac)]>=_0x236091[_0x3a8643(0x102)])return{'valid':!0x1,'reason':_0x3a8643(0x10e)};let _0x3d77ef=_0x2e6730[_0x3a8643(0x114)](_0x5f18fb=>D(_0x5f18fb,_0x30173b));for(let _0x5fdba6 of _0x3d77ef)if(Oe(_0x5fdba6,_0x30173b))return{'valid':!0x1,'reason':_0x3a8643(0xa6)};try{O([..._0x2e6730,_0x30173b],_0x236091);}catch(_0x4e7a0d){let _0x58ed00=T(_0x4e7a0d);return _0x58ed00==='max-depth'?{'valid':!0x1,'reason':_0x3a8643(0xae)}:_0x58ed00===_0x3a8643(0xe6)?{'valid':!0x1,'reason':_0x3a8643(0xe6)}:{'valid':!0x1,'reason':_0x3a8643(0xa6)};}return{'valid':!0x0};}function he(_0x504035,_0x5d58b2,_0x118114={}){const _0x485d63=_0x29f2;let _0x5d5853=k(_0x504035,_0x5d58b2,_0x118114);if(!_0x5d5853[_0x485d63(0x9f)]){var _0xdc8d5f;throw Error((_0xdc8d5f=_0x5d5853[_0x485d63(0xf8)])==null?'invalid-dimension-outline':_0xdc8d5f);}return[..._0x504035,_0x5d58b2];}function ge(_0x4ee9eb,_0x5693eb){const _0x587fa2=_0x29f2;let _0x1c4310=_0x5693eb[_0x587fa2(0x8d)],_0x459cfc=_0x5693eb[_0x587fa2(0xac)],_0x216ddc=[],_0x1ccc24=!0x0;for(;_0x1ccc24;){_0x1ccc24=!0x1;for(let _0x1f47b5 of _0x4ee9eb)_0x216ddc['includes'](_0x1f47b5)||!D(_0x1f47b5,_0x5693eb)||!we(_0x1f47b5[_0x587fa2(0x8d)],_0x1f47b5['end'],_0x1c4310,_0x459cfc)||(_0x216ddc[_0x587fa2(0x94)](_0x1f47b5),_0x1c4310=Math['min'](_0x1c4310,_0x1f47b5[_0x587fa2(0x8d)]),_0x459cfc=Math[_0x587fa2(0xf0)](_0x459cfc,_0x1f47b5[_0x587fa2(0xac)]),_0x1ccc24=!0x0);}if(_0x216ddc[_0x587fa2(0xbe)]===0x0)return null;let [_0x106986]=[..._0x216ddc][_0x587fa2(0xb0)](Ee);return{'mergedOutline':{..._0x106986,'start':_0x1c4310,'end':_0x459cfc},'mergedOutlines':_0x216ddc};}function _e(_0x25b5d9,_0x51aece){const _0x1d3a2c=_0x29f2;return _0x25b5d9[_0x1d3a2c(0x114)](_0x5818d6=>D(_0x5818d6,_0x51aece)?!(_0x5818d6[_0x1d3a2c(0x8d)]>=_0x51aece[_0x1d3a2c(0x8d)]&&_0x5818d6[_0x1d3a2c(0xac)]<=_0x51aece[_0x1d3a2c(0xac)]):!0x0);}function ve(_0x1a9a98,_0x1de8bb,_0x38bbd2,_0x21df45){const _0x1e4f3b=_0x29f2;return ye(_0x1a9a98[_0x1e4f3b(0x114)](_0x4b8b3c=>_0x4b8b3c[_0x1e4f3b(0x117)]===_0x1de8bb&&_0x4b8b3c[_0x1e4f3b(0x11b)]===_0x38bbd2&&_0x4b8b3c['axis']===_0x21df45&&_0x4b8b3c[_0x1e4f3b(0xc6)])[_0x1e4f3b(0xb3)](_0x19cbde=>({'start':_0x19cbde['start'],'end':_0x19cbde[_0x1e4f3b(0xac)]})));}function ye(_0x166fa4){const _0x306b04=_0x29f2;if(_0x166fa4['length']===0x0)return[];let _0x191899=[..._0x166fa4][_0x306b04(0xb0)]((_0x4cf338,_0x2d779a)=>_0x4cf338[_0x306b04(0x8d)]-_0x2d779a[_0x306b04(0x8d)]||_0x4cf338[_0x306b04(0xac)]-_0x2d779a[_0x306b04(0xac)]),_0x545f66=[];for(let _0xab8040 of _0x191899){let _0x3053fe=_0x545f66[_0x545f66['length']-0x1];!_0x3053fe||_0xab8040[_0x306b04(0x8d)]>_0x3053fe['end']+0x1?_0x545f66['push']({..._0xab8040}):_0x3053fe[_0x306b04(0xac)]=Math[_0x306b04(0xf0)](_0x3053fe[_0x306b04(0xac)],_0xab8040[_0x306b04(0xac)]);}return _0x545f66;}function A(_0x26f2ea,_0x1b8a06){const _0x4a964a=_0x29f2;return _0x1b8a06[_0x4a964a(0x96)]<=0x0?_0x26f2ea:N(_0x26f2ea['map'](_0xd2cc1=>D(_0xd2cc1,_0x1b8a06)?_0x1b8a06[_0x4a964a(0xd6)]<=_0xd2cc1[_0x4a964a(0x8d)]?{..._0xd2cc1,'start':_0xd2cc1['start']+_0x1b8a06['count'],'end':_0xd2cc1['end']+_0x1b8a06[_0x4a964a(0x96)]}:_0xd2cc1[_0x4a964a(0x8d)]<_0x1b8a06['index']&&_0x1b8a06['index']<=_0xd2cc1[_0x4a964a(0xac)]?{..._0xd2cc1,'end':_0xd2cc1['end']+_0x1b8a06[_0x4a964a(0x96)]}:_0xd2cc1:_0xd2cc1));}function j(_0x40a77b,_0x26de1b){const _0x74e52=_0x29f2;if(_0x26de1b[_0x74e52(0x8d)]>_0x26de1b[_0x74e52(0xac)])return _0x40a77b;let _0x25fea5=_0x26de1b[_0x74e52(0xac)]-_0x26de1b[_0x74e52(0x8d)]+0x1,_0x46f4bc=[];for(let _0x55d5d6 of _0x40a77b){if(!D(_0x55d5d6,_0x26de1b)){_0x46f4bc[_0x74e52(0x94)](_0x55d5d6);continue;}if(_0x55d5d6[_0x74e52(0xac)]<_0x26de1b[_0x74e52(0x8d)]){_0x46f4bc[_0x74e52(0x94)](_0x55d5d6);continue;}if(_0x55d5d6['start']>_0x26de1b[_0x74e52(0xac)]){_0x46f4bc[_0x74e52(0x94)]({..._0x55d5d6,'start':_0x55d5d6['start']-_0x25fea5,'end':_0x55d5d6[_0x74e52(0xac)]-_0x25fea5});continue;}let _0x1652d8=Math[_0x74e52(0xf0)](_0x55d5d6[_0x74e52(0x8d)],_0x26de1b['start']),_0x393026=Math['min'](_0x55d5d6[_0x74e52(0xac)],_0x26de1b['end']),_0xb7277b=Math['max'](0x0,_0x393026-_0x1652d8+0x1),_0x433c8e=_0x55d5d6[_0x74e52(0xac)]-_0x55d5d6[_0x74e52(0x8d)]+0x1-_0xb7277b;if(_0x433c8e<=0x0)continue;let _0x57c07a=_0x55d5d6[_0x74e52(0x8d)]<_0x26de1b[_0x74e52(0x8d)]?_0x55d5d6['start']:_0x26de1b[_0x74e52(0x8d)];_0x46f4bc[_0x74e52(0x94)]({..._0x55d5d6,'start':_0x57c07a,'end':_0x57c07a+_0x433c8e-0x1});}return N(_0x46f4bc);}function M(_0x19e7d4,_0x349070){const _0x163bfa=_0x29f2;if(_0x349070[_0x163bfa(0x125)]>_0x349070['sourceEnd'])return _0x19e7d4;let _0x3aba99=[];for(let _0x36b949 of _0x19e7d4){if(!D(_0x36b949,_0x349070)){_0x3aba99[_0x163bfa(0x94)](_0x36b949);continue;}let _0x5a63c4=be(_0x36b949,_0x349070);if(_0x5a63c4['type']==='split')throw new w(_0x163bfa(0xc2),'Move\x20would\x20split\x20dimension\x20outline:\x20'+_0x36b949['id'],_0x36b949['id']);_0x3aba99[_0x163bfa(0x94)](_0x5a63c4[_0x163bfa(0xfa)]);}return N(_0x3aba99);}function be(_0x1a7a97,_0xe43ff3){const _0xc36ce=_0x29f2;let _0x14641c=xe(_0xe43ff3['sourceStart'],_0xe43ff3[_0xc36ce(0x119)]+0x1,_0xe43ff3['destinationIndex']),_0x31d499=[],_0x2cb9ff={'start':_0x1a7a97[_0xc36ce(0x8d)],'end':_0x1a7a97[_0xc36ce(0xac)]+0x1};for(let _0x2c5039 of _0x14641c){let _0x56d5fd=Se(_0x2cb9ff,_0x2c5039[_0xc36ce(0x105)]);_0x56d5fd&&_0x31d499[_0xc36ce(0x94)]({'start':_0x56d5fd[_0xc36ce(0x8d)]+_0x2c5039[_0xc36ce(0xc0)],'end':_0x56d5fd['end']+_0x2c5039['offset']});}let _0x105226=Ce(_0x31d499);return _0x105226[_0xc36ce(0xbe)]===0x1?{'type':'ok','outline':{..._0x1a7a97,'start':_0x105226[0x0][_0xc36ce(0x8d)],'end':_0x105226[0x0][_0xc36ce(0xac)]-0x1}}:{'type':_0xc36ce(0xe7),'outline':_0x1a7a97,'ranges':_0x105226};}function xe(_0x25b00c,_0x230df9,_0x98b6e1){let _0x39d24b=_0x230df9-_0x25b00c;if(_0x39d24b<=0x0)throw Error('Invalid\x20dimension\x20outline\x20move\x20source\x20range');return _0x98b6e1>=_0x25b00c&&_0x98b6e1<=_0x230df9?[{'range':{'start':0x0,'end':E},'offset':0x0}]:_0x98b6e1<_0x25b00c?[{'range':{'start':0x0,'end':_0x98b6e1},'offset':0x0},{'range':{'start':_0x98b6e1,'end':_0x25b00c},'offset':_0x39d24b},{'range':{'start':_0x25b00c,'end':_0x230df9},'offset':_0x98b6e1-_0x25b00c},{'range':{'start':_0x230df9,'end':E},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x25b00c},'offset':0x0},{'range':{'start':_0x25b00c,'end':_0x230df9},'offset':_0x98b6e1-_0x230df9},{'range':{'start':_0x230df9,'end':_0x98b6e1},'offset':-_0x39d24b},{'range':{'start':_0x98b6e1,'end':E},'offset':0x0}];}function Se(_0x47f14d,_0x1288c5){const _0x4fc287=_0x29f2;let _0x29a2c2=Math[_0x4fc287(0xf0)](_0x47f14d[_0x4fc287(0x8d)],_0x1288c5[_0x4fc287(0x8d)]),_0x2a011c=Math[_0x4fc287(0x87)](_0x47f14d[_0x4fc287(0xac)],_0x1288c5[_0x4fc287(0xac)]);return _0x29a2c2>=_0x2a011c?null:{'start':_0x29a2c2,'end':_0x2a011c};}function Ce(_0xd670c2){const _0x22f244=_0x29f2;if(_0xd670c2[_0x22f244(0xbe)]===0x0)return[];let _0x25cdcd=[..._0xd670c2][_0x22f244(0xb0)]((_0x462bd3,_0x573f85)=>_0x462bd3[_0x22f244(0x8d)]-_0x573f85['start']||_0x462bd3[_0x22f244(0xac)]-_0x573f85[_0x22f244(0xac)]),_0x5b6099=[];for(let _0x571a54 of _0x25cdcd){let _0x2b60ff=_0x5b6099[_0x5b6099[_0x22f244(0xbe)]-0x1];!_0x2b60ff||_0x571a54[_0x22f244(0x8d)]>_0x2b60ff['end']?_0x5b6099[_0x22f244(0x94)]({..._0x571a54}):_0x2b60ff[_0x22f244(0xac)]=Math[_0x22f244(0xf0)](_0x2b60ff['end'],_0x571a54['end']);}return _0x5b6099;}function we(_0x14a50c,_0x77b580,_0x2604e3,_0x345ba6){return _0x77b580+0x1===_0x2604e3||_0x345ba6+0x1===_0x14a50c;}function N(_0x41705a){let _0x57eee9=Te(_0x41705a);return O(_0x57eee9),_0x57eee9;}function Te(_0x554fec){const _0x132923=_0x29f2;let _0x2aa20d=new Map();for(let _0x1572fd of _0x554fec){let _0xe26242=[_0x1572fd[_0x132923(0x117)],_0x1572fd[_0x132923(0x11b)],_0x1572fd[_0x132923(0xd5)],_0x1572fd[_0x132923(0x8d)],_0x1572fd[_0x132923(0xac)]][_0x132923(0x112)](':'),_0x1105d4=_0x2aa20d[_0x132923(0xec)](_0xe26242);if(!_0x1105d4){_0x2aa20d[_0x132923(0xb1)](_0xe26242,_0x1572fd);continue;}_0x2aa20d[_0x132923(0xb1)](_0xe26242,{..._0x1105d4,'collapsed':_0x1105d4[_0x132923(0xc6)]||_0x1572fd[_0x132923(0xc6)]});}return Array[_0x132923(0xa9)](_0x2aa20d[_0x132923(0xc1)]());}function Ee(_0x4d20f6,_0x9b573f){const _0x462001=_0x29f2;return _0x4d20f6['unitId']===_0x9b573f[_0x462001(0x117)]?_0x4d20f6[_0x462001(0x11b)]===_0x9b573f[_0x462001(0x11b)]?_0x4d20f6[_0x462001(0xd5)]===_0x9b573f[_0x462001(0xd5)]?_0x4d20f6[_0x462001(0x8d)]===_0x9b573f[_0x462001(0x8d)]?_0x9b573f[_0x462001(0xac)]-_0x4d20f6[_0x462001(0xac)]:_0x4d20f6[_0x462001(0x8d)]-_0x9b573f[_0x462001(0x8d)]:_0x4d20f6[_0x462001(0xd5)][_0x462001(0xeb)](_0x9b573f[_0x462001(0xd5)]):_0x4d20f6[_0x462001(0x11b)][_0x462001(0xeb)](_0x9b573f[_0x462001(0x11b)]):_0x4d20f6[_0x462001(0x117)][_0x462001(0xeb)](_0x9b573f[_0x462001(0x117)]);}function De(_0x2f0a91){const _0x7f556f=_0x29f2;if(_0x2f0a91['start']>_0x2f0a91[_0x7f556f(0xac)])throw new w(_0x7f556f(0xe6),_0x7f556f(0x89),_0x2f0a91['id']);}function Oe(_0x440576,_0x24a838){const _0x2fec21=_0x29f2;let _0x52a85a=_0x440576['start']<=_0x24a838['end']&&_0x24a838[_0x2fec21(0x8d)]<=_0x440576[_0x2fec21(0xac)],_0x558f5e=_0x440576['start']<=_0x24a838[_0x2fec21(0x8d)]&&_0x24a838[_0x2fec21(0xac)]<=_0x440576[_0x2fec21(0xac)],_0x2854f7=_0x24a838[_0x2fec21(0x8d)]<=_0x440576['start']&&_0x440576[_0x2fec21(0xac)]<=_0x24a838[_0x2fec21(0xac)];return _0x52a85a&&!_0x558f5e&&!_0x2854f7;}function P(_0x3a9997){'@babel/helpers - typeof';const _0x40b1f3=_0x29f2;return P=typeof Symbol==_0x40b1f3(0xa1)&&typeof Symbol[_0x40b1f3(0xc3)]=='symbol'?function(_0x553125){return typeof _0x553125;}:function(_0x3a6ec0){const _0x572220=_0x40b1f3;return _0x3a6ec0&&typeof Symbol=='function'&&_0x3a6ec0[_0x572220(0xf6)]===Symbol&&_0x3a6ec0!==Symbol[_0x572220(0xfd)]?_0x572220(0x84):typeof _0x3a6ec0;},P(_0x3a9997);}function ke(_0x5c2e29,_0x8e899f){const _0x2ab97f=_0x29f2;if(P(_0x5c2e29)!=_0x2ab97f(0xe3)||!_0x5c2e29)return _0x5c2e29;var _0x13d2b6=_0x5c2e29[Symbol[_0x2ab97f(0xf7)]];if(_0x13d2b6!==void 0x0){var _0x690f20=_0x13d2b6[_0x2ab97f(0xa8)](_0x5c2e29,_0x8e899f||_0x2ab97f(0x107));if(P(_0x690f20)!=_0x2ab97f(0xe3))return _0x690f20;throw TypeError(_0x2ab97f(0x120));}return(_0x8e899f==='string'?String:Number)(_0x5c2e29);}function Ae(_0x64db86){const _0x1d8808=_0x29f2;var _0x752162=ke(_0x64db86,_0x1d8808(0xb8));return P(_0x752162)==_0x1d8808(0x84)?_0x752162:_0x752162+'';}function F(_0x25d317,_0x39be24,_0x4a139f){return(_0x39be24=Ae(_0x39be24))in _0x25d317?Object['defineProperty'](_0x25d317,_0x39be24,{'value':_0x4a139f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x25d317[_0x39be24]=_0x4a139f,_0x25d317;}var I=class extends _0x470ba7{constructor(..._0x4bd77f){const _0x42a2d7=_0x29f2;super(..._0x4bd77f),F(this,_0x42a2d7(0xb4),new Map()),F(this,_0x42a2d7(0x111),new _0x34e2c1()),F(this,_0x42a2d7(0x11a),this['_change$']['asObservable']());}['getOutlines'](_0x3650ba,_0x57f406){const _0x3cfeba=_0x29f2;var _0x5d8e23,_0x373b74;return[...(_0x5d8e23=(_0x373b74=this[_0x3cfeba(0xb4)][_0x3cfeba(0xec)](_0x3650ba))==null?void 0x0:_0x373b74[_0x3cfeba(0xec)](_0x57f406))==null?[]:_0x5d8e23];}[_0x5d32a7(0xdd)](_0x50becd){const _0x4e55eb=_0x5d32a7;let _0x1ce9a0=this[_0x4e55eb(0xb4)][_0x4e55eb(0xec)](_0x50becd),_0x374fbf=new Map();return _0x1ce9a0==null||_0x1ce9a0[_0x4e55eb(0x126)]((_0x35700f,_0x392c85)=>{const _0x35aee8=_0x4e55eb;_0x374fbf[_0x35aee8(0xb1)](_0x392c85,[..._0x35700f]);}),_0x374fbf;}[_0x5d32a7(0xea)](_0x1587ec,_0x43b67f,_0x3c2538){const _0x212bac=_0x5d32a7;this[_0x212bac(0x109)](_0x1587ec)[_0x212bac(0xb1)](_0x43b67f,[..._0x3c2538]),this[_0x212bac(0x111)][_0x212bac(0x9d)]({'unitId':_0x1587ec,'subUnitId':_0x43b67f});}[_0x5d32a7(0x108)](_0x30188d){const _0x25e392=_0x5d32a7;this[_0x25e392(0xb4)][_0x25e392(0xd0)](_0x30188d),this[_0x25e392(0x111)][_0x25e392(0x9d)]({'unitId':_0x30188d});}[_0x5d32a7(0x90)](_0x3a770e){const _0x1054e8=_0x5d32a7;let _0x423b1=this[_0x1054e8(0xb4)][_0x1054e8(0xec)](_0x3a770e),_0x368df2={};return _0x423b1==null||_0x423b1[_0x1054e8(0x126)]((_0x3d1220,_0x4fe5fa)=>{_0x368df2[_0x4fe5fa]={'outlineList':[..._0x3d1220]};}),_0x368df2;}[_0x5d32a7(0xaa)](_0x2e932,_0x33b7b3){const _0x46b1c6=_0x5d32a7;let _0x4a46f7=new Map();Object['entries'](_0x33b7b3)['forEach'](([_0x25d1aa,_0x1a5fa2])=>{const _0x3f07e0=_0x29f2;var _0x5853e8;_0x4a46f7[_0x3f07e0(0xb1)](_0x25d1aa,[...(_0x5853e8=_0x1a5fa2[_0x3f07e0(0xfb)])==null?[]:_0x5853e8]);}),this[_0x46b1c6(0xb4)][_0x46b1c6(0xb1)](_0x2e932,_0x4a46f7),this[_0x46b1c6(0x111)][_0x46b1c6(0x9d)]({'unitId':_0x2e932});}[_0x5d32a7(0xd8)](){const _0x5be289=_0x5d32a7;super['dispose'](),this[_0x5be289(0xb4)][_0x5be289(0xdf)](),this[_0x5be289(0x111)][_0x5be289(0xf2)]();}['_ensureUnitOutlines'](_0x572e34){const _0x10e3f0=_0x5d32a7;let _0x2b55ab=this[_0x10e3f0(0xb4)][_0x10e3f0(0xec)](_0x572e34);return _0x2b55ab||(_0x2b55ab=new Map(),this[_0x10e3f0(0xb4)][_0x10e3f0(0xb1)](_0x572e34,_0x2b55ab)),_0x2b55ab;}},L=class extends _0x470ba7{constructor(..._0x2e58b6){const _0x7d025f=_0x5d32a7;super(..._0x2e58b6),F(this,_0x7d025f(0xb6),new _0x34e2c1()),F(this,_0x7d025f(0x10b),this[_0x7d025f(0xb6)][_0x7d025f(0xd3)]());}[_0x5d32a7(0x122)](_0x80ab84){this['_error$']['next'](_0x80ab84);}['dispose'](){const _0x4ea251=_0x5d32a7;super[_0x4ea251(0xd8)](),this[_0x4ea251(0xb6)][_0x4ea251(0xf2)]();}};const R={'id':_0x5d32a7(0xa5),'type':_0x4edc21['MUTATION'],'handler':(_0x326a1d,_0x368487)=>{const _0x33e16d=_0x5d32a7;let _0x2f85b=_0x326a1d['get'](I),_0x685413=_0x2f85b[_0x33e16d(0x115)](_0x368487[_0x33e16d(0x117)],_0x368487[_0x33e16d(0x11b)]);return _0x2f85b[_0x33e16d(0xea)](_0x368487[_0x33e16d(0x117)],_0x368487[_0x33e16d(0x11b)],he(_0x685413,_0x368487[_0x33e16d(0xfa)])),!0x0;}},z={'id':_0x5d32a7(0x8b),'type':_0x4edc21[_0x5d32a7(0x81)],'handler':(_0x359ead,_0x57fd69)=>{const _0x11127b=_0x5d32a7;let _0x4b7fbc=_0x359ead['get'](I),_0x4fde1b=_0x4b7fbc[_0x11127b(0x115)](_0x57fd69[_0x11127b(0x117)],_0x57fd69[_0x11127b(0x11b)]);return _0x4b7fbc[_0x11127b(0xea)](_0x57fd69[_0x11127b(0x117)],_0x57fd69[_0x11127b(0x11b)],_0x4fde1b[_0x11127b(0x114)](_0x146516=>_0x146516['id']!==_0x57fd69[_0x11127b(0xa4)])),!0x0;}};function B(_0x247f17,_0x1b3aad,_0x21f963){const _0x278838=_0x5d32a7;let _0x17a82f=Me(_0x247f17);return _0x17a82f?_0x17a82f[_0x278838(0xe0)]({'workbookTypes':[_0x497349],'worksheetTypes':[_0x139688]},_0x1b3aad,_0x21f963):!0x0;}function je(_0x47dd7b,_0x4ce0bc,_0x127252){const _0x21866a=_0x5d32a7;var _0x4dd4ad;let _0x22342c=Ne(_0x47dd7b);return((_0x4dd4ad=_0x22342c==null?void 0x0:_0x22342c[_0x21866a(0x80)])==null?_0x200ad5(null):_0x4dd4ad)[_0x21866a(0x9c)](_0x10721e(0x64),_0x546505(null),_0x1b2bfa(()=>B(_0x47dd7b,_0x4ce0bc,_0x127252)));}function Me(_0x23b723){const _0x47ec0d=_0x5d32a7;if(typeof _0x23b723['has']==_0x47ec0d(0xa1)&&!_0x23b723[_0x47ec0d(0xe5)](_0x5ac7a4))return null;try{return _0x23b723[_0x47ec0d(0xec)](_0x5ac7a4);}catch{return null;}}function Ne(_0x5b8d01){const _0x36f23a=_0x5d32a7;if(typeof _0x5b8d01[_0x36f23a(0xe5)]==_0x36f23a(0xa1)&&!_0x5b8d01['has'](_0x33a765))return null;try{return _0x5b8d01['get'](_0x33a765);}catch{return null;}}const V={'id':_0x5d32a7(0x8c),'type':_0x4edc21['COMMAND'],'handler':(_0x38b891,_0x3e2a03)=>{const _0x56915f=_0x5d32a7;var _0x3b096f,_0x596dca;if(!_0x3e2a03)return!0x1;let _0x51840f=_0x51ea1c(_0x38b891['get'](_0x5daa48),_0x3e2a03);if(!_0x51840f)return!0x1;let {unitId:_0x17fe24,subUnitId:_0x2bd595,worksheet:_0x123b2c}=_0x51840f;if(!B(_0x38b891,_0x17fe24,_0x2bd595))return!0x1;let _0x2d31bb=_0x38b891['get'](I),_0x523d4e={'id':_0x56915f(0xa2)+_0x524ac4(0x6),'unitId':_0x17fe24,'subUnitId':_0x2bd595,'axis':_0x3e2a03[_0x56915f(0xd5)],'start':_0x3e2a03[_0x56915f(0x8d)],'end':_0x3e2a03[_0x56915f(0xac)],'collapsed':!0x1},_0x185990=_0x3e2a03[_0x56915f(0xd5)]===_0x56915f(0x113)?_0x123b2c[_0x56915f(0xc8)]():_0x123b2c[_0x56915f(0x10f)](),_0x3959fa=_0x2d31bb[_0x56915f(0x115)](_0x17fe24,_0x2bd595),_0x106de0=ge(_0x3959fa,_0x523d4e),_0x33e0c9=(_0x3b096f=_0x106de0==null?void 0x0:_0x106de0[_0x56915f(0xe4)])==null?[]:_0x3b096f,_0x23af52=(_0x596dca=_0x106de0==null?void 0x0:_0x106de0[_0x56915f(0x85)])==null?_0x523d4e:_0x596dca,_0x20bc37=k(_0x106de0?_0x3959fa[_0x56915f(0x114)](_0x3985e8=>!_0x33e0c9[_0x56915f(0xc9)](_0x3da9b7=>_0x3da9b7['id']===_0x3985e8['id'])):_0x3959fa,_0x23af52,{'maxIndex':_0x185990});if(!_0x20bc37[_0x56915f(0x9f)]){var _0x3645c5;return _0x38b891['get'](L)[_0x56915f(0x122)]({'reason':(_0x3645c5=_0x20bc37[_0x56915f(0xf8)])==null?_0x56915f(0xd1):_0x3645c5,'commandId':V['id'],'unitId':_0x17fe24,'subUnitId':_0x2bd595,'axis':_0x3e2a03['axis'],'outlineId':_0x23af52['id']}),!0x1;}let _0x374e65=[..._0x33e0c9[_0x56915f(0xb3)](_0x103b0a=>({'id':z['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outlineId':_0x103b0a['id']}})),{'id':R['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outline':_0x23af52}}],_0x4155cd=[{'id':z['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outlineId':_0x23af52['id']}},..._0x33e0c9['map'](_0x31f47e=>({'id':R['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outline':_0x31f47e}}))];return _0x391a7d(_0x374e65,_0x38b891[_0x56915f(0xec)](_0x147a2d))[_0x56915f(0x91)]?(_0x38b891[_0x56915f(0xec)](_0x11d84b)[_0x56915f(0x9a)]({'unitID':_0x17fe24,'undoMutations':_0x4155cd,'redoMutations':_0x374e65}),!0x0):!0x1;}},H={'id':_0x5d32a7(0x10d),'type':_0x4edc21['MUTATION'],'handler':(_0x12fc34,_0x112f15)=>{const _0x2af1bd=_0x5d32a7;let _0x1734aa=_0x12fc34[_0x2af1bd(0xec)](I),_0x3f2b8e=_0x1734aa[_0x2af1bd(0x115)](_0x112f15[_0x2af1bd(0x117)],_0x112f15[_0x2af1bd(0x11b)]);return _0x1734aa[_0x2af1bd(0xea)](_0x112f15[_0x2af1bd(0x117)],_0x112f15[_0x2af1bd(0x11b)],_e(_0x3f2b8e,_0x112f15)),!0x0;}},U={'id':'sheet.command.clear-dimension-outlines','type':_0x4edc21[_0x5d32a7(0x88)],'handler':(_0x1550c4,_0x4b2867)=>{const _0x330859=_0x5d32a7;if(!_0x4b2867)return!0x1;let _0x4d6106=_0x51ea1c(_0x1550c4[_0x330859(0xec)](_0x5daa48),_0x4b2867);if(!_0x4d6106)return!0x1;let {unitId:_0x22cafc,subUnitId:_0x5145ed}=_0x4d6106;if(!B(_0x1550c4,_0x22cafc,_0x5145ed))return!0x1;let _0x1dc29b={'unitId':_0x22cafc,'subUnitId':_0x5145ed,'axis':_0x4b2867[_0x330859(0xd5)],'start':_0x4b2867[_0x330859(0x8d)],'end':_0x4b2867[_0x330859(0xac)]},_0x31dd1d=_0x1550c4['get'](I)['getOutlines'](_0x22cafc,_0x5145ed)[_0x330859(0x114)](_0x4cf488=>D(_0x4cf488,_0x1dc29b)&&_0x4cf488[_0x330859(0x8d)]>=_0x4b2867[_0x330859(0x8d)]&&_0x4cf488[_0x330859(0xac)]<=_0x4b2867[_0x330859(0xac)]);if(_0x31dd1d[_0x330859(0xbe)]===0x0)return _0x1550c4[_0x330859(0xec)](L)[_0x330859(0x122)]({'reason':_0x330859(0xee),'commandId':U['id'],'unitId':_0x22cafc,'subUnitId':_0x5145ed,'axis':_0x4b2867['axis']}),!0x1;let _0x2a6744=[{'id':H['id'],'params':{..._0x1dc29b,'removedOutlineIds':_0x31dd1d[_0x330859(0xb3)](_0x3b3a73=>_0x3b3a73['id'])}}],_0x55c36f=_0x31dd1d[_0x330859(0xb3)](_0x5679cd=>({'id':R['id'],'params':{'unitId':_0x22cafc,'subUnitId':_0x5145ed,'outline':_0x5679cd}}));return _0x391a7d(_0x2a6744,_0x1550c4[_0x330859(0xec)](_0x147a2d))[_0x330859(0x91)]?(_0x1550c4[_0x330859(0xec)](_0x11d84b)[_0x330859(0x9a)]({'unitID':_0x22cafc,'undoMutations':_0x55c36f,'redoMutations':_0x2a6744}),!0x0):!0x1;}},Pe={'id':_0x5d32a7(0x9e),'type':_0x4edc21[_0x5d32a7(0x88)],'handler':(_0x599f52,_0x3da663)=>{const _0x4b0b3a=_0x5d32a7;if(!_0x3da663)return!0x1;let _0x10bb34=_0x51ea1c(_0x599f52[_0x4b0b3a(0xec)](_0x5daa48),_0x3da663);if(!_0x10bb34)return!0x1;let {unitId:_0x17ba24,subUnitId:_0x188ae8}=_0x10bb34;if(!B(_0x599f52,_0x17ba24,_0x188ae8))return!0x1;let _0xa2bcc5=_0x599f52[_0x4b0b3a(0xec)](I)[_0x4b0b3a(0x115)](_0x17ba24,_0x188ae8)[_0x4b0b3a(0x123)](_0x44fe05=>_0x44fe05['id']===_0x3da663[_0x4b0b3a(0xa4)]);if(!_0xa2bcc5)return!0x1;let _0x2cde95=[{'id':z['id'],'params':{'unitId':_0x17ba24,'subUnitId':_0x188ae8,'outlineId':_0xa2bcc5['id'],'outline':_0xa2bcc5}}],_0x11f242=[{'id':R['id'],'params':{'unitId':_0x17ba24,'subUnitId':_0x188ae8,'outline':_0xa2bcc5}}];return _0x391a7d(_0x2cde95,_0x599f52['get'](_0x147a2d))[_0x4b0b3a(0x91)]?(_0x599f52['get'](_0x11d84b)['pushUndoRedo']({'unitID':_0x17ba24,'undoMutations':_0x11f242,'redoMutations':_0x2cde95}),!0x0):!0x1;}},W={'id':_0x5d32a7(0xf3),'type':_0x4edc21['MUTATION'],'handler':(_0xd6baed,_0x49c609)=>{const _0x3c375d=_0x5d32a7;let _0x10055c=_0xd6baed[_0x3c375d(0xec)](I),_0x243b88=_0x10055c[_0x3c375d(0x115)](_0x49c609[_0x3c375d(0x117)],_0x49c609[_0x3c375d(0x11b)]),_0x3da467=_0x243b88[_0x3c375d(0x123)](_0x5f3129=>_0x5f3129['id']===_0x49c609['outlineId']);return _0x3da467&&_0x10055c['setOutlines'](_0x49c609[_0x3c375d(0x117)],_0x49c609[_0x3c375d(0x11b)],_0x243b88[_0x3c375d(0xb3)](_0x130f28=>_0x130f28[_0x3c375d(0x117)]!==_0x3da467['unitId']||_0x130f28[_0x3c375d(0x11b)]!==_0x3da467[_0x3c375d(0x11b)]||_0x130f28['axis']!==_0x3da467[_0x3c375d(0xd5)]||_0x130f28[_0x3c375d(0x8d)]!==_0x3da467[_0x3c375d(0x8d)]||_0x130f28[_0x3c375d(0xac)]!==_0x3da467[_0x3c375d(0xac)]?_0x130f28:{..._0x130f28,'collapsed':_0x49c609[_0x3c375d(0xc6)]})),!0x0;}};function Fe(_0x2985d3,_0x3e72b8,_0x394ba5,_0xaadda){const _0x5463d5=_0x5d32a7;return _0x2985d3==='row'?{'startRow':_0x3e72b8,'endRow':_0x394ba5,'startColumn':0x0,'endColumn':_0xaadda[_0x5463d5(0x124)]()-0x1}:{'startRow':0x0,'endRow':_0xaadda['getRowCount']()-0x1,'startColumn':_0x3e72b8,'endColumn':_0x394ba5};}function Ie(_0x55e83d){return _0x55e83d==='row'?_0x39639d['id']:_0x216a3d['id'];}function Le(_0x16952d){const _0x593c92=_0x5d32a7;return _0x16952d===_0x593c92(0x113)?_0x429e40['id']:_0x2f83c5['id'];}function Re(_0x27686d,_0x4f2979,_0x444f85,_0x4dd937){const _0x3d6fb4=_0x5d32a7;let _0x43421e=_0x4f2979?[Fe(_0x27686d[_0x3d6fb4(0xd5)],_0x27686d[_0x3d6fb4(0x8d)],_0x27686d[_0x3d6fb4(0xac)],_0x444f85)]:ze(_0x27686d,_0x4dd937,_0x444f85),_0x31cd69=_0x4f2979?Ie(_0x27686d[_0x3d6fb4(0xd5)]):Le(_0x27686d[_0x3d6fb4(0xd5)]);return[{'id':W['id'],'params':{'unitId':_0x27686d[_0x3d6fb4(0x117)],'subUnitId':_0x27686d[_0x3d6fb4(0x11b)],'outlineId':_0x27686d['id'],'outline':_0x27686d,'collapsed':_0x4f2979}},..._0x43421e[_0x3d6fb4(0xb3)](_0x5bd622=>({'id':_0x31cd69,'params':{'unitId':_0x27686d['unitId'],'subUnitId':_0x27686d[_0x3d6fb4(0x11b)],'ranges':[_0x5bd622],'dimensionOutlineId':_0x27686d['id']}}))];}function _0x29f2(_0xb25b14,_0x5e52ad){_0xb25b14=_0xb25b14-0x80;const _0x407ace=_0x407a();let _0x29f2f4=_0x407ace[_0xb25b14];return _0x29f2f4;}function ze(_0x5103fd,_0x3b7a31,_0x578813){const _0x189373=_0x5d32a7;let _0x4c1687=ve(_0x3b7a31[_0x189373(0xb3)](_0x24550b=>Be(_0x24550b,_0x5103fd)?{..._0x24550b,'collapsed':!0x1}:_0x24550b),_0x5103fd[_0x189373(0x117)],_0x5103fd[_0x189373(0x11b)],_0x5103fd[_0x189373(0xd5)]);return Ve({'start':_0x5103fd[_0x189373(0x8d)],'end':_0x5103fd[_0x189373(0xac)]},_0x4c1687)[_0x189373(0xb3)](_0x1f5d68=>Fe(_0x5103fd[_0x189373(0xd5)],_0x1f5d68[_0x189373(0x8d)],_0x1f5d68['end'],_0x578813));}function Be(_0x4ada20,_0x3de3ed){const _0x1f5381=_0x5d32a7;return _0x4ada20[_0x1f5381(0x117)]===_0x3de3ed[_0x1f5381(0x117)]&&_0x4ada20['subUnitId']===_0x3de3ed[_0x1f5381(0x11b)]&&_0x4ada20[_0x1f5381(0xd5)]===_0x3de3ed[_0x1f5381(0xd5)]&&_0x4ada20[_0x1f5381(0x8d)]===_0x3de3ed[_0x1f5381(0x8d)]&&_0x4ada20[_0x1f5381(0xac)]===_0x3de3ed[_0x1f5381(0xac)];}function Ve(_0x141585,_0x471ef1){const _0x22cea6=_0x5d32a7;let _0x146278=_0x141585['start'],_0x4b56ad=[];for(let _0x12e940 of _0x471ef1)if(!(_0x12e940[_0x22cea6(0xac)]<_0x146278||_0x12e940[_0x22cea6(0x8d)]>_0x141585[_0x22cea6(0xac)])&&(_0x12e940[_0x22cea6(0x8d)]>_0x146278&&_0x4b56ad['push']({'start':_0x146278,'end':Math[_0x22cea6(0x87)](_0x12e940[_0x22cea6(0x8d)]-0x1,_0x141585[_0x22cea6(0xac)])}),_0x146278=Math[_0x22cea6(0xf0)](_0x146278,_0x12e940['end']+0x1),_0x146278>_0x141585[_0x22cea6(0xac)]))break;return _0x146278<=_0x141585[_0x22cea6(0xac)]&&_0x4b56ad[_0x22cea6(0x94)]({'start':_0x146278,'end':_0x141585[_0x22cea6(0xac)]}),_0x4b56ad;}const He={'id':_0x5d32a7(0x99),'type':_0x4edc21[_0x5d32a7(0x88)],'handler':(_0x5e8230,_0x2dd230)=>{const _0x1b0608=_0x5d32a7;if(!_0x2dd230)return!0x1;let _0x1a0bc5=_0x51ea1c(_0x5e8230[_0x1b0608(0xec)](_0x5daa48),_0x2dd230);if(!_0x1a0bc5)return!0x1;let {unitId:_0x28ff9b,subUnitId:_0x145160,worksheet:_0x226264}=_0x1a0bc5;if(!B(_0x5e8230,_0x28ff9b,_0x145160))return!0x1;let _0x2770f9=_0x5e8230['get'](I)[_0x1b0608(0x115)](_0x28ff9b,_0x145160),_0x2f4880=_0x2770f9[_0x1b0608(0x123)](_0xecad18=>_0xecad18['id']===_0x2dd230['outlineId']);if(!_0x2f4880||_0x2f4880[_0x1b0608(0xc6)]===_0x2dd230['collapsed'])return!0x1;let _0x4f601a=Re(_0x2f4880,_0x2dd230[_0x1b0608(0xc6)],_0x226264,_0x2770f9),_0x4aa51f=Re(_0x2f4880,!_0x2dd230['collapsed'],_0x226264,_0x2770f9);return _0x391a7d(_0x4f601a,_0x5e8230[_0x1b0608(0xec)](_0x147a2d))[_0x1b0608(0x91)]?(_0x5e8230['get'](_0x11d84b)[_0x1b0608(0x9a)]({'unitID':_0x28ff9b,'undoMutations':_0x4aa51f,'redoMutations':_0x4f601a}),!0x0):!0x1;}},G={'id':_0x5d32a7(0x92),'type':_0x4edc21[_0x5d32a7(0x81)],'handler':(_0x2637b4,_0x4e54b3)=>{const _0x5997c2=_0x5d32a7;let _0x536f1d=_0x2637b4[_0x5997c2(0xec)](I),_0x5d61f4=Ue(_0x536f1d['getOutlines'](_0x4e54b3['unitId'],_0x4e54b3[_0x5997c2(0x11b)]),_0x4e54b3);return _0x536f1d['setOutlines'](_0x4e54b3['unitId'],_0x4e54b3['subUnitId'],_0x5d61f4),!0x0;}};function Ue(_0x340c64,_0x5b1a12){const _0x16bfcd=_0x5d32a7;switch(_0x5b1a12['type']){case _0x16bfcd(0xcd):return _0x5b1a12[_0x16bfcd(0xcf)]?We(_0x340c64,_0x5b1a12):A(_0x340c64,_0x5b1a12);case'delete':return j(_0x340c64,_0x5b1a12);case _0x16bfcd(0xd9):return M(_0x340c64,_0x5b1a12);}}function We(_0x43a28c,_0x143b47){const _0x4f3f9b=_0x5d32a7;return[..._0x43a28c[_0x4f3f9b(0x114)](_0x1d3ab9=>_0x1d3ab9[_0x4f3f9b(0x117)]!==_0x143b47[_0x4f3f9b(0x117)]||_0x1d3ab9[_0x4f3f9b(0x11b)]!==_0x143b47[_0x4f3f9b(0x11b)]||_0x1d3ab9[_0x4f3f9b(0xd5)]!==_0x143b47[_0x4f3f9b(0xd5)]),..._0x143b47[_0x4f3f9b(0xcf)]];}const K='SHEET_OUTLINE_PLUGIN',Ge=_0x5d32a7(0xf4);Symbol(Ge);var Ke=_0x5d32a7(0xdc),qe=_0x5d32a7(0xa7);function q(_0x188e84,_0x45587c){return function(_0x2d71bd,_0x1f9fb3){_0x45587c(_0x2d71bd,_0x1f9fb3,_0x188e84);};}function J(_0x328557,_0x8e721f,_0x29c628,_0x554051){const _0x485cfb=_0x5d32a7;var _0xff9dcf=arguments[_0x485cfb(0xbe)],_0x2b36c3=_0xff9dcf<0x3?_0x8e721f:_0x554051===null?_0x554051=Object['getOwnPropertyDescriptor'](_0x8e721f,_0x29c628):_0x554051,_0x512251;if(typeof Reflect=='object'&&typeof Reflect[_0x485cfb(0xde)]==_0x485cfb(0xa1))_0x2b36c3=Reflect[_0x485cfb(0xde)](_0x328557,_0x8e721f,_0x29c628,_0x554051);else{for(var _0x433130=_0x328557[_0x485cfb(0xbe)]-0x1;_0x433130>=0x0;_0x433130--)(_0x512251=_0x328557[_0x433130])&&(_0x2b36c3=(_0xff9dcf<0x3?_0x512251(_0x2b36c3):_0xff9dcf>0x3?_0x512251(_0x8e721f,_0x29c628,_0x2b36c3):_0x512251(_0x8e721f,_0x29c628))||_0x2b36c3);}return _0xff9dcf>0x3&&_0x2b36c3&&Object[_0x485cfb(0x106)](_0x8e721f,_0x29c628,_0x2b36c3),_0x2b36c3;}const Y={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let X=class extends _0x470ba7{constructor(_0x4212af,_0x46e7ef,_0x37e7c4,_0x538754){const _0x11e66c=_0x5d32a7;super(),this[_0x11e66c(0xce)]=_0x4212af,this[_0x11e66c(0xab)]=_0x46e7ef,this[_0x11e66c(0xe8)]=_0x37e7c4,this['_sheetsOutlineErrorService']=_0x538754,this['_initCommandInterceptor']();}[_0x5d32a7(0xef)](){const _0x429045=_0x5d32a7;this[_0x429045(0x95)](this[_0x429045(0xab)][_0x429045(0x11f)]({'getMutations':_0x1e7dfd=>Je(_0x1e7dfd,(_0x3d628d,_0x31e9a3)=>this[_0x429045(0xe8)][_0x429045(0x115)](_0x3d628d,_0x31e9a3),this[_0x429045(0xd2)](_0x1e7dfd[_0x429045(0xf5)]),_0x2030fd=>this[_0x429045(0x101)]['emit'](_0x2030fd))}));}['_getCommandScope'](_0x45d345){const _0x4d5f3b=_0x5d32a7;let _0x1f4bee=_0x45d345,_0x13ed41=_0x1f4bee!=null&&_0x1f4bee[_0x4d5f3b(0x117)]?this[_0x4d5f3b(0xce)][_0x4d5f3b(0xb5)](_0x1f4bee[_0x4d5f3b(0x117)]):this['_univerInstanceService'][_0x4d5f3b(0x103)](_0x4e8739[_0x4d5f3b(0xcc)]);if(!_0x13ed41)return;let _0x4a7d1e=_0x1f4bee!=null&&_0x1f4bee[_0x4d5f3b(0x11b)]?_0x13ed41['getSheetBySheetId'](_0x1f4bee[_0x4d5f3b(0x11b)]):_0x13ed41[_0x4d5f3b(0x93)]();if(_0x4a7d1e)return{'unitId':_0x13ed41[_0x4d5f3b(0x86)](),'subUnitId':_0x4a7d1e['getSheetId']()};}};X=J([q(0x0,_0x5daa48),q(0x1,_0x1924a8(_0x2b29b0)),q(0x2,_0x1924a8(I)),q(0x3,_0x1924a8(L))],X);function Je(_0x577221,_0x4726ac,_0x4c92ca,_0x3f6030){const _0x267192=_0x5d32a7;let _0x5a6132=Xe(_0x577221,_0x4c92ca);if(!_0x5a6132)return nt();let _0xcb10aa=_0x4726ac(_0x5a6132['unitId'],_0x5a6132[_0x267192(0x11b)]);if(!_0xcb10aa['some'](_0x3d9c72=>_0x3d9c72[_0x267192(0xd5)]===_0x5a6132[_0x267192(0xd5)]))return nt();Ye(_0xcb10aa,_0x5a6132,_0x577221['id'],_0x3f6030);let _0x4cc767=et(_0x5a6132,_0xcb10aa);return{'redos':[{'id':G['id'],'params':_0x5a6132}],'undos':[{'id':G['id'],'params':_0x4cc767}],'preRedos':[],'preUndos':[]};}function Ye(_0x3d5d73,_0x465c42,_0x3dab03,_0x516569){const _0x54b7c9=_0x5d32a7;try{switch(_0x465c42['type']){case _0x54b7c9(0xcd):A(_0x3d5d73,_0x465c42);break;case _0x54b7c9(0xd0):j(_0x3d5d73,_0x465c42);break;case _0x54b7c9(0xd9):M(_0x3d5d73,_0x465c42);break;}}catch(_0x44c3e3){throw _0x516569==null||_0x516569({'reason':T(_0x44c3e3),'commandId':_0x3dab03,'unitId':_0x465c42['unitId'],'subUnitId':_0x465c42[_0x54b7c9(0x11b)],'axis':_0x465c42[_0x54b7c9(0xd5)],'outlineId':me(_0x44c3e3)}),new _0xe8d48a(_0x44c3e3 instanceof Error?_0x44c3e3[_0x54b7c9(0xd4)]:_0x54b7c9(0x8f));}}function Xe(_0x1bf5ef,_0x207cc6){const _0x378432=_0x5d32a7;switch(_0x1bf5ef['id']){case _0x37c8de['id']:return Ze(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0x113),_0x207cc6);case _0x18773e['id']:return Ze(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0xb7),_0x207cc6);case _0x3aba96['id']:return Qe(_0x1bf5ef['params'],_0x378432(0x113),_0x207cc6);case _0x519170['id']:return Qe(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0xb7),_0x207cc6);case _0x4b0f3d['id']:return $e(_0x1bf5ef['params'],_0x378432(0x113),_0x207cc6);case _0x53ee34['id']:return $e(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0xb7),_0x207cc6);default:return null;}}function Ze(_0xedc037,_0x52935b,_0x35085b){const _0x67b04f=_0x5d32a7;let _0x250200=Z(_0xedc037,_0x35085b);if(!(_0xedc037!=null&&_0xedc037[_0x67b04f(0x105)])||!_0x250200)return null;let _0x2596b9=_0x52935b===_0x67b04f(0x113)?_0xedc037[_0x67b04f(0x105)][_0x67b04f(0x8e)]:_0xedc037['range'][_0x67b04f(0x116)],_0x31410b=_0x52935b===_0x67b04f(0x113)?_0xedc037['range'][_0x67b04f(0xe2)]:_0xedc037['range'][_0x67b04f(0xc7)];return{..._0x250200,'axis':_0x52935b,'type':_0x67b04f(0xcd),'index':_0x2596b9,'count':_0x31410b-_0x2596b9+0x1};}function Qe(_0x583e19,_0x19b1fc,_0x3174ff){const _0x191f3d=_0x5d32a7;let _0x25bc77=Z(_0x583e19,_0x3174ff);if(!(_0x583e19!=null&&_0x583e19['range'])||!_0x25bc77)return null;let _0x3d62bc=_0x19b1fc===_0x191f3d(0x113)?_0x583e19[_0x191f3d(0x105)]['startRow']:_0x583e19[_0x191f3d(0x105)]['startColumn'],_0x1e6fb1=_0x19b1fc===_0x191f3d(0x113)?_0x583e19[_0x191f3d(0x105)]['endRow']:_0x583e19[_0x191f3d(0x105)][_0x191f3d(0xc7)];return{..._0x25bc77,'axis':_0x19b1fc,'type':_0x191f3d(0xd0),'start':_0x3d62bc,'end':_0x1e6fb1};}function $e(_0x4a846b,_0x37cc31,_0xc0dd91){const _0x26c7d4=_0x5d32a7;let _0x487a46=Z(_0x4a846b,_0xc0dd91);if(!(_0x4a846b!=null&&_0x4a846b[_0x26c7d4(0x9b)])||!_0x4a846b[_0x26c7d4(0xbd)]||!_0x487a46)return null;let _0x1ad431=_0x37cc31===_0x26c7d4(0x113)?_0x4a846b[_0x26c7d4(0x9b)]['startRow']:_0x4a846b[_0x26c7d4(0x9b)][_0x26c7d4(0x116)],_0x746e11=_0x37cc31===_0x26c7d4(0x113)?_0x4a846b['fromRange'][_0x26c7d4(0xe2)]:_0x4a846b[_0x26c7d4(0x9b)][_0x26c7d4(0xc7)],_0x32e106=_0x37cc31==='row'?_0x4a846b[_0x26c7d4(0xbd)]['startRow']:_0x4a846b['toRange'][_0x26c7d4(0x116)];return{..._0x487a46,'axis':_0x37cc31,'type':_0x26c7d4(0xd9),'sourceStart':_0x1ad431,'sourceEnd':_0x746e11,'destinationIndex':_0x32e106};}function et(_0x4a4c3a,_0x51a8b9){const _0x11595f=_0x5d32a7;switch(_0x4a4c3a['type']){case _0x11595f(0xcd):return{'unitId':_0x4a4c3a['unitId'],'subUnitId':_0x4a4c3a['subUnitId'],'axis':_0x4a4c3a[_0x11595f(0xd5)],'type':_0x11595f(0xd0),'start':_0x4a4c3a[_0x11595f(0xd6)],'end':_0x4a4c3a[_0x11595f(0xd6)]+_0x4a4c3a[_0x11595f(0x96)]-0x1};case'delete':return{'unitId':_0x4a4c3a[_0x11595f(0x117)],'subUnitId':_0x4a4c3a[_0x11595f(0x11b)],'axis':_0x4a4c3a[_0x11595f(0xd5)],'type':_0x11595f(0xcd),'index':_0x4a4c3a[_0x11595f(0x8d)],'count':_0x4a4c3a['end']-_0x4a4c3a['start']+0x1,'restoreOutlines':_0x51a8b9[_0x11595f(0x114)](_0x485ec4=>_0x485ec4['unitId']===_0x4a4c3a[_0x11595f(0x117)]&&_0x485ec4['subUnitId']===_0x4a4c3a[_0x11595f(0x11b)]&&_0x485ec4[_0x11595f(0xd5)]===_0x4a4c3a[_0x11595f(0xd5)])};case _0x11595f(0xd9):return tt(_0x4a4c3a);}}function tt(_0x49185){const _0x47801d=_0x5d32a7;let _0x361726=_0x49185[_0x47801d(0x119)]-_0x49185[_0x47801d(0x125)]+0x1;return _0x49185['destinationIndex']>=_0x49185[_0x47801d(0x125)]&&_0x49185[_0x47801d(0xd7)]<=_0x49185[_0x47801d(0x119)]+0x1?{..._0x49185}:_0x49185[_0x47801d(0xd7)]>_0x49185[_0x47801d(0x119)]+0x1?{..._0x49185,'sourceStart':_0x49185[_0x47801d(0xd7)]-_0x361726,'sourceEnd':_0x49185[_0x47801d(0xd7)]-0x1,'destinationIndex':_0x49185[_0x47801d(0x125)]}:{..._0x49185,'sourceStart':_0x49185[_0x47801d(0xd7)],'sourceEnd':_0x49185[_0x47801d(0xd7)]+_0x361726-0x1,'destinationIndex':_0x49185['sourceEnd']+0x1};}function Z(_0x724595,_0x399172){const _0x5ea9ce=_0x5d32a7;var _0x2df16b,_0x238718;let _0x411503=(_0x2df16b=_0x724595==null?void 0x0:_0x724595[_0x5ea9ce(0x117)])==null?_0x399172==null?void 0x0:_0x399172['unitId']:_0x2df16b,_0x41d8ec=(_0x238718=_0x724595==null?void 0x0:_0x724595[_0x5ea9ce(0x11b)])==null?_0x399172==null?void 0x0:_0x399172[_0x5ea9ce(0x11b)]:_0x238718;return _0x411503&&_0x41d8ec?{'unitId':_0x411503,'subUnitId':_0x41d8ec}:null;}function nt(){const _0x4670c8=_0x5d32a7;var _0x4d2318,_0x43637a;return{'redos':[...Y[_0x4670c8(0xcb)]],'undos':[...Y['undos']],'preRedos':[...(_0x4d2318=Y['preRedos'])==null?[]:_0x4d2318],'preUndos':[...(_0x43637a=Y[_0x4670c8(0x104)])==null?[]:_0x43637a]};}let Q=class extends _0x470ba7{constructor(_0x2c2b1c,_0x377b83){const _0x466904=_0x5d32a7;super(),this[_0x466904(0xe9)]=_0x2c2b1c,this[_0x466904(0xe8)]=_0x377b83,this['_initResource']();}[_0x5d32a7(0x82)](){const _0x51985c=_0x5d32a7;this[_0x51985c(0x95)](this[_0x51985c(0xe9)][_0x51985c(0x121)]({'pluginName':K,'businesses':[_0x4e8739[_0x51985c(0xcc)]],'toJson':_0x16f56f=>JSON[_0x51985c(0xf1)](this[_0x51985c(0xe8)][_0x51985c(0x90)](_0x16f56f)),'parseJson':_0x54ee21=>JSON['parse'](_0x54ee21),'onLoad':(_0x1de086,_0x309ea5)=>this['_sheetsOutlineModel'][_0x51985c(0xaa)](_0x1de086,_0x309ea5),'onUnLoad':_0x13041b=>this['_sheetsOutlineModel'][_0x51985c(0x108)](_0x13041b)}));}};Q=J([q(0x0,_0x1e23e7),q(0x1,_0x1924a8(I))],Q);let $=class extends _0x24d77d{constructor(_0xddf630,_0x7acfcc,_0x3e4550){const _0x375d30=_0x5d32a7;super(),this[_0x375d30(0x10c)]=_0xddf630,this['_injector']=_0x7acfcc,this['_commandService']=_0x3e4550;}[_0x5d32a7(0x97)](){const _0xc22702=_0x5d32a7;this['_injector'][_0xc22702(0xbb)]([I]),this['_injector'][_0xc22702(0xbb)]([L]),this['_injector']['add']([Q]),this[_0xc22702(0xba)][_0xc22702(0xbb)]([X]),this[_0xc22702(0x98)](),this['_injector'][_0xc22702(0xec)](I),this['_injector'][_0xc22702(0xec)](L),this[_0xc22702(0xba)][_0xc22702(0xec)](Q),this[_0xc22702(0xba)][_0xc22702(0xec)](X);}[_0x5d32a7(0x98)](){const _0x3a9708=_0x5d32a7;[V,Pe,He,U]['forEach'](_0x569b5b=>{const _0x397b5c=_0x29f2;this[_0x397b5c(0x95)](this[_0x397b5c(0xe1)][_0x397b5c(0xfe)](_0x569b5b));}),[R,z,W,H,G][_0x3a9708(0x126)](_0x4e534c=>{const _0x14b125=_0x3a9708;this[_0x14b125(0x95)](this[_0x14b125(0xe1)]['registerCommand'](_0x4e534c));});}};F($,_0x5d32a7(0x110),K),F($,'packageName',Ke),F($,_0x5d32a7(0x118),qe),F($,_0x5d32a7(0xc4),_0x4e8739[_0x5d32a7(0xcc)]),$=J([_0x2b5666(_0x5020a7),q(0x1,_0x1924a8(_0x3eca3a)),q(0x2,_0x147a2d)],$);export{V as AddDimensionOutlineCommand,R as AddDimensionOutlineMutation,U as ClearDimensionOutlinesCommand,H as ClearDimensionOutlinesMutation,fe as DimensionOutlineAxis,w as DimensionOutlineError,pe as DimensionOutlineErrorReason,Pe as RemoveDimensionOutlineCommand,z as RemoveDimensionOutlineMutation,Ge as SHEETS_OUTLINE_PLUGIN_CONFIG_KEY,K as SHEET_OUTLINE_PLUGIN,He as SetDimensionOutlineCollapsedCommand,W as SetDimensionOutlineCollapsedMutation,L as SheetsOutlineErrorService,I as SheetsOutlineModel,G as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,he as addDimensionOutlineToList,O as buildDimensionOutlineTree,ve as buildHiddenRanges,k as canAddDimensionOutline,_e as clearDimensionOutlinesInRange,me as getDimensionOutlineErrorOutlineId,T as getDimensionOutlineErrorReason,je as getDimensionOutlineViewPermission$,B as hasDimensionOutlineViewPermission,ye as mergeRanges,j as transformOutlinesByDelete,A as transformOutlinesByInsert,M as transformOutlinesByMove};
|
package/lib/facade.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x83ca4c=_0x5921;function _0xe552(){var _0x5a0c15=['282388TueakZ','getDimensionOutlines','64004dtvGGH','setDimensionOutlineCollapsed','2812288vNtCxo','getUnitId','3DJpVJK','clearDimensionOutlines','_injector','removeDimensionOutline','_worksheet','ROW','axis','296436yKdNHx','643682cVMxBz','_addDimensionOutline','_commandService','getOutlines','getSheetId','filter','COLUMN','syncExecuteCommand','extend','_workbook','addColumnOutline','1074522GWHscv','1452815gnPlye'];_0xe552=function(){return _0x5a0c15;};return _0xe552();}(function(_0x2b16c8,_0x2a402d){var _0x191df9=_0x5921,_0x542761=_0x2b16c8();while(!![]){try{var _0x291f41=parseInt(_0x191df9(0x1e1))/0x1+parseInt(_0x191df9(0x1ef))/0x2+-parseInt(_0x191df9(0x1e7))/0x3*(-parseInt(_0x191df9(0x1e3))/0x4)+parseInt(_0x191df9(0x1e0))/0x5+-parseInt(_0x191df9(0x1df))/0x6+-parseInt(_0x191df9(0x1ee))/0x7+-parseInt(_0x191df9(0x1e5))/0x8;if(_0x291f41===_0x2a402d)break;else _0x542761['push'](_0x542761['shift']());}catch(_0x571749){_0x542761['push'](_0x542761['shift']());}}}(_0xe552,0x5279e));import{AddDimensionOutlineCommand as _0x588539,ClearDimensionOutlinesCommand as _0x2a7a2b,DimensionOutlineAxis as _0x1c043f,DimensionOutlineErrorReason as _0x34697b,RemoveDimensionOutlineCommand as _0x417f68,SetDimensionOutlineCollapsedCommand as _0x3fdfa1,SheetsOutlineModel as _0x24668c}from'@univerjs-pro/sheets-outline';function _0x5921(_0x11f2f3,_0x15f511){_0x11f2f3=_0x11f2f3-0x1dd;var _0xe55260=_0xe552();var _0x59210c=_0xe55260[_0x11f2f3];return _0x59210c;}import{FEnum as _0x120f6e}from'@univerjs/core/facade';import{FWorksheet as _0x439e44}from'@univerjs/sheets/facade';var l=class extends _0x120f6e{get['DimensionOutlineAxis'](){return _0x1c043f;}get['DimensionOutlineErrorReason'](){return _0x34697b;}};_0x120f6e[_0x83ca4c(0x1f7)](l);var u=class extends _0x439e44{['addRowOutline'](_0x4ed485,_0x144415){var _0x3dff51=_0x83ca4c;return this[_0x3dff51(0x1f0)](_0x1c043f[_0x3dff51(0x1ec)],_0x4ed485,_0x144415);}[_0x83ca4c(0x1de)](_0x381db2,_0x4fa16f){var _0xcacdd0=_0x83ca4c;return this[_0xcacdd0(0x1f0)](_0x1c043f[_0xcacdd0(0x1f5)],_0x381db2,_0x4fa16f);}[_0x83ca4c(0x1ea)](_0x3a4e5d){var _0x4d077b=_0x83ca4c;return this['_commandService'][_0x4d077b(0x1f6)](_0x417f68['id'],{'unitId':this[_0x4d077b(0x1dd)][_0x4d077b(0x1e6)](),'subUnitId':this[_0x4d077b(0x1eb)]['getSheetId'](),'outlineId':_0x3a4e5d}),this;}[_0x83ca4c(0x1e4)](_0xaa6c50,_0x4dac0f){var _0x268e4d=_0x83ca4c;return this['_commandService'][_0x268e4d(0x1f6)](_0x3fdfa1['id'],{'unitId':this[_0x268e4d(0x1dd)]['getUnitId'](),'subUnitId':this[_0x268e4d(0x1eb)][_0x268e4d(0x1f3)](),'outlineId':_0xaa6c50,'collapsed':_0x4dac0f}),this;}[_0x83ca4c(0x1e8)](_0x4762b3,_0x3f9c4c,_0x3ee928){var _0x397186=_0x83ca4c;return this[_0x397186(0x1f1)][_0x397186(0x1f6)](_0x2a7a2b['id'],{'unitId':this[_0x397186(0x1dd)][_0x397186(0x1e6)](),'subUnitId':this[_0x397186(0x1eb)][_0x397186(0x1f3)](),'axis':_0x4762b3,'start':_0x3f9c4c,'end':_0x3ee928}),this;}[_0x83ca4c(0x1e2)](_0x4093b8){var _0x4063b1=_0x83ca4c;let _0x5a55fc=this[_0x4063b1(0x1e9)]['get'](_0x24668c)[_0x4063b1(0x1f2)](this['_workbook']['getUnitId'](),this[_0x4063b1(0x1eb)][_0x4063b1(0x1f3)]());return _0x4093b8?_0x5a55fc[_0x4063b1(0x1f4)](_0x37700e=>_0x37700e[_0x4063b1(0x1ed)]===_0x4093b8):_0x5a55fc;}[_0x83ca4c(0x1f0)](_0x2708f8,_0x350b00,_0x410f82){var _0x3989cd=_0x83ca4c;return this['_commandService']['syncExecuteCommand'](_0x588539['id'],{'unitId':this[_0x3989cd(0x1dd)][_0x3989cd(0x1e6)](),'subUnitId':this[_0x3989cd(0x1eb)][_0x3989cd(0x1f3)](),'axis':_0x2708f8,'start':_0x350b00,'end':_0x350b00+_0x410f82-0x1}),this;}};_0x439e44['extend'](u);export{};
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x407a(){const _0x4d660a=['filter','getOutlines','startColumn','unitId','version','sourceEnd','change$','subUnitId','maxDepth','6508EXWYLb','pop','interceptCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','registerPluginResource','emit','find','getMaxColumns','sourceStart','forEach','permissionPointUpdate$','MUTATION','_initResource','2121sNpwSN','symbol','mergedOutline','getUnitId','min','COMMAND','Invalid\x20outline\x20range','MAX_DEPTH','sheet.mutation.remove-dimension-outline','sheet.command.add-dimension-outline','start','startRow','Invalid\x20dimension\x20outline\x20mutation','serialize','result','sheet.mutation.transform-dimension-outlines','getActiveSheet','push','disposeWithMe','count','onStarting','_initRegisterCommand','sheet.command.set-dimension-outline-collapsed','pushUndoRedo','fromRange','pipe','next','sheet.command.remove-dimension-outline','valid','depth','function','dimension-outline-','7tgjbue','outlineId','sheet.mutation.add-dimension-outline','crossing','0.23.0-insiders.20260522-e8f2a3b','call','from','deserialize','_sheetInterceptorService','end','CROSSING','max-depth','8358485DLVWdx','sort','set','143KslxeU','map','_outlines','getUniverSheetInstance','_error$','column','string','1043698JdxahO','_injector','add','includes','toRange','length','split\x20dimension\x20outline','offset','values','move-splits-outline','iterator','type','6LnGjZY','collapsed','endColumn','getRowCount','some','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','redos','UNIVER_SHEET','insert','_univerInstanceService','restoreOutlines','delete','unknown','_getCommandScope','asObservable','message','axis','index','destinationIndex','dispose','move','10ZJOjfd','9262278VDpJLn','@univerjs-pro/sheets-outline','getUnitOutlines','decorate','clear','permissionCheckWithoutRange','_commandService','endRow','object','mergedOutlines','has','invalid-range','split','_sheetsOutlineModel','_resourceManagerService','setOutlines','localeCompare','get','DimensionOutlineError','clear-range-not-contain-outline','_initCommandInterceptor','max','stringify','complete','sheet.mutation.set-dimension-outline-collapsed','sheets-outline.config','params','constructor','toPrimitive','reason','children','outline','outlineList','249828fjJWzi','prototype','registerCommand','13800040VkQhNW','MOVE_SPLITS_OUTLINE','_sheetsOutlineErrorService','maxIndex','getCurrentUnitForType','preUndos','range','defineProperty','default','removeUnit','_ensureUnitOutlines','1300510Utbntw','error$','_config','sheet.mutation.clear-dimension-outlines','out-of-bounds','getColumnCount','pluginName','_change$','join','row'];_0x407a=function(){return _0x4d660a;};return _0x407a();}const _0x5d32a7=_0x29f2;(function(_0x39cc11,_0x43c0a7){const _0x3ee566=_0x29f2,_0x3c6973=_0x39cc11();while(!![]){try{const _0x3e6861=parseInt(_0x3ee566(0x10a))/0x1+-parseInt(_0x3ee566(0xb9))/0x2+-parseInt(_0x3ee566(0x83))/0x3*(parseInt(_0x3ee566(0x11d))/0x4)+-parseInt(_0x3ee566(0xaf))/0x5*(-parseInt(_0x3ee566(0xc5))/0x6)+parseInt(_0x3ee566(0xa3))/0x7*(-parseInt(_0x3ee566(0xff))/0x8)+parseInt(_0x3ee566(0xdb))/0x9*(parseInt(_0x3ee566(0xda))/0xa)+-parseInt(_0x3ee566(0xb2))/0xb*(-parseInt(_0x3ee566(0xfc))/0xc);if(_0x3e6861===_0x43c0a7)break;else _0x3c6973['push'](_0x3c6973['shift']());}catch(_0x83d893){_0x3c6973['push'](_0x3c6973['shift']());}}}(_0x407a,0xd5965));import{CommandType as _0x4edc21,CustomCommandExecutionError as _0xe8d48a,DependentOn as _0x2b5666,Disposable as _0x470ba7,ICommandService as _0x147a2d,IPermissionService as _0x33a765,IResourceManagerService as _0x1e23e7,IUndoRedoService as _0x11d84b,IUniverInstanceService as _0x5daa48,Inject as _0x1924a8,Injector as _0x3eca3a,Plugin as _0x24d77d,UniverInstanceType as _0x4e8739,generateRandomId as _0x524ac4,sequenceExecute as _0x391a7d}from'@univerjs/core';import{InsertColCommand as _0x18773e,InsertRowCommand as _0x37c8de,MoveColsCommand as _0x53ee34,MoveRowsCommand as _0x4b0f3d,RemoveColCommand as _0x519170,RemoveRowCommand as _0x3aba96,SetColHiddenMutation as _0x216a3d,SetColVisibleMutation as _0x2f83c5,SetRowHiddenMutation as _0x39639d,SetRowVisibleMutation as _0x429e40,SheetInterceptorService as _0x2b29b0,SheetPermissionCheckController as _0x5ac7a4,WorkbookViewPermission as _0x497349,WorksheetViewPermission as _0x139688,getSheetCommandTarget as _0x51ea1c}from'@univerjs/sheets';import{Subject as _0x34e2c1,of as _0x200ad5}from'rxjs';import{debounceTime as _0x10721e,map as _0x1b2bfa,startWith as _0x546505}from'rxjs/operators';import{UniverLicensePlugin as _0x5020a7}from'@univerjs-pro/license';let fe=function(_0x15f01c){const _0x21b817=_0x29f2;return _0x15f01c['ROW']=_0x21b817(0x113),_0x15f01c['COLUMN']=_0x21b817(0xb7),_0x15f01c;}({}),pe=function(_0x27afb9){const _0x3de742=_0x29f2;return _0x27afb9['INVALID_RANGE']='invalid-range',_0x27afb9['OUT_OF_BOUNDS']=_0x3de742(0x10e),_0x27afb9[_0x3de742(0xad)]=_0x3de742(0xa6),_0x27afb9[_0x3de742(0x8a)]=_0x3de742(0xae),_0x27afb9[_0x3de742(0x100)]='move-splits-outline',_0x27afb9[_0x3de742(0xca)]='clear-range-not-contain-outline',_0x27afb9['UNKNOWN']=_0x3de742(0xd1),_0x27afb9;}({});var w=class extends Error{constructor(_0x32abaf,_0x204f39,_0x2eb962){const _0x70ab60=_0x29f2;super(_0x204f39),this['reason']=_0x32abaf,this['outlineId']=_0x2eb962,this['name']=_0x70ab60(0xed);}};function T(_0x41bb5f){const _0x5d0fee=_0x29f2;return _0x41bb5f instanceof w?_0x41bb5f[_0x5d0fee(0xf8)]:_0x41bb5f instanceof Error?_0x41bb5f['message'][_0x5d0fee(0xbc)](_0x5d0fee(0xbf))?_0x5d0fee(0xc2):_0x41bb5f[_0x5d0fee(0xd4)][_0x5d0fee(0xbc)](_0x5d0fee(0xa0))?'max-depth':_0x41bb5f['message'][_0x5d0fee(0xbc)]('Crossing')?_0x5d0fee(0xa6):_0x41bb5f['message'][_0x5d0fee(0xbc)]('range')?_0x5d0fee(0xe6):_0x5d0fee(0xd1):_0x5d0fee(0xd1);}function me(_0x5d397e){const _0x9bfc07=_0x29f2;return _0x5d397e instanceof w?_0x5d397e[_0x9bfc07(0xa4)]:void 0x0;}const E=0x2**0x35-0x1;function D(_0x3114f4,_0x40568c){const _0x5ed532=_0x29f2;return _0x3114f4[_0x5ed532(0x117)]===_0x40568c[_0x5ed532(0x117)]&&_0x3114f4[_0x5ed532(0x11b)]===_0x40568c[_0x5ed532(0x11b)]&&_0x3114f4[_0x5ed532(0xd5)]===_0x40568c[_0x5ed532(0xd5)];}function O(_0x3d33b6,_0xbc0e57={}){const _0x22aacd=_0x29f2;var _0x1810f7;let _0xfceb=(_0x1810f7=_0xbc0e57[_0x22aacd(0x11c)])==null?0x8:_0x1810f7,_0x3dcd88=new Map();for(let _0x17835f of _0x3d33b6){let _0xe0ef54=_0x17835f['unitId']+':'+_0x17835f['subUnitId']+':'+_0x17835f[_0x22aacd(0xd5)],_0x2e3469=_0x3dcd88[_0x22aacd(0xec)](_0xe0ef54);_0x2e3469?_0x2e3469[_0x22aacd(0x94)](_0x17835f):_0x3dcd88[_0x22aacd(0xb1)](_0xe0ef54,[_0x17835f]);}let _0xd2bfa3=[];for(let _0x114430 of _0x3dcd88[_0x22aacd(0xc1)]()){let _0x4fafe7=[..._0x114430][_0x22aacd(0xb0)](Ee),_0x423b50=[];for(let _0x354bf5 of _0x4fafe7){for(De(_0x354bf5);_0x423b50['length']>0x0&&_0x354bf5[_0x22aacd(0x8d)]>_0x423b50[_0x423b50['length']-0x1][_0x22aacd(0xac)];)_0x423b50[_0x22aacd(0x11e)]();let _0x5b8194=_0x423b50[_0x423b50[_0x22aacd(0xbe)]-0x1];if(_0x5b8194&&_0x354bf5[_0x22aacd(0xac)]>_0x5b8194['end'])throw new w(_0x22aacd(0xa6),'Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed',_0x354bf5['id']);let _0x14d50f=_0x5b8194?_0x5b8194[_0x22aacd(0xa0)]+0x1:0x1;if(_0x14d50f>_0xfceb)throw new w(_0x22aacd(0xae),'Dimension\x20outline\x20depth\x20cannot\x20exceed\x20'+_0xfceb,_0x354bf5['id']);let _0x2480f8={..._0x354bf5,'depth':_0x14d50f,'parentId':_0x5b8194==null?void 0x0:_0x5b8194['id'],'anchor':_0x354bf5[_0x22aacd(0xac)],'children':[]};_0x5b8194?_0x5b8194[_0x22aacd(0xf9)]['push'](_0x2480f8):_0xd2bfa3[_0x22aacd(0x94)](_0x2480f8),_0x423b50[_0x22aacd(0x94)](_0x2480f8);}}return _0xd2bfa3;}function k(_0x2e6730,_0x30173b,_0x236091={}){const _0x3a8643=_0x29f2;if(_0x30173b[_0x3a8643(0x8d)]<0x0||_0x30173b[_0x3a8643(0x8d)]>_0x30173b['end'])return{'valid':!0x1,'reason':_0x3a8643(0xe6)};if(_0x236091[_0x3a8643(0x102)]!=null&&_0x30173b[_0x3a8643(0xac)]>=_0x236091[_0x3a8643(0x102)])return{'valid':!0x1,'reason':_0x3a8643(0x10e)};let _0x3d77ef=_0x2e6730[_0x3a8643(0x114)](_0x5f18fb=>D(_0x5f18fb,_0x30173b));for(let _0x5fdba6 of _0x3d77ef)if(Oe(_0x5fdba6,_0x30173b))return{'valid':!0x1,'reason':_0x3a8643(0xa6)};try{O([..._0x2e6730,_0x30173b],_0x236091);}catch(_0x4e7a0d){let _0x58ed00=T(_0x4e7a0d);return _0x58ed00==='max-depth'?{'valid':!0x1,'reason':_0x3a8643(0xae)}:_0x58ed00===_0x3a8643(0xe6)?{'valid':!0x1,'reason':_0x3a8643(0xe6)}:{'valid':!0x1,'reason':_0x3a8643(0xa6)};}return{'valid':!0x0};}function he(_0x504035,_0x5d58b2,_0x118114={}){const _0x485d63=_0x29f2;let _0x5d5853=k(_0x504035,_0x5d58b2,_0x118114);if(!_0x5d5853[_0x485d63(0x9f)]){var _0xdc8d5f;throw Error((_0xdc8d5f=_0x5d5853[_0x485d63(0xf8)])==null?'invalid-dimension-outline':_0xdc8d5f);}return[..._0x504035,_0x5d58b2];}function ge(_0x4ee9eb,_0x5693eb){const _0x587fa2=_0x29f2;let _0x1c4310=_0x5693eb[_0x587fa2(0x8d)],_0x459cfc=_0x5693eb[_0x587fa2(0xac)],_0x216ddc=[],_0x1ccc24=!0x0;for(;_0x1ccc24;){_0x1ccc24=!0x1;for(let _0x1f47b5 of _0x4ee9eb)_0x216ddc['includes'](_0x1f47b5)||!D(_0x1f47b5,_0x5693eb)||!we(_0x1f47b5[_0x587fa2(0x8d)],_0x1f47b5['end'],_0x1c4310,_0x459cfc)||(_0x216ddc[_0x587fa2(0x94)](_0x1f47b5),_0x1c4310=Math['min'](_0x1c4310,_0x1f47b5[_0x587fa2(0x8d)]),_0x459cfc=Math[_0x587fa2(0xf0)](_0x459cfc,_0x1f47b5[_0x587fa2(0xac)]),_0x1ccc24=!0x0);}if(_0x216ddc[_0x587fa2(0xbe)]===0x0)return null;let [_0x106986]=[..._0x216ddc][_0x587fa2(0xb0)](Ee);return{'mergedOutline':{..._0x106986,'start':_0x1c4310,'end':_0x459cfc},'mergedOutlines':_0x216ddc};}function _e(_0x25b5d9,_0x51aece){const _0x1d3a2c=_0x29f2;return _0x25b5d9[_0x1d3a2c(0x114)](_0x5818d6=>D(_0x5818d6,_0x51aece)?!(_0x5818d6[_0x1d3a2c(0x8d)]>=_0x51aece[_0x1d3a2c(0x8d)]&&_0x5818d6[_0x1d3a2c(0xac)]<=_0x51aece[_0x1d3a2c(0xac)]):!0x0);}function ve(_0x1a9a98,_0x1de8bb,_0x38bbd2,_0x21df45){const _0x1e4f3b=_0x29f2;return ye(_0x1a9a98[_0x1e4f3b(0x114)](_0x4b8b3c=>_0x4b8b3c[_0x1e4f3b(0x117)]===_0x1de8bb&&_0x4b8b3c[_0x1e4f3b(0x11b)]===_0x38bbd2&&_0x4b8b3c['axis']===_0x21df45&&_0x4b8b3c[_0x1e4f3b(0xc6)])[_0x1e4f3b(0xb3)](_0x19cbde=>({'start':_0x19cbde['start'],'end':_0x19cbde[_0x1e4f3b(0xac)]})));}function ye(_0x166fa4){const _0x306b04=_0x29f2;if(_0x166fa4['length']===0x0)return[];let _0x191899=[..._0x166fa4][_0x306b04(0xb0)]((_0x4cf338,_0x2d779a)=>_0x4cf338[_0x306b04(0x8d)]-_0x2d779a[_0x306b04(0x8d)]||_0x4cf338[_0x306b04(0xac)]-_0x2d779a[_0x306b04(0xac)]),_0x545f66=[];for(let _0xab8040 of _0x191899){let _0x3053fe=_0x545f66[_0x545f66['length']-0x1];!_0x3053fe||_0xab8040[_0x306b04(0x8d)]>_0x3053fe['end']+0x1?_0x545f66['push']({..._0xab8040}):_0x3053fe[_0x306b04(0xac)]=Math[_0x306b04(0xf0)](_0x3053fe[_0x306b04(0xac)],_0xab8040[_0x306b04(0xac)]);}return _0x545f66;}function A(_0x26f2ea,_0x1b8a06){const _0x4a964a=_0x29f2;return _0x1b8a06[_0x4a964a(0x96)]<=0x0?_0x26f2ea:N(_0x26f2ea['map'](_0xd2cc1=>D(_0xd2cc1,_0x1b8a06)?_0x1b8a06[_0x4a964a(0xd6)]<=_0xd2cc1[_0x4a964a(0x8d)]?{..._0xd2cc1,'start':_0xd2cc1['start']+_0x1b8a06['count'],'end':_0xd2cc1['end']+_0x1b8a06[_0x4a964a(0x96)]}:_0xd2cc1[_0x4a964a(0x8d)]<_0x1b8a06['index']&&_0x1b8a06['index']<=_0xd2cc1[_0x4a964a(0xac)]?{..._0xd2cc1,'end':_0xd2cc1['end']+_0x1b8a06[_0x4a964a(0x96)]}:_0xd2cc1:_0xd2cc1));}function j(_0x40a77b,_0x26de1b){const _0x74e52=_0x29f2;if(_0x26de1b[_0x74e52(0x8d)]>_0x26de1b[_0x74e52(0xac)])return _0x40a77b;let _0x25fea5=_0x26de1b[_0x74e52(0xac)]-_0x26de1b[_0x74e52(0x8d)]+0x1,_0x46f4bc=[];for(let _0x55d5d6 of _0x40a77b){if(!D(_0x55d5d6,_0x26de1b)){_0x46f4bc[_0x74e52(0x94)](_0x55d5d6);continue;}if(_0x55d5d6[_0x74e52(0xac)]<_0x26de1b[_0x74e52(0x8d)]){_0x46f4bc[_0x74e52(0x94)](_0x55d5d6);continue;}if(_0x55d5d6['start']>_0x26de1b[_0x74e52(0xac)]){_0x46f4bc[_0x74e52(0x94)]({..._0x55d5d6,'start':_0x55d5d6['start']-_0x25fea5,'end':_0x55d5d6[_0x74e52(0xac)]-_0x25fea5});continue;}let _0x1652d8=Math[_0x74e52(0xf0)](_0x55d5d6[_0x74e52(0x8d)],_0x26de1b['start']),_0x393026=Math['min'](_0x55d5d6[_0x74e52(0xac)],_0x26de1b['end']),_0xb7277b=Math['max'](0x0,_0x393026-_0x1652d8+0x1),_0x433c8e=_0x55d5d6[_0x74e52(0xac)]-_0x55d5d6[_0x74e52(0x8d)]+0x1-_0xb7277b;if(_0x433c8e<=0x0)continue;let _0x57c07a=_0x55d5d6[_0x74e52(0x8d)]<_0x26de1b[_0x74e52(0x8d)]?_0x55d5d6['start']:_0x26de1b[_0x74e52(0x8d)];_0x46f4bc[_0x74e52(0x94)]({..._0x55d5d6,'start':_0x57c07a,'end':_0x57c07a+_0x433c8e-0x1});}return N(_0x46f4bc);}function M(_0x19e7d4,_0x349070){const _0x163bfa=_0x29f2;if(_0x349070[_0x163bfa(0x125)]>_0x349070['sourceEnd'])return _0x19e7d4;let _0x3aba99=[];for(let _0x36b949 of _0x19e7d4){if(!D(_0x36b949,_0x349070)){_0x3aba99[_0x163bfa(0x94)](_0x36b949);continue;}let _0x5a63c4=be(_0x36b949,_0x349070);if(_0x5a63c4['type']==='split')throw new w(_0x163bfa(0xc2),'Move\x20would\x20split\x20dimension\x20outline:\x20'+_0x36b949['id'],_0x36b949['id']);_0x3aba99[_0x163bfa(0x94)](_0x5a63c4[_0x163bfa(0xfa)]);}return N(_0x3aba99);}function be(_0x1a7a97,_0xe43ff3){const _0xc36ce=_0x29f2;let _0x14641c=xe(_0xe43ff3['sourceStart'],_0xe43ff3[_0xc36ce(0x119)]+0x1,_0xe43ff3['destinationIndex']),_0x31d499=[],_0x2cb9ff={'start':_0x1a7a97[_0xc36ce(0x8d)],'end':_0x1a7a97[_0xc36ce(0xac)]+0x1};for(let _0x2c5039 of _0x14641c){let _0x56d5fd=Se(_0x2cb9ff,_0x2c5039[_0xc36ce(0x105)]);_0x56d5fd&&_0x31d499[_0xc36ce(0x94)]({'start':_0x56d5fd[_0xc36ce(0x8d)]+_0x2c5039[_0xc36ce(0xc0)],'end':_0x56d5fd['end']+_0x2c5039['offset']});}let _0x105226=Ce(_0x31d499);return _0x105226[_0xc36ce(0xbe)]===0x1?{'type':'ok','outline':{..._0x1a7a97,'start':_0x105226[0x0][_0xc36ce(0x8d)],'end':_0x105226[0x0][_0xc36ce(0xac)]-0x1}}:{'type':_0xc36ce(0xe7),'outline':_0x1a7a97,'ranges':_0x105226};}function xe(_0x25b00c,_0x230df9,_0x98b6e1){let _0x39d24b=_0x230df9-_0x25b00c;if(_0x39d24b<=0x0)throw Error('Invalid\x20dimension\x20outline\x20move\x20source\x20range');return _0x98b6e1>=_0x25b00c&&_0x98b6e1<=_0x230df9?[{'range':{'start':0x0,'end':E},'offset':0x0}]:_0x98b6e1<_0x25b00c?[{'range':{'start':0x0,'end':_0x98b6e1},'offset':0x0},{'range':{'start':_0x98b6e1,'end':_0x25b00c},'offset':_0x39d24b},{'range':{'start':_0x25b00c,'end':_0x230df9},'offset':_0x98b6e1-_0x25b00c},{'range':{'start':_0x230df9,'end':E},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x25b00c},'offset':0x0},{'range':{'start':_0x25b00c,'end':_0x230df9},'offset':_0x98b6e1-_0x230df9},{'range':{'start':_0x230df9,'end':_0x98b6e1},'offset':-_0x39d24b},{'range':{'start':_0x98b6e1,'end':E},'offset':0x0}];}function Se(_0x47f14d,_0x1288c5){const _0x4fc287=_0x29f2;let _0x29a2c2=Math[_0x4fc287(0xf0)](_0x47f14d[_0x4fc287(0x8d)],_0x1288c5[_0x4fc287(0x8d)]),_0x2a011c=Math[_0x4fc287(0x87)](_0x47f14d[_0x4fc287(0xac)],_0x1288c5[_0x4fc287(0xac)]);return _0x29a2c2>=_0x2a011c?null:{'start':_0x29a2c2,'end':_0x2a011c};}function Ce(_0xd670c2){const _0x22f244=_0x29f2;if(_0xd670c2[_0x22f244(0xbe)]===0x0)return[];let _0x25cdcd=[..._0xd670c2][_0x22f244(0xb0)]((_0x462bd3,_0x573f85)=>_0x462bd3[_0x22f244(0x8d)]-_0x573f85['start']||_0x462bd3[_0x22f244(0xac)]-_0x573f85[_0x22f244(0xac)]),_0x5b6099=[];for(let _0x571a54 of _0x25cdcd){let _0x2b60ff=_0x5b6099[_0x5b6099[_0x22f244(0xbe)]-0x1];!_0x2b60ff||_0x571a54[_0x22f244(0x8d)]>_0x2b60ff['end']?_0x5b6099[_0x22f244(0x94)]({..._0x571a54}):_0x2b60ff[_0x22f244(0xac)]=Math[_0x22f244(0xf0)](_0x2b60ff['end'],_0x571a54['end']);}return _0x5b6099;}function we(_0x14a50c,_0x77b580,_0x2604e3,_0x345ba6){return _0x77b580+0x1===_0x2604e3||_0x345ba6+0x1===_0x14a50c;}function N(_0x41705a){let _0x57eee9=Te(_0x41705a);return O(_0x57eee9),_0x57eee9;}function Te(_0x554fec){const _0x132923=_0x29f2;let _0x2aa20d=new Map();for(let _0x1572fd of _0x554fec){let _0xe26242=[_0x1572fd[_0x132923(0x117)],_0x1572fd[_0x132923(0x11b)],_0x1572fd[_0x132923(0xd5)],_0x1572fd[_0x132923(0x8d)],_0x1572fd[_0x132923(0xac)]][_0x132923(0x112)](':'),_0x1105d4=_0x2aa20d[_0x132923(0xec)](_0xe26242);if(!_0x1105d4){_0x2aa20d[_0x132923(0xb1)](_0xe26242,_0x1572fd);continue;}_0x2aa20d[_0x132923(0xb1)](_0xe26242,{..._0x1105d4,'collapsed':_0x1105d4[_0x132923(0xc6)]||_0x1572fd[_0x132923(0xc6)]});}return Array[_0x132923(0xa9)](_0x2aa20d[_0x132923(0xc1)]());}function Ee(_0x4d20f6,_0x9b573f){const _0x462001=_0x29f2;return _0x4d20f6['unitId']===_0x9b573f[_0x462001(0x117)]?_0x4d20f6[_0x462001(0x11b)]===_0x9b573f[_0x462001(0x11b)]?_0x4d20f6[_0x462001(0xd5)]===_0x9b573f[_0x462001(0xd5)]?_0x4d20f6[_0x462001(0x8d)]===_0x9b573f[_0x462001(0x8d)]?_0x9b573f[_0x462001(0xac)]-_0x4d20f6[_0x462001(0xac)]:_0x4d20f6[_0x462001(0x8d)]-_0x9b573f[_0x462001(0x8d)]:_0x4d20f6[_0x462001(0xd5)][_0x462001(0xeb)](_0x9b573f[_0x462001(0xd5)]):_0x4d20f6[_0x462001(0x11b)][_0x462001(0xeb)](_0x9b573f[_0x462001(0x11b)]):_0x4d20f6[_0x462001(0x117)][_0x462001(0xeb)](_0x9b573f[_0x462001(0x117)]);}function De(_0x2f0a91){const _0x7f556f=_0x29f2;if(_0x2f0a91['start']>_0x2f0a91[_0x7f556f(0xac)])throw new w(_0x7f556f(0xe6),_0x7f556f(0x89),_0x2f0a91['id']);}function Oe(_0x440576,_0x24a838){const _0x2fec21=_0x29f2;let _0x52a85a=_0x440576['start']<=_0x24a838['end']&&_0x24a838[_0x2fec21(0x8d)]<=_0x440576[_0x2fec21(0xac)],_0x558f5e=_0x440576['start']<=_0x24a838[_0x2fec21(0x8d)]&&_0x24a838[_0x2fec21(0xac)]<=_0x440576[_0x2fec21(0xac)],_0x2854f7=_0x24a838[_0x2fec21(0x8d)]<=_0x440576['start']&&_0x440576[_0x2fec21(0xac)]<=_0x24a838[_0x2fec21(0xac)];return _0x52a85a&&!_0x558f5e&&!_0x2854f7;}function P(_0x3a9997){'@babel/helpers - typeof';const _0x40b1f3=_0x29f2;return P=typeof Symbol==_0x40b1f3(0xa1)&&typeof Symbol[_0x40b1f3(0xc3)]=='symbol'?function(_0x553125){return typeof _0x553125;}:function(_0x3a6ec0){const _0x572220=_0x40b1f3;return _0x3a6ec0&&typeof Symbol=='function'&&_0x3a6ec0[_0x572220(0xf6)]===Symbol&&_0x3a6ec0!==Symbol[_0x572220(0xfd)]?_0x572220(0x84):typeof _0x3a6ec0;},P(_0x3a9997);}function ke(_0x5c2e29,_0x8e899f){const _0x2ab97f=_0x29f2;if(P(_0x5c2e29)!=_0x2ab97f(0xe3)||!_0x5c2e29)return _0x5c2e29;var _0x13d2b6=_0x5c2e29[Symbol[_0x2ab97f(0xf7)]];if(_0x13d2b6!==void 0x0){var _0x690f20=_0x13d2b6[_0x2ab97f(0xa8)](_0x5c2e29,_0x8e899f||_0x2ab97f(0x107));if(P(_0x690f20)!=_0x2ab97f(0xe3))return _0x690f20;throw TypeError(_0x2ab97f(0x120));}return(_0x8e899f==='string'?String:Number)(_0x5c2e29);}function Ae(_0x64db86){const _0x1d8808=_0x29f2;var _0x752162=ke(_0x64db86,_0x1d8808(0xb8));return P(_0x752162)==_0x1d8808(0x84)?_0x752162:_0x752162+'';}function F(_0x25d317,_0x39be24,_0x4a139f){return(_0x39be24=Ae(_0x39be24))in _0x25d317?Object['defineProperty'](_0x25d317,_0x39be24,{'value':_0x4a139f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x25d317[_0x39be24]=_0x4a139f,_0x25d317;}var I=class extends _0x470ba7{constructor(..._0x4bd77f){const _0x42a2d7=_0x29f2;super(..._0x4bd77f),F(this,_0x42a2d7(0xb4),new Map()),F(this,_0x42a2d7(0x111),new _0x34e2c1()),F(this,_0x42a2d7(0x11a),this['_change$']['asObservable']());}['getOutlines'](_0x3650ba,_0x57f406){const _0x3cfeba=_0x29f2;var _0x5d8e23,_0x373b74;return[...(_0x5d8e23=(_0x373b74=this[_0x3cfeba(0xb4)][_0x3cfeba(0xec)](_0x3650ba))==null?void 0x0:_0x373b74[_0x3cfeba(0xec)](_0x57f406))==null?[]:_0x5d8e23];}[_0x5d32a7(0xdd)](_0x50becd){const _0x4e55eb=_0x5d32a7;let _0x1ce9a0=this[_0x4e55eb(0xb4)][_0x4e55eb(0xec)](_0x50becd),_0x374fbf=new Map();return _0x1ce9a0==null||_0x1ce9a0[_0x4e55eb(0x126)]((_0x35700f,_0x392c85)=>{const _0x35aee8=_0x4e55eb;_0x374fbf[_0x35aee8(0xb1)](_0x392c85,[..._0x35700f]);}),_0x374fbf;}[_0x5d32a7(0xea)](_0x1587ec,_0x43b67f,_0x3c2538){const _0x212bac=_0x5d32a7;this[_0x212bac(0x109)](_0x1587ec)[_0x212bac(0xb1)](_0x43b67f,[..._0x3c2538]),this[_0x212bac(0x111)][_0x212bac(0x9d)]({'unitId':_0x1587ec,'subUnitId':_0x43b67f});}[_0x5d32a7(0x108)](_0x30188d){const _0x25e392=_0x5d32a7;this[_0x25e392(0xb4)][_0x25e392(0xd0)](_0x30188d),this[_0x25e392(0x111)][_0x25e392(0x9d)]({'unitId':_0x30188d});}[_0x5d32a7(0x90)](_0x3a770e){const _0x1054e8=_0x5d32a7;let _0x423b1=this[_0x1054e8(0xb4)][_0x1054e8(0xec)](_0x3a770e),_0x368df2={};return _0x423b1==null||_0x423b1[_0x1054e8(0x126)]((_0x3d1220,_0x4fe5fa)=>{_0x368df2[_0x4fe5fa]={'outlineList':[..._0x3d1220]};}),_0x368df2;}[_0x5d32a7(0xaa)](_0x2e932,_0x33b7b3){const _0x46b1c6=_0x5d32a7;let _0x4a46f7=new Map();Object['entries'](_0x33b7b3)['forEach'](([_0x25d1aa,_0x1a5fa2])=>{const _0x3f07e0=_0x29f2;var _0x5853e8;_0x4a46f7[_0x3f07e0(0xb1)](_0x25d1aa,[...(_0x5853e8=_0x1a5fa2[_0x3f07e0(0xfb)])==null?[]:_0x5853e8]);}),this[_0x46b1c6(0xb4)][_0x46b1c6(0xb1)](_0x2e932,_0x4a46f7),this[_0x46b1c6(0x111)][_0x46b1c6(0x9d)]({'unitId':_0x2e932});}[_0x5d32a7(0xd8)](){const _0x5be289=_0x5d32a7;super['dispose'](),this[_0x5be289(0xb4)][_0x5be289(0xdf)](),this[_0x5be289(0x111)][_0x5be289(0xf2)]();}['_ensureUnitOutlines'](_0x572e34){const _0x10e3f0=_0x5d32a7;let _0x2b55ab=this[_0x10e3f0(0xb4)][_0x10e3f0(0xec)](_0x572e34);return _0x2b55ab||(_0x2b55ab=new Map(),this[_0x10e3f0(0xb4)][_0x10e3f0(0xb1)](_0x572e34,_0x2b55ab)),_0x2b55ab;}},L=class extends _0x470ba7{constructor(..._0x2e58b6){const _0x7d025f=_0x5d32a7;super(..._0x2e58b6),F(this,_0x7d025f(0xb6),new _0x34e2c1()),F(this,_0x7d025f(0x10b),this[_0x7d025f(0xb6)][_0x7d025f(0xd3)]());}[_0x5d32a7(0x122)](_0x80ab84){this['_error$']['next'](_0x80ab84);}['dispose'](){const _0x4ea251=_0x5d32a7;super[_0x4ea251(0xd8)](),this[_0x4ea251(0xb6)][_0x4ea251(0xf2)]();}};const R={'id':_0x5d32a7(0xa5),'type':_0x4edc21['MUTATION'],'handler':(_0x326a1d,_0x368487)=>{const _0x33e16d=_0x5d32a7;let _0x2f85b=_0x326a1d['get'](I),_0x685413=_0x2f85b[_0x33e16d(0x115)](_0x368487[_0x33e16d(0x117)],_0x368487[_0x33e16d(0x11b)]);return _0x2f85b[_0x33e16d(0xea)](_0x368487[_0x33e16d(0x117)],_0x368487[_0x33e16d(0x11b)],he(_0x685413,_0x368487[_0x33e16d(0xfa)])),!0x0;}},z={'id':_0x5d32a7(0x8b),'type':_0x4edc21[_0x5d32a7(0x81)],'handler':(_0x359ead,_0x57fd69)=>{const _0x11127b=_0x5d32a7;let _0x4b7fbc=_0x359ead['get'](I),_0x4fde1b=_0x4b7fbc[_0x11127b(0x115)](_0x57fd69[_0x11127b(0x117)],_0x57fd69[_0x11127b(0x11b)]);return _0x4b7fbc[_0x11127b(0xea)](_0x57fd69[_0x11127b(0x117)],_0x57fd69[_0x11127b(0x11b)],_0x4fde1b[_0x11127b(0x114)](_0x146516=>_0x146516['id']!==_0x57fd69[_0x11127b(0xa4)])),!0x0;}};function B(_0x247f17,_0x1b3aad,_0x21f963){const _0x278838=_0x5d32a7;let _0x17a82f=Me(_0x247f17);return _0x17a82f?_0x17a82f[_0x278838(0xe0)]({'workbookTypes':[_0x497349],'worksheetTypes':[_0x139688]},_0x1b3aad,_0x21f963):!0x0;}function je(_0x47dd7b,_0x4ce0bc,_0x127252){const _0x21866a=_0x5d32a7;var _0x4dd4ad;let _0x22342c=Ne(_0x47dd7b);return((_0x4dd4ad=_0x22342c==null?void 0x0:_0x22342c[_0x21866a(0x80)])==null?_0x200ad5(null):_0x4dd4ad)[_0x21866a(0x9c)](_0x10721e(0x64),_0x546505(null),_0x1b2bfa(()=>B(_0x47dd7b,_0x4ce0bc,_0x127252)));}function Me(_0x23b723){const _0x47ec0d=_0x5d32a7;if(typeof _0x23b723['has']==_0x47ec0d(0xa1)&&!_0x23b723[_0x47ec0d(0xe5)](_0x5ac7a4))return null;try{return _0x23b723[_0x47ec0d(0xec)](_0x5ac7a4);}catch{return null;}}function Ne(_0x5b8d01){const _0x36f23a=_0x5d32a7;if(typeof _0x5b8d01[_0x36f23a(0xe5)]==_0x36f23a(0xa1)&&!_0x5b8d01['has'](_0x33a765))return null;try{return _0x5b8d01['get'](_0x33a765);}catch{return null;}}const V={'id':_0x5d32a7(0x8c),'type':_0x4edc21['COMMAND'],'handler':(_0x38b891,_0x3e2a03)=>{const _0x56915f=_0x5d32a7;var _0x3b096f,_0x596dca;if(!_0x3e2a03)return!0x1;let _0x51840f=_0x51ea1c(_0x38b891['get'](_0x5daa48),_0x3e2a03);if(!_0x51840f)return!0x1;let {unitId:_0x17fe24,subUnitId:_0x2bd595,worksheet:_0x123b2c}=_0x51840f;if(!B(_0x38b891,_0x17fe24,_0x2bd595))return!0x1;let _0x2d31bb=_0x38b891['get'](I),_0x523d4e={'id':_0x56915f(0xa2)+_0x524ac4(0x6),'unitId':_0x17fe24,'subUnitId':_0x2bd595,'axis':_0x3e2a03[_0x56915f(0xd5)],'start':_0x3e2a03[_0x56915f(0x8d)],'end':_0x3e2a03[_0x56915f(0xac)],'collapsed':!0x1},_0x185990=_0x3e2a03[_0x56915f(0xd5)]===_0x56915f(0x113)?_0x123b2c[_0x56915f(0xc8)]():_0x123b2c[_0x56915f(0x10f)](),_0x3959fa=_0x2d31bb[_0x56915f(0x115)](_0x17fe24,_0x2bd595),_0x106de0=ge(_0x3959fa,_0x523d4e),_0x33e0c9=(_0x3b096f=_0x106de0==null?void 0x0:_0x106de0[_0x56915f(0xe4)])==null?[]:_0x3b096f,_0x23af52=(_0x596dca=_0x106de0==null?void 0x0:_0x106de0[_0x56915f(0x85)])==null?_0x523d4e:_0x596dca,_0x20bc37=k(_0x106de0?_0x3959fa[_0x56915f(0x114)](_0x3985e8=>!_0x33e0c9[_0x56915f(0xc9)](_0x3da9b7=>_0x3da9b7['id']===_0x3985e8['id'])):_0x3959fa,_0x23af52,{'maxIndex':_0x185990});if(!_0x20bc37[_0x56915f(0x9f)]){var _0x3645c5;return _0x38b891['get'](L)[_0x56915f(0x122)]({'reason':(_0x3645c5=_0x20bc37[_0x56915f(0xf8)])==null?_0x56915f(0xd1):_0x3645c5,'commandId':V['id'],'unitId':_0x17fe24,'subUnitId':_0x2bd595,'axis':_0x3e2a03['axis'],'outlineId':_0x23af52['id']}),!0x1;}let _0x374e65=[..._0x33e0c9[_0x56915f(0xb3)](_0x103b0a=>({'id':z['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outlineId':_0x103b0a['id']}})),{'id':R['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outline':_0x23af52}}],_0x4155cd=[{'id':z['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outlineId':_0x23af52['id']}},..._0x33e0c9['map'](_0x31f47e=>({'id':R['id'],'params':{'unitId':_0x17fe24,'subUnitId':_0x2bd595,'outline':_0x31f47e}}))];return _0x391a7d(_0x374e65,_0x38b891[_0x56915f(0xec)](_0x147a2d))[_0x56915f(0x91)]?(_0x38b891[_0x56915f(0xec)](_0x11d84b)[_0x56915f(0x9a)]({'unitID':_0x17fe24,'undoMutations':_0x4155cd,'redoMutations':_0x374e65}),!0x0):!0x1;}},H={'id':_0x5d32a7(0x10d),'type':_0x4edc21['MUTATION'],'handler':(_0x12fc34,_0x112f15)=>{const _0x2af1bd=_0x5d32a7;let _0x1734aa=_0x12fc34[_0x2af1bd(0xec)](I),_0x3f2b8e=_0x1734aa[_0x2af1bd(0x115)](_0x112f15[_0x2af1bd(0x117)],_0x112f15[_0x2af1bd(0x11b)]);return _0x1734aa[_0x2af1bd(0xea)](_0x112f15[_0x2af1bd(0x117)],_0x112f15[_0x2af1bd(0x11b)],_e(_0x3f2b8e,_0x112f15)),!0x0;}},U={'id':'sheet.command.clear-dimension-outlines','type':_0x4edc21[_0x5d32a7(0x88)],'handler':(_0x1550c4,_0x4b2867)=>{const _0x330859=_0x5d32a7;if(!_0x4b2867)return!0x1;let _0x4d6106=_0x51ea1c(_0x1550c4[_0x330859(0xec)](_0x5daa48),_0x4b2867);if(!_0x4d6106)return!0x1;let {unitId:_0x22cafc,subUnitId:_0x5145ed}=_0x4d6106;if(!B(_0x1550c4,_0x22cafc,_0x5145ed))return!0x1;let _0x1dc29b={'unitId':_0x22cafc,'subUnitId':_0x5145ed,'axis':_0x4b2867[_0x330859(0xd5)],'start':_0x4b2867[_0x330859(0x8d)],'end':_0x4b2867[_0x330859(0xac)]},_0x31dd1d=_0x1550c4['get'](I)['getOutlines'](_0x22cafc,_0x5145ed)[_0x330859(0x114)](_0x4cf488=>D(_0x4cf488,_0x1dc29b)&&_0x4cf488[_0x330859(0x8d)]>=_0x4b2867[_0x330859(0x8d)]&&_0x4cf488[_0x330859(0xac)]<=_0x4b2867[_0x330859(0xac)]);if(_0x31dd1d[_0x330859(0xbe)]===0x0)return _0x1550c4[_0x330859(0xec)](L)[_0x330859(0x122)]({'reason':_0x330859(0xee),'commandId':U['id'],'unitId':_0x22cafc,'subUnitId':_0x5145ed,'axis':_0x4b2867['axis']}),!0x1;let _0x2a6744=[{'id':H['id'],'params':{..._0x1dc29b,'removedOutlineIds':_0x31dd1d[_0x330859(0xb3)](_0x3b3a73=>_0x3b3a73['id'])}}],_0x55c36f=_0x31dd1d[_0x330859(0xb3)](_0x5679cd=>({'id':R['id'],'params':{'unitId':_0x22cafc,'subUnitId':_0x5145ed,'outline':_0x5679cd}}));return _0x391a7d(_0x2a6744,_0x1550c4[_0x330859(0xec)](_0x147a2d))[_0x330859(0x91)]?(_0x1550c4[_0x330859(0xec)](_0x11d84b)[_0x330859(0x9a)]({'unitID':_0x22cafc,'undoMutations':_0x55c36f,'redoMutations':_0x2a6744}),!0x0):!0x1;}},Pe={'id':_0x5d32a7(0x9e),'type':_0x4edc21[_0x5d32a7(0x88)],'handler':(_0x599f52,_0x3da663)=>{const _0x4b0b3a=_0x5d32a7;if(!_0x3da663)return!0x1;let _0x10bb34=_0x51ea1c(_0x599f52[_0x4b0b3a(0xec)](_0x5daa48),_0x3da663);if(!_0x10bb34)return!0x1;let {unitId:_0x17ba24,subUnitId:_0x188ae8}=_0x10bb34;if(!B(_0x599f52,_0x17ba24,_0x188ae8))return!0x1;let _0xa2bcc5=_0x599f52[_0x4b0b3a(0xec)](I)[_0x4b0b3a(0x115)](_0x17ba24,_0x188ae8)[_0x4b0b3a(0x123)](_0x44fe05=>_0x44fe05['id']===_0x3da663[_0x4b0b3a(0xa4)]);if(!_0xa2bcc5)return!0x1;let _0x2cde95=[{'id':z['id'],'params':{'unitId':_0x17ba24,'subUnitId':_0x188ae8,'outlineId':_0xa2bcc5['id'],'outline':_0xa2bcc5}}],_0x11f242=[{'id':R['id'],'params':{'unitId':_0x17ba24,'subUnitId':_0x188ae8,'outline':_0xa2bcc5}}];return _0x391a7d(_0x2cde95,_0x599f52['get'](_0x147a2d))[_0x4b0b3a(0x91)]?(_0x599f52['get'](_0x11d84b)['pushUndoRedo']({'unitID':_0x17ba24,'undoMutations':_0x11f242,'redoMutations':_0x2cde95}),!0x0):!0x1;}},W={'id':_0x5d32a7(0xf3),'type':_0x4edc21['MUTATION'],'handler':(_0xd6baed,_0x49c609)=>{const _0x3c375d=_0x5d32a7;let _0x10055c=_0xd6baed[_0x3c375d(0xec)](I),_0x243b88=_0x10055c[_0x3c375d(0x115)](_0x49c609[_0x3c375d(0x117)],_0x49c609[_0x3c375d(0x11b)]),_0x3da467=_0x243b88[_0x3c375d(0x123)](_0x5f3129=>_0x5f3129['id']===_0x49c609['outlineId']);return _0x3da467&&_0x10055c['setOutlines'](_0x49c609[_0x3c375d(0x117)],_0x49c609[_0x3c375d(0x11b)],_0x243b88[_0x3c375d(0xb3)](_0x130f28=>_0x130f28[_0x3c375d(0x117)]!==_0x3da467['unitId']||_0x130f28[_0x3c375d(0x11b)]!==_0x3da467[_0x3c375d(0x11b)]||_0x130f28['axis']!==_0x3da467[_0x3c375d(0xd5)]||_0x130f28[_0x3c375d(0x8d)]!==_0x3da467[_0x3c375d(0x8d)]||_0x130f28[_0x3c375d(0xac)]!==_0x3da467[_0x3c375d(0xac)]?_0x130f28:{..._0x130f28,'collapsed':_0x49c609[_0x3c375d(0xc6)]})),!0x0;}};function Fe(_0x2985d3,_0x3e72b8,_0x394ba5,_0xaadda){const _0x5463d5=_0x5d32a7;return _0x2985d3==='row'?{'startRow':_0x3e72b8,'endRow':_0x394ba5,'startColumn':0x0,'endColumn':_0xaadda[_0x5463d5(0x124)]()-0x1}:{'startRow':0x0,'endRow':_0xaadda['getRowCount']()-0x1,'startColumn':_0x3e72b8,'endColumn':_0x394ba5};}function Ie(_0x55e83d){return _0x55e83d==='row'?_0x39639d['id']:_0x216a3d['id'];}function Le(_0x16952d){const _0x593c92=_0x5d32a7;return _0x16952d===_0x593c92(0x113)?_0x429e40['id']:_0x2f83c5['id'];}function Re(_0x27686d,_0x4f2979,_0x444f85,_0x4dd937){const _0x3d6fb4=_0x5d32a7;let _0x43421e=_0x4f2979?[Fe(_0x27686d[_0x3d6fb4(0xd5)],_0x27686d[_0x3d6fb4(0x8d)],_0x27686d[_0x3d6fb4(0xac)],_0x444f85)]:ze(_0x27686d,_0x4dd937,_0x444f85),_0x31cd69=_0x4f2979?Ie(_0x27686d[_0x3d6fb4(0xd5)]):Le(_0x27686d[_0x3d6fb4(0xd5)]);return[{'id':W['id'],'params':{'unitId':_0x27686d[_0x3d6fb4(0x117)],'subUnitId':_0x27686d[_0x3d6fb4(0x11b)],'outlineId':_0x27686d['id'],'outline':_0x27686d,'collapsed':_0x4f2979}},..._0x43421e[_0x3d6fb4(0xb3)](_0x5bd622=>({'id':_0x31cd69,'params':{'unitId':_0x27686d['unitId'],'subUnitId':_0x27686d[_0x3d6fb4(0x11b)],'ranges':[_0x5bd622],'dimensionOutlineId':_0x27686d['id']}}))];}function _0x29f2(_0xb25b14,_0x5e52ad){_0xb25b14=_0xb25b14-0x80;const _0x407ace=_0x407a();let _0x29f2f4=_0x407ace[_0xb25b14];return _0x29f2f4;}function ze(_0x5103fd,_0x3b7a31,_0x578813){const _0x189373=_0x5d32a7;let _0x4c1687=ve(_0x3b7a31[_0x189373(0xb3)](_0x24550b=>Be(_0x24550b,_0x5103fd)?{..._0x24550b,'collapsed':!0x1}:_0x24550b),_0x5103fd[_0x189373(0x117)],_0x5103fd[_0x189373(0x11b)],_0x5103fd[_0x189373(0xd5)]);return Ve({'start':_0x5103fd[_0x189373(0x8d)],'end':_0x5103fd[_0x189373(0xac)]},_0x4c1687)[_0x189373(0xb3)](_0x1f5d68=>Fe(_0x5103fd[_0x189373(0xd5)],_0x1f5d68[_0x189373(0x8d)],_0x1f5d68['end'],_0x578813));}function Be(_0x4ada20,_0x3de3ed){const _0x1f5381=_0x5d32a7;return _0x4ada20[_0x1f5381(0x117)]===_0x3de3ed[_0x1f5381(0x117)]&&_0x4ada20['subUnitId']===_0x3de3ed[_0x1f5381(0x11b)]&&_0x4ada20[_0x1f5381(0xd5)]===_0x3de3ed[_0x1f5381(0xd5)]&&_0x4ada20[_0x1f5381(0x8d)]===_0x3de3ed[_0x1f5381(0x8d)]&&_0x4ada20[_0x1f5381(0xac)]===_0x3de3ed[_0x1f5381(0xac)];}function Ve(_0x141585,_0x471ef1){const _0x22cea6=_0x5d32a7;let _0x146278=_0x141585['start'],_0x4b56ad=[];for(let _0x12e940 of _0x471ef1)if(!(_0x12e940[_0x22cea6(0xac)]<_0x146278||_0x12e940[_0x22cea6(0x8d)]>_0x141585[_0x22cea6(0xac)])&&(_0x12e940[_0x22cea6(0x8d)]>_0x146278&&_0x4b56ad['push']({'start':_0x146278,'end':Math[_0x22cea6(0x87)](_0x12e940[_0x22cea6(0x8d)]-0x1,_0x141585[_0x22cea6(0xac)])}),_0x146278=Math[_0x22cea6(0xf0)](_0x146278,_0x12e940['end']+0x1),_0x146278>_0x141585[_0x22cea6(0xac)]))break;return _0x146278<=_0x141585[_0x22cea6(0xac)]&&_0x4b56ad[_0x22cea6(0x94)]({'start':_0x146278,'end':_0x141585[_0x22cea6(0xac)]}),_0x4b56ad;}const He={'id':_0x5d32a7(0x99),'type':_0x4edc21[_0x5d32a7(0x88)],'handler':(_0x5e8230,_0x2dd230)=>{const _0x1b0608=_0x5d32a7;if(!_0x2dd230)return!0x1;let _0x1a0bc5=_0x51ea1c(_0x5e8230[_0x1b0608(0xec)](_0x5daa48),_0x2dd230);if(!_0x1a0bc5)return!0x1;let {unitId:_0x28ff9b,subUnitId:_0x145160,worksheet:_0x226264}=_0x1a0bc5;if(!B(_0x5e8230,_0x28ff9b,_0x145160))return!0x1;let _0x2770f9=_0x5e8230['get'](I)[_0x1b0608(0x115)](_0x28ff9b,_0x145160),_0x2f4880=_0x2770f9[_0x1b0608(0x123)](_0xecad18=>_0xecad18['id']===_0x2dd230['outlineId']);if(!_0x2f4880||_0x2f4880[_0x1b0608(0xc6)]===_0x2dd230['collapsed'])return!0x1;let _0x4f601a=Re(_0x2f4880,_0x2dd230[_0x1b0608(0xc6)],_0x226264,_0x2770f9),_0x4aa51f=Re(_0x2f4880,!_0x2dd230['collapsed'],_0x226264,_0x2770f9);return _0x391a7d(_0x4f601a,_0x5e8230[_0x1b0608(0xec)](_0x147a2d))[_0x1b0608(0x91)]?(_0x5e8230['get'](_0x11d84b)[_0x1b0608(0x9a)]({'unitID':_0x28ff9b,'undoMutations':_0x4aa51f,'redoMutations':_0x4f601a}),!0x0):!0x1;}},G={'id':_0x5d32a7(0x92),'type':_0x4edc21[_0x5d32a7(0x81)],'handler':(_0x2637b4,_0x4e54b3)=>{const _0x5997c2=_0x5d32a7;let _0x536f1d=_0x2637b4[_0x5997c2(0xec)](I),_0x5d61f4=Ue(_0x536f1d['getOutlines'](_0x4e54b3['unitId'],_0x4e54b3[_0x5997c2(0x11b)]),_0x4e54b3);return _0x536f1d['setOutlines'](_0x4e54b3['unitId'],_0x4e54b3['subUnitId'],_0x5d61f4),!0x0;}};function Ue(_0x340c64,_0x5b1a12){const _0x16bfcd=_0x5d32a7;switch(_0x5b1a12['type']){case _0x16bfcd(0xcd):return _0x5b1a12[_0x16bfcd(0xcf)]?We(_0x340c64,_0x5b1a12):A(_0x340c64,_0x5b1a12);case'delete':return j(_0x340c64,_0x5b1a12);case _0x16bfcd(0xd9):return M(_0x340c64,_0x5b1a12);}}function We(_0x43a28c,_0x143b47){const _0x4f3f9b=_0x5d32a7;return[..._0x43a28c[_0x4f3f9b(0x114)](_0x1d3ab9=>_0x1d3ab9[_0x4f3f9b(0x117)]!==_0x143b47[_0x4f3f9b(0x117)]||_0x1d3ab9[_0x4f3f9b(0x11b)]!==_0x143b47[_0x4f3f9b(0x11b)]||_0x1d3ab9[_0x4f3f9b(0xd5)]!==_0x143b47[_0x4f3f9b(0xd5)]),..._0x143b47[_0x4f3f9b(0xcf)]];}const K='SHEET_OUTLINE_PLUGIN',Ge=_0x5d32a7(0xf4);Symbol(Ge);var Ke=_0x5d32a7(0xdc),qe=_0x5d32a7(0xa7);function q(_0x188e84,_0x45587c){return function(_0x2d71bd,_0x1f9fb3){_0x45587c(_0x2d71bd,_0x1f9fb3,_0x188e84);};}function J(_0x328557,_0x8e721f,_0x29c628,_0x554051){const _0x485cfb=_0x5d32a7;var _0xff9dcf=arguments[_0x485cfb(0xbe)],_0x2b36c3=_0xff9dcf<0x3?_0x8e721f:_0x554051===null?_0x554051=Object['getOwnPropertyDescriptor'](_0x8e721f,_0x29c628):_0x554051,_0x512251;if(typeof Reflect=='object'&&typeof Reflect[_0x485cfb(0xde)]==_0x485cfb(0xa1))_0x2b36c3=Reflect[_0x485cfb(0xde)](_0x328557,_0x8e721f,_0x29c628,_0x554051);else{for(var _0x433130=_0x328557[_0x485cfb(0xbe)]-0x1;_0x433130>=0x0;_0x433130--)(_0x512251=_0x328557[_0x433130])&&(_0x2b36c3=(_0xff9dcf<0x3?_0x512251(_0x2b36c3):_0xff9dcf>0x3?_0x512251(_0x8e721f,_0x29c628,_0x2b36c3):_0x512251(_0x8e721f,_0x29c628))||_0x2b36c3);}return _0xff9dcf>0x3&&_0x2b36c3&&Object[_0x485cfb(0x106)](_0x8e721f,_0x29c628,_0x2b36c3),_0x2b36c3;}const Y={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let X=class extends _0x470ba7{constructor(_0x4212af,_0x46e7ef,_0x37e7c4,_0x538754){const _0x11e66c=_0x5d32a7;super(),this[_0x11e66c(0xce)]=_0x4212af,this[_0x11e66c(0xab)]=_0x46e7ef,this[_0x11e66c(0xe8)]=_0x37e7c4,this['_sheetsOutlineErrorService']=_0x538754,this['_initCommandInterceptor']();}[_0x5d32a7(0xef)](){const _0x429045=_0x5d32a7;this[_0x429045(0x95)](this[_0x429045(0xab)][_0x429045(0x11f)]({'getMutations':_0x1e7dfd=>Je(_0x1e7dfd,(_0x3d628d,_0x31e9a3)=>this[_0x429045(0xe8)][_0x429045(0x115)](_0x3d628d,_0x31e9a3),this[_0x429045(0xd2)](_0x1e7dfd[_0x429045(0xf5)]),_0x2030fd=>this[_0x429045(0x101)]['emit'](_0x2030fd))}));}['_getCommandScope'](_0x45d345){const _0x4d5f3b=_0x5d32a7;let _0x1f4bee=_0x45d345,_0x13ed41=_0x1f4bee!=null&&_0x1f4bee[_0x4d5f3b(0x117)]?this[_0x4d5f3b(0xce)][_0x4d5f3b(0xb5)](_0x1f4bee[_0x4d5f3b(0x117)]):this['_univerInstanceService'][_0x4d5f3b(0x103)](_0x4e8739[_0x4d5f3b(0xcc)]);if(!_0x13ed41)return;let _0x4a7d1e=_0x1f4bee!=null&&_0x1f4bee[_0x4d5f3b(0x11b)]?_0x13ed41['getSheetBySheetId'](_0x1f4bee[_0x4d5f3b(0x11b)]):_0x13ed41[_0x4d5f3b(0x93)]();if(_0x4a7d1e)return{'unitId':_0x13ed41[_0x4d5f3b(0x86)](),'subUnitId':_0x4a7d1e['getSheetId']()};}};X=J([q(0x0,_0x5daa48),q(0x1,_0x1924a8(_0x2b29b0)),q(0x2,_0x1924a8(I)),q(0x3,_0x1924a8(L))],X);function Je(_0x577221,_0x4726ac,_0x4c92ca,_0x3f6030){const _0x267192=_0x5d32a7;let _0x5a6132=Xe(_0x577221,_0x4c92ca);if(!_0x5a6132)return nt();let _0xcb10aa=_0x4726ac(_0x5a6132['unitId'],_0x5a6132[_0x267192(0x11b)]);if(!_0xcb10aa['some'](_0x3d9c72=>_0x3d9c72[_0x267192(0xd5)]===_0x5a6132[_0x267192(0xd5)]))return nt();Ye(_0xcb10aa,_0x5a6132,_0x577221['id'],_0x3f6030);let _0x4cc767=et(_0x5a6132,_0xcb10aa);return{'redos':[{'id':G['id'],'params':_0x5a6132}],'undos':[{'id':G['id'],'params':_0x4cc767}],'preRedos':[],'preUndos':[]};}function Ye(_0x3d5d73,_0x465c42,_0x3dab03,_0x516569){const _0x54b7c9=_0x5d32a7;try{switch(_0x465c42['type']){case _0x54b7c9(0xcd):A(_0x3d5d73,_0x465c42);break;case _0x54b7c9(0xd0):j(_0x3d5d73,_0x465c42);break;case _0x54b7c9(0xd9):M(_0x3d5d73,_0x465c42);break;}}catch(_0x44c3e3){throw _0x516569==null||_0x516569({'reason':T(_0x44c3e3),'commandId':_0x3dab03,'unitId':_0x465c42['unitId'],'subUnitId':_0x465c42[_0x54b7c9(0x11b)],'axis':_0x465c42[_0x54b7c9(0xd5)],'outlineId':me(_0x44c3e3)}),new _0xe8d48a(_0x44c3e3 instanceof Error?_0x44c3e3[_0x54b7c9(0xd4)]:_0x54b7c9(0x8f));}}function Xe(_0x1bf5ef,_0x207cc6){const _0x378432=_0x5d32a7;switch(_0x1bf5ef['id']){case _0x37c8de['id']:return Ze(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0x113),_0x207cc6);case _0x18773e['id']:return Ze(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0xb7),_0x207cc6);case _0x3aba96['id']:return Qe(_0x1bf5ef['params'],_0x378432(0x113),_0x207cc6);case _0x519170['id']:return Qe(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0xb7),_0x207cc6);case _0x4b0f3d['id']:return $e(_0x1bf5ef['params'],_0x378432(0x113),_0x207cc6);case _0x53ee34['id']:return $e(_0x1bf5ef[_0x378432(0xf5)],_0x378432(0xb7),_0x207cc6);default:return null;}}function Ze(_0xedc037,_0x52935b,_0x35085b){const _0x67b04f=_0x5d32a7;let _0x250200=Z(_0xedc037,_0x35085b);if(!(_0xedc037!=null&&_0xedc037[_0x67b04f(0x105)])||!_0x250200)return null;let _0x2596b9=_0x52935b===_0x67b04f(0x113)?_0xedc037[_0x67b04f(0x105)][_0x67b04f(0x8e)]:_0xedc037['range'][_0x67b04f(0x116)],_0x31410b=_0x52935b===_0x67b04f(0x113)?_0xedc037['range'][_0x67b04f(0xe2)]:_0xedc037['range'][_0x67b04f(0xc7)];return{..._0x250200,'axis':_0x52935b,'type':_0x67b04f(0xcd),'index':_0x2596b9,'count':_0x31410b-_0x2596b9+0x1};}function Qe(_0x583e19,_0x19b1fc,_0x3174ff){const _0x191f3d=_0x5d32a7;let _0x25bc77=Z(_0x583e19,_0x3174ff);if(!(_0x583e19!=null&&_0x583e19['range'])||!_0x25bc77)return null;let _0x3d62bc=_0x19b1fc===_0x191f3d(0x113)?_0x583e19[_0x191f3d(0x105)]['startRow']:_0x583e19[_0x191f3d(0x105)]['startColumn'],_0x1e6fb1=_0x19b1fc===_0x191f3d(0x113)?_0x583e19[_0x191f3d(0x105)]['endRow']:_0x583e19[_0x191f3d(0x105)][_0x191f3d(0xc7)];return{..._0x25bc77,'axis':_0x19b1fc,'type':_0x191f3d(0xd0),'start':_0x3d62bc,'end':_0x1e6fb1};}function $e(_0x4a846b,_0x37cc31,_0xc0dd91){const _0x26c7d4=_0x5d32a7;let _0x487a46=Z(_0x4a846b,_0xc0dd91);if(!(_0x4a846b!=null&&_0x4a846b[_0x26c7d4(0x9b)])||!_0x4a846b[_0x26c7d4(0xbd)]||!_0x487a46)return null;let _0x1ad431=_0x37cc31===_0x26c7d4(0x113)?_0x4a846b[_0x26c7d4(0x9b)]['startRow']:_0x4a846b[_0x26c7d4(0x9b)][_0x26c7d4(0x116)],_0x746e11=_0x37cc31===_0x26c7d4(0x113)?_0x4a846b['fromRange'][_0x26c7d4(0xe2)]:_0x4a846b[_0x26c7d4(0x9b)][_0x26c7d4(0xc7)],_0x32e106=_0x37cc31==='row'?_0x4a846b[_0x26c7d4(0xbd)]['startRow']:_0x4a846b['toRange'][_0x26c7d4(0x116)];return{..._0x487a46,'axis':_0x37cc31,'type':_0x26c7d4(0xd9),'sourceStart':_0x1ad431,'sourceEnd':_0x746e11,'destinationIndex':_0x32e106};}function et(_0x4a4c3a,_0x51a8b9){const _0x11595f=_0x5d32a7;switch(_0x4a4c3a['type']){case _0x11595f(0xcd):return{'unitId':_0x4a4c3a['unitId'],'subUnitId':_0x4a4c3a['subUnitId'],'axis':_0x4a4c3a[_0x11595f(0xd5)],'type':_0x11595f(0xd0),'start':_0x4a4c3a[_0x11595f(0xd6)],'end':_0x4a4c3a[_0x11595f(0xd6)]+_0x4a4c3a[_0x11595f(0x96)]-0x1};case'delete':return{'unitId':_0x4a4c3a[_0x11595f(0x117)],'subUnitId':_0x4a4c3a[_0x11595f(0x11b)],'axis':_0x4a4c3a[_0x11595f(0xd5)],'type':_0x11595f(0xcd),'index':_0x4a4c3a[_0x11595f(0x8d)],'count':_0x4a4c3a['end']-_0x4a4c3a['start']+0x1,'restoreOutlines':_0x51a8b9[_0x11595f(0x114)](_0x485ec4=>_0x485ec4['unitId']===_0x4a4c3a[_0x11595f(0x117)]&&_0x485ec4['subUnitId']===_0x4a4c3a[_0x11595f(0x11b)]&&_0x485ec4[_0x11595f(0xd5)]===_0x4a4c3a[_0x11595f(0xd5)])};case _0x11595f(0xd9):return tt(_0x4a4c3a);}}function tt(_0x49185){const _0x47801d=_0x5d32a7;let _0x361726=_0x49185[_0x47801d(0x119)]-_0x49185[_0x47801d(0x125)]+0x1;return _0x49185['destinationIndex']>=_0x49185[_0x47801d(0x125)]&&_0x49185[_0x47801d(0xd7)]<=_0x49185[_0x47801d(0x119)]+0x1?{..._0x49185}:_0x49185[_0x47801d(0xd7)]>_0x49185[_0x47801d(0x119)]+0x1?{..._0x49185,'sourceStart':_0x49185[_0x47801d(0xd7)]-_0x361726,'sourceEnd':_0x49185[_0x47801d(0xd7)]-0x1,'destinationIndex':_0x49185[_0x47801d(0x125)]}:{..._0x49185,'sourceStart':_0x49185[_0x47801d(0xd7)],'sourceEnd':_0x49185[_0x47801d(0xd7)]+_0x361726-0x1,'destinationIndex':_0x49185['sourceEnd']+0x1};}function Z(_0x724595,_0x399172){const _0x5ea9ce=_0x5d32a7;var _0x2df16b,_0x238718;let _0x411503=(_0x2df16b=_0x724595==null?void 0x0:_0x724595[_0x5ea9ce(0x117)])==null?_0x399172==null?void 0x0:_0x399172['unitId']:_0x2df16b,_0x41d8ec=(_0x238718=_0x724595==null?void 0x0:_0x724595[_0x5ea9ce(0x11b)])==null?_0x399172==null?void 0x0:_0x399172[_0x5ea9ce(0x11b)]:_0x238718;return _0x411503&&_0x41d8ec?{'unitId':_0x411503,'subUnitId':_0x41d8ec}:null;}function nt(){const _0x4670c8=_0x5d32a7;var _0x4d2318,_0x43637a;return{'redos':[...Y[_0x4670c8(0xcb)]],'undos':[...Y['undos']],'preRedos':[...(_0x4d2318=Y['preRedos'])==null?[]:_0x4d2318],'preUndos':[...(_0x43637a=Y[_0x4670c8(0x104)])==null?[]:_0x43637a]};}let Q=class extends _0x470ba7{constructor(_0x2c2b1c,_0x377b83){const _0x466904=_0x5d32a7;super(),this[_0x466904(0xe9)]=_0x2c2b1c,this[_0x466904(0xe8)]=_0x377b83,this['_initResource']();}[_0x5d32a7(0x82)](){const _0x51985c=_0x5d32a7;this[_0x51985c(0x95)](this[_0x51985c(0xe9)][_0x51985c(0x121)]({'pluginName':K,'businesses':[_0x4e8739[_0x51985c(0xcc)]],'toJson':_0x16f56f=>JSON[_0x51985c(0xf1)](this[_0x51985c(0xe8)][_0x51985c(0x90)](_0x16f56f)),'parseJson':_0x54ee21=>JSON['parse'](_0x54ee21),'onLoad':(_0x1de086,_0x309ea5)=>this['_sheetsOutlineModel'][_0x51985c(0xaa)](_0x1de086,_0x309ea5),'onUnLoad':_0x13041b=>this['_sheetsOutlineModel'][_0x51985c(0x108)](_0x13041b)}));}};Q=J([q(0x0,_0x1e23e7),q(0x1,_0x1924a8(I))],Q);let $=class extends _0x24d77d{constructor(_0xddf630,_0x7acfcc,_0x3e4550){const _0x375d30=_0x5d32a7;super(),this[_0x375d30(0x10c)]=_0xddf630,this['_injector']=_0x7acfcc,this['_commandService']=_0x3e4550;}[_0x5d32a7(0x97)](){const _0xc22702=_0x5d32a7;this['_injector'][_0xc22702(0xbb)]([I]),this['_injector'][_0xc22702(0xbb)]([L]),this['_injector']['add']([Q]),this[_0xc22702(0xba)][_0xc22702(0xbb)]([X]),this[_0xc22702(0x98)](),this['_injector'][_0xc22702(0xec)](I),this['_injector'][_0xc22702(0xec)](L),this[_0xc22702(0xba)][_0xc22702(0xec)](Q),this[_0xc22702(0xba)][_0xc22702(0xec)](X);}[_0x5d32a7(0x98)](){const _0x3a9708=_0x5d32a7;[V,Pe,He,U]['forEach'](_0x569b5b=>{const _0x397b5c=_0x29f2;this[_0x397b5c(0x95)](this[_0x397b5c(0xe1)][_0x397b5c(0xfe)](_0x569b5b));}),[R,z,W,H,G][_0x3a9708(0x126)](_0x4e534c=>{const _0x14b125=_0x3a9708;this[_0x14b125(0x95)](this[_0x14b125(0xe1)]['registerCommand'](_0x4e534c));});}};F($,_0x5d32a7(0x110),K),F($,'packageName',Ke),F($,_0x5d32a7(0x118),qe),F($,_0x5d32a7(0xc4),_0x4e8739[_0x5d32a7(0xcc)]),$=J([_0x2b5666(_0x5020a7),q(0x1,_0x1924a8(_0x3eca3a)),q(0x2,_0x147a2d)],$);export{V as AddDimensionOutlineCommand,R as AddDimensionOutlineMutation,U as ClearDimensionOutlinesCommand,H as ClearDimensionOutlinesMutation,fe as DimensionOutlineAxis,w as DimensionOutlineError,pe as DimensionOutlineErrorReason,Pe as RemoveDimensionOutlineCommand,z as RemoveDimensionOutlineMutation,Ge as SHEETS_OUTLINE_PLUGIN_CONFIG_KEY,K as SHEET_OUTLINE_PLUGIN,He as SetDimensionOutlineCollapsedCommand,W as SetDimensionOutlineCollapsedMutation,L as SheetsOutlineErrorService,I as SheetsOutlineModel,G as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,he as addDimensionOutlineToList,O as buildDimensionOutlineTree,ve as buildHiddenRanges,k as canAddDimensionOutline,_e as clearDimensionOutlinesInRange,me as getDimensionOutlineErrorOutlineId,T as getDimensionOutlineErrorReason,je as getDimensionOutlineViewPermission$,B as hasDimensionOutlineViewPermission,ye as mergeRanges,j as transformOutlinesByDelete,A as transformOutlinesByInsert,M as transformOutlinesByMove};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import { DimensionOutlineAxis } from '../../common/type';
|
|
3
|
+
export interface IAddDimensionOutlineCommandParams {
|
|
4
|
+
unitId?: string;
|
|
5
|
+
subUnitId?: string;
|
|
6
|
+
axis: DimensionOutlineAxis;
|
|
7
|
+
/** Zero-based inclusive start index of the grouped rows or columns. */
|
|
8
|
+
start: number;
|
|
9
|
+
/** Zero-based inclusive end index of the grouped rows or columns. */
|
|
10
|
+
end: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const AddDimensionOutlineCommand: ICommand<IAddDimensionOutlineCommandParams>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
import type { DimensionOutlineAxis } from '../../common/type';
|
|
3
|
+
export interface IClearDimensionOutlinesCommandParams {
|
|
4
|
+
unitId?: string;
|
|
5
|
+
subUnitId?: string;
|
|
6
|
+
axis: DimensionOutlineAxis;
|
|
7
|
+
/** Zero-based inclusive start index of the clear range. */
|
|
8
|
+
start: number;
|
|
9
|
+
/** Zero-based inclusive end index of the clear range. */
|
|
10
|
+
end: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const ClearDimensionOutlinesCommand: ICommand<IClearDimensionOutlinesCommandParams>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IAccessor } from '@univerjs/core';
|
|
2
|
+
import type { Observable } from 'rxjs';
|
|
3
|
+
export declare function hasDimensionOutlineViewPermission(accessor: IAccessor, unitId: string, subUnitId: string): boolean;
|
|
4
|
+
export declare function getDimensionOutlineViewPermission$(accessor: IAccessor, unitId: string, subUnitId: string): Observable<boolean>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface IRemoveDimensionOutlineCommandParams {
|
|
3
|
+
unitId?: string;
|
|
4
|
+
subUnitId?: string;
|
|
5
|
+
outlineId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const RemoveDimensionOutlineCommand: ICommand<IRemoveDimensionOutlineCommandParams>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ICommand } from '@univerjs/core';
|
|
2
|
+
export interface ISetDimensionOutlineCollapsedCommandParams {
|
|
3
|
+
unitId?: string;
|
|
4
|
+
subUnitId?: string;
|
|
5
|
+
outlineId: string;
|
|
6
|
+
collapsed: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const SetDimensionOutlineCollapsedCommand: ICommand<ISetDimensionOutlineCollapsedCommandParams>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IMutationInfo, IRange, Worksheet } from '@univerjs/core';
|
|
2
|
+
import type { IDimensionOutline } from '../../common/type';
|
|
3
|
+
import { DimensionOutlineAxis } from '../../common/type';
|
|
4
|
+
export declare function toDimensionRange(axis: DimensionOutlineAxis, start: number, end: number, worksheet: Worksheet): IRange;
|
|
5
|
+
export declare function getHiddenMutationId(axis: DimensionOutlineAxis): string;
|
|
6
|
+
export declare function getVisibleMutationId(axis: DimensionOutlineAxis): string;
|
|
7
|
+
export declare function createCollapsedMutations(outline: IDimensionOutline, collapsed: boolean, worksheet: Worksheet, allGroups: IDimensionOutline[]): IMutationInfo[];
|
|
8
|
+
export declare function getVisibleRangesForExpand(outline: IDimensionOutline, allGroups: IDimensionOutline[], worksheet: Worksheet): IRange[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IMutation } from '@univerjs/core';
|
|
2
|
+
import type { IDimensionOutline } from '../../common/type';
|
|
3
|
+
export interface IAddDimensionOutlineMutationParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
outline: IDimensionOutline;
|
|
7
|
+
}
|
|
8
|
+
export declare const AddDimensionOutlineMutation: IMutation<IAddDimensionOutlineMutationParams>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IMutation } from '@univerjs/core';
|
|
2
|
+
import type { DimensionOutlineAxis } from '../../common/type';
|
|
3
|
+
export interface IClearDimensionOutlinesMutationParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
axis: DimensionOutlineAxis;
|
|
7
|
+
start: number;
|
|
8
|
+
end: number;
|
|
9
|
+
removedOutlineIds?: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare const ClearDimensionOutlinesMutation: IMutation<IClearDimensionOutlinesMutationParams>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IMutation } from '@univerjs/core';
|
|
2
|
+
import type { IDimensionOutline } from '../../common/type';
|
|
3
|
+
export interface IRemoveDimensionOutlineMutationParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
outlineId: string;
|
|
7
|
+
outline?: IDimensionOutline;
|
|
8
|
+
}
|
|
9
|
+
export declare const RemoveDimensionOutlineMutation: IMutation<IRemoveDimensionOutlineMutationParams>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IMutation } from '@univerjs/core';
|
|
2
|
+
import type { IDimensionOutline } from '../../common/type';
|
|
3
|
+
export interface ISetDimensionOutlineCollapsedMutationParams {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
outlineId: string;
|
|
7
|
+
outline?: IDimensionOutline;
|
|
8
|
+
collapsed: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const SetDimensionOutlineCollapsedMutation: IMutation<ISetDimensionOutlineCollapsedMutationParams>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { IMutation } from '@univerjs/core';
|
|
2
|
+
import type { DimensionOutlineAxis, IDimensionOutline } from '../../common/type';
|
|
3
|
+
export type ITransformDimensionOutlinesMutationParams = {
|
|
4
|
+
unitId: string;
|
|
5
|
+
subUnitId: string;
|
|
6
|
+
axis: DimensionOutlineAxis;
|
|
7
|
+
type: 'insert';
|
|
8
|
+
index: number;
|
|
9
|
+
count: number;
|
|
10
|
+
restoreOutlines?: IDimensionOutline[];
|
|
11
|
+
} | {
|
|
12
|
+
unitId: string;
|
|
13
|
+
subUnitId: string;
|
|
14
|
+
axis: DimensionOutlineAxis;
|
|
15
|
+
type: 'delete';
|
|
16
|
+
start: number;
|
|
17
|
+
end: number;
|
|
18
|
+
} | {
|
|
19
|
+
unitId: string;
|
|
20
|
+
subUnitId: string;
|
|
21
|
+
axis: DimensionOutlineAxis;
|
|
22
|
+
type: 'move';
|
|
23
|
+
sourceStart: number;
|
|
24
|
+
sourceEnd: number;
|
|
25
|
+
destinationIndex: number;
|
|
26
|
+
};
|
|
27
|
+
export declare const TransformDimensionOutlinesMutation: IMutation<ITransformDimensionOutlinesMutationParams>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { DimensionOutlineAxis, ICanAddDimensionOutlineResult, IDimensionOutline, IDimensionOutlineInsertRange, IDimensionOutlineMoveRange, IDimensionOutlineRange, IDimensionOutlineViewModel, IHiddenRange } from './type';
|
|
2
|
+
interface IBuildTreeOptions {
|
|
3
|
+
maxDepth?: number;
|
|
4
|
+
maxIndex?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface IAdjacentDimensionOutlineMerge {
|
|
7
|
+
mergedOutline: IDimensionOutline;
|
|
8
|
+
mergedOutlines: IDimensionOutline[];
|
|
9
|
+
}
|
|
10
|
+
export declare function isSameOutlineScope(outline: IDimensionOutline, range: Pick<IDimensionOutlineRange, 'unitId' | 'subUnitId' | 'axis'>): boolean;
|
|
11
|
+
export declare function buildDimensionOutlineTree(outlines: IDimensionOutline[], options?: IBuildTreeOptions): IDimensionOutlineViewModel[];
|
|
12
|
+
export declare function canAddDimensionOutline(outlines: IDimensionOutline[], next: IDimensionOutline, options?: IBuildTreeOptions): ICanAddDimensionOutlineResult;
|
|
13
|
+
export declare function addDimensionOutlineToList(outlines: IDimensionOutline[], next: IDimensionOutline, options?: IBuildTreeOptions): IDimensionOutline[];
|
|
14
|
+
export declare function getAdjacentDimensionOutlineMerge(outlines: IDimensionOutline[], next: IDimensionOutline): IAdjacentDimensionOutlineMerge | null;
|
|
15
|
+
export declare function clearDimensionOutlinesInRange(outlines: IDimensionOutline[], range: IDimensionOutlineRange): IDimensionOutline[];
|
|
16
|
+
export declare function buildHiddenRanges(outlines: IDimensionOutline[], unitId: string, subUnitId: string, axis: DimensionOutlineAxis): IHiddenRange[];
|
|
17
|
+
export declare function mergeRanges(ranges: IHiddenRange[]): IHiddenRange[];
|
|
18
|
+
export declare function transformOutlinesByInsert(outlines: IDimensionOutline[], range: IDimensionOutlineInsertRange): IDimensionOutline[];
|
|
19
|
+
export declare function transformOutlinesByDelete(outlines: IDimensionOutline[], range: IDimensionOutlineRange): IDimensionOutline[];
|
|
20
|
+
export declare function transformOutlinesByMove(outlines: IDimensionOutline[], range: IDimensionOutlineMoveRange): IDimensionOutline[];
|
|
21
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SHEET_OUTLINE_PLUGIN = "SHEET_OUTLINE_PLUGIN";
|