@univerjs-pro/sheets-outline 1.0.0-alpha.2 → 1.0.0-alpha.4

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/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x297cae=_0x2690;(function(_0x18e8e7,_0x423e00){var _0x465c3e=_0x2690,_0x42828f=_0x18e8e7();while(!![]){try{var _0x2fddd7=-parseInt(_0x465c3e(0x1d3))/0x1+parseInt(_0x465c3e(0x1cd))/0x2+-parseInt(_0x465c3e(0x1df))/0x3+-parseInt(_0x465c3e(0x1c7))/0x4*(parseInt(_0x465c3e(0x1e2))/0x5)+-parseInt(_0x465c3e(0x1d8))/0x6*(-parseInt(_0x465c3e(0x1db))/0x7)+-parseInt(_0x465c3e(0x1ce))/0x8+-parseInt(_0x465c3e(0x1de))/0x9*(-parseInt(_0x465c3e(0x1d4))/0xa);if(_0x2fddd7===_0x423e00)break;else _0x42828f['push'](_0x42828f['shift']());}catch(_0x1779b2){_0x42828f['push'](_0x42828f['shift']());}}}(_0x5bd9,0xd121b));import{AddDimensionOutlineCommand as _0x4159c7,ClearDimensionOutlinesCommand as _0x562805,DimensionOutlineAxis as _0x27a999,DimensionOutlineErrorReason as _0x45e0fb,RemoveDimensionOutlineCommand as _0xf8656,SetDimensionOutlineCollapsedCommand as _0x10c969,SheetsOutlineModel as _0x4095b5}from'@univerjs-pro/sheets-outline';import{FEnum as _0x451298}from'@univerjs/core/facade';import{FWorksheet as _0x567cbd}from'@univerjs/sheets/facade';function _0x2690(_0x2e740e,_0x32d507){_0x2e740e=_0x2e740e-0x1c7;var _0x5bd99b=_0x5bd9();var _0x2690bf=_0x5bd99b[_0x2e740e];return _0x2690bf;}var l=class extends _0x451298{get['DimensionOutlineAxis'](){return _0x27a999;}get[_0x297cae(0x1d7)](){return _0x45e0fb;}};function _0x5bd9(){var _0x4c5ff0=['_addDimensionOutline','_workbook','1442wlVlHa','_injector','addColumnOutline','10291887QJUDcs','3014775QPZeXg','get','filter','1490UlRBlY','ROW','getOutlines','2048OSIjtw','getUnitId','syncExecuteCommand','setDimensionOutlineCollapsed','_commandService','COLUMN','577640cyZnQc','3990080biIYSm','axis','addRowOutline','getDimensionOutlines','getSheetId','534539miLPEb','10EzBSHX','_worksheet','extend','DimensionOutlineErrorReason','47040VSFGxs'];_0x5bd9=function(){return _0x4c5ff0;};return _0x5bd9();}_0x451298[_0x297cae(0x1d6)](l);var u=class extends _0x567cbd{[_0x297cae(0x1d0)](_0x9060cd,_0x4c86f8){var _0x12d613=_0x297cae;return this[_0x12d613(0x1d9)](_0x27a999[_0x12d613(0x1e3)],_0x9060cd,_0x4c86f8);}[_0x297cae(0x1dd)](_0x224962,_0x3fe1a7){var _0x548bd4=_0x297cae;return this['_addDimensionOutline'](_0x27a999[_0x548bd4(0x1cc)],_0x224962,_0x3fe1a7);}['removeDimensionOutline'](_0x545f96){var _0x9f11c4=_0x297cae;return this[_0x9f11c4(0x1cb)]['syncExecuteCommand'](_0xf8656['id'],{'unitId':this['_workbook'][_0x9f11c4(0x1c8)](),'subUnitId':this['_worksheet'][_0x9f11c4(0x1d2)](),'outlineId':_0x545f96}),this;}[_0x297cae(0x1ca)](_0x3474df,_0x76cdc7){var _0x42ec0e=_0x297cae;return this[_0x42ec0e(0x1cb)][_0x42ec0e(0x1c9)](_0x10c969['id'],{'unitId':this['_workbook'][_0x42ec0e(0x1c8)](),'subUnitId':this['_worksheet']['getSheetId'](),'outlineId':_0x3474df,'collapsed':_0x76cdc7}),this;}['clearDimensionOutlines'](_0x363053,_0x4aa6c3,_0x137d34){var _0x475d14=_0x297cae;return this[_0x475d14(0x1cb)][_0x475d14(0x1c9)](_0x562805['id'],{'unitId':this[_0x475d14(0x1da)]['getUnitId'](),'subUnitId':this[_0x475d14(0x1d5)][_0x475d14(0x1d2)](),'axis':_0x363053,'start':_0x4aa6c3,'end':_0x137d34}),this;}[_0x297cae(0x1d1)](_0x29fb3a){var _0x47eb78=_0x297cae;let _0x3fcd3b=this[_0x47eb78(0x1dc)][_0x47eb78(0x1e0)](_0x4095b5)[_0x47eb78(0x1e4)](this[_0x47eb78(0x1da)]['getUnitId'](),this['_worksheet']['getSheetId']());return _0x29fb3a?_0x3fcd3b[_0x47eb78(0x1e1)](_0x8be1af=>_0x8be1af[_0x47eb78(0x1cf)]===_0x29fb3a):_0x3fcd3b;}[_0x297cae(0x1d9)](_0x5287ad,_0x3942cc,_0x273ee1){var _0x51fd6b=_0x297cae;return this[_0x51fd6b(0x1cb)][_0x51fd6b(0x1c9)](_0x4159c7['id'],{'unitId':this[_0x51fd6b(0x1da)][_0x51fd6b(0x1c8)](),'subUnitId':this[_0x51fd6b(0x1d5)][_0x51fd6b(0x1d2)](),'axis':_0x5287ad,'start':_0x3942cc,'end':_0x3942cc+_0x273ee1-0x1}),this;}};_0x567cbd['extend'](u);export{};
1
+ var _0xfe6eea=_0x43d6;(function(_0x187c50,_0x324313){var _0x41381c=_0x43d6,_0x26287f=_0x187c50();while(!![]){try{var _0x5b28cb=parseInt(_0x41381c(0x1c3))/0x1*(parseInt(_0x41381c(0x1d0))/0x2)+-parseInt(_0x41381c(0x1c2))/0x3*(-parseInt(_0x41381c(0x1c5))/0x4)+-parseInt(_0x41381c(0x1ca))/0x5+parseInt(_0x41381c(0x1dc))/0x6*(parseInt(_0x41381c(0x1d5))/0x7)+-parseInt(_0x41381c(0x1c4))/0x8+parseInt(_0x41381c(0x1c0))/0x9+parseInt(_0x41381c(0x1bf))/0xa*(parseInt(_0x41381c(0x1d2))/0xb);if(_0x5b28cb===_0x324313)break;else _0x26287f['push'](_0x26287f['shift']());}catch(_0x437801){_0x26287f['push'](_0x26287f['shift']());}}}(_0x34cd,0xc514c));import{AddDimensionOutlineCommand as _0x29cf7,ClearDimensionOutlinesCommand as _0x13c83b,DimensionOutlineAxis as _0x4ccdbb,DimensionOutlineErrorReason as _0x1d09bf,RemoveDimensionOutlineCommand as _0x35670b,SetDimensionOutlineCollapsedCommand as _0x47e308,SheetsOutlineModel as _0x518b25}from'@univerjs-pro/sheets-outline';function _0x34cd(){var _0x486e75=['_injector','7uIXnPF','_addDimensionOutline','getUnitId','_commandService','DimensionOutlineAxis','syncExecuteCommand','clearDimensionOutlines','6198204fDNQXK','addRowOutline','_workbook','6661790wXogHL','1112256GgKNkH','getDimensionOutlines','709158AXWVIY','123019WvSzoj','2061584rFwcKj','4bcElsl','setDimensionOutlineCollapsed','getOutlines','ROW','filter','5586300sawhOZ','extend','getSheetId','COLUMN','_worksheet','DimensionOutlineErrorReason','2StUUOT','axis','11DrCjhI','get'];_0x34cd=function(){return _0x486e75;};return _0x34cd();}import{FEnum as _0x1a3110}from'@univerjs/core/facade';import{FWorksheet as _0xc1aa06}from'@univerjs/sheets/facade';function _0x43d6(_0x5e5d1e,_0x20b2b7){_0x5e5d1e=_0x5e5d1e-0x1bf;var _0x34cd6d=_0x34cd();var _0x43d6ca=_0x34cd6d[_0x5e5d1e];return _0x43d6ca;}var l=class extends _0x1a3110{get[_0xfe6eea(0x1d9)](){return _0x4ccdbb;}get[_0xfe6eea(0x1cf)](){return _0x1d09bf;}};_0x1a3110[_0xfe6eea(0x1cb)](l);var u=class extends _0xc1aa06{[_0xfe6eea(0x1dd)](_0xc021b5,_0x4ee910){var _0x2746a1=_0xfe6eea;return this[_0x2746a1(0x1d6)](_0x4ccdbb[_0x2746a1(0x1c8)],_0xc021b5,_0x4ee910);}['addColumnOutline'](_0x44ccd3,_0x41ee1b){var _0x43c656=_0xfe6eea;return this[_0x43c656(0x1d6)](_0x4ccdbb[_0x43c656(0x1cd)],_0x44ccd3,_0x41ee1b);}['removeDimensionOutline'](_0x46ef5f){var _0x557542=_0xfe6eea;return this[_0x557542(0x1d8)][_0x557542(0x1da)](_0x35670b['id'],{'unitId':this['_workbook'][_0x557542(0x1d7)](),'subUnitId':this[_0x557542(0x1ce)]['getSheetId'](),'outlineId':_0x46ef5f}),this;}[_0xfe6eea(0x1c6)](_0x27894a,_0x3239ef){var _0x21fb5c=_0xfe6eea;return this[_0x21fb5c(0x1d8)][_0x21fb5c(0x1da)](_0x47e308['id'],{'unitId':this[_0x21fb5c(0x1de)][_0x21fb5c(0x1d7)](),'subUnitId':this[_0x21fb5c(0x1ce)][_0x21fb5c(0x1cc)](),'outlineId':_0x27894a,'collapsed':_0x3239ef}),this;}[_0xfe6eea(0x1db)](_0x4164e4,_0x1dd415,_0x54b604){var _0x371db7=_0xfe6eea;return this['_commandService'][_0x371db7(0x1da)](_0x13c83b['id'],{'unitId':this[_0x371db7(0x1de)][_0x371db7(0x1d7)](),'subUnitId':this[_0x371db7(0x1ce)][_0x371db7(0x1cc)](),'axis':_0x4164e4,'start':_0x1dd415,'end':_0x54b604}),this;}[_0xfe6eea(0x1c1)](_0x1bda35){var _0x2b5796=_0xfe6eea;let _0x2cba9f=this[_0x2b5796(0x1d4)][_0x2b5796(0x1d3)](_0x518b25)[_0x2b5796(0x1c7)](this['_workbook'][_0x2b5796(0x1d7)](),this['_worksheet'][_0x2b5796(0x1cc)]());return _0x1bda35?_0x2cba9f[_0x2b5796(0x1c9)](_0x477b48=>_0x477b48[_0x2b5796(0x1d1)]===_0x1bda35):_0x2cba9f;}[_0xfe6eea(0x1d6)](_0x1598aa,_0x1ff77d,_0x4018a6){var _0x1fc028=_0xfe6eea;return this[_0x1fc028(0x1d8)][_0x1fc028(0x1da)](_0x29cf7['id'],{'unitId':this[_0x1fc028(0x1de)][_0x1fc028(0x1d7)](),'subUnitId':this[_0x1fc028(0x1ce)][_0x1fc028(0x1cc)](),'axis':_0x1598aa,'start':_0x1ff77d,'end':_0x1ff77d+_0x4018a6-0x1}),this;}};_0xc1aa06[_0xfe6eea(0x1cb)](u);export{};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x12c15b=_0x4a22;(function(_0x537032,_0x2a0d08){const _0xe1dd30=_0x4a22,_0x32aa74=_0x537032();while(!![]){try{const _0x528218=-parseInt(_0xe1dd30(0xbf))/0x1+parseInt(_0xe1dd30(0x160))/0x2+-parseInt(_0xe1dd30(0x122))/0x3*(parseInt(_0xe1dd30(0x124))/0x4)+-parseInt(_0xe1dd30(0x167))/0x5+-parseInt(_0xe1dd30(0xcc))/0x6+-parseInt(_0xe1dd30(0x14a))/0x7*(-parseInt(_0xe1dd30(0x11f))/0x8)+-parseInt(_0xe1dd30(0x12e))/0x9*(-parseInt(_0xe1dd30(0x114))/0xa);if(_0x528218===_0x2a0d08)break;else _0x32aa74['push'](_0x32aa74['shift']());}catch(_0x402c68){_0x32aa74['push'](_0x32aa74['shift']());}}}(_0x36f9,0x77691));import{CommandType as _0x17a129,CustomCommandExecutionError as _0x2cf88e,DependentOn as _0x273fa0,Disposable as _0xf63b2f,ICommandService as _0xc79031,IConfigService as _0x306e00,IPermissionService as _0x40ce12,IResourceManagerService as _0x3e9218,IUndoRedoService as _0x33517b,IUniverInstanceService as _0x5a4105,Inject as _0x1650e6,Injector as _0xb0ffb3,Plugin as _0x4c3cec,UniverInstanceType as _0x3f1988,generateRandomId as _0x136f84,merge as _0x4a2971,sequenceExecute as _0x14996f}from'@univerjs/core';import{InsertColCommand as _0x64193c,InsertRowCommand as _0x484dae,MoveColsCommand as _0x69f01d,MoveRowsCommand as _0x12e969,RemoveColCommand as _0x116d08,RemoveRowCommand as _0xadfd65,SetColHiddenMutation as _0x1d80f1,SetColVisibleMutation as _0x3f38bc,SetRowHiddenMutation as _0x45b91e,SetRowVisibleMutation as _0x17e061,SheetInterceptorService as _0x158c55,SheetPermissionCheckController as _0x5181c4,WorkbookViewPermission as _0x19c1fc,WorksheetViewPermission as _0x18ea4c,getSheetCommandTarget as _0x167798}from'@univerjs/sheets';import{Subject as _0x4ed9b8,of as _0x5d0dc6}from'rxjs';import{debounceTime as _0x15eee1,map as _0x1aff52,startWith as _0xba2077}from'rxjs/operators';import{UniverLicensePlugin as _0x3eafe6}from'@univerjs-pro/license';let he=function(_0x47f8f1){const _0x45dc0d=_0x4a22;return _0x47f8f1['ROW']='row',_0x47f8f1['COLUMN']=_0x45dc0d(0xeb),_0x47f8f1;}({}),ge=function(_0x2c53e0){const _0x312e31=_0x4a22;return _0x2c53e0[_0x312e31(0xdf)]=_0x312e31(0xd0),_0x2c53e0[_0x312e31(0x115)]=_0x312e31(0x162),_0x2c53e0[_0x312e31(0x102)]=_0x312e31(0xe9),_0x2c53e0['MAX_DEPTH']=_0x312e31(0xe7),_0x2c53e0[_0x312e31(0x12b)]=_0x312e31(0x13d),_0x2c53e0[_0x312e31(0xc6)]='clear-range-not-contain-outline',_0x2c53e0[_0x312e31(0x116)]=_0x312e31(0xde),_0x2c53e0;}({});var C=class extends Error{constructor(_0x5b3636,_0x3f494d,_0x26ded6){const _0x18efba=_0x4a22;super(_0x3f494d),this[_0x18efba(0x105)]=_0x5b3636,this['outlineId']=_0x26ded6,this[_0x18efba(0x113)]=_0x18efba(0x136);}};function w(_0x2af4d3){const _0x3af743=_0x4a22;return _0x2af4d3 instanceof C?_0x2af4d3[_0x3af743(0x105)]:_0x2af4d3 instanceof Error?_0x2af4d3[_0x3af743(0xe5)]['includes'](_0x3af743(0xf5))?_0x3af743(0x13d):_0x2af4d3['message'][_0x3af743(0xf7)](_0x3af743(0xdb))?_0x3af743(0xe7):_0x2af4d3['message'][_0x3af743(0xf7)](_0x3af743(0xfb))?_0x3af743(0xe9):_0x2af4d3['message'][_0x3af743(0xf7)](_0x3af743(0x14e))?'invalid-range':'unknown':_0x3af743(0xde);}function _e(_0x555eb2){const _0x490bd8=_0x4a22;return _0x555eb2 instanceof C?_0x555eb2[_0x490bd8(0x128)]:void 0x0;}const T=0x2**0x35-0x1;function E(_0x4d6968,_0xc8201c){const _0x37743e=_0x4a22;return _0x4d6968[_0x37743e(0xf1)]===_0xc8201c[_0x37743e(0xf1)]&&_0x4d6968[_0x37743e(0x165)]===_0xc8201c[_0x37743e(0x165)]&&_0x4d6968['axis']===_0xc8201c[_0x37743e(0xc8)];}function D(_0x3392bb,_0x4f24b2={}){const _0x2515bb=_0x4a22;var _0x476e60;let _0x19a52c=(_0x476e60=_0x4f24b2[_0x2515bb(0x163)])==null?0x8:_0x476e60,_0x56ddb7=new Map();for(let _0x42723f of _0x3392bb){let _0x366709=_0x42723f[_0x2515bb(0xf1)]+':'+_0x42723f[_0x2515bb(0x165)]+':'+_0x42723f[_0x2515bb(0xc8)],_0x9b729c=_0x56ddb7['get'](_0x366709);_0x9b729c?_0x9b729c[_0x2515bb(0xd7)](_0x42723f):_0x56ddb7[_0x2515bb(0xfa)](_0x366709,[_0x42723f]);}let _0xdc98d1=[];for(let _0x42d9f5 of _0x56ddb7[_0x2515bb(0x166)]()){let _0x44bc36=[..._0x42d9f5][_0x2515bb(0xcb)](ke),_0x290be4=[];for(let _0x4e6088 of _0x44bc36){for(Ae(_0x4e6088);_0x290be4[_0x2515bb(0x106)]>0x0&&_0x4e6088[_0x2515bb(0xe4)]>_0x290be4[_0x290be4[_0x2515bb(0x106)]-0x1][_0x2515bb(0x131)];)_0x290be4[_0x2515bb(0x12a)]();let _0x22369c=_0x290be4[_0x290be4[_0x2515bb(0x106)]-0x1];if(_0x22369c&&_0x4e6088['end']>_0x22369c[_0x2515bb(0x131)])throw new C(_0x2515bb(0xe9),_0x2515bb(0xd2),_0x4e6088['id']);let _0x5cc57a=_0x22369c?_0x22369c[_0x2515bb(0xdb)]+0x1:0x1;if(_0x5cc57a>_0x19a52c)throw new C('max-depth',_0x2515bb(0x10c)+_0x19a52c,_0x4e6088['id']);let _0x5d9884={..._0x4e6088,'depth':_0x5cc57a,'parentId':_0x22369c==null?void 0x0:_0x22369c['id'],'anchor':_0x4e6088['end'],'children':[]};_0x22369c?_0x22369c[_0x2515bb(0xd5)][_0x2515bb(0xd7)](_0x5d9884):_0xdc98d1['push'](_0x5d9884),_0x290be4[_0x2515bb(0xd7)](_0x5d9884);}}return _0xdc98d1;}function O(_0x15e888,_0x4b733f,_0x5b45a7={}){const _0x34c8de=_0x4a22;if(_0x4b733f[_0x34c8de(0xe4)]<0x0||_0x4b733f[_0x34c8de(0xe4)]>_0x4b733f[_0x34c8de(0x131)])return{'valid':!0x1,'reason':_0x34c8de(0xd0)};if(_0x5b45a7[_0x34c8de(0x121)]!=null&&_0x4b733f['end']>=_0x5b45a7[_0x34c8de(0x121)])return{'valid':!0x1,'reason':_0x34c8de(0x162)};let _0x23d697=_0x15e888['filter'](_0x140626=>E(_0x140626,_0x4b733f));for(let _0x2b70bb of _0x23d697)if(je(_0x2b70bb,_0x4b733f))return{'valid':!0x1,'reason':_0x34c8de(0xe9)};try{D([..._0x15e888,_0x4b733f],_0x5b45a7);}catch(_0x1e788c){let _0x3950c6=w(_0x1e788c);return _0x3950c6===_0x34c8de(0xe7)?{'valid':!0x1,'reason':'max-depth'}:_0x3950c6===_0x34c8de(0xd0)?{'valid':!0x1,'reason':_0x34c8de(0xd0)}:{'valid':!0x1,'reason':_0x34c8de(0xe9)};}return{'valid':!0x0};}function ve(_0x5a695b,_0x2d8e37,_0x40c2b2={}){const _0xfd5b79=_0x4a22;let _0xcfdaa9=O(_0x5a695b,_0x2d8e37,_0x40c2b2);if(!_0xcfdaa9['valid']){var _0x35778c;throw Error((_0x35778c=_0xcfdaa9['reason'])==null?_0xfd5b79(0x139):_0x35778c);}return[..._0x5a695b,_0x2d8e37];}function ye(_0x8c0509,_0x138035){const _0x228271=_0x4a22;let _0xe461f0=_0x138035['start'],_0x4d2624=_0x138035[_0x228271(0x131)],_0x4d65e3=[],_0x5a471d=!0x0;for(;_0x5a471d;){_0x5a471d=!0x1;for(let _0x769bd5 of _0x8c0509)_0x4d65e3[_0x228271(0xf7)](_0x769bd5)||!E(_0x769bd5,_0x138035)||!De(_0x769bd5['start'],_0x769bd5[_0x228271(0x131)],_0xe461f0,_0x4d2624)||(_0x4d65e3[_0x228271(0xd7)](_0x769bd5),_0xe461f0=Math[_0x228271(0xca)](_0xe461f0,_0x769bd5[_0x228271(0xe4)]),_0x4d2624=Math[_0x228271(0xdd)](_0x4d2624,_0x769bd5[_0x228271(0x131)]),_0x5a471d=!0x0);}if(_0x4d65e3[_0x228271(0x106)]===0x0)return null;let [_0x5484a6]=[..._0x4d65e3]['sort'](ke);return{'mergedOutline':{..._0x5484a6,'start':_0xe461f0,'end':_0x4d2624},'mergedOutlines':_0x4d65e3};}function be(_0x1951b7,_0x48737e){const _0x1e5691=_0x4a22;return _0x1951b7[_0x1e5691(0x159)](_0x278db5=>E(_0x278db5,_0x48737e)?!(_0x278db5[_0x1e5691(0xe4)]>=_0x48737e[_0x1e5691(0xe4)]&&_0x278db5[_0x1e5691(0x131)]<=_0x48737e[_0x1e5691(0x131)]):!0x0);}function xe(_0x571c5b,_0x2f053c,_0x3082e4,_0x26ce97){const _0x4d420a=_0x4a22;return Se(_0x571c5b[_0x4d420a(0x159)](_0x3e57b3=>_0x3e57b3[_0x4d420a(0xf1)]===_0x2f053c&&_0x3e57b3[_0x4d420a(0x165)]===_0x3082e4&&_0x3e57b3[_0x4d420a(0xc8)]===_0x26ce97&&_0x3e57b3['collapsed'])[_0x4d420a(0x13c)](_0x3a20ab=>({'start':_0x3a20ab['start'],'end':_0x3a20ab[_0x4d420a(0x131)]})));}function Se(_0xdc956f){const _0x15d0b6=_0x4a22;if(_0xdc956f[_0x15d0b6(0x106)]===0x0)return[];let _0x4e1bd7=[..._0xdc956f]['sort']((_0x5183da,_0x346a27)=>_0x5183da[_0x15d0b6(0xe4)]-_0x346a27[_0x15d0b6(0xe4)]||_0x5183da[_0x15d0b6(0x131)]-_0x346a27[_0x15d0b6(0x131)]),_0x2d5d23=[];for(let _0x2efedb of _0x4e1bd7){let _0x31bc01=_0x2d5d23[_0x2d5d23[_0x15d0b6(0x106)]-0x1];!_0x31bc01||_0x2efedb[_0x15d0b6(0xe4)]>_0x31bc01[_0x15d0b6(0x131)]+0x1?_0x2d5d23[_0x15d0b6(0xd7)]({..._0x2efedb}):_0x31bc01[_0x15d0b6(0x131)]=Math[_0x15d0b6(0xdd)](_0x31bc01[_0x15d0b6(0x131)],_0x2efedb[_0x15d0b6(0x131)]);}return _0x2d5d23;}function k(_0x4eacc3,_0x54c601){const _0x553953=_0x4a22;return _0x54c601[_0x553953(0x15d)]<=0x0?_0x4eacc3:M(_0x4eacc3['map'](_0xb895e7=>E(_0xb895e7,_0x54c601)?_0x54c601['index']<=_0xb895e7['start']?{..._0xb895e7,'start':_0xb895e7['start']+_0x54c601[_0x553953(0x15d)],'end':_0xb895e7[_0x553953(0x131)]+_0x54c601[_0x553953(0x15d)]}:_0xb895e7[_0x553953(0xe4)]<_0x54c601['index']&&_0x54c601[_0x553953(0x15c)]<=_0xb895e7[_0x553953(0x131)]?{..._0xb895e7,'end':_0xb895e7['end']+_0x54c601['count']}:_0xb895e7:_0xb895e7));}function A(_0x18c205,_0x2f0f09){const _0x1a4b94=_0x4a22;if(_0x2f0f09[_0x1a4b94(0xe4)]>_0x2f0f09[_0x1a4b94(0x131)])return _0x18c205;let _0xb16945=_0x2f0f09[_0x1a4b94(0x131)]-_0x2f0f09[_0x1a4b94(0xe4)]+0x1,_0xd3125=[];for(let _0x38855a of _0x18c205){if(!E(_0x38855a,_0x2f0f09)){_0xd3125[_0x1a4b94(0xd7)](_0x38855a);continue;}if(_0x38855a['end']<_0x2f0f09['start']){_0xd3125['push'](_0x38855a);continue;}if(_0x38855a['start']>_0x2f0f09[_0x1a4b94(0x131)]){_0xd3125[_0x1a4b94(0xd7)]({..._0x38855a,'start':_0x38855a[_0x1a4b94(0xe4)]-_0xb16945,'end':_0x38855a[_0x1a4b94(0x131)]-_0xb16945});continue;}let _0x459a8=Math[_0x1a4b94(0xdd)](_0x38855a[_0x1a4b94(0xe4)],_0x2f0f09[_0x1a4b94(0xe4)]),_0x3770fa=Math[_0x1a4b94(0xca)](_0x38855a['end'],_0x2f0f09['end']),_0x1882bb=Math[_0x1a4b94(0xdd)](0x0,_0x3770fa-_0x459a8+0x1),_0x4f50fe=_0x38855a[_0x1a4b94(0x131)]-_0x38855a[_0x1a4b94(0xe4)]+0x1-_0x1882bb;if(_0x4f50fe<=0x0)continue;let _0x6adb57=_0x38855a[_0x1a4b94(0xe4)]<_0x2f0f09[_0x1a4b94(0xe4)]?_0x38855a['start']:_0x2f0f09[_0x1a4b94(0xe4)];_0xd3125[_0x1a4b94(0xd7)]({..._0x38855a,'start':_0x6adb57,'end':_0x6adb57+_0x4f50fe-0x1});}return M(_0xd3125);}function j(_0x1d590d,_0x315331){const _0x3ad419=_0x4a22;if(_0x315331[_0x3ad419(0x127)]>_0x315331[_0x3ad419(0x146)])return _0x1d590d;let _0x16a115=[];for(let _0x132d46 of _0x1d590d){if(!E(_0x132d46,_0x315331)){_0x16a115['push'](_0x132d46);continue;}let _0x32f30d=Ce(_0x132d46,_0x315331);if(_0x32f30d[_0x3ad419(0x134)]==='split')throw new C('move-splits-outline','Move\x20would\x20split\x20dimension\x20outline:\x20'+_0x132d46['id'],_0x132d46['id']);_0x16a115[_0x3ad419(0xd7)](_0x32f30d[_0x3ad419(0x107)]);}return M(_0x16a115);}function Ce(_0x2fa065,_0x2b439c){const _0x4cb63b=_0x4a22;let _0x3c42bd=we(_0x2b439c[_0x4cb63b(0x127)],_0x2b439c[_0x4cb63b(0x146)]+0x1,_0x2b439c[_0x4cb63b(0xe0)]),_0x33772c=[],_0x264134={'start':_0x2fa065[_0x4cb63b(0xe4)],'end':_0x2fa065[_0x4cb63b(0x131)]+0x1};for(let _0x509252 of _0x3c42bd){let _0x31c2e2=Te(_0x264134,_0x509252[_0x4cb63b(0x14e)]);_0x31c2e2&&_0x33772c[_0x4cb63b(0xd7)]({'start':_0x31c2e2[_0x4cb63b(0xe4)]+_0x509252[_0x4cb63b(0x111)],'end':_0x31c2e2['end']+_0x509252[_0x4cb63b(0x111)]});}let _0x2fe0d7=Ee(_0x33772c);return _0x2fe0d7['length']===0x1?{'type':'ok','outline':{..._0x2fa065,'start':_0x2fe0d7[0x0][_0x4cb63b(0xe4)],'end':_0x2fe0d7[0x0][_0x4cb63b(0x131)]-0x1}}:{'type':_0x4cb63b(0x109),'outline':_0x2fa065,'ranges':_0x2fe0d7};}function we(_0x4abd84,_0x3b6ea0,_0x478576){const _0x55c6b1=_0x4a22;let _0x3a1997=_0x3b6ea0-_0x4abd84;if(_0x3a1997<=0x0)throw Error(_0x55c6b1(0x15b));return _0x478576>=_0x4abd84&&_0x478576<=_0x3b6ea0?[{'range':{'start':0x0,'end':T},'offset':0x0}]:_0x478576<_0x4abd84?[{'range':{'start':0x0,'end':_0x478576},'offset':0x0},{'range':{'start':_0x478576,'end':_0x4abd84},'offset':_0x3a1997},{'range':{'start':_0x4abd84,'end':_0x3b6ea0},'offset':_0x478576-_0x4abd84},{'range':{'start':_0x3b6ea0,'end':T},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x4abd84},'offset':0x0},{'range':{'start':_0x4abd84,'end':_0x3b6ea0},'offset':_0x478576-_0x3b6ea0},{'range':{'start':_0x3b6ea0,'end':_0x478576},'offset':-_0x3a1997},{'range':{'start':_0x478576,'end':T},'offset':0x0}];}function Te(_0x5e4a22,_0x3b377a){const _0x5f06b7=_0x4a22;let _0x333946=Math[_0x5f06b7(0xdd)](_0x5e4a22[_0x5f06b7(0xe4)],_0x3b377a[_0x5f06b7(0xe4)]),_0x2bf75e=Math[_0x5f06b7(0xca)](_0x5e4a22['end'],_0x3b377a['end']);return _0x333946>=_0x2bf75e?null:{'start':_0x333946,'end':_0x2bf75e};}function Ee(_0xd1aa59){const _0x54ec32=_0x4a22;if(_0xd1aa59['length']===0x0)return[];let _0x161a1e=[..._0xd1aa59][_0x54ec32(0xcb)]((_0x483b9c,_0x3d70d6)=>_0x483b9c[_0x54ec32(0xe4)]-_0x3d70d6['start']||_0x483b9c[_0x54ec32(0x131)]-_0x3d70d6['end']),_0x2d6067=[];for(let _0x459cd6 of _0x161a1e){let _0x43512e=_0x2d6067[_0x2d6067[_0x54ec32(0x106)]-0x1];!_0x43512e||_0x459cd6[_0x54ec32(0xe4)]>_0x43512e[_0x54ec32(0x131)]?_0x2d6067['push']({..._0x459cd6}):_0x43512e[_0x54ec32(0x131)]=Math[_0x54ec32(0xdd)](_0x43512e[_0x54ec32(0x131)],_0x459cd6[_0x54ec32(0x131)]);}return _0x2d6067;}function De(_0x389e4d,_0x3f6f87,_0x5ed9f3,_0x360ca1){return _0x3f6f87+0x1===_0x5ed9f3||_0x360ca1+0x1===_0x389e4d;}function M(_0x1ad274){let _0x586c5a=Oe(_0x1ad274);return D(_0x586c5a),_0x586c5a;}function Oe(_0x126b5d){const _0x266c23=_0x4a22;let _0x23ca36=new Map();for(let _0x13ae61 of _0x126b5d){let _0x86086=[_0x13ae61['unitId'],_0x13ae61[_0x266c23(0x165)],_0x13ae61[_0x266c23(0xc8)],_0x13ae61['start'],_0x13ae61[_0x266c23(0x131)]][_0x266c23(0x135)](':'),_0x5dfa78=_0x23ca36['get'](_0x86086);if(!_0x5dfa78){_0x23ca36['set'](_0x86086,_0x13ae61);continue;}_0x23ca36[_0x266c23(0xfa)](_0x86086,{..._0x5dfa78,'collapsed':_0x5dfa78[_0x266c23(0xc0)]||_0x13ae61[_0x266c23(0xc0)]});}return Array[_0x266c23(0x10f)](_0x23ca36[_0x266c23(0x166)]());}function ke(_0x561ac1,_0x4b5767){const _0x54b968=_0x4a22;return _0x561ac1['unitId']===_0x4b5767[_0x54b968(0xf1)]?_0x561ac1[_0x54b968(0x165)]===_0x4b5767[_0x54b968(0x165)]?_0x561ac1[_0x54b968(0xc8)]===_0x4b5767['axis']?_0x561ac1[_0x54b968(0xe4)]===_0x4b5767['start']?_0x4b5767[_0x54b968(0x131)]-_0x561ac1[_0x54b968(0x131)]:_0x561ac1[_0x54b968(0xe4)]-_0x4b5767[_0x54b968(0xe4)]:_0x561ac1[_0x54b968(0xc8)][_0x54b968(0x11e)](_0x4b5767[_0x54b968(0xc8)]):_0x561ac1[_0x54b968(0x165)][_0x54b968(0x11e)](_0x4b5767[_0x54b968(0x165)]):_0x561ac1[_0x54b968(0xf1)][_0x54b968(0x11e)](_0x4b5767['unitId']);}function Ae(_0x5f18cc){const _0x5966a5=_0x4a22;if(_0x5f18cc[_0x5966a5(0xe4)]>_0x5f18cc[_0x5966a5(0x131)])throw new C(_0x5966a5(0xd0),_0x5966a5(0x12c),_0x5f18cc['id']);}function je(_0xc108a6,_0x2544b3){const _0x3b6f16=_0x4a22;let _0x1946d5=_0xc108a6[_0x3b6f16(0xe4)]<=_0x2544b3['end']&&_0x2544b3[_0x3b6f16(0xe4)]<=_0xc108a6[_0x3b6f16(0x131)],_0x10e4d9=_0xc108a6[_0x3b6f16(0xe4)]<=_0x2544b3[_0x3b6f16(0xe4)]&&_0x2544b3['end']<=_0xc108a6['end'],_0x2bb029=_0x2544b3['start']<=_0xc108a6[_0x3b6f16(0xe4)]&&_0xc108a6[_0x3b6f16(0x131)]<=_0x2544b3['end'];return _0x1946d5&&!_0x10e4d9&&!_0x2bb029;}function N(_0x23b5b7){'@babel/helpers - typeof';const _0x52b9b1=_0x4a22;return N=typeof Symbol=='function'&&typeof Symbol[_0x52b9b1(0x12d)]==_0x52b9b1(0xf0)?function(_0x1ecf70){return typeof _0x1ecf70;}:function(_0x2cce6a){const _0x35c9d5=_0x52b9b1;return _0x2cce6a&&typeof Symbol=='function'&&_0x2cce6a[_0x35c9d5(0xd1)]===Symbol&&_0x2cce6a!==Symbol[_0x35c9d5(0xe2)]?_0x35c9d5(0xf0):typeof _0x2cce6a;},N(_0x23b5b7);}function Me(_0x5763c2,_0x2f3397){const _0x54250c=_0x4a22;if(N(_0x5763c2)!=_0x54250c(0x15e)||!_0x5763c2)return _0x5763c2;var _0x333f41=_0x5763c2[Symbol['toPrimitive']];if(_0x333f41!==void 0x0){var _0x35cd25=_0x333f41[_0x54250c(0xe3)](_0x5763c2,_0x2f3397||_0x54250c(0xd8));if(N(_0x35cd25)!='object')return _0x35cd25;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2f3397==='string'?String:Number)(_0x5763c2);}function Ne(_0x4931f6){const _0x22ac7b=_0x4a22;var _0x373fe3=Me(_0x4931f6,_0x22ac7b(0xf3));return N(_0x373fe3)==_0x22ac7b(0xf0)?_0x373fe3:_0x373fe3+'';}function P(_0x588543,_0x50dad0,_0x478d19){const _0x505a8f=_0x4a22;return(_0x50dad0=Ne(_0x50dad0))in _0x588543?Object[_0x505a8f(0xc9)](_0x588543,_0x50dad0,{'value':_0x478d19,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x588543[_0x50dad0]=_0x478d19,_0x588543;}var F=class extends _0xf63b2f{constructor(..._0x13707a){const _0x277f40=_0x4a22;super(..._0x13707a),P(this,'_outlines',new Map()),P(this,_0x277f40(0x156),new _0x4ed9b8()),P(this,_0x277f40(0x11c),this[_0x277f40(0x156)][_0x277f40(0xef)]());}[_0x12c15b(0x152)](_0x2a8cfd,_0x366aa7){const _0x31c808=_0x12c15b;var _0x4b7c7b,_0x523b95;return[...(_0x4b7c7b=(_0x523b95=this[_0x31c808(0x145)][_0x31c808(0xcf)](_0x2a8cfd))==null?void 0x0:_0x523b95[_0x31c808(0xcf)](_0x366aa7))==null?[]:_0x4b7c7b];}['getUnitOutlines'](_0x9c9481){const _0x5ec13e=_0x12c15b;let _0x355cce=this[_0x5ec13e(0x145)][_0x5ec13e(0xcf)](_0x9c9481),_0x5bbd99=new Map();return _0x355cce==null||_0x355cce[_0x5ec13e(0xd3)]((_0x1274e1,_0x394f7a)=>{const _0x1d1531=_0x5ec13e;_0x5bbd99[_0x1d1531(0xfa)](_0x394f7a,[..._0x1274e1]);}),_0x5bbd99;}[_0x12c15b(0x103)](_0x42507e,_0x24e734,_0x4af012){const _0xb4bec7=_0x12c15b;this[_0xb4bec7(0x100)](_0x42507e)[_0xb4bec7(0xfa)](_0x24e734,[..._0x4af012]),this[_0xb4bec7(0x156)]['next']({'unitId':_0x42507e,'subUnitId':_0x24e734});}[_0x12c15b(0x14f)](_0x36b689){const _0x3c0c9b=_0x12c15b;this[_0x3c0c9b(0x145)][_0x3c0c9b(0x14c)](_0x36b689),this['_change$'][_0x3c0c9b(0xe8)]({'unitId':_0x36b689});}[_0x12c15b(0xdc)](_0x1b1e47){const _0x36ef21=_0x12c15b;let _0x46995e=this[_0x36ef21(0x145)][_0x36ef21(0xcf)](_0x1b1e47),_0x434f97={};return _0x46995e==null||_0x46995e['forEach']((_0x56fad4,_0x1a596d)=>{_0x434f97[_0x1a596d]={'outlineList':[..._0x56fad4]};}),_0x434f97;}[_0x12c15b(0xf6)](_0x2c1453,_0x59d57c){const _0x2f1c4b=_0x12c15b;let _0x59eb29=new Map();Object[_0x2f1c4b(0x11b)](_0x59d57c)['forEach'](([_0x506a7b,_0x49b934])=>{const _0x2a64f0=_0x2f1c4b;var _0x347f28;_0x59eb29[_0x2a64f0(0xfa)](_0x506a7b,[...(_0x347f28=_0x49b934['outlineList'])==null?[]:_0x347f28]);}),this[_0x2f1c4b(0x145)][_0x2f1c4b(0xfa)](_0x2c1453,_0x59eb29),this[_0x2f1c4b(0x156)][_0x2f1c4b(0xe8)]({'unitId':_0x2c1453});}[_0x12c15b(0x123)](){const _0x4043e0=_0x12c15b;super[_0x4043e0(0x123)](),this[_0x4043e0(0x145)][_0x4043e0(0x140)](),this[_0x4043e0(0x156)][_0x4043e0(0x110)]();}[_0x12c15b(0x100)](_0x355c9a){const _0x45e4a9=_0x12c15b;let _0x3e1521=this['_outlines'][_0x45e4a9(0xcf)](_0x355c9a);return _0x3e1521||(_0x3e1521=new Map(),this['_outlines'][_0x45e4a9(0xfa)](_0x355c9a,_0x3e1521)),_0x3e1521;}},I=class extends _0xf63b2f{constructor(..._0x32716a){const _0x215089=_0x12c15b;super(..._0x32716a),P(this,_0x215089(0xc2),new _0x4ed9b8()),P(this,'error$',this[_0x215089(0xc2)][_0x215089(0xef)]());}[_0x12c15b(0x10a)](_0x1699fc){const _0x4b0f7a=_0x12c15b;this[_0x4b0f7a(0xc2)]['next'](_0x1699fc);}[_0x12c15b(0x123)](){const _0x3a68fc=_0x12c15b;super[_0x3a68fc(0x123)](),this['_error$'][_0x3a68fc(0x110)]();}};const L={'id':'sheet.mutation.add-dimension-outline','type':_0x17a129[_0x12c15b(0x104)],'handler':(_0x2c7365,_0x2272d6)=>{const _0x1ea87e=_0x12c15b;let _0x35fd9e=_0x2c7365['get'](F),_0x3eef4b=_0x35fd9e['getOutlines'](_0x2272d6['unitId'],_0x2272d6[_0x1ea87e(0x165)]);return _0x35fd9e[_0x1ea87e(0x103)](_0x2272d6[_0x1ea87e(0xf1)],_0x2272d6['subUnitId'],ve(_0x3eef4b,_0x2272d6[_0x1ea87e(0x107)])),!0x0;}},R={'id':'sheet.mutation.remove-dimension-outline','type':_0x17a129[_0x12c15b(0x104)],'handler':(_0x324d41,_0x5bfecf)=>{const _0x2f77bb=_0x12c15b;let _0x9a009e=_0x324d41[_0x2f77bb(0xcf)](F),_0x1707ee=_0x9a009e[_0x2f77bb(0x152)](_0x5bfecf[_0x2f77bb(0xf1)],_0x5bfecf[_0x2f77bb(0x165)]);return _0x9a009e['setOutlines'](_0x5bfecf['unitId'],_0x5bfecf[_0x2f77bb(0x165)],_0x1707ee[_0x2f77bb(0x159)](_0x23e4c6=>_0x23e4c6['id']!==_0x5bfecf[_0x2f77bb(0x128)])),!0x0;}};function z(_0x1deb9c,_0x15406f,_0x2ab92a){const _0x174854=_0x12c15b;let _0x1a79bf=Fe(_0x1deb9c);return _0x1a79bf?_0x1a79bf[_0x174854(0x149)]({'workbookTypes':[_0x19c1fc],'worksheetTypes':[_0x18ea4c]},_0x15406f,_0x2ab92a):!0x0;}function Pe(_0x322d64,_0x2d7e23,_0x3a95bc){const _0x3a006d=_0x12c15b;var _0x417234;let _0x550f4b=Ie(_0x322d64);return((_0x417234=_0x550f4b==null?void 0x0:_0x550f4b[_0x3a006d(0x117)])==null?_0x5d0dc6(null):_0x417234)[_0x3a006d(0x141)](_0x15eee1(0x64),_0xba2077(null),_0x1aff52(()=>z(_0x322d64,_0x2d7e23,_0x3a95bc)));}function Fe(_0x5a42ce){const _0x50e426=_0x12c15b;if(typeof _0x5a42ce['has']=='function'&&!_0x5a42ce[_0x50e426(0x143)](_0x5181c4))return null;try{return _0x5a42ce['get'](_0x5181c4);}catch{return null;}}function Ie(_0xf45e45){const _0x6b617b=_0x12c15b;if(typeof _0xf45e45[_0x6b617b(0x143)]==_0x6b617b(0x118)&&!_0xf45e45[_0x6b617b(0x143)](_0x40ce12))return null;try{return _0xf45e45[_0x6b617b(0xcf)](_0x40ce12);}catch{return null;}}const B={'id':'sheet.command.add-dimension-outline','type':_0x17a129[_0x12c15b(0x138)],'handler':(_0x4f4241,_0x32975f)=>{const _0x1894ab=_0x12c15b;var _0x538264,_0x40bd31;if(!_0x32975f)return!0x1;let _0x3ee30c=_0x167798(_0x4f4241[_0x1894ab(0xcf)](_0x5a4105),_0x32975f);if(!_0x3ee30c)return!0x1;let {unitId:_0x43f035,subUnitId:_0x2c7dbf,worksheet:_0x2f8da5}=_0x3ee30c;if(!z(_0x4f4241,_0x43f035,_0x2c7dbf))return!0x1;let _0x5e71db=_0x4f4241[_0x1894ab(0xcf)](F),_0x9b62cb={'id':'dimension-outline-'+_0x136f84(0x6),'unitId':_0x43f035,'subUnitId':_0x2c7dbf,'axis':_0x32975f[_0x1894ab(0xc8)],'start':_0x32975f[_0x1894ab(0xe4)],'end':_0x32975f[_0x1894ab(0x131)],'collapsed':!0x1},_0x37c439=_0x32975f['axis']===_0x1894ab(0x150)?_0x2f8da5[_0x1894ab(0x132)]():_0x2f8da5['getColumnCount'](),_0x5b9232=_0x5e71db[_0x1894ab(0x152)](_0x43f035,_0x2c7dbf),_0x1f0331=ye(_0x5b9232,_0x9b62cb),_0x294d51=(_0x538264=_0x1f0331==null?void 0x0:_0x1f0331[_0x1894ab(0x108)])==null?[]:_0x538264,_0xf0cca6=(_0x40bd31=_0x1f0331==null?void 0x0:_0x1f0331[_0x1894ab(0x120)])==null?_0x9b62cb:_0x40bd31,_0x5a1c47=O(_0x1f0331?_0x5b9232[_0x1894ab(0x159)](_0x1a29aa=>!_0x294d51[_0x1894ab(0x161)](_0x2eed20=>_0x2eed20['id']===_0x1a29aa['id'])):_0x5b9232,_0xf0cca6,{'maxIndex':_0x37c439});if(!_0x5a1c47[_0x1894ab(0x15f)]){var _0x8ffb60;return _0x4f4241[_0x1894ab(0xcf)](I)['emit']({'reason':(_0x8ffb60=_0x5a1c47[_0x1894ab(0x105)])==null?_0x1894ab(0xde):_0x8ffb60,'commandId':B['id'],'unitId':_0x43f035,'subUnitId':_0x2c7dbf,'axis':_0x32975f['axis'],'outlineId':_0xf0cca6['id']}),!0x1;}let _0x45ea8d=[..._0x294d51['map'](_0x20ada2=>({'id':R['id'],'params':{'unitId':_0x43f035,'subUnitId':_0x2c7dbf,'outlineId':_0x20ada2['id']}})),{'id':L['id'],'params':{'unitId':_0x43f035,'subUnitId':_0x2c7dbf,'outline':_0xf0cca6}}],_0x328284=[{'id':R['id'],'params':{'unitId':_0x43f035,'subUnitId':_0x2c7dbf,'outlineId':_0xf0cca6['id']}},..._0x294d51[_0x1894ab(0x13c)](_0x224291=>({'id':L['id'],'params':{'unitId':_0x43f035,'subUnitId':_0x2c7dbf,'outline':_0x224291}}))];return _0x14996f(_0x45ea8d,_0x4f4241['get'](_0xc79031))[_0x1894ab(0xce)]?(_0x4f4241[_0x1894ab(0xcf)](_0x33517b)[_0x1894ab(0x144)]({'unitID':_0x43f035,'undoMutations':_0x328284,'redoMutations':_0x45ea8d}),!0x0):!0x1;}},V={'id':_0x12c15b(0x164),'type':_0x17a129[_0x12c15b(0x104)],'handler':(_0x29ecf9,_0x45e52f)=>{const _0x213876=_0x12c15b;let _0x218c66=_0x29ecf9[_0x213876(0xcf)](F),_0x23ed08=_0x218c66['getOutlines'](_0x45e52f[_0x213876(0xf1)],_0x45e52f[_0x213876(0x165)]);return _0x218c66[_0x213876(0x103)](_0x45e52f[_0x213876(0xf1)],_0x45e52f[_0x213876(0x165)],be(_0x23ed08,_0x45e52f)),!0x0;}},H={'id':_0x12c15b(0x147),'type':_0x17a129[_0x12c15b(0x138)],'handler':(_0x4feb42,_0xaa6b72)=>{const _0x4045a8=_0x12c15b;if(!_0xaa6b72)return!0x1;let _0x51010f=_0x167798(_0x4feb42[_0x4045a8(0xcf)](_0x5a4105),_0xaa6b72);if(!_0x51010f)return!0x1;let {unitId:_0x4972d6,subUnitId:_0xa0bdc9}=_0x51010f;if(!z(_0x4feb42,_0x4972d6,_0xa0bdc9))return!0x1;let _0x4dbe23={'unitId':_0x4972d6,'subUnitId':_0xa0bdc9,'axis':_0xaa6b72['axis'],'start':_0xaa6b72[_0x4045a8(0xe4)],'end':_0xaa6b72[_0x4045a8(0x131)]},_0x4ccf0a=_0x4feb42[_0x4045a8(0xcf)](F)['getOutlines'](_0x4972d6,_0xa0bdc9)[_0x4045a8(0x159)](_0xf668a4=>E(_0xf668a4,_0x4dbe23)&&_0xf668a4[_0x4045a8(0xe4)]>=_0xaa6b72['start']&&_0xf668a4[_0x4045a8(0x131)]<=_0xaa6b72[_0x4045a8(0x131)]);if(_0x4ccf0a['length']===0x0)return _0x4feb42[_0x4045a8(0xcf)](I)['emit']({'reason':'clear-range-not-contain-outline','commandId':H['id'],'unitId':_0x4972d6,'subUnitId':_0xa0bdc9,'axis':_0xaa6b72[_0x4045a8(0xc8)]}),!0x1;let _0x4c2997=[{'id':V['id'],'params':{..._0x4dbe23,'removedOutlineIds':_0x4ccf0a[_0x4045a8(0x13c)](_0x43ec43=>_0x43ec43['id'])}}],_0x50a441=_0x4ccf0a['map'](_0x1626d7=>({'id':L['id'],'params':{'unitId':_0x4972d6,'subUnitId':_0xa0bdc9,'outline':_0x1626d7}}));return _0x14996f(_0x4c2997,_0x4feb42['get'](_0xc79031))[_0x4045a8(0xce)]?(_0x4feb42['get'](_0x33517b)[_0x4045a8(0x144)]({'unitID':_0x4972d6,'undoMutations':_0x50a441,'redoMutations':_0x4c2997}),!0x0):!0x1;}},Le={'id':_0x12c15b(0x155),'type':_0x17a129[_0x12c15b(0x138)],'handler':(_0x1c9e0b,_0x2217b8)=>{const _0x5c5f85=_0x12c15b;if(!_0x2217b8)return!0x1;let _0x1c02c2=_0x167798(_0x1c9e0b['get'](_0x5a4105),_0x2217b8);if(!_0x1c02c2)return!0x1;let {unitId:_0x2611cb,subUnitId:_0x2a85b6}=_0x1c02c2;if(!z(_0x1c9e0b,_0x2611cb,_0x2a85b6))return!0x1;let _0x59fc6e=_0x1c9e0b[_0x5c5f85(0xcf)](F)[_0x5c5f85(0x152)](_0x2611cb,_0x2a85b6)[_0x5c5f85(0x142)](_0x2c3c7d=>_0x2c3c7d['id']===_0x2217b8[_0x5c5f85(0x128)]);if(!_0x59fc6e)return!0x1;let _0x4608d1=[{'id':R['id'],'params':{'unitId':_0x2611cb,'subUnitId':_0x2a85b6,'outlineId':_0x59fc6e['id'],'outline':_0x59fc6e}}],_0x29d351=[{'id':L['id'],'params':{'unitId':_0x2611cb,'subUnitId':_0x2a85b6,'outline':_0x59fc6e}}];return _0x14996f(_0x4608d1,_0x1c9e0b['get'](_0xc79031))[_0x5c5f85(0xce)]?(_0x1c9e0b[_0x5c5f85(0xcf)](_0x33517b)['pushUndoRedo']({'unitID':_0x2611cb,'undoMutations':_0x29d351,'redoMutations':_0x4608d1}),!0x0):!0x1;}},U={'id':_0x12c15b(0xec),'type':_0x17a129[_0x12c15b(0x104)],'handler':(_0x161f63,_0x1565e3)=>{const _0x56849e=_0x12c15b;let _0x32725a=_0x161f63[_0x56849e(0xcf)](F),_0x434724=_0x32725a[_0x56849e(0x152)](_0x1565e3[_0x56849e(0xf1)],_0x1565e3[_0x56849e(0x165)]),_0x5a1f3a=_0x434724[_0x56849e(0x142)](_0x296fbc=>_0x296fbc['id']===_0x1565e3[_0x56849e(0x128)]);return _0x5a1f3a&&_0x32725a['setOutlines'](_0x1565e3[_0x56849e(0xf1)],_0x1565e3[_0x56849e(0x165)],_0x434724['map'](_0x596984=>_0x596984['unitId']!==_0x5a1f3a['unitId']||_0x596984[_0x56849e(0x165)]!==_0x5a1f3a['subUnitId']||_0x596984['axis']!==_0x5a1f3a[_0x56849e(0xc8)]||_0x596984['start']!==_0x5a1f3a[_0x56849e(0xe4)]||_0x596984[_0x56849e(0x131)]!==_0x5a1f3a[_0x56849e(0x131)]?_0x596984:{..._0x596984,'collapsed':_0x1565e3[_0x56849e(0xc0)]})),!0x0;}};function Re(_0x403efd,_0x210445,_0x263418,_0x27c7d3){const _0x225b3f=_0x12c15b;return _0x403efd===_0x225b3f(0x150)?{'startRow':_0x210445,'endRow':_0x263418,'startColumn':0x0,'endColumn':_0x27c7d3[_0x225b3f(0xc7)]()-0x1}:{'startRow':0x0,'endRow':_0x27c7d3[_0x225b3f(0x132)]()-0x1,'startColumn':_0x210445,'endColumn':_0x263418};}function ze(_0x2a66b8){return _0x2a66b8==='row'?_0x45b91e['id']:_0x1d80f1['id'];}function Be(_0xa302f5){return _0xa302f5==='row'?_0x17e061['id']:_0x3f38bc['id'];}function Ve(_0x1bac52,_0x265a98,_0x44f798,_0x5cbcaf){const _0x502136=_0x12c15b;let _0x84fd36=_0x265a98?[Re(_0x1bac52[_0x502136(0xc8)],_0x1bac52[_0x502136(0xe4)],_0x1bac52['end'],_0x44f798)]:He(_0x1bac52,_0x5cbcaf,_0x44f798),_0x2c5c90=_0x265a98?ze(_0x1bac52[_0x502136(0xc8)]):Be(_0x1bac52[_0x502136(0xc8)]);return[{'id':U['id'],'params':{'unitId':_0x1bac52[_0x502136(0xf1)],'subUnitId':_0x1bac52[_0x502136(0x165)],'outlineId':_0x1bac52['id'],'outline':_0x1bac52,'collapsed':_0x265a98}},..._0x84fd36[_0x502136(0x13c)](_0x283cad=>({'id':_0x2c5c90,'params':{'unitId':_0x1bac52[_0x502136(0xf1)],'subUnitId':_0x1bac52[_0x502136(0x165)],'ranges':[_0x283cad],'dimensionOutlineId':_0x1bac52['id']}}))];}function He(_0x4ffb60,_0xfdf19c,_0x1f5d6a){const _0x49cdc1=_0x12c15b;let _0x26ef78=xe(_0xfdf19c[_0x49cdc1(0x13c)](_0x4d2d90=>Ue(_0x4d2d90,_0x4ffb60)?{..._0x4d2d90,'collapsed':!0x1}:_0x4d2d90),_0x4ffb60[_0x49cdc1(0xf1)],_0x4ffb60[_0x49cdc1(0x165)],_0x4ffb60[_0x49cdc1(0xc8)]);return We({'start':_0x4ffb60[_0x49cdc1(0xe4)],'end':_0x4ffb60[_0x49cdc1(0x131)]},_0x26ef78)['map'](_0xfb5eed=>Re(_0x4ffb60[_0x49cdc1(0xc8)],_0xfb5eed[_0x49cdc1(0xe4)],_0xfb5eed[_0x49cdc1(0x131)],_0x1f5d6a));}function Ue(_0x2b428c,_0x3a5d7a){const _0x51d35d=_0x12c15b;return _0x2b428c[_0x51d35d(0xf1)]===_0x3a5d7a[_0x51d35d(0xf1)]&&_0x2b428c[_0x51d35d(0x165)]===_0x3a5d7a['subUnitId']&&_0x2b428c[_0x51d35d(0xc8)]===_0x3a5d7a[_0x51d35d(0xc8)]&&_0x2b428c[_0x51d35d(0xe4)]===_0x3a5d7a['start']&&_0x2b428c[_0x51d35d(0x131)]===_0x3a5d7a[_0x51d35d(0x131)];}function We(_0x317dcf,_0x472c23){const _0x7d48ed=_0x12c15b;let _0x255c75=_0x317dcf[_0x7d48ed(0xe4)],_0x12122c=[];for(let _0x44ca4c of _0x472c23)if(!(_0x44ca4c[_0x7d48ed(0x131)]<_0x255c75||_0x44ca4c[_0x7d48ed(0xe4)]>_0x317dcf[_0x7d48ed(0x131)])&&(_0x44ca4c[_0x7d48ed(0xe4)]>_0x255c75&&_0x12122c[_0x7d48ed(0xd7)]({'start':_0x255c75,'end':Math['min'](_0x44ca4c[_0x7d48ed(0xe4)]-0x1,_0x317dcf[_0x7d48ed(0x131)])}),_0x255c75=Math[_0x7d48ed(0xdd)](_0x255c75,_0x44ca4c[_0x7d48ed(0x131)]+0x1),_0x255c75>_0x317dcf[_0x7d48ed(0x131)]))break;return _0x255c75<=_0x317dcf['end']&&_0x12122c[_0x7d48ed(0xd7)]({'start':_0x255c75,'end':_0x317dcf[_0x7d48ed(0x131)]}),_0x12122c;}const Ge={'id':'sheet.command.set-dimension-outline-collapsed','type':_0x17a129[_0x12c15b(0x138)],'handler':(_0x52365f,_0x58531d)=>{const _0x92ba88=_0x12c15b;if(!_0x58531d)return!0x1;let _0x3a6b89=_0x167798(_0x52365f[_0x92ba88(0xcf)](_0x5a4105),_0x58531d);if(!_0x3a6b89)return!0x1;let {unitId:_0x25834d,subUnitId:_0x10bb74,worksheet:_0x362ce4}=_0x3a6b89;if(!z(_0x52365f,_0x25834d,_0x10bb74))return!0x1;let _0x29355f=_0x52365f[_0x92ba88(0xcf)](F)[_0x92ba88(0x152)](_0x25834d,_0x10bb74),_0x3bcebd=_0x29355f['find'](_0x470496=>_0x470496['id']===_0x58531d[_0x92ba88(0x128)]);if(!_0x3bcebd||_0x3bcebd[_0x92ba88(0xc0)]===_0x58531d['collapsed'])return!0x1;let _0x556982=Ve(_0x3bcebd,_0x58531d[_0x92ba88(0xc0)],_0x362ce4,_0x29355f),_0x11fdaa=Ve(_0x3bcebd,!_0x58531d[_0x92ba88(0xc0)],_0x362ce4,_0x29355f);return _0x14996f(_0x556982,_0x52365f[_0x92ba88(0xcf)](_0xc79031))[_0x92ba88(0xce)]?(_0x52365f[_0x92ba88(0xcf)](_0x33517b)[_0x92ba88(0x144)]({'unitID':_0x25834d,'undoMutations':_0x11fdaa,'redoMutations':_0x556982}),!0x0):!0x1;}},W={'id':_0x12c15b(0xea),'type':_0x17a129[_0x12c15b(0x104)],'handler':(_0x25f354,_0x18576a)=>{const _0xe0f94c=_0x12c15b;let _0xa7d67a=_0x25f354['get'](F),_0x2c2817=Ke(_0xa7d67a[_0xe0f94c(0x152)](_0x18576a[_0xe0f94c(0xf1)],_0x18576a['subUnitId']),_0x18576a);return _0xa7d67a[_0xe0f94c(0x103)](_0x18576a[_0xe0f94c(0xf1)],_0x18576a[_0xe0f94c(0x165)],_0x2c2817),!0x0;}};function Ke(_0x589ce0,_0x27d340){const _0x487c48=_0x12c15b;switch(_0x27d340[_0x487c48(0x134)]){case _0x487c48(0x12f):return _0x27d340['restoreOutlines']?qe(_0x589ce0,_0x27d340):k(_0x589ce0,_0x27d340);case _0x487c48(0x14c):return A(_0x589ce0,_0x27d340);case _0x487c48(0xed):return j(_0x589ce0,_0x27d340);}}function qe(_0x798ca0,_0x902df8){const _0x46d23b=_0x12c15b;return[..._0x798ca0[_0x46d23b(0x159)](_0x4443f4=>_0x4443f4[_0x46d23b(0xf1)]!==_0x902df8['unitId']||_0x4443f4[_0x46d23b(0x165)]!==_0x902df8[_0x46d23b(0x165)]||_0x4443f4[_0x46d23b(0xc8)]!==_0x902df8['axis']),..._0x902df8[_0x46d23b(0x13a)]];}const G=_0x12c15b(0x130),Je=_0x12c15b(0xf9),Ye={};var Xe=_0x12c15b(0xd9),Ze=_0x12c15b(0x15a);function _0x36f9(){const _0x203870=['filter','1.0.0-alpha.2','Invalid\x20dimension\x20outline\x20move\x20source\x20range','index','count','object','valid','1708512InSqWJ','some','out-of-bounds','maxDepth','sheet.mutation.clear-dimension-outlines','subUnitId','values','4709170frJiFi','349389qXxfZW','collapsed','getActiveSheet','_error$','_sheetsOutlineModel','toRange','endColumn','CLEAR_RANGE_NOT_CONTAIN_OUTLINE','getMaxColumns','axis','defineProperty','min','sort','2690514xjCpXs','undos','result','get','invalid-range','constructor','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','forEach','_initRegisterCommand','children','_commandService','push','default','@univerjs-pro/sheets-outline','_resourceManagerService','depth','serialize','max','unknown','INVALID_RANGE','destinationIndex','getUnitId','prototype','call','start','message','registerPluginResource','max-depth','next','crossing','sheet.mutation.transform-dimension-outlines','column','sheet.mutation.set-dimension-outline-collapsed','move','getOwnPropertyDescriptor','asObservable','symbol','unitId','getUniverSheetInstance','string','_sheetInterceptorService','split\x20dimension\x20outline','deserialize','includes','disposeWithMe','sheets-outline.config','set','Crossing','pluginName','packageName','_injector','Invalid\x20dimension\x20outline\x20mutation','_ensureUnitOutlines','decorate','CROSSING','setOutlines','MUTATION','reason','length','outline','mergedOutlines','split','emit','parse','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','getCurrentUnitOfType','params','from','complete','offset','_getCommandScope','name','163570XfSmDs','OUT_OF_BOUNDS','UNKNOWN','permissionPointUpdate$','function','onStarting','version','entries','change$','endRow','localeCompare','7797432hisBGO','mergedOutline','maxIndex','12723YtaQre','dispose','348govgdE','_config','getSheetId','sourceStart','outlineId','startRow','pop','MOVE_SPLITS_OUTLINE','Invalid\x20outline\x20range','iterator','423TiiuKi','insert','SHEET_OUTLINE_PLUGIN','end','getRowCount','startColumn','type','join','DimensionOutlineError','_univerInstanceService','COMMAND','invalid-dimension-outline','restoreOutlines','UNIVER_SHEET','map','move-splits-outline','add','fromRange','clear','pipe','find','has','pushUndoRedo','_outlines','sourceEnd','sheet.command.clear-dimension-outlines','redos','permissionCheckWithoutRange','7xYPJha','_sheetsOutlineErrorService','delete','stringify','range','removeUnit','row','_initResource','getOutlines','registerCommand','_configService','sheet.command.remove-dimension-outline','_change$','_initCommandInterceptor','getSheetBySheetId'];_0x36f9=function(){return _0x203870;};return _0x36f9();}function K(_0x1464f5,_0x1b3e22){return function(_0x56b769,_0x2bb24e){_0x1b3e22(_0x56b769,_0x2bb24e,_0x1464f5);};}function q(_0x980523,_0x540784,_0x248ad5,_0x3dc327){const _0xbaa8b7=_0x12c15b;var _0x307efd=arguments[_0xbaa8b7(0x106)],_0x2285ca=_0x307efd<0x3?_0x540784:_0x3dc327===null?_0x3dc327=Object[_0xbaa8b7(0xee)](_0x540784,_0x248ad5):_0x3dc327,_0x1464ba;if(typeof Reflect==_0xbaa8b7(0x15e)&&typeof Reflect[_0xbaa8b7(0x101)]==_0xbaa8b7(0x118))_0x2285ca=Reflect[_0xbaa8b7(0x101)](_0x980523,_0x540784,_0x248ad5,_0x3dc327);else{for(var _0x6d5772=_0x980523[_0xbaa8b7(0x106)]-0x1;_0x6d5772>=0x0;_0x6d5772--)(_0x1464ba=_0x980523[_0x6d5772])&&(_0x2285ca=(_0x307efd<0x3?_0x1464ba(_0x2285ca):_0x307efd>0x3?_0x1464ba(_0x540784,_0x248ad5,_0x2285ca):_0x1464ba(_0x540784,_0x248ad5))||_0x2285ca);}return _0x307efd>0x3&&_0x2285ca&&Object[_0xbaa8b7(0xc9)](_0x540784,_0x248ad5,_0x2285ca),_0x2285ca;}const J={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};function _0x4a22(_0x57f6da,_0x302b4e){_0x57f6da=_0x57f6da-0xbf;const _0x36f9c8=_0x36f9();let _0x4a2276=_0x36f9c8[_0x57f6da];return _0x4a2276;}let Y=class extends _0xf63b2f{constructor(_0x276b04,_0x47b9fa,_0x37cc91,_0x286fa1){const _0x17757c=_0x12c15b;super(),this[_0x17757c(0x137)]=_0x276b04,this[_0x17757c(0xf4)]=_0x47b9fa,this['_sheetsOutlineModel']=_0x37cc91,this['_sheetsOutlineErrorService']=_0x286fa1,this[_0x17757c(0x157)]();}[_0x12c15b(0x157)](){const _0xb7b5eb=_0x12c15b;this[_0xb7b5eb(0xf8)](this[_0xb7b5eb(0xf4)]['interceptCommand']({'getMutations':_0x44d657=>Qe(_0x44d657,(_0x5d4a1e,_0x43f073)=>this[_0xb7b5eb(0xc3)][_0xb7b5eb(0x152)](_0x5d4a1e,_0x43f073),this[_0xb7b5eb(0x112)](_0x44d657['params']),_0x19e404=>this[_0xb7b5eb(0x14b)][_0xb7b5eb(0x10a)](_0x19e404))}));}[_0x12c15b(0x112)](_0x1f6312){const _0x501b1e=_0x12c15b;let _0x2accc5=_0x1f6312,_0x2edbfe=_0x2accc5!=null&&_0x2accc5[_0x501b1e(0xf1)]?this[_0x501b1e(0x137)][_0x501b1e(0xf2)](_0x2accc5[_0x501b1e(0xf1)]):this[_0x501b1e(0x137)][_0x501b1e(0x10d)](_0x3f1988[_0x501b1e(0x13b)]);if(!_0x2edbfe)return;let _0x518feb=_0x2accc5!=null&&_0x2accc5[_0x501b1e(0x165)]?_0x2edbfe[_0x501b1e(0x158)](_0x2accc5[_0x501b1e(0x165)]):_0x2edbfe[_0x501b1e(0xc1)]();if(_0x518feb)return{'unitId':_0x2edbfe[_0x501b1e(0xe1)](),'subUnitId':_0x518feb[_0x501b1e(0x126)]()};}};Y=q([K(0x0,_0x5a4105),K(0x1,_0x1650e6(_0x158c55)),K(0x2,_0x1650e6(F)),K(0x3,_0x1650e6(I))],Y);function Qe(_0x5cf0b0,_0x347e11,_0x280874,_0x1d162b){const _0x382de4=_0x12c15b;let _0x210d4f=et(_0x5cf0b0,_0x280874);if(!_0x210d4f)return at();let _0x3b87e2=_0x347e11(_0x210d4f['unitId'],_0x210d4f[_0x382de4(0x165)]);if(!_0x3b87e2[_0x382de4(0x161)](_0x5c3875=>_0x5c3875[_0x382de4(0xc8)]===_0x210d4f[_0x382de4(0xc8)]))return at();$e(_0x3b87e2,_0x210d4f,_0x5cf0b0['id'],_0x1d162b);let _0x3b2909=rt(_0x210d4f,_0x3b87e2);return{'redos':[{'id':W['id'],'params':_0x210d4f}],'undos':[{'id':W['id'],'params':_0x3b2909}],'preRedos':[],'preUndos':[]};}function $e(_0x44e356,_0x2bdac1,_0x3230e7,_0x21038a){const _0x140a2d=_0x12c15b;try{switch(_0x2bdac1[_0x140a2d(0x134)]){case _0x140a2d(0x12f):k(_0x44e356,_0x2bdac1);break;case _0x140a2d(0x14c):A(_0x44e356,_0x2bdac1);break;case _0x140a2d(0xed):j(_0x44e356,_0x2bdac1);break;}}catch(_0x441ba0){throw _0x21038a==null||_0x21038a({'reason':w(_0x441ba0),'commandId':_0x3230e7,'unitId':_0x2bdac1[_0x140a2d(0xf1)],'subUnitId':_0x2bdac1[_0x140a2d(0x165)],'axis':_0x2bdac1[_0x140a2d(0xc8)],'outlineId':_e(_0x441ba0)}),new _0x2cf88e(_0x441ba0 instanceof Error?_0x441ba0[_0x140a2d(0xe5)]:_0x140a2d(0xff));}}function et(_0x2c7a4c,_0x36260b){const _0x397e6e=_0x12c15b;switch(_0x2c7a4c['id']){case _0x484dae['id']:return X(_0x2c7a4c[_0x397e6e(0x10e)],_0x397e6e(0x150),_0x36260b);case _0x64193c['id']:return X(_0x2c7a4c['params'],_0x397e6e(0xeb),_0x36260b);case _0xadfd65['id']:return tt(_0x2c7a4c[_0x397e6e(0x10e)],'row',_0x36260b);case _0x116d08['id']:return tt(_0x2c7a4c[_0x397e6e(0x10e)],_0x397e6e(0xeb),_0x36260b);case _0x12e969['id']:return nt(_0x2c7a4c['params'],'row',_0x36260b);case _0x69f01d['id']:return nt(_0x2c7a4c[_0x397e6e(0x10e)],_0x397e6e(0xeb),_0x36260b);default:return null;}}function X(_0x57b712,_0x13d61f,_0x353e8){const _0x164aa3=_0x12c15b;let _0xbc30e6=Z(_0x57b712,_0x353e8);if(!(_0x57b712!=null&&_0x57b712[_0x164aa3(0x14e)])||!_0xbc30e6)return null;let _0xef1486=_0x13d61f===_0x164aa3(0x150)?_0x57b712[_0x164aa3(0x14e)]['startRow']:_0x57b712[_0x164aa3(0x14e)][_0x164aa3(0x133)],_0xb0594c=_0x13d61f===_0x164aa3(0x150)?_0x57b712[_0x164aa3(0x14e)]['endRow']:_0x57b712[_0x164aa3(0x14e)][_0x164aa3(0xc5)];return{..._0xbc30e6,'axis':_0x13d61f,'type':_0x164aa3(0x12f),'index':_0xef1486,'count':_0xb0594c-_0xef1486+0x1};}function tt(_0x1e814a,_0x313876,_0x14fd78){const _0xfb4d63=_0x12c15b;let _0x5227c1=Z(_0x1e814a,_0x14fd78);if(!(_0x1e814a!=null&&_0x1e814a['range'])||!_0x5227c1)return null;let _0x3b9084=_0x313876===_0xfb4d63(0x150)?_0x1e814a[_0xfb4d63(0x14e)][_0xfb4d63(0x129)]:_0x1e814a[_0xfb4d63(0x14e)][_0xfb4d63(0x133)],_0x3282ac=_0x313876===_0xfb4d63(0x150)?_0x1e814a['range'][_0xfb4d63(0x11d)]:_0x1e814a[_0xfb4d63(0x14e)][_0xfb4d63(0xc5)];return{..._0x5227c1,'axis':_0x313876,'type':_0xfb4d63(0x14c),'start':_0x3b9084,'end':_0x3282ac};}function nt(_0x4d9e77,_0x1af4f9,_0x1c228b){const _0x513bc2=_0x12c15b;let _0x2e8ed9=Z(_0x4d9e77,_0x1c228b);if(!(_0x4d9e77!=null&&_0x4d9e77[_0x513bc2(0x13f)])||!_0x4d9e77[_0x513bc2(0xc4)]||!_0x2e8ed9)return null;let _0x43cdf9=_0x1af4f9===_0x513bc2(0x150)?_0x4d9e77[_0x513bc2(0x13f)]['startRow']:_0x4d9e77[_0x513bc2(0x13f)][_0x513bc2(0x133)],_0x4586ed=_0x1af4f9==='row'?_0x4d9e77[_0x513bc2(0x13f)]['endRow']:_0x4d9e77['fromRange'][_0x513bc2(0xc5)],_0x545a86=_0x1af4f9===_0x513bc2(0x150)?_0x4d9e77[_0x513bc2(0xc4)][_0x513bc2(0x129)]:_0x4d9e77[_0x513bc2(0xc4)][_0x513bc2(0x133)];return{..._0x2e8ed9,'axis':_0x1af4f9,'type':_0x513bc2(0xed),'sourceStart':_0x43cdf9,'sourceEnd':_0x4586ed,'destinationIndex':_0x545a86};}function rt(_0x2f2d49,_0x3408a4){const _0x4dae05=_0x12c15b;switch(_0x2f2d49['type']){case _0x4dae05(0x12f):return{'unitId':_0x2f2d49[_0x4dae05(0xf1)],'subUnitId':_0x2f2d49[_0x4dae05(0x165)],'axis':_0x2f2d49[_0x4dae05(0xc8)],'type':_0x4dae05(0x14c),'start':_0x2f2d49[_0x4dae05(0x15c)],'end':_0x2f2d49['index']+_0x2f2d49['count']-0x1};case'delete':return{'unitId':_0x2f2d49['unitId'],'subUnitId':_0x2f2d49[_0x4dae05(0x165)],'axis':_0x2f2d49[_0x4dae05(0xc8)],'type':'insert','index':_0x2f2d49['start'],'count':_0x2f2d49[_0x4dae05(0x131)]-_0x2f2d49[_0x4dae05(0xe4)]+0x1,'restoreOutlines':_0x3408a4[_0x4dae05(0x159)](_0x580104=>_0x580104[_0x4dae05(0xf1)]===_0x2f2d49['unitId']&&_0x580104[_0x4dae05(0x165)]===_0x2f2d49[_0x4dae05(0x165)]&&_0x580104[_0x4dae05(0xc8)]===_0x2f2d49['axis'])};case'move':return it(_0x2f2d49);}}function it(_0x46a289){const _0x7f997=_0x12c15b;let _0x4c319a=_0x46a289['sourceEnd']-_0x46a289['sourceStart']+0x1;return _0x46a289[_0x7f997(0xe0)]>=_0x46a289[_0x7f997(0x127)]&&_0x46a289[_0x7f997(0xe0)]<=_0x46a289['sourceEnd']+0x1?{..._0x46a289}:_0x46a289[_0x7f997(0xe0)]>_0x46a289[_0x7f997(0x146)]+0x1?{..._0x46a289,'sourceStart':_0x46a289['destinationIndex']-_0x4c319a,'sourceEnd':_0x46a289[_0x7f997(0xe0)]-0x1,'destinationIndex':_0x46a289[_0x7f997(0x127)]}:{..._0x46a289,'sourceStart':_0x46a289[_0x7f997(0xe0)],'sourceEnd':_0x46a289['destinationIndex']+_0x4c319a-0x1,'destinationIndex':_0x46a289[_0x7f997(0x146)]+0x1};}function Z(_0x2bea3a,_0x2e74bf){const _0x50aff7=_0x12c15b;var _0x60d28,_0x5633d1;let _0x569809=(_0x60d28=_0x2bea3a==null?void 0x0:_0x2bea3a[_0x50aff7(0xf1)])==null?_0x2e74bf==null?void 0x0:_0x2e74bf[_0x50aff7(0xf1)]:_0x60d28,_0x246d7b=(_0x5633d1=_0x2bea3a==null?void 0x0:_0x2bea3a[_0x50aff7(0x165)])==null?_0x2e74bf==null?void 0x0:_0x2e74bf[_0x50aff7(0x165)]:_0x5633d1;return _0x569809&&_0x246d7b?{'unitId':_0x569809,'subUnitId':_0x246d7b}:null;}function at(){const _0x2fbbf2=_0x12c15b;var _0x75a504,_0x5b324b;return{'redos':[...J[_0x2fbbf2(0x148)]],'undos':[...J[_0x2fbbf2(0xcd)]],'preRedos':[...(_0x75a504=J['preRedos'])==null?[]:_0x75a504],'preUndos':[...(_0x5b324b=J['preUndos'])==null?[]:_0x5b324b]};}let Q=class extends _0xf63b2f{constructor(_0x871f53,_0x2e3d46){const _0x3f8d69=_0x12c15b;super(),this[_0x3f8d69(0xda)]=_0x871f53,this[_0x3f8d69(0xc3)]=_0x2e3d46,this[_0x3f8d69(0x151)]();}[_0x12c15b(0x151)](){const _0xf74c3=_0x12c15b;this[_0xf74c3(0xf8)](this[_0xf74c3(0xda)][_0xf74c3(0xe6)]({'pluginName':G,'businesses':[_0x3f1988[_0xf74c3(0x13b)]],'toJson':_0x7e80cc=>JSON[_0xf74c3(0x14d)](this[_0xf74c3(0xc3)]['serialize'](_0x7e80cc)),'parseJson':_0x3c17b7=>JSON[_0xf74c3(0x10b)](_0x3c17b7),'onLoad':(_0xb08462,_0x2995e9)=>this['_sheetsOutlineModel']['deserialize'](_0xb08462,_0x2995e9),'onUnLoad':_0x448e32=>this['_sheetsOutlineModel']['removeUnit'](_0x448e32)}));}};Q=q([K(0x0,_0x3e9218),K(0x1,_0x1650e6(F))],Q);let $=class extends _0x4c3cec{constructor(_0x21aef4=Ye,_0x256235,_0x232ae4,_0x43f949){const _0x1988d1=_0x12c15b;super(),this['_config']=_0x21aef4,this[_0x1988d1(0xfe)]=_0x256235,this['_commandService']=_0x232ae4,this[_0x1988d1(0x154)]=_0x43f949;let {..._0x1c7e66}=_0x4a2971({},Ye,this[_0x1988d1(0x125)]);this[_0x1988d1(0x154)]['setConfig'](Je,_0x1c7e66);}[_0x12c15b(0x119)](){const _0x13affb=_0x12c15b;this[_0x13affb(0xfe)][_0x13affb(0x13e)]([F]),this[_0x13affb(0xfe)]['add']([I]),this['_injector']['add']([Q]),this[_0x13affb(0xfe)][_0x13affb(0x13e)]([Y]),this['_initRegisterCommand'](),this[_0x13affb(0xfe)][_0x13affb(0xcf)](F),this['_injector'][_0x13affb(0xcf)](I),this['_injector'][_0x13affb(0xcf)](Q),this['_injector'][_0x13affb(0xcf)](Y);}[_0x12c15b(0xd4)](){const _0x2a3adc=_0x12c15b;[B,Le,Ge,H][_0x2a3adc(0xd3)](_0x42a115=>{const _0x539a8c=_0x2a3adc;this[_0x539a8c(0xf8)](this[_0x539a8c(0xd6)][_0x539a8c(0x153)](_0x42a115));}),[L,R,U,V,W]['forEach'](_0x3bfad5=>{const _0x43d336=_0x2a3adc;this[_0x43d336(0xf8)](this['_commandService'][_0x43d336(0x153)](_0x3bfad5));});}};P($,_0x12c15b(0xfc),G),P($,_0x12c15b(0xfd),Xe),P($,_0x12c15b(0x11a),Ze),P($,_0x12c15b(0x134),_0x3f1988[_0x12c15b(0x13b)]),$=q([_0x273fa0(_0x3eafe6),K(0x1,_0x1650e6(_0xb0ffb3)),K(0x2,_0xc79031),K(0x3,_0x306e00)],$);export{B as AddDimensionOutlineCommand,L as AddDimensionOutlineMutation,H as ClearDimensionOutlinesCommand,V as ClearDimensionOutlinesMutation,he as DimensionOutlineAxis,C as DimensionOutlineError,ge as DimensionOutlineErrorReason,Le as RemoveDimensionOutlineCommand,R as RemoveDimensionOutlineMutation,Je as SHEETS_OUTLINE_PLUGIN_CONFIG_KEY,G as SHEET_OUTLINE_PLUGIN,Ge as SetDimensionOutlineCollapsedCommand,U as SetDimensionOutlineCollapsedMutation,I as SheetsOutlineErrorService,F as SheetsOutlineModel,W as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,ve as addDimensionOutlineToList,D as buildDimensionOutlineTree,xe as buildHiddenRanges,O as canAddDimensionOutline,be as clearDimensionOutlinesInRange,_e as getDimensionOutlineErrorOutlineId,w as getDimensionOutlineErrorReason,Pe as getDimensionOutlineViewPermission$,z as hasDimensionOutlineViewPermission,Se as mergeRanges,A as transformOutlinesByDelete,k as transformOutlinesByInsert,j as transformOutlinesByMove};
1
+ const _0x513111=_0x2df8;(function(_0x4f8423,_0x46ca0b){const _0x1b6758=_0x2df8,_0xd83ae7=_0x4f8423();while(!![]){try{const _0x1d4617=parseInt(_0x1b6758(0x104))/0x1*(parseInt(_0x1b6758(0x14f))/0x2)+parseInt(_0x1b6758(0x116))/0x3*(parseInt(_0x1b6758(0x197))/0x4)+-parseInt(_0x1b6758(0x167))/0x5*(-parseInt(_0x1b6758(0x110))/0x6)+-parseInt(_0x1b6758(0x136))/0x7+-parseInt(_0x1b6758(0x101))/0x8+-parseInt(_0x1b6758(0x15f))/0x9*(parseInt(_0x1b6758(0x102))/0xa)+parseInt(_0x1b6758(0x185))/0xb;if(_0x1d4617===_0x46ca0b)break;else _0xd83ae7['push'](_0xd83ae7['shift']());}catch(_0x4446e3){_0xd83ae7['push'](_0xd83ae7['shift']());}}}(_0x1868,0xb3b0b));import{CommandType as _0x2151bc,CustomCommandExecutionError as _0x155f43,DependentOn as _0x35d9c9,Disposable as _0x46a6a2,ICommandService as _0x534969,IConfigService as _0x551ef7,IPermissionService as _0x54b9b7,IResourceManagerService as _0x906d2b,IUndoRedoService as _0x5324d9,IUniverInstanceService as _0x528547,Inject as _0x11b2ce,Injector as _0x14db82,Plugin as _0x1f2fac,UniverInstanceType as _0xc24b96,generateRandomId as _0x4b0344,merge as _0xe2fd50,sequenceExecute as _0x4cbd03}from'@univerjs/core';import{InsertColCommand as _0x563027,InsertRowCommand as _0x239a28,MoveColsCommand as _0x400c51,MoveRowsCommand as _0x35b0a4,RemoveColCommand as _0x1b432c,RemoveRowCommand as _0x1839a0,SetColHiddenMutation as _0x4987e0,SetColVisibleMutation as _0x9b212,SetRowHiddenMutation as _0x30f867,SetRowVisibleMutation as _0x3a6cc3,SheetInterceptorService as _0xc64e24,SheetPermissionCheckController as _0x48dc2f,WorkbookViewPermission as _0xc8917c,WorksheetViewPermission as _0x116912,getSheetCommandTarget as _0x1c825a}from'@univerjs/sheets';import{Subject as _0x4816d2,of as _0x115c57}from'rxjs';import{debounceTime as _0xe2f5ca,map as _0x138031,startWith as _0x465027}from'rxjs/operators';import{UniverLicensePlugin as _0x1ce9ec}from'@univerjs-pro/license';let me=function(_0x4f8248){const _0x44bf0e=_0x2df8;return _0x4f8248['ROW']='row',_0x4f8248[_0x44bf0e(0x106)]=_0x44bf0e(0x10f),_0x4f8248;}({}),he=function(_0x111674){const _0x28d777=_0x2df8;return _0x111674[_0x28d777(0x13f)]=_0x28d777(0x183),_0x111674[_0x28d777(0xfc)]=_0x28d777(0x182),_0x111674['CROSSING']='crossing',_0x111674[_0x28d777(0x14b)]=_0x28d777(0x15b),_0x111674['MOVE_SPLITS_OUTLINE']=_0x28d777(0x16f),_0x111674['CLEAR_RANGE_NOT_CONTAIN_OUTLINE']=_0x28d777(0x154),_0x111674[_0x28d777(0x107)]='unknown',_0x111674;}({});var w=class extends Error{constructor(_0x1d6ead,_0x1f15fc,_0x710763){const _0x3269c9=_0x2df8;super(_0x1f15fc),this[_0x3269c9(0x128)]=_0x1d6ead,this['outlineId']=_0x710763,this[_0x3269c9(0x18c)]='DimensionOutlineError';}};function ge(_0x3da3a4){const _0x33d935=_0x2df8;return _0x3da3a4 instanceof w?_0x3da3a4[_0x33d935(0x128)]:_0x3da3a4 instanceof Error?_0x3da3a4[_0x33d935(0x13c)][_0x33d935(0x18a)]('split\x20dimension\x20outline')?_0x33d935(0x16f):_0x3da3a4['message']['includes'](_0x33d935(0x17b))?_0x33d935(0x15b):_0x3da3a4['message'][_0x33d935(0x18a)](_0x33d935(0x11e))?_0x33d935(0x173):_0x3da3a4[_0x33d935(0x13c)]['includes'](_0x33d935(0x140))?'invalid-range':_0x33d935(0xf9):_0x33d935(0xf9);}function _e(_0x3addf0){const _0x514750=_0x2df8;return _0x3addf0 instanceof w?_0x3addf0[_0x514750(0x153)]:void 0x0;}const T=0x2**0x35-0x1;function E(_0x173777,_0x34ed48){const _0x4e8f0c=_0x2df8;return _0x173777[_0x4e8f0c(0xfa)]===_0x34ed48['unitId']&&_0x173777[_0x4e8f0c(0x133)]===_0x34ed48[_0x4e8f0c(0x133)]&&_0x173777[_0x4e8f0c(0x19e)]===_0x34ed48['axis'];}function D(_0xd2caaf,_0x4accdd={}){const _0x5c7cf0=_0x2df8;var _0x2ea8a2;let _0x46f1f9=(_0x2ea8a2=_0x4accdd[_0x5c7cf0(0x11c)])==null?0x8:_0x2ea8a2,_0x13fb4b=new Map();for(let _0x1f8022 of _0xd2caaf){let _0x470824=_0x1f8022[_0x5c7cf0(0xfa)]+':'+_0x1f8022[_0x5c7cf0(0x133)]+':'+_0x1f8022[_0x5c7cf0(0x19e)],_0x2524bf=_0x13fb4b[_0x5c7cf0(0x18b)](_0x470824);_0x2524bf?_0x2524bf[_0x5c7cf0(0x199)](_0x1f8022):_0x13fb4b[_0x5c7cf0(0x194)](_0x470824,[_0x1f8022]);}let _0x3e1744=[];for(let _0x222b82 of _0x13fb4b[_0x5c7cf0(0x15e)]()){let _0x3a1e1c=[..._0x222b82][_0x5c7cf0(0x178)](ke),_0x42740b=[];for(let _0x48938b of _0x3a1e1c){for(Ae(_0x48938b);_0x42740b['length']>0x0&&_0x48938b[_0x5c7cf0(0x10c)]>_0x42740b[_0x42740b[_0x5c7cf0(0x16b)]-0x1][_0x5c7cf0(0xff)];)_0x42740b[_0x5c7cf0(0x184)]();let _0x3d36fb=_0x42740b[_0x42740b[_0x5c7cf0(0x16b)]-0x1];if(_0x3d36fb&&_0x48938b[_0x5c7cf0(0xff)]>_0x3d36fb[_0x5c7cf0(0xff)])throw new w(_0x5c7cf0(0x173),_0x5c7cf0(0x163),_0x48938b['id']);let _0x4e4dce=_0x3d36fb?_0x3d36fb[_0x5c7cf0(0x17b)]+0x1:0x1;if(_0x4e4dce>_0x46f1f9)throw new w('max-depth',_0x5c7cf0(0x192)+_0x46f1f9,_0x48938b['id']);let _0x4ec77d={..._0x48938b,'depth':_0x4e4dce,'parentId':_0x3d36fb==null?void 0x0:_0x3d36fb['id'],'anchor':_0x48938b[_0x5c7cf0(0xff)],'children':[]};_0x3d36fb?_0x3d36fb[_0x5c7cf0(0x19b)][_0x5c7cf0(0x199)](_0x4ec77d):_0x3e1744[_0x5c7cf0(0x199)](_0x4ec77d),_0x42740b[_0x5c7cf0(0x199)](_0x4ec77d);}}return _0x3e1744;}function O(_0xe218a,_0x4d8874,_0x3d3a9a={}){const _0x2243c1=_0x2df8;if(_0x4d8874['start']<0x0||_0x4d8874[_0x2243c1(0x10c)]>_0x4d8874[_0x2243c1(0xff)])return{'valid':!0x1,'reason':_0x2243c1(0x183)};if(_0x3d3a9a['maxIndex']!=null&&_0x4d8874[_0x2243c1(0xff)]>=_0x3d3a9a[_0x2243c1(0x13d)])return{'valid':!0x1,'reason':_0x2243c1(0x182)};let _0x4896d5=_0xe218a['filter'](_0x1d9012=>E(_0x1d9012,_0x4d8874));for(let _0x5545b4 of _0x4896d5)if(je(_0x5545b4,_0x4d8874))return{'valid':!0x1,'reason':'crossing'};try{D([..._0xe218a,_0x4d8874],_0x3d3a9a);}catch(_0x5a01da){let _0x21d72e=ge(_0x5a01da);return _0x21d72e===_0x2243c1(0x15b)?{'valid':!0x1,'reason':_0x2243c1(0x15b)}:_0x21d72e==='invalid-range'?{'valid':!0x1,'reason':_0x2243c1(0x183)}:{'valid':!0x1,'reason':_0x2243c1(0x173)};}return{'valid':!0x0};}function ve(_0x56785a,_0x5cbfd8,_0x25f227={}){const _0xd86f68=_0x2df8;let _0x1b67f8=O(_0x56785a,_0x5cbfd8,_0x25f227);if(!_0x1b67f8['valid']){var _0x257714;throw Error((_0x257714=_0x1b67f8[_0xd86f68(0x128)])==null?_0xd86f68(0x10d):_0x257714);}return[..._0x56785a,_0x5cbfd8];}function ye(_0xfe34f8,_0xb5378c){const _0x54de4a=_0x2df8;let _0x7f8409=_0xb5378c[_0x54de4a(0x10c)],_0xb568a=_0xb5378c[_0x54de4a(0xff)],_0x318beb=[],_0x3428a3=!0x0;for(;_0x3428a3;){_0x3428a3=!0x1;for(let _0x5a97bc of _0xfe34f8)_0x318beb[_0x54de4a(0x18a)](_0x5a97bc)||!E(_0x5a97bc,_0xb5378c)||!De(_0x5a97bc[_0x54de4a(0x10c)],_0x5a97bc['end'],_0x7f8409,_0xb568a)||(_0x318beb[_0x54de4a(0x199)](_0x5a97bc),_0x7f8409=Math[_0x54de4a(0x11a)](_0x7f8409,_0x5a97bc[_0x54de4a(0x10c)]),_0xb568a=Math[_0x54de4a(0x121)](_0xb568a,_0x5a97bc[_0x54de4a(0xff)]),_0x3428a3=!0x0);}if(_0x318beb['length']===0x0)return null;let [_0x3097b0]=[..._0x318beb][_0x54de4a(0x178)](ke);return{'mergedOutline':{..._0x3097b0,'start':_0x7f8409,'end':_0xb568a},'mergedOutlines':_0x318beb};}function be(_0x2a0284,_0x55399c){const _0x559fdb=_0x2df8;return _0x2a0284[_0x559fdb(0x141)](_0x51b056=>E(_0x51b056,_0x55399c)?!(_0x51b056['start']>=_0x55399c[_0x559fdb(0x10c)]&&_0x51b056['end']<=_0x55399c[_0x559fdb(0xff)]):!0x0);}function xe(_0x595f75,_0x4f264c,_0xa49a7d,_0x3a3d09){const _0x355ce5=_0x2df8;return Se(_0x595f75[_0x355ce5(0x141)](_0x18526d=>_0x18526d[_0x355ce5(0xfa)]===_0x4f264c&&_0x18526d[_0x355ce5(0x133)]===_0xa49a7d&&_0x18526d['axis']===_0x3a3d09&&_0x18526d[_0x355ce5(0x164)])[_0x355ce5(0x17a)](_0x32e66d=>({'start':_0x32e66d[_0x355ce5(0x10c)],'end':_0x32e66d[_0x355ce5(0xff)]})));}function Se(_0x2df00c){const _0x374127=_0x2df8;if(_0x2df00c[_0x374127(0x16b)]===0x0)return[];let _0x50ad8c=[..._0x2df00c][_0x374127(0x178)]((_0x3ae0fb,_0x310223)=>_0x3ae0fb[_0x374127(0x10c)]-_0x310223[_0x374127(0x10c)]||_0x3ae0fb[_0x374127(0xff)]-_0x310223[_0x374127(0xff)]),_0x56f271=[];for(let _0xa7b99e of _0x50ad8c){let _0x47e891=_0x56f271[_0x56f271[_0x374127(0x16b)]-0x1];!_0x47e891||_0xa7b99e['start']>_0x47e891[_0x374127(0xff)]+0x1?_0x56f271[_0x374127(0x199)]({..._0xa7b99e}):_0x47e891['end']=Math[_0x374127(0x121)](_0x47e891[_0x374127(0xff)],_0xa7b99e[_0x374127(0xff)]);}return _0x56f271;}function k(_0x258cb5,_0x3b8ea1){const _0x5e07a5=_0x2df8;return _0x3b8ea1[_0x5e07a5(0x12b)]<=0x0?_0x258cb5:M(_0x258cb5[_0x5e07a5(0x17a)](_0xcab2d8=>E(_0xcab2d8,_0x3b8ea1)?_0x3b8ea1[_0x5e07a5(0x131)]<=_0xcab2d8['start']?{..._0xcab2d8,'start':_0xcab2d8[_0x5e07a5(0x10c)]+_0x3b8ea1[_0x5e07a5(0x12b)],'end':_0xcab2d8[_0x5e07a5(0xff)]+_0x3b8ea1['count']}:_0xcab2d8[_0x5e07a5(0x10c)]<_0x3b8ea1[_0x5e07a5(0x131)]&&_0x3b8ea1[_0x5e07a5(0x131)]<=_0xcab2d8['end']?{..._0xcab2d8,'end':_0xcab2d8[_0x5e07a5(0xff)]+_0x3b8ea1[_0x5e07a5(0x12b)]}:_0xcab2d8:_0xcab2d8));}function A(_0x109ce7,_0x7db934){const _0x30cfa0=_0x2df8;if(_0x7db934['start']>_0x7db934[_0x30cfa0(0xff)])return _0x109ce7;let _0x250491=_0x7db934[_0x30cfa0(0xff)]-_0x7db934['start']+0x1,_0x1e9a55=[];for(let _0x17e586 of _0x109ce7){if(!E(_0x17e586,_0x7db934)){_0x1e9a55[_0x30cfa0(0x199)](_0x17e586);continue;}if(_0x17e586[_0x30cfa0(0xff)]<_0x7db934[_0x30cfa0(0x10c)]){_0x1e9a55[_0x30cfa0(0x199)](_0x17e586);continue;}if(_0x17e586[_0x30cfa0(0x10c)]>_0x7db934['end']){_0x1e9a55['push']({..._0x17e586,'start':_0x17e586[_0x30cfa0(0x10c)]-_0x250491,'end':_0x17e586[_0x30cfa0(0xff)]-_0x250491});continue;}let _0x1f36e6=Math['max'](_0x17e586[_0x30cfa0(0x10c)],_0x7db934[_0x30cfa0(0x10c)]),_0x52cb62=Math[_0x30cfa0(0x11a)](_0x17e586['end'],_0x7db934[_0x30cfa0(0xff)]),_0x22b55d=Math[_0x30cfa0(0x121)](0x0,_0x52cb62-_0x1f36e6+0x1),_0x4b42ae=_0x17e586[_0x30cfa0(0xff)]-_0x17e586[_0x30cfa0(0x10c)]+0x1-_0x22b55d;if(_0x4b42ae<=0x0)continue;let _0x499d5d=_0x17e586[_0x30cfa0(0x10c)]<_0x7db934[_0x30cfa0(0x10c)]?_0x17e586[_0x30cfa0(0x10c)]:_0x7db934[_0x30cfa0(0x10c)];_0x1e9a55[_0x30cfa0(0x199)]({..._0x17e586,'start':_0x499d5d,'end':_0x499d5d+_0x4b42ae-0x1});}return M(_0x1e9a55);}function j(_0xfdbb61,_0x33cef1){const _0x58a117=_0x2df8;if(_0x33cef1[_0x58a117(0x16e)]>_0x33cef1[_0x58a117(0x152)])return _0xfdbb61;let _0x58ac73=[];for(let _0x19f0c1 of _0xfdbb61){if(!E(_0x19f0c1,_0x33cef1)){_0x58ac73[_0x58a117(0x199)](_0x19f0c1);continue;}let _0x43fdec=Ce(_0x19f0c1,_0x33cef1);if(_0x43fdec[_0x58a117(0x13b)]===_0x58a117(0xf4))throw new w(_0x58a117(0x16f),'Move\x20would\x20split\x20dimension\x20outline:\x20'+_0x19f0c1['id'],_0x19f0c1['id']);_0x58ac73[_0x58a117(0x199)](_0x43fdec[_0x58a117(0x19a)]);}return M(_0x58ac73);}function Ce(_0x4860ea,_0x3c3291){const _0x256c15=_0x2df8;let _0x1b8bb2=we(_0x3c3291['sourceStart'],_0x3c3291['sourceEnd']+0x1,_0x3c3291[_0x256c15(0x193)]),_0x13c07d=[],_0x18f3ed={'start':_0x4860ea['start'],'end':_0x4860ea[_0x256c15(0xff)]+0x1};for(let _0x19a38b of _0x1b8bb2){let _0x1590ba=Te(_0x18f3ed,_0x19a38b[_0x256c15(0x140)]);_0x1590ba&&_0x13c07d[_0x256c15(0x199)]({'start':_0x1590ba['start']+_0x19a38b[_0x256c15(0x156)],'end':_0x1590ba[_0x256c15(0xff)]+_0x19a38b[_0x256c15(0x156)]});}let _0x4872af=Ee(_0x13c07d);return _0x4872af['length']===0x1?{'type':'ok','outline':{..._0x4860ea,'start':_0x4872af[0x0]['start'],'end':_0x4872af[0x0][_0x256c15(0xff)]-0x1}}:{'type':'split','outline':_0x4860ea,'ranges':_0x4872af};}function we(_0x383d3b,_0x456a30,_0x315ad3){const _0x3640c8=_0x2df8;let _0x5e7559=_0x456a30-_0x383d3b;if(_0x5e7559<=0x0)throw Error(_0x3640c8(0x143));return _0x315ad3>=_0x383d3b&&_0x315ad3<=_0x456a30?[{'range':{'start':0x0,'end':T},'offset':0x0}]:_0x315ad3<_0x383d3b?[{'range':{'start':0x0,'end':_0x315ad3},'offset':0x0},{'range':{'start':_0x315ad3,'end':_0x383d3b},'offset':_0x5e7559},{'range':{'start':_0x383d3b,'end':_0x456a30},'offset':_0x315ad3-_0x383d3b},{'range':{'start':_0x456a30,'end':T},'offset':0x0}]:[{'range':{'start':0x0,'end':_0x383d3b},'offset':0x0},{'range':{'start':_0x383d3b,'end':_0x456a30},'offset':_0x315ad3-_0x456a30},{'range':{'start':_0x456a30,'end':_0x315ad3},'offset':-_0x5e7559},{'range':{'start':_0x315ad3,'end':T},'offset':0x0}];}function Te(_0x48427a,_0x468191){const _0x561961=_0x2df8;let _0x41e746=Math[_0x561961(0x121)](_0x48427a[_0x561961(0x10c)],_0x468191[_0x561961(0x10c)]),_0x48eb8d=Math[_0x561961(0x11a)](_0x48427a['end'],_0x468191[_0x561961(0xff)]);return _0x41e746>=_0x48eb8d?null:{'start':_0x41e746,'end':_0x48eb8d};}function Ee(_0x1cbe22){const _0x4e4659=_0x2df8;if(_0x1cbe22[_0x4e4659(0x16b)]===0x0)return[];let _0x568036=[..._0x1cbe22][_0x4e4659(0x178)]((_0x3b41d3,_0x51668c)=>_0x3b41d3['start']-_0x51668c[_0x4e4659(0x10c)]||_0x3b41d3[_0x4e4659(0xff)]-_0x51668c[_0x4e4659(0xff)]),_0x284e53=[];for(let _0x46da8a of _0x568036){let _0x22664a=_0x284e53[_0x284e53['length']-0x1];!_0x22664a||_0x46da8a[_0x4e4659(0x10c)]>_0x22664a[_0x4e4659(0xff)]?_0x284e53[_0x4e4659(0x199)]({..._0x46da8a}):_0x22664a[_0x4e4659(0xff)]=Math[_0x4e4659(0x121)](_0x22664a[_0x4e4659(0xff)],_0x46da8a['end']);}return _0x284e53;}function De(_0x5f4a29,_0x47c53b,_0x1755bd,_0x1d4c99){return _0x47c53b+0x1===_0x1755bd||_0x1d4c99+0x1===_0x5f4a29;}function M(_0x1a6714){let _0x37427a=Oe(_0x1a6714);return D(_0x37427a),_0x37427a;}function Oe(_0x4e75c2){const _0x424af0=_0x2df8;let _0x468963=new Map();for(let _0x2e82d2 of _0x4e75c2){let _0x40f341=[_0x2e82d2[_0x424af0(0xfa)],_0x2e82d2[_0x424af0(0x133)],_0x2e82d2[_0x424af0(0x19e)],_0x2e82d2['start'],_0x2e82d2[_0x424af0(0xff)]][_0x424af0(0x108)](':'),_0xa82aa5=_0x468963['get'](_0x40f341);if(!_0xa82aa5){_0x468963['set'](_0x40f341,_0x2e82d2);continue;}_0x468963[_0x424af0(0x194)](_0x40f341,{..._0xa82aa5,'collapsed':_0xa82aa5[_0x424af0(0x164)]||_0x2e82d2[_0x424af0(0x164)]});}return Array[_0x424af0(0x111)](_0x468963[_0x424af0(0x15e)]());}function ke(_0x51aebb,_0x48828e){const _0x56115d=_0x2df8;return _0x51aebb[_0x56115d(0xfa)]===_0x48828e['unitId']?_0x51aebb[_0x56115d(0x133)]===_0x48828e[_0x56115d(0x133)]?_0x51aebb[_0x56115d(0x19e)]===_0x48828e[_0x56115d(0x19e)]?_0x51aebb['start']===_0x48828e[_0x56115d(0x10c)]?_0x48828e[_0x56115d(0xff)]-_0x51aebb[_0x56115d(0xff)]:_0x51aebb[_0x56115d(0x10c)]-_0x48828e[_0x56115d(0x10c)]:_0x51aebb[_0x56115d(0x19e)][_0x56115d(0x17f)](_0x48828e[_0x56115d(0x19e)]):_0x51aebb[_0x56115d(0x133)][_0x56115d(0x17f)](_0x48828e[_0x56115d(0x133)]):_0x51aebb[_0x56115d(0xfa)][_0x56115d(0x17f)](_0x48828e['unitId']);}function Ae(_0x556936){const _0x2878d8=_0x2df8;if(_0x556936[_0x2878d8(0x10c)]>_0x556936[_0x2878d8(0xff)])throw new w(_0x2878d8(0x183),_0x2878d8(0x137),_0x556936['id']);}function je(_0x3756e7,_0x2e4e3c){const _0x3389a1=_0x2df8;let _0x25e629=_0x3756e7[_0x3389a1(0x10c)]<=_0x2e4e3c[_0x3389a1(0xff)]&&_0x2e4e3c[_0x3389a1(0x10c)]<=_0x3756e7[_0x3389a1(0xff)],_0x33943d=_0x3756e7[_0x3389a1(0x10c)]<=_0x2e4e3c['start']&&_0x2e4e3c[_0x3389a1(0xff)]<=_0x3756e7[_0x3389a1(0xff)],_0x10389f=_0x2e4e3c[_0x3389a1(0x10c)]<=_0x3756e7[_0x3389a1(0x10c)]&&_0x3756e7['end']<=_0x2e4e3c[_0x3389a1(0xff)];return _0x25e629&&!_0x33943d&&!_0x10389f;}function N(_0x4d161a){'@babel/helpers - typeof';const _0x57febd=_0x2df8;return N=typeof Symbol=='function'&&typeof Symbol[_0x57febd(0x189)]=='symbol'?function(_0x3d7812){return typeof _0x3d7812;}:function(_0x3570da){const _0x15c385=_0x57febd;return _0x3570da&&typeof Symbol==_0x15c385(0xfd)&&_0x3570da[_0x15c385(0x166)]===Symbol&&_0x3570da!==Symbol[_0x15c385(0x109)]?_0x15c385(0x181):typeof _0x3570da;},N(_0x4d161a);}function Me(_0x1af140,_0x1cedb8){const _0x4d0d59=_0x2df8;if(N(_0x1af140)!=_0x4d0d59(0x14e)||!_0x1af140)return _0x1af140;var _0x3f70f0=_0x1af140[Symbol[_0x4d0d59(0x18f)]];if(_0x3f70f0!==void 0x0){var _0x5266e5=_0x3f70f0[_0x4d0d59(0x151)](_0x1af140,_0x1cedb8||_0x4d0d59(0x149));if(N(_0x5266e5)!='object')return _0x5266e5;throw TypeError(_0x4d0d59(0x117));}return(_0x1cedb8==='string'?String:Number)(_0x1af140);}function Ne(_0x5e17f9){const _0x510125=_0x2df8;var _0x4fef56=Me(_0x5e17f9,_0x510125(0x188));return N(_0x4fef56)==_0x510125(0x181)?_0x4fef56:_0x4fef56+'';}function P(_0x27dbf8,_0x3a97b3,_0x46912c){return(_0x3a97b3=Ne(_0x3a97b3))in _0x27dbf8?Object['defineProperty'](_0x27dbf8,_0x3a97b3,{'value':_0x46912c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x27dbf8[_0x3a97b3]=_0x46912c,_0x27dbf8;}var F=class extends _0x46a6a2{constructor(..._0x5e43df){const _0x2ac2e5=_0x2df8;super(..._0x5e43df),P(this,_0x2ac2e5(0x12e),new Map()),P(this,_0x2ac2e5(0x100),new _0x4816d2()),P(this,_0x2ac2e5(0x196),this['_change$']['asObservable']());}['getOutlines'](_0x4500b2,_0x21932d){const _0x153747=_0x2df8;var _0x17d54e,_0x2c39e0;return[...(_0x17d54e=(_0x2c39e0=this[_0x153747(0x12e)][_0x153747(0x18b)](_0x4500b2))==null?void 0x0:_0x2c39e0[_0x153747(0x18b)](_0x21932d))==null?[]:_0x17d54e];}[_0x513111(0x132)](_0x424c21){const _0x20b0d1=_0x513111;let _0xa93491=this[_0x20b0d1(0x12e)][_0x20b0d1(0x18b)](_0x424c21),_0x4ccce9=new Map();return _0xa93491==null||_0xa93491[_0x20b0d1(0x174)]((_0x13d3e1,_0x48b225)=>{const _0x249774=_0x20b0d1;_0x4ccce9[_0x249774(0x194)](_0x48b225,[..._0x13d3e1]);}),_0x4ccce9;}[_0x513111(0x13e)](_0x178e88,_0x21f7bd,_0x50fd61){const _0x30d49c=_0x513111;this[_0x30d49c(0xfe)](_0x178e88)['set'](_0x21f7bd,[..._0x50fd61]),this[_0x30d49c(0x100)][_0x30d49c(0xf6)]({'unitId':_0x178e88,'subUnitId':_0x21f7bd});}[_0x513111(0x127)](_0x242643){const _0x4b4431=_0x513111;this[_0x4b4431(0x12e)][_0x4b4431(0x159)](_0x242643),this[_0x4b4431(0x100)]['next']({'unitId':_0x242643});}[_0x513111(0x10e)](_0x300188){const _0x564d14=_0x513111;let _0x105673=this[_0x564d14(0x12e)][_0x564d14(0x18b)](_0x300188),_0x313151={};return _0x105673==null||_0x105673[_0x564d14(0x174)]((_0x17f38c,_0x1e32ff)=>{_0x313151[_0x1e32ff]={'outlineList':[..._0x17f38c]};}),_0x313151;}['deserialize'](_0x169840,_0x124104){const _0x2c81fa=_0x513111;let _0xf3bebb=new Map();Object[_0x2c81fa(0x19c)](_0x124104)[_0x2c81fa(0x174)](([_0x228839,_0xe8e03c])=>{const _0x3c66c8=_0x2c81fa;var _0x52ce58;_0xf3bebb[_0x3c66c8(0x194)](_0x228839,[...(_0x52ce58=_0xe8e03c['outlineList'])==null?[]:_0x52ce58]);}),this[_0x2c81fa(0x12e)][_0x2c81fa(0x194)](_0x169840,_0xf3bebb),this[_0x2c81fa(0x100)][_0x2c81fa(0xf6)]({'unitId':_0x169840});}[_0x513111(0x19d)](){const _0x570d42=_0x513111;super['dispose'](),this[_0x570d42(0x12e)][_0x570d42(0x103)](),this[_0x570d42(0x100)][_0x570d42(0xf8)]();}[_0x513111(0xfe)](_0x3f98c9){const _0x15dd20=_0x513111;let _0x365174=this[_0x15dd20(0x12e)][_0x15dd20(0x18b)](_0x3f98c9);return _0x365174||(_0x365174=new Map(),this[_0x15dd20(0x12e)][_0x15dd20(0x194)](_0x3f98c9,_0x365174)),_0x365174;}},I=class extends _0x46a6a2{constructor(..._0x12a28f){const _0x3bc527=_0x513111;super(..._0x12a28f),P(this,_0x3bc527(0x187),new _0x4816d2()),P(this,_0x3bc527(0x125),this['_error$'][_0x3bc527(0x14c)]());}[_0x513111(0x148)](_0x2832e3){const _0x819cea=_0x513111;this[_0x819cea(0x187)]['next'](_0x2832e3);}[_0x513111(0x19d)](){const _0x5c7513=_0x513111;super[_0x5c7513(0x19d)](),this[_0x5c7513(0x187)][_0x5c7513(0xf8)]();}};const L={'id':_0x513111(0x112),'type':_0x2151bc['MUTATION'],'handler':(_0x570866,_0x4de604)=>{const _0x1db3dd=_0x513111;let _0x3d9dae=_0x570866['get'](F),_0x233c55=_0x3d9dae[_0x1db3dd(0xf5)](_0x4de604[_0x1db3dd(0xfa)],_0x4de604[_0x1db3dd(0x133)]);return _0x3d9dae['setOutlines'](_0x4de604[_0x1db3dd(0xfa)],_0x4de604[_0x1db3dd(0x133)],ve(_0x233c55,_0x4de604[_0x1db3dd(0x19a)])),!0x0;}},R={'id':_0x513111(0x12c),'type':_0x2151bc[_0x513111(0x165)],'handler':(_0x1bc9f9,_0x280feb)=>{const _0x8fd72f=_0x513111;let _0x18bf52=_0x1bc9f9[_0x8fd72f(0x18b)](F),_0x424a5a=_0x18bf52[_0x8fd72f(0xf5)](_0x280feb['unitId'],_0x280feb[_0x8fd72f(0x133)]);return _0x18bf52[_0x8fd72f(0x13e)](_0x280feb[_0x8fd72f(0xfa)],_0x280feb[_0x8fd72f(0x133)],_0x424a5a['filter'](_0x463cd7=>_0x463cd7['id']!==_0x280feb[_0x8fd72f(0x153)])),!0x0;}};function z(_0x2cc93a,_0x1363e3,_0x1be817){const _0xfdaa69=_0x513111;let _0xf78549=Fe(_0x2cc93a);return _0xf78549?_0xf78549[_0xfdaa69(0x170)]({'workbookTypes':[_0xc8917c],'worksheetTypes':[_0x116912]},_0x1363e3,_0x1be817):!0x0;}function Pe(_0x4c0f9a,_0x5547ed,_0x39d19f){var _0x2faa82;let _0x4da523=Ie(_0x4c0f9a);return((_0x2faa82=_0x4da523==null?void 0x0:_0x4da523['permissionPointUpdate$'])==null?_0x115c57(null):_0x2faa82)['pipe'](_0xe2f5ca(0x64),_0x465027(null),_0x138031(()=>z(_0x4c0f9a,_0x5547ed,_0x39d19f)));}function Fe(_0x4458cf){const _0xce1bc1=_0x513111;if(typeof _0x4458cf['has']==_0xce1bc1(0xfd)&&!_0x4458cf['has'](_0x48dc2f))return null;try{return _0x4458cf[_0xce1bc1(0x18b)](_0x48dc2f);}catch{return null;}}function Ie(_0x591886){const _0x16308a=_0x513111;if(typeof _0x591886[_0x16308a(0x180)]==_0x16308a(0xfd)&&!_0x591886[_0x16308a(0x180)](_0x54b9b7))return null;try{return _0x591886[_0x16308a(0x18b)](_0x54b9b7);}catch{return null;}}const B={'id':'sheet.command.add-dimension-outline','type':_0x2151bc[_0x513111(0x179)],'handler':(_0x2c8037,_0x474026)=>{const _0x3035aa=_0x513111;var _0x592fb9,_0x5593d3;if(!_0x474026)return!0x1;let _0x10f2f5=_0x1c825a(_0x2c8037[_0x3035aa(0x18b)](_0x528547),_0x474026);if(!_0x10f2f5)return!0x1;let {unitId:_0x213bda,subUnitId:_0xdf31a9,worksheet:_0x3f8adc}=_0x10f2f5;if(!z(_0x2c8037,_0x213bda,_0xdf31a9))return!0x1;let _0x4424f2=_0x2c8037[_0x3035aa(0x18b)](F),_0x5de1a7={'id':_0x3035aa(0x122)+_0x4b0344(0x6),'unitId':_0x213bda,'subUnitId':_0xdf31a9,'axis':_0x474026['axis'],'start':_0x474026[_0x3035aa(0x10c)],'end':_0x474026[_0x3035aa(0xff)],'collapsed':!0x1},_0x297d9b=_0x474026[_0x3035aa(0x19e)]==='row'?_0x3f8adc[_0x3035aa(0x171)]():_0x3f8adc[_0x3035aa(0x191)](),_0x9f03c8=_0x4424f2[_0x3035aa(0xf5)](_0x213bda,_0xdf31a9),_0x1b3db2=ye(_0x9f03c8,_0x5de1a7),_0x47e208=(_0x592fb9=_0x1b3db2==null?void 0x0:_0x1b3db2['mergedOutlines'])==null?[]:_0x592fb9,_0x18f765=(_0x5593d3=_0x1b3db2==null?void 0x0:_0x1b3db2[_0x3035aa(0x169)])==null?_0x5de1a7:_0x5593d3,_0x4adabe=O(_0x1b3db2?_0x9f03c8[_0x3035aa(0x141)](_0x598c9f=>!_0x47e208[_0x3035aa(0x144)](_0x3b9113=>_0x3b9113['id']===_0x598c9f['id'])):_0x9f03c8,_0x18f765,{'maxIndex':_0x297d9b});if(!_0x4adabe[_0x3035aa(0x16d)]){var _0x27f276;return _0x2c8037[_0x3035aa(0x18b)](I)[_0x3035aa(0x148)]({'reason':(_0x27f276=_0x4adabe['reason'])==null?_0x3035aa(0xf9):_0x27f276,'commandId':B['id'],'unitId':_0x213bda,'subUnitId':_0xdf31a9,'axis':_0x474026['axis'],'outlineId':_0x18f765['id']}),!0x1;}let _0x2612bc=[..._0x47e208[_0x3035aa(0x17a)](_0x514ce2=>({'id':R['id'],'params':{'unitId':_0x213bda,'subUnitId':_0xdf31a9,'outlineId':_0x514ce2['id']}})),{'id':L['id'],'params':{'unitId':_0x213bda,'subUnitId':_0xdf31a9,'outline':_0x18f765}}],_0x58792f=[{'id':R['id'],'params':{'unitId':_0x213bda,'subUnitId':_0xdf31a9,'outlineId':_0x18f765['id']}},..._0x47e208['map'](_0x18dcd2=>({'id':L['id'],'params':{'unitId':_0x213bda,'subUnitId':_0xdf31a9,'outline':_0x18dcd2}}))];return _0x4cbd03(_0x2612bc,_0x2c8037[_0x3035aa(0x18b)](_0x534969))[_0x3035aa(0x150)]?(_0x2c8037[_0x3035aa(0x18b)](_0x5324d9)['pushUndoRedo']({'unitID':_0x213bda,'undoMutations':_0x58792f,'redoMutations':_0x2612bc}),!0x0):!0x1;}},V={'id':_0x513111(0x105),'type':_0x2151bc[_0x513111(0x165)],'handler':(_0x501e77,_0x4dbb0c)=>{const _0xa4da5a=_0x513111;let _0x3389df=_0x501e77[_0xa4da5a(0x18b)](F),_0x4fddd=_0x3389df['getOutlines'](_0x4dbb0c[_0xa4da5a(0xfa)],_0x4dbb0c[_0xa4da5a(0x133)]);return _0x3389df[_0xa4da5a(0x13e)](_0x4dbb0c['unitId'],_0x4dbb0c[_0xa4da5a(0x133)],be(_0x4fddd,_0x4dbb0c)),!0x0;}},H={'id':_0x513111(0xfb),'type':_0x2151bc[_0x513111(0x179)],'handler':(_0x4eb132,_0x167782)=>{const _0x109e63=_0x513111;if(!_0x167782)return!0x1;let _0x46cdf1=_0x1c825a(_0x4eb132[_0x109e63(0x18b)](_0x528547),_0x167782);if(!_0x46cdf1)return!0x1;let {unitId:_0x1c9eeb,subUnitId:_0x4c6967}=_0x46cdf1;if(!z(_0x4eb132,_0x1c9eeb,_0x4c6967))return!0x1;let _0x4f5c37={'unitId':_0x1c9eeb,'subUnitId':_0x4c6967,'axis':_0x167782['axis'],'start':_0x167782[_0x109e63(0x10c)],'end':_0x167782[_0x109e63(0xff)]},_0x1c9d31=_0x4eb132[_0x109e63(0x18b)](F)[_0x109e63(0xf5)](_0x1c9eeb,_0x4c6967)[_0x109e63(0x141)](_0xe827eb=>E(_0xe827eb,_0x4f5c37)&&_0xe827eb['start']>=_0x167782[_0x109e63(0x10c)]&&_0xe827eb[_0x109e63(0xff)]<=_0x167782[_0x109e63(0xff)]);if(_0x1c9d31[_0x109e63(0x16b)]===0x0)return _0x4eb132[_0x109e63(0x18b)](I)[_0x109e63(0x148)]({'reason':_0x109e63(0x154),'commandId':H['id'],'unitId':_0x1c9eeb,'subUnitId':_0x4c6967,'axis':_0x167782[_0x109e63(0x19e)]}),!0x1;let _0x32a52b=[{'id':V['id'],'params':{..._0x4f5c37,'removedOutlineIds':_0x1c9d31[_0x109e63(0x17a)](_0x5ea16f=>_0x5ea16f['id'])}}],_0x63c5e7=_0x1c9d31['map'](_0x1c73ed=>({'id':L['id'],'params':{'unitId':_0x1c9eeb,'subUnitId':_0x4c6967,'outline':_0x1c73ed}}));return _0x4cbd03(_0x32a52b,_0x4eb132['get'](_0x534969))[_0x109e63(0x150)]?(_0x4eb132['get'](_0x5324d9)[_0x109e63(0x142)]({'unitID':_0x1c9eeb,'undoMutations':_0x63c5e7,'redoMutations':_0x32a52b}),!0x0):!0x1;}},Le={'id':_0x513111(0x186),'type':_0x2151bc['COMMAND'],'handler':(_0x2d67ed,_0x31f149)=>{const _0x391bd9=_0x513111;if(!_0x31f149)return!0x1;let _0x1fd7f6=_0x1c825a(_0x2d67ed['get'](_0x528547),_0x31f149);if(!_0x1fd7f6)return!0x1;let {unitId:_0x152074,subUnitId:_0x6de796}=_0x1fd7f6;if(!z(_0x2d67ed,_0x152074,_0x6de796))return!0x1;let _0x56701f=_0x2d67ed[_0x391bd9(0x18b)](F)[_0x391bd9(0xf5)](_0x152074,_0x6de796)[_0x391bd9(0x120)](_0x5a8b4b=>_0x5a8b4b['id']===_0x31f149[_0x391bd9(0x153)]);if(!_0x56701f)return!0x1;let _0x4038e4=[{'id':R['id'],'params':{'unitId':_0x152074,'subUnitId':_0x6de796,'outlineId':_0x56701f['id'],'outline':_0x56701f}}],_0x3b15df=[{'id':L['id'],'params':{'unitId':_0x152074,'subUnitId':_0x6de796,'outline':_0x56701f}}];return _0x4cbd03(_0x4038e4,_0x2d67ed[_0x391bd9(0x18b)](_0x534969))[_0x391bd9(0x150)]?(_0x2d67ed[_0x391bd9(0x18b)](_0x5324d9)[_0x391bd9(0x142)]({'unitID':_0x152074,'undoMutations':_0x3b15df,'redoMutations':_0x4038e4}),!0x0):!0x1;}},U={'id':'sheet.mutation.set-dimension-outline-collapsed','type':_0x2151bc['MUTATION'],'handler':(_0x1a3dc8,_0xac64df)=>{const _0xd1d33c=_0x513111;let _0x9df3bf=_0x1a3dc8[_0xd1d33c(0x18b)](F),_0x242535=_0x9df3bf[_0xd1d33c(0xf5)](_0xac64df['unitId'],_0xac64df[_0xd1d33c(0x133)]),_0x4c90f1=_0x242535[_0xd1d33c(0x120)](_0x314885=>_0x314885['id']===_0xac64df[_0xd1d33c(0x153)]);return _0x4c90f1&&_0x9df3bf[_0xd1d33c(0x13e)](_0xac64df['unitId'],_0xac64df[_0xd1d33c(0x133)],_0x242535[_0xd1d33c(0x17a)](_0x5c4fe7=>_0x5c4fe7['unitId']!==_0x4c90f1[_0xd1d33c(0xfa)]||_0x5c4fe7[_0xd1d33c(0x133)]!==_0x4c90f1['subUnitId']||_0x5c4fe7[_0xd1d33c(0x19e)]!==_0x4c90f1[_0xd1d33c(0x19e)]||_0x5c4fe7[_0xd1d33c(0x10c)]!==_0x4c90f1[_0xd1d33c(0x10c)]||_0x5c4fe7[_0xd1d33c(0xff)]!==_0x4c90f1[_0xd1d33c(0xff)]?_0x5c4fe7:{..._0x5c4fe7,'collapsed':_0xac64df[_0xd1d33c(0x164)]})),!0x0;}};function Re(_0x11185a,_0x4c4249,_0x594f84,_0x460546){const _0x4f676a=_0x513111;return _0x11185a===_0x4f676a(0x195)?{'startRow':_0x4c4249,'endRow':_0x594f84,'startColumn':0x0,'endColumn':_0x460546[_0x4f676a(0x160)]()-0x1}:{'startRow':0x0,'endRow':_0x460546[_0x4f676a(0x171)]()-0x1,'startColumn':_0x4c4249,'endColumn':_0x594f84};}function ze(_0xcabd51){const _0x1bc6fd=_0x513111;return _0xcabd51===_0x1bc6fd(0x195)?_0x30f867['id']:_0x4987e0['id'];}function Be(_0x412574){const _0xca556e=_0x513111;return _0x412574===_0xca556e(0x195)?_0x3a6cc3['id']:_0x9b212['id'];}function _0x1868(){const _0x16dcd6=['getCurrentUnitOfType','endColumn','index','getUnitOutlines','subUnitId','_sheetInterceptorService','fromRange','2974881rEZsKL','Invalid\x20outline\x20range','registerCommand','_initRegisterCommand','params','type','message','maxIndex','setOutlines','INVALID_RANGE','range','filter','pushUndoRedo','Invalid\x20dimension\x20outline\x20move\x20source\x20range','some','_univerInstanceService','setConfig','preUndos','emit','default','sheets-outline.config','MAX_DEPTH','asObservable','pluginName','object','130cGfWZo','result','call','sourceEnd','outlineId','clear-range-not-contain-outline','_configService','offset','sheet.mutation.transform-dimension-outlines','undos','delete','decorate','max-depth','1.0.0-alpha.4','toRange','values','306099CaVWCJ','getMaxColumns','parse','startRow','Crossing\x20dimension\x20outlines\x20are\x20not\x20allowed','collapsed','MUTATION','constructor','155iPVxWV','_injector','mergedOutline','_sheetsOutlineModel','length','onStarting','valid','sourceStart','move-splits-outline','permissionCheckWithoutRange','getRowCount','deserialize','crossing','forEach','_initCommandInterceptor','version','add','sort','COMMAND','map','depth','@univerjs-pro/sheets-outline','registerPluginResource','_initResource','localeCompare','has','symbol','out-of-bounds','invalid-range','pop','8268392Rnjewk','sheet.command.remove-dimension-outline','_error$','string','iterator','includes','get','name','_getCommandScope','getUniverSheetInstance','toPrimitive','startColumn','getColumnCount','Dimension\x20outline\x20depth\x20cannot\x20exceed\x20','destinationIndex','set','row','change$','4jRqnVu','_config','push','outline','children','entries','dispose','axis','split','getOutlines','next','sheet.command.set-dimension-outline-collapsed','complete','unknown','unitId','sheet.command.clear-dimension-outlines','OUT_OF_BOUNDS','function','_ensureUnitOutlines','end','_change$','11710696aVjBkO','270QuNtFy','clear','19960mqWSaP','sheet.mutation.clear-dimension-outlines','COLUMN','UNKNOWN','join','prototype','redos','interceptCommand','start','invalid-dimension-outline','serialize','column','8694xtIcCZ','from','sheet.mutation.add-dimension-outline','disposeWithMe','insert','defineProperty','4347411qCBrKD','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','SHEET_OUTLINE_PLUGIN','getSheetId','min','move','maxDepth','_commandService','Crossing','getOwnPropertyDescriptor','find','max','dimension-outline-','getUnitId','_sheetsOutlineErrorService','error$','getSheetBySheetId','removeUnit','reason','endRow','UNIVER_SHEET','count','sheet.mutation.remove-dimension-outline','_resourceManagerService','_outlines'];_0x1868=function(){return _0x16dcd6;};return _0x1868();}function Ve(_0x3c8924,_0x5d81d5,_0x4fbeb3,_0x3ba36){const _0x18ee6e=_0x513111;let _0x5248a6=_0x5d81d5?[Re(_0x3c8924[_0x18ee6e(0x19e)],_0x3c8924[_0x18ee6e(0x10c)],_0x3c8924['end'],_0x4fbeb3)]:He(_0x3c8924,_0x3ba36,_0x4fbeb3),_0x5c5f03=_0x5d81d5?ze(_0x3c8924['axis']):Be(_0x3c8924[_0x18ee6e(0x19e)]);return[{'id':U['id'],'params':{'unitId':_0x3c8924[_0x18ee6e(0xfa)],'subUnitId':_0x3c8924[_0x18ee6e(0x133)],'outlineId':_0x3c8924['id'],'outline':_0x3c8924,'collapsed':_0x5d81d5}},..._0x5248a6[_0x18ee6e(0x17a)](_0x41fbba=>({'id':_0x5c5f03,'params':{'unitId':_0x3c8924[_0x18ee6e(0xfa)],'subUnitId':_0x3c8924[_0x18ee6e(0x133)],'ranges':[_0x41fbba],'dimensionOutlineId':_0x3c8924['id']}}))];}function He(_0x300fa9,_0x5671ac,_0x1af24b){const _0x44bfbc=_0x513111;let _0x311af6=xe(_0x5671ac['map'](_0x28ab73=>Ue(_0x28ab73,_0x300fa9)?{..._0x28ab73,'collapsed':!0x1}:_0x28ab73),_0x300fa9[_0x44bfbc(0xfa)],_0x300fa9['subUnitId'],_0x300fa9[_0x44bfbc(0x19e)]);return We({'start':_0x300fa9[_0x44bfbc(0x10c)],'end':_0x300fa9[_0x44bfbc(0xff)]},_0x311af6)[_0x44bfbc(0x17a)](_0x1b1af8=>Re(_0x300fa9[_0x44bfbc(0x19e)],_0x1b1af8[_0x44bfbc(0x10c)],_0x1b1af8[_0x44bfbc(0xff)],_0x1af24b));}function Ue(_0x4b3ca4,_0x62e254){const _0xf4f84f=_0x513111;return _0x4b3ca4[_0xf4f84f(0xfa)]===_0x62e254[_0xf4f84f(0xfa)]&&_0x4b3ca4[_0xf4f84f(0x133)]===_0x62e254[_0xf4f84f(0x133)]&&_0x4b3ca4[_0xf4f84f(0x19e)]===_0x62e254[_0xf4f84f(0x19e)]&&_0x4b3ca4[_0xf4f84f(0x10c)]===_0x62e254[_0xf4f84f(0x10c)]&&_0x4b3ca4[_0xf4f84f(0xff)]===_0x62e254[_0xf4f84f(0xff)];}function We(_0x2e4c,_0x2ad8a8){const _0x3a72e4=_0x513111;let _0x488a14=_0x2e4c['start'],_0x21da11=[];for(let _0x106de8 of _0x2ad8a8)if(!(_0x106de8[_0x3a72e4(0xff)]<_0x488a14||_0x106de8[_0x3a72e4(0x10c)]>_0x2e4c[_0x3a72e4(0xff)])&&(_0x106de8[_0x3a72e4(0x10c)]>_0x488a14&&_0x21da11[_0x3a72e4(0x199)]({'start':_0x488a14,'end':Math[_0x3a72e4(0x11a)](_0x106de8[_0x3a72e4(0x10c)]-0x1,_0x2e4c[_0x3a72e4(0xff)])}),_0x488a14=Math[_0x3a72e4(0x121)](_0x488a14,_0x106de8[_0x3a72e4(0xff)]+0x1),_0x488a14>_0x2e4c[_0x3a72e4(0xff)]))break;return _0x488a14<=_0x2e4c[_0x3a72e4(0xff)]&&_0x21da11[_0x3a72e4(0x199)]({'start':_0x488a14,'end':_0x2e4c[_0x3a72e4(0xff)]}),_0x21da11;}const Ge={'id':_0x513111(0xf7),'type':_0x2151bc[_0x513111(0x179)],'handler':(_0x2794e5,_0x24285d)=>{const _0x4e339e=_0x513111;if(!_0x24285d)return!0x1;let _0x4228a0=_0x1c825a(_0x2794e5['get'](_0x528547),_0x24285d);if(!_0x4228a0)return!0x1;let {unitId:_0x5e6b5a,subUnitId:_0x50e970,worksheet:_0x1fb6f6}=_0x4228a0;if(!z(_0x2794e5,_0x5e6b5a,_0x50e970))return!0x1;let _0xc90463=_0x2794e5[_0x4e339e(0x18b)](F)['getOutlines'](_0x5e6b5a,_0x50e970),_0x20aadb=_0xc90463[_0x4e339e(0x120)](_0x928b9a=>_0x928b9a['id']===_0x24285d['outlineId']);if(!_0x20aadb||_0x20aadb['collapsed']===_0x24285d['collapsed'])return!0x1;let _0x495454=Ve(_0x20aadb,_0x24285d[_0x4e339e(0x164)],_0x1fb6f6,_0xc90463),_0xbea112=Ve(_0x20aadb,!_0x24285d[_0x4e339e(0x164)],_0x1fb6f6,_0xc90463);return _0x4cbd03(_0x495454,_0x2794e5[_0x4e339e(0x18b)](_0x534969))[_0x4e339e(0x150)]?(_0x2794e5[_0x4e339e(0x18b)](_0x5324d9)[_0x4e339e(0x142)]({'unitID':_0x5e6b5a,'undoMutations':_0xbea112,'redoMutations':_0x495454}),!0x0):!0x1;}},W={'id':_0x513111(0x157),'type':_0x2151bc[_0x513111(0x165)],'handler':(_0x58bfd4,_0x155def)=>{const _0x411594=_0x513111;let _0x12e27f=_0x58bfd4[_0x411594(0x18b)](F),_0x3cff40=Ke(_0x12e27f['getOutlines'](_0x155def[_0x411594(0xfa)],_0x155def['subUnitId']),_0x155def);return _0x12e27f[_0x411594(0x13e)](_0x155def[_0x411594(0xfa)],_0x155def[_0x411594(0x133)],_0x3cff40),!0x0;}};function Ke(_0x2c5d43,_0x2a7e05){const _0x138e3e=_0x513111;switch(_0x2a7e05[_0x138e3e(0x13b)]){case _0x138e3e(0x114):return _0x2a7e05['restoreOutlines']?qe(_0x2c5d43,_0x2a7e05):k(_0x2c5d43,_0x2a7e05);case _0x138e3e(0x159):return A(_0x2c5d43,_0x2a7e05);case _0x138e3e(0x11b):return j(_0x2c5d43,_0x2a7e05);}}function qe(_0x56706f,_0x408b15){const _0x587d38=_0x513111;return[..._0x56706f[_0x587d38(0x141)](_0x5949c6=>_0x5949c6[_0x587d38(0xfa)]!==_0x408b15['unitId']||_0x5949c6[_0x587d38(0x133)]!==_0x408b15['subUnitId']||_0x5949c6[_0x587d38(0x19e)]!==_0x408b15[_0x587d38(0x19e)]),..._0x408b15['restoreOutlines']];}const G=_0x513111(0x118);function _0x2df8(_0x1c8c7d,_0x476d53){_0x1c8c7d=_0x1c8c7d-0xf4;const _0x18689b=_0x1868();let _0x2df8cb=_0x18689b[_0x1c8c7d];return _0x2df8cb;}var Je=_0x513111(0x17c),Ye=_0x513111(0x15c);const Xe={};function K(_0x591d16,_0x4341bd){return function(_0x520949,_0x3c3ad6){_0x4341bd(_0x520949,_0x3c3ad6,_0x591d16);};}function q(_0x56e1c0,_0x479ee9,_0x33fa2c,_0x291449){const _0xb24eaf=_0x513111;var _0x485c14=arguments[_0xb24eaf(0x16b)],_0x53642e=_0x485c14<0x3?_0x479ee9:_0x291449===null?_0x291449=Object[_0xb24eaf(0x11f)](_0x479ee9,_0x33fa2c):_0x291449,_0x53785f;if(typeof Reflect==_0xb24eaf(0x14e)&&typeof Reflect[_0xb24eaf(0x15a)]==_0xb24eaf(0xfd))_0x53642e=Reflect[_0xb24eaf(0x15a)](_0x56e1c0,_0x479ee9,_0x33fa2c,_0x291449);else{for(var _0x2824c0=_0x56e1c0[_0xb24eaf(0x16b)]-0x1;_0x2824c0>=0x0;_0x2824c0--)(_0x53785f=_0x56e1c0[_0x2824c0])&&(_0x53642e=(_0x485c14<0x3?_0x53785f(_0x53642e):_0x485c14>0x3?_0x53785f(_0x479ee9,_0x33fa2c,_0x53642e):_0x53785f(_0x479ee9,_0x33fa2c))||_0x53642e);}return _0x485c14>0x3&&_0x53642e&&Object[_0xb24eaf(0x115)](_0x479ee9,_0x33fa2c,_0x53642e),_0x53642e;}const J={'redos':[],'undos':[],'preRedos':[],'preUndos':[]};let Y=class extends _0x46a6a2{constructor(_0x517188,_0x57ca60,_0x33ae8e,_0x2abd46){const _0x1db8a1=_0x513111;super(),this[_0x1db8a1(0x145)]=_0x517188,this[_0x1db8a1(0x134)]=_0x57ca60,this['_sheetsOutlineModel']=_0x33ae8e,this[_0x1db8a1(0x124)]=_0x2abd46,this[_0x1db8a1(0x175)]();}['_initCommandInterceptor'](){const _0x4a4aa2=_0x513111;this[_0x4a4aa2(0x113)](this[_0x4a4aa2(0x134)][_0x4a4aa2(0x10b)]({'getMutations':_0x19cb06=>Ze(_0x19cb06,(_0x137eeb,_0x8df21c)=>this[_0x4a4aa2(0x16a)][_0x4a4aa2(0xf5)](_0x137eeb,_0x8df21c),this[_0x4a4aa2(0x18d)](_0x19cb06[_0x4a4aa2(0x13a)]),_0x43d432=>this[_0x4a4aa2(0x124)][_0x4a4aa2(0x148)](_0x43d432))}));}[_0x513111(0x18d)](_0x3da38b){const _0x5797c6=_0x513111;let _0x3c9164=_0x3da38b,_0x4f651a=_0x3c9164!=null&&_0x3c9164[_0x5797c6(0xfa)]?this[_0x5797c6(0x145)][_0x5797c6(0x18e)](_0x3c9164[_0x5797c6(0xfa)]):this[_0x5797c6(0x145)][_0x5797c6(0x12f)](_0xc24b96[_0x5797c6(0x12a)]);if(!_0x4f651a)return;let _0x2ff438=_0x3c9164!=null&&_0x3c9164['subUnitId']?_0x4f651a[_0x5797c6(0x126)](_0x3c9164[_0x5797c6(0x133)]):_0x4f651a['getActiveSheet']();if(_0x2ff438)return{'unitId':_0x4f651a[_0x5797c6(0x123)](),'subUnitId':_0x2ff438[_0x5797c6(0x119)]()};}};Y=q([K(0x0,_0x528547),K(0x1,_0x11b2ce(_0xc64e24)),K(0x2,_0x11b2ce(F)),K(0x3,_0x11b2ce(I))],Y);function Ze(_0x4e98ac,_0x41401c,_0x24e4f2,_0x46164c){const _0x6a14db=_0x513111;let _0x2e2f3e=$e(_0x4e98ac,_0x24e4f2);if(!_0x2e2f3e)return it();let _0x1688b0=_0x41401c(_0x2e2f3e[_0x6a14db(0xfa)],_0x2e2f3e[_0x6a14db(0x133)]);if(!_0x1688b0[_0x6a14db(0x144)](_0x43a5cb=>_0x43a5cb['axis']===_0x2e2f3e[_0x6a14db(0x19e)]))return it();Qe(_0x1688b0,_0x2e2f3e,_0x4e98ac['id'],_0x46164c);let _0x5af574=nt(_0x2e2f3e,_0x1688b0);return{'redos':[{'id':W['id'],'params':_0x2e2f3e}],'undos':[{'id':W['id'],'params':_0x5af574}],'preRedos':[],'preUndos':[]};}function Qe(_0x481e78,_0xb7caab,_0x311b71,_0x3ff9f2){const _0x2fccf3=_0x513111;try{switch(_0xb7caab[_0x2fccf3(0x13b)]){case _0x2fccf3(0x114):k(_0x481e78,_0xb7caab);break;case _0x2fccf3(0x159):A(_0x481e78,_0xb7caab);break;case _0x2fccf3(0x11b):j(_0x481e78,_0xb7caab);break;}}catch(_0x1820e0){throw _0x3ff9f2==null||_0x3ff9f2({'reason':ge(_0x1820e0),'commandId':_0x311b71,'unitId':_0xb7caab[_0x2fccf3(0xfa)],'subUnitId':_0xb7caab[_0x2fccf3(0x133)],'axis':_0xb7caab[_0x2fccf3(0x19e)],'outlineId':_e(_0x1820e0)}),new _0x155f43(_0x1820e0 instanceof Error?_0x1820e0[_0x2fccf3(0x13c)]:'Invalid\x20dimension\x20outline\x20mutation');}}function $e(_0x22efa3,_0x38bff6){const _0x305a4c=_0x513111;switch(_0x22efa3['id']){case _0x239a28['id']:return et(_0x22efa3[_0x305a4c(0x13a)],_0x305a4c(0x195),_0x38bff6);case _0x563027['id']:return et(_0x22efa3['params'],_0x305a4c(0x10f),_0x38bff6);case _0x1839a0['id']:return X(_0x22efa3[_0x305a4c(0x13a)],_0x305a4c(0x195),_0x38bff6);case _0x1b432c['id']:return X(_0x22efa3[_0x305a4c(0x13a)],_0x305a4c(0x10f),_0x38bff6);case _0x35b0a4['id']:return tt(_0x22efa3[_0x305a4c(0x13a)],_0x305a4c(0x195),_0x38bff6);case _0x400c51['id']:return tt(_0x22efa3[_0x305a4c(0x13a)],_0x305a4c(0x10f),_0x38bff6);default:return null;}}function et(_0x1f57b3,_0x4185e4,_0x36da49){const _0x57fdca=_0x513111;let _0x146e91=Z(_0x1f57b3,_0x36da49);if(!(_0x1f57b3!=null&&_0x1f57b3[_0x57fdca(0x140)])||!_0x146e91)return null;let _0x14b559=_0x4185e4==='row'?_0x1f57b3[_0x57fdca(0x140)]['startRow']:_0x1f57b3['range'][_0x57fdca(0x190)],_0x1a0470=_0x4185e4===_0x57fdca(0x195)?_0x1f57b3[_0x57fdca(0x140)][_0x57fdca(0x129)]:_0x1f57b3[_0x57fdca(0x140)][_0x57fdca(0x130)];return{..._0x146e91,'axis':_0x4185e4,'type':_0x57fdca(0x114),'index':_0x14b559,'count':_0x1a0470-_0x14b559+0x1};}function X(_0x2ac678,_0x513eea,_0x85cb45){const _0x30d81c=_0x513111;let _0x42e5e5=Z(_0x2ac678,_0x85cb45);if(!(_0x2ac678!=null&&_0x2ac678[_0x30d81c(0x140)])||!_0x42e5e5)return null;let _0x38bbb5=_0x513eea==='row'?_0x2ac678[_0x30d81c(0x140)][_0x30d81c(0x162)]:_0x2ac678[_0x30d81c(0x140)][_0x30d81c(0x190)],_0x1c79f6=_0x513eea===_0x30d81c(0x195)?_0x2ac678[_0x30d81c(0x140)][_0x30d81c(0x129)]:_0x2ac678[_0x30d81c(0x140)][_0x30d81c(0x130)];return{..._0x42e5e5,'axis':_0x513eea,'type':_0x30d81c(0x159),'start':_0x38bbb5,'end':_0x1c79f6};}function tt(_0x5b941d,_0x1acb8c,_0xbe17e){const _0xe34401=_0x513111;let _0x19ac3f=Z(_0x5b941d,_0xbe17e);if(!(_0x5b941d!=null&&_0x5b941d['fromRange'])||!_0x5b941d[_0xe34401(0x15d)]||!_0x19ac3f)return null;let _0x37b08d=_0x1acb8c==='row'?_0x5b941d['fromRange'][_0xe34401(0x162)]:_0x5b941d[_0xe34401(0x135)][_0xe34401(0x190)],_0x32ca29=_0x1acb8c===_0xe34401(0x195)?_0x5b941d[_0xe34401(0x135)][_0xe34401(0x129)]:_0x5b941d[_0xe34401(0x135)]['endColumn'],_0x58a129=_0x1acb8c==='row'?_0x5b941d[_0xe34401(0x15d)][_0xe34401(0x162)]:_0x5b941d[_0xe34401(0x15d)][_0xe34401(0x190)];return{..._0x19ac3f,'axis':_0x1acb8c,'type':_0xe34401(0x11b),'sourceStart':_0x37b08d,'sourceEnd':_0x32ca29,'destinationIndex':_0x58a129};}function nt(_0x429972,_0x2d17a9){const _0x2544a9=_0x513111;switch(_0x429972[_0x2544a9(0x13b)]){case _0x2544a9(0x114):return{'unitId':_0x429972[_0x2544a9(0xfa)],'subUnitId':_0x429972[_0x2544a9(0x133)],'axis':_0x429972[_0x2544a9(0x19e)],'type':_0x2544a9(0x159),'start':_0x429972['index'],'end':_0x429972[_0x2544a9(0x131)]+_0x429972[_0x2544a9(0x12b)]-0x1};case _0x2544a9(0x159):return{'unitId':_0x429972[_0x2544a9(0xfa)],'subUnitId':_0x429972[_0x2544a9(0x133)],'axis':_0x429972['axis'],'type':'insert','index':_0x429972[_0x2544a9(0x10c)],'count':_0x429972['end']-_0x429972[_0x2544a9(0x10c)]+0x1,'restoreOutlines':_0x2d17a9[_0x2544a9(0x141)](_0x2715b2=>_0x2715b2[_0x2544a9(0xfa)]===_0x429972[_0x2544a9(0xfa)]&&_0x2715b2[_0x2544a9(0x133)]===_0x429972[_0x2544a9(0x133)]&&_0x2715b2[_0x2544a9(0x19e)]===_0x429972[_0x2544a9(0x19e)])};case _0x2544a9(0x11b):return rt(_0x429972);}}function rt(_0x1938b6){const _0x5bd0ae=_0x513111;let _0x59ab3c=_0x1938b6[_0x5bd0ae(0x152)]-_0x1938b6[_0x5bd0ae(0x16e)]+0x1;return _0x1938b6[_0x5bd0ae(0x193)]>=_0x1938b6[_0x5bd0ae(0x16e)]&&_0x1938b6[_0x5bd0ae(0x193)]<=_0x1938b6[_0x5bd0ae(0x152)]+0x1?{..._0x1938b6}:_0x1938b6[_0x5bd0ae(0x193)]>_0x1938b6[_0x5bd0ae(0x152)]+0x1?{..._0x1938b6,'sourceStart':_0x1938b6[_0x5bd0ae(0x193)]-_0x59ab3c,'sourceEnd':_0x1938b6[_0x5bd0ae(0x193)]-0x1,'destinationIndex':_0x1938b6[_0x5bd0ae(0x16e)]}:{..._0x1938b6,'sourceStart':_0x1938b6['destinationIndex'],'sourceEnd':_0x1938b6['destinationIndex']+_0x59ab3c-0x1,'destinationIndex':_0x1938b6[_0x5bd0ae(0x152)]+0x1};}function Z(_0x14b72b,_0x2b94e3){const _0x1d6a8b=_0x513111;var _0x1bedae,_0x1f25a4;let _0x41ffd0=(_0x1bedae=_0x14b72b==null?void 0x0:_0x14b72b[_0x1d6a8b(0xfa)])==null?_0x2b94e3==null?void 0x0:_0x2b94e3[_0x1d6a8b(0xfa)]:_0x1bedae,_0x14a440=(_0x1f25a4=_0x14b72b==null?void 0x0:_0x14b72b['subUnitId'])==null?_0x2b94e3==null?void 0x0:_0x2b94e3[_0x1d6a8b(0x133)]:_0x1f25a4;return _0x41ffd0&&_0x14a440?{'unitId':_0x41ffd0,'subUnitId':_0x14a440}:null;}function it(){const _0x45b561=_0x513111;var _0x5717ee,_0x22a6bb;return{'redos':[...J[_0x45b561(0x10a)]],'undos':[...J[_0x45b561(0x158)]],'preRedos':[...(_0x5717ee=J['preRedos'])==null?[]:_0x5717ee],'preUndos':[...(_0x22a6bb=J[_0x45b561(0x147)])==null?[]:_0x22a6bb]};}let Q=class extends _0x46a6a2{constructor(_0x1fca11,_0x27a9e7){const _0x32a583=_0x513111;super(),this[_0x32a583(0x12d)]=_0x1fca11,this[_0x32a583(0x16a)]=_0x27a9e7,this[_0x32a583(0x17e)]();}[_0x513111(0x17e)](){const _0x3c1bcf=_0x513111;this[_0x3c1bcf(0x113)](this['_resourceManagerService'][_0x3c1bcf(0x17d)]({'pluginName':G,'businesses':[_0xc24b96['UNIVER_SHEET']],'toJson':_0x176f5b=>JSON['stringify'](this[_0x3c1bcf(0x16a)]['serialize'](_0x176f5b)),'parseJson':_0x78a7e7=>JSON[_0x3c1bcf(0x161)](_0x78a7e7),'onLoad':(_0x42c790,_0x2c7760)=>this[_0x3c1bcf(0x16a)][_0x3c1bcf(0x172)](_0x42c790,_0x2c7760),'onUnLoad':_0x3418ed=>this[_0x3c1bcf(0x16a)][_0x3c1bcf(0x127)](_0x3418ed)}));}};Q=q([K(0x0,_0x906d2b),K(0x1,_0x11b2ce(F))],Q);let $=class extends _0x1f2fac{constructor(_0x57ca1f=Xe,_0x5150d8,_0x32a69e,_0x17cd51){const _0x108d65=_0x513111;super(),this['_config']=_0x57ca1f,this[_0x108d65(0x168)]=_0x5150d8,this[_0x108d65(0x11d)]=_0x32a69e,this[_0x108d65(0x155)]=_0x17cd51;let {..._0xc7c984}=_0xe2fd50({},Xe,this[_0x108d65(0x198)]);this[_0x108d65(0x155)][_0x108d65(0x146)](_0x108d65(0x14a),_0xc7c984);}[_0x513111(0x16c)](){const _0x3018b5=_0x513111;this[_0x3018b5(0x168)][_0x3018b5(0x177)]([F]),this[_0x3018b5(0x168)][_0x3018b5(0x177)]([I]),this[_0x3018b5(0x168)][_0x3018b5(0x177)]([Q]),this[_0x3018b5(0x168)]['add']([Y]),this[_0x3018b5(0x139)](),this['_injector'][_0x3018b5(0x18b)](F),this['_injector']['get'](I),this[_0x3018b5(0x168)][_0x3018b5(0x18b)](Q),this['_injector']['get'](Y);}[_0x513111(0x139)](){const _0x45ec40=_0x513111;[B,Le,Ge,H][_0x45ec40(0x174)](_0x44f0e7=>{const _0x121fb2=_0x45ec40;this['disposeWithMe'](this[_0x121fb2(0x11d)][_0x121fb2(0x138)](_0x44f0e7));}),[L,R,U,V,W][_0x45ec40(0x174)](_0x2c26a2=>{const _0x33cdd5=_0x45ec40;this[_0x33cdd5(0x113)](this[_0x33cdd5(0x11d)]['registerCommand'](_0x2c26a2));});}};P($,_0x513111(0x14d),G),P($,'packageName',Je),P($,_0x513111(0x176),Ye),P($,_0x513111(0x13b),_0xc24b96[_0x513111(0x12a)]),$=q([_0x35d9c9(_0x1ce9ec),K(0x1,_0x11b2ce(_0x14db82)),K(0x2,_0x534969),K(0x3,_0x551ef7)],$);export{B as AddDimensionOutlineCommand,L as AddDimensionOutlineMutation,H as ClearDimensionOutlinesCommand,V as ClearDimensionOutlinesMutation,me as DimensionOutlineAxis,he as DimensionOutlineErrorReason,Le as RemoveDimensionOutlineCommand,R as RemoveDimensionOutlineMutation,G as SHEET_OUTLINE_PLUGIN,Ge as SetDimensionOutlineCollapsedCommand,U as SetDimensionOutlineCollapsedMutation,I as SheetsOutlineErrorService,F as SheetsOutlineModel,W as TransformDimensionOutlinesMutation,$ as UniverSheetsOutlinePlugin,D as buildDimensionOutlineTree,O as canAddDimensionOutline,Pe as getDimensionOutlineViewPermission$,z as hasDimensionOutlineViewPermission,A as transformOutlinesByDelete,k as transformOutlinesByInsert,j as transformOutlinesByMove};
@@ -1,12 +1,8 @@
1
1
  export { AddDimensionOutlineCommand } from './commands/commands/add-dimension-outline.command';
2
- export type { IAddDimensionOutlineCommandParams } from './commands/commands/add-dimension-outline.command';
3
2
  export { ClearDimensionOutlinesCommand } from './commands/commands/clear-dimension-outlines.command';
4
- export type { IClearDimensionOutlinesCommandParams } from './commands/commands/clear-dimension-outlines.command';
5
- export { getDimensionOutlineViewPermission$, hasDimensionOutlineViewPermission } from './commands/commands/permission';
3
+ export { getDimensionOutlineViewPermission$, hasDimensionOutlineViewPermission, } from './commands/commands/permission';
6
4
  export { RemoveDimensionOutlineCommand } from './commands/commands/remove-dimension-outline.command';
7
- export type { IRemoveDimensionOutlineCommandParams } from './commands/commands/remove-dimension-outline.command';
8
5
  export { SetDimensionOutlineCollapsedCommand } from './commands/commands/set-dimension-outline-collapsed.command';
9
- export type { ISetDimensionOutlineCollapsedCommandParams } from './commands/commands/set-dimension-outline-collapsed.command';
10
6
  export { AddDimensionOutlineMutation } from './commands/mutations/add-dimension-outline.mutation';
11
7
  export type { IAddDimensionOutlineMutationParams } from './commands/mutations/add-dimension-outline.mutation';
12
8
  export { ClearDimensionOutlinesMutation } from './commands/mutations/clear-dimension-outlines.mutation';
@@ -14,16 +10,13 @@ export type { IClearDimensionOutlinesMutationParams } from './commands/mutations
14
10
  export { RemoveDimensionOutlineMutation } from './commands/mutations/remove-dimension-outline.mutation';
15
11
  export type { IRemoveDimensionOutlineMutationParams } from './commands/mutations/remove-dimension-outline.mutation';
16
12
  export { SetDimensionOutlineCollapsedMutation } from './commands/mutations/set-dimension-outline-collapsed.mutation';
17
- export type { ISetDimensionOutlineCollapsedMutationParams } from './commands/mutations/set-dimension-outline-collapsed.mutation';
13
+ export type { ISetDimensionOutlineCollapsedMutationParams, } from './commands/mutations/set-dimension-outline-collapsed.mutation';
18
14
  export { TransformDimensionOutlinesMutation } from './commands/mutations/transform-dimension-outlines.mutation';
19
- export type { ITransformDimensionOutlinesMutationParams } from './commands/mutations/transform-dimension-outlines.mutation';
20
- export { addDimensionOutlineToList, buildDimensionOutlineTree, buildHiddenRanges, canAddDimensionOutline, clearDimensionOutlinesInRange, mergeRanges, transformOutlinesByDelete, transformOutlinesByInsert, transformOutlinesByMove, } from './common/algorithm';
15
+ export type { ITransformDimensionOutlinesMutationParams, } from './commands/mutations/transform-dimension-outlines.mutation';
16
+ export { buildDimensionOutlineTree, canAddDimensionOutline, transformOutlinesByDelete, transformOutlinesByInsert, transformOutlinesByMove, } from './common/algorithm';
21
17
  export { SHEET_OUTLINE_PLUGIN } from './common/const';
22
- export { DimensionOutlineError, getDimensionOutlineErrorOutlineId, getDimensionOutlineErrorReason } from './common/error';
23
- export { DimensionOutlineAxis, DimensionOutlineErrorReason } from './common/type';
24
- export type { ICanAddDimensionOutlineResult, IDimensionOutline, IDimensionOutlineInsertRange, IDimensionOutlineMoveRange, IDimensionOutlineRange, IDimensionOutlineViewModel, IHiddenRange, IOutlineMutationError, ISheetDimensionOutlineResource, ISheetsOutlineResource, } from './common/type';
25
- export { SHEETS_OUTLINE_PLUGIN_CONFIG_KEY } from './config/config';
26
- export type { IUniverSheetsOutlineConfig } from './config/config';
18
+ export { DimensionOutlineAxis, DimensionOutlineErrorReason, } from './common/type';
19
+ export type { IDimensionOutline, IDimensionOutlineViewModel, IOutlineMutationError, } from './common/type';
27
20
  export { SheetsOutlineModel } from './models/sheets-outline-model';
28
21
  export { UniverSheetsOutlinePlugin } from './plugin';
29
22
  export { SheetsOutlineErrorService } from './services/sheets-outline-error.service';
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2afd09,_0x5b6215){var _0x3c2346=_0x2b06,_0x20bee6=_0x2afd09();while(!![]){try{var _0xbee1bb=parseInt(_0x3c2346(0x172))/0x1+-parseInt(_0x3c2346(0x15c))/0x2*(parseInt(_0x3c2346(0x159))/0x3)+-parseInt(_0x3c2346(0x169))/0x4+-parseInt(_0x3c2346(0x16c))/0x5+-parseInt(_0x3c2346(0x153))/0x6+parseInt(_0x3c2346(0x150))/0x7+parseInt(_0x3c2346(0x164))/0x8;if(_0xbee1bb===_0x5b6215)break;else _0x20bee6['push'](_0x20bee6['shift']());}catch(_0x4b9047){_0x20bee6['push'](_0x20bee6['shift']());}}}(_0xa31f,0x48fef),function(_0x5c47a6,_0x24e240){var _0x406677=_0x2b06;typeof exports==_0x406677(0x161)&&typeof module<'u'?_0x24e240(require('@univerjs-pro/sheets-outline'),require('@univerjs/core/facade'),require('@univerjs/sheets/facade')):typeof define==_0x406677(0x151)&&define[_0x406677(0x16e)]?define([_0x406677(0x173),_0x406677(0x15b),_0x406677(0x165)],_0x24e240):(_0x5c47a6=typeof globalThis<'u'?globalThis:_0x5c47a6||self,_0x24e240(_0x5c47a6[_0x406677(0x15d)],_0x5c47a6[_0x406677(0x155)],_0x5c47a6[_0x406677(0x156)]));}(this,function(_0xa05e54,_0x16ceb4,_0x3f9a4a){var _0xf6bc8c=_0x2b06,_0x295d7b=class extends _0x16ceb4[_0xf6bc8c(0x14a)]{get[_0xf6bc8c(0x162)](){var _0x34a203=_0xf6bc8c;return _0xa05e54[_0x34a203(0x162)];}get[_0xf6bc8c(0x16b)](){return _0xa05e54['DimensionOutlineErrorReason'];}};_0x16ceb4[_0xf6bc8c(0x14a)][_0xf6bc8c(0x171)](_0x295d7b);var _0x32ddda=class extends _0x3f9a4a[_0xf6bc8c(0x157)]{[_0xf6bc8c(0x14d)](_0x107d31,_0xae74cc){var _0x33e74b=_0xf6bc8c;return this[_0x33e74b(0x14b)](_0xa05e54[_0x33e74b(0x162)]['ROW'],_0x107d31,_0xae74cc);}['addColumnOutline'](_0x37670b,_0x49eb60){var _0x61798c=_0xf6bc8c;return this[_0x61798c(0x14b)](_0xa05e54[_0x61798c(0x162)][_0x61798c(0x15f)],_0x37670b,_0x49eb60);}[_0xf6bc8c(0x163)](_0x425700){var _0x26ea32=_0xf6bc8c;return this[_0x26ea32(0x170)][_0x26ea32(0x168)](_0xa05e54[_0x26ea32(0x16d)]['id'],{'unitId':this[_0x26ea32(0x149)][_0x26ea32(0x14c)](),'subUnitId':this['_worksheet'][_0x26ea32(0x154)](),'outlineId':_0x425700}),this;}[_0xf6bc8c(0x166)](_0xceb7eb,_0xec9f70){var _0x59b08e=_0xf6bc8c;return this[_0x59b08e(0x170)][_0x59b08e(0x168)](_0xa05e54[_0x59b08e(0x16f)]['id'],{'unitId':this[_0x59b08e(0x149)][_0x59b08e(0x14c)](),'subUnitId':this[_0x59b08e(0x14f)][_0x59b08e(0x154)](),'outlineId':_0xceb7eb,'collapsed':_0xec9f70}),this;}[_0xf6bc8c(0x160)](_0x20a97a,_0x5c9cc1,_0x20c89b){var _0x46c487=_0xf6bc8c;return this[_0x46c487(0x170)][_0x46c487(0x168)](_0xa05e54[_0x46c487(0x158)]['id'],{'unitId':this[_0x46c487(0x149)][_0x46c487(0x14c)](),'subUnitId':this[_0x46c487(0x14f)]['getSheetId'](),'axis':_0x20a97a,'start':_0x5c9cc1,'end':_0x20c89b}),this;}['getDimensionOutlines'](_0x28f902){var _0x98e0c8=_0xf6bc8c;let _0x44d921=this[_0x98e0c8(0x152)][_0x98e0c8(0x167)](_0xa05e54['SheetsOutlineModel'])[_0x98e0c8(0x16a)](this[_0x98e0c8(0x149)][_0x98e0c8(0x14c)](),this[_0x98e0c8(0x14f)][_0x98e0c8(0x154)]());return _0x28f902?_0x44d921[_0x98e0c8(0x15a)](_0x346c4d=>_0x346c4d[_0x98e0c8(0x14e)]===_0x28f902):_0x44d921;}[_0xf6bc8c(0x14b)](_0x37be14,_0x2e9da0,_0x2f073a){var _0x3bae4c=_0xf6bc8c;return this[_0x3bae4c(0x170)][_0x3bae4c(0x168)](_0xa05e54[_0x3bae4c(0x15e)]['id'],{'unitId':this[_0x3bae4c(0x149)][_0x3bae4c(0x14c)](),'subUnitId':this[_0x3bae4c(0x14f)][_0x3bae4c(0x154)](),'axis':_0x37be14,'start':_0x2e9da0,'end':_0x2e9da0+_0x2f073a-0x1}),this;}};_0x3f9a4a[_0xf6bc8c(0x157)][_0xf6bc8c(0x171)](_0x32ddda);}));function _0x2b06(_0xf299a1,_0x435a89){_0xf299a1=_0xf299a1-0x149;var _0xa31fc3=_0xa31f();var _0x2b066f=_0xa31fc3[_0xf299a1];return _0x2b066f;}function _0xa31f(){var _0x3b5af5=['getOutlines','DimensionOutlineErrorReason','1280300qciCvt','RemoveDimensionOutlineCommand','amd','SetDimensionOutlineCollapsedCommand','_commandService','extend','45912tmDtxB','@univerjs-pro/sheets-outline','_workbook','FEnum','_addDimensionOutline','getUnitId','addRowOutline','axis','_worksheet','587118FlXElF','function','_injector','1751040AqDWqe','getSheetId','UniverCoreFacade','UniverSheetsFacade','FWorksheet','ClearDimensionOutlinesCommand','321XcJgTQ','filter','@univerjs/core/facade','1228bXWQny','UniverProSheetsOutline','AddDimensionOutlineCommand','COLUMN','clearDimensionOutlines','object','DimensionOutlineAxis','removeDimensionOutline','7301584LuscPd','@univerjs/sheets/facade','setDimensionOutlineCollapsed','get','syncExecuteCommand','519580VmypwN'];_0xa31f=function(){return _0x3b5af5;};return _0xa31f();}
1
+ (function(_0xe1df4e,_0x5c39fd){var _0x513a84=_0x2f74,_0x20a6b2=_0xe1df4e();while(!![]){try{var _0x292240=-parseInt(_0x513a84(0x1c9))/0x1*(parseInt(_0x513a84(0x1c0))/0x2)+-parseInt(_0x513a84(0x1c8))/0x3+-parseInt(_0x513a84(0x1ab))/0x4+-parseInt(_0x513a84(0x1b5))/0x5*(parseInt(_0x513a84(0x1b1))/0x6)+parseInt(_0x513a84(0x1be))/0x7+-parseInt(_0x513a84(0x1bd))/0x8+-parseInt(_0x513a84(0x1a6))/0x9*(-parseInt(_0x513a84(0x1c7))/0xa);if(_0x292240===_0x5c39fd)break;else _0x20a6b2['push'](_0x20a6b2['shift']());}catch(_0x49c03a){_0x20a6b2['push'](_0x20a6b2['shift']());}}}(_0x45de,0xed21f),function(_0x1b9ef3,_0x439711){var _0x5ec760=_0x2f74;typeof exports=='object'&&typeof module<'u'?_0x439711(require('@univerjs-pro/sheets-outline'),require('@univerjs/core/facade'),require('@univerjs/sheets/facade')):typeof define=='function'&&define[_0x5ec760(0x1c5)]?define([_0x5ec760(0x1c3),_0x5ec760(0x1a9),_0x5ec760(0x1c4)],_0x439711):(_0x1b9ef3=typeof globalThis<'u'?globalThis:_0x1b9ef3||self,_0x439711(_0x1b9ef3['UniverProSheetsOutline'],_0x1b9ef3['UniverCoreFacade'],_0x1b9ef3[_0x5ec760(0x1b7)]));}(this,function(_0x1f1174,_0x3895b9,_0x14f23a){var _0x516263=_0x2f74,_0x2175e8=class extends _0x3895b9[_0x516263(0x1a4)]{get[_0x516263(0x1b8)](){var _0x32d48=_0x516263;return _0x1f1174[_0x32d48(0x1b8)];}get[_0x516263(0x1af)](){var _0x263a01=_0x516263;return _0x1f1174[_0x263a01(0x1af)];}};_0x3895b9['FEnum']['extend'](_0x2175e8);var _0x534e5c=class extends _0x14f23a['FWorksheet']{[_0x516263(0x1c2)](_0x5bbad9,_0x480967){var _0xf3b3ad=_0x516263;return this['_addDimensionOutline'](_0x1f1174[_0xf3b3ad(0x1b8)][_0xf3b3ad(0x1c1)],_0x5bbad9,_0x480967);}[_0x516263(0x1ac)](_0x1e60f6,_0x36c536){var _0x391b1b=_0x516263;return this[_0x391b1b(0x1b6)](_0x1f1174[_0x391b1b(0x1b8)]['COLUMN'],_0x1e60f6,_0x36c536);}[_0x516263(0x1b2)](_0xb1d3b9){var _0x10e143=_0x516263;return this['_commandService']['syncExecuteCommand'](_0x1f1174[_0x10e143(0x1a2)]['id'],{'unitId':this[_0x10e143(0x19f)][_0x10e143(0x1a3)](),'subUnitId':this[_0x10e143(0x1b3)][_0x10e143(0x1a1)](),'outlineId':_0xb1d3b9}),this;}[_0x516263(0x1aa)](_0x24a15c,_0x5d10a6){var _0x3c7ee6=_0x516263;return this['_commandService'][_0x3c7ee6(0x1a0)](_0x1f1174['SetDimensionOutlineCollapsedCommand']['id'],{'unitId':this[_0x3c7ee6(0x19f)][_0x3c7ee6(0x1a3)](),'subUnitId':this[_0x3c7ee6(0x1b3)]['getSheetId'](),'outlineId':_0x24a15c,'collapsed':_0x5d10a6}),this;}[_0x516263(0x1ad)](_0x742e0c,_0xd03d69,_0x51ec8a){var _0x1317da=_0x516263;return this[_0x1317da(0x1b4)][_0x1317da(0x1a0)](_0x1f1174[_0x1317da(0x1c6)]['id'],{'unitId':this[_0x1317da(0x19f)][_0x1317da(0x1a3)](),'subUnitId':this['_worksheet'][_0x1317da(0x1a1)](),'axis':_0x742e0c,'start':_0xd03d69,'end':_0x51ec8a}),this;}[_0x516263(0x1bf)](_0x51393a){var _0x2d2413=_0x516263;let _0x4713fd=this[_0x2d2413(0x1ba)][_0x2d2413(0x1b9)](_0x1f1174[_0x2d2413(0x1ae)])[_0x2d2413(0x1a7)](this[_0x2d2413(0x19f)][_0x2d2413(0x1a3)](),this[_0x2d2413(0x1b3)][_0x2d2413(0x1a1)]());return _0x51393a?_0x4713fd[_0x2d2413(0x1a5)](_0x52753f=>_0x52753f[_0x2d2413(0x1bb)]===_0x51393a):_0x4713fd;}['_addDimensionOutline'](_0x2eb045,_0x2e2b79,_0x3a99ec){var _0x2d216a=_0x516263;return this[_0x2d216a(0x1b4)]['syncExecuteCommand'](_0x1f1174[_0x2d216a(0x1a8)]['id'],{'unitId':this['_workbook'][_0x2d216a(0x1a3)](),'subUnitId':this['_worksheet'][_0x2d216a(0x1a1)](),'axis':_0x2eb045,'start':_0x2e2b79,'end':_0x2e2b79+_0x3a99ec-0x1}),this;}};_0x14f23a[_0x516263(0x1bc)][_0x516263(0x1b0)](_0x534e5c);}));function _0x2f74(_0x4abb76,_0x238a0c){_0x4abb76=_0x4abb76-0x19f;var _0x45deca=_0x45de();var _0x2f74c7=_0x45deca[_0x4abb76];return _0x2f74c7;}function _0x45de(){var _0x4eae64=['_commandService','15lmnsuD','_addDimensionOutline','UniverSheetsFacade','DimensionOutlineAxis','get','_injector','axis','FWorksheet','2886384qkIafm','5625130swvllX','getDimensionOutlines','135778lwDlkv','ROW','addRowOutline','@univerjs-pro/sheets-outline','@univerjs/sheets/facade','amd','ClearDimensionOutlinesCommand','9290vIGXaN','2245251azBeMR','26QDktQZ','_workbook','syncExecuteCommand','getSheetId','RemoveDimensionOutlineCommand','getUnitId','FEnum','filter','48114LGJcTw','getOutlines','AddDimensionOutlineCommand','@univerjs/core/facade','setDimensionOutlineCollapsed','1038908lccpNm','addColumnOutline','clearDimensionOutlines','SheetsOutlineModel','DimensionOutlineErrorReason','extend','3329346OfGJHg','removeDimensionOutline','_worksheet'];_0x45de=function(){return _0x4eae64;};return _0x45de();}