@univerjs-pro/sheets-pivot 0.12.1 → 0.12.2-nightly.202511290732
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3575a0,_0x187735){const _0x168751=_0xe5fb,_0x3261cb=_0x3575a0();while(!![]){try{const _0x5ebbd3=parseInt(_0x168751(0x331))/0x1+parseInt(_0x168751(0x342))/0x2*(-parseInt(_0x168751(0x1ca))/0x3)+parseInt(_0x168751(0x336))/0x4*(parseInt(_0x168751(0x256))/0x5)+parseInt(_0x168751(0x1b9))/0x6+-parseInt(_0x168751(0x39b))/0x7*(parseInt(_0x168751(0x1e7))/0x8)+parseInt(_0x168751(0x130))/0x9+-parseInt(_0x168751(0x245))/0xa*(parseInt(_0x168751(0x1a7))/0xb);if(_0x5ebbd3===_0x187735)break;else _0x3261cb['push'](_0x3261cb['shift']());}catch(_0x234bff){_0x3261cb['push'](_0x3261cb['shift']());}}}(_0x4ee1,0x5ad7d),function(_0x48a626,_0x10c219){const _0x51b710=_0xe5fb;typeof exports==_0x51b710(0x412)&&typeof module<'u'?_0x10c219(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define=='function'&&define[_0x51b710(0x139)]?define([_0x51b710(0x227),_0x51b710(0x210),_0x51b710(0x2f3),_0x51b710(0x321),_0x51b710(0x2c3),_0x51b710(0x1e8),_0x51b710(0x3fe),_0x51b710(0x2e4),'@univerjs/rpc',_0x51b710(0x352)],_0x10c219):(_0x48a626=typeof globalThis<'u'?globalThis:_0x48a626||self,_0x10c219(_0x48a626['UniverProSheetsPivot']={},_0x48a626['UniverProEnginePivot'],_0x48a626[_0x51b710(0x1f6)],_0x48a626[_0x51b710(0x228)],_0x48a626[_0x51b710(0x386)],_0x48a626[_0x51b710(0x1e8)],_0x48a626[_0x51b710(0x23c)],_0x48a626[_0x51b710(0x3d5)],_0x48a626[_0x51b710(0x427)],_0x48a626[_0x51b710(0x184)]));}(this,function(_0x47953f,_0x16b0d8,_0x49f92f,_0x3a3769,_0x29b248,_0x3818d9,_0x3e3faf,_0x4f3d47,_0x347967,_0x276b80){'use strict';const _0x5565f1=_0xe5fb;var _0x51382a=Object['defineProperty'],_0x126888=(_0x5c1062,_0x5bae92,_0x4738df)=>_0x5bae92 in _0x5c1062?_0x51382a(_0x5c1062,_0x5bae92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4738df}):_0x5c1062[_0x5bae92]=_0x4738df,_0x246801=(_0x23f8f6,_0xfdd742,_0x3168a3)=>_0x126888(_0x23f8f6,typeof _0xfdd742!=_0x5565f1(0x2b3)?_0xfdd742+'':_0xfdd742,_0x3168a3);const _0x3e4104=Number['parseInt'](0x69216348),_0x240c1f=0x10,_0x5078db=0x1,_0x5eb740='SHEET_PIVOT_TABLE_PLUGIN',_0x29054f=0x1,_0x35615d=_0x5565f1(0x1f1),_0x58bcc4=_0x5565f1(0x374),_0x34e63c=_0x5565f1(0x13b),_0x1ee523=_0x5565f1(0x3a1),_0x3698da=_0x5565f1(0x3a1),_0x43e74a=_0x5565f1(0x3e2),_0x346460=_0x5565f1(0x218),_0x471cb5='#FFFFFF',_0x177e2f=_0x5565f1(0x141),_0x253ac9=_0x5565f1(0x218),_0x507851=_0x5565f1(0x3d0),_0x2e8d6c=_0x5565f1(0x1c4),_0x1fdf30=0xe,_0x4c45a2=0x6;var _0x3ad7fb=(_0x449603=>(_0x449603[_0x5565f1(0x1fd)]='existing',_0x449603[_0x5565f1(0x22b)]=_0x5565f1(0x1d5),_0x449603))(_0x3ad7fb||{});const _0x1e7e8c={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x576efe=0x1e,_0x11b34c={'b':{'s':0x1,'cl':{'rgb':_0x34e63c}},'l':{'s':0x1,'cl':{'rgb':_0x34e63c}},'r':{'s':0x1,'cl':{'rgb':_0x34e63c}},'t':{'s':0x1,'cl':{'rgb':_0x34e63c}}},_0x42d7b5={'bg':{'rgb':_0x35615d},'ht':0x2,'vt':0x2,'tb':0x1},_0x1ff51d={'bg':{'rgb':_0x58bcc4},'ht':0x2,'vt':0x2,'tb':0x1},_0x136b96={'rowStyle':{'bg':{'rgb':_0x2e8d6c},'bd':_0x11b34c,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x253ac9},'bd':null,'cl':{'rgb':_0x507851},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x11b34c,'bg':{'rgb':_0x177e2f},'vt':0x2},'cornerStyle':{'bd':_0x11b34c,'bg':{'rgb':_0x43e74a},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x11b34c,'bg':{'rgb':_0x1ee523},'vt':0x2},'leafStyle':{'bd':_0x11b34c,'bg':{'rgb':_0x3698da},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x346460},'cl':{'rgb':_0x471cb5},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x11b34c,'vt':0x2}};function _0x411eb8(_0x35ff95,_0x55a3f3,_0x4b0c87){const _0x51aa36=_0x5565f1,_0x75a7e2=_0x35ff95[_0x51aa36(0x326)](_0x49f92f['LocaleService']),_0x42329a=_0x4b0c87[_0x51aa36(0x36c)]('_');switch(_0x55a3f3){case _0x16b0d8[_0x51aa36(0x3ba)]['Year']:return _0x75a7e2['t'](_0x51aa36(0x24b),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)][_0x51aa36(0x230)]:return _0x75a7e2['t'](_0x51aa36(0x181),..._0x42329a);case _0x16b0d8['PivotDateGroupFieldDateTypeEnum'][_0x51aa36(0x14e)]:return _0x75a7e2['t'](_0x51aa36(0x1a1),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)][_0x51aa36(0x360)]:return _0x75a7e2['t'](_0x51aa36(0x33a),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)][_0x51aa36(0x3c0)]:return _0x75a7e2['t'](_0x51aa36(0x32d),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)][_0x51aa36(0x253)]:return _0x75a7e2['t'](_0x51aa36(0x340),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)][_0x51aa36(0x140)]:return _0x75a7e2['t'](_0x51aa36(0x2b6),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)][_0x51aa36(0x293)]:return _0x75a7e2['t'](_0x51aa36(0x1a5),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)]['YearMonthDate']:return _0x75a7e2['t'](_0x51aa36(0x3bc),..._0x42329a);case _0x16b0d8[_0x51aa36(0x3ba)]['YearQuarter']:return _0x75a7e2['t'](_0x51aa36(0x217),..._0x42329a);}return'';}const _0x4c26a3=(_0x17fe4f,_0xee8c93,_0x5baed2,_0x131d5a)=>{const _0x5600c0=_0x5565f1;let _0x265aa0;const _0x5ed5dd=_0x17fe4f[_0x5600c0(0x326)](_0x49f92f[_0x5600c0(0x26f)])[_0x5600c0(0x244)](_0x49f92f[_0x5600c0(0x1b7)][_0x5600c0(0x3da)]);if(!_0x5ed5dd)return null;const _0x535ca9=_0x5ed5dd[_0x5600c0(0x2dd)]();let _0x1d1bf1;if(_0x5baed2&&(_0x1d1bf1=_0x535ca9[_0x5600c0(0x3c9)](_0x5baed2)),_0xee8c93!=null&&_0xee8c93['v']||(_0xee8c93==null?void 0x0:_0xee8c93['v'])===0x0){_0x265aa0||(_0x265aa0={});const _0x3ffdb2=_0x266eeb(_0xee8c93['v']);typeof _0x3ffdb2=='number'?_0x265aa0['t']=_0x49f92f[_0x5600c0(0x183)]['NUMBER']:typeof _0x3ffdb2==_0x5600c0(0x2fa)&&(_0x265aa0['t']=_0x49f92f[_0x5600c0(0x183)]['STRING']),_0x265aa0['v']=_0x3ffdb2;}if((_0xee8c93!=null&&_0xee8c93['i']||(_0xee8c93==null?void 0x0:_0xee8c93['i'])===0x0)&&(_0x265aa0||(_0x265aa0={}),_0x265aa0['fi']=_0xee8c93['i']),_0xee8c93!=null&&_0xee8c93['s']&&(_0x265aa0||(_0x265aa0={}),_0x265aa0[_0x5600c0(0x403)]=_0xee8c93['s']),_0x5baed2&&(_0x265aa0||(_0x265aa0={}),_0x265aa0['s']=_0x1d1bf1),_0x131d5a&&_0x265aa0!=null&&_0x265aa0['v']&&_0x265aa0['pbt']!==_0x16b0d8[_0x5600c0(0x3f9)][_0x5600c0(0x367)]&&_0x265aa0[_0x5600c0(0x403)]!==_0x16b0d8[_0x5600c0(0x3f9)][_0x5600c0(0x366)]){const _0x41989d=String(_0x265aa0['v']),{dateType:_0x9c86bc}=_0x131d5a;_0x265aa0['v']=_0x411eb8(_0x17fe4f,_0x9c86bc,_0x41989d),_0x265aa0['t']=_0x49f92f[_0x5600c0(0x183)][_0x5600c0(0x3ca)];}return _0x265aa0;},_0x57f126=(_0x40f466,_0x367868,_0x1c3e45,_0x4a8b57)=>{const _0x28181a=_0x5565f1;var _0x555f74,_0x2ec35a,_0x41d187,_0x2551fd,_0x597951,_0x2f21df,_0x4563c7,_0x1f7c33,_0x305527,_0xc3bd0,_0x31af7d,_0x37bccb,_0x52b0cf,_0x39448d;const _0x3df2fc=_0x1c3e45[_0x28181a(0x1d0)],{cornerView:_0x30d5cb,rowView:_0x17556b,colView:_0x3b0c81,dataView:_0x19557f,pageView:_0x804050,formatMap:_0x3d2c20,groupInfo:_0x170fb2}=_0x367868,{row:_0x406353,col:_0xbfe3ac}=_0x3df2fc,_0x1375ea=new _0x49f92f[(_0x28181a(0x38d))](),_0x16df47={},_0x212297={},_0x5b917a={},_0x38f7ac={},_0x1d1075={};let _0x1ed49c=_0x406353,_0x44f288=_0xbfe3ac;Object['keys'](_0x804050['data'])['forEach'](_0x1f0462=>{const _0x539e18=_0x28181a;Object[_0x539e18(0x37a)](_0x804050[_0x539e18(0x2c1)][Number(_0x1f0462)])['forEach'](_0x27198e=>{const _0x2d69de=_0x539e18,_0x1ad597={..._0x804050[_0x2d69de(0x2c1)][Number(_0x1f0462)][Number(_0x27198e)]};_0x1375ea[_0x2d69de(0x3c9)](Number(_0x1f0462)+_0x1ed49c,Number(_0x27198e)+_0x44f288,_0x4c26a3(_0x40f466,_0x1ad597,_0x136b96[_0x2d69de(0x2b2)]));});});const _0x5575bf=Object[_0x28181a(0x37a)](_0x804050[_0x28181a(0x2c1)])['length'];_0x1ed49c+=_0x5575bf+(_0x5575bf?_0x29054f:0x0);const _0x5ccbdc=_0x30d5cb[_0x28181a(0x2fb)](),_0x1b347f=_0x30d5cb['getColCount']();for(let _0xb134ad=0x0;_0xb134ad<_0x5ccbdc;_0xb134ad++)for(let _0x1be11b=0x0;_0x1be11b<_0x1b347f;_0x1be11b++){const _0x1b12ed={...(_0x2ec35a=(_0x555f74=_0x30d5cb[_0x28181a(0x2c1)])==null?void 0x0:_0x555f74[_0xb134ad])==null?void 0x0:_0x2ec35a[_0x1be11b]};_0x1b12ed&&((_0x41d187=_0x17556b[_0x28181a(0x2cc)][_0x1be11b])!=null&&_0x41d187[_0x28181a(0x17d)])&&_0x1be11b===_0x1b347f-0x1&&_0xb134ad===_0x5ccbdc-0x1&&(_0x1b12ed['v']=''+_0x4a8b57[_0x28181a(0x31c)]),_0x1375ea[_0x28181a(0x3c9)](_0xb134ad+_0x1ed49c,_0x1be11b+_0x44f288,_0x4c26a3(_0x40f466,_0x1b12ed,_0x136b96['cornerStyle']));}for(let _0x3e9752=0x0;_0x3e9752<_0x30d5cb[_0x28181a(0x40a)]['length'];_0x3e9752++)_0x30d5cb[_0x28181a(0x40a)][_0x3e9752]&&(_0x5b917a[''+(_0x3e9752+_0x44f288)]=_0x30d5cb[_0x28181a(0x40a)][_0x3e9752]);_0x44f288+=_0x1b347f;const _0x554be2=_0x3b0c81[_0x28181a(0x2cc)],_0x2c71e6=_0x3b0c81[_0x28181a(0x1ef)]()>=0x0?_0x3b0c81[_0x28181a(0x1ef)]()+0x1:0x0,_0x39a461=_0x3b0c81[_0x28181a(0x1f8)]()>=0x0?_0x3b0c81[_0x28181a(0x1f8)]()+0x1:0x0;for(let _0x58d2b3=0x0;_0x58d2b3<_0x39a461;_0x58d2b3++){for(let _0x3f458f=0x0;_0x3f458f<_0x2c71e6;_0x3f458f++){const _0x57ce03={...(_0x597951=(_0x2551fd=_0x3b0c81[_0x28181a(0x2c1)])==null?void 0x0:_0x2551fd[_0x3f458f])==null?void 0x0:_0x597951[_0x58d2b3]},_0x16b1e1=(_0x2f21df=_0x554be2[_0x3f458f])==null?void 0x0:_0x2f21df[_0x28181a(0x292)],_0x3b7ce4=_0x3d2c20[_0x16b1e1],_0x5365a3=_0x170fb2[_0x16b1e1];_0x57ce03&&(_0x57ce03['v']=_0xb1d466(_0x57ce03,_0x3f458f===0x0&&((_0x4563c7=_0x3b0c81[_0x28181a(0x365)](_0x58d2b3+0x1))==null?void 0x0:_0x4563c7['isValue']),_0x3b7ce4,_0x4a8b57));let _0x4391df;_0x3b7ce4?_0x4391df={..._0x136b96['colStyle'],'n':{'pattern':_0x3b7ce4}}:_0x4391df={..._0x136b96[_0x28181a(0x308)]},_0x1375ea[_0x28181a(0x3c9)](_0x3f458f+_0x1ed49c,_0x58d2b3+_0x44f288,_0x4c26a3(_0x40f466,_0x57ce03,_0x4391df,_0x5365a3));}_0x3b0c81[_0x28181a(0x40a)][_0x58d2b3]&&(_0x212297[''+(_0x58d2b3+_0x44f288)]=_0x3b0c81[_0x28181a(0x40a)][_0x58d2b3]),_0x3b0c81[_0x28181a(0x2cc)][_0x58d2b3+0x1]&&(_0x1d1075[''+(_0x58d2b3+_0x1ed49c+0x1)]=_0x3b0c81[_0x28181a(0x2cc)][_0x58d2b3+0x1]);}_0x1ed49c+=_0x5ccbdc;const _0x536f05=_0x17556b['headerMap'],_0x5a3490=_0x17556b[_0x28181a(0x1ef)]()>=0x0?_0x17556b[_0x28181a(0x1ef)]()+0x1:0x0,_0x52c57e=_0x17556b['getLastCol']()>=0x0?_0x17556b[_0x28181a(0x1f8)]()+0x1:0x0;for(let _0x5ab608=0x0;_0x5ab608<_0x5a3490;_0x5ab608++){for(let _0x29a6bb=0x0;_0x29a6bb<_0x52c57e;_0x29a6bb++){const _0x40cba4={...(_0x305527=(_0x1f7c33=_0x17556b['data'])==null?void 0x0:_0x1f7c33[_0x5ab608])==null?void 0x0:_0x305527[_0x29a6bb]},_0x2e840f=(_0xc3bd0=_0x536f05[_0x29a6bb])==null?void 0x0:_0xc3bd0[_0x28181a(0x292)],_0x429e46=_0x3d2c20[_0x2e840f],_0x1b61bd=_0x170fb2[_0x2e840f];_0x40cba4&&(_0x40cba4['v']=_0xb1d466(_0x40cba4,!0x1,_0x429e46,_0x4a8b57));let _0x5a0961;_0x17556b[_0x28181a(0x40a)][_0x5ab608][_0x28181a(0x29c)]===_0x17556b['getColCount']()?_0x5a0961=_0x136b96[_0x28181a(0x2c6)]:_0x17556b['info'][_0x5ab608][_0x28181a(0x1e2)]?_0x5a0961=_0x17556b[_0x28181a(0x40a)][_0x5ab608][_0x28181a(0x29c)]===0x0?_0x136b96['grandTotal']:_0x136b96[_0x28181a(0x398)]:_0x5a0961=_0x136b96[_0x28181a(0x117)],_0x429e46&&(_0x5a0961={..._0x5a0961,'n':{'pattern':_0x429e46}}),_0x1375ea[_0x28181a(0x3c9)](_0x5ab608+_0x1ed49c,_0x29a6bb+_0xbfe3ac,_0x4c26a3(_0x40f466,_0x40cba4,_0x5a0961,_0x1b61bd));}_0x17556b[_0x28181a(0x40a)][_0x5ab608]&&(_0x16df47[''+(_0x5ab608+_0x1ed49c)]=_0x17556b[_0x28181a(0x40a)][_0x5ab608]),_0x17556b['headerMap'][_0x5ab608]&&(_0x38f7ac[''+(_0x5ab608+_0xbfe3ac)]=_0x17556b['headerMap'][_0x5ab608]);}const _0x543bb7=_0x19557f[_0x28181a(0x2fb)](),_0x43c4d6=_0x19557f[_0x28181a(0x2c0)]();for(let _0x1bf85c=0x0;_0x1bf85c<_0x543bb7;_0x1bf85c++)for(let _0xa30dc1=0x0;_0xa30dc1<_0x43c4d6;_0xa30dc1++){const _0x5306dc={...(_0x37bccb=(_0x31af7d=_0x19557f[_0x28181a(0x2c1)])==null?void 0x0:_0x31af7d[_0x1bf85c])==null?void 0x0:_0x37bccb[_0xa30dc1]};let _0x25e35e;_0x17556b['info'][_0x1bf85c]['isBottomTotal']?_0x25e35e=_0x17556b[_0x28181a(0x40a)][_0x1bf85c][_0x28181a(0x29c)]===0x0?_0x136b96[_0x28181a(0x377)]:_0x136b96[_0x28181a(0x398)]:_0x25e35e=_0x136b96['dataStyle'];const _0x3b444f=_0x17556b[_0x28181a(0x40a)][_0x1bf85c][_0x28181a(0x400)],_0x3b59dc=_0x3b0c81[_0x28181a(0x40a)][_0xa30dc1][_0x28181a(0x400)],_0xa782d3=Math[_0x28181a(0x3b0)](_0x3b444f,_0x3b59dc),_0x1f82bc=_0x1c3e45[_0x28181a(0x1be)][_0x28181a(0x276)][_0x28181a(0x2f7)]();let _0x4c43df='';_0xa782d3<0x0?_0x4c43df=(_0x52b0cf=_0x1f82bc[0x0])!=null?_0x52b0cf:'':_0x4c43df=(_0x39448d=_0x1f82bc[_0xa782d3])!=null?_0x39448d:'';const _0x39c84b=_0x3d2c20[_0x4c43df];_0x39c84b&&(_0x25e35e={..._0x25e35e,'n':{'pattern':_0x39c84b}}),_0x1375ea[_0x28181a(0x3c9)](_0x1bf85c+_0x1ed49c,_0xa30dc1+_0x44f288,_0x4c26a3(_0x40f466,_0x5306dc,_0x25e35e));}return{'valueMatrix':_0x1375ea,'rowInfo':_0x16df47,'colInfo':_0x212297,'cornerInfo':_0x5b917a,'rowHeaderMap':_0x38f7ac,'colHeaderMap':_0x1d1075};};function _0xb1d466(_0x5f2e40,_0x49256f,_0x2ec1db,_0x2d0695){const _0x133c2a=_0x5565f1;let _0x50365d=_0x5f2e40['v'];_0x49256f&&(_0x50365d=''+_0x2d0695[_0x133c2a(0x31c)]);const _0x564fa5=_0x5f2e40['t']&&(_0x5f2e40['t']&_0x16b0d8[_0x133c2a(0x381)][_0x133c2a(0x351)])>0x0;_0x564fa5&&(_0x50365d=''+_0x2d0695[_0x133c2a(0x3cb)]);const _0x21aba4=_0x5f2e40['t']&&(_0x5f2e40['t']&_0x16b0d8[_0x133c2a(0x381)][_0x133c2a(0x3db)])>0x0;if(_0x21aba4&&(_0x50365d=''+_0x2d0695[_0x133c2a(0x2e6)]),_0x5f2e40['s']===_0x16b0d8['PivotCellStyleTypeEnum'][_0x133c2a(0x366)]){let _0x4b54e9=_0x50365d,_0x4010e3='';_0x16b0d8[_0x133c2a(0x224)](_0x50365d)&&(_0x4b54e9=_0x50365d[_0x133c2a(0x21d)],_0x4010e3=_0x50365d[_0x133c2a(0x41c)]);const _0x3e6d14=_0x2ec1db&&!_0x564fa5&&!_0x21aba4?_0x49f92f['numfmt'][_0x133c2a(0x40c)](_0x2ec1db,Number(_0x4b54e9)):_0x4b54e9;_0x4010e3?_0x50365d=_0x3e6d14+'\x20'+_0x4010e3:_0x50365d=_0x3e6d14+'\x20'+_0x2d0695[_0x133c2a(0x199)];}else _0x5f2e40['s']===_0x16b0d8[_0x133c2a(0x3f9)][_0x133c2a(0x367)]&&(_0x50365d=_0x50365d+'\x20'+_0x2d0695[_0x133c2a(0x2ef)]);return _0x50365d;}function _0x266eeb(_0x1cf2eb){const _0x258b97=_0x5565f1;if(_0x16b0d8[_0x258b97(0x225)](_0x1cf2eb)){const {errorType:_0x17defc}=_0x1cf2eb;switch(_0x17defc){case _0x16b0d8['PivotErrorTypeEnum'][_0x258b97(0x3ea)]:return _0x3a3769[_0x258b97(0x151)][_0x258b97(0x1d6)];case _0x16b0d8[_0x258b97(0x418)][_0x258b97(0x1c7)]:return _0x3a3769['ErrorType']['NUM'];case _0x16b0d8[_0x258b97(0x418)][_0x258b97(0x3f8)]:return _0x3a3769[_0x258b97(0x151)][_0x258b97(0x2f8)];case _0x16b0d8[_0x258b97(0x418)][_0x258b97(0x2db)]:return _0x3a3769[_0x258b97(0x151)][_0x258b97(0x2f8)];case _0x16b0d8[_0x258b97(0x418)][_0x258b97(0x443)]:return _0x3a3769[_0x258b97(0x151)][_0x258b97(0x284)];}}return _0x1cf2eb;}function _0x290256(_0x1f2b2e,_0x15706c,_0x2b426b=!0x1,_0x498606=!0x1){const _0x5be5df=_0x5565f1,{data:_0x5db333}=_0x15706c,_0x27f6b2=_0x15706c['getRowCount'](),_0x13f7df=_0x15706c['getColCount']();if(_0x27f6b2<=0x0||_0x13f7df<=0x0)return[];const _0x50eb5c=_0x15706c[_0x5be5df(0x1f8)](),_0x840276=_0x15706c[_0x5be5df(0x1ef)](),_0x561c55=_0x498606?_0x840276>=0x0?_0x840276+0x1:0x0:_0x27f6b2,_0x51b193=_0x498606?_0x50eb5c>=0x0?_0x50eb5c+0x1:0x0:_0x13f7df,{row:_0x31c254,col:_0x59c9a5}=_0x1f2b2e,_0x204d8c=_0x31c254,_0x3a3ffc=_0x59c9a5;if(_0x2b426b){const _0x22d555=[];for(const [_0x307f07,_0x25e151]of Object['entries'](_0x5db333))for(const [_0x519db3,_0x18689c]of Object[_0x5be5df(0x15f)](_0x25e151))_0x22d555[_0x5be5df(0x254)](_0x49f92f[_0x5be5df(0x42d)](_0x204d8c+Number(_0x307f07),_0x3a3ffc+Number(_0x519db3)));return _0x22d555;}else{const _0x124f87=_0x498606?_0x561c55>0x0?0x1:0x0:0x1,_0x1881d7=_0x498606?_0x51b193>0x0?0x1:0x0:0x1,_0x3e6794=_0x31c254+_0x561c55-_0x124f87,_0x23bcc1=_0x59c9a5+_0x51b193-_0x1881d7;return[{'startRow':_0x204d8c,'startColumn':_0x3a3ffc,'endRow':_0x3e6794,'endColumn':_0x23bcc1}];}}const _0x511ea3=_0x5565f1(0x1af),_0x279ac7=_0x5565f1(0x162);var _0x3175a8=(_0x24769b=>(_0x24769b['Filter']=_0x5565f1(0x209),_0x24769b[_0x5565f1(0x270)]=_0x5565f1(0x1e1),_0x24769b[_0x5565f1(0x35b)]=_0x5565f1(0x195),_0x24769b[_0x5565f1(0x33d)]='AddPivotTableWithConfig',_0x24769b[_0x5565f1(0x18f)]=_0x5565f1(0x32f),_0x24769b[_0x5565f1(0x12a)]=_0x5565f1(0x208),_0x24769b[_0x5565f1(0x235)]=_0x5565f1(0x2c7),_0x24769b[_0x5565f1(0x2fe)]=_0x5565f1(0x231),_0x24769b['SetPivotFilter']=_0x5565f1(0x1f5),_0x24769b[_0x5565f1(0x3fd)]=_0x5565f1(0x304),_0x24769b[_0x5565f1(0x2d1)]='setPivotSetting',_0x24769b['UpdatePivotSource']='updatePivotSource',_0x24769b['UpdateValuePosition']=_0x5565f1(0x323),_0x24769b['DrillDown']='drillDown',_0x24769b[_0x5565f1(0x252)]=_0x5565f1(0x2c8),_0x24769b[_0x5565f1(0x13d)]=_0x5565f1(0x13c),_0x24769b[_0x5565f1(0x3a3)]=_0x5565f1(0x3ed),_0x24769b))(_0x3175a8||{});const _0x8dba5={'sheets-pivot.blankValue':_0x5565f1(0x237),'sheets-pivot.columnName':_0x5565f1(0x2f6),'sheets-pivot.subTotalText':_0x5565f1(0x279),'sheets-pivot.grandTotalText':_0x5565f1(0x3e9),'sheets-pivot.valueText':_0x5565f1(0x359),'sheets-pivot.averageName':'Average\x20of\x20','sheets-pivot.countName':_0x5565f1(0x136),'sheets-pivot.countNumsName':_0x5565f1(0x136),'sheets-pivot.maxName':_0x5565f1(0x18e),'sheets-pivot.minName':_0x5565f1(0x43e),'sheets-pivot.productName':_0x5565f1(0x28d),'sheets-pivot.stdDevName':_0x5565f1(0x1c0),'sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':_0x5565f1(0x429),'sheets-pivot.varName':_0x5565f1(0x1b2),'sheets-pivot.varpName':'Varp\x20of\x20','sheets-pivot.subTotal':_0x5565f1(0x366),'sheets-pivot.grandTotal':_0x5565f1(0x3e9),'sheets-pivot.value':_0x5565f1(0x41c),'sheets-pivot.blank':_0x5565f1(0x351),'sheets-pivot.other':_0x5565f1(0x3db),'sheets-pivot.emptyPivot.filter':_0x5565f1(0x34a),'sheets-pivot.emptyPivot.row':_0x5565f1(0x3b6),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':'Values'},_0x41e9cb={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2d81a5=_0x49f92f[_0x5565f1(0x2ca)](_0x5565f1(0x1ab)),_0x3c8d53=_0x49f92f[_0x5565f1(0x397)](_0x5565f1(0x29d));var _0x37eb19=(_0x535300=>(_0x535300[_0x5565f1(0x436)]=_0x5565f1(0x436),_0x535300[_0x5565f1(0x43d)]='delete',_0x535300['update']='update',_0x535300))(_0x37eb19||{}),_0x1e0edb=(_0x3281da=>(_0x3281da[_0x5565f1(0x2d5)]=_0x5565f1(0x436),_0x3281da[_0x5565f1(0x369)]=_0x5565f1(0x246),_0x3281da['Delete']=_0x5565f1(0x43d),_0x3281da))(_0x1e0edb||{});const _0x44b295={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x17b),'handler':()=>!0x0},_0x187dbf={'type':_0x49f92f['CommandType'][_0x5565f1(0x1fc)],'id':_0x5565f1(0x399),'handler':()=>!0x0},_0xd023a5={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x25a),'handler':()=>!0x0},_0x3bac17={'type':_0x49f92f[_0x5565f1(0x1ae)]['MUTATION'],'id':_0x5565f1(0x154),'handler':()=>!0x0},_0x389da5={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x1b0),'handler':()=>!0x0};var _0xfb2bd3=Object[_0x5565f1(0x14a)],_0x58dfa2=(_0x276775,_0x3a7432,_0x5043a7,_0x3d242d)=>{const _0x50b759=_0x5565f1;for(var _0x15a892=_0x3d242d>0x1?void 0x0:_0x3d242d?_0xfb2bd3(_0x3a7432,_0x5043a7):_0x3a7432,_0x41dbcd=_0x276775[_0x50b759(0x37f)]-0x1,_0xab7f0;_0x41dbcd>=0x0;_0x41dbcd--)(_0xab7f0=_0x276775[_0x41dbcd])&&(_0x15a892=_0xab7f0(_0x15a892)||_0x15a892);return _0x15a892;},_0x2172f3=(_0x5cc4e9,_0x1a7cf0)=>(_0x3d3e85,_0xe0622d)=>_0x1a7cf0(_0x3d3e85,_0xe0622d,_0x5cc4e9);_0x47953f['SheetsPivotRPCService']=class extends _0x49f92f['Disposable']{constructor(_0x2ad4bd){const _0x1c603e=_0x5565f1;super(),_0x246801(this,_0x1c603e(0x332),new Map()),this[_0x1c603e(0x393)]=_0x2ad4bd;}[_0x5565f1(0x335)](_0x1df426){const _0x40c405=_0x5565f1,{version:_0x43ec1e}=_0x1df426,_0x4a46cf=this[_0x40c405(0x332)]['get'](_0x43ec1e);_0x4a46cf&&(_0x4a46cf(_0x1df426),this[_0x40c405(0x332)][_0x40c405(0x43d)](_0x43ec1e));}[_0x5565f1(0x236)](_0x31b120){return new Promise((_0x283e23,_0x5e5282)=>{const _0x23be28=_0xe5fb,_0x1b6e6c=this[_0x23be28(0x42a)]();this[_0x23be28(0x332)][_0x23be28(0x246)](_0x1b6e6c,_0x283e23),this['_commandService'][_0x23be28(0x41e)](_0x44b295['id'],{'version':_0x1b6e6c,..._0x31b120},{'onlyLocal':!0x0});});}[_0x5565f1(0x42a)](){const _0x5b15c1=_0x5565f1;return Math[_0x5b15c1(0x344)]()['toString'](0x24)[_0x5b15c1(0x2d4)](0x2,0x10);}},_0x47953f[_0x5565f1(0x3f1)]=_0x58dfa2([_0x2172f3(0x0,_0x49f92f['Inject'](_0x49f92f[_0x5565f1(0x3fc)]))],_0x47953f[_0x5565f1(0x3f1)]);const _0x53dc2e={0x0:'V',0x1:'b',0x2:'Q',0x3:'u',0x4:'Z',0x5:'t',0x6:'J',0x7:'h',0x8:'a',0x9:'w','L':'0','z':'1','I':'2','N':'3','l':'4','C':'5','G':'6','u':'7','t':'8','Z':'9','f':'c','d':'d','r':'e','c':'f','w':'g','q':'i','E':'j','V':'k','B':'l','Y':'m','y':'n','K':'o','S':'p','b':'q','v':'r','D':'s','h':'v','R':'x','n':'y','s':'z','e':'A','x':'B','U':'C','Q':'D','X':'E','P':'F','a':'G','W':'H','i':'I','T':'K','j':'L','A':'M','H':'N','m':'O','J':'P','F':'R','p':'S','k':'T','M':'U','o':'W','O':'X','g':'Y'},_0x18631d='c3yf5qKy\x20drfvnS5qKy(BqfryDr,\x20S31BqfTrn)\x20{\x20\x20\x20\x205vn\x20{\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20BqfryDriycKJ8v5evv8n\x20=\x20BqfryDr.DSBq5(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20KvqwqyArDD8wr\x20=\x206pmH.S8vDr(85K1(BqfryDriycKJ8v5evv8n[I]));\x20\x20\x20\x20\x20\x20\x20\x20qc\x20(!KvqwqyArDD8wr.3d)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KvqwqyArDD8wr.3d\x20=\x20H3Y1rv(BqfryDriycKJ8v5evv8n[l]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20qDoKvVrv\x20=\x205nSrKc\x20oKvVrvaBK18BpfKSr\x20!==\x20\x273ydrcqyrd\x27\x20&&\x20DrBc\x20qyD58yfrKc\x20oKvVrvaBK18BpfKSr;\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20qDxvK9Drv\x20=\x205nSrKc\x209qydK9\x20!==\x20\x273ydrcqyrd\x27\x20&&\x205nSrKc\x209qydK9.BKf85qKy\x20!==\x20\x273ydrcqyrd\x27;\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20fKy5rR5\x20=\x20qDoKvVrv\x20?\x20DrBc\x20:\x20(qDxvK9Drv\x20?\x209qydK9\x20:\x20wBK18Bk7qD);\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20YrDD8wroKvd\x20=\x20fKy5rR5.__x8DrGl__.S8vDr(BqfryDriycKJ8v5evv8n[I]);\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20YrDD8wr\x20=\x20fKy5rR5.__WrR__.D5vqywqcn(YrDD8wroKvd);\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20Dqwy853vroKvd\x20=\x20fKy5rR5.__x8DrGl__.S8vDr(BqfryDriycKJ8v5evv8n[N]);\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20Dqwy853vr\x20=\x20fKy5rR5.__WrR__.D5vqywqcn(Dqwy853vroKvd);\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20Dqwy08Bqd\x20=\x20fKy5rR5.__hrvqcn__(Dqwy853vr,\x20YrDD8wr,\x20S31BqfTrn);\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20dKY8qy\x20=\x20KvqwqyArDD8wr.dY;\x20\x20\x20\x20\x20\x20\x20\x20c3yf5qKy\x20qDQKY8qyA85f7qyw(KJ855rvy,\x20KWKD5)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20S855rvy\x20=\x20KJ855rvy.vrSB8fr(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x207KD5\x20=\x20KWKD5.vrSB8fr(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20S855rvyJ8v5D\x20=\x20S855rvy.DSBq5(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x207KD5J8v5D\x20=\x207KD5.DSBq5(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qc\x20(!S855rvy.qyfB3drD(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vr53vy\x20S855rvy\x20===\x207KD5;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qc\x20(S855rvyJ8v5D.Bryw57\x20<\x20I\x20||\x20S855rvyJ8v5D[L]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vr53vy\x20c8BDr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20S855rvyp3ccqR\x20=\x20S855rvyJ8v5D.DBqfr(z).EKqy(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x207KD5p3ccqR\x20=\x207KD5J8v5D.DBqfr(-S855rvyJ8v5D.Bryw57\x20+\x20z).EKqy(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vr53vy\x20S855rvyp3ccqR\x20===\x207KD5p3ccqR;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Br5\x20dKY8qy08Bqd\x20=\x20c8BDr;\x20\x20\x20\x20\x20\x20\x20\x20qc\x20(qDxvK9Drv)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dKY8qy08Bqd\x20=\x20(dKY8qy\x20&&\x20dKY8qy.Bryw57)\x20?\x20dKY8qy.DKYr((dYi5rY)\x20=>\x20qDQKY8qyA85f7qyw(dYi5rY,\x20BKf85qKy.7KD5y8Yr))\x20:\x205v3r;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20qc\x20(BKf85qKy.7KD5y8Yr\x20===\x20\x27BKf8B7KD5\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dKY8qy08Bqd\x20=\x205v3r;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20rBDr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dKY8qy08Bqd\x20=\x205v3r;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fKyD5\x20h8Bqd\x20=\x20Dqwy08Bqd\x20&&\x20dKY8qy08Bqd;\x20\x20\x20\x20\x20\x20\x20\x20vr53vy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h8Bqd,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YrDD8wr:\x20KvqwqyArDD8wr,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20f85f7\x20(rvvKv)\x20{\x20\x20\x20\x20\x20\x20\x20\x20vr53vy\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20h8Bqd:\x20c8BDr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YrDD8wr:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}',_0x37fcf3=_0x3fc299=>{const _0x5ba1c7=_0x5565f1;var _0x27fed5;return((_0x27fed5=_0x3fc299[_0x5ba1c7(0x357)])==null?void 0x0:_0x27fed5[_0x5ba1c7(0x2b9)]['replace'](/\r\n$/,''))||'';};class _0x47dfc5 extends _0x16b0d8['DataFieldManager']{constructor(_0x3a7c9a,_0x2e8c93){const _0x12d091=_0x5565f1;super(),_0x246801(this,_0x12d091(0x295),{}),_0x246801(this,_0x12d091(0x23b)),_0x246801(this,_0x12d091(0x260)),(this['_univerInstanceService']=_0x2e8c93,this[_0x12d091(0x260)]=_0x3a7c9a);}['initDataRanges'](){const _0x3cf379=_0x5565f1;for(const _0x155392 in this[_0x3cf379(0x37c)]){const _0x38ecd1=this[_0x3cf379(0x37c)][_0x155392],_0x15b648=_0x38ecd1[_0x3cf379(0x2a4)]();this[_0x3cf379(0x295)][_0x15b648]=_0x38ecd1['getId']();}}[_0x5565f1(0x239)](){const _0x3ea4ca=_0x5565f1,_0x142289=this['_host'];return _0x3c038e[_0x3ea4ca(0x118)](_0x142289);}[_0x5565f1(0x178)](_0x5d9640){const _0x4f3a98=_0x5565f1,_0x40b702=this[_0x4f3a98(0x37c)][_0x5d9640][_0x4f3a98(0x36b)];delete this[_0x4f3a98(0x37c)][_0x5d9640],delete this[_0x4f3a98(0x295)][_0x40b702];}[_0x5565f1(0x198)](_0x51cfaf){const _0x1ac21f=_0x5565f1;this[_0x1ac21f(0x37c)][_0x51cfaf[_0x1ac21f(0x428)]()]=_0x51cfaf;}[_0x5565f1(0x156)](_0xcbc8df){const _0x2f7988=_0x5565f1;var _0x37f272,_0x2fc4a0;const _0xf01a5d=this[_0x2f7988(0x260)][_0x2f7988(0x442)](_0xcbc8df);if(_0xf01a5d){const {unitId:_0x42faec,subUnitId:_0x2a4fa8}=_0xf01a5d,_0x132b5b=(_0x37f272=this[_0x2f7988(0x260)][_0x2f7988(0x215)](_0x42faec,_0x2a4fa8,_0xcbc8df))==null?void 0x0:_0x37f272['sourceRangeInfo'];this[_0x2f7988(0x260)][_0x2f7988(0x242)]({'token':_0xcbc8df,'type':_0x37eb19[_0x2f7988(0x43d)],'dataRangeInfo':_0x132b5b});}(_0x2fc4a0=this['getCollection'](_0xcbc8df))==null||_0x2fc4a0['dispose'](),delete this[_0x2f7988(0x40d)][_0xcbc8df];}[_0x5565f1(0x2a4)](_0x77158e,_0x33bc6d){const _0x57e211=_0x5565f1,{sheetName:_0x3f362e,unitId:_0x27892d,range:_0x4d4c39}=_0x77158e,{startRow:_0x14f176,endRow:_0x25023a}=_0x4d4c39;return _0x3a3769[_0x57e211(0x2ff)](_0x27892d,_0x3f362e,{'startRow':_0x14f176,'endRow':_0x25023a,'startColumn':_0x33bc6d,'endColumn':_0x33bc6d});}[_0x5565f1(0x267)](_0x26352b){const _0x1b3255=_0x5565f1;return this[_0x1b3255(0x37c)][this['rangeKeyMap'][_0x26352b]];}[_0x5565f1(0x1f3)](_0x5e6ca3,_0x5e0c03){this['rangeKeyMap'][_0x5e6ca3]=_0x5e0c03;}[_0x5565f1(0x11f)](_0x2ad7ff,_0x11b775){const _0x2cfb0f=_0x5565f1;this['rangeKeyMap'][_0x11b775]=this[_0x2cfb0f(0x295)][_0x2ad7ff],delete this['rangeKeyMap'][_0x2ad7ff];}[_0x5565f1(0x3cf)](_0x2a119b,_0x41963b,_0x11d04c,_0x3f9ff0){const _0x57e8ed=_0x5565f1,_0x11f28d=new _0x16b0d8[(_0x57e8ed(0x330))](this);_0x11f28d[_0x57e8ed(0x401)](_0x41963b);const _0x1fbe3b=[];let _0x544f14=0x0;for(const _0x597412 of _0x11f28d['fieldIds']){const _0xb90563=this[_0x57e8ed(0x2a4)](_0x11d04c,_0x544f14),_0x13b196=this[_0x57e8ed(0x37c)][_0x597412];_0x13b196&&(_0x13b196['rangeKey']=_0xb90563,this[_0x57e8ed(0x1f3)](_0xb90563,_0x597412),_0x1fbe3b[_0x57e8ed(0x254)]({'index':_0x544f14,'dataField':_0x13b196})),_0x544f14++;}return this['addCollection'](_0x2a119b,_0x11f28d,_0x11d04c,_0x3f9ff0),{'collection':_0x11f28d,'updateDataFieldList':_0x1fbe3b};}['getRangeStartEndInfo'](_0x50cf58,_0x358c4d){const _0x4cd2b9=_0x5565f1;return _0x50cf58[_0x4cd2b9(0x2ad)]===_0x49f92f[_0x4cd2b9(0x164)][_0x4cd2b9(0x2cb)]?{'startRow':0x0,'startColumn':_0x50cf58[_0x4cd2b9(0x421)],'endRow':_0x358c4d[_0x4cd2b9(0x2fb)]()-0x1,'endColumn':_0x50cf58['endColumn']}:{'startRow':_0x50cf58[_0x4cd2b9(0x34c)],'startColumn':_0x50cf58[_0x4cd2b9(0x421)],'endRow':_0x50cf58[_0x4cd2b9(0x2b0)],'endColumn':_0x50cf58['endColumn']};}[_0x5565f1(0x3e4)](_0xc30d3c){const _0x473f45=_0x5565f1,{sheetName:_0x8485fc,range:_0x26ae83}=_0xc30d3c,_0x15e55a=this['_univerInstanceService']['getCurrentUnitForType'](_0x49f92f[_0x473f45(0x1b7)][_0x473f45(0x3da)]),_0x4881b1=_0x15e55a['getSheetBySheetName'](_0x8485fc),_0x410591=_0x4881b1['getCellMatrix'](),{startColumn:_0xd9da6d,startRow:_0x33cd52,endColumn:_0xd6f219}=this['getRangeStartEndInfo'](_0x26ae83,_0x4881b1),_0x3fe5c7=_0x15e55a[_0x473f45(0x2dd)](),_0x277f54=new _0x16b0d8[(_0x473f45(0x330))](this);_0x277f54[_0x473f45(0x389)](_0xc30d3c);const _0x26a154=[],_0x5645c0={};for(let _0x1890db=_0xd9da6d;_0x1890db<=_0xd6f219;_0x1890db++){const _0xac51ce=_0x410591[_0x473f45(0x1b6)](_0x33cd52,_0x1890db),_0x1aded4=this[_0x473f45(0x2a4)](_0xc30d3c,_0x1890db),_0x3cdf0d=this[_0x473f45(0x267)](_0x1aded4);if(_0x3cdf0d)_0x277f54[_0x473f45(0x30b)](_0x3cdf0d[_0x473f45(0x428)](),_0x3cdf0d[_0x473f45(0x2f9)]());else{const _0x39c432=this[_0x473f45(0x3f2)]();let _0x236a02=this['adjustSheetCellData'](_0xac51ce,_0x3fe5c7,_0x5645c0);_0x16b0d8[_0x473f45(0x37d)](_0x236a02)&&(_0x236a02=_0x49f92f['numfmt'][_0x473f45(0x40c)](_0x236a02['f'],Number(_0x236a02['v'])));const _0x53d328=this[_0x473f45(0x146)](_0x236a02,_0x1890db),_0x387b0e=new _0x16b0d8['DataField'](_0x39c432,_0x53d328,_0x16b0d8[_0x473f45(0x33f)](0x3));_0x387b0e[_0x473f45(0x36b)]=_0x1aded4,this[_0x473f45(0x37c)][_0x39c432]=_0x387b0e,_0x277f54['addField'](_0x39c432,_0x53d328),_0x26a154[_0x473f45(0x254)]({'index':_0x1890db,'dataField':_0x387b0e});}}return{'updateDataFieldList':_0x26a154,'collection':_0x277f54};}[_0x5565f1(0x1cb)](_0x101316){const _0xa53851=_0x5565f1;return this[_0xa53851(0x260)]['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x49f92f['numberToABC'](_0x101316);}[_0x5565f1(0x146)](_0x322a52,_0x50aced){return _0x322a52==null||_0x322a52===''?this['_getAutoName'](_0x50aced):String(_0x322a52);}[_0x5565f1(0x312)](_0x3ea923){const _0xbd17ca=_0x5565f1;return this[_0xbd17ca(0x40d)][_0x3ea923];}[_0x5565f1(0x21e)](_0x124da8,_0x1fd51c,_0x24fd39,_0x790d71){const _0x38500a=_0x5565f1;this[_0x38500a(0x40d)][_0x124da8]=_0x1fd51c,_0x1fd51c[_0x38500a(0x389)](_0x24fd39),this[_0x38500a(0x260)]['broadcastCollectionChange']({'token':_0x124da8,'type':_0x37eb19['add'],'dataRangeInfo':_0x24fd39,'targetCellInfo':_0x790d71});}['handleMoveRange'](_0x2dce61,_0x16338b){const _0x5c4a38=_0x5565f1,_0x1ffe31=this[_0x5c4a38(0x312)](_0x2dce61),_0x2e51f6=_0x1ffe31[_0x5c4a38(0x35a)]();let _0x5d826d=0x0;for(const _0x58b124 of _0x2e51f6){const _0x1c9899=_0x1ffe31['getFieldById'](_0x58b124),_0xb01021=this[_0x5c4a38(0x2a4)](_0x16338b,_0x5d826d);this[_0x5c4a38(0x11f)](_0x1c9899[_0x5c4a38(0x36b)],_0xb01021),_0x5d826d++;}}[_0x5565f1(0x371)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x5565f1(0x1c6)](_0x2e2f46,_0x48d5dd){const _0x5ce6f3=_0x5565f1;if(this[_0x5ce6f3(0x312)](_0x2e2f46)){const _0x5787a3=this['getRangeKeyList'](_0x48d5dd),_0x541dcc=[];for(const _0xb9eef7 of _0x5787a3)this[_0x5ce6f3(0x295)][_0xb9eef7]!==void 0x0&&_0x541dcc['push'](this['rangeKeyMap'][_0xb9eef7]);const _0x363e18=this[_0x5ce6f3(0x405)](_0x2e2f46),_0x5eaced=[],_0x3c77bf=new Set(_0x541dcc);for(const _0x3ffc9a of _0x363e18)_0x3c77bf['has'](_0x3ffc9a)||_0x5eaced[_0x5ce6f3(0x254)](_0x3ffc9a);return _0x5eaced;}}[_0x5565f1(0x419)](_0x46ef65,_0x1ec0a8,_0x292fa2,_0x2c2a20,_0x191fcc){const _0x4aef4b=_0x5565f1;return _0x1ec0a8&&_0x1ec0a8[_0x4aef4b(0x1b6)](_0x2c2a20,_0x191fcc)?_0x1ec0a8[_0x4aef4b(0x1b6)](_0x2c2a20,_0x191fcc):_0x292fa2&&_0x292fa2[_0x4aef4b(0x1b6)](_0x2c2a20,_0x191fcc)?_0x292fa2[_0x4aef4b(0x1b6)](_0x2c2a20,_0x191fcc):_0x46ef65['getValue'](_0x2c2a20,_0x191fcc);}[_0x5565f1(0x3d2)](_0x4a8ce2,_0x4b1e43,_0x565c12,_0x5373b8){const _0x3e979a=_0x5565f1,_0x43d13e=this[_0x3e979a(0x37c)][_0x4a8ce2];if(!_0x43d13e)return;const {subUnitId:_0x158349,range:_0x4faaaf,unitId:_0x5766e9}=_0x4b1e43,_0x50b439=this[_0x3e979a(0x23b)][_0x3e979a(0x3c5)](_0x5766e9);if(!_0x50b439){console['error']('workbook\x20is\x20not\x20found');return;}const _0x2a8802=_0x50b439[_0x3e979a(0x222)](_0x158349),_0x2eb841=_0x2a8802[_0x3e979a(0x22d)](),{arrayFormulaCellDataMatrix:_0x158ed2,unitDataMatrix:_0xb4b163}=_0x5373b8||{},{startRow:_0x2df9d7,startColumn:_0x58f440,endRow:_0x139352}=this['getRangeStartEndInfo'](_0x4faaaf,_0x2a8802);_0x43d13e['reset']();const _0x27aeb2=_0x50b439[_0x3e979a(0x2dd)](),_0x3ff5b6={},_0x592851=this[_0x3e979a(0x419)](_0x2eb841,_0x158ed2,_0xb4b163,_0x2df9d7,_0x58f440+_0x565c12);let _0x3566aa=this[_0x3e979a(0x2bd)](_0x592851,_0x27aeb2,_0x3ff5b6);_0x16b0d8[_0x3e979a(0x37d)](_0x3566aa)&&(_0x3566aa=_0x49f92f[_0x3e979a(0x115)][_0x3e979a(0x40c)](_0x3566aa['f'],Number(_0x3566aa['v'])));const _0x589164=this[_0x3e979a(0x146)](_0x3566aa,_0x58f440+_0x565c12);_0x43d13e[_0x3e979a(0x272)](_0x589164);for(let _0x128d9b=_0x2df9d7+0x1;_0x128d9b<=_0x139352;_0x128d9b++){const _0xec5744=this[_0x3e979a(0x419)](_0x2eb841,_0x158ed2,_0xb4b163,_0x128d9b,_0x58f440+_0x565c12);_0x43d13e[_0x3e979a(0x2cd)](this[_0x3e979a(0x2bd)](_0xec5744,_0x27aeb2,_0x3ff5b6),_0x128d9b-0x1-_0x2df9d7);}}['refreshData'](_0x1650fa,_0x54898c,_0x6f7bd7){const _0x4e976a=_0x5565f1,{subUnitId:_0x2de599,range:_0x1f60c6,unitId:_0x5985be}=_0x6f7bd7,_0x59ff7e=this[_0x4e976a(0x23b)][_0x4e976a(0x3c5)](_0x5985be);if(!_0x59ff7e){console[_0x4e976a(0x328)](_0x4e976a(0x157));return;}const _0x492cbd=_0x59ff7e[_0x4e976a(0x222)](_0x2de599),_0x4663ba=_0x492cbd[_0x4e976a(0x22d)](),{startRow:_0x3dafce,startColumn:_0x10e0c5,endRow:_0x2a0e71}=this[_0x4e976a(0x3a0)](_0x1f60c6,_0x492cbd),_0x4743db=_0x59ff7e[_0x4e976a(0x2dd)](),_0x59f096={};for(const {dataField:_0x188ad1,index:_0x1e5aa2}of _0x54898c){_0x188ad1[_0x4e976a(0x3ee)]();const _0x53e62c=this[_0x4e976a(0x419)](_0x4663ba,void 0x0,void 0x0,_0x3dafce,_0x10e0c5+_0x1e5aa2);let _0x4b2bd6=this[_0x4e976a(0x2bd)](_0x53e62c,_0x4743db,_0x59f096);_0x16b0d8['isDateValue'](_0x4b2bd6)&&(_0x4b2bd6=_0x49f92f[_0x4e976a(0x115)][_0x4e976a(0x40c)](_0x4b2bd6['f'],Number(_0x4b2bd6['v'])));const _0x1eedab=this['uniqueDataFieldName'](_0x4b2bd6,_0x10e0c5+_0x1e5aa2);_0x188ad1[_0x4e976a(0x272)](_0x1eedab);}_0x1650fa[_0x4e976a(0x20c)]();for(let _0x54b8d8=_0x3dafce+0x1;_0x54b8d8<=_0x2a0e71;_0x54b8d8++)for(const {index:_0x3cb226,dataField:_0xf52fd4}of _0x54898c){const _0x1286b7=_0x4663ba[_0x4e976a(0x1b6)](_0x54b8d8,_0x10e0c5+_0x3cb226);_0xf52fd4[_0x4e976a(0x2cd)](this[_0x4e976a(0x2bd)](_0x1286b7,_0x4743db,_0x59f096),_0x54b8d8-0x1-_0x3dafce);}_0x1650fa[_0x4e976a(0x14c)](_0x2a0e71-_0x3dafce);}[_0x5565f1(0x212)](_0x13c305){const _0x5c7470=_0x5565f1,{range:_0x32dca1}=_0x13c305,{startColumn:_0x2a5b03,endColumn:_0x22fd53}=_0x32dca1,_0x32583f=[];for(let _0x3c84fa=_0x2a5b03;_0x3c84fa<=_0x22fd53;_0x3c84fa++)_0x32583f[_0x5c7470(0x254)](this['getRangeKey'](_0x13c305,_0x3c84fa));return _0x32583f;}[_0x5565f1(0x2bd)](_0x10f0ed,_0x18f5e8,_0x15ed5f){const _0x6cfa6e=_0x5565f1;if(_0x10f0ed){const {s:_0x3269d4,v:_0x385675,t:_0x3b535e,p:_0x39c249}=_0x10f0ed;if(_0x39c249)return _0x37fcf3(_0x39c249);const _0xb3d1ac=_0x18f5e8[_0x6cfa6e(0x326)](_0x3269d4);if(_0xb3d1ac&&_0x3b535e===_0x49f92f[_0x6cfa6e(0x183)][_0x6cfa6e(0x372)]&&_0xb3d1ac['n']){const {pattern:_0x54eef2}=_0xb3d1ac['n'];_0x15ed5f[_0x54eef2]||(_0x15ed5f[_0x54eef2]=_0x49f92f[_0x6cfa6e(0x115)][_0x6cfa6e(0x2a9)](_0x54eef2));const _0x1ada54=_0x15ed5f[_0x54eef2],_0x13f5fc=_0x1ada54['isDate'];if(_0x1ada54[_0x6cfa6e(0x424)])return String(_0x385675);if(_0x13f5fc)return{'v':_0x385675,'f':_0x54eef2};}if(_0x3b535e===_0x49f92f[_0x6cfa6e(0x183)][_0x6cfa6e(0x372)])return Number(_0x385675);if(_0x3b535e===_0x49f92f[_0x6cfa6e(0x183)][_0x6cfa6e(0x3ca)]||_0x3b535e===_0x49f92f[_0x6cfa6e(0x183)][_0x6cfa6e(0x395)])return String(_0x385675);if(_0x3b535e===void 0x0){const _0x16b482=Number(_0x385675);if(!Number['isNaN'](_0x16b482)&&String(_0x16b482)===_0x385675)return _0x16b482;}return _0x385675!=null?_0x385675:null;}else return null;}[_0x5565f1(0x435)](_0x479d38){const _0x4213d3=_0x5565f1,{sheetName:_0x5bf06d,range:_0x4cf611,unitId:_0x1b6943}=_0x479d38,_0x4ab76e=this[_0x4213d3(0x23b)]['getUnit'](_0x1b6943);if(!_0x4ab76e)return console[_0x4213d3(0x328)](_0x4213d3(0x157)),{'header':[],'data':[]};const _0x569d27=_0x4ab76e[_0x4213d3(0x1d9)](_0x5bf06d),_0xc81ceb=_0x569d27[_0x4213d3(0x22d)](),{startRow:_0x4bc9e3,startColumn:_0x5d77d1,endRow:_0x28269d,endColumn:_0x3d5ae7}=this[_0x4213d3(0x3a0)](_0x4cf611,_0x569d27),_0x380a13=_0x4ab76e[_0x4213d3(0x2dd)](),_0x3f79fe=[],_0x12acc9=[],_0x35a4e6={};for(let _0xe09cc7=_0x4bc9e3;_0xe09cc7<=_0x28269d;_0xe09cc7++){const _0x3052e8=[];for(let _0x1f320c=_0x5d77d1;_0x1f320c<=_0x3d5ae7;_0x1f320c++){const _0x575521=_0xc81ceb['getValue'](_0xe09cc7,_0x1f320c);_0xe09cc7===_0x4bc9e3?_0x3f79fe[_0x4213d3(0x254)](_0x575521==null?null:String(_0x575521['v'])):_0x3052e8['push'](this[_0x4213d3(0x2bd)](_0x575521,_0x380a13,_0x35a4e6));}_0x12acc9[_0x4213d3(0x254)](_0x3052e8);}return{'header':_0x3f79fe,'data':_0x12acc9};}[_0x5565f1(0x1d4)](){const _0x174196=_0x5565f1;return super[_0x174196(0x1d4)]();}[_0x5565f1(0x401)](_0x460360){const _0x37a0a8=_0x5565f1;super[_0x37a0a8(0x401)](_0x460360),this[_0x37a0a8(0x375)]();}[_0x5565f1(0x355)](){const _0x50a280=_0x5565f1;super[_0x50a280(0x355)](),this[_0x50a280(0x295)]={},this['_host']=null;}}const _0x233bc8=_0x4df635=>{const _0x34767b=_0x5565f1,{targetCellInfo:_0x439c40}=_0x4df635,{matrixCache:_0x2466bd,rangesCache:_0xdf6669}=_0x115cc1({'filter':_0x34767b(0x34a),'row':'Row','column':_0x34767b(0x28b),'values':_0x34767b(0x221)},_0x439c40),_0x38a916=new _0x49f92f['ObjectMatrix']();return _0x2466bd[_0x34767b(0x3e5)]((_0xda7b41,_0x3fc9b6,_0x3dde28)=>{_0x38a916['setValue'](_0xda7b41,_0x3fc9b6,_0x3dde28);}),{'matrix':_0x38a916,'rangesCache':_0xdf6669};},_0x65e555=_0x2e99da=>{const _0x5ec055=_0x5565f1;let _0xc07e98;if(_0x2e99da!=null&&_0x2e99da['v']||(_0x2e99da==null?void 0x0:_0x2e99da['v'])===0x0){_0xc07e98||(_0xc07e98={});const _0x552952=_0x266eeb(_0x2e99da['v']);typeof _0x552952==_0x5ec055(0x394)?_0xc07e98['t']=_0x49f92f['CellValueType'][_0x5ec055(0x372)]:typeof _0x552952==_0x5ec055(0x2fa)&&(_0xc07e98['t']=_0x49f92f[_0x5ec055(0x183)][_0x5ec055(0x3ca)]),_0xc07e98['v']=_0x552952;}return _0xc07e98;},_0x45059f=(_0x443c80,_0x5735e4,_0x523b7d)=>{const _0x575bf2=_0x5565f1;var _0x3329c0,_0x38d64d,_0x1141d7,_0x478dfd,_0x29286b,_0x452cdd,_0x63ad40,_0x1ae771,_0x1314c5,_0x16ddb0,_0x2f9b7a,_0x7a5104;const {cornerView:_0x3ca7fd,rowView:_0x500600,colView:_0x4da9cd,dataView:_0x2452a9,pageView:_0x275bc5,formatMap:_0x1aa1e0}=_0x443c80,{row:_0x6cf229,col:_0x53345d}=_0x5735e4,_0x5dc1e2=new _0x49f92f['ObjectMatrix']();let _0x59758b=_0x6cf229,_0x410130=_0x53345d;Object[_0x575bf2(0x37a)](_0x275bc5[_0x575bf2(0x2c1)])[_0x575bf2(0x350)](_0x5d5668=>{const _0x511e47=_0x575bf2;Object[_0x511e47(0x37a)](_0x275bc5[_0x511e47(0x2c1)][Number(_0x5d5668)])[_0x511e47(0x350)](_0x5cdae9=>{const _0x295279=_0x511e47,_0x19457f={..._0x275bc5[_0x295279(0x2c1)][Number(_0x5d5668)][Number(_0x5cdae9)]};_0x5dc1e2['setValue'](Number(_0x5d5668)+_0x59758b,Number(_0x5cdae9)+_0x410130,_0x65e555(_0x19457f));});});const _0x412990=Object[_0x575bf2(0x37a)](_0x275bc5['data'])[_0x575bf2(0x37f)];_0x59758b+=_0x412990+(_0x412990?_0x29054f:0x0);const _0x299448=_0x3ca7fd['getRowCount'](),_0x378a98=_0x3ca7fd[_0x575bf2(0x2c0)]();for(let _0x2f5d3d=0x0;_0x2f5d3d<_0x299448;_0x2f5d3d++)for(let _0x4f81be=0x0;_0x4f81be<_0x378a98;_0x4f81be++){const _0x376e41={...(_0x38d64d=(_0x3329c0=_0x3ca7fd[_0x575bf2(0x2c1)])==null?void 0x0:_0x3329c0[_0x2f5d3d])==null?void 0x0:_0x38d64d[_0x4f81be]};_0x376e41&&((_0x1141d7=_0x500600[_0x575bf2(0x2cc)][_0x4f81be])!=null&&_0x1141d7[_0x575bf2(0x17d)])&&_0x4f81be===_0x378a98-0x1&&_0x2f5d3d===_0x299448-0x1&&(_0x376e41['v']=''+_0x523b7d[_0x575bf2(0x31c)]),_0x5dc1e2[_0x575bf2(0x3c9)](_0x2f5d3d+_0x59758b,_0x4f81be+_0x410130,_0x65e555(_0x376e41));}_0x410130+=_0x378a98;const _0x178ff3=_0x4da9cd[_0x575bf2(0x2cc)],_0x589040=_0x4da9cd[_0x575bf2(0x1ef)]()>=0x0?_0x4da9cd[_0x575bf2(0x1ef)]()+0x1:0x0,_0x301c5d=_0x4da9cd[_0x575bf2(0x1f8)]()>=0x0?_0x4da9cd[_0x575bf2(0x1f8)]()+0x1:0x0;for(let _0x473b9d=0x0;_0x473b9d<_0x301c5d;_0x473b9d++)for(let _0x24e92c=0x0;_0x24e92c<_0x589040;_0x24e92c++){const _0x3e81c1={...(_0x29286b=(_0x478dfd=_0x4da9cd[_0x575bf2(0x2c1)])==null?void 0x0:_0x478dfd[_0x473b9d])==null?void 0x0:_0x29286b[_0x24e92c]},_0x2ce32f=(_0x452cdd=_0x178ff3[_0x473b9d])==null?void 0x0:_0x452cdd[_0x575bf2(0x292)],_0x57eb8d=_0x1aa1e0[_0x2ce32f];_0x3e81c1&&(_0x3e81c1['v']=_0xb1d466(_0x3e81c1,_0x473b9d===0x0&&((_0x63ad40=_0x4da9cd[_0x575bf2(0x365)](_0x24e92c+0x1))==null?void 0x0:_0x63ad40[_0x575bf2(0x17d)]),_0x57eb8d,_0x523b7d)),_0x5dc1e2[_0x575bf2(0x3c9)](_0x473b9d+_0x59758b,_0x24e92c+_0x410130,_0x65e555(_0x3e81c1));}_0x59758b+=_0x299448;const _0x534f97=_0x500600[_0x575bf2(0x2cc)],_0x297691=_0x500600[_0x575bf2(0x1ef)]()>=0x0?_0x500600[_0x575bf2(0x1ef)]()+0x1:0x0,_0x266710=_0x500600[_0x575bf2(0x1f8)]()>=0x0?_0x500600[_0x575bf2(0x1f8)]()+0x1:0x0;for(let _0x3b6b23=0x0;_0x3b6b23<_0x297691;_0x3b6b23++)for(let _0x332a30=0x0;_0x332a30<_0x266710;_0x332a30++){const _0x18031a={...(_0x1314c5=(_0x1ae771=_0x500600['data'])==null?void 0x0:_0x1ae771[_0x3b6b23])==null?void 0x0:_0x1314c5[_0x332a30]},_0x3526db=(_0x16ddb0=_0x534f97[_0x332a30])==null?void 0x0:_0x16ddb0[_0x575bf2(0x292)],_0x567cb8=_0x1aa1e0[_0x3526db];_0x18031a&&(_0x18031a['v']=_0xb1d466(_0x18031a,!0x1,_0x567cb8,_0x523b7d)),_0x5dc1e2['setValue'](_0x3b6b23+_0x59758b,_0x332a30+_0x53345d,_0x65e555(_0x18031a));}const _0x2f823c=_0x2452a9[_0x575bf2(0x2fb)](),_0x59faca=_0x2452a9[_0x575bf2(0x2c0)]();for(let _0x2795fa=0x0;_0x2795fa<_0x2f823c;_0x2795fa++)for(let _0xfc64f0=0x0;_0xfc64f0<_0x59faca;_0xfc64f0++){const _0xd6aef6={...(_0x7a5104=(_0x2f9b7a=_0x2452a9[_0x575bf2(0x2c1)])==null?void 0x0:_0x2f9b7a[_0x2795fa])==null?void 0x0:_0x7a5104[_0xfc64f0]};_0x5dc1e2['setValue'](_0x2795fa+_0x59758b,_0xfc64f0+_0x410130,_0x65e555(_0xd6aef6));}return _0x5dc1e2;},_0x1e201e=_0x494e8d=>{const _0x34a75b=_0x5565f1,{view:_0x43eb61,targetCellInfo:_0x5e1275,isEmpty:_0x2db2d8,textInfo:_0x505138}=_0x494e8d;if(_0x2db2d8)return _0x233bc8(_0x494e8d);const {pageView:_0x56e17a,cornerView:_0x50f165,rowView:_0x1b3b3c,colView:_0x5bf168,dataView:_0x4f163e}=_0x43eb61,_0x34b4cb=_0x290256(_0x5e1275,_0x56e17a,!0x0),_0x132f44=_0x56e17a['lastRow']>=0x0?_0x56e17a[_0x34a75b(0x204)]+0x1:0x0,_0x47e618=_0x50f165['getRowCount'](),_0x208708=_0x50f165[_0x34a75b(0x2c0)](),_0x2f76cd=_0x34b4cb['length']>0x0?_0x29054f:0x0,_0x5c4272=_0x290256({'row':_0x5e1275[_0x34a75b(0x1b1)]+_0x132f44+_0x2f76cd,'col':_0x5e1275[_0x34a75b(0x341)]},_0x50f165,!0x1,!0x1),_0x116619=_0x290256({'row':_0x5e1275[_0x34a75b(0x1b1)]+_0x132f44+_0x2f76cd+_0x47e618,'col':_0x5e1275[_0x34a75b(0x341)]},_0x1b3b3c,!0x1,!0x0),_0x3d254a=_0x290256({'row':_0x5e1275[_0x34a75b(0x1b1)]+_0x132f44+_0x2f76cd,'col':_0x5e1275[_0x34a75b(0x341)]+_0x208708},_0x5bf168,!0x1,!0x0),_0x43a12d=_0x290256({'row':_0x5e1275[_0x34a75b(0x1b1)]+_0x132f44+_0x2f76cd+_0x47e618,'col':_0x5e1275[_0x34a75b(0x341)]+_0x208708},_0x4f163e,!0x1,!0x1),_0x4e83e6={'rowRanges':_0x116619,'colRanges':_0x3d254a,'cornerRanges':_0x5c4272,'dataRanges':_0x43a12d,'pageRanges':_0x34b4cb};return{'matrix':_0x45059f(_0x43eb61,_0x5e1275,_0x505138),'rangesCache':_0x4e83e6};};var _0x87f14=Object[_0x5565f1(0x14a)],_0xd19d19=(_0x528bbd,_0x573749,_0x1ed172,_0x2fd7cd)=>{for(var _0x452b15=_0x2fd7cd>0x1?void 0x0:_0x2fd7cd?_0x87f14(_0x573749,_0x1ed172):_0x573749,_0x2ba0a6=_0x528bbd['length']-0x1,_0x227b49;_0x2ba0a6>=0x0;_0x2ba0a6--)(_0x227b49=_0x528bbd[_0x2ba0a6])&&(_0x452b15=_0x227b49(_0x452b15)||_0x452b15);return _0x452b15;},_0x5a6bb5=(_0x243519,_0x3a370f)=>(_0x50f332,_0x243de5)=>_0x3a370f(_0x50f332,_0x243de5,_0x243519);_0x47953f['SheetsPivotDataSourceModel']=class extends _0x49f92f[_0x5565f1(0x425)]{constructor(_0x2c5c5f,_0x5624dc,_0xb10f29,_0xddaf15,_0x1da146){const _0x4cfad7=_0x5565f1;super(),_0x246801(this,'_model',new Map()),_0x246801(this,_0x4cfad7(0x353),new Map()),_0x246801(this,_0x4cfad7(0x29a),new Map()),_0x246801(this,'_textInfo'),_0x246801(this,_0x4cfad7(0x31a),new _0x3818d9[(_0x4cfad7(0x11e))]()),_0x246801(this,_0x4cfad7(0x32e),this[_0x4cfad7(0x31a)][_0x4cfad7(0x2e8)]()),_0x246801(this,'_viewData$',new _0x3818d9[(_0x4cfad7(0x11e))]()),_0x246801(this,'viewData$',this['_viewData$'][_0x4cfad7(0x2e8)]()),_0x246801(this,_0x4cfad7(0x280),new _0x3818d9[(_0x4cfad7(0x11e))]()),_0x246801(this,_0x4cfad7(0x15c),this[_0x4cfad7(0x280)][_0x4cfad7(0x2e8)]()),_0x246801(this,'_dataFieldManagerCollection',new Map()),_0x246801(this,_0x4cfad7(0x1b8),[]),_0x246801(this,'_queryingMap',new Map()),(this[_0x4cfad7(0x27c)]=_0x2c5c5f,this['_univerInstanceService']=_0x5624dc,this[_0x4cfad7(0x3c6)]=_0xb10f29,this[_0x4cfad7(0x393)]=_0xddaf15,this[_0x4cfad7(0x135)]=_0x1da146,this[_0x4cfad7(0x263)]());}[_0x5565f1(0x191)](){const _0x4c4d07=_0x5565f1;return this[_0x4c4d07(0x30e)]?this[_0x4c4d07(0x30e)]:_0x8dba5;}[_0x5565f1(0x42b)](_0x2488d1){const _0x58f0fd=_0x5565f1;this[_0x58f0fd(0x30e)]=_0x2488d1;}[_0x5565f1(0x30f)](_0x5ecbed){const _0x20c0aa=_0x5565f1;var _0x414265;const {from:_0x1ad38c,to:_0x3b490c,unitId:_0x4c8d46,fromRange:_0x2b0ecd,toRange:_0x422b25}=_0x5ecbed;if(_0x1ad38c&&_0x3b490c){const _0xf3e7d8=this[_0x20c0aa(0x40e)](_0x4c8d46),_0x4736cd=this[_0x20c0aa(0x3aa)][_0x20c0aa(0x326)](_0x4c8d46),_0x441aa8=(_0x414265=this[_0x20c0aa(0x23b)]['getUnit'](_0x4c8d46))==null?void 0x0:_0x414265[_0x20c0aa(0x222)](_0x3b490c[_0x20c0aa(0x271)]);if(!_0x4736cd||!_0x441aa8)return;const _0x1dd496=_0x441aa8==null?void 0x0:_0x441aa8[_0x20c0aa(0x2f9)]();for(const [_0x405117,_0x126211]of _0x4736cd['entries']())for(const [_0x4fad57,_0x1d48de]of _0x126211[_0x20c0aa(0x15f)]()){const {sourceRangeInfo:_0x46fdd9}=_0x1d48de;if(_0x46fdd9['unitId']===_0x4c8d46&&_0x46fdd9[_0x20c0aa(0x271)]===_0x1ad38c['subUnitId']&&_0x49f92f[_0x20c0aa(0x23f)]['contains'](_0x2b0ecd,_0x46fdd9['range'])){const _0x20177d={'row':_0x46fdd9[_0x20c0aa(0x234)][_0x20c0aa(0x34c)]-_0x2b0ecd[_0x20c0aa(0x34c)],'col':_0x46fdd9['range'][_0x20c0aa(0x421)]-_0x2b0ecd[_0x20c0aa(0x421)]},_0x829058={'unitId':_0x4c8d46,'subUnitId':_0x3b490c[_0x20c0aa(0x271)],'sheetName':_0x1dd496,'range':{'startRow':_0x422b25['startRow']+_0x20177d[_0x20c0aa(0x1b1)],'endRow':_0x422b25[_0x20c0aa(0x34c)]+_0x20177d[_0x20c0aa(0x1b1)]+_0x46fdd9[_0x20c0aa(0x234)][_0x20c0aa(0x2b0)]-_0x46fdd9[_0x20c0aa(0x234)][_0x20c0aa(0x34c)],'startColumn':_0x422b25[_0x20c0aa(0x421)]+_0x20177d[_0x20c0aa(0x341)],'endColumn':_0x422b25['startColumn']+_0x20177d[_0x20c0aa(0x341)]+_0x46fdd9['range'][_0x20c0aa(0x39d)]-_0x46fdd9['range'][_0x20c0aa(0x421)]}};_0xf3e7d8[_0x20c0aa(0x30f)](_0x4fad57,_0x829058);const _0x1bfedd={..._0x1d48de,'sourceRangeInfo':_0x829058};this[_0x20c0aa(0x2ed)](_0x4c8d46,_0x3b490c[_0x20c0aa(0x271)],_0x4fad57,_0x1bfedd),this[_0x20c0aa(0x242)]({'unitId':_0x4c8d46,'token':_0x4fad57,'type':_0x37eb19[_0x20c0aa(0x1b5)],'oldSourceRangeInfo':_0x46fdd9,'dataRangeInfo':_0x829058,'targetCellInfo':_0x1d48de[_0x20c0aa(0x1d0)]}),this[_0x20c0aa(0x413)]({'unitId':_0x4c8d46,'subUnitId':_0x3b490c[_0x20c0aa(0x271)],'oldSubUnitId':_0x405117,'pivotTableId':_0x4fad57,'pivotTableConfig':_0x1bfedd,'collectionConfig':_0xf3e7d8[_0x20c0aa(0x1d4)]()});}}}}[_0x5565f1(0x242)](_0x3c4253){const _0x45e91e=_0x5565f1;this[_0x45e91e(0x31a)]['next'](_0x3c4253);}[_0x5565f1(0x40e)](_0x4445f6){const _0x4420b0=_0x5565f1;let _0x836010=this[_0x4420b0(0x257)][_0x4420b0(0x326)](_0x4445f6);return _0x836010||(_0x836010=new _0x47dfc5(this,this['_univerInstanceService']),this['_dataFieldManagerCollection'][_0x4420b0(0x246)](_0x4445f6,_0x836010)),_0x836010;}['getCollection'](_0x195f83,_0x498203){const _0x36756f=_0x5565f1;return this['getDataFieldManager'](_0x195f83)[_0x36756f(0x40d)][_0x498203];}[_0x5565f1(0x1c6)](_0xe4fdd0,_0x3552d1,_0x5b0702){const _0xc9b9a9=_0x5565f1;return this[_0xc9b9a9(0x40e)](_0xe4fdd0)[_0xc9b9a9(0x1c6)](_0x3552d1,_0x5b0702);}[_0x5565f1(0x3f5)](_0x4b0eab,_0x4f7308){const _0x40a84c=_0x5565f1;let _0x239389=this[_0x40a84c(0x3aa)][_0x40a84c(0x326)](_0x4b0eab);_0x239389||(_0x239389=new Map(),this[_0x40a84c(0x3aa)]['set'](_0x4b0eab,_0x239389));let _0x2bee0d=_0x239389[_0x40a84c(0x326)](_0x4f7308);return _0x2bee0d||(_0x2bee0d=new Map(),_0x239389[_0x40a84c(0x246)](_0x4f7308,_0x2bee0d)),_0x2bee0d;}[_0x5565f1(0x2ed)](_0x28d6c6,_0x36a63b,_0x5aa34a,_0x341174){const _0x40309a=_0x5565f1;this['_ensurePivotMap'](_0x28d6c6,_0x36a63b)[_0x40309a(0x246)](_0x5aa34a,_0x341174);}[_0x5565f1(0x11b)](_0x8882b3,_0x440253,_0x1607c2){const _0x239572=_0x5565f1;var _0x3c11da,_0x207cdd,_0x24efc8,_0x21883f;((_0x207cdd=(_0x3c11da=this[_0x239572(0x3aa)][_0x239572(0x326)](_0x8882b3))==null?void 0x0:_0x3c11da[_0x239572(0x326)](_0x440253))==null?void 0x0:_0x207cdd[_0x239572(0x326)](_0x1607c2))&&((_0x21883f=(_0x24efc8=this[_0x239572(0x3aa)]['get'](_0x8882b3))==null?void 0x0:_0x24efc8[_0x239572(0x326)](_0x440253))==null||_0x21883f['delete'](_0x1607c2));}['_updatePivotTableInstanceCache'](_0x1c5f09,_0xf0b940){const _0x41a784=_0x5565f1;this[_0x41a784(0x353)][_0x41a784(0x246)](_0x1c5f09,_0xf0b940);}[_0x5565f1(0x255)](_0x51e4e5){const _0x5085f3=_0x5565f1;this[_0x5085f3(0x353)][_0x5085f3(0x43d)](_0x51e4e5);}['_ensureViewDataMap'](_0x166cfd,_0x1faed1){const _0x476424=_0x5565f1;let _0x2fcf41=this['_viewData'][_0x476424(0x326)](_0x166cfd);_0x2fcf41||(_0x2fcf41=new Map(),this['_viewData'][_0x476424(0x246)](_0x166cfd,_0x2fcf41));let _0x179041=_0x2fcf41[_0x476424(0x326)](_0x1faed1);return _0x179041||(_0x179041=new Map(),_0x2fcf41[_0x476424(0x246)](_0x1faed1,_0x179041)),_0x179041;}[_0x5565f1(0x413)](_0x2359ed){const _0x3fe259=_0x5565f1,{unitId:_0x148587,subUnitId:_0x43be4d,pivotTableId:_0x7e8346,pivotTableConfig:_0x5932bf,collectionConfig:_0x1290d9}=_0x2359ed,_0x247654={'unitId':_0x148587,'subUnitId':_0x43be4d,'oldSubUnitId':_0x43be4d,'pivotTableId':_0x7e8346,'pivotTableConfig':_0x5932bf,'collectionConfig':_0x1290d9};this['_commandService'][_0x3fe259(0x41e)](_0x3bac17['id'],_0x247654,{'onlyLocal':!0x0});}[_0x5565f1(0x11a)](_0x5af633,_0x44b191,_0x53a45f,_0x209b55,_0x5a222f,_0x5a5497,_0x1569bb,_0x3863be=!0x1){const _0x328725=_0x5565f1;var _0x73583b;this[_0x328725(0x393)][_0x328725(0x41e)](_0xd023a5['id'],{'single':{'unitId':_0x5af633,'subUnitId':_0x44b191,'type':_0x53a45f,'pivotTableId':_0x209b55,'view':_0x5a222f,'pivotConfig':_0x5a5497},'collectionConfig':{[_0x5af633]:_0x1569bb}},{'onlyLocal':!0x0});const _0x3e7db7=!!((_0x73583b=this[_0x328725(0x233)](_0x209b55))!=null&&_0x73583b[_0x328725(0x27f)]()),_0x4c62ba=this[_0x328725(0x215)](_0x5af633,_0x44b191,_0x209b55);_0x4c62ba&&this[_0x328725(0x19a)]({'view':_0x5a222f,'pivotTableId':_0x209b55,'textInfo':this[_0x328725(0x191)](),'isEmpty':_0x3e7db7,'targetCellInfo':_0x4c62ba[_0x328725(0x1d0)]},_0x3863be);}[_0x5565f1(0x19a)](_0x5bdf59,_0x59c530){const _0x3cf6c0=_0x5565f1,{targetCellInfo:_0x158584,pivotTableId:_0x121c0d}=_0x5bdf59,{unitId:_0x1a233b,subUnitId:_0x545bbf}=_0x158584,_0xba2678=this[_0x3cf6c0(0x41f)](_0x1a233b,_0x545bbf),_0x45ef3d=_0xba2678['get'](_0x121c0d);let _0x2df037,_0x1d7e8b;_0x45ef3d&&(_0x2df037=_0x45ef3d['rangeCache'],_0x1d7e8b=_0x45ef3d['matrix']);const {rangesCache:_0x84f8ec,matrix:_0x3992cd}=_0x1e201e(_0x5bdf59);_0xba2678['set'](_0x121c0d,{'rangeCache':_0x84f8ec,'matrix':_0x3992cd,'oldMatrix':_0x1d7e8b,'oldRangeCache':_0x2df037}),_0x59c530||this[_0x3cf6c0(0x318)][_0x3cf6c0(0x409)]({'unitId':_0x1a233b,'subUnitId':_0x545bbf,'pivotTableId':_0x121c0d});}[_0x5565f1(0x32f)](_0x1c36d2,_0x25a381,_0x3b54f9,_0x44e964,_0x4c512e){const _0x4598bc=_0x5565f1;this[_0x4598bc(0x2ed)](_0x1c36d2,_0x25a381,_0x3b54f9,_0x4c512e),this[_0x4598bc(0x1f9)](_0x3b54f9,_0x44e964);}['removePivotTable'](_0x38bf37,_0x412150,_0x9f7a17){const _0x2a8aa1=_0x5565f1,_0x204bf0=this[_0x2a8aa1(0x40e)](_0x38bf37);_0x204bf0['getNoUsedDataFieldIds'](_0x9f7a17)['forEach'](_0x8f04b=>{const _0x45e902=_0x2a8aa1;_0x204bf0[_0x45e902(0x178)](_0x8f04b);}),this['removeCollections'](_0x38bf37,_0x9f7a17),this['_deleteModelCache'](_0x38bf37,_0x412150,_0x9f7a17),this[_0x2a8aa1(0x255)](_0x9f7a17);}[_0x5565f1(0x190)](_0x557a64,_0x3f29e9,_0x1becad,_0x13418d){const _0x2f05cf=_0x5565f1;this[_0x2f05cf(0x2ed)](_0x557a64,_0x3f29e9,_0x1becad,_0x13418d);}[_0x5565f1(0x215)](_0x134ef9,_0xcc95c0,_0x1bfd3a){const _0x16cf39=_0x5565f1;var _0x337014,_0xcda62a;const _0x33d38a=(_0xcda62a=(_0x337014=this[_0x16cf39(0x3aa)]['get'](_0x134ef9))==null?void 0x0:_0x337014[_0x16cf39(0x326)](_0xcc95c0))==null?void 0x0:_0xcda62a[_0x16cf39(0x326)](_0x1bfd3a);if(_0x33d38a)return _0x33d38a;}[_0x5565f1(0x3de)](_0x1476be,_0x642066,_0x497a7c){const _0xa997=_0x5565f1;var _0x58ce37,_0x49de8b;const _0x3c2dee=(_0x49de8b=(_0x58ce37=this[_0xa997(0x3aa)]['get'](_0x1476be))==null?void 0x0:_0x58ce37[_0xa997(0x326)](_0x642066))==null?void 0x0:_0x49de8b[_0xa997(0x326)](_0x497a7c);if(_0x3c2dee)return _0x3c2dee['fieldsConfig'];}[_0x5565f1(0x233)](_0x2eefdc){const _0x2fdf78=_0x5565f1;return this[_0x2fdf78(0x353)]['get'](_0x2eefdc);}['deleteUnitId'](_0x589ca5){const _0x34075c=_0x5565f1;this[_0x34075c(0x3aa)]['delete'](_0x589ca5);const _0x31c329=this[_0x34075c(0x257)][_0x34075c(0x326)](_0x589ca5);_0x31c329&&(_0x31c329[_0x34075c(0x355)](),this['_dataFieldManagerCollection'][_0x34075c(0x43d)](_0x589ca5)),this['_viewData'][_0x34075c(0x43d)](_0x589ca5),this['needSameDeleteModel'][_0x34075c(0x350)](_0x30ee95=>{const _0x5e4eea=_0x34075c;_0x30ee95[_0x5e4eea(0x300)](_0x589ca5);});}[_0x5565f1(0x3cf)](_0x11d574,_0x44d435,_0x2a6122,_0x316566){const _0x4f3d45=_0x5565f1;return this[_0x4f3d45(0x40e)](_0x2a6122['unitId'])['addCollectionByJSON'](_0x11d574,_0x44d435,_0x2a6122,_0x316566);}[_0x5565f1(0x3e4)](_0x4dc898){const _0x3b2321=_0x5565f1;return this[_0x3b2321(0x40e)](_0x4dc898[_0x3b2321(0x32c)])[_0x3b2321(0x3e4)](_0x4dc898);}[_0x5565f1(0x1f7)](_0x4e4a68,_0x220aff,_0x2bd28f){const _0x31dae8=_0x5565f1;this['getDataFieldManager'](_0x2bd28f[_0x31dae8(0x32c)])[_0x31dae8(0x1f7)](_0x4e4a68,_0x220aff,_0x2bd28f);}['removeDataField'](_0x46ec94,_0x171d11){const _0x5b5201=_0x5565f1;this['getDataFieldManager'](_0x46ec94)[_0x5b5201(0x178)](_0x171d11);}[_0x5565f1(0x226)](_0x22e1df,_0x529050){const _0xa6ff86=_0x5565f1;this[_0xa6ff86(0x40e)](_0x22e1df)[_0xa6ff86(0x156)](_0x529050);}[_0x5565f1(0x1dd)](_0x525bcf,_0x614181){const _0x5cc5a5=_0x5565f1;var _0x5a4807;return(_0x5a4807=this[_0x5cc5a5(0x3aa)][_0x5cc5a5(0x326)](_0x525bcf))==null?void 0x0:_0x5a4807['get'](_0x614181);}[_0x5565f1(0x442)](_0x78cafc){const _0x1e7a67=_0x5565f1;for(const [_0x4a8972,_0x41a8ae]of this[_0x1e7a67(0x3aa)][_0x1e7a67(0x15f)]())for(const [_0x250732,_0x3cd209]of _0x41a8ae['entries']())if(_0x3cd209[_0x1e7a67(0x189)](_0x78cafc))return{'unitId':_0x4a8972,'subUnitId':_0x250732};return null;}[_0x5565f1(0x187)](_0x47e4a9,_0x53e1be,_0x25911e,_0x293aa3){const _0x2f1ce7=_0x5565f1,_0x478fd6=this[_0x2f1ce7(0x41f)](_0x47e4a9,_0x53e1be);_0x293aa3?_0x478fd6['set'](_0x25911e,_0x293aa3):_0x478fd6[_0x2f1ce7(0x43d)](_0x25911e),this[_0x2f1ce7(0x318)]['next']({'unitId':_0x47e4a9,'subUnitId':_0x53e1be,'pivotTableId':_0x25911e});}[_0x5565f1(0x355)](){super['dispose']();}['getViewData'](_0xe3e0c7,_0x2dbbac,_0x5503f9){const _0x5625e1=_0x5565f1;var _0x595dfb,_0x5bb998;const _0x1e6429=(_0x5bb998=(_0x595dfb=this[_0x5625e1(0x29a)][_0x5625e1(0x326)](_0xe3e0c7))==null?void 0x0:_0x595dfb[_0x5625e1(0x326)](_0x2dbbac))==null?void 0x0:_0x5bb998[_0x5625e1(0x326)](_0x5503f9);return _0x1e6429||null;}['addDirtyPivotTable'](_0x2f038e){const _0x2b5a29=_0x5565f1;this[_0x2b5a29(0x14f)](_0x2f038e);}[_0x5565f1(0x14f)](_0x4ca21c){const _0x4eb6e9=_0x5565f1,{token:_0x55d3a7,unitId:_0x5b2f06,subUnitId:_0x7c53bf}=_0x4ca21c,_0x236135=_0x5b2f06+'-'+_0x7c53bf+'-'+_0x55d3a7;this[_0x4eb6e9(0x173)][_0x4eb6e9(0x326)](_0x236135)&&clearTimeout(this[_0x4eb6e9(0x173)][_0x4eb6e9(0x326)](_0x236135));const _0x405c85=setTimeout(()=>{const _0x555bc4=_0x4eb6e9;this[_0x555bc4(0x391)](_0x4ca21c),this[_0x555bc4(0x173)][_0x555bc4(0x43d)](_0x236135);},_0x576efe);this[_0x4eb6e9(0x173)]['set'](_0x236135,_0x405c85);}['queryDirtyPivotTable'](_0x594a27){const _0x2e1a12=_0x5565f1,{unitId:_0x5e301e,subUnitId:_0x4ae014,token:_0x3f0f63,type:_0x386b2b,pivotConfig:_0x393588}=_0x594a27,_0x26c0fc=this[_0x2e1a12(0x233)](_0x3f0f63),_0x4a1bc1=_0x26c0fc==null?void 0x0:_0x26c0fc['query'](),_0x33149f=_0x393588!=null?_0x393588:this[_0x2e1a12(0x215)](_0x5e301e,_0x4ae014,_0x3f0f63);_0x33149f&&(_0x33149f[_0x2e1a12(0x27f)]=!!(_0x26c0fc!=null&&_0x26c0fc[_0x2e1a12(0x27f)]())),(_0x4a1bc1||_0x386b2b===_0x1e0edb[_0x2e1a12(0x287)])&&this['updateView'](_0x5e301e,_0x4ae014,_0x386b2b,_0x3f0f63,_0x4a1bc1,_0x33149f,this[_0x2e1a12(0x40e)](_0x5e301e)['toJSON']());}[_0x5565f1(0x1d4)](_0x179efb){const _0x1f91a4=_0x5565f1,_0x387c52={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x179efb)&&(_0x387c52[_0x1f91a4(0x214)][_0x179efb]=this[_0x1f91a4(0x40e)](_0x179efb)[_0x1f91a4(0x1d4)]()),this[_0x1f91a4(0x3aa)][_0x1f91a4(0x326)](_0x179efb)){_0x387c52['pivotTableConfigs'][_0x179efb]={};const _0x29e932=this[_0x1f91a4(0x3aa)][_0x1f91a4(0x326)](_0x179efb);_0x29e932!=null&&_0x29e932[_0x1f91a4(0x422)]&&[..._0x29e932[_0x1f91a4(0x37a)]()]['forEach'](_0x1ca9e4=>{const _0x34a41b=_0x1f91a4,_0x35ea7f=_0x29e932[_0x34a41b(0x326)](_0x1ca9e4);_0x35ea7f!=null&&_0x35ea7f['size']&&(_0x387c52[_0x34a41b(0x3e0)][_0x179efb][_0x1ca9e4]={},[..._0x35ea7f[_0x34a41b(0x37a)]()][_0x34a41b(0x350)](_0x1dd9a4=>{const _0xdf9791=_0x34a41b,_0x4093e2=_0x35ea7f['get'](_0x1dd9a4);_0x4093e2&&(_0x387c52[_0xdf9791(0x3e0)][_0x179efb][_0x1ca9e4][_0x1dd9a4]=_0x4093e2);}));});}return _0x387c52;}[_0x5565f1(0x401)](_0x91e47f){const _0x214b3c=_0x5565f1;var _0x5633b9;const {dataFieldManagerConfig:_0x50ad51,pivotTableConfigs:_0x42f7ed}=_0x91e47f;_0x50ad51&&Object[_0x214b3c(0x37a)](_0x50ad51)[_0x214b3c(0x350)](_0x3d9c3c=>{const _0xe9d55d=_0x214b3c;this['getDataFieldManager'](_0x3d9c3c)[_0xe9d55d(0x401)](_0x50ad51[_0x3d9c3c]);});const _0x31ce6b=[];if(_0x42f7ed){const _0x36d976=(_0x5633b9=this[_0x214b3c(0x27c)][_0x214b3c(0x326)](_0x49f92f[_0x214b3c(0x404)])['getConfig'](_0x3e3faf[_0x214b3c(0x1da)]))!=null?_0x5633b9:{},{ls:_0x16a20c,pbk:_0xda00bd}=_0x36d976,_0x13954b=_0x183df5(_0x5078db,_0x16a20c,_0xda00bd)[_0x214b3c(0x124)];Object[_0x214b3c(0x37a)](_0x42f7ed)[_0x214b3c(0x350)](_0x14e45f=>{const _0x5b7780=_0x214b3c;let _0x5c4ef7=0x0;const _0x5e0a26=_0x42f7ed[_0x14e45f];Object[_0x5b7780(0x37a)](_0x5e0a26)['forEach'](_0x680e71=>{const _0x56f2f2=_0x5b7780,_0x13bd67=_0x5e0a26[_0x680e71];Object[_0x56f2f2(0x37a)](_0x13bd67)[_0x56f2f2(0x350)](_0x15b8a1=>{const _0x3d339b=_0x56f2f2,_0x223e0d=_0x13bd67[_0x15b8a1];if(_0x223e0d){if(_0x5c4ef7>=_0x13954b)return;_0x5c4ef7++;const _0x560856=this[_0x3d339b(0x40e)](_0x14e45f),_0x374268=_0x560856['collections'][_0x15b8a1],_0x9a1c1c=_0x374268[_0x3d339b(0x35a)]();let _0x54dda0=0x0;const _0x1a0354=[];for(const _0x5c9d88 of _0x9a1c1c){const _0x9e5754=_0x374268[_0x3d339b(0x27e)](_0x5c9d88);if(_0x16b0d8[_0x3d339b(0x123)](_0x9e5754)){const _0x276854=_0x9e5754[_0x3d339b(0x2e2)](),_0x1c6156=_0x374268[_0x3d339b(0x27e)](_0x276854);_0x1c6156&&_0x1a0354[_0x3d339b(0x254)]([_0x9e5754,_0x1c6156]);continue;}_0x560856[_0x3d339b(0x3d2)](_0x5c9d88,_0x223e0d[_0x3d339b(0x2b1)],_0x54dda0),_0x54dda0++;}_0x1a0354[_0x3d339b(0x350)](([_0xda0a14,_0x4b9660])=>{const _0x2fb93c=_0x3d339b;_0xda0a14[_0x2fb93c(0x116)](_0x4b9660);});const _0x4e011a=new _0x16b0d8[(_0x3d339b(0x43c))](_0x374268);_0x4e011a[_0x3d339b(0x401)](_0x223e0d[_0x3d339b(0x1be)]),this[_0x3d339b(0x32f)](_0x14e45f,_0x680e71,_0x15b8a1,_0x4e011a,_0x223e0d);const _0x596009=_0x4e011a[_0x3d339b(0x3c2)]();_0x31ce6b['push']({'unitId':_0x14e45f,'subUnitId':_0x680e71,'pivotTableId':_0x15b8a1,'view':_0x596009[_0x3d339b(0x1d4)](),'pivotConfig':_0x223e0d,'type':_0x1e0edb[_0x3d339b(0x2d5)]});const _0x2b6b54=!!_0x4e011a['isEmpty'](),_0x1d6e9e={'view':_0x596009,'pivotTableId':_0x15b8a1,'textInfo':this[_0x3d339b(0x191)](),'isEmpty':_0x2b6b54,'targetCellInfo':_0x223e0d[_0x3d339b(0x1d0)]};this[_0x3d339b(0x19a)](_0x1d6e9e,!0x1);}});});});}_0x50ad51&&Object[_0x214b3c(0x37a)](_0x50ad51)['forEach'](_0x2a903e=>{const _0x35408c=_0x214b3c,_0x511504=this[_0x35408c(0x40e)](_0x2a903e);this[_0x35408c(0x280)][_0x35408c(0x409)](_0x511504['collections']);}),this['_commandService'][_0x214b3c(0x41e)](_0xd023a5['id'],{'batch':_0x31ce6b,'collectionConfig':_0x50ad51},{'onlyLocal':!0x0});}[_0x5565f1(0x263)](){const _0x41b36b=_0x5565f1;this['disposeWithMe'](this[_0x41b36b(0x135)][_0x41b36b(0x1e5)]({'toJson':_0x56af44=>JSON[_0x41b36b(0x362)](this[_0x41b36b(0x1d4)](_0x56af44)),'parseJson':_0x106aeb=>{const _0x53035f=_0x41b36b;if(!_0x106aeb)return{};try{return JSON[_0x53035f(0x3ac)](_0x106aeb);}catch{return{};}},'businesses':[_0x49f92f[_0x41b36b(0x1b7)][_0x41b36b(0x3da)]],'pluginName':_0x5eb740,'onLoad':(_0x1e54f7,_0x174c83)=>{const _0x2a143f=_0x41b36b;this[_0x2a143f(0x401)](_0x174c83);},'onUnLoad':_0x8f6ce4=>{const _0x1a723f=_0x41b36b;this[_0x1a723f(0x300)](_0x8f6ce4);}}));}},_0x47953f[_0x5565f1(0x120)]=_0xd19d19([_0x5a6bb5(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f['Injector'])),_0x5a6bb5(0x1,_0x49f92f[_0x5565f1(0x26f)]),_0x5a6bb5(0x2,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x15b)])),_0x5a6bb5(0x3,_0x49f92f[_0x5565f1(0x3fc)]),_0x5a6bb5(0x4,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x28a)]))],_0x47953f[_0x5565f1(0x120)]);const _0x2e1d4e={0x0:{0x0:{'v':_0x5565f1(0x209),'s':_0x42d7b5}},0x2:{0x1:{'v':'','s':_0x42d7b5},0x2:{'v':'','s':_0x42d7b5},0x3:{'v':_0x5565f1(0x1d7),'s':_0x42d7b5},0x4:{'v':'','s':_0x42d7b5},0x5:{'v':'','s':_0x42d7b5}},0x3:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0x4:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0x5:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0x6:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0x7:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0x8:{0x0:{'v':_0x5565f1(0x1b1),'s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':_0x5565f1(0x159),'s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0x9:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0xa:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0xb:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0xc:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}},0xd:{0x0:{'v':'','s':_0x42d7b5},0x1:{'v':'','s':_0x1ff51d},0x2:{'v':'','s':_0x1ff51d},0x3:{'v':'','s':_0x1ff51d},0x4:{'v':'','s':_0x1ff51d},0x5:{'v':'','s':_0x1ff51d}}},_0xebae6f={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},_0x115cc1=(_0x4164bc,_0x34551c)=>{const _0x47e2e6=_0x5565f1,_0x3b36c6=new _0x49f92f[(_0x47e2e6(0x38d))](),_0x41cd41=new _0x49f92f[(_0x47e2e6(0x38d))](_0x2e1d4e),{row:_0x184f3e,col:_0x12dab0}=_0x34551c;_0x41cd41['forValue']((_0x3e5827,_0x283e48,_0x56b435)=>{const _0x24f298=_0x47e2e6;let _0x62a3ba='';_0x56b435['v']==='filter'?_0x62a3ba=_0x4164bc[_0x24f298(0x209)]:_0x56b435['v']===_0x24f298(0x1b1)?_0x62a3ba=_0x4164bc['row']:_0x56b435['v']===_0x24f298(0x1d7)?_0x62a3ba=_0x4164bc[_0x24f298(0x1d7)]:_0x56b435['v']==='values'&&(_0x62a3ba=_0x4164bc[_0x24f298(0x159)]),_0x3b36c6[_0x24f298(0x3c9)](_0x3e5827+_0x184f3e,_0x283e48+_0x12dab0,{..._0x56b435,'v':_0x62a3ba});});const _0x3c5c5a=_0x49f92f[_0x47e2e6(0x2b5)][_0x47e2e6(0x1e3)](_0xebae6f);return Object[_0x47e2e6(0x37a)](_0xebae6f)[_0x47e2e6(0x350)](_0x38f548=>{const _0x383e2e=_0x47e2e6;_0x3c5c5a[_0x38f548]=_0xebae6f[_0x38f548][_0x383e2e(0x19f)](_0x46a219=>({..._0x46a219,'startRow':_0x46a219[_0x383e2e(0x34c)]+_0x184f3e,'endRow':_0x46a219['endRow']+_0x184f3e,'startColumn':_0x46a219['startColumn']+_0x12dab0,'endColumn':_0x46a219[_0x383e2e(0x39d)]+_0x12dab0}));}),{'matrixCache':_0x3b36c6,'rangesCache':_0x3c5c5a};};function _0x3c038e(_0x307f1e,_0x2c3b73){const _0x326c8c=_0x5565f1;let _0x49873f='';const _0x11d893=this[_0x326c8c(0x191)]();switch(_0x2c3b73){case _0x16b0d8[_0x326c8c(0x2de)][_0x326c8c(0x423)]:_0x49873f=_0x11d893[_0x326c8c(0x2d0)]+_0x307f1e;break;case _0x16b0d8[_0x326c8c(0x2de)][_0x326c8c(0x124)]:_0x49873f=_0x11d893[_0x326c8c(0x38f)]+_0x307f1e;break;case _0x16b0d8['PivotSubtotalTypeEnum'][_0x326c8c(0x25b)]:_0x49873f=_0x11d893[_0x326c8c(0x19c)]+_0x307f1e;break;case _0x16b0d8[_0x326c8c(0x2de)][_0x326c8c(0x3b0)]:_0x49873f=_0x11d893[_0x326c8c(0x23d)]+_0x307f1e;break;case _0x16b0d8[_0x326c8c(0x2de)]['min']:_0x49873f=_0x11d893['sheets-pivot.minName']+_0x307f1e;break;case _0x16b0d8['PivotSubtotalTypeEnum'][_0x326c8c(0x2ba)]:_0x49873f=_0x11d893[_0x326c8c(0x324)]+_0x307f1e;break;case _0x16b0d8['PivotSubtotalTypeEnum'][_0x326c8c(0x201)]:_0x49873f=_0x11d893['sheets-pivot.stdDevName']+_0x307f1e;break;case _0x16b0d8[_0x326c8c(0x2de)]['stdDevp']:_0x49873f=_0x11d893[_0x326c8c(0x25c)]+_0x307f1e;break;case _0x16b0d8[_0x326c8c(0x2de)][_0x326c8c(0x26b)]:_0x49873f=_0x11d893['sheets-pivot.sumName']+_0x307f1e;break;case _0x16b0d8[_0x326c8c(0x2de)][_0x326c8c(0x152)]:_0x49873f=_0x11d893[_0x326c8c(0x36e)]+_0x307f1e;break;case _0x16b0d8['PivotSubtotalTypeEnum']['varp']:_0x49873f=_0x11d893[_0x326c8c(0x27b)]+_0x307f1e;break;default:_0x49873f=_0x307f1e;break;}return _0x49873f;}function _0x40a48d(_0x2d296d,_0xb4927e,_0x13e4d1,_0x3e3fb6,_0x562dc4){const _0x33e2d0=_0x5565f1;var _0x578826,_0x214401,_0xf509b7,_0x4ca98c,_0x36e38e;const _0x58fa15=_0x49f92f[_0x33e2d0(0x42d)](_0x2d296d,_0xb4927e),{rangesInfo:_0x5e20b8,areaInfo:_0x5bfa13,headerMap:_0x4031ec}=_0x562dc4;if(!_0x5e20b8||!_0x5bfa13||!_0x4031ec)return;const _0x2eacde=Object['keys'](_0x5e20b8)[_0x33e2d0(0x34e)](_0x329485=>_0x5e20b8[_0x329485]['some'](_0x11900c=>_0x49f92f[_0x33e2d0(0x23f)][_0x33e2d0(0x3a6)](_0x11900c,_0x58fa15))),_0x18c95e=_0x5bfa13;let _0xe754f4,_0x15d966,_0x217b32;if(_0x2eacde==='rowRanges')_0xe754f4=(_0x578826=_0x18c95e==null?void 0x0:_0x18c95e['rowInfo'])==null?void 0x0:_0x578826[_0x2d296d],_0x15d966=(_0x214401=_0x4031ec==null?void 0x0:_0x4031ec[_0x33e2d0(0x3eb)])==null?void 0x0:_0x214401[_0xb4927e],_0x217b32=_0x15d966==null?void 0x0:_0x15d966[_0x33e2d0(0x292)];else{if(_0x2eacde===_0x33e2d0(0x170))_0xe754f4=(_0xf509b7=_0x18c95e==null?void 0x0:_0x18c95e[_0x33e2d0(0x126)])==null?void 0x0:_0xf509b7[_0xb4927e],_0x15d966=(_0x4ca98c=_0x4031ec[_0x33e2d0(0x20d)])==null?void 0x0:_0x4ca98c[_0x2d296d+0x1+_0xb4927e-_0x5e20b8[_0x33e2d0(0x170)][0x0][_0x33e2d0(0x421)]],_0x217b32=_0x15d966==null?void 0x0:_0x15d966['tableFieldId'];else{if(_0x2eacde===_0x33e2d0(0x2d2))_0xe754f4=(_0x36e38e=_0x18c95e==null?void 0x0:_0x18c95e[_0x33e2d0(0x35d)])==null?void 0x0:_0x36e38e[_0xb4927e],_0x217b32=_0xe754f4==null?void 0x0:_0xe754f4[_0x33e2d0(0x292)];else{if(_0x2eacde===_0x33e2d0(0x3d1)){const _0xfcb669=_0x13e4d1==null?void 0x0:_0x13e4d1['fi'];_0xfcb669!==void 0x0&&(_0x217b32=_0x3e3fb6[_0x33e2d0(0x19d)](_0xfcb669));}}}}return{'filterId':_0x217b32,'info':_0xe754f4,'data':_0x13e4d1,'headerInfo':_0x15d966};}function _0x493754(_0x4ab5d3,_0x3cffe7,_0x537f92){const _0x124abc=_0x5565f1,_0x3d7370=_0x4ab5d3['dataFieldsCollection'],_0x1e2c23=_0x3d7370[_0x124abc(0x35a)](),_0x44fe22=new Set();_0x4ab5d3[_0x124abc(0x2c9)](_0x55e400=>{const _0x4842e9=_0x124abc;_0x44fe22['add'](_0x55e400[_0x4842e9(0x33c)]);});const _0x79d85a=_0x1e2c23[_0x124abc(0x19f)](_0x5cc99f=>{const _0x1f740f=_0x124abc,_0xb1fc99=_0x3d7370[_0x1f740f(0x27e)](_0x5cc99f);return{'checked':_0x44fe22[_0x1f740f(0x189)](_0x5cc99f),'dataFieldId':_0xb1fc99['id'],'id':_0xb1fc99['id'],'name':_0x3d7370[_0x1f740f(0x20b)](_0xb1fc99['id']),'type':_0xb1fc99[_0x1f740f(0x3be)](),'pivotTableId':_0x3cffe7};}),_0x22c537=[];_0x4ab5d3[_0x124abc(0x380)](_0x16b0d8[_0x124abc(0x440)][_0x124abc(0x3b6)],_0x1832ee=>{const _0x118a24=_0x124abc;_0x22c537[_0x118a24(0x254)]({'dataFieldId':_0x1832ee[_0x118a24(0x33c)],'tableFieldId':_0x1832ee['getId'](),'displayName':_0x1832ee[_0x118a24(0x20b)]()});});const _0x5c0d40=[];_0x4ab5d3[_0x124abc(0x380)](_0x16b0d8[_0x124abc(0x440)][_0x124abc(0x28b)],_0x544bdc=>{const _0x3559e8=_0x124abc;_0x5c0d40[_0x3559e8(0x254)]({'dataFieldId':_0x544bdc[_0x3559e8(0x33c)],'tableFieldId':_0x544bdc['getId'](),'displayName':_0x544bdc['getDisplayName']()});});const _0x588cb4=[];if(_0x4ab5d3[_0x124abc(0x380)](_0x16b0d8[_0x124abc(0x440)][_0x124abc(0x359)],_0x3835ed=>{const _0x433a3f=_0x124abc;_0x588cb4['push']({'dataFieldId':_0x3835ed['dataFieldId'],'tableFieldId':_0x3835ed[_0x433a3f(0x428)](),'displayName':_0x3835ed['getDisplayName'](),'format':_0x3835ed['getFormat'](),'subTotalType':_0x3835ed[_0x433a3f(0x1d1)]()});}),_0x588cb4[_0x124abc(0x37f)]>0x1){const _0x989358=_0x4ab5d3['getValueIndex']();(_0x4ab5d3[_0x124abc(0x2e7)]()?_0x5c0d40:_0x22c537)[_0x124abc(0x3c4)](_0x989358,0x0,{'dataFieldId':'','tableFieldId':_0x124abc(0x16a),'displayName':_0x124abc(0x3f4)});}const _0x4d2385=[];_0x4ab5d3[_0x124abc(0x380)](_0x16b0d8[_0x124abc(0x440)][_0x124abc(0x34a)],_0x498c28=>{const _0x25d6f4=_0x124abc;_0x4d2385['push']({'dataFieldId':_0x498c28[_0x25d6f4(0x33c)],'tableFieldId':_0x498c28[_0x25d6f4(0x428)](),'displayName':_0x498c28['getDisplayName']()});});const _0x2f5fb6=_0x537f92[_0x124abc(0x2b1)];return{'sourceList':_0x79d85a,'sourceRange':_0x2f5fb6,'rowFields':_0x22c537,'columnFields':_0x5c0d40,'valueFields':_0x588cb4,'filterFields':_0x4d2385,'positionInfo':_0x537f92['targetCellInfo']};}function _0x159ebc(_0x4b11fa,_0x487c30,_0x37f737='',_0x5d5d22={}){const _0x379243=_0x5565f1,_0x1ac327=_0x4b11fa[_0x379243(0x326)](_0x49f92f[_0x379243(0x311)]);for(const _0x5d83de in _0x487c30)if(Object[_0x379243(0x2d6)][_0x379243(0x15a)][_0x379243(0x302)](_0x487c30,_0x5d83de)){const _0x431c1f=_0x37f737?_0x37f737+'.'+_0x5d83de:_0x5d83de;typeof _0x487c30[_0x5d83de]==_0x379243(0x412)&&_0x487c30[_0x5d83de]!==null&&!Array[_0x379243(0x133)](_0x487c30[_0x5d83de])?_0x159ebc(_0x4b11fa,_0x487c30[_0x5d83de],_0x431c1f,_0x5d5d22):_0x5d5d22[_0x431c1f]=_0x1ac327['t'](_0x431c1f);}return _0x5d5d22;}const _0x163af3=_0x190440=>{const _0x2447dc=_0x5565f1;if(!_0x190440)return[];const {rowRanges:_0x17d473,colRanges:_0x289e2a,cornerRanges:_0x4c6311,dataRanges:_0x46e5ef,pageRanges:_0x2e3589}=_0x190440,_0x401faf=[..._0x289e2a,..._0x17d473,..._0x46e5ef,..._0x4c6311]['filter'](_0x481500=>_0x481500['startRow']>=0x0&&_0x481500[_0x2447dc(0x421)]>=0x0&&_0x481500[_0x2447dc(0x2b0)]>=0x0&&_0x481500[_0x2447dc(0x39d)]>=0x0);let _0x2a45a5=Number['MAX_SAFE_INTEGER'],_0x3dbb1d=Number['MIN_SAFE_INTEGER'],_0x2bfb98=Number[_0x2447dc(0x1ff)],_0x1cb911=Number[_0x2447dc(0x333)];for(let _0x19fd82=0x0;_0x19fd82<_0x401faf['length'];_0x19fd82++)_0x2a45a5=Math[_0x2447dc(0x1fa)](_0x2a45a5,_0x401faf[_0x19fd82][_0x2447dc(0x34c)]),_0x3dbb1d=Math[_0x2447dc(0x3b0)](_0x3dbb1d,_0x401faf[_0x19fd82][_0x2447dc(0x2b0)]),_0x2bfb98=Math[_0x2447dc(0x1fa)](_0x2bfb98,_0x401faf[_0x19fd82][_0x2447dc(0x421)]),_0x1cb911=Math[_0x2447dc(0x3b0)](_0x1cb911,_0x401faf[_0x19fd82]['endColumn']);return[..._0x2e3589,{'startRow':_0x2a45a5,'endRow':_0x3dbb1d,'startColumn':_0x2bfb98,'endColumn':_0x1cb911}];};function _0x571aea(_0x20a296,_0x1fe0ab){const _0xfbcad1=_0x5565f1,_0x4e081f=_0x1fe0ab[_0xfbcad1(0x2c4)][_0xfbcad1(0x363)],{pivotTableId:_0x556b74,unitId:_0x542f79,subUnitId:_0x59cc71}=_0x1fe0ab;if(!_0x4e081f)return;const _0x10eb70=_0x20a296[_0xfbcad1(0x326)](_0x47953f[_0xfbcad1(0x120)]),_0x13e1df=_0x10eb70['getPivotTableInstance'](_0x556b74),_0x598f8e=_0x10eb70[_0xfbcad1(0x215)](_0x542f79,_0x59cc71,_0x556b74);if(!_0x13e1df||!_0x598f8e)return;const _0x336fda=_0x13e1df[_0xfbcad1(0x250)](_0x4e081f[_0xfbcad1(0x30d)]);if(!(_0x336fda!=null&&_0x336fda[_0xfbcad1(0x37f)]))return;const _0x1481e8=_0x598f8e[_0xfbcad1(0x2b1)],{unitId:_0x46cecf,subUnitId:_0x4e46dc,range:_0x323c2e}=_0x1481e8;let _0x2c22fc=0x0;const _0x2f3702=_0x13e1df[_0xfbcad1(0x2ec)][_0xfbcad1(0x35a)]()[_0xfbcad1(0x282)]((_0x4fae05,_0x5052b4)=>{const _0x493a82=_0xfbcad1;var _0xf8b3e3;const _0x8fcef4=(_0xf8b3e3=_0x13e1df['getDataFieldByDataFieldId'](_0x5052b4))==null?void 0x0:_0xf8b3e3[_0x493a82(0x29e)]();return _0x8fcef4&&(_0x4fae05[String(_0x2c22fc)]=_0x8fcef4),_0x2c22fc++,_0x4fae05;},{});return{'indexes':_0x336fda,'range':_0x323c2e,'sourceUnitId':_0x46cecf,'sourceSubUnitId':_0x4e46dc,'formatMap':_0x2f3702};}function _0xe56476(_0x4cf4a6,_0x57226e){const _0x4a11ac=_0x5565f1;if(!_0x4cf4a6||!_0x57226e)return!0x0;const _0x724463=_0x3e3faf[_0x4a11ac(0x329)](_0x18631d,_0x53dc2e),_0x45bd05=new Function(_0x4a11ac(0x387)+_0x724463)()(_0x4cf4a6,_0x57226e)[_0x4a11ac(0x24d)],_0x5f5b74=_0x3e3faf[_0x4a11ac(0x416)](_0x45bd05,'sf',_0x3e4104);return!((_0x45bd05==null?void 0x0:_0x45bd05['rt'])===_0x3e3faf['ReleaseType'][_0x4a11ac(0x34b)]&&!_0x5f5b74);}function _0x183df5(_0x2ae5c2,_0x2419f6,_0x52ea67){const _0xa5d47d=_0x5565f1,_0x456312={'count':_0x2ae5c2,'timeValid':!0x1};if(!_0x2419f6||!_0x52ea67)return _0x456312;const _0x249613=_0x3e3faf[_0xa5d47d(0x329)](_0x18631d,_0x53dc2e),_0x5908c5=new Function('return\x20'+_0x249613)()(_0x2419f6,_0x52ea67);if(_0x5908c5!=null&&_0x5908c5['valid']){const _0x100f8b=_0x5908c5[_0xa5d47d(0x24d)],_0xc4cc5f=_0x3e3faf[_0xa5d47d(0x416)](_0x100f8b,'sf',_0x3e4104);return{'count':_0x3e3faf[_0xa5d47d(0x202)](_0x100f8b,_0xc4cc5f,_0xa5d47d(0x2af),_0x2ae5c2,_0x2ae5c2,0x0),'timeValid':_0xc4cc5f};}return _0x456312;}function _0x59e5a3(_0x2d7146,_0xbdff1a,_0x5dda57,_0x11b3b4){const _0x3bd388=_0x5565f1,_0x2c2d79={'subUnitId':_0x5dda57,'unitId':_0xbdff1a,'cellValue':_0x29b248[_0x3bd388(0x34d)](_0x11b3b4)},_0x308b92=_0x29b248[_0x3bd388(0x3a8)](_0x2d7146,_0x2c2d79);let _0x97f35c=!0x1;return new _0x49f92f[(_0x3bd388(0x38d))](_0x308b92[_0x3bd388(0x266)])['forValue']((_0x1202fa,_0xaaa68a,_0x2831df)=>{const _0x53203e=_0x3bd388;if(!_0x97f35c&&_0x2831df&&(_0x2831df[_0x53203e(0x370)]||_0x2831df['f']||_0x2831df['p']||_0x2831df['s']||_0x2831df['si']||_0x2831df['t']||_0x2831df['v']))return _0x97f35c=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x29b248[_0x3bd388(0x283)]['id'],'params':_0x308b92},'setRangeValueRedoMutation':{'id':_0x29b248[_0x3bd388(0x283)]['id'],'params':_0x2c2d79},'shouldClear':_0x97f35c};}function _0x3ee25d(_0x55f20c){const {row:_0x253705,col:_0xf2fa0c}=_0x55f20c,_0x186607={'startRow':_0x253705,'endRow':_0x253705,'startColumn':_0xf2fa0c,'endColumn':_0xf2fa0c},_0x3a8f0c={'startRow':_0x253705+0x2,'endRow':_0x253705+0xe,'startColumn':_0xf2fa0c,'endColumn':_0xf2fa0c+0x6};return[_0x186607,_0x3a8f0c];}function _0x1fe094(_0x26f2a6,_0x118762,_0x357259){const _0x2703cf=_0x5565f1,{cornerView:_0x5a8c8f,rowView:_0x4ef039,colView:_0x5846d4,pageView:_0x4abcd6}=_0x26f2a6,{row:_0xf4952d,col:_0x3a74e9}=_0x118762;if(_0x357259)return{'rowCount':_0x1fdf30+_0xf4952d,'colCount':_0x4c45a2+_0x3a74e9};const _0x3f1c64=_0x4abcd6['lastRow']>-0x1?_0x4abcd6[_0x2703cf(0x204)]+0x1:0x0,_0x418b17=_0x4abcd6[_0x2703cf(0x29f)]>-0x1?_0x4abcd6[_0x2703cf(0x29f)]:0x0,_0x2537f6=_0xf4952d+_0x3f1c64+(_0x3f1c64?0x1:0x0)+_0x5a8c8f[_0x2703cf(0x12d)]+_0x4ef039['rowCount'],_0x52c792=_0x3a74e9+_0x418b17,_0x586049=_0x3a74e9+_0x5a8c8f['colCount']+_0x5846d4[_0x2703cf(0x32b)],_0x2de2c8=Math[_0x2703cf(0x3b0)](_0x52c792,_0x586049);return{'rowCount':_0x2537f6,'colCount':_0x2de2c8};}function _0x2535c3(_0x488c41,_0x4871cf,_0x240dba,_0x5cc4f6){const _0x5b679c=_0x5565f1,{row:_0x437cb0,col:_0xd50da9,unitId:_0x38ec75,subUnitId:_0x44e425}=_0x240dba,_0x233cbc=_0x1fe094(_0x4871cf,{'row':_0x437cb0,'col':_0xd50da9},_0x5cc4f6),_0x3396af=_0x488c41['get'](_0x49f92f['IUniverInstanceService']),_0x2efc85=_0x29b248[_0x5b679c(0x1a6)](_0x3396af,{'unitId':_0x38ec75,'subUnitId':_0x44e425}),_0x5ed92d=[],_0x2f3fe7=[];if(!_0x2efc85)return{'undos':_0x2f3fe7,'redos':_0x5ed92d};const {worksheet:_0x285fff}=_0x2efc85,_0x17062d=_0x285fff[_0x5b679c(0x2fb)](),_0x25207a=_0x285fff[_0x5b679c(0x2df)]();return _0x17062d<_0x233cbc['rowCount']&&(_0x5ed92d[_0x5b679c(0x254)]({'id':_0x29b248[_0x5b679c(0x438)]['id'],'params':{'unitId':_0x38ec75,'subUnitId':_0x44e425,'range':{'startRow':_0x17062d,'endRow':_0x233cbc[_0x5b679c(0x12d)]-0x1,'startColumn':0x0,'endColumn':_0x25207a-0x1}}}),_0x2f3fe7['push']({'id':_0x29b248[_0x5b679c(0x345)]['id'],'params':{'unitId':_0x38ec75,'subUnitId':_0x44e425,'range':{'startRow':_0x17062d,'endRow':_0x233cbc['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x25207a-0x1}}})),_0x25207a<_0x233cbc[_0x5b679c(0x32b)]&&(_0x5ed92d[_0x5b679c(0x254)]({'id':_0x29b248[_0x5b679c(0x2ae)]['id'],'params':{'unitId':_0x38ec75,'subUnitId':_0x44e425,'range':{'startRow':0x0,'endRow':_0x17062d-0x1,'startColumn':_0x25207a,'endColumn':_0x233cbc['colCount']-0x1}}}),_0x2f3fe7[_0x5b679c(0x254)]({'id':_0x29b248['RemoveColMutation']['id'],'params':{'unitId':_0x38ec75,'subUnitId':_0x44e425,'range':{'startRow':0x0,'endRow':_0x17062d-0x1,'startColumn':_0x25207a,'endColumn':_0x233cbc[_0x5b679c(0x32b)]-0x1}}})),{'undos':_0x2f3fe7,'redos':_0x5ed92d};}function _0x24f9bc(_0x544796){const _0x24026f=_0x5565f1;let _0x46f778=0x0;for(let _0x5d44c3=0x0;_0x5d44c3<_0x544796[_0x24026f(0x37f)];_0x5d44c3++){const _0x2616e5=_0x544796['charCodeAt'](_0x5d44c3);_0x2616e5>=0x4e00&&_0x2616e5<=0x9fff||_0x2616e5>=0x3000&&_0x2616e5<=0x303f||_0x2616e5>=0xff00&&_0x2616e5<=0xffef?_0x46f778+=0x2:_0x46f778+=0x1;}return _0x46f778;}function _0x19883d(_0x5b7e6b,_0x2465b0,_0x5b22ee,_0x4afb6f){const _0x4dc334=_0x5565f1;var _0x373931,_0x3dd886,_0x3e4884,_0x32bd52;const {rowCount:_0x401e1f,colCount:_0x76e4b1,headerMap:_0x2f5cfe}=_0x5b7e6b,_0x5d0857=0x64,_0x2e217b=Math['min'](_0x401e1f,_0x5d0857),_0xa3904=Math[_0x4dc334(0x1fa)](_0x76e4b1,_0x5d0857);let _0x141f7a='',_0x4d327d=0x0;for(let _0x4269bd=0x0;_0x4269bd<_0x2e217b;_0x4269bd++)for(let _0x59122c=0x0;_0x59122c<_0xa3904;_0x59122c++){const _0x1e00b2={...(_0x3dd886=(_0x373931=_0x5b7e6b[_0x4dc334(0x2c1)])==null?void 0x0:_0x373931[_0x4269bd])==null?void 0x0:_0x3dd886[_0x59122c]},_0x3224c4=(_0x3e4884=_0x2f5cfe[_0x4269bd])==null?void 0x0:_0x3e4884[_0x4dc334(0x292)],_0x4559d8=_0x4afb6f[_0x3224c4];let _0x296024=_0x5b7e6b['getValue'](_0x4269bd,_0x59122c);if(_0x1e00b2){const _0x1f70d4=_0x5b22ee?_0x59122c===0x0&&((_0x32bd52=_0x5b7e6b['getHeaderMapItem'](_0x59122c+0x1))==null?void 0x0:_0x32bd52[_0x4dc334(0x17d)]):!0x1;_0x296024=_0xb1d466(_0x1e00b2,_0x1f70d4,_0x4559d8,_0x2465b0);}if(_0x296024!==void 0x0){const _0x5dabd4=_0x24f9bc(String(_0x296024));_0x4d327d<_0x5dabd4&&(_0x141f7a=String(_0x296024),_0x4d327d=_0x5dabd4);}}return _0x141f7a;}function _0x5aa41d(_0x488f85){const _0x381ac3=_0x5565f1,{rowCount:_0x45e3ae,colCount:_0x2e34a0}=_0x488f85;let _0x2c98b0='',_0x5ddb99=0x0;for(let _0x36079f=_0x45e3ae-0x1;_0x36079f>0x0&&_0x36079f>_0x45e3ae-0x3;_0x36079f--)for(let _0x50e488=0x0;_0x50e488<_0x2e34a0;_0x50e488++){const _0x2806ec=_0x488f85[_0x381ac3(0x1b6)](_0x36079f,_0x50e488);if(_0x2806ec!==void 0x0){const _0x1668d3=String(_0x2806ec)[_0x381ac3(0x37f)];_0x5ddb99<_0x1668d3&&(_0x2c98b0=String(_0x2806ec),_0x5ddb99=_0x1668d3);}}return _0x2c98b0;}function _0x308247(_0x4d0aea){const _0x3cfecd=_0x5565f1,{rowCount:_0x23537c,colCount:_0x55acc2}=_0x4d0aea;let _0x109eef='',_0x213a9=0x0;for(let _0x1d46df=0x0;_0x1d46df<_0x23537c;_0x1d46df++)for(let _0x51a0b9=0x0;_0x51a0b9<_0x55acc2;_0x51a0b9++){const _0x5a8f3e=_0x4d0aea[_0x3cfecd(0x1b6)](_0x1d46df,_0x51a0b9);if(_0x5a8f3e!==void 0x0){const _0x497ca4=String(_0x5a8f3e)[_0x3cfecd(0x37f)];_0x213a9<_0x497ca4&&(_0x109eef=String(_0x5a8f3e),_0x213a9=_0x497ca4);}}return _0x109eef;}function _0x4ba403(_0x329401,_0x10d893){const _0x48fdc8=_0x5565f1,{rowFields:_0x2281f1,columnFields:_0x4c2a15,valueFields:_0x49174e,filterFields:_0x5d51dd,dimension:_0x5e8604,measure:_0x1fd5cc}=_0x10d893;for(const _0x48f0e8 of _0x2281f1){const _0x16c722=_0x5e8604[_0x48f0e8];_0x16c722&&_0x329401[_0x48fdc8(0x248)](_0x16c722['dataFieldId'])&&(_0x329401['addFieldWithSourceId'](_0x16c722[_0x48fdc8(0x33c)],_0x16b0d8[_0x48fdc8(0x440)][_0x48fdc8(0x3b6)],void 0x0,_0x48f0e8),_0x16c722['displayName']&&_0x329401['renameField'](_0x16c722['id'],_0x16c722[_0x48fdc8(0x1bd)]),_0x16c722[_0x48fdc8(0x2f5)]&&_0x329401[_0x48fdc8(0x16f)](_0x16c722['id'],_0x16c722[_0x48fdc8(0x2f5)]),_0x16c722[_0x48fdc8(0x119)]&&_0x329401[_0x48fdc8(0x37b)](_0x16c722['id'],_0x16c722[_0x48fdc8(0x119)]));}for(const _0x7592b3 of _0x4c2a15){const _0x3286b6=_0x5e8604[_0x7592b3];_0x3286b6&&_0x329401[_0x48fdc8(0x248)](_0x3286b6['dataFieldId'])&&(_0x329401[_0x48fdc8(0x182)](_0x3286b6[_0x48fdc8(0x33c)],_0x16b0d8['PivotTableFiledAreaEnum'][_0x48fdc8(0x28b)],void 0x0,_0x7592b3),_0x3286b6[_0x48fdc8(0x2f5)]&&_0x329401[_0x48fdc8(0x16f)](_0x3286b6['id'],_0x3286b6[_0x48fdc8(0x2f5)]),_0x3286b6[_0x48fdc8(0x119)]&&_0x329401[_0x48fdc8(0x37b)](_0x3286b6['id'],_0x3286b6['filterInfo']),_0x3286b6[_0x48fdc8(0x1bd)]&&_0x329401[_0x48fdc8(0x25e)](_0x3286b6['id'],_0x3286b6['displayName']));}for(const _0x2aef48 of _0x5d51dd){const _0x3a96e0=_0x5e8604[_0x2aef48];_0x3a96e0&&_0x329401[_0x48fdc8(0x248)](_0x3a96e0[_0x48fdc8(0x33c)])&&(_0x329401['addFieldWithSourceId'](_0x3a96e0[_0x48fdc8(0x33c)],_0x16b0d8[_0x48fdc8(0x440)]['Filter'],void 0x0,_0x2aef48),_0x3a96e0[_0x48fdc8(0x2f5)]&&_0x329401[_0x48fdc8(0x16f)](_0x3a96e0['id'],_0x3a96e0['sortInfo']),_0x3a96e0[_0x48fdc8(0x119)]&&_0x329401[_0x48fdc8(0x37b)](_0x3a96e0['id'],_0x3a96e0[_0x48fdc8(0x119)]),_0x3a96e0[_0x48fdc8(0x1bd)]&&_0x329401[_0x48fdc8(0x25e)](_0x3a96e0['id'],_0x3a96e0[_0x48fdc8(0x1bd)]));}for(const _0x30c0d3 of _0x49174e){const _0x209151=_0x1fd5cc[_0x30c0d3];_0x209151&&_0x329401['getDataFieldByDataFieldId'](_0x209151[_0x48fdc8(0x33c)])&&(_0x329401[_0x48fdc8(0x182)](_0x209151['dataFieldId'],_0x16b0d8['PivotTableFiledAreaEnum']['Value'],void 0x0,_0x30c0d3),_0x209151['subtotal']!==void 0x0&&_0x329401[_0x48fdc8(0x28e)](_0x30c0d3,_0x209151[_0x48fdc8(0x3ff)]),_0x209151[_0x48fdc8(0x40c)]&&_0x329401[_0x48fdc8(0x12f)](_0x30c0d3,_0x209151[_0x48fdc8(0x40c)]),_0x209151[_0x48fdc8(0x1bd)]&&_0x329401['renameField'](_0x209151['id'],_0x209151[_0x48fdc8(0x1bd)]));}const _0x79059c=_0x10d893[_0x48fdc8(0x2f2)];for(const {fieldId:_0x331a83,filterInfo:_0x1185fc}of _0x79059c)_0x329401[_0x48fdc8(0x281)](_0x331a83,_0x1185fc);}function _0x273a51(_0x36931d,_0x51916b){const _0x7e0510=_0x5565f1,_0xbaed84=[];_0x51916b===_0x16b0d8['PivotTableFiledAreaEnum'][_0x7e0510(0x3b6)]&&_0x36931d[_0x7e0510(0x380)](_0x16b0d8[_0x7e0510(0x440)][_0x7e0510(0x3b6)],_0x1dcaaa=>{const _0x5b1b30=_0x7e0510;_0xbaed84['push'](_0x1dcaaa[_0x5b1b30(0x428)]());}),_0x51916b===_0x16b0d8[_0x7e0510(0x440)][_0x7e0510(0x28b)]&&_0x36931d['iterateFieldByArea'](_0x16b0d8['PivotTableFiledAreaEnum'][_0x7e0510(0x28b)],_0x3a6305=>{const _0xcf6f97=_0x7e0510;_0xbaed84[_0xcf6f97(0x254)](_0x3a6305[_0xcf6f97(0x428)]());}),_0x51916b===_0x16b0d8[_0x7e0510(0x440)][_0x7e0510(0x34a)]&&_0x36931d[_0x7e0510(0x380)](_0x16b0d8[_0x7e0510(0x440)][_0x7e0510(0x34a)],_0x404b42=>{const _0x434074=_0x7e0510;_0xbaed84['push'](_0x404b42[_0x434074(0x428)]());}),_0x51916b===_0x16b0d8['PivotTableFiledAreaEnum'][_0x7e0510(0x359)]&&_0x36931d[_0x7e0510(0x380)](_0x16b0d8['PivotTableFiledAreaEnum'][_0x7e0510(0x359)],_0x1c3c5c=>{const _0x574d94=_0x7e0510;_0xbaed84['push'](_0x1c3c5c[_0x574d94(0x428)]());}),_0x51916b===void 0x0&&_0x36931d[_0x7e0510(0x2c9)](_0x5e709f=>{const _0x50554b=_0x7e0510;_0xbaed84['push'](_0x5e709f[_0x50554b(0x428)]());});const _0x2a5c7b=_0xbaed84[_0x7e0510(0x37f)];for(let _0x2bed7a=_0x2a5c7b-0x1;_0x2bed7a>=0x0;_0x2bed7a--)_0x36931d[_0x7e0510(0x376)](_0xbaed84[_0x2bed7a]);const _0x433059=_0x36931d['getValueFilterInfos']();for(const _0x14c93c in _0x433059)_0x36931d[_0x7e0510(0x1aa)](_0x14c93c);}function _0x2b787c(_0x47e46f,_0x61b291){const _0x240d70=_0x5565f1,_0xe21e37=new Date(_0x16b0d8[_0x240d70(0x1cf)](_0x61b291)),_0xe7f70d=new Date(_0x16b0d8[_0x240d70(0x1cf)](_0x47e46f)),_0x4a3bbe=_0xe21e37[_0x240d70(0x364)](),_0x4abc26=_0xe7f70d[_0x240d70(0x364)](),_0x5e8fe3=_0xe21e37['getMonth'](),_0x337e16=_0xe7f70d['getMonth'](),_0xdf93e3=_0xe21e37[_0x240d70(0x155)](),_0x4a6abf=_0xe7f70d[_0x240d70(0x155)](),_0x3b049d=_0x4a3bbe===_0x4abc26,_0x56ad57=_0x3b049d&&_0x5e8fe3===_0x337e16;return _0x3b049d&&_0x56ad57&&!(_0x56ad57&&_0xdf93e3===_0x4a6abf)?_0x16b0d8['PivotDateGroupFieldDateTypeEnum'][_0x240d70(0x35f)]:_0x3b049d&&!_0x56ad57?_0x16b0d8[_0x240d70(0x3ba)][_0x240d70(0x293)]:_0x16b0d8[_0x240d70(0x3ba)][_0x240d70(0x25f)];}function _0x18fbc7(_0x175148,_0xabb8d2){const _0x11ea1c=_0x5565f1,_0x8e2397=_0x175148[_0x11ea1c(0x326)](_0x47953f['SheetsPivotDataSourceModel'])['getTextInfo']();let _0x129a6b='';switch(_0xabb8d2){case _0x16b0d8[_0x11ea1c(0x3ba)]['YearMonthDate']:_0x129a6b=_0x8e2397['sheets-pivot.dateGroup.yearMonthDate'];break;case _0x16b0d8[_0x11ea1c(0x3ba)][_0x11ea1c(0x293)]:_0x129a6b=_0x8e2397['sheets-pivot.dateGroup.yearMonth'];break;case _0x16b0d8['PivotDateGroupFieldDateTypeEnum'][_0x11ea1c(0x25f)]:_0x129a6b=_0x8e2397[_0x11ea1c(0x20e)];break;case _0x16b0d8[_0x11ea1c(0x3ba)][_0x11ea1c(0x253)]:_0x129a6b=_0x8e2397[_0x11ea1c(0x2b8)];break;case _0x16b0d8[_0x11ea1c(0x3ba)]['Quarter']:_0x129a6b=_0x8e2397[_0x11ea1c(0x334)];break;case _0x16b0d8['PivotDateGroupFieldDateTypeEnum'][_0x11ea1c(0x3c0)]:_0x129a6b=_0x8e2397[_0x11ea1c(0x2d9)];break;case _0x16b0d8[_0x11ea1c(0x3ba)][_0x11ea1c(0x360)]:_0x129a6b=_0x8e2397[_0x11ea1c(0x407)];break;case _0x16b0d8[_0x11ea1c(0x3ba)][_0x11ea1c(0x14e)]:_0x129a6b=_0x8e2397[_0x11ea1c(0x3d7)];break;case _0x16b0d8['PivotDateGroupFieldDateTypeEnum']['Minute']:_0x129a6b=_0x8e2397['sheets-pivot.dateGroup.minute'];break;case _0x16b0d8['PivotDateGroupFieldDateTypeEnum'][_0x11ea1c(0x42c)]:_0x129a6b=_0x8e2397[_0x11ea1c(0x18c)];break;case _0x16b0d8[_0x11ea1c(0x3ba)][_0x11ea1c(0x3f6)]:_0x129a6b=_0x8e2397[_0x11ea1c(0x309)];break;default:_0x129a6b='';break;}return _0x129a6b;}const _0x2fe2dc='sheets-pivot.config',_0x11e3f9={};var _0x1de1dc=Object[_0x5565f1(0x14a)],_0x1fc94b=(_0x1e9e69,_0x5008a6,_0xaa65d0,_0xe28993)=>{const _0x4efa69=_0x5565f1;for(var _0x4f4116=_0xe28993>0x1?void 0x0:_0xe28993?_0x1de1dc(_0x5008a6,_0xaa65d0):_0x5008a6,_0x134c81=_0x1e9e69[_0x4efa69(0x37f)]-0x1,_0x493c24;_0x134c81>=0x0;_0x134c81--)(_0x493c24=_0x1e9e69[_0x134c81])&&(_0x4f4116=_0x493c24(_0x4f4116)||_0x4f4116);return _0x4f4116;},_0xd63e04=(_0x4fe641,_0x509a1b)=>(_0x2efba5,_0x387a79)=>_0x509a1b(_0x2efba5,_0x387a79,_0x4fe641);_0x47953f['SheetsPivotTableConfigModel']=class extends _0x49f92f[_0x5565f1(0x425)]{constructor(_0x10a1af,_0x1e0ea0,_0xd9164f,_0x5d20f0,_0x5a6c8b){const _0x13a168=_0x5565f1;super(),_0x246801(this,_0x13a168(0x3aa),new Map()),_0x246801(this,_0x13a168(0x37e),new Map()),_0x246801(this,_0x13a168(0x14d),new Map()),_0x246801(this,_0x13a168(0x431),new Map()),_0x246801(this,_0x13a168(0x3df),new _0x3818d9[(_0x13a168(0x11e))]()),_0x246801(this,_0x13a168(0x171),new _0x3818d9[(_0x13a168(0x11e))]()),_0x246801(this,_0x13a168(0x13a),this[_0x13a168(0x171)][_0x13a168(0x2e8)]()),_0x246801(this,'_pivotConfigChange$',new _0x3818d9[(_0x13a168(0x11e))]()),_0x246801(this,'pivotConfigChange$',this[_0x13a168(0x165)][_0x13a168(0x2e8)]()),_0x246801(this,_0x13a168(0x30e),{}),_0x246801(this,_0x13a168(0x1d3),this[_0x13a168(0x3df)][_0x13a168(0x2e8)]()),(this[_0x13a168(0x27c)]=_0x10a1af,this['_commandService']=_0x1e0ea0,this[_0x13a168(0x23b)]=_0xd9164f,this[_0x13a168(0x135)]=_0x5d20f0,this[_0x13a168(0x163)]=_0x5a6c8b,this[_0x13a168(0x223)](),this['_initUnitDisposed']());const _0x249d60=this[_0x13a168(0x163)][_0x13a168(0x2ee)](_0x2fe2dc);(_0x249d60==null?void 0x0:_0x249d60['notExecuteFormula'])===!0x0&&this[_0x13a168(0x263)]();}['_initUnitDisposed'](){const _0x53747c=_0x5565f1;this[_0x53747c(0x3ae)](this[_0x53747c(0x23b)]['getTypeOfUnitDisposed$'](_0x49f92f[_0x53747c(0x1b7)][_0x53747c(0x3da)])['subscribe'](_0x263b3d=>{const _0xef9376=_0x53747c;this[_0xef9376(0x300)](_0x263b3d[_0xef9376(0x1b4)]());}));}[_0x5565f1(0x1df)](){const _0x201311=_0x5565f1;this[_0x201311(0x171)][_0x201311(0x409)](!0x0);}[_0x5565f1(0x223)](){const _0x383504=_0x5565f1,_0x1531ce=_0x159ebc(this[_0x383504(0x27c)],_0x1e7e8c,'',{});this[_0x383504(0x30e)]=_0x1531ce,this[_0x383504(0x393)]['executeCommand'](_0x389da5['id'],{'textInfo':_0x1531ce},{'onlyLocal':!0x0});}[_0x5565f1(0x191)](){const _0x5be9ca=_0x5565f1;return this[_0x5be9ca(0x30e)];}[_0x5565f1(0x274)](_0x456fe7,_0x3a8d16,_0xf00f25,_0x52be85,_0x682939){const _0x528d26=_0x5565f1;this[_0x528d26(0x301)](_0x456fe7,_0x3a8d16,_0xf00f25,_0x52be85),this[_0x528d26(0x39e)](_0x456fe7,_0x3a8d16,_0xf00f25,_0x682939);}['getPivotTableConfig'](_0x48766a,_0x295466,_0x5e0746){const _0x427285=_0x5565f1;var _0x463724;const _0x397ed2=(_0x463724=this[_0x427285(0x3aa)][_0x427285(0x326)](_0x48766a))==null?void 0x0:_0x463724[_0x427285(0x326)](_0x295466);if(_0x397ed2)return _0x397ed2[_0x427285(0x326)](_0x5e0746);}[_0x5565f1(0x1ad)](_0x44adf4,_0x42432b){const _0x2efe21=_0x5565f1,_0x53e8cf=this[_0x2efe21(0x3aa)]['get'](_0x44adf4);if(_0x53e8cf){for(const [_0x4df8aa,_0x259188]of _0x53e8cf['entries']())for(const [_0x2681b7,_0x1cec53]of _0x259188[_0x2efe21(0x15f)]())if(_0x2681b7===_0x42432b)return _0x1cec53['targetCellInfo'];}}[_0x5565f1(0x442)](_0x1d477d,_0x25885c,_0x27c560){const _0x327e79=_0x5565f1,_0x18b372=this[_0x327e79(0x215)](_0x1d477d,_0x25885c,_0x27c560);return _0x18b372==null?void 0x0:_0x18b372[_0x327e79(0x1d0)];}['getSubUnitPivotConfigs'](_0x3228fa,_0xbf07c6){const _0x171baa=_0x5565f1;var _0x20d945;return(_0x20d945=this[_0x171baa(0x3aa)][_0x171baa(0x326)](_0x3228fa))==null?void 0x0:_0x20d945[_0x171baa(0x326)](_0xbf07c6);}[_0x5565f1(0x3fb)](_0x38f40f,_0x38a91e,_0x4247dc,_0x3ee91d){const _0x45b4f7=_0x5565f1,_0x2c7c4d=this[_0x45b4f7(0x3f5)](_0x38f40f,_0x38a91e);_0x3ee91d?_0x2c7c4d['set'](_0x4247dc,_0x3ee91d):_0x2c7c4d['delete'](_0x4247dc),this[_0x45b4f7(0x165)][_0x45b4f7(0x409)]({'unitId':_0x38f40f,'subUnitId':_0x38a91e,'pivotTableId':_0x4247dc,'pivotTableConfig':_0x3ee91d});}[_0x5565f1(0x312)](_0x474572,_0x5d6a6c){const _0x151e14=_0x5565f1;var _0x321404;return(_0x321404=this[_0x151e14(0x37e)][_0x151e14(0x326)](_0x474572))==null?void 0x0:_0x321404[_0x151e14(0x40d)][_0x5d6a6c];}[_0x5565f1(0x1c2)](_0x22a10f,_0x14ff68){this['_collectionConfigModel']['set'](_0x22a10f,_0x14ff68),this['_configVersion$']['next'](Math['random']());}[_0x5565f1(0x3f5)](_0x13eea5,_0x25f20c){const _0x1d64ea=_0x5565f1;let _0x42dda8=this[_0x1d64ea(0x3aa)]['get'](_0x13eea5);_0x42dda8||(_0x42dda8=new Map(),this[_0x1d64ea(0x3aa)][_0x1d64ea(0x246)](_0x13eea5,_0x42dda8));let _0xc902d5=_0x42dda8['get'](_0x25f20c);return _0xc902d5||(_0xc902d5=new Map(),_0x42dda8[_0x1d64ea(0x246)](_0x25f20c,_0xc902d5)),_0xc902d5;}[_0x5565f1(0x1ac)](_0x2bb8fe,_0x48ef3a){const _0x80cc00=_0x5565f1;let _0x365bec=this['_pivotTableRangeInfo']['get'](_0x2bb8fe);_0x365bec||(_0x365bec=new Map(),this[_0x80cc00(0x14d)][_0x80cc00(0x246)](_0x2bb8fe,_0x365bec));let _0x4ac773=_0x365bec[_0x80cc00(0x326)](_0x48ef3a);return _0x4ac773||(_0x4ac773=new Map(),_0x365bec[_0x80cc00(0x246)](_0x48ef3a,_0x4ac773)),_0x4ac773;}['_ensurePivotTableMatrixInfo'](_0x5632bf,_0x46ef50){const _0x4ac1ab=_0x5565f1;let _0x141bca=this[_0x4ac1ab(0x431)][_0x4ac1ab(0x326)](_0x5632bf);_0x141bca||(_0x141bca=new Map(),this[_0x4ac1ab(0x431)][_0x4ac1ab(0x246)](_0x5632bf,_0x141bca));let _0x2f4be0=_0x141bca[_0x4ac1ab(0x326)](_0x46ef50);return _0x2f4be0||(_0x2f4be0=new Map(),_0x141bca[_0x4ac1ab(0x246)](_0x46ef50,_0x2f4be0)),_0x2f4be0;}[_0x5565f1(0x39e)](_0x56bcc8,_0x2b9a41,_0x4d2c1f,_0x269fc9){const _0x20ff95=_0x5565f1;var _0x1eaf50;const _0xc79167=this[_0x20ff95(0x1ac)](_0x56bcc8,_0x2b9a41),_0x584abe=(_0x1eaf50=_0xc79167['get'](_0x4d2c1f))==null?void 0x0:_0x1eaf50[_0x20ff95(0x28c)];_0xc79167['set'](_0x4d2c1f,{'oldRangeInfo':_0x584abe,'rangeInfo':_0x269fc9});}[_0x5565f1(0x301)](_0x47cf02,_0x4bda91,_0xb22e12,_0x1a3727){const _0x3e674a=_0x5565f1;var _0x45b0c4;const _0x6a61=this[_0x3e674a(0x41a)](_0x47cf02,_0x4bda91),_0x56c19d=(_0x45b0c4=_0x6a61[_0x3e674a(0x326)](_0xb22e12))==null?void 0x0:_0x45b0c4['oldMatrix'];_0x6a61['set'](_0xb22e12,{'oldMatrix':_0x56c19d,'matrix':_0x1a3727});}[_0x5565f1(0x2dc)](_0x1a466f,_0x3bb8c8,_0x3c00a4){const _0x17f55d=_0x5565f1;var _0x336c80,_0x3f04ae;return(_0x3f04ae=(_0x336c80=this['_pivotTableRangeInfo']['get'](_0x1a466f))==null?void 0x0:_0x336c80['get'](_0x3bb8c8))==null?void 0x0:_0x3f04ae[_0x17f55d(0x326)](_0x3c00a4);}[_0x5565f1(0x3d9)](_0x4d285a,_0x58fc2c,_0x18986f){const _0x57141b=_0x5565f1;var _0x7701e9,_0x33a9bb;return(_0x33a9bb=(_0x7701e9=this[_0x57141b(0x431)]['get'](_0x4d285a))==null?void 0x0:_0x7701e9['get'](_0x58fc2c))==null?void 0x0:_0x33a9bb[_0x57141b(0x326)](_0x18986f);}[_0x5565f1(0x300)](_0x4f6074){const _0x4ffc1a=_0x5565f1;this[_0x4ffc1a(0x3aa)][_0x4ffc1a(0x43d)](_0x4f6074),this[_0x4ffc1a(0x37e)]['delete'](_0x4f6074);}[_0x5565f1(0x1c8)](_0x4a93db){const _0x3fd525=_0x5565f1,_0xbd8217={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3fd525(0x37e)]['get'](_0x4a93db)&&(_0xbd8217[_0x3fd525(0x214)][_0x4a93db]=this['_collectionConfigModel'][_0x3fd525(0x326)](_0x4a93db)),this['_model'][_0x3fd525(0x326)](_0x4a93db)){_0xbd8217[_0x3fd525(0x3e0)][_0x4a93db]={};const _0x44964f=this[_0x3fd525(0x3aa)][_0x3fd525(0x326)](_0x4a93db);_0x44964f!=null&&_0x44964f['size']&&[..._0x44964f[_0x3fd525(0x37a)]()]['forEach'](_0x25d56a=>{const _0x46d2c9=_0x3fd525,_0x3b8528=_0x44964f[_0x46d2c9(0x326)](_0x25d56a);_0x3b8528!=null&&_0x3b8528[_0x46d2c9(0x422)]&&(_0xbd8217[_0x46d2c9(0x3e0)][_0x4a93db][_0x25d56a]={},[..._0x3b8528[_0x46d2c9(0x37a)]()][_0x46d2c9(0x350)](_0x57a587=>{const _0x44f7ea=_0x46d2c9,_0x39196e=_0x3b8528['get'](_0x57a587);_0x39196e&&(_0xbd8217[_0x44f7ea(0x3e0)][_0x4a93db][_0x25d56a][_0x57a587]=_0x39196e);}));});}return _0xbd8217;}[_0x5565f1(0x263)](){const _0x358b69=_0x5565f1;this[_0x358b69(0x3ae)](this[_0x358b69(0x135)]['registerPluginResource']({'toJson':_0x19372e=>JSON['stringify'](this['_toJSON'](_0x19372e)),'parseJson':_0x13be3c=>({}),'businesses':[_0x49f92f[_0x358b69(0x1b7)][_0x358b69(0x3da)]],'pluginName':_0x5eb740,'onLoad':(_0x28d306,_0x4482fe)=>{},'onUnLoad':_0x137327=>{this['deleteUnitId'](_0x137327);}}));}},_0x47953f[_0x5565f1(0x11d)]=_0x1fc94b([_0xd63e04(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x22e)])),_0xd63e04(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x3fc)])),_0xd63e04(0x2,_0x49f92f['Inject'](_0x49f92f[_0x5565f1(0x26f)])),_0xd63e04(0x3,_0x49f92f['Inject'](_0x49f92f[_0x5565f1(0x28a)])),_0xd63e04(0x4,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x404)]))],_0x47953f[_0x5565f1(0x11d)]);var _0x585262=Object[_0x5565f1(0x14a)],_0x5a426d=(_0x4b6f0d,_0x13e673,_0x3d0f43,_0x2716c7)=>{const _0xcb45bb=_0x5565f1;for(var _0x17f390=_0x2716c7>0x1?void 0x0:_0x2716c7?_0x585262(_0x13e673,_0x3d0f43):_0x13e673,_0xa142df=_0x4b6f0d[_0xcb45bb(0x37f)]-0x1,_0x482d0d;_0xa142df>=0x0;_0xa142df--)(_0x482d0d=_0x4b6f0d[_0xa142df])&&(_0x17f390=_0x482d0d(_0x17f390)||_0x17f390);return _0x17f390;},_0x540ae0=(_0x376f5f,_0x5b053c)=>(_0x5b0e92,_0xf570e4)=>_0x5b053c(_0x5b0e92,_0xf570e4,_0x376f5f);_0x47953f[_0x5565f1(0x3c8)]=class extends _0x49f92f[_0x5565f1(0x425)]{constructor(_0x56a7e3,_0x2329c2,_0xa01998,_0x3e63b6,_0x4c7fd3){const _0x19f297=_0x5565f1;super(),_0x246801(this,_0x19f297(0x1bc),new Map()),_0x246801(this,_0x19f297(0x313),new Map()),_0x246801(this,'_markDirty$',new _0x3818d9[(_0x19f297(0x11e))]()),_0x246801(this,'markDirty$',this[_0x19f297(0x42e)]['asObservable']()),_0x246801(this,_0x19f297(0x310),new _0x3818d9[(_0x19f297(0x11e))]()),_0x246801(this,_0x19f297(0x327),this['_viewUpdate$'][_0x19f297(0x2e8)]()),_0x246801(this,'_textInfo'),(this['_localeService']=_0x56a7e3,this[_0x19f297(0x27c)]=_0x2329c2,this[_0x19f297(0x3b2)]=_0xa01998,this['_univerInstanceService']=_0x3e63b6,this[_0x19f297(0x23a)]=_0x4c7fd3,this[_0x19f297(0x223)](),this[_0x19f297(0x12e)]());}[_0x5565f1(0x12e)](){const _0x1caf6d=_0x5565f1;this[_0x1caf6d(0x3ae)](this['_univerInstanceService'][_0x1caf6d(0x356)](_0x49f92f[_0x1caf6d(0x1b7)]['UNIVER_SHEET'])[_0x1caf6d(0x1de)](_0x594a1a=>{const _0x57a524=_0x1caf6d;this[_0x57a524(0x300)](_0x594a1a[_0x57a524(0x1b4)]());}));}[_0x5565f1(0x223)](){const _0x2b3234=_0x5565f1;this['_textInfo']=_0x159ebc(this[_0x2b3234(0x27c)],_0x1e7e8c,'',{});}['updateRenderCache'](_0x286c40){const _0x5cc3f3=_0x5565f1,{view:_0x140394,unitId:_0x275311,subUnitId:_0xf3f7ad,pivotTableId:_0x52245d,type:_0x2d6594}=_0x286c40,_0x594f4d=this['_sheetsPivotTableConfigModel'][_0x5cc3f3(0x215)](_0x275311,_0xf3f7ad,_0x52245d);if(!_0x140394||!_0x594f4d||_0x2d6594===_0x1e0edb[_0x5cc3f3(0x287)])return;const {pageView:_0xaf7687,cornerView:_0x296d5c,rowView:_0x38701e,colView:_0x3c494c,dataView:_0x138d6e}=_0x140394,_0x52d6ca=_0x594f4d[_0x5cc3f3(0x1d0)],_0x2a5198=_0x594f4d[_0x5cc3f3(0x27f)],_0x1542fe=this['_ensurePivotItemRenderValueMatrixCache'](_0x275311,_0xf3f7ad),_0x4dd3b1=this[_0x5cc3f3(0x1e9)](_0x275311,_0xf3f7ad,_0x52245d);if(_0x2a5198)return this[_0x5cc3f3(0x2bb)](_0x286c40,_0x1542fe,_0x52d6ca,_0x4dd3b1);{const _0x24dcc1=_0x290256(_0x52d6ca,_0xaf7687,!0x0),_0x1f6f9d=_0xaf7687['lastRow']>=0x0?_0xaf7687[_0x5cc3f3(0x204)]+0x1:0x0,_0x10b505=_0x296d5c['getRowCount'](),_0x2c5929=_0x296d5c[_0x5cc3f3(0x2c0)](),_0x2054f2=_0x24dcc1[_0x5cc3f3(0x37f)]>0x0?_0x29054f:0x0,_0x41c212=_0x290256({'row':_0x52d6ca[_0x5cc3f3(0x1b1)]+_0x1f6f9d+_0x2054f2,'col':_0x52d6ca[_0x5cc3f3(0x341)]},_0x296d5c,!0x1,!0x1),_0x7bb95b=_0x290256({'row':_0x52d6ca[_0x5cc3f3(0x1b1)]+_0x1f6f9d+_0x2054f2+_0x10b505,'col':_0x52d6ca[_0x5cc3f3(0x341)]},_0x38701e,!0x1,!0x0),_0x4d3d14=_0x290256({'row':_0x52d6ca[_0x5cc3f3(0x1b1)]+_0x1f6f9d+_0x2054f2,'col':_0x52d6ca[_0x5cc3f3(0x341)]+_0x2c5929},_0x3c494c,!0x1,!0x0),_0x4700d4=_0x290256({'row':_0x52d6ca['row']+_0x1f6f9d+_0x2054f2+_0x10b505,'col':_0x52d6ca[_0x5cc3f3(0x341)]+_0x2c5929},_0x138d6e,!0x1,!0x1);_0x4dd3b1[_0x5cc3f3(0x39f)]={'rowRanges':_0x7bb95b,'colRanges':_0x4d3d14,'cornerRanges':_0x41c212,'dataRanges':_0x4700d4,'pageRanges':_0x24dcc1};const _0x21ffc0=_0x57f126(this['_injector'],_0x140394,_0x594f4d,this[_0x5cc3f3(0x30e)]),{valueMatrix:_0x138080,rowInfo:_0x2b0fa2,colInfo:_0xb6b056,cornerInfo:_0x3146ac,rowHeaderMap:_0x22fd24,colHeaderMap:_0x55c990}=_0x21ffc0;return _0x4dd3b1['areaInfo']={'rowInfo':_0x2b0fa2,'colInfo':_0xb6b056,'cornerInfo':_0x3146ac},_0x4dd3b1[_0x5cc3f3(0x2cc)]={'rowHeaderMap':_0x22fd24,'colHeaderMap':_0x55c990},_0x138080[_0x5cc3f3(0x350)]((_0x5480ad,_0x21fb6d)=>{const _0xb409e1=_0x5cc3f3;Object[_0xb409e1(0x37a)](_0x21fb6d)[_0xb409e1(0x350)](_0x4ae5d1=>{const _0x2110ef=_0xb409e1,_0x21d9cf=+_0x4ae5d1,_0x2db524=_0x138080[_0x2110ef(0x1b6)](_0x5480ad,_0x21d9cf);_0x1542fe['setValue'](_0x5480ad,_0x21d9cf,_0x2db524);});}),this[_0x5cc3f3(0x310)][_0x5cc3f3(0x409)]({'unitId':_0x275311,'subUnitId':_0xf3f7ad,'valueMatrix':_0x1542fe,'rangesCache':_0x4dd3b1['rangesInfo'],'pivotTableId':_0x52245d,'type':_0x286c40[_0x5cc3f3(0x2a8)]}),this[_0x5cc3f3(0x3b2)][_0x5cc3f3(0x274)](_0x275311,_0xf3f7ad,_0x52245d,_0x1542fe,_0x4dd3b1[_0x5cc3f3(0x39f)]),this['_exclusiveRangeService'][_0x5cc3f3(0x382)](_0x275311,_0xf3f7ad,_0x279ac7,this[_0x5cc3f3(0x1b3)](_0x4dd3b1['rangesInfo'],_0x52245d)),{'rangeCache':_0x4dd3b1[_0x5cc3f3(0x39f)],'matrix':_0x1542fe};}}[_0x5565f1(0x2bb)](_0x2e7eee,_0x344dcc,_0x311249,_0x31be24){const _0x20d8d7=_0x5565f1,_0x1cf09e=this[_0x20d8d7(0x2e5)]['t'],{unitId:_0x3c0925,subUnitId:_0x31847,pivotTableId:_0x5bec31}=_0x2e7eee,_0x35bd66={'filter':_0x1cf09e(_0x20d8d7(0x317)),'row':_0x1cf09e('sheets-pivot.emptyPivot.row'),'column':_0x1cf09e(_0x20d8d7(0x303)),'values':_0x1cf09e(_0x20d8d7(0x213))},{matrixCache:_0x1d3f78,rangesCache:_0x2f1496}=_0x115cc1(_0x35bd66,_0x311249);return _0x1d3f78['forValue']((_0x6e58b6,_0x335f25,_0x4fe25c)=>{const _0x67a08e=_0x20d8d7;_0x344dcc[_0x67a08e(0x3c9)](_0x6e58b6,_0x335f25,_0x4fe25c);}),_0x31be24[_0x20d8d7(0x39f)]=_0x2f1496,this[_0x20d8d7(0x310)][_0x20d8d7(0x409)]({'unitId':_0x3c0925,'subUnitId':_0x31847,'valueMatrix':_0x344dcc,'rangesCache':_0x2f1496,'pivotTableId':_0x5bec31,'type':_0x2e7eee[_0x20d8d7(0x2a8)],'isEmpty':!0x0}),this[_0x20d8d7(0x3b2)][_0x20d8d7(0x274)](_0x3c0925,_0x31847,_0x5bec31,_0x344dcc,_0x2f1496),this['_exclusiveRangeService'][_0x20d8d7(0x382)](_0x3c0925,_0x31847,_0x279ac7,this[_0x20d8d7(0x1b3)](_0x2f1496,_0x5bec31)),{'rangeCache':_0x31be24[_0x20d8d7(0x39f)],'matrix':_0x344dcc};}[_0x5565f1(0x1b3)](_0x3c88bb,_0x2a9a3b){const _0x16ee8c=[],_0x25bed5=_0x163af3(_0x3c88bb);for(const _0x53c7b2 of _0x25bed5)_0x16ee8c['push']({'groupId':_0x2a9a3b,'range':_0x53c7b2});return _0x16ee8c;}[_0x5565f1(0x3f3)](_0x3f089c){const _0x27ba11=_0x5565f1;var _0x2612df,_0x5bcb77,_0x173e2b,_0x4b0877;const {pivotTableId:_0x2c07d2,unitId:_0x3d4e1e,subUnitId:_0x3734ba}=_0x3f089c;if(!_0x2c07d2||!_0x3d4e1e||!_0x3734ba)return;const _0x31be3e=this[_0x27ba11(0x1dc)](_0x3d4e1e,_0x3734ba),_0x2ff5d4=(_0x5bcb77=(_0x2612df=this[_0x27ba11(0x1bc)][_0x27ba11(0x326)](_0x3d4e1e))==null?void 0x0:_0x2612df[_0x27ba11(0x326)](_0x3734ba))==null?void 0x0:_0x5bcb77[_0x27ba11(0x326)](_0x2c07d2);if(_0x2ff5d4!=null&&_0x2ff5d4[_0x27ba11(0x39f)]){for(const _0x3f31d4 of Object['keys'](_0x2ff5d4[_0x27ba11(0x39f)]))_0x2ff5d4[_0x27ba11(0x39f)][_0x3f31d4][_0x27ba11(0x350)](_0x1883ce=>{const _0x4daa7b=_0x27ba11;for(let _0x396f1c=_0x1883ce[_0x4daa7b(0x34c)];_0x396f1c<=_0x1883ce[_0x4daa7b(0x2b0)];_0x396f1c++)for(let _0x237f81=_0x1883ce['startColumn'];_0x237f81<=_0x1883ce[_0x4daa7b(0x39d)];_0x237f81++)_0x31be3e[_0x4daa7b(0x147)](_0x396f1c,_0x237f81);});}_0x2ff5d4&&((_0x4b0877=(_0x173e2b=this[_0x27ba11(0x1bc)][_0x27ba11(0x326)](_0x3d4e1e))==null?void 0x0:_0x173e2b['get'](_0x3734ba))==null||_0x4b0877[_0x27ba11(0x43d)](_0x2c07d2)),this[_0x27ba11(0x310)][_0x27ba11(0x409)]({'unitId':_0x3d4e1e,'subUnitId':_0x3734ba,'valueMatrix':_0x31be3e,'pivotTableId':_0x2c07d2,'rangesCache':void 0x0,'type':_0x3f089c[_0x27ba11(0x2a8)]}),this[_0x27ba11(0x23a)][_0x27ba11(0x432)](_0x3d4e1e,_0x3734ba,_0x279ac7,_0x2c07d2);}[_0x5565f1(0x1e9)](_0x188a19,_0x1e1de6,_0x47fff1){const _0x25acdd=_0x5565f1;var _0x32f36a,_0x5211f0,_0x531354,_0x4339ac,_0x15a36c,_0x179556;return this[_0x25acdd(0x1bc)][_0x25acdd(0x189)](_0x188a19)||this[_0x25acdd(0x1bc)]['set'](_0x188a19,new Map()),(_0x32f36a=this['_pivotRenderInfoCache']['get'](_0x188a19))!=null&&_0x32f36a[_0x25acdd(0x189)](_0x1e1de6)||(_0x5211f0=this[_0x25acdd(0x1bc)][_0x25acdd(0x326)](_0x188a19))==null||_0x5211f0[_0x25acdd(0x246)](_0x1e1de6,new Map()),(_0x4339ac=(_0x531354=this['_pivotRenderInfoCache']['get'](_0x188a19))==null?void 0x0:_0x531354[_0x25acdd(0x326)](_0x1e1de6))!=null&&_0x4339ac[_0x25acdd(0x189)](_0x47fff1)||(_0x179556=(_0x15a36c=this[_0x25acdd(0x1bc)][_0x25acdd(0x326)](_0x188a19))==null?void 0x0:_0x15a36c['get'](_0x1e1de6))==null||_0x179556[_0x25acdd(0x246)](_0x47fff1,{}),this[_0x25acdd(0x1bc)][_0x25acdd(0x326)](_0x188a19)[_0x25acdd(0x326)](_0x1e1de6)['get'](_0x47fff1);}[_0x5565f1(0x1dc)](_0x123f8a,_0x500d1d){const _0x15e913=_0x5565f1;var _0x3761d7,_0x560fbc;return this[_0x15e913(0x313)][_0x15e913(0x189)](_0x123f8a)||this[_0x15e913(0x313)][_0x15e913(0x246)](_0x123f8a,new Map()),(_0x3761d7=this[_0x15e913(0x313)]['get'](_0x123f8a))!=null&&_0x3761d7[_0x15e913(0x189)](_0x500d1d)||(_0x560fbc=this['_pivotRenderValueMatrixCache']['get'](_0x123f8a))==null||_0x560fbc[_0x15e913(0x246)](_0x500d1d,new _0x49f92f['ObjectMatrix']()),this[_0x15e913(0x313)][_0x15e913(0x326)](_0x123f8a)[_0x15e913(0x326)](_0x500d1d);}[_0x5565f1(0x26d)](_0x4f0cb0,_0x2914f6,_0x105ac5,_0x5016d8){const _0xe07890=_0x5565f1;var _0x395dfc,_0x183ecc;const _0x100c76=(_0x183ecc=(_0x395dfc=this[_0xe07890(0x313)][_0xe07890(0x326)](_0x4f0cb0))==null?void 0x0:_0x395dfc[_0xe07890(0x326)](_0x2914f6))==null?void 0x0:_0x183ecc[_0xe07890(0x1b6)](_0x105ac5,_0x5016d8);if(_0x100c76!=null)return _0x100c76;}[_0x5565f1(0x18d)](_0x3f56f5,_0x1e7ec1,_0x45bfe0,_0x7eaebc){const _0x307f15=_0x5565f1;var _0x254309;const _0x4d64ab=_0x49f92f[_0x307f15(0x42d)](_0x45bfe0,_0x7eaebc),_0x2616e2=(_0x254309=this[_0x307f15(0x1bc)][_0x307f15(0x326)](_0x3f56f5))==null?void 0x0:_0x254309[_0x307f15(0x326)](_0x1e7ec1);return _0x2616e2?Array['from'](_0x2616e2[_0x307f15(0x37a)]())[_0x307f15(0x34e)](_0x2115cc=>{const _0x15cb37=_0x307f15,_0x9d312b=_0x2616e2[_0x15cb37(0x326)](_0x2115cc),_0x50fcf7=_0x9d312b==null?void 0x0:_0x9d312b['rangesInfo'];return _0x50fcf7?Object[_0x15cb37(0x37a)](_0x50fcf7)[_0x15cb37(0x145)](_0x14279b=>_0x50fcf7[_0x14279b]['some'](_0x5310d9=>_0x49f92f[_0x15cb37(0x23f)]['contains'](_0x5310d9,_0x4d64ab))):!0x1;}):void 0x0;}[_0x5565f1(0x1fb)](_0x3f2825,_0x188510,_0x30c7ad){const _0x2262d3=_0x5565f1;var _0x43f8eb;const _0x1a24b2=(_0x43f8eb=this[_0x2262d3(0x1bc)][_0x2262d3(0x326)](_0x3f2825))==null?void 0x0:_0x43f8eb[_0x2262d3(0x326)](_0x188510),_0x28e2d1=[];return _0x1a24b2&&Array[_0x2262d3(0x3b7)](_0x1a24b2[_0x2262d3(0x37a)]())['forEach'](_0x1227e4=>{const _0x4cacd9=_0x2262d3,_0x244066=_0x1a24b2[_0x4cacd9(0x326)](_0x1227e4),_0x43fda0=_0x244066==null?void 0x0:_0x244066[_0x4cacd9(0x39f)];if(_0x43fda0)for(const _0x5a06a8 of Object['values'](_0x43fda0)){let _0x5d4eae=!0x1;for(const _0x28b8d4 of _0x5a06a8)if(_0x49f92f[_0x4cacd9(0x23f)][_0x4cacd9(0x3e6)](_0x28b8d4,_0x30c7ad)){_0x28e2d1[_0x4cacd9(0x254)](_0x1227e4),_0x5d4eae=!0x0;break;}if(_0x5d4eae)break;}}),_0x28e2d1;}[_0x5565f1(0x3a2)](_0x19e6ea,_0x594e5d){const _0x2f55df=_0x5565f1;var _0x3d609a,_0x18fe4b;return(_0x18fe4b=(_0x3d609a=this['_pivotRenderValueMatrixCache']['get'](_0x19e6ea))==null?void 0x0:_0x3d609a[_0x2f55df(0x326)](_0x594e5d))!=null?_0x18fe4b:new _0x49f92f['ObjectMatrix']();}[_0x5565f1(0x1a4)](_0x3ad88f,_0x3a252d){const _0x147cee=_0x5565f1;var _0x4bf689;return(_0x4bf689=this['_pivotRenderInfoCache'][_0x147cee(0x326)](_0x3ad88f))==null?void 0x0:_0x4bf689['get'](_0x3a252d);}[_0x5565f1(0x2f4)](_0x3bbaa4,_0x77f1e9,_0x5dd228){const _0x8507e4=_0x5565f1;var _0x243f24,_0x539b97;return(_0x539b97=(_0x243f24=this['_pivotRenderInfoCache'][_0x8507e4(0x326)](_0x3bbaa4))==null?void 0x0:_0x243f24[_0x8507e4(0x326)](_0x77f1e9))==null?void 0x0:_0x539b97['get'](_0x5dd228);}[_0x5565f1(0x300)](_0x11a353){const _0x37af1d=_0x5565f1;this[_0x37af1d(0x1bc)][_0x37af1d(0x43d)](_0x11a353),this[_0x37af1d(0x313)]['delete'](_0x11a353);}[_0x5565f1(0x251)](_0x21bc9c,_0x3ad0db){const _0x5d4bcb=_0x5565f1;this[_0x5d4bcb(0x42e)][_0x5d4bcb(0x409)]({'unitId':_0x21bc9c,'subUnitId':_0x3ad0db});}},_0x47953f[_0x5565f1(0x3c8)]=_0x5a426d([_0x540ae0(0x0,_0x49f92f['Inject'](_0x49f92f['LocaleService'])),_0x540ae0(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x22e)])),_0x540ae0(0x2,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x11d)])),_0x540ae0(0x3,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x26f)])),_0x540ae0(0x4,_0x49f92f['Inject'](_0x29b248[_0x5565f1(0x177)]))],_0x47953f['SheetsPivotTableAdaptorModel']);var _0x415c78=Object[_0x5565f1(0x14a)],_0x1fc9a7=(_0x34f6a3,_0x213610,_0x204d56,_0x1abe00)=>{const _0x261a14=_0x5565f1;for(var _0x55e47a=_0x1abe00>0x1?void 0x0:_0x1abe00?_0x415c78(_0x213610,_0x204d56):_0x213610,_0x41a646=_0x34f6a3[_0x261a14(0x37f)]-0x1,_0x4b0d7c;_0x41a646>=0x0;_0x41a646--)(_0x4b0d7c=_0x34f6a3[_0x41a646])&&(_0x55e47a=_0x4b0d7c(_0x55e47a)||_0x55e47a);return _0x55e47a;},_0x16065e=(_0x304869,_0x5ae367)=>(_0x56832a,_0x33fa93)=>_0x5ae367(_0x56832a,_0x33fa93,_0x304869);_0x47953f['SheetsPivotTableService']=class extends _0x49f92f[_0x5565f1(0x425)]{constructor(_0x32f967,_0x487b49){const _0x59ebe0=_0x5565f1;super(),_0x246801(this,_0x59ebe0(0x3dc),new _0x49f92f[(_0x59ebe0(0x1ba))]({'PIVOT_PERFORM_CHECK':_0x2d81a5})),_0x246801(this,_0x59ebe0(0x1fe),new _0x49f92f[(_0x59ebe0(0x1a8))]({'PIVOT_MUTATION_GENERATE':_0x3c8d53})),(this[_0x59ebe0(0x264)]=_0x32f967,this[_0x59ebe0(0x299)]=_0x487b49,this[_0x59ebe0(0x2a0)]());}[_0x5565f1(0x2a0)](){const _0x307440=_0x5565f1;this[_0x307440(0x1a0)]();}[_0x5565f1(0x196)](_0x1ca5eb){const _0x13c411=_0x5565f1;return this['asyncInterceptor'][_0x13c411(0x3ab)](_0x2d81a5)(!0x1,_0x1ca5eb);}['_initViewModelBySheetInterceptor'](){const _0x3a8f5c=_0x5565f1;this[_0x3a8f5c(0x3ae)](this[_0x3a8f5c(0x264)][_0x3a8f5c(0x269)](_0x29b248['INTERCEPTOR_POINT']['CELL_CONTENT'],{'priority':0xc8,'effect':_0x49f92f['InterceptorEffectEnum'][_0x3a8f5c(0x359)]|_0x49f92f[_0x3a8f5c(0x16e)][_0x3a8f5c(0x296)],'handler':(_0x52a224,_0x1b40a3,_0x58f291)=>{const _0x4a76b9=_0x3a8f5c,{row:_0x23dea6,col:_0x354607,unitId:_0x138808,subUnitId:_0x380a78,workbook:_0x31aee0}=_0x1b40a3,_0x15b217=this[_0x4a76b9(0x299)][_0x4a76b9(0x26d)](_0x138808,_0x380a78,_0x23dea6,_0x354607);if(!_0x15b217)return _0x58f291(_0x52a224);const _0x11b5ec={..._0x52a224};(_0x15b217['v']||_0x15b217['v']===0x0)&&(_0x11b5ec['v']=_0x15b217['v']),_0x15b217['t']&&(_0x11b5ec['t']=_0x15b217['t']);const _0x792360=(typeof(_0x52a224==null?void 0x0:_0x52a224['s'])==_0x4a76b9(0x2fa)?_0x31aee0['getStyles']()[_0x4a76b9(0x326)](_0x52a224==null?void 0x0:_0x52a224['s']):_0x52a224==null?void 0x0:_0x52a224['s'])||{},_0x5a0379=_0x31aee0[_0x4a76b9(0x2dd)]()[_0x4a76b9(0x326)](_0x15b217['s']),_0x4af461={..._0x5a0379,..._0x792360};_0x5a0379!=null&&_0x5a0379['n']&&(_0x4af461['n']=_0x5a0379['n']);const _0x5ac8e2=_0x31aee0[_0x4a76b9(0x2dd)]()[_0x4a76b9(0x3c9)](_0x4af461);return _0x11b5ec['s']=_0x5ac8e2,(_0x15b217[_0x4a76b9(0x403)]===_0x16b0d8[_0x4a76b9(0x3f9)][_0x4a76b9(0x13e)]||_0x15b217[_0x4a76b9(0x403)]===_0x16b0d8[_0x4a76b9(0x3f9)][_0x4a76b9(0x122)])&&(_0x11b5ec[_0x4a76b9(0x343)]={},_0x11b5ec[_0x4a76b9(0x343)]['leftOffset']=_0x240c1f),_0x58f291(_0x11b5ec);}}));}},_0x47953f['SheetsPivotTableService']=_0x1fc9a7([_0x16065e(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x29b248[_0x5565f1(0x290)])),_0x16065e(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x3c8)]))],_0x47953f[_0x5565f1(0x2c5)]);const _0x417bba={'id':_0x5565f1(0x148),'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'handler':(_0x4b8644,_0x12bfc9)=>{const _0x540101=_0x5565f1;if(!_0x12bfc9)return!0x1;if(!!_0x4b8644[_0x540101(0x326)](_0x49f92f[_0x540101(0x404)])[_0x540101(0x2ee)](_0x511ea3))return!0x0;const {pivotTableId:_0x4753df,fieldJSON:_0x49fa45,unitId:_0x3e4a0e,subUnitId:_0x239bd5}=_0x12bfc9;let _0x3782ad;const {dataFieldType:_0x704956,id:_0xf69d23,name:_0x4fbb59,hexCode:_0x5e08f7,originalFieldId:_0x19ce02}=_0x49fa45;if(_0x704956===_0x16b0d8['PivotDataFieldTypeEnum']['dateGroupField']&&(_0x3782ad=new _0x16b0d8['DateGroupField'](_0xf69d23,_0x4fbb59,_0x5e08f7,_0x19ce02)),!_0x3782ad)return!0x1;const _0x19bc06=_0x4b8644[_0x540101(0x326)](_0x47953f[_0x540101(0x120)]),_0x209b35=_0x19bc06['getDataFieldManager'](_0x3e4a0e),_0x2a6f15=_0x209b35['getCollection'](_0x4753df);_0x209b35[_0x540101(0x198)](_0x3782ad),_0x2a6f15[_0x540101(0x30b)](_0x3782ad['getId'](),_0x3782ad['getName']());const _0x5735b9=_0x2a6f15[_0x540101(0x27e)](_0x3782ad[_0x540101(0x2e2)]());_0x5735b9&&_0x3782ad[_0x540101(0x116)](_0x5735b9);const _0x1d078e=_0x19bc06[_0x540101(0x215)](_0x3e4a0e,_0x239bd5,_0x4753df);return _0x19bc06[_0x540101(0x265)]({'unitId':_0x3e4a0e,'subUnitId':_0x239bd5,'token':_0x4753df,'type':_0x1e0edb['Set'],'pivotConfig':_0x1d078e}),!0x0;}},_0x4a69bb={'id':_0x5565f1(0x2ac),'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'handler':(_0x2c9c9c,_0x396b0f)=>{const _0x1ef66e=_0x5565f1;if(!_0x396b0f)return!0x1;if(!!_0x2c9c9c[_0x1ef66e(0x326)](_0x49f92f[_0x1ef66e(0x404)])[_0x1ef66e(0x2ee)](_0x511ea3))return!0x0;const {pivotTableId:_0x452dad,dataFieldId:_0x59f2e2,unitId:_0x416e75,subUnitId:_0x85ceb9}=_0x396b0f,_0x3614a4=_0x2c9c9c['get'](_0x47953f[_0x1ef66e(0x120)]),_0x9b0de9=_0x3614a4[_0x1ef66e(0x40e)](_0x416e75);_0x9b0de9[_0x1ef66e(0x312)](_0x452dad)['deleteField'](_0x59f2e2);let _0x5e654d=!0x0;for(const _0xc8e00f in _0x9b0de9[_0x1ef66e(0x40d)])if(_0x9b0de9[_0x1ef66e(0x40d)][_0xc8e00f]['getFieldIds']()[_0x1ef66e(0x1c1)](_0x59f2e2)){_0x5e654d=!0x1;break;}_0x5e654d&&_0x9b0de9[_0x1ef66e(0x178)](_0x59f2e2);const _0x1102e9=_0x3614a4[_0x1ef66e(0x215)](_0x416e75,_0x85ceb9,_0x452dad);return _0x3614a4[_0x1ef66e(0x265)]({'unitId':_0x416e75,'subUnitId':_0x85ceb9,'token':_0x452dad,'type':_0x1e0edb[_0x1ef66e(0x369)],'pivotConfig':_0x1102e9}),!0x0;}};function _0x452f49(_0x56e730,_0x55bf28){const _0x2a3821=_0x5565f1;switch(_0x55bf28){case _0x16b0d8['PivotTableFiledAreaEnum']['Value']:return _0x56e730['valueFields'];case _0x16b0d8[_0x2a3821(0x440)]['Filter']:return _0x56e730[_0x2a3821(0x175)];case _0x16b0d8[_0x2a3821(0x440)][_0x2a3821(0x3b6)]:return _0x56e730['rowFields'];case _0x16b0d8['PivotTableFiledAreaEnum'][_0x2a3821(0x28b)]:return _0x56e730['columnFields'];default:return[];}}function _0x5a44b4(_0x270885,_0x97faa5){const _0x25e79f=_0x5565f1;return _0x270885[_0x25e79f(0x307)][_0x97faa5]||_0x270885[_0x25e79f(0x172)][_0x97faa5];}function _0xebf397(_0x24a25d,_0x2f4afe){const _0x14b446=_0x5565f1,{area:_0xd4cbd5,fieldJson:_0x51a8aa,index:_0x531c94}=_0x2f4afe;_0xd4cbd5===_0x16b0d8[_0x14b446(0x440)]['Value']?_0x24a25d['measure'][_0x51a8aa['id']]=_0x51a8aa:_0x24a25d['dimension'][_0x51a8aa['id']]=_0x51a8aa,_0x452f49(_0x24a25d,_0xd4cbd5)[_0x14b446(0x3c4)](_0x531c94,0x0,_0x51a8aa['id']);}function _0x41aa43(_0x11dfd2,_0x47658b){const _0x448624=_0x5565f1,{area:_0x2cd2f8,fieldId:_0x498bdf,index:_0x5914c6}=_0x47658b;_0x2cd2f8===_0x16b0d8[_0x448624(0x440)]['Value']?delete _0x11dfd2[_0x448624(0x307)][_0x498bdf]:delete _0x11dfd2[_0x448624(0x172)][_0x498bdf],_0x452f49(_0x11dfd2,_0x2cd2f8)[_0x448624(0x3c4)](_0x5914c6,0x1);}function _0x301324(_0x39d360,_0x3b2b42){const _0x173084=_0x5565f1,{fieldId:_0x445da2,name:_0x840428}=_0x3b2b42,_0x144b1a=_0x5a44b4(_0x39d360,_0x445da2);_0x144b1a&&(_0x144b1a[_0x173084(0x1bd)]=_0x840428);}function _0x3e0493(_0x1ca931,_0x128433){const _0x5e76c3=_0x5565f1,{fieldId:_0x2343d5,collapse:_0x46bfec,item:_0x6227b0}=_0x128433;_0x6227b0!==void 0x0?(_0x1ca931['collapseInfo'][_0x2343d5]=_0x1ca931[_0x5e76c3(0x12b)][_0x2343d5]||{},_0x1ca931['collapseInfo'][_0x2343d5][_0x6227b0]=_0x46bfec):_0x1ca931[_0x5e76c3(0x12b)][_0x2343d5]=_0x46bfec;}function _0x203b5a(_0x1fd0c5,_0x57db7a){const _0x2e6cb6=_0x5565f1,{fieldId:_0xfd8f14,format:_0xfdbaa3}=_0x57db7a,_0x580a1f=_0x5a44b4(_0x1fd0c5,_0xfd8f14);_0x580a1f&&(_0x580a1f[_0x2e6cb6(0x40c)]=_0xfdbaa3);}function _0x99b8f4(_0x369120,_0x4e3e88){const _0x1c60c5=_0x5565f1,{fieldId:_0x5d83c8,filterInfo:_0x35cb58}=_0x4e3e88,_0x150394=_0x5a44b4(_0x369120,_0x5d83c8);_0x150394&&(_0x150394[_0x1c60c5(0x119)]=_0x35cb58);}function _0x2d0884(_0x3a19a2,_0x32e3b3){const _0x2f5a88=_0x5565f1,{fieldId:_0x43ae95,filterInfo:_0x1b6f09}=_0x32e3b3,_0x298a4a=_0x3a19a2['valueFilter'][_0x2f5a88(0x209)](_0x23a163=>_0x23a163[_0x2f5a88(0x27a)]!==_0x43ae95);_0x1b6f09&&_0x298a4a[_0x2f5a88(0x254)]({'fieldId':_0x43ae95,'filterInfo':_0x1b6f09}),_0x3a19a2[_0x2f5a88(0x2f2)]=_0x298a4a;}function _0xed741a(_0xabf9cc,_0x2f6e56){const _0x36c306=_0x5565f1,{fieldId:_0x54bdcb,subtotalType:_0x34ad24}=_0x2f6e56,_0x2223ad=_0x5a44b4(_0xabf9cc,_0x54bdcb);_0x2223ad&&(_0x2223ad[_0x36c306(0x3ff)]=_0x34ad24);}function _0xd6f6ac(_0x446786,_0x1e551c){const _0x3a3896=_0x5565f1,{fieldId:_0x35ad69,oldArea:_0x3e4766,area:_0x502f36,oldIndex:_0x4e6d0e,index:_0x3f35ef}=_0x1e551c,_0x57cc6a=_0x3e4766!==_0x16b0d8[_0x3a3896(0x440)][_0x3a3896(0x359)]&&_0x502f36===_0x16b0d8[_0x3a3896(0x440)][_0x3a3896(0x359)],_0x428f22=_0x3e4766===_0x16b0d8[_0x3a3896(0x440)]['Value']&&_0x502f36!==_0x16b0d8[_0x3a3896(0x440)][_0x3a3896(0x359)];if(_0x57cc6a||_0x428f22){const _0x545467=_0x5a44b4(_0x446786,_0x35ad69);_0x545467&&(_0x57cc6a?(delete _0x446786[_0x3a3896(0x172)][_0x35ad69],_0x446786[_0x3a3896(0x307)][_0x35ad69]=_0x545467):(delete _0x446786['measure'][_0x35ad69],_0x446786[_0x3a3896(0x172)][_0x35ad69]=_0x545467));}const _0x22292f=_0x452f49(_0x446786,_0x3e4766),_0x54b357=_0x452f49(_0x446786,_0x502f36);_0x22292f['splice'](_0x4e6d0e,0x1),_0x54b357[_0x3a3896(0x3c4)](_0x3f35ef,0x0,_0x35ad69);}function _0x2ddcb6(_0x4666fd,_0x404b3f){const {valuePosition:_0xeda138,index:_0x43d898}=_0x404b3f;_0x4666fd['valuePosition']=_0xeda138,_0x4666fd['valueIndex']=_0x43d898;}function _0x2771a5(_0x5cefe8,_0x5b4388){const _0x20ec9a=_0x5565f1,{tableFieldId:_0x57845b,sourceName:_0x31b5a5,dataFieldId:_0x3096fa}=_0x5b4388,_0x29f667=_0x5a44b4(_0x5cefe8,_0x57845b);_0x29f667&&(_0x29f667[_0x20ec9a(0x3a9)]=_0x31b5a5,_0x29f667['dataFieldId']=_0x3096fa);}function _0x574874(_0x574014,_0x5e9453){const {fieldId:_0xe34f58,sortInfo:_0x9bc649}=_0x5e9453,_0x20f66c=_0x5a44b4(_0x574014,_0xe34f58);_0x20f66c&&(_0x20f66c['sortInfo']=_0x9bc649);}function _0x4c00a7(_0x3668f5,_0x4435da){const _0x476b2d=_0x5565f1,{options:_0x556d9e}=_0x4435da;_0x3668f5[_0x476b2d(0x211)]={..._0x3668f5['options'],..._0x556d9e};}const _0x453e87={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x38c),'handler'(_0x237027,_0x31e850){const _0x1ea962=_0x5565f1;if(!_0x31e850)return!0x1;if(!!_0x237027[_0x1ea962(0x326)](_0x49f92f[_0x1ea962(0x404)])['getConfig'](_0x511ea3))return!0x0;const _0x237e4e=_0x237027[_0x1ea962(0x326)](_0x47953f[_0x1ea962(0x120)]),{pivotTableId:_0x58b686,fieldJson:_0x5da4da,area:_0x3b5a8e,index:_0x27e774,unitId:_0x400144,subUnitId:_0x19580f}=_0x31e850,_0xb95247=_0x237e4e[_0x1ea962(0x233)](_0x58b686);if(!_0xb95247)return!0x1;let _0x2cbdce;_0x3b5a8e===_0x16b0d8[_0x1ea962(0x440)]['Value']?_0x2cbdce=_0x16b0d8[_0x1ea962(0x205)](_0x5da4da):_0x2cbdce=_0x16b0d8[_0x1ea962(0x1d2)](_0x5da4da),_0xb95247[_0x1ea962(0x30b)](_0x2cbdce,_0x3b5a8e,_0x27e774);const _0x197b82=_0x237e4e[_0x1ea962(0x3de)](_0x400144,_0x19580f,_0x58b686);_0xebf397(_0x197b82,_0x31e850);const _0x1fcbb9=_0x237e4e[_0x1ea962(0x215)](_0x400144,_0x19580f,_0x58b686);return _0x237e4e[_0x1ea962(0x265)]({'unitId':_0x400144,'subUnitId':_0x19580f,'token':_0x58b686,'type':_0x1e0edb[_0x1ea962(0x369)],'pivotConfig':_0x1fcbb9}),!0x0;}},_0x3b2c81={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x17c),'handler'(_0x2ca726,_0x18afe0){const _0x15bc25=_0x5565f1;if(!_0x18afe0)return!0x1;if(!!_0x2ca726[_0x15bc25(0x326)](_0x49f92f[_0x15bc25(0x404)])[_0x15bc25(0x2ee)](_0x511ea3))return!0x0;const _0x532811=_0x2ca726[_0x15bc25(0x326)](_0x47953f[_0x15bc25(0x120)]),{pivotTableId:_0x1b85d6,fieldId:_0x1fb397,unitId:_0x3fe657,subUnitId:_0x4104ec}=_0x18afe0,_0x3817b5=_0x532811[_0x15bc25(0x233)](_0x1b85d6);if(!_0x3817b5)return!0x1;_0x3817b5[_0x15bc25(0x376)](_0x1fb397);const _0x44cf17=_0x532811[_0x15bc25(0x3de)](_0x3fe657,_0x4104ec,_0x1b85d6);_0x41aa43(_0x44cf17,_0x18afe0);const _0xb6b0c6=_0x532811[_0x15bc25(0x215)](_0x3fe657,_0x4104ec,_0x1b85d6);return _0x532811[_0x15bc25(0x265)]({'unitId':_0x3fe657,'subUnitId':_0x4104ec,'token':_0x1b85d6,'type':_0x1e0edb['Set'],'pivotConfig':_0xb6b0c6}),!0x0;}},_0x2b9b8c={'type':_0x49f92f['CommandType'][_0x5565f1(0x1fc)],'id':_0x5565f1(0x39a),'handler'(_0x35ff5c,_0x4a150c){const _0x52ce2d=_0x5565f1;if(!_0x4a150c)return!0x1;if(!!_0x35ff5c[_0x52ce2d(0x326)](_0x49f92f[_0x52ce2d(0x404)])[_0x52ce2d(0x2ee)](_0x511ea3))return!0x0;const _0x1c1b1d=_0x35ff5c[_0x52ce2d(0x326)](_0x47953f['SheetsPivotDataSourceModel']),{unitId:_0x1fb73a,subUnitId:_0x309d9c,pivotTableId:_0x7268d0,fieldId:_0x5cf8cb,name:_0x4070e5}=_0x4a150c,_0x448327=_0x1c1b1d[_0x52ce2d(0x233)](_0x7268d0);if(!_0x448327)return!0x1;_0x448327[_0x52ce2d(0x25e)](_0x5cf8cb,_0x4070e5);const _0x530de6=_0x1c1b1d['getPivotTableModelConfig'](_0x1fb73a,_0x309d9c,_0x7268d0);return _0x301324(_0x530de6,_0x4a150c),_0x1c1b1d[_0x52ce2d(0x265)]({'unitId':_0x1fb73a,'subUnitId':_0x309d9c,'token':_0x7268d0,'type':_0x1e0edb[_0x52ce2d(0x369)]}),!0x0;}},_0x5d474={'type':_0x49f92f['CommandType'][_0x5565f1(0x1fc)],'id':_0x5565f1(0x216),'handler'(_0x2d1b69,_0x2a6e30){const _0x5b31f9=_0x5565f1;if(!_0x2a6e30)return!0x1;if(!!_0x2d1b69[_0x5b31f9(0x326)](_0x49f92f['IConfigService'])[_0x5b31f9(0x2ee)](_0x511ea3))return!0x0;const _0x28765c=_0x2d1b69[_0x5b31f9(0x326)](_0x47953f[_0x5b31f9(0x120)]),{unitId:_0x15aee4,subUnitId:_0xe1fdaa,pivotTableId:_0x2a125d,fieldId:_0x515933,collapse:_0x52c023,item:_0x2485c0}=_0x2a6e30,_0x2b82d9=_0x28765c[_0x5b31f9(0x233)](_0x2a125d);if(!_0x2b82d9)return!0x1;_0x2b82d9[_0x5b31f9(0x417)](_0x515933,_0x52c023,_0x2485c0);const _0x5778da=_0x28765c[_0x5b31f9(0x3de)](_0x15aee4,_0xe1fdaa,_0x2a125d);return _0x3e0493(_0x5778da,_0x2a6e30),_0x28765c['addDirtyPivotTable']({'unitId':_0x15aee4,'subUnitId':_0xe1fdaa,'token':_0x2a125d,'type':_0x1e0edb[_0x5b31f9(0x369)]}),!0x0;}},_0x4432ef={'type':_0x49f92f['CommandType']['MUTATION'],'id':_0x5565f1(0x21c),'handler'(_0x3f8e20,_0x498233){const _0x55f939=_0x5565f1;if(!_0x498233)return!0x1;if(!!_0x3f8e20[_0x55f939(0x326)](_0x49f92f[_0x55f939(0x404)])[_0x55f939(0x2ee)](_0x511ea3))return!0x0;const _0x3d38d8=_0x3f8e20['get'](_0x47953f[_0x55f939(0x120)]),{unitId:_0x58addd,subUnitId:_0x40e504,pivotTableId:_0x34c759,fieldId:_0x2606bc,format:_0x51e573}=_0x498233,_0x585660=_0x3d38d8[_0x55f939(0x233)](_0x34c759);if(!_0x585660)return!0x1;_0x585660[_0x55f939(0x12f)](_0x2606bc,_0x51e573);const _0x4424cb=_0x3d38d8[_0x55f939(0x3de)](_0x58addd,_0x40e504,_0x34c759);return _0x203b5a(_0x4424cb,_0x498233),_0x3d38d8[_0x55f939(0x265)]({'unitId':_0x58addd,'subUnitId':_0x40e504,'token':_0x34c759,'type':_0x1e0edb[_0x55f939(0x369)]}),!0x0;}},_0x40cd4c={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x169),'handler'(_0x3ab38c,_0x2f5e86){const _0x42e257=_0x5565f1;if(!_0x2f5e86)return!0x1;if(!!_0x3ab38c[_0x42e257(0x326)](_0x49f92f[_0x42e257(0x404)])[_0x42e257(0x2ee)](_0x511ea3))return!0x0;const _0x5e169a=_0x3ab38c[_0x42e257(0x326)](_0x47953f[_0x42e257(0x120)]),{unitId:_0xe1a157,subUnitId:_0x341172,pivotTableId:_0x53559d,fieldId:_0xcbcf7c,filterInfo:_0x46a98a}=_0x2f5e86,_0x1bc0a3=_0x5e169a[_0x42e257(0x233)](_0x53559d);if(!_0x1bc0a3)return!0x1;_0x1bc0a3[_0x42e257(0x37b)](_0xcbcf7c,_0x46a98a);const _0x2f525b=_0x5e169a[_0x42e257(0x3de)](_0xe1a157,_0x341172,_0x53559d);return _0x99b8f4(_0x2f525b,_0x2f5e86),_0x5e169a[_0x42e257(0x265)]({'unitId':_0xe1a157,'subUnitId':_0x341172,'token':_0x53559d,'type':_0x1e0edb[_0x42e257(0x369)]}),!0x0;}},_0x326349={'type':_0x49f92f[_0x5565f1(0x1ae)]['MUTATION'],'id':_0x5565f1(0x434),'handler'(_0x3446d6,_0x5434b7){const _0x539a5d=_0x5565f1;if(!_0x5434b7)return!0x1;if(!!_0x3446d6['get'](_0x49f92f[_0x539a5d(0x404)])[_0x539a5d(0x2ee)](_0x511ea3))return!0x0;const _0x10db05=_0x3446d6[_0x539a5d(0x326)](_0x47953f[_0x539a5d(0x120)]),{unitId:_0x229925,subUnitId:_0x3852f0,pivotTableId:_0x18c46e,options:_0x3fab00}=_0x5434b7,_0x14677a=_0x10db05['getPivotTableInstance'](_0x18c46e);if(!_0x14677a)return!0x1;_0x14677a['setOptions'](_0x3fab00);const _0x2b3dfd=_0x10db05['getPivotTableModelConfig'](_0x229925,_0x3852f0,_0x18c46e);return _0x4c00a7(_0x2b3dfd,_0x5434b7),_0x10db05[_0x539a5d(0x265)]({'unitId':_0x229925,'subUnitId':_0x3852f0,'token':_0x18c46e,'type':_0x1e0edb[_0x539a5d(0x369)]}),!0x0;}},_0x4db253={'type':_0x49f92f[_0x5565f1(0x1ae)]['MUTATION'],'id':'sheet.mutation.set-pivot-sort-info','handler'(_0x14710a,_0x679d24){const _0x163a3f=_0x5565f1;if(!_0x679d24)return!0x1;if(!!_0x14710a[_0x163a3f(0x326)](_0x49f92f['IConfigService'])[_0x163a3f(0x2ee)](_0x511ea3))return!0x0;const _0x4a6d79=_0x14710a[_0x163a3f(0x326)](_0x47953f[_0x163a3f(0x120)]),{unitId:_0x2994c7,subUnitId:_0x165ed8,pivotTableId:_0x2d5c6f,sortInfo:_0x1899ef,fieldId:_0x33eba8}=_0x679d24,_0x37819e=_0x4a6d79[_0x163a3f(0x233)](_0x2d5c6f);if(!_0x37819e)return!0x1;_0x37819e[_0x163a3f(0x16f)](_0x33eba8,_0x1899ef);const _0x5e7a09=_0x4a6d79[_0x163a3f(0x3de)](_0x2994c7,_0x165ed8,_0x2d5c6f);return _0x574874(_0x5e7a09,_0x679d24),_0x4a6d79['addDirtyPivotTable']({'unitId':_0x2994c7,'subUnitId':_0x165ed8,'token':_0x2d5c6f,'type':_0x1e0edb[_0x163a3f(0x369)]}),!0x0;}},_0x1b4e76={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x26a),'handler'(_0x2c3d9f,_0x48900f){const _0x3edfe8=_0x5565f1;if(!_0x48900f)return!0x1;if(!!_0x2c3d9f[_0x3edfe8(0x326)](_0x49f92f['IConfigService'])[_0x3edfe8(0x2ee)](_0x511ea3))return!0x0;const _0x382eb1=_0x2c3d9f[_0x3edfe8(0x326)](_0x47953f[_0x3edfe8(0x120)]),{unitId:_0x281761,subUnitId:_0x15f15e,pivotTableId:_0x408020,fieldId:_0x48b6cb,subtotalType:_0x2ea5f9}=_0x48900f,_0x16471d=_0x382eb1[_0x3edfe8(0x233)](_0x408020);if(!_0x16471d)return!0x1;_0x16471d['setSubtotalType'](_0x48b6cb,_0x2ea5f9);const _0x589d24=_0x382eb1[_0x3edfe8(0x3de)](_0x281761,_0x15f15e,_0x408020);return _0xed741a(_0x589d24,_0x48900f),_0x382eb1[_0x3edfe8(0x265)]({'unitId':_0x281761,'subUnitId':_0x15f15e,'token':_0x408020,'type':_0x1e0edb['Set']}),!0x0;}},_0x423b43={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x207),'handler'(_0x181829,_0x5553ed){const _0x24c8dd=_0x5565f1;if(!_0x5553ed)return!0x1;if(!!_0x181829[_0x24c8dd(0x326)](_0x49f92f[_0x24c8dd(0x404)])['getConfig'](_0x511ea3))return!0x0;const _0x32c2f3=_0x181829['get'](_0x47953f['SheetsPivotDataSourceModel']),{unitId:_0x7f428d,subUnitId:_0xfeec3e,pivotTableId:_0x23f99e,fieldId:_0x1040f0,filterInfo:_0xb6e2eb}=_0x5553ed,_0x57bca6=_0x32c2f3[_0x24c8dd(0x233)](_0x23f99e);if(!_0x57bca6)return!0x1;_0x57bca6[_0x24c8dd(0x281)](_0x1040f0,_0xb6e2eb);const _0x52df8b=_0x32c2f3[_0x24c8dd(0x3de)](_0x7f428d,_0xfeec3e,_0x23f99e);return _0x2d0884(_0x52df8b,_0x5553ed),_0x32c2f3['addDirtyPivotTable']({'unitId':_0x7f428d,'subUnitId':_0xfeec3e,'token':_0x23f99e,'type':_0x1e0edb[_0x24c8dd(0x369)]}),!0x0;}},_0x3f40e7={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x2e1),'handler'(_0x75b777,_0x26b500){const _0x50a935=_0x5565f1;if(!_0x26b500)return!0x1;if(!!_0x75b777['get'](_0x49f92f[_0x50a935(0x404)])[_0x50a935(0x2ee)](_0x511ea3))return!0x0;const _0x548ad7=_0x75b777[_0x50a935(0x326)](_0x47953f[_0x50a935(0x120)]),{unitId:_0x1239cc,subUnitId:_0x470322,pivotTableId:_0x4ab9df,area:_0x1fdf01,index:_0x4bd0c7,fieldId:_0x1da977}=_0x26b500,_0x25263d=_0x548ad7[_0x50a935(0x233)](_0x4ab9df);if(!_0x25263d)return!0x1;_0x25263d['updateFieldPosition'](_0x1da977,_0x1fdf01,_0x4bd0c7);const _0x5f23a4=_0x548ad7[_0x50a935(0x3de)](_0x1239cc,_0x470322,_0x4ab9df);return _0xd6f6ac(_0x5f23a4,_0x26b500),_0x548ad7['addDirtyPivotTable']({'unitId':_0x1239cc,'subUnitId':_0x470322,'token':_0x4ab9df,'type':_0x1e0edb[_0x50a935(0x369)]}),!0x0;}},_0x528f2b={'type':_0x49f92f['CommandType'][_0x5565f1(0x1fc)],'id':_0x5565f1(0x297),'handler'(_0x413b95,_0x2fcbc7){const _0x3a1502=_0x5565f1;if(!_0x2fcbc7)return!0x1;if(!!_0x413b95[_0x3a1502(0x326)](_0x49f92f['IConfigService'])[_0x3a1502(0x2ee)](_0x511ea3))return!0x0;const _0x2548f2=_0x413b95[_0x3a1502(0x326)](_0x47953f[_0x3a1502(0x120)]),{unitId:_0x3dfd30,subUnitId:_0x1d703e,pivotTableId:_0x3be460,sourceName:_0x451d39,dataFieldId:_0x73ac0f,tableFieldId:_0xf79a62}=_0x2fcbc7,_0x1acb16=_0x2548f2[_0x3a1502(0x233)](_0x3be460);if(!_0x1acb16)return!0x1;_0x1acb16['updateFieldSourceInfo'](_0xf79a62,_0x451d39,_0x73ac0f);const _0x4551ff=_0x2548f2[_0x3a1502(0x3de)](_0x3dfd30,_0x1d703e,_0x3be460);return _0x2771a5(_0x4551ff,_0x2fcbc7),_0x2548f2[_0x3a1502(0x265)]({'unitId':_0x3dfd30,'subUnitId':_0x1d703e,'token':_0x3be460,'type':_0x1e0edb[_0x3a1502(0x369)]}),!0x0;}},_0x4ca1db={'type':_0x49f92f['CommandType']['MUTATION'],'id':_0x5565f1(0x3fa),'handler'(_0x2b5d08,_0x301afa){const _0x14757c=_0x5565f1;if(!_0x301afa)return!0x1;if(!!_0x2b5d08[_0x14757c(0x326)](_0x49f92f[_0x14757c(0x404)])[_0x14757c(0x2ee)](_0x511ea3))return!0x0;const _0x488cb0=_0x2b5d08[_0x14757c(0x326)](_0x47953f[_0x14757c(0x120)]),{unitId:_0x23e406,subUnitId:_0x4190fd,pivotTableId:_0x35edb0,valuePosition:_0x10f845,index:_0x105980}=_0x301afa,_0x3daf45=_0x488cb0[_0x14757c(0x233)](_0x35edb0);if(!_0x3daf45)return!0x1;_0x3daf45[_0x14757c(0x323)](_0x10f845,_0x105980);const _0x3e30c4=_0x488cb0[_0x14757c(0x3de)](_0x23e406,_0x4190fd,_0x35edb0);return _0x2ddcb6(_0x3e30c4,_0x301afa),_0x488cb0[_0x14757c(0x265)]({'unitId':_0x23e406,'subUnitId':_0x4190fd,'token':_0x35edb0,'type':_0x1e0edb[_0x14757c(0x369)]}),!0x0;}};function _0x41974f(_0x162436,_0x36b7b0,_0x40d6f4){const _0x3cd813=_0x5565f1,{pivotTableId:_0x7b05fb,unitId:_0x17ee10,subUnitId:_0x16ebfb}=_0x36b7b0,_0x2316b1=[],_0x5f5367=[];for(const _0x108dce of _0x40d6f4)switch(_0x108dce[_0x3cd813(0x2a8)]){case _0x16b0d8['PivotTableChangeTypeEnum'][_0x3cd813(0x273)]:{const {fieldJson:_0x7f4da5,area:_0x5608db,index:_0x19ebb0}=_0x108dce,_0x22f69f={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldJson':_0x7f4da5,'area':_0x5608db,'index':_0x19ebb0},_0x5a32f1={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x7f4da5['id'],'area':_0x5608db,'index':_0x19ebb0};_0x2316b1[_0x3cd813(0x254)]({'id':_0x453e87['id'],'params':_0x22f69f}),_0x5f5367[_0x3cd813(0x127)]({'id':_0x3b2c81['id'],'params':_0x5a32f1});}break;case _0x16b0d8[_0x3cd813(0x368)]['SetSubtotalType']:{const {fieldId:_0x582bf9,newSubtotalType:_0x4a4c6a,oldSubtotalType:_0x6a094}=_0x108dce,_0xf548dc={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x582bf9,'subtotalType':_0x4a4c6a};_0x2316b1['push']({'id':_0x1b4e76['id'],'params':_0xf548dc});const _0x4abb1f={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x582bf9,'subtotalType':_0x6a094};_0x5f5367['unshift']({'id':_0x1b4e76['id'],'params':_0x4abb1f});}break;case _0x16b0d8['PivotTableChangeTypeEnum'][_0x3cd813(0x2bc)]:{const {fieldId:_0x2c5765,fieldJson:_0x1f268d,area:_0x2b7c6f,index:_0x11c7cc}=_0x108dce,_0x437092={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x2c5765,'index':_0x11c7cc,'area':_0x2b7c6f};_0x2316b1['push']({'id':_0x3b2c81['id'],'params':_0x437092});const _0x1b73e3={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldJson':_0x1f268d,'area':_0x2b7c6f,'index':_0x11c7cc};_0x5f5367['unshift']({'id':_0x453e87['id'],'params':_0x1b73e3});}break;case _0x16b0d8[_0x3cd813(0x368)][_0x3cd813(0x3b1)]:{const {fieldId:_0x332608,oldName:_0x4d14d8,newName:_0x5b47bf}=_0x108dce,_0x6d0392={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x332608,'name':_0x5b47bf};_0x2316b1[_0x3cd813(0x254)]({'id':_0x2b9b8c['id'],'params':_0x6d0392});const _0x5ea6ba={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x332608,'name':_0x4d14d8};_0x5f5367[_0x3cd813(0x127)]({'id':_0x2b9b8c['id'],'params':_0x5ea6ba});}break;case _0x16b0d8[_0x3cd813(0x368)]['SetFilterInfo']:{const {fieldId:_0x2cbb77,oldFilterInfo:_0x2f9eab,newFilterInfo:_0x5b9204}=_0x108dce,_0xf84903={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x2cbb77,'filterInfo':_0x5b9204};_0x2316b1[_0x3cd813(0x254)]({'id':_0x40cd4c['id'],'params':_0xf84903});const _0x5457a5={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x2cbb77,'filterInfo':_0x2f9eab};_0x5f5367[_0x3cd813(0x127)]({'id':_0x40cd4c['id'],'params':_0x5457a5});}break;case _0x16b0d8['PivotTableChangeTypeEnum']['SetSortInfo']:{const {fieldId:_0x54afd5,oldSortInfo:_0x4882bc,newSortInfo:_0x52078e}=_0x108dce,_0x5b8a26={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x54afd5,'sortInfo':_0x52078e};_0x2316b1[_0x3cd813(0x254)]({'id':_0x4db253['id'],'params':_0x5b8a26});const _0x5a5130={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x54afd5,'sortInfo':_0x4882bc};_0x5f5367[_0x3cd813(0x127)]({'id':_0x4db253['id'],'params':_0x5a5130});}break;case _0x16b0d8[_0x3cd813(0x368)]['SetOptions']:{const {oldOptions:_0x55438e,newOptions:_0x4d6ea4}=_0x108dce,_0xd50272={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'options':_0x4d6ea4};_0x2316b1['push']({'id':_0x326349['id'],'params':_0xd50272});const _0x4846cb={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'options':_0x55438e};_0x5f5367[_0x3cd813(0x127)]({'id':_0x326349['id'],'params':_0x4846cb});}break;case _0x16b0d8['PivotTableChangeTypeEnum'][_0x3cd813(0x3d6)]:{const {oldArea:_0x590e34,newArea:_0x1386ee,oldIndex:_0x32edb9,newIndex:_0x106cbd,fieldId:_0x3969e2}=_0x108dce,_0x4afd6c={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x3969e2,'area':_0x1386ee,'index':_0x106cbd,'oldArea':_0x590e34,'oldIndex':_0x32edb9};_0x2316b1[_0x3cd813(0x254)]({'id':_0x3f40e7['id'],'params':_0x4afd6c});const _0x317aa6={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x3969e2,'area':_0x590e34,'index':_0x32edb9,'oldArea':_0x1386ee,'oldIndex':_0x106cbd};_0x5f5367['unshift']({'id':_0x3f40e7['id'],'params':_0x317aa6});}break;case _0x16b0d8['PivotTableChangeTypeEnum'][_0x3cd813(0x17f)]:{const {oldValuePosition:_0x3352ef,newValuePosition:_0x2f24b8,oldIndex:_0x36d519,newIndex:_0x134b70}=_0x108dce,_0x416760={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'valuePosition':_0x2f24b8,'index':_0x134b70};_0x2316b1['push']({'id':_0x4ca1db['id'],'params':_0x416760});const _0x57b3d4={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'valuePosition':_0x3352ef,'index':_0x36d519};_0x5f5367[_0x3cd813(0x127)]({'id':_0x4ca1db['id'],'params':_0x57b3d4});}break;case _0x16b0d8[_0x3cd813(0x368)][_0x3cd813(0x378)]:{const {fieldId:_0xb79923,collapse:_0x1dd48d,item:_0x5ae5dd}=_0x108dce,_0x3fe21a={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0xb79923,'collapse':_0x1dd48d,'item':_0x5ae5dd};_0x2316b1[_0x3cd813(0x254)]({'id':_0x5d474['id'],'params':_0x3fe21a});const _0x2620de={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0xb79923,'collapse':!_0x1dd48d,'item':_0x5ae5dd};_0x5f5367[_0x3cd813(0x127)]({'id':_0x5d474['id'],'params':_0x2620de});}break;case _0x16b0d8[_0x3cd813(0x368)][_0x3cd813(0x19e)]:{const {newFormat:_0x184af2,oldFormat:_0x2e3756,fieldId:_0x1184d1}=_0x108dce,_0xf3655c={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x1184d1,'format':_0x184af2};_0x2316b1['push']({'id':_0x4432ef['id'],'params':_0xf3655c});const _0x2f0780={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x1184d1,'format':_0x2e3756};_0x5f5367[_0x3cd813(0x127)]({'id':_0x4432ef['id'],'params':_0x2f0780});}break;case _0x16b0d8[_0x3cd813(0x368)][_0x3cd813(0x32a)]:{const {tableFieldId:_0x5af57f,oldSourceName:_0x481bd5,newSourceName:_0x483a48,oldDataFieldId:_0x4cfcd0,newDataFieldId:_0x56b51c}=_0x108dce,_0x65bd45={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'tableFieldId':_0x5af57f,'sourceName':_0x483a48,'dataFieldId':_0x56b51c};_0x2316b1[_0x3cd813(0x254)]({'id':_0x528f2b['id'],'params':_0x65bd45});const _0x3a7a5c={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'tableFieldId':_0x5af57f,'sourceName':_0x481bd5,'dataFieldId':_0x4cfcd0};_0x5f5367[_0x3cd813(0x127)]({'id':_0x528f2b['id'],'params':_0x3a7a5c});}break;case _0x16b0d8['PivotTableChangeTypeEnum'][_0x3cd813(0x1ea)]:{const {fieldId:_0x15ec20,filterInfo:_0x35e2f3,oldFilterInfo:_0x134657}=_0x108dce,_0x3312e6={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x15ec20,'filterInfo':_0x35e2f3};_0x2316b1[_0x3cd813(0x254)]({'id':_0x423b43['id'],'params':_0x3312e6});const _0x10ef3b={'unitId':_0x17ee10,'subUnitId':_0x16ebfb,'pivotTableId':_0x7b05fb,'fieldId':_0x15ec20,'filterInfo':_0x134657};_0x5f5367['unshift']({'id':_0x423b43['id'],'params':_0x10ef3b});}}return{'redos':_0x2316b1,'undos':_0x5f5367};}function _0x3f413f(_0x2a3a82,_0x4b6e08){const _0x34ed4d=_0x5565f1;var _0x22baa3;const _0x23fb27=_0x2a3a82[_0x34ed4d(0x326)](_0x47953f[_0x34ed4d(0x2c5)]),{cellInfo:_0x43dee2,view:_0x326e12,isEmpty:_0x32b66e}=_0x4b6e08;return(_0x22baa3=_0x23fb27['interceptor'][_0x34ed4d(0x179)](_0x3c8d53)(_0x41e9cb,{'cellInfo':_0x43dee2,'view':_0x326e12,'isEmpty':_0x32b66e}))!=null?_0x22baa3:_0x41e9cb;}const _0x1636bc={'type':_0x49f92f['CommandType']['COMMAND'],'id':_0x5565f1(0x373),async 'handler'(_0x57783a,_0x525e09){const _0x54e57f=_0x5565f1;if(!_0x525e09)return!0x1;const _0x477345=_0x57783a[_0x54e57f(0x326)](_0x49f92f[_0x54e57f(0x3fc)]),_0x6fbbb9=_0x57783a[_0x54e57f(0x326)](_0x47953f[_0x54e57f(0x3f1)]),_0x508090=_0x57783a['get'](_0x49f92f['IUndoRedoService']),{pivotTableId:_0x43e43a,dataFieldId:_0x320342,fieldArea:_0x23b63d,index:_0x46262f,unitId:_0x241b3d,subUnitId:_0xf054c1}=_0x525e09,_0x111fb8=(await _0x6fbbb9[_0x54e57f(0x236)]({'unitId':_0x241b3d,'subUnitId':_0xf054c1,'pivotTableId':_0x43e43a,'params':{'type':_0x3175a8['AddPivotField'],'addPivotField':{'dataFieldId':_0x320342,'fieldArea':_0x23b63d,'index':_0x46262f}}}))[_0x54e57f(0x138)][_0x54e57f(0x195)];if(!_0x111fb8)return!0x1;const {view:_0x48a074,changesets:_0x4046e8,isEmpty:_0x2cfe66,pivotTableConfig:_0x5e97b7,shouldBeAddedGroupJSON:_0x2eaeb2}=_0x111fb8,_0x362804=_0x5e97b7[_0x54e57f(0x1d0)],_0x1818c4=new _0x16b0d8[(_0x54e57f(0x19b))]();_0x1818c4[_0x54e57f(0x39c)](_0x48a074);const _0x33b1e5={'cellInfo':_0x362804,'view':_0x1818c4,'isEmpty':_0x2cfe66};if(!await _0x57783a[_0x54e57f(0x326)](_0x47953f[_0x54e57f(0x2c5)])[_0x54e57f(0x3dc)][_0x54e57f(0x3ab)](_0x2d81a5)(!0x0,_0x33b1e5))return!0x1;const _0x15713c=_0x2535c3(_0x57783a,_0x1818c4,_0x362804,_0x2cfe66),_0x583170=_0x3f413f(_0x57783a,_0x33b1e5),{undos:_0x2182ec,redos:_0x43a2e7}=_0x41974f(_0x477345,{'pivotTableId':_0x43e43a,'unitId':_0x241b3d,'subUnitId':_0xf054c1},_0x4046e8);return _0x2eaeb2&&(_0x43a2e7[_0x54e57f(0x127)]({'id':_0x417bba['id'],'params':{'pivotTableId':_0x43e43a,'fieldJSON':_0x2eaeb2,'unitId':_0x241b3d,'subUnitId':_0xf054c1}}),_0x2182ec[_0x54e57f(0x254)]({'id':_0x4a69bb['id'],'params':{'pivotTableId':_0x43e43a,'dataFieldId':_0x2eaeb2['id'],'unitId':_0x241b3d,'subUnitId':_0xf054c1}})),_0x49f92f[_0x54e57f(0x43f)]([..._0x15713c[_0x54e57f(0x2a5)],..._0x583170['redos'],..._0x43a2e7],_0x477345),_0x508090[_0x54e57f(0x232)]({'unitID':_0x241b3d,'redoMutations':[..._0x15713c[_0x54e57f(0x2a5)],..._0x583170[_0x54e57f(0x2a5)],..._0x43a2e7],'undoMutations':[..._0x15713c[_0x54e57f(0x206)],..._0x583170[_0x54e57f(0x206)],..._0x2182ec]}),!0x0;}},_0x3db28a=()=>typeof process<'u'&&process['versions']!=null&&process[_0x5565f1(0x426)][_0x5565f1(0x3dd)]!=null,_0x1eb047={'type':_0x49f92f['CommandType'][_0x5565f1(0x1fc)],'id':_0x5565f1(0x240),'handler'(_0x194cf1,_0x41a061){const _0x5bb460=_0x5565f1;var _0x46dd20;if(!_0x41a061)return!0x1;const _0x584d47=_0x194cf1[_0x5bb460(0x326)](_0x49f92f['IConfigService']);if(!!_0x584d47[_0x5bb460(0x2ee)](_0x511ea3))return!0x0;const _0x48b786=_0x194cf1['get'](_0x49f92f[_0x5bb460(0x26f)]),_0x1359bd=_0x194cf1[_0x5bb460(0x326)](_0x47953f[_0x5bb460(0x120)]),{pivotTableId:_0x5f2caf,pivotTableConfig:_0x420bd9,collectionConfig:_0x27ef72,unitId:_0x51ac04,subUnitId:_0x13c35b}=_0x41a061,{sourceRangeInfo:_0x20bb36,fieldsConfig:_0x3ef96d,targetCellInfo:_0x4395e4}=_0x420bd9,_0x45779f=_0x48b786[_0x5bb460(0x3c5)](_0x51ac04);if(!_0x45779f||!_0x45779f['getSheetBySheetId'](_0x13c35b))return!0x1;if(!_0x3db28a()){let _0x3713c2=0x0;_0x45779f[_0x5bb460(0x31f)]()[_0x5bb460(0x350)](_0x1246bc=>{const _0x42f6ad=_0x5bb460;var _0xceb86a,_0xfe8120;_0x3713c2+=(_0xfe8120=(_0xceb86a=_0x1359bd[_0x42f6ad(0x1dd)](_0x51ac04,_0x1246bc['getSheetId']()))==null?void 0x0:_0xceb86a[_0x42f6ad(0x422)])!=null?_0xfe8120:0x0;});const _0xe02b1=(_0x46dd20=_0x584d47[_0x5bb460(0x2ee)](_0x3e3faf['LS_CONFIG_KEY']))!=null?_0x46dd20:{},{ls:_0x41dbc8,pbk:_0x53de70}=_0xe02b1;if(!_0xe56476(_0x41dbc8,_0x53de70))throw new _0x49f92f[(_0x5bb460(0x220))](_0x5bb460(0x437));const _0xbf489a=_0x183df5(_0x5078db,_0x41dbc8,_0x53de70)[_0x5bb460(0x124)];if(_0x3713c2>=_0xbf489a)throw new _0x49f92f['CustomCommandExecutionError']('limit\x20pivot');}if(!_0x27ef72||!_0x3ef96d)return!0x1;const {collection:_0x21f0bb,updateDataFieldList:_0x251d11}=_0x1359bd[_0x5bb460(0x3cf)](_0x5f2caf,_0x27ef72,_0x20bb36,_0x4395e4);_0x1359bd[_0x5bb460(0x1f7)](_0x21f0bb,_0x251d11,_0x20bb36);const _0x1f6170=new _0x16b0d8[(_0x5bb460(0x43c))](_0x21f0bb,void 0x0,_0x5f2caf);_0x1f6170[_0x5bb460(0x401)](_0x3ef96d);const _0x220444=JSON[_0x5bb460(0x3ac)](JSON[_0x5bb460(0x362)](_0x420bd9));return _0x1359bd[_0x5bb460(0x32f)](_0x51ac04,_0x13c35b,_0x5f2caf,_0x1f6170,_0x220444),_0x1359bd[_0x5bb460(0x265)]({'unitId':_0x51ac04,'subUnitId':_0x13c35b,'token':_0x5f2caf,'type':_0x1e0edb[_0x5bb460(0x2d5)],'pivotConfig':_0x220444}),!0x0;}},_0x588cef={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x305)],'id':_0x5565f1(0x24e),async 'handler'(_0x2f514e,_0x576532){const _0xdd649e=_0x5565f1;if(!_0x576532)return!0x1;const {sourceDataInfo:_0x273f8d,pivotTableConfig:_0x5c3439}=_0x576532;if(!_0x273f8d||!_0x5c3439)return!0x1;const {unitId:_0x5a16f1,subUnitId:_0x5de96c,range:_0x5aa4fd}=_0x273f8d,_0x20df8c=_0x2f514e[_0xdd649e(0x326)](_0x49f92f['IUniverInstanceService']),_0x5cb8a7=_0x2f514e['get'](_0x47953f[_0xdd649e(0x3f1)]),_0x667521=_0x2f514e[_0xdd649e(0x326)](_0x49f92f[_0xdd649e(0x311)]),_0x202e03=_0x2f514e['get'](_0x49f92f[_0xdd649e(0x3fc)]),_0x107389=_0x20df8c[_0xdd649e(0x3c5)](_0x5a16f1);if(!_0x107389)return!0x1;const _0x2ef4a8=_0x107389['getSheetBySheetId'](_0x5de96c);if(!_0x2ef4a8)return!0x1;const _0x1f4343=_0x16b0d8[_0xdd649e(0x33f)](0x8),_0xa313e5=_0x5aa4fd||{'startRow':0x0,'startColumn':0x0,'endRow':_0x2ef4a8['getRowCount']()-0x1,'endColumn':_0x2ef4a8[_0xdd649e(0x2df)]()-0x1};_0xa313e5[_0xdd649e(0x2ad)]=_0x49f92f[_0xdd649e(0x164)][_0xdd649e(0x1f4)];const _0x56a8e2=(await _0x5cb8a7[_0xdd649e(0x236)]({'unitId':_0x5a16f1,'subUnitId':_0x5de96c,'pivotTableId':_0x1f4343,'params':{'type':_0x3175a8[_0xdd649e(0x33d)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5a16f1,'sheetName':_0x2ef4a8['getName'](),'subUnitId':_0x5de96c,'range':_0xa313e5},'pivotTableId':_0x1f4343,'pivotTableIndexConfig':_0x5c3439}}}))[_0xdd649e(0x138)][_0xdd649e(0x1cd)];if(!_0x56a8e2)return!0x1;const {isEmpty:_0x2a8e83,fieldsConfig:_0x3f229d,collectionConfig:_0x3a2764,changesets:_0x1af4be}=_0x56a8e2,_0x312f66=_0x107389[_0xdd649e(0x31f)]()[_0xdd649e(0x37f)],_0x157297=_0x49f92f[_0xdd649e(0x298)]({'rowCount':_0x2ef4a8['getRowCount']()-0x1,'columnCount':_0x2ef4a8['getColumnCount']()-0x1});_0x157297['id']=_0x49f92f[_0xdd649e(0x3af)](),_0x157297[_0xdd649e(0x27d)]=_0x107389[_0xdd649e(0x2b4)](''+_0x667521['t'](_0xdd649e(0x26c)));const _0x34001c={'index':_0x312f66,'sheet':_0x157297,'unitId':_0x5a16f1},{redos:_0x517f35}=_0x41974f(_0x202e03,{'pivotTableId':_0x1f4343,'unitId':_0x5a16f1,'subUnitId':_0x157297['id']},_0x1af4be),_0x4d7512=[{'id':_0x29b248['InsertSheetCommand']['id'],'params':_0x34001c},{'id':_0x1eb047['id'],'params':{'unitId':_0x5a16f1,'subUnitId':_0x157297['id'],'pivotTableId':_0x1f4343,'pivotTableConfig':{'isEmpty':_0x2a8e83,'fieldsConfig':_0x3f229d,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5a16f1,'subUnitId':_0x157297['id']},'sourceRangeInfo':{'subUnitId':_0x5de96c,'unitId':_0x5a16f1,'range':_0xa313e5,'sheetName':_0x2ef4a8[_0xdd649e(0x2f9)]()}},'collectionConfig':_0x3a2764}},..._0x517f35];return _0x49f92f[_0xdd649e(0x43f)](_0x4d7512,_0x202e03),!0x0;}},_0xaf0ab={'type':_0x49f92f['CommandType']['MUTATION'],'id':'sheet.mutation.remove-pivot-table','handler'(_0xee77c4,_0x23ccb6){const _0x1c4e99=_0x5565f1;if(!_0x23ccb6)return!0x1;if(!!_0xee77c4[_0x1c4e99(0x326)](_0x49f92f[_0x1c4e99(0x404)])[_0x1c4e99(0x2ee)](_0x511ea3))return!0x0;const {pivotTableId:_0x2ccd2d,unitId:_0x5b548c,subUnitId:_0x5bc6d7}=_0x23ccb6,_0x1973f5=_0xee77c4[_0x1c4e99(0x326)](_0x47953f[_0x1c4e99(0x120)]);return _0x1973f5[_0x1c4e99(0x215)](_0x5b548c,_0x5bc6d7,_0x2ccd2d)?(_0x1973f5['addDirtyPivotTable']({'unitId':_0x5b548c,'subUnitId':_0x5bc6d7,'token':_0x2ccd2d,'type':_0x1e0edb[_0x1c4e99(0x287)]}),_0x1973f5[_0x1c4e99(0x2e9)](_0x5b548c,_0x5bc6d7,_0x2ccd2d),!0x0):!0x1;}},_0x466e70={'type':_0x49f92f['CommandType']['COMMAND'],'id':_0x5565f1(0x30c),async 'handler'(_0x2a70ac,_0x3808e2){const _0x439e4e=_0x5565f1;var _0x3370e1,_0x4cbdfb;const _0x4005a3=_0x2a70ac[_0x439e4e(0x326)](_0x49f92f[_0x439e4e(0x3fc)]),_0x113f2b=_0x2a70ac[_0x439e4e(0x326)](_0x49f92f[_0x439e4e(0x26f)]),_0x36f4d9=_0x2a70ac[_0x439e4e(0x326)](_0x49f92f[_0x439e4e(0x311)]),_0x56eb2c=_0x2a70ac[_0x439e4e(0x326)](_0x47953f[_0x439e4e(0x3f1)]),_0x1ef03d=_0x2a70ac[_0x439e4e(0x326)](_0x49f92f[_0x439e4e(0x16b)]),_0x178b35=_0x2a70ac[_0x439e4e(0x326)](_0x47953f['SheetsPivotTableConfigModel']),_0x4f69f8=_0x2a70ac[_0x439e4e(0x326)](_0x49f92f[_0x439e4e(0x404)]);if(!_0x3808e2)return!0x1;const {pivotTableConfig:_0x504d37,positionType:_0x28fb46}=_0x3808e2,{targetCellInfo:_0xe5d6cc,sourceRangeInfo:_0x49fd88}=_0x504d37,{unitId:_0x3d72b1,subUnitId:_0x4c4992}=_0xe5d6cc,_0x19762d=_0x113f2b[_0x439e4e(0x3c5)](_0x3d72b1);if(!_0x19762d)return!0x1;let _0x4f0912=0x0;_0x19762d[_0x439e4e(0x31f)]()[_0x439e4e(0x350)](_0x456cfd=>{const _0x2391e9=_0x439e4e;var _0x56c569,_0x6f1155;_0x4f0912+=(_0x6f1155=(_0x56c569=_0x178b35[_0x2391e9(0x1dd)](_0x3d72b1,_0x456cfd[_0x2391e9(0x197)]()))==null?void 0x0:_0x56c569[_0x2391e9(0x422)])!=null?_0x6f1155:0x0;});const _0x26dde7=(_0x3370e1=_0x4f69f8['getConfig'](_0x3e3faf['LS_CONFIG_KEY']))!=null?_0x3370e1:{},{ls:_0x58b8db,pbk:_0x2bc24c}=_0x26dde7;if(!_0xe56476(_0x58b8db,_0x2bc24c))return!0x1;const _0x3a596a=_0x183df5(_0x5078db,_0x58b8db,_0x2bc24c)['count'];if(_0x4f0912>=_0x3a596a)return!0x1;const _0x494364=_0x3808e2['pivotTableId']||_0x16b0d8['generateHexNumber'](0x8),_0x44a2f2=(await _0x56eb2c[_0x439e4e(0x236)]({'unitId':_0x3d72b1,'subUnitId':_0x4c4992,'pivotTableId':_0x494364,'params':{'type':_0x3175a8[_0x439e4e(0x18f)],'addPivotTable':{'sourceRangeInfo':_0x49fd88,'pivotTableId':_0x494364}}}))[_0x439e4e(0x138)][_0x439e4e(0x32f)];if(!_0x44a2f2)return!0x1;const {view:_0x36b049,isEmpty:_0x2e252e,fieldsConfig:_0x320418,collectionConfig:_0x4278b9}=_0x44a2f2,_0xc680=[],_0x3fd642=[];if(_0x28fb46===_0x3ad7fb[_0x439e4e(0x22b)]){const _0x1cb862=_0x19762d['getSheets']()[_0x439e4e(0x37f)],_0x2c2710=_0x49f92f['mergeWorksheetSnapshotWithDefault']({});_0x2c2710['id']=_0x504d37['targetCellInfo'][_0x439e4e(0x271)],_0x2c2710[_0x439e4e(0x27d)]=(_0x4cbdfb=_0x504d37[_0x439e4e(0x1d0)][_0x439e4e(0x3d4)])!=null?_0x4cbdfb:_0x19762d['generateNewSheetName'](''+_0x36f4d9['t'](_0x439e4e(0x26c)));const _0x433730={'index':_0x1cb862,'sheet':_0x2c2710,'unitId':_0x3d72b1},_0x130bf=_0x29b248[_0x439e4e(0x243)](_0x2a70ac,_0x433730);_0xc680[_0x439e4e(0x254)]({'id':_0x29b248[_0x439e4e(0x17e)]['id'],'params':_0x130bf}),_0x3fd642[_0x439e4e(0x254)]({'id':_0x29b248[_0x439e4e(0x1e0)]['id'],'params':_0x433730});}else{if(!_0x19762d['getSheetBySheetId'](_0x4c4992))return!0x1;const _0x457a75=_0x2535c3(_0x2a70ac,new _0x16b0d8['PivotView'](),_0xe5d6cc,!0x0);_0x3fd642[_0x439e4e(0x254)](..._0x457a75[_0x439e4e(0x2a5)]),_0xc680[_0x439e4e(0x254)](..._0x457a75[_0x439e4e(0x206)]);const _0x1a790b={'cellInfo':_0xe5d6cc,'view':_0x36b049,'isEmpty':_0x2e252e};if(!await _0x2a70ac['get'](_0x47953f['SheetsPivotTableService'])['asyncInterceptor'][_0x439e4e(0x3ab)](_0x2d81a5)(!0x0,_0x1a790b))return!0x1;const _0x57a841=_0x3f413f(_0x2a70ac,_0x1a790b);_0x3fd642[_0x439e4e(0x254)](..._0x57a841[_0x439e4e(0x2a5)]),_0xc680[_0x439e4e(0x254)](..._0x57a841[_0x439e4e(0x206)]);}return _0x3fd642[_0x439e4e(0x254)]({'id':_0x1eb047['id'],'params':{'unitId':_0xe5d6cc[_0x439e4e(0x32c)],'subUnitId':_0xe5d6cc[_0x439e4e(0x271)],'pivotTableId':_0x494364,'pivotTableConfig':{'targetCellInfo':_0xe5d6cc,'sourceRangeInfo':_0x49fd88,'fieldsConfig':_0x320418},'collectionConfig':_0x4278b9}}),_0xc680[_0x439e4e(0x127)]({'id':_0xaf0ab['id'],'params':{'unitId':_0x3d72b1,'subUnitId':_0x4c4992,'pivotTableId':_0x494364}}),_0x49f92f[_0x439e4e(0x43f)](_0x3fd642,_0x4005a3)&&_0x1ef03d[_0x439e4e(0x232)]({'unitID':_0x3d72b1,'undoMutations':_0xc680,'redoMutations':_0x3fd642}),!0x0;}},_0x22c13e={'type':_0x49f92f['CommandType'][_0x5565f1(0x305)],'id':_0x5565f1(0x2f1),async 'handler'(_0x18fd5e,_0x49273d){const _0x4e7262=_0x5565f1;if(!_0x49273d)return!0x1;const _0x27e7bb=_0x18fd5e[_0x4e7262(0x326)](_0x49f92f['ICommandService']),_0x3d8e5b=_0x18fd5e[_0x4e7262(0x326)](_0x47953f['SheetsPivotRPCService']),_0x416872=_0x18fd5e['get'](_0x49f92f[_0x4e7262(0x16b)]),{pivotTableId:_0x16a5ce,fieldId:_0xe7ead7,area:_0x1f4368,index:_0x3af3e8,unitId:_0x50b67f,subUnitId:_0x4c45fd}=_0x49273d,_0x28a2f7=(await _0x3d8e5b['getPivotDisplayConfig']({'unitId':_0x50b67f,'subUnitId':_0x4c45fd,'pivotTableId':_0x16a5ce,'params':{'type':_0x3175a8['MovePivotField'],'movePivotField':{'fieldId':_0xe7ead7,'area':_0x1f4368,'index':_0x3af3e8}}}))['result']['movePivotField'];if(!_0x28a2f7)return!0x1;const {changesets:_0x1cec9c,view:_0x864f5,isEmpty:_0x259611,pivotTableConfig:_0x104c9f}=_0x28a2f7,_0x1b63f7=_0x104c9f['targetCellInfo'],_0xf4b1cf=new _0x16b0d8[(_0x4e7262(0x19b))]();_0xf4b1cf[_0x4e7262(0x39c)](_0x864f5);const _0x468c99={'cellInfo':_0x1b63f7,'view':_0xf4b1cf,'isEmpty':_0x259611};if(!await _0x18fd5e[_0x4e7262(0x326)](_0x47953f[_0x4e7262(0x2c5)])[_0x4e7262(0x3dc)][_0x4e7262(0x3ab)](_0x2d81a5)(!0x0,_0x468c99))return!0x1;const _0x5baab0=_0x2535c3(_0x18fd5e,_0xf4b1cf,_0x1b63f7,_0x259611),_0x308585=_0x3f413f(_0x18fd5e,_0x468c99),{redos:_0x74465c,undos:_0x1820a1}=_0x41974f(_0x27e7bb,{'pivotTableId':_0x16a5ce,'unitId':_0x50b67f,'subUnitId':_0x4c45fd},_0x1cec9c);return _0x49f92f[_0x4e7262(0x43f)]([..._0x5baab0[_0x4e7262(0x2a5)],..._0x308585[_0x4e7262(0x2a5)],..._0x74465c],_0x27e7bb),_0x416872[_0x4e7262(0x232)]({'unitID':_0x50b67f,'redoMutations':[..._0x5baab0[_0x4e7262(0x2a5)],..._0x308585['redos'],..._0x74465c],'undoMutations':[..._0x5baab0[_0x4e7262(0x206)],..._0x308585[_0x4e7262(0x206)],..._0x1820a1]}),!0x0;}},_0xd66fe3={'type':_0x49f92f[_0x5565f1(0x1ae)]['MUTATION'],'id':_0x5565f1(0x2fd),'handler'(_0x2fa2fe,_0x400d60){const _0x1cb136=_0x5565f1;if(!_0x400d60)return!0x1;if(!!_0x2fa2fe['get'](_0x49f92f[_0x1cb136(0x404)])[_0x1cb136(0x2ee)](_0x511ea3))return!0x0;const {pivotTableId:_0x2649e5,targetCellPosition:_0x989c2f,unitId:_0x53fcee,subUnitId:_0x175c81}=_0x400d60,_0x669e9d=_0x2fa2fe[_0x1cb136(0x326)](_0x47953f['SheetsPivotDataSourceModel']);if(!_0x669e9d[_0x1cb136(0x233)](_0x400d60[_0x1cb136(0x433)]))return!0x1;const _0x49f866=_0x669e9d['getTargetByPivotId'](_0x2649e5);if(!_0x49f866)return!0x1;const _0x53fcd7=_0x669e9d[_0x1cb136(0x312)](_0x49f866['unitId'],_0x400d60[_0x1cb136(0x433)]);if(!_0x53fcd7)return!0x1;const _0x2db8ea=_0x669e9d[_0x1cb136(0x215)](_0x49f866[_0x1cb136(0x32c)],_0x49f866[_0x1cb136(0x271)],_0x2649e5);if(!_0x2db8ea)return!0x1;const _0x4e6019=_0x49f92f[_0x1cb136(0x2b5)][_0x1cb136(0x1e3)](_0x2db8ea);_0x4e6019[_0x1cb136(0x1d0)]={'unitId':_0x53fcee,'subUnitId':_0x175c81,'row':_0x989c2f[_0x1cb136(0x1b1)],'col':_0x989c2f['col']};const _0x1514d3=_0x53fcd7[_0x1cb136(0x1d4)]();if(_0x49f866[_0x1cb136(0x271)]===_0x175c81&&_0x49f866[_0x1cb136(0x32c)]===_0x53fcee)_0x669e9d[_0x1cb136(0x190)](_0x53fcee,_0x175c81,_0x2649e5,_0x4e6019),_0x669e9d[_0x1cb136(0x265)]({'unitId':_0x53fcee,'subUnitId':_0x175c81,'token':_0x2649e5,'type':_0x1e0edb['Set']});else{_0x669e9d[_0x1cb136(0x265)]({'unitId':_0x49f866[_0x1cb136(0x32c)],'subUnitId':_0x49f866[_0x1cb136(0x271)],'token':_0x2649e5,'type':_0x1e0edb['Delete']}),_0x669e9d[_0x1cb136(0x2e9)](_0x49f866[_0x1cb136(0x32c)],_0x49f866[_0x1cb136(0x271)],_0x2649e5);const _0x56a4f5=_0x669e9d[_0x1cb136(0x3cf)](_0x2649e5,_0x1514d3,_0x2db8ea['sourceRangeInfo'],_0x4e6019[_0x1cb136(0x1d0)]),_0x3c73ba=new _0x16b0d8['PivotTable'](_0x56a4f5[_0x1cb136(0x3a4)],void 0x0,_0x2649e5);_0x3c73ba['fromJSON'](_0x4e6019[_0x1cb136(0x1be)]),_0x669e9d[_0x1cb136(0x32f)](_0x53fcee,_0x175c81,_0x2649e5,_0x3c73ba,_0x4e6019),_0x669e9d['addDirtyPivotTable']({'unitId':_0x53fcee,'subUnitId':_0x175c81,'token':_0x2649e5,'type':_0x1e0edb[_0x1cb136(0x2d5)],'pivotConfig':_0x4e6019});}return!0x0;}},_0x2b2998={'type':_0x49f92f['CommandType']['COMMAND'],'id':_0x5565f1(0x22a),'handler':(_0x8adee7,_0x169d6a)=>{const _0xdce457=_0x5565f1,_0x1591e0=_0x8adee7[_0xdce457(0x326)](_0x49f92f[_0xdce457(0x3fc)]),_0x1ebe82=_0x8adee7[_0xdce457(0x326)](_0x49f92f[_0xdce457(0x16b)]),_0x2f1f48=_0x8adee7[_0xdce457(0x326)](_0x47953f[_0xdce457(0x11d)]),_0x22056b=_0x8adee7[_0xdce457(0x326)](_0x49f92f[_0xdce457(0x26f)]);if(!_0x169d6a)return!0x1;const _0x322e2=_0x29b248['getSheetCommandTarget'](_0x22056b);if(!_0x322e2)return!0x1;const {unitId:_0x4a3269,subUnitId:_0x4f5ce3,workbook:_0x4c3cae}=_0x322e2,_0x51002b=_0x2f1f48[_0xdce457(0x215)](_0x169d6a[_0xdce457(0x194)][_0xdce457(0x32c)],_0x169d6a[_0xdce457(0x194)]['subUnitId'],_0x169d6a[_0xdce457(0x433)]);if(!_0x51002b)return!0x1;const _0x4a9cac=_0x4c3cae[_0xdce457(0x222)](_0x169d6a['targetCellInfo'][_0xdce457(0x271)]);if(!_0x4a9cac)throw new Error(_0xdce457(0x379));const _0x93b749=_0x4a9cac[_0xdce457(0x2fb)](),_0x123984=_0x4a9cac['getColumnCount']();if(_0x169d6a[_0xdce457(0x1d0)]['row']>_0x93b749||_0x169d6a[_0xdce457(0x1d0)][_0xdce457(0x341)]>_0x123984)throw new Error('[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range');const _0x27291e=[{'id':_0xd66fe3['id'],'params':{'unitId':_0x4a3269,'subUnitId':_0x169d6a[_0xdce457(0x1d0)][_0xdce457(0x271)],'pivotTableId':_0x169d6a[_0xdce457(0x433)],'targetCellPosition':{'row':_0x169d6a[_0xdce457(0x1d0)][_0xdce457(0x1b1)],'col':_0x169d6a['targetCellInfo'][_0xdce457(0x341)]}}}],_0x4be492=[{'id':_0xd66fe3['id'],'params':{'unitId':_0x4a3269,'subUnitId':_0x4f5ce3,'pivotTableId':_0x169d6a['pivotTableId'],'targetCellPosition':{'row':_0x51002b[_0xdce457(0x1d0)][_0xdce457(0x1b1)],'col':_0x51002b[_0xdce457(0x1d0)][_0xdce457(0x341)]}}}];return _0x49f92f[_0xdce457(0x43f)](_0x27291e,_0x1591e0)&&_0x1ebe82[_0xdce457(0x232)]({'unitID':_0x4a3269,'undoMutations':_0x4be492,'redoMutations':_0x27291e}),!0x0;}},_0x46b862={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x305)],'id':_0x5565f1(0x396),async 'handler'(_0x21355f,_0x30df6b){const _0x1ab8b=_0x5565f1;var _0x43ad3a;if(!_0x30df6b)return!0x1;const _0xff2092=_0x21355f[_0x1ab8b(0x326)](_0x49f92f['IUniverInstanceService']),_0x567e7c=_0x29b248[_0x1ab8b(0x1a6)](_0xff2092);if(!_0x567e7c)return!0x1;const {unitId:_0x57017d,subUnitId:_0x41c309,workbook:_0x1c5263}=_0x567e7c,{row:_0x57379d,col:_0x28b5a5}=_0x30df6b,_0x5119ce=_0x21355f[_0x1ab8b(0x326)](_0x47953f[_0x1ab8b(0x3c8)]),_0x5e9298=_0x5119ce[_0x1ab8b(0x18d)](_0x57017d,_0x41c309,_0x57379d,_0x28b5a5);if(!_0x5e9298)return!0x1;const _0x12f60c=(_0x43ad3a=_0x5119ce[_0x1ab8b(0x2f4)](_0x57017d,_0x41c309,_0x5e9298))==null?void 0x0:_0x43ad3a[_0x1ab8b(0x406)];if(!_0x12f60c)return!0x1;const _0xbb1859=_0x21355f[_0x1ab8b(0x326)](_0x47953f[_0x1ab8b(0x11d)])[_0x1ab8b(0x215)](_0x57017d,_0x41c309,_0x5e9298);if(!_0xbb1859)return!0x1;const {rowInfo:_0x1d19e4,colInfo:_0x4dd005}=_0x12f60c,_0x2df84e=_0x1d19e4[_0x57379d][_0x1ab8b(0x277)],_0xcc6f5a=_0x4dd005[_0x28b5a5][_0x1ab8b(0x277)],_0x244af9=_0x1d19e4[_0x57379d][_0x1ab8b(0x29c)],_0xc1ebec=_0x4dd005[_0x28b5a5][_0x1ab8b(0x29c)],_0x3afbfc=_0x2df84e[_0x1ab8b(0x2f7)](_0xcc6f5a),_0x5c0e74=_0xbb1859[_0x1ab8b(0x1be)][_0x1ab8b(0x1cc)][_0x1ab8b(0x229)](0x0,_0x244af9),_0x48c069=_0xbb1859[_0x1ab8b(0x1be)]['columnFields'][_0x1ab8b(0x229)](0x0,_0xc1ebec),_0x2ff8b4=_0x5c0e74[_0x1ab8b(0x2f7)](_0x48c069),_0x5e90a7=_0x3afbfc['map']((_0x24832e,_0x1d508d)=>[_0x24832e,_0x2ff8b4[_0x1d508d]]),_0x257d4e=(await _0x21355f[_0x1ab8b(0x326)](_0x47953f[_0x1ab8b(0x3f1)])[_0x1ab8b(0x236)]({'unitId':_0x57017d,'subUnitId':_0x41c309,'pivotTableId':_0x5e9298,'params':{'type':_0x3175a8[_0x1ab8b(0x36a)],'drillDown':{'tuple':_0x5e90a7}}}))[_0x1ab8b(0x138)]['drillDown'];if(!_0x257d4e)return!0x1;const {indexes:_0x31d8e0,range:_0x38bd81,sourceUnitId:_0x13f815,sourceSubUnitId:_0x51e681,formatMap:_0x4ed736}=_0x257d4e,{startRow:_0xbc6100,endRow:_0x4c0ea1,startColumn:_0x287ab3,endColumn:_0x2899f1}=_0x38bd81,_0x219be9=new _0x49f92f[(_0x1ab8b(0x38d))](),_0x299630=_0x4c0ea1-_0xbc6100,_0x24ba28=_0x2899f1-_0x287ab3,_0x3e871a={},_0x48c1b2=_0x29b248[_0x1ab8b(0x1a6)](_0xff2092,{'unitId':_0x13f815,'subUnitId':_0x51e681});if(!_0x48c1b2)return!0x1;const _0x32ef33=_0x136b96[_0x1ab8b(0x308)],_0x5d751b=_0x136b96[_0x1ab8b(0x398)],_0x4d68fa=_0x136b96['subTotalStyle'],_0x242bdc=_0x1c5263[_0x1ab8b(0x2dd)]()['setValue'](_0x32ef33),_0x328395=_0x1c5263[_0x1ab8b(0x2dd)]()[_0x1ab8b(0x3c9)](_0x5d751b),_0x36b9c4=_0x1c5263[_0x1ab8b(0x2dd)]()[_0x1ab8b(0x3c9)](_0x4d68fa),{worksheet:_0x12ffb6}=_0x48c1b2;let _0x433284=0x0;const _0x34d7c0=0x1;_0x31d8e0[_0x1ab8b(0x350)](_0x53cae5=>{const _0x33cf25=_0x1ab8b;for(let _0x37aedd=0x0;_0x37aedd<=_0x2899f1-_0x287ab3;_0x37aedd++)_0x219be9[_0x33cf25(0x3c9)](_0x433284,_0x37aedd,_0x12ffb6[_0x33cf25(0x1a3)](_0x53cae5+_0x38bd81[_0x33cf25(0x34c)]+_0x34d7c0,_0x37aedd));_0x433284++;});for(let _0x4d9237=_0x287ab3;_0x4d9237<=_0x2899f1;_0x4d9237++){const _0x4ebb16=_0x12ffb6[_0x1ab8b(0x1a3)](_0xbc6100,_0x4d9237);_0x3e871a[_0xbc6100]||(_0x3e871a[_0xbc6100]={}),_0x3e871a[_0xbc6100][_0x4d9237]={..._0x4ebb16,'s':_0x242bdc};}let _0x24f8e6=0x1;const _0x242d50={},_0x210236={};_0x219be9[_0x1ab8b(0x3cd)]((_0x331217,_0x3b746d)=>{const _0x418df3=_0x1ab8b;_0x3b746d[_0x418df3(0x350)](_0x5b1086=>{const _0x2ddf65=_0x418df3,_0x180585=_0x219be9[_0x2ddf65(0x1b6)](_0x331217,_0x5b1086);if(_0x3e871a[_0x24f8e6]||(_0x3e871a[_0x24f8e6]={}),_0x3e871a[_0x24f8e6][_0x5b1086]={..._0x180585,'s':_0x24f8e6%0x2===0x0?_0x36b9c4:_0x328395},_0x4ed736[_0x5b1086]&&_0x331217>=0x0){const _0x47856a=_0x24f8e6%0x2===0x0;let _0x1bccb7=_0x47856a?_0x210236[_0x5b1086]:_0x242d50[_0x5b1086];_0x1bccb7||(_0x1bccb7=_0x1c5263[_0x2ddf65(0x2dd)]()[_0x2ddf65(0x3c9)]({..._0x47856a?_0x4d68fa:_0x5d751b,'n':{'pattern':_0x4ed736[_0x5b1086]}}),_0x47856a?_0x210236[_0x5b1086]=_0x1bccb7:_0x242d50[_0x5b1086]=_0x1bccb7),_0x3e871a[_0x24f8e6][_0x5b1086]['s']=_0x1bccb7;}}),_0x24f8e6++;});const _0xc55652=new _0x49f92f[(_0x1ab8b(0x38d))](_0x3e871a),_0x1df0cb={};_0xc55652[_0x1ab8b(0x3e5)]((_0x4ef8b3,_0x41326f,_0x52350f)=>{_0x1df0cb[_0x4ef8b3]||(_0x1df0cb[_0x4ef8b3]={}),_0x1df0cb[_0x4ef8b3][_0x41326f]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x44ff90=[],_0x3f70bb=[],_0x3b6313=_0x1c5263[_0x1ab8b(0x31f)]()[_0x1ab8b(0x37f)],_0x1c9efa=_0x49f92f[_0x1ab8b(0x298)]({'rowCount':Math[_0x1ab8b(0x3b0)](_0x49f92f['DEFAULT_WORKSHEET_ROW_COUNT'],_0x299630+0xa),'columnCount':Math[_0x1ab8b(0x3b0)](_0x49f92f[_0x1ab8b(0x1ed)],_0x24ba28+0x5)}),_0x5254a1=_0x21355f[_0x1ab8b(0x326)](_0x49f92f[_0x1ab8b(0x311)]);_0x1c9efa['id']=_0x49f92f['generateRandomId'](),_0x1c9efa[_0x1ab8b(0x27d)]=_0x1c5263[_0x1ab8b(0x2b4)](''+_0x5254a1['t'](_0x1ab8b(0x26c)));const _0x53d6fa={'index':_0x3b6313,'sheet':_0x1c9efa,'unitId':_0x57017d},_0x496aa2=_0x29b248['InsertSheetUndoMutationFactory'](_0x21355f,_0x53d6fa);_0x3f70bb[_0x1ab8b(0x254)]({'id':_0x29b248[_0x1ab8b(0x1e0)]['id'],'params':_0x53d6fa}),_0x44ff90[_0x1ab8b(0x254)]({'id':_0x29b248[_0x1ab8b(0x17e)]['id'],'params':_0x496aa2}),_0x3f70bb[_0x1ab8b(0x254)]({'id':_0x29b248[_0x1ab8b(0x283)]['id'],'params':{'unitId':_0x57017d,'subUnitId':_0x1c9efa['id'],'cellValue':_0x3e871a}}),_0x44ff90[_0x1ab8b(0x127)]({'id':_0x29b248[_0x1ab8b(0x283)]['id'],'params':{'unitId':_0x57017d,'subUnitId':_0x1c9efa['id'],'cellValue':_0x1df0cb}});const _0x4ba0a0={'startRow':0x0,'startColumn':0x0,'endRow':_0x24f8e6-0x1,'endColumn':_0x2899f1};_0x3f70bb['push']({'id':_0x4f3d47['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x57017d,'subUnitId':_0x1c9efa['id'],'range':_0x4ba0a0}}),_0x44ff90['unshift']({'id':_0x4f3d47['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x57017d,'subUnitId':_0x1c9efa['id']}});const _0x3b98de=_0x21355f[_0x1ab8b(0x326)](_0x49f92f['ICommandService']);return _0x49f92f[_0x1ab8b(0x43f)](_0x3f70bb,_0x3b98de)&&_0x21355f['get'](_0x49f92f[_0x1ab8b(0x16b)])[_0x1ab8b(0x232)]({'unitID':_0x57017d,'undoMutations':_0x44ff90,'redoMutations':_0x3f70bb}),!0x0;}},_0x428f9a={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x305)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x341c21,_0x1dc0a0){const _0xd7a2e5=_0x5565f1;if(!_0x1dc0a0)return!0x1;const _0xabd880=_0x341c21[_0xd7a2e5(0x326)](_0x49f92f[_0xd7a2e5(0x3fc)]),_0x4449f6=_0x341c21[_0xd7a2e5(0x326)](_0x47953f[_0xd7a2e5(0x3f1)]),_0x496f59=_0x341c21[_0xd7a2e5(0x326)](_0x49f92f[_0xd7a2e5(0x16b)]),{pivotTableId:_0x3e4820,fieldIds:_0x4486f7,unitId:_0x14de73,subUnitId:_0x2babe5}=_0x1dc0a0,_0x159a2f=(await _0x4449f6[_0xd7a2e5(0x236)]({'unitId':_0x14de73,'subUnitId':_0x2babe5,'pivotTableId':_0x3e4820,'params':{'type':_0x3175a8[_0xd7a2e5(0x235)],'removePivotField':{'fieldIds':_0x4486f7}}}))['result'][_0xd7a2e5(0x2c7)];if(!_0x159a2f)return!0x1;const {view:_0x181cef,changesets:_0x2ae8fc,isEmpty:_0x8f4fa3,pivotTableConfig:_0x44d6ea}=_0x159a2f,_0x3767ec=_0x44d6ea[_0xd7a2e5(0x1d0)],_0x3e22ba=new _0x16b0d8[(_0xd7a2e5(0x19b))]();_0x3e22ba[_0xd7a2e5(0x39c)](_0x181cef);const _0x15452f={'cellInfo':_0x3767ec,'view':_0x3e22ba,'isEmpty':_0x8f4fa3};if(!await _0x341c21[_0xd7a2e5(0x326)](_0x47953f[_0xd7a2e5(0x2c5)])[_0xd7a2e5(0x3dc)][_0xd7a2e5(0x3ab)](_0x2d81a5)(!0x0,_0x15452f))return!0x1;const _0x4b1064=_0x2535c3(_0x341c21,_0x3e22ba,_0x3767ec,_0x8f4fa3),_0x53b9de=_0x3f413f(_0x341c21,_0x15452f),{redos:_0x3b2d68,undos:_0x923534}=_0x41974f(_0xabd880,{'pivotTableId':_0x3e4820,'unitId':_0x14de73,'subUnitId':_0x2babe5},_0x2ae8fc);return _0x49f92f[_0xd7a2e5(0x43f)]([..._0x4b1064['redos'],..._0x53b9de[_0xd7a2e5(0x2a5)],..._0x3b2d68],_0xabd880),_0x496f59[_0xd7a2e5(0x232)]({'unitID':_0x14de73,'redoMutations':[..._0x4b1064[_0xd7a2e5(0x2a5)],..._0x53b9de[_0xd7a2e5(0x2a5)],..._0x3b2d68],'undoMutations':[..._0x4b1064[_0xd7a2e5(0x206)],..._0x53b9de['undos'],..._0x923534]}),!0x0;}},_0x1fe731={'type':_0x49f92f['CommandType'][_0x5565f1(0x305)],'id':_0x5565f1(0x121),async 'handler'(_0x433bfa,_0xed150a){const _0x23628b=_0x5565f1;if(!_0xed150a)return!0x1;const _0x1a4605=_0x433bfa[_0x23628b(0x326)](_0x49f92f['ICommandService']),_0x3b6f25=_0x433bfa[_0x23628b(0x326)](_0x49f92f['IUndoRedoService']),_0x3b6066=_0x433bfa['get'](_0x47953f[_0x23628b(0x3f1)]),{resetArea:_0x437b89,pivotTableId:_0x4b0ded,unitId:_0x101550,subUnitId:_0x184834}=_0xed150a,_0x57c1c3=(await _0x3b6066[_0x23628b(0x236)]({'unitId':_0x101550,'subUnitId':_0x184834,'pivotTableId':_0x4b0ded,'params':{'type':_0x3175a8['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x4b0ded,'resetArea':_0x437b89}}}))[_0x23628b(0x138)]['resetPivotTable'];if(!_0x57c1c3)return!0x1;const {changesets:_0x2069c7}=_0x57c1c3,{redos:_0x253f7b,undos:_0x1c5f42}=_0x41974f(_0x1a4605,{'pivotTableId':_0x4b0ded,'unitId':_0x101550,'subUnitId':_0x184834},_0x2069c7);return _0x49f92f[_0x23628b(0x43f)](_0x253f7b,_0x1a4605),_0x3b6f25[_0x23628b(0x232)]({'unitID':_0x101550,'redoMutations':_0x253f7b,'undoMutations':_0x1c5f42}),!0x0;}},_0x433d1e={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x305)],'id':_0x5565f1(0x3ef),async 'handler'(_0x56570f,_0x38faf3){const _0x2294e0=_0x5565f1,_0x29f230=_0x56570f[_0x2294e0(0x326)](_0x49f92f[_0x2294e0(0x3fc)]),_0x372222=_0x56570f[_0x2294e0(0x326)](_0x47953f[_0x2294e0(0x3f1)]),_0x1dcc84=_0x56570f[_0x2294e0(0x326)](_0x47953f[_0x2294e0(0x3c8)]),_0x2b1a60=_0x56570f[_0x2294e0(0x326)](_0x49f92f[_0x2294e0(0x26f)]),_0x38dc75=_0x56570f[_0x2294e0(0x326)](_0x49f92f[_0x2294e0(0x311)]),_0x146dcb=_0x56570f[_0x2294e0(0x326)](_0x49f92f[_0x2294e0(0x16b)]);if(!_0x38faf3)return!0x1;const {unitId:_0x26da0e,subUnitId:_0x45e1f6,row:_0x16e485,col:_0x150b17,collapse:_0x700c52}=_0x38faf3,_0x5b5515=_0x2b1a60[_0x2294e0(0x3c5)](_0x26da0e);if(!_0x5b5515||!_0x5b5515[_0x2294e0(0x222)](_0x45e1f6))return!0x1;const _0x5963ce=_0x1dcc84[_0x2294e0(0x18d)](_0x26da0e,_0x45e1f6,_0x16e485,_0x150b17);if(!_0x5963ce)return!0x1;const _0x3e3735=_0x1dcc84[_0x2294e0(0x2f4)](_0x26da0e,_0x45e1f6,_0x5963ce);if(!_0x3e3735)return!0x1;const _0xb6de4f=_0x49f92f[_0x2294e0(0x42d)](_0x16e485,_0x150b17),{rangesInfo:_0x44b6b2,areaInfo:_0x3121ae,headerMap:_0x5550f7}=_0x3e3735;if(!_0x44b6b2||!_0x3121ae||!_0x5550f7)return!0x1;const _0x1df19d=Object['keys'](_0x44b6b2)[_0x2294e0(0x34e)](_0x109efb=>_0x44b6b2[_0x109efb][_0x2294e0(0x145)](_0x192605=>_0x49f92f[_0x2294e0(0x23f)][_0x2294e0(0x3a6)](_0x192605,_0xb6de4f)));let _0x13542b;_0x1df19d===_0x2294e0(0x142)?_0x13542b=_0x5550f7['rowHeaderMap'][_0x150b17]:_0x1df19d===_0x2294e0(0x170)&&(_0x13542b=_0x5550f7[_0x2294e0(0x20d)][_0x16e485]);const _0x3a953e=_0x13542b==null?void 0x0:_0x13542b[_0x2294e0(0x292)],_0xe9196=_0x1dcc84['getPivotTableCellData'](_0x26da0e,_0x45e1f6,_0x16e485,_0x150b17);let _0x32cd04=_0xe9196==null?void 0x0:_0xe9196['v'];if(_0x32cd04===_0x38dc75['t']('sheets-pivot.blank')&&(_0x32cd04=_0x16b0d8[_0x2294e0(0x3f0)][_0x2294e0(0x346)]),_0x32cd04==null||!_0x5963ce||!_0x3a953e)return!0x1;const _0x595e20=await _0x372222[_0x2294e0(0x236)]({'unitId':_0x26da0e,'subUnitId':_0x45e1f6,'pivotTableId':_0x5963ce,'params':{'type':_0x3175a8[_0x2294e0(0x2fe)],'setPivotCollapse':{'tableFieldId':_0x3a953e,'collapse':_0x700c52,'item':_0x32cd04}}}),_0x37172c=_0x595e20==null?void 0x0:_0x595e20['result'][_0x2294e0(0x231)];if(!_0x37172c)return!0x1;const {view:_0x1543d8,pivotTableConfig:_0x33ae05,isEmpty:_0x52bf3d,changesets:_0x26e66b}=_0x37172c,_0x5c4e74=new _0x16b0d8['PivotView']();_0x5c4e74[_0x2294e0(0x39c)](_0x1543d8);const _0x3483ee=_0x33ae05[_0x2294e0(0x1d0)],_0x5cb63a={'cellInfo':_0x3483ee,'view':_0x5c4e74,'isEmpty':_0x52bf3d};if(!await _0x56570f['get'](_0x47953f[_0x2294e0(0x2c5)])[_0x2294e0(0x3dc)][_0x2294e0(0x3ab)](_0x2d81a5)(!0x0,_0x5cb63a))return!0x1;const _0x49fd6b=_0x2535c3(_0x56570f,_0x5c4e74,_0x3483ee,_0x52bf3d),_0x2f4297=_0x3f413f(_0x56570f,_0x5cb63a),{redos:_0x548bf2,undos:_0x1911ec}=_0x41974f(_0x29f230,{'pivotTableId':_0x5963ce,'unitId':_0x26da0e,'subUnitId':_0x45e1f6},_0x26e66b);return _0x49f92f[_0x2294e0(0x43f)]([..._0x49fd6b[_0x2294e0(0x2a5)],..._0x2f4297[_0x2294e0(0x2a5)],..._0x548bf2],_0x29f230),_0x146dcb[_0x2294e0(0x232)]({'unitID':_0x26da0e,'redoMutations':[..._0x49fd6b['redos'],..._0x2f4297['redos'],..._0x548bf2],'undoMutations':[..._0x49fd6b[_0x2294e0(0x206)],..._0x2f4297['undos'],..._0x1911ec]}),!0x0;}},_0x1bceee={'type':_0x49f92f[_0x5565f1(0x1ae)]['COMMAND'],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x33048c,_0x5c9491){const _0x538b9e=_0x5565f1;if(!_0x5c9491)return!0x1;const _0x28dd5b=_0x33048c[_0x538b9e(0x326)](_0x49f92f[_0x538b9e(0x3fc)]),_0x17eb03=_0x33048c['get'](_0x49f92f[_0x538b9e(0x16b)]),_0x2cc6c0=_0x33048c[_0x538b9e(0x326)](_0x47953f[_0x538b9e(0x3f1)]),{pivotTableConfig:_0x30482e,pivotTableId:_0x50916e,unitId:_0x16d70b,subUnitId:_0xb20c44}=_0x5c9491,_0x5481ef=(await _0x2cc6c0[_0x538b9e(0x236)]({'unitId':_0x16d70b,'subUnitId':_0xb20c44,'pivotTableId':_0x50916e,'params':{'type':_0x3175a8['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x50916e,'pivotTableConfig':_0x30482e}}}))[_0x538b9e(0x138)][_0x538b9e(0x13c)];if(!_0x5481ef)return!0x1;const {changesets:_0x548c37}=_0x5481ef,{redos:_0x18083b,undos:_0x2b3291}=_0x41974f(_0x28dd5b,{'pivotTableId':_0x50916e,'unitId':_0x16d70b,'subUnitId':_0xb20c44},_0x548c37);return _0x49f92f[_0x538b9e(0x43f)](_0x18083b,_0x28dd5b),_0x17eb03[_0x538b9e(0x232)]({'unitID':_0x16d70b,'redoMutations':_0x18083b,'undoMutations':_0x2b3291}),!0x0;}},_0x2df530={'type':_0x49f92f['CommandType'][_0x5565f1(0x305)],'id':_0x5565f1(0x38a),async 'handler'(_0x4c2522,_0x118e45){const _0x331a42=_0x5565f1;if(!_0x118e45)return!0x1;const _0x508896=_0x4c2522[_0x331a42(0x326)](_0x49f92f[_0x331a42(0x3fc)]),{pivotTableId:_0x39eac7,tableFieldId:_0xef0b,items:_0x59b40a,unitId:_0x51e78f,subUnitId:_0x959e33,isAll:_0x4d1bc5}=_0x118e45,_0x20f799=_0x4c2522[_0x331a42(0x326)](_0x47953f[_0x331a42(0x3f1)]),_0x51c7d1=_0x4c2522[_0x331a42(0x326)](_0x49f92f[_0x331a42(0x16b)]),_0x522dab=(await _0x20f799['getPivotDisplayConfig']({'unitId':_0x51e78f,'subUnitId':_0x959e33,'pivotTableId':_0x39eac7,'params':{'type':_0x3175a8[_0x331a42(0x430)],'setPivotFilter':{'tableFieldId':_0xef0b,'items':_0x59b40a,'isAll':_0x4d1bc5}}}))[_0x331a42(0x138)][_0x331a42(0x1f5)];if(!_0x522dab)return!0x1;const {changesets:_0x489ad3,pivotTableConfig:_0x361255,isEmpty:_0x3d5ec8,view:_0x3a94f4}=_0x522dab,_0x456075=_0x361255[_0x331a42(0x1d0)],_0x48bbd9=new _0x16b0d8[(_0x331a42(0x19b))]();_0x48bbd9[_0x331a42(0x39c)](_0x3a94f4);const _0x1ef01a={'cellInfo':_0x456075,'view':_0x48bbd9,'isEmpty':_0x3d5ec8};if(!await _0x4c2522['get'](_0x47953f[_0x331a42(0x2c5)])[_0x331a42(0x3dc)]['fetchThroughAsyncInterceptors'](_0x2d81a5)(!0x0,_0x1ef01a))return!0x1;const _0x14179e=_0x2535c3(_0x4c2522,_0x48bbd9,_0x456075,_0x3d5ec8),_0x518d01=_0x3f413f(_0x4c2522,_0x1ef01a),{undos:_0x48dadb,redos:_0x4fc886}=_0x41974f(_0x508896,{'pivotTableId':_0x39eac7,'unitId':_0x51e78f,'subUnitId':_0x959e33},_0x489ad3);return _0x49f92f[_0x331a42(0x43f)]([..._0x14179e[_0x331a42(0x2a5)],..._0x518d01[_0x331a42(0x2a5)],..._0x4fc886],_0x508896),_0x51c7d1[_0x331a42(0x232)]({'unitID':_0x51e78f,'redoMutations':[..._0x14179e[_0x331a42(0x2a5)],..._0x518d01[_0x331a42(0x2a5)],..._0x4fc886],'undoMutations':[..._0x14179e['undos'],..._0x518d01[_0x331a42(0x206)],..._0x48dadb]}),!0x0;}},_0x4d3fef={'type':_0x49f92f[_0x5565f1(0x1ae)]['COMMAND'],'id':_0x5565f1(0x29b),async 'handler'(_0x2d653f,_0x1eaebe){const _0x3e4e05=_0x5565f1;if(!_0x1eaebe)return!0x1;const _0x4a6278=_0x2d653f[_0x3e4e05(0x326)](_0x49f92f[_0x3e4e05(0x3fc)]),_0x5012cf=_0x2d653f[_0x3e4e05(0x326)](_0x49f92f[_0x3e4e05(0x16b)]),_0x22a179=_0x2d653f['get'](_0x47953f[_0x3e4e05(0x3f1)]),{info:_0x238887,tableFieldId:_0x44f422,pivotTableId:_0xd908e,unitId:_0x447326,subUnitId:_0x4f554a}=_0x1eaebe,_0x271e25=(await _0x22a179[_0x3e4e05(0x236)]({'unitId':_0x447326,'subUnitId':_0x4f554a,'pivotTableId':_0xd908e,'params':{'type':_0x3175a8[_0x3e4e05(0x3fd)],'setPivotSort':{'tableFieldId':_0x44f422,'info':_0x238887}}}))[_0x3e4e05(0x138)][_0x3e4e05(0x304)];if(!_0x271e25)return!0x1;const {changesets:_0x274348}=_0x271e25,{redos:_0x3dbeea,undos:_0x49314e}=_0x41974f(_0x4a6278,{'pivotTableId':_0xd908e,'unitId':_0x447326,'subUnitId':_0x4f554a},_0x274348);return _0x49f92f[_0x3e4e05(0x43f)](_0x3dbeea,_0x4a6278),_0x5012cf[_0x3e4e05(0x232)]({'unitID':_0x447326,'redoMutations':_0x3dbeea,'undoMutations':_0x49314e}),!0x0;}},_0x560a6d={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x305)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x41312d,_0x3bf98c){const _0x227e6e=_0x5565f1;if(!_0x3bf98c)return!0x1;const _0x4a2f5e=_0x41312d[_0x227e6e(0x326)](_0x49f92f[_0x227e6e(0x3fc)]),{pivotTableId:_0x2e373b,fieldId:_0x5f50c4,valueFilterInfo:_0x3711c2,unitId:_0x3dba14,subUnitId:_0x58300d}=_0x3bf98c,_0x37ff4b=_0x41312d['get'](_0x47953f[_0x227e6e(0x3f1)]),_0x22d999=_0x41312d[_0x227e6e(0x326)](_0x49f92f[_0x227e6e(0x16b)]),_0x485a7a=(await _0x37ff4b[_0x227e6e(0x236)]({'unitId':_0x3dba14,'subUnitId':_0x58300d,'pivotTableId':_0x2e373b,'params':{'type':_0x3175a8['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x5f50c4,'filterInfo':_0x3711c2}}}))['result']['setValuePivotFilter'];if(!_0x485a7a)return!0x1;const {changesets:_0x581d76,pivotTableConfig:_0x199d41,isEmpty:_0x3a87ff,view:_0x36e617}=_0x485a7a,_0x26d3da=_0x199d41[_0x227e6e(0x1d0)],_0x3e9e35=new _0x16b0d8['PivotView']();_0x3e9e35['formJSON'](_0x36e617);const _0x5ba99c={'cellInfo':_0x26d3da,'view':_0x3e9e35,'isEmpty':_0x3a87ff};if(!await _0x41312d[_0x227e6e(0x326)](_0x47953f[_0x227e6e(0x2c5)])[_0x227e6e(0x3dc)][_0x227e6e(0x3ab)](_0x2d81a5)(!0x0,_0x5ba99c))return!0x1;const _0x1c30d3=_0x2535c3(_0x41312d,_0x3e9e35,_0x26d3da,_0x3a87ff),_0x21b71b=_0x3f413f(_0x41312d,_0x5ba99c),{undos:_0x2f68d3,redos:_0x4efdb7}=_0x41974f(_0x4a2f5e,{'pivotTableId':_0x2e373b,'unitId':_0x3dba14,'subUnitId':_0x58300d},_0x581d76);return _0x49f92f[_0x227e6e(0x43f)]([..._0x1c30d3[_0x227e6e(0x2a5)],..._0x21b71b[_0x227e6e(0x2a5)],..._0x4efdb7],_0x4a2f5e),_0x22d999[_0x227e6e(0x232)]({'unitID':_0x3dba14,'redoMutations':[..._0x1c30d3['redos'],..._0x21b71b[_0x227e6e(0x2a5)],..._0x4efdb7],'undoMutations':[..._0x1c30d3[_0x227e6e(0x206)],..._0x21b71b[_0x227e6e(0x206)],..._0x2f68d3]}),!0x0;}},_0xf64629={'id':_0x5565f1(0x390),'type':_0x49f92f['CommandType']['MUTATION'],'handler':(_0x172328,_0x49ada7)=>{const _0x1c1def=_0x5565f1;if(!_0x49ada7)return!0x1;if(!!_0x172328[_0x1c1def(0x326)](_0x49f92f['IConfigService'])['getConfig'](_0x511ea3))return!0x0;const {unitId:_0x1ccd7e,subUnitId:_0x209fd5,pivotTableId:_0x4c841e,tableFieldId:_0x5af77c,dateType:_0x3f2899}=_0x49ada7,_0x1506ee=_0x172328[_0x1c1def(0x326)](_0x47953f[_0x1c1def(0x120)]),_0x55560c=_0x1506ee[_0x1c1def(0x233)](_0x4c841e);if(!_0x55560c)return!0x1;const _0x19eed9=_0x55560c['getDataFieldByTableId'](_0x5af77c);if(!_0x19eed9)return!0x1;const _0x3ad7bd=_0x19eed9['getOriginFieldId'](),_0x5cee8f=_0x55560c['getDataFieldByDataFieldId'](_0x3ad7bd),_0x3dafc8=(_0x5cee8f==null?void 0x0:_0x5cee8f[_0x1c1def(0x2f9)]())+'\x20'+_0x18fbc7(_0x172328,_0x3f2899);_0x1506ee[_0x1c1def(0x312)](_0x1ccd7e,_0x4c841e)['setDisplayName'](_0x19eed9['id'],_0x3dafc8);const _0x26fef9=_0x55560c[_0x1c1def(0x143)](_0x5af77c);if(!_0x26fef9)return!0x1;_0x55560c[_0x1c1def(0x25e)](_0x26fef9[_0x1c1def(0x428)](),_0x3dafc8),_0x19eed9[_0x1c1def(0x15d)](_0x3f2899);const _0x3d805c=_0x1506ee[_0x1c1def(0x215)](_0x1ccd7e,_0x209fd5,_0x4c841e);return _0x1506ee[_0x1c1def(0x265)]({'unitId':_0x1ccd7e,'subUnitId':_0x209fd5,'token':_0x4c841e,'type':_0x1e0edb['Set'],'pivotConfig':_0x3d805c}),!0x0;}},_0x19a49e={'id':_0x5565f1(0x1f2),'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x305)],'handler':(_0x3a9f52,_0x730575)=>{const _0x156218=_0x5565f1;if(!_0x730575)return!0x1;const _0x3635a4=_0x3a9f52[_0x156218(0x326)](_0x49f92f[_0x156218(0x16b)]),{unitId:_0x546a7f,subUnitId:_0x3ef346,pivotTableId:_0xb9fae,tableFieldId:_0x32ce0a}=_0x730575,_0x475661=[],_0x1e9bb6=[],_0x1dabb1=_0x3a9f52[_0x156218(0x326)](_0x47953f[_0x156218(0x11d)]),_0x5c6b58=_0x1dabb1[_0x156218(0x312)](_0x546a7f,_0xb9fae),_0x4ee267=_0x1dabb1[_0x156218(0x215)](_0x546a7f,_0x3ef346,_0xb9fae);if(!(_0x4ee267!=null&&_0x4ee267[_0x156218(0x1be)][_0x156218(0x172)]))return!0x1;const _0x25d26a=Object[_0x156218(0x159)](_0x4ee267['fieldsConfig']['dimension'])['find'](_0x258569=>_0x258569['id']===_0x32ce0a);if(!_0x25d26a)return!0x1;const _0x2674a4=_0x25d26a['dataFieldId'];if(!(_0x5c6b58!=null&&_0x5c6b58[_0x156218(0x1c5)]))return!0x1;const _0x302d92=Object[_0x156218(0x159)](_0x5c6b58==null?void 0x0:_0x5c6b58[_0x156218(0x1c5)])[_0x156218(0x34e)](_0x1a9241=>_0x1a9241['id']===_0x2674a4);if(!_0x302d92)return!0x1;_0x16b0d8[_0x156218(0x26e)](_0x302d92)&&_0x475661['push']({'id':_0xf64629['id'],'params':{..._0x730575,'dateType':_0x302d92[_0x156218(0x247)]}}),_0x1e9bb6[_0x156218(0x254)]({'id':_0xf64629['id'],'params':{..._0x730575}});const _0x5d5909=_0x3a9f52['get'](_0x49f92f[_0x156218(0x3fc)]);return _0x49f92f['sequenceExecute'](_0x1e9bb6,_0x5d5909)&&_0x3635a4[_0x156218(0x232)]({'unitID':_0x546a7f,'undoMutations':_0x475661,'redoMutations':_0x1e9bb6}),!0x0;}},_0x4e941b={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x305)],'id':_0x5565f1(0x12c),async 'handler'(_0x266aa6,_0xaea3f2){const _0x287f9f=_0x5565f1;if(!_0xaea3f2)return!0x1;const _0x509e29=_0x266aa6[_0x287f9f(0x326)](_0x49f92f[_0x287f9f(0x3fc)]),_0xc79940=_0x266aa6[_0x287f9f(0x326)](_0x49f92f[_0x287f9f(0x16b)]),_0x3784cf=_0x266aa6['get'](_0x47953f[_0x287f9f(0x3f1)]),{displayName:_0x5e4943,subtotalType:_0x1c503a,format:_0x2e3862,tableFieldId:_0x3c1d4f,pivotTableId:_0x2e6fa2,unitId:_0x2699bf,subUnitId:_0x55fa95}=_0xaea3f2,_0x103d5c=(await _0x3784cf[_0x287f9f(0x236)]({'unitId':_0x2699bf,'subUnitId':_0x55fa95,'pivotTableId':_0x2e6fa2,'params':{'type':_0x3175a8['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x3c1d4f,'displayName':_0x5e4943,'subtotalType':_0x1c503a,'format':_0x2e3862}}}))[_0x287f9f(0x138)]['setPivotSetting'];if(!_0x103d5c)return!0x1;const {changesets:_0x25bd00,view:_0x25a302,pivotTableConfig:_0x467ee9,isEmpty:_0x2391c2}=_0x103d5c,_0x373771=_0x467ee9[_0x287f9f(0x1d0)],_0x42160c=new _0x16b0d8[(_0x287f9f(0x19b))]();_0x42160c['formJSON'](_0x25a302);const _0x426f7f={'cellInfo':_0x373771,'view':_0x42160c,'isEmpty':_0x2391c2};if(!await _0x266aa6[_0x287f9f(0x326)](_0x47953f[_0x287f9f(0x2c5)])[_0x287f9f(0x3dc)][_0x287f9f(0x3ab)](_0x2d81a5)(!0x0,_0x426f7f))return!0x1;const _0x267845=_0x2535c3(_0x266aa6,_0x42160c,_0x373771,_0x2391c2),_0x289e51=_0x3f413f(_0x266aa6,_0x426f7f),{undos:_0x47021e,redos:_0x2d7f65}=_0x41974f(_0x509e29,{'pivotTableId':_0x2e6fa2,'unitId':_0x2699bf,'subUnitId':_0x55fa95},_0x25bd00);return _0x49f92f['sequenceExecute']([..._0x267845['redos'],..._0x289e51['redos'],..._0x2d7f65],_0x509e29),_0xc79940['pushUndoRedo']({'unitID':_0x2699bf,'redoMutations':[..._0x267845[_0x287f9f(0x2a5)],..._0x289e51[_0x287f9f(0x2a5)],..._0x2d7f65],'undoMutations':[..._0x267845[_0x287f9f(0x206)],..._0x289e51[_0x287f9f(0x206)],..._0x47021e]}),!0x0;}},_0x66b5e7={'type':_0x49f92f[_0x5565f1(0x1ae)][_0x5565f1(0x1fc)],'id':_0x5565f1(0x35e),'handler'(_0x278605,_0x3a289a){const _0x17c2b5=_0x5565f1;if(!_0x3a289a)return!0x1;if(!!_0x278605['get'](_0x49f92f[_0x17c2b5(0x404)])[_0x17c2b5(0x2ee)](_0x511ea3))return!0x0;const _0x2387dd=_0x278605[_0x17c2b5(0x326)](_0x47953f[_0x17c2b5(0x120)]),{pivotTableId:_0x5aa3f7,deleteIds:_0x492563,collectionJSON:_0x39f2b0,dataRangeInfo:_0x540ce1,unitId:_0x56b3c2,subUnitId:_0x231084}=_0x3a289a,_0x14bcb5=_0x2387dd['getPivotTableInstance'](_0x5aa3f7),_0x4825a6=_0x2387dd[_0x17c2b5(0x215)](_0x56b3c2,_0x231084,_0x5aa3f7);if(!_0x14bcb5||!_0x4825a6)return!0x1;const {collection:_0x17dbf8,updateDataFieldList:_0x4ce49b}=_0x2387dd[_0x17c2b5(0x3cf)](_0x5aa3f7,_0x39f2b0,_0x540ce1,_0x4825a6['targetCellInfo']);_0x2387dd[_0x17c2b5(0x1f7)](_0x17dbf8,_0x4ce49b,_0x540ce1),_0x14bcb5[_0x17c2b5(0x383)](_0x17dbf8);for(const _0x42a269 of _0x492563)_0x2387dd[_0x17c2b5(0x3bd)](_0x540ce1[_0x17c2b5(0x32c)],_0x42a269);const _0x387d3d=_0x2387dd['getPivotTableConfig'](_0x56b3c2,_0x231084,_0x5aa3f7);return _0x387d3d[_0x17c2b5(0x2b1)]=JSON[_0x17c2b5(0x3ac)](JSON[_0x17c2b5(0x362)](_0x540ce1)),_0x2387dd['addDirtyPivotTable']({'unitId':_0x56b3c2,'subUnitId':_0x231084,'token':_0x5aa3f7,'type':_0x1e0edb['Set']}),!0x0;}},_0x41de91={'type':_0x49f92f['CommandType'][_0x5565f1(0x305)],'id':_0x5565f1(0x14b),async 'handler'(_0x5cde83,_0x20f940){const _0x1fc342=_0x5565f1,_0xdcee75=_0x5cde83[_0x1fc342(0x326)](_0x49f92f[_0x1fc342(0x3fc)]),_0x181f98=_0x5cde83[_0x1fc342(0x326)](_0x47953f[_0x1fc342(0x3f1)]),_0x4e5d06=_0x5cde83[_0x1fc342(0x326)](_0x49f92f[_0x1fc342(0x16b)]);if(!_0x20f940)return!0x1;const {token:_0x52b5de,dataRangeInfo:_0x1e3779,unitId:_0x4fba82,subUnitId:_0x416b15}=_0x20f940,_0xa0fbd3=[],_0xb4c8bf=[],_0x5088ac=(await _0x181f98['getPivotDisplayConfig']({'unitId':_0x4fba82,'subUnitId':_0x416b15,'pivotTableId':_0x52b5de,'params':{'type':_0x3175a8[_0x1fc342(0x278)],'updatePivotSource':{'dataRangeInfo':_0x1e3779,'unitId':_0x4fba82,'subUnitId':_0x416b15}}}))[_0x1fc342(0x138)][_0x1fc342(0x339)];if(!_0x5088ac)return!0x1;const {changesets:_0x2afb19,deleteIds:_0x35f159,collectionConfig:_0x2ab02f,oldCollectionConfig:_0x1cf2af,view:_0x58ad27,isEmpty:_0xe3a45b,pivotTableConfig:_0x37b92f}=_0x5088ac;_0xb4c8bf[_0x1fc342(0x254)]({'id':_0x66b5e7['id'],'params':{'pivotTableId':_0x52b5de,'deleteIds':_0x35f159,'collectionJSON':_0x2ab02f,'dataRangeInfo':_0x1e3779,'unitId':_0x4fba82,'subUnitId':_0x416b15}}),_0xa0fbd3['unshift']({'id':_0x66b5e7['id'],'params':{'pivotTableId':_0x52b5de,'deleteIds':[],'collectionJSON':_0x1cf2af,'dataRangeInfo':_0x37b92f[_0x1fc342(0x2b1)],'unitId':_0x4fba82,'subUnitId':_0x416b15}});const _0x44c301=_0x37b92f[_0x1fc342(0x1d0)],_0x2ef6ce=new _0x16b0d8[(_0x1fc342(0x19b))]();_0x2ef6ce['formJSON'](_0x58ad27);const _0x3d0baf={'cellInfo':_0x44c301,'view':_0x2ef6ce,'isEmpty':_0xe3a45b};if(!await _0x5cde83[_0x1fc342(0x326)](_0x47953f[_0x1fc342(0x2c5)])['asyncInterceptor'][_0x1fc342(0x3ab)](_0x2d81a5)(!0x0,_0x3d0baf))return!0x1;const _0x3cba14=_0x2535c3(_0x5cde83,_0x2ef6ce,_0x44c301,_0xe3a45b),_0x22e1f7=_0x3f413f(_0x5cde83,_0x3d0baf),{undos:_0x513eb2,redos:_0x3923fe}=_0x41974f(_0xdcee75,{'pivotTableId':_0x52b5de,'unitId':_0x4fba82,'subUnitId':_0x416b15},_0x2afb19);return _0x49f92f['sequenceExecute']([..._0x3cba14[_0x1fc342(0x2a5)],..._0x22e1f7[_0x1fc342(0x2a5)],..._0xb4c8bf,..._0x513eb2],_0xdcee75),_0x4e5d06['pushUndoRedo']({'unitID':_0x4fba82,'redoMutations':[..._0x3cba14['redos'],..._0x22e1f7['redos'],..._0xb4c8bf,..._0x513eb2],'undoMutations':[..._0x3cba14['undos'],..._0x22e1f7[_0x1fc342(0x206)],..._0xa0fbd3,..._0x3923fe]}),!0x0;}},_0x942c81={'type':_0x49f92f['CommandType']['COMMAND'],'id':_0x5565f1(0x258),async 'handler'(_0x14dfbe,_0x1148f1){const _0x3a918b=_0x5565f1;if(!_0x1148f1)return!0x1;const _0x247f38=_0x14dfbe[_0x3a918b(0x326)](_0x49f92f[_0x3a918b(0x3fc)]),_0x5c46f5=_0x14dfbe[_0x3a918b(0x326)](_0x47953f[_0x3a918b(0x3f1)]),_0x5c8531=_0x14dfbe['get'](_0x49f92f['IUniverInstanceService']),_0xa0c45=_0x14dfbe[_0x3a918b(0x326)](_0x49f92f[_0x3a918b(0x16b)]),{pivotTableId:_0x2e9e3b,position:_0x1b9561,index:_0x27daa6}=_0x1148f1,_0xc9681a=_0x29b248[_0x3a918b(0x1a6)](_0x5c8531);if(!_0xc9681a)return!0x1;const {unitId:_0x2b96ea,subUnitId:_0x78b706}=_0xc9681a,_0x2f3590=(await _0x5c46f5[_0x3a918b(0x236)]({'unitId':_0x2b96ea,'subUnitId':_0x78b706,'pivotTableId':_0x2e9e3b,'params':{'type':_0x3175a8[_0x3a918b(0x17f)],'updateValuePosition':{'position':_0x1b9561,'index':_0x27daa6}}}))[_0x3a918b(0x138)][_0x3a918b(0x323)];if(!_0x2f3590)return!0x1;const {changesets:_0x10178b,view:_0x1ebd76,isEmpty:_0x1706bd,pivotTableConfig:_0x148c3a}=_0x2f3590,_0x51f0ca=_0x148c3a['targetCellInfo'],_0x2ff5e4=new _0x16b0d8['PivotView']();_0x2ff5e4['formJSON'](_0x1ebd76);const _0x3655af=_0x14dfbe[_0x3a918b(0x326)](_0x47953f[_0x3a918b(0x2c5)]),_0x5d98f2={'cellInfo':_0x51f0ca,'view':_0x2ff5e4,'isEmpty':_0x1706bd};if(!await _0x3655af[_0x3a918b(0x3dc)]['fetchThroughAsyncInterceptors'](_0x2d81a5)(!0x0,_0x5d98f2))return!0x1;const _0x10edda=_0x2535c3(_0x14dfbe,_0x2ff5e4,_0x51f0ca,_0x1706bd),_0x430b3d=_0x3f413f(_0x14dfbe,_0x5d98f2),{undos:_0x4a1d27,redos:_0x4ce03a}=_0x41974f(_0x247f38,{'pivotTableId':_0x2e9e3b,'unitId':_0x2b96ea,'subUnitId':_0x78b706},_0x10178b);return _0x49f92f['sequenceExecute']([..._0x10edda[_0x3a918b(0x2a5)],..._0x430b3d[_0x3a918b(0x2a5)],..._0x4ce03a],_0x247f38),_0xa0c45[_0x3a918b(0x232)]({'unitID':_0x2b96ea,'redoMutations':[..._0x10edda[_0x3a918b(0x2a5)],..._0x430b3d['redos'],..._0x4ce03a],'undoMutations':[..._0x10edda['undos'],..._0x430b3d[_0x3a918b(0x206)],..._0x4a1d27]}),!0x0;}},_0x431f75={'type':_0x49f92f[_0x5565f1(0x1ae)]['MUTATION'],'id':_0x5565f1(0x291),'handler'(){return!0x0;}};var _0x2052e3=Object[_0x5565f1(0x14a)],_0xb64e15=(_0x502005,_0x1b8bbd,_0x4c72cb,_0x28273d)=>{const _0x164805=_0x5565f1;for(var _0x5bbf54=_0x28273d>0x1?void 0x0:_0x28273d?_0x2052e3(_0x1b8bbd,_0x4c72cb):_0x1b8bbd,_0xa4341a=_0x502005[_0x164805(0x37f)]-0x1,_0x3f4751;_0xa4341a>=0x0;_0xa4341a--)(_0x3f4751=_0x502005[_0xa4341a])&&(_0x5bbf54=_0x3f4751(_0x5bbf54)||_0x5bbf54);return _0x5bbf54;},_0x1dcd91=(_0x42e6c3,_0x4b2b46)=>(_0x24be5c,_0x5694d2)=>_0x4b2b46(_0x24be5c,_0x5694d2,_0x42e6c3);const _0x486e46=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x2fd152=(_0x172a51,_0x19794d,_0x173c86)=>{const _0x5947b0=_0x5565f1,_0x213778=_0x172a51['dataFieldsCollection'];_0x172a51[_0x5947b0(0x203)](_0x4779d1=>{const _0xfb14f3=_0x5947b0,_0x27e456=_0x4779d1[_0xfb14f3(0x428)](),_0x324b07=_0x4779d1['getDataFieldId'](),_0x11f52b=_0x4779d1[_0xfb14f3(0x33e)](),_0x2c808f=_0x4779d1[_0xfb14f3(0x20b)]();_0x19794d[_0x324b07]&&_0x19794d[_0x324b07]===_0x2c808f&&_0x11f52b===_0x2c808f&&(_0x172a51[_0xfb14f3(0x25e)](_0x27e456,_0x213778[_0xfb14f3(0x20b)](_0x324b07)),_0x4779d1[_0xfb14f3(0x411)](_0x213778[_0xfb14f3(0x20b)](_0x324b07)));}),_0x172a51[_0x5947b0(0x380)](_0x16b0d8['PivotTableFiledAreaEnum'][_0x5947b0(0x359)],_0x354f1f=>{const _0x30875a=_0x5947b0,_0x4c96e6=_0x354f1f[_0x30875a(0x428)](),_0x53f472=_0x354f1f['getDataFieldId'](),_0x5e8b7a=_0x354f1f[_0x30875a(0x33e)](),_0x43d78e=_0x354f1f['getDisplayName'](),_0x3d297f=_0x354f1f[_0x30875a(0x1d1)](),_0x2f38b9=_0x173c86(_0x5e8b7a,_0x3d297f);_0x19794d[_0x53f472]&&_0x19794d[_0x53f472]===_0x5e8b7a&&_0x2f38b9===_0x43d78e&&(_0x172a51[_0x30875a(0x25e)](_0x4c96e6,_0x173c86(_0x213778[_0x30875a(0x20b)](_0x53f472),_0x3d297f)),_0x354f1f[_0x30875a(0x411)](_0x213778['getDisplayName'](_0x53f472)));});},_0x46eac0=(_0x17852c,_0x3ffb56,_0x5da90a)=>{const _0x24a54b=_0x5565f1;var _0x4f1223,_0x3a5895;const {arrayFormulaCellData:_0x4776bd,unitData:_0x53b4a1}=_0x3ffb56,{unitId:_0x2e5ac0,subUnitId:_0x1bd9cb}=_0x5da90a,_0x282b9b=_0x5da90a[_0x24a54b(0x234)],{startColumn:_0x35d4cd,endColumn:_0x3bfc06}=_0x282b9b,_0x1c7cea=(_0x4f1223=_0x4776bd==null?void 0x0:_0x4776bd[_0x2e5ac0])==null?void 0x0:_0x4f1223[_0x1bd9cb],_0x2a9162=(_0x3a5895=_0x53b4a1==null?void 0x0:_0x53b4a1[_0x2e5ac0])==null?void 0x0:_0x3a5895[_0x1bd9cb],_0x3ea1f6=new Set(),_0x1ad889=_0x3bfc06-_0x35d4cd+0x1,{dirtyRanges:_0x5d44ca}=_0x17852c;if(_0x5d44ca)for(const {range:_0x1afc2e,sheetId:_0x25f64f,unitId:_0x156490}of _0x5d44ca){if(_0x25f64f!==_0x1bd9cb||_0x2e5ac0!==_0x156490)continue;const _0x388a87=_0x49f92f[_0x24a54b(0x23f)][_0x24a54b(0x2a1)](_0x1afc2e,_0x282b9b);if(_0x388a87){const {startColumn:_0x4d9013,endColumn:_0x160be0}=_0x388a87;for(let _0x1a49a8=_0x4d9013;_0x1a49a8<=_0x160be0;_0x1a49a8++)_0x3ea1f6[_0x24a54b(0x436)](_0x1a49a8);}}if(_0x3ea1f6[_0x24a54b(0x422)]===_0x1ad889||_0x3ea1f6[_0x24a54b(0x422)]===_0x1ad889)return Array[_0x24a54b(0x3b7)](_0x3ea1f6);if(_0x2a9162){const _0xbe2f95=_0x2a9162['getMatrix'](),_0x535cfc=Object[_0x24a54b(0x37a)](_0xbe2f95);for(const _0x449812 of _0x535cfc){const _0x47d17d=Number(_0x449812),_0x4fdd4e=_0xbe2f95[_0x47d17d];if(_0x3ea1f6[_0x24a54b(0x422)]===_0x1ad889)break;for(const _0x10dd18 in _0x4fdd4e){const _0x3b1645=Number(_0x10dd18);_0x3b1645<_0x35d4cd||_0x3b1645>_0x3bfc06||_0x3ea1f6[_0x24a54b(0x436)](_0x3b1645);}}}if(_0x1c7cea){const _0xe15248=_0x1c7cea[_0x24a54b(0x20f)](),_0x5db2d7=Object[_0x24a54b(0x37a)](_0xe15248);for(const _0x3488ef of _0x5db2d7){const _0x27eefb=Number(_0x3488ef),_0x273334=_0xe15248[_0x27eefb];if(_0x3ea1f6[_0x24a54b(0x422)]===_0x1ad889)break;for(const _0x143728 in _0x273334){const _0x5f0824=Number(_0x143728);_0x5f0824<_0x35d4cd||_0x5f0824>_0x3bfc06||_0x3ea1f6[_0x24a54b(0x436)](_0x5f0824);}}}return Array[_0x24a54b(0x3b7)](_0x3ea1f6);},_0x597c44=_0xd11d62=>{const _0x39ad14=_0x5565f1,_0x7cb89f=new Set(),_0x1c03db=[];for(const _0x7a944d of _0xd11d62){const _0x5e57f7=_0x7a944d[_0x39ad14(0x34c)]+','+_0x7a944d[_0x39ad14(0x2b0)]+','+_0x7a944d[_0x39ad14(0x421)]+','+_0x7a944d[_0x39ad14(0x39d)];_0x7cb89f[_0x39ad14(0x189)](_0x5e57f7)||(_0x7cb89f['add'](_0x5e57f7),_0x1c03db['push'](_0x7a944d));}return _0x1c03db;};let _0x4ae2a1=class extends _0x49f92f['Disposable']{constructor(_0x4fc575,_0x437769,_0x52e9df,_0x3c28d1,_0x5b1c58){const _0x221671=_0x5565f1;super(),_0x246801(this,_0x221671(0x286),new _0x3818d9[(_0x221671(0x168))](!0x0)),_0x246801(this,_0x221671(0x238),_0x4d9c4a=>{const _0x5d3bd0=_0x221671;this[_0x5d3bd0(0x286)][_0x5d3bd0(0x409)](!0x1);}),_0x246801(this,_0x221671(0x40f),_0x5f05ac=>{const _0x15c90a=_0x221671;this[_0x15c90a(0x286)][_0x15c90a(0x409)](!0x0);}),(this[_0x221671(0x2a6)]=_0x4fc575,this[_0x221671(0x2ea)]=_0x437769,this[_0x221671(0x393)]=_0x52e9df,this[_0x221671(0x40b)]=_0x3c28d1,this[_0x221671(0x27c)]=_0x5b1c58,this[_0x221671(0x2a0)](),this[_0x221671(0x21a)]());}[_0x5565f1(0x2a0)](){const _0x479cfd=_0x5565f1;this[_0x479cfd(0x24a)](),this[_0x479cfd(0x134)](),this[_0x479cfd(0x3b8)](),this[_0x479cfd(0x2a3)]();}[_0x5565f1(0x347)](){const _0x11b63a=_0x5565f1;this[_0x11b63a(0x40b)][_0x11b63a(0x275)](this[_0x11b63a(0x286)]),_0x16b0d8['PivotTable'][_0x11b63a(0x22c)](_0x16b0d8[_0x11b63a(0x28f)][_0x11b63a(0x18b)],this[_0x11b63a(0x238)]),_0x16b0d8[_0x11b63a(0x43c)][_0x11b63a(0x22c)](_0x16b0d8['PivotCallbackEnum'][_0x11b63a(0x33b)],this[_0x11b63a(0x40f)]);}[_0x5565f1(0x21a)](){const _0x559238=_0x5565f1;this[_0x559238(0x3ae)](this[_0x559238(0x393)]['onCommandExecuted'](_0x2ad8e7=>{const _0x4a27df=_0x559238;_0x2ad8e7['id']===_0x29b248[_0x4a27df(0x192)]['id']&&this[_0x4a27df(0x2a6)][_0x4a27df(0x30f)](_0x2ad8e7['params']);})),this[_0x559238(0x3ae)](this[_0x559238(0x393)][_0x559238(0x129)](_0x3a0d3b=>{const _0x12ddba=_0x559238;if(_0x3a0d3b['id']!==_0x44b295['id'])return;const _0x3fa7ac=_0x3a0d3b[_0x12ddba(0x2c4)],{unitId:_0x26bad1,subUnitId:_0x418898,pivotTableId:_0x43838c}=_0x3fa7ac,_0x4631a2=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x2a8)],_0x455ea2={};switch(_0x4631a2){case _0x3175a8[_0x12ddba(0x34a)]:{const _0x92970b=_0x3fa7ac[_0x12ddba(0x2c4)]['filter'];if(!_0x92970b)return;const {row:_0x6087fc,col:_0x169104,cellData:_0x478526,pivotItemRenderInfoCache:_0x1cc2f0,tableFieldId:_0x5e8cd3}=_0x92970b,_0x2e7a73=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x3fa7ac[_0x12ddba(0x433)]);if(!_0x2e7a73||!_0x1cc2f0)return;if(_0x5e8cd3){const _0x19d32d=_0x2e7a73[_0x12ddba(0x2fc)](_0x5e8cd3);if(!_0x19d32d)return;_0x455ea2[_0x12ddba(0x209)]={..._0x2e7a73['getDataFieldItemInfo'](_0x19d32d),'tableFieldId':_0x5e8cd3,'pivotTableId':_0x3fa7ac[_0x12ddba(0x433)],'filterInfo':_0x2e7a73[_0x12ddba(0x13f)](_0x5e8cd3),'sortInfo':_0x2e7a73[_0x12ddba(0x41b)](_0x5e8cd3),'format':_0x2e7a73[_0x12ddba(0x268)](_0x5e8cd3)};}else{const _0x1483c1=_0x40a48d(_0x6087fc,_0x169104,_0x478526,_0x2e7a73,_0x1cc2f0),_0x18e14d=_0x1483c1==null?void 0x0:_0x1483c1[_0x12ddba(0x144)];if(!_0x18e14d)return;const _0x1b358e=_0x2e7a73[_0x12ddba(0x2fc)](_0x18e14d);if(!_0x1b358e)return;_0x455ea2['filter']={..._0x2e7a73['getDataFieldItemInfo'](_0x1b358e),'tableFieldId':_0x18e14d,'pivotTableId':_0x3fa7ac['pivotTableId'],'filterInfo':_0x2e7a73[_0x12ddba(0x13f)](_0x18e14d),'sortInfo':_0x2e7a73[_0x12ddba(0x41b)](_0x18e14d),'format':_0x2e7a73[_0x12ddba(0x268)](_0x18e14d)};}}break;case _0x3175a8['Panel']:{const _0x25860c=_0x3fa7ac[_0x12ddba(0x2c4)]['panel'];if(!_0x25860c)return;const {pivotTableId:_0x4306d8}=_0x25860c,_0x9ec264=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x233)](_0x4306d8);if(!_0x9ec264)return;const _0x33d79a=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x4306d8),_0x4b23f4=_0x493754(_0x9ec264,_0x4306d8,_0x33d79a);_0x455ea2[_0x12ddba(0x1e1)]=_0x4b23f4;}break;case _0x3175a8[_0x12ddba(0x35b)]:{const _0x3bbcba=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c),_0x1d8736=this[_0x12ddba(0x2a6)][_0x12ddba(0x40e)](_0x26bad1),_0x4595c8=_0x1d8736[_0x12ddba(0x312)](_0x43838c);let _0x2150da=null;const _0x45d56a=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x26bad1,_0x418898,_0x43838c),_0x4b21c6=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x195)];if(!_0x3bbcba||!_0x45d56a||!_0x4b21c6)return!0x1;const {dataFieldId:_0x4f78ad,fieldArea:_0xc3e8cd,index:_0x3ce3b4}=_0x4b21c6;_0x3bbcba[_0x12ddba(0x132)]();const _0x44f9ca=_0x3bbcba['addFieldWithSourceId'](_0x4f78ad,_0xc3e8cd,_0x3ce3b4);if(_0x44f9ca&&_0xc3e8cd===_0x16b0d8['PivotTableFiledAreaEnum'][_0x12ddba(0x359)]){const _0x4fc094=_0x44f9ca[_0x12ddba(0x428)](),_0x67755a=_0x3bbcba[_0x12ddba(0x2fc)](_0x4fc094);if(_0x67755a){const _0x5e37e8=_0x67755a==null?void 0x0:_0x67755a[_0x12ddba(0x3be)]();_0x3bbcba[_0x12ddba(0x28e)](_0x44f9ca['getId'](),_0x5e37e8===_0x16b0d8[_0x12ddba(0x2d3)][_0x12ddba(0x394)]?_0x16b0d8['PivotSubtotalTypeEnum']['sum']:_0x16b0d8[_0x12ddba(0x2de)][_0x12ddba(0x124)]);}const _0x5dfc8b=_0x3bbcba[_0x12ddba(0x1f0)](),_0x5a128b=_0x3bbcba['getValuePosition'](),_0x351f98=_0x3bbcba[_0x12ddba(0x43a)](_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x359)]);if(_0x5dfc8b===-0x1&&_0x351f98>0x1){const _0x38f349=_0x5a128b===_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x358)]?_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x28b)]:_0x5a128b,_0xf11aef=_0x38f349===_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x3b6)]?_0x16b0d8[_0x12ddba(0x440)]['Row']:_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x28b)];_0x3bbcba[_0x12ddba(0x323)](_0x38f349,_0x3bbcba[_0x12ddba(0x43a)](_0xf11aef));}}else{if(_0x44f9ca&&(_0xc3e8cd===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x3b6)]||_0xc3e8cd===_0x16b0d8['PivotTableFiledAreaEnum'][_0x12ddba(0x28b)])){const _0x28686a=_0x44f9ca['getId'](),_0xd21a38=_0x3bbcba[_0x12ddba(0x2fc)](_0x28686a);if(_0xd21a38&&(_0xd21a38==null?void 0x0:_0xd21a38[_0x12ddba(0x3be)]())===_0x16b0d8['PivotDataFieldDataTypeEnum'][_0x12ddba(0x34f)]){const _0x21dadc=_0xd21a38[_0x12ddba(0x29e)]();if(_0x21dadc&&_0x3bbcba[_0x12ddba(0x12f)](_0x44f9ca['getId'](),_0x21dadc),!_0x4595c8[_0x12ddba(0x35a)]()[_0x12ddba(0x145)](_0x396b7b=>{const _0xeb38bc=_0x12ddba,_0x433042=_0x4595c8[_0xeb38bc(0x27e)](_0x396b7b);return _0x16b0d8['isDateGroupField'](_0x433042)?_0x433042[_0xeb38bc(0x1a9)]()['originalFieldId']===_0x4f78ad:!0x1;})){const _0x42d4d7=_0x1d8736[_0x12ddba(0x3f2)](),_0x38d98f=_0x2b787c(_0xd21a38[_0x12ddba(0x3b4)],_0xd21a38[_0x12ddba(0x3a5)]),_0xb10089=_0xd21a38['getName']()+'\x20-\x20'+_0x18fbc7(this[_0x12ddba(0x27c)],_0x38d98f),_0x3dd63f=new _0x16b0d8[(_0x12ddba(0x408))](_0x42d4d7,_0xb10089,_0x16b0d8[_0x12ddba(0x33f)](0x3),_0xd21a38[_0x12ddba(0x428)](),_0x38d98f);_0x1d8736[_0x12ddba(0x198)](_0x3dd63f),_0x4595c8['addField'](_0x42d4d7,_0xb10089),_0x3bbcba[_0x12ddba(0x182)](_0x42d4d7,_0xc3e8cd,(_0x3ce3b4!=null?_0x3ce3b4:0x0)+0x1),_0x2150da=_0x3dd63f;}}}}const _0x2c89fd=_0x3bbcba[_0x12ddba(0x27f)](),_0x17d8ff=_0x3bbcba['query']()[_0x12ddba(0x1d4)]();let _0x18ef67;if(_0x2150da){_0x18ef67=_0x2150da['toJSON']();const _0x330400=_0x2150da[_0x12ddba(0x428)]();_0x4595c8[_0x12ddba(0x1bf)](_0x330400);let _0x361cd3=!0x0;for(const _0x2b3a58 in _0x1d8736[_0x12ddba(0x40d)])if(_0x1d8736[_0x12ddba(0x40d)][_0x2b3a58][_0x12ddba(0x35a)]()[_0x12ddba(0x1c1)](_0x330400)){_0x361cd3=!0x1;break;}_0x361cd3&&_0x1d8736[_0x12ddba(0x178)](_0x330400);}const _0x336935=_0x3bbcba[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x195)]={'view':_0x17d8ff,'changesets':_0x336935,'isEmpty':_0x2c89fd,'pivotTableConfig':_0x45d56a,'shouldBeAddedGroupJSON':_0x18ef67};}break;case _0x3175a8[_0x12ddba(0x18f)]:{const _0x2d3aa0=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x32f)];if(!_0x2d3aa0)return;const _0x17adde=_0x2d3aa0[_0x12ddba(0x2b1)],_0x3c6d17=_0x2d3aa0[_0x12ddba(0x433)],{collection:_0x1f05e3}=this[_0x12ddba(0x2a6)][_0x12ddba(0x3e4)]({'unitId':_0x17adde['unitId'],'sheetName':_0x17adde[_0x12ddba(0x3d4)],'subUnitId':_0x17adde[_0x12ddba(0x271)],'range':_0x17adde[_0x12ddba(0x234)]}),_0x57abaa=new _0x16b0d8['PivotTable'](_0x1f05e3,void 0x0,_0x3c6d17),_0x37f6f7=_0x57abaa[_0x12ddba(0x3c2)](),_0x577163=_0x57abaa['toJSON'](),_0x43b04c=_0x1f05e3[_0x12ddba(0x1d4)]();_0x455ea2[_0x12ddba(0x32f)]={'view':_0x37f6f7,'fieldsConfig':_0x577163,'collectionConfig':_0x43b04c,'isEmpty':_0x57abaa[_0x12ddba(0x27f)]()};}break;case _0x3175a8[_0x12ddba(0x12a)]:{const _0x46cc6c=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x208)];if(!_0x46cc6c)return;const {fieldId:_0x34a1e9,area:_0x20d361,index:_0x5392fe}=_0x46cc6c,_0x234383=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x234383)return;const _0x4ff7c8=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c);if(!_0x4ff7c8)return;_0x4ff7c8[_0x12ddba(0x132)]();const {area:_0x3cf153,index:_0x3785d0}=_0x4ff7c8[_0x12ddba(0x1eb)](_0x34a1e9);if(_0x4ff7c8[_0x12ddba(0x1c3)](_0x34a1e9,_0x20d361,_0x5392fe),_0x20d361===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x359)]&&_0x4ff7c8[_0x12ddba(0x143)](_0x34a1e9)[_0x12ddba(0x1d1)]()===void 0x0){const _0x32c9fe=_0x4ff7c8[_0x12ddba(0x143)](_0x34a1e9);if(_0x32c9fe&&_0x32c9fe[_0x12ddba(0x1d1)]()===void 0x0){const _0x3ced70=_0x4ff7c8[_0x12ddba(0x2fc)](_0x34a1e9);if(_0x3ced70){const _0x30dd88=_0x3ced70==null?void 0x0:_0x3ced70[_0x12ddba(0x3be)]();_0x4ff7c8[_0x12ddba(0x28e)](_0x34a1e9,_0x30dd88===_0x16b0d8[_0x12ddba(0x2d3)][_0x12ddba(0x394)]?_0x16b0d8[_0x12ddba(0x2de)]['sum']:_0x16b0d8[_0x12ddba(0x2de)]['count']);}}}const _0x547501=_0x4ff7c8[_0x12ddba(0x420)](),_0x5deff8=_0x4ff7c8[_0x12ddba(0x1f0)](),_0x463d64=_0x4ff7c8[_0x12ddba(0x43a)](_0x16b0d8['PivotTableFiledAreaEnum'][_0x12ddba(0x359)])>0x1;if(_0x463d64&&_0x3cf153===_0x20d361&&(_0x20d361===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x3b6)]&&_0x547501===_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x3b6)]||_0x20d361===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x28b)]&&_0x547501===_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x28b)])){let _0x486ef1=_0x5deff8;_0x3785d0<=_0x5deff8&&_0x486ef1--,_0x5392fe<=_0x5deff8&&_0x486ef1++,_0x4ff7c8[_0x12ddba(0x323)](_0x547501,_0x486ef1);}else _0x463d64&&(_0x3cf153===_0x16b0d8['PivotTableFiledAreaEnum'][_0x12ddba(0x3b6)]&&_0x547501===_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x3b6)]||_0x3cf153===_0x16b0d8['PivotTableFiledAreaEnum']['Column']&&_0x547501===_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x28b)])&&_0x5deff8>=_0x3785d0&&_0x4ff7c8['updateValuePosition'](_0x547501,_0x5deff8-0x1),_0x463d64&&(_0x20d361===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x3b6)]&&_0x547501===_0x16b0d8['PivotTableValuePositionEnum']['Row']||_0x20d361===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x28b)]&&_0x547501===_0x16b0d8[_0x12ddba(0x16d)][_0x12ddba(0x28b)])&&_0x5deff8>=_0x5392fe&&_0x4ff7c8[_0x12ddba(0x323)](_0x547501,_0x5deff8+0x1);const _0x6199ff=_0x4ff7c8[_0x12ddba(0x3c2)](),_0x1b2beb=_0x4ff7c8[_0x12ddba(0x27f)](),_0x3b86e7=_0x4ff7c8['endCollectChangeset']();_0x455ea2[_0x12ddba(0x208)]={'view':_0x6199ff[_0x12ddba(0x1d4)](),'changesets':_0x3b86e7,'isEmpty':_0x1b2beb,'pivotTableConfig':_0x234383};}break;case _0x3175a8[_0x12ddba(0x235)]:{const _0x323159=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x2c7)];if(!_0x323159)return;const _0x581507=_0x323159[_0x12ddba(0x320)],_0x4c1ad3=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x4c1ad3)return!0x1;const _0x3d8232=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x233)](_0x43838c);if(!_0x3d8232)return!0x1;_0x3d8232[_0x12ddba(0x132)]();for(const _0x1e65d0 of _0x581507){const {area:_0x5553e8}=_0x3d8232['getFieldPositionInfoById'](_0x1e65d0);_0x5553e8===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x359)]&&_0x3d8232[_0x12ddba(0x1c9)](_0x1e65d0),(_0x5553e8===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x3b6)]||_0x5553e8===_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x28b)])&&_0x3d8232[_0x12ddba(0x1aa)](_0x1e65d0),_0x3d8232[_0x12ddba(0x376)](_0x1e65d0);}const _0x49382b=_0x3d8232[_0x12ddba(0x27f)](),_0x2a7d3a=_0x3d8232['query']()['toJSON'](),_0xb5b7d4=_0x3d8232['endCollectChangeset']();_0x455ea2[_0x12ddba(0x2c7)]={'changesets':_0xb5b7d4,'pivotTableConfig':_0x4c1ad3,'isEmpty':_0x49382b,'view':_0x2a7d3a};}break;case _0x3175a8[_0x12ddba(0x430)]:{const _0x187950=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x1f5)];if(!_0x187950)return;const {tableFieldId:_0x5e3b25,items:_0x31d062,isAll:_0x5212e9}=_0x187950,_0x2b09bd=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c),_0x357584=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x2b09bd||!_0x357584)return;_0x2b09bd[_0x12ddba(0x132)](),_0x2b09bd[_0x12ddba(0x37b)](_0x5e3b25,{'type':_0x16b0d8[_0x12ddba(0x137)][_0x12ddba(0x2d8)],'list':_0x31d062,'isAll':_0x5212e9});const _0xbcd680=_0x2b09bd['isEmpty'](),_0xfd5adf=_0x2b09bd[_0x12ddba(0x3c2)]()[_0x12ddba(0x1d4)](),_0x3b2303=_0x2b09bd[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x1f5)]={'view':_0xfd5adf,'changesets':_0x3b2303,'isEmpty':_0xbcd680,'pivotTableConfig':_0x357584};}break;case _0x3175a8[_0x12ddba(0x252)]:{const _0x2ccb91=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x2c8)];if(!_0x2ccb91)return;const {tableFieldId:_0x48b46d,filterInfo:_0x593cd0}=_0x2ccb91,_0x942c46=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c),_0x4f0b32=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x942c46||!_0x4f0b32)return;_0x942c46['startCollectChangeset'](),_0x942c46[_0x12ddba(0x281)](_0x48b46d,_0x593cd0);const _0x2f7a75=_0x942c46[_0x12ddba(0x27f)](),_0x5a50f4=_0x942c46['query']()[_0x12ddba(0x1d4)](),_0x5b2706=_0x942c46[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x2c8)]={'view':_0x5a50f4,'changesets':_0x5b2706,'isEmpty':_0x2f7a75,'pivotTableConfig':_0x4f0b32};}break;case _0x3175a8[_0x12ddba(0x3fd)]:{const _0x49b3d9=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x304)];if(!_0x49b3d9)return;const {tableFieldId:_0x1ef800,info:_0x384cfc}=_0x49b3d9,_0x4e52af=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c),_0x2046f2=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x4e52af||!_0x2046f2)return;_0x4e52af[_0x12ddba(0x132)](),_0x4e52af[_0x12ddba(0x16f)](_0x1ef800,_0x384cfc);const _0x475684=_0x4e52af[_0x12ddba(0x27f)](),_0x2618e5=_0x4e52af[_0x12ddba(0x3c2)]()[_0x12ddba(0x1d4)](),_0x103982=_0x4e52af[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x304)]={'view':_0x2618e5,'changesets':_0x103982,'isEmpty':_0x475684,'pivotTableConfig':_0x2046f2};}break;case _0x3175a8[_0x12ddba(0x2d1)]:{const _0x1f3896=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x3e3)];if(!_0x1f3896)return;const {tableFieldId:_0x195d76,displayName:_0x27bcf5,subtotalType:_0x281e4f,format:_0x5cdf49}=_0x1f3896,_0x459aa4=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x233)](_0x43838c),_0x15d1c8=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x26bad1,_0x418898,_0x43838c);if(!_0x459aa4||!_0x15d1c8)return;_0x459aa4[_0x12ddba(0x132)](),_0x27bcf5!==void 0x0&&_0x459aa4[_0x12ddba(0x25e)](_0x195d76,_0x27bcf5),_0x281e4f!==void 0x0&&_0x459aa4[_0x12ddba(0x28e)](_0x195d76,_0x281e4f),_0x5cdf49!==void 0x0&&_0x459aa4[_0x12ddba(0x12f)](_0x195d76,_0x5cdf49);const _0x5f38df=_0x459aa4['isEmpty'](),_0x1f7c34=_0x459aa4[_0x12ddba(0x3c2)]()[_0x12ddba(0x1d4)](),_0x29db8b=_0x459aa4[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x3e3)]={'changesets':_0x29db8b,'pivotTableConfig':_0x15d1c8,'isEmpty':_0x5f38df,'view':_0x1f7c34};}break;case _0x3175a8[_0x12ddba(0x278)]:{const _0x3771d3=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x339)];if(!_0x3771d3)return;const {dataRangeInfo:_0x1bde56,unitId:_0x74a213,subUnitId:_0x1e9976}=_0x3771d3,_0x2c18f5=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x74a213,_0x1e9976,_0x43838c),_0x25bbb6=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c);if(!this[_0x12ddba(0x2a6)][_0x12ddba(0x312)](_0x74a213,_0x43838c)||!_0x25bbb6||!_0x2c18f5)return;const _0x10f23f=this[_0x12ddba(0x2a6)][_0x12ddba(0x1c6)](_0x74a213,_0x43838c,_0x1bde56),_0x3406fb=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x312)](_0x74a213,_0x43838c)['toJSON'](),{collection:_0x299750}=this[_0x12ddba(0x2a6)][_0x12ddba(0x3e4)]({'unitId':_0x1bde56['unitId'],'sheetName':_0x1bde56[_0x12ddba(0x3d4)],'subUnitId':_0x1bde56[_0x12ddba(0x271)],'range':_0x1bde56[_0x12ddba(0x234)]}),_0x3a1e96=_0x299750['toJSON']();_0x25bbb6[_0x12ddba(0x132)]();const _0x37b9cc=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x40e)](_0x74a213)[_0x12ddba(0x239)]()||_0x16b0d8[_0x12ddba(0x20a)];_0x25bbb6['iterateField'](_0x1c6ed3=>{const _0x394313=_0x12ddba,_0x33756d=_0x1c6ed3[_0x394313(0x36f)]();if(!_0x299750[_0x394313(0x2ce)](_0x33756d)){const _0x499294=_0x299750[_0x394313(0x42f)](_0x1c6ed3[_0x394313(0x33e)]());if(_0x499294){_0x25bbb6[_0x394313(0x25d)](_0x1c6ed3[_0x394313(0x428)](),_0x499294[_0x394313(0x2f9)](),_0x499294[_0x394313(0x428)]());const {area:_0x50fc67}=_0x25bbb6['getFieldPositionInfoById'](_0x1c6ed3['getId']());let _0x211638=_0x1c6ed3[_0x394313(0x33e)]();const _0x48f967=_0x1c6ed3[_0x394313(0x20b)]();if(_0x50fc67===_0x16b0d8[_0x394313(0x440)]['Value']){const _0x427599=_0x1c6ed3[_0x394313(0x1d1)]();_0x211638=_0x37b9cc(_0x499294[_0x394313(0x2f9)](),_0x427599);}_0x48f967!==_0x211638&&_0x25bbb6[_0x394313(0x25e)](_0x1c6ed3[_0x394313(0x428)](),_0x211638);}else _0x25bbb6['removeField'](_0x1c6ed3[_0x394313(0x428)]());}});const _0x340e35=_0x25bbb6[_0x12ddba(0x27f)](),_0x1350f1=_0x25bbb6[_0x12ddba(0x3c2)]()[_0x12ddba(0x1d4)](),_0x3d88ed=_0x25bbb6[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x339)]={'view':_0x1350f1,'changesets':_0x3d88ed,'isEmpty':_0x340e35,'pivotTableConfig':_0x2c18f5,'collectionConfig':_0x3a1e96,'oldCollectionConfig':_0x3406fb,'deleteIds':_0x10f23f};}break;case _0x3175a8[_0x12ddba(0x17f)]:{const _0x4d4ba2=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x323)];if(!_0x4d4ba2)return;const {position:_0x47b7ee,index:_0x5cdc8d}=_0x4d4ba2,_0x29cc0a=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x29cc0a)return!0x1;const _0x1f39af=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c);if(!_0x1f39af)return!0x1;_0x1f39af[_0x12ddba(0x132)](),_0x1f39af[_0x12ddba(0x323)](_0x47b7ee,_0x5cdc8d);const _0x492771=_0x1f39af[_0x12ddba(0x27f)](),_0x913bc=_0x1f39af[_0x12ddba(0x3c2)]()['toJSON'](),_0x401bc6=_0x1f39af[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x323)]={'changesets':_0x401bc6,'pivotTableConfig':_0x29cc0a,'isEmpty':_0x492771,'view':_0x913bc};}break;case _0x3175a8[_0x12ddba(0x2fe)]:{const _0x3914e3=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x231)];if(!_0x3914e3)return;const {tableFieldId:_0x4faa65,collapse:_0x4fd947,item:_0x15e75b}=_0x3914e3,_0x1d8b3d=this[_0x12ddba(0x2a6)]['getPivotTableInstance'](_0x43838c),_0x5e2e70=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x1d8b3d||!_0x5e2e70)return;_0x1d8b3d['startCollectChangeset'](),_0x1d8b3d[_0x12ddba(0x417)](_0x4faa65,_0x4fd947,_0x15e75b);const _0x18ac6b=_0x1d8b3d[_0x12ddba(0x27f)](),_0xfcc68a=_0x1d8b3d['query']()['toJSON'](),_0x2a8b9b=_0x1d8b3d[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x231)]={'view':_0xfcc68a,'isEmpty':_0x18ac6b,'pivotTableConfig':_0x5e2e70,'changesets':_0x2a8b9b};}break;case _0x3175a8[_0x12ddba(0x13d)]:{const _0x942913=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x13c)];if(!_0x942913)return;const {pivotTableConfig:_0x172284}=_0x942913,_0x584fa4=this['_sheetsPivotDataSourceModel'][_0x12ddba(0x233)](_0x43838c),_0x38107a=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x584fa4||!_0x38107a)return;_0x584fa4['startCollectChangeset'](),_0x4ba403(_0x584fa4,_0x172284);const _0x43951b=_0x584fa4[_0x12ddba(0x27f)](),_0x434e38=_0x584fa4[_0x12ddba(0x3c2)]()['toJSON'](),_0x4688b7=_0x584fa4[_0x12ddba(0x3c1)]();_0x455ea2['setPivotTableConfig']={'view':_0x434e38,'isEmpty':_0x43951b,'pivotTableConfig':{..._0x38107a,'fieldsConfig':_0x584fa4[_0x12ddba(0x1d4)]()},'changesets':_0x4688b7};}break;case _0x3175a8[_0x12ddba(0x3a3)]:{const _0x127cfe=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x3ed)];if(!_0x127cfe)return;const _0x2316f3=this[_0x12ddba(0x2a6)][_0x12ddba(0x233)](_0x43838c),_0x4c26b7=this[_0x12ddba(0x2a6)][_0x12ddba(0x215)](_0x26bad1,_0x418898,_0x43838c);if(!_0x2316f3||!_0x4c26b7)return;_0x2316f3[_0x12ddba(0x132)](),_0x273a51(_0x2316f3,_0x127cfe[_0x12ddba(0x3b9)]);const _0xd6855a=_0x2316f3[_0x12ddba(0x3c2)]()[_0x12ddba(0x1d4)](),_0x25ae4b=_0x2316f3[_0x12ddba(0x3c1)]();_0x455ea2[_0x12ddba(0x3ed)]={'view':_0xd6855a,'isEmpty':!0x0,'pivotTableConfig':{..._0x4c26b7,'fieldsConfig':_0x2316f3[_0x12ddba(0x1d4)]()},'changesets':_0x25ae4b};}break;case _0x3175a8[_0x12ddba(0x33d)]:{const _0x39d401=_0x3fa7ac[_0x12ddba(0x2c4)][_0x12ddba(0x1cd)];if(!_0x39d401)return;const _0x5dbfbf=_0x39d401[_0x12ddba(0x2b1)],_0x3d307c=_0x39d401[_0x12ddba(0x433)],{collection:_0x2d3dc1}=this[_0x12ddba(0x2a6)]['createCollectionWithDataRange']({'unitId':_0x5dbfbf['unitId'],'sheetName':_0x5dbfbf[_0x12ddba(0x3d4)],'subUnitId':_0x5dbfbf[_0x12ddba(0x271)],'range':_0x5dbfbf[_0x12ddba(0x234)]}),_0x82e3cb=new _0x16b0d8[(_0x12ddba(0x43c))](_0x2d3dc1,void 0x0,_0x3d307c),_0x860ea3=_0x2d3dc1['getFieldIds'](),{rows:_0x357c2a,columns:_0x2d80b9,filters:_0x3f3ec2,values:_0x4b498e}=_0x39d401[_0x12ddba(0x3b5)];_0x82e3cb[_0x12ddba(0x132)]();for(const {field:_0x5b4237,selectedItems:_0x22a152}of _0x357c2a||[]){const _0x58ba75=_0x860ea3[_0x5b4237];if(_0x58ba75){const _0x142270=_0x82e3cb['addFieldWithSourceId'](_0x58ba75,_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x3b6)]);_0x22a152&&_0x142270&&_0x82e3cb[_0x12ddba(0x37b)](_0x142270[_0x12ddba(0x428)](),{'type':_0x16b0d8[_0x12ddba(0x137)][_0x12ddba(0x2d8)],'list':_0x22a152,'isAll':!0x1});}}for(const {field:_0x40ec26,selectedItems:_0x243e69}of _0x2d80b9||[]){const _0x402065=_0x860ea3[_0x40ec26];if(_0x402065){const _0x3f9ed7=_0x82e3cb[_0x12ddba(0x182)](_0x402065,_0x16b0d8['PivotTableFiledAreaEnum'][_0x12ddba(0x28b)]);_0x243e69&&_0x3f9ed7&&_0x82e3cb[_0x12ddba(0x37b)](_0x3f9ed7[_0x12ddba(0x428)](),{'type':_0x16b0d8[_0x12ddba(0x137)][_0x12ddba(0x2d8)],'list':_0x243e69,'isAll':!0x1});}}for(const {field:_0x417d78,selectedItems:_0x46da84}of _0x3f3ec2||[]){const _0x26c768=_0x860ea3[_0x417d78];if(_0x26c768){const _0x3d54d7=_0x82e3cb[_0x12ddba(0x182)](_0x26c768,_0x16b0d8[_0x12ddba(0x440)][_0x12ddba(0x34a)]);_0x46da84&&_0x3d54d7&&_0x82e3cb[_0x12ddba(0x37b)](_0x3d54d7[_0x12ddba(0x428)](),{'type':_0x16b0d8[_0x12ddba(0x137)][_0x12ddba(0x2d8)],'list':_0x46da84,'isAll':!0x1});}}for(const {field:_0x8b0bb,subTotalType:_0x118d0d,formatString:_0x29e948}of _0x4b498e||[]){const _0x2f4ebc=_0x2d3dc1[_0x12ddba(0x27e)](_0x860ea3[_0x8b0bb]);if(!_0x2f4ebc)continue;const _0x25ac3b=_0x860ea3[_0x8b0bb];if(_0x25ac3b){const _0x572534=_0x82e3cb['addFieldWithSourceId'](_0x25ac3b,_0x16b0d8['PivotTableFiledAreaEnum'][_0x12ddba(0x359)]);if(_0x572534){if(_0x118d0d!==void 0x0){_0x82e3cb[_0x12ddba(0x28e)](_0x572534[_0x12ddba(0x428)](),_0x118d0d);const _0x3a54f4=this['_sheetsPivotDataSourceModel']['getDataFieldManager'](_0x5dbfbf['unitId'])[_0x12ddba(0x239)]()||_0x16b0d8[_0x12ddba(0x20a)],_0x5d2f92=_0x2d3dc1[_0x12ddba(0x20b)](_0x25ac3b),_0x1a68e3=_0x3a54f4(_0x5d2f92,_0x118d0d);_0x82e3cb[_0x12ddba(0x25e)](_0x572534['getId'](),_0x1a68e3);}else{if(_0x2f4ebc){const _0x20da63=_0x2f4ebc==null?void 0x0:_0x2f4ebc[_0x12ddba(0x3be)]();_0x82e3cb[_0x12ddba(0x28e)](_0x572534[_0x12ddba(0x428)](),_0x20da63===_0x16b0d8[_0x12ddba(0x2d3)][_0x12ddba(0x394)]?_0x16b0d8[_0x12ddba(0x2de)][_0x12ddba(0x26b)]:_0x16b0d8[_0x12ddba(0x2de)][_0x12ddba(0x124)]);}}_0x29e948&&_0x82e3cb[_0x12ddba(0x12f)](_0x572534[_0x12ddba(0x428)](),_0x29e948);}}}const _0x440874=_0x82e3cb[_0x12ddba(0x3c2)](),_0x60ee43=_0x82e3cb['toJSON'](),_0x47f7a8=_0x82e3cb['isEmpty'](),_0x2fc55b=_0x82e3cb[_0x12ddba(0x3c1)](),_0x32d1d8=_0x2d3dc1[_0x12ddba(0x1d4)]();_0x455ea2[_0x12ddba(0x1cd)]={'view':_0x440874,'fieldsConfig':_0x60ee43,'collectionConfig':_0x32d1d8,'isEmpty':_0x47f7a8,'changesets':_0x2fc55b};}break;case _0x3175a8['DrillDown']:{const _0x11974d=_0x571aea(this[_0x12ddba(0x27c)],_0x3fa7ac);if(!_0x11974d)return;const {range:_0x4fc240,sourceSubUnitId:_0x26b28f,sourceUnitId:_0x49d601,formatMap:_0x15c8ab,indexes:_0x5a910f}=_0x11974d;_0x455ea2['drillDown']={'range':_0x4fc240,'sourceSubUnitId':_0x26b28f,'sourceUnitId':_0x49d601,'formatMap':_0x15c8ab,'indexes':_0x5a910f};}break;}this[_0x12ddba(0x393)][_0x12ddba(0x41e)](_0x187dbf['id'],{'version':_0x3fa7ac[_0x12ddba(0x21f)],'result':_0x455ea2},{'onlyLocal':!0x0});}));}[_0x5565f1(0x3b8)](){const _0x5b5a04=_0x5565f1;this['disposeWithMe'](this['_commandService'][_0x5b5a04(0x129)](_0x24ab7f=>{const _0x5d0bc3=_0x5b5a04;if(_0x24ab7f['id']!==_0x389da5['id'])return;const _0x44a74f=_0x24ab7f[_0x5d0bc3(0x2c4)];return this[_0x5d0bc3(0x2a6)]['setTextInfo'](_0x44a74f[_0x5d0bc3(0x2b7)]),!0x0;}));}[_0x5565f1(0x24a)](){const _0x35e678=_0x5565f1;this[_0x35e678(0x2a6)][_0x35e678(0x32e)][_0x35e678(0x1de)](_0x21b501=>{const _0x47d0fd=_0x35e678;switch(_0x21b501[_0x47d0fd(0x2a8)]){case _0x37eb19[_0x47d0fd(0x436)]:_0x21b501['dataRangeInfo']&&_0x21b501[_0x47d0fd(0x1d0)]&&this[_0x47d0fd(0x259)](_0x21b501['token'],_0x21b501[_0x47d0fd(0x150)],_0x21b501[_0x47d0fd(0x1d0)]);break;case _0x37eb19[_0x47d0fd(0x43d)]:{const {unitId:_0x424586,subUnitId:_0x553f58,token:_0x30d891}=_0x21b501;_0x424586&&_0x553f58&&_0x30d891&&this[_0x47d0fd(0x338)](_0x424586,_0x553f58,_0x30d891);}break;case _0x37eb19[_0x47d0fd(0x1b5)]:{const {token:_0x4764d7,oldSourceRangeInfo:_0x10dd3d,dataRangeInfo:_0x4ae064,targetCellInfo:_0x499cd4}=_0x21b501,{unitId:_0x29cd89,subUnitId:_0x1becda}=_0x10dd3d||{};_0x29cd89&&_0x1becda&&_0x4764d7&&this['removeSourceRangeChange'](_0x29cd89,_0x1becda,_0x4764d7),_0x4ae064&&_0x499cd4&&this['handleSourceRangeChange'](_0x4764d7,_0x4ae064,_0x499cd4);}break;}});}['_subjectFieldsCollectionChange'](){const _0x295a17=_0x5565f1;this[_0x295a17(0x2a6)]['fieldsCollectionChange$'][_0x295a17(0x1de)](_0x19185f=>{const _0x13eb00=_0x295a17;Object[_0x13eb00(0x37a)](_0x19185f)['forEach'](_0x5c91c1=>{const _0x4f899f=_0x13eb00,_0x298f39=this[_0x4f899f(0x2a6)]['getTargetByPivotId'](_0x5c91c1);if(_0x298f39){const _0xce9688=this[_0x4f899f(0x2a6)]['getPivotTableConfig'](_0x298f39==null?void 0x0:_0x298f39[_0x4f899f(0x32c)],_0x298f39==null?void 0x0:_0x298f39[_0x4f899f(0x271)],_0x5c91c1);_0xce9688&&(this[_0x4f899f(0x259)](_0x5c91c1,_0xce9688[_0x4f899f(0x2b1)],_0xce9688[_0x4f899f(0x1d0)]),this[_0x4f899f(0x185)]([{'unitId':_0x298f39[_0x4f899f(0x32c)],'subUnitId':_0x298f39['subUnitId'],'token':_0x5c91c1}]));}});});}[_0x5565f1(0x134)](){const _0x5c9c24=_0x5565f1;this[_0x5c9c24(0x2a6)][_0x5c9c24(0x315)][_0x5c9c24(0x1de)](_0x3cb3f6=>{const _0x3571bd=_0x5c9c24,{unitId:_0x4514f1,subUnitId:_0x20c783,pivotTableId:_0xe4d2b9}=_0x3cb3f6;_0x4514f1&&_0x20c783&&_0xe4d2b9&&this[_0x3571bd(0x185)]([{'unitId':_0x4514f1,'subUnitId':_0x20c783,'token':_0xe4d2b9}]);});}[_0x5565f1(0x185)](_0x325cf3){const _0x2f11f5=_0x5565f1,_0xf801ee={};_0x325cf3[_0x2f11f5(0x350)](_0x6868d3=>{var _0x11dbd1,_0x107367;const {unitId:_0x15b89e,subUnitId:_0x49c492,token:_0x33d91d}=_0x6868d3;_0xf801ee[_0x15b89e]=(_0x11dbd1=_0xf801ee[_0x15b89e])!=null?_0x11dbd1:{},_0xf801ee[_0x15b89e][_0x49c492]=(_0x107367=_0xf801ee[_0x15b89e][_0x49c492])!=null?_0x107367:{},_0xf801ee[_0x15b89e][_0x49c492][_0x33d91d]=!0x0;}),this[_0x2f11f5(0x393)]['executeCommand'](_0x431f75['id'],_0xf801ee);}[_0x5565f1(0x338)](_0x3cf6f2,_0x588bb8,_0x57340d){const _0x2d2f15=_0x5565f1;this[_0x2d2f15(0x2ea)][_0x2d2f15(0x193)](_0x3cf6f2,_0x588bb8,[_0x57340d]);}[_0x5565f1(0x259)](_0x6e7e0e,_0x437f65,_0x374a1b){const _0x5671a3=_0x5565f1,{unitId:_0x3c5831,subUnitId:_0x3ca1be}=_0x437f65;this[_0x5671a3(0x2ea)]['has'](_0x374a1b[_0x5671a3(0x32c)],_0x374a1b[_0x5671a3(0x271)],_0x6e7e0e)&&this[_0x5671a3(0x338)](_0x3c5831,_0x3ca1be,_0x6e7e0e);const _0x74376b={'sheetId':_0x3ca1be,..._0x437f65};this['_featureCalculationManagerService'][_0x5671a3(0x1ee)](_0x374a1b['unitId'],_0x374a1b['subUnitId'],_0x6e7e0e,{'unitId':_0x374a1b[_0x5671a3(0x32c)],'subUnitId':_0x374a1b[_0x5671a3(0x271)],'dependencyRanges':[_0x74376b],'getDirtyData':(_0x4b5d88,_0x256e21)=>{const _0x1d980b=_0x5671a3,_0xae2831=this['_sheetsPivotDataSourceModel'],_0x5cd3bd=_0xae2831['getTargetByPivotId'](_0x6e7e0e);if(!_0x5cd3bd)return _0x486e46();const {unitId:_0x386db5,subUnitId:_0x58d6d7}=_0x5cd3bd,_0x5add35=_0x46eac0(_0x4b5d88,_0x256e21,_0x437f65);if(_0x5add35[_0x1d980b(0x37f)]>0x0){const _0x2c2f1a=_0xae2831[_0x1d980b(0x312)](_0x3c5831,_0x6e7e0e),_0x80cec=_0x2c2f1a[_0x1d980b(0x35a)](),_0x4a1279=this[_0x1d980b(0x125)](_0x437f65['unitId'],_0x437f65['subUnitId'],_0x256e21),_0x2fad8a={},_0x5b2323=this[_0x1d980b(0x2a6)][_0x1d980b(0x40e)](_0x386db5)[_0x1d980b(0x239)]()||_0x16b0d8['getAutoDisplayName'],_0x4aced9=[];for(const _0x23df84 of _0x5add35){const _0x4c9f48=_0x23df84-(_0x437f65[_0x1d980b(0x234)][_0x1d980b(0x421)]||0x0),_0xe1cc7f=_0x80cec[_0x4c9f48];_0x4aced9[_0x1d980b(0x254)](_0xe1cc7f),_0x2fad8a[_0xe1cc7f]=_0x2c2f1a[_0x1d980b(0x27e)](_0xe1cc7f)['getName'](),_0xae2831['getDataFieldManager'](_0x3c5831)[_0x1d980b(0x3d2)](_0xe1cc7f,_0x437f65,_0x4c9f48,_0x4a1279);}_0x2c2f1a[_0x1d980b(0x2f0)](_0x4aced9)[_0x1d980b(0x350)](_0x330d7d=>{const _0x4f8744=_0x1d980b,[_0x2e9240,_0x3ddacb]=_0x330d7d,_0x198c13=_0x2c2f1a[_0x4f8744(0x27e)](_0x2e9240),_0x5477e4=_0x2c2f1a[_0x4f8744(0x27e)](_0x3ddacb);_0x198c13&&_0x5477e4&&_0x198c13[_0x4f8744(0x116)](_0x5477e4);}),_0x2c2f1a[_0x1d980b(0x20c)]();const _0x26f44e=_0xae2831[_0x1d980b(0x233)](_0x6e7e0e);if(_0x26f44e){_0x2fd152(_0x26f44e,_0x2fad8a,_0x5b2323),_0x26f44e['setDirty'](!0x0);const _0x1493e2=_0x26f44e[_0x1d980b(0x3c2)](),_0x46d416=_0xae2831[_0x1d980b(0x215)](_0x386db5,_0x58d6d7,_0x6e7e0e),_0x42f4fb=_0xae2831[_0x1d980b(0x40e)](_0x3c5831)[_0x1d980b(0x1d4)]();_0xae2831['updateView'](_0x386db5,_0x58d6d7,_0x1e0edb['Set'],_0x6e7e0e,_0x1493e2,_0x46d416,_0x42f4fb,!0x0);}}return this[_0x1d980b(0x316)](_0x386db5,_0x58d6d7,_0x6e7e0e);}});}[_0x5565f1(0x125)](_0x32b92f,_0x2c9c79,_0x29a71e){var _0x1156b3,_0x46bb76;const {arrayFormulaCellData:_0x5d2a6a,unitData:_0x3cf7db}=_0x29a71e,_0x3b10df=(_0x1156b3=_0x5d2a6a==null?void 0x0:_0x5d2a6a[_0x32b92f])==null?void 0x0:_0x1156b3[_0x2c9c79],_0x1d3c24=(_0x46bb76=_0x3cf7db==null?void 0x0:_0x3cf7db[_0x32b92f])==null?void 0x0:_0x46bb76[_0x2c9c79];return{'arrayFormulaCellDataMatrix':_0x3b10df,'unitDataMatrix':_0x1d3c24};}[_0x5565f1(0x316)](_0x57c174,_0x225ac9,_0x3a5ab4){const _0x329527=_0x5565f1,_0x2466c8=this[_0x329527(0x2a6)][_0x329527(0x22f)](_0x57c174,_0x225ac9,_0x3a5ab4),_0x2d352a=[],_0x20027c=new _0x49f92f[(_0x329527(0x38d))]();if(_0x2466c8){const {rangeCache:_0x141fe9,matrix:_0x30bdf6,oldRangeCache:_0x18862e,oldMatrix:_0xc676df}=_0x2466c8,_0x1b4629=_0x163af3(_0x18862e),_0x22f090=_0x163af3(_0x141fe9);_0x2d352a[_0x329527(0x254)](..._0x22f090,..._0x1b4629),_0xc676df&&_0x18862e&&_0x1b4629[_0x329527(0x350)](_0x1dcfdf=>{const _0x38ac30=_0x329527;for(let _0x4baf7d=_0x1dcfdf[_0x38ac30(0x34c)];_0x4baf7d<=_0x1dcfdf[_0x38ac30(0x2b0)];_0x4baf7d++)for(let _0x299ec6=_0x1dcfdf[_0x38ac30(0x421)];_0x299ec6<=_0x1dcfdf['endColumn'];_0x299ec6++)_0x20027c[_0x38ac30(0x147)](_0x4baf7d,_0x299ec6);}),_0x30bdf6&&_0x22f090&&_0x22f090[_0x329527(0x350)](_0xd6cb8c=>{const _0x5a144f=_0x329527;for(let _0x1a21f9=_0xd6cb8c[_0x5a144f(0x34c)];_0x1a21f9<=_0xd6cb8c[_0x5a144f(0x2b0)];_0x1a21f9++)for(let _0x166e5c=_0xd6cb8c[_0x5a144f(0x421)];_0x166e5c<=_0xd6cb8c['endColumn'];_0x166e5c++)_0x20027c[_0x5a144f(0x3c9)](_0x1a21f9,_0x166e5c,_0x30bdf6[_0x5a144f(0x1b6)](_0x1a21f9,_0x166e5c));});}const _0x422cc4={};return _0x422cc4[_0x57c174]={[_0x225ac9]:_0x597c44(_0x2d352a)},{'runtimeCellData':{[_0x57c174]:{[_0x225ac9]:_0x20027c}},'dirtyRanges':_0x422cc4};}['dispose'](){}};_0x4ae2a1=_0xb64e15([_0x1dcd91(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x120)])),_0x1dcd91(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x3a3769[_0x5565f1(0x16c)])),_0x1dcd91(0x2,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x3fc)])),_0x1dcd91(0x3,_0x49f92f['Inject'](_0x3a3769[_0x5565f1(0x337)])),_0x1dcd91(0x4,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x22e)]))],_0x4ae2a1);var _0x3ae96d=Object[_0x5565f1(0x14a)],_0x2eac6c=(_0x12cf75,_0x4798ed,_0x3e3c03,_0x30fb66)=>{const _0x5dfd84=_0x5565f1;for(var _0x53ed2a=_0x30fb66>0x1?void 0x0:_0x30fb66?_0x3ae96d(_0x4798ed,_0x3e3c03):_0x4798ed,_0x1dbb22=_0x12cf75[_0x5dfd84(0x37f)]-0x1,_0x51d6d5;_0x1dbb22>=0x0;_0x1dbb22--)(_0x51d6d5=_0x12cf75[_0x1dbb22])&&(_0x53ed2a=_0x51d6d5(_0x53ed2a)||_0x53ed2a);return _0x53ed2a;},_0x54d871=(_0x3a53f6,_0x2efefa)=>(_0x3688ae,_0x13835c)=>_0x2efefa(_0x3688ae,_0x13835c,_0x3a53f6);let _0x41ad13=class extends _0x49f92f[_0x5565f1(0x425)]{constructor(_0x3e99cb,_0x299731,_0x5369c1,_0x177eca){const _0x24773d=_0x5565f1;super(),_0x246801(this,_0x24773d(0x322),new _0x49f92f['DisposableCollection']()),(this[_0x24773d(0x23b)]=_0x3e99cb,this[_0x24773d(0x264)]=_0x299731,this[_0x24773d(0x3ec)]=_0x5369c1,this[_0x24773d(0x3b2)]=_0x177eca,this['_initClearSelectionCommandInterceptor']());}[_0x5565f1(0x188)](){const _0x5c7731=_0x5565f1;this[_0x5c7731(0x3ae)](this[_0x5c7731(0x264)][_0x5c7731(0x3d8)]({'getMutations':_0x26484e=>{const _0x58b467=_0x5c7731;if(_0x26484e['id']===_0x29b248[_0x58b467(0x306)]['id']||_0x26484e['id']===_0x29b248[_0x58b467(0x186)]['id']){const _0xb44a82=[],_0x1ecf62=[],_0x1d29b4=this[_0x58b467(0x3ec)]['getCurrentSelections']()[_0x58b467(0x19f)](_0x4b090e=>_0x4b090e[_0x58b467(0x234)]),_0x3637c6=_0x29b248['getSheetCommandTarget'](this['_univerInstanceService']);if(!_0x3637c6)return{'redos':[],'undos':[]};const {unitId:_0x168f5e,subUnitId:_0x3bd67b}=_0x3637c6,_0x4b8f3e={},_0x20c9e4=this[_0x58b467(0x3b2)][_0x58b467(0x1dd)](_0x168f5e,_0x3bd67b);if(_0x20c9e4!=null&&_0x20c9e4['size'])for(const [_0x4a7424,_0x32e54c]of _0x20c9e4){const {unitId:_0x3aae9e,subUnitId:_0x5edd1e,row:_0x34fb3a,col:_0xfacea2}=_0x32e54c[_0x58b467(0x1d0)];_0x3aae9e===_0x3637c6[_0x58b467(0x32c)]&&_0x5edd1e===_0x3637c6[_0x58b467(0x271)]&&(_0x4b8f3e[_0x34fb3a+'-'+_0xfacea2]=_0x4a7424);}return _0x1d29b4&&_0x3637c6&&_0x1d29b4[_0x58b467(0x350)](_0x23223b=>{const _0x1600c2=_0x58b467;_0x49f92f[_0x1600c2(0x3e7)][_0x1600c2(0x3a7)](_0x23223b,(_0x3e9dfe,_0x56b649)=>{const _0x4699f9=_0x1600c2,_0x2bab01=_0x3e9dfe+'-'+_0x56b649;if(_0x4b8f3e[_0x2bab01]){const _0x5aebb5=_0x4b8f3e[_0x2bab01];_0xb44a82[_0x4699f9(0x254)]({'id':_0xaf0ab['id'],'params':{'unitId':_0x168f5e,'subUnitId':_0x3bd67b,'pivotTableId':_0x5aebb5}});const _0x187b44=this['_sheetsPivotTableConfigModel'][_0x4699f9(0x312)](_0x168f5e,_0x5aebb5),_0x55b8ca=this[_0x4699f9(0x3b2)][_0x4699f9(0x215)](_0x168f5e,_0x3bd67b,_0x5aebb5);_0x1ecf62[_0x4699f9(0x254)]({'id':_0x1eb047['id'],'params':{'unitId':_0x168f5e,'subUnitId':_0x3bd67b,'pivotTableId':_0x5aebb5,'pivotTableConfig':_0x55b8ca,'collectionConfig':_0x187b44}});}});}),{'redos':_0xb44a82,'undos':_0x1ecf62};}return{'redos':[],'undos':[]};}}));}};_0x41ad13=_0x2eac6c([_0x54d871(0x0,_0x49f92f['IUniverInstanceService']),_0x54d871(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x29b248[_0x5565f1(0x290)])),_0x54d871(0x2,_0x49f92f[_0x5565f1(0x21b)](_0x29b248[_0x5565f1(0x3f7)])),_0x54d871(0x3,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x11d)]))],_0x41ad13);var _0x320c5d=Object[_0x5565f1(0x14a)],_0x37a5f8=(_0x4e75f7,_0x1ad5bc,_0x4c7bd7,_0xcdd251)=>{const _0xd2f273=_0x5565f1;for(var _0x2259f1=_0xcdd251>0x1?void 0x0:_0xcdd251?_0x320c5d(_0x1ad5bc,_0x4c7bd7):_0x1ad5bc,_0x11f10c=_0x4e75f7[_0xd2f273(0x37f)]-0x1,_0x572d1f;_0x11f10c>=0x0;_0x11f10c--)(_0x572d1f=_0x4e75f7[_0x11f10c])&&(_0x2259f1=_0x572d1f(_0x2259f1)||_0x2259f1);return _0x2259f1;},_0x1b7c82=(_0x2cac88,_0x14b60f)=>(_0x48d6b1,_0x1e6bb9)=>_0x14b60f(_0x48d6b1,_0x1e6bb9,_0x2cac88);let _0x4b4948=class extends _0x49f92f['Disposable']{constructor(_0x349f04,_0x36aa25,_0x35c4ab,_0x447d9f,_0x4f6bd3){const _0x5d5e3d=_0x5565f1;super(),this['_sheetInterceptorService']=_0x349f04,this[_0x5d5e3d(0x27c)]=_0x36aa25,this[_0x5d5e3d(0x23b)]=_0x35c4ab,this[_0x5d5e3d(0x3b2)]=_0x447d9f,this['_sheetsPivotTableService']=_0x4f6bd3,this['_initCommandInterceptListener']();}[_0x5565f1(0x3c3)](_0x4a7e58,_0x4ecbfc,_0x5f0b73){const _0x2b349d=_0x5565f1,{pageView:_0x535b2b,cornerView:_0x100673,rowView:_0x539f33,colView:_0x128a19,dataView:_0x26b4bf}=_0x4ecbfc,_0x1fdc61=_0x4a7e58;let _0x26279d;if(_0x5f0b73)_0x26279d=[..._0x3ee25d(_0x1fdc61)];else{const _0x4ef999=_0x290256(_0x1fdc61,_0x535b2b,!0x0),_0x1793cc=_0x535b2b['lastRow']>=0x0?_0x535b2b[_0x2b349d(0x204)]+0x1:0x0,_0x1bc5e2=_0x100673[_0x2b349d(0x12d)],_0x2f5525=_0x100673[_0x2b349d(0x32b)],_0x1047ef=_0x4ef999[_0x2b349d(0x37f)]>0x0?_0x29054f:0x0,_0x15adb4=_0x290256({'row':_0x1fdc61[_0x2b349d(0x1b1)]+_0x1793cc+_0x1047ef,'col':_0x1fdc61[_0x2b349d(0x341)]},_0x100673,!0x1,!0x1),_0x524c80=_0x290256({'row':_0x1fdc61[_0x2b349d(0x1b1)]+_0x1793cc+_0x1047ef+_0x1bc5e2,'col':_0x1fdc61['col']},_0x539f33,!0x1,!0x0),_0x3c24bf=_0x290256({'row':_0x1fdc61['row']+_0x1793cc+_0x1047ef,'col':_0x1fdc61[_0x2b349d(0x341)]+_0x2f5525},_0x128a19,!0x1,!0x0),_0x2ca9dd=_0x290256({'row':_0x1fdc61[_0x2b349d(0x1b1)]+_0x1793cc+_0x1047ef+_0x1bc5e2,'col':_0x1fdc61[_0x2b349d(0x341)]+_0x2f5525},_0x26b4bf,!0x1,!0x0);_0x26279d=[..._0x4ef999,..._0x15adb4,..._0x524c80,..._0x3c24bf,..._0x2ca9dd];}return _0x26279d;}[_0x5565f1(0x3ad)](){const _0x1c769d=_0x5565f1;this[_0x1c769d(0x3ae)](this[_0x1c769d(0x262)][_0x1c769d(0x1fe)][_0x1c769d(0x269)](this[_0x1c769d(0x262)][_0x1c769d(0x1fe)][_0x1c769d(0x289)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0x127777,_0x108474)=>{const _0x3c71e7=_0x1c769d,{cellInfo:_0x1a984d,view:_0x5dbfa4,isEmpty:_0x48b5ed}=_0x108474,_0x4ef924=_0x1a984d,{unitId:_0x720a5c,subUnitId:_0x41dda9}=_0x4ef924,_0x477b59=this[_0x3c71e7(0x3c3)](_0x1a984d,_0x5dbfa4,_0x48b5ed),_0x3048f5=this[_0x3c71e7(0x264)][_0x3c71e7(0x3c7)]({'unitId':_0x720a5c,'subUnitId':_0x41dda9,'ranges':_0x477b59}),_0xd6d6bc=_0x59e5a3(this[_0x3c71e7(0x27c)],_0x720a5c,_0x41dda9,_0x477b59);_0xd6d6bc[_0x3c71e7(0x3cc)]&&(_0x3048f5[_0x3c71e7(0x2a5)][_0x3c71e7(0x254)](_0xd6d6bc[_0x3c71e7(0x3d3)]),_0x3048f5[_0x3c71e7(0x206)][_0x3c71e7(0x254)](_0xd6d6bc[_0x3c71e7(0x3e1)]));const _0x489aa6=this[_0x3c71e7(0x2bf)](_0x5dbfa4,_0x1a984d);return _0x3048f5['redos'][_0x3c71e7(0x254)](..._0x489aa6[_0x3c71e7(0x2a5)]),_0x3048f5[_0x3c71e7(0x206)][_0x3c71e7(0x254)](..._0x489aa6[_0x3c71e7(0x206)]),{'redos':_0x3048f5[_0x3c71e7(0x2a5)],'undos':_0x3048f5['undos']};}}));}[_0x5565f1(0x2bf)](_0x24a31d,_0x5f38fa){const _0x5ddbf5=_0x5565f1,{col:_0x3295f5,unitId:_0x3df09d,subUnitId:_0x41b817}=_0x5f38fa,_0x493897=[],_0x127daf=[],_0x38f67a=_0x29b248[_0x5ddbf5(0x1a6)](this['_univerInstanceService'],{'unitId':_0x3df09d,'subUnitId':_0x41b817});if(!_0x5f38fa||!_0x24a31d||!_0x38f67a)return{'undos':_0x127daf,'redos':_0x493897};const _0x5ccd73=this['_sheetsPivotTableConfigModel'][_0x5ddbf5(0x191)](),{colView:_0x8758eb,dataView:_0x4d6e48,cornerView:_0x4050c5,rowView:_0xda2a1c,formatMap:_0x4bfad1}=_0x24a31d,_0x258f90=_0x19883d(_0x8758eb,_0x5ccd73,!0x0,_0x4bfad1),_0x28239e=_0x19883d(_0xda2a1c,_0x5ccd73,!0x1,_0x4bfad1),_0x5f05c6=_0x5aa41d(_0x4d6e48),_0x59d63b=_0x308247(_0x4050c5),{worksheet:_0x3e889e}=_0x38f67a;if(typeof window<'u'&&window[_0x5ddbf5(0x31e)]){const _0x3b2cba=_0x276b80[_0x5ddbf5(0x158)]({..._0x136b96[_0x5ddbf5(0x308)]}),_0x58e82e=_0x276b80['FontCache'][_0x5ddbf5(0x1ec)](_0x258f90,_0x3b2cba)[_0x5ddbf5(0x314)]+0x10,_0x5e6cde=_0x276b80[_0x5ddbf5(0x241)][_0x5ddbf5(0x1ec)](_0x5f05c6,_0x3b2cba)[_0x5ddbf5(0x314)],_0x5edf47=Math[_0x5ddbf5(0x43b)](Math[_0x5ddbf5(0x3b0)](_0x58e82e,_0x5e6cde))+0x10,_0x2d2b52=Math['floor'](_0x276b80[_0x5ddbf5(0x241)][_0x5ddbf5(0x1ec)](_0x28239e,_0x3b2cba)[_0x5ddbf5(0x314)]),_0x25ddee=Math[_0x5ddbf5(0x43b)](_0x276b80['FontCache'][_0x5ddbf5(0x1ec)](_0x59d63b,_0x3b2cba)['width']),_0x34d4ad=Math[_0x5ddbf5(0x3b0)](_0x2d2b52,_0x25ddee,0x28)+0xc,_0x33912e=_0x8758eb['colCount']+_0x4050c5[_0x5ddbf5(0x32b)],_0x55e271={},_0x3c7b8b={};for(let _0x240d5e=_0x3295f5;_0x240d5e<_0x3295f5+_0x33912e;_0x240d5e++){const _0x11099e=_0x3e889e['getColumnWidth'](_0x240d5e);_0x55e271[_0x240d5e]=_0x11099e,_0x240d5e-_0x3295f5<_0x4050c5[_0x5ddbf5(0x32b)]?_0x3c7b8b[_0x240d5e-_0x3295f5]=_0x34d4ad:_0x3c7b8b[_0x240d5e-_0x3295f5]=_0x5edf47;}_0x493897[_0x5ddbf5(0x254)]({'id':_0x29b248['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x41b817,'unitId':_0x3df09d,'ranges':[{'startColumn':_0x3295f5,'endColumn':_0x3295f5+_0x33912e-0x1,'startRow':0x0,'endRow':_0x3e889e[_0x5ddbf5(0x2fb)]()-0x1}],'colWidth':_0x3c7b8b}}),_0x127daf[_0x5ddbf5(0x254)]({'id':_0x29b248[_0x5ddbf5(0x38b)]['id'],'params':{'subUnitId':_0x41b817,'unitId':_0x3df09d,'ranges':[{'startColumn':_0x3295f5,'endColumn':_0x3295f5+_0x33912e-0x1,'startRow':0x0,'endRow':_0x3e889e['getRowCount']()-0x1}],'colWidth':_0x55e271}});}return{'undos':_0x127daf,'redos':_0x493897};}};_0x4b4948=_0x37a5f8([_0x1b7c82(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x29b248[_0x5565f1(0x290)])),_0x1b7c82(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x22e)])),_0x1b7c82(0x2,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x26f)])),_0x1b7c82(0x3,_0x49f92f['Inject'](_0x47953f['SheetsPivotTableConfigModel'])),_0x1b7c82(0x4,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x2c5)]))],_0x4b4948);var _0xa5fc37=Object[_0x5565f1(0x14a)],_0x2cb81c=(_0x7382fb,_0x12b738,_0x4ded8f,_0x15ebfa)=>{const _0x147da2=_0x5565f1;for(var _0x179941=_0x15ebfa>0x1?void 0x0:_0x15ebfa?_0xa5fc37(_0x12b738,_0x4ded8f):_0x12b738,_0x2dca46=_0x7382fb[_0x147da2(0x37f)]-0x1,_0x2fd620;_0x2dca46>=0x0;_0x2dca46--)(_0x2fd620=_0x7382fb[_0x2dca46])&&(_0x179941=_0x2fd620(_0x179941)||_0x179941);return _0x179941;},_0x35882e=(_0x4453c3,_0x3bc341)=>(_0x4770fa,_0x44714e)=>_0x3bc341(_0x4770fa,_0x44714e,_0x4453c3);let _0x3a7d82=class extends _0x49f92f[_0x5565f1(0x425)]{constructor(_0x299d1f,_0x2ccd91,_0x14b58f,_0x1f0273,_0x4eb519,_0x3a2607,_0x5c6bef){const _0x49e031=_0x5565f1;super(),_0x246801(this,_0x49e031(0x322),new _0x49f92f[(_0x49e031(0x176))]()),(this[_0x49e031(0x27c)]=_0x299d1f,this['_refRangeService']=_0x2ccd91,this['_commandService']=_0x14b58f,this[_0x49e031(0x23b)]=_0x1f0273,this['_sheetsPivotTableConfigModel']=_0x4eb519,this[_0x49e031(0x299)]=_0x3a2607,this[_0x49e031(0x264)]=_0x5c6bef,this['_onRefRangeChange']());}['_onRefRangeChange'](){const _0x3830bb=_0x5565f1,_0x55c65d=(_0x263783,_0x1543e1)=>{const _0x256925=_0xe5fb,_0x4669a4=this[_0x256925(0x23b)][_0x256925(0x244)](_0x49f92f[_0x256925(0x1b7)]['UNIVER_SHEET']);if(!_0x4669a4||!(_0x4669a4==null?void 0x0:_0x4669a4['getSheetBySheetId'](_0x1543e1)))return;this[_0x256925(0x322)]['dispose']();const _0x2fea6f=_0x10938d=>this[_0x256925(0x11c)](_0x10938d,_0x263783,_0x1543e1),_0x1c06fe=this[_0x256925(0x3b2)]['getSubUnitPivotConfigs'](_0x263783,_0x1543e1);if(!(_0x1c06fe!=null&&_0x1c06fe[_0x256925(0x422)]))return;Array[_0x256925(0x3b7)](_0x1c06fe[_0x256925(0x159)]())[_0x256925(0x19f)](_0x384a21=>{const _0x42aeae=_0x256925,{row:_0x297037,col:_0x69bad6}=_0x384a21['targetCellInfo'];return _0x49f92f[_0x42aeae(0x42d)](_0x297037,_0x69bad6);})[_0x256925(0x350)](_0x107c99=>{const _0xc01522=_0x256925;this[_0xc01522(0x322)][_0xc01522(0x436)](this[_0xc01522(0x31d)]['registerRefRange'](_0x107c99,_0x2fea6f,_0x263783,_0x1543e1));});},_0x146c45=()=>{const _0x3b4d87=_0xe5fb,_0x3fe420=this[_0x3b4d87(0x23b)][_0x3b4d87(0x244)](_0x49f92f['UniverInstanceType'][_0x3b4d87(0x3da)]);if(_0x3fe420){const _0x25ed03=_0x3fe420[_0x3b4d87(0x3ce)]();if(!_0x25ed03)return;_0x55c65d(_0x3fe420[_0x3b4d87(0x1b4)](),_0x25ed03[_0x3b4d87(0x197)]());}};this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x52e9db=>{const _0x4d3a68=_0xe5fb;if(_0x52e9db['id']===_0x29b248['SetWorksheetActiveOperation']['id']){const _0xd71d16=_0x52e9db[_0x4d3a68(0x2c4)],_0x40629=_0xd71d16[_0x4d3a68(0x271)],_0x45e279=_0xd71d16[_0x4d3a68(0x32c)];if(!_0x40629||!_0x45e279)return;_0x55c65d(_0x45e279,_0x40629);}})),this[_0x3830bb(0x3ae)](this[_0x3830bb(0x3b2)]['pivotInitCompleted$'][_0x3830bb(0x1de)](_0x361d53=>{_0x361d53&&_0x146c45();})),this[_0x3830bb(0x3ae)](this[_0x3830bb(0x3b2)][_0x3830bb(0x392)]['subscribe'](_0x4410ab=>{const _0x4ca82a=_0x3830bb,_0x4cb489=_0x29b248[_0x4ca82a(0x1a6)](this[_0x4ca82a(0x23b)]);if(!_0x4cb489)return;const {unitId:_0x1b791d,subUnitId:_0x52b571}=_0x4cb489,{unitId:_0x1413a0,subUnitId:_0xc19790}=_0x4410ab;_0x1b791d!==_0x1413a0||_0x52b571!==_0xc19790||_0x55c65d(_0x1b791d,_0x52b571);})),_0x146c45();}[_0x5565f1(0x11c)](_0xe27e95,_0xad0f36,_0x24a889){const _0x5383d5=_0x5565f1;switch(_0xe27e95['id']){case _0x29b248[_0x5383d5(0x3bb)]['id']:return this[_0x5383d5(0x31b)](_0xe27e95[_0x5383d5(0x2c4)],_0xad0f36,_0x24a889);}return{'redos':[],'undos':[]};}[_0x5565f1(0x31b)](_0x1bb408,_0xe8914a,_0x2e8e65){const _0x5259b2=_0x5565f1,{fromRange:_0x3dc1c8,toRange:_0x46a411}=_0x1bb408,_0x229e52=[],_0x3dd051=[],_0x4d913e=_0x29b248[_0x5259b2(0x1a6)](this[_0x5259b2(0x23b)]);if(!_0x4d913e)return{'undos':_0x3dd051,'redos':_0x229e52};if(_0xe8914a!==_0x4d913e['unitId']||_0x2e8e65!==_0x4d913e[_0x5259b2(0x271)])return{'undos':_0x3dd051,'redos':_0x229e52};const _0x19aad5=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0xe8914a,_0x2e8e65);if(_0x19aad5!=null&&_0x19aad5[_0x5259b2(0x422)])for(const [_0x2d4241,_0x578649]of _0x19aad5){const {unitId:_0x154e02,subUnitId:_0x5b80a3,row:_0x444318,col:_0x45f763}=_0x578649[_0x5259b2(0x1d0)];if(_0x154e02===_0x4d913e[_0x5259b2(0x32c)]&&_0x5b80a3===_0x4d913e[_0x5259b2(0x271)]){const _0x2803b3=_0x49f92f[_0x5259b2(0x42d)](_0x444318,_0x45f763);if(_0x49f92f[_0x5259b2(0x23f)]['intersects'](_0x2803b3,_0x3dc1c8)){const _0x2bec18=_0x444318-_0x3dc1c8[_0x5259b2(0x34c)],_0x3aac11=_0x45f763-_0x3dc1c8[_0x5259b2(0x421)],_0x25db08={'row':_0x46a411[_0x5259b2(0x34c)]+_0x2bec18,'col':_0x46a411[_0x5259b2(0x421)]+_0x3aac11};_0x229e52[_0x5259b2(0x254)]({'id':_0xd66fe3['id'],'params':{'unitId':_0x154e02,'subUnitId':_0x5b80a3,'pivotTableId':_0x2d4241,'targetCellPosition':_0x25db08}}),_0x3dd051[_0x5259b2(0x254)]({'id':_0xd66fe3['id'],'params':{'unitId':_0x154e02,'subUnitId':_0x5b80a3,'pivotTableId':_0x2d4241,'targetCellPosition':{'row':_0x444318,'col':_0x45f763}}});const _0x12afa4=_0x25db08['row']-_0x444318,_0xb2042b=_0x25db08['col']-_0x45f763,_0x53435d=[],_0x592499=this[_0x5259b2(0x299)][_0x5259b2(0x2f4)](_0x154e02,_0x5b80a3,_0x2d4241),_0xf30cfc=_0x592499==null?void 0x0:_0x592499['rangesInfo'];if(_0xf30cfc){Object[_0x5259b2(0x37a)](_0xf30cfc)[_0x5259b2(0x350)](_0x4acccf=>{_0xf30cfc[_0x4acccf]['forEach'](_0x26ad49=>{const _0x50ce81=_0xe5fb,_0x3e206d={..._0x26ad49};_0x3e206d['startRow']=_0x26ad49['startRow']+_0x12afa4,_0x3e206d['endRow']=_0x26ad49['endRow']+_0x12afa4,_0x3e206d[_0x50ce81(0x421)]=_0x26ad49[_0x50ce81(0x421)]+_0xb2042b,_0x3e206d['endColumn']=_0x26ad49[_0x50ce81(0x39d)]+_0xb2042b,_0x53435d[_0x50ce81(0x254)](_0x3e206d);});});const _0xc334f6=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x154e02,'subUnitId':_0x5b80a3,'ranges':_0x53435d});_0x229e52[_0x5259b2(0x254)](..._0xc334f6['redos']),_0x3dd051[_0x5259b2(0x254)](..._0xc334f6[_0x5259b2(0x206)]);const _0x24aae6=_0x59e5a3(this[_0x5259b2(0x27c)],_0x154e02,_0x5b80a3,_0x53435d);_0x24aae6[_0x5259b2(0x3cc)]&&(_0x229e52['push'](_0x24aae6['setRangeValueRedoMutation']),_0x3dd051[_0x5259b2(0x254)](_0x24aae6['setRangeValueUndoMutation']));}}}}return{'redos':_0x229e52,'undos':_0x3dd051};}};_0x3a7d82=_0x2cb81c([_0x35882e(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x22e)])),_0x35882e(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x29b248[_0x5565f1(0x249)])),_0x35882e(0x2,_0x49f92f[_0x5565f1(0x3fc)]),_0x35882e(0x3,_0x49f92f[_0x5565f1(0x26f)]),_0x35882e(0x4,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x11d)])),_0x35882e(0x5,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x3c8)])),_0x35882e(0x6,_0x49f92f[_0x5565f1(0x21b)](_0x29b248[_0x5565f1(0x290)]))],_0x3a7d82);var _0xeae03b=Object[_0x5565f1(0x14a)],_0x253f93=(_0x5de4d1,_0x44725a,_0x2ec2e0,_0x35ed0e)=>{const _0x4d8145=_0x5565f1;for(var _0x1b41e0=_0x35ed0e>0x1?void 0x0:_0x35ed0e?_0xeae03b(_0x44725a,_0x2ec2e0):_0x44725a,_0x52b48f=_0x5de4d1[_0x4d8145(0x37f)]-0x1,_0x558bf3;_0x52b48f>=0x0;_0x52b48f--)(_0x558bf3=_0x5de4d1[_0x52b48f])&&(_0x1b41e0=_0x558bf3(_0x1b41e0)||_0x1b41e0);return _0x1b41e0;},_0x5abc3e=(_0x488f20,_0x405ecd)=>(_0x276014,_0x5b48ed)=>_0x405ecd(_0x276014,_0x5b48ed,_0x488f20);let _0x4bdaba=class extends _0x49f92f['Disposable']{constructor(_0x27e965,_0x28d00e){const _0x1b57b5=_0x5565f1;super(),this['_sheetInterceptorService']=_0x27e965,this[_0x1b57b5(0x3b2)]=_0x28d00e,this['_initRemoveSheetCommandInterceptor']();}['_initRemoveSheetCommandInterceptor'](){const _0x14355b=_0x5565f1;this[_0x14355b(0x3ae)](this[_0x14355b(0x264)][_0x14355b(0x3d8)]({'getMutations':_0x1e3e27=>{const _0x1c16c1=_0x14355b;if(_0x1e3e27['id']===_0x29b248[_0x1c16c1(0x23e)]['id']){const _0x20bb48=[],_0x3823ab=[],_0xb9f334=_0x1e3e27[_0x1c16c1(0x2c4)],{unitId:_0x13da6f,subUnitId:_0x13e479}=_0xb9f334;if(!_0x13da6f||!_0x13e479)return{'undos':_0x3823ab,'redos':_0x20bb48};const _0x1e115f=this['_sheetsPivotTableConfigModel']['getSubUnitPivotConfigs'](_0x13da6f,_0x13e479);if(_0x1e115f!=null&&_0x1e115f[_0x1c16c1(0x422)])for(const [_0x4d5aad,_0x2a9860]of _0x1e115f){_0x20bb48[_0x1c16c1(0x254)]({'id':_0xaf0ab['id'],'params':{'unitId':_0x13da6f,'subUnitId':_0x13e479,'pivotTableId':_0x4d5aad}});const _0x50ee74={...this['_sheetsPivotTableConfigModel']['getCollection'](_0x13da6f,_0x4d5aad)};_0x3823ab[_0x1c16c1(0x254)]({'id':_0x1eb047['id'],'params':{'unitId':_0x13da6f,'subUnitId':_0x13e479,'pivotTableId':_0x4d5aad,'pivotTableConfig':_0x2a9860,'collectionConfig':_0x50ee74}});}return{'redos':_0x20bb48,'undos':_0x3823ab};}return{'redos':[],'undos':[]};}}));}};_0x4bdaba=_0x253f93([_0x5abc3e(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x29b248[_0x5565f1(0x290)])),_0x5abc3e(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x11d)]))],_0x4bdaba);var _0x384119=Object[_0x5565f1(0x14a)],_0x430fd5=(_0x58ab96,_0x49258d,_0x296f6a,_0x1e86fb)=>{for(var _0x4f2118=_0x1e86fb>0x1?void 0x0:_0x1e86fb?_0x384119(_0x49258d,_0x296f6a):_0x49258d,_0x6e2286=_0x58ab96['length']-0x1,_0x5cc8c1;_0x6e2286>=0x0;_0x6e2286--)(_0x5cc8c1=_0x58ab96[_0x6e2286])&&(_0x4f2118=_0x5cc8c1(_0x4f2118)||_0x4f2118);return _0x4f2118;},_0x5b6427=(_0x2198a4,_0x2d0358)=>(_0x4b504e,_0x2e1c9e)=>_0x2d0358(_0x4b504e,_0x2e1c9e,_0x2198a4);let _0x525194=class extends _0x49f92f['Disposable']{constructor(_0x39601c,_0x5ebb45,_0x3523ea,_0x4b1a5b,_0x4c8686,_0xe952c0){const _0x5cdda1=_0x5565f1;super(),this[_0x5cdda1(0x393)]=_0x39601c,this[_0x5cdda1(0x1db)]=_0x5ebb45,this[_0x5cdda1(0x299)]=_0x3523ea,this[_0x5cdda1(0x3b2)]=_0x4b1a5b,this[_0x5cdda1(0x23b)]=_0x4c8686,this[_0x5cdda1(0x1a2)]=_0xe952c0,this[_0x5cdda1(0x38e)](),this[_0x5cdda1(0x385)]();}[_0x5565f1(0x38e)](){const _0x5d9bfb=_0x5565f1;this[_0x5d9bfb(0x3ae)](this['_commandService'][_0x5d9bfb(0x129)](_0x4b09e6=>{const _0x14876e=_0x5d9bfb;if(_0x4b09e6['id']!==_0x187dbf['id'])return;const _0x151446=_0x4b09e6[_0x14876e(0x2c4)];this[_0x14876e(0x1db)][_0x14876e(0x335)](_0x151446);})),this[_0x5d9bfb(0x3ae)](this[_0x5d9bfb(0x393)]['onCommandExecuted'](_0x1ada7d=>{const _0x3fdf53=_0x5d9bfb;if(_0x1ada7d['id']===_0x3bac17['id']){const _0x8675e2=_0x1ada7d['params'];if(_0x8675e2){const {unitId:_0x5db26c,subUnitId:_0x4b2c51,oldSubUnitId:_0x1dd8f1,pivotTableId:_0x110fd3,pivotTableConfig:_0x58439b,collectionConfig:_0x20e5dc}=_0x8675e2;this[_0x3fdf53(0x3b2)]['updateConfigCache'](_0x5db26c,_0x1dd8f1,_0x8675e2[_0x3fdf53(0x433)],null),this['_sheetsPivotTableConfigModel'][_0x3fdf53(0x3fb)](_0x5db26c,_0x4b2c51,_0x110fd3,_0x58439b),this['_sheetsPivotTableConfigModel'][_0x3fdf53(0x1c2)](_0x5db26c,_0x20e5dc);}}})),this[_0x5d9bfb(0x3ae)](this[_0x5d9bfb(0x393)]['onCommandExecuted'](_0x11346e=>{const _0xb00366=_0x5d9bfb;if(_0x11346e['id']!==_0xd023a5['id'])return;const _0xe03b83=_0x29b248['getSheetCommandTarget'](this[_0xb00366(0x23b)]);if(!_0xe03b83)return;const {unitId:_0x5b1af7,subUnitId:_0x3736a9}=_0xe03b83,_0x137594=_0x11346e[_0xb00366(0x2c4)];if(_0x137594['collectionConfig']&&Object[_0xb00366(0x37a)](_0x137594[_0xb00366(0x24c)])['forEach'](_0x479664=>{const _0xc0f0bb=_0xb00366;var _0xb38d4f;(_0xb38d4f=_0x137594[_0xc0f0bb(0x24c)])!=null&&_0xb38d4f[_0x479664]&&this['_sheetsPivotTableConfigModel'][_0xc0f0bb(0x1c2)](_0x479664,_0x137594['collectionConfig'][_0x479664]);}),_0x137594[_0xb00366(0x361)]){const _0x28271a=_0x137594[_0xb00366(0x361)],{unitId:_0x1f53c1,subUnitId:_0x349fdf,view:_0x156f31,pivotTableId:_0x30c06f,type:_0x1eef30,pivotConfig:_0x1200d0}=_0x28271a;if(_0x1eef30===_0x1e0edb[_0xb00366(0x287)])this[_0xb00366(0x299)]['clearRenderCache']({'unitId':_0x1f53c1,'subUnitId':_0x349fdf,'pivotTableId':_0x30c06f,'type':_0x1eef30}),this[_0xb00366(0x3b2)]['updateConfigCache'](_0x1f53c1,_0x349fdf,_0x30c06f,null);else{const _0x4daa8a=new _0x16b0d8[(_0xb00366(0x19b))]();_0x4daa8a[_0xb00366(0x39c)](_0x156f31),this[_0xb00366(0x3b2)][_0xb00366(0x3fb)](_0x1f53c1,_0x349fdf,_0x30c06f,_0x1200d0),this['_sheetsPivotTableAdaptorModel'][_0xb00366(0x3f3)]({'unitId':_0x1f53c1,'subUnitId':_0x349fdf,'pivotTableId':_0x30c06f,'type':_0x1eef30,'view':_0x4daa8a}),this[_0xb00366(0x299)][_0xb00366(0x1e6)]({'unitId':_0x1f53c1,'subUnitId':_0x349fdf,'view':_0x4daa8a,'pivotTableId':_0x30c06f,'type':_0x1eef30});}}else _0x137594['batch']&&(_0x137594[_0xb00366(0x41d)][_0xb00366(0x350)](_0x58598e=>{const _0x407b5d=_0xb00366,{unitId:_0x1d3f88,subUnitId:_0x49069a,view:_0x88854,pivotTableId:_0x1aecc7,type:_0x58e7f2,pivotConfig:_0x23e5ff}=_0x58598e,_0x3f474d=new _0x16b0d8['PivotView']();_0x3f474d[_0x407b5d(0x39c)](_0x88854),this[_0x407b5d(0x3b2)]['updateConfigCache'](_0x1d3f88,_0x49069a,_0x1aecc7,_0x23e5ff),this[_0x407b5d(0x299)][_0x407b5d(0x1e6)]({'unitId':_0x1d3f88,'subUnitId':_0x49069a,'view':_0x3f474d,'pivotTableId':_0x1aecc7,'type':_0x58e7f2});}),this[_0xb00366(0x3b2)][_0xb00366(0x1df)]());this['_sheetsPivotTableAdaptorModel'][_0xb00366(0x251)](_0x5b1af7,_0x3736a9);}));}['registerDirtyService'](){const _0x3a899f=_0x5565f1;this['_activeDirtyManagerService'][_0x3a899f(0x1ee)](_0x431f75['id'],{'commandId':_0x431f75['id'],'getDirtyData'(_0x12ff67){return{'dirtyUnitFeatureMap':_0x12ff67['params']};}});}};_0x525194=_0x430fd5([_0x5b6427(0x0,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f['ICommandService'])),_0x5b6427(0x1,_0x49f92f['Inject'](_0x47953f[_0x5565f1(0x3f1)])),_0x5b6427(0x2,_0x49f92f[_0x5565f1(0x21b)](_0x47953f[_0x5565f1(0x3c8)])),_0x5b6427(0x3,_0x49f92f['Inject'](_0x47953f[_0x5565f1(0x11d)])),_0x5b6427(0x4,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f['IUniverInstanceService'])),_0x5b6427(0x5,_0x3a3769[_0x5565f1(0x200)])],_0x525194);var _0x61a4ce=Object[_0x5565f1(0x384)],_0x160b1d=Object['getOwnPropertyDescriptor'],_0x1f0d76=(_0x3c9287,_0x1c872c,_0x2c81b0)=>_0x1c872c in _0x3c9287?_0x61a4ce(_0x3c9287,_0x1c872c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c81b0}):_0x3c9287[_0x1c872c]=_0x2c81b0,_0x29ebd7=(_0x32ff5f,_0x48e31b,_0x3bde2a,_0x589f2b)=>{const _0x181ff5=_0x5565f1;for(var _0x3cbf95=_0x589f2b>0x1?void 0x0:_0x589f2b?_0x160b1d(_0x48e31b,_0x3bde2a):_0x48e31b,_0x225115=_0x32ff5f[_0x181ff5(0x37f)]-0x1,_0x25c667;_0x225115>=0x0;_0x225115--)(_0x25c667=_0x32ff5f[_0x225115])&&(_0x3cbf95=_0x25c667(_0x3cbf95)||_0x3cbf95);return _0x3cbf95;},_0x1723cf=(_0x38ec9b,_0x1813a8)=>(_0x5130a0,_0x2c8215)=>_0x1813a8(_0x5130a0,_0x2c8215,_0x38ec9b),_0x4ed562=(_0x2f0791,_0x2e2fb7,_0x3b7b59)=>_0x1f0d76(_0x2f0791,typeof _0x2e2fb7!=_0x5565f1(0x2b3)?_0x2e2fb7+'':_0x2e2fb7,_0x3b7b59);_0x47953f[_0x5565f1(0x166)]=class extends _0x49f92f[_0x5565f1(0x36d)]{constructor(_0x49c965=_0x11e3f9,_0x599b7c,_0x8de17f,_0x504bcb,_0x3c0128){const _0x526472=_0x5565f1;super(),this['_config']=_0x49c965,this['_injector']=_0x599b7c,this[_0x526472(0x393)]=_0x8de17f,this[_0x526472(0x163)]=_0x504bcb,this[_0x526472(0x24f)]=_0x3c0128;const {..._0x32bbe4}=_0x49f92f[_0x526472(0x3b3)]({},_0x11e3f9,this['_config']);this[_0x526472(0x163)][_0x526472(0x261)](_0x2fe2dc,_0x32bbe4),this[_0x526472(0x30a)](),this[_0x526472(0x3e8)]();}['_initConfig'](){const _0x25050e=_0x5565f1;var _0x25babf;const _0x5f50d7=(_0x25babf=this[_0x25050e(0x149)])==null?void 0x0:_0x25babf[_0x25050e(0x167)];this[_0x25050e(0x163)]['setConfig'](_0x511ea3,_0x5f50d7===!0x0);}[_0x5565f1(0x2cf)](){const _0x65abf2=_0x5565f1;var _0x278bde;let _0x10faa4=[];const _0x57ae67=(_0x278bde=this[_0x65abf2(0x149)])==null?void 0x0:_0x278bde[_0x65abf2(0x167)];_0x57ae67===!0x0?_0x10faa4=[[_0x47953f[_0x65abf2(0x2c5)]],[_0x47953f[_0x65abf2(0x3f1)]],[_0x525194],[_0x47953f[_0x65abf2(0x3c8)]],[_0x47953f[_0x65abf2(0x11d)]],[_0x4bdaba],[_0x41ad13],[_0x3a7d82],[_0x4b4948]]:_0x57ae67===!0x1?_0x10faa4=[[_0x47953f['SheetsPivotDataSourceModel']],[_0x4ae2a1]]:_0x57ae67===void 0x0&&(_0x10faa4=[[_0x47953f[_0x65abf2(0x120)]],[_0x4ae2a1],[_0x47953f[_0x65abf2(0x2c5)]],[_0x47953f['SheetsPivotRPCService']],[_0x525194],[_0x47953f[_0x65abf2(0x3c8)]],[_0x47953f[_0x65abf2(0x11d)]],[_0x4bdaba],[_0x41ad13],[_0x3a7d82],[_0x4b4948]]),_0x10faa4[_0x65abf2(0x350)](_0x23a9d1=>this[_0x65abf2(0x27c)]['add'](_0x23a9d1)),[_0x4ae2a1,_0x525194,_0x47953f['SheetsPivotTableService'],_0x41ad13,_0x4bdaba,_0x3a7d82,_0x4b4948][_0x65abf2(0x350)](_0x3f67ad=>{const _0x4f398c=_0x65abf2;this[_0x4f398c(0x27c)][_0x4f398c(0x189)](_0x3f67ad)&&this[_0x4f398c(0x27c)][_0x4f398c(0x326)](_0x3f67ad);});}[_0x5565f1(0x30a)](){const _0x5e1ba5=_0x5565f1;[_0x588cef,_0x466e70,_0x1636bc,_0x22c13e,_0x428f9a,_0x942c81,_0x19a49e,_0x433d1e,_0x4d3fef,_0x2df530,_0x4e941b,_0x41de91,_0x2b2998,_0x46b862,_0x1eb047,_0xf64629,_0xaf0ab,_0x453e87,_0x417bba,_0x4a69bb,_0x40cd4c,_0x3b2c81,_0x2b9b8c,_0x5d474,_0x4db253,_0x326349,_0xd66fe3,_0x44b295,_0x187dbf,_0xd023a5,_0x3f40e7,_0x4ca1db,_0x1b4e76,_0x4432ef,_0x389da5,_0x66b5e7,_0x528f2b,_0x431f75,_0x3bac17,_0x560a6d,_0x423b43,_0x1bceee,_0x1fe731][_0x5e1ba5(0x350)](_0x1e77c6=>{const _0x1dc716=_0x5e1ba5;var _0x1441af;(_0x1441af=this[_0x1dc716(0x24f)])==null||_0x1441af[_0x1dc716(0x319)](_0x1e77c6),this['_commandService'][_0x1dc716(0x18a)](_0x1e77c6);});}},_0x4ed562(_0x47953f[_0x5565f1(0x166)],'pluginName',_0x5eb740),_0x4ed562(_0x47953f[_0x5565f1(0x166)],'type',_0x49f92f['UniverInstanceType']['UNIVER_SHEET']),_0x47953f[_0x5565f1(0x166)]=_0x29ebd7([_0x49f92f[_0x5565f1(0x285)](_0x3e3faf[_0x5565f1(0x2e0)]),_0x1723cf(0x1,_0x49f92f[_0x5565f1(0x21b)](_0x49f92f[_0x5565f1(0x22e)])),_0x1723cf(0x2,_0x49f92f['Inject'](_0x49f92f['ICommandService'])),_0x1723cf(0x3,_0x49f92f[_0x5565f1(0x404)]),_0x1723cf(0x4,_0x49f92f[_0x5565f1(0x439)](_0x347967['DataSyncPrimaryController']))],_0x47953f[_0x5565f1(0x166)]),_0x47953f[_0x5565f1(0x2da)]=_0x1636bc,_0x47953f[_0x5565f1(0x2ab)]=_0x453e87,_0x47953f['AddPivotTableCommand']=_0x466e70,_0x47953f['AddPivotTableMutation']=_0x1eb047,_0x47953f[_0x5565f1(0x410)]=_0x588cef,_0x47953f[_0x5565f1(0x153)]=_0x29054f,_0x47953f[_0x5565f1(0x219)]=_0x5078db,_0x47953f[_0x5565f1(0x180)]=_0x22c13e,_0x47953f[_0x5565f1(0x415)]=_0x2b2998,_0x47953f[_0x5565f1(0x325)]=_0x3175a8,_0x47953f[_0x5565f1(0x388)]=_0x46b862,_0x47953f['PivotTableOperationEnum']=_0x1e0edb,_0x47953f[_0x5565f1(0x402)]=_0x431f75,_0x47953f[_0x5565f1(0x2e3)]=_0x3ad7fb,_0x47953f[_0x5565f1(0x2aa)]=_0x428f9a,_0x47953f['RemovePivotFieldMutation']=_0x3b2c81,_0x47953f['RemovePivotTableMutation']=_0xaf0ab,_0x47953f[_0x5565f1(0x131)]=_0x2b9b8c,_0x47953f[_0x5565f1(0x2a7)]=_0x1fe731,_0x47953f[_0x5565f1(0x2d7)]=_0x2fe2dc,_0x47953f[_0x5565f1(0x2c2)]=_0x5eb740,_0x47953f[_0x5565f1(0x1e4)]=_0x433d1e,_0x47953f[_0x5565f1(0x15e)]=_0x5d474,_0x47953f[_0x5565f1(0x35c)]=_0x4432ef,_0x47953f['SetPivotFieldsConfigCommand']=_0x1bceee,_0x47953f[_0x5565f1(0x2be)]=_0x2df530,_0x47953f[_0x5565f1(0x2eb)]=_0x40cd4c,_0x47953f[_0x5565f1(0x294)]=_0x326349,_0x47953f[_0x5565f1(0x17a)]=_0xd66fe3,_0x47953f['SetPivotSortCommand']=_0x4d3fef,_0x47953f[_0x5565f1(0x354)]=_0x4db253,_0x47953f[_0x5565f1(0x288)]=_0x1b4e76,_0x47953f[_0x5565f1(0x3bf)]=_0x560a6d,_0x47953f['SetPivotValueFilterMutation']=_0x423b43,_0x47953f['UpdateDateGroupCommand']=_0x19a49e,_0x47953f[_0x5565f1(0x161)]=_0x3f40e7,_0x47953f['UpdatePivotFieldSettingCommand']=_0x4e941b,_0x47953f[_0x5565f1(0x349)]=_0x528f2b,_0x47953f[_0x5565f1(0x128)]=_0x41de91,_0x47953f[_0x5565f1(0x160)]=_0x66b5e7,_0x47953f['UpdatePivotValuePositionCommand']=_0x942c81,_0x47953f[_0x5565f1(0x414)]=_0x4ca1db,_0x47953f[_0x5565f1(0x2a2)]=_0x41974f,_0x47953f[_0x5565f1(0x1ce)]=_0xe56476,_0x47953f[_0x5565f1(0x348)]=_0x136b96,_0x47953f['generateSetRangeValueMutations']=_0x59e5a3,_0x47953f['getAdjustRangesPosition']=_0x290256,_0x47953f['getEmptyPivotRanges']=_0x3ee25d,_0x47953f['getFieldListByArea']=_0x452f49,_0x47953f[_0x5565f1(0x1d8)]=_0x2535c3,_0x47953f[_0x5565f1(0x1bb)]=_0x40a48d,_0x47953f['getPivotInfoByLicense']=_0x183df5,_0x47953f[_0x5565f1(0x441)]=_0x493754,_0x47953f['transFromCellValue']=_0xb1d466,_0x47953f['unionPivotViewRange']=_0x163af3,Object[_0x5565f1(0x384)](_0x47953f,Symbol[_0x5565f1(0x174)],{'value':'Module'});}));function _0xe5fb(_0x1906ad,_0x2f356c){const _0x4ee1cd=_0x4ee1();return _0xe5fb=function(_0xe5fb90,_0x22bfa8){_0xe5fb90=_0xe5fb90-0x115;let _0x3bc6ca=_0x4ee1cd[_0xe5fb90];return _0x3bc6ca;},_0xe5fb(_0x1906ad,_0x2f356c);}function _0x4ee1(){const _0x540c6c=['sourceRangeInfo','pageStyle','symbol','generateNewSheetName','Tools','sheets-pivot.cellDateGroupDisplay.quarter','textInfo','sheets-pivot.dateGroup.month','dataStream','product','_updateRenderEmptyCache','RemoveField','adjustSheetCellData','SetPivotFilterCommand','getAutoFitColumnsMutations','getColCount','data','SHEET_PIVOT_TABLE_PLUGIN','@univerjs/sheets','params','SheetsPivotTableService','leafStyle','removePivotField','setValuePivotFilter','iterateField','createAsyncInterceptorKey','COLUMN','headerMap','addRecord','hasField','onStarting','sheets-pivot.averageName','SetPivotSetting','cornerRanges','PivotDataFieldDataTypeEnum','substring','Add','prototype','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','ManualFilter','sheets-pivot.dateGroup.date','AddPivotFieldCommand','NotName','getPivotTableRangeInfo','getStyles','PivotSubtotalTypeEnum','getColumnCount','UniverLicensePlugin','sheet.mutation.pivot-update-field-position','getOriginFieldId','PositionType','@univerjs/sheets-filter','_localeService','sheets-pivot.other','isColMultiMeasure','asObservable','removePivotTable','_featureCalculationManagerService','SetPivotFilterMutation','dataFieldsCollection','_updateModelCache','getConfig','sheets-pivot.grandTotal','getGroupFieldsInfoByIds','sheet.command.move-pivot-field','valueFilter','@univerjs/core','getPivotItemRenderInfoCache','sortInfo','Column\x20','concat','NAME','getName','string','getRowCount','getDataFieldByTableId','sheet.mutation.set-pivot-position','SetPivotCollapse','serializeRangeWithSpreadsheet','deleteUnitId','updatePivotTableMatrixInfo','call','sheets-pivot.emptyPivot.column','setPivotSort','COMMAND','ClearSelectionContentCommand','measure','colStyle','sheets-pivot.dateGroup.yearQuarter','_initRegisterCommand','addField','sheet.command.add-pivot-table','tuple','_textInfo','handleMoveRange','_viewUpdate$','LocaleService','getCollection','_pivotRenderValueMatrixCache','width','viewData$','getDirtyInfo','sheets-pivot.emptyPivot.filter','_viewData$','registerSyncingMutations','_collectionChange$','getRefRangeMutationsByMoveRange','sheets-pivot.value','_refRangeService','document','getSheets','fieldIds','@univerjs/engine-formula','disposableCollection','updateValuePosition','sheets-pivot.productName','PivotDisplayDataType','get','viewUpdate$','error','unshiftString','UpdateSource','colCount','unitId','sheets-pivot.cellDateGroupDisplay.date','collectionChange$','addPivotTable','FieldsCollection','458587RayvGt','_requestResolvers','MIN_SAFE_INTEGER','sheets-pivot.dateGroup.quarter','handleAsyncResponse','276PxmBRD','GlobalComputingStatusService','removeSourceRangeChange','updatePivotSource','sheets-pivot.cellDateGroupDisplay.hourMinute','onQueryEnd','dataFieldId','AddPivotTableWithConfig','getSourceName','generateHexNumber','sheets-pivot.cellDateGroupDisplay.month','col','2RQMpIU','fontRenderExtension','random','RemoveRowMutation','BLANK_PLACEHOLDER','_initGlobalComputed','defaultThemeStyle','UpdatePivotFieldSourceInfoMutation','Filter','NO_COMMERCIAL','startRow','generateNullCell','find','date','forEach','blank','@univerjs/engine-render','_pivotTableInstanceCache','SetPivotSortMutation','dispose','getTypeOfUnitDisposed$','body','None','Value','getFieldIds','AddPivotField','SetPivotFieldFormatMutation','cornerInfo','sheet.mutation.update-pivot-table-source-range','YearMonthDate','HourMinute','single','stringify','drillDown','getFullYear','getHeaderMapItem','Subtotal','GrandTotal','PivotTableChangeTypeEnum','Set','DrillDown','rangeKey','split','Plugin','sheets-pivot.varName','getDataFieldId','custom','getPivotDirtyViewInfo','NUMBER','sheet.command.add-pivot-field','rgb(255,255,255)','initDataRanges','removeField','grandTotal','SetCollapse','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','keys','setLabelFilterInfo','dataFields','isDateValue','_collectionConfigModel','length','iterateFieldByArea','PivotViewCellValueTypeEnum','addExclusiveRange','updateDataFieldsCollection','defineProperty','registerDirtyService','UniverSheets','return\x20','PivotDrillDownCommand','setRange','sheet.command.set-pivot-filter','SetWorksheetColWidthMutation','sheet.mutation.add-pivot-field','ObjectMatrix','_initDataSendListener','sheets-pivot.countName','sheet.mutation.update-date-group','queryDirtyPivotTable','pivotConfigChange$','_commandService','number','FORCE_STRING','sheet.command.pivot-drill-down','createInterceptorKey','subTotalStyle','sheet.mutation.send-pivot-data-local','sheet.mutation.rename-pivot-field','168XQJjbm','formJSON','endColumn','updatePivotTableRangeInfo','rangesInfo','getRangeStartEndInfo','#f4f4f5','getSubUnitPivotMatrix','ResetPivotTable','collection','minDate','contains','foreach','SetRangeValuesUndoMutationFactory','sourceName','_model','fetchThroughAsyncInterceptors','parse','_initCommandInterceptListener','disposeWithMe','generateRandomId','max','RenameField','_sheetsPivotTableConfigModel','merge','maxDate','pivotTableIndexConfig','Row','from','_initPivotTextInfo','resetArea','PivotDateGroupFieldDateTypeEnum','MoveRangeCommand','sheets-pivot.cellDateGroupDisplay.yearMonthDate','removeDataField','getFieldDataType','SetPivotValueFilterCommand','Date','endCollectChangeset','query','_getPivotAppliedRanges','splice','getUnit','_lifecycleService','generateMutationsByRanges','SheetsPivotTableAdaptorModel','setValue','STRING','sheets-pivot.blank','shouldClear','forRow','getActiveSheet','addCollectionByJSON','#FFFFFF','pageRanges','refreshDataField','setRangeValueRedoMutation','sheetName','UniverSheetsFilter','UpdateFieldPosition','sheets-pivot.dateGroup.hour','interceptCommand','getPivotTableMatrixInfo','UNIVER_SHEET','other','asyncInterceptor','node','getPivotTableModelConfig','_configVersion$','pivotTableConfigs','setRangeValueUndoMutation','#eceeff','setPivotSetting','createCollectionWithDataRange','forValue','intersects','Range','_initConfig','Grand\x20Total','Div0','rowHeaderMap','_sheetsSelectionsService','resetPivotTable','reset','sheet.command.set-pivot-collapse','GlobalConfig','SheetsPivotRPCService','createDataFieldId','clearRenderCache','ΣValue','_ensurePivotMap','YearQuarter','SheetsSelectionsService','NotFunction','PivotCellStyleTypeEnum','sheet.mutation.pivot-update-value-position','updateConfigCache','ICommandService','SetPivotSort','@univerjs-pro/license','subtotal','valueIndex','fromJSON','PivotTableViewDirtyMarkOperation','pbt','IConfigService','getNoUsedDataFieldIds','areaInfo','sheets-pivot.dateGroup.hourMinute','DateGroupField','next','info','_globalComputingSrv','format','collections','getDataFieldManager','_globalComputedEndHelpFunc','AddPivotTableWithConfigCommand','setSourceName','object','updateConfig','UpdateValuePositionMutation','MovePivotTableCommand','isFeatureAuthorizedWithinTime','setCollapse','PivotErrorTypeEnum','getMatrixValue','_ensurePivotTableMatrixInfo','getSortInfo','value','batch','executeCommand','_ensureViewDataMap','getValuePosition','startColumn','size','average','isText','Disposable','versions','UniverRpc','getId','Sum\x20of\x20','_generateUniqueVersion','setTextInfo','MonthDate','cellToRange','_markDirty$','getDataFieldBySourceName','SetPivotFilter','_pivotTableMatrixInfo','clearExclusiveRangesByGroupId','pivotTableId','sheet.mutation.set-pivot-option','getRangeData','add','limit\x20pivot','InsertRowMutation','Optional','getFieldCountByArea','floor','PivotTable','delete','Min\x20of\x20','sequenceExecute','PivotTableFiledAreaEnum','getPivotTableInfo','getTargetByPivotId','BadReference','numfmt','refreshGroupField','rowStyle','bind','filterInfo','updateView','_deleteModelCache','_refRangeHandle','SheetsPivotTableConfigModel','Subject','updateRangeKeyMap','SheetsPivotDataSourceModel','sheet.command.reset-pivot-fields-config','Expand','isBaseGroupField','count','getMatrixFromRunTimeData','colInfo','unshift','UpdatePivotTableSourceRangeCommand','onCommandExecuted','MovePivotField','collapseInfo','sheet.command.set-pivot-field-setting','rowCount','_initUnitDisposed','setFieldFormat','4939740zvpgpB','RenamePivotFieldMutation','startCollectChangeset','isArray','_subjectViewChange','_resourceManagerService','Count\x20of\x20','PivotFilterTypeEnum','result','amd','pivotInitCompleted$','#b2b2b2','setPivotTableConfig','SetPivotTableConfig','Collapse','getFilterInfo','Quarter','#e6ebfa','rowRanges','getTableFieldById','filterId','some','uniqueDataFieldName','realDeleteValue','sheet.mutation.add-group-collection','_config','getOwnPropertyDescriptor','sheet.command.update-pivot-table-source-range','setDataRecordCount','_pivotTableRangeInfo','Hour','updateDirtyPivotTable','dataRangeInfo','ErrorType','var','BLANK_ROW_COUNT','sheet.mutation.send-pivot-config-local','getDate','removeCollectionImp','workbook\x20is\x20not\x20found','getFontStyleString','values','hasOwnProperty','LifecycleService','fieldsCollectionChange$','setDateType','SetPivotCollapseMutation','entries','UpdatePivotTableSourceRangeMutation','UpdateFieldPositionMutation','SHEET_PIVOT_EXCLUSIVE_ID','_configService','RANGE_TYPE','_pivotConfigChange$','UniverSheetsPivotTablePlugin','notExecuteFormula','BehaviorSubject','sheet.mutation.set-pivot-filter','PivotMultipleValueId','IUndoRedoService','IFeatureCalculationManagerService','PivotTableValuePositionEnum','InterceptorEffectEnum','setSortInfo','colRanges','_pivotInitCompleted$','dimension','_queryingMap','toStringTag','filterFields','DisposableCollection','IExclusiveRangeService','deleteDataField','fetchThroughInterceptors','SetPivotPositionMutation','sheet.mutation.get-pivot-data-local','sheet.mutation.remove-pivot-field','isValue','RemoveSheetMutation','UpdateValuePosition','MovePivotFieldCommand','sheets-pivot.cellDateGroupDisplay.minute','addFieldWithSourceId','CellValueType','UniverEngineRender','triggerDirtyFeature','ClearSelectionAllCommand','sideEffectUpdateWorkerCache','_initClearSelectionCommandInterceptor','has','registerCommand','onQueryStart','sheets-pivot.dateGroup.monthDate','getPivotTableIdByCell','Max\x20of\x20','AddPivotTable','setPivotTable','getTextInfo','MoveRangeMutation','remove','originTargetInfo','addPivotField','getPivotPerformCheck','getSheetId','addDataFieldWithoutUnitInfo','sheets-pivot.subTotal','updateViewData','PivotView','sheets-pivot.countNumsName','getFilterFieldIdByIndex','SetFieldFormat','map','_initViewModelBySheetInterceptor','sheets-pivot.cellDateGroupDisplay.hour','_activeDirtyManagerService','getCellRaw','getSubUnitPivotRenderCache','sheets-pivot.cellDateGroupDisplay.yearMonth','getSheetCommandTarget','3741793idIKOW','InterceptorManager','getFieldInfo','removeValueFilterInfo','pivotPerformCheck','_ensurePivotTableRangeInfo','getTargetByPivotTableId','CommandType','SHEET_PIVOT_IN_MAIN_THREAD','sheet.mutation.send-init-pivot-text-local','row','Var\x20of\x20','_createExclusiveRange','getUnitId','update','getValue','UniverInstanceType','needSameDeleteModel','456864DONQnh','AsyncInterceptorManager','getPivotCellInfo','_pivotRenderInfoCache','displayName','fieldsConfig','deleteField','StdDev\x20of\x20','includes','updateCollectionConfig','updateFieldPosition','#e6ebfb','fields','getUpdateRangeDeleteIds','NotNumber','_toJSON','removeValueFilterInfoByValueFieldId','1052742LLyxTS','_getAutoName','rowFields','addPivotTableWithConfig','canUsePivot','excelDateToUnixMilliseconds','targetCellInfo','getSubtotal','createLabelField','configVersion$','toJSON','new','DIV_BY_ZERO','column','getInsertRowColMutations','getSheetBySheetName','LS_CONFIG_KEY','_sheetsPivotRpcService','_ensurePivotItemRenderValueMatrixCache','getSubUnitPivotConfigs','subscribe','setPivotInitCompleted','InsertSheetMutation','panel','isBottomTotal','deepClone','SetPivotCollapseCommand','registerPluginResource','updateRenderCache','94736PVYBJA','rxjs','_ensurePivotItemRenderInfoCache','SetValueFilter','getFieldPositionInfoById','getTextSize','DEFAULT_WORKSHEET_COLUMN_COUNT','register','getLastRow','getValueIndex','rgb(240,241,243)','sheet.command.update-date-group','setRangeKeyMap','NORMAL','setPivotFilter','UniverCore','refreshData','getLastCol','_updatePivotTableInstanceCache','min','getIntersectsPivotTable','MUTATION','Existing','interceptor','MAX_SAFE_INTEGER','IActiveDirtyManagerService','stdDev','getSheetFeatureLimit','iterateFieldDim','lastRow','createValueField','undos','sheet.mutation.set-pivot-value-filter','movePivotField','filter','getAutoDisplayName','getDisplayName','updateAllDisplayName','colHeaderMap','sheets-pivot.dateGroup.year','getMatrix','@univerjs-pro/engine-pivot','options','getRangeKeyList','sheets-pivot.emptyPivot.values','dataFieldManagerConfig','getPivotTableConfig','sheet.mutation.set-pivot-collapse','sheets-pivot.cellDateGroupDisplay.yearQuarter','#1d32e9','DEFAULT_PIVOT_NUMBER','_initPivotDataGetListener','Inject','sheet.mutation.set-pivot-format','prefix','addCollection','version','CustomCommandExecutionError','Values','getSheetBySheetId','_initLocale','isPrefixValue','isErrorValue','removeCollections','exports','UniverEngineFormula','slice','sheet.command.move-pivot-table','New','registerCallbackWithEvent','getCellMatrix','Injector','getViewData','Minute','setPivotCollapse','pushUndoRedo','getPivotTableInstance','range','RemovePivotField','getPivotDisplayConfig','(Blank)','_globalComputedStartHelpFunc','getAutoDisplayNameFunction','_exclusiveRangeService','_univerInstanceService','UniverProLicense','sheets-pivot.maxName','RemoveSheetCommand','Rectangle','sheet.mutation.add-pivot-table','FontCache','broadcastCollectionChange','InsertSheetUndoMutationFactory','getCurrentUnitForType','10ZrTnWd','set','dateType','getDataFieldByDataFieldId','RefRangeService','_subjectCollectionChange','sheets-pivot.cellDateGroupDisplay.year','collectionConfig','message','sheet.command.add-pivot-table-with-config','_dataSyncPrimaryController','getIndexesByPathStr','markDirty','SetValuePivotFilter','Month','push','_deletePivotTableInstanceCache','19115TjaRer','_dataFieldManagerCollection','sheet.command.update-pivot-value-position','handleSourceRangeChange','sheet.mutation.send-pivot-view-local','countNums','sheets-pivot.stdDevpName','updateFieldSourceInfo','renameField','Year','_host','setConfig','_sheetsPivotTableService','_initSnapshot','_sheetInterceptorService','addDirtyPivotTable','cellValue','getDataFieldByRangeKey','getFieldFormat','intercept','sheet.mutation.set-pivot-field-subtotal-type','sum','sheets.tabs.sheet','getPivotTableCellData','isDateGroupFieldJSON','IUniverInstanceService','Panel','subUnitId','setName','AddField','updateViewInfo','pushComputingStatusSubject','valueFields','paths','UpdatePivotSource','Total','fieldId','sheets-pivot.varpName','_injector','name','getFieldById','isEmpty','_fieldsCollectionChange$','setValueFilterInfo','reduce','SetRangeValuesMutation','REF','DependentOn','_globalSubject','Delete','SetPivotSubtotalTypeMutation','getInterceptPoints','IResourceManagerService','Column','oldRangeInfo','Product\x20of\x20','setSubtotalType','PivotCallbackEnum','SheetInterceptorService','sheet.operation.pivot-table-view-formula-mark-dirty','tableFieldId','YearMonth','SetPivotOptionMutation','rangeKeyMap','Style','sheet.mutation.pivot-update-field-source-info','mergeWorksheetSnapshotWithDefault','_sheetsPivotTableAdaptorModel','_viewData','sheet.command.set-pivot-sort','level','pivotMutationGenerate','getformat','lastCol','_init','getIntersects','applyChangeSet','_subjectFieldsCollectionChange','getRangeKey','redos','_sheetsPivotDataSourceModel','ResetPivotFieldsConfigCommand','type','getFormatInfo','RemovePivotFieldCommand','AddPivotFieldMutation','sheet.mutation.remove-group-collection','rangeType','InsertColMutation','ptn','endRow'];_0x4ee1=function(){return _0x540c6c;};return _0x4ee1();}
|
|
1
|
+
function _0x5d05(_0x9f2ed1,_0x510c7e){const _0x58718f=_0x5871();return _0x5d05=function(_0x5d05b7,_0x40a672){_0x5d05b7=_0x5d05b7-0x66;let _0x1b9a41=_0x58718f[_0x5d05b7];return _0x1b9a41;},_0x5d05(_0x9f2ed1,_0x510c7e);}function _0x5871(){const _0x117985=['sheets.tabs.sheet','dispose','leafStyle','getFieldDataType','endCollectChangeset','createLabelField','sideEffectUpdateWorkerCache','cellValue','remove','sheet.mutation.pivot-update-field-position','UniverSheetsPivotTablePlugin','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','unshift','rowHeaderMap','iterateField','sheet.mutation.update-pivot-table-source-range','2394pLRqlT','fromJSON','_subjectFieldsCollectionChange','getDataFieldByRangeKey','dataFieldsCollection','getCellMatrix','setConfig','DataFieldManager','_exclusiveRangeService','_initPivotDataGetListener','notExecuteFormula','keys','removeField','_activeDirtyManagerService','getValueIndex','sheets-pivot.cellDateGroupDisplay.yearQuarter','IConfigService','Year','MIN_SAFE_INTEGER','sheets-pivot.cellDateGroupDisplay.month','setPivotTableConfig','PivotTableValuePositionEnum','(Blank)','valueFields','Subtotal','Minute','leftOffset','SetPivotCollapseMutation','pushUndoRedo','asyncInterceptor','#eceeff','product','PivotMultipleValueId','colInfo','UpdateValuePositionMutation','sheets-pivot.minName','other','size','SetValuePivotFilter','targetCellInfo','getPivotPerformCheck','SHEET_PIVOT_TABLE_PLUGIN','column','Delete','format','fetchThroughInterceptors','#f4f4f5','_initConfig','endRow','NUMBER','getIntersects','pivotTableConfigs','Value','SetFieldFormat','var','_globalComputingSrv','setDataRecordCount','YearMonthDate','_generateUniqueVersion','query','getCurrentSelections','isDate','UniverEngineRender','pivotMutationGenerate','IExclusiveRangeService','getMatrix','getDataFieldManager','generateRandomId','sheet.mutation.remove-pivot-field','createCollectionWithDataRange','getValuePosition','getSheetFeatureLimit','pivotConfigChange$','@univerjs/sheets-filter','updatePivotTableRangeInfo','getPivotItemRenderInfoCache','_featureCalculationManagerService','sequenceExecute','Min\x20of\x20','setPivotSetting','SetPivotFieldFormatMutation','addPivotTableWithConfig','_dataSyncPrimaryController','_ensurePivotItemRenderValueMatrixCache','intercept','getPivotDirtyViewInfo','sheet.command.set-pivot-sort','DateGroupField','CommandType','addDirtyPivotTable','getInsertRowColMutations','getStyles','@univerjs/engine-formula','PivotCallbackEnum','getSubUnitPivotConfigs','NORMAL','valuePosition','ClearSelectionAllCommand','getMatrixValue','matrix','addField','SheetsPivotTableService','data','sheet.mutation.add-pivot-field','isDateGroupFieldJSON','getSheetBySheetName','sheet.command.add-pivot-field','refreshDataField','getFormatInfo','getValue','getDirtyInfo','sheets-pivot.dateGroup.yearMonth','rowCount','sheets-pivot.countName','SetPivotPositionMutation','defineProperty','DisposableCollection','getDate','removePivotTable','InsertSheetUndoMutationFactory','Average\x20of\x20','iterateFieldByArea','rangesInfo','_config','executeCommand','renameField','setOptions','Optional','DEFAULT_WORKSHEET_ROW_COUNT','_configService','measure','LS_CONFIG_KEY','SetSubtotalType','UniverSheets','_collectionConfigModel','IUndoRedoService','Hour','updateViewData','SetPivotFilterMutation','_initDataSendListener','UpdateSource','sheets-pivot.subTotal','UniverSheetsFilter','tuple','parse','getName','_configVersion$','#1d32e9','_updateRenderEmptyCache','sheet.mutation.send-pivot-view-local','Plugin','setPivotFilter','UniverProEnginePivot','queryDirtyPivotTable','sheet.command.set-pivot-collapse','oldMatrix','5905020WJfDFj','isValue','Inject','UniverEngineFormula','SetCollapse','getCellRaw','AddPivotTableWithConfigCommand','formJSON','hasField','rangeType','getDataFieldItemInfo','Set','collapseInfo','sheets-pivot.emptyPivot.filter','fetchThroughAsyncInterceptors','getDisplayName','sheet.mutation.set-pivot-format','count','YearMonth','markDirty','handleSourceRangeChange','sheets-pivot.varpName','_sheetInterceptorService','startColumn','getColumnCount','5403318uWWLuB','getMatrixFromRunTimeData','getPivotTableModelConfig','SheetsPivotTableConfigModel','getFieldPositionInfoById','endColumn','textInfo','getDataFieldByDataFieldId','getFieldListByArea','pageStyle','UniverProLicense','_refRangeHandle','sheet.command.set-pivot-field-setting','14344crgWDS','new','_sheetsPivotDataSourceModel','RemoveSheetsFilterMutation','getAdjustRangesPosition','_lifecycleService','AddPivotTableCommand','valid','isEmpty','Tools','#FFFFFF','_univerInstanceService','numberToABC','fieldsCollectionChange$','PivotTable','custom','MovePivotFieldCommand','subscribe','SetRangeValuesMutation','708204ObQpSP','width','columnFields','getRowCount','AddPivotTable','panel','PivotTableFiledAreaEnum','getTextInfo','row','sheet.command.update-date-group','sourceRangeInfo','CustomCommandExecutionError','CellValueType','dataStream','PivotView','UpdateDateGroupCommand','defaultThemeStyle','AddPivotFieldCommand','RemovePivotFieldMutation','isDateValue','sheet.mutation.set-pivot-position','ReleaseType','charCodeAt','deleteDataField','SetWorksheetColWidthMutation','isDateGroupField','SetPivotFilter','handleAsyncResponse','dimension','_initPivotTextInfo','_ensurePivotItemRenderInfoCache','InsertSheetMutation','createDataFieldId','result','entries','gWTYGJ7T\x20fQYx3hGJ7T(vJYQTNQ,\x20hWIvJYlQ3)\x20{\x20\x20\x20\x20Gx3\x20{\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20vJYQTNQoTg7VixG8xxi3\x20=\x20vJYQTNQ.NhvJG(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x207xJFJTHQNNiFQ\x20=\x202Seb.hixNQ(iG7I(vJYQTNQoTg7VixG8xxi3[C]));\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(!7xJFJTHQNNiFQ.Wf)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207xJFJTHQNNiFQ.Wf\x20=\x20bWcIQx(vJYQTNQoTg7VixG8xxi3[k]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20JNw7xpQx\x20=\x20G3hQ7g\x20w7xpQxtv7IivSY7hQ\x20!==\x20\x27WTfQgJTQf\x27\x20&&\x20NQvg\x20JTNGiTYQ7g\x20w7xpQxtv7IivSY7hQ;\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20JN6x7ONQx\x20=\x20G3hQ7g\x20OJTf7O\x20!==\x20\x27WTfQgJTQf\x27\x20&&\x20G3hQ7g\x20OJTf7O.v7YiGJ7T\x20!==\x20\x27WTfQgJTQf\x27;\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20Y7TGQmG\x20=\x20JNw7xpQx\x20?\x20NQvg\x20:\x20(JN6x7ONQx\x20?\x20OJTf7O\x20:\x20Fv7IivqRJN);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20cQNNiFQw7xf\x20=\x20Y7TGQmG.__6iNQAk__.hixNQ(vJYQTNQoTg7VixG8xxi3[C]);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20cQNNiFQ\x20=\x20Y7TGQmG.__DQm__.NGxJTFJg3(cQNNiFQw7xf);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20NJFTiGWxQw7xf\x20=\x20Y7TGQmG.__6iNQAk__.hixNQ(vJYQTNQoTg7VixG8xxi3[r]);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20NJFTiGWxQ\x20=\x20Y7TGQmG.__DQm__.NGxJTFJg3(NJFTiGWxQw7xf);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20NJFT5ivJf\x20=\x20Y7TGQmG.__PQxJg3__(NJFTiGWxQ,\x20cQNNiFQ,\x20hWIvJYlQ3);\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20f7ciJT\x20=\x207xJFJTHQNNiFQ.fc;\x20\x20\x20\x20\x20\x20\x20\x20gWTYGJ7T\x20JNj7ciJTHiGYRJTF(7ViGGQxT,\x207D7NG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20hiGGQxT\x20=\x207ViGGQxT.xQhviYQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20R7NG\x20=\x207D7NG.xQhviYQ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20hiGGQxTVixGN\x20=\x20hiGGQxT.NhvJG(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20R7NGVixGN\x20=\x20R7NG.NhvJG(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(!hiGGQxT.JTYvWfQN(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20hiGGQxT\x20===\x20R7NG;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(hiGGQxTVixGN.vQTFGR\x20<\x20C\x20||\x20hiGGQxTVixGN[L]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20givNQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20hiGGQxTSWggJm\x20=\x20hiGGQxTVixGN.NvJYQ(Z).u7JT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20R7NGSWggJm\x20=\x20R7NGVixGN.NvJYQ(-hiGGQxTVixGN.vQTFGR\x20+\x20Z).u7JT(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20hiGGQxTSWggJm\x20===\x20R7NGSWggJm;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20vQG\x20f7ciJT5ivJf\x20=\x20givNQ;\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(JN6x7ONQx)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f7ciJT5ivJf\x20=\x20(f7ciJT\x20&&\x20f7ciJT.vQTFGR)\x20?\x20f7ciJT.N7cQ((fcoGQc)\x20=>\x20JNj7ciJTHiGYRJTF(fcoGQc,\x20v7YiGJ7T.R7NGTicQ))\x20:\x20GxWQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Jg\x20(v7YiGJ7T.R7NGTicQ\x20===\x20\x27v7YivR7NG\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f7ciJT5ivJf\x20=\x20GxWQ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20QvNQ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20f7ciJT5ivJf\x20=\x20GxWQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Y7TNG\x20PivJf\x20=\x20NJFT5ivJf\x20&&\x20f7ciJT5ivJf;\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PivJf,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cQNNiFQ:\x207xJFJTHQNNiFQ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20YiGYR\x20(Qxx7x)\x20{\x20\x20\x20\x20\x20\x20\x20\x20xQGWxT\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PivJf:\x20givNQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cQNNiFQ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','colRanges','ResetPivotTable','DEFAULT_PIVOT_NUMBER','MonthDate','limit\x20pivot','CELL_CONTENT','level','Var\x20of\x20','getPivotTableRangeInfo','_initCommandInterceptListener','Varp\x20of\x20','get','RemoveSheetMutation','cellToRange','_model','max','mergeWorksheetSnapshotWithDefault','split','_pivotInitCompleted$','RenamePivotFieldMutation','getDataFieldByTableId','subTotalStyle','SetPivotSortCommand','updateFieldSourceInfo','ErrorType','updateCollectionConfig','_globalComputedStartHelpFunc','dataRangeInfo','sheets-pivot.dateGroup.yearMonthDate','filterId','valueFilter','sheets-pivot.dateGroup.quarter','sheets-pivot.dateGroup.date','originTargetInfo','SetSortInfo','lastRow','RemoveColMutation','Quarter','PivotFilterTypeEnum','Div0','sheet.command.set-pivot-fields-config','getPivotDisplayConfig','clearExclusiveRangesByGroupId','2396796CwGXZQ','Row','asObservable','_ensurePivotTableRangeInfo','sheets-pivot.maxName','hasOwnProperty','BehaviorSubject','setSourceName','getUpdateRangeDeleteIds','sheet.command.set-pivot-filter','sheet.operation.pivot-table-view-formula-mark-dirty','getRangeData','@univerjs-pro/license','initDataRanges','IActiveDirtyManagerService','stringify','Add','registerPluginResource','sourceName','BLANK_ROW_COUNT','UpdatePivotTableSourceRangeMutation','sheet.mutation.remove-group-collection','registerDirtyService','_sheetsPivotTableConfigModel','getMonth','_initClearSelectionCommandInterceptor','sheet.mutation.set-pivot-option','pbt','sheets-pivot.cellDateGroupDisplay.date','_sheetsPivotTableService','deleteField','getSheetBySheetId','_initViewModelBySheetInterceptor','_pivotTableRangeInfo','PivotDrillDownCommand','onQueryStart','resetArea','DIV_BY_ZERO','dataStyle','sheet.command.add-pivot-table-with-config','sheets-pivot.config','PivotViewCellValueTypeEnum','_fieldsCollectionChange$','setValueFilterInfo','#e6ebfa','value','lastCol','cornerInfo','updateViewInfo','Count\x20of\x20','RemoveRowMutation','getSubUnitPivotMatrix','refreshData','HourMinute','@univerjs/engine-render','_ensureViewDataMap','RemovePivotField','workbook\x20is\x20not\x20found','fields','isBottomTotal','FORCE_STRING','AddPivotFieldMutation','contains','updateView','_host','removeSourceRangeChange','random','SheetInterceptorService','AddPivotTableWithConfig','updateFieldPosition','rangeKey','18FEiVgs','min','getAutoFitColumnsMutations','getformat','addPivotField','isErrorValue','versions','sheets-pivot.columnName','includes','foreach','MoveRangeCommand','_pivotTableMatrixInfo','tableFieldId','addPivotTable','map','set','_initRegisterCommand','error','SHEET_PIVOT_EXCLUSIVE_ID','removePivotField','_sheetsPivotTableAdaptorModel','updateDirtyPivotTable','Rectangle','LocaleService','updateConfigCache','_onRefRangeChange','merge','getFilterInfo','isNaN','generateHexNumber','filter','unitId','InterceptorEffectEnum','getDataFieldBySourceName','getIntersectsPivotTable','_pivotRenderValueMatrixCache','DataSyncPrimaryController','getOwnPropertyDescriptor','_requestResolvers','updateDataFieldsCollection','getPivotTableInstance','sheets-pivot.dateGroup.minute','name','setRange','options','_sheetsPivotRpcService','register','SetValueFilter','serializeRangeWithSpreadsheet','excelDateToUnixMilliseconds','FieldsCollection','sheets-pivot.dateGroup.yearQuarter','AsyncInterceptorManager','updateConfig','InsertColMutation','addExclusiveRange','registerCommand','isText','valueIndex','pivotTableId','sheets-pivot.blank','removeCollections','rangeKeyMap','registerSyncingMutations','_queryingMap','collectionChange$','_markDirty$','sheets-pivot.dateGroup.month','needSameDeleteModel','push','getRangeKey','SetPivotCollapse','sheetName','registerRefRange','Collapse','getSheetId','Total','sheets-pivot.cellDateGroupDisplay.hourMinute','setSortInfo','bind','intersects','collectionConfig','sheet.command.move-pivot-field','_viewData$','filterInfo','setRangeValueUndoMutation','countNums','PivotTableChangeTypeEnum','col','parseInt','_getPivotAppliedRanges','find','UpdateValuePosition','3kfVOhB','SetPivotSort','1264260ylMTAy','updatePivotSource','@univerjs-pro/engine-pivot','sheet.mutation.pivot-update-field-source-info','_globalComputedEndHelpFunc','setRangeValueRedoMutation','FontCache','1vQIXwg','removeCollectionImp','ObjectMatrix','onStarting','PivotDateGroupFieldDateTypeEnum','startRow','Disposable','string','PivotTableOperationEnum','onCommandExecuted','SetPivotOptionMutation','batch','sheet.mutation.send-pivot-data-local','pluginName','getNoUsedDataFieldIds','setCollapse','_pivotConfigChange$','removeDataField','MAX_SAFE_INTEGER','sheet.mutation.pivot-update-value-position','_localeService','splice','_updateModelCache','generateMutationsByRanges','MUTATION','handleMoveRange','AddPivotField','getOriginFieldId','UpdatePivotFieldSourceInfoMutation','subtotal','Panel','unshiftString','SetPivotValueFilterMutation','IResourceManagerService','rowRanges','numfmt','sheet.command.reset-pivot-fields-config','SheetsPivotRPCService','dataFieldManagerConfig','_toJSON','_deleteModelCache','createInterceptorKey','sheet.mutation.set-pivot-sort-info','setPivotCollapse','updateAllDisplayName','sheet.command.remove-pivot-field','movePivotField','UpdatePivotValuePositionCommand','resetPivotTable','Filter','PivotDataFieldDataTypeEnum','getPivotTableConfig','displayName','createValueField','getRangeKeyList','_getAutoName','@univerjs/sheets','object','getSubUnitPivotRenderCache','getFieldIds','prototype','sheet.command.update-pivot-value-position','getCollection','ICommandService','SetPivotSortMutation','getColCount','getSubtotal','transFromCellValue','isPrefixValue','return\x20','startCollectChangeset','addCollectionByJSON','values','RemoveSheetCommand','154wWTIhY','_globalSubject','updateRenderCache','Values','sheet.command.add-pivot-table','generateNullCell','setValuePivotFilter','configVersion$','number','sheets-pivot.varName','getTableFieldById','getRefRangeMutationsByMoveRange','getTextSize','collections','getAutoDisplayName','from','rxjs','addCollection','sortInfo','viewUpdate$','floor','sheet.mutation.add-pivot-table','info','registerCallbackWithEvent','getAutoDisplayNameFunction','sheets-pivot.emptyPivot.column','_updatePivotTableInstanceCache','New','SetPivotTableConfig','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','interceptor','getDataFieldId','node','undos','setDisplayName','_resourceManagerService','stdDev','clearRenderCache','fontRenderExtension','addDataFieldWithoutUnitInfo','SheetsPivotDataSourceModel','UniverProSheetsPivot','Max\x20of\x20','UniverInstanceType','forValue','UpdateFieldPosition','sheets-pivot.productName','drillDown','getUnitId','getFieldById','setSubtotalType','AddPivotTableMutation','LifecycleService','cornerRanges','getConfig','_injector','DrillDown','generateNewSheetName','PivotErrorTypeEnum','PivotCellStyleTypeEnum','setPivotSort','getFullYear','_ensurePivotTableMatrixInfo','#e6ebfb','headerMap','_viewUpdate$','fieldIds','getColumnWidth','removeValueFilterInfo','isArray','forRow','Grand\x20Total','updateRangeKeyMap','DEFAULT_WORKSHEET_COLUMN_COUNT','pivotPerformCheck','sheet.command.set-pivot-value-filter','varp','getRangeStartEndInfo','RenameField','reduce','fieldId','addRecord','updateValuePosition','getActiveSheet','sheet.mutation.send-init-pivot-text-local','NotNumber','RANGE_TYPE','getSourceName','slice','_pivotTableInstanceCache','toJSON','sheet.command.move-pivot-table','SetPivotSetting','SetPivotSubtotalTypeMutation','Date','updatePivotTableMatrixInfo','Column','Subject','maxDate','PivotSubtotalTypeEnum','function','redos','setTextInfo','colCount','UniverLicensePlugin','length','blank','realDeleteValue','refreshGroupField','NAME','exports','COMMAND','filterFields','Product\x20of\x20','_ensurePivotMap','Style','IFeatureCalculationManagerService','_pivotRenderInfoCache','some','GrandTotal','getPivotInfoByLicense','UpdatePivotSource','getPivotTableIdByCell','MovePivotField','average','grandTotal','ΣValue','single','getId','dataFields','_subjectCollectionChange','disposableCollection','getPivotTableInfo','_viewData','GlobalComputingStatusService','_dataFieldManagerCollection','sheet.mutation.set-pivot-field-subtotal-type','getFieldCountByArea','getSheets','concat','_initRemoveSheetCommandInterceptor','ClearSelectionContentCommand','ResetPivotFieldsConfigCommand','subUnitId','getFontStyleString','_sheetsSelectionsService','areaInfo','getSortInfo','isBaseGroupField','message','delete','_deletePivotTableInstanceCache','SetPivotFieldsConfigCommand','getViewData','removeValueFilterInfoByValueFieldId','getLastCol','Expand','generateSetRangeValueMutations','addFieldWithSourceId','update','SheetsPivotTableAdaptorModel','interceptCommand','getTargetByPivotId','sheets-pivot.grandTotal','YearQuarter','MovePivotTableCommand','adjustSheetCellData','RefRangeService','forEach','dateGroupField','has','sheet.mutation.get-pivot-data-local','rgb(255,255,255)','uniqueDataFieldName','UpdateFieldPositionMutation','sheets-pivot.cellDateGroupDisplay.yearMonthDate','broadcastCollectionChange','setPivotInitCompleted','getSheetCommandTarget','replace','_initLocale','deepClone','setLabelFilterInfo','getIndexesByPathStr','setValue','range','_commandService','getLastRow','deleteUnitId','_init','BLANK_PLACEHOLDER','sheet.mutation.set-pivot-value-filter','existing','getGroupFieldsInfoByIds','setFieldFormat','getCurrentUnitForType','Month','sheets-pivot.countNumsName','add','getHeaderMapItem','type','rowInfo','_collectionChange$','getTypeOfUnitDisposed$','_textInfo','sheet.mutation.rename-pivot-field','setRangeKeyMap','Injector','getFieldFormat','colStyle','getPivotTableCellData','substring','InsertRowMutation','sheets-pivot.cellDateGroupDisplay.yearMonth','viewData$','rowFields','UniverCore','_initSnapshot','sheets-pivot.value','SetRangeValuesUndoMutationFactory','params','setName','shouldClear','toStringTag','SetSheetsFilterRangeMutation','PIVOT_MUTATION_GENERATE','IUniverInstanceService','disposeWithMe','getUnit','ManualFilter','UNIVER_SHEET','_createExclusiveRange','dataFieldId','isFeatureAuthorizedWithinTime','paths','UniverRpc','setPivotTable','NUM','getEmptyPivotRanges','_initUnitDisposed','1552006tiyBpc','next','fieldsConfig','SHEET_PIVOT_IN_MAIN_THREAD','STRING'];_0x5871=function(){return _0x117985;};return _0x5871();}(function(_0x8a5223,_0x4b0660){const _0x34df5c=_0x5d05,_0x475dd0=_0x8a5223();while(!![]){try{const _0x117680=-parseInt(_0x34df5c(0xfb))/0x1*(parseInt(_0x34df5c(0x235))/0x2)+-parseInt(_0x34df5c(0xf2))/0x3*(parseInt(_0x34df5c(0x36e))/0x4)+parseInt(_0x34df5c(0x2e6))/0x5+-parseInt(_0x34df5c(0x2ff))/0x6+-parseInt(_0x34df5c(0x24a))/0x7*(-parseInt(_0x34df5c(0x30c))/0x8)+parseInt(_0x34df5c(0x95))/0x9*(parseInt(_0x34df5c(0xf4))/0xa)+-parseInt(_0x34df5c(0x145))/0xb*(-parseInt(_0x34df5c(0x31f))/0xc);if(_0x117680===_0x4b0660)break;else _0x475dd0['push'](_0x475dd0['shift']());}catch(_0xfdc97){_0x475dd0['push'](_0x475dd0['shift']());}}}(_0x5871,0x91e29),function(_0x3f8ef4,_0x18d73b){const _0x49cfdf=_0x5d05;typeof exports==_0x49cfdf(0x134)&&typeof module<'u'?_0x18d73b(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x49cfdf(0x1a9)&&define['amd']?define([_0x49cfdf(0x1b3),_0x49cfdf(0xf6),'@univerjs/core',_0x49cfdf(0x2a6),_0x49cfdf(0x133),_0x49cfdf(0x155),_0x49cfdf(0x37a),_0x49cfdf(0x293),'@univerjs/rpc',_0x49cfdf(0x84)],_0x18d73b):(_0x3f8ef4=typeof globalThis<'u'?globalThis:_0x3f8ef4||self,_0x18d73b(_0x3f8ef4[_0x49cfdf(0x16e)]={},_0x3f8ef4[_0x49cfdf(0x2e2)],_0x3f8ef4[_0x49cfdf(0x21d)],_0x3f8ef4[_0x49cfdf(0x2e9)],_0x3f8ef4[_0x49cfdf(0x2cf)],_0x3f8ef4[_0x49cfdf(0x155)],_0x3f8ef4[_0x49cfdf(0x309)],_0x3f8ef4[_0x49cfdf(0x2d8)],_0x3f8ef4[_0x49cfdf(0x230)],_0x3f8ef4[_0x49cfdf(0x288)]));}(this,function(_0x488dae,_0x10f223,_0x136a03,_0x5bf515,_0x47d532,_0x4d3cd2,_0x3f0c04,_0x2c33e2,_0x3fa942,_0xa6f0ba){'use strict';const _0x4ff3ff=_0x5d05;var _0x4f8224=Object[_0x4ff3ff(0x2bd)],_0x169afb=(_0x43f2b1,_0x599774,_0x1daca5)=>_0x599774 in _0x43f2b1?_0x4f8224(_0x43f2b1,_0x599774,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1daca5}):_0x43f2b1[_0x599774]=_0x1daca5,_0x4779db=(_0x4e9e0c,_0x12566a,_0xed592e)=>_0x169afb(_0x4e9e0c,typeof _0x12566a!='symbol'?_0x12566a+'':_0x12566a,_0xed592e);const _0x5a2b1a=Number[_0x4ff3ff(0xee)](0x692aa290),_0x294e08=0x10,_0x2e79d7=0x1,_0x1cd2aa=_0x4ff3ff(0x273),_0x2fd7f7=0x1,_0x39d61f='rgb(240,241,243)',_0x3fd82d=_0x4ff3ff(0x1f1),_0x6b434f='#b2b2b2',_0x549131=_0x4ff3ff(0x278),_0x29cedf=_0x4ff3ff(0x278),_0x2561a3=_0x4ff3ff(0x268),_0x9fdfcb=_0x4ff3ff(0x2dd),_0x1587a1=_0x4ff3ff(0x316),_0x3253b1=_0x4ff3ff(0x7a),_0x54d036=_0x4ff3ff(0x2dd),_0x3e58bf=_0x4ff3ff(0x316),_0x2d487f=_0x4ff3ff(0x184),_0x556934=0xe,_0x54b8fb=0x6;var _0x55bf83=(_0x3a70c5=>(_0x3a70c5['Existing']=_0x4ff3ff(0x205),_0x3a70c5[_0x4ff3ff(0x160)]=_0x4ff3ff(0x30d),_0x3a70c5))(_0x55bf83||{});const _0xaf0570={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x6ee84b=0x1e,_0x12cf4d={'b':{'s':0x1,'cl':{'rgb':_0x6b434f}},'l':{'s':0x1,'cl':{'rgb':_0x6b434f}},'r':{'s':0x1,'cl':{'rgb':_0x6b434f}},'t':{'s':0x1,'cl':{'rgb':_0x6b434f}}},_0x2a750b={'bg':{'rgb':_0x39d61f},'ht':0x2,'vt':0x2,'tb':0x1},_0x3d916b={'bg':{'rgb':_0x3fd82d},'ht':0x2,'vt':0x2,'tb':0x1},_0x1a3ef9={'rowStyle':{'bg':{'rgb':_0x2d487f},'bd':_0x12cf4d,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x54d036},'bd':null,'cl':{'rgb':_0x3e58bf},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x3253b1},'vt':0x2},'cornerStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x2561a3},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x549131},'vt':0x2},'leafStyle':{'bd':_0x12cf4d,'bg':{'rgb':_0x29cedf},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x9fdfcb},'cl':{'rgb':_0x1587a1},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x12cf4d,'vt':0x2}};function _0x1ae3e7(_0x34a977,_0x36cbaa,_0x1202cc){const _0x48cc07=_0x4ff3ff,_0x478405=_0x34a977['get'](_0x136a03[_0x48cc07(0xac)]),_0x309829=_0x1202cc[_0x48cc07(0x354)]('_');switch(_0x36cbaa){case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x25b)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x263)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.minute',..._0x309829);case _0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x48cc07(0x2d2)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.hour',..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x83)]:return _0x478405['t'](_0x48cc07(0xe2),..._0x309829);case _0x10f223[_0x48cc07(0xff)]['Date']:return _0x478405['t'](_0x48cc07(0x6a),..._0x309829);case _0x10f223['PivotDateGroupFieldDateTypeEnum']['Month']:return _0x478405['t'](_0x48cc07(0x25d),..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x368)]:return _0x478405['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x309829);case _0x10f223[_0x48cc07(0xff)]['YearMonth']:return _0x478405['t'](_0x48cc07(0x21a),..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x283)]:return _0x478405['t'](_0x48cc07(0x1f4),..._0x309829);case _0x10f223[_0x48cc07(0xff)][_0x48cc07(0x1e9)]:return _0x478405['t'](_0x48cc07(0x259),..._0x309829);}return'';}const _0x1cd3ca=(_0x5576ad,_0x4ca654,_0x101feb,_0x236074)=>{const _0x259c19=_0x4ff3ff;let _0x59c7c7;const _0x32be72=_0x5576ad['get'](_0x136a03[_0x259c19(0x227)])[_0x259c19(0x208)](_0x136a03[_0x259c19(0x170)][_0x259c19(0x22b)]);if(!_0x32be72)return null;const _0x45fed2=_0x32be72['getStyles']();let _0x52ae24;if(_0x101feb&&(_0x52ae24=_0x45fed2[_0x259c19(0x1fd)](_0x101feb)),_0x4ca654!=null&&_0x4ca654['v']||(_0x4ca654==null?void 0x0:_0x4ca654['v'])===0x0){_0x59c7c7||(_0x59c7c7={});const _0x2b1bbf=_0x5942aa(_0x4ca654['v']);typeof _0x2b1bbf==_0x259c19(0x14d)?_0x59c7c7['t']=_0x136a03[_0x259c19(0x32b)][_0x259c19(0x27b)]:typeof _0x2b1bbf==_0x259c19(0x102)&&(_0x59c7c7['t']=_0x136a03[_0x259c19(0x32b)]['STRING']),_0x59c7c7['v']=_0x2b1bbf;}if((_0x4ca654!=null&&_0x4ca654['i']||(_0x4ca654==null?void 0x0:_0x4ca654['i'])===0x0)&&(_0x59c7c7||(_0x59c7c7={}),_0x59c7c7['fi']=_0x4ca654['i']),_0x4ca654!=null&&_0x4ca654['s']&&(_0x59c7c7||(_0x59c7c7={}),_0x59c7c7[_0x259c19(0x69)]=_0x4ca654['s']),_0x101feb&&(_0x59c7c7||(_0x59c7c7={}),_0x59c7c7['s']=_0x52ae24),_0x236074&&_0x59c7c7!=null&&_0x59c7c7['v']&&_0x59c7c7[_0x259c19(0x69)]!==_0x10f223['PivotCellStyleTypeEnum'][_0x259c19(0x1bc)]&&_0x59c7c7['pbt']!==_0x10f223['PivotCellStyleTypeEnum'][_0x259c19(0x262)]){const _0x192875=String(_0x59c7c7['v']),{dateType:_0x598d9a}=_0x236074;_0x59c7c7['v']=_0x1ae3e7(_0x5576ad,_0x598d9a,_0x192875),_0x59c7c7['t']=_0x136a03[_0x259c19(0x32b)][_0x259c19(0x239)];}return _0x59c7c7;},_0x468a1e=(_0xac53be,_0x4a6703,_0x95c2de,_0x2ed196)=>{const _0x447d76=_0x4ff3ff;var _0x388530,_0x346ab3,_0x8e8471,_0x2be617,_0x316be4,_0x9c9a43,_0x23c4d4,_0x4d6bb2,_0x1790ea,_0x48bec8,_0x510a3e,_0x7c5746,_0x3a5b2f,_0x1d4a29;const _0x107efd=_0x95c2de[_0x447d76(0x271)],{cornerView:_0x175ff9,rowView:_0x33968e,colView:_0x408d36,dataView:_0x355bf4,pageView:_0x37d30b,formatMap:_0x55090f,groupInfo:_0x31871c}=_0x4a6703,{row:_0x128556,col:_0x420407}=_0x107efd,_0x284ab6=new _0x136a03[(_0x447d76(0xfd))](),_0x4b40fe={},_0x1dcde0={},_0x39bbc0={},_0x2ab706={},_0x2856f9={};let _0x266e9e=_0x128556,_0x2f89e7=_0x420407;Object[_0x447d76(0x255)](_0x37d30b[_0x447d76(0x2b0)])[_0x447d76(0x1ed)](_0x2f22b2=>{const _0x42fcd4=_0x447d76;Object[_0x42fcd4(0x255)](_0x37d30b[_0x42fcd4(0x2b0)][Number(_0x2f22b2)])[_0x42fcd4(0x1ed)](_0x15a49a=>{const _0x1b4e84=_0x42fcd4,_0x241bf2={..._0x37d30b[_0x1b4e84(0x2b0)][Number(_0x2f22b2)][Number(_0x15a49a)]};_0x284ab6[_0x1b4e84(0x1fd)](Number(_0x2f22b2)+_0x266e9e,Number(_0x15a49a)+_0x2f89e7,_0x1cd3ca(_0xac53be,_0x241bf2,_0x1a3ef9[_0x1b4e84(0x308)]));});});const _0x4cc8dd=Object['keys'](_0x37d30b[_0x447d76(0x2b0)])[_0x447d76(0x1ae)];_0x266e9e+=_0x4cc8dd+(_0x4cc8dd?_0x2fd7f7:0x0);const _0x324ff1=_0x175ff9[_0x447d76(0x322)](),_0x3b68f3=_0x175ff9[_0x447d76(0x13c)]();for(let _0x30c757=0x0;_0x30c757<_0x324ff1;_0x30c757++)for(let _0x767b2f=0x0;_0x767b2f<_0x3b68f3;_0x767b2f++){const _0xbbbfde={...(_0x346ab3=(_0x388530=_0x175ff9['data'])==null?void 0x0:_0x388530[_0x30c757])==null?void 0x0:_0x346ab3[_0x767b2f]};_0xbbbfde&&((_0x8e8471=_0x33968e[_0x447d76(0x185)][_0x767b2f])!=null&&_0x8e8471['isValue'])&&_0x767b2f===_0x3b68f3-0x1&&_0x30c757===_0x324ff1-0x1&&(_0xbbbfde['v']=''+_0x2ed196[_0x447d76(0x21f)]),_0x284ab6[_0x447d76(0x1fd)](_0x30c757+_0x266e9e,_0x767b2f+_0x2f89e7,_0x1cd3ca(_0xac53be,_0xbbbfde,_0x1a3ef9['cornerStyle']));}for(let _0x831c35=0x0;_0x831c35<_0x175ff9[_0x447d76(0x15b)][_0x447d76(0x1ae)];_0x831c35++)_0x175ff9[_0x447d76(0x15b)][_0x831c35]&&(_0x39bbc0[''+(_0x831c35+_0x2f89e7)]=_0x175ff9[_0x447d76(0x15b)][_0x831c35]);_0x2f89e7+=_0x3b68f3;const _0x8b14ed=_0x408d36['headerMap'],_0x54ee69=_0x408d36['getLastRow']()>=0x0?_0x408d36[_0x447d76(0x200)]()+0x1:0x0,_0x286598=_0x408d36['getLastCol']()>=0x0?_0x408d36[_0x447d76(0x1e0)]()+0x1:0x0;for(let _0x58bd99=0x0;_0x58bd99<_0x286598;_0x58bd99++){for(let _0x381f5e=0x0;_0x381f5e<_0x54ee69;_0x381f5e++){const _0x9f0647={...(_0x316be4=(_0x2be617=_0x408d36[_0x447d76(0x2b0)])==null?void 0x0:_0x2be617[_0x381f5e])==null?void 0x0:_0x316be4[_0x58bd99]},_0x197427=(_0x9c9a43=_0x8b14ed[_0x381f5e])==null?void 0x0:_0x9c9a43[_0x447d76(0xa1)],_0x4c6c08=_0x55090f[_0x197427],_0x3cfb26=_0x31871c[_0x197427];_0x9f0647&&(_0x9f0647['v']=_0x25418d(_0x9f0647,_0x381f5e===0x0&&((_0x23c4d4=_0x408d36[_0x447d76(0x20c)](_0x58bd99+0x1))==null?void 0x0:_0x23c4d4[_0x447d76(0x2e7)]),_0x4c6c08,_0x2ed196));let _0x2e3fb5;_0x4c6c08?_0x2e3fb5={..._0x1a3ef9['colStyle'],'n':{'pattern':_0x4c6c08}}:_0x2e3fb5={..._0x1a3ef9[_0x447d76(0x216)]},_0x284ab6['setValue'](_0x381f5e+_0x266e9e,_0x58bd99+_0x2f89e7,_0x1cd3ca(_0xac53be,_0x9f0647,_0x2e3fb5,_0x3cfb26));}_0x408d36[_0x447d76(0x15b)][_0x58bd99]&&(_0x1dcde0[''+(_0x58bd99+_0x2f89e7)]=_0x408d36[_0x447d76(0x15b)][_0x58bd99]),_0x408d36['headerMap'][_0x58bd99+0x1]&&(_0x2856f9[''+(_0x58bd99+_0x266e9e+0x1)]=_0x408d36['headerMap'][_0x58bd99+0x1]);}_0x266e9e+=_0x324ff1;const _0x171522=_0x33968e[_0x447d76(0x185)],_0x564cdd=_0x33968e[_0x447d76(0x200)]()>=0x0?_0x33968e[_0x447d76(0x200)]()+0x1:0x0,_0x2eebb1=_0x33968e[_0x447d76(0x1e0)]()>=0x0?_0x33968e[_0x447d76(0x1e0)]()+0x1:0x0;for(let _0x409df6=0x0;_0x409df6<_0x564cdd;_0x409df6++){for(let _0x329cb9=0x0;_0x329cb9<_0x2eebb1;_0x329cb9++){const _0x15eb28={...(_0x1790ea=(_0x4d6bb2=_0x33968e[_0x447d76(0x2b0)])==null?void 0x0:_0x4d6bb2[_0x409df6])==null?void 0x0:_0x1790ea[_0x329cb9]},_0x45759f=(_0x48bec8=_0x171522[_0x329cb9])==null?void 0x0:_0x48bec8['tableFieldId'],_0x12e2b9=_0x55090f[_0x45759f],_0x31bfc0=_0x31871c[_0x45759f];_0x15eb28&&(_0x15eb28['v']=_0x25418d(_0x15eb28,!0x1,_0x12e2b9,_0x2ed196));let _0x53af00;_0x33968e[_0x447d76(0x15b)][_0x409df6][_0x447d76(0x349)]===_0x33968e[_0x447d76(0x13c)]()?_0x53af00=_0x1a3ef9[_0x447d76(0x23c)]:_0x33968e[_0x447d76(0x15b)][_0x409df6][_0x447d76(0x89)]?_0x53af00=_0x33968e[_0x447d76(0x15b)][_0x409df6][_0x447d76(0x349)]===0x0?_0x1a3ef9[_0x447d76(0x1c2)]:_0x1a3ef9[_0x447d76(0x358)]:_0x53af00=_0x1a3ef9['rowStyle'],_0x12e2b9&&(_0x53af00={..._0x53af00,'n':{'pattern':_0x12e2b9}}),_0x284ab6['setValue'](_0x409df6+_0x266e9e,_0x329cb9+_0x420407,_0x1cd3ca(_0xac53be,_0x15eb28,_0x53af00,_0x31bfc0));}_0x33968e[_0x447d76(0x15b)][_0x409df6]&&(_0x4b40fe[''+(_0x409df6+_0x266e9e)]=_0x33968e[_0x447d76(0x15b)][_0x409df6]),_0x33968e[_0x447d76(0x185)][_0x409df6]&&(_0x2ab706[''+(_0x409df6+_0x420407)]=_0x33968e['headerMap'][_0x409df6]);}const _0x533f9e=_0x355bf4[_0x447d76(0x322)](),_0x28155e=_0x355bf4['getColCount']();for(let _0xbb93e6=0x0;_0xbb93e6<_0x533f9e;_0xbb93e6++)for(let _0x2d3b21=0x0;_0x2d3b21<_0x28155e;_0x2d3b21++){const _0x251b4e={...(_0x7c5746=(_0x510a3e=_0x355bf4[_0x447d76(0x2b0)])==null?void 0x0:_0x510a3e[_0xbb93e6])==null?void 0x0:_0x7c5746[_0x2d3b21]};let _0x256102;_0x33968e[_0x447d76(0x15b)][_0xbb93e6][_0x447d76(0x89)]?_0x256102=_0x33968e['info'][_0xbb93e6][_0x447d76(0x349)]===0x0?_0x1a3ef9[_0x447d76(0x1c2)]:_0x1a3ef9['subTotalStyle']:_0x256102=_0x1a3ef9[_0x447d76(0x74)];const _0x22d8c7=_0x33968e[_0x447d76(0x15b)][_0xbb93e6]['valueIndex'],_0x14d6e2=_0x408d36[_0x447d76(0x15b)][_0x2d3b21][_0x447d76(0xcf)],_0x98b3a1=Math['max'](_0x22d8c7,_0x14d6e2),_0x5e3f2e=_0x95c2de[_0x447d76(0x237)][_0x447d76(0x261)][_0x447d76(0x1d0)]();let _0x3740f2='';_0x98b3a1<0x0?_0x3740f2=(_0x3a5b2f=_0x5e3f2e[0x0])!=null?_0x3a5b2f:'':_0x3740f2=(_0x1d4a29=_0x5e3f2e[_0x98b3a1])!=null?_0x1d4a29:'';const _0x3d8c33=_0x55090f[_0x3740f2];_0x3d8c33&&(_0x256102={..._0x256102,'n':{'pattern':_0x3d8c33}}),_0x284ab6[_0x447d76(0x1fd)](_0xbb93e6+_0x266e9e,_0x2d3b21+_0x2f89e7,_0x1cd3ca(_0xac53be,_0x251b4e,_0x256102));}return{'valueMatrix':_0x284ab6,'rowInfo':_0x4b40fe,'colInfo':_0x1dcde0,'cornerInfo':_0x39bbc0,'rowHeaderMap':_0x2ab706,'colHeaderMap':_0x2856f9};};function _0x25418d(_0x40341c,_0x179e05,_0x2a1d38,_0x1f79b9){const _0x2d3ebe=_0x4ff3ff;let _0x6b232d=_0x40341c['v'];_0x179e05&&(_0x6b232d=''+_0x1f79b9['sheets-pivot.value']);const _0x680a5b=_0x40341c['t']&&(_0x40341c['t']&_0x10f223[_0x2d3ebe(0x77)][_0x2d3ebe(0x1af)])>0x0;_0x680a5b&&(_0x6b232d=''+_0x1f79b9[_0x2d3ebe(0xd1)]);const _0x519c49=_0x40341c['t']&&(_0x40341c['t']&_0x10f223[_0x2d3ebe(0x77)]['other'])>0x0;if(_0x519c49&&(_0x6b232d=''+_0x1f79b9['sheets-pivot.other']),_0x40341c['s']===_0x10f223['PivotCellStyleTypeEnum'][_0x2d3ebe(0x262)]){let _0x595712=_0x6b232d,_0x500a5b='';_0x10f223[_0x2d3ebe(0x13f)](_0x6b232d)&&(_0x595712=_0x6b232d['prefix'],_0x500a5b=_0x6b232d[_0x2d3ebe(0x7b)]);const _0x5934b4=_0x2a1d38&&!_0x680a5b&&!_0x519c49?_0x136a03[_0x2d3ebe(0x11e)]['format'](_0x2a1d38,Number(_0x595712)):_0x595712;_0x500a5b?_0x6b232d=_0x5934b4+'\x20'+_0x500a5b:_0x6b232d=_0x5934b4+'\x20'+_0x1f79b9[_0x2d3ebe(0x2d7)];}else _0x40341c['s']===_0x10f223[_0x2d3ebe(0x180)][_0x2d3ebe(0x1bc)]&&(_0x6b232d=_0x6b232d+'\x20'+_0x1f79b9[_0x2d3ebe(0x1e8)]);return _0x6b232d;}function _0x5942aa(_0x44f1ef){const _0x29fbb8=_0x4ff3ff;if(_0x10f223[_0x29fbb8(0x9a)](_0x44f1ef)){const {errorType:_0x494b45}=_0x44f1ef;switch(_0x494b45){case _0x10f223[_0x29fbb8(0x17f)][_0x29fbb8(0x36a)]:return _0x5bf515[_0x29fbb8(0x35b)][_0x29fbb8(0x73)];case _0x10f223[_0x29fbb8(0x17f)][_0x29fbb8(0x19a)]:return _0x5bf515[_0x29fbb8(0x35b)][_0x29fbb8(0x232)];case _0x10f223['PivotErrorTypeEnum']['NotFunction']:return _0x5bf515[_0x29fbb8(0x35b)][_0x29fbb8(0x1b2)];case _0x10f223[_0x29fbb8(0x17f)]['NotName']:return _0x5bf515['ErrorType']['NAME'];case _0x10f223[_0x29fbb8(0x17f)]['BadReference']:return _0x5bf515[_0x29fbb8(0x35b)]['REF'];}}return _0x44f1ef;}function _0x50f2e9(_0x2960f2,_0x3057fa,_0x4cfeca=!0x1,_0x3d26b0=!0x1){const _0x320169=_0x4ff3ff,{data:_0x1e7510}=_0x3057fa,_0x8ce90b=_0x3057fa[_0x320169(0x322)](),_0xc0f48f=_0x3057fa[_0x320169(0x13c)]();if(_0x8ce90b<=0x0||_0xc0f48f<=0x0)return[];const _0x2f1fda=_0x3057fa['getLastCol'](),_0x15aab1=_0x3057fa[_0x320169(0x200)](),_0x3a5258=_0x3d26b0?_0x15aab1>=0x0?_0x15aab1+0x1:0x0:_0x8ce90b,_0x440f84=_0x3d26b0?_0x2f1fda>=0x0?_0x2f1fda+0x1:0x0:_0xc0f48f,{row:_0x2dd212,col:_0x33f568}=_0x2960f2,_0x38b69f=_0x2dd212,_0xfd5367=_0x33f568;if(_0x4cfeca){const _0x5cf9d9=[];for(const [_0x4a5d8e,_0x3d2fb6]of Object[_0x320169(0x341)](_0x1e7510))for(const [_0x1f6f0d,_0x5ae17e]of Object[_0x320169(0x341)](_0x3d2fb6))_0x5cf9d9[_0x320169(0xda)](_0x136a03[_0x320169(0x350)](_0x38b69f+Number(_0x4a5d8e),_0xfd5367+Number(_0x1f6f0d)));return _0x5cf9d9;}else{const _0x4d30ac=_0x3d26b0?_0x3a5258>0x0?0x1:0x0:0x1,_0x1de5be=_0x3d26b0?_0x440f84>0x0?0x1:0x0:0x1,_0x27563d=_0x2dd212+_0x3a5258-_0x4d30ac,_0x43d551=_0x33f568+_0x440f84-_0x1de5be;return[{'startRow':_0x38b69f,'startColumn':_0xfd5367,'endRow':_0x27563d,'endColumn':_0x43d551}];}}const _0x2432cb=_0x4ff3ff(0x238),_0x136553=_0x4ff3ff(0xa7);var _0x434fd6=(_0x53c2b1=>(_0x53c2b1[_0x4ff3ff(0x12c)]=_0x4ff3ff(0xb3),_0x53c2b1[_0x4ff3ff(0x119)]=_0x4ff3ff(0x324),_0x53c2b1[_0x4ff3ff(0x115)]=_0x4ff3ff(0x99),_0x53c2b1[_0x4ff3ff(0x92)]=_0x4ff3ff(0x92),_0x53c2b1[_0x4ff3ff(0x323)]=_0x4ff3ff(0xa2),_0x53c2b1[_0x4ff3ff(0x1c0)]='movePivotField',_0x53c2b1[_0x4ff3ff(0x86)]=_0x4ff3ff(0xa8),_0x53c2b1['SetPivotCollapse']=_0x4ff3ff(0x126),_0x53c2b1[_0x4ff3ff(0x339)]=_0x4ff3ff(0x2e1),_0x53c2b1[_0x4ff3ff(0xf3)]='setPivotSort',_0x53c2b1[_0x4ff3ff(0x1a1)]='setPivotSetting',_0x53c2b1['UpdatePivotSource']='updatePivotSource',_0x53c2b1[_0x4ff3ff(0xf1)]=_0x4ff3ff(0x197),_0x53c2b1[_0x4ff3ff(0x17d)]=_0x4ff3ff(0x174),_0x53c2b1[_0x4ff3ff(0x270)]='setValuePivotFilter',_0x53c2b1['SetPivotTableConfig']=_0x4ff3ff(0x25e),_0x53c2b1['ResetPivotTable']=_0x4ff3ff(0x12b),_0x53c2b1))(_0x434fd6||{});const _0x4a7d2={'sheets-pivot.blankValue':_0x4ff3ff(0x260),'sheets-pivot.columnName':'Column\x20','sheets-pivot.subTotalText':_0x4ff3ff(0xe1),'sheets-pivot.grandTotalText':_0x4ff3ff(0x18c),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x4ff3ff(0x2c2),'sheets-pivot.countName':_0x4ff3ff(0x7f),'sheets-pivot.countNumsName':_0x4ff3ff(0x7f),'sheets-pivot.maxName':_0x4ff3ff(0x16f),'sheets-pivot.minName':_0x4ff3ff(0x298),'sheets-pivot.productName':_0x4ff3ff(0x1b6),'sheets-pivot.stdDevName':'StdDev\x20of\x20','sheets-pivot.stdDevpName':'StdDevp\x20of\x20','sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x4ff3ff(0x34a),'sheets-pivot.varpName':_0x4ff3ff(0x34d),'sheets-pivot.subTotal':_0x4ff3ff(0x262),'sheets-pivot.grandTotal':_0x4ff3ff(0x18c),'sheets-pivot.value':_0x4ff3ff(0x7b),'sheets-pivot.blank':_0x4ff3ff(0x1af),'sheets-pivot.other':_0x4ff3ff(0x26e),'sheets-pivot.emptyPivot.filter':_0x4ff3ff(0x12c),'sheets-pivot.emptyPivot.row':_0x4ff3ff(0x36f),'sheets-pivot.emptyPivot.column':_0x4ff3ff(0x1a5),'sheets-pivot.emptyPivot.values':_0x4ff3ff(0x148)},_0x5cc8fa={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3a4963=_0x136a03['createAsyncInterceptorKey'](_0x4ff3ff(0x18f)),_0x117ec4=_0x136a03[_0x4ff3ff(0x124)](_0x4ff3ff(0x289));var _0x33fa65=(_0x4c9569=>(_0x4c9569['add']=_0x4ff3ff(0x20b),_0x4c9569[_0x4ff3ff(0x1db)]=_0x4ff3ff(0x1db),_0x4c9569['update']=_0x4ff3ff(0x1e4),_0x4c9569))(_0x33fa65||{}),_0x39c7b1=(_0x19dd3b=>(_0x19dd3b[_0x4ff3ff(0x37e)]=_0x4ff3ff(0x20b),_0x19dd3b['Set']=_0x4ff3ff(0xa4),_0x19dd3b[_0x4ff3ff(0x275)]=_0x4ff3ff(0x1db),_0x19dd3b))(_0x39c7b1||{});const _0x5ccc55={'type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x1f0),'handler':()=>!0x0},_0x4e105c={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x107),'handler':()=>!0x0},_0xb34b97={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x2df),'handler':()=>!0x0},_0x278df3={'type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x30da9f={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x199),'handler':()=>!0x0};var _0x3e5260=Object['getOwnPropertyDescriptor'],_0x2f85fc=(_0x445449,_0x1a94c3,_0x278713,_0x3a1e1f)=>{const _0x2c5ea4=_0x4ff3ff;for(var _0x210701=_0x3a1e1f>0x1?void 0x0:_0x3a1e1f?_0x3e5260(_0x1a94c3,_0x278713):_0x1a94c3,_0x484832=_0x445449[_0x2c5ea4(0x1ae)]-0x1,_0x4a58de;_0x484832>=0x0;_0x484832--)(_0x4a58de=_0x445449[_0x484832])&&(_0x210701=_0x4a58de(_0x210701)||_0x210701);return _0x210701;},_0x51f93d=(_0x34e3ed,_0x237974)=>(_0x2813c9,_0x3f2e4e)=>_0x237974(_0x2813c9,_0x3f2e4e,_0x34e3ed);_0x488dae[_0x4ff3ff(0x120)]=class extends _0x136a03['Disposable']{constructor(_0x360940){const _0x1c7936=_0x4ff3ff;super(),_0x4779db(this,'_requestResolvers',new Map()),this[_0x1c7936(0x1ff)]=_0x360940;}[_0x4ff3ff(0x33a)](_0x2e5454){const _0x593597=_0x4ff3ff,{version:_0x1bc4e6}=_0x2e5454,_0x4387bf=this[_0x593597(0xbb)][_0x593597(0x34e)](_0x1bc4e6);_0x4387bf&&(_0x4387bf(_0x2e5454),this[_0x593597(0xbb)][_0x593597(0x1db)](_0x1bc4e6));}[_0x4ff3ff(0x36c)](_0x3e2db0){return new Promise((_0x3f1207,_0x1a901e)=>{const _0x20a0f3=_0x5d05,_0x4c7363=this[_0x20a0f3(0x284)]();this[_0x20a0f3(0xbb)][_0x20a0f3(0xa4)](_0x4c7363,_0x3f1207),this[_0x20a0f3(0x1ff)][_0x20a0f3(0x2c6)](_0x5ccc55['id'],{'version':_0x4c7363,..._0x3e2db0},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x4de278=_0x4ff3ff;return Math[_0x4de278(0x90)]()['toString'](0x24)[_0x4de278(0x218)](0x2,0x10);}},_0x488dae[_0x4ff3ff(0x120)]=_0x2f85fc([_0x51f93d(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x13a)]))],_0x488dae[_0x4ff3ff(0x120)]);const _0x1a7eec={0x0:'5',0x1:'U',0x2:'J',0x3:'y',0x4:'F',0x5:'V',0x6:'B',0x7:'o',0x8:'A',0x9:'7','L':'0','Z':'1','C':'2','r':'3','k':'4','A':'6','n':'8','U':'9','i':'a','I':'b','Y':'c','f':'d','Q':'e','g':'f','F':'g','R':'h','J':'i','u':'j','p':'k','v':'l','c':'m','T':'n','h':'p','B':'q','x':'r','N':'s','G':'t','W':'u','P':'v','O':'w','m':'x','X':'z','z':'C','j':'D','d':'E','t':'G','D':'H','o':'I','l':'K','y':'L','H':'M','b':'N','e':'O','V':'P','M':'Q','s':'R','S':'S','q':'T','w':'W','E':'X','K':'Y','a':'Z'},_0x45ffe5=_0x4ff3ff(0x342),_0x1ec59b=_0x34885a=>{const _0x164026=_0x4ff3ff;var _0x5d7940;return((_0x5d7940=_0x34885a['body'])==null?void 0x0:_0x5d7940[_0x164026(0x32c)][_0x164026(0x1f8)](/\r\n$/,''))||'';};class _0x4a251f extends _0x10f223[_0x4ff3ff(0x251)]{constructor(_0x3c2145,_0x46c52f){const _0x3b4f60=_0x4ff3ff;super(),_0x4779db(this,_0x3b4f60(0xd3),{}),_0x4779db(this,_0x3b4f60(0x317)),_0x4779db(this,_0x3b4f60(0x8e)),(this[_0x3b4f60(0x317)]=_0x46c52f,this['_host']=_0x3c2145);}[_0x4ff3ff(0x37b)](){const _0x351619=_0x4ff3ff;for(const _0x4df983 in this['dataFields']){const _0x3aeb4d=this['dataFields'][_0x4df983],_0x16d974=_0x3aeb4d[_0x351619(0xdb)]();this[_0x351619(0xd3)][_0x16d974]=_0x3aeb4d['getId']();}}[_0x4ff3ff(0x15d)](){const _0x32c2c2=_0x4ff3ff,_0x1dafe6=this['_host'];return _0x197ec3[_0x32c2c2(0xe4)](_0x1dafe6);}['deleteDataField'](_0x442c2){const _0x2e2024=_0x4ff3ff,_0x5db658=this[_0x2e2024(0x1c6)][_0x442c2][_0x2e2024(0x94)];delete this[_0x2e2024(0x1c6)][_0x442c2],delete this[_0x2e2024(0xd3)][_0x5db658];}[_0x4ff3ff(0x16c)](_0x48ab52){const _0x218624=_0x4ff3ff;this[_0x218624(0x1c6)][_0x48ab52[_0x218624(0x1c5)]()]=_0x48ab52;}[_0x4ff3ff(0xfc)](_0x199673){const _0xf2338c=_0x4ff3ff;var _0x5336aa,_0x5c0adb;const _0x2dcdf9=this[_0xf2338c(0x8e)][_0xf2338c(0x1e7)](_0x199673);if(_0x2dcdf9){const {unitId:_0x3ddc30,subUnitId:_0xeb3848}=_0x2dcdf9,_0x50c573=(_0x5336aa=this[_0xf2338c(0x8e)]['getPivotTableConfig'](_0x3ddc30,_0xeb3848,_0x199673))==null?void 0x0:_0x5336aa[_0xf2338c(0x329)];this[_0xf2338c(0x8e)][_0xf2338c(0x1f5)]({'token':_0x199673,'type':_0x33fa65['delete'],'dataRangeInfo':_0x50c573});}(_0x5c0adb=this[_0xf2338c(0x139)](_0x199673))==null||_0x5c0adb[_0xf2338c(0x23b)](),delete this['collections'][_0x199673];}[_0x4ff3ff(0xdb)](_0x40a2b1,_0x2abc6c){const _0x3f04fe=_0x4ff3ff,{sheetName:_0x25d67d,unitId:_0x42db2b,range:_0x49bc39}=_0x40a2b1,{startRow:_0x366d8d,endRow:_0x46d752}=_0x49bc39;return _0x5bf515[_0x3f04fe(0xc5)](_0x42db2b,_0x25d67d,{'startRow':_0x366d8d,'endRow':_0x46d752,'startColumn':_0x2abc6c,'endColumn':_0x2abc6c});}[_0x4ff3ff(0x24d)](_0x55a120){const _0x1089ed=_0x4ff3ff;return this['dataFields'][this[_0x1089ed(0xd3)][_0x55a120]];}[_0x4ff3ff(0x213)](_0x357c52,_0x151180){this['rangeKeyMap'][_0x357c52]=_0x151180;}[_0x4ff3ff(0x18d)](_0x17360b,_0x13038e){const _0x230702=_0x4ff3ff;this[_0x230702(0xd3)][_0x13038e]=this[_0x230702(0xd3)][_0x17360b],delete this[_0x230702(0xd3)][_0x17360b];}['addCollectionByJSON'](_0x2e0740,_0x21d641,_0x4638cd,_0x2adc39){const _0xa90df3=_0x4ff3ff,_0x138e47=new _0x10f223[(_0xa90df3(0xc7))](this);_0x138e47[_0xa90df3(0x24b)](_0x21d641);const _0x79b92a=[];let _0x6bf017=0x0;for(const _0x18e0ef of _0x138e47['fieldIds']){const _0xa1e6e=this[_0xa90df3(0xdb)](_0x4638cd,_0x6bf017),_0x44003a=this[_0xa90df3(0x1c6)][_0x18e0ef];_0x44003a&&(_0x44003a[_0xa90df3(0x94)]=_0xa1e6e,this['setRangeKeyMap'](_0xa1e6e,_0x18e0ef),_0x79b92a[_0xa90df3(0xda)]({'index':_0x6bf017,'dataField':_0x44003a})),_0x6bf017++;}return this[_0xa90df3(0x156)](_0x2e0740,_0x138e47,_0x4638cd,_0x2adc39),{'collection':_0x138e47,'updateDataFieldList':_0x79b92a};}['getRangeStartEndInfo'](_0x38353c,_0x314f13){const _0x2d8841=_0x4ff3ff;return _0x38353c[_0x2d8841(0x2ef)]===_0x136a03[_0x2d8841(0x19b)]['COLUMN']?{'startRow':0x0,'startColumn':_0x38353c[_0x2d8841(0x2fd)],'endRow':_0x314f13[_0x2d8841(0x322)]()-0x1,'endColumn':_0x38353c['endColumn']}:{'startRow':_0x38353c[_0x2d8841(0x100)],'startColumn':_0x38353c[_0x2d8841(0x2fd)],'endRow':_0x38353c[_0x2d8841(0x27a)],'endColumn':_0x38353c[_0x2d8841(0x304)]};}[_0x4ff3ff(0x28f)](_0x53a13d){const _0x3265c3=_0x4ff3ff,{sheetName:_0x50f87b,range:_0x54ed1f}=_0x53a13d,_0x3dfa18=this[_0x3265c3(0x317)][_0x3265c3(0x208)](_0x136a03[_0x3265c3(0x170)][_0x3265c3(0x22b)]),_0x3b3266=_0x3dfa18[_0x3265c3(0x2b3)](_0x50f87b),_0x4726c3=_0x3b3266[_0x3265c3(0x24f)](),{startColumn:_0x3963bd,startRow:_0x1a76a1,endColumn:_0x2257f4}=this['getRangeStartEndInfo'](_0x54ed1f,_0x3b3266),_0x24e03d=_0x3dfa18[_0x3265c3(0x2a5)](),_0x161430=new _0x10f223[(_0x3265c3(0xc7))](this);_0x161430[_0x3265c3(0xc0)](_0x53a13d);const _0x330527=[],_0x34dd42={};for(let _0x260470=_0x3963bd;_0x260470<=_0x2257f4;_0x260470++){const _0xd02bd6=_0x4726c3[_0x3265c3(0x2b7)](_0x1a76a1,_0x260470),_0x5f407f=this[_0x3265c3(0xdb)](_0x53a13d,_0x260470),_0x49c336=this['getDataFieldByRangeKey'](_0x5f407f);if(_0x49c336)_0x161430['addField'](_0x49c336[_0x3265c3(0x1c5)](),_0x49c336[_0x3265c3(0x2db)]());else{const _0x12a05a=this[_0x3265c3(0x33f)]();let _0x3302eb=this[_0x3265c3(0x1eb)](_0xd02bd6,_0x24e03d,_0x34dd42);_0x10f223[_0x3265c3(0x332)](_0x3302eb)&&(_0x3302eb=_0x136a03[_0x3265c3(0x11e)]['format'](_0x3302eb['f'],Number(_0x3302eb['v'])));const _0x5862f4=this[_0x3265c3(0x1f2)](_0x3302eb,_0x260470),_0xfcee1d=new _0x10f223['DataField'](_0x12a05a,_0x5862f4,_0x10f223[_0x3265c3(0xb2)](0x3));_0xfcee1d['rangeKey']=_0x5f407f,this[_0x3265c3(0x1c6)][_0x12a05a]=_0xfcee1d,_0x161430[_0x3265c3(0x2ae)](_0x12a05a,_0x5862f4),_0x330527[_0x3265c3(0xda)]({'index':_0x260470,'dataField':_0xfcee1d});}}return{'updateDataFieldList':_0x330527,'collection':_0x161430};}[_0x4ff3ff(0x132)](_0x1ba429){const _0xb36218=_0x4ff3ff;return this[_0xb36218(0x8e)][_0xb36218(0x326)]()[_0xb36218(0x9c)]+'\x20'+_0x136a03[_0xb36218(0x318)](_0x1ba429);}[_0x4ff3ff(0x1f2)](_0x466e9f,_0x5cb5d4){return _0x466e9f==null||_0x466e9f===''?this['_getAutoName'](_0x5cb5d4):String(_0x466e9f);}[_0x4ff3ff(0x139)](_0x2f7a24){return this['collections'][_0x2f7a24];}[_0x4ff3ff(0x156)](_0x1dd419,_0x56d372,_0x32b52c,_0x139d9a){const _0x435816=_0x4ff3ff;this[_0x435816(0x152)][_0x1dd419]=_0x56d372,_0x56d372['setRange'](_0x32b52c),this[_0x435816(0x8e)][_0x435816(0x1f5)]({'token':_0x1dd419,'type':_0x33fa65['add'],'dataRangeInfo':_0x32b52c,'targetCellInfo':_0x139d9a});}[_0x4ff3ff(0x114)](_0x5dcf40,_0x4f6fe9){const _0x325b56=_0x4ff3ff,_0x1aaa89=this['getCollection'](_0x5dcf40),_0x157602=_0x1aaa89[_0x325b56(0x136)]();let _0x2880e9=0x0;for(const _0x25dc88 of _0x157602){const _0x39469c=_0x1aaa89['getFieldById'](_0x25dc88),_0x3d94cd=this[_0x325b56(0xdb)](_0x4f6fe9,_0x2880e9);this[_0x325b56(0x18d)](_0x39469c[_0x325b56(0x94)],_0x3d94cd),_0x2880e9++;}}[_0x4ff3ff(0x29f)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x4ff3ff(0x376)](_0x38f600,_0x3f46e0){const _0x43f938=_0x4ff3ff;if(this[_0x43f938(0x139)](_0x38f600)){const _0x224bf0=this['getRangeKeyList'](_0x3f46e0),_0x377d6f=[];for(const _0x263331 of _0x224bf0)this[_0x43f938(0xd3)][_0x263331]!==void 0x0&&_0x377d6f[_0x43f938(0xda)](this['rangeKeyMap'][_0x263331]);const _0xf2961e=this[_0x43f938(0x109)](_0x38f600),_0xbc5e78=[],_0x42f6c8=new Set(_0x377d6f);for(const _0x1cfdcc of _0xf2961e)_0x42f6c8['has'](_0x1cfdcc)||_0xbc5e78[_0x43f938(0xda)](_0x1cfdcc);return _0xbc5e78;}}['getMatrixValue'](_0x465416,_0x29a601,_0x4c223f,_0x1653ec,_0x39ed8d){const _0x37ff75=_0x4ff3ff;return _0x29a601&&_0x29a601[_0x37ff75(0x2b7)](_0x1653ec,_0x39ed8d)?_0x29a601[_0x37ff75(0x2b7)](_0x1653ec,_0x39ed8d):_0x4c223f&&_0x4c223f['getValue'](_0x1653ec,_0x39ed8d)?_0x4c223f['getValue'](_0x1653ec,_0x39ed8d):_0x465416['getValue'](_0x1653ec,_0x39ed8d);}[_0x4ff3ff(0x2b5)](_0x14697c,_0x50b114,_0x19b8b0,_0x4e8163){const _0x4d8ce8=_0x4ff3ff,_0x49cfed=this['dataFields'][_0x14697c];if(!_0x49cfed)return;const {subUnitId:_0x5d83a6,range:_0x549608,unitId:_0x3a6ab8}=_0x50b114,_0x5128cf=this[_0x4d8ce8(0x317)]['getUnit'](_0x3a6ab8);if(!_0x5128cf){console['error']('workbook\x20is\x20not\x20found');return;}const _0x3c6af6=_0x5128cf[_0x4d8ce8(0x6d)](_0x5d83a6),_0x275500=_0x3c6af6[_0x4d8ce8(0x24f)](),{arrayFormulaCellDataMatrix:_0x48872e,unitDataMatrix:_0x50f1c1}=_0x4e8163||{},{startRow:_0x3e0fe2,startColumn:_0x373afb,endRow:_0x54a389}=this[_0x4d8ce8(0x192)](_0x549608,_0x3c6af6);_0x49cfed['reset']();const _0x5ead56=_0x5128cf['getStyles'](),_0x86ca22={},_0x582d27=this[_0x4d8ce8(0x2ac)](_0x275500,_0x48872e,_0x50f1c1,_0x3e0fe2,_0x373afb+_0x19b8b0);let _0x2e295f=this[_0x4d8ce8(0x1eb)](_0x582d27,_0x5ead56,_0x86ca22);_0x10f223[_0x4d8ce8(0x332)](_0x2e295f)&&(_0x2e295f=_0x136a03[_0x4d8ce8(0x11e)][_0x4d8ce8(0x276)](_0x2e295f['f'],Number(_0x2e295f['v'])));const _0x3f26c2=this[_0x4d8ce8(0x1f2)](_0x2e295f,_0x373afb+_0x19b8b0);_0x49cfed['setName'](_0x3f26c2);for(let _0x211f17=_0x3e0fe2+0x1;_0x211f17<=_0x54a389;_0x211f17++){const _0x544f38=this['getMatrixValue'](_0x275500,_0x48872e,_0x50f1c1,_0x211f17,_0x373afb+_0x19b8b0);_0x49cfed[_0x4d8ce8(0x196)](this[_0x4d8ce8(0x1eb)](_0x544f38,_0x5ead56,_0x86ca22),_0x211f17-0x1-_0x3e0fe2);}}[_0x4ff3ff(0x82)](_0x406133,_0x17f250,_0x4e3f29){const _0x50cbd9=_0x4ff3ff,{subUnitId:_0x202dcd,range:_0x220aba,unitId:_0x40dcf1}=_0x4e3f29,_0x8ffb70=this[_0x50cbd9(0x317)][_0x50cbd9(0x229)](_0x40dcf1);if(!_0x8ffb70){console[_0x50cbd9(0xa6)](_0x50cbd9(0x87));return;}const _0x2ae64a=_0x8ffb70[_0x50cbd9(0x6d)](_0x202dcd),_0x565e2f=_0x2ae64a[_0x50cbd9(0x24f)](),{startRow:_0x431d18,startColumn:_0x38755,endRow:_0x4fad7f}=this[_0x50cbd9(0x192)](_0x220aba,_0x2ae64a),_0x503edb=_0x8ffb70[_0x50cbd9(0x2a5)](),_0x3333cb={};for(const {dataField:_0x4aaed6,index:_0x34ac60}of _0x17f250){_0x4aaed6['reset']();const _0x2cfec6=this[_0x50cbd9(0x2ac)](_0x565e2f,void 0x0,void 0x0,_0x431d18,_0x38755+_0x34ac60);let _0x50ef73=this[_0x50cbd9(0x1eb)](_0x2cfec6,_0x503edb,_0x3333cb);_0x10f223[_0x50cbd9(0x332)](_0x50ef73)&&(_0x50ef73=_0x136a03[_0x50cbd9(0x11e)][_0x50cbd9(0x276)](_0x50ef73['f'],Number(_0x50ef73['v'])));const _0x4a1a2c=this[_0x50cbd9(0x1f2)](_0x50ef73,_0x38755+_0x34ac60);_0x4aaed6[_0x50cbd9(0x222)](_0x4a1a2c);}_0x406133[_0x50cbd9(0x127)]();for(let _0x1e9677=_0x431d18+0x1;_0x1e9677<=_0x4fad7f;_0x1e9677++)for(const {index:_0x4bc73a,dataField:_0xe27185}of _0x17f250){const _0x18a652=_0x565e2f['getValue'](_0x1e9677,_0x38755+_0x4bc73a);_0xe27185[_0x50cbd9(0x196)](this[_0x50cbd9(0x1eb)](_0x18a652,_0x503edb,_0x3333cb),_0x1e9677-0x1-_0x431d18);}_0x406133[_0x50cbd9(0x282)](_0x4fad7f-_0x431d18);}[_0x4ff3ff(0x131)](_0x33d0e6){const _0x243be1=_0x4ff3ff,{range:_0x4a2a02}=_0x33d0e6,{startColumn:_0x5c13ec,endColumn:_0x516484}=_0x4a2a02,_0x1542d9=[];for(let _0x417703=_0x5c13ec;_0x417703<=_0x516484;_0x417703++)_0x1542d9[_0x243be1(0xda)](this[_0x243be1(0xdb)](_0x33d0e6,_0x417703));return _0x1542d9;}[_0x4ff3ff(0x1eb)](_0x5300ad,_0x271cd9,_0x2acfda){const _0x454804=_0x4ff3ff;if(_0x5300ad){const {s:_0x3f67c9,v:_0x25d4d0,t:_0x2a4c9e,p:_0x25473a}=_0x5300ad;if(_0x25473a)return _0x1ec59b(_0x25473a);const _0x44fc3a=_0x271cd9['get'](_0x3f67c9);if(_0x44fc3a&&_0x2a4c9e===_0x136a03[_0x454804(0x32b)][_0x454804(0x27b)]&&_0x44fc3a['n']){const {pattern:_0x433d59}=_0x44fc3a['n'];_0x2acfda[_0x433d59]||(_0x2acfda[_0x433d59]=_0x136a03[_0x454804(0x11e)][_0x454804(0x2b6)](_0x433d59));const _0x2aa05c=_0x2acfda[_0x433d59],_0xcc8ec2=_0x2aa05c[_0x454804(0x287)];if(_0x2aa05c[_0x454804(0xce)])return String(_0x25d4d0);if(_0xcc8ec2)return{'v':_0x25d4d0,'f':_0x433d59};}if(_0x2a4c9e===_0x136a03[_0x454804(0x32b)]['NUMBER'])return Number(_0x25d4d0);if(_0x2a4c9e===_0x136a03[_0x454804(0x32b)]['STRING']||_0x2a4c9e===_0x136a03['CellValueType'][_0x454804(0x8a)])return String(_0x25d4d0);if(_0x2a4c9e===void 0x0){const _0x2d5eb8=Number(_0x25d4d0);if(!Number[_0x454804(0xb1)](_0x2d5eb8)&&String(_0x2d5eb8)===_0x25d4d0)return _0x2d5eb8;}return _0x25d4d0!=null?_0x25d4d0:null;}else return null;}[_0x4ff3ff(0x379)](_0xeb2c06){const _0x2f0f8e=_0x4ff3ff,{sheetName:_0x3acf91,range:_0x3d178f,unitId:_0x21b801}=_0xeb2c06,_0x451fad=this[_0x2f0f8e(0x317)][_0x2f0f8e(0x229)](_0x21b801);if(!_0x451fad)return console[_0x2f0f8e(0xa6)](_0x2f0f8e(0x87)),{'header':[],'data':[]};const _0x3875e5=_0x451fad[_0x2f0f8e(0x2b3)](_0x3acf91),_0x149050=_0x3875e5[_0x2f0f8e(0x24f)](),{startRow:_0x5d7ad2,startColumn:_0x27aa3a,endRow:_0x3df981,endColumn:_0x4427a2}=this[_0x2f0f8e(0x192)](_0x3d178f,_0x3875e5),_0x43f605=_0x451fad[_0x2f0f8e(0x2a5)](),_0x515c90=[],_0x527a99=[],_0x46b7da={};for(let _0x4081de=_0x5d7ad2;_0x4081de<=_0x3df981;_0x4081de++){const _0x5ac761=[];for(let _0x488061=_0x27aa3a;_0x488061<=_0x4427a2;_0x488061++){const _0x5ce045=_0x149050['getValue'](_0x4081de,_0x488061);_0x4081de===_0x5d7ad2?_0x515c90['push'](_0x5ce045==null?null:String(_0x5ce045['v'])):_0x5ac761[_0x2f0f8e(0xda)](this[_0x2f0f8e(0x1eb)](_0x5ce045,_0x43f605,_0x46b7da));}_0x527a99[_0x2f0f8e(0xda)](_0x5ac761);}return{'header':_0x515c90,'data':_0x527a99};}['toJSON'](){const _0xfabe9c=_0x4ff3ff;return super[_0xfabe9c(0x19f)]();}[_0x4ff3ff(0x24b)](_0x349470){const _0x115025=_0x4ff3ff;super[_0x115025(0x24b)](_0x349470),this[_0x115025(0x37b)]();}[_0x4ff3ff(0x23b)](){const _0x13dba0=_0x4ff3ff;super[_0x13dba0(0x23b)](),this[_0x13dba0(0xd3)]={},this[_0x13dba0(0x8e)]=null;}}const _0x1c2c45=_0x52b7b4=>{const _0x1229b9=_0x4ff3ff,{targetCellInfo:_0x5eafe3}=_0x52b7b4,{matrixCache:_0x293f31,rangesCache:_0x3ea901}=_0x3932c7({'filter':_0x1229b9(0x12c),'row':'Row','column':'Column','values':_0x1229b9(0x148)},_0x5eafe3),_0x479cea=new _0x136a03[(_0x1229b9(0xfd))]();return _0x293f31[_0x1229b9(0x171)]((_0x47dba0,_0x1b624f,_0x1b6fa8)=>{_0x479cea['setValue'](_0x47dba0,_0x1b624f,_0x1b6fa8);}),{'matrix':_0x479cea,'rangesCache':_0x3ea901};},_0x4806c0=_0x3adb15=>{const _0xeceb2f=_0x4ff3ff;let _0x343552;if(_0x3adb15!=null&&_0x3adb15['v']||(_0x3adb15==null?void 0x0:_0x3adb15['v'])===0x0){_0x343552||(_0x343552={});const _0x2a1d7a=_0x5942aa(_0x3adb15['v']);typeof _0x2a1d7a==_0xeceb2f(0x14d)?_0x343552['t']=_0x136a03[_0xeceb2f(0x32b)][_0xeceb2f(0x27b)]:typeof _0x2a1d7a=='string'&&(_0x343552['t']=_0x136a03[_0xeceb2f(0x32b)][_0xeceb2f(0x239)]),_0x343552['v']=_0x2a1d7a;}return _0x343552;},_0x4454a1=(_0x20350e,_0x2bb281,_0x3fb39f)=>{const _0x1065d0=_0x4ff3ff;var _0x55cd59,_0xe204d9,_0x317ec8,_0x2e89a9,_0x4dc2ea,_0x3781c3,_0x1895f6,_0x72cc1d,_0x437110,_0x4fb4f4,_0xf69a34,_0x4c4e03;const {cornerView:_0x154976,rowView:_0x4e154a,colView:_0x3525aa,dataView:_0x4221f0,pageView:_0xaeb9d3,formatMap:_0x575e96}=_0x20350e,{row:_0x3dbb5b,col:_0x4f3649}=_0x2bb281,_0x3a3d11=new _0x136a03['ObjectMatrix']();let _0x4d151f=_0x3dbb5b,_0x3ba980=_0x4f3649;Object[_0x1065d0(0x255)](_0xaeb9d3[_0x1065d0(0x2b0)])[_0x1065d0(0x1ed)](_0x38e895=>{const _0x3d7d10=_0x1065d0;Object[_0x3d7d10(0x255)](_0xaeb9d3[_0x3d7d10(0x2b0)][Number(_0x38e895)])[_0x3d7d10(0x1ed)](_0x23529c=>{const _0x4145b1=_0x3d7d10,_0x58e47f={..._0xaeb9d3[_0x4145b1(0x2b0)][Number(_0x38e895)][Number(_0x23529c)]};_0x3a3d11[_0x4145b1(0x1fd)](Number(_0x38e895)+_0x4d151f,Number(_0x23529c)+_0x3ba980,_0x4806c0(_0x58e47f));});});const _0x12326c=Object['keys'](_0xaeb9d3['data'])[_0x1065d0(0x1ae)];_0x4d151f+=_0x12326c+(_0x12326c?_0x2fd7f7:0x0);const _0x408a00=_0x154976[_0x1065d0(0x322)](),_0x22d7aa=_0x154976[_0x1065d0(0x13c)]();for(let _0x274e2a=0x0;_0x274e2a<_0x408a00;_0x274e2a++)for(let _0x1e1195=0x0;_0x1e1195<_0x22d7aa;_0x1e1195++){const _0x191b33={...(_0xe204d9=(_0x55cd59=_0x154976[_0x1065d0(0x2b0)])==null?void 0x0:_0x55cd59[_0x274e2a])==null?void 0x0:_0xe204d9[_0x1e1195]};_0x191b33&&((_0x317ec8=_0x4e154a[_0x1065d0(0x185)][_0x1e1195])!=null&&_0x317ec8[_0x1065d0(0x2e7)])&&_0x1e1195===_0x22d7aa-0x1&&_0x274e2a===_0x408a00-0x1&&(_0x191b33['v']=''+_0x3fb39f[_0x1065d0(0x21f)]),_0x3a3d11[_0x1065d0(0x1fd)](_0x274e2a+_0x4d151f,_0x1e1195+_0x3ba980,_0x4806c0(_0x191b33));}_0x3ba980+=_0x22d7aa;const _0x7eeb09=_0x3525aa[_0x1065d0(0x185)],_0x5628df=_0x3525aa[_0x1065d0(0x200)]()>=0x0?_0x3525aa[_0x1065d0(0x200)]()+0x1:0x0,_0x29f60b=_0x3525aa[_0x1065d0(0x1e0)]()>=0x0?_0x3525aa[_0x1065d0(0x1e0)]()+0x1:0x0;for(let _0x46c3e1=0x0;_0x46c3e1<_0x29f60b;_0x46c3e1++)for(let _0x7e3f6c=0x0;_0x7e3f6c<_0x5628df;_0x7e3f6c++){const _0x112f45={...(_0x4dc2ea=(_0x2e89a9=_0x3525aa[_0x1065d0(0x2b0)])==null?void 0x0:_0x2e89a9[_0x46c3e1])==null?void 0x0:_0x4dc2ea[_0x7e3f6c]},_0x5045d5=(_0x3781c3=_0x7eeb09[_0x46c3e1])==null?void 0x0:_0x3781c3[_0x1065d0(0xa1)],_0x40b136=_0x575e96[_0x5045d5];_0x112f45&&(_0x112f45['v']=_0x25418d(_0x112f45,_0x46c3e1===0x0&&((_0x1895f6=_0x3525aa[_0x1065d0(0x20c)](_0x7e3f6c+0x1))==null?void 0x0:_0x1895f6[_0x1065d0(0x2e7)]),_0x40b136,_0x3fb39f)),_0x3a3d11['setValue'](_0x46c3e1+_0x4d151f,_0x7e3f6c+_0x3ba980,_0x4806c0(_0x112f45));}_0x4d151f+=_0x408a00;const _0x3f859c=_0x4e154a[_0x1065d0(0x185)],_0x5ca70b=_0x4e154a['getLastRow']()>=0x0?_0x4e154a[_0x1065d0(0x200)]()+0x1:0x0,_0x41cea3=_0x4e154a[_0x1065d0(0x1e0)]()>=0x0?_0x4e154a['getLastCol']()+0x1:0x0;for(let _0x3879bd=0x0;_0x3879bd<_0x5ca70b;_0x3879bd++)for(let _0x3dc6b6=0x0;_0x3dc6b6<_0x41cea3;_0x3dc6b6++){const _0x5b576e={...(_0x437110=(_0x72cc1d=_0x4e154a['data'])==null?void 0x0:_0x72cc1d[_0x3879bd])==null?void 0x0:_0x437110[_0x3dc6b6]},_0x7ba68b=(_0x4fb4f4=_0x3f859c[_0x3dc6b6])==null?void 0x0:_0x4fb4f4[_0x1065d0(0xa1)],_0xbd2c9=_0x575e96[_0x7ba68b];_0x5b576e&&(_0x5b576e['v']=_0x25418d(_0x5b576e,!0x1,_0xbd2c9,_0x3fb39f)),_0x3a3d11['setValue'](_0x3879bd+_0x4d151f,_0x3dc6b6+_0x4f3649,_0x4806c0(_0x5b576e));}const _0x3f0064=_0x4221f0[_0x1065d0(0x322)](),_0x231d99=_0x4221f0['getColCount']();for(let _0xf2fd92=0x0;_0xf2fd92<_0x3f0064;_0xf2fd92++)for(let _0xf3473c=0x0;_0xf3473c<_0x231d99;_0xf3473c++){const _0x13d80c={...(_0x4c4e03=(_0xf69a34=_0x4221f0[_0x1065d0(0x2b0)])==null?void 0x0:_0xf69a34[_0xf2fd92])==null?void 0x0:_0x4c4e03[_0xf3473c]};_0x3a3d11[_0x1065d0(0x1fd)](_0xf2fd92+_0x4d151f,_0xf3473c+_0x3ba980,_0x4806c0(_0x13d80c));}return _0x3a3d11;},_0x26861b=_0x1289eb=>{const _0x39a3f5=_0x4ff3ff,{view:_0x36c58d,targetCellInfo:_0x15ad9e,isEmpty:_0x385135,textInfo:_0x19cc8e}=_0x1289eb;if(_0x385135)return _0x1c2c45(_0x1289eb);const {pageView:_0x55dcbf,cornerView:_0x440e8f,rowView:_0x36d9d6,colView:_0x5921d3,dataView:_0x51cab}=_0x36c58d,_0x6aa425=_0x50f2e9(_0x15ad9e,_0x55dcbf,!0x0),_0x3eb832=_0x55dcbf[_0x39a3f5(0x366)]>=0x0?_0x55dcbf[_0x39a3f5(0x366)]+0x1:0x0,_0x38f15c=_0x440e8f[_0x39a3f5(0x322)](),_0x1a3dc4=_0x440e8f[_0x39a3f5(0x13c)](),_0x220b15=_0x6aa425['length']>0x0?_0x2fd7f7:0x0,_0x1ad4fd=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15,'col':_0x15ad9e['col']},_0x440e8f,!0x1,!0x1),_0x3dc844=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15+_0x38f15c,'col':_0x15ad9e[_0x39a3f5(0xed)]},_0x36d9d6,!0x1,!0x0),_0x25618f=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15,'col':_0x15ad9e[_0x39a3f5(0xed)]+_0x1a3dc4},_0x5921d3,!0x1,!0x0),_0x4a0412=_0x50f2e9({'row':_0x15ad9e[_0x39a3f5(0x327)]+_0x3eb832+_0x220b15+_0x38f15c,'col':_0x15ad9e[_0x39a3f5(0xed)]+_0x1a3dc4},_0x51cab,!0x1,!0x1),_0x1ded57={'rowRanges':_0x3dc844,'colRanges':_0x25618f,'cornerRanges':_0x1ad4fd,'dataRanges':_0x4a0412,'pageRanges':_0x6aa425};return{'matrix':_0x4454a1(_0x36c58d,_0x15ad9e,_0x19cc8e),'rangesCache':_0x1ded57};};var _0xaf6b96=Object[_0x4ff3ff(0xba)],_0x55fd76=(_0x21c73d,_0x255cb3,_0x4cad7b,_0x174f55)=>{const _0x1b49a1=_0x4ff3ff;for(var _0x581c96=_0x174f55>0x1?void 0x0:_0x174f55?_0xaf6b96(_0x255cb3,_0x4cad7b):_0x255cb3,_0xd62f23=_0x21c73d[_0x1b49a1(0x1ae)]-0x1,_0x3277ed;_0xd62f23>=0x0;_0xd62f23--)(_0x3277ed=_0x21c73d[_0xd62f23])&&(_0x581c96=_0x3277ed(_0x581c96)||_0x581c96);return _0x581c96;},_0x2e088c=(_0x2b14d2,_0x3f2aa8)=>(_0x71786f,_0x214285)=>_0x3f2aa8(_0x71786f,_0x214285,_0x2b14d2);_0x488dae[_0x4ff3ff(0x16d)]=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x41a992,_0x41f5af,_0x5e0e21,_0x44b4e1,_0xea0cf4){const _0x313c80=_0x4ff3ff;super(),_0x4779db(this,_0x313c80(0x351),new Map()),_0x4779db(this,_0x313c80(0x19e),new Map()),_0x4779db(this,_0x313c80(0x1ca),new Map()),_0x4779db(this,_0x313c80(0x211)),_0x4779db(this,_0x313c80(0x20f),new _0x4d3cd2[(_0x313c80(0x1a6))]()),_0x4779db(this,_0x313c80(0xd6),this['_collectionChange$'][_0x313c80(0x370)]()),_0x4779db(this,_0x313c80(0xe8),new _0x4d3cd2[(_0x313c80(0x1a6))]()),_0x4779db(this,_0x313c80(0x21b),this[_0x313c80(0xe8)][_0x313c80(0x370)]()),_0x4779db(this,_0x313c80(0x78),new _0x4d3cd2[(_0x313c80(0x1a6))]()),_0x4779db(this,_0x313c80(0x319),this[_0x313c80(0x78)][_0x313c80(0x370)]()),_0x4779db(this,'_dataFieldManagerCollection',new Map()),_0x4779db(this,_0x313c80(0xd9),[]),_0x4779db(this,'_queryingMap',new Map()),(this[_0x313c80(0x17c)]=_0x41a992,this[_0x313c80(0x317)]=_0x41f5af,this[_0x313c80(0x311)]=_0x5e0e21,this[_0x313c80(0x1ff)]=_0x44b4e1,this[_0x313c80(0x168)]=_0xea0cf4,this[_0x313c80(0x21e)]());}[_0x4ff3ff(0x326)](){const _0x3643ed=_0x4ff3ff;return this[_0x3643ed(0x211)]?this[_0x3643ed(0x211)]:_0x4a7d2;}[_0x4ff3ff(0x1ab)](_0x4e4c32){const _0x21e072=_0x4ff3ff;this[_0x21e072(0x211)]=_0x4e4c32;}[_0x4ff3ff(0x114)](_0x554c25){const _0xa6ab54=_0x4ff3ff;var _0x26f0b7;const {from:_0x3477be,to:_0x4df575,unitId:_0x5e0cc5,fromRange:_0x335641,toRange:_0x3a9c84}=_0x554c25;if(_0x3477be&&_0x4df575){const _0x23f1f4=this[_0xa6ab54(0x28c)](_0x5e0cc5),_0x52e21a=this['_model'][_0xa6ab54(0x34e)](_0x5e0cc5),_0x425754=(_0x26f0b7=this[_0xa6ab54(0x317)]['getUnit'](_0x5e0cc5))==null?void 0x0:_0x26f0b7[_0xa6ab54(0x6d)](_0x4df575[_0xa6ab54(0x1d4)]);if(!_0x52e21a||!_0x425754)return;const _0x1164fa=_0x425754==null?void 0x0:_0x425754[_0xa6ab54(0x2db)]();for(const [_0x5a6aa8,_0x386a72]of _0x52e21a[_0xa6ab54(0x341)]())for(const [_0x41f6c4,_0x4c4ab4]of _0x386a72[_0xa6ab54(0x341)]()){const {sourceRangeInfo:_0x25c433}=_0x4c4ab4;if(_0x25c433['unitId']===_0x5e0cc5&&_0x25c433[_0xa6ab54(0x1d4)]===_0x3477be[_0xa6ab54(0x1d4)]&&_0x136a03['Rectangle'][_0xa6ab54(0x8c)](_0x335641,_0x25c433[_0xa6ab54(0x1fe)])){const _0x14276e={'row':_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x100)]-_0x335641[_0xa6ab54(0x100)],'col':_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x2fd)]-_0x335641[_0xa6ab54(0x2fd)]},_0x2543b8={'unitId':_0x5e0cc5,'subUnitId':_0x4df575[_0xa6ab54(0x1d4)],'sheetName':_0x1164fa,'range':{'startRow':_0x3a9c84[_0xa6ab54(0x100)]+_0x14276e[_0xa6ab54(0x327)],'endRow':_0x3a9c84[_0xa6ab54(0x100)]+_0x14276e['row']+_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x27a)]-_0x25c433['range'][_0xa6ab54(0x100)],'startColumn':_0x3a9c84[_0xa6ab54(0x2fd)]+_0x14276e['col'],'endColumn':_0x3a9c84[_0xa6ab54(0x2fd)]+_0x14276e[_0xa6ab54(0xed)]+_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x304)]-_0x25c433[_0xa6ab54(0x1fe)][_0xa6ab54(0x2fd)]}};_0x23f1f4['handleMoveRange'](_0x41f6c4,_0x2543b8);const _0x113900={..._0x4c4ab4,'sourceRangeInfo':_0x2543b8};this[_0xa6ab54(0x111)](_0x5e0cc5,_0x4df575[_0xa6ab54(0x1d4)],_0x41f6c4,_0x113900),this[_0xa6ab54(0x1f5)]({'unitId':_0x5e0cc5,'token':_0x41f6c4,'type':_0x33fa65[_0xa6ab54(0x1e4)],'oldSourceRangeInfo':_0x25c433,'dataRangeInfo':_0x2543b8,'targetCellInfo':_0x4c4ab4[_0xa6ab54(0x271)]}),this[_0xa6ab54(0xca)]({'unitId':_0x5e0cc5,'subUnitId':_0x4df575[_0xa6ab54(0x1d4)],'oldSubUnitId':_0x5a6aa8,'pivotTableId':_0x41f6c4,'pivotTableConfig':_0x113900,'collectionConfig':_0x23f1f4[_0xa6ab54(0x19f)]()});}}}}[_0x4ff3ff(0x1f5)](_0x35f114){const _0x5431e1=_0x4ff3ff;this[_0x5431e1(0x20f)]['next'](_0x35f114);}[_0x4ff3ff(0x28c)](_0x1cebda){const _0x264b33=_0x4ff3ff;let _0x2054a2=this[_0x264b33(0x1cc)][_0x264b33(0x34e)](_0x1cebda);return _0x2054a2||(_0x2054a2=new _0x4a251f(this,this[_0x264b33(0x317)]),this[_0x264b33(0x1cc)][_0x264b33(0xa4)](_0x1cebda,_0x2054a2)),_0x2054a2;}[_0x4ff3ff(0x139)](_0x3ed96e,_0x5c9d8a){const _0x16795d=_0x4ff3ff;return this['getDataFieldManager'](_0x3ed96e)[_0x16795d(0x152)][_0x5c9d8a];}[_0x4ff3ff(0x376)](_0x16225f,_0x51c166,_0x3a647b){const _0x79a60b=_0x4ff3ff;return this[_0x79a60b(0x28c)](_0x16225f)[_0x79a60b(0x376)](_0x51c166,_0x3a647b);}[_0x4ff3ff(0x1b7)](_0x1e7893,_0x1d78c8){const _0x28cd5f=_0x4ff3ff;let _0x2a73c9=this[_0x28cd5f(0x351)][_0x28cd5f(0x34e)](_0x1e7893);_0x2a73c9||(_0x2a73c9=new Map(),this['_model'][_0x28cd5f(0xa4)](_0x1e7893,_0x2a73c9));let _0x58ce97=_0x2a73c9[_0x28cd5f(0x34e)](_0x1d78c8);return _0x58ce97||(_0x58ce97=new Map(),_0x2a73c9[_0x28cd5f(0xa4)](_0x1d78c8,_0x58ce97)),_0x58ce97;}[_0x4ff3ff(0x111)](_0x19900f,_0x31c3fc,_0x2339be,_0x134f68){const _0x1373a3=_0x4ff3ff;this[_0x1373a3(0x1b7)](_0x19900f,_0x31c3fc)[_0x1373a3(0xa4)](_0x2339be,_0x134f68);}[_0x4ff3ff(0x123)](_0x292c74,_0x464a24,_0x4f4dda){const _0x29853c=_0x4ff3ff;var _0x5d3ad4,_0x3fc7d5,_0x507560,_0x574895;((_0x3fc7d5=(_0x5d3ad4=this[_0x29853c(0x351)]['get'](_0x292c74))==null?void 0x0:_0x5d3ad4['get'](_0x464a24))==null?void 0x0:_0x3fc7d5[_0x29853c(0x34e)](_0x4f4dda))&&((_0x574895=(_0x507560=this[_0x29853c(0x351)][_0x29853c(0x34e)](_0x292c74))==null?void 0x0:_0x507560['get'](_0x464a24))==null||_0x574895['delete'](_0x4f4dda));}[_0x4ff3ff(0x15f)](_0x537d18,_0x3c9043){const _0x1a1bd9=_0x4ff3ff;this[_0x1a1bd9(0x19e)][_0x1a1bd9(0xa4)](_0x537d18,_0x3c9043);}['_deletePivotTableInstanceCache'](_0x449eac){const _0x4b3cf7=_0x4ff3ff;this[_0x4b3cf7(0x19e)][_0x4b3cf7(0x1db)](_0x449eac);}[_0x4ff3ff(0x85)](_0x32c64d,_0x59d5c6){const _0x4f8ef3=_0x4ff3ff;let _0x23a45d=this[_0x4f8ef3(0x1ca)]['get'](_0x32c64d);_0x23a45d||(_0x23a45d=new Map(),this[_0x4f8ef3(0x1ca)][_0x4f8ef3(0xa4)](_0x32c64d,_0x23a45d));let _0xcfe640=_0x23a45d['get'](_0x59d5c6);return _0xcfe640||(_0xcfe640=new Map(),_0x23a45d[_0x4f8ef3(0xa4)](_0x59d5c6,_0xcfe640)),_0xcfe640;}['updateConfig'](_0x11210c){const _0x4284a1=_0x4ff3ff,{unitId:_0x2bbb17,subUnitId:_0x458241,pivotTableId:_0x40c77c,pivotTableConfig:_0x256e41,collectionConfig:_0xb86b9c}=_0x11210c,_0x17635a={'unitId':_0x2bbb17,'subUnitId':_0x458241,'oldSubUnitId':_0x458241,'pivotTableId':_0x40c77c,'pivotTableConfig':_0x256e41,'collectionConfig':_0xb86b9c};this[_0x4284a1(0x1ff)][_0x4284a1(0x2c6)](_0x278df3['id'],_0x17635a,{'onlyLocal':!0x0});}[_0x4ff3ff(0x8d)](_0x558d39,_0x37c748,_0x39a52a,_0x219b26,_0x4cfaa1,_0x48e6fc,_0xb95f25,_0x79ca41=!0x1){const _0x3b41a7=_0x4ff3ff;var _0x5af693;this['_commandService'][_0x3b41a7(0x2c6)](_0xb34b97['id'],{'single':{'unitId':_0x558d39,'subUnitId':_0x37c748,'type':_0x39a52a,'pivotTableId':_0x219b26,'view':_0x4cfaa1,'pivotConfig':_0x48e6fc},'collectionConfig':{[_0x558d39]:_0xb95f25}},{'onlyLocal':!0x0});const _0x1f6099=!!((_0x5af693=this[_0x3b41a7(0xbd)](_0x219b26))!=null&&_0x5af693[_0x3b41a7(0x314)]()),_0x50acc4=this[_0x3b41a7(0x12e)](_0x558d39,_0x37c748,_0x219b26);_0x50acc4&&this['updateViewData']({'view':_0x4cfaa1,'pivotTableId':_0x219b26,'textInfo':this[_0x3b41a7(0x326)](),'isEmpty':_0x1f6099,'targetCellInfo':_0x50acc4[_0x3b41a7(0x271)]},_0x79ca41);}[_0x4ff3ff(0x2d3)](_0x537177,_0x52b47d){const _0x1cb469=_0x4ff3ff,{targetCellInfo:_0x252bfd,pivotTableId:_0xfa8e0b}=_0x537177,{unitId:_0x4ef06a,subUnitId:_0xe92304}=_0x252bfd,_0x450e2f=this[_0x1cb469(0x85)](_0x4ef06a,_0xe92304),_0x4192d6=_0x450e2f[_0x1cb469(0x34e)](_0xfa8e0b);let _0x3d07a7,_0x52db0d;_0x4192d6&&(_0x3d07a7=_0x4192d6['rangeCache'],_0x52db0d=_0x4192d6[_0x1cb469(0x2ad)]);const {rangesCache:_0x401b5b,matrix:_0x34107f}=_0x26861b(_0x537177);_0x450e2f[_0x1cb469(0xa4)](_0xfa8e0b,{'rangeCache':_0x401b5b,'matrix':_0x34107f,'oldMatrix':_0x52db0d,'oldRangeCache':_0x3d07a7}),_0x52b47d||this[_0x1cb469(0xe8)][_0x1cb469(0x236)]({'unitId':_0x4ef06a,'subUnitId':_0xe92304,'pivotTableId':_0xfa8e0b});}[_0x4ff3ff(0xa2)](_0x289053,_0x293502,_0x5c808,_0xcdcbfb,_0x4e9642){const _0x275877=_0x4ff3ff;this['_updateModelCache'](_0x289053,_0x293502,_0x5c808,_0x4e9642),this[_0x275877(0x15f)](_0x5c808,_0xcdcbfb);}['removePivotTable'](_0x18be02,_0x14d6fe,_0x1642d7){const _0x148449=_0x4ff3ff,_0x1c2368=this[_0x148449(0x28c)](_0x18be02);_0x1c2368['getNoUsedDataFieldIds'](_0x1642d7)['forEach'](_0x4fcd70=>{const _0x54d206=_0x148449;_0x1c2368[_0x54d206(0x336)](_0x4fcd70);}),this[_0x148449(0xd2)](_0x18be02,_0x1642d7),this['_deleteModelCache'](_0x18be02,_0x14d6fe,_0x1642d7),this[_0x148449(0x1dc)](_0x1642d7);}[_0x4ff3ff(0x231)](_0x348de8,_0x2565da,_0x8c9151,_0x17031e){const _0x32683=_0x4ff3ff;this[_0x32683(0x111)](_0x348de8,_0x2565da,_0x8c9151,_0x17031e);}[_0x4ff3ff(0x12e)](_0x118f39,_0x38b6f9,_0x4f4eaa){const _0x418a03=_0x4ff3ff;var _0x252e5f,_0x1e71aa;const _0x103876=(_0x1e71aa=(_0x252e5f=this[_0x418a03(0x351)][_0x418a03(0x34e)](_0x118f39))==null?void 0x0:_0x252e5f[_0x418a03(0x34e)](_0x38b6f9))==null?void 0x0:_0x1e71aa[_0x418a03(0x34e)](_0x4f4eaa);if(_0x103876)return _0x103876;}[_0x4ff3ff(0x301)](_0x23b393,_0x47ab02,_0x290b89){const _0x3d7e65=_0x4ff3ff;var _0x33577e,_0x4ba86b;const _0x3297a7=(_0x4ba86b=(_0x33577e=this[_0x3d7e65(0x351)][_0x3d7e65(0x34e)](_0x23b393))==null?void 0x0:_0x33577e['get'](_0x47ab02))==null?void 0x0:_0x4ba86b[_0x3d7e65(0x34e)](_0x290b89);if(_0x3297a7)return _0x3297a7['fieldsConfig'];}[_0x4ff3ff(0xbd)](_0x4cfb56){const _0x595153=_0x4ff3ff;return this[_0x595153(0x19e)]['get'](_0x4cfb56);}[_0x4ff3ff(0x201)](_0x2ba080){const _0x154187=_0x4ff3ff;this['_model'][_0x154187(0x1db)](_0x2ba080);const _0x1be894=this['_dataFieldManagerCollection'][_0x154187(0x34e)](_0x2ba080);_0x1be894&&(_0x1be894['dispose'](),this[_0x154187(0x1cc)][_0x154187(0x1db)](_0x2ba080)),this['_viewData'][_0x154187(0x1db)](_0x2ba080),this[_0x154187(0xd9)][_0x154187(0x1ed)](_0x396579=>{const _0x74c5db=_0x154187;_0x396579[_0x74c5db(0x201)](_0x2ba080);});}['addCollectionByJSON'](_0x39408c,_0xf09aa5,_0x58be53,_0x4b9a49){return this['getDataFieldManager'](_0x58be53['unitId'])['addCollectionByJSON'](_0x39408c,_0xf09aa5,_0x58be53,_0x4b9a49);}[_0x4ff3ff(0x28f)](_0x19ea73){const _0x5efa9b=_0x4ff3ff;return this[_0x5efa9b(0x28c)](_0x19ea73['unitId'])[_0x5efa9b(0x28f)](_0x19ea73);}[_0x4ff3ff(0x82)](_0x401a55,_0x10ffab,_0xe5585a){const _0x1c80a2=_0x4ff3ff;this[_0x1c80a2(0x28c)](_0xe5585a['unitId'])['refreshData'](_0x401a55,_0x10ffab,_0xe5585a);}['removeDataField'](_0x4a5e1c,_0x28b915){const _0x313116=_0x4ff3ff;this[_0x313116(0x28c)](_0x4a5e1c)[_0x313116(0x336)](_0x28b915);}[_0x4ff3ff(0xd2)](_0x23015e,_0x31f8f4){const _0x4f16da=_0x4ff3ff;this[_0x4f16da(0x28c)](_0x23015e)[_0x4f16da(0xfc)](_0x31f8f4);}[_0x4ff3ff(0x2a8)](_0x56f76c,_0x1138e9){const _0x29b564=_0x4ff3ff;var _0x387c0b;return(_0x387c0b=this[_0x29b564(0x351)][_0x29b564(0x34e)](_0x56f76c))==null?void 0x0:_0x387c0b[_0x29b564(0x34e)](_0x1138e9);}['getTargetByPivotId'](_0x22c142){const _0xbb3d49=_0x4ff3ff;for(const [_0x3f8bb7,_0x10500b]of this['_model'][_0xbb3d49(0x341)]())for(const [_0x3c2123,_0x1b41b3]of _0x10500b[_0xbb3d49(0x341)]())if(_0x1b41b3[_0xbb3d49(0x1ef)](_0x22c142))return{'unitId':_0x3f8bb7,'subUnitId':_0x3c2123};return null;}[_0x4ff3ff(0x240)](_0x4b4227,_0x23f480,_0x46879a,_0x58701a){const _0x4e0491=_0x4ff3ff,_0x4ef785=this[_0x4e0491(0x85)](_0x4b4227,_0x23f480);_0x58701a?_0x4ef785['set'](_0x46879a,_0x58701a):_0x4ef785['delete'](_0x46879a),this[_0x4e0491(0xe8)][_0x4e0491(0x236)]({'unitId':_0x4b4227,'subUnitId':_0x23f480,'pivotTableId':_0x46879a});}[_0x4ff3ff(0x23b)](){super['dispose']();}[_0x4ff3ff(0x1de)](_0x3279f9,_0x31a18c,_0x1e40d4){const _0x1ba65c=_0x4ff3ff;var _0x13205b,_0x1fac4f;const _0x2fdbf6=(_0x1fac4f=(_0x13205b=this[_0x1ba65c(0x1ca)]['get'](_0x3279f9))==null?void 0x0:_0x13205b[_0x1ba65c(0x34e)](_0x31a18c))==null?void 0x0:_0x1fac4f[_0x1ba65c(0x34e)](_0x1e40d4);return _0x2fdbf6||null;}[_0x4ff3ff(0x2a3)](_0x2a02d5){const _0x59fb49=_0x4ff3ff;this[_0x59fb49(0xaa)](_0x2a02d5);}[_0x4ff3ff(0xaa)](_0x42391e){const _0x52a869=_0x4ff3ff,{token:_0x4b5ba4,unitId:_0x578f9f,subUnitId:_0x42c807}=_0x42391e,_0x4167e5=_0x578f9f+'-'+_0x42c807+'-'+_0x4b5ba4;this[_0x52a869(0xd5)][_0x52a869(0x34e)](_0x4167e5)&&clearTimeout(this[_0x52a869(0xd5)][_0x52a869(0x34e)](_0x4167e5));const _0x2b9762=setTimeout(()=>{const _0x4df873=_0x52a869;this['queryDirtyPivotTable'](_0x42391e),this[_0x4df873(0xd5)][_0x4df873(0x1db)](_0x4167e5);},_0x6ee84b);this[_0x52a869(0xd5)][_0x52a869(0xa4)](_0x4167e5,_0x2b9762);}[_0x4ff3ff(0x2e3)](_0x2b4347){const _0x46086e=_0x4ff3ff,{unitId:_0x10f615,subUnitId:_0x5dab0,token:_0xc3437d,type:_0x306874,pivotConfig:_0x1c9381}=_0x2b4347,_0x31b98c=this[_0x46086e(0xbd)](_0xc3437d),_0x28dafa=_0x31b98c==null?void 0x0:_0x31b98c[_0x46086e(0x285)](),_0x406257=_0x1c9381!=null?_0x1c9381:this[_0x46086e(0x12e)](_0x10f615,_0x5dab0,_0xc3437d);_0x406257&&(_0x406257[_0x46086e(0x314)]=!!(_0x31b98c!=null&&_0x31b98c[_0x46086e(0x314)]())),(_0x28dafa||_0x306874===_0x39c7b1[_0x46086e(0x275)])&&this['updateView'](_0x10f615,_0x5dab0,_0x306874,_0xc3437d,_0x28dafa,_0x406257,this[_0x46086e(0x28c)](_0x10f615)[_0x46086e(0x19f)]());}[_0x4ff3ff(0x19f)](_0x4e3052){const _0x45c4b9=_0x4ff3ff,_0x2326fc={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x4e3052)&&(_0x2326fc[_0x45c4b9(0x121)][_0x4e3052]=this['getDataFieldManager'](_0x4e3052)[_0x45c4b9(0x19f)]()),this['_model'][_0x45c4b9(0x34e)](_0x4e3052)){_0x2326fc[_0x45c4b9(0x27d)][_0x4e3052]={};const _0x26b95d=this[_0x45c4b9(0x351)]['get'](_0x4e3052);_0x26b95d!=null&&_0x26b95d[_0x45c4b9(0x26f)]&&[..._0x26b95d[_0x45c4b9(0x255)]()][_0x45c4b9(0x1ed)](_0x4635e=>{const _0x3d6591=_0x45c4b9,_0x37e163=_0x26b95d[_0x3d6591(0x34e)](_0x4635e);_0x37e163!=null&&_0x37e163['size']&&(_0x2326fc[_0x3d6591(0x27d)][_0x4e3052][_0x4635e]={},[..._0x37e163[_0x3d6591(0x255)]()]['forEach'](_0x3ce322=>{const _0xfe747b=_0x3d6591,_0x3a9152=_0x37e163['get'](_0x3ce322);_0x3a9152&&(_0x2326fc[_0xfe747b(0x27d)][_0x4e3052][_0x4635e][_0x3ce322]=_0x3a9152);}));});}return _0x2326fc;}[_0x4ff3ff(0x24b)](_0x2a87e8){const _0x2aa37f=_0x4ff3ff;var _0x21b33a;const {dataFieldManagerConfig:_0x41cdb5,pivotTableConfigs:_0x6648df}=_0x2a87e8;_0x41cdb5&&Object[_0x2aa37f(0x255)](_0x41cdb5)[_0x2aa37f(0x1ed)](_0x11d798=>{const _0xf3554e=_0x2aa37f;this[_0xf3554e(0x28c)](_0x11d798)[_0xf3554e(0x24b)](_0x41cdb5[_0x11d798]);});const _0x4e6a4e=[];if(_0x6648df){const _0x58a96f=(_0x21b33a=this['_injector']['get'](_0x136a03[_0x2aa37f(0x25a)])['getConfig'](_0x3f0c04['LS_CONFIG_KEY']))!=null?_0x21b33a:{},{ls:_0x3be6b8,pbk:_0x179d48}=_0x58a96f,_0x4e6586=_0x3f7c6d(_0x2e79d7,_0x3be6b8,_0x179d48)[_0x2aa37f(0x2f7)];Object['keys'](_0x6648df)[_0x2aa37f(0x1ed)](_0x4aa325=>{const _0x5ad2c2=_0x2aa37f;let _0x57ba11=0x0;const _0xe0712=_0x6648df[_0x4aa325];Object[_0x5ad2c2(0x255)](_0xe0712)[_0x5ad2c2(0x1ed)](_0xa7a5dc=>{const _0xb4515a=_0x5ad2c2,_0x3ac73f=_0xe0712[_0xa7a5dc];Object[_0xb4515a(0x255)](_0x3ac73f)[_0xb4515a(0x1ed)](_0x14ca39=>{const _0xb5ba3c=_0xb4515a,_0x4f8ea3=_0x3ac73f[_0x14ca39];if(_0x4f8ea3){if(_0x57ba11>=_0x4e6586)return;_0x57ba11++;const _0x4e2176=this[_0xb5ba3c(0x28c)](_0x4aa325),_0x5167c0=_0x4e2176[_0xb5ba3c(0x152)][_0x14ca39],_0x125aee=_0x5167c0[_0xb5ba3c(0x136)]();let _0x584e6a=0x0;const _0x2d5a5b=[];for(const _0x38c6de of _0x125aee){const _0x551cb4=_0x5167c0[_0xb5ba3c(0x176)](_0x38c6de);if(_0x10f223[_0xb5ba3c(0x1d9)](_0x551cb4)){const _0x547950=_0x551cb4[_0xb5ba3c(0x116)](),_0x1ce381=_0x5167c0['getFieldById'](_0x547950);_0x1ce381&&_0x2d5a5b[_0xb5ba3c(0xda)]([_0x551cb4,_0x1ce381]);continue;}_0x4e2176['refreshDataField'](_0x38c6de,_0x4f8ea3[_0xb5ba3c(0x329)],_0x584e6a),_0x584e6a++;}_0x2d5a5b['forEach'](([_0x4e71be,_0x3d8c71])=>{const _0x45671c=_0xb5ba3c;_0x4e71be[_0x45671c(0x1b1)](_0x3d8c71);});const _0x2996f0=new _0x10f223['PivotTable'](_0x5167c0);_0x2996f0[_0xb5ba3c(0x24b)](_0x4f8ea3[_0xb5ba3c(0x237)]),this['addPivotTable'](_0x4aa325,_0xa7a5dc,_0x14ca39,_0x2996f0,_0x4f8ea3);const _0x459c20=_0x2996f0[_0xb5ba3c(0x285)]();_0x4e6a4e[_0xb5ba3c(0xda)]({'unitId':_0x4aa325,'subUnitId':_0xa7a5dc,'pivotTableId':_0x14ca39,'view':_0x459c20[_0xb5ba3c(0x19f)](),'pivotConfig':_0x4f8ea3,'type':_0x39c7b1['Add']});const _0x1efac2=!!_0x2996f0['isEmpty'](),_0x79d216={'view':_0x459c20,'pivotTableId':_0x14ca39,'textInfo':this[_0xb5ba3c(0x326)](),'isEmpty':_0x1efac2,'targetCellInfo':_0x4f8ea3[_0xb5ba3c(0x271)]};this[_0xb5ba3c(0x2d3)](_0x79d216,!0x1);}});});});}_0x41cdb5&&Object[_0x2aa37f(0x255)](_0x41cdb5)[_0x2aa37f(0x1ed)](_0x940de2=>{const _0x1d9dee=_0x2aa37f,_0x508a7e=this[_0x1d9dee(0x28c)](_0x940de2);this['_fieldsCollectionChange$'][_0x1d9dee(0x236)](_0x508a7e[_0x1d9dee(0x152)]);}),this[_0x2aa37f(0x1ff)]['executeCommand'](_0xb34b97['id'],{'batch':_0x4e6a4e,'collectionConfig':_0x41cdb5},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x252b58=_0x4ff3ff;this[_0x252b58(0x228)](this[_0x252b58(0x168)]['registerPluginResource']({'toJson':_0x4e762c=>JSON['stringify'](this['toJSON'](_0x4e762c)),'parseJson':_0x7ae164=>{if(!_0x7ae164)return{};try{return JSON['parse'](_0x7ae164);}catch{return{};}},'businesses':[_0x136a03[_0x252b58(0x170)][_0x252b58(0x22b)]],'pluginName':_0x1cd2aa,'onLoad':(_0x2a83ac,_0x1f56e4)=>{this['fromJSON'](_0x1f56e4);},'onUnLoad':_0x1231b9=>{const _0x355c90=_0x252b58;this[_0x355c90(0x201)](_0x1231b9);}}));}},_0x488dae[_0x4ff3ff(0x16d)]=_0x55fd76([_0x2e088c(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['Injector'])),_0x2e088c(0x1,_0x136a03['IUniverInstanceService']),_0x2e088c(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x179)])),_0x2e088c(0x3,_0x136a03[_0x4ff3ff(0x13a)]),_0x2e088c(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x11c)]))],_0x488dae[_0x4ff3ff(0x16d)]);const _0x301814={0x0:{0x0:{'v':_0x4ff3ff(0xb3),'s':_0x2a750b}},0x2:{0x1:{'v':'','s':_0x2a750b},0x2:{'v':'','s':_0x2a750b},0x3:{'v':_0x4ff3ff(0x274),'s':_0x2a750b},0x4:{'v':'','s':_0x2a750b},0x5:{'v':'','s':_0x2a750b}},0x3:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x4:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x5:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x6:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x7:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x8:{0x0:{'v':_0x4ff3ff(0x327),'s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':_0x4ff3ff(0x143),'s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0x9:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xa:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xb:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xc:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}},0xd:{0x0:{'v':'','s':_0x2a750b},0x1:{'v':'','s':_0x3d916b},0x2:{'v':'','s':_0x3d916b},0x3:{'v':'','s':_0x3d916b},0x4:{'v':'','s':_0x3d916b},0x5:{'v':'','s':_0x3d916b}}},_0x325ef4={'rowRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x0,'endColumn':0x0}],'colRanges':[{'startRow':0x2,'endRow':0x2,'startColumn':0x1,'endColumn':0x5}],'dataRanges':[{'startRow':0x3,'endRow':0xd,'startColumn':0x1,'endColumn':0x5}],'pageRanges':[{'startRow':0x0,'endRow':0x0,'startColumn':0x0,'endColumn':0x0}],'cornerRanges':[]},_0x3932c7=(_0x455958,_0x4d92c8)=>{const _0x56af7d=_0x4ff3ff,_0x264719=new _0x136a03[(_0x56af7d(0xfd))](),_0x3a37b9=new _0x136a03[(_0x56af7d(0xfd))](_0x301814),{row:_0x4ea1dd,col:_0x489302}=_0x4d92c8;_0x3a37b9[_0x56af7d(0x171)]((_0x18b46a,_0x2b390d,_0x2047f3)=>{const _0x96b732=_0x56af7d;let _0xb12654='';_0x2047f3['v']===_0x96b732(0xb3)?_0xb12654=_0x455958[_0x96b732(0xb3)]:_0x2047f3['v']===_0x96b732(0x327)?_0xb12654=_0x455958[_0x96b732(0x327)]:_0x2047f3['v']==='column'?_0xb12654=_0x455958[_0x96b732(0x274)]:_0x2047f3['v']===_0x96b732(0x143)&&(_0xb12654=_0x455958['values']),_0x264719['setValue'](_0x18b46a+_0x4ea1dd,_0x2b390d+_0x489302,{..._0x2047f3,'v':_0xb12654});});const _0x1a0094=_0x136a03['Tools'][_0x56af7d(0x1fa)](_0x325ef4);return Object[_0x56af7d(0x255)](_0x325ef4)[_0x56af7d(0x1ed)](_0x5afb1d=>{const _0x5bf7ad=_0x56af7d;_0x1a0094[_0x5afb1d]=_0x325ef4[_0x5afb1d][_0x5bf7ad(0xa3)](_0x3b6771=>({..._0x3b6771,'startRow':_0x3b6771[_0x5bf7ad(0x100)]+_0x4ea1dd,'endRow':_0x3b6771[_0x5bf7ad(0x27a)]+_0x4ea1dd,'startColumn':_0x3b6771[_0x5bf7ad(0x2fd)]+_0x489302,'endColumn':_0x3b6771[_0x5bf7ad(0x304)]+_0x489302}));}),{'matrixCache':_0x264719,'rangesCache':_0x1a0094};};function _0x197ec3(_0x38cd53,_0x5c11e0){const _0x375221=_0x4ff3ff;let _0x8ca0ce='';const _0xb5b905=this['getTextInfo']();switch(_0x5c11e0){case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x1c1)]:_0x8ca0ce=_0xb5b905['sheets-pivot.averageName']+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0x2f7)]:_0x8ca0ce=_0xb5b905[_0x375221(0x2bb)]+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0xeb)]:_0x8ca0ce=_0xb5b905[_0x375221(0x20a)]+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x352)]:_0x8ca0ce=_0xb5b905[_0x375221(0x372)]+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x96)]:_0x8ca0ce=_0xb5b905[_0x375221(0x26d)]+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x269)]:_0x8ca0ce=_0xb5b905[_0x375221(0x173)]+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0x169)]:_0x8ca0ce=_0xb5b905['sheets-pivot.stdDevName']+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)]['stdDevp']:_0x8ca0ce=_0xb5b905['sheets-pivot.stdDevpName']+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)]['sum']:_0x8ca0ce=_0xb5b905['sheets-pivot.sumName']+_0x38cd53;break;case _0x10f223['PivotSubtotalTypeEnum'][_0x375221(0x280)]:_0x8ca0ce=_0xb5b905[_0x375221(0x14e)]+_0x38cd53;break;case _0x10f223[_0x375221(0x1a8)][_0x375221(0x191)]:_0x8ca0ce=_0xb5b905[_0x375221(0x2fb)]+_0x38cd53;break;default:_0x8ca0ce=_0x38cd53;break;}return _0x8ca0ce;}function _0x3872a6(_0x4d4e70,_0x4cd004,_0xc3803a,_0x24bde7,_0x4d5062){const _0x5ea1d8=_0x4ff3ff;var _0x49f5f6,_0xcf6a6e,_0x233b0f,_0x470cc1,_0x76ee0e;const _0x57e70f=_0x136a03[_0x5ea1d8(0x350)](_0x4d4e70,_0x4cd004),{rangesInfo:_0x36aa72,areaInfo:_0x43e4ce,headerMap:_0x4111ad}=_0x4d5062;if(!_0x36aa72||!_0x43e4ce||!_0x4111ad)return;const _0x2b3ff4=Object[_0x5ea1d8(0x255)](_0x36aa72)[_0x5ea1d8(0xf0)](_0x8db462=>_0x36aa72[_0x8db462][_0x5ea1d8(0x1bb)](_0x2f61e3=>_0x136a03['Rectangle'][_0x5ea1d8(0x8c)](_0x2f61e3,_0x57e70f))),_0x1fa8de=_0x43e4ce;let _0x29c3a1,_0x44c5d6,_0x3ac895;if(_0x2b3ff4===_0x5ea1d8(0x11d))_0x29c3a1=(_0x49f5f6=_0x1fa8de==null?void 0x0:_0x1fa8de[_0x5ea1d8(0x20e)])==null?void 0x0:_0x49f5f6[_0x4d4e70],_0x44c5d6=(_0xcf6a6e=_0x4111ad==null?void 0x0:_0x4111ad[_0x5ea1d8(0x247)])==null?void 0x0:_0xcf6a6e[_0x4cd004],_0x3ac895=_0x44c5d6==null?void 0x0:_0x44c5d6[_0x5ea1d8(0xa1)];else{if(_0x2b3ff4===_0x5ea1d8(0x343))_0x29c3a1=(_0x233b0f=_0x1fa8de==null?void 0x0:_0x1fa8de[_0x5ea1d8(0x26b)])==null?void 0x0:_0x233b0f[_0x4cd004],_0x44c5d6=(_0x470cc1=_0x4111ad['colHeaderMap'])==null?void 0x0:_0x470cc1[_0x4d4e70+0x1+_0x4cd004-_0x36aa72[_0x5ea1d8(0x343)][0x0][_0x5ea1d8(0x2fd)]],_0x3ac895=_0x44c5d6==null?void 0x0:_0x44c5d6[_0x5ea1d8(0xa1)];else{if(_0x2b3ff4===_0x5ea1d8(0x17a))_0x29c3a1=(_0x76ee0e=_0x1fa8de==null?void 0x0:_0x1fa8de[_0x5ea1d8(0x7d)])==null?void 0x0:_0x76ee0e[_0x4cd004],_0x3ac895=_0x29c3a1==null?void 0x0:_0x29c3a1[_0x5ea1d8(0xa1)];else{if(_0x2b3ff4==='pageRanges'){const _0x4f64eb=_0xc3803a==null?void 0x0:_0xc3803a['fi'];_0x4f64eb!==void 0x0&&(_0x3ac895=_0x24bde7['getFilterFieldIdByIndex'](_0x4f64eb));}}}}return{'filterId':_0x3ac895,'info':_0x29c3a1,'data':_0xc3803a,'headerInfo':_0x44c5d6};}function _0xfefbb8(_0x29681a,_0x2385ac,_0x50ab26){const _0x4ba746=_0x4ff3ff,_0x1c6471=_0x29681a[_0x4ba746(0x24e)],_0x36fb2e=_0x1c6471[_0x4ba746(0x136)](),_0x42be57=new Set();_0x29681a[_0x4ba746(0x248)](_0x2508ba=>{_0x42be57['add'](_0x2508ba['dataFieldId']);});const _0x1a892f=_0x36fb2e['map'](_0x4c3be3=>{const _0x4c722f=_0x4ba746,_0xddf6f7=_0x1c6471[_0x4c722f(0x176)](_0x4c3be3);return{'checked':_0x42be57[_0x4c722f(0x1ef)](_0x4c3be3),'dataFieldId':_0xddf6f7['id'],'id':_0xddf6f7['id'],'name':_0x1c6471[_0x4c722f(0x2f5)](_0xddf6f7['id']),'type':_0xddf6f7[_0x4c722f(0x23d)](),'pivotTableId':_0x2385ac};}),_0x4c02a9=[];_0x29681a[_0x4ba746(0x2c3)](_0x10f223[_0x4ba746(0x325)][_0x4ba746(0x36f)],_0x4b429b=>{const _0x5ae927=_0x4ba746;_0x4c02a9['push']({'dataFieldId':_0x4b429b[_0x5ae927(0x22d)],'tableFieldId':_0x4b429b[_0x5ae927(0x1c5)](),'displayName':_0x4b429b[_0x5ae927(0x2f5)]()});});const _0x5d03e8=[];_0x29681a['iterateFieldByArea'](_0x10f223['PivotTableFiledAreaEnum']['Column'],_0x47dea6=>{const _0x421d09=_0x4ba746;_0x5d03e8['push']({'dataFieldId':_0x47dea6['dataFieldId'],'tableFieldId':_0x47dea6['getId'](),'displayName':_0x47dea6[_0x421d09(0x2f5)]()});});const _0x26c3be=[];if(_0x29681a[_0x4ba746(0x2c3)](_0x10f223[_0x4ba746(0x325)][_0x4ba746(0x27e)],_0xde04aa=>{const _0x510593=_0x4ba746;_0x26c3be[_0x510593(0xda)]({'dataFieldId':_0xde04aa[_0x510593(0x22d)],'tableFieldId':_0xde04aa['getId'](),'displayName':_0xde04aa[_0x510593(0x2f5)](),'format':_0xde04aa['getFormat'](),'subTotalType':_0xde04aa[_0x510593(0x13d)]()});}),_0x26c3be[_0x4ba746(0x1ae)]>0x1){const _0x1b02cc=_0x29681a[_0x4ba746(0x258)]();(_0x29681a['isColMultiMeasure']()?_0x5d03e8:_0x4c02a9)['splice'](_0x1b02cc,0x0,{'dataFieldId':'','tableFieldId':_0x4ba746(0x26a),'displayName':_0x4ba746(0x1c3)});}const _0x3ad0eb=[];_0x29681a[_0x4ba746(0x2c3)](_0x10f223['PivotTableFiledAreaEnum'][_0x4ba746(0x12c)],_0x68b561=>{const _0x1cecd9=_0x4ba746;_0x3ad0eb[_0x1cecd9(0xda)]({'dataFieldId':_0x68b561[_0x1cecd9(0x22d)],'tableFieldId':_0x68b561[_0x1cecd9(0x1c5)](),'displayName':_0x68b561[_0x1cecd9(0x2f5)]()});});const _0x43276d=_0x50ab26[_0x4ba746(0x329)];return{'sourceList':_0x1a892f,'sourceRange':_0x43276d,'rowFields':_0x4c02a9,'columnFields':_0x5d03e8,'valueFields':_0x26c3be,'filterFields':_0x3ad0eb,'positionInfo':_0x50ab26[_0x4ba746(0x271)]};}function _0x244586(_0xbfc175,_0x465ee0,_0x2f298b='',_0x4dcea9={}){const _0x3ed539=_0x4ff3ff,_0x53a661=_0xbfc175[_0x3ed539(0x34e)](_0x136a03[_0x3ed539(0xac)]);for(const _0x463027 in _0x465ee0)if(Object[_0x3ed539(0x137)][_0x3ed539(0x373)]['call'](_0x465ee0,_0x463027)){const _0xc02e38=_0x2f298b?_0x2f298b+'.'+_0x463027:_0x463027;typeof _0x465ee0[_0x463027]==_0x3ed539(0x134)&&_0x465ee0[_0x463027]!==null&&!Array[_0x3ed539(0x18a)](_0x465ee0[_0x463027])?_0x244586(_0xbfc175,_0x465ee0[_0x463027],_0xc02e38,_0x4dcea9):_0x4dcea9[_0xc02e38]=_0x53a661['t'](_0xc02e38);}return _0x4dcea9;}const _0x2a3c2e=_0x299f97=>{const _0x2f719d=_0x4ff3ff;if(!_0x299f97)return[];const {rowRanges:_0x2c2f01,colRanges:_0x4adbec,cornerRanges:_0x2e9d65,dataRanges:_0x370178,pageRanges:_0xbdb901}=_0x299f97,_0x50c103=[..._0x4adbec,..._0x2c2f01,..._0x370178,..._0x2e9d65][_0x2f719d(0xb3)](_0x353bf4=>_0x353bf4[_0x2f719d(0x100)]>=0x0&&_0x353bf4[_0x2f719d(0x2fd)]>=0x0&&_0x353bf4['endRow']>=0x0&&_0x353bf4[_0x2f719d(0x304)]>=0x0);let _0x1735ab=Number['MAX_SAFE_INTEGER'],_0x3d79d6=Number[_0x2f719d(0x25c)],_0x3d0280=Number[_0x2f719d(0x10d)],_0x4d534d=Number[_0x2f719d(0x25c)];for(let _0x5f5c53=0x0;_0x5f5c53<_0x50c103[_0x2f719d(0x1ae)];_0x5f5c53++)_0x1735ab=Math['min'](_0x1735ab,_0x50c103[_0x5f5c53][_0x2f719d(0x100)]),_0x3d79d6=Math[_0x2f719d(0x352)](_0x3d79d6,_0x50c103[_0x5f5c53][_0x2f719d(0x27a)]),_0x3d0280=Math['min'](_0x3d0280,_0x50c103[_0x5f5c53][_0x2f719d(0x2fd)]),_0x4d534d=Math['max'](_0x4d534d,_0x50c103[_0x5f5c53][_0x2f719d(0x304)]);return[..._0xbdb901,{'startRow':_0x1735ab,'endRow':_0x3d79d6,'startColumn':_0x3d0280,'endColumn':_0x4d534d}];};function _0x3e3f3b(_0xde5fad,_0x30cd54){const _0x59c3f4=_0x4ff3ff,_0xdab665=_0x30cd54[_0x59c3f4(0x221)]['drillDown'],{pivotTableId:_0x4271ee,unitId:_0x60b666,subUnitId:_0x5594fb}=_0x30cd54;if(!_0xdab665)return;const _0x587424=_0xde5fad[_0x59c3f4(0x34e)](_0x488dae[_0x59c3f4(0x16d)]),_0x2c1537=_0x587424['getPivotTableInstance'](_0x4271ee),_0x174084=_0x587424['getPivotTableConfig'](_0x60b666,_0x5594fb,_0x4271ee);if(!_0x2c1537||!_0x174084)return;const _0x15ce14=_0x2c1537[_0x59c3f4(0x1fc)](_0xdab665[_0x59c3f4(0x2d9)]);if(!(_0x15ce14!=null&&_0x15ce14[_0x59c3f4(0x1ae)]))return;const _0x186c75=_0x174084['sourceRangeInfo'],{unitId:_0x4457f0,subUnitId:_0x460ca9,range:_0x41e749}=_0x186c75;let _0x4af211=0x0;const _0xbe377f=_0x2c1537['dataFieldsCollection'][_0x59c3f4(0x136)]()[_0x59c3f4(0x194)]((_0x3dce02,_0x2f66ab)=>{const _0x1b5988=_0x59c3f4;var _0x5e4e6a;const _0x52170e=(_0x5e4e6a=_0x2c1537['getDataFieldByDataFieldId'](_0x2f66ab))==null?void 0x0:_0x5e4e6a[_0x1b5988(0x98)]();return _0x52170e&&(_0x3dce02[String(_0x4af211)]=_0x52170e),_0x4af211++,_0x3dce02;},{});return{'indexes':_0x15ce14,'range':_0x41e749,'sourceUnitId':_0x4457f0,'sourceSubUnitId':_0x460ca9,'formatMap':_0xbe377f};}function _0x2974b0(_0x582288,_0xc9db24){const _0x177207=_0x4ff3ff;if(!_0x582288||!_0xc9db24)return!0x0;const _0x554e79=_0x3f0c04[_0x177207(0x11a)](_0x45ffe5,_0x1a7eec),_0x143c67=new Function(_0x177207(0x140)+_0x554e79)()(_0x582288,_0xc9db24)[_0x177207(0x1da)],_0x7d4a94=_0x3f0c04[_0x177207(0x22e)](_0x143c67,'sf',_0x5a2b1a);return!((_0x143c67==null?void 0x0:_0x143c67['rt'])===_0x3f0c04[_0x177207(0x334)]['NO_COMMERCIAL']&&!_0x7d4a94);}function _0x3f7c6d(_0x216398,_0x184cdd,_0x4ee1f2){const _0x543864=_0x4ff3ff,_0x1aeb72={'count':_0x216398,'timeValid':!0x1};if(!_0x184cdd||!_0x4ee1f2)return _0x1aeb72;const _0x1ce44c=_0x3f0c04['unshiftString'](_0x45ffe5,_0x1a7eec),_0x49c5ec=new Function(_0x543864(0x140)+_0x1ce44c)()(_0x184cdd,_0x4ee1f2);if(_0x49c5ec!=null&&_0x49c5ec[_0x543864(0x313)]){const _0x15257b=_0x49c5ec[_0x543864(0x1da)],_0x3ad204=_0x3f0c04[_0x543864(0x22e)](_0x15257b,'sf',_0x5a2b1a);return{'count':_0x3f0c04[_0x543864(0x291)](_0x15257b,_0x3ad204,'ptn',_0x216398,_0x216398,0x0),'timeValid':_0x3ad204};}return _0x1aeb72;}function _0x536fef(_0xb6b58,_0x458aee,_0x5883b8,_0x5ed20e){const _0x592b39=_0x4ff3ff,_0xe45008={'subUnitId':_0x5883b8,'unitId':_0x458aee,'cellValue':_0x47d532[_0x592b39(0x14a)](_0x5ed20e)},_0x5749ca=_0x47d532[_0x592b39(0x220)](_0xb6b58,_0xe45008);let _0x5171b7=!0x1;return new _0x136a03[(_0x592b39(0xfd))](_0x5749ca[_0x592b39(0x241)])[_0x592b39(0x171)]((_0x43d756,_0x591319,_0x5187e9)=>{const _0x1bf262=_0x592b39;if(!_0x5171b7&&_0x5187e9&&(_0x5187e9[_0x1bf262(0x31b)]||_0x5187e9['f']||_0x5187e9['p']||_0x5187e9['s']||_0x5187e9['si']||_0x5187e9['t']||_0x5187e9['v']))return _0x5171b7=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x47d532[_0x592b39(0x31e)]['id'],'params':_0x5749ca},'setRangeValueRedoMutation':{'id':_0x47d532[_0x592b39(0x31e)]['id'],'params':_0xe45008},'shouldClear':_0x5171b7};}function _0x4095bd(_0x2712b4){const {row:_0x467deb,col:_0x26114f}=_0x2712b4,_0x2c42fe={'startRow':_0x467deb,'endRow':_0x467deb,'startColumn':_0x26114f,'endColumn':_0x26114f},_0x46b7d6={'startRow':_0x467deb+0x2,'endRow':_0x467deb+0xe,'startColumn':_0x26114f,'endColumn':_0x26114f+0x6};return[_0x2c42fe,_0x46b7d6];}function _0x45a63a(_0x5e5efe,_0x21148e,_0x3a375f){const _0x2b5d66=_0x4ff3ff,{cornerView:_0x336a8b,rowView:_0x3ad5d6,colView:_0x3e0b2a,pageView:_0x293b10}=_0x5e5efe,{row:_0x1dce69,col:_0x43cdda}=_0x21148e;if(_0x3a375f)return{'rowCount':_0x556934+_0x1dce69,'colCount':_0x54b8fb+_0x43cdda};const _0x129348=_0x293b10[_0x2b5d66(0x366)]>-0x1?_0x293b10[_0x2b5d66(0x366)]+0x1:0x0,_0x20b690=_0x293b10[_0x2b5d66(0x7c)]>-0x1?_0x293b10[_0x2b5d66(0x7c)]:0x0,_0x504ed1=_0x1dce69+_0x129348+(_0x129348?0x1:0x0)+_0x336a8b['rowCount']+_0x3ad5d6[_0x2b5d66(0x2ba)],_0x2d95ef=_0x43cdda+_0x20b690,_0x16119b=_0x43cdda+_0x336a8b[_0x2b5d66(0x1ac)]+_0x3e0b2a['colCount'],_0x45d8b0=Math['max'](_0x2d95ef,_0x16119b);return{'rowCount':_0x504ed1,'colCount':_0x45d8b0};}function _0x1fa301(_0x313a21,_0x3dd972,_0x39f1b2,_0x1be3f5){const _0x5cbc75=_0x4ff3ff,{row:_0x3fa788,col:_0x3e87a2,unitId:_0x3a6452,subUnitId:_0xe65842}=_0x39f1b2,_0x1ba4d9=_0x45a63a(_0x3dd972,{'row':_0x3fa788,'col':_0x3e87a2},_0x1be3f5),_0x56776b=_0x313a21[_0x5cbc75(0x34e)](_0x136a03[_0x5cbc75(0x227)]),_0x2dd036=_0x47d532[_0x5cbc75(0x1f7)](_0x56776b,{'unitId':_0x3a6452,'subUnitId':_0xe65842}),_0x2e6284=[],_0x12d798=[];if(!_0x2dd036)return{'undos':_0x12d798,'redos':_0x2e6284};const {worksheet:_0x27e941}=_0x2dd036,_0x5011bf=_0x27e941['getRowCount'](),_0x3e185a=_0x27e941[_0x5cbc75(0x2fe)]();return _0x5011bf<_0x1ba4d9['rowCount']&&(_0x2e6284[_0x5cbc75(0xda)]({'id':_0x47d532[_0x5cbc75(0x219)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':_0x5011bf,'endRow':_0x1ba4d9[_0x5cbc75(0x2ba)]-0x1,'startColumn':0x0,'endColumn':_0x3e185a-0x1}}}),_0x12d798['push']({'id':_0x47d532[_0x5cbc75(0x80)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':_0x5011bf,'endRow':_0x1ba4d9['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x3e185a-0x1}}})),_0x3e185a<_0x1ba4d9[_0x5cbc75(0x1ac)]&&(_0x2e6284[_0x5cbc75(0xda)]({'id':_0x47d532[_0x5cbc75(0xcb)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':0x0,'endRow':_0x5011bf-0x1,'startColumn':_0x3e185a,'endColumn':_0x1ba4d9['colCount']-0x1}}}),_0x12d798[_0x5cbc75(0xda)]({'id':_0x47d532[_0x5cbc75(0x367)]['id'],'params':{'unitId':_0x3a6452,'subUnitId':_0xe65842,'range':{'startRow':0x0,'endRow':_0x5011bf-0x1,'startColumn':_0x3e185a,'endColumn':_0x1ba4d9[_0x5cbc75(0x1ac)]-0x1}}})),{'undos':_0x12d798,'redos':_0x2e6284};}function _0x4ff569(_0x433536){const _0x466861=_0x4ff3ff;let _0x5702ad=0x0;for(let _0x252394=0x0;_0x252394<_0x433536['length'];_0x252394++){const _0x1f25b3=_0x433536[_0x466861(0x335)](_0x252394);_0x1f25b3>=0x4e00&&_0x1f25b3<=0x9fff||_0x1f25b3>=0x3000&&_0x1f25b3<=0x303f||_0x1f25b3>=0xff00&&_0x1f25b3<=0xffef?_0x5702ad+=0x2:_0x5702ad+=0x1;}return _0x5702ad;}function _0x3cfabb(_0x4fc717,_0x2f8a7a,_0x44a867,_0x1f27e6){const _0x55ce42=_0x4ff3ff;var _0x169a0e,_0xb6b857,_0x154b4a,_0x6b26f0;const {rowCount:_0x392c25,colCount:_0x2aa1fd,headerMap:_0x1d530a}=_0x4fc717,_0x116406=0x64,_0x215dfa=Math[_0x55ce42(0x96)](_0x392c25,_0x116406),_0x170863=Math['min'](_0x2aa1fd,_0x116406);let _0x1dc591='',_0x85a19a=0x0;for(let _0x9d8721=0x0;_0x9d8721<_0x215dfa;_0x9d8721++)for(let _0x5a524c=0x0;_0x5a524c<_0x170863;_0x5a524c++){const _0x3d998e={...(_0xb6b857=(_0x169a0e=_0x4fc717[_0x55ce42(0x2b0)])==null?void 0x0:_0x169a0e[_0x9d8721])==null?void 0x0:_0xb6b857[_0x5a524c]},_0x9900f6=(_0x154b4a=_0x1d530a[_0x9d8721])==null?void 0x0:_0x154b4a['tableFieldId'],_0x20e02f=_0x1f27e6[_0x9900f6];let _0x5988d1=_0x4fc717[_0x55ce42(0x2b7)](_0x9d8721,_0x5a524c);if(_0x3d998e){const _0x367ba8=_0x44a867?_0x5a524c===0x0&&((_0x6b26f0=_0x4fc717[_0x55ce42(0x20c)](_0x5a524c+0x1))==null?void 0x0:_0x6b26f0[_0x55ce42(0x2e7)]):!0x1;_0x5988d1=_0x25418d(_0x3d998e,_0x367ba8,_0x20e02f,_0x2f8a7a);}if(_0x5988d1!==void 0x0){const _0x4aae45=_0x4ff569(String(_0x5988d1));_0x85a19a<_0x4aae45&&(_0x1dc591=String(_0x5988d1),_0x85a19a=_0x4aae45);}}return _0x1dc591;}function _0x23b946(_0x39ac04){const _0x2b29f1=_0x4ff3ff,{rowCount:_0x45cbf5,colCount:_0x4f9e7c}=_0x39ac04;let _0x36e1c0='',_0x3e4fe5=0x0;for(let _0x39baf9=_0x45cbf5-0x1;_0x39baf9>0x0&&_0x39baf9>_0x45cbf5-0x3;_0x39baf9--)for(let _0x546b04=0x0;_0x546b04<_0x4f9e7c;_0x546b04++){const _0x3f595b=_0x39ac04['getValue'](_0x39baf9,_0x546b04);if(_0x3f595b!==void 0x0){const _0x1640fd=String(_0x3f595b)[_0x2b29f1(0x1ae)];_0x3e4fe5<_0x1640fd&&(_0x36e1c0=String(_0x3f595b),_0x3e4fe5=_0x1640fd);}}return _0x36e1c0;}function _0x18e8a2(_0x203817){const _0xe635cf=_0x4ff3ff,{rowCount:_0x53c02f,colCount:_0x4880fe}=_0x203817;let _0x32af01='',_0x5b083e=0x0;for(let _0x148c77=0x0;_0x148c77<_0x53c02f;_0x148c77++)for(let _0x21ced5=0x0;_0x21ced5<_0x4880fe;_0x21ced5++){const _0x7b749c=_0x203817[_0xe635cf(0x2b7)](_0x148c77,_0x21ced5);if(_0x7b749c!==void 0x0){const _0x201a00=String(_0x7b749c)[_0xe635cf(0x1ae)];_0x5b083e<_0x201a00&&(_0x32af01=String(_0x7b749c),_0x5b083e=_0x201a00);}}return _0x32af01;}function _0x3d01c0(_0x5c3f1c,_0x334696){const _0x30e831=_0x4ff3ff,{rowFields:_0xca2eff,columnFields:_0x3cf97f,valueFields:_0x25430b,filterFields:_0x1d7d46,dimension:_0x48ddd6,measure:_0xef39fc}=_0x334696;for(const _0x5815ed of _0xca2eff){const _0x24e974=_0x48ddd6[_0x5815ed];_0x24e974&&_0x5c3f1c[_0x30e831(0x306)](_0x24e974[_0x30e831(0x22d)])&&(_0x5c3f1c[_0x30e831(0x1e3)](_0x24e974[_0x30e831(0x22d)],_0x10f223[_0x30e831(0x325)][_0x30e831(0x36f)],void 0x0,_0x5815ed),_0x24e974[_0x30e831(0x12f)]&&_0x5c3f1c[_0x30e831(0x2c7)](_0x24e974['id'],_0x24e974['displayName']),_0x24e974['sortInfo']&&_0x5c3f1c['setSortInfo'](_0x24e974['id'],_0x24e974['sortInfo']),_0x24e974[_0x30e831(0xe9)]&&_0x5c3f1c[_0x30e831(0x1fb)](_0x24e974['id'],_0x24e974['filterInfo']));}for(const _0x27ab1a of _0x3cf97f){const _0x4a855e=_0x48ddd6[_0x27ab1a];_0x4a855e&&_0x5c3f1c[_0x30e831(0x306)](_0x4a855e[_0x30e831(0x22d)])&&(_0x5c3f1c['addFieldWithSourceId'](_0x4a855e[_0x30e831(0x22d)],_0x10f223['PivotTableFiledAreaEnum'][_0x30e831(0x1a5)],void 0x0,_0x27ab1a),_0x4a855e[_0x30e831(0x157)]&&_0x5c3f1c['setSortInfo'](_0x4a855e['id'],_0x4a855e[_0x30e831(0x157)]),_0x4a855e['filterInfo']&&_0x5c3f1c[_0x30e831(0x1fb)](_0x4a855e['id'],_0x4a855e[_0x30e831(0xe9)]),_0x4a855e['displayName']&&_0x5c3f1c[_0x30e831(0x2c7)](_0x4a855e['id'],_0x4a855e[_0x30e831(0x12f)]));}for(const _0x3e64b2 of _0x1d7d46){const _0x2c3bf3=_0x48ddd6[_0x3e64b2];_0x2c3bf3&&_0x5c3f1c[_0x30e831(0x306)](_0x2c3bf3[_0x30e831(0x22d)])&&(_0x5c3f1c[_0x30e831(0x1e3)](_0x2c3bf3[_0x30e831(0x22d)],_0x10f223[_0x30e831(0x325)][_0x30e831(0x12c)],void 0x0,_0x3e64b2),_0x2c3bf3['sortInfo']&&_0x5c3f1c[_0x30e831(0xe3)](_0x2c3bf3['id'],_0x2c3bf3[_0x30e831(0x157)]),_0x2c3bf3[_0x30e831(0xe9)]&&_0x5c3f1c['setLabelFilterInfo'](_0x2c3bf3['id'],_0x2c3bf3[_0x30e831(0xe9)]),_0x2c3bf3['displayName']&&_0x5c3f1c[_0x30e831(0x2c7)](_0x2c3bf3['id'],_0x2c3bf3[_0x30e831(0x12f)]));}for(const _0x1f2631 of _0x25430b){const _0x59a602=_0xef39fc[_0x1f2631];_0x59a602&&_0x5c3f1c[_0x30e831(0x306)](_0x59a602['dataFieldId'])&&(_0x5c3f1c[_0x30e831(0x1e3)](_0x59a602['dataFieldId'],_0x10f223['PivotTableFiledAreaEnum'][_0x30e831(0x27e)],void 0x0,_0x1f2631),_0x59a602['subtotal']!==void 0x0&&_0x5c3f1c['setSubtotalType'](_0x1f2631,_0x59a602[_0x30e831(0x118)]),_0x59a602[_0x30e831(0x276)]&&_0x5c3f1c[_0x30e831(0x207)](_0x1f2631,_0x59a602[_0x30e831(0x276)]),_0x59a602[_0x30e831(0x12f)]&&_0x5c3f1c[_0x30e831(0x2c7)](_0x59a602['id'],_0x59a602['displayName']));}const _0x8908f1=_0x334696[_0x30e831(0x361)];for(const {fieldId:_0x1d593b,filterInfo:_0x53a89a}of _0x8908f1)_0x5c3f1c[_0x30e831(0x79)](_0x1d593b,_0x53a89a);}function _0x3e5ccc(_0x39fbde,_0x3bade0){const _0x28f001=_0x4ff3ff,_0x1659f1=[];_0x3bade0===_0x10f223[_0x28f001(0x325)][_0x28f001(0x36f)]&&_0x39fbde['iterateFieldByArea'](_0x10f223[_0x28f001(0x325)]['Row'],_0x36a8ab=>{const _0xf99c2b=_0x28f001;_0x1659f1[_0xf99c2b(0xda)](_0x36a8ab[_0xf99c2b(0x1c5)]());}),_0x3bade0===_0x10f223[_0x28f001(0x325)]['Column']&&_0x39fbde[_0x28f001(0x2c3)](_0x10f223['PivotTableFiledAreaEnum'][_0x28f001(0x1a5)],_0x38cf1f=>{const _0x3390d9=_0x28f001;_0x1659f1[_0x3390d9(0xda)](_0x38cf1f[_0x3390d9(0x1c5)]());}),_0x3bade0===_0x10f223[_0x28f001(0x325)][_0x28f001(0x12c)]&&_0x39fbde[_0x28f001(0x2c3)](_0x10f223[_0x28f001(0x325)]['Filter'],_0x1a97b6=>{_0x1659f1['push'](_0x1a97b6['getId']());}),_0x3bade0===_0x10f223[_0x28f001(0x325)]['Value']&&_0x39fbde[_0x28f001(0x2c3)](_0x10f223[_0x28f001(0x325)][_0x28f001(0x27e)],_0x4f045b=>{const _0x5a8b36=_0x28f001;_0x1659f1[_0x5a8b36(0xda)](_0x4f045b[_0x5a8b36(0x1c5)]());}),_0x3bade0===void 0x0&&_0x39fbde[_0x28f001(0x248)](_0x38754c=>{const _0x1deace=_0x28f001;_0x1659f1[_0x1deace(0xda)](_0x38754c[_0x1deace(0x1c5)]());});const _0xcabe0e=_0x1659f1[_0x28f001(0x1ae)];for(let _0x41dd9a=_0xcabe0e-0x1;_0x41dd9a>=0x0;_0x41dd9a--)_0x39fbde['removeField'](_0x1659f1[_0x41dd9a]);const _0x1e3b3c=_0x39fbde['getValueFilterInfos']();for(const _0x384e6a in _0x1e3b3c)_0x39fbde[_0x28f001(0x189)](_0x384e6a);}function _0x16f9d4(_0x1cbe11,_0x3a7a01){const _0x3d6cac=_0x4ff3ff,_0x58a37a=new Date(_0x10f223[_0x3d6cac(0xc6)](_0x3a7a01)),_0x4f2780=new Date(_0x10f223[_0x3d6cac(0xc6)](_0x1cbe11)),_0x25996b=_0x58a37a['getFullYear'](),_0x1f614c=_0x4f2780[_0x3d6cac(0x182)](),_0x4e7d6d=_0x58a37a[_0x3d6cac(0x66)](),_0x20203d=_0x4f2780[_0x3d6cac(0x66)](),_0x542946=_0x58a37a[_0x3d6cac(0x2bf)](),_0x8ad9b1=_0x4f2780[_0x3d6cac(0x2bf)](),_0xb7b825=_0x25996b===_0x1f614c,_0x182030=_0xb7b825&&_0x4e7d6d===_0x20203d;return _0xb7b825&&_0x182030&&!(_0x182030&&_0x542946===_0x8ad9b1)?_0x10f223[_0x3d6cac(0xff)][_0x3d6cac(0x283)]:_0xb7b825&&!_0x182030?_0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x3d6cac(0x2f8)]:_0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x3d6cac(0x25b)];}function _0x435c15(_0x3214ae,_0x101ced){const _0x346d3d=_0x4ff3ff,_0xe1d09e=_0x3214ae[_0x346d3d(0x34e)](_0x488dae[_0x346d3d(0x16d)])['getTextInfo']();let _0x24e5f2='';switch(_0x101ced){case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x283)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x35f)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x2f8)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x2b9)];break;case _0x10f223[_0x346d3d(0xff)]['Year']:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.year'];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x209)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0xd8)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x368)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x362)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x1a3)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0x363)];break;case _0x10f223['PivotDateGroupFieldDateTypeEnum']['HourMinute']:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.hourMinute'];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x2d2)]:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.hour'];break;case _0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x346d3d(0x263)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0xbe)];break;case _0x10f223[_0x346d3d(0xff)][_0x346d3d(0x346)]:_0x24e5f2=_0xe1d09e['sheets-pivot.dateGroup.monthDate'];break;case _0x10f223['PivotDateGroupFieldDateTypeEnum'][_0x346d3d(0x1e9)]:_0x24e5f2=_0xe1d09e[_0x346d3d(0xc8)];break;default:_0x24e5f2='';break;}return _0x24e5f2;}const _0x3b6c37=_0x4ff3ff(0x76),_0x1af530={};var _0x5bfd6d=Object[_0x4ff3ff(0xba)],_0x24bd1e=(_0x368167,_0x42c7a5,_0x264172,_0xe16e24)=>{const _0xd7424f=_0x4ff3ff;for(var _0x38547e=_0xe16e24>0x1?void 0x0:_0xe16e24?_0x5bfd6d(_0x42c7a5,_0x264172):_0x42c7a5,_0x1014c2=_0x368167[_0xd7424f(0x1ae)]-0x1,_0x28ebfd;_0x1014c2>=0x0;_0x1014c2--)(_0x28ebfd=_0x368167[_0x1014c2])&&(_0x38547e=_0x28ebfd(_0x38547e)||_0x38547e);return _0x38547e;},_0x4eb64f=(_0x7c736f,_0x23d423)=>(_0x566702,_0x2fdbb2)=>_0x23d423(_0x566702,_0x2fdbb2,_0x7c736f);_0x488dae[_0x4ff3ff(0x302)]=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x2e9317,_0x354e79,_0x1cc82a,_0x529d2,_0x7f22d6){const _0x5baf64=_0x4ff3ff;super(),_0x4779db(this,'_model',new Map()),_0x4779db(this,_0x5baf64(0x2d0),new Map()),_0x4779db(this,'_pivotTableRangeInfo',new Map()),_0x4779db(this,_0x5baf64(0xa0),new Map()),_0x4779db(this,'_configVersion$',new _0x4d3cd2[(_0x5baf64(0x1a6))]()),_0x4779db(this,_0x5baf64(0x355),new _0x4d3cd2['Subject']()),_0x4779db(this,'pivotInitCompleted$',this[_0x5baf64(0x355)][_0x5baf64(0x370)]()),_0x4779db(this,_0x5baf64(0x10b),new _0x4d3cd2[(_0x5baf64(0x1a6))]()),_0x4779db(this,'pivotConfigChange$',this[_0x5baf64(0x10b)][_0x5baf64(0x370)]()),_0x4779db(this,'_textInfo',{}),_0x4779db(this,_0x5baf64(0x14c),this[_0x5baf64(0x2dc)]['asObservable']()),(this[_0x5baf64(0x17c)]=_0x2e9317,this[_0x5baf64(0x1ff)]=_0x354e79,this[_0x5baf64(0x317)]=_0x1cc82a,this[_0x5baf64(0x168)]=_0x529d2,this[_0x5baf64(0x2cb)]=_0x7f22d6,this[_0x5baf64(0x1f9)](),this['_initUnitDisposed']());const _0x2cc5ab=this['_configService']['getConfig'](_0x3b6c37);(_0x2cc5ab==null?void 0x0:_0x2cc5ab[_0x5baf64(0x254)])===!0x0&&this[_0x5baf64(0x21e)]();}[_0x4ff3ff(0x234)](){const _0x3f46d4=_0x4ff3ff;this[_0x3f46d4(0x228)](this[_0x3f46d4(0x317)][_0x3f46d4(0x210)](_0x136a03[_0x3f46d4(0x170)][_0x3f46d4(0x22b)])['subscribe'](_0x4f0603=>{this['deleteUnitId'](_0x4f0603['getUnitId']());}));}[_0x4ff3ff(0x1f6)](){const _0x17d8b8=_0x4ff3ff;this[_0x17d8b8(0x355)]['next'](!0x0);}[_0x4ff3ff(0x1f9)](){const _0x812b8=_0x4ff3ff,_0x355dc8=_0x244586(this[_0x812b8(0x17c)],_0xaf0570,'',{});this[_0x812b8(0x211)]=_0x355dc8,this['_commandService']['executeCommand'](_0x30da9f['id'],{'textInfo':_0x355dc8},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x57d006=_0x4ff3ff;return this[_0x57d006(0x211)];}[_0x4ff3ff(0x7e)](_0x4a9152,_0x5c7f5d,_0x1e0987,_0x10e818,_0x32df30){this['updatePivotTableMatrixInfo'](_0x4a9152,_0x5c7f5d,_0x1e0987,_0x10e818),this['updatePivotTableRangeInfo'](_0x4a9152,_0x5c7f5d,_0x1e0987,_0x32df30);}[_0x4ff3ff(0x12e)](_0x216d3a,_0x4ccf08,_0x20ddff){const _0x2e9b98=_0x4ff3ff;var _0x18615b;const _0x5261f6=(_0x18615b=this[_0x2e9b98(0x351)][_0x2e9b98(0x34e)](_0x216d3a))==null?void 0x0:_0x18615b[_0x2e9b98(0x34e)](_0x4ccf08);if(_0x5261f6)return _0x5261f6['get'](_0x20ddff);}['getTargetByPivotTableId'](_0x2e5e4e,_0x3ad7ed){const _0x55ebd3=_0x4ff3ff,_0x41daae=this['_model']['get'](_0x2e5e4e);if(_0x41daae){for(const [_0x31d42b,_0x184af7]of _0x41daae['entries']())for(const [_0x462998,_0x5a1dda]of _0x184af7[_0x55ebd3(0x341)]())if(_0x462998===_0x3ad7ed)return _0x5a1dda['targetCellInfo'];}}[_0x4ff3ff(0x1e7)](_0x4abc12,_0x23e127,_0x34985b){const _0x4e36dd=_0x4ff3ff,_0x14c4d0=this[_0x4e36dd(0x12e)](_0x4abc12,_0x23e127,_0x34985b);return _0x14c4d0==null?void 0x0:_0x14c4d0[_0x4e36dd(0x271)];}[_0x4ff3ff(0x2a8)](_0x2a6cae,_0xf6ab24){const _0x5a5208=_0x4ff3ff;var _0x5455ff;return(_0x5455ff=this[_0x5a5208(0x351)]['get'](_0x2a6cae))==null?void 0x0:_0x5455ff[_0x5a5208(0x34e)](_0xf6ab24);}[_0x4ff3ff(0xad)](_0x17299c,_0x699a33,_0x41f7eb,_0x40f651){const _0x295eaf=_0x4ff3ff,_0x5aa1e5=this[_0x295eaf(0x1b7)](_0x17299c,_0x699a33);_0x40f651?_0x5aa1e5[_0x295eaf(0xa4)](_0x41f7eb,_0x40f651):_0x5aa1e5[_0x295eaf(0x1db)](_0x41f7eb),this[_0x295eaf(0x10b)][_0x295eaf(0x236)]({'unitId':_0x17299c,'subUnitId':_0x699a33,'pivotTableId':_0x41f7eb,'pivotTableConfig':_0x40f651});}['getCollection'](_0x811db3,_0x19cf53){const _0x359a8e=_0x4ff3ff;var _0x59ecb4;return(_0x59ecb4=this[_0x359a8e(0x2d0)][_0x359a8e(0x34e)](_0x811db3))==null?void 0x0:_0x59ecb4[_0x359a8e(0x152)][_0x19cf53];}[_0x4ff3ff(0x35c)](_0x564354,_0x4987a4){const _0x230a51=_0x4ff3ff;this[_0x230a51(0x2d0)]['set'](_0x564354,_0x4987a4),this[_0x230a51(0x2dc)][_0x230a51(0x236)](Math[_0x230a51(0x90)]());}['_ensurePivotMap'](_0x28a918,_0x43c493){const _0x32f22d=_0x4ff3ff;let _0x4449d4=this['_model'][_0x32f22d(0x34e)](_0x28a918);_0x4449d4||(_0x4449d4=new Map(),this[_0x32f22d(0x351)][_0x32f22d(0xa4)](_0x28a918,_0x4449d4));let _0x6b1dfb=_0x4449d4[_0x32f22d(0x34e)](_0x43c493);return _0x6b1dfb||(_0x6b1dfb=new Map(),_0x4449d4[_0x32f22d(0xa4)](_0x43c493,_0x6b1dfb)),_0x6b1dfb;}[_0x4ff3ff(0x371)](_0x10aad4,_0x3b50fd){const _0x4aa75f=_0x4ff3ff;let _0x26dbdb=this[_0x4aa75f(0x6f)][_0x4aa75f(0x34e)](_0x10aad4);_0x26dbdb||(_0x26dbdb=new Map(),this[_0x4aa75f(0x6f)][_0x4aa75f(0xa4)](_0x10aad4,_0x26dbdb));let _0x7ad869=_0x26dbdb[_0x4aa75f(0x34e)](_0x3b50fd);return _0x7ad869||(_0x7ad869=new Map(),_0x26dbdb['set'](_0x3b50fd,_0x7ad869)),_0x7ad869;}[_0x4ff3ff(0x183)](_0x13f112,_0xacb7fa){const _0xbffbe9=_0x4ff3ff;let _0x2f1932=this[_0xbffbe9(0xa0)][_0xbffbe9(0x34e)](_0x13f112);_0x2f1932||(_0x2f1932=new Map(),this[_0xbffbe9(0xa0)][_0xbffbe9(0xa4)](_0x13f112,_0x2f1932));let _0x4cf526=_0x2f1932[_0xbffbe9(0x34e)](_0xacb7fa);return _0x4cf526||(_0x4cf526=new Map(),_0x2f1932[_0xbffbe9(0xa4)](_0xacb7fa,_0x4cf526)),_0x4cf526;}[_0x4ff3ff(0x294)](_0x58d72b,_0x2cf586,_0x1b04be,_0x47764c){const _0x1816ce=_0x4ff3ff;var _0x5fb094;const _0x5c5dce=this[_0x1816ce(0x371)](_0x58d72b,_0x2cf586),_0x3ac48e=(_0x5fb094=_0x5c5dce[_0x1816ce(0x34e)](_0x1b04be))==null?void 0x0:_0x5fb094['oldRangeInfo'];_0x5c5dce[_0x1816ce(0xa4)](_0x1b04be,{'oldRangeInfo':_0x3ac48e,'rangeInfo':_0x47764c});}[_0x4ff3ff(0x1a4)](_0x4781a3,_0x3005f4,_0x191c23,_0x31d82f){const _0x3c5f0f=_0x4ff3ff;var _0xb7c8a7;const _0x125baa=this[_0x3c5f0f(0x183)](_0x4781a3,_0x3005f4),_0x4795be=(_0xb7c8a7=_0x125baa['get'](_0x191c23))==null?void 0x0:_0xb7c8a7[_0x3c5f0f(0x2e5)];_0x125baa[_0x3c5f0f(0xa4)](_0x191c23,{'oldMatrix':_0x4795be,'matrix':_0x31d82f});}[_0x4ff3ff(0x34b)](_0x2f4c5e,_0x320cc2,_0x2223e5){const _0x451aca=_0x4ff3ff;var _0xc0ffbd,_0x4c5830;return(_0x4c5830=(_0xc0ffbd=this[_0x451aca(0x6f)][_0x451aca(0x34e)](_0x2f4c5e))==null?void 0x0:_0xc0ffbd[_0x451aca(0x34e)](_0x320cc2))==null?void 0x0:_0x4c5830[_0x451aca(0x34e)](_0x2223e5);}['getPivotTableMatrixInfo'](_0xf7e00,_0x2ed265,_0x2222bc){const _0x4546a4=_0x4ff3ff;var _0x7f058f,_0x6300c6;return(_0x6300c6=(_0x7f058f=this[_0x4546a4(0xa0)][_0x4546a4(0x34e)](_0xf7e00))==null?void 0x0:_0x7f058f[_0x4546a4(0x34e)](_0x2ed265))==null?void 0x0:_0x6300c6[_0x4546a4(0x34e)](_0x2222bc);}['deleteUnitId'](_0x1ca61d){const _0x292687=_0x4ff3ff;this[_0x292687(0x351)][_0x292687(0x1db)](_0x1ca61d),this[_0x292687(0x2d0)][_0x292687(0x1db)](_0x1ca61d);}['_toJSON'](_0x1867ea){const _0x5c3563=_0x4ff3ff,_0x1ca2c4={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x5c3563(0x2d0)][_0x5c3563(0x34e)](_0x1867ea)&&(_0x1ca2c4[_0x5c3563(0x121)][_0x1867ea]=this[_0x5c3563(0x2d0)][_0x5c3563(0x34e)](_0x1867ea)),this[_0x5c3563(0x351)][_0x5c3563(0x34e)](_0x1867ea)){_0x1ca2c4[_0x5c3563(0x27d)][_0x1867ea]={};const _0x30bf15=this[_0x5c3563(0x351)]['get'](_0x1867ea);_0x30bf15!=null&&_0x30bf15['size']&&[..._0x30bf15[_0x5c3563(0x255)]()]['forEach'](_0x5b1aff=>{const _0x29ade4=_0x5c3563,_0x433b17=_0x30bf15[_0x29ade4(0x34e)](_0x5b1aff);_0x433b17!=null&&_0x433b17[_0x29ade4(0x26f)]&&(_0x1ca2c4[_0x29ade4(0x27d)][_0x1867ea][_0x5b1aff]={},[..._0x433b17[_0x29ade4(0x255)]()][_0x29ade4(0x1ed)](_0x45fd90=>{const _0x891b67=_0x433b17['get'](_0x45fd90);_0x891b67&&(_0x1ca2c4['pivotTableConfigs'][_0x1867ea][_0x5b1aff][_0x45fd90]=_0x891b67);}));});}return _0x1ca2c4;}['_initSnapshot'](){const _0x4f0e8d=_0x4ff3ff;this[_0x4f0e8d(0x228)](this[_0x4f0e8d(0x168)][_0x4f0e8d(0x37f)]({'toJson':_0x44be57=>JSON[_0x4f0e8d(0x37d)](this[_0x4f0e8d(0x122)](_0x44be57)),'parseJson':_0x2bf1ec=>({}),'businesses':[_0x136a03['UniverInstanceType'][_0x4f0e8d(0x22b)]],'pluginName':_0x1cd2aa,'onLoad':(_0x2f995b,_0x24cccc)=>{},'onUnLoad':_0xc404a7=>{const _0xe76ec3=_0x4f0e8d;this[_0xe76ec3(0x201)](_0xc404a7);}}));}},_0x488dae[_0x4ff3ff(0x302)]=_0x24bd1e([_0x4eb64f(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x214)])),_0x4eb64f(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['ICommandService'])),_0x4eb64f(0x2,_0x136a03['Inject'](_0x136a03[_0x4ff3ff(0x227)])),_0x4eb64f(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x11c)])),_0x4eb64f(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x25a)]))],_0x488dae['SheetsPivotTableConfigModel']);var _0x1e70b6=Object[_0x4ff3ff(0xba)],_0x45a1a8=(_0x41f506,_0x15e750,_0x2b8144,_0x422b0f)=>{const _0x3036ff=_0x4ff3ff;for(var _0x3bb2ad=_0x422b0f>0x1?void 0x0:_0x422b0f?_0x1e70b6(_0x15e750,_0x2b8144):_0x15e750,_0x537981=_0x41f506[_0x3036ff(0x1ae)]-0x1,_0x374683;_0x537981>=0x0;_0x537981--)(_0x374683=_0x41f506[_0x537981])&&(_0x3bb2ad=_0x374683(_0x3bb2ad)||_0x3bb2ad);return _0x3bb2ad;},_0x58b0f0=(_0x5b7579,_0x300a51)=>(_0x5fe6c2,_0x51e6b8)=>_0x300a51(_0x5fe6c2,_0x51e6b8,_0x5b7579);_0x488dae['SheetsPivotTableAdaptorModel']=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0xe62979,_0x210ea4,_0x1b7637,_0x1a90cb,_0x3eb003){const _0x285b80=_0x4ff3ff;super(),_0x4779db(this,_0x285b80(0x1ba),new Map()),_0x4779db(this,'_pivotRenderValueMatrixCache',new Map()),_0x4779db(this,_0x285b80(0xd7),new _0x4d3cd2[(_0x285b80(0x1a6))]()),_0x4779db(this,'markDirty$',this['_markDirty$'][_0x285b80(0x370)]()),_0x4779db(this,_0x285b80(0x186),new _0x4d3cd2[(_0x285b80(0x1a6))]()),_0x4779db(this,_0x285b80(0x158),this[_0x285b80(0x186)][_0x285b80(0x370)]()),_0x4779db(this,'_textInfo'),(this[_0x285b80(0x10f)]=_0xe62979,this['_injector']=_0x210ea4,this[_0x285b80(0x385)]=_0x1b7637,this[_0x285b80(0x317)]=_0x1a90cb,this[_0x285b80(0x252)]=_0x3eb003,this[_0x285b80(0x1f9)](),this['_initUnitDisposed']());}[_0x4ff3ff(0x234)](){const _0x4f918a=_0x4ff3ff;this[_0x4f918a(0x228)](this[_0x4f918a(0x317)][_0x4f918a(0x210)](_0x136a03[_0x4f918a(0x170)][_0x4f918a(0x22b)])[_0x4f918a(0x31d)](_0x2b9903=>{const _0x25ee77=_0x4f918a;this['deleteUnitId'](_0x2b9903[_0x25ee77(0x175)]());}));}[_0x4ff3ff(0x1f9)](){const _0x5bcc3e=_0x4ff3ff;this[_0x5bcc3e(0x211)]=_0x244586(this['_injector'],_0xaf0570,'',{});}[_0x4ff3ff(0x147)](_0x43d546){const _0x3b4102=_0x4ff3ff,{view:_0x2bf9cb,unitId:_0x2b1756,subUnitId:_0x1aafa3,pivotTableId:_0x202d99,type:_0x55f1f4}=_0x43d546,_0x58d92e=this['_sheetsPivotTableConfigModel']['getPivotTableConfig'](_0x2b1756,_0x1aafa3,_0x202d99);if(!_0x2bf9cb||!_0x58d92e||_0x55f1f4===_0x39c7b1[_0x3b4102(0x275)])return;const {pageView:_0x438d29,cornerView:_0x5b3bb9,rowView:_0x1f3c43,colView:_0xea6536,dataView:_0x1818d2}=_0x2bf9cb,_0x60cdaa=_0x58d92e[_0x3b4102(0x271)],_0x559f76=_0x58d92e[_0x3b4102(0x314)],_0x470003=this['_ensurePivotItemRenderValueMatrixCache'](_0x2b1756,_0x1aafa3),_0x48d58e=this[_0x3b4102(0x33d)](_0x2b1756,_0x1aafa3,_0x202d99);if(_0x559f76)return this[_0x3b4102(0x2de)](_0x43d546,_0x470003,_0x60cdaa,_0x48d58e);{const _0x9c4869=_0x50f2e9(_0x60cdaa,_0x438d29,!0x0),_0x46379a=_0x438d29[_0x3b4102(0x366)]>=0x0?_0x438d29[_0x3b4102(0x366)]+0x1:0x0,_0xeba596=_0x5b3bb9[_0x3b4102(0x322)](),_0x1d830d=_0x5b3bb9[_0x3b4102(0x13c)](),_0x22fd4d=_0x9c4869[_0x3b4102(0x1ae)]>0x0?_0x2fd7f7:0x0,_0x4f0c43=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d,'col':_0x60cdaa[_0x3b4102(0xed)]},_0x5b3bb9,!0x1,!0x1),_0x44ae2e=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d+_0xeba596,'col':_0x60cdaa['col']},_0x1f3c43,!0x1,!0x0),_0x17ec8f=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d,'col':_0x60cdaa[_0x3b4102(0xed)]+_0x1d830d},_0xea6536,!0x1,!0x0),_0x4a3157=_0x50f2e9({'row':_0x60cdaa[_0x3b4102(0x327)]+_0x46379a+_0x22fd4d+_0xeba596,'col':_0x60cdaa['col']+_0x1d830d},_0x1818d2,!0x1,!0x1);_0x48d58e[_0x3b4102(0x2c4)]={'rowRanges':_0x44ae2e,'colRanges':_0x17ec8f,'cornerRanges':_0x4f0c43,'dataRanges':_0x4a3157,'pageRanges':_0x9c4869};const _0x33937f=_0x468a1e(this[_0x3b4102(0x17c)],_0x2bf9cb,_0x58d92e,this['_textInfo']),{valueMatrix:_0x5da25b,rowInfo:_0x5e295e,colInfo:_0x1c6e76,cornerInfo:_0x1a9c21,rowHeaderMap:_0x138289,colHeaderMap:_0x5accaa}=_0x33937f;return _0x48d58e['areaInfo']={'rowInfo':_0x5e295e,'colInfo':_0x1c6e76,'cornerInfo':_0x1a9c21},_0x48d58e['headerMap']={'rowHeaderMap':_0x138289,'colHeaderMap':_0x5accaa},_0x5da25b[_0x3b4102(0x1ed)]((_0x149048,_0x24350d)=>{const _0x352ac5=_0x3b4102;Object[_0x352ac5(0x255)](_0x24350d)[_0x352ac5(0x1ed)](_0x312c53=>{const _0x30a2d5=_0x352ac5,_0x5c7802=+_0x312c53,_0x45ac5f=_0x5da25b[_0x30a2d5(0x2b7)](_0x149048,_0x5c7802);_0x470003[_0x30a2d5(0x1fd)](_0x149048,_0x5c7802,_0x45ac5f);});}),this[_0x3b4102(0x186)][_0x3b4102(0x236)]({'unitId':_0x2b1756,'subUnitId':_0x1aafa3,'valueMatrix':_0x470003,'rangesCache':_0x48d58e[_0x3b4102(0x2c4)],'pivotTableId':_0x202d99,'type':_0x43d546[_0x3b4102(0x20d)]}),this['_sheetsPivotTableConfigModel'][_0x3b4102(0x7e)](_0x2b1756,_0x1aafa3,_0x202d99,_0x470003,_0x48d58e['rangesInfo']),this[_0x3b4102(0x252)][_0x3b4102(0xcc)](_0x2b1756,_0x1aafa3,_0x136553,this[_0x3b4102(0x22c)](_0x48d58e[_0x3b4102(0x2c4)],_0x202d99)),{'rangeCache':_0x48d58e[_0x3b4102(0x2c4)],'matrix':_0x470003};}}[_0x4ff3ff(0x2de)](_0x56c314,_0x57fc39,_0x51b0a2,_0x49a85f){const _0x3f7cff=_0x4ff3ff,_0x408620=this['_localeService']['t'],{unitId:_0x295ed9,subUnitId:_0x3848aa,pivotTableId:_0x74cc4d}=_0x56c314,_0xe1bfe={'filter':_0x408620(_0x3f7cff(0x2f3)),'row':_0x408620('sheets-pivot.emptyPivot.row'),'column':_0x408620(_0x3f7cff(0x15e)),'values':_0x408620('sheets-pivot.emptyPivot.values')},{matrixCache:_0x449ddf,rangesCache:_0x4aa3e9}=_0x3932c7(_0xe1bfe,_0x51b0a2);return _0x449ddf[_0x3f7cff(0x171)]((_0xdae882,_0x2f89c8,_0x163841)=>{const _0x1cb009=_0x3f7cff;_0x57fc39[_0x1cb009(0x1fd)](_0xdae882,_0x2f89c8,_0x163841);}),_0x49a85f[_0x3f7cff(0x2c4)]=_0x4aa3e9,this[_0x3f7cff(0x186)]['next']({'unitId':_0x295ed9,'subUnitId':_0x3848aa,'valueMatrix':_0x57fc39,'rangesCache':_0x4aa3e9,'pivotTableId':_0x74cc4d,'type':_0x56c314[_0x3f7cff(0x20d)],'isEmpty':!0x0}),this[_0x3f7cff(0x385)][_0x3f7cff(0x7e)](_0x295ed9,_0x3848aa,_0x74cc4d,_0x57fc39,_0x4aa3e9),this[_0x3f7cff(0x252)]['addExclusiveRange'](_0x295ed9,_0x3848aa,_0x136553,this[_0x3f7cff(0x22c)](_0x4aa3e9,_0x74cc4d)),{'rangeCache':_0x49a85f['rangesInfo'],'matrix':_0x57fc39};}[_0x4ff3ff(0x22c)](_0x326ed3,_0x3f0061){const _0x2ee328=_0x4ff3ff,_0xd10021=[],_0x4ae67a=_0x2a3c2e(_0x326ed3);for(const _0x4b0d8d of _0x4ae67a)_0xd10021[_0x2ee328(0xda)]({'groupId':_0x3f0061,'range':_0x4b0d8d});return _0xd10021;}[_0x4ff3ff(0x16a)](_0x49620d){const _0x555fbc=_0x4ff3ff;var _0x25febd,_0x1458ad,_0x29bd7c,_0xc859b1;const {pivotTableId:_0x90a752,unitId:_0x52ae12,subUnitId:_0x212d46}=_0x49620d;if(!_0x90a752||!_0x52ae12||!_0x212d46)return;const _0x5f2397=this[_0x555fbc(0x29d)](_0x52ae12,_0x212d46),_0x22ede3=(_0x1458ad=(_0x25febd=this[_0x555fbc(0x1ba)][_0x555fbc(0x34e)](_0x52ae12))==null?void 0x0:_0x25febd[_0x555fbc(0x34e)](_0x212d46))==null?void 0x0:_0x1458ad[_0x555fbc(0x34e)](_0x90a752);if(_0x22ede3!=null&&_0x22ede3[_0x555fbc(0x2c4)]){for(const _0x274402 of Object[_0x555fbc(0x255)](_0x22ede3[_0x555fbc(0x2c4)]))_0x22ede3['rangesInfo'][_0x274402]['forEach'](_0x1988dd=>{const _0x5b4251=_0x555fbc;for(let _0x57452c=_0x1988dd[_0x5b4251(0x100)];_0x57452c<=_0x1988dd[_0x5b4251(0x27a)];_0x57452c++)for(let _0x10a5f6=_0x1988dd[_0x5b4251(0x2fd)];_0x10a5f6<=_0x1988dd[_0x5b4251(0x304)];_0x10a5f6++)_0x5f2397[_0x5b4251(0x1b0)](_0x57452c,_0x10a5f6);});}_0x22ede3&&((_0xc859b1=(_0x29bd7c=this['_pivotRenderInfoCache'][_0x555fbc(0x34e)](_0x52ae12))==null?void 0x0:_0x29bd7c[_0x555fbc(0x34e)](_0x212d46))==null||_0xc859b1[_0x555fbc(0x1db)](_0x90a752)),this[_0x555fbc(0x186)][_0x555fbc(0x236)]({'unitId':_0x52ae12,'subUnitId':_0x212d46,'valueMatrix':_0x5f2397,'pivotTableId':_0x90a752,'rangesCache':void 0x0,'type':_0x49620d[_0x555fbc(0x20d)]}),this[_0x555fbc(0x252)][_0x555fbc(0x36d)](_0x52ae12,_0x212d46,_0x136553,_0x90a752);}[_0x4ff3ff(0x33d)](_0x11a531,_0x59dc17,_0x1e32cd){const _0x5974ad=_0x4ff3ff;var _0x155952,_0x4a9879,_0x4ba393,_0x26392b,_0x34233e,_0x1ae548;return this[_0x5974ad(0x1ba)]['has'](_0x11a531)||this[_0x5974ad(0x1ba)][_0x5974ad(0xa4)](_0x11a531,new Map()),(_0x155952=this['_pivotRenderInfoCache'][_0x5974ad(0x34e)](_0x11a531))!=null&&_0x155952['has'](_0x59dc17)||(_0x4a9879=this[_0x5974ad(0x1ba)]['get'](_0x11a531))==null||_0x4a9879[_0x5974ad(0xa4)](_0x59dc17,new Map()),(_0x26392b=(_0x4ba393=this[_0x5974ad(0x1ba)][_0x5974ad(0x34e)](_0x11a531))==null?void 0x0:_0x4ba393[_0x5974ad(0x34e)](_0x59dc17))!=null&&_0x26392b[_0x5974ad(0x1ef)](_0x1e32cd)||(_0x1ae548=(_0x34233e=this[_0x5974ad(0x1ba)][_0x5974ad(0x34e)](_0x11a531))==null?void 0x0:_0x34233e['get'](_0x59dc17))==null||_0x1ae548['set'](_0x1e32cd,{}),this[_0x5974ad(0x1ba)][_0x5974ad(0x34e)](_0x11a531)[_0x5974ad(0x34e)](_0x59dc17)['get'](_0x1e32cd);}[_0x4ff3ff(0x29d)](_0x4bd7b2,_0x1fc75a){const _0x1c59a3=_0x4ff3ff;var _0x18aa13,_0x303820;return this['_pivotRenderValueMatrixCache']['has'](_0x4bd7b2)||this[_0x1c59a3(0xb8)][_0x1c59a3(0xa4)](_0x4bd7b2,new Map()),(_0x18aa13=this[_0x1c59a3(0xb8)][_0x1c59a3(0x34e)](_0x4bd7b2))!=null&&_0x18aa13[_0x1c59a3(0x1ef)](_0x1fc75a)||(_0x303820=this[_0x1c59a3(0xb8)][_0x1c59a3(0x34e)](_0x4bd7b2))==null||_0x303820[_0x1c59a3(0xa4)](_0x1fc75a,new _0x136a03[(_0x1c59a3(0xfd))]()),this[_0x1c59a3(0xb8)][_0x1c59a3(0x34e)](_0x4bd7b2)[_0x1c59a3(0x34e)](_0x1fc75a);}[_0x4ff3ff(0x217)](_0x89640e,_0x14b28d,_0x4228f5,_0x2dd097){const _0x20e7e5=_0x4ff3ff;var _0x2697ce,_0xdaa70a;const _0xb214a1=(_0xdaa70a=(_0x2697ce=this[_0x20e7e5(0xb8)][_0x20e7e5(0x34e)](_0x89640e))==null?void 0x0:_0x2697ce[_0x20e7e5(0x34e)](_0x14b28d))==null?void 0x0:_0xdaa70a['getValue'](_0x4228f5,_0x2dd097);if(_0xb214a1!=null)return _0xb214a1;}['getPivotTableIdByCell'](_0x3bdb3d,_0x2e9fdf,_0x273edf,_0xd8385a){const _0x3e8e77=_0x4ff3ff;var _0xfc0eed;const _0x1cb511=_0x136a03[_0x3e8e77(0x350)](_0x273edf,_0xd8385a),_0x139a30=(_0xfc0eed=this[_0x3e8e77(0x1ba)]['get'](_0x3bdb3d))==null?void 0x0:_0xfc0eed[_0x3e8e77(0x34e)](_0x2e9fdf);return _0x139a30?Array[_0x3e8e77(0x154)](_0x139a30[_0x3e8e77(0x255)]())[_0x3e8e77(0xf0)](_0x5a5fb1=>{const _0x268d6c=_0x3e8e77,_0x2be1f4=_0x139a30['get'](_0x5a5fb1),_0x229c87=_0x2be1f4==null?void 0x0:_0x2be1f4[_0x268d6c(0x2c4)];return _0x229c87?Object[_0x268d6c(0x255)](_0x229c87)[_0x268d6c(0x1bb)](_0x557ef0=>_0x229c87[_0x557ef0][_0x268d6c(0x1bb)](_0x15b929=>_0x136a03[_0x268d6c(0xab)][_0x268d6c(0x8c)](_0x15b929,_0x1cb511))):!0x1;}):void 0x0;}[_0x4ff3ff(0xb7)](_0x3f321c,_0xc44571,_0x1e9834){const _0x3df67b=_0x4ff3ff;var _0x48225d;const _0x546351=(_0x48225d=this['_pivotRenderInfoCache'][_0x3df67b(0x34e)](_0x3f321c))==null?void 0x0:_0x48225d[_0x3df67b(0x34e)](_0xc44571),_0x36728f=[];return _0x546351&&Array['from'](_0x546351[_0x3df67b(0x255)]())[_0x3df67b(0x1ed)](_0x1b013c=>{const _0x4fa4f0=_0x3df67b,_0x1c6dc3=_0x546351[_0x4fa4f0(0x34e)](_0x1b013c),_0x975e0=_0x1c6dc3==null?void 0x0:_0x1c6dc3[_0x4fa4f0(0x2c4)];if(_0x975e0)for(const _0x36058e of Object[_0x4fa4f0(0x143)](_0x975e0)){let _0x238ddd=!0x1;for(const _0x54cbf2 of _0x36058e)if(_0x136a03['Rectangle'][_0x4fa4f0(0xe5)](_0x54cbf2,_0x1e9834)){_0x36728f['push'](_0x1b013c),_0x238ddd=!0x0;break;}if(_0x238ddd)break;}}),_0x36728f;}[_0x4ff3ff(0x81)](_0x819f9d,_0x13fe0f){const _0xf1532b=_0x4ff3ff;var _0x480bc2,_0x30b153;return(_0x30b153=(_0x480bc2=this[_0xf1532b(0xb8)][_0xf1532b(0x34e)](_0x819f9d))==null?void 0x0:_0x480bc2['get'](_0x13fe0f))!=null?_0x30b153:new _0x136a03[(_0xf1532b(0xfd))]();}[_0x4ff3ff(0x135)](_0x12d854,_0x35a821){const _0x46772d=_0x4ff3ff;var _0x426f5a;return(_0x426f5a=this[_0x46772d(0x1ba)]['get'](_0x12d854))==null?void 0x0:_0x426f5a[_0x46772d(0x34e)](_0x35a821);}[_0x4ff3ff(0x295)](_0x1d3c72,_0x37473e,_0x37644e){const _0x184dcd=_0x4ff3ff;var _0x18a461,_0x3d30b8;return(_0x3d30b8=(_0x18a461=this['_pivotRenderInfoCache'][_0x184dcd(0x34e)](_0x1d3c72))==null?void 0x0:_0x18a461['get'](_0x37473e))==null?void 0x0:_0x3d30b8[_0x184dcd(0x34e)](_0x37644e);}[_0x4ff3ff(0x201)](_0x3deafb){const _0x1887c3=_0x4ff3ff;this[_0x1887c3(0x1ba)][_0x1887c3(0x1db)](_0x3deafb),this[_0x1887c3(0xb8)][_0x1887c3(0x1db)](_0x3deafb);}[_0x4ff3ff(0x2f9)](_0x1d1c8f,_0xce0ec6){const _0x4a075d=_0x4ff3ff;this[_0x4a075d(0xd7)][_0x4a075d(0x236)]({'unitId':_0x1d1c8f,'subUnitId':_0xce0ec6});}},_0x488dae[_0x4ff3ff(0x1e5)]=_0x45a1a8([_0x58b0f0(0x0,_0x136a03['Inject'](_0x136a03['LocaleService'])),_0x58b0f0(0x1,_0x136a03['Inject'](_0x136a03[_0x4ff3ff(0x214)])),_0x58b0f0(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x302)])),_0x58b0f0(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x227)])),_0x58b0f0(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x28a)]))],_0x488dae[_0x4ff3ff(0x1e5)]);var _0x6774ea=Object[_0x4ff3ff(0xba)],_0x27cc62=(_0x335a57,_0x500fe9,_0x462878,_0x4485f6)=>{const _0x1fa2ba=_0x4ff3ff;for(var _0x29edf9=_0x4485f6>0x1?void 0x0:_0x4485f6?_0x6774ea(_0x500fe9,_0x462878):_0x500fe9,_0x150ea3=_0x335a57[_0x1fa2ba(0x1ae)]-0x1,_0x585983;_0x150ea3>=0x0;_0x150ea3--)(_0x585983=_0x335a57[_0x150ea3])&&(_0x29edf9=_0x585983(_0x29edf9)||_0x29edf9);return _0x29edf9;},_0x2309f9=(_0x4fd6cc,_0x3578c3)=>(_0x50931d,_0xce4efb)=>_0x3578c3(_0x50931d,_0xce4efb,_0x4fd6cc);_0x488dae[_0x4ff3ff(0x2af)]=class extends _0x136a03['Disposable']{constructor(_0x2bb262,_0x2eca00){const _0x27aed2=_0x4ff3ff;super(),_0x4779db(this,'asyncInterceptor',new _0x136a03[(_0x27aed2(0xc9))]({'PIVOT_PERFORM_CHECK':_0x3a4963})),_0x4779db(this,_0x27aed2(0x163),new _0x136a03['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x117ec4})),(this[_0x27aed2(0x2fc)]=_0x2bb262,this[_0x27aed2(0xa9)]=_0x2eca00,this[_0x27aed2(0x202)]());}['_init'](){const _0x3e38e6=_0x4ff3ff;this[_0x3e38e6(0x6e)]();}[_0x4ff3ff(0x272)](_0x39e6f4){const _0xb81248=_0x4ff3ff;return this['asyncInterceptor'][_0xb81248(0x2f4)](_0x3a4963)(!0x1,_0x39e6f4);}[_0x4ff3ff(0x6e)](){const _0x2f6357=_0x4ff3ff;this['disposeWithMe'](this[_0x2f6357(0x2fc)][_0x2f6357(0x29e)](_0x47d532['INTERCEPTOR_POINT'][_0x2f6357(0x348)],{'priority':0xc8,'effect':_0x136a03[_0x2f6357(0xb5)][_0x2f6357(0x27e)]|_0x136a03[_0x2f6357(0xb5)][_0x2f6357(0x1b8)],'handler':(_0x9b9afd,_0x552ff1,_0x175622)=>{const _0x87ab11=_0x2f6357,{row:_0x194685,col:_0x3ec9fe,unitId:_0x342a1f,subUnitId:_0x53442d,workbook:_0x209e8c}=_0x552ff1,_0x31d1d3=this['_sheetsPivotTableAdaptorModel'][_0x87ab11(0x217)](_0x342a1f,_0x53442d,_0x194685,_0x3ec9fe);if(!_0x31d1d3)return _0x175622(_0x9b9afd);const _0x551f20={..._0x9b9afd};(_0x31d1d3['v']||_0x31d1d3['v']===0x0)&&(_0x551f20['v']=_0x31d1d3['v']),_0x31d1d3['t']&&(_0x551f20['t']=_0x31d1d3['t']);const _0x4b2174=(typeof(_0x9b9afd==null?void 0x0:_0x9b9afd['s'])=='string'?_0x209e8c['getStyles']()['get'](_0x9b9afd==null?void 0x0:_0x9b9afd['s']):_0x9b9afd==null?void 0x0:_0x9b9afd['s'])||{},_0x230ee6=_0x209e8c['getStyles']()['get'](_0x31d1d3['s']),_0x24b0f9={..._0x230ee6,..._0x4b2174};_0x230ee6!=null&&_0x230ee6['n']&&(_0x24b0f9['n']=_0x230ee6['n']);const _0x3600e7=_0x209e8c[_0x87ab11(0x2a5)]()[_0x87ab11(0x1fd)](_0x24b0f9);return _0x551f20['s']=_0x3600e7,(_0x31d1d3[_0x87ab11(0x69)]===_0x10f223[_0x87ab11(0x180)][_0x87ab11(0xdf)]||_0x31d1d3[_0x87ab11(0x69)]===_0x10f223[_0x87ab11(0x180)][_0x87ab11(0x1e1)])&&(_0x551f20['fontRenderExtension']={},_0x551f20[_0x87ab11(0x16b)][_0x87ab11(0x264)]=_0x294e08),_0x175622(_0x551f20);}}));}},_0x488dae[_0x4ff3ff(0x2af)]=_0x27cc62([_0x2309f9(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x91)])),_0x2309f9(0x1,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x1e5)]))],_0x488dae[_0x4ff3ff(0x2af)]);const _0x5454da={'id':'sheet.mutation.add-group-collection','type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'handler':(_0x1e6e06,_0x346f69)=>{const _0x4b549b=_0x4ff3ff;if(!_0x346f69)return!0x1;if(!!_0x1e6e06[_0x4b549b(0x34e)](_0x136a03[_0x4b549b(0x25a)])[_0x4b549b(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x53f68e,fieldJSON:_0x50f5b1,unitId:_0x1abdd5,subUnitId:_0x362ec0}=_0x346f69;let _0x55903d;const {dataFieldType:_0x1ae077,id:_0x49388d,name:_0x520cf8,hexCode:_0x15e71b,originalFieldId:_0x34ed1}=_0x50f5b1;if(_0x1ae077===_0x10f223['PivotDataFieldTypeEnum'][_0x4b549b(0x1ee)]&&(_0x55903d=new _0x10f223[(_0x4b549b(0x2a1))](_0x49388d,_0x520cf8,_0x15e71b,_0x34ed1)),!_0x55903d)return!0x1;const _0x1fd059=_0x1e6e06[_0x4b549b(0x34e)](_0x488dae['SheetsPivotDataSourceModel']),_0x45fd6c=_0x1fd059[_0x4b549b(0x28c)](_0x1abdd5),_0x43b1b0=_0x45fd6c[_0x4b549b(0x139)](_0x53f68e);_0x45fd6c[_0x4b549b(0x16c)](_0x55903d),_0x43b1b0[_0x4b549b(0x2ae)](_0x55903d[_0x4b549b(0x1c5)](),_0x55903d[_0x4b549b(0x2db)]());const _0x11588c=_0x43b1b0[_0x4b549b(0x176)](_0x55903d[_0x4b549b(0x116)]());_0x11588c&&_0x55903d['refreshGroupField'](_0x11588c);const _0x5ca7c1=_0x1fd059['getPivotTableConfig'](_0x1abdd5,_0x362ec0,_0x53f68e);return _0x1fd059[_0x4b549b(0x2a3)]({'unitId':_0x1abdd5,'subUnitId':_0x362ec0,'token':_0x53f68e,'type':_0x39c7b1[_0x4b549b(0x2f1)],'pivotConfig':_0x5ca7c1}),!0x0;}},_0x1b9fed={'id':_0x4ff3ff(0x383),'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'handler':(_0x1c47b6,_0xed3d90)=>{const _0x1af72a=_0x4ff3ff;if(!_0xed3d90)return!0x1;if(!!_0x1c47b6['get'](_0x136a03[_0x1af72a(0x25a)])[_0x1af72a(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x105b4d,dataFieldId:_0x4d9117,unitId:_0x455ab4,subUnitId:_0x3c1a92}=_0xed3d90,_0x4d7be5=_0x1c47b6['get'](_0x488dae[_0x1af72a(0x16d)]),_0x3743c1=_0x4d7be5[_0x1af72a(0x28c)](_0x455ab4);_0x3743c1[_0x1af72a(0x139)](_0x105b4d)[_0x1af72a(0x6c)](_0x4d9117);let _0x2bee80=!0x0;for(const _0xd71375 in _0x3743c1['collections'])if(_0x3743c1['collections'][_0xd71375][_0x1af72a(0x136)]()[_0x1af72a(0x9d)](_0x4d9117)){_0x2bee80=!0x1;break;}_0x2bee80&&_0x3743c1[_0x1af72a(0x336)](_0x4d9117);const _0x1caf64=_0x4d7be5[_0x1af72a(0x12e)](_0x455ab4,_0x3c1a92,_0x105b4d);return _0x4d7be5['addDirtyPivotTable']({'unitId':_0x455ab4,'subUnitId':_0x3c1a92,'token':_0x105b4d,'type':_0x39c7b1[_0x1af72a(0x2f1)],'pivotConfig':_0x1caf64}),!0x0;}};function _0x1ffc3c(_0x527946,_0x1543c4){const _0x45f699=_0x4ff3ff;switch(_0x1543c4){case _0x10f223['PivotTableFiledAreaEnum'][_0x45f699(0x27e)]:return _0x527946[_0x45f699(0x261)];case _0x10f223[_0x45f699(0x325)][_0x45f699(0x12c)]:return _0x527946[_0x45f699(0x1b5)];case _0x10f223[_0x45f699(0x325)]['Row']:return _0x527946[_0x45f699(0x21c)];case _0x10f223[_0x45f699(0x325)]['Column']:return _0x527946[_0x45f699(0x321)];default:return[];}}function _0x5d22a3(_0x97bc7,_0x3b02c7){const _0x2776b0=_0x4ff3ff;return _0x97bc7['measure'][_0x3b02c7]||_0x97bc7[_0x2776b0(0x33b)][_0x3b02c7];}function _0xf976b(_0xdab03e,_0x15bdad){const _0xbac986=_0x4ff3ff,{area:_0x508d73,fieldJson:_0x40b4ca,index:_0x4d431a}=_0x15bdad;_0x508d73===_0x10f223[_0xbac986(0x325)][_0xbac986(0x27e)]?_0xdab03e[_0xbac986(0x2cc)][_0x40b4ca['id']]=_0x40b4ca:_0xdab03e[_0xbac986(0x33b)][_0x40b4ca['id']]=_0x40b4ca,_0x1ffc3c(_0xdab03e,_0x508d73)['splice'](_0x4d431a,0x0,_0x40b4ca['id']);}function _0x29519b(_0x343ae2,_0x2ba1f1){const _0x362075=_0x4ff3ff,{area:_0x5c5c7d,fieldId:_0x2392c7,index:_0x21647f}=_0x2ba1f1;_0x5c5c7d===_0x10f223[_0x362075(0x325)][_0x362075(0x27e)]?delete _0x343ae2['measure'][_0x2392c7]:delete _0x343ae2[_0x362075(0x33b)][_0x2392c7],_0x1ffc3c(_0x343ae2,_0x5c5c7d)[_0x362075(0x110)](_0x21647f,0x1);}function _0x331b16(_0x4e6e06,_0x4e3b62){const _0x397fc2=_0x4ff3ff,{fieldId:_0x119447,name:_0x5b5039}=_0x4e3b62,_0x1cad48=_0x5d22a3(_0x4e6e06,_0x119447);_0x1cad48&&(_0x1cad48[_0x397fc2(0x12f)]=_0x5b5039);}function _0x594ae2(_0x417489,_0x48cba1){const _0x146960=_0x4ff3ff,{fieldId:_0x2c7a21,collapse:_0x221534,item:_0x2bb68b}=_0x48cba1;_0x2bb68b!==void 0x0?(_0x417489[_0x146960(0x2f2)][_0x2c7a21]=_0x417489[_0x146960(0x2f2)][_0x2c7a21]||{},_0x417489['collapseInfo'][_0x2c7a21][_0x2bb68b]=_0x221534):_0x417489['collapseInfo'][_0x2c7a21]=_0x221534;}function _0x5be1e9(_0x1ab291,_0x31bc4a){const {fieldId:_0x1f3957,format:_0x3b9925}=_0x31bc4a,_0x25d41d=_0x5d22a3(_0x1ab291,_0x1f3957);_0x25d41d&&(_0x25d41d['format']=_0x3b9925);}function _0x2860b9(_0x56e914,_0x28f622){const _0x31922f=_0x4ff3ff,{fieldId:_0x1f1f3a,filterInfo:_0xcef871}=_0x28f622,_0x497db1=_0x5d22a3(_0x56e914,_0x1f1f3a);_0x497db1&&(_0x497db1[_0x31922f(0xe9)]=_0xcef871);}function _0x51a574(_0x47d36c,_0x4438f2){const _0x192b5f=_0x4ff3ff,{fieldId:_0x1cfd6e,filterInfo:_0x807a1b}=_0x4438f2,_0x540357=_0x47d36c['valueFilter'][_0x192b5f(0xb3)](_0x9ecce6=>_0x9ecce6[_0x192b5f(0x195)]!==_0x1cfd6e);_0x807a1b&&_0x540357[_0x192b5f(0xda)]({'fieldId':_0x1cfd6e,'filterInfo':_0x807a1b}),_0x47d36c[_0x192b5f(0x361)]=_0x540357;}function _0x3dc9f2(_0x4c3e16,_0x5bde55){const _0x1d3e5c=_0x4ff3ff,{fieldId:_0x6b3017,subtotalType:_0x553e87}=_0x5bde55,_0x32b5e8=_0x5d22a3(_0x4c3e16,_0x6b3017);_0x32b5e8&&(_0x32b5e8[_0x1d3e5c(0x118)]=_0x553e87);}function _0x51a1ad(_0x4d6de2,_0x1ec6c3){const _0x235f8a=_0x4ff3ff,{fieldId:_0x7b279d,oldArea:_0x4561c3,area:_0x162d7f,oldIndex:_0x3ba46b,index:_0x47f68b}=_0x1ec6c3,_0x5b04d6=_0x4561c3!==_0x10f223[_0x235f8a(0x325)][_0x235f8a(0x27e)]&&_0x162d7f===_0x10f223[_0x235f8a(0x325)][_0x235f8a(0x27e)],_0x28959d=_0x4561c3===_0x10f223['PivotTableFiledAreaEnum'][_0x235f8a(0x27e)]&&_0x162d7f!==_0x10f223['PivotTableFiledAreaEnum'][_0x235f8a(0x27e)];if(_0x5b04d6||_0x28959d){const _0x43dae2=_0x5d22a3(_0x4d6de2,_0x7b279d);_0x43dae2&&(_0x5b04d6?(delete _0x4d6de2[_0x235f8a(0x33b)][_0x7b279d],_0x4d6de2[_0x235f8a(0x2cc)][_0x7b279d]=_0x43dae2):(delete _0x4d6de2['measure'][_0x7b279d],_0x4d6de2[_0x235f8a(0x33b)][_0x7b279d]=_0x43dae2));}const _0x36cd6f=_0x1ffc3c(_0x4d6de2,_0x4561c3),_0x1fdf4c=_0x1ffc3c(_0x4d6de2,_0x162d7f);_0x36cd6f[_0x235f8a(0x110)](_0x3ba46b,0x1),_0x1fdf4c['splice'](_0x47f68b,0x0,_0x7b279d);}function _0x583359(_0x2d3794,_0xd5c14b){const _0xc71e49=_0x4ff3ff,{valuePosition:_0x49189b,index:_0x138b06}=_0xd5c14b;_0x2d3794[_0xc71e49(0x2aa)]=_0x49189b,_0x2d3794['valueIndex']=_0x138b06;}function _0x1aeedd(_0x24b99f,_0x3272f1){const _0x297316=_0x4ff3ff,{tableFieldId:_0x82d56d,sourceName:_0x24d45d,dataFieldId:_0x316dee}=_0x3272f1,_0x26829a=_0x5d22a3(_0x24b99f,_0x82d56d);_0x26829a&&(_0x26829a[_0x297316(0x380)]=_0x24d45d,_0x26829a[_0x297316(0x22d)]=_0x316dee);}function _0x4fcb11(_0x2995a1,_0x55557e){const _0x46fda8=_0x4ff3ff,{fieldId:_0x87a306,sortInfo:_0x28818a}=_0x55557e,_0x2ec38f=_0x5d22a3(_0x2995a1,_0x87a306);_0x2ec38f&&(_0x2ec38f[_0x46fda8(0x157)]=_0x28818a);}function _0x675bc2(_0x58ac34,_0xfa8168){const _0x2bac68=_0x4ff3ff,{options:_0x2b6f17}=_0xfa8168;_0x58ac34[_0x2bac68(0xc1)]={..._0x58ac34[_0x2bac68(0xc1)],..._0x2b6f17};}const _0x537a11={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x2b1),'handler'(_0x377c59,_0x2dacea){const _0x464d29=_0x4ff3ff;if(!_0x2dacea)return!0x1;if(!!_0x377c59[_0x464d29(0x34e)](_0x136a03[_0x464d29(0x25a)])['getConfig'](_0x2432cb))return!0x0;const _0x47d827=_0x377c59['get'](_0x488dae[_0x464d29(0x16d)]),{pivotTableId:_0x1d94f6,fieldJson:_0x246b63,area:_0x59b6ed,index:_0xdfe821,unitId:_0x3667c2,subUnitId:_0x5724c2}=_0x2dacea,_0x3baeaf=_0x47d827['getPivotTableInstance'](_0x1d94f6);if(!_0x3baeaf)return!0x1;let _0x20da28;_0x59b6ed===_0x10f223[_0x464d29(0x325)][_0x464d29(0x27e)]?_0x20da28=_0x10f223[_0x464d29(0x130)](_0x246b63):_0x20da28=_0x10f223[_0x464d29(0x23f)](_0x246b63),_0x3baeaf[_0x464d29(0x2ae)](_0x20da28,_0x59b6ed,_0xdfe821);const _0x422f6e=_0x47d827[_0x464d29(0x301)](_0x3667c2,_0x5724c2,_0x1d94f6);_0xf976b(_0x422f6e,_0x2dacea);const _0xd12fd3=_0x47d827['getPivotTableConfig'](_0x3667c2,_0x5724c2,_0x1d94f6);return _0x47d827[_0x464d29(0x2a3)]({'unitId':_0x3667c2,'subUnitId':_0x5724c2,'token':_0x1d94f6,'type':_0x39c7b1[_0x464d29(0x2f1)],'pivotConfig':_0xd12fd3}),!0x0;}},_0x4870f1={'type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'id':_0x4ff3ff(0x28e),'handler'(_0x24df93,_0x5b8d38){const _0x2d685e=_0x4ff3ff;if(!_0x5b8d38)return!0x1;if(!!_0x24df93[_0x2d685e(0x34e)](_0x136a03[_0x2d685e(0x25a)])[_0x2d685e(0x17b)](_0x2432cb))return!0x0;const _0x4de44b=_0x24df93[_0x2d685e(0x34e)](_0x488dae[_0x2d685e(0x16d)]),{pivotTableId:_0x2a8576,fieldId:_0x8cbd6f,unitId:_0x397ac0,subUnitId:_0x36a31d}=_0x5b8d38,_0x273079=_0x4de44b['getPivotTableInstance'](_0x2a8576);if(!_0x273079)return!0x1;_0x273079[_0x2d685e(0x256)](_0x8cbd6f);const _0x5496a0=_0x4de44b[_0x2d685e(0x301)](_0x397ac0,_0x36a31d,_0x2a8576);_0x29519b(_0x5496a0,_0x5b8d38);const _0x5415bd=_0x4de44b[_0x2d685e(0x12e)](_0x397ac0,_0x36a31d,_0x2a8576);return _0x4de44b['addDirtyPivotTable']({'unitId':_0x397ac0,'subUnitId':_0x36a31d,'token':_0x2a8576,'type':_0x39c7b1[_0x2d685e(0x2f1)],'pivotConfig':_0x5415bd}),!0x0;}},_0x8a2cc4={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x212),'handler'(_0x32e25c,_0x578a69){const _0x58cce5=_0x4ff3ff;if(!_0x578a69)return!0x1;if(!!_0x32e25c[_0x58cce5(0x34e)](_0x136a03[_0x58cce5(0x25a)])[_0x58cce5(0x17b)](_0x2432cb))return!0x0;const _0x567ab1=_0x32e25c[_0x58cce5(0x34e)](_0x488dae['SheetsPivotDataSourceModel']),{unitId:_0x4ead2a,subUnitId:_0x47c65b,pivotTableId:_0x4cf6e6,fieldId:_0x58c82b,name:_0x399ed8}=_0x578a69,_0x5da824=_0x567ab1[_0x58cce5(0xbd)](_0x4cf6e6);if(!_0x5da824)return!0x1;_0x5da824['renameField'](_0x58c82b,_0x399ed8);const _0x46e274=_0x567ab1[_0x58cce5(0x301)](_0x4ead2a,_0x47c65b,_0x4cf6e6);return _0x331b16(_0x46e274,_0x578a69),_0x567ab1[_0x58cce5(0x2a3)]({'unitId':_0x4ead2a,'subUnitId':_0x47c65b,'token':_0x4cf6e6,'type':_0x39c7b1[_0x58cce5(0x2f1)]}),!0x0;}},_0x4c3b79={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x14cf26,_0x1ceeac){const _0x43a4df=_0x4ff3ff;if(!_0x1ceeac)return!0x1;if(!!_0x14cf26[_0x43a4df(0x34e)](_0x136a03[_0x43a4df(0x25a)])[_0x43a4df(0x17b)](_0x2432cb))return!0x0;const _0xf53960=_0x14cf26[_0x43a4df(0x34e)](_0x488dae[_0x43a4df(0x16d)]),{unitId:_0x5e4d32,subUnitId:_0x2106c2,pivotTableId:_0x20a74e,fieldId:_0x2c252e,collapse:_0xbac753,item:_0x269561}=_0x1ceeac,_0x2f6af0=_0xf53960['getPivotTableInstance'](_0x20a74e);if(!_0x2f6af0)return!0x1;_0x2f6af0[_0x43a4df(0x10a)](_0x2c252e,_0xbac753,_0x269561);const _0x49c458=_0xf53960['getPivotTableModelConfig'](_0x5e4d32,_0x2106c2,_0x20a74e);return _0x594ae2(_0x49c458,_0x1ceeac),_0xf53960[_0x43a4df(0x2a3)]({'unitId':_0x5e4d32,'subUnitId':_0x2106c2,'token':_0x20a74e,'type':_0x39c7b1['Set']}),!0x0;}},_0x47e9c4={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x2f6),'handler'(_0x45448f,_0x3e458c){const _0x5e6fa8=_0x4ff3ff;if(!_0x3e458c)return!0x1;if(!!_0x45448f[_0x5e6fa8(0x34e)](_0x136a03[_0x5e6fa8(0x25a)])[_0x5e6fa8(0x17b)](_0x2432cb))return!0x0;const _0x5c8359=_0x45448f['get'](_0x488dae[_0x5e6fa8(0x16d)]),{unitId:_0x7da92d,subUnitId:_0x5a8932,pivotTableId:_0x762bf2,fieldId:_0x58b90c,format:_0x456f2c}=_0x3e458c,_0x46fc67=_0x5c8359['getPivotTableInstance'](_0x762bf2);if(!_0x46fc67)return!0x1;_0x46fc67['setFieldFormat'](_0x58b90c,_0x456f2c);const _0x38c1f3=_0x5c8359[_0x5e6fa8(0x301)](_0x7da92d,_0x5a8932,_0x762bf2);return _0x5be1e9(_0x38c1f3,_0x3e458c),_0x5c8359['addDirtyPivotTable']({'unitId':_0x7da92d,'subUnitId':_0x5a8932,'token':_0x762bf2,'type':_0x39c7b1[_0x5e6fa8(0x2f1)]}),!0x0;}},_0x1594e5={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x45151f,_0x221aac){const _0x5368f8=_0x4ff3ff;if(!_0x221aac)return!0x1;if(!!_0x45151f['get'](_0x136a03['IConfigService'])['getConfig'](_0x2432cb))return!0x0;const _0x3b2667=_0x45151f[_0x5368f8(0x34e)](_0x488dae[_0x5368f8(0x16d)]),{unitId:_0x5c1330,subUnitId:_0x399012,pivotTableId:_0x176915,fieldId:_0x410f76,filterInfo:_0x130728}=_0x221aac,_0xf49a0=_0x3b2667[_0x5368f8(0xbd)](_0x176915);if(!_0xf49a0)return!0x1;_0xf49a0['setLabelFilterInfo'](_0x410f76,_0x130728);const _0x22b0eb=_0x3b2667[_0x5368f8(0x301)](_0x5c1330,_0x399012,_0x176915);return _0x2860b9(_0x22b0eb,_0x221aac),_0x3b2667['addDirtyPivotTable']({'unitId':_0x5c1330,'subUnitId':_0x399012,'token':_0x176915,'type':_0x39c7b1[_0x5368f8(0x2f1)]}),!0x0;}},_0x5118aa={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x68),'handler'(_0x13ac09,_0x545e59){const _0x200ede=_0x4ff3ff;if(!_0x545e59)return!0x1;if(!!_0x13ac09[_0x200ede(0x34e)](_0x136a03[_0x200ede(0x25a)])[_0x200ede(0x17b)](_0x2432cb))return!0x0;const _0x2d84ab=_0x13ac09[_0x200ede(0x34e)](_0x488dae[_0x200ede(0x16d)]),{unitId:_0x23fca4,subUnitId:_0x4e5301,pivotTableId:_0x38b293,options:_0x51df5f}=_0x545e59,_0x412319=_0x2d84ab[_0x200ede(0xbd)](_0x38b293);if(!_0x412319)return!0x1;_0x412319[_0x200ede(0x2c8)](_0x51df5f);const _0x30e15c=_0x2d84ab[_0x200ede(0x301)](_0x23fca4,_0x4e5301,_0x38b293);return _0x675bc2(_0x30e15c,_0x545e59),_0x2d84ab[_0x200ede(0x2a3)]({'unitId':_0x23fca4,'subUnitId':_0x4e5301,'token':_0x38b293,'type':_0x39c7b1['Set']}),!0x0;}},_0x553b85={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x125),'handler'(_0x3831cf,_0x396467){const _0x2202d3=_0x4ff3ff;if(!_0x396467)return!0x1;if(!!_0x3831cf[_0x2202d3(0x34e)](_0x136a03[_0x2202d3(0x25a)])[_0x2202d3(0x17b)](_0x2432cb))return!0x0;const _0x2cc417=_0x3831cf[_0x2202d3(0x34e)](_0x488dae[_0x2202d3(0x16d)]),{unitId:_0x47a866,subUnitId:_0x5cd1e1,pivotTableId:_0x51039c,sortInfo:_0x38db63,fieldId:_0xf92966}=_0x396467,_0x55c3e2=_0x2cc417[_0x2202d3(0xbd)](_0x51039c);if(!_0x55c3e2)return!0x1;_0x55c3e2['setSortInfo'](_0xf92966,_0x38db63);const _0xf385ab=_0x2cc417[_0x2202d3(0x301)](_0x47a866,_0x5cd1e1,_0x51039c);return _0x4fcb11(_0xf385ab,_0x396467),_0x2cc417['addDirtyPivotTable']({'unitId':_0x47a866,'subUnitId':_0x5cd1e1,'token':_0x51039c,'type':_0x39c7b1[_0x2202d3(0x2f1)]}),!0x0;}},_0x203adf={'type':_0x136a03['CommandType']['MUTATION'],'id':_0x4ff3ff(0x1cd),'handler'(_0x2add21,_0x1a3355){const _0xd75488=_0x4ff3ff;if(!_0x1a3355)return!0x1;if(!!_0x2add21['get'](_0x136a03[_0xd75488(0x25a)])['getConfig'](_0x2432cb))return!0x0;const _0x11e4b5=_0x2add21['get'](_0x488dae[_0xd75488(0x16d)]),{unitId:_0x262d7e,subUnitId:_0x447e1f,pivotTableId:_0x2aabd4,fieldId:_0x27511e,subtotalType:_0x11ef22}=_0x1a3355,_0x350c07=_0x11e4b5[_0xd75488(0xbd)](_0x2aabd4);if(!_0x350c07)return!0x1;_0x350c07[_0xd75488(0x177)](_0x27511e,_0x11ef22);const _0x14d8e5=_0x11e4b5[_0xd75488(0x301)](_0x262d7e,_0x447e1f,_0x2aabd4);return _0x3dc9f2(_0x14d8e5,_0x1a3355),_0x11e4b5[_0xd75488(0x2a3)]({'unitId':_0x262d7e,'subUnitId':_0x447e1f,'token':_0x2aabd4,'type':_0x39c7b1[_0xd75488(0x2f1)]}),!0x0;}},_0x119fca={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x204),'handler'(_0x5285d2,_0x3a018a){const _0x502b3d=_0x4ff3ff;if(!_0x3a018a)return!0x1;if(!!_0x5285d2[_0x502b3d(0x34e)](_0x136a03[_0x502b3d(0x25a)])[_0x502b3d(0x17b)](_0x2432cb))return!0x0;const _0x331655=_0x5285d2[_0x502b3d(0x34e)](_0x488dae[_0x502b3d(0x16d)]),{unitId:_0x7af721,subUnitId:_0x2e739e,pivotTableId:_0x22a0d8,fieldId:_0x397298,filterInfo:_0x285517}=_0x3a018a,_0x404008=_0x331655[_0x502b3d(0xbd)](_0x22a0d8);if(!_0x404008)return!0x1;_0x404008[_0x502b3d(0x79)](_0x397298,_0x285517);const _0xc905ef=_0x331655[_0x502b3d(0x301)](_0x7af721,_0x2e739e,_0x22a0d8);return _0x51a574(_0xc905ef,_0x3a018a),_0x331655['addDirtyPivotTable']({'unitId':_0x7af721,'subUnitId':_0x2e739e,'token':_0x22a0d8,'type':_0x39c7b1[_0x502b3d(0x2f1)]}),!0x0;}},_0x22ec60={'type':_0x136a03[_0x4ff3ff(0x2a2)]['MUTATION'],'id':_0x4ff3ff(0x243),'handler'(_0x60fb15,_0x202bfe){const _0x484732=_0x4ff3ff;if(!_0x202bfe)return!0x1;if(!!_0x60fb15[_0x484732(0x34e)](_0x136a03[_0x484732(0x25a)])[_0x484732(0x17b)](_0x2432cb))return!0x0;const _0x5e7163=_0x60fb15[_0x484732(0x34e)](_0x488dae[_0x484732(0x16d)]),{unitId:_0x469261,subUnitId:_0x4f3d26,pivotTableId:_0x57d401,area:_0x37af95,index:_0x4f229a,fieldId:_0x2db3b7}=_0x202bfe,_0x37ab5a=_0x5e7163[_0x484732(0xbd)](_0x57d401);if(!_0x37ab5a)return!0x1;_0x37ab5a[_0x484732(0x93)](_0x2db3b7,_0x37af95,_0x4f229a);const _0x38559a=_0x5e7163[_0x484732(0x301)](_0x469261,_0x4f3d26,_0x57d401);return _0x51a1ad(_0x38559a,_0x202bfe),_0x5e7163[_0x484732(0x2a3)]({'unitId':_0x469261,'subUnitId':_0x4f3d26,'token':_0x57d401,'type':_0x39c7b1[_0x484732(0x2f1)]}),!0x0;}},_0x5d9f62={'type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0xf7),'handler'(_0x3cdf0a,_0xceeb00){const _0x1debdf=_0x4ff3ff;if(!_0xceeb00)return!0x1;if(!!_0x3cdf0a[_0x1debdf(0x34e)](_0x136a03[_0x1debdf(0x25a)])[_0x1debdf(0x17b)](_0x2432cb))return!0x0;const _0x28e54e=_0x3cdf0a[_0x1debdf(0x34e)](_0x488dae[_0x1debdf(0x16d)]),{unitId:_0x24e71e,subUnitId:_0x1b44bf,pivotTableId:_0x329abf,sourceName:_0x360c29,dataFieldId:_0xfb047a,tableFieldId:_0x1dd2ee}=_0xceeb00,_0x198efe=_0x28e54e[_0x1debdf(0xbd)](_0x329abf);if(!_0x198efe)return!0x1;_0x198efe[_0x1debdf(0x35a)](_0x1dd2ee,_0x360c29,_0xfb047a);const _0x3524d1=_0x28e54e[_0x1debdf(0x301)](_0x24e71e,_0x1b44bf,_0x329abf);return _0x1aeedd(_0x3524d1,_0xceeb00),_0x28e54e['addDirtyPivotTable']({'unitId':_0x24e71e,'subUnitId':_0x1b44bf,'token':_0x329abf,'type':_0x39c7b1['Set']}),!0x0;}},_0x232f99={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x10e),'handler'(_0x28180a,_0x3ba4b1){const _0x2544f9=_0x4ff3ff;if(!_0x3ba4b1)return!0x1;if(!!_0x28180a[_0x2544f9(0x34e)](_0x136a03['IConfigService'])[_0x2544f9(0x17b)](_0x2432cb))return!0x0;const _0x16d6e8=_0x28180a[_0x2544f9(0x34e)](_0x488dae[_0x2544f9(0x16d)]),{unitId:_0x46699e,subUnitId:_0xb785f7,pivotTableId:_0x4aa586,valuePosition:_0x3d2c1c,index:_0x408894}=_0x3ba4b1,_0x282b80=_0x16d6e8['getPivotTableInstance'](_0x4aa586);if(!_0x282b80)return!0x1;_0x282b80[_0x2544f9(0x197)](_0x3d2c1c,_0x408894);const _0x155c31=_0x16d6e8[_0x2544f9(0x301)](_0x46699e,_0xb785f7,_0x4aa586);return _0x583359(_0x155c31,_0x3ba4b1),_0x16d6e8[_0x2544f9(0x2a3)]({'unitId':_0x46699e,'subUnitId':_0xb785f7,'token':_0x4aa586,'type':_0x39c7b1[_0x2544f9(0x2f1)]}),!0x0;}};function _0x3837e3(_0x5e8f1d,_0x881efd,_0x370c06){const _0x52bf66=_0x4ff3ff,{pivotTableId:_0xf467a5,unitId:_0x7a145f,subUnitId:_0x3f9848}=_0x881efd,_0x50bf61=[],_0x503ca9=[];for(const _0x1e3fac of _0x370c06)switch(_0x1e3fac[_0x52bf66(0x20d)]){case _0x10f223[_0x52bf66(0xec)]['AddField']:{const {fieldJson:_0x192c0d,area:_0x5d18e2,index:_0xd200b9}=_0x1e3fac,_0x20d69f={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldJson':_0x192c0d,'area':_0x5d18e2,'index':_0xd200b9},_0x436d9c={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x192c0d['id'],'area':_0x5d18e2,'index':_0xd200b9};_0x50bf61[_0x52bf66(0xda)]({'id':_0x537a11['id'],'params':_0x20d69f}),_0x503ca9[_0x52bf66(0x246)]({'id':_0x4870f1['id'],'params':_0x436d9c});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x2ce)]:{const {fieldId:_0x421fe1,newSubtotalType:_0x252f01,oldSubtotalType:_0x209eb6}=_0x1e3fac,_0x3a7316={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x421fe1,'subtotalType':_0x252f01};_0x50bf61['push']({'id':_0x203adf['id'],'params':_0x3a7316});const _0x46569d={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x421fe1,'subtotalType':_0x209eb6};_0x503ca9[_0x52bf66(0x246)]({'id':_0x203adf['id'],'params':_0x46569d});}break;case _0x10f223[_0x52bf66(0xec)]['RemoveField']:{const {fieldId:_0x3a7f74,fieldJson:_0x46cd1b,area:_0x2bc54e,index:_0x538cb4}=_0x1e3fac,_0x2537a0={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x3a7f74,'index':_0x538cb4,'area':_0x2bc54e};_0x50bf61[_0x52bf66(0xda)]({'id':_0x4870f1['id'],'params':_0x2537a0});const _0x72c0cf={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldJson':_0x46cd1b,'area':_0x2bc54e,'index':_0x538cb4};_0x503ca9[_0x52bf66(0x246)]({'id':_0x537a11['id'],'params':_0x72c0cf});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x193)]:{const {fieldId:_0xa8f071,oldName:_0x234454,newName:_0x3b29b8}=_0x1e3fac,_0x47fbd5={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0xa8f071,'name':_0x3b29b8};_0x50bf61[_0x52bf66(0xda)]({'id':_0x8a2cc4['id'],'params':_0x47fbd5});const _0x1fc254={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0xa8f071,'name':_0x234454};_0x503ca9['unshift']({'id':_0x8a2cc4['id'],'params':_0x1fc254});}break;case _0x10f223[_0x52bf66(0xec)]['SetFilterInfo']:{const {fieldId:_0x777ea8,oldFilterInfo:_0x3dc9b3,newFilterInfo:_0x3d26d5}=_0x1e3fac,_0x234aec={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x777ea8,'filterInfo':_0x3d26d5};_0x50bf61[_0x52bf66(0xda)]({'id':_0x1594e5['id'],'params':_0x234aec});const _0x4f48a2={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x777ea8,'filterInfo':_0x3dc9b3};_0x503ca9['unshift']({'id':_0x1594e5['id'],'params':_0x4f48a2});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x365)]:{const {fieldId:_0x2c358a,oldSortInfo:_0x4b13c2,newSortInfo:_0x4a3f7d}=_0x1e3fac,_0x428729={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x2c358a,'sortInfo':_0x4a3f7d};_0x50bf61['push']({'id':_0x553b85['id'],'params':_0x428729});const _0x4bf7dd={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x2c358a,'sortInfo':_0x4b13c2};_0x503ca9[_0x52bf66(0x246)]({'id':_0x553b85['id'],'params':_0x4bf7dd});}break;case _0x10f223['PivotTableChangeTypeEnum']['SetOptions']:{const {oldOptions:_0x39ef2d,newOptions:_0x1129d1}=_0x1e3fac,_0x291848={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'options':_0x1129d1};_0x50bf61[_0x52bf66(0xda)]({'id':_0x5118aa['id'],'params':_0x291848});const _0x205fc8={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'options':_0x39ef2d};_0x503ca9[_0x52bf66(0x246)]({'id':_0x5118aa['id'],'params':_0x205fc8});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x172)]:{const {oldArea:_0x29b8f5,newArea:_0x116be6,oldIndex:_0xf3f7f8,newIndex:_0x380bfe,fieldId:_0x84a3f1}=_0x1e3fac,_0x565de4={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x84a3f1,'area':_0x116be6,'index':_0x380bfe,'oldArea':_0x29b8f5,'oldIndex':_0xf3f7f8};_0x50bf61['push']({'id':_0x22ec60['id'],'params':_0x565de4});const _0x3dce45={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x84a3f1,'area':_0x29b8f5,'index':_0xf3f7f8,'oldArea':_0x116be6,'oldIndex':_0x380bfe};_0x503ca9[_0x52bf66(0x246)]({'id':_0x22ec60['id'],'params':_0x3dce45});}break;case _0x10f223['PivotTableChangeTypeEnum'][_0x52bf66(0xf1)]:{const {oldValuePosition:_0x521c73,newValuePosition:_0x374939,oldIndex:_0x93a329,newIndex:_0xc9295b}=_0x1e3fac,_0x49915b={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'valuePosition':_0x374939,'index':_0xc9295b};_0x50bf61[_0x52bf66(0xda)]({'id':_0x232f99['id'],'params':_0x49915b});const _0x8a219d={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'valuePosition':_0x521c73,'index':_0x93a329};_0x503ca9['unshift']({'id':_0x232f99['id'],'params':_0x8a219d});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x2ea)]:{const {fieldId:_0x526b25,collapse:_0x2c3583,item:_0x259abc}=_0x1e3fac,_0x2717ca={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x526b25,'collapse':_0x2c3583,'item':_0x259abc};_0x50bf61[_0x52bf66(0xda)]({'id':_0x4c3b79['id'],'params':_0x2717ca});const _0x276228={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x526b25,'collapse':!_0x2c3583,'item':_0x259abc};_0x503ca9['unshift']({'id':_0x4c3b79['id'],'params':_0x276228});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x27f)]:{const {newFormat:_0x109ee0,oldFormat:_0x58a677,fieldId:_0x12ca72}=_0x1e3fac,_0x1b49d7={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x12ca72,'format':_0x109ee0};_0x50bf61['push']({'id':_0x47e9c4['id'],'params':_0x1b49d7});const _0x57ade5={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x12ca72,'format':_0x58a677};_0x503ca9[_0x52bf66(0x246)]({'id':_0x47e9c4['id'],'params':_0x57ade5});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0x2d6)]:{const {tableFieldId:_0x265704,oldSourceName:_0x48193d,newSourceName:_0x2f67ee,oldDataFieldId:_0x137131,newDataFieldId:_0x215cea}=_0x1e3fac,_0x49aed7={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'tableFieldId':_0x265704,'sourceName':_0x2f67ee,'dataFieldId':_0x215cea};_0x50bf61[_0x52bf66(0xda)]({'id':_0x5d9f62['id'],'params':_0x49aed7});const _0x368442={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'tableFieldId':_0x265704,'sourceName':_0x48193d,'dataFieldId':_0x137131};_0x503ca9[_0x52bf66(0x246)]({'id':_0x5d9f62['id'],'params':_0x368442});}break;case _0x10f223[_0x52bf66(0xec)][_0x52bf66(0xc4)]:{const {fieldId:_0x326213,filterInfo:_0x33d3f4,oldFilterInfo:_0x1377f4}=_0x1e3fac,_0x23105c={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x326213,'filterInfo':_0x33d3f4};_0x50bf61[_0x52bf66(0xda)]({'id':_0x119fca['id'],'params':_0x23105c});const _0x3c35d3={'unitId':_0x7a145f,'subUnitId':_0x3f9848,'pivotTableId':_0xf467a5,'fieldId':_0x326213,'filterInfo':_0x1377f4};_0x503ca9[_0x52bf66(0x246)]({'id':_0x119fca['id'],'params':_0x3c35d3});}}return{'redos':_0x50bf61,'undos':_0x503ca9};}function _0x15a8dc(_0x4a5a5b,_0x58c325){const _0x513519=_0x4ff3ff;var _0x4d204f;const _0x411bd4=_0x4a5a5b['get'](_0x488dae[_0x513519(0x2af)]),{cellInfo:_0x34e86f,view:_0x4c4266,isEmpty:_0x55bcee}=_0x58c325;return(_0x4d204f=_0x411bd4['interceptor'][_0x513519(0x277)](_0x117ec4)(_0x5cc8fa,{'cellInfo':_0x34e86f,'view':_0x4c4266,'isEmpty':_0x55bcee}))!=null?_0x4d204f:_0x5cc8fa;}const _0x2c0605={'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'id':_0x4ff3ff(0x2b4),async 'handler'(_0x534f3a,_0x240349){const _0x579684=_0x4ff3ff;if(!_0x240349)return!0x1;const _0x50eeb2=_0x534f3a[_0x579684(0x34e)](_0x136a03[_0x579684(0x13a)]),_0x585dc7=_0x534f3a[_0x579684(0x34e)](_0x488dae['SheetsPivotRPCService']),_0x45fc88=_0x534f3a['get'](_0x136a03[_0x579684(0x2d1)]),{pivotTableId:_0xccc26a,dataFieldId:_0x45e5e5,fieldArea:_0x49aa54,index:_0x200d90,unitId:_0x710f4f,subUnitId:_0x2854b9}=_0x240349,_0x5f1486=(await _0x585dc7['getPivotDisplayConfig']({'unitId':_0x710f4f,'subUnitId':_0x2854b9,'pivotTableId':_0xccc26a,'params':{'type':_0x434fd6['AddPivotField'],'addPivotField':{'dataFieldId':_0x45e5e5,'fieldArea':_0x49aa54,'index':_0x200d90}}}))['result']['addPivotField'];if(!_0x5f1486)return!0x1;const {view:_0x3f12d8,changesets:_0x4bdd6d,isEmpty:_0xb97af6,pivotTableConfig:_0x5ee1bc,shouldBeAddedGroupJSON:_0x52641f}=_0x5f1486,_0x1e3730=_0x5ee1bc[_0x579684(0x271)],_0x40060b=new _0x10f223[(_0x579684(0x32d))]();_0x40060b[_0x579684(0x2ed)](_0x3f12d8);const _0x4012f1={'cellInfo':_0x1e3730,'view':_0x40060b,'isEmpty':_0xb97af6};if(!await _0x534f3a[_0x579684(0x34e)](_0x488dae[_0x579684(0x2af)])['asyncInterceptor'][_0x579684(0x2f4)](_0x3a4963)(!0x0,_0x4012f1))return!0x1;const _0x441bd4=_0x1fa301(_0x534f3a,_0x40060b,_0x1e3730,_0xb97af6),_0x16c2a8=_0x15a8dc(_0x534f3a,_0x4012f1),{undos:_0x71b431,redos:_0x122e31}=_0x3837e3(_0x50eeb2,{'pivotTableId':_0xccc26a,'unitId':_0x710f4f,'subUnitId':_0x2854b9},_0x4bdd6d);return _0x52641f&&(_0x122e31[_0x579684(0x246)]({'id':_0x5454da['id'],'params':{'pivotTableId':_0xccc26a,'fieldJSON':_0x52641f,'unitId':_0x710f4f,'subUnitId':_0x2854b9}}),_0x71b431[_0x579684(0xda)]({'id':_0x1b9fed['id'],'params':{'pivotTableId':_0xccc26a,'dataFieldId':_0x52641f['id'],'unitId':_0x710f4f,'subUnitId':_0x2854b9}})),_0x136a03[_0x579684(0x297)]([..._0x441bd4[_0x579684(0x1aa)],..._0x16c2a8[_0x579684(0x1aa)],..._0x122e31],_0x50eeb2),_0x45fc88[_0x579684(0x266)]({'unitID':_0x710f4f,'redoMutations':[..._0x441bd4[_0x579684(0x1aa)],..._0x16c2a8[_0x579684(0x1aa)],..._0x122e31],'undoMutations':[..._0x441bd4[_0x579684(0x166)],..._0x16c2a8[_0x579684(0x166)],..._0x71b431]}),!0x0;}},_0x4ef1ea=()=>typeof process<'u'&&process[_0x4ff3ff(0x9b)]!=null&&process[_0x4ff3ff(0x9b)][_0x4ff3ff(0x165)]!=null,_0x5f77cb={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x15a),'handler'(_0x4a0dec,_0x253cb6){const _0x3fad60=_0x4ff3ff;var _0x19ce1e;if(!_0x253cb6)return!0x1;const _0x59d53e=_0x4a0dec[_0x3fad60(0x34e)](_0x136a03[_0x3fad60(0x25a)]);if(!!_0x59d53e[_0x3fad60(0x17b)](_0x2432cb))return!0x0;const _0x2d51cf=_0x4a0dec[_0x3fad60(0x34e)](_0x136a03[_0x3fad60(0x227)]),_0x332541=_0x4a0dec[_0x3fad60(0x34e)](_0x488dae[_0x3fad60(0x16d)]),{pivotTableId:_0x96b0fb,pivotTableConfig:_0x74c6fb,collectionConfig:_0x3a4134,unitId:_0x11e526,subUnitId:_0x4d0c6a}=_0x253cb6,{sourceRangeInfo:_0x4fdc3a,fieldsConfig:_0x1be45c,targetCellInfo:_0x4ff652}=_0x74c6fb,_0x203e45=_0x2d51cf[_0x3fad60(0x229)](_0x11e526);if(!_0x203e45||!_0x203e45[_0x3fad60(0x6d)](_0x4d0c6a))return!0x1;if(!_0x4ef1ea()){let _0x4b2617=0x0;_0x203e45[_0x3fad60(0x1cf)]()['forEach'](_0x39a8e2=>{const _0x44fed7=_0x3fad60;var _0x105877,_0x4214ab;_0x4b2617+=(_0x4214ab=(_0x105877=_0x332541['getSubUnitPivotConfigs'](_0x11e526,_0x39a8e2['getSheetId']()))==null?void 0x0:_0x105877[_0x44fed7(0x26f)])!=null?_0x4214ab:0x0;});const _0x36c73a=(_0x19ce1e=_0x59d53e[_0x3fad60(0x17b)](_0x3f0c04['LS_CONFIG_KEY']))!=null?_0x19ce1e:{},{ls:_0x14760d,pbk:_0x1f9e4f}=_0x36c73a;if(!_0x2974b0(_0x14760d,_0x1f9e4f))throw new _0x136a03[(_0x3fad60(0x32a))]('limit\x20pivot');const _0x29a206=_0x3f7c6d(_0x2e79d7,_0x14760d,_0x1f9e4f)['count'];if(_0x4b2617>=_0x29a206)throw new _0x136a03[(_0x3fad60(0x32a))](_0x3fad60(0x347));}if(!_0x3a4134||!_0x1be45c)return!0x1;const {collection:_0x42501e,updateDataFieldList:_0x112d8f}=_0x332541[_0x3fad60(0x142)](_0x96b0fb,_0x3a4134,_0x4fdc3a,_0x4ff652);_0x332541[_0x3fad60(0x82)](_0x42501e,_0x112d8f,_0x4fdc3a);const _0x13984e=new _0x10f223[(_0x3fad60(0x31a))](_0x42501e,void 0x0,_0x96b0fb);_0x13984e['fromJSON'](_0x1be45c);const _0x12790f=JSON[_0x3fad60(0x2da)](JSON[_0x3fad60(0x37d)](_0x74c6fb));return _0x332541[_0x3fad60(0xa2)](_0x11e526,_0x4d0c6a,_0x96b0fb,_0x13984e,_0x12790f),_0x332541[_0x3fad60(0x2a3)]({'unitId':_0x11e526,'subUnitId':_0x4d0c6a,'token':_0x96b0fb,'type':_0x39c7b1[_0x3fad60(0x37e)],'pivotConfig':_0x12790f}),!0x0;}},_0x3e865c={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x75),async 'handler'(_0x1c469e,_0x159d29){const _0x19d2ae=_0x4ff3ff;if(!_0x159d29)return!0x1;const {sourceDataInfo:_0x39aced,pivotTableConfig:_0x3f66ef}=_0x159d29;if(!_0x39aced||!_0x3f66ef)return!0x1;const {unitId:_0x23731b,subUnitId:_0x49263e,range:_0x2ee2cf}=_0x39aced,_0x32ca24=_0x1c469e[_0x19d2ae(0x34e)](_0x136a03[_0x19d2ae(0x227)]),_0x246c3d=_0x1c469e[_0x19d2ae(0x34e)](_0x488dae['SheetsPivotRPCService']),_0x4a3449=_0x1c469e['get'](_0x136a03[_0x19d2ae(0xac)]),_0x38ece0=_0x1c469e['get'](_0x136a03[_0x19d2ae(0x13a)]),_0x521185=_0x32ca24[_0x19d2ae(0x229)](_0x23731b);if(!_0x521185)return!0x1;const _0x120efe=_0x521185[_0x19d2ae(0x6d)](_0x49263e);if(!_0x120efe)return!0x1;const _0x11df60=_0x10f223[_0x19d2ae(0xb2)](0x8),_0x4197ac=_0x2ee2cf||{'startRow':0x0,'startColumn':0x0,'endRow':_0x120efe[_0x19d2ae(0x322)]()-0x1,'endColumn':_0x120efe[_0x19d2ae(0x2fe)]()-0x1};_0x4197ac['rangeType']=_0x136a03[_0x19d2ae(0x19b)][_0x19d2ae(0x2a9)];const _0x3478bc=(await _0x246c3d[_0x19d2ae(0x36c)]({'unitId':_0x23731b,'subUnitId':_0x49263e,'pivotTableId':_0x11df60,'params':{'type':_0x434fd6[_0x19d2ae(0x92)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x23731b,'sheetName':_0x120efe[_0x19d2ae(0x2db)](),'subUnitId':_0x49263e,'range':_0x4197ac},'pivotTableId':_0x11df60,'pivotTableIndexConfig':_0x3f66ef}}}))[_0x19d2ae(0x340)][_0x19d2ae(0x29b)];if(!_0x3478bc)return!0x1;const {isEmpty:_0x5273ce,fieldsConfig:_0xfb1485,collectionConfig:_0xfaf74a,changesets:_0x2371f4}=_0x3478bc,_0x535f7f=_0x521185[_0x19d2ae(0x1cf)]()[_0x19d2ae(0x1ae)],_0x1a2c0d=_0x136a03[_0x19d2ae(0x353)]({'rowCount':_0x120efe[_0x19d2ae(0x322)]()-0x1,'columnCount':_0x120efe[_0x19d2ae(0x2fe)]()-0x1});_0x1a2c0d['id']=_0x136a03['generateRandomId'](),_0x1a2c0d['name']=_0x521185[_0x19d2ae(0x17e)](''+_0x4a3449['t'](_0x19d2ae(0x23a)));const _0x434d72={'index':_0x535f7f,'sheet':_0x1a2c0d,'unitId':_0x23731b},{redos:_0x454457}=_0x3837e3(_0x38ece0,{'pivotTableId':_0x11df60,'unitId':_0x23731b,'subUnitId':_0x1a2c0d['id']},_0x2371f4),_0x431b3f=[{'id':_0x47d532['InsertSheetCommand']['id'],'params':_0x434d72},{'id':_0x5f77cb['id'],'params':{'unitId':_0x23731b,'subUnitId':_0x1a2c0d['id'],'pivotTableId':_0x11df60,'pivotTableConfig':{'isEmpty':_0x5273ce,'fieldsConfig':_0xfb1485,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x23731b,'subUnitId':_0x1a2c0d['id']},'sourceRangeInfo':{'subUnitId':_0x49263e,'unitId':_0x23731b,'range':_0x4197ac,'sheetName':_0x120efe[_0x19d2ae(0x2db)]()}},'collectionConfig':_0xfaf74a}},..._0x454457];return _0x136a03[_0x19d2ae(0x297)](_0x431b3f,_0x38ece0),!0x0;}},_0x1e490e={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':'sheet.mutation.remove-pivot-table','handler'(_0xdfa5a6,_0x528e6c){const _0x771aaa=_0x4ff3ff;if(!_0x528e6c)return!0x1;if(!!_0xdfa5a6[_0x771aaa(0x34e)](_0x136a03[_0x771aaa(0x25a)])[_0x771aaa(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x25c86e,unitId:_0x3977c7,subUnitId:_0x30e3f5}=_0x528e6c,_0x2d7e7e=_0xdfa5a6[_0x771aaa(0x34e)](_0x488dae[_0x771aaa(0x16d)]);return _0x2d7e7e[_0x771aaa(0x12e)](_0x3977c7,_0x30e3f5,_0x25c86e)?(_0x2d7e7e[_0x771aaa(0x2a3)]({'unitId':_0x3977c7,'subUnitId':_0x30e3f5,'token':_0x25c86e,'type':_0x39c7b1[_0x771aaa(0x275)]}),_0x2d7e7e[_0x771aaa(0x2c0)](_0x3977c7,_0x30e3f5,_0x25c86e),!0x0):!0x1;}},_0x4fcdd3={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x149),async 'handler'(_0x384c4e,_0x51ed88){const _0x573d2b=_0x4ff3ff;var _0x4596fe,_0x592aa5;const _0x417b79=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0x13a)]),_0x2b74c2=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0x227)]),_0x144853=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0xac)]),_0x210146=_0x384c4e[_0x573d2b(0x34e)](_0x488dae[_0x573d2b(0x120)]),_0x58a87a=_0x384c4e['get'](_0x136a03[_0x573d2b(0x2d1)]),_0xd31529=_0x384c4e[_0x573d2b(0x34e)](_0x488dae[_0x573d2b(0x302)]),_0x596fb3=_0x384c4e[_0x573d2b(0x34e)](_0x136a03[_0x573d2b(0x25a)]);if(!_0x51ed88)return!0x1;const {pivotTableConfig:_0x27b040,positionType:_0x14e49c}=_0x51ed88,{targetCellInfo:_0x42a3af,sourceRangeInfo:_0x348532}=_0x27b040,{unitId:_0x55fada,subUnitId:_0x3c908b}=_0x42a3af,_0x409540=_0x2b74c2['getUnit'](_0x55fada);if(!_0x409540)return!0x1;let _0x3f9d0a=0x0;_0x409540['getSheets']()[_0x573d2b(0x1ed)](_0x28f108=>{const _0x43bf3d=_0x573d2b;var _0x27aaf0,_0x4482d7;_0x3f9d0a+=(_0x4482d7=(_0x27aaf0=_0xd31529['getSubUnitPivotConfigs'](_0x55fada,_0x28f108[_0x43bf3d(0xe0)]()))==null?void 0x0:_0x27aaf0[_0x43bf3d(0x26f)])!=null?_0x4482d7:0x0;});const _0x23fccc=(_0x4596fe=_0x596fb3[_0x573d2b(0x17b)](_0x3f0c04[_0x573d2b(0x2cd)]))!=null?_0x4596fe:{},{ls:_0x474e0b,pbk:_0x529f95}=_0x23fccc;if(!_0x2974b0(_0x474e0b,_0x529f95))return!0x1;const _0x248e73=_0x3f7c6d(_0x2e79d7,_0x474e0b,_0x529f95)[_0x573d2b(0x2f7)];if(_0x3f9d0a>=_0x248e73)return!0x1;const _0x3f5609=_0x51ed88[_0x573d2b(0xd0)]||_0x10f223['generateHexNumber'](0x8),_0x23dc1e=(await _0x210146[_0x573d2b(0x36c)]({'unitId':_0x55fada,'subUnitId':_0x3c908b,'pivotTableId':_0x3f5609,'params':{'type':_0x434fd6['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x348532,'pivotTableId':_0x3f5609}}}))[_0x573d2b(0x340)][_0x573d2b(0xa2)];if(!_0x23dc1e)return!0x1;const {view:_0x376d2b,isEmpty:_0x4b2a44,fieldsConfig:_0x2f7323,collectionConfig:_0x491029}=_0x23dc1e,_0x51650b=[],_0x2637b0=[];if(_0x14e49c===_0x55bf83[_0x573d2b(0x160)]){const _0x388ca0=_0x409540[_0x573d2b(0x1cf)]()[_0x573d2b(0x1ae)],_0x2ca2c5=_0x136a03['mergeWorksheetSnapshotWithDefault']({});_0x2ca2c5['id']=_0x27b040['targetCellInfo'][_0x573d2b(0x1d4)],_0x2ca2c5['name']=(_0x592aa5=_0x27b040['targetCellInfo'][_0x573d2b(0xdd)])!=null?_0x592aa5:_0x409540[_0x573d2b(0x17e)](''+_0x144853['t'](_0x573d2b(0x23a)));const _0x1bf7fb={'index':_0x388ca0,'sheet':_0x2ca2c5,'unitId':_0x55fada},_0x4188e0=_0x47d532[_0x573d2b(0x2c1)](_0x384c4e,_0x1bf7fb);_0x51650b['push']({'id':_0x47d532[_0x573d2b(0x34f)]['id'],'params':_0x4188e0}),_0x2637b0[_0x573d2b(0xda)]({'id':_0x47d532['InsertSheetMutation']['id'],'params':_0x1bf7fb});}else{if(!_0x409540[_0x573d2b(0x6d)](_0x3c908b))return!0x1;const _0x2fbb5e=_0x1fa301(_0x384c4e,new _0x10f223[(_0x573d2b(0x32d))](),_0x42a3af,!0x0);_0x2637b0[_0x573d2b(0xda)](..._0x2fbb5e[_0x573d2b(0x1aa)]),_0x51650b[_0x573d2b(0xda)](..._0x2fbb5e[_0x573d2b(0x166)]);const _0x45837d={'cellInfo':_0x42a3af,'view':_0x376d2b,'isEmpty':_0x4b2a44};if(!await _0x384c4e['get'](_0x488dae['SheetsPivotTableService'])[_0x573d2b(0x267)][_0x573d2b(0x2f4)](_0x3a4963)(!0x0,_0x45837d))return!0x1;const _0x282e11=_0x15a8dc(_0x384c4e,_0x45837d);_0x2637b0[_0x573d2b(0xda)](..._0x282e11['redos']),_0x51650b[_0x573d2b(0xda)](..._0x282e11[_0x573d2b(0x166)]);}return _0x2637b0[_0x573d2b(0xda)]({'id':_0x5f77cb['id'],'params':{'unitId':_0x42a3af[_0x573d2b(0xb4)],'subUnitId':_0x42a3af['subUnitId'],'pivotTableId':_0x3f5609,'pivotTableConfig':{'targetCellInfo':_0x42a3af,'sourceRangeInfo':_0x348532,'fieldsConfig':_0x2f7323},'collectionConfig':_0x491029}}),_0x51650b[_0x573d2b(0x246)]({'id':_0x1e490e['id'],'params':{'unitId':_0x55fada,'subUnitId':_0x3c908b,'pivotTableId':_0x3f5609}}),_0x136a03[_0x573d2b(0x297)](_0x2637b0,_0x417b79)&&_0x58a87a[_0x573d2b(0x266)]({'unitID':_0x55fada,'undoMutations':_0x51650b,'redoMutations':_0x2637b0}),!0x0;}},_0x48cd17={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0xe7),async 'handler'(_0x453a2b,_0x3324cc){const _0x5889ba=_0x4ff3ff;if(!_0x3324cc)return!0x1;const _0x3e2136=_0x453a2b['get'](_0x136a03[_0x5889ba(0x13a)]),_0x1bbf72=_0x453a2b[_0x5889ba(0x34e)](_0x488dae[_0x5889ba(0x120)]),_0x8340d1=_0x453a2b[_0x5889ba(0x34e)](_0x136a03['IUndoRedoService']),{pivotTableId:_0x2941e9,fieldId:_0x2108f7,area:_0x20893d,index:_0x53ce9f,unitId:_0x399101,subUnitId:_0x576196}=_0x3324cc,_0x46399a=(await _0x1bbf72[_0x5889ba(0x36c)]({'unitId':_0x399101,'subUnitId':_0x576196,'pivotTableId':_0x2941e9,'params':{'type':_0x434fd6[_0x5889ba(0x1c0)],'movePivotField':{'fieldId':_0x2108f7,'area':_0x20893d,'index':_0x53ce9f}}}))[_0x5889ba(0x340)][_0x5889ba(0x129)];if(!_0x46399a)return!0x1;const {changesets:_0x372d3e,view:_0x52ed7c,isEmpty:_0x1e07d2,pivotTableConfig:_0x3bceda}=_0x46399a,_0x4c4773=_0x3bceda[_0x5889ba(0x271)],_0x266e38=new _0x10f223['PivotView']();_0x266e38['formJSON'](_0x52ed7c);const _0x454854={'cellInfo':_0x4c4773,'view':_0x266e38,'isEmpty':_0x1e07d2};if(!await _0x453a2b[_0x5889ba(0x34e)](_0x488dae[_0x5889ba(0x2af)])[_0x5889ba(0x267)]['fetchThroughAsyncInterceptors'](_0x3a4963)(!0x0,_0x454854))return!0x1;const _0x239be9=_0x1fa301(_0x453a2b,_0x266e38,_0x4c4773,_0x1e07d2),_0x23154f=_0x15a8dc(_0x453a2b,_0x454854),{redos:_0x251a1b,undos:_0x19a0ba}=_0x3837e3(_0x3e2136,{'pivotTableId':_0x2941e9,'unitId':_0x399101,'subUnitId':_0x576196},_0x372d3e);return _0x136a03['sequenceExecute']([..._0x239be9['redos'],..._0x23154f['redos'],..._0x251a1b],_0x3e2136),_0x8340d1[_0x5889ba(0x266)]({'unitID':_0x399101,'redoMutations':[..._0x239be9[_0x5889ba(0x1aa)],..._0x23154f[_0x5889ba(0x1aa)],..._0x251a1b],'undoMutations':[..._0x239be9[_0x5889ba(0x166)],..._0x23154f['undos'],..._0x19a0ba]}),!0x0;}},_0x351ec9={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x333),'handler'(_0x1183a,_0x52c6c3){const _0x2cab59=_0x4ff3ff;if(!_0x52c6c3)return!0x1;if(!!_0x1183a['get'](_0x136a03[_0x2cab59(0x25a)])[_0x2cab59(0x17b)](_0x2432cb))return!0x0;const {pivotTableId:_0x4b109a,targetCellPosition:_0x317a83,unitId:_0x22ffad,subUnitId:_0x26e410}=_0x52c6c3,_0x1082c1=_0x1183a[_0x2cab59(0x34e)](_0x488dae['SheetsPivotDataSourceModel']);if(!_0x1082c1[_0x2cab59(0xbd)](_0x52c6c3['pivotTableId']))return!0x1;const _0x1563b0=_0x1082c1[_0x2cab59(0x1e7)](_0x4b109a);if(!_0x1563b0)return!0x1;const _0xec8233=_0x1082c1[_0x2cab59(0x139)](_0x1563b0['unitId'],_0x52c6c3['pivotTableId']);if(!_0xec8233)return!0x1;const _0x5e8064=_0x1082c1[_0x2cab59(0x12e)](_0x1563b0[_0x2cab59(0xb4)],_0x1563b0['subUnitId'],_0x4b109a);if(!_0x5e8064)return!0x1;const _0x2f8204=_0x136a03[_0x2cab59(0x315)][_0x2cab59(0x1fa)](_0x5e8064);_0x2f8204[_0x2cab59(0x271)]={'unitId':_0x22ffad,'subUnitId':_0x26e410,'row':_0x317a83[_0x2cab59(0x327)],'col':_0x317a83['col']};const _0x22bd8c=_0xec8233[_0x2cab59(0x19f)]();if(_0x1563b0[_0x2cab59(0x1d4)]===_0x26e410&&_0x1563b0[_0x2cab59(0xb4)]===_0x22ffad)_0x1082c1[_0x2cab59(0x231)](_0x22ffad,_0x26e410,_0x4b109a,_0x2f8204),_0x1082c1[_0x2cab59(0x2a3)]({'unitId':_0x22ffad,'subUnitId':_0x26e410,'token':_0x4b109a,'type':_0x39c7b1[_0x2cab59(0x2f1)]});else{_0x1082c1[_0x2cab59(0x2a3)]({'unitId':_0x1563b0['unitId'],'subUnitId':_0x1563b0['subUnitId'],'token':_0x4b109a,'type':_0x39c7b1[_0x2cab59(0x275)]}),_0x1082c1[_0x2cab59(0x2c0)](_0x1563b0[_0x2cab59(0xb4)],_0x1563b0[_0x2cab59(0x1d4)],_0x4b109a);const _0x5157e3=_0x1082c1[_0x2cab59(0x142)](_0x4b109a,_0x22bd8c,_0x5e8064[_0x2cab59(0x329)],_0x2f8204[_0x2cab59(0x271)]),_0x1af182=new _0x10f223[(_0x2cab59(0x31a))](_0x5157e3['collection'],void 0x0,_0x4b109a);_0x1af182[_0x2cab59(0x24b)](_0x2f8204[_0x2cab59(0x237)]),_0x1082c1[_0x2cab59(0xa2)](_0x22ffad,_0x26e410,_0x4b109a,_0x1af182,_0x2f8204),_0x1082c1[_0x2cab59(0x2a3)]({'unitId':_0x22ffad,'subUnitId':_0x26e410,'token':_0x4b109a,'type':_0x39c7b1[_0x2cab59(0x37e)],'pivotConfig':_0x2f8204});}return!0x0;}},_0x3cb7e4={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x1a0),'handler':(_0x548029,_0x3b9676)=>{const _0xf9af8d=_0x4ff3ff,_0x5afd0d=_0x548029[_0xf9af8d(0x34e)](_0x136a03[_0xf9af8d(0x13a)]),_0x30657b=_0x548029['get'](_0x136a03[_0xf9af8d(0x2d1)]),_0x49b7c8=_0x548029[_0xf9af8d(0x34e)](_0x488dae[_0xf9af8d(0x302)]),_0x52ff33=_0x548029['get'](_0x136a03[_0xf9af8d(0x227)]);if(!_0x3b9676)return!0x1;const _0x4ed4da=_0x47d532[_0xf9af8d(0x1f7)](_0x52ff33);if(!_0x4ed4da)return!0x1;const {unitId:_0x223421,subUnitId:_0x2b0fbc,workbook:_0x45a9fb}=_0x4ed4da,_0x5e2426=_0x49b7c8['getPivotTableConfig'](_0x3b9676[_0xf9af8d(0x364)][_0xf9af8d(0xb4)],_0x3b9676[_0xf9af8d(0x364)][_0xf9af8d(0x1d4)],_0x3b9676[_0xf9af8d(0xd0)]);if(!_0x5e2426)return!0x1;const _0x222e05=_0x45a9fb[_0xf9af8d(0x6d)](_0x3b9676[_0xf9af8d(0x271)]['subUnitId']);if(!_0x222e05)throw new Error(_0xf9af8d(0x162));const _0x59b1ac=_0x222e05[_0xf9af8d(0x322)](),_0x2cd540=_0x222e05[_0xf9af8d(0x2fe)]();if(_0x3b9676['targetCellInfo'][_0xf9af8d(0x327)]>_0x59b1ac||_0x3b9676[_0xf9af8d(0x271)]['col']>_0x2cd540)throw new Error(_0xf9af8d(0x245));const _0xa2edcd=[{'id':_0x351ec9['id'],'params':{'unitId':_0x223421,'subUnitId':_0x3b9676[_0xf9af8d(0x271)]['subUnitId'],'pivotTableId':_0x3b9676[_0xf9af8d(0xd0)],'targetCellPosition':{'row':_0x3b9676['targetCellInfo'][_0xf9af8d(0x327)],'col':_0x3b9676[_0xf9af8d(0x271)][_0xf9af8d(0xed)]}}}],_0x5c5e16=[{'id':_0x351ec9['id'],'params':{'unitId':_0x223421,'subUnitId':_0x2b0fbc,'pivotTableId':_0x3b9676[_0xf9af8d(0xd0)],'targetCellPosition':{'row':_0x5e2426[_0xf9af8d(0x271)][_0xf9af8d(0x327)],'col':_0x5e2426[_0xf9af8d(0x271)][_0xf9af8d(0xed)]}}}];return _0x136a03[_0xf9af8d(0x297)](_0xa2edcd,_0x5afd0d)&&_0x30657b['pushUndoRedo']({'unitID':_0x223421,'undoMutations':_0x5c5e16,'redoMutations':_0xa2edcd}),!0x0;}},_0xa870fc={'type':_0x136a03['CommandType'][_0x4ff3ff(0x1b4)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3e8125,_0x2cb599){const _0x1cc08f=_0x4ff3ff;var _0x4b2878;if(!_0x2cb599)return!0x1;const _0x59ae02=_0x3e8125[_0x1cc08f(0x34e)](_0x136a03[_0x1cc08f(0x227)]),_0x15d8eb=_0x47d532[_0x1cc08f(0x1f7)](_0x59ae02);if(!_0x15d8eb)return!0x1;const {unitId:_0xdd699c,subUnitId:_0x1be0e3,workbook:_0x1b3dd2}=_0x15d8eb,{row:_0xb28891,col:_0x4b77ef}=_0x2cb599,_0x498cb3=_0x3e8125[_0x1cc08f(0x34e)](_0x488dae[_0x1cc08f(0x1e5)]),_0x15d3e5=_0x498cb3[_0x1cc08f(0x1bf)](_0xdd699c,_0x1be0e3,_0xb28891,_0x4b77ef);if(!_0x15d3e5)return!0x1;const _0x136ce4=(_0x4b2878=_0x498cb3[_0x1cc08f(0x295)](_0xdd699c,_0x1be0e3,_0x15d3e5))==null?void 0x0:_0x4b2878[_0x1cc08f(0x1d7)];if(!_0x136ce4)return!0x1;const _0x39c149=_0x3e8125[_0x1cc08f(0x34e)](_0x488dae[_0x1cc08f(0x302)])['getPivotTableConfig'](_0xdd699c,_0x1be0e3,_0x15d3e5);if(!_0x39c149)return!0x1;const {rowInfo:_0x2f7123,colInfo:_0x333d62}=_0x136ce4,_0x3b66ea=_0x2f7123[_0xb28891][_0x1cc08f(0x22f)],_0x7a1c1c=_0x333d62[_0x4b77ef][_0x1cc08f(0x22f)],_0x3c8eee=_0x2f7123[_0xb28891][_0x1cc08f(0x349)],_0x26913d=_0x333d62[_0x4b77ef][_0x1cc08f(0x349)],_0x510977=_0x3b66ea[_0x1cc08f(0x1d0)](_0x7a1c1c),_0x4b4fe5=_0x39c149['fieldsConfig'][_0x1cc08f(0x21c)][_0x1cc08f(0x19d)](0x0,_0x3c8eee),_0x12c0a2=_0x39c149[_0x1cc08f(0x237)]['columnFields'][_0x1cc08f(0x19d)](0x0,_0x26913d),_0x3c018b=_0x4b4fe5['concat'](_0x12c0a2),_0x468941=_0x510977['map']((_0x2849af,_0x1d3cad)=>[_0x2849af,_0x3c018b[_0x1d3cad]]),_0x4deb28=(await _0x3e8125['get'](_0x488dae['SheetsPivotRPCService'])[_0x1cc08f(0x36c)]({'unitId':_0xdd699c,'subUnitId':_0x1be0e3,'pivotTableId':_0x15d3e5,'params':{'type':_0x434fd6['DrillDown'],'drillDown':{'tuple':_0x468941}}}))[_0x1cc08f(0x340)]['drillDown'];if(!_0x4deb28)return!0x1;const {indexes:_0x2336d0,range:_0x432678,sourceUnitId:_0x2219ba,sourceSubUnitId:_0x2beac0,formatMap:_0x2954d4}=_0x4deb28,{startRow:_0x5b0fcf,endRow:_0x13fde2,startColumn:_0x1662ae,endColumn:_0x40f293}=_0x432678,_0x5a508d=new _0x136a03[(_0x1cc08f(0xfd))](),_0x4c5abc=_0x13fde2-_0x5b0fcf,_0x401e07=_0x40f293-_0x1662ae,_0x31e233={},_0x46a6a3=_0x47d532['getSheetCommandTarget'](_0x59ae02,{'unitId':_0x2219ba,'subUnitId':_0x2beac0});if(!_0x46a6a3)return!0x1;const _0x3f240a=_0x1a3ef9[_0x1cc08f(0x216)],_0x374b07=_0x1a3ef9[_0x1cc08f(0x358)],_0x8f282b=_0x1a3ef9['subTotalStyle'],_0x22d94f=_0x1b3dd2['getStyles']()[_0x1cc08f(0x1fd)](_0x3f240a),_0x3f8ecb=_0x1b3dd2['getStyles']()[_0x1cc08f(0x1fd)](_0x374b07),_0x2957ea=_0x1b3dd2['getStyles']()[_0x1cc08f(0x1fd)](_0x8f282b),{worksheet:_0x11b33b}=_0x46a6a3;let _0x30a706=0x0;const _0x5bc33c=0x1;_0x2336d0[_0x1cc08f(0x1ed)](_0x2a3f74=>{for(let _0x491396=0x0;_0x491396<=_0x40f293-_0x1662ae;_0x491396++)_0x5a508d['setValue'](_0x30a706,_0x491396,_0x11b33b['getCellRaw'](_0x2a3f74+_0x432678['startRow']+_0x5bc33c,_0x491396));_0x30a706++;});for(let _0x4f1ece=_0x1662ae;_0x4f1ece<=_0x40f293;_0x4f1ece++){const _0x138bbc=_0x11b33b[_0x1cc08f(0x2eb)](_0x5b0fcf,_0x4f1ece);_0x31e233[_0x5b0fcf]||(_0x31e233[_0x5b0fcf]={}),_0x31e233[_0x5b0fcf][_0x4f1ece]={..._0x138bbc,'s':_0x22d94f};}let _0x28a453=0x1;const _0x207e74={},_0x46381e={};_0x5a508d[_0x1cc08f(0x18b)]((_0x237ded,_0x4d7eb0)=>{const _0x1f342b=_0x1cc08f;_0x4d7eb0[_0x1f342b(0x1ed)](_0x39faa5=>{const _0x394fa3=_0x1f342b,_0x199fc7=_0x5a508d[_0x394fa3(0x2b7)](_0x237ded,_0x39faa5);if(_0x31e233[_0x28a453]||(_0x31e233[_0x28a453]={}),_0x31e233[_0x28a453][_0x39faa5]={..._0x199fc7,'s':_0x28a453%0x2===0x0?_0x2957ea:_0x3f8ecb},_0x2954d4[_0x39faa5]&&_0x237ded>=0x0){const _0x52f1d7=_0x28a453%0x2===0x0;let _0x58931f=_0x52f1d7?_0x46381e[_0x39faa5]:_0x207e74[_0x39faa5];_0x58931f||(_0x58931f=_0x1b3dd2['getStyles']()[_0x394fa3(0x1fd)]({..._0x52f1d7?_0x8f282b:_0x374b07,'n':{'pattern':_0x2954d4[_0x39faa5]}}),_0x52f1d7?_0x46381e[_0x39faa5]=_0x58931f:_0x207e74[_0x39faa5]=_0x58931f),_0x31e233[_0x28a453][_0x39faa5]['s']=_0x58931f;}}),_0x28a453++;});const _0x254d1c=new _0x136a03['ObjectMatrix'](_0x31e233),_0x31900c={};_0x254d1c[_0x1cc08f(0x171)]((_0x720209,_0xeef907,_0x363d46)=>{_0x31900c[_0x720209]||(_0x31900c[_0x720209]={}),_0x31900c[_0x720209][_0xeef907]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x34acad=[],_0x50112d=[],_0x34b206=_0x1b3dd2[_0x1cc08f(0x1cf)]()[_0x1cc08f(0x1ae)],_0x49a000=_0x136a03['mergeWorksheetSnapshotWithDefault']({'rowCount':Math['max'](_0x136a03[_0x1cc08f(0x2ca)],_0x4c5abc+0xa),'columnCount':Math[_0x1cc08f(0x352)](_0x136a03[_0x1cc08f(0x18e)],_0x401e07+0x5)}),_0x2bb704=_0x3e8125['get'](_0x136a03[_0x1cc08f(0xac)]);_0x49a000['id']=_0x136a03[_0x1cc08f(0x28d)](),_0x49a000[_0x1cc08f(0xbf)]=_0x1b3dd2['generateNewSheetName'](''+_0x2bb704['t'](_0x1cc08f(0x23a)));const _0x2d05c9={'index':_0x34b206,'sheet':_0x49a000,'unitId':_0xdd699c},_0x3ff01a=_0x47d532['InsertSheetUndoMutationFactory'](_0x3e8125,_0x2d05c9);_0x50112d[_0x1cc08f(0xda)]({'id':_0x47d532[_0x1cc08f(0x33e)]['id'],'params':_0x2d05c9}),_0x34acad['push']({'id':_0x47d532[_0x1cc08f(0x34f)]['id'],'params':_0x3ff01a}),_0x50112d[_0x1cc08f(0xda)]({'id':_0x47d532['SetRangeValuesMutation']['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id'],'cellValue':_0x31e233}}),_0x34acad[_0x1cc08f(0x246)]({'id':_0x47d532[_0x1cc08f(0x31e)]['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id'],'cellValue':_0x31900c}});const _0x45cd1c={'startRow':0x0,'startColumn':0x0,'endRow':_0x28a453-0x1,'endColumn':_0x40f293};_0x50112d[_0x1cc08f(0xda)]({'id':_0x2c33e2[_0x1cc08f(0x225)]['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id'],'range':_0x45cd1c}}),_0x34acad['unshift']({'id':_0x2c33e2[_0x1cc08f(0x30f)]['id'],'params':{'unitId':_0xdd699c,'subUnitId':_0x49a000['id']}});const _0x308e5c=_0x3e8125[_0x1cc08f(0x34e)](_0x136a03[_0x1cc08f(0x13a)]);return _0x136a03['sequenceExecute'](_0x50112d,_0x308e5c)&&_0x3e8125['get'](_0x136a03[_0x1cc08f(0x2d1)])[_0x1cc08f(0x266)]({'unitID':_0xdd699c,'undoMutations':_0x34acad,'redoMutations':_0x50112d}),!0x0;}},_0x3ca2c5={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x128),async 'handler'(_0x543320,_0x2dbea7){const _0x4919c2=_0x4ff3ff;if(!_0x2dbea7)return!0x1;const _0x2d4c3f=_0x543320['get'](_0x136a03[_0x4919c2(0x13a)]),_0x183939=_0x543320[_0x4919c2(0x34e)](_0x488dae[_0x4919c2(0x120)]),_0x190084=_0x543320[_0x4919c2(0x34e)](_0x136a03[_0x4919c2(0x2d1)]),{pivotTableId:_0xbc307a,fieldIds:_0x128dce,unitId:_0x5e5621,subUnitId:_0xf147dc}=_0x2dbea7,_0x224e70=(await _0x183939[_0x4919c2(0x36c)]({'unitId':_0x5e5621,'subUnitId':_0xf147dc,'pivotTableId':_0xbc307a,'params':{'type':_0x434fd6[_0x4919c2(0x86)],'removePivotField':{'fieldIds':_0x128dce}}}))[_0x4919c2(0x340)][_0x4919c2(0xa8)];if(!_0x224e70)return!0x1;const {view:_0x1594c7,changesets:_0x812fb0,isEmpty:_0x26107e,pivotTableConfig:_0x4d339a}=_0x224e70,_0x36a770=_0x4d339a['targetCellInfo'],_0x306b0c=new _0x10f223[(_0x4919c2(0x32d))]();_0x306b0c['formJSON'](_0x1594c7);const _0x34493d={'cellInfo':_0x36a770,'view':_0x306b0c,'isEmpty':_0x26107e};if(!await _0x543320[_0x4919c2(0x34e)](_0x488dae['SheetsPivotTableService'])[_0x4919c2(0x267)][_0x4919c2(0x2f4)](_0x3a4963)(!0x0,_0x34493d))return!0x1;const _0x921707=_0x1fa301(_0x543320,_0x306b0c,_0x36a770,_0x26107e),_0x28b3da=_0x15a8dc(_0x543320,_0x34493d),{redos:_0x23668d,undos:_0x1a8514}=_0x3837e3(_0x2d4c3f,{'pivotTableId':_0xbc307a,'unitId':_0x5e5621,'subUnitId':_0xf147dc},_0x812fb0);return _0x136a03['sequenceExecute']([..._0x921707['redos'],..._0x28b3da[_0x4919c2(0x1aa)],..._0x23668d],_0x2d4c3f),_0x190084[_0x4919c2(0x266)]({'unitID':_0x5e5621,'redoMutations':[..._0x921707['redos'],..._0x28b3da[_0x4919c2(0x1aa)],..._0x23668d],'undoMutations':[..._0x921707[_0x4919c2(0x166)],..._0x28b3da[_0x4919c2(0x166)],..._0x1a8514]}),!0x0;}},_0x59c06a={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x11f),async 'handler'(_0x5af379,_0xae2528){const _0x2a5308=_0x4ff3ff;if(!_0xae2528)return!0x1;const _0x29f170=_0x5af379[_0x2a5308(0x34e)](_0x136a03[_0x2a5308(0x13a)]),_0x364be0=_0x5af379[_0x2a5308(0x34e)](_0x136a03[_0x2a5308(0x2d1)]),_0x17af71=_0x5af379[_0x2a5308(0x34e)](_0x488dae['SheetsPivotRPCService']),{resetArea:_0x17003e,pivotTableId:_0x5566d,unitId:_0x1c055d,subUnitId:_0x183e74}=_0xae2528,_0x13082f=(await _0x17af71[_0x2a5308(0x36c)]({'unitId':_0x1c055d,'subUnitId':_0x183e74,'pivotTableId':_0x5566d,'params':{'type':_0x434fd6['ResetPivotTable'],'resetPivotTable':{'pivotTableId':_0x5566d,'resetArea':_0x17003e}}}))[_0x2a5308(0x340)]['resetPivotTable'];if(!_0x13082f)return!0x1;const {changesets:_0xe15fa4}=_0x13082f,{redos:_0x166155,undos:_0x92650c}=_0x3837e3(_0x29f170,{'pivotTableId':_0x5566d,'unitId':_0x1c055d,'subUnitId':_0x183e74},_0xe15fa4);return _0x136a03['sequenceExecute'](_0x166155,_0x29f170),_0x364be0[_0x2a5308(0x266)]({'unitID':_0x1c055d,'redoMutations':_0x166155,'undoMutations':_0x92650c}),!0x0;}},_0x5cb834={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x2e4),async 'handler'(_0x55e5f8,_0x5aa130){const _0x16c4e9=_0x4ff3ff,_0x44775f=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0x13a)]),_0x46957e=_0x55e5f8[_0x16c4e9(0x34e)](_0x488dae[_0x16c4e9(0x120)]),_0x1c11a6=_0x55e5f8[_0x16c4e9(0x34e)](_0x488dae[_0x16c4e9(0x1e5)]),_0x2a0027=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0x227)]),_0x2c4a12=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0xac)]),_0x5aa231=_0x55e5f8[_0x16c4e9(0x34e)](_0x136a03[_0x16c4e9(0x2d1)]);if(!_0x5aa130)return!0x1;const {unitId:_0x447825,subUnitId:_0x2f37ea,row:_0x60ad6c,col:_0x234094,collapse:_0x11a09c}=_0x5aa130,_0x5cab9c=_0x2a0027[_0x16c4e9(0x229)](_0x447825);if(!_0x5cab9c||!_0x5cab9c[_0x16c4e9(0x6d)](_0x2f37ea))return!0x1;const _0x5c967f=_0x1c11a6[_0x16c4e9(0x1bf)](_0x447825,_0x2f37ea,_0x60ad6c,_0x234094);if(!_0x5c967f)return!0x1;const _0x37fe82=_0x1c11a6[_0x16c4e9(0x295)](_0x447825,_0x2f37ea,_0x5c967f);if(!_0x37fe82)return!0x1;const _0x2bc523=_0x136a03['cellToRange'](_0x60ad6c,_0x234094),{rangesInfo:_0x36cd64,areaInfo:_0x14e36e,headerMap:_0x29ad19}=_0x37fe82;if(!_0x36cd64||!_0x14e36e||!_0x29ad19)return!0x1;const _0x1e17c4=Object[_0x16c4e9(0x255)](_0x36cd64)[_0x16c4e9(0xf0)](_0x11d451=>_0x36cd64[_0x11d451][_0x16c4e9(0x1bb)](_0x81fcba=>_0x136a03[_0x16c4e9(0xab)][_0x16c4e9(0x8c)](_0x81fcba,_0x2bc523)));let _0xaa9e33;_0x1e17c4==='rowRanges'?_0xaa9e33=_0x29ad19[_0x16c4e9(0x247)][_0x234094]:_0x1e17c4===_0x16c4e9(0x343)&&(_0xaa9e33=_0x29ad19['colHeaderMap'][_0x60ad6c]);const _0x1ef593=_0xaa9e33==null?void 0x0:_0xaa9e33[_0x16c4e9(0xa1)],_0x135bd1=_0x1c11a6[_0x16c4e9(0x217)](_0x447825,_0x2f37ea,_0x60ad6c,_0x234094);let _0x3180b2=_0x135bd1==null?void 0x0:_0x135bd1['v'];if(_0x3180b2===_0x2c4a12['t']('sheets-pivot.blank')&&(_0x3180b2=_0x10f223['GlobalConfig'][_0x16c4e9(0x203)]),_0x3180b2==null||!_0x5c967f||!_0x1ef593)return!0x1;const _0x177d90=await _0x46957e[_0x16c4e9(0x36c)]({'unitId':_0x447825,'subUnitId':_0x2f37ea,'pivotTableId':_0x5c967f,'params':{'type':_0x434fd6[_0x16c4e9(0xdc)],'setPivotCollapse':{'tableFieldId':_0x1ef593,'collapse':_0x11a09c,'item':_0x3180b2}}}),_0x455e8d=_0x177d90==null?void 0x0:_0x177d90[_0x16c4e9(0x340)][_0x16c4e9(0x126)];if(!_0x455e8d)return!0x1;const {view:_0x4ef9ba,pivotTableConfig:_0x540fa4,isEmpty:_0x12fce3,changesets:_0x1b4dcd}=_0x455e8d,_0x20ed77=new _0x10f223[(_0x16c4e9(0x32d))]();_0x20ed77[_0x16c4e9(0x2ed)](_0x4ef9ba);const _0x4f76f5=_0x540fa4[_0x16c4e9(0x271)],_0x590484={'cellInfo':_0x4f76f5,'view':_0x20ed77,'isEmpty':_0x12fce3};if(!await _0x55e5f8[_0x16c4e9(0x34e)](_0x488dae[_0x16c4e9(0x2af)])[_0x16c4e9(0x267)][_0x16c4e9(0x2f4)](_0x3a4963)(!0x0,_0x590484))return!0x1;const _0x32b941=_0x1fa301(_0x55e5f8,_0x20ed77,_0x4f76f5,_0x12fce3),_0x339f93=_0x15a8dc(_0x55e5f8,_0x590484),{redos:_0x148f64,undos:_0x38e805}=_0x3837e3(_0x44775f,{'pivotTableId':_0x5c967f,'unitId':_0x447825,'subUnitId':_0x2f37ea},_0x1b4dcd);return _0x136a03['sequenceExecute']([..._0x32b941[_0x16c4e9(0x1aa)],..._0x339f93[_0x16c4e9(0x1aa)],..._0x148f64],_0x44775f),_0x5aa231[_0x16c4e9(0x266)]({'unitID':_0x447825,'redoMutations':[..._0x32b941[_0x16c4e9(0x1aa)],..._0x339f93[_0x16c4e9(0x1aa)],..._0x148f64],'undoMutations':[..._0x32b941[_0x16c4e9(0x166)],..._0x339f93[_0x16c4e9(0x166)],..._0x38e805]}),!0x0;}},_0x2f4958={'type':_0x136a03['CommandType'][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x36b),async 'handler'(_0x4e87df,_0x5edbac){const _0x2d00a2=_0x4ff3ff;if(!_0x5edbac)return!0x1;const _0x2a2463=_0x4e87df[_0x2d00a2(0x34e)](_0x136a03['ICommandService']),_0x5e7723=_0x4e87df[_0x2d00a2(0x34e)](_0x136a03[_0x2d00a2(0x2d1)]),_0x212fca=_0x4e87df['get'](_0x488dae['SheetsPivotRPCService']),{pivotTableConfig:_0x11d333,pivotTableId:_0x386d94,unitId:_0x3c9e51,subUnitId:_0xc08a6c}=_0x5edbac,_0x4d0bae=(await _0x212fca[_0x2d00a2(0x36c)]({'unitId':_0x3c9e51,'subUnitId':_0xc08a6c,'pivotTableId':_0x386d94,'params':{'type':_0x434fd6[_0x2d00a2(0x161)],'setPivotTableConfig':{'pivotTableId':_0x386d94,'pivotTableConfig':_0x11d333}}}))[_0x2d00a2(0x340)]['setPivotTableConfig'];if(!_0x4d0bae)return!0x1;const {changesets:_0x9fd9d0}=_0x4d0bae,{redos:_0x58f8e5,undos:_0x305cec}=_0x3837e3(_0x2a2463,{'pivotTableId':_0x386d94,'unitId':_0x3c9e51,'subUnitId':_0xc08a6c},_0x9fd9d0);return _0x136a03[_0x2d00a2(0x297)](_0x58f8e5,_0x2a2463),_0x5e7723[_0x2d00a2(0x266)]({'unitID':_0x3c9e51,'redoMutations':_0x58f8e5,'undoMutations':_0x305cec}),!0x0;}},_0x25fe6b={'type':_0x136a03['CommandType'][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x377),async 'handler'(_0x3304a4,_0x332706){const _0x4c20a5=_0x4ff3ff;if(!_0x332706)return!0x1;const _0x5c4346=_0x3304a4[_0x4c20a5(0x34e)](_0x136a03[_0x4c20a5(0x13a)]),{pivotTableId:_0x3d81a3,tableFieldId:_0x4934aa,items:_0x21b1fb,unitId:_0x381007,subUnitId:_0x5782fb,isAll:_0x391da3}=_0x332706,_0x512a34=_0x3304a4[_0x4c20a5(0x34e)](_0x488dae[_0x4c20a5(0x120)]),_0x1f15f3=_0x3304a4[_0x4c20a5(0x34e)](_0x136a03[_0x4c20a5(0x2d1)]),_0x11366c=(await _0x512a34['getPivotDisplayConfig']({'unitId':_0x381007,'subUnitId':_0x5782fb,'pivotTableId':_0x3d81a3,'params':{'type':_0x434fd6[_0x4c20a5(0x339)],'setPivotFilter':{'tableFieldId':_0x4934aa,'items':_0x21b1fb,'isAll':_0x391da3}}}))[_0x4c20a5(0x340)][_0x4c20a5(0x2e1)];if(!_0x11366c)return!0x1;const {changesets:_0x36e53f,pivotTableConfig:_0x3ba719,isEmpty:_0x4a2383,view:_0x29614a}=_0x11366c,_0x1a4ba7=_0x3ba719['targetCellInfo'],_0x21e901=new _0x10f223[(_0x4c20a5(0x32d))]();_0x21e901['formJSON'](_0x29614a);const _0x3fa190={'cellInfo':_0x1a4ba7,'view':_0x21e901,'isEmpty':_0x4a2383};if(!await _0x3304a4[_0x4c20a5(0x34e)](_0x488dae['SheetsPivotTableService'])[_0x4c20a5(0x267)][_0x4c20a5(0x2f4)](_0x3a4963)(!0x0,_0x3fa190))return!0x1;const _0x10444c=_0x1fa301(_0x3304a4,_0x21e901,_0x1a4ba7,_0x4a2383),_0x2c3fea=_0x15a8dc(_0x3304a4,_0x3fa190),{undos:_0x188113,redos:_0x2e2849}=_0x3837e3(_0x5c4346,{'pivotTableId':_0x3d81a3,'unitId':_0x381007,'subUnitId':_0x5782fb},_0x36e53f);return _0x136a03[_0x4c20a5(0x297)]([..._0x10444c[_0x4c20a5(0x1aa)],..._0x2c3fea['redos'],..._0x2e2849],_0x5c4346),_0x1f15f3[_0x4c20a5(0x266)]({'unitID':_0x381007,'redoMutations':[..._0x10444c[_0x4c20a5(0x1aa)],..._0x2c3fea[_0x4c20a5(0x1aa)],..._0x2e2849],'undoMutations':[..._0x10444c[_0x4c20a5(0x166)],..._0x2c3fea['undos'],..._0x188113]}),!0x0;}},_0x31c60a={'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'id':_0x4ff3ff(0x2a0),async 'handler'(_0x2625e0,_0x59769d){const _0x9af9e7=_0x4ff3ff;if(!_0x59769d)return!0x1;const _0x22eb26=_0x2625e0[_0x9af9e7(0x34e)](_0x136a03[_0x9af9e7(0x13a)]),_0x2b9ecf=_0x2625e0[_0x9af9e7(0x34e)](_0x136a03[_0x9af9e7(0x2d1)]),_0xceaad6=_0x2625e0['get'](_0x488dae[_0x9af9e7(0x120)]),{info:_0x4e4fb2,tableFieldId:_0x48769d,pivotTableId:_0x378d21,unitId:_0x2efdcf,subUnitId:_0x2326fa}=_0x59769d,_0xa1e61c=(await _0xceaad6[_0x9af9e7(0x36c)]({'unitId':_0x2efdcf,'subUnitId':_0x2326fa,'pivotTableId':_0x378d21,'params':{'type':_0x434fd6[_0x9af9e7(0xf3)],'setPivotSort':{'tableFieldId':_0x48769d,'info':_0x4e4fb2}}}))['result'][_0x9af9e7(0x181)];if(!_0xa1e61c)return!0x1;const {changesets:_0x379799}=_0xa1e61c,{redos:_0x11a927,undos:_0x52e6da}=_0x3837e3(_0x22eb26,{'pivotTableId':_0x378d21,'unitId':_0x2efdcf,'subUnitId':_0x2326fa},_0x379799);return _0x136a03[_0x9af9e7(0x297)](_0x11a927,_0x22eb26),_0x2b9ecf[_0x9af9e7(0x266)]({'unitID':_0x2efdcf,'redoMutations':_0x11a927,'undoMutations':_0x52e6da}),!0x0;}},_0xacb440={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x190),async 'handler'(_0x141497,_0xd19539){const _0x3dfe7b=_0x4ff3ff;if(!_0xd19539)return!0x1;const _0xe10382=_0x141497[_0x3dfe7b(0x34e)](_0x136a03[_0x3dfe7b(0x13a)]),{pivotTableId:_0x34a0bc,fieldId:_0x46470f,valueFilterInfo:_0x253561,unitId:_0x780f1a,subUnitId:_0x554ef0}=_0xd19539,_0x2dee01=_0x141497[_0x3dfe7b(0x34e)](_0x488dae[_0x3dfe7b(0x120)]),_0x16a18d=_0x141497[_0x3dfe7b(0x34e)](_0x136a03[_0x3dfe7b(0x2d1)]),_0x181495=(await _0x2dee01['getPivotDisplayConfig']({'unitId':_0x780f1a,'subUnitId':_0x554ef0,'pivotTableId':_0x34a0bc,'params':{'type':_0x434fd6[_0x3dfe7b(0x270)],'setValuePivotFilter':{'tableFieldId':_0x46470f,'filterInfo':_0x253561}}}))[_0x3dfe7b(0x340)][_0x3dfe7b(0x14b)];if(!_0x181495)return!0x1;const {changesets:_0x59d2b4,pivotTableConfig:_0x520893,isEmpty:_0x4c1587,view:_0x4cb18e}=_0x181495,_0x402ac7=_0x520893[_0x3dfe7b(0x271)],_0x1e1c84=new _0x10f223[(_0x3dfe7b(0x32d))]();_0x1e1c84[_0x3dfe7b(0x2ed)](_0x4cb18e);const _0x258e25={'cellInfo':_0x402ac7,'view':_0x1e1c84,'isEmpty':_0x4c1587};if(!await _0x141497[_0x3dfe7b(0x34e)](_0x488dae[_0x3dfe7b(0x2af)])[_0x3dfe7b(0x267)]['fetchThroughAsyncInterceptors'](_0x3a4963)(!0x0,_0x258e25))return!0x1;const _0x2dd738=_0x1fa301(_0x141497,_0x1e1c84,_0x402ac7,_0x4c1587),_0x1556e7=_0x15a8dc(_0x141497,_0x258e25),{undos:_0x19aedf,redos:_0x456f7b}=_0x3837e3(_0xe10382,{'pivotTableId':_0x34a0bc,'unitId':_0x780f1a,'subUnitId':_0x554ef0},_0x59d2b4);return _0x136a03[_0x3dfe7b(0x297)]([..._0x2dd738[_0x3dfe7b(0x1aa)],..._0x1556e7[_0x3dfe7b(0x1aa)],..._0x456f7b],_0xe10382),_0x16a18d[_0x3dfe7b(0x266)]({'unitID':_0x780f1a,'redoMutations':[..._0x2dd738[_0x3dfe7b(0x1aa)],..._0x1556e7[_0x3dfe7b(0x1aa)],..._0x456f7b],'undoMutations':[..._0x2dd738[_0x3dfe7b(0x166)],..._0x1556e7[_0x3dfe7b(0x166)],..._0x19aedf]}),!0x0;}},_0x11f031={'id':'sheet.mutation.update-date-group','type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'handler':(_0x55bd08,_0x34f2b5)=>{const _0x573718=_0x4ff3ff;if(!_0x34f2b5)return!0x1;if(!!_0x55bd08[_0x573718(0x34e)](_0x136a03[_0x573718(0x25a)])[_0x573718(0x17b)](_0x2432cb))return!0x0;const {unitId:_0x413690,subUnitId:_0x4f3dc6,pivotTableId:_0x5f2fd2,tableFieldId:_0x46f31c,dateType:_0x3071a5}=_0x34f2b5,_0x4dd7fd=_0x55bd08[_0x573718(0x34e)](_0x488dae[_0x573718(0x16d)]),_0x56ef56=_0x4dd7fd['getPivotTableInstance'](_0x5f2fd2);if(!_0x56ef56)return!0x1;const _0x1e8e73=_0x56ef56['getDataFieldByTableId'](_0x46f31c);if(!_0x1e8e73)return!0x1;const _0x2b0792=_0x1e8e73[_0x573718(0x116)](),_0x4bd851=_0x56ef56['getDataFieldByDataFieldId'](_0x2b0792),_0x27b41e=(_0x4bd851==null?void 0x0:_0x4bd851[_0x573718(0x2db)]())+'\x20'+_0x435c15(_0x55bd08,_0x3071a5);_0x4dd7fd[_0x573718(0x139)](_0x413690,_0x5f2fd2)[_0x573718(0x167)](_0x1e8e73['id'],_0x27b41e);const _0x3a26c8=_0x56ef56['getTableFieldById'](_0x46f31c);if(!_0x3a26c8)return!0x1;_0x56ef56[_0x573718(0x2c7)](_0x3a26c8[_0x573718(0x1c5)](),_0x27b41e),_0x1e8e73['setDateType'](_0x3071a5);const _0x20a922=_0x4dd7fd[_0x573718(0x12e)](_0x413690,_0x4f3dc6,_0x5f2fd2);return _0x4dd7fd['addDirtyPivotTable']({'unitId':_0x413690,'subUnitId':_0x4f3dc6,'token':_0x5f2fd2,'type':_0x39c7b1[_0x573718(0x2f1)],'pivotConfig':_0x20a922}),!0x0;}},_0x23226d={'id':_0x4ff3ff(0x328),'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'handler':(_0x65b378,_0x5a5e0a)=>{const _0x294d61=_0x4ff3ff;if(!_0x5a5e0a)return!0x1;const _0x4ab466=_0x65b378[_0x294d61(0x34e)](_0x136a03[_0x294d61(0x2d1)]),{unitId:_0x10de41,subUnitId:_0x380c98,pivotTableId:_0x166a38,tableFieldId:_0x10fecf}=_0x5a5e0a,_0x55c813=[],_0x36b821=[],_0x5c22ad=_0x65b378[_0x294d61(0x34e)](_0x488dae[_0x294d61(0x302)]),_0x78903c=_0x5c22ad[_0x294d61(0x139)](_0x10de41,_0x166a38),_0x4ebe48=_0x5c22ad[_0x294d61(0x12e)](_0x10de41,_0x380c98,_0x166a38);if(!(_0x4ebe48!=null&&_0x4ebe48[_0x294d61(0x237)][_0x294d61(0x33b)]))return!0x1;const _0x216188=Object[_0x294d61(0x143)](_0x4ebe48[_0x294d61(0x237)][_0x294d61(0x33b)])['find'](_0x9c5477=>_0x9c5477['id']===_0x10fecf);if(!_0x216188)return!0x1;const _0x3a03e6=_0x216188['dataFieldId'];if(!(_0x78903c!=null&&_0x78903c['fields']))return!0x1;const _0x2ecdda=Object['values'](_0x78903c==null?void 0x0:_0x78903c[_0x294d61(0x88)])[_0x294d61(0xf0)](_0x2c113d=>_0x2c113d['id']===_0x3a03e6);if(!_0x2ecdda)return!0x1;_0x10f223[_0x294d61(0x2b2)](_0x2ecdda)&&_0x55c813['push']({'id':_0x11f031['id'],'params':{..._0x5a5e0a,'dateType':_0x2ecdda['dateType']}}),_0x36b821['push']({'id':_0x11f031['id'],'params':{..._0x5a5e0a}});const _0x335ade=_0x65b378[_0x294d61(0x34e)](_0x136a03[_0x294d61(0x13a)]);return _0x136a03[_0x294d61(0x297)](_0x36b821,_0x335ade)&&_0x4ab466[_0x294d61(0x266)]({'unitID':_0x10de41,'undoMutations':_0x55c813,'redoMutations':_0x36b821}),!0x0;}},_0x2fd21d={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x30b),async 'handler'(_0x416b25,_0x3ee46e){const _0x3f472f=_0x4ff3ff;if(!_0x3ee46e)return!0x1;const _0x1a62ef=_0x416b25['get'](_0x136a03[_0x3f472f(0x13a)]),_0x35bf1d=_0x416b25[_0x3f472f(0x34e)](_0x136a03[_0x3f472f(0x2d1)]),_0x6734f2=_0x416b25['get'](_0x488dae[_0x3f472f(0x120)]),{displayName:_0x1d6aa5,subtotalType:_0xa1b25b,format:_0x1fae95,tableFieldId:_0x660eb3,pivotTableId:_0x440bbe,unitId:_0x5c4093,subUnitId:_0x4090dc}=_0x3ee46e,_0x7af690=(await _0x6734f2[_0x3f472f(0x36c)]({'unitId':_0x5c4093,'subUnitId':_0x4090dc,'pivotTableId':_0x440bbe,'params':{'type':_0x434fd6[_0x3f472f(0x1a1)],'setPivotSetting':{'tableFieldId':_0x660eb3,'displayName':_0x1d6aa5,'subtotalType':_0xa1b25b,'format':_0x1fae95}}}))['result'][_0x3f472f(0x299)];if(!_0x7af690)return!0x1;const {changesets:_0x609b5c,view:_0x1fa7d1,pivotTableConfig:_0x5e5ddd,isEmpty:_0x2a82c2}=_0x7af690,_0x47aa23=_0x5e5ddd['targetCellInfo'],_0x449342=new _0x10f223['PivotView']();_0x449342[_0x3f472f(0x2ed)](_0x1fa7d1);const _0x40f2bc={'cellInfo':_0x47aa23,'view':_0x449342,'isEmpty':_0x2a82c2};if(!await _0x416b25[_0x3f472f(0x34e)](_0x488dae[_0x3f472f(0x2af)])[_0x3f472f(0x267)][_0x3f472f(0x2f4)](_0x3a4963)(!0x0,_0x40f2bc))return!0x1;const _0x5b811a=_0x1fa301(_0x416b25,_0x449342,_0x47aa23,_0x2a82c2),_0x486b11=_0x15a8dc(_0x416b25,_0x40f2bc),{undos:_0x4df000,redos:_0x3ed30a}=_0x3837e3(_0x1a62ef,{'pivotTableId':_0x440bbe,'unitId':_0x5c4093,'subUnitId':_0x4090dc},_0x609b5c);return _0x136a03[_0x3f472f(0x297)]([..._0x5b811a[_0x3f472f(0x1aa)],..._0x486b11[_0x3f472f(0x1aa)],..._0x3ed30a],_0x1a62ef),_0x35bf1d[_0x3f472f(0x266)]({'unitID':_0x5c4093,'redoMutations':[..._0x5b811a['redos'],..._0x486b11['redos'],..._0x3ed30a],'undoMutations':[..._0x5b811a[_0x3f472f(0x166)],..._0x486b11['undos'],..._0x4df000]}),!0x0;}},_0x4fa7f7={'type':_0x136a03['CommandType'][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x249),'handler'(_0x4da11f,_0x59cfe1){const _0x544be1=_0x4ff3ff;if(!_0x59cfe1)return!0x1;if(!!_0x4da11f[_0x544be1(0x34e)](_0x136a03['IConfigService'])[_0x544be1(0x17b)](_0x2432cb))return!0x0;const _0xf5becc=_0x4da11f['get'](_0x488dae[_0x544be1(0x16d)]),{pivotTableId:_0x562253,deleteIds:_0x4f8cb4,collectionJSON:_0x248371,dataRangeInfo:_0x290bee,unitId:_0x40edd5,subUnitId:_0x218794}=_0x59cfe1,_0x9aa2d6=_0xf5becc[_0x544be1(0xbd)](_0x562253),_0x2e9f1a=_0xf5becc['getPivotTableConfig'](_0x40edd5,_0x218794,_0x562253);if(!_0x9aa2d6||!_0x2e9f1a)return!0x1;const {collection:_0x36ae40,updateDataFieldList:_0x38938e}=_0xf5becc['addCollectionByJSON'](_0x562253,_0x248371,_0x290bee,_0x2e9f1a[_0x544be1(0x271)]);_0xf5becc['refreshData'](_0x36ae40,_0x38938e,_0x290bee),_0x9aa2d6[_0x544be1(0xbc)](_0x36ae40);for(const _0x2bc1b7 of _0x4f8cb4)_0xf5becc[_0x544be1(0x10c)](_0x290bee[_0x544be1(0xb4)],_0x2bc1b7);const _0x2713a6=_0xf5becc[_0x544be1(0x12e)](_0x40edd5,_0x218794,_0x562253);return _0x2713a6[_0x544be1(0x329)]=JSON['parse'](JSON[_0x544be1(0x37d)](_0x290bee)),_0xf5becc['addDirtyPivotTable']({'unitId':_0x40edd5,'subUnitId':_0x218794,'token':_0x562253,'type':_0x39c7b1[_0x544be1(0x2f1)]}),!0x0;}},_0x5d30e7={'type':_0x136a03[_0x4ff3ff(0x2a2)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5b53c8,_0x32bbc4){const _0x3bdbd2=_0x4ff3ff,_0x9df874=_0x5b53c8[_0x3bdbd2(0x34e)](_0x136a03['ICommandService']),_0x21e74b=_0x5b53c8[_0x3bdbd2(0x34e)](_0x488dae[_0x3bdbd2(0x120)]),_0x529074=_0x5b53c8[_0x3bdbd2(0x34e)](_0x136a03[_0x3bdbd2(0x2d1)]);if(!_0x32bbc4)return!0x1;const {token:_0xb56560,dataRangeInfo:_0x286735,unitId:_0x32b379,subUnitId:_0x2a761f}=_0x32bbc4,_0x533250=[],_0x1dd0fb=[],_0x2173e5=(await _0x21e74b[_0x3bdbd2(0x36c)]({'unitId':_0x32b379,'subUnitId':_0x2a761f,'pivotTableId':_0xb56560,'params':{'type':_0x434fd6[_0x3bdbd2(0x1be)],'updatePivotSource':{'dataRangeInfo':_0x286735,'unitId':_0x32b379,'subUnitId':_0x2a761f}}}))[_0x3bdbd2(0x340)][_0x3bdbd2(0xf5)];if(!_0x2173e5)return!0x1;const {changesets:_0x2ce94d,deleteIds:_0x39f8b1,collectionConfig:_0xcdb7c6,oldCollectionConfig:_0x1ea34d,view:_0x3040a9,isEmpty:_0x2e1359,pivotTableConfig:_0x1b5a44}=_0x2173e5;_0x1dd0fb['push']({'id':_0x4fa7f7['id'],'params':{'pivotTableId':_0xb56560,'deleteIds':_0x39f8b1,'collectionJSON':_0xcdb7c6,'dataRangeInfo':_0x286735,'unitId':_0x32b379,'subUnitId':_0x2a761f}}),_0x533250[_0x3bdbd2(0x246)]({'id':_0x4fa7f7['id'],'params':{'pivotTableId':_0xb56560,'deleteIds':[],'collectionJSON':_0x1ea34d,'dataRangeInfo':_0x1b5a44[_0x3bdbd2(0x329)],'unitId':_0x32b379,'subUnitId':_0x2a761f}});const _0x1ae3c0=_0x1b5a44[_0x3bdbd2(0x271)],_0x1f0e9f=new _0x10f223[(_0x3bdbd2(0x32d))]();_0x1f0e9f['formJSON'](_0x3040a9);const _0x333ce1={'cellInfo':_0x1ae3c0,'view':_0x1f0e9f,'isEmpty':_0x2e1359};if(!await _0x5b53c8[_0x3bdbd2(0x34e)](_0x488dae[_0x3bdbd2(0x2af)])[_0x3bdbd2(0x267)][_0x3bdbd2(0x2f4)](_0x3a4963)(!0x0,_0x333ce1))return!0x1;const _0x228353=_0x1fa301(_0x5b53c8,_0x1f0e9f,_0x1ae3c0,_0x2e1359),_0x1849a5=_0x15a8dc(_0x5b53c8,_0x333ce1),{undos:_0x19342c,redos:_0x140a44}=_0x3837e3(_0x9df874,{'pivotTableId':_0xb56560,'unitId':_0x32b379,'subUnitId':_0x2a761f},_0x2ce94d);return _0x136a03['sequenceExecute']([..._0x228353['redos'],..._0x1849a5['redos'],..._0x1dd0fb,..._0x19342c],_0x9df874),_0x529074['pushUndoRedo']({'unitID':_0x32b379,'redoMutations':[..._0x228353['redos'],..._0x1849a5[_0x3bdbd2(0x1aa)],..._0x1dd0fb,..._0x19342c],'undoMutations':[..._0x228353['undos'],..._0x1849a5[_0x3bdbd2(0x166)],..._0x533250,..._0x140a44]}),!0x0;}},_0x39841d={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x1b4)],'id':_0x4ff3ff(0x138),async 'handler'(_0x27a162,_0x2fb5e2){const _0x534c22=_0x4ff3ff;if(!_0x2fb5e2)return!0x1;const _0x15a13f=_0x27a162[_0x534c22(0x34e)](_0x136a03[_0x534c22(0x13a)]),_0x53d7e4=_0x27a162[_0x534c22(0x34e)](_0x488dae[_0x534c22(0x120)]),_0x220d9d=_0x27a162['get'](_0x136a03['IUniverInstanceService']),_0x5e33ae=_0x27a162[_0x534c22(0x34e)](_0x136a03[_0x534c22(0x2d1)]),{pivotTableId:_0x4bfb32,position:_0x500415,index:_0x2cd83d}=_0x2fb5e2,_0x5dfdea=_0x47d532[_0x534c22(0x1f7)](_0x220d9d);if(!_0x5dfdea)return!0x1;const {unitId:_0x3dcf7d,subUnitId:_0x2886b8}=_0x5dfdea,_0x496885=(await _0x53d7e4[_0x534c22(0x36c)]({'unitId':_0x3dcf7d,'subUnitId':_0x2886b8,'pivotTableId':_0x4bfb32,'params':{'type':_0x434fd6['UpdateValuePosition'],'updateValuePosition':{'position':_0x500415,'index':_0x2cd83d}}}))[_0x534c22(0x340)][_0x534c22(0x197)];if(!_0x496885)return!0x1;const {changesets:_0x6611a0,view:_0x4e18d7,isEmpty:_0x14e794,pivotTableConfig:_0x2bb680}=_0x496885,_0x26a8f5=_0x2bb680[_0x534c22(0x271)],_0x3a3865=new _0x10f223[(_0x534c22(0x32d))]();_0x3a3865[_0x534c22(0x2ed)](_0x4e18d7);const _0x1c5a0d=_0x27a162[_0x534c22(0x34e)](_0x488dae[_0x534c22(0x2af)]),_0x548ff9={'cellInfo':_0x26a8f5,'view':_0x3a3865,'isEmpty':_0x14e794};if(!await _0x1c5a0d['asyncInterceptor'][_0x534c22(0x2f4)](_0x3a4963)(!0x0,_0x548ff9))return!0x1;const _0x1bd913=_0x1fa301(_0x27a162,_0x3a3865,_0x26a8f5,_0x14e794),_0x48f547=_0x15a8dc(_0x27a162,_0x548ff9),{undos:_0x4e8034,redos:_0x3d37f3}=_0x3837e3(_0x15a13f,{'pivotTableId':_0x4bfb32,'unitId':_0x3dcf7d,'subUnitId':_0x2886b8},_0x6611a0);return _0x136a03[_0x534c22(0x297)]([..._0x1bd913[_0x534c22(0x1aa)],..._0x48f547['redos'],..._0x3d37f3],_0x15a13f),_0x5e33ae[_0x534c22(0x266)]({'unitID':_0x3dcf7d,'redoMutations':[..._0x1bd913['redos'],..._0x48f547[_0x534c22(0x1aa)],..._0x3d37f3],'undoMutations':[..._0x1bd913[_0x534c22(0x166)],..._0x48f547[_0x534c22(0x166)],..._0x4e8034]}),!0x0;}},_0x4f48b1={'type':_0x136a03[_0x4ff3ff(0x2a2)][_0x4ff3ff(0x113)],'id':_0x4ff3ff(0x378),'handler'(){return!0x0;}};var _0x572bbb=Object[_0x4ff3ff(0xba)],_0x1326f5=(_0x56e392,_0xc3ce24,_0x20c4cc,_0x54c7be)=>{for(var _0x366d98=_0x54c7be>0x1?void 0x0:_0x54c7be?_0x572bbb(_0xc3ce24,_0x20c4cc):_0xc3ce24,_0x3d66b6=_0x56e392['length']-0x1,_0x58fc24;_0x3d66b6>=0x0;_0x3d66b6--)(_0x58fc24=_0x56e392[_0x3d66b6])&&(_0x366d98=_0x58fc24(_0x366d98)||_0x366d98);return _0x366d98;},_0x424f0b=(_0x35f1d7,_0x153eac)=>(_0x3cadb4,_0x1361e2)=>_0x153eac(_0x3cadb4,_0x1361e2,_0x35f1d7);const _0x55cac3=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x501ff4=(_0x4cebf6,_0x848185,_0x236cc0)=>{const _0xe56af1=_0x4ff3ff,_0x1f5fa3=_0x4cebf6[_0xe56af1(0x24e)];_0x4cebf6['iterateFieldDim'](_0x5912d1=>{const _0x4197bd=_0xe56af1,_0x5d1282=_0x5912d1[_0x4197bd(0x1c5)](),_0x3aa6dc=_0x5912d1[_0x4197bd(0x164)](),_0x1502ea=_0x5912d1[_0x4197bd(0x19c)](),_0x6b1563=_0x5912d1['getDisplayName']();_0x848185[_0x3aa6dc]&&_0x848185[_0x3aa6dc]===_0x6b1563&&_0x1502ea===_0x6b1563&&(_0x4cebf6[_0x4197bd(0x2c7)](_0x5d1282,_0x1f5fa3['getDisplayName'](_0x3aa6dc)),_0x5912d1[_0x4197bd(0x375)](_0x1f5fa3[_0x4197bd(0x2f5)](_0x3aa6dc)));}),_0x4cebf6[_0xe56af1(0x2c3)](_0x10f223[_0xe56af1(0x325)][_0xe56af1(0x27e)],_0x23c443=>{const _0x447216=_0xe56af1,_0x405ea2=_0x23c443[_0x447216(0x1c5)](),_0x22a5d5=_0x23c443[_0x447216(0x164)](),_0x58771b=_0x23c443['getSourceName'](),_0x386ada=_0x23c443[_0x447216(0x2f5)](),_0x592297=_0x23c443['getSubtotal'](),_0x401604=_0x236cc0(_0x58771b,_0x592297);_0x848185[_0x22a5d5]&&_0x848185[_0x22a5d5]===_0x58771b&&_0x401604===_0x386ada&&(_0x4cebf6['renameField'](_0x405ea2,_0x236cc0(_0x1f5fa3['getDisplayName'](_0x22a5d5),_0x592297)),_0x23c443[_0x447216(0x375)](_0x1f5fa3[_0x447216(0x2f5)](_0x22a5d5)));});},_0x52c006=(_0x320f40,_0x4f9b60,_0x19500f)=>{const _0x1fbd2e=_0x4ff3ff;var _0x3f4aae,_0x35ee74;const {arrayFormulaCellData:_0xddc126,unitData:_0x97cf}=_0x4f9b60,{unitId:_0x5234ba,subUnitId:_0x26caa1}=_0x19500f,_0x592eea=_0x19500f[_0x1fbd2e(0x1fe)],{startColumn:_0x5f3beb,endColumn:_0x24beaa}=_0x592eea,_0x37a50f=(_0x3f4aae=_0xddc126==null?void 0x0:_0xddc126[_0x5234ba])==null?void 0x0:_0x3f4aae[_0x26caa1],_0xef543c=(_0x35ee74=_0x97cf==null?void 0x0:_0x97cf[_0x5234ba])==null?void 0x0:_0x35ee74[_0x26caa1],_0x5de340=new Set(),_0x2fbcd0=_0x24beaa-_0x5f3beb+0x1,{dirtyRanges:_0x3539b4}=_0x320f40;if(_0x3539b4)for(const {range:_0x22642d,sheetId:_0x30c1c4,unitId:_0x292a38}of _0x3539b4){if(_0x30c1c4!==_0x26caa1||_0x5234ba!==_0x292a38)continue;const _0x50003b=_0x136a03[_0x1fbd2e(0xab)][_0x1fbd2e(0x27c)](_0x22642d,_0x592eea);if(_0x50003b){const {startColumn:_0xa400eb,endColumn:_0x242f41}=_0x50003b;for(let _0xd48eb=_0xa400eb;_0xd48eb<=_0x242f41;_0xd48eb++)_0x5de340['add'](_0xd48eb);}}if(_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0||_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0)return Array['from'](_0x5de340);if(_0xef543c){const _0x44a3c6=_0xef543c[_0x1fbd2e(0x28b)](),_0x257807=Object['keys'](_0x44a3c6);for(const _0x19ba6e of _0x257807){const _0x5365bb=Number(_0x19ba6e),_0x3b971c=_0x44a3c6[_0x5365bb];if(_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0)break;for(const _0x3c469c in _0x3b971c){const _0x118e66=Number(_0x3c469c);_0x118e66<_0x5f3beb||_0x118e66>_0x24beaa||_0x5de340[_0x1fbd2e(0x20b)](_0x118e66);}}}if(_0x37a50f){const _0x405c23=_0x37a50f[_0x1fbd2e(0x28b)](),_0x5b8a22=Object[_0x1fbd2e(0x255)](_0x405c23);for(const _0x470687 of _0x5b8a22){const _0x1c905e=Number(_0x470687),_0x6073e8=_0x405c23[_0x1c905e];if(_0x5de340[_0x1fbd2e(0x26f)]===_0x2fbcd0)break;for(const _0x30ec40 in _0x6073e8){const _0x67f501=Number(_0x30ec40);_0x67f501<_0x5f3beb||_0x67f501>_0x24beaa||_0x5de340[_0x1fbd2e(0x20b)](_0x67f501);}}}return Array[_0x1fbd2e(0x154)](_0x5de340);},_0x338db6=_0x50612f=>{const _0x307139=_0x4ff3ff,_0xa21f9=new Set(),_0x48fa7a=[];for(const _0x425da5 of _0x50612f){const _0x5a7dd4=_0x425da5['startRow']+','+_0x425da5[_0x307139(0x27a)]+','+_0x425da5[_0x307139(0x2fd)]+','+_0x425da5[_0x307139(0x304)];_0xa21f9[_0x307139(0x1ef)](_0x5a7dd4)||(_0xa21f9['add'](_0x5a7dd4),_0x48fa7a[_0x307139(0xda)](_0x425da5));}return _0x48fa7a;};let _0x1f28d6=class extends _0x136a03['Disposable']{constructor(_0x562bf2,_0x454cb3,_0x235261,_0x2f0735,_0x181015){const _0x4b671f=_0x4ff3ff;super(),_0x4779db(this,_0x4b671f(0x146),new _0x4d3cd2[(_0x4b671f(0x374))](!0x0)),_0x4779db(this,_0x4b671f(0x35d),_0x169cb0=>{const _0x41d046=_0x4b671f;this[_0x41d046(0x146)]['next'](!0x1);}),_0x4779db(this,'_globalComputedEndHelpFunc',_0x2a94c7=>{const _0x2ea715=_0x4b671f;this[_0x2ea715(0x146)][_0x2ea715(0x236)](!0x0);}),(this[_0x4b671f(0x30e)]=_0x562bf2,this[_0x4b671f(0x296)]=_0x454cb3,this[_0x4b671f(0x1ff)]=_0x235261,this[_0x4b671f(0x281)]=_0x2f0735,this['_injector']=_0x181015,this[_0x4b671f(0x202)](),this['_initPivotDataGetListener']());}[_0x4ff3ff(0x202)](){const _0x262143=_0x4ff3ff;this[_0x262143(0x1c7)](),this['_subjectViewChange'](),this[_0x262143(0x33c)](),this[_0x262143(0x24c)]();}['_initGlobalComputed'](){const _0xd9f09e=_0x4ff3ff;this[_0xd9f09e(0x281)]['pushComputingStatusSubject'](this[_0xd9f09e(0x146)]),_0x10f223[_0xd9f09e(0x31a)][_0xd9f09e(0x15c)](_0x10f223[_0xd9f09e(0x2a7)][_0xd9f09e(0x71)],this[_0xd9f09e(0x35d)]),_0x10f223[_0xd9f09e(0x31a)][_0xd9f09e(0x15c)](_0x10f223[_0xd9f09e(0x2a7)]['onQueryEnd'],this[_0xd9f09e(0xf8)]);}[_0x4ff3ff(0x253)](){const _0x22f34c=_0x4ff3ff;this[_0x22f34c(0x228)](this['_commandService'][_0x22f34c(0x104)](_0x2ddbe4=>{const _0x56357f=_0x22f34c;_0x2ddbe4['id']===_0x47d532['MoveRangeMutation']['id']&&this[_0x56357f(0x30e)][_0x56357f(0x114)](_0x2ddbe4[_0x56357f(0x221)]);})),this[_0x22f34c(0x228)](this[_0x22f34c(0x1ff)]['onCommandExecuted'](_0x229d24=>{const _0x57e85b=_0x22f34c;if(_0x229d24['id']!==_0x5ccc55['id'])return;const _0x456ed7=_0x229d24[_0x57e85b(0x221)],{unitId:_0x567cae,subUnitId:_0x4e729d,pivotTableId:_0x19771c}=_0x456ed7,_0x42a52f=_0x456ed7['params'][_0x57e85b(0x20d)],_0x587168={};switch(_0x42a52f){case _0x434fd6[_0x57e85b(0x12c)]:{const _0x347d31=_0x456ed7[_0x57e85b(0x221)]['filter'];if(!_0x347d31)return;const {row:_0x39d3c9,col:_0x1c1262,cellData:_0x301eba,pivotItemRenderInfoCache:_0x575035,tableFieldId:_0x47d274}=_0x347d31,_0x450580=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x456ed7[_0x57e85b(0xd0)]);if(!_0x450580||!_0x575035)return;if(_0x47d274){const _0x1cde4f=_0x450580['getDataFieldByTableId'](_0x47d274);if(!_0x1cde4f)return;_0x587168[_0x57e85b(0xb3)]={..._0x450580[_0x57e85b(0x2f0)](_0x1cde4f),'tableFieldId':_0x47d274,'pivotTableId':_0x456ed7['pivotTableId'],'filterInfo':_0x450580[_0x57e85b(0xb0)](_0x47d274),'sortInfo':_0x450580[_0x57e85b(0x1d8)](_0x47d274),'format':_0x450580[_0x57e85b(0x215)](_0x47d274)};}else{const _0x4e46bb=_0x3872a6(_0x39d3c9,_0x1c1262,_0x301eba,_0x450580,_0x575035),_0x80bed6=_0x4e46bb==null?void 0x0:_0x4e46bb[_0x57e85b(0x360)];if(!_0x80bed6)return;const _0x231952=_0x450580[_0x57e85b(0x357)](_0x80bed6);if(!_0x231952)return;_0x587168[_0x57e85b(0xb3)]={..._0x450580[_0x57e85b(0x2f0)](_0x231952),'tableFieldId':_0x80bed6,'pivotTableId':_0x456ed7[_0x57e85b(0xd0)],'filterInfo':_0x450580[_0x57e85b(0xb0)](_0x80bed6),'sortInfo':_0x450580['getSortInfo'](_0x80bed6),'format':_0x450580['getFieldFormat'](_0x80bed6)};}}break;case _0x434fd6[_0x57e85b(0x119)]:{const _0x40ff5d=_0x456ed7[_0x57e85b(0x221)]['panel'];if(!_0x40ff5d)return;const {pivotTableId:_0x525a87}=_0x40ff5d,_0x56277d=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x525a87);if(!_0x56277d)return;const _0x2fdd52=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x525a87),_0x465a2c=_0xfefbb8(_0x56277d,_0x525a87,_0x2fdd52);_0x587168[_0x57e85b(0x324)]=_0x465a2c;}break;case _0x434fd6[_0x57e85b(0x115)]:{const _0x46ab21=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x19771c),_0x4a582a=this[_0x57e85b(0x30e)]['getDataFieldManager'](_0x567cae),_0xf13a7e=_0x4a582a['getCollection'](_0x19771c);let _0x3cd53f=null;const _0x5a4c85=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c),_0x202b75=_0x456ed7[_0x57e85b(0x221)]['addPivotField'];if(!_0x46ab21||!_0x5a4c85||!_0x202b75)return!0x1;const {dataFieldId:_0x1143f5,fieldArea:_0x353d94,index:_0x535c82}=_0x202b75;_0x46ab21[_0x57e85b(0x141)]();const _0x3201c1=_0x46ab21['addFieldWithSourceId'](_0x1143f5,_0x353d94,_0x535c82);if(_0x3201c1&&_0x353d94===_0x10f223[_0x57e85b(0x325)]['Value']){const _0x29fb25=_0x3201c1['getId'](),_0x22d3b3=_0x46ab21[_0x57e85b(0x357)](_0x29fb25);if(_0x22d3b3){const _0x346e54=_0x22d3b3==null?void 0x0:_0x22d3b3['getFieldDataType']();_0x46ab21[_0x57e85b(0x177)](_0x3201c1['getId'](),_0x346e54===_0x10f223[_0x57e85b(0x12d)][_0x57e85b(0x14d)]?_0x10f223[_0x57e85b(0x1a8)]['sum']:_0x10f223[_0x57e85b(0x1a8)]['count']);}const _0x461d18=_0x46ab21['getValueIndex'](),_0x2755b4=_0x46ab21[_0x57e85b(0x290)](),_0x1bc372=_0x46ab21['getFieldCountByArea'](_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x27e)]);if(_0x461d18===-0x1&&_0x1bc372>0x1){const _0x396dc3=_0x2755b4===_0x10f223[_0x57e85b(0x25f)]['None']?_0x10f223[_0x57e85b(0x25f)]['Column']:_0x2755b4,_0x2b0951=_0x396dc3===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]?_0x10f223[_0x57e85b(0x325)]['Row']:_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)];_0x46ab21[_0x57e85b(0x197)](_0x396dc3,_0x46ab21['getFieldCountByArea'](_0x2b0951));}}else{if(_0x3201c1&&(_0x353d94===_0x10f223[_0x57e85b(0x325)]['Row']||_0x353d94===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)])){const _0x280a9c=_0x3201c1[_0x57e85b(0x1c5)](),_0x55166d=_0x46ab21[_0x57e85b(0x357)](_0x280a9c);if(_0x55166d&&(_0x55166d==null?void 0x0:_0x55166d[_0x57e85b(0x23d)]())===_0x10f223[_0x57e85b(0x12d)]['date']){const _0x2a21d4=_0x55166d[_0x57e85b(0x98)]();if(_0x2a21d4&&_0x46ab21[_0x57e85b(0x207)](_0x3201c1[_0x57e85b(0x1c5)](),_0x2a21d4),!_0xf13a7e['getFieldIds']()[_0x57e85b(0x1bb)](_0x2913b3=>{const _0x47fc0e=_0x57e85b,_0x15a538=_0xf13a7e[_0x47fc0e(0x176)](_0x2913b3);return _0x10f223[_0x47fc0e(0x338)](_0x15a538)?_0x15a538['getFieldInfo']()['originalFieldId']===_0x1143f5:!0x1;})){const _0x1025e3=_0x4a582a[_0x57e85b(0x33f)](),_0x6c2a8=_0x16f9d4(_0x55166d[_0x57e85b(0x1a7)],_0x55166d['minDate']),_0xc9d5f3=_0x55166d[_0x57e85b(0x2db)]()+'\x20-\x20'+_0x435c15(this[_0x57e85b(0x17c)],_0x6c2a8),_0x265ea8=new _0x10f223[(_0x57e85b(0x2a1))](_0x1025e3,_0xc9d5f3,_0x10f223['generateHexNumber'](0x3),_0x55166d['getId'](),_0x6c2a8);_0x4a582a[_0x57e85b(0x16c)](_0x265ea8),_0xf13a7e[_0x57e85b(0x2ae)](_0x1025e3,_0xc9d5f3),_0x46ab21[_0x57e85b(0x1e3)](_0x1025e3,_0x353d94,(_0x535c82!=null?_0x535c82:0x0)+0x1),_0x3cd53f=_0x265ea8;}}}}const _0x11d4a4=_0x46ab21[_0x57e85b(0x314)](),_0x5f337f=_0x46ab21[_0x57e85b(0x285)]()[_0x57e85b(0x19f)]();let _0x5e60cd;if(_0x3cd53f){_0x5e60cd=_0x3cd53f[_0x57e85b(0x19f)]();const _0x531cb4=_0x3cd53f[_0x57e85b(0x1c5)]();_0xf13a7e[_0x57e85b(0x6c)](_0x531cb4);let _0x111d28=!0x0;for(const _0x31a5dc in _0x4a582a['collections'])if(_0x4a582a[_0x57e85b(0x152)][_0x31a5dc][_0x57e85b(0x136)]()[_0x57e85b(0x9d)](_0x531cb4)){_0x111d28=!0x1;break;}_0x111d28&&_0x4a582a[_0x57e85b(0x336)](_0x531cb4);}const _0x242e67=_0x46ab21[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x99)]={'view':_0x5f337f,'changesets':_0x242e67,'isEmpty':_0x11d4a4,'pivotTableConfig':_0x5a4c85,'shouldBeAddedGroupJSON':_0x5e60cd};}break;case _0x434fd6[_0x57e85b(0x323)]:{const _0x238c0c=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0xa2)];if(!_0x238c0c)return;const _0x168692=_0x238c0c[_0x57e85b(0x329)],_0x8e5cd1=_0x238c0c[_0x57e85b(0xd0)],{collection:_0x2b9ec1}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x168692[_0x57e85b(0xb4)],'sheetName':_0x168692[_0x57e85b(0xdd)],'subUnitId':_0x168692['subUnitId'],'range':_0x168692[_0x57e85b(0x1fe)]}),_0x106f0f=new _0x10f223[(_0x57e85b(0x31a))](_0x2b9ec1,void 0x0,_0x8e5cd1),_0x49d4e8=_0x106f0f[_0x57e85b(0x285)](),_0x53a5c4=_0x106f0f['toJSON'](),_0x2091f9=_0x2b9ec1[_0x57e85b(0x19f)]();_0x587168[_0x57e85b(0xa2)]={'view':_0x49d4e8,'fieldsConfig':_0x53a5c4,'collectionConfig':_0x2091f9,'isEmpty':_0x106f0f[_0x57e85b(0x314)]()};}break;case _0x434fd6[_0x57e85b(0x1c0)]:{const _0x2b982e=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x129)];if(!_0x2b982e)return;const {fieldId:_0x556907,area:_0x57e403,index:_0x49edeb}=_0x2b982e,_0x57ceba=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x57ceba)return;const _0x106e87=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c);if(!_0x106e87)return;_0x106e87[_0x57e85b(0x141)]();const {area:_0x2e2c6e,index:_0x2d30fa}=_0x106e87[_0x57e85b(0x303)](_0x556907);if(_0x106e87[_0x57e85b(0x93)](_0x556907,_0x57e403,_0x49edeb),_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x27e)]&&_0x106e87[_0x57e85b(0x14f)](_0x556907)[_0x57e85b(0x13d)]()===void 0x0){const _0x51877d=_0x106e87[_0x57e85b(0x14f)](_0x556907);if(_0x51877d&&_0x51877d[_0x57e85b(0x13d)]()===void 0x0){const _0x479d72=_0x106e87['getDataFieldByTableId'](_0x556907);if(_0x479d72){const _0x521a0c=_0x479d72==null?void 0x0:_0x479d72[_0x57e85b(0x23d)]();_0x106e87['setSubtotalType'](_0x556907,_0x521a0c===_0x10f223[_0x57e85b(0x12d)][_0x57e85b(0x14d)]?_0x10f223[_0x57e85b(0x1a8)]['sum']:_0x10f223['PivotSubtotalTypeEnum'][_0x57e85b(0x2f7)]);}}}const _0x261a1c=_0x106e87[_0x57e85b(0x290)](),_0x2a9011=_0x106e87[_0x57e85b(0x258)](),_0x35a993=_0x106e87[_0x57e85b(0x1ce)](_0x10f223[_0x57e85b(0x325)]['Value'])>0x1;if(_0x35a993&&_0x2e2c6e===_0x57e403&&(_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x36f)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]||_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)]&&_0x261a1c===_0x10f223['PivotTableValuePositionEnum'][_0x57e85b(0x1a5)])){let _0x2e339d=_0x2a9011;_0x2d30fa<=_0x2a9011&&_0x2e339d--,_0x49edeb<=_0x2a9011&&_0x2e339d++,_0x106e87[_0x57e85b(0x197)](_0x261a1c,_0x2e339d);}else _0x35a993&&(_0x2e2c6e===_0x10f223[_0x57e85b(0x325)]['Row']&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]||_0x2e2c6e===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x1a5)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)]['Column'])&&_0x2a9011>=_0x2d30fa&&_0x106e87[_0x57e85b(0x197)](_0x261a1c,_0x2a9011-0x1),_0x35a993&&(_0x57e403===_0x10f223[_0x57e85b(0x325)][_0x57e85b(0x36f)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x36f)]||_0x57e403===_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x1a5)]&&_0x261a1c===_0x10f223[_0x57e85b(0x25f)][_0x57e85b(0x1a5)])&&_0x2a9011>=_0x49edeb&&_0x106e87[_0x57e85b(0x197)](_0x261a1c,_0x2a9011+0x1);const _0x131de4=_0x106e87[_0x57e85b(0x285)](),_0x315c6d=_0x106e87[_0x57e85b(0x314)](),_0x2520fa=_0x106e87[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x129)]={'view':_0x131de4[_0x57e85b(0x19f)](),'changesets':_0x2520fa,'isEmpty':_0x315c6d,'pivotTableConfig':_0x57ceba};}break;case _0x434fd6[_0x57e85b(0x86)]:{const _0x479d8f=_0x456ed7[_0x57e85b(0x221)]['removePivotField'];if(!_0x479d8f)return;const _0x229f69=_0x479d8f[_0x57e85b(0x187)],_0x8f1201=this[_0x57e85b(0x30e)]['getPivotTableConfig'](_0x567cae,_0x4e729d,_0x19771c);if(!_0x8f1201)return!0x1;const _0x3cda09=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c);if(!_0x3cda09)return!0x1;_0x3cda09[_0x57e85b(0x141)]();for(const _0x5c9d8b of _0x229f69){const {area:_0x2af3e3}=_0x3cda09[_0x57e85b(0x303)](_0x5c9d8b);_0x2af3e3===_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x27e)]&&_0x3cda09[_0x57e85b(0x1df)](_0x5c9d8b),(_0x2af3e3===_0x10f223[_0x57e85b(0x325)]['Row']||_0x2af3e3===_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x1a5)])&&_0x3cda09[_0x57e85b(0x189)](_0x5c9d8b),_0x3cda09[_0x57e85b(0x256)](_0x5c9d8b);}const _0x1a9ac9=_0x3cda09[_0x57e85b(0x314)](),_0x439b79=_0x3cda09[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x5ca669=_0x3cda09[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0xa8)]={'changesets':_0x5ca669,'pivotTableConfig':_0x8f1201,'isEmpty':_0x1a9ac9,'view':_0x439b79};}break;case _0x434fd6['SetPivotFilter']:{const _0xc9aaf0=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x2e1)];if(!_0xc9aaf0)return;const {tableFieldId:_0x32b6cc,items:_0x55e1ca,isAll:_0xddcce8}=_0xc9aaf0,_0x40d55d=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x2f8568=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x40d55d||!_0x2f8568)return;_0x40d55d['startCollectChangeset'](),_0x40d55d['setLabelFilterInfo'](_0x32b6cc,{'type':_0x10f223[_0x57e85b(0x369)][_0x57e85b(0x22a)],'list':_0x55e1ca,'isAll':_0xddcce8});const _0x4d6f42=_0x40d55d['isEmpty'](),_0xb583fb=_0x40d55d[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x11a82=_0x40d55d['endCollectChangeset']();_0x587168[_0x57e85b(0x2e1)]={'view':_0xb583fb,'changesets':_0x11a82,'isEmpty':_0x4d6f42,'pivotTableConfig':_0x2f8568};}break;case _0x434fd6[_0x57e85b(0x270)]:{const _0x1ee83a=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x14b)];if(!_0x1ee83a)return;const {tableFieldId:_0x57db18,filterInfo:_0x178ae7}=_0x1ee83a,_0x807fa8=this[_0x57e85b(0x30e)][_0x57e85b(0xbd)](_0x19771c),_0x4d56f8=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x807fa8||!_0x4d56f8)return;_0x807fa8[_0x57e85b(0x141)](),_0x807fa8[_0x57e85b(0x79)](_0x57db18,_0x178ae7);const _0x97283a=_0x807fa8[_0x57e85b(0x314)](),_0x5030a3=_0x807fa8[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x3260ab=_0x807fa8[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x14b)]={'view':_0x5030a3,'changesets':_0x3260ab,'isEmpty':_0x97283a,'pivotTableConfig':_0x4d56f8};}break;case _0x434fd6['SetPivotSort']:{const _0x11840b=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x181)];if(!_0x11840b)return;const {tableFieldId:_0x22412f,info:_0x3de475}=_0x11840b,_0x2a5c24=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x5ba65b=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x2a5c24||!_0x5ba65b)return;_0x2a5c24[_0x57e85b(0x141)](),_0x2a5c24['setSortInfo'](_0x22412f,_0x3de475);const _0x30a2f2=_0x2a5c24['isEmpty'](),_0x52e5f2=_0x2a5c24['query']()[_0x57e85b(0x19f)](),_0xd1829c=_0x2a5c24[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x181)]={'view':_0x52e5f2,'changesets':_0xd1829c,'isEmpty':_0x30a2f2,'pivotTableConfig':_0x5ba65b};}break;case _0x434fd6['SetPivotSetting']:{const _0x54dd2a=_0x456ed7['params'][_0x57e85b(0x299)];if(!_0x54dd2a)return;const {tableFieldId:_0xfd2b8,displayName:_0x4a48eb,subtotalType:_0x53702f,format:_0x289f93}=_0x54dd2a,_0x37b418=this[_0x57e85b(0x30e)][_0x57e85b(0xbd)](_0x19771c),_0x5e2773=this[_0x57e85b(0x30e)]['getPivotTableConfig'](_0x567cae,_0x4e729d,_0x19771c);if(!_0x37b418||!_0x5e2773)return;_0x37b418[_0x57e85b(0x141)](),_0x4a48eb!==void 0x0&&_0x37b418[_0x57e85b(0x2c7)](_0xfd2b8,_0x4a48eb),_0x53702f!==void 0x0&&_0x37b418['setSubtotalType'](_0xfd2b8,_0x53702f),_0x289f93!==void 0x0&&_0x37b418[_0x57e85b(0x207)](_0xfd2b8,_0x289f93);const _0x25855d=_0x37b418[_0x57e85b(0x314)](),_0x23a047=_0x37b418[_0x57e85b(0x285)]()['toJSON'](),_0x12e652=_0x37b418[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x299)]={'changesets':_0x12e652,'pivotTableConfig':_0x5e2773,'isEmpty':_0x25855d,'view':_0x23a047};}break;case _0x434fd6[_0x57e85b(0x1be)]:{const _0x2e685d=_0x456ed7[_0x57e85b(0x221)]['updatePivotSource'];if(!_0x2e685d)return;const {dataRangeInfo:_0x53593a,unitId:_0x698b84,subUnitId:_0x529a39}=_0x2e685d,_0x30bcaf=this[_0x57e85b(0x30e)]['getPivotTableConfig'](_0x698b84,_0x529a39,_0x19771c),_0x743928=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x19771c);if(!this['_sheetsPivotDataSourceModel'][_0x57e85b(0x139)](_0x698b84,_0x19771c)||!_0x743928||!_0x30bcaf)return;const _0x5c83b8=this[_0x57e85b(0x30e)][_0x57e85b(0x376)](_0x698b84,_0x19771c,_0x53593a),_0x2e7bd8=this[_0x57e85b(0x30e)]['getCollection'](_0x698b84,_0x19771c)['toJSON'](),{collection:_0x15cc13}=this[_0x57e85b(0x30e)][_0x57e85b(0x28f)]({'unitId':_0x53593a[_0x57e85b(0xb4)],'sheetName':_0x53593a[_0x57e85b(0xdd)],'subUnitId':_0x53593a[_0x57e85b(0x1d4)],'range':_0x53593a['range']}),_0x1d3f6b=_0x15cc13[_0x57e85b(0x19f)]();_0x743928[_0x57e85b(0x141)]();const _0x1135ec=this[_0x57e85b(0x30e)][_0x57e85b(0x28c)](_0x698b84)[_0x57e85b(0x15d)]()||_0x10f223[_0x57e85b(0x153)];_0x743928[_0x57e85b(0x248)](_0x4686b3=>{const _0x45fbbd=_0x57e85b,_0x5315d9=_0x4686b3[_0x45fbbd(0x164)]();if(!_0x15cc13[_0x45fbbd(0x2ee)](_0x5315d9)){const _0x163a78=_0x15cc13[_0x45fbbd(0xb6)](_0x4686b3[_0x45fbbd(0x19c)]());if(_0x163a78){_0x743928[_0x45fbbd(0x35a)](_0x4686b3[_0x45fbbd(0x1c5)](),_0x163a78[_0x45fbbd(0x2db)](),_0x163a78[_0x45fbbd(0x1c5)]());const {area:_0x160acd}=_0x743928[_0x45fbbd(0x303)](_0x4686b3[_0x45fbbd(0x1c5)]());let _0x245a4c=_0x4686b3[_0x45fbbd(0x19c)]();const _0x5e53db=_0x4686b3[_0x45fbbd(0x2f5)]();if(_0x160acd===_0x10f223['PivotTableFiledAreaEnum'][_0x45fbbd(0x27e)]){const _0x3639fb=_0x4686b3['getSubtotal']();_0x245a4c=_0x1135ec(_0x163a78[_0x45fbbd(0x2db)](),_0x3639fb);}_0x5e53db!==_0x245a4c&&_0x743928[_0x45fbbd(0x2c7)](_0x4686b3['getId'](),_0x245a4c);}else _0x743928[_0x45fbbd(0x256)](_0x4686b3['getId']());}});const _0x177ed6=_0x743928[_0x57e85b(0x314)](),_0x2845d4=_0x743928[_0x57e85b(0x285)]()['toJSON'](),_0x407a32=_0x743928['endCollectChangeset']();_0x587168['updatePivotSource']={'view':_0x2845d4,'changesets':_0x407a32,'isEmpty':_0x177ed6,'pivotTableConfig':_0x30bcaf,'collectionConfig':_0x1d3f6b,'oldCollectionConfig':_0x2e7bd8,'deleteIds':_0x5c83b8};}break;case _0x434fd6[_0x57e85b(0xf1)]:{const _0x4fcefc=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x197)];if(!_0x4fcefc)return;const {position:_0x3bf75e,index:_0x24dd74}=_0x4fcefc,_0x374042=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x374042)return!0x1;const _0x2f78d6=this['_sheetsPivotDataSourceModel'][_0x57e85b(0xbd)](_0x19771c);if(!_0x2f78d6)return!0x1;_0x2f78d6[_0x57e85b(0x141)](),_0x2f78d6[_0x57e85b(0x197)](_0x3bf75e,_0x24dd74);const _0x5cca00=_0x2f78d6[_0x57e85b(0x314)](),_0x1e9179=_0x2f78d6[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x5d0bd9=_0x2f78d6['endCollectChangeset']();_0x587168[_0x57e85b(0x197)]={'changesets':_0x5d0bd9,'pivotTableConfig':_0x374042,'isEmpty':_0x5cca00,'view':_0x1e9179};}break;case _0x434fd6['SetPivotCollapse']:{const _0x36b9eb=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x126)];if(!_0x36b9eb)return;const {tableFieldId:_0x81a600,collapse:_0x379af1,item:_0xa35d6}=_0x36b9eb,_0xac9e9=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x198077=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x567cae,_0x4e729d,_0x19771c);if(!_0xac9e9||!_0x198077)return;_0xac9e9['startCollectChangeset'](),_0xac9e9[_0x57e85b(0x10a)](_0x81a600,_0x379af1,_0xa35d6);const _0x25abec=_0xac9e9[_0x57e85b(0x314)](),_0x3c4f6b=_0xac9e9[_0x57e85b(0x285)]()[_0x57e85b(0x19f)](),_0x241e02=_0xac9e9['endCollectChangeset']();_0x587168[_0x57e85b(0x126)]={'view':_0x3c4f6b,'isEmpty':_0x25abec,'pivotTableConfig':_0x198077,'changesets':_0x241e02};}break;case _0x434fd6[_0x57e85b(0x161)]:{const _0x3f9c40=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x25e)];if(!_0x3f9c40)return;const {pivotTableConfig:_0xa1aea0}=_0x3f9c40,_0x4643bf=this[_0x57e85b(0x30e)]['getPivotTableInstance'](_0x19771c),_0x7ec432=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0x4643bf||!_0x7ec432)return;_0x4643bf['startCollectChangeset'](),_0x3d01c0(_0x4643bf,_0xa1aea0);const _0x3dea67=_0x4643bf[_0x57e85b(0x314)](),_0x4ce91b=_0x4643bf['query']()[_0x57e85b(0x19f)](),_0x5d6517=_0x4643bf[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x25e)]={'view':_0x4ce91b,'isEmpty':_0x3dea67,'pivotTableConfig':{..._0x7ec432,'fieldsConfig':_0x4643bf[_0x57e85b(0x19f)]()},'changesets':_0x5d6517};}break;case _0x434fd6[_0x57e85b(0x344)]:{const _0x55891a=_0x456ed7[_0x57e85b(0x221)]['resetPivotTable'];if(!_0x55891a)return;const _0xcaf20a=this[_0x57e85b(0x30e)][_0x57e85b(0xbd)](_0x19771c),_0x5e2a70=this[_0x57e85b(0x30e)][_0x57e85b(0x12e)](_0x567cae,_0x4e729d,_0x19771c);if(!_0xcaf20a||!_0x5e2a70)return;_0xcaf20a[_0x57e85b(0x141)](),_0x3e5ccc(_0xcaf20a,_0x55891a[_0x57e85b(0x72)]);const _0x38bab7=_0xcaf20a[_0x57e85b(0x285)]()['toJSON'](),_0x34afbc=_0xcaf20a[_0x57e85b(0x23e)]();_0x587168[_0x57e85b(0x12b)]={'view':_0x38bab7,'isEmpty':!0x0,'pivotTableConfig':{..._0x5e2a70,'fieldsConfig':_0xcaf20a[_0x57e85b(0x19f)]()},'changesets':_0x34afbc};}break;case _0x434fd6[_0x57e85b(0x92)]:{const _0x515e78=_0x456ed7[_0x57e85b(0x221)][_0x57e85b(0x29b)];if(!_0x515e78)return;const _0x235c50=_0x515e78[_0x57e85b(0x329)],_0x5e7111=_0x515e78[_0x57e85b(0xd0)],{collection:_0x252c0f}=this['_sheetsPivotDataSourceModel'][_0x57e85b(0x28f)]({'unitId':_0x235c50[_0x57e85b(0xb4)],'sheetName':_0x235c50[_0x57e85b(0xdd)],'subUnitId':_0x235c50[_0x57e85b(0x1d4)],'range':_0x235c50[_0x57e85b(0x1fe)]}),_0x294451=new _0x10f223[(_0x57e85b(0x31a))](_0x252c0f,void 0x0,_0x5e7111),_0x5de7f1=_0x252c0f[_0x57e85b(0x136)](),{rows:_0x1788ec,columns:_0x2d7b26,filters:_0x2844cf,values:_0x52daff}=_0x515e78['pivotTableIndexConfig'];_0x294451[_0x57e85b(0x141)]();for(const {field:_0x4ff6b1,selectedItems:_0x3c2d06}of _0x1788ec||[]){const _0x45f48a=_0x5de7f1[_0x4ff6b1];if(_0x45f48a){const _0x580f6e=_0x294451[_0x57e85b(0x1e3)](_0x45f48a,_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x36f)]);_0x3c2d06&&_0x580f6e&&_0x294451[_0x57e85b(0x1fb)](_0x580f6e['getId'](),{'type':_0x10f223[_0x57e85b(0x369)]['ManualFilter'],'list':_0x3c2d06,'isAll':!0x1});}}for(const {field:_0x2cb8c2,selectedItems:_0x1747c7}of _0x2d7b26||[]){const _0x412db7=_0x5de7f1[_0x2cb8c2];if(_0x412db7){const _0x3c2f8a=_0x294451[_0x57e85b(0x1e3)](_0x412db7,_0x10f223['PivotTableFiledAreaEnum'][_0x57e85b(0x1a5)]);_0x1747c7&&_0x3c2f8a&&_0x294451[_0x57e85b(0x1fb)](_0x3c2f8a[_0x57e85b(0x1c5)](),{'type':_0x10f223[_0x57e85b(0x369)]['ManualFilter'],'list':_0x1747c7,'isAll':!0x1});}}for(const {field:_0x5d0ab7,selectedItems:_0x2ffc03}of _0x2844cf||[]){const _0x4d241a=_0x5de7f1[_0x5d0ab7];if(_0x4d241a){const _0xcd765=_0x294451[_0x57e85b(0x1e3)](_0x4d241a,_0x10f223[_0x57e85b(0x325)]['Filter']);_0x2ffc03&&_0xcd765&&_0x294451[_0x57e85b(0x1fb)](_0xcd765['getId'](),{'type':_0x10f223[_0x57e85b(0x369)][_0x57e85b(0x22a)],'list':_0x2ffc03,'isAll':!0x1});}}for(const {field:_0x48e5c6,subTotalType:_0x3eb09b,formatString:_0x2b8421}of _0x52daff||[]){const _0x46c88b=_0x252c0f[_0x57e85b(0x176)](_0x5de7f1[_0x48e5c6]);if(!_0x46c88b)continue;const _0x281432=_0x5de7f1[_0x48e5c6];if(_0x281432){const _0x14015d=_0x294451['addFieldWithSourceId'](_0x281432,_0x10f223[_0x57e85b(0x325)]['Value']);if(_0x14015d){if(_0x3eb09b!==void 0x0){_0x294451[_0x57e85b(0x177)](_0x14015d[_0x57e85b(0x1c5)](),_0x3eb09b);const _0x2a8e02=this[_0x57e85b(0x30e)][_0x57e85b(0x28c)](_0x235c50[_0x57e85b(0xb4)])[_0x57e85b(0x15d)]()||_0x10f223['getAutoDisplayName'],_0x3b7c07=_0x252c0f[_0x57e85b(0x2f5)](_0x281432),_0x3b6aa7=_0x2a8e02(_0x3b7c07,_0x3eb09b);_0x294451['renameField'](_0x14015d[_0x57e85b(0x1c5)](),_0x3b6aa7);}else{if(_0x46c88b){const _0x38f2fe=_0x46c88b==null?void 0x0:_0x46c88b[_0x57e85b(0x23d)]();_0x294451[_0x57e85b(0x177)](_0x14015d[_0x57e85b(0x1c5)](),_0x38f2fe===_0x10f223[_0x57e85b(0x12d)]['number']?_0x10f223[_0x57e85b(0x1a8)]['sum']:_0x10f223[_0x57e85b(0x1a8)][_0x57e85b(0x2f7)]);}}_0x2b8421&&_0x294451['setFieldFormat'](_0x14015d['getId'](),_0x2b8421);}}}const _0x1894e1=_0x294451[_0x57e85b(0x285)](),_0x5a9e16=_0x294451['toJSON'](),_0x22e8ee=_0x294451[_0x57e85b(0x314)](),_0x31de56=_0x294451['endCollectChangeset'](),_0x48d536=_0x252c0f['toJSON']();_0x587168['addPivotTableWithConfig']={'view':_0x1894e1,'fieldsConfig':_0x5a9e16,'collectionConfig':_0x48d536,'isEmpty':_0x22e8ee,'changesets':_0x31de56};}break;case _0x434fd6[_0x57e85b(0x17d)]:{const _0x2db13f=_0x3e3f3b(this[_0x57e85b(0x17c)],_0x456ed7);if(!_0x2db13f)return;const {range:_0x5e8e48,sourceSubUnitId:_0x17389c,sourceUnitId:_0xe284e9,formatMap:_0x15d0ff,indexes:_0x182667}=_0x2db13f;_0x587168[_0x57e85b(0x174)]={'range':_0x5e8e48,'sourceSubUnitId':_0x17389c,'sourceUnitId':_0xe284e9,'formatMap':_0x15d0ff,'indexes':_0x182667};}break;}this[_0x57e85b(0x1ff)]['executeCommand'](_0x4e105c['id'],{'version':_0x456ed7['version'],'result':_0x587168},{'onlyLocal':!0x0});}));}[_0x4ff3ff(0x33c)](){const _0x2a8622=_0x4ff3ff;this[_0x2a8622(0x228)](this['_commandService']['onCommandExecuted'](_0x147c61=>{const _0x9e6618=_0x2a8622;if(_0x147c61['id']!==_0x30da9f['id'])return;const _0x21c677=_0x147c61[_0x9e6618(0x221)];return this[_0x9e6618(0x30e)][_0x9e6618(0x1ab)](_0x21c677[_0x9e6618(0x305)]),!0x0;}));}[_0x4ff3ff(0x1c7)](){const _0xb25d24=_0x4ff3ff;this['_sheetsPivotDataSourceModel'][_0xb25d24(0xd6)][_0xb25d24(0x31d)](_0x146ae6=>{const _0x5126d0=_0xb25d24;switch(_0x146ae6['type']){case _0x33fa65[_0x5126d0(0x20b)]:_0x146ae6[_0x5126d0(0x35e)]&&_0x146ae6[_0x5126d0(0x271)]&&this[_0x5126d0(0x2fa)](_0x146ae6['token'],_0x146ae6[_0x5126d0(0x35e)],_0x146ae6['targetCellInfo']);break;case _0x33fa65[_0x5126d0(0x1db)]:{const {unitId:_0x2a0097,subUnitId:_0x4ae102,token:_0x599685}=_0x146ae6;_0x2a0097&&_0x4ae102&&_0x599685&&this[_0x5126d0(0x8f)](_0x2a0097,_0x4ae102,_0x599685);}break;case _0x33fa65[_0x5126d0(0x1e4)]:{const {token:_0x2a0f7a,oldSourceRangeInfo:_0x77ef10,dataRangeInfo:_0x39f6f7,targetCellInfo:_0x5bdc88}=_0x146ae6,{unitId:_0x3a6159,subUnitId:_0xfca317}=_0x77ef10||{};_0x3a6159&&_0xfca317&&_0x2a0f7a&&this[_0x5126d0(0x8f)](_0x3a6159,_0xfca317,_0x2a0f7a),_0x39f6f7&&_0x5bdc88&&this[_0x5126d0(0x2fa)](_0x2a0f7a,_0x39f6f7,_0x5bdc88);}break;}});}[_0x4ff3ff(0x24c)](){const _0x33fee5=_0x4ff3ff;this['_sheetsPivotDataSourceModel'][_0x33fee5(0x319)][_0x33fee5(0x31d)](_0x140467=>{const _0x3d425d=_0x33fee5;Object[_0x3d425d(0x255)](_0x140467)['forEach'](_0x58ef91=>{const _0x1fd9e2=_0x3d425d,_0x122bcd=this[_0x1fd9e2(0x30e)][_0x1fd9e2(0x1e7)](_0x58ef91);if(_0x122bcd){const _0x5af47e=this[_0x1fd9e2(0x30e)][_0x1fd9e2(0x12e)](_0x122bcd==null?void 0x0:_0x122bcd[_0x1fd9e2(0xb4)],_0x122bcd==null?void 0x0:_0x122bcd['subUnitId'],_0x58ef91);_0x5af47e&&(this[_0x1fd9e2(0x2fa)](_0x58ef91,_0x5af47e['sourceRangeInfo'],_0x5af47e[_0x1fd9e2(0x271)]),this['triggerDirtyFeature']([{'unitId':_0x122bcd[_0x1fd9e2(0xb4)],'subUnitId':_0x122bcd['subUnitId'],'token':_0x58ef91}]));}});});}['_subjectViewChange'](){const _0x828026=_0x4ff3ff;this[_0x828026(0x30e)][_0x828026(0x21b)][_0x828026(0x31d)](_0x31f3c5=>{const {unitId:_0x3eb757,subUnitId:_0x55f338,pivotTableId:_0xb249a0}=_0x31f3c5;_0x3eb757&&_0x55f338&&_0xb249a0&&this['triggerDirtyFeature']([{'unitId':_0x3eb757,'subUnitId':_0x55f338,'token':_0xb249a0}]);});}['triggerDirtyFeature'](_0x85e20a){const _0x3ad13a=_0x4ff3ff,_0x36bfdf={};_0x85e20a['forEach'](_0x3c58d5=>{var _0x5ea791,_0x8fdb06;const {unitId:_0x5d1eda,subUnitId:_0x2c8751,token:_0x219bb1}=_0x3c58d5;_0x36bfdf[_0x5d1eda]=(_0x5ea791=_0x36bfdf[_0x5d1eda])!=null?_0x5ea791:{},_0x36bfdf[_0x5d1eda][_0x2c8751]=(_0x8fdb06=_0x36bfdf[_0x5d1eda][_0x2c8751])!=null?_0x8fdb06:{},_0x36bfdf[_0x5d1eda][_0x2c8751][_0x219bb1]=!0x0;}),this[_0x3ad13a(0x1ff)]['executeCommand'](_0x4f48b1['id'],_0x36bfdf);}[_0x4ff3ff(0x8f)](_0x288518,_0x1518d4,_0x168f2c){const _0x34a656=_0x4ff3ff;this[_0x34a656(0x296)][_0x34a656(0x242)](_0x288518,_0x1518d4,[_0x168f2c]);}[_0x4ff3ff(0x2fa)](_0x465336,_0x1f377a,_0x5bf9dd){const _0x1a2231=_0x4ff3ff,{unitId:_0xa8b46f,subUnitId:_0x43eac2}=_0x1f377a;this[_0x1a2231(0x296)][_0x1a2231(0x1ef)](_0x5bf9dd['unitId'],_0x5bf9dd[_0x1a2231(0x1d4)],_0x465336)&&this[_0x1a2231(0x8f)](_0xa8b46f,_0x43eac2,_0x465336);const _0x31f04e={'sheetId':_0x43eac2,..._0x1f377a};this[_0x1a2231(0x296)][_0x1a2231(0xc3)](_0x5bf9dd[_0x1a2231(0xb4)],_0x5bf9dd[_0x1a2231(0x1d4)],_0x465336,{'unitId':_0x5bf9dd[_0x1a2231(0xb4)],'subUnitId':_0x5bf9dd['subUnitId'],'dependencyRanges':[_0x31f04e],'getDirtyData':(_0x417c1f,_0x447dc8)=>{const _0x299dc=_0x1a2231,_0x43335e=this[_0x299dc(0x30e)],_0x5acf55=_0x43335e['getTargetByPivotId'](_0x465336);if(!_0x5acf55)return _0x55cac3();const {unitId:_0x54657c,subUnitId:_0x13b06e}=_0x5acf55,_0x498403=_0x52c006(_0x417c1f,_0x447dc8,_0x1f377a);if(_0x498403[_0x299dc(0x1ae)]>0x0){const _0x5cec17=_0x43335e[_0x299dc(0x139)](_0xa8b46f,_0x465336),_0x1db0b9=_0x5cec17[_0x299dc(0x136)](),_0x1b4010=this[_0x299dc(0x300)](_0x1f377a['unitId'],_0x1f377a[_0x299dc(0x1d4)],_0x447dc8),_0x40c942={},_0x1ee56b=this[_0x299dc(0x30e)][_0x299dc(0x28c)](_0x54657c)[_0x299dc(0x15d)]()||_0x10f223[_0x299dc(0x153)],_0x42657e=[];for(const _0x2a3017 of _0x498403){const _0x2d55b9=_0x2a3017-(_0x1f377a[_0x299dc(0x1fe)][_0x299dc(0x2fd)]||0x0),_0x199ad6=_0x1db0b9[_0x2d55b9];_0x42657e[_0x299dc(0xda)](_0x199ad6),_0x40c942[_0x199ad6]=_0x5cec17['getFieldById'](_0x199ad6)[_0x299dc(0x2db)](),_0x43335e[_0x299dc(0x28c)](_0xa8b46f)['refreshDataField'](_0x199ad6,_0x1f377a,_0x2d55b9,_0x1b4010);}_0x5cec17[_0x299dc(0x206)](_0x42657e)[_0x299dc(0x1ed)](_0x5e1bff=>{const _0x4a3378=_0x299dc,[_0x39f8f2,_0x2ab18d]=_0x5e1bff,_0xa1113f=_0x5cec17[_0x4a3378(0x176)](_0x39f8f2),_0x5807eb=_0x5cec17[_0x4a3378(0x176)](_0x2ab18d);_0xa1113f&&_0x5807eb&&_0xa1113f['refreshGroupField'](_0x5807eb);}),_0x5cec17[_0x299dc(0x127)]();const _0x5d66c5=_0x43335e[_0x299dc(0xbd)](_0x465336);if(_0x5d66c5){_0x501ff4(_0x5d66c5,_0x40c942,_0x1ee56b),_0x5d66c5['setDirty'](!0x0);const _0x3e1fe8=_0x5d66c5[_0x299dc(0x285)](),_0x3fbc74=_0x43335e[_0x299dc(0x12e)](_0x54657c,_0x13b06e,_0x465336),_0x10e941=_0x43335e[_0x299dc(0x28c)](_0xa8b46f)[_0x299dc(0x19f)]();_0x43335e[_0x299dc(0x8d)](_0x54657c,_0x13b06e,_0x39c7b1[_0x299dc(0x2f1)],_0x465336,_0x3e1fe8,_0x3fbc74,_0x10e941,!0x0);}}return this[_0x299dc(0x2b8)](_0x54657c,_0x13b06e,_0x465336);}});}[_0x4ff3ff(0x300)](_0x4cc614,_0x5ed7ce,_0x53ce98){var _0x36e8a4,_0x188d9b;const {arrayFormulaCellData:_0x392916,unitData:_0x37103d}=_0x53ce98,_0x4f2e0a=(_0x36e8a4=_0x392916==null?void 0x0:_0x392916[_0x4cc614])==null?void 0x0:_0x36e8a4[_0x5ed7ce],_0x74fa12=(_0x188d9b=_0x37103d==null?void 0x0:_0x37103d[_0x4cc614])==null?void 0x0:_0x188d9b[_0x5ed7ce];return{'arrayFormulaCellDataMatrix':_0x4f2e0a,'unitDataMatrix':_0x74fa12};}[_0x4ff3ff(0x2b8)](_0x5bc93b,_0x238eee,_0x3de63e){const _0x45a1da=_0x4ff3ff,_0x20071f=this[_0x45a1da(0x30e)][_0x45a1da(0x1de)](_0x5bc93b,_0x238eee,_0x3de63e),_0x2eea6e=[],_0x284cdb=new _0x136a03[(_0x45a1da(0xfd))]();if(_0x20071f){const {rangeCache:_0x235f69,matrix:_0x13995f,oldRangeCache:_0x4a66a2,oldMatrix:_0x47c6c3}=_0x20071f,_0x12e8de=_0x2a3c2e(_0x4a66a2),_0x50bcec=_0x2a3c2e(_0x235f69);_0x2eea6e[_0x45a1da(0xda)](..._0x50bcec,..._0x12e8de),_0x47c6c3&&_0x4a66a2&&_0x12e8de[_0x45a1da(0x1ed)](_0x325e9c=>{const _0x26d35a=_0x45a1da;for(let _0x1773d4=_0x325e9c[_0x26d35a(0x100)];_0x1773d4<=_0x325e9c[_0x26d35a(0x27a)];_0x1773d4++)for(let _0x263393=_0x325e9c[_0x26d35a(0x2fd)];_0x263393<=_0x325e9c[_0x26d35a(0x304)];_0x263393++)_0x284cdb['realDeleteValue'](_0x1773d4,_0x263393);}),_0x13995f&&_0x50bcec&&_0x50bcec['forEach'](_0x4620ac=>{const _0x34319d=_0x45a1da;for(let _0x1e8395=_0x4620ac[_0x34319d(0x100)];_0x1e8395<=_0x4620ac[_0x34319d(0x27a)];_0x1e8395++)for(let _0x45c16c=_0x4620ac[_0x34319d(0x2fd)];_0x45c16c<=_0x4620ac['endColumn'];_0x45c16c++)_0x284cdb[_0x34319d(0x1fd)](_0x1e8395,_0x45c16c,_0x13995f[_0x34319d(0x2b7)](_0x1e8395,_0x45c16c));});}const _0x4c299c={};return _0x4c299c[_0x5bc93b]={[_0x238eee]:_0x338db6(_0x2eea6e)},{'runtimeCellData':{[_0x5bc93b]:{[_0x238eee]:_0x284cdb}},'dirtyRanges':_0x4c299c};}['dispose'](){}};_0x1f28d6=_0x1326f5([_0x424f0b(0x0,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x16d)])),_0x424f0b(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x5bf515[_0x4ff3ff(0x1b9)])),_0x424f0b(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['ICommandService'])),_0x424f0b(0x3,_0x136a03['Inject'](_0x5bf515[_0x4ff3ff(0x1cb)])),_0x424f0b(0x4,_0x136a03['Inject'](_0x136a03['Injector']))],_0x1f28d6);var _0x439228=Object[_0x4ff3ff(0xba)],_0x370026=(_0x463ff1,_0x574fa5,_0x85bb40,_0x487cf0)=>{const _0x2fb4a2=_0x4ff3ff;for(var _0x498ef8=_0x487cf0>0x1?void 0x0:_0x487cf0?_0x439228(_0x574fa5,_0x85bb40):_0x574fa5,_0xd0627b=_0x463ff1[_0x2fb4a2(0x1ae)]-0x1,_0xed63b9;_0xd0627b>=0x0;_0xd0627b--)(_0xed63b9=_0x463ff1[_0xd0627b])&&(_0x498ef8=_0xed63b9(_0x498ef8)||_0x498ef8);return _0x498ef8;},_0x293040=(_0x38e167,_0x205be6)=>(_0xd507ce,_0x1c841c)=>_0x205be6(_0xd507ce,_0x1c841c,_0x38e167);let _0x1a92b1=class extends _0x136a03['Disposable']{constructor(_0x50f60a,_0x27a70b,_0x2cd239,_0x36fade){const _0x271201=_0x4ff3ff;super(),_0x4779db(this,_0x271201(0x1c8),new _0x136a03[(_0x271201(0x2be))]()),(this[_0x271201(0x317)]=_0x50f60a,this[_0x271201(0x2fc)]=_0x27a70b,this[_0x271201(0x1d6)]=_0x2cd239,this[_0x271201(0x385)]=_0x36fade,this[_0x271201(0x67)]());}['_initClearSelectionCommandInterceptor'](){const _0x10cd5d=_0x4ff3ff;this[_0x10cd5d(0x228)](this['_sheetInterceptorService'][_0x10cd5d(0x1e6)]({'getMutations':_0x4914f1=>{const _0x505c38=_0x10cd5d;if(_0x4914f1['id']===_0x47d532[_0x505c38(0x1d2)]['id']||_0x4914f1['id']===_0x47d532[_0x505c38(0x2ab)]['id']){const _0x3da2e9=[],_0x2270ac=[],_0x3fdfc3=this[_0x505c38(0x1d6)][_0x505c38(0x286)]()[_0x505c38(0xa3)](_0x242e7a=>_0x242e7a[_0x505c38(0x1fe)]),_0xf9c523=_0x47d532[_0x505c38(0x1f7)](this['_univerInstanceService']);if(!_0xf9c523)return{'redos':[],'undos':[]};const {unitId:_0x1b1ccf,subUnitId:_0x148665}=_0xf9c523,_0x4b0199={},_0x1e15c4=this[_0x505c38(0x385)]['getSubUnitPivotConfigs'](_0x1b1ccf,_0x148665);if(_0x1e15c4!=null&&_0x1e15c4['size'])for(const [_0x5b34f8,_0x24044c]of _0x1e15c4){const {unitId:_0x4824c7,subUnitId:_0xdcec65,row:_0x5cbf21,col:_0x4adddf}=_0x24044c['targetCellInfo'];_0x4824c7===_0xf9c523[_0x505c38(0xb4)]&&_0xdcec65===_0xf9c523[_0x505c38(0x1d4)]&&(_0x4b0199[_0x5cbf21+'-'+_0x4adddf]=_0x5b34f8);}return _0x3fdfc3&&_0xf9c523&&_0x3fdfc3[_0x505c38(0x1ed)](_0x3c8f97=>{const _0xee3341=_0x505c38;_0x136a03['Range'][_0xee3341(0x9e)](_0x3c8f97,(_0x173dd7,_0xf2ca6a)=>{const _0x4eeeb8=_0xee3341,_0x34956f=_0x173dd7+'-'+_0xf2ca6a;if(_0x4b0199[_0x34956f]){const _0x35346d=_0x4b0199[_0x34956f];_0x3da2e9[_0x4eeeb8(0xda)]({'id':_0x1e490e['id'],'params':{'unitId':_0x1b1ccf,'subUnitId':_0x148665,'pivotTableId':_0x35346d}});const _0x32e16d=this[_0x4eeeb8(0x385)][_0x4eeeb8(0x139)](_0x1b1ccf,_0x35346d),_0x54d491=this[_0x4eeeb8(0x385)][_0x4eeeb8(0x12e)](_0x1b1ccf,_0x148665,_0x35346d);_0x2270ac[_0x4eeeb8(0xda)]({'id':_0x5f77cb['id'],'params':{'unitId':_0x1b1ccf,'subUnitId':_0x148665,'pivotTableId':_0x35346d,'pivotTableConfig':_0x54d491,'collectionConfig':_0x32e16d}});}});}),{'redos':_0x3da2e9,'undos':_0x2270ac};}return{'redos':[],'undos':[]};}}));}};_0x1a92b1=_0x370026([_0x293040(0x0,_0x136a03[_0x4ff3ff(0x227)]),_0x293040(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x91)])),_0x293040(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532['SheetsSelectionsService'])),_0x293040(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x302)]))],_0x1a92b1);var _0x2d73dc=Object[_0x4ff3ff(0xba)],_0x27cc15=(_0x4c5325,_0x1c7f2c,_0x5ea6ad,_0x3c21e2)=>{const _0xacb128=_0x4ff3ff;for(var _0x261978=_0x3c21e2>0x1?void 0x0:_0x3c21e2?_0x2d73dc(_0x1c7f2c,_0x5ea6ad):_0x1c7f2c,_0x39bd11=_0x4c5325[_0xacb128(0x1ae)]-0x1,_0x8aaca1;_0x39bd11>=0x0;_0x39bd11--)(_0x8aaca1=_0x4c5325[_0x39bd11])&&(_0x261978=_0x8aaca1(_0x261978)||_0x261978);return _0x261978;},_0x1889dd=(_0x133d16,_0x49cbb0)=>(_0x22d257,_0x1a032c)=>_0x49cbb0(_0x22d257,_0x1a032c,_0x133d16);let _0x10deb4=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x13ec9f,_0x355964,_0x343be6,_0x26e6c9,_0x193832){const _0x300a9c=_0x4ff3ff;super(),this[_0x300a9c(0x2fc)]=_0x13ec9f,this[_0x300a9c(0x17c)]=_0x355964,this[_0x300a9c(0x317)]=_0x343be6,this[_0x300a9c(0x385)]=_0x26e6c9,this[_0x300a9c(0x6b)]=_0x193832,this[_0x300a9c(0x34c)]();}[_0x4ff3ff(0xef)](_0x374494,_0x45285e,_0x29125f){const _0x487e95=_0x4ff3ff,{pageView:_0x498744,cornerView:_0x480a14,rowView:_0x1fe37e,colView:_0x554e39,dataView:_0x584e37}=_0x45285e,_0x4972fe=_0x374494;let _0x1b2b3e;if(_0x29125f)_0x1b2b3e=[..._0x4095bd(_0x4972fe)];else{const _0x1de6e1=_0x50f2e9(_0x4972fe,_0x498744,!0x0),_0x5af187=_0x498744['lastRow']>=0x0?_0x498744[_0x487e95(0x366)]+0x1:0x0,_0x473258=_0x480a14[_0x487e95(0x2ba)],_0x109e25=_0x480a14[_0x487e95(0x1ac)],_0x704033=_0x1de6e1['length']>0x0?_0x2fd7f7:0x0,_0x8fbcd9=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033,'col':_0x4972fe[_0x487e95(0xed)]},_0x480a14,!0x1,!0x1),_0x379605=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033+_0x473258,'col':_0x4972fe['col']},_0x1fe37e,!0x1,!0x0),_0x2655f8=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033,'col':_0x4972fe[_0x487e95(0xed)]+_0x109e25},_0x554e39,!0x1,!0x0),_0x14b1c2=_0x50f2e9({'row':_0x4972fe[_0x487e95(0x327)]+_0x5af187+_0x704033+_0x473258,'col':_0x4972fe[_0x487e95(0xed)]+_0x109e25},_0x584e37,!0x1,!0x0);_0x1b2b3e=[..._0x1de6e1,..._0x8fbcd9,..._0x379605,..._0x2655f8,..._0x14b1c2];}return _0x1b2b3e;}[_0x4ff3ff(0x34c)](){const _0x56234f=_0x4ff3ff;this[_0x56234f(0x228)](this[_0x56234f(0x6b)][_0x56234f(0x163)]['intercept'](this[_0x56234f(0x6b)][_0x56234f(0x163)]['getInterceptPoints']()[_0x56234f(0x226)],{'handler':(_0x1eca1b,_0x7c1a9f)=>{const _0x5e2138=_0x56234f,{cellInfo:_0x22643a,view:_0x3406c8,isEmpty:_0x17f317}=_0x7c1a9f,_0xc7439=_0x22643a,{unitId:_0x3b8a04,subUnitId:_0x304006}=_0xc7439,_0x6eb2e1=this[_0x5e2138(0xef)](_0x22643a,_0x3406c8,_0x17f317),_0x2a98c5=this['_sheetInterceptorService'][_0x5e2138(0x112)]({'unitId':_0x3b8a04,'subUnitId':_0x304006,'ranges':_0x6eb2e1}),_0x39c2d7=_0x536fef(this['_injector'],_0x3b8a04,_0x304006,_0x6eb2e1);_0x39c2d7[_0x5e2138(0x223)]&&(_0x2a98c5[_0x5e2138(0x1aa)][_0x5e2138(0xda)](_0x39c2d7[_0x5e2138(0xf9)]),_0x2a98c5[_0x5e2138(0x166)]['push'](_0x39c2d7[_0x5e2138(0xea)]));const _0x5e215c=this[_0x5e2138(0x97)](_0x3406c8,_0x22643a);return _0x2a98c5[_0x5e2138(0x1aa)][_0x5e2138(0xda)](..._0x5e215c['redos']),_0x2a98c5[_0x5e2138(0x166)][_0x5e2138(0xda)](..._0x5e215c[_0x5e2138(0x166)]),{'redos':_0x2a98c5[_0x5e2138(0x1aa)],'undos':_0x2a98c5[_0x5e2138(0x166)]};}}));}[_0x4ff3ff(0x97)](_0xf1023b,_0x240334){const _0x546580=_0x4ff3ff,{col:_0xe5361e,unitId:_0x43bdea,subUnitId:_0x553fbf}=_0x240334,_0x14f512=[],_0x15604c=[],_0x4783bf=_0x47d532[_0x546580(0x1f7)](this[_0x546580(0x317)],{'unitId':_0x43bdea,'subUnitId':_0x553fbf});if(!_0x240334||!_0xf1023b||!_0x4783bf)return{'undos':_0x15604c,'redos':_0x14f512};const _0x57ebf6=this['_sheetsPivotTableConfigModel'][_0x546580(0x326)](),{colView:_0x2ecdc6,dataView:_0x99a040,cornerView:_0x233303,rowView:_0x512ed7,formatMap:_0x33bb76}=_0xf1023b,_0x22a527=_0x3cfabb(_0x2ecdc6,_0x57ebf6,!0x0,_0x33bb76),_0x1da894=_0x3cfabb(_0x512ed7,_0x57ebf6,!0x1,_0x33bb76),_0x4d001f=_0x23b946(_0x99a040),_0x3b493a=_0x18e8a2(_0x233303),{worksheet:_0x5b176a}=_0x4783bf;if(typeof window<'u'&&window['document']){const _0x275db5=_0xa6f0ba[_0x546580(0x1d5)]({..._0x1a3ef9[_0x546580(0x216)]}),_0x2cfa42=_0xa6f0ba[_0x546580(0xfa)]['getTextSize'](_0x22a527,_0x275db5)[_0x546580(0x320)]+0x10,_0x55f03f=_0xa6f0ba[_0x546580(0xfa)][_0x546580(0x151)](_0x4d001f,_0x275db5)['width'],_0x15232e=Math[_0x546580(0x159)](Math[_0x546580(0x352)](_0x2cfa42,_0x55f03f))+0x10,_0x16cd4d=Math[_0x546580(0x159)](_0xa6f0ba[_0x546580(0xfa)][_0x546580(0x151)](_0x1da894,_0x275db5)[_0x546580(0x320)]),_0x5645f3=Math[_0x546580(0x159)](_0xa6f0ba[_0x546580(0xfa)][_0x546580(0x151)](_0x3b493a,_0x275db5)[_0x546580(0x320)]),_0x641f9f=Math[_0x546580(0x352)](_0x16cd4d,_0x5645f3,0x28)+0xc,_0x3a613a=_0x2ecdc6[_0x546580(0x1ac)]+_0x233303[_0x546580(0x1ac)],_0x35dfbb={},_0x20c226={};for(let _0x550ab8=_0xe5361e;_0x550ab8<_0xe5361e+_0x3a613a;_0x550ab8++){const _0x3a4db5=_0x5b176a[_0x546580(0x188)](_0x550ab8);_0x35dfbb[_0x550ab8]=_0x3a4db5,_0x550ab8-_0xe5361e<_0x233303[_0x546580(0x1ac)]?_0x20c226[_0x550ab8-_0xe5361e]=_0x641f9f:_0x20c226[_0x550ab8-_0xe5361e]=_0x15232e;}_0x14f512[_0x546580(0xda)]({'id':_0x47d532[_0x546580(0x337)]['id'],'params':{'subUnitId':_0x553fbf,'unitId':_0x43bdea,'ranges':[{'startColumn':_0xe5361e,'endColumn':_0xe5361e+_0x3a613a-0x1,'startRow':0x0,'endRow':_0x5b176a['getRowCount']()-0x1}],'colWidth':_0x20c226}}),_0x15604c[_0x546580(0xda)]({'id':_0x47d532[_0x546580(0x337)]['id'],'params':{'subUnitId':_0x553fbf,'unitId':_0x43bdea,'ranges':[{'startColumn':_0xe5361e,'endColumn':_0xe5361e+_0x3a613a-0x1,'startRow':0x0,'endRow':_0x5b176a[_0x546580(0x322)]()-0x1}],'colWidth':_0x35dfbb}});}return{'undos':_0x15604c,'redos':_0x14f512};}};_0x10deb4=_0x27cc15([_0x1889dd(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x91)])),_0x1889dd(0x1,_0x136a03['Inject'](_0x136a03[_0x4ff3ff(0x214)])),_0x1889dd(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x227)])),_0x1889dd(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x302)])),_0x1889dd(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x2af)]))],_0x10deb4);var _0x412154=Object[_0x4ff3ff(0xba)],_0x15226f=(_0x185774,_0x547e3d,_0x87e960,_0x58984a)=>{const _0x5821cf=_0x4ff3ff;for(var _0x3abd51=_0x58984a>0x1?void 0x0:_0x58984a?_0x412154(_0x547e3d,_0x87e960):_0x547e3d,_0x61f00b=_0x185774[_0x5821cf(0x1ae)]-0x1,_0x28c42c;_0x61f00b>=0x0;_0x61f00b--)(_0x28c42c=_0x185774[_0x61f00b])&&(_0x3abd51=_0x28c42c(_0x3abd51)||_0x3abd51);return _0x3abd51;},_0x187819=(_0x53dc73,_0xf0f2c4)=>(_0x3f5f19,_0x65cd04)=>_0xf0f2c4(_0x3f5f19,_0x65cd04,_0x53dc73);let _0x1ed7ab=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x4ee911,_0xdafb73,_0x1b89d1,_0x51bb7b,_0x48857e,_0x6f7a6e,_0x15b334){const _0x1948f9=_0x4ff3ff;super(),_0x4779db(this,_0x1948f9(0x1c8),new _0x136a03[(_0x1948f9(0x2be))]()),(this['_injector']=_0x4ee911,this['_refRangeService']=_0xdafb73,this[_0x1948f9(0x1ff)]=_0x1b89d1,this[_0x1948f9(0x317)]=_0x51bb7b,this['_sheetsPivotTableConfigModel']=_0x48857e,this[_0x1948f9(0xa9)]=_0x6f7a6e,this[_0x1948f9(0x2fc)]=_0x15b334,this['_onRefRangeChange']());}[_0x4ff3ff(0xae)](){const _0x7b30fc=_0x4ff3ff,_0x2be66f=(_0x36f82f,_0x7396eb)=>{const _0x2184e9=_0x5d05,_0x2f8d79=this[_0x2184e9(0x317)][_0x2184e9(0x208)](_0x136a03[_0x2184e9(0x170)][_0x2184e9(0x22b)]);if(!_0x2f8d79||!(_0x2f8d79==null?void 0x0:_0x2f8d79[_0x2184e9(0x6d)](_0x7396eb)))return;this[_0x2184e9(0x1c8)][_0x2184e9(0x23b)]();const _0x399167=_0x5a98b7=>this[_0x2184e9(0x30a)](_0x5a98b7,_0x36f82f,_0x7396eb),_0x56d072=this[_0x2184e9(0x385)][_0x2184e9(0x2a8)](_0x36f82f,_0x7396eb);if(!(_0x56d072!=null&&_0x56d072[_0x2184e9(0x26f)]))return;Array['from'](_0x56d072[_0x2184e9(0x143)]())[_0x2184e9(0xa3)](_0x590870=>{const _0x4aa940=_0x2184e9,{row:_0x42c6d3,col:_0xfe82b9}=_0x590870[_0x4aa940(0x271)];return _0x136a03[_0x4aa940(0x350)](_0x42c6d3,_0xfe82b9);})[_0x2184e9(0x1ed)](_0x5a6f65=>{const _0x98211c=_0x2184e9;this[_0x98211c(0x1c8)]['add'](this['_refRangeService'][_0x98211c(0xde)](_0x5a6f65,_0x399167,_0x36f82f,_0x7396eb));});},_0x55dabb=()=>{const _0x19ab76=_0x5d05,_0x4a96aa=this['_univerInstanceService'][_0x19ab76(0x208)](_0x136a03[_0x19ab76(0x170)]['UNIVER_SHEET']);if(_0x4a96aa){const _0x179051=_0x4a96aa[_0x19ab76(0x198)]();if(!_0x179051)return;_0x2be66f(_0x4a96aa['getUnitId'](),_0x179051[_0x19ab76(0xe0)]());}};this[_0x7b30fc(0x228)](this[_0x7b30fc(0x1ff)]['onCommandExecuted'](_0x57a3cd=>{const _0x597359=_0x7b30fc;if(_0x57a3cd['id']===_0x47d532['SetWorksheetActiveOperation']['id']){const _0x1af08b=_0x57a3cd[_0x597359(0x221)],_0xd264b7=_0x1af08b[_0x597359(0x1d4)],_0x478fe1=_0x1af08b[_0x597359(0xb4)];if(!_0xd264b7||!_0x478fe1)return;_0x2be66f(_0x478fe1,_0xd264b7);}})),this[_0x7b30fc(0x228)](this['_sheetsPivotTableConfigModel']['pivotInitCompleted$'][_0x7b30fc(0x31d)](_0x3b373e=>{_0x3b373e&&_0x55dabb();})),this['disposeWithMe'](this[_0x7b30fc(0x385)][_0x7b30fc(0x292)][_0x7b30fc(0x31d)](_0x1950b1=>{const _0x2322b0=_0x7b30fc,_0x35b3e5=_0x47d532[_0x2322b0(0x1f7)](this[_0x2322b0(0x317)]);if(!_0x35b3e5)return;const {unitId:_0x3c6b0b,subUnitId:_0x52d9b5}=_0x35b3e5,{unitId:_0x267655,subUnitId:_0x53272b}=_0x1950b1;_0x3c6b0b!==_0x267655||_0x52d9b5!==_0x53272b||_0x2be66f(_0x3c6b0b,_0x52d9b5);})),_0x55dabb();}[_0x4ff3ff(0x30a)](_0x44a420,_0xfd29f0,_0x28d392){const _0x52420d=_0x4ff3ff;switch(_0x44a420['id']){case _0x47d532[_0x52420d(0x9f)]['id']:return this[_0x52420d(0x150)](_0x44a420[_0x52420d(0x221)],_0xfd29f0,_0x28d392);}return{'redos':[],'undos':[]};}[_0x4ff3ff(0x150)](_0xcd3ae6,_0x38c3f4,_0x335226){const _0x23ade0=_0x4ff3ff,{fromRange:_0x5b98fc,toRange:_0x2b40e2}=_0xcd3ae6,_0xce0b0a=[],_0x9c9984=[],_0x5b9bf3=_0x47d532[_0x23ade0(0x1f7)](this[_0x23ade0(0x317)]);if(!_0x5b9bf3)return{'undos':_0x9c9984,'redos':_0xce0b0a};if(_0x38c3f4!==_0x5b9bf3[_0x23ade0(0xb4)]||_0x335226!==_0x5b9bf3[_0x23ade0(0x1d4)])return{'undos':_0x9c9984,'redos':_0xce0b0a};const _0x3a5ffa=this[_0x23ade0(0x385)][_0x23ade0(0x2a8)](_0x38c3f4,_0x335226);if(_0x3a5ffa!=null&&_0x3a5ffa[_0x23ade0(0x26f)])for(const [_0x499a14,_0x3fba30]of _0x3a5ffa){const {unitId:_0x9c9a99,subUnitId:_0x5a1b61,row:_0x2dd220,col:_0x9108a8}=_0x3fba30['targetCellInfo'];if(_0x9c9a99===_0x5b9bf3[_0x23ade0(0xb4)]&&_0x5a1b61===_0x5b9bf3['subUnitId']){const _0x1b85d0=_0x136a03['cellToRange'](_0x2dd220,_0x9108a8);if(_0x136a03[_0x23ade0(0xab)][_0x23ade0(0xe5)](_0x1b85d0,_0x5b98fc)){const _0x5cd495=_0x2dd220-_0x5b98fc['startRow'],_0x53f4de=_0x9108a8-_0x5b98fc[_0x23ade0(0x2fd)],_0xa2a409={'row':_0x2b40e2[_0x23ade0(0x100)]+_0x5cd495,'col':_0x2b40e2[_0x23ade0(0x2fd)]+_0x53f4de};_0xce0b0a[_0x23ade0(0xda)]({'id':_0x351ec9['id'],'params':{'unitId':_0x9c9a99,'subUnitId':_0x5a1b61,'pivotTableId':_0x499a14,'targetCellPosition':_0xa2a409}}),_0x9c9984[_0x23ade0(0xda)]({'id':_0x351ec9['id'],'params':{'unitId':_0x9c9a99,'subUnitId':_0x5a1b61,'pivotTableId':_0x499a14,'targetCellPosition':{'row':_0x2dd220,'col':_0x9108a8}}});const _0x1007f7=_0xa2a409[_0x23ade0(0x327)]-_0x2dd220,_0x46d430=_0xa2a409[_0x23ade0(0xed)]-_0x9108a8,_0x503376=[],_0x2be1ec=this[_0x23ade0(0xa9)]['getPivotItemRenderInfoCache'](_0x9c9a99,_0x5a1b61,_0x499a14),_0x33133c=_0x2be1ec==null?void 0x0:_0x2be1ec[_0x23ade0(0x2c4)];if(_0x33133c){Object['keys'](_0x33133c)[_0x23ade0(0x1ed)](_0x5a0387=>{const _0x2e9097=_0x23ade0;_0x33133c[_0x5a0387][_0x2e9097(0x1ed)](_0x3e8677=>{const _0x7b92cb=_0x2e9097,_0x3b4419={..._0x3e8677};_0x3b4419[_0x7b92cb(0x100)]=_0x3e8677[_0x7b92cb(0x100)]+_0x1007f7,_0x3b4419['endRow']=_0x3e8677[_0x7b92cb(0x27a)]+_0x1007f7,_0x3b4419[_0x7b92cb(0x2fd)]=_0x3e8677[_0x7b92cb(0x2fd)]+_0x46d430,_0x3b4419[_0x7b92cb(0x304)]=_0x3e8677['endColumn']+_0x46d430,_0x503376[_0x7b92cb(0xda)](_0x3b4419);});});const _0xb39f35=this['_sheetInterceptorService'][_0x23ade0(0x112)]({'unitId':_0x9c9a99,'subUnitId':_0x5a1b61,'ranges':_0x503376});_0xce0b0a[_0x23ade0(0xda)](..._0xb39f35[_0x23ade0(0x1aa)]),_0x9c9984[_0x23ade0(0xda)](..._0xb39f35['undos']);const _0x1a7209=_0x536fef(this[_0x23ade0(0x17c)],_0x9c9a99,_0x5a1b61,_0x503376);_0x1a7209['shouldClear']&&(_0xce0b0a[_0x23ade0(0xda)](_0x1a7209['setRangeValueRedoMutation']),_0x9c9984[_0x23ade0(0xda)](_0x1a7209['setRangeValueUndoMutation']));}}}}return{'redos':_0xce0b0a,'undos':_0x9c9984};}};_0x1ed7ab=_0x15226f([_0x187819(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['Injector'])),_0x187819(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x47d532[_0x4ff3ff(0x1ec)])),_0x187819(0x2,_0x136a03[_0x4ff3ff(0x13a)]),_0x187819(0x3,_0x136a03[_0x4ff3ff(0x227)]),_0x187819(0x4,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x302)])),_0x187819(0x5,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x1e5)])),_0x187819(0x6,_0x136a03['Inject'](_0x47d532[_0x4ff3ff(0x91)]))],_0x1ed7ab);var _0x3d7726=Object[_0x4ff3ff(0xba)],_0x10787c=(_0x306762,_0x353885,_0x164114,_0x581073)=>{const _0x83be21=_0x4ff3ff;for(var _0x211bde=_0x581073>0x1?void 0x0:_0x581073?_0x3d7726(_0x353885,_0x164114):_0x353885,_0x2dfd6b=_0x306762[_0x83be21(0x1ae)]-0x1,_0x37caeb;_0x2dfd6b>=0x0;_0x2dfd6b--)(_0x37caeb=_0x306762[_0x2dfd6b])&&(_0x211bde=_0x37caeb(_0x211bde)||_0x211bde);return _0x211bde;},_0x2d915d=(_0x54b95b,_0x39f8b9)=>(_0x1e2dbb,_0x20dd25)=>_0x39f8b9(_0x1e2dbb,_0x20dd25,_0x54b95b);let _0xfe1da=class extends _0x136a03[_0x4ff3ff(0x101)]{constructor(_0x2ff474,_0x438704){const _0x2f608d=_0x4ff3ff;super(),this[_0x2f608d(0x2fc)]=_0x2ff474,this[_0x2f608d(0x385)]=_0x438704,this[_0x2f608d(0x1d1)]();}[_0x4ff3ff(0x1d1)](){const _0x545ff9=_0x4ff3ff;this['disposeWithMe'](this[_0x545ff9(0x2fc)][_0x545ff9(0x1e6)]({'getMutations':_0x7f0d1d=>{const _0x3ea96d=_0x545ff9;if(_0x7f0d1d['id']===_0x47d532[_0x3ea96d(0x144)]['id']){const _0x5707d8=[],_0x5e504e=[],_0x2ac3cc=_0x7f0d1d[_0x3ea96d(0x221)],{unitId:_0x2fb0a8,subUnitId:_0x5bb2ae}=_0x2ac3cc;if(!_0x2fb0a8||!_0x5bb2ae)return{'undos':_0x5e504e,'redos':_0x5707d8};const _0x19f2d8=this['_sheetsPivotTableConfigModel'][_0x3ea96d(0x2a8)](_0x2fb0a8,_0x5bb2ae);if(_0x19f2d8!=null&&_0x19f2d8['size'])for(const [_0x3ffb51,_0x1f1015]of _0x19f2d8){_0x5707d8['push']({'id':_0x1e490e['id'],'params':{'unitId':_0x2fb0a8,'subUnitId':_0x5bb2ae,'pivotTableId':_0x3ffb51}});const _0x3a3530={...this[_0x3ea96d(0x385)][_0x3ea96d(0x139)](_0x2fb0a8,_0x3ffb51)};_0x5e504e[_0x3ea96d(0xda)]({'id':_0x5f77cb['id'],'params':{'unitId':_0x2fb0a8,'subUnitId':_0x5bb2ae,'pivotTableId':_0x3ffb51,'pivotTableConfig':_0x1f1015,'collectionConfig':_0x3a3530}});}return{'redos':_0x5707d8,'undos':_0x5e504e};}return{'redos':[],'undos':[]};}}));}};_0xfe1da=_0x10787c([_0x2d915d(0x0,_0x136a03['Inject'](_0x47d532[_0x4ff3ff(0x91)])),_0x2d915d(0x1,_0x136a03['Inject'](_0x488dae[_0x4ff3ff(0x302)]))],_0xfe1da);var _0x6cee3b=Object[_0x4ff3ff(0xba)],_0x477d68=(_0x3efab1,_0x103e59,_0x350711,_0x26270c)=>{const _0x1c3be8=_0x4ff3ff;for(var _0x5eea73=_0x26270c>0x1?void 0x0:_0x26270c?_0x6cee3b(_0x103e59,_0x350711):_0x103e59,_0x263eb7=_0x3efab1[_0x1c3be8(0x1ae)]-0x1,_0x18f5d8;_0x263eb7>=0x0;_0x263eb7--)(_0x18f5d8=_0x3efab1[_0x263eb7])&&(_0x5eea73=_0x18f5d8(_0x5eea73)||_0x5eea73);return _0x5eea73;},_0x40971c=(_0x3f7aad,_0x51d33f)=>(_0x24bc84,_0x2767b0)=>_0x51d33f(_0x24bc84,_0x2767b0,_0x3f7aad);let _0x2e1acf=class extends _0x136a03['Disposable']{constructor(_0x32b209,_0x5780b5,_0x52313d,_0x11fccc,_0x2b0c59,_0x27ad3a){const _0xb2c8ee=_0x4ff3ff;super(),this[_0xb2c8ee(0x1ff)]=_0x32b209,this[_0xb2c8ee(0xc2)]=_0x5780b5,this[_0xb2c8ee(0xa9)]=_0x52313d,this[_0xb2c8ee(0x385)]=_0x11fccc,this['_univerInstanceService']=_0x2b0c59,this[_0xb2c8ee(0x257)]=_0x27ad3a,this['_initDataSendListener'](),this['registerDirtyService']();}[_0x4ff3ff(0x2d5)](){const _0xf1d664=_0x4ff3ff;this['disposeWithMe'](this[_0xf1d664(0x1ff)][_0xf1d664(0x104)](_0x38287d=>{const _0x7cb4d1=_0xf1d664;if(_0x38287d['id']!==_0x4e105c['id'])return;const _0x4383cb=_0x38287d['params'];this[_0x7cb4d1(0xc2)][_0x7cb4d1(0x33a)](_0x4383cb);})),this[_0xf1d664(0x228)](this['_commandService'][_0xf1d664(0x104)](_0x3de645=>{const _0x2da204=_0xf1d664;if(_0x3de645['id']===_0x278df3['id']){const _0x447e84=_0x3de645['params'];if(_0x447e84){const {unitId:_0x41eff8,subUnitId:_0x486dbc,oldSubUnitId:_0x25136d,pivotTableId:_0x46daa2,pivotTableConfig:_0x15d55d,collectionConfig:_0x540758}=_0x447e84;this['_sheetsPivotTableConfigModel'][_0x2da204(0xad)](_0x41eff8,_0x25136d,_0x447e84[_0x2da204(0xd0)],null),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x41eff8,_0x486dbc,_0x46daa2,_0x15d55d),this[_0x2da204(0x385)][_0x2da204(0x35c)](_0x41eff8,_0x540758);}}})),this[_0xf1d664(0x228)](this[_0xf1d664(0x1ff)][_0xf1d664(0x104)](_0x4f450b=>{const _0x3f5314=_0xf1d664;if(_0x4f450b['id']!==_0xb34b97['id'])return;const _0x5f56c0=_0x47d532['getSheetCommandTarget'](this[_0x3f5314(0x317)]);if(!_0x5f56c0)return;const {unitId:_0x19bfa6,subUnitId:_0x37287d}=_0x5f56c0,_0x4757db=_0x4f450b[_0x3f5314(0x221)];if(_0x4757db[_0x3f5314(0xe6)]&&Object[_0x3f5314(0x255)](_0x4757db[_0x3f5314(0xe6)])[_0x3f5314(0x1ed)](_0x4a4ec6=>{const _0x230f21=_0x3f5314;var _0x1476f9;(_0x1476f9=_0x4757db[_0x230f21(0xe6)])!=null&&_0x1476f9[_0x4a4ec6]&&this[_0x230f21(0x385)][_0x230f21(0x35c)](_0x4a4ec6,_0x4757db[_0x230f21(0xe6)][_0x4a4ec6]);}),_0x4757db[_0x3f5314(0x1c4)]){const _0x3cfe8b=_0x4757db[_0x3f5314(0x1c4)],{unitId:_0x3fb899,subUnitId:_0x146031,view:_0x21411d,pivotTableId:_0x341c7a,type:_0x3ed1fd,pivotConfig:_0x1138f4}=_0x3cfe8b;if(_0x3ed1fd===_0x39c7b1[_0x3f5314(0x275)])this[_0x3f5314(0xa9)][_0x3f5314(0x16a)]({'unitId':_0x3fb899,'subUnitId':_0x146031,'pivotTableId':_0x341c7a,'type':_0x3ed1fd}),this[_0x3f5314(0x385)][_0x3f5314(0xad)](_0x3fb899,_0x146031,_0x341c7a,null);else{const _0x2ffd5c=new _0x10f223['PivotView']();_0x2ffd5c[_0x3f5314(0x2ed)](_0x21411d),this[_0x3f5314(0x385)][_0x3f5314(0xad)](_0x3fb899,_0x146031,_0x341c7a,_0x1138f4),this[_0x3f5314(0xa9)][_0x3f5314(0x16a)]({'unitId':_0x3fb899,'subUnitId':_0x146031,'pivotTableId':_0x341c7a,'type':_0x3ed1fd,'view':_0x2ffd5c}),this['_sheetsPivotTableAdaptorModel'][_0x3f5314(0x147)]({'unitId':_0x3fb899,'subUnitId':_0x146031,'view':_0x2ffd5c,'pivotTableId':_0x341c7a,'type':_0x3ed1fd});}}else _0x4757db[_0x3f5314(0x106)]&&(_0x4757db[_0x3f5314(0x106)][_0x3f5314(0x1ed)](_0x2ac060=>{const _0x5eeee6=_0x3f5314,{unitId:_0x127f7b,subUnitId:_0x17db73,view:_0x4dba4b,pivotTableId:_0x3ac860,type:_0x4cac64,pivotConfig:_0x3a572f}=_0x2ac060,_0x129390=new _0x10f223[(_0x5eeee6(0x32d))]();_0x129390[_0x5eeee6(0x2ed)](_0x4dba4b),this[_0x5eeee6(0x385)][_0x5eeee6(0xad)](_0x127f7b,_0x17db73,_0x3ac860,_0x3a572f),this[_0x5eeee6(0xa9)][_0x5eeee6(0x147)]({'unitId':_0x127f7b,'subUnitId':_0x17db73,'view':_0x129390,'pivotTableId':_0x3ac860,'type':_0x4cac64});}),this[_0x3f5314(0x385)][_0x3f5314(0x1f6)]());this[_0x3f5314(0xa9)][_0x3f5314(0x2f9)](_0x19bfa6,_0x37287d);}));}[_0x4ff3ff(0x384)](){const _0x548200=_0x4ff3ff;this['_activeDirtyManagerService'][_0x548200(0xc3)](_0x4f48b1['id'],{'commandId':_0x4f48b1['id'],'getDirtyData'(_0x107729){const _0x588069=_0x548200;return{'dirtyUnitFeatureMap':_0x107729[_0x588069(0x221)]};}});}};_0x2e1acf=_0x477d68([_0x40971c(0x0,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x13a)])),_0x40971c(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x120)])),_0x40971c(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae[_0x4ff3ff(0x1e5)])),_0x40971c(0x3,_0x136a03[_0x4ff3ff(0x2e8)](_0x488dae['SheetsPivotTableConfigModel'])),_0x40971c(0x4,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x227)])),_0x40971c(0x5,_0x5bf515[_0x4ff3ff(0x37c)])],_0x2e1acf);var _0x1b774e=Object[_0x4ff3ff(0x2bd)],_0x6f291f=Object['getOwnPropertyDescriptor'],_0x4c6454=(_0x2914f9,_0x1f51b3,_0x175904)=>_0x1f51b3 in _0x2914f9?_0x1b774e(_0x2914f9,_0x1f51b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x175904}):_0x2914f9[_0x1f51b3]=_0x175904,_0x3a4f69=(_0x22d78b,_0x455a6f,_0x48e36c,_0x24e5a9)=>{const _0x5227d5=_0x4ff3ff;for(var _0x4048c7=_0x24e5a9>0x1?void 0x0:_0x24e5a9?_0x6f291f(_0x455a6f,_0x48e36c):_0x455a6f,_0x320505=_0x22d78b[_0x5227d5(0x1ae)]-0x1,_0xd9d64b;_0x320505>=0x0;_0x320505--)(_0xd9d64b=_0x22d78b[_0x320505])&&(_0x4048c7=_0xd9d64b(_0x4048c7)||_0x4048c7);return _0x4048c7;},_0x6dd671=(_0x403bd5,_0x49cbc6)=>(_0x227630,_0x3bb98e)=>_0x49cbc6(_0x227630,_0x3bb98e,_0x403bd5),_0xd4baea=(_0x5db1e0,_0x549740,_0x22adce)=>_0x4c6454(_0x5db1e0,typeof _0x549740!='symbol'?_0x549740+'':_0x549740,_0x22adce);_0x488dae[_0x4ff3ff(0x244)]=class extends _0x136a03[_0x4ff3ff(0x2e0)]{constructor(_0x7e6f77=_0x1af530,_0x4290f7,_0x4c3b94,_0x4d5c04,_0x232c63){const _0x37db60=_0x4ff3ff;super(),this[_0x37db60(0x2c5)]=_0x7e6f77,this[_0x37db60(0x17c)]=_0x4290f7,this['_commandService']=_0x4c3b94,this['_configService']=_0x4d5c04,this[_0x37db60(0x29c)]=_0x232c63;const {..._0xca3e10}=_0x136a03[_0x37db60(0xaf)]({},_0x1af530,this[_0x37db60(0x2c5)]);this[_0x37db60(0x2cb)][_0x37db60(0x250)](_0x3b6c37,_0xca3e10),this[_0x37db60(0xa5)](),this[_0x37db60(0x279)]();}['_initConfig'](){const _0x16c2fd=_0x4ff3ff;var _0x104e8c;const _0xe19fd9=(_0x104e8c=this[_0x16c2fd(0x2c5)])==null?void 0x0:_0x104e8c[_0x16c2fd(0x254)];this[_0x16c2fd(0x2cb)][_0x16c2fd(0x250)](_0x2432cb,_0xe19fd9===!0x0);}[_0x4ff3ff(0xfe)](){const _0x103dd0=_0x4ff3ff;var _0xe65591;let _0x229bff=[];const _0x3e7c00=(_0xe65591=this[_0x103dd0(0x2c5)])==null?void 0x0:_0xe65591['notExecuteFormula'];_0x3e7c00===!0x0?_0x229bff=[[_0x488dae[_0x103dd0(0x2af)]],[_0x488dae[_0x103dd0(0x120)]],[_0x2e1acf],[_0x488dae['SheetsPivotTableAdaptorModel']],[_0x488dae[_0x103dd0(0x302)]],[_0xfe1da],[_0x1a92b1],[_0x1ed7ab],[_0x10deb4]]:_0x3e7c00===!0x1?_0x229bff=[[_0x488dae[_0x103dd0(0x16d)]],[_0x1f28d6]]:_0x3e7c00===void 0x0&&(_0x229bff=[[_0x488dae[_0x103dd0(0x16d)]],[_0x1f28d6],[_0x488dae['SheetsPivotTableService']],[_0x488dae[_0x103dd0(0x120)]],[_0x2e1acf],[_0x488dae[_0x103dd0(0x1e5)]],[_0x488dae[_0x103dd0(0x302)]],[_0xfe1da],[_0x1a92b1],[_0x1ed7ab],[_0x10deb4]]),_0x229bff[_0x103dd0(0x1ed)](_0x4387d3=>this['_injector'][_0x103dd0(0x20b)](_0x4387d3)),[_0x1f28d6,_0x2e1acf,_0x488dae[_0x103dd0(0x2af)],_0x1a92b1,_0xfe1da,_0x1ed7ab,_0x10deb4]['forEach'](_0xc2c378=>{const _0x30ae65=_0x103dd0;this[_0x30ae65(0x17c)]['has'](_0xc2c378)&&this[_0x30ae65(0x17c)][_0x30ae65(0x34e)](_0xc2c378);});}[_0x4ff3ff(0xa5)](){const _0x5f0fdc=_0x4ff3ff;[_0x3e865c,_0x4fcdd3,_0x2c0605,_0x48cd17,_0x3ca2c5,_0x39841d,_0x23226d,_0x5cb834,_0x31c60a,_0x25fe6b,_0x2fd21d,_0x5d30e7,_0x3cb7e4,_0xa870fc,_0x5f77cb,_0x11f031,_0x1e490e,_0x537a11,_0x5454da,_0x1b9fed,_0x1594e5,_0x4870f1,_0x8a2cc4,_0x4c3b79,_0x553b85,_0x5118aa,_0x351ec9,_0x5ccc55,_0x4e105c,_0xb34b97,_0x22ec60,_0x232f99,_0x203adf,_0x47e9c4,_0x30da9f,_0x4fa7f7,_0x5d9f62,_0x4f48b1,_0x278df3,_0xacb440,_0x119fca,_0x2f4958,_0x59c06a][_0x5f0fdc(0x1ed)](_0x2a14ee=>{const _0x207afe=_0x5f0fdc;var _0x1f63ed;(_0x1f63ed=this['_dataSyncPrimaryController'])==null||_0x1f63ed[_0x207afe(0xd4)](_0x2a14ee),this[_0x207afe(0x1ff)][_0x207afe(0xcd)](_0x2a14ee);});}},_0xd4baea(_0x488dae[_0x4ff3ff(0x244)],_0x4ff3ff(0x108),_0x1cd2aa),_0xd4baea(_0x488dae[_0x4ff3ff(0x244)],_0x4ff3ff(0x20d),_0x136a03['UniverInstanceType'][_0x4ff3ff(0x22b)]),_0x488dae[_0x4ff3ff(0x244)]=_0x3a4f69([_0x136a03['DependentOn'](_0x3f0c04[_0x4ff3ff(0x1ad)]),_0x6dd671(0x1,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03[_0x4ff3ff(0x214)])),_0x6dd671(0x2,_0x136a03[_0x4ff3ff(0x2e8)](_0x136a03['ICommandService'])),_0x6dd671(0x3,_0x136a03[_0x4ff3ff(0x25a)]),_0x6dd671(0x4,_0x136a03[_0x4ff3ff(0x2c9)](_0x3fa942[_0x4ff3ff(0xb9)]))],_0x488dae[_0x4ff3ff(0x244)]),_0x488dae[_0x4ff3ff(0x330)]=_0x2c0605,_0x488dae[_0x4ff3ff(0x8b)]=_0x537a11,_0x488dae[_0x4ff3ff(0x312)]=_0x4fcdd3,_0x488dae[_0x4ff3ff(0x178)]=_0x5f77cb,_0x488dae[_0x4ff3ff(0x2ec)]=_0x3e865c,_0x488dae[_0x4ff3ff(0x381)]=_0x2fd7f7,_0x488dae[_0x4ff3ff(0x345)]=_0x2e79d7,_0x488dae[_0x4ff3ff(0x31c)]=_0x48cd17,_0x488dae[_0x4ff3ff(0x1ea)]=_0x3cb7e4,_0x488dae['PivotDisplayDataType']=_0x434fd6,_0x488dae[_0x4ff3ff(0x70)]=_0xa870fc,_0x488dae[_0x4ff3ff(0x103)]=_0x39c7b1,_0x488dae['PivotTableViewDirtyMarkOperation']=_0x4f48b1,_0x488dae['PositionType']=_0x55bf83,_0x488dae['RemovePivotFieldCommand']=_0x3ca2c5,_0x488dae[_0x4ff3ff(0x331)]=_0x4870f1,_0x488dae['RemovePivotTableMutation']=_0x1e490e,_0x488dae[_0x4ff3ff(0x356)]=_0x8a2cc4,_0x488dae[_0x4ff3ff(0x1d3)]=_0x59c06a,_0x488dae['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x3b6c37,_0x488dae[_0x4ff3ff(0x273)]=_0x1cd2aa,_0x488dae['SetPivotCollapseCommand']=_0x5cb834,_0x488dae[_0x4ff3ff(0x265)]=_0x4c3b79,_0x488dae[_0x4ff3ff(0x29a)]=_0x47e9c4,_0x488dae[_0x4ff3ff(0x1dd)]=_0x2f4958,_0x488dae['SetPivotFilterCommand']=_0x25fe6b,_0x488dae[_0x4ff3ff(0x2d4)]=_0x1594e5,_0x488dae[_0x4ff3ff(0x105)]=_0x5118aa,_0x488dae[_0x4ff3ff(0x2bc)]=_0x351ec9,_0x488dae[_0x4ff3ff(0x359)]=_0x31c60a,_0x488dae[_0x4ff3ff(0x13b)]=_0x553b85,_0x488dae[_0x4ff3ff(0x1a2)]=_0x203adf,_0x488dae['SetPivotValueFilterCommand']=_0xacb440,_0x488dae[_0x4ff3ff(0x11b)]=_0x119fca,_0x488dae[_0x4ff3ff(0x32e)]=_0x23226d,_0x488dae[_0x4ff3ff(0x1f3)]=_0x22ec60,_0x488dae['UpdatePivotFieldSettingCommand']=_0x2fd21d,_0x488dae[_0x4ff3ff(0x117)]=_0x5d9f62,_0x488dae['UpdatePivotTableSourceRangeCommand']=_0x5d30e7,_0x488dae[_0x4ff3ff(0x382)]=_0x4fa7f7,_0x488dae[_0x4ff3ff(0x12a)]=_0x39841d,_0x488dae[_0x4ff3ff(0x26c)]=_0x232f99,_0x488dae['applyChangeSet']=_0x3837e3,_0x488dae['canUsePivot']=_0x2974b0,_0x488dae[_0x4ff3ff(0x32f)]=_0x1a3ef9,_0x488dae[_0x4ff3ff(0x1e2)]=_0x536fef,_0x488dae[_0x4ff3ff(0x310)]=_0x50f2e9,_0x488dae[_0x4ff3ff(0x233)]=_0x4095bd,_0x488dae[_0x4ff3ff(0x307)]=_0x1ffc3c,_0x488dae[_0x4ff3ff(0x2a4)]=_0x1fa301,_0x488dae['getPivotCellInfo']=_0x3872a6,_0x488dae[_0x4ff3ff(0x1bd)]=_0x3f7c6d,_0x488dae[_0x4ff3ff(0x1c9)]=_0xfefbb8,_0x488dae[_0x4ff3ff(0x13e)]=_0x25418d,_0x488dae['unionPivotViewRange']=_0x2a3c2e,Object[_0x4ff3ff(0x2bd)](_0x488dae,Symbol[_0x4ff3ff(0x224)],{'value':'Module'});}));
|