@univerjs-pro/sheets-outline 1.0.0-alpha.1 → 1.0.0-alpha.2
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/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/plugin.d.ts +3 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x517f(){const _0x297609=['getSheetCommandTarget','complete','reason','UniverProLicense','packageName','next','ClearDimensionOutlinesMutation','_ensureUnitOutlines','name','deserialize','unknown','depth','type','map','IResourceManagerService','setOutlines','collapsed','_change$','getDimensionOutlineViewPermission$','_resourceManagerService','out-of-bounds','Injector','end','registerCommand','@univerjs-pro/license','error$','MOVE_SPLITS_OUTLINE','operators','InsertRowCommand','_commandService','1.0.0-alpha.1','RemoveColCommand','_initResource','UniverCore','UNIVER_SHEET','dispose','endRow','getRowCount','5XskQok','getSheetId','sourceStart','9160850jMKMEg','startRow','insert','serialize','UNKNOWN','transformOutlinesByMove','clearDimensionOutlinesInRange','defineProperty','undos','Move\x20would\x20split\x20dimension\x20outline:\x20','startWith','sequenceExecute','forEach','mergedOutline','getActiveSheet','preRedos','632ddipmW','_error$','Inject','_initCommandInterceptor','_config','1339332Sohbei','start','call','destinationIndex','includes','sheet.mutation.add-dimension-outline','sheet.mutation.transform-dimension-outlines','fromRange','Invalid\x20outline\x20range','unitId','SHEETS_OUTLINE_PLUGIN_CONFIG_KEY','filter','1983996YqaNIN','@univerjs/core','getUniverSheetInstance','clear-range-not-contain-outline','range','rxjs/operators','some','interceptCommand','Module','_getCommandScope','Subject','stringify','crossing','row','children','transformOutlinesByInsert','offset','COLUMN','Disposable','MAX_DEPTH','decorate','buildDimensionOutlineTree','delete','sort','length','max-depth','Plugin','localeCompare','SheetsOutlineErrorService','max','RemoveDimensionOutlineCommand','from','_initRegisterCommand','_sheetsOutlineErrorService','_sheetInterceptorService','CustomCommandExecutionError','toRange','default','AddDimensionOutlineCommand','move-splits-outline','SheetsOutlineModel','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','SheetInterceptorService','pushUndoRedo','clear','mergeRanges','subUnitId','@univerjs-pro/sheets-outline','outlineList','DimensionOutlineError','generateRandomId','IUndoRedoService','permissionCheckWithoutRange','object','getDimensionOutlineErrorOutlineId','asObservable','sourceEnd','sheet.command.add-dimension-outline','getCurrentUnitOfType','getDimensionOutlineErrorReason','_injector','result','_univerInstanceService','join','DimensionOutlineAxis','string','9216uolWtq','sheet.mutation.remove-dimension-outline','OUT_OF_BOUNDS','dimension-outline-','WorkbookViewPermission','UniverInstanceType','amd','exports','mergedOutlines','set','pipe','SetRowVisibleMutation','IUniverInstanceService','SetDimensionOutlineCollapsedCommand','ICommandService','push','get','SetColVisibleMutation','maxIndex','params','SHEET_OUTLINE_PLUGIN','maxDepth','add','version','count','column','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','_sheetsOutlineModel','has','prototype','toStringTag','function','Invalid\x20dimension\x20outline\x20mutation','_outlines','startColumn','sheet.mutation.clear-dimension-outlines','Crossing','sheets-outline.config','ClearDimensionOutlinesCommand','canAddDimensionOutline','addDimensionOutlineToList','SheetPermissionCheckController','onStarting','ROW','10sjWetj','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','invalid-range','min','MUTATION','axis','MoveRowsCommand','AddDimensionOutlineMutation','outline','Invalid\x20dimension\x20outline\x20move\x20source\x20range','debounceTime','rxjs','DependentOn','permissionPointUpdate$','CommandType','index','2540167xjwnKx','move','RemoveDimensionOutlineMutation','COMMAND','@univerjs/sheets','getColumnCount','restoreOutlines','emit','2044626IlLzFU','sheet.mutation.set-dimension-outline-collapsed','outlineId','valid','disposeWithMe','symbol','constructor','getMaxColumns','toPrimitive','endColumn','find','split','TransformDimensionOutlinesMutation','split\x20dimension\x20outline','iterator','SetColHiddenMutation','51971dfuTfB','IPermissionService','message','getOutlines','sheet.command.clear-dimension-outlines','values'];_0x517f=function(){return _0x297609;};return _0x517f();}function _0x5af8(_0x28d323,_0x4c8ff1){_0x28d323=_0x28d323-0x1d8;const _0x517f18=_0x517f();let _0x5af8c6=_0x517f18[_0x28d323];return _0x5af8c6;}(function(_0x20b6f7,_0x482de2){const _0x35fee6=_0x5af8,_0x1b8575=_0x20b6f7();while(!![]){try{const _0x13e051=parseInt(_0x35fee6(0x1e1))/0x1*(-parseInt(_0x35fee6(0x29f))/0x2)+-parseInt(_0x35fee6(0x2b7))/0x3+-parseInt(_0x35fee6(0x225))/0x4*(parseInt(_0x35fee6(0x20d))/0x5)+parseInt(_0x35fee6(0x231))/0x6+parseInt(_0x35fee6(0x2af))/0x7+-parseInt(_0x35fee6(0x220))/0x8*(-parseInt(_0x35fee6(0x273))/0x9)+parseInt(_0x35fee6(0x210))/0xa;if(_0x13e051===_0x482de2)break;else _0x1b8575['push'](_0x1b8575['shift']());}catch(_0x8977b9){_0x1b8575['push'](_0x1b8575['shift']());}}}(_0x517f,0x6525a),function(_0x4db549,_0x12223f){const _0x1a9fe3=_0x5af8;typeof exports==_0x1a9fe3(0x266)&&typeof module<'u'?_0x12223f(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define=='function'&&define[_0x1a9fe3(0x279)]?define([_0x1a9fe3(0x27a),_0x1a9fe3(0x232),_0x1a9fe3(0x2b3),_0x1a9fe3(0x2aa),_0x1a9fe3(0x236),_0x1a9fe3(0x1ff)],_0x12223f):(_0x4db549=typeof globalThis<'u'?globalThis:_0x4db549||self,_0x12223f(_0x4db549['UniverProSheetsOutline']={},_0x4db549[_0x1a9fe3(0x208)],_0x4db549['UniverSheets'],_0x4db549[_0x1a9fe3(0x2aa)],_0x4db549[_0x1a9fe3(0x2aa)][_0x1a9fe3(0x202)],_0x4db549[_0x1a9fe3(0x1ea)]));}(this,function(_0xc4c6d0,_0x45e8fe,_0x182003,_0x58d1bc,_0x5d9cca,_0x5e62c8){const _0x302beb=_0x5af8;Object[_0x302beb(0x217)](_0xc4c6d0,Symbol[_0x302beb(0x291)],{'value':_0x302beb(0x239)});let _0x3ea85d=function(_0x431f14){const _0x401018=_0x302beb;return _0x431f14[_0x401018(0x29e)]=_0x401018(0x23e),_0x431f14[_0x401018(0x242)]=_0x401018(0x28c),_0x431f14;}({}),_0x3c2579=function(_0x722807){const _0x38c38d=_0x302beb;return _0x722807['INVALID_RANGE']=_0x38c38d(0x2a1),_0x722807[_0x38c38d(0x275)]='out-of-bounds',_0x722807['CROSSING']=_0x38c38d(0x23d),_0x722807[_0x38c38d(0x244)]=_0x38c38d(0x24a),_0x722807[_0x38c38d(0x201)]=_0x38c38d(0x258),_0x722807[_0x38c38d(0x2a0)]=_0x38c38d(0x234),_0x722807[_0x38c38d(0x214)]='unknown',_0x722807;}({});var _0x1df05d=class extends Error{constructor(_0x706a0d,_0x340f7d,_0x281be8){const _0xc619ba=_0x302beb;super(_0x340f7d),this[_0xc619ba(0x1e9)]=_0x706a0d,this['outlineId']=_0x281be8,this[_0xc619ba(0x1ef)]=_0xc619ba(0x262);}};function _0x4c6076(_0x15056d){const _0x1dcb68=_0x302beb;return _0x15056d instanceof _0x1df05d?_0x15056d[_0x1dcb68(0x1e9)]:_0x15056d instanceof Error?_0x15056d['message'][_0x1dcb68(0x229)](_0x1dcb68(0x1de))?_0x1dcb68(0x258):_0x15056d[_0x1dcb68(0x1e3)]['includes'](_0x1dcb68(0x1f2))?_0x1dcb68(0x24a):_0x15056d[_0x1dcb68(0x1e3)][_0x1dcb68(0x229)](_0x1dcb68(0x297))?'crossing':_0x15056d[_0x1dcb68(0x1e3)]['includes'](_0x1dcb68(0x235))?_0x1dcb68(0x2a1):_0x1dcb68(0x1f1):'unknown';}function _0x2ee5ea(_0x12b798){const _0x9206=_0x302beb;return _0x12b798 instanceof _0x1df05d?_0x12b798[_0x9206(0x2b9)]:void 0x0;}let _0xe4b1d9=0x2**0x35-0x1;function _0x3a48ba(_0x79ee1f,_0x37758){const _0x5accf7=_0x302beb;return _0x79ee1f[_0x5accf7(0x22e)]===_0x37758['unitId']&&_0x79ee1f[_0x5accf7(0x25f)]===_0x37758['subUnitId']&&_0x79ee1f[_0x5accf7(0x2a4)]===_0x37758[_0x5accf7(0x2a4)];}function _0x25c91d(_0x4f5f22,_0x5bb175={}){const _0x487e22=_0x302beb;var _0x2373ac;let _0x5f1554=(_0x2373ac=_0x5bb175[_0x487e22(0x288)])==null?0x8:_0x2373ac,_0x69fdef=new Map();for(let _0x532405 of _0x4f5f22){let _0x3dc035=_0x532405[_0x487e22(0x22e)]+':'+_0x532405[_0x487e22(0x25f)]+':'+_0x532405[_0x487e22(0x2a4)],_0x21ebe5=_0x69fdef[_0x487e22(0x283)](_0x3dc035);_0x21ebe5?_0x21ebe5[_0x487e22(0x282)](_0x532405):_0x69fdef[_0x487e22(0x27c)](_0x3dc035,[_0x532405]);}let _0x504783=[];for(let _0x457933 of _0x69fdef[_0x487e22(0x1e6)]()){let _0x2132a6=[..._0x457933]['sort'](_0x1eda9c),_0x4fe3c9=[];for(let _0x639a2a of _0x2132a6){for(_0xbed4a6(_0x639a2a);_0x4fe3c9[_0x487e22(0x249)]>0x0&&_0x639a2a['start']>_0x4fe3c9[_0x4fe3c9[_0x487e22(0x249)]-0x1]['end'];)_0x4fe3c9['pop']();let _0x3e5e8d=_0x4fe3c9[_0x4fe3c9[_0x487e22(0x249)]-0x1];if(_0x3e5e8d&&_0x639a2a[_0x487e22(0x1fd)]>_0x3e5e8d[_0x487e22(0x1fd)])throw new _0x1df05d(_0x487e22(0x23d),_0x487e22(0x25a),_0x639a2a['id']);let _0x38bc78=_0x3e5e8d?_0x3e5e8d[_0x487e22(0x1f2)]+0x1:0x1;if(_0x38bc78>_0x5f1554)throw new _0x1df05d(_0x487e22(0x24a),_0x487e22(0x28d)+_0x5f1554,_0x639a2a['id']);let _0x1f91e2={..._0x639a2a,'depth':_0x38bc78,'parentId':_0x3e5e8d==null?void 0x0:_0x3e5e8d['id'],'anchor':_0x639a2a[_0x487e22(0x1fd)],'children':[]};_0x3e5e8d?_0x3e5e8d[_0x487e22(0x23f)][_0x487e22(0x282)](_0x1f91e2):_0x504783[_0x487e22(0x282)](_0x1f91e2),_0x4fe3c9[_0x487e22(0x282)](_0x1f91e2);}}return _0x504783;}function _0x172ee4(_0x39b37b,_0x47e311,_0x24ab4f={}){const _0x5ece41=_0x302beb;if(_0x47e311[_0x5ece41(0x226)]<0x0||_0x47e311['start']>_0x47e311[_0x5ece41(0x1fd)])return{'valid':!0x1,'reason':_0x5ece41(0x2a1)};if(_0x24ab4f['maxIndex']!=null&&_0x47e311[_0x5ece41(0x1fd)]>=_0x24ab4f[_0x5ece41(0x285)])return{'valid':!0x1,'reason':_0x5ece41(0x1fb)};let _0x428f00=_0x39b37b[_0x5ece41(0x230)](_0x40eb40=>_0x3a48ba(_0x40eb40,_0x47e311));for(let _0x35ba73 of _0x428f00)if(_0x3a36bf(_0x35ba73,_0x47e311))return{'valid':!0x1,'reason':_0x5ece41(0x23d)};try{_0x25c91d([..._0x39b37b,_0x47e311],_0x24ab4f);}catch(_0x432eca){let _0x103ef5=_0x4c6076(_0x432eca);return _0x103ef5===_0x5ece41(0x24a)?{'valid':!0x1,'reason':'max-depth'}:_0x103ef5==='invalid-range'?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':_0x5ece41(0x23d)};}return{'valid':!0x0};}function _0xd9108(_0x1d5419,_0x4310cf,_0x35ea2e={}){let _0x5743e9=_0x172ee4(_0x1d5419,_0x4310cf,_0x35ea2e);if(!_0x5743e9['valid']){var _0x4d7eeb;throw Error((_0x4d7eeb=_0x5743e9['reason'])==null?'invalid-dimension-outline':_0x4d7eeb);}return[..._0x1d5419,_0x4310cf];}function _0x47bb33(_0x1101ac,_0x15c746){const _0x4868c4=_0x302beb;let _0x4f8eb7=_0x15c746[_0x4868c4(0x226)],_0x1a3cc5=_0x15c746[_0x4868c4(0x1fd)],_0x1ad0c1=[],_0x3574c4=!0x0;for(;_0x3574c4;){_0x3574c4=!0x1;for(let _0x22bb79 of _0x1101ac)_0x1ad0c1[_0x4868c4(0x229)](_0x22bb79)||!_0x3a48ba(_0x22bb79,_0x15c746)||!_0x1b5565(_0x22bb79[_0x4868c4(0x226)],_0x22bb79[_0x4868c4(0x1fd)],_0x4f8eb7,_0x1a3cc5)||(_0x1ad0c1[_0x4868c4(0x282)](_0x22bb79),_0x4f8eb7=Math[_0x4868c4(0x2a2)](_0x4f8eb7,_0x22bb79[_0x4868c4(0x226)]),_0x1a3cc5=Math[_0x4868c4(0x24e)](_0x1a3cc5,_0x22bb79[_0x4868c4(0x1fd)]),_0x3574c4=!0x0);}if(_0x1ad0c1[_0x4868c4(0x249)]===0x0)return null;let [_0x44abe8]=[..._0x1ad0c1]['sort'](_0x1eda9c);return{'mergedOutline':{..._0x44abe8,'start':_0x4f8eb7,'end':_0x1a3cc5},'mergedOutlines':_0x1ad0c1};}function _0x342acf(_0x141326,_0x13645e){const _0x1768b9=_0x302beb;return _0x141326[_0x1768b9(0x230)](_0x46cf81=>_0x3a48ba(_0x46cf81,_0x13645e)?!(_0x46cf81[_0x1768b9(0x226)]>=_0x13645e[_0x1768b9(0x226)]&&_0x46cf81[_0x1768b9(0x1fd)]<=_0x13645e[_0x1768b9(0x1fd)]):!0x0);}function _0x1e3c45(_0x49973d,_0x158029,_0x35e39f,_0x47ff02){const _0x320f28=_0x302beb;return _0x51b942(_0x49973d[_0x320f28(0x230)](_0x21049e=>_0x21049e[_0x320f28(0x22e)]===_0x158029&&_0x21049e[_0x320f28(0x25f)]===_0x35e39f&&_0x21049e[_0x320f28(0x2a4)]===_0x47ff02&&_0x21049e[_0x320f28(0x1f7)])[_0x320f28(0x1f4)](_0x244e2d=>({'start':_0x244e2d[_0x320f28(0x226)],'end':_0x244e2d[_0x320f28(0x1fd)]})));}function _0x51b942(_0x2052b4){const _0x13ff76=_0x302beb;if(_0x2052b4['length']===0x0)return[];let _0x73227b=[..._0x2052b4][_0x13ff76(0x248)]((_0x34dd14,_0x349add)=>_0x34dd14['start']-_0x349add[_0x13ff76(0x226)]||_0x34dd14['end']-_0x349add[_0x13ff76(0x1fd)]),_0x2a9525=[];for(let _0x5afab7 of _0x73227b){let _0x3910e3=_0x2a9525[_0x2a9525[_0x13ff76(0x249)]-0x1];!_0x3910e3||_0x5afab7[_0x13ff76(0x226)]>_0x3910e3[_0x13ff76(0x1fd)]+0x1?_0x2a9525[_0x13ff76(0x282)]({..._0x5afab7}):_0x3910e3[_0x13ff76(0x1fd)]=Math[_0x13ff76(0x24e)](_0x3910e3[_0x13ff76(0x1fd)],_0x5afab7[_0x13ff76(0x1fd)]);}return _0x2a9525;}function _0x18058c(_0x4fd31f,_0x43fcfb){const _0x24ea2d=_0x302beb;return _0x43fcfb[_0x24ea2d(0x28b)]<=0x0?_0x4fd31f:_0x13df14(_0x4fd31f['map'](_0x1b7ff4=>_0x3a48ba(_0x1b7ff4,_0x43fcfb)?_0x43fcfb[_0x24ea2d(0x2ae)]<=_0x1b7ff4[_0x24ea2d(0x226)]?{..._0x1b7ff4,'start':_0x1b7ff4['start']+_0x43fcfb[_0x24ea2d(0x28b)],'end':_0x1b7ff4[_0x24ea2d(0x1fd)]+_0x43fcfb[_0x24ea2d(0x28b)]}:_0x1b7ff4[_0x24ea2d(0x226)]<_0x43fcfb[_0x24ea2d(0x2ae)]&&_0x43fcfb[_0x24ea2d(0x2ae)]<=_0x1b7ff4[_0x24ea2d(0x1fd)]?{..._0x1b7ff4,'end':_0x1b7ff4[_0x24ea2d(0x1fd)]+_0x43fcfb[_0x24ea2d(0x28b)]}:_0x1b7ff4:_0x1b7ff4));}function _0x56046a(_0x38d9ed,_0x497ec8){const _0x5eda85=_0x302beb;if(_0x497ec8[_0x5eda85(0x226)]>_0x497ec8['end'])return _0x38d9ed;let _0x12567a=_0x497ec8['end']-_0x497ec8[_0x5eda85(0x226)]+0x1,_0x34303d=[];for(let _0x639c2a of _0x38d9ed){if(!_0x3a48ba(_0x639c2a,_0x497ec8)){_0x34303d['push'](_0x639c2a);continue;}if(_0x639c2a[_0x5eda85(0x1fd)]<_0x497ec8['start']){_0x34303d['push'](_0x639c2a);continue;}if(_0x639c2a[_0x5eda85(0x226)]>_0x497ec8[_0x5eda85(0x1fd)]){_0x34303d[_0x5eda85(0x282)]({..._0x639c2a,'start':_0x639c2a[_0x5eda85(0x226)]-_0x12567a,'end':_0x639c2a['end']-_0x12567a});continue;}let _0x501eca=Math[_0x5eda85(0x24e)](_0x639c2a[_0x5eda85(0x226)],_0x497ec8[_0x5eda85(0x226)]),_0x31eace=Math[_0x5eda85(0x2a2)](_0x639c2a['end'],_0x497ec8[_0x5eda85(0x1fd)]),_0x4f7e17=Math[_0x5eda85(0x24e)](0x0,_0x31eace-_0x501eca+0x1),_0x194ac4=_0x639c2a[_0x5eda85(0x1fd)]-_0x639c2a[_0x5eda85(0x226)]+0x1-_0x4f7e17;if(_0x194ac4<=0x0)continue;let _0x106d24=_0x639c2a[_0x5eda85(0x226)]<_0x497ec8[_0x5eda85(0x226)]?_0x639c2a[_0x5eda85(0x226)]:_0x497ec8[_0x5eda85(0x226)];_0x34303d['push']({..._0x639c2a,'start':_0x106d24,'end':_0x106d24+_0x194ac4-0x1});}return _0x13df14(_0x34303d);}function _0xe5a785(_0x5586d7,_0x453cf7){const _0x4b1b85=_0x302beb;if(_0x453cf7[_0x4b1b85(0x20f)]>_0x453cf7[_0x4b1b85(0x269)])return _0x5586d7;let _0x4e9e9d=[];for(let _0x2762fd of _0x5586d7){if(!_0x3a48ba(_0x2762fd,_0x453cf7)){_0x4e9e9d[_0x4b1b85(0x282)](_0x2762fd);continue;}let _0x58ed46=_0x1cf1a8(_0x2762fd,_0x453cf7);if(_0x58ed46[_0x4b1b85(0x1f3)]==='split')throw new _0x1df05d(_0x4b1b85(0x258),_0x4b1b85(0x219)+_0x2762fd['id'],_0x2762fd['id']);_0x4e9e9d[_0x4b1b85(0x282)](_0x58ed46[_0x4b1b85(0x2a7)]);}return _0x13df14(_0x4e9e9d);}function _0x1cf1a8(_0x49f833,_0x58ab08){const _0xde400e=_0x302beb;let _0x4b09be=_0x19079f(_0x58ab08['sourceStart'],_0x58ab08['sourceEnd']+0x1,_0x58ab08[_0xde400e(0x228)]),_0x581554=[],_0x2c8651={'start':_0x49f833[_0xde400e(0x226)],'end':_0x49f833[_0xde400e(0x1fd)]+0x1};for(let _0x16c088 of _0x4b09be){let _0x55d657=_0x3ccb05(_0x2c8651,_0x16c088['range']);_0x55d657&&_0x581554[_0xde400e(0x282)]({'start':_0x55d657['start']+_0x16c088[_0xde400e(0x241)],'end':_0x55d657[_0xde400e(0x1fd)]+_0x16c088[_0xde400e(0x241)]});}let _0x1449a2=_0x15a976(_0x581554);return _0x1449a2['length']===0x1?{'type':'ok','outline':{..._0x49f833,'start':_0x1449a2[0x0][_0xde400e(0x226)],'end':_0x1449a2[0x0][_0xde400e(0x1fd)]-0x1}}:{'type':_0xde400e(0x1dc),'outline':_0x49f833,'ranges':_0x1449a2};}function _0x19079f(_0x37d4b7,_0x82d8c9,_0x1fd751){const _0x4757fe=_0x302beb;let _0x35f9b3=_0x82d8c9-_0x37d4b7;if(_0x35f9b3<=0x0)throw Error(_0x4757fe(0x2a8));return _0x1fd751>=_0x37d4b7&&_0x1fd751<=_0x82d8c9?[{'range':{'start':0x0,'end':_0xe4b1d9},'offset':0x0}]:_0x1fd751<_0x37d4b7?[{'range':{'start':0x0,'end':_0x1fd751},'offset':0x0},{'range':{'start':_0x1fd751,'end':_0x37d4b7},'offset':_0x35f9b3},{'range':{'start':_0x37d4b7,'end':_0x82d8c9},'offset':_0x1fd751-_0x37d4b7},{'range':{'start':_0x82d8c9,'end':_0xe4b1d9},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x37d4b7},'offset':0x0},{'range':{'start':_0x37d4b7,'end':_0x82d8c9},'offset':_0x1fd751-_0x82d8c9},{'range':{'start':_0x82d8c9,'end':_0x1fd751},'offset':-_0x35f9b3},{'range':{'start':_0x1fd751,'end':_0xe4b1d9},'offset':0x0}];}function _0x3ccb05(_0x46a96a,_0x47bad5){const _0x1e1aa0=_0x302beb;let _0x558fff=Math[_0x1e1aa0(0x24e)](_0x46a96a['start'],_0x47bad5[_0x1e1aa0(0x226)]),_0x32af3a=Math[_0x1e1aa0(0x2a2)](_0x46a96a[_0x1e1aa0(0x1fd)],_0x47bad5[_0x1e1aa0(0x1fd)]);return _0x558fff>=_0x32af3a?null:{'start':_0x558fff,'end':_0x32af3a};}function _0x15a976(_0xd0fac2){const _0x547dee=_0x302beb;if(_0xd0fac2[_0x547dee(0x249)]===0x0)return[];let _0x3c0c14=[..._0xd0fac2][_0x547dee(0x248)]((_0x2fdd43,_0x28e074)=>_0x2fdd43[_0x547dee(0x226)]-_0x28e074[_0x547dee(0x226)]||_0x2fdd43[_0x547dee(0x1fd)]-_0x28e074[_0x547dee(0x1fd)]),_0x5ef34f=[];for(let _0xd0f316 of _0x3c0c14){let _0x496426=_0x5ef34f[_0x5ef34f['length']-0x1];!_0x496426||_0xd0f316['start']>_0x496426[_0x547dee(0x1fd)]?_0x5ef34f[_0x547dee(0x282)]({..._0xd0f316}):_0x496426[_0x547dee(0x1fd)]=Math[_0x547dee(0x24e)](_0x496426['end'],_0xd0f316['end']);}return _0x5ef34f;}function _0x1b5565(_0x19a2a2,_0x30ded9,_0x2bb236,_0x569728){return _0x30ded9+0x1===_0x2bb236||_0x569728+0x1===_0x19a2a2;}function _0x13df14(_0x226aed){let _0x3f8a06=_0x512c0a(_0x226aed);return _0x25c91d(_0x3f8a06),_0x3f8a06;}function _0x512c0a(_0x5eb98b){const _0x2538cd=_0x302beb;let _0x2f6bf7=new Map();for(let _0x2d1788 of _0x5eb98b){let _0x34087a=[_0x2d1788[_0x2538cd(0x22e)],_0x2d1788[_0x2538cd(0x25f)],_0x2d1788[_0x2538cd(0x2a4)],_0x2d1788[_0x2538cd(0x226)],_0x2d1788[_0x2538cd(0x1fd)]][_0x2538cd(0x270)](':'),_0x30265f=_0x2f6bf7[_0x2538cd(0x283)](_0x34087a);if(!_0x30265f){_0x2f6bf7['set'](_0x34087a,_0x2d1788);continue;}_0x2f6bf7['set'](_0x34087a,{..._0x30265f,'collapsed':_0x30265f[_0x2538cd(0x1f7)]||_0x2d1788[_0x2538cd(0x1f7)]});}return Array[_0x2538cd(0x250)](_0x2f6bf7[_0x2538cd(0x1e6)]());}function _0x1eda9c(_0x4a4c60,_0x2aa9fc){const _0x31f73a=_0x302beb;return _0x4a4c60['unitId']===_0x2aa9fc[_0x31f73a(0x22e)]?_0x4a4c60['subUnitId']===_0x2aa9fc[_0x31f73a(0x25f)]?_0x4a4c60[_0x31f73a(0x2a4)]===_0x2aa9fc['axis']?_0x4a4c60[_0x31f73a(0x226)]===_0x2aa9fc[_0x31f73a(0x226)]?_0x2aa9fc['end']-_0x4a4c60[_0x31f73a(0x1fd)]:_0x4a4c60[_0x31f73a(0x226)]-_0x2aa9fc['start']:_0x4a4c60[_0x31f73a(0x2a4)]['localeCompare'](_0x2aa9fc['axis']):_0x4a4c60['subUnitId'][_0x31f73a(0x24c)](_0x2aa9fc[_0x31f73a(0x25f)]):_0x4a4c60[_0x31f73a(0x22e)][_0x31f73a(0x24c)](_0x2aa9fc[_0x31f73a(0x22e)]);}function _0xbed4a6(_0x4e63b5){const _0x7ea7e7=_0x302beb;if(_0x4e63b5[_0x7ea7e7(0x226)]>_0x4e63b5['end'])throw new _0x1df05d(_0x7ea7e7(0x2a1),_0x7ea7e7(0x22d),_0x4e63b5['id']);}function _0x3a36bf(_0x323855,_0x389a26){const _0xde768a=_0x302beb;let _0x306b8c=_0x323855[_0xde768a(0x226)]<=_0x389a26['end']&&_0x389a26[_0xde768a(0x226)]<=_0x323855[_0xde768a(0x1fd)],_0x35816c=_0x323855['start']<=_0x389a26['start']&&_0x389a26[_0xde768a(0x1fd)]<=_0x323855[_0xde768a(0x1fd)],_0x5a862f=_0x389a26[_0xde768a(0x226)]<=_0x323855[_0xde768a(0x226)]&&_0x323855['end']<=_0x389a26[_0xde768a(0x1fd)];return _0x306b8c&&!_0x35816c&&!_0x5a862f;}function _0x99cd01(_0x2bcfca){'@babel/helpers - typeof';const _0x55563b=_0x302beb;return _0x99cd01=typeof Symbol==_0x55563b(0x292)&&typeof Symbol[_0x55563b(0x1df)]==_0x55563b(0x2bc)?function(_0x3736af){return typeof _0x3736af;}:function(_0x1c4ce9){const _0x2317b6=_0x55563b;return _0x1c4ce9&&typeof Symbol==_0x2317b6(0x292)&&_0x1c4ce9[_0x2317b6(0x2bd)]===Symbol&&_0x1c4ce9!==Symbol[_0x2317b6(0x290)]?_0x2317b6(0x2bc):typeof _0x1c4ce9;},_0x99cd01(_0x2bcfca);}function _0xa60979(_0xa1a1bb,_0x1a045a){const _0x5461de=_0x302beb;if(_0x99cd01(_0xa1a1bb)!=_0x5461de(0x266)||!_0xa1a1bb)return _0xa1a1bb;var _0x104c1f=_0xa1a1bb[Symbol[_0x5461de(0x1d9)]];if(_0x104c1f!==void 0x0){var _0x154b13=_0x104c1f[_0x5461de(0x227)](_0xa1a1bb,_0x1a045a||_0x5461de(0x256));if(_0x99cd01(_0x154b13)!=_0x5461de(0x266))return _0x154b13;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1a045a===_0x5461de(0x272)?String:Number)(_0xa1a1bb);}function _0x28d706(_0x4a7c91){const _0x47e4ac=_0x302beb;var _0x3e2723=_0xa60979(_0x4a7c91,_0x47e4ac(0x272));return _0x99cd01(_0x3e2723)==_0x47e4ac(0x2bc)?_0x3e2723:_0x3e2723+'';}function _0x30c934(_0xafcd27,_0x2d4934,_0x2c6182){const _0x3ffc84=_0x302beb;return(_0x2d4934=_0x28d706(_0x2d4934))in _0xafcd27?Object[_0x3ffc84(0x217)](_0xafcd27,_0x2d4934,{'value':_0x2c6182,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xafcd27[_0x2d4934]=_0x2c6182,_0xafcd27;}var _0x13b869=class extends _0x45e8fe[_0x302beb(0x243)]{constructor(..._0x27c064){const _0x300406=_0x302beb;super(..._0x27c064),_0x30c934(this,_0x300406(0x294),new Map()),_0x30c934(this,_0x300406(0x1f8),new _0x58d1bc[(_0x300406(0x23b))]()),_0x30c934(this,'change$',this[_0x300406(0x1f8)]['asObservable']());}[_0x302beb(0x1e4)](_0x5cbd84,_0xc049df){const _0x24862e=_0x302beb;var _0x12a503,_0x45ae02;return[...(_0x12a503=(_0x45ae02=this[_0x24862e(0x294)]['get'](_0x5cbd84))==null?void 0x0:_0x45ae02[_0x24862e(0x283)](_0xc049df))==null?[]:_0x12a503];}['getUnitOutlines'](_0x37b80f){const _0xb9bad5=_0x302beb;let _0x193484=this['_outlines'][_0xb9bad5(0x283)](_0x37b80f),_0x368210=new Map();return _0x193484==null||_0x193484[_0xb9bad5(0x21c)]((_0x1523d8,_0x28da9e)=>{_0x368210['set'](_0x28da9e,[..._0x1523d8]);}),_0x368210;}['setOutlines'](_0x597b7b,_0x22d3ae,_0x1e3a18){const _0x373ba1=_0x302beb;this[_0x373ba1(0x1ee)](_0x597b7b)[_0x373ba1(0x27c)](_0x22d3ae,[..._0x1e3a18]),this[_0x373ba1(0x1f8)][_0x373ba1(0x1ec)]({'unitId':_0x597b7b,'subUnitId':_0x22d3ae});}['removeUnit'](_0x248c01){const _0x420278=_0x302beb;this['_outlines']['delete'](_0x248c01),this[_0x420278(0x1f8)][_0x420278(0x1ec)]({'unitId':_0x248c01});}[_0x302beb(0x213)](_0x5ec7d6){const _0x384c21=_0x302beb;let _0x18b79a=this['_outlines']['get'](_0x5ec7d6),_0x158f3d={};return _0x18b79a==null||_0x18b79a[_0x384c21(0x21c)]((_0x1a5536,_0x483207)=>{_0x158f3d[_0x483207]={'outlineList':[..._0x1a5536]};}),_0x158f3d;}['deserialize'](_0x22846b,_0x2fdaca){const _0x79623a=_0x302beb;let _0x2bd954=new Map();Object['entries'](_0x2fdaca)[_0x79623a(0x21c)](([_0x42aef5,_0x294c55])=>{const _0x35d6c9=_0x79623a;var _0x359a54;_0x2bd954[_0x35d6c9(0x27c)](_0x42aef5,[...(_0x359a54=_0x294c55[_0x35d6c9(0x261)])==null?[]:_0x359a54]);}),this[_0x79623a(0x294)][_0x79623a(0x27c)](_0x22846b,_0x2bd954),this[_0x79623a(0x1f8)]['next']({'unitId':_0x22846b});}[_0x302beb(0x20a)](){const _0x25ebee=_0x302beb;super[_0x25ebee(0x20a)](),this['_outlines'][_0x25ebee(0x25d)](),this[_0x25ebee(0x1f8)][_0x25ebee(0x1e8)]();}[_0x302beb(0x1ee)](_0x48200e){const _0x5edb32=_0x302beb;let _0x3183f2=this[_0x5edb32(0x294)]['get'](_0x48200e);return _0x3183f2||(_0x3183f2=new Map(),this[_0x5edb32(0x294)][_0x5edb32(0x27c)](_0x48200e,_0x3183f2)),_0x3183f2;}},_0x5db4db=class extends _0x45e8fe[_0x302beb(0x243)]{constructor(..._0x2749df){const _0x3aa792=_0x302beb;super(..._0x2749df),_0x30c934(this,_0x3aa792(0x221),new _0x58d1bc[(_0x3aa792(0x23b))]()),_0x30c934(this,_0x3aa792(0x200),this[_0x3aa792(0x221)][_0x3aa792(0x268)]());}[_0x302beb(0x2b6)](_0x85dbf1){const _0x21ec89=_0x302beb;this['_error$'][_0x21ec89(0x1ec)](_0x85dbf1);}[_0x302beb(0x20a)](){const _0x188d5a=_0x302beb;super[_0x188d5a(0x20a)](),this[_0x188d5a(0x221)][_0x188d5a(0x1e8)]();}};let _0x27de45={'id':_0x302beb(0x22a),'type':_0x45e8fe[_0x302beb(0x2ad)][_0x302beb(0x2a3)],'handler':(_0xc462cc,_0x16d1e7)=>{const _0x304825=_0x302beb;let _0x113a16=_0xc462cc[_0x304825(0x283)](_0x13b869),_0x1a8a28=_0x113a16[_0x304825(0x1e4)](_0x16d1e7[_0x304825(0x22e)],_0x16d1e7['subUnitId']);return _0x113a16['setOutlines'](_0x16d1e7[_0x304825(0x22e)],_0x16d1e7[_0x304825(0x25f)],_0xd9108(_0x1a8a28,_0x16d1e7[_0x304825(0x2a7)])),!0x0;}},_0x101097={'id':_0x302beb(0x274),'type':_0x45e8fe['CommandType'][_0x302beb(0x2a3)],'handler':(_0x368dde,_0xe217f4)=>{const _0x1ed80d=_0x302beb;let _0x45c19c=_0x368dde['get'](_0x13b869),_0x78fd93=_0x45c19c[_0x1ed80d(0x1e4)](_0xe217f4['unitId'],_0xe217f4[_0x1ed80d(0x25f)]);return _0x45c19c[_0x1ed80d(0x1f6)](_0xe217f4['unitId'],_0xe217f4[_0x1ed80d(0x25f)],_0x78fd93[_0x1ed80d(0x230)](_0x272502=>_0x272502['id']!==_0xe217f4['outlineId'])),!0x0;}};function _0x49b5ba(_0x2d9191,_0x2fe19a,_0x7207ee){const _0x1b09af=_0x302beb;let _0x382672=_0x558416(_0x2d9191);return _0x382672?_0x382672[_0x1b09af(0x265)]({'workbookTypes':[_0x182003[_0x1b09af(0x277)]],'worksheetTypes':[_0x182003['WorksheetViewPermission']]},_0x2fe19a,_0x7207ee):!0x0;}function _0x2f72a5(_0x56204b,_0x55bfa8,_0x42d6de){const _0x32a83a=_0x302beb;var _0x193146;let _0x4e87f8=_0x33702e(_0x56204b);return((_0x193146=_0x4e87f8==null?void 0x0:_0x4e87f8[_0x32a83a(0x2ac)])==null?(0x0,_0x58d1bc['of'])(null):_0x193146)[_0x32a83a(0x27d)]((0x0,_0x5d9cca[_0x32a83a(0x2a9)])(0x64),(0x0,_0x5d9cca[_0x32a83a(0x21a)])(null),(0x0,_0x5d9cca[_0x32a83a(0x1f4)])(()=>_0x49b5ba(_0x56204b,_0x55bfa8,_0x42d6de)));}function _0x558416(_0x1249ad){const _0x49b86d=_0x302beb;if(typeof _0x1249ad[_0x49b86d(0x28f)]==_0x49b86d(0x292)&&!_0x1249ad[_0x49b86d(0x28f)](_0x182003[_0x49b86d(0x29c)]))return null;try{return _0x1249ad[_0x49b86d(0x283)](_0x182003[_0x49b86d(0x29c)]);}catch{return null;}}function _0x33702e(_0x153724){const _0x8ae2e8=_0x302beb;if(typeof _0x153724['has']==_0x8ae2e8(0x292)&&!_0x153724[_0x8ae2e8(0x28f)](_0x45e8fe[_0x8ae2e8(0x1e2)]))return null;try{return _0x153724[_0x8ae2e8(0x283)](_0x45e8fe[_0x8ae2e8(0x1e2)]);}catch{return null;}}let _0x28e3f6={'id':_0x302beb(0x26a),'type':_0x45e8fe['CommandType'][_0x302beb(0x2b2)],'handler':(_0x1aadf3,_0x5d74ae)=>{const _0x38d419=_0x302beb;var _0x359149,_0x15fc3;if(!_0x5d74ae)return!0x1;let _0x4d148b=(0x0,_0x182003[_0x38d419(0x1e7)])(_0x1aadf3[_0x38d419(0x283)](_0x45e8fe[_0x38d419(0x27f)]),_0x5d74ae);if(!_0x4d148b)return!0x1;let {unitId:_0x4f040c,subUnitId:_0x1ac1eb,worksheet:_0x58b1ed}=_0x4d148b;if(!_0x49b5ba(_0x1aadf3,_0x4f040c,_0x1ac1eb))return!0x1;let _0x4cc8cb=_0x1aadf3[_0x38d419(0x283)](_0x13b869),_0x2321eb={'id':_0x38d419(0x276)+(0x0,_0x45e8fe[_0x38d419(0x263)])(0x6),'unitId':_0x4f040c,'subUnitId':_0x1ac1eb,'axis':_0x5d74ae[_0x38d419(0x2a4)],'start':_0x5d74ae['start'],'end':_0x5d74ae['end'],'collapsed':!0x1},_0x44d696=_0x5d74ae['axis']===_0x38d419(0x23e)?_0x58b1ed['getRowCount']():_0x58b1ed[_0x38d419(0x2b4)](),_0x3cce9f=_0x4cc8cb[_0x38d419(0x1e4)](_0x4f040c,_0x1ac1eb),_0x37ec8b=_0x47bb33(_0x3cce9f,_0x2321eb),_0x50a96d=(_0x359149=_0x37ec8b==null?void 0x0:_0x37ec8b[_0x38d419(0x27b)])==null?[]:_0x359149,_0x99979=(_0x15fc3=_0x37ec8b==null?void 0x0:_0x37ec8b[_0x38d419(0x21d)])==null?_0x2321eb:_0x15fc3,_0x291f6e=_0x172ee4(_0x37ec8b?_0x3cce9f[_0x38d419(0x230)](_0x250bf2=>!_0x50a96d[_0x38d419(0x237)](_0x1b8011=>_0x1b8011['id']===_0x250bf2['id'])):_0x3cce9f,_0x99979,{'maxIndex':_0x44d696});if(!_0x291f6e[_0x38d419(0x2ba)]){var _0x452ee8;return _0x1aadf3['get'](_0x5db4db)['emit']({'reason':(_0x452ee8=_0x291f6e[_0x38d419(0x1e9)])==null?'unknown':_0x452ee8,'commandId':_0x28e3f6['id'],'unitId':_0x4f040c,'subUnitId':_0x1ac1eb,'axis':_0x5d74ae[_0x38d419(0x2a4)],'outlineId':_0x99979['id']}),!0x1;}let _0xbe9978=[..._0x50a96d['map'](_0x3dd769=>({'id':_0x101097['id'],'params':{'unitId':_0x4f040c,'subUnitId':_0x1ac1eb,'outlineId':_0x3dd769['id']}})),{'id':_0x27de45['id'],'params':{'unitId':_0x4f040c,'subUnitId':_0x1ac1eb,'outline':_0x99979}}],_0x101b25=[{'id':_0x101097['id'],'params':{'unitId':_0x4f040c,'subUnitId':_0x1ac1eb,'outlineId':_0x99979['id']}},..._0x50a96d[_0x38d419(0x1f4)](_0x20e1e3=>({'id':_0x27de45['id'],'params':{'unitId':_0x4f040c,'subUnitId':_0x1ac1eb,'outline':_0x20e1e3}}))];return(0x0,_0x45e8fe[_0x38d419(0x21b)])(_0xbe9978,_0x1aadf3[_0x38d419(0x283)](_0x45e8fe[_0x38d419(0x281)]))['result']?(_0x1aadf3[_0x38d419(0x283)](_0x45e8fe[_0x38d419(0x264)])[_0x38d419(0x25c)]({'unitID':_0x4f040c,'undoMutations':_0x101b25,'redoMutations':_0xbe9978}),!0x0):!0x1;}},_0x5e31b9={'id':_0x302beb(0x296),'type':_0x45e8fe[_0x302beb(0x2ad)][_0x302beb(0x2a3)],'handler':(_0x3070ea,_0x3885d7)=>{const _0x34df22=_0x302beb;let _0x1516be=_0x3070ea[_0x34df22(0x283)](_0x13b869),_0x15265d=_0x1516be[_0x34df22(0x1e4)](_0x3885d7[_0x34df22(0x22e)],_0x3885d7[_0x34df22(0x25f)]);return _0x1516be[_0x34df22(0x1f6)](_0x3885d7['unitId'],_0x3885d7['subUnitId'],_0x342acf(_0x15265d,_0x3885d7)),!0x0;}},_0x280236={'id':_0x302beb(0x1e5),'type':_0x45e8fe[_0x302beb(0x2ad)][_0x302beb(0x2b2)],'handler':(_0x25f926,_0x2f6b77)=>{const _0x297836=_0x302beb;if(!_0x2f6b77)return!0x1;let _0x486f48=(0x0,_0x182003[_0x297836(0x1e7)])(_0x25f926[_0x297836(0x283)](_0x45e8fe[_0x297836(0x27f)]),_0x2f6b77);if(!_0x486f48)return!0x1;let {unitId:_0x518808,subUnitId:_0x269bf1}=_0x486f48;if(!_0x49b5ba(_0x25f926,_0x518808,_0x269bf1))return!0x1;let _0x495475={'unitId':_0x518808,'subUnitId':_0x269bf1,'axis':_0x2f6b77['axis'],'start':_0x2f6b77['start'],'end':_0x2f6b77[_0x297836(0x1fd)]},_0x1ca8a8=_0x25f926[_0x297836(0x283)](_0x13b869)[_0x297836(0x1e4)](_0x518808,_0x269bf1)[_0x297836(0x230)](_0x191a61=>_0x3a48ba(_0x191a61,_0x495475)&&_0x191a61[_0x297836(0x226)]>=_0x2f6b77[_0x297836(0x226)]&&_0x191a61['end']<=_0x2f6b77[_0x297836(0x1fd)]);if(_0x1ca8a8['length']===0x0)return _0x25f926[_0x297836(0x283)](_0x5db4db)[_0x297836(0x2b6)]({'reason':_0x297836(0x234),'commandId':_0x280236['id'],'unitId':_0x518808,'subUnitId':_0x269bf1,'axis':_0x2f6b77['axis']}),!0x1;let _0x1f908b=[{'id':_0x5e31b9['id'],'params':{..._0x495475,'removedOutlineIds':_0x1ca8a8[_0x297836(0x1f4)](_0x31451d=>_0x31451d['id'])}}],_0x49a31a=_0x1ca8a8['map'](_0x39ea4a=>({'id':_0x27de45['id'],'params':{'unitId':_0x518808,'subUnitId':_0x269bf1,'outline':_0x39ea4a}}));return(0x0,_0x45e8fe['sequenceExecute'])(_0x1f908b,_0x25f926[_0x297836(0x283)](_0x45e8fe['ICommandService']))['result']?(_0x25f926[_0x297836(0x283)](_0x45e8fe[_0x297836(0x264)])['pushUndoRedo']({'unitID':_0x518808,'undoMutations':_0x49a31a,'redoMutations':_0x1f908b}),!0x0):!0x1;}},_0x41cafc={'id':'sheet.command.remove-dimension-outline','type':_0x45e8fe[_0x302beb(0x2ad)][_0x302beb(0x2b2)],'handler':(_0x5e0a12,_0x5c003e)=>{const _0x541a95=_0x302beb;if(!_0x5c003e)return!0x1;let _0x5078b3=(0x0,_0x182003[_0x541a95(0x1e7)])(_0x5e0a12['get'](_0x45e8fe['IUniverInstanceService']),_0x5c003e);if(!_0x5078b3)return!0x1;let {unitId:_0x549568,subUnitId:_0x52ca9e}=_0x5078b3;if(!_0x49b5ba(_0x5e0a12,_0x549568,_0x52ca9e))return!0x1;let _0x192d56=_0x5e0a12[_0x541a95(0x283)](_0x13b869)['getOutlines'](_0x549568,_0x52ca9e)[_0x541a95(0x1db)](_0x1d3023=>_0x1d3023['id']===_0x5c003e[_0x541a95(0x2b9)]);if(!_0x192d56)return!0x1;let _0x491e36=[{'id':_0x101097['id'],'params':{'unitId':_0x549568,'subUnitId':_0x52ca9e,'outlineId':_0x192d56['id'],'outline':_0x192d56}}],_0x9689b=[{'id':_0x27de45['id'],'params':{'unitId':_0x549568,'subUnitId':_0x52ca9e,'outline':_0x192d56}}];return(0x0,_0x45e8fe['sequenceExecute'])(_0x491e36,_0x5e0a12[_0x541a95(0x283)](_0x45e8fe[_0x541a95(0x281)]))['result']?(_0x5e0a12[_0x541a95(0x283)](_0x45e8fe['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x549568,'undoMutations':_0x9689b,'redoMutations':_0x491e36}),!0x0):!0x1;}},_0x8e4757={'id':_0x302beb(0x2b8),'type':_0x45e8fe[_0x302beb(0x2ad)][_0x302beb(0x2a3)],'handler':(_0x5035ca,_0x43ba6e)=>{const _0x896202=_0x302beb;let _0x12330e=_0x5035ca[_0x896202(0x283)](_0x13b869),_0x1606c8=_0x12330e[_0x896202(0x1e4)](_0x43ba6e['unitId'],_0x43ba6e[_0x896202(0x25f)]),_0x45a22c=_0x1606c8[_0x896202(0x1db)](_0x2e4925=>_0x2e4925['id']===_0x43ba6e[_0x896202(0x2b9)]);return _0x45a22c&&_0x12330e['setOutlines'](_0x43ba6e[_0x896202(0x22e)],_0x43ba6e[_0x896202(0x25f)],_0x1606c8['map'](_0x2509c1=>_0x2509c1['unitId']!==_0x45a22c[_0x896202(0x22e)]||_0x2509c1[_0x896202(0x25f)]!==_0x45a22c[_0x896202(0x25f)]||_0x2509c1[_0x896202(0x2a4)]!==_0x45a22c[_0x896202(0x2a4)]||_0x2509c1['start']!==_0x45a22c[_0x896202(0x226)]||_0x2509c1[_0x896202(0x1fd)]!==_0x45a22c[_0x896202(0x1fd)]?_0x2509c1:{..._0x2509c1,'collapsed':_0x43ba6e[_0x896202(0x1f7)]})),!0x0;}};function _0x23a34b(_0x2e2dd2,_0x3f3f41,_0x41f4d5,_0x1ef202){const _0x55487a=_0x302beb;return _0x2e2dd2===_0x55487a(0x23e)?{'startRow':_0x3f3f41,'endRow':_0x41f4d5,'startColumn':0x0,'endColumn':_0x1ef202[_0x55487a(0x1d8)]()-0x1}:{'startRow':0x0,'endRow':_0x1ef202[_0x55487a(0x20c)]()-0x1,'startColumn':_0x3f3f41,'endColumn':_0x41f4d5};}function _0x2b3a83(_0xd0ff44){const _0x2fd194=_0x302beb;return _0xd0ff44===_0x2fd194(0x23e)?_0x182003['SetRowHiddenMutation']['id']:_0x182003[_0x2fd194(0x1e0)]['id'];}function _0xd8212d(_0x169cc0){const _0x1f28b2=_0x302beb;return _0x169cc0===_0x1f28b2(0x23e)?_0x182003[_0x1f28b2(0x27e)]['id']:_0x182003[_0x1f28b2(0x284)]['id'];}function _0x4a9f1d(_0x153feb,_0x2fcb18,_0x5ade22,_0x5ee3c9){const _0x3f2ceb=_0x302beb;let _0x5acf8f=_0x2fcb18?[_0x23a34b(_0x153feb[_0x3f2ceb(0x2a4)],_0x153feb[_0x3f2ceb(0x226)],_0x153feb[_0x3f2ceb(0x1fd)],_0x5ade22)]:_0x4c30a1(_0x153feb,_0x5ee3c9,_0x5ade22),_0x15f5b2=_0x2fcb18?_0x2b3a83(_0x153feb[_0x3f2ceb(0x2a4)]):_0xd8212d(_0x153feb[_0x3f2ceb(0x2a4)]);return[{'id':_0x8e4757['id'],'params':{'unitId':_0x153feb[_0x3f2ceb(0x22e)],'subUnitId':_0x153feb[_0x3f2ceb(0x25f)],'outlineId':_0x153feb['id'],'outline':_0x153feb,'collapsed':_0x2fcb18}},..._0x5acf8f[_0x3f2ceb(0x1f4)](_0x22c8a2=>({'id':_0x15f5b2,'params':{'unitId':_0x153feb[_0x3f2ceb(0x22e)],'subUnitId':_0x153feb['subUnitId'],'ranges':[_0x22c8a2],'dimensionOutlineId':_0x153feb['id']}}))];}function _0x4c30a1(_0x1d9f51,_0x2f30a7,_0x25fa84){const _0x59446a=_0x302beb;let _0x349122=_0x1e3c45(_0x2f30a7[_0x59446a(0x1f4)](_0x4ce55e=>_0x10b7e6(_0x4ce55e,_0x1d9f51)?{..._0x4ce55e,'collapsed':!0x1}:_0x4ce55e),_0x1d9f51[_0x59446a(0x22e)],_0x1d9f51[_0x59446a(0x25f)],_0x1d9f51[_0x59446a(0x2a4)]);return _0x17ba45({'start':_0x1d9f51[_0x59446a(0x226)],'end':_0x1d9f51[_0x59446a(0x1fd)]},_0x349122)[_0x59446a(0x1f4)](_0x519b77=>_0x23a34b(_0x1d9f51[_0x59446a(0x2a4)],_0x519b77['start'],_0x519b77['end'],_0x25fa84));}function _0x10b7e6(_0x21cc98,_0x357c53){const _0x3fd41e=_0x302beb;return _0x21cc98[_0x3fd41e(0x22e)]===_0x357c53[_0x3fd41e(0x22e)]&&_0x21cc98[_0x3fd41e(0x25f)]===_0x357c53[_0x3fd41e(0x25f)]&&_0x21cc98['axis']===_0x357c53[_0x3fd41e(0x2a4)]&&_0x21cc98[_0x3fd41e(0x226)]===_0x357c53[_0x3fd41e(0x226)]&&_0x21cc98[_0x3fd41e(0x1fd)]===_0x357c53[_0x3fd41e(0x1fd)];}function _0x17ba45(_0xa3b07c,_0x280e5d){const _0x4a97a0=_0x302beb;let _0x3392dc=_0xa3b07c[_0x4a97a0(0x226)],_0x467eea=[];for(let _0x44db25 of _0x280e5d)if(!(_0x44db25['end']<_0x3392dc||_0x44db25[_0x4a97a0(0x226)]>_0xa3b07c[_0x4a97a0(0x1fd)])&&(_0x44db25['start']>_0x3392dc&&_0x467eea['push']({'start':_0x3392dc,'end':Math[_0x4a97a0(0x2a2)](_0x44db25[_0x4a97a0(0x226)]-0x1,_0xa3b07c[_0x4a97a0(0x1fd)])}),_0x3392dc=Math[_0x4a97a0(0x24e)](_0x3392dc,_0x44db25['end']+0x1),_0x3392dc>_0xa3b07c[_0x4a97a0(0x1fd)]))break;return _0x3392dc<=_0xa3b07c[_0x4a97a0(0x1fd)]&&_0x467eea[_0x4a97a0(0x282)]({'start':_0x3392dc,'end':_0xa3b07c[_0x4a97a0(0x1fd)]}),_0x467eea;}let _0x2d0f0a={'id':'sheet.command.set-dimension-outline-collapsed','type':_0x45e8fe[_0x302beb(0x2ad)][_0x302beb(0x2b2)],'handler':(_0x2b16e1,_0x1078e1)=>{const _0x4e56e2=_0x302beb;if(!_0x1078e1)return!0x1;let _0x14a23b=(0x0,_0x182003[_0x4e56e2(0x1e7)])(_0x2b16e1[_0x4e56e2(0x283)](_0x45e8fe['IUniverInstanceService']),_0x1078e1);if(!_0x14a23b)return!0x1;let {unitId:_0x17fa53,subUnitId:_0x56e613,worksheet:_0x369987}=_0x14a23b;if(!_0x49b5ba(_0x2b16e1,_0x17fa53,_0x56e613))return!0x1;let _0x333845=_0x2b16e1[_0x4e56e2(0x283)](_0x13b869)['getOutlines'](_0x17fa53,_0x56e613),_0x1da217=_0x333845[_0x4e56e2(0x1db)](_0x3f7441=>_0x3f7441['id']===_0x1078e1[_0x4e56e2(0x2b9)]);if(!_0x1da217||_0x1da217[_0x4e56e2(0x1f7)]===_0x1078e1[_0x4e56e2(0x1f7)])return!0x1;let _0x231ecc=_0x4a9f1d(_0x1da217,_0x1078e1['collapsed'],_0x369987,_0x333845),_0x4eea40=_0x4a9f1d(_0x1da217,!_0x1078e1[_0x4e56e2(0x1f7)],_0x369987,_0x333845);return(0x0,_0x45e8fe[_0x4e56e2(0x21b)])(_0x231ecc,_0x2b16e1[_0x4e56e2(0x283)](_0x45e8fe[_0x4e56e2(0x281)]))[_0x4e56e2(0x26e)]?(_0x2b16e1[_0x4e56e2(0x283)](_0x45e8fe[_0x4e56e2(0x264)])['pushUndoRedo']({'unitID':_0x17fa53,'undoMutations':_0x4eea40,'redoMutations':_0x231ecc}),!0x0):!0x1;}},_0x55e44b={'id':_0x302beb(0x22b),'type':_0x45e8fe['CommandType'][_0x302beb(0x2a3)],'handler':(_0x557727,_0x48dd9d)=>{const _0x20670c=_0x302beb;let _0x151df0=_0x557727['get'](_0x13b869),_0x23082e=_0x28b70b(_0x151df0[_0x20670c(0x1e4)](_0x48dd9d[_0x20670c(0x22e)],_0x48dd9d[_0x20670c(0x25f)]),_0x48dd9d);return _0x151df0[_0x20670c(0x1f6)](_0x48dd9d[_0x20670c(0x22e)],_0x48dd9d[_0x20670c(0x25f)],_0x23082e),!0x0;}};function _0x28b70b(_0x56a67e,_0x2fad08){const _0x5b0cac=_0x302beb;switch(_0x2fad08[_0x5b0cac(0x1f3)]){case _0x5b0cac(0x212):return _0x2fad08[_0x5b0cac(0x2b5)]?_0x5d3bec(_0x56a67e,_0x2fad08):_0x18058c(_0x56a67e,_0x2fad08);case _0x5b0cac(0x247):return _0x56046a(_0x56a67e,_0x2fad08);case _0x5b0cac(0x2b0):return _0xe5a785(_0x56a67e,_0x2fad08);}}function _0x5d3bec(_0x2b44e8,_0x2ff573){const _0x11269f=_0x302beb;return[..._0x2b44e8[_0x11269f(0x230)](_0x1d7624=>_0x1d7624[_0x11269f(0x22e)]!==_0x2ff573[_0x11269f(0x22e)]||_0x1d7624[_0x11269f(0x25f)]!==_0x2ff573[_0x11269f(0x25f)]||_0x1d7624['axis']!==_0x2ff573[_0x11269f(0x2a4)]),..._0x2ff573[_0x11269f(0x2b5)]];}let _0x2aed2d=_0x302beb(0x287);var _0x557fc0=_0x302beb(0x260),_0x399d10=_0x302beb(0x205);function _0x109ffb(_0x1943b1,_0x1cc1e0){return function(_0x3ad305,_0x4d0375){_0x1cc1e0(_0x3ad305,_0x4d0375,_0x1943b1);};}function _0x57025f(_0x3a09c8,_0x45df00,_0x19a18d,_0x5147d6){const _0x1e8fbe=_0x302beb;var _0x5bdbec=arguments[_0x1e8fbe(0x249)],_0x42f77d=_0x5bdbec<0x3?_0x45df00:_0x5147d6===null?_0x5147d6=Object['getOwnPropertyDescriptor'](_0x45df00,_0x19a18d):_0x5147d6,_0x4e167c;if(typeof Reflect==_0x1e8fbe(0x266)&&typeof Reflect[_0x1e8fbe(0x245)]=='function')_0x42f77d=Reflect[_0x1e8fbe(0x245)](_0x3a09c8,_0x45df00,_0x19a18d,_0x5147d6);else{for(var _0x3afa8d=_0x3a09c8[_0x1e8fbe(0x249)]-0x1;_0x3afa8d>=0x0;_0x3afa8d--)(_0x4e167c=_0x3a09c8[_0x3afa8d])&&(_0x42f77d=(_0x5bdbec<0x3?_0x4e167c(_0x42f77d):_0x5bdbec>0x3?_0x4e167c(_0x45df00,_0x19a18d,_0x42f77d):_0x4e167c(_0x45df00,_0x19a18d))||_0x42f77d);}return _0x5bdbec>0x3&&_0x42f77d&&Object['defineProperty'](_0x45df00,_0x19a18d,_0x42f77d),_0x42f77d;}let _0xb37859={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x299254=class extends _0x45e8fe[_0x302beb(0x243)]{constructor(_0x5e183e,_0x1601dd,_0x5a659d,_0x33774f){const _0x5d8182=_0x302beb;super(),this[_0x5d8182(0x26f)]=_0x5e183e,this['_sheetInterceptorService']=_0x1601dd,this[_0x5d8182(0x28e)]=_0x5a659d,this[_0x5d8182(0x252)]=_0x33774f,this[_0x5d8182(0x223)]();}[_0x302beb(0x223)](){const _0x580172=_0x302beb;this[_0x580172(0x2bb)](this[_0x580172(0x253)][_0x580172(0x238)]({'getMutations':_0x495cd7=>_0x260513(_0x495cd7,(_0x5e875b,_0x38c9fa)=>this[_0x580172(0x28e)]['getOutlines'](_0x5e875b,_0x38c9fa),this[_0x580172(0x23a)](_0x495cd7[_0x580172(0x286)]),_0x1d8bb4=>this[_0x580172(0x252)][_0x580172(0x2b6)](_0x1d8bb4))}));}['_getCommandScope'](_0x5a80ec){const _0x48099a=_0x302beb;let _0x3dba67=_0x5a80ec,_0x39f6c2=_0x3dba67!=null&&_0x3dba67[_0x48099a(0x22e)]?this[_0x48099a(0x26f)][_0x48099a(0x233)](_0x3dba67[_0x48099a(0x22e)]):this[_0x48099a(0x26f)][_0x48099a(0x26b)](_0x45e8fe[_0x48099a(0x278)][_0x48099a(0x209)]);if(!_0x39f6c2)return;let _0x37343d=_0x3dba67!=null&&_0x3dba67['subUnitId']?_0x39f6c2['getSheetBySheetId'](_0x3dba67[_0x48099a(0x25f)]):_0x39f6c2[_0x48099a(0x21e)]();if(_0x37343d)return{'unitId':_0x39f6c2['getUnitId'](),'subUnitId':_0x37343d[_0x48099a(0x20e)]()};}};_0x299254=_0x57025f([_0x109ffb(0x0,_0x45e8fe[_0x302beb(0x27f)]),_0x109ffb(0x1,(0x0,_0x45e8fe['Inject'])(_0x182003[_0x302beb(0x25b)])),_0x109ffb(0x2,(0x0,_0x45e8fe[_0x302beb(0x222)])(_0x13b869)),_0x109ffb(0x3,(0x0,_0x45e8fe['Inject'])(_0x5db4db))],_0x299254);function _0x260513(_0x1ccb12,_0x4425b0,_0xa6e10b,_0x2d5fdd){const _0xda022f=_0x302beb;let _0x2d23dd=_0x56a110(_0x1ccb12,_0xa6e10b);if(!_0x2d23dd)return _0x4a50ef();let _0x178de0=_0x4425b0(_0x2d23dd[_0xda022f(0x22e)],_0x2d23dd[_0xda022f(0x25f)]);if(!_0x178de0[_0xda022f(0x237)](_0x1cbd90=>_0x1cbd90[_0xda022f(0x2a4)]===_0x2d23dd['axis']))return _0x4a50ef();_0x1cecc4(_0x178de0,_0x2d23dd,_0x1ccb12['id'],_0x2d5fdd);let _0x22358c=_0x478578(_0x2d23dd,_0x178de0);return{'redos':[{'id':_0x55e44b['id'],'params':_0x2d23dd}],'undos':[{'id':_0x55e44b['id'],'params':_0x22358c}],'preRedos':[],'preUndos':[]};}function _0x1cecc4(_0x2efbf7,_0x3461ac,_0x1e947d,_0x1366c7){const _0x5a0351=_0x302beb;try{switch(_0x3461ac[_0x5a0351(0x1f3)]){case _0x5a0351(0x212):_0x18058c(_0x2efbf7,_0x3461ac);break;case _0x5a0351(0x247):_0x56046a(_0x2efbf7,_0x3461ac);break;case _0x5a0351(0x2b0):_0xe5a785(_0x2efbf7,_0x3461ac);break;}}catch(_0x3ac9f2){throw _0x1366c7==null||_0x1366c7({'reason':_0x4c6076(_0x3ac9f2),'commandId':_0x1e947d,'unitId':_0x3461ac[_0x5a0351(0x22e)],'subUnitId':_0x3461ac[_0x5a0351(0x25f)],'axis':_0x3461ac[_0x5a0351(0x2a4)],'outlineId':_0x2ee5ea(_0x3ac9f2)}),new _0x45e8fe[(_0x5a0351(0x254))](_0x3ac9f2 instanceof Error?_0x3ac9f2[_0x5a0351(0x1e3)]:_0x5a0351(0x293));}}function _0x56a110(_0x26601b,_0x3518ed){const _0x57ba71=_0x302beb;switch(_0x26601b['id']){case _0x182003[_0x57ba71(0x203)]['id']:return _0x5079f0(_0x26601b[_0x57ba71(0x286)],_0x57ba71(0x23e),_0x3518ed);case _0x182003['InsertColCommand']['id']:return _0x5079f0(_0x26601b['params'],_0x57ba71(0x28c),_0x3518ed);case _0x182003['RemoveRowCommand']['id']:return _0x1b9d34(_0x26601b[_0x57ba71(0x286)],_0x57ba71(0x23e),_0x3518ed);case _0x182003[_0x57ba71(0x206)]['id']:return _0x1b9d34(_0x26601b[_0x57ba71(0x286)],_0x57ba71(0x28c),_0x3518ed);case _0x182003[_0x57ba71(0x2a5)]['id']:return _0x159a2d(_0x26601b[_0x57ba71(0x286)],_0x57ba71(0x23e),_0x3518ed);case _0x182003['MoveColsCommand']['id']:return _0x159a2d(_0x26601b[_0x57ba71(0x286)],'column',_0x3518ed);default:return null;}}function _0x5079f0(_0x511cfa,_0x4707c1,_0x10ee54){const _0x175fbb=_0x302beb;let _0x596046=_0x36e248(_0x511cfa,_0x10ee54);if(!(_0x511cfa!=null&&_0x511cfa[_0x175fbb(0x235)])||!_0x596046)return null;let _0xab210=_0x4707c1==='row'?_0x511cfa['range'][_0x175fbb(0x211)]:_0x511cfa['range'][_0x175fbb(0x295)],_0x56cab1=_0x4707c1===_0x175fbb(0x23e)?_0x511cfa[_0x175fbb(0x235)][_0x175fbb(0x20b)]:_0x511cfa['range']['endColumn'];return{..._0x596046,'axis':_0x4707c1,'type':_0x175fbb(0x212),'index':_0xab210,'count':_0x56cab1-_0xab210+0x1};}function _0x1b9d34(_0x680229,_0x5f15cc,_0x389972){const _0x43bdc9=_0x302beb;let _0x49d8db=_0x36e248(_0x680229,_0x389972);if(!(_0x680229!=null&&_0x680229[_0x43bdc9(0x235)])||!_0x49d8db)return null;let _0x50ccc7=_0x5f15cc===_0x43bdc9(0x23e)?_0x680229[_0x43bdc9(0x235)][_0x43bdc9(0x211)]:_0x680229['range'][_0x43bdc9(0x295)],_0x1af6da=_0x5f15cc==='row'?_0x680229[_0x43bdc9(0x235)][_0x43bdc9(0x20b)]:_0x680229[_0x43bdc9(0x235)][_0x43bdc9(0x1da)];return{..._0x49d8db,'axis':_0x5f15cc,'type':'delete','start':_0x50ccc7,'end':_0x1af6da};}function _0x159a2d(_0x2973b0,_0x743f0f,_0x4727fe){const _0xea5fee=_0x302beb;let _0x5d7413=_0x36e248(_0x2973b0,_0x4727fe);if(!(_0x2973b0!=null&&_0x2973b0[_0xea5fee(0x22c)])||!_0x2973b0[_0xea5fee(0x255)]||!_0x5d7413)return null;let _0x12aa48=_0x743f0f==='row'?_0x2973b0[_0xea5fee(0x22c)]['startRow']:_0x2973b0[_0xea5fee(0x22c)][_0xea5fee(0x295)],_0xf9ba9e=_0x743f0f===_0xea5fee(0x23e)?_0x2973b0['fromRange']['endRow']:_0x2973b0['fromRange'][_0xea5fee(0x1da)],_0x9163cf=_0x743f0f===_0xea5fee(0x23e)?_0x2973b0[_0xea5fee(0x255)][_0xea5fee(0x211)]:_0x2973b0[_0xea5fee(0x255)][_0xea5fee(0x295)];return{..._0x5d7413,'axis':_0x743f0f,'type':_0xea5fee(0x2b0),'sourceStart':_0x12aa48,'sourceEnd':_0xf9ba9e,'destinationIndex':_0x9163cf};}function _0x478578(_0x80c2a0,_0x320276){const _0x1e1e64=_0x302beb;switch(_0x80c2a0[_0x1e1e64(0x1f3)]){case _0x1e1e64(0x212):return{'unitId':_0x80c2a0[_0x1e1e64(0x22e)],'subUnitId':_0x80c2a0[_0x1e1e64(0x25f)],'axis':_0x80c2a0['axis'],'type':_0x1e1e64(0x247),'start':_0x80c2a0[_0x1e1e64(0x2ae)],'end':_0x80c2a0[_0x1e1e64(0x2ae)]+_0x80c2a0[_0x1e1e64(0x28b)]-0x1};case _0x1e1e64(0x247):return{'unitId':_0x80c2a0[_0x1e1e64(0x22e)],'subUnitId':_0x80c2a0[_0x1e1e64(0x25f)],'axis':_0x80c2a0[_0x1e1e64(0x2a4)],'type':_0x1e1e64(0x212),'index':_0x80c2a0[_0x1e1e64(0x226)],'count':_0x80c2a0[_0x1e1e64(0x1fd)]-_0x80c2a0[_0x1e1e64(0x226)]+0x1,'restoreOutlines':_0x320276['filter'](_0x362f0c=>_0x362f0c['unitId']===_0x80c2a0[_0x1e1e64(0x22e)]&&_0x362f0c['subUnitId']===_0x80c2a0[_0x1e1e64(0x25f)]&&_0x362f0c[_0x1e1e64(0x2a4)]===_0x80c2a0[_0x1e1e64(0x2a4)])};case _0x1e1e64(0x2b0):return _0x1e0699(_0x80c2a0);}}function _0x1e0699(_0xd1dfa6){const _0x30e955=_0x302beb;let _0x1feb71=_0xd1dfa6['sourceEnd']-_0xd1dfa6[_0x30e955(0x20f)]+0x1;return _0xd1dfa6[_0x30e955(0x228)]>=_0xd1dfa6['sourceStart']&&_0xd1dfa6[_0x30e955(0x228)]<=_0xd1dfa6['sourceEnd']+0x1?{..._0xd1dfa6}:_0xd1dfa6['destinationIndex']>_0xd1dfa6[_0x30e955(0x269)]+0x1?{..._0xd1dfa6,'sourceStart':_0xd1dfa6[_0x30e955(0x228)]-_0x1feb71,'sourceEnd':_0xd1dfa6[_0x30e955(0x228)]-0x1,'destinationIndex':_0xd1dfa6[_0x30e955(0x20f)]}:{..._0xd1dfa6,'sourceStart':_0xd1dfa6['destinationIndex'],'sourceEnd':_0xd1dfa6[_0x30e955(0x228)]+_0x1feb71-0x1,'destinationIndex':_0xd1dfa6['sourceEnd']+0x1};}function _0x36e248(_0x16ffe4,_0x72fd48){const _0x4c9aed=_0x302beb;var _0x9df17c,_0x164e16;let _0x5a1684=(_0x9df17c=_0x16ffe4==null?void 0x0:_0x16ffe4[_0x4c9aed(0x22e)])==null?_0x72fd48==null?void 0x0:_0x72fd48['unitId']:_0x9df17c,_0x279134=(_0x164e16=_0x16ffe4==null?void 0x0:_0x16ffe4[_0x4c9aed(0x25f)])==null?_0x72fd48==null?void 0x0:_0x72fd48[_0x4c9aed(0x25f)]:_0x164e16;return _0x5a1684&&_0x279134?{'unitId':_0x5a1684,'subUnitId':_0x279134}:null;}function _0x4a50ef(){const _0x32807=_0x302beb;var _0x42a642,_0x19b42b;return{'redos':[..._0xb37859['redos']],'undos':[..._0xb37859[_0x32807(0x218)]],'preRedos':[...(_0x42a642=_0xb37859[_0x32807(0x21f)])==null?[]:_0x42a642],'preUndos':[...(_0x19b42b=_0xb37859['preUndos'])==null?[]:_0x19b42b]};}let _0x1d323b=class extends _0x45e8fe[_0x302beb(0x243)]{constructor(_0x2982a2,_0x4c3b2d){const _0x4ad677=_0x302beb;super(),this['_resourceManagerService']=_0x2982a2,this[_0x4ad677(0x28e)]=_0x4c3b2d,this[_0x4ad677(0x207)]();}[_0x302beb(0x207)](){const _0x4f842f=_0x302beb;this[_0x4f842f(0x2bb)](this[_0x4f842f(0x1fa)]['registerPluginResource']({'pluginName':_0x2aed2d,'businesses':[_0x45e8fe[_0x4f842f(0x278)][_0x4f842f(0x209)]],'toJson':_0x3670bd=>JSON[_0x4f842f(0x23c)](this[_0x4f842f(0x28e)]['serialize'](_0x3670bd)),'parseJson':_0x4056de=>JSON['parse'](_0x4056de),'onLoad':(_0x10f2d9,_0x113ea1)=>this[_0x4f842f(0x28e)][_0x4f842f(0x1f0)](_0x10f2d9,_0x113ea1),'onUnLoad':_0x1f1afc=>this[_0x4f842f(0x28e)]['removeUnit'](_0x1f1afc)}));}};_0x1d323b=_0x57025f([_0x109ffb(0x0,_0x45e8fe[_0x302beb(0x1f5)]),_0x109ffb(0x1,(0x0,_0x45e8fe[_0x302beb(0x222)])(_0x13b869))],_0x1d323b);let _0x2660ed=class extends _0x45e8fe[_0x302beb(0x24b)]{constructor(_0x411510,_0xa1b0e3,_0x28f4cf){const _0x372a16=_0x302beb;super(),this[_0x372a16(0x224)]=_0x411510,this[_0x372a16(0x26d)]=_0xa1b0e3,this[_0x372a16(0x204)]=_0x28f4cf;}[_0x302beb(0x29d)](){const _0x24211c=_0x302beb;this[_0x24211c(0x26d)][_0x24211c(0x289)]([_0x13b869]),this[_0x24211c(0x26d)][_0x24211c(0x289)]([_0x5db4db]),this['_injector'][_0x24211c(0x289)]([_0x1d323b]),this[_0x24211c(0x26d)][_0x24211c(0x289)]([_0x299254]),this[_0x24211c(0x251)](),this['_injector']['get'](_0x13b869),this[_0x24211c(0x26d)][_0x24211c(0x283)](_0x5db4db),this[_0x24211c(0x26d)][_0x24211c(0x283)](_0x1d323b),this['_injector']['get'](_0x299254);}[_0x302beb(0x251)](){const _0x9fd5e4=_0x302beb;[_0x28e3f6,_0x41cafc,_0x2d0f0a,_0x280236]['forEach'](_0x42b63a=>{const _0x8b5f16=_0x5af8;this[_0x8b5f16(0x2bb)](this['_commandService'][_0x8b5f16(0x1fe)](_0x42b63a));}),[_0x27de45,_0x101097,_0x8e4757,_0x5e31b9,_0x55e44b][_0x9fd5e4(0x21c)](_0x3bd3a4=>{const _0x586f0e=_0x9fd5e4;this[_0x586f0e(0x2bb)](this['_commandService'][_0x586f0e(0x1fe)](_0x3bd3a4));});}};_0x30c934(_0x2660ed,'pluginName',_0x2aed2d),_0x30c934(_0x2660ed,_0x302beb(0x1eb),_0x557fc0),_0x30c934(_0x2660ed,_0x302beb(0x28a),_0x399d10),_0x30c934(_0x2660ed,'type',_0x45e8fe[_0x302beb(0x278)][_0x302beb(0x209)]),_0x2660ed=_0x57025f([(0x0,_0x45e8fe[_0x302beb(0x2ab)])(_0x5e62c8['UniverLicensePlugin']),_0x109ffb(0x1,(0x0,_0x45e8fe[_0x302beb(0x222)])(_0x45e8fe[_0x302beb(0x1fc)])),_0x109ffb(0x2,_0x45e8fe['ICommandService'])],_0x2660ed),_0xc4c6d0[_0x302beb(0x257)]=_0x28e3f6,_0xc4c6d0[_0x302beb(0x2a6)]=_0x27de45,_0xc4c6d0[_0x302beb(0x299)]=_0x280236,_0xc4c6d0[_0x302beb(0x1ed)]=_0x5e31b9,_0xc4c6d0[_0x302beb(0x271)]=_0x3ea85d,_0xc4c6d0['DimensionOutlineError']=_0x1df05d,_0xc4c6d0['DimensionOutlineErrorReason']=_0x3c2579,_0xc4c6d0[_0x302beb(0x24f)]=_0x41cafc,_0xc4c6d0[_0x302beb(0x2b1)]=_0x101097,_0xc4c6d0[_0x302beb(0x22f)]=_0x302beb(0x298),_0xc4c6d0[_0x302beb(0x287)]=_0x2aed2d,_0xc4c6d0[_0x302beb(0x280)]=_0x2d0f0a,_0xc4c6d0['SetDimensionOutlineCollapsedMutation']=_0x8e4757,_0xc4c6d0[_0x302beb(0x24d)]=_0x5db4db,_0xc4c6d0[_0x302beb(0x259)]=_0x13b869,_0xc4c6d0[_0x302beb(0x1dd)]=_0x55e44b,Object[_0x302beb(0x217)](_0xc4c6d0,'UniverSheetsOutlinePlugin',{'enumerable':!0x0,'get':function(){return _0x2660ed;}}),_0xc4c6d0[_0x302beb(0x29b)]=_0xd9108,_0xc4c6d0[_0x302beb(0x246)]=_0x25c91d,_0xc4c6d0['buildHiddenRanges']=_0x1e3c45,_0xc4c6d0[_0x302beb(0x29a)]=_0x172ee4,_0xc4c6d0[_0x302beb(0x216)]=_0x342acf,_0xc4c6d0[_0x302beb(0x267)]=_0x2ee5ea,_0xc4c6d0[_0x302beb(0x26c)]=_0x4c6076,_0xc4c6d0[_0x302beb(0x1f9)]=_0x2f72a5,_0xc4c6d0['hasDimensionOutlineViewPermission']=_0x49b5ba,_0xc4c6d0[_0x302beb(0x25e)]=_0x51b942,_0xc4c6d0['transformOutlinesByDelete']=_0x56046a,_0xc4c6d0[_0x302beb(0x240)]=_0x18058c,_0xc4c6d0[_0x302beb(0x215)]=_0xe5a785;}));
|
|
1
|
+
function _0x2205(_0x5f427a,_0x4b7e0f){_0x5f427a=_0x5f427a-0x6d;const _0x1ba4e1=_0x1ba4();let _0x2205b4=_0x1ba4e1[_0x5f427a];return _0x2205b4;}(function(_0x11c83b,_0x3e0112){const _0x3ff998=_0x2205,_0x556f14=_0x11c83b();while(!![]){try{const _0x293bcd=-parseInt(_0x3ff998(0xbb))/0x1+parseInt(_0x3ff998(0xca))/0x2+-parseInt(_0x3ff998(0xc8))/0x3*(parseInt(_0x3ff998(0x8b))/0x4)+-parseInt(_0x3ff998(0x13a))/0x5*(-parseInt(_0x3ff998(0x123))/0x6)+parseInt(_0x3ff998(0xbe))/0x7+-parseInt(_0x3ff998(0xa2))/0x8*(parseInt(_0x3ff998(0x114))/0x9)+parseInt(_0x3ff998(0x10a))/0xa;if(_0x293bcd===_0x3e0112)break;else _0x556f14['push'](_0x556f14['shift']());}catch(_0x4d6c17){_0x556f14['push'](_0x556f14['shift']());}}}(_0x1ba4,0x85df4),function(_0x51ca44,_0x11c4ba){const _0x3cfe8f=_0x2205;typeof exports=='object'&&typeof module<'u'?_0x11c4ba(exports,require('@univerjs/core'),require('@univerjs/sheets'),require('rxjs'),require('rxjs/operators'),require('@univerjs-pro/license')):typeof define==_0x3cfe8f(0x73)&&define[_0x3cfe8f(0x101)]?define([_0x3cfe8f(0x14d),'@univerjs/core',_0x3cfe8f(0xd3),'rxjs',_0x3cfe8f(0x7d),_0x3cfe8f(0x77)],_0x11c4ba):(_0x51ca44=typeof globalThis<'u'?globalThis:_0x51ca44||self,_0x11c4ba(_0x51ca44[_0x3cfe8f(0xae)]={},_0x51ca44[_0x3cfe8f(0xc3)],_0x51ca44[_0x3cfe8f(0x156)],_0x51ca44['rxjs'],_0x51ca44[_0x3cfe8f(0xe6)][_0x3cfe8f(0x11a)],_0x51ca44['UniverProLicense']));}(this,function(_0x493428,_0x2ab1bf,_0x546899,_0x40aa69,_0x4d65da,_0x5569bc){const _0x5620be=_0x2205;Object[_0x5620be(0x104)](_0x493428,Symbol[_0x5620be(0xcc)],{'value':_0x5620be(0x75)});let _0x1c8aac=function(_0x39435f){const _0x25eba9=_0x5620be;return _0x39435f['ROW']=_0x25eba9(0xe4),_0x39435f[_0x25eba9(0x8c)]='column',_0x39435f;}({}),_0x2aa457=function(_0xe7fafc){const _0x36664d=_0x5620be;return _0xe7fafc[_0x36664d(0xa7)]=_0x36664d(0x12a),_0xe7fafc[_0x36664d(0xd2)]=_0x36664d(0x130),_0xe7fafc['CROSSING']='crossing',_0xe7fafc['MAX_DEPTH']=_0x36664d(0xd9),_0xe7fafc['MOVE_SPLITS_OUTLINE']='move-splits-outline',_0xe7fafc[_0x36664d(0xe8)]='clear-range-not-contain-outline',_0xe7fafc['UNKNOWN']=_0x36664d(0x85),_0xe7fafc;}({});var _0x235131=class extends Error{constructor(_0x5da6f8,_0x28a3e0,_0x49fa3b){const _0x340760=_0x5620be;super(_0x28a3e0),this[_0x340760(0x14f)]=_0x5da6f8,this[_0x340760(0x117)]=_0x49fa3b,this[_0x340760(0x80)]=_0x340760(0x132);}};function _0x550ff3(_0x305c91){const _0x38015d=_0x5620be;return _0x305c91 instanceof _0x235131?_0x305c91['reason']:_0x305c91 instanceof Error?_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)]('split\x20dimension\x20outline')?_0x38015d(0x10c):_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)](_0x38015d(0xdd))?'max-depth':_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)](_0x38015d(0x9b))?_0x38015d(0xb4):_0x305c91[_0x38015d(0x133)][_0x38015d(0xd7)](_0x38015d(0x145))?'invalid-range':_0x38015d(0x85):_0x38015d(0x85);}function _0x5bf7e4(_0x4c3ed2){const _0xd98fab=_0x5620be;return _0x4c3ed2 instanceof _0x235131?_0x4c3ed2[_0xd98fab(0x117)]:void 0x0;}let _0x169e7c=0x2**0x35-0x1;function _0x23fa8a(_0x96d9c1,_0x304420){const _0x3c344a=_0x5620be;return _0x96d9c1['unitId']===_0x304420[_0x3c344a(0xed)]&&_0x96d9c1[_0x3c344a(0x10e)]===_0x304420['subUnitId']&&_0x96d9c1['axis']===_0x304420[_0x3c344a(0x91)];}function _0x3c998f(_0xfcb607,_0x53bf74={}){const _0x2a4d9f=_0x5620be;var _0x57df38;let _0x322614=(_0x57df38=_0x53bf74['maxDepth'])==null?0x8:_0x57df38,_0x108128=new Map();for(let _0x18820a of _0xfcb607){let _0x6bdc69=_0x18820a[_0x2a4d9f(0xed)]+':'+_0x18820a['subUnitId']+':'+_0x18820a['axis'],_0x517878=_0x108128['get'](_0x6bdc69);_0x517878?_0x517878['push'](_0x18820a):_0x108128[_0x2a4d9f(0x142)](_0x6bdc69,[_0x18820a]);}let _0x202f42=[];for(let _0x5b5901 of _0x108128[_0x2a4d9f(0xcb)]()){let _0x59243a=[..._0x5b5901][_0x2a4d9f(0x13b)](_0x36481e),_0x490513=[];for(let _0x3fb4ec of _0x59243a){for(_0x4a8824(_0x3fb4ec);_0x490513['length']>0x0&&_0x3fb4ec[_0x2a4d9f(0x89)]>_0x490513[_0x490513[_0x2a4d9f(0x149)]-0x1]['end'];)_0x490513[_0x2a4d9f(0xa0)]();let _0x46af6d=_0x490513[_0x490513[_0x2a4d9f(0x149)]-0x1];if(_0x46af6d&&_0x3fb4ec[_0x2a4d9f(0xf1)]>_0x46af6d['end'])throw new _0x235131(_0x2a4d9f(0xb4),_0x2a4d9f(0xe9),_0x3fb4ec['id']);let _0x56d2fc=_0x46af6d?_0x46af6d[_0x2a4d9f(0xdd)]+0x1:0x1;if(_0x56d2fc>_0x322614)throw new _0x235131(_0x2a4d9f(0xd9),_0x2a4d9f(0x12b)+_0x322614,_0x3fb4ec['id']);let _0x50b9be={..._0x3fb4ec,'depth':_0x56d2fc,'parentId':_0x46af6d==null?void 0x0:_0x46af6d['id'],'anchor':_0x3fb4ec[_0x2a4d9f(0xf1)],'children':[]};_0x46af6d?_0x46af6d[_0x2a4d9f(0xf5)]['push'](_0x50b9be):_0x202f42[_0x2a4d9f(0x11e)](_0x50b9be),_0x490513[_0x2a4d9f(0x11e)](_0x50b9be);}}return _0x202f42;}function _0x152898(_0x4e8838,_0x22b59b,_0x555f3e={}){const _0x2e0165=_0x5620be;if(_0x22b59b[_0x2e0165(0x89)]<0x0||_0x22b59b[_0x2e0165(0x89)]>_0x22b59b[_0x2e0165(0xf1)])return{'valid':!0x1,'reason':'invalid-range'};if(_0x555f3e[_0x2e0165(0xf2)]!=null&&_0x22b59b['end']>=_0x555f3e[_0x2e0165(0xf2)])return{'valid':!0x1,'reason':_0x2e0165(0x130)};let _0x1d34e7=_0x4e8838[_0x2e0165(0xa5)](_0x3f320a=>_0x23fa8a(_0x3f320a,_0x22b59b));for(let _0x5bd014 of _0x1d34e7)if(_0x223081(_0x5bd014,_0x22b59b))return{'valid':!0x1,'reason':_0x2e0165(0xb4)};try{_0x3c998f([..._0x4e8838,_0x22b59b],_0x555f3e);}catch(_0x4ba2d3){let _0x16f1bc=_0x550ff3(_0x4ba2d3);return _0x16f1bc===_0x2e0165(0xd9)?{'valid':!0x1,'reason':_0x2e0165(0xd9)}:_0x16f1bc===_0x2e0165(0x12a)?{'valid':!0x1,'reason':'invalid-range'}:{'valid':!0x1,'reason':'crossing'};}return{'valid':!0x0};}function _0x4a264e(_0xcd7062,_0x59aca3,_0x38143f={}){const _0x1bce13=_0x5620be;let _0x943dc4=_0x152898(_0xcd7062,_0x59aca3,_0x38143f);if(!_0x943dc4[_0x1bce13(0x72)]){var _0x2d094b;throw Error((_0x2d094b=_0x943dc4[_0x1bce13(0x14f)])==null?_0x1bce13(0xba):_0x2d094b);}return[..._0xcd7062,_0x59aca3];}function _0x5c59cd(_0xcbd349,_0x2fdd25){const _0x21a482=_0x5620be;let _0x33f6a0=_0x2fdd25[_0x21a482(0x89)],_0xe42a8c=_0x2fdd25[_0x21a482(0xf1)],_0x46aa75=[],_0x2a6655=!0x0;for(;_0x2a6655;){_0x2a6655=!0x1;for(let _0x51f5be of _0xcbd349)_0x46aa75[_0x21a482(0xd7)](_0x51f5be)||!_0x23fa8a(_0x51f5be,_0x2fdd25)||!_0x1ee006(_0x51f5be[_0x21a482(0x89)],_0x51f5be[_0x21a482(0xf1)],_0x33f6a0,_0xe42a8c)||(_0x46aa75[_0x21a482(0x11e)](_0x51f5be),_0x33f6a0=Math[_0x21a482(0x128)](_0x33f6a0,_0x51f5be[_0x21a482(0x89)]),_0xe42a8c=Math[_0x21a482(0xc2)](_0xe42a8c,_0x51f5be[_0x21a482(0xf1)]),_0x2a6655=!0x0);}if(_0x46aa75[_0x21a482(0x149)]===0x0)return null;let [_0x33eaeb]=[..._0x46aa75][_0x21a482(0x13b)](_0x36481e);return{'mergedOutline':{..._0x33eaeb,'start':_0x33f6a0,'end':_0xe42a8c},'mergedOutlines':_0x46aa75};}function _0x32b5d4(_0x30e08d,_0x1962b9){const _0x326a9e=_0x5620be;return _0x30e08d[_0x326a9e(0xa5)](_0xb21e27=>_0x23fa8a(_0xb21e27,_0x1962b9)?!(_0xb21e27[_0x326a9e(0x89)]>=_0x1962b9['start']&&_0xb21e27[_0x326a9e(0xf1)]<=_0x1962b9[_0x326a9e(0xf1)]):!0x0);}function _0x681375(_0x155e85,_0x3358e0,_0x319cf4,_0x376614){const _0x1e652f=_0x5620be;return _0x1e24d7(_0x155e85[_0x1e652f(0xa5)](_0x19e540=>_0x19e540[_0x1e652f(0xed)]===_0x3358e0&&_0x19e540[_0x1e652f(0x10e)]===_0x319cf4&&_0x19e540[_0x1e652f(0x91)]===_0x376614&&_0x19e540['collapsed'])[_0x1e652f(0x113)](_0x3b2de9=>({'start':_0x3b2de9['start'],'end':_0x3b2de9[_0x1e652f(0xf1)]})));}function _0x1e24d7(_0x5f5a22){const _0x4bb933=_0x5620be;if(_0x5f5a22['length']===0x0)return[];let _0xa602db=[..._0x5f5a22][_0x4bb933(0x13b)]((_0xf09fff,_0x4d96ef)=>_0xf09fff[_0x4bb933(0x89)]-_0x4d96ef[_0x4bb933(0x89)]||_0xf09fff[_0x4bb933(0xf1)]-_0x4d96ef[_0x4bb933(0xf1)]),_0x55e322=[];for(let _0x14139a of _0xa602db){let _0x51e887=_0x55e322[_0x55e322[_0x4bb933(0x149)]-0x1];!_0x51e887||_0x14139a[_0x4bb933(0x89)]>_0x51e887[_0x4bb933(0xf1)]+0x1?_0x55e322[_0x4bb933(0x11e)]({..._0x14139a}):_0x51e887['end']=Math[_0x4bb933(0xc2)](_0x51e887[_0x4bb933(0xf1)],_0x14139a[_0x4bb933(0xf1)]);}return _0x55e322;}function _0x55ed44(_0x3e1712,_0x1d6d6e){const _0x53bb9b=_0x5620be;return _0x1d6d6e[_0x53bb9b(0xb3)]<=0x0?_0x3e1712:_0x503d84(_0x3e1712['map'](_0x38eee5=>_0x23fa8a(_0x38eee5,_0x1d6d6e)?_0x1d6d6e['index']<=_0x38eee5[_0x53bb9b(0x89)]?{..._0x38eee5,'start':_0x38eee5[_0x53bb9b(0x89)]+_0x1d6d6e['count'],'end':_0x38eee5[_0x53bb9b(0xf1)]+_0x1d6d6e[_0x53bb9b(0xb3)]}:_0x38eee5['start']<_0x1d6d6e[_0x53bb9b(0xd0)]&&_0x1d6d6e[_0x53bb9b(0xd0)]<=_0x38eee5[_0x53bb9b(0xf1)]?{..._0x38eee5,'end':_0x38eee5['end']+_0x1d6d6e[_0x53bb9b(0xb3)]}:_0x38eee5:_0x38eee5));}function _0x2a321c(_0x52ef81,_0x4598b7){const _0x1e4dce=_0x5620be;if(_0x4598b7[_0x1e4dce(0x89)]>_0x4598b7[_0x1e4dce(0xf1)])return _0x52ef81;let _0xe26210=_0x4598b7[_0x1e4dce(0xf1)]-_0x4598b7[_0x1e4dce(0x89)]+0x1,_0x543d8a=[];for(let _0x54c2b7 of _0x52ef81){if(!_0x23fa8a(_0x54c2b7,_0x4598b7)){_0x543d8a[_0x1e4dce(0x11e)](_0x54c2b7);continue;}if(_0x54c2b7[_0x1e4dce(0xf1)]<_0x4598b7[_0x1e4dce(0x89)]){_0x543d8a[_0x1e4dce(0x11e)](_0x54c2b7);continue;}if(_0x54c2b7[_0x1e4dce(0x89)]>_0x4598b7[_0x1e4dce(0xf1)]){_0x543d8a[_0x1e4dce(0x11e)]({..._0x54c2b7,'start':_0x54c2b7[_0x1e4dce(0x89)]-_0xe26210,'end':_0x54c2b7[_0x1e4dce(0xf1)]-_0xe26210});continue;}let _0x49a6d0=Math['max'](_0x54c2b7[_0x1e4dce(0x89)],_0x4598b7[_0x1e4dce(0x89)]),_0x102e8c=Math['min'](_0x54c2b7[_0x1e4dce(0xf1)],_0x4598b7['end']),_0x2886c0=Math[_0x1e4dce(0xc2)](0x0,_0x102e8c-_0x49a6d0+0x1),_0x103ea7=_0x54c2b7[_0x1e4dce(0xf1)]-_0x54c2b7[_0x1e4dce(0x89)]+0x1-_0x2886c0;if(_0x103ea7<=0x0)continue;let _0x2ad1e7=_0x54c2b7[_0x1e4dce(0x89)]<_0x4598b7[_0x1e4dce(0x89)]?_0x54c2b7['start']:_0x4598b7[_0x1e4dce(0x89)];_0x543d8a[_0x1e4dce(0x11e)]({..._0x54c2b7,'start':_0x2ad1e7,'end':_0x2ad1e7+_0x103ea7-0x1});}return _0x503d84(_0x543d8a);}function _0x48e7c8(_0x1c05cf,_0x5775af){const _0x10846d=_0x5620be;if(_0x5775af['sourceStart']>_0x5775af[_0x10846d(0x105)])return _0x1c05cf;let _0x2c2622=[];for(let _0xecad8d of _0x1c05cf){if(!_0x23fa8a(_0xecad8d,_0x5775af)){_0x2c2622[_0x10846d(0x11e)](_0xecad8d);continue;}let _0xa58795=_0x3b198d(_0xecad8d,_0x5775af);if(_0xa58795[_0x10846d(0x11c)]==='split')throw new _0x235131(_0x10846d(0x10c),_0x10846d(0xf8)+_0xecad8d['id'],_0xecad8d['id']);_0x2c2622[_0x10846d(0x11e)](_0xa58795[_0x10846d(0xa6)]);}return _0x503d84(_0x2c2622);}function _0x3b198d(_0x29ee78,_0x346b7c){const _0x445473=_0x5620be;let _0x2a0300=_0x3bc474(_0x346b7c['sourceStart'],_0x346b7c[_0x445473(0x105)]+0x1,_0x346b7c['destinationIndex']),_0x4a2983=[],_0x1291ff={'start':_0x29ee78['start'],'end':_0x29ee78[_0x445473(0xf1)]+0x1};for(let _0x642d3b of _0x2a0300){let _0x489327=_0x352471(_0x1291ff,_0x642d3b[_0x445473(0x145)]);_0x489327&&_0x4a2983[_0x445473(0x11e)]({'start':_0x489327[_0x445473(0x89)]+_0x642d3b[_0x445473(0x131)],'end':_0x489327[_0x445473(0xf1)]+_0x642d3b[_0x445473(0x131)]});}let _0x2d8aa5=_0x5cf24f(_0x4a2983);return _0x2d8aa5[_0x445473(0x149)]===0x1?{'type':'ok','outline':{..._0x29ee78,'start':_0x2d8aa5[0x0]['start'],'end':_0x2d8aa5[0x0][_0x445473(0xf1)]-0x1}}:{'type':_0x445473(0xaa),'outline':_0x29ee78,'ranges':_0x2d8aa5};}function _0x3bc474(_0x21b2ec,_0x3e0038,_0x43e45b){let _0x17ea5f=_0x3e0038-_0x21b2ec;if(_0x17ea5f<=0x0)throw Error('Invalid\x20dimension\x20outline\x20move\x20source\x20range');return _0x43e45b>=_0x21b2ec&&_0x43e45b<=_0x3e0038?[{'range':{'start':0x0,'end':_0x169e7c},'offset':0x0}]:_0x43e45b<_0x21b2ec?[{'range':{'start':0x0,'end':_0x43e45b},'offset':0x0},{'range':{'start':_0x43e45b,'end':_0x21b2ec},'offset':_0x17ea5f},{'range':{'start':_0x21b2ec,'end':_0x3e0038},'offset':_0x43e45b-_0x21b2ec},{'range':{'start':_0x3e0038,'end':_0x169e7c},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x21b2ec},'offset':0x0},{'range':{'start':_0x21b2ec,'end':_0x3e0038},'offset':_0x43e45b-_0x3e0038},{'range':{'start':_0x3e0038,'end':_0x43e45b},'offset':-_0x17ea5f},{'range':{'start':_0x43e45b,'end':_0x169e7c},'offset':0x0}];}function _0x352471(_0x5611cc,_0x3dfb52){const _0x257fed=_0x5620be;let _0x439d81=Math[_0x257fed(0xc2)](_0x5611cc[_0x257fed(0x89)],_0x3dfb52['start']),_0x6a6ab1=Math[_0x257fed(0x128)](_0x5611cc[_0x257fed(0xf1)],_0x3dfb52[_0x257fed(0xf1)]);return _0x439d81>=_0x6a6ab1?null:{'start':_0x439d81,'end':_0x6a6ab1};}function _0x5cf24f(_0x1f4b09){const _0xc197d2=_0x5620be;if(_0x1f4b09[_0xc197d2(0x149)]===0x0)return[];let _0xe1fa6=[..._0x1f4b09][_0xc197d2(0x13b)]((_0x26c39b,_0x59df29)=>_0x26c39b[_0xc197d2(0x89)]-_0x59df29[_0xc197d2(0x89)]||_0x26c39b['end']-_0x59df29[_0xc197d2(0xf1)]),_0x1a1a6c=[];for(let _0xa8a203 of _0xe1fa6){let _0x1ccc47=_0x1a1a6c[_0x1a1a6c[_0xc197d2(0x149)]-0x1];!_0x1ccc47||_0xa8a203[_0xc197d2(0x89)]>_0x1ccc47[_0xc197d2(0xf1)]?_0x1a1a6c[_0xc197d2(0x11e)]({..._0xa8a203}):_0x1ccc47[_0xc197d2(0xf1)]=Math['max'](_0x1ccc47[_0xc197d2(0xf1)],_0xa8a203['end']);}return _0x1a1a6c;}function _0x1ee006(_0x50887b,_0x450171,_0x33d6aa,_0x59bcca){return _0x450171+0x1===_0x33d6aa||_0x59bcca+0x1===_0x50887b;}function _0x503d84(_0x8122fc){let _0x46f4a2=_0x2bd211(_0x8122fc);return _0x3c998f(_0x46f4a2),_0x46f4a2;}function _0x2bd211(_0x18137d){const _0x256dc7=_0x5620be;let _0x142a9e=new Map();for(let _0x5cfb1f of _0x18137d){let _0x1588bf=[_0x5cfb1f['unitId'],_0x5cfb1f[_0x256dc7(0x10e)],_0x5cfb1f['axis'],_0x5cfb1f['start'],_0x5cfb1f[_0x256dc7(0xf1)]][_0x256dc7(0x12f)](':'),_0x49a632=_0x142a9e['get'](_0x1588bf);if(!_0x49a632){_0x142a9e[_0x256dc7(0x142)](_0x1588bf,_0x5cfb1f);continue;}_0x142a9e[_0x256dc7(0x142)](_0x1588bf,{..._0x49a632,'collapsed':_0x49a632[_0x256dc7(0x107)]||_0x5cfb1f[_0x256dc7(0x107)]});}return Array['from'](_0x142a9e['values']());}function _0x36481e(_0x447d92,_0x1f2d15){const _0x150b9f=_0x5620be;return _0x447d92[_0x150b9f(0xed)]===_0x1f2d15[_0x150b9f(0xed)]?_0x447d92[_0x150b9f(0x10e)]===_0x1f2d15['subUnitId']?_0x447d92[_0x150b9f(0x91)]===_0x1f2d15[_0x150b9f(0x91)]?_0x447d92[_0x150b9f(0x89)]===_0x1f2d15['start']?_0x1f2d15['end']-_0x447d92[_0x150b9f(0xf1)]:_0x447d92[_0x150b9f(0x89)]-_0x1f2d15['start']:_0x447d92[_0x150b9f(0x91)]['localeCompare'](_0x1f2d15[_0x150b9f(0x91)]):_0x447d92[_0x150b9f(0x10e)][_0x150b9f(0x137)](_0x1f2d15[_0x150b9f(0x10e)]):_0x447d92[_0x150b9f(0xed)]['localeCompare'](_0x1f2d15[_0x150b9f(0xed)]);}function _0x4a8824(_0x5ab36d){const _0x31c01a=_0x5620be;if(_0x5ab36d[_0x31c01a(0x89)]>_0x5ab36d[_0x31c01a(0xf1)])throw new _0x235131(_0x31c01a(0x12a),_0x31c01a(0xb8),_0x5ab36d['id']);}function _0x223081(_0x37c41a,_0x1ce17e){const _0xc504fa=_0x5620be;let _0x4b3219=_0x37c41a[_0xc504fa(0x89)]<=_0x1ce17e[_0xc504fa(0xf1)]&&_0x1ce17e[_0xc504fa(0x89)]<=_0x37c41a[_0xc504fa(0xf1)],_0x1d24e8=_0x37c41a[_0xc504fa(0x89)]<=_0x1ce17e['start']&&_0x1ce17e[_0xc504fa(0xf1)]<=_0x37c41a['end'],_0x31f05e=_0x1ce17e['start']<=_0x37c41a[_0xc504fa(0x89)]&&_0x37c41a[_0xc504fa(0xf1)]<=_0x1ce17e[_0xc504fa(0xf1)];return _0x4b3219&&!_0x1d24e8&&!_0x31f05e;}function _0x3737d1(_0x2ba752){'@babel/helpers - typeof';const _0x3c556e=_0x5620be;return _0x3737d1=typeof Symbol==_0x3c556e(0x73)&&typeof Symbol[_0x3c556e(0x71)]==_0x3c556e(0xd6)?function(_0x31a6f0){return typeof _0x31a6f0;}:function(_0x596a69){const _0x5be7fe=_0x3c556e;return _0x596a69&&typeof Symbol==_0x5be7fe(0x73)&&_0x596a69[_0x5be7fe(0x12c)]===Symbol&&_0x596a69!==Symbol[_0x5be7fe(0xbd)]?'symbol':typeof _0x596a69;},_0x3737d1(_0x2ba752);}function _0x18286c(_0x163b7c,_0x404c59){const _0x373701=_0x5620be;if(_0x3737d1(_0x163b7c)!='object'||!_0x163b7c)return _0x163b7c;var _0x58db33=_0x163b7c[Symbol[_0x373701(0xee)]];if(_0x58db33!==void 0x0){var _0x1cd003=_0x58db33[_0x373701(0xb5)](_0x163b7c,_0x404c59||_0x373701(0xdb));if(_0x3737d1(_0x1cd003)!=_0x373701(0xc7))return _0x1cd003;throw TypeError(_0x373701(0xf6));}return(_0x404c59===_0x373701(0x6d)?String:Number)(_0x163b7c);}function _0x370c67(_0x45d9de){const _0xb1445b=_0x5620be;var _0x2319ec=_0x18286c(_0x45d9de,'string');return _0x3737d1(_0x2319ec)==_0xb1445b(0xd6)?_0x2319ec:_0x2319ec+'';}function _0x11b0f0(_0x41585a,_0x21483c,_0x3caf22){const _0x71ab4b=_0x5620be;return(_0x21483c=_0x370c67(_0x21483c))in _0x41585a?Object[_0x71ab4b(0x104)](_0x41585a,_0x21483c,{'value':_0x3caf22,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x41585a[_0x21483c]=_0x3caf22,_0x41585a;}var _0x1b61fb=class extends _0x2ab1bf[_0x5620be(0xce)]{constructor(..._0x465e92){const _0x1bd5b1=_0x5620be;super(..._0x465e92),_0x11b0f0(this,_0x1bd5b1(0x11d),new Map()),_0x11b0f0(this,_0x1bd5b1(0x14c),new _0x40aa69['Subject']()),_0x11b0f0(this,_0x1bd5b1(0xe1),this[_0x1bd5b1(0x14c)][_0x1bd5b1(0x139)]());}[_0x5620be(0xd5)](_0x182698,_0x52fa1e){const _0x4477aa=_0x5620be;var _0x7351f6,_0x587572;return[...(_0x7351f6=(_0x587572=this[_0x4477aa(0x11d)][_0x4477aa(0x153)](_0x182698))==null?void 0x0:_0x587572[_0x4477aa(0x153)](_0x52fa1e))==null?[]:_0x7351f6];}[_0x5620be(0x92)](_0x2b27ea){const _0x1693f6=_0x5620be;let _0x1efbcb=this[_0x1693f6(0x11d)]['get'](_0x2b27ea),_0x3dd61a=new Map();return _0x1efbcb==null||_0x1efbcb['forEach']((_0x39fcce,_0x4e936f)=>{const _0x37dbc1=_0x1693f6;_0x3dd61a[_0x37dbc1(0x142)](_0x4e936f,[..._0x39fcce]);}),_0x3dd61a;}['setOutlines'](_0x54f78b,_0x2f3a37,_0x1fbe15){const _0x5eef47=_0x5620be;this[_0x5eef47(0xc6)](_0x54f78b)['set'](_0x2f3a37,[..._0x1fbe15]),this[_0x5eef47(0x14c)]['next']({'unitId':_0x54f78b,'subUnitId':_0x2f3a37});}[_0x5620be(0x93)](_0x1895c6){const _0x56bbb2=_0x5620be;this[_0x56bbb2(0x11d)]['delete'](_0x1895c6),this[_0x56bbb2(0x14c)]['next']({'unitId':_0x1895c6});}[_0x5620be(0x76)](_0x503bd9){const _0x1714dc=_0x5620be;let _0x45c6bd=this[_0x1714dc(0x11d)][_0x1714dc(0x153)](_0x503bd9),_0x530f5e={};return _0x45c6bd==null||_0x45c6bd[_0x1714dc(0xb6)]((_0xf0b855,_0x4f456b)=>{_0x530f5e[_0x4f456b]={'outlineList':[..._0xf0b855]};}),_0x530f5e;}[_0x5620be(0x12e)](_0x228581,_0x2ec111){const _0xa75947=_0x5620be;let _0x18fb5f=new Map();Object['entries'](_0x2ec111)[_0xa75947(0xb6)](([_0x81ccb,_0x193b94])=>{const _0x2e5782=_0xa75947;var _0x4acc59;_0x18fb5f[_0x2e5782(0x142)](_0x81ccb,[...(_0x4acc59=_0x193b94[_0x2e5782(0x82)])==null?[]:_0x4acc59]);}),this['_outlines'][_0xa75947(0x142)](_0x228581,_0x18fb5f),this[_0xa75947(0x14c)][_0xa75947(0xdc)]({'unitId':_0x228581});}['dispose'](){const _0x198db6=_0x5620be;super['dispose'](),this[_0x198db6(0x11d)]['clear'](),this[_0x198db6(0x14c)][_0x198db6(0xda)]();}['_ensureUnitOutlines'](_0x3132b9){const _0x5255d7=_0x5620be;let _0x3f533b=this['_outlines'][_0x5255d7(0x153)](_0x3132b9);return _0x3f533b||(_0x3f533b=new Map(),this[_0x5255d7(0x11d)]['set'](_0x3132b9,_0x3f533b)),_0x3f533b;}},_0x1291f3=class extends _0x2ab1bf['Disposable']{constructor(..._0x2d6e1b){const _0x26a200=_0x5620be;super(..._0x2d6e1b),_0x11b0f0(this,'_error$',new _0x40aa69['Subject']()),_0x11b0f0(this,_0x26a200(0x11b),this[_0x26a200(0x79)]['asObservable']());}['emit'](_0x4f5ecc){const _0x4b00e6=_0x5620be;this[_0x4b00e6(0x79)][_0x4b00e6(0xdc)](_0x4f5ecc);}[_0x5620be(0x10f)](){const _0x47bdad=_0x5620be;super[_0x47bdad(0x10f)](),this[_0x47bdad(0x79)]['complete']();}};let _0x268621={'id':_0x5620be(0xec),'type':_0x2ab1bf[_0x5620be(0x14a)]['MUTATION'],'handler':(_0x168b3f,_0x372fcd)=>{const _0x15f876=_0x5620be;let _0x4e1298=_0x168b3f[_0x15f876(0x153)](_0x1b61fb),_0xcbbb03=_0x4e1298[_0x15f876(0xd5)](_0x372fcd[_0x15f876(0xed)],_0x372fcd[_0x15f876(0x10e)]);return _0x4e1298[_0x15f876(0x13d)](_0x372fcd[_0x15f876(0xed)],_0x372fcd[_0x15f876(0x10e)],_0x4a264e(_0xcbbb03,_0x372fcd[_0x15f876(0xa6)])),!0x0;}},_0x17b725={'id':_0x5620be(0x116),'type':_0x2ab1bf['CommandType'][_0x5620be(0x106)],'handler':(_0x1c3f0f,_0x525a86)=>{const _0x44487d=_0x5620be;let _0x4d40b2=_0x1c3f0f[_0x44487d(0x153)](_0x1b61fb),_0x5ec515=_0x4d40b2[_0x44487d(0xd5)](_0x525a86['unitId'],_0x525a86[_0x44487d(0x10e)]);return _0x4d40b2[_0x44487d(0x13d)](_0x525a86[_0x44487d(0xed)],_0x525a86[_0x44487d(0x10e)],_0x5ec515[_0x44487d(0xa5)](_0x18be4a=>_0x18be4a['id']!==_0x525a86[_0x44487d(0x117)])),!0x0;}};function _0x47b2d6(_0xe2d9fa,_0x3e4865,_0x295d87){const _0x28cf09=_0x5620be;let _0x2fc8ee=_0x2ecedb(_0xe2d9fa);return _0x2fc8ee?_0x2fc8ee[_0x28cf09(0x70)]({'workbookTypes':[_0x546899[_0x28cf09(0xfc)]],'worksheetTypes':[_0x546899[_0x28cf09(0x115)]]},_0x3e4865,_0x295d87):!0x0;}function _0x1f9932(_0x1954bc,_0x37d0ad,_0x140f8d){const _0x2e5121=_0x5620be;var _0x2e8b71;let _0x217d24=_0x158903(_0x1954bc);return((_0x2e8b71=_0x217d24==null?void 0x0:_0x217d24['permissionPointUpdate$'])==null?(0x0,_0x40aa69['of'])(null):_0x2e8b71)[_0x2e5121(0x100)]((0x0,_0x4d65da[_0x2e5121(0xb9)])(0x64),(0x0,_0x4d65da[_0x2e5121(0x7a)])(null),(0x0,_0x4d65da[_0x2e5121(0x113)])(()=>_0x47b2d6(_0x1954bc,_0x37d0ad,_0x140f8d)));}function _0x2ecedb(_0xb8ae87){const _0x4ab37a=_0x5620be;if(typeof _0xb8ae87[_0x4ab37a(0xfe)]==_0x4ab37a(0x73)&&!_0xb8ae87[_0x4ab37a(0xfe)](_0x546899[_0x4ab37a(0xe2)]))return null;try{return _0xb8ae87[_0x4ab37a(0x153)](_0x546899[_0x4ab37a(0xe2)]);}catch{return null;}}function _0x158903(_0x584536){const _0x20b0b5=_0x5620be;if(typeof _0x584536[_0x20b0b5(0xfe)]=='function'&&!_0x584536[_0x20b0b5(0xfe)](_0x2ab1bf[_0x20b0b5(0x99)]))return null;try{return _0x584536[_0x20b0b5(0x153)](_0x2ab1bf[_0x20b0b5(0x99)]);}catch{return null;}}let _0x519ae0={'id':_0x5620be(0x124),'type':_0x2ab1bf[_0x5620be(0x14a)]['COMMAND'],'handler':(_0x44c686,_0x18dc9f)=>{const _0x458718=_0x5620be;var _0x3505df,_0x4e0d53;if(!_0x18dc9f)return!0x1;let _0x46a446=(0x0,_0x546899[_0x458718(0xfb)])(_0x44c686['get'](_0x2ab1bf[_0x458718(0x7e)]),_0x18dc9f);if(!_0x46a446)return!0x1;let {unitId:_0x3d1605,subUnitId:_0x2ec079,worksheet:_0x2d6905}=_0x46a446;if(!_0x47b2d6(_0x44c686,_0x3d1605,_0x2ec079))return!0x1;let _0x3fb160=_0x44c686[_0x458718(0x153)](_0x1b61fb),_0x2d0216={'id':'dimension-outline-'+(0x0,_0x2ab1bf[_0x458718(0xf9)])(0x6),'unitId':_0x3d1605,'subUnitId':_0x2ec079,'axis':_0x18dc9f[_0x458718(0x91)],'start':_0x18dc9f[_0x458718(0x89)],'end':_0x18dc9f[_0x458718(0xf1)],'collapsed':!0x1},_0x105c82=_0x18dc9f[_0x458718(0x91)]===_0x458718(0xe4)?_0x2d6905[_0x458718(0xfd)]():_0x2d6905['getColumnCount'](),_0x250b1f=_0x3fb160['getOutlines'](_0x3d1605,_0x2ec079),_0x1112e0=_0x5c59cd(_0x250b1f,_0x2d0216),_0x58bfe9=(_0x3505df=_0x1112e0==null?void 0x0:_0x1112e0[_0x458718(0x129)])==null?[]:_0x3505df,_0x38ba62=(_0x4e0d53=_0x1112e0==null?void 0x0:_0x1112e0['mergedOutline'])==null?_0x2d0216:_0x4e0d53,_0x37973e=_0x152898(_0x1112e0?_0x250b1f[_0x458718(0xa5)](_0x29cc2e=>!_0x58bfe9[_0x458718(0x14e)](_0x123e4b=>_0x123e4b['id']===_0x29cc2e['id'])):_0x250b1f,_0x38ba62,{'maxIndex':_0x105c82});if(!_0x37973e[_0x458718(0x72)]){var _0x50d69f;return _0x44c686[_0x458718(0x153)](_0x1291f3)[_0x458718(0x8d)]({'reason':(_0x50d69f=_0x37973e[_0x458718(0x14f)])==null?'unknown':_0x50d69f,'commandId':_0x519ae0['id'],'unitId':_0x3d1605,'subUnitId':_0x2ec079,'axis':_0x18dc9f[_0x458718(0x91)],'outlineId':_0x38ba62['id']}),!0x1;}let _0x413c8f=[..._0x58bfe9[_0x458718(0x113)](_0x131af3=>({'id':_0x17b725['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outlineId':_0x131af3['id']}})),{'id':_0x268621['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outline':_0x38ba62}}],_0x2699ce=[{'id':_0x17b725['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outlineId':_0x38ba62['id']}},..._0x58bfe9['map'](_0xe5da6f=>({'id':_0x268621['id'],'params':{'unitId':_0x3d1605,'subUnitId':_0x2ec079,'outline':_0xe5da6f}}))];return(0x0,_0x2ab1bf['sequenceExecute'])(_0x413c8f,_0x44c686[_0x458718(0x153)](_0x2ab1bf[_0x458718(0x7c)]))['result']?(_0x44c686[_0x458718(0x153)](_0x2ab1bf[_0x458718(0x6f)])[_0x458718(0x119)]({'unitID':_0x3d1605,'undoMutations':_0x2699ce,'redoMutations':_0x413c8f}),!0x0):!0x1;}},_0x5d6123={'id':_0x5620be(0x90),'type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0x106)],'handler':(_0x2d6b1f,_0x2540a7)=>{const _0x37b996=_0x5620be;let _0x514de0=_0x2d6b1f[_0x37b996(0x153)](_0x1b61fb),_0x14ca69=_0x514de0[_0x37b996(0xd5)](_0x2540a7['unitId'],_0x2540a7[_0x37b996(0x10e)]);return _0x514de0[_0x37b996(0x13d)](_0x2540a7['unitId'],_0x2540a7[_0x37b996(0x10e)],_0x32b5d4(_0x14ca69,_0x2540a7)),!0x0;}},_0x1104e3={'id':_0x5620be(0xad),'type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0xeb)],'handler':(_0x88b185,_0x52be0f)=>{const _0x56ec58=_0x5620be;if(!_0x52be0f)return!0x1;let _0x571007=(0x0,_0x546899[_0x56ec58(0xfb)])(_0x88b185[_0x56ec58(0x153)](_0x2ab1bf['IUniverInstanceService']),_0x52be0f);if(!_0x571007)return!0x1;let {unitId:_0x5882a6,subUnitId:_0x40a1f2}=_0x571007;if(!_0x47b2d6(_0x88b185,_0x5882a6,_0x40a1f2))return!0x1;let _0x129169={'unitId':_0x5882a6,'subUnitId':_0x40a1f2,'axis':_0x52be0f[_0x56ec58(0x91)],'start':_0x52be0f[_0x56ec58(0x89)],'end':_0x52be0f['end']},_0x2980b8=_0x88b185[_0x56ec58(0x153)](_0x1b61fb)['getOutlines'](_0x5882a6,_0x40a1f2)['filter'](_0x2b176c=>_0x23fa8a(_0x2b176c,_0x129169)&&_0x2b176c['start']>=_0x52be0f['start']&&_0x2b176c['end']<=_0x52be0f[_0x56ec58(0xf1)]);if(_0x2980b8[_0x56ec58(0x149)]===0x0)return _0x88b185[_0x56ec58(0x153)](_0x1291f3)[_0x56ec58(0x8d)]({'reason':'clear-range-not-contain-outline','commandId':_0x1104e3['id'],'unitId':_0x5882a6,'subUnitId':_0x40a1f2,'axis':_0x52be0f[_0x56ec58(0x91)]}),!0x1;let _0xa30931=[{'id':_0x5d6123['id'],'params':{..._0x129169,'removedOutlineIds':_0x2980b8['map'](_0x418081=>_0x418081['id'])}}],_0x30ad9f=_0x2980b8[_0x56ec58(0x113)](_0xa0790d=>({'id':_0x268621['id'],'params':{'unitId':_0x5882a6,'subUnitId':_0x40a1f2,'outline':_0xa0790d}}));return(0x0,_0x2ab1bf[_0x56ec58(0x98)])(_0xa30931,_0x88b185[_0x56ec58(0x153)](_0x2ab1bf['ICommandService']))[_0x56ec58(0x8f)]?(_0x88b185['get'](_0x2ab1bf[_0x56ec58(0x6f)])[_0x56ec58(0x119)]({'unitID':_0x5882a6,'undoMutations':_0x30ad9f,'redoMutations':_0xa30931}),!0x0):!0x1;}},_0x273a87={'id':_0x5620be(0x6e),'type':_0x2ab1bf['CommandType'][_0x5620be(0xeb)],'handler':(_0xb4248c,_0xfdc316)=>{const _0x1cd42e=_0x5620be;if(!_0xfdc316)return!0x1;let _0x426ada=(0x0,_0x546899[_0x1cd42e(0xfb)])(_0xb4248c['get'](_0x2ab1bf['IUniverInstanceService']),_0xfdc316);if(!_0x426ada)return!0x1;let {unitId:_0x49788d,subUnitId:_0x1f011a}=_0x426ada;if(!_0x47b2d6(_0xb4248c,_0x49788d,_0x1f011a))return!0x1;let _0x4bf84b=_0xb4248c[_0x1cd42e(0x153)](_0x1b61fb)[_0x1cd42e(0xd5)](_0x49788d,_0x1f011a)['find'](_0x3bced=>_0x3bced['id']===_0xfdc316[_0x1cd42e(0x117)]);if(!_0x4bf84b)return!0x1;let _0x13b716=[{'id':_0x17b725['id'],'params':{'unitId':_0x49788d,'subUnitId':_0x1f011a,'outlineId':_0x4bf84b['id'],'outline':_0x4bf84b}}],_0x1e02a4=[{'id':_0x268621['id'],'params':{'unitId':_0x49788d,'subUnitId':_0x1f011a,'outline':_0x4bf84b}}];return(0x0,_0x2ab1bf['sequenceExecute'])(_0x13b716,_0xb4248c[_0x1cd42e(0x153)](_0x2ab1bf[_0x1cd42e(0x7c)]))['result']?(_0xb4248c['get'](_0x2ab1bf[_0x1cd42e(0x6f)])[_0x1cd42e(0x119)]({'unitID':_0x49788d,'undoMutations':_0x1e02a4,'redoMutations':_0x13b716}),!0x0):!0x1;}},_0xdea63c={'id':_0x5620be(0x126),'type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0x106)],'handler':(_0x355129,_0x116a25)=>{const _0x358e1c=_0x5620be;let _0x1cda06=_0x355129[_0x358e1c(0x153)](_0x1b61fb),_0x33be35=_0x1cda06[_0x358e1c(0xd5)](_0x116a25['unitId'],_0x116a25[_0x358e1c(0x10e)]),_0x78dcd1=_0x33be35[_0x358e1c(0xd1)](_0x3ad3bb=>_0x3ad3bb['id']===_0x116a25[_0x358e1c(0x117)]);return _0x78dcd1&&_0x1cda06[_0x358e1c(0x13d)](_0x116a25[_0x358e1c(0xed)],_0x116a25[_0x358e1c(0x10e)],_0x33be35[_0x358e1c(0x113)](_0x5754e5=>_0x5754e5[_0x358e1c(0xed)]!==_0x78dcd1['unitId']||_0x5754e5[_0x358e1c(0x10e)]!==_0x78dcd1[_0x358e1c(0x10e)]||_0x5754e5[_0x358e1c(0x91)]!==_0x78dcd1[_0x358e1c(0x91)]||_0x5754e5['start']!==_0x78dcd1[_0x358e1c(0x89)]||_0x5754e5['end']!==_0x78dcd1[_0x358e1c(0xf1)]?_0x5754e5:{..._0x5754e5,'collapsed':_0x116a25['collapsed']})),!0x0;}};function _0x4a8d0f(_0x2ba12b,_0xfee323,_0x7e35de,_0x5ef0a7){const _0x2766ed=_0x5620be;return _0x2ba12b===_0x2766ed(0xe4)?{'startRow':_0xfee323,'endRow':_0x7e35de,'startColumn':0x0,'endColumn':_0x5ef0a7['getMaxColumns']()-0x1}:{'startRow':0x0,'endRow':_0x5ef0a7[_0x2766ed(0xfd)]()-0x1,'startColumn':_0xfee323,'endColumn':_0x7e35de};}function _0x735d8f(_0xfce4b3){const _0x354fd8=_0x5620be;return _0xfce4b3===_0x354fd8(0xe4)?_0x546899[_0x354fd8(0xe0)]['id']:_0x546899[_0x354fd8(0xc5)]['id'];}function _0x3b61de(_0xd1de70){const _0x56e8fd=_0x5620be;return _0xd1de70===_0x56e8fd(0xe4)?_0x546899[_0x56e8fd(0x95)]['id']:_0x546899['SetColVisibleMutation']['id'];}function _0x1910bc(_0x253d75,_0x43890a,_0x1c64b0,_0x23b09b){const _0x25ee7e=_0x5620be;let _0x128cda=_0x43890a?[_0x4a8d0f(_0x253d75[_0x25ee7e(0x91)],_0x253d75[_0x25ee7e(0x89)],_0x253d75[_0x25ee7e(0xf1)],_0x1c64b0)]:_0x1125d8(_0x253d75,_0x23b09b,_0x1c64b0),_0x2b91e6=_0x43890a?_0x735d8f(_0x253d75['axis']):_0x3b61de(_0x253d75[_0x25ee7e(0x91)]);return[{'id':_0xdea63c['id'],'params':{'unitId':_0x253d75[_0x25ee7e(0xed)],'subUnitId':_0x253d75[_0x25ee7e(0x10e)],'outlineId':_0x253d75['id'],'outline':_0x253d75,'collapsed':_0x43890a}},..._0x128cda['map'](_0x6a8f5c=>({'id':_0x2b91e6,'params':{'unitId':_0x253d75[_0x25ee7e(0xed)],'subUnitId':_0x253d75[_0x25ee7e(0x10e)],'ranges':[_0x6a8f5c],'dimensionOutlineId':_0x253d75['id']}}))];}function _0x1125d8(_0x59dc50,_0x17ddb9,_0x5e56aa){const _0xe424c6=_0x5620be;let _0x4c15fe=_0x681375(_0x17ddb9[_0xe424c6(0x113)](_0x4b5df8=>_0x34a9c(_0x4b5df8,_0x59dc50)?{..._0x4b5df8,'collapsed':!0x1}:_0x4b5df8),_0x59dc50['unitId'],_0x59dc50[_0xe424c6(0x10e)],_0x59dc50[_0xe424c6(0x91)]);return _0x370606({'start':_0x59dc50[_0xe424c6(0x89)],'end':_0x59dc50['end']},_0x4c15fe)['map'](_0x3b08fe=>_0x4a8d0f(_0x59dc50['axis'],_0x3b08fe['start'],_0x3b08fe['end'],_0x5e56aa));}function _0x34a9c(_0x4ad2ad,_0x4a7f7a){const _0x544f52=_0x5620be;return _0x4ad2ad['unitId']===_0x4a7f7a[_0x544f52(0xed)]&&_0x4ad2ad['subUnitId']===_0x4a7f7a[_0x544f52(0x10e)]&&_0x4ad2ad[_0x544f52(0x91)]===_0x4a7f7a[_0x544f52(0x91)]&&_0x4ad2ad[_0x544f52(0x89)]===_0x4a7f7a[_0x544f52(0x89)]&&_0x4ad2ad['end']===_0x4a7f7a[_0x544f52(0xf1)];}function _0x370606(_0x404458,_0x493c71){const _0x206b19=_0x5620be;let _0x7ff25=_0x404458[_0x206b19(0x89)],_0x5bcfb5=[];for(let _0x371b46 of _0x493c71)if(!(_0x371b46['end']<_0x7ff25||_0x371b46[_0x206b19(0x89)]>_0x404458[_0x206b19(0xf1)])&&(_0x371b46[_0x206b19(0x89)]>_0x7ff25&&_0x5bcfb5['push']({'start':_0x7ff25,'end':Math[_0x206b19(0x128)](_0x371b46[_0x206b19(0x89)]-0x1,_0x404458[_0x206b19(0xf1)])}),_0x7ff25=Math[_0x206b19(0xc2)](_0x7ff25,_0x371b46['end']+0x1),_0x7ff25>_0x404458[_0x206b19(0xf1)]))break;return _0x7ff25<=_0x404458['end']&&_0x5bcfb5[_0x206b19(0x11e)]({'start':_0x7ff25,'end':_0x404458[_0x206b19(0xf1)]}),_0x5bcfb5;}let _0x2bcdab={'id':_0x5620be(0x110),'type':_0x2ab1bf[_0x5620be(0x14a)]['COMMAND'],'handler':(_0x1e18ea,_0x3147eb)=>{const _0x24edbf=_0x5620be;if(!_0x3147eb)return!0x1;let _0x9679dc=(0x0,_0x546899['getSheetCommandTarget'])(_0x1e18ea[_0x24edbf(0x153)](_0x2ab1bf[_0x24edbf(0x7e)]),_0x3147eb);if(!_0x9679dc)return!0x1;let {unitId:_0x53da8a,subUnitId:_0x497bab,worksheet:_0xfcf5da}=_0x9679dc;if(!_0x47b2d6(_0x1e18ea,_0x53da8a,_0x497bab))return!0x1;let _0x5dfa2a=_0x1e18ea['get'](_0x1b61fb)['getOutlines'](_0x53da8a,_0x497bab),_0x84d579=_0x5dfa2a['find'](_0x932ad5=>_0x932ad5['id']===_0x3147eb[_0x24edbf(0x117)]);if(!_0x84d579||_0x84d579[_0x24edbf(0x107)]===_0x3147eb[_0x24edbf(0x107)])return!0x1;let _0x55302b=_0x1910bc(_0x84d579,_0x3147eb[_0x24edbf(0x107)],_0xfcf5da,_0x5dfa2a),_0x414a9b=_0x1910bc(_0x84d579,!_0x3147eb[_0x24edbf(0x107)],_0xfcf5da,_0x5dfa2a);return(0x0,_0x2ab1bf['sequenceExecute'])(_0x55302b,_0x1e18ea[_0x24edbf(0x153)](_0x2ab1bf[_0x24edbf(0x7c)]))[_0x24edbf(0x8f)]?(_0x1e18ea[_0x24edbf(0x153)](_0x2ab1bf['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x53da8a,'undoMutations':_0x414a9b,'redoMutations':_0x55302b}),!0x0):!0x1;}},_0x250538={'id':'sheet.mutation.transform-dimension-outlines','type':_0x2ab1bf[_0x5620be(0x14a)][_0x5620be(0x106)],'handler':(_0x1d4bbe,_0x406adf)=>{const _0x548219=_0x5620be;let _0x24e2eb=_0x1d4bbe[_0x548219(0x153)](_0x1b61fb),_0x52aae6=_0x2ade2b(_0x24e2eb[_0x548219(0xd5)](_0x406adf[_0x548219(0xed)],_0x406adf['subUnitId']),_0x406adf);return _0x24e2eb[_0x548219(0x13d)](_0x406adf['unitId'],_0x406adf[_0x548219(0x10e)],_0x52aae6),!0x0;}};function _0x2ade2b(_0x572983,_0xba54f){const _0xf5b81=_0x5620be;switch(_0xba54f[_0xf5b81(0x11c)]){case _0xf5b81(0x150):return _0xba54f[_0xf5b81(0x9d)]?_0x33eaca(_0x572983,_0xba54f):_0x55ed44(_0x572983,_0xba54f);case'delete':return _0x2a321c(_0x572983,_0xba54f);case'move':return _0x48e7c8(_0x572983,_0xba54f);}}function _0x33eaca(_0x16f204,_0x2eb4b8){const _0x2251c6=_0x5620be;return[..._0x16f204[_0x2251c6(0xa5)](_0x39898f=>_0x39898f[_0x2251c6(0xed)]!==_0x2eb4b8[_0x2251c6(0xed)]||_0x39898f[_0x2251c6(0x10e)]!==_0x2eb4b8[_0x2251c6(0x10e)]||_0x39898f[_0x2251c6(0x91)]!==_0x2eb4b8[_0x2251c6(0x91)]),..._0x2eb4b8[_0x2251c6(0x9d)]];}let _0x2eb5c7='SHEET_OUTLINE_PLUGIN',_0x1f69e1=_0x5620be(0x13e),_0x376a22={};var _0x3aaf6f=_0x5620be(0x7b),_0x1f0133='1.0.0-alpha.2';function _0x32105f(_0x55b7a8,_0x156be0){return function(_0x5e2d61,_0x18cb66){_0x156be0(_0x5e2d61,_0x18cb66,_0x55b7a8);};}function _0x1ea77b(_0x4a0d69,_0x47bcb4,_0x3d2525,_0x3f3d5e){const _0x2c479c=_0x5620be;var _0x1e9275=arguments['length'],_0x49cd06=_0x1e9275<0x3?_0x47bcb4:_0x3f3d5e===null?_0x3f3d5e=Object[_0x2c479c(0x109)](_0x47bcb4,_0x3d2525):_0x3f3d5e,_0x54e578;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x49cd06=Reflect[_0x2c479c(0x96)](_0x4a0d69,_0x47bcb4,_0x3d2525,_0x3f3d5e);else{for(var _0x1f4cac=_0x4a0d69[_0x2c479c(0x149)]-0x1;_0x1f4cac>=0x0;_0x1f4cac--)(_0x54e578=_0x4a0d69[_0x1f4cac])&&(_0x49cd06=(_0x1e9275<0x3?_0x54e578(_0x49cd06):_0x1e9275>0x3?_0x54e578(_0x47bcb4,_0x3d2525,_0x49cd06):_0x54e578(_0x47bcb4,_0x3d2525))||_0x49cd06);}return _0x1e9275>0x3&&_0x49cd06&&Object[_0x2c479c(0x104)](_0x47bcb4,_0x3d2525,_0x49cd06),_0x49cd06;}let _0x3f8ec9={'redos':[],'undos':[],'preRedos':[],'preUndos':[]},_0x173540=class extends _0x2ab1bf[_0x5620be(0xce)]{constructor(_0x1780d9,_0x5c1b95,_0x4dde98,_0x523ddc){const _0x1d12ad=_0x5620be;super(),this['_univerInstanceService']=_0x1780d9,this['_sheetInterceptorService']=_0x5c1b95,this[_0x1d12ad(0x151)]=_0x4dde98,this['_sheetsOutlineErrorService']=_0x523ddc,this[_0x1d12ad(0x118)]();}['_initCommandInterceptor'](){const _0x4145a9=_0x5620be;this[_0x4145a9(0x154)](this[_0x4145a9(0xde)]['interceptCommand']({'getMutations':_0x1b889c=>_0x2d50fa(_0x1b889c,(_0x317b0e,_0x1136d2)=>this[_0x4145a9(0x151)][_0x4145a9(0xd5)](_0x317b0e,_0x1136d2),this[_0x4145a9(0xb2)](_0x1b889c[_0x4145a9(0xdf)]),_0x2bb192=>this[_0x4145a9(0xa1)][_0x4145a9(0x8d)](_0x2bb192))}));}[_0x5620be(0xb2)](_0x572a5b){const _0x50ed9b=_0x5620be;let _0x4cc3d4=_0x572a5b,_0x35a730=_0x4cc3d4!=null&&_0x4cc3d4[_0x50ed9b(0xed)]?this['_univerInstanceService']['getUniverSheetInstance'](_0x4cc3d4['unitId']):this[_0x50ed9b(0x138)][_0x50ed9b(0xc1)](_0x2ab1bf[_0x50ed9b(0x148)]['UNIVER_SHEET']);if(!_0x35a730)return;let _0x590e75=_0x4cc3d4!=null&&_0x4cc3d4[_0x50ed9b(0x10e)]?_0x35a730[_0x50ed9b(0x125)](_0x4cc3d4[_0x50ed9b(0x10e)]):_0x35a730[_0x50ed9b(0x9c)]();if(_0x590e75)return{'unitId':_0x35a730[_0x50ed9b(0x120)](),'subUnitId':_0x590e75[_0x50ed9b(0x127)]()};}};_0x173540=_0x1ea77b([_0x32105f(0x0,_0x2ab1bf[_0x5620be(0x7e)]),_0x32105f(0x1,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x546899['SheetInterceptorService'])),_0x32105f(0x2,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x1b61fb)),_0x32105f(0x3,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x1291f3))],_0x173540);function _0x2d50fa(_0xa7c494,_0x503e47,_0x3e3a86,_0x1a2cd2){const _0x3cfe40=_0x5620be;let _0x3e37d7=_0x8ea699(_0xa7c494,_0x3e3a86);if(!_0x3e37d7)return _0x286830();let _0x94d517=_0x503e47(_0x3e37d7[_0x3cfe40(0xed)],_0x3e37d7['subUnitId']);if(!_0x94d517[_0x3cfe40(0x14e)](_0x41d6d8=>_0x41d6d8[_0x3cfe40(0x91)]===_0x3e37d7[_0x3cfe40(0x91)]))return _0x286830();_0xa0bb5b(_0x94d517,_0x3e37d7,_0xa7c494['id'],_0x1a2cd2);let _0x1fd11b=_0x4c03cb(_0x3e37d7,_0x94d517);return{'redos':[{'id':_0x250538['id'],'params':_0x3e37d7}],'undos':[{'id':_0x250538['id'],'params':_0x1fd11b}],'preRedos':[],'preUndos':[]};}function _0xa0bb5b(_0x5489d9,_0x30f337,_0x4a1218,_0x1c12b9){const _0x3470dc=_0x5620be;try{switch(_0x30f337[_0x3470dc(0x11c)]){case _0x3470dc(0x150):_0x55ed44(_0x5489d9,_0x30f337);break;case _0x3470dc(0xa9):_0x2a321c(_0x5489d9,_0x30f337);break;case _0x3470dc(0x10d):_0x48e7c8(_0x5489d9,_0x30f337);break;}}catch(_0x116dea){throw _0x1c12b9==null||_0x1c12b9({'reason':_0x550ff3(_0x116dea),'commandId':_0x4a1218,'unitId':_0x30f337[_0x3470dc(0xed)],'subUnitId':_0x30f337[_0x3470dc(0x10e)],'axis':_0x30f337[_0x3470dc(0x91)],'outlineId':_0x5bf7e4(_0x116dea)}),new _0x2ab1bf[(_0x3470dc(0x10b))](_0x116dea instanceof Error?_0x116dea[_0x3470dc(0x133)]:_0x3470dc(0x8e));}}function _0x8ea699(_0x28276c,_0x5e3438){const _0x3a0fb2=_0x5620be;switch(_0x28276c['id']){case _0x546899[_0x3a0fb2(0x13c)]['id']:return _0x199134(_0x28276c[_0x3a0fb2(0xdf)],_0x3a0fb2(0xe4),_0x5e3438);case _0x546899[_0x3a0fb2(0x86)]['id']:return _0x199134(_0x28276c['params'],_0x3a0fb2(0x147),_0x5e3438);case _0x546899[_0x3a0fb2(0xa4)]['id']:return _0x6dc0b0(_0x28276c[_0x3a0fb2(0xdf)],_0x3a0fb2(0xe4),_0x5e3438);case _0x546899[_0x3a0fb2(0xb1)]['id']:return _0x6dc0b0(_0x28276c[_0x3a0fb2(0xdf)],'column',_0x5e3438);case _0x546899[_0x3a0fb2(0xb7)]['id']:return _0x17e76f(_0x28276c['params'],_0x3a0fb2(0xe4),_0x5e3438);case _0x546899[_0x3a0fb2(0xef)]['id']:return _0x17e76f(_0x28276c[_0x3a0fb2(0xdf)],'column',_0x5e3438);default:return null;}}function _0x199134(_0x2601cf,_0x53e4d3,_0x3828ca){const _0x595226=_0x5620be;let _0xa33d9c=_0x3a5aa2(_0x2601cf,_0x3828ca);if(!(_0x2601cf!=null&&_0x2601cf[_0x595226(0x145)])||!_0xa33d9c)return null;let _0x526a60=_0x53e4d3===_0x595226(0xe4)?_0x2601cf[_0x595226(0x145)][_0x595226(0x12d)]:_0x2601cf[_0x595226(0x145)][_0x595226(0xe5)],_0xe6ec2d=_0x53e4d3===_0x595226(0xe4)?_0x2601cf['range'][_0x595226(0x140)]:_0x2601cf[_0x595226(0x145)]['endColumn'];return{..._0xa33d9c,'axis':_0x53e4d3,'type':'insert','index':_0x526a60,'count':_0xe6ec2d-_0x526a60+0x1};}function _0x6dc0b0(_0x1bf228,_0x6aac5a,_0x5a0e20){const _0x2a1f99=_0x5620be;let _0x68a68=_0x3a5aa2(_0x1bf228,_0x5a0e20);if(!(_0x1bf228!=null&&_0x1bf228[_0x2a1f99(0x145)])||!_0x68a68)return null;let _0x192537=_0x6aac5a===_0x2a1f99(0xe4)?_0x1bf228['range'][_0x2a1f99(0x12d)]:_0x1bf228[_0x2a1f99(0x145)][_0x2a1f99(0xe5)],_0x479f6c=_0x6aac5a===_0x2a1f99(0xe4)?_0x1bf228[_0x2a1f99(0x145)][_0x2a1f99(0x140)]:_0x1bf228['range'][_0x2a1f99(0x122)];return{..._0x68a68,'axis':_0x6aac5a,'type':_0x2a1f99(0xa9),'start':_0x192537,'end':_0x479f6c};}function _0x17e76f(_0x2f3b0c,_0x5bb2a5,_0x926a8a){const _0x3f78cb=_0x5620be;let _0x15d5a8=_0x3a5aa2(_0x2f3b0c,_0x926a8a);if(!(_0x2f3b0c!=null&&_0x2f3b0c[_0x3f78cb(0x81)])||!_0x2f3b0c['toRange']||!_0x15d5a8)return null;let _0x2ee881=_0x5bb2a5===_0x3f78cb(0xe4)?_0x2f3b0c[_0x3f78cb(0x81)][_0x3f78cb(0x12d)]:_0x2f3b0c['fromRange'][_0x3f78cb(0xe5)],_0xdd0a26=_0x5bb2a5===_0x3f78cb(0xe4)?_0x2f3b0c[_0x3f78cb(0x81)][_0x3f78cb(0x140)]:_0x2f3b0c['fromRange']['endColumn'],_0x548b49=_0x5bb2a5===_0x3f78cb(0xe4)?_0x2f3b0c[_0x3f78cb(0x112)]['startRow']:_0x2f3b0c[_0x3f78cb(0x112)][_0x3f78cb(0xe5)];return{..._0x15d5a8,'axis':_0x5bb2a5,'type':_0x3f78cb(0x10d),'sourceStart':_0x2ee881,'sourceEnd':_0xdd0a26,'destinationIndex':_0x548b49};}function _0x4c03cb(_0x38a7a4,_0x51e710){const _0x4e06fe=_0x5620be;switch(_0x38a7a4[_0x4e06fe(0x11c)]){case'insert':return{'unitId':_0x38a7a4[_0x4e06fe(0xed)],'subUnitId':_0x38a7a4[_0x4e06fe(0x10e)],'axis':_0x38a7a4[_0x4e06fe(0x91)],'type':_0x4e06fe(0xa9),'start':_0x38a7a4[_0x4e06fe(0xd0)],'end':_0x38a7a4[_0x4e06fe(0xd0)]+_0x38a7a4[_0x4e06fe(0xb3)]-0x1};case'delete':return{'unitId':_0x38a7a4[_0x4e06fe(0xed)],'subUnitId':_0x38a7a4[_0x4e06fe(0x10e)],'axis':_0x38a7a4['axis'],'type':_0x4e06fe(0x150),'index':_0x38a7a4['start'],'count':_0x38a7a4[_0x4e06fe(0xf1)]-_0x38a7a4[_0x4e06fe(0x89)]+0x1,'restoreOutlines':_0x51e710[_0x4e06fe(0xa5)](_0x23590e=>_0x23590e['unitId']===_0x38a7a4['unitId']&&_0x23590e[_0x4e06fe(0x10e)]===_0x38a7a4['subUnitId']&&_0x23590e[_0x4e06fe(0x91)]===_0x38a7a4[_0x4e06fe(0x91)])};case'move':return _0x28c107(_0x38a7a4);}}function _0x28c107(_0x6625c4){const _0x514fe7=_0x5620be;let _0x3e641b=_0x6625c4['sourceEnd']-_0x6625c4[_0x514fe7(0xcf)]+0x1;return _0x6625c4['destinationIndex']>=_0x6625c4['sourceStart']&&_0x6625c4[_0x514fe7(0x108)]<=_0x6625c4[_0x514fe7(0x105)]+0x1?{..._0x6625c4}:_0x6625c4[_0x514fe7(0x108)]>_0x6625c4[_0x514fe7(0x105)]+0x1?{..._0x6625c4,'sourceStart':_0x6625c4['destinationIndex']-_0x3e641b,'sourceEnd':_0x6625c4[_0x514fe7(0x108)]-0x1,'destinationIndex':_0x6625c4[_0x514fe7(0xcf)]}:{..._0x6625c4,'sourceStart':_0x6625c4[_0x514fe7(0x108)],'sourceEnd':_0x6625c4[_0x514fe7(0x108)]+_0x3e641b-0x1,'destinationIndex':_0x6625c4[_0x514fe7(0x105)]+0x1};}function _0x3a5aa2(_0x39a453,_0x117cb3){const _0x5ab248=_0x5620be;var _0x5bfd61,_0xa8a656;let _0x5234a7=(_0x5bfd61=_0x39a453==null?void 0x0:_0x39a453[_0x5ab248(0xed)])==null?_0x117cb3==null?void 0x0:_0x117cb3[_0x5ab248(0xed)]:_0x5bfd61,_0x127894=(_0xa8a656=_0x39a453==null?void 0x0:_0x39a453[_0x5ab248(0x10e)])==null?_0x117cb3==null?void 0x0:_0x117cb3['subUnitId']:_0xa8a656;return _0x5234a7&&_0x127894?{'unitId':_0x5234a7,'subUnitId':_0x127894}:null;}function _0x286830(){const _0x3aea3a=_0x5620be;var _0x21a4a6,_0x4c4457;return{'redos':[..._0x3f8ec9[_0x3aea3a(0xe3)]],'undos':[..._0x3f8ec9[_0x3aea3a(0x146)]],'preRedos':[...(_0x21a4a6=_0x3f8ec9[_0x3aea3a(0xf7)])==null?[]:_0x21a4a6],'preUndos':[...(_0x4c4457=_0x3f8ec9[_0x3aea3a(0x87)])==null?[]:_0x4c4457]};}let _0x13434a=class extends _0x2ab1bf[_0x5620be(0xce)]{constructor(_0x5c9e41,_0x341d5a){const _0x2a9c6e=_0x5620be;super(),this[_0x2a9c6e(0x7f)]=_0x5c9e41,this[_0x2a9c6e(0x151)]=_0x341d5a,this[_0x2a9c6e(0x83)]();}[_0x5620be(0x83)](){const _0x2e1d7c=_0x5620be;this[_0x2e1d7c(0x154)](this[_0x2e1d7c(0x7f)][_0x2e1d7c(0xea)]({'pluginName':_0x2eb5c7,'businesses':[_0x2ab1bf[_0x2e1d7c(0x148)]['UNIVER_SHEET']],'toJson':_0x19a366=>JSON['stringify'](this[_0x2e1d7c(0x151)][_0x2e1d7c(0x76)](_0x19a366)),'parseJson':_0x2ea739=>JSON[_0x2e1d7c(0xd4)](_0x2ea739),'onLoad':(_0xae8731,_0x532970)=>this['_sheetsOutlineModel'][_0x2e1d7c(0x12e)](_0xae8731,_0x532970),'onUnLoad':_0x1fae07=>this[_0x2e1d7c(0x151)][_0x2e1d7c(0x93)](_0x1fae07)}));}};_0x13434a=_0x1ea77b([_0x32105f(0x0,_0x2ab1bf[_0x5620be(0x88)]),_0x32105f(0x1,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x1b61fb))],_0x13434a);let _0x379b04=class extends _0x2ab1bf[_0x5620be(0xe7)]{constructor(_0x3de181=_0x376a22,_0x10c070,_0x103420,_0xebb75f){const _0x5d9fef=_0x5620be;super(),this['_config']=_0x3de181,this['_injector']=_0x10c070,this['_commandService']=_0x103420,this[_0x5d9fef(0xaf)]=_0xebb75f;let {..._0x4298a8}=(0x0,_0x2ab1bf[_0x5d9fef(0xcd)])({},_0x376a22,this[_0x5d9fef(0xac)]);this[_0x5d9fef(0xaf)]['setConfig'](_0x1f69e1,_0x4298a8);}[_0x5620be(0xf4)](){const _0x37d2c9=_0x5620be;this[_0x37d2c9(0x97)][_0x37d2c9(0x135)]([_0x1b61fb]),this[_0x37d2c9(0x97)]['add']([_0x1291f3]),this[_0x37d2c9(0x97)][_0x37d2c9(0x135)]([_0x13434a]),this['_injector'][_0x37d2c9(0x135)]([_0x173540]),this[_0x37d2c9(0x134)](),this['_injector'][_0x37d2c9(0x153)](_0x1b61fb),this[_0x37d2c9(0x97)]['get'](_0x1291f3),this[_0x37d2c9(0x97)][_0x37d2c9(0x153)](_0x13434a),this[_0x37d2c9(0x97)][_0x37d2c9(0x153)](_0x173540);}['_initRegisterCommand'](){const _0x3711ce=_0x5620be;[_0x519ae0,_0x273a87,_0x2bcdab,_0x1104e3][_0x3711ce(0xb6)](_0x17dcea=>{const _0x748e28=_0x3711ce;this['disposeWithMe'](this[_0x748e28(0x13f)]['registerCommand'](_0x17dcea));}),[_0x268621,_0x17b725,_0xdea63c,_0x5d6123,_0x250538]['forEach'](_0x28d4fe=>{const _0x4b9e08=_0x3711ce;this[_0x4b9e08(0x154)](this[_0x4b9e08(0x13f)][_0x4b9e08(0x9e)](_0x28d4fe));});}};_0x11b0f0(_0x379b04,_0x5620be(0xbf),_0x2eb5c7),_0x11b0f0(_0x379b04,'packageName',_0x3aaf6f),_0x11b0f0(_0x379b04,_0x5620be(0x94),_0x1f0133),_0x11b0f0(_0x379b04,_0x5620be(0x11c),_0x2ab1bf[_0x5620be(0x148)][_0x5620be(0x136)]),_0x379b04=_0x1ea77b([(0x0,_0x2ab1bf[_0x5620be(0xd8)])(_0x5569bc['UniverLicensePlugin']),_0x32105f(0x1,(0x0,_0x2ab1bf[_0x5620be(0x14b)])(_0x2ab1bf[_0x5620be(0x141)])),_0x32105f(0x2,_0x2ab1bf[_0x5620be(0x7c)]),_0x32105f(0x3,_0x2ab1bf[_0x5620be(0x9a)])],_0x379b04),_0x493428['AddDimensionOutlineCommand']=_0x519ae0,_0x493428[_0x5620be(0xa3)]=_0x268621,_0x493428[_0x5620be(0x74)]=_0x1104e3,_0x493428[_0x5620be(0x102)]=_0x5d6123,_0x493428['DimensionOutlineAxis']=_0x1c8aac,_0x493428[_0x5620be(0x132)]=_0x235131,_0x493428[_0x5620be(0x143)]=_0x2aa457,_0x493428[_0x5620be(0x111)]=_0x273a87,_0x493428[_0x5620be(0xc9)]=_0x17b725,_0x493428[_0x5620be(0x11f)]=_0x1f69e1,_0x493428[_0x5620be(0xff)]=_0x2eb5c7,_0x493428[_0x5620be(0xc0)]=_0x2bcdab,_0x493428[_0x5620be(0xfa)]=_0xdea63c,_0x493428[_0x5620be(0x103)]=_0x1291f3,_0x493428[_0x5620be(0xb0)]=_0x1b61fb,_0x493428[_0x5620be(0x84)]=_0x250538,Object['defineProperty'](_0x493428,_0x5620be(0x121),{'enumerable':!0x0,'get':function(){return _0x379b04;}}),_0x493428[_0x5620be(0x9f)]=_0x4a264e,_0x493428[_0x5620be(0x155)]=_0x3c998f,_0x493428[_0x5620be(0xa8)]=_0x681375,_0x493428[_0x5620be(0xf0)]=_0x152898,_0x493428[_0x5620be(0xbc)]=_0x32b5d4,_0x493428[_0x5620be(0xab)]=_0x5bf7e4,_0x493428[_0x5620be(0x78)]=_0x550ff3,_0x493428['getDimensionOutlineViewPermission$']=_0x1f9932,_0x493428[_0x5620be(0x152)]=_0x47b2d6,_0x493428[_0x5620be(0x144)]=_0x1e24d7,_0x493428[_0x5620be(0x8a)]=_0x2a321c,_0x493428[_0x5620be(0xf3)]=_0x55ed44,_0x493428[_0x5620be(0xc4)]=_0x48e7c8;}));function _0x1ba4(){const _0x446811=['IUndoRedoService','permissionCheckWithoutRange','iterator','valid','function','ClearDimensionOutlinesCommand','Module','serialize','@univerjs-pro/license','getDimensionOutlineErrorReason','_error$','startWith','@univerjs-pro/sheets-outline','ICommandService','rxjs/operators','IUniverInstanceService','_resourceManagerService','name','fromRange','outlineList','_initResource','TransformDimensionOutlinesMutation','unknown','InsertColCommand','preUndos','IResourceManagerService','start','transformOutlinesByDelete','63188LbloCk','COLUMN','emit','Invalid\x20dimension\x20outline\x20mutation','result','sheet.mutation.clear-dimension-outlines','axis','getUnitOutlines','removeUnit','version','SetRowVisibleMutation','decorate','_injector','sequenceExecute','IPermissionService','IConfigService','Crossing','getActiveSheet','restoreOutlines','registerCommand','addDimensionOutlineToList','pop','_sheetsOutlineErrorService','7153008qWZymD','AddDimensionOutlineMutation','RemoveRowCommand','filter','outline','INVALID_RANGE','buildHiddenRanges','delete','split','getDimensionOutlineErrorOutlineId','_config','sheet.command.clear-dimension-outlines','UniverProSheetsOutline','_configService','SheetsOutlineModel','RemoveColCommand','_getCommandScope','count','crossing','call','forEach','MoveRowsCommand','Invalid\x20outline\x20range','debounceTime','invalid-dimension-outline','479406kjtgMf','clearDimensionOutlinesInRange','prototype','3983910zSNqKM','pluginName','SetDimensionOutlineCollapsedCommand','getCurrentUnitOfType','max','UniverCore','transformOutlinesByMove','SetColHiddenMutation','_ensureUnitOutlines','object','204rckUTO','RemoveDimensionOutlineMutation','653292zTUqSC','values','toStringTag','merge','Disposable','sourceStart','index','find','OUT_OF_BOUNDS','@univerjs/sheets','parse','getOutlines','symbol','includes','DependentOn','max-depth','complete','default','next','depth','_sheetInterceptorService','params','SetRowHiddenMutation','change$','SheetPermissionCheckController','redos','row','startColumn','rxjs','Plugin','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','registerPluginResource','COMMAND','sheet.mutation.add-dimension-outline','unitId','toPrimitive','MoveColsCommand','canAddDimensionOutline','end','maxIndex','transformOutlinesByInsert','onStarting','children','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','preRedos','Move\x20would\x20split\x20dimension\x20outline:\x20','generateRandomId','SetDimensionOutlineCollapsedMutation','getSheetCommandTarget','WorkbookViewPermission','getRowCount','has','SHEET_OUTLINE_PLUGIN','pipe','amd','ClearDimensionOutlinesMutation','SheetsOutlineErrorService','defineProperty','sourceEnd','MUTATION','collapsed','destinationIndex','getOwnPropertyDescriptor','18798610ufciCO','CustomCommandExecutionError','move-splits-outline','move','subUnitId','dispose','sheet.command.set-dimension-outline-collapsed','RemoveDimensionOutlineCommand','toRange','map','9qJdDKe','WorksheetViewPermission','sheet.mutation.remove-dimension-outline','outlineId','_initCommandInterceptor','pushUndoRedo','operators','error$','type','_outlines','push','SHEETS_OUTLINE_PLUGIN_CONFIG_KEY','getUnitId','UniverSheetsOutlinePlugin','endColumn','1322586MmpKTP','sheet.command.add-dimension-outline','getSheetBySheetId','sheet.mutation.set-dimension-outline-collapsed','getSheetId','min','mergedOutlines','invalid-range','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','constructor','startRow','deserialize','join','out-of-bounds','offset','DimensionOutlineError','message','_initRegisterCommand','add','UNIVER_SHEET','localeCompare','_univerInstanceService','asObservable','5VcdEle','sort','InsertRowCommand','setOutlines','sheets-outline.config','_commandService','endRow','Injector','set','DimensionOutlineErrorReason','mergeRanges','range','undos','column','UniverInstanceType','length','CommandType','Inject','_change$','exports','some','reason','insert','_sheetsOutlineModel','hasDimensionOutlineViewPermission','get','disposeWithMe','buildDimensionOutlineTree','UniverSheets','string','sheet.command.remove-dimension-outline'];_0x1ba4=function(){return _0x446811;};return _0x1ba4();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/sheets-outline",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Dimension outline model integration for Univer Sheets.",
|
|
6
6
|
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"rxjs": ">=7.0.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@univerjs-pro/license": "1.0.0-alpha.
|
|
65
|
-
"@univerjs/core": "1.0.0-alpha.
|
|
66
|
-
"@univerjs/sheets": "1.0.0-alpha.
|
|
64
|
+
"@univerjs-pro/license": "1.0.0-alpha.2",
|
|
65
|
+
"@univerjs/core": "1.0.0-alpha.2",
|
|
66
|
+
"@univerjs/sheets": "1.0.0-alpha.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"rxjs": "7.8.2",
|
|
70
70
|
"typescript": "^6.0.3",
|
|
71
71
|
"vitest": "^4.1.9",
|
|
72
|
-
"@univerjs-infra/shared": "1.0.0-alpha.
|
|
72
|
+
"@univerjs-infra/shared": "1.0.0-alpha.2"
|
|
73
73
|
},
|
|
74
74
|
"scripts": {
|
|
75
75
|
"test": "vitest run",
|