@univerjs-pro/sheets-pivot 0.6.5 → 0.6.6

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1976(_0x5d61c7,_0x5ddc94){const _0x3c1e98=_0x3c1e();return _0x1976=function(_0x19760f,_0x457b72){_0x19760f=_0x19760f-0x175;let _0x28500b=_0x3c1e98[_0x19760f];return _0x28500b;},_0x1976(_0x5d61c7,_0x5ddc94);}(function(_0x3a74e4,_0x2fd72d){const _0x5dbbc4=_0x1976,_0x40598c=_0x3a74e4();while(!![]){try{const _0x32346d=parseInt(_0x5dbbc4(0x41d))/0x1*(-parseInt(_0x5dbbc4(0x189))/0x2)+-parseInt(_0x5dbbc4(0x3a3))/0x3*(parseInt(_0x5dbbc4(0x19d))/0x4)+-parseInt(_0x5dbbc4(0x3d6))/0x5*(-parseInt(_0x5dbbc4(0x309))/0x6)+-parseInt(_0x5dbbc4(0x3c0))/0x7+parseInt(_0x5dbbc4(0x27d))/0x8*(parseInt(_0x5dbbc4(0x1a8))/0x9)+-parseInt(_0x5dbbc4(0x181))/0xa+parseInt(_0x5dbbc4(0x248))/0xb;if(_0x32346d===_0x2fd72d)break;else _0x40598c['push'](_0x40598c['shift']());}catch(_0x570d41){_0x40598c['push'](_0x40598c['shift']());}}}(_0x3c1e,0xde5bd),function(_0x34ea58,_0x2bc56a){const _0x8be9a2=_0x1976;typeof exports==_0x8be9a2(0x209)&&typeof module<'u'?_0x2bc56a(exports,require(_0x8be9a2(0x420)),require(_0x8be9a2(0x254)),require(_0x8be9a2(0x38b)),require(_0x8be9a2(0x1f9)),require('rxjs'),require(_0x8be9a2(0x360)),require(_0x8be9a2(0x412)),require(_0x8be9a2(0x384)),require(_0x8be9a2(0x375))):typeof define=='function'&&define[_0x8be9a2(0x3d2)]?define([_0x8be9a2(0x1c5),_0x8be9a2(0x420),_0x8be9a2(0x254),_0x8be9a2(0x38b),_0x8be9a2(0x1f9),'rxjs','@univerjs-pro/license','@univerjs/sheets-filter','@univerjs/rpc',_0x8be9a2(0x375)],_0x2bc56a):(_0x34ea58=typeof globalThis<'u'?globalThis:_0x34ea58||self,_0x2bc56a(_0x34ea58[_0x8be9a2(0x3a2)]={},_0x34ea58[_0x8be9a2(0x348)],_0x34ea58[_0x8be9a2(0x277)],_0x34ea58[_0x8be9a2(0x20f)],_0x34ea58['UniverSheets'],_0x34ea58['rxjs'],_0x34ea58['UniverProLicense'],_0x34ea58['UniverSheetsFilter'],_0x34ea58[_0x8be9a2(0x34b)],_0x34ea58[_0x8be9a2(0x295)]));}(this,function(_0x11a467,_0x141cc9,_0x4cef4c,_0x1c9972,_0x553681,_0xe61eb6,_0x4a6362,_0x40e24d,_0x3c673e,_0x412af6){'use strict';const _0x308732=_0x1976;var _0x3c9ecd=Object[_0x308732(0x2da)],_0x139906=(_0x7ab363,_0x4b7bc5,_0x16ce1c)=>_0x4b7bc5 in _0x7ab363?_0x3c9ecd(_0x7ab363,_0x4b7bc5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16ce1c}):_0x7ab363[_0x4b7bc5]=_0x16ce1c,_0x4b363f=(_0x59c661,_0x148649,_0x26dfa8)=>_0x139906(_0x59c661,typeof _0x148649!=_0x308732(0x3e4)?_0x148649+'':_0x148649,_0x26dfa8);const _0x2ba87c=Number[_0x308732(0x3e8)](0x67d1822d),_0x48a044=0x10,_0x34a535=0x1,_0x521977=_0x308732(0x193),_0x2d1a4a=0x1,_0x2f8ab9=_0x308732(0x299),_0x2353a3=_0x308732(0x2b0),_0x2e6880=_0x308732(0x303),_0x2ddb74=_0x308732(0x37f),_0x5cd899=_0x308732(0x37f),_0x5eeadc='#eceeff',_0x23cddf=_0x308732(0x1f3),_0x5866eb='#FFFFFF',_0x801c55=_0x308732(0x3f9),_0x249cfd=_0x308732(0x1f3),_0x2d4d2a='#FFFFFF',_0x255995='#e6ebfb',_0x145827=0xe,_0x5f0505=0x6;var _0x4c1a96=(_0x13476b=>(_0x13476b[_0x308732(0x393)]=_0x308732(0x374),_0x13476b[_0x308732(0x453)]=_0x308732(0x364),_0x13476b))(_0x4c1a96||{});const _0x196990={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''}}},_0x1c1f9b=0x1e,_0x22e16a={'b':{'s':0x1,'cl':{'rgb':_0x2e6880}},'l':{'s':0x1,'cl':{'rgb':_0x2e6880}},'r':{'s':0x1,'cl':{'rgb':_0x2e6880}},'t':{'s':0x1,'cl':{'rgb':_0x2e6880}}},_0x47d1c4={'bg':{'rgb':_0x2f8ab9},'ht':0x2,'vt':0x2,'tb':0x1},_0x263904={'bg':{'rgb':_0x2353a3},'ht':0x2,'vt':0x2,'tb':0x1},_0x3fbf77={'rowStyle':{'bg':{'rgb':_0x255995},'bd':_0x22e16a,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x249cfd},'bd':null,'cl':{'rgb':_0x2d4d2a},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x22e16a,'bg':{'rgb':_0x801c55},'vt':0x2},'cornerStyle':{'bd':_0x22e16a,'bg':{'rgb':_0x5eeadc},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x22e16a,'bg':{'rgb':_0x2ddb74},'vt':0x2},'leafStyle':{'bd':_0x22e16a,'bg':{'rgb':_0x5cd899},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x23cddf},'cl':{'rgb':_0x5866eb},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x22e16a,'vt':0x2}},_0x4515a0=(_0x2a2e55,_0x10e78d,_0x4397bb)=>{const _0x48bef7=_0x308732;let _0x200028;const _0x287404=_0x2a2e55['get'](_0x4cef4c[_0x48bef7(0x275)])['getCurrentUnitForType'](_0x4cef4c['UniverInstanceType'][_0x48bef7(0x262)]);if(!_0x287404)return null;const _0x9f83fd=_0x287404[_0x48bef7(0x347)]();let _0x3f04db;if(_0x4397bb&&(_0x3f04db=_0x9f83fd[_0x48bef7(0x186)](_0x4397bb)),_0x10e78d!=null&&_0x10e78d['v']||(_0x10e78d==null?void 0x0:_0x10e78d['v'])===0x0){_0x200028||(_0x200028={});const _0x4ab325=_0x32826e(_0x10e78d['v']);typeof _0x4ab325=='number'?_0x200028['t']=_0x4cef4c[_0x48bef7(0x45b)][_0x48bef7(0x198)]:typeof _0x4ab325==_0x48bef7(0x382)&&(_0x200028['t']=_0x4cef4c[_0x48bef7(0x45b)]['STRING']),_0x200028['v']=_0x4ab325;}return(_0x10e78d!=null&&_0x10e78d['i']||(_0x10e78d==null?void 0x0:_0x10e78d['i'])===0x0)&&(_0x200028||(_0x200028={}),_0x200028['fi']=_0x10e78d['i']),_0x10e78d!=null&&_0x10e78d['s']&&(_0x200028||(_0x200028={}),_0x200028[_0x48bef7(0x2c4)]=_0x10e78d['s']),_0x4397bb&&(_0x200028||(_0x200028={}),_0x200028['s']=_0x3f04db),_0x200028;},_0x2e152d=(_0xb1d464,_0x397f2d,_0x2f101,_0x11dfe4)=>{const _0x12c239=_0x308732;var _0x4cd6c2,_0x38acca,_0x332f2a,_0xbe6609,_0x16e598,_0x585db4,_0x22e136,_0x4194c8,_0x1f4514,_0x2b3719,_0x53a689,_0x395f96,_0x1a4522,_0x107215;const _0xd5e66f=_0x2f101['targetCellInfo'],{cornerView:_0x4b4de0,rowView:_0x2bf935,colView:_0x1de94f,dataView:_0x5abc58,pageView:_0x3b1785,formatMap:_0x1dbc11}=_0x397f2d,{row:_0x46cdf6,col:_0x254b55}=_0xd5e66f,_0x3ca06d=new _0x4cef4c[(_0x12c239(0x3de))](),_0x136400={},_0x29c76d={},_0x22fe8e={},_0xcc99d6={},_0x94b464={};let _0x5cf61a=_0x46cdf6,_0x717917=_0x254b55;Object['keys'](_0x3b1785['data'])[_0x12c239(0x396)](_0x492fd6=>{const _0x1ed1cc=_0x12c239;Object['keys'](_0x3b1785[_0x1ed1cc(0x329)][Number(_0x492fd6)])['forEach'](_0x5799ea=>{const _0x1247cb=_0x1ed1cc,_0x42f8ab={..._0x3b1785[_0x1247cb(0x329)][Number(_0x492fd6)][Number(_0x5799ea)]};_0x3ca06d[_0x1247cb(0x186)](Number(_0x492fd6)+_0x5cf61a,Number(_0x5799ea)+_0x717917,_0x4515a0(_0xb1d464,_0x42f8ab,_0x3fbf77[_0x1247cb(0x2e9)]));});});const _0x22689d=Object['keys'](_0x3b1785[_0x12c239(0x329)])[_0x12c239(0x1bd)];_0x5cf61a+=_0x22689d+(_0x22689d?_0x2d1a4a:0x0);const _0x50c3f1=_0x4b4de0['getRowCount'](),_0xcadc37=_0x4b4de0[_0x12c239(0x3b9)]();for(let _0x52bc3b=0x0;_0x52bc3b<_0x50c3f1;_0x52bc3b++)for(let _0x25fb2a=0x0;_0x25fb2a<_0xcadc37;_0x25fb2a++){const _0x57729b={...(_0x38acca=(_0x4cd6c2=_0x4b4de0[_0x12c239(0x329)])==null?void 0x0:_0x4cd6c2[_0x52bc3b])==null?void 0x0:_0x38acca[_0x25fb2a]};_0x57729b&&((_0x332f2a=_0x2bf935[_0x12c239(0x2e3)][_0x25fb2a])!=null&&_0x332f2a['isValue'])&&_0x25fb2a===_0xcadc37-0x1&&_0x52bc3b===_0x50c3f1-0x1&&(_0x57729b['v']=''+_0x11dfe4[_0x12c239(0x313)]),_0x3ca06d['setValue'](_0x52bc3b+_0x5cf61a,_0x25fb2a+_0x717917,_0x4515a0(_0xb1d464,_0x57729b,_0x3fbf77['cornerStyle']));}for(let _0x1c1144=0x0;_0x1c1144<_0x4b4de0[_0x12c239(0x26f)][_0x12c239(0x1bd)];_0x1c1144++)_0x4b4de0[_0x12c239(0x26f)][_0x1c1144]&&(_0x22fe8e[''+(_0x1c1144+_0x717917)]=_0x4b4de0['info'][_0x1c1144]);_0x717917+=_0xcadc37;const _0x32684d=_0x1de94f['headerMap'],_0x4b4150=_0x1de94f[_0x12c239(0x35a)]()>=0x0?_0x1de94f[_0x12c239(0x35a)]()+0x1:0x0,_0x11d099=_0x1de94f['getLastCol']()>=0x0?_0x1de94f['getLastCol']()+0x1:0x0;for(let _0x17676b=0x0;_0x17676b<_0x11d099;_0x17676b++){for(let _0x4a7bff=0x0;_0x4a7bff<_0x4b4150;_0x4a7bff++){const _0x8a2cc2={...(_0x16e598=(_0xbe6609=_0x1de94f[_0x12c239(0x329)])==null?void 0x0:_0xbe6609[_0x4a7bff])==null?void 0x0:_0x16e598[_0x17676b]},_0x3ca602=(_0x585db4=_0x32684d[_0x4a7bff])==null?void 0x0:_0x585db4[_0x12c239(0x32a)],_0x81cf4a=_0x1dbc11[_0x3ca602];_0x8a2cc2&&(_0x8a2cc2['v']=_0x5ed7cf(_0x8a2cc2,_0x4a7bff===0x0&&((_0x22e136=_0x1de94f[_0x12c239(0x2f3)](_0x17676b+0x1))==null?void 0x0:_0x22e136[_0x12c239(0x1ff)]),_0x81cf4a,_0x11dfe4));let _0x5438cf;_0x81cf4a?_0x5438cf={..._0x3fbf77[_0x12c239(0x1ad)],'n':{'pattern':_0x81cf4a}}:_0x5438cf={..._0x3fbf77['colStyle']},_0x3ca06d[_0x12c239(0x186)](_0x4a7bff+_0x5cf61a,_0x17676b+_0x717917,_0x4515a0(_0xb1d464,_0x8a2cc2,_0x5438cf));}_0x1de94f[_0x12c239(0x26f)][_0x17676b]&&(_0x29c76d[''+(_0x17676b+_0x717917)]=_0x1de94f[_0x12c239(0x26f)][_0x17676b]),_0x1de94f[_0x12c239(0x2e3)][_0x17676b+0x1]&&(_0x94b464[''+(_0x17676b+_0x5cf61a+0x1)]=_0x1de94f[_0x12c239(0x2e3)][_0x17676b+0x1]);}_0x5cf61a+=_0x50c3f1;const _0x440112=_0x2bf935[_0x12c239(0x2e3)],_0x28619f=_0x2bf935['getLastRow']()>=0x0?_0x2bf935['getLastRow']()+0x1:0x0,_0x8d54cc=_0x2bf935[_0x12c239(0x36e)]()>=0x0?_0x2bf935[_0x12c239(0x36e)]()+0x1:0x0;for(let _0x2862e5=0x0;_0x2862e5<_0x28619f;_0x2862e5++){for(let _0x157686=0x0;_0x157686<_0x8d54cc;_0x157686++){const _0xc179fd={...(_0x1f4514=(_0x4194c8=_0x2bf935[_0x12c239(0x329)])==null?void 0x0:_0x4194c8[_0x2862e5])==null?void 0x0:_0x1f4514[_0x157686]},_0x4aaf7c=(_0x2b3719=_0x440112[_0x157686])==null?void 0x0:_0x2b3719[_0x12c239(0x32a)],_0x59cc50=_0x1dbc11[_0x4aaf7c];_0xc179fd&&(_0xc179fd['v']=_0x5ed7cf(_0xc179fd,!0x1,_0x59cc50,_0x11dfe4));let _0x49cb23;_0x2bf935[_0x12c239(0x26f)][_0x2862e5]['level']===_0x2bf935[_0x12c239(0x3b9)]()?_0x49cb23=_0x3fbf77[_0x12c239(0x1a6)]:_0x2bf935[_0x12c239(0x26f)][_0x2862e5][_0x12c239(0x37c)]?_0x49cb23=_0x2bf935[_0x12c239(0x26f)][_0x2862e5]['level']===0x0?_0x3fbf77['grandTotal']:_0x3fbf77[_0x12c239(0x1e6)]:_0x49cb23=_0x3fbf77[_0x12c239(0x363)],_0x59cc50&&(_0x49cb23={..._0x49cb23,'n':{'pattern':_0x59cc50}}),_0x3ca06d[_0x12c239(0x186)](_0x2862e5+_0x5cf61a,_0x157686+_0x254b55,_0x4515a0(_0xb1d464,_0xc179fd,_0x49cb23));}_0x2bf935[_0x12c239(0x26f)][_0x2862e5]&&(_0x136400[''+(_0x2862e5+_0x5cf61a)]=_0x2bf935[_0x12c239(0x26f)][_0x2862e5]),_0x2bf935[_0x12c239(0x2e3)][_0x2862e5]&&(_0xcc99d6[''+(_0x2862e5+_0x254b55)]=_0x2bf935[_0x12c239(0x2e3)][_0x2862e5]);}const _0x1d840f=_0x5abc58[_0x12c239(0x422)](),_0x4e5514=_0x5abc58[_0x12c239(0x3b9)]();for(let _0x124629=0x0;_0x124629<_0x1d840f;_0x124629++)for(let _0x19232d=0x0;_0x19232d<_0x4e5514;_0x19232d++){const _0xd71199={...(_0x395f96=(_0x53a689=_0x5abc58[_0x12c239(0x329)])==null?void 0x0:_0x53a689[_0x124629])==null?void 0x0:_0x395f96[_0x19232d]};let _0x40f674;_0x2bf935[_0x12c239(0x26f)][_0x124629][_0x12c239(0x37c)]?_0x40f674=_0x2bf935[_0x12c239(0x26f)][_0x124629][_0x12c239(0x1bf)]===0x0?_0x3fbf77[_0x12c239(0x23c)]:_0x3fbf77[_0x12c239(0x1e6)]:_0x40f674=_0x3fbf77[_0x12c239(0x3e2)];const _0x58e7d0=_0x2bf935[_0x12c239(0x26f)][_0x124629]['valueIndex'],_0x267b49=_0x1de94f[_0x12c239(0x26f)][_0x19232d][_0x12c239(0x424)],_0x1f76cb=Math['max'](_0x58e7d0,_0x267b49),_0x39ceb7=_0x2f101[_0x12c239(0x3fa)][_0x12c239(0x40b)][_0x12c239(0x3dc)]();let _0x58ad88='';_0x1f76cb<0x0?_0x58ad88=(_0x1a4522=_0x39ceb7[0x0])!=null?_0x1a4522:'':_0x58ad88=(_0x107215=_0x39ceb7[_0x1f76cb])!=null?_0x107215:'';const _0x4b5489=_0x1dbc11[_0x58ad88];_0x4b5489&&(_0x40f674={..._0x40f674,'n':{'pattern':_0x4b5489}}),_0x3ca06d[_0x12c239(0x186)](_0x124629+_0x5cf61a,_0x19232d+_0x717917,_0x4515a0(_0xb1d464,_0xd71199,_0x40f674));}return{'valueMatrix':_0x3ca06d,'rowInfo':_0x136400,'colInfo':_0x29c76d,'cornerInfo':_0x22fe8e,'rowHeaderMap':_0xcc99d6,'colHeaderMap':_0x94b464};};function _0x5ed7cf(_0x264ad0,_0x2a2974,_0x52098d,_0x1fee39){const _0x53f80c=_0x308732;let _0x13ada5=_0x264ad0['v'];_0x2a2974&&(_0x13ada5=''+_0x1fee39['sheets-pivot.value']);const _0x2934f6=_0x264ad0['t']&&(_0x264ad0['t']&_0x141cc9[_0x53f80c(0x36a)][_0x53f80c(0x1ee)])>0x0;if(_0x2934f6&&(_0x13ada5=''+_0x1fee39[_0x53f80c(0x1b1)]),_0x264ad0['s']===_0x141cc9['PivotCellStyleTypeEnum'][_0x53f80c(0x37b)]){let _0x4345ad=_0x13ada5,_0x4d68fd='';_0x141cc9[_0x53f80c(0x387)](_0x13ada5)&&(_0x4345ad=_0x13ada5[_0x53f80c(0x1a1)],_0x4d68fd=_0x13ada5[_0x53f80c(0x183)]);const _0x564b22=_0x52098d&&!_0x2934f6?_0x4cef4c[_0x53f80c(0x257)][_0x53f80c(0x25f)](_0x52098d,Number(_0x4345ad)):_0x4345ad;_0x4d68fd?_0x13ada5=_0x564b22+'\x20'+_0x4d68fd:_0x13ada5=_0x564b22+'\x20'+_0x1fee39[_0x53f80c(0x372)];}else _0x264ad0['s']===_0x141cc9[_0x53f80c(0x2fc)]['GrandTotal']&&(_0x13ada5=_0x13ada5+'\x20'+_0x1fee39[_0x53f80c(0x3ad)]);return _0x13ada5;}function _0x32826e(_0xacc4cd){const _0x45688f=_0x308732;if(_0x141cc9[_0x45688f(0x451)](_0xacc4cd)){const {errorType:_0x5f3683}=_0xacc4cd;switch(_0x5f3683){case _0x141cc9[_0x45688f(0x1f1)][_0x45688f(0x20e)]:return _0x1c9972[_0x45688f(0x190)][_0x45688f(0x226)];case _0x141cc9[_0x45688f(0x1f1)][_0x45688f(0x1d8)]:return _0x1c9972['ErrorType']['NUM'];case _0x141cc9['PivotErrorTypeEnum']['NotFunction']:return _0x1c9972[_0x45688f(0x190)][_0x45688f(0x1cf)];case _0x141cc9[_0x45688f(0x1f1)][_0x45688f(0x341)]:return _0x1c9972[_0x45688f(0x190)]['NAME'];case _0x141cc9[_0x45688f(0x1f1)]['BadReference']:return _0x1c9972[_0x45688f(0x190)][_0x45688f(0x27f)];}}return _0xacc4cd;}function _0x1ac2c6(_0x1e1dda,_0x3b2d70,_0x210633=!0x1,_0x39e024=!0x1){const _0x22584e=_0x308732,{data:_0x413b0d}=_0x3b2d70,_0x3275e7=_0x3b2d70[_0x22584e(0x422)](),_0x1b6222=_0x3b2d70[_0x22584e(0x3b9)]();if(_0x3275e7<=0x0||_0x1b6222<=0x0)return[];const _0x31f902=_0x3b2d70['getLastCol'](),_0x4fe5cc=_0x3b2d70[_0x22584e(0x35a)](),_0x31b355=_0x39e024?_0x4fe5cc>=0x0?_0x4fe5cc+0x1:0x0:_0x3275e7,_0x9135a0=_0x39e024?_0x31f902>=0x0?_0x31f902+0x1:0x0:_0x1b6222,{row:_0x207157,col:_0x4e0b8f}=_0x1e1dda,_0x1b0756=_0x207157,_0x3aa35a=_0x4e0b8f;if(_0x210633){const _0x1d98ce=[];for(const [_0x2574d5,_0x42c2b0]of Object[_0x22584e(0x2fe)](_0x413b0d))for(const [_0x5d28e4,_0x48286e]of Object[_0x22584e(0x2fe)](_0x42c2b0))_0x1d98ce['push'](_0x4cef4c['cellToRange'](_0x1b0756+Number(_0x2574d5),_0x3aa35a+Number(_0x5d28e4)));return _0x1d98ce;}else{const _0x4b21c8=_0x39e024?_0x31b355>0x0?0x1:0x0:0x1,_0x52882d=_0x39e024?_0x9135a0>0x0?0x1:0x0:0x1,_0x54a5c1=_0x207157+_0x31b355-_0x4b21c8,_0x58d56e=_0x4e0b8f+_0x9135a0-_0x52882d;return[{'startRow':_0x1b0756,'startColumn':_0x3aa35a,'endRow':_0x54a5c1,'endColumn':_0x58d56e}];}}const _0x4001cc='SHEET_PIVOT_IN_MAIN_THREAD',_0x4aefdf=_0x308732(0x294);var _0x16fd81=(_0x5dd32c=>(_0x5dd32c[_0x308732(0x202)]='filter',_0x5dd32c[_0x308732(0x45a)]='panel',_0x5dd32c['AddPivotField']=_0x308732(0x31a),_0x5dd32c['AddPivotTableWithConfig']=_0x308732(0x340),_0x5dd32c['AddPivotTable']=_0x308732(0x2b6),_0x5dd32c[_0x308732(0x1a4)]='movePivotField',_0x5dd32c[_0x308732(0x1c0)]=_0x308732(0x333),_0x5dd32c['SetPivotCollapse']=_0x308732(0x292),_0x5dd32c[_0x308732(0x40c)]=_0x308732(0x230),_0x5dd32c[_0x308732(0x2ec)]='setPivotSort',_0x5dd32c[_0x308732(0x433)]=_0x308732(0x2ef),_0x5dd32c[_0x308732(0x2c9)]=_0x308732(0x1be),_0x5dd32c[_0x308732(0x2a9)]=_0x308732(0x2ca),_0x5dd32c[_0x308732(0x368)]='drillDown',_0x5dd32c[_0x308732(0x19b)]=_0x308732(0x2aa),_0x5dd32c[_0x308732(0x381)]=_0x308732(0x30c),_0x5dd32c['ResetPivotTable']='resetPivotTable',_0x5dd32c))(_0x16fd81||{});const _0x465182={'sheets-pivot.blankValue':_0x308732(0x3a7),'sheets-pivot.columnName':_0x308732(0x306),'sheets-pivot.subTotalText':_0x308732(0x41b),'sheets-pivot.grandTotalText':_0x308732(0x428),'sheets-pivot.valueText':'Value','sheets-pivot.averageName':_0x308732(0x3d8),'sheets-pivot.countName':_0x308732(0x1e4),'sheets-pivot.countNumsName':_0x308732(0x1e4),'sheets-pivot.maxName':_0x308732(0x38d),'sheets-pivot.minName':_0x308732(0x41a),'sheets-pivot.productName':_0x308732(0x2f4),'sheets-pivot.stdDevName':_0x308732(0x273),'sheets-pivot.stdDevpName':_0x308732(0x233),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0x308732(0x3eb),'sheets-pivot.varpName':_0x308732(0x32f),'sheets-pivot.subTotal':_0x308732(0x37b),'sheets-pivot.grandTotal':_0x308732(0x428),'sheets-pivot.value':'value','sheets-pivot.blank':_0x308732(0x1ee),'sheets-pivot.emptyPivot.filter':_0x308732(0x202),'sheets-pivot.emptyPivot.row':_0x308732(0x355),'sheets-pivot.emptyPivot.column':_0x308732(0x268),'sheets-pivot.emptyPivot.values':_0x308732(0x1b7)},_0x332cb7={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x2f89b0=_0x4cef4c[_0x308732(0x1af)](_0x308732(0x394)),_0x5a5358=_0x4cef4c['createInterceptorKey'](_0x308732(0x3b8));var _0x4291f5=(_0xda128e=>(_0xda128e[_0x308732(0x20a)]=_0x308732(0x20a),_0xda128e['delete']='delete',_0xda128e[_0x308732(0x436)]='update',_0xda128e))(_0x4291f5||{}),_0x171aea=(_0x4f9e77=>(_0x4f9e77[_0x308732(0x1e1)]=_0x308732(0x20a),_0x4f9e77[_0x308732(0x454)]='set',_0x4f9e77[_0x308732(0x390)]='delete',_0x4f9e77))(_0x171aea||{});const _0x20425a={0x0:'A',0x1:'i',0x2:'q',0x3:'O',0x4:'f',0x5:'y',0x6:'n',0x7:'k',0x8:'D',0x9:'Q','Z':'0','x':'1','M':'2','w':'3','u':'4','I':'5','n':'6','T':'7','Q':'8','X':'9','A':'a','q':'b','o':'c','h':'d','g':'e','k':'g','N':'h','H':'j','S':'l','W':'m','P':'o','L':'p','J':'r','V':'s','p':'t','r':'u','Y':'v','m':'w','l':'x','G':'z','F':'B','C':'C','c':'E','R':'F','a':'G','f':'H','b':'I','v':'J','t':'K','E':'L','y':'M','z':'N','d':'P','s':'R','D':'S','B':'T','U':'U','e':'V','j':'W','K':'X','i':'Y','O':'Z'},_0x37d50f=_0x308732(0x1d0),_0x569cf1={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':_0x308732(0x432),'handler':()=>!0x0},_0x4ecfdc={'type':_0x4cef4c['CommandType'][_0x308732(0x2e8)],'id':'sheet.mutation.send-pivot-data-local','handler':()=>!0x0},_0x2ad196={'type':_0x4cef4c['CommandType'][_0x308732(0x2e8)],'id':_0x308732(0x1dd),'handler':()=>!0x0},_0xf8025f={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':_0x308732(0x1f5),'handler':()=>!0x0},_0x1b21fb={'type':_0x4cef4c['CommandType'][_0x308732(0x2e8)],'id':'sheet.mutation.send-init-pivot-text-local','handler':()=>!0x0},_0xde0f0b=_0x557ecd=>{const _0x255df=_0x308732;var _0x23cb99;return((_0x23cb99=_0x557ecd[_0x255df(0x24e)])==null?void 0x0:_0x23cb99[_0x255df(0x1ca)][_0x255df(0x245)](/\r\n$/,''))||'';};class _0x4835b4 extends _0x141cc9[_0x308732(0x2df)]{constructor(_0x17f8e1,_0x589d0c){const _0x398cc3=_0x308732;super(),_0x4b363f(this,_0x398cc3(0x267),{}),_0x4b363f(this,_0x398cc3(0x2eb)),_0x4b363f(this,'_host'),(this['_univerInstanceService']=_0x589d0c,this[_0x398cc3(0x33c)]=_0x17f8e1);}[_0x308732(0x3b0)](){const _0x39286b=_0x308732;for(const _0x97dcc4 in this[_0x39286b(0x1e8)]){const _0x1b74d0=this[_0x39286b(0x1e8)][_0x97dcc4],_0x5c7097=_0x1b74d0[_0x39286b(0x3d9)]();this['rangeKeyMap'][_0x5c7097]=_0x1b74d0[_0x39286b(0x450)]();}}[_0x308732(0x293)](){const _0x147042=_0x308732,_0x71376d=this[_0x147042(0x33c)];return _0x4b0819[_0x147042(0x310)](_0x71376d);}[_0x308732(0x191)](_0x21fbd3){const _0x7988a4=_0x308732,_0x1c5e72=this[_0x7988a4(0x1e8)][_0x21fbd3][_0x7988a4(0x36f)];delete this[_0x7988a4(0x1e8)][_0x21fbd3],delete this[_0x7988a4(0x267)][_0x1c5e72];}[_0x308732(0x3fc)](_0x1dd99f){const _0x26ab11=_0x308732;var _0xf0f9f7,_0x51c733;const _0xf41c23=this[_0x26ab11(0x33c)]['getTargetByPivotId'](_0x1dd99f);if(_0xf41c23){const {unitId:_0x1fedf7,subUnitId:_0x3e7146}=_0xf41c23,_0x53108a=(_0xf0f9f7=this[_0x26ab11(0x33c)][_0x26ab11(0x332)](_0x1fedf7,_0x3e7146,_0x1dd99f))==null?void 0x0:_0xf0f9f7['sourceRangeInfo'];this['_host']['broadcastCollectionChange']({'token':_0x1dd99f,'type':_0x4291f5[_0x26ab11(0x1b9)],'dataRangeInfo':_0x53108a});}(_0x51c733=this[_0x26ab11(0x3a4)](_0x1dd99f))==null||_0x51c733[_0x26ab11(0x231)](),delete this[_0x26ab11(0x3ca)][_0x1dd99f];}[_0x308732(0x3d9)](_0xd3a037,_0x175e84){const _0x1e19b0=_0x308732,{sheetName:_0x4e428e,unitId:_0x2584f0,range:_0x256030}=_0xd3a037,{startRow:_0x40bd14,endRow:_0x4e83bb}=_0x256030;return _0x1c9972[_0x1e19b0(0x31c)](_0x2584f0,_0x4e428e,{'startRow':_0x40bd14,'endRow':_0x4e83bb,'startColumn':_0x175e84,'endColumn':_0x175e84});}[_0x308732(0x255)](_0x4f8dfb){const _0x1ff378=_0x308732;return this[_0x1ff378(0x1e8)][this[_0x1ff378(0x267)][_0x4f8dfb]];}[_0x308732(0x3d3)](_0x3244db,_0x3e8cd4){const _0x20c87e=_0x308732;this[_0x20c87e(0x267)][_0x3244db]=_0x3e8cd4;}[_0x308732(0x2af)](_0x19bb40,_0x465c59){const _0x2333ff=_0x308732;this[_0x2333ff(0x267)][_0x465c59]=this[_0x2333ff(0x267)][_0x19bb40],delete this['rangeKeyMap'][_0x19bb40];}[_0x308732(0x25e)](_0x290659,_0x414c75,_0x929b77,_0x4b405b){const _0x26b94b=_0x308732,_0x5be8e4=new _0x141cc9['FieldsCollection'](this);_0x5be8e4[_0x26b94b(0x2d4)](_0x414c75);const _0x4c442a=[];let _0x48d882=0x0;for(const _0x37e86b of _0x5be8e4[_0x26b94b(0x187)]){const _0x35c00c=this[_0x26b94b(0x3d9)](_0x929b77,_0x48d882),_0x2f094b=this['dataFields'][_0x37e86b];_0x2f094b&&(_0x2f094b[_0x26b94b(0x36f)]=_0x35c00c,this[_0x26b94b(0x3d3)](_0x35c00c,_0x37e86b),_0x4c442a[_0x26b94b(0x411)]({'index':_0x48d882,'dataField':_0x2f094b})),_0x48d882++;}return this[_0x26b94b(0x423)](_0x290659,_0x5be8e4,_0x929b77,_0x4b405b),{'collection':_0x5be8e4,'updateDataFieldList':_0x4c442a};}[_0x308732(0x279)](_0x50ae10,_0x4244f1){const _0x140124=_0x308732;return _0x50ae10[_0x140124(0x45e)]===_0x4cef4c[_0x140124(0x2a0)][_0x140124(0x322)]?{'startRow':0x0,'startColumn':_0x50ae10[_0x140124(0x28d)],'endRow':_0x4244f1[_0x140124(0x422)]()-0x1,'endColumn':_0x50ae10[_0x140124(0x2e4)]}:{'startRow':_0x50ae10[_0x140124(0x24c)],'startColumn':_0x50ae10['startColumn'],'endRow':_0x50ae10['endRow'],'endColumn':_0x50ae10['endColumn']};}[_0x308732(0x265)](_0x2f71d3){const _0x2fa3fe=_0x308732,{sheetName:_0x5196f6,range:_0x3281fb}=_0x2f71d3,_0x4230e3=this[_0x2fa3fe(0x2eb)][_0x2fa3fe(0x349)](_0x4cef4c[_0x2fa3fe(0x25d)][_0x2fa3fe(0x262)]),_0x5de121=_0x4230e3['getSheetBySheetName'](_0x5196f6),_0x4afcb0=_0x5de121[_0x2fa3fe(0x3b1)](),{startColumn:_0x3bdace,startRow:_0x1fdd52,endColumn:_0x1b72ec}=this[_0x2fa3fe(0x279)](_0x3281fb,_0x5de121),_0x4adaa9=_0x4230e3[_0x2fa3fe(0x347)](),_0x4024a4=new _0x141cc9[(_0x2fa3fe(0x2ff))](this);_0x4024a4[_0x2fa3fe(0x41f)](_0x2f71d3);const _0x81b9f4=[],_0x35502c={};for(let _0x3f22f0=_0x3bdace;_0x3f22f0<=_0x1b72ec;_0x3f22f0++){const _0x59321e=_0x4afcb0[_0x2fa3fe(0x2f2)](_0x1fdd52,_0x3f22f0),_0x4174bb=this[_0x2fa3fe(0x3d9)](_0x2f71d3,_0x3f22f0),_0x30e8a6=this['getDataFieldByRangeKey'](_0x4174bb);if(_0x30e8a6)_0x4024a4[_0x2fa3fe(0x3ce)](_0x30e8a6[_0x2fa3fe(0x450)](),_0x30e8a6['getName']());else{const _0x5ed934=this[_0x2fa3fe(0x25b)]();let _0x41d4a0=this[_0x2fa3fe(0x28b)](_0x59321e,_0x4adaa9,_0x35502c);_0x141cc9['isDateValue'](_0x41d4a0)&&(_0x41d4a0=_0x4cef4c['numfmt']['format'](_0x41d4a0['f'],Number(_0x41d4a0['v'])));const _0x3812e4=this[_0x2fa3fe(0x3aa)](_0x41d4a0,_0x3f22f0),_0x52a483=new _0x141cc9[(_0x2fa3fe(0x2ab))](_0x5ed934,_0x3812e4,_0x141cc9[_0x2fa3fe(0x336)](0x3));_0x52a483[_0x2fa3fe(0x36f)]=_0x4174bb,this[_0x2fa3fe(0x1e8)][_0x5ed934]=_0x52a483,_0x4024a4[_0x2fa3fe(0x3ce)](_0x5ed934,_0x3812e4),_0x81b9f4[_0x2fa3fe(0x411)]({'index':_0x3f22f0,'dataField':_0x52a483});}}return{'updateDataFieldList':_0x81b9f4,'collection':_0x4024a4};}['_getAutoName'](_0x3ab595){const _0x466b36=_0x308732;return this[_0x466b36(0x33c)]['getTextInfo']()['sheets-pivot.columnName']+'\x20'+_0x4cef4c['numberToABC'](_0x3ab595);}['uniqueDataFieldName'](_0x52e09e,_0x2cd3ca){return _0x52e09e==null||_0x52e09e===''?this['_getAutoName'](_0x2cd3ca):String(_0x52e09e);}['getCollection'](_0x531db9){const _0x59acb4=_0x308732;return this[_0x59acb4(0x3ca)][_0x531db9];}[_0x308732(0x423)](_0x3c00ea,_0x393819,_0x3b1d8f,_0x5ed751){const _0x112ff0=_0x308732;this['collections'][_0x3c00ea]=_0x393819,_0x393819['setRange'](_0x3b1d8f),this[_0x112ff0(0x33c)][_0x112ff0(0x283)]({'token':_0x3c00ea,'type':_0x4291f5[_0x112ff0(0x20a)],'dataRangeInfo':_0x3b1d8f,'targetCellInfo':_0x5ed751});}[_0x308732(0x259)](_0x39d4bb,_0x46d629){const _0x9bfa1a=_0x308732,_0x163cc0=this[_0x9bfa1a(0x3a4)](_0x39d4bb),_0x1c2554=_0x163cc0['getFieldIds']();let _0x5d9294=0x0;for(const _0x49dd66 of _0x1c2554){const _0x515078=_0x163cc0['getFieldById'](_0x49dd66),_0x5b3325=this[_0x9bfa1a(0x3d9)](_0x46d629,_0x5d9294);this[_0x9bfa1a(0x2af)](_0x515078[_0x9bfa1a(0x36f)],_0x5b3325),_0x5d9294++;}}[_0x308732(0x17e)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0xfdf60e,_0x4da8ac){const _0x495747=_0x308732;if(this['getCollection'](_0xfdf60e)){const _0x1a2216=this[_0x495747(0x435)](_0x4da8ac),_0xd98c4=[];for(const _0x385109 of _0x1a2216)this[_0x495747(0x267)][_0x385109]!==void 0x0&&_0xd98c4[_0x495747(0x411)](this[_0x495747(0x267)][_0x385109]);const _0x301ee1=this[_0x495747(0x28a)](_0xfdf60e),_0x42c2cd=[],_0x4b563f=new Set(_0xd98c4);for(const _0x160d87 of _0x301ee1)_0x4b563f[_0x495747(0x223)](_0x160d87)||_0x42c2cd[_0x495747(0x411)](_0x160d87);return _0x42c2cd;}}['getMatrixValue'](_0x4f5daa,_0x224b20,_0xd6d21d,_0x130757,_0x477461){const _0x5f6b9=_0x308732;return _0x224b20&&_0x224b20[_0x5f6b9(0x2f2)](_0x130757,_0x477461)?_0x224b20[_0x5f6b9(0x2f2)](_0x130757,_0x477461):_0xd6d21d&&_0xd6d21d['getValue'](_0x130757,_0x477461)?_0xd6d21d[_0x5f6b9(0x2f2)](_0x130757,_0x477461):_0x4f5daa[_0x5f6b9(0x2f2)](_0x130757,_0x477461);}[_0x308732(0x359)](_0x6f5a6f,_0x116eba,_0x2e7915,_0x4e3488){const _0x30c1f9=_0x308732,_0x376935=this[_0x30c1f9(0x1e8)][_0x6f5a6f];if(!_0x376935)return;const {subUnitId:_0x334374,range:_0xb46885,unitId:_0x2d4109}=_0x116eba,_0x564130=this[_0x30c1f9(0x2eb)][_0x30c1f9(0x225)](_0x2d4109);if(!_0x564130){console[_0x30c1f9(0x40a)]('workbook\x20is\x20not\x20found');return;}const _0x141871=_0x564130['getSheetBySheetId'](_0x334374),_0x3d0a91=_0x141871[_0x30c1f9(0x3b1)](),{arrayFormulaCellDataMatrix:_0x1fa6fe,unitDataMatrix:_0x40d4b8}=_0x4e3488||{},{startRow:_0x5d9ca8,startColumn:_0x1b4e4c,endRow:_0x235709}=this[_0x30c1f9(0x279)](_0xb46885,_0x141871);_0x376935[_0x30c1f9(0x443)]();const _0x3353c5=_0x564130[_0x30c1f9(0x347)](),_0x56b03c={},_0x28a2cc=this['getMatrixValue'](_0x3d0a91,_0x1fa6fe,_0x40d4b8,_0x5d9ca8,_0x1b4e4c+_0x2e7915);let _0x210a8a=this['adjustSheetCellData'](_0x28a2cc,_0x3353c5,_0x56b03c);_0x141cc9[_0x30c1f9(0x419)](_0x210a8a)&&(_0x210a8a=_0x4cef4c[_0x30c1f9(0x257)][_0x30c1f9(0x25f)](_0x210a8a['f'],Number(_0x210a8a['v'])));const _0x4140e6=this[_0x30c1f9(0x3aa)](_0x210a8a,_0x1b4e4c+_0x2e7915);_0x376935['setName'](_0x4140e6);for(let _0x2a760a=_0x5d9ca8+0x1;_0x2a760a<=_0x235709;_0x2a760a++){const _0x33c86f=this[_0x30c1f9(0x3b6)](_0x3d0a91,_0x1fa6fe,_0x40d4b8,_0x2a760a,_0x1b4e4c+_0x2e7915);_0x376935[_0x30c1f9(0x3c6)](this[_0x30c1f9(0x28b)](_0x33c86f,_0x3353c5,_0x56b03c),_0x2a760a-0x1-_0x5d9ca8);}}['refreshData'](_0x59d8a6,_0x20f9f0,_0x4399d2){const _0x55553d=_0x308732,{subUnitId:_0x260b24,range:_0x45923d,unitId:_0x3a73b9}=_0x4399d2,_0x3ef1c2=this['_univerInstanceService']['getUnit'](_0x3a73b9);if(!_0x3ef1c2){console[_0x55553d(0x40a)](_0x55553d(0x378));return;}const _0x277f2d=_0x3ef1c2['getSheetBySheetId'](_0x260b24),_0x152ed9=_0x277f2d['getCellMatrix'](),{startRow:_0x195040,startColumn:_0x2e9dc6,endRow:_0x403649}=this[_0x55553d(0x279)](_0x45923d,_0x277f2d),_0x3bf33e=_0x3ef1c2[_0x55553d(0x347)](),_0x4d4a1a={};for(const {dataField:_0x58ba42,index:_0x13c263}of _0x20f9f0){_0x58ba42[_0x55553d(0x443)]();const _0x453478=this['getMatrixValue'](_0x152ed9,void 0x0,void 0x0,_0x195040,_0x2e9dc6+_0x13c263);let _0xf41e98=this['adjustSheetCellData'](_0x453478,_0x3bf33e,_0x4d4a1a);_0x141cc9[_0x55553d(0x419)](_0xf41e98)&&(_0xf41e98=_0x4cef4c['numfmt'][_0x55553d(0x25f)](_0xf41e98['f'],Number(_0xf41e98['v'])));const _0x4a8841=this[_0x55553d(0x3aa)](_0xf41e98,_0x2e9dc6+_0x13c263);_0x58ba42[_0x55553d(0x2ed)](_0x4a8841);}_0x59d8a6['updateAllDisplayName']();for(let _0x58535c=_0x195040+0x1;_0x58535c<=_0x403649;_0x58535c++)for(const {index:_0x595bdf,dataField:_0x536468}of _0x20f9f0){const _0x258ddb=_0x152ed9[_0x55553d(0x2f2)](_0x58535c,_0x2e9dc6+_0x595bdf);_0x536468['addRecord'](this[_0x55553d(0x28b)](_0x258ddb,_0x3bf33e,_0x4d4a1a),_0x58535c-0x1-_0x195040);}_0x59d8a6[_0x55553d(0x30b)](_0x403649-_0x195040);}[_0x308732(0x435)](_0x1c780e){const _0x27b0ff=_0x308732,{range:_0x13c987}=_0x1c780e,{startColumn:_0x572150,endColumn:_0x4bd3a6}=_0x13c987,_0xa15088=[];for(let _0x17bbe8=_0x572150;_0x17bbe8<=_0x4bd3a6;_0x17bbe8++)_0xa15088[_0x27b0ff(0x411)](this[_0x27b0ff(0x3d9)](_0x1c780e,_0x17bbe8));return _0xa15088;}['adjustSheetCellData'](_0x2a0469,_0x299f1f,_0xd7d12d){const _0x9079d3=_0x308732;if(_0x2a0469){const {s:_0x1ed8ac,v:_0x4d45cf,t:_0x2b89b6,p:_0x227d53}=_0x2a0469;if(_0x227d53)return _0xde0f0b(_0x227d53);const _0x4ea858=_0x299f1f[_0x9079d3(0x1d2)](_0x1ed8ac);if(_0x4ea858&&_0x2b89b6===_0x4cef4c[_0x9079d3(0x45b)][_0x9079d3(0x198)]&&_0x4ea858['n']){const {pattern:_0x2b9269}=_0x4ea858['n'];_0xd7d12d[_0x2b9269]||(_0xd7d12d[_0x2b9269]=_0x4cef4c[_0x9079d3(0x257)][_0x9079d3(0x2ee)](_0x2b9269));const _0x464e08=_0xd7d12d[_0x2b9269],_0x25869c=_0x464e08['isDate'];if(_0x464e08[_0x9079d3(0x361)])return String(_0x4d45cf);if(_0x25869c)return{'v':_0x4d45cf,'f':_0x2b9269};}if(_0x2b89b6===_0x4cef4c[_0x9079d3(0x45b)][_0x9079d3(0x198)])return Number(_0x4d45cf);if(_0x2b89b6===_0x4cef4c[_0x9079d3(0x45b)]['STRING']||_0x2b89b6===_0x4cef4c[_0x9079d3(0x45b)][_0x9079d3(0x272)])return String(_0x4d45cf);if(_0x2b89b6===void 0x0){const _0xa22a9f=Number(_0x4d45cf);if(!Number['isNaN'](_0xa22a9f)&&String(_0xa22a9f)===_0x4d45cf)return _0xa22a9f;}return _0x4d45cf!=null?_0x4d45cf:null;}else return null;}[_0x308732(0x26a)](_0x396f34){const _0x233ffb=_0x308732,{sheetName:_0x3f3f05,range:_0x224edc,unitId:_0x50f18c}=_0x396f34,_0x35e532=this[_0x233ffb(0x2eb)][_0x233ffb(0x225)](_0x50f18c);if(!_0x35e532)return console[_0x233ffb(0x40a)](_0x233ffb(0x378)),{'header':[],'data':[]};const _0x45079a=_0x35e532[_0x233ffb(0x3f2)](_0x3f3f05),_0x2e290e=_0x45079a[_0x233ffb(0x3b1)](),{startRow:_0x2d3c15,startColumn:_0x5ee0d5,endRow:_0x55ee01,endColumn:_0x1fe8f4}=this['getRangeStartEndInfo'](_0x224edc,_0x45079a),_0x2b6b46=_0x35e532[_0x233ffb(0x347)](),_0x52b2e5=[],_0x4aff92=[],_0x2d7ee0={};for(let _0x1e4203=_0x2d3c15;_0x1e4203<=_0x55ee01;_0x1e4203++){const _0x113e6c=[];for(let _0x35f561=_0x5ee0d5;_0x35f561<=_0x1fe8f4;_0x35f561++){const _0x16f79c=_0x2e290e[_0x233ffb(0x2f2)](_0x1e4203,_0x35f561);_0x1e4203===_0x2d3c15?_0x52b2e5[_0x233ffb(0x411)](_0x16f79c==null?null:String(_0x16f79c['v'])):_0x113e6c[_0x233ffb(0x411)](this[_0x233ffb(0x28b)](_0x16f79c,_0x2b6b46,_0x2d7ee0));}_0x4aff92['push'](_0x113e6c);}return{'header':_0x52b2e5,'data':_0x4aff92};}[_0x308732(0x22d)](){return super['toJSON']();}[_0x308732(0x2d4)](_0x1b8bf4){const _0x6285f7=_0x308732;super[_0x6285f7(0x2d4)](_0x1b8bf4),this['initDataRanges']();}[_0x308732(0x231)](){const _0x4d8aab=_0x308732;super[_0x4d8aab(0x231)](),this[_0x4d8aab(0x267)]={},this['_host']=null;}}const _0x2664a5=_0x436896=>{const _0x176e28=_0x308732,{targetCellInfo:_0x5153b6}=_0x436896,{matrixCache:_0xbc8d4a,rangesCache:_0xdef89f}=_0x33463f({'filter':_0x176e28(0x202),'row':_0x176e28(0x355),'column':_0x176e28(0x268),'values':_0x176e28(0x1b7)},_0x5153b6),_0x36c213=new _0x4cef4c[(_0x176e28(0x3de))]();return _0xbc8d4a[_0x176e28(0x32d)]((_0x5bf3d6,_0x12726e,_0x58e5ee)=>{const _0x5d6741=_0x176e28;_0x36c213[_0x5d6741(0x186)](_0x5bf3d6,_0x12726e,_0x58e5ee);}),{'matrix':_0x36c213,'rangesCache':_0xdef89f};},_0xc2f7a8=_0x452ac7=>{const _0x424965=_0x308732;let _0x9fe754;if(_0x452ac7!=null&&_0x452ac7['v']||(_0x452ac7==null?void 0x0:_0x452ac7['v'])===0x0){_0x9fe754||(_0x9fe754={});const _0x54820e=_0x32826e(_0x452ac7['v']);typeof _0x54820e==_0x424965(0x353)?_0x9fe754['t']=_0x4cef4c[_0x424965(0x45b)][_0x424965(0x198)]:typeof _0x54820e==_0x424965(0x382)&&(_0x9fe754['t']=_0x4cef4c[_0x424965(0x45b)][_0x424965(0x417)]),_0x9fe754['v']=_0x54820e;}return _0x9fe754;},_0x390d79=(_0x3e5e20,_0x465622,_0x1a66da)=>{const _0x30303c=_0x308732;var _0x3444c4,_0xf32b7,_0x1edcef,_0x106aaa,_0x1fb404,_0x5c39d9,_0x408cb6,_0x123e71,_0x2448ac,_0x5d1d91,_0xc39513,_0x56b8c9;const {cornerView:_0x1968a7,rowView:_0x3c30dd,colView:_0xd80eda,dataView:_0x101b9a,pageView:_0x5ad965,formatMap:_0x460bd3}=_0x3e5e20,{row:_0x2e0f0a,col:_0x1df136}=_0x465622,_0x3c9378=new _0x4cef4c[(_0x30303c(0x3de))]();let _0xcf8765=_0x2e0f0a,_0x3137df=_0x1df136;Object['keys'](_0x5ad965['data'])[_0x30303c(0x396)](_0x5e9170=>{const _0x16f101=_0x30303c;Object[_0x16f101(0x263)](_0x5ad965[_0x16f101(0x329)][Number(_0x5e9170)])['forEach'](_0x7846ce=>{const _0x3fc29f=_0x16f101,_0x25428a={..._0x5ad965[_0x3fc29f(0x329)][Number(_0x5e9170)][Number(_0x7846ce)]};_0x3c9378[_0x3fc29f(0x186)](Number(_0x5e9170)+_0xcf8765,Number(_0x7846ce)+_0x3137df,_0xc2f7a8(_0x25428a));});});const _0x2053c9=Object['keys'](_0x5ad965[_0x30303c(0x329)])[_0x30303c(0x1bd)];_0xcf8765+=_0x2053c9+(_0x2053c9?_0x2d1a4a:0x0);const _0x4ec318=_0x1968a7[_0x30303c(0x422)](),_0x6136ef=_0x1968a7[_0x30303c(0x3b9)]();for(let _0x485330=0x0;_0x485330<_0x4ec318;_0x485330++)for(let _0x26217b=0x0;_0x26217b<_0x6136ef;_0x26217b++){const _0x45be10={...(_0xf32b7=(_0x3444c4=_0x1968a7[_0x30303c(0x329)])==null?void 0x0:_0x3444c4[_0x485330])==null?void 0x0:_0xf32b7[_0x26217b]};_0x45be10&&((_0x1edcef=_0x3c30dd[_0x30303c(0x2e3)][_0x26217b])!=null&&_0x1edcef[_0x30303c(0x1ff)])&&_0x26217b===_0x6136ef-0x1&&_0x485330===_0x4ec318-0x1&&(_0x45be10['v']=''+_0x1a66da[_0x30303c(0x313)]),_0x3c9378[_0x30303c(0x186)](_0x485330+_0xcf8765,_0x26217b+_0x3137df,_0xc2f7a8(_0x45be10));}_0x3137df+=_0x6136ef;const _0x239dfa=_0xd80eda['headerMap'],_0x595805=_0xd80eda[_0x30303c(0x35a)]()>=0x0?_0xd80eda[_0x30303c(0x35a)]()+0x1:0x0,_0x56d54c=_0xd80eda[_0x30303c(0x36e)]()>=0x0?_0xd80eda[_0x30303c(0x36e)]()+0x1:0x0;for(let _0x16057b=0x0;_0x16057b<_0x56d54c;_0x16057b++)for(let _0x5cfd80=0x0;_0x5cfd80<_0x595805;_0x5cfd80++){const _0x1220ad={...(_0x1fb404=(_0x106aaa=_0xd80eda[_0x30303c(0x329)])==null?void 0x0:_0x106aaa[_0x16057b])==null?void 0x0:_0x1fb404[_0x5cfd80]},_0x138f79=(_0x5c39d9=_0x239dfa[_0x16057b])==null?void 0x0:_0x5c39d9['tableFieldId'],_0x51d62a=_0x460bd3[_0x138f79];_0x1220ad&&(_0x1220ad['v']=_0x5ed7cf(_0x1220ad,_0x16057b===0x0&&((_0x408cb6=_0xd80eda[_0x30303c(0x2f3)](_0x5cfd80+0x1))==null?void 0x0:_0x408cb6[_0x30303c(0x1ff)]),_0x51d62a,_0x1a66da)),_0x3c9378[_0x30303c(0x186)](_0x16057b+_0xcf8765,_0x5cfd80+_0x3137df,_0xc2f7a8(_0x1220ad));}_0xcf8765+=_0x4ec318;const _0x43f11e=_0x3c30dd['headerMap'],_0x2c92c3=_0x3c30dd[_0x30303c(0x35a)]()>=0x0?_0x3c30dd[_0x30303c(0x35a)]()+0x1:0x0,_0x4e95f7=_0x3c30dd[_0x30303c(0x36e)]()>=0x0?_0x3c30dd['getLastCol']()+0x1:0x0;for(let _0x392af6=0x0;_0x392af6<_0x2c92c3;_0x392af6++)for(let _0x5412f5=0x0;_0x5412f5<_0x4e95f7;_0x5412f5++){const _0x2ce1f1={...(_0x2448ac=(_0x123e71=_0x3c30dd['data'])==null?void 0x0:_0x123e71[_0x392af6])==null?void 0x0:_0x2448ac[_0x5412f5]},_0x1239b2=(_0x5d1d91=_0x43f11e[_0x5412f5])==null?void 0x0:_0x5d1d91[_0x30303c(0x32a)],_0x431e35=_0x460bd3[_0x1239b2];_0x2ce1f1&&(_0x2ce1f1['v']=_0x5ed7cf(_0x2ce1f1,!0x1,_0x431e35,_0x1a66da)),_0x3c9378[_0x30303c(0x186)](_0x392af6+_0xcf8765,_0x5412f5+_0x1df136,_0xc2f7a8(_0x2ce1f1));}const _0x2453f8=_0x101b9a[_0x30303c(0x422)](),_0x232915=_0x101b9a['getColCount']();for(let _0x44a4ac=0x0;_0x44a4ac<_0x2453f8;_0x44a4ac++)for(let _0x2b4ca8=0x0;_0x2b4ca8<_0x232915;_0x2b4ca8++){const _0x43ab92={...(_0x56b8c9=(_0xc39513=_0x101b9a['data'])==null?void 0x0:_0xc39513[_0x44a4ac])==null?void 0x0:_0x56b8c9[_0x2b4ca8]};_0x3c9378['setValue'](_0x44a4ac+_0xcf8765,_0x2b4ca8+_0x3137df,_0xc2f7a8(_0x43ab92));}return _0x3c9378;},_0x3737d6=_0x607242=>{const _0x4e946a=_0x308732,{view:_0xb0ada3,targetCellInfo:_0x37eb9a,isEmpty:_0x1c50f4,textInfo:_0x225214}=_0x607242;if(_0x1c50f4)return _0x2664a5(_0x607242);const {pageView:_0x45cf6d,cornerView:_0x28d7cd,rowView:_0x3f3923,colView:_0x1dea44,dataView:_0x780c91}=_0xb0ada3,_0x51b4e5=_0x1ac2c6(_0x37eb9a,_0x45cf6d,!0x0),_0x17239b=_0x45cf6d[_0x4e946a(0x415)]>=0x0?_0x45cf6d[_0x4e946a(0x415)]+0x1:0x0,_0x32d447=_0x28d7cd[_0x4e946a(0x422)](),_0x3c18ad=_0x28d7cd[_0x4e946a(0x3b9)](),_0x485d63=_0x51b4e5[_0x4e946a(0x1bd)]>0x0?_0x2d1a4a:0x0,_0xb4bc3d=_0x1ac2c6({'row':_0x37eb9a[_0x4e946a(0x3ec)]+_0x17239b+_0x485d63,'col':_0x37eb9a[_0x4e946a(0x36d)]},_0x28d7cd,!0x1,!0x1),_0x47d5aa=_0x1ac2c6({'row':_0x37eb9a[_0x4e946a(0x3ec)]+_0x17239b+_0x485d63+_0x32d447,'col':_0x37eb9a[_0x4e946a(0x36d)]},_0x3f3923,!0x1,!0x0),_0x3b60ef=_0x1ac2c6({'row':_0x37eb9a[_0x4e946a(0x3ec)]+_0x17239b+_0x485d63,'col':_0x37eb9a[_0x4e946a(0x36d)]+_0x3c18ad},_0x1dea44,!0x1,!0x0),_0x22113a=_0x1ac2c6({'row':_0x37eb9a[_0x4e946a(0x3ec)]+_0x17239b+_0x485d63+_0x32d447,'col':_0x37eb9a[_0x4e946a(0x36d)]+_0x3c18ad},_0x780c91,!0x1,!0x1),_0x4a387f={'rowRanges':_0x47d5aa,'colRanges':_0x3b60ef,'cornerRanges':_0xb4bc3d,'dataRanges':_0x22113a,'pageRanges':_0x51b4e5};return{'matrix':_0x390d79(_0xb0ada3,_0x37eb9a,_0x225214),'rangesCache':_0x4a387f};};var _0xc877fd=Object[_0x308732(0x456)],_0x1c59ba=(_0x1939e6,_0x403a10,_0x9f96a3,_0x549595)=>{const _0x2eef4f=_0x308732;for(var _0x257d67=_0x549595>0x1?void 0x0:_0x549595?_0xc877fd(_0x403a10,_0x9f96a3):_0x403a10,_0x3dcf76=_0x1939e6[_0x2eef4f(0x1bd)]-0x1,_0x3fa6e6;_0x3dcf76>=0x0;_0x3dcf76--)(_0x3fa6e6=_0x1939e6[_0x3dcf76])&&(_0x257d67=_0x3fa6e6(_0x257d67)||_0x257d67);return _0x257d67;},_0x4524c6=(_0x4caabb,_0x2f7551)=>(_0x23228b,_0xad79b4)=>_0x2f7551(_0x23228b,_0xad79b4,_0x4caabb);_0x11a467[_0x308732(0x2a5)]=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x103d82,_0x4d3245,_0x325f4a,_0x30e4ac,_0x20eda1,_0x2b73b7){const _0x1098ac=_0x308732;super(),_0x4b363f(this,_0x1098ac(0x395),new Map()),_0x4b363f(this,_0x1098ac(0x1e5),new Map()),_0x4b363f(this,_0x1098ac(0x219),new Map()),_0x4b363f(this,_0x1098ac(0x1ce)),_0x4b363f(this,_0x1098ac(0x427),new _0xe61eb6['Subject']()),_0x4b363f(this,_0x1098ac(0x2f1),this[_0x1098ac(0x427)][_0x1098ac(0x24a)]()),_0x4b363f(this,_0x1098ac(0x3b5),new _0xe61eb6[(_0x1098ac(0x2ae))]()),_0x4b363f(this,_0x1098ac(0x34a),this['_viewData$'][_0x1098ac(0x24a)]()),_0x4b363f(this,_0x1098ac(0x2e5),new _0xe61eb6[(_0x1098ac(0x2ae))]()),_0x4b363f(this,_0x1098ac(0x312),this[_0x1098ac(0x2e5)]['asObservable']()),_0x4b363f(this,_0x1098ac(0x33b),new Map()),_0x4b363f(this,_0x1098ac(0x409),[]),_0x4b363f(this,_0x1098ac(0x343),new Map()),(this['_injector']=_0x103d82,this[_0x1098ac(0x2eb)]=_0x4d3245,this[_0x1098ac(0x300)]=_0x325f4a,this[_0x1098ac(0x17d)]=_0x30e4ac,this[_0x1098ac(0x325)]=_0x20eda1,this[_0x1098ac(0x2bc)]=_0x2b73b7,this[_0x1098ac(0x1a9)]());}[_0x308732(0x365)](){const _0x6759f9=_0x308732;return this[_0x6759f9(0x1ce)]?this[_0x6759f9(0x1ce)]:_0x465182;}[_0x308732(0x2e6)](_0x1ee66b){const _0x34953d=_0x308732;this[_0x34953d(0x1ce)]=_0x1ee66b;}[_0x308732(0x259)](_0x1f5cfc){const _0x1efb90=_0x308732;var _0x1775d0;const {from:_0x1ff274,to:_0x567dd9,unitId:_0x23ac8f,fromRange:_0x49ed55,toRange:_0x357dca}=_0x1f5cfc;if(_0x1ff274&&_0x567dd9){const _0x271be5=this[_0x1efb90(0x400)](_0x23ac8f),_0xa1a90b=this[_0x1efb90(0x395)][_0x1efb90(0x1d2)](_0x23ac8f),_0x2a4058=(_0x1775d0=this[_0x1efb90(0x2eb)]['getUnit'](_0x23ac8f))==null?void 0x0:_0x1775d0[_0x1efb90(0x1fc)](_0x567dd9[_0x1efb90(0x2d0)]);if(!_0xa1a90b||!_0x2a4058)return;const _0x5bc097=_0x2a4058==null?void 0x0:_0x2a4058[_0x1efb90(0x392)]();for(const [_0x1ed733,_0x16c554]of _0xa1a90b[_0x1efb90(0x2fe)]())for(const [_0x2de88d,_0x2329a0]of _0x16c554['entries']()){const {sourceRangeInfo:_0x337fb5}=_0x2329a0;if(_0x337fb5[_0x1efb90(0x44f)]===_0x23ac8f&&_0x337fb5[_0x1efb90(0x2d0)]===_0x1ff274[_0x1efb90(0x2d0)]&&_0x4cef4c[_0x1efb90(0x222)][_0x1efb90(0x354)](_0x49ed55,_0x337fb5[_0x1efb90(0x315)])){const _0x284806={'row':_0x337fb5['range']['startRow']-_0x49ed55[_0x1efb90(0x24c)],'col':_0x337fb5[_0x1efb90(0x315)][_0x1efb90(0x28d)]-_0x49ed55[_0x1efb90(0x28d)]},_0x3b9363={'unitId':_0x23ac8f,'subUnitId':_0x567dd9[_0x1efb90(0x2d0)],'sheetName':_0x5bc097,'range':{'startRow':_0x357dca[_0x1efb90(0x24c)]+_0x284806[_0x1efb90(0x3ec)],'endRow':_0x357dca['startRow']+_0x284806['row']+_0x337fb5['range']['endRow']-_0x337fb5[_0x1efb90(0x315)][_0x1efb90(0x24c)],'startColumn':_0x357dca[_0x1efb90(0x28d)]+_0x284806[_0x1efb90(0x36d)],'endColumn':_0x357dca[_0x1efb90(0x28d)]+_0x284806[_0x1efb90(0x36d)]+_0x337fb5[_0x1efb90(0x315)][_0x1efb90(0x2e4)]-_0x337fb5['range']['startColumn']}};_0x271be5[_0x1efb90(0x259)](_0x2de88d,_0x3b9363);const _0x518c90={..._0x2329a0,'sourceRangeInfo':_0x3b9363};this['_updateModelCache'](_0x23ac8f,_0x567dd9['subUnitId'],_0x2de88d,_0x518c90),this[_0x1efb90(0x283)]({'unitId':_0x23ac8f,'token':_0x2de88d,'type':_0x4291f5[_0x1efb90(0x436)],'oldSourceRangeInfo':_0x337fb5,'dataRangeInfo':_0x3b9363,'targetCellInfo':_0x2329a0[_0x1efb90(0x2b1)]}),this[_0x1efb90(0x1c1)]({'unitId':_0x23ac8f,'subUnitId':_0x567dd9[_0x1efb90(0x2d0)],'oldSubUnitId':_0x1ed733,'pivotTableId':_0x2de88d,'pivotTableConfig':_0x518c90,'collectionConfig':_0x271be5[_0x1efb90(0x22d)]()});}}}}[_0x308732(0x283)](_0x311144){const _0x115307=_0x308732;this[_0x115307(0x427)][_0x115307(0x43d)](_0x311144);}[_0x308732(0x400)](_0x6da058){const _0x54439a=_0x308732;let _0x178964=this[_0x54439a(0x33b)]['get'](_0x6da058);return _0x178964||(_0x178964=new _0x4835b4(this,this[_0x54439a(0x2eb)]),this[_0x54439a(0x33b)][_0x54439a(0x3f0)](_0x6da058,_0x178964)),_0x178964;}[_0x308732(0x3a4)](_0x85fd8f,_0x4e4184){const _0x341bf0=_0x308732;return this[_0x341bf0(0x400)](_0x85fd8f)[_0x341bf0(0x3ca)][_0x4e4184];}[_0x308732(0x1de)](_0x49b614,_0x4e6c16,_0xa14c93){const _0x3597a3=_0x308732;return this['getDataFieldManager'](_0x49b614)[_0x3597a3(0x1de)](_0x4e6c16,_0xa14c93);}[_0x308732(0x1a5)](_0x5bd882,_0x253c3e){const _0xe2756a=_0x308732;let _0x12eb40=this[_0xe2756a(0x395)][_0xe2756a(0x1d2)](_0x5bd882);_0x12eb40||(_0x12eb40=new Map(),this[_0xe2756a(0x395)][_0xe2756a(0x3f0)](_0x5bd882,_0x12eb40));let _0x3dd5d0=_0x12eb40[_0xe2756a(0x1d2)](_0x253c3e);return _0x3dd5d0||(_0x3dd5d0=new Map(),_0x12eb40[_0xe2756a(0x3f0)](_0x253c3e,_0x3dd5d0)),_0x3dd5d0;}[_0x308732(0x2c2)](_0x947da1,_0x18622c,_0x471a0d,_0x50a028){const _0x22d523=_0x308732;this['_ensurePivotMap'](_0x947da1,_0x18622c)[_0x22d523(0x3f0)](_0x471a0d,_0x50a028);}[_0x308732(0x3af)](_0x27a307,_0x20e832,_0x22ae95){const _0x5b4d1d=_0x308732;var _0x42aa07,_0x51bb16,_0x3e584f,_0x1c6dc9;((_0x51bb16=(_0x42aa07=this[_0x5b4d1d(0x395)][_0x5b4d1d(0x1d2)](_0x27a307))==null?void 0x0:_0x42aa07[_0x5b4d1d(0x1d2)](_0x20e832))==null?void 0x0:_0x51bb16['get'](_0x22ae95))&&((_0x1c6dc9=(_0x3e584f=this[_0x5b4d1d(0x395)]['get'](_0x27a307))==null?void 0x0:_0x3e584f[_0x5b4d1d(0x1d2)](_0x20e832))==null||_0x1c6dc9[_0x5b4d1d(0x1b9)](_0x22ae95));}['_updatePivotTableInstanceCache'](_0x2ad46b,_0x3fa1f1){const _0x4942f8=_0x308732;this[_0x4942f8(0x1e5)][_0x4942f8(0x3f0)](_0x2ad46b,_0x3fa1f1);}[_0x308732(0x247)](_0x44b52b){const _0x3cbfd2=_0x308732;this[_0x3cbfd2(0x1e5)][_0x3cbfd2(0x1b9)](_0x44b52b);}[_0x308732(0x1c8)](_0x192644,_0x578942){const _0x38f719=_0x308732;let _0x39d5ad=this[_0x38f719(0x219)]['get'](_0x192644);_0x39d5ad||(_0x39d5ad=new Map(),this[_0x38f719(0x219)][_0x38f719(0x3f0)](_0x192644,_0x39d5ad));let _0x3ca69d=_0x39d5ad['get'](_0x578942);return _0x3ca69d||(_0x3ca69d=new Map(),_0x39d5ad[_0x38f719(0x3f0)](_0x578942,_0x3ca69d)),_0x3ca69d;}['updateConfig'](_0x339383){const _0x4066dd=_0x308732,{unitId:_0x26dc41,subUnitId:_0x3538e2,pivotTableId:_0x509c57,pivotTableConfig:_0x2cef7d,collectionConfig:_0x359ca4}=_0x339383,_0x3056ac={'unitId':_0x26dc41,'subUnitId':_0x3538e2,'oldSubUnitId':_0x3538e2,'pivotTableId':_0x509c57,'pivotTableConfig':_0x2cef7d,'collectionConfig':_0x359ca4};this[_0x4066dd(0x325)]['executeCommand'](_0xf8025f['id'],_0x3056ac,{'onlyLocal':!0x0});}[_0x308732(0x3a0)](_0x27f9bc,_0x2d2018,_0x35da56,_0x26e651,_0x4e9e02,_0x3ad69c,_0x45d5aa,_0x20281a=!0x1){const _0x37d0e0=_0x308732;var _0x136a93;this[_0x37d0e0(0x325)][_0x37d0e0(0x1f8)](_0x2ad196['id'],{'single':{'unitId':_0x27f9bc,'subUnitId':_0x2d2018,'type':_0x35da56,'pivotTableId':_0x26e651,'view':_0x4e9e02,'pivotConfig':_0x3ad69c},'collectionConfig':{[_0x27f9bc]:_0x45d5aa}},{'onlyLocal':!0x0});const _0x29cac6=!!((_0x136a93=this[_0x37d0e0(0x203)](_0x26e651))!=null&&_0x136a93[_0x37d0e0(0x327)]()),_0x5bb3bd=this['getPivotTableConfig'](_0x27f9bc,_0x2d2018,_0x26e651);_0x5bb3bd&&this[_0x37d0e0(0x3a9)]({'view':_0x4e9e02,'pivotTableId':_0x26e651,'textInfo':this[_0x37d0e0(0x365)](),'isEmpty':_0x29cac6,'targetCellInfo':_0x5bb3bd['targetCellInfo']},_0x20281a);}[_0x308732(0x3a9)](_0x4310cb,_0x2b578d){const _0x523dac=_0x308732,{targetCellInfo:_0x348171,pivotTableId:_0x2fef3c}=_0x4310cb,{unitId:_0x1dd576,subUnitId:_0x445ffb}=_0x348171,_0xf742a2=this['_ensureViewDataMap'](_0x1dd576,_0x445ffb),_0x3704c3=_0xf742a2[_0x523dac(0x1d2)](_0x2fef3c);let _0x4abd49,_0x3385eb;_0x3704c3&&(_0x4abd49=_0x3704c3[_0x523dac(0x1b6)],_0x3385eb=_0x3704c3[_0x523dac(0x346)]);const {rangesCache:_0x10c982,matrix:_0x22d04e}=_0x3737d6(_0x4310cb);_0xf742a2[_0x523dac(0x3f0)](_0x2fef3c,{'rangeCache':_0x10c982,'matrix':_0x22d04e,'oldMatrix':_0x3385eb,'oldRangeCache':_0x4abd49}),_0x2b578d||this[_0x523dac(0x3b5)][_0x523dac(0x43d)]({'unitId':_0x1dd576,'subUnitId':_0x445ffb,'pivotTableId':_0x2fef3c});}[_0x308732(0x2b6)](_0x15b845,_0x292ea0,_0x475df4,_0x299c95,_0x17265d){const _0x59e95c=_0x308732;this[_0x59e95c(0x2c2)](_0x15b845,_0x292ea0,_0x475df4,_0x17265d),this[_0x59e95c(0x40f)](_0x475df4,_0x299c95);}[_0x308732(0x2ad)](_0x278672,_0x4cec41,_0x2e47a7){const _0x22c37c=_0x308732,_0x521a02=this[_0x22c37c(0x400)](_0x278672);_0x521a02[_0x22c37c(0x28a)](_0x2e47a7)[_0x22c37c(0x396)](_0x3d3c34=>{const _0x52f050=_0x22c37c;_0x521a02[_0x52f050(0x191)](_0x3d3c34);}),this['removeCollections'](_0x278672,_0x2e47a7),this[_0x22c37c(0x3af)](_0x278672,_0x4cec41,_0x2e47a7),this['_deletePivotTableInstanceCache'](_0x2e47a7);}[_0x308732(0x3ff)](_0x23d02a,_0x1e3654,_0x4c9925,_0x3b6b32){const _0x51f30e=_0x308732;this[_0x51f30e(0x2c2)](_0x23d02a,_0x1e3654,_0x4c9925,_0x3b6b32);}[_0x308732(0x332)](_0x6e9764,_0x13cdc1,_0x6a1db9){const _0x2c970f=_0x308732;var _0xbb59ab,_0x4dcf04;const _0x235d54=(_0x4dcf04=(_0xbb59ab=this[_0x2c970f(0x395)][_0x2c970f(0x1d2)](_0x6e9764))==null?void 0x0:_0xbb59ab[_0x2c970f(0x1d2)](_0x13cdc1))==null?void 0x0:_0x4dcf04[_0x2c970f(0x1d2)](_0x6a1db9);if(_0x235d54)return _0x235d54;}[_0x308732(0x36c)](_0x4da605,_0x5db13e,_0x182127){const _0xc07644=_0x308732;var _0x22725a,_0x4e8425;const _0x5c33b1=(_0x4e8425=(_0x22725a=this['_model'][_0xc07644(0x1d2)](_0x4da605))==null?void 0x0:_0x22725a[_0xc07644(0x1d2)](_0x5db13e))==null?void 0x0:_0x4e8425['get'](_0x182127);if(_0x5c33b1)return _0x5c33b1['fieldsConfig'];}[_0x308732(0x203)](_0x304370){const _0x3a38a0=_0x308732;return this[_0x3a38a0(0x1e5)][_0x3a38a0(0x1d2)](_0x304370);}[_0x308732(0x178)](_0x34ad1c){const _0x39f785=_0x308732;this['_model'][_0x39f785(0x1b9)](_0x34ad1c);const _0x57c802=this[_0x39f785(0x33b)][_0x39f785(0x1d2)](_0x34ad1c);_0x57c802&&(_0x57c802[_0x39f785(0x231)](),this[_0x39f785(0x33b)][_0x39f785(0x1b9)](_0x34ad1c)),this[_0x39f785(0x219)]['delete'](_0x34ad1c),this[_0x39f785(0x409)][_0x39f785(0x396)](_0x4467fc=>{const _0x5a42ad=_0x39f785;_0x4467fc[_0x5a42ad(0x178)](_0x34ad1c);});}[_0x308732(0x25e)](_0x3c703f,_0xe78b6,_0x286855,_0x28bf3b){const _0xfd28e7=_0x308732;return this['getDataFieldManager'](_0x286855['unitId'])[_0xfd28e7(0x25e)](_0x3c703f,_0xe78b6,_0x286855,_0x28bf3b);}[_0x308732(0x265)](_0x1a2c9d){const _0x2de27a=_0x308732;return this['getDataFieldManager'](_0x1a2c9d[_0x2de27a(0x44f)])[_0x2de27a(0x265)](_0x1a2c9d);}[_0x308732(0x33e)](_0x282019,_0x50b1c8,_0x22c30b){const _0x563d04=_0x308732;this[_0x563d04(0x400)](_0x22c30b[_0x563d04(0x44f)])[_0x563d04(0x33e)](_0x282019,_0x50b1c8,_0x22c30b);}[_0x308732(0x3e9)](_0x333977,_0x291973){const _0x815b16=_0x308732;this[_0x815b16(0x400)](_0x333977)['deleteDataField'](_0x291973);}[_0x308732(0x1f0)](_0x1c60e3,_0x304eee){const _0x27dbfd=_0x308732;this['getDataFieldManager'](_0x1c60e3)[_0x27dbfd(0x3fc)](_0x304eee);}[_0x308732(0x2e2)](_0xf13e1e,_0x1b59ab){const _0x403076=_0x308732;var _0x487364;return(_0x487364=this[_0x403076(0x395)][_0x403076(0x1d2)](_0xf13e1e))==null?void 0x0:_0x487364[_0x403076(0x1d2)](_0x1b59ab);}[_0x308732(0x308)](_0x49f917){const _0x51e626=_0x308732;for(const [_0x497288,_0x1810be]of this['_model'][_0x51e626(0x2fe)]())for(const [_0x3e9310,_0x5b20be]of _0x1810be[_0x51e626(0x2fe)]())if(_0x5b20be[_0x51e626(0x223)](_0x49f917))return{'unitId':_0x497288,'subUnitId':_0x3e9310};return null;}[_0x308732(0x3c7)](_0x57ea79,_0x5572ae,_0x5dd391,_0x5acec2){const _0x364e14=_0x308732,_0x2dde9d=this[_0x364e14(0x1c8)](_0x57ea79,_0x5572ae);_0x5acec2?_0x2dde9d[_0x364e14(0x3f0)](_0x5dd391,_0x5acec2):_0x2dde9d[_0x364e14(0x1b9)](_0x5dd391),this['_viewData$'][_0x364e14(0x43d)]({'unitId':_0x57ea79,'subUnitId':_0x5572ae,'pivotTableId':_0x5dd391});}['dispose'](){const _0x366b2e=_0x308732;super[_0x366b2e(0x231)]();}[_0x308732(0x460)](_0x89c04a,_0x310908,_0x2191cc){const _0x4482ce=_0x308732;var _0x6f0283,_0x1650a3;const _0x3ecc25=(_0x1650a3=(_0x6f0283=this['_viewData'][_0x4482ce(0x1d2)](_0x89c04a))==null?void 0x0:_0x6f0283[_0x4482ce(0x1d2)](_0x310908))==null?void 0x0:_0x1650a3['get'](_0x2191cc);return _0x3ecc25||null;}['addDirtyPivotTable'](_0x1a180c){const _0x533416=_0x308732;this[_0x533416(0x388)](_0x1a180c);}[_0x308732(0x388)](_0x2df6a6){const _0x40dacc=_0x308732,{token:_0xcaef54,unitId:_0x2e8d99,subUnitId:_0x1cc13b}=_0x2df6a6,_0x525fe8=_0x2e8d99+'-'+_0x1cc13b+'-'+_0xcaef54;this[_0x40dacc(0x343)][_0x40dacc(0x1d2)](_0x525fe8)&&clearTimeout(this['_queryingMap'][_0x40dacc(0x1d2)](_0x525fe8));const _0x342284=setTimeout(()=>{const _0x376ec8=_0x40dacc;this[_0x376ec8(0x182)](_0x2df6a6),this[_0x376ec8(0x343)][_0x376ec8(0x1b9)](_0x525fe8);},_0x1c1f9b);this[_0x40dacc(0x343)][_0x40dacc(0x3f0)](_0x525fe8,_0x342284);}[_0x308732(0x182)](_0x5d7bc0){const _0x5e2cc4=_0x308732,{unitId:_0x510bd8,subUnitId:_0x3997a1,token:_0x44ec6f,type:_0x17cea0,pivotConfig:_0x133362}=_0x5d7bc0,_0x26c115=this[_0x5e2cc4(0x203)](_0x44ec6f),_0x5c3ef8=_0x26c115==null?void 0x0:_0x26c115['query'](),_0xfd98b9=_0x133362!=null?_0x133362:this[_0x5e2cc4(0x332)](_0x510bd8,_0x3997a1,_0x44ec6f);_0xfd98b9&&(_0xfd98b9[_0x5e2cc4(0x327)]=!!(_0x26c115!=null&&_0x26c115['isEmpty']())),(_0x5c3ef8||_0x17cea0===_0x171aea[_0x5e2cc4(0x390)])&&this[_0x5e2cc4(0x3a0)](_0x510bd8,_0x3997a1,_0x17cea0,_0x44ec6f,_0x5c3ef8,_0xfd98b9,this[_0x5e2cc4(0x400)](_0x510bd8)[_0x5e2cc4(0x22d)]());}['toJSON'](_0x448f73){const _0x2ea7f7=_0x308732,_0x53ce8e={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x2ea7f7(0x400)](_0x448f73)&&(_0x53ce8e[_0x2ea7f7(0x184)][_0x448f73]=this[_0x2ea7f7(0x400)](_0x448f73)[_0x2ea7f7(0x22d)]()),this[_0x2ea7f7(0x395)]['get'](_0x448f73)){_0x53ce8e[_0x2ea7f7(0x31b)][_0x448f73]={};const _0x162784=this[_0x2ea7f7(0x395)][_0x2ea7f7(0x1d2)](_0x448f73);_0x162784!=null&&_0x162784[_0x2ea7f7(0x406)]&&[..._0x162784[_0x2ea7f7(0x263)]()][_0x2ea7f7(0x396)](_0x134add=>{const _0x37eced=_0x2ea7f7,_0x145e07=_0x162784[_0x37eced(0x1d2)](_0x134add);_0x145e07!=null&&_0x145e07[_0x37eced(0x406)]&&(_0x53ce8e[_0x37eced(0x31b)][_0x448f73][_0x134add]={},[..._0x145e07[_0x37eced(0x263)]()][_0x37eced(0x396)](_0x24d1a3=>{const _0x168dd9=_0x37eced,_0x1988ab=_0x145e07[_0x168dd9(0x1d2)](_0x24d1a3);_0x1988ab&&(_0x53ce8e['pivotTableConfigs'][_0x448f73][_0x134add][_0x24d1a3]=_0x1988ab);}));});}return _0x53ce8e;}[_0x308732(0x2d4)](_0x5bba52){const _0x1ae5b4=_0x308732;var _0x3e492e;const {dataFieldManagerConfig:_0x2993ae,pivotTableConfigs:_0x233a90}=_0x5bba52;_0x2993ae&&Object[_0x1ae5b4(0x263)](_0x2993ae)[_0x1ae5b4(0x396)](_0x188669=>{const _0x53c957=_0x1ae5b4;this[_0x53c957(0x400)](_0x188669)[_0x53c957(0x2d4)](_0x2993ae[_0x188669]);});const _0x221c59=[];if(_0x233a90){const _0x1d03fc=(_0x3e492e=this[_0x1ae5b4(0x320)][_0x1ae5b4(0x1d2)](_0x4cef4c['IConfigService'])[_0x1ae5b4(0x176)](_0x4a6362[_0x1ae5b4(0x410)]))!=null?_0x3e492e:{},{ls:_0x3f6d94,pbk:_0x4a34af}=_0x1d03fc,_0x296b30=_0x67c83f(_0x34a535,_0x3f6d94,_0x4a34af)['count'];Object['keys'](_0x233a90)[_0x1ae5b4(0x396)](_0x20c0f6=>{const _0x5cc9c3=_0x1ae5b4;let _0x3bdec4=0x0;const _0x2b4f5e=_0x233a90[_0x20c0f6];Object['keys'](_0x2b4f5e)[_0x5cc9c3(0x396)](_0x4e1e68=>{const _0x4fb36e=_0x5cc9c3,_0x23a829=_0x2b4f5e[_0x4e1e68];Object[_0x4fb36e(0x263)](_0x23a829)[_0x4fb36e(0x396)](_0x4458f4=>{const _0x152e9c=_0x4fb36e,_0x574468=_0x23a829[_0x4458f4];if(_0x574468){if(_0x3bdec4>=_0x296b30)return;_0x3bdec4++;const _0x287ce6=this[_0x152e9c(0x400)](_0x20c0f6),_0x94be37=_0x287ce6['collections'][_0x4458f4],_0x4e7235=_0x94be37['getFieldIds']();let _0x3422cd=0x0;for(const _0x1d2119 of _0x4e7235)_0x287ce6[_0x152e9c(0x359)](_0x1d2119,_0x574468['sourceRangeInfo'],_0x3422cd),_0x3422cd++;const _0x439f53=new _0x141cc9[(_0x152e9c(0x3c4))](_0x94be37);_0x439f53[_0x152e9c(0x2d4)](_0x574468[_0x152e9c(0x3fa)]),this[_0x152e9c(0x2b6)](_0x20c0f6,_0x4e1e68,_0x4458f4,_0x439f53,_0x574468);const _0x592663=_0x439f53['query']();_0x221c59[_0x152e9c(0x411)]({'unitId':_0x20c0f6,'subUnitId':_0x4e1e68,'pivotTableId':_0x4458f4,'view':_0x592663[_0x152e9c(0x22d)](),'pivotConfig':_0x574468,'type':_0x171aea[_0x152e9c(0x1e1)]});const _0x34766e=!!_0x439f53['isEmpty'](),_0x3f795b={'view':_0x592663,'pivotTableId':_0x4458f4,'textInfo':this[_0x152e9c(0x365)](),'isEmpty':_0x34766e,'targetCellInfo':_0x574468[_0x152e9c(0x2b1)]};this[_0x152e9c(0x3a9)](_0x3f795b,!0x1);}});});});}_0x2993ae&&Object['keys'](_0x2993ae)['forEach'](_0x25d8f0=>{const _0x4275a8=_0x1ae5b4,_0x199e34=this[_0x4275a8(0x400)](_0x25d8f0);this[_0x4275a8(0x2e5)][_0x4275a8(0x43d)](_0x199e34[_0x4275a8(0x3ca)]);}),this['_commandService'][_0x1ae5b4(0x1f8)](_0x2ad196['id'],{'batch':_0x221c59,'collectionConfig':_0x2993ae},{'onlyLocal':!0x0});}[_0x308732(0x1a9)](){const _0x18d17b=_0x308732;this[_0x18d17b(0x235)](this[_0x18d17b(0x2bc)][_0x18d17b(0x20b)]({'toJson':_0x567e11=>JSON[_0x18d17b(0x2ba)](this[_0x18d17b(0x22d)](_0x567e11)),'parseJson':_0x585e62=>{const _0x218eac=_0x18d17b;if(!_0x585e62)return{};try{return JSON[_0x218eac(0x1db)](_0x585e62);}catch{return{};}},'businesses':[_0x4cef4c['UniverInstanceType'][_0x18d17b(0x262)]],'pluginName':_0x521977,'onLoad':(_0x4f1505,_0x449240)=>{const _0x542990=_0x18d17b;this[_0x542990(0x2d4)](_0x449240);},'onUnLoad':_0x547325=>{this['deleteUnitId'](_0x547325);}}));}},_0x11a467[_0x308732(0x2a5)]=_0x1c59ba([_0x4524c6(0x0,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x297)])),_0x4524c6(0x1,_0x4cef4c[_0x308732(0x275)]),_0x4524c6(0x2,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x459)])),_0x4524c6(0x3,_0x4cef4c[_0x308732(0x334)]),_0x4524c6(0x4,_0x4cef4c[_0x308732(0x3ac)]),_0x4524c6(0x5,_0x4cef4c['Inject'](_0x4cef4c[_0x308732(0x434)]))],_0x11a467['SheetsPivotDataSourceModel']);const _0x848a76={0x0:{0x0:{'v':_0x308732(0x280),'s':_0x47d1c4}},0x2:{0x1:{'v':'','s':_0x47d1c4},0x2:{'v':'','s':_0x47d1c4},0x3:{'v':_0x308732(0x425),'s':_0x47d1c4},0x4:{'v':'','s':_0x47d1c4},0x5:{'v':'','s':_0x47d1c4}},0x3:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0x4:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0x5:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0x6:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0x7:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0x8:{0x0:{'v':_0x308732(0x3ec),'s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':_0x308732(0x1dc),'s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0x9:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0xa:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0xb:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0xc:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}},0xd:{0x0:{'v':'','s':_0x47d1c4},0x1:{'v':'','s':_0x263904},0x2:{'v':'','s':_0x263904},0x3:{'v':'','s':_0x263904},0x4:{'v':'','s':_0x263904},0x5:{'v':'','s':_0x263904}}},_0x5f2ba6={'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':[]},_0x33463f=(_0x18d03a,_0x24f11a)=>{const _0x17dfdc=_0x308732,_0x374038=new _0x4cef4c[(_0x17dfdc(0x3de))](),_0x5c79d3=new _0x4cef4c[(_0x17dfdc(0x3de))](_0x848a76),{row:_0x3bf4a6,col:_0x194ace}=_0x24f11a;_0x5c79d3[_0x17dfdc(0x32d)]((_0x1ed19b,_0x5badfa,_0x48987)=>{const _0x1465ca=_0x17dfdc;let _0x1a8ae8='';_0x48987['v']==='filter'?_0x1a8ae8=_0x18d03a[_0x1465ca(0x280)]:_0x48987['v']===_0x1465ca(0x3ec)?_0x1a8ae8=_0x18d03a[_0x1465ca(0x3ec)]:_0x48987['v']===_0x1465ca(0x425)?_0x1a8ae8=_0x18d03a[_0x1465ca(0x425)]:_0x48987['v']===_0x1465ca(0x1dc)&&(_0x1a8ae8=_0x18d03a[_0x1465ca(0x1dc)]),_0x374038[_0x1465ca(0x186)](_0x1ed19b+_0x3bf4a6,_0x5badfa+_0x194ace,{..._0x48987,'v':_0x1a8ae8});});const _0x5cc82e=_0x4cef4c['Tools'][_0x17dfdc(0x22c)](_0x5f2ba6);return Object[_0x17dfdc(0x263)](_0x5f2ba6)[_0x17dfdc(0x396)](_0x28ea27=>{const _0x4f519d=_0x17dfdc;_0x5cc82e[_0x28ea27]=_0x5f2ba6[_0x28ea27][_0x4f519d(0x3be)](_0x5dddca=>({..._0x5dddca,'startRow':_0x5dddca[_0x4f519d(0x24c)]+_0x3bf4a6,'endRow':_0x5dddca[_0x4f519d(0x35d)]+_0x3bf4a6,'startColumn':_0x5dddca['startColumn']+_0x194ace,'endColumn':_0x5dddca[_0x4f519d(0x2e4)]+_0x194ace}));}),{'matrixCache':_0x374038,'rangesCache':_0x5cc82e};};function _0x4b0819(_0xd981fd,_0x408b3b){const _0xec0d4a=_0x308732;let _0x4ec176='';const _0x7733ff=this[_0xec0d4a(0x365)]();switch(_0x408b3b){case _0x141cc9[_0xec0d4a(0x318)][_0xec0d4a(0x40d)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x26c)]+_0xd981fd;break;case _0x141cc9['PivotSubtotalTypeEnum'][_0xec0d4a(0x34e)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x37e)]+_0xd981fd;break;case _0x141cc9['PivotSubtotalTypeEnum']['countNums']:_0x4ec176=_0x7733ff['sheets-pivot.countNumsName']+_0xd981fd;break;case _0x141cc9[_0xec0d4a(0x318)][_0xec0d4a(0x23b)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x38a)]+_0xd981fd;break;case _0x141cc9[_0xec0d4a(0x318)][_0xec0d4a(0x465)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x180)]+_0xd981fd;break;case _0x141cc9[_0xec0d4a(0x318)][_0xec0d4a(0x2fb)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x371)]+_0xd981fd;break;case _0x141cc9[_0xec0d4a(0x318)][_0xec0d4a(0x35f)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x266)]+_0xd981fd;break;case _0x141cc9[_0xec0d4a(0x318)][_0xec0d4a(0x33f)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x1c7)]+_0xd981fd;break;case _0x141cc9['PivotSubtotalTypeEnum'][_0xec0d4a(0x397)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x461)]+_0xd981fd;break;case _0x141cc9[_0xec0d4a(0x318)]['var']:_0x4ec176=_0x7733ff[_0xec0d4a(0x467)]+_0xd981fd;break;case _0x141cc9[_0xec0d4a(0x318)][_0xec0d4a(0x314)]:_0x4ec176=_0x7733ff[_0xec0d4a(0x23a)]+_0xd981fd;break;default:_0x4ec176=_0xd981fd;break;}return _0x4ec176;}function _0x2b3647(_0x142061,_0x36b959,_0x148a72,_0x35fe21,_0x52c8bf){const _0x352b81=_0x308732;var _0x584dd5,_0x56c360,_0x2bbd4d,_0x1d4efe,_0x20e86e;const _0x193237=_0x4cef4c[_0x352b81(0x284)](_0x142061,_0x36b959),{rangesInfo:_0xbf9062,areaInfo:_0x3ed297,headerMap:_0x547292}=_0x52c8bf;if(!_0xbf9062||!_0x3ed297||!_0x547292)return;const _0x51c7ca=Object[_0x352b81(0x263)](_0xbf9062)['find'](_0x1534b3=>_0xbf9062[_0x1534b3][_0x352b81(0x2d6)](_0x2be1b2=>_0x4cef4c['Rectangle'][_0x352b81(0x354)](_0x2be1b2,_0x193237))),_0x353c11=_0x3ed297;let _0x57f7d0,_0x2a79d6,_0x5c5203;if(_0x51c7ca===_0x352b81(0x379))_0x57f7d0=(_0x584dd5=_0x353c11==null?void 0x0:_0x353c11[_0x352b81(0x3da)])==null?void 0x0:_0x584dd5[_0x142061],_0x2a79d6=(_0x56c360=_0x547292==null?void 0x0:_0x547292['rowHeaderMap'])==null?void 0x0:_0x56c360[_0x36b959],_0x5c5203=_0x2a79d6==null?void 0x0:_0x2a79d6[_0x352b81(0x32a)];else{if(_0x51c7ca===_0x352b81(0x462))_0x57f7d0=(_0x2bbd4d=_0x353c11==null?void 0x0:_0x353c11[_0x352b81(0x45f)])==null?void 0x0:_0x2bbd4d[_0x36b959],_0x2a79d6=(_0x1d4efe=_0x547292[_0x352b81(0x42d)])==null?void 0x0:_0x1d4efe[_0x142061+0x1+_0x36b959-_0xbf9062[_0x352b81(0x462)][0x0][_0x352b81(0x28d)]],_0x5c5203=_0x2a79d6==null?void 0x0:_0x2a79d6[_0x352b81(0x32a)];else{if(_0x51c7ca===_0x352b81(0x2ac))_0x57f7d0=(_0x20e86e=_0x353c11==null?void 0x0:_0x353c11[_0x352b81(0x2bd)])==null?void 0x0:_0x20e86e[_0x36b959],_0x5c5203=_0x57f7d0==null?void 0x0:_0x57f7d0[_0x352b81(0x32a)];else{if(_0x51c7ca==='pageRanges'){const _0x5975c9=_0x148a72==null?void 0x0:_0x148a72['fi'];_0x5975c9!==void 0x0&&(_0x5c5203=_0x35fe21[_0x352b81(0x2b4)](_0x5975c9));}}}}return{'filterId':_0x5c5203,'info':_0x57f7d0,'data':_0x148a72,'headerInfo':_0x2a79d6};}function _0x5ee200(_0x283d13,_0x306a98,_0x4bb72e){const _0x5603f7=_0x308732,_0xe7ecbb=_0x283d13[_0x5603f7(0x24b)],_0x278a22=_0xe7ecbb[_0x5603f7(0x1d6)](),_0x266f93=new Set();_0x283d13[_0x5603f7(0x358)](_0x3ba5cd=>{const _0x538e22=_0x5603f7;_0x266f93[_0x538e22(0x20a)](_0x3ba5cd[_0x538e22(0x1a0)]);});const _0x804878=_0x278a22[_0x5603f7(0x3be)](_0x20fbf0=>{const _0xf8a53b=_0x5603f7,_0x380a80=_0xe7ecbb['getFieldById'](_0x20fbf0);return{'checked':_0x266f93[_0xf8a53b(0x223)](_0x20fbf0),'dataFieldId':_0x380a80['id'],'id':_0x380a80['id'],'name':_0xe7ecbb[_0xf8a53b(0x3c2)](_0x380a80['id']),'type':_0x380a80['getFieldDataType'](),'pivotTableId':_0x306a98};}),_0x16dfbf=[];_0x283d13[_0x5603f7(0x2b5)](_0x141cc9[_0x5603f7(0x3c5)][_0x5603f7(0x355)],_0x4a7477=>{const _0x331e43=_0x5603f7;_0x16dfbf[_0x331e43(0x411)]({'dataFieldId':_0x4a7477['dataFieldId'],'tableFieldId':_0x4a7477['getId'](),'displayName':_0x4a7477[_0x331e43(0x3c2)]()});});const _0xd3558d=[];_0x283d13[_0x5603f7(0x2b5)](_0x141cc9[_0x5603f7(0x3c5)]['Column'],_0x54c1b7=>{const _0x3418fd=_0x5603f7;_0xd3558d[_0x3418fd(0x411)]({'dataFieldId':_0x54c1b7[_0x3418fd(0x1a0)],'tableFieldId':_0x54c1b7[_0x3418fd(0x450)](),'displayName':_0x54c1b7[_0x3418fd(0x3c2)]()});});const _0x1a4cd1=[];if(_0x283d13[_0x5603f7(0x2b5)](_0x141cc9[_0x5603f7(0x3c5)]['Value'],_0x422547=>{const _0x5cd77d=_0x5603f7;_0x1a4cd1[_0x5cd77d(0x411)]({'dataFieldId':_0x422547[_0x5cd77d(0x1a0)],'tableFieldId':_0x422547[_0x5cd77d(0x450)](),'displayName':_0x422547[_0x5cd77d(0x3c2)](),'format':_0x422547['getFormat'](),'subTotalType':_0x422547[_0x5cd77d(0x177)]()});}),_0x1a4cd1['length']>0x1){const _0x430219=_0x283d13[_0x5603f7(0x192)]();(_0x283d13[_0x5603f7(0x3e5)]()?_0xd3558d:_0x16dfbf)[_0x5603f7(0x2b3)](_0x430219,0x0,{'dataFieldId':'','tableFieldId':_0x5603f7(0x3e6),'displayName':_0x5603f7(0x2cc)});}const _0x4c0902=[];_0x283d13['iterateFieldByArea'](_0x141cc9[_0x5603f7(0x3c5)]['Filter'],_0x28f187=>{const _0x4c74f2=_0x5603f7;_0x4c0902['push']({'dataFieldId':_0x28f187['dataFieldId'],'tableFieldId':_0x28f187[_0x4c74f2(0x450)](),'displayName':_0x28f187[_0x4c74f2(0x3c2)]()});});const _0x140abf=_0x4bb72e[_0x5603f7(0x298)];return{'sourceList':_0x804878,'sourceRange':_0x140abf,'rowFields':_0x16dfbf,'columnFields':_0xd3558d,'valueFields':_0x1a4cd1,'filterFields':_0x4c0902,'positionInfo':_0x4bb72e['targetCellInfo']};}function _0x33d076(_0x248c85,_0x3f172b,_0x4a3c59='',_0x514600={}){const _0x3a4a63=_0x308732,_0x567b78=_0x248c85[_0x3a4a63(0x1d2)](_0x4cef4c[_0x3a4a63(0x41c)]);for(const _0x5d6720 in _0x3f172b)if(Object[_0x3a4a63(0x1b2)][_0x3a4a63(0x27e)][_0x3a4a63(0x2a1)](_0x3f172b,_0x5d6720)){const _0x4c7ee9=_0x4a3c59?_0x4a3c59+'.'+_0x5d6720:_0x5d6720;typeof _0x3f172b[_0x5d6720]==_0x3a4a63(0x209)&&_0x3f172b[_0x5d6720]!==null&&!Array[_0x3a4a63(0x220)](_0x3f172b[_0x5d6720])?_0x33d076(_0x248c85,_0x3f172b[_0x5d6720],_0x4c7ee9,_0x514600):_0x514600[_0x4c7ee9]=_0x567b78['t'](_0x4c7ee9);}return _0x514600;}const _0x1c98f6=_0x51f54d=>{const _0x119dbb=_0x308732;if(!_0x51f54d)return[];const {rowRanges:_0x80785b,colRanges:_0x1457b2,cornerRanges:_0x5b544f,dataRanges:_0x5eb0ff,pageRanges:_0x40d612}=_0x51f54d,_0xc41427=[..._0x1457b2,..._0x80785b,..._0x5eb0ff,..._0x5b544f]['filter'](_0x4d6ea1=>_0x4d6ea1['startRow']>=0x0&&_0x4d6ea1[_0x119dbb(0x28d)]>=0x0&&_0x4d6ea1['endRow']>=0x0&&_0x4d6ea1[_0x119dbb(0x2e4)]>=0x0);let _0x4e9e3b=Number[_0x119dbb(0x335)],_0x2fbdda=Number['MIN_SAFE_INTEGER'],_0x188e46=Number[_0x119dbb(0x335)],_0x522f35=Number[_0x119dbb(0x3bf)];for(let _0x124096=0x0;_0x124096<_0xc41427[_0x119dbb(0x1bd)];_0x124096++)_0x4e9e3b=Math['min'](_0x4e9e3b,_0xc41427[_0x124096][_0x119dbb(0x24c)]),_0x2fbdda=Math['max'](_0x2fbdda,_0xc41427[_0x124096]['endRow']),_0x188e46=Math[_0x119dbb(0x465)](_0x188e46,_0xc41427[_0x124096][_0x119dbb(0x28d)]),_0x522f35=Math[_0x119dbb(0x23b)](_0x522f35,_0xc41427[_0x124096][_0x119dbb(0x2e4)]);return[..._0x40d612,{'startRow':_0x4e9e3b,'endRow':_0x2fbdda,'startColumn':_0x188e46,'endColumn':_0x522f35}];};function _0xfa09a7(_0x49b320,_0x4a0afb){const _0x22f4df=_0x308732,_0x3198fd=_0x4a0afb['params'][_0x22f4df(0x3f1)],{pivotTableId:_0x3d05a0,unitId:_0x21278e,subUnitId:_0x27699a}=_0x4a0afb;if(!_0x3198fd)return;const _0x121541=_0x49b320['get'](_0x11a467[_0x22f4df(0x2a5)]),_0x514e3b=_0x121541[_0x22f4df(0x203)](_0x3d05a0),_0x5d13d2=_0x121541['getPivotTableConfig'](_0x21278e,_0x27699a,_0x3d05a0);if(!_0x514e3b||!_0x5d13d2)return;const _0x1103c1=_0x514e3b['getIndexesByPathStr'](_0x3198fd['tuple']);if(!(_0x1103c1!=null&&_0x1103c1[_0x22f4df(0x1bd)]))return;const _0x4f4732=_0x5d13d2[_0x22f4df(0x298)],{unitId:_0x14c553,subUnitId:_0x55ae49,range:_0x5df8cb}=_0x4f4732;let _0x5652b4=0x0;const _0x9a463f=_0x514e3b[_0x22f4df(0x24b)][_0x22f4df(0x1d6)]()['reduce']((_0x4c3f6c,_0x1c75cb)=>{const _0x4221ed=_0x22f4df;var _0x4c5629;const _0x28a268=(_0x4c5629=_0x514e3b[_0x4221ed(0x24f)](_0x1c75cb))==null?void 0x0:_0x4c5629[_0x4221ed(0x446)]();return _0x28a268&&(_0x4c3f6c[String(_0x5652b4)]=_0x28a268),_0x5652b4++,_0x4c3f6c;},{});return{'indexes':_0x1103c1,'range':_0x5df8cb,'sourceUnitId':_0x14c553,'sourceSubUnitId':_0x55ae49,'formatMap':_0x9a463f};}function _0x2f050b(_0x1f30bd,_0x1e1447){const _0x280eb2=_0x308732;if(!_0x1f30bd||!_0x1e1447)return!0x0;const _0xc0f43b=_0x4a6362['unshiftString'](_0x37d50f,_0x20425a),_0x6b83bc=new Function('return\x20'+_0xc0f43b)()(_0x1f30bd,_0x1e1447)[_0x280eb2(0x17c)],_0x28cd2b=_0x4a6362[_0x280eb2(0x258)](_0x6b83bc,'sf',_0x2ba87c);return!((_0x6b83bc==null?void 0x0:_0x6b83bc['rt'])===_0x4a6362[_0x280eb2(0x1f2)][_0x280eb2(0x217)]&&!_0x28cd2b);}function _0x67c83f(_0x503c68,_0x2a6ce5,_0x5d571f){const _0x5ea5e3=_0x308732,_0x3cf888={'count':_0x503c68,'timeValid':!0x1};if(!_0x2a6ce5||!_0x5d571f)return _0x3cf888;const _0x5c57f0=_0x4a6362[_0x5ea5e3(0x244)](_0x37d50f,_0x20425a),_0x163f14=new Function(_0x5ea5e3(0x3c9)+_0x5c57f0)()(_0x2a6ce5,_0x5d571f);if(_0x163f14!=null&&_0x163f14[_0x5ea5e3(0x326)]){const _0x3047c8=_0x163f14[_0x5ea5e3(0x17c)],_0x4b76e1=_0x4a6362[_0x5ea5e3(0x258)](_0x3047c8,'sf',_0x2ba87c);return{'count':_0x4a6362[_0x5ea5e3(0x196)](_0x3047c8,_0x4b76e1,_0x5ea5e3(0x3bd),_0x503c68,_0x503c68,0x0),'timeValid':_0x4b76e1};}return _0x3cf888;}function _0x50cf3c(_0x191680,_0x4654be,_0x5e3591,_0x40b1e2){const _0x4a3fb9=_0x308732,_0x1f43fd={'subUnitId':_0x5e3591,'unitId':_0x4654be,'cellValue':_0x553681[_0x4a3fb9(0x261)](_0x40b1e2)},_0x1ff4d5=_0x553681[_0x4a3fb9(0x2fa)](_0x191680,_0x1f43fd);let _0xd6d76d=!0x1;return new _0x4cef4c[(_0x4a3fb9(0x3de))](_0x1ff4d5['cellValue'])['forValue']((_0x168c4e,_0x501c01,_0x383a7d)=>{const _0x1a2006=_0x4a3fb9;if(!_0xd6d76d&&_0x383a7d&&(_0x383a7d[_0x1a2006(0x43c)]||_0x383a7d['f']||_0x383a7d['p']||_0x383a7d['s']||_0x383a7d['si']||_0x383a7d['t']||_0x383a7d['v']))return _0xd6d76d=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x553681[_0x4a3fb9(0x39f)]['id'],'params':_0x1ff4d5},'setRangeValueRedoMutation':{'id':_0x553681[_0x4a3fb9(0x39f)]['id'],'params':_0x1f43fd},'shouldClear':_0xd6d76d};}function _0x70da5b(_0x24feba){const {row:_0x1b17fc,col:_0x3102cf}=_0x24feba,_0x24ce72={'startRow':_0x1b17fc,'endRow':_0x1b17fc,'startColumn':_0x3102cf,'endColumn':_0x3102cf},_0x484076={'startRow':_0x1b17fc+0x2,'endRow':_0x1b17fc+0xe,'startColumn':_0x3102cf,'endColumn':_0x3102cf+0x6};return[_0x24ce72,_0x484076];}function _0x10c5d4(_0x4862d2,_0x583017,_0x33e5fd){const _0xe0f90c=_0x308732,{cornerView:_0x5d486d,rowView:_0x385656,colView:_0x3df3a1,pageView:_0x53c4f5}=_0x4862d2,{row:_0x519a52,col:_0x156a87}=_0x583017;if(_0x33e5fd)return{'rowCount':_0x145827+_0x519a52,'colCount':_0x5f0505+_0x156a87};const _0x360b1a=_0x53c4f5['lastRow']>-0x1?_0x53c4f5[_0xe0f90c(0x415)]+0x1:0x0,_0x237185=_0x53c4f5['lastCol']>-0x1?_0x53c4f5['lastCol']:0x0,_0x4b149f=_0x519a52+_0x360b1a+(_0x360b1a?0x1:0x0)+_0x5d486d['rowCount']+_0x385656[_0xe0f90c(0x339)],_0x4b0aa2=_0x156a87+_0x237185,_0x47f0e2=_0x156a87+_0x5d486d[_0xe0f90c(0x260)]+_0x3df3a1['colCount'],_0x1a55a7=Math[_0xe0f90c(0x23b)](_0x4b0aa2,_0x47f0e2);return{'rowCount':_0x4b149f,'colCount':_0x1a55a7};}function _0x3fed82(_0x2cf87a,_0x1b8355,_0x4c34ad,_0x24a2d2){const _0x340fd1=_0x308732,{row:_0x582dbc,col:_0x4498cd,unitId:_0x859a49,subUnitId:_0x2585bf}=_0x4c34ad,_0x2abe80=_0x10c5d4(_0x1b8355,{'row':_0x582dbc,'col':_0x4498cd},_0x24a2d2),_0x1d12d1=_0x2cf87a[_0x340fd1(0x1d2)](_0x4cef4c['IUniverInstanceService']),_0x1cc0e3=_0x553681[_0x340fd1(0x3a5)](_0x1d12d1,{'unitId':_0x859a49,'subUnitId':_0x2585bf}),_0x8cd4ef=[],_0x5f27b5=[];if(!_0x1cc0e3)return{'undos':_0x5f27b5,'redos':_0x8cd4ef};const {worksheet:_0x45491d}=_0x1cc0e3,_0x28437c=_0x45491d[_0x340fd1(0x422)](),_0x46a33c=_0x45491d[_0x340fd1(0x2cb)]();return _0x28437c<_0x2abe80[_0x340fd1(0x339)]&&(_0x8cd4ef[_0x340fd1(0x411)]({'id':_0x553681[_0x340fd1(0x39e)]['id'],'params':{'unitId':_0x859a49,'subUnitId':_0x2585bf,'range':{'startRow':_0x28437c,'endRow':_0x2abe80['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x46a33c-0x1}}}),_0x5f27b5[_0x340fd1(0x411)]({'id':_0x553681[_0x340fd1(0x3d4)]['id'],'params':{'unitId':_0x859a49,'subUnitId':_0x2585bf,'range':{'startRow':_0x28437c,'endRow':_0x2abe80[_0x340fd1(0x339)]-0x1,'startColumn':0x0,'endColumn':_0x46a33c-0x1}}})),_0x46a33c<_0x2abe80[_0x340fd1(0x260)]&&(_0x8cd4ef[_0x340fd1(0x411)]({'id':_0x553681[_0x340fd1(0x21d)]['id'],'params':{'unitId':_0x859a49,'subUnitId':_0x2585bf,'range':{'startRow':0x0,'endRow':_0x28437c-0x1,'startColumn':_0x46a33c,'endColumn':_0x2abe80['colCount']-0x1}}}),_0x5f27b5[_0x340fd1(0x411)]({'id':_0x553681['RemoveColMutation']['id'],'params':{'unitId':_0x859a49,'subUnitId':_0x2585bf,'range':{'startRow':0x0,'endRow':_0x28437c-0x1,'startColumn':_0x46a33c,'endColumn':_0x2abe80['colCount']-0x1}}})),{'undos':_0x5f27b5,'redos':_0x8cd4ef};}function _0x57deb2(_0x46ba5e){const _0x548454=_0x308732;let _0x553002=0x0;for(let _0x5cfb5d=0x0;_0x5cfb5d<_0x46ba5e['length'];_0x5cfb5d++){const _0x275a34=_0x46ba5e[_0x548454(0x416)](_0x5cfb5d);_0x275a34>=0x4e00&&_0x275a34<=0x9fff||_0x275a34>=0x3000&&_0x275a34<=0x303f||_0x275a34>=0xff00&&_0x275a34<=0xffef?_0x553002+=0x2:_0x553002+=0x1;}return _0x553002;}function _0x3d4119(_0x28e629,_0x3b2873,_0x130ed3,_0x1e345c){const _0xf390d1=_0x308732;var _0x10feca,_0x4197a2,_0x30c893,_0x185910;const {rowCount:_0x15336d,colCount:_0x5023dd,headerMap:_0x5918b4}=_0x28e629,_0x2de5d3=0x64,_0x700a39=Math[_0xf390d1(0x465)](_0x15336d,_0x2de5d3),_0x366301=Math[_0xf390d1(0x465)](_0x5023dd,_0x2de5d3);let _0x583fd7='',_0x2eaa62=0x0;for(let _0x61d358=0x0;_0x61d358<_0x700a39;_0x61d358++)for(let _0x50e213=0x0;_0x50e213<_0x366301;_0x50e213++){const _0x30fc0a={...(_0x4197a2=(_0x10feca=_0x28e629['data'])==null?void 0x0:_0x10feca[_0x61d358])==null?void 0x0:_0x4197a2[_0x50e213]},_0x535702=(_0x30c893=_0x5918b4[_0x61d358])==null?void 0x0:_0x30c893[_0xf390d1(0x32a)],_0x5ea779=_0x1e345c[_0x535702];let _0x1517ab=_0x28e629[_0xf390d1(0x2f2)](_0x61d358,_0x50e213);if(_0x30fc0a){const _0x29ce3f=_0x130ed3?_0x50e213===0x0&&((_0x185910=_0x28e629[_0xf390d1(0x2f3)](_0x50e213+0x1))==null?void 0x0:_0x185910[_0xf390d1(0x1ff)]):!0x1;_0x1517ab=_0x5ed7cf(_0x30fc0a,_0x29ce3f,_0x5ea779,_0x3b2873);}if(_0x1517ab!==void 0x0){const _0x3924a8=_0x57deb2(String(_0x1517ab));_0x2eaa62<_0x3924a8&&(_0x583fd7=String(_0x1517ab),_0x2eaa62=_0x3924a8);}}return _0x583fd7;}function _0x5832a9(_0x25581b){const _0xdedca0=_0x308732,{rowCount:_0x3d54dd,colCount:_0xfa42e3}=_0x25581b;let _0x30cdec='',_0x46ecc1=0x0;for(let _0xe1ab48=_0x3d54dd-0x1;_0xe1ab48>0x0&&_0xe1ab48>_0x3d54dd-0x3;_0xe1ab48--)for(let _0x14e7f6=0x0;_0x14e7f6<_0xfa42e3;_0x14e7f6++){const _0x94d52b=_0x25581b[_0xdedca0(0x2f2)](_0xe1ab48,_0x14e7f6);if(_0x94d52b!==void 0x0){const _0x5423c0=String(_0x94d52b)['length'];_0x46ecc1<_0x5423c0&&(_0x30cdec=String(_0x94d52b),_0x46ecc1=_0x5423c0);}}return _0x30cdec;}function _0x264109(_0x2b7621){const _0x578cfc=_0x308732,{rowCount:_0x2d7ab1,colCount:_0x4e2f27}=_0x2b7621;let _0x247dca='',_0x377fb6=0x0;for(let _0x39a36d=0x0;_0x39a36d<_0x2d7ab1;_0x39a36d++)for(let _0x1d13c5=0x0;_0x1d13c5<_0x4e2f27;_0x1d13c5++){const _0x1d74f4=_0x2b7621[_0x578cfc(0x2f2)](_0x39a36d,_0x1d13c5);if(_0x1d74f4!==void 0x0){const _0x4d3805=String(_0x1d74f4)[_0x578cfc(0x1bd)];_0x377fb6<_0x4d3805&&(_0x247dca=String(_0x1d74f4),_0x377fb6=_0x4d3805);}}return _0x247dca;}function _0x56fb3d(_0x3c546c,_0x121839){const _0x49f03a=_0x308732,{rowFields:_0x1d4b25,columnFields:_0x4f8ab2,valueFields:_0x1df13e,filterFields:_0x2096f7,dimension:_0xbc1c7,measure:_0x12e41f}=_0x121839;for(const _0x576e6e of _0x1d4b25){const _0x3d2925=_0xbc1c7[_0x576e6e];_0x3d2925&&_0x3c546c[_0x49f03a(0x24f)](_0x3d2925[_0x49f03a(0x1a0)])&&(_0x3c546c[_0x49f03a(0x3dd)](_0x3d2925['dataFieldId'],_0x141cc9['PivotTableFiledAreaEnum'][_0x49f03a(0x355)],void 0x0,_0x576e6e),_0x3d2925[_0x49f03a(0x3fb)]&&_0x3c546c[_0x49f03a(0x373)](_0x3d2925['id'],_0x3d2925[_0x49f03a(0x3fb)]),_0x3d2925[_0x49f03a(0x240)]&&_0x3c546c[_0x49f03a(0x369)](_0x3d2925['id'],_0x3d2925['sortInfo']),_0x3d2925[_0x49f03a(0x438)]&&_0x3c546c['setLabelFilterInfo'](_0x3d2925['id'],_0x3d2925['filterInfo']));}for(const _0x438a5c of _0x4f8ab2){const _0x56a618=_0xbc1c7[_0x438a5c];_0x56a618&&_0x3c546c['getDataFieldByDataFieldId'](_0x56a618[_0x49f03a(0x1a0)])&&(_0x3c546c[_0x49f03a(0x3dd)](_0x56a618['dataFieldId'],_0x141cc9['PivotTableFiledAreaEnum'][_0x49f03a(0x268)],void 0x0,_0x438a5c),_0x56a618[_0x49f03a(0x240)]&&_0x3c546c['setSortInfo'](_0x56a618['id'],_0x56a618[_0x49f03a(0x240)]),_0x56a618[_0x49f03a(0x438)]&&_0x3c546c['setLabelFilterInfo'](_0x56a618['id'],_0x56a618[_0x49f03a(0x438)]),_0x56a618[_0x49f03a(0x3fb)]&&_0x3c546c[_0x49f03a(0x373)](_0x56a618['id'],_0x56a618[_0x49f03a(0x3fb)]));}for(const _0x19d75d of _0x2096f7){const _0x461a85=_0xbc1c7[_0x19d75d];_0x461a85&&_0x3c546c[_0x49f03a(0x24f)](_0x461a85[_0x49f03a(0x1a0)])&&(_0x3c546c[_0x49f03a(0x3dd)](_0x461a85[_0x49f03a(0x1a0)],_0x141cc9[_0x49f03a(0x3c5)]['Filter'],void 0x0,_0x19d75d),_0x461a85['sortInfo']&&_0x3c546c['setSortInfo'](_0x461a85['id'],_0x461a85[_0x49f03a(0x240)]),_0x461a85[_0x49f03a(0x438)]&&_0x3c546c['setLabelFilterInfo'](_0x461a85['id'],_0x461a85[_0x49f03a(0x438)]),_0x461a85[_0x49f03a(0x3fb)]&&_0x3c546c[_0x49f03a(0x373)](_0x461a85['id'],_0x461a85[_0x49f03a(0x3fb)]));}for(const _0x112e8d of _0x1df13e){const _0x5094d5=_0x12e41f[_0x112e8d];_0x5094d5&&_0x3c546c[_0x49f03a(0x24f)](_0x5094d5[_0x49f03a(0x1a0)])&&(_0x3c546c['addFieldWithSourceId'](_0x5094d5[_0x49f03a(0x1a0)],_0x141cc9[_0x49f03a(0x3c5)][_0x49f03a(0x441)],void 0x0,_0x112e8d),_0x5094d5[_0x49f03a(0x206)]!==void 0x0&&_0x3c546c[_0x49f03a(0x237)](_0x112e8d,_0x5094d5[_0x49f03a(0x206)]),_0x5094d5[_0x49f03a(0x25f)]&&_0x3c546c[_0x49f03a(0x2f8)](_0x112e8d,_0x5094d5['format']),_0x5094d5[_0x49f03a(0x3fb)]&&_0x3c546c['renameField'](_0x5094d5['id'],_0x5094d5[_0x49f03a(0x3fb)]));}const _0x412272=_0x121839[_0x49f03a(0x1ba)];for(const {fieldId:_0x3e6e79,filterInfo:_0xaebeb6}of _0x412272)_0x3c546c[_0x49f03a(0x19a)](_0x3e6e79,_0xaebeb6);}function _0x897923(_0x3b9cd9,_0x1e50bc){const _0x31f32f=_0x308732,_0x211c25=[];_0x1e50bc===_0x141cc9['PivotTableFiledAreaEnum']['Row']&&_0x3b9cd9[_0x31f32f(0x2b5)](_0x141cc9[_0x31f32f(0x3c5)][_0x31f32f(0x355)],_0x59061c=>{const _0x196c36=_0x31f32f;_0x211c25[_0x196c36(0x411)](_0x59061c[_0x196c36(0x450)]());}),_0x1e50bc===_0x141cc9[_0x31f32f(0x3c5)]['Column']&&_0x3b9cd9['iterateFieldByArea'](_0x141cc9[_0x31f32f(0x3c5)][_0x31f32f(0x268)],_0x3d22e6=>{const _0x350757=_0x31f32f;_0x211c25[_0x350757(0x411)](_0x3d22e6[_0x350757(0x450)]());}),_0x1e50bc===_0x141cc9[_0x31f32f(0x3c5)]['Filter']&&_0x3b9cd9[_0x31f32f(0x2b5)](_0x141cc9['PivotTableFiledAreaEnum'][_0x31f32f(0x202)],_0x24980d=>{const _0xc8a749=_0x31f32f;_0x211c25['push'](_0x24980d[_0xc8a749(0x450)]());}),_0x1e50bc===_0x141cc9[_0x31f32f(0x3c5)][_0x31f32f(0x441)]&&_0x3b9cd9[_0x31f32f(0x2b5)](_0x141cc9[_0x31f32f(0x3c5)][_0x31f32f(0x441)],_0x95814b=>{const _0x5be2b7=_0x31f32f;_0x211c25[_0x5be2b7(0x411)](_0x95814b[_0x5be2b7(0x450)]());}),_0x1e50bc===void 0x0&&_0x3b9cd9[_0x31f32f(0x358)](_0x29a1e1=>{const _0x586df7=_0x31f32f;_0x211c25[_0x586df7(0x411)](_0x29a1e1[_0x586df7(0x450)]());});const _0x2a3ac9=_0x211c25[_0x31f32f(0x1bd)];for(let _0x3c999d=_0x2a3ac9-0x1;_0x3c999d>=0x0;_0x3c999d--)_0x3b9cd9[_0x31f32f(0x323)](_0x211c25[_0x3c999d]);const _0x2ff071=_0x3b9cd9[_0x31f32f(0x3c1)]();for(const _0x285d2b in _0x2ff071)_0x3b9cd9[_0x31f32f(0x1bc)](_0x285d2b);}const _0x2d1ec3='sheets-pivot.config',_0xf26158={};var _0x34f40b=Object['getOwnPropertyDescriptor'],_0x52e8a7=(_0x53d61a,_0x37a287,_0xaa72cd,_0x4bbcbb)=>{const _0x41f5dc=_0x308732;for(var _0x245ddf=_0x4bbcbb>0x1?void 0x0:_0x4bbcbb?_0x34f40b(_0x37a287,_0xaa72cd):_0x37a287,_0x15a829=_0x53d61a[_0x41f5dc(0x1bd)]-0x1,_0x1ce202;_0x15a829>=0x0;_0x15a829--)(_0x1ce202=_0x53d61a[_0x15a829])&&(_0x245ddf=_0x1ce202(_0x245ddf)||_0x245ddf);return _0x245ddf;},_0x339b0c=(_0x4ee68b,_0x452157)=>(_0x50743a,_0x259ae5)=>_0x452157(_0x50743a,_0x259ae5,_0x4ee68b);_0x11a467['SheetsPivotTableConfigModel']=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x269b6f,_0x2b4791,_0x117d65,_0x335375,_0x55c736){const _0x25bbd3=_0x308732;super(),_0x4b363f(this,_0x25bbd3(0x395),new Map()),_0x4b363f(this,'_collectionConfigModel',new Map()),_0x4b363f(this,'_pivotTableRangeInfo',new Map()),_0x4b363f(this,_0x25bbd3(0x3c8),new Map()),_0x4b363f(this,_0x25bbd3(0x445),new _0xe61eb6[(_0x25bbd3(0x2ae))]()),_0x4b363f(this,_0x25bbd3(0x3df),new _0xe61eb6['Subject']()),_0x4b363f(this,_0x25bbd3(0x2d3),this['_pivotInitCompleted$']['asObservable']()),_0x4b363f(this,'_pivotConfigChange$',new _0xe61eb6['Subject']()),_0x4b363f(this,_0x25bbd3(0x356),this[_0x25bbd3(0x291)][_0x25bbd3(0x24a)]()),_0x4b363f(this,'_textInfo',{}),_0x4b363f(this,_0x25bbd3(0x44a),this['_configVersion$'][_0x25bbd3(0x24a)]()),(this[_0x25bbd3(0x320)]=_0x269b6f,this[_0x25bbd3(0x325)]=_0x2b4791,this[_0x25bbd3(0x2eb)]=_0x117d65,this['_resourceManagerService']=_0x335375,this[_0x25bbd3(0x17d)]=_0x55c736,this['_initLocale'](),this[_0x25bbd3(0x296)]());const _0x20fbe3=this['_configService'][_0x25bbd3(0x176)](_0x2d1ec3);(_0x20fbe3==null?void 0x0:_0x20fbe3[_0x25bbd3(0x328)])===!0x0&&this[_0x25bbd3(0x1a9)]();}[_0x308732(0x296)](){const _0x834621=_0x308732;this[_0x834621(0x235)](this[_0x834621(0x2eb)][_0x834621(0x458)](_0x4cef4c['UniverInstanceType'][_0x834621(0x262)])[_0x834621(0x321)](_0x2e0438=>{this['deleteUnitId'](_0x2e0438['getUnitId']());}));}[_0x308732(0x1d4)](){const _0x327e4b=_0x308732;this[_0x327e4b(0x3df)][_0x327e4b(0x43d)](!0x0);}[_0x308732(0x324)](){const _0x57f14e=_0x308732,_0x1ec76c=_0x33d076(this[_0x57f14e(0x320)],_0x196990,'',{});this[_0x57f14e(0x1ce)]=_0x1ec76c,this['_commandService']['executeCommand'](_0x1b21fb['id'],{'textInfo':_0x1ec76c},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x3c7c64=_0x308732;return this[_0x3c7c64(0x1ce)];}['updateViewInfo'](_0x176849,_0x4fa4a9,_0x6ddd8e,_0x55973c,_0x55f97c){const _0x28b39d=_0x308732;this['updatePivotTableMatrixInfo'](_0x176849,_0x4fa4a9,_0x6ddd8e,_0x55973c),this[_0x28b39d(0x2e0)](_0x176849,_0x4fa4a9,_0x6ddd8e,_0x55f97c);}[_0x308732(0x332)](_0x5f2dd6,_0x2c3590,_0x30af2a){const _0x10291c=_0x308732;var _0x166c15;const _0xebd5c8=(_0x166c15=this[_0x10291c(0x395)]['get'](_0x5f2dd6))==null?void 0x0:_0x166c15[_0x10291c(0x1d2)](_0x2c3590);if(_0xebd5c8)return _0xebd5c8['get'](_0x30af2a);}[_0x308732(0x30d)](_0x4d9ffa,_0x24c96c){const _0xb9afb5=_0x308732,_0x5a065e=this[_0xb9afb5(0x395)][_0xb9afb5(0x1d2)](_0x4d9ffa);if(_0x5a065e){for(const [_0x4a39fc,_0xf3158b]of _0x5a065e['entries']())for(const [_0x6cc8f9,_0x9ba319]of _0xf3158b[_0xb9afb5(0x2fe)]())if(_0x6cc8f9===_0x24c96c)return _0x9ba319[_0xb9afb5(0x2b1)];}}['getTargetByPivotId'](_0x13508b,_0x2fb861,_0x4266dc){const _0x6cf0ac=_0x308732,_0x4f88f3=this[_0x6cf0ac(0x332)](_0x13508b,_0x2fb861,_0x4266dc);return _0x4f88f3==null?void 0x0:_0x4f88f3[_0x6cf0ac(0x2b1)];}['getSubUnitPivotConfigs'](_0x2208d6,_0x21437b){const _0x7046db=_0x308732;var _0x5d5560;return(_0x5d5560=this[_0x7046db(0x395)]['get'](_0x2208d6))==null?void 0x0:_0x5d5560[_0x7046db(0x1d2)](_0x21437b);}[_0x308732(0x269)](_0x10b269,_0x208e33,_0x74aaf9,_0x264927){const _0x82e31b=_0x308732,_0x48afcc=this[_0x82e31b(0x1a5)](_0x10b269,_0x208e33);_0x264927?_0x48afcc['set'](_0x74aaf9,_0x264927):_0x48afcc[_0x82e31b(0x1b9)](_0x74aaf9),this[_0x82e31b(0x291)]['next']({'unitId':_0x10b269,'subUnitId':_0x208e33,'pivotTableId':_0x74aaf9,'pivotTableConfig':_0x264927});}['getCollection'](_0x2858ab,_0x515567){const _0x59ff31=_0x308732;var _0x40079e;return(_0x40079e=this['_collectionConfigModel'][_0x59ff31(0x1d2)](_0x2858ab))==null?void 0x0:_0x40079e['collections'][_0x515567];}[_0x308732(0x304)](_0x407f49,_0x23dae9){const _0x31ccd4=_0x308732;this[_0x31ccd4(0x241)][_0x31ccd4(0x3f0)](_0x407f49,_0x23dae9),this[_0x31ccd4(0x445)][_0x31ccd4(0x43d)](Math['random']());}[_0x308732(0x1a5)](_0x56a6a4,_0x1a52f1){const _0x21ab5a=_0x308732;let _0x1332d2=this[_0x21ab5a(0x395)][_0x21ab5a(0x1d2)](_0x56a6a4);_0x1332d2||(_0x1332d2=new Map(),this[_0x21ab5a(0x395)][_0x21ab5a(0x3f0)](_0x56a6a4,_0x1332d2));let _0x1e937f=_0x1332d2[_0x21ab5a(0x1d2)](_0x1a52f1);return _0x1e937f||(_0x1e937f=new Map(),_0x1332d2[_0x21ab5a(0x3f0)](_0x1a52f1,_0x1e937f)),_0x1e937f;}['_ensurePivotTableRangeInfo'](_0x52b0d2,_0xddb0a7){const _0x212c00=_0x308732;let _0x10392c=this[_0x212c00(0x351)][_0x212c00(0x1d2)](_0x52b0d2);_0x10392c||(_0x10392c=new Map(),this[_0x212c00(0x351)][_0x212c00(0x3f0)](_0x52b0d2,_0x10392c));let _0x4e7d98=_0x10392c['get'](_0xddb0a7);return _0x4e7d98||(_0x4e7d98=new Map(),_0x10392c[_0x212c00(0x3f0)](_0xddb0a7,_0x4e7d98)),_0x4e7d98;}[_0x308732(0x26b)](_0x330d50,_0x5ec8ff){const _0x4ce41a=_0x308732;let _0x52426f=this['_pivotTableMatrixInfo']['get'](_0x330d50);_0x52426f||(_0x52426f=new Map(),this[_0x4ce41a(0x3c8)][_0x4ce41a(0x3f0)](_0x330d50,_0x52426f));let _0xb1a8e2=_0x52426f[_0x4ce41a(0x1d2)](_0x5ec8ff);return _0xb1a8e2||(_0xb1a8e2=new Map(),_0x52426f['set'](_0x5ec8ff,_0xb1a8e2)),_0xb1a8e2;}[_0x308732(0x2e0)](_0x51c8a6,_0x53884e,_0x3b3ba6,_0x3ff107){const _0x21a9e3=_0x308732;var _0x69378e;const _0x1c8383=this['_ensurePivotTableRangeInfo'](_0x51c8a6,_0x53884e),_0x8e3868=(_0x69378e=_0x1c8383[_0x21a9e3(0x1d2)](_0x3b3ba6))==null?void 0x0:_0x69378e['oldRangeInfo'];_0x1c8383[_0x21a9e3(0x3f0)](_0x3b3ba6,{'oldRangeInfo':_0x8e3868,'rangeInfo':_0x3ff107});}[_0x308732(0x32e)](_0xd09397,_0x89a05c,_0x18b5a0,_0x595c18){const _0x322000=_0x308732;var _0x38c8ce;const _0x5648cb=this['_ensurePivotTableMatrixInfo'](_0xd09397,_0x89a05c),_0x1a8868=(_0x38c8ce=_0x5648cb[_0x322000(0x1d2)](_0x18b5a0))==null?void 0x0:_0x38c8ce['oldMatrix'];_0x5648cb[_0x322000(0x3f0)](_0x18b5a0,{'oldMatrix':_0x1a8868,'matrix':_0x595c18});}[_0x308732(0x1fd)](_0x47376b,_0x557146,_0xb8c199){const _0x16b431=_0x308732;var _0xaae245,_0x36b800;return(_0x36b800=(_0xaae245=this[_0x16b431(0x351)]['get'](_0x47376b))==null?void 0x0:_0xaae245['get'](_0x557146))==null?void 0x0:_0x36b800[_0x16b431(0x1d2)](_0xb8c199);}['getPivotTableMatrixInfo'](_0x274764,_0x4bbe14,_0x482ac7){const _0x5d1572=_0x308732;var _0x54999f,_0xf91e8;return(_0xf91e8=(_0x54999f=this[_0x5d1572(0x3c8)][_0x5d1572(0x1d2)](_0x274764))==null?void 0x0:_0x54999f[_0x5d1572(0x1d2)](_0x4bbe14))==null?void 0x0:_0xf91e8['get'](_0x482ac7);}[_0x308732(0x178)](_0x10bd5d){const _0x35fddf=_0x308732;this['_model'][_0x35fddf(0x1b9)](_0x10bd5d),this[_0x35fddf(0x241)][_0x35fddf(0x1b9)](_0x10bd5d);}['_toJSON'](_0x2c5b14){const _0x47566d=_0x308732,_0x2b7f6d={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel']['get'](_0x2c5b14)&&(_0x2b7f6d[_0x47566d(0x184)][_0x2c5b14]=this['_collectionConfigModel'][_0x47566d(0x1d2)](_0x2c5b14)),this[_0x47566d(0x395)][_0x47566d(0x1d2)](_0x2c5b14)){_0x2b7f6d[_0x47566d(0x31b)][_0x2c5b14]={};const _0x6c65af=this[_0x47566d(0x395)]['get'](_0x2c5b14);_0x6c65af!=null&&_0x6c65af[_0x47566d(0x406)]&&[..._0x6c65af['keys']()]['forEach'](_0xc7a40=>{const _0x44e099=_0x47566d,_0x33bde0=_0x6c65af[_0x44e099(0x1d2)](_0xc7a40);_0x33bde0!=null&&_0x33bde0[_0x44e099(0x406)]&&(_0x2b7f6d[_0x44e099(0x31b)][_0x2c5b14][_0xc7a40]={},[..._0x33bde0[_0x44e099(0x263)]()][_0x44e099(0x396)](_0x2aab15=>{const _0x28f55a=_0x44e099,_0x26419f=_0x33bde0[_0x28f55a(0x1d2)](_0x2aab15);_0x26419f&&(_0x2b7f6d[_0x28f55a(0x31b)][_0x2c5b14][_0xc7a40][_0x2aab15]=_0x26419f);}));});}return _0x2b7f6d;}[_0x308732(0x1a9)](){const _0x9570e1=_0x308732;this['disposeWithMe'](this['_resourceManagerService']['registerPluginResource']({'toJson':_0x199941=>JSON[_0x9570e1(0x2ba)](this[_0x9570e1(0x21b)](_0x199941)),'parseJson':_0x1176f7=>({}),'businesses':[_0x4cef4c[_0x9570e1(0x25d)][_0x9570e1(0x262)]],'pluginName':_0x521977,'onLoad':(_0x1bc5c8,_0x2ba191)=>{},'onUnLoad':_0xb41d4a=>{const _0xd9ee19=_0x9570e1;this[_0xd9ee19(0x178)](_0xb41d4a);}}));}},_0x11a467[_0x308732(0x1fa)]=_0x52e8a7([_0x339b0c(0x0,_0x4cef4c['Inject'](_0x4cef4c['Injector'])),_0x339b0c(0x1,_0x4cef4c['Inject'](_0x4cef4c['ICommandService'])),_0x339b0c(0x2,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x275)])),_0x339b0c(0x3,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c['IResourceManagerService'])),_0x339b0c(0x4,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c['IConfigService']))],_0x11a467[_0x308732(0x1fa)]);var _0x4d38c0=Object[_0x308732(0x456)],_0xa9d5fb=(_0x4a1088,_0x17acc6,_0x5cfa36,_0x1a4ca8)=>{const _0x5109e8=_0x308732;for(var _0x22dd38=_0x1a4ca8>0x1?void 0x0:_0x1a4ca8?_0x4d38c0(_0x17acc6,_0x5cfa36):_0x17acc6,_0x2ae192=_0x4a1088[_0x5109e8(0x1bd)]-0x1,_0x430077;_0x2ae192>=0x0;_0x2ae192--)(_0x430077=_0x4a1088[_0x2ae192])&&(_0x22dd38=_0x430077(_0x22dd38)||_0x22dd38);return _0x22dd38;},_0x7d1e4b=(_0x2511ea,_0x4d8220)=>(_0x40478f,_0x3359bf)=>_0x4d8220(_0x40478f,_0x3359bf,_0x2511ea);_0x11a467[_0x308732(0x236)]=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x435d38,_0x391aa8,_0x454710,_0x2ec84c,_0x30d1a3){const _0x1f4fbd=_0x308732;super(),_0x4b363f(this,'_pivotRenderInfoCache',new Map()),_0x4b363f(this,'_pivotRenderValueMatrixCache',new Map()),_0x4b363f(this,_0x1f4fbd(0x2db),new _0xe61eb6[(_0x1f4fbd(0x2ae))]()),_0x4b363f(this,_0x1f4fbd(0x238),this['_markDirty$'][_0x1f4fbd(0x24a)]()),_0x4b363f(this,'_viewUpdate$',new _0xe61eb6['Subject']()),_0x4b363f(this,'viewUpdate$',this[_0x1f4fbd(0x19c)]['asObservable']()),_0x4b363f(this,'_textInfo'),(this['_localeService']=_0x435d38,this[_0x1f4fbd(0x320)]=_0x391aa8,this[_0x1f4fbd(0x2e1)]=_0x454710,this[_0x1f4fbd(0x2eb)]=_0x2ec84c,this[_0x1f4fbd(0x281)]=_0x30d1a3,this[_0x1f4fbd(0x324)](),this[_0x1f4fbd(0x296)]());}[_0x308732(0x296)](){const _0x379335=_0x308732;this[_0x379335(0x235)](this[_0x379335(0x2eb)]['getTypeOfUnitDisposed$'](_0x4cef4c[_0x379335(0x25d)][_0x379335(0x262)])[_0x379335(0x321)](_0x2270c1=>{const _0x39e44c=_0x379335;this['deleteUnitId'](_0x2270c1[_0x39e44c(0x2a3)]());}));}[_0x308732(0x324)](){const _0x30e915=_0x308732;this[_0x30e915(0x1ce)]=_0x33d076(this[_0x30e915(0x320)],_0x196990,'',{});}[_0x308732(0x271)](_0x28ab7b){const _0x1a02a0=_0x308732,{view:_0x447a4a,unitId:_0x8abfd,subUnitId:_0x1b589a,pivotTableId:_0x4eb139,type:_0x117024}=_0x28ab7b,_0x3be848=this[_0x1a02a0(0x2e1)][_0x1a02a0(0x332)](_0x8abfd,_0x1b589a,_0x4eb139);if(!_0x447a4a||!_0x3be848||_0x117024===_0x171aea['Delete'])return;const {pageView:_0x4d84fa,cornerView:_0x239bad,rowView:_0x139de3,colView:_0x4111ec,dataView:_0x5b30fd}=_0x447a4a,_0x3c3e76=_0x3be848[_0x1a02a0(0x2b1)],_0x1786aa=_0x3be848[_0x1a02a0(0x327)],_0x31a20e=this[_0x1a02a0(0x289)](_0x8abfd,_0x1b589a),_0x2475f6=this[_0x1a02a0(0x408)](_0x8abfd,_0x1b589a,_0x4eb139);if(_0x1786aa)return this['_updateRenderEmptyCache'](_0x28ab7b,_0x31a20e,_0x3c3e76,_0x2475f6);{const _0x1fe896=_0x1ac2c6(_0x3c3e76,_0x4d84fa,!0x0),_0x5163fd=_0x4d84fa[_0x1a02a0(0x415)]>=0x0?_0x4d84fa[_0x1a02a0(0x415)]+0x1:0x0,_0x1704cf=_0x239bad['getRowCount'](),_0x428a06=_0x239bad[_0x1a02a0(0x3b9)](),_0x48f083=_0x1fe896[_0x1a02a0(0x1bd)]>0x0?_0x2d1a4a:0x0,_0x536871=_0x1ac2c6({'row':_0x3c3e76[_0x1a02a0(0x3ec)]+_0x5163fd+_0x48f083,'col':_0x3c3e76[_0x1a02a0(0x36d)]},_0x239bad,!0x1,!0x1),_0x397e9c=_0x1ac2c6({'row':_0x3c3e76[_0x1a02a0(0x3ec)]+_0x5163fd+_0x48f083+_0x1704cf,'col':_0x3c3e76[_0x1a02a0(0x36d)]},_0x139de3,!0x1,!0x0),_0x25606f=_0x1ac2c6({'row':_0x3c3e76[_0x1a02a0(0x3ec)]+_0x5163fd+_0x48f083,'col':_0x3c3e76[_0x1a02a0(0x36d)]+_0x428a06},_0x4111ec,!0x1,!0x0),_0x47db7a=_0x1ac2c6({'row':_0x3c3e76[_0x1a02a0(0x3ec)]+_0x5163fd+_0x48f083+_0x1704cf,'col':_0x3c3e76['col']+_0x428a06},_0x5b30fd,!0x1,!0x1);_0x2475f6[_0x1a02a0(0x1e9)]={'rowRanges':_0x397e9c,'colRanges':_0x25606f,'cornerRanges':_0x536871,'dataRanges':_0x47db7a,'pageRanges':_0x1fe896};const _0x580238=_0x2e152d(this[_0x1a02a0(0x320)],_0x447a4a,_0x3be848,this[_0x1a02a0(0x1ce)]),{valueMatrix:_0x5ed80f,rowInfo:_0x58075f,colInfo:_0x3a486e,cornerInfo:_0x485ad7,rowHeaderMap:_0x53dec9,colHeaderMap:_0x1c897e}=_0x580238;return _0x2475f6[_0x1a02a0(0x352)]={'rowInfo':_0x58075f,'colInfo':_0x3a486e,'cornerInfo':_0x485ad7},_0x2475f6['headerMap']={'rowHeaderMap':_0x53dec9,'colHeaderMap':_0x1c897e},_0x5ed80f['forEach']((_0x2dab52,_0x2f97f0)=>{const _0x4b2e21=_0x1a02a0;Object[_0x4b2e21(0x263)](_0x2f97f0)['forEach'](_0x5b92fb=>{const _0x1060ac=_0x4b2e21,_0x2e3032=+_0x5b92fb,_0x4c8303=_0x5ed80f[_0x1060ac(0x2f2)](_0x2dab52,_0x2e3032);_0x31a20e['setValue'](_0x2dab52,_0x2e3032,_0x4c8303);});}),this[_0x1a02a0(0x19c)][_0x1a02a0(0x43d)]({'unitId':_0x8abfd,'subUnitId':_0x1b589a,'valueMatrix':_0x31a20e,'rangesCache':_0x2475f6[_0x1a02a0(0x1e9)],'pivotTableId':_0x4eb139,'type':_0x28ab7b[_0x1a02a0(0x1cc)]}),this[_0x1a02a0(0x2e1)]['updateViewInfo'](_0x8abfd,_0x1b589a,_0x4eb139,_0x31a20e,_0x2475f6[_0x1a02a0(0x1e9)]),this['_exclusiveRangeService']['addExclusiveRange'](_0x8abfd,_0x1b589a,_0x4aefdf,this[_0x1a02a0(0x2f5)](_0x2475f6[_0x1a02a0(0x1e9)],_0x4eb139)),{'rangeCache':_0x2475f6[_0x1a02a0(0x1e9)],'matrix':_0x31a20e};}}[_0x308732(0x44e)](_0x36e44f,_0x2c28ea,_0x4dd1ce,_0x2e8744){const _0x4fb1a2=_0x308732,_0x2e0297=this[_0x4fb1a2(0x344)]['t'],{unitId:_0x3dc2d9,subUnitId:_0x270dd8,pivotTableId:_0x17309f}=_0x36e44f,_0x52091d={'filter':_0x2e0297(_0x4fb1a2(0x28e)),'row':_0x2e0297(_0x4fb1a2(0x18a)),'column':_0x2e0297(_0x4fb1a2(0x1d9)),'values':_0x2e0297(_0x4fb1a2(0x1e3))},{matrixCache:_0x107d01,rangesCache:_0x54eb39}=_0x33463f(_0x52091d,_0x4dd1ce);return _0x107d01[_0x4fb1a2(0x32d)]((_0x458f83,_0xa0fa56,_0x2c86df)=>{const _0x436933=_0x4fb1a2;_0x2c28ea[_0x436933(0x186)](_0x458f83,_0xa0fa56,_0x2c86df);}),_0x2e8744[_0x4fb1a2(0x1e9)]=_0x54eb39,this['_viewUpdate$'][_0x4fb1a2(0x43d)]({'unitId':_0x3dc2d9,'subUnitId':_0x270dd8,'valueMatrix':_0x2c28ea,'rangesCache':_0x54eb39,'pivotTableId':_0x17309f,'type':_0x36e44f['type'],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x3dc2d9,_0x270dd8,_0x17309f,_0x2c28ea,_0x54eb39),this[_0x4fb1a2(0x281)][_0x4fb1a2(0x337)](_0x3dc2d9,_0x270dd8,_0x4aefdf,this['_createExclusiveRange'](_0x54eb39,_0x17309f)),{'rangeCache':_0x2e8744[_0x4fb1a2(0x1e9)],'matrix':_0x2c28ea};}[_0x308732(0x2f5)](_0x446ca9,_0x546bb7){const _0x5d012c=_0x308732,_0x137770=[],_0x36ee49=_0x1c98f6(_0x446ca9);for(const _0x20914a of _0x36ee49)_0x137770[_0x5d012c(0x411)]({'groupId':_0x546bb7,'range':_0x20914a});return _0x137770;}[_0x308732(0x208)](_0xf520c9){const _0xc9db2d=_0x308732;var _0x5ea898,_0x3fb7e6,_0x455979,_0x22ee0d;const {pivotTableId:_0xdcc02c,unitId:_0x708909,subUnitId:_0x469581}=_0xf520c9;if(!_0xdcc02c||!_0x708909||!_0x469581)return;const _0x26c9c4=this['_ensurePivotItemRenderValueMatrixCache'](_0x708909,_0x469581),_0x51a389=(_0x3fb7e6=(_0x5ea898=this[_0xc9db2d(0x2d8)][_0xc9db2d(0x1d2)](_0x708909))==null?void 0x0:_0x5ea898['get'](_0x469581))==null?void 0x0:_0x3fb7e6[_0xc9db2d(0x1d2)](_0xdcc02c);if(_0x51a389!=null&&_0x51a389['rangesInfo']){for(const _0x4943f5 of Object[_0xc9db2d(0x263)](_0x51a389[_0xc9db2d(0x1e9)]))_0x51a389[_0xc9db2d(0x1e9)][_0x4943f5]['forEach'](_0x187949=>{const _0x49fd27=_0xc9db2d;for(let _0x501b9f=_0x187949['startRow'];_0x501b9f<=_0x187949[_0x49fd27(0x35d)];_0x501b9f++)for(let _0x9cf3ac=_0x187949[_0x49fd27(0x28d)];_0x9cf3ac<=_0x187949[_0x49fd27(0x2e4)];_0x9cf3ac++)_0x26c9c4[_0x49fd27(0x3e7)](_0x501b9f,_0x9cf3ac);});}_0x51a389&&((_0x22ee0d=(_0x455979=this['_pivotRenderInfoCache'][_0xc9db2d(0x1d2)](_0x708909))==null?void 0x0:_0x455979['get'](_0x469581))==null||_0x22ee0d[_0xc9db2d(0x1b9)](_0xdcc02c)),this[_0xc9db2d(0x19c)][_0xc9db2d(0x43d)]({'unitId':_0x708909,'subUnitId':_0x469581,'valueMatrix':_0x26c9c4,'pivotTableId':_0xdcc02c,'rangesCache':void 0x0,'type':_0xf520c9[_0xc9db2d(0x1cc)]}),this[_0xc9db2d(0x281)]['clearExclusiveRangesByGroupId'](_0x708909,_0x469581,_0x4aefdf,_0xdcc02c);}[_0x308732(0x408)](_0x43d40b,_0x5a010e,_0x1c2699){const _0x27ed27=_0x308732;var _0x46d1a3,_0x44cf96,_0x306c3c,_0x1d0df1,_0x5499ba,_0x14b6b6;return this[_0x27ed27(0x2d8)][_0x27ed27(0x223)](_0x43d40b)||this[_0x27ed27(0x2d8)]['set'](_0x43d40b,new Map()),(_0x46d1a3=this[_0x27ed27(0x2d8)]['get'](_0x43d40b))!=null&&_0x46d1a3[_0x27ed27(0x223)](_0x5a010e)||(_0x44cf96=this[_0x27ed27(0x2d8)][_0x27ed27(0x1d2)](_0x43d40b))==null||_0x44cf96[_0x27ed27(0x3f0)](_0x5a010e,new Map()),(_0x1d0df1=(_0x306c3c=this[_0x27ed27(0x2d8)]['get'](_0x43d40b))==null?void 0x0:_0x306c3c['get'](_0x5a010e))!=null&&_0x1d0df1['has'](_0x1c2699)||(_0x14b6b6=(_0x5499ba=this[_0x27ed27(0x2d8)][_0x27ed27(0x1d2)](_0x43d40b))==null?void 0x0:_0x5499ba[_0x27ed27(0x1d2)](_0x5a010e))==null||_0x14b6b6['set'](_0x1c2699,{}),this['_pivotRenderInfoCache'][_0x27ed27(0x1d2)](_0x43d40b)['get'](_0x5a010e)['get'](_0x1c2699);}[_0x308732(0x289)](_0x41b6e7,_0x11bb5){const _0x6392fd=_0x308732;var _0x527170,_0x379796;return this['_pivotRenderValueMatrixCache'][_0x6392fd(0x223)](_0x41b6e7)||this[_0x6392fd(0x3d1)][_0x6392fd(0x3f0)](_0x41b6e7,new Map()),(_0x527170=this[_0x6392fd(0x3d1)][_0x6392fd(0x1d2)](_0x41b6e7))!=null&&_0x527170[_0x6392fd(0x223)](_0x11bb5)||(_0x379796=this['_pivotRenderValueMatrixCache'][_0x6392fd(0x1d2)](_0x41b6e7))==null||_0x379796['set'](_0x11bb5,new _0x4cef4c[(_0x6392fd(0x3de))]()),this['_pivotRenderValueMatrixCache'][_0x6392fd(0x1d2)](_0x41b6e7)[_0x6392fd(0x1d2)](_0x11bb5);}[_0x308732(0x305)](_0x3c42bf,_0x1401bf,_0x369827,_0x14992a){const _0x1fdcab=_0x308732;var _0x55e6a9,_0x431133;const _0x546516=(_0x431133=(_0x55e6a9=this[_0x1fdcab(0x3d1)]['get'](_0x3c42bf))==null?void 0x0:_0x55e6a9[_0x1fdcab(0x1d2)](_0x1401bf))==null?void 0x0:_0x431133[_0x1fdcab(0x2f2)](_0x369827,_0x14992a);if(_0x546516!=null)return _0x546516;}[_0x308732(0x21c)](_0x5142eb,_0x101e53,_0x5d617e,_0x3960f0){const _0x350a08=_0x308732;var _0x23bd90;const _0x212219=_0x4cef4c[_0x350a08(0x284)](_0x5d617e,_0x3960f0),_0xe1cd6a=(_0x23bd90=this['_pivotRenderInfoCache'][_0x350a08(0x1d2)](_0x5142eb))==null?void 0x0:_0x23bd90[_0x350a08(0x1d2)](_0x101e53);return _0xe1cd6a?Array['from'](_0xe1cd6a[_0x350a08(0x263)]())[_0x350a08(0x188)](_0x36cfe6=>{const _0x1e4415=_0x350a08,_0x343a67=_0xe1cd6a[_0x1e4415(0x1d2)](_0x36cfe6),_0x5cf454=_0x343a67==null?void 0x0:_0x343a67[_0x1e4415(0x1e9)];return _0x5cf454?Object['keys'](_0x5cf454)['some'](_0x4082dc=>_0x5cf454[_0x4082dc][_0x1e4415(0x2d6)](_0xeb21a9=>_0x4cef4c[_0x1e4415(0x222)][_0x1e4415(0x354)](_0xeb21a9,_0x212219))):!0x1;}):void 0x0;}[_0x308732(0x246)](_0x52e3c5,_0x42982c,_0x4624ba){const _0x49e22c=_0x308732;var _0x2a728e;const _0x23b874=(_0x2a728e=this[_0x49e22c(0x2d8)][_0x49e22c(0x1d2)](_0x52e3c5))==null?void 0x0:_0x2a728e[_0x49e22c(0x1d2)](_0x42982c),_0x370d9b=[];return _0x23b874&&Array['from'](_0x23b874[_0x49e22c(0x263)]())[_0x49e22c(0x396)](_0x434c19=>{const _0x456a4b=_0x49e22c,_0x36aa2e=_0x23b874[_0x456a4b(0x1d2)](_0x434c19),_0x82905a=_0x36aa2e==null?void 0x0:_0x36aa2e[_0x456a4b(0x1e9)];if(_0x82905a)for(const _0x2c093b of Object[_0x456a4b(0x1dc)](_0x82905a)){let _0x2a9f7a=!0x1;for(const _0x256ec2 of _0x2c093b)if(_0x4cef4c[_0x456a4b(0x222)][_0x456a4b(0x28c)](_0x256ec2,_0x4624ba)){_0x370d9b[_0x456a4b(0x411)](_0x434c19),_0x2a9f7a=!0x0;break;}if(_0x2a9f7a)break;}}),_0x370d9b;}[_0x308732(0x1df)](_0x190653,_0x21e028){const _0x15f95e=_0x308732;var _0x1ef803,_0x594028;return(_0x594028=(_0x1ef803=this['_pivotRenderValueMatrixCache'][_0x15f95e(0x1d2)](_0x190653))==null?void 0x0:_0x1ef803['get'](_0x21e028))!=null?_0x594028:new _0x4cef4c[(_0x15f95e(0x3de))]();}[_0x308732(0x1da)](_0xdbb214,_0x2c425d,_0x449056){const _0x7e865a=_0x308732;var _0x2b6e87,_0x3af24e;return(_0x3af24e=(_0x2b6e87=this[_0x7e865a(0x2d8)][_0x7e865a(0x1d2)](_0xdbb214))==null?void 0x0:_0x2b6e87[_0x7e865a(0x1d2)](_0x2c425d))==null?void 0x0:_0x3af24e[_0x7e865a(0x1d2)](_0x449056);}[_0x308732(0x178)](_0x23f339){const _0x617e05=_0x308732;this[_0x617e05(0x2d8)]['delete'](_0x23f339),this[_0x617e05(0x3d1)]['delete'](_0x23f339);}[_0x308732(0x391)](_0xaf6cb6,_0x519df3){const _0x2c5be8=_0x308732;this['_markDirty$'][_0x2c5be8(0x43d)]({'unitId':_0xaf6cb6,'subUnitId':_0x519df3});}},_0x11a467[_0x308732(0x236)]=_0xa9d5fb([_0x7d1e4b(0x0,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x41c)])),_0x7d1e4b(0x1,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x297)])),_0x7d1e4b(0x2,_0x4cef4c['Inject'](_0x11a467[_0x308732(0x1fa)])),_0x7d1e4b(0x3,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x275)])),_0x7d1e4b(0x4,_0x4cef4c[_0x308732(0x27c)](_0x553681[_0x308732(0x175)]))],_0x11a467[_0x308732(0x236)]);var _0x40bbd4=Object[_0x308732(0x456)],_0x589325=(_0x5a71d6,_0x23c9db,_0x41c203,_0x1e98bb)=>{const _0x52334b=_0x308732;for(var _0x2507c0=_0x1e98bb>0x1?void 0x0:_0x1e98bb?_0x40bbd4(_0x23c9db,_0x41c203):_0x23c9db,_0x515da7=_0x5a71d6[_0x52334b(0x1bd)]-0x1,_0x1a1ecd;_0x515da7>=0x0;_0x515da7--)(_0x1a1ecd=_0x5a71d6[_0x515da7])&&(_0x2507c0=_0x1a1ecd(_0x2507c0)||_0x2507c0);return _0x2507c0;},_0x12927f=(_0x52d9df,_0x713e44)=>(_0x54939a,_0xd6eca5)=>_0x713e44(_0x54939a,_0xd6eca5,_0x52d9df);_0x11a467['SheetsPivotTableService']=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x39025d,_0x43183a){const _0x178444=_0x308732;super(),_0x4b363f(this,_0x178444(0x449),new _0x4cef4c[(_0x178444(0x3f4))]({'PIVOT_PERFORM_CHECK':_0x2f89b0})),_0x4b363f(this,_0x178444(0x439),new _0x4cef4c['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x5a5358})),(this[_0x178444(0x210)]=_0x39025d,this['_sheetsPivotTableAdaptorModel']=_0x43183a,this[_0x178444(0x290)]());}['_init'](){const _0x186642=_0x308732;this[_0x186642(0x2b7)]();}[_0x308732(0x204)](_0x34e3f2){const _0x463a9e=_0x308732;return this[_0x463a9e(0x449)]['fetchThroughAsyncInterceptors'](_0x2f89b0)(!0x1,_0x34e3f2);}[_0x308732(0x2b7)](){const _0x3b2303=_0x308732;this[_0x3b2303(0x235)](this[_0x3b2303(0x210)][_0x3b2303(0x30e)](_0x553681[_0x3b2303(0x23d)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x4cef4c['InterceptorEffectEnum'][_0x3b2303(0x441)]|_0x4cef4c[_0x3b2303(0x29b)][_0x3b2303(0x34c)],'handler':(_0x2fcf95,_0x401a18,_0x3bf04e)=>{const _0x515eb5=_0x3b2303,{row:_0x171be8,col:_0x1c2f61,unitId:_0x7ead95,subUnitId:_0x398979,workbook:_0x43be09}=_0x401a18,_0x4b8184=this[_0x515eb5(0x1fb)]['getPivotTableCellData'](_0x7ead95,_0x398979,_0x171be8,_0x1c2f61);if(!_0x4b8184)return _0x3bf04e(_0x2fcf95);const _0x4dc0b1={..._0x2fcf95};(_0x4b8184['v']||_0x4b8184['v']===0x0)&&(_0x4dc0b1['v']=_0x4b8184['v']),_0x4b8184['t']&&(_0x4dc0b1['t']=_0x4b8184['t']);const _0x343102=(typeof(_0x2fcf95==null?void 0x0:_0x2fcf95['s'])==_0x515eb5(0x382)?_0x43be09['getStyles']()['get'](_0x2fcf95==null?void 0x0:_0x2fcf95['s']):_0x2fcf95==null?void 0x0:_0x2fcf95['s'])||{},_0x52850c=_0x43be09[_0x515eb5(0x347)]()[_0x515eb5(0x1d2)](_0x4b8184['s']),_0x37bed5={..._0x52850c,..._0x343102};_0x52850c!=null&&_0x52850c['n']&&(_0x37bed5['n']=_0x52850c['n']);const _0x28bc95=_0x43be09[_0x515eb5(0x347)]()[_0x515eb5(0x186)](_0x37bed5);return _0x4dc0b1['s']=_0x28bc95,(_0x4b8184[_0x515eb5(0x2c4)]===_0x141cc9[_0x515eb5(0x2fc)]['Collapse']||_0x4b8184[_0x515eb5(0x2c4)]===_0x141cc9[_0x515eb5(0x2fc)]['Expand'])&&(_0x4dc0b1['fontRenderExtension']={},_0x4dc0b1[_0x515eb5(0x1ec)][_0x515eb5(0x2d5)]=_0x48a044),_0x3bf04e(_0x4dc0b1);}}));}},_0x11a467[_0x308732(0x38e)]=_0x589325([_0x12927f(0x0,_0x4cef4c['Inject'](_0x553681[_0x308732(0x205)])),_0x12927f(0x1,_0x4cef4c[_0x308732(0x27c)](_0x11a467[_0x308732(0x236)]))],_0x11a467['SheetsPivotTableService']);function _0x495314(_0x540e3d,_0x38e886){const _0x930e0b=_0x308732;switch(_0x38e886){case _0x141cc9[_0x930e0b(0x3c5)]['Value']:return _0x540e3d[_0x930e0b(0x40b)];case _0x141cc9['PivotTableFiledAreaEnum']['Filter']:return _0x540e3d[_0x930e0b(0x29d)];case _0x141cc9[_0x930e0b(0x3c5)][_0x930e0b(0x355)]:return _0x540e3d[_0x930e0b(0x414)];case _0x141cc9[_0x930e0b(0x3c5)][_0x930e0b(0x268)]:return _0x540e3d[_0x930e0b(0x2a8)];default:return[];}}function _0x4690bc(_0x32e50d,_0x22b1cb){const _0x14db14=_0x308732;return _0x32e50d[_0x14db14(0x440)][_0x22b1cb]||_0x32e50d[_0x14db14(0x455)][_0x22b1cb];}function _0x4b4f17(_0x104f62,_0x192a02){const _0x2408ed=_0x308732,{area:_0x59622a,fieldJson:_0x109ec7,index:_0x3824e5}=_0x192a02;_0x59622a===_0x141cc9[_0x2408ed(0x3c5)][_0x2408ed(0x441)]?_0x104f62[_0x2408ed(0x440)][_0x109ec7['id']]=_0x109ec7:_0x104f62['dimension'][_0x109ec7['id']]=_0x109ec7,_0x495314(_0x104f62,_0x59622a)[_0x2408ed(0x2b3)](_0x3824e5,0x0,_0x109ec7['id']);}function _0x184d78(_0x3cc5b9,_0x23708b){const _0x384dd2=_0x308732,{area:_0xfe47a1,fieldId:_0x1ad663,index:_0x3134d1}=_0x23708b;_0xfe47a1===_0x141cc9['PivotTableFiledAreaEnum'][_0x384dd2(0x441)]?delete _0x3cc5b9[_0x384dd2(0x440)][_0x1ad663]:delete _0x3cc5b9[_0x384dd2(0x455)][_0x1ad663],_0x495314(_0x3cc5b9,_0xfe47a1)['splice'](_0x3134d1,0x1);}function _0xbb18f8(_0x18576b,_0x4c8d88){const {fieldId:_0x5080ef,name:_0x591fe0}=_0x4c8d88,_0x44d4f7=_0x4690bc(_0x18576b,_0x5080ef);_0x44d4f7&&(_0x44d4f7['displayName']=_0x591fe0);}function _0x257669(_0x5d501c,_0x29fdde){const _0x18b41a=_0x308732,{fieldId:_0x3ecac1,collapse:_0x1499a6,item:_0x4e0271}=_0x29fdde;_0x4e0271!==void 0x0?(_0x5d501c[_0x18b41a(0x3bc)][_0x3ecac1]=_0x5d501c[_0x18b41a(0x3bc)][_0x3ecac1]||{},_0x5d501c[_0x18b41a(0x3bc)][_0x3ecac1][_0x4e0271]=_0x1499a6):_0x5d501c['collapseInfo'][_0x3ecac1]=_0x1499a6;}function _0x2ee313(_0x569d86,_0x369a39){const {fieldId:_0x5eda3a,format:_0x2b8f4f}=_0x369a39,_0x25b84c=_0x4690bc(_0x569d86,_0x5eda3a);_0x25b84c&&(_0x25b84c['format']=_0x2b8f4f);}function _0x5709e6(_0xbd7b8a,_0x15a767){const _0x3ecfe0=_0x308732,{fieldId:_0x56166a,filterInfo:_0x13371f}=_0x15a767,_0xd5c21a=_0x4690bc(_0xbd7b8a,_0x56166a);_0xd5c21a&&(_0xd5c21a[_0x3ecfe0(0x438)]=_0x13371f);}function _0x54273c(_0x27ae0b,_0x14a89c){const _0x307dba=_0x308732,{fieldId:_0x3105b3,filterInfo:_0x14894a}=_0x14a89c,_0x13223f=_0x27ae0b['valueFilter'][_0x307dba(0x280)](_0x280fb5=>_0x280fb5[_0x307dba(0x457)]!==_0x3105b3);_0x14894a&&_0x13223f['push']({'fieldId':_0x3105b3,'filterInfo':_0x14894a}),_0x27ae0b[_0x307dba(0x1ba)]=_0x13223f;}function _0x42c58b(_0x510293,_0x4337ef){const {fieldId:_0x228059,subtotalType:_0x453169}=_0x4337ef,_0x17101e=_0x4690bc(_0x510293,_0x228059);_0x17101e&&(_0x17101e['subtotal']=_0x453169);}function _0x4a254d(_0x61c5f1,_0x4a9b47){const _0xdcd9d8=_0x308732,{fieldId:_0x290fbe,oldArea:_0x5883fb,area:_0x108474,oldIndex:_0x587d77,index:_0x4af7d9}=_0x4a9b47,_0x22ace1=_0x5883fb!==_0x141cc9['PivotTableFiledAreaEnum'][_0xdcd9d8(0x441)]&&_0x108474===_0x141cc9['PivotTableFiledAreaEnum']['Value'],_0x5bbafd=_0x5883fb===_0x141cc9[_0xdcd9d8(0x3c5)][_0xdcd9d8(0x441)]&&_0x108474!==_0x141cc9['PivotTableFiledAreaEnum'][_0xdcd9d8(0x441)];if(_0x22ace1||_0x5bbafd){const _0x1cff70=_0x4690bc(_0x61c5f1,_0x290fbe);_0x1cff70&&(_0x22ace1?(delete _0x61c5f1[_0xdcd9d8(0x455)][_0x290fbe],_0x61c5f1[_0xdcd9d8(0x440)][_0x290fbe]=_0x1cff70):(delete _0x61c5f1[_0xdcd9d8(0x440)][_0x290fbe],_0x61c5f1[_0xdcd9d8(0x455)][_0x290fbe]=_0x1cff70));}const _0x2cadb9=_0x495314(_0x61c5f1,_0x5883fb),_0x1d7f11=_0x495314(_0x61c5f1,_0x108474);_0x2cadb9[_0xdcd9d8(0x2b3)](_0x587d77,0x1),_0x1d7f11[_0xdcd9d8(0x2b3)](_0x4af7d9,0x0,_0x290fbe);}function _0x127f2e(_0x4b8e03,_0x496353){const _0x245eb9=_0x308732,{valuePosition:_0x2a1dc8,index:_0x10fd0b}=_0x496353;_0x4b8e03[_0x245eb9(0x317)]=_0x2a1dc8,_0x4b8e03[_0x245eb9(0x424)]=_0x10fd0b;}function _0x262cdd(_0x239a7a,_0x56f677){const _0x4d0419=_0x308732,{tableFieldId:_0xaf8fb7,sourceName:_0x111d60,dataFieldId:_0x41f7e7}=_0x56f677,_0x2952b4=_0x4690bc(_0x239a7a,_0xaf8fb7);_0x2952b4&&(_0x2952b4[_0x4d0419(0x23f)]=_0x111d60,_0x2952b4[_0x4d0419(0x1a0)]=_0x41f7e7);}function _0x53cfa9(_0x3acee8,_0x5f0835){const {fieldId:_0x202de0,sortInfo:_0x5e1db5}=_0x5f0835,_0x29a5b4=_0x4690bc(_0x3acee8,_0x202de0);_0x29a5b4&&(_0x29a5b4['sortInfo']=_0x5e1db5);}function _0xa54935(_0x522819,_0x54792a){const _0x141938=_0x308732,{options:_0x34c350}=_0x54792a;_0x522819['options']={..._0x522819[_0x141938(0x1b8)],..._0x34c350};}const _0x2d9886={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':_0x308732(0x17b),'handler'(_0x3141c9,_0x3fa5c8){const _0x9485d6=_0x308732;if(!_0x3fa5c8)return!0x1;if(!!_0x3141c9[_0x9485d6(0x1d2)](_0x4cef4c[_0x9485d6(0x334)])['getConfig'](_0x4001cc))return!0x0;const _0x3c606d=_0x3141c9['get'](_0x11a467[_0x9485d6(0x2a5)]),{pivotTableId:_0x44ff5c,fieldJson:_0xb0ce6a,area:_0xd77c5f,index:_0x46bb8e,unitId:_0x2c2e2a,subUnitId:_0x282490}=_0x3fa5c8,_0x27604d=_0x3c606d[_0x9485d6(0x203)](_0x44ff5c);if(!_0x27604d)return!0x1;let _0x500302;_0xd77c5f===_0x141cc9[_0x9485d6(0x3c5)][_0x9485d6(0x441)]?_0x500302=_0x141cc9[_0x9485d6(0x1c6)](_0xb0ce6a):_0x500302=_0x141cc9['createLabelField'](_0xb0ce6a),_0x27604d[_0x9485d6(0x3ce)](_0x500302,_0xd77c5f,_0x46bb8e);const _0x5f2660=_0x3c606d[_0x9485d6(0x36c)](_0x2c2e2a,_0x282490,_0x44ff5c);_0x4b4f17(_0x5f2660,_0x3fa5c8);const _0x337de3=_0x3c606d[_0x9485d6(0x332)](_0x2c2e2a,_0x282490,_0x44ff5c);return _0x3c606d[_0x9485d6(0x33a)]({'unitId':_0x2c2e2a,'subUnitId':_0x282490,'token':_0x44ff5c,'type':_0x171aea[_0x9485d6(0x454)],'pivotConfig':_0x337de3}),!0x0;}},_0x170802={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':'sheet.mutation.remove-pivot-field','handler'(_0x115773,_0xccd825){const _0x37c85e=_0x308732;if(!_0xccd825)return!0x1;if(!!_0x115773[_0x37c85e(0x1d2)](_0x4cef4c['IConfigService'])[_0x37c85e(0x176)](_0x4001cc))return!0x0;const _0x1f8781=_0x115773[_0x37c85e(0x1d2)](_0x11a467[_0x37c85e(0x2a5)]),{pivotTableId:_0x4484bc,fieldId:_0xb4111b,unitId:_0x4947ae,subUnitId:_0x47cf21}=_0xccd825,_0x391ca9=_0x1f8781['getPivotTableInstance'](_0x4484bc);if(!_0x391ca9)return!0x1;_0x391ca9[_0x37c85e(0x323)](_0xb4111b);const _0x2c473c=_0x1f8781[_0x37c85e(0x36c)](_0x4947ae,_0x47cf21,_0x4484bc);_0x184d78(_0x2c473c,_0xccd825);const _0x18ce54=_0x1f8781[_0x37c85e(0x332)](_0x4947ae,_0x47cf21,_0x4484bc);return _0x1f8781[_0x37c85e(0x33a)]({'unitId':_0x4947ae,'subUnitId':_0x47cf21,'token':_0x4484bc,'type':_0x171aea[_0x37c85e(0x454)],'pivotConfig':_0x18ce54}),!0x0;}},_0x3c464d={'type':_0x4cef4c['CommandType'][_0x308732(0x2e8)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x406e7c,_0x7d4bac){const _0x3c5c62=_0x308732;if(!_0x7d4bac)return!0x1;if(!!_0x406e7c[_0x3c5c62(0x1d2)](_0x4cef4c['IConfigService'])['getConfig'](_0x4001cc))return!0x0;const _0x5327ae=_0x406e7c[_0x3c5c62(0x1d2)](_0x11a467['SheetsPivotDataSourceModel']),{unitId:_0x1b842e,subUnitId:_0x436bcc,pivotTableId:_0x3befe5,fieldId:_0x354ad4,name:_0x564cf1}=_0x7d4bac,_0x2953b2=_0x5327ae[_0x3c5c62(0x203)](_0x3befe5);if(!_0x2953b2)return!0x1;_0x2953b2[_0x3c5c62(0x373)](_0x354ad4,_0x564cf1);const _0x51a804=_0x5327ae[_0x3c5c62(0x36c)](_0x1b842e,_0x436bcc,_0x3befe5);return _0xbb18f8(_0x51a804,_0x7d4bac),_0x5327ae[_0x3c5c62(0x33a)]({'unitId':_0x1b842e,'subUnitId':_0x436bcc,'token':_0x3befe5,'type':_0x171aea['Set']}),!0x0;}},_0x55d70a={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':_0x308732(0x3c3),'handler'(_0x3fb3ab,_0x53cbee){const _0x39e6a1=_0x308732;if(!_0x53cbee)return!0x1;if(!!_0x3fb3ab['get'](_0x4cef4c['IConfigService'])['getConfig'](_0x4001cc))return!0x0;const _0x3edf5a=_0x3fb3ab[_0x39e6a1(0x1d2)](_0x11a467[_0x39e6a1(0x2a5)]),{unitId:_0x2e8914,subUnitId:_0x1b6f1d,pivotTableId:_0x4d3153,fieldId:_0x964a2a,collapse:_0x328905,item:_0x118f83}=_0x53cbee,_0x40f81d=_0x3edf5a[_0x39e6a1(0x203)](_0x4d3153);if(!_0x40f81d)return!0x1;_0x40f81d[_0x39e6a1(0x2a6)](_0x964a2a,_0x328905,_0x118f83);const _0xb3c14f=_0x3edf5a['getPivotTableModelConfig'](_0x2e8914,_0x1b6f1d,_0x4d3153);return _0x257669(_0xb3c14f,_0x53cbee),_0x3edf5a['addDirtyPivotTable']({'unitId':_0x2e8914,'subUnitId':_0x1b6f1d,'token':_0x4d3153,'type':_0x171aea['Set']}),!0x0;}},_0x3db27b={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':_0x308732(0x402),'handler'(_0x38dd55,_0x4053f6){const _0x5c19af=_0x308732;if(!_0x4053f6)return!0x1;if(!!_0x38dd55[_0x5c19af(0x1d2)](_0x4cef4c[_0x5c19af(0x334)])['getConfig'](_0x4001cc))return!0x0;const _0x13fc35=_0x38dd55[_0x5c19af(0x1d2)](_0x11a467[_0x5c19af(0x2a5)]),{unitId:_0x1af165,subUnitId:_0x12da94,pivotTableId:_0x7e5549,fieldId:_0x256bc5,format:_0x24ad90}=_0x4053f6,_0x21242a=_0x13fc35[_0x5c19af(0x203)](_0x7e5549);if(!_0x21242a)return!0x1;_0x21242a[_0x5c19af(0x2f8)](_0x256bc5,_0x24ad90);const _0x51990a=_0x13fc35[_0x5c19af(0x36c)](_0x1af165,_0x12da94,_0x7e5549);return _0x2ee313(_0x51990a,_0x4053f6),_0x13fc35[_0x5c19af(0x33a)]({'unitId':_0x1af165,'subUnitId':_0x12da94,'token':_0x7e5549,'type':_0x171aea[_0x5c19af(0x454)]}),!0x0;}},_0x2caa76={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':_0x308732(0x282),'handler'(_0x590e65,_0x3a59d2){const _0x312192=_0x308732;if(!_0x3a59d2)return!0x1;if(!!_0x590e65[_0x312192(0x1d2)](_0x4cef4c[_0x312192(0x334)])[_0x312192(0x176)](_0x4001cc))return!0x0;const _0x1c2e5e=_0x590e65['get'](_0x11a467[_0x312192(0x2a5)]),{unitId:_0x443f44,subUnitId:_0x229ae6,pivotTableId:_0x252307,fieldId:_0x2f4b7a,filterInfo:_0x12000a}=_0x3a59d2,_0x3057d3=_0x1c2e5e[_0x312192(0x203)](_0x252307);if(!_0x3057d3)return!0x1;_0x3057d3[_0x312192(0x270)](_0x2f4b7a,_0x12000a);const _0x21c84b=_0x1c2e5e[_0x312192(0x36c)](_0x443f44,_0x229ae6,_0x252307);return _0x5709e6(_0x21c84b,_0x3a59d2),_0x1c2e5e['addDirtyPivotTable']({'unitId':_0x443f44,'subUnitId':_0x229ae6,'token':_0x252307,'type':_0x171aea['Set']}),!0x0;}},_0x1e3a71={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':_0x308732(0x452),'handler'(_0x2420fc,_0x4a1c60){const _0x59f3de=_0x308732;if(!_0x4a1c60)return!0x1;if(!!_0x2420fc[_0x59f3de(0x1d2)](_0x4cef4c[_0x59f3de(0x334)])[_0x59f3de(0x176)](_0x4001cc))return!0x0;const _0x1e388f=_0x2420fc['get'](_0x11a467[_0x59f3de(0x2a5)]),{unitId:_0x1dc8a0,subUnitId:_0x60ede0,pivotTableId:_0x4b3114,options:_0x5b6570}=_0x4a1c60,_0x25121d=_0x1e388f['getPivotTableInstance'](_0x4b3114);if(!_0x25121d)return!0x1;_0x25121d['setOptions'](_0x5b6570);const _0x5d9ee1=_0x1e388f[_0x59f3de(0x36c)](_0x1dc8a0,_0x60ede0,_0x4b3114);return _0xa54935(_0x5d9ee1,_0x4a1c60),_0x1e388f[_0x59f3de(0x33a)]({'unitId':_0x1dc8a0,'subUnitId':_0x60ede0,'token':_0x4b3114,'type':_0x171aea[_0x59f3de(0x454)]}),!0x0;}},_0x1288ae={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':_0x308732(0x383),'handler'(_0x175904,_0x185ad7){const _0x29ba0a=_0x308732;if(!_0x185ad7)return!0x1;if(!!_0x175904[_0x29ba0a(0x1d2)](_0x4cef4c[_0x29ba0a(0x334)])[_0x29ba0a(0x176)](_0x4001cc))return!0x0;const _0x405640=_0x175904['get'](_0x11a467['SheetsPivotDataSourceModel']),{unitId:_0x2fc6f1,subUnitId:_0x20b79e,pivotTableId:_0x46b71f,sortInfo:_0x5e4f6d,fieldId:_0x529e40}=_0x185ad7,_0x32c989=_0x405640[_0x29ba0a(0x203)](_0x46b71f);if(!_0x32c989)return!0x1;_0x32c989['setSortInfo'](_0x529e40,_0x5e4f6d);const _0x4fde46=_0x405640[_0x29ba0a(0x36c)](_0x2fc6f1,_0x20b79e,_0x46b71f);return _0x53cfa9(_0x4fde46,_0x185ad7),_0x405640[_0x29ba0a(0x33a)]({'unitId':_0x2fc6f1,'subUnitId':_0x20b79e,'token':_0x46b71f,'type':_0x171aea[_0x29ba0a(0x454)]}),!0x0;}},_0x226008={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':_0x308732(0x3bb),'handler'(_0x11b38e,_0xa51c65){const _0x43a647=_0x308732;if(!_0xa51c65)return!0x1;if(!!_0x11b38e[_0x43a647(0x1d2)](_0x4cef4c[_0x43a647(0x334)])[_0x43a647(0x176)](_0x4001cc))return!0x0;const _0x3b81fe=_0x11b38e[_0x43a647(0x1d2)](_0x11a467['SheetsPivotDataSourceModel']),{unitId:_0x427103,subUnitId:_0x1f0126,pivotTableId:_0x4ca703,fieldId:_0x3e18bc,subtotalType:_0x587e2f}=_0xa51c65,_0x1a3b02=_0x3b81fe['getPivotTableInstance'](_0x4ca703);if(!_0x1a3b02)return!0x1;_0x1a3b02[_0x43a647(0x237)](_0x3e18bc,_0x587e2f);const _0x1284d1=_0x3b81fe[_0x43a647(0x36c)](_0x427103,_0x1f0126,_0x4ca703);return _0x42c58b(_0x1284d1,_0xa51c65),_0x3b81fe[_0x43a647(0x33a)]({'unitId':_0x427103,'subUnitId':_0x1f0126,'token':_0x4ca703,'type':_0x171aea[_0x43a647(0x454)]}),!0x0;}},_0x4baad9={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0x2272fa,_0x39d5f1){const _0x289096=_0x308732;if(!_0x39d5f1)return!0x1;if(!!_0x2272fa['get'](_0x4cef4c['IConfigService'])[_0x289096(0x176)](_0x4001cc))return!0x0;const _0x4c2c9e=_0x2272fa[_0x289096(0x1d2)](_0x11a467[_0x289096(0x2a5)]),{unitId:_0x4546d6,subUnitId:_0x35ec31,pivotTableId:_0x1c4943,fieldId:_0x5e721c,filterInfo:_0x3ab796}=_0x39d5f1,_0x30b720=_0x4c2c9e[_0x289096(0x203)](_0x1c4943);if(!_0x30b720)return!0x1;_0x30b720[_0x289096(0x19a)](_0x5e721c,_0x3ab796);const _0x36d565=_0x4c2c9e[_0x289096(0x36c)](_0x4546d6,_0x35ec31,_0x1c4943);return _0x54273c(_0x36d565,_0x39d5f1),_0x4c2c9e[_0x289096(0x33a)]({'unitId':_0x4546d6,'subUnitId':_0x35ec31,'token':_0x1c4943,'type':_0x171aea[_0x289096(0x454)]}),!0x0;}},_0x2a8471={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':_0x308732(0x385),'handler'(_0x4e30ba,_0x19f00d){const _0x4c2891=_0x308732;if(!_0x19f00d)return!0x1;if(!!_0x4e30ba[_0x4c2891(0x1d2)](_0x4cef4c[_0x4c2891(0x334)])[_0x4c2891(0x176)](_0x4001cc))return!0x0;const _0x298908=_0x4e30ba[_0x4c2891(0x1d2)](_0x11a467[_0x4c2891(0x2a5)]),{unitId:_0x1a7264,subUnitId:_0x359c73,pivotTableId:_0x16baac,area:_0x4cb3a4,index:_0x5898f8,fieldId:_0x145068}=_0x19f00d,_0x567de7=_0x298908[_0x4c2891(0x203)](_0x16baac);if(!_0x567de7)return!0x1;_0x567de7[_0x4c2891(0x3e3)](_0x145068,_0x4cb3a4,_0x5898f8);const _0xee9028=_0x298908[_0x4c2891(0x36c)](_0x1a7264,_0x359c73,_0x16baac);return _0x4a254d(_0xee9028,_0x19f00d),_0x298908[_0x4c2891(0x33a)]({'unitId':_0x1a7264,'subUnitId':_0x359c73,'token':_0x16baac,'type':_0x171aea['Set']}),!0x0;}},_0x5ed49d={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':_0x308732(0x29a),'handler'(_0x22eef0,_0x42a8cf){const _0x515334=_0x308732;if(!_0x42a8cf)return!0x1;if(!!_0x22eef0[_0x515334(0x1d2)](_0x4cef4c[_0x515334(0x334)])[_0x515334(0x176)](_0x4001cc))return!0x0;const _0x52ea70=_0x22eef0[_0x515334(0x1d2)](_0x11a467[_0x515334(0x2a5)]),{unitId:_0x1528a7,subUnitId:_0x11998c,pivotTableId:_0x4e0524,sourceName:_0x55d6a7,dataFieldId:_0x2724a5,tableFieldId:_0x9ecee2}=_0x42a8cf,_0x23f4a8=_0x52ea70[_0x515334(0x203)](_0x4e0524);if(!_0x23f4a8)return!0x1;_0x23f4a8['updateFieldSourceInfo'](_0x9ecee2,_0x55d6a7,_0x2724a5);const _0x418db8=_0x52ea70[_0x515334(0x36c)](_0x1528a7,_0x11998c,_0x4e0524);return _0x262cdd(_0x418db8,_0x42a8cf),_0x52ea70[_0x515334(0x33a)]({'unitId':_0x1528a7,'subUnitId':_0x11998c,'token':_0x4e0524,'type':_0x171aea[_0x515334(0x454)]}),!0x0;}},_0x5c5318={'type':_0x4cef4c['CommandType']['MUTATION'],'id':_0x308732(0x38f),'handler'(_0x24d7ee,_0x5a8551){const _0x903af3=_0x308732;if(!_0x5a8551)return!0x1;if(!!_0x24d7ee[_0x903af3(0x1d2)](_0x4cef4c[_0x903af3(0x334)])[_0x903af3(0x176)](_0x4001cc))return!0x0;const _0x41dbd7=_0x24d7ee['get'](_0x11a467[_0x903af3(0x2a5)]),{unitId:_0x11074f,subUnitId:_0x3363ad,pivotTableId:_0x35fb37,valuePosition:_0x11c4b5,index:_0x14b871}=_0x5a8551,_0x23ddd6=_0x41dbd7[_0x903af3(0x203)](_0x35fb37);if(!_0x23ddd6)return!0x1;_0x23ddd6[_0x903af3(0x2ca)](_0x11c4b5,_0x14b871);const _0x3d081e=_0x41dbd7[_0x903af3(0x36c)](_0x11074f,_0x3363ad,_0x35fb37);return _0x127f2e(_0x3d081e,_0x5a8551),_0x41dbd7[_0x903af3(0x33a)]({'unitId':_0x11074f,'subUnitId':_0x3363ad,'token':_0x35fb37,'type':_0x171aea[_0x903af3(0x454)]}),!0x0;}};function _0x1cb4e1(_0x3355df,_0x129b66,_0x57f244){const _0x19138d=_0x308732,{pivotTableId:_0x2634ee,unitId:_0x6e2432,subUnitId:_0x34ab18}=_0x129b66,_0x330d0e=[],_0x530603=[];for(const _0x1a257d of _0x57f244)switch(_0x1a257d[_0x19138d(0x1cc)]){case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x431)]:{const {fieldJson:_0x3de206,area:_0x1f6cbc,index:_0x407812}=_0x1a257d,_0x5c2c2c={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldJson':_0x3de206,'area':_0x1f6cbc,'index':_0x407812},_0x592841={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x3de206['id'],'area':_0x1f6cbc,'index':_0x407812};_0x330d0e[_0x19138d(0x411)]({'id':_0x2d9886['id'],'params':_0x5c2c2c}),_0x530603[_0x19138d(0x1f4)]({'id':_0x170802['id'],'params':_0x592841});}break;case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x1b0)]:{const {fieldId:_0x361430,newSubtotalType:_0x3b59a8,oldSubtotalType:_0x34fb5c}=_0x1a257d,_0x15325a={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x361430,'subtotalType':_0x3b59a8};_0x330d0e[_0x19138d(0x411)]({'id':_0x226008['id'],'params':_0x15325a});const _0x288188={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x361430,'subtotalType':_0x34fb5c};_0x530603[_0x19138d(0x1f4)]({'id':_0x226008['id'],'params':_0x288188});}break;case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x33d)]:{const {fieldId:_0x496778,fieldJson:_0x37494a,area:_0xc09850,index:_0x2eceeb}=_0x1a257d,_0x4fca44={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x496778,'index':_0x2eceeb,'area':_0xc09850};_0x330d0e[_0x19138d(0x411)]({'id':_0x170802['id'],'params':_0x4fca44});const _0xb7959={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldJson':_0x37494a,'area':_0xc09850,'index':_0x2eceeb};_0x530603['unshift']({'id':_0x2d9886['id'],'params':_0xb7959});}break;case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x1bb)]:{const {fieldId:_0xff6d60,oldName:_0x476a31,newName:_0x3bf3ac}=_0x1a257d,_0x1c30f4={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0xff6d60,'name':_0x3bf3ac};_0x330d0e[_0x19138d(0x411)]({'id':_0x3c464d['id'],'params':_0x1c30f4});const _0x335ce3={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0xff6d60,'name':_0x476a31};_0x530603[_0x19138d(0x1f4)]({'id':_0x3c464d['id'],'params':_0x335ce3});}break;case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x42b)]:{const {fieldId:_0x14f930,oldFilterInfo:_0x1a20bf,newFilterInfo:_0x150635}=_0x1a257d,_0x4564e3={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x14f930,'filterInfo':_0x150635};_0x330d0e['push']({'id':_0x2caa76['id'],'params':_0x4564e3});const _0x2c60fd={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x14f930,'filterInfo':_0x1a20bf};_0x530603[_0x19138d(0x1f4)]({'id':_0x2caa76['id'],'params':_0x2c60fd});}break;case _0x141cc9['PivotTableChangeTypeEnum']['SetSortInfo']:{const {fieldId:_0x2946d9,oldSortInfo:_0x1dad93,newSortInfo:_0x2cb7e7}=_0x1a257d,_0x5026a1={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x2946d9,'sortInfo':_0x2cb7e7};_0x330d0e[_0x19138d(0x411)]({'id':_0x1288ae['id'],'params':_0x5026a1});const _0x38ebc1={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x2946d9,'sortInfo':_0x1dad93};_0x530603['unshift']({'id':_0x1288ae['id'],'params':_0x38ebc1});}break;case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x2fd)]:{const {oldOptions:_0x48f72c,newOptions:_0x362e79}=_0x1a257d,_0x1b7adc={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'options':_0x362e79};_0x330d0e[_0x19138d(0x411)]({'id':_0x1e3a71['id'],'params':_0x1b7adc});const _0x5182af={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'options':_0x48f72c};_0x530603[_0x19138d(0x1f4)]({'id':_0x1e3a71['id'],'params':_0x5182af});}break;case _0x141cc9['PivotTableChangeTypeEnum'][_0x19138d(0x3f8)]:{const {oldArea:_0x47b21a,newArea:_0x436650,oldIndex:_0x917cd3,newIndex:_0x194bec,fieldId:_0x2483e5}=_0x1a257d,_0x449746={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x2483e5,'area':_0x436650,'index':_0x194bec,'oldArea':_0x47b21a,'oldIndex':_0x917cd3};_0x330d0e[_0x19138d(0x411)]({'id':_0x2a8471['id'],'params':_0x449746});const _0x521e5d={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x2483e5,'area':_0x47b21a,'index':_0x917cd3,'oldArea':_0x436650,'oldIndex':_0x194bec};_0x530603[_0x19138d(0x1f4)]({'id':_0x2a8471['id'],'params':_0x521e5d});}break;case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x2a9)]:{const {oldValuePosition:_0x51cde2,newValuePosition:_0x2ea32c,oldIndex:_0x263aa4,newIndex:_0x37e7ab}=_0x1a257d,_0x2445f6={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'valuePosition':_0x2ea32c,'index':_0x37e7ab};_0x330d0e['push']({'id':_0x5c5318['id'],'params':_0x2445f6});const _0x2e31f5={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'valuePosition':_0x51cde2,'index':_0x263aa4};_0x530603[_0x19138d(0x1f4)]({'id':_0x5c5318['id'],'params':_0x2e31f5});}break;case _0x141cc9[_0x19138d(0x31f)]['SetCollapse']:{const {fieldId:_0x34d6f0,collapse:_0x3c9403,item:_0x39555b}=_0x1a257d,_0x1566ac={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x34d6f0,'collapse':_0x3c9403,'item':_0x39555b};_0x330d0e['push']({'id':_0x55d70a['id'],'params':_0x1566ac});const _0x2b0ae5={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x34d6f0,'collapse':!_0x3c9403,'item':_0x39555b};_0x530603['unshift']({'id':_0x55d70a['id'],'params':_0x2b0ae5});}break;case _0x141cc9['PivotTableChangeTypeEnum'][_0x19138d(0x3d0)]:{const {newFormat:_0x18000f,oldFormat:_0x5f5b1c,fieldId:_0x26559c}=_0x1a257d,_0x39906d={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x26559c,'format':_0x18000f};_0x330d0e['push']({'id':_0x3db27b['id'],'params':_0x39906d});const _0xdbd411={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0x26559c,'format':_0x5f5b1c};_0x530603[_0x19138d(0x1f4)]({'id':_0x3db27b['id'],'params':_0xdbd411});}break;case _0x141cc9[_0x19138d(0x31f)]['UpdateSource']:{const {tableFieldId:_0x4abbd8,oldSourceName:_0x2d18d1,newSourceName:_0x3e08c3,oldDataFieldId:_0x183510,newDataFieldId:_0x4f8cd9}=_0x1a257d,_0x556513={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'tableFieldId':_0x4abbd8,'sourceName':_0x3e08c3,'dataFieldId':_0x4f8cd9};_0x330d0e[_0x19138d(0x411)]({'id':_0x5ed49d['id'],'params':_0x556513});const _0x170773={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'tableFieldId':_0x4abbd8,'sourceName':_0x2d18d1,'dataFieldId':_0x183510};_0x530603[_0x19138d(0x1f4)]({'id':_0x5ed49d['id'],'params':_0x170773});}break;case _0x141cc9[_0x19138d(0x31f)][_0x19138d(0x200)]:{const {fieldId:_0xb49946,filterInfo:_0x416c9c,oldFilterInfo:_0x130947}=_0x1a257d,_0x1a7915={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0xb49946,'filterInfo':_0x416c9c};_0x330d0e[_0x19138d(0x411)]({'id':_0x4baad9['id'],'params':_0x1a7915});const _0x4ac58e={'unitId':_0x6e2432,'subUnitId':_0x34ab18,'pivotTableId':_0x2634ee,'fieldId':_0xb49946,'filterInfo':_0x130947};_0x530603[_0x19138d(0x1f4)]({'id':_0x4baad9['id'],'params':_0x4ac58e});}}return{'redos':_0x330d0e,'undos':_0x530603};}function _0xadfc77(_0x352971,_0xe1694b){const _0x4b3429=_0x308732;var _0x2007c8;const _0x54df52=_0x352971[_0x4b3429(0x1d2)](_0x11a467[_0x4b3429(0x38e)]),{cellInfo:_0x3508aa,view:_0x153937,isEmpty:_0x4090b7}=_0xe1694b;return(_0x2007c8=_0x54df52[_0x4b3429(0x439)][_0x4b3429(0x214)](_0x5a5358)(_0x332cb7,{'cellInfo':_0x3508aa,'view':_0x153937,'isEmpty':_0x4090b7}))!=null?_0x2007c8:_0x332cb7;}const _0x33e945=()=>typeof process<'u'&&process[_0x308732(0x1a2)]!=null&&process[_0x308732(0x1a2)][_0x308732(0x221)]!=null,_0x320ae9={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':'sheet.mutation.add-pivot-table','handler'(_0x10f352,_0x318f1b){const _0x57b2c9=_0x308732;var _0x517956;if(!_0x318f1b)return!0x1;const _0x296f70=_0x10f352[_0x57b2c9(0x1d2)](_0x4cef4c[_0x57b2c9(0x334)]);if(!!_0x296f70[_0x57b2c9(0x176)](_0x4001cc))return!0x0;const _0x85e33a=_0x10f352[_0x57b2c9(0x1d2)](_0x4cef4c[_0x57b2c9(0x275)]),_0x52e735=_0x10f352['get'](_0x11a467[_0x57b2c9(0x2a5)]),{pivotTableId:_0x445aaf,pivotTableConfig:_0x421eff,collectionConfig:_0x4ea664,unitId:_0x3bf209,subUnitId:_0x549b3f}=_0x318f1b,{sourceRangeInfo:_0xf8fbe7,fieldsConfig:_0x414eec,targetCellInfo:_0x4dea9f}=_0x421eff,_0x4e66f3=_0x85e33a[_0x57b2c9(0x225)](_0x3bf209);if(!_0x4e66f3||!_0x4e66f3[_0x57b2c9(0x1fc)](_0x549b3f))return!0x1;if(!_0x33e945()){let _0x32b633=0x0;_0x4e66f3[_0x57b2c9(0x3f6)]()[_0x57b2c9(0x396)](_0x2a60fd=>{const _0x33b7dd=_0x57b2c9;var _0x5b2862,_0x3b7408;_0x32b633+=(_0x3b7408=(_0x5b2862=_0x52e735[_0x33b7dd(0x2e2)](_0x3bf209,_0x2a60fd[_0x33b7dd(0x41e)]()))==null?void 0x0:_0x5b2862[_0x33b7dd(0x406)])!=null?_0x3b7408:0x0;});const _0x341cc4=(_0x517956=_0x296f70[_0x57b2c9(0x176)](_0x4a6362[_0x57b2c9(0x410)]))!=null?_0x517956:{},{ls:_0x2aaf66,pbk:_0x18ab3f}=_0x341cc4;if(!_0x2f050b(_0x2aaf66,_0x18ab3f))throw new _0x4cef4c[(_0x57b2c9(0x213))]('limit\x20pivot');const _0x3f75bb=_0x67c83f(_0x34a535,_0x2aaf66,_0x18ab3f)[_0x57b2c9(0x34e)];if(_0x32b633>=_0x3f75bb)throw new _0x4cef4c[(_0x57b2c9(0x213))](_0x57b2c9(0x2dd));}if(!_0x4ea664||!_0x414eec)return!0x1;const {collection:_0x41a80a,updateDataFieldList:_0x3f08a6}=_0x52e735['addCollectionByJSON'](_0x445aaf,_0x4ea664,_0xf8fbe7,_0x4dea9f);_0x52e735[_0x57b2c9(0x33e)](_0x41a80a,_0x3f08a6,_0xf8fbe7);const _0x4896a5=new _0x141cc9[(_0x57b2c9(0x3c4))](_0x41a80a,void 0x0,_0x445aaf);_0x4896a5[_0x57b2c9(0x2d4)](_0x414eec);const _0xbf555a=JSON[_0x57b2c9(0x1db)](JSON[_0x57b2c9(0x2ba)](_0x421eff));return _0x52e735['addPivotTable'](_0x3bf209,_0x549b3f,_0x445aaf,_0x4896a5,_0xbf555a),_0x52e735[_0x57b2c9(0x33a)]({'unitId':_0x3bf209,'subUnitId':_0x549b3f,'token':_0x445aaf,'type':_0x171aea[_0x57b2c9(0x1e1)],'pivotConfig':_0xbf555a}),!0x0;}},_0x4132af={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':_0x308732(0x274),'handler'(_0x149388,_0x3ceb83){const _0x2cd73b=_0x308732;if(!_0x3ceb83)return!0x1;if(!!_0x149388[_0x2cd73b(0x1d2)](_0x4cef4c[_0x2cd73b(0x334)])[_0x2cd73b(0x176)](_0x4001cc))return!0x0;const {pivotTableId:_0x58f717,unitId:_0x434bb4,subUnitId:_0xc4e157}=_0x3ceb83,_0x3b8549=_0x149388[_0x2cd73b(0x1d2)](_0x11a467['SheetsPivotDataSourceModel']);return _0x3b8549['getPivotTableConfig'](_0x434bb4,_0xc4e157,_0x58f717)?(_0x3b8549[_0x2cd73b(0x33a)]({'unitId':_0x434bb4,'subUnitId':_0xc4e157,'token':_0x58f717,'type':_0x171aea[_0x2cd73b(0x390)]}),_0x3b8549['removePivotTable'](_0x434bb4,_0xc4e157,_0x58f717),!0x0):!0x1;}},_0x2064a0={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':'sheet.mutation.set-pivot-position','handler'(_0x596eac,_0x24c914){const _0x5ea81d=_0x308732;if(!_0x24c914)return!0x1;if(!!_0x596eac['get'](_0x4cef4c[_0x5ea81d(0x334)])[_0x5ea81d(0x176)](_0x4001cc))return!0x0;const {pivotTableId:_0x398240,targetCellPosition:_0x1033ab,unitId:_0x5ee420,subUnitId:_0x59e7d7}=_0x24c914,_0x1d2026=_0x596eac[_0x5ea81d(0x1d2)](_0x11a467[_0x5ea81d(0x2a5)]);if(!_0x1d2026[_0x5ea81d(0x203)](_0x24c914['pivotTableId']))return!0x1;const _0x196bd4=_0x1d2026['getTargetByPivotId'](_0x398240);if(!_0x196bd4)return!0x1;const _0x78b34e=_0x1d2026[_0x5ea81d(0x3a4)](_0x196bd4[_0x5ea81d(0x44f)],_0x24c914[_0x5ea81d(0x242)]);if(!_0x78b34e)return!0x1;const _0x4fb485=_0x1d2026[_0x5ea81d(0x332)](_0x196bd4[_0x5ea81d(0x44f)],_0x196bd4[_0x5ea81d(0x2d0)],_0x398240);if(!_0x4fb485)return!0x1;const _0x5e1430=_0x4cef4c[_0x5ea81d(0x2dc)]['deepClone'](_0x4fb485);_0x5e1430[_0x5ea81d(0x2b1)]={'unitId':_0x5ee420,'subUnitId':_0x59e7d7,'row':_0x1033ab['row'],'col':_0x1033ab[_0x5ea81d(0x36d)]};const _0x4639bd=_0x78b34e[_0x5ea81d(0x22d)]();if(_0x196bd4[_0x5ea81d(0x2d0)]===_0x59e7d7&&_0x196bd4[_0x5ea81d(0x44f)]===_0x5ee420)_0x1d2026['setPivotTable'](_0x5ee420,_0x59e7d7,_0x398240,_0x5e1430),_0x1d2026[_0x5ea81d(0x33a)]({'unitId':_0x5ee420,'subUnitId':_0x59e7d7,'token':_0x398240,'type':_0x171aea[_0x5ea81d(0x454)]});else{_0x1d2026[_0x5ea81d(0x33a)]({'unitId':_0x196bd4[_0x5ea81d(0x44f)],'subUnitId':_0x196bd4[_0x5ea81d(0x2d0)],'token':_0x398240,'type':_0x171aea['Delete']}),_0x1d2026['removePivotTable'](_0x196bd4[_0x5ea81d(0x44f)],_0x196bd4['subUnitId'],_0x398240);const _0x208279=_0x1d2026[_0x5ea81d(0x25e)](_0x398240,_0x4639bd,_0x4fb485[_0x5ea81d(0x298)],_0x5e1430['targetCellInfo']),_0x506e8a=new _0x141cc9['PivotTable'](_0x208279[_0x5ea81d(0x3cc)],void 0x0,_0x398240);_0x506e8a[_0x5ea81d(0x2d4)](_0x5e1430[_0x5ea81d(0x3fa)]),_0x1d2026[_0x5ea81d(0x2b6)](_0x5ee420,_0x59e7d7,_0x398240,_0x506e8a,_0x5e1430),_0x1d2026[_0x5ea81d(0x33a)]({'unitId':_0x5ee420,'subUnitId':_0x59e7d7,'token':_0x398240,'type':_0x171aea[_0x5ea81d(0x1e1)],'pivotConfig':_0x5e1430});}return!0x0;}},_0x4d2da1={'type':_0x4cef4c[_0x308732(0x362)]['MUTATION'],'id':'sheet.mutation.update-pivot-table-source-range','handler'(_0x1e0373,_0x37ded0){const _0x4ef695=_0x308732;if(!_0x37ded0)return!0x1;if(!!_0x1e0373[_0x4ef695(0x1d2)](_0x4cef4c[_0x4ef695(0x334)])[_0x4ef695(0x176)](_0x4001cc))return!0x0;const _0x3dd13b=_0x1e0373[_0x4ef695(0x1d2)](_0x11a467[_0x4ef695(0x2a5)]),{pivotTableId:_0x12afcf,deleteIds:_0x520cca,collectionJSON:_0x2239d4,dataRangeInfo:_0x3b0810,unitId:_0x2638e3,subUnitId:_0x9263f8}=_0x37ded0,_0x2844a7=_0x3dd13b['getPivotTableInstance'](_0x12afcf),_0x360e06=_0x3dd13b['getPivotTableConfig'](_0x2638e3,_0x9263f8,_0x12afcf);if(!_0x2844a7||!_0x360e06)return!0x1;const {collection:_0x279d3f,updateDataFieldList:_0x3d5af1}=_0x3dd13b[_0x4ef695(0x25e)](_0x12afcf,_0x2239d4,_0x3b0810,_0x360e06[_0x4ef695(0x2b1)]);_0x3dd13b[_0x4ef695(0x33e)](_0x279d3f,_0x3d5af1,_0x3b0810),_0x2844a7[_0x4ef695(0x43b)](_0x279d3f);for(const _0x3c152a of _0x520cca)_0x3dd13b[_0x4ef695(0x3e9)](_0x3b0810[_0x4ef695(0x44f)],_0x3c152a);const _0x142067=_0x3dd13b[_0x4ef695(0x332)](_0x2638e3,_0x9263f8,_0x12afcf);return _0x142067[_0x4ef695(0x298)]=JSON[_0x4ef695(0x1db)](JSON[_0x4ef695(0x2ba)](_0x3b0810)),_0x3dd13b[_0x4ef695(0x33a)]({'unitId':_0x2638e3,'subUnitId':_0x9263f8,'token':_0x12afcf,'type':_0x171aea[_0x4ef695(0x454)]}),!0x0;}},_0xa1f689={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2e8)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x5e2846=Object[_0x308732(0x456)],_0x1f55a6=(_0x7ae883,_0x3b5459,_0x46478c,_0x977f2a)=>{const _0x278db9=_0x308732;for(var _0x5f4e61=_0x977f2a>0x1?void 0x0:_0x977f2a?_0x5e2846(_0x3b5459,_0x46478c):_0x3b5459,_0x5f48b1=_0x7ae883[_0x278db9(0x1bd)]-0x1,_0x5ac40b;_0x5f48b1>=0x0;_0x5f48b1--)(_0x5ac40b=_0x7ae883[_0x5f48b1])&&(_0x5f4e61=_0x5ac40b(_0x5f4e61)||_0x5f4e61);return _0x5f4e61;},_0x2d8756=(_0x503321,_0x572d97)=>(_0x54dcda,_0x371c0a)=>_0x572d97(_0x54dcda,_0x371c0a,_0x503321);_0x11a467[_0x308732(0x34f)]=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x29731e,_0x51ccf4){const _0x369a29=_0x308732;super(),_0x4b363f(this,_0x369a29(0x3fe),new Map()),(this[_0x369a29(0x320)]=_0x29731e,this['_commandService']=_0x51ccf4);}['handleAsyncResponse'](_0x5bb5df){const _0x4e2345=_0x308732,{version:_0x6b250e}=_0x5bb5df,_0x40a512=this[_0x4e2345(0x3fe)][_0x4e2345(0x1d2)](_0x6b250e);_0x40a512&&(_0x40a512(_0x5bb5df),this[_0x4e2345(0x3fe)][_0x4e2345(0x1b9)](_0x6b250e));}[_0x308732(0x32b)](_0x46aaa2){return new Promise((_0x30cbbe,_0x1795e2)=>{const _0x201886=_0x1976,_0x3579e3=this[_0x201886(0x316)]();this[_0x201886(0x3fe)]['set'](_0x3579e3,_0x30cbbe),this[_0x201886(0x325)][_0x201886(0x1f8)](_0x569cf1['id'],{'version':_0x3579e3,..._0x46aaa2},{'onlyLocal':!0x0});});}['_generateUniqueVersion'](){const _0x5059c7=_0x308732;return Math[_0x5059c7(0x20c)]()[_0x5059c7(0x195)](0x24)[_0x5059c7(0x201)](0x2,0x10);}},_0x11a467['SheetsPivotRPCService']=_0x1f55a6([_0x2d8756(0x0,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c['Injector'])),_0x2d8756(0x1,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x3ac)]))],_0x11a467['SheetsPivotRPCService']);const _0xfd6941={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':_0x308732(0x3d5),async 'handler'(_0x185e7f,_0x5971f2){const _0x1049f7=_0x308732;if(!_0x5971f2)return!0x1;const _0x229bdf=_0x185e7f[_0x1049f7(0x1d2)](_0x4cef4c[_0x1049f7(0x3ac)]),_0x25d06b=_0x185e7f[_0x1049f7(0x1d2)](_0x11a467['SheetsPivotRPCService']),_0x19e62c=_0x185e7f[_0x1049f7(0x1d2)](_0x4cef4c[_0x1049f7(0x288)]),{pivotTableId:_0x57efd5,dataFieldId:_0x48386d,fieldArea:_0x20a915,index:_0x1557ca,unitId:_0x584a8a,subUnitId:_0x18b88e}=_0x5971f2,_0x29a27b=(await _0x25d06b[_0x1049f7(0x32b)]({'unitId':_0x584a8a,'subUnitId':_0x18b88e,'pivotTableId':_0x57efd5,'params':{'type':_0x16fd81[_0x1049f7(0x38c)],'addPivotField':{'dataFieldId':_0x48386d,'fieldArea':_0x20a915,'index':_0x1557ca}}}))[_0x1049f7(0x307)][_0x1049f7(0x31a)];if(!_0x29a27b)return!0x1;const {view:_0x2f4462,changesets:_0x1a7f9a,isEmpty:_0x51dcf5,pivotTableConfig:_0x53be50}=_0x29a27b,_0x4b14bc=_0x53be50[_0x1049f7(0x2b1)],_0x3099b7=new _0x141cc9[(_0x1049f7(0x401))]();_0x3099b7[_0x1049f7(0x1e7)](_0x2f4462);const _0x1d8698={'cellInfo':_0x4b14bc,'view':_0x3099b7,'isEmpty':_0x51dcf5};if(!await _0x185e7f[_0x1049f7(0x1d2)](_0x11a467[_0x1049f7(0x38e)])['asyncInterceptor'][_0x1049f7(0x251)](_0x2f89b0)(!0x0,_0x1d8698))return!0x1;const _0x2a00b8=_0x3fed82(_0x185e7f,_0x3099b7,_0x4b14bc,_0x51dcf5),_0x437178=_0xadfc77(_0x185e7f,_0x1d8698),{undos:_0x4d5ea9,redos:_0x17d6a3}=_0x1cb4e1(_0x229bdf,{'pivotTableId':_0x57efd5,'unitId':_0x584a8a,'subUnitId':_0x18b88e},_0x1a7f9a);return _0x4cef4c[_0x1049f7(0x232)]([..._0x2a00b8['redos'],..._0x437178['redos'],..._0x17d6a3],_0x229bdf),_0x19e62c[_0x1049f7(0x2cf)]({'unitID':_0x584a8a,'redoMutations':[..._0x2a00b8[_0x1049f7(0x1f7)],..._0x437178['redos'],..._0x17d6a3],'undoMutations':[..._0x2a00b8[_0x1049f7(0x42f)],..._0x437178[_0x1049f7(0x42f)],..._0x4d5ea9]}),!0x0;}},_0x60cec7={'type':_0x4cef4c['CommandType'][_0x308732(0x2c6)],'id':'sheet.command.add-pivot-table-with-config',async 'handler'(_0x1cf076,_0x559e98){const _0x3b3835=_0x308732;if(!_0x559e98)return!0x1;const {sourceDataInfo:_0x1c7de9,pivotTableConfig:_0x44ba64}=_0x559e98;if(!_0x1c7de9||!_0x44ba64)return!0x1;const {unitId:_0x15c4ff,subUnitId:_0x1bffec,range:_0x59532f}=_0x1c7de9,_0x513243=_0x1cf076[_0x3b3835(0x1d2)](_0x4cef4c[_0x3b3835(0x275)]),_0x3601eb=_0x1cf076[_0x3b3835(0x1d2)](_0x11a467[_0x3b3835(0x34f)]),_0x3c7007=_0x1cf076[_0x3b3835(0x1d2)](_0x4cef4c[_0x3b3835(0x41c)]),_0x265411=_0x1cf076[_0x3b3835(0x1d2)](_0x4cef4c[_0x3b3835(0x3ac)]),_0x4cd5e8=_0x513243[_0x3b3835(0x225)](_0x15c4ff);if(!_0x4cd5e8)return!0x1;const _0x5a72fb=_0x4cd5e8['getSheetBySheetId'](_0x1bffec);if(!_0x5a72fb)return!0x1;const _0x4835f0=_0x141cc9['generateHexNumber'](0x8),_0x3acfd9=_0x59532f||{'startRow':0x0,'startColumn':0x0,'endRow':_0x5a72fb['getRowCount']()-0x1,'endColumn':_0x5a72fb['getColumnCount']()-0x1};_0x3acfd9[_0x3b3835(0x45e)]=_0x4cef4c[_0x3b3835(0x2a0)]['NORMAL'];const _0x48357e=(await _0x3601eb[_0x3b3835(0x32b)]({'unitId':_0x15c4ff,'subUnitId':_0x1bffec,'pivotTableId':_0x4835f0,'params':{'type':_0x16fd81[_0x3b3835(0x340)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x15c4ff,'sheetName':_0x5a72fb[_0x3b3835(0x392)](),'subUnitId':_0x1bffec,'range':_0x3acfd9},'pivotTableId':_0x4835f0,'pivotTableIndexConfig':_0x44ba64}}}))['result'][_0x3b3835(0x42a)];if(!_0x48357e)return!0x1;const {isEmpty:_0x4860d8,fieldsConfig:_0x367fd0,collectionConfig:_0x2f956a,changesets:_0x47439c}=_0x48357e,_0xec4adf=_0x4cd5e8['getSheets']()[_0x3b3835(0x1bd)],_0x4ef858=_0x4cef4c[_0x3b3835(0x448)]({'rowCount':_0x5a72fb[_0x3b3835(0x422)]()-0x1,'columnCount':_0x5a72fb[_0x3b3835(0x2cb)]()-0x1});_0x4ef858['id']=_0x4cef4c['generateRandomId'](),_0x4ef858[_0x3b3835(0x2b8)]=_0x4cd5e8[_0x3b3835(0x2a2)](''+_0x3c7007['t'](_0x3b3835(0x18d)));const _0x3afd30={'index':_0xec4adf,'sheet':_0x4ef858,'unitId':_0x15c4ff},{redos:_0x658da}=_0x1cb4e1(_0x265411,{'pivotTableId':_0x4835f0,'unitId':_0x15c4ff,'subUnitId':_0x4ef858['id']},_0x47439c),_0x53daae=[{'id':_0x553681[_0x3b3835(0x2ce)]['id'],'params':_0x3afd30},{'id':_0x320ae9['id'],'params':{'unitId':_0x15c4ff,'subUnitId':_0x4ef858['id'],'pivotTableId':_0x4835f0,'pivotTableConfig':{'isEmpty':_0x4860d8,'fieldsConfig':_0x367fd0,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x15c4ff,'subUnitId':_0x4ef858['id']},'sourceRangeInfo':{'subUnitId':_0x1bffec,'unitId':_0x15c4ff,'range':_0x3acfd9,'sheetName':_0x5a72fb[_0x3b3835(0x392)]()}},'collectionConfig':_0x2f956a}},..._0x658da];return _0x4cef4c[_0x3b3835(0x232)](_0x53daae,_0x265411),!0x0;}},_0x171a51={'type':_0x4cef4c[_0x308732(0x362)]['COMMAND'],'id':_0x308732(0x421),async 'handler'(_0x18a988,_0x238716){const _0x5517bf=_0x308732;var _0x656c22,_0x3f9d41;const _0x200b51=_0x18a988[_0x5517bf(0x1d2)](_0x4cef4c[_0x5517bf(0x3ac)]),_0x2e3c36=_0x18a988['get'](_0x4cef4c['IUniverInstanceService']),_0x1a1d86=_0x18a988[_0x5517bf(0x1d2)](_0x4cef4c[_0x5517bf(0x41c)]),_0x118e51=_0x18a988[_0x5517bf(0x1d2)](_0x11a467['SheetsPivotRPCService']),_0x1f4c4d=_0x18a988[_0x5517bf(0x1d2)](_0x4cef4c[_0x5517bf(0x288)]),_0xe88ac6=_0x18a988[_0x5517bf(0x1d2)](_0x11a467[_0x5517bf(0x1fa)]),_0x594acc=_0x18a988[_0x5517bf(0x1d2)](_0x4cef4c[_0x5517bf(0x334)]);if(!_0x238716)return!0x1;const {pivotTableConfig:_0x1ba699,positionType:_0x30caca}=_0x238716,{targetCellInfo:_0x467cf1,sourceRangeInfo:_0x59f78e}=_0x1ba699,{unitId:_0xd118ee,subUnitId:_0x4211e3}=_0x467cf1,_0x17c9f0=_0x2e3c36['getUnit'](_0xd118ee);if(!_0x17c9f0)return!0x1;let _0x352075=0x0;_0x17c9f0['getSheets']()[_0x5517bf(0x396)](_0x32a7b0=>{const _0x14c2b9=_0x5517bf;var _0x5de117,_0x26382d;_0x352075+=(_0x26382d=(_0x5de117=_0xe88ac6[_0x14c2b9(0x2e2)](_0xd118ee,_0x32a7b0[_0x14c2b9(0x41e)]()))==null?void 0x0:_0x5de117[_0x14c2b9(0x406)])!=null?_0x26382d:0x0;});const _0x3b52da=(_0x656c22=_0x594acc[_0x5517bf(0x176)](_0x4a6362[_0x5517bf(0x410)]))!=null?_0x656c22:{},{ls:_0x573634,pbk:_0x36a4a7}=_0x3b52da;if(!_0x2f050b(_0x573634,_0x36a4a7))return!0x1;const _0x85df77=_0x67c83f(_0x34a535,_0x573634,_0x36a4a7)['count'];if(_0x352075>=_0x85df77)return!0x1;const _0x12a5db=_0x238716[_0x5517bf(0x242)]||_0x141cc9[_0x5517bf(0x336)](0x8),_0x36973b=(await _0x118e51[_0x5517bf(0x32b)]({'unitId':_0xd118ee,'subUnitId':_0x4211e3,'pivotTableId':_0x12a5db,'params':{'type':_0x16fd81[_0x5517bf(0x216)],'addPivotTable':{'sourceRangeInfo':_0x59f78e,'pivotTableId':_0x12a5db}}}))[_0x5517bf(0x307)][_0x5517bf(0x2b6)];if(!_0x36973b)return!0x1;const {view:_0x5a8e3f,isEmpty:_0x4f7292,fieldsConfig:_0x4be5ba,collectionConfig:_0x2deadb}=_0x36973b,_0x18f38f=[],_0x548b16=[];if(_0x30caca===_0x4c1a96[_0x5517bf(0x453)]){const _0x4eb6cc=_0x17c9f0[_0x5517bf(0x3f6)]()[_0x5517bf(0x1bd)],_0x20e4e0=_0x4cef4c[_0x5517bf(0x448)]({});_0x20e4e0['id']=_0x1ba699[_0x5517bf(0x2b1)][_0x5517bf(0x2d0)],_0x20e4e0[_0x5517bf(0x2b8)]=(_0x3f9d41=_0x1ba699['targetCellInfo'][_0x5517bf(0x2d2)])!=null?_0x3f9d41:_0x17c9f0['generateNewSheetName'](''+_0x1a1d86['t'](_0x5517bf(0x18d)));const _0xf45d95={'index':_0x4eb6cc,'sheet':_0x20e4e0,'unitId':_0xd118ee},_0x3eb9a2=_0x553681[_0x5517bf(0x1ac)](_0x18a988,_0xf45d95);_0x18f38f['push']({'id':_0x553681[_0x5517bf(0x43e)]['id'],'params':_0x3eb9a2}),_0x548b16[_0x5517bf(0x411)]({'id':_0x553681[_0x5517bf(0x2c0)]['id'],'params':_0xf45d95});}else{if(!_0x17c9f0['getSheetBySheetId'](_0x4211e3))return!0x1;const _0x46f8bf=_0x3fed82(_0x18a988,new _0x141cc9[(_0x5517bf(0x401))](),_0x467cf1,!0x0);_0x548b16[_0x5517bf(0x411)](..._0x46f8bf['redos']),_0x18f38f[_0x5517bf(0x411)](..._0x46f8bf['undos']);const _0x382055={'cellInfo':_0x467cf1,'view':_0x5a8e3f,'isEmpty':_0x4f7292};if(!await _0x18a988[_0x5517bf(0x1d2)](_0x11a467[_0x5517bf(0x38e)])[_0x5517bf(0x449)][_0x5517bf(0x251)](_0x2f89b0)(!0x0,_0x382055))return!0x1;const _0x5c3893=_0xadfc77(_0x18a988,_0x382055);_0x548b16['push'](..._0x5c3893['redos']),_0x18f38f[_0x5517bf(0x411)](..._0x5c3893[_0x5517bf(0x42f)]);}return _0x548b16[_0x5517bf(0x411)]({'id':_0x320ae9['id'],'params':{'unitId':_0x467cf1[_0x5517bf(0x44f)],'subUnitId':_0x467cf1['subUnitId'],'pivotTableId':_0x12a5db,'pivotTableConfig':{'targetCellInfo':_0x467cf1,'sourceRangeInfo':_0x59f78e,'fieldsConfig':_0x4be5ba},'collectionConfig':_0x2deadb}}),_0x18f38f[_0x5517bf(0x1f4)]({'id':_0x4132af['id'],'params':{'unitId':_0xd118ee,'subUnitId':_0x4211e3,'pivotTableId':_0x12a5db}}),_0x4cef4c['sequenceExecute'](_0x548b16,_0x200b51)&&_0x1f4c4d['pushUndoRedo']({'unitID':_0xd118ee,'undoMutations':_0x18f38f,'redoMutations':_0x548b16}),!0x0;}},_0xb328f={'type':_0x4cef4c[_0x308732(0x362)]['COMMAND'],'id':_0x308732(0x426),async 'handler'(_0x964b76,_0x148e10){const _0x5827d9=_0x308732;if(!_0x148e10)return!0x1;const _0x11a82b=_0x964b76['get'](_0x4cef4c[_0x5827d9(0x3ac)]),_0x2d7f8b=_0x964b76[_0x5827d9(0x1d2)](_0x11a467[_0x5827d9(0x34f)]),_0x4a070f=_0x964b76[_0x5827d9(0x1d2)](_0x4cef4c[_0x5827d9(0x288)]),{pivotTableId:_0x489c3f,fieldId:_0x332aea,area:_0x4a9dfb,index:_0x1d8a17,unitId:_0x311d71,subUnitId:_0x2bd55a}=_0x148e10,_0x404354=(await _0x2d7f8b[_0x5827d9(0x32b)]({'unitId':_0x311d71,'subUnitId':_0x2bd55a,'pivotTableId':_0x489c3f,'params':{'type':_0x16fd81[_0x5827d9(0x1a4)],'movePivotField':{'fieldId':_0x332aea,'area':_0x4a9dfb,'index':_0x1d8a17}}}))[_0x5827d9(0x307)][_0x5827d9(0x1cb)];if(!_0x404354)return!0x1;const {changesets:_0x543b80,view:_0x3a1c6b,isEmpty:_0x4eaab8,pivotTableConfig:_0x46b44b}=_0x404354,_0xaa95bc=_0x46b44b[_0x5827d9(0x2b1)],_0x1c1535=new _0x141cc9[(_0x5827d9(0x401))]();_0x1c1535['formJSON'](_0x3a1c6b);const _0x3f5b9c={'cellInfo':_0xaa95bc,'view':_0x1c1535,'isEmpty':_0x4eaab8};if(!await _0x964b76[_0x5827d9(0x1d2)](_0x11a467[_0x5827d9(0x38e)])[_0x5827d9(0x449)]['fetchThroughAsyncInterceptors'](_0x2f89b0)(!0x0,_0x3f5b9c))return!0x1;const _0x3288a4=_0x3fed82(_0x964b76,_0x1c1535,_0xaa95bc,_0x4eaab8),_0x28ade0=_0xadfc77(_0x964b76,_0x3f5b9c),{redos:_0x568530,undos:_0x2f22cf}=_0x1cb4e1(_0x11a82b,{'pivotTableId':_0x489c3f,'unitId':_0x311d71,'subUnitId':_0x2bd55a},_0x543b80);return _0x4cef4c['sequenceExecute']([..._0x3288a4[_0x5827d9(0x1f7)],..._0x28ade0[_0x5827d9(0x1f7)],..._0x568530],_0x11a82b),_0x4a070f[_0x5827d9(0x2cf)]({'unitID':_0x311d71,'redoMutations':[..._0x3288a4[_0x5827d9(0x1f7)],..._0x28ade0[_0x5827d9(0x1f7)],..._0x568530],'undoMutations':[..._0x3288a4[_0x5827d9(0x42f)],..._0x28ade0[_0x5827d9(0x42f)],..._0x2f22cf]}),!0x0;}},_0x1ae733={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':_0x308732(0x3ea),async 'handler'(_0x3745eb,_0x41250c){const _0x492f44=_0x308732;var _0x10a02d;if(!_0x41250c)return!0x1;const _0x507f10=_0x3745eb[_0x492f44(0x1d2)](_0x4cef4c[_0x492f44(0x275)]),_0xd8c45b=_0x553681['getSheetCommandTarget'](_0x507f10);if(!_0xd8c45b)return!0x1;const {unitId:_0x160543,subUnitId:_0x20262a,workbook:_0x14e78c}=_0xd8c45b,{row:_0x4733a3,col:_0x4cef5e}=_0x41250c,_0x3785e3=_0x3745eb['get'](_0x11a467[_0x492f44(0x236)]),_0x47f855=_0x3785e3['getPivotTableIdByCell'](_0x160543,_0x20262a,_0x4733a3,_0x4cef5e);if(!_0x47f855)return!0x1;const _0x54998d=(_0x10a02d=_0x3785e3[_0x492f44(0x1da)](_0x160543,_0x20262a,_0x47f855))==null?void 0x0:_0x10a02d['areaInfo'];if(!_0x54998d)return!0x1;const _0x24af2e=_0x3745eb[_0x492f44(0x1d2)](_0x11a467[_0x492f44(0x1fa)])[_0x492f44(0x332)](_0x160543,_0x20262a,_0x47f855);if(!_0x24af2e)return!0x1;const {rowInfo:_0x24760b,colInfo:_0xc51f8f}=_0x54998d,_0x49e0e7=_0x24760b[_0x4733a3][_0x492f44(0x404)],_0x55cdc7=_0xc51f8f[_0x4cef5e][_0x492f44(0x404)],_0x14d412=_0x24760b[_0x4733a3]['level'],_0x3264a9=_0xc51f8f[_0x4cef5e]['level'],_0x35e06d=_0x49e0e7[_0x492f44(0x3dc)](_0x55cdc7),_0x38c329=_0x24af2e[_0x492f44(0x3fa)][_0x492f44(0x414)][_0x492f44(0x264)](0x0,_0x14d412),_0x32ec35=_0x24af2e[_0x492f44(0x3fa)][_0x492f44(0x2a8)][_0x492f44(0x264)](0x0,_0x3264a9),_0x47b089=_0x38c329[_0x492f44(0x3dc)](_0x32ec35),_0x3a6526=_0x35e06d['map']((_0x3b4198,_0x5eb8ed)=>[_0x3b4198,_0x47b089[_0x5eb8ed]]),_0x10a104=(await _0x3745eb['get'](_0x11a467['SheetsPivotRPCService'])['getPivotDisplayConfig']({'unitId':_0x160543,'subUnitId':_0x20262a,'pivotTableId':_0x47f855,'params':{'type':_0x16fd81[_0x492f44(0x368)],'drillDown':{'tuple':_0x3a6526}}}))[_0x492f44(0x307)][_0x492f44(0x3f1)];if(!_0x10a104)return!0x1;const {indexes:_0x458a62,range:_0x4530c1,sourceUnitId:_0x4d9b9c,sourceSubUnitId:_0x53f2e8,formatMap:_0x795afb}=_0x10a104,{startRow:_0x283814,endRow:_0x4699a7,startColumn:_0x58bab6,endColumn:_0x4a9b6c}=_0x4530c1,_0x218eb5=new _0x4cef4c[(_0x492f44(0x3de))](),_0x1abc32=_0x4699a7-_0x283814,_0x3129ff=_0x4a9b6c-_0x58bab6,_0x4739fa={},_0x5a1b63=_0x553681['getSheetCommandTarget'](_0x507f10,{'unitId':_0x4d9b9c,'subUnitId':_0x53f2e8});if(!_0x5a1b63)return!0x1;const _0x1765ac=_0x3fbf77[_0x492f44(0x1ad)],_0xa4e9d8=_0x3fbf77[_0x492f44(0x1e6)],_0xbb763a=_0x3fbf77[_0x492f44(0x1e6)],_0x3384c8=_0x14e78c['getStyles']()['setValue'](_0x1765ac),_0x1216f3=_0x14e78c[_0x492f44(0x347)]()[_0x492f44(0x186)](_0xa4e9d8),_0x326087=_0x14e78c[_0x492f44(0x347)]()[_0x492f44(0x186)](_0xbb763a),{worksheet:_0x3301b3}=_0x5a1b63;let _0x2a623a=0x0;const _0x46beb2=0x1;_0x458a62[_0x492f44(0x396)](_0x3ff1b1=>{const _0x2fabc2=_0x492f44;for(let _0x171347=0x0;_0x171347<=_0x4a9b6c-_0x58bab6;_0x171347++)_0x218eb5[_0x2fabc2(0x186)](_0x2a623a,_0x171347,_0x3301b3[_0x2fabc2(0x31d)](_0x3ff1b1+_0x4530c1[_0x2fabc2(0x24c)]+_0x46beb2,_0x171347));_0x2a623a++;});for(let _0x568548=_0x58bab6;_0x568548<=_0x4a9b6c;_0x568548++){const _0xad7869=_0x3301b3[_0x492f44(0x31d)](_0x283814,_0x568548);_0x4739fa[_0x283814]||(_0x4739fa[_0x283814]={}),_0x4739fa[_0x283814][_0x568548]={..._0xad7869,'s':_0x3384c8};}let _0x196528=0x1;const _0x1e0c1d={},_0x140b21={};_0x218eb5['forRow']((_0x11de7a,_0x57fc12)=>{const _0x249d5d=_0x492f44;_0x57fc12[_0x249d5d(0x396)](_0x335093=>{const _0x494d8a=_0x249d5d,_0x55bad6=_0x218eb5[_0x494d8a(0x2f2)](_0x11de7a,_0x335093);if(_0x4739fa[_0x196528]||(_0x4739fa[_0x196528]={}),_0x4739fa[_0x196528][_0x335093]={..._0x55bad6,'s':_0x196528%0x2===0x0?_0x326087:_0x1216f3},_0x795afb[_0x335093]&&_0x11de7a>=0x0){const _0x999cbc=_0x196528%0x2===0x0;let _0x3ed6d1=_0x999cbc?_0x140b21[_0x335093]:_0x1e0c1d[_0x335093];_0x3ed6d1||(_0x3ed6d1=_0x14e78c[_0x494d8a(0x347)]()[_0x494d8a(0x186)]({..._0x999cbc?_0xbb763a:_0xa4e9d8,'n':{'pattern':_0x795afb[_0x335093]}}),_0x999cbc?_0x140b21[_0x335093]=_0x3ed6d1:_0x1e0c1d[_0x335093]=_0x3ed6d1),_0x4739fa[_0x196528][_0x335093]['s']=_0x3ed6d1;}}),_0x196528++;});const _0x268d11=new _0x4cef4c[(_0x492f44(0x3de))](_0x4739fa),_0x29021c={};_0x268d11['forValue']((_0x455baf,_0xcb1197,_0x506f25)=>{_0x29021c[_0x455baf]||(_0x29021c[_0x455baf]={}),_0x29021c[_0x455baf][_0xcb1197]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x277608=[],_0x2b32e2=[],_0x42026e=_0x14e78c[_0x492f44(0x3f6)]()[_0x492f44(0x1bd)],_0x540a94=_0x4cef4c['mergeWorksheetSnapshotWithDefault']({'rowCount':Math[_0x492f44(0x23b)](_0x4cef4c['DEFAULT_WORKSHEET_ROW_COUNT'],_0x1abc32+0xa),'columnCount':Math[_0x492f44(0x23b)](_0x4cef4c[_0x492f44(0x2c3)],_0x3129ff+0x5)}),_0x11133b=_0x3745eb[_0x492f44(0x1d2)](_0x4cef4c[_0x492f44(0x41c)]);_0x540a94['id']=_0x4cef4c['generateRandomId'](),_0x540a94[_0x492f44(0x2b8)]=_0x14e78c[_0x492f44(0x2a2)](''+_0x11133b['t'](_0x492f44(0x18d)));const _0x4d7973={'index':_0x42026e,'sheet':_0x540a94,'unitId':_0x160543},_0x14ee68=_0x553681[_0x492f44(0x1ac)](_0x3745eb,_0x4d7973);_0x2b32e2[_0x492f44(0x411)]({'id':_0x553681[_0x492f44(0x2c0)]['id'],'params':_0x4d7973}),_0x277608['push']({'id':_0x553681['RemoveSheetMutation']['id'],'params':_0x14ee68}),_0x2b32e2[_0x492f44(0x411)]({'id':_0x553681[_0x492f44(0x39f)]['id'],'params':{'unitId':_0x160543,'subUnitId':_0x540a94['id'],'cellValue':_0x4739fa}}),_0x277608['unshift']({'id':_0x553681[_0x492f44(0x39f)]['id'],'params':{'unitId':_0x160543,'subUnitId':_0x540a94['id'],'cellValue':_0x29021c}});const _0x42ac30={'startRow':0x0,'startColumn':0x0,'endRow':_0x196528-0x1,'endColumn':_0x4a9b6c};_0x2b32e2[_0x492f44(0x411)]({'id':_0x40e24d['SetSheetsFilterRangeMutation']['id'],'params':{'unitId':_0x160543,'subUnitId':_0x540a94['id'],'range':_0x42ac30}}),_0x277608[_0x492f44(0x1f4)]({'id':_0x40e24d[_0x492f44(0x447)]['id'],'params':{'unitId':_0x160543,'subUnitId':_0x540a94['id']}});const _0x342f11=_0x3745eb[_0x492f44(0x1d2)](_0x4cef4c[_0x492f44(0x3ac)]);return _0x4cef4c[_0x492f44(0x232)](_0x2b32e2,_0x342f11)&&_0x3745eb[_0x492f44(0x1d2)](_0x4cef4c['IUndoRedoService'])['pushUndoRedo']({'unitID':_0x160543,'undoMutations':_0x277608,'redoMutations':_0x2b32e2}),!0x0;}},_0x2e0477={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':_0x308732(0x239),async 'handler'(_0x54913c,_0x4e6642){const _0x2d3aa0=_0x308732;if(!_0x4e6642)return!0x1;const _0x51d447=_0x54913c['get'](_0x4cef4c[_0x2d3aa0(0x3ac)]),_0x2f44be=_0x54913c[_0x2d3aa0(0x1d2)](_0x11a467['SheetsPivotRPCService']),_0x174cc3=_0x54913c[_0x2d3aa0(0x1d2)](_0x4cef4c[_0x2d3aa0(0x288)]),{pivotTableId:_0x56e691,fieldIds:_0x20b00c,unitId:_0x4e4903,subUnitId:_0x1ccc0c}=_0x4e6642,_0x200334=(await _0x2f44be[_0x2d3aa0(0x32b)]({'unitId':_0x4e4903,'subUnitId':_0x1ccc0c,'pivotTableId':_0x56e691,'params':{'type':_0x16fd81[_0x2d3aa0(0x1c0)],'removePivotField':{'fieldIds':_0x20b00c}}}))[_0x2d3aa0(0x307)][_0x2d3aa0(0x333)];if(!_0x200334)return!0x1;const {view:_0x2a8664,changesets:_0x1767e9,isEmpty:_0x30ceff,pivotTableConfig:_0x38417d}=_0x200334,_0x52b31b=_0x38417d[_0x2d3aa0(0x2b1)],_0x2644b4=new _0x141cc9['PivotView']();_0x2644b4[_0x2d3aa0(0x1e7)](_0x2a8664);const _0x4c30c6={'cellInfo':_0x52b31b,'view':_0x2644b4,'isEmpty':_0x30ceff};if(!await _0x54913c[_0x2d3aa0(0x1d2)](_0x11a467[_0x2d3aa0(0x38e)])['asyncInterceptor'][_0x2d3aa0(0x251)](_0x2f89b0)(!0x0,_0x4c30c6))return!0x1;const _0x1f0513=_0x3fed82(_0x54913c,_0x2644b4,_0x52b31b,_0x30ceff),_0x228ad9=_0xadfc77(_0x54913c,_0x4c30c6),{redos:_0x79845,undos:_0x46b657}=_0x1cb4e1(_0x51d447,{'pivotTableId':_0x56e691,'unitId':_0x4e4903,'subUnitId':_0x1ccc0c},_0x1767e9);return _0x4cef4c['sequenceExecute']([..._0x1f0513['redos'],..._0x228ad9['redos'],..._0x79845],_0x51d447),_0x174cc3['pushUndoRedo']({'unitID':_0x4e4903,'redoMutations':[..._0x1f0513[_0x2d3aa0(0x1f7)],..._0x228ad9['redos'],..._0x79845],'undoMutations':[..._0x1f0513['undos'],..._0x228ad9[_0x2d3aa0(0x42f)],..._0x46b657]}),!0x0;}},_0x29933a={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':_0x308732(0x2d7),async 'handler'(_0xea657e,_0x149d2f){const _0x1c39d9=_0x308732;var _0x42a801;const _0x52d798=_0xea657e[_0x1c39d9(0x1d2)](_0x4cef4c[_0x1c39d9(0x3ac)]),_0x521913=_0xea657e[_0x1c39d9(0x1d2)](_0x11a467[_0x1c39d9(0x34f)]),_0x299e5a=_0xea657e[_0x1c39d9(0x1d2)](_0x11a467[_0x1c39d9(0x236)]),_0x34f252=_0xea657e[_0x1c39d9(0x1d2)](_0x4cef4c[_0x1c39d9(0x275)]),_0x1e7fac=_0xea657e[_0x1c39d9(0x1d2)](_0x4cef4c[_0x1c39d9(0x288)]);if(!_0x149d2f)return!0x1;const {unitId:_0x42aab8,subUnitId:_0x77bfc1,row:_0x3d6cfa,col:_0x38de3a,collapse:_0x31570d}=_0x149d2f,_0x35284b=_0x34f252['getUnit'](_0x42aab8);if(!_0x35284b||!_0x35284b['getSheetBySheetId'](_0x77bfc1))return!0x1;const _0x97b7e3=_0x299e5a[_0x1c39d9(0x21c)](_0x42aab8,_0x77bfc1,_0x3d6cfa,_0x38de3a);if(!_0x97b7e3)return!0x1;const _0x2eb708=_0x299e5a[_0x1c39d9(0x1da)](_0x42aab8,_0x77bfc1,_0x97b7e3);if(!_0x2eb708)return!0x1;const _0x1463a1=_0x4cef4c[_0x1c39d9(0x284)](_0x3d6cfa,_0x38de3a),{rangesInfo:_0x49a600,areaInfo:_0xd8d6ca,headerMap:_0x1a39cd}=_0x2eb708;if(!_0x49a600||!_0xd8d6ca||!_0x1a39cd)return!0x1;const _0xe506d9=Object['keys'](_0x49a600)[_0x1c39d9(0x188)](_0x3db98b=>_0x49a600[_0x3db98b][_0x1c39d9(0x2d6)](_0x167fd7=>_0x4cef4c[_0x1c39d9(0x222)][_0x1c39d9(0x354)](_0x167fd7,_0x1463a1)));let _0x1e58aa;_0xe506d9==='rowRanges'?_0x1e58aa=_0x1a39cd[_0x1c39d9(0x1ea)][_0x38de3a]:_0xe506d9===_0x1c39d9(0x462)&&(_0x1e58aa=_0x1a39cd['colHeaderMap'][_0x3d6cfa]);const _0x26d439=_0x1e58aa==null?void 0x0:_0x1e58aa[_0x1c39d9(0x32a)],_0x27e5fe=(_0x42a801=_0x299e5a['getPivotTableCellData'](_0x42aab8,_0x77bfc1,_0x3d6cfa,_0x38de3a))==null?void 0x0:_0x42a801['v'];if(_0x27e5fe==null||!_0x97b7e3||!_0x26d439)return!0x1;const _0x17fbff=await _0x521913[_0x1c39d9(0x32b)]({'unitId':_0x42aab8,'subUnitId':_0x77bfc1,'pivotTableId':_0x97b7e3,'params':{'type':_0x16fd81['SetPivotCollapse'],'setPivotCollapse':{'tableFieldId':_0x26d439,'collapse':_0x31570d,'item':_0x27e5fe}}}),_0x4ad644=_0x17fbff==null?void 0x0:_0x17fbff[_0x1c39d9(0x307)][_0x1c39d9(0x292)];if(!_0x4ad644)return!0x1;const {view:_0x699064,pivotTableConfig:_0x93eae0,isEmpty:_0x299836,changesets:_0xad9e3c}=_0x4ad644,_0x1774eb=new _0x141cc9[(_0x1c39d9(0x401))]();_0x1774eb['formJSON'](_0x699064);const _0x3eae01=_0x93eae0[_0x1c39d9(0x2b1)],_0x13068f={'cellInfo':_0x3eae01,'view':_0x1774eb,'isEmpty':_0x299836};if(!await _0xea657e[_0x1c39d9(0x1d2)](_0x11a467[_0x1c39d9(0x38e)])[_0x1c39d9(0x449)][_0x1c39d9(0x251)](_0x2f89b0)(!0x0,_0x13068f))return!0x1;const _0x5c7f1a=_0x3fed82(_0xea657e,_0x1774eb,_0x3eae01,_0x299836),_0x3158a1=_0xadfc77(_0xea657e,_0x13068f),{redos:_0x19c1e3,undos:_0x4a393f}=_0x1cb4e1(_0x52d798,{'pivotTableId':_0x97b7e3,'unitId':_0x42aab8,'subUnitId':_0x77bfc1},_0xad9e3c);return _0x4cef4c[_0x1c39d9(0x232)]([..._0x5c7f1a['redos'],..._0x3158a1[_0x1c39d9(0x1f7)],..._0x19c1e3],_0x52d798),_0x1e7fac[_0x1c39d9(0x2cf)]({'unitID':_0x42aab8,'redoMutations':[..._0x5c7f1a[_0x1c39d9(0x1f7)],..._0x3158a1[_0x1c39d9(0x1f7)],..._0x19c1e3],'undoMutations':[..._0x5c7f1a[_0x1c39d9(0x42f)],..._0x3158a1[_0x1c39d9(0x42f)],..._0x4a393f]}),!0x0;}},_0x208fa8={'type':_0x4cef4c['CommandType'][_0x308732(0x2c6)],'id':_0x308732(0x37a),async 'handler'(_0x11de3e,_0x5e838d){const _0x350da6=_0x308732;if(!_0x5e838d)return!0x1;const _0x391a83=_0x11de3e[_0x350da6(0x1d2)](_0x4cef4c[_0x350da6(0x3ac)]),{pivotTableId:_0x37d2eb,tableFieldId:_0xba530,items:_0x2175ab,unitId:_0x4c14f5,subUnitId:_0x329953,isAll:_0x2379ba}=_0x5e838d,_0x10bfe8=_0x11de3e[_0x350da6(0x1d2)](_0x11a467[_0x350da6(0x34f)]),_0x101374=_0x11de3e[_0x350da6(0x1d2)](_0x4cef4c[_0x350da6(0x288)]),_0x3db7f8=(await _0x10bfe8[_0x350da6(0x32b)]({'unitId':_0x4c14f5,'subUnitId':_0x329953,'pivotTableId':_0x37d2eb,'params':{'type':_0x16fd81[_0x350da6(0x40c)],'setPivotFilter':{'tableFieldId':_0xba530,'items':_0x2175ab,'isAll':_0x2379ba}}}))[_0x350da6(0x307)][_0x350da6(0x230)];if(!_0x3db7f8)return!0x1;const {changesets:_0x18a8f2,pivotTableConfig:_0x34ad5a,isEmpty:_0x506f27,view:_0x2561e3}=_0x3db7f8,_0xc997fe=_0x34ad5a[_0x350da6(0x2b1)],_0x1fbb50=new _0x141cc9[(_0x350da6(0x401))]();_0x1fbb50[_0x350da6(0x1e7)](_0x2561e3);const _0x3d1ac7={'cellInfo':_0xc997fe,'view':_0x1fbb50,'isEmpty':_0x506f27};if(!await _0x11de3e[_0x350da6(0x1d2)](_0x11a467['SheetsPivotTableService'])[_0x350da6(0x449)][_0x350da6(0x251)](_0x2f89b0)(!0x0,_0x3d1ac7))return!0x1;const _0x5bb856=_0x3fed82(_0x11de3e,_0x1fbb50,_0xc997fe,_0x506f27),_0x40bc00=_0xadfc77(_0x11de3e,_0x3d1ac7),{undos:_0x3181e3,redos:_0xd0ff61}=_0x1cb4e1(_0x391a83,{'pivotTableId':_0x37d2eb,'unitId':_0x4c14f5,'subUnitId':_0x329953},_0x18a8f2);return _0x4cef4c['sequenceExecute']([..._0x5bb856['redos'],..._0x40bc00[_0x350da6(0x1f7)],..._0xd0ff61],_0x391a83),_0x101374[_0x350da6(0x2cf)]({'unitID':_0x4c14f5,'redoMutations':[..._0x5bb856[_0x350da6(0x1f7)],..._0x40bc00['redos'],..._0xd0ff61],'undoMutations':[..._0x5bb856[_0x350da6(0x42f)],..._0x40bc00[_0x350da6(0x42f)],..._0x3181e3]}),!0x0;}},_0xf11bb6={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':'sheet.command.set-pivot-sort',async 'handler'(_0x2f78b1,_0xa007fb){const _0x30088c=_0x308732;if(!_0xa007fb)return!0x1;const _0xd95b16=_0x2f78b1['get'](_0x4cef4c[_0x30088c(0x3ac)]),_0x338d9a=_0x2f78b1[_0x30088c(0x1d2)](_0x4cef4c[_0x30088c(0x288)]),_0x33ef20=_0x2f78b1[_0x30088c(0x1d2)](_0x11a467[_0x30088c(0x34f)]),{info:_0x57bfb8,tableFieldId:_0x4a6dd1,pivotTableId:_0x2dafb5,unitId:_0xee18f2,subUnitId:_0x2aac3b}=_0xa007fb,_0xbe47e7=(await _0x33ef20['getPivotDisplayConfig']({'unitId':_0xee18f2,'subUnitId':_0x2aac3b,'pivotTableId':_0x2dafb5,'params':{'type':_0x16fd81[_0x30088c(0x2ec)],'setPivotSort':{'tableFieldId':_0x4a6dd1,'info':_0x57bfb8}}}))[_0x30088c(0x307)][_0x30088c(0x1ed)];if(!_0xbe47e7)return!0x1;const {changesets:_0x24f2b4}=_0xbe47e7,{redos:_0x34ce7c,undos:_0x3d381b}=_0x1cb4e1(_0xd95b16,{'pivotTableId':_0x2dafb5,'unitId':_0xee18f2,'subUnitId':_0x2aac3b},_0x24f2b4);return _0x4cef4c['sequenceExecute'](_0x34ce7c,_0xd95b16),_0x338d9a[_0x30088c(0x2cf)]({'unitID':_0xee18f2,'redoMutations':_0x34ce7c,'undoMutations':_0x3d381b}),!0x0;}},_0x4f561f={'type':_0x4cef4c[_0x308732(0x362)]['COMMAND'],'id':'sheet.command.set-pivot-field-setting',async 'handler'(_0x22f5f5,_0x1fc906){const _0x43221c=_0x308732;if(!_0x1fc906)return!0x1;const _0x53818f=_0x22f5f5[_0x43221c(0x1d2)](_0x4cef4c['ICommandService']),_0x5d0f02=_0x22f5f5['get'](_0x4cef4c[_0x43221c(0x288)]),_0x14edba=_0x22f5f5[_0x43221c(0x1d2)](_0x11a467['SheetsPivotRPCService']),{displayName:_0x42e3be,subtotalType:_0x312a2e,format:_0x45f4ea,tableFieldId:_0x38bc07,pivotTableId:_0x4ad6f,unitId:_0x1f15ec,subUnitId:_0x3101a3}=_0x1fc906,_0x401d24=(await _0x14edba[_0x43221c(0x32b)]({'unitId':_0x1f15ec,'subUnitId':_0x3101a3,'pivotTableId':_0x4ad6f,'params':{'type':_0x16fd81[_0x43221c(0x433)],'setPivotSetting':{'tableFieldId':_0x38bc07,'displayName':_0x42e3be,'subtotalType':_0x312a2e,'format':_0x45f4ea}}}))[_0x43221c(0x307)][_0x43221c(0x2ef)];if(!_0x401d24)return!0x1;const {changesets:_0x12ea37,view:_0x1e6737,pivotTableConfig:_0x133bca,isEmpty:_0x1334ef}=_0x401d24,_0x39fa13=_0x133bca[_0x43221c(0x2b1)],_0x22f2d2=new _0x141cc9[(_0x43221c(0x401))]();_0x22f2d2['formJSON'](_0x1e6737);const _0x40bb38={'cellInfo':_0x39fa13,'view':_0x22f2d2,'isEmpty':_0x1334ef};if(!await _0x22f5f5[_0x43221c(0x1d2)](_0x11a467[_0x43221c(0x38e)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x2f89b0)(!0x0,_0x40bb38))return!0x1;const _0x3300f1=_0x3fed82(_0x22f5f5,_0x22f2d2,_0x39fa13,_0x1334ef),_0x2ca7ae=_0xadfc77(_0x22f5f5,_0x40bb38),{undos:_0x2140dd,redos:_0x15c9c4}=_0x1cb4e1(_0x53818f,{'pivotTableId':_0x4ad6f,'unitId':_0x1f15ec,'subUnitId':_0x3101a3},_0x12ea37);return _0x4cef4c[_0x43221c(0x232)]([..._0x3300f1[_0x43221c(0x1f7)],..._0x2ca7ae['redos'],..._0x15c9c4],_0x53818f),_0x5d0f02['pushUndoRedo']({'unitID':_0x1f15ec,'redoMutations':[..._0x3300f1['redos'],..._0x2ca7ae[_0x43221c(0x1f7)],..._0x15c9c4],'undoMutations':[..._0x3300f1[_0x43221c(0x42f)],..._0x2ca7ae['undos'],..._0x2140dd]}),!0x0;}},_0x19d39f={'type':_0x4cef4c['CommandType'][_0x308732(0x2c6)],'id':_0x308732(0x45c),async 'handler'(_0x332a0c,_0x29e396){const _0x4eb7a3=_0x308732,_0x1cdb9a=_0x332a0c['get'](_0x4cef4c['ICommandService']),_0x1f3743=_0x332a0c[_0x4eb7a3(0x1d2)](_0x11a467[_0x4eb7a3(0x34f)]),_0x80843=_0x332a0c[_0x4eb7a3(0x1d2)](_0x4cef4c[_0x4eb7a3(0x288)]);if(!_0x29e396)return!0x1;const {token:_0x11f205,dataRangeInfo:_0x48c213,unitId:_0x322dd8,subUnitId:_0x3b2f44}=_0x29e396,_0x48472e=[],_0x58bd74=[],_0x25b0fe=(await _0x1f3743[_0x4eb7a3(0x32b)]({'unitId':_0x322dd8,'subUnitId':_0x3b2f44,'pivotTableId':_0x11f205,'params':{'type':_0x16fd81[_0x4eb7a3(0x2c9)],'updatePivotSource':{'dataRangeInfo':_0x48c213,'unitId':_0x322dd8,'subUnitId':_0x3b2f44}}}))[_0x4eb7a3(0x307)][_0x4eb7a3(0x1be)];if(!_0x25b0fe)return!0x1;const {changesets:_0x2c6354,deleteIds:_0x2669b8,collectionConfig:_0x16da7b,oldCollectionConfig:_0x23b2e2,view:_0x21b96d,isEmpty:_0x2c9ad5,pivotTableConfig:_0x6f5146}=_0x25b0fe;_0x58bd74['push']({'id':_0x4d2da1['id'],'params':{'pivotTableId':_0x11f205,'deleteIds':_0x2669b8,'collectionJSON':_0x16da7b,'dataRangeInfo':_0x48c213,'unitId':_0x322dd8,'subUnitId':_0x3b2f44}}),_0x48472e[_0x4eb7a3(0x1f4)]({'id':_0x4d2da1['id'],'params':{'pivotTableId':_0x11f205,'deleteIds':[],'collectionJSON':_0x23b2e2,'dataRangeInfo':_0x6f5146[_0x4eb7a3(0x298)],'unitId':_0x322dd8,'subUnitId':_0x3b2f44}});const _0x4c277d=_0x6f5146[_0x4eb7a3(0x2b1)],_0x104c70=new _0x141cc9[(_0x4eb7a3(0x401))]();_0x104c70[_0x4eb7a3(0x1e7)](_0x21b96d);const _0x215172={'cellInfo':_0x4c277d,'view':_0x104c70,'isEmpty':_0x2c9ad5};if(!await _0x332a0c[_0x4eb7a3(0x1d2)](_0x11a467['SheetsPivotTableService'])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x2f89b0)(!0x0,_0x215172))return!0x1;const _0x29f946=_0x3fed82(_0x332a0c,_0x104c70,_0x4c277d,_0x2c9ad5),_0x52fbd6=_0xadfc77(_0x332a0c,_0x215172),{undos:_0x3ef46e,redos:_0x2f93d9}=_0x1cb4e1(_0x1cdb9a,{'pivotTableId':_0x11f205,'unitId':_0x322dd8,'subUnitId':_0x3b2f44},_0x2c6354);return _0x4cef4c[_0x4eb7a3(0x232)]([..._0x29f946[_0x4eb7a3(0x1f7)],..._0x52fbd6[_0x4eb7a3(0x1f7)],..._0x58bd74,..._0x3ef46e],_0x1cdb9a),_0x80843['pushUndoRedo']({'unitID':_0x322dd8,'redoMutations':[..._0x29f946[_0x4eb7a3(0x1f7)],..._0x52fbd6[_0x4eb7a3(0x1f7)],..._0x58bd74,..._0x3ef46e],'undoMutations':[..._0x29f946[_0x4eb7a3(0x42f)],..._0x52fbd6[_0x4eb7a3(0x42f)],..._0x48472e,..._0x2f93d9]}),!0x0;}},_0x216d62={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':_0x308732(0x42c),async 'handler'(_0x12e1c0,_0x1e03c4){const _0x547189=_0x308732;if(!_0x1e03c4)return!0x1;const _0x3f21f8=_0x12e1c0[_0x547189(0x1d2)](_0x4cef4c[_0x547189(0x3ac)]),_0x2b188d=_0x12e1c0['get'](_0x11a467[_0x547189(0x34f)]),_0x3b3409=_0x12e1c0[_0x547189(0x1d2)](_0x4cef4c[_0x547189(0x275)]),_0xc33c8e=_0x12e1c0[_0x547189(0x1d2)](_0x4cef4c['IUndoRedoService']),{pivotTableId:_0x31b08a,position:_0x379ebf,index:_0x3d4351}=_0x1e03c4,_0x159399=_0x553681[_0x547189(0x3a5)](_0x3b3409);if(!_0x159399)return!0x1;const {unitId:_0x3783e6,subUnitId:_0x4e1fea}=_0x159399,_0x150e8e=(await _0x2b188d['getPivotDisplayConfig']({'unitId':_0x3783e6,'subUnitId':_0x4e1fea,'pivotTableId':_0x31b08a,'params':{'type':_0x16fd81[_0x547189(0x2a9)],'updateValuePosition':{'position':_0x379ebf,'index':_0x3d4351}}}))['result'][_0x547189(0x2ca)];if(!_0x150e8e)return!0x1;const {changesets:_0x17475b,view:_0x1cd32a,isEmpty:_0x4015bb,pivotTableConfig:_0x3bd3af}=_0x150e8e,_0x31f60b=_0x3bd3af['targetCellInfo'],_0x523b82=new _0x141cc9[(_0x547189(0x401))]();_0x523b82['formJSON'](_0x1cd32a);const _0x246cc9=_0x12e1c0['get'](_0x11a467[_0x547189(0x38e)]),_0x2a1f8a={'cellInfo':_0x31f60b,'view':_0x523b82,'isEmpty':_0x4015bb};if(!await _0x246cc9['asyncInterceptor'][_0x547189(0x251)](_0x2f89b0)(!0x0,_0x2a1f8a))return!0x1;const _0x563405=_0x3fed82(_0x12e1c0,_0x523b82,_0x31f60b,_0x4015bb),_0x59bd5d=_0xadfc77(_0x12e1c0,_0x2a1f8a),{undos:_0x228480,redos:_0x44131e}=_0x1cb4e1(_0x3f21f8,{'pivotTableId':_0x31b08a,'unitId':_0x3783e6,'subUnitId':_0x4e1fea},_0x17475b);return _0x4cef4c[_0x547189(0x232)]([..._0x563405['redos'],..._0x59bd5d['redos'],..._0x44131e],_0x3f21f8),_0xc33c8e[_0x547189(0x2cf)]({'unitID':_0x3783e6,'redoMutations':[..._0x563405[_0x547189(0x1f7)],..._0x59bd5d[_0x547189(0x1f7)],..._0x44131e],'undoMutations':[..._0x563405['undos'],..._0x59bd5d[_0x547189(0x42f)],..._0x228480]}),!0x0;}},_0x822263={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':'sheet.command.move-pivot-table','handler':(_0x44b55d,_0x28c296)=>{const _0x12bf83=_0x308732,_0x20ecc4=_0x44b55d[_0x12bf83(0x1d2)](_0x4cef4c['ICommandService']),_0x5dd05c=_0x44b55d[_0x12bf83(0x1d2)](_0x4cef4c[_0x12bf83(0x288)]),_0xea12b4=_0x44b55d['get'](_0x11a467[_0x12bf83(0x1fa)]),_0x5bd270=_0x44b55d[_0x12bf83(0x1d2)](_0x4cef4c[_0x12bf83(0x275)]);if(!_0x28c296)return!0x1;const _0x1ebfdf=_0x553681[_0x12bf83(0x3a5)](_0x5bd270);if(!_0x1ebfdf)return!0x1;const {unitId:_0x16da06,subUnitId:_0xcd17d7,workbook:_0x5c3022}=_0x1ebfdf,_0x37503e=_0xea12b4[_0x12bf83(0x332)](_0x28c296[_0x12bf83(0x23e)][_0x12bf83(0x44f)],_0x28c296[_0x12bf83(0x23e)]['subUnitId'],_0x28c296[_0x12bf83(0x242)]);if(!_0x37503e)return!0x1;const _0x232279=_0x5c3022[_0x12bf83(0x1fc)](_0x28c296[_0x12bf83(0x2b1)]['subUnitId']);if(!_0x232279)throw new Error(_0x12bf83(0x3ef));const _0x3f134a=_0x232279[_0x12bf83(0x422)](),_0x410d0c=_0x232279['getColumnCount']();if(_0x28c296[_0x12bf83(0x2b1)]['row']>_0x3f134a||_0x28c296[_0x12bf83(0x2b1)][_0x12bf83(0x36d)]>_0x410d0c)throw new Error(_0x12bf83(0x376));const _0x5f4887=[{'id':_0x2064a0['id'],'params':{'unitId':_0x16da06,'subUnitId':_0x28c296[_0x12bf83(0x2b1)][_0x12bf83(0x2d0)],'pivotTableId':_0x28c296[_0x12bf83(0x242)],'targetCellPosition':{'row':_0x28c296[_0x12bf83(0x2b1)][_0x12bf83(0x3ec)],'col':_0x28c296[_0x12bf83(0x2b1)][_0x12bf83(0x36d)]}}}],_0x413062=[{'id':_0x2064a0['id'],'params':{'unitId':_0x16da06,'subUnitId':_0xcd17d7,'pivotTableId':_0x28c296[_0x12bf83(0x242)],'targetCellPosition':{'row':_0x37503e[_0x12bf83(0x2b1)][_0x12bf83(0x3ec)],'col':_0x37503e[_0x12bf83(0x2b1)]['col']}}}];return _0x4cef4c[_0x12bf83(0x232)](_0x5f4887,_0x20ecc4)&&_0x5dd05c['pushUndoRedo']({'unitID':_0x16da06,'undoMutations':_0x413062,'redoMutations':_0x5f4887}),!0x0;}},_0x1d4b8e={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':_0x308732(0x253),async 'handler'(_0x5bb794,_0x2ce049){const _0x5e04c1=_0x308732;if(!_0x2ce049)return!0x1;const _0x5de57f=_0x5bb794[_0x5e04c1(0x1d2)](_0x4cef4c['ICommandService']),{pivotTableId:_0x558fa7,fieldId:_0xc73b84,valueFilterInfo:_0x1175e0,unitId:_0xca2b1a,subUnitId:_0xd18fa3}=_0x2ce049,_0x410f5c=_0x5bb794[_0x5e04c1(0x1d2)](_0x11a467['SheetsPivotRPCService']),_0x447885=_0x5bb794[_0x5e04c1(0x1d2)](_0x4cef4c[_0x5e04c1(0x288)]),_0x15926a=(await _0x410f5c['getPivotDisplayConfig']({'unitId':_0xca2b1a,'subUnitId':_0xd18fa3,'pivotTableId':_0x558fa7,'params':{'type':_0x16fd81[_0x5e04c1(0x19b)],'setValuePivotFilter':{'tableFieldId':_0xc73b84,'filterInfo':_0x1175e0}}}))[_0x5e04c1(0x307)][_0x5e04c1(0x2aa)];if(!_0x15926a)return!0x1;const {changesets:_0x1b8db4,pivotTableConfig:_0x3344e4,isEmpty:_0x33500c,view:_0x1ea0ed}=_0x15926a,_0x4f16c=_0x3344e4[_0x5e04c1(0x2b1)],_0x5af640=new _0x141cc9[(_0x5e04c1(0x401))]();_0x5af640[_0x5e04c1(0x1e7)](_0x1ea0ed);const _0x222544={'cellInfo':_0x4f16c,'view':_0x5af640,'isEmpty':_0x33500c};if(!await _0x5bb794[_0x5e04c1(0x1d2)](_0x11a467[_0x5e04c1(0x38e)])['asyncInterceptor'][_0x5e04c1(0x251)](_0x2f89b0)(!0x0,_0x222544))return!0x1;const _0x36dc5c=_0x3fed82(_0x5bb794,_0x5af640,_0x4f16c,_0x33500c),_0x5e9bde=_0xadfc77(_0x5bb794,_0x222544),{undos:_0x217555,redos:_0x29863e}=_0x1cb4e1(_0x5de57f,{'pivotTableId':_0x558fa7,'unitId':_0xca2b1a,'subUnitId':_0xd18fa3},_0x1b8db4);return _0x4cef4c[_0x5e04c1(0x232)]([..._0x36dc5c[_0x5e04c1(0x1f7)],..._0x5e9bde[_0x5e04c1(0x1f7)],..._0x29863e],_0x5de57f),_0x447885[_0x5e04c1(0x2cf)]({'unitID':_0xca2b1a,'redoMutations':[..._0x36dc5c['redos'],..._0x5e9bde[_0x5e04c1(0x1f7)],..._0x29863e],'undoMutations':[..._0x36dc5c[_0x5e04c1(0x42f)],..._0x5e9bde['undos'],..._0x217555]}),!0x0;}},_0x104c66={'type':_0x4cef4c[_0x308732(0x362)][_0x308732(0x2c6)],'id':_0x308732(0x2f9),async 'handler'(_0x574f07,_0x327833){const _0x5a3436=_0x308732;if(!_0x327833)return!0x1;const _0x21bd06=_0x574f07['get'](_0x4cef4c['ICommandService']),_0x3f33f0=_0x574f07[_0x5a3436(0x1d2)](_0x4cef4c[_0x5a3436(0x288)]),_0x42e265=_0x574f07['get'](_0x11a467[_0x5a3436(0x34f)]),{pivotTableConfig:_0x12acfe,pivotTableId:_0x47a051,unitId:_0x46e39d,subUnitId:_0x3a4197}=_0x327833,_0x1a89a2=(await _0x42e265['getPivotDisplayConfig']({'unitId':_0x46e39d,'subUnitId':_0x3a4197,'pivotTableId':_0x47a051,'params':{'type':_0x16fd81['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x47a051,'pivotTableConfig':_0x12acfe}}}))[_0x5a3436(0x307)][_0x5a3436(0x30c)];if(!_0x1a89a2)return!0x1;const {changesets:_0x2d072a}=_0x1a89a2,{redos:_0x38f29c,undos:_0x4558ad}=_0x1cb4e1(_0x21bd06,{'pivotTableId':_0x47a051,'unitId':_0x46e39d,'subUnitId':_0x3a4197},_0x2d072a);return _0x4cef4c[_0x5a3436(0x232)](_0x38f29c,_0x21bd06),_0x3f33f0[_0x5a3436(0x2cf)]({'unitID':_0x46e39d,'redoMutations':_0x38f29c,'undoMutations':_0x4558ad}),!0x0;}},_0x27083a={'type':_0x4cef4c['CommandType'][_0x308732(0x2c6)],'id':_0x308732(0x1ae),async 'handler'(_0x1770b4,_0x333303){const _0x5acfe4=_0x308732;if(!_0x333303)return!0x1;const _0x94ebe9=_0x1770b4[_0x5acfe4(0x1d2)](_0x4cef4c['ICommandService']),_0x4b18e4=_0x1770b4[_0x5acfe4(0x1d2)](_0x4cef4c['IUndoRedoService']),_0x55dac2=_0x1770b4[_0x5acfe4(0x1d2)](_0x11a467['SheetsPivotRPCService']),{resetArea:_0x248b4f,pivotTableId:_0x512fa8,unitId:_0x2c13c9,subUnitId:_0x24d5e8}=_0x333303,_0x410917=(await _0x55dac2[_0x5acfe4(0x32b)]({'unitId':_0x2c13c9,'subUnitId':_0x24d5e8,'pivotTableId':_0x512fa8,'params':{'type':_0x16fd81[_0x5acfe4(0x1d7)],'resetPivotTable':{'pivotTableId':_0x512fa8,'resetArea':_0x248b4f}}}))[_0x5acfe4(0x307)][_0x5acfe4(0x256)];if(!_0x410917)return!0x1;const {changesets:_0x2151da}=_0x410917,{redos:_0x1639a6,undos:_0x29282c}=_0x1cb4e1(_0x94ebe9,{'pivotTableId':_0x512fa8,'unitId':_0x2c13c9,'subUnitId':_0x24d5e8},_0x2151da);return _0x4cef4c[_0x5acfe4(0x232)](_0x1639a6,_0x94ebe9),_0x4b18e4[_0x5acfe4(0x2cf)]({'unitID':_0x2c13c9,'redoMutations':_0x1639a6,'undoMutations':_0x29282c}),!0x0;}};var _0x861c2c=Object[_0x308732(0x456)],_0x28e596=(_0x7c58f3,_0x29487d,_0x1b1d4f,_0x46b0a3)=>{const _0x4fdf40=_0x308732;for(var _0x10f8fc=_0x46b0a3>0x1?void 0x0:_0x46b0a3?_0x861c2c(_0x29487d,_0x1b1d4f):_0x29487d,_0x5acf93=_0x7c58f3[_0x4fdf40(0x1bd)]-0x1,_0x549f0d;_0x5acf93>=0x0;_0x5acf93--)(_0x549f0d=_0x7c58f3[_0x5acf93])&&(_0x10f8fc=_0x549f0d(_0x10f8fc)||_0x10f8fc);return _0x10f8fc;},_0x8f82ac=(_0x552341,_0x1a7add)=>(_0x2968c3,_0x2a6029)=>_0x1a7add(_0x2968c3,_0x2a6029,_0x552341);const _0x42895c=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x351498=(_0x19617a,_0xfa8147,_0x2c8243)=>{const _0x4cb5dc=_0x308732,_0x4e3dfc=_0x19617a['dataFieldsCollection'];_0x19617a[_0x4cb5dc(0x1d3)](_0x3f7804=>{const _0x391280=_0x4cb5dc,_0x1ca33c=_0x3f7804[_0x391280(0x450)](),_0x549685=_0x3f7804['getDataFieldId'](),_0x43b469=_0x3f7804[_0x391280(0x215)](),_0x41948f=_0x3f7804[_0x391280(0x3c2)]();_0xfa8147[_0x549685]&&_0xfa8147[_0x549685]===_0x41948f&&_0x43b469===_0x41948f&&(_0x19617a['renameField'](_0x1ca33c,_0x4e3dfc[_0x391280(0x3c2)](_0x549685)),_0x3f7804[_0x391280(0x42e)](_0x4e3dfc[_0x391280(0x3c2)](_0x549685)));}),_0x19617a[_0x4cb5dc(0x2b5)](_0x141cc9[_0x4cb5dc(0x3c5)][_0x4cb5dc(0x441)],_0x26b50=>{const _0xa83b46=_0x4cb5dc,_0x1c3d7a=_0x26b50[_0xa83b46(0x450)](),_0x148a1c=_0x26b50['getDataFieldId'](),_0x5e14db=_0x26b50[_0xa83b46(0x215)](),_0x117350=_0x26b50[_0xa83b46(0x3c2)](),_0xbef1bd=_0x26b50[_0xa83b46(0x177)](),_0x59b20e=_0x2c8243(_0x5e14db,_0xbef1bd);_0xfa8147[_0x148a1c]&&_0xfa8147[_0x148a1c]===_0x5e14db&&_0x59b20e===_0x117350&&(_0x19617a[_0xa83b46(0x373)](_0x1c3d7a,_0x2c8243(_0x4e3dfc[_0xa83b46(0x3c2)](_0x148a1c),_0xbef1bd)),_0x26b50['setSourceName'](_0x4e3dfc[_0xa83b46(0x3c2)](_0x148a1c)));});},_0xfe239c=(_0x5186ba,_0x4f17af,_0xa6745d)=>{const _0x142f69=_0x308732;var _0x1a43f8,_0x20e658;const {arrayFormulaCellData:_0x46e519,unitData:_0xf8fdd0}=_0x4f17af,{unitId:_0x469bee,subUnitId:_0x1835e4}=_0xa6745d,_0x3279bc=_0xa6745d[_0x142f69(0x315)],{startColumn:_0x1f6824,endColumn:_0x14d1ab}=_0x3279bc,_0x34430a=(_0x1a43f8=_0x46e519==null?void 0x0:_0x46e519[_0x469bee])==null?void 0x0:_0x1a43f8[_0x1835e4],_0x17b839=(_0x20e658=_0xf8fdd0==null?void 0x0:_0xf8fdd0[_0x469bee])==null?void 0x0:_0x20e658[_0x1835e4],_0x641a7c=new Set(),_0x45b8ff=_0x14d1ab-_0x1f6824+0x1,{dirtyRanges:_0xeb7a48}=_0x5186ba;if(_0xeb7a48)for(const {range:_0xdad8f5,sheetId:_0x3f65b3,unitId:_0x1b91fb}of _0xeb7a48){if(_0x3f65b3!==_0x1835e4||_0x469bee!==_0x1b91fb)continue;const _0x385ec2=_0x4cef4c[_0x142f69(0x222)]['getIntersects'](_0xdad8f5,_0x3279bc);if(_0x385ec2){const {startColumn:_0x171b94,endColumn:_0x587a71}=_0x385ec2;for(let _0x541ece=_0x171b94;_0x541ece<=_0x587a71;_0x541ece++)_0x641a7c[_0x142f69(0x20a)](_0x541ece);}}if(_0x641a7c[_0x142f69(0x406)]===_0x45b8ff||_0x641a7c[_0x142f69(0x406)]===_0x45b8ff)return Array[_0x142f69(0x386)](_0x641a7c);if(_0x17b839){const _0x30fd27=_0x17b839[_0x142f69(0x194)](),_0x29320d=Object[_0x142f69(0x263)](_0x30fd27);for(const _0x4df8d6 of _0x29320d){const _0x1ef264=Number(_0x4df8d6),_0x3d489d=_0x30fd27[_0x1ef264];if(_0x641a7c['size']===_0x45b8ff)break;for(const _0x204c7b in _0x3d489d){const _0x20a14a=Number(_0x204c7b);_0x20a14a<_0x1f6824||_0x20a14a>_0x14d1ab||_0x641a7c['add'](_0x20a14a);}}}if(_0x34430a){const _0x4d7f0a=_0x34430a[_0x142f69(0x194)](),_0x16b845=Object[_0x142f69(0x263)](_0x4d7f0a);for(const _0xc9c48b of _0x16b845){const _0x43224a=Number(_0xc9c48b),_0x17a081=_0x4d7f0a[_0x43224a];if(_0x641a7c[_0x142f69(0x406)]===_0x45b8ff)break;for(const _0x1cf867 in _0x17a081){const _0x45c958=Number(_0x1cf867);_0x45c958<_0x1f6824||_0x45c958>_0x14d1ab||_0x641a7c[_0x142f69(0x20a)](_0x45c958);}}}return Array[_0x142f69(0x386)](_0x641a7c);},_0x28e706=_0x8fd830=>{const _0x20d87e=_0x308732,_0x37461f=new Set(),_0x40015c=[];for(const _0x19595d of _0x8fd830){const _0x381c4d=_0x19595d[_0x20d87e(0x24c)]+','+_0x19595d[_0x20d87e(0x35d)]+','+_0x19595d[_0x20d87e(0x28d)]+','+_0x19595d[_0x20d87e(0x2e4)];_0x37461f['has'](_0x381c4d)||(_0x37461f[_0x20d87e(0x20a)](_0x381c4d),_0x40015c[_0x20d87e(0x411)](_0x19595d));}return _0x40015c;};let _0x54f318=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x4b2985,_0x29d336,_0x4834d6,_0x3d9341,_0x37caf1,_0x561977){const _0xff51d2=_0x308732;super(),_0x4b363f(this,'_globalSubject',new _0xe61eb6[(_0xff51d2(0x27a))](!0x0)),_0x4b363f(this,_0xff51d2(0x29f),_0x575bc5=>{const _0x3f4ddd=_0xff51d2;this[_0x3f4ddd(0x3cb)][_0x3f4ddd(0x43d)](!0x1);}),_0x4b363f(this,_0xff51d2(0x207),_0x1d2f98=>{const _0xf0eedd=_0xff51d2;this['_globalSubject'][_0xf0eedd(0x43d)](!0x0);}),(this[_0xff51d2(0x1a7)]=_0x4b2985,this['_configService']=_0x29d336,this[_0xff51d2(0x3ee)]=_0x4834d6,this['_commandService']=_0x3d9341,this[_0xff51d2(0x39b)]=_0x37caf1,this[_0xff51d2(0x320)]=_0x561977,this[_0xff51d2(0x290)](),this[_0xff51d2(0x3b3)]());}['_init'](){const _0x4b47c7=_0x308732;this[_0x4b47c7(0x3e1)](),this['_subjectViewChange'](),this[_0x4b47c7(0x249)](),this[_0x4b47c7(0x429)]();}['_initGlobalComputed'](){const _0x4b4d03=_0x308732;this[_0x4b4d03(0x39b)][_0x4b4d03(0x31e)](this['_globalSubject']),_0x141cc9[_0x4b4d03(0x3c4)][_0x4b4d03(0x398)](_0x141cc9[_0x4b4d03(0x30f)][_0x4b4d03(0x3f7)],this[_0x4b4d03(0x29f)]),_0x141cc9[_0x4b4d03(0x3c4)][_0x4b4d03(0x398)](_0x141cc9[_0x4b4d03(0x30f)][_0x4b4d03(0x2bf)],this[_0x4b4d03(0x207)]);}[_0x308732(0x3b3)](){const _0x3abec5=_0x308732;this[_0x3abec5(0x235)](this[_0x3abec5(0x325)][_0x3abec5(0x3b7)](_0x25718f=>{const _0x3a64c8=_0x3abec5;_0x25718f['id']===_0x553681[_0x3a64c8(0x418)]['id']&&this[_0x3a64c8(0x1a7)][_0x3a64c8(0x259)](_0x25718f[_0x3a64c8(0x17f)]);})),this['disposeWithMe'](this[_0x3abec5(0x325)][_0x3abec5(0x3b7)](_0x442313=>{const _0x3bfa00=_0x3abec5;if(_0x442313['id']!==_0x569cf1['id'])return;const _0x39913f=_0x442313[_0x3bfa00(0x17f)],{unitId:_0x293891,subUnitId:_0xf275c9,pivotTableId:_0x49b368}=_0x39913f,_0x4d24c8=_0x39913f['params'][_0x3bfa00(0x1cc)],_0xa44f24={};switch(_0x4d24c8){case _0x16fd81[_0x3bfa00(0x202)]:{const _0x5290f6=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x280)];if(!_0x5290f6)return;const {row:_0xaf259c,col:_0x25a1d8,cellData:_0xf92a80,pivotItemRenderInfoCache:_0x1d7580,tableFieldId:_0x2b5364}=_0x5290f6,_0x164fe1=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x203)](_0x39913f['pivotTableId']);if(!_0x164fe1||!_0x1d7580)return;if(_0x2b5364){const _0x4e5a01=_0x164fe1['getDataFieldByTableId'](_0x2b5364);if(!_0x4e5a01)return;_0xa44f24['filter']={..._0x164fe1[_0x3bfa00(0x1a3)](_0x4e5a01),'tableFieldId':_0x2b5364,'pivotTableId':_0x39913f[_0x3bfa00(0x242)],'filterInfo':_0x164fe1['getFilterInfo'](_0x2b5364),'sortInfo':_0x164fe1[_0x3bfa00(0x1c3)](_0x2b5364),'format':_0x164fe1[_0x3bfa00(0x463)](_0x2b5364)};}else{const _0x4f9b80=_0x2b3647(_0xaf259c,_0x25a1d8,_0xf92a80,_0x164fe1,_0x1d7580),_0x35d0aa=_0x4f9b80==null?void 0x0:_0x4f9b80[_0x3bfa00(0x212)];if(!_0x35d0aa)return;const _0x506883=_0x164fe1[_0x3bfa00(0x3b2)](_0x35d0aa);if(!_0x506883)return;_0xa44f24['filter']={..._0x164fe1[_0x3bfa00(0x1a3)](_0x506883),'tableFieldId':_0x35d0aa,'pivotTableId':_0x39913f['pivotTableId'],'filterInfo':_0x164fe1[_0x3bfa00(0x330)](_0x35d0aa),'sortInfo':_0x164fe1[_0x3bfa00(0x1c3)](_0x35d0aa),'format':_0x164fe1[_0x3bfa00(0x463)](_0x35d0aa)};}}break;case _0x16fd81[_0x3bfa00(0x45a)]:{const _0x45dd98=_0x39913f['params'][_0x3bfa00(0x278)];if(!_0x45dd98)return;const {pivotTableId:_0x2014d7}=_0x45dd98,_0x106590=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x203)](_0x2014d7);if(!_0x106590)return;const _0x2d9d69=this['_sheetsPivotDataSourceModel'][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x2014d7),_0x5a1f79=_0x5ee200(_0x106590,_0x2014d7,_0x2d9d69);_0xa44f24[_0x3bfa00(0x278)]=_0x5a1f79;}break;case _0x16fd81[_0x3bfa00(0x38c)]:{const _0x1be4b8=this[_0x3bfa00(0x1a7)]['getPivotTableInstance'](_0x49b368),_0x51a089=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368),_0x32aab4=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x31a)];if(!_0x1be4b8||!_0x51a089||!_0x32aab4)return!0x1;const {dataFieldId:_0x212b1a,fieldArea:_0x5071af,index:_0x4781af}=_0x32aab4;_0x1be4b8[_0x3bfa00(0x44c)]();const _0x466ed3=_0x1be4b8['addFieldWithSourceId'](_0x212b1a,_0x5071af,_0x4781af);if(_0x466ed3&&_0x5071af===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x441)]){const _0x4ce8ab=_0x466ed3[_0x3bfa00(0x450)](),_0x5efc6c=_0x1be4b8[_0x3bfa00(0x3b2)](_0x4ce8ab);if(_0x5efc6c){const _0x2fd2e0=_0x5efc6c==null?void 0x0:_0x5efc6c[_0x3bfa00(0x40e)]();_0x1be4b8[_0x3bfa00(0x237)](_0x466ed3['getId'](),_0x2fd2e0===_0x141cc9[_0x3bfa00(0x377)][_0x3bfa00(0x353)]?_0x141cc9['PivotSubtotalTypeEnum']['sum']:_0x141cc9[_0x3bfa00(0x318)][_0x3bfa00(0x34e)]);}const _0x3992ce=_0x1be4b8[_0x3bfa00(0x192)](),_0x2ab881=_0x1be4b8[_0x3bfa00(0x1d5)](),_0x4596af=_0x1be4b8[_0x3bfa00(0x21e)](_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x441)]);if(_0x3992ce===-0x1&&_0x4596af>0x1){const _0x44b0eb=_0x2ab881===_0x141cc9[_0x3bfa00(0x43a)][_0x3bfa00(0x18e)]?_0x141cc9['PivotTableValuePositionEnum'][_0x3bfa00(0x268)]:_0x2ab881,_0x370878=_0x44b0eb===_0x141cc9[_0x3bfa00(0x43a)][_0x3bfa00(0x355)]?_0x141cc9['PivotTableFiledAreaEnum']['Row']:_0x141cc9['PivotTableFiledAreaEnum'][_0x3bfa00(0x268)];_0x1be4b8[_0x3bfa00(0x2ca)](_0x44b0eb,_0x1be4b8[_0x3bfa00(0x21e)](_0x370878));}}else{if(_0x466ed3&&(_0x5071af===_0x141cc9[_0x3bfa00(0x3c5)]['Row']||_0x5071af===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x268)])){const _0x52618c=_0x466ed3[_0x3bfa00(0x450)](),_0x2ee966=_0x1be4b8[_0x3bfa00(0x3b2)](_0x52618c);if(_0x2ee966&&(_0x2ee966==null?void 0x0:_0x2ee966[_0x3bfa00(0x40e)]())===_0x141cc9[_0x3bfa00(0x377)][_0x3bfa00(0x30a)]){const _0x30e264=_0x2ee966[_0x3bfa00(0x446)]();_0x30e264&&_0x1be4b8[_0x3bfa00(0x2f8)](_0x466ed3['getId'](),_0x30e264);}}}const _0x151f3e=_0x1be4b8[_0x3bfa00(0x327)](),_0x5cd18a=_0x1be4b8[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0x37e76d=_0x1be4b8['endCollectChangeset']();_0xa44f24[_0x3bfa00(0x31a)]={'view':_0x5cd18a,'changesets':_0x37e76d,'isEmpty':_0x151f3e,'pivotTableConfig':_0x51a089};}break;case _0x16fd81[_0x3bfa00(0x216)]:{const _0x4a3cc8=_0x39913f['params'][_0x3bfa00(0x2b6)];if(!_0x4a3cc8)return;const _0x2ae7da=_0x4a3cc8[_0x3bfa00(0x298)],_0x188476=_0x4a3cc8[_0x3bfa00(0x242)],{collection:_0x54b310}=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x265)]({'unitId':_0x2ae7da[_0x3bfa00(0x44f)],'sheetName':_0x2ae7da[_0x3bfa00(0x2d2)],'subUnitId':_0x2ae7da['subUnitId'],'range':_0x2ae7da[_0x3bfa00(0x315)]}),_0x2f5977=new _0x141cc9[(_0x3bfa00(0x3c4))](_0x54b310,void 0x0,_0x188476),_0x2ed1b2=_0x2f5977[_0x3bfa00(0x2a7)](),_0x8a416f=_0x2f5977[_0x3bfa00(0x22d)](),_0x3a0b57=_0x54b310[_0x3bfa00(0x22d)]();_0xa44f24[_0x3bfa00(0x2b6)]={'view':_0x2ed1b2,'fieldsConfig':_0x8a416f,'collectionConfig':_0x3a0b57,'isEmpty':_0x2f5977[_0x3bfa00(0x327)]()};}break;case _0x16fd81[_0x3bfa00(0x1a4)]:{const _0x1e4fa7=_0x39913f[_0x3bfa00(0x17f)]['movePivotField'];if(!_0x1e4fa7)return;const {fieldId:_0x4a62f4,area:_0xb4326e,index:_0x46ce52}=_0x1e4fa7,_0x514864=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368);if(!_0x514864)return;const _0x1d56e1=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x203)](_0x49b368);if(!_0x1d56e1)return;_0x1d56e1[_0x3bfa00(0x44c)]();const {area:_0x58f4c3,index:_0x5812f9}=_0x1d56e1[_0x3bfa00(0x389)](_0x4a62f4);if(_0x1d56e1['updateFieldPosition'](_0x4a62f4,_0xb4326e,_0x46ce52),_0xb4326e===_0x141cc9[_0x3bfa00(0x3c5)]['Value']&&_0x1d56e1[_0x3bfa00(0x3d7)](_0x4a62f4)['getSubtotal']()===void 0x0){const _0x4e764c=_0x1d56e1[_0x3bfa00(0x3d7)](_0x4a62f4);if(_0x4e764c&&_0x4e764c['getSubtotal']()===void 0x0){const _0x18ba6d=_0x1d56e1['getDataFieldByTableId'](_0x4a62f4);if(_0x18ba6d){const _0x44e420=_0x18ba6d==null?void 0x0:_0x18ba6d[_0x3bfa00(0x40e)]();_0x1d56e1[_0x3bfa00(0x237)](_0x4a62f4,_0x44e420===_0x141cc9[_0x3bfa00(0x377)][_0x3bfa00(0x353)]?_0x141cc9[_0x3bfa00(0x318)][_0x3bfa00(0x397)]:_0x141cc9[_0x3bfa00(0x318)][_0x3bfa00(0x34e)]);}}}const _0x4c74c8=_0x1d56e1['getValuePosition'](),_0x5529cb=_0x1d56e1[_0x3bfa00(0x192)](),_0x20c148=_0x1d56e1[_0x3bfa00(0x21e)](_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x441)])>0x1;if(_0x20c148&&_0x58f4c3===_0xb4326e&&(_0xb4326e===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x355)]&&_0x4c74c8===_0x141cc9[_0x3bfa00(0x43a)]['Row']||_0xb4326e===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x268)]&&_0x4c74c8===_0x141cc9[_0x3bfa00(0x43a)][_0x3bfa00(0x268)])){let _0x2a495d=_0x5529cb;_0x5812f9<=_0x5529cb&&_0x2a495d--,_0x46ce52<=_0x5529cb&&_0x2a495d++,_0x1d56e1[_0x3bfa00(0x2ca)](_0x4c74c8,_0x2a495d);}else _0x20c148&&(_0x58f4c3===_0x141cc9['PivotTableFiledAreaEnum']['Row']&&_0x4c74c8===_0x141cc9[_0x3bfa00(0x43a)][_0x3bfa00(0x355)]||_0x58f4c3===_0x141cc9[_0x3bfa00(0x3c5)]['Column']&&_0x4c74c8===_0x141cc9[_0x3bfa00(0x43a)]['Column'])&&_0x5529cb>=_0x5812f9&&_0x1d56e1[_0x3bfa00(0x2ca)](_0x4c74c8,_0x5529cb-0x1),_0x20c148&&(_0xb4326e===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x355)]&&_0x4c74c8===_0x141cc9[_0x3bfa00(0x43a)]['Row']||_0xb4326e===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x268)]&&_0x4c74c8===_0x141cc9[_0x3bfa00(0x43a)]['Column'])&&_0x5529cb>=_0x46ce52&&_0x1d56e1[_0x3bfa00(0x2ca)](_0x4c74c8,_0x5529cb+0x1);const _0x312fb8=_0x1d56e1[_0x3bfa00(0x2a7)](),_0x3dc369=_0x1d56e1['isEmpty'](),_0x220cde=_0x1d56e1[_0x3bfa00(0x36b)]();_0xa44f24[_0x3bfa00(0x1cb)]={'view':_0x312fb8[_0x3bfa00(0x22d)](),'changesets':_0x220cde,'isEmpty':_0x3dc369,'pivotTableConfig':_0x514864};}break;case _0x16fd81['RemovePivotField']:{const _0x2907a=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x333)];if(!_0x2907a)return;const _0x20a5c9=_0x2907a[_0x3bfa00(0x187)],_0x395ef3=this[_0x3bfa00(0x1a7)]['getPivotTableConfig'](_0x293891,_0xf275c9,_0x49b368);if(!_0x395ef3)return!0x1;const _0x592667=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x203)](_0x49b368);if(!_0x592667)return!0x1;_0x592667['startCollectChangeset']();for(const _0x5a72bc of _0x20a5c9){const {area:_0x359835}=_0x592667['getFieldPositionInfoById'](_0x5a72bc);_0x359835===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x441)]&&_0x592667[_0x3bfa00(0x39c)](_0x5a72bc),(_0x359835===_0x141cc9[_0x3bfa00(0x3c5)]['Row']||_0x359835===_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x268)])&&_0x592667[_0x3bfa00(0x1bc)](_0x5a72bc),_0x592667[_0x3bfa00(0x323)](_0x5a72bc);}const _0x1fd56e=_0x592667['isEmpty'](),_0x721e2e=_0x592667[_0x3bfa00(0x2a7)]()['toJSON'](),_0x298efd=_0x592667[_0x3bfa00(0x36b)]();_0xa44f24['removePivotField']={'changesets':_0x298efd,'pivotTableConfig':_0x395ef3,'isEmpty':_0x1fd56e,'view':_0x721e2e};}break;case _0x16fd81[_0x3bfa00(0x40c)]:{const _0x4bff29=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x230)];if(!_0x4bff29)return;const {tableFieldId:_0x15f347,items:_0x16e687,isAll:_0x5c156b}=_0x4bff29,_0x139218=this[_0x3bfa00(0x1a7)]['getPivotTableInstance'](_0x49b368),_0x3a059=this[_0x3bfa00(0x1a7)]['getPivotTableConfig'](_0x293891,_0xf275c9,_0x49b368);if(!_0x139218||!_0x3a059)return;_0x139218[_0x3bfa00(0x44c)](),_0x139218['setLabelFilterInfo'](_0x15f347,{'type':_0x141cc9['PivotFilterTypeEnum'][_0x3bfa00(0x211)],'list':_0x16e687,'isAll':_0x5c156b});const _0x5e7113=_0x139218[_0x3bfa00(0x327)](),_0x1f9771=_0x139218[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0x5965bc=_0x139218['endCollectChangeset']();_0xa44f24['setPivotFilter']={'view':_0x1f9771,'changesets':_0x5965bc,'isEmpty':_0x5e7113,'pivotTableConfig':_0x3a059};}break;case _0x16fd81[_0x3bfa00(0x19b)]:{const _0x3ed466=_0x39913f['params'][_0x3bfa00(0x2aa)];if(!_0x3ed466)return;const {tableFieldId:_0x255272,filterInfo:_0x4feb98}=_0x3ed466,_0x246836=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x203)](_0x49b368),_0x45517b=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368);if(!_0x246836||!_0x45517b)return;_0x246836[_0x3bfa00(0x44c)](),_0x246836[_0x3bfa00(0x19a)](_0x255272,_0x4feb98);const _0x5ba4fb=_0x246836[_0x3bfa00(0x327)](),_0x223787=_0x246836[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0x4bf386=_0x246836[_0x3bfa00(0x36b)]();_0xa44f24[_0x3bfa00(0x2aa)]={'view':_0x223787,'changesets':_0x4bf386,'isEmpty':_0x5ba4fb,'pivotTableConfig':_0x45517b};}break;case _0x16fd81[_0x3bfa00(0x2ec)]:{const _0x452299=_0x39913f[_0x3bfa00(0x17f)]['setPivotSort'];if(!_0x452299)return;const {tableFieldId:_0x1219e2,info:_0x2ee3e8}=_0x452299,_0x32b241=this[_0x3bfa00(0x1a7)]['getPivotTableInstance'](_0x49b368),_0x5badb1=this['_sheetsPivotDataSourceModel'][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368);if(!_0x32b241||!_0x5badb1)return;_0x32b241[_0x3bfa00(0x44c)](),_0x32b241[_0x3bfa00(0x369)](_0x1219e2,_0x2ee3e8);const _0x3c6770=_0x32b241['isEmpty'](),_0x936bf7=_0x32b241[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0x2e7c54=_0x32b241[_0x3bfa00(0x36b)]();_0xa44f24['setPivotSort']={'view':_0x936bf7,'changesets':_0x2e7c54,'isEmpty':_0x3c6770,'pivotTableConfig':_0x5badb1};}break;case _0x16fd81['SetPivotSetting']:{const _0x5e4e37=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x2ef)];if(!_0x5e4e37)return;const {tableFieldId:_0x5c7edc,displayName:_0x592654,subtotalType:_0x146903,format:_0x36c4a9}=_0x5e4e37,_0x5ad9e1=this[_0x3bfa00(0x1a7)]['getPivotTableInstance'](_0x49b368),_0x261d64=this[_0x3bfa00(0x1a7)]['getPivotTableConfig'](_0x293891,_0xf275c9,_0x49b368);if(!_0x5ad9e1||!_0x261d64)return;_0x5ad9e1['startCollectChangeset'](),_0x592654!==void 0x0&&_0x5ad9e1['renameField'](_0x5c7edc,_0x592654),_0x146903!==void 0x0&&_0x5ad9e1['setSubtotalType'](_0x5c7edc,_0x146903),_0x36c4a9!==void 0x0&&_0x5ad9e1['setFieldFormat'](_0x5c7edc,_0x36c4a9);const _0x3dc4e6=_0x5ad9e1['isEmpty'](),_0x34dc1b=_0x5ad9e1['query']()[_0x3bfa00(0x22d)](),_0xa576bf=_0x5ad9e1[_0x3bfa00(0x36b)]();_0xa44f24[_0x3bfa00(0x2ef)]={'changesets':_0xa576bf,'pivotTableConfig':_0x261d64,'isEmpty':_0x3dc4e6,'view':_0x34dc1b};}break;case _0x16fd81[_0x3bfa00(0x2c9)]:{const _0xec900=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x1be)];if(!_0xec900)return;const {dataRangeInfo:_0x55f9ab,unitId:_0x1464ee,subUnitId:_0x5857fe}=_0xec900,_0x2d1e28=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x332)](_0x1464ee,_0x5857fe,_0x49b368),_0x3d7a41=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x203)](_0x49b368);if(!this[_0x3bfa00(0x1a7)]['getCollection'](_0x1464ee,_0x49b368)||!_0x3d7a41||!_0x2d1e28)return;const _0x3be181=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x1de)](_0x1464ee,_0x49b368,_0x55f9ab),_0x3fb33b=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x3a4)](_0x1464ee,_0x49b368)[_0x3bfa00(0x22d)](),{collection:_0x3353d9}=this['_sheetsPivotDataSourceModel'][_0x3bfa00(0x265)]({'unitId':_0x55f9ab[_0x3bfa00(0x44f)],'sheetName':_0x55f9ab[_0x3bfa00(0x2d2)],'subUnitId':_0x55f9ab[_0x3bfa00(0x2d0)],'range':_0x55f9ab['range']}),_0x4f91f7=_0x3353d9[_0x3bfa00(0x22d)]();_0x3d7a41['startCollectChangeset']();const _0x112ad2=this[_0x3bfa00(0x1a7)]['getDataFieldManager'](_0x1464ee)['getAutoDisplayNameFunction']()||_0x141cc9[_0x3bfa00(0x3cf)];_0x3d7a41[_0x3bfa00(0x358)](_0x1bde57=>{const _0x57d71d=_0x3bfa00,_0x22c918=_0x1bde57[_0x57d71d(0x18b)]();if(!_0x3353d9[_0x57d71d(0x3ba)](_0x22c918)){const _0x1063ea=_0x3353d9[_0x57d71d(0x18f)](_0x1bde57[_0x57d71d(0x215)]());if(_0x1063ea){_0x3d7a41[_0x57d71d(0x250)](_0x1bde57[_0x57d71d(0x450)](),_0x1063ea['getName'](),_0x1063ea['getId']());const {area:_0x374ec0}=_0x3d7a41[_0x57d71d(0x389)](_0x1bde57[_0x57d71d(0x450)]());let _0x3a0784=_0x1bde57[_0x57d71d(0x215)]();const _0x28f385=_0x1bde57[_0x57d71d(0x3c2)]();if(_0x374ec0===_0x141cc9[_0x57d71d(0x3c5)]['Value']){const _0x440a5c=_0x1bde57[_0x57d71d(0x177)]();_0x3a0784=_0x112ad2(_0x1063ea[_0x57d71d(0x392)](),_0x440a5c);}_0x28f385!==_0x3a0784&&_0x3d7a41['renameField'](_0x1bde57[_0x57d71d(0x450)](),_0x3a0784);}else _0x3d7a41[_0x57d71d(0x323)](_0x1bde57[_0x57d71d(0x450)]());}});const _0x43dff3=_0x3d7a41[_0x3bfa00(0x327)](),_0x2f6f9a=_0x3d7a41[_0x3bfa00(0x2a7)]()['toJSON'](),_0x597af7=_0x3d7a41[_0x3bfa00(0x36b)]();_0xa44f24['updatePivotSource']={'view':_0x2f6f9a,'changesets':_0x597af7,'isEmpty':_0x43dff3,'pivotTableConfig':_0x2d1e28,'collectionConfig':_0x4f91f7,'oldCollectionConfig':_0x3fb33b,'deleteIds':_0x3be181};}break;case _0x16fd81[_0x3bfa00(0x2a9)]:{const _0x12b988=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x2ca)];if(!_0x12b988)return;const {position:_0x2f5842,index:_0x2b3b7f}=_0x12b988,_0x4f4bdd=this['_sheetsPivotDataSourceModel'][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368);if(!_0x4f4bdd)return!0x1;const _0x5a88b6=this['_sheetsPivotDataSourceModel'][_0x3bfa00(0x203)](_0x49b368);if(!_0x5a88b6)return!0x1;_0x5a88b6['startCollectChangeset'](),_0x5a88b6[_0x3bfa00(0x2ca)](_0x2f5842,_0x2b3b7f);const _0x3adbdc=_0x5a88b6[_0x3bfa00(0x327)](),_0x3cd748=_0x5a88b6[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0x4d9443=_0x5a88b6[_0x3bfa00(0x36b)]();_0xa44f24[_0x3bfa00(0x2ca)]={'changesets':_0x4d9443,'pivotTableConfig':_0x4f4bdd,'isEmpty':_0x3adbdc,'view':_0x3cd748};}break;case _0x16fd81['SetPivotCollapse']:{const _0x495c04=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x292)];if(!_0x495c04)return;const {tableFieldId:_0x1e70aa,collapse:_0x5033dd,item:_0xd93a3b}=_0x495c04,_0x3cfcf4=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x203)](_0x49b368),_0x459727=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368);if(!_0x3cfcf4||!_0x459727)return;_0x3cfcf4[_0x3bfa00(0x44c)](),_0x3cfcf4[_0x3bfa00(0x2a6)](_0x1e70aa,_0x5033dd,_0xd93a3b);const _0x427ad8=_0x3cfcf4['isEmpty'](),_0x317887=_0x3cfcf4[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0xb51d94=_0x3cfcf4['endCollectChangeset']();_0xa44f24[_0x3bfa00(0x292)]={'view':_0x317887,'isEmpty':_0x427ad8,'pivotTableConfig':_0x459727,'changesets':_0xb51d94};}break;case _0x16fd81[_0x3bfa00(0x381)]:{const _0x3a5d08=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x30c)];if(!_0x3a5d08)return;const {pivotTableConfig:_0x19bb35}=_0x3a5d08,_0x411200=this[_0x3bfa00(0x1a7)]['getPivotTableInstance'](_0x49b368),_0x575183=this[_0x3bfa00(0x1a7)][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368);if(!_0x411200||!_0x575183)return;_0x411200['startCollectChangeset'](),_0x56fb3d(_0x411200,_0x19bb35);const _0x4e9b61=_0x411200[_0x3bfa00(0x327)](),_0x1c3494=_0x411200[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0x4df41e=_0x411200['endCollectChangeset']();_0xa44f24[_0x3bfa00(0x30c)]={'view':_0x1c3494,'isEmpty':_0x4e9b61,'pivotTableConfig':{..._0x575183,'fieldsConfig':_0x411200[_0x3bfa00(0x22d)]()},'changesets':_0x4df41e};}break;case _0x16fd81['ResetPivotTable']:{const _0x56dc38=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x256)];if(!_0x56dc38)return;const _0x5d3423=this[_0x3bfa00(0x1a7)]['getPivotTableInstance'](_0x49b368),_0x32ed3f=this['_sheetsPivotDataSourceModel'][_0x3bfa00(0x332)](_0x293891,_0xf275c9,_0x49b368);if(!_0x5d3423||!_0x32ed3f)return;_0x5d3423['startCollectChangeset'](),_0x897923(_0x5d3423,_0x56dc38[_0x3bfa00(0x21f)]);const _0x4d5e4c=_0x5d3423[_0x3bfa00(0x2a7)]()[_0x3bfa00(0x22d)](),_0x2ee08e=_0x5d3423[_0x3bfa00(0x36b)]();_0xa44f24[_0x3bfa00(0x256)]={'view':_0x4d5e4c,'isEmpty':!0x0,'pivotTableConfig':{..._0x32ed3f,'fieldsConfig':_0x5d3423[_0x3bfa00(0x22d)]()},'changesets':_0x2ee08e};}break;case _0x16fd81[_0x3bfa00(0x340)]:{const _0x1a4455=_0x39913f[_0x3bfa00(0x17f)][_0x3bfa00(0x42a)];if(!_0x1a4455)return;const _0x385538=_0x1a4455[_0x3bfa00(0x298)],_0x11bd48=_0x1a4455[_0x3bfa00(0x242)],{collection:_0x36396b}=this[_0x3bfa00(0x1a7)]['createCollectionWithDataRange']({'unitId':_0x385538[_0x3bfa00(0x44f)],'sheetName':_0x385538[_0x3bfa00(0x2d2)],'subUnitId':_0x385538[_0x3bfa00(0x2d0)],'range':_0x385538['range']}),_0x1f0be9=new _0x141cc9[(_0x3bfa00(0x3c4))](_0x36396b,void 0x0,_0x11bd48),_0x40cdcd=_0x36396b['getFieldIds'](),{rows:_0x2d8364,columns:_0x19ed2a,filters:_0x276576,values:_0x4e96d8}=_0x1a4455[_0x3bfa00(0x2d9)];_0x1f0be9[_0x3bfa00(0x44c)]();for(const {field:_0xc6c401,selectedItems:_0x41cbc3}of _0x2d8364||[]){const _0xa28e18=_0x40cdcd[_0xc6c401];if(_0xa28e18){const _0xc2a55c=_0x1f0be9[_0x3bfa00(0x3dd)](_0xa28e18,_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x355)]);_0x41cbc3&&_0xc2a55c&&_0x1f0be9[_0x3bfa00(0x270)](_0xc2a55c[_0x3bfa00(0x450)](),{'type':_0x141cc9[_0x3bfa00(0x18c)]['ManualFilter'],'list':_0x41cbc3,'isAll':!0x1});}}for(const {field:_0x227d18,selectedItems:_0x100733}of _0x19ed2a||[]){const _0x1cff4f=_0x40cdcd[_0x227d18];if(_0x1cff4f){const _0x5b9418=_0x1f0be9[_0x3bfa00(0x3dd)](_0x1cff4f,_0x141cc9['PivotTableFiledAreaEnum']['Column']);_0x100733&&_0x5b9418&&_0x1f0be9['setLabelFilterInfo'](_0x5b9418['getId'](),{'type':_0x141cc9['PivotFilterTypeEnum'][_0x3bfa00(0x211)],'list':_0x100733,'isAll':!0x1});}}for(const {field:_0x53b827,selectedItems:_0x1c4fdd}of _0x276576||[]){const _0x3c1767=_0x40cdcd[_0x53b827];if(_0x3c1767){const _0x2c8d04=_0x1f0be9[_0x3bfa00(0x3dd)](_0x3c1767,_0x141cc9['PivotTableFiledAreaEnum'][_0x3bfa00(0x202)]);_0x1c4fdd&&_0x2c8d04&&_0x1f0be9['setLabelFilterInfo'](_0x2c8d04[_0x3bfa00(0x450)](),{'type':_0x141cc9[_0x3bfa00(0x18c)]['ManualFilter'],'list':_0x1c4fdd,'isAll':!0x1});}}for(const {field:_0x3b4735,subTotalType:_0x5a3504,formatString:_0x2506ab}of _0x4e96d8||[]){const _0x21476f=_0x36396b['getFieldById'](_0x40cdcd[_0x3b4735]);if(!_0x21476f)continue;const _0x38b02e=_0x40cdcd[_0x3b4735];if(_0x38b02e){const _0x3be1c7=_0x1f0be9[_0x3bfa00(0x3dd)](_0x38b02e,_0x141cc9[_0x3bfa00(0x3c5)][_0x3bfa00(0x441)]);if(_0x3be1c7){if(_0x5a3504!==void 0x0){_0x1f0be9[_0x3bfa00(0x237)](_0x3be1c7[_0x3bfa00(0x450)](),_0x5a3504);const _0x115495=this[_0x3bfa00(0x1a7)]['getDataFieldManager'](_0x385538['unitId'])['getAutoDisplayNameFunction']()||_0x141cc9['getAutoDisplayName'],_0xf747f3=_0x36396b[_0x3bfa00(0x3c2)](_0x38b02e),_0x2c7406=_0x115495(_0xf747f3,_0x5a3504);_0x1f0be9['renameField'](_0x3be1c7[_0x3bfa00(0x450)](),_0x2c7406);}else{if(_0x21476f){const _0x1634a6=_0x21476f==null?void 0x0:_0x21476f[_0x3bfa00(0x40e)]();_0x1f0be9[_0x3bfa00(0x237)](_0x3be1c7[_0x3bfa00(0x450)](),_0x1634a6===_0x141cc9['PivotDataFieldDataTypeEnum'][_0x3bfa00(0x353)]?_0x141cc9[_0x3bfa00(0x318)][_0x3bfa00(0x397)]:_0x141cc9[_0x3bfa00(0x318)][_0x3bfa00(0x34e)]);}}_0x2506ab&&_0x1f0be9[_0x3bfa00(0x2f8)](_0x3be1c7[_0x3bfa00(0x450)](),_0x2506ab);}}}const _0xbd2d70=_0x1f0be9[_0x3bfa00(0x2a7)](),_0x12f540=_0x1f0be9['toJSON'](),_0x3190d3=_0x1f0be9[_0x3bfa00(0x327)](),_0x4cf2c8=_0x1f0be9['endCollectChangeset'](),_0x5a31a2=_0x36396b[_0x3bfa00(0x22d)]();_0xa44f24[_0x3bfa00(0x42a)]={'view':_0xbd2d70,'fieldsConfig':_0x12f540,'collectionConfig':_0x5a31a2,'isEmpty':_0x3190d3,'changesets':_0x4cf2c8};}break;case _0x16fd81[_0x3bfa00(0x368)]:{const _0x395dbe=_0xfa09a7(this[_0x3bfa00(0x320)],_0x39913f);if(!_0x395dbe)return;const {range:_0xc30fee,sourceSubUnitId:_0x5c21ed,sourceUnitId:_0x1c79fd,formatMap:_0x2f8eee,indexes:_0x2f2a2d}=_0x395dbe;_0xa44f24['drillDown']={'range':_0xc30fee,'sourceSubUnitId':_0x5c21ed,'sourceUnitId':_0x1c79fd,'formatMap':_0x2f8eee,'indexes':_0x2f2a2d};}break;}this[_0x3bfa00(0x325)][_0x3bfa00(0x1f8)](_0x4ecfdc['id'],{'version':_0x39913f[_0x3bfa00(0x444)],'result':_0xa44f24},{'onlyLocal':!0x0});}));}[_0x308732(0x249)](){const _0x2eb390=_0x308732;this[_0x2eb390(0x235)](this[_0x2eb390(0x325)][_0x2eb390(0x3b7)](_0x2be396=>{const _0x55a55a=_0x2eb390;if(_0x2be396['id']!==_0x1b21fb['id'])return;const _0x3ec0bd=_0x2be396[_0x55a55a(0x17f)];return this[_0x55a55a(0x1a7)][_0x55a55a(0x2e6)](_0x3ec0bd[_0x55a55a(0x2f7)]),!0x0;}));}[_0x308732(0x3e1)](){const _0xcd871f=_0x308732;this[_0xcd871f(0x1a7)][_0xcd871f(0x2f1)]['subscribe'](_0x341788=>{const _0x59c574=_0xcd871f;switch(_0x341788[_0x59c574(0x1cc)]){case _0x4291f5['add']:_0x341788[_0x59c574(0x3f3)]&&_0x341788['targetCellInfo']&&this['handleSourceRangeChange'](_0x341788[_0x59c574(0x229)],_0x341788[_0x59c574(0x3f3)],_0x341788[_0x59c574(0x2b1)]);break;case _0x4291f5[_0x59c574(0x1b9)]:{const {unitId:_0x3d8b08,subUnitId:_0x97ef81,token:_0x2842c3}=_0x341788;_0x3d8b08&&_0x97ef81&&_0x2842c3&&this['removeSourceRangeChange'](_0x3d8b08,_0x97ef81,_0x2842c3);}break;case _0x4291f5['update']:{const {token:_0x4b6c8a,oldSourceRangeInfo:_0x5c1566,dataRangeInfo:_0x4e5f10,targetCellInfo:_0x22692f}=_0x341788,{unitId:_0x1849d0,subUnitId:_0x441506}=_0x5c1566||{};_0x1849d0&&_0x441506&&_0x4b6c8a&&this[_0x59c574(0x1e0)](_0x1849d0,_0x441506,_0x4b6c8a),_0x4e5f10&&_0x22692f&&this[_0x59c574(0x380)](_0x4b6c8a,_0x4e5f10,_0x22692f);}break;}});}['_subjectFieldsCollectionChange'](){const _0x5b3c88=_0x308732;this['_sheetsPivotDataSourceModel'][_0x5b3c88(0x312)][_0x5b3c88(0x321)](_0x557bd7=>{const _0x52ffac=_0x5b3c88;Object[_0x52ffac(0x263)](_0x557bd7)['forEach'](_0x53593f=>{const _0x376d39=_0x52ffac,_0x29cea4=this[_0x376d39(0x1a7)][_0x376d39(0x308)](_0x53593f);if(_0x29cea4){const _0x118e77=this[_0x376d39(0x1a7)][_0x376d39(0x332)](_0x29cea4==null?void 0x0:_0x29cea4[_0x376d39(0x44f)],_0x29cea4==null?void 0x0:_0x29cea4[_0x376d39(0x2d0)],_0x53593f);_0x118e77&&(this[_0x376d39(0x380)](_0x53593f,_0x118e77[_0x376d39(0x298)],_0x118e77[_0x376d39(0x2b1)]),this[_0x376d39(0x1c4)]([{'unitId':_0x29cea4[_0x376d39(0x44f)],'subUnitId':_0x29cea4['subUnitId'],'token':_0x53593f}]));}});});}['_subjectViewChange'](){const _0x475aa3=_0x308732;this[_0x475aa3(0x1a7)][_0x475aa3(0x34a)][_0x475aa3(0x321)](_0x5fbb23=>{const _0x20c8d5=_0x475aa3,{unitId:_0x5eece6,subUnitId:_0x39d7b2,pivotTableId:_0x386fa0}=_0x5fbb23;_0x5eece6&&_0x39d7b2&&_0x386fa0&&this[_0x20c8d5(0x1c4)]([{'unitId':_0x5eece6,'subUnitId':_0x39d7b2,'token':_0x386fa0}]);});}[_0x308732(0x1c4)](_0x5980fd){const _0x3a19da=_0x308732,_0x2500d3={};_0x5980fd[_0x3a19da(0x396)](_0x8a6de9=>{var _0x5e49a9,_0xcc95bf;const {unitId:_0x9f61e2,subUnitId:_0x422515,token:_0x3ea347}=_0x8a6de9;_0x2500d3[_0x9f61e2]=(_0x5e49a9=_0x2500d3[_0x9f61e2])!=null?_0x5e49a9:{},_0x2500d3[_0x9f61e2][_0x422515]=(_0xcc95bf=_0x2500d3[_0x9f61e2][_0x422515])!=null?_0xcc95bf:{},_0x2500d3[_0x9f61e2][_0x422515][_0x3ea347]=!0x0;}),this[_0x3a19da(0x325)][_0x3a19da(0x1f8)](_0xa1f689['id'],_0x2500d3);}['removeSourceRangeChange'](_0x718e26,_0x3390c6,_0x888a13){const _0x56e454=_0x308732;this[_0x56e454(0x3ee)]['remove'](_0x718e26,_0x3390c6,[_0x888a13]);}[_0x308732(0x380)](_0x1cec8c,_0x13589b,_0x328fb8){const _0x2f318b=_0x308732,{unitId:_0x41d4d8,subUnitId:_0x1a1794}=_0x13589b;this[_0x2f318b(0x3ee)]['has'](_0x328fb8[_0x2f318b(0x44f)],_0x328fb8[_0x2f318b(0x2d0)],_0x1cec8c)&&this[_0x2f318b(0x1e0)](_0x41d4d8,_0x1a1794,_0x1cec8c);const _0x1cc47d={'sheetId':_0x1a1794,..._0x13589b};this[_0x2f318b(0x3ee)][_0x2f318b(0x44b)](_0x328fb8[_0x2f318b(0x44f)],_0x328fb8[_0x2f318b(0x2d0)],_0x1cec8c,{'unitId':_0x328fb8[_0x2f318b(0x44f)],'subUnitId':_0x328fb8[_0x2f318b(0x2d0)],'dependencyRanges':[_0x1cc47d],'getDirtyData':(_0x4a30dc,_0x3ecece)=>{const _0x32d80d=_0x2f318b,_0x15f956=this[_0x32d80d(0x1a7)],_0xdfa2e2=_0x15f956[_0x32d80d(0x308)](_0x1cec8c);if(!_0xdfa2e2)return _0x42895c();const {unitId:_0x14c6f2,subUnitId:_0xd36901}=_0xdfa2e2,_0x4d1013=_0xfe239c(_0x4a30dc,_0x3ecece,_0x13589b);if(_0x4d1013[_0x32d80d(0x1bd)]>0x0){const _0x37fe6e=_0x15f956[_0x32d80d(0x3a4)](_0x41d4d8,_0x1cec8c),_0x67a6b9=_0x37fe6e['getFieldIds'](),_0x2f99b3=this[_0x32d80d(0x3ae)](_0x13589b[_0x32d80d(0x44f)],_0x13589b[_0x32d80d(0x2d0)],_0x3ecece),_0x2d1992={},_0x5a1035=this[_0x32d80d(0x1a7)][_0x32d80d(0x400)](_0x14c6f2)['getAutoDisplayNameFunction']()||_0x141cc9[_0x32d80d(0x3cf)];for(const _0x1409a5 of _0x4d1013){const _0x1d793a=_0x1409a5-(_0x13589b[_0x32d80d(0x315)]['startColumn']||0x0),_0x28b909=_0x67a6b9[_0x1d793a];_0x2d1992[_0x28b909]=_0x37fe6e[_0x32d80d(0x199)](_0x28b909)[_0x32d80d(0x392)](),_0x15f956[_0x32d80d(0x400)](_0x41d4d8)[_0x32d80d(0x359)](_0x28b909,_0x13589b,_0x1d793a,_0x2f99b3);}_0x37fe6e['updateAllDisplayName']();const _0x49eb6a=_0x15f956[_0x32d80d(0x203)](_0x1cec8c);if(_0x49eb6a){_0x351498(_0x49eb6a,_0x2d1992,_0x5a1035),_0x49eb6a[_0x32d80d(0x43f)](!0x0);const _0x4b5b05=_0x49eb6a[_0x32d80d(0x2a7)](),_0x3887c8=_0x15f956[_0x32d80d(0x332)](_0x14c6f2,_0xd36901,_0x1cec8c),_0x18bb8a=_0x15f956[_0x32d80d(0x400)](_0x41d4d8)[_0x32d80d(0x22d)]();_0x15f956[_0x32d80d(0x3a0)](_0x14c6f2,_0xd36901,_0x171aea[_0x32d80d(0x454)],_0x1cec8c,_0x4b5b05,_0x3887c8,_0x18bb8a,!0x0);}}return this[_0x32d80d(0x3a8)](_0x14c6f2,_0xd36901,_0x1cec8c);}});}['getMatrixFromRunTimeData'](_0xb59e7c,_0x18b894,_0x2ed07d){var _0xf77fac,_0x338f1f;const {arrayFormulaCellData:_0x3f9248,unitData:_0xa9daeb}=_0x2ed07d,_0x3a221b=(_0xf77fac=_0x3f9248==null?void 0x0:_0x3f9248[_0xb59e7c])==null?void 0x0:_0xf77fac[_0x18b894],_0x530f05=(_0x338f1f=_0xa9daeb==null?void 0x0:_0xa9daeb[_0xb59e7c])==null?void 0x0:_0x338f1f[_0x18b894];return{'arrayFormulaCellDataMatrix':_0x3a221b,'unitDataMatrix':_0x530f05};}[_0x308732(0x3a8)](_0x300cc4,_0x3588b4,_0x430531){const _0x50ff3b=_0x308732,_0xd39009=this['_sheetsPivotDataSourceModel']['getViewData'](_0x300cc4,_0x3588b4,_0x430531),_0x1f7666=[],_0x345212=new _0x4cef4c['ObjectMatrix']();if(_0xd39009){const {rangeCache:_0x4cb9ab,matrix:_0x3f128a,oldRangeCache:_0x5752a4,oldMatrix:_0x4613bc}=_0xd39009,_0x4e56d4=_0x1c98f6(_0x5752a4),_0x2f5a76=_0x1c98f6(_0x4cb9ab);_0x1f7666[_0x50ff3b(0x411)](..._0x2f5a76,..._0x4e56d4),_0x4613bc&&_0x5752a4&&_0x4e56d4[_0x50ff3b(0x396)](_0x24eeee=>{const _0x3a915e=_0x50ff3b;for(let _0x51ef25=_0x24eeee[_0x3a915e(0x24c)];_0x51ef25<=_0x24eeee['endRow'];_0x51ef25++)for(let _0x584ec5=_0x24eeee[_0x3a915e(0x28d)];_0x584ec5<=_0x24eeee['endColumn'];_0x584ec5++)_0x345212[_0x3a915e(0x3e7)](_0x51ef25,_0x584ec5);}),_0x3f128a&&_0x2f5a76&&_0x2f5a76['forEach'](_0x341e53=>{const _0x40df29=_0x50ff3b;for(let _0x494de4=_0x341e53['startRow'];_0x494de4<=_0x341e53[_0x40df29(0x35d)];_0x494de4++)for(let _0x7ea6d1=_0x341e53[_0x40df29(0x28d)];_0x7ea6d1<=_0x341e53[_0x40df29(0x2e4)];_0x7ea6d1++)_0x345212[_0x40df29(0x186)](_0x494de4,_0x7ea6d1,_0x3f128a['getValue'](_0x494de4,_0x7ea6d1));});}const _0x41fec2={};return _0x41fec2[_0x300cc4]={[_0x3588b4]:_0x28e706(_0x1f7666)},{'runtimeCellData':{[_0x300cc4]:{[_0x3588b4]:_0x345212}},'dirtyRanges':_0x41fec2};}[_0x308732(0x231)](){}};_0x54f318=_0x28e596([_0x8f82ac(0x0,_0x4cef4c['Inject'](_0x11a467[_0x308732(0x2a5)])),_0x8f82ac(0x1,_0x4cef4c['IConfigService']),_0x8f82ac(0x2,_0x4cef4c[_0x308732(0x27c)](_0x1c9972['IFeatureCalculationManagerService'])),_0x8f82ac(0x3,_0x4cef4c['Inject'](_0x4cef4c[_0x308732(0x3ac)])),_0x8f82ac(0x4,_0x4cef4c[_0x308732(0x27c)](_0x1c9972[_0x308732(0x218)])),_0x8f82ac(0x5,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x297)]))],_0x54f318);var _0x3376a9=Object[_0x308732(0x456)],_0x43dcc2=(_0x15dbcb,_0x558144,_0x19b18a,_0x9fe6d8)=>{const _0x320b35=_0x308732;for(var _0x39775c=_0x9fe6d8>0x1?void 0x0:_0x9fe6d8?_0x3376a9(_0x558144,_0x19b18a):_0x558144,_0x3e89bb=_0x15dbcb[_0x320b35(0x1bd)]-0x1,_0x4a48e5;_0x3e89bb>=0x0;_0x3e89bb--)(_0x4a48e5=_0x15dbcb[_0x3e89bb])&&(_0x39775c=_0x4a48e5(_0x39775c)||_0x39775c);return _0x39775c;},_0x148f48=(_0x44766f,_0x368ce2)=>(_0x471442,_0x3f0a29)=>_0x368ce2(_0x471442,_0x3f0a29,_0x44766f);let _0x4299b3=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x23fb1d,_0x1f277e,_0x41cd34,_0x3eb325){const _0xd973d8=_0x308732;super(),_0x4b363f(this,_0xd973d8(0x3b4),new _0x4cef4c[(_0xd973d8(0x366))]()),(this[_0xd973d8(0x2eb)]=_0x23fb1d,this[_0xd973d8(0x210)]=_0x1f277e,this[_0xd973d8(0x301)]=_0x41cd34,this[_0xd973d8(0x2e1)]=_0x3eb325,this['_initClearSelectionCommandInterceptor']());}[_0x308732(0x26d)](){const _0x411667=_0x308732;this['disposeWithMe'](this[_0x411667(0x210)][_0x411667(0x370)]({'getMutations':_0x2e2cff=>{const _0x19d323=_0x411667;if(_0x2e2cff['id']===_0x553681[_0x19d323(0x35b)]['id']||_0x2e2cff['id']===_0x553681[_0x19d323(0x430)]['id']){const _0x365aff=[],_0x3ebe39=[],_0x591049=this[_0x19d323(0x301)][_0x19d323(0x2c5)]()[_0x19d323(0x3be)](_0x1431bd=>_0x1431bd['range']),_0x55e11b=_0x553681[_0x19d323(0x3a5)](this[_0x19d323(0x2eb)]);if(!_0x55e11b)return{'redos':[],'undos':[]};const {unitId:_0x5defc8,subUnitId:_0x52ae0d}=_0x55e11b,_0x17e52f={},_0x4b2ddd=this[_0x19d323(0x2e1)]['getSubUnitPivotConfigs'](_0x5defc8,_0x52ae0d);if(_0x4b2ddd!=null&&_0x4b2ddd[_0x19d323(0x406)])for(const [_0x512b48,_0x3ec96f]of _0x4b2ddd){const {unitId:_0x58a87f,subUnitId:_0x42b33f,row:_0x483e5e,col:_0x2dce71}=_0x3ec96f[_0x19d323(0x2b1)];_0x58a87f===_0x55e11b['unitId']&&_0x42b33f===_0x55e11b[_0x19d323(0x2d0)]&&(_0x17e52f[_0x483e5e+'-'+_0x2dce71]=_0x512b48);}return _0x591049&&_0x55e11b&&_0x591049[_0x19d323(0x396)](_0x843b41=>{const _0x176489=_0x19d323;_0x4cef4c[_0x176489(0x466)]['foreach'](_0x843b41,(_0x19cdf1,_0x1c06c9)=>{const _0x1a6780=_0x176489,_0x30a792=_0x19cdf1+'-'+_0x1c06c9;if(_0x17e52f[_0x30a792]){const _0x3bf9a0=_0x17e52f[_0x30a792];_0x365aff['push']({'id':_0x4132af['id'],'params':{'unitId':_0x5defc8,'subUnitId':_0x52ae0d,'pivotTableId':_0x3bf9a0}});const _0x2d2846=this[_0x1a6780(0x2e1)]['getCollection'](_0x5defc8,_0x3bf9a0),_0x261599=this['_sheetsPivotTableConfigModel'][_0x1a6780(0x332)](_0x5defc8,_0x52ae0d,_0x3bf9a0);_0x3ebe39[_0x1a6780(0x411)]({'id':_0x320ae9['id'],'params':{'unitId':_0x5defc8,'subUnitId':_0x52ae0d,'pivotTableId':_0x3bf9a0,'pivotTableConfig':_0x261599,'collectionConfig':_0x2d2846}});}});}),{'redos':_0x365aff,'undos':_0x3ebe39};}return{'redos':[],'undos':[]};}}));}};_0x4299b3=_0x43dcc2([_0x148f48(0x0,_0x4cef4c[_0x308732(0x275)]),_0x148f48(0x1,_0x4cef4c[_0x308732(0x27c)](_0x553681['SheetInterceptorService'])),_0x148f48(0x2,_0x4cef4c[_0x308732(0x27c)](_0x553681[_0x308732(0x21a)])),_0x148f48(0x3,_0x4cef4c[_0x308732(0x27c)](_0x11a467[_0x308732(0x1fa)]))],_0x4299b3);var _0x1729df=Object[_0x308732(0x456)],_0x30fa96=(_0x296617,_0xb109c9,_0x2dc596,_0x26bc9a)=>{const _0x56a3b0=_0x308732;for(var _0x5aa2f6=_0x26bc9a>0x1?void 0x0:_0x26bc9a?_0x1729df(_0xb109c9,_0x2dc596):_0xb109c9,_0x1a9e0a=_0x296617[_0x56a3b0(0x1bd)]-0x1,_0x132b0f;_0x1a9e0a>=0x0;_0x1a9e0a--)(_0x132b0f=_0x296617[_0x1a9e0a])&&(_0x5aa2f6=_0x132b0f(_0x5aa2f6)||_0x5aa2f6);return _0x5aa2f6;},_0xfc72af=(_0x16b1bb,_0x2bfb46)=>(_0x130285,_0x6b12f9)=>_0x2bfb46(_0x130285,_0x6b12f9,_0x16b1bb);let _0x29d2c4=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x2c0f6d,_0x4c3c99,_0x15a88d,_0x92a717,_0xe8bed1,_0x3b3fe6){const _0x5a88d7=_0x308732;super(),this[_0x5a88d7(0x344)]=_0x2c0f6d,this[_0x5a88d7(0x210)]=_0x4c3c99,this[_0x5a88d7(0x320)]=_0x15a88d,this[_0x5a88d7(0x2eb)]=_0x92a717,this['_sheetsPivotTableConfigModel']=_0xe8bed1,this[_0x5a88d7(0x252)]=_0x3b3fe6,this[_0x5a88d7(0x311)]();}[_0x308732(0x44d)](_0x19f643,_0x54da27,_0x11bc80){const _0x3b8aea=_0x308732,{pageView:_0x1ef665,cornerView:_0x506482,rowView:_0x3c38fc,colView:_0x2dce18,dataView:_0xc719b2}=_0x54da27,_0x17730d=_0x19f643;let _0x1c7971;if(_0x11bc80)_0x1c7971=[..._0x70da5b(_0x17730d)];else{const _0xe2ad2f=_0x1ac2c6(_0x17730d,_0x1ef665,!0x0),_0x3ba9da=_0x1ef665['lastRow']>=0x0?_0x1ef665['lastRow']+0x1:0x0,_0x5d4b80=_0x506482[_0x3b8aea(0x339)],_0x3d3d75=_0x506482[_0x3b8aea(0x260)],_0x12ea06=_0xe2ad2f[_0x3b8aea(0x1bd)]>0x0?_0x2d1a4a:0x0,_0x52cc16=_0x1ac2c6({'row':_0x17730d[_0x3b8aea(0x3ec)]+_0x3ba9da+_0x12ea06,'col':_0x17730d['col']},_0x506482,!0x1,!0x1),_0x11c887=_0x1ac2c6({'row':_0x17730d[_0x3b8aea(0x3ec)]+_0x3ba9da+_0x12ea06+_0x5d4b80,'col':_0x17730d['col']},_0x3c38fc,!0x1,!0x0),_0x3a26bb=_0x1ac2c6({'row':_0x17730d[_0x3b8aea(0x3ec)]+_0x3ba9da+_0x12ea06,'col':_0x17730d['col']+_0x3d3d75},_0x2dce18,!0x1,!0x0),_0x520c0a=_0x1ac2c6({'row':_0x17730d[_0x3b8aea(0x3ec)]+_0x3ba9da+_0x12ea06+_0x5d4b80,'col':_0x17730d[_0x3b8aea(0x36d)]+_0x3d3d75},_0xc719b2,!0x1,!0x0);_0x1c7971=[..._0xe2ad2f,..._0x52cc16,..._0x11c887,..._0x3a26bb,..._0x520c0a];}return _0x1c7971;}[_0x308732(0x311)](){const _0x1f1449=_0x308732;this['disposeWithMe'](this['_sheetsPivotTableService'][_0x1f1449(0x439)][_0x1f1449(0x30e)](this['_sheetsPivotTableService'][_0x1f1449(0x439)][_0x1f1449(0x1b3)]()[_0x1f1449(0x1fe)],{'handler':(_0x5c1358,_0x9b7661)=>{const _0x1b4fad=_0x1f1449,{cellInfo:_0x27ab19,view:_0x557b73,isEmpty:_0x2dc9f0}=_0x9b7661,_0x497837=_0x27ab19,{unitId:_0x470a12,subUnitId:_0x24e1ea}=_0x497837,_0x1dad6d=this[_0x1b4fad(0x44d)](_0x27ab19,_0x557b73,_0x2dc9f0),_0x5b6663=this['_sheetInterceptorService'][_0x1b4fad(0x2c1)]({'unitId':_0x470a12,'subUnitId':_0x24e1ea,'ranges':_0x1dad6d}),_0x2d2dd4=_0x50cf3c(this[_0x1b4fad(0x320)],_0x470a12,_0x24e1ea,_0x1dad6d);_0x2d2dd4[_0x1b4fad(0x26e)]&&(_0x5b6663['redos'][_0x1b4fad(0x411)](_0x2d2dd4[_0x1b4fad(0x22b)]),_0x5b6663[_0x1b4fad(0x42f)][_0x1b4fad(0x411)](_0x2d2dd4[_0x1b4fad(0x3cd)]));const _0x430d2c=this[_0x1b4fad(0x24d)](_0x557b73,_0x27ab19);return _0x5b6663[_0x1b4fad(0x1f7)][_0x1b4fad(0x411)](..._0x430d2c[_0x1b4fad(0x1f7)]),_0x5b6663[_0x1b4fad(0x42f)][_0x1b4fad(0x411)](..._0x430d2c[_0x1b4fad(0x42f)]),{'redos':_0x5b6663['redos'],'undos':_0x5b6663[_0x1b4fad(0x42f)]};}}));}[_0x308732(0x24d)](_0x2ff20d,_0x49f419){const _0x758cb6=_0x308732,{col:_0x2a3c69,unitId:_0x5c9f0b,subUnitId:_0x2e5fbc}=_0x49f419,_0x45578f=[],_0x24643a=[],_0x1c0945=_0x553681['getSheetCommandTarget'](this[_0x758cb6(0x2eb)],{'unitId':_0x5c9f0b,'subUnitId':_0x2e5fbc});if(!_0x49f419||!_0x2ff20d||!_0x1c0945)return{'undos':_0x24643a,'redos':_0x45578f};const _0x252bac=this[_0x758cb6(0x2e1)][_0x758cb6(0x365)](),{colView:_0x194081,dataView:_0x533675,cornerView:_0x9e42a5,rowView:_0x172243,formatMap:_0x37afcd}=_0x2ff20d,_0x1ad953=_0x3d4119(_0x194081,_0x252bac,!0x0,_0x37afcd),_0x374784=_0x3d4119(_0x172243,_0x252bac,!0x1,_0x37afcd),_0x33f716=_0x5832a9(_0x533675),_0x5ab26d=_0x264109(_0x9e42a5),{worksheet:_0x2c69fe}=_0x1c0945;if(typeof window<'u'&&window[_0x758cb6(0x2de)]){const _0x8e9a77=_0x412af6[_0x758cb6(0x338)]({..._0x3fbf77['colStyle']}),_0x24cb9e=_0x412af6[_0x758cb6(0x35c)]['getTextSize'](_0x1ad953,_0x8e9a77)[_0x758cb6(0x2c8)]+0x10,_0x32ee7f=_0x412af6[_0x758cb6(0x35c)][_0x758cb6(0x407)](_0x33f716,_0x8e9a77)[_0x758cb6(0x2c8)],_0x44af69=Math[_0x758cb6(0x179)](Math[_0x758cb6(0x23b)](_0x24cb9e,_0x32ee7f))+0x10,_0x53cd60=Math[_0x758cb6(0x179)](_0x412af6[_0x758cb6(0x35c)]['getTextSize'](_0x374784,_0x8e9a77)[_0x758cb6(0x2c8)]),_0x530a65=Math[_0x758cb6(0x179)](_0x412af6[_0x758cb6(0x35c)][_0x758cb6(0x407)](_0x5ab26d,_0x8e9a77)['width']),_0x399ce6=Math[_0x758cb6(0x23b)](_0x53cd60,_0x530a65,0x28)+0xc,_0x1cd240=_0x194081[_0x758cb6(0x260)]+_0x9e42a5[_0x758cb6(0x260)],_0x180b03={},_0x5e34eb={};for(let _0x9abfdf=_0x2a3c69;_0x9abfdf<_0x2a3c69+_0x1cd240;_0x9abfdf++){const _0x5f052c=_0x2c69fe[_0x758cb6(0x319)](_0x9abfdf);_0x180b03[_0x9abfdf]=_0x5f052c,_0x9abfdf-_0x2a3c69<_0x9e42a5['colCount']?_0x5e34eb[_0x9abfdf-_0x2a3c69]=_0x399ce6:_0x5e34eb[_0x9abfdf-_0x2a3c69]=_0x44af69;}_0x45578f[_0x758cb6(0x411)]({'id':_0x553681[_0x758cb6(0x350)]['id'],'params':{'subUnitId':_0x2e5fbc,'unitId':_0x5c9f0b,'ranges':[{'startColumn':_0x2a3c69,'endColumn':_0x2a3c69+_0x1cd240-0x1,'startRow':0x0,'endRow':_0x2c69fe[_0x758cb6(0x422)]()-0x1}],'colWidth':_0x5e34eb}}),_0x24643a[_0x758cb6(0x411)]({'id':_0x553681[_0x758cb6(0x350)]['id'],'params':{'subUnitId':_0x2e5fbc,'unitId':_0x5c9f0b,'ranges':[{'startColumn':_0x2a3c69,'endColumn':_0x2a3c69+_0x1cd240-0x1,'startRow':0x0,'endRow':_0x2c69fe['getRowCount']()-0x1}],'colWidth':_0x180b03}});}return{'undos':_0x24643a,'redos':_0x45578f};}};_0x29d2c4=_0x30fa96([_0xfc72af(0x0,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c['LocaleService'])),_0xfc72af(0x1,_0x4cef4c['Inject'](_0x553681[_0x308732(0x205)])),_0xfc72af(0x2,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c['Injector'])),_0xfc72af(0x3,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x275)])),_0xfc72af(0x4,_0x4cef4c['Inject'](_0x11a467[_0x308732(0x1fa)])),_0xfc72af(0x5,_0x4cef4c[_0x308732(0x27c)](_0x11a467[_0x308732(0x38e)]))],_0x29d2c4);var _0x46a31f=Object[_0x308732(0x456)],_0x167108=(_0x22cbd1,_0x236740,_0x12cecf,_0x58d801)=>{const _0x25fe64=_0x308732;for(var _0x5b0709=_0x58d801>0x1?void 0x0:_0x58d801?_0x46a31f(_0x236740,_0x12cecf):_0x236740,_0x8c47da=_0x22cbd1[_0x25fe64(0x1bd)]-0x1,_0x4bf4cc;_0x8c47da>=0x0;_0x8c47da--)(_0x4bf4cc=_0x22cbd1[_0x8c47da])&&(_0x5b0709=_0x4bf4cc(_0x5b0709)||_0x5b0709);return _0x5b0709;},_0x189808=(_0x2c4914,_0x3d675b)=>(_0x508b23,_0xdca30a)=>_0x3d675b(_0x508b23,_0xdca30a,_0x2c4914);let _0x1fbb1c=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x1952d4,_0x13ebfd,_0x4058a2,_0x203933,_0x12ec6e,_0x2e8c36,_0x1e1655){const _0x25d09d=_0x308732;super(),_0x4b363f(this,_0x25d09d(0x3b4),new _0x4cef4c['DisposableCollection']()),(this[_0x25d09d(0x320)]=_0x1952d4,this[_0x25d09d(0x19e)]=_0x13ebfd,this['_commandService']=_0x4058a2,this[_0x25d09d(0x2eb)]=_0x203933,this['_sheetsPivotTableConfigModel']=_0x12ec6e,this[_0x25d09d(0x1fb)]=_0x2e8c36,this['_sheetInterceptorService']=_0x1e1655,this[_0x25d09d(0x464)]());}[_0x308732(0x464)](){const _0x2c2bbc=_0x308732,_0x4a21c6=(_0x209dca,_0xc3d862)=>{const _0x3da2ed=_0x1976,_0x30a5b2=this[_0x3da2ed(0x2eb)][_0x3da2ed(0x349)](_0x4cef4c[_0x3da2ed(0x25d)]['UNIVER_SHEET']);if(!_0x30a5b2||!(_0x30a5b2==null?void 0x0:_0x30a5b2[_0x3da2ed(0x1fc)](_0xc3d862)))return;this[_0x3da2ed(0x3b4)]['dispose']();const _0x23cf52=_0xe7c5f1=>this[_0x3da2ed(0x22e)](_0xe7c5f1,_0x209dca,_0xc3d862),_0x302388=this[_0x3da2ed(0x2e1)][_0x3da2ed(0x2e2)](_0x209dca,_0xc3d862);if(!(_0x302388!=null&&_0x302388['size']))return;Array['from'](_0x302388['values']())['map'](_0x4a71c0=>{const _0x22178f=_0x3da2ed,{row:_0x3107ec,col:_0x4df62c}=_0x4a71c0[_0x22178f(0x2b1)];return _0x4cef4c[_0x22178f(0x284)](_0x3107ec,_0x4df62c);})[_0x3da2ed(0x396)](_0x7df5ef=>{const _0x1f07a1=_0x3da2ed;this[_0x1f07a1(0x3b4)][_0x1f07a1(0x20a)](this[_0x1f07a1(0x19e)][_0x1f07a1(0x286)](_0x7df5ef,_0x23cf52,_0x209dca,_0xc3d862));});},_0x3db31c=()=>{const _0x445267=_0x1976,_0x33d261=this['_univerInstanceService'][_0x445267(0x349)](_0x4cef4c[_0x445267(0x25d)]['UNIVER_SHEET']);if(_0x33d261){const _0x18eb21=_0x33d261['getActiveSheet']();if(!_0x18eb21)return;_0x4a21c6(_0x33d261[_0x445267(0x2a3)](),_0x18eb21['getSheetId']());}};this['disposeWithMe'](this[_0x2c2bbc(0x325)][_0x2c2bbc(0x3b7)](_0x66a817=>{const _0x57dfe7=_0x2c2bbc;if(_0x66a817['id']===_0x553681[_0x57dfe7(0x2cd)]['id']){const _0x5bb09e=_0x66a817[_0x57dfe7(0x17f)],_0x439d8b=_0x5bb09e[_0x57dfe7(0x2d0)],_0x29f556=_0x5bb09e['unitId'];if(!_0x439d8b||!_0x29f556)return;_0x4a21c6(_0x29f556,_0x439d8b);}})),this[_0x2c2bbc(0x235)](this[_0x2c2bbc(0x2e1)][_0x2c2bbc(0x2d3)][_0x2c2bbc(0x321)](_0x18d739=>{_0x18d739&&_0x3db31c();})),this[_0x2c2bbc(0x235)](this[_0x2c2bbc(0x2e1)]['pivotConfigChange$'][_0x2c2bbc(0x321)](_0x564d2a=>{const _0x116cd2=_0x2c2bbc,_0x2d4461=_0x553681[_0x116cd2(0x3a5)](this[_0x116cd2(0x2eb)]);if(!_0x2d4461)return;const {unitId:_0xb54f5,subUnitId:_0x3dc0bc}=_0x2d4461,{unitId:_0x4d45ed,subUnitId:_0x2ee72c}=_0x564d2a;_0xb54f5!==_0x4d45ed||_0x3dc0bc!==_0x2ee72c||_0x4a21c6(_0xb54f5,_0x3dc0bc);})),_0x3db31c();}[_0x308732(0x22e)](_0x34e77e,_0xddf2ee,_0x4c178e){const _0x13e108=_0x308732;switch(_0x34e77e['id']){case _0x553681[_0x13e108(0x37d)]['id']:return this[_0x13e108(0x3ab)](_0x34e77e[_0x13e108(0x17f)],_0xddf2ee,_0x4c178e);}return{'redos':[],'undos':[]};}['getRefRangeMutationsByMoveRange'](_0x214f9a,_0x15c3e0,_0x28e6cc){const _0x2e4fbc=_0x308732,{fromRange:_0xc3469e,toRange:_0x22183f}=_0x214f9a,_0x1f02b3=[],_0x175820=[],_0x36ff85=_0x553681['getSheetCommandTarget'](this[_0x2e4fbc(0x2eb)]);if(!_0x36ff85)return{'undos':_0x175820,'redos':_0x1f02b3};if(_0x15c3e0!==_0x36ff85[_0x2e4fbc(0x44f)]||_0x28e6cc!==_0x36ff85[_0x2e4fbc(0x2d0)])return{'undos':_0x175820,'redos':_0x1f02b3};const _0x436622=this[_0x2e4fbc(0x2e1)][_0x2e4fbc(0x2e2)](_0x15c3e0,_0x28e6cc);if(_0x436622!=null&&_0x436622[_0x2e4fbc(0x406)])for(const [_0x5374a0,_0x4ba42a]of _0x436622){const {unitId:_0x537fe9,subUnitId:_0x58b5d4,row:_0x391f9e,col:_0x503c30}=_0x4ba42a['targetCellInfo'];if(_0x537fe9===_0x36ff85[_0x2e4fbc(0x44f)]&&_0x58b5d4===_0x36ff85['subUnitId']){const _0x440974=_0x4cef4c[_0x2e4fbc(0x284)](_0x391f9e,_0x503c30);if(_0x4cef4c[_0x2e4fbc(0x222)][_0x2e4fbc(0x28c)](_0x440974,_0xc3469e)){const _0x27c751=_0x391f9e-_0xc3469e[_0x2e4fbc(0x24c)],_0x27e6a3=_0x503c30-_0xc3469e[_0x2e4fbc(0x28d)],_0x593176={'row':_0x22183f[_0x2e4fbc(0x24c)]+_0x27c751,'col':_0x22183f[_0x2e4fbc(0x28d)]+_0x27e6a3};_0x1f02b3[_0x2e4fbc(0x411)]({'id':_0x2064a0['id'],'params':{'unitId':_0x537fe9,'subUnitId':_0x58b5d4,'pivotTableId':_0x5374a0,'targetCellPosition':_0x593176}}),_0x175820[_0x2e4fbc(0x411)]({'id':_0x2064a0['id'],'params':{'unitId':_0x537fe9,'subUnitId':_0x58b5d4,'pivotTableId':_0x5374a0,'targetCellPosition':{'row':_0x391f9e,'col':_0x503c30}}});const _0x18237a=_0x593176[_0x2e4fbc(0x3ec)]-_0x391f9e,_0x12d806=_0x593176[_0x2e4fbc(0x36d)]-_0x503c30,_0x4f7b8c=[],_0x527744=this['_sheetsPivotTableAdaptorModel'][_0x2e4fbc(0x1da)](_0x537fe9,_0x58b5d4,_0x5374a0),_0xb74b3c=_0x527744==null?void 0x0:_0x527744['rangesInfo'];if(_0xb74b3c){Object[_0x2e4fbc(0x263)](_0xb74b3c)[_0x2e4fbc(0x396)](_0x43e1d9=>{const _0x588770=_0x2e4fbc;_0xb74b3c[_0x43e1d9][_0x588770(0x396)](_0x1a60e1=>{const _0x848a78=_0x588770,_0x454872={..._0x1a60e1};_0x454872['startRow']=_0x1a60e1['startRow']+_0x18237a,_0x454872[_0x848a78(0x35d)]=_0x1a60e1[_0x848a78(0x35d)]+_0x18237a,_0x454872[_0x848a78(0x28d)]=_0x1a60e1[_0x848a78(0x28d)]+_0x12d806,_0x454872[_0x848a78(0x2e4)]=_0x1a60e1[_0x848a78(0x2e4)]+_0x12d806,_0x4f7b8c[_0x848a78(0x411)](_0x454872);});});const _0x3e0002=this['_sheetInterceptorService'][_0x2e4fbc(0x2c1)]({'unitId':_0x537fe9,'subUnitId':_0x58b5d4,'ranges':_0x4f7b8c});_0x1f02b3['push'](..._0x3e0002[_0x2e4fbc(0x1f7)]),_0x175820[_0x2e4fbc(0x411)](..._0x3e0002[_0x2e4fbc(0x42f)]);const _0x9ed453=_0x50cf3c(this[_0x2e4fbc(0x320)],_0x537fe9,_0x58b5d4,_0x4f7b8c);_0x9ed453['shouldClear']&&(_0x1f02b3[_0x2e4fbc(0x411)](_0x9ed453[_0x2e4fbc(0x22b)]),_0x175820[_0x2e4fbc(0x411)](_0x9ed453[_0x2e4fbc(0x3cd)]));}}}}return{'redos':_0x1f02b3,'undos':_0x175820};}};_0x1fbb1c=_0x167108([_0x189808(0x0,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c['Injector'])),_0x189808(0x1,_0x4cef4c[_0x308732(0x27c)](_0x553681['RefRangeService'])),_0x189808(0x2,_0x4cef4c[_0x308732(0x3ac)]),_0x189808(0x3,_0x4cef4c[_0x308732(0x275)]),_0x189808(0x4,_0x4cef4c['Inject'](_0x11a467[_0x308732(0x1fa)])),_0x189808(0x5,_0x4cef4c[_0x308732(0x27c)](_0x11a467[_0x308732(0x236)])),_0x189808(0x6,_0x4cef4c[_0x308732(0x27c)](_0x553681[_0x308732(0x205)]))],_0x1fbb1c);var _0x53b436=Object[_0x308732(0x456)],_0x43ec89=(_0x2cec07,_0x2af95a,_0x1a35d9,_0x47edff)=>{const _0x289d30=_0x308732;for(var _0x391623=_0x47edff>0x1?void 0x0:_0x47edff?_0x53b436(_0x2af95a,_0x1a35d9):_0x2af95a,_0x54620c=_0x2cec07[_0x289d30(0x1bd)]-0x1,_0x2ddbcb;_0x54620c>=0x0;_0x54620c--)(_0x2ddbcb=_0x2cec07[_0x54620c])&&(_0x391623=_0x2ddbcb(_0x391623)||_0x391623);return _0x391623;},_0x52ed19=(_0x450e9f,_0x2171bf)=>(_0x2be59d,_0x460cf8)=>_0x2171bf(_0x2be59d,_0x460cf8,_0x450e9f);let _0x217e38=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x28f13c,_0x200cba){const _0x2eee58=_0x308732;super(),this[_0x2eee58(0x210)]=_0x28f13c,this[_0x2eee58(0x2e1)]=_0x200cba,this[_0x2eee58(0x3ed)]();}[_0x308732(0x3ed)](){const _0x41b9e3=_0x308732;this[_0x41b9e3(0x235)](this['_sheetInterceptorService'][_0x41b9e3(0x370)]({'getMutations':_0x458927=>{const _0x5e8afa=_0x41b9e3;if(_0x458927['id']===_0x553681['RemoveSheetCommand']['id']){const _0x2acf3a=[],_0x2c4845=[],_0x1cd9b8=_0x458927['params'],{unitId:_0x398a2c,subUnitId:_0x560157}=_0x1cd9b8;if(!_0x398a2c||!_0x560157)return{'undos':_0x2c4845,'redos':_0x2acf3a};const _0x37b8d5=this[_0x5e8afa(0x2e1)]['getSubUnitPivotConfigs'](_0x398a2c,_0x560157);if(_0x37b8d5!=null&&_0x37b8d5[_0x5e8afa(0x406)])for(const [_0x3ccdaa,_0x24ac0c]of _0x37b8d5){_0x2acf3a[_0x5e8afa(0x411)]({'id':_0x4132af['id'],'params':{'unitId':_0x398a2c,'subUnitId':_0x560157,'pivotTableId':_0x3ccdaa}});const _0x520eb9={...this[_0x5e8afa(0x2e1)][_0x5e8afa(0x3a4)](_0x398a2c,_0x3ccdaa)};_0x2c4845[_0x5e8afa(0x411)]({'id':_0x320ae9['id'],'params':{'unitId':_0x398a2c,'subUnitId':_0x560157,'pivotTableId':_0x3ccdaa,'pivotTableConfig':_0x24ac0c,'collectionConfig':_0x520eb9}});}return{'redos':_0x2acf3a,'undos':_0x2c4845};}return{'redos':[],'undos':[]};}}));}};_0x217e38=_0x43ec89([_0x52ed19(0x0,_0x4cef4c[_0x308732(0x27c)](_0x553681[_0x308732(0x205)])),_0x52ed19(0x1,_0x4cef4c[_0x308732(0x27c)](_0x11a467[_0x308732(0x1fa)]))],_0x217e38);var _0x33fc94=Object[_0x308732(0x456)],_0x3195fc=(_0x5b5965,_0xe683c0,_0x324a4a,_0x448dff)=>{const _0x52477e=_0x308732;for(var _0x570023=_0x448dff>0x1?void 0x0:_0x448dff?_0x33fc94(_0xe683c0,_0x324a4a):_0xe683c0,_0x3c924a=_0x5b5965[_0x52477e(0x1bd)]-0x1,_0x1b6fc3;_0x3c924a>=0x0;_0x3c924a--)(_0x1b6fc3=_0x5b5965[_0x3c924a])&&(_0x570023=_0x1b6fc3(_0x570023)||_0x570023);return _0x570023;},_0x287b86=(_0x71b503,_0x7499aa)=>(_0x51e02d,_0x11fae5)=>_0x7499aa(_0x51e02d,_0x11fae5,_0x71b503);let _0x478a14=class extends _0x4cef4c[_0x308732(0x3e0)]{constructor(_0x174b01,_0x49d1f1,_0x435ec2,_0x1da0b3,_0x41c38d,_0x3fdcab){const _0x3c5f4f=_0x308732;super(),this[_0x3c5f4f(0x325)]=_0x174b01,this[_0x3c5f4f(0x227)]=_0x49d1f1,this['_sheetsPivotTableAdaptorModel']=_0x435ec2,this[_0x3c5f4f(0x2e1)]=_0x1da0b3,this[_0x3c5f4f(0x2eb)]=_0x41c38d,this[_0x3c5f4f(0x1f6)]=_0x3fdcab,this['_initDataSendListener'](),this[_0x3c5f4f(0x29c)]();}['_initDataSendListener'](){const _0x3a6161=_0x308732;this[_0x3a6161(0x235)](this[_0x3a6161(0x325)]['onCommandExecuted'](_0x48f521=>{const _0x282336=_0x3a6161;if(_0x48f521['id']!==_0x4ecfdc['id'])return;const _0x1b1da1=_0x48f521['params'];this[_0x282336(0x227)][_0x282336(0x17a)](_0x1b1da1);})),this[_0x3a6161(0x235)](this[_0x3a6161(0x325)][_0x3a6161(0x3b7)](_0x12fdfc=>{const _0x45f832=_0x3a6161;if(_0x12fdfc['id']===_0xf8025f['id']){const _0x43aa2f=_0x12fdfc[_0x45f832(0x17f)];if(_0x43aa2f){const {unitId:_0x56d489,subUnitId:_0x347ed8,oldSubUnitId:_0x44a5a5,pivotTableId:_0x55919a,pivotTableConfig:_0x355a9e,collectionConfig:_0x56a610}=_0x43aa2f;this[_0x45f832(0x2e1)]['updateConfigCache'](_0x56d489,_0x44a5a5,_0x43aa2f[_0x45f832(0x242)],null),this[_0x45f832(0x2e1)]['updateConfigCache'](_0x56d489,_0x347ed8,_0x55919a,_0x355a9e),this[_0x45f832(0x2e1)][_0x45f832(0x304)](_0x56d489,_0x56a610);}}})),this[_0x3a6161(0x235)](this[_0x3a6161(0x325)][_0x3a6161(0x3b7)](_0x5e9128=>{const _0x1d0b1b=_0x3a6161;if(_0x5e9128['id']!==_0x2ad196['id'])return;const _0x17e259=_0x553681['getSheetCommandTarget'](this[_0x1d0b1b(0x2eb)]);if(!_0x17e259)return;const {unitId:_0x39c592,subUnitId:_0x4fafd2}=_0x17e259,_0x4ebd38=_0x5e9128[_0x1d0b1b(0x17f)];if(_0x4ebd38['collectionConfig']&&Object[_0x1d0b1b(0x263)](_0x4ebd38['collectionConfig'])[_0x1d0b1b(0x396)](_0x244f43=>{const _0xf2bcdc=_0x1d0b1b;var _0x3e6445;(_0x3e6445=_0x4ebd38[_0xf2bcdc(0x39d)])!=null&&_0x3e6445[_0x244f43]&&this[_0xf2bcdc(0x2e1)][_0xf2bcdc(0x304)](_0x244f43,_0x4ebd38[_0xf2bcdc(0x39d)][_0x244f43]);}),_0x4ebd38[_0x1d0b1b(0x243)]){const _0x55e21e=_0x4ebd38[_0x1d0b1b(0x243)],{unitId:_0x33e0b5,subUnitId:_0x18345a,view:_0x3fe7a0,pivotTableId:_0x8d301d,type:_0x37d5dc,pivotConfig:_0x23126e}=_0x55e21e;if(_0x37d5dc===_0x171aea[_0x1d0b1b(0x390)])this[_0x1d0b1b(0x1fb)]['clearRenderCache']({'unitId':_0x33e0b5,'subUnitId':_0x18345a,'pivotTableId':_0x8d301d,'type':_0x37d5dc}),this[_0x1d0b1b(0x2e1)][_0x1d0b1b(0x269)](_0x33e0b5,_0x18345a,_0x8d301d,null);else{const _0x327d06=new _0x141cc9['PivotView']();_0x327d06[_0x1d0b1b(0x1e7)](_0x3fe7a0),this[_0x1d0b1b(0x2e1)][_0x1d0b1b(0x269)](_0x33e0b5,_0x18345a,_0x8d301d,_0x23126e),this[_0x1d0b1b(0x1fb)]['clearRenderCache']({'unitId':_0x33e0b5,'subUnitId':_0x18345a,'pivotTableId':_0x8d301d,'type':_0x37d5dc,'view':_0x327d06}),this['_sheetsPivotTableAdaptorModel']['updateRenderCache']({'unitId':_0x33e0b5,'subUnitId':_0x18345a,'view':_0x327d06,'pivotTableId':_0x8d301d,'type':_0x37d5dc});}}else _0x4ebd38[_0x1d0b1b(0x1b5)]&&(_0x4ebd38['batch'][_0x1d0b1b(0x396)](_0xcbbd1=>{const _0x5ec3cb=_0x1d0b1b,{unitId:_0x165c42,subUnitId:_0x36b489,view:_0x43065a,pivotTableId:_0x462008,type:_0xe1a539,pivotConfig:_0x28c500}=_0xcbbd1,_0x1c6c1a=new _0x141cc9[(_0x5ec3cb(0x401))]();_0x1c6c1a[_0x5ec3cb(0x1e7)](_0x43065a),this['_sheetsPivotTableConfigModel'][_0x5ec3cb(0x269)](_0x165c42,_0x36b489,_0x462008,_0x28c500),this[_0x5ec3cb(0x1fb)][_0x5ec3cb(0x271)]({'unitId':_0x165c42,'subUnitId':_0x36b489,'view':_0x1c6c1a,'pivotTableId':_0x462008,'type':_0xe1a539});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x1d0b1b(0x1fb)][_0x1d0b1b(0x391)](_0x39c592,_0x4fafd2);}));}[_0x308732(0x29c)](){const _0x5a386c=_0x308732;this[_0x5a386c(0x1f6)][_0x5a386c(0x44b)](_0xa1f689['id'],{'commandId':_0xa1f689['id'],'getDirtyData'(_0x5dcdb5){return{'dirtyUnitFeatureMap':_0x5dcdb5['params']};}});}};_0x478a14=_0x3195fc([_0x287b86(0x0,_0x4cef4c['Inject'](_0x4cef4c[_0x308732(0x3ac)])),_0x287b86(0x1,_0x4cef4c['Inject'](_0x11a467[_0x308732(0x34f)])),_0x287b86(0x2,_0x4cef4c[_0x308732(0x27c)](_0x11a467[_0x308732(0x236)])),_0x287b86(0x3,_0x4cef4c[_0x308732(0x27c)](_0x11a467['SheetsPivotTableConfigModel'])),_0x287b86(0x4,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x275)])),_0x287b86(0x5,_0x1c9972[_0x308732(0x2e7)])],_0x478a14);var _0x1b78bf=Object[_0x308732(0x2da)],_0x29561a=Object['getOwnPropertyDescriptor'],_0x444b43=(_0x8f4ac5,_0x36ae9e,_0x252258)=>_0x36ae9e in _0x8f4ac5?_0x1b78bf(_0x8f4ac5,_0x36ae9e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x252258}):_0x8f4ac5[_0x36ae9e]=_0x252258,_0x133bd0=(_0x41128f,_0x4aceb6,_0x224a48,_0x526dbc)=>{const _0x5933cf=_0x308732;for(var _0x43dc07=_0x526dbc>0x1?void 0x0:_0x526dbc?_0x29561a(_0x4aceb6,_0x224a48):_0x4aceb6,_0x244440=_0x41128f[_0x5933cf(0x1bd)]-0x1,_0xdcee1c;_0x244440>=0x0;_0x244440--)(_0xdcee1c=_0x41128f[_0x244440])&&(_0x43dc07=_0xdcee1c(_0x43dc07)||_0x43dc07);return _0x43dc07;},_0x1dbd9e=(_0x58c89f,_0xb0ec0e)=>(_0x2480e8,_0x2876d4)=>_0xb0ec0e(_0x2480e8,_0x2876d4,_0x58c89f),_0x4a9714=(_0x152e9e,_0x36560a,_0x10f2c1)=>_0x444b43(_0x152e9e,typeof _0x36560a!='symbol'?_0x36560a+'':_0x36560a,_0x10f2c1);_0x11a467[_0x308732(0x2a4)]=class extends _0x4cef4c['Plugin']{constructor(_0x351faf=_0xf26158,_0x30b136,_0x2ab115,_0xdf6010,_0x36cbe0){const _0x1f9dac=_0x308732;super(),this[_0x1f9dac(0x20d)]=_0x351faf,this[_0x1f9dac(0x320)]=_0x30b136,this[_0x1f9dac(0x325)]=_0x2ab115,this[_0x1f9dac(0x17d)]=_0xdf6010,this[_0x1f9dac(0x1ab)]=_0x36cbe0;const {..._0x2cc6b1}=_0x4cef4c['merge']({},_0xf26158,this['_config']);this[_0x1f9dac(0x17d)][_0x1f9dac(0x234)](_0x2d1ec3,_0x2cc6b1),this[_0x1f9dac(0x27b)](),this[_0x1f9dac(0x285)]();}[_0x308732(0x285)](){const _0x2186b1=_0x308732;var _0x544b69;const _0x490e12=(_0x544b69=this[_0x2186b1(0x20d)])==null?void 0x0:_0x544b69['notExecuteFormula'];this['_configService'][_0x2186b1(0x234)](_0x4001cc,_0x490e12===!0x0);}[_0x308732(0x197)](){const _0x197691=_0x308732;var _0x1c7355;let _0x513130=[];const _0x3ed643=(_0x1c7355=this[_0x197691(0x20d)])==null?void 0x0:_0x1c7355[_0x197691(0x328)];_0x3ed643===!0x0?_0x513130=[[_0x11a467[_0x197691(0x38e)]],[_0x11a467[_0x197691(0x34f)]],[_0x478a14],[_0x11a467[_0x197691(0x236)]],[_0x11a467[_0x197691(0x1fa)]],[_0x217e38],[_0x4299b3],[_0x1fbb1c],[_0x29d2c4]]:_0x3ed643===!0x1?_0x513130=[[_0x11a467[_0x197691(0x2a5)]],[_0x54f318]]:_0x3ed643===void 0x0&&(_0x513130=[[_0x11a467['SheetsPivotDataSourceModel']],[_0x54f318],[_0x11a467['SheetsPivotTableService']],[_0x11a467[_0x197691(0x34f)]],[_0x478a14],[_0x11a467[_0x197691(0x236)]],[_0x11a467[_0x197691(0x1fa)]],[_0x217e38],[_0x4299b3],[_0x1fbb1c],[_0x29d2c4]]),_0x513130['forEach'](_0x50df6b=>this[_0x197691(0x320)][_0x197691(0x20a)](_0x50df6b)),[_0x54f318,_0x478a14,_0x11a467[_0x197691(0x38e)],_0x4299b3,_0x217e38,_0x1fbb1c,_0x29d2c4]['forEach'](_0x220658=>{const _0xc2d68e=_0x197691;this[_0xc2d68e(0x320)][_0xc2d68e(0x223)](_0x220658)&&this['_injector'][_0xc2d68e(0x1d2)](_0x220658);});}[_0x308732(0x27b)](){[_0x60cec7,_0x171a51,_0xfd6941,_0xb328f,_0x2e0477,_0x216d62,_0x29933a,_0xf11bb6,_0x208fa8,_0x4f561f,_0x19d39f,_0x822263,_0x1ae733,_0x320ae9,_0x4132af,_0x2d9886,_0x2caa76,_0x170802,_0x3c464d,_0x55d70a,_0x1288ae,_0x1e3a71,_0x2064a0,_0x569cf1,_0x4ecfdc,_0x2ad196,_0x2a8471,_0x5c5318,_0x226008,_0x3db27b,_0x1b21fb,_0x4d2da1,_0x5ed49d,_0xa1f689,_0xf8025f,_0x1d4b8e,_0x4baad9,_0x104c66,_0x27083a]['forEach'](_0x81005b=>{const _0x49d059=_0x1976;var _0x1dc9c1;(_0x1dc9c1=this[_0x49d059(0x1ab)])==null||_0x1dc9c1['registerSyncingMutations'](_0x81005b),this[_0x49d059(0x325)][_0x49d059(0x276)](_0x81005b);});}},_0x4a9714(_0x11a467[_0x308732(0x2a4)],_0x308732(0x3db),_0x521977),_0x4a9714(_0x11a467[_0x308732(0x2a4)],_0x308732(0x1cc),_0x4cef4c[_0x308732(0x25d)][_0x308732(0x262)]),_0x11a467[_0x308732(0x2a4)]=_0x133bd0([_0x4cef4c[_0x308732(0x2c7)](_0x4a6362[_0x308732(0x2d1)]),_0x1dbd9e(0x1,_0x4cef4c[_0x308732(0x27c)](_0x4cef4c[_0x308732(0x297)])),_0x1dbd9e(0x2,_0x4cef4c['Inject'](_0x4cef4c[_0x308732(0x3ac)])),_0x1dbd9e(0x3,_0x4cef4c[_0x308732(0x334)]),_0x1dbd9e(0x4,_0x4cef4c[_0x308732(0x2f6)](_0x3c673e[_0x308732(0x1c9)]))],_0x11a467[_0x308732(0x2a4)]),_0x11a467[_0x308732(0x1d1)]=_0xfd6941,_0x11a467[_0x308732(0x22f)]=_0x2d9886,_0x11a467[_0x308732(0x25a)]=_0x171a51,_0x11a467[_0x308732(0x35e)]=_0x320ae9,_0x11a467[_0x308732(0x403)]=_0x60cec7,_0x11a467['BLANK_ROW_COUNT']=_0x2d1a4a,_0x11a467[_0x308732(0x19f)]=_0x34a535,_0x11a467[_0x308732(0x228)]=_0xb328f,_0x11a467[_0x308732(0x34d)]=_0x822263,_0x11a467[_0x308732(0x29e)]=_0x16fd81,_0x11a467[_0x308732(0x437)]=_0x1ae733,_0x11a467['PivotTableOperationEnum']=_0x171aea,_0x11a467[_0x308732(0x1ef)]=_0xa1f689,_0x11a467[_0x308732(0x3fd)]=_0x4c1a96,_0x11a467[_0x308732(0x367)]=_0x2e0477,_0x11a467[_0x308732(0x45d)]=_0x170802,_0x11a467['RemovePivotTableMutation']=_0x4132af,_0x11a467[_0x308732(0x405)]=_0x3c464d,_0x11a467[_0x308732(0x287)]=_0x27083a,_0x11a467[_0x308732(0x39a)]=_0x2d1ec3,_0x11a467['SHEET_PIVOT_TABLE_PLUGIN']=_0x521977,_0x11a467[_0x308732(0x32c)]=_0x29933a,_0x11a467[_0x308732(0x3a6)]=_0x55d70a,_0x11a467[_0x308732(0x3f5)]=_0x3db27b,_0x11a467[_0x308732(0x2f0)]=_0x104c66,_0x11a467[_0x308732(0x345)]=_0x208fa8,_0x11a467[_0x308732(0x399)]=_0x2caa76,_0x11a467[_0x308732(0x1aa)]=_0x1e3a71,_0x11a467[_0x308732(0x22a)]=_0x2064a0,_0x11a467[_0x308732(0x185)]=_0xf11bb6,_0x11a467[_0x308732(0x342)]=_0x1288ae,_0x11a467[_0x308732(0x413)]=_0x226008,_0x11a467[_0x308732(0x1cd)]=_0x1d4b8e,_0x11a467[_0x308732(0x442)]=_0x4baad9,_0x11a467[_0x308732(0x1c2)]=_0x2a8471,_0x11a467[_0x308732(0x1b4)]=_0x4f561f,_0x11a467[_0x308732(0x2b2)]=_0x5ed49d,_0x11a467[_0x308732(0x302)]=_0x19d39f,_0x11a467[_0x308732(0x331)]=_0x4d2da1,_0x11a467[_0x308732(0x224)]=_0x216d62,_0x11a467[_0x308732(0x2b9)]=_0x5c5318,_0x11a467[_0x308732(0x2be)]=_0x1cb4e1,_0x11a467[_0x308732(0x357)]=_0x2f050b,_0x11a467['defaultThemeStyle']=_0x3fbf77,_0x11a467['generateSetRangeValueMutations']=_0x50cf3c,_0x11a467[_0x308732(0x1e2)]=_0x1ac2c6,_0x11a467[_0x308732(0x2bb)]=_0x70da5b,_0x11a467[_0x308732(0x3a1)]=_0x495314,_0x11a467['getInsertRowColMutations']=_0x3fed82,_0x11a467[_0x308732(0x25c)]=_0x2b3647,_0x11a467[_0x308732(0x28f)]=_0x67c83f,_0x11a467['getPivotTableInfo']=_0x5ee200,_0x11a467[_0x308732(0x1eb)]=_0x5ed7cf,_0x11a467[_0x308732(0x2ea)]=_0x1c98f6,Object['defineProperty'](_0x11a467,Symbol['toStringTag'],{'value':'Module'});}));function _0x3c1e(){const _0x5a6483=['_initLocale','_commandService','valid','isEmpty','notExecuteFormula','data','tableFieldId','getPivotDisplayConfig','SetPivotCollapseCommand','forValue','updatePivotTableMatrixInfo','Varp\x20of\x20','getFilterInfo','UpdatePivotTableSourceRangeMutation','getPivotTableConfig','removePivotField','IConfigService','MAX_SAFE_INTEGER','generateHexNumber','addExclusiveRange','getFontStyleString','rowCount','addDirtyPivotTable','_dataFieldManagerCollection','_host','RemoveField','refreshData','stdDevp','AddPivotTableWithConfig','NotName','SetPivotSortMutation','_queryingMap','_localeService','SetPivotFilterCommand','matrix','getStyles','UniverProEnginePivot','getCurrentUnitForType','viewData$','UniverRpc','Style','MovePivotTableCommand','count','SheetsPivotRPCService','SetWorksheetColWidthMutation','_pivotTableRangeInfo','areaInfo','number','contains','Row','pivotConfigChange$','canUsePivot','iterateField','refreshDataField','getLastRow','ClearSelectionContentCommand','FontCache','endRow','AddPivotTableMutation','stdDev','@univerjs-pro/license','isText','CommandType','rowStyle','new','getTextInfo','DisposableCollection','RemovePivotFieldCommand','DrillDown','setSortInfo','PivotViewCellValueTypeEnum','endCollectChangeset','getPivotTableModelConfig','col','getLastCol','rangeKey','interceptCommand','sheets-pivot.productName','sheets-pivot.subTotal','renameField','existing','@univerjs/engine-render','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','PivotDataFieldDataTypeEnum','workbook\x20is\x20not\x20found','rowRanges','sheet.command.set-pivot-filter','Subtotal','isBottomTotal','MoveRangeCommand','sheets-pivot.countName','#f4f4f5','handleSourceRangeChange','SetPivotTableConfig','string','sheet.mutation.set-pivot-sort-info','@univerjs/rpc','sheet.mutation.pivot-update-field-position','from','isPrefixValue','updateDirtyPivotTable','getFieldPositionInfoById','sheets-pivot.maxName','@univerjs/engine-formula','AddPivotField','Max\x20of\x20','SheetsPivotTableService','sheet.mutation.pivot-update-value-position','Delete','markDirty','getName','Existing','pivotPerformCheck','_model','forEach','sum','registerCallbackWithEvent','SetPivotFilterMutation','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','_globalComputingSrv','removeValueFilterInfoByValueFieldId','collectionConfig','InsertRowMutation','SetRangeValuesMutation','updateView','getFieldListByArea','UniverProSheetsPivot','2498826aYjWlQ','getCollection','getSheetCommandTarget','SetPivotCollapseMutation','(Blank)','getDirtyInfo','updateViewData','uniqueDataFieldName','getRefRangeMutationsByMoveRange','ICommandService','sheets-pivot.grandTotal','getMatrixFromRunTimeData','_deleteModelCache','initDataRanges','getCellMatrix','getDataFieldByTableId','_initPivotDataGetListener','disposableCollection','_viewData$','getMatrixValue','onCommandExecuted','pivotMutationGenerate','getColCount','hasField','sheet.mutation.set-pivot-field-subtotal-type','collapseInfo','ptn','map','MIN_SAFE_INTEGER','2799902fNoYDI','getValueFilterInfos','getDisplayName','sheet.mutation.set-pivot-collapse','PivotTable','PivotTableFiledAreaEnum','addRecord','sideEffectUpdateWorkerCache','_pivotTableMatrixInfo','return\x20','collections','_globalSubject','collection','setRangeValueUndoMutation','addField','getAutoDisplayName','SetFieldFormat','_pivotRenderValueMatrixCache','amd','setRangeKeyMap','RemoveRowMutation','sheet.command.add-pivot-field','590wxbXBD','getTableFieldById','Average\x20of\x20','getRangeKey','rowInfo','pluginName','concat','addFieldWithSourceId','ObjectMatrix','_pivotInitCompleted$','Disposable','_subjectCollectionChange','dataStyle','updateFieldPosition','symbol','isColMultiMeasure','PivotMultipleValueId','realDeleteValue','parseInt','removeDataField','sheet.command.pivot-drill-down','Var\x20of\x20','row','_initRemoveSheetCommandInterceptor','_featureCalculationManagerService','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','set','drillDown','getSheetBySheetName','dataRangeInfo','AsyncInterceptorManager','SetPivotFieldFormatMutation','getSheets','onQueryStart','UpdateFieldPosition','#e6ebfa','fieldsConfig','displayName','removeCollectionImp','PositionType','_requestResolvers','setPivotTable','getDataFieldManager','PivotView','sheet.mutation.set-pivot-format','AddPivotTableWithConfigCommand','paths','RenamePivotFieldMutation','size','getTextSize','_ensurePivotItemRenderInfoCache','needSameDeleteModel','error','valueFields','SetPivotFilter','average','getFieldDataType','_updatePivotTableInstanceCache','LS_CONFIG_KEY','push','@univerjs/sheets-filter','SetPivotSubtotalTypeMutation','rowFields','lastRow','charCodeAt','STRING','MoveRangeMutation','isDateValue','Min\x20of\x20','Total','LocaleService','10130RLGMeF','getSheetId','setRange','@univerjs-pro/engine-pivot','sheet.command.add-pivot-table','getRowCount','addCollection','valueIndex','column','sheet.command.move-pivot-field','_collectionChange$','Grand\x20Total','_subjectFieldsCollectionChange','addPivotTableWithConfig','SetFilterInfo','sheet.command.update-pivot-value-position','colHeaderMap','setSourceName','undos','ClearSelectionAllCommand','AddField','sheet.mutation.get-pivot-data-local','SetPivotSetting','IResourceManagerService','getRangeKeyList','update','PivotDrillDownCommand','filterInfo','interceptor','PivotTableValuePositionEnum','updateDataFieldsCollection','custom','next','RemoveSheetMutation','setDirty','measure','Value','SetPivotValueFilterMutation','reset','version','_configVersion$','getformat','RemoveSheetsFilterMutation','mergeWorksheetSnapshotWithDefault','asyncInterceptor','configVersion$','register','startCollectChangeset','_getPivotAppliedRanges','_updateRenderEmptyCache','unitId','getId','isErrorValue','sheet.mutation.set-pivot-option','New','Set','dimension','getOwnPropertyDescriptor','fieldId','getTypeOfUnitDisposed$','LifecycleService','Panel','CellValueType','sheet.command.update-pivot-table-source-range','RemovePivotFieldMutation','rangeType','colInfo','getViewData','sheets-pivot.sumName','colRanges','getFieldFormat','_onRefRangeChange','min','Range','sheets-pivot.varName','IExclusiveRangeService','getConfig','getSubtotal','deleteUnitId','floor','handleAsyncResponse','sheet.mutation.add-pivot-field','message','_configService','getPivotDirtyViewInfo','params','sheets-pivot.minName','5545450Iurvbs','queryDirtyPivotTable','value','dataFieldManagerConfig','SetPivotSortCommand','setValue','fieldIds','find','330MIqkph','sheets-pivot.emptyPivot.row','getDataFieldId','PivotFilterTypeEnum','sheets.tabs.sheet','None','getDataFieldBySourceName','ErrorType','deleteDataField','getValueIndex','SHEET_PIVOT_TABLE_PLUGIN','getMatrix','toString','getSheetFeatureLimit','onStarting','NUMBER','getFieldById','setValueFilterInfo','SetValuePivotFilter','_viewUpdate$','4BueQgz','_refRangeService','DEFAULT_PIVOT_NUMBER','dataFieldId','prefix','versions','getDataFieldItemInfo','MovePivotField','_ensurePivotMap','leafStyle','_sheetsPivotDataSourceModel','342GQksrP','_initSnapshot','SetPivotOptionMutation','_dataSyncPrimaryController','InsertSheetUndoMutationFactory','colStyle','sheet.command.reset-pivot-fields-config','createAsyncInterceptorKey','SetSubtotalType','sheets-pivot.blank','prototype','getInterceptPoints','UpdatePivotFieldSettingCommand','batch','rangeCache','Values','options','delete','valueFilter','RenameField','removeValueFilterInfo','length','updatePivotSource','level','RemovePivotField','updateConfig','UpdateFieldPositionMutation','getSortInfo','triggerDirtyFeature','exports','createValueField','sheets-pivot.stdDevpName','_ensureViewDataMap','DataSyncPrimaryController','dataStream','movePivotField','type','SetPivotValueFilterCommand','_textInfo','NAME','4r6op1P6\x20hgoJ5Lp1P6(S1og6Vg,\x20LrqS1otg5)\x20{\x20\x20\x20\x20pJ5\x20{\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20S1og6Vgb64PdAJp0JJA5\x20=\x20S1og6Vg.VLS1p(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20PJ1k16ygVVAkg\x20=\x20vD3z.LAJVg(ApPq(S1og6Vgb64PdAJp0JJA5[M]));\x20\x20\x20\x20\x20\x20\x20\x2014\x20(!PJ1k16ygVVAkg.rh)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJ1k16ygVVAkg.rh\x20=\x20zrWqgJ(S1og6Vgb64PdAJp0JJA5[u]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x201VjPJ7gJ\x20=\x20p5LgP4\x20jPJ7gJaSPqASDoPLg\x20!==\x20\x27r6hg416gh\x27\x20&&\x20VgS4\x2016VpA6ogP4\x20jPJ7gJaSPqASDoPLg;\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20oP6pglp\x20=\x201VjPJ7gJ\x20?\x20VgS4\x20:\x20m16hPm;\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20WgVVAkgjPJh\x20=\x20oP6pglp.__FAVgnu__.LAJVg(S1og6Vgb64PdAJp0JJA5[M]);\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20WgVVAkg\x20=\x20oP6pglp.__fgl__.VpJ16k145(WgVVAkgjPJh);\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20V1k6AprJgjPJh\x20=\x20oP6pglp.__FAVgnu__.LAJVg(S1og6Vgb64PdAJp0JJA5[w]);\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20V1k6AprJg\x20=\x20oP6pglp.__fgl__.VpJ16k145(V1k6AprJgjPJh);\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20V1k6eAS1h\x20=\x20oP6pglp.__YgJ145__(V1k6AprJg,\x20WgVVAkg,\x20LrqS1otg5);\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20hPWA16\x20=\x20PJ1k16ygVVAkg.hW;\x20\x20\x20\x20\x20\x20\x20\x204r6op1P6\x201V8PWA16yApoN16k(PdAppgJ6,\x20PfPVp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20LAppgJ6\x20=\x20PdAppgJ6.JgLSAog(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20NPVp\x20=\x20PfPVp.JgLSAog(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20LAppgJ6dAJpV\x20=\x20LAppgJ6.VLS1p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20NPVpdAJpV\x20=\x20NPVp.VLS1p(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2014\x20(!LAppgJ6.16oSrhgV(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JgprJ6\x20LAppgJ6\x20===\x20NPVp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2014\x20(LAppgJ6dAJpV.Sg6kpN\x20<\x20M\x20||\x20LAppgJ6dAJpV[Z]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JgprJ6\x204ASVg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20LAppgJ6Dr441l\x20=\x20LAppgJ6dAJpV.VS1og(x).HP16(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20NPVpDr441l\x20=\x20NPVpdAJpV.VS1og(-LAppgJ6dAJpV.Sg6kpN\x20+\x20x).HP16(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20JgprJ6\x20LAppgJ6Dr441l\x20===\x20NPVpDr441l;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sgp\x20hPWA16eAS1h\x20=\x20(hPWA16\x20&&\x20hPWA16.Sg6kpN)\x20?\x20hPWA16.VPWg((hWbpgW)\x20=>\x201V8PWA16yApoN16k(hWbpgW,\x20SPoAp1P6.NPVp6AWg))\x20:\x20pJrg;\x20\x20\x20\x20\x20\x20\x20\x2014\x20(SPoAp1P6.NPVp6AWg\x20===\x20\x27SPoASNPVp\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hPWA16eAS1h\x20=\x20pJrg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20oP6Vp\x20YAS1h\x20=\x20V1k6eAS1h\x20&&\x20hPWA16eAS1h;\x20\x20\x20\x20\x20\x20\x20\x20JgprJ6\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YAS1h,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WgVVAkg:\x20PJ1k16ygVVAkg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20oApoN\x20(gJJPJ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20JgprJ6\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YAS1h:\x204ASVg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WgVVAkg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','AddPivotFieldCommand','get','iterateFieldDim','setPivotInitCompleted','getValuePosition','getFieldIds','ResetPivotTable','NotNumber','sheets-pivot.emptyPivot.column','getPivotItemRenderInfoCache','parse','values','sheet.mutation.send-pivot-view-local','getUpdateRangeDeleteIds','getSubUnitPivotMatrix','removeSourceRangeChange','Add','getAdjustRangesPosition','sheets-pivot.emptyPivot.values','Count\x20of\x20','_pivotTableInstanceCache','subTotalStyle','formJSON','dataFields','rangesInfo','rowHeaderMap','transFromCellValue','fontRenderExtension','setPivotSort','blank','PivotTableViewDirtyMarkOperation','removeCollections','PivotErrorTypeEnum','ReleaseType','#1d32e9','unshift','sheet.mutation.send-pivot-config-local','_activeDirtyManagerService','redos','executeCommand','@univerjs/sheets','SheetsPivotTableConfigModel','_sheetsPivotTableAdaptorModel','getSheetBySheetId','getPivotTableRangeInfo','PIVOT_MUTATION_GENERATE','isValue','SetValueFilter','substring','Filter','getPivotTableInstance','getPivotPerformCheck','SheetInterceptorService','subtotal','_globalComputedEndHelpFunc','clearRenderCache','object','add','registerPluginResource','random','_config','Div0','UniverEngineFormula','_sheetInterceptorService','ManualFilter','filterId','CustomCommandExecutionError','fetchThroughInterceptors','getSourceName','AddPivotTable','NO_COMMERCIAL','GlobalComputingStatusService','_viewData','SheetsSelectionsService','_toJSON','getPivotTableIdByCell','InsertColMutation','getFieldCountByArea','resetArea','isArray','node','Rectangle','has','UpdatePivotValuePositionCommand','getUnit','DIV_BY_ZERO','_sheetsPivotRpcService','MovePivotFieldCommand','token','SetPivotPositionMutation','setRangeValueRedoMutation','deepClone','toJSON','_refRangeHandle','AddPivotFieldMutation','setPivotFilter','dispose','sequenceExecute','StdDevp\x20of\x20','setConfig','disposeWithMe','SheetsPivotTableAdaptorModel','setSubtotalType','markDirty$','sheet.command.remove-pivot-field','sheets-pivot.varpName','max','grandTotal','INTERCEPTOR_POINT','originTargetInfo','sourceName','sortInfo','_collectionConfigModel','pivotTableId','single','unshiftString','replace','getIntersectsPivotTable','_deletePivotTableInstanceCache','35080826eHbEaV','_initPivotTextInfo','asObservable','dataFieldsCollection','startRow','getAutoFitColumnsMutations','body','getDataFieldByDataFieldId','updateFieldSourceInfo','fetchThroughAsyncInterceptors','_sheetsPivotTableService','sheet.command.set-pivot-value-filter','@univerjs/core','getDataFieldByRangeKey','resetPivotTable','numfmt','isFeatureAuthorizedWithinTime','handleMoveRange','AddPivotTableCommand','createDataFieldId','getPivotCellInfo','UniverInstanceType','addCollectionByJSON','format','colCount','generateNullCell','UNIVER_SHEET','keys','slice','createCollectionWithDataRange','sheets-pivot.stdDevName','rangeKeyMap','Column','updateConfigCache','getRangeData','_ensurePivotTableMatrixInfo','sheets-pivot.averageName','_initClearSelectionCommandInterceptor','shouldClear','info','setLabelFilterInfo','updateRenderCache','FORCE_STRING','StdDev\x20of\x20','sheet.mutation.remove-pivot-table','IUniverInstanceService','registerCommand','UniverCore','panel','getRangeStartEndInfo','BehaviorSubject','_initRegisterCommand','Inject','75832ceqKLO','hasOwnProperty','REF','filter','_exclusiveRangeService','sheet.mutation.set-pivot-filter','broadcastCollectionChange','cellToRange','_initConfig','registerRefRange','ResetPivotFieldsConfigCommand','IUndoRedoService','_ensurePivotItemRenderValueMatrixCache','getNoUsedDataFieldIds','adjustSheetCellData','intersects','startColumn','sheets-pivot.emptyPivot.filter','getPivotInfoByLicense','_init','_pivotConfigChange$','setPivotCollapse','getAutoDisplayNameFunction','SHEET_PIVOT_EXCLUSIVE_ID','UniverEngineRender','_initUnitDisposed','Injector','sourceRangeInfo','rgb(240,241,243)','sheet.mutation.pivot-update-field-source-info','InterceptorEffectEnum','registerDirtyService','filterFields','PivotDisplayDataType','_globalComputedStartHelpFunc','RANGE_TYPE','call','generateNewSheetName','getUnitId','UniverSheetsPivotTablePlugin','SheetsPivotDataSourceModel','setCollapse','query','columnFields','UpdateValuePosition','setValuePivotFilter','DataField','cornerRanges','removePivotTable','Subject','updateRangeKeyMap','rgb(255,255,255)','targetCellInfo','UpdatePivotFieldSourceInfoMutation','splice','getFilterFieldIdByIndex','iterateFieldByArea','addPivotTable','_initViewModelBySheetInterceptor','name','UpdateValuePositionMutation','stringify','getEmptyPivotRanges','_resourceManagerService','cornerInfo','applyChangeSet','onQueryEnd','InsertSheetMutation','generateMutationsByRanges','_updateModelCache','DEFAULT_WORKSHEET_COLUMN_COUNT','pbt','getCurrentSelections','COMMAND','DependentOn','width','UpdatePivotSource','updateValuePosition','getColumnCount','ΣValue','SetWorksheetActiveOperation','InsertSheetCommand','pushUndoRedo','subUnitId','UniverLicensePlugin','sheetName','pivotInitCompleted$','fromJSON','leftOffset','some','sheet.command.set-pivot-collapse','_pivotRenderInfoCache','pivotTableIndexConfig','defineProperty','_markDirty$','Tools','limit\x20pivot','document','DataFieldManager','updatePivotTableRangeInfo','_sheetsPivotTableConfigModel','getSubUnitPivotConfigs','headerMap','endColumn','_fieldsCollectionChange$','setTextInfo','IActiveDirtyManagerService','MUTATION','pageStyle','unionPivotViewRange','_univerInstanceService','SetPivotSort','setName','getInfo','setPivotSetting','SetPivotFieldsConfigCommand','collectionChange$','getValue','getHeaderMapItem','Product\x20of\x20','_createExclusiveRange','Optional','textInfo','setFieldFormat','sheet.command.set-pivot-fields-config','SetRangeValuesUndoMutationFactory','product','PivotCellStyleTypeEnum','SetOptions','entries','FieldsCollection','_lifecycleService','_sheetsSelectionsService','UpdatePivotTableSourceRangeCommand','#b2b2b2','updateCollectionConfig','getPivotTableCellData','Column\x20','result','getTargetByPivotId','41712vQVSHW','date','setDataRecordCount','setPivotTableConfig','getTargetByPivotTableId','intercept','PivotCallbackEnum','bind','_initCommandInterceptListener','fieldsCollectionChange$','sheets-pivot.value','varp','range','_generateUniqueVersion','valuePosition','PivotSubtotalTypeEnum','getColumnWidth','addPivotField','pivotTableConfigs','serializeRangeWithSpreadsheet','getCellRaw','pushComputingStatusSubject','PivotTableChangeTypeEnum','_injector','subscribe','COLUMN','removeField'];_0x3c1e=function(){return _0x5a6483;};return _0x3c1e();}
1
+ function _0x28a7(){const _0x234f41=['getHeaderMapItem','max','getPivotTableCellData','adjustSheetCellData','register','getDataFieldByDataFieldId','sheet.mutation.set-pivot-sort-info','foreach','intersects','interceptCommand','leafStyle','_host','AddPivotTableMutation','_pivotTableInstanceCache','limit\x20pivot','cellValue','countNums','onCommandExecuted','sheets.tabs.sheet','sheet.command.add-pivot-table-with-config','setFieldFormat','setValuePivotFilter','filter','fontRenderExtension','sheets-pivot.averageName','setCollapse','setName','set','rangeKeyMap','_globalComputedEndHelpFunc','PivotTableFiledAreaEnum','notExecuteFormula','3024BunngR','InsertSheetUndoMutationFactory','SetPivotCollapseMutation','_updateModelCache','merge','_init','sheet.mutation.add-pivot-field','_updatePivotTableInstanceCache','_ensureViewDataMap','unshift','removeSourceRangeChange','@univerjs/engine-render','_fieldsCollectionChange$','collapseInfo','ResetPivotTable','Min\x20of\x20','ObjectMatrix','measure','IFeatureCalculationManagerService','defaultThemeStyle','paths','ΣValue','InterceptorEffectEnum','single','getSheetId','ICommandService','setValue','_ensurePivotItemRenderInfoCache','columnFields','RemovePivotField','_markDirty$','prototype','getPivotItemRenderInfoCache','sheets-pivot.maxName','_localeService','getConfig','toString','2824086oNSwkY','hasField','SetRangeValuesUndoMutationFactory','toStringTag','lastRow','_globalComputedStartHelpFunc','unitId','subtotal','StdDevp\x20of\x20','PivotErrorTypeEnum','getSubUnitPivotMatrix','disposableCollection','subTotalStyle','generateHexNumber','Set','Grand\x20Total','getCurrentSelections','BLANK_ROW_COUNT','465gPXvTk','iterateField','sheet.command.set-pivot-collapse','sheetName','sheets-pivot.value','_updateRenderEmptyCache','sheet.mutation.set-pivot-filter','registerPluginResource','UniverProLicense','UpdatePivotFieldSourceInfoMutation','sideEffectUpdateWorkerCache','NORMAL','removeValueFilterInfoByValueFieldId','Expand','getPivotTableModelConfig','getIndexesByPathStr','addField','renameField','removeValueFilterInfo','AddPivotTable','SetPivotSetting','_exclusiveRangeService','random','sheet.mutation.send-init-pivot-text-local','LocaleService','valid','getTextSize','SheetsPivotDataSourceModel','isDateValue','length','DEFAULT_WORKSHEET_COLUMN_COUNT','sheet.command.set-pivot-field-setting','panel','UniverEngineFormula','deleteUnitId','cellToRange','needSameDeleteModel','configVersion$','rowRanges','RefRangeService','SetValuePivotFilter','dimension','SetPivotOptionMutation','cornerRanges','getPivotTableConfig','sheet.command.set-pivot-sort','clearRenderCache','registerDirtyService','Inject','CellValueType','collections','removeField','sheets-pivot.productName','deleteDataField','removePivotField','shouldClear','getTextInfo','stringify','rgb(255,255,255)','getFieldIds','batch','PivotDataFieldDataTypeEnum','add','_deletePivotTableInstanceCache','getColumnWidth','setPivotInitCompleted','_commandService','disposeWithMe','update','asyncInterceptor','filterId','_univerInstanceService','SetSortInfo','deepClone','object','onQueryEnd','_globalSubject','setPivotFilter','UniverSheetsPivotTablePlugin','numfmt','@univerjs-pro/license','SetRangeValuesMutation','Existing','values','updatePivotSource','toJSON','setSourceName','Optional','_initCommandInterceptListener','_initRegisterCommand','#1d32e9','generateRandomId','isBottomTotal','sheet.mutation.remove-pivot-field','reset','MovePivotTableCommand','tableFieldId','getDataFieldItemInfo','MoveRangeCommand','pivotConfigChange$','hasOwnProperty','startRow','DataSyncPrimaryController','RenamePivotFieldMutation','sheets-pivot.blank','IUndoRedoService','getFilterInfo','setLabelFilterInfo','createAsyncInterceptorKey','map','getFieldFormat','colInfo','sheets-pivot.emptyPivot.filter','markDirty$','setPivotCollapse','Values','endCollectChangeset','onStarting','concat','BadReference','areaInfo','getPivotTableRangeInfo','generateNullCell','updateViewInfo','UniverEngineRender','info','AddPivotField','updateValuePosition','isValue','dataFieldManagerConfig','sheets-pivot.countName','canUsePivot','pushComputingStatusSubject','_pivotConfigChange$','14270AnfhWi','_pivotRenderInfoCache','SetValueFilter','Rectangle','dispose','_model','executeCommand','resetArea','Product\x20of\x20','size','RemoveColMutation','7nfKIzi','getId','addPivotTableWithConfig','getValue','getDirtyInfo','generateSetRangeValueMutations','sequenceExecute','col','sheets-pivot.emptyPivot.values','serializeRangeWithSpreadsheet','setRange','DEFAULT_WORKSHEET_ROW_COUNT','width','prefix','queryDirtyPivotTable','1748289OotuqS','generateNewSheetName','_deleteModelCache','_generateUniqueVersion','getPivotTableInstance','getFormat','delete','Panel','movePivotField','UniverInstanceType','_subjectFieldsCollectionChange','updateViewData','pbt','Max\x20of\x20','_getPivotAppliedRanges','Delete','forEach','sheet.command.update-pivot-value-position','_sheetsPivotTableConfigModel','isFeatureAuthorizedWithinTime','IConfigService','FontCache','getTargetByPivotId','sourceRangeInfo','rangeType','COLUMN','Module','createValueField','SheetsPivotTableAdaptorModel','_sheetsSelectionsService','average','_initConfig','Subject','addRecord','getIntersects','viewUpdate$','slice','Disposable','UniverLicensePlugin','SetPivotSort','collectionConfig','column','rxjs','updatePivotTableMatrixInfo','getSubtotal','getUpdateRangeDeleteIds','IUniverInstanceService','getCellRaw','getMatrix','_viewData$','getRangeKey','rowStyle','startCollectChangeset','@univerjs/sheets-filter','UNIVER_SHEET','pivotTableId','_sheetsPivotRpcService','forRow','_activeDirtyManagerService','exports','rowFields','rowCount','SetPivotFieldsConfigCommand','MUTATION','colRanges','triggerDirtyFeature','SetWorksheetColWidthMutation','token','setTextInfo','rangesInfo','PivotSubtotalTypeEnum','date','unshiftString','fetchThroughAsyncInterceptors','getViewData','number','interceptor','updateDataFieldsCollection','_subjectViewChange','setDirty','AsyncInterceptorManager','getRefRangeMutationsByMoveRange','PivotTable','refreshData','removeDataField','initDataRanges','CELL_CONTENT','asObservable','@univerjs-pro/engine-pivot','call','_initRemoveSheetCommandInterceptor','dataStyle','_ensurePivotTableRangeInfo','New','_pivotTableMatrixInfo','resetPivotTable','_sheetsPivotTableAdaptorModel','addPivotField','sheets-pivot.stdDevpName','setValueFilterInfo','handleSourceRangeChange','oldRangeInfo','fieldsConfig','pageRanges','getInsertRowColMutations','getDisplayName','sheets-pivot.countNumsName','setRangeKeyMap','CommandType','AddPivotFieldCommand','level','Count\x20of\x20','getRowCount','getDataFieldId','message','addPivotTable','updateRenderCache','filterInfo','getPivotCellInfo','_collectionChange$','setPivotTableConfig','Range','bind','lastCol','fieldIds','has','StdDev\x20of\x20','sheet.mutation.get-pivot-data-local','some','_initLocale','_ensurePivotMap','tuple','sheets-pivot.sumName','MovePivotFieldCommand','ty298nD2\x20sX9EfO8nD2(hn9X2uX,\x20Oy5hn9qXf)\x20{\x20\x20\x20\x208Ef\x20{\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20hn9X2uXC2tDSiE8PEEif\x20=\x20hn9X2uX.uOhn8(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20DEnen2GXuuieX\x20=\x20prwz.OiEuX(i8D5(hn9X2uXC2tDSiE8PEEif[6]));\x20\x20\x20\x20\x20\x20\x20\x20nt\x20(!DEnen2GXuuieX.ys)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DEnen2GXuuieX.ys\x20=\x20zyd5XE(hn9X2uXC2tDSiE8PEEif[M]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20nuNDEkXE\x20=\x208fOXDt\x20NDEkXEYhD5ihr9DOX\x20!==\x20\x27y2sXtn2Xs\x27\x20&&\x20uXht\x20n2u8i29XDt\x20NDEkXEYhD5ihr9DOX;\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x209D28Xl8\x20=\x20nuNDEkXE\x20?\x20uXht\x20:\x20Rn2sDR;\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20dXuuieXNDEs\x20=\x209D28Xl8.__giuX0M__.OiEuX(hn9X2uXC2tDSiE8PEEif[6]);\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20dXuuieX\x20=\x209D28Xl8.__1Xl__.u8En2entf(dXuuieXNDEs);\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20une2i8yEXNDEs\x20=\x209D28Xl8.__giuX0M__.OiEuX(hn9X2uXC2tDSiE8PEEif[V]);\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20une2i8yEX\x20=\x209D28Xl8.__1Xl__.u8En2entf(une2i8yEXNDEs);\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20une2Hihns\x20=\x209D28Xl8.__IXEntf__(une2i8yEX,\x20dXuuieX,\x20Oy5hn9qXf);\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20sDdin2\x20=\x20DEnen2GXuuieX.sd;\x20\x20\x20\x20\x20\x20\x20\x20ty298nD2\x20nuUDdin2Gi89An2e(DSi88XE2,\x20D1Du8)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20Oi88XE2\x20=\x20DSi88XE2.EXOhi9X(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20ADu8\x20=\x20D1Du8.EXOhi9X(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20Oi88XE2SiE8u\x20=\x20Oi88XE2.uOhn8(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20ADu8SiE8u\x20=\x20ADu8.uOhn8(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nt\x20(!Oi88XE2.n29hysXu(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EX8yE2\x20Oi88XE2\x20===\x20ADu8;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20nt\x20(Oi88XE2SiE8u.hX2e8A\x20<\x206\x20||\x20Oi88XE2SiE8u[3]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EX8yE2\x20tihuX;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20Oi88XE2ryttnl\x20=\x20Oi88XE2SiE8u.uhn9X(J).WDn2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20ADu8ryttnl\x20=\x20ADu8SiE8u.uhn9X(-Oi88XE2SiE8u.hX2e8A\x20+\x20J).WDn2(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20EX8yE2\x20Oi88XE2ryttnl\x20===\x20ADu8ryttnl;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hX8\x20sDdin2Hihns\x20=\x20(sDdin2\x20&&\x20sDdin2.hX2e8A)\x20?\x20sDdin2.uDdX((sdC8Xd)\x20=>\x20nuUDdin2Gi89An2e(sdC8Xd,\x20hD9i8nD2.ADu82idX))\x20:\x208EyX;\x20\x20\x20\x20\x20\x20\x20\x20nt\x20(hD9i8nD2.ADu82idX\x20===\x20\x27hD9ihADu8\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20sDdin2Hihns\x20=\x208EyX;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x209D2u8\x20Iihns\x20=\x20une2Hihns\x20&&\x20sDdin2Hihns;\x20\x20\x20\x20\x20\x20\x20\x20EX8yE2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Iihns,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dXuuieX:\x20DEnen2GXuuieX,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x209i89A\x20(XEEDE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20EX8yE2\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Iihns:\x20tihuX,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dXuuieX:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','UpdatePivotValuePositionCommand','InsertSheetMutation','workbook\x20is\x20not\x20found','getFieldPositionInfoById','min','setRangeValueRedoMutation','Row','PIVOT_MUTATION_GENERATE','Var\x20of\x20','NUMBER','NotName','None','Subtotal','getLastCol','pivotInitCompleted$','DrillDown','rowHeaderMap','dataFieldsCollection','_globalComputingSrv','#b2b2b2','SetWorksheetActiveOperation','getformat','getPivotInfoByLicense','data','subUnitId','ReleaseType','keys','RenameField','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','getFilterFieldIdByIndex','getSourceName','getCurrentUnitForType','_initDataSendListener','stdDev','viewData$','sheet.command.move-pivot-table','getDataFieldByTableId','updatePivotTableRangeInfo','getPivotTableMatrixInfo','sheet.command.add-pivot-field','targetCellInfo','SetPivotFieldFormatMutation','varp','REF','mergeWorksheetSnapshotWithDefault','DEFAULT_PIVOT_NUMBER','registerCommand','colHeaderMap','getLastRow','value','NotFunction','getMatrixFromRunTimeData','getCellMatrix','getColumnCount','SetSheetsFilterRangeMutation','getAutoFitColumnsMutations','registerSyncingMutations','getSheetCommandTarget','removeCollections','endColumn','getFieldListByArea','_textInfo','parse','_pivotRenderValueMatrixCache','clearExclusiveRangesByGroupId','sheet.mutation.set-pivot-field-subtotal-type','getPivotTableIdByCell','_resourceManagerService','version','SetPivotFilter','UpdatePivotFieldSettingCommand','UpdateValuePosition','_refRangeHandle','UpdatePivotSource','UniverProEnginePivot','sheets-pivot.columnName','PivotTableValuePositionEnum','collection','getTargetByPivotTableId','_toJSON','_collectionConfigModel','setRangeValueUndoMutation','_initPivotDataGetListener','@univerjs/engine-formula','body','addFieldWithSourceId','getAutoDisplayNameFunction','startColumn','#FFFFFF','NUM','AddPivotFieldMutation','isNaN','getUnit','Column\x20','getEmptyPivotRanges','DisposableCollection','handleMoveRange','_refRangeService','onQueryStart','broadcastCollectionChange','Add','SHEET_PIVOT_TABLE_PLUGIN','SHEET_PIVOT_IN_MAIN_THREAD','getSheetBySheetName','MovePivotField','entries','rowInfo','addExclusiveRange','colCount','product','#eceeff','dataFields','numberToABC','rangeCache','ClearSelectionContentCommand','fromJSON','removeCollectionImp','remove','sheet.mutation.update-pivot-table-source-range','Filter','amd','function','getPivotDisplayConfig','updateRangeKeyMap','range','isColMultiMeasure','NAME','_sheetsPivotTableService','getSheets','getMatrixValue','undos','pivotTableIndexConfig','updateConfig','PivotDisplayDataType','dataStream','IExclusiveRangeService','@univerjs/sheets','isErrorValue','sheets-pivot.varName','sum','setConfig','_initUnitDisposed','_initSnapshot','sortInfo','_injector','realDeleteValue','dataRangeInfo','SetPivotSortCommand','_pivotInitCompleted$','getRangeKeyList','addCollectionByJSON','getInfo','InsertRowMutation','getInterceptPoints','row','reduce','_sheetsPivotDataSourceModel','result','uniqueDataFieldName','setPivotSetting','count','ResetPivotFieldsConfigCommand','getSubUnitPivotConfigs','getPivotPerformCheck','iterateFieldByArea','addCollection','refreshDataField','handleAsyncResponse','PivotTableChangeTypeEnum','getOwnPropertyDescriptor','UniverSheetsFilter','push','LS_CONFIG_KEY','Column','sheet.mutation.add-pivot-table','AddPivotTableWithConfig','fieldId','Injector','addDirtyPivotTable','PivotCellStyleTypeEnum','RANGE_TYPE','forValue','valueFields','getCollection','sheet.command.set-pivot-filter','Sum\x20of\x20','SetPivotSubtotalTypeMutation','type','getFieldDataType','find','PivotFilterTypeEnum','_requestResolvers','updateDirtyPivotTable','Average\x20of\x20','@univerjs/core','STRING','sheet.mutation.set-pivot-format','setSubtotalType','_sheetInterceptorService','isPrefixValue','applyChangeSet','Collapse','_initClearSelectionCommandInterceptor','_configVersion$','node','rangeKey','RemoveField','dataFieldId','SheetsPivotRPCService','SetSubtotalType','from','getDataFieldManager','#f4f4f5','sheet.mutation.rename-pivot-field','redos','SetFieldFormat','getName','formJSON','name','subscribe','getTypeOfUnitDisposed$','UpdateValuePositionMutation','ptn','getNoUsedDataFieldIds','createCollectionWithDataRange','SheetsPivotTableConfigModel','drillDown','_subjectCollectionChange','removePivotTable','UpdateFieldPositionMutation','splice','getPivotTableInfo','_createExclusiveRange','PositionType','pivotTableConfigs','symbol','getFieldCountByArea','getUnitId','_configService','displayName','DataFieldManager','cornerStyle','MoveRangeMutation','RemoveSheetsFilterMutation','sheets-pivot.subTotal','colStyle','format','Style','isEmpty','markDirty','IActiveDirtyManagerService','_ensurePivotTableMatrixInfo','pushUndoRedo','isArray','intercept','_dataFieldManagerCollection','getColCount','sheet.command.set-pivot-fields-config','SetPivotFilterMutation','updateCollectionConfig','getSheetBySheetId','registerRefRange','params','collectionChange$','isDate','headerMap','SetOptions','getAutoDisplayName','blank','sheet.mutation.pivot-update-field-source-info','MAX_SAFE_INTEGER','RemovePivotTableMutation','_ensurePivotItemRenderValueMatrixCache','Value','setSortInfo','sheet.command.add-pivot-table','RemoveSheetMutation','_dataSyncPrimaryController','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','originTargetInfo','getTableFieldById','options','getStyles','new','_lifecycleService','getIntersectsPivotTable','query','getValueIndex','Varp\x20of\x20','ClearSelectionAllCommand','2EFKfgw','_config','endRow','sheets-pivot.emptyPivot.column','24556gyEbGT','SHEET_PIVOT_EXCLUSIVE_ID','error','next','getValueFilterInfos','10748474eivoPf','SetPivotPositionMutation','PivotView','Tools','SetPivotValueFilterCommand','sheet.mutation.send-pivot-view-local','522751dixJgs','document','setPivotTable','PivotTableOperationEnum','1968248SnrrEY','updateFieldSourceInfo','_featureCalculationManagerService','SetPivotCollapse','ManualFilter','INTERCEPTOR_POINT','charCodeAt','valueFilter','getPivotDirtyViewInfo','SetPivotTableConfig','COMMAND','MIN_SAFE_INTEGER','_viewUpdate$','updateConfigCache','floor','SheetsPivotTableService','sheet.mutation.send-pivot-data-local','UpdateFieldPosition','sheet.mutation.pivot-update-value-position','ErrorType','pluginName','_getAutoName','SheetInterceptorService','@univerjs/rpc','getFieldById','PivotCallbackEnum','defineProperty','get','_viewData','UniverCore','getValuePosition','#e6ebfb','getSortInfo','rgb(240,241,243)','fieldsCollectionChange$','_initViewModelBySheetInterceptor','updateAllDisplayName','contains','string','getRangeStartEndInfo','valueIndex','_queryingMap','IResourceManagerService','_pivotTableRangeInfo','setPivotSort','pivotPerformCheck'];_0x28a7=function(){return _0x234f41;};return _0x28a7();}function _0x486c(_0x560a2b,_0x1ceadb){const _0x28a7ad=_0x28a7();return _0x486c=function(_0x486c30,_0x4cc1a8){_0x486c30=_0x486c30-0xc1;let _0x55ab1f=_0x28a7ad[_0x486c30];return _0x55ab1f;},_0x486c(_0x560a2b,_0x1ceadb);}(function(_0x36c167,_0x31f36c){const _0xdd7170=_0x486c,_0x52c533=_0x36c167();while(!![]){try{const _0x4617a3=-parseInt(_0xdd7170(0x1fd))/0x1*(-parseInt(_0xdd7170(0x1ee))/0x2)+parseInt(_0xdd7170(0x326))/0x3+parseInt(_0xdd7170(0x1f2))/0x4*(parseInt(_0xdd7170(0x286))/0x5)+parseInt(_0xdd7170(0x274))/0x6+parseInt(_0xdd7170(0x317))/0x7*(-parseInt(_0xdd7170(0x201))/0x8)+-parseInt(_0xdd7170(0x24f))/0x9*(parseInt(_0xdd7170(0x30c))/0xa)+-parseInt(_0xdd7170(0x1f7))/0xb;if(_0x4617a3===_0x31f36c)break;else _0x52c533['push'](_0x52c533['shift']());}catch(_0x55b8f5){_0x52c533['push'](_0x52c533['shift']());}}}(_0x28a7,0x6c845),function(_0x44608c,_0x44da0c){const _0x30546a=_0x486c;typeof exports==_0x30546a(0x2d0)&&typeof module<'u'?_0x44da0c(exports,require('@univerjs-pro/engine-pivot'),require(_0x30546a(0x18e)),require(_0x30546a(0x11f)),require(_0x30546a(0x154)),require(_0x30546a(0x350)),require('@univerjs-pro/license'),require(_0x30546a(0x35b)),require(_0x30546a(0x218)),require(_0x30546a(0x25a))):typeof define==_0x30546a(0x145)&&define[_0x30546a(0x144)]?define([_0x30546a(0x361),_0x30546a(0x37e),_0x30546a(0x18e),_0x30546a(0x11f),_0x30546a(0x154),_0x30546a(0x350),_0x30546a(0x2d6),_0x30546a(0x35b),_0x30546a(0x218),_0x30546a(0x25a)],_0x44da0c):(_0x44608c=typeof globalThis<'u'?globalThis:_0x44608c||self,_0x44da0c(_0x44608c['UniverProSheetsPivot']={},_0x44608c[_0x30546a(0x116)],_0x44608c[_0x30546a(0x21e)],_0x44608c[_0x30546a(0x2a7)],_0x44608c['UniverSheets'],_0x44608c[_0x30546a(0x350)],_0x44608c[_0x30546a(0x28e)],_0x44608c[_0x30546a(0x176)],_0x44608c['UniverRpc'],_0x44608c[_0x30546a(0x302)]));}(this,function(_0x3d69f7,_0x504249,_0xc67125,_0x19e647,_0x96765f,_0x158b3c,_0x11e7af,_0x568364,_0x37d670,_0x40562a){'use strict';const _0x40f901=_0x486c;var _0x245a25=Object[_0x40f901(0x21b)],_0x413d0f=(_0xd6d031,_0x35911f,_0x4ae89b)=>_0x35911f in _0xd6d031?_0x245a25(_0xd6d031,_0x35911f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ae89b}):_0xd6d031[_0x35911f]=_0x4ae89b,_0x1bae1e=(_0x1ea6bb,_0x1dea7e,_0x245e70)=>_0x413d0f(_0x1ea6bb,typeof _0x1dea7e!=_0x40f901(0x1b7)?_0x1dea7e+'':_0x1dea7e,_0x245e70);const _0x42eb87=Number['parseInt'](0x67d3fa23),_0x1ac8b5=0x10,_0x1295da=0x1,_0x559123=_0x40f901(0x131),_0x1e964c=0x1,_0x18c666=_0x40f901(0x222),_0x323ed7=_0x40f901(0x2c0),_0x557ff1=_0x40f901(0xdf),_0x3f4460=_0x40f901(0x1a0),_0x5cab3d=_0x40f901(0x1a0),_0x568dcf=_0x40f901(0x13a),_0x4e7130=_0x40f901(0x2e0),_0xf022b3=_0x40f901(0x124),_0x151800='#e6ebfa',_0x3040a6=_0x40f901(0x2e0),_0x5dd9b3=_0x40f901(0x124),_0x570288=_0x40f901(0x220),_0x2e3324=0xe,_0x5a8e49=0x6;var _0x2a633b=(_0x34f789=>(_0x34f789[_0x40f901(0x2d8)]='existing',_0x34f789['New']=_0x40f901(0x1e7),_0x34f789))(_0x2a633b||{});const _0x2b428b={'sheets-pivot':{'blankValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''}}},_0x1fe514=0x1e,_0x157daa={'b':{'s':0x1,'cl':{'rgb':_0x557ff1}},'l':{'s':0x1,'cl':{'rgb':_0x557ff1}},'r':{'s':0x1,'cl':{'rgb':_0x557ff1}},'t':{'s':0x1,'cl':{'rgb':_0x557ff1}}},_0x2d51ba={'bg':{'rgb':_0x18c666},'ht':0x2,'vt':0x2,'tb':0x1},_0x429bed={'bg':{'rgb':_0x323ed7},'ht':0x2,'vt':0x2,'tb':0x1},_0x5385b8={'rowStyle':{'bg':{'rgb':_0x570288},'bd':_0x157daa,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x3040a6},'bd':null,'cl':{'rgb':_0x5dd9b3},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x157daa,'bg':{'rgb':_0x151800},'vt':0x2},'cornerStyle':{'bd':_0x157daa,'bg':{'rgb':_0x568dcf},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x157daa,'bg':{'rgb':_0x3f4460},'vt':0x2},'leafStyle':{'bd':_0x157daa,'bg':{'rgb':_0x5cab3d},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x4e7130},'cl':{'rgb':_0xf022b3},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x157daa,'vt':0x2}},_0x567f5d=(_0x2c0484,_0xb7bcc5,_0x427e59)=>{const _0x4ada88=_0x40f901;let _0x1ce0b3;const _0x24d159=_0x2c0484['get'](_0xc67125[_0x4ada88(0x354)])[_0x4ada88(0xeb)](_0xc67125[_0x4ada88(0x32f)][_0x4ada88(0x35c)]);if(!_0x24d159)return null;const _0x3578bb=_0x24d159['getStyles']();let _0x3209b5;if(_0x427e59&&(_0x3209b5=_0x3578bb['setValue'](_0x427e59)),_0xb7bcc5!=null&&_0xb7bcc5['v']||(_0xb7bcc5==null?void 0x0:_0xb7bcc5['v'])===0x0){_0x1ce0b3||(_0x1ce0b3={});const _0x3f426b=_0x229d3a(_0xb7bcc5['v']);typeof _0x3f426b=='number'?_0x1ce0b3['t']=_0xc67125['CellValueType'][_0x4ada88(0xd5)]:typeof _0x3f426b=='string'&&(_0x1ce0b3['t']=_0xc67125['CellValueType'][_0x4ada88(0x18f)]),_0x1ce0b3['v']=_0x3f426b;}return(_0xb7bcc5!=null&&_0xb7bcc5['i']||(_0xb7bcc5==null?void 0x0:_0xb7bcc5['i'])===0x0)&&(_0x1ce0b3||(_0x1ce0b3={}),_0x1ce0b3['fi']=_0xb7bcc5['i']),_0xb7bcc5!=null&&_0xb7bcc5['s']&&(_0x1ce0b3||(_0x1ce0b3={}),_0x1ce0b3[_0x4ada88(0x332)]=_0xb7bcc5['s']),_0x427e59&&(_0x1ce0b3||(_0x1ce0b3={}),_0x1ce0b3['s']=_0x3209b5),_0x1ce0b3;},_0x2fe65e=(_0x2749ab,_0x5a0839,_0x3f0dbf,_0xcf014)=>{const _0x3a6ec4=_0x40f901;var _0x2695aa,_0xd03af8,_0x3c4fb2,_0x15794b,_0x3b57bd,_0x409ac2,_0x42589d,_0x209a8c,_0x543a01,_0x5c5cbf,_0x124a19,_0x587eac,_0x22da26,_0x49b988;const _0x1eea87=_0x3f0dbf[_0x3a6ec4(0xf4)],{cornerView:_0x47f7f1,rowView:_0x59270b,colView:_0x58011c,dataView:_0x4dffa5,pageView:_0x2c1719,formatMap:_0x1d944b}=_0x5a0839,{row:_0x2a718d,col:_0x1f0eec}=_0x1eea87,_0x20b06b=new _0xc67125[(_0x3a6ec4(0x25f))](),_0x341790={},_0x968a16={},_0x4a73ee={},_0xb5b6e6={},_0x4f9c69={};let _0x154e9b=_0x2a718d,_0x21eb1d=_0x1f0eec;Object[_0x3a6ec4(0xe6)](_0x2c1719[_0x3a6ec4(0xe3)])[_0x3a6ec4(0x336)](_0x727764=>{const _0x58a038=_0x3a6ec4;Object[_0x58a038(0xe6)](_0x2c1719[_0x58a038(0xe3)][Number(_0x727764)])[_0x58a038(0x336)](_0x407c64=>{const _0x1f9448=_0x58a038,_0x4d676c={..._0x2c1719['data'][Number(_0x727764)][Number(_0x407c64)]};_0x20b06b[_0x1f9448(0x269)](Number(_0x727764)+_0x154e9b,Number(_0x407c64)+_0x21eb1d,_0x567f5d(_0x2749ab,_0x4d676c,_0x5385b8['pageStyle']));});});const _0x332616=Object[_0x3a6ec4(0xe6)](_0x2c1719[_0x3a6ec4(0xe3)])[_0x3a6ec4(0x2a3)];_0x154e9b+=_0x332616+(_0x332616?_0x1e964c:0x0);const _0x2b3ecd=_0x47f7f1[_0x3a6ec4(0x396)](),_0x1bd3b9=_0x47f7f1['getColCount']();for(let _0x5f0de3=0x0;_0x5f0de3<_0x2b3ecd;_0x5f0de3++)for(let _0x30b7db=0x0;_0x30b7db<_0x1bd3b9;_0x30b7db++){const _0xca5bd6={...(_0xd03af8=(_0x2695aa=_0x47f7f1[_0x3a6ec4(0xe3)])==null?void 0x0:_0x2695aa[_0x5f0de3])==null?void 0x0:_0xd03af8[_0x30b7db]};_0xca5bd6&&((_0x3c4fb2=_0x59270b['headerMap'][_0x30b7db])!=null&&_0x3c4fb2[_0x3a6ec4(0x306)])&&_0x30b7db===_0x1bd3b9-0x1&&_0x5f0de3===_0x2b3ecd-0x1&&(_0xca5bd6['v']=''+_0xcf014[_0x3a6ec4(0x28a)]),_0x20b06b['setValue'](_0x5f0de3+_0x154e9b,_0x30b7db+_0x21eb1d,_0x567f5d(_0x2749ab,_0xca5bd6,_0x5385b8[_0x3a6ec4(0x1bd)]));}for(let _0x569f89=0x0;_0x569f89<_0x47f7f1[_0x3a6ec4(0x303)][_0x3a6ec4(0x2a3)];_0x569f89++)_0x47f7f1['info'][_0x569f89]&&(_0x4a73ee[''+(_0x569f89+_0x21eb1d)]=_0x47f7f1[_0x3a6ec4(0x303)][_0x569f89]);_0x21eb1d+=_0x1bd3b9;const _0x3fba6a=_0x58011c[_0x3a6ec4(0x1d5)],_0x517e48=_0x58011c[_0x3a6ec4(0xfc)]()>=0x0?_0x58011c[_0x3a6ec4(0xfc)]()+0x1:0x0,_0x5abe6c=_0x58011c['getLastCol']()>=0x0?_0x58011c[_0x3a6ec4(0xd9)]()+0x1:0x0;for(let _0x3356e8=0x0;_0x3356e8<_0x5abe6c;_0x3356e8++){for(let _0x208982=0x0;_0x208982<_0x517e48;_0x208982++){const _0x408e5a={...(_0x3b57bd=(_0x15794b=_0x58011c[_0x3a6ec4(0xe3)])==null?void 0x0:_0x15794b[_0x208982])==null?void 0x0:_0x3b57bd[_0x3356e8]},_0xf810f2=(_0x409ac2=_0x3fba6a[_0x208982])==null?void 0x0:_0x409ac2['tableFieldId'],_0x14cf59=_0x1d944b[_0xf810f2];_0x408e5a&&(_0x408e5a['v']=_0x57b48f(_0x408e5a,_0x208982===0x0&&((_0x42589d=_0x58011c['getHeaderMapItem'](_0x3356e8+0x1))==null?void 0x0:_0x42589d[_0x3a6ec4(0x306)]),_0x14cf59,_0xcf014));let _0x29c4e3;_0x14cf59?_0x29c4e3={..._0x5385b8[_0x3a6ec4(0x1c1)],'n':{'pattern':_0x14cf59}}:_0x29c4e3={..._0x5385b8[_0x3a6ec4(0x1c1)]},_0x20b06b[_0x3a6ec4(0x269)](_0x208982+_0x154e9b,_0x3356e8+_0x21eb1d,_0x567f5d(_0x2749ab,_0x408e5a,_0x29c4e3));}_0x58011c['info'][_0x3356e8]&&(_0x968a16[''+(_0x3356e8+_0x21eb1d)]=_0x58011c[_0x3a6ec4(0x303)][_0x3356e8]),_0x58011c[_0x3a6ec4(0x1d5)][_0x3356e8+0x1]&&(_0x4f9c69[''+(_0x3356e8+_0x154e9b+0x1)]=_0x58011c[_0x3a6ec4(0x1d5)][_0x3356e8+0x1]);}_0x154e9b+=_0x2b3ecd;const _0x27f470=_0x59270b['headerMap'],_0x4df986=_0x59270b[_0x3a6ec4(0xfc)]()>=0x0?_0x59270b[_0x3a6ec4(0xfc)]()+0x1:0x0,_0x57a366=_0x59270b[_0x3a6ec4(0xd9)]()>=0x0?_0x59270b[_0x3a6ec4(0xd9)]()+0x1:0x0;for(let _0x218c26=0x0;_0x218c26<_0x4df986;_0x218c26++){for(let _0x1e8283=0x0;_0x1e8283<_0x57a366;_0x1e8283++){const _0x13eca9={...(_0x543a01=(_0x209a8c=_0x59270b[_0x3a6ec4(0xe3)])==null?void 0x0:_0x209a8c[_0x218c26])==null?void 0x0:_0x543a01[_0x1e8283]},_0x44381e=(_0x5c5cbf=_0x27f470[_0x1e8283])==null?void 0x0:_0x5c5cbf[_0x3a6ec4(0x2e6)],_0x60d514=_0x1d944b[_0x44381e];_0x13eca9&&(_0x13eca9['v']=_0x57b48f(_0x13eca9,!0x1,_0x60d514,_0xcf014));let _0x50de56;_0x59270b[_0x3a6ec4(0x303)][_0x218c26][_0x3a6ec4(0x394)]===_0x59270b[_0x3a6ec4(0x1cc)]()?_0x50de56=_0x5385b8[_0x3a6ec4(0x239)]:_0x59270b[_0x3a6ec4(0x303)][_0x218c26][_0x3a6ec4(0x2e2)]?_0x50de56=_0x59270b[_0x3a6ec4(0x303)][_0x218c26][_0x3a6ec4(0x394)]===0x0?_0x5385b8['grandTotal']:_0x5385b8[_0x3a6ec4(0x280)]:_0x50de56=_0x5385b8[_0x3a6ec4(0x359)],_0x60d514&&(_0x50de56={..._0x50de56,'n':{'pattern':_0x60d514}}),_0x20b06b[_0x3a6ec4(0x269)](_0x218c26+_0x154e9b,_0x1e8283+_0x1f0eec,_0x567f5d(_0x2749ab,_0x13eca9,_0x50de56));}_0x59270b[_0x3a6ec4(0x303)][_0x218c26]&&(_0x341790[''+(_0x218c26+_0x154e9b)]=_0x59270b[_0x3a6ec4(0x303)][_0x218c26]),_0x59270b[_0x3a6ec4(0x1d5)][_0x218c26]&&(_0xb5b6e6[''+(_0x218c26+_0x1f0eec)]=_0x59270b[_0x3a6ec4(0x1d5)][_0x218c26]);}const _0x5463a8=_0x4dffa5['getRowCount'](),_0x57e7b3=_0x4dffa5[_0x3a6ec4(0x1cc)]();for(let _0x5e434a=0x0;_0x5e434a<_0x5463a8;_0x5e434a++)for(let _0x5269c8=0x0;_0x5269c8<_0x57e7b3;_0x5269c8++){const _0x39bb95={...(_0x587eac=(_0x124a19=_0x4dffa5['data'])==null?void 0x0:_0x124a19[_0x5e434a])==null?void 0x0:_0x587eac[_0x5269c8]};let _0x73b862;_0x59270b[_0x3a6ec4(0x303)][_0x5e434a][_0x3a6ec4(0x2e2)]?_0x73b862=_0x59270b[_0x3a6ec4(0x303)][_0x5e434a]['level']===0x0?_0x5385b8['grandTotal']:_0x5385b8['subTotalStyle']:_0x73b862=_0x5385b8[_0x3a6ec4(0x381)];const _0x3cbc39=_0x59270b[_0x3a6ec4(0x303)][_0x5e434a][_0x3a6ec4(0x229)],_0x5595a6=_0x58011c['info'][_0x5269c8][_0x3a6ec4(0x229)],_0x4a1fc4=Math[_0x3a6ec4(0x230)](_0x3cbc39,_0x5595a6),_0x2a3bf0=_0x3f0dbf[_0x3a6ec4(0x38c)][_0x3a6ec4(0x182)]['concat']();let _0x47de50='';_0x4a1fc4<0x0?_0x47de50=(_0x22da26=_0x2a3bf0[0x0])!=null?_0x22da26:'':_0x47de50=(_0x49b988=_0x2a3bf0[_0x4a1fc4])!=null?_0x49b988:'';const _0x1c63bf=_0x1d944b[_0x47de50];_0x1c63bf&&(_0x73b862={..._0x73b862,'n':{'pattern':_0x1c63bf}}),_0x20b06b['setValue'](_0x5e434a+_0x154e9b,_0x5269c8+_0x21eb1d,_0x567f5d(_0x2749ab,_0x39bb95,_0x73b862));}return{'valueMatrix':_0x20b06b,'rowInfo':_0x341790,'colInfo':_0x968a16,'cornerInfo':_0x4a73ee,'rowHeaderMap':_0xb5b6e6,'colHeaderMap':_0x4f9c69};};function _0x57b48f(_0x101d11,_0x285c06,_0x278aed,_0x49c802){const _0x66537e=_0x40f901;let _0x5f0859=_0x101d11['v'];_0x285c06&&(_0x5f0859=''+_0x49c802['sheets-pivot.value']);const _0xc98d30=_0x101d11['t']&&(_0x101d11['t']&_0x504249['PivotViewCellValueTypeEnum'][_0x66537e(0x1d8)])>0x0;if(_0xc98d30&&(_0x5f0859=''+_0x49c802[_0x66537e(0x2ee)]),_0x101d11['s']===_0x504249[_0x66537e(0x17f)]['Subtotal']){let _0x7bd9b7=_0x5f0859,_0x43d417='';_0x504249[_0x66537e(0x193)](_0x5f0859)&&(_0x7bd9b7=_0x5f0859[_0x66537e(0x324)],_0x43d417=_0x5f0859[_0x66537e(0xfd)]);const _0x494240=_0x278aed&&!_0xc98d30?_0xc67125['numfmt'][_0x66537e(0x1c2)](_0x278aed,Number(_0x7bd9b7)):_0x7bd9b7;_0x43d417?_0x5f0859=_0x494240+'\x20'+_0x43d417:_0x5f0859=_0x494240+'\x20'+_0x49c802[_0x66537e(0x1c0)];}else _0x101d11['s']===_0x504249[_0x66537e(0x17f)]['GrandTotal']&&(_0x5f0859=_0x5f0859+'\x20'+_0x49c802['sheets-pivot.grandTotal']);return _0x5f0859;}function _0x229d3a(_0x4653c1){const _0x332855=_0x40f901;if(_0x504249[_0x332855(0x155)](_0x4653c1)){const {errorType:_0xe34a6a}=_0x4653c1;switch(_0xe34a6a){case _0x504249[_0x332855(0x27d)]['Div0']:return _0x19e647[_0x332855(0x214)]['DIV_BY_ZERO'];case _0x504249['PivotErrorTypeEnum']['NotNumber']:return _0x19e647[_0x332855(0x214)][_0x332855(0x125)];case _0x504249['PivotErrorTypeEnum'][_0x332855(0xfe)]:return _0x19e647[_0x332855(0x214)][_0x332855(0x14a)];case _0x504249[_0x332855(0x27d)][_0x332855(0xd6)]:return _0x19e647[_0x332855(0x214)][_0x332855(0x14a)];case _0x504249['PivotErrorTypeEnum'][_0x332855(0x2fd)]:return _0x19e647[_0x332855(0x214)][_0x332855(0xf7)];}}return _0x4653c1;}function _0x8c20b7(_0x5c80bb,_0x5b0911,_0x1e71b1=!0x1,_0x298df2=!0x1){const _0x56771c=_0x40f901,{data:_0x1a6adc}=_0x5b0911,_0x275ee8=_0x5b0911['getRowCount'](),_0xb7f69f=_0x5b0911[_0x56771c(0x1cc)]();if(_0x275ee8<=0x0||_0xb7f69f<=0x0)return[];const _0x4bd01b=_0x5b0911[_0x56771c(0xd9)](),_0x24855b=_0x5b0911[_0x56771c(0xfc)](),_0x4a5bab=_0x298df2?_0x24855b>=0x0?_0x24855b+0x1:0x0:_0x275ee8,_0x203b31=_0x298df2?_0x4bd01b>=0x0?_0x4bd01b+0x1:0x0:_0xb7f69f,{row:_0x28d71f,col:_0x10afb5}=_0x5c80bb,_0x1522c3=_0x28d71f,_0x35610f=_0x10afb5;if(_0x1e71b1){const _0x4944e1=[];for(const [_0x440dde,_0x47595a]of Object[_0x56771c(0x135)](_0x1a6adc))for(const [_0x3744d9,_0x5adfec]of Object['entries'](_0x47595a))_0x4944e1[_0x56771c(0x177)](_0xc67125[_0x56771c(0x2a9)](_0x1522c3+Number(_0x440dde),_0x35610f+Number(_0x3744d9)));return _0x4944e1;}else{const _0x46a72c=_0x298df2?_0x4a5bab>0x0?0x1:0x0:0x1,_0x21194c=_0x298df2?_0x203b31>0x0?0x1:0x0:0x1,_0x37b4f9=_0x28d71f+_0x4a5bab-_0x46a72c,_0x2f6f48=_0x10afb5+_0x203b31-_0x21194c;return[{'startRow':_0x1522c3,'startColumn':_0x35610f,'endRow':_0x37b4f9,'endColumn':_0x2f6f48}];}}const _0x302975=_0x40f901(0x132),_0x26382d=_0x40f901(0x1f3);var _0xddaca4=(_0x370f3e=>(_0x370f3e[_0x40f901(0x143)]=_0x40f901(0x245),_0x370f3e[_0x40f901(0x32d)]=_0x40f901(0x2a6),_0x370f3e['AddPivotField']=_0x40f901(0x387),_0x370f3e[_0x40f901(0x17b)]=_0x40f901(0x17b),_0x370f3e[_0x40f901(0x299)]=_0x40f901(0x399),_0x370f3e[_0x40f901(0x134)]='movePivotField',_0x370f3e[_0x40f901(0x26c)]=_0x40f901(0x2bc),_0x370f3e[_0x40f901(0x204)]=_0x40f901(0x2f8),_0x370f3e[_0x40f901(0x111)]=_0x40f901(0x2d3),_0x370f3e[_0x40f901(0x34d)]=_0x40f901(0x22d),_0x370f3e[_0x40f901(0x29a)]=_0x40f901(0x16b),_0x370f3e['UpdatePivotSource']=_0x40f901(0x2da),_0x370f3e[_0x40f901(0x113)]='updateValuePosition',_0x370f3e[_0x40f901(0xdb)]=_0x40f901(0x1ae),_0x370f3e[_0x40f901(0x2ae)]=_0x40f901(0x244),_0x370f3e[_0x40f901(0x20a)]=_0x40f901(0x39e),_0x370f3e['ResetPivotTable']=_0x40f901(0x385),_0x370f3e))(_0xddaca4||{});const _0xd7bab3={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0x40f901(0x129),'sheets-pivot.subTotalText':'Total','sheets-pivot.grandTotalText':_0x40f901(0x283),'sheets-pivot.valueText':_0x40f901(0x1dd),'sheets-pivot.averageName':_0x40f901(0x18d),'sheets-pivot.countName':_0x40f901(0x395),'sheets-pivot.countNumsName':_0x40f901(0x395),'sheets-pivot.maxName':_0x40f901(0x333),'sheets-pivot.minName':_0x40f901(0x25e),'sheets-pivot.productName':_0x40f901(0x314),'sheets-pivot.stdDevName':_0x40f901(0xc3),'sheets-pivot.stdDevpName':_0x40f901(0x27c),'sheets-pivot.sumName':_0x40f901(0x185),'sheets-pivot.varName':_0x40f901(0xd4),'sheets-pivot.varpName':_0x40f901(0x1ec),'sheets-pivot.subTotal':_0x40f901(0xd8),'sheets-pivot.grandTotal':_0x40f901(0x283),'sheets-pivot.value':_0x40f901(0xfd),'sheets-pivot.blank':'blank','sheets-pivot.emptyPivot.filter':_0x40f901(0x143),'sheets-pivot.emptyPivot.row':_0x40f901(0xd2),'sheets-pivot.emptyPivot.column':_0x40f901(0x179),'sheets-pivot.emptyPivot.values':_0x40f901(0x2f9)},_0x463c0c={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x3c4a4d=_0xc67125[_0x40f901(0x2f2)](_0x40f901(0x22e)),_0x5564d9=_0xc67125['createInterceptorKey']('pivotMutationGenerate');var _0x21278c=(_0x3fad99=>(_0x3fad99['add']=_0x40f901(0x2c4),_0x3fad99[_0x40f901(0x32c)]='delete',_0x3fad99[_0x40f901(0x2ca)]=_0x40f901(0x2ca),_0x3fad99))(_0x21278c||{}),_0x3f9618=(_0x2fbc74=>(_0x2fbc74[_0x40f901(0x130)]='add',_0x2fbc74['Set']=_0x40f901(0x24a),_0x2fbc74[_0x40f901(0x335)]=_0x40f901(0x32c),_0x2fbc74))(_0x3f9618||{});const _0xdd96ad={0x0:'6',0x1:'H',0x2:'n',0x3:'0',0x4:'9',0x5:'b',0x6:'2',0x7:'R',0x8:'t',0x9:'c','J':'1','V':'3','M':'4','Z':'5','Q':'7','L':'8','i':'a','s':'d','X':'e','t':'f','e':'g','A':'h','n':'i','W':'j','k':'k','h':'l','d':'m','D':'o','O':'p','B':'q','E':'r','u':'s','y':'u','I':'v','R':'w','l':'x','f':'y','b':'z','P':'A','g':'B','x':'C','U':'D','m':'E','j':'F','Y':'G','C':'I','p':'J','q':'K','a':'L','G':'M','z':'N','w':'O','S':'P','v':'Q','r':'S','F':'T','c':'U','H':'V','N':'W','T':'X','K':'Y','o':'Z'},_0x4d9579=_0x40f901(0xcb),_0x2ff733={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0xc4),'handler':()=>!0x0},_0x29abbe={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x211),'handler':()=>!0x0},_0x2f6556={'type':_0xc67125['CommandType'][_0x40f901(0x365)],'id':_0x40f901(0x1fc),'handler':()=>!0x0},_0x259d1b={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0xaef0b2={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x29d),'handler':()=>!0x0},_0x132e0f=_0x294cb4=>{const _0x5b0dd7=_0x40f901;var _0x52beb9;return((_0x52beb9=_0x294cb4[_0x5b0dd7(0x120)])==null?void 0x0:_0x52beb9[_0x5b0dd7(0x152)]['replace'](/\r\n$/,''))||'';};class _0x32a78e extends _0x504249[_0x40f901(0x1bc)]{constructor(_0x16787e,_0x300457){const _0x25f84d=_0x40f901;super(),_0x1bae1e(this,'rangeKeyMap',{}),_0x1bae1e(this,_0x25f84d(0x2cd)),_0x1bae1e(this,_0x25f84d(0x23a)),(this[_0x25f84d(0x2cd)]=_0x300457,this[_0x25f84d(0x23a)]=_0x16787e);}['initDataRanges'](){const _0xe515c9=_0x40f901;for(const _0x464999 in this['dataFields']){const _0x2d4601=this[_0xe515c9(0x13b)][_0x464999],_0x1b3939=_0x2d4601[_0xe515c9(0x358)]();this['rangeKeyMap'][_0x1b3939]=_0x2d4601['getId']();}}[_0x40f901(0x122)](){const _0x4aed82=_0x40f901,_0x5d0d8c=this['_host'];return _0x3f6e25[_0x4aed82(0x3a0)](_0x5d0d8c);}[_0x40f901(0x2bb)](_0x5b2b08){const _0x3e9d2d=_0x40f901,_0x28bcf6=this[_0x3e9d2d(0x13b)][_0x5b2b08][_0x3e9d2d(0x199)];delete this[_0x3e9d2d(0x13b)][_0x5b2b08],delete this['rangeKeyMap'][_0x28bcf6];}[_0x40f901(0x140)](_0xdbe51){const _0xa142ca=_0x40f901;var _0x20001f,_0x3b2d5f;const _0x54b64d=this[_0xa142ca(0x23a)][_0xa142ca(0x33c)](_0xdbe51);if(_0x54b64d){const {unitId:_0x5d38ab,subUnitId:_0x50dba8}=_0x54b64d,_0x243c69=(_0x20001f=this[_0xa142ca(0x23a)][_0xa142ca(0x2b2)](_0x5d38ab,_0x50dba8,_0xdbe51))==null?void 0x0:_0x20001f[_0xa142ca(0x33d)];this['_host'][_0xa142ca(0x12f)]({'token':_0xdbe51,'type':_0x21278c[_0xa142ca(0x32c)],'dataRangeInfo':_0x243c69});}(_0x3b2d5f=this[_0xa142ca(0x183)](_0xdbe51))==null||_0x3b2d5f[_0xa142ca(0x310)](),delete this['collections'][_0xdbe51];}[_0x40f901(0x358)](_0x3e3390,_0x49862f){const _0x697ed2=_0x40f901,{sheetName:_0x40add5,unitId:_0x10c7b6,range:_0x5446d2}=_0x3e3390,{startRow:_0x5e12f0,endRow:_0x434f27}=_0x5446d2;return _0x19e647[_0x697ed2(0x320)](_0x10c7b6,_0x40add5,{'startRow':_0x5e12f0,'endRow':_0x434f27,'startColumn':_0x49862f,'endColumn':_0x49862f});}['getDataFieldByRangeKey'](_0x191cc4){const _0x339b05=_0x40f901;return this[_0x339b05(0x13b)][this[_0x339b05(0x24b)][_0x191cc4]];}['setRangeKeyMap'](_0x34331d,_0x33986f){this['rangeKeyMap'][_0x34331d]=_0x33986f;}[_0x40f901(0x147)](_0x563916,_0x1a0855){const _0xfbf0b8=_0x40f901;this[_0xfbf0b8(0x24b)][_0x1a0855]=this['rangeKeyMap'][_0x563916],delete this[_0xfbf0b8(0x24b)][_0x563916];}['addCollectionByJSON'](_0x1bb83c,_0x32152c,_0x2b9f83,_0x3eb212){const _0x56ff34=_0x40f901,_0x39c892=new _0x504249['FieldsCollection'](this);_0x39c892[_0x56ff34(0x13f)](_0x32152c);const _0x577305=[];let _0x5d69b5=0x0;for(const _0x2ff9bb of _0x39c892['fieldIds']){const _0x27bb43=this[_0x56ff34(0x358)](_0x2b9f83,_0x5d69b5),_0x1e0ff9=this['dataFields'][_0x2ff9bb];_0x1e0ff9&&(_0x1e0ff9[_0x56ff34(0x199)]=_0x27bb43,this[_0x56ff34(0x391)](_0x27bb43,_0x2ff9bb),_0x577305['push']({'index':_0x5d69b5,'dataField':_0x1e0ff9})),_0x5d69b5++;}return this[_0x56ff34(0x171)](_0x1bb83c,_0x39c892,_0x2b9f83,_0x3eb212),{'collection':_0x39c892,'updateDataFieldList':_0x577305};}[_0x40f901(0x228)](_0x490011,_0x5d3355){const _0x26d91f=_0x40f901;return _0x490011[_0x26d91f(0x33e)]===_0xc67125[_0x26d91f(0x180)][_0x26d91f(0x33f)]?{'startRow':0x0,'startColumn':_0x490011['startColumn'],'endRow':_0x5d3355[_0x26d91f(0x396)]()-0x1,'endColumn':_0x490011[_0x26d91f(0x107)]}:{'startRow':_0x490011[_0x26d91f(0x2eb)],'startColumn':_0x490011[_0x26d91f(0x123)],'endRow':_0x490011[_0x26d91f(0x1f0)],'endColumn':_0x490011['endColumn']};}[_0x40f901(0x1ac)](_0x183ce7){const _0x3a6667=_0x40f901,{sheetName:_0xce4cbf,range:_0x43c3be}=_0x183ce7,_0x313d7f=this[_0x3a6667(0x2cd)]['getCurrentUnitForType'](_0xc67125['UniverInstanceType'][_0x3a6667(0x35c)]),_0x4faed8=_0x313d7f[_0x3a6667(0x133)](_0xce4cbf),_0x214b23=_0x4faed8[_0x3a6667(0x100)](),{startColumn:_0x3f9f2c,startRow:_0x3c0139,endColumn:_0x4a55e7}=this[_0x3a6667(0x228)](_0x43c3be,_0x4faed8),_0x4ec9a2=_0x313d7f[_0x3a6667(0x1e6)](),_0x427bf6=new _0x504249['FieldsCollection'](this);_0x427bf6[_0x3a6667(0x321)](_0x183ce7);const _0x35c1ae=[],_0x10211b={};for(let _0x1153ee=_0x3f9f2c;_0x1153ee<=_0x4a55e7;_0x1153ee++){const _0x3f18c6=_0x214b23[_0x3a6667(0x31a)](_0x3c0139,_0x1153ee),_0x15b3a2=this[_0x3a6667(0x358)](_0x183ce7,_0x1153ee),_0x2b9e4e=this['getDataFieldByRangeKey'](_0x15b3a2);if(_0x2b9e4e)_0x427bf6[_0x3a6667(0x296)](_0x2b9e4e[_0x3a6667(0x318)](),_0x2b9e4e['getName']());else{const _0x4e57f1=this['createDataFieldId']();let _0x5744ec=this[_0x3a6667(0x232)](_0x3f18c6,_0x4ec9a2,_0x10211b);_0x504249[_0x3a6667(0x2a2)](_0x5744ec)&&(_0x5744ec=_0xc67125['numfmt'][_0x3a6667(0x1c2)](_0x5744ec['f'],Number(_0x5744ec['v'])));const _0x1815de=this[_0x3a6667(0x16a)](_0x5744ec,_0x1153ee),_0x14e85f=new _0x504249['DataField'](_0x4e57f1,_0x1815de,_0x504249[_0x3a6667(0x281)](0x3));_0x14e85f['rangeKey']=_0x15b3a2,this[_0x3a6667(0x13b)][_0x4e57f1]=_0x14e85f,_0x427bf6['addField'](_0x4e57f1,_0x1815de),_0x35c1ae[_0x3a6667(0x177)]({'index':_0x1153ee,'dataField':_0x14e85f});}}return{'updateDataFieldList':_0x35c1ae,'collection':_0x427bf6};}['_getAutoName'](_0x560bd7){const _0x1ff2ab=_0x40f901;return this[_0x1ff2ab(0x23a)][_0x1ff2ab(0x2be)]()[_0x1ff2ab(0x117)]+'\x20'+_0xc67125[_0x1ff2ab(0x13c)](_0x560bd7);}[_0x40f901(0x16a)](_0x537fa0,_0x58be05){const _0x242286=_0x40f901;return _0x537fa0==null||_0x537fa0===''?this[_0x242286(0x216)](_0x58be05):String(_0x537fa0);}[_0x40f901(0x183)](_0x1b0e11){const _0x303f40=_0x40f901;return this[_0x303f40(0x2b8)][_0x1b0e11];}['addCollection'](_0x3cbb46,_0x22a3d7,_0x206ff8,_0x29e0d0){const _0x179449=_0x40f901;this[_0x179449(0x2b8)][_0x3cbb46]=_0x22a3d7,_0x22a3d7[_0x179449(0x321)](_0x206ff8),this[_0x179449(0x23a)][_0x179449(0x12f)]({'token':_0x3cbb46,'type':_0x21278c[_0x179449(0x2c4)],'dataRangeInfo':_0x206ff8,'targetCellInfo':_0x29e0d0});}[_0x40f901(0x12c)](_0x5dea98,_0x476302){const _0x550b8b=_0x40f901,_0x3cee8a=this['getCollection'](_0x5dea98),_0x4e021d=_0x3cee8a['getFieldIds']();let _0x5d8e9e=0x0;for(const _0x63e45a of _0x4e021d){const _0x335a91=_0x3cee8a['getFieldById'](_0x63e45a),_0x248d9b=this[_0x550b8b(0x358)](_0x476302,_0x5d8e9e);this[_0x550b8b(0x147)](_0x335a91[_0x550b8b(0x199)],_0x248d9b),_0x5d8e9e++;}}[_0x40f901(0x209)](){return{'runtimeCellData':{},'dirtyRanges':{}};}['getUpdateRangeDeleteIds'](_0x125b6e,_0x2e27cc){const _0xaebcf0=_0x40f901;if(this[_0xaebcf0(0x183)](_0x125b6e)){const _0x440691=this[_0xaebcf0(0x161)](_0x2e27cc),_0x2a8565=[];for(const _0x487c96 of _0x440691)this[_0xaebcf0(0x24b)][_0x487c96]!==void 0x0&&_0x2a8565[_0xaebcf0(0x177)](this[_0xaebcf0(0x24b)][_0x487c96]);const _0x366b6e=this[_0xaebcf0(0x1ab)](_0x125b6e),_0x4ab844=[],_0x2c62b4=new Set(_0x2a8565);for(const _0x3e908a of _0x366b6e)_0x2c62b4[_0xaebcf0(0xc2)](_0x3e908a)||_0x4ab844[_0xaebcf0(0x177)](_0x3e908a);return _0x4ab844;}}[_0x40f901(0x14d)](_0x26c11a,_0x4e8ee4,_0x4c95dc,_0x351ed6,_0x297ac2){const _0x3cbb66=_0x40f901;return _0x4e8ee4&&_0x4e8ee4[_0x3cbb66(0x31a)](_0x351ed6,_0x297ac2)?_0x4e8ee4[_0x3cbb66(0x31a)](_0x351ed6,_0x297ac2):_0x4c95dc&&_0x4c95dc[_0x3cbb66(0x31a)](_0x351ed6,_0x297ac2)?_0x4c95dc[_0x3cbb66(0x31a)](_0x351ed6,_0x297ac2):_0x26c11a['getValue'](_0x351ed6,_0x297ac2);}[_0x40f901(0x172)](_0x31246b,_0x47bde4,_0x3982f1,_0x264864){const _0x488b10=_0x40f901,_0x5b3357=this[_0x488b10(0x13b)][_0x31246b];if(!_0x5b3357)return;const {subUnitId:_0x4c656d,range:_0x3d25cf,unitId:_0x566177}=_0x47bde4,_0x4baff9=this['_univerInstanceService'][_0x488b10(0x128)](_0x566177);if(!_0x4baff9){console['error'](_0x488b10(0xce));return;}const _0x1040ea=_0x4baff9[_0x488b10(0x1d0)](_0x4c656d),_0x46cfb8=_0x1040ea[_0x488b10(0x100)](),{arrayFormulaCellDataMatrix:_0xd105cf,unitDataMatrix:_0x5c48db}=_0x264864||{},{startRow:_0x5639d8,startColumn:_0x6e0d03,endRow:_0x182cd3}=this[_0x488b10(0x228)](_0x3d25cf,_0x1040ea);_0x5b3357['reset']();const _0x4042ff=_0x4baff9['getStyles'](),_0x2b92a0={},_0x309186=this[_0x488b10(0x14d)](_0x46cfb8,_0xd105cf,_0x5c48db,_0x5639d8,_0x6e0d03+_0x3982f1);let _0x2f6735=this['adjustSheetCellData'](_0x309186,_0x4042ff,_0x2b92a0);_0x504249[_0x488b10(0x2a2)](_0x2f6735)&&(_0x2f6735=_0xc67125['numfmt'][_0x488b10(0x1c2)](_0x2f6735['f'],Number(_0x2f6735['v'])));const _0x5f1be4=this['uniqueDataFieldName'](_0x2f6735,_0x6e0d03+_0x3982f1);_0x5b3357[_0x488b10(0x249)](_0x5f1be4);for(let _0x545c07=_0x5639d8+0x1;_0x545c07<=_0x182cd3;_0x545c07++){const _0x316b18=this[_0x488b10(0x14d)](_0x46cfb8,_0xd105cf,_0x5c48db,_0x545c07,_0x6e0d03+_0x3982f1);_0x5b3357[_0x488b10(0x347)](this[_0x488b10(0x232)](_0x316b18,_0x4042ff,_0x2b92a0),_0x545c07-0x1-_0x5639d8);}}['refreshData'](_0x45a862,_0xbd9a25,_0x106304){const _0x44ee84=_0x40f901,{subUnitId:_0x1d6aa2,range:_0x3fe08c,unitId:_0x4df8ec}=_0x106304,_0x5b3c02=this[_0x44ee84(0x2cd)]['getUnit'](_0x4df8ec);if(!_0x5b3c02){console[_0x44ee84(0x1f4)](_0x44ee84(0xce));return;}const _0x1ca141=_0x5b3c02[_0x44ee84(0x1d0)](_0x1d6aa2),_0x31edc7=_0x1ca141['getCellMatrix'](),{startRow:_0x4c9aa9,startColumn:_0x3cd5b6,endRow:_0x3db420}=this[_0x44ee84(0x228)](_0x3fe08c,_0x1ca141),_0x5abed5=_0x5b3c02[_0x44ee84(0x1e6)](),_0x521bdf={};for(const {dataField:_0x1d1592,index:_0x185aa3}of _0xbd9a25){_0x1d1592[_0x44ee84(0x2e4)]();const _0x253ea2=this[_0x44ee84(0x14d)](_0x31edc7,void 0x0,void 0x0,_0x4c9aa9,_0x3cd5b6+_0x185aa3);let _0x150241=this[_0x44ee84(0x232)](_0x253ea2,_0x5abed5,_0x521bdf);_0x504249[_0x44ee84(0x2a2)](_0x150241)&&(_0x150241=_0xc67125[_0x44ee84(0x2d5)]['format'](_0x150241['f'],Number(_0x150241['v'])));const _0x245b44=this[_0x44ee84(0x16a)](_0x150241,_0x3cd5b6+_0x185aa3);_0x1d1592[_0x44ee84(0x249)](_0x245b44);}_0x45a862[_0x44ee84(0x225)]();for(let _0x2acce4=_0x4c9aa9+0x1;_0x2acce4<=_0x3db420;_0x2acce4++)for(const {index:_0x2544c3,dataField:_0x5d34e1}of _0xbd9a25){const _0x221a3a=_0x31edc7[_0x44ee84(0x31a)](_0x2acce4,_0x3cd5b6+_0x2544c3);_0x5d34e1['addRecord'](this[_0x44ee84(0x232)](_0x221a3a,_0x5abed5,_0x521bdf),_0x2acce4-0x1-_0x4c9aa9);}_0x45a862['setDataRecordCount'](_0x3db420-_0x4c9aa9);}['getRangeKeyList'](_0x521d1d){const _0x20cad0=_0x40f901,{range:_0x4edcb1}=_0x521d1d,{startColumn:_0x1ddc5e,endColumn:_0xf9c093}=_0x4edcb1,_0x5baab2=[];for(let _0x3b97ee=_0x1ddc5e;_0x3b97ee<=_0xf9c093;_0x3b97ee++)_0x5baab2[_0x20cad0(0x177)](this['getRangeKey'](_0x521d1d,_0x3b97ee));return _0x5baab2;}[_0x40f901(0x232)](_0x1d0413,_0xabee07,_0x10ba63){const _0x3a7c6f=_0x40f901;if(_0x1d0413){const {s:_0x26e43b,v:_0x3429f1,t:_0x1ca3af,p:_0x363dfe}=_0x1d0413;if(_0x363dfe)return _0x132e0f(_0x363dfe);const _0x2840db=_0xabee07[_0x3a7c6f(0x21c)](_0x26e43b);if(_0x2840db&&_0x1ca3af===_0xc67125[_0x3a7c6f(0x2b7)][_0x3a7c6f(0xd5)]&&_0x2840db['n']){const {pattern:_0xb6ae71}=_0x2840db['n'];_0x10ba63[_0xb6ae71]||(_0x10ba63[_0xb6ae71]=_0xc67125[_0x3a7c6f(0x2d5)][_0x3a7c6f(0x163)](_0xb6ae71));const _0x2b2f3f=_0x10ba63[_0xb6ae71],_0x1ec2de=_0x2b2f3f[_0x3a7c6f(0x1d4)];if(_0x2b2f3f['isText'])return String(_0x3429f1);if(_0x1ec2de)return{'v':_0x3429f1,'f':_0xb6ae71};}if(_0x1ca3af===_0xc67125[_0x3a7c6f(0x2b7)]['NUMBER'])return Number(_0x3429f1);if(_0x1ca3af===_0xc67125[_0x3a7c6f(0x2b7)][_0x3a7c6f(0x18f)]||_0x1ca3af===_0xc67125['CellValueType']['FORCE_STRING'])return String(_0x3429f1);if(_0x1ca3af===void 0x0){const _0xcb8f4=Number(_0x3429f1);if(!Number[_0x3a7c6f(0x127)](_0xcb8f4)&&String(_0xcb8f4)===_0x3429f1)return _0xcb8f4;}return _0x3429f1!=null?_0x3429f1:null;}else return null;}['getRangeData'](_0x356ca4){const _0x2fe2a8=_0x40f901,{sheetName:_0x324c63,range:_0x42f8c2,unitId:_0x2b070a}=_0x356ca4,_0x927e0e=this[_0x2fe2a8(0x2cd)][_0x2fe2a8(0x128)](_0x2b070a);if(!_0x927e0e)return console[_0x2fe2a8(0x1f4)](_0x2fe2a8(0xce)),{'header':[],'data':[]};const _0x17e2a3=_0x927e0e['getSheetBySheetName'](_0x324c63),_0x1d0ccb=_0x17e2a3[_0x2fe2a8(0x100)](),{startRow:_0x191983,startColumn:_0x494752,endRow:_0x37e1b2,endColumn:_0x301b4a}=this[_0x2fe2a8(0x228)](_0x42f8c2,_0x17e2a3),_0x5e28ee=_0x927e0e[_0x2fe2a8(0x1e6)](),_0x1be9d5=[],_0x5c022c=[],_0x48f18c={};for(let _0x390126=_0x191983;_0x390126<=_0x37e1b2;_0x390126++){const _0xa2c8df=[];for(let _0x42317b=_0x494752;_0x42317b<=_0x301b4a;_0x42317b++){const _0xadd78=_0x1d0ccb[_0x2fe2a8(0x31a)](_0x390126,_0x42317b);_0x390126===_0x191983?_0x1be9d5[_0x2fe2a8(0x177)](_0xadd78==null?null:String(_0xadd78['v'])):_0xa2c8df['push'](this['adjustSheetCellData'](_0xadd78,_0x5e28ee,_0x48f18c));}_0x5c022c[_0x2fe2a8(0x177)](_0xa2c8df);}return{'header':_0x1be9d5,'data':_0x5c022c};}[_0x40f901(0x2db)](){return super['toJSON']();}['fromJSON'](_0x22b61b){const _0x5f3652=_0x40f901;super[_0x5f3652(0x13f)](_0x22b61b),this[_0x5f3652(0x37b)]();}[_0x40f901(0x310)](){const _0x1ec0cf=_0x40f901;super['dispose'](),this['rangeKeyMap']={},this[_0x1ec0cf(0x23a)]=null;}}const _0x42d4b6=_0x5ca2f6=>{const _0x20d0d3=_0x40f901,{targetCellInfo:_0x44fe1f}=_0x5ca2f6,{matrixCache:_0x1adceb,rangesCache:_0x3cac0e}=_0x2f497b({'filter':_0x20d0d3(0x143),'row':_0x20d0d3(0xd2),'column':_0x20d0d3(0x179),'values':'Values'},_0x44fe1f),_0x550a60=new _0xc67125[(_0x20d0d3(0x25f))]();return _0x1adceb['forValue']((_0x8e7d5b,_0x30d9ea,_0x14f2ac)=>{const _0x286fe5=_0x20d0d3;_0x550a60[_0x286fe5(0x269)](_0x8e7d5b,_0x30d9ea,_0x14f2ac);}),{'matrix':_0x550a60,'rangesCache':_0x3cac0e};},_0x2f1cb6=_0x95209d=>{const _0x535c5d=_0x40f901;let _0x556d93;if(_0x95209d!=null&&_0x95209d['v']||(_0x95209d==null?void 0x0:_0x95209d['v'])===0x0){_0x556d93||(_0x556d93={});const _0x1f9c10=_0x229d3a(_0x95209d['v']);typeof _0x1f9c10==_0x535c5d(0x371)?_0x556d93['t']=_0xc67125[_0x535c5d(0x2b7)][_0x535c5d(0xd5)]:typeof _0x1f9c10==_0x535c5d(0x227)&&(_0x556d93['t']=_0xc67125[_0x535c5d(0x2b7)][_0x535c5d(0x18f)]),_0x556d93['v']=_0x1f9c10;}return _0x556d93;},_0x3bad56=(_0xf626e7,_0x121785,_0x402127)=>{const _0x5a11d6=_0x40f901;var _0x16a9d3,_0x1bf935,_0x3d5ae4,_0x353192,_0x8b171c,_0x207c2a,_0x1b96ff,_0x596207,_0x1f14ee,_0x46be6c,_0x202766,_0x11be40;const {cornerView:_0x1adb16,rowView:_0x3c0332,colView:_0x46218e,dataView:_0x42b6fd,pageView:_0x245ef9,formatMap:_0x5105f8}=_0xf626e7,{row:_0x27d218,col:_0x353886}=_0x121785,_0x175384=new _0xc67125[(_0x5a11d6(0x25f))]();let _0x4d3a20=_0x27d218,_0x3809d9=_0x353886;Object['keys'](_0x245ef9[_0x5a11d6(0xe3)])[_0x5a11d6(0x336)](_0x222bee=>{const _0x4e3916=_0x5a11d6;Object[_0x4e3916(0xe6)](_0x245ef9['data'][Number(_0x222bee)])[_0x4e3916(0x336)](_0x44f1c6=>{const _0x5c7bf3=_0x4e3916,_0x412063={..._0x245ef9[_0x5c7bf3(0xe3)][Number(_0x222bee)][Number(_0x44f1c6)]};_0x175384['setValue'](Number(_0x222bee)+_0x4d3a20,Number(_0x44f1c6)+_0x3809d9,_0x2f1cb6(_0x412063));});});const _0x730a68=Object[_0x5a11d6(0xe6)](_0x245ef9[_0x5a11d6(0xe3)])['length'];_0x4d3a20+=_0x730a68+(_0x730a68?_0x1e964c:0x0);const _0x33b954=_0x1adb16[_0x5a11d6(0x396)](),_0x33d64f=_0x1adb16[_0x5a11d6(0x1cc)]();for(let _0x3063fe=0x0;_0x3063fe<_0x33b954;_0x3063fe++)for(let _0x4746ca=0x0;_0x4746ca<_0x33d64f;_0x4746ca++){const _0x29a9f9={...(_0x1bf935=(_0x16a9d3=_0x1adb16[_0x5a11d6(0xe3)])==null?void 0x0:_0x16a9d3[_0x3063fe])==null?void 0x0:_0x1bf935[_0x4746ca]};_0x29a9f9&&((_0x3d5ae4=_0x3c0332[_0x5a11d6(0x1d5)][_0x4746ca])!=null&&_0x3d5ae4['isValue'])&&_0x4746ca===_0x33d64f-0x1&&_0x3063fe===_0x33b954-0x1&&(_0x29a9f9['v']=''+_0x402127[_0x5a11d6(0x28a)]),_0x175384['setValue'](_0x3063fe+_0x4d3a20,_0x4746ca+_0x3809d9,_0x2f1cb6(_0x29a9f9));}_0x3809d9+=_0x33d64f;const _0x5ef560=_0x46218e[_0x5a11d6(0x1d5)],_0x1553b5=_0x46218e['getLastRow']()>=0x0?_0x46218e[_0x5a11d6(0xfc)]()+0x1:0x0,_0x1a4606=_0x46218e[_0x5a11d6(0xd9)]()>=0x0?_0x46218e[_0x5a11d6(0xd9)]()+0x1:0x0;for(let _0x53a2dd=0x0;_0x53a2dd<_0x1a4606;_0x53a2dd++)for(let _0x479137=0x0;_0x479137<_0x1553b5;_0x479137++){const _0x39a75e={...(_0x8b171c=(_0x353192=_0x46218e[_0x5a11d6(0xe3)])==null?void 0x0:_0x353192[_0x53a2dd])==null?void 0x0:_0x8b171c[_0x479137]},_0x36750f=(_0x207c2a=_0x5ef560[_0x53a2dd])==null?void 0x0:_0x207c2a['tableFieldId'],_0x249964=_0x5105f8[_0x36750f];_0x39a75e&&(_0x39a75e['v']=_0x57b48f(_0x39a75e,_0x53a2dd===0x0&&((_0x1b96ff=_0x46218e[_0x5a11d6(0x22f)](_0x479137+0x1))==null?void 0x0:_0x1b96ff[_0x5a11d6(0x306)]),_0x249964,_0x402127)),_0x175384[_0x5a11d6(0x269)](_0x53a2dd+_0x4d3a20,_0x479137+_0x3809d9,_0x2f1cb6(_0x39a75e));}_0x4d3a20+=_0x33b954;const _0x232bad=_0x3c0332[_0x5a11d6(0x1d5)],_0x310868=_0x3c0332[_0x5a11d6(0xfc)]()>=0x0?_0x3c0332[_0x5a11d6(0xfc)]()+0x1:0x0,_0x53df8c=_0x3c0332[_0x5a11d6(0xd9)]()>=0x0?_0x3c0332['getLastCol']()+0x1:0x0;for(let _0x3ba1b2=0x0;_0x3ba1b2<_0x310868;_0x3ba1b2++)for(let _0x4a77de=0x0;_0x4a77de<_0x53df8c;_0x4a77de++){const _0x1c09fe={...(_0x1f14ee=(_0x596207=_0x3c0332[_0x5a11d6(0xe3)])==null?void 0x0:_0x596207[_0x3ba1b2])==null?void 0x0:_0x1f14ee[_0x4a77de]},_0x1d6ec6=(_0x46be6c=_0x232bad[_0x4a77de])==null?void 0x0:_0x46be6c['tableFieldId'],_0x456ea3=_0x5105f8[_0x1d6ec6];_0x1c09fe&&(_0x1c09fe['v']=_0x57b48f(_0x1c09fe,!0x1,_0x456ea3,_0x402127)),_0x175384[_0x5a11d6(0x269)](_0x3ba1b2+_0x4d3a20,_0x4a77de+_0x353886,_0x2f1cb6(_0x1c09fe));}const _0xfd546e=_0x42b6fd['getRowCount'](),_0x5e66dc=_0x42b6fd[_0x5a11d6(0x1cc)]();for(let _0x429774=0x0;_0x429774<_0xfd546e;_0x429774++)for(let _0x282e07=0x0;_0x282e07<_0x5e66dc;_0x282e07++){const _0x2e8084={...(_0x11be40=(_0x202766=_0x42b6fd['data'])==null?void 0x0:_0x202766[_0x429774])==null?void 0x0:_0x11be40[_0x282e07]};_0x175384[_0x5a11d6(0x269)](_0x429774+_0x4d3a20,_0x282e07+_0x3809d9,_0x2f1cb6(_0x2e8084));}return _0x175384;},_0x5e27b1=_0x488f4a=>{const _0xefd67=_0x40f901,{view:_0x38c69e,targetCellInfo:_0x380ea3,isEmpty:_0x205086,textInfo:_0x308263}=_0x488f4a;if(_0x205086)return _0x42d4b6(_0x488f4a);const {pageView:_0xa1eb28,cornerView:_0x197fbf,rowView:_0x336358,colView:_0xdf2882,dataView:_0x5735f1}=_0x38c69e,_0x348388=_0x8c20b7(_0x380ea3,_0xa1eb28,!0x0),_0x4b43fe=_0xa1eb28[_0xefd67(0x278)]>=0x0?_0xa1eb28[_0xefd67(0x278)]+0x1:0x0,_0x1419c9=_0x197fbf[_0xefd67(0x396)](),_0x47750d=_0x197fbf[_0xefd67(0x1cc)](),_0x98ac80=_0x348388[_0xefd67(0x2a3)]>0x0?_0x1e964c:0x0,_0x5dc19f=_0x8c20b7({'row':_0x380ea3['row']+_0x4b43fe+_0x98ac80,'col':_0x380ea3[_0xefd67(0x31e)]},_0x197fbf,!0x1,!0x1),_0x14944f=_0x8c20b7({'row':_0x380ea3[_0xefd67(0x166)]+_0x4b43fe+_0x98ac80+_0x1419c9,'col':_0x380ea3['col']},_0x336358,!0x1,!0x0),_0x2c96c9=_0x8c20b7({'row':_0x380ea3[_0xefd67(0x166)]+_0x4b43fe+_0x98ac80,'col':_0x380ea3['col']+_0x47750d},_0xdf2882,!0x1,!0x0),_0x82e3e4=_0x8c20b7({'row':_0x380ea3['row']+_0x4b43fe+_0x98ac80+_0x1419c9,'col':_0x380ea3['col']+_0x47750d},_0x5735f1,!0x1,!0x1),_0x48e8bc={'rowRanges':_0x14944f,'colRanges':_0x2c96c9,'cornerRanges':_0x5dc19f,'dataRanges':_0x82e3e4,'pageRanges':_0x348388};return{'matrix':_0x3bad56(_0x38c69e,_0x380ea3,_0x308263),'rangesCache':_0x48e8bc};};var _0x26222b=Object['getOwnPropertyDescriptor'],_0x40c381=(_0x5b222a,_0x4f4435,_0x33a990,_0x5abda6)=>{for(var _0x4a8687=_0x5abda6>0x1?void 0x0:_0x5abda6?_0x26222b(_0x4f4435,_0x33a990):_0x4f4435,_0x1fce06=_0x5b222a['length']-0x1,_0x3474ab;_0x1fce06>=0x0;_0x1fce06--)(_0x3474ab=_0x5b222a[_0x1fce06])&&(_0x4a8687=_0x3474ab(_0x4a8687)||_0x4a8687);return _0x4a8687;},_0x23c64b=(_0x43bab3,_0x31e4c2)=>(_0x2f19d5,_0x381f2a)=>_0x31e4c2(_0x2f19d5,_0x381f2a,_0x43bab3);_0x3d69f7[_0x40f901(0x2a1)]=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x296872,_0x245ae3,_0x2f281a,_0x15bad3,_0x396618,_0x342c3e){const _0x40f5e8=_0x40f901;super(),_0x1bae1e(this,_0x40f5e8(0x311),new Map()),_0x1bae1e(this,'_pivotTableInstanceCache',new Map()),_0x1bae1e(this,_0x40f5e8(0x21d),new Map()),_0x1bae1e(this,_0x40f5e8(0x109)),_0x1bae1e(this,'_collectionChange$',new _0x158b3c[(_0x40f5e8(0x346))]()),_0x1bae1e(this,_0x40f5e8(0x1d3),this[_0x40f5e8(0x39d)][_0x40f5e8(0x37d)]()),_0x1bae1e(this,_0x40f5e8(0x357),new _0x158b3c['Subject']()),_0x1bae1e(this,'viewData$',this[_0x40f5e8(0x357)][_0x40f5e8(0x37d)]()),_0x1bae1e(this,_0x40f5e8(0x25b),new _0x158b3c[(_0x40f5e8(0x346))]()),_0x1bae1e(this,_0x40f5e8(0x223),this['_fieldsCollectionChange$'][_0x40f5e8(0x37d)]()),_0x1bae1e(this,_0x40f5e8(0x1cb),new Map()),_0x1bae1e(this,'needSameDeleteModel',[]),_0x1bae1e(this,_0x40f5e8(0x22a),new Map()),(this[_0x40f5e8(0x15c)]=_0x296872,this['_univerInstanceService']=_0x245ae3,this[_0x40f5e8(0x1e8)]=_0x2f281a,this[_0x40f5e8(0x1ba)]=_0x15bad3,this[_0x40f5e8(0x2c8)]=_0x396618,this[_0x40f5e8(0x10f)]=_0x342c3e,this['_initSnapshot']());}['getTextInfo'](){const _0x5ca65a=_0x40f901;return this[_0x5ca65a(0x109)]?this['_textInfo']:_0xd7bab3;}[_0x40f901(0x36a)](_0xa5bf06){const _0x169c9f=_0x40f901;this[_0x169c9f(0x109)]=_0xa5bf06;}[_0x40f901(0x12c)](_0x359371){const _0x2d39d1=_0x40f901;var _0x56ee34;const {from:_0x2395b4,to:_0x35bbe1,unitId:_0x418165,fromRange:_0x181f4d,toRange:_0x459263}=_0x359371;if(_0x2395b4&&_0x35bbe1){const _0x8d8964=this[_0x2d39d1(0x19f)](_0x418165),_0x399e54=this[_0x2d39d1(0x311)][_0x2d39d1(0x21c)](_0x418165),_0x316fb1=(_0x56ee34=this[_0x2d39d1(0x2cd)]['getUnit'](_0x418165))==null?void 0x0:_0x56ee34[_0x2d39d1(0x1d0)](_0x35bbe1[_0x2d39d1(0xe4)]);if(!_0x399e54||!_0x316fb1)return;const _0x539aca=_0x316fb1==null?void 0x0:_0x316fb1[_0x2d39d1(0x1a4)]();for(const [_0x3fb090,_0x13ab53]of _0x399e54[_0x2d39d1(0x135)]())for(const [_0x2f9bbd,_0x3d1557]of _0x13ab53[_0x2d39d1(0x135)]()){const {sourceRangeInfo:_0x5eb939}=_0x3d1557;if(_0x5eb939[_0x2d39d1(0x27a)]===_0x418165&&_0x5eb939[_0x2d39d1(0xe4)]===_0x2395b4[_0x2d39d1(0xe4)]&&_0xc67125['Rectangle'][_0x2d39d1(0x226)](_0x181f4d,_0x5eb939[_0x2d39d1(0x148)])){const _0x2e8498={'row':_0x5eb939[_0x2d39d1(0x148)][_0x2d39d1(0x2eb)]-_0x181f4d[_0x2d39d1(0x2eb)],'col':_0x5eb939[_0x2d39d1(0x148)][_0x2d39d1(0x123)]-_0x181f4d['startColumn']},_0x4edeb0={'unitId':_0x418165,'subUnitId':_0x35bbe1[_0x2d39d1(0xe4)],'sheetName':_0x539aca,'range':{'startRow':_0x459263[_0x2d39d1(0x2eb)]+_0x2e8498[_0x2d39d1(0x166)],'endRow':_0x459263['startRow']+_0x2e8498[_0x2d39d1(0x166)]+_0x5eb939['range'][_0x2d39d1(0x1f0)]-_0x5eb939[_0x2d39d1(0x148)][_0x2d39d1(0x2eb)],'startColumn':_0x459263[_0x2d39d1(0x123)]+_0x2e8498[_0x2d39d1(0x31e)],'endColumn':_0x459263['startColumn']+_0x2e8498[_0x2d39d1(0x31e)]+_0x5eb939[_0x2d39d1(0x148)][_0x2d39d1(0x107)]-_0x5eb939[_0x2d39d1(0x148)][_0x2d39d1(0x123)]}};_0x8d8964['handleMoveRange'](_0x2f9bbd,_0x4edeb0);const _0x74a697={..._0x3d1557,'sourceRangeInfo':_0x4edeb0};this['_updateModelCache'](_0x418165,_0x35bbe1[_0x2d39d1(0xe4)],_0x2f9bbd,_0x74a697),this[_0x2d39d1(0x12f)]({'unitId':_0x418165,'token':_0x2f9bbd,'type':_0x21278c['update'],'oldSourceRangeInfo':_0x5eb939,'dataRangeInfo':_0x4edeb0,'targetCellInfo':_0x3d1557['targetCellInfo']}),this[_0x2d39d1(0x150)]({'unitId':_0x418165,'subUnitId':_0x35bbe1[_0x2d39d1(0xe4)],'oldSubUnitId':_0x3fb090,'pivotTableId':_0x2f9bbd,'pivotTableConfig':_0x74a697,'collectionConfig':_0x8d8964[_0x2d39d1(0x2db)]()});}}}}[_0x40f901(0x12f)](_0x5bcde9){const _0x3578c0=_0x40f901;this[_0x3578c0(0x39d)][_0x3578c0(0x1f5)](_0x5bcde9);}['getDataFieldManager'](_0x274180){const _0x33a63e=_0x40f901;let _0x3a99e7=this[_0x33a63e(0x1cb)]['get'](_0x274180);return _0x3a99e7||(_0x3a99e7=new _0x32a78e(this,this[_0x33a63e(0x2cd)]),this['_dataFieldManagerCollection'][_0x33a63e(0x24a)](_0x274180,_0x3a99e7)),_0x3a99e7;}[_0x40f901(0x183)](_0x23c316,_0x4a16ff){return this['getDataFieldManager'](_0x23c316)['collections'][_0x4a16ff];}['getUpdateRangeDeleteIds'](_0x5aed0e,_0x434d48,_0x1c3ab3){const _0x39feb9=_0x40f901;return this[_0x39feb9(0x19f)](_0x5aed0e)['getUpdateRangeDeleteIds'](_0x434d48,_0x1c3ab3);}[_0x40f901(0xc7)](_0x5b4cde,_0x386274){const _0x15774b=_0x40f901;let _0x42225b=this['_model'][_0x15774b(0x21c)](_0x5b4cde);_0x42225b||(_0x42225b=new Map(),this[_0x15774b(0x311)][_0x15774b(0x24a)](_0x5b4cde,_0x42225b));let _0x1f9b2c=_0x42225b[_0x15774b(0x21c)](_0x386274);return _0x1f9b2c||(_0x1f9b2c=new Map(),_0x42225b['set'](_0x386274,_0x1f9b2c)),_0x1f9b2c;}[_0x40f901(0x252)](_0x66fb02,_0x35825b,_0xdcb217,_0x11f754){const _0xfc4630=_0x40f901;this[_0xfc4630(0xc7)](_0x66fb02,_0x35825b)[_0xfc4630(0x24a)](_0xdcb217,_0x11f754);}[_0x40f901(0x328)](_0x5bd9fa,_0x271131,_0x1085cd){const _0xa7fd45=_0x40f901;var _0x553921,_0x23054a,_0x41c037,_0x1b6017;((_0x23054a=(_0x553921=this[_0xa7fd45(0x311)][_0xa7fd45(0x21c)](_0x5bd9fa))==null?void 0x0:_0x553921[_0xa7fd45(0x21c)](_0x271131))==null?void 0x0:_0x23054a[_0xa7fd45(0x21c)](_0x1085cd))&&((_0x1b6017=(_0x41c037=this['_model']['get'](_0x5bd9fa))==null?void 0x0:_0x41c037[_0xa7fd45(0x21c)](_0x271131))==null||_0x1b6017[_0xa7fd45(0x32c)](_0x1085cd));}[_0x40f901(0x256)](_0x2d5603,_0x45f548){const _0x50a831=_0x40f901;this['_pivotTableInstanceCache'][_0x50a831(0x24a)](_0x2d5603,_0x45f548);}['_deletePivotTableInstanceCache'](_0xab0604){const _0x4679bd=_0x40f901;this[_0x4679bd(0x23c)][_0x4679bd(0x32c)](_0xab0604);}[_0x40f901(0x257)](_0x53f914,_0x591ae6){const _0x3c5c31=_0x40f901;let _0x22422c=this[_0x3c5c31(0x21d)][_0x3c5c31(0x21c)](_0x53f914);_0x22422c||(_0x22422c=new Map(),this['_viewData']['set'](_0x53f914,_0x22422c));let _0x29e4d4=_0x22422c[_0x3c5c31(0x21c)](_0x591ae6);return _0x29e4d4||(_0x29e4d4=new Map(),_0x22422c[_0x3c5c31(0x24a)](_0x591ae6,_0x29e4d4)),_0x29e4d4;}[_0x40f901(0x150)](_0x186f80){const _0x534ab6=_0x40f901,{unitId:_0x10bf91,subUnitId:_0x81c50,pivotTableId:_0x5cbe1c,pivotTableConfig:_0x5627e5,collectionConfig:_0x598fdb}=_0x186f80,_0x507ab2={'unitId':_0x10bf91,'subUnitId':_0x81c50,'oldSubUnitId':_0x81c50,'pivotTableId':_0x5cbe1c,'pivotTableConfig':_0x5627e5,'collectionConfig':_0x598fdb};this[_0x534ab6(0x2c8)][_0x534ab6(0x312)](_0x259d1b['id'],_0x507ab2,{'onlyLocal':!0x0});}['updateView'](_0x111fef,_0x5aaa69,_0x3ae538,_0xf2314e,_0x131aed,_0x2bc9d3,_0x509489,_0x1e92f0=!0x1){const _0x1b68a7=_0x40f901;var _0x95abcd;this[_0x1b68a7(0x2c8)]['executeCommand'](_0x2f6556['id'],{'single':{'unitId':_0x111fef,'subUnitId':_0x5aaa69,'type':_0x3ae538,'pivotTableId':_0xf2314e,'view':_0x131aed,'pivotConfig':_0x2bc9d3},'collectionConfig':{[_0x111fef]:_0x509489}},{'onlyLocal':!0x0});const _0x38eff3=!!((_0x95abcd=this['getPivotTableInstance'](_0xf2314e))!=null&&_0x95abcd[_0x1b68a7(0x1c4)]()),_0x552001=this[_0x1b68a7(0x2b2)](_0x111fef,_0x5aaa69,_0xf2314e);_0x552001&&this[_0x1b68a7(0x331)]({'view':_0x131aed,'pivotTableId':_0xf2314e,'textInfo':this[_0x1b68a7(0x2be)](),'isEmpty':_0x38eff3,'targetCellInfo':_0x552001[_0x1b68a7(0xf4)]},_0x1e92f0);}['updateViewData'](_0x3179c5,_0x1f0ebb){const _0x23751b=_0x40f901,{targetCellInfo:_0x1ca6c0,pivotTableId:_0x1b21b1}=_0x3179c5,{unitId:_0x12ba14,subUnitId:_0x8a22ba}=_0x1ca6c0,_0x4646b7=this[_0x23751b(0x257)](_0x12ba14,_0x8a22ba),_0x2a0fe5=_0x4646b7[_0x23751b(0x21c)](_0x1b21b1);let _0x968378,_0x3801b7;_0x2a0fe5&&(_0x968378=_0x2a0fe5[_0x23751b(0x13d)],_0x3801b7=_0x2a0fe5['matrix']);const {rangesCache:_0x396dd5,matrix:_0x52f5d6}=_0x5e27b1(_0x3179c5);_0x4646b7['set'](_0x1b21b1,{'rangeCache':_0x396dd5,'matrix':_0x52f5d6,'oldMatrix':_0x3801b7,'oldRangeCache':_0x968378}),_0x1f0ebb||this['_viewData$'][_0x23751b(0x1f5)]({'unitId':_0x12ba14,'subUnitId':_0x8a22ba,'pivotTableId':_0x1b21b1});}['addPivotTable'](_0x538411,_0x57362c,_0x22ee9a,_0x14f2e6,_0x594579){const _0x100ca0=_0x40f901;this[_0x100ca0(0x252)](_0x538411,_0x57362c,_0x22ee9a,_0x594579),this[_0x100ca0(0x256)](_0x22ee9a,_0x14f2e6);}['removePivotTable'](_0x2d0d0a,_0x406a21,_0x1b0856){const _0x496be5=_0x40f901,_0xae6c08=this[_0x496be5(0x19f)](_0x2d0d0a);_0xae6c08['getNoUsedDataFieldIds'](_0x1b0856)[_0x496be5(0x336)](_0x2fec66=>{const _0x1ed18b=_0x496be5;_0xae6c08[_0x1ed18b(0x2bb)](_0x2fec66);}),this['removeCollections'](_0x2d0d0a,_0x1b0856),this[_0x496be5(0x328)](_0x2d0d0a,_0x406a21,_0x1b0856),this[_0x496be5(0x2c5)](_0x1b0856);}[_0x40f901(0x1ff)](_0x2bb0e3,_0x506698,_0x5fc1db,_0x5d4180){const _0x479235=_0x40f901;this[_0x479235(0x252)](_0x2bb0e3,_0x506698,_0x5fc1db,_0x5d4180);}[_0x40f901(0x2b2)](_0x4a463f,_0x435c5c,_0x48c522){const _0x5aa13e=_0x40f901;var _0x361ed5,_0x5540bf;const _0x278c52=(_0x5540bf=(_0x361ed5=this[_0x5aa13e(0x311)][_0x5aa13e(0x21c)](_0x4a463f))==null?void 0x0:_0x361ed5[_0x5aa13e(0x21c)](_0x435c5c))==null?void 0x0:_0x5540bf[_0x5aa13e(0x21c)](_0x48c522);if(_0x278c52)return _0x278c52;}[_0x40f901(0x294)](_0x3351c3,_0x3cd691,_0x9d5518){const _0x10f792=_0x40f901;var _0xdb13e1,_0x3e7b31;const _0x503332=(_0x3e7b31=(_0xdb13e1=this[_0x10f792(0x311)]['get'](_0x3351c3))==null?void 0x0:_0xdb13e1[_0x10f792(0x21c)](_0x3cd691))==null?void 0x0:_0x3e7b31[_0x10f792(0x21c)](_0x9d5518);if(_0x503332)return _0x503332[_0x10f792(0x38c)];}[_0x40f901(0x32a)](_0x4353bd){const _0x3d768d=_0x40f901;return this[_0x3d768d(0x23c)][_0x3d768d(0x21c)](_0x4353bd);}[_0x40f901(0x2a8)](_0x10ed52){const _0x6eb595=_0x40f901;this[_0x6eb595(0x311)][_0x6eb595(0x32c)](_0x10ed52);const _0x3c558f=this[_0x6eb595(0x1cb)][_0x6eb595(0x21c)](_0x10ed52);_0x3c558f&&(_0x3c558f[_0x6eb595(0x310)](),this[_0x6eb595(0x1cb)][_0x6eb595(0x32c)](_0x10ed52)),this[_0x6eb595(0x21d)][_0x6eb595(0x32c)](_0x10ed52),this[_0x6eb595(0x2aa)][_0x6eb595(0x336)](_0x250fa4=>{_0x250fa4['deleteUnitId'](_0x10ed52);});}[_0x40f901(0x162)](_0x525004,_0x9714,_0x8d8076,_0x730643){const _0x364656=_0x40f901;return this[_0x364656(0x19f)](_0x8d8076[_0x364656(0x27a)])['addCollectionByJSON'](_0x525004,_0x9714,_0x8d8076,_0x730643);}[_0x40f901(0x1ac)](_0x2b4926){const _0x5cf037=_0x40f901;return this[_0x5cf037(0x19f)](_0x2b4926['unitId'])['createCollectionWithDataRange'](_0x2b4926);}[_0x40f901(0x379)](_0x4506b5,_0xecb76c,_0x21689c){const _0x551a5e=_0x40f901;this[_0x551a5e(0x19f)](_0x21689c[_0x551a5e(0x27a)])[_0x551a5e(0x379)](_0x4506b5,_0xecb76c,_0x21689c);}[_0x40f901(0x37a)](_0x46925b,_0x5a76ce){const _0x501f58=_0x40f901;this[_0x501f58(0x19f)](_0x46925b)['deleteDataField'](_0x5a76ce);}[_0x40f901(0x106)](_0x5941b6,_0x59cc51){const _0x45f29f=_0x40f901;this[_0x45f29f(0x19f)](_0x5941b6)[_0x45f29f(0x140)](_0x59cc51);}[_0x40f901(0x16e)](_0x5a14b1,_0x24bcfd){const _0x54a541=_0x40f901;var _0x3d12a4;return(_0x3d12a4=this[_0x54a541(0x311)][_0x54a541(0x21c)](_0x5a14b1))==null?void 0x0:_0x3d12a4[_0x54a541(0x21c)](_0x24bcfd);}[_0x40f901(0x33c)](_0x5a842d){const _0x4762e7=_0x40f901;for(const [_0x2e3819,_0x206d11]of this[_0x4762e7(0x311)]['entries']())for(const [_0x4b2276,_0x1780fd]of _0x206d11[_0x4762e7(0x135)]())if(_0x1780fd['has'](_0x5a842d))return{'unitId':_0x2e3819,'subUnitId':_0x4b2276};return null;}[_0x40f901(0x290)](_0x57ed8f,_0x5cce84,_0x3402bd,_0xd092d9){const _0x4df319=_0x40f901,_0x26ede4=this[_0x4df319(0x257)](_0x57ed8f,_0x5cce84);_0xd092d9?_0x26ede4[_0x4df319(0x24a)](_0x3402bd,_0xd092d9):_0x26ede4[_0x4df319(0x32c)](_0x3402bd),this[_0x4df319(0x357)]['next']({'unitId':_0x57ed8f,'subUnitId':_0x5cce84,'pivotTableId':_0x3402bd});}['dispose'](){const _0x52003a=_0x40f901;super[_0x52003a(0x310)]();}[_0x40f901(0x370)](_0x46f818,_0x1b0504,_0x56223b){const _0x4460be=_0x40f901;var _0x1297c5,_0x3ce391;const _0x427ece=(_0x3ce391=(_0x1297c5=this['_viewData'][_0x4460be(0x21c)](_0x46f818))==null?void 0x0:_0x1297c5[_0x4460be(0x21c)](_0x1b0504))==null?void 0x0:_0x3ce391[_0x4460be(0x21c)](_0x56223b);return _0x427ece||null;}[_0x40f901(0x17e)](_0x3144c8){const _0x181181=_0x40f901;this[_0x181181(0x18c)](_0x3144c8);}[_0x40f901(0x18c)](_0x5a0dd2){const _0x317046=_0x40f901,{token:_0x4a3890,unitId:_0xe2f78d,subUnitId:_0x528290}=_0x5a0dd2,_0x225639=_0xe2f78d+'-'+_0x528290+'-'+_0x4a3890;this['_queryingMap'][_0x317046(0x21c)](_0x225639)&&clearTimeout(this['_queryingMap'][_0x317046(0x21c)](_0x225639));const _0x5a0d87=setTimeout(()=>{const _0x2941b5=_0x317046;this[_0x2941b5(0x325)](_0x5a0dd2),this['_queryingMap'][_0x2941b5(0x32c)](_0x225639);},_0x1fe514);this[_0x317046(0x22a)][_0x317046(0x24a)](_0x225639,_0x5a0d87);}[_0x40f901(0x325)](_0x3703cf){const _0x30a21d=_0x40f901,{unitId:_0x114bf5,subUnitId:_0x3f1e03,token:_0x89ce7,type:_0x424fc6,pivotConfig:_0x356e5}=_0x3703cf,_0x31fdfd=this['getPivotTableInstance'](_0x89ce7),_0x3bde86=_0x31fdfd==null?void 0x0:_0x31fdfd[_0x30a21d(0x1ea)](),_0x599da3=_0x356e5!=null?_0x356e5:this['getPivotTableConfig'](_0x114bf5,_0x3f1e03,_0x89ce7);_0x599da3&&(_0x599da3['isEmpty']=!!(_0x31fdfd!=null&&_0x31fdfd[_0x30a21d(0x1c4)]())),(_0x3bde86||_0x424fc6===_0x3f9618[_0x30a21d(0x335)])&&this['updateView'](_0x114bf5,_0x3f1e03,_0x424fc6,_0x89ce7,_0x3bde86,_0x599da3,this['getDataFieldManager'](_0x114bf5)['toJSON']());}[_0x40f901(0x2db)](_0x1f46da){const _0x3c1693=_0x40f901,_0x4fbab7={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x1f46da)&&(_0x4fbab7[_0x3c1693(0x307)][_0x1f46da]=this[_0x3c1693(0x19f)](_0x1f46da)['toJSON']()),this[_0x3c1693(0x311)]['get'](_0x1f46da)){_0x4fbab7['pivotTableConfigs'][_0x1f46da]={};const _0x4c9456=this['_model'][_0x3c1693(0x21c)](_0x1f46da);_0x4c9456!=null&&_0x4c9456[_0x3c1693(0x315)]&&[..._0x4c9456[_0x3c1693(0xe6)]()][_0x3c1693(0x336)](_0x3d2c6e=>{const _0x16f033=_0x3c1693,_0x6a0a60=_0x4c9456[_0x16f033(0x21c)](_0x3d2c6e);_0x6a0a60!=null&&_0x6a0a60[_0x16f033(0x315)]&&(_0x4fbab7[_0x16f033(0x1b6)][_0x1f46da][_0x3d2c6e]={},[..._0x6a0a60['keys']()][_0x16f033(0x336)](_0x38633d=>{const _0x1536fc=_0x16f033,_0x59fee3=_0x6a0a60[_0x1536fc(0x21c)](_0x38633d);_0x59fee3&&(_0x4fbab7[_0x1536fc(0x1b6)][_0x1f46da][_0x3d2c6e][_0x38633d]=_0x59fee3);}));});}return _0x4fbab7;}[_0x40f901(0x13f)](_0x2a3196){const _0x2ab905=_0x40f901;var _0x3e46e1;const {dataFieldManagerConfig:_0x31daee,pivotTableConfigs:_0x120787}=_0x2a3196;_0x31daee&&Object['keys'](_0x31daee)['forEach'](_0x5d9207=>{const _0x1a9f6c=_0x486c;this['getDataFieldManager'](_0x5d9207)[_0x1a9f6c(0x13f)](_0x31daee[_0x5d9207]);});const _0x3e9c77=[];if(_0x120787){const _0x68808d=(_0x3e46e1=this['_injector'][_0x2ab905(0x21c)](_0xc67125[_0x2ab905(0x33a)])[_0x2ab905(0x272)](_0x11e7af[_0x2ab905(0x178)]))!=null?_0x3e46e1:{},{ls:_0x5e3256,pbk:_0x41f013}=_0x68808d,_0x50b7a6=_0x732cb6(_0x1295da,_0x5e3256,_0x41f013)[_0x2ab905(0x16c)];Object['keys'](_0x120787)[_0x2ab905(0x336)](_0x202c76=>{const _0x3e2790=_0x2ab905;let _0x4ef887=0x0;const _0x58a346=_0x120787[_0x202c76];Object[_0x3e2790(0xe6)](_0x58a346)['forEach'](_0x26abd8=>{const _0x329e6a=_0x3e2790,_0x2efacd=_0x58a346[_0x26abd8];Object[_0x329e6a(0xe6)](_0x2efacd)['forEach'](_0x56009e=>{const _0xb14282=_0x329e6a,_0x11bc86=_0x2efacd[_0x56009e];if(_0x11bc86){if(_0x4ef887>=_0x50b7a6)return;_0x4ef887++;const _0x4bbfa4=this[_0xb14282(0x19f)](_0x202c76),_0x593fd2=_0x4bbfa4[_0xb14282(0x2b8)][_0x56009e],_0x3e2ceb=_0x593fd2[_0xb14282(0x2c1)]();let _0x27560f=0x0;for(const _0x1fdbb8 of _0x3e2ceb)_0x4bbfa4[_0xb14282(0x172)](_0x1fdbb8,_0x11bc86[_0xb14282(0x33d)],_0x27560f),_0x27560f++;const _0x25f884=new _0x504249[(_0xb14282(0x378))](_0x593fd2);_0x25f884['fromJSON'](_0x11bc86[_0xb14282(0x38c)]),this['addPivotTable'](_0x202c76,_0x26abd8,_0x56009e,_0x25f884,_0x11bc86);const _0x59b5df=_0x25f884[_0xb14282(0x1ea)]();_0x3e9c77['push']({'unitId':_0x202c76,'subUnitId':_0x26abd8,'pivotTableId':_0x56009e,'view':_0x59b5df[_0xb14282(0x2db)](),'pivotConfig':_0x11bc86,'type':_0x3f9618['Add']});const _0x1ff529=!!_0x25f884[_0xb14282(0x1c4)](),_0x55c4a6={'view':_0x59b5df,'pivotTableId':_0x56009e,'textInfo':this[_0xb14282(0x2be)](),'isEmpty':_0x1ff529,'targetCellInfo':_0x11bc86['targetCellInfo']};this[_0xb14282(0x331)](_0x55c4a6,!0x1);}});});});}_0x31daee&&Object[_0x2ab905(0xe6)](_0x31daee)[_0x2ab905(0x336)](_0x1a21be=>{const _0x5c140d=_0x2ab905,_0x1ae33e=this['getDataFieldManager'](_0x1a21be);this[_0x5c140d(0x25b)][_0x5c140d(0x1f5)](_0x1ae33e['collections']);}),this[_0x2ab905(0x2c8)][_0x2ab905(0x312)](_0x2f6556['id'],{'batch':_0x3e9c77,'collectionConfig':_0x31daee},{'onlyLocal':!0x0});}[_0x40f901(0x15a)](){const _0x17ecc8=_0x40f901;this[_0x17ecc8(0x2c9)](this['_resourceManagerService'][_0x17ecc8(0x28d)]({'toJson':_0x1fd587=>JSON[_0x17ecc8(0x2bf)](this[_0x17ecc8(0x2db)](_0x1fd587)),'parseJson':_0x5f402=>{const _0x3ebfc1=_0x17ecc8;if(!_0x5f402)return{};try{return JSON[_0x3ebfc1(0x10a)](_0x5f402);}catch{return{};}},'businesses':[_0xc67125[_0x17ecc8(0x32f)][_0x17ecc8(0x35c)]],'pluginName':_0x559123,'onLoad':(_0x57e61c,_0x11f430)=>{const _0x4febaf=_0x17ecc8;this[_0x4febaf(0x13f)](_0x11f430);},'onUnLoad':_0x70fa09=>{const _0x469c0e=_0x17ecc8;this[_0x469c0e(0x2a8)](_0x70fa09);}}));}},_0x3d69f7[_0x40f901(0x2a1)]=_0x40c381([_0x23c64b(0x0,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x17d)])),_0x23c64b(0x1,_0xc67125[_0x40f901(0x354)]),_0x23c64b(0x2,_0xc67125[_0x40f901(0x2b6)](_0xc67125['LifecycleService'])),_0x23c64b(0x3,_0xc67125['IConfigService']),_0x23c64b(0x4,_0xc67125[_0x40f901(0x268)]),_0x23c64b(0x5,_0xc67125['Inject'](_0xc67125[_0x40f901(0x22b)]))],_0x3d69f7[_0x40f901(0x2a1)]);const _0x2f9396={0x0:{0x0:{'v':'filter','s':_0x2d51ba}},0x2:{0x1:{'v':'','s':_0x2d51ba},0x2:{'v':'','s':_0x2d51ba},0x3:{'v':_0x40f901(0x34f),'s':_0x2d51ba},0x4:{'v':'','s':_0x2d51ba},0x5:{'v':'','s':_0x2d51ba}},0x3:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0x4:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0x5:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0x6:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0x7:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0x8:{0x0:{'v':_0x40f901(0x166),'s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':_0x40f901(0x2d9),'s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0x9:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0xa:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0xb:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0xc:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}},0xd:{0x0:{'v':'','s':_0x2d51ba},0x1:{'v':'','s':_0x429bed},0x2:{'v':'','s':_0x429bed},0x3:{'v':'','s':_0x429bed},0x4:{'v':'','s':_0x429bed},0x5:{'v':'','s':_0x429bed}}},_0x1f3b0f={'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':[]},_0x2f497b=(_0x368b3d,_0x2f3d8f)=>{const _0x190040=_0x40f901,_0x4d1ecd=new _0xc67125[(_0x190040(0x25f))](),_0x311c42=new _0xc67125[(_0x190040(0x25f))](_0x2f9396),{row:_0x30055f,col:_0x37047e}=_0x2f3d8f;_0x311c42[_0x190040(0x181)]((_0x9709df,_0x9fff2c,_0x125cf5)=>{const _0x15ae36=_0x190040;let _0x4b9c32='';_0x125cf5['v']===_0x15ae36(0x245)?_0x4b9c32=_0x368b3d['filter']:_0x125cf5['v']===_0x15ae36(0x166)?_0x4b9c32=_0x368b3d[_0x15ae36(0x166)]:_0x125cf5['v']==='column'?_0x4b9c32=_0x368b3d[_0x15ae36(0x34f)]:_0x125cf5['v']==='values'&&(_0x4b9c32=_0x368b3d['values']),_0x4d1ecd['setValue'](_0x9709df+_0x30055f,_0x9fff2c+_0x37047e,{..._0x125cf5,'v':_0x4b9c32});});const _0x244fcd=_0xc67125[_0x190040(0x1fa)][_0x190040(0x2cf)](_0x1f3b0f);return Object[_0x190040(0xe6)](_0x1f3b0f)[_0x190040(0x336)](_0x43deaf=>{const _0x5656d6=_0x190040;_0x244fcd[_0x43deaf]=_0x1f3b0f[_0x43deaf][_0x5656d6(0x2f3)](_0x3edbc3=>({..._0x3edbc3,'startRow':_0x3edbc3[_0x5656d6(0x2eb)]+_0x30055f,'endRow':_0x3edbc3[_0x5656d6(0x1f0)]+_0x30055f,'startColumn':_0x3edbc3[_0x5656d6(0x123)]+_0x37047e,'endColumn':_0x3edbc3[_0x5656d6(0x107)]+_0x37047e}));}),{'matrixCache':_0x4d1ecd,'rangesCache':_0x244fcd};};function _0x3f6e25(_0x52e23b,_0x4a3060){const _0x2d2a31=_0x40f901;let _0x3e19f8='';const _0x45b18e=this[_0x2d2a31(0x2be)]();switch(_0x4a3060){case _0x504249[_0x2d2a31(0x36c)][_0x2d2a31(0x344)]:_0x3e19f8=_0x45b18e[_0x2d2a31(0x247)]+_0x52e23b;break;case _0x504249[_0x2d2a31(0x36c)][_0x2d2a31(0x16c)]:_0x3e19f8=_0x45b18e[_0x2d2a31(0x308)]+_0x52e23b;break;case _0x504249['PivotSubtotalTypeEnum'][_0x2d2a31(0x23f)]:_0x3e19f8=_0x45b18e[_0x2d2a31(0x390)]+_0x52e23b;break;case _0x504249[_0x2d2a31(0x36c)]['max']:_0x3e19f8=_0x45b18e[_0x2d2a31(0x270)]+_0x52e23b;break;case _0x504249['PivotSubtotalTypeEnum']['min']:_0x3e19f8=_0x45b18e['sheets-pivot.minName']+_0x52e23b;break;case _0x504249['PivotSubtotalTypeEnum'][_0x2d2a31(0x139)]:_0x3e19f8=_0x45b18e[_0x2d2a31(0x2ba)]+_0x52e23b;break;case _0x504249[_0x2d2a31(0x36c)][_0x2d2a31(0xed)]:_0x3e19f8=_0x45b18e['sheets-pivot.stdDevName']+_0x52e23b;break;case _0x504249[_0x2d2a31(0x36c)]['stdDevp']:_0x3e19f8=_0x45b18e[_0x2d2a31(0x388)]+_0x52e23b;break;case _0x504249[_0x2d2a31(0x36c)][_0x2d2a31(0x157)]:_0x3e19f8=_0x45b18e[_0x2d2a31(0xc9)]+_0x52e23b;break;case _0x504249[_0x2d2a31(0x36c)]['var']:_0x3e19f8=_0x45b18e[_0x2d2a31(0x156)]+_0x52e23b;break;case _0x504249[_0x2d2a31(0x36c)][_0x2d2a31(0xf6)]:_0x3e19f8=_0x45b18e['sheets-pivot.varpName']+_0x52e23b;break;default:_0x3e19f8=_0x52e23b;break;}return _0x3e19f8;}function _0x5723dd(_0x3ba2fa,_0x45e95b,_0x4b3daa,_0x5e7e69,_0x23f51c){const _0x566433=_0x40f901;var _0x5bf9d9,_0x5c75d0,_0x4144af,_0x54108f,_0x3d8a01;const _0x5d2e06=_0xc67125[_0x566433(0x2a9)](_0x3ba2fa,_0x45e95b),{rangesInfo:_0x416eaa,areaInfo:_0x20c70f,headerMap:_0x4be2f0}=_0x23f51c;if(!_0x416eaa||!_0x20c70f||!_0x4be2f0)return;const _0x2a726c=Object[_0x566433(0xe6)](_0x416eaa)[_0x566433(0x189)](_0x44c2af=>_0x416eaa[_0x44c2af][_0x566433(0xc5)](_0x345404=>_0xc67125[_0x566433(0x30f)]['contains'](_0x345404,_0x5d2e06))),_0x4a365c=_0x20c70f;let _0x5b93ae,_0x195b14,_0x398655;if(_0x2a726c===_0x566433(0x2ac))_0x5b93ae=(_0x5bf9d9=_0x4a365c==null?void 0x0:_0x4a365c[_0x566433(0x136)])==null?void 0x0:_0x5bf9d9[_0x3ba2fa],_0x195b14=(_0x5c75d0=_0x4be2f0==null?void 0x0:_0x4be2f0['rowHeaderMap'])==null?void 0x0:_0x5c75d0[_0x45e95b],_0x398655=_0x195b14==null?void 0x0:_0x195b14[_0x566433(0x2e6)];else{if(_0x2a726c==='colRanges')_0x5b93ae=(_0x4144af=_0x4a365c==null?void 0x0:_0x4a365c[_0x566433(0x2f5)])==null?void 0x0:_0x4144af[_0x45e95b],_0x195b14=(_0x54108f=_0x4be2f0[_0x566433(0xfb)])==null?void 0x0:_0x54108f[_0x3ba2fa+0x1+_0x45e95b-_0x416eaa[_0x566433(0x366)][0x0]['startColumn']],_0x398655=_0x195b14==null?void 0x0:_0x195b14['tableFieldId'];else{if(_0x2a726c===_0x566433(0x2b1))_0x5b93ae=(_0x3d8a01=_0x4a365c==null?void 0x0:_0x4a365c['cornerInfo'])==null?void 0x0:_0x3d8a01[_0x45e95b],_0x398655=_0x5b93ae==null?void 0x0:_0x5b93ae[_0x566433(0x2e6)];else{if(_0x2a726c===_0x566433(0x38d)){const _0x26c601=_0x4b3daa==null?void 0x0:_0x4b3daa['fi'];_0x26c601!==void 0x0&&(_0x398655=_0x5e7e69[_0x566433(0xe9)](_0x26c601));}}}}return{'filterId':_0x398655,'info':_0x5b93ae,'data':_0x4b3daa,'headerInfo':_0x195b14};}function _0xe83065(_0x37ae9d,_0x5dbce2,_0x498d9d){const _0x1a1342=_0x40f901,_0x16cc01=_0x37ae9d[_0x1a1342(0xdd)],_0x539ad7=_0x16cc01[_0x1a1342(0x2c1)](),_0x3c7f9c=new Set();_0x37ae9d['iterateField'](_0x1f7a4d=>{const _0x10e6f4=_0x1a1342;_0x3c7f9c['add'](_0x1f7a4d[_0x10e6f4(0x19b)]);});const _0xe5e718=_0x539ad7[_0x1a1342(0x2f3)](_0x3def98=>{const _0x3318b0=_0x1a1342,_0xd2d2e3=_0x16cc01[_0x3318b0(0x219)](_0x3def98);return{'checked':_0x3c7f9c[_0x3318b0(0xc2)](_0x3def98),'dataFieldId':_0xd2d2e3['id'],'id':_0xd2d2e3['id'],'name':_0x16cc01[_0x3318b0(0x38f)](_0xd2d2e3['id']),'type':_0xd2d2e3[_0x3318b0(0x188)](),'pivotTableId':_0x5dbce2};}),_0x5c0c04=[];_0x37ae9d[_0x1a1342(0x170)](_0x504249[_0x1a1342(0x24d)][_0x1a1342(0xd2)],_0x506cf3=>{const _0x5ebde3=_0x1a1342;_0x5c0c04[_0x5ebde3(0x177)]({'dataFieldId':_0x506cf3[_0x5ebde3(0x19b)],'tableFieldId':_0x506cf3['getId'](),'displayName':_0x506cf3[_0x5ebde3(0x38f)]()});});const _0x3b3bc0=[];_0x37ae9d[_0x1a1342(0x170)](_0x504249[_0x1a1342(0x24d)][_0x1a1342(0x179)],_0x22099b=>{const _0x142232=_0x1a1342;_0x3b3bc0[_0x142232(0x177)]({'dataFieldId':_0x22099b[_0x142232(0x19b)],'tableFieldId':_0x22099b['getId'](),'displayName':_0x22099b[_0x142232(0x38f)]()});});const _0x3d1c5b=[];if(_0x37ae9d[_0x1a1342(0x170)](_0x504249[_0x1a1342(0x24d)][_0x1a1342(0x1dd)],_0x29c27b=>{const _0x166285=_0x1a1342;_0x3d1c5b[_0x166285(0x177)]({'dataFieldId':_0x29c27b[_0x166285(0x19b)],'tableFieldId':_0x29c27b['getId'](),'displayName':_0x29c27b['getDisplayName'](),'format':_0x29c27b[_0x166285(0x32b)](),'subTotalType':_0x29c27b[_0x166285(0x352)]()});}),_0x3d1c5b[_0x1a1342(0x2a3)]>0x1){const _0x5ba6a7=_0x37ae9d[_0x1a1342(0x1eb)]();(_0x37ae9d[_0x1a1342(0x149)]()?_0x3b3bc0:_0x5c0c04)[_0x1a1342(0x1b2)](_0x5ba6a7,0x0,{'dataFieldId':'','tableFieldId':'PivotMultipleValueId','displayName':_0x1a1342(0x264)});}const _0x50ecb0=[];_0x37ae9d['iterateFieldByArea'](_0x504249[_0x1a1342(0x24d)]['Filter'],_0x44ec0c=>{const _0x169f08=_0x1a1342;_0x50ecb0[_0x169f08(0x177)]({'dataFieldId':_0x44ec0c[_0x169f08(0x19b)],'tableFieldId':_0x44ec0c['getId'](),'displayName':_0x44ec0c[_0x169f08(0x38f)]()});});const _0x316408=_0x498d9d[_0x1a1342(0x33d)];return{'sourceList':_0xe5e718,'sourceRange':_0x316408,'rowFields':_0x5c0c04,'columnFields':_0x3b3bc0,'valueFields':_0x3d1c5b,'filterFields':_0x50ecb0,'positionInfo':_0x498d9d[_0x1a1342(0xf4)]};}function _0x2b1b8e(_0x1cab14,_0x5c6acd,_0x1a9e17='',_0x528b7e={}){const _0x525d9f=_0x40f901,_0x67bdc0=_0x1cab14[_0x525d9f(0x21c)](_0xc67125[_0x525d9f(0x29e)]);for(const _0x1416ef in _0x5c6acd)if(Object[_0x525d9f(0x26e)][_0x525d9f(0x2ea)][_0x525d9f(0x37f)](_0x5c6acd,_0x1416ef)){const _0x316f8d=_0x1a9e17?_0x1a9e17+'.'+_0x1416ef:_0x1416ef;typeof _0x5c6acd[_0x1416ef]==_0x525d9f(0x2d0)&&_0x5c6acd[_0x1416ef]!==null&&!Array[_0x525d9f(0x1c9)](_0x5c6acd[_0x1416ef])?_0x2b1b8e(_0x1cab14,_0x5c6acd[_0x1416ef],_0x316f8d,_0x528b7e):_0x528b7e[_0x316f8d]=_0x67bdc0['t'](_0x316f8d);}return _0x528b7e;}const _0x25ec17=_0x2cc3f2=>{const _0x43e88b=_0x40f901;if(!_0x2cc3f2)return[];const {rowRanges:_0x949f93,colRanges:_0x4f6aa0,cornerRanges:_0x209bfc,dataRanges:_0x293424,pageRanges:_0x2f242c}=_0x2cc3f2,_0x1fecb1=[..._0x4f6aa0,..._0x949f93,..._0x293424,..._0x209bfc][_0x43e88b(0x245)](_0x37e827=>_0x37e827[_0x43e88b(0x2eb)]>=0x0&&_0x37e827[_0x43e88b(0x123)]>=0x0&&_0x37e827[_0x43e88b(0x1f0)]>=0x0&&_0x37e827[_0x43e88b(0x107)]>=0x0);let _0x527116=Number[_0x43e88b(0x1da)],_0x1cf6f2=Number[_0x43e88b(0x20c)],_0x17744d=Number['MAX_SAFE_INTEGER'],_0x3b7df6=Number['MIN_SAFE_INTEGER'];for(let _0x3ac21e=0x0;_0x3ac21e<_0x1fecb1[_0x43e88b(0x2a3)];_0x3ac21e++)_0x527116=Math['min'](_0x527116,_0x1fecb1[_0x3ac21e]['startRow']),_0x1cf6f2=Math[_0x43e88b(0x230)](_0x1cf6f2,_0x1fecb1[_0x3ac21e][_0x43e88b(0x1f0)]),_0x17744d=Math[_0x43e88b(0xd0)](_0x17744d,_0x1fecb1[_0x3ac21e][_0x43e88b(0x123)]),_0x3b7df6=Math[_0x43e88b(0x230)](_0x3b7df6,_0x1fecb1[_0x3ac21e][_0x43e88b(0x107)]);return[..._0x2f242c,{'startRow':_0x527116,'endRow':_0x1cf6f2,'startColumn':_0x17744d,'endColumn':_0x3b7df6}];};function _0x55a492(_0x5abcda,_0x10c113){const _0x114383=_0x40f901,_0x4bc51f=_0x10c113[_0x114383(0x1d2)][_0x114383(0x1ae)],{pivotTableId:_0x73d83b,unitId:_0x1f0c54,subUnitId:_0x326f92}=_0x10c113;if(!_0x4bc51f)return;const _0x6b446e=_0x5abcda[_0x114383(0x21c)](_0x3d69f7[_0x114383(0x2a1)]),_0x5ed6de=_0x6b446e[_0x114383(0x32a)](_0x73d83b),_0x2a8c2e=_0x6b446e[_0x114383(0x2b2)](_0x1f0c54,_0x326f92,_0x73d83b);if(!_0x5ed6de||!_0x2a8c2e)return;const _0x2886b2=_0x5ed6de[_0x114383(0x295)](_0x4bc51f[_0x114383(0xc8)]);if(!(_0x2886b2!=null&&_0x2886b2[_0x114383(0x2a3)]))return;const _0x3e0d2b=_0x2a8c2e['sourceRangeInfo'],{unitId:_0x1888e5,subUnitId:_0x1c239c,range:_0x1e8b9d}=_0x3e0d2b;let _0xb39b60=0x0;const _0x42a524=_0x5ed6de[_0x114383(0xdd)][_0x114383(0x2c1)]()[_0x114383(0x167)]((_0x251f1d,_0x11e2aa)=>{const _0x32e49f=_0x114383;var _0x231544;const _0x25793c=(_0x231544=_0x5ed6de[_0x32e49f(0x234)](_0x11e2aa))==null?void 0x0:_0x231544['getformat']();return _0x25793c&&(_0x251f1d[String(_0xb39b60)]=_0x25793c),_0xb39b60++,_0x251f1d;},{});return{'indexes':_0x2886b2,'range':_0x1e8b9d,'sourceUnitId':_0x1888e5,'sourceSubUnitId':_0x1c239c,'formatMap':_0x42a524};}function _0x143deb(_0x1bb4f9,_0x5424bc){const _0x4a6101=_0x40f901;if(!_0x1bb4f9||!_0x5424bc)return!0x0;const _0x3632cf=_0x11e7af[_0x4a6101(0x36e)](_0x4d9579,_0xdd96ad),_0xfc4d44=new Function('return\x20'+_0x3632cf)()(_0x1bb4f9,_0x5424bc)[_0x4a6101(0x398)],_0x8b3cfb=_0x11e7af[_0x4a6101(0x339)](_0xfc4d44,'sf',_0x42eb87);return!((_0xfc4d44==null?void 0x0:_0xfc4d44['rt'])===_0x11e7af[_0x4a6101(0xe5)]['NO_COMMERCIAL']&&!_0x8b3cfb);}function _0x732cb6(_0x14434b,_0x1ac172,_0x2726ff){const _0x257827=_0x40f901,_0x17a710={'count':_0x14434b,'timeValid':!0x1};if(!_0x1ac172||!_0x2726ff)return _0x17a710;const _0x17082c=_0x11e7af[_0x257827(0x36e)](_0x4d9579,_0xdd96ad),_0x5515ef=new Function('return\x20'+_0x17082c)()(_0x1ac172,_0x2726ff);if(_0x5515ef!=null&&_0x5515ef[_0x257827(0x29f)]){const _0x57bca4=_0x5515ef[_0x257827(0x398)],_0x9502f9=_0x11e7af[_0x257827(0x339)](_0x57bca4,'sf',_0x42eb87);return{'count':_0x11e7af['getSheetFeatureLimit'](_0x57bca4,_0x9502f9,_0x257827(0x1aa),_0x14434b,_0x14434b,0x0),'timeValid':_0x9502f9};}return _0x17a710;}function _0x56e4dc(_0x302b47,_0x4ff8e9,_0x29d3ff,_0x4d85e4){const _0x90eade=_0x40f901,_0x227d25={'subUnitId':_0x29d3ff,'unitId':_0x4ff8e9,'cellValue':_0x96765f[_0x90eade(0x300)](_0x4d85e4)},_0x214034=_0x96765f[_0x90eade(0x276)](_0x302b47,_0x227d25);let _0x294f58=!0x1;return new _0xc67125['ObjectMatrix'](_0x214034[_0x90eade(0x23e)])['forValue']((_0x182153,_0x2f971d,_0x4c9c05)=>{if(!_0x294f58&&_0x4c9c05&&(_0x4c9c05['custom']||_0x4c9c05['f']||_0x4c9c05['p']||_0x4c9c05['s']||_0x4c9c05['si']||_0x4c9c05['t']||_0x4c9c05['v']))return _0x294f58=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x96765f[_0x90eade(0x2d7)]['id'],'params':_0x214034},'setRangeValueRedoMutation':{'id':_0x96765f[_0x90eade(0x2d7)]['id'],'params':_0x227d25},'shouldClear':_0x294f58};}function _0x3e219f(_0x16491f){const {row:_0x66fde6,col:_0x239f6f}=_0x16491f,_0xa4856c={'startRow':_0x66fde6,'endRow':_0x66fde6,'startColumn':_0x239f6f,'endColumn':_0x239f6f},_0x18c979={'startRow':_0x66fde6+0x2,'endRow':_0x66fde6+0xe,'startColumn':_0x239f6f,'endColumn':_0x239f6f+0x6};return[_0xa4856c,_0x18c979];}function _0x56ed4b(_0x494198,_0x1cb4ce,_0x35534a){const _0x4a17da=_0x40f901,{cornerView:_0x3b4238,rowView:_0x3a4e09,colView:_0x463f9a,pageView:_0x3bffa6}=_0x494198,{row:_0x41f6c2,col:_0xc25f35}=_0x1cb4ce;if(_0x35534a)return{'rowCount':_0x2e3324+_0x41f6c2,'colCount':_0x5a8e49+_0xc25f35};const _0x49db53=_0x3bffa6[_0x4a17da(0x278)]>-0x1?_0x3bffa6['lastRow']+0x1:0x0,_0x364198=_0x3bffa6[_0x4a17da(0x3a1)]>-0x1?_0x3bffa6[_0x4a17da(0x3a1)]:0x0,_0x1ae6cd=_0x41f6c2+_0x49db53+(_0x49db53?0x1:0x0)+_0x3b4238[_0x4a17da(0x363)]+_0x3a4e09[_0x4a17da(0x363)],_0x41f681=_0xc25f35+_0x364198,_0x25130e=_0xc25f35+_0x3b4238['colCount']+_0x463f9a['colCount'],_0x41bc41=Math[_0x4a17da(0x230)](_0x41f681,_0x25130e);return{'rowCount':_0x1ae6cd,'colCount':_0x41bc41};}function _0xbd6473(_0x29a0d1,_0x4fcd45,_0x5e1d04,_0x2b8c9b){const _0x525cd3=_0x40f901,{row:_0x36de4b,col:_0x5f1b5a,unitId:_0x4d056a,subUnitId:_0x3a4516}=_0x5e1d04,_0x480968=_0x56ed4b(_0x4fcd45,{'row':_0x36de4b,'col':_0x5f1b5a},_0x2b8c9b),_0x7b568c=_0x29a0d1[_0x525cd3(0x21c)](_0xc67125[_0x525cd3(0x354)]),_0x1cceae=_0x96765f[_0x525cd3(0x105)](_0x7b568c,{'unitId':_0x4d056a,'subUnitId':_0x3a4516}),_0x4c1910=[],_0x46c75b=[];if(!_0x1cceae)return{'undos':_0x46c75b,'redos':_0x4c1910};const {worksheet:_0x4e17f3}=_0x1cceae,_0x41335d=_0x4e17f3[_0x525cd3(0x396)](),_0x3cc86c=_0x4e17f3[_0x525cd3(0x101)]();return _0x41335d<_0x480968[_0x525cd3(0x363)]&&(_0x4c1910['push']({'id':_0x96765f[_0x525cd3(0x164)]['id'],'params':{'unitId':_0x4d056a,'subUnitId':_0x3a4516,'range':{'startRow':_0x41335d,'endRow':_0x480968[_0x525cd3(0x363)]-0x1,'startColumn':0x0,'endColumn':_0x3cc86c-0x1}}}),_0x46c75b['push']({'id':_0x96765f['RemoveRowMutation']['id'],'params':{'unitId':_0x4d056a,'subUnitId':_0x3a4516,'range':{'startRow':_0x41335d,'endRow':_0x480968[_0x525cd3(0x363)]-0x1,'startColumn':0x0,'endColumn':_0x3cc86c-0x1}}})),_0x3cc86c<_0x480968[_0x525cd3(0x138)]&&(_0x4c1910['push']({'id':_0x96765f['InsertColMutation']['id'],'params':{'unitId':_0x4d056a,'subUnitId':_0x3a4516,'range':{'startRow':0x0,'endRow':_0x41335d-0x1,'startColumn':_0x3cc86c,'endColumn':_0x480968[_0x525cd3(0x138)]-0x1}}}),_0x46c75b['push']({'id':_0x96765f[_0x525cd3(0x316)]['id'],'params':{'unitId':_0x4d056a,'subUnitId':_0x3a4516,'range':{'startRow':0x0,'endRow':_0x41335d-0x1,'startColumn':_0x3cc86c,'endColumn':_0x480968[_0x525cd3(0x138)]-0x1}}})),{'undos':_0x46c75b,'redos':_0x4c1910};}function _0x311bc(_0x5e3a45){const _0x4bbb5a=_0x40f901;let _0xe5bd8=0x0;for(let _0x549da2=0x0;_0x549da2<_0x5e3a45[_0x4bbb5a(0x2a3)];_0x549da2++){const _0x23f416=_0x5e3a45[_0x4bbb5a(0x207)](_0x549da2);_0x23f416>=0x4e00&&_0x23f416<=0x9fff||_0x23f416>=0x3000&&_0x23f416<=0x303f||_0x23f416>=0xff00&&_0x23f416<=0xffef?_0xe5bd8+=0x2:_0xe5bd8+=0x1;}return _0xe5bd8;}function _0x318cab(_0x2684d2,_0x2cc301,_0x2c71d6,_0x52067a){const _0x35232a=_0x40f901;var _0x19c37d,_0x30c1ca,_0x3568a5,_0x12bc83;const {rowCount:_0x524088,colCount:_0x158d1d,headerMap:_0xfdad60}=_0x2684d2,_0x5a7f4b=0x64,_0x183a5a=Math[_0x35232a(0xd0)](_0x524088,_0x5a7f4b),_0x57c8b9=Math[_0x35232a(0xd0)](_0x158d1d,_0x5a7f4b);let _0x3c4b03='',_0x53d3b5=0x0;for(let _0x28a505=0x0;_0x28a505<_0x183a5a;_0x28a505++)for(let _0x21523f=0x0;_0x21523f<_0x57c8b9;_0x21523f++){const _0x46666d={...(_0x30c1ca=(_0x19c37d=_0x2684d2[_0x35232a(0xe3)])==null?void 0x0:_0x19c37d[_0x28a505])==null?void 0x0:_0x30c1ca[_0x21523f]},_0x10fb6f=(_0x3568a5=_0xfdad60[_0x28a505])==null?void 0x0:_0x3568a5[_0x35232a(0x2e6)],_0x4254e7=_0x52067a[_0x10fb6f];let _0x247e40=_0x2684d2[_0x35232a(0x31a)](_0x28a505,_0x21523f);if(_0x46666d){const _0x4b38a7=_0x2c71d6?_0x21523f===0x0&&((_0x12bc83=_0x2684d2['getHeaderMapItem'](_0x21523f+0x1))==null?void 0x0:_0x12bc83[_0x35232a(0x306)]):!0x1;_0x247e40=_0x57b48f(_0x46666d,_0x4b38a7,_0x4254e7,_0x2cc301);}if(_0x247e40!==void 0x0){const _0xdd17d0=_0x311bc(String(_0x247e40));_0x53d3b5<_0xdd17d0&&(_0x3c4b03=String(_0x247e40),_0x53d3b5=_0xdd17d0);}}return _0x3c4b03;}function _0x5b5c55(_0x8ce190){const _0x19c136=_0x40f901,{rowCount:_0x1dc394,colCount:_0x3d6557}=_0x8ce190;let _0x3f91e3='',_0x21e35c=0x0;for(let _0x550d7c=_0x1dc394-0x1;_0x550d7c>0x0&&_0x550d7c>_0x1dc394-0x3;_0x550d7c--)for(let _0xd200bb=0x0;_0xd200bb<_0x3d6557;_0xd200bb++){const _0x1f552b=_0x8ce190[_0x19c136(0x31a)](_0x550d7c,_0xd200bb);if(_0x1f552b!==void 0x0){const _0x87bb91=String(_0x1f552b)[_0x19c136(0x2a3)];_0x21e35c<_0x87bb91&&(_0x3f91e3=String(_0x1f552b),_0x21e35c=_0x87bb91);}}return _0x3f91e3;}function _0x39f0aa(_0x15d9ca){const _0x2b9955=_0x40f901,{rowCount:_0x1b1bd8,colCount:_0x150b6b}=_0x15d9ca;let _0x1a6f18='',_0x2a0981=0x0;for(let _0x4996cd=0x0;_0x4996cd<_0x1b1bd8;_0x4996cd++)for(let _0x2faa00=0x0;_0x2faa00<_0x150b6b;_0x2faa00++){const _0x1b4f6a=_0x15d9ca[_0x2b9955(0x31a)](_0x4996cd,_0x2faa00);if(_0x1b4f6a!==void 0x0){const _0x18d562=String(_0x1b4f6a)[_0x2b9955(0x2a3)];_0x2a0981<_0x18d562&&(_0x1a6f18=String(_0x1b4f6a),_0x2a0981=_0x18d562);}}return _0x1a6f18;}function _0x56d1c7(_0x5090de,_0x43a3bd){const _0x351334=_0x40f901,{rowFields:_0x92ce96,columnFields:_0x5f2e66,valueFields:_0x1f7a01,filterFields:_0x5d81f3,dimension:_0x9e1c6d,measure:_0x287a42}=_0x43a3bd;for(const _0x36e4c3 of _0x92ce96){const _0x271edd=_0x9e1c6d[_0x36e4c3];_0x271edd&&_0x5090de[_0x351334(0x234)](_0x271edd[_0x351334(0x19b)])&&(_0x5090de['addFieldWithSourceId'](_0x271edd[_0x351334(0x19b)],_0x504249[_0x351334(0x24d)][_0x351334(0xd2)],void 0x0,_0x36e4c3),_0x271edd[_0x351334(0x1bb)]&&_0x5090de['renameField'](_0x271edd['id'],_0x271edd[_0x351334(0x1bb)]),_0x271edd[_0x351334(0x15b)]&&_0x5090de[_0x351334(0x1de)](_0x271edd['id'],_0x271edd[_0x351334(0x15b)]),_0x271edd[_0x351334(0x39b)]&&_0x5090de[_0x351334(0x2f1)](_0x271edd['id'],_0x271edd[_0x351334(0x39b)]));}for(const _0x2f0743 of _0x5f2e66){const _0x749984=_0x9e1c6d[_0x2f0743];_0x749984&&_0x5090de[_0x351334(0x234)](_0x749984[_0x351334(0x19b)])&&(_0x5090de[_0x351334(0x121)](_0x749984[_0x351334(0x19b)],_0x504249[_0x351334(0x24d)][_0x351334(0x179)],void 0x0,_0x2f0743),_0x749984[_0x351334(0x15b)]&&_0x5090de['setSortInfo'](_0x749984['id'],_0x749984[_0x351334(0x15b)]),_0x749984[_0x351334(0x39b)]&&_0x5090de['setLabelFilterInfo'](_0x749984['id'],_0x749984[_0x351334(0x39b)]),_0x749984[_0x351334(0x1bb)]&&_0x5090de[_0x351334(0x297)](_0x749984['id'],_0x749984[_0x351334(0x1bb)]));}for(const _0x4b0762 of _0x5d81f3){const _0x4b78db=_0x9e1c6d[_0x4b0762];_0x4b78db&&_0x5090de[_0x351334(0x234)](_0x4b78db['dataFieldId'])&&(_0x5090de[_0x351334(0x121)](_0x4b78db[_0x351334(0x19b)],_0x504249[_0x351334(0x24d)][_0x351334(0x143)],void 0x0,_0x4b0762),_0x4b78db['sortInfo']&&_0x5090de[_0x351334(0x1de)](_0x4b78db['id'],_0x4b78db[_0x351334(0x15b)]),_0x4b78db[_0x351334(0x39b)]&&_0x5090de['setLabelFilterInfo'](_0x4b78db['id'],_0x4b78db[_0x351334(0x39b)]),_0x4b78db[_0x351334(0x1bb)]&&_0x5090de['renameField'](_0x4b78db['id'],_0x4b78db[_0x351334(0x1bb)]));}for(const _0x543ad6 of _0x1f7a01){const _0x32b6c8=_0x287a42[_0x543ad6];_0x32b6c8&&_0x5090de[_0x351334(0x234)](_0x32b6c8['dataFieldId'])&&(_0x5090de['addFieldWithSourceId'](_0x32b6c8[_0x351334(0x19b)],_0x504249['PivotTableFiledAreaEnum'][_0x351334(0x1dd)],void 0x0,_0x543ad6),_0x32b6c8['subtotal']!==void 0x0&&_0x5090de[_0x351334(0x191)](_0x543ad6,_0x32b6c8[_0x351334(0x27b)]),_0x32b6c8[_0x351334(0x1c2)]&&_0x5090de[_0x351334(0x243)](_0x543ad6,_0x32b6c8['format']),_0x32b6c8[_0x351334(0x1bb)]&&_0x5090de['renameField'](_0x32b6c8['id'],_0x32b6c8[_0x351334(0x1bb)]));}const _0x4588b5=_0x43a3bd[_0x351334(0x208)];for(const {fieldId:_0x4c8b48,filterInfo:_0x5f10f7}of _0x4588b5)_0x5090de['setValueFilterInfo'](_0x4c8b48,_0x5f10f7);}function _0x572315(_0x16a85c,_0x44135a){const _0x190486=_0x40f901,_0x4cc793=[];_0x44135a===_0x504249[_0x190486(0x24d)][_0x190486(0xd2)]&&_0x16a85c[_0x190486(0x170)](_0x504249[_0x190486(0x24d)]['Row'],_0x3234f5=>{const _0x44f9c1=_0x190486;_0x4cc793[_0x44f9c1(0x177)](_0x3234f5[_0x44f9c1(0x318)]());}),_0x44135a===_0x504249[_0x190486(0x24d)][_0x190486(0x179)]&&_0x16a85c[_0x190486(0x170)](_0x504249['PivotTableFiledAreaEnum']['Column'],_0x2a342d=>{const _0x5c47bf=_0x190486;_0x4cc793[_0x5c47bf(0x177)](_0x2a342d[_0x5c47bf(0x318)]());}),_0x44135a===_0x504249['PivotTableFiledAreaEnum']['Filter']&&_0x16a85c['iterateFieldByArea'](_0x504249['PivotTableFiledAreaEnum'][_0x190486(0x143)],_0x1d7655=>{const _0xe06efa=_0x190486;_0x4cc793['push'](_0x1d7655[_0xe06efa(0x318)]());}),_0x44135a===_0x504249[_0x190486(0x24d)][_0x190486(0x1dd)]&&_0x16a85c[_0x190486(0x170)](_0x504249['PivotTableFiledAreaEnum'][_0x190486(0x1dd)],_0xf5d492=>{const _0x53c067=_0x190486;_0x4cc793[_0x53c067(0x177)](_0xf5d492[_0x53c067(0x318)]());}),_0x44135a===void 0x0&&_0x16a85c[_0x190486(0x287)](_0x34296c=>{const _0x4171c2=_0x190486;_0x4cc793[_0x4171c2(0x177)](_0x34296c[_0x4171c2(0x318)]());});const _0x5a1147=_0x4cc793[_0x190486(0x2a3)];for(let _0x197b6f=_0x5a1147-0x1;_0x197b6f>=0x0;_0x197b6f--)_0x16a85c['removeField'](_0x4cc793[_0x197b6f]);const _0x3b2779=_0x16a85c[_0x190486(0x1f6)]();for(const _0xa17da8 in _0x3b2779)_0x16a85c[_0x190486(0x298)](_0xa17da8);}const _0x100ecc='sheets-pivot.config',_0x1d2d78={};var _0x26a162=Object[_0x40f901(0x175)],_0x58b856=(_0x543143,_0x5d02ea,_0x376976,_0x101c9d)=>{for(var _0x2cf4e0=_0x101c9d>0x1?void 0x0:_0x101c9d?_0x26a162(_0x5d02ea,_0x376976):_0x5d02ea,_0x45c3c1=_0x543143['length']-0x1,_0x428e08;_0x45c3c1>=0x0;_0x45c3c1--)(_0x428e08=_0x543143[_0x45c3c1])&&(_0x2cf4e0=_0x428e08(_0x2cf4e0)||_0x2cf4e0);return _0x2cf4e0;},_0x416fc3=(_0x1d3fe4,_0x49e5e6)=>(_0x2680cd,_0x12314d)=>_0x49e5e6(_0x2680cd,_0x12314d,_0x1d3fe4);_0x3d69f7[_0x40f901(0x1ad)]=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x15b6ec,_0x49df1f,_0x496574,_0x338a4a,_0x1d5d91){const _0x444bce=_0x40f901;super(),_0x1bae1e(this,_0x444bce(0x311),new Map()),_0x1bae1e(this,'_collectionConfigModel',new Map()),_0x1bae1e(this,_0x444bce(0x22c),new Map()),_0x1bae1e(this,_0x444bce(0x384),new Map()),_0x1bae1e(this,_0x444bce(0x197),new _0x158b3c[(_0x444bce(0x346))]()),_0x1bae1e(this,_0x444bce(0x160),new _0x158b3c[(_0x444bce(0x346))]()),_0x1bae1e(this,_0x444bce(0xda),this[_0x444bce(0x160)]['asObservable']()),_0x1bae1e(this,_0x444bce(0x30b),new _0x158b3c[(_0x444bce(0x346))]()),_0x1bae1e(this,'pivotConfigChange$',this[_0x444bce(0x30b)][_0x444bce(0x37d)]()),_0x1bae1e(this,_0x444bce(0x109),{}),_0x1bae1e(this,_0x444bce(0x2ab),this[_0x444bce(0x197)][_0x444bce(0x37d)]()),(this[_0x444bce(0x15c)]=_0x15b6ec,this[_0x444bce(0x2c8)]=_0x49df1f,this[_0x444bce(0x2cd)]=_0x496574,this['_resourceManagerService']=_0x338a4a,this[_0x444bce(0x1ba)]=_0x1d5d91,this[_0x444bce(0xc6)](),this[_0x444bce(0x159)]());const _0x40da0f=this[_0x444bce(0x1ba)][_0x444bce(0x272)](_0x100ecc);(_0x40da0f==null?void 0x0:_0x40da0f[_0x444bce(0x24e)])===!0x0&&this[_0x444bce(0x15a)]();}[_0x40f901(0x159)](){const _0x324077=_0x40f901;this[_0x324077(0x2c9)](this['_univerInstanceService'][_0x324077(0x1a8)](_0xc67125[_0x324077(0x32f)][_0x324077(0x35c)])[_0x324077(0x1a7)](_0x14bcb1=>{const _0x5d8691=_0x324077;this['deleteUnitId'](_0x14bcb1[_0x5d8691(0x1b9)]());}));}[_0x40f901(0x2c7)](){const _0x1aa9b3=_0x40f901;this[_0x1aa9b3(0x160)]['next'](!0x0);}[_0x40f901(0xc6)](){const _0x5bc7ba=_0x40f901,_0x55c41c=_0x2b1b8e(this[_0x5bc7ba(0x15c)],_0x2b428b,'',{});this['_textInfo']=_0x55c41c,this['_commandService'][_0x5bc7ba(0x312)](_0xaef0b2['id'],{'textInfo':_0x55c41c},{'onlyLocal':!0x0});}[_0x40f901(0x2be)](){return this['_textInfo'];}[_0x40f901(0x301)](_0x50e49c,_0x52bb08,_0x44851a,_0x2a22dc,_0xf7c3a8){const _0x4692a9=_0x40f901;this[_0x4692a9(0x351)](_0x50e49c,_0x52bb08,_0x44851a,_0x2a22dc),this[_0x4692a9(0xf1)](_0x50e49c,_0x52bb08,_0x44851a,_0xf7c3a8);}[_0x40f901(0x2b2)](_0x34a2d1,_0x17281b,_0x272c73){const _0x4b9d57=_0x40f901;var _0x4134a5;const _0x36968d=(_0x4134a5=this[_0x4b9d57(0x311)][_0x4b9d57(0x21c)](_0x34a2d1))==null?void 0x0:_0x4134a5[_0x4b9d57(0x21c)](_0x17281b);if(_0x36968d)return _0x36968d[_0x4b9d57(0x21c)](_0x272c73);}[_0x40f901(0x11a)](_0x1811f6,_0x52083e){const _0x5e3af4=_0x40f901,_0x534f69=this[_0x5e3af4(0x311)][_0x5e3af4(0x21c)](_0x1811f6);if(_0x534f69){for(const [_0xeaa1d,_0x5aa1f]of _0x534f69[_0x5e3af4(0x135)]())for(const [_0x1f5c6e,_0x39b442]of _0x5aa1f[_0x5e3af4(0x135)]())if(_0x1f5c6e===_0x52083e)return _0x39b442[_0x5e3af4(0xf4)];}}['getTargetByPivotId'](_0x2e628b,_0x35c76d,_0x42f681){const _0x542b07=this['getPivotTableConfig'](_0x2e628b,_0x35c76d,_0x42f681);return _0x542b07==null?void 0x0:_0x542b07['targetCellInfo'];}[_0x40f901(0x16e)](_0x55a6ca,_0x33119a){const _0x3788cc=_0x40f901;var _0x31de14;return(_0x31de14=this[_0x3788cc(0x311)][_0x3788cc(0x21c)](_0x55a6ca))==null?void 0x0:_0x31de14[_0x3788cc(0x21c)](_0x33119a);}[_0x40f901(0x20e)](_0x1fcf8c,_0x1168f2,_0x46b552,_0x1feefa){const _0x1f43ac=_0x40f901,_0x4f61b7=this[_0x1f43ac(0xc7)](_0x1fcf8c,_0x1168f2);_0x1feefa?_0x4f61b7[_0x1f43ac(0x24a)](_0x46b552,_0x1feefa):_0x4f61b7[_0x1f43ac(0x32c)](_0x46b552),this[_0x1f43ac(0x30b)][_0x1f43ac(0x1f5)]({'unitId':_0x1fcf8c,'subUnitId':_0x1168f2,'pivotTableId':_0x46b552,'pivotTableConfig':_0x1feefa});}[_0x40f901(0x183)](_0x29f847,_0x4559bd){const _0x25b142=_0x40f901;var _0x588123;return(_0x588123=this[_0x25b142(0x11c)][_0x25b142(0x21c)](_0x29f847))==null?void 0x0:_0x588123[_0x25b142(0x2b8)][_0x4559bd];}[_0x40f901(0x1cf)](_0x23b11b,_0xabb8fb){const _0x5b6c02=_0x40f901;this['_collectionConfigModel']['set'](_0x23b11b,_0xabb8fb),this[_0x5b6c02(0x197)][_0x5b6c02(0x1f5)](Math[_0x5b6c02(0x29c)]());}[_0x40f901(0xc7)](_0x494da7,_0x4006cb){const _0x5b5d88=_0x40f901;let _0x10a7a1=this[_0x5b5d88(0x311)][_0x5b5d88(0x21c)](_0x494da7);_0x10a7a1||(_0x10a7a1=new Map(),this['_model'][_0x5b5d88(0x24a)](_0x494da7,_0x10a7a1));let _0x3e4a9a=_0x10a7a1['get'](_0x4006cb);return _0x3e4a9a||(_0x3e4a9a=new Map(),_0x10a7a1[_0x5b5d88(0x24a)](_0x4006cb,_0x3e4a9a)),_0x3e4a9a;}[_0x40f901(0x382)](_0x1434d9,_0xb01cd6){const _0x332b34=_0x40f901;let _0x395b7a=this[_0x332b34(0x22c)][_0x332b34(0x21c)](_0x1434d9);_0x395b7a||(_0x395b7a=new Map(),this[_0x332b34(0x22c)][_0x332b34(0x24a)](_0x1434d9,_0x395b7a));let _0x44e2ba=_0x395b7a[_0x332b34(0x21c)](_0xb01cd6);return _0x44e2ba||(_0x44e2ba=new Map(),_0x395b7a[_0x332b34(0x24a)](_0xb01cd6,_0x44e2ba)),_0x44e2ba;}[_0x40f901(0x1c7)](_0x3ad90f,_0x349a8c){const _0x3b22ab=_0x40f901;let _0x9a6c9d=this[_0x3b22ab(0x384)][_0x3b22ab(0x21c)](_0x3ad90f);_0x9a6c9d||(_0x9a6c9d=new Map(),this[_0x3b22ab(0x384)][_0x3b22ab(0x24a)](_0x3ad90f,_0x9a6c9d));let _0x25a982=_0x9a6c9d[_0x3b22ab(0x21c)](_0x349a8c);return _0x25a982||(_0x25a982=new Map(),_0x9a6c9d[_0x3b22ab(0x24a)](_0x349a8c,_0x25a982)),_0x25a982;}['updatePivotTableRangeInfo'](_0x5d826e,_0x3722dd,_0x21e671,_0x2a17b6){const _0x356267=_0x40f901;var _0x3346f3;const _0x1f270b=this[_0x356267(0x382)](_0x5d826e,_0x3722dd),_0x29b06e=(_0x3346f3=_0x1f270b[_0x356267(0x21c)](_0x21e671))==null?void 0x0:_0x3346f3[_0x356267(0x38b)];_0x1f270b[_0x356267(0x24a)](_0x21e671,{'oldRangeInfo':_0x29b06e,'rangeInfo':_0x2a17b6});}[_0x40f901(0x351)](_0x2db5c2,_0x1eb5bc,_0x48ed4d,_0x4735da){const _0x28ea1b=_0x40f901;var _0x19eb53;const _0x5c8fa0=this['_ensurePivotTableMatrixInfo'](_0x2db5c2,_0x1eb5bc),_0x55cb35=(_0x19eb53=_0x5c8fa0[_0x28ea1b(0x21c)](_0x48ed4d))==null?void 0x0:_0x19eb53['oldMatrix'];_0x5c8fa0[_0x28ea1b(0x24a)](_0x48ed4d,{'oldMatrix':_0x55cb35,'matrix':_0x4735da});}[_0x40f901(0x2ff)](_0x3a8008,_0x3b6bd2,_0x5e4bf6){const _0x148ec0=_0x40f901;var _0x5a21e3,_0x410022;return(_0x410022=(_0x5a21e3=this['_pivotTableRangeInfo'][_0x148ec0(0x21c)](_0x3a8008))==null?void 0x0:_0x5a21e3[_0x148ec0(0x21c)](_0x3b6bd2))==null?void 0x0:_0x410022['get'](_0x5e4bf6);}[_0x40f901(0xf2)](_0x37a733,_0x95ef77,_0x3a19c8){const _0x58a4d5=_0x40f901;var _0xa4aed2,_0x378b50;return(_0x378b50=(_0xa4aed2=this[_0x58a4d5(0x384)][_0x58a4d5(0x21c)](_0x37a733))==null?void 0x0:_0xa4aed2[_0x58a4d5(0x21c)](_0x95ef77))==null?void 0x0:_0x378b50[_0x58a4d5(0x21c)](_0x3a19c8);}[_0x40f901(0x2a8)](_0x22d3a0){const _0x5f0843=_0x40f901;this[_0x5f0843(0x311)][_0x5f0843(0x32c)](_0x22d3a0),this[_0x5f0843(0x11c)][_0x5f0843(0x32c)](_0x22d3a0);}[_0x40f901(0x11b)](_0x466d3d){const _0x55ea5a=_0x40f901,_0x37f50c={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x55ea5a(0x11c)][_0x55ea5a(0x21c)](_0x466d3d)&&(_0x37f50c[_0x55ea5a(0x307)][_0x466d3d]=this['_collectionConfigModel']['get'](_0x466d3d)),this[_0x55ea5a(0x311)][_0x55ea5a(0x21c)](_0x466d3d)){_0x37f50c[_0x55ea5a(0x1b6)][_0x466d3d]={};const _0x1c8f2d=this[_0x55ea5a(0x311)][_0x55ea5a(0x21c)](_0x466d3d);_0x1c8f2d!=null&&_0x1c8f2d[_0x55ea5a(0x315)]&&[..._0x1c8f2d['keys']()][_0x55ea5a(0x336)](_0xbc0206=>{const _0xa298d6=_0x55ea5a,_0x3fb7ca=_0x1c8f2d[_0xa298d6(0x21c)](_0xbc0206);_0x3fb7ca!=null&&_0x3fb7ca[_0xa298d6(0x315)]&&(_0x37f50c[_0xa298d6(0x1b6)][_0x466d3d][_0xbc0206]={},[..._0x3fb7ca[_0xa298d6(0xe6)]()][_0xa298d6(0x336)](_0x40c82a=>{const _0xef7a53=_0xa298d6,_0x52f5bf=_0x3fb7ca[_0xef7a53(0x21c)](_0x40c82a);_0x52f5bf&&(_0x37f50c[_0xef7a53(0x1b6)][_0x466d3d][_0xbc0206][_0x40c82a]=_0x52f5bf);}));});}return _0x37f50c;}[_0x40f901(0x15a)](){const _0x2541a7=_0x40f901;this[_0x2541a7(0x2c9)](this['_resourceManagerService'][_0x2541a7(0x28d)]({'toJson':_0x5e27f5=>JSON['stringify'](this['_toJSON'](_0x5e27f5)),'parseJson':_0x38f442=>({}),'businesses':[_0xc67125[_0x2541a7(0x32f)][_0x2541a7(0x35c)]],'pluginName':_0x559123,'onLoad':(_0x406189,_0xe78604)=>{},'onUnLoad':_0x55c3d1=>{const _0x1aa66d=_0x2541a7;this[_0x1aa66d(0x2a8)](_0x55c3d1);}}));}},_0x3d69f7[_0x40f901(0x1ad)]=_0x58b856([_0x416fc3(0x0,_0xc67125[_0x40f901(0x2b6)](_0xc67125['Injector'])),_0x416fc3(0x1,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x268)])),_0x416fc3(0x2,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x354)])),_0x416fc3(0x3,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x22b)])),_0x416fc3(0x4,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x33a)]))],_0x3d69f7[_0x40f901(0x1ad)]);var _0x24716f=Object[_0x40f901(0x175)],_0x6af9d2=(_0x458096,_0x36e107,_0x53400e,_0x5a69a8)=>{const _0x14cbd2=_0x40f901;for(var _0x5b51fc=_0x5a69a8>0x1?void 0x0:_0x5a69a8?_0x24716f(_0x36e107,_0x53400e):_0x36e107,_0x19132e=_0x458096[_0x14cbd2(0x2a3)]-0x1,_0x14354c;_0x19132e>=0x0;_0x19132e--)(_0x14354c=_0x458096[_0x19132e])&&(_0x5b51fc=_0x14354c(_0x5b51fc)||_0x5b51fc);return _0x5b51fc;},_0x1891ec=(_0x484d23,_0x1efb8e)=>(_0x51f1d9,_0x36cfc9)=>_0x1efb8e(_0x51f1d9,_0x36cfc9,_0x484d23);_0x3d69f7[_0x40f901(0x342)]=class extends _0xc67125['Disposable']{constructor(_0x2fb825,_0x26b653,_0x5b3d9f,_0x11badb,_0x4c9df1){const _0x2b5eae=_0x40f901;super(),_0x1bae1e(this,_0x2b5eae(0x30d),new Map()),_0x1bae1e(this,_0x2b5eae(0x10b),new Map()),_0x1bae1e(this,'_markDirty$',new _0x158b3c[(_0x2b5eae(0x346))]()),_0x1bae1e(this,_0x2b5eae(0x2f7),this['_markDirty$'][_0x2b5eae(0x37d)]()),_0x1bae1e(this,_0x2b5eae(0x20d),new _0x158b3c[(_0x2b5eae(0x346))]()),_0x1bae1e(this,_0x2b5eae(0x349),this[_0x2b5eae(0x20d)][_0x2b5eae(0x37d)]()),_0x1bae1e(this,_0x2b5eae(0x109)),(this[_0x2b5eae(0x271)]=_0x2fb825,this[_0x2b5eae(0x15c)]=_0x26b653,this[_0x2b5eae(0x338)]=_0x5b3d9f,this['_univerInstanceService']=_0x11badb,this[_0x2b5eae(0x29b)]=_0x4c9df1,this['_initLocale'](),this['_initUnitDisposed']());}[_0x40f901(0x159)](){const _0x20541c=_0x40f901;this[_0x20541c(0x2c9)](this[_0x20541c(0x2cd)][_0x20541c(0x1a8)](_0xc67125[_0x20541c(0x32f)]['UNIVER_SHEET'])[_0x20541c(0x1a7)](_0x46804d=>{const _0x5b4a7d=_0x20541c;this['deleteUnitId'](_0x46804d[_0x5b4a7d(0x1b9)]());}));}[_0x40f901(0xc6)](){const _0x1c3d6e=_0x40f901;this[_0x1c3d6e(0x109)]=_0x2b1b8e(this[_0x1c3d6e(0x15c)],_0x2b428b,'',{});}[_0x40f901(0x39a)](_0x2cd939){const _0x92fb3e=_0x40f901,{view:_0x46cdfe,unitId:_0x5a8cd0,subUnitId:_0x803b06,pivotTableId:_0xfc2583,type:_0xbf57f8}=_0x2cd939,_0x2a385b=this[_0x92fb3e(0x338)][_0x92fb3e(0x2b2)](_0x5a8cd0,_0x803b06,_0xfc2583);if(!_0x46cdfe||!_0x2a385b||_0xbf57f8===_0x3f9618[_0x92fb3e(0x335)])return;const {pageView:_0xe7a8c5,cornerView:_0x2c7692,rowView:_0x3fb878,colView:_0x50b4e4,dataView:_0x243b11}=_0x46cdfe,_0x55bcbc=_0x2a385b['targetCellInfo'],_0x20dee6=_0x2a385b[_0x92fb3e(0x1c4)],_0x1e7c9c=this['_ensurePivotItemRenderValueMatrixCache'](_0x5a8cd0,_0x803b06),_0x40243c=this['_ensurePivotItemRenderInfoCache'](_0x5a8cd0,_0x803b06,_0xfc2583);if(_0x20dee6)return this['_updateRenderEmptyCache'](_0x2cd939,_0x1e7c9c,_0x55bcbc,_0x40243c);{const _0x4f1762=_0x8c20b7(_0x55bcbc,_0xe7a8c5,!0x0),_0x1b4b8e=_0xe7a8c5[_0x92fb3e(0x278)]>=0x0?_0xe7a8c5['lastRow']+0x1:0x0,_0xd9b6a9=_0x2c7692[_0x92fb3e(0x396)](),_0x550dfe=_0x2c7692[_0x92fb3e(0x1cc)](),_0x8ffb57=_0x4f1762[_0x92fb3e(0x2a3)]>0x0?_0x1e964c:0x0,_0x116a17=_0x8c20b7({'row':_0x55bcbc[_0x92fb3e(0x166)]+_0x1b4b8e+_0x8ffb57,'col':_0x55bcbc[_0x92fb3e(0x31e)]},_0x2c7692,!0x1,!0x1),_0x58a302=_0x8c20b7({'row':_0x55bcbc['row']+_0x1b4b8e+_0x8ffb57+_0xd9b6a9,'col':_0x55bcbc[_0x92fb3e(0x31e)]},_0x3fb878,!0x1,!0x0),_0x3db30c=_0x8c20b7({'row':_0x55bcbc['row']+_0x1b4b8e+_0x8ffb57,'col':_0x55bcbc[_0x92fb3e(0x31e)]+_0x550dfe},_0x50b4e4,!0x1,!0x0),_0x479b81=_0x8c20b7({'row':_0x55bcbc[_0x92fb3e(0x166)]+_0x1b4b8e+_0x8ffb57+_0xd9b6a9,'col':_0x55bcbc['col']+_0x550dfe},_0x243b11,!0x1,!0x1);_0x40243c[_0x92fb3e(0x36b)]={'rowRanges':_0x58a302,'colRanges':_0x3db30c,'cornerRanges':_0x116a17,'dataRanges':_0x479b81,'pageRanges':_0x4f1762};const _0x19fc18=_0x2fe65e(this['_injector'],_0x46cdfe,_0x2a385b,this[_0x92fb3e(0x109)]),{valueMatrix:_0x25595f,rowInfo:_0x4afc7a,colInfo:_0x4d917c,cornerInfo:_0x3d8e0f,rowHeaderMap:_0x3a5289,colHeaderMap:_0x16abf8}=_0x19fc18;return _0x40243c[_0x92fb3e(0x2fe)]={'rowInfo':_0x4afc7a,'colInfo':_0x4d917c,'cornerInfo':_0x3d8e0f},_0x40243c[_0x92fb3e(0x1d5)]={'rowHeaderMap':_0x3a5289,'colHeaderMap':_0x16abf8},_0x25595f['forEach']((_0x43fc49,_0x321aa8)=>{const _0x3a1545=_0x92fb3e;Object[_0x3a1545(0xe6)](_0x321aa8)[_0x3a1545(0x336)](_0x3b96ea=>{const _0x1c604e=_0x3a1545,_0x59a884=+_0x3b96ea,_0x210813=_0x25595f[_0x1c604e(0x31a)](_0x43fc49,_0x59a884);_0x1e7c9c['setValue'](_0x43fc49,_0x59a884,_0x210813);});}),this[_0x92fb3e(0x20d)][_0x92fb3e(0x1f5)]({'unitId':_0x5a8cd0,'subUnitId':_0x803b06,'valueMatrix':_0x1e7c9c,'rangesCache':_0x40243c[_0x92fb3e(0x36b)],'pivotTableId':_0xfc2583,'type':_0x2cd939[_0x92fb3e(0x187)]}),this[_0x92fb3e(0x338)]['updateViewInfo'](_0x5a8cd0,_0x803b06,_0xfc2583,_0x1e7c9c,_0x40243c[_0x92fb3e(0x36b)]),this[_0x92fb3e(0x29b)][_0x92fb3e(0x137)](_0x5a8cd0,_0x803b06,_0x26382d,this[_0x92fb3e(0x1b4)](_0x40243c[_0x92fb3e(0x36b)],_0xfc2583)),{'rangeCache':_0x40243c[_0x92fb3e(0x36b)],'matrix':_0x1e7c9c};}}[_0x40f901(0x28b)](_0x519619,_0x5ac400,_0x535702,_0x5ba5a4){const _0x310ce7=_0x40f901,_0x473e0d=this[_0x310ce7(0x271)]['t'],{unitId:_0x4ecd3b,subUnitId:_0x3e70ad,pivotTableId:_0x42659d}=_0x519619,_0x244569={'filter':_0x473e0d(_0x310ce7(0x2f6)),'row':_0x473e0d('sheets-pivot.emptyPivot.row'),'column':_0x473e0d(_0x310ce7(0x1f1)),'values':_0x473e0d(_0x310ce7(0x31f))},{matrixCache:_0x13eb78,rangesCache:_0xa525fa}=_0x2f497b(_0x244569,_0x535702);return _0x13eb78[_0x310ce7(0x181)]((_0x47c968,_0x116567,_0xdee237)=>{const _0x27dd00=_0x310ce7;_0x5ac400[_0x27dd00(0x269)](_0x47c968,_0x116567,_0xdee237);}),_0x5ba5a4[_0x310ce7(0x36b)]=_0xa525fa,this[_0x310ce7(0x20d)][_0x310ce7(0x1f5)]({'unitId':_0x4ecd3b,'subUnitId':_0x3e70ad,'valueMatrix':_0x5ac400,'rangesCache':_0xa525fa,'pivotTableId':_0x42659d,'type':_0x519619[_0x310ce7(0x187)],'isEmpty':!0x0}),this[_0x310ce7(0x338)]['updateViewInfo'](_0x4ecd3b,_0x3e70ad,_0x42659d,_0x5ac400,_0xa525fa),this[_0x310ce7(0x29b)]['addExclusiveRange'](_0x4ecd3b,_0x3e70ad,_0x26382d,this[_0x310ce7(0x1b4)](_0xa525fa,_0x42659d)),{'rangeCache':_0x5ba5a4[_0x310ce7(0x36b)],'matrix':_0x5ac400};}[_0x40f901(0x1b4)](_0xe6e15a,_0x1a1ae2){const _0x3be170=[],_0x415cbd=_0x25ec17(_0xe6e15a);for(const _0x3a101e of _0x415cbd)_0x3be170['push']({'groupId':_0x1a1ae2,'range':_0x3a101e});return _0x3be170;}[_0x40f901(0x2b4)](_0x1fc043){const _0x26d57e=_0x40f901;var _0x4039e4,_0x30ffa0,_0x30c47f,_0x1c1eaf;const {pivotTableId:_0x8e2f5a,unitId:_0x35386b,subUnitId:_0x62f5af}=_0x1fc043;if(!_0x8e2f5a||!_0x35386b||!_0x62f5af)return;const _0x36a2b8=this[_0x26d57e(0x1dc)](_0x35386b,_0x62f5af),_0x2c41f7=(_0x30ffa0=(_0x4039e4=this[_0x26d57e(0x30d)][_0x26d57e(0x21c)](_0x35386b))==null?void 0x0:_0x4039e4[_0x26d57e(0x21c)](_0x62f5af))==null?void 0x0:_0x30ffa0[_0x26d57e(0x21c)](_0x8e2f5a);if(_0x2c41f7!=null&&_0x2c41f7[_0x26d57e(0x36b)]){for(const _0xcc0a19 of Object[_0x26d57e(0xe6)](_0x2c41f7[_0x26d57e(0x36b)]))_0x2c41f7[_0x26d57e(0x36b)][_0xcc0a19][_0x26d57e(0x336)](_0x5b7c88=>{const _0x476b48=_0x26d57e;for(let _0x4b276c=_0x5b7c88[_0x476b48(0x2eb)];_0x4b276c<=_0x5b7c88[_0x476b48(0x1f0)];_0x4b276c++)for(let _0x477a43=_0x5b7c88['startColumn'];_0x477a43<=_0x5b7c88[_0x476b48(0x107)];_0x477a43++)_0x36a2b8[_0x476b48(0x15d)](_0x4b276c,_0x477a43);});}_0x2c41f7&&((_0x1c1eaf=(_0x30c47f=this['_pivotRenderInfoCache'][_0x26d57e(0x21c)](_0x35386b))==null?void 0x0:_0x30c47f[_0x26d57e(0x21c)](_0x62f5af))==null||_0x1c1eaf[_0x26d57e(0x32c)](_0x8e2f5a)),this[_0x26d57e(0x20d)][_0x26d57e(0x1f5)]({'unitId':_0x35386b,'subUnitId':_0x62f5af,'valueMatrix':_0x36a2b8,'pivotTableId':_0x8e2f5a,'rangesCache':void 0x0,'type':_0x1fc043[_0x26d57e(0x187)]}),this[_0x26d57e(0x29b)][_0x26d57e(0x10c)](_0x35386b,_0x62f5af,_0x26382d,_0x8e2f5a);}[_0x40f901(0x26a)](_0x5b4905,_0x4346d1,_0x435472){const _0x551775=_0x40f901;var _0x252b1b,_0x3ff7b4,_0x5d4941,_0x507f1b,_0x535595,_0x1602ed;return this['_pivotRenderInfoCache'][_0x551775(0xc2)](_0x5b4905)||this[_0x551775(0x30d)][_0x551775(0x24a)](_0x5b4905,new Map()),(_0x252b1b=this[_0x551775(0x30d)]['get'](_0x5b4905))!=null&&_0x252b1b['has'](_0x4346d1)||(_0x3ff7b4=this[_0x551775(0x30d)][_0x551775(0x21c)](_0x5b4905))==null||_0x3ff7b4['set'](_0x4346d1,new Map()),(_0x507f1b=(_0x5d4941=this[_0x551775(0x30d)][_0x551775(0x21c)](_0x5b4905))==null?void 0x0:_0x5d4941['get'](_0x4346d1))!=null&&_0x507f1b[_0x551775(0xc2)](_0x435472)||(_0x1602ed=(_0x535595=this[_0x551775(0x30d)][_0x551775(0x21c)](_0x5b4905))==null?void 0x0:_0x535595[_0x551775(0x21c)](_0x4346d1))==null||_0x1602ed[_0x551775(0x24a)](_0x435472,{}),this[_0x551775(0x30d)][_0x551775(0x21c)](_0x5b4905)['get'](_0x4346d1)[_0x551775(0x21c)](_0x435472);}[_0x40f901(0x1dc)](_0x20a6f6,_0x33f4ae){const _0x1c6bbe=_0x40f901;var _0x84d6da,_0x45921e;return this['_pivotRenderValueMatrixCache'][_0x1c6bbe(0xc2)](_0x20a6f6)||this[_0x1c6bbe(0x10b)][_0x1c6bbe(0x24a)](_0x20a6f6,new Map()),(_0x84d6da=this[_0x1c6bbe(0x10b)]['get'](_0x20a6f6))!=null&&_0x84d6da[_0x1c6bbe(0xc2)](_0x33f4ae)||(_0x45921e=this['_pivotRenderValueMatrixCache'][_0x1c6bbe(0x21c)](_0x20a6f6))==null||_0x45921e[_0x1c6bbe(0x24a)](_0x33f4ae,new _0xc67125[(_0x1c6bbe(0x25f))]()),this[_0x1c6bbe(0x10b)][_0x1c6bbe(0x21c)](_0x20a6f6)[_0x1c6bbe(0x21c)](_0x33f4ae);}['getPivotTableCellData'](_0x414b1e,_0x415635,_0x2420a4,_0x1ba9c0){const _0x4ec857=_0x40f901;var _0x348976,_0x19bc14;const _0x54e402=(_0x19bc14=(_0x348976=this[_0x4ec857(0x10b)]['get'](_0x414b1e))==null?void 0x0:_0x348976[_0x4ec857(0x21c)](_0x415635))==null?void 0x0:_0x19bc14['getValue'](_0x2420a4,_0x1ba9c0);if(_0x54e402!=null)return _0x54e402;}[_0x40f901(0x10e)](_0x347c99,_0x3218d2,_0xe6df12,_0x473162){const _0x32732c=_0x40f901;var _0x2d5975;const _0x30a7fc=_0xc67125['cellToRange'](_0xe6df12,_0x473162),_0x580005=(_0x2d5975=this[_0x32732c(0x30d)][_0x32732c(0x21c)](_0x347c99))==null?void 0x0:_0x2d5975['get'](_0x3218d2);return _0x580005?Array['from'](_0x580005[_0x32732c(0xe6)]())[_0x32732c(0x189)](_0x1a91c3=>{const _0x247d66=_0x32732c,_0x5debee=_0x580005[_0x247d66(0x21c)](_0x1a91c3),_0x3b32f7=_0x5debee==null?void 0x0:_0x5debee[_0x247d66(0x36b)];return _0x3b32f7?Object[_0x247d66(0xe6)](_0x3b32f7)[_0x247d66(0xc5)](_0x21c287=>_0x3b32f7[_0x21c287][_0x247d66(0xc5)](_0x1fb79a=>_0xc67125['Rectangle'][_0x247d66(0x226)](_0x1fb79a,_0x30a7fc))):!0x1;}):void 0x0;}[_0x40f901(0x1e9)](_0x3adc59,_0x434af6,_0x27fa13){const _0x5cf410=_0x40f901;var _0x5f1190;const _0x519214=(_0x5f1190=this[_0x5cf410(0x30d)][_0x5cf410(0x21c)](_0x3adc59))==null?void 0x0:_0x5f1190['get'](_0x434af6),_0x1acfa9=[];return _0x519214&&Array['from'](_0x519214[_0x5cf410(0xe6)]())['forEach'](_0x71e102=>{const _0x3f71dc=_0x5cf410,_0x2251a1=_0x519214['get'](_0x71e102),_0x5e1e1b=_0x2251a1==null?void 0x0:_0x2251a1['rangesInfo'];if(_0x5e1e1b)for(const _0x414705 of Object[_0x3f71dc(0x2d9)](_0x5e1e1b)){let _0xb606cc=!0x1;for(const _0x587bf2 of _0x414705)if(_0xc67125[_0x3f71dc(0x30f)][_0x3f71dc(0x237)](_0x587bf2,_0x27fa13)){_0x1acfa9[_0x3f71dc(0x177)](_0x71e102),_0xb606cc=!0x0;break;}if(_0xb606cc)break;}}),_0x1acfa9;}[_0x40f901(0x27e)](_0x40ba66,_0x399525){const _0xe42b8c=_0x40f901;var _0xd5f745,_0xd4a873;return(_0xd4a873=(_0xd5f745=this[_0xe42b8c(0x10b)]['get'](_0x40ba66))==null?void 0x0:_0xd5f745[_0xe42b8c(0x21c)](_0x399525))!=null?_0xd4a873:new _0xc67125[(_0xe42b8c(0x25f))]();}[_0x40f901(0x26f)](_0x18b22a,_0x1500fe,_0x5f2908){const _0x5e91fe=_0x40f901;var _0x28225f,_0x465507;return(_0x465507=(_0x28225f=this[_0x5e91fe(0x30d)][_0x5e91fe(0x21c)](_0x18b22a))==null?void 0x0:_0x28225f[_0x5e91fe(0x21c)](_0x1500fe))==null?void 0x0:_0x465507[_0x5e91fe(0x21c)](_0x5f2908);}['deleteUnitId'](_0x57607d){const _0x1b8cb3=_0x40f901;this[_0x1b8cb3(0x30d)][_0x1b8cb3(0x32c)](_0x57607d),this[_0x1b8cb3(0x10b)][_0x1b8cb3(0x32c)](_0x57607d);}[_0x40f901(0x1c5)](_0x220ba2,_0x29b14d){const _0x1017be=_0x40f901;this[_0x1017be(0x26d)]['next']({'unitId':_0x220ba2,'subUnitId':_0x29b14d});}},_0x3d69f7[_0x40f901(0x342)]=_0x6af9d2([_0x1891ec(0x0,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x29e)])),_0x1891ec(0x1,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x17d)])),_0x1891ec(0x2,_0xc67125['Inject'](_0x3d69f7[_0x40f901(0x1ad)])),_0x1891ec(0x3,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x354)])),_0x1891ec(0x4,_0xc67125[_0x40f901(0x2b6)](_0x96765f[_0x40f901(0x153)]))],_0x3d69f7[_0x40f901(0x342)]);var _0x400dcd=Object[_0x40f901(0x175)],_0x29fd23=(_0x198fc3,_0x369653,_0x941d1a,_0x58e363)=>{for(var _0x535bb2=_0x58e363>0x1?void 0x0:_0x58e363?_0x400dcd(_0x369653,_0x941d1a):_0x369653,_0x237d18=_0x198fc3['length']-0x1,_0x2211c6;_0x237d18>=0x0;_0x237d18--)(_0x2211c6=_0x198fc3[_0x237d18])&&(_0x535bb2=_0x2211c6(_0x535bb2)||_0x535bb2);return _0x535bb2;},_0x3a1f18=(_0x20212f,_0x2323d0)=>(_0x169db2,_0x18a33a)=>_0x2323d0(_0x169db2,_0x18a33a,_0x20212f);_0x3d69f7['SheetsPivotTableService']=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x392d6a,_0x7db55a){const _0xa3ab88=_0x40f901;super(),_0x1bae1e(this,'asyncInterceptor',new _0xc67125[(_0xa3ab88(0x376))]({'PIVOT_PERFORM_CHECK':_0x3c4a4d})),_0x1bae1e(this,_0xa3ab88(0x372),new _0xc67125['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x5564d9})),(this[_0xa3ab88(0x192)]=_0x392d6a,this[_0xa3ab88(0x386)]=_0x7db55a,this[_0xa3ab88(0x254)]());}[_0x40f901(0x254)](){const _0x685db6=_0x40f901;this[_0x685db6(0x224)]();}[_0x40f901(0x16f)](_0x34a1b3){const _0xf5bc17=_0x40f901;return this[_0xf5bc17(0x2cb)][_0xf5bc17(0x36f)](_0x3c4a4d)(!0x1,_0x34a1b3);}[_0x40f901(0x224)](){const _0x1c0a79=_0x40f901;this['disposeWithMe'](this[_0x1c0a79(0x192)]['intercept'](_0x96765f[_0x1c0a79(0x206)][_0x1c0a79(0x37c)],{'priority':0xc8,'effect':_0xc67125[_0x1c0a79(0x265)][_0x1c0a79(0x1dd)]|_0xc67125['InterceptorEffectEnum'][_0x1c0a79(0x1c3)],'handler':(_0x19bb17,_0x23dcc8,_0xc7575f)=>{const _0x1904dd=_0x1c0a79,{row:_0x2feb82,col:_0x3610c3,unitId:_0x1ae1e3,subUnitId:_0x1395ae,workbook:_0xce8310}=_0x23dcc8,_0x3837b1=this[_0x1904dd(0x386)][_0x1904dd(0x231)](_0x1ae1e3,_0x1395ae,_0x2feb82,_0x3610c3);if(!_0x3837b1)return _0xc7575f(_0x19bb17);const _0x238d71={..._0x19bb17};(_0x3837b1['v']||_0x3837b1['v']===0x0)&&(_0x238d71['v']=_0x3837b1['v']),_0x3837b1['t']&&(_0x238d71['t']=_0x3837b1['t']);const _0x282e60=(typeof(_0x19bb17==null?void 0x0:_0x19bb17['s'])=='string'?_0xce8310[_0x1904dd(0x1e6)]()[_0x1904dd(0x21c)](_0x19bb17==null?void 0x0:_0x19bb17['s']):_0x19bb17==null?void 0x0:_0x19bb17['s'])||{},_0x53849c=_0xce8310[_0x1904dd(0x1e6)]()[_0x1904dd(0x21c)](_0x3837b1['s']),_0xe1217={..._0x53849c,..._0x282e60};_0x53849c!=null&&_0x53849c['n']&&(_0xe1217['n']=_0x53849c['n']);const _0x28a788=_0xce8310['getStyles']()[_0x1904dd(0x269)](_0xe1217);return _0x238d71['s']=_0x28a788,(_0x3837b1[_0x1904dd(0x332)]===_0x504249[_0x1904dd(0x17f)][_0x1904dd(0x195)]||_0x3837b1[_0x1904dd(0x332)]===_0x504249['PivotCellStyleTypeEnum'][_0x1904dd(0x293)])&&(_0x238d71[_0x1904dd(0x246)]={},_0x238d71[_0x1904dd(0x246)]['leftOffset']=_0x1ac8b5),_0xc7575f(_0x238d71);}}));}},_0x3d69f7['SheetsPivotTableService']=_0x29fd23([_0x3a1f18(0x0,_0xc67125[_0x40f901(0x2b6)](_0x96765f[_0x40f901(0x217)])),_0x3a1f18(0x1,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7['SheetsPivotTableAdaptorModel']))],_0x3d69f7[_0x40f901(0x210)]);function _0x39aeb7(_0x3d1f92,_0xf717ba){const _0x1ac74=_0x40f901;switch(_0xf717ba){case _0x504249[_0x1ac74(0x24d)][_0x1ac74(0x1dd)]:return _0x3d1f92['valueFields'];case _0x504249['PivotTableFiledAreaEnum']['Filter']:return _0x3d1f92['filterFields'];case _0x504249[_0x1ac74(0x24d)][_0x1ac74(0xd2)]:return _0x3d1f92[_0x1ac74(0x362)];case _0x504249[_0x1ac74(0x24d)][_0x1ac74(0x179)]:return _0x3d1f92[_0x1ac74(0x26b)];default:return[];}}function _0x6b3334(_0x294813,_0xe7ce58){const _0x4f2a3a=_0x40f901;return _0x294813[_0x4f2a3a(0x260)][_0xe7ce58]||_0x294813['dimension'][_0xe7ce58];}function _0x356520(_0x1870a4,_0x47c14b){const _0x34518a=_0x40f901,{area:_0x18d9f7,fieldJson:_0x4263a4,index:_0x23e4fc}=_0x47c14b;_0x18d9f7===_0x504249[_0x34518a(0x24d)][_0x34518a(0x1dd)]?_0x1870a4[_0x34518a(0x260)][_0x4263a4['id']]=_0x4263a4:_0x1870a4[_0x34518a(0x2af)][_0x4263a4['id']]=_0x4263a4,_0x39aeb7(_0x1870a4,_0x18d9f7)[_0x34518a(0x1b2)](_0x23e4fc,0x0,_0x4263a4['id']);}function _0x3f3a29(_0x471c21,_0x3a5e0d){const _0x28d672=_0x40f901,{area:_0x1dcdf0,fieldId:_0x485652,index:_0x4533b7}=_0x3a5e0d;_0x1dcdf0===_0x504249[_0x28d672(0x24d)][_0x28d672(0x1dd)]?delete _0x471c21['measure'][_0x485652]:delete _0x471c21['dimension'][_0x485652],_0x39aeb7(_0x471c21,_0x1dcdf0)[_0x28d672(0x1b2)](_0x4533b7,0x1);}function _0x54e217(_0x2134cf,_0xc27337){const {fieldId:_0x28c46f,name:_0x4f75f7}=_0xc27337,_0x523306=_0x6b3334(_0x2134cf,_0x28c46f);_0x523306&&(_0x523306['displayName']=_0x4f75f7);}function _0x1863ae(_0x13e9cb,_0x22fbea){const _0x4d33f1=_0x40f901,{fieldId:_0x5bde35,collapse:_0xa1c295,item:_0x29ebf0}=_0x22fbea;_0x29ebf0!==void 0x0?(_0x13e9cb['collapseInfo'][_0x5bde35]=_0x13e9cb[_0x4d33f1(0x25c)][_0x5bde35]||{},_0x13e9cb['collapseInfo'][_0x5bde35][_0x29ebf0]=_0xa1c295):_0x13e9cb['collapseInfo'][_0x5bde35]=_0xa1c295;}function _0x3cca19(_0x4ad773,_0x5be413){const _0x4e9b95=_0x40f901,{fieldId:_0x5105a1,format:_0x5ab182}=_0x5be413,_0x1ff678=_0x6b3334(_0x4ad773,_0x5105a1);_0x1ff678&&(_0x1ff678[_0x4e9b95(0x1c2)]=_0x5ab182);}function _0x3a6e8b(_0xc74260,_0x981970){const _0x3aff6b=_0x40f901,{fieldId:_0x2b5c33,filterInfo:_0x2dfa08}=_0x981970,_0x18d827=_0x6b3334(_0xc74260,_0x2b5c33);_0x18d827&&(_0x18d827[_0x3aff6b(0x39b)]=_0x2dfa08);}function _0x3e6110(_0xd96ec2,_0x59d282){const _0x383a19=_0x40f901,{fieldId:_0x6811f5,filterInfo:_0x24f230}=_0x59d282,_0x51b937=_0xd96ec2['valueFilter'][_0x383a19(0x245)](_0xbac600=>_0xbac600[_0x383a19(0x17c)]!==_0x6811f5);_0x24f230&&_0x51b937[_0x383a19(0x177)]({'fieldId':_0x6811f5,'filterInfo':_0x24f230}),_0xd96ec2['valueFilter']=_0x51b937;}function _0x4d2662(_0x101bc1,_0x1cfdb4){const _0x4ec629=_0x40f901,{fieldId:_0x4a8f53,subtotalType:_0x52ffdc}=_0x1cfdb4,_0x2e981b=_0x6b3334(_0x101bc1,_0x4a8f53);_0x2e981b&&(_0x2e981b[_0x4ec629(0x27b)]=_0x52ffdc);}function _0x31dbae(_0x4a32fd,_0x3f1f32){const _0x444a15=_0x40f901,{fieldId:_0x462cf7,oldArea:_0x45fc86,area:_0x599624,oldIndex:_0x2c6d41,index:_0x5ac38e}=_0x3f1f32,_0xc408da=_0x45fc86!==_0x504249[_0x444a15(0x24d)][_0x444a15(0x1dd)]&&_0x599624===_0x504249[_0x444a15(0x24d)][_0x444a15(0x1dd)],_0x5e3489=_0x45fc86===_0x504249['PivotTableFiledAreaEnum'][_0x444a15(0x1dd)]&&_0x599624!==_0x504249[_0x444a15(0x24d)][_0x444a15(0x1dd)];if(_0xc408da||_0x5e3489){const _0x344be5=_0x6b3334(_0x4a32fd,_0x462cf7);_0x344be5&&(_0xc408da?(delete _0x4a32fd[_0x444a15(0x2af)][_0x462cf7],_0x4a32fd[_0x444a15(0x260)][_0x462cf7]=_0x344be5):(delete _0x4a32fd['measure'][_0x462cf7],_0x4a32fd[_0x444a15(0x2af)][_0x462cf7]=_0x344be5));}const _0x107b6d=_0x39aeb7(_0x4a32fd,_0x45fc86),_0x1fcb27=_0x39aeb7(_0x4a32fd,_0x599624);_0x107b6d[_0x444a15(0x1b2)](_0x2c6d41,0x1),_0x1fcb27[_0x444a15(0x1b2)](_0x5ac38e,0x0,_0x462cf7);}function _0x414992(_0x53aab5,_0x568e88){const {valuePosition:_0x39e63a,index:_0x4834f5}=_0x568e88;_0x53aab5['valuePosition']=_0x39e63a,_0x53aab5['valueIndex']=_0x4834f5;}function _0x41c695(_0x551007,_0x3de491){const {tableFieldId:_0x4a1104,sourceName:_0x539a6a,dataFieldId:_0xc3facb}=_0x3de491,_0xb048a=_0x6b3334(_0x551007,_0x4a1104);_0xb048a&&(_0xb048a['sourceName']=_0x539a6a,_0xb048a['dataFieldId']=_0xc3facb);}function _0x2a73dc(_0x29677b,_0x54d00f){const _0x4ec7a7=_0x40f901,{fieldId:_0x17a8df,sortInfo:_0x20e7b7}=_0x54d00f,_0x5e9270=_0x6b3334(_0x29677b,_0x17a8df);_0x5e9270&&(_0x5e9270[_0x4ec7a7(0x15b)]=_0x20e7b7);}function _0x112b55(_0x15f7a9,_0x19cb1c){const _0x263569=_0x40f901,{options:_0x4b1313}=_0x19cb1c;_0x15f7a9[_0x263569(0x1e5)]={..._0x15f7a9[_0x263569(0x1e5)],..._0x4b1313};}const _0xbf378a={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x255),'handler'(_0x4b9756,_0x402883){const _0x5b4862=_0x40f901;if(!_0x402883)return!0x1;if(!!_0x4b9756[_0x5b4862(0x21c)](_0xc67125[_0x5b4862(0x33a)])[_0x5b4862(0x272)](_0x302975))return!0x0;const _0x5a2afa=_0x4b9756[_0x5b4862(0x21c)](_0x3d69f7['SheetsPivotDataSourceModel']),{pivotTableId:_0x1a5c33,fieldJson:_0xe5ee7b,area:_0x264869,index:_0x48df7b,unitId:_0x3c979d,subUnitId:_0x37b68b}=_0x402883,_0x7a4831=_0x5a2afa['getPivotTableInstance'](_0x1a5c33);if(!_0x7a4831)return!0x1;let _0x50b54e;_0x264869===_0x504249[_0x5b4862(0x24d)][_0x5b4862(0x1dd)]?_0x50b54e=_0x504249[_0x5b4862(0x341)](_0xe5ee7b):_0x50b54e=_0x504249['createLabelField'](_0xe5ee7b),_0x7a4831[_0x5b4862(0x296)](_0x50b54e,_0x264869,_0x48df7b);const _0x1d91ab=_0x5a2afa[_0x5b4862(0x294)](_0x3c979d,_0x37b68b,_0x1a5c33);_0x356520(_0x1d91ab,_0x402883);const _0x4d04ab=_0x5a2afa['getPivotTableConfig'](_0x3c979d,_0x37b68b,_0x1a5c33);return _0x5a2afa[_0x5b4862(0x17e)]({'unitId':_0x3c979d,'subUnitId':_0x37b68b,'token':_0x1a5c33,'type':_0x3f9618[_0x5b4862(0x282)],'pivotConfig':_0x4d04ab}),!0x0;}},_0x29e8e5={'type':_0xc67125[_0x40f901(0x392)]['MUTATION'],'id':_0x40f901(0x2e3),'handler'(_0x2068de,_0x413289){const _0x10641d=_0x40f901;if(!_0x413289)return!0x1;if(!!_0x2068de[_0x10641d(0x21c)](_0xc67125[_0x10641d(0x33a)])[_0x10641d(0x272)](_0x302975))return!0x0;const _0x4fa6c7=_0x2068de[_0x10641d(0x21c)](_0x3d69f7[_0x10641d(0x2a1)]),{pivotTableId:_0x27a678,fieldId:_0x467f53,unitId:_0x4b34f7,subUnitId:_0x5c22c8}=_0x413289,_0x28641d=_0x4fa6c7[_0x10641d(0x32a)](_0x27a678);if(!_0x28641d)return!0x1;_0x28641d['removeField'](_0x467f53);const _0x45bbc2=_0x4fa6c7[_0x10641d(0x294)](_0x4b34f7,_0x5c22c8,_0x27a678);_0x3f3a29(_0x45bbc2,_0x413289);const _0x4362cd=_0x4fa6c7[_0x10641d(0x2b2)](_0x4b34f7,_0x5c22c8,_0x27a678);return _0x4fa6c7[_0x10641d(0x17e)]({'unitId':_0x4b34f7,'subUnitId':_0x5c22c8,'token':_0x27a678,'type':_0x3f9618[_0x10641d(0x282)],'pivotConfig':_0x4362cd}),!0x0;}},_0x31df64={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x1a1),'handler'(_0xcb719b,_0x278e98){const _0x546028=_0x40f901;if(!_0x278e98)return!0x1;if(!!_0xcb719b['get'](_0xc67125[_0x546028(0x33a)])[_0x546028(0x272)](_0x302975))return!0x0;const _0x5b864d=_0xcb719b['get'](_0x3d69f7[_0x546028(0x2a1)]),{unitId:_0x469694,subUnitId:_0x4982f1,pivotTableId:_0x4c7443,fieldId:_0x21fcff,name:_0x2936cb}=_0x278e98,_0x349407=_0x5b864d[_0x546028(0x32a)](_0x4c7443);if(!_0x349407)return!0x1;_0x349407[_0x546028(0x297)](_0x21fcff,_0x2936cb);const _0x60314c=_0x5b864d[_0x546028(0x294)](_0x469694,_0x4982f1,_0x4c7443);return _0x54e217(_0x60314c,_0x278e98),_0x5b864d[_0x546028(0x17e)]({'unitId':_0x469694,'subUnitId':_0x4982f1,'token':_0x4c7443,'type':_0x3f9618[_0x546028(0x282)]}),!0x0;}},_0x18f5d2={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x39c336,_0x2b0398){const _0x19fa40=_0x40f901;if(!_0x2b0398)return!0x1;if(!!_0x39c336['get'](_0xc67125[_0x19fa40(0x33a)])[_0x19fa40(0x272)](_0x302975))return!0x0;const _0x5ea447=_0x39c336['get'](_0x3d69f7[_0x19fa40(0x2a1)]),{unitId:_0xd44307,subUnitId:_0xe7eb69,pivotTableId:_0x5b3ea0,fieldId:_0x33775a,collapse:_0x4cd8bf,item:_0x1ff3dd}=_0x2b0398,_0x5b04db=_0x5ea447[_0x19fa40(0x32a)](_0x5b3ea0);if(!_0x5b04db)return!0x1;_0x5b04db[_0x19fa40(0x248)](_0x33775a,_0x4cd8bf,_0x1ff3dd);const _0x5885da=_0x5ea447[_0x19fa40(0x294)](_0xd44307,_0xe7eb69,_0x5b3ea0);return _0x1863ae(_0x5885da,_0x2b0398),_0x5ea447['addDirtyPivotTable']({'unitId':_0xd44307,'subUnitId':_0xe7eb69,'token':_0x5b3ea0,'type':_0x3f9618[_0x19fa40(0x282)]}),!0x0;}},_0xcd6482={'type':_0xc67125['CommandType']['MUTATION'],'id':_0x40f901(0x190),'handler'(_0x10f36b,_0x1adf45){const _0x138cf7=_0x40f901;if(!_0x1adf45)return!0x1;if(!!_0x10f36b[_0x138cf7(0x21c)](_0xc67125[_0x138cf7(0x33a)])[_0x138cf7(0x272)](_0x302975))return!0x0;const _0x5ab10e=_0x10f36b[_0x138cf7(0x21c)](_0x3d69f7[_0x138cf7(0x2a1)]),{unitId:_0x20b1e5,subUnitId:_0x288220,pivotTableId:_0x1b8c20,fieldId:_0x1802d3,format:_0x4f3f13}=_0x1adf45,_0x37cea9=_0x5ab10e['getPivotTableInstance'](_0x1b8c20);if(!_0x37cea9)return!0x1;_0x37cea9['setFieldFormat'](_0x1802d3,_0x4f3f13);const _0x5ee085=_0x5ab10e['getPivotTableModelConfig'](_0x20b1e5,_0x288220,_0x1b8c20);return _0x3cca19(_0x5ee085,_0x1adf45),_0x5ab10e[_0x138cf7(0x17e)]({'unitId':_0x20b1e5,'subUnitId':_0x288220,'token':_0x1b8c20,'type':_0x3f9618[_0x138cf7(0x282)]}),!0x0;}},_0x53bb70={'type':_0xc67125[_0x40f901(0x392)]['MUTATION'],'id':_0x40f901(0x28c),'handler'(_0x2c9832,_0x1fcb01){const _0x3b906c=_0x40f901;if(!_0x1fcb01)return!0x1;if(!!_0x2c9832[_0x3b906c(0x21c)](_0xc67125[_0x3b906c(0x33a)])[_0x3b906c(0x272)](_0x302975))return!0x0;const _0x4dc227=_0x2c9832[_0x3b906c(0x21c)](_0x3d69f7[_0x3b906c(0x2a1)]),{unitId:_0x21e2c5,subUnitId:_0x367f93,pivotTableId:_0x1df32e,fieldId:_0x1a4342,filterInfo:_0x799c7d}=_0x1fcb01,_0x42e11e=_0x4dc227['getPivotTableInstance'](_0x1df32e);if(!_0x42e11e)return!0x1;_0x42e11e[_0x3b906c(0x2f1)](_0x1a4342,_0x799c7d);const _0x43e9e8=_0x4dc227[_0x3b906c(0x294)](_0x21e2c5,_0x367f93,_0x1df32e);return _0x3a6e8b(_0x43e9e8,_0x1fcb01),_0x4dc227[_0x3b906c(0x17e)]({'unitId':_0x21e2c5,'subUnitId':_0x367f93,'token':_0x1df32e,'type':_0x3f9618[_0x3b906c(0x282)]}),!0x0;}},_0x2f0222={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':'sheet.mutation.set-pivot-option','handler'(_0xc03da7,_0x4eaa26){const _0x29a6ed=_0x40f901;if(!_0x4eaa26)return!0x1;if(!!_0xc03da7[_0x29a6ed(0x21c)](_0xc67125[_0x29a6ed(0x33a)])['getConfig'](_0x302975))return!0x0;const _0x389b1d=_0xc03da7[_0x29a6ed(0x21c)](_0x3d69f7['SheetsPivotDataSourceModel']),{unitId:_0x4cc4be,subUnitId:_0x40c585,pivotTableId:_0x263ce6,options:_0xcf06c9}=_0x4eaa26,_0x418e6d=_0x389b1d[_0x29a6ed(0x32a)](_0x263ce6);if(!_0x418e6d)return!0x1;_0x418e6d['setOptions'](_0xcf06c9);const _0x28ebb0=_0x389b1d['getPivotTableModelConfig'](_0x4cc4be,_0x40c585,_0x263ce6);return _0x112b55(_0x28ebb0,_0x4eaa26),_0x389b1d[_0x29a6ed(0x17e)]({'unitId':_0x4cc4be,'subUnitId':_0x40c585,'token':_0x263ce6,'type':_0x3f9618[_0x29a6ed(0x282)]}),!0x0;}},_0x16f0c6={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x235),'handler'(_0x28ecf9,_0x5cc678){const _0x5d4e6d=_0x40f901;if(!_0x5cc678)return!0x1;if(!!_0x28ecf9['get'](_0xc67125[_0x5d4e6d(0x33a)])[_0x5d4e6d(0x272)](_0x302975))return!0x0;const _0x37254d=_0x28ecf9[_0x5d4e6d(0x21c)](_0x3d69f7[_0x5d4e6d(0x2a1)]),{unitId:_0x8adb0e,subUnitId:_0xb63816,pivotTableId:_0x3671d0,sortInfo:_0xeb2e9f,fieldId:_0x553c74}=_0x5cc678,_0x535c69=_0x37254d['getPivotTableInstance'](_0x3671d0);if(!_0x535c69)return!0x1;_0x535c69[_0x5d4e6d(0x1de)](_0x553c74,_0xeb2e9f);const _0x345b3=_0x37254d[_0x5d4e6d(0x294)](_0x8adb0e,_0xb63816,_0x3671d0);return _0x2a73dc(_0x345b3,_0x5cc678),_0x37254d['addDirtyPivotTable']({'unitId':_0x8adb0e,'subUnitId':_0xb63816,'token':_0x3671d0,'type':_0x3f9618['Set']}),!0x0;}},_0x3af9dc={'type':_0xc67125[_0x40f901(0x392)]['MUTATION'],'id':_0x40f901(0x10d),'handler'(_0x2567a5,_0x20296c){const _0xd1e145=_0x40f901;if(!_0x20296c)return!0x1;if(!!_0x2567a5['get'](_0xc67125[_0xd1e145(0x33a)])[_0xd1e145(0x272)](_0x302975))return!0x0;const _0x3aee48=_0x2567a5[_0xd1e145(0x21c)](_0x3d69f7[_0xd1e145(0x2a1)]),{unitId:_0xeaa39d,subUnitId:_0x3962e1,pivotTableId:_0x4c1d6f,fieldId:_0x48e7df,subtotalType:_0x42a2b3}=_0x20296c,_0x552d5f=_0x3aee48[_0xd1e145(0x32a)](_0x4c1d6f);if(!_0x552d5f)return!0x1;_0x552d5f[_0xd1e145(0x191)](_0x48e7df,_0x42a2b3);const _0x443ea7=_0x3aee48[_0xd1e145(0x294)](_0xeaa39d,_0x3962e1,_0x4c1d6f);return _0x4d2662(_0x443ea7,_0x20296c),_0x3aee48['addDirtyPivotTable']({'unitId':_0xeaa39d,'subUnitId':_0x3962e1,'token':_0x4c1d6f,'type':_0x3f9618[_0xd1e145(0x282)]}),!0x0;}},_0x5db47a={'type':_0xc67125['CommandType'][_0x40f901(0x365)],'id':'sheet.mutation.set-pivot-value-filter','handler'(_0xf0d2cd,_0x2c4103){const _0x5ce1ed=_0x40f901;if(!_0x2c4103)return!0x1;if(!!_0xf0d2cd[_0x5ce1ed(0x21c)](_0xc67125['IConfigService'])[_0x5ce1ed(0x272)](_0x302975))return!0x0;const _0x555a07=_0xf0d2cd[_0x5ce1ed(0x21c)](_0x3d69f7[_0x5ce1ed(0x2a1)]),{unitId:_0x1b671f,subUnitId:_0x387502,pivotTableId:_0x32411e,fieldId:_0x3d868a,filterInfo:_0x5c57d2}=_0x2c4103,_0x24c46e=_0x555a07[_0x5ce1ed(0x32a)](_0x32411e);if(!_0x24c46e)return!0x1;_0x24c46e['setValueFilterInfo'](_0x3d868a,_0x5c57d2);const _0x514071=_0x555a07[_0x5ce1ed(0x294)](_0x1b671f,_0x387502,_0x32411e);return _0x3e6110(_0x514071,_0x2c4103),_0x555a07[_0x5ce1ed(0x17e)]({'unitId':_0x1b671f,'subUnitId':_0x387502,'token':_0x32411e,'type':_0x3f9618['Set']}),!0x0;}},_0x1c717d={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x3c17a5,_0x2ba3d3){const _0xb38273=_0x40f901;if(!_0x2ba3d3)return!0x1;if(!!_0x3c17a5['get'](_0xc67125[_0xb38273(0x33a)])[_0xb38273(0x272)](_0x302975))return!0x0;const _0x34aa9a=_0x3c17a5[_0xb38273(0x21c)](_0x3d69f7[_0xb38273(0x2a1)]),{unitId:_0x135fa8,subUnitId:_0x84abf2,pivotTableId:_0x3bb350,area:_0x505f4f,index:_0x104574,fieldId:_0x7b3817}=_0x2ba3d3,_0x4d998e=_0x34aa9a[_0xb38273(0x32a)](_0x3bb350);if(!_0x4d998e)return!0x1;_0x4d998e['updateFieldPosition'](_0x7b3817,_0x505f4f,_0x104574);const _0xccc20f=_0x34aa9a[_0xb38273(0x294)](_0x135fa8,_0x84abf2,_0x3bb350);return _0x31dbae(_0xccc20f,_0x2ba3d3),_0x34aa9a[_0xb38273(0x17e)]({'unitId':_0x135fa8,'subUnitId':_0x84abf2,'token':_0x3bb350,'type':_0x3f9618['Set']}),!0x0;}},_0x298d40={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x1d9),'handler'(_0x17b3a1,_0x1b8b64){const _0x6303c5=_0x40f901;if(!_0x1b8b64)return!0x1;if(!!_0x17b3a1[_0x6303c5(0x21c)](_0xc67125[_0x6303c5(0x33a)])['getConfig'](_0x302975))return!0x0;const _0x294c03=_0x17b3a1[_0x6303c5(0x21c)](_0x3d69f7[_0x6303c5(0x2a1)]),{unitId:_0x35364c,subUnitId:_0x51be82,pivotTableId:_0x461575,sourceName:_0x137878,dataFieldId:_0x264497,tableFieldId:_0x53fe94}=_0x1b8b64,_0x22684b=_0x294c03['getPivotTableInstance'](_0x461575);if(!_0x22684b)return!0x1;_0x22684b[_0x6303c5(0x202)](_0x53fe94,_0x137878,_0x264497);const _0x54134a=_0x294c03[_0x6303c5(0x294)](_0x35364c,_0x51be82,_0x461575);return _0x41c695(_0x54134a,_0x1b8b64),_0x294c03[_0x6303c5(0x17e)]({'unitId':_0x35364c,'subUnitId':_0x51be82,'token':_0x461575,'type':_0x3f9618[_0x6303c5(0x282)]}),!0x0;}},_0xa77c36={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x213),'handler'(_0x208608,_0x52ae77){const _0x5e28b2=_0x40f901;if(!_0x52ae77)return!0x1;if(!!_0x208608[_0x5e28b2(0x21c)](_0xc67125['IConfigService'])[_0x5e28b2(0x272)](_0x302975))return!0x0;const _0x465058=_0x208608[_0x5e28b2(0x21c)](_0x3d69f7[_0x5e28b2(0x2a1)]),{unitId:_0x32b374,subUnitId:_0xe2eccb,pivotTableId:_0x16b8ba,valuePosition:_0x5cb0ee,index:_0x42ce02}=_0x52ae77,_0x334b93=_0x465058['getPivotTableInstance'](_0x16b8ba);if(!_0x334b93)return!0x1;_0x334b93[_0x5e28b2(0x305)](_0x5cb0ee,_0x42ce02);const _0x109edc=_0x465058[_0x5e28b2(0x294)](_0x32b374,_0xe2eccb,_0x16b8ba);return _0x414992(_0x109edc,_0x52ae77),_0x465058['addDirtyPivotTable']({'unitId':_0x32b374,'subUnitId':_0xe2eccb,'token':_0x16b8ba,'type':_0x3f9618[_0x5e28b2(0x282)]}),!0x0;}};function _0x3a00dc(_0xd1914c,_0x23b331,_0x34a022){const _0x5bfeac=_0x40f901,{pivotTableId:_0x28042f,unitId:_0x79eb1b,subUnitId:_0x4febd6}=_0x23b331,_0x4e7e59=[],_0x52bab5=[];for(const _0x29eab2 of _0x34a022)switch(_0x29eab2['type']){case _0x504249[_0x5bfeac(0x174)]['AddField']:{const {fieldJson:_0x39a1ee,area:_0x56a010,index:_0x4be3dd}=_0x29eab2,_0x8bccea={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldJson':_0x39a1ee,'area':_0x56a010,'index':_0x4be3dd},_0xf435b={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x39a1ee['id'],'area':_0x56a010,'index':_0x4be3dd};_0x4e7e59['push']({'id':_0xbf378a['id'],'params':_0x8bccea}),_0x52bab5['unshift']({'id':_0x29e8e5['id'],'params':_0xf435b});}break;case _0x504249['PivotTableChangeTypeEnum'][_0x5bfeac(0x19d)]:{const {fieldId:_0x38937d,newSubtotalType:_0x3b9554,oldSubtotalType:_0x149f96}=_0x29eab2,_0x31b4f7={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x38937d,'subtotalType':_0x3b9554};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x3af9dc['id'],'params':_0x31b4f7});const _0x5940d4={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x38937d,'subtotalType':_0x149f96};_0x52bab5['unshift']({'id':_0x3af9dc['id'],'params':_0x5940d4});}break;case _0x504249['PivotTableChangeTypeEnum'][_0x5bfeac(0x19a)]:{const {fieldId:_0x152531,fieldJson:_0x1a9cad,area:_0x2eb1b1,index:_0x1e8659}=_0x29eab2,_0x34cdce={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x152531,'index':_0x1e8659,'area':_0x2eb1b1};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x29e8e5['id'],'params':_0x34cdce});const _0x43006c={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldJson':_0x1a9cad,'area':_0x2eb1b1,'index':_0x1e8659};_0x52bab5['unshift']({'id':_0xbf378a['id'],'params':_0x43006c});}break;case _0x504249[_0x5bfeac(0x174)][_0x5bfeac(0xe7)]:{const {fieldId:_0x20070c,oldName:_0x5dbe8b,newName:_0x32b459}=_0x29eab2,_0x1c52dc={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x20070c,'name':_0x32b459};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x31df64['id'],'params':_0x1c52dc});const _0x439254={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x20070c,'name':_0x5dbe8b};_0x52bab5['unshift']({'id':_0x31df64['id'],'params':_0x439254});}break;case _0x504249[_0x5bfeac(0x174)]['SetFilterInfo']:{const {fieldId:_0x371163,oldFilterInfo:_0x1e706e,newFilterInfo:_0x9c1c4d}=_0x29eab2,_0x4d4a57={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x371163,'filterInfo':_0x9c1c4d};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x53bb70['id'],'params':_0x4d4a57});const _0x19ed70={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x371163,'filterInfo':_0x1e706e};_0x52bab5[_0x5bfeac(0x258)]({'id':_0x53bb70['id'],'params':_0x19ed70});}break;case _0x504249[_0x5bfeac(0x174)][_0x5bfeac(0x2ce)]:{const {fieldId:_0x29ff41,oldSortInfo:_0x2f7aa9,newSortInfo:_0x4553f9}=_0x29eab2,_0x44ea4c={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x29ff41,'sortInfo':_0x4553f9};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x16f0c6['id'],'params':_0x44ea4c});const _0x3c2a86={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x29ff41,'sortInfo':_0x2f7aa9};_0x52bab5[_0x5bfeac(0x258)]({'id':_0x16f0c6['id'],'params':_0x3c2a86});}break;case _0x504249['PivotTableChangeTypeEnum'][_0x5bfeac(0x1d6)]:{const {oldOptions:_0x506b71,newOptions:_0x2e987f}=_0x29eab2,_0x358572={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'options':_0x2e987f};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x2f0222['id'],'params':_0x358572});const _0x3bebea={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'options':_0x506b71};_0x52bab5[_0x5bfeac(0x258)]({'id':_0x2f0222['id'],'params':_0x3bebea});}break;case _0x504249[_0x5bfeac(0x174)][_0x5bfeac(0x212)]:{const {oldArea:_0x16a63c,newArea:_0x5958db,oldIndex:_0x4dd7e3,newIndex:_0x1287ad,fieldId:_0x5a9770}=_0x29eab2,_0x2acc98={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x5a9770,'area':_0x5958db,'index':_0x1287ad,'oldArea':_0x16a63c,'oldIndex':_0x4dd7e3};_0x4e7e59['push']({'id':_0x1c717d['id'],'params':_0x2acc98});const _0x4681e4={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x5a9770,'area':_0x16a63c,'index':_0x4dd7e3,'oldArea':_0x5958db,'oldIndex':_0x1287ad};_0x52bab5[_0x5bfeac(0x258)]({'id':_0x1c717d['id'],'params':_0x4681e4});}break;case _0x504249['PivotTableChangeTypeEnum'][_0x5bfeac(0x113)]:{const {oldValuePosition:_0x29cea9,newValuePosition:_0x1df1aa,oldIndex:_0x4a2831,newIndex:_0x420c06}=_0x29eab2,_0x53aaca={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'valuePosition':_0x1df1aa,'index':_0x420c06};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0xa77c36['id'],'params':_0x53aaca});const _0x3d4a49={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'valuePosition':_0x29cea9,'index':_0x4a2831};_0x52bab5[_0x5bfeac(0x258)]({'id':_0xa77c36['id'],'params':_0x3d4a49});}break;case _0x504249[_0x5bfeac(0x174)]['SetCollapse']:{const {fieldId:_0x5e2eef,collapse:_0x3ffd20,item:_0x40a0be}=_0x29eab2,_0x1cd3d6={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x5e2eef,'collapse':_0x3ffd20,'item':_0x40a0be};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x18f5d2['id'],'params':_0x1cd3d6});const _0x123ed5={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x5e2eef,'collapse':!_0x3ffd20,'item':_0x40a0be};_0x52bab5[_0x5bfeac(0x258)]({'id':_0x18f5d2['id'],'params':_0x123ed5});}break;case _0x504249[_0x5bfeac(0x174)][_0x5bfeac(0x1a3)]:{const {newFormat:_0x366b80,oldFormat:_0x552699,fieldId:_0x170a15}=_0x29eab2,_0x2a369b={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x170a15,'format':_0x366b80};_0x4e7e59['push']({'id':_0xcd6482['id'],'params':_0x2a369b});const _0x555703={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x170a15,'format':_0x552699};_0x52bab5[_0x5bfeac(0x258)]({'id':_0xcd6482['id'],'params':_0x555703});}break;case _0x504249['PivotTableChangeTypeEnum']['UpdateSource']:{const {tableFieldId:_0x2b59ee,oldSourceName:_0x55e53b,newSourceName:_0x456786,oldDataFieldId:_0x1c9b64,newDataFieldId:_0x3e783a}=_0x29eab2,_0x1c18e1={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'tableFieldId':_0x2b59ee,'sourceName':_0x456786,'dataFieldId':_0x3e783a};_0x4e7e59[_0x5bfeac(0x177)]({'id':_0x298d40['id'],'params':_0x1c18e1});const _0x1615f2={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'tableFieldId':_0x2b59ee,'sourceName':_0x55e53b,'dataFieldId':_0x1c9b64};_0x52bab5[_0x5bfeac(0x258)]({'id':_0x298d40['id'],'params':_0x1615f2});}break;case _0x504249[_0x5bfeac(0x174)][_0x5bfeac(0x30e)]:{const {fieldId:_0x232de0,filterInfo:_0xe806a3,oldFilterInfo:_0x9a9a}=_0x29eab2,_0x52a399={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x232de0,'filterInfo':_0xe806a3};_0x4e7e59['push']({'id':_0x5db47a['id'],'params':_0x52a399});const _0x3707e6={'unitId':_0x79eb1b,'subUnitId':_0x4febd6,'pivotTableId':_0x28042f,'fieldId':_0x232de0,'filterInfo':_0x9a9a};_0x52bab5['unshift']({'id':_0x5db47a['id'],'params':_0x3707e6});}}return{'redos':_0x4e7e59,'undos':_0x52bab5};}function _0x45fdb3(_0x5df923,_0x47421a){const _0x37a520=_0x40f901;var _0x303465;const _0x447e84=_0x5df923[_0x37a520(0x21c)](_0x3d69f7[_0x37a520(0x210)]),{cellInfo:_0x387272,view:_0x49ccc0,isEmpty:_0xd7f69d}=_0x47421a;return(_0x303465=_0x447e84[_0x37a520(0x372)]['fetchThroughInterceptors'](_0x5564d9)(_0x463c0c,{'cellInfo':_0x387272,'view':_0x49ccc0,'isEmpty':_0xd7f69d}))!=null?_0x303465:_0x463c0c;}const _0x8bf9d7=()=>typeof process<'u'&&process['versions']!=null&&process['versions'][_0x40f901(0x198)]!=null,_0x19ffd2={'type':_0xc67125['CommandType']['MUTATION'],'id':_0x40f901(0x17a),'handler'(_0x198fb7,_0x51e063){const _0xa2c1fb=_0x40f901;var _0xb95f2;if(!_0x51e063)return!0x1;const _0xfa6a00=_0x198fb7[_0xa2c1fb(0x21c)](_0xc67125['IConfigService']);if(!!_0xfa6a00[_0xa2c1fb(0x272)](_0x302975))return!0x0;const _0x598b65=_0x198fb7[_0xa2c1fb(0x21c)](_0xc67125['IUniverInstanceService']),_0x2ca19e=_0x198fb7[_0xa2c1fb(0x21c)](_0x3d69f7[_0xa2c1fb(0x2a1)]),{pivotTableId:_0x32de96,pivotTableConfig:_0x2187ba,collectionConfig:_0x24d8bb,unitId:_0x2b49e6,subUnitId:_0x2ad644}=_0x51e063,{sourceRangeInfo:_0x3fb871,fieldsConfig:_0x563f72,targetCellInfo:_0x40d1aa}=_0x2187ba,_0x1f6cb3=_0x598b65[_0xa2c1fb(0x128)](_0x2b49e6);if(!_0x1f6cb3||!_0x1f6cb3[_0xa2c1fb(0x1d0)](_0x2ad644))return!0x1;if(!_0x8bf9d7()){let _0x113c0d=0x0;_0x1f6cb3[_0xa2c1fb(0x14c)]()[_0xa2c1fb(0x336)](_0x25de9b=>{const _0x362bd4=_0xa2c1fb;var _0x149be4,_0x2ace5f;_0x113c0d+=(_0x2ace5f=(_0x149be4=_0x2ca19e[_0x362bd4(0x16e)](_0x2b49e6,_0x25de9b[_0x362bd4(0x267)]()))==null?void 0x0:_0x149be4[_0x362bd4(0x315)])!=null?_0x2ace5f:0x0;});const _0xaad901=(_0xb95f2=_0xfa6a00[_0xa2c1fb(0x272)](_0x11e7af[_0xa2c1fb(0x178)]))!=null?_0xb95f2:{},{ls:_0x34e1c5,pbk:_0x43e480}=_0xaad901;if(!_0x143deb(_0x34e1c5,_0x43e480))throw new _0xc67125['CustomCommandExecutionError'](_0xa2c1fb(0x23d));const _0x1a10aa=_0x732cb6(_0x1295da,_0x34e1c5,_0x43e480)[_0xa2c1fb(0x16c)];if(_0x113c0d>=_0x1a10aa)throw new _0xc67125['CustomCommandExecutionError'](_0xa2c1fb(0x23d));}if(!_0x24d8bb||!_0x563f72)return!0x1;const {collection:_0x4c0cc3,updateDataFieldList:_0x3729a3}=_0x2ca19e[_0xa2c1fb(0x162)](_0x32de96,_0x24d8bb,_0x3fb871,_0x40d1aa);_0x2ca19e[_0xa2c1fb(0x379)](_0x4c0cc3,_0x3729a3,_0x3fb871);const _0x4ddf8=new _0x504249[(_0xa2c1fb(0x378))](_0x4c0cc3,void 0x0,_0x32de96);_0x4ddf8[_0xa2c1fb(0x13f)](_0x563f72);const _0x2dda78=JSON[_0xa2c1fb(0x10a)](JSON['stringify'](_0x2187ba));return _0x2ca19e[_0xa2c1fb(0x399)](_0x2b49e6,_0x2ad644,_0x32de96,_0x4ddf8,_0x2dda78),_0x2ca19e[_0xa2c1fb(0x17e)]({'unitId':_0x2b49e6,'subUnitId':_0x2ad644,'token':_0x32de96,'type':_0x3f9618[_0xa2c1fb(0x130)],'pivotConfig':_0x2dda78}),!0x0;}},_0x5de69c={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':'sheet.mutation.remove-pivot-table','handler'(_0x214c4d,_0x596cc2){const _0x2efb53=_0x40f901;if(!_0x596cc2)return!0x1;if(!!_0x214c4d['get'](_0xc67125[_0x2efb53(0x33a)])[_0x2efb53(0x272)](_0x302975))return!0x0;const {pivotTableId:_0x2c40c6,unitId:_0x3f3214,subUnitId:_0x30a27f}=_0x596cc2,_0x38305a=_0x214c4d[_0x2efb53(0x21c)](_0x3d69f7[_0x2efb53(0x2a1)]);return _0x38305a[_0x2efb53(0x2b2)](_0x3f3214,_0x30a27f,_0x2c40c6)?(_0x38305a[_0x2efb53(0x17e)]({'unitId':_0x3f3214,'subUnitId':_0x30a27f,'token':_0x2c40c6,'type':_0x3f9618[_0x2efb53(0x335)]}),_0x38305a[_0x2efb53(0x1b0)](_0x3f3214,_0x30a27f,_0x2c40c6),!0x0):!0x1;}},_0x2a4800={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':'sheet.mutation.set-pivot-position','handler'(_0x270a16,_0x8582fb){const _0x4d83a5=_0x40f901;if(!_0x8582fb)return!0x1;if(!!_0x270a16['get'](_0xc67125[_0x4d83a5(0x33a)])[_0x4d83a5(0x272)](_0x302975))return!0x0;const {pivotTableId:_0x1344a7,targetCellPosition:_0x1f4fd1,unitId:_0x42ca46,subUnitId:_0x34d999}=_0x8582fb,_0x2bda75=_0x270a16[_0x4d83a5(0x21c)](_0x3d69f7[_0x4d83a5(0x2a1)]);if(!_0x2bda75[_0x4d83a5(0x32a)](_0x8582fb[_0x4d83a5(0x35d)]))return!0x1;const _0x3fa0f3=_0x2bda75[_0x4d83a5(0x33c)](_0x1344a7);if(!_0x3fa0f3)return!0x1;const _0x5309c5=_0x2bda75[_0x4d83a5(0x183)](_0x3fa0f3[_0x4d83a5(0x27a)],_0x8582fb[_0x4d83a5(0x35d)]);if(!_0x5309c5)return!0x1;const _0x35490f=_0x2bda75[_0x4d83a5(0x2b2)](_0x3fa0f3[_0x4d83a5(0x27a)],_0x3fa0f3[_0x4d83a5(0xe4)],_0x1344a7);if(!_0x35490f)return!0x1;const _0x49b6a7=_0xc67125[_0x4d83a5(0x1fa)][_0x4d83a5(0x2cf)](_0x35490f);_0x49b6a7['targetCellInfo']={'unitId':_0x42ca46,'subUnitId':_0x34d999,'row':_0x1f4fd1['row'],'col':_0x1f4fd1[_0x4d83a5(0x31e)]};const _0x1e420c=_0x5309c5[_0x4d83a5(0x2db)]();if(_0x3fa0f3[_0x4d83a5(0xe4)]===_0x34d999&&_0x3fa0f3[_0x4d83a5(0x27a)]===_0x42ca46)_0x2bda75[_0x4d83a5(0x1ff)](_0x42ca46,_0x34d999,_0x1344a7,_0x49b6a7),_0x2bda75[_0x4d83a5(0x17e)]({'unitId':_0x42ca46,'subUnitId':_0x34d999,'token':_0x1344a7,'type':_0x3f9618[_0x4d83a5(0x282)]});else{_0x2bda75[_0x4d83a5(0x17e)]({'unitId':_0x3fa0f3[_0x4d83a5(0x27a)],'subUnitId':_0x3fa0f3[_0x4d83a5(0xe4)],'token':_0x1344a7,'type':_0x3f9618[_0x4d83a5(0x335)]}),_0x2bda75['removePivotTable'](_0x3fa0f3['unitId'],_0x3fa0f3[_0x4d83a5(0xe4)],_0x1344a7);const _0x16fa0e=_0x2bda75['addCollectionByJSON'](_0x1344a7,_0x1e420c,_0x35490f[_0x4d83a5(0x33d)],_0x49b6a7[_0x4d83a5(0xf4)]),_0x47fa4d=new _0x504249['PivotTable'](_0x16fa0e[_0x4d83a5(0x119)],void 0x0,_0x1344a7);_0x47fa4d[_0x4d83a5(0x13f)](_0x49b6a7[_0x4d83a5(0x38c)]),_0x2bda75[_0x4d83a5(0x399)](_0x42ca46,_0x34d999,_0x1344a7,_0x47fa4d,_0x49b6a7),_0x2bda75[_0x4d83a5(0x17e)]({'unitId':_0x42ca46,'subUnitId':_0x34d999,'token':_0x1344a7,'type':_0x3f9618[_0x4d83a5(0x130)],'pivotConfig':_0x49b6a7});}return!0x0;}},_0x53d565={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x365)],'id':_0x40f901(0x142),'handler'(_0x17ed85,_0x1e8813){const _0x1a8cc8=_0x40f901;if(!_0x1e8813)return!0x1;if(!!_0x17ed85[_0x1a8cc8(0x21c)](_0xc67125[_0x1a8cc8(0x33a)])[_0x1a8cc8(0x272)](_0x302975))return!0x0;const _0xfe768=_0x17ed85['get'](_0x3d69f7[_0x1a8cc8(0x2a1)]),{pivotTableId:_0x524d7d,deleteIds:_0x906c9d,collectionJSON:_0x332c5b,dataRangeInfo:_0x1db8d9,unitId:_0x30b37d,subUnitId:_0x471e2d}=_0x1e8813,_0x3e451a=_0xfe768[_0x1a8cc8(0x32a)](_0x524d7d),_0x291556=_0xfe768[_0x1a8cc8(0x2b2)](_0x30b37d,_0x471e2d,_0x524d7d);if(!_0x3e451a||!_0x291556)return!0x1;const {collection:_0x591f92,updateDataFieldList:_0x34bf11}=_0xfe768[_0x1a8cc8(0x162)](_0x524d7d,_0x332c5b,_0x1db8d9,_0x291556[_0x1a8cc8(0xf4)]);_0xfe768[_0x1a8cc8(0x379)](_0x591f92,_0x34bf11,_0x1db8d9),_0x3e451a[_0x1a8cc8(0x373)](_0x591f92);for(const _0x2c92dd of _0x906c9d)_0xfe768[_0x1a8cc8(0x37a)](_0x1db8d9['unitId'],_0x2c92dd);const _0x2ed4eb=_0xfe768[_0x1a8cc8(0x2b2)](_0x30b37d,_0x471e2d,_0x524d7d);return _0x2ed4eb[_0x1a8cc8(0x33d)]=JSON[_0x1a8cc8(0x10a)](JSON[_0x1a8cc8(0x2bf)](_0x1db8d9)),_0xfe768[_0x1a8cc8(0x17e)]({'unitId':_0x30b37d,'subUnitId':_0x471e2d,'token':_0x524d7d,'type':_0x3f9618[_0x1a8cc8(0x282)]}),!0x0;}},_0x3a8be6={'type':_0xc67125['CommandType'][_0x40f901(0x365)],'id':'sheet.operation.pivot-table-view-formula-mark-dirty','handler'(){return!0x0;}};var _0x201b24=Object[_0x40f901(0x175)],_0x25d1b=(_0x583adc,_0x2d9896,_0x4839ec,_0x218bc6)=>{const _0x969874=_0x40f901;for(var _0xe54921=_0x218bc6>0x1?void 0x0:_0x218bc6?_0x201b24(_0x2d9896,_0x4839ec):_0x2d9896,_0x27cf38=_0x583adc[_0x969874(0x2a3)]-0x1,_0x5b9ef3;_0x27cf38>=0x0;_0x27cf38--)(_0x5b9ef3=_0x583adc[_0x27cf38])&&(_0xe54921=_0x5b9ef3(_0xe54921)||_0xe54921);return _0xe54921;},_0x52322a=(_0x3610e4,_0x680dde)=>(_0x2945ef,_0xe3633b)=>_0x680dde(_0x2945ef,_0xe3633b,_0x3610e4);_0x3d69f7[_0x40f901(0x19c)]=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x85e876,_0x403135){const _0x5053ee=_0x40f901;super(),_0x1bae1e(this,_0x5053ee(0x18b),new Map()),(this[_0x5053ee(0x15c)]=_0x85e876,this[_0x5053ee(0x2c8)]=_0x403135);}[_0x40f901(0x173)](_0xa432ee){const _0x4ebbde=_0x40f901,{version:_0x32b4db}=_0xa432ee,_0x3d2eee=this[_0x4ebbde(0x18b)][_0x4ebbde(0x21c)](_0x32b4db);_0x3d2eee&&(_0x3d2eee(_0xa432ee),this[_0x4ebbde(0x18b)][_0x4ebbde(0x32c)](_0x32b4db));}['getPivotDisplayConfig'](_0xc28c7c){return new Promise((_0xfc2dee,_0x1deda7)=>{const _0x42102e=_0x486c,_0x10881b=this[_0x42102e(0x329)]();this[_0x42102e(0x18b)][_0x42102e(0x24a)](_0x10881b,_0xfc2dee),this[_0x42102e(0x2c8)][_0x42102e(0x312)](_0x2ff733['id'],{'version':_0x10881b,..._0xc28c7c},{'onlyLocal':!0x0});});}[_0x40f901(0x329)](){const _0x4ad99c=_0x40f901;return Math['random']()[_0x4ad99c(0x273)](0x24)['substring'](0x2,0x10);}},_0x3d69f7['SheetsPivotRPCService']=_0x25d1b([_0x52322a(0x0,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x17d)])),_0x52322a(0x1,_0xc67125[_0x40f901(0x2b6)](_0xc67125['ICommandService']))],_0x3d69f7['SheetsPivotRPCService']);const _0xf8b49={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':_0x40f901(0xf3),async 'handler'(_0x30c9ec,_0x59bf93){const _0x995421=_0x40f901;if(!_0x59bf93)return!0x1;const _0x4c6efb=_0x30c9ec['get'](_0xc67125[_0x995421(0x268)]),_0x1d259c=_0x30c9ec[_0x995421(0x21c)](_0x3d69f7['SheetsPivotRPCService']),_0x159f4f=_0x30c9ec[_0x995421(0x21c)](_0xc67125[_0x995421(0x2ef)]),{pivotTableId:_0x2a8d58,dataFieldId:_0x531129,fieldArea:_0xc3d95e,index:_0xd53635,unitId:_0x221ec4,subUnitId:_0x315ac2}=_0x59bf93,_0x16691a=(await _0x1d259c[_0x995421(0x146)]({'unitId':_0x221ec4,'subUnitId':_0x315ac2,'pivotTableId':_0x2a8d58,'params':{'type':_0xddaca4[_0x995421(0x304)],'addPivotField':{'dataFieldId':_0x531129,'fieldArea':_0xc3d95e,'index':_0xd53635}}}))[_0x995421(0x169)]['addPivotField'];if(!_0x16691a)return!0x1;const {view:_0x35d32c,changesets:_0x1495be,isEmpty:_0x463759,pivotTableConfig:_0x25dca3}=_0x16691a,_0x59d189=_0x25dca3[_0x995421(0xf4)],_0x586c96=new _0x504249['PivotView']();_0x586c96[_0x995421(0x1a5)](_0x35d32c);const _0x5b83dc={'cellInfo':_0x59d189,'view':_0x586c96,'isEmpty':_0x463759};if(!await _0x30c9ec[_0x995421(0x21c)](_0x3d69f7[_0x995421(0x210)])[_0x995421(0x2cb)][_0x995421(0x36f)](_0x3c4a4d)(!0x0,_0x5b83dc))return!0x1;const _0x105770=_0xbd6473(_0x30c9ec,_0x586c96,_0x59d189,_0x463759),_0x1e173f=_0x45fdb3(_0x30c9ec,_0x5b83dc),{undos:_0x492ee9,redos:_0x5005a9}=_0x3a00dc(_0x4c6efb,{'pivotTableId':_0x2a8d58,'unitId':_0x221ec4,'subUnitId':_0x315ac2},_0x1495be);return _0xc67125[_0x995421(0x31d)]([..._0x105770[_0x995421(0x1a2)],..._0x1e173f[_0x995421(0x1a2)],..._0x5005a9],_0x4c6efb),_0x159f4f['pushUndoRedo']({'unitID':_0x221ec4,'redoMutations':[..._0x105770[_0x995421(0x1a2)],..._0x1e173f[_0x995421(0x1a2)],..._0x5005a9],'undoMutations':[..._0x105770[_0x995421(0x14e)],..._0x1e173f['undos'],..._0x492ee9]}),!0x0;}},_0x2ab1e3={'type':_0xc67125[_0x40f901(0x392)]['COMMAND'],'id':_0x40f901(0x242),async 'handler'(_0x438dfe,_0x58061f){const _0xac4087=_0x40f901;if(!_0x58061f)return!0x1;const {sourceDataInfo:_0x25aa59,pivotTableConfig:_0x15675a}=_0x58061f;if(!_0x25aa59||!_0x15675a)return!0x1;const {unitId:_0x4f537b,subUnitId:_0x429cb6,range:_0x12c914}=_0x25aa59,_0x49aed3=_0x438dfe[_0xac4087(0x21c)](_0xc67125[_0xac4087(0x354)]),_0x2c35fd=_0x438dfe[_0xac4087(0x21c)](_0x3d69f7[_0xac4087(0x19c)]),_0x2676a3=_0x438dfe[_0xac4087(0x21c)](_0xc67125[_0xac4087(0x29e)]),_0x5c3512=_0x438dfe[_0xac4087(0x21c)](_0xc67125[_0xac4087(0x268)]),_0x50653e=_0x49aed3['getUnit'](_0x4f537b);if(!_0x50653e)return!0x1;const _0x22f214=_0x50653e[_0xac4087(0x1d0)](_0x429cb6);if(!_0x22f214)return!0x1;const _0x184c20=_0x504249[_0xac4087(0x281)](0x8),_0x7d4766=_0x12c914||{'startRow':0x0,'startColumn':0x0,'endRow':_0x22f214[_0xac4087(0x396)]()-0x1,'endColumn':_0x22f214['getColumnCount']()-0x1};_0x7d4766['rangeType']=_0xc67125['RANGE_TYPE'][_0xac4087(0x291)];const _0x5c08d3=(await _0x2c35fd[_0xac4087(0x146)]({'unitId':_0x4f537b,'subUnitId':_0x429cb6,'pivotTableId':_0x184c20,'params':{'type':_0xddaca4[_0xac4087(0x17b)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x4f537b,'sheetName':_0x22f214[_0xac4087(0x1a4)](),'subUnitId':_0x429cb6,'range':_0x7d4766},'pivotTableId':_0x184c20,'pivotTableIndexConfig':_0x15675a}}}))[_0xac4087(0x169)][_0xac4087(0x319)];if(!_0x5c08d3)return!0x1;const {isEmpty:_0x35a619,fieldsConfig:_0x2ddc13,collectionConfig:_0x13f275,changesets:_0x33fd77}=_0x5c08d3,_0x4ed9be=_0x50653e[_0xac4087(0x14c)]()['length'],_0x57a57d=_0xc67125[_0xac4087(0xf8)]({'rowCount':_0x22f214[_0xac4087(0x396)]()-0x1,'columnCount':_0x22f214[_0xac4087(0x101)]()-0x1});_0x57a57d['id']=_0xc67125[_0xac4087(0x2e1)](),_0x57a57d[_0xac4087(0x1a6)]=_0x50653e[_0xac4087(0x327)](''+_0x2676a3['t']('sheets.tabs.sheet'));const _0x532c4b={'index':_0x4ed9be,'sheet':_0x57a57d,'unitId':_0x4f537b},{redos:_0x3e0a95}=_0x3a00dc(_0x5c3512,{'pivotTableId':_0x184c20,'unitId':_0x4f537b,'subUnitId':_0x57a57d['id']},_0x33fd77),_0x595f56=[{'id':_0x96765f['InsertSheetCommand']['id'],'params':_0x532c4b},{'id':_0x19ffd2['id'],'params':{'unitId':_0x4f537b,'subUnitId':_0x57a57d['id'],'pivotTableId':_0x184c20,'pivotTableConfig':{'isEmpty':_0x35a619,'fieldsConfig':_0x2ddc13,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x4f537b,'subUnitId':_0x57a57d['id']},'sourceRangeInfo':{'subUnitId':_0x429cb6,'unitId':_0x4f537b,'range':_0x7d4766,'sheetName':_0x22f214['getName']()}},'collectionConfig':_0x13f275}},..._0x3e0a95];return _0xc67125[_0xac4087(0x31d)](_0x595f56,_0x5c3512),!0x0;}},_0x28b4c8={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':_0x40f901(0x1df),async 'handler'(_0x36f2f5,_0x1e1a0c){const _0x402570=_0x40f901;var _0x5cc819,_0x2542a7;const _0x25ecec=_0x36f2f5[_0x402570(0x21c)](_0xc67125[_0x402570(0x268)]),_0x18785d=_0x36f2f5[_0x402570(0x21c)](_0xc67125['IUniverInstanceService']),_0x67cfa9=_0x36f2f5[_0x402570(0x21c)](_0xc67125[_0x402570(0x29e)]),_0x391d78=_0x36f2f5[_0x402570(0x21c)](_0x3d69f7[_0x402570(0x19c)]),_0x45f8fa=_0x36f2f5[_0x402570(0x21c)](_0xc67125[_0x402570(0x2ef)]),_0x4d7f30=_0x36f2f5[_0x402570(0x21c)](_0x3d69f7[_0x402570(0x1ad)]),_0x10f595=_0x36f2f5['get'](_0xc67125['IConfigService']);if(!_0x1e1a0c)return!0x1;const {pivotTableConfig:_0x2348e9,positionType:_0x4a22c7}=_0x1e1a0c,{targetCellInfo:_0x4a40bc,sourceRangeInfo:_0x398fc8}=_0x2348e9,{unitId:_0x38aabc,subUnitId:_0x2dc5fd}=_0x4a40bc,_0x2584b1=_0x18785d[_0x402570(0x128)](_0x38aabc);if(!_0x2584b1)return!0x1;let _0x57f652=0x0;_0x2584b1['getSheets']()[_0x402570(0x336)](_0x742816=>{const _0x4cabba=_0x402570;var _0x348f64,_0x1d37af;_0x57f652+=(_0x1d37af=(_0x348f64=_0x4d7f30[_0x4cabba(0x16e)](_0x38aabc,_0x742816[_0x4cabba(0x267)]()))==null?void 0x0:_0x348f64[_0x4cabba(0x315)])!=null?_0x1d37af:0x0;});const _0x47108b=(_0x5cc819=_0x10f595['getConfig'](_0x11e7af['LS_CONFIG_KEY']))!=null?_0x5cc819:{},{ls:_0x464877,pbk:_0xbda235}=_0x47108b;if(!_0x143deb(_0x464877,_0xbda235))return!0x1;const _0x38afb=_0x732cb6(_0x1295da,_0x464877,_0xbda235)['count'];if(_0x57f652>=_0x38afb)return!0x1;const _0x58dfd2=_0x1e1a0c[_0x402570(0x35d)]||_0x504249['generateHexNumber'](0x8),_0x1dc77e=(await _0x391d78[_0x402570(0x146)]({'unitId':_0x38aabc,'subUnitId':_0x2dc5fd,'pivotTableId':_0x58dfd2,'params':{'type':_0xddaca4['AddPivotTable'],'addPivotTable':{'sourceRangeInfo':_0x398fc8,'pivotTableId':_0x58dfd2}}}))['result'][_0x402570(0x399)];if(!_0x1dc77e)return!0x1;const {view:_0x5dbb4d,isEmpty:_0x39fc97,fieldsConfig:_0x58a04c,collectionConfig:_0x57c01b}=_0x1dc77e,_0x3da403=[],_0x12496f=[];if(_0x4a22c7===_0x2a633b[_0x402570(0x383)]){const _0x271311=_0x2584b1[_0x402570(0x14c)]()[_0x402570(0x2a3)],_0x42c363=_0xc67125[_0x402570(0xf8)]({});_0x42c363['id']=_0x2348e9['targetCellInfo']['subUnitId'],_0x42c363[_0x402570(0x1a6)]=(_0x2542a7=_0x2348e9[_0x402570(0xf4)][_0x402570(0x289)])!=null?_0x2542a7:_0x2584b1['generateNewSheetName'](''+_0x67cfa9['t'](_0x402570(0x241)));const _0x34a649={'index':_0x271311,'sheet':_0x42c363,'unitId':_0x38aabc},_0x56a2b8=_0x96765f[_0x402570(0x250)](_0x36f2f5,_0x34a649);_0x3da403[_0x402570(0x177)]({'id':_0x96765f[_0x402570(0x1e0)]['id'],'params':_0x56a2b8}),_0x12496f[_0x402570(0x177)]({'id':_0x96765f['InsertSheetMutation']['id'],'params':_0x34a649});}else{if(!_0x2584b1[_0x402570(0x1d0)](_0x2dc5fd))return!0x1;const _0x5a2af8=_0xbd6473(_0x36f2f5,new _0x504249[(_0x402570(0x1f9))](),_0x4a40bc,!0x0);_0x12496f['push'](..._0x5a2af8[_0x402570(0x1a2)]),_0x3da403[_0x402570(0x177)](..._0x5a2af8[_0x402570(0x14e)]);const _0x2fbbed={'cellInfo':_0x4a40bc,'view':_0x5dbb4d,'isEmpty':_0x39fc97};if(!await _0x36f2f5[_0x402570(0x21c)](_0x3d69f7['SheetsPivotTableService'])[_0x402570(0x2cb)][_0x402570(0x36f)](_0x3c4a4d)(!0x0,_0x2fbbed))return!0x1;const _0x350f04=_0x45fdb3(_0x36f2f5,_0x2fbbed);_0x12496f[_0x402570(0x177)](..._0x350f04[_0x402570(0x1a2)]),_0x3da403[_0x402570(0x177)](..._0x350f04[_0x402570(0x14e)]);}return _0x12496f[_0x402570(0x177)]({'id':_0x19ffd2['id'],'params':{'unitId':_0x4a40bc[_0x402570(0x27a)],'subUnitId':_0x4a40bc[_0x402570(0xe4)],'pivotTableId':_0x58dfd2,'pivotTableConfig':{'targetCellInfo':_0x4a40bc,'sourceRangeInfo':_0x398fc8,'fieldsConfig':_0x58a04c},'collectionConfig':_0x57c01b}}),_0x3da403[_0x402570(0x258)]({'id':_0x5de69c['id'],'params':{'unitId':_0x38aabc,'subUnitId':_0x2dc5fd,'pivotTableId':_0x58dfd2}}),_0xc67125[_0x402570(0x31d)](_0x12496f,_0x25ecec)&&_0x45f8fa['pushUndoRedo']({'unitID':_0x38aabc,'undoMutations':_0x3da403,'redoMutations':_0x12496f}),!0x0;}},_0x4aa7e8={'type':_0xc67125['CommandType'][_0x40f901(0x20b)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x22d578,_0x18ef52){const _0x2b1142=_0x40f901;if(!_0x18ef52)return!0x1;const _0x44e827=_0x22d578['get'](_0xc67125[_0x2b1142(0x268)]),_0x38f69b=_0x22d578[_0x2b1142(0x21c)](_0x3d69f7['SheetsPivotRPCService']),_0x1b6356=_0x22d578[_0x2b1142(0x21c)](_0xc67125[_0x2b1142(0x2ef)]),{pivotTableId:_0x2d8cb2,fieldId:_0x527627,area:_0x3caaaa,index:_0x194605,unitId:_0x3364d5,subUnitId:_0x2af803}=_0x18ef52,_0x275943=(await _0x38f69b[_0x2b1142(0x146)]({'unitId':_0x3364d5,'subUnitId':_0x2af803,'pivotTableId':_0x2d8cb2,'params':{'type':_0xddaca4['MovePivotField'],'movePivotField':{'fieldId':_0x527627,'area':_0x3caaaa,'index':_0x194605}}}))[_0x2b1142(0x169)][_0x2b1142(0x32e)];if(!_0x275943)return!0x1;const {changesets:_0x56cad7,view:_0x389a6c,isEmpty:_0x41108e,pivotTableConfig:_0x223122}=_0x275943,_0x4286f3=_0x223122[_0x2b1142(0xf4)],_0x4f24ce=new _0x504249[(_0x2b1142(0x1f9))]();_0x4f24ce[_0x2b1142(0x1a5)](_0x389a6c);const _0x874f91={'cellInfo':_0x4286f3,'view':_0x4f24ce,'isEmpty':_0x41108e};if(!await _0x22d578[_0x2b1142(0x21c)](_0x3d69f7['SheetsPivotTableService'])['asyncInterceptor'][_0x2b1142(0x36f)](_0x3c4a4d)(!0x0,_0x874f91))return!0x1;const _0x1d76bb=_0xbd6473(_0x22d578,_0x4f24ce,_0x4286f3,_0x41108e),_0x295f55=_0x45fdb3(_0x22d578,_0x874f91),{redos:_0x4a67c8,undos:_0x45fd43}=_0x3a00dc(_0x44e827,{'pivotTableId':_0x2d8cb2,'unitId':_0x3364d5,'subUnitId':_0x2af803},_0x56cad7);return _0xc67125[_0x2b1142(0x31d)]([..._0x1d76bb[_0x2b1142(0x1a2)],..._0x295f55[_0x2b1142(0x1a2)],..._0x4a67c8],_0x44e827),_0x1b6356['pushUndoRedo']({'unitID':_0x3364d5,'redoMutations':[..._0x1d76bb[_0x2b1142(0x1a2)],..._0x295f55[_0x2b1142(0x1a2)],..._0x4a67c8],'undoMutations':[..._0x1d76bb[_0x2b1142(0x14e)],..._0x295f55['undos'],..._0x45fd43]}),!0x0;}},_0x5cf14e={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x3c416d,_0x934145){const _0x5d06c3=_0x40f901;var _0x5bf9b9;if(!_0x934145)return!0x1;const _0x39a3be=_0x3c416d[_0x5d06c3(0x21c)](_0xc67125['IUniverInstanceService']),_0x5f2883=_0x96765f[_0x5d06c3(0x105)](_0x39a3be);if(!_0x5f2883)return!0x1;const {unitId:_0x10b605,subUnitId:_0x27ff5c,workbook:_0x32c6fa}=_0x5f2883,{row:_0x4ac9e0,col:_0x45d656}=_0x934145,_0x474782=_0x3c416d[_0x5d06c3(0x21c)](_0x3d69f7['SheetsPivotTableAdaptorModel']),_0xe6f666=_0x474782[_0x5d06c3(0x10e)](_0x10b605,_0x27ff5c,_0x4ac9e0,_0x45d656);if(!_0xe6f666)return!0x1;const _0x292bae=(_0x5bf9b9=_0x474782[_0x5d06c3(0x26f)](_0x10b605,_0x27ff5c,_0xe6f666))==null?void 0x0:_0x5bf9b9[_0x5d06c3(0x2fe)];if(!_0x292bae)return!0x1;const _0x4b4bc3=_0x3c416d[_0x5d06c3(0x21c)](_0x3d69f7[_0x5d06c3(0x1ad)])[_0x5d06c3(0x2b2)](_0x10b605,_0x27ff5c,_0xe6f666);if(!_0x4b4bc3)return!0x1;const {rowInfo:_0x83aac6,colInfo:_0x299db4}=_0x292bae,_0xb1be61=_0x83aac6[_0x4ac9e0][_0x5d06c3(0x263)],_0x233662=_0x299db4[_0x45d656][_0x5d06c3(0x263)],_0x4259dd=_0x83aac6[_0x4ac9e0][_0x5d06c3(0x394)],_0xac6446=_0x299db4[_0x45d656][_0x5d06c3(0x394)],_0x3ec098=_0xb1be61[_0x5d06c3(0x2fc)](_0x233662),_0x2976f0=_0x4b4bc3['fieldsConfig'][_0x5d06c3(0x362)][_0x5d06c3(0x34a)](0x0,_0x4259dd),_0x33e037=_0x4b4bc3['fieldsConfig'][_0x5d06c3(0x26b)]['slice'](0x0,_0xac6446),_0x2221d6=_0x2976f0[_0x5d06c3(0x2fc)](_0x33e037),_0x39b7e0=_0x3ec098[_0x5d06c3(0x2f3)]((_0x2d415d,_0x324626)=>[_0x2d415d,_0x2221d6[_0x324626]]),_0x47f190=(await _0x3c416d[_0x5d06c3(0x21c)](_0x3d69f7['SheetsPivotRPCService'])[_0x5d06c3(0x146)]({'unitId':_0x10b605,'subUnitId':_0x27ff5c,'pivotTableId':_0xe6f666,'params':{'type':_0xddaca4['DrillDown'],'drillDown':{'tuple':_0x39b7e0}}}))[_0x5d06c3(0x169)][_0x5d06c3(0x1ae)];if(!_0x47f190)return!0x1;const {indexes:_0x458801,range:_0x587876,sourceUnitId:_0x38ce0b,sourceSubUnitId:_0x2af1a5,formatMap:_0x2c5184}=_0x47f190,{startRow:_0x582580,endRow:_0x1d84ce,startColumn:_0x226649,endColumn:_0x1783f1}=_0x587876,_0x4a62c2=new _0xc67125[(_0x5d06c3(0x25f))](),_0x5e1ba1=_0x1d84ce-_0x582580,_0x4d1166=_0x1783f1-_0x226649,_0xe53fbe={},_0x476810=_0x96765f[_0x5d06c3(0x105)](_0x39a3be,{'unitId':_0x38ce0b,'subUnitId':_0x2af1a5});if(!_0x476810)return!0x1;const _0x11f32a=_0x5385b8[_0x5d06c3(0x1c1)],_0x520520=_0x5385b8[_0x5d06c3(0x280)],_0x2de43d=_0x5385b8['subTotalStyle'],_0x397856=_0x32c6fa[_0x5d06c3(0x1e6)]()['setValue'](_0x11f32a),_0x3a45f6=_0x32c6fa[_0x5d06c3(0x1e6)]()['setValue'](_0x520520),_0x28673d=_0x32c6fa['getStyles']()['setValue'](_0x2de43d),{worksheet:_0x3c6070}=_0x476810;let _0x5a9d6e=0x0;const _0x5c7747=0x1;_0x458801['forEach'](_0x16f7e2=>{const _0x1812ba=_0x5d06c3;for(let _0x5f2b54=0x0;_0x5f2b54<=_0x1783f1-_0x226649;_0x5f2b54++)_0x4a62c2[_0x1812ba(0x269)](_0x5a9d6e,_0x5f2b54,_0x3c6070[_0x1812ba(0x355)](_0x16f7e2+_0x587876['startRow']+_0x5c7747,_0x5f2b54));_0x5a9d6e++;});for(let _0x4985cb=_0x226649;_0x4985cb<=_0x1783f1;_0x4985cb++){const _0xc0319b=_0x3c6070[_0x5d06c3(0x355)](_0x582580,_0x4985cb);_0xe53fbe[_0x582580]||(_0xe53fbe[_0x582580]={}),_0xe53fbe[_0x582580][_0x4985cb]={..._0xc0319b,'s':_0x397856};}let _0x4e45a5=0x1;const _0x367fc7={},_0x5e0355={};_0x4a62c2[_0x5d06c3(0x35f)]((_0x541193,_0x4a71a4)=>{const _0x525b32=_0x5d06c3;_0x4a71a4[_0x525b32(0x336)](_0x43b2d7=>{const _0x21dea3=_0x525b32,_0x33eab2=_0x4a62c2[_0x21dea3(0x31a)](_0x541193,_0x43b2d7);if(_0xe53fbe[_0x4e45a5]||(_0xe53fbe[_0x4e45a5]={}),_0xe53fbe[_0x4e45a5][_0x43b2d7]={..._0x33eab2,'s':_0x4e45a5%0x2===0x0?_0x28673d:_0x3a45f6},_0x2c5184[_0x43b2d7]&&_0x541193>=0x0){const _0x56c5b5=_0x4e45a5%0x2===0x0;let _0x5dfda9=_0x56c5b5?_0x5e0355[_0x43b2d7]:_0x367fc7[_0x43b2d7];_0x5dfda9||(_0x5dfda9=_0x32c6fa[_0x21dea3(0x1e6)]()[_0x21dea3(0x269)]({..._0x56c5b5?_0x2de43d:_0x520520,'n':{'pattern':_0x2c5184[_0x43b2d7]}}),_0x56c5b5?_0x5e0355[_0x43b2d7]=_0x5dfda9:_0x367fc7[_0x43b2d7]=_0x5dfda9),_0xe53fbe[_0x4e45a5][_0x43b2d7]['s']=_0x5dfda9;}}),_0x4e45a5++;});const _0x1e298f=new _0xc67125[(_0x5d06c3(0x25f))](_0xe53fbe),_0x4b7814={};_0x1e298f[_0x5d06c3(0x181)]((_0x8e1325,_0x857fb0,_0x372c1f)=>{_0x4b7814[_0x8e1325]||(_0x4b7814[_0x8e1325]={}),_0x4b7814[_0x8e1325][_0x857fb0]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x114860=[],_0x2e71d1=[],_0xfaab59=_0x32c6fa[_0x5d06c3(0x14c)]()[_0x5d06c3(0x2a3)],_0xb1c753=_0xc67125[_0x5d06c3(0xf8)]({'rowCount':Math[_0x5d06c3(0x230)](_0xc67125[_0x5d06c3(0x322)],_0x5e1ba1+0xa),'columnCount':Math[_0x5d06c3(0x230)](_0xc67125[_0x5d06c3(0x2a4)],_0x4d1166+0x5)}),_0x596c9a=_0x3c416d['get'](_0xc67125['LocaleService']);_0xb1c753['id']=_0xc67125[_0x5d06c3(0x2e1)](),_0xb1c753[_0x5d06c3(0x1a6)]=_0x32c6fa[_0x5d06c3(0x327)](''+_0x596c9a['t'](_0x5d06c3(0x241)));const _0x3e419e={'index':_0xfaab59,'sheet':_0xb1c753,'unitId':_0x10b605},_0x3e265e=_0x96765f[_0x5d06c3(0x250)](_0x3c416d,_0x3e419e);_0x2e71d1[_0x5d06c3(0x177)]({'id':_0x96765f[_0x5d06c3(0xcd)]['id'],'params':_0x3e419e}),_0x114860[_0x5d06c3(0x177)]({'id':_0x96765f[_0x5d06c3(0x1e0)]['id'],'params':_0x3e265e}),_0x2e71d1['push']({'id':_0x96765f['SetRangeValuesMutation']['id'],'params':{'unitId':_0x10b605,'subUnitId':_0xb1c753['id'],'cellValue':_0xe53fbe}}),_0x114860[_0x5d06c3(0x258)]({'id':_0x96765f['SetRangeValuesMutation']['id'],'params':{'unitId':_0x10b605,'subUnitId':_0xb1c753['id'],'cellValue':_0x4b7814}});const _0x234c1b={'startRow':0x0,'startColumn':0x0,'endRow':_0x4e45a5-0x1,'endColumn':_0x1783f1};_0x2e71d1[_0x5d06c3(0x177)]({'id':_0x568364[_0x5d06c3(0x102)]['id'],'params':{'unitId':_0x10b605,'subUnitId':_0xb1c753['id'],'range':_0x234c1b}}),_0x114860[_0x5d06c3(0x258)]({'id':_0x568364[_0x5d06c3(0x1bf)]['id'],'params':{'unitId':_0x10b605,'subUnitId':_0xb1c753['id']}});const _0x2187f0=_0x3c416d[_0x5d06c3(0x21c)](_0xc67125[_0x5d06c3(0x268)]);return _0xc67125[_0x5d06c3(0x31d)](_0x2e71d1,_0x2187f0)&&_0x3c416d[_0x5d06c3(0x21c)](_0xc67125[_0x5d06c3(0x2ef)])[_0x5d06c3(0x1c8)]({'unitID':_0x10b605,'undoMutations':_0x114860,'redoMutations':_0x2e71d1}),!0x0;}},_0x41589b={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':'sheet.command.remove-pivot-field',async 'handler'(_0x53cf7a,_0x3eacf8){const _0x1ff6f6=_0x40f901;if(!_0x3eacf8)return!0x1;const _0x574da2=_0x53cf7a[_0x1ff6f6(0x21c)](_0xc67125[_0x1ff6f6(0x268)]),_0x33ad23=_0x53cf7a[_0x1ff6f6(0x21c)](_0x3d69f7[_0x1ff6f6(0x19c)]),_0x49c8cb=_0x53cf7a[_0x1ff6f6(0x21c)](_0xc67125[_0x1ff6f6(0x2ef)]),{pivotTableId:_0x5be46c,fieldIds:_0x1cd46f,unitId:_0x31a9e6,subUnitId:_0x250706}=_0x3eacf8,_0x2ebdcf=(await _0x33ad23[_0x1ff6f6(0x146)]({'unitId':_0x31a9e6,'subUnitId':_0x250706,'pivotTableId':_0x5be46c,'params':{'type':_0xddaca4[_0x1ff6f6(0x26c)],'removePivotField':{'fieldIds':_0x1cd46f}}}))['result'][_0x1ff6f6(0x2bc)];if(!_0x2ebdcf)return!0x1;const {view:_0x354df0,changesets:_0x326d96,isEmpty:_0x26de41,pivotTableConfig:_0x33a46a}=_0x2ebdcf,_0x217bc4=_0x33a46a[_0x1ff6f6(0xf4)],_0x3fdafc=new _0x504249['PivotView']();_0x3fdafc['formJSON'](_0x354df0);const _0x2c0681={'cellInfo':_0x217bc4,'view':_0x3fdafc,'isEmpty':_0x26de41};if(!await _0x53cf7a[_0x1ff6f6(0x21c)](_0x3d69f7[_0x1ff6f6(0x210)])[_0x1ff6f6(0x2cb)]['fetchThroughAsyncInterceptors'](_0x3c4a4d)(!0x0,_0x2c0681))return!0x1;const _0x37fc29=_0xbd6473(_0x53cf7a,_0x3fdafc,_0x217bc4,_0x26de41),_0x5e3e67=_0x45fdb3(_0x53cf7a,_0x2c0681),{redos:_0x4110b3,undos:_0x45b893}=_0x3a00dc(_0x574da2,{'pivotTableId':_0x5be46c,'unitId':_0x31a9e6,'subUnitId':_0x250706},_0x326d96);return _0xc67125[_0x1ff6f6(0x31d)]([..._0x37fc29['redos'],..._0x5e3e67[_0x1ff6f6(0x1a2)],..._0x4110b3],_0x574da2),_0x49c8cb['pushUndoRedo']({'unitID':_0x31a9e6,'redoMutations':[..._0x37fc29[_0x1ff6f6(0x1a2)],..._0x5e3e67[_0x1ff6f6(0x1a2)],..._0x4110b3],'undoMutations':[..._0x37fc29[_0x1ff6f6(0x14e)],..._0x5e3e67[_0x1ff6f6(0x14e)],..._0x45b893]}),!0x0;}},_0x2cb955={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':_0x40f901(0x288),async 'handler'(_0x4cd9e9,_0x43879a){const _0x16407f=_0x40f901;var _0x3d4ccb;const _0x4b4fc7=_0x4cd9e9[_0x16407f(0x21c)](_0xc67125['ICommandService']),_0xc775b5=_0x4cd9e9['get'](_0x3d69f7[_0x16407f(0x19c)]),_0x417276=_0x4cd9e9[_0x16407f(0x21c)](_0x3d69f7[_0x16407f(0x342)]),_0x1a5d82=_0x4cd9e9[_0x16407f(0x21c)](_0xc67125[_0x16407f(0x354)]),_0x11dcf2=_0x4cd9e9[_0x16407f(0x21c)](_0xc67125['IUndoRedoService']);if(!_0x43879a)return!0x1;const {unitId:_0x1cd244,subUnitId:_0x4f6f2e,row:_0x486a1f,col:_0x4476f5,collapse:_0x9d7664}=_0x43879a,_0x2232ea=_0x1a5d82[_0x16407f(0x128)](_0x1cd244);if(!_0x2232ea||!_0x2232ea[_0x16407f(0x1d0)](_0x4f6f2e))return!0x1;const _0x2dad08=_0x417276[_0x16407f(0x10e)](_0x1cd244,_0x4f6f2e,_0x486a1f,_0x4476f5);if(!_0x2dad08)return!0x1;const _0x29ec10=_0x417276['getPivotItemRenderInfoCache'](_0x1cd244,_0x4f6f2e,_0x2dad08);if(!_0x29ec10)return!0x1;const _0x4f39d=_0xc67125[_0x16407f(0x2a9)](_0x486a1f,_0x4476f5),{rangesInfo:_0x2531e5,areaInfo:_0x1b9cbf,headerMap:_0x49c0f8}=_0x29ec10;if(!_0x2531e5||!_0x1b9cbf||!_0x49c0f8)return!0x1;const _0x486afc=Object['keys'](_0x2531e5)[_0x16407f(0x189)](_0x1833be=>_0x2531e5[_0x1833be][_0x16407f(0xc5)](_0xcb6af5=>_0xc67125[_0x16407f(0x30f)][_0x16407f(0x226)](_0xcb6af5,_0x4f39d)));let _0x33cc25;_0x486afc===_0x16407f(0x2ac)?_0x33cc25=_0x49c0f8[_0x16407f(0xdc)][_0x4476f5]:_0x486afc==='colRanges'&&(_0x33cc25=_0x49c0f8[_0x16407f(0xfb)][_0x486a1f]);const _0xd30501=_0x33cc25==null?void 0x0:_0x33cc25[_0x16407f(0x2e6)],_0x2ebe4c=(_0x3d4ccb=_0x417276['getPivotTableCellData'](_0x1cd244,_0x4f6f2e,_0x486a1f,_0x4476f5))==null?void 0x0:_0x3d4ccb['v'];if(_0x2ebe4c==null||!_0x2dad08||!_0xd30501)return!0x1;const _0x1f6944=await _0xc775b5[_0x16407f(0x146)]({'unitId':_0x1cd244,'subUnitId':_0x4f6f2e,'pivotTableId':_0x2dad08,'params':{'type':_0xddaca4[_0x16407f(0x204)],'setPivotCollapse':{'tableFieldId':_0xd30501,'collapse':_0x9d7664,'item':_0x2ebe4c}}}),_0x41d555=_0x1f6944==null?void 0x0:_0x1f6944[_0x16407f(0x169)][_0x16407f(0x2f8)];if(!_0x41d555)return!0x1;const {view:_0x55d514,pivotTableConfig:_0x4f0660,isEmpty:_0x5efd4f,changesets:_0x40dec5}=_0x41d555,_0x1e135f=new _0x504249['PivotView']();_0x1e135f[_0x16407f(0x1a5)](_0x55d514);const _0x858a2f=_0x4f0660[_0x16407f(0xf4)],_0x3d4320={'cellInfo':_0x858a2f,'view':_0x1e135f,'isEmpty':_0x5efd4f};if(!await _0x4cd9e9[_0x16407f(0x21c)](_0x3d69f7[_0x16407f(0x210)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x3c4a4d)(!0x0,_0x3d4320))return!0x1;const _0x2e99b2=_0xbd6473(_0x4cd9e9,_0x1e135f,_0x858a2f,_0x5efd4f),_0xd90c10=_0x45fdb3(_0x4cd9e9,_0x3d4320),{redos:_0x511add,undos:_0x23402e}=_0x3a00dc(_0x4b4fc7,{'pivotTableId':_0x2dad08,'unitId':_0x1cd244,'subUnitId':_0x4f6f2e},_0x40dec5);return _0xc67125['sequenceExecute']([..._0x2e99b2['redos'],..._0xd90c10['redos'],..._0x511add],_0x4b4fc7),_0x11dcf2['pushUndoRedo']({'unitID':_0x1cd244,'redoMutations':[..._0x2e99b2[_0x16407f(0x1a2)],..._0xd90c10[_0x16407f(0x1a2)],..._0x511add],'undoMutations':[..._0x2e99b2['undos'],..._0xd90c10['undos'],..._0x23402e]}),!0x0;}},_0x47457b={'type':_0xc67125['CommandType'][_0x40f901(0x20b)],'id':_0x40f901(0x184),async 'handler'(_0x179d72,_0x3f1658){const _0x399b85=_0x40f901;if(!_0x3f1658)return!0x1;const _0x23c8c0=_0x179d72[_0x399b85(0x21c)](_0xc67125[_0x399b85(0x268)]),{pivotTableId:_0x1aad23,tableFieldId:_0x58b63d,items:_0x16d3d6,unitId:_0x939ec9,subUnitId:_0x355395,isAll:_0x57b9e6}=_0x3f1658,_0x557efd=_0x179d72['get'](_0x3d69f7[_0x399b85(0x19c)]),_0x4ebc8a=_0x179d72[_0x399b85(0x21c)](_0xc67125[_0x399b85(0x2ef)]),_0x3acd8f=(await _0x557efd[_0x399b85(0x146)]({'unitId':_0x939ec9,'subUnitId':_0x355395,'pivotTableId':_0x1aad23,'params':{'type':_0xddaca4[_0x399b85(0x111)],'setPivotFilter':{'tableFieldId':_0x58b63d,'items':_0x16d3d6,'isAll':_0x57b9e6}}}))[_0x399b85(0x169)][_0x399b85(0x2d3)];if(!_0x3acd8f)return!0x1;const {changesets:_0x4630d9,pivotTableConfig:_0x52e31c,isEmpty:_0x4c1244,view:_0x7b25e6}=_0x3acd8f,_0xadbb84=_0x52e31c[_0x399b85(0xf4)],_0x4564ce=new _0x504249[(_0x399b85(0x1f9))]();_0x4564ce['formJSON'](_0x7b25e6);const _0x2942bb={'cellInfo':_0xadbb84,'view':_0x4564ce,'isEmpty':_0x4c1244};if(!await _0x179d72[_0x399b85(0x21c)](_0x3d69f7['SheetsPivotTableService'])[_0x399b85(0x2cb)][_0x399b85(0x36f)](_0x3c4a4d)(!0x0,_0x2942bb))return!0x1;const _0x9e67d6=_0xbd6473(_0x179d72,_0x4564ce,_0xadbb84,_0x4c1244),_0x14137b=_0x45fdb3(_0x179d72,_0x2942bb),{undos:_0x3896ba,redos:_0x409d71}=_0x3a00dc(_0x23c8c0,{'pivotTableId':_0x1aad23,'unitId':_0x939ec9,'subUnitId':_0x355395},_0x4630d9);return _0xc67125['sequenceExecute']([..._0x9e67d6[_0x399b85(0x1a2)],..._0x14137b[_0x399b85(0x1a2)],..._0x409d71],_0x23c8c0),_0x4ebc8a[_0x399b85(0x1c8)]({'unitID':_0x939ec9,'redoMutations':[..._0x9e67d6[_0x399b85(0x1a2)],..._0x14137b['redos'],..._0x409d71],'undoMutations':[..._0x9e67d6[_0x399b85(0x14e)],..._0x14137b[_0x399b85(0x14e)],..._0x3896ba]}),!0x0;}},_0x1488ce={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':_0x40f901(0x2b3),async 'handler'(_0x3c9241,_0x34bd9c){const _0xac9a78=_0x40f901;if(!_0x34bd9c)return!0x1;const _0x2eb114=_0x3c9241['get'](_0xc67125[_0xac9a78(0x268)]),_0x4c0808=_0x3c9241[_0xac9a78(0x21c)](_0xc67125[_0xac9a78(0x2ef)]),_0x40a8f4=_0x3c9241['get'](_0x3d69f7['SheetsPivotRPCService']),{info:_0x156211,tableFieldId:_0x1d07b6,pivotTableId:_0x608fd5,unitId:_0x2bb87b,subUnitId:_0x144120}=_0x34bd9c,_0x1ec288=(await _0x40a8f4[_0xac9a78(0x146)]({'unitId':_0x2bb87b,'subUnitId':_0x144120,'pivotTableId':_0x608fd5,'params':{'type':_0xddaca4[_0xac9a78(0x34d)],'setPivotSort':{'tableFieldId':_0x1d07b6,'info':_0x156211}}}))['result'][_0xac9a78(0x22d)];if(!_0x1ec288)return!0x1;const {changesets:_0x55afca}=_0x1ec288,{redos:_0x1f2f7c,undos:_0x588ab8}=_0x3a00dc(_0x2eb114,{'pivotTableId':_0x608fd5,'unitId':_0x2bb87b,'subUnitId':_0x144120},_0x55afca);return _0xc67125['sequenceExecute'](_0x1f2f7c,_0x2eb114),_0x4c0808[_0xac9a78(0x1c8)]({'unitID':_0x2bb87b,'redoMutations':_0x1f2f7c,'undoMutations':_0x588ab8}),!0x0;}},_0x5858d5={'type':_0xc67125[_0x40f901(0x392)]['COMMAND'],'id':_0x40f901(0x2a5),async 'handler'(_0xf9e628,_0x231067){const _0x366ed3=_0x40f901;if(!_0x231067)return!0x1;const _0x589e2b=_0xf9e628[_0x366ed3(0x21c)](_0xc67125[_0x366ed3(0x268)]),_0x4ceba9=_0xf9e628[_0x366ed3(0x21c)](_0xc67125[_0x366ed3(0x2ef)]),_0x24eff7=_0xf9e628['get'](_0x3d69f7[_0x366ed3(0x19c)]),{displayName:_0x48da72,subtotalType:_0x35b072,format:_0x199c88,tableFieldId:_0x8890d5,pivotTableId:_0x362a1b,unitId:_0x2a9031,subUnitId:_0x217821}=_0x231067,_0xaef543=(await _0x24eff7[_0x366ed3(0x146)]({'unitId':_0x2a9031,'subUnitId':_0x217821,'pivotTableId':_0x362a1b,'params':{'type':_0xddaca4[_0x366ed3(0x29a)],'setPivotSetting':{'tableFieldId':_0x8890d5,'displayName':_0x48da72,'subtotalType':_0x35b072,'format':_0x199c88}}}))[_0x366ed3(0x169)][_0x366ed3(0x16b)];if(!_0xaef543)return!0x1;const {changesets:_0x5df8be,view:_0x3029f7,pivotTableConfig:_0x506e15,isEmpty:_0x147b11}=_0xaef543,_0x2687a1=_0x506e15[_0x366ed3(0xf4)],_0x498408=new _0x504249['PivotView']();_0x498408[_0x366ed3(0x1a5)](_0x3029f7);const _0x5bf88c={'cellInfo':_0x2687a1,'view':_0x498408,'isEmpty':_0x147b11};if(!await _0xf9e628[_0x366ed3(0x21c)](_0x3d69f7['SheetsPivotTableService'])[_0x366ed3(0x2cb)][_0x366ed3(0x36f)](_0x3c4a4d)(!0x0,_0x5bf88c))return!0x1;const _0x48ad48=_0xbd6473(_0xf9e628,_0x498408,_0x2687a1,_0x147b11),_0x312643=_0x45fdb3(_0xf9e628,_0x5bf88c),{undos:_0x5a8c4d,redos:_0x4de1a0}=_0x3a00dc(_0x589e2b,{'pivotTableId':_0x362a1b,'unitId':_0x2a9031,'subUnitId':_0x217821},_0x5df8be);return _0xc67125[_0x366ed3(0x31d)]([..._0x48ad48[_0x366ed3(0x1a2)],..._0x312643[_0x366ed3(0x1a2)],..._0x4de1a0],_0x589e2b),_0x4ceba9[_0x366ed3(0x1c8)]({'unitID':_0x2a9031,'redoMutations':[..._0x48ad48['redos'],..._0x312643['redos'],..._0x4de1a0],'undoMutations':[..._0x48ad48[_0x366ed3(0x14e)],..._0x312643[_0x366ed3(0x14e)],..._0x5a8c4d]}),!0x0;}},_0x1d4b65={'type':_0xc67125[_0x40f901(0x392)]['COMMAND'],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x5931d5,_0x1362a0){const _0xee6d0a=_0x40f901,_0x46ee07=_0x5931d5[_0xee6d0a(0x21c)](_0xc67125[_0xee6d0a(0x268)]),_0x5c8a77=_0x5931d5['get'](_0x3d69f7[_0xee6d0a(0x19c)]),_0x4d1ede=_0x5931d5[_0xee6d0a(0x21c)](_0xc67125[_0xee6d0a(0x2ef)]);if(!_0x1362a0)return!0x1;const {token:_0xaef22b,dataRangeInfo:_0xdb0320,unitId:_0x2fe29b,subUnitId:_0x4646d7}=_0x1362a0,_0x4ca028=[],_0x216a70=[],_0x100d5a=(await _0x5c8a77['getPivotDisplayConfig']({'unitId':_0x2fe29b,'subUnitId':_0x4646d7,'pivotTableId':_0xaef22b,'params':{'type':_0xddaca4[_0xee6d0a(0x115)],'updatePivotSource':{'dataRangeInfo':_0xdb0320,'unitId':_0x2fe29b,'subUnitId':_0x4646d7}}}))[_0xee6d0a(0x169)]['updatePivotSource'];if(!_0x100d5a)return!0x1;const {changesets:_0x3ffd5b,deleteIds:_0x1f219f,collectionConfig:_0x5ad554,oldCollectionConfig:_0x468130,view:_0x503ae8,isEmpty:_0x116a35,pivotTableConfig:_0x250da1}=_0x100d5a;_0x216a70[_0xee6d0a(0x177)]({'id':_0x53d565['id'],'params':{'pivotTableId':_0xaef22b,'deleteIds':_0x1f219f,'collectionJSON':_0x5ad554,'dataRangeInfo':_0xdb0320,'unitId':_0x2fe29b,'subUnitId':_0x4646d7}}),_0x4ca028[_0xee6d0a(0x258)]({'id':_0x53d565['id'],'params':{'pivotTableId':_0xaef22b,'deleteIds':[],'collectionJSON':_0x468130,'dataRangeInfo':_0x250da1[_0xee6d0a(0x33d)],'unitId':_0x2fe29b,'subUnitId':_0x4646d7}});const _0x4dd099=_0x250da1[_0xee6d0a(0xf4)],_0x199d15=new _0x504249[(_0xee6d0a(0x1f9))]();_0x199d15[_0xee6d0a(0x1a5)](_0x503ae8);const _0x455244={'cellInfo':_0x4dd099,'view':_0x199d15,'isEmpty':_0x116a35};if(!await _0x5931d5[_0xee6d0a(0x21c)](_0x3d69f7[_0xee6d0a(0x210)])[_0xee6d0a(0x2cb)]['fetchThroughAsyncInterceptors'](_0x3c4a4d)(!0x0,_0x455244))return!0x1;const _0x162227=_0xbd6473(_0x5931d5,_0x199d15,_0x4dd099,_0x116a35),_0x1d3603=_0x45fdb3(_0x5931d5,_0x455244),{undos:_0x489cb9,redos:_0x3158ae}=_0x3a00dc(_0x46ee07,{'pivotTableId':_0xaef22b,'unitId':_0x2fe29b,'subUnitId':_0x4646d7},_0x3ffd5b);return _0xc67125['sequenceExecute']([..._0x162227[_0xee6d0a(0x1a2)],..._0x1d3603[_0xee6d0a(0x1a2)],..._0x216a70,..._0x489cb9],_0x46ee07),_0x4d1ede[_0xee6d0a(0x1c8)]({'unitID':_0x2fe29b,'redoMutations':[..._0x162227['redos'],..._0x1d3603[_0xee6d0a(0x1a2)],..._0x216a70,..._0x489cb9],'undoMutations':[..._0x162227[_0xee6d0a(0x14e)],..._0x1d3603[_0xee6d0a(0x14e)],..._0x4ca028,..._0x3158ae]}),!0x0;}},_0x278a5d={'type':_0xc67125['CommandType']['COMMAND'],'id':_0x40f901(0x337),async 'handler'(_0x554aa2,_0x207e83){const _0x196fbc=_0x40f901;if(!_0x207e83)return!0x1;const _0x26b1e6=_0x554aa2['get'](_0xc67125['ICommandService']),_0x398fdc=_0x554aa2['get'](_0x3d69f7[_0x196fbc(0x19c)]),_0x1476c8=_0x554aa2['get'](_0xc67125[_0x196fbc(0x354)]),_0x1b7f6c=_0x554aa2[_0x196fbc(0x21c)](_0xc67125[_0x196fbc(0x2ef)]),{pivotTableId:_0x4af902,position:_0x168297,index:_0x325f2b}=_0x207e83,_0x187290=_0x96765f['getSheetCommandTarget'](_0x1476c8);if(!_0x187290)return!0x1;const {unitId:_0x2047f9,subUnitId:_0x3a94d2}=_0x187290,_0xf0cdf0=(await _0x398fdc[_0x196fbc(0x146)]({'unitId':_0x2047f9,'subUnitId':_0x3a94d2,'pivotTableId':_0x4af902,'params':{'type':_0xddaca4[_0x196fbc(0x113)],'updateValuePosition':{'position':_0x168297,'index':_0x325f2b}}}))[_0x196fbc(0x169)][_0x196fbc(0x305)];if(!_0xf0cdf0)return!0x1;const {changesets:_0x547e57,view:_0xf0f7c6,isEmpty:_0x26b1d4,pivotTableConfig:_0x2f2315}=_0xf0cdf0,_0xb79596=_0x2f2315['targetCellInfo'],_0xcbbebe=new _0x504249[(_0x196fbc(0x1f9))]();_0xcbbebe[_0x196fbc(0x1a5)](_0xf0f7c6);const _0x7212f8=_0x554aa2[_0x196fbc(0x21c)](_0x3d69f7['SheetsPivotTableService']),_0x412896={'cellInfo':_0xb79596,'view':_0xcbbebe,'isEmpty':_0x26b1d4};if(!await _0x7212f8[_0x196fbc(0x2cb)]['fetchThroughAsyncInterceptors'](_0x3c4a4d)(!0x0,_0x412896))return!0x1;const _0x558f56=_0xbd6473(_0x554aa2,_0xcbbebe,_0xb79596,_0x26b1d4),_0x59971b=_0x45fdb3(_0x554aa2,_0x412896),{undos:_0xbf77f9,redos:_0x145787}=_0x3a00dc(_0x26b1e6,{'pivotTableId':_0x4af902,'unitId':_0x2047f9,'subUnitId':_0x3a94d2},_0x547e57);return _0xc67125['sequenceExecute']([..._0x558f56['redos'],..._0x59971b['redos'],..._0x145787],_0x26b1e6),_0x1b7f6c[_0x196fbc(0x1c8)]({'unitID':_0x2047f9,'redoMutations':[..._0x558f56[_0x196fbc(0x1a2)],..._0x59971b['redos'],..._0x145787],'undoMutations':[..._0x558f56[_0x196fbc(0x14e)],..._0x59971b[_0x196fbc(0x14e)],..._0xbf77f9]}),!0x0;}},_0x4968f1={'type':_0xc67125[_0x40f901(0x392)]['COMMAND'],'id':_0x40f901(0xef),'handler':(_0x341194,_0x2903c8)=>{const _0x5eb747=_0x40f901,_0xe9fe41=_0x341194[_0x5eb747(0x21c)](_0xc67125['ICommandService']),_0x162f5d=_0x341194[_0x5eb747(0x21c)](_0xc67125[_0x5eb747(0x2ef)]),_0x480f22=_0x341194[_0x5eb747(0x21c)](_0x3d69f7['SheetsPivotTableConfigModel']),_0x23a8ef=_0x341194[_0x5eb747(0x21c)](_0xc67125[_0x5eb747(0x354)]);if(!_0x2903c8)return!0x1;const _0x547fb6=_0x96765f[_0x5eb747(0x105)](_0x23a8ef);if(!_0x547fb6)return!0x1;const {unitId:_0x2d1a22,subUnitId:_0x268d39,workbook:_0x183084}=_0x547fb6,_0x3b7572=_0x480f22[_0x5eb747(0x2b2)](_0x2903c8[_0x5eb747(0x1e3)][_0x5eb747(0x27a)],_0x2903c8['originTargetInfo'][_0x5eb747(0xe4)],_0x2903c8['pivotTableId']);if(!_0x3b7572)return!0x1;const _0x165f47=_0x183084['getSheetBySheetId'](_0x2903c8['targetCellInfo']['subUnitId']);if(!_0x165f47)throw new Error('[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid');const _0x76a202=_0x165f47[_0x5eb747(0x396)](),_0x3536db=_0x165f47[_0x5eb747(0x101)]();if(_0x2903c8['targetCellInfo'][_0x5eb747(0x166)]>_0x76a202||_0x2903c8[_0x5eb747(0xf4)][_0x5eb747(0x31e)]>_0x3536db)throw new Error(_0x5eb747(0xe8));const _0x424774=[{'id':_0x2a4800['id'],'params':{'unitId':_0x2d1a22,'subUnitId':_0x2903c8[_0x5eb747(0xf4)][_0x5eb747(0xe4)],'pivotTableId':_0x2903c8['pivotTableId'],'targetCellPosition':{'row':_0x2903c8[_0x5eb747(0xf4)][_0x5eb747(0x166)],'col':_0x2903c8[_0x5eb747(0xf4)][_0x5eb747(0x31e)]}}}],_0x5604ee=[{'id':_0x2a4800['id'],'params':{'unitId':_0x2d1a22,'subUnitId':_0x268d39,'pivotTableId':_0x2903c8[_0x5eb747(0x35d)],'targetCellPosition':{'row':_0x3b7572[_0x5eb747(0xf4)]['row'],'col':_0x3b7572[_0x5eb747(0xf4)][_0x5eb747(0x31e)]}}}];return _0xc67125[_0x5eb747(0x31d)](_0x424774,_0xe9fe41)&&_0x162f5d[_0x5eb747(0x1c8)]({'unitID':_0x2d1a22,'undoMutations':_0x5604ee,'redoMutations':_0x424774}),!0x0;}},_0x1d6cba={'type':_0xc67125['CommandType']['COMMAND'],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x596b63,_0x4fed4d){const _0x2b3c36=_0x40f901;if(!_0x4fed4d)return!0x1;const _0x2eab35=_0x596b63['get'](_0xc67125[_0x2b3c36(0x268)]),{pivotTableId:_0x134cfb,fieldId:_0x408a05,valueFilterInfo:_0x410b17,unitId:_0xb0e1a5,subUnitId:_0x28d1bf}=_0x4fed4d,_0x2d2be8=_0x596b63[_0x2b3c36(0x21c)](_0x3d69f7['SheetsPivotRPCService']),_0x2f9800=_0x596b63[_0x2b3c36(0x21c)](_0xc67125[_0x2b3c36(0x2ef)]),_0x3a49e2=(await _0x2d2be8[_0x2b3c36(0x146)]({'unitId':_0xb0e1a5,'subUnitId':_0x28d1bf,'pivotTableId':_0x134cfb,'params':{'type':_0xddaca4[_0x2b3c36(0x2ae)],'setValuePivotFilter':{'tableFieldId':_0x408a05,'filterInfo':_0x410b17}}}))[_0x2b3c36(0x169)]['setValuePivotFilter'];if(!_0x3a49e2)return!0x1;const {changesets:_0x4baa0e,pivotTableConfig:_0x2a0ebd,isEmpty:_0x146e7b,view:_0x5dc8ed}=_0x3a49e2,_0x2716eb=_0x2a0ebd[_0x2b3c36(0xf4)],_0x1f6c1c=new _0x504249[(_0x2b3c36(0x1f9))]();_0x1f6c1c[_0x2b3c36(0x1a5)](_0x5dc8ed);const _0x2dbd52={'cellInfo':_0x2716eb,'view':_0x1f6c1c,'isEmpty':_0x146e7b};if(!await _0x596b63[_0x2b3c36(0x21c)](_0x3d69f7[_0x2b3c36(0x210)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0x3c4a4d)(!0x0,_0x2dbd52))return!0x1;const _0xd387d=_0xbd6473(_0x596b63,_0x1f6c1c,_0x2716eb,_0x146e7b),_0x191479=_0x45fdb3(_0x596b63,_0x2dbd52),{undos:_0x25b489,redos:_0x28eac8}=_0x3a00dc(_0x2eab35,{'pivotTableId':_0x134cfb,'unitId':_0xb0e1a5,'subUnitId':_0x28d1bf},_0x4baa0e);return _0xc67125[_0x2b3c36(0x31d)]([..._0xd387d[_0x2b3c36(0x1a2)],..._0x191479[_0x2b3c36(0x1a2)],..._0x28eac8],_0x2eab35),_0x2f9800['pushUndoRedo']({'unitID':_0xb0e1a5,'redoMutations':[..._0xd387d[_0x2b3c36(0x1a2)],..._0x191479[_0x2b3c36(0x1a2)],..._0x28eac8],'undoMutations':[..._0xd387d[_0x2b3c36(0x14e)],..._0x191479[_0x2b3c36(0x14e)],..._0x25b489]}),!0x0;}},_0x40fb55={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':_0x40f901(0x1cd),async 'handler'(_0x3fbe4b,_0x10356e){const _0x20a072=_0x40f901;if(!_0x10356e)return!0x1;const _0x20d115=_0x3fbe4b['get'](_0xc67125[_0x20a072(0x268)]),_0x5413d4=_0x3fbe4b[_0x20a072(0x21c)](_0xc67125[_0x20a072(0x2ef)]),_0x536ef5=_0x3fbe4b['get'](_0x3d69f7['SheetsPivotRPCService']),{pivotTableConfig:_0xc45c98,pivotTableId:_0xbbd984,unitId:_0x206814,subUnitId:_0x18e8d1}=_0x10356e,_0x5b5f2a=(await _0x536ef5[_0x20a072(0x146)]({'unitId':_0x206814,'subUnitId':_0x18e8d1,'pivotTableId':_0xbbd984,'params':{'type':_0xddaca4[_0x20a072(0x20a)],'setPivotTableConfig':{'pivotTableId':_0xbbd984,'pivotTableConfig':_0xc45c98}}}))[_0x20a072(0x169)]['setPivotTableConfig'];if(!_0x5b5f2a)return!0x1;const {changesets:_0x290570}=_0x5b5f2a,{redos:_0xe4cef6,undos:_0xec6eed}=_0x3a00dc(_0x20d115,{'pivotTableId':_0xbbd984,'unitId':_0x206814,'subUnitId':_0x18e8d1},_0x290570);return _0xc67125[_0x20a072(0x31d)](_0xe4cef6,_0x20d115),_0x5413d4['pushUndoRedo']({'unitID':_0x206814,'redoMutations':_0xe4cef6,'undoMutations':_0xec6eed}),!0x0;}},_0x478e59={'type':_0xc67125[_0x40f901(0x392)][_0x40f901(0x20b)],'id':'sheet.command.reset-pivot-fields-config',async 'handler'(_0x44399f,_0x55e9bb){const _0x5bcd66=_0x40f901;if(!_0x55e9bb)return!0x1;const _0x7c6b27=_0x44399f[_0x5bcd66(0x21c)](_0xc67125[_0x5bcd66(0x268)]),_0x518f=_0x44399f[_0x5bcd66(0x21c)](_0xc67125[_0x5bcd66(0x2ef)]),_0x18471b=_0x44399f[_0x5bcd66(0x21c)](_0x3d69f7[_0x5bcd66(0x19c)]),{resetArea:_0x111462,pivotTableId:_0x2adff0,unitId:_0x1078dd,subUnitId:_0x237066}=_0x55e9bb,_0x3970af=(await _0x18471b[_0x5bcd66(0x146)]({'unitId':_0x1078dd,'subUnitId':_0x237066,'pivotTableId':_0x2adff0,'params':{'type':_0xddaca4[_0x5bcd66(0x25d)],'resetPivotTable':{'pivotTableId':_0x2adff0,'resetArea':_0x111462}}}))[_0x5bcd66(0x169)]['resetPivotTable'];if(!_0x3970af)return!0x1;const {changesets:_0x53881d}=_0x3970af,{redos:_0xb32489,undos:_0xee8498}=_0x3a00dc(_0x7c6b27,{'pivotTableId':_0x2adff0,'unitId':_0x1078dd,'subUnitId':_0x237066},_0x53881d);return _0xc67125[_0x5bcd66(0x31d)](_0xb32489,_0x7c6b27),_0x518f['pushUndoRedo']({'unitID':_0x1078dd,'redoMutations':_0xb32489,'undoMutations':_0xee8498}),!0x0;}};var _0xadcafb=Object[_0x40f901(0x175)],_0x4b474d=(_0x40da51,_0x2a2cdf,_0x56339b,_0x2c39ad)=>{const _0xf54eee=_0x40f901;for(var _0x5dc139=_0x2c39ad>0x1?void 0x0:_0x2c39ad?_0xadcafb(_0x2a2cdf,_0x56339b):_0x2a2cdf,_0x5cc6af=_0x40da51[_0xf54eee(0x2a3)]-0x1,_0x4686eb;_0x5cc6af>=0x0;_0x5cc6af--)(_0x4686eb=_0x40da51[_0x5cc6af])&&(_0x5dc139=_0x4686eb(_0x5dc139)||_0x5dc139);return _0x5dc139;},_0xb208e8=(_0x391425,_0x6f8275)=>(_0x13b8a0,_0xdb8d50)=>_0x6f8275(_0x13b8a0,_0xdb8d50,_0x391425);const _0x515d55=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x530ffe=(_0x223291,_0x31662e,_0x1f0e68)=>{const _0x4f6557=_0x40f901,_0x54b4bc=_0x223291['dataFieldsCollection'];_0x223291['iterateFieldDim'](_0x3dae84=>{const _0x17f2a7=_0x486c,_0x449fe1=_0x3dae84['getId'](),_0x512dd8=_0x3dae84[_0x17f2a7(0x397)](),_0x16b7b7=_0x3dae84[_0x17f2a7(0xea)](),_0x3be055=_0x3dae84[_0x17f2a7(0x38f)]();_0x31662e[_0x512dd8]&&_0x31662e[_0x512dd8]===_0x3be055&&_0x16b7b7===_0x3be055&&(_0x223291['renameField'](_0x449fe1,_0x54b4bc[_0x17f2a7(0x38f)](_0x512dd8)),_0x3dae84[_0x17f2a7(0x2dc)](_0x54b4bc[_0x17f2a7(0x38f)](_0x512dd8)));}),_0x223291[_0x4f6557(0x170)](_0x504249['PivotTableFiledAreaEnum'][_0x4f6557(0x1dd)],_0x3aabe1=>{const _0x238be8=_0x4f6557,_0x57721a=_0x3aabe1['getId'](),_0xc00620=_0x3aabe1[_0x238be8(0x397)](),_0x11fd7f=_0x3aabe1[_0x238be8(0xea)](),_0x1b0686=_0x3aabe1[_0x238be8(0x38f)](),_0x5c2ea8=_0x3aabe1[_0x238be8(0x352)](),_0x34677b=_0x1f0e68(_0x11fd7f,_0x5c2ea8);_0x31662e[_0xc00620]&&_0x31662e[_0xc00620]===_0x11fd7f&&_0x34677b===_0x1b0686&&(_0x223291[_0x238be8(0x297)](_0x57721a,_0x1f0e68(_0x54b4bc[_0x238be8(0x38f)](_0xc00620),_0x5c2ea8)),_0x3aabe1[_0x238be8(0x2dc)](_0x54b4bc[_0x238be8(0x38f)](_0xc00620)));});},_0x91088e=(_0x4a7a2c,_0x342426,_0x60d34c)=>{const _0x28132a=_0x40f901;var _0x46068e,_0x11baa2;const {arrayFormulaCellData:_0x4ba758,unitData:_0x490fdc}=_0x342426,{unitId:_0x39afbb,subUnitId:_0x58dc1d}=_0x60d34c,_0xc5c5e2=_0x60d34c['range'],{startColumn:_0x5b0039,endColumn:_0x310a7c}=_0xc5c5e2,_0x45973e=(_0x46068e=_0x4ba758==null?void 0x0:_0x4ba758[_0x39afbb])==null?void 0x0:_0x46068e[_0x58dc1d],_0x56b101=(_0x11baa2=_0x490fdc==null?void 0x0:_0x490fdc[_0x39afbb])==null?void 0x0:_0x11baa2[_0x58dc1d],_0x576db0=new Set(),_0x5810f2=_0x310a7c-_0x5b0039+0x1,{dirtyRanges:_0x38e84b}=_0x4a7a2c;if(_0x38e84b)for(const {range:_0x5a07e5,sheetId:_0x4d8547,unitId:_0x4ca176}of _0x38e84b){if(_0x4d8547!==_0x58dc1d||_0x39afbb!==_0x4ca176)continue;const _0x171e72=_0xc67125[_0x28132a(0x30f)][_0x28132a(0x348)](_0x5a07e5,_0xc5c5e2);if(_0x171e72){const {startColumn:_0x4ccbd5,endColumn:_0x433aec}=_0x171e72;for(let _0x48182a=_0x4ccbd5;_0x48182a<=_0x433aec;_0x48182a++)_0x576db0[_0x28132a(0x2c4)](_0x48182a);}}if(_0x576db0['size']===_0x5810f2||_0x576db0['size']===_0x5810f2)return Array[_0x28132a(0x19e)](_0x576db0);if(_0x56b101){const _0x2b6e10=_0x56b101['getMatrix'](),_0x11008a=Object[_0x28132a(0xe6)](_0x2b6e10);for(const _0x4fe318 of _0x11008a){const _0x3b9999=Number(_0x4fe318),_0x143091=_0x2b6e10[_0x3b9999];if(_0x576db0[_0x28132a(0x315)]===_0x5810f2)break;for(const _0x391994 in _0x143091){const _0x305baa=Number(_0x391994);_0x305baa<_0x5b0039||_0x305baa>_0x310a7c||_0x576db0[_0x28132a(0x2c4)](_0x305baa);}}}if(_0x45973e){const _0x2e3c3a=_0x45973e[_0x28132a(0x356)](),_0x1717ba=Object[_0x28132a(0xe6)](_0x2e3c3a);for(const _0x1e4244 of _0x1717ba){const _0x4848e4=Number(_0x1e4244),_0xc6a8cc=_0x2e3c3a[_0x4848e4];if(_0x576db0[_0x28132a(0x315)]===_0x5810f2)break;for(const _0x1ffa78 in _0xc6a8cc){const _0x1dfd8e=Number(_0x1ffa78);_0x1dfd8e<_0x5b0039||_0x1dfd8e>_0x310a7c||_0x576db0[_0x28132a(0x2c4)](_0x1dfd8e);}}}return Array[_0x28132a(0x19e)](_0x576db0);},_0x338433=_0x1690b1=>{const _0x5ab7f9=_0x40f901,_0x3d827f=new Set(),_0x3af817=[];for(const _0x48d4bd of _0x1690b1){const _0x389365=_0x48d4bd[_0x5ab7f9(0x2eb)]+','+_0x48d4bd[_0x5ab7f9(0x1f0)]+','+_0x48d4bd[_0x5ab7f9(0x123)]+','+_0x48d4bd[_0x5ab7f9(0x107)];_0x3d827f[_0x5ab7f9(0xc2)](_0x389365)||(_0x3d827f[_0x5ab7f9(0x2c4)](_0x389365),_0x3af817[_0x5ab7f9(0x177)](_0x48d4bd));}return _0x3af817;};let _0x2a7052=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x3ac821,_0x3b8b34,_0x3db03a,_0x1db345,_0x5d9b6a,_0x4032cc){const _0x4c71ad=_0x40f901;super(),_0x1bae1e(this,_0x4c71ad(0x2d2),new _0x158b3c['BehaviorSubject'](!0x0)),_0x1bae1e(this,'_globalComputedStartHelpFunc',_0x26c5c5=>{const _0x123fd2=_0x4c71ad;this[_0x123fd2(0x2d2)][_0x123fd2(0x1f5)](!0x1);}),_0x1bae1e(this,'_globalComputedEndHelpFunc',_0x212926=>{const _0x527d5a=_0x4c71ad;this[_0x527d5a(0x2d2)]['next'](!0x0);}),(this[_0x4c71ad(0x168)]=_0x3ac821,this['_configService']=_0x3b8b34,this[_0x4c71ad(0x203)]=_0x3db03a,this['_commandService']=_0x1db345,this[_0x4c71ad(0xde)]=_0x5d9b6a,this['_injector']=_0x4032cc,this[_0x4c71ad(0x254)](),this['_initPivotDataGetListener']());}[_0x40f901(0x254)](){const _0x4ab4dc=_0x40f901;this[_0x4ab4dc(0x1af)](),this[_0x4ab4dc(0x374)](),this['_initPivotTextInfo'](),this[_0x4ab4dc(0x330)]();}['_initGlobalComputed'](){const _0x39c012=_0x40f901;this[_0x39c012(0xde)][_0x39c012(0x30a)](this[_0x39c012(0x2d2)]),_0x504249[_0x39c012(0x378)]['registerCallbackWithEvent'](_0x504249[_0x39c012(0x21a)][_0x39c012(0x12e)],this[_0x39c012(0x279)]),_0x504249[_0x39c012(0x378)]['registerCallbackWithEvent'](_0x504249[_0x39c012(0x21a)][_0x39c012(0x2d1)],this[_0x39c012(0x24c)]);}[_0x40f901(0x11e)](){const _0x33990e=_0x40f901;this[_0x33990e(0x2c9)](this['_commandService'][_0x33990e(0x240)](_0x115fb4=>{const _0x2226d6=_0x33990e;_0x115fb4['id']===_0x96765f[_0x2226d6(0x1be)]['id']&&this[_0x2226d6(0x168)]['handleMoveRange'](_0x115fb4[_0x2226d6(0x1d2)]);})),this[_0x33990e(0x2c9)](this[_0x33990e(0x2c8)]['onCommandExecuted'](_0x23cf4c=>{const _0x4f32b4=_0x33990e;if(_0x23cf4c['id']!==_0x2ff733['id'])return;const _0x2fa186=_0x23cf4c['params'],{unitId:_0x8a8f29,subUnitId:_0x958749,pivotTableId:_0x526992}=_0x2fa186,_0x598df4=_0x2fa186[_0x4f32b4(0x1d2)]['type'],_0x43387a={};switch(_0x598df4){case _0xddaca4[_0x4f32b4(0x143)]:{const _0x3ffc65=_0x2fa186[_0x4f32b4(0x1d2)]['filter'];if(!_0x3ffc65)return;const {row:_0x33c64a,col:_0xbec8d,cellData:_0x1c815a,pivotItemRenderInfoCache:_0x1b778c,tableFieldId:_0x151df5}=_0x3ffc65,_0x1a33e8=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x2fa186[_0x4f32b4(0x35d)]);if(!_0x1a33e8||!_0x1b778c)return;if(_0x151df5){const _0x165082=_0x1a33e8[_0x4f32b4(0xf0)](_0x151df5);if(!_0x165082)return;_0x43387a[_0x4f32b4(0x245)]={..._0x1a33e8[_0x4f32b4(0x2e7)](_0x165082),'tableFieldId':_0x151df5,'pivotTableId':_0x2fa186[_0x4f32b4(0x35d)],'filterInfo':_0x1a33e8[_0x4f32b4(0x2f0)](_0x151df5),'sortInfo':_0x1a33e8['getSortInfo'](_0x151df5),'format':_0x1a33e8[_0x4f32b4(0x2f4)](_0x151df5)};}else{const _0x3ea400=_0x5723dd(_0x33c64a,_0xbec8d,_0x1c815a,_0x1a33e8,_0x1b778c),_0x3395d8=_0x3ea400==null?void 0x0:_0x3ea400[_0x4f32b4(0x2cc)];if(!_0x3395d8)return;const _0x1a4acd=_0x1a33e8['getDataFieldByTableId'](_0x3395d8);if(!_0x1a4acd)return;_0x43387a['filter']={..._0x1a33e8['getDataFieldItemInfo'](_0x1a4acd),'tableFieldId':_0x3395d8,'pivotTableId':_0x2fa186[_0x4f32b4(0x35d)],'filterInfo':_0x1a33e8[_0x4f32b4(0x2f0)](_0x3395d8),'sortInfo':_0x1a33e8[_0x4f32b4(0x221)](_0x3395d8),'format':_0x1a33e8[_0x4f32b4(0x2f4)](_0x3395d8)};}}break;case _0xddaca4[_0x4f32b4(0x32d)]:{const _0x574fa=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x2a6)];if(!_0x574fa)return;const {pivotTableId:_0xb361d9}=_0x574fa,_0x2457e9=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0xb361d9);if(!_0x2457e9)return;const _0x4625f0=this[_0x4f32b4(0x168)]['getPivotTableConfig'](_0x8a8f29,_0x958749,_0xb361d9),_0x4b9fa8=_0xe83065(_0x2457e9,_0xb361d9,_0x4625f0);_0x43387a[_0x4f32b4(0x2a6)]=_0x4b9fa8;}break;case _0xddaca4[_0x4f32b4(0x304)]:{const _0x439bb0=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992),_0x5cb165=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992),_0x41b2e3=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x387)];if(!_0x439bb0||!_0x5cb165||!_0x41b2e3)return!0x1;const {dataFieldId:_0x390743,fieldArea:_0x407da5,index:_0x2efc63}=_0x41b2e3;_0x439bb0[_0x4f32b4(0x35a)]();const _0x57a085=_0x439bb0[_0x4f32b4(0x121)](_0x390743,_0x407da5,_0x2efc63);if(_0x57a085&&_0x407da5===_0x504249[_0x4f32b4(0x24d)]['Value']){const _0x3bbe63=_0x57a085[_0x4f32b4(0x318)](),_0x220cc9=_0x439bb0['getDataFieldByTableId'](_0x3bbe63);if(_0x220cc9){const _0x57fcc1=_0x220cc9==null?void 0x0:_0x220cc9[_0x4f32b4(0x188)]();_0x439bb0['setSubtotalType'](_0x57a085[_0x4f32b4(0x318)](),_0x57fcc1===_0x504249[_0x4f32b4(0x2c3)][_0x4f32b4(0x371)]?_0x504249[_0x4f32b4(0x36c)][_0x4f32b4(0x157)]:_0x504249['PivotSubtotalTypeEnum'][_0x4f32b4(0x16c)]);}const _0x395756=_0x439bb0[_0x4f32b4(0x1eb)](),_0x188cca=_0x439bb0[_0x4f32b4(0x21f)](),_0x487312=_0x439bb0[_0x4f32b4(0x1b8)](_0x504249[_0x4f32b4(0x24d)][_0x4f32b4(0x1dd)]);if(_0x395756===-0x1&&_0x487312>0x1){const _0x56883e=_0x188cca===_0x504249[_0x4f32b4(0x118)][_0x4f32b4(0xd7)]?_0x504249[_0x4f32b4(0x118)]['Column']:_0x188cca,_0x3ede5d=_0x56883e===_0x504249[_0x4f32b4(0x118)][_0x4f32b4(0xd2)]?_0x504249['PivotTableFiledAreaEnum']['Row']:_0x504249['PivotTableFiledAreaEnum']['Column'];_0x439bb0['updateValuePosition'](_0x56883e,_0x439bb0['getFieldCountByArea'](_0x3ede5d));}}else{if(_0x57a085&&(_0x407da5===_0x504249[_0x4f32b4(0x24d)]['Row']||_0x407da5===_0x504249['PivotTableFiledAreaEnum'][_0x4f32b4(0x179)])){const _0x3b21ac=_0x57a085[_0x4f32b4(0x318)](),_0x309a4e=_0x439bb0[_0x4f32b4(0xf0)](_0x3b21ac);if(_0x309a4e&&(_0x309a4e==null?void 0x0:_0x309a4e['getFieldDataType']())===_0x504249[_0x4f32b4(0x2c3)][_0x4f32b4(0x36d)]){const _0x553bd9=_0x309a4e[_0x4f32b4(0xe1)]();_0x553bd9&&_0x439bb0[_0x4f32b4(0x243)](_0x57a085[_0x4f32b4(0x318)](),_0x553bd9);}}}const _0x2f8a47=_0x439bb0['isEmpty'](),_0x3d53ae=_0x439bb0['query']()[_0x4f32b4(0x2db)](),_0x134be9=_0x439bb0['endCollectChangeset']();_0x43387a[_0x4f32b4(0x387)]={'view':_0x3d53ae,'changesets':_0x134be9,'isEmpty':_0x2f8a47,'pivotTableConfig':_0x5cb165};}break;case _0xddaca4['AddPivotTable']:{const _0x13015e=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x399)];if(!_0x13015e)return;const _0x5c3252=_0x13015e[_0x4f32b4(0x33d)],_0x5bed94=_0x13015e[_0x4f32b4(0x35d)],{collection:_0x1c99bb}=this['_sheetsPivotDataSourceModel']['createCollectionWithDataRange']({'unitId':_0x5c3252['unitId'],'sheetName':_0x5c3252[_0x4f32b4(0x289)],'subUnitId':_0x5c3252['subUnitId'],'range':_0x5c3252['range']}),_0xffcb89=new _0x504249[(_0x4f32b4(0x378))](_0x1c99bb,void 0x0,_0x5bed94),_0x3adec5=_0xffcb89['query'](),_0x1d7380=_0xffcb89[_0x4f32b4(0x2db)](),_0x21e6f7=_0x1c99bb[_0x4f32b4(0x2db)]();_0x43387a['addPivotTable']={'view':_0x3adec5,'fieldsConfig':_0x1d7380,'collectionConfig':_0x21e6f7,'isEmpty':_0xffcb89['isEmpty']()};}break;case _0xddaca4[_0x4f32b4(0x134)]:{const _0x92155a=_0x2fa186['params'][_0x4f32b4(0x32e)];if(!_0x92155a)return;const {fieldId:_0x9e3d4d,area:_0x23922a,index:_0x4b97ca}=_0x92155a,_0x39fd61=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0x39fd61)return;const _0x4b2712=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992);if(!_0x4b2712)return;_0x4b2712[_0x4f32b4(0x35a)]();const {area:_0x5c6864,index:_0x59c9e4}=_0x4b2712['getFieldPositionInfoById'](_0x9e3d4d);if(_0x4b2712['updateFieldPosition'](_0x9e3d4d,_0x23922a,_0x4b97ca),_0x23922a===_0x504249['PivotTableFiledAreaEnum'][_0x4f32b4(0x1dd)]&&_0x4b2712[_0x4f32b4(0x1e4)](_0x9e3d4d)[_0x4f32b4(0x352)]()===void 0x0){const _0x391a2b=_0x4b2712['getTableFieldById'](_0x9e3d4d);if(_0x391a2b&&_0x391a2b[_0x4f32b4(0x352)]()===void 0x0){const _0x292582=_0x4b2712[_0x4f32b4(0xf0)](_0x9e3d4d);if(_0x292582){const _0x39946c=_0x292582==null?void 0x0:_0x292582[_0x4f32b4(0x188)]();_0x4b2712[_0x4f32b4(0x191)](_0x9e3d4d,_0x39946c===_0x504249[_0x4f32b4(0x2c3)][_0x4f32b4(0x371)]?_0x504249['PivotSubtotalTypeEnum']['sum']:_0x504249[_0x4f32b4(0x36c)][_0x4f32b4(0x16c)]);}}}const _0x425025=_0x4b2712[_0x4f32b4(0x21f)](),_0x5352bb=_0x4b2712['getValueIndex'](),_0x4a1815=_0x4b2712[_0x4f32b4(0x1b8)](_0x504249[_0x4f32b4(0x24d)]['Value'])>0x1;if(_0x4a1815&&_0x5c6864===_0x23922a&&(_0x23922a===_0x504249[_0x4f32b4(0x24d)][_0x4f32b4(0xd2)]&&_0x425025===_0x504249[_0x4f32b4(0x118)]['Row']||_0x23922a===_0x504249[_0x4f32b4(0x24d)]['Column']&&_0x425025===_0x504249['PivotTableValuePositionEnum'][_0x4f32b4(0x179)])){let _0x24cbf3=_0x5352bb;_0x59c9e4<=_0x5352bb&&_0x24cbf3--,_0x4b97ca<=_0x5352bb&&_0x24cbf3++,_0x4b2712['updateValuePosition'](_0x425025,_0x24cbf3);}else _0x4a1815&&(_0x5c6864===_0x504249[_0x4f32b4(0x24d)]['Row']&&_0x425025===_0x504249[_0x4f32b4(0x118)][_0x4f32b4(0xd2)]||_0x5c6864===_0x504249[_0x4f32b4(0x24d)][_0x4f32b4(0x179)]&&_0x425025===_0x504249[_0x4f32b4(0x118)][_0x4f32b4(0x179)])&&_0x5352bb>=_0x59c9e4&&_0x4b2712[_0x4f32b4(0x305)](_0x425025,_0x5352bb-0x1),_0x4a1815&&(_0x23922a===_0x504249[_0x4f32b4(0x24d)]['Row']&&_0x425025===_0x504249[_0x4f32b4(0x118)][_0x4f32b4(0xd2)]||_0x23922a===_0x504249[_0x4f32b4(0x24d)][_0x4f32b4(0x179)]&&_0x425025===_0x504249['PivotTableValuePositionEnum'][_0x4f32b4(0x179)])&&_0x5352bb>=_0x4b97ca&&_0x4b2712[_0x4f32b4(0x305)](_0x425025,_0x5352bb+0x1);const _0x346d18=_0x4b2712['query'](),_0x2fdaca=_0x4b2712[_0x4f32b4(0x1c4)](),_0xa31de4=_0x4b2712['endCollectChangeset']();_0x43387a[_0x4f32b4(0x32e)]={'view':_0x346d18['toJSON'](),'changesets':_0xa31de4,'isEmpty':_0x2fdaca,'pivotTableConfig':_0x39fd61};}break;case _0xddaca4[_0x4f32b4(0x26c)]:{const _0x4a5cb8=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x2bc)];if(!_0x4a5cb8)return;const _0x50a5b1=_0x4a5cb8[_0x4f32b4(0xc1)],_0xc78fb8=this['_sheetsPivotDataSourceModel'][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0xc78fb8)return!0x1;const _0x11794b=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992);if(!_0x11794b)return!0x1;_0x11794b[_0x4f32b4(0x35a)]();for(const _0xf16d9e of _0x50a5b1){const {area:_0x257eee}=_0x11794b['getFieldPositionInfoById'](_0xf16d9e);_0x257eee===_0x504249['PivotTableFiledAreaEnum']['Value']&&_0x11794b[_0x4f32b4(0x292)](_0xf16d9e),(_0x257eee===_0x504249[_0x4f32b4(0x24d)]['Row']||_0x257eee===_0x504249['PivotTableFiledAreaEnum'][_0x4f32b4(0x179)])&&_0x11794b['removeValueFilterInfo'](_0xf16d9e),_0x11794b[_0x4f32b4(0x2b9)](_0xf16d9e);}const _0x4fefe0=_0x11794b[_0x4f32b4(0x1c4)](),_0x1df15a=_0x11794b['query']()[_0x4f32b4(0x2db)](),_0x2033ad=_0x11794b[_0x4f32b4(0x2fa)]();_0x43387a[_0x4f32b4(0x2bc)]={'changesets':_0x2033ad,'pivotTableConfig':_0xc78fb8,'isEmpty':_0x4fefe0,'view':_0x1df15a};}break;case _0xddaca4['SetPivotFilter']:{const _0x238846=_0x2fa186['params']['setPivotFilter'];if(!_0x238846)return;const {tableFieldId:_0x229259,items:_0x1b0f0e,isAll:_0x18e5b9}=_0x238846,_0x4fd711=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992),_0x3285d8=this[_0x4f32b4(0x168)]['getPivotTableConfig'](_0x8a8f29,_0x958749,_0x526992);if(!_0x4fd711||!_0x3285d8)return;_0x4fd711[_0x4f32b4(0x35a)](),_0x4fd711['setLabelFilterInfo'](_0x229259,{'type':_0x504249[_0x4f32b4(0x18a)]['ManualFilter'],'list':_0x1b0f0e,'isAll':_0x18e5b9});const _0x417b5a=_0x4fd711[_0x4f32b4(0x1c4)](),_0x1b01f6=_0x4fd711[_0x4f32b4(0x1ea)]()[_0x4f32b4(0x2db)](),_0x21f51b=_0x4fd711[_0x4f32b4(0x2fa)]();_0x43387a[_0x4f32b4(0x2d3)]={'view':_0x1b01f6,'changesets':_0x21f51b,'isEmpty':_0x417b5a,'pivotTableConfig':_0x3285d8};}break;case _0xddaca4['SetValuePivotFilter']:{const _0x1a8a72=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x244)];if(!_0x1a8a72)return;const {tableFieldId:_0x292836,filterInfo:_0x5d71af}=_0x1a8a72,_0x5d5015=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992),_0x1c713a=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0x5d5015||!_0x1c713a)return;_0x5d5015[_0x4f32b4(0x35a)](),_0x5d5015[_0x4f32b4(0x389)](_0x292836,_0x5d71af);const _0x3fc025=_0x5d5015[_0x4f32b4(0x1c4)](),_0x3d2d53=_0x5d5015[_0x4f32b4(0x1ea)]()[_0x4f32b4(0x2db)](),_0x20da81=_0x5d5015[_0x4f32b4(0x2fa)]();_0x43387a[_0x4f32b4(0x244)]={'view':_0x3d2d53,'changesets':_0x20da81,'isEmpty':_0x3fc025,'pivotTableConfig':_0x1c713a};}break;case _0xddaca4[_0x4f32b4(0x34d)]:{const _0x2a54a1=_0x2fa186['params']['setPivotSort'];if(!_0x2a54a1)return;const {tableFieldId:_0x1a24c4,info:_0x4ecedb}=_0x2a54a1,_0x504895=this[_0x4f32b4(0x168)]['getPivotTableInstance'](_0x526992),_0x34786d=this['_sheetsPivotDataSourceModel'][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0x504895||!_0x34786d)return;_0x504895['startCollectChangeset'](),_0x504895[_0x4f32b4(0x1de)](_0x1a24c4,_0x4ecedb);const _0x4e43fb=_0x504895['isEmpty'](),_0x9f18c9=_0x504895[_0x4f32b4(0x1ea)]()[_0x4f32b4(0x2db)](),_0xcd8501=_0x504895[_0x4f32b4(0x2fa)]();_0x43387a[_0x4f32b4(0x22d)]={'view':_0x9f18c9,'changesets':_0xcd8501,'isEmpty':_0x4e43fb,'pivotTableConfig':_0x34786d};}break;case _0xddaca4[_0x4f32b4(0x29a)]:{const _0x22fcf2=_0x2fa186[_0x4f32b4(0x1d2)]['setPivotSetting'];if(!_0x22fcf2)return;const {tableFieldId:_0x1f8e4e,displayName:_0x38f9a4,subtotalType:_0xcbb132,format:_0x22dd59}=_0x22fcf2,_0x256a7c=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992),_0x1307f1=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0x256a7c||!_0x1307f1)return;_0x256a7c[_0x4f32b4(0x35a)](),_0x38f9a4!==void 0x0&&_0x256a7c[_0x4f32b4(0x297)](_0x1f8e4e,_0x38f9a4),_0xcbb132!==void 0x0&&_0x256a7c[_0x4f32b4(0x191)](_0x1f8e4e,_0xcbb132),_0x22dd59!==void 0x0&&_0x256a7c['setFieldFormat'](_0x1f8e4e,_0x22dd59);const _0xe382a2=_0x256a7c['isEmpty'](),_0x53ab1c=_0x256a7c[_0x4f32b4(0x1ea)]()['toJSON'](),_0x5cbdf9=_0x256a7c['endCollectChangeset']();_0x43387a[_0x4f32b4(0x16b)]={'changesets':_0x5cbdf9,'pivotTableConfig':_0x1307f1,'isEmpty':_0xe382a2,'view':_0x53ab1c};}break;case _0xddaca4[_0x4f32b4(0x115)]:{const _0x945f62=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x2da)];if(!_0x945f62)return;const {dataRangeInfo:_0x692b68,unitId:_0x4c5e56,subUnitId:_0x289950}=_0x945f62,_0x18e89d=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x4c5e56,_0x289950,_0x526992),_0xf53ebc=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992);if(!this['_sheetsPivotDataSourceModel'][_0x4f32b4(0x183)](_0x4c5e56,_0x526992)||!_0xf53ebc||!_0x18e89d)return;const _0x301e46=this[_0x4f32b4(0x168)][_0x4f32b4(0x353)](_0x4c5e56,_0x526992,_0x692b68),_0x14267e=this[_0x4f32b4(0x168)][_0x4f32b4(0x183)](_0x4c5e56,_0x526992)[_0x4f32b4(0x2db)](),{collection:_0xa4b93b}=this['_sheetsPivotDataSourceModel'][_0x4f32b4(0x1ac)]({'unitId':_0x692b68[_0x4f32b4(0x27a)],'sheetName':_0x692b68[_0x4f32b4(0x289)],'subUnitId':_0x692b68[_0x4f32b4(0xe4)],'range':_0x692b68['range']}),_0x38b540=_0xa4b93b['toJSON']();_0xf53ebc[_0x4f32b4(0x35a)]();const _0x2cbd44=this[_0x4f32b4(0x168)][_0x4f32b4(0x19f)](_0x4c5e56)[_0x4f32b4(0x122)]()||_0x504249[_0x4f32b4(0x1d7)];_0xf53ebc['iterateField'](_0x4e2eba=>{const _0x362fb5=_0x4f32b4,_0x5f159f=_0x4e2eba[_0x362fb5(0x397)]();if(!_0xa4b93b[_0x362fb5(0x275)](_0x5f159f)){const _0x515d07=_0xa4b93b['getDataFieldBySourceName'](_0x4e2eba[_0x362fb5(0xea)]());if(_0x515d07){_0xf53ebc[_0x362fb5(0x202)](_0x4e2eba['getId'](),_0x515d07[_0x362fb5(0x1a4)](),_0x515d07[_0x362fb5(0x318)]());const {area:_0x55b69e}=_0xf53ebc[_0x362fb5(0xcf)](_0x4e2eba[_0x362fb5(0x318)]());let _0x5bc1ac=_0x4e2eba['getSourceName']();const _0x2e8f58=_0x4e2eba['getDisplayName']();if(_0x55b69e===_0x504249[_0x362fb5(0x24d)]['Value']){const _0x1130cf=_0x4e2eba[_0x362fb5(0x352)]();_0x5bc1ac=_0x2cbd44(_0x515d07[_0x362fb5(0x1a4)](),_0x1130cf);}_0x2e8f58!==_0x5bc1ac&&_0xf53ebc['renameField'](_0x4e2eba[_0x362fb5(0x318)](),_0x5bc1ac);}else _0xf53ebc[_0x362fb5(0x2b9)](_0x4e2eba['getId']());}});const _0xaac890=_0xf53ebc['isEmpty'](),_0x2b987f=_0xf53ebc[_0x4f32b4(0x1ea)]()['toJSON'](),_0x324f13=_0xf53ebc['endCollectChangeset']();_0x43387a[_0x4f32b4(0x2da)]={'view':_0x2b987f,'changesets':_0x324f13,'isEmpty':_0xaac890,'pivotTableConfig':_0x18e89d,'collectionConfig':_0x38b540,'oldCollectionConfig':_0x14267e,'deleteIds':_0x301e46};}break;case _0xddaca4[_0x4f32b4(0x113)]:{const _0x4a7741=_0x2fa186[_0x4f32b4(0x1d2)]['updateValuePosition'];if(!_0x4a7741)return;const {position:_0x267f39,index:_0x126d94}=_0x4a7741,_0x29e3d8=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0x29e3d8)return!0x1;const _0x15d441=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992);if(!_0x15d441)return!0x1;_0x15d441[_0x4f32b4(0x35a)](),_0x15d441['updateValuePosition'](_0x267f39,_0x126d94);const _0x18bb02=_0x15d441[_0x4f32b4(0x1c4)](),_0x116b5a=_0x15d441['query']()[_0x4f32b4(0x2db)](),_0x166f9d=_0x15d441[_0x4f32b4(0x2fa)]();_0x43387a['updateValuePosition']={'changesets':_0x166f9d,'pivotTableConfig':_0x29e3d8,'isEmpty':_0x18bb02,'view':_0x116b5a};}break;case _0xddaca4[_0x4f32b4(0x204)]:{const _0x4386ae=_0x2fa186['params'][_0x4f32b4(0x2f8)];if(!_0x4386ae)return;const {tableFieldId:_0x5eab4e,collapse:_0x157217,item:_0xd421d2}=_0x4386ae,_0x345be2=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992),_0x5893e0=this[_0x4f32b4(0x168)]['getPivotTableConfig'](_0x8a8f29,_0x958749,_0x526992);if(!_0x345be2||!_0x5893e0)return;_0x345be2[_0x4f32b4(0x35a)](),_0x345be2[_0x4f32b4(0x248)](_0x5eab4e,_0x157217,_0xd421d2);const _0x4cd5b9=_0x345be2[_0x4f32b4(0x1c4)](),_0xe11591=_0x345be2[_0x4f32b4(0x1ea)]()[_0x4f32b4(0x2db)](),_0x4d342a=_0x345be2[_0x4f32b4(0x2fa)]();_0x43387a[_0x4f32b4(0x2f8)]={'view':_0xe11591,'isEmpty':_0x4cd5b9,'pivotTableConfig':_0x5893e0,'changesets':_0x4d342a};}break;case _0xddaca4['SetPivotTableConfig']:{const _0x5a5083=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x39e)];if(!_0x5a5083)return;const {pivotTableConfig:_0x2f0384}=_0x5a5083,_0x356034=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992),_0xfc4ed9=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0x356034||!_0xfc4ed9)return;_0x356034[_0x4f32b4(0x35a)](),_0x56d1c7(_0x356034,_0x2f0384);const _0x4fdf54=_0x356034[_0x4f32b4(0x1c4)](),_0x528e5f=_0x356034[_0x4f32b4(0x1ea)]()['toJSON'](),_0x3792d7=_0x356034[_0x4f32b4(0x2fa)]();_0x43387a[_0x4f32b4(0x39e)]={'view':_0x528e5f,'isEmpty':_0x4fdf54,'pivotTableConfig':{..._0xfc4ed9,'fieldsConfig':_0x356034[_0x4f32b4(0x2db)]()},'changesets':_0x3792d7};}break;case _0xddaca4[_0x4f32b4(0x25d)]:{const _0x2b02a8=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x385)];if(!_0x2b02a8)return;const _0x31bc3a=this[_0x4f32b4(0x168)][_0x4f32b4(0x32a)](_0x526992),_0x5312a3=this[_0x4f32b4(0x168)][_0x4f32b4(0x2b2)](_0x8a8f29,_0x958749,_0x526992);if(!_0x31bc3a||!_0x5312a3)return;_0x31bc3a['startCollectChangeset'](),_0x572315(_0x31bc3a,_0x2b02a8[_0x4f32b4(0x313)]);const _0x1baf15=_0x31bc3a['query']()[_0x4f32b4(0x2db)](),_0x1e9542=_0x31bc3a[_0x4f32b4(0x2fa)]();_0x43387a[_0x4f32b4(0x385)]={'view':_0x1baf15,'isEmpty':!0x0,'pivotTableConfig':{..._0x5312a3,'fieldsConfig':_0x31bc3a[_0x4f32b4(0x2db)]()},'changesets':_0x1e9542};}break;case _0xddaca4[_0x4f32b4(0x17b)]:{const _0x509287=_0x2fa186[_0x4f32b4(0x1d2)][_0x4f32b4(0x319)];if(!_0x509287)return;const _0x482243=_0x509287[_0x4f32b4(0x33d)],_0x2117f3=_0x509287[_0x4f32b4(0x35d)],{collection:_0x3e5cfb}=this[_0x4f32b4(0x168)]['createCollectionWithDataRange']({'unitId':_0x482243[_0x4f32b4(0x27a)],'sheetName':_0x482243['sheetName'],'subUnitId':_0x482243['subUnitId'],'range':_0x482243[_0x4f32b4(0x148)]}),_0x2a83cd=new _0x504249[(_0x4f32b4(0x378))](_0x3e5cfb,void 0x0,_0x2117f3),_0x356b5d=_0x3e5cfb[_0x4f32b4(0x2c1)](),{rows:_0xd4875a,columns:_0xa111b1,filters:_0x39e21c,values:_0x1dea99}=_0x509287[_0x4f32b4(0x14f)];_0x2a83cd[_0x4f32b4(0x35a)]();for(const {field:_0x1323f0,selectedItems:_0x3c1088}of _0xd4875a||[]){const _0x13383b=_0x356b5d[_0x1323f0];if(_0x13383b){const _0x40acf=_0x2a83cd[_0x4f32b4(0x121)](_0x13383b,_0x504249[_0x4f32b4(0x24d)][_0x4f32b4(0xd2)]);_0x3c1088&&_0x40acf&&_0x2a83cd[_0x4f32b4(0x2f1)](_0x40acf[_0x4f32b4(0x318)](),{'type':_0x504249[_0x4f32b4(0x18a)][_0x4f32b4(0x205)],'list':_0x3c1088,'isAll':!0x1});}}for(const {field:_0x1e170e,selectedItems:_0x49466f}of _0xa111b1||[]){const _0x3f2061=_0x356b5d[_0x1e170e];if(_0x3f2061){const _0x2fa452=_0x2a83cd['addFieldWithSourceId'](_0x3f2061,_0x504249[_0x4f32b4(0x24d)][_0x4f32b4(0x179)]);_0x49466f&&_0x2fa452&&_0x2a83cd['setLabelFilterInfo'](_0x2fa452['getId'](),{'type':_0x504249['PivotFilterTypeEnum']['ManualFilter'],'list':_0x49466f,'isAll':!0x1});}}for(const {field:_0x3b3502,selectedItems:_0x564085}of _0x39e21c||[]){const _0x9e0ede=_0x356b5d[_0x3b3502];if(_0x9e0ede){const _0x38744a=_0x2a83cd['addFieldWithSourceId'](_0x9e0ede,_0x504249['PivotTableFiledAreaEnum'][_0x4f32b4(0x143)]);_0x564085&&_0x38744a&&_0x2a83cd[_0x4f32b4(0x2f1)](_0x38744a[_0x4f32b4(0x318)](),{'type':_0x504249[_0x4f32b4(0x18a)]['ManualFilter'],'list':_0x564085,'isAll':!0x1});}}for(const {field:_0xba92a,subTotalType:_0x1cc8d0,formatString:_0x440db7}of _0x1dea99||[]){const _0x46af7d=_0x3e5cfb[_0x4f32b4(0x219)](_0x356b5d[_0xba92a]);if(!_0x46af7d)continue;const _0x28c3e8=_0x356b5d[_0xba92a];if(_0x28c3e8){const _0x3300d7=_0x2a83cd[_0x4f32b4(0x121)](_0x28c3e8,_0x504249[_0x4f32b4(0x24d)][_0x4f32b4(0x1dd)]);if(_0x3300d7){if(_0x1cc8d0!==void 0x0){_0x2a83cd[_0x4f32b4(0x191)](_0x3300d7[_0x4f32b4(0x318)](),_0x1cc8d0);const _0x463f3d=this[_0x4f32b4(0x168)][_0x4f32b4(0x19f)](_0x482243[_0x4f32b4(0x27a)])[_0x4f32b4(0x122)]()||_0x504249[_0x4f32b4(0x1d7)],_0x5d58e6=_0x3e5cfb[_0x4f32b4(0x38f)](_0x28c3e8),_0x3ae836=_0x463f3d(_0x5d58e6,_0x1cc8d0);_0x2a83cd[_0x4f32b4(0x297)](_0x3300d7[_0x4f32b4(0x318)](),_0x3ae836);}else{if(_0x46af7d){const _0x32e668=_0x46af7d==null?void 0x0:_0x46af7d['getFieldDataType']();_0x2a83cd[_0x4f32b4(0x191)](_0x3300d7[_0x4f32b4(0x318)](),_0x32e668===_0x504249[_0x4f32b4(0x2c3)][_0x4f32b4(0x371)]?_0x504249[_0x4f32b4(0x36c)]['sum']:_0x504249[_0x4f32b4(0x36c)][_0x4f32b4(0x16c)]);}}_0x440db7&&_0x2a83cd[_0x4f32b4(0x243)](_0x3300d7[_0x4f32b4(0x318)](),_0x440db7);}}}const _0x2d7195=_0x2a83cd[_0x4f32b4(0x1ea)](),_0x55d635=_0x2a83cd['toJSON'](),_0x106e6d=_0x2a83cd[_0x4f32b4(0x1c4)](),_0x4b8d93=_0x2a83cd[_0x4f32b4(0x2fa)](),_0x3027d2=_0x3e5cfb[_0x4f32b4(0x2db)]();_0x43387a[_0x4f32b4(0x319)]={'view':_0x2d7195,'fieldsConfig':_0x55d635,'collectionConfig':_0x3027d2,'isEmpty':_0x106e6d,'changesets':_0x4b8d93};}break;case _0xddaca4[_0x4f32b4(0xdb)]:{const _0x8e913c=_0x55a492(this[_0x4f32b4(0x15c)],_0x2fa186);if(!_0x8e913c)return;const {range:_0x3b4cd7,sourceSubUnitId:_0x2f2499,sourceUnitId:_0x1431f1,formatMap:_0x35ad2a,indexes:_0x466ca8}=_0x8e913c;_0x43387a[_0x4f32b4(0x1ae)]={'range':_0x3b4cd7,'sourceSubUnitId':_0x2f2499,'sourceUnitId':_0x1431f1,'formatMap':_0x35ad2a,'indexes':_0x466ca8};}break;}this[_0x4f32b4(0x2c8)][_0x4f32b4(0x312)](_0x29abbe['id'],{'version':_0x2fa186[_0x4f32b4(0x110)],'result':_0x43387a},{'onlyLocal':!0x0});}));}['_initPivotTextInfo'](){const _0x20ca74=_0x40f901;this[_0x20ca74(0x2c9)](this[_0x20ca74(0x2c8)]['onCommandExecuted'](_0x1174c6=>{const _0x34330f=_0x20ca74;if(_0x1174c6['id']!==_0xaef0b2['id'])return;const _0x5af315=_0x1174c6[_0x34330f(0x1d2)];return this[_0x34330f(0x168)]['setTextInfo'](_0x5af315['textInfo']),!0x0;}));}['_subjectCollectionChange'](){const _0x51df30=_0x40f901;this[_0x51df30(0x168)][_0x51df30(0x1d3)]['subscribe'](_0xce009c=>{const _0x2c618d=_0x51df30;switch(_0xce009c[_0x2c618d(0x187)]){case _0x21278c[_0x2c618d(0x2c4)]:_0xce009c[_0x2c618d(0x15e)]&&_0xce009c[_0x2c618d(0xf4)]&&this['handleSourceRangeChange'](_0xce009c[_0x2c618d(0x369)],_0xce009c[_0x2c618d(0x15e)],_0xce009c[_0x2c618d(0xf4)]);break;case _0x21278c[_0x2c618d(0x32c)]:{const {unitId:_0x35c74c,subUnitId:_0x30df39,token:_0x290544}=_0xce009c;_0x35c74c&&_0x30df39&&_0x290544&&this[_0x2c618d(0x259)](_0x35c74c,_0x30df39,_0x290544);}break;case _0x21278c[_0x2c618d(0x2ca)]:{const {token:_0xa16573,oldSourceRangeInfo:_0x54afe1,dataRangeInfo:_0x249a55,targetCellInfo:_0x5f38d9}=_0xce009c,{unitId:_0x22a99a,subUnitId:_0x21aa50}=_0x54afe1||{};_0x22a99a&&_0x21aa50&&_0xa16573&&this[_0x2c618d(0x259)](_0x22a99a,_0x21aa50,_0xa16573),_0x249a55&&_0x5f38d9&&this[_0x2c618d(0x38a)](_0xa16573,_0x249a55,_0x5f38d9);}break;}});}[_0x40f901(0x330)](){const _0x30d050=_0x40f901;this[_0x30d050(0x168)][_0x30d050(0x223)][_0x30d050(0x1a7)](_0x20c87b=>{const _0x55bc9e=_0x30d050;Object[_0x55bc9e(0xe6)](_0x20c87b)['forEach'](_0x2865ca=>{const _0x7a0c59=_0x55bc9e,_0x29d14c=this[_0x7a0c59(0x168)]['getTargetByPivotId'](_0x2865ca);if(_0x29d14c){const _0x384b11=this[_0x7a0c59(0x168)][_0x7a0c59(0x2b2)](_0x29d14c==null?void 0x0:_0x29d14c[_0x7a0c59(0x27a)],_0x29d14c==null?void 0x0:_0x29d14c[_0x7a0c59(0xe4)],_0x2865ca);_0x384b11&&(this['handleSourceRangeChange'](_0x2865ca,_0x384b11['sourceRangeInfo'],_0x384b11[_0x7a0c59(0xf4)]),this[_0x7a0c59(0x367)]([{'unitId':_0x29d14c[_0x7a0c59(0x27a)],'subUnitId':_0x29d14c[_0x7a0c59(0xe4)],'token':_0x2865ca}]));}});});}[_0x40f901(0x374)](){const _0x35424e=_0x40f901;this['_sheetsPivotDataSourceModel'][_0x35424e(0xee)][_0x35424e(0x1a7)](_0x35d5c9=>{const _0x27e38c=_0x35424e,{unitId:_0x1b7c4d,subUnitId:_0x30705e,pivotTableId:_0x513a3e}=_0x35d5c9;_0x1b7c4d&&_0x30705e&&_0x513a3e&&this[_0x27e38c(0x367)]([{'unitId':_0x1b7c4d,'subUnitId':_0x30705e,'token':_0x513a3e}]);});}[_0x40f901(0x367)](_0x175e8a){const _0x1b62ea=_0x40f901,_0x50ed57={};_0x175e8a[_0x1b62ea(0x336)](_0x543515=>{var _0x32707a,_0x224494;const {unitId:_0x4b8af1,subUnitId:_0x659ace,token:_0x51afb9}=_0x543515;_0x50ed57[_0x4b8af1]=(_0x32707a=_0x50ed57[_0x4b8af1])!=null?_0x32707a:{},_0x50ed57[_0x4b8af1][_0x659ace]=(_0x224494=_0x50ed57[_0x4b8af1][_0x659ace])!=null?_0x224494:{},_0x50ed57[_0x4b8af1][_0x659ace][_0x51afb9]=!0x0;}),this[_0x1b62ea(0x2c8)][_0x1b62ea(0x312)](_0x3a8be6['id'],_0x50ed57);}[_0x40f901(0x259)](_0x12a5d6,_0x338643,_0x1b55a2){const _0x4b5467=_0x40f901;this[_0x4b5467(0x203)][_0x4b5467(0x141)](_0x12a5d6,_0x338643,[_0x1b55a2]);}['handleSourceRangeChange'](_0x3547cf,_0x30637b,_0x30ee99){const _0x22351c=_0x40f901,{unitId:_0x51eb59,subUnitId:_0x54dec2}=_0x30637b;this[_0x22351c(0x203)]['has'](_0x30ee99[_0x22351c(0x27a)],_0x30ee99[_0x22351c(0xe4)],_0x3547cf)&&this['removeSourceRangeChange'](_0x51eb59,_0x54dec2,_0x3547cf);const _0xa43c3d={'sheetId':_0x54dec2,..._0x30637b};this[_0x22351c(0x203)][_0x22351c(0x233)](_0x30ee99[_0x22351c(0x27a)],_0x30ee99[_0x22351c(0xe4)],_0x3547cf,{'unitId':_0x30ee99[_0x22351c(0x27a)],'subUnitId':_0x30ee99[_0x22351c(0xe4)],'dependencyRanges':[_0xa43c3d],'getDirtyData':(_0x1796d3,_0x215806)=>{const _0x2803ac=_0x22351c,_0x24a177=this[_0x2803ac(0x168)],_0x271b09=_0x24a177[_0x2803ac(0x33c)](_0x3547cf);if(!_0x271b09)return _0x515d55();const {unitId:_0x30dc3a,subUnitId:_0x57945a}=_0x271b09,_0x5446b6=_0x91088e(_0x1796d3,_0x215806,_0x30637b);if(_0x5446b6[_0x2803ac(0x2a3)]>0x0){const _0x24e53a=_0x24a177[_0x2803ac(0x183)](_0x51eb59,_0x3547cf),_0x14f05c=_0x24e53a[_0x2803ac(0x2c1)](),_0x46e23f=this[_0x2803ac(0xff)](_0x30637b['unitId'],_0x30637b[_0x2803ac(0xe4)],_0x215806),_0x2ac3ee={},_0x50f90c=this[_0x2803ac(0x168)]['getDataFieldManager'](_0x30dc3a)[_0x2803ac(0x122)]()||_0x504249[_0x2803ac(0x1d7)];for(const _0x4803a8 of _0x5446b6){const _0x4ee978=_0x4803a8-(_0x30637b[_0x2803ac(0x148)][_0x2803ac(0x123)]||0x0),_0x6b4d70=_0x14f05c[_0x4ee978];_0x2ac3ee[_0x6b4d70]=_0x24e53a[_0x2803ac(0x219)](_0x6b4d70)[_0x2803ac(0x1a4)](),_0x24a177[_0x2803ac(0x19f)](_0x51eb59)[_0x2803ac(0x172)](_0x6b4d70,_0x30637b,_0x4ee978,_0x46e23f);}_0x24e53a[_0x2803ac(0x225)]();const _0x270d01=_0x24a177[_0x2803ac(0x32a)](_0x3547cf);if(_0x270d01){_0x530ffe(_0x270d01,_0x2ac3ee,_0x50f90c),_0x270d01[_0x2803ac(0x375)](!0x0);const _0x5d507e=_0x270d01[_0x2803ac(0x1ea)](),_0x5d9637=_0x24a177[_0x2803ac(0x2b2)](_0x30dc3a,_0x57945a,_0x3547cf),_0x9bb5a8=_0x24a177[_0x2803ac(0x19f)](_0x51eb59)[_0x2803ac(0x2db)]();_0x24a177['updateView'](_0x30dc3a,_0x57945a,_0x3f9618[_0x2803ac(0x282)],_0x3547cf,_0x5d507e,_0x5d9637,_0x9bb5a8,!0x0);}}return this[_0x2803ac(0x31b)](_0x30dc3a,_0x57945a,_0x3547cf);}});}['getMatrixFromRunTimeData'](_0x5d2047,_0x147eb1,_0x3aab91){var _0x5361ee,_0x2573b1;const {arrayFormulaCellData:_0x32eb9d,unitData:_0x3775cb}=_0x3aab91,_0x1aa1c4=(_0x5361ee=_0x32eb9d==null?void 0x0:_0x32eb9d[_0x5d2047])==null?void 0x0:_0x5361ee[_0x147eb1],_0x2e46ff=(_0x2573b1=_0x3775cb==null?void 0x0:_0x3775cb[_0x5d2047])==null?void 0x0:_0x2573b1[_0x147eb1];return{'arrayFormulaCellDataMatrix':_0x1aa1c4,'unitDataMatrix':_0x2e46ff};}['getDirtyInfo'](_0x3a2f08,_0x2ee234,_0xb29bd3){const _0x3e1f3f=_0x40f901,_0x4a9431=this['_sheetsPivotDataSourceModel'][_0x3e1f3f(0x370)](_0x3a2f08,_0x2ee234,_0xb29bd3),_0x2b849e=[],_0x4ecc5d=new _0xc67125[(_0x3e1f3f(0x25f))]();if(_0x4a9431){const {rangeCache:_0x55e893,matrix:_0x5d8a85,oldRangeCache:_0x1b5bc0,oldMatrix:_0x139fbb}=_0x4a9431,_0x13957c=_0x25ec17(_0x1b5bc0),_0x46568f=_0x25ec17(_0x55e893);_0x2b849e[_0x3e1f3f(0x177)](..._0x46568f,..._0x13957c),_0x139fbb&&_0x1b5bc0&&_0x13957c[_0x3e1f3f(0x336)](_0xee6c6f=>{const _0x27dc65=_0x3e1f3f;for(let _0x1918b4=_0xee6c6f[_0x27dc65(0x2eb)];_0x1918b4<=_0xee6c6f[_0x27dc65(0x1f0)];_0x1918b4++)for(let _0x1b033f=_0xee6c6f[_0x27dc65(0x123)];_0x1b033f<=_0xee6c6f['endColumn'];_0x1b033f++)_0x4ecc5d[_0x27dc65(0x15d)](_0x1918b4,_0x1b033f);}),_0x5d8a85&&_0x46568f&&_0x46568f[_0x3e1f3f(0x336)](_0x1b36c3=>{const _0x3044f1=_0x3e1f3f;for(let _0x298e43=_0x1b36c3[_0x3044f1(0x2eb)];_0x298e43<=_0x1b36c3[_0x3044f1(0x1f0)];_0x298e43++)for(let _0x3eddf6=_0x1b36c3[_0x3044f1(0x123)];_0x3eddf6<=_0x1b36c3['endColumn'];_0x3eddf6++)_0x4ecc5d[_0x3044f1(0x269)](_0x298e43,_0x3eddf6,_0x5d8a85['getValue'](_0x298e43,_0x3eddf6));});}const _0x2547f2={};return _0x2547f2[_0x3a2f08]={[_0x2ee234]:_0x338433(_0x2b849e)},{'runtimeCellData':{[_0x3a2f08]:{[_0x2ee234]:_0x4ecc5d}},'dirtyRanges':_0x2547f2};}[_0x40f901(0x310)](){}};_0x2a7052=_0x4b474d([_0xb208e8(0x0,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7[_0x40f901(0x2a1)])),_0xb208e8(0x1,_0xc67125[_0x40f901(0x33a)]),_0xb208e8(0x2,_0xc67125[_0x40f901(0x2b6)](_0x19e647[_0x40f901(0x261)])),_0xb208e8(0x3,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x268)])),_0xb208e8(0x4,_0xc67125[_0x40f901(0x2b6)](_0x19e647['GlobalComputingStatusService'])),_0xb208e8(0x5,_0xc67125['Inject'](_0xc67125[_0x40f901(0x17d)]))],_0x2a7052);var _0x2202bf=Object[_0x40f901(0x175)],_0x41e99d=(_0x122fe7,_0x3d4633,_0x284748,_0x46ae0d)=>{for(var _0x46192e=_0x46ae0d>0x1?void 0x0:_0x46ae0d?_0x2202bf(_0x3d4633,_0x284748):_0x3d4633,_0x527f16=_0x122fe7['length']-0x1,_0x5c5c04;_0x527f16>=0x0;_0x527f16--)(_0x5c5c04=_0x122fe7[_0x527f16])&&(_0x46192e=_0x5c5c04(_0x46192e)||_0x46192e);return _0x46192e;},_0x1984f5=(_0x2206f5,_0x31e3b2)=>(_0x45e611,_0xd61011)=>_0x31e3b2(_0x45e611,_0xd61011,_0x2206f5);let _0x2c8299=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x4c6781,_0x2ffbef,_0x158e20,_0x4ff86b){const _0x2ed280=_0x40f901;super(),_0x1bae1e(this,_0x2ed280(0x27f),new _0xc67125[(_0x2ed280(0x12b))]()),(this[_0x2ed280(0x2cd)]=_0x4c6781,this['_sheetInterceptorService']=_0x2ffbef,this[_0x2ed280(0x343)]=_0x158e20,this[_0x2ed280(0x338)]=_0x4ff86b,this[_0x2ed280(0x196)]());}[_0x40f901(0x196)](){const _0x47404f=_0x40f901;this[_0x47404f(0x2c9)](this[_0x47404f(0x192)][_0x47404f(0x238)]({'getMutations':_0x5841f2=>{const _0x3a4078=_0x47404f;if(_0x5841f2['id']===_0x96765f[_0x3a4078(0x13e)]['id']||_0x5841f2['id']===_0x96765f[_0x3a4078(0x1ed)]['id']){const _0x43c09c=[],_0x41ebbf=[],_0x365476=this[_0x3a4078(0x343)][_0x3a4078(0x284)]()['map'](_0x345e87=>_0x345e87[_0x3a4078(0x148)]),_0x43839f=_0x96765f['getSheetCommandTarget'](this[_0x3a4078(0x2cd)]);if(!_0x43839f)return{'redos':[],'undos':[]};const {unitId:_0x15aed9,subUnitId:_0x124e09}=_0x43839f,_0x445145={},_0x168934=this[_0x3a4078(0x338)][_0x3a4078(0x16e)](_0x15aed9,_0x124e09);if(_0x168934!=null&&_0x168934['size'])for(const [_0x170137,_0x219201]of _0x168934){const {unitId:_0x444d6b,subUnitId:_0x2de77d,row:_0x2e1b11,col:_0x43dcb1}=_0x219201[_0x3a4078(0xf4)];_0x444d6b===_0x43839f[_0x3a4078(0x27a)]&&_0x2de77d===_0x43839f[_0x3a4078(0xe4)]&&(_0x445145[_0x2e1b11+'-'+_0x43dcb1]=_0x170137);}return _0x365476&&_0x43839f&&_0x365476['forEach'](_0x406f3e=>{const _0x5dbab4=_0x3a4078;_0xc67125[_0x5dbab4(0x39f)][_0x5dbab4(0x236)](_0x406f3e,(_0x28c44d,_0x301491)=>{const _0x25427f=_0x5dbab4,_0x2eb8aa=_0x28c44d+'-'+_0x301491;if(_0x445145[_0x2eb8aa]){const _0x54fc8e=_0x445145[_0x2eb8aa];_0x43c09c[_0x25427f(0x177)]({'id':_0x5de69c['id'],'params':{'unitId':_0x15aed9,'subUnitId':_0x124e09,'pivotTableId':_0x54fc8e}});const _0x5e2f79=this[_0x25427f(0x338)][_0x25427f(0x183)](_0x15aed9,_0x54fc8e),_0x578b2c=this[_0x25427f(0x338)][_0x25427f(0x2b2)](_0x15aed9,_0x124e09,_0x54fc8e);_0x41ebbf[_0x25427f(0x177)]({'id':_0x19ffd2['id'],'params':{'unitId':_0x15aed9,'subUnitId':_0x124e09,'pivotTableId':_0x54fc8e,'pivotTableConfig':_0x578b2c,'collectionConfig':_0x5e2f79}});}});}),{'redos':_0x43c09c,'undos':_0x41ebbf};}return{'redos':[],'undos':[]};}}));}};_0x2c8299=_0x41e99d([_0x1984f5(0x0,_0xc67125[_0x40f901(0x354)]),_0x1984f5(0x1,_0xc67125[_0x40f901(0x2b6)](_0x96765f[_0x40f901(0x217)])),_0x1984f5(0x2,_0xc67125[_0x40f901(0x2b6)](_0x96765f['SheetsSelectionsService'])),_0x1984f5(0x3,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7[_0x40f901(0x1ad)]))],_0x2c8299);var _0x527aca=Object[_0x40f901(0x175)],_0x1b5306=(_0x21cb2a,_0x186744,_0x1c0f6c,_0x55d1c9)=>{const _0x48ca90=_0x40f901;for(var _0x44d069=_0x55d1c9>0x1?void 0x0:_0x55d1c9?_0x527aca(_0x186744,_0x1c0f6c):_0x186744,_0x491166=_0x21cb2a[_0x48ca90(0x2a3)]-0x1,_0x47493a;_0x491166>=0x0;_0x491166--)(_0x47493a=_0x21cb2a[_0x491166])&&(_0x44d069=_0x47493a(_0x44d069)||_0x44d069);return _0x44d069;},_0x29ebd7=(_0x58f85a,_0x7d89b7)=>(_0x2dc8ca,_0x415ec0)=>_0x7d89b7(_0x2dc8ca,_0x415ec0,_0x58f85a);let _0x2efda3=class extends _0xc67125['Disposable']{constructor(_0x4c9209,_0x191698,_0x544825,_0xd976b7,_0x4dbbc3,_0x2f191a){const _0x877266=_0x40f901;super(),this['_localeService']=_0x4c9209,this[_0x877266(0x192)]=_0x191698,this[_0x877266(0x15c)]=_0x544825,this[_0x877266(0x2cd)]=_0xd976b7,this[_0x877266(0x338)]=_0x4dbbc3,this[_0x877266(0x14b)]=_0x2f191a,this[_0x877266(0x2de)]();}[_0x40f901(0x334)](_0x39d3dd,_0x2f2688,_0x1f8b65){const _0x3715a8=_0x40f901,{pageView:_0x2e5fe6,cornerView:_0x220bcd,rowView:_0x1ccd54,colView:_0x5d7a4c,dataView:_0x43d079}=_0x2f2688,_0x12f89a=_0x39d3dd;let _0x5a622e;if(_0x1f8b65)_0x5a622e=[..._0x3e219f(_0x12f89a)];else{const _0x4d56ee=_0x8c20b7(_0x12f89a,_0x2e5fe6,!0x0),_0x27bd22=_0x2e5fe6[_0x3715a8(0x278)]>=0x0?_0x2e5fe6[_0x3715a8(0x278)]+0x1:0x0,_0x1c57b7=_0x220bcd[_0x3715a8(0x363)],_0x3c6f5a=_0x220bcd[_0x3715a8(0x138)],_0x2f1c14=_0x4d56ee['length']>0x0?_0x1e964c:0x0,_0x4ba724=_0x8c20b7({'row':_0x12f89a[_0x3715a8(0x166)]+_0x27bd22+_0x2f1c14,'col':_0x12f89a[_0x3715a8(0x31e)]},_0x220bcd,!0x1,!0x1),_0x1d06fc=_0x8c20b7({'row':_0x12f89a['row']+_0x27bd22+_0x2f1c14+_0x1c57b7,'col':_0x12f89a[_0x3715a8(0x31e)]},_0x1ccd54,!0x1,!0x0),_0x18d69e=_0x8c20b7({'row':_0x12f89a['row']+_0x27bd22+_0x2f1c14,'col':_0x12f89a['col']+_0x3c6f5a},_0x5d7a4c,!0x1,!0x0),_0xdda1d8=_0x8c20b7({'row':_0x12f89a['row']+_0x27bd22+_0x2f1c14+_0x1c57b7,'col':_0x12f89a['col']+_0x3c6f5a},_0x43d079,!0x1,!0x0);_0x5a622e=[..._0x4d56ee,..._0x4ba724,..._0x1d06fc,..._0x18d69e,..._0xdda1d8];}return _0x5a622e;}[_0x40f901(0x2de)](){const _0x350d41=_0x40f901;this[_0x350d41(0x2c9)](this[_0x350d41(0x14b)][_0x350d41(0x372)][_0x350d41(0x1ca)](this[_0x350d41(0x14b)][_0x350d41(0x372)][_0x350d41(0x165)]()[_0x350d41(0xd3)],{'handler':(_0x3222d8,_0x4806be)=>{const _0x5658ba=_0x350d41,{cellInfo:_0x455dda,view:_0xc27236,isEmpty:_0x131adc}=_0x4806be,_0x574649=_0x455dda,{unitId:_0x2073d,subUnitId:_0x424e45}=_0x574649,_0x1c911a=this['_getPivotAppliedRanges'](_0x455dda,_0xc27236,_0x131adc),_0x230a7f=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x2073d,'subUnitId':_0x424e45,'ranges':_0x1c911a}),_0x333917=_0x56e4dc(this[_0x5658ba(0x15c)],_0x2073d,_0x424e45,_0x1c911a);_0x333917['shouldClear']&&(_0x230a7f[_0x5658ba(0x1a2)][_0x5658ba(0x177)](_0x333917[_0x5658ba(0xd1)]),_0x230a7f['undos'][_0x5658ba(0x177)](_0x333917[_0x5658ba(0x11d)]));const _0x5b911e=this[_0x5658ba(0x103)](_0xc27236,_0x455dda);return _0x230a7f[_0x5658ba(0x1a2)][_0x5658ba(0x177)](..._0x5b911e[_0x5658ba(0x1a2)]),_0x230a7f[_0x5658ba(0x14e)]['push'](..._0x5b911e[_0x5658ba(0x14e)]),{'redos':_0x230a7f[_0x5658ba(0x1a2)],'undos':_0x230a7f['undos']};}}));}[_0x40f901(0x103)](_0x45b442,_0x3f20ac){const _0x4e6fd6=_0x40f901,{col:_0x280a76,unitId:_0x5acbd9,subUnitId:_0x5d3fda}=_0x3f20ac,_0x68fecf=[],_0x232490=[],_0xadfe6f=_0x96765f[_0x4e6fd6(0x105)](this[_0x4e6fd6(0x2cd)],{'unitId':_0x5acbd9,'subUnitId':_0x5d3fda});if(!_0x3f20ac||!_0x45b442||!_0xadfe6f)return{'undos':_0x232490,'redos':_0x68fecf};const _0x149692=this[_0x4e6fd6(0x338)]['getTextInfo'](),{colView:_0x385c1a,dataView:_0x10bd2d,cornerView:_0x417497,rowView:_0x3214c7,formatMap:_0x37c1e2}=_0x45b442,_0x15c5a1=_0x318cab(_0x385c1a,_0x149692,!0x0,_0x37c1e2),_0x50f923=_0x318cab(_0x3214c7,_0x149692,!0x1,_0x37c1e2),_0x26499f=_0x5b5c55(_0x10bd2d),_0x3a3174=_0x39f0aa(_0x417497),{worksheet:_0x24833a}=_0xadfe6f;if(typeof window<'u'&&window[_0x4e6fd6(0x1fe)]){const _0x443ec5=_0x40562a['getFontStyleString']({..._0x5385b8[_0x4e6fd6(0x1c1)]}),_0x757aee=_0x40562a['FontCache']['getTextSize'](_0x15c5a1,_0x443ec5)[_0x4e6fd6(0x323)]+0x10,_0x5d3b88=_0x40562a[_0x4e6fd6(0x33b)]['getTextSize'](_0x26499f,_0x443ec5)[_0x4e6fd6(0x323)],_0x32e097=Math[_0x4e6fd6(0x20f)](Math[_0x4e6fd6(0x230)](_0x757aee,_0x5d3b88))+0x10,_0x3b5d91=Math['floor'](_0x40562a[_0x4e6fd6(0x33b)][_0x4e6fd6(0x2a0)](_0x50f923,_0x443ec5)[_0x4e6fd6(0x323)]),_0x50c119=Math['floor'](_0x40562a[_0x4e6fd6(0x33b)]['getTextSize'](_0x3a3174,_0x443ec5)[_0x4e6fd6(0x323)]),_0x192b07=Math[_0x4e6fd6(0x230)](_0x3b5d91,_0x50c119,0x28)+0xc,_0x572d1b=_0x385c1a[_0x4e6fd6(0x138)]+_0x417497[_0x4e6fd6(0x138)],_0x31e7e6={},_0x2ac54f={};for(let _0x415dfe=_0x280a76;_0x415dfe<_0x280a76+_0x572d1b;_0x415dfe++){const _0x465636=_0x24833a[_0x4e6fd6(0x2c6)](_0x415dfe);_0x31e7e6[_0x415dfe]=_0x465636,_0x415dfe-_0x280a76<_0x417497[_0x4e6fd6(0x138)]?_0x2ac54f[_0x415dfe-_0x280a76]=_0x192b07:_0x2ac54f[_0x415dfe-_0x280a76]=_0x32e097;}_0x68fecf[_0x4e6fd6(0x177)]({'id':_0x96765f[_0x4e6fd6(0x368)]['id'],'params':{'subUnitId':_0x5d3fda,'unitId':_0x5acbd9,'ranges':[{'startColumn':_0x280a76,'endColumn':_0x280a76+_0x572d1b-0x1,'startRow':0x0,'endRow':_0x24833a['getRowCount']()-0x1}],'colWidth':_0x2ac54f}}),_0x232490['push']({'id':_0x96765f['SetWorksheetColWidthMutation']['id'],'params':{'subUnitId':_0x5d3fda,'unitId':_0x5acbd9,'ranges':[{'startColumn':_0x280a76,'endColumn':_0x280a76+_0x572d1b-0x1,'startRow':0x0,'endRow':_0x24833a[_0x4e6fd6(0x396)]()-0x1}],'colWidth':_0x31e7e6}});}return{'undos':_0x232490,'redos':_0x68fecf};}};_0x2efda3=_0x1b5306([_0x29ebd7(0x0,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x29e)])),_0x29ebd7(0x1,_0xc67125[_0x40f901(0x2b6)](_0x96765f[_0x40f901(0x217)])),_0x29ebd7(0x2,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x17d)])),_0x29ebd7(0x3,_0xc67125[_0x40f901(0x2b6)](_0xc67125['IUniverInstanceService'])),_0x29ebd7(0x4,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7[_0x40f901(0x1ad)])),_0x29ebd7(0x5,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7[_0x40f901(0x210)]))],_0x2efda3);var _0x16522a=Object['getOwnPropertyDescriptor'],_0x3bf1fe=(_0x1def9c,_0x4bd491,_0x726737,_0x398491)=>{const _0x520156=_0x40f901;for(var _0x4f40d7=_0x398491>0x1?void 0x0:_0x398491?_0x16522a(_0x4bd491,_0x726737):_0x4bd491,_0x56511d=_0x1def9c[_0x520156(0x2a3)]-0x1,_0x5707d1;_0x56511d>=0x0;_0x56511d--)(_0x5707d1=_0x1def9c[_0x56511d])&&(_0x4f40d7=_0x5707d1(_0x4f40d7)||_0x4f40d7);return _0x4f40d7;},_0x3e50f3=(_0x14e08c,_0x219df8)=>(_0x30b3c6,_0x45e249)=>_0x219df8(_0x30b3c6,_0x45e249,_0x14e08c);let _0xddab31=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x2fae84,_0x5b07fb,_0x2a46a9,_0x2b4ba6,_0x5b7dc1,_0x55af03,_0x523edf){const _0x49505f=_0x40f901;super(),_0x1bae1e(this,_0x49505f(0x27f),new _0xc67125[(_0x49505f(0x12b))]()),(this[_0x49505f(0x15c)]=_0x2fae84,this[_0x49505f(0x12d)]=_0x5b07fb,this[_0x49505f(0x2c8)]=_0x2a46a9,this[_0x49505f(0x2cd)]=_0x2b4ba6,this[_0x49505f(0x338)]=_0x5b7dc1,this['_sheetsPivotTableAdaptorModel']=_0x55af03,this[_0x49505f(0x192)]=_0x523edf,this['_onRefRangeChange']());}['_onRefRangeChange'](){const _0x834b51=_0x40f901,_0x12361d=(_0x16f22f,_0x313b38)=>{const _0x481942=_0x486c,_0x1710fb=this[_0x481942(0x2cd)]['getCurrentUnitForType'](_0xc67125['UniverInstanceType'][_0x481942(0x35c)]);if(!_0x1710fb||!(_0x1710fb==null?void 0x0:_0x1710fb[_0x481942(0x1d0)](_0x313b38)))return;this[_0x481942(0x27f)]['dispose']();const _0x2c5b73=_0x3b8efc=>this[_0x481942(0x114)](_0x3b8efc,_0x16f22f,_0x313b38),_0x2dd66c=this[_0x481942(0x338)][_0x481942(0x16e)](_0x16f22f,_0x313b38);if(!(_0x2dd66c!=null&&_0x2dd66c[_0x481942(0x315)]))return;Array[_0x481942(0x19e)](_0x2dd66c[_0x481942(0x2d9)]())[_0x481942(0x2f3)](_0x99b4dc=>{const _0x303542=_0x481942,{row:_0x296d50,col:_0x1c5c0d}=_0x99b4dc[_0x303542(0xf4)];return _0xc67125['cellToRange'](_0x296d50,_0x1c5c0d);})[_0x481942(0x336)](_0x33120c=>{const _0x24cd42=_0x481942;this['disposableCollection'][_0x24cd42(0x2c4)](this[_0x24cd42(0x12d)][_0x24cd42(0x1d1)](_0x33120c,_0x2c5b73,_0x16f22f,_0x313b38));});},_0xcf3aec=()=>{const _0x389233=_0x486c,_0x1bf341=this[_0x389233(0x2cd)][_0x389233(0xeb)](_0xc67125[_0x389233(0x32f)][_0x389233(0x35c)]);if(_0x1bf341){const _0x398b8f=_0x1bf341['getActiveSheet']();if(!_0x398b8f)return;_0x12361d(_0x1bf341[_0x389233(0x1b9)](),_0x398b8f[_0x389233(0x267)]());}};this[_0x834b51(0x2c9)](this[_0x834b51(0x2c8)][_0x834b51(0x240)](_0x28be60=>{const _0x27104e=_0x834b51;if(_0x28be60['id']===_0x96765f[_0x27104e(0xe0)]['id']){const _0x460f14=_0x28be60[_0x27104e(0x1d2)],_0x53d251=_0x460f14['subUnitId'],_0x331f20=_0x460f14['unitId'];if(!_0x53d251||!_0x331f20)return;_0x12361d(_0x331f20,_0x53d251);}})),this['disposeWithMe'](this[_0x834b51(0x338)][_0x834b51(0xda)]['subscribe'](_0x35478a=>{_0x35478a&&_0xcf3aec();})),this[_0x834b51(0x2c9)](this[_0x834b51(0x338)][_0x834b51(0x2e9)][_0x834b51(0x1a7)](_0x45cbbf=>{const _0x20ea36=_0x834b51,_0x13c4fb=_0x96765f['getSheetCommandTarget'](this[_0x20ea36(0x2cd)]);if(!_0x13c4fb)return;const {unitId:_0x537c1b,subUnitId:_0x5be1d9}=_0x13c4fb,{unitId:_0x505053,subUnitId:_0x32a53a}=_0x45cbbf;_0x537c1b!==_0x505053||_0x5be1d9!==_0x32a53a||_0x12361d(_0x537c1b,_0x5be1d9);})),_0xcf3aec();}[_0x40f901(0x114)](_0x570563,_0x4462e8,_0x594437){const _0x39b566=_0x40f901;switch(_0x570563['id']){case _0x96765f[_0x39b566(0x2e8)]['id']:return this[_0x39b566(0x377)](_0x570563[_0x39b566(0x1d2)],_0x4462e8,_0x594437);}return{'redos':[],'undos':[]};}[_0x40f901(0x377)](_0xa56cd1,_0xbc1aac,_0x128d77){const _0x594e76=_0x40f901,{fromRange:_0x3193e9,toRange:_0x2c032a}=_0xa56cd1,_0x2122ec=[],_0x1da4ff=[],_0x4f685e=_0x96765f[_0x594e76(0x105)](this[_0x594e76(0x2cd)]);if(!_0x4f685e)return{'undos':_0x1da4ff,'redos':_0x2122ec};if(_0xbc1aac!==_0x4f685e['unitId']||_0x128d77!==_0x4f685e['subUnitId'])return{'undos':_0x1da4ff,'redos':_0x2122ec};const _0x5a59f0=this[_0x594e76(0x338)]['getSubUnitPivotConfigs'](_0xbc1aac,_0x128d77);if(_0x5a59f0!=null&&_0x5a59f0[_0x594e76(0x315)])for(const [_0x546117,_0x5fd9b4]of _0x5a59f0){const {unitId:_0x1a26b9,subUnitId:_0x5d3a1b,row:_0xc19b5b,col:_0x2f4f35}=_0x5fd9b4['targetCellInfo'];if(_0x1a26b9===_0x4f685e[_0x594e76(0x27a)]&&_0x5d3a1b===_0x4f685e[_0x594e76(0xe4)]){const _0x9ed904=_0xc67125[_0x594e76(0x2a9)](_0xc19b5b,_0x2f4f35);if(_0xc67125[_0x594e76(0x30f)][_0x594e76(0x237)](_0x9ed904,_0x3193e9)){const _0x36a23a=_0xc19b5b-_0x3193e9[_0x594e76(0x2eb)],_0x38ef91=_0x2f4f35-_0x3193e9[_0x594e76(0x123)],_0x38608e={'row':_0x2c032a[_0x594e76(0x2eb)]+_0x36a23a,'col':_0x2c032a[_0x594e76(0x123)]+_0x38ef91};_0x2122ec[_0x594e76(0x177)]({'id':_0x2a4800['id'],'params':{'unitId':_0x1a26b9,'subUnitId':_0x5d3a1b,'pivotTableId':_0x546117,'targetCellPosition':_0x38608e}}),_0x1da4ff[_0x594e76(0x177)]({'id':_0x2a4800['id'],'params':{'unitId':_0x1a26b9,'subUnitId':_0x5d3a1b,'pivotTableId':_0x546117,'targetCellPosition':{'row':_0xc19b5b,'col':_0x2f4f35}}});const _0x2d6aee=_0x38608e['row']-_0xc19b5b,_0x584003=_0x38608e[_0x594e76(0x31e)]-_0x2f4f35,_0x87ff4a=[],_0x2bce4c=this[_0x594e76(0x386)][_0x594e76(0x26f)](_0x1a26b9,_0x5d3a1b,_0x546117),_0x1e38a3=_0x2bce4c==null?void 0x0:_0x2bce4c[_0x594e76(0x36b)];if(_0x1e38a3){Object[_0x594e76(0xe6)](_0x1e38a3)[_0x594e76(0x336)](_0x2e7fdc=>{const _0x58a358=_0x594e76;_0x1e38a3[_0x2e7fdc][_0x58a358(0x336)](_0x480491=>{const _0x343d5b=_0x58a358,_0x590c41={..._0x480491};_0x590c41[_0x343d5b(0x2eb)]=_0x480491[_0x343d5b(0x2eb)]+_0x2d6aee,_0x590c41['endRow']=_0x480491[_0x343d5b(0x1f0)]+_0x2d6aee,_0x590c41['startColumn']=_0x480491[_0x343d5b(0x123)]+_0x584003,_0x590c41[_0x343d5b(0x107)]=_0x480491[_0x343d5b(0x107)]+_0x584003,_0x87ff4a[_0x343d5b(0x177)](_0x590c41);});});const _0x5ce919=this[_0x594e76(0x192)]['generateMutationsByRanges']({'unitId':_0x1a26b9,'subUnitId':_0x5d3a1b,'ranges':_0x87ff4a});_0x2122ec[_0x594e76(0x177)](..._0x5ce919[_0x594e76(0x1a2)]),_0x1da4ff['push'](..._0x5ce919[_0x594e76(0x14e)]);const _0x271f5c=_0x56e4dc(this[_0x594e76(0x15c)],_0x1a26b9,_0x5d3a1b,_0x87ff4a);_0x271f5c[_0x594e76(0x2bd)]&&(_0x2122ec[_0x594e76(0x177)](_0x271f5c[_0x594e76(0xd1)]),_0x1da4ff['push'](_0x271f5c[_0x594e76(0x11d)]));}}}}return{'redos':_0x2122ec,'undos':_0x1da4ff};}};_0xddab31=_0x3bf1fe([_0x3e50f3(0x0,_0xc67125[_0x40f901(0x2b6)](_0xc67125['Injector'])),_0x3e50f3(0x1,_0xc67125[_0x40f901(0x2b6)](_0x96765f[_0x40f901(0x2ad)])),_0x3e50f3(0x2,_0xc67125[_0x40f901(0x268)]),_0x3e50f3(0x3,_0xc67125['IUniverInstanceService']),_0x3e50f3(0x4,_0xc67125['Inject'](_0x3d69f7[_0x40f901(0x1ad)])),_0x3e50f3(0x5,_0xc67125['Inject'](_0x3d69f7[_0x40f901(0x342)])),_0x3e50f3(0x6,_0xc67125[_0x40f901(0x2b6)](_0x96765f[_0x40f901(0x217)]))],_0xddab31);var _0x4fbcb3=Object[_0x40f901(0x175)],_0x35c725=(_0x241bfb,_0x3c3210,_0x2d699a,_0xb9b322)=>{for(var _0x11e82a=_0xb9b322>0x1?void 0x0:_0xb9b322?_0x4fbcb3(_0x3c3210,_0x2d699a):_0x3c3210,_0x42f472=_0x241bfb['length']-0x1,_0x3d13da;_0x42f472>=0x0;_0x42f472--)(_0x3d13da=_0x241bfb[_0x42f472])&&(_0x11e82a=_0x3d13da(_0x11e82a)||_0x11e82a);return _0x11e82a;},_0x186868=(_0x4d63b9,_0x116c30)=>(_0x5d2cc2,_0x5da0f6)=>_0x116c30(_0x5d2cc2,_0x5da0f6,_0x4d63b9);let _0x355b61=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x52420d,_0x424d57){const _0x10506b=_0x40f901;super(),this['_sheetInterceptorService']=_0x52420d,this['_sheetsPivotTableConfigModel']=_0x424d57,this[_0x10506b(0x380)]();}[_0x40f901(0x380)](){const _0x1175d2=_0x40f901;this[_0x1175d2(0x2c9)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x1770bd=>{const _0x5b42a0=_0x1175d2;if(_0x1770bd['id']===_0x96765f['RemoveSheetCommand']['id']){const _0x4e108b=[],_0x314442=[],_0x13c9a0=_0x1770bd[_0x5b42a0(0x1d2)],{unitId:_0x329316,subUnitId:_0x8a5201}=_0x13c9a0;if(!_0x329316||!_0x8a5201)return{'undos':_0x314442,'redos':_0x4e108b};const _0x43e632=this[_0x5b42a0(0x338)][_0x5b42a0(0x16e)](_0x329316,_0x8a5201);if(_0x43e632!=null&&_0x43e632[_0x5b42a0(0x315)])for(const [_0x415e74,_0x41d3fc]of _0x43e632){_0x4e108b[_0x5b42a0(0x177)]({'id':_0x5de69c['id'],'params':{'unitId':_0x329316,'subUnitId':_0x8a5201,'pivotTableId':_0x415e74}});const _0x331d87={...this[_0x5b42a0(0x338)][_0x5b42a0(0x183)](_0x329316,_0x415e74)};_0x314442[_0x5b42a0(0x177)]({'id':_0x19ffd2['id'],'params':{'unitId':_0x329316,'subUnitId':_0x8a5201,'pivotTableId':_0x415e74,'pivotTableConfig':_0x41d3fc,'collectionConfig':_0x331d87}});}return{'redos':_0x4e108b,'undos':_0x314442};}return{'redos':[],'undos':[]};}}));}};_0x355b61=_0x35c725([_0x186868(0x0,_0xc67125[_0x40f901(0x2b6)](_0x96765f[_0x40f901(0x217)])),_0x186868(0x1,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7[_0x40f901(0x1ad)]))],_0x355b61);var _0x4ba67e=Object[_0x40f901(0x175)],_0xded4b0=(_0x3c4922,_0x1e2115,_0x4e43d9,_0x586980)=>{const _0x27c90c=_0x40f901;for(var _0x482ee0=_0x586980>0x1?void 0x0:_0x586980?_0x4ba67e(_0x1e2115,_0x4e43d9):_0x1e2115,_0x2cf260=_0x3c4922[_0x27c90c(0x2a3)]-0x1,_0x307213;_0x2cf260>=0x0;_0x2cf260--)(_0x307213=_0x3c4922[_0x2cf260])&&(_0x482ee0=_0x307213(_0x482ee0)||_0x482ee0);return _0x482ee0;},_0x24e138=(_0x31d126,_0x242b82)=>(_0x18f665,_0x195adb)=>_0x242b82(_0x18f665,_0x195adb,_0x31d126);let _0x476dfc=class extends _0xc67125[_0x40f901(0x34b)]{constructor(_0x2564a4,_0x1d6ca7,_0x95033d,_0x52ce1e,_0x274c2e,_0x10a4f4){const _0x565a1a=_0x40f901;super(),this[_0x565a1a(0x2c8)]=_0x2564a4,this[_0x565a1a(0x35e)]=_0x1d6ca7,this['_sheetsPivotTableAdaptorModel']=_0x95033d,this[_0x565a1a(0x338)]=_0x52ce1e,this[_0x565a1a(0x2cd)]=_0x274c2e,this[_0x565a1a(0x360)]=_0x10a4f4,this[_0x565a1a(0xec)](),this['registerDirtyService']();}[_0x40f901(0xec)](){const _0x3f6727=_0x40f901;this[_0x3f6727(0x2c9)](this[_0x3f6727(0x2c8)][_0x3f6727(0x240)](_0x45fce1=>{const _0x5c0a52=_0x3f6727;if(_0x45fce1['id']!==_0x29abbe['id'])return;const _0x55a627=_0x45fce1[_0x5c0a52(0x1d2)];this[_0x5c0a52(0x35e)]['handleAsyncResponse'](_0x55a627);})),this[_0x3f6727(0x2c9)](this[_0x3f6727(0x2c8)]['onCommandExecuted'](_0x3ab42f=>{const _0x258205=_0x3f6727;if(_0x3ab42f['id']===_0x259d1b['id']){const _0x11ee5f=_0x3ab42f[_0x258205(0x1d2)];if(_0x11ee5f){const {unitId:_0x397d35,subUnitId:_0x517cb0,oldSubUnitId:_0x53c742,pivotTableId:_0x20e323,pivotTableConfig:_0x40a46d,collectionConfig:_0xb3bf26}=_0x11ee5f;this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x397d35,_0x53c742,_0x11ee5f[_0x258205(0x35d)],null),this[_0x258205(0x338)]['updateConfigCache'](_0x397d35,_0x517cb0,_0x20e323,_0x40a46d),this['_sheetsPivotTableConfigModel'][_0x258205(0x1cf)](_0x397d35,_0xb3bf26);}}})),this[_0x3f6727(0x2c9)](this[_0x3f6727(0x2c8)][_0x3f6727(0x240)](_0x4fc1d8=>{const _0x172bd0=_0x3f6727;if(_0x4fc1d8['id']!==_0x2f6556['id'])return;const _0x7def38=_0x96765f[_0x172bd0(0x105)](this['_univerInstanceService']);if(!_0x7def38)return;const {unitId:_0x45269a,subUnitId:_0x2fb699}=_0x7def38,_0x2c6785=_0x4fc1d8['params'];if(_0x2c6785[_0x172bd0(0x34e)]&&Object[_0x172bd0(0xe6)](_0x2c6785[_0x172bd0(0x34e)])['forEach'](_0x128dfb=>{const _0x29e7db=_0x172bd0;var _0x4497cd;(_0x4497cd=_0x2c6785[_0x29e7db(0x34e)])!=null&&_0x4497cd[_0x128dfb]&&this[_0x29e7db(0x338)][_0x29e7db(0x1cf)](_0x128dfb,_0x2c6785[_0x29e7db(0x34e)][_0x128dfb]);}),_0x2c6785[_0x172bd0(0x266)]){const _0x5d4d3f=_0x2c6785['single'],{unitId:_0x1c8e15,subUnitId:_0xb554a9,view:_0x282ed4,pivotTableId:_0x4b8d3d,type:_0x233c60,pivotConfig:_0x1d5ce9}=_0x5d4d3f;if(_0x233c60===_0x3f9618[_0x172bd0(0x335)])this[_0x172bd0(0x386)][_0x172bd0(0x2b4)]({'unitId':_0x1c8e15,'subUnitId':_0xb554a9,'pivotTableId':_0x4b8d3d,'type':_0x233c60}),this[_0x172bd0(0x338)][_0x172bd0(0x20e)](_0x1c8e15,_0xb554a9,_0x4b8d3d,null);else{const _0x3bfeda=new _0x504249[(_0x172bd0(0x1f9))]();_0x3bfeda[_0x172bd0(0x1a5)](_0x282ed4),this['_sheetsPivotTableConfigModel'][_0x172bd0(0x20e)](_0x1c8e15,_0xb554a9,_0x4b8d3d,_0x1d5ce9),this[_0x172bd0(0x386)][_0x172bd0(0x2b4)]({'unitId':_0x1c8e15,'subUnitId':_0xb554a9,'pivotTableId':_0x4b8d3d,'type':_0x233c60,'view':_0x3bfeda}),this[_0x172bd0(0x386)][_0x172bd0(0x39a)]({'unitId':_0x1c8e15,'subUnitId':_0xb554a9,'view':_0x3bfeda,'pivotTableId':_0x4b8d3d,'type':_0x233c60});}}else _0x2c6785[_0x172bd0(0x2c2)]&&(_0x2c6785[_0x172bd0(0x2c2)]['forEach'](_0x1eb446=>{const _0x3ca6d2=_0x172bd0,{unitId:_0x3a5db2,subUnitId:_0x15db80,view:_0x477188,pivotTableId:_0x280673,type:_0x55d378,pivotConfig:_0x5a8291}=_0x1eb446,_0x59adaa=new _0x504249[(_0x3ca6d2(0x1f9))]();_0x59adaa['formJSON'](_0x477188),this[_0x3ca6d2(0x338)]['updateConfigCache'](_0x3a5db2,_0x15db80,_0x280673,_0x5a8291),this[_0x3ca6d2(0x386)][_0x3ca6d2(0x39a)]({'unitId':_0x3a5db2,'subUnitId':_0x15db80,'view':_0x59adaa,'pivotTableId':_0x280673,'type':_0x55d378});}),this[_0x172bd0(0x338)][_0x172bd0(0x2c7)]());this[_0x172bd0(0x386)][_0x172bd0(0x1c5)](_0x45269a,_0x2fb699);}));}[_0x40f901(0x2b5)](){const _0x108ceb=_0x40f901;this[_0x108ceb(0x360)]['register'](_0x3a8be6['id'],{'commandId':_0x3a8be6['id'],'getDirtyData'(_0x5e1dfb){return{'dirtyUnitFeatureMap':_0x5e1dfb['params']};}});}};_0x476dfc=_0xded4b0([_0x24e138(0x0,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x268)])),_0x24e138(0x1,_0xc67125['Inject'](_0x3d69f7['SheetsPivotRPCService'])),_0x24e138(0x2,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7[_0x40f901(0x342)])),_0x24e138(0x3,_0xc67125[_0x40f901(0x2b6)](_0x3d69f7[_0x40f901(0x1ad)])),_0x24e138(0x4,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x354)])),_0x24e138(0x5,_0x19e647[_0x40f901(0x1c6)])],_0x476dfc);var _0x19c301=Object[_0x40f901(0x21b)],_0x5e279d=Object['getOwnPropertyDescriptor'],_0x22da58=(_0x25150b,_0x21539c,_0xbbd35a)=>_0x21539c in _0x25150b?_0x19c301(_0x25150b,_0x21539c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbbd35a}):_0x25150b[_0x21539c]=_0xbbd35a,_0x33ec29=(_0x4fb022,_0x42bde9,_0x4693fb,_0x59f837)=>{for(var _0x25e359=_0x59f837>0x1?void 0x0:_0x59f837?_0x5e279d(_0x42bde9,_0x4693fb):_0x42bde9,_0x168df0=_0x4fb022['length']-0x1,_0x376969;_0x168df0>=0x0;_0x168df0--)(_0x376969=_0x4fb022[_0x168df0])&&(_0x25e359=_0x376969(_0x25e359)||_0x25e359);return _0x25e359;},_0x1ef64c=(_0x5e2015,_0xcfd216)=>(_0x451825,_0x440f58)=>_0xcfd216(_0x451825,_0x440f58,_0x5e2015),_0x144317=(_0xb71187,_0x2c4ef6,_0x10af87)=>_0x22da58(_0xb71187,typeof _0x2c4ef6!='symbol'?_0x2c4ef6+'':_0x2c4ef6,_0x10af87);_0x3d69f7[_0x40f901(0x2d4)]=class extends _0xc67125['Plugin']{constructor(_0x407468=_0x1d2d78,_0x450648,_0x5cdf29,_0x4c5e30,_0x301f48){const _0x487ed1=_0x40f901;super(),this[_0x487ed1(0x1ef)]=_0x407468,this[_0x487ed1(0x15c)]=_0x450648,this['_commandService']=_0x5cdf29,this[_0x487ed1(0x1ba)]=_0x4c5e30,this[_0x487ed1(0x1e1)]=_0x301f48;const {..._0x211174}=_0xc67125[_0x487ed1(0x253)]({},_0x1d2d78,this[_0x487ed1(0x1ef)]);this['_configService']['setConfig'](_0x100ecc,_0x211174),this[_0x487ed1(0x2df)](),this[_0x487ed1(0x345)]();}[_0x40f901(0x345)](){const _0x92e9cf=_0x40f901;var _0x19108c;const _0x69c00=(_0x19108c=this['_config'])==null?void 0x0:_0x19108c['notExecuteFormula'];this[_0x92e9cf(0x1ba)][_0x92e9cf(0x158)](_0x302975,_0x69c00===!0x0);}[_0x40f901(0x2fb)](){const _0xfa9811=_0x40f901;var _0x53eb11;let _0x3b1d39=[];const _0x100bba=(_0x53eb11=this[_0xfa9811(0x1ef)])==null?void 0x0:_0x53eb11[_0xfa9811(0x24e)];_0x100bba===!0x0?_0x3b1d39=[[_0x3d69f7[_0xfa9811(0x210)]],[_0x3d69f7[_0xfa9811(0x19c)]],[_0x476dfc],[_0x3d69f7[_0xfa9811(0x342)]],[_0x3d69f7[_0xfa9811(0x1ad)]],[_0x355b61],[_0x2c8299],[_0xddab31],[_0x2efda3]]:_0x100bba===!0x1?_0x3b1d39=[[_0x3d69f7[_0xfa9811(0x2a1)]],[_0x2a7052]]:_0x100bba===void 0x0&&(_0x3b1d39=[[_0x3d69f7[_0xfa9811(0x2a1)]],[_0x2a7052],[_0x3d69f7['SheetsPivotTableService']],[_0x3d69f7['SheetsPivotRPCService']],[_0x476dfc],[_0x3d69f7[_0xfa9811(0x342)]],[_0x3d69f7[_0xfa9811(0x1ad)]],[_0x355b61],[_0x2c8299],[_0xddab31],[_0x2efda3]]),_0x3b1d39[_0xfa9811(0x336)](_0x2b0fa1=>this['_injector'][_0xfa9811(0x2c4)](_0x2b0fa1)),[_0x2a7052,_0x476dfc,_0x3d69f7[_0xfa9811(0x210)],_0x2c8299,_0x355b61,_0xddab31,_0x2efda3][_0xfa9811(0x336)](_0x549f1e=>{const _0x115e3d=_0xfa9811;this['_injector']['has'](_0x549f1e)&&this[_0x115e3d(0x15c)][_0x115e3d(0x21c)](_0x549f1e);});}[_0x40f901(0x2df)](){const _0x1b2a31=_0x40f901;[_0x2ab1e3,_0x28b4c8,_0xf8b49,_0x4aa7e8,_0x41589b,_0x278a5d,_0x2cb955,_0x1488ce,_0x47457b,_0x5858d5,_0x1d4b65,_0x4968f1,_0x5cf14e,_0x19ffd2,_0x5de69c,_0xbf378a,_0x53bb70,_0x29e8e5,_0x31df64,_0x18f5d2,_0x16f0c6,_0x2f0222,_0x2a4800,_0x2ff733,_0x29abbe,_0x2f6556,_0x1c717d,_0xa77c36,_0x3af9dc,_0xcd6482,_0xaef0b2,_0x53d565,_0x298d40,_0x3a8be6,_0x259d1b,_0x1d6cba,_0x5db47a,_0x40fb55,_0x478e59][_0x1b2a31(0x336)](_0x4d57de=>{const _0x13c36c=_0x1b2a31;var _0x44ab00;(_0x44ab00=this[_0x13c36c(0x1e1)])==null||_0x44ab00[_0x13c36c(0x104)](_0x4d57de),this[_0x13c36c(0x2c8)][_0x13c36c(0xfa)](_0x4d57de);});}},_0x144317(_0x3d69f7[_0x40f901(0x2d4)],_0x40f901(0x215),_0x559123),_0x144317(_0x3d69f7[_0x40f901(0x2d4)],'type',_0xc67125[_0x40f901(0x32f)][_0x40f901(0x35c)]),_0x3d69f7[_0x40f901(0x2d4)]=_0x33ec29([_0xc67125['DependentOn'](_0x11e7af[_0x40f901(0x34c)]),_0x1ef64c(0x1,_0xc67125[_0x40f901(0x2b6)](_0xc67125['Injector'])),_0x1ef64c(0x2,_0xc67125[_0x40f901(0x2b6)](_0xc67125[_0x40f901(0x268)])),_0x1ef64c(0x3,_0xc67125[_0x40f901(0x33a)]),_0x1ef64c(0x4,_0xc67125[_0x40f901(0x2dd)](_0x37d670[_0x40f901(0x2ec)]))],_0x3d69f7['UniverSheetsPivotTablePlugin']),_0x3d69f7[_0x40f901(0x393)]=_0xf8b49,_0x3d69f7[_0x40f901(0x126)]=_0xbf378a,_0x3d69f7['AddPivotTableCommand']=_0x28b4c8,_0x3d69f7[_0x40f901(0x23b)]=_0x19ffd2,_0x3d69f7['AddPivotTableWithConfigCommand']=_0x2ab1e3,_0x3d69f7[_0x40f901(0x285)]=_0x1e964c,_0x3d69f7[_0x40f901(0xf9)]=_0x1295da,_0x3d69f7[_0x40f901(0xca)]=_0x4aa7e8,_0x3d69f7[_0x40f901(0x2e5)]=_0x4968f1,_0x3d69f7[_0x40f901(0x151)]=_0xddaca4,_0x3d69f7['PivotDrillDownCommand']=_0x5cf14e,_0x3d69f7[_0x40f901(0x200)]=_0x3f9618,_0x3d69f7['PivotTableViewDirtyMarkOperation']=_0x3a8be6,_0x3d69f7[_0x40f901(0x1b5)]=_0x2a633b,_0x3d69f7['RemovePivotFieldCommand']=_0x41589b,_0x3d69f7['RemovePivotFieldMutation']=_0x29e8e5,_0x3d69f7[_0x40f901(0x1db)]=_0x5de69c,_0x3d69f7[_0x40f901(0x2ed)]=_0x31df64,_0x3d69f7[_0x40f901(0x16d)]=_0x478e59,_0x3d69f7[_0x40f901(0x1e2)]=_0x100ecc,_0x3d69f7[_0x40f901(0x131)]=_0x559123,_0x3d69f7['SetPivotCollapseCommand']=_0x2cb955,_0x3d69f7[_0x40f901(0x251)]=_0x18f5d2,_0x3d69f7[_0x40f901(0xf5)]=_0xcd6482,_0x3d69f7[_0x40f901(0x364)]=_0x40fb55,_0x3d69f7['SetPivotFilterCommand']=_0x47457b,_0x3d69f7[_0x40f901(0x1ce)]=_0x53bb70,_0x3d69f7[_0x40f901(0x2b0)]=_0x2f0222,_0x3d69f7[_0x40f901(0x1f8)]=_0x2a4800,_0x3d69f7[_0x40f901(0x15f)]=_0x1488ce,_0x3d69f7['SetPivotSortMutation']=_0x16f0c6,_0x3d69f7[_0x40f901(0x186)]=_0x3af9dc,_0x3d69f7[_0x40f901(0x1fb)]=_0x1d6cba,_0x3d69f7['SetPivotValueFilterMutation']=_0x5db47a,_0x3d69f7[_0x40f901(0x1b1)]=_0x1c717d,_0x3d69f7[_0x40f901(0x112)]=_0x5858d5,_0x3d69f7[_0x40f901(0x28f)]=_0x298d40,_0x3d69f7['UpdatePivotTableSourceRangeCommand']=_0x1d4b65,_0x3d69f7['UpdatePivotTableSourceRangeMutation']=_0x53d565,_0x3d69f7[_0x40f901(0xcc)]=_0x278a5d,_0x3d69f7[_0x40f901(0x1a9)]=_0xa77c36,_0x3d69f7[_0x40f901(0x194)]=_0x3a00dc,_0x3d69f7[_0x40f901(0x309)]=_0x143deb,_0x3d69f7[_0x40f901(0x262)]=_0x5385b8,_0x3d69f7[_0x40f901(0x31c)]=_0x56e4dc,_0x3d69f7['getAdjustRangesPosition']=_0x8c20b7,_0x3d69f7[_0x40f901(0x12a)]=_0x3e219f,_0x3d69f7[_0x40f901(0x108)]=_0x39aeb7,_0x3d69f7[_0x40f901(0x38e)]=_0xbd6473,_0x3d69f7[_0x40f901(0x39c)]=_0x5723dd,_0x3d69f7[_0x40f901(0xe2)]=_0x732cb6,_0x3d69f7[_0x40f901(0x1b3)]=_0xe83065,_0x3d69f7['transFromCellValue']=_0x57b48f,_0x3d69f7['unionPivotViewRange']=_0x25ec17,Object[_0x40f901(0x21b)](_0x3d69f7,Symbol[_0x40f901(0x277)],{'value':_0x40f901(0x340)});}));