@univerjs-pro/sheets-pivot 0.10.8 → 0.10.9-experimental.20250925-61b61a0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/const.d.ts +39 -39
- package/lib/types/const/const.d.ts +1 -0
- package/lib/types/const/type.d.ts +1 -0
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/locale/en-US.d.ts +2 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x40def2,_0x41576c){const _0xd3489f=_0x39dd,_0xdb0fa4=_0x40def2();while(!![]){try{const _0x22fb3b=parseInt(_0xd3489f(0x213))/0x1*(parseInt(_0xd3489f(0x38d))/0x2)+parseInt(_0xd3489f(0x298))/0x3+parseInt(_0xd3489f(0x188))/0x4*(parseInt(_0xd3489f(0x448))/0x5)+-parseInt(_0xd3489f(0x1ee))/0x6+parseInt(_0xd3489f(0x416))/0x7*(parseInt(_0xd3489f(0x35e))/0x8)+parseInt(_0xd3489f(0x436))/0x9+parseInt(_0xd3489f(0x24b))/0xa*(-parseInt(_0xd3489f(0x2b3))/0xb);if(_0x22fb3b===_0x41576c)break;else _0xdb0fa4['push'](_0xdb0fa4['shift']());}catch(_0x4c3129){_0xdb0fa4['push'](_0xdb0fa4['shift']());}}}(_0x180f,0x876df),function(_0x31aab9,_0x792977){const _0x2e21c1=_0x39dd;typeof exports==_0x2e21c1(0x36d)&&typeof module<'u'?_0x792977(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define=='function'&&define[_0x2e21c1(0x32f)]?define([_0x2e21c1(0x435),_0x2e21c1(0x1bf),'@univerjs/core',_0x2e21c1(0x3af),_0x2e21c1(0x34b),_0x2e21c1(0x3b6),_0x2e21c1(0x430),_0x2e21c1(0x22f),'@univerjs/rpc','@univerjs/engine-render'],_0x792977):(_0x31aab9=typeof globalThis<'u'?globalThis:_0x31aab9||self,_0x792977(_0x31aab9[_0x2e21c1(0x2b9)]={},_0x31aab9[_0x2e21c1(0x26d)],_0x31aab9[_0x2e21c1(0x1aa)],_0x31aab9[_0x2e21c1(0x1d4)],_0x31aab9['UniverSheets'],_0x31aab9[_0x2e21c1(0x3b6)],_0x31aab9['UniverProLicense'],_0x31aab9[_0x2e21c1(0x458)],_0x31aab9['UniverRpc'],_0x31aab9[_0x2e21c1(0x1c1)]));}(this,function(_0xc5aaf7,_0x62e76f,_0x5136e7,_0x5ecf13,_0x5dda2d,_0x3875b2,_0x3eaab7,_0x38747e,_0x3d1483,_0x4c558f){'use strict';const _0xebbe60=_0x39dd;var _0x404842=Object[_0xebbe60(0x3cd)],_0x1c2cae=(_0x1c5154,_0x90e104,_0x4d0d7a)=>_0x90e104 in _0x1c5154?_0x404842(_0x1c5154,_0x90e104,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d0d7a}):_0x1c5154[_0x90e104]=_0x4d0d7a,_0x59516b=(_0x101b81,_0x493851,_0x329566)=>_0x1c2cae(_0x101b81,typeof _0x493851!='symbol'?_0x493851+'':_0x493851,_0x329566);const _0x4edca6=Number[_0xebbe60(0x195)](0x68c523ee),_0x43e122=0x10,_0xec5216=0x1,_0x28e04e=_0xebbe60(0x42c),_0x2e0cc2=0x1,_0x5aa246='rgb(240,241,243)',_0x5bab30=_0xebbe60(0x22a),_0x8860ed=_0xebbe60(0x35c),_0x4955a3=_0xebbe60(0x393),_0x5de09f=_0xebbe60(0x393),_0x247cfc=_0xebbe60(0x357),_0x326164='#1d32e9',_0x4b2d49=_0xebbe60(0x250),_0xa1e69c=_0xebbe60(0x3a9),_0x3258f0=_0xebbe60(0x1df),_0x55bc51='#FFFFFF',_0x2c0ff1=_0xebbe60(0x2e3),_0x294349=0xe,_0x88c4=0x6;var _0x3ce220=(_0x277f27=>(_0x277f27[_0xebbe60(0x296)]='existing',_0x277f27['New']=_0xebbe60(0x235),_0x277f27))(_0x3ce220||{});const _0x546861={'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':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x4d5679=0x1e,_0xa837d={'b':{'s':0x1,'cl':{'rgb':_0x8860ed}},'l':{'s':0x1,'cl':{'rgb':_0x8860ed}},'r':{'s':0x1,'cl':{'rgb':_0x8860ed}},'t':{'s':0x1,'cl':{'rgb':_0x8860ed}}},_0x2eeec4={'bg':{'rgb':_0x5aa246},'ht':0x2,'vt':0x2,'tb':0x1},_0x3785a9={'bg':{'rgb':_0x5bab30},'ht':0x2,'vt':0x2,'tb':0x1},_0x48a60b={'rowStyle':{'bg':{'rgb':_0x2c0ff1},'bd':_0xa837d,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x3258f0},'bd':null,'cl':{'rgb':_0x55bc51},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0xa837d,'bg':{'rgb':_0xa1e69c},'vt':0x2},'cornerStyle':{'bd':_0xa837d,'bg':{'rgb':_0x247cfc},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0xa837d,'bg':{'rgb':_0x4955a3},'vt':0x2},'leafStyle':{'bd':_0xa837d,'bg':{'rgb':_0x5de09f},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x326164},'cl':{'rgb':_0x4b2d49},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0xa837d,'vt':0x2}};function _0x59a2de(_0x95de2d,_0x461a4a,_0x3d7b5a){const _0x46aed9=_0xebbe60,_0x3d9c85=_0x95de2d[_0x46aed9(0x1ad)](_0x5136e7['LocaleService']),_0x2b947d=_0x3d7b5a[_0x46aed9(0x283)]('_');switch(_0x461a4a){case _0x62e76f['PivotDateGroupFieldDateTypeEnum']['Year']:return _0x3d9c85['t'](_0x46aed9(0x1a9),..._0x2b947d);case _0x62e76f[_0x46aed9(0x252)][_0x46aed9(0x37e)]:return _0x3d9c85['t'](_0x46aed9(0x397),..._0x2b947d);case _0x62e76f[_0x46aed9(0x252)]['Hour']:return _0x3d9c85['t'](_0x46aed9(0x218),..._0x2b947d);case _0x62e76f[_0x46aed9(0x252)]['HourMinute']:return _0x3d9c85['t']('sheets-pivot.cellDateGroupDisplay.hourMinute',..._0x2b947d);case _0x62e76f[_0x46aed9(0x252)][_0x46aed9(0x2f2)]:return _0x3d9c85['t']('sheets-pivot.cellDateGroupDisplay.date',..._0x2b947d);case _0x62e76f['PivotDateGroupFieldDateTypeEnum'][_0x46aed9(0x2f4)]:return _0x3d9c85['t'](_0x46aed9(0x23c),..._0x2b947d);case _0x62e76f['PivotDateGroupFieldDateTypeEnum']['Quarter']:return _0x3d9c85['t'](_0x46aed9(0x408),..._0x2b947d);case _0x62e76f[_0x46aed9(0x252)][_0x46aed9(0x400)]:return _0x3d9c85['t'](_0x46aed9(0x2ce),..._0x2b947d);case _0x62e76f[_0x46aed9(0x252)][_0x46aed9(0x170)]:return _0x3d9c85['t'](_0x46aed9(0x2e5),..._0x2b947d);case _0x62e76f[_0x46aed9(0x252)][_0x46aed9(0x420)]:return _0x3d9c85['t'](_0x46aed9(0x2f5),..._0x2b947d);}return'';}const _0x2e028a=(_0x2e0fb8,_0x2c5f64,_0x551141,_0x288727)=>{const _0xe16e53=_0xebbe60;let _0x1de309;const _0x281bca=_0x2e0fb8[_0xe16e53(0x1ad)](_0x5136e7['IUniverInstanceService'])[_0xe16e53(0x3f1)](_0x5136e7[_0xe16e53(0x26f)][_0xe16e53(0x212)]);if(!_0x281bca)return null;const _0x52558d=_0x281bca[_0xe16e53(0x3a8)]();let _0x10f263;if(_0x551141&&(_0x10f263=_0x52558d[_0xe16e53(0x229)](_0x551141)),_0x2c5f64!=null&&_0x2c5f64['v']||(_0x2c5f64==null?void 0x0:_0x2c5f64['v'])===0x0){_0x1de309||(_0x1de309={});const _0x104d32=_0x1829f6(_0x2c5f64['v']);typeof _0x104d32=='number'?_0x1de309['t']=_0x5136e7[_0xe16e53(0x3bb)][_0xe16e53(0x2fb)]:typeof _0x104d32==_0xe16e53(0x23d)&&(_0x1de309['t']=_0x5136e7['CellValueType']['STRING']),_0x1de309['v']=_0x104d32;}if((_0x2c5f64!=null&&_0x2c5f64['i']||(_0x2c5f64==null?void 0x0:_0x2c5f64['i'])===0x0)&&(_0x1de309||(_0x1de309={}),_0x1de309['fi']=_0x2c5f64['i']),_0x2c5f64!=null&&_0x2c5f64['s']&&(_0x1de309||(_0x1de309={}),_0x1de309[_0xe16e53(0x307)]=_0x2c5f64['s']),_0x551141&&(_0x1de309||(_0x1de309={}),_0x1de309['s']=_0x10f263),_0x288727&&_0x1de309!=null&&_0x1de309['v']&&_0x1de309[_0xe16e53(0x307)]!==_0x62e76f[_0xe16e53(0x3ef)][_0xe16e53(0x2fe)]&&_0x1de309['pbt']!==_0x62e76f[_0xe16e53(0x3ef)][_0xe16e53(0x3c2)]){const _0x11f37d=String(_0x1de309['v']),{dateType:_0x10c218}=_0x288727;_0x1de309['v']=_0x59a2de(_0x2e0fb8,_0x10c218,_0x11f37d),_0x1de309['t']=_0x5136e7[_0xe16e53(0x3bb)][_0xe16e53(0x45d)];}return _0x1de309;},_0x3a0af5=(_0x24bf5f,_0x4f4694,_0x4bde58,_0x3661ba)=>{const _0x38fb78=_0xebbe60;var _0x3fdd24,_0x105280,_0x22b81b,_0x2b61c3,_0x1f184a,_0x4abee5,_0x2ddb5e,_0x535620,_0x17e4dc,_0x31dcd9,_0x5dbab2,_0x90f63f,_0x21f91c,_0x520a6f;const _0x2ddf8=_0x4bde58['targetCellInfo'],{cornerView:_0x5504f9,rowView:_0x58c3f4,colView:_0x4984d9,dataView:_0x590ca0,pageView:_0x5ec2be,formatMap:_0x45ddb5,groupInfo:_0x119f8c}=_0x4f4694,{row:_0x3b04ed,col:_0xf21841}=_0x2ddf8,_0x4dea75=new _0x5136e7['ObjectMatrix'](),_0x3498b8={},_0x57524={},_0x219b63={},_0x2684b0={},_0x416c57={};let _0x3a7232=_0x3b04ed,_0x4197d7=_0xf21841;Object[_0x38fb78(0x287)](_0x5ec2be['data'])[_0x38fb78(0x1a8)](_0x20dfeb=>{const _0x5a805f=_0x38fb78;Object[_0x5a805f(0x287)](_0x5ec2be[_0x5a805f(0x3fa)][Number(_0x20dfeb)])[_0x5a805f(0x1a8)](_0x258a5d=>{const _0x3a7dfc=_0x5a805f,_0x3cbf21={..._0x5ec2be[_0x3a7dfc(0x3fa)][Number(_0x20dfeb)][Number(_0x258a5d)]};_0x4dea75[_0x3a7dfc(0x229)](Number(_0x20dfeb)+_0x3a7232,Number(_0x258a5d)+_0x4197d7,_0x2e028a(_0x24bf5f,_0x3cbf21,_0x48a60b[_0x3a7dfc(0x3f9)]));});});const _0x510a50=Object[_0x38fb78(0x287)](_0x5ec2be['data'])[_0x38fb78(0x20e)];_0x3a7232+=_0x510a50+(_0x510a50?_0x2e0cc2:0x0);const _0x200404=_0x5504f9[_0x38fb78(0x38c)](),_0x95b56a=_0x5504f9['getColCount']();for(let _0x159ed4=0x0;_0x159ed4<_0x200404;_0x159ed4++)for(let _0x3aed73=0x0;_0x3aed73<_0x95b56a;_0x3aed73++){const _0x5bb42a={...(_0x105280=(_0x3fdd24=_0x5504f9[_0x38fb78(0x3fa)])==null?void 0x0:_0x3fdd24[_0x159ed4])==null?void 0x0:_0x105280[_0x3aed73]};_0x5bb42a&&((_0x22b81b=_0x58c3f4[_0x38fb78(0x463)][_0x3aed73])!=null&&_0x22b81b[_0x38fb78(0x178)])&&_0x3aed73===_0x95b56a-0x1&&_0x159ed4===_0x200404-0x1&&(_0x5bb42a['v']=''+_0x3661ba['sheets-pivot.value']),_0x4dea75[_0x38fb78(0x229)](_0x159ed4+_0x3a7232,_0x3aed73+_0x4197d7,_0x2e028a(_0x24bf5f,_0x5bb42a,_0x48a60b[_0x38fb78(0x288)]));}for(let _0x13e3f7=0x0;_0x13e3f7<_0x5504f9[_0x38fb78(0x245)][_0x38fb78(0x20e)];_0x13e3f7++)_0x5504f9[_0x38fb78(0x245)][_0x13e3f7]&&(_0x219b63[''+(_0x13e3f7+_0x4197d7)]=_0x5504f9['info'][_0x13e3f7]);_0x4197d7+=_0x95b56a;const _0x16f1ea=_0x4984d9['headerMap'],_0x553c07=_0x4984d9[_0x38fb78(0x456)]()>=0x0?_0x4984d9[_0x38fb78(0x456)]()+0x1:0x0,_0x6a8570=_0x4984d9['getLastCol']()>=0x0?_0x4984d9[_0x38fb78(0x45c)]()+0x1:0x0;for(let _0x15c9f0=0x0;_0x15c9f0<_0x6a8570;_0x15c9f0++){for(let _0x21cf0b=0x0;_0x21cf0b<_0x553c07;_0x21cf0b++){const _0x19d7ec={...(_0x1f184a=(_0x2b61c3=_0x4984d9[_0x38fb78(0x3fa)])==null?void 0x0:_0x2b61c3[_0x21cf0b])==null?void 0x0:_0x1f184a[_0x15c9f0]},_0x5e314f=(_0x4abee5=_0x16f1ea[_0x21cf0b])==null?void 0x0:_0x4abee5['tableFieldId'],_0x5c0c08=_0x45ddb5[_0x5e314f],_0xe095f4=_0x119f8c[_0x5e314f];_0x19d7ec&&(_0x19d7ec['v']=_0x48fce5(_0x19d7ec,_0x21cf0b===0x0&&((_0x2ddb5e=_0x4984d9[_0x38fb78(0x2ba)](_0x15c9f0+0x1))==null?void 0x0:_0x2ddb5e['isValue']),_0x5c0c08,_0x3661ba));let _0x2236bd;_0x5c0c08?_0x2236bd={..._0x48a60b[_0x38fb78(0x2bb)],'n':{'pattern':_0x5c0c08}}:_0x2236bd={..._0x48a60b[_0x38fb78(0x2bb)]},_0x4dea75[_0x38fb78(0x229)](_0x21cf0b+_0x3a7232,_0x15c9f0+_0x4197d7,_0x2e028a(_0x24bf5f,_0x19d7ec,_0x2236bd,_0xe095f4));}_0x4984d9['info'][_0x15c9f0]&&(_0x57524[''+(_0x15c9f0+_0x4197d7)]=_0x4984d9['info'][_0x15c9f0]),_0x4984d9[_0x38fb78(0x463)][_0x15c9f0+0x1]&&(_0x416c57[''+(_0x15c9f0+_0x3a7232+0x1)]=_0x4984d9[_0x38fb78(0x463)][_0x15c9f0+0x1]);}_0x3a7232+=_0x200404;const _0x2a46f6=_0x58c3f4[_0x38fb78(0x463)],_0x3a5079=_0x58c3f4[_0x38fb78(0x456)]()>=0x0?_0x58c3f4[_0x38fb78(0x456)]()+0x1:0x0,_0x5cac41=_0x58c3f4[_0x38fb78(0x45c)]()>=0x0?_0x58c3f4[_0x38fb78(0x45c)]()+0x1:0x0;for(let _0x1650dd=0x0;_0x1650dd<_0x3a5079;_0x1650dd++){for(let _0x73a3e8=0x0;_0x73a3e8<_0x5cac41;_0x73a3e8++){const _0x58e65f={...(_0x17e4dc=(_0x535620=_0x58c3f4[_0x38fb78(0x3fa)])==null?void 0x0:_0x535620[_0x1650dd])==null?void 0x0:_0x17e4dc[_0x73a3e8]},_0x1d73fb=(_0x31dcd9=_0x2a46f6[_0x73a3e8])==null?void 0x0:_0x31dcd9[_0x38fb78(0x16a)],_0x4dd1cc=_0x45ddb5[_0x1d73fb],_0x4bd37f=_0x119f8c[_0x1d73fb];_0x58e65f&&(_0x58e65f['v']=_0x48fce5(_0x58e65f,!0x1,_0x4dd1cc,_0x3661ba));let _0x217de9;_0x58c3f4[_0x38fb78(0x245)][_0x1650dd][_0x38fb78(0x232)]===_0x58c3f4[_0x38fb78(0x395)]()?_0x217de9=_0x48a60b['leafStyle']:_0x58c3f4[_0x38fb78(0x245)][_0x1650dd][_0x38fb78(0x175)]?_0x217de9=_0x58c3f4[_0x38fb78(0x245)][_0x1650dd][_0x38fb78(0x232)]===0x0?_0x48a60b['grandTotal']:_0x48a60b[_0x38fb78(0x2d8)]:_0x217de9=_0x48a60b['rowStyle'],_0x4dd1cc&&(_0x217de9={..._0x217de9,'n':{'pattern':_0x4dd1cc}}),_0x4dea75[_0x38fb78(0x229)](_0x1650dd+_0x3a7232,_0x73a3e8+_0xf21841,_0x2e028a(_0x24bf5f,_0x58e65f,_0x217de9,_0x4bd37f));}_0x58c3f4[_0x38fb78(0x245)][_0x1650dd]&&(_0x3498b8[''+(_0x1650dd+_0x3a7232)]=_0x58c3f4[_0x38fb78(0x245)][_0x1650dd]),_0x58c3f4[_0x38fb78(0x463)][_0x1650dd]&&(_0x2684b0[''+(_0x1650dd+_0xf21841)]=_0x58c3f4['headerMap'][_0x1650dd]);}const _0x27d875=_0x590ca0[_0x38fb78(0x38c)](),_0x44ddf3=_0x590ca0['getColCount']();for(let _0x42e2d1=0x0;_0x42e2d1<_0x27d875;_0x42e2d1++)for(let _0x461b1d=0x0;_0x461b1d<_0x44ddf3;_0x461b1d++){const _0x2f9a9f={...(_0x90f63f=(_0x5dbab2=_0x590ca0[_0x38fb78(0x3fa)])==null?void 0x0:_0x5dbab2[_0x42e2d1])==null?void 0x0:_0x90f63f[_0x461b1d]};let _0x191374;_0x58c3f4[_0x38fb78(0x245)][_0x42e2d1]['isBottomTotal']?_0x191374=_0x58c3f4['info'][_0x42e2d1]['level']===0x0?_0x48a60b[_0x38fb78(0x3ed)]:_0x48a60b[_0x38fb78(0x2d8)]:_0x191374=_0x48a60b[_0x38fb78(0x419)];const _0x5f517f=_0x58c3f4[_0x38fb78(0x245)][_0x42e2d1][_0x38fb78(0x177)],_0x24d747=_0x4984d9[_0x38fb78(0x245)][_0x461b1d]['valueIndex'],_0x477b62=Math[_0x38fb78(0x2da)](_0x5f517f,_0x24d747),_0x8eb60e=_0x4bde58['fieldsConfig'][_0x38fb78(0x220)][_0x38fb78(0x415)]();let _0x460d4a='';_0x477b62<0x0?_0x460d4a=(_0x21f91c=_0x8eb60e[0x0])!=null?_0x21f91c:'':_0x460d4a=(_0x520a6f=_0x8eb60e[_0x477b62])!=null?_0x520a6f:'';const _0x28f6ed=_0x45ddb5[_0x460d4a];_0x28f6ed&&(_0x191374={..._0x191374,'n':{'pattern':_0x28f6ed}}),_0x4dea75[_0x38fb78(0x229)](_0x42e2d1+_0x3a7232,_0x461b1d+_0x4197d7,_0x2e028a(_0x24bf5f,_0x2f9a9f,_0x191374));}return{'valueMatrix':_0x4dea75,'rowInfo':_0x3498b8,'colInfo':_0x57524,'cornerInfo':_0x219b63,'rowHeaderMap':_0x2684b0,'colHeaderMap':_0x416c57};};function _0x48fce5(_0xd543b2,_0xe15a98,_0x25f783,_0x5539a6){const _0x434cc4=_0xebbe60;let _0x4cb5e4=_0xd543b2['v'];_0xe15a98&&(_0x4cb5e4=''+_0x5539a6[_0x434cc4(0x24a)]);const _0x59eba8=_0xd543b2['t']&&(_0xd543b2['t']&_0x62e76f['PivotViewCellValueTypeEnum'][_0x434cc4(0x2b6)])>0x0;if(_0x59eba8&&(_0x4cb5e4=''+_0x5539a6[_0x434cc4(0x238)]),_0xd543b2['s']===_0x62e76f['PivotCellStyleTypeEnum'][_0x434cc4(0x3c2)]){let _0xd3a733=_0x4cb5e4,_0x42dc55='';_0x62e76f[_0x434cc4(0x23e)](_0x4cb5e4)&&(_0xd3a733=_0x4cb5e4[_0x434cc4(0x36e)],_0x42dc55=_0x4cb5e4[_0x434cc4(0x399)]);const _0x82b87e=_0x25f783&&!_0x59eba8?_0x5136e7[_0x434cc4(0x2c2)][_0x434cc4(0x39f)](_0x25f783,Number(_0xd3a733)):_0xd3a733;_0x42dc55?_0x4cb5e4=_0x82b87e+'\x20'+_0x42dc55:_0x4cb5e4=_0x82b87e+'\x20'+_0x5539a6['sheets-pivot.subTotal'];}else _0xd543b2['s']===_0x62e76f[_0x434cc4(0x3ef)][_0x434cc4(0x2fe)]&&(_0x4cb5e4=_0x4cb5e4+'\x20'+_0x5539a6[_0x434cc4(0x187)]);return _0x4cb5e4;}function _0x1829f6(_0x592977){const _0x511070=_0xebbe60;if(_0x62e76f['isErrorValue'](_0x592977)){const {errorType:_0x4cde67}=_0x592977;switch(_0x4cde67){case _0x62e76f[_0x511070(0x211)][_0x511070(0x21c)]:return _0x5ecf13[_0x511070(0x2ff)]['DIV_BY_ZERO'];case _0x62e76f[_0x511070(0x211)][_0x511070(0x244)]:return _0x5ecf13[_0x511070(0x2ff)][_0x511070(0x2d6)];case _0x62e76f['PivotErrorTypeEnum'][_0x511070(0x1e9)]:return _0x5ecf13[_0x511070(0x2ff)][_0x511070(0x376)];case _0x62e76f['PivotErrorTypeEnum'][_0x511070(0x471)]:return _0x5ecf13[_0x511070(0x2ff)][_0x511070(0x376)];case _0x62e76f[_0x511070(0x211)]['BadReference']:return _0x5ecf13['ErrorType'][_0x511070(0x2d0)];}}return _0x592977;}function _0x5d5414(_0x48f20b,_0x595684,_0x2eedc2=!0x1,_0x51e34f=!0x1){const _0xa4a621=_0xebbe60,{data:_0x48f31e}=_0x595684,_0x25769e=_0x595684[_0xa4a621(0x38c)](),_0x210862=_0x595684['getColCount']();if(_0x25769e<=0x0||_0x210862<=0x0)return[];const _0x490b6f=_0x595684[_0xa4a621(0x45c)](),_0x299455=_0x595684[_0xa4a621(0x456)](),_0x21b344=_0x51e34f?_0x299455>=0x0?_0x299455+0x1:0x0:_0x25769e,_0x2c0011=_0x51e34f?_0x490b6f>=0x0?_0x490b6f+0x1:0x0:_0x210862,{row:_0x245edf,col:_0x2324df}=_0x48f20b,_0x2b7d9a=_0x245edf,_0x7449af=_0x2324df;if(_0x2eedc2){const _0x198ab4=[];for(const [_0x18cc08,_0x4f815b]of Object[_0xa4a621(0x179)](_0x48f31e))for(const [_0xf95d2b,_0x5e31ba]of Object[_0xa4a621(0x179)](_0x4f815b))_0x198ab4[_0xa4a621(0x304)](_0x5136e7[_0xa4a621(0x3e3)](_0x2b7d9a+Number(_0x18cc08),_0x7449af+Number(_0xf95d2b)));return _0x198ab4;}else{const _0x3bef41=_0x51e34f?_0x21b344>0x0?0x1:0x0:0x1,_0x536c44=_0x51e34f?_0x2c0011>0x0?0x1:0x0:0x1,_0x587be6=_0x245edf+_0x21b344-_0x3bef41,_0x47a222=_0x2324df+_0x2c0011-_0x536c44;return[{'startRow':_0x2b7d9a,'startColumn':_0x7449af,'endRow':_0x587be6,'endColumn':_0x47a222}];}}const _0x500647=_0xebbe60(0x25d),_0x38eedf='SHEET_PIVOT_EXCLUSIVE_ID';var _0x278e97=(_0x2040e7=>(_0x2040e7[_0xebbe60(0x186)]=_0xebbe60(0x375),_0x2040e7[_0xebbe60(0x3b8)]=_0xebbe60(0x431),_0x2040e7['AddPivotField']=_0xebbe60(0x3c6),_0x2040e7[_0xebbe60(0x331)]=_0xebbe60(0x331),_0x2040e7[_0xebbe60(0x273)]='addPivotTable',_0x2040e7[_0xebbe60(0x1c3)]=_0xebbe60(0x34f),_0x2040e7['RemovePivotField']=_0xebbe60(0x264),_0x2040e7[_0xebbe60(0x261)]=_0xebbe60(0x19a),_0x2040e7[_0xebbe60(0x344)]='setPivotFilter',_0x2040e7[_0xebbe60(0x457)]=_0xebbe60(0x20a),_0x2040e7[_0xebbe60(0x40f)]=_0xebbe60(0x339),_0x2040e7['UpdatePivotSource']=_0xebbe60(0x1ea),_0x2040e7[_0xebbe60(0x428)]='updateValuePosition',_0x2040e7['DrillDown']=_0xebbe60(0x260),_0x2040e7[_0xebbe60(0x1c9)]=_0xebbe60(0x317),_0x2040e7[_0xebbe60(0x38b)]=_0xebbe60(0x423),_0x2040e7[_0xebbe60(0x2cb)]=_0xebbe60(0x3e0),_0x2040e7))(_0x278e97||{});const _0x233c38={'sheets-pivot.blankValue':'(Blank)','sheets-pivot.columnName':_0xebbe60(0x203),'sheets-pivot.subTotalText':_0xebbe60(0x3b3),'sheets-pivot.grandTotalText':'Grand\x20Total','sheets-pivot.valueText':_0xebbe60(0x1c2),'sheets-pivot.averageName':_0xebbe60(0x270),'sheets-pivot.countName':_0xebbe60(0x386),'sheets-pivot.countNumsName':_0xebbe60(0x386),'sheets-pivot.maxName':_0xebbe60(0x348),'sheets-pivot.minName':_0xebbe60(0x40e),'sheets-pivot.productName':_0xebbe60(0x197),'sheets-pivot.stdDevName':_0xebbe60(0x41c),'sheets-pivot.stdDevpName':_0xebbe60(0x462),'sheets-pivot.sumName':'Sum\x20of\x20','sheets-pivot.varName':_0xebbe60(0x1d2),'sheets-pivot.varpName':_0xebbe60(0x45f),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0xebbe60(0x17c),'sheets-pivot.value':_0xebbe60(0x399),'sheets-pivot.blank':_0xebbe60(0x2b6),'sheets-pivot.emptyPivot.filter':_0xebbe60(0x186),'sheets-pivot.emptyPivot.row':_0xebbe60(0x1e1),'sheets-pivot.emptyPivot.column':_0xebbe60(0x30f),'sheets-pivot.emptyPivot.values':_0xebbe60(0x3f3)},_0xdb55cb={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0xde89f0=_0x5136e7[_0xebbe60(0x424)]('pivotPerformCheck'),_0x20b7fa=_0x5136e7[_0xebbe60(0x28d)](_0xebbe60(0x402));var _0x9b41c5=(_0x4cbc02=>(_0x4cbc02[_0xebbe60(0x42e)]=_0xebbe60(0x42e),_0x4cbc02[_0xebbe60(0x1af)]=_0xebbe60(0x1af),_0x4cbc02[_0xebbe60(0x185)]=_0xebbe60(0x185),_0x4cbc02))(_0x9b41c5||{}),_0x41401b=(_0x8e8c4c=>(_0x8e8c4c['Add']=_0xebbe60(0x42e),_0x8e8c4c[_0xebbe60(0x205)]=_0xebbe60(0x3db),_0x8e8c4c[_0xebbe60(0x2c4)]='delete',_0x8e8c4c))(_0x41401b||{});const _0x58cf93={'type':_0x5136e7['CommandType']['MUTATION'],'id':'sheet.mutation.get-pivot-data-local','handler':()=>!0x0},_0x5c6150={'type':_0x5136e7['CommandType'][_0xebbe60(0x2a8)],'id':_0xebbe60(0x1c4),'handler':()=>!0x0},_0x512654={'type':_0x5136e7['CommandType'][_0xebbe60(0x2a8)],'id':_0xebbe60(0x18a),'handler':()=>!0x0},_0x403c57={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':'sheet.mutation.send-pivot-config-local','handler':()=>!0x0},_0x553ec5={'type':_0x5136e7[_0xebbe60(0x272)]['MUTATION'],'id':_0xebbe60(0x371),'handler':()=>!0x0};var _0x28a29b=Object[_0xebbe60(0x42b)],_0x7b8d80=(_0x356eae,_0x2a7eca,_0x2b0cbf,_0x34d8da)=>{const _0x20ce79=_0xebbe60;for(var _0x20763e=_0x34d8da>0x1?void 0x0:_0x34d8da?_0x28a29b(_0x2a7eca,_0x2b0cbf):_0x2a7eca,_0x263ccc=_0x356eae[_0x20ce79(0x20e)]-0x1,_0x2e2c59;_0x263ccc>=0x0;_0x263ccc--)(_0x2e2c59=_0x356eae[_0x263ccc])&&(_0x20763e=_0x2e2c59(_0x20763e)||_0x20763e);return _0x20763e;},_0x5e34dd=(_0x58abb5,_0x2bc416)=>(_0x3f352a,_0x39c5df)=>_0x2bc416(_0x3f352a,_0x39c5df,_0x58abb5);_0xc5aaf7[_0xebbe60(0x1ba)]=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x3c39c0){const _0x1bb18=_0xebbe60;super(),_0x59516b(this,_0x1bb18(0x274),new Map()),this[_0x1bb18(0x234)]=_0x3c39c0;}['handleAsyncResponse'](_0x5dd2b5){const _0x155b3f=_0xebbe60,{version:_0x189da7}=_0x5dd2b5,_0x11a2c3=this['_requestResolvers'][_0x155b3f(0x1ad)](_0x189da7);_0x11a2c3&&(_0x11a2c3(_0x5dd2b5),this[_0x155b3f(0x274)][_0x155b3f(0x1af)](_0x189da7));}['getPivotDisplayConfig'](_0x3b1c84){return new Promise((_0x473a97,_0x5c4f51)=>{const _0x132a16=_0x39dd,_0x583bd3=this[_0x132a16(0x3f4)]();this[_0x132a16(0x274)][_0x132a16(0x3db)](_0x583bd3,_0x473a97),this[_0x132a16(0x234)]['executeCommand'](_0x58cf93['id'],{'version':_0x583bd3,..._0x3b1c84},{'onlyLocal':!0x0});});}[_0xebbe60(0x3f4)](){const _0x1330ea=_0xebbe60;return Math[_0x1330ea(0x1e7)]()[_0x1330ea(0x35f)](0x24)['substring'](0x2,0x10);}},_0xc5aaf7['SheetsPivotRPCService']=_0x7b8d80([_0x5e34dd(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x43b)]))],_0xc5aaf7['SheetsPivotRPCService']);const _0x42e1b2={0x0:'p',0x1:'e',0x2:'K',0x3:'3',0x4:'2',0x5:'s',0x6:'P',0x7:'o',0x8:'C',0x9:'L','G':'0','A':'1','Y':'4','l':'5','Q':'6','a':'7','s':'8','o':'9','L':'a','S':'b','m':'c','P':'d','g':'f','M':'g','u':'h','n':'i','y':'j','K':'k','f':'l','X':'m','h':'n','Z':'q','j':'r','q':'t','z':'u','H':'v','F':'w','B':'x','W':'y','I':'z','T':'A','D':'B','x':'D','c':'E','v':'F','t':'G','w':'H','C':'I','k':'J','r':'M','b':'N','e':'O','N':'Q','J':'R','E':'S','p':'T','U':'U','O':'V','V':'W','d':'X','R':'Y','i':'Z'},_0x3575e0=_0xebbe60(0x1ab),_0x25af11=_0x5ee98f=>{const _0x48a408=_0xebbe60;var _0x3dbd0e;return((_0x3dbd0e=_0x5ee98f['body'])==null?void 0x0:_0x3dbd0e[_0x48a408(0x1bc)][_0x48a408(0x40a)](/\r\n$/,''))||'';};class _0x1f6a0a extends _0x62e76f['DataFieldManager']{constructor(_0x2f5569,_0x43192a){const _0x518226=_0xebbe60;super(),_0x59516b(this,_0x518226(0x293),{}),_0x59516b(this,'_univerInstanceService'),_0x59516b(this,_0x518226(0x3ea)),(this[_0x518226(0x265)]=_0x43192a,this[_0x518226(0x3ea)]=_0x2f5569);}[_0xebbe60(0x1b2)](){const _0x5188ca=_0xebbe60;for(const _0xadfb2e in this['dataFields']){const _0x1d2332=this['dataFields'][_0xadfb2e],_0x16e750=_0x1d2332[_0x5188ca(0x2c7)]();this['rangeKeyMap'][_0x16e750]=_0x1d2332[_0x5188ca(0x2e2)]();}}[_0xebbe60(0x214)](){const _0x3520d6=_0xebbe60,_0x43d344=this['_host'];return _0x553a9e[_0x3520d6(0x361)](_0x43d344);}[_0xebbe60(0x19d)](_0x15af53){const _0x558fd6=_0xebbe60,_0x12b17f=this[_0x558fd6(0x303)][_0x15af53][_0x558fd6(0x363)];delete this[_0x558fd6(0x303)][_0x15af53],delete this[_0x558fd6(0x293)][_0x12b17f];}[_0xebbe60(0x263)](_0x26556e){const _0xb9c727=_0xebbe60;this[_0xb9c727(0x303)][_0x26556e[_0xb9c727(0x2e2)]()]=_0x26556e;}[_0xebbe60(0x227)](_0x357ac7){const _0x585fb9=_0xebbe60;var _0x1b3bd3,_0x5cf17e;const _0x1cfd74=this[_0x585fb9(0x3ea)][_0x585fb9(0x2a9)](_0x357ac7);if(_0x1cfd74){const {unitId:_0x566dfe,subUnitId:_0x4f3608}=_0x1cfd74,_0x35910e=(_0x1b3bd3=this['_host'][_0x585fb9(0x358)](_0x566dfe,_0x4f3608,_0x357ac7))==null?void 0x0:_0x1b3bd3[_0x585fb9(0x434)];this[_0x585fb9(0x3ea)][_0x585fb9(0x366)]({'token':_0x357ac7,'type':_0x9b41c5[_0x585fb9(0x1af)],'dataRangeInfo':_0x35910e});}(_0x5cf17e=this[_0x585fb9(0x3b0)](_0x357ac7))==null||_0x5cf17e[_0x585fb9(0x308)](),delete this[_0x585fb9(0x321)][_0x357ac7];}[_0xebbe60(0x2c7)](_0x17b30a,_0x55eb15){const _0x567319=_0xebbe60,{sheetName:_0x57b32b,unitId:_0x125b3f,range:_0x3fadcd}=_0x17b30a,{startRow:_0x28b5a9,endRow:_0x16a16c}=_0x3fadcd;return _0x5ecf13[_0x567319(0x437)](_0x125b3f,_0x57b32b,{'startRow':_0x28b5a9,'endRow':_0x16a16c,'startColumn':_0x55eb15,'endColumn':_0x55eb15});}[_0xebbe60(0x3d1)](_0x5c3ddf){const _0x346c28=_0xebbe60;return this[_0x346c28(0x303)][this[_0x346c28(0x293)][_0x5c3ddf]];}[_0xebbe60(0x341)](_0x356cc9,_0x4aeb98){const _0x1a75e8=_0xebbe60;this[_0x1a75e8(0x293)][_0x356cc9]=_0x4aeb98;}['updateRangeKeyMap'](_0x56df3a,_0x4014f5){const _0x344b21=_0xebbe60;this[_0x344b21(0x293)][_0x4014f5]=this[_0x344b21(0x293)][_0x56df3a],delete this[_0x344b21(0x293)][_0x56df3a];}[_0xebbe60(0x3ab)](_0x31b04a,_0x2b477e,_0x26dda6,_0xe0ef83){const _0x45d217=_0xebbe60,_0x28df8c=new _0x62e76f[(_0x45d217(0x442))](this);_0x28df8c[_0x45d217(0x3c5)](_0x2b477e);const _0x16d4b1=[];let _0x44ccb9=0x0;for(const _0x38b8c8 of _0x28df8c['fieldIds']){const _0x55a1e2=this[_0x45d217(0x2c7)](_0x26dda6,_0x44ccb9),_0x25e8c6=this[_0x45d217(0x303)][_0x38b8c8];_0x25e8c6&&(_0x25e8c6[_0x45d217(0x363)]=_0x55a1e2,this['setRangeKeyMap'](_0x55a1e2,_0x38b8c8),_0x16d4b1[_0x45d217(0x304)]({'index':_0x44ccb9,'dataField':_0x25e8c6})),_0x44ccb9++;}return this['addCollection'](_0x31b04a,_0x28df8c,_0x26dda6,_0xe0ef83),{'collection':_0x28df8c,'updateDataFieldList':_0x16d4b1};}[_0xebbe60(0x39c)](_0x1b0bf5,_0x38f3c1){const _0xdc0348=_0xebbe60;return _0x1b0bf5['rangeType']===_0x5136e7[_0xdc0348(0x2c8)]['COLUMN']?{'startRow':0x0,'startColumn':_0x1b0bf5[_0xdc0348(0x2bf)],'endRow':_0x38f3c1[_0xdc0348(0x38c)]()-0x1,'endColumn':_0x1b0bf5[_0xdc0348(0x374)]}:{'startRow':_0x1b0bf5['startRow'],'startColumn':_0x1b0bf5[_0xdc0348(0x2bf)],'endRow':_0x1b0bf5['endRow'],'endColumn':_0x1b0bf5[_0xdc0348(0x374)]};}[_0xebbe60(0x16d)](_0xc4da0e){const _0x21a706=_0xebbe60,{sheetName:_0x2c1b2c,range:_0xf8c30}=_0xc4da0e,_0x438650=this[_0x21a706(0x265)][_0x21a706(0x3f1)](_0x5136e7[_0x21a706(0x26f)][_0x21a706(0x212)]),_0x319e29=_0x438650[_0x21a706(0x2a4)](_0x2c1b2c),_0x267445=_0x319e29['getCellMatrix'](),{startColumn:_0x3b95fc,startRow:_0x3f1083,endColumn:_0x5e417f}=this[_0x21a706(0x39c)](_0xf8c30,_0x319e29),_0x3f9cd9=_0x438650[_0x21a706(0x3a8)](),_0x3b0ce4=new _0x62e76f['FieldsCollection'](this);_0x3b0ce4['setRange'](_0xc4da0e);const _0x57f492=[],_0x23d9c7={};for(let _0x361c75=_0x3b95fc;_0x361c75<=_0x5e417f;_0x361c75++){const _0x3b85d1=_0x267445[_0x21a706(0x247)](_0x3f1083,_0x361c75),_0x4e4e18=this['getRangeKey'](_0xc4da0e,_0x361c75),_0xc71aad=this[_0x21a706(0x3d1)](_0x4e4e18);if(_0xc71aad)_0x3b0ce4[_0x21a706(0x1ae)](_0xc71aad[_0x21a706(0x2e2)](),_0xc71aad[_0x21a706(0x468)]());else{const _0x29676c=this['createDataFieldId']();let _0xc0e622=this[_0x21a706(0x373)](_0x3b85d1,_0x3f9cd9,_0x23d9c7);_0x62e76f[_0x21a706(0x277)](_0xc0e622)&&(_0xc0e622=_0x5136e7[_0x21a706(0x2c2)][_0x21a706(0x39f)](_0xc0e622['f'],Number(_0xc0e622['v'])));const _0x1a26b8=this[_0x21a706(0x394)](_0xc0e622,_0x361c75),_0x388b20=new _0x62e76f['DataField'](_0x29676c,_0x1a26b8,_0x62e76f[_0x21a706(0x251)](0x3));_0x388b20['rangeKey']=_0x4e4e18,this[_0x21a706(0x303)][_0x29676c]=_0x388b20,_0x3b0ce4[_0x21a706(0x1ae)](_0x29676c,_0x1a26b8),_0x57f492[_0x21a706(0x304)]({'index':_0x361c75,'dataField':_0x388b20});}}return{'updateDataFieldList':_0x57f492,'collection':_0x3b0ce4};}[_0xebbe60(0x3be)](_0x5833b7){const _0x2025b8=_0xebbe60;return this[_0x2025b8(0x3ea)][_0x2025b8(0x378)]()[_0x2025b8(0x19e)]+'\x20'+_0x5136e7[_0x2025b8(0x318)](_0x5833b7);}['uniqueDataFieldName'](_0x78bffc,_0x28c839){const _0x81ad7e=_0xebbe60;return _0x78bffc==null||_0x78bffc===''?this[_0x81ad7e(0x3be)](_0x28c839):String(_0x78bffc);}[_0xebbe60(0x3b0)](_0x49c230){const _0x99a272=_0xebbe60;return this[_0x99a272(0x321)][_0x49c230];}[_0xebbe60(0x387)](_0x5a0d66,_0x1ab186,_0x5110d8,_0x437042){const _0x3e5d6b=_0xebbe60;this[_0x3e5d6b(0x321)][_0x5a0d66]=_0x1ab186,_0x1ab186[_0x3e5d6b(0x21e)](_0x5110d8),this[_0x3e5d6b(0x3ea)][_0x3e5d6b(0x366)]({'token':_0x5a0d66,'type':_0x9b41c5[_0x3e5d6b(0x42e)],'dataRangeInfo':_0x5110d8,'targetCellInfo':_0x437042});}['handleMoveRange'](_0x48a65d,_0x2c1ef3){const _0x543092=_0xebbe60,_0x2b04ee=this[_0x543092(0x3b0)](_0x48a65d),_0x54a5b3=_0x2b04ee[_0x543092(0x22b)]();let _0x6e9949=0x0;for(const _0x464130 of _0x54a5b3){const _0x369a8a=_0x2b04ee['getFieldById'](_0x464130),_0x36d109=this[_0x543092(0x2c7)](_0x2c1ef3,_0x6e9949);this[_0x543092(0x236)](_0x369a8a['rangeKey'],_0x36d109),_0x6e9949++;}}[_0xebbe60(0x338)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0xebbe60(0x1ca)](_0x4360f4,_0x250858){const _0x254c92=_0xebbe60;if(this[_0x254c92(0x3b0)](_0x4360f4)){const _0x5bb79f=this[_0x254c92(0x1e5)](_0x250858),_0x4f8a8d=[];for(const _0x12b25b of _0x5bb79f)this[_0x254c92(0x293)][_0x12b25b]!==void 0x0&&_0x4f8a8d[_0x254c92(0x304)](this[_0x254c92(0x293)][_0x12b25b]);const _0x188499=this[_0x254c92(0x427)](_0x4360f4),_0x5b92b0=[],_0x186ed3=new Set(_0x4f8a8d);for(const _0x592f89 of _0x188499)_0x186ed3['has'](_0x592f89)||_0x5b92b0[_0x254c92(0x304)](_0x592f89);return _0x5b92b0;}}[_0xebbe60(0x300)](_0x4f6a8f,_0x32b7c4,_0x2bef38,_0x18d263,_0x3c1f0b){const _0x41e0b2=_0xebbe60;return _0x32b7c4&&_0x32b7c4['getValue'](_0x18d263,_0x3c1f0b)?_0x32b7c4[_0x41e0b2(0x247)](_0x18d263,_0x3c1f0b):_0x2bef38&&_0x2bef38[_0x41e0b2(0x247)](_0x18d263,_0x3c1f0b)?_0x2bef38[_0x41e0b2(0x247)](_0x18d263,_0x3c1f0b):_0x4f6a8f[_0x41e0b2(0x247)](_0x18d263,_0x3c1f0b);}['refreshDataField'](_0x4e9b5f,_0x305629,_0x38d2e6,_0x53f706){const _0x478650=_0xebbe60,_0x1dfbce=this['dataFields'][_0x4e9b5f];if(!_0x1dfbce)return;const {subUnitId:_0x3fa527,range:_0x544cde,unitId:_0x245979}=_0x305629,_0x2112e6=this[_0x478650(0x265)][_0x478650(0x24d)](_0x245979);if(!_0x2112e6){console[_0x478650(0x3a2)](_0x478650(0x233));return;}const _0x48f950=_0x2112e6[_0x478650(0x432)](_0x3fa527),_0x54ece3=_0x48f950[_0x478650(0x421)](),{arrayFormulaCellDataMatrix:_0x374c84,unitDataMatrix:_0x4dc179}=_0x53f706||{},{startRow:_0x41bf2f,startColumn:_0x33a04c,endRow:_0x471808}=this[_0x478650(0x39c)](_0x544cde,_0x48f950);_0x1dfbce[_0x478650(0x291)]();const _0x47ef98=_0x2112e6[_0x478650(0x3a8)](),_0xfd5b28={},_0x2088e5=this[_0x478650(0x300)](_0x54ece3,_0x374c84,_0x4dc179,_0x41bf2f,_0x33a04c+_0x38d2e6);let _0x8a2ad=this['adjustSheetCellData'](_0x2088e5,_0x47ef98,_0xfd5b28);_0x62e76f[_0x478650(0x277)](_0x8a2ad)&&(_0x8a2ad=_0x5136e7[_0x478650(0x2c2)][_0x478650(0x39f)](_0x8a2ad['f'],Number(_0x8a2ad['v'])));const _0x356e7a=this[_0x478650(0x394)](_0x8a2ad,_0x33a04c+_0x38d2e6);_0x1dfbce['setName'](_0x356e7a);for(let _0xcc12d6=_0x41bf2f+0x1;_0xcc12d6<=_0x471808;_0xcc12d6++){const _0x2d40b6=this[_0x478650(0x300)](_0x54ece3,_0x374c84,_0x4dc179,_0xcc12d6,_0x33a04c+_0x38d2e6);_0x1dfbce[_0x478650(0x464)](this[_0x478650(0x373)](_0x2d40b6,_0x47ef98,_0xfd5b28),_0xcc12d6-0x1-_0x41bf2f);}}[_0xebbe60(0x29c)](_0x15bc28,_0xb2c8e0,_0x287ac8){const _0x5c8cce=_0xebbe60,{subUnitId:_0x126115,range:_0xd721e3,unitId:_0x3b10a4}=_0x287ac8,_0x24651c=this[_0x5c8cce(0x265)][_0x5c8cce(0x24d)](_0x3b10a4);if(!_0x24651c){console[_0x5c8cce(0x3a2)](_0x5c8cce(0x233));return;}const _0x57796f=_0x24651c[_0x5c8cce(0x432)](_0x126115),_0x57c0dd=_0x57796f[_0x5c8cce(0x421)](),{startRow:_0x189ae5,startColumn:_0x162ced,endRow:_0xd05a54}=this[_0x5c8cce(0x39c)](_0xd721e3,_0x57796f),_0x47aa5f=_0x24651c['getStyles'](),_0x2237c2={};for(const {dataField:_0xe84ccd,index:_0x3c240a}of _0xb2c8e0){_0xe84ccd[_0x5c8cce(0x291)]();const _0x8299df=this[_0x5c8cce(0x300)](_0x57c0dd,void 0x0,void 0x0,_0x189ae5,_0x162ced+_0x3c240a);let _0x311542=this[_0x5c8cce(0x373)](_0x8299df,_0x47aa5f,_0x2237c2);_0x62e76f[_0x5c8cce(0x277)](_0x311542)&&(_0x311542=_0x5136e7[_0x5c8cce(0x2c2)]['format'](_0x311542['f'],Number(_0x311542['v'])));const _0x3573c1=this[_0x5c8cce(0x394)](_0x311542,_0x162ced+_0x3c240a);_0xe84ccd['setName'](_0x3573c1);}_0x15bc28[_0x5c8cce(0x412)]();for(let _0x279c6f=_0x189ae5+0x1;_0x279c6f<=_0xd05a54;_0x279c6f++)for(const {index:_0x1e831d,dataField:_0x26e393}of _0xb2c8e0){const _0x2e51bb=_0x57c0dd[_0x5c8cce(0x247)](_0x279c6f,_0x162ced+_0x1e831d);_0x26e393[_0x5c8cce(0x464)](this['adjustSheetCellData'](_0x2e51bb,_0x47aa5f,_0x2237c2),_0x279c6f-0x1-_0x189ae5);}_0x15bc28[_0x5c8cce(0x25f)](_0xd05a54-_0x189ae5);}[_0xebbe60(0x1e5)](_0x4a54e3){const _0x4ae799=_0xebbe60,{range:_0x529cd6}=_0x4a54e3,{startColumn:_0x39e23a,endColumn:_0x400f2e}=_0x529cd6,_0x45ae35=[];for(let _0x3587e9=_0x39e23a;_0x3587e9<=_0x400f2e;_0x3587e9++)_0x45ae35[_0x4ae799(0x304)](this[_0x4ae799(0x2c7)](_0x4a54e3,_0x3587e9));return _0x45ae35;}[_0xebbe60(0x373)](_0xe9afe8,_0x12bb20,_0x2e9410){const _0x2bc3b7=_0xebbe60;if(_0xe9afe8){const {s:_0x34701f,v:_0x32a2e0,t:_0x7ba929,p:_0x3318bd}=_0xe9afe8;if(_0x3318bd)return _0x25af11(_0x3318bd);const _0xb50f01=_0x12bb20[_0x2bc3b7(0x1ad)](_0x34701f);if(_0xb50f01&&_0x7ba929===_0x5136e7[_0x2bc3b7(0x3bb)][_0x2bc3b7(0x2fb)]&&_0xb50f01['n']){const {pattern:_0x1fdb8d}=_0xb50f01['n'];_0x2e9410[_0x1fdb8d]||(_0x2e9410[_0x1fdb8d]=_0x5136e7['numfmt'][_0x2bc3b7(0x21a)](_0x1fdb8d));const _0x571c13=_0x2e9410[_0x1fdb8d],_0x2d2334=_0x571c13[_0x2bc3b7(0x33e)];if(_0x571c13[_0x2bc3b7(0x1d0)])return String(_0x32a2e0);if(_0x2d2334)return{'v':_0x32a2e0,'f':_0x1fdb8d};}if(_0x7ba929===_0x5136e7[_0x2bc3b7(0x3bb)][_0x2bc3b7(0x2fb)])return Number(_0x32a2e0);if(_0x7ba929===_0x5136e7[_0x2bc3b7(0x3bb)][_0x2bc3b7(0x45d)]||_0x7ba929===_0x5136e7['CellValueType']['FORCE_STRING'])return String(_0x32a2e0);if(_0x7ba929===void 0x0){const _0xab9ab0=Number(_0x32a2e0);if(!Number['isNaN'](_0xab9ab0)&&String(_0xab9ab0)===_0x32a2e0)return _0xab9ab0;}return _0x32a2e0!=null?_0x32a2e0:null;}else return null;}[_0xebbe60(0x354)](_0x7bc7c7){const _0x2ab4a6=_0xebbe60,{sheetName:_0x40253f,range:_0x210cca,unitId:_0x4f03f1}=_0x7bc7c7,_0x3b3668=this['_univerInstanceService'][_0x2ab4a6(0x24d)](_0x4f03f1);if(!_0x3b3668)return console['error'](_0x2ab4a6(0x233)),{'header':[],'data':[]};const _0x3eff0b=_0x3b3668['getSheetBySheetName'](_0x40253f),_0x5422ae=_0x3eff0b[_0x2ab4a6(0x421)](),{startRow:_0x3dfe3b,startColumn:_0x38786d,endRow:_0x42030e,endColumn:_0x399e42}=this[_0x2ab4a6(0x39c)](_0x210cca,_0x3eff0b),_0x5579a1=_0x3b3668['getStyles'](),_0x24d876=[],_0x5b3b7b=[],_0x3fad70={};for(let _0x5bbbe4=_0x3dfe3b;_0x5bbbe4<=_0x42030e;_0x5bbbe4++){const _0x3cb348=[];for(let _0x399f6e=_0x38786d;_0x399f6e<=_0x399e42;_0x399f6e++){const _0x181c0d=_0x5422ae[_0x2ab4a6(0x247)](_0x5bbbe4,_0x399f6e);_0x5bbbe4===_0x3dfe3b?_0x24d876[_0x2ab4a6(0x304)](_0x181c0d==null?null:String(_0x181c0d['v'])):_0x3cb348[_0x2ab4a6(0x304)](this[_0x2ab4a6(0x373)](_0x181c0d,_0x5579a1,_0x3fad70));}_0x5b3b7b['push'](_0x3cb348);}return{'header':_0x24d876,'data':_0x5b3b7b};}[_0xebbe60(0x2f1)](){return super['toJSON']();}['fromJSON'](_0x31ddcf){const _0x5d6ef8=_0xebbe60;super[_0x5d6ef8(0x3c5)](_0x31ddcf),this[_0x5d6ef8(0x1b2)]();}[_0xebbe60(0x308)](){const _0xad7a4b=_0xebbe60;super['dispose'](),this[_0xad7a4b(0x293)]={},this[_0xad7a4b(0x3ea)]=null;}}const _0x3fae29=_0xa1f99d=>{const _0x331f67=_0xebbe60,{targetCellInfo:_0x161e5f}=_0xa1f99d,{matrixCache:_0x3c32c1,rangesCache:_0x3731ef}=_0x59be4f({'filter':_0x331f67(0x186),'row':_0x331f67(0x1e1),'column':'Column','values':_0x331f67(0x3f3)},_0x161e5f),_0x15b72e=new _0x5136e7['ObjectMatrix']();return _0x3c32c1[_0x331f67(0x410)]((_0x4c59cf,_0x4d52fa,_0x1772f9)=>{const _0x1529e5=_0x331f67;_0x15b72e[_0x1529e5(0x229)](_0x4c59cf,_0x4d52fa,_0x1772f9);}),{'matrix':_0x15b72e,'rangesCache':_0x3731ef};},_0x2d4dc2=_0xa35d0b=>{const _0x43d0ac=_0xebbe60;let _0xcc62cb;if(_0xa35d0b!=null&&_0xa35d0b['v']||(_0xa35d0b==null?void 0x0:_0xa35d0b['v'])===0x0){_0xcc62cb||(_0xcc62cb={});const _0x17159d=_0x1829f6(_0xa35d0b['v']);typeof _0x17159d==_0x43d0ac(0x38e)?_0xcc62cb['t']=_0x5136e7[_0x43d0ac(0x3bb)][_0x43d0ac(0x2fb)]:typeof _0x17159d==_0x43d0ac(0x23d)&&(_0xcc62cb['t']=_0x5136e7['CellValueType'][_0x43d0ac(0x45d)]),_0xcc62cb['v']=_0x17159d;}return _0xcc62cb;},_0xae4507=(_0x509257,_0x514e23,_0x5c5d61)=>{const _0x3a9fb3=_0xebbe60;var _0x109fef,_0x59ba30,_0x4887d4,_0x598b54,_0xb32fac,_0x151d38,_0x1cc28a,_0xd328e1,_0x5f01e1,_0x51e182,_0x12e08b,_0x33d6ec;const {cornerView:_0x19ef31,rowView:_0x16d73f,colView:_0x3b2d4e,dataView:_0x2c687f,pageView:_0x34b443,formatMap:_0x16de68}=_0x509257,{row:_0x243e07,col:_0x232492}=_0x514e23,_0x47aae9=new _0x5136e7[(_0x3a9fb3(0x3a3))]();let _0x3b2ad5=_0x243e07,_0x210073=_0x232492;Object[_0x3a9fb3(0x287)](_0x34b443[_0x3a9fb3(0x3fa)])[_0x3a9fb3(0x1a8)](_0x53a7ce=>{const _0x49bfa1=_0x3a9fb3;Object[_0x49bfa1(0x287)](_0x34b443[_0x49bfa1(0x3fa)][Number(_0x53a7ce)])[_0x49bfa1(0x1a8)](_0x2b7883=>{const _0x5007ba=_0x49bfa1,_0x1abbec={..._0x34b443[_0x5007ba(0x3fa)][Number(_0x53a7ce)][Number(_0x2b7883)]};_0x47aae9[_0x5007ba(0x229)](Number(_0x53a7ce)+_0x3b2ad5,Number(_0x2b7883)+_0x210073,_0x2d4dc2(_0x1abbec));});});const _0x2b923e=Object[_0x3a9fb3(0x287)](_0x34b443[_0x3a9fb3(0x3fa)])['length'];_0x3b2ad5+=_0x2b923e+(_0x2b923e?_0x2e0cc2:0x0);const _0x5bc9ba=_0x19ef31[_0x3a9fb3(0x38c)](),_0x19cdcb=_0x19ef31[_0x3a9fb3(0x395)]();for(let _0x18961d=0x0;_0x18961d<_0x5bc9ba;_0x18961d++)for(let _0x349674=0x0;_0x349674<_0x19cdcb;_0x349674++){const _0x32c743={...(_0x59ba30=(_0x109fef=_0x19ef31[_0x3a9fb3(0x3fa)])==null?void 0x0:_0x109fef[_0x18961d])==null?void 0x0:_0x59ba30[_0x349674]};_0x32c743&&((_0x4887d4=_0x16d73f['headerMap'][_0x349674])!=null&&_0x4887d4['isValue'])&&_0x349674===_0x19cdcb-0x1&&_0x18961d===_0x5bc9ba-0x1&&(_0x32c743['v']=''+_0x5c5d61[_0x3a9fb3(0x24a)]),_0x47aae9['setValue'](_0x18961d+_0x3b2ad5,_0x349674+_0x210073,_0x2d4dc2(_0x32c743));}_0x210073+=_0x19cdcb;const _0x4be189=_0x3b2d4e['headerMap'],_0x33c9d6=_0x3b2d4e['getLastRow']()>=0x0?_0x3b2d4e[_0x3a9fb3(0x456)]()+0x1:0x0,_0x201afc=_0x3b2d4e[_0x3a9fb3(0x45c)]()>=0x0?_0x3b2d4e['getLastCol']()+0x1:0x0;for(let _0x41e6eb=0x0;_0x41e6eb<_0x201afc;_0x41e6eb++)for(let _0x16e998=0x0;_0x16e998<_0x33c9d6;_0x16e998++){const _0x50ab47={...(_0xb32fac=(_0x598b54=_0x3b2d4e['data'])==null?void 0x0:_0x598b54[_0x41e6eb])==null?void 0x0:_0xb32fac[_0x16e998]},_0x50ee72=(_0x151d38=_0x4be189[_0x41e6eb])==null?void 0x0:_0x151d38['tableFieldId'],_0x3fe098=_0x16de68[_0x50ee72];_0x50ab47&&(_0x50ab47['v']=_0x48fce5(_0x50ab47,_0x41e6eb===0x0&&((_0x1cc28a=_0x3b2d4e[_0x3a9fb3(0x2ba)](_0x16e998+0x1))==null?void 0x0:_0x1cc28a[_0x3a9fb3(0x178)]),_0x3fe098,_0x5c5d61)),_0x47aae9[_0x3a9fb3(0x229)](_0x41e6eb+_0x3b2ad5,_0x16e998+_0x210073,_0x2d4dc2(_0x50ab47));}_0x3b2ad5+=_0x5bc9ba;const _0x362c9e=_0x16d73f['headerMap'],_0x27a27e=_0x16d73f[_0x3a9fb3(0x456)]()>=0x0?_0x16d73f[_0x3a9fb3(0x456)]()+0x1:0x0,_0x10df6f=_0x16d73f[_0x3a9fb3(0x45c)]()>=0x0?_0x16d73f['getLastCol']()+0x1:0x0;for(let _0x44bb8e=0x0;_0x44bb8e<_0x27a27e;_0x44bb8e++)for(let _0x314b8d=0x0;_0x314b8d<_0x10df6f;_0x314b8d++){const _0x55f55a={...(_0x5f01e1=(_0xd328e1=_0x16d73f[_0x3a9fb3(0x3fa)])==null?void 0x0:_0xd328e1[_0x44bb8e])==null?void 0x0:_0x5f01e1[_0x314b8d]},_0x143709=(_0x51e182=_0x362c9e[_0x314b8d])==null?void 0x0:_0x51e182[_0x3a9fb3(0x16a)],_0x56bb70=_0x16de68[_0x143709];_0x55f55a&&(_0x55f55a['v']=_0x48fce5(_0x55f55a,!0x1,_0x56bb70,_0x5c5d61)),_0x47aae9[_0x3a9fb3(0x229)](_0x44bb8e+_0x3b2ad5,_0x314b8d+_0x232492,_0x2d4dc2(_0x55f55a));}const _0x2f998b=_0x2c687f['getRowCount'](),_0x4319d9=_0x2c687f[_0x3a9fb3(0x395)]();for(let _0x2acd53=0x0;_0x2acd53<_0x2f998b;_0x2acd53++)for(let _0x3e4f89=0x0;_0x3e4f89<_0x4319d9;_0x3e4f89++){const _0x3e5e1d={...(_0x33d6ec=(_0x12e08b=_0x2c687f[_0x3a9fb3(0x3fa)])==null?void 0x0:_0x12e08b[_0x2acd53])==null?void 0x0:_0x33d6ec[_0x3e4f89]};_0x47aae9[_0x3a9fb3(0x229)](_0x2acd53+_0x3b2ad5,_0x3e4f89+_0x210073,_0x2d4dc2(_0x3e5e1d));}return _0x47aae9;},_0x52f8d0=_0x446fb8=>{const _0x4e4c5e=_0xebbe60,{view:_0x28447d,targetCellInfo:_0x35c251,isEmpty:_0x1a102f,textInfo:_0x3fe31f}=_0x446fb8;if(_0x1a102f)return _0x3fae29(_0x446fb8);const {pageView:_0xd1bb6,cornerView:_0x3e5c95,rowView:_0x2d3e85,colView:_0x12a6e1,dataView:_0x3e5191}=_0x28447d,_0x51304c=_0x5d5414(_0x35c251,_0xd1bb6,!0x0),_0x2d933b=_0xd1bb6[_0x4e4c5e(0x43a)]>=0x0?_0xd1bb6[_0x4e4c5e(0x43a)]+0x1:0x0,_0x3798f2=_0x3e5c95[_0x4e4c5e(0x38c)](),_0x4cff53=_0x3e5c95[_0x4e4c5e(0x395)](),_0x1ed5aa=_0x51304c['length']>0x0?_0x2e0cc2:0x0,_0x148b82=_0x5d5414({'row':_0x35c251['row']+_0x2d933b+_0x1ed5aa,'col':_0x35c251[_0x4e4c5e(0x1c6)]},_0x3e5c95,!0x1,!0x1),_0xab736d=_0x5d5414({'row':_0x35c251[_0x4e4c5e(0x183)]+_0x2d933b+_0x1ed5aa+_0x3798f2,'col':_0x35c251[_0x4e4c5e(0x1c6)]},_0x2d3e85,!0x1,!0x0),_0x3bec42=_0x5d5414({'row':_0x35c251[_0x4e4c5e(0x183)]+_0x2d933b+_0x1ed5aa,'col':_0x35c251[_0x4e4c5e(0x1c6)]+_0x4cff53},_0x12a6e1,!0x1,!0x0),_0x330ba6=_0x5d5414({'row':_0x35c251[_0x4e4c5e(0x183)]+_0x2d933b+_0x1ed5aa+_0x3798f2,'col':_0x35c251[_0x4e4c5e(0x1c6)]+_0x4cff53},_0x3e5191,!0x1,!0x1),_0x10ae06={'rowRanges':_0xab736d,'colRanges':_0x3bec42,'cornerRanges':_0x148b82,'dataRanges':_0x330ba6,'pageRanges':_0x51304c};return{'matrix':_0xae4507(_0x28447d,_0x35c251,_0x3fe31f),'rangesCache':_0x10ae06};};var _0x4bec0f=Object[_0xebbe60(0x42b)],_0x5a856e=(_0x2097b7,_0x86f8fe,_0x357982,_0x34be65)=>{const _0x2bbd0e=_0xebbe60;for(var _0x342f85=_0x34be65>0x1?void 0x0:_0x34be65?_0x4bec0f(_0x86f8fe,_0x357982):_0x86f8fe,_0x1c367d=_0x2097b7[_0x2bbd0e(0x20e)]-0x1,_0x570deb;_0x1c367d>=0x0;_0x1c367d--)(_0x570deb=_0x2097b7[_0x1c367d])&&(_0x342f85=_0x570deb(_0x342f85)||_0x342f85);return _0x342f85;},_0x377122=(_0x1ca64a,_0x12830f)=>(_0x38776b,_0x1b464a)=>_0x12830f(_0x38776b,_0x1b464a,_0x1ca64a);_0xc5aaf7['SheetsPivotDataSourceModel']=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x10bf3d,_0x285e19,_0x54eedf,_0x13be91,_0x6c29ea){const _0x5c1b50=_0xebbe60;super(),_0x59516b(this,_0x5c1b50(0x282),new Map()),_0x59516b(this,_0x5c1b50(0x241),new Map()),_0x59516b(this,'_viewData',new Map()),_0x59516b(this,'_textInfo'),_0x59516b(this,_0x5c1b50(0x33f),new _0x3875b2['Subject']()),_0x59516b(this,_0x5c1b50(0x41b),this['_collectionChange$'][_0x5c1b50(0x2df)]()),_0x59516b(this,_0x5c1b50(0x3e5),new _0x3875b2[(_0x5c1b50(0x209))]()),_0x59516b(this,_0x5c1b50(0x1f9),this['_viewData$'][_0x5c1b50(0x2df)]()),_0x59516b(this,'_fieldsCollectionChange$',new _0x3875b2['Subject']()),_0x59516b(this,_0x5c1b50(0x324),this[_0x5c1b50(0x2a2)][_0x5c1b50(0x2df)]()),_0x59516b(this,_0x5c1b50(0x44c),new Map()),_0x59516b(this,_0x5c1b50(0x3d0),[]),_0x59516b(this,_0x5c1b50(0x17a),new Map()),(this[_0x5c1b50(0x2c3)]=_0x10bf3d,this['_univerInstanceService']=_0x285e19,this[_0x5c1b50(0x302)]=_0x54eedf,this[_0x5c1b50(0x234)]=_0x13be91,this[_0x5c1b50(0x469)]=_0x6c29ea,this[_0x5c1b50(0x1b6)]());}['getTextInfo'](){const _0x2ab679=_0xebbe60;return this[_0x2ab679(0x41d)]?this['_textInfo']:_0x233c38;}['setTextInfo'](_0x21fc0f){const _0x928b26=_0xebbe60;this[_0x928b26(0x41d)]=_0x21fc0f;}[_0xebbe60(0x372)](_0x446b37){const _0x2a634a=_0xebbe60;var _0x386d95;const {from:_0x458ab0,to:_0x25686c,unitId:_0x4b29ba,fromRange:_0x59f9bf,toRange:_0x36f3cc}=_0x446b37;if(_0x458ab0&&_0x25686c){const _0x417aff=this[_0x2a634a(0x16b)](_0x4b29ba),_0x352163=this[_0x2a634a(0x282)][_0x2a634a(0x1ad)](_0x4b29ba),_0x34ca19=(_0x386d95=this[_0x2a634a(0x265)][_0x2a634a(0x24d)](_0x4b29ba))==null?void 0x0:_0x386d95['getSheetBySheetId'](_0x25686c[_0x2a634a(0x3a5)]);if(!_0x352163||!_0x34ca19)return;const _0x2c7a9f=_0x34ca19==null?void 0x0:_0x34ca19[_0x2a634a(0x468)]();for(const [_0x235c48,_0x3aeac9]of _0x352163[_0x2a634a(0x179)]())for(const [_0x2ec9a6,_0x1cf9c0]of _0x3aeac9[_0x2a634a(0x179)]()){const {sourceRangeInfo:_0x324772}=_0x1cf9c0;if(_0x324772['unitId']===_0x4b29ba&&_0x324772[_0x2a634a(0x3a5)]===_0x458ab0[_0x2a634a(0x3a5)]&&_0x5136e7[_0x2a634a(0x350)][_0x2a634a(0x28c)](_0x59f9bf,_0x324772[_0x2a634a(0x3d4)])){const _0x59adef={'row':_0x324772[_0x2a634a(0x3d4)][_0x2a634a(0x306)]-_0x59f9bf[_0x2a634a(0x306)],'col':_0x324772[_0x2a634a(0x3d4)][_0x2a634a(0x2bf)]-_0x59f9bf[_0x2a634a(0x2bf)]},_0x4a6a03={'unitId':_0x4b29ba,'subUnitId':_0x25686c[_0x2a634a(0x3a5)],'sheetName':_0x2c7a9f,'range':{'startRow':_0x36f3cc[_0x2a634a(0x306)]+_0x59adef[_0x2a634a(0x183)],'endRow':_0x36f3cc[_0x2a634a(0x306)]+_0x59adef[_0x2a634a(0x183)]+_0x324772['range'][_0x2a634a(0x325)]-_0x324772[_0x2a634a(0x3d4)][_0x2a634a(0x306)],'startColumn':_0x36f3cc[_0x2a634a(0x2bf)]+_0x59adef[_0x2a634a(0x1c6)],'endColumn':_0x36f3cc['startColumn']+_0x59adef[_0x2a634a(0x1c6)]+_0x324772['range'][_0x2a634a(0x374)]-_0x324772['range'][_0x2a634a(0x2bf)]}};_0x417aff['handleMoveRange'](_0x2ec9a6,_0x4a6a03);const _0x57383b={..._0x1cf9c0,'sourceRangeInfo':_0x4a6a03};this[_0x2a634a(0x2d2)](_0x4b29ba,_0x25686c[_0x2a634a(0x3a5)],_0x2ec9a6,_0x57383b),this['broadcastCollectionChange']({'unitId':_0x4b29ba,'token':_0x2ec9a6,'type':_0x9b41c5['update'],'oldSourceRangeInfo':_0x324772,'dataRangeInfo':_0x4a6a03,'targetCellInfo':_0x1cf9c0[_0x2a634a(0x31c)]}),this[_0x2a634a(0x3ce)]({'unitId':_0x4b29ba,'subUnitId':_0x25686c[_0x2a634a(0x3a5)],'oldSubUnitId':_0x235c48,'pivotTableId':_0x2ec9a6,'pivotTableConfig':_0x57383b,'collectionConfig':_0x417aff['toJSON']()});}}}}[_0xebbe60(0x366)](_0x9129c1){const _0x28d831=_0xebbe60;this[_0x28d831(0x33f)][_0x28d831(0x18e)](_0x9129c1);}['getDataFieldManager'](_0x4875bd){const _0x355f22=_0xebbe60;let _0xf177a7=this[_0x355f22(0x44c)]['get'](_0x4875bd);return _0xf177a7||(_0xf177a7=new _0x1f6a0a(this,this[_0x355f22(0x265)]),this[_0x355f22(0x44c)][_0x355f22(0x3db)](_0x4875bd,_0xf177a7)),_0xf177a7;}[_0xebbe60(0x3b0)](_0x166207,_0x894ae1){const _0x3f0f03=_0xebbe60;return this[_0x3f0f03(0x16b)](_0x166207)[_0x3f0f03(0x321)][_0x894ae1];}[_0xebbe60(0x1ca)](_0xbba289,_0x316fc2,_0x4f86bf){return this['getDataFieldManager'](_0xbba289)['getUpdateRangeDeleteIds'](_0x316fc2,_0x4f86bf);}[_0xebbe60(0x433)](_0x271b1c,_0x41af5b){const _0x8b0e2f=_0xebbe60;let _0x9d69a4=this[_0x8b0e2f(0x282)]['get'](_0x271b1c);_0x9d69a4||(_0x9d69a4=new Map(),this[_0x8b0e2f(0x282)][_0x8b0e2f(0x3db)](_0x271b1c,_0x9d69a4));let _0x1ea5d9=_0x9d69a4[_0x8b0e2f(0x1ad)](_0x41af5b);return _0x1ea5d9||(_0x1ea5d9=new Map(),_0x9d69a4[_0x8b0e2f(0x3db)](_0x41af5b,_0x1ea5d9)),_0x1ea5d9;}[_0xebbe60(0x2d2)](_0x1cf75b,_0x54cf9a,_0x8c1fe2,_0x1464ee){const _0x32bfbe=_0xebbe60;this['_ensurePivotMap'](_0x1cf75b,_0x54cf9a)[_0x32bfbe(0x3db)](_0x8c1fe2,_0x1464ee);}[_0xebbe60(0x1e4)](_0x586830,_0x7f8a25,_0x964ded){const _0x566289=_0xebbe60;var _0x56002f,_0x442e67,_0x151d3f,_0x53a7b1;((_0x442e67=(_0x56002f=this[_0x566289(0x282)]['get'](_0x586830))==null?void 0x0:_0x56002f[_0x566289(0x1ad)](_0x7f8a25))==null?void 0x0:_0x442e67['get'](_0x964ded))&&((_0x53a7b1=(_0x151d3f=this[_0x566289(0x282)]['get'](_0x586830))==null?void 0x0:_0x151d3f[_0x566289(0x1ad)](_0x7f8a25))==null||_0x53a7b1['delete'](_0x964ded));}[_0xebbe60(0x248)](_0x31ecce,_0x504bcb){const _0x208fc0=_0xebbe60;this['_pivotTableInstanceCache'][_0x208fc0(0x3db)](_0x31ecce,_0x504bcb);}[_0xebbe60(0x39a)](_0x198aee){const _0x5a4a94=_0xebbe60;this[_0x5a4a94(0x241)]['delete'](_0x198aee);}[_0xebbe60(0x182)](_0x1e837a,_0x4d9afb){const _0x3d85b5=_0xebbe60;let _0x21a798=this[_0x3d85b5(0x465)][_0x3d85b5(0x1ad)](_0x1e837a);_0x21a798||(_0x21a798=new Map(),this[_0x3d85b5(0x465)][_0x3d85b5(0x3db)](_0x1e837a,_0x21a798));let _0x57adb2=_0x21a798[_0x3d85b5(0x1ad)](_0x4d9afb);return _0x57adb2||(_0x57adb2=new Map(),_0x21a798[_0x3d85b5(0x3db)](_0x4d9afb,_0x57adb2)),_0x57adb2;}['updateConfig'](_0x2fbb7c){const _0x554593=_0xebbe60,{unitId:_0x47133d,subUnitId:_0x7736a,pivotTableId:_0x3d3487,pivotTableConfig:_0x38e7c1,collectionConfig:_0x26a478}=_0x2fbb7c,_0x4cfb5e={'unitId':_0x47133d,'subUnitId':_0x7736a,'oldSubUnitId':_0x7736a,'pivotTableId':_0x3d3487,'pivotTableConfig':_0x38e7c1,'collectionConfig':_0x26a478};this['_commandService'][_0x554593(0x44f)](_0x403c57['id'],_0x4cfb5e,{'onlyLocal':!0x0});}[_0xebbe60(0x27d)](_0x422ec1,_0x3e85e4,_0x5f59b4,_0x19a2af,_0x3bea3a,_0x33c81d,_0x4b442b,_0x2ccc38=!0x1){const _0x460700=_0xebbe60;var _0x480727;this[_0x460700(0x234)][_0x460700(0x44f)](_0x512654['id'],{'single':{'unitId':_0x422ec1,'subUnitId':_0x3e85e4,'type':_0x5f59b4,'pivotTableId':_0x19a2af,'view':_0x3bea3a,'pivotConfig':_0x33c81d},'collectionConfig':{[_0x422ec1]:_0x4b442b}},{'onlyLocal':!0x0});const _0x2bc12d=!!((_0x480727=this[_0x460700(0x181)](_0x19a2af))!=null&&_0x480727['isEmpty']()),_0x5c41b7=this['getPivotTableConfig'](_0x422ec1,_0x3e85e4,_0x19a2af);_0x5c41b7&&this[_0x460700(0x2f7)]({'view':_0x3bea3a,'pivotTableId':_0x19a2af,'textInfo':this[_0x460700(0x378)](),'isEmpty':_0x2bc12d,'targetCellInfo':_0x5c41b7['targetCellInfo']},_0x2ccc38);}[_0xebbe60(0x2f7)](_0x2f26b0,_0x14676b){const _0x378dcf=_0xebbe60,{targetCellInfo:_0x4360a6,pivotTableId:_0x2f0dac}=_0x2f26b0,{unitId:_0x52ddf5,subUnitId:_0x397c74}=_0x4360a6,_0x49351e=this['_ensureViewDataMap'](_0x52ddf5,_0x397c74),_0x13b0cc=_0x49351e[_0x378dcf(0x1ad)](_0x2f0dac);let _0x5e55eb,_0xa3df75;_0x13b0cc&&(_0x5e55eb=_0x13b0cc[_0x378dcf(0x289)],_0xa3df75=_0x13b0cc['matrix']);const {rangesCache:_0x1c3054,matrix:_0x5f02b9}=_0x52f8d0(_0x2f26b0);_0x49351e[_0x378dcf(0x3db)](_0x2f0dac,{'rangeCache':_0x1c3054,'matrix':_0x5f02b9,'oldMatrix':_0xa3df75,'oldRangeCache':_0x5e55eb}),_0x14676b||this[_0x378dcf(0x3e5)][_0x378dcf(0x18e)]({'unitId':_0x52ddf5,'subUnitId':_0x397c74,'pivotTableId':_0x2f0dac});}['addPivotTable'](_0x434eff,_0x34adfd,_0x2a9c95,_0x876cf1,_0x56e20c){const _0x4cc972=_0xebbe60;this['_updateModelCache'](_0x434eff,_0x34adfd,_0x2a9c95,_0x56e20c),this[_0x4cc972(0x248)](_0x2a9c95,_0x876cf1);}[_0xebbe60(0x425)](_0x36c6d4,_0x489f84,_0x4d5ef9){const _0x39bc88=_0xebbe60,_0x443425=this[_0x39bc88(0x16b)](_0x36c6d4);_0x443425[_0x39bc88(0x427)](_0x4d5ef9)[_0x39bc88(0x1a8)](_0x3b2d8e=>{const _0x2d8ff9=_0x39bc88;_0x443425[_0x2d8ff9(0x19d)](_0x3b2d8e);}),this[_0x39bc88(0x315)](_0x36c6d4,_0x4d5ef9),this['_deleteModelCache'](_0x36c6d4,_0x489f84,_0x4d5ef9),this['_deletePivotTableInstanceCache'](_0x4d5ef9);}[_0xebbe60(0x25e)](_0x162b14,_0x198516,_0x30f889,_0x5585b2){const _0x1999c4=_0xebbe60;this[_0x1999c4(0x2d2)](_0x162b14,_0x198516,_0x30f889,_0x5585b2);}[_0xebbe60(0x358)](_0x56f43a,_0x580761,_0x489975){const _0x138cc0=_0xebbe60;var _0x172034,_0x2807da;const _0x372757=(_0x2807da=(_0x172034=this[_0x138cc0(0x282)][_0x138cc0(0x1ad)](_0x56f43a))==null?void 0x0:_0x172034[_0x138cc0(0x1ad)](_0x580761))==null?void 0x0:_0x2807da[_0x138cc0(0x1ad)](_0x489975);if(_0x372757)return _0x372757;}['getPivotTableModelConfig'](_0x2edb3c,_0x139279,_0x6cb939){const _0x161f1e=_0xebbe60;var _0x425929,_0x53bcae;const _0x12a011=(_0x53bcae=(_0x425929=this[_0x161f1e(0x282)][_0x161f1e(0x1ad)](_0x2edb3c))==null?void 0x0:_0x425929['get'](_0x139279))==null?void 0x0:_0x53bcae['get'](_0x6cb939);if(_0x12a011)return _0x12a011['fieldsConfig'];}['getPivotTableInstance'](_0xff04a0){const _0x22be88=_0xebbe60;return this[_0x22be88(0x241)][_0x22be88(0x1ad)](_0xff04a0);}[_0xebbe60(0x2c1)](_0x51bd27){const _0x526faf=_0xebbe60;this[_0x526faf(0x282)][_0x526faf(0x1af)](_0x51bd27);const _0x16856e=this[_0x526faf(0x44c)]['get'](_0x51bd27);_0x16856e&&(_0x16856e['dispose'](),this['_dataFieldManagerCollection']['delete'](_0x51bd27)),this[_0x526faf(0x465)][_0x526faf(0x1af)](_0x51bd27),this[_0x526faf(0x3d0)][_0x526faf(0x1a8)](_0x4b2098=>{const _0x8febf9=_0x526faf;_0x4b2098[_0x8febf9(0x2c1)](_0x51bd27);});}[_0xebbe60(0x3ab)](_0x1deb86,_0x59ca69,_0x528a5a,_0x38440b){const _0x487ec9=_0xebbe60;return this[_0x487ec9(0x16b)](_0x528a5a[_0x487ec9(0x44b)])[_0x487ec9(0x3ab)](_0x1deb86,_0x59ca69,_0x528a5a,_0x38440b);}[_0xebbe60(0x16d)](_0x2f617f){const _0x28e882=_0xebbe60;return this[_0x28e882(0x16b)](_0x2f617f['unitId'])[_0x28e882(0x16d)](_0x2f617f);}['refreshData'](_0x55818e,_0xd25d1d,_0x9fbd86){const _0xb8436c=_0xebbe60;this[_0xb8436c(0x16b)](_0x9fbd86['unitId'])[_0xb8436c(0x29c)](_0x55818e,_0xd25d1d,_0x9fbd86);}[_0xebbe60(0x222)](_0x12a586,_0x3d953f){const _0xf95b85=_0xebbe60;this[_0xf95b85(0x16b)](_0x12a586)[_0xf95b85(0x19d)](_0x3d953f);}[_0xebbe60(0x315)](_0x17f52d,_0x1eb638){const _0x42e65d=_0xebbe60;this[_0x42e65d(0x16b)](_0x17f52d)[_0x42e65d(0x227)](_0x1eb638);}['getSubUnitPivotConfigs'](_0x418ca8,_0x30da65){const _0x3bf74a=_0xebbe60;var _0x27b41a;return(_0x27b41a=this[_0x3bf74a(0x282)][_0x3bf74a(0x1ad)](_0x418ca8))==null?void 0x0:_0x27b41a['get'](_0x30da65);}[_0xebbe60(0x2a9)](_0x21ce7a){const _0x1e0103=_0xebbe60;for(const [_0xa7cd78,_0x1bb0f3]of this[_0x1e0103(0x282)]['entries']())for(const [_0x2233a8,_0x3af75f]of _0x1bb0f3[_0x1e0103(0x179)]())if(_0x3af75f[_0x1e0103(0x286)](_0x21ce7a))return{'unitId':_0xa7cd78,'subUnitId':_0x2233a8};return null;}[_0xebbe60(0x1de)](_0x2c447a,_0x399833,_0x1e1139,_0x361bec){const _0xe0205a=_0xebbe60,_0x36554d=this[_0xe0205a(0x182)](_0x2c447a,_0x399833);_0x361bec?_0x36554d[_0xe0205a(0x3db)](_0x1e1139,_0x361bec):_0x36554d[_0xe0205a(0x1af)](_0x1e1139),this[_0xe0205a(0x3e5)][_0xe0205a(0x18e)]({'unitId':_0x2c447a,'subUnitId':_0x399833,'pivotTableId':_0x1e1139});}[_0xebbe60(0x308)](){super['dispose']();}[_0xebbe60(0x454)](_0x72216d,_0x2d0bd0,_0xbcf660){const _0x37d320=_0xebbe60;var _0x4b7d08,_0x2e02d6;const _0x4124f4=(_0x2e02d6=(_0x4b7d08=this[_0x37d320(0x465)][_0x37d320(0x1ad)](_0x72216d))==null?void 0x0:_0x4b7d08[_0x37d320(0x1ad)](_0x2d0bd0))==null?void 0x0:_0x2e02d6[_0x37d320(0x1ad)](_0xbcf660);return _0x4124f4||null;}[_0xebbe60(0x2af)](_0x3c490f){this['updateDirtyPivotTable'](_0x3c490f);}[_0xebbe60(0x37b)](_0x5897ab){const _0x4a8a5e=_0xebbe60,{token:_0x431a13,unitId:_0x591a5a,subUnitId:_0x4fb0c8}=_0x5897ab,_0x20029d=_0x591a5a+'-'+_0x4fb0c8+'-'+_0x431a13;this[_0x4a8a5e(0x17a)][_0x4a8a5e(0x1ad)](_0x20029d)&&clearTimeout(this[_0x4a8a5e(0x17a)][_0x4a8a5e(0x1ad)](_0x20029d));const _0xca407f=setTimeout(()=>{const _0x6cc87=_0x4a8a5e;this[_0x6cc87(0x2f6)](_0x5897ab),this[_0x6cc87(0x17a)][_0x6cc87(0x1af)](_0x20029d);},_0x4d5679);this[_0x4a8a5e(0x17a)]['set'](_0x20029d,_0xca407f);}[_0xebbe60(0x2f6)](_0x2e559f){const _0x2c4759=_0xebbe60,{unitId:_0x38469d,subUnitId:_0x5c98a9,token:_0x23a6a4,type:_0x100f95,pivotConfig:_0x35859f}=_0x2e559f,_0x18a859=this[_0x2c4759(0x181)](_0x23a6a4),_0x24a605=_0x18a859==null?void 0x0:_0x18a859[_0x2c4759(0x2d9)](),_0x6e8c06=_0x35859f!=null?_0x35859f:this[_0x2c4759(0x358)](_0x38469d,_0x5c98a9,_0x23a6a4);_0x6e8c06&&(_0x6e8c06[_0x2c4759(0x1c7)]=!!(_0x18a859!=null&&_0x18a859[_0x2c4759(0x1c7)]())),(_0x24a605||_0x100f95===_0x41401b[_0x2c4759(0x2c4)])&&this[_0x2c4759(0x27d)](_0x38469d,_0x5c98a9,_0x100f95,_0x23a6a4,_0x24a605,_0x6e8c06,this[_0x2c4759(0x16b)](_0x38469d)[_0x2c4759(0x2f1)]());}['toJSON'](_0x457f6f){const _0x3d4216=_0xebbe60,_0x1f3536={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x3d4216(0x16b)](_0x457f6f)&&(_0x1f3536['dataFieldManagerConfig'][_0x457f6f]=this['getDataFieldManager'](_0x457f6f)['toJSON']()),this['_model'][_0x3d4216(0x1ad)](_0x457f6f)){_0x1f3536[_0x3d4216(0x335)][_0x457f6f]={};const _0x4424e9=this[_0x3d4216(0x282)]['get'](_0x457f6f);_0x4424e9!=null&&_0x4424e9['size']&&[..._0x4424e9[_0x3d4216(0x287)]()]['forEach'](_0x479e92=>{const _0x37afa9=_0x3d4216,_0x3d0529=_0x4424e9[_0x37afa9(0x1ad)](_0x479e92);_0x3d0529!=null&&_0x3d0529[_0x37afa9(0x30a)]&&(_0x1f3536['pivotTableConfigs'][_0x457f6f][_0x479e92]={},[..._0x3d0529[_0x37afa9(0x287)]()][_0x37afa9(0x1a8)](_0x15a21b=>{const _0x3f49a5=_0x37afa9,_0xd4245f=_0x3d0529[_0x3f49a5(0x1ad)](_0x15a21b);_0xd4245f&&(_0x1f3536[_0x3f49a5(0x335)][_0x457f6f][_0x479e92][_0x15a21b]=_0xd4245f);}));});}return _0x1f3536;}['fromJSON'](_0x3c04e4){const _0x3a3054=_0xebbe60;var _0x218ae2;const {dataFieldManagerConfig:_0x36a2d5,pivotTableConfigs:_0x331288}=_0x3c04e4;_0x36a2d5&&Object['keys'](_0x36a2d5)[_0x3a3054(0x1a8)](_0x5ebc22=>{const _0x1ccd88=_0x3a3054;this[_0x1ccd88(0x16b)](_0x5ebc22)[_0x1ccd88(0x3c5)](_0x36a2d5[_0x5ebc22]);});const _0x1f72ef=[];if(_0x331288){const _0x492e27=(_0x218ae2=this['_injector']['get'](_0x5136e7['IConfigService'])[_0x3a3054(0x21d)](_0x3eaab7[_0x3a3054(0x201)]))!=null?_0x218ae2:{},{ls:_0x3ee898,pbk:_0x2d2249}=_0x492e27,_0x9d4028=_0x46288e(_0xec5216,_0x3ee898,_0x2d2249)[_0x3a3054(0x41f)];Object[_0x3a3054(0x287)](_0x331288)[_0x3a3054(0x1a8)](_0x230cf7=>{const _0x24006a=_0x3a3054;let _0x1a22c0=0x0;const _0x474b3c=_0x331288[_0x230cf7];Object[_0x24006a(0x287)](_0x474b3c)[_0x24006a(0x1a8)](_0x585d3a=>{const _0xb6aa06=_0x24006a,_0x5424e0=_0x474b3c[_0x585d3a];Object[_0xb6aa06(0x287)](_0x5424e0)[_0xb6aa06(0x1a8)](_0xcf1850=>{const _0x4464ab=_0xb6aa06,_0x1187f0=_0x5424e0[_0xcf1850];if(_0x1187f0){if(_0x1a22c0>=_0x9d4028)return;_0x1a22c0++;const _0x1a2640=this['getDataFieldManager'](_0x230cf7),_0x473d15=_0x1a2640['collections'][_0xcf1850],_0x139edb=_0x473d15[_0x4464ab(0x22b)]();let _0x5458d1=0x0;const _0xd62efc=[];for(const _0x37ecbb of _0x139edb){const _0x3bc2dd=_0x473d15[_0x4464ab(0x2bd)](_0x37ecbb);if(_0x62e76f[_0x4464ab(0x44d)](_0x3bc2dd)){const _0x3640c2=_0x3bc2dd['getOriginFieldId'](),_0x2b7566=_0x473d15[_0x4464ab(0x2bd)](_0x3640c2);_0x2b7566&&_0xd62efc[_0x4464ab(0x304)]([_0x3bc2dd,_0x2b7566]);continue;}_0x1a2640[_0x4464ab(0x1f8)](_0x37ecbb,_0x1187f0[_0x4464ab(0x434)],_0x5458d1),_0x5458d1++;}_0xd62efc['forEach'](([_0x19b3ea,_0xf9e0b3])=>{const _0x5ec8bb=_0x4464ab;_0x19b3ea[_0x5ec8bb(0x3d6)](_0xf9e0b3);});const _0x1792f8=new _0x62e76f[(_0x4464ab(0x2b1))](_0x473d15);_0x1792f8[_0x4464ab(0x3c5)](_0x1187f0['fieldsConfig']),this[_0x4464ab(0x22d)](_0x230cf7,_0x585d3a,_0xcf1850,_0x1792f8,_0x1187f0);const _0x573d9d=_0x1792f8[_0x4464ab(0x2d9)]();_0x1f72ef['push']({'unitId':_0x230cf7,'subUnitId':_0x585d3a,'pivotTableId':_0xcf1850,'view':_0x573d9d[_0x4464ab(0x2f1)](),'pivotConfig':_0x1187f0,'type':_0x41401b['Add']});const _0x5be53a=!!_0x1792f8[_0x4464ab(0x1c7)](),_0x3adebe={'view':_0x573d9d,'pivotTableId':_0xcf1850,'textInfo':this[_0x4464ab(0x378)](),'isEmpty':_0x5be53a,'targetCellInfo':_0x1187f0[_0x4464ab(0x31c)]};this[_0x4464ab(0x2f7)](_0x3adebe,!0x1);}});});});}_0x36a2d5&&Object['keys'](_0x36a2d5)[_0x3a3054(0x1a8)](_0x14065b=>{const _0xf76c84=_0x3a3054,_0x56fb8b=this[_0xf76c84(0x16b)](_0x14065b);this['_fieldsCollectionChange$'][_0xf76c84(0x18e)](_0x56fb8b[_0xf76c84(0x321)]);}),this['_commandService'][_0x3a3054(0x44f)](_0x512654['id'],{'batch':_0x1f72ef,'collectionConfig':_0x36a2d5},{'onlyLocal':!0x0});}[_0xebbe60(0x1b6)](){const _0x36d324=_0xebbe60;this[_0x36d324(0x271)](this['_resourceManagerService'][_0x36d324(0x28e)]({'toJson':_0x49de83=>JSON[_0x36d324(0x31e)](this['toJSON'](_0x49de83)),'parseJson':_0x4ac639=>{const _0x38c7c0=_0x36d324;if(!_0x4ac639)return{};try{return JSON[_0x38c7c0(0x206)](_0x4ac639);}catch{return{};}},'businesses':[_0x5136e7[_0x36d324(0x26f)][_0x36d324(0x212)]],'pluginName':_0x28e04e,'onLoad':(_0x2468a2,_0x241b1e)=>{const _0x5f275c=_0x36d324;this[_0x5f275c(0x3c5)](_0x241b1e);},'onUnLoad':_0x438ff8=>{const _0x4b8556=_0x36d324;this[_0x4b8556(0x2c1)](_0x438ff8);}}));}},_0xc5aaf7[_0xebbe60(0x19c)]=_0x5a856e([_0x377122(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x1f7)])),_0x377122(0x1,_0x5136e7[_0xebbe60(0x31b)]),_0x377122(0x2,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7['LifecycleService'])),_0x377122(0x3,_0x5136e7[_0xebbe60(0x43b)]),_0x377122(0x4,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x332)]))],_0xc5aaf7[_0xebbe60(0x19c)]);const _0x8b3898={0x0:{0x0:{'v':_0xebbe60(0x375),'s':_0x2eeec4}},0x2:{0x1:{'v':'','s':_0x2eeec4},0x2:{'v':'','s':_0x2eeec4},0x3:{'v':_0xebbe60(0x200),'s':_0x2eeec4},0x4:{'v':'','s':_0x2eeec4},0x5:{'v':'','s':_0x2eeec4}},0x3:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0x4:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0x5:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0x6:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0x7:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0x8:{0x0:{'v':_0xebbe60(0x183),'s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':_0xebbe60(0x461),'s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0x9:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0xa:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0xb:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0xc:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}},0xd:{0x0:{'v':'','s':_0x2eeec4},0x1:{'v':'','s':_0x3785a9},0x2:{'v':'','s':_0x3785a9},0x3:{'v':'','s':_0x3785a9},0x4:{'v':'','s':_0x3785a9},0x5:{'v':'','s':_0x3785a9}}},_0x2e6d3c={'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':[]},_0x59be4f=(_0x25ea60,_0x52a8dd)=>{const _0x578e92=_0xebbe60,_0x6fed2c=new _0x5136e7[(_0x578e92(0x3a3))](),_0x4d30c4=new _0x5136e7['ObjectMatrix'](_0x8b3898),{row:_0x1e0649,col:_0x1fa82b}=_0x52a8dd;_0x4d30c4[_0x578e92(0x410)]((_0x4c27a4,_0x29bf4c,_0xe52e05)=>{const _0x37b017=_0x578e92;let _0x15126f='';_0xe52e05['v']===_0x37b017(0x375)?_0x15126f=_0x25ea60[_0x37b017(0x375)]:_0xe52e05['v']===_0x37b017(0x183)?_0x15126f=_0x25ea60[_0x37b017(0x183)]:_0xe52e05['v']==='column'?_0x15126f=_0x25ea60['column']:_0xe52e05['v']===_0x37b017(0x461)&&(_0x15126f=_0x25ea60[_0x37b017(0x461)]),_0x6fed2c['setValue'](_0x4c27a4+_0x1e0649,_0x29bf4c+_0x1fa82b,{..._0xe52e05,'v':_0x15126f});});const _0x43c3cd=_0x5136e7[_0x578e92(0x360)][_0x578e92(0x42f)](_0x2e6d3c);return Object['keys'](_0x2e6d3c)['forEach'](_0x110c59=>{const _0x1a3740=_0x578e92;_0x43c3cd[_0x110c59]=_0x2e6d3c[_0x110c59]['map'](_0x1b234f=>({..._0x1b234f,'startRow':_0x1b234f['startRow']+_0x1e0649,'endRow':_0x1b234f[_0x1a3740(0x325)]+_0x1e0649,'startColumn':_0x1b234f[_0x1a3740(0x2bf)]+_0x1fa82b,'endColumn':_0x1b234f[_0x1a3740(0x374)]+_0x1fa82b}));}),{'matrixCache':_0x6fed2c,'rangesCache':_0x43c3cd};};function _0x553a9e(_0x42e51a,_0x16873c){const _0x42b701=_0xebbe60;let _0x5d2f84='';const _0x74c931=this[_0x42b701(0x378)]();switch(_0x16873c){case _0x62e76f['PivotSubtotalTypeEnum'][_0x42b701(0x440)]:_0x5d2f84=_0x74c931['sheets-pivot.averageName']+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)][_0x42b701(0x41f)]:_0x5d2f84=_0x74c931[_0x42b701(0x43c)]+_0x42e51a;break;case _0x62e76f['PivotSubtotalTypeEnum'][_0x42b701(0x224)]:_0x5d2f84=_0x74c931[_0x42b701(0x330)]+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)]['max']:_0x5d2f84=_0x74c931[_0x42b701(0x3cf)]+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)][_0x42b701(0x3b5)]:_0x5d2f84=_0x74c931['sheets-pivot.minName']+_0x42e51a;break;case _0x62e76f['PivotSubtotalTypeEnum']['product']:_0x5d2f84=_0x74c931[_0x42b701(0x32a)]+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)][_0x42b701(0x323)]:_0x5d2f84=_0x74c931[_0x42b701(0x311)]+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)]['stdDevp']:_0x5d2f84=_0x74c931[_0x42b701(0x36c)]+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)][_0x42b701(0x39b)]:_0x5d2f84=_0x74c931[_0x42b701(0x32c)]+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)]['var']:_0x5d2f84=_0x74c931['sheets-pivot.varName']+_0x42e51a;break;case _0x62e76f[_0x42b701(0x1ef)][_0x42b701(0x279)]:_0x5d2f84=_0x74c931[_0x42b701(0x3fc)]+_0x42e51a;break;default:_0x5d2f84=_0x42e51a;break;}return _0x5d2f84;}function _0x44ea4f(_0x52facf,_0x217c51,_0x237f67,_0x296100,_0x3fa25c){const _0x215733=_0xebbe60;var _0x179377,_0x255fde,_0x2e3d3c,_0xdeb52,_0x1a1e3e;const _0x4dfb32=_0x5136e7[_0x215733(0x3e3)](_0x52facf,_0x217c51),{rangesInfo:_0x477da8,areaInfo:_0x481be7,headerMap:_0x4b5ad7}=_0x3fa25c;if(!_0x477da8||!_0x481be7||!_0x4b5ad7)return;const _0x3afbc6=Object[_0x215733(0x287)](_0x477da8)[_0x215733(0x32b)](_0x49302c=>_0x477da8[_0x49302c][_0x215733(0x207)](_0xe1580e=>_0x5136e7['Rectangle'][_0x215733(0x28c)](_0xe1580e,_0x4dfb32))),_0x54c105=_0x481be7;let _0x3f0922,_0x638d87,_0x58f476;if(_0x3afbc6===_0x215733(0x208))_0x3f0922=(_0x179377=_0x54c105==null?void 0x0:_0x54c105[_0x215733(0x17d)])==null?void 0x0:_0x179377[_0x52facf],_0x638d87=(_0x255fde=_0x4b5ad7==null?void 0x0:_0x4b5ad7['rowHeaderMap'])==null?void 0x0:_0x255fde[_0x217c51],_0x58f476=_0x638d87==null?void 0x0:_0x638d87['tableFieldId'];else{if(_0x3afbc6==='colRanges')_0x3f0922=(_0x2e3d3c=_0x54c105==null?void 0x0:_0x54c105[_0x215733(0x3f6)])==null?void 0x0:_0x2e3d3c[_0x217c51],_0x638d87=(_0xdeb52=_0x4b5ad7[_0x215733(0x3da)])==null?void 0x0:_0xdeb52[_0x52facf+0x1+_0x217c51-_0x477da8['colRanges'][0x0][_0x215733(0x2bf)]],_0x58f476=_0x638d87==null?void 0x0:_0x638d87[_0x215733(0x16a)];else{if(_0x3afbc6==='cornerRanges')_0x3f0922=(_0x1a1e3e=_0x54c105==null?void 0x0:_0x54c105[_0x215733(0x3b9)])==null?void 0x0:_0x1a1e3e[_0x217c51],_0x58f476=_0x3f0922==null?void 0x0:_0x3f0922[_0x215733(0x16a)];else{if(_0x3afbc6===_0x215733(0x369)){const _0xad5433=_0x237f67==null?void 0x0:_0x237f67['fi'];_0xad5433!==void 0x0&&(_0x58f476=_0x296100['getFilterFieldIdByIndex'](_0xad5433));}}}}return{'filterId':_0x58f476,'info':_0x3f0922,'data':_0x237f67,'headerInfo':_0x638d87};}function _0x281517(_0x3867a3,_0x15fe6d,_0x163f6c){const _0x3ecc89=_0xebbe60,_0x4d1ff3=_0x3867a3['dataFieldsCollection'],_0x7ecc28=_0x4d1ff3[_0x3ecc89(0x22b)](),_0x410410=new Set();_0x3867a3[_0x3ecc89(0x1e2)](_0x1683f4=>{const _0x2e0a56=_0x3ecc89;_0x410410[_0x2e0a56(0x42e)](_0x1683f4[_0x2e0a56(0x27b)]);});const _0x5508af=_0x7ecc28[_0x3ecc89(0x3ac)](_0x5b3eb4=>{const _0x3a7728=_0x3ecc89,_0x458e97=_0x4d1ff3['getFieldById'](_0x5b3eb4);return{'checked':_0x410410[_0x3a7728(0x286)](_0x5b3eb4),'dataFieldId':_0x458e97['id'],'id':_0x458e97['id'],'name':_0x4d1ff3[_0x3a7728(0x1b5)](_0x458e97['id']),'type':_0x458e97[_0x3a7728(0x33a)](),'pivotTableId':_0x15fe6d};}),_0x18a26e=[];_0x3867a3[_0x3ecc89(0x322)](_0x62e76f['PivotTableFiledAreaEnum'][_0x3ecc89(0x1e1)],_0x53da10=>{const _0xbccf87=_0x3ecc89;_0x18a26e[_0xbccf87(0x304)]({'dataFieldId':_0x53da10[_0xbccf87(0x27b)],'tableFieldId':_0x53da10['getId'](),'displayName':_0x53da10[_0xbccf87(0x1b5)]()});});const _0x1a033b=[];_0x3867a3['iterateFieldByArea'](_0x62e76f[_0x3ecc89(0x446)]['Column'],_0xcf8058=>{const _0x2e1d9a=_0x3ecc89;_0x1a033b[_0x2e1d9a(0x304)]({'dataFieldId':_0xcf8058[_0x2e1d9a(0x27b)],'tableFieldId':_0xcf8058[_0x2e1d9a(0x2e2)](),'displayName':_0xcf8058[_0x2e1d9a(0x1b5)]()});});const _0x567907=[];if(_0x3867a3[_0x3ecc89(0x322)](_0x62e76f[_0x3ecc89(0x446)][_0x3ecc89(0x1c2)],_0x373459=>{const _0x59000c=_0x3ecc89;_0x567907[_0x59000c(0x304)]({'dataFieldId':_0x373459[_0x59000c(0x27b)],'tableFieldId':_0x373459[_0x59000c(0x2e2)](),'displayName':_0x373459[_0x59000c(0x1b5)](),'format':_0x373459['getFormat'](),'subTotalType':_0x373459[_0x59000c(0x196)]()});}),_0x567907['length']>0x1){const _0x1a33fd=_0x3867a3[_0x3ecc89(0x202)]();(_0x3867a3[_0x3ecc89(0x1ce)]()?_0x1a033b:_0x18a26e)[_0x3ecc89(0x26e)](_0x1a33fd,0x0,{'dataFieldId':'','tableFieldId':_0x3ecc89(0x3a0),'displayName':_0x3ecc89(0x2db)});}const _0x3156c7=[];_0x3867a3['iterateFieldByArea'](_0x62e76f[_0x3ecc89(0x446)][_0x3ecc89(0x186)],_0x2b4721=>{const _0x3a2a45=_0x3ecc89;_0x3156c7[_0x3a2a45(0x304)]({'dataFieldId':_0x2b4721[_0x3a2a45(0x27b)],'tableFieldId':_0x2b4721[_0x3a2a45(0x2e2)](),'displayName':_0x2b4721[_0x3a2a45(0x1b5)]()});});const _0x3d4465=_0x163f6c[_0x3ecc89(0x434)];return{'sourceList':_0x5508af,'sourceRange':_0x3d4465,'rowFields':_0x18a26e,'columnFields':_0x1a033b,'valueFields':_0x567907,'filterFields':_0x3156c7,'positionInfo':_0x163f6c['targetCellInfo']};}function _0x39be36(_0x59dbd4,_0x316ebf,_0x17f247='',_0x3fbd2e={}){const _0x4026ab=_0xebbe60,_0x1a01b5=_0x59dbd4[_0x4026ab(0x1ad)](_0x5136e7['LocaleService']);for(const _0x844bdf in _0x316ebf)if(Object[_0x4026ab(0x172)][_0x4026ab(0x22e)][_0x4026ab(0x228)](_0x316ebf,_0x844bdf)){const _0x3b662c=_0x17f247?_0x17f247+'.'+_0x844bdf:_0x844bdf;typeof _0x316ebf[_0x844bdf]==_0x4026ab(0x36d)&&_0x316ebf[_0x844bdf]!==null&&!Array['isArray'](_0x316ebf[_0x844bdf])?_0x39be36(_0x59dbd4,_0x316ebf[_0x844bdf],_0x3b662c,_0x3fbd2e):_0x3fbd2e[_0x3b662c]=_0x1a01b5['t'](_0x3b662c);}return _0x3fbd2e;}const _0x48ff3b=_0x2b07c8=>{const _0x4ec701=_0xebbe60;if(!_0x2b07c8)return[];const {rowRanges:_0x54894f,colRanges:_0x57ada8,cornerRanges:_0x434633,dataRanges:_0x443b4f,pageRanges:_0x230c36}=_0x2b07c8,_0x3dc122=[..._0x57ada8,..._0x54894f,..._0x443b4f,..._0x434633][_0x4ec701(0x375)](_0x46979c=>_0x46979c[_0x4ec701(0x306)]>=0x0&&_0x46979c[_0x4ec701(0x2bf)]>=0x0&&_0x46979c[_0x4ec701(0x325)]>=0x0&&_0x46979c[_0x4ec701(0x374)]>=0x0);let _0x2bc517=Number[_0x4ec701(0x2ae)],_0x5ef754=Number[_0x4ec701(0x3df)],_0x160dde=Number['MAX_SAFE_INTEGER'],_0x5baed2=Number[_0x4ec701(0x3df)];for(let _0x4ec61d=0x0;_0x4ec61d<_0x3dc122[_0x4ec701(0x20e)];_0x4ec61d++)_0x2bc517=Math[_0x4ec701(0x3b5)](_0x2bc517,_0x3dc122[_0x4ec61d][_0x4ec701(0x306)]),_0x5ef754=Math[_0x4ec701(0x2da)](_0x5ef754,_0x3dc122[_0x4ec61d][_0x4ec701(0x325)]),_0x160dde=Math[_0x4ec701(0x3b5)](_0x160dde,_0x3dc122[_0x4ec61d][_0x4ec701(0x2bf)]),_0x5baed2=Math[_0x4ec701(0x2da)](_0x5baed2,_0x3dc122[_0x4ec61d]['endColumn']);return[..._0x230c36,{'startRow':_0x2bc517,'endRow':_0x5ef754,'startColumn':_0x160dde,'endColumn':_0x5baed2}];};function _0x11681d(_0xbd5bf2,_0x35aeba){const _0x3fe71c=_0xebbe60,_0xf5ad32=_0x35aeba['params']['drillDown'],{pivotTableId:_0x1ad164,unitId:_0x38b7d4,subUnitId:_0x2e5c33}=_0x35aeba;if(!_0xf5ad32)return;const _0x4fb357=_0xbd5bf2[_0x3fe71c(0x1ad)](_0xc5aaf7[_0x3fe71c(0x19c)]),_0x2a2d88=_0x4fb357[_0x3fe71c(0x181)](_0x1ad164),_0x29f273=_0x4fb357[_0x3fe71c(0x358)](_0x38b7d4,_0x2e5c33,_0x1ad164);if(!_0x2a2d88||!_0x29f273)return;const _0x56faa0=_0x2a2d88['getIndexesByPathStr'](_0xf5ad32[_0x3fe71c(0x2e9)]);if(!(_0x56faa0!=null&&_0x56faa0[_0x3fe71c(0x20e)]))return;const _0x447f68=_0x29f273[_0x3fe71c(0x434)],{unitId:_0x3c8d8f,subUnitId:_0x31d8fb,range:_0x49141a}=_0x447f68;let _0x21db6a=0x0;const _0x4f8cf4=_0x2a2d88[_0x3fe71c(0x1bb)][_0x3fe71c(0x22b)]()[_0x3fe71c(0x292)]((_0x4d46d1,_0x428108)=>{const _0x521eeb=_0x3fe71c;var _0xbc6862;const _0xbefbf2=(_0xbc6862=_0x2a2d88[_0x521eeb(0x2e0)](_0x428108))==null?void 0x0:_0xbc6862[_0x521eeb(0x1a3)]();return _0xbefbf2&&(_0x4d46d1[String(_0x21db6a)]=_0xbefbf2),_0x21db6a++,_0x4d46d1;},{});return{'indexes':_0x56faa0,'range':_0x49141a,'sourceUnitId':_0x3c8d8f,'sourceSubUnitId':_0x31d8fb,'formatMap':_0x4f8cf4};}function _0x1ed1a7(_0x172ed9,_0x3ddd5f){const _0x1fe26d=_0xebbe60;if(!_0x172ed9||!_0x3ddd5f)return!0x0;const _0xa40cb6=_0x3eaab7[_0x1fe26d(0x1f1)](_0x3575e0,_0x42e1b2),_0xe3601e=new Function(_0x1fe26d(0x256)+_0xa40cb6)()(_0x172ed9,_0x3ddd5f)[_0x1fe26d(0x275)],_0x1cfdab=_0x3eaab7[_0x1fe26d(0x223)](_0xe3601e,'sf',_0x4edca6);return!((_0xe3601e==null?void 0x0:_0xe3601e['rt'])===_0x3eaab7[_0x1fe26d(0x385)][_0x1fe26d(0x3bd)]&&!_0x1cfdab);}function _0x46288e(_0x289434,_0x314e99,_0x4427a1){const _0x47a4bc=_0xebbe60,_0x4a154e={'count':_0x289434,'timeValid':!0x1};if(!_0x314e99||!_0x4427a1)return _0x4a154e;const _0x4c8956=_0x3eaab7[_0x47a4bc(0x1f1)](_0x3575e0,_0x42e1b2),_0x4f3cd2=new Function(_0x47a4bc(0x256)+_0x4c8956)()(_0x314e99,_0x4427a1);if(_0x4f3cd2!=null&&_0x4f3cd2['valid']){const _0x48acbb=_0x4f3cd2[_0x47a4bc(0x275)],_0x5bafc6=_0x3eaab7[_0x47a4bc(0x223)](_0x48acbb,'sf',_0x4edca6);return{'count':_0x3eaab7['getSheetFeatureLimit'](_0x48acbb,_0x5bafc6,_0x47a4bc(0x370),_0x289434,_0x289434,0x0),'timeValid':_0x5bafc6};}return _0x4a154e;}function _0xe37af1(_0x5e66f1,_0x39229d,_0x48490c,_0x25b388){const _0x5840ed=_0xebbe60,_0x44c415={'subUnitId':_0x48490c,'unitId':_0x39229d,'cellValue':_0x5dda2d['generateNullCell'](_0x25b388)},_0x1a6ed0=_0x5dda2d['SetRangeValuesUndoMutationFactory'](_0x5e66f1,_0x44c415);let _0x2573d9=!0x1;return new _0x5136e7['ObjectMatrix'](_0x1a6ed0[_0x5840ed(0x29b)])['forValue']((_0x45c7d9,_0x9c7da9,_0x57d173)=>{const _0x57e6e9=_0x5840ed;if(!_0x2573d9&&_0x57d173&&(_0x57d173[_0x57e6e9(0x33b)]||_0x57d173['f']||_0x57d173['p']||_0x57d173['s']||_0x57d173['si']||_0x57d173['t']||_0x57d173['v']))return _0x2573d9=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x5dda2d[_0x5840ed(0x368)]['id'],'params':_0x1a6ed0},'setRangeValueRedoMutation':{'id':_0x5dda2d[_0x5840ed(0x368)]['id'],'params':_0x44c415},'shouldClear':_0x2573d9};}function _0x479bf8(_0x8b7048){const {row:_0x1c74ae,col:_0x3a10ff}=_0x8b7048,_0xada7f3={'startRow':_0x1c74ae,'endRow':_0x1c74ae,'startColumn':_0x3a10ff,'endColumn':_0x3a10ff},_0x14a5cb={'startRow':_0x1c74ae+0x2,'endRow':_0x1c74ae+0xe,'startColumn':_0x3a10ff,'endColumn':_0x3a10ff+0x6};return[_0xada7f3,_0x14a5cb];}function _0x134884(_0x5e69ca,_0xd3f253,_0x23f777){const _0x5976a0=_0xebbe60,{cornerView:_0x394782,rowView:_0x3f8af2,colView:_0x4eff61,pageView:_0x80cb41}=_0x5e69ca,{row:_0x134ab2,col:_0x553dc3}=_0xd3f253;if(_0x23f777)return{'rowCount':_0x294349+_0x134ab2,'colCount':_0x88c4+_0x553dc3};const _0x2d0623=_0x80cb41['lastRow']>-0x1?_0x80cb41['lastRow']+0x1:0x0,_0x333ce2=_0x80cb41['lastCol']>-0x1?_0x80cb41['lastCol']:0x0,_0x1eb598=_0x134ab2+_0x2d0623+(_0x2d0623?0x1:0x0)+_0x394782[_0x5976a0(0x45e)]+_0x3f8af2[_0x5976a0(0x45e)],_0x5dcaa9=_0x553dc3+_0x333ce2,_0x4b4ba9=_0x553dc3+_0x394782[_0x5976a0(0x3c0)]+_0x4eff61[_0x5976a0(0x3c0)],_0x21bdb7=Math[_0x5976a0(0x2da)](_0x5dcaa9,_0x4b4ba9);return{'rowCount':_0x1eb598,'colCount':_0x21bdb7};}function _0x58af2f(_0x35c7f0,_0x56482c,_0x18d2a4,_0x1f9d87){const _0x1350f8=_0xebbe60,{row:_0x3c6f2c,col:_0x5f23a0,unitId:_0x15182a,subUnitId:_0x1c09a2}=_0x18d2a4,_0x57f007=_0x134884(_0x56482c,{'row':_0x3c6f2c,'col':_0x5f23a0},_0x1f9d87),_0x4a30e1=_0x35c7f0[_0x1350f8(0x1ad)](_0x5136e7['IUniverInstanceService']),_0x247e5b=_0x5dda2d[_0x1350f8(0x3ee)](_0x4a30e1,{'unitId':_0x15182a,'subUnitId':_0x1c09a2}),_0x2b3f03=[],_0x34e4fe=[];if(!_0x247e5b)return{'undos':_0x34e4fe,'redos':_0x2b3f03};const {worksheet:_0x4e75a5}=_0x247e5b,_0x58ebc7=_0x4e75a5[_0x1350f8(0x38c)](),_0x50084d=_0x4e75a5[_0x1350f8(0x342)]();return _0x58ebc7<_0x57f007['rowCount']&&(_0x2b3f03['push']({'id':_0x5dda2d[_0x1350f8(0x20b)]['id'],'params':{'unitId':_0x15182a,'subUnitId':_0x1c09a2,'range':{'startRow':_0x58ebc7,'endRow':_0x57f007['rowCount']-0x1,'startColumn':0x0,'endColumn':_0x50084d-0x1}}}),_0x34e4fe[_0x1350f8(0x304)]({'id':_0x5dda2d[_0x1350f8(0x1c8)]['id'],'params':{'unitId':_0x15182a,'subUnitId':_0x1c09a2,'range':{'startRow':_0x58ebc7,'endRow':_0x57f007[_0x1350f8(0x45e)]-0x1,'startColumn':0x0,'endColumn':_0x50084d-0x1}}})),_0x50084d<_0x57f007[_0x1350f8(0x3c0)]&&(_0x2b3f03[_0x1350f8(0x304)]({'id':_0x5dda2d[_0x1350f8(0x1dc)]['id'],'params':{'unitId':_0x15182a,'subUnitId':_0x1c09a2,'range':{'startRow':0x0,'endRow':_0x58ebc7-0x1,'startColumn':_0x50084d,'endColumn':_0x57f007[_0x1350f8(0x3c0)]-0x1}}}),_0x34e4fe[_0x1350f8(0x304)]({'id':_0x5dda2d['RemoveColMutation']['id'],'params':{'unitId':_0x15182a,'subUnitId':_0x1c09a2,'range':{'startRow':0x0,'endRow':_0x58ebc7-0x1,'startColumn':_0x50084d,'endColumn':_0x57f007[_0x1350f8(0x3c0)]-0x1}}})),{'undos':_0x34e4fe,'redos':_0x2b3f03};}function _0x2b29ba(_0x3d7f5c){let _0x1184a9=0x0;for(let _0x1da6dc=0x0;_0x1da6dc<_0x3d7f5c['length'];_0x1da6dc++){const _0x1b0237=_0x3d7f5c['charCodeAt'](_0x1da6dc);_0x1b0237>=0x4e00&&_0x1b0237<=0x9fff||_0x1b0237>=0x3000&&_0x1b0237<=0x303f||_0x1b0237>=0xff00&&_0x1b0237<=0xffef?_0x1184a9+=0x2:_0x1184a9+=0x1;}return _0x1184a9;}function _0x29e176(_0x1314aa,_0x70186c,_0x2c41f1,_0x25478c){const _0x1075d6=_0xebbe60;var _0x5e77d0,_0x283c79,_0x567476,_0x33b407;const {rowCount:_0x3df7a2,colCount:_0x4db0bf,headerMap:_0x22957b}=_0x1314aa,_0x136966=0x64,_0x36a87d=Math[_0x1075d6(0x3b5)](_0x3df7a2,_0x136966),_0x3f4778=Math[_0x1075d6(0x3b5)](_0x4db0bf,_0x136966);let _0x13013a='',_0x37bf49=0x0;for(let _0x394e9b=0x0;_0x394e9b<_0x36a87d;_0x394e9b++)for(let _0x3d667d=0x0;_0x3d667d<_0x3f4778;_0x3d667d++){const _0x8d5b61={...(_0x283c79=(_0x5e77d0=_0x1314aa[_0x1075d6(0x3fa)])==null?void 0x0:_0x5e77d0[_0x394e9b])==null?void 0x0:_0x283c79[_0x3d667d]},_0x434628=(_0x567476=_0x22957b[_0x394e9b])==null?void 0x0:_0x567476[_0x1075d6(0x16a)],_0x3677aa=_0x25478c[_0x434628];let _0x571157=_0x1314aa[_0x1075d6(0x247)](_0x394e9b,_0x3d667d);if(_0x8d5b61){const _0x39cb04=_0x2c41f1?_0x3d667d===0x0&&((_0x33b407=_0x1314aa[_0x1075d6(0x2ba)](_0x3d667d+0x1))==null?void 0x0:_0x33b407['isValue']):!0x1;_0x571157=_0x48fce5(_0x8d5b61,_0x39cb04,_0x3677aa,_0x70186c);}if(_0x571157!==void 0x0){const _0x319b5a=_0x2b29ba(String(_0x571157));_0x37bf49<_0x319b5a&&(_0x13013a=String(_0x571157),_0x37bf49=_0x319b5a);}}return _0x13013a;}function _0x5a749b(_0x541085){const _0x25b3f4=_0xebbe60,{rowCount:_0x194e1b,colCount:_0x19b40c}=_0x541085;let _0x8541be='',_0x5b997a=0x0;for(let _0x278c23=_0x194e1b-0x1;_0x278c23>0x0&&_0x278c23>_0x194e1b-0x3;_0x278c23--)for(let _0xd5ad0c=0x0;_0xd5ad0c<_0x19b40c;_0xd5ad0c++){const _0x17dbd9=_0x541085[_0x25b3f4(0x247)](_0x278c23,_0xd5ad0c);if(_0x17dbd9!==void 0x0){const _0x282bf8=String(_0x17dbd9)[_0x25b3f4(0x20e)];_0x5b997a<_0x282bf8&&(_0x8541be=String(_0x17dbd9),_0x5b997a=_0x282bf8);}}return _0x8541be;}function _0x2998ae(_0x3c23df){const _0x2352c9=_0xebbe60,{rowCount:_0x229e59,colCount:_0xb23395}=_0x3c23df;let _0xb50c50='',_0x282d5b=0x0;for(let _0x406091=0x0;_0x406091<_0x229e59;_0x406091++)for(let _0x348777=0x0;_0x348777<_0xb23395;_0x348777++){const _0x56798e=_0x3c23df[_0x2352c9(0x247)](_0x406091,_0x348777);if(_0x56798e!==void 0x0){const _0x4f1b90=String(_0x56798e)[_0x2352c9(0x20e)];_0x282d5b<_0x4f1b90&&(_0xb50c50=String(_0x56798e),_0x282d5b=_0x4f1b90);}}return _0xb50c50;}function _0x3eeffd(_0x26a383,_0x375310){const _0x49a020=_0xebbe60,{rowFields:_0x373037,columnFields:_0x347033,valueFields:_0x4bd370,filterFields:_0x473786,dimension:_0x1fe352,measure:_0x59aada}=_0x375310;for(const _0x415346 of _0x373037){const _0x173087=_0x1fe352[_0x415346];_0x173087&&_0x26a383['getDataFieldByDataFieldId'](_0x173087['dataFieldId'])&&(_0x26a383[_0x49a020(0x384)](_0x173087[_0x49a020(0x27b)],_0x62e76f[_0x49a020(0x446)][_0x49a020(0x1e1)],void 0x0,_0x415346),_0x173087[_0x49a020(0x25a)]&&_0x26a383[_0x49a020(0x3d2)](_0x173087['id'],_0x173087[_0x49a020(0x25a)]),_0x173087[_0x49a020(0x23b)]&&_0x26a383[_0x49a020(0x18b)](_0x173087['id'],_0x173087[_0x49a020(0x23b)]),_0x173087['filterInfo']&&_0x26a383[_0x49a020(0x46f)](_0x173087['id'],_0x173087[_0x49a020(0x352)]));}for(const _0x4a5bfb of _0x347033){const _0x3b5ca2=_0x1fe352[_0x4a5bfb];_0x3b5ca2&&_0x26a383[_0x49a020(0x2e0)](_0x3b5ca2[_0x49a020(0x27b)])&&(_0x26a383[_0x49a020(0x384)](_0x3b5ca2[_0x49a020(0x27b)],_0x62e76f[_0x49a020(0x446)]['Column'],void 0x0,_0x4a5bfb),_0x3b5ca2[_0x49a020(0x23b)]&&_0x26a383[_0x49a020(0x18b)](_0x3b5ca2['id'],_0x3b5ca2['sortInfo']),_0x3b5ca2['filterInfo']&&_0x26a383[_0x49a020(0x46f)](_0x3b5ca2['id'],_0x3b5ca2['filterInfo']),_0x3b5ca2[_0x49a020(0x25a)]&&_0x26a383[_0x49a020(0x3d2)](_0x3b5ca2['id'],_0x3b5ca2['displayName']));}for(const _0x59f2ea of _0x473786){const _0x152607=_0x1fe352[_0x59f2ea];_0x152607&&_0x26a383[_0x49a020(0x2e0)](_0x152607[_0x49a020(0x27b)])&&(_0x26a383[_0x49a020(0x384)](_0x152607[_0x49a020(0x27b)],_0x62e76f[_0x49a020(0x446)][_0x49a020(0x186)],void 0x0,_0x59f2ea),_0x152607['sortInfo']&&_0x26a383[_0x49a020(0x18b)](_0x152607['id'],_0x152607[_0x49a020(0x23b)]),_0x152607[_0x49a020(0x352)]&&_0x26a383[_0x49a020(0x46f)](_0x152607['id'],_0x152607[_0x49a020(0x352)]),_0x152607[_0x49a020(0x25a)]&&_0x26a383[_0x49a020(0x3d2)](_0x152607['id'],_0x152607[_0x49a020(0x25a)]));}for(const _0x5e1744 of _0x4bd370){const _0x40d95c=_0x59aada[_0x5e1744];_0x40d95c&&_0x26a383[_0x49a020(0x2e0)](_0x40d95c['dataFieldId'])&&(_0x26a383['addFieldWithSourceId'](_0x40d95c[_0x49a020(0x27b)],_0x62e76f[_0x49a020(0x446)][_0x49a020(0x1c2)],void 0x0,_0x5e1744),_0x40d95c['subtotal']!==void 0x0&&_0x26a383['setSubtotalType'](_0x5e1744,_0x40d95c[_0x49a020(0x3fd)]),_0x40d95c[_0x49a020(0x39f)]&&_0x26a383['setFieldFormat'](_0x5e1744,_0x40d95c[_0x49a020(0x39f)]),_0x40d95c[_0x49a020(0x25a)]&&_0x26a383['renameField'](_0x40d95c['id'],_0x40d95c[_0x49a020(0x25a)]));}const _0x3de372=_0x375310['valueFilter'];for(const {fieldId:_0x2f9c5b,filterInfo:_0x59b8d1}of _0x3de372)_0x26a383['setValueFilterInfo'](_0x2f9c5b,_0x59b8d1);}function _0x29a693(_0x34c0b8,_0x12eb5e){const _0x4f72c9=_0xebbe60,_0x139344=[];_0x12eb5e===_0x62e76f[_0x4f72c9(0x446)]['Row']&&_0x34c0b8[_0x4f72c9(0x322)](_0x62e76f[_0x4f72c9(0x446)][_0x4f72c9(0x1e1)],_0xd944b0=>{_0x139344['push'](_0xd944b0['getId']());}),_0x12eb5e===_0x62e76f[_0x4f72c9(0x446)][_0x4f72c9(0x30f)]&&_0x34c0b8['iterateFieldByArea'](_0x62e76f[_0x4f72c9(0x446)][_0x4f72c9(0x30f)],_0x13ec01=>{const _0x1eee58=_0x4f72c9;_0x139344[_0x1eee58(0x304)](_0x13ec01['getId']());}),_0x12eb5e===_0x62e76f[_0x4f72c9(0x446)]['Filter']&&_0x34c0b8[_0x4f72c9(0x322)](_0x62e76f[_0x4f72c9(0x446)][_0x4f72c9(0x186)],_0xd6f2e1=>{const _0x1452c1=_0x4f72c9;_0x139344['push'](_0xd6f2e1[_0x1452c1(0x2e2)]());}),_0x12eb5e===_0x62e76f[_0x4f72c9(0x446)][_0x4f72c9(0x1c2)]&&_0x34c0b8['iterateFieldByArea'](_0x62e76f['PivotTableFiledAreaEnum'][_0x4f72c9(0x1c2)],_0x49b412=>{const _0xa6959b=_0x4f72c9;_0x139344[_0xa6959b(0x304)](_0x49b412[_0xa6959b(0x2e2)]());}),_0x12eb5e===void 0x0&&_0x34c0b8['iterateField'](_0x4b2520=>{const _0xa11206=_0x4f72c9;_0x139344[_0xa11206(0x304)](_0x4b2520[_0xa11206(0x2e2)]());});const _0x366bb3=_0x139344[_0x4f72c9(0x20e)];for(let _0x4cde5d=_0x366bb3-0x1;_0x4cde5d>=0x0;_0x4cde5d--)_0x34c0b8[_0x4f72c9(0x2d4)](_0x139344[_0x4cde5d]);const _0x4197ed=_0x34c0b8[_0x4f72c9(0x406)]();for(const _0x3786d3 in _0x4197ed)_0x34c0b8[_0x4f72c9(0x329)](_0x3786d3);}function _0x403f14(_0x268b84,_0x5646b7){const _0x5ec357=_0xebbe60,_0x57f9f8=new Date(_0x62e76f[_0x5ec357(0x3ad)](_0x5646b7)),_0x36aaa6=new Date(_0x62e76f[_0x5ec357(0x3ad)](_0x268b84)),_0x578e98=_0x57f9f8[_0x5ec357(0x19f)](),_0x165b3d=_0x36aaa6[_0x5ec357(0x19f)](),_0x21863e=_0x57f9f8[_0x5ec357(0x2be)](),_0x1cbbb7=_0x36aaa6[_0x5ec357(0x2be)](),_0x23cc71=_0x57f9f8['getDate'](),_0x3920b3=_0x36aaa6[_0x5ec357(0x3d8)](),_0x5278c0=_0x578e98===_0x165b3d,_0x19c714=_0x5278c0&&_0x21863e===_0x1cbbb7;return _0x5278c0&&_0x19c714&&!(_0x19c714&&_0x23cc71===_0x3920b3)?_0x62e76f['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x5278c0&&!_0x19c714?_0x62e76f[_0x5ec357(0x252)][_0x5ec357(0x400)]:_0x62e76f['PivotDateGroupFieldDateTypeEnum'][_0x5ec357(0x3bc)];}function _0x293f53(_0xb36108,_0x5586f1){const _0x5cb0d7=_0xebbe60,_0x4f6407=_0xb36108[_0x5cb0d7(0x1ad)](_0xc5aaf7[_0x5cb0d7(0x19c)])['getTextInfo']();let _0x2e94bc='';switch(_0x5586f1){case _0x62e76f['PivotDateGroupFieldDateTypeEnum']['YearMonthDate']:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x1a2)];break;case _0x62e76f['PivotDateGroupFieldDateTypeEnum'][_0x5cb0d7(0x400)]:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x3bf)];break;case _0x62e76f[_0x5cb0d7(0x252)][_0x5cb0d7(0x3bc)]:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x1a0)];break;case _0x62e76f[_0x5cb0d7(0x252)][_0x5cb0d7(0x2f4)]:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x1f4)];break;case _0x62e76f[_0x5cb0d7(0x252)][_0x5cb0d7(0x278)]:_0x2e94bc=_0x4f6407['sheets-pivot.dateGroup.quarter'];break;case _0x62e76f['PivotDateGroupFieldDateTypeEnum'][_0x5cb0d7(0x2f2)]:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x225)];break;case _0x62e76f['PivotDateGroupFieldDateTypeEnum'][_0x5cb0d7(0x356)]:_0x2e94bc=_0x4f6407['sheets-pivot.dateGroup.hourMinute'];break;case _0x62e76f[_0x5cb0d7(0x252)]['Hour']:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x1db)];break;case _0x62e76f['PivotDateGroupFieldDateTypeEnum'][_0x5cb0d7(0x37e)]:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x2dc)];break;case _0x62e76f[_0x5cb0d7(0x252)][_0x5cb0d7(0x2ed)]:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x246)];break;case _0x62e76f['PivotDateGroupFieldDateTypeEnum'][_0x5cb0d7(0x420)]:_0x2e94bc=_0x4f6407[_0x5cb0d7(0x1b9)];break;default:_0x2e94bc='';break;}return _0x2e94bc;}const _0x44865d=_0xebbe60(0x2b0),_0x540bcf={};var _0x45dc92=Object[_0xebbe60(0x42b)],_0x1d1ffa=(_0x1eeb77,_0x25e0f9,_0x5b71b7,_0x4bcd2c)=>{for(var _0x46801f=_0x4bcd2c>0x1?void 0x0:_0x4bcd2c?_0x45dc92(_0x25e0f9,_0x5b71b7):_0x25e0f9,_0x1603d7=_0x1eeb77['length']-0x1,_0x2cd56;_0x1603d7>=0x0;_0x1603d7--)(_0x2cd56=_0x1eeb77[_0x1603d7])&&(_0x46801f=_0x2cd56(_0x46801f)||_0x46801f);return _0x46801f;},_0x17f311=(_0x2d2cb8,_0x225334)=>(_0x713376,_0x2126dc)=>_0x225334(_0x713376,_0x2126dc,_0x2d2cb8);_0xc5aaf7[_0xebbe60(0x1f0)]=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x56be2b,_0x3a4758,_0x8a819c,_0x5157de,_0x3d00db){const _0x23eaad=_0xebbe60;super(),_0x59516b(this,_0x23eaad(0x282),new Map()),_0x59516b(this,_0x23eaad(0x367),new Map()),_0x59516b(this,_0x23eaad(0x2cd),new Map()),_0x59516b(this,_0x23eaad(0x191),new Map()),_0x59516b(this,_0x23eaad(0x21f),new _0x3875b2['Subject']()),_0x59516b(this,_0x23eaad(0x359),new _0x3875b2[(_0x23eaad(0x209))]()),_0x59516b(this,'pivotInitCompleted$',this['_pivotInitCompleted$'][_0x23eaad(0x2df)]()),_0x59516b(this,_0x23eaad(0x1cf),new _0x3875b2[(_0x23eaad(0x209))]()),_0x59516b(this,_0x23eaad(0x215),this[_0x23eaad(0x1cf)][_0x23eaad(0x2df)]()),_0x59516b(this,_0x23eaad(0x41d),{}),_0x59516b(this,_0x23eaad(0x2fa),this[_0x23eaad(0x21f)][_0x23eaad(0x2df)]()),(this[_0x23eaad(0x2c3)]=_0x56be2b,this[_0x23eaad(0x234)]=_0x3a4758,this[_0x23eaad(0x265)]=_0x8a819c,this[_0x23eaad(0x469)]=_0x5157de,this[_0x23eaad(0x194)]=_0x3d00db,this[_0x23eaad(0x382)](),this['_initUnitDisposed']());const _0x351353=this[_0x23eaad(0x194)][_0x23eaad(0x21d)](_0x44865d);(_0x351353==null?void 0x0:_0x351353['notExecuteFormula'])===!0x0&&this[_0x23eaad(0x1b6)]();}[_0xebbe60(0x44a)](){const _0x1b17da=_0xebbe60;this[_0x1b17da(0x271)](this[_0x1b17da(0x265)]['getTypeOfUnitDisposed$'](_0x5136e7['UniverInstanceType']['UNIVER_SHEET'])['subscribe'](_0x37a4a4=>{const _0xb16f86=_0x1b17da;this[_0xb16f86(0x2c1)](_0x37a4a4[_0xb16f86(0x3b2)]());}));}[_0xebbe60(0x1f5)](){const _0x1afd47=_0xebbe60;this[_0x1afd47(0x359)][_0x1afd47(0x18e)](!0x0);}['_initLocale'](){const _0x235e4a=_0xebbe60,_0x413483=_0x39be36(this[_0x235e4a(0x2c3)],_0x546861,'',{});this[_0x235e4a(0x41d)]=_0x413483,this[_0x235e4a(0x234)]['executeCommand'](_0x553ec5['id'],{'textInfo':_0x413483},{'onlyLocal':!0x0});}['getTextInfo'](){const _0x2d21c7=_0xebbe60;return this[_0x2d21c7(0x41d)];}[_0xebbe60(0x2fd)](_0x426d8a,_0x2212ba,_0x596f4d,_0x32d2f8,_0x4a1fad){const _0x56c17b=_0xebbe60;this[_0x56c17b(0x27a)](_0x426d8a,_0x2212ba,_0x596f4d,_0x32d2f8),this['updatePivotTableRangeInfo'](_0x426d8a,_0x2212ba,_0x596f4d,_0x4a1fad);}[_0xebbe60(0x358)](_0x215682,_0x52e00d,_0x1a3ca6){const _0x446db7=_0xebbe60;var _0x528679;const _0x204ed7=(_0x528679=this['_model']['get'](_0x215682))==null?void 0x0:_0x528679['get'](_0x52e00d);if(_0x204ed7)return _0x204ed7[_0x446db7(0x1ad)](_0x1a3ca6);}['getTargetByPivotTableId'](_0x817bf2,_0x3c5db7){const _0x591ce0=_0xebbe60,_0x4d7555=this['_model'][_0x591ce0(0x1ad)](_0x817bf2);if(_0x4d7555){for(const [_0x5a5752,_0x27c97]of _0x4d7555[_0x591ce0(0x179)]())for(const [_0x213321,_0x3c9b33]of _0x27c97[_0x591ce0(0x179)]())if(_0x213321===_0x3c5db7)return _0x3c9b33[_0x591ce0(0x31c)];}}['getTargetByPivotId'](_0x20db7d,_0x7eb3bf,_0x426a11){const _0x524879=_0xebbe60,_0x485459=this[_0x524879(0x358)](_0x20db7d,_0x7eb3bf,_0x426a11);return _0x485459==null?void 0x0:_0x485459[_0x524879(0x31c)];}['getSubUnitPivotConfigs'](_0x40ae80,_0x31cbae){const _0xffb39c=_0xebbe60;var _0x30498c;return(_0x30498c=this[_0xffb39c(0x282)][_0xffb39c(0x1ad)](_0x40ae80))==null?void 0x0:_0x30498c[_0xffb39c(0x1ad)](_0x31cbae);}['updateConfigCache'](_0x48de93,_0x5e480d,_0x2ad44a,_0x346b28){const _0x9dd633=_0xebbe60,_0x1001ff=this[_0x9dd633(0x433)](_0x48de93,_0x5e480d);_0x346b28?_0x1001ff[_0x9dd633(0x3db)](_0x2ad44a,_0x346b28):_0x1001ff[_0x9dd633(0x1af)](_0x2ad44a),this[_0x9dd633(0x1cf)][_0x9dd633(0x18e)]({'unitId':_0x48de93,'subUnitId':_0x5e480d,'pivotTableId':_0x2ad44a,'pivotTableConfig':_0x346b28});}[_0xebbe60(0x3b0)](_0x36a711,_0x5a1647){const _0xf23481=_0xebbe60;var _0x2be3f8;return(_0x2be3f8=this[_0xf23481(0x367)][_0xf23481(0x1ad)](_0x36a711))==null?void 0x0:_0x2be3f8[_0xf23481(0x321)][_0x5a1647];}[_0xebbe60(0x35a)](_0x468c0a,_0xfc1561){const _0x25908f=_0xebbe60;this['_collectionConfigModel'][_0x25908f(0x3db)](_0x468c0a,_0xfc1561),this[_0x25908f(0x21f)][_0x25908f(0x18e)](Math[_0x25908f(0x1e7)]());}[_0xebbe60(0x433)](_0x7432ba,_0x2d2018){const _0x4b2ef2=_0xebbe60;let _0x4c24cf=this['_model'][_0x4b2ef2(0x1ad)](_0x7432ba);_0x4c24cf||(_0x4c24cf=new Map(),this[_0x4b2ef2(0x282)][_0x4b2ef2(0x3db)](_0x7432ba,_0x4c24cf));let _0xe11472=_0x4c24cf[_0x4b2ef2(0x1ad)](_0x2d2018);return _0xe11472||(_0xe11472=new Map(),_0x4c24cf[_0x4b2ef2(0x3db)](_0x2d2018,_0xe11472)),_0xe11472;}[_0xebbe60(0x1f3)](_0x1c59e3,_0x48352a){const _0x470692=_0xebbe60;let _0x398de7=this[_0x470692(0x2cd)][_0x470692(0x1ad)](_0x1c59e3);_0x398de7||(_0x398de7=new Map(),this[_0x470692(0x2cd)][_0x470692(0x3db)](_0x1c59e3,_0x398de7));let _0x515c1c=_0x398de7['get'](_0x48352a);return _0x515c1c||(_0x515c1c=new Map(),_0x398de7[_0x470692(0x3db)](_0x48352a,_0x515c1c)),_0x515c1c;}[_0xebbe60(0x383)](_0x3f08d7,_0xad20e2){const _0x2e8d7d=_0xebbe60;let _0x4f6645=this[_0x2e8d7d(0x191)][_0x2e8d7d(0x1ad)](_0x3f08d7);_0x4f6645||(_0x4f6645=new Map(),this['_pivotTableMatrixInfo'][_0x2e8d7d(0x3db)](_0x3f08d7,_0x4f6645));let _0x35cbe8=_0x4f6645['get'](_0xad20e2);return _0x35cbe8||(_0x35cbe8=new Map(),_0x4f6645[_0x2e8d7d(0x3db)](_0xad20e2,_0x35cbe8)),_0x35cbe8;}[_0xebbe60(0x3a1)](_0x1c47f9,_0x1cc866,_0x24c1b4,_0x3fd7e8){const _0x3500e2=_0xebbe60;var _0x1642fd;const _0x59cf08=this[_0x3500e2(0x1f3)](_0x1c47f9,_0x1cc866),_0x2a7dc6=(_0x1642fd=_0x59cf08['get'](_0x24c1b4))==null?void 0x0:_0x1642fd[_0x3500e2(0x299)];_0x59cf08[_0x3500e2(0x3db)](_0x24c1b4,{'oldRangeInfo':_0x2a7dc6,'rangeInfo':_0x3fd7e8});}[_0xebbe60(0x27a)](_0x5e5a18,_0x3c6d77,_0x995ee6,_0x2394df){const _0x3e1ea6=_0xebbe60;var _0x9823c1;const _0x535b3f=this['_ensurePivotTableMatrixInfo'](_0x5e5a18,_0x3c6d77),_0x16f902=(_0x9823c1=_0x535b3f[_0x3e1ea6(0x1ad)](_0x995ee6))==null?void 0x0:_0x9823c1[_0x3e1ea6(0x1a5)];_0x535b3f[_0x3e1ea6(0x3db)](_0x995ee6,{'oldMatrix':_0x16f902,'matrix':_0x2394df});}[_0xebbe60(0x1cd)](_0x3a447f,_0x1a91ff,_0x2f69ea){const _0x3d808b=_0xebbe60;var _0x586f04,_0x4f5ae9;return(_0x4f5ae9=(_0x586f04=this[_0x3d808b(0x2cd)][_0x3d808b(0x1ad)](_0x3a447f))==null?void 0x0:_0x586f04[_0x3d808b(0x1ad)](_0x1a91ff))==null?void 0x0:_0x4f5ae9[_0x3d808b(0x1ad)](_0x2f69ea);}[_0xebbe60(0x192)](_0x5c3dba,_0x1f47df,_0x12931b){const _0x366b01=_0xebbe60;var _0xe5e90f,_0x310867;return(_0x310867=(_0xe5e90f=this[_0x366b01(0x191)]['get'](_0x5c3dba))==null?void 0x0:_0xe5e90f['get'](_0x1f47df))==null?void 0x0:_0x310867[_0x366b01(0x1ad)](_0x12931b);}[_0xebbe60(0x2c1)](_0x1cc200){const _0x1dd8f2=_0xebbe60;this[_0x1dd8f2(0x282)]['delete'](_0x1cc200),this[_0x1dd8f2(0x367)]['delete'](_0x1cc200);}[_0xebbe60(0x2ca)](_0x99a52d){const _0x950499=_0xebbe60,_0x54f180={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this[_0x950499(0x367)][_0x950499(0x1ad)](_0x99a52d)&&(_0x54f180[_0x950499(0x190)][_0x99a52d]=this[_0x950499(0x367)][_0x950499(0x1ad)](_0x99a52d)),this['_model'][_0x950499(0x1ad)](_0x99a52d)){_0x54f180[_0x950499(0x335)][_0x99a52d]={};const _0x8d47c7=this['_model']['get'](_0x99a52d);_0x8d47c7!=null&&_0x8d47c7['size']&&[..._0x8d47c7[_0x950499(0x287)]()][_0x950499(0x1a8)](_0x12ab78=>{const _0x57914a=_0x950499,_0x4103ac=_0x8d47c7[_0x57914a(0x1ad)](_0x12ab78);_0x4103ac!=null&&_0x4103ac[_0x57914a(0x30a)]&&(_0x54f180[_0x57914a(0x335)][_0x99a52d][_0x12ab78]={},[..._0x4103ac[_0x57914a(0x287)]()][_0x57914a(0x1a8)](_0x43fb0c=>{const _0x20d456=_0x57914a,_0x5b35f1=_0x4103ac['get'](_0x43fb0c);_0x5b35f1&&(_0x54f180[_0x20d456(0x335)][_0x99a52d][_0x12ab78][_0x43fb0c]=_0x5b35f1);}));});}return _0x54f180;}['_initSnapshot'](){const _0x40034f=_0xebbe60;this[_0x40034f(0x271)](this[_0x40034f(0x469)][_0x40034f(0x28e)]({'toJson':_0x3b4b68=>JSON[_0x40034f(0x31e)](this['_toJSON'](_0x3b4b68)),'parseJson':_0x4f1fcb=>({}),'businesses':[_0x5136e7[_0x40034f(0x26f)][_0x40034f(0x212)]],'pluginName':_0x28e04e,'onLoad':(_0x13f0f1,_0x5584b5)=>{},'onUnLoad':_0x235a09=>{this['deleteUnitId'](_0x235a09);}}));}},_0xc5aaf7['SheetsPivotTableConfigModel']=_0x1d1ffa([_0x17f311(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x1f7)])),_0x17f311(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x43b)])),_0x17f311(0x2,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x31b)])),_0x17f311(0x3,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x332)])),_0x17f311(0x4,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7['IConfigService']))],_0xc5aaf7[_0xebbe60(0x1f0)]);var _0xea99ca=Object['getOwnPropertyDescriptor'],_0x16b2bb=(_0x322bb6,_0x4b825e,_0x323b12,_0x4139e9)=>{const _0x4156bb=_0xebbe60;for(var _0x2c679e=_0x4139e9>0x1?void 0x0:_0x4139e9?_0xea99ca(_0x4b825e,_0x323b12):_0x4b825e,_0x442f83=_0x322bb6[_0x4156bb(0x20e)]-0x1,_0x3e2479;_0x442f83>=0x0;_0x442f83--)(_0x3e2479=_0x322bb6[_0x442f83])&&(_0x2c679e=_0x3e2479(_0x2c679e)||_0x2c679e);return _0x2c679e;},_0x2ce908=(_0x198297,_0x8f4377)=>(_0x4a866d,_0x153583)=>_0x8f4377(_0x4a866d,_0x153583,_0x198297);_0xc5aaf7[_0xebbe60(0x3f7)]=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x3cc9e3,_0x3d5853,_0x3e5621,_0x434465,_0x5afae1){const _0x234410=_0xebbe60;super(),_0x59516b(this,'_pivotRenderInfoCache',new Map()),_0x59516b(this,_0x234410(0x30c),new Map()),_0x59516b(this,_0x234410(0x3de),new _0x3875b2['Subject']()),_0x59516b(this,'markDirty$',this[_0x234410(0x3de)][_0x234410(0x2df)]()),_0x59516b(this,_0x234410(0x17e),new _0x3875b2[(_0x234410(0x209))]()),_0x59516b(this,_0x234410(0x390),this[_0x234410(0x17e)][_0x234410(0x2df)]()),_0x59516b(this,_0x234410(0x41d)),(this['_localeService']=_0x3cc9e3,this['_injector']=_0x3d5853,this[_0x234410(0x25b)]=_0x3e5621,this[_0x234410(0x265)]=_0x434465,this[_0x234410(0x16c)]=_0x5afae1,this[_0x234410(0x382)](),this[_0x234410(0x44a)]());}['_initUnitDisposed'](){const _0x170918=_0xebbe60;this[_0x170918(0x271)](this[_0x170918(0x265)][_0x170918(0x33d)](_0x5136e7[_0x170918(0x26f)][_0x170918(0x212)])[_0x170918(0x30d)](_0x44d5cc=>{const _0x4da2b0=_0x170918;this[_0x4da2b0(0x2c1)](_0x44d5cc['getUnitId']());}));}['_initLocale'](){const _0x49877b=_0xebbe60;this[_0x49877b(0x41d)]=_0x39be36(this[_0x49877b(0x2c3)],_0x546861,'',{});}[_0xebbe60(0x418)](_0x21800e){const _0xbb2ab4=_0xebbe60,{view:_0x3cd3c1,unitId:_0x147656,subUnitId:_0x2bdb0d,pivotTableId:_0x39b649,type:_0x4c27b4}=_0x21800e,_0xd80a16=this[_0xbb2ab4(0x25b)][_0xbb2ab4(0x358)](_0x147656,_0x2bdb0d,_0x39b649);if(!_0x3cd3c1||!_0xd80a16||_0x4c27b4===_0x41401b[_0xbb2ab4(0x2c4)])return;const {pageView:_0x542f96,cornerView:_0x5cb6d1,rowView:_0x3f8c41,colView:_0x33f3c6,dataView:_0x59ba07}=_0x3cd3c1,_0x54a6af=_0xd80a16[_0xbb2ab4(0x31c)],_0x36aad6=_0xd80a16[_0xbb2ab4(0x1c7)],_0x37f68e=this[_0xbb2ab4(0x349)](_0x147656,_0x2bdb0d),_0xd03064=this['_ensurePivotItemRenderInfoCache'](_0x147656,_0x2bdb0d,_0x39b649);if(_0x36aad6)return this[_0xbb2ab4(0x258)](_0x21800e,_0x37f68e,_0x54a6af,_0xd03064);{const _0x2f4294=_0x5d5414(_0x54a6af,_0x542f96,!0x0),_0x73d2da=_0x542f96['lastRow']>=0x0?_0x542f96[_0xbb2ab4(0x43a)]+0x1:0x0,_0x4b299a=_0x5cb6d1[_0xbb2ab4(0x38c)](),_0x1eab1d=_0x5cb6d1[_0xbb2ab4(0x395)](),_0x4f7687=_0x2f4294['length']>0x0?_0x2e0cc2:0x0,_0x3d7574=_0x5d5414({'row':_0x54a6af[_0xbb2ab4(0x183)]+_0x73d2da+_0x4f7687,'col':_0x54a6af[_0xbb2ab4(0x1c6)]},_0x5cb6d1,!0x1,!0x1),_0x33992b=_0x5d5414({'row':_0x54a6af[_0xbb2ab4(0x183)]+_0x73d2da+_0x4f7687+_0x4b299a,'col':_0x54a6af[_0xbb2ab4(0x1c6)]},_0x3f8c41,!0x1,!0x0),_0x39606a=_0x5d5414({'row':_0x54a6af['row']+_0x73d2da+_0x4f7687,'col':_0x54a6af[_0xbb2ab4(0x1c6)]+_0x1eab1d},_0x33f3c6,!0x1,!0x0),_0x101809=_0x5d5414({'row':_0x54a6af[_0xbb2ab4(0x183)]+_0x73d2da+_0x4f7687+_0x4b299a,'col':_0x54a6af[_0xbb2ab4(0x1c6)]+_0x1eab1d},_0x59ba07,!0x1,!0x1);_0xd03064[_0xbb2ab4(0x37d)]={'rowRanges':_0x33992b,'colRanges':_0x39606a,'cornerRanges':_0x3d7574,'dataRanges':_0x101809,'pageRanges':_0x2f4294};const _0x3921fa=_0x3a0af5(this[_0xbb2ab4(0x2c3)],_0x3cd3c1,_0xd80a16,this[_0xbb2ab4(0x41d)]),{valueMatrix:_0x520500,rowInfo:_0xcf746f,colInfo:_0x3871fb,cornerInfo:_0x4ba373,rowHeaderMap:_0x5250f2,colHeaderMap:_0x55823c}=_0x3921fa;return _0xd03064[_0xbb2ab4(0x35b)]={'rowInfo':_0xcf746f,'colInfo':_0x3871fb,'cornerInfo':_0x4ba373},_0xd03064[_0xbb2ab4(0x463)]={'rowHeaderMap':_0x5250f2,'colHeaderMap':_0x55823c},_0x520500[_0xbb2ab4(0x1a8)]((_0x39bfe8,_0x5b7f25)=>{Object['keys'](_0x5b7f25)['forEach'](_0x1cf656=>{const _0x3522d9=_0x39dd,_0x70a749=+_0x1cf656,_0x3cf22d=_0x520500[_0x3522d9(0x247)](_0x39bfe8,_0x70a749);_0x37f68e['setValue'](_0x39bfe8,_0x70a749,_0x3cf22d);});}),this[_0xbb2ab4(0x17e)][_0xbb2ab4(0x18e)]({'unitId':_0x147656,'subUnitId':_0x2bdb0d,'valueMatrix':_0x37f68e,'rangesCache':_0xd03064[_0xbb2ab4(0x37d)],'pivotTableId':_0x39b649,'type':_0x21800e[_0xbb2ab4(0x43d)]}),this[_0xbb2ab4(0x25b)][_0xbb2ab4(0x2fd)](_0x147656,_0x2bdb0d,_0x39b649,_0x37f68e,_0xd03064[_0xbb2ab4(0x37d)]),this[_0xbb2ab4(0x16c)][_0xbb2ab4(0x22c)](_0x147656,_0x2bdb0d,_0x38eedf,this[_0xbb2ab4(0x3cb)](_0xd03064[_0xbb2ab4(0x37d)],_0x39b649)),{'rangeCache':_0xd03064['rangesInfo'],'matrix':_0x37f68e};}}[_0xebbe60(0x258)](_0x4d77d0,_0x42f74b,_0x4177d9,_0xe086ff){const _0x75ed74=_0xebbe60,_0x1c6397=this[_0x75ed74(0x19b)]['t'],{unitId:_0x18fe1a,subUnitId:_0x2ecef4,pivotTableId:_0x35fd1a}=_0x4d77d0,_0x32ae01={'filter':_0x1c6397('sheets-pivot.emptyPivot.filter'),'row':_0x1c6397('sheets-pivot.emptyPivot.row'),'column':_0x1c6397(_0x75ed74(0x305)),'values':_0x1c6397('sheets-pivot.emptyPivot.values')},{matrixCache:_0x3e6965,rangesCache:_0x3f3118}=_0x59be4f(_0x32ae01,_0x4177d9);return _0x3e6965[_0x75ed74(0x410)]((_0x5f52a9,_0x466433,_0xd10f4)=>{_0x42f74b['setValue'](_0x5f52a9,_0x466433,_0xd10f4);}),_0xe086ff['rangesInfo']=_0x3f3118,this[_0x75ed74(0x17e)]['next']({'unitId':_0x18fe1a,'subUnitId':_0x2ecef4,'valueMatrix':_0x42f74b,'rangesCache':_0x3f3118,'pivotTableId':_0x35fd1a,'type':_0x4d77d0[_0x75ed74(0x43d)],'isEmpty':!0x0}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x18fe1a,_0x2ecef4,_0x35fd1a,_0x42f74b,_0x3f3118),this[_0x75ed74(0x16c)]['addExclusiveRange'](_0x18fe1a,_0x2ecef4,_0x38eedf,this[_0x75ed74(0x3cb)](_0x3f3118,_0x35fd1a)),{'rangeCache':_0xe086ff[_0x75ed74(0x37d)],'matrix':_0x42f74b};}[_0xebbe60(0x3cb)](_0x4b3d53,_0x498449){const _0x4cc99a=_0xebbe60,_0xf5fc4f=[],_0x7148d4=_0x48ff3b(_0x4b3d53);for(const _0x310573 of _0x7148d4)_0xf5fc4f[_0x4cc99a(0x304)]({'groupId':_0x498449,'range':_0x310573});return _0xf5fc4f;}[_0xebbe60(0x1b4)](_0x12023e){const _0x30cfcb=_0xebbe60;var _0xc5604e,_0x3e1f84,_0x1e73e9,_0x185f12;const {pivotTableId:_0x52ae76,unitId:_0xb7ef41,subUnitId:_0x45691e}=_0x12023e;if(!_0x52ae76||!_0xb7ef41||!_0x45691e)return;const _0x27aa5f=this[_0x30cfcb(0x349)](_0xb7ef41,_0x45691e),_0x2be078=(_0x3e1f84=(_0xc5604e=this[_0x30cfcb(0x3eb)][_0x30cfcb(0x1ad)](_0xb7ef41))==null?void 0x0:_0xc5604e[_0x30cfcb(0x1ad)](_0x45691e))==null?void 0x0:_0x3e1f84[_0x30cfcb(0x1ad)](_0x52ae76);if(_0x2be078!=null&&_0x2be078[_0x30cfcb(0x37d)]){for(const _0x3a7e80 of Object['keys'](_0x2be078['rangesInfo']))_0x2be078[_0x30cfcb(0x37d)][_0x3a7e80][_0x30cfcb(0x1a8)](_0x3ab426=>{const _0x346fcc=_0x30cfcb;for(let _0x988e3e=_0x3ab426[_0x346fcc(0x306)];_0x988e3e<=_0x3ab426[_0x346fcc(0x325)];_0x988e3e++)for(let _0x1ac238=_0x3ab426[_0x346fcc(0x2bf)];_0x1ac238<=_0x3ab426[_0x346fcc(0x374)];_0x1ac238++)_0x27aa5f[_0x346fcc(0x37f)](_0x988e3e,_0x1ac238);});}_0x2be078&&((_0x185f12=(_0x1e73e9=this[_0x30cfcb(0x3eb)][_0x30cfcb(0x1ad)](_0xb7ef41))==null?void 0x0:_0x1e73e9[_0x30cfcb(0x1ad)](_0x45691e))==null||_0x185f12[_0x30cfcb(0x1af)](_0x52ae76)),this[_0x30cfcb(0x17e)][_0x30cfcb(0x18e)]({'unitId':_0xb7ef41,'subUnitId':_0x45691e,'valueMatrix':_0x27aa5f,'pivotTableId':_0x52ae76,'rangesCache':void 0x0,'type':_0x12023e[_0x30cfcb(0x43d)]}),this['_exclusiveRangeService'][_0x30cfcb(0x269)](_0xb7ef41,_0x45691e,_0x38eedf,_0x52ae76);}[_0xebbe60(0x2e8)](_0x473c77,_0x58222a,_0x4df75a){const _0x50380a=_0xebbe60;var _0x25ec39,_0x59c62f,_0x24d6a5,_0x2a169d,_0x2244e2,_0x59fe82;return this[_0x50380a(0x3eb)][_0x50380a(0x286)](_0x473c77)||this['_pivotRenderInfoCache'][_0x50380a(0x3db)](_0x473c77,new Map()),(_0x25ec39=this[_0x50380a(0x3eb)][_0x50380a(0x1ad)](_0x473c77))!=null&&_0x25ec39[_0x50380a(0x286)](_0x58222a)||(_0x59c62f=this[_0x50380a(0x3eb)]['get'](_0x473c77))==null||_0x59c62f[_0x50380a(0x3db)](_0x58222a,new Map()),(_0x2a169d=(_0x24d6a5=this[_0x50380a(0x3eb)][_0x50380a(0x1ad)](_0x473c77))==null?void 0x0:_0x24d6a5[_0x50380a(0x1ad)](_0x58222a))!=null&&_0x2a169d[_0x50380a(0x286)](_0x4df75a)||(_0x59fe82=(_0x2244e2=this['_pivotRenderInfoCache'][_0x50380a(0x1ad)](_0x473c77))==null?void 0x0:_0x2244e2[_0x50380a(0x1ad)](_0x58222a))==null||_0x59fe82['set'](_0x4df75a,{}),this[_0x50380a(0x3eb)][_0x50380a(0x1ad)](_0x473c77)[_0x50380a(0x1ad)](_0x58222a)[_0x50380a(0x1ad)](_0x4df75a);}[_0xebbe60(0x349)](_0x19ceaf,_0x3d7d27){const _0x152947=_0xebbe60;var _0x1c8528,_0x51d594;return this[_0x152947(0x30c)]['has'](_0x19ceaf)||this['_pivotRenderValueMatrixCache']['set'](_0x19ceaf,new Map()),(_0x1c8528=this[_0x152947(0x30c)]['get'](_0x19ceaf))!=null&&_0x1c8528[_0x152947(0x286)](_0x3d7d27)||(_0x51d594=this['_pivotRenderValueMatrixCache'][_0x152947(0x1ad)](_0x19ceaf))==null||_0x51d594[_0x152947(0x3db)](_0x3d7d27,new _0x5136e7[(_0x152947(0x3a3))]()),this[_0x152947(0x30c)][_0x152947(0x1ad)](_0x19ceaf)[_0x152947(0x1ad)](_0x3d7d27);}['getPivotTableCellData'](_0xddca19,_0x2f941a,_0x2f7339,_0x2f59cd){const _0x3e45a3=_0xebbe60;var _0x39aaa3,_0x1c89b2;const _0x3add4f=(_0x1c89b2=(_0x39aaa3=this['_pivotRenderValueMatrixCache'][_0x3e45a3(0x1ad)](_0xddca19))==null?void 0x0:_0x39aaa3[_0x3e45a3(0x1ad)](_0x2f941a))==null?void 0x0:_0x1c89b2[_0x3e45a3(0x247)](_0x2f7339,_0x2f59cd);if(_0x3add4f!=null)return _0x3add4f;}['getPivotTableIdByCell'](_0x3f48c1,_0xd94edf,_0x4b217d,_0x1a4beb){const _0x5b1fc3=_0xebbe60;var _0x545396;const _0x71cf28=_0x5136e7[_0x5b1fc3(0x3e3)](_0x4b217d,_0x1a4beb),_0x1e057c=(_0x545396=this['_pivotRenderInfoCache'][_0x5b1fc3(0x1ad)](_0x3f48c1))==null?void 0x0:_0x545396[_0x5b1fc3(0x1ad)](_0xd94edf);return _0x1e057c?Array['from'](_0x1e057c[_0x5b1fc3(0x287)]())[_0x5b1fc3(0x32b)](_0x278360=>{const _0x33fb42=_0x5b1fc3,_0x1a8eb5=_0x1e057c[_0x33fb42(0x1ad)](_0x278360),_0x15894c=_0x1a8eb5==null?void 0x0:_0x1a8eb5[_0x33fb42(0x37d)];return _0x15894c?Object[_0x33fb42(0x287)](_0x15894c)[_0x33fb42(0x207)](_0x5582a1=>_0x15894c[_0x5582a1]['some'](_0x415537=>_0x5136e7['Rectangle'][_0x33fb42(0x28c)](_0x415537,_0x71cf28))):!0x1;}):void 0x0;}[_0xebbe60(0x314)](_0x1dfc34,_0x3cf1bf,_0x36bd79){const _0x5e4a2c=_0xebbe60;var _0x29b84b;const _0x390d6d=(_0x29b84b=this[_0x5e4a2c(0x3eb)]['get'](_0x1dfc34))==null?void 0x0:_0x29b84b[_0x5e4a2c(0x1ad)](_0x3cf1bf),_0x3bc4f2=[];return _0x390d6d&&Array[_0x5e4a2c(0x1dd)](_0x390d6d[_0x5e4a2c(0x287)]())['forEach'](_0x370d05=>{const _0x12f708=_0x5e4a2c,_0x3d0b53=_0x390d6d[_0x12f708(0x1ad)](_0x370d05),_0x21a601=_0x3d0b53==null?void 0x0:_0x3d0b53[_0x12f708(0x37d)];if(_0x21a601)for(const _0x48d486 of Object['values'](_0x21a601)){let _0x427464=!0x1;for(const _0x3660f6 of _0x48d486)if(_0x5136e7[_0x12f708(0x350)][_0x12f708(0x2ab)](_0x3660f6,_0x36bd79)){_0x3bc4f2['push'](_0x370d05),_0x427464=!0x0;break;}if(_0x427464)break;}}),_0x3bc4f2;}[_0xebbe60(0x3ff)](_0x4c71d8,_0x362338){const _0x29692b=_0xebbe60;var _0x185bb8,_0x5b76f5;return(_0x5b76f5=(_0x185bb8=this[_0x29692b(0x30c)][_0x29692b(0x1ad)](_0x4c71d8))==null?void 0x0:_0x185bb8[_0x29692b(0x1ad)](_0x362338))!=null?_0x5b76f5:new _0x5136e7[(_0x29692b(0x3a3))]();}[_0xebbe60(0x1a7)](_0x549240,_0x51903a){const _0x4a9d71=_0xebbe60;var _0x9a9118;return(_0x9a9118=this[_0x4a9d71(0x3eb)][_0x4a9d71(0x1ad)](_0x549240))==null?void 0x0:_0x9a9118[_0x4a9d71(0x1ad)](_0x51903a);}['getPivotItemRenderInfoCache'](_0x4cca4c,_0x5f2207,_0x56a6ac){const _0x5ad8fb=_0xebbe60;var _0x3a8494,_0xed9044;return(_0xed9044=(_0x3a8494=this[_0x5ad8fb(0x3eb)][_0x5ad8fb(0x1ad)](_0x4cca4c))==null?void 0x0:_0x3a8494[_0x5ad8fb(0x1ad)](_0x5f2207))==null?void 0x0:_0xed9044['get'](_0x56a6ac);}[_0xebbe60(0x2c1)](_0x1c4395){const _0x595629=_0xebbe60;this[_0x595629(0x3eb)][_0x595629(0x1af)](_0x1c4395),this['_pivotRenderValueMatrixCache']['delete'](_0x1c4395);}['markDirty'](_0x53991f,_0x4f3b36){this['_markDirty$']['next']({'unitId':_0x53991f,'subUnitId':_0x4f3b36});}},_0xc5aaf7['SheetsPivotTableAdaptorModel']=_0x16b2bb([_0x2ce908(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x284)])),_0x2ce908(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x1f7)])),_0x2ce908(0x2,_0x5136e7['Inject'](_0xc5aaf7[_0xebbe60(0x1f0)])),_0x2ce908(0x3,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7['IUniverInstanceService'])),_0x2ce908(0x4,_0x5136e7[_0xebbe60(0x2c6)](_0x5dda2d[_0xebbe60(0x414)]))],_0xc5aaf7[_0xebbe60(0x3f7)]);var _0x5635dc=Object[_0xebbe60(0x42b)],_0x15f2c2=(_0x4534b6,_0x58afd7,_0x397d1b,_0x56a928)=>{for(var _0x451f41=_0x56a928>0x1?void 0x0:_0x56a928?_0x5635dc(_0x58afd7,_0x397d1b):_0x58afd7,_0x358072=_0x4534b6['length']-0x1,_0x569867;_0x358072>=0x0;_0x358072--)(_0x569867=_0x4534b6[_0x358072])&&(_0x451f41=_0x569867(_0x451f41)||_0x451f41);return _0x451f41;},_0x116693=(_0x2f849d,_0x73e406)=>(_0x35d01f,_0x2009fe)=>_0x73e406(_0x35d01f,_0x2009fe,_0x2f849d);_0xc5aaf7[_0xebbe60(0x20f)]=class extends _0x5136e7['Disposable']{constructor(_0x5e4dc0,_0x5db910){const _0x4ba302=_0xebbe60;super(),_0x59516b(this,_0x4ba302(0x381),new _0x5136e7['AsyncInterceptorManager']({'PIVOT_PERFORM_CHECK':_0xde89f0})),_0x59516b(this,_0x4ba302(0x379),new _0x5136e7['InterceptorManager']({'PIVOT_MUTATION_GENERATE':_0x20b7fa})),(this[_0x4ba302(0x407)]=_0x5e4dc0,this['_sheetsPivotTableAdaptorModel']=_0x5db910,this[_0x4ba302(0x2aa)]());}[_0xebbe60(0x2aa)](){const _0x1666fd=_0xebbe60;this[_0x1666fd(0x226)]();}['getPivotPerformCheck'](_0x33ed1d){const _0x42816b=_0xebbe60;return this[_0x42816b(0x381)][_0x42816b(0x1ff)](_0xde89f0)(!0x1,_0x33ed1d);}[_0xebbe60(0x226)](){const _0x2e68f1=_0xebbe60;this['disposeWithMe'](this[_0x2e68f1(0x407)][_0x2e68f1(0x37c)](_0x5dda2d['INTERCEPTOR_POINT'][_0x2e68f1(0x1d6)],{'priority':0xc8,'effect':_0x5136e7[_0x2e68f1(0x259)][_0x2e68f1(0x1c2)]|_0x5136e7[_0x2e68f1(0x259)][_0x2e68f1(0x253)],'handler':(_0x1494f2,_0x4d748d,_0x1e0223)=>{const _0x2c161e=_0x2e68f1,{row:_0x199c14,col:_0x1479d8,unitId:_0x14742e,subUnitId:_0x5a4812,workbook:_0x4124b9}=_0x4d748d,_0x2364ea=this['_sheetsPivotTableAdaptorModel']['getPivotTableCellData'](_0x14742e,_0x5a4812,_0x199c14,_0x1479d8);if(!_0x2364ea)return _0x1e0223(_0x1494f2);const _0x1092cd={..._0x1494f2};(_0x2364ea['v']||_0x2364ea['v']===0x0)&&(_0x1092cd['v']=_0x2364ea['v']),_0x2364ea['t']&&(_0x1092cd['t']=_0x2364ea['t']);const _0x599ea2=(typeof(_0x1494f2==null?void 0x0:_0x1494f2['s'])=='string'?_0x4124b9[_0x2c161e(0x3a8)]()[_0x2c161e(0x1ad)](_0x1494f2==null?void 0x0:_0x1494f2['s']):_0x1494f2==null?void 0x0:_0x1494f2['s'])||{},_0x15b137=_0x4124b9[_0x2c161e(0x3a8)]()['get'](_0x2364ea['s']),_0x4ad5d5={..._0x15b137,..._0x599ea2};_0x15b137!=null&&_0x15b137['n']&&(_0x4ad5d5['n']=_0x15b137['n']);const _0x227d17=_0x4124b9['getStyles']()['setValue'](_0x4ad5d5);return _0x1092cd['s']=_0x227d17,(_0x2364ea[_0x2c161e(0x307)]===_0x62e76f[_0x2c161e(0x3ef)][_0x2c161e(0x31a)]||_0x2364ea[_0x2c161e(0x307)]===_0x62e76f[_0x2c161e(0x3ef)][_0x2c161e(0x1eb)])&&(_0x1092cd[_0x2c161e(0x2a6)]={},_0x1092cd[_0x2c161e(0x2a6)][_0x2c161e(0x1da)]=_0x43e122),_0x1e0223(_0x1092cd);}}));}},_0xc5aaf7['SheetsPivotTableService']=_0x15f2c2([_0x116693(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5dda2d['SheetInterceptorService'])),_0x116693(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7[_0xebbe60(0x3f7)]))],_0xc5aaf7['SheetsPivotTableService']);const _0x4ae630={'id':_0xebbe60(0x2a5),'type':_0x5136e7[_0xebbe60(0x272)]['MUTATION'],'handler':(_0x1a6d48,_0xb48f45)=>{const _0x4b449a=_0xebbe60;if(!_0xb48f45)return!0x1;if(!!_0x1a6d48['get'](_0x5136e7[_0x4b449a(0x301)])[_0x4b449a(0x21d)](_0x500647))return!0x0;const {pivotTableId:_0x1e22f6,fieldJSON:_0x4eb707,unitId:_0x15ab70,subUnitId:_0x3884a1}=_0xb48f45;let _0x1d5861;const {dataFieldType:_0x1d638f,id:_0x4eaab1,name:_0x3b6c76,hexCode:_0x50dcef,originalFieldId:_0x1b79f1}=_0x4eb707;if(_0x1d638f===_0x62e76f[_0x4b449a(0x184)]['dateGroupField']&&(_0x1d5861=new _0x62e76f['DateGroupField'](_0x4eaab1,_0x3b6c76,_0x50dcef,_0x1b79f1)),!_0x1d5861)return!0x1;const _0x130859=_0x1a6d48[_0x4b449a(0x1ad)](_0xc5aaf7[_0x4b449a(0x19c)]),_0x4eb5f3=_0x130859[_0x4b449a(0x16b)](_0x15ab70),_0x75d833=_0x4eb5f3[_0x4b449a(0x3b0)](_0x1e22f6);_0x4eb5f3[_0x4b449a(0x263)](_0x1d5861),_0x75d833[_0x4b449a(0x1ae)](_0x1d5861[_0x4b449a(0x2e2)](),_0x1d5861[_0x4b449a(0x468)]());const _0x3d8f9d=_0x75d833['getFieldById'](_0x1d5861[_0x4b449a(0x447)]());_0x3d8f9d&&_0x1d5861[_0x4b449a(0x3d6)](_0x3d8f9d);const _0x3c05a6=_0x130859[_0x4b449a(0x358)](_0x15ab70,_0x3884a1,_0x1e22f6);return _0x130859['addDirtyPivotTable']({'unitId':_0x15ab70,'subUnitId':_0x3884a1,'token':_0x1e22f6,'type':_0x41401b['Set'],'pivotConfig':_0x3c05a6}),!0x0;}},_0x45439e={'id':_0xebbe60(0x29e),'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'handler':(_0x2ce6dc,_0x4c7794)=>{const _0x434705=_0xebbe60;if(!_0x4c7794)return!0x1;if(!!_0x2ce6dc[_0x434705(0x1ad)](_0x5136e7[_0x434705(0x301)])[_0x434705(0x21d)](_0x500647))return!0x0;const {pivotTableId:_0x5b8a59,dataFieldId:_0x174913,unitId:_0x7d62ad,subUnitId:_0x2fb554}=_0x4c7794,_0x1404ad=_0x2ce6dc[_0x434705(0x1ad)](_0xc5aaf7[_0x434705(0x19c)]),_0x46aad8=_0x1404ad[_0x434705(0x16b)](_0x7d62ad);_0x46aad8[_0x434705(0x3b0)](_0x5b8a59)[_0x434705(0x221)](_0x174913);let _0xe663c4=!0x0;for(const _0x573b16 in _0x46aad8['collections'])if(_0x46aad8[_0x434705(0x321)][_0x573b16][_0x434705(0x22b)]()[_0x434705(0x405)](_0x174913)){_0xe663c4=!0x1;break;}_0xe663c4&&_0x46aad8[_0x434705(0x19d)](_0x174913);const _0x29b036=_0x1404ad[_0x434705(0x358)](_0x7d62ad,_0x2fb554,_0x5b8a59);return _0x1404ad[_0x434705(0x2af)]({'unitId':_0x7d62ad,'subUnitId':_0x2fb554,'token':_0x5b8a59,'type':_0x41401b[_0x434705(0x205)],'pivotConfig':_0x29b036}),!0x0;}};function _0x26abc4(_0x4cfb7c,_0x4e5204){const _0x5adb1b=_0xebbe60;switch(_0x4e5204){case _0x62e76f[_0x5adb1b(0x446)][_0x5adb1b(0x1c2)]:return _0x4cfb7c[_0x5adb1b(0x220)];case _0x62e76f[_0x5adb1b(0x446)][_0x5adb1b(0x186)]:return _0x4cfb7c[_0x5adb1b(0x3cc)];case _0x62e76f[_0x5adb1b(0x446)]['Row']:return _0x4cfb7c['rowFields'];case _0x62e76f[_0x5adb1b(0x446)]['Column']:return _0x4cfb7c[_0x5adb1b(0x441)];default:return[];}}function _0x352fc(_0x4ead08,_0x5e7437){const _0x42639a=_0xebbe60;return _0x4ead08['measure'][_0x5e7437]||_0x4ead08[_0x42639a(0x451)][_0x5e7437];}function _0xa6ccd3(_0x4498ea,_0x26c892){const _0x215542=_0xebbe60,{area:_0xf5fb38,fieldJson:_0x558375,index:_0x1466b8}=_0x26c892;_0xf5fb38===_0x62e76f[_0x215542(0x446)][_0x215542(0x1c2)]?_0x4498ea[_0x215542(0x17b)][_0x558375['id']]=_0x558375:_0x4498ea[_0x215542(0x451)][_0x558375['id']]=_0x558375,_0x26abc4(_0x4498ea,_0xf5fb38)[_0x215542(0x26e)](_0x1466b8,0x0,_0x558375['id']);}function _0x44d6b8(_0x4d7c42,_0x368359){const _0x51a7ad=_0xebbe60,{area:_0x3ed28b,fieldId:_0x39a5e8,index:_0xefc333}=_0x368359;_0x3ed28b===_0x62e76f[_0x51a7ad(0x446)][_0x51a7ad(0x1c2)]?delete _0x4d7c42['measure'][_0x39a5e8]:delete _0x4d7c42[_0x51a7ad(0x451)][_0x39a5e8],_0x26abc4(_0x4d7c42,_0x3ed28b)['splice'](_0xefc333,0x1);}function _0x39b434(_0x22a9b4,_0x1f8e41){const {fieldId:_0x28b2fb,name:_0x1b85c6}=_0x1f8e41,_0x18b89a=_0x352fc(_0x22a9b4,_0x28b2fb);_0x18b89a&&(_0x18b89a['displayName']=_0x1b85c6);}function _0x1bfbd7(_0x34cd5f,_0x5f0c3d){const _0x44757e=_0xebbe60,{fieldId:_0x12c2ee,collapse:_0x2ae760,item:_0xdf7b19}=_0x5f0c3d;_0xdf7b19!==void 0x0?(_0x34cd5f[_0x44757e(0x355)][_0x12c2ee]=_0x34cd5f[_0x44757e(0x355)][_0x12c2ee]||{},_0x34cd5f[_0x44757e(0x355)][_0x12c2ee][_0xdf7b19]=_0x2ae760):_0x34cd5f[_0x44757e(0x355)][_0x12c2ee]=_0x2ae760;}function _0x1a6b8e(_0x2293b9,_0xcbf134){const _0x2762f6=_0xebbe60,{fieldId:_0x18b199,format:_0xcf0511}=_0xcbf134,_0x2a02b7=_0x352fc(_0x2293b9,_0x18b199);_0x2a02b7&&(_0x2a02b7[_0x2762f6(0x39f)]=_0xcf0511);}function _0x4d0c0b(_0x42d81c,_0x5c65f9){const _0x93eec3=_0xebbe60,{fieldId:_0x122cbd,filterInfo:_0xec95b7}=_0x5c65f9,_0x3ef2c8=_0x352fc(_0x42d81c,_0x122cbd);_0x3ef2c8&&(_0x3ef2c8[_0x93eec3(0x352)]=_0xec95b7);}function _0x4658d1(_0x421801,_0x1d59e8){const _0x5b1362=_0xebbe60,{fieldId:_0x51434b,filterInfo:_0xe70a7}=_0x1d59e8,_0x5b034a=_0x421801[_0x5b1362(0x23f)][_0x5b1362(0x375)](_0x287c93=>_0x287c93['fieldId']!==_0x51434b);_0xe70a7&&_0x5b034a['push']({'fieldId':_0x51434b,'filterInfo':_0xe70a7}),_0x421801[_0x5b1362(0x23f)]=_0x5b034a;}function _0x21fd9d(_0x21fd2d,_0x55a8b7){const _0xf2c0cd=_0xebbe60,{fieldId:_0x1dad17,subtotalType:_0x1e6f18}=_0x55a8b7,_0x2a8aa2=_0x352fc(_0x21fd2d,_0x1dad17);_0x2a8aa2&&(_0x2a8aa2[_0xf2c0cd(0x3fd)]=_0x1e6f18);}function _0x5ea216(_0x1d4173,_0x285492){const _0x2477f3=_0xebbe60,{fieldId:_0x2caef6,oldArea:_0x268209,area:_0xc5c76,oldIndex:_0x4094da,index:_0x385657}=_0x285492,_0x2d8c84=_0x268209!==_0x62e76f[_0x2477f3(0x446)][_0x2477f3(0x1c2)]&&_0xc5c76===_0x62e76f['PivotTableFiledAreaEnum']['Value'],_0xe9f89c=_0x268209===_0x62e76f[_0x2477f3(0x446)][_0x2477f3(0x1c2)]&&_0xc5c76!==_0x62e76f[_0x2477f3(0x446)][_0x2477f3(0x1c2)];if(_0x2d8c84||_0xe9f89c){const _0x26281f=_0x352fc(_0x1d4173,_0x2caef6);_0x26281f&&(_0x2d8c84?(delete _0x1d4173[_0x2477f3(0x451)][_0x2caef6],_0x1d4173[_0x2477f3(0x17b)][_0x2caef6]=_0x26281f):(delete _0x1d4173[_0x2477f3(0x17b)][_0x2caef6],_0x1d4173[_0x2477f3(0x451)][_0x2caef6]=_0x26281f));}const _0x31e8f0=_0x26abc4(_0x1d4173,_0x268209),_0x3f788f=_0x26abc4(_0x1d4173,_0xc5c76);_0x31e8f0['splice'](_0x4094da,0x1),_0x3f788f[_0x2477f3(0x26e)](_0x385657,0x0,_0x2caef6);}function _0x31959a(_0x5bce65,_0x5057b2){const _0x4420fe=_0xebbe60,{valuePosition:_0xd803d5,index:_0x2d51cd}=_0x5057b2;_0x5bce65['valuePosition']=_0xd803d5,_0x5bce65[_0x4420fe(0x177)]=_0x2d51cd;}function _0x428468(_0x881089,_0x61410){const _0xc6c4c=_0xebbe60,{tableFieldId:_0x29e58f,sourceName:_0x48a23a,dataFieldId:_0x4e8e12}=_0x61410,_0x25ba9f=_0x352fc(_0x881089,_0x29e58f);_0x25ba9f&&(_0x25ba9f[_0xc6c4c(0x3d3)]=_0x48a23a,_0x25ba9f[_0xc6c4c(0x27b)]=_0x4e8e12);}function _0xee8310(_0x339cad,_0x3aaed2){const {fieldId:_0x5f3637,sortInfo:_0x246a2a}=_0x3aaed2,_0x4ef590=_0x352fc(_0x339cad,_0x5f3637);_0x4ef590&&(_0x4ef590['sortInfo']=_0x246a2a);}function _0x16c234(_0x1f42d7,_0x439e2a){const _0x54a0ff=_0xebbe60,{options:_0x2ad1f8}=_0x439e2a;_0x1f42d7[_0x54a0ff(0x460)]={..._0x1f42d7[_0x54a0ff(0x460)],..._0x2ad1f8};}const _0x211846={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':'sheet.mutation.add-pivot-field','handler'(_0x32d29a,_0x33db52){const _0xfa0cb7=_0xebbe60;if(!_0x33db52)return!0x1;if(!!_0x32d29a[_0xfa0cb7(0x1ad)](_0x5136e7[_0xfa0cb7(0x301)])[_0xfa0cb7(0x21d)](_0x500647))return!0x0;const _0x50f5b1=_0x32d29a['get'](_0xc5aaf7[_0xfa0cb7(0x19c)]),{pivotTableId:_0x5eca1d,fieldJson:_0x378102,area:_0x40ea54,index:_0x1defd3,unitId:_0x51d0f0,subUnitId:_0x3a25c5}=_0x33db52,_0xe79eb0=_0x50f5b1[_0xfa0cb7(0x181)](_0x5eca1d);if(!_0xe79eb0)return!0x1;let _0x269171;_0x40ea54===_0x62e76f[_0xfa0cb7(0x446)]['Value']?_0x269171=_0x62e76f[_0xfa0cb7(0x3c4)](_0x378102):_0x269171=_0x62e76f['createLabelField'](_0x378102),_0xe79eb0[_0xfa0cb7(0x1ae)](_0x269171,_0x40ea54,_0x1defd3);const _0x5c03d7=_0x50f5b1[_0xfa0cb7(0x2f0)](_0x51d0f0,_0x3a25c5,_0x5eca1d);_0xa6ccd3(_0x5c03d7,_0x33db52);const _0x1bf955=_0x50f5b1[_0xfa0cb7(0x358)](_0x51d0f0,_0x3a25c5,_0x5eca1d);return _0x50f5b1[_0xfa0cb7(0x2af)]({'unitId':_0x51d0f0,'subUnitId':_0x3a25c5,'token':_0x5eca1d,'type':_0x41401b['Set'],'pivotConfig':_0x1bf955}),!0x0;}},_0x5e15b6={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':_0xebbe60(0x422),'handler'(_0x4cf15c,_0x32c04b){const _0x2f91a0=_0xebbe60;if(!_0x32c04b)return!0x1;if(!!_0x4cf15c['get'](_0x5136e7[_0x2f91a0(0x301)])[_0x2f91a0(0x21d)](_0x500647))return!0x0;const _0x5c2f27=_0x4cf15c[_0x2f91a0(0x1ad)](_0xc5aaf7[_0x2f91a0(0x19c)]),{pivotTableId:_0x42dba2,fieldId:_0x50cd3d,unitId:_0x47a50c,subUnitId:_0x2f8ac7}=_0x32c04b,_0x3ee696=_0x5c2f27['getPivotTableInstance'](_0x42dba2);if(!_0x3ee696)return!0x1;_0x3ee696[_0x2f91a0(0x2d4)](_0x50cd3d);const _0x2829ca=_0x5c2f27['getPivotTableModelConfig'](_0x47a50c,_0x2f8ac7,_0x42dba2);_0x44d6b8(_0x2829ca,_0x32c04b);const _0x4c1cc7=_0x5c2f27[_0x2f91a0(0x358)](_0x47a50c,_0x2f8ac7,_0x42dba2);return _0x5c2f27[_0x2f91a0(0x2af)]({'unitId':_0x47a50c,'subUnitId':_0x2f8ac7,'token':_0x42dba2,'type':_0x41401b[_0x2f91a0(0x205)],'pivotConfig':_0x4c1cc7}),!0x0;}},_0x4536ec={'type':_0x5136e7['CommandType'][_0xebbe60(0x2a8)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x1f9584,_0x3fab9f){const _0x3fe8e3=_0xebbe60;if(!_0x3fab9f)return!0x1;if(!!_0x1f9584[_0x3fe8e3(0x1ad)](_0x5136e7[_0x3fe8e3(0x301)])[_0x3fe8e3(0x21d)](_0x500647))return!0x0;const _0x29a62d=_0x1f9584[_0x3fe8e3(0x1ad)](_0xc5aaf7[_0x3fe8e3(0x19c)]),{unitId:_0xde084e,subUnitId:_0x3d00ef,pivotTableId:_0xd4f67f,fieldId:_0x647739,name:_0x25d77d}=_0x3fab9f,_0x312ed1=_0x29a62d[_0x3fe8e3(0x181)](_0xd4f67f);if(!_0x312ed1)return!0x1;_0x312ed1['renameField'](_0x647739,_0x25d77d);const _0x2f6a32=_0x29a62d[_0x3fe8e3(0x2f0)](_0xde084e,_0x3d00ef,_0xd4f67f);return _0x39b434(_0x2f6a32,_0x3fab9f),_0x29a62d['addDirtyPivotTable']({'unitId':_0xde084e,'subUnitId':_0x3d00ef,'token':_0xd4f67f,'type':_0x41401b[_0x3fe8e3(0x205)]}),!0x0;}},_0x1e048d={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':'sheet.mutation.set-pivot-collapse','handler'(_0x171719,_0x5bbbad){const _0x1c3063=_0xebbe60;if(!_0x5bbbad)return!0x1;if(!!_0x171719[_0x1c3063(0x1ad)](_0x5136e7[_0x1c3063(0x301)])[_0x1c3063(0x21d)](_0x500647))return!0x0;const _0x4f3d89=_0x171719[_0x1c3063(0x1ad)](_0xc5aaf7[_0x1c3063(0x19c)]),{unitId:_0x3fa152,subUnitId:_0x11298b,pivotTableId:_0x38a0fc,fieldId:_0x3c1b53,collapse:_0x5562c1,item:_0x45e7b9}=_0x5bbbad,_0x272acb=_0x4f3d89[_0x1c3063(0x181)](_0x38a0fc);if(!_0x272acb)return!0x1;_0x272acb[_0x1c3063(0x1e6)](_0x3c1b53,_0x5562c1,_0x45e7b9);const _0x3aca7f=_0x4f3d89[_0x1c3063(0x2f0)](_0x3fa152,_0x11298b,_0x38a0fc);return _0x1bfbd7(_0x3aca7f,_0x5bbbad),_0x4f3d89[_0x1c3063(0x2af)]({'unitId':_0x3fa152,'subUnitId':_0x11298b,'token':_0x38a0fc,'type':_0x41401b[_0x1c3063(0x205)]}),!0x0;}},_0xa74272={'type':_0x5136e7[_0xebbe60(0x272)]['MUTATION'],'id':_0xebbe60(0x453),'handler'(_0x3f354a,_0x41cbcb){const _0x3d87cf=_0xebbe60;if(!_0x41cbcb)return!0x1;if(!!_0x3f354a[_0x3d87cf(0x1ad)](_0x5136e7[_0x3d87cf(0x301)])[_0x3d87cf(0x21d)](_0x500647))return!0x0;const _0x142dec=_0x3f354a[_0x3d87cf(0x1ad)](_0xc5aaf7['SheetsPivotDataSourceModel']),{unitId:_0xb0dd6f,subUnitId:_0x1a71d1,pivotTableId:_0x5cb1c8,fieldId:_0x2863f9,format:_0x4f745b}=_0x41cbcb,_0x2cc3b5=_0x142dec[_0x3d87cf(0x181)](_0x5cb1c8);if(!_0x2cc3b5)return!0x1;_0x2cc3b5['setFieldFormat'](_0x2863f9,_0x4f745b);const _0x1e4de3=_0x142dec[_0x3d87cf(0x2f0)](_0xb0dd6f,_0x1a71d1,_0x5cb1c8);return _0x1a6b8e(_0x1e4de3,_0x41cbcb),_0x142dec[_0x3d87cf(0x2af)]({'unitId':_0xb0dd6f,'subUnitId':_0x1a71d1,'token':_0x5cb1c8,'type':_0x41401b[_0x3d87cf(0x205)]}),!0x0;}},_0x426176={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':'sheet.mutation.set-pivot-filter','handler'(_0x2430e5,_0x18d528){const _0x2e9e36=_0xebbe60;if(!_0x18d528)return!0x1;if(!!_0x2430e5[_0x2e9e36(0x1ad)](_0x5136e7[_0x2e9e36(0x301)])['getConfig'](_0x500647))return!0x0;const _0x5eb8de=_0x2430e5[_0x2e9e36(0x1ad)](_0xc5aaf7['SheetsPivotDataSourceModel']),{unitId:_0xe1ae53,subUnitId:_0x19fe58,pivotTableId:_0x215b9a,fieldId:_0x2cc4e8,filterInfo:_0x542cc9}=_0x18d528,_0x2d919d=_0x5eb8de[_0x2e9e36(0x181)](_0x215b9a);if(!_0x2d919d)return!0x1;_0x2d919d[_0x2e9e36(0x46f)](_0x2cc4e8,_0x542cc9);const _0x5c3bb9=_0x5eb8de[_0x2e9e36(0x2f0)](_0xe1ae53,_0x19fe58,_0x215b9a);return _0x4d0c0b(_0x5c3bb9,_0x18d528),_0x5eb8de[_0x2e9e36(0x2af)]({'unitId':_0xe1ae53,'subUnitId':_0x19fe58,'token':_0x215b9a,'type':_0x41401b[_0x2e9e36(0x205)]}),!0x0;}},_0x24f7b9={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':_0xebbe60(0x16e),'handler'(_0x3909ab,_0x37c008){const _0x5986b9=_0xebbe60;if(!_0x37c008)return!0x1;if(!!_0x3909ab['get'](_0x5136e7[_0x5986b9(0x301)])[_0x5986b9(0x21d)](_0x500647))return!0x0;const _0x56b524=_0x3909ab['get'](_0xc5aaf7[_0x5986b9(0x19c)]),{unitId:_0xfeae08,subUnitId:_0x728891,pivotTableId:_0x3716f0,options:_0x547026}=_0x37c008,_0x1c3d73=_0x56b524[_0x5986b9(0x181)](_0x3716f0);if(!_0x1c3d73)return!0x1;_0x1c3d73['setOptions'](_0x547026);const _0x233eb1=_0x56b524[_0x5986b9(0x2f0)](_0xfeae08,_0x728891,_0x3716f0);return _0x16c234(_0x233eb1,_0x37c008),_0x56b524[_0x5986b9(0x2af)]({'unitId':_0xfeae08,'subUnitId':_0x728891,'token':_0x3716f0,'type':_0x41401b['Set']}),!0x0;}},_0x20de2e={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':_0xebbe60(0x46e),'handler'(_0x5cf7eb,_0x1834c4){const _0x2e4129=_0xebbe60;if(!_0x1834c4)return!0x1;if(!!_0x5cf7eb[_0x2e4129(0x1ad)](_0x5136e7[_0x2e4129(0x301)])[_0x2e4129(0x21d)](_0x500647))return!0x0;const _0x820356=_0x5cf7eb[_0x2e4129(0x1ad)](_0xc5aaf7[_0x2e4129(0x19c)]),{unitId:_0x2529b2,subUnitId:_0x29354c,pivotTableId:_0x32dd00,sortInfo:_0x230a90,fieldId:_0x29d2bb}=_0x1834c4,_0x2237fe=_0x820356[_0x2e4129(0x181)](_0x32dd00);if(!_0x2237fe)return!0x1;_0x2237fe[_0x2e4129(0x18b)](_0x29d2bb,_0x230a90);const _0x47c358=_0x820356['getPivotTableModelConfig'](_0x2529b2,_0x29354c,_0x32dd00);return _0xee8310(_0x47c358,_0x1834c4),_0x820356['addDirtyPivotTable']({'unitId':_0x2529b2,'subUnitId':_0x29354c,'token':_0x32dd00,'type':_0x41401b['Set']}),!0x0;}},_0x349cba={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':_0xebbe60(0x362),'handler'(_0x17aa27,_0x80263b){const _0x43d37b=_0xebbe60;if(!_0x80263b)return!0x1;if(!!_0x17aa27[_0x43d37b(0x1ad)](_0x5136e7[_0x43d37b(0x301)])[_0x43d37b(0x21d)](_0x500647))return!0x0;const _0xcfae2d=_0x17aa27['get'](_0xc5aaf7[_0x43d37b(0x19c)]),{unitId:_0x5c9955,subUnitId:_0x3281fc,pivotTableId:_0x3dfdd8,fieldId:_0x329bda,subtotalType:_0x312b01}=_0x80263b,_0x42c01e=_0xcfae2d[_0x43d37b(0x181)](_0x3dfdd8);if(!_0x42c01e)return!0x1;_0x42c01e[_0x43d37b(0x2b2)](_0x329bda,_0x312b01);const _0x2763fb=_0xcfae2d[_0x43d37b(0x2f0)](_0x5c9955,_0x3281fc,_0x3dfdd8);return _0x21fd9d(_0x2763fb,_0x80263b),_0xcfae2d['addDirtyPivotTable']({'unitId':_0x5c9955,'subUnitId':_0x3281fc,'token':_0x3dfdd8,'type':_0x41401b[_0x43d37b(0x205)]}),!0x0;}},_0x7d8adc={'type':_0x5136e7['CommandType'][_0xebbe60(0x2a8)],'id':_0xebbe60(0x27f),'handler'(_0x18af8f,_0x176919){const _0x485179=_0xebbe60;if(!_0x176919)return!0x1;if(!!_0x18af8f['get'](_0x5136e7[_0x485179(0x301)])['getConfig'](_0x500647))return!0x0;const _0x5bb6af=_0x18af8f[_0x485179(0x1ad)](_0xc5aaf7[_0x485179(0x19c)]),{unitId:_0x2f6cb0,subUnitId:_0x1906ca,pivotTableId:_0x210109,fieldId:_0x1303a6,filterInfo:_0x1a1316}=_0x176919,_0x94f07=_0x5bb6af['getPivotTableInstance'](_0x210109);if(!_0x94f07)return!0x1;_0x94f07[_0x485179(0x3f2)](_0x1303a6,_0x1a1316);const _0x493418=_0x5bb6af[_0x485179(0x2f0)](_0x2f6cb0,_0x1906ca,_0x210109);return _0x4658d1(_0x493418,_0x176919),_0x5bb6af[_0x485179(0x2af)]({'unitId':_0x2f6cb0,'subUnitId':_0x1906ca,'token':_0x210109,'type':_0x41401b[_0x485179(0x205)]}),!0x0;}},_0xc9d2f6={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':'sheet.mutation.pivot-update-field-position','handler'(_0x32dba7,_0x45eb48){const _0xe4cb07=_0xebbe60;if(!_0x45eb48)return!0x1;if(!!_0x32dba7['get'](_0x5136e7[_0xe4cb07(0x301)])['getConfig'](_0x500647))return!0x0;const _0x3b1b42=_0x32dba7[_0xe4cb07(0x1ad)](_0xc5aaf7[_0xe4cb07(0x19c)]),{unitId:_0x4ede72,subUnitId:_0x1ce1df,pivotTableId:_0x242946,area:_0x2f9cb1,index:_0x2878d6,fieldId:_0x321736}=_0x45eb48,_0x447ef1=_0x3b1b42[_0xe4cb07(0x181)](_0x242946);if(!_0x447ef1)return!0x1;_0x447ef1['updateFieldPosition'](_0x321736,_0x2f9cb1,_0x2878d6);const _0x2f22fb=_0x3b1b42['getPivotTableModelConfig'](_0x4ede72,_0x1ce1df,_0x242946);return _0x5ea216(_0x2f22fb,_0x45eb48),_0x3b1b42[_0xe4cb07(0x2af)]({'unitId':_0x4ede72,'subUnitId':_0x1ce1df,'token':_0x242946,'type':_0x41401b[_0xe4cb07(0x205)]}),!0x0;}},_0x396a1b={'type':_0x5136e7['CommandType']['MUTATION'],'id':'sheet.mutation.pivot-update-field-source-info','handler'(_0x31c1a7,_0x5952b3){const _0x25124b=_0xebbe60;if(!_0x5952b3)return!0x1;if(!!_0x31c1a7['get'](_0x5136e7[_0x25124b(0x301)])[_0x25124b(0x21d)](_0x500647))return!0x0;const _0x3b551e=_0x31c1a7[_0x25124b(0x1ad)](_0xc5aaf7[_0x25124b(0x19c)]),{unitId:_0x1c198d,subUnitId:_0x2fa633,pivotTableId:_0x346710,sourceName:_0x52cd36,dataFieldId:_0x180839,tableFieldId:_0x3e291a}=_0x5952b3,_0x509709=_0x3b551e['getPivotTableInstance'](_0x346710);if(!_0x509709)return!0x1;_0x509709['updateFieldSourceInfo'](_0x3e291a,_0x52cd36,_0x180839);const _0x4815d8=_0x3b551e[_0x25124b(0x2f0)](_0x1c198d,_0x2fa633,_0x346710);return _0x428468(_0x4815d8,_0x5952b3),_0x3b551e[_0x25124b(0x2af)]({'unitId':_0x1c198d,'subUnitId':_0x2fa633,'token':_0x346710,'type':_0x41401b[_0x25124b(0x205)]}),!0x0;}},_0x2957cd={'type':_0x5136e7['CommandType'][_0xebbe60(0x2a8)],'id':_0xebbe60(0x20c),'handler'(_0x18a85b,_0x2a218a){const _0x594454=_0xebbe60;if(!_0x2a218a)return!0x1;if(!!_0x18a85b[_0x594454(0x1ad)](_0x5136e7[_0x594454(0x301)])['getConfig'](_0x500647))return!0x0;const _0x5d30c4=_0x18a85b[_0x594454(0x1ad)](_0xc5aaf7['SheetsPivotDataSourceModel']),{unitId:_0x3952d2,subUnitId:_0x4e1147,pivotTableId:_0x3f8d69,valuePosition:_0xfc6d72,index:_0x1c53ec}=_0x2a218a,_0x2f0f5d=_0x5d30c4[_0x594454(0x181)](_0x3f8d69);if(!_0x2f0f5d)return!0x1;_0x2f0f5d[_0x594454(0x2f9)](_0xfc6d72,_0x1c53ec);const _0x29c496=_0x5d30c4[_0x594454(0x2f0)](_0x3952d2,_0x4e1147,_0x3f8d69);return _0x31959a(_0x29c496,_0x2a218a),_0x5d30c4[_0x594454(0x2af)]({'unitId':_0x3952d2,'subUnitId':_0x4e1147,'token':_0x3f8d69,'type':_0x41401b['Set']}),!0x0;}};function _0xf73fcc(_0x3f843d,_0x516b9f,_0x2c2f6a){const _0x40bf9d=_0xebbe60,{pivotTableId:_0x1d7bfd,unitId:_0x4263a5,subUnitId:_0x394781}=_0x516b9f,_0xc5849a=[],_0x5e374e=[];for(const _0x563b08 of _0x2c2f6a)switch(_0x563b08['type']){case _0x62e76f['PivotTableChangeTypeEnum'][_0x40bf9d(0x1cb)]:{const {fieldJson:_0x40f13f,area:_0x14b8b6,index:_0xc45bef}=_0x563b08,_0x54e3b3={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldJson':_0x40f13f,'area':_0x14b8b6,'index':_0xc45bef},_0x5a4dde={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x40f13f['id'],'area':_0x14b8b6,'index':_0xc45bef};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x211846['id'],'params':_0x54e3b3}),_0x5e374e[_0x40bf9d(0x216)]({'id':_0x5e15b6['id'],'params':_0x5a4dde});}break;case _0x62e76f['PivotTableChangeTypeEnum'][_0x40bf9d(0x30b)]:{const {fieldId:_0x38db7a,newSubtotalType:_0x37f19d,oldSubtotalType:_0x5b3d65}=_0x563b08,_0x1d92c1={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x38db7a,'subtotalType':_0x37f19d};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x349cba['id'],'params':_0x1d92c1});const _0x2bef46={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x38db7a,'subtotalType':_0x5b3d65};_0x5e374e['unshift']({'id':_0x349cba['id'],'params':_0x2bef46});}break;case _0x62e76f[_0x40bf9d(0x39e)]['RemoveField']:{const {fieldId:_0x3fd37c,fieldJson:_0x21c450,area:_0x498ccf,index:_0x16ab7f}=_0x563b08,_0x3989f3={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x3fd37c,'index':_0x16ab7f,'area':_0x498ccf};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x5e15b6['id'],'params':_0x3989f3});const _0x1205fc={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldJson':_0x21c450,'area':_0x498ccf,'index':_0x16ab7f};_0x5e374e[_0x40bf9d(0x216)]({'id':_0x211846['id'],'params':_0x1205fc});}break;case _0x62e76f[_0x40bf9d(0x39e)]['RenameField']:{const {fieldId:_0x13a4de,oldName:_0x9e86dd,newName:_0x4b5b46}=_0x563b08,_0x29d092={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x13a4de,'name':_0x4b5b46};_0xc5849a['push']({'id':_0x4536ec['id'],'params':_0x29d092});const _0x53edae={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x13a4de,'name':_0x9e86dd};_0x5e374e[_0x40bf9d(0x216)]({'id':_0x4536ec['id'],'params':_0x53edae});}break;case _0x62e76f[_0x40bf9d(0x39e)][_0x40bf9d(0x3ca)]:{const {fieldId:_0x56ce5,oldFilterInfo:_0x265d8e,newFilterInfo:_0x27729e}=_0x563b08,_0x1bd709={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x56ce5,'filterInfo':_0x27729e};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x426176['id'],'params':_0x1bd709});const _0x4bfb18={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x56ce5,'filterInfo':_0x265d8e};_0x5e374e[_0x40bf9d(0x216)]({'id':_0x426176['id'],'params':_0x4bfb18});}break;case _0x62e76f[_0x40bf9d(0x39e)][_0x40bf9d(0x295)]:{const {fieldId:_0x50901f,oldSortInfo:_0x54590e,newSortInfo:_0x51f1ce}=_0x563b08,_0x821993={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x50901f,'sortInfo':_0x51f1ce};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x20de2e['id'],'params':_0x821993});const _0x2a862f={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x50901f,'sortInfo':_0x54590e};_0x5e374e[_0x40bf9d(0x216)]({'id':_0x20de2e['id'],'params':_0x2a862f});}break;case _0x62e76f[_0x40bf9d(0x39e)][_0x40bf9d(0x28f)]:{const {oldOptions:_0x17865f,newOptions:_0x59a934}=_0x563b08,_0x37c44d={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'options':_0x59a934};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x24f7b9['id'],'params':_0x37c44d});const _0x4d0617={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'options':_0x17865f};_0x5e374e[_0x40bf9d(0x216)]({'id':_0x24f7b9['id'],'params':_0x4d0617});}break;case _0x62e76f[_0x40bf9d(0x39e)][_0x40bf9d(0x34e)]:{const {oldArea:_0x146536,newArea:_0x4f1207,oldIndex:_0x5c9275,newIndex:_0x54eaa3,fieldId:_0x342dbc}=_0x563b08,_0x322673={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x342dbc,'area':_0x4f1207,'index':_0x54eaa3,'oldArea':_0x146536,'oldIndex':_0x5c9275};_0xc5849a['push']({'id':_0xc9d2f6['id'],'params':_0x322673});const _0x9e2356={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x342dbc,'area':_0x146536,'index':_0x5c9275,'oldArea':_0x4f1207,'oldIndex':_0x54eaa3};_0x5e374e[_0x40bf9d(0x216)]({'id':_0xc9d2f6['id'],'params':_0x9e2356});}break;case _0x62e76f[_0x40bf9d(0x39e)][_0x40bf9d(0x428)]:{const {oldValuePosition:_0x3688b1,newValuePosition:_0x1858fe,oldIndex:_0xab7ce2,newIndex:_0xf41c60}=_0x563b08,_0x202d6d={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'valuePosition':_0x1858fe,'index':_0xf41c60};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x2957cd['id'],'params':_0x202d6d});const _0x5621cd={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'valuePosition':_0x3688b1,'index':_0xab7ce2};_0x5e374e[_0x40bf9d(0x216)]({'id':_0x2957cd['id'],'params':_0x5621cd});}break;case _0x62e76f['PivotTableChangeTypeEnum']['SetCollapse']:{const {fieldId:_0x18304a,collapse:_0x51a8c4,item:_0x710b38}=_0x563b08,_0x1e2ce0={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x18304a,'collapse':_0x51a8c4,'item':_0x710b38};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x1e048d['id'],'params':_0x1e2ce0});const _0x42cefc={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x18304a,'collapse':!_0x51a8c4,'item':_0x710b38};_0x5e374e['unshift']({'id':_0x1e048d['id'],'params':_0x42cefc});}break;case _0x62e76f[_0x40bf9d(0x39e)][_0x40bf9d(0x40b)]:{const {newFormat:_0x353e81,oldFormat:_0xbbd1d0,fieldId:_0xcaa8b4}=_0x563b08,_0x35c11b={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0xcaa8b4,'format':_0x353e81};_0xc5849a['push']({'id':_0xa74272['id'],'params':_0x35c11b});const _0x182a1f={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0xcaa8b4,'format':_0xbbd1d0};_0x5e374e[_0x40bf9d(0x216)]({'id':_0xa74272['id'],'params':_0x182a1f});}break;case _0x62e76f[_0x40bf9d(0x39e)]['UpdateSource']:{const {tableFieldId:_0x527174,oldSourceName:_0x1c8621,newSourceName:_0x47c5a7,oldDataFieldId:_0x3154cd,newDataFieldId:_0x5c9ebb}=_0x563b08,_0x1d6b26={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'tableFieldId':_0x527174,'sourceName':_0x47c5a7,'dataFieldId':_0x5c9ebb};_0xc5849a[_0x40bf9d(0x304)]({'id':_0x396a1b['id'],'params':_0x1d6b26});const _0x1258ab={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'tableFieldId':_0x527174,'sourceName':_0x1c8621,'dataFieldId':_0x3154cd};_0x5e374e['unshift']({'id':_0x396a1b['id'],'params':_0x1258ab});}break;case _0x62e76f[_0x40bf9d(0x39e)]['SetValueFilter']:{const {fieldId:_0x3c9450,filterInfo:_0x45aa18,oldFilterInfo:_0x3315bf}=_0x563b08,_0xc4353c={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x3c9450,'filterInfo':_0x45aa18};_0xc5849a['push']({'id':_0x7d8adc['id'],'params':_0xc4353c});const _0x4b4e6b={'unitId':_0x4263a5,'subUnitId':_0x394781,'pivotTableId':_0x1d7bfd,'fieldId':_0x3c9450,'filterInfo':_0x3315bf};_0x5e374e[_0x40bf9d(0x216)]({'id':_0x7d8adc['id'],'params':_0x4b4e6b});}}return{'redos':_0xc5849a,'undos':_0x5e374e};}function _0x520d6c(_0x42e6fd,_0x1e8a22){const _0x288851=_0xebbe60;var _0x338a23;const _0x2e9923=_0x42e6fd[_0x288851(0x1ad)](_0xc5aaf7[_0x288851(0x20f)]),{cellInfo:_0xdd220c,view:_0x114212,isEmpty:_0x247d2b}=_0x1e8a22;return(_0x338a23=_0x2e9923[_0x288851(0x379)][_0x288851(0x27c)](_0x20b7fa)(_0xdb55cb,{'cellInfo':_0xdd220c,'view':_0x114212,'isEmpty':_0x247d2b}))!=null?_0x338a23:_0xdb55cb;}const _0x19519a={'type':_0x5136e7['CommandType'][_0xebbe60(0x309)],'id':_0xebbe60(0x3e2),async 'handler'(_0x448641,_0x51706d){const _0x50335d=_0xebbe60;if(!_0x51706d)return!0x1;const _0x209ef5=_0x448641[_0x50335d(0x1ad)](_0x5136e7[_0x50335d(0x43b)]),_0x14bd27=_0x448641[_0x50335d(0x1ad)](_0xc5aaf7[_0x50335d(0x1ba)]),_0x2f5219=_0x448641['get'](_0x5136e7[_0x50335d(0x2dd)]),{pivotTableId:_0x21692e,dataFieldId:_0x53a9f6,fieldArea:_0x5bfa11,index:_0x1a588b,unitId:_0x391a24,subUnitId:_0x4abff1}=_0x51706d,_0x3956bb=(await _0x14bd27[_0x50335d(0x199)]({'unitId':_0x391a24,'subUnitId':_0x4abff1,'pivotTableId':_0x21692e,'params':{'type':_0x278e97['AddPivotField'],'addPivotField':{'dataFieldId':_0x53a9f6,'fieldArea':_0x5bfa11,'index':_0x1a588b}}}))[_0x50335d(0x268)][_0x50335d(0x3c6)];if(!_0x3956bb)return!0x1;const {view:_0x164773,changesets:_0x3bf208,isEmpty:_0x6df54c,pivotTableConfig:_0x53a4af,shouldBeAddedGroupJSON:_0x359bf7}=_0x3956bb,_0x2f0500=_0x53a4af[_0x50335d(0x31c)],_0x560e7b=new _0x62e76f[(_0x50335d(0x3b1))]();_0x560e7b[_0x50335d(0x2ac)](_0x164773);const _0x12be47={'cellInfo':_0x2f0500,'view':_0x560e7b,'isEmpty':_0x6df54c};if(!await _0x448641[_0x50335d(0x1ad)](_0xc5aaf7[_0x50335d(0x20f)])[_0x50335d(0x381)][_0x50335d(0x1ff)](_0xde89f0)(!0x0,_0x12be47))return!0x1;const _0x5bc482=_0x58af2f(_0x448641,_0x560e7b,_0x2f0500,_0x6df54c),_0x1952b5=_0x520d6c(_0x448641,_0x12be47),{undos:_0x292c8c,redos:_0x3115f9}=_0xf73fcc(_0x209ef5,{'pivotTableId':_0x21692e,'unitId':_0x391a24,'subUnitId':_0x4abff1},_0x3bf208);return _0x359bf7&&(_0x3115f9[_0x50335d(0x216)]({'id':_0x4ae630['id'],'params':{'pivotTableId':_0x21692e,'fieldJSON':_0x359bf7,'unitId':_0x391a24,'subUnitId':_0x4abff1}}),_0x292c8c[_0x50335d(0x304)]({'id':_0x45439e['id'],'params':{'pivotTableId':_0x21692e,'dataFieldId':_0x359bf7['id'],'unitId':_0x391a24,'subUnitId':_0x4abff1}})),_0x5136e7[_0x50335d(0x426)]([..._0x5bc482[_0x50335d(0x449)],..._0x1952b5['redos'],..._0x3115f9],_0x209ef5),_0x2f5219[_0x50335d(0x3f0)]({'unitID':_0x391a24,'redoMutations':[..._0x5bc482['redos'],..._0x1952b5[_0x50335d(0x449)],..._0x3115f9],'undoMutations':[..._0x5bc482[_0x50335d(0x2e6)],..._0x1952b5[_0x50335d(0x2e6)],..._0x292c8c]}),!0x0;}},_0x18aea9=()=>typeof process<'u'&&process[_0xebbe60(0x3b7)]!=null&&process['versions']['node']!=null,_0x1651b7={'type':_0x5136e7['CommandType']['MUTATION'],'id':_0xebbe60(0x417),'handler'(_0x125e55,_0x51caf1){const _0x3ba4c5=_0xebbe60;var _0x47eee3;if(!_0x51caf1)return!0x1;const _0x2fa65d=_0x125e55['get'](_0x5136e7[_0x3ba4c5(0x301)]);if(!!_0x2fa65d[_0x3ba4c5(0x21d)](_0x500647))return!0x0;const _0x4789f3=_0x125e55[_0x3ba4c5(0x1ad)](_0x5136e7['IUniverInstanceService']),_0x475015=_0x125e55[_0x3ba4c5(0x1ad)](_0xc5aaf7['SheetsPivotDataSourceModel']),{pivotTableId:_0x2bf92e,pivotTableConfig:_0x2f5ea8,collectionConfig:_0x68bb15,unitId:_0xc36840,subUnitId:_0xdae05b}=_0x51caf1,{sourceRangeInfo:_0x340549,fieldsConfig:_0x6c1c3a,targetCellInfo:_0x1a85dc}=_0x2f5ea8,_0x3e7daa=_0x4789f3['getUnit'](_0xc36840);if(!_0x3e7daa||!_0x3e7daa[_0x3ba4c5(0x432)](_0xdae05b))return!0x1;if(!_0x18aea9()){let _0x305ed6=0x0;_0x3e7daa[_0x3ba4c5(0x40c)]()[_0x3ba4c5(0x1a8)](_0x4ffc91=>{const _0xbcfbe=_0x3ba4c5;var _0x11cb04,_0x588956;_0x305ed6+=(_0x588956=(_0x11cb04=_0x475015[_0xbcfbe(0x2e7)](_0xc36840,_0x4ffc91['getSheetId']()))==null?void 0x0:_0x11cb04[_0xbcfbe(0x30a)])!=null?_0x588956:0x0;});const _0x46b759=(_0x47eee3=_0x2fa65d[_0x3ba4c5(0x21d)](_0x3eaab7[_0x3ba4c5(0x201)]))!=null?_0x47eee3:{},{ls:_0x33962d,pbk:_0x16e728}=_0x46b759;if(!_0x1ed1a7(_0x33962d,_0x16e728))throw new _0x5136e7[(_0x3ba4c5(0x343))](_0x3ba4c5(0x319));const _0x4547f2=_0x46288e(_0xec5216,_0x33962d,_0x16e728)['count'];if(_0x305ed6>=_0x4547f2)throw new _0x5136e7[(_0x3ba4c5(0x343))](_0x3ba4c5(0x319));}if(!_0x68bb15||!_0x6c1c3a)return!0x1;const {collection:_0x286b2b,updateDataFieldList:_0x176ccd}=_0x475015[_0x3ba4c5(0x3ab)](_0x2bf92e,_0x68bb15,_0x340549,_0x1a85dc);_0x475015[_0x3ba4c5(0x29c)](_0x286b2b,_0x176ccd,_0x340549);const _0x1715eb=new _0x62e76f['PivotTable'](_0x286b2b,void 0x0,_0x2bf92e);_0x1715eb[_0x3ba4c5(0x3c5)](_0x6c1c3a);const _0x3ea4e7=JSON[_0x3ba4c5(0x206)](JSON[_0x3ba4c5(0x31e)](_0x2f5ea8));return _0x475015['addPivotTable'](_0xc36840,_0xdae05b,_0x2bf92e,_0x1715eb,_0x3ea4e7),_0x475015[_0x3ba4c5(0x2af)]({'unitId':_0xc36840,'subUnitId':_0xdae05b,'token':_0x2bf92e,'type':_0x41401b[_0x3ba4c5(0x41e)],'pivotConfig':_0x3ea4e7}),!0x0;}},_0x425760={'type':_0x5136e7[_0xebbe60(0x272)]['COMMAND'],'id':_0xebbe60(0x285),async 'handler'(_0x2abb39,_0x452e58){const _0x76f2c0=_0xebbe60;if(!_0x452e58)return!0x1;const {sourceDataInfo:_0x5e7983,pivotTableConfig:_0x4ff6aa}=_0x452e58;if(!_0x5e7983||!_0x4ff6aa)return!0x1;const {unitId:_0x2bb337,subUnitId:_0x181bd3,range:_0x4bf8dc}=_0x5e7983,_0x1c1a46=_0x2abb39['get'](_0x5136e7[_0x76f2c0(0x31b)]),_0x3c3c31=_0x2abb39[_0x76f2c0(0x1ad)](_0xc5aaf7[_0x76f2c0(0x1ba)]),_0x3804fb=_0x2abb39[_0x76f2c0(0x1ad)](_0x5136e7[_0x76f2c0(0x284)]),_0x7a8e99=_0x2abb39[_0x76f2c0(0x1ad)](_0x5136e7['ICommandService']),_0x59fd8d=_0x1c1a46[_0x76f2c0(0x24d)](_0x2bb337);if(!_0x59fd8d)return!0x1;const _0x54cf48=_0x59fd8d[_0x76f2c0(0x432)](_0x181bd3);if(!_0x54cf48)return!0x1;const _0x293fe5=_0x62e76f[_0x76f2c0(0x251)](0x8),_0x3db2ca=_0x4bf8dc||{'startRow':0x0,'startColumn':0x0,'endRow':_0x54cf48[_0x76f2c0(0x38c)]()-0x1,'endColumn':_0x54cf48[_0x76f2c0(0x342)]()-0x1};_0x3db2ca[_0x76f2c0(0x439)]=_0x5136e7[_0x76f2c0(0x2c8)][_0x76f2c0(0x29a)];const _0x41466a=(await _0x3c3c31[_0x76f2c0(0x199)]({'unitId':_0x2bb337,'subUnitId':_0x181bd3,'pivotTableId':_0x293fe5,'params':{'type':_0x278e97[_0x76f2c0(0x331)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x2bb337,'sheetName':_0x54cf48[_0x76f2c0(0x468)](),'subUnitId':_0x181bd3,'range':_0x3db2ca},'pivotTableId':_0x293fe5,'pivotTableIndexConfig':_0x4ff6aa}}}))[_0x76f2c0(0x268)][_0x76f2c0(0x17f)];if(!_0x41466a)return!0x1;const {isEmpty:_0x36447f,fieldsConfig:_0x2be5c6,collectionConfig:_0x36ccb3,changesets:_0x24a8d2}=_0x41466a,_0x17b3fc=_0x59fd8d['getSheets']()[_0x76f2c0(0x20e)],_0x5f46c8=_0x5136e7[_0x76f2c0(0x2de)]({'rowCount':_0x54cf48[_0x76f2c0(0x38c)]()-0x1,'columnCount':_0x54cf48[_0x76f2c0(0x342)]()-0x1});_0x5f46c8['id']=_0x5136e7[_0x76f2c0(0x33c)](),_0x5f46c8[_0x76f2c0(0x353)]=_0x59fd8d[_0x76f2c0(0x2a1)](''+_0x3804fb['t']('sheets.tabs.sheet'));const _0x405a5b={'index':_0x17b3fc,'sheet':_0x5f46c8,'unitId':_0x2bb337},{redos:_0x9fb7dc}=_0xf73fcc(_0x7a8e99,{'pivotTableId':_0x293fe5,'unitId':_0x2bb337,'subUnitId':_0x5f46c8['id']},_0x24a8d2),_0x2cc8ad=[{'id':_0x5dda2d[_0x76f2c0(0x27e)]['id'],'params':_0x405a5b},{'id':_0x1651b7['id'],'params':{'unitId':_0x2bb337,'subUnitId':_0x5f46c8['id'],'pivotTableId':_0x293fe5,'pivotTableConfig':{'isEmpty':_0x36447f,'fieldsConfig':_0x2be5c6,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x2bb337,'subUnitId':_0x5f46c8['id']},'sourceRangeInfo':{'subUnitId':_0x181bd3,'unitId':_0x2bb337,'range':_0x3db2ca,'sheetName':_0x54cf48[_0x76f2c0(0x468)]()}},'collectionConfig':_0x36ccb3}},..._0x9fb7dc];return _0x5136e7[_0x76f2c0(0x426)](_0x2cc8ad,_0x7a8e99),!0x0;}},_0x37788b={'type':_0x5136e7['CommandType']['MUTATION'],'id':_0xebbe60(0x46a),'handler'(_0x4bd67d,_0x245c5d){const _0x27bfc4=_0xebbe60;if(!_0x245c5d)return!0x1;if(!!_0x4bd67d['get'](_0x5136e7[_0x27bfc4(0x301)])[_0x27bfc4(0x21d)](_0x500647))return!0x0;const {pivotTableId:_0x54504c,unitId:_0x930a7f,subUnitId:_0x49fc28}=_0x245c5d,_0x3e3eba=_0x4bd67d[_0x27bfc4(0x1ad)](_0xc5aaf7[_0x27bfc4(0x19c)]);return _0x3e3eba[_0x27bfc4(0x358)](_0x930a7f,_0x49fc28,_0x54504c)?(_0x3e3eba[_0x27bfc4(0x2af)]({'unitId':_0x930a7f,'subUnitId':_0x49fc28,'token':_0x54504c,'type':_0x41401b[_0x27bfc4(0x2c4)]}),_0x3e3eba[_0x27bfc4(0x425)](_0x930a7f,_0x49fc28,_0x54504c),!0x0):!0x1;}},_0x1e774c={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':_0xebbe60(0x3e8),async 'handler'(_0x4b77a2,_0x34da8a){const _0x3aa7d4=_0xebbe60;var _0x483a84,_0x217597;const _0xa42ab4=_0x4b77a2['get'](_0x5136e7['ICommandService']),_0x47df31=_0x4b77a2[_0x3aa7d4(0x1ad)](_0x5136e7['IUniverInstanceService']),_0x266a04=_0x4b77a2[_0x3aa7d4(0x1ad)](_0x5136e7[_0x3aa7d4(0x284)]),_0x330249=_0x4b77a2[_0x3aa7d4(0x1ad)](_0xc5aaf7[_0x3aa7d4(0x1ba)]),_0x2ea23b=_0x4b77a2[_0x3aa7d4(0x1ad)](_0x5136e7[_0x3aa7d4(0x2dd)]),_0x1074b3=_0x4b77a2[_0x3aa7d4(0x1ad)](_0xc5aaf7[_0x3aa7d4(0x1f0)]),_0x52a442=_0x4b77a2[_0x3aa7d4(0x1ad)](_0x5136e7[_0x3aa7d4(0x301)]);if(!_0x34da8a)return!0x1;const {pivotTableConfig:_0x829892,positionType:_0x354934}=_0x34da8a,{targetCellInfo:_0x9dbc47,sourceRangeInfo:_0x3c597f}=_0x829892,{unitId:_0x2a278d,subUnitId:_0x3e46a6}=_0x9dbc47,_0x1da038=_0x47df31[_0x3aa7d4(0x24d)](_0x2a278d);if(!_0x1da038)return!0x1;let _0x2a8917=0x0;_0x1da038[_0x3aa7d4(0x40c)]()['forEach'](_0x3c53dd=>{const _0x300e=_0x3aa7d4;var _0x3ab66c,_0x1e7318;_0x2a8917+=(_0x1e7318=(_0x3ab66c=_0x1074b3['getSubUnitPivotConfigs'](_0x2a278d,_0x3c53dd['getSheetId']()))==null?void 0x0:_0x3ab66c[_0x300e(0x30a)])!=null?_0x1e7318:0x0;});const _0x1478e0=(_0x483a84=_0x52a442[_0x3aa7d4(0x21d)](_0x3eaab7[_0x3aa7d4(0x201)]))!=null?_0x483a84:{},{ls:_0x294d4d,pbk:_0x54278e}=_0x1478e0;if(!_0x1ed1a7(_0x294d4d,_0x54278e))return!0x1;const _0xd3f7e9=_0x46288e(_0xec5216,_0x294d4d,_0x54278e)[_0x3aa7d4(0x41f)];if(_0x2a8917>=_0xd3f7e9)return!0x1;const _0x4b8b1a=_0x34da8a[_0x3aa7d4(0x2ef)]||_0x62e76f[_0x3aa7d4(0x251)](0x8),_0x1e1e04=(await _0x330249['getPivotDisplayConfig']({'unitId':_0x2a278d,'subUnitId':_0x3e46a6,'pivotTableId':_0x4b8b1a,'params':{'type':_0x278e97[_0x3aa7d4(0x273)],'addPivotTable':{'sourceRangeInfo':_0x3c597f,'pivotTableId':_0x4b8b1a}}}))['result'][_0x3aa7d4(0x22d)];if(!_0x1e1e04)return!0x1;const {view:_0x12977c,isEmpty:_0x750973,fieldsConfig:_0x48e8a4,collectionConfig:_0x3894d0}=_0x1e1e04,_0x18015b=[],_0xff3fe8=[];if(_0x354934===_0x3ce220[_0x3aa7d4(0x1c0)]){const _0x300a92=_0x1da038[_0x3aa7d4(0x40c)]()[_0x3aa7d4(0x20e)],_0x589ff3=_0x5136e7[_0x3aa7d4(0x2de)]({});_0x589ff3['id']=_0x829892[_0x3aa7d4(0x31c)][_0x3aa7d4(0x3a5)],_0x589ff3[_0x3aa7d4(0x353)]=(_0x217597=_0x829892['targetCellInfo'][_0x3aa7d4(0x1d7)])!=null?_0x217597:_0x1da038['generateNewSheetName'](''+_0x266a04['t'](_0x3aa7d4(0x1ec)));const _0x543cba={'index':_0x300a92,'sheet':_0x589ff3,'unitId':_0x2a278d},_0x1449b3=_0x5dda2d['InsertSheetUndoMutationFactory'](_0x4b77a2,_0x543cba);_0x18015b[_0x3aa7d4(0x304)]({'id':_0x5dda2d[_0x3aa7d4(0x230)]['id'],'params':_0x1449b3}),_0xff3fe8[_0x3aa7d4(0x304)]({'id':_0x5dda2d[_0x3aa7d4(0x18c)]['id'],'params':_0x543cba});}else{if(!_0x1da038[_0x3aa7d4(0x432)](_0x3e46a6))return!0x1;const _0x3afe97=_0x58af2f(_0x4b77a2,new _0x62e76f['PivotView'](),_0x9dbc47,!0x0);_0xff3fe8[_0x3aa7d4(0x304)](..._0x3afe97['redos']),_0x18015b[_0x3aa7d4(0x304)](..._0x3afe97['undos']);const _0x1a5a38={'cellInfo':_0x9dbc47,'view':_0x12977c,'isEmpty':_0x750973};if(!await _0x4b77a2[_0x3aa7d4(0x1ad)](_0xc5aaf7[_0x3aa7d4(0x20f)])[_0x3aa7d4(0x381)][_0x3aa7d4(0x1ff)](_0xde89f0)(!0x0,_0x1a5a38))return!0x1;const _0xf5ce83=_0x520d6c(_0x4b77a2,_0x1a5a38);_0xff3fe8[_0x3aa7d4(0x304)](..._0xf5ce83[_0x3aa7d4(0x449)]),_0x18015b[_0x3aa7d4(0x304)](..._0xf5ce83[_0x3aa7d4(0x2e6)]);}return _0xff3fe8['push']({'id':_0x1651b7['id'],'params':{'unitId':_0x9dbc47['unitId'],'subUnitId':_0x9dbc47[_0x3aa7d4(0x3a5)],'pivotTableId':_0x4b8b1a,'pivotTableConfig':{'targetCellInfo':_0x9dbc47,'sourceRangeInfo':_0x3c597f,'fieldsConfig':_0x48e8a4},'collectionConfig':_0x3894d0}}),_0x18015b[_0x3aa7d4(0x216)]({'id':_0x37788b['id'],'params':{'unitId':_0x2a278d,'subUnitId':_0x3e46a6,'pivotTableId':_0x4b8b1a}}),_0x5136e7[_0x3aa7d4(0x426)](_0xff3fe8,_0xa42ab4)&&_0x2ea23b[_0x3aa7d4(0x3f0)]({'unitID':_0x2a278d,'undoMutations':_0x18015b,'redoMutations':_0xff3fe8}),!0x0;}},_0x541273={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':'sheet.command.move-pivot-field',async 'handler'(_0x361294,_0x29030f){const _0x11eb37=_0xebbe60;if(!_0x29030f)return!0x1;const _0x4c8213=_0x361294['get'](_0x5136e7[_0x11eb37(0x43b)]),_0x40ad8f=_0x361294[_0x11eb37(0x1ad)](_0xc5aaf7['SheetsPivotRPCService']),_0x4ba2aa=_0x361294['get'](_0x5136e7[_0x11eb37(0x2dd)]),{pivotTableId:_0x1aa0c2,fieldId:_0x4c7d55,area:_0x560faf,index:_0x1f9e6a,unitId:_0x4efd64,subUnitId:_0x25f0ad}=_0x29030f,_0xa6a807=(await _0x40ad8f[_0x11eb37(0x199)]({'unitId':_0x4efd64,'subUnitId':_0x25f0ad,'pivotTableId':_0x1aa0c2,'params':{'type':_0x278e97[_0x11eb37(0x1c3)],'movePivotField':{'fieldId':_0x4c7d55,'area':_0x560faf,'index':_0x1f9e6a}}}))['result'][_0x11eb37(0x34f)];if(!_0xa6a807)return!0x1;const {changesets:_0x560500,view:_0x4feb18,isEmpty:_0x85480b,pivotTableConfig:_0x466112}=_0xa6a807,_0x2a45a4=_0x466112['targetCellInfo'],_0x477e6e=new _0x62e76f[(_0x11eb37(0x3b1))]();_0x477e6e['formJSON'](_0x4feb18);const _0x2ddc7b={'cellInfo':_0x2a45a4,'view':_0x477e6e,'isEmpty':_0x85480b};if(!await _0x361294[_0x11eb37(0x1ad)](_0xc5aaf7[_0x11eb37(0x20f)])[_0x11eb37(0x381)]['fetchThroughAsyncInterceptors'](_0xde89f0)(!0x0,_0x2ddc7b))return!0x1;const _0x2f0e90=_0x58af2f(_0x361294,_0x477e6e,_0x2a45a4,_0x85480b),_0x4d50c2=_0x520d6c(_0x361294,_0x2ddc7b),{redos:_0x28a747,undos:_0x4e4de2}=_0xf73fcc(_0x4c8213,{'pivotTableId':_0x1aa0c2,'unitId':_0x4efd64,'subUnitId':_0x25f0ad},_0x560500);return _0x5136e7[_0x11eb37(0x426)]([..._0x2f0e90[_0x11eb37(0x449)],..._0x4d50c2[_0x11eb37(0x449)],..._0x28a747],_0x4c8213),_0x4ba2aa[_0x11eb37(0x3f0)]({'unitID':_0x4efd64,'redoMutations':[..._0x2f0e90[_0x11eb37(0x449)],..._0x4d50c2['redos'],..._0x28a747],'undoMutations':[..._0x2f0e90['undos'],..._0x4d50c2[_0x11eb37(0x2e6)],..._0x4e4de2]}),!0x0;}},_0x15a7fd={'type':_0x5136e7['CommandType'][_0xebbe60(0x2a8)],'id':_0xebbe60(0x443),'handler'(_0x51f6dd,_0x566454){const _0x3ee7e2=_0xebbe60;if(!_0x566454)return!0x1;if(!!_0x51f6dd[_0x3ee7e2(0x1ad)](_0x5136e7[_0x3ee7e2(0x301)])[_0x3ee7e2(0x21d)](_0x500647))return!0x0;const {pivotTableId:_0x15ee3a,targetCellPosition:_0x11d693,unitId:_0x527d82,subUnitId:_0x22bf07}=_0x566454,_0x53aad1=_0x51f6dd[_0x3ee7e2(0x1ad)](_0xc5aaf7[_0x3ee7e2(0x19c)]);if(!_0x53aad1[_0x3ee7e2(0x181)](_0x566454[_0x3ee7e2(0x2ef)]))return!0x1;const _0xe35aca=_0x53aad1[_0x3ee7e2(0x2a9)](_0x15ee3a);if(!_0xe35aca)return!0x1;const _0x171bbc=_0x53aad1[_0x3ee7e2(0x3b0)](_0xe35aca[_0x3ee7e2(0x44b)],_0x566454[_0x3ee7e2(0x2ef)]);if(!_0x171bbc)return!0x1;const _0x124d9b=_0x53aad1[_0x3ee7e2(0x358)](_0xe35aca[_0x3ee7e2(0x44b)],_0xe35aca[_0x3ee7e2(0x3a5)],_0x15ee3a);if(!_0x124d9b)return!0x1;const _0x3100e1=_0x5136e7[_0x3ee7e2(0x360)]['deepClone'](_0x124d9b);_0x3100e1[_0x3ee7e2(0x31c)]={'unitId':_0x527d82,'subUnitId':_0x22bf07,'row':_0x11d693[_0x3ee7e2(0x183)],'col':_0x11d693[_0x3ee7e2(0x1c6)]};const _0x32d9f5=_0x171bbc['toJSON']();if(_0xe35aca['subUnitId']===_0x22bf07&&_0xe35aca['unitId']===_0x527d82)_0x53aad1[_0x3ee7e2(0x25e)](_0x527d82,_0x22bf07,_0x15ee3a,_0x3100e1),_0x53aad1['addDirtyPivotTable']({'unitId':_0x527d82,'subUnitId':_0x22bf07,'token':_0x15ee3a,'type':_0x41401b['Set']});else{_0x53aad1[_0x3ee7e2(0x2af)]({'unitId':_0xe35aca[_0x3ee7e2(0x44b)],'subUnitId':_0xe35aca[_0x3ee7e2(0x3a5)],'token':_0x15ee3a,'type':_0x41401b[_0x3ee7e2(0x2c4)]}),_0x53aad1['removePivotTable'](_0xe35aca['unitId'],_0xe35aca[_0x3ee7e2(0x3a5)],_0x15ee3a);const _0x30524e=_0x53aad1[_0x3ee7e2(0x3ab)](_0x15ee3a,_0x32d9f5,_0x124d9b[_0x3ee7e2(0x434)],_0x3100e1[_0x3ee7e2(0x31c)]),_0x138435=new _0x62e76f[(_0x3ee7e2(0x2b1))](_0x30524e['collection'],void 0x0,_0x15ee3a);_0x138435[_0x3ee7e2(0x3c5)](_0x3100e1['fieldsConfig']),_0x53aad1[_0x3ee7e2(0x22d)](_0x527d82,_0x22bf07,_0x15ee3a,_0x138435,_0x3100e1),_0x53aad1[_0x3ee7e2(0x2af)]({'unitId':_0x527d82,'subUnitId':_0x22bf07,'token':_0x15ee3a,'type':_0x41401b[_0x3ee7e2(0x41e)],'pivotConfig':_0x3100e1});}return!0x0;}},_0x4b44ba={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':_0xebbe60(0x36f),'handler':(_0x292a4d,_0x3b7aca)=>{const _0x4ccd64=_0xebbe60,_0x3f6ca1=_0x292a4d[_0x4ccd64(0x1ad)](_0x5136e7[_0x4ccd64(0x43b)]),_0x4a6881=_0x292a4d[_0x4ccd64(0x1ad)](_0x5136e7['IUndoRedoService']),_0x548001=_0x292a4d[_0x4ccd64(0x1ad)](_0xc5aaf7['SheetsPivotTableConfigModel']),_0x4237bc=_0x292a4d[_0x4ccd64(0x1ad)](_0x5136e7[_0x4ccd64(0x31b)]);if(!_0x3b7aca)return!0x1;const _0x1fff14=_0x5dda2d[_0x4ccd64(0x3ee)](_0x4237bc);if(!_0x1fff14)return!0x1;const {unitId:_0x1887e7,subUnitId:_0x800041,workbook:_0x2d3a65}=_0x1fff14,_0x1eb6ca=_0x548001[_0x4ccd64(0x358)](_0x3b7aca[_0x4ccd64(0x2b4)]['unitId'],_0x3b7aca['originTargetInfo']['subUnitId'],_0x3b7aca[_0x4ccd64(0x2ef)]);if(!_0x1eb6ca)return!0x1;const _0x2f6d33=_0x2d3a65[_0x4ccd64(0x432)](_0x3b7aca[_0x4ccd64(0x31c)][_0x4ccd64(0x3a5)]);if(!_0x2f6d33)throw new Error(_0x4ccd64(0x347));const _0x3cff99=_0x2f6d33[_0x4ccd64(0x38c)](),_0x26d486=_0x2f6d33[_0x4ccd64(0x342)]();if(_0x3b7aca[_0x4ccd64(0x31c)]['row']>_0x3cff99||_0x3b7aca[_0x4ccd64(0x31c)][_0x4ccd64(0x1c6)]>_0x26d486)throw new Error(_0x4ccd64(0x210));const _0x6ae31e=[{'id':_0x15a7fd['id'],'params':{'unitId':_0x1887e7,'subUnitId':_0x3b7aca[_0x4ccd64(0x31c)][_0x4ccd64(0x3a5)],'pivotTableId':_0x3b7aca[_0x4ccd64(0x2ef)],'targetCellPosition':{'row':_0x3b7aca[_0x4ccd64(0x31c)][_0x4ccd64(0x183)],'col':_0x3b7aca[_0x4ccd64(0x31c)]['col']}}}],_0x4a368d=[{'id':_0x15a7fd['id'],'params':{'unitId':_0x1887e7,'subUnitId':_0x800041,'pivotTableId':_0x3b7aca[_0x4ccd64(0x2ef)],'targetCellPosition':{'row':_0x1eb6ca[_0x4ccd64(0x31c)][_0x4ccd64(0x183)],'col':_0x1eb6ca[_0x4ccd64(0x31c)]['col']}}}];return _0x5136e7['sequenceExecute'](_0x6ae31e,_0x3f6ca1)&&_0x4a6881[_0x4ccd64(0x3f0)]({'unitID':_0x1887e7,'undoMutations':_0x4a368d,'redoMutations':_0x6ae31e}),!0x0;}},_0x54cb4d={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':'sheet.command.pivot-drill-down',async 'handler'(_0x1dd867,_0x4a5f8c){const _0x3994fa=_0xebbe60;var _0x2203e5;if(!_0x4a5f8c)return!0x1;const _0x429268=_0x1dd867[_0x3994fa(0x1ad)](_0x5136e7[_0x3994fa(0x31b)]),_0x51da42=_0x5dda2d[_0x3994fa(0x3ee)](_0x429268);if(!_0x51da42)return!0x1;const {unitId:_0x5ebba1,subUnitId:_0x19e9ee,workbook:_0x519b18}=_0x51da42,{row:_0x138cf5,col:_0x2e8030}=_0x4a5f8c,_0x1f7121=_0x1dd867[_0x3994fa(0x1ad)](_0xc5aaf7[_0x3994fa(0x3f7)]),_0x3b18b8=_0x1f7121[_0x3994fa(0x1a6)](_0x5ebba1,_0x19e9ee,_0x138cf5,_0x2e8030);if(!_0x3b18b8)return!0x1;const _0x31bd4e=(_0x2203e5=_0x1f7121[_0x3994fa(0x3d5)](_0x5ebba1,_0x19e9ee,_0x3b18b8))==null?void 0x0:_0x2203e5['areaInfo'];if(!_0x31bd4e)return!0x1;const _0x431641=_0x1dd867[_0x3994fa(0x1ad)](_0xc5aaf7[_0x3994fa(0x1f0)])[_0x3994fa(0x358)](_0x5ebba1,_0x19e9ee,_0x3b18b8);if(!_0x431641)return!0x1;const {rowInfo:_0x18f751,colInfo:_0x3637f9}=_0x31bd4e,_0x1169ac=_0x18f751[_0x138cf5][_0x3994fa(0x2cf)],_0x11681a=_0x3637f9[_0x2e8030][_0x3994fa(0x2cf)],_0xe03fed=_0x18f751[_0x138cf5][_0x3994fa(0x232)],_0x27d58f=_0x3637f9[_0x2e8030][_0x3994fa(0x232)],_0x524b65=_0x1169ac[_0x3994fa(0x415)](_0x11681a),_0x573a90=_0x431641[_0x3994fa(0x2cc)]['rowFields'][_0x3994fa(0x26a)](0x0,_0xe03fed),_0x4b7083=_0x431641['fieldsConfig']['columnFields'][_0x3994fa(0x26a)](0x0,_0x27d58f),_0x579321=_0x573a90[_0x3994fa(0x415)](_0x4b7083),_0x2a33f0=_0x524b65[_0x3994fa(0x3ac)]((_0x137606,_0x32b675)=>[_0x137606,_0x579321[_0x32b675]]),_0x49a51b=(await _0x1dd867['get'](_0xc5aaf7[_0x3994fa(0x1ba)])[_0x3994fa(0x199)]({'unitId':_0x5ebba1,'subUnitId':_0x19e9ee,'pivotTableId':_0x3b18b8,'params':{'type':_0x278e97[_0x3994fa(0x1fa)],'drillDown':{'tuple':_0x2a33f0}}}))[_0x3994fa(0x268)][_0x3994fa(0x260)];if(!_0x49a51b)return!0x1;const {indexes:_0x3e0059,range:_0x5a5906,sourceUnitId:_0x276cfb,sourceSubUnitId:_0x135585,formatMap:_0x3c0bf2}=_0x49a51b,{startRow:_0x23c999,endRow:_0x5cb1fa,startColumn:_0x21eeb7,endColumn:_0x5babf5}=_0x5a5906,_0x25ab93=new _0x5136e7[(_0x3994fa(0x3a3))](),_0x6245bf=_0x5cb1fa-_0x23c999,_0x244025=_0x5babf5-_0x21eeb7,_0x5f0420={},_0xa02f1f=_0x5dda2d[_0x3994fa(0x3ee)](_0x429268,{'unitId':_0x276cfb,'subUnitId':_0x135585});if(!_0xa02f1f)return!0x1;const _0x51d821=_0x48a60b[_0x3994fa(0x2bb)],_0x2782a8=_0x48a60b[_0x3994fa(0x2d8)],_0x978bde=_0x48a60b['subTotalStyle'],_0x107913=_0x519b18[_0x3994fa(0x3a8)]()[_0x3994fa(0x229)](_0x51d821),_0x46d139=_0x519b18['getStyles']()[_0x3994fa(0x229)](_0x2782a8),_0x19587d=_0x519b18[_0x3994fa(0x3a8)]()[_0x3994fa(0x229)](_0x978bde),{worksheet:_0x34d1fa}=_0xa02f1f;let _0xb45d4=0x0;const _0x2332e4=0x1;_0x3e0059['forEach'](_0x347d9b=>{for(let _0x52e696=0x0;_0x52e696<=_0x5babf5-_0x21eeb7;_0x52e696++)_0x25ab93['setValue'](_0xb45d4,_0x52e696,_0x34d1fa['getCellRaw'](_0x347d9b+_0x5a5906['startRow']+_0x2332e4,_0x52e696));_0xb45d4++;});for(let _0x27f63c=_0x21eeb7;_0x27f63c<=_0x5babf5;_0x27f63c++){const _0x53c907=_0x34d1fa[_0x3994fa(0x45b)](_0x23c999,_0x27f63c);_0x5f0420[_0x23c999]||(_0x5f0420[_0x23c999]={}),_0x5f0420[_0x23c999][_0x27f63c]={..._0x53c907,'s':_0x107913};}let _0x451a22=0x1;const _0x26f087={},_0x439123={};_0x25ab93[_0x3994fa(0x1b3)]((_0x4f5238,_0x5263ac)=>{const _0x576375=_0x3994fa;_0x5263ac[_0x576375(0x1a8)](_0x5206a3=>{const _0x168f4c=_0x576375,_0x4aaa00=_0x25ab93[_0x168f4c(0x247)](_0x4f5238,_0x5206a3);if(_0x5f0420[_0x451a22]||(_0x5f0420[_0x451a22]={}),_0x5f0420[_0x451a22][_0x5206a3]={..._0x4aaa00,'s':_0x451a22%0x2===0x0?_0x19587d:_0x46d139},_0x3c0bf2[_0x5206a3]&&_0x4f5238>=0x0){const _0x225f24=_0x451a22%0x2===0x0;let _0x3175c2=_0x225f24?_0x439123[_0x5206a3]:_0x26f087[_0x5206a3];_0x3175c2||(_0x3175c2=_0x519b18[_0x168f4c(0x3a8)]()[_0x168f4c(0x229)]({..._0x225f24?_0x978bde:_0x2782a8,'n':{'pattern':_0x3c0bf2[_0x5206a3]}}),_0x225f24?_0x439123[_0x5206a3]=_0x3175c2:_0x26f087[_0x5206a3]=_0x3175c2),_0x5f0420[_0x451a22][_0x5206a3]['s']=_0x3175c2;}}),_0x451a22++;});const _0x2b53e1=new _0x5136e7[(_0x3994fa(0x3a3))](_0x5f0420),_0x2f3133={};_0x2b53e1['forValue']((_0x183d52,_0x5da087,_0x19fc7b)=>{_0x2f3133[_0x183d52]||(_0x2f3133[_0x183d52]={}),_0x2f3133[_0x183d52][_0x5da087]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0xe1436a=[],_0x17371f=[],_0x9912e6=_0x519b18[_0x3994fa(0x40c)]()[_0x3994fa(0x20e)],_0x4d8d50=_0x5136e7[_0x3994fa(0x2de)]({'rowCount':Math['max'](_0x5136e7[_0x3994fa(0x180)],_0x6245bf+0xa),'columnCount':Math[_0x3994fa(0x2da)](_0x5136e7[_0x3994fa(0x46b)],_0x244025+0x5)}),_0x1dc470=_0x1dd867[_0x3994fa(0x1ad)](_0x5136e7[_0x3994fa(0x284)]);_0x4d8d50['id']=_0x5136e7[_0x3994fa(0x33c)](),_0x4d8d50[_0x3994fa(0x353)]=_0x519b18[_0x3994fa(0x2a1)](''+_0x1dc470['t'](_0x3994fa(0x1ec)));const _0x5a878c={'index':_0x9912e6,'sheet':_0x4d8d50,'unitId':_0x5ebba1},_0x3ede3a=_0x5dda2d['InsertSheetUndoMutationFactory'](_0x1dd867,_0x5a878c);_0x17371f[_0x3994fa(0x304)]({'id':_0x5dda2d[_0x3994fa(0x18c)]['id'],'params':_0x5a878c}),_0xe1436a[_0x3994fa(0x304)]({'id':_0x5dda2d['RemoveSheetMutation']['id'],'params':_0x3ede3a}),_0x17371f[_0x3994fa(0x304)]({'id':_0x5dda2d[_0x3994fa(0x368)]['id'],'params':{'unitId':_0x5ebba1,'subUnitId':_0x4d8d50['id'],'cellValue':_0x5f0420}}),_0xe1436a[_0x3994fa(0x216)]({'id':_0x5dda2d[_0x3994fa(0x368)]['id'],'params':{'unitId':_0x5ebba1,'subUnitId':_0x4d8d50['id'],'cellValue':_0x2f3133}});const _0x14ec9e={'startRow':0x0,'startColumn':0x0,'endRow':_0x451a22-0x1,'endColumn':_0x5babf5};_0x17371f[_0x3994fa(0x304)]({'id':_0x38747e[_0x3994fa(0x24e)]['id'],'params':{'unitId':_0x5ebba1,'subUnitId':_0x4d8d50['id'],'range':_0x14ec9e}}),_0xe1436a[_0x3994fa(0x216)]({'id':_0x38747e[_0x3994fa(0x1be)]['id'],'params':{'unitId':_0x5ebba1,'subUnitId':_0x4d8d50['id']}});const _0x643fd3=_0x1dd867[_0x3994fa(0x1ad)](_0x5136e7[_0x3994fa(0x43b)]);return _0x5136e7[_0x3994fa(0x426)](_0x17371f,_0x643fd3)&&_0x1dd867[_0x3994fa(0x1ad)](_0x5136e7[_0x3994fa(0x2dd)])[_0x3994fa(0x3f0)]({'unitID':_0x5ebba1,'undoMutations':_0xe1436a,'redoMutations':_0x17371f}),!0x0;}},_0x4af0d8={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':_0xebbe60(0x1cc),async 'handler'(_0x49b501,_0xbab3a9){const _0x30f529=_0xebbe60;if(!_0xbab3a9)return!0x1;const _0x2d5fc1=_0x49b501[_0x30f529(0x1ad)](_0x5136e7[_0x30f529(0x43b)]),_0x330057=_0x49b501['get'](_0xc5aaf7[_0x30f529(0x1ba)]),_0x1182d2=_0x49b501[_0x30f529(0x1ad)](_0x5136e7[_0x30f529(0x2dd)]),{pivotTableId:_0xb81845,fieldIds:_0x509b7c,unitId:_0x5c7678,subUnitId:_0x75f24f}=_0xbab3a9,_0x1d6641=(await _0x330057[_0x30f529(0x199)]({'unitId':_0x5c7678,'subUnitId':_0x75f24f,'pivotTableId':_0xb81845,'params':{'type':_0x278e97['RemovePivotField'],'removePivotField':{'fieldIds':_0x509b7c}}}))[_0x30f529(0x268)]['removePivotField'];if(!_0x1d6641)return!0x1;const {view:_0x4aa4e9,changesets:_0x1621d5,isEmpty:_0x29b509,pivotTableConfig:_0x33178c}=_0x1d6641,_0x221213=_0x33178c['targetCellInfo'],_0x4afcbb=new _0x62e76f['PivotView']();_0x4afcbb['formJSON'](_0x4aa4e9);const _0x4e2dfb={'cellInfo':_0x221213,'view':_0x4afcbb,'isEmpty':_0x29b509};if(!await _0x49b501['get'](_0xc5aaf7[_0x30f529(0x20f)])[_0x30f529(0x381)][_0x30f529(0x1ff)](_0xde89f0)(!0x0,_0x4e2dfb))return!0x1;const _0x2394eb=_0x58af2f(_0x49b501,_0x4afcbb,_0x221213,_0x29b509),_0x541a87=_0x520d6c(_0x49b501,_0x4e2dfb),{redos:_0x3d7849,undos:_0x18efec}=_0xf73fcc(_0x2d5fc1,{'pivotTableId':_0xb81845,'unitId':_0x5c7678,'subUnitId':_0x75f24f},_0x1621d5);return _0x5136e7[_0x30f529(0x426)]([..._0x2394eb[_0x30f529(0x449)],..._0x541a87[_0x30f529(0x449)],..._0x3d7849],_0x2d5fc1),_0x1182d2[_0x30f529(0x3f0)]({'unitID':_0x5c7678,'redoMutations':[..._0x2394eb[_0x30f529(0x449)],..._0x541a87['redos'],..._0x3d7849],'undoMutations':[..._0x2394eb['undos'],..._0x541a87[_0x30f529(0x2e6)],..._0x18efec]}),!0x0;}},_0x1dc388={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':_0xebbe60(0x3a7),async 'handler'(_0x4cf552,_0xda9a0c){const _0x9717ec=_0xebbe60;if(!_0xda9a0c)return!0x1;const _0x15dd51=_0x4cf552['get'](_0x5136e7[_0x9717ec(0x43b)]),_0x2d3e58=_0x4cf552['get'](_0x5136e7[_0x9717ec(0x2dd)]),_0x1087cc=_0x4cf552[_0x9717ec(0x1ad)](_0xc5aaf7['SheetsPivotRPCService']),{resetArea:_0x40368c,pivotTableId:_0x1b656c,unitId:_0x2fd10f,subUnitId:_0x369a17}=_0xda9a0c,_0x11c66a=(await _0x1087cc[_0x9717ec(0x199)]({'unitId':_0x2fd10f,'subUnitId':_0x369a17,'pivotTableId':_0x1b656c,'params':{'type':_0x278e97[_0x9717ec(0x2cb)],'resetPivotTable':{'pivotTableId':_0x1b656c,'resetArea':_0x40368c}}}))[_0x9717ec(0x268)]['resetPivotTable'];if(!_0x11c66a)return!0x1;const {changesets:_0x13c61d}=_0x11c66a,{redos:_0x3cbb0f,undos:_0x1ef4c3}=_0xf73fcc(_0x15dd51,{'pivotTableId':_0x1b656c,'unitId':_0x2fd10f,'subUnitId':_0x369a17},_0x13c61d);return _0x5136e7[_0x9717ec(0x426)](_0x3cbb0f,_0x15dd51),_0x2d3e58['pushUndoRedo']({'unitID':_0x2fd10f,'redoMutations':_0x3cbb0f,'undoMutations':_0x1ef4c3}),!0x0;}},_0x4afeb7={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':_0xebbe60(0x411),async 'handler'(_0x3c431a,_0x2d5a88){const _0x33ccd1=_0xebbe60,_0x77895c=_0x3c431a['get'](_0x5136e7[_0x33ccd1(0x43b)]),_0x3520f0=_0x3c431a[_0x33ccd1(0x1ad)](_0xc5aaf7[_0x33ccd1(0x1ba)]),_0x310ce0=_0x3c431a[_0x33ccd1(0x1ad)](_0xc5aaf7[_0x33ccd1(0x3f7)]),_0x3fa4db=_0x3c431a[_0x33ccd1(0x1ad)](_0x5136e7[_0x33ccd1(0x31b)]),_0x96f2a7=_0x3c431a['get'](_0x5136e7[_0x33ccd1(0x284)]),_0x9abf7c=_0x3c431a[_0x33ccd1(0x1ad)](_0x5136e7['IUndoRedoService']);if(!_0x2d5a88)return!0x1;const {unitId:_0x49ebe2,subUnitId:_0x15f303,row:_0x3f3536,col:_0x565052,collapse:_0x3f91c3}=_0x2d5a88,_0x238f0f=_0x3fa4db[_0x33ccd1(0x24d)](_0x49ebe2);if(!_0x238f0f||!_0x238f0f[_0x33ccd1(0x432)](_0x15f303))return!0x1;const _0x5e5c54=_0x310ce0['getPivotTableIdByCell'](_0x49ebe2,_0x15f303,_0x3f3536,_0x565052);if(!_0x5e5c54)return!0x1;const _0x149782=_0x310ce0[_0x33ccd1(0x3d5)](_0x49ebe2,_0x15f303,_0x5e5c54);if(!_0x149782)return!0x1;const _0x1a2c72=_0x5136e7['cellToRange'](_0x3f3536,_0x565052),{rangesInfo:_0x327c41,areaInfo:_0x155c56,headerMap:_0x48fb96}=_0x149782;if(!_0x327c41||!_0x155c56||!_0x48fb96)return!0x1;const _0x36d256=Object['keys'](_0x327c41)[_0x33ccd1(0x32b)](_0x2e12f5=>_0x327c41[_0x2e12f5]['some'](_0x420cf3=>_0x5136e7[_0x33ccd1(0x350)][_0x33ccd1(0x28c)](_0x420cf3,_0x1a2c72)));let _0x5b9336;_0x36d256===_0x33ccd1(0x208)?_0x5b9336=_0x48fb96[_0x33ccd1(0x26c)][_0x565052]:_0x36d256==='colRanges'&&(_0x5b9336=_0x48fb96[_0x33ccd1(0x3da)][_0x3f3536]);const _0x1d89bf=_0x5b9336==null?void 0x0:_0x5b9336[_0x33ccd1(0x16a)],_0x3a334d=_0x310ce0['getPivotTableCellData'](_0x49ebe2,_0x15f303,_0x3f3536,_0x565052);let _0x5bcfa5=_0x3a334d==null?void 0x0:_0x3a334d['v'];if(_0x5bcfa5===_0x96f2a7['t']('sheets-pivot.blank')&&(_0x5bcfa5=_0x62e76f['GlobalConfig'][_0x33ccd1(0x3b4)]),_0x5bcfa5==null||!_0x5e5c54||!_0x1d89bf)return!0x1;const _0x55d48c=await _0x3520f0['getPivotDisplayConfig']({'unitId':_0x49ebe2,'subUnitId':_0x15f303,'pivotTableId':_0x5e5c54,'params':{'type':_0x278e97[_0x33ccd1(0x261)],'setPivotCollapse':{'tableFieldId':_0x1d89bf,'collapse':_0x3f91c3,'item':_0x5bcfa5}}}),_0x32409e=_0x55d48c==null?void 0x0:_0x55d48c[_0x33ccd1(0x268)][_0x33ccd1(0x19a)];if(!_0x32409e)return!0x1;const {view:_0x3238db,pivotTableConfig:_0x41081e,isEmpty:_0x1922b2,changesets:_0x59d272}=_0x32409e,_0x35ca17=new _0x62e76f[(_0x33ccd1(0x3b1))]();_0x35ca17[_0x33ccd1(0x2ac)](_0x3238db);const _0x49553e=_0x41081e[_0x33ccd1(0x31c)],_0x3cebfe={'cellInfo':_0x49553e,'view':_0x35ca17,'isEmpty':_0x1922b2};if(!await _0x3c431a[_0x33ccd1(0x1ad)](_0xc5aaf7[_0x33ccd1(0x20f)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0xde89f0)(!0x0,_0x3cebfe))return!0x1;const _0x6081e7=_0x58af2f(_0x3c431a,_0x35ca17,_0x49553e,_0x1922b2),_0x31a458=_0x520d6c(_0x3c431a,_0x3cebfe),{redos:_0x1b1b8c,undos:_0x210072}=_0xf73fcc(_0x77895c,{'pivotTableId':_0x5e5c54,'unitId':_0x49ebe2,'subUnitId':_0x15f303},_0x59d272);return _0x5136e7[_0x33ccd1(0x426)]([..._0x6081e7['redos'],..._0x31a458[_0x33ccd1(0x449)],..._0x1b1b8c],_0x77895c),_0x9abf7c[_0x33ccd1(0x3f0)]({'unitID':_0x49ebe2,'redoMutations':[..._0x6081e7[_0x33ccd1(0x449)],..._0x31a458[_0x33ccd1(0x449)],..._0x1b1b8c],'undoMutations':[..._0x6081e7[_0x33ccd1(0x2e6)],..._0x31a458['undos'],..._0x210072]}),!0x0;}},_0x150c06={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':'sheet.command.set-pivot-fields-config',async 'handler'(_0x5c1f58,_0x32bc7f){const _0x3e035c=_0xebbe60;if(!_0x32bc7f)return!0x1;const _0x570f83=_0x5c1f58['get'](_0x5136e7[_0x3e035c(0x43b)]),_0x54b0c3=_0x5c1f58[_0x3e035c(0x1ad)](_0x5136e7[_0x3e035c(0x2dd)]),_0xc17c47=_0x5c1f58['get'](_0xc5aaf7[_0x3e035c(0x1ba)]),{pivotTableConfig:_0x1af652,pivotTableId:_0x16e19a,unitId:_0x416ca7,subUnitId:_0x321d70}=_0x32bc7f,_0x2900a0=(await _0xc17c47['getPivotDisplayConfig']({'unitId':_0x416ca7,'subUnitId':_0x321d70,'pivotTableId':_0x16e19a,'params':{'type':_0x278e97[_0x3e035c(0x38b)],'setPivotTableConfig':{'pivotTableId':_0x16e19a,'pivotTableConfig':_0x1af652}}}))['result'][_0x3e035c(0x423)];if(!_0x2900a0)return!0x1;const {changesets:_0x47158d}=_0x2900a0,{redos:_0x404a0c,undos:_0x337a7a}=_0xf73fcc(_0x570f83,{'pivotTableId':_0x16e19a,'unitId':_0x416ca7,'subUnitId':_0x321d70},_0x47158d);return _0x5136e7[_0x3e035c(0x426)](_0x404a0c,_0x570f83),_0x54b0c3[_0x3e035c(0x3f0)]({'unitID':_0x416ca7,'redoMutations':_0x404a0c,'undoMutations':_0x337a7a}),!0x0;}},_0x3e7e2a={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':_0xebbe60(0x42d),async 'handler'(_0x342765,_0x57e20c){const _0x2e450c=_0xebbe60;if(!_0x57e20c)return!0x1;const _0x2af985=_0x342765[_0x2e450c(0x1ad)](_0x5136e7[_0x2e450c(0x43b)]),{pivotTableId:_0x5dab0f,tableFieldId:_0x168e52,items:_0x148077,unitId:_0xbefa50,subUnitId:_0x28132b,isAll:_0x2431aa}=_0x57e20c,_0xf01cba=_0x342765['get'](_0xc5aaf7[_0x2e450c(0x1ba)]),_0x54f56e=_0x342765[_0x2e450c(0x1ad)](_0x5136e7[_0x2e450c(0x2dd)]),_0x56510e=(await _0xf01cba[_0x2e450c(0x199)]({'unitId':_0xbefa50,'subUnitId':_0x28132b,'pivotTableId':_0x5dab0f,'params':{'type':_0x278e97[_0x2e450c(0x344)],'setPivotFilter':{'tableFieldId':_0x168e52,'items':_0x148077,'isAll':_0x2431aa}}}))[_0x2e450c(0x268)][_0x2e450c(0x280)];if(!_0x56510e)return!0x1;const {changesets:_0x2f0657,pivotTableConfig:_0x1b008c,isEmpty:_0x222399,view:_0x10c6ee}=_0x56510e,_0x45e9a9=_0x1b008c[_0x2e450c(0x31c)],_0xd08203=new _0x62e76f[(_0x2e450c(0x3b1))]();_0xd08203[_0x2e450c(0x2ac)](_0x10c6ee);const _0x4bea9f={'cellInfo':_0x45e9a9,'view':_0xd08203,'isEmpty':_0x222399};if(!await _0x342765[_0x2e450c(0x1ad)](_0xc5aaf7[_0x2e450c(0x20f)])['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0xde89f0)(!0x0,_0x4bea9f))return!0x1;const _0xaa58a3=_0x58af2f(_0x342765,_0xd08203,_0x45e9a9,_0x222399),_0x474bed=_0x520d6c(_0x342765,_0x4bea9f),{undos:_0x182562,redos:_0x5d0d65}=_0xf73fcc(_0x2af985,{'pivotTableId':_0x5dab0f,'unitId':_0xbefa50,'subUnitId':_0x28132b},_0x2f0657);return _0x5136e7['sequenceExecute']([..._0xaa58a3[_0x2e450c(0x449)],..._0x474bed[_0x2e450c(0x449)],..._0x5d0d65],_0x2af985),_0x54f56e[_0x2e450c(0x3f0)]({'unitID':_0xbefa50,'redoMutations':[..._0xaa58a3['redos'],..._0x474bed[_0x2e450c(0x449)],..._0x5d0d65],'undoMutations':[..._0xaa58a3[_0x2e450c(0x2e6)],..._0x474bed[_0x2e450c(0x2e6)],..._0x182562]}),!0x0;}},_0x1f6728={'type':_0x5136e7['CommandType'][_0xebbe60(0x309)],'id':_0xebbe60(0x409),async 'handler'(_0xd09e31,_0x2ff6d2){const _0x55505d=_0xebbe60;if(!_0x2ff6d2)return!0x1;const _0x465035=_0xd09e31[_0x55505d(0x1ad)](_0x5136e7[_0x55505d(0x43b)]),_0x34c752=_0xd09e31['get'](_0x5136e7[_0x55505d(0x2dd)]),_0x3984b7=_0xd09e31[_0x55505d(0x1ad)](_0xc5aaf7[_0x55505d(0x1ba)]),{info:_0x79b474,tableFieldId:_0x3044b9,pivotTableId:_0x202d6f,unitId:_0x4c8d6f,subUnitId:_0x3bc3c0}=_0x2ff6d2,_0xed4d05=(await _0x3984b7[_0x55505d(0x199)]({'unitId':_0x4c8d6f,'subUnitId':_0x3bc3c0,'pivotTableId':_0x202d6f,'params':{'type':_0x278e97[_0x55505d(0x457)],'setPivotSort':{'tableFieldId':_0x3044b9,'info':_0x79b474}}}))[_0x55505d(0x268)]['setPivotSort'];if(!_0xed4d05)return!0x1;const {changesets:_0xc4b6a4}=_0xed4d05,{redos:_0xf8d655,undos:_0x2232e9}=_0xf73fcc(_0x465035,{'pivotTableId':_0x202d6f,'unitId':_0x4c8d6f,'subUnitId':_0x3bc3c0},_0xc4b6a4);return _0x5136e7[_0x55505d(0x426)](_0xf8d655,_0x465035),_0x34c752['pushUndoRedo']({'unitID':_0x4c8d6f,'redoMutations':_0xf8d655,'undoMutations':_0x2232e9}),!0x0;}},_0x1a6b55={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':'sheet.command.set-pivot-value-filter',async 'handler'(_0x1dc108,_0x39ffc1){const _0x547077=_0xebbe60;if(!_0x39ffc1)return!0x1;const _0x17a803=_0x1dc108[_0x547077(0x1ad)](_0x5136e7[_0x547077(0x43b)]),{pivotTableId:_0x865433,fieldId:_0x10a812,valueFilterInfo:_0x5b1504,unitId:_0x252f47,subUnitId:_0x12ff42}=_0x39ffc1,_0x9a2bbb=_0x1dc108[_0x547077(0x1ad)](_0xc5aaf7[_0x547077(0x1ba)]),_0x4e12e5=_0x1dc108[_0x547077(0x1ad)](_0x5136e7[_0x547077(0x2dd)]),_0x4e7a5a=(await _0x9a2bbb[_0x547077(0x199)]({'unitId':_0x252f47,'subUnitId':_0x12ff42,'pivotTableId':_0x865433,'params':{'type':_0x278e97[_0x547077(0x1c9)],'setValuePivotFilter':{'tableFieldId':_0x10a812,'filterInfo':_0x5b1504}}}))['result'][_0x547077(0x317)];if(!_0x4e7a5a)return!0x1;const {changesets:_0xb8863f,pivotTableConfig:_0x2083fe,isEmpty:_0x376bc8,view:_0xafa740}=_0x4e7a5a,_0x34d5f6=_0x2083fe['targetCellInfo'],_0x309022=new _0x62e76f['PivotView']();_0x309022['formJSON'](_0xafa740);const _0x5b2569={'cellInfo':_0x34d5f6,'view':_0x309022,'isEmpty':_0x376bc8};if(!await _0x1dc108[_0x547077(0x1ad)](_0xc5aaf7['SheetsPivotTableService'])[_0x547077(0x381)][_0x547077(0x1ff)](_0xde89f0)(!0x0,_0x5b2569))return!0x1;const _0x24c86b=_0x58af2f(_0x1dc108,_0x309022,_0x34d5f6,_0x376bc8),_0x3f0b87=_0x520d6c(_0x1dc108,_0x5b2569),{undos:_0x53593c,redos:_0x41bdfe}=_0xf73fcc(_0x17a803,{'pivotTableId':_0x865433,'unitId':_0x252f47,'subUnitId':_0x12ff42},_0xb8863f);return _0x5136e7['sequenceExecute']([..._0x24c86b[_0x547077(0x449)],..._0x3f0b87['redos'],..._0x41bdfe],_0x17a803),_0x4e12e5[_0x547077(0x3f0)]({'unitID':_0x252f47,'redoMutations':[..._0x24c86b['redos'],..._0x3f0b87[_0x547077(0x449)],..._0x41bdfe],'undoMutations':[..._0x24c86b['undos'],..._0x3f0b87['undos'],..._0x53593c]}),!0x0;}},_0x137884={'id':_0xebbe60(0x26b),'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'handler':(_0x4d15bf,_0x38009c)=>{const _0x3ce754=_0xebbe60;if(!_0x38009c)return!0x1;if(!!_0x4d15bf['get'](_0x5136e7[_0x3ce754(0x301)])[_0x3ce754(0x21d)](_0x500647))return!0x0;const {unitId:_0x33165d,subUnitId:_0x5e9a27,pivotTableId:_0x3385f5,tableFieldId:_0x5ad6ed,dateType:_0x384e57}=_0x38009c,_0x49b974=_0x4d15bf[_0x3ce754(0x1ad)](_0xc5aaf7['SheetsPivotDataSourceModel']),_0x150b77=_0x49b974[_0x3ce754(0x181)](_0x3385f5);if(!_0x150b77)return!0x1;const _0x3b88ca=_0x150b77[_0x3ce754(0x3ae)](_0x5ad6ed);if(!_0x3b88ca)return!0x1;const _0x56b9b5=_0x3b88ca['getOriginFieldId'](),_0x29814c=_0x150b77[_0x3ce754(0x2e0)](_0x56b9b5),_0x55027b=(_0x29814c==null?void 0x0:_0x29814c[_0x3ce754(0x468)]())+'\x20'+_0x293f53(_0x4d15bf,_0x384e57);_0x49b974[_0x3ce754(0x3b0)](_0x33165d,_0x3385f5)['setDisplayName'](_0x3b88ca['id'],_0x55027b);const _0x59fdcd=_0x150b77[_0x3ce754(0x44e)](_0x5ad6ed);if(!_0x59fdcd)return!0x1;_0x150b77[_0x3ce754(0x3d2)](_0x59fdcd[_0x3ce754(0x2e2)](),_0x55027b),_0x3b88ca[_0x3ce754(0x310)](_0x384e57);const _0x2c4b4c=_0x49b974[_0x3ce754(0x358)](_0x33165d,_0x5e9a27,_0x3385f5);return _0x49b974[_0x3ce754(0x2af)]({'unitId':_0x33165d,'subUnitId':_0x5e9a27,'token':_0x3385f5,'type':_0x41401b[_0x3ce754(0x205)],'pivotConfig':_0x2c4b4c}),!0x0;}},_0x397aee={'id':_0xebbe60(0x45a),'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'handler':(_0x53be88,_0x37e5cb)=>{const _0x3a862e=_0xebbe60;if(!_0x37e5cb)return!0x1;const _0x1c8a6d=_0x53be88[_0x3a862e(0x1ad)](_0x5136e7[_0x3a862e(0x2dd)]),{unitId:_0x3fbd3d,subUnitId:_0x1fa850,pivotTableId:_0x389b62,tableFieldId:_0x1be5ba}=_0x37e5cb,_0x5a54a1=[],_0x40d695=[],_0x577803=_0x53be88[_0x3a862e(0x1ad)](_0xc5aaf7[_0x3a862e(0x1f0)]),_0x4cb98a=_0x577803[_0x3a862e(0x3b0)](_0x3fbd3d,_0x389b62),_0x35b3f0=_0x577803[_0x3a862e(0x358)](_0x3fbd3d,_0x1fa850,_0x389b62);if(!(_0x35b3f0!=null&&_0x35b3f0[_0x3a862e(0x2cc)][_0x3a862e(0x451)]))return!0x1;const _0x44dc76=Object['values'](_0x35b3f0[_0x3a862e(0x2cc)]['dimension'])[_0x3a862e(0x32b)](_0x1a3bc5=>_0x1a3bc5['id']===_0x1be5ba);if(!_0x44dc76)return!0x1;const _0x52c927=_0x44dc76[_0x3a862e(0x27b)];if(!(_0x4cb98a!=null&&_0x4cb98a[_0x3a862e(0x1e3)]))return!0x1;const _0x151275=Object[_0x3a862e(0x461)](_0x4cb98a==null?void 0x0:_0x4cb98a['fields'])[_0x3a862e(0x32b)](_0x2f89b3=>_0x2f89b3['id']===_0x52c927);if(!_0x151275)return!0x1;_0x62e76f[_0x3a862e(0x3c8)](_0x151275)&&_0x5a54a1[_0x3a862e(0x304)]({'id':_0x137884['id'],'params':{..._0x37e5cb,'dateType':_0x151275['dateType']}}),_0x40d695['push']({'id':_0x137884['id'],'params':{..._0x37e5cb}});const _0x5d1132=_0x53be88[_0x3a862e(0x1ad)](_0x5136e7[_0x3a862e(0x43b)]);return _0x5136e7[_0x3a862e(0x426)](_0x40d695,_0x5d1132)&&_0x1c8a6d[_0x3a862e(0x3f0)]({'unitID':_0x3fbd3d,'undoMutations':_0x5a54a1,'redoMutations':_0x40d695}),!0x0;}},_0x36da0c={'type':_0x5136e7['CommandType'][_0xebbe60(0x309)],'id':_0xebbe60(0x3d9),async 'handler'(_0xfa7648,_0x1bdbc1){const _0xe317bc=_0xebbe60;if(!_0x1bdbc1)return!0x1;const _0x4daf56=_0xfa7648[_0xe317bc(0x1ad)](_0x5136e7[_0xe317bc(0x43b)]),_0x4782dc=_0xfa7648[_0xe317bc(0x1ad)](_0x5136e7[_0xe317bc(0x2dd)]),_0x580e17=_0xfa7648[_0xe317bc(0x1ad)](_0xc5aaf7[_0xe317bc(0x1ba)]),{displayName:_0x4cea60,subtotalType:_0x1fdb10,format:_0x50149e,tableFieldId:_0x5b5049,pivotTableId:_0x4c31d5,unitId:_0x30b2b5,subUnitId:_0x26d4fa}=_0x1bdbc1,_0x89c2d8=(await _0x580e17[_0xe317bc(0x199)]({'unitId':_0x30b2b5,'subUnitId':_0x26d4fa,'pivotTableId':_0x4c31d5,'params':{'type':_0x278e97[_0xe317bc(0x40f)],'setPivotSetting':{'tableFieldId':_0x5b5049,'displayName':_0x4cea60,'subtotalType':_0x1fdb10,'format':_0x50149e}}}))[_0xe317bc(0x268)][_0xe317bc(0x339)];if(!_0x89c2d8)return!0x1;const {changesets:_0x5956a,view:_0x509625,pivotTableConfig:_0x1e007a,isEmpty:_0x2ff2e1}=_0x89c2d8,_0x566a70=_0x1e007a[_0xe317bc(0x31c)],_0x17039a=new _0x62e76f[(_0xe317bc(0x3b1))]();_0x17039a[_0xe317bc(0x2ac)](_0x509625);const _0x250fe6={'cellInfo':_0x566a70,'view':_0x17039a,'isEmpty':_0x2ff2e1};if(!await _0xfa7648['get'](_0xc5aaf7[_0xe317bc(0x20f)])['asyncInterceptor'][_0xe317bc(0x1ff)](_0xde89f0)(!0x0,_0x250fe6))return!0x1;const _0xd50b16=_0x58af2f(_0xfa7648,_0x17039a,_0x566a70,_0x2ff2e1),_0x59e7d1=_0x520d6c(_0xfa7648,_0x250fe6),{undos:_0x367d73,redos:_0x23c77e}=_0xf73fcc(_0x4daf56,{'pivotTableId':_0x4c31d5,'unitId':_0x30b2b5,'subUnitId':_0x26d4fa},_0x5956a);return _0x5136e7[_0xe317bc(0x426)]([..._0xd50b16[_0xe317bc(0x449)],..._0x59e7d1[_0xe317bc(0x449)],..._0x23c77e],_0x4daf56),_0x4782dc['pushUndoRedo']({'unitID':_0x30b2b5,'redoMutations':[..._0xd50b16[_0xe317bc(0x449)],..._0x59e7d1[_0xe317bc(0x449)],..._0x23c77e],'undoMutations':[..._0xd50b16[_0xe317bc(0x2e6)],..._0x59e7d1['undos'],..._0x367d73]}),!0x0;}},_0x4c23e7={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x2a8)],'id':_0xebbe60(0x380),'handler'(_0x4e3800,_0x465e3d){const _0x337c20=_0xebbe60;if(!_0x465e3d)return!0x1;if(!!_0x4e3800['get'](_0x5136e7[_0x337c20(0x301)])['getConfig'](_0x500647))return!0x0;const _0x192278=_0x4e3800[_0x337c20(0x1ad)](_0xc5aaf7['SheetsPivotDataSourceModel']),{pivotTableId:_0xe58bfb,deleteIds:_0x2b2a7d,collectionJSON:_0x276fdc,dataRangeInfo:_0x4db1f9,unitId:_0x233500,subUnitId:_0x958725}=_0x465e3d,_0x4fab1d=_0x192278[_0x337c20(0x181)](_0xe58bfb),_0x39e357=_0x192278[_0x337c20(0x358)](_0x233500,_0x958725,_0xe58bfb);if(!_0x4fab1d||!_0x39e357)return!0x1;const {collection:_0x439b62,updateDataFieldList:_0x445038}=_0x192278['addCollectionByJSON'](_0xe58bfb,_0x276fdc,_0x4db1f9,_0x39e357[_0x337c20(0x31c)]);_0x192278[_0x337c20(0x29c)](_0x439b62,_0x445038,_0x4db1f9),_0x4fab1d['updateDataFieldsCollection'](_0x439b62);for(const _0xdf63b5 of _0x2b2a7d)_0x192278[_0x337c20(0x222)](_0x4db1f9[_0x337c20(0x44b)],_0xdf63b5);const _0x3d0704=_0x192278[_0x337c20(0x358)](_0x233500,_0x958725,_0xe58bfb);return _0x3d0704['sourceRangeInfo']=JSON[_0x337c20(0x206)](JSON[_0x337c20(0x31e)](_0x4db1f9)),_0x192278['addDirtyPivotTable']({'unitId':_0x233500,'subUnitId':_0x958725,'token':_0xe58bfb,'type':_0x41401b['Set']}),!0x0;}},_0x204c0f={'type':_0x5136e7[_0xebbe60(0x272)][_0xebbe60(0x309)],'id':'sheet.command.update-pivot-table-source-range',async 'handler'(_0x4bc9a2,_0x41210f){const _0x1b2330=_0xebbe60,_0x223cb2=_0x4bc9a2[_0x1b2330(0x1ad)](_0x5136e7[_0x1b2330(0x43b)]),_0x229b2d=_0x4bc9a2[_0x1b2330(0x1ad)](_0xc5aaf7['SheetsPivotRPCService']),_0x2e792b=_0x4bc9a2[_0x1b2330(0x1ad)](_0x5136e7[_0x1b2330(0x2dd)]);if(!_0x41210f)return!0x1;const {token:_0x5f1f3d,dataRangeInfo:_0x53f939,unitId:_0x3972b0,subUnitId:_0x248e52}=_0x41210f,_0x711c42=[],_0x392761=[],_0x2c70d9=(await _0x229b2d[_0x1b2330(0x199)]({'unitId':_0x3972b0,'subUnitId':_0x248e52,'pivotTableId':_0x5f1f3d,'params':{'type':_0x278e97[_0x1b2330(0x297)],'updatePivotSource':{'dataRangeInfo':_0x53f939,'unitId':_0x3972b0,'subUnitId':_0x248e52}}}))['result']['updatePivotSource'];if(!_0x2c70d9)return!0x1;const {changesets:_0x198f89,deleteIds:_0x3116b3,collectionConfig:_0x2a10a5,oldCollectionConfig:_0x1d0045,view:_0x80d74b,isEmpty:_0x5f2ea6,pivotTableConfig:_0x564729}=_0x2c70d9;_0x392761[_0x1b2330(0x304)]({'id':_0x4c23e7['id'],'params':{'pivotTableId':_0x5f1f3d,'deleteIds':_0x3116b3,'collectionJSON':_0x2a10a5,'dataRangeInfo':_0x53f939,'unitId':_0x3972b0,'subUnitId':_0x248e52}}),_0x711c42[_0x1b2330(0x216)]({'id':_0x4c23e7['id'],'params':{'pivotTableId':_0x5f1f3d,'deleteIds':[],'collectionJSON':_0x1d0045,'dataRangeInfo':_0x564729[_0x1b2330(0x434)],'unitId':_0x3972b0,'subUnitId':_0x248e52}});const _0x1ffdb6=_0x564729[_0x1b2330(0x31c)],_0x4b51bf=new _0x62e76f[(_0x1b2330(0x3b1))]();_0x4b51bf[_0x1b2330(0x2ac)](_0x80d74b);const _0x3b598c={'cellInfo':_0x1ffdb6,'view':_0x4b51bf,'isEmpty':_0x5f2ea6};if(!await _0x4bc9a2[_0x1b2330(0x1ad)](_0xc5aaf7[_0x1b2330(0x20f)])[_0x1b2330(0x381)][_0x1b2330(0x1ff)](_0xde89f0)(!0x0,_0x3b598c))return!0x1;const _0x4055ab=_0x58af2f(_0x4bc9a2,_0x4b51bf,_0x1ffdb6,_0x5f2ea6),_0x2db391=_0x520d6c(_0x4bc9a2,_0x3b598c),{undos:_0x58d03a,redos:_0x3f22de}=_0xf73fcc(_0x223cb2,{'pivotTableId':_0x5f1f3d,'unitId':_0x3972b0,'subUnitId':_0x248e52},_0x198f89);return _0x5136e7[_0x1b2330(0x426)]([..._0x4055ab[_0x1b2330(0x449)],..._0x2db391[_0x1b2330(0x449)],..._0x392761,..._0x58d03a],_0x223cb2),_0x2e792b['pushUndoRedo']({'unitID':_0x3972b0,'redoMutations':[..._0x4055ab[_0x1b2330(0x449)],..._0x2db391['redos'],..._0x392761,..._0x58d03a],'undoMutations':[..._0x4055ab[_0x1b2330(0x2e6)],..._0x2db391['undos'],..._0x711c42,..._0x3f22de]}),!0x0;}},_0x4a1f7d={'type':_0x5136e7[_0xebbe60(0x272)]['COMMAND'],'id':_0xebbe60(0x326),async 'handler'(_0x2a88ed,_0x54993a){const _0x2f682a=_0xebbe60;if(!_0x54993a)return!0x1;const _0x3f7f5b=_0x2a88ed['get'](_0x5136e7['ICommandService']),_0x2d5269=_0x2a88ed[_0x2f682a(0x1ad)](_0xc5aaf7['SheetsPivotRPCService']),_0x509504=_0x2a88ed[_0x2f682a(0x1ad)](_0x5136e7[_0x2f682a(0x31b)]),_0x4dc6ae=_0x2a88ed[_0x2f682a(0x1ad)](_0x5136e7[_0x2f682a(0x2dd)]),{pivotTableId:_0x1aab57,position:_0x4b97cf,index:_0x20f376}=_0x54993a,_0x123db8=_0x5dda2d['getSheetCommandTarget'](_0x509504);if(!_0x123db8)return!0x1;const {unitId:_0x15e8c8,subUnitId:_0x56d360}=_0x123db8,_0x2bb144=(await _0x2d5269[_0x2f682a(0x199)]({'unitId':_0x15e8c8,'subUnitId':_0x56d360,'pivotTableId':_0x1aab57,'params':{'type':_0x278e97[_0x2f682a(0x428)],'updateValuePosition':{'position':_0x4b97cf,'index':_0x20f376}}}))[_0x2f682a(0x268)]['updateValuePosition'];if(!_0x2bb144)return!0x1;const {changesets:_0x2ecc68,view:_0x2052b5,isEmpty:_0x28892a,pivotTableConfig:_0x32f85c}=_0x2bb144,_0xc5bafe=_0x32f85c['targetCellInfo'],_0x5acfef=new _0x62e76f[(_0x2f682a(0x3b1))]();_0x5acfef[_0x2f682a(0x2ac)](_0x2052b5);const _0x41d115=_0x2a88ed[_0x2f682a(0x1ad)](_0xc5aaf7[_0x2f682a(0x20f)]),_0x5c3498={'cellInfo':_0xc5bafe,'view':_0x5acfef,'isEmpty':_0x28892a};if(!await _0x41d115['asyncInterceptor']['fetchThroughAsyncInterceptors'](_0xde89f0)(!0x0,_0x5c3498))return!0x1;const _0xf49c96=_0x58af2f(_0x2a88ed,_0x5acfef,_0xc5bafe,_0x28892a),_0x5c0582=_0x520d6c(_0x2a88ed,_0x5c3498),{undos:_0x174179,redos:_0x3e9c64}=_0xf73fcc(_0x3f7f5b,{'pivotTableId':_0x1aab57,'unitId':_0x15e8c8,'subUnitId':_0x56d360},_0x2ecc68);return _0x5136e7[_0x2f682a(0x426)]([..._0xf49c96[_0x2f682a(0x449)],..._0x5c0582[_0x2f682a(0x449)],..._0x3e9c64],_0x3f7f5b),_0x4dc6ae[_0x2f682a(0x3f0)]({'unitID':_0x15e8c8,'redoMutations':[..._0xf49c96[_0x2f682a(0x449)],..._0x5c0582[_0x2f682a(0x449)],..._0x3e9c64],'undoMutations':[..._0xf49c96['undos'],..._0x5c0582[_0x2f682a(0x2e6)],..._0x174179]}),!0x0;}},_0x1639ef={'type':_0x5136e7[_0xebbe60(0x272)]['MUTATION'],'id':_0xebbe60(0x3e4),'handler'(){return!0x0;}};var _0x2afbdd=Object[_0xebbe60(0x42b)],_0x59ad3d=(_0x4dd16b,_0x1542d2,_0x45f8d0,_0x380b4e)=>{const _0x8076d1=_0xebbe60;for(var _0x64bc0d=_0x380b4e>0x1?void 0x0:_0x380b4e?_0x2afbdd(_0x1542d2,_0x45f8d0):_0x1542d2,_0x5693a0=_0x4dd16b[_0x8076d1(0x20e)]-0x1,_0xba68e5;_0x5693a0>=0x0;_0x5693a0--)(_0xba68e5=_0x4dd16b[_0x5693a0])&&(_0x64bc0d=_0xba68e5(_0x64bc0d)||_0x64bc0d);return _0x64bc0d;},_0x1fbfb6=(_0x52d9a9,_0x564318)=>(_0x3619ba,_0x362f4a)=>_0x564318(_0x3619ba,_0x362f4a,_0x52d9a9);const _0x26043d=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x27e568=(_0x3189c2,_0x16808e,_0x5470a6)=>{const _0x110b12=_0xebbe60,_0x1c4de=_0x3189c2[_0x110b12(0x1bb)];_0x3189c2['iterateFieldDim'](_0x29a57d=>{const _0x59275e=_0x110b12,_0x4dccc0=_0x29a57d[_0x59275e(0x2e2)](),_0x352746=_0x29a57d[_0x59275e(0x171)](),_0x46234a=_0x29a57d[_0x59275e(0x290)](),_0x3af31e=_0x29a57d[_0x59275e(0x1b5)]();_0x16808e[_0x352746]&&_0x16808e[_0x352746]===_0x3af31e&&_0x46234a===_0x3af31e&&(_0x3189c2[_0x59275e(0x3d2)](_0x4dccc0,_0x1c4de['getDisplayName'](_0x352746)),_0x29a57d[_0x59275e(0x41a)](_0x1c4de['getDisplayName'](_0x352746)));}),_0x3189c2['iterateFieldByArea'](_0x62e76f['PivotTableFiledAreaEnum'][_0x110b12(0x1c2)],_0x3efd45=>{const _0x34b62b=_0x110b12,_0x4aa687=_0x3efd45['getId'](),_0x32681d=_0x3efd45[_0x34b62b(0x171)](),_0x57b91f=_0x3efd45[_0x34b62b(0x290)](),_0x7f6f72=_0x3efd45[_0x34b62b(0x1b5)](),_0xb98c4f=_0x3efd45[_0x34b62b(0x196)](),_0x18e375=_0x5470a6(_0x57b91f,_0xb98c4f);_0x16808e[_0x32681d]&&_0x16808e[_0x32681d]===_0x57b91f&&_0x18e375===_0x7f6f72&&(_0x3189c2[_0x34b62b(0x3d2)](_0x4aa687,_0x5470a6(_0x1c4de[_0x34b62b(0x1b5)](_0x32681d),_0xb98c4f)),_0x3efd45[_0x34b62b(0x41a)](_0x1c4de['getDisplayName'](_0x32681d)));});},_0x39ad2c=(_0x28f3a7,_0x75b8e7,_0x731805)=>{const _0xef5ca7=_0xebbe60;var _0x129025,_0x438ddf;const {arrayFormulaCellData:_0x4b1bcc,unitData:_0x30632c}=_0x75b8e7,{unitId:_0x29f1c4,subUnitId:_0x528f5a}=_0x731805,_0x32fb57=_0x731805[_0xef5ca7(0x3d4)],{startColumn:_0x47bfab,endColumn:_0x141163}=_0x32fb57,_0x40c5e2=(_0x129025=_0x4b1bcc==null?void 0x0:_0x4b1bcc[_0x29f1c4])==null?void 0x0:_0x129025[_0x528f5a],_0x62aa30=(_0x438ddf=_0x30632c==null?void 0x0:_0x30632c[_0x29f1c4])==null?void 0x0:_0x438ddf[_0x528f5a],_0x58a9db=new Set(),_0x25c07c=_0x141163-_0x47bfab+0x1,{dirtyRanges:_0xa88efe}=_0x28f3a7;if(_0xa88efe)for(const {range:_0x20c204,sheetId:_0x5b7121,unitId:_0x48b789}of _0xa88efe){if(_0x5b7121!==_0x528f5a||_0x29f1c4!==_0x48b789)continue;const _0x558e16=_0x5136e7['Rectangle'][_0xef5ca7(0x2ea)](_0x20c204,_0x32fb57);if(_0x558e16){const {startColumn:_0x1c723c,endColumn:_0x58120d}=_0x558e16;for(let _0x520320=_0x1c723c;_0x520320<=_0x58120d;_0x520320++)_0x58a9db[_0xef5ca7(0x42e)](_0x520320);}}if(_0x58a9db['size']===_0x25c07c||_0x58a9db[_0xef5ca7(0x30a)]===_0x25c07c)return Array['from'](_0x58a9db);if(_0x62aa30){const _0x4339e5=_0x62aa30[_0xef5ca7(0x262)](),_0x11d9fa=Object[_0xef5ca7(0x287)](_0x4339e5);for(const _0x5c517c of _0x11d9fa){const _0x53407e=Number(_0x5c517c),_0x4c17a9=_0x4339e5[_0x53407e];if(_0x58a9db[_0xef5ca7(0x30a)]===_0x25c07c)break;for(const _0x316a7d in _0x4c17a9){const _0x302cca=Number(_0x316a7d);_0x302cca<_0x47bfab||_0x302cca>_0x141163||_0x58a9db['add'](_0x302cca);}}}if(_0x40c5e2){const _0x1d52c0=_0x40c5e2[_0xef5ca7(0x262)](),_0x2b12fa=Object[_0xef5ca7(0x287)](_0x1d52c0);for(const _0x1fdf8d of _0x2b12fa){const _0x3a9480=Number(_0x1fdf8d),_0x1d0d70=_0x1d52c0[_0x3a9480];if(_0x58a9db[_0xef5ca7(0x30a)]===_0x25c07c)break;for(const _0x174d4b in _0x1d0d70){const _0x45a737=Number(_0x174d4b);_0x45a737<_0x47bfab||_0x45a737>_0x141163||_0x58a9db[_0xef5ca7(0x42e)](_0x45a737);}}}return Array['from'](_0x58a9db);},_0x5091aa=_0x991f05=>{const _0xefacdf=_0xebbe60,_0x4b98b0=new Set(),_0x4a06a7=[];for(const _0x5c98b7 of _0x991f05){const _0x5409dd=_0x5c98b7[_0xefacdf(0x306)]+','+_0x5c98b7[_0xefacdf(0x325)]+','+_0x5c98b7[_0xefacdf(0x2bf)]+','+_0x5c98b7[_0xefacdf(0x374)];_0x4b98b0['has'](_0x5409dd)||(_0x4b98b0[_0xefacdf(0x42e)](_0x5409dd),_0x4a06a7[_0xefacdf(0x304)](_0x5c98b7));}return _0x4a06a7;};let _0x2492a8=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x2ef433,_0xae642,_0x549003,_0x3910d5,_0x52c9e4){const _0x252338=_0xebbe60;super(),_0x59516b(this,_0x252338(0x46c),new _0x3875b2[(_0x252338(0x237))](!0x0)),_0x59516b(this,_0x252338(0x320),_0x53f92a=>{const _0x653c0c=_0x252338;this[_0x653c0c(0x46c)][_0x653c0c(0x18e)](!0x1);}),_0x59516b(this,'_globalComputedEndHelpFunc',_0x28226d=>{const _0x153c0d=_0x252338;this[_0x153c0d(0x46c)]['next'](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x2ef433,this[_0x252338(0x467)]=_0xae642,this[_0x252338(0x234)]=_0x549003,this[_0x252338(0x3e6)]=_0x3910d5,this[_0x252338(0x2c3)]=_0x52c9e4,this[_0x252338(0x2aa)](),this[_0x252338(0x472)]());}['_init'](){const _0x2135b4=_0xebbe60;this[_0x2135b4(0x1b7)](),this['_subjectViewChange'](),this[_0x2135b4(0x1bd)](),this[_0x2135b4(0x364)]();}['_initGlobalComputed'](){const _0x37a501=_0xebbe60;this[_0x37a501(0x3e6)][_0x37a501(0x470)](this[_0x37a501(0x46c)]),_0x62e76f[_0x37a501(0x2b1)][_0x37a501(0x3e1)](_0x62e76f[_0x37a501(0x240)]['onQueryStart'],this[_0x37a501(0x320)]),_0x62e76f[_0x37a501(0x2b1)][_0x37a501(0x3e1)](_0x62e76f[_0x37a501(0x240)][_0x37a501(0x1e8)],this['_globalComputedEndHelpFunc']);}['_initPivotDataGetListener'](){const _0x4cf65c=_0xebbe60;this['disposeWithMe'](this[_0x4cf65c(0x234)][_0x4cf65c(0x444)](_0xe31b91=>{const _0x501d47=_0x4cf65c;_0xe31b91['id']===_0x5dda2d[_0x501d47(0x2f3)]['id']&&this[_0x501d47(0x2a0)][_0x501d47(0x372)](_0xe31b91[_0x501d47(0x34d)]);})),this[_0x4cf65c(0x271)](this[_0x4cf65c(0x234)][_0x4cf65c(0x444)](_0x42ecc7=>{const _0x5e2399=_0x4cf65c;if(_0x42ecc7['id']!==_0x58cf93['id'])return;const _0x1731b6=_0x42ecc7[_0x5e2399(0x34d)],{unitId:_0xa32f7,subUnitId:_0x3a55dd,pivotTableId:_0x53c2c7}=_0x1731b6,_0x31ccbd=_0x1731b6['params'][_0x5e2399(0x43d)],_0x486102={};switch(_0x31ccbd){case _0x278e97[_0x5e2399(0x186)]:{const _0x195c53=_0x1731b6[_0x5e2399(0x34d)]['filter'];if(!_0x195c53)return;const {row:_0x265936,col:_0x5a29f2,cellData:_0xfa425c,pivotItemRenderInfoCache:_0x4d18b1,tableFieldId:_0x5c1e69}=_0x195c53,_0x515e22=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x1731b6[_0x5e2399(0x2ef)]);if(!_0x515e22||!_0x4d18b1)return;if(_0x5c1e69){const _0x87f53b=_0x515e22[_0x5e2399(0x3ae)](_0x5c1e69);if(!_0x87f53b)return;_0x486102[_0x5e2399(0x375)]={..._0x515e22[_0x5e2399(0x3dc)](_0x87f53b),'tableFieldId':_0x5c1e69,'pivotTableId':_0x1731b6[_0x5e2399(0x2ef)],'filterInfo':_0x515e22['getFilterInfo'](_0x5c1e69),'sortInfo':_0x515e22['getSortInfo'](_0x5c1e69),'format':_0x515e22[_0x5e2399(0x316)](_0x5c1e69)};}else{const _0x411c21=_0x44ea4f(_0x265936,_0x5a29f2,_0xfa425c,_0x515e22,_0x4d18b1),_0x48f004=_0x411c21==null?void 0x0:_0x411c21['filterId'];if(!_0x48f004)return;const _0x3a45cb=_0x515e22[_0x5e2399(0x3ae)](_0x48f004);if(!_0x3a45cb)return;_0x486102['filter']={..._0x515e22[_0x5e2399(0x3dc)](_0x3a45cb),'tableFieldId':_0x48f004,'pivotTableId':_0x1731b6[_0x5e2399(0x2ef)],'filterInfo':_0x515e22[_0x5e2399(0x3f5)](_0x48f004),'sortInfo':_0x515e22['getSortInfo'](_0x48f004),'format':_0x515e22[_0x5e2399(0x316)](_0x48f004)};}}break;case _0x278e97[_0x5e2399(0x3b8)]:{const _0x4c5e0c=_0x1731b6[_0x5e2399(0x34d)]['panel'];if(!_0x4c5e0c)return;const {pivotTableId:_0x3d6ca9}=_0x4c5e0c,_0x2a1952=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x3d6ca9);if(!_0x2a1952)return;const _0x3d0eaa=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x3d6ca9),_0x559b08=_0x281517(_0x2a1952,_0x3d6ca9,_0x3d0eaa);_0x486102[_0x5e2399(0x431)]=_0x559b08;}break;case _0x278e97['AddPivotField']:{const _0x101369=this[_0x5e2399(0x2a0)]['getPivotTableInstance'](_0x53c2c7),_0x778934=this[_0x5e2399(0x2a0)][_0x5e2399(0x16b)](_0xa32f7),_0x18349b=_0x778934[_0x5e2399(0x3b0)](_0x53c2c7);let _0x2fe0f9=null;const _0x59d880=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0xa32f7,_0x3a55dd,_0x53c2c7),_0x885b1c=_0x1731b6[_0x5e2399(0x34d)]['addPivotField'];if(!_0x101369||!_0x59d880||!_0x885b1c)return!0x1;const {dataFieldId:_0x5bf772,fieldArea:_0x2681b0,index:_0x2893fc}=_0x885b1c;_0x101369[_0x5e2399(0x267)]();const _0x4ceb34=_0x101369['addFieldWithSourceId'](_0x5bf772,_0x2681b0,_0x2893fc);if(_0x4ceb34&&_0x2681b0===_0x62e76f[_0x5e2399(0x446)]['Value']){const _0x465a34=_0x4ceb34['getId'](),_0x1630c5=_0x101369[_0x5e2399(0x3ae)](_0x465a34);if(_0x1630c5){const _0x1898fb=_0x1630c5==null?void 0x0:_0x1630c5[_0x5e2399(0x33a)]();_0x101369[_0x5e2399(0x2b2)](_0x4ceb34['getId'](),_0x1898fb===_0x62e76f[_0x5e2399(0x401)][_0x5e2399(0x38e)]?_0x62e76f['PivotSubtotalTypeEnum'][_0x5e2399(0x39b)]:_0x62e76f['PivotSubtotalTypeEnum']['count']);}const _0x43209c=_0x101369['getValueIndex'](),_0x3be961=_0x101369['getValuePosition'](),_0x30f6f8=_0x101369['getFieldCountByArea'](_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x1c2)]);if(_0x43209c===-0x1&&_0x30f6f8>0x1){const _0xe04c1=_0x3be961===_0x62e76f['PivotTableValuePositionEnum'][_0x5e2399(0x176)]?_0x62e76f[_0x5e2399(0x3fe)][_0x5e2399(0x30f)]:_0x3be961,_0xd0426a=_0xe04c1===_0x62e76f[_0x5e2399(0x3fe)][_0x5e2399(0x1e1)]?_0x62e76f['PivotTableFiledAreaEnum']['Row']:_0x62e76f[_0x5e2399(0x446)][_0x5e2399(0x30f)];_0x101369[_0x5e2399(0x2f9)](_0xe04c1,_0x101369['getFieldCountByArea'](_0xd0426a));}}else{if(_0x4ceb34&&(_0x2681b0===_0x62e76f[_0x5e2399(0x446)][_0x5e2399(0x1e1)]||_0x2681b0===_0x62e76f[_0x5e2399(0x446)][_0x5e2399(0x30f)])){const _0x8989dd=_0x4ceb34['getId'](),_0x50a908=_0x101369[_0x5e2399(0x3ae)](_0x8989dd);if(_0x50a908&&(_0x50a908==null?void 0x0:_0x50a908[_0x5e2399(0x33a)]())===_0x62e76f['PivotDataFieldDataTypeEnum'][_0x5e2399(0x450)]){const _0x251fa7=_0x50a908['getformat']();if(_0x251fa7&&_0x101369[_0x5e2399(0x16f)](_0x4ceb34[_0x5e2399(0x2e2)](),_0x251fa7),!_0x18349b['getFieldIds']()[_0x5e2399(0x207)](_0x981bf=>{const _0x83b426=_0x5e2399,_0x1bb673=_0x18349b[_0x83b426(0x2bd)](_0x981bf);return _0x62e76f[_0x83b426(0x2bc)](_0x1bb673)?_0x1bb673['getFieldInfo']()[_0x83b426(0x29f)]===_0x5bf772:!0x1;})){const _0x316219=_0x778934[_0x5e2399(0x398)](),_0xb3f73e=_0x403f14(_0x50a908['maxDate'],_0x50a908['minDate']),_0x4af20d=_0x50a908[_0x5e2399(0x468)]()+'\x20-\x20'+_0x293f53(this[_0x5e2399(0x2c3)],_0xb3f73e),_0x313077=new _0x62e76f[(_0x5e2399(0x2c5))](_0x316219,_0x4af20d,_0x62e76f[_0x5e2399(0x251)](0x3),_0x50a908[_0x5e2399(0x2e2)](),_0xb3f73e);_0x778934[_0x5e2399(0x263)](_0x313077),_0x18349b[_0x5e2399(0x1ae)](_0x316219,_0x4af20d),_0x101369[_0x5e2399(0x384)](_0x316219,_0x2681b0,(_0x2893fc!=null?_0x2893fc:0x0)+0x1),_0x2fe0f9=_0x313077;}}}}const _0x160c83=_0x101369['isEmpty'](),_0x44c4b9=_0x101369[_0x5e2399(0x2d9)]()[_0x5e2399(0x2f1)]();let _0x54f51b;if(_0x2fe0f9){_0x54f51b=_0x2fe0f9[_0x5e2399(0x2f1)]();const _0x5ba5ea=_0x2fe0f9[_0x5e2399(0x2e2)]();_0x18349b['deleteField'](_0x5ba5ea);let _0x52eabe=!0x0;for(const _0x342b11 in _0x778934[_0x5e2399(0x321)])if(_0x778934[_0x5e2399(0x321)][_0x342b11][_0x5e2399(0x22b)]()[_0x5e2399(0x405)](_0x5ba5ea)){_0x52eabe=!0x1;break;}_0x52eabe&&_0x778934[_0x5e2399(0x19d)](_0x5ba5ea);}const _0x17a071=_0x101369[_0x5e2399(0x452)]();_0x486102['addPivotField']={'view':_0x44c4b9,'changesets':_0x17a071,'isEmpty':_0x160c83,'pivotTableConfig':_0x59d880,'shouldBeAddedGroupJSON':_0x54f51b};}break;case _0x278e97[_0x5e2399(0x273)]:{const _0x3669e3=_0x1731b6[_0x5e2399(0x34d)][_0x5e2399(0x22d)];if(!_0x3669e3)return;const _0x3f1568=_0x3669e3[_0x5e2399(0x434)],_0x11c61b=_0x3669e3['pivotTableId'],{collection:_0x5ef31d}=this[_0x5e2399(0x2a0)][_0x5e2399(0x16d)]({'unitId':_0x3f1568[_0x5e2399(0x44b)],'sheetName':_0x3f1568[_0x5e2399(0x1d7)],'subUnitId':_0x3f1568[_0x5e2399(0x3a5)],'range':_0x3f1568[_0x5e2399(0x3d4)]}),_0x507fea=new _0x62e76f[(_0x5e2399(0x2b1))](_0x5ef31d,void 0x0,_0x11c61b),_0x147efd=_0x507fea[_0x5e2399(0x2d9)](),_0x2b4968=_0x507fea[_0x5e2399(0x2f1)](),_0x50b0f1=_0x5ef31d[_0x5e2399(0x2f1)]();_0x486102[_0x5e2399(0x22d)]={'view':_0x147efd,'fieldsConfig':_0x2b4968,'collectionConfig':_0x50b0f1,'isEmpty':_0x507fea[_0x5e2399(0x1c7)]()};}break;case _0x278e97['MovePivotField']:{const _0x3ed5ca=_0x1731b6['params']['movePivotField'];if(!_0x3ed5ca)return;const {fieldId:_0x5e89a1,area:_0x10bb3e,index:_0x256a61}=_0x3ed5ca,_0x35e3d1=this[_0x5e2399(0x2a0)]['getPivotTableConfig'](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x35e3d1)return;const _0x597fca=this['_sheetsPivotDataSourceModel'][_0x5e2399(0x181)](_0x53c2c7);if(!_0x597fca)return;_0x597fca[_0x5e2399(0x267)]();const {area:_0x5d8197,index:_0x2f9418}=_0x597fca[_0x5e2399(0x249)](_0x5e89a1);if(_0x597fca[_0x5e2399(0x29d)](_0x5e89a1,_0x10bb3e,_0x256a61),_0x10bb3e===_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x1c2)]&&_0x597fca['getTableFieldById'](_0x5e89a1)[_0x5e2399(0x196)]()===void 0x0){const _0x69ad2d=_0x597fca[_0x5e2399(0x44e)](_0x5e89a1);if(_0x69ad2d&&_0x69ad2d[_0x5e2399(0x196)]()===void 0x0){const _0x175be3=_0x597fca[_0x5e2399(0x3ae)](_0x5e89a1);if(_0x175be3){const _0x1268c8=_0x175be3==null?void 0x0:_0x175be3[_0x5e2399(0x33a)]();_0x597fca['setSubtotalType'](_0x5e89a1,_0x1268c8===_0x62e76f[_0x5e2399(0x401)][_0x5e2399(0x38e)]?_0x62e76f[_0x5e2399(0x1ef)][_0x5e2399(0x39b)]:_0x62e76f[_0x5e2399(0x1ef)][_0x5e2399(0x41f)]);}}}const _0x5c90b0=_0x597fca[_0x5e2399(0x2d3)](),_0x22531a=_0x597fca[_0x5e2399(0x202)](),_0x25f971=_0x597fca[_0x5e2399(0x30e)](_0x62e76f['PivotTableFiledAreaEnum']['Value'])>0x1;if(_0x25f971&&_0x5d8197===_0x10bb3e&&(_0x10bb3e===_0x62e76f[_0x5e2399(0x446)][_0x5e2399(0x1e1)]&&_0x5c90b0===_0x62e76f[_0x5e2399(0x3fe)][_0x5e2399(0x1e1)]||_0x10bb3e===_0x62e76f[_0x5e2399(0x446)][_0x5e2399(0x30f)]&&_0x5c90b0===_0x62e76f[_0x5e2399(0x3fe)]['Column'])){let _0x1a8868=_0x22531a;_0x2f9418<=_0x22531a&&_0x1a8868--,_0x256a61<=_0x22531a&&_0x1a8868++,_0x597fca['updateValuePosition'](_0x5c90b0,_0x1a8868);}else _0x25f971&&(_0x5d8197===_0x62e76f[_0x5e2399(0x446)]['Row']&&_0x5c90b0===_0x62e76f[_0x5e2399(0x3fe)]['Row']||_0x5d8197===_0x62e76f[_0x5e2399(0x446)]['Column']&&_0x5c90b0===_0x62e76f['PivotTableValuePositionEnum'][_0x5e2399(0x30f)])&&_0x22531a>=_0x2f9418&&_0x597fca[_0x5e2399(0x2f9)](_0x5c90b0,_0x22531a-0x1),_0x25f971&&(_0x10bb3e===_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x1e1)]&&_0x5c90b0===_0x62e76f[_0x5e2399(0x3fe)]['Row']||_0x10bb3e===_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x30f)]&&_0x5c90b0===_0x62e76f[_0x5e2399(0x3fe)][_0x5e2399(0x30f)])&&_0x22531a>=_0x256a61&&_0x597fca[_0x5e2399(0x2f9)](_0x5c90b0,_0x22531a+0x1);const _0x1fef63=_0x597fca[_0x5e2399(0x2d9)](),_0x2faa15=_0x597fca[_0x5e2399(0x1c7)](),_0x2beeb9=_0x597fca['endCollectChangeset']();_0x486102[_0x5e2399(0x34f)]={'view':_0x1fef63[_0x5e2399(0x2f1)](),'changesets':_0x2beeb9,'isEmpty':_0x2faa15,'pivotTableConfig':_0x35e3d1};}break;case _0x278e97[_0x5e2399(0x24f)]:{const _0x22856b=_0x1731b6['params'][_0x5e2399(0x264)];if(!_0x22856b)return;const _0x312a05=_0x22856b[_0x5e2399(0x20d)],_0x4efd6c=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x4efd6c)return!0x1;const _0xea431f=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x53c2c7);if(!_0xea431f)return!0x1;_0xea431f[_0x5e2399(0x267)]();for(const _0x266747 of _0x312a05){const {area:_0x1ce729}=_0xea431f['getFieldPositionInfoById'](_0x266747);_0x1ce729===_0x62e76f[_0x5e2399(0x446)]['Value']&&_0xea431f['removeValueFilterInfoByValueFieldId'](_0x266747),(_0x1ce729===_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x1e1)]||_0x1ce729===_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x30f)])&&_0xea431f[_0x5e2399(0x329)](_0x266747),_0xea431f[_0x5e2399(0x2d4)](_0x266747);}const _0x3f9fdc=_0xea431f[_0x5e2399(0x1c7)](),_0x20a755=_0xea431f[_0x5e2399(0x2d9)]()[_0x5e2399(0x2f1)](),_0x5cda0a=_0xea431f[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x264)]={'changesets':_0x5cda0a,'pivotTableConfig':_0x4efd6c,'isEmpty':_0x3f9fdc,'view':_0x20a755};}break;case _0x278e97[_0x5e2399(0x344)]:{const _0x1a008e=_0x1731b6['params'][_0x5e2399(0x280)];if(!_0x1a008e)return;const {tableFieldId:_0x28be73,items:_0x531ca6,isAll:_0x433832}=_0x1a008e,_0x4a9759=this['_sheetsPivotDataSourceModel'][_0x5e2399(0x181)](_0x53c2c7),_0xea137e=this[_0x5e2399(0x2a0)]['getPivotTableConfig'](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x4a9759||!_0xea137e)return;_0x4a9759['startCollectChangeset'](),_0x4a9759['setLabelFilterInfo'](_0x28be73,{'type':_0x62e76f[_0x5e2399(0x312)][_0x5e2399(0x3e7)],'list':_0x531ca6,'isAll':_0x433832});const _0xc88878=_0x4a9759['isEmpty'](),_0x51ab4c=_0x4a9759[_0x5e2399(0x2d9)]()[_0x5e2399(0x2f1)](),_0x1d1fd9=_0x4a9759['endCollectChangeset']();_0x486102['setPivotFilter']={'view':_0x51ab4c,'changesets':_0x1d1fd9,'isEmpty':_0xc88878,'pivotTableConfig':_0xea137e};}break;case _0x278e97[_0x5e2399(0x1c9)]:{const _0x3ddb5f=_0x1731b6['params']['setValuePivotFilter'];if(!_0x3ddb5f)return;const {tableFieldId:_0x15ecd5,filterInfo:_0x34c265}=_0x3ddb5f,_0x5d20a6=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x53c2c7),_0x204c42=this[_0x5e2399(0x2a0)]['getPivotTableConfig'](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x5d20a6||!_0x204c42)return;_0x5d20a6[_0x5e2399(0x267)](),_0x5d20a6[_0x5e2399(0x3f2)](_0x15ecd5,_0x34c265);const _0x2cdfd3=_0x5d20a6[_0x5e2399(0x1c7)](),_0x3be16d=_0x5d20a6['query']()[_0x5e2399(0x2f1)](),_0x5c5d87=_0x5d20a6[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x317)]={'view':_0x3be16d,'changesets':_0x5c5d87,'isEmpty':_0x2cdfd3,'pivotTableConfig':_0x204c42};}break;case _0x278e97['SetPivotSort']:{const _0x445738=_0x1731b6[_0x5e2399(0x34d)][_0x5e2399(0x20a)];if(!_0x445738)return;const {tableFieldId:_0x34450d,info:_0x1f759c}=_0x445738,_0x259cb5=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x53c2c7),_0x575cbb=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x259cb5||!_0x575cbb)return;_0x259cb5['startCollectChangeset'](),_0x259cb5[_0x5e2399(0x18b)](_0x34450d,_0x1f759c);const _0xb61050=_0x259cb5[_0x5e2399(0x1c7)](),_0x44665c=_0x259cb5['query']()[_0x5e2399(0x2f1)](),_0x1846ad=_0x259cb5[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x20a)]={'view':_0x44665c,'changesets':_0x1846ad,'isEmpty':_0xb61050,'pivotTableConfig':_0x575cbb};}break;case _0x278e97[_0x5e2399(0x40f)]:{const _0x259ecd=_0x1731b6[_0x5e2399(0x34d)][_0x5e2399(0x339)];if(!_0x259ecd)return;const {tableFieldId:_0x27c053,displayName:_0x59d442,subtotalType:_0x2f92b7,format:_0x398164}=_0x259ecd,_0x5b6774=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x53c2c7),_0x4caea2=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x5b6774||!_0x4caea2)return;_0x5b6774[_0x5e2399(0x267)](),_0x59d442!==void 0x0&&_0x5b6774['renameField'](_0x27c053,_0x59d442),_0x2f92b7!==void 0x0&&_0x5b6774[_0x5e2399(0x2b2)](_0x27c053,_0x2f92b7),_0x398164!==void 0x0&&_0x5b6774[_0x5e2399(0x16f)](_0x27c053,_0x398164);const _0x398ac3=_0x5b6774[_0x5e2399(0x1c7)](),_0x180b99=_0x5b6774[_0x5e2399(0x2d9)]()[_0x5e2399(0x2f1)](),_0x161d47=_0x5b6774['endCollectChangeset']();_0x486102[_0x5e2399(0x339)]={'changesets':_0x161d47,'pivotTableConfig':_0x4caea2,'isEmpty':_0x398ac3,'view':_0x180b99};}break;case _0x278e97['UpdatePivotSource']:{const _0x2a5c06=_0x1731b6[_0x5e2399(0x34d)]['updatePivotSource'];if(!_0x2a5c06)return;const {dataRangeInfo:_0x4d6e35,unitId:_0x3201a0,subUnitId:_0x4257c1}=_0x2a5c06,_0x337c06=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0x3201a0,_0x4257c1,_0x53c2c7),_0x6fc395=this[_0x5e2399(0x2a0)]['getPivotTableInstance'](_0x53c2c7);if(!this[_0x5e2399(0x2a0)][_0x5e2399(0x3b0)](_0x3201a0,_0x53c2c7)||!_0x6fc395||!_0x337c06)return;const _0x4ced41=this['_sheetsPivotDataSourceModel'][_0x5e2399(0x1ca)](_0x3201a0,_0x53c2c7,_0x4d6e35),_0x45cf90=this[_0x5e2399(0x2a0)][_0x5e2399(0x3b0)](_0x3201a0,_0x53c2c7)[_0x5e2399(0x2f1)](),{collection:_0x55a98b}=this[_0x5e2399(0x2a0)][_0x5e2399(0x16d)]({'unitId':_0x4d6e35['unitId'],'sheetName':_0x4d6e35[_0x5e2399(0x1d7)],'subUnitId':_0x4d6e35[_0x5e2399(0x3a5)],'range':_0x4d6e35[_0x5e2399(0x3d4)]}),_0x88e624=_0x55a98b[_0x5e2399(0x2f1)]();_0x6fc395[_0x5e2399(0x267)]();const _0x5913cc=this[_0x5e2399(0x2a0)]['getDataFieldManager'](_0x3201a0)[_0x5e2399(0x214)]()||_0x62e76f[_0x5e2399(0x3c3)];_0x6fc395[_0x5e2399(0x1e2)](_0x5986bf=>{const _0x556463=_0x5e2399,_0x175f1d=_0x5986bf['getDataFieldId']();if(!_0x55a98b[_0x556463(0x276)](_0x175f1d)){const _0x3d9e6c=_0x55a98b['getDataFieldBySourceName'](_0x5986bf[_0x556463(0x290)]());if(_0x3d9e6c){_0x6fc395[_0x556463(0x3c1)](_0x5986bf['getId'](),_0x3d9e6c[_0x556463(0x468)](),_0x3d9e6c[_0x556463(0x2e2)]());const {area:_0x136aa4}=_0x6fc395[_0x556463(0x249)](_0x5986bf[_0x556463(0x2e2)]());let _0x474100=_0x5986bf['getSourceName']();const _0x3007c2=_0x5986bf[_0x556463(0x1b5)]();if(_0x136aa4===_0x62e76f[_0x556463(0x446)][_0x556463(0x1c2)]){const _0x34bb81=_0x5986bf[_0x556463(0x196)]();_0x474100=_0x5913cc(_0x3d9e6c[_0x556463(0x468)](),_0x34bb81);}_0x3007c2!==_0x474100&&_0x6fc395[_0x556463(0x3d2)](_0x5986bf[_0x556463(0x2e2)](),_0x474100);}else _0x6fc395[_0x556463(0x2d4)](_0x5986bf[_0x556463(0x2e2)]());}});const _0x4ffced=_0x6fc395[_0x5e2399(0x1c7)](),_0x3f3445=_0x6fc395[_0x5e2399(0x2d9)]()[_0x5e2399(0x2f1)](),_0x106018=_0x6fc395[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x1ea)]={'view':_0x3f3445,'changesets':_0x106018,'isEmpty':_0x4ffced,'pivotTableConfig':_0x337c06,'collectionConfig':_0x88e624,'oldCollectionConfig':_0x45cf90,'deleteIds':_0x4ced41};}break;case _0x278e97[_0x5e2399(0x428)]:{const _0x1e8dee=_0x1731b6['params'][_0x5e2399(0x2f9)];if(!_0x1e8dee)return;const {position:_0x14bbaa,index:_0x2b6176}=_0x1e8dee,_0x470bc4=this['_sheetsPivotDataSourceModel'][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x470bc4)return!0x1;const _0x3f5cc6=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x53c2c7);if(!_0x3f5cc6)return!0x1;_0x3f5cc6[_0x5e2399(0x267)](),_0x3f5cc6[_0x5e2399(0x2f9)](_0x14bbaa,_0x2b6176);const _0x3dcd20=_0x3f5cc6[_0x5e2399(0x1c7)](),_0x59f28b=_0x3f5cc6[_0x5e2399(0x2d9)]()[_0x5e2399(0x2f1)](),_0x149573=_0x3f5cc6[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x2f9)]={'changesets':_0x149573,'pivotTableConfig':_0x470bc4,'isEmpty':_0x3dcd20,'view':_0x59f28b};}break;case _0x278e97[_0x5e2399(0x261)]:{const _0x35efd2=_0x1731b6[_0x5e2399(0x34d)][_0x5e2399(0x19a)];if(!_0x35efd2)return;const {tableFieldId:_0x4cfb07,collapse:_0x17fa56,item:_0x2a3edc}=_0x35efd2,_0x3e501f=this[_0x5e2399(0x2a0)]['getPivotTableInstance'](_0x53c2c7),_0x2926b7=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x3e501f||!_0x2926b7)return;_0x3e501f[_0x5e2399(0x267)](),_0x3e501f[_0x5e2399(0x1e6)](_0x4cfb07,_0x17fa56,_0x2a3edc);const _0x5f422b=_0x3e501f[_0x5e2399(0x1c7)](),_0x4325e4=_0x3e501f['query']()['toJSON'](),_0x1544ff=_0x3e501f[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x19a)]={'view':_0x4325e4,'isEmpty':_0x5f422b,'pivotTableConfig':_0x2926b7,'changesets':_0x1544ff};}break;case _0x278e97[_0x5e2399(0x38b)]:{const _0x1d736b=_0x1731b6[_0x5e2399(0x34d)]['setPivotTableConfig'];if(!_0x1d736b)return;const {pivotTableConfig:_0x742351}=_0x1d736b,_0x3e7432=this[_0x5e2399(0x2a0)][_0x5e2399(0x181)](_0x53c2c7),_0x42311a=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x3e7432||!_0x42311a)return;_0x3e7432['startCollectChangeset'](),_0x3eeffd(_0x3e7432,_0x742351);const _0x4f1171=_0x3e7432['isEmpty'](),_0x27c7a4=_0x3e7432[_0x5e2399(0x2d9)]()[_0x5e2399(0x2f1)](),_0x503cd4=_0x3e7432[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x423)]={'view':_0x27c7a4,'isEmpty':_0x4f1171,'pivotTableConfig':{..._0x42311a,'fieldsConfig':_0x3e7432[_0x5e2399(0x2f1)]()},'changesets':_0x503cd4};}break;case _0x278e97[_0x5e2399(0x2cb)]:{const _0x1f3d71=_0x1731b6[_0x5e2399(0x34d)][_0x5e2399(0x3e0)];if(!_0x1f3d71)return;const _0x4d02fc=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x53c2c7),_0x58e35c=this[_0x5e2399(0x2a0)][_0x5e2399(0x358)](_0xa32f7,_0x3a55dd,_0x53c2c7);if(!_0x4d02fc||!_0x58e35c)return;_0x4d02fc[_0x5e2399(0x267)](),_0x29a693(_0x4d02fc,_0x1f3d71[_0x5e2399(0x1d5)]);const _0x1c3f85=_0x4d02fc['query']()[_0x5e2399(0x2f1)](),_0x115f47=_0x4d02fc[_0x5e2399(0x452)]();_0x486102[_0x5e2399(0x3e0)]={'view':_0x1c3f85,'isEmpty':!0x0,'pivotTableConfig':{..._0x58e35c,'fieldsConfig':_0x4d02fc[_0x5e2399(0x2f1)]()},'changesets':_0x115f47};}break;case _0x278e97['AddPivotTableWithConfig']:{const _0x49b99a=_0x1731b6[_0x5e2399(0x34d)][_0x5e2399(0x17f)];if(!_0x49b99a)return;const _0x2c6ef8=_0x49b99a[_0x5e2399(0x434)],_0xfb1aab=_0x49b99a[_0x5e2399(0x2ef)],{collection:_0x6fd244}=this[_0x5e2399(0x2a0)]['createCollectionWithDataRange']({'unitId':_0x2c6ef8[_0x5e2399(0x44b)],'sheetName':_0x2c6ef8['sheetName'],'subUnitId':_0x2c6ef8[_0x5e2399(0x3a5)],'range':_0x2c6ef8['range']}),_0x31f018=new _0x62e76f[(_0x5e2399(0x2b1))](_0x6fd244,void 0x0,_0xfb1aab),_0x16185d=_0x6fd244[_0x5e2399(0x22b)](),{rows:_0x559c65,columns:_0x3ad476,filters:_0x13a9eb,values:_0x592a47}=_0x49b99a[_0x5e2399(0x1fe)];_0x31f018[_0x5e2399(0x267)]();for(const {field:_0x2fc897,selectedItems:_0x100bf4}of _0x559c65||[]){const _0x431ce7=_0x16185d[_0x2fc897];if(_0x431ce7){const _0x27624b=_0x31f018['addFieldWithSourceId'](_0x431ce7,_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x1e1)]);_0x100bf4&&_0x27624b&&_0x31f018[_0x5e2399(0x46f)](_0x27624b[_0x5e2399(0x2e2)](),{'type':_0x62e76f[_0x5e2399(0x312)][_0x5e2399(0x3e7)],'list':_0x100bf4,'isAll':!0x1});}}for(const {field:_0x6f02d1,selectedItems:_0x5c52da}of _0x3ad476||[]){const _0x12c2aa=_0x16185d[_0x6f02d1];if(_0x12c2aa){const _0x1942ae=_0x31f018[_0x5e2399(0x384)](_0x12c2aa,_0x62e76f['PivotTableFiledAreaEnum'][_0x5e2399(0x30f)]);_0x5c52da&&_0x1942ae&&_0x31f018[_0x5e2399(0x46f)](_0x1942ae[_0x5e2399(0x2e2)](),{'type':_0x62e76f[_0x5e2399(0x312)][_0x5e2399(0x3e7)],'list':_0x5c52da,'isAll':!0x1});}}for(const {field:_0x158984,selectedItems:_0x2cbdb0}of _0x13a9eb||[]){const _0x435237=_0x16185d[_0x158984];if(_0x435237){const _0x500b56=_0x31f018[_0x5e2399(0x384)](_0x435237,_0x62e76f[_0x5e2399(0x446)][_0x5e2399(0x186)]);_0x2cbdb0&&_0x500b56&&_0x31f018[_0x5e2399(0x46f)](_0x500b56[_0x5e2399(0x2e2)](),{'type':_0x62e76f[_0x5e2399(0x312)][_0x5e2399(0x3e7)],'list':_0x2cbdb0,'isAll':!0x1});}}for(const {field:_0x5a3a25,subTotalType:_0x2fcec4,formatString:_0x3aa01f}of _0x592a47||[]){const _0x495523=_0x6fd244[_0x5e2399(0x2bd)](_0x16185d[_0x5a3a25]);if(!_0x495523)continue;const _0x8ddd66=_0x16185d[_0x5a3a25];if(_0x8ddd66){const _0xce44cb=_0x31f018[_0x5e2399(0x384)](_0x8ddd66,_0x62e76f[_0x5e2399(0x446)][_0x5e2399(0x1c2)]);if(_0xce44cb){if(_0x2fcec4!==void 0x0){_0x31f018['setSubtotalType'](_0xce44cb[_0x5e2399(0x2e2)](),_0x2fcec4);const _0x289ac2=this['_sheetsPivotDataSourceModel'][_0x5e2399(0x16b)](_0x2c6ef8[_0x5e2399(0x44b)])[_0x5e2399(0x214)]()||_0x62e76f[_0x5e2399(0x3c3)],_0x2a88b5=_0x6fd244[_0x5e2399(0x1b5)](_0x8ddd66),_0x4ca2bc=_0x289ac2(_0x2a88b5,_0x2fcec4);_0x31f018[_0x5e2399(0x3d2)](_0xce44cb[_0x5e2399(0x2e2)](),_0x4ca2bc);}else{if(_0x495523){const _0x1ee618=_0x495523==null?void 0x0:_0x495523[_0x5e2399(0x33a)]();_0x31f018['setSubtotalType'](_0xce44cb['getId'](),_0x1ee618===_0x62e76f[_0x5e2399(0x401)]['number']?_0x62e76f['PivotSubtotalTypeEnum'][_0x5e2399(0x39b)]:_0x62e76f['PivotSubtotalTypeEnum'][_0x5e2399(0x41f)]);}}_0x3aa01f&&_0x31f018['setFieldFormat'](_0xce44cb[_0x5e2399(0x2e2)](),_0x3aa01f);}}}const _0x2772ff=_0x31f018[_0x5e2399(0x2d9)](),_0x5c7135=_0x31f018[_0x5e2399(0x2f1)](),_0x550a7f=_0x31f018[_0x5e2399(0x1c7)](),_0x2a5bc6=_0x31f018['endCollectChangeset'](),_0x265591=_0x6fd244[_0x5e2399(0x2f1)]();_0x486102[_0x5e2399(0x17f)]={'view':_0x2772ff,'fieldsConfig':_0x5c7135,'collectionConfig':_0x265591,'isEmpty':_0x550a7f,'changesets':_0x2a5bc6};}break;case _0x278e97[_0x5e2399(0x1fa)]:{const _0x24d670=_0x11681d(this[_0x5e2399(0x2c3)],_0x1731b6);if(!_0x24d670)return;const {range:_0x257eae,sourceSubUnitId:_0x39efe9,sourceUnitId:_0x6e691b,formatMap:_0x399d75,indexes:_0x49c819}=_0x24d670;_0x486102['drillDown']={'range':_0x257eae,'sourceSubUnitId':_0x39efe9,'sourceUnitId':_0x6e691b,'formatMap':_0x399d75,'indexes':_0x49c819};}break;}this[_0x5e2399(0x234)][_0x5e2399(0x44f)](_0x5c6150['id'],{'version':_0x1731b6[_0x5e2399(0x266)],'result':_0x486102},{'onlyLocal':!0x0});}));}[_0xebbe60(0x1bd)](){const _0x240069=_0xebbe60;this[_0x240069(0x271)](this['_commandService'][_0x240069(0x444)](_0x2735a4=>{const _0x4749d3=_0x240069;if(_0x2735a4['id']!==_0x553ec5['id'])return;const _0x2bd8d2=_0x2735a4[_0x4749d3(0x34d)];return this['_sheetsPivotDataSourceModel'][_0x4749d3(0x174)](_0x2bd8d2[_0x4749d3(0x1b1)]),!0x0;}));}[_0xebbe60(0x1b7)](){const _0x8213e1=_0xebbe60;this['_sheetsPivotDataSourceModel']['collectionChange$'][_0x8213e1(0x30d)](_0xdc4de4=>{const _0x49edcb=_0x8213e1;switch(_0xdc4de4[_0x49edcb(0x43d)]){case _0x9b41c5[_0x49edcb(0x42e)]:_0xdc4de4[_0x49edcb(0x438)]&&_0xdc4de4['targetCellInfo']&&this[_0x49edcb(0x403)](_0xdc4de4[_0x49edcb(0x1b0)],_0xdc4de4[_0x49edcb(0x438)],_0xdc4de4[_0x49edcb(0x31c)]);break;case _0x9b41c5['delete']:{const {unitId:_0x4f8c9b,subUnitId:_0x2d097a,token:_0x417440}=_0xdc4de4;_0x4f8c9b&&_0x2d097a&&_0x417440&&this[_0x49edcb(0x392)](_0x4f8c9b,_0x2d097a,_0x417440);}break;case _0x9b41c5['update']:{const {token:_0x5815af,oldSourceRangeInfo:_0x390191,dataRangeInfo:_0x2432a1,targetCellInfo:_0x39d6cb}=_0xdc4de4,{unitId:_0x2b4998,subUnitId:_0x42ed1f}=_0x390191||{};_0x2b4998&&_0x42ed1f&&_0x5815af&&this[_0x49edcb(0x392)](_0x2b4998,_0x42ed1f,_0x5815af),_0x2432a1&&_0x39d6cb&&this[_0x49edcb(0x403)](_0x5815af,_0x2432a1,_0x39d6cb);}break;}});}[_0xebbe60(0x364)](){const _0x58c3f3=_0xebbe60;this[_0x58c3f3(0x2a0)]['fieldsCollectionChange$'][_0x58c3f3(0x30d)](_0x562506=>{const _0x4d0cd5=_0x58c3f3;Object[_0x4d0cd5(0x287)](_0x562506)[_0x4d0cd5(0x1a8)](_0x35724e=>{const _0x54bbab=_0x4d0cd5,_0x348baa=this[_0x54bbab(0x2a0)][_0x54bbab(0x2a9)](_0x35724e);if(_0x348baa){const _0x5e44b4=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x348baa==null?void 0x0:_0x348baa[_0x54bbab(0x44b)],_0x348baa==null?void 0x0:_0x348baa[_0x54bbab(0x3a5)],_0x35724e);_0x5e44b4&&(this[_0x54bbab(0x403)](_0x35724e,_0x5e44b4[_0x54bbab(0x434)],_0x5e44b4[_0x54bbab(0x31c)]),this[_0x54bbab(0x3c7)]([{'unitId':_0x348baa[_0x54bbab(0x44b)],'subUnitId':_0x348baa[_0x54bbab(0x3a5)],'token':_0x35724e}]));}});});}['_subjectViewChange'](){const _0x3a07cb=_0xebbe60;this['_sheetsPivotDataSourceModel']['viewData$'][_0x3a07cb(0x30d)](_0x58dbb1=>{const _0x305f0f=_0x3a07cb,{unitId:_0xb9b379,subUnitId:_0x41a0fa,pivotTableId:_0xd14f8b}=_0x58dbb1;_0xb9b379&&_0x41a0fa&&_0xd14f8b&&this[_0x305f0f(0x3c7)]([{'unitId':_0xb9b379,'subUnitId':_0x41a0fa,'token':_0xd14f8b}]);});}[_0xebbe60(0x3c7)](_0x2f9f86){const _0x4b1f76=_0xebbe60,_0x1a3a09={};_0x2f9f86[_0x4b1f76(0x1a8)](_0x574bd5=>{var _0x5c9c17,_0x3ba2d7;const {unitId:_0xbf0ad5,subUnitId:_0x18e541,token:_0x13c0db}=_0x574bd5;_0x1a3a09[_0xbf0ad5]=(_0x5c9c17=_0x1a3a09[_0xbf0ad5])!=null?_0x5c9c17:{},_0x1a3a09[_0xbf0ad5][_0x18e541]=(_0x3ba2d7=_0x1a3a09[_0xbf0ad5][_0x18e541])!=null?_0x3ba2d7:{},_0x1a3a09[_0xbf0ad5][_0x18e541][_0x13c0db]=!0x0;}),this[_0x4b1f76(0x234)][_0x4b1f76(0x44f)](_0x1639ef['id'],_0x1a3a09);}[_0xebbe60(0x392)](_0x597d9b,_0x2d03c0,_0x3225f4){const _0x2149df=_0xebbe60;this[_0x2149df(0x467)][_0x2149df(0x31f)](_0x597d9b,_0x2d03c0,[_0x3225f4]);}['handleSourceRangeChange'](_0x436644,_0x22e498,_0x547b59){const _0x44b755=_0xebbe60,{unitId:_0x28392b,subUnitId:_0x3d7f1f}=_0x22e498;this[_0x44b755(0x467)][_0x44b755(0x286)](_0x547b59[_0x44b755(0x44b)],_0x547b59['subUnitId'],_0x436644)&&this[_0x44b755(0x392)](_0x28392b,_0x3d7f1f,_0x436644);const _0x4371dc={'sheetId':_0x3d7f1f,..._0x22e498};this['_featureCalculationManagerService'][_0x44b755(0x340)](_0x547b59[_0x44b755(0x44b)],_0x547b59[_0x44b755(0x3a5)],_0x436644,{'unitId':_0x547b59[_0x44b755(0x44b)],'subUnitId':_0x547b59[_0x44b755(0x3a5)],'dependencyRanges':[_0x4371dc],'getDirtyData':(_0x313fef,_0x29a0fb)=>{const _0x2e969f=_0x44b755,_0x36274a=this[_0x2e969f(0x2a0)],_0x1252e6=_0x36274a[_0x2e969f(0x2a9)](_0x436644);if(!_0x1252e6)return _0x26043d();const {unitId:_0x2baaf7,subUnitId:_0x3e323e}=_0x1252e6,_0x4a48d7=_0x39ad2c(_0x313fef,_0x29a0fb,_0x22e498);if(_0x4a48d7['length']>0x0){const _0x4d8d7d=_0x36274a[_0x2e969f(0x3b0)](_0x28392b,_0x436644),_0x2e2400=_0x4d8d7d[_0x2e969f(0x22b)](),_0x2d4666=this[_0x2e969f(0x3f8)](_0x22e498[_0x2e969f(0x44b)],_0x22e498[_0x2e969f(0x3a5)],_0x29a0fb),_0x18afc9={},_0x28c737=this['_sheetsPivotDataSourceModel'][_0x2e969f(0x16b)](_0x2baaf7)['getAutoDisplayNameFunction']()||_0x62e76f[_0x2e969f(0x3c3)],_0x284ede=[];for(const _0x2d68f5 of _0x4a48d7){const _0x1a7189=_0x2d68f5-(_0x22e498[_0x2e969f(0x3d4)]['startColumn']||0x0),_0x45d55f=_0x2e2400[_0x1a7189];_0x284ede[_0x2e969f(0x304)](_0x45d55f),_0x18afc9[_0x45d55f]=_0x4d8d7d['getFieldById'](_0x45d55f)[_0x2e969f(0x468)](),_0x36274a[_0x2e969f(0x16b)](_0x28392b)[_0x2e969f(0x1f8)](_0x45d55f,_0x22e498,_0x1a7189,_0x2d4666);}_0x4d8d7d[_0x2e969f(0x193)](_0x284ede)['forEach'](_0x1b3ff0=>{const _0x33fccd=_0x2e969f,[_0x1184da,_0x836fa]=_0x1b3ff0,_0x5b1da1=_0x4d8d7d[_0x33fccd(0x2bd)](_0x1184da),_0x5b9ad0=_0x4d8d7d[_0x33fccd(0x2bd)](_0x836fa);_0x5b1da1&&_0x5b9ad0&&_0x5b1da1[_0x33fccd(0x3d6)](_0x5b9ad0);}),_0x4d8d7d[_0x2e969f(0x412)]();const _0x26b5fe=_0x36274a['getPivotTableInstance'](_0x436644);if(_0x26b5fe){_0x27e568(_0x26b5fe,_0x18afc9,_0x28c737),_0x26b5fe[_0x2e969f(0x281)](!0x0);const _0x7909e2=_0x26b5fe[_0x2e969f(0x2d9)](),_0x101b52=_0x36274a[_0x2e969f(0x358)](_0x2baaf7,_0x3e323e,_0x436644),_0x280f98=_0x36274a['getDataFieldManager'](_0x28392b)['toJSON']();_0x36274a[_0x2e969f(0x27d)](_0x2baaf7,_0x3e323e,_0x41401b[_0x2e969f(0x205)],_0x436644,_0x7909e2,_0x101b52,_0x280f98,!0x0);}}return this['getDirtyInfo'](_0x2baaf7,_0x3e323e,_0x436644);}});}['getMatrixFromRunTimeData'](_0x2ddb95,_0x39e18c,_0x59108a){var _0x3cb2ea,_0x4f6272;const {arrayFormulaCellData:_0x3b8024,unitData:_0x158f97}=_0x59108a,_0x22059d=(_0x3cb2ea=_0x3b8024==null?void 0x0:_0x3b8024[_0x2ddb95])==null?void 0x0:_0x3cb2ea[_0x39e18c],_0x250ad8=(_0x4f6272=_0x158f97==null?void 0x0:_0x158f97[_0x2ddb95])==null?void 0x0:_0x4f6272[_0x39e18c];return{'arrayFormulaCellDataMatrix':_0x22059d,'unitDataMatrix':_0x250ad8};}['getDirtyInfo'](_0x578c5b,_0x337b27,_0x33f79b){const _0x50253a=_0xebbe60,_0x1f0ad5=this[_0x50253a(0x2a0)]['getViewData'](_0x578c5b,_0x337b27,_0x33f79b),_0x45ca16=[],_0x3669f2=new _0x5136e7[(_0x50253a(0x3a3))]();if(_0x1f0ad5){const {rangeCache:_0x3e579c,matrix:_0xd4da4c,oldRangeCache:_0x1fe72f,oldMatrix:_0x133fdf}=_0x1f0ad5,_0x55ab3e=_0x48ff3b(_0x1fe72f),_0x10456e=_0x48ff3b(_0x3e579c);_0x45ca16[_0x50253a(0x304)](..._0x10456e,..._0x55ab3e),_0x133fdf&&_0x1fe72f&&_0x55ab3e[_0x50253a(0x1a8)](_0x5f42ab=>{const _0x490439=_0x50253a;for(let _0x3be551=_0x5f42ab[_0x490439(0x306)];_0x3be551<=_0x5f42ab[_0x490439(0x325)];_0x3be551++)for(let _0x2da816=_0x5f42ab[_0x490439(0x2bf)];_0x2da816<=_0x5f42ab[_0x490439(0x374)];_0x2da816++)_0x3669f2[_0x490439(0x37f)](_0x3be551,_0x2da816);}),_0xd4da4c&&_0x10456e&&_0x10456e['forEach'](_0x5d9e0a=>{const _0x46250a=_0x50253a;for(let _0x4394e7=_0x5d9e0a['startRow'];_0x4394e7<=_0x5d9e0a[_0x46250a(0x325)];_0x4394e7++)for(let _0x829787=_0x5d9e0a['startColumn'];_0x829787<=_0x5d9e0a[_0x46250a(0x374)];_0x829787++)_0x3669f2[_0x46250a(0x229)](_0x4394e7,_0x829787,_0xd4da4c['getValue'](_0x4394e7,_0x829787));});}const _0x3cc353={};return _0x3cc353[_0x578c5b]={[_0x337b27]:_0x5091aa(_0x45ca16)},{'runtimeCellData':{[_0x578c5b]:{[_0x337b27]:_0x3669f2}},'dirtyRanges':_0x3cc353};}[_0xebbe60(0x308)](){}};_0x2492a8=_0x59ad3d([_0x1fbfb6(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7[_0xebbe60(0x19c)])),_0x1fbfb6(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0x5ecf13['IFeatureCalculationManagerService'])),_0x1fbfb6(0x2,_0x5136e7['Inject'](_0x5136e7['ICommandService'])),_0x1fbfb6(0x3,_0x5136e7[_0xebbe60(0x2c6)](_0x5ecf13[_0xebbe60(0x2c9)])),_0x1fbfb6(0x4,_0x5136e7['Inject'](_0x5136e7[_0xebbe60(0x1f7)]))],_0x2492a8);var _0x2d723f=Object[_0xebbe60(0x42b)],_0x17852e=(_0x54b191,_0x1b763c,_0x2958e,_0x13e31d)=>{const _0xa0c2c0=_0xebbe60;for(var _0x28d5bc=_0x13e31d>0x1?void 0x0:_0x13e31d?_0x2d723f(_0x1b763c,_0x2958e):_0x1b763c,_0x1eed54=_0x54b191[_0xa0c2c0(0x20e)]-0x1,_0x1432cd;_0x1eed54>=0x0;_0x1eed54--)(_0x1432cd=_0x54b191[_0x1eed54])&&(_0x28d5bc=_0x1432cd(_0x28d5bc)||_0x28d5bc);return _0x28d5bc;},_0xab34b4=(_0x554d08,_0x3b9580)=>(_0x40c6e1,_0x15078b)=>_0x3b9580(_0x40c6e1,_0x15078b,_0x554d08);let _0x434873=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x23aeac,_0x356bef,_0x1fd172,_0x2cb3c9){const _0x145ae0=_0xebbe60;super(),_0x59516b(this,_0x145ae0(0x1d8),new _0x5136e7[(_0x145ae0(0x18f))]()),(this[_0x145ae0(0x265)]=_0x23aeac,this[_0x145ae0(0x407)]=_0x356bef,this[_0x145ae0(0x1a4)]=_0x1fd172,this[_0x145ae0(0x25b)]=_0x2cb3c9,this[_0x145ae0(0x24c)]());}[_0xebbe60(0x24c)](){const _0x4a4fe5=_0xebbe60;this[_0x4a4fe5(0x271)](this[_0x4a4fe5(0x407)]['interceptCommand']({'getMutations':_0x688220=>{const _0x7c3b4=_0x4a4fe5;if(_0x688220['id']===_0x5dda2d[_0x7c3b4(0x345)]['id']||_0x688220['id']===_0x5dda2d['ClearSelectionAllCommand']['id']){const _0x45cba6=[],_0x30ae80=[],_0x29b347=this[_0x7c3b4(0x1a4)]['getCurrentSelections']()[_0x7c3b4(0x3ac)](_0x29512e=>_0x29512e['range']),_0x482f06=_0x5dda2d['getSheetCommandTarget'](this[_0x7c3b4(0x265)]);if(!_0x482f06)return{'redos':[],'undos':[]};const {unitId:_0x2dba7f,subUnitId:_0x3c2e89}=_0x482f06,_0x8bc483={},_0x34fddb=this[_0x7c3b4(0x25b)]['getSubUnitPivotConfigs'](_0x2dba7f,_0x3c2e89);if(_0x34fddb!=null&&_0x34fddb[_0x7c3b4(0x30a)])for(const [_0x3e0f0d,_0x736e40]of _0x34fddb){const {unitId:_0x18c9d4,subUnitId:_0x3c6ef4,row:_0x3c8101,col:_0x40e643}=_0x736e40[_0x7c3b4(0x31c)];_0x18c9d4===_0x482f06[_0x7c3b4(0x44b)]&&_0x3c6ef4===_0x482f06['subUnitId']&&(_0x8bc483[_0x3c8101+'-'+_0x40e643]=_0x3e0f0d);}return _0x29b347&&_0x482f06&&_0x29b347[_0x7c3b4(0x1a8)](_0x20ffc6=>{const _0x2c4c99=_0x7c3b4;_0x5136e7[_0x2c4c99(0x429)][_0x2c4c99(0x389)](_0x20ffc6,(_0x489f07,_0xbf9b62)=>{const _0x41265f=_0x2c4c99,_0xd1e8f9=_0x489f07+'-'+_0xbf9b62;if(_0x8bc483[_0xd1e8f9]){const _0x2abc77=_0x8bc483[_0xd1e8f9];_0x45cba6[_0x41265f(0x304)]({'id':_0x37788b['id'],'params':{'unitId':_0x2dba7f,'subUnitId':_0x3c2e89,'pivotTableId':_0x2abc77}});const _0x2f0405=this[_0x41265f(0x25b)]['getCollection'](_0x2dba7f,_0x2abc77),_0x34e2da=this[_0x41265f(0x25b)]['getPivotTableConfig'](_0x2dba7f,_0x3c2e89,_0x2abc77);_0x30ae80[_0x41265f(0x304)]({'id':_0x1651b7['id'],'params':{'unitId':_0x2dba7f,'subUnitId':_0x3c2e89,'pivotTableId':_0x2abc77,'pivotTableConfig':_0x34e2da,'collectionConfig':_0x2f0405}});}});}),{'redos':_0x45cba6,'undos':_0x30ae80};}return{'redos':[],'undos':[]};}}));}};_0x434873=_0x17852e([_0xab34b4(0x0,_0x5136e7[_0xebbe60(0x31b)]),_0xab34b4(0x1,_0x5136e7['Inject'](_0x5dda2d[_0xebbe60(0x2fc)])),_0xab34b4(0x2,_0x5136e7['Inject'](_0x5dda2d[_0xebbe60(0x1fd)])),_0xab34b4(0x3,_0x5136e7['Inject'](_0xc5aaf7[_0xebbe60(0x1f0)]))],_0x434873);var _0x365762=Object[_0xebbe60(0x42b)],_0x51fcfb=(_0x180b45,_0x4e64a9,_0x44456c,_0x1c4fa7)=>{const _0x482a5d=_0xebbe60;for(var _0xb83df=_0x1c4fa7>0x1?void 0x0:_0x1c4fa7?_0x365762(_0x4e64a9,_0x44456c):_0x4e64a9,_0x27377b=_0x180b45[_0x482a5d(0x20e)]-0x1,_0x1deb2f;_0x27377b>=0x0;_0x27377b--)(_0x1deb2f=_0x180b45[_0x27377b])&&(_0xb83df=_0x1deb2f(_0xb83df)||_0xb83df);return _0xb83df;},_0x43211b=(_0x4db9c9,_0x160b06)=>(_0x5d105d,_0x5029a1)=>_0x160b06(_0x5d105d,_0x5029a1,_0x4db9c9);let _0x1fd7ce=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x336fa1,_0x50f9e1,_0x1243e2,_0xa513d5,_0x2ecd21){const _0x762792=_0xebbe60;super(),this[_0x762792(0x407)]=_0x336fa1,this['_injector']=_0x50f9e1,this[_0x762792(0x265)]=_0x1243e2,this['_sheetsPivotTableConfigModel']=_0xa513d5,this[_0x762792(0x217)]=_0x2ecd21,this[_0x762792(0x2eb)]();}[_0xebbe60(0x3e9)](_0x1670c2,_0x489a45,_0x174ddf){const _0x3e53ea=_0xebbe60,{pageView:_0x27b2ba,cornerView:_0x5ccd81,rowView:_0x2d1999,colView:_0x3529bd,dataView:_0x5cf587}=_0x489a45,_0x4c8c40=_0x1670c2;let _0x5c85c0;if(_0x174ddf)_0x5c85c0=[..._0x479bf8(_0x4c8c40)];else{const _0x555c5c=_0x5d5414(_0x4c8c40,_0x27b2ba,!0x0),_0x49eaab=_0x27b2ba['lastRow']>=0x0?_0x27b2ba[_0x3e53ea(0x43a)]+0x1:0x0,_0x5eacdd=_0x5ccd81[_0x3e53ea(0x45e)],_0x31cd29=_0x5ccd81[_0x3e53ea(0x3c0)],_0x4fbff3=_0x555c5c['length']>0x0?_0x2e0cc2:0x0,_0x438275=_0x5d5414({'row':_0x4c8c40[_0x3e53ea(0x183)]+_0x49eaab+_0x4fbff3,'col':_0x4c8c40[_0x3e53ea(0x1c6)]},_0x5ccd81,!0x1,!0x1),_0x4bf41f=_0x5d5414({'row':_0x4c8c40[_0x3e53ea(0x183)]+_0x49eaab+_0x4fbff3+_0x5eacdd,'col':_0x4c8c40[_0x3e53ea(0x1c6)]},_0x2d1999,!0x1,!0x0),_0xcbd5e6=_0x5d5414({'row':_0x4c8c40[_0x3e53ea(0x183)]+_0x49eaab+_0x4fbff3,'col':_0x4c8c40[_0x3e53ea(0x1c6)]+_0x31cd29},_0x3529bd,!0x1,!0x0),_0x5f2897=_0x5d5414({'row':_0x4c8c40['row']+_0x49eaab+_0x4fbff3+_0x5eacdd,'col':_0x4c8c40[_0x3e53ea(0x1c6)]+_0x31cd29},_0x5cf587,!0x1,!0x0);_0x5c85c0=[..._0x555c5c,..._0x438275,..._0x4bf41f,..._0xcbd5e6,..._0x5f2897];}return _0x5c85c0;}[_0xebbe60(0x2eb)](){const _0x327ba9=_0xebbe60;this[_0x327ba9(0x271)](this[_0x327ba9(0x217)][_0x327ba9(0x379)]['intercept'](this[_0x327ba9(0x217)][_0x327ba9(0x379)][_0x327ba9(0x413)]()['PIVOT_MUTATION_GENERATE'],{'handler':(_0xd0d7f3,_0x580a28)=>{const _0x70034f=_0x327ba9,{cellInfo:_0x1e06c8,view:_0x1804ca,isEmpty:_0x209fdb}=_0x580a28,_0x44b705=_0x1e06c8,{unitId:_0x5f2b3e,subUnitId:_0x14f74c}=_0x44b705,_0x31c808=this[_0x70034f(0x3e9)](_0x1e06c8,_0x1804ca,_0x209fdb),_0x383c4c=this['_sheetInterceptorService'][_0x70034f(0x466)]({'unitId':_0x5f2b3e,'subUnitId':_0x14f74c,'ranges':_0x31c808}),_0x3d2ad0=_0xe37af1(this[_0x70034f(0x2c3)],_0x5f2b3e,_0x14f74c,_0x31c808);_0x3d2ad0[_0x70034f(0x3fb)]&&(_0x383c4c[_0x70034f(0x449)][_0x70034f(0x304)](_0x3d2ad0['setRangeValueRedoMutation']),_0x383c4c[_0x70034f(0x2e6)][_0x70034f(0x304)](_0x3d2ad0[_0x70034f(0x219)]));const _0xa999aa=this[_0x70034f(0x198)](_0x1804ca,_0x1e06c8);return _0x383c4c[_0x70034f(0x449)]['push'](..._0xa999aa[_0x70034f(0x449)]),_0x383c4c[_0x70034f(0x2e6)][_0x70034f(0x304)](..._0xa999aa['undos']),{'redos':_0x383c4c['redos'],'undos':_0x383c4c['undos']};}}));}[_0xebbe60(0x198)](_0x19d98d,_0x2f242b){const _0x340669=_0xebbe60,{col:_0x1c3616,unitId:_0x37b57d,subUnitId:_0x404749}=_0x2f242b,_0x2dc8ed=[],_0x428579=[],_0x45e8e4=_0x5dda2d[_0x340669(0x3ee)](this['_univerInstanceService'],{'unitId':_0x37b57d,'subUnitId':_0x404749});if(!_0x2f242b||!_0x19d98d||!_0x45e8e4)return{'undos':_0x428579,'redos':_0x2dc8ed};const _0x3e31ef=this[_0x340669(0x25b)][_0x340669(0x378)](),{colView:_0x127f4c,dataView:_0x2a1622,cornerView:_0x338295,rowView:_0x54bfba,formatMap:_0x11f790}=_0x19d98d,_0x2edf43=_0x29e176(_0x127f4c,_0x3e31ef,!0x0,_0x11f790),_0x3235e6=_0x29e176(_0x54bfba,_0x3e31ef,!0x1,_0x11f790),_0x390e1b=_0x5a749b(_0x2a1622),_0x93e579=_0x2998ae(_0x338295),{worksheet:_0x1ac444}=_0x45e8e4;if(typeof window<'u'&&window[_0x340669(0x3d7)]){const _0x463eb7=_0x4c558f[_0x340669(0x328)]({..._0x48a60b['colStyle']}),_0x4e6122=_0x4c558f[_0x340669(0x351)][_0x340669(0x294)](_0x2edf43,_0x463eb7)[_0x340669(0x346)]+0x10,_0x89e4b6=_0x4c558f[_0x340669(0x351)][_0x340669(0x294)](_0x390e1b,_0x463eb7)[_0x340669(0x346)],_0x250740=Math[_0x340669(0x34c)](Math[_0x340669(0x2da)](_0x4e6122,_0x89e4b6))+0x10,_0x13adb7=Math['floor'](_0x4c558f['FontCache'][_0x340669(0x294)](_0x3235e6,_0x463eb7)[_0x340669(0x346)]),_0x148d10=Math[_0x340669(0x34c)](_0x4c558f[_0x340669(0x351)][_0x340669(0x294)](_0x93e579,_0x463eb7)[_0x340669(0x346)]),_0x7b787c=Math[_0x340669(0x2da)](_0x13adb7,_0x148d10,0x28)+0xc,_0x4e7c3a=_0x127f4c[_0x340669(0x3c0)]+_0x338295[_0x340669(0x3c0)],_0x7a0574={},_0x10e794={};for(let _0x26dc91=_0x1c3616;_0x26dc91<_0x1c3616+_0x4e7c3a;_0x26dc91++){const _0x19a4bb=_0x1ac444[_0x340669(0x2d1)](_0x26dc91);_0x7a0574[_0x26dc91]=_0x19a4bb,_0x26dc91-_0x1c3616<_0x338295[_0x340669(0x3c0)]?_0x10e794[_0x26dc91-_0x1c3616]=_0x7b787c:_0x10e794[_0x26dc91-_0x1c3616]=_0x250740;}_0x2dc8ed[_0x340669(0x304)]({'id':_0x5dda2d[_0x340669(0x3aa)]['id'],'params':{'subUnitId':_0x404749,'unitId':_0x37b57d,'ranges':[{'startColumn':_0x1c3616,'endColumn':_0x1c3616+_0x4e7c3a-0x1,'startRow':0x0,'endRow':_0x1ac444[_0x340669(0x38c)]()-0x1}],'colWidth':_0x10e794}}),_0x428579[_0x340669(0x304)]({'id':_0x5dda2d[_0x340669(0x3aa)]['id'],'params':{'subUnitId':_0x404749,'unitId':_0x37b57d,'ranges':[{'startColumn':_0x1c3616,'endColumn':_0x1c3616+_0x4e7c3a-0x1,'startRow':0x0,'endRow':_0x1ac444[_0x340669(0x38c)]()-0x1}],'colWidth':_0x7a0574}});}return{'undos':_0x428579,'redos':_0x2dc8ed};}};_0x1fd7ce=_0x51fcfb([_0x43211b(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5dda2d['SheetInterceptorService'])),_0x43211b(0x1,_0x5136e7['Inject'](_0x5136e7[_0xebbe60(0x1f7)])),_0x43211b(0x2,_0x5136e7['Inject'](_0x5136e7[_0xebbe60(0x31b)])),_0x43211b(0x3,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7[_0xebbe60(0x1f0)])),_0x43211b(0x4,_0x5136e7['Inject'](_0xc5aaf7['SheetsPivotTableService']))],_0x1fd7ce);var _0x5533a1=Object['getOwnPropertyDescriptor'],_0x34000d=(_0x4ed24d,_0x4288f0,_0x424a2f,_0x2d576a)=>{const _0x2f0f88=_0xebbe60;for(var _0x31679f=_0x2d576a>0x1?void 0x0:_0x2d576a?_0x5533a1(_0x4288f0,_0x424a2f):_0x4288f0,_0x1db3b2=_0x4ed24d[_0x2f0f88(0x20e)]-0x1,_0xfb4c7e;_0x1db3b2>=0x0;_0x1db3b2--)(_0xfb4c7e=_0x4ed24d[_0x1db3b2])&&(_0x31679f=_0xfb4c7e(_0x31679f)||_0x31679f);return _0x31679f;},_0x2a41f8=(_0x3802f8,_0x49f55a)=>(_0x56410e,_0x59d6eb)=>_0x49f55a(_0x56410e,_0x59d6eb,_0x3802f8);let _0x3ee8d7=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x314aca,_0x6f5207,_0x29f262,_0x377ce4,_0x5cd0a3,_0x3589c3,_0x2e78bc){const _0x1b1560=_0xebbe60;super(),_0x59516b(this,_0x1b1560(0x1d8),new _0x5136e7[(_0x1b1560(0x18f))]()),(this['_injector']=_0x314aca,this['_refRangeService']=_0x6f5207,this[_0x1b1560(0x234)]=_0x29f262,this[_0x1b1560(0x265)]=_0x377ce4,this['_sheetsPivotTableConfigModel']=_0x5cd0a3,this['_sheetsPivotTableAdaptorModel']=_0x3589c3,this[_0x1b1560(0x407)]=_0x2e78bc,this[_0x1b1560(0x35d)]());}[_0xebbe60(0x35d)](){const _0x8aaaa0=_0xebbe60,_0x5cc9ab=(_0x279f8f,_0x342f16)=>{const _0x5666f2=_0x39dd,_0x48bf8e=this[_0x5666f2(0x265)][_0x5666f2(0x3f1)](_0x5136e7[_0x5666f2(0x26f)][_0x5666f2(0x212)]);if(!_0x48bf8e||!(_0x48bf8e==null?void 0x0:_0x48bf8e[_0x5666f2(0x432)](_0x342f16)))return;this[_0x5666f2(0x1d8)]['dispose']();const _0x48e86c=_0x9f1e69=>this['_refRangeHandle'](_0x9f1e69,_0x279f8f,_0x342f16),_0x16e384=this[_0x5666f2(0x25b)]['getSubUnitPivotConfigs'](_0x279f8f,_0x342f16);if(!(_0x16e384!=null&&_0x16e384['size']))return;Array[_0x5666f2(0x1dd)](_0x16e384[_0x5666f2(0x461)]())['map'](_0x2e202c=>{const _0x4ee40c=_0x5666f2,{row:_0x202020,col:_0x534a4b}=_0x2e202c['targetCellInfo'];return _0x5136e7[_0x4ee40c(0x3e3)](_0x202020,_0x534a4b);})['forEach'](_0x1ef74a=>{const _0x3e232d=_0x5666f2;this[_0x3e232d(0x1d8)]['add'](this[_0x3e232d(0x1b8)][_0x3e232d(0x1d3)](_0x1ef74a,_0x48e86c,_0x279f8f,_0x342f16));});},_0x4b08d3=()=>{const _0x5bd3e5=_0x39dd,_0x583520=this['_univerInstanceService']['getCurrentUnitForType'](_0x5136e7[_0x5bd3e5(0x26f)][_0x5bd3e5(0x212)]);if(_0x583520){const _0x4bc211=_0x583520[_0x5bd3e5(0x337)]();if(!_0x4bc211)return;_0x5cc9ab(_0x583520[_0x5bd3e5(0x3b2)](),_0x4bc211[_0x5bd3e5(0x1d9)]());}};this['disposeWithMe'](this[_0x8aaaa0(0x234)][_0x8aaaa0(0x444)](_0x2c0857=>{const _0x4693c4=_0x8aaaa0;if(_0x2c0857['id']===_0x5dda2d[_0x4693c4(0x1ed)]['id']){const _0x56c440=_0x2c0857[_0x4693c4(0x34d)],_0x431a87=_0x56c440[_0x4693c4(0x3a5)],_0x385e49=_0x56c440[_0x4693c4(0x44b)];if(!_0x431a87||!_0x385e49)return;_0x5cc9ab(_0x385e49,_0x431a87);}})),this['disposeWithMe'](this[_0x8aaaa0(0x25b)][_0x8aaaa0(0x313)]['subscribe'](_0x46cc82=>{_0x46cc82&&_0x4b08d3();})),this[_0x8aaaa0(0x271)](this['_sheetsPivotTableConfigModel'][_0x8aaaa0(0x215)]['subscribe'](_0x25e65d=>{const _0x51e9c6=_0x8aaaa0,_0x5630e9=_0x5dda2d[_0x51e9c6(0x3ee)](this[_0x51e9c6(0x265)]);if(!_0x5630e9)return;const {unitId:_0x3119ff,subUnitId:_0x5d520f}=_0x5630e9,{unitId:_0x273732,subUnitId:_0x2e5652}=_0x25e65d;_0x3119ff!==_0x273732||_0x5d520f!==_0x2e5652||_0x5cc9ab(_0x3119ff,_0x5d520f);})),_0x4b08d3();}[_0xebbe60(0x1c5)](_0x6161d3,_0x5078ae,_0x593362){const _0x30a6dc=_0xebbe60;switch(_0x6161d3['id']){case _0x5dda2d[_0x30a6dc(0x1e0)]['id']:return this[_0x30a6dc(0x1fb)](_0x6161d3[_0x30a6dc(0x34d)],_0x5078ae,_0x593362);}return{'redos':[],'undos':[]};}[_0xebbe60(0x1fb)](_0x309173,_0x15b9bf,_0x32927c){const _0x2c2bda=_0xebbe60,{fromRange:_0x2974a6,toRange:_0x372261}=_0x309173,_0x5dbfc3=[],_0x4bffc9=[],_0xfb5ef5=_0x5dda2d[_0x2c2bda(0x3ee)](this['_univerInstanceService']);if(!_0xfb5ef5)return{'undos':_0x4bffc9,'redos':_0x5dbfc3};if(_0x15b9bf!==_0xfb5ef5[_0x2c2bda(0x44b)]||_0x32927c!==_0xfb5ef5[_0x2c2bda(0x3a5)])return{'undos':_0x4bffc9,'redos':_0x5dbfc3};const _0x2fc349=this[_0x2c2bda(0x25b)]['getSubUnitPivotConfigs'](_0x15b9bf,_0x32927c);if(_0x2fc349!=null&&_0x2fc349[_0x2c2bda(0x30a)])for(const [_0x19d574,_0xaa2923]of _0x2fc349){const {unitId:_0x9d00e0,subUnitId:_0x178f60,row:_0xed232e,col:_0x4b8361}=_0xaa2923['targetCellInfo'];if(_0x9d00e0===_0xfb5ef5[_0x2c2bda(0x44b)]&&_0x178f60===_0xfb5ef5[_0x2c2bda(0x3a5)]){const _0x188577=_0x5136e7[_0x2c2bda(0x3e3)](_0xed232e,_0x4b8361);if(_0x5136e7[_0x2c2bda(0x350)][_0x2c2bda(0x2ab)](_0x188577,_0x2974a6)){const _0x30fa01=_0xed232e-_0x2974a6['startRow'],_0x4ba5da=_0x4b8361-_0x2974a6['startColumn'],_0x30f1b0={'row':_0x372261[_0x2c2bda(0x306)]+_0x30fa01,'col':_0x372261[_0x2c2bda(0x2bf)]+_0x4ba5da};_0x5dbfc3[_0x2c2bda(0x304)]({'id':_0x15a7fd['id'],'params':{'unitId':_0x9d00e0,'subUnitId':_0x178f60,'pivotTableId':_0x19d574,'targetCellPosition':_0x30f1b0}}),_0x4bffc9[_0x2c2bda(0x304)]({'id':_0x15a7fd['id'],'params':{'unitId':_0x9d00e0,'subUnitId':_0x178f60,'pivotTableId':_0x19d574,'targetCellPosition':{'row':_0xed232e,'col':_0x4b8361}}});const _0xe88ed7=_0x30f1b0[_0x2c2bda(0x183)]-_0xed232e,_0x4d9835=_0x30f1b0[_0x2c2bda(0x1c6)]-_0x4b8361,_0x5b1c78=[],_0x608344=this[_0x2c2bda(0x1fc)][_0x2c2bda(0x3d5)](_0x9d00e0,_0x178f60,_0x19d574),_0x2b5db4=_0x608344==null?void 0x0:_0x608344[_0x2c2bda(0x37d)];if(_0x2b5db4){Object[_0x2c2bda(0x287)](_0x2b5db4)['forEach'](_0x49dbab=>{const _0x16317f=_0x2c2bda;_0x2b5db4[_0x49dbab][_0x16317f(0x1a8)](_0x517a2a=>{const _0x212874=_0x16317f,_0x5a8ddc={..._0x517a2a};_0x5a8ddc[_0x212874(0x306)]=_0x517a2a[_0x212874(0x306)]+_0xe88ed7,_0x5a8ddc[_0x212874(0x325)]=_0x517a2a[_0x212874(0x325)]+_0xe88ed7,_0x5a8ddc[_0x212874(0x2bf)]=_0x517a2a[_0x212874(0x2bf)]+_0x4d9835,_0x5a8ddc[_0x212874(0x374)]=_0x517a2a[_0x212874(0x374)]+_0x4d9835,_0x5b1c78[_0x212874(0x304)](_0x5a8ddc);});});const _0x207866=this['_sheetInterceptorService'][_0x2c2bda(0x466)]({'unitId':_0x9d00e0,'subUnitId':_0x178f60,'ranges':_0x5b1c78});_0x5dbfc3[_0x2c2bda(0x304)](..._0x207866[_0x2c2bda(0x449)]),_0x4bffc9[_0x2c2bda(0x304)](..._0x207866[_0x2c2bda(0x2e6)]);const _0x11f4f1=_0xe37af1(this[_0x2c2bda(0x2c3)],_0x9d00e0,_0x178f60,_0x5b1c78);_0x11f4f1['shouldClear']&&(_0x5dbfc3[_0x2c2bda(0x304)](_0x11f4f1[_0x2c2bda(0x255)]),_0x4bffc9['push'](_0x11f4f1[_0x2c2bda(0x219)]));}}}}return{'redos':_0x5dbfc3,'undos':_0x4bffc9};}};_0x3ee8d7=_0x34000d([_0x2a41f8(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7['Injector'])),_0x2a41f8(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0x5dda2d['RefRangeService'])),_0x2a41f8(0x2,_0x5136e7['ICommandService']),_0x2a41f8(0x3,_0x5136e7[_0xebbe60(0x31b)]),_0x2a41f8(0x4,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7[_0xebbe60(0x1f0)])),_0x2a41f8(0x5,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7['SheetsPivotTableAdaptorModel'])),_0x2a41f8(0x6,_0x5136e7[_0xebbe60(0x2c6)](_0x5dda2d['SheetInterceptorService']))],_0x3ee8d7);var _0x2bd8ae=Object['getOwnPropertyDescriptor'],_0x4febee=(_0x441f42,_0x530d83,_0x190cb5,_0x2150e0)=>{for(var _0x4ff2f3=_0x2150e0>0x1?void 0x0:_0x2150e0?_0x2bd8ae(_0x530d83,_0x190cb5):_0x530d83,_0x28935e=_0x441f42['length']-0x1,_0x52d3b2;_0x28935e>=0x0;_0x28935e--)(_0x52d3b2=_0x441f42[_0x28935e])&&(_0x4ff2f3=_0x52d3b2(_0x4ff2f3)||_0x4ff2f3);return _0x4ff2f3;},_0x5039b1=(_0x19b5fa,_0x18f955)=>(_0x266c92,_0xdd2fee)=>_0x18f955(_0x266c92,_0xdd2fee,_0x19b5fa);let _0xe77939=class extends _0x5136e7['Disposable']{constructor(_0x336543,_0x1fd780){const _0x59be67=_0xebbe60;super(),this[_0x59be67(0x407)]=_0x336543,this['_sheetsPivotTableConfigModel']=_0x1fd780,this[_0x59be67(0x459)]();}[_0xebbe60(0x459)](){const _0x9c9757=_0xebbe60;this[_0x9c9757(0x271)](this[_0x9c9757(0x407)][_0x9c9757(0x3ba)]({'getMutations':_0x1f8e1c=>{const _0x4d3bc7=_0x9c9757;if(_0x1f8e1c['id']===_0x5dda2d[_0x4d3bc7(0x2ec)]['id']){const _0x5c2406=[],_0x157563=[],_0x1d4830=_0x1f8e1c[_0x4d3bc7(0x34d)],{unitId:_0x277bac,subUnitId:_0x4d4f5}=_0x1d4830;if(!_0x277bac||!_0x4d4f5)return{'undos':_0x157563,'redos':_0x5c2406};const _0x2bb926=this[_0x4d3bc7(0x25b)]['getSubUnitPivotConfigs'](_0x277bac,_0x4d4f5);if(_0x2bb926!=null&&_0x2bb926[_0x4d3bc7(0x30a)])for(const [_0x1ef2b5,_0x3ad174]of _0x2bb926){_0x5c2406[_0x4d3bc7(0x304)]({'id':_0x37788b['id'],'params':{'unitId':_0x277bac,'subUnitId':_0x4d4f5,'pivotTableId':_0x1ef2b5}});const _0xb7c3f2={...this[_0x4d3bc7(0x25b)][_0x4d3bc7(0x3b0)](_0x277bac,_0x1ef2b5)};_0x157563[_0x4d3bc7(0x304)]({'id':_0x1651b7['id'],'params':{'unitId':_0x277bac,'subUnitId':_0x4d4f5,'pivotTableId':_0x1ef2b5,'pivotTableConfig':_0x3ad174,'collectionConfig':_0xb7c3f2}});}return{'redos':_0x5c2406,'undos':_0x157563};}return{'redos':[],'undos':[]};}}));}};_0xe77939=_0x4febee([_0x5039b1(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5dda2d[_0xebbe60(0x2fc)])),_0x5039b1(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7[_0xebbe60(0x1f0)]))],_0xe77939);var _0x45ef2e=Object['getOwnPropertyDescriptor'],_0x427120=(_0xd391a,_0x346090,_0x25f777,_0xb3007d)=>{for(var _0x11149d=_0xb3007d>0x1?void 0x0:_0xb3007d?_0x45ef2e(_0x346090,_0x25f777):_0x346090,_0x2f53ce=_0xd391a['length']-0x1,_0x5e0632;_0x2f53ce>=0x0;_0x2f53ce--)(_0x5e0632=_0xd391a[_0x2f53ce])&&(_0x11149d=_0x5e0632(_0x11149d)||_0x11149d);return _0x11149d;},_0x4b074a=(_0x4db636,_0x18c9a8)=>(_0x363eb5,_0x414610)=>_0x18c9a8(_0x363eb5,_0x414610,_0x4db636);let _0x104651=class extends _0x5136e7[_0xebbe60(0x2b8)]{constructor(_0x5640ad,_0x1d4472,_0x290bf1,_0x5b64c4,_0x4be748,_0x47056b){const _0x1b12d2=_0xebbe60;super(),this['_commandService']=_0x5640ad,this[_0x1b12d2(0x2a7)]=_0x1d4472,this[_0x1b12d2(0x1fc)]=_0x290bf1,this['_sheetsPivotTableConfigModel']=_0x5b64c4,this[_0x1b12d2(0x265)]=_0x4be748,this[_0x1b12d2(0x189)]=_0x47056b,this[_0x1b12d2(0x32d)](),this['registerDirtyService']();}[_0xebbe60(0x32d)](){const _0x5999c2=_0xebbe60;this[_0x5999c2(0x271)](this[_0x5999c2(0x234)][_0x5999c2(0x444)](_0x204616=>{const _0x35ce9d=_0x5999c2;if(_0x204616['id']!==_0x5c6150['id'])return;const _0x3b8cc9=_0x204616[_0x35ce9d(0x34d)];this[_0x35ce9d(0x2a7)]['handleAsyncResponse'](_0x3b8cc9);})),this['disposeWithMe'](this[_0x5999c2(0x234)][_0x5999c2(0x444)](_0x46023e=>{const _0x5f279b=_0x5999c2;if(_0x46023e['id']===_0x403c57['id']){const _0x157706=_0x46023e[_0x5f279b(0x34d)];if(_0x157706){const {unitId:_0x10d620,subUnitId:_0x21fda4,oldSubUnitId:_0x966736,pivotTableId:_0x5184e0,pivotTableConfig:_0x479c16,collectionConfig:_0x29be12}=_0x157706;this[_0x5f279b(0x25b)][_0x5f279b(0x204)](_0x10d620,_0x966736,_0x157706['pivotTableId'],null),this[_0x5f279b(0x25b)]['updateConfigCache'](_0x10d620,_0x21fda4,_0x5184e0,_0x479c16),this['_sheetsPivotTableConfigModel'][_0x5f279b(0x35a)](_0x10d620,_0x29be12);}}})),this['disposeWithMe'](this[_0x5999c2(0x234)][_0x5999c2(0x444)](_0x25ce0a=>{const _0x77c5ae=_0x5999c2;if(_0x25ce0a['id']!==_0x512654['id'])return;const _0x58b234=_0x5dda2d[_0x77c5ae(0x3ee)](this[_0x77c5ae(0x265)]);if(!_0x58b234)return;const {unitId:_0x4befd8,subUnitId:_0x4d2471}=_0x58b234,_0x5209c1=_0x25ce0a[_0x77c5ae(0x34d)];if(_0x5209c1[_0x77c5ae(0x445)]&&Object['keys'](_0x5209c1[_0x77c5ae(0x445)])['forEach'](_0x295ff8=>{const _0xe4cc9f=_0x77c5ae;var _0x41efac;(_0x41efac=_0x5209c1[_0xe4cc9f(0x445)])!=null&&_0x41efac[_0x295ff8]&&this[_0xe4cc9f(0x25b)][_0xe4cc9f(0x35a)](_0x295ff8,_0x5209c1[_0xe4cc9f(0x445)][_0x295ff8]);}),_0x5209c1[_0x77c5ae(0x1ac)]){const _0x2a60c6=_0x5209c1[_0x77c5ae(0x1ac)],{unitId:_0x70fc1d,subUnitId:_0xf69041,view:_0x553b75,pivotTableId:_0x45b4a1,type:_0x2fe678,pivotConfig:_0x32226a}=_0x2a60c6;if(_0x2fe678===_0x41401b[_0x77c5ae(0x2c4)])this[_0x77c5ae(0x1fc)][_0x77c5ae(0x1b4)]({'unitId':_0x70fc1d,'subUnitId':_0xf69041,'pivotTableId':_0x45b4a1,'type':_0x2fe678}),this[_0x77c5ae(0x25b)][_0x77c5ae(0x204)](_0x70fc1d,_0xf69041,_0x45b4a1,null);else{const _0x48fe82=new _0x62e76f[(_0x77c5ae(0x3b1))]();_0x48fe82[_0x77c5ae(0x2ac)](_0x553b75),this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0x70fc1d,_0xf69041,_0x45b4a1,_0x32226a),this['_sheetsPivotTableAdaptorModel'][_0x77c5ae(0x1b4)]({'unitId':_0x70fc1d,'subUnitId':_0xf69041,'pivotTableId':_0x45b4a1,'type':_0x2fe678,'view':_0x48fe82}),this['_sheetsPivotTableAdaptorModel'][_0x77c5ae(0x418)]({'unitId':_0x70fc1d,'subUnitId':_0xf69041,'view':_0x48fe82,'pivotTableId':_0x45b4a1,'type':_0x2fe678});}}else _0x5209c1[_0x77c5ae(0x28b)]&&(_0x5209c1['batch']['forEach'](_0x308be6=>{const _0x4e8e48=_0x77c5ae,{unitId:_0x3190e0,subUnitId:_0x179121,view:_0x1fca33,pivotTableId:_0x3d87c5,type:_0x30b28b,pivotConfig:_0x247b56}=_0x308be6,_0x66165c=new _0x62e76f['PivotView']();_0x66165c[_0x4e8e48(0x2ac)](_0x1fca33),this[_0x4e8e48(0x25b)][_0x4e8e48(0x204)](_0x3190e0,_0x179121,_0x3d87c5,_0x247b56),this[_0x4e8e48(0x1fc)][_0x4e8e48(0x418)]({'unitId':_0x3190e0,'subUnitId':_0x179121,'view':_0x66165c,'pivotTableId':_0x3d87c5,'type':_0x30b28b});}),this[_0x77c5ae(0x25b)]['setPivotInitCompleted']());this[_0x77c5ae(0x1fc)][_0x77c5ae(0x2c0)](_0x4befd8,_0x4d2471);}));}[_0xebbe60(0x34a)](){const _0x38213d=_0xebbe60;this[_0x38213d(0x189)][_0x38213d(0x340)](_0x1639ef['id'],{'commandId':_0x1639ef['id'],'getDirtyData'(_0x482cc1){const _0x21bf11=_0x38213d;return{'dirtyUnitFeatureMap':_0x482cc1[_0x21bf11(0x34d)]};}});}};_0x104651=_0x427120([_0x4b074a(0x0,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x43b)])),_0x4b074a(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7['SheetsPivotRPCService'])),_0x4b074a(0x2,_0x5136e7[_0xebbe60(0x2c6)](_0xc5aaf7[_0xebbe60(0x3f7)])),_0x4b074a(0x3,_0x5136e7['Inject'](_0xc5aaf7[_0xebbe60(0x1f0)])),_0x4b074a(0x4,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x31b)])),_0x4b074a(0x5,_0x5ecf13[_0xebbe60(0x40d)])],_0x104651);var _0x2ae3f8=Object['defineProperty'],_0x50e509=Object[_0xebbe60(0x42b)],_0x40af9b=(_0x350ca7,_0x318c9a,_0x3b493e)=>_0x318c9a in _0x350ca7?_0x2ae3f8(_0x350ca7,_0x318c9a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b493e}):_0x350ca7[_0x318c9a]=_0x3b493e,_0x57fa61=(_0x2fa0ab,_0x40a1bf,_0x1abe98,_0x58795f)=>{const _0x35ed89=_0xebbe60;for(var _0x115422=_0x58795f>0x1?void 0x0:_0x58795f?_0x50e509(_0x40a1bf,_0x1abe98):_0x40a1bf,_0x445eb8=_0x2fa0ab[_0x35ed89(0x20e)]-0x1,_0x1ef112;_0x445eb8>=0x0;_0x445eb8--)(_0x1ef112=_0x2fa0ab[_0x445eb8])&&(_0x115422=_0x1ef112(_0x115422)||_0x115422);return _0x115422;},_0x562bc3=(_0x482a57,_0x172a4b)=>(_0x582cdc,_0x13afcd)=>_0x172a4b(_0x582cdc,_0x13afcd,_0x482a57),_0x5372a8=(_0x792a3c,_0x163bf4,_0x3ea7f5)=>_0x40af9b(_0x792a3c,typeof _0x163bf4!=_0xebbe60(0x3ec)?_0x163bf4+'':_0x163bf4,_0x3ea7f5);_0xc5aaf7[_0xebbe60(0x333)]=class extends _0x5136e7[_0xebbe60(0x377)]{constructor(_0x5b1ea5=_0x540bcf,_0x353b19,_0x40343d,_0x48242a,_0x23254a){const _0x528196=_0xebbe60;super(),this[_0x528196(0x336)]=_0x5b1ea5,this[_0x528196(0x2c3)]=_0x353b19,this['_commandService']=_0x40343d,this['_configService']=_0x48242a,this['_dataSyncPrimaryController']=_0x23254a;const {..._0x56e2ac}=_0x5136e7[_0x528196(0x43f)]({},_0x540bcf,this['_config']);this[_0x528196(0x194)][_0x528196(0x239)](_0x44865d,_0x56e2ac),this[_0x528196(0x1f2)](),this['_initConfig']();}[_0xebbe60(0x2e4)](){const _0x94bfab=_0xebbe60;var _0x24b82c;const _0x5c80f8=(_0x24b82c=this['_config'])==null?void 0x0:_0x24b82c[_0x94bfab(0x173)];this[_0x94bfab(0x194)][_0x94bfab(0x239)](_0x500647,_0x5c80f8===!0x0);}['onStarting'](){const _0x527c84=_0xebbe60;var _0x4734dd;let _0x19108d=[];const _0x1c9ed7=(_0x4734dd=this[_0x527c84(0x336)])==null?void 0x0:_0x4734dd[_0x527c84(0x173)];_0x1c9ed7===!0x0?_0x19108d=[[_0xc5aaf7[_0x527c84(0x20f)]],[_0xc5aaf7[_0x527c84(0x1ba)]],[_0x104651],[_0xc5aaf7[_0x527c84(0x3f7)]],[_0xc5aaf7[_0x527c84(0x1f0)]],[_0xe77939],[_0x434873],[_0x3ee8d7],[_0x1fd7ce]]:_0x1c9ed7===!0x1?_0x19108d=[[_0xc5aaf7[_0x527c84(0x19c)]],[_0x2492a8]]:_0x1c9ed7===void 0x0&&(_0x19108d=[[_0xc5aaf7['SheetsPivotDataSourceModel']],[_0x2492a8],[_0xc5aaf7[_0x527c84(0x20f)]],[_0xc5aaf7[_0x527c84(0x1ba)]],[_0x104651],[_0xc5aaf7['SheetsPivotTableAdaptorModel']],[_0xc5aaf7['SheetsPivotTableConfigModel']],[_0xe77939],[_0x434873],[_0x3ee8d7],[_0x1fd7ce]]),_0x19108d[_0x527c84(0x1a8)](_0x2b392c=>this[_0x527c84(0x2c3)][_0x527c84(0x42e)](_0x2b392c)),[_0x2492a8,_0x104651,_0xc5aaf7[_0x527c84(0x20f)],_0x434873,_0xe77939,_0x3ee8d7,_0x1fd7ce][_0x527c84(0x1a8)](_0x477cd5=>{const _0x5bab51=_0x527c84;this['_injector'][_0x5bab51(0x286)](_0x477cd5)&&this[_0x5bab51(0x2c3)][_0x5bab51(0x1ad)](_0x477cd5);});}[_0xebbe60(0x1f2)](){const _0x1c63ff=_0xebbe60;[_0x425760,_0x1e774c,_0x19519a,_0x541273,_0x4af0d8,_0x4a1f7d,_0x397aee,_0x4afeb7,_0x1f6728,_0x3e7e2a,_0x36da0c,_0x204c0f,_0x4b44ba,_0x54cb4d,_0x1651b7,_0x137884,_0x37788b,_0x211846,_0x4ae630,_0x45439e,_0x426176,_0x5e15b6,_0x4536ec,_0x1e048d,_0x20de2e,_0x24f7b9,_0x15a7fd,_0x58cf93,_0x5c6150,_0x512654,_0xc9d2f6,_0x2957cd,_0x349cba,_0xa74272,_0x553ec5,_0x4c23e7,_0x396a1b,_0x1639ef,_0x403c57,_0x1a6b55,_0x7d8adc,_0x150c06,_0x1dc388][_0x1c63ff(0x1a8)](_0x853d7=>{const _0xc058f2=_0x1c63ff;var _0x290eb2;(_0x290eb2=this[_0xc058f2(0x1a1)])==null||_0x290eb2[_0xc058f2(0x243)](_0x853d7),this[_0xc058f2(0x234)]['registerCommand'](_0x853d7);});}},_0x5372a8(_0xc5aaf7[_0xebbe60(0x333)],_0xebbe60(0x21b),_0x28e04e),_0x5372a8(_0xc5aaf7[_0xebbe60(0x333)],_0xebbe60(0x43d),_0x5136e7[_0xebbe60(0x26f)]['UNIVER_SHEET']),_0xc5aaf7[_0xebbe60(0x333)]=_0x57fa61([_0x5136e7['DependentOn'](_0x3eaab7[_0xebbe60(0x2ad)]),_0x562bc3(0x1,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7['Injector'])),_0x562bc3(0x2,_0x5136e7[_0xebbe60(0x2c6)](_0x5136e7[_0xebbe60(0x43b)])),_0x562bc3(0x3,_0x5136e7['IConfigService']),_0x562bc3(0x4,_0x5136e7[_0xebbe60(0x36a)](_0x3d1483[_0xebbe60(0x36b)]))],_0xc5aaf7['UniverSheetsPivotTablePlugin']),_0xc5aaf7[_0xebbe60(0x32e)]=_0x19519a,_0xc5aaf7[_0xebbe60(0x327)]=_0x211846,_0xc5aaf7['AddPivotTableCommand']=_0x1e774c,_0xc5aaf7[_0xebbe60(0x242)]=_0x1651b7,_0xc5aaf7[_0xebbe60(0x391)]=_0x425760,_0xc5aaf7[_0xebbe60(0x3a4)]=_0x2e0cc2,_0xc5aaf7[_0xebbe60(0x2b5)]=_0xec5216,_0xc5aaf7[_0xebbe60(0x231)]=_0x541273,_0xc5aaf7['MovePivotTableCommand']=_0x4b44ba,_0xc5aaf7[_0xebbe60(0x2d5)]=_0x278e97,_0xc5aaf7['PivotDrillDownCommand']=_0x54cb4d,_0xc5aaf7['PivotTableOperationEnum']=_0x41401b,_0xc5aaf7['PivotTableViewDirtyMarkOperation']=_0x1639ef,_0xc5aaf7['PositionType']=_0x3ce220,_0xc5aaf7['RemovePivotFieldCommand']=_0x4af0d8,_0xc5aaf7[_0xebbe60(0x455)]=_0x5e15b6,_0xc5aaf7[_0xebbe60(0x25c)]=_0x37788b,_0xc5aaf7[_0xebbe60(0x31d)]=_0x4536ec,_0xc5aaf7[_0xebbe60(0x254)]=_0x1dc388,_0xc5aaf7[_0xebbe60(0x388)]=_0x44865d,_0xc5aaf7[_0xebbe60(0x42c)]=_0x28e04e,_0xc5aaf7[_0xebbe60(0x2ee)]=_0x4afeb7,_0xc5aaf7[_0xebbe60(0x1f6)]=_0x1e048d,_0xc5aaf7[_0xebbe60(0x365)]=_0xa74272,_0xc5aaf7[_0xebbe60(0x42a)]=_0x150c06,_0xc5aaf7['SetPivotFilterCommand']=_0x3e7e2a,_0xc5aaf7[_0xebbe60(0x3dd)]=_0x426176,_0xc5aaf7[_0xebbe60(0x257)]=_0x24f7b9,_0xc5aaf7[_0xebbe60(0x2d7)]=_0x15a7fd,_0xc5aaf7[_0xebbe60(0x46d)]=_0x1f6728,_0xc5aaf7['SetPivotSortMutation']=_0x20de2e,_0xc5aaf7[_0xebbe60(0x43e)]=_0x349cba,_0xc5aaf7[_0xebbe60(0x404)]=_0x1a6b55,_0xc5aaf7['SetPivotValueFilterMutation']=_0x7d8adc,_0xc5aaf7['UpdateDateGroupCommand']=_0x397aee,_0xc5aaf7['UpdateFieldPositionMutation']=_0xc9d2f6,_0xc5aaf7[_0xebbe60(0x23a)]=_0x36da0c,_0xc5aaf7['UpdatePivotFieldSourceInfoMutation']=_0x396a1b,_0xc5aaf7[_0xebbe60(0x2a3)]=_0x204c0f,_0xc5aaf7['UpdatePivotTableSourceRangeMutation']=_0x4c23e7,_0xc5aaf7[_0xebbe60(0x38a)]=_0x4a1f7d,_0xc5aaf7['UpdateValuePositionMutation']=_0x2957cd,_0xc5aaf7[_0xebbe60(0x2f8)]=_0xf73fcc,_0xc5aaf7['canUsePivot']=_0x1ed1a7,_0xc5aaf7['defaultThemeStyle']=_0x48a60b,_0xc5aaf7[_0xebbe60(0x28a)]=_0xe37af1,_0xc5aaf7[_0xebbe60(0x396)]=_0x5d5414,_0xc5aaf7[_0xebbe60(0x1d1)]=_0x479bf8,_0xc5aaf7[_0xebbe60(0x334)]=_0x26abc4,_0xc5aaf7[_0xebbe60(0x18d)]=_0x58af2f,_0xc5aaf7[_0xebbe60(0x3c9)]=_0x44ea4f,_0xc5aaf7[_0xebbe60(0x37a)]=_0x46288e,_0xc5aaf7[_0xebbe60(0x2b7)]=_0x281517,_0xc5aaf7[_0xebbe60(0x3a6)]=_0x48fce5,_0xc5aaf7[_0xebbe60(0x38f)]=_0x48ff3b,Object[_0xebbe60(0x3cd)](_0xc5aaf7,Symbol[_0xebbe60(0x2e1)],{'value':_0xebbe60(0x39d)});}));function _0x39dd(_0xef7dd8,_0x4b9322){const _0x180ff2=_0x180f();return _0x39dd=function(_0x39dde2,_0x5e1ca2){_0x39dde2=_0x39dde2-0x16a;let _0x59a874=_0x180ff2[_0x39dde2];return _0x59a874;},_0x39dd(_0xef7dd8,_0x4b9322);}function _0x180f(){const _0x53b7c7=['createDataFieldId','value','_deletePivotTableInstanceCache','sum','getRangeStartEndInfo','Module','PivotTableChangeTypeEnum','format','PivotMultipleValueId','updatePivotTableRangeInfo','error','ObjectMatrix','BLANK_ROW_COUNT','subUnitId','transFromCellValue','sheet.command.reset-pivot-fields-config','getStyles','#e6ebfa','SetWorksheetColWidthMutation','addCollectionByJSON','map','excelDateToUnixMilliseconds','getDataFieldByTableId','@univerjs/engine-formula','getCollection','PivotView','getUnitId','Total','BLANK_PLACEHOLDER','min','rxjs','versions','Panel','cornerInfo','interceptCommand','CellValueType','Year','NO_COMMERCIAL','_getAutoName','sheets-pivot.dateGroup.yearMonth','colCount','updateFieldSourceInfo','Subtotal','getAutoDisplayName','createValueField','fromJSON','addPivotField','triggerDirtyFeature','isDateGroupFieldJSON','getPivotCellInfo','SetFilterInfo','_createExclusiveRange','filterFields','defineProperty','updateConfig','sheets-pivot.maxName','needSameDeleteModel','getDataFieldByRangeKey','renameField','sourceName','range','getPivotItemRenderInfoCache','refreshGroupField','document','getDate','sheet.command.set-pivot-field-setting','colHeaderMap','set','getDataFieldItemInfo','SetPivotFilterMutation','_markDirty$','MIN_SAFE_INTEGER','resetPivotTable','registerCallbackWithEvent','sheet.command.add-pivot-field','cellToRange','sheet.operation.pivot-table-view-formula-mark-dirty','_viewData$','_globalComputingSrv','ManualFilter','sheet.command.add-pivot-table','_getPivotAppliedRanges','_host','_pivotRenderInfoCache','symbol','grandTotal','getSheetCommandTarget','PivotCellStyleTypeEnum','pushUndoRedo','getCurrentUnitForType','setValueFilterInfo','Values','_generateUniqueVersion','getFilterInfo','colInfo','SheetsPivotTableAdaptorModel','getMatrixFromRunTimeData','pageStyle','data','shouldClear','sheets-pivot.varpName','subtotal','PivotTableValuePositionEnum','getSubUnitPivotMatrix','YearMonth','PivotDataFieldDataTypeEnum','pivotMutationGenerate','handleSourceRangeChange','SetPivotValueFilterCommand','includes','getValueFilterInfos','_sheetInterceptorService','sheets-pivot.cellDateGroupDisplay.quarter','sheet.command.set-pivot-sort','replace','SetFieldFormat','getSheets','IActiveDirtyManagerService','Min\x20of\x20','SetPivotSetting','forValue','sheet.command.set-pivot-collapse','updateAllDisplayName','getInterceptPoints','IExclusiveRangeService','concat','218162zqUBnR','sheet.mutation.add-pivot-table','updateRenderCache','dataStyle','setSourceName','collectionChange$','StdDev\x20of\x20','_textInfo','Add','count','YearQuarter','getCellMatrix','sheet.mutation.remove-pivot-field','setPivotTableConfig','createAsyncInterceptorKey','removePivotTable','sequenceExecute','getNoUsedDataFieldIds','UpdateValuePosition','Range','SetPivotFieldsConfigCommand','getOwnPropertyDescriptor','SHEET_PIVOT_TABLE_PLUGIN','sheet.command.set-pivot-filter','add','deepClone','@univerjs-pro/license','panel','getSheetBySheetId','_ensurePivotMap','sourceRangeInfo','exports','5505093zEuLFG','serializeRangeWithSpreadsheet','dataRangeInfo','rangeType','lastRow','ICommandService','sheets-pivot.countName','type','SetPivotSubtotalTypeMutation','merge','average','columnFields','FieldsCollection','sheet.mutation.set-pivot-position','onCommandExecuted','collectionConfig','PivotTableFiledAreaEnum','getOriginFieldId','5SATGaJ','redos','_initUnitDisposed','unitId','_dataFieldManagerCollection','isBaseGroupField','getTableFieldById','executeCommand','date','dimension','endCollectChangeset','sheet.mutation.set-pivot-format','getViewData','RemovePivotFieldMutation','getLastRow','SetPivotSort','UniverSheetsFilter','_initRemoveSheetCommandInterceptor','sheet.command.update-date-group','getCellRaw','getLastCol','STRING','rowCount','Varp\x20of\x20','options','values','StdDevp\x20of\x20','headerMap','addRecord','_viewData','generateMutationsByRanges','_featureCalculationManagerService','getName','_resourceManagerService','sheet.mutation.remove-pivot-table','DEFAULT_WORKSHEET_COLUMN_COUNT','_globalSubject','SetPivotSortCommand','sheet.mutation.set-pivot-sort-info','setLabelFilterInfo','pushComputingStatusSubject','NotName','_initPivotDataGetListener','tableFieldId','getDataFieldManager','_exclusiveRangeService','createCollectionWithDataRange','sheet.mutation.set-pivot-option','setFieldFormat','YearMonthDate','getDataFieldId','prototype','notExecuteFormula','setTextInfo','isBottomTotal','None','valueIndex','isValue','entries','_queryingMap','measure','Grand\x20Total','rowInfo','_viewUpdate$','addPivotTableWithConfig','DEFAULT_WORKSHEET_ROW_COUNT','getPivotTableInstance','_ensureViewDataMap','row','PivotDataFieldTypeEnum','update','Filter','sheets-pivot.grandTotal','3077132PQlvkw','_activeDirtyManagerService','sheet.mutation.send-pivot-view-local','setSortInfo','InsertSheetMutation','getInsertRowColMutations','next','DisposableCollection','dataFieldManagerConfig','_pivotTableMatrixInfo','getPivotTableMatrixInfo','getGroupFieldsInfoByIds','_configService','parseInt','getSubtotal','Product\x20of\x20','getAutoFitColumnsMutations','getPivotDisplayConfig','setPivotCollapse','_localeService','SheetsPivotDataSourceModel','deleteDataField','sheets-pivot.columnName','getFullYear','sheets-pivot.dateGroup.year','_dataSyncPrimaryController','sheets-pivot.dateGroup.yearMonthDate','getformat','_sheetsSelectionsService','oldMatrix','getPivotTableIdByCell','getSubUnitPivotRenderCache','forEach','sheets-pivot.cellDateGroupDisplay.year','UniverCore','gzhmqn7h\x20P1mjW0qn7h(fnm1h51,\x200zSfnm21W)\x20{\x20\x20\x20\x20qjW\x20{\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20fnm1h51Chg76LjqTjjLW\x20=\x20fnm1h51.50fnq(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x207jnMnhr155LM1\x20=\x20kEeb.0Lj51(Lq7S(fnm1h51Chg76LjqTjjLW[4]));\x20\x20\x20\x20\x20\x20\x20\x20ng\x20(!7jnMnhr155LM1.zP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207jnMnhr155LM1.zP\x20=\x20bzXS1j(fnm1h51Chg76LjqTjjLW[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20n5V7jK1j\x20=\x20qW017g\x20V7jK1jtf7SLfEm701\x20!==\x20\x27zhP1gnh1P\x27\x20&&\x2051fg\x20nh5qLhm17g\x20V7jK1jtf7SLfEm701;\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20m7hq1Bq\x20=\x20n5V7jK1j\x20?\x2051fg\x20:\x20FnhP7F;\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20X155LM1V7jP\x20=\x20m7hq1Bq.__DL51QY__.0Lj51(fnm1h51Chg76LjqTjjLW[4]);\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20X155LM1\x20=\x20m7hq1Bq.__w1B__.5qjnhMngW(X155LM1V7jP);\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x205nMhLqzj1V7jP\x20=\x20m7hq1Bq.__DL51QY__.0Lj51(fnm1h51Chg76LjqTjjLW[3]);\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x205nMhLqzj1\x20=\x20m7hq1Bq.__w1B__.5qjnhMngW(5nMhLqzj1V7jP);\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x205nMhOLfnP\x20=\x20m7hq1Bq.__H1jngW__(5nMhLqzj1,\x20X155LM1,\x200zSfnm21W);\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20P7XLnh\x20=\x207jnMnhr155LM1.PX;\x20\x20\x20\x20\x20\x20\x20\x20gzhmqn7h\x20n5x7XLnhrLqmunhM(76Lqq1jh,\x207w75q)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x200Lqq1jh\x20=\x2076Lqq1jh.j10fLm1(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20u75q\x20=\x207w75q.j10fLm1(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x200Lqq1jh6Ljq5\x20=\x200Lqq1jh.50fnq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20u75q6Ljq5\x20=\x20u75q.50fnq(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng\x20(!0Lqq1jh.nhmfzP15(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20j1qzjh\x200Lqq1jh\x20===\x20u75q;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ng\x20(0Lqq1jh6Ljq5.f1hMqu\x20<\x204\x20||\x200Lqq1jh6Ljq5[G]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20j1qzjh\x20gLf51;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x200Lqq1jhEzggnB\x20=\x200Lqq1jh6Ljq5.5fnm1(A).y7nh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20u75qEzggnB\x20=\x20u75q6Ljq5.5fnm1(-0Lqq1jh6Ljq5.f1hMqu\x20+\x20A).y7nh(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20j1qzjh\x200Lqq1jhEzggnB\x20===\x20u75qEzggnB;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20f1q\x20P7XLnhOLfnP\x20=\x20(P7XLnh\x20&&\x20P7XLnh.f1hMqu)\x20?\x20P7XLnh.57X1((PXCq1X)\x20=>\x20n5x7XLnhrLqmunhM(PXCq1X,\x20f7mLqn7h.u75qhLX1))\x20:\x20qjz1;\x20\x20\x20\x20\x20\x20\x20\x20ng\x20(f7mLqn7h.u75qhLX1\x20===\x20\x27f7mLfu75q\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P7XLnhOLfnP\x20=\x20qjz1;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20m7h5q\x20HLfnP\x20=\x205nMhOLfnP\x20&&\x20P7XLnhOLfnP;\x20\x20\x20\x20\x20\x20\x20\x20j1qzjh\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HLfnP,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X155LM1:\x207jnMnhr155LM1,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20mLqmu\x20(1jj7j)\x20{\x20\x20\x20\x20\x20\x20\x20\x20j1qzjh\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HLfnP:\x20gLf51,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20X155LM1:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','single','get','addField','delete','token','textInfo','initDataRanges','forRow','clearRenderCache','getDisplayName','_initSnapshot','_subjectCollectionChange','_refRangeService','sheets-pivot.dateGroup.yearQuarter','SheetsPivotRPCService','dataFieldsCollection','dataStream','_initPivotTextInfo','RemoveSheetsFilterMutation','@univerjs-pro/engine-pivot','New','UniverEngineRender','Value','MovePivotField','sheet.mutation.send-pivot-data-local','_refRangeHandle','col','isEmpty','RemoveRowMutation','SetValuePivotFilter','getUpdateRangeDeleteIds','AddField','sheet.command.remove-pivot-field','getPivotTableRangeInfo','isColMultiMeasure','_pivotConfigChange$','isText','getEmptyPivotRanges','Var\x20of\x20','registerRefRange','UniverEngineFormula','resetArea','CELL_CONTENT','sheetName','disposableCollection','getSheetId','leftOffset','sheets-pivot.dateGroup.hour','InsertColMutation','from','sideEffectUpdateWorkerCache','#1d32e9','MoveRangeCommand','Row','iterateField','fields','_deleteModelCache','getRangeKeyList','setCollapse','random','onQueryEnd','NotFunction','updatePivotSource','Expand','sheets.tabs.sheet','SetWorksheetActiveOperation','5231538YALREU','PivotSubtotalTypeEnum','SheetsPivotTableConfigModel','unshiftString','_initRegisterCommand','_ensurePivotTableRangeInfo','sheets-pivot.dateGroup.month','setPivotInitCompleted','SetPivotCollapseMutation','Injector','refreshDataField','viewData$','DrillDown','getRefRangeMutationsByMoveRange','_sheetsPivotTableAdaptorModel','SheetsSelectionsService','pivotTableIndexConfig','fetchThroughAsyncInterceptors','column','LS_CONFIG_KEY','getValueIndex','Column\x20','updateConfigCache','Set','parse','some','rowRanges','Subject','setPivotSort','InsertRowMutation','sheet.mutation.pivot-update-value-position','fieldIds','length','SheetsPivotTableService','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','PivotErrorTypeEnum','UNIVER_SHEET','152aIWJFH','getAutoDisplayNameFunction','pivotConfigChange$','unshift','_sheetsPivotTableService','sheets-pivot.cellDateGroupDisplay.hour','setRangeValueUndoMutation','getFormatInfo','pluginName','Div0','getConfig','setRange','_configVersion$','valueFields','deleteField','removeDataField','isFeatureAuthorizedWithinTime','countNums','sheets-pivot.dateGroup.date','_initViewModelBySheetInterceptor','removeCollectionImp','call','setValue','rgb(255,255,255)','getFieldIds','addExclusiveRange','addPivotTable','hasOwnProperty','@univerjs/sheets-filter','RemoveSheetMutation','MovePivotFieldCommand','level','workbook\x20is\x20not\x20found','_commandService','new','updateRangeKeyMap','BehaviorSubject','sheets-pivot.blank','setConfig','UpdatePivotFieldSettingCommand','sortInfo','sheets-pivot.cellDateGroupDisplay.month','string','isPrefixValue','valueFilter','PivotCallbackEnum','_pivotTableInstanceCache','AddPivotTableMutation','registerSyncingMutations','NotNumber','info','sheets-pivot.dateGroup.monthDate','getValue','_updatePivotTableInstanceCache','getFieldPositionInfoById','sheets-pivot.value','1623080saKJyb','_initClearSelectionCommandInterceptor','getUnit','SetSheetsFilterRangeMutation','RemovePivotField','#FFFFFF','generateHexNumber','PivotDateGroupFieldDateTypeEnum','Style','ResetPivotFieldsConfigCommand','setRangeValueRedoMutation','return\x20','SetPivotOptionMutation','_updateRenderEmptyCache','InterceptorEffectEnum','displayName','_sheetsPivotTableConfigModel','RemovePivotTableMutation','SHEET_PIVOT_IN_MAIN_THREAD','setPivotTable','setDataRecordCount','drillDown','SetPivotCollapse','getMatrix','addDataFieldWithoutUnitInfo','removePivotField','_univerInstanceService','version','startCollectChangeset','result','clearExclusiveRangesByGroupId','slice','sheet.mutation.update-date-group','rowHeaderMap','UniverProEnginePivot','splice','UniverInstanceType','Average\x20of\x20','disposeWithMe','CommandType','AddPivotTable','_requestResolvers','message','hasField','isDateValue','Quarter','varp','updatePivotTableMatrixInfo','dataFieldId','fetchThroughInterceptors','updateView','InsertSheetCommand','sheet.mutation.set-pivot-value-filter','setPivotFilter','setDirty','_model','split','LocaleService','sheet.command.add-pivot-table-with-config','has','keys','cornerStyle','rangeCache','generateSetRangeValueMutations','batch','contains','createInterceptorKey','registerPluginResource','SetOptions','getSourceName','reset','reduce','rangeKeyMap','getTextSize','SetSortInfo','Existing','UpdatePivotSource','2262426WqMyxE','oldRangeInfo','NORMAL','cellValue','refreshData','updateFieldPosition','sheet.mutation.remove-group-collection','originalFieldId','_sheetsPivotDataSourceModel','generateNewSheetName','_fieldsCollectionChange$','UpdatePivotTableSourceRangeCommand','getSheetBySheetName','sheet.mutation.add-group-collection','fontRenderExtension','_sheetsPivotRpcService','MUTATION','getTargetByPivotId','_init','intersects','formJSON','UniverLicensePlugin','MAX_SAFE_INTEGER','addDirtyPivotTable','sheets-pivot.config','PivotTable','setSubtotalType','110EdbgZk','originTargetInfo','DEFAULT_PIVOT_NUMBER','blank','getPivotTableInfo','Disposable','UniverProSheetsPivot','getHeaderMapItem','colStyle','isDateGroupField','getFieldById','getMonth','startColumn','markDirty','deleteUnitId','numfmt','_injector','Delete','DateGroupField','Inject','getRangeKey','RANGE_TYPE','GlobalComputingStatusService','_toJSON','ResetPivotTable','fieldsConfig','_pivotTableRangeInfo','sheets-pivot.cellDateGroupDisplay.yearMonth','paths','REF','getColumnWidth','_updateModelCache','getValuePosition','removeField','PivotDisplayDataType','NUM','SetPivotPositionMutation','subTotalStyle','query','max','ΣValue','sheets-pivot.dateGroup.minute','IUndoRedoService','mergeWorksheetSnapshotWithDefault','asObservable','getDataFieldByDataFieldId','toStringTag','getId','#e6ebfb','_initConfig','sheets-pivot.cellDateGroupDisplay.yearMonthDate','undos','getSubUnitPivotConfigs','_ensurePivotItemRenderInfoCache','tuple','getIntersects','_initCommandInterceptListener','RemoveSheetCommand','MonthDate','SetPivotCollapseCommand','pivotTableId','getPivotTableModelConfig','toJSON','Date','MoveRangeMutation','Month','sheets-pivot.cellDateGroupDisplay.yearQuarter','queryDirtyPivotTable','updateViewData','applyChangeSet','updateValuePosition','configVersion$','NUMBER','SheetInterceptorService','updateViewInfo','GrandTotal','ErrorType','getMatrixValue','IConfigService','_lifecycleService','dataFields','push','sheets-pivot.emptyPivot.column','startRow','pbt','dispose','COMMAND','size','SetSubtotalType','_pivotRenderValueMatrixCache','subscribe','getFieldCountByArea','Column','setDateType','sheets-pivot.stdDevName','PivotFilterTypeEnum','pivotInitCompleted$','getIntersectsPivotTable','removeCollections','getFieldFormat','setValuePivotFilter','numberToABC','limit\x20pivot','Collapse','IUniverInstanceService','targetCellInfo','RenamePivotFieldMutation','stringify','remove','_globalComputedStartHelpFunc','collections','iterateFieldByArea','stdDev','fieldsCollectionChange$','endRow','sheet.command.update-pivot-value-position','AddPivotFieldMutation','getFontStyleString','removeValueFilterInfo','sheets-pivot.productName','find','sheets-pivot.sumName','_initDataSendListener','AddPivotFieldCommand','amd','sheets-pivot.countNumsName','AddPivotTableWithConfig','IResourceManagerService','UniverSheetsPivotTablePlugin','getFieldListByArea','pivotTableConfigs','_config','getActiveSheet','getPivotDirtyViewInfo','setPivotSetting','getFieldDataType','custom','generateRandomId','getTypeOfUnitDisposed$','isDate','_collectionChange$','register','setRangeKeyMap','getColumnCount','CustomCommandExecutionError','SetPivotFilter','ClearSelectionContentCommand','width','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','Max\x20of\x20','_ensurePivotItemRenderValueMatrixCache','registerDirtyService','@univerjs/sheets','floor','params','UpdateFieldPosition','movePivotField','Rectangle','FontCache','filterInfo','name','getRangeData','collapseInfo','HourMinute','#eceeff','getPivotTableConfig','_pivotInitCompleted$','updateCollectionConfig','areaInfo','#b2b2b2','_onRefRangeChange','48mPjyYy','toString','Tools','bind','sheet.mutation.set-pivot-field-subtotal-type','rangeKey','_subjectFieldsCollectionChange','SetPivotFieldFormatMutation','broadcastCollectionChange','_collectionConfigModel','SetRangeValuesMutation','pageRanges','Optional','DataSyncPrimaryController','sheets-pivot.stdDevpName','object','prefix','sheet.command.move-pivot-table','ptn','sheet.mutation.send-init-pivot-text-local','handleMoveRange','adjustSheetCellData','endColumn','filter','NAME','Plugin','getTextInfo','interceptor','getPivotInfoByLicense','updateDirtyPivotTable','intercept','rangesInfo','Minute','realDeleteValue','sheet.mutation.update-pivot-table-source-range','asyncInterceptor','_initLocale','_ensurePivotTableMatrixInfo','addFieldWithSourceId','ReleaseType','Count\x20of\x20','addCollection','SHEETS_PIVOT_PLUGIN_CONFIG_KEY','foreach','UpdatePivotValuePositionCommand','SetPivotTableConfig','getRowCount','9574qRDvTQ','number','unionPivotViewRange','viewUpdate$','AddPivotTableWithConfigCommand','removeSourceRangeChange','#f4f4f5','uniqueDataFieldName','getColCount','getAdjustRangesPosition','sheets-pivot.cellDateGroupDisplay.minute'];_0x180f=function(){return _0x53b7c7;};return _0x180f();}
|
|
1
|
+
(function(_0x3f201d,_0x4785e7){const _0x31d9ad=_0x2082,_0x49437f=_0x3f201d();while(!![]){try{const _0xefe156=parseInt(_0x31d9ad(0x2ed))/0x1+-parseInt(_0x31d9ad(0x34e))/0x2+-parseInt(_0x31d9ad(0x141))/0x3+parseInt(_0x31d9ad(0x1b6))/0x4+-parseInt(_0x31d9ad(0x28b))/0x5*(-parseInt(_0x31d9ad(0x3ac))/0x6)+parseInt(_0x31d9ad(0x16f))/0x7+-parseInt(_0x31d9ad(0x3bf))/0x8;if(_0xefe156===_0x4785e7)break;else _0x49437f['push'](_0x49437f['shift']());}catch(_0x1eb767){_0x49437f['push'](_0x49437f['shift']());}}}(_0x1d77,0xcc564),function(_0xe781c,_0x47c382){const _0x550018=_0x2082;typeof exports==_0x550018(0x28c)&&typeof module<'u'?_0x47c382(exports,require('@univerjs-pro/engine-pivot'),require('@univerjs/core'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/sheets-filter'),require('@univerjs/rpc'),require('@univerjs/engine-render')):typeof define==_0x550018(0x3d1)&&define[_0x550018(0x353)]?define([_0x550018(0x1a2),_0x550018(0x281),_0x550018(0x3bc),_0x550018(0x2cc),_0x550018(0x3ef),_0x550018(0x1e6),_0x550018(0x2a5),'@univerjs/sheets-filter',_0x550018(0x16a),_0x550018(0x1a0)],_0x47c382):(_0xe781c=typeof globalThis<'u'?globalThis:_0xe781c||self,_0x47c382(_0xe781c['UniverProSheetsPivot']={},_0xe781c[_0x550018(0x3cc)],_0xe781c[_0x550018(0x11b)],_0xe781c[_0x550018(0x36c)],_0xe781c[_0x550018(0x228)],_0xe781c['rxjs'],_0xe781c[_0x550018(0x2cd)],_0xe781c[_0x550018(0x1c1)],_0xe781c['UniverRpc'],_0xe781c[_0x550018(0x10b)]));}(this,function(_0x1f106f,_0x4c0fcb,_0x17cbc5,_0x488431,_0x57279f,_0x2fd59f,_0x5e3b4f,_0x2ae904,_0x231bbd,_0x386a90){'use strict';const _0x34d75b=_0x2082;var _0x3cd753=Object[_0x34d75b(0x29c)],_0x2f2780=(_0x5202b0,_0x32f366,_0x21b1ef)=>_0x32f366 in _0x5202b0?_0x3cd753(_0x5202b0,_0x32f366,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21b1ef}):_0x5202b0[_0x32f366]=_0x21b1ef,_0x1658bd=(_0x17511e,_0x522f29,_0x8eaedc)=>_0x2f2780(_0x17511e,typeof _0x522f29!=_0x34d75b(0x19f)?_0x522f29+'':_0x522f29,_0x8eaedc);const _0x2d3eae=Number[_0x34d75b(0x400)](0x68d57ee3),_0x41b574=0x10,_0x558300=0x1,_0x3f2959=_0x34d75b(0x318),_0x3c0c8a=0x1,_0x10058e=_0x34d75b(0x2ef),_0x42ecb1=_0x34d75b(0x263),_0x41ae5f=_0x34d75b(0x227),_0x524100=_0x34d75b(0x2f4),_0x2ebdda=_0x34d75b(0x2f4),_0x51f1a7=_0x34d75b(0x230),_0x1d7f50=_0x34d75b(0x42b),_0x2cb965='#FFFFFF',_0x9681b4=_0x34d75b(0x1eb),_0x960fd6=_0x34d75b(0x42b),_0x488142=_0x34d75b(0x10f),_0x4e3acb=_0x34d75b(0x2bc),_0x1733b8=0xe,_0x5b1e60=0x6;var _0x47f0e2=(_0x2bc7ec=>(_0x2bc7ec[_0x34d75b(0x1de)]=_0x34d75b(0x11c),_0x2bc7ec[_0x34d75b(0x3de)]='new',_0x2bc7ec))(_0x47f0e2||{});const _0x439b8d={'sheets-pivot':{'blankValue':'','otherValue':'','columnName':'','subTotalText':'','grandTotalText':'','valueText':'','averageName':'','countName':'','countNumsName':'','maxName':'','minName':'','productName':'','stdDevName':'','stdDevpName':'','sumName':'','varName':'','varpName':'','value':'','blank':'','other':'','subTotal':'','grandTotal':'','emptyPivot':{'filter':'','row':'','column':'','values':''},'dateGroup':{'year':'','month':'','day':'','hour':'','minute':'','quarter':'','monthDate':'','yearQuarter':'','yearMonth':'','yearMonthDate':''},'cellDateGroupDisplay':{'minute':'','hour':'','hourMinute':'','date':'','month':'','monthDate':'','quarter':'','year':'','yearMonth':'','yearMonthDate':'','yearQuarter':''}}},_0x1a7670=0x1e,_0x509dcd={'b':{'s':0x1,'cl':{'rgb':_0x41ae5f}},'l':{'s':0x1,'cl':{'rgb':_0x41ae5f}},'r':{'s':0x1,'cl':{'rgb':_0x41ae5f}},'t':{'s':0x1,'cl':{'rgb':_0x41ae5f}}},_0x21984c={'bg':{'rgb':_0x10058e},'ht':0x2,'vt':0x2,'tb':0x1},_0x15420a={'bg':{'rgb':_0x42ecb1},'ht':0x2,'vt':0x2,'tb':0x1},_0x44466e={'rowStyle':{'bg':{'rgb':_0x4e3acb},'bd':_0x509dcd,'bl':0x1,'vt':0x2},'colStyle':{'bg':{'rgb':_0x960fd6},'bd':null,'cl':{'rgb':_0x488142},'bl':0x1,'vt':0x2},'subTotalStyle':{'bd':_0x509dcd,'bg':{'rgb':_0x9681b4},'vt':0x2},'cornerStyle':{'bd':_0x509dcd,'bg':{'rgb':_0x51f1a7},'bl':0x1,'vt':0x2},'pageStyle':{'bd':_0x509dcd,'bg':{'rgb':_0x524100},'vt':0x2},'leafStyle':{'bd':_0x509dcd,'bg':{'rgb':_0x2ebdda},'vt':0x2},'grandTotal':{'bd':null,'bg':{'rgb':_0x1d7f50},'cl':{'rgb':_0x2cb965},'bl':0x1,'vt':0x2},'dataStyle':{'bd':_0x509dcd,'vt':0x2}};function _0xb084c8(_0x574c4,_0x4eb043,_0x5cca20){const _0x5b5e82=_0x34d75b,_0x3d8c13=_0x574c4[_0x5b5e82(0x42f)](_0x17cbc5[_0x5b5e82(0x3fd)]),_0x2db3b6=_0x5cca20['split']('_');switch(_0x4eb043){case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x1c0)]:return _0x3d8c13['t']('sheets-pivot.cellDateGroupDisplay.year',..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x40c)]:return _0x3d8c13['t'](_0x5b5e82(0x33b),..._0x2db3b6);case _0x4c0fcb['PivotDateGroupFieldDateTypeEnum']['Hour']:return _0x3d8c13['t'](_0x5b5e82(0x177),..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x1f4)]:return _0x3d8c13['t'](_0x5b5e82(0x35b),..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x34f)]:return _0x3d8c13['t'](_0x5b5e82(0x351),..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x2a7)]:return _0x3d8c13['t']('sheets-pivot.cellDateGroupDisplay.month',..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x17f)]:return _0x3d8c13['t']('sheets-pivot.cellDateGroupDisplay.quarter',..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x282)]:return _0x3d8c13['t']('sheets-pivot.cellDateGroupDisplay.yearMonth',..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x42d)]:return _0x3d8c13['t'](_0x5b5e82(0x3a8),..._0x2db3b6);case _0x4c0fcb[_0x5b5e82(0x20f)][_0x5b5e82(0x386)]:return _0x3d8c13['t'](_0x5b5e82(0x3d3),..._0x2db3b6);}return'';}const _0x53d610=(_0x430e3f,_0x69cbdf,_0x38466f,_0x47c7bf)=>{const _0x314f1c=_0x34d75b;let _0x2d9a4b;const _0x3ea023=_0x430e3f[_0x314f1c(0x42f)](_0x17cbc5[_0x314f1c(0x204)])[_0x314f1c(0x1b8)](_0x17cbc5[_0x314f1c(0x1f1)][_0x314f1c(0x1d2)]);if(!_0x3ea023)return null;const _0x1a414b=_0x3ea023[_0x314f1c(0x3a4)]();let _0xb13b6a;if(_0x38466f&&(_0xb13b6a=_0x1a414b[_0x314f1c(0x370)](_0x38466f)),_0x69cbdf!=null&&_0x69cbdf['v']||(_0x69cbdf==null?void 0x0:_0x69cbdf['v'])===0x0){_0x2d9a4b||(_0x2d9a4b={});const _0x2013fb=_0x49a664(_0x69cbdf['v']);typeof _0x2013fb=='number'?_0x2d9a4b['t']=_0x17cbc5[_0x314f1c(0x384)]['NUMBER']:typeof _0x2013fb==_0x314f1c(0x1ac)&&(_0x2d9a4b['t']=_0x17cbc5['CellValueType'][_0x314f1c(0x3a0)]),_0x2d9a4b['v']=_0x2013fb;}if((_0x69cbdf!=null&&_0x69cbdf['i']||(_0x69cbdf==null?void 0x0:_0x69cbdf['i'])===0x0)&&(_0x2d9a4b||(_0x2d9a4b={}),_0x2d9a4b['fi']=_0x69cbdf['i']),_0x69cbdf!=null&&_0x69cbdf['s']&&(_0x2d9a4b||(_0x2d9a4b={}),_0x2d9a4b['pbt']=_0x69cbdf['s']),_0x38466f&&(_0x2d9a4b||(_0x2d9a4b={}),_0x2d9a4b['s']=_0xb13b6a),_0x47c7bf&&_0x2d9a4b!=null&&_0x2d9a4b['v']&&_0x2d9a4b[_0x314f1c(0x120)]!==_0x4c0fcb[_0x314f1c(0x2f5)][_0x314f1c(0x21a)]&&_0x2d9a4b[_0x314f1c(0x120)]!==_0x4c0fcb['PivotCellStyleTypeEnum']['Subtotal']){const _0x5bc81f=String(_0x2d9a4b['v']),{dateType:_0x1b2267}=_0x47c7bf;_0x2d9a4b['v']=_0xb084c8(_0x430e3f,_0x1b2267,_0x5bc81f),_0x2d9a4b['t']=_0x17cbc5['CellValueType'][_0x314f1c(0x3a0)];}return _0x2d9a4b;},_0x196470=(_0xc25f07,_0x16fb1e,_0x4fffe0,_0x55a2e4)=>{const _0x168d4e=_0x34d75b;var _0x582330,_0x8c0e40,_0x494034,_0x49c640,_0x361b62,_0x582aee,_0x185e48,_0x4eafea,_0x363d62,_0x1cb112,_0x49c259,_0x12e6ba,_0x3449c7,_0x1922cc;const _0x10ca8b=_0x4fffe0[_0x168d4e(0x183)],{cornerView:_0x419f1a,rowView:_0x55ffd2,colView:_0x30d1ed,dataView:_0xcd5569,pageView:_0x5a79c0,formatMap:_0x341e87,groupInfo:_0x529e94}=_0x16fb1e,{row:_0x33f3ee,col:_0x3e064a}=_0x10ca8b,_0xaa8057=new _0x17cbc5[(_0x168d4e(0x1c4))](),_0x33ed15={},_0x42df11={},_0x165cc3={},_0x249c26={},_0x4205a9={};let _0x39a8b7=_0x33f3ee,_0x470528=_0x3e064a;Object[_0x168d4e(0x2ec)](_0x5a79c0[_0x168d4e(0x27c)])[_0x168d4e(0x3f0)](_0x4f9f60=>{const _0x2e1095=_0x168d4e;Object[_0x2e1095(0x2ec)](_0x5a79c0[_0x2e1095(0x27c)][Number(_0x4f9f60)])['forEach'](_0x2d6edc=>{const _0x260d67=_0x2e1095,_0x3b902f={..._0x5a79c0[_0x260d67(0x27c)][Number(_0x4f9f60)][Number(_0x2d6edc)]};_0xaa8057[_0x260d67(0x370)](Number(_0x4f9f60)+_0x39a8b7,Number(_0x2d6edc)+_0x470528,_0x53d610(_0xc25f07,_0x3b902f,_0x44466e[_0x260d67(0x118)]));});});const _0x446eaa=Object[_0x168d4e(0x2ec)](_0x5a79c0[_0x168d4e(0x27c)])[_0x168d4e(0x233)];_0x39a8b7+=_0x446eaa+(_0x446eaa?_0x3c0c8a:0x0);const _0x18d131=_0x419f1a[_0x168d4e(0x3d7)](),_0x15e48c=_0x419f1a[_0x168d4e(0x22e)]();for(let _0x403488=0x0;_0x403488<_0x18d131;_0x403488++)for(let _0xebaef6=0x0;_0xebaef6<_0x15e48c;_0xebaef6++){const _0x3c623f={...(_0x8c0e40=(_0x582330=_0x419f1a[_0x168d4e(0x27c)])==null?void 0x0:_0x582330[_0x403488])==null?void 0x0:_0x8c0e40[_0xebaef6]};_0x3c623f&&((_0x494034=_0x55ffd2[_0x168d4e(0x2b6)][_0xebaef6])!=null&&_0x494034[_0x168d4e(0x23f)])&&_0xebaef6===_0x15e48c-0x1&&_0x403488===_0x18d131-0x1&&(_0x3c623f['v']=''+_0x55a2e4[_0x168d4e(0x1ea)]),_0xaa8057['setValue'](_0x403488+_0x39a8b7,_0xebaef6+_0x470528,_0x53d610(_0xc25f07,_0x3c623f,_0x44466e[_0x168d4e(0x39b)]));}for(let _0xd4d33b=0x0;_0xd4d33b<_0x419f1a[_0x168d4e(0x11e)][_0x168d4e(0x233)];_0xd4d33b++)_0x419f1a[_0x168d4e(0x11e)][_0xd4d33b]&&(_0x165cc3[''+(_0xd4d33b+_0x470528)]=_0x419f1a[_0x168d4e(0x11e)][_0xd4d33b]);_0x470528+=_0x15e48c;const _0x5e0350=_0x30d1ed[_0x168d4e(0x2b6)],_0x1c117c=_0x30d1ed[_0x168d4e(0x15a)]()>=0x0?_0x30d1ed[_0x168d4e(0x15a)]()+0x1:0x0,_0x19a7bb=_0x30d1ed[_0x168d4e(0x1a1)]()>=0x0?_0x30d1ed['getLastCol']()+0x1:0x0;for(let _0x90b3bd=0x0;_0x90b3bd<_0x19a7bb;_0x90b3bd++){for(let _0x1b15a6=0x0;_0x1b15a6<_0x1c117c;_0x1b15a6++){const _0x840f49={...(_0x361b62=(_0x49c640=_0x30d1ed[_0x168d4e(0x27c)])==null?void 0x0:_0x49c640[_0x1b15a6])==null?void 0x0:_0x361b62[_0x90b3bd]},_0x206e7f=(_0x582aee=_0x5e0350[_0x1b15a6])==null?void 0x0:_0x582aee[_0x168d4e(0x107)],_0x43d36f=_0x341e87[_0x206e7f],_0x14f857=_0x529e94[_0x206e7f];_0x840f49&&(_0x840f49['v']=_0x54dc09(_0x840f49,_0x1b15a6===0x0&&((_0x185e48=_0x30d1ed[_0x168d4e(0x27b)](_0x90b3bd+0x1))==null?void 0x0:_0x185e48[_0x168d4e(0x23f)]),_0x43d36f,_0x55a2e4));let _0x10243f;_0x43d36f?_0x10243f={..._0x44466e[_0x168d4e(0x23d)],'n':{'pattern':_0x43d36f}}:_0x10243f={..._0x44466e['colStyle']},_0xaa8057[_0x168d4e(0x370)](_0x1b15a6+_0x39a8b7,_0x90b3bd+_0x470528,_0x53d610(_0xc25f07,_0x840f49,_0x10243f,_0x14f857));}_0x30d1ed[_0x168d4e(0x11e)][_0x90b3bd]&&(_0x42df11[''+(_0x90b3bd+_0x470528)]=_0x30d1ed[_0x168d4e(0x11e)][_0x90b3bd]),_0x30d1ed[_0x168d4e(0x2b6)][_0x90b3bd+0x1]&&(_0x4205a9[''+(_0x90b3bd+_0x39a8b7+0x1)]=_0x30d1ed[_0x168d4e(0x2b6)][_0x90b3bd+0x1]);}_0x39a8b7+=_0x18d131;const _0x6a3cec=_0x55ffd2['headerMap'],_0xb85f8=_0x55ffd2[_0x168d4e(0x15a)]()>=0x0?_0x55ffd2[_0x168d4e(0x15a)]()+0x1:0x0,_0x1508cd=_0x55ffd2[_0x168d4e(0x1a1)]()>=0x0?_0x55ffd2[_0x168d4e(0x1a1)]()+0x1:0x0;for(let _0x35920d=0x0;_0x35920d<_0xb85f8;_0x35920d++){for(let _0x32d720=0x0;_0x32d720<_0x1508cd;_0x32d720++){const _0x27b5e2={...(_0x363d62=(_0x4eafea=_0x55ffd2['data'])==null?void 0x0:_0x4eafea[_0x35920d])==null?void 0x0:_0x363d62[_0x32d720]},_0x27bb21=(_0x1cb112=_0x6a3cec[_0x32d720])==null?void 0x0:_0x1cb112['tableFieldId'],_0x30bc2a=_0x341e87[_0x27bb21],_0x5517d6=_0x529e94[_0x27bb21];_0x27b5e2&&(_0x27b5e2['v']=_0x54dc09(_0x27b5e2,!0x1,_0x30bc2a,_0x55a2e4));let _0x1f1fd5;_0x55ffd2[_0x168d4e(0x11e)][_0x35920d][_0x168d4e(0x292)]===_0x55ffd2[_0x168d4e(0x22e)]()?_0x1f1fd5=_0x44466e[_0x168d4e(0x17c)]:_0x55ffd2[_0x168d4e(0x11e)][_0x35920d][_0x168d4e(0x1ce)]?_0x1f1fd5=_0x55ffd2[_0x168d4e(0x11e)][_0x35920d][_0x168d4e(0x292)]===0x0?_0x44466e[_0x168d4e(0x29f)]:_0x44466e['subTotalStyle']:_0x1f1fd5=_0x44466e[_0x168d4e(0x22f)],_0x30bc2a&&(_0x1f1fd5={..._0x1f1fd5,'n':{'pattern':_0x30bc2a}}),_0xaa8057[_0x168d4e(0x370)](_0x35920d+_0x39a8b7,_0x32d720+_0x3e064a,_0x53d610(_0xc25f07,_0x27b5e2,_0x1f1fd5,_0x5517d6));}_0x55ffd2[_0x168d4e(0x11e)][_0x35920d]&&(_0x33ed15[''+(_0x35920d+_0x39a8b7)]=_0x55ffd2[_0x168d4e(0x11e)][_0x35920d]),_0x55ffd2['headerMap'][_0x35920d]&&(_0x249c26[''+(_0x35920d+_0x3e064a)]=_0x55ffd2[_0x168d4e(0x2b6)][_0x35920d]);}const _0xb25899=_0xcd5569[_0x168d4e(0x3d7)](),_0x1df249=_0xcd5569[_0x168d4e(0x22e)]();for(let _0x39f220=0x0;_0x39f220<_0xb25899;_0x39f220++)for(let _0x3a3363=0x0;_0x3a3363<_0x1df249;_0x3a3363++){const _0x15935a={...(_0x12e6ba=(_0x49c259=_0xcd5569[_0x168d4e(0x27c)])==null?void 0x0:_0x49c259[_0x39f220])==null?void 0x0:_0x12e6ba[_0x3a3363]};let _0x24b580;_0x55ffd2['info'][_0x39f220]['isBottomTotal']?_0x24b580=_0x55ffd2[_0x168d4e(0x11e)][_0x39f220][_0x168d4e(0x292)]===0x0?_0x44466e[_0x168d4e(0x29f)]:_0x44466e['subTotalStyle']:_0x24b580=_0x44466e[_0x168d4e(0x316)];const _0x37a6b6=_0x55ffd2['info'][_0x39f220]['valueIndex'],_0x3b9b79=_0x30d1ed[_0x168d4e(0x11e)][_0x3a3363]['valueIndex'],_0x1da3ac=Math[_0x168d4e(0x388)](_0x37a6b6,_0x3b9b79),_0x5dfa58=_0x4fffe0[_0x168d4e(0x35f)]['valueFields'][_0x168d4e(0x180)]();let _0x3a41e0='';_0x1da3ac<0x0?_0x3a41e0=(_0x3449c7=_0x5dfa58[0x0])!=null?_0x3449c7:'':_0x3a41e0=(_0x1922cc=_0x5dfa58[_0x1da3ac])!=null?_0x1922cc:'';const _0x238046=_0x341e87[_0x3a41e0];_0x238046&&(_0x24b580={..._0x24b580,'n':{'pattern':_0x238046}}),_0xaa8057[_0x168d4e(0x370)](_0x39f220+_0x39a8b7,_0x3a3363+_0x470528,_0x53d610(_0xc25f07,_0x15935a,_0x24b580));}return{'valueMatrix':_0xaa8057,'rowInfo':_0x33ed15,'colInfo':_0x42df11,'cornerInfo':_0x165cc3,'rowHeaderMap':_0x249c26,'colHeaderMap':_0x4205a9};};function _0x54dc09(_0x22e015,_0x10a27d,_0x3d2754,_0x41fd3b){const _0x2cc1d6=_0x34d75b;let _0x345b05=_0x22e015['v'];_0x10a27d&&(_0x345b05=''+_0x41fd3b[_0x2cc1d6(0x1ea)]);const _0x5a7a4f=_0x22e015['t']&&(_0x22e015['t']&_0x4c0fcb[_0x2cc1d6(0x2e3)][_0x2cc1d6(0x18d)])>0x0;_0x5a7a4f&&(_0x345b05=''+_0x41fd3b[_0x2cc1d6(0x28f)]);const _0x56baa8=_0x22e015['t']&&(_0x22e015['t']&_0x4c0fcb[_0x2cc1d6(0x2e3)][_0x2cc1d6(0x315)])>0x0;if(_0x56baa8&&(_0x345b05=''+_0x41fd3b[_0x2cc1d6(0x37f)]),_0x22e015['s']===_0x4c0fcb['PivotCellStyleTypeEnum'][_0x2cc1d6(0x153)]){let _0x285670=_0x345b05,_0x132fe7='';_0x4c0fcb[_0x2cc1d6(0x135)](_0x345b05)&&(_0x285670=_0x345b05[_0x2cc1d6(0x349)],_0x132fe7=_0x345b05[_0x2cc1d6(0x394)]);const _0x1d2c11=_0x3d2754&&!_0x5a7a4f&&!_0x56baa8?_0x17cbc5['numfmt'][_0x2cc1d6(0x3d5)](_0x3d2754,Number(_0x285670)):_0x285670;_0x132fe7?_0x345b05=_0x1d2c11+'\x20'+_0x132fe7:_0x345b05=_0x1d2c11+'\x20'+_0x41fd3b[_0x2cc1d6(0x147)];}else _0x22e015['s']===_0x4c0fcb[_0x2cc1d6(0x2f5)]['GrandTotal']&&(_0x345b05=_0x345b05+'\x20'+_0x41fd3b[_0x2cc1d6(0x38a)]);return _0x345b05;}function _0x49a664(_0x319640){const _0x2a4c71=_0x34d75b;if(_0x4c0fcb['isErrorValue'](_0x319640)){const {errorType:_0x4a79f5}=_0x319640;switch(_0x4a79f5){case _0x4c0fcb[_0x2a4c71(0x149)][_0x2a4c71(0x2de)]:return _0x488431[_0x2a4c71(0x2df)][_0x2a4c71(0x2e9)];case _0x4c0fcb[_0x2a4c71(0x149)]['NotNumber']:return _0x488431[_0x2a4c71(0x2df)][_0x2a4c71(0x1e7)];case _0x4c0fcb[_0x2a4c71(0x149)][_0x2a4c71(0x372)]:return _0x488431[_0x2a4c71(0x2df)]['NAME'];case _0x4c0fcb['PivotErrorTypeEnum'][_0x2a4c71(0x37c)]:return _0x488431[_0x2a4c71(0x2df)][_0x2a4c71(0x17a)];case _0x4c0fcb[_0x2a4c71(0x149)][_0x2a4c71(0x159)]:return _0x488431[_0x2a4c71(0x2df)][_0x2a4c71(0x127)];}}return _0x319640;}function _0x3688b6(_0x37ae95,_0x384ce7,_0x1587d2=!0x1,_0x1db1d9=!0x1){const _0x4c9f88=_0x34d75b,{data:_0x3402c8}=_0x384ce7,_0x2fd3a7=_0x384ce7[_0x4c9f88(0x3d7)](),_0x1165d1=_0x384ce7[_0x4c9f88(0x22e)]();if(_0x2fd3a7<=0x0||_0x1165d1<=0x0)return[];const _0x52ede9=_0x384ce7[_0x4c9f88(0x1a1)](),_0x1cfcb4=_0x384ce7[_0x4c9f88(0x15a)](),_0x5488d3=_0x1db1d9?_0x1cfcb4>=0x0?_0x1cfcb4+0x1:0x0:_0x2fd3a7,_0x319ecf=_0x1db1d9?_0x52ede9>=0x0?_0x52ede9+0x1:0x0:_0x1165d1,{row:_0x250b52,col:_0x42a91c}=_0x37ae95,_0x29b3b8=_0x250b52,_0x1911da=_0x42a91c;if(_0x1587d2){const _0x194356=[];for(const [_0x94a5cb,_0x557d01]of Object[_0x4c9f88(0x201)](_0x3402c8))for(const [_0x5989f6,_0x1a86e1]of Object[_0x4c9f88(0x201)](_0x557d01))_0x194356[_0x4c9f88(0x30f)](_0x17cbc5[_0x4c9f88(0x1c9)](_0x29b3b8+Number(_0x94a5cb),_0x1911da+Number(_0x5989f6)));return _0x194356;}else{const _0x4adef4=_0x1db1d9?_0x5488d3>0x0?0x1:0x0:0x1,_0x460b29=_0x1db1d9?_0x319ecf>0x0?0x1:0x0:0x1,_0x435cbf=_0x250b52+_0x5488d3-_0x4adef4,_0x14af12=_0x42a91c+_0x319ecf-_0x460b29;return[{'startRow':_0x29b3b8,'startColumn':_0x1911da,'endRow':_0x435cbf,'endColumn':_0x14af12}];}}const _0x20ad14='SHEET_PIVOT_IN_MAIN_THREAD',_0x3f0aba=_0x34d75b(0x1ed);var _0x5559df=(_0x4a681b=>(_0x4a681b['Filter']='filter',_0x4a681b[_0x34d75b(0x139)]=_0x34d75b(0x1c6),_0x4a681b[_0x34d75b(0x156)]=_0x34d75b(0x3c8),_0x4a681b['AddPivotTableWithConfig']=_0x34d75b(0x168),_0x4a681b[_0x34d75b(0x3cd)]='addPivotTable',_0x4a681b[_0x34d75b(0x37e)]=_0x34d75b(0x430),_0x4a681b[_0x34d75b(0x427)]=_0x34d75b(0x20c),_0x4a681b[_0x34d75b(0x143)]=_0x34d75b(0x428),_0x4a681b[_0x34d75b(0x133)]='setPivotFilter',_0x4a681b[_0x34d75b(0x24a)]=_0x34d75b(0x2ea),_0x4a681b['SetPivotSetting']=_0x34d75b(0x311),_0x4a681b[_0x34d75b(0x137)]=_0x34d75b(0x40f),_0x4a681b['UpdateValuePosition']=_0x34d75b(0x232),_0x4a681b['DrillDown']=_0x34d75b(0x26b),_0x4a681b['SetValuePivotFilter']=_0x34d75b(0x3f7),_0x4a681b[_0x34d75b(0x163)]=_0x34d75b(0x2fa),_0x4a681b[_0x34d75b(0x208)]=_0x34d75b(0x10a),_0x4a681b))(_0x5559df||{});const _0xd6f9d8={'sheets-pivot.blankValue':_0x34d75b(0x249),'sheets-pivot.columnName':_0x34d75b(0x117),'sheets-pivot.subTotalText':_0x34d75b(0x1bc),'sheets-pivot.grandTotalText':_0x34d75b(0x3b5),'sheets-pivot.valueText':_0x34d75b(0x1d0),'sheets-pivot.averageName':_0x34d75b(0x1a9),'sheets-pivot.countName':_0x34d75b(0x407),'sheets-pivot.countNumsName':'Count\x20of\x20','sheets-pivot.maxName':_0x34d75b(0x15b),'sheets-pivot.minName':_0x34d75b(0x1da),'sheets-pivot.productName':'Product\x20of\x20','sheets-pivot.stdDevName':_0x34d75b(0x399),'sheets-pivot.stdDevpName':_0x34d75b(0x27f),'sheets-pivot.sumName':_0x34d75b(0x2bb),'sheets-pivot.varName':_0x34d75b(0x2af),'sheets-pivot.varpName':_0x34d75b(0x251),'sheets-pivot.subTotal':'Subtotal','sheets-pivot.grandTotal':_0x34d75b(0x3b5),'sheets-pivot.value':'value','sheets-pivot.blank':_0x34d75b(0x18d),'sheets-pivot.other':_0x34d75b(0x315),'sheets-pivot.emptyPivot.filter':'Filter','sheets-pivot.emptyPivot.row':_0x34d75b(0x34b),'sheets-pivot.emptyPivot.column':'Column','sheets-pivot.emptyPivot.values':_0x34d75b(0x219)},_0x277e75={'undos':[],'redos':[],'preUndos':[],'preRedos':[]},_0x18b11e=_0x17cbc5[_0x34d75b(0x12e)]('pivotPerformCheck'),_0x5e2ef6=_0x17cbc5['createInterceptorKey'](_0x34d75b(0x116));var _0x4de95a=(_0x2a0c7d=>(_0x2a0c7d[_0x34d75b(0x283)]='add',_0x2a0c7d[_0x34d75b(0x221)]=_0x34d75b(0x221),_0x2a0c7d[_0x34d75b(0x2d8)]='update',_0x2a0c7d))(_0x4de95a||{}),_0x635b2f=(_0x35b0a5=>(_0x35b0a5[_0x34d75b(0x256)]=_0x34d75b(0x283),_0x35b0a5[_0x34d75b(0x28e)]=_0x34d75b(0x314),_0x35b0a5['Delete']=_0x34d75b(0x221),_0x35b0a5))(_0x635b2f||{});const _0x373f83={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x2f8),'handler':()=>!0x0},_0x148b12={'type':_0x17cbc5['CommandType'][_0x34d75b(0x16c)],'id':_0x34d75b(0x1af),'handler':()=>!0x0},_0x1f2b5f={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x3ce),'handler':()=>!0x0},_0x4d6137={'type':_0x17cbc5['CommandType'][_0x34d75b(0x16c)],'id':_0x34d75b(0x425),'handler':()=>!0x0},_0x1eb569={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x17d),'handler':()=>!0x0};var _0x13d64d=Object[_0x34d75b(0x36d)],_0x5a6288=(_0x5486e7,_0x3d8315,_0x359d5d,_0x286be6)=>{for(var _0x2221b3=_0x286be6>0x1?void 0x0:_0x286be6?_0x13d64d(_0x3d8315,_0x359d5d):_0x3d8315,_0x27a83f=_0x5486e7['length']-0x1,_0x4aa12c;_0x27a83f>=0x0;_0x27a83f--)(_0x4aa12c=_0x5486e7[_0x27a83f])&&(_0x2221b3=_0x4aa12c(_0x2221b3)||_0x2221b3);return _0x2221b3;},_0xfa4108=(_0x2a11b0,_0x218f89)=>(_0x5b7454,_0x2d0bca)=>_0x218f89(_0x5b7454,_0x2d0bca,_0x2a11b0);_0x1f106f[_0x34d75b(0x391)]=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x407a90){const _0x415ddd=_0x34d75b;super(),_0x1658bd(this,_0x415ddd(0x2a2),new Map()),this[_0x415ddd(0x260)]=_0x407a90;}[_0x34d75b(0x3c5)](_0x75d917){const _0x354add=_0x34d75b,{version:_0x4214e4}=_0x75d917,_0x3becaf=this[_0x354add(0x2a2)][_0x354add(0x42f)](_0x4214e4);_0x3becaf&&(_0x3becaf(_0x75d917),this['_requestResolvers'][_0x354add(0x221)](_0x4214e4));}[_0x34d75b(0x3ad)](_0xb37511){return new Promise((_0x5c7ca4,_0x433ddd)=>{const _0x566044=_0x2082,_0x38d2ac=this[_0x566044(0x1e3)]();this[_0x566044(0x2a2)]['set'](_0x38d2ac,_0x5c7ca4),this[_0x566044(0x260)][_0x566044(0x1df)](_0x373f83['id'],{'version':_0x38d2ac,..._0xb37511},{'onlyLocal':!0x0});});}[_0x34d75b(0x1e3)](){const _0x30d451=_0x34d75b;return Math[_0x30d451(0x152)]()[_0x30d451(0x15c)](0x24)[_0x30d451(0x223)](0x2,0x10);}},_0x1f106f['SheetsPivotRPCService']=_0x5a6288([_0xfa4108(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x275)]))],_0x1f106f['SheetsPivotRPCService']);const _0x5dcfe3={0x0:'I',0x1:'d',0x2:'H',0x3:'S',0x4:'U',0x5:'w',0x6:'i',0x7:'g',0x8:'F',0x9:'u','X':'0','x':'1','k':'2','y':'3','L':'4','j':'5','P':'6','z':'7','T':'8','Y':'9','g':'a','A':'b','B':'c','M':'e','V':'f','U':'h','a':'j','D':'k','u':'l','G':'m','S':'n','O':'o','R':'p','r':'q','c':'r','s':'s','d':'t','e':'v','C':'x','b':'y','K':'z','w':'A','v':'B','f':'C','E':'D','q':'E','H':'G','h':'J','n':'K','t':'L','N':'M','J':'N','Z':'O','o':'P','W':'Q','i':'R','m':'T','p':'V','F':'W','l':'X','I':'Y','Q':'Z'},_0x1c4fc3=_0x34d75b(0x301),_0x445efb=_0x32308a=>{const _0x1c6c66=_0x34d75b;var _0x5acdce;return((_0x5acdce=_0x32308a[_0x1c6c66(0x336)])==null?void 0x0:_0x5acdce[_0x1c6c66(0x421)][_0x1c6c66(0x121)](/\r\n$/,''))||'';};class _0x42d907 extends _0x4c0fcb['DataFieldManager']{constructor(_0xe5c687,_0x1a0f36){const _0x4e9cc7=_0x34d75b;super(),_0x1658bd(this,'rangeKeyMap',{}),_0x1658bd(this,'_univerInstanceService'),_0x1658bd(this,_0x4e9cc7(0x217)),(this[_0x4e9cc7(0x2e8)]=_0x1a0f36,this[_0x4e9cc7(0x217)]=_0xe5c687);}[_0x34d75b(0x3cf)](){const _0x4499a6=_0x34d75b;for(const _0x21ed0e in this[_0x4499a6(0x2ab)]){const _0x2c521a=this[_0x4499a6(0x2ab)][_0x21ed0e],_0xacc499=_0x2c521a[_0x4499a6(0x253)]();this[_0x4499a6(0x23c)][_0xacc499]=_0x2c521a[_0x4499a6(0x271)]();}}[_0x34d75b(0x3db)](){const _0x2d5160=_0x34d75b,_0x56251b=this[_0x2d5160(0x217)];return _0x28966d[_0x2d5160(0x131)](_0x56251b);}[_0x34d75b(0x371)](_0x55023b){const _0x22d8f5=_0x34d75b,_0x583024=this[_0x22d8f5(0x2ab)][_0x55023b]['rangeKey'];delete this['dataFields'][_0x55023b],delete this[_0x22d8f5(0x23c)][_0x583024];}[_0x34d75b(0x151)](_0x348928){const _0xbce6d=_0x34d75b;this[_0xbce6d(0x2ab)][_0x348928[_0xbce6d(0x271)]()]=_0x348928;}[_0x34d75b(0x333)](_0x55e75a){const _0x3d7a73=_0x34d75b;var _0x258c47,_0x3ce67b;const _0xf1b1c2=this['_host'][_0x3d7a73(0x278)](_0x55e75a);if(_0xf1b1c2){const {unitId:_0x5b8d87,subUnitId:_0x4e7040}=_0xf1b1c2,_0x468a40=(_0x258c47=this[_0x3d7a73(0x217)]['getPivotTableConfig'](_0x5b8d87,_0x4e7040,_0x55e75a))==null?void 0x0:_0x258c47[_0x3d7a73(0x3a9)];this['_host'][_0x3d7a73(0x319)]({'token':_0x55e75a,'type':_0x4de95a[_0x3d7a73(0x221)],'dataRangeInfo':_0x468a40});}(_0x3ce67b=this[_0x3d7a73(0x3c4)](_0x55e75a))==null||_0x3ce67b['dispose'](),delete this[_0x3d7a73(0x304)][_0x55e75a];}[_0x34d75b(0x253)](_0x551577,_0x1a6a3b){const _0x58a730=_0x34d75b,{sheetName:_0x39d34f,unitId:_0xec1c33,range:_0x4e0a00}=_0x551577,{startRow:_0x595f15,endRow:_0x512aec}=_0x4e0a00;return _0x488431[_0x58a730(0x39d)](_0xec1c33,_0x39d34f,{'startRow':_0x595f15,'endRow':_0x512aec,'startColumn':_0x1a6a3b,'endColumn':_0x1a6a3b});}[_0x34d75b(0x178)](_0x5b150c){const _0x463f75=_0x34d75b;return this[_0x463f75(0x2ab)][this[_0x463f75(0x23c)][_0x5b150c]];}[_0x34d75b(0x3a7)](_0x5a9ffd,_0x4af969){const _0x11a396=_0x34d75b;this[_0x11a396(0x23c)][_0x5a9ffd]=_0x4af969;}['updateRangeKeyMap'](_0x22d585,_0x5064de){const _0x3c42fb=_0x34d75b;this[_0x3c42fb(0x23c)][_0x5064de]=this[_0x3c42fb(0x23c)][_0x22d585],delete this['rangeKeyMap'][_0x22d585];}['addCollectionByJSON'](_0x16d82c,_0x6316b,_0xae578b,_0x522d0f){const _0x45cb5a=_0x34d75b,_0x1faa25=new _0x4c0fcb[(_0x45cb5a(0x31e))](this);_0x1faa25['fromJSON'](_0x6316b);const _0x155da0=[];let _0x26fdf4=0x0;for(const _0x235f49 of _0x1faa25[_0x45cb5a(0x34c)]){const _0x7643fc=this[_0x45cb5a(0x253)](_0xae578b,_0x26fdf4),_0x180201=this[_0x45cb5a(0x2ab)][_0x235f49];_0x180201&&(_0x180201[_0x45cb5a(0x181)]=_0x7643fc,this[_0x45cb5a(0x3a7)](_0x7643fc,_0x235f49),_0x155da0[_0x45cb5a(0x30f)]({'index':_0x26fdf4,'dataField':_0x180201})),_0x26fdf4++;}return this[_0x45cb5a(0x36f)](_0x16d82c,_0x1faa25,_0xae578b,_0x522d0f),{'collection':_0x1faa25,'updateDataFieldList':_0x155da0};}[_0x34d75b(0x200)](_0x4bbd78,_0x342065){const _0x3ab4ca=_0x34d75b;return _0x4bbd78[_0x3ab4ca(0x2b1)]===_0x17cbc5[_0x3ab4ca(0x3d2)][_0x3ab4ca(0x379)]?{'startRow':0x0,'startColumn':_0x4bbd78[_0x3ab4ca(0x33c)],'endRow':_0x342065[_0x3ab4ca(0x3d7)]()-0x1,'endColumn':_0x4bbd78[_0x3ab4ca(0x357)]}:{'startRow':_0x4bbd78['startRow'],'startColumn':_0x4bbd78[_0x3ab4ca(0x33c)],'endRow':_0x4bbd78[_0x3ab4ca(0x273)],'endColumn':_0x4bbd78[_0x3ab4ca(0x357)]};}[_0x34d75b(0x2a3)](_0x1b395a){const _0x690552=_0x34d75b,{sheetName:_0x645a05,range:_0x47ff8e}=_0x1b395a,_0x3881c5=this[_0x690552(0x2e8)]['getCurrentUnitForType'](_0x17cbc5[_0x690552(0x1f1)][_0x690552(0x1d2)]),_0x2c6d08=_0x3881c5[_0x690552(0x218)](_0x645a05),_0x5af4a0=_0x2c6d08[_0x690552(0x125)](),{startColumn:_0x453de6,startRow:_0x3cedf2,endColumn:_0x559624}=this[_0x690552(0x200)](_0x47ff8e,_0x2c6d08),_0x5cb120=_0x3881c5[_0x690552(0x3a4)](),_0x300f1e=new _0x4c0fcb[(_0x690552(0x31e))](this);_0x300f1e['setRange'](_0x1b395a);const _0x47442f=[],_0x3ce700={};for(let _0x49ff08=_0x453de6;_0x49ff08<=_0x559624;_0x49ff08++){const _0x2ed5a3=_0x5af4a0[_0x690552(0x3df)](_0x3cedf2,_0x49ff08),_0x1767a4=this['getRangeKey'](_0x1b395a,_0x49ff08),_0x70accf=this[_0x690552(0x178)](_0x1767a4);if(_0x70accf)_0x300f1e['addField'](_0x70accf[_0x690552(0x271)](),_0x70accf[_0x690552(0x18c)]());else{const _0x4c23b2=this[_0x690552(0x308)]();let _0x2cba7d=this[_0x690552(0x3d8)](_0x2ed5a3,_0x5cb120,_0x3ce700);_0x4c0fcb[_0x690552(0x40a)](_0x2cba7d)&&(_0x2cba7d=_0x17cbc5[_0x690552(0x3f2)]['format'](_0x2cba7d['f'],Number(_0x2cba7d['v'])));const _0x3dc671=this[_0x690552(0x38b)](_0x2cba7d,_0x49ff08),_0x29f5a8=new _0x4c0fcb['DataField'](_0x4c23b2,_0x3dc671,_0x4c0fcb[_0x690552(0x193)](0x3));_0x29f5a8[_0x690552(0x181)]=_0x1767a4,this[_0x690552(0x2ab)][_0x4c23b2]=_0x29f5a8,_0x300f1e[_0x690552(0x3b3)](_0x4c23b2,_0x3dc671),_0x47442f[_0x690552(0x30f)]({'index':_0x49ff08,'dataField':_0x29f5a8});}}return{'updateDataFieldList':_0x47442f,'collection':_0x300f1e};}[_0x34d75b(0x1e8)](_0x5e8fc7){const _0xa676aa=_0x34d75b;return this[_0xa676aa(0x217)][_0xa676aa(0x32b)]()['sheets-pivot.columnName']+'\x20'+_0x17cbc5['numberToABC'](_0x5e8fc7);}[_0x34d75b(0x38b)](_0x4bab99,_0x6b0df8){return _0x4bab99==null||_0x4bab99===''?this['_getAutoName'](_0x6b0df8):String(_0x4bab99);}[_0x34d75b(0x3c4)](_0x3d7dd7){const _0x1bbc87=_0x34d75b;return this[_0x1bbc87(0x304)][_0x3d7dd7];}['addCollection'](_0x2a3e84,_0x15b337,_0xfc39e5,_0x2f1d99){const _0x3aeee9=_0x34d75b;this['collections'][_0x2a3e84]=_0x15b337,_0x15b337[_0x3aeee9(0x2ca)](_0xfc39e5),this[_0x3aeee9(0x217)][_0x3aeee9(0x319)]({'token':_0x2a3e84,'type':_0x4de95a[_0x3aeee9(0x283)],'dataRangeInfo':_0xfc39e5,'targetCellInfo':_0x2f1d99});}['handleMoveRange'](_0x14a298,_0x4a50b1){const _0x2647a2=_0x34d75b,_0x1fa9a8=this['getCollection'](_0x14a298),_0x15886d=_0x1fa9a8[_0x2647a2(0x20b)]();let _0x42d4c1=0x0;for(const _0x15b12c of _0x15886d){const _0x816fed=_0x1fa9a8[_0x2647a2(0x3b7)](_0x15b12c),_0x2839bc=this[_0x2647a2(0x253)](_0x4a50b1,_0x42d4c1);this[_0x2647a2(0x259)](_0x816fed[_0x2647a2(0x181)],_0x2839bc),_0x42d4c1++;}}[_0x34d75b(0x20d)](){return{'runtimeCellData':{},'dirtyRanges':{}};}[_0x34d75b(0x3aa)](_0x39ea15,_0x2f0dc8){const _0x10d29d=_0x34d75b;if(this[_0x10d29d(0x3c4)](_0x39ea15)){const _0x2e00d2=this[_0x10d29d(0x303)](_0x2f0dc8),_0x4e573a=[];for(const _0x589e58 of _0x2e00d2)this['rangeKeyMap'][_0x589e58]!==void 0x0&&_0x4e573a[_0x10d29d(0x30f)](this[_0x10d29d(0x23c)][_0x589e58]);const _0x13dd07=this['getNoUsedDataFieldIds'](_0x39ea15),_0x4f0f90=[],_0x2f1a0b=new Set(_0x4e573a);for(const _0x100e2e of _0x13dd07)_0x2f1a0b[_0x10d29d(0x210)](_0x100e2e)||_0x4f0f90[_0x10d29d(0x30f)](_0x100e2e);return _0x4f0f90;}}['getMatrixValue'](_0x1a7187,_0x3ce94c,_0x38f1ac,_0x2eb71f,_0x11f66e){const _0x295694=_0x34d75b;return _0x3ce94c&&_0x3ce94c[_0x295694(0x3df)](_0x2eb71f,_0x11f66e)?_0x3ce94c[_0x295694(0x3df)](_0x2eb71f,_0x11f66e):_0x38f1ac&&_0x38f1ac['getValue'](_0x2eb71f,_0x11f66e)?_0x38f1ac[_0x295694(0x3df)](_0x2eb71f,_0x11f66e):_0x1a7187[_0x295694(0x3df)](_0x2eb71f,_0x11f66e);}[_0x34d75b(0x359)](_0x4627fd,_0x3f917c,_0x558ab7,_0x1951e7){const _0x2320ea=_0x34d75b,_0x1ae707=this[_0x2320ea(0x2ab)][_0x4627fd];if(!_0x1ae707)return;const {subUnitId:_0x5d15cb,range:_0x297004,unitId:_0x2cb238}=_0x3f917c,_0x4feb95=this['_univerInstanceService'][_0x2320ea(0x146)](_0x2cb238);if(!_0x4feb95){console[_0x2320ea(0x2eb)](_0x2320ea(0x11d));return;}const _0x1343f0=_0x4feb95['getSheetBySheetId'](_0x5d15cb),_0xe00628=_0x1343f0[_0x2320ea(0x125)](),{arrayFormulaCellDataMatrix:_0x29fd4a,unitDataMatrix:_0x12c128}=_0x1951e7||{},{startRow:_0x21a9e6,startColumn:_0x112efd,endRow:_0x11e4b3}=this[_0x2320ea(0x200)](_0x297004,_0x1343f0);_0x1ae707[_0x2320ea(0x1fe)]();const _0x1c701a=_0x4feb95['getStyles'](),_0x309829={},_0x46440b=this['getMatrixValue'](_0xe00628,_0x29fd4a,_0x12c128,_0x21a9e6,_0x112efd+_0x558ab7);let _0x26035f=this[_0x2320ea(0x3d8)](_0x46440b,_0x1c701a,_0x309829);_0x4c0fcb[_0x2320ea(0x40a)](_0x26035f)&&(_0x26035f=_0x17cbc5[_0x2320ea(0x3f2)][_0x2320ea(0x3d5)](_0x26035f['f'],Number(_0x26035f['v'])));const _0x30b8b8=this[_0x2320ea(0x38b)](_0x26035f,_0x112efd+_0x558ab7);_0x1ae707['setName'](_0x30b8b8);for(let _0x293b3f=_0x21a9e6+0x1;_0x293b3f<=_0x11e4b3;_0x293b3f++){const _0x46b700=this[_0x2320ea(0x14f)](_0xe00628,_0x29fd4a,_0x12c128,_0x293b3f,_0x112efd+_0x558ab7);_0x1ae707[_0x2320ea(0x19d)](this[_0x2320ea(0x3d8)](_0x46b700,_0x1c701a,_0x309829),_0x293b3f-0x1-_0x21a9e6);}}[_0x34d75b(0x30e)](_0x509b44,_0x5d67ec,_0xc63e2f){const _0x892c96=_0x34d75b,{subUnitId:_0x1b0031,range:_0x4b1d3f,unitId:_0x2aebef}=_0xc63e2f,_0xd3bc00=this['_univerInstanceService'][_0x892c96(0x146)](_0x2aebef);if(!_0xd3bc00){console[_0x892c96(0x2eb)](_0x892c96(0x11d));return;}const _0x61f732=_0xd3bc00['getSheetBySheetId'](_0x1b0031),_0xc5f354=_0x61f732[_0x892c96(0x125)](),{startRow:_0x337ba6,startColumn:_0x43f668,endRow:_0x32d544}=this[_0x892c96(0x200)](_0x4b1d3f,_0x61f732),_0x5cc0cb=_0xd3bc00[_0x892c96(0x3a4)](),_0x4b7425={};for(const {dataField:_0x5d4d44,index:_0x544f55}of _0x5d67ec){_0x5d4d44[_0x892c96(0x1fe)]();const _0x2e893d=this['getMatrixValue'](_0xc5f354,void 0x0,void 0x0,_0x337ba6,_0x43f668+_0x544f55);let _0xf9624=this[_0x892c96(0x3d8)](_0x2e893d,_0x5cc0cb,_0x4b7425);_0x4c0fcb['isDateValue'](_0xf9624)&&(_0xf9624=_0x17cbc5['numfmt'][_0x892c96(0x3d5)](_0xf9624['f'],Number(_0xf9624['v'])));const _0x1acbf0=this[_0x892c96(0x38b)](_0xf9624,_0x43f668+_0x544f55);_0x5d4d44[_0x892c96(0x148)](_0x1acbf0);}_0x509b44[_0x892c96(0x3b9)]();for(let _0x302cab=_0x337ba6+0x1;_0x302cab<=_0x32d544;_0x302cab++)for(const {index:_0x58e9a2,dataField:_0x413f5a}of _0x5d67ec){const _0x423de5=_0xc5f354[_0x892c96(0x3df)](_0x302cab,_0x43f668+_0x58e9a2);_0x413f5a[_0x892c96(0x19d)](this[_0x892c96(0x3d8)](_0x423de5,_0x5cc0cb,_0x4b7425),_0x302cab-0x1-_0x337ba6);}_0x509b44['setDataRecordCount'](_0x32d544-_0x337ba6);}[_0x34d75b(0x303)](_0x5e4d41){const _0x5a7729=_0x34d75b,{range:_0x24a02c}=_0x5e4d41,{startColumn:_0x1c1c0a,endColumn:_0x2f624e}=_0x24a02c,_0x42e227=[];for(let _0x386247=_0x1c1c0a;_0x386247<=_0x2f624e;_0x386247++)_0x42e227[_0x5a7729(0x30f)](this[_0x5a7729(0x253)](_0x5e4d41,_0x386247));return _0x42e227;}[_0x34d75b(0x3d8)](_0x237e34,_0xe34ce3,_0x1fb4a0){const _0x520883=_0x34d75b;if(_0x237e34){const {s:_0x5aa680,v:_0x5238e5,t:_0x5040d6,p:_0x216d17}=_0x237e34;if(_0x216d17)return _0x445efb(_0x216d17);const _0x3009b4=_0xe34ce3[_0x520883(0x42f)](_0x5aa680);if(_0x3009b4&&_0x5040d6===_0x17cbc5['CellValueType']['NUMBER']&&_0x3009b4['n']){const {pattern:_0x5ddae4}=_0x3009b4['n'];_0x1fb4a0[_0x5ddae4]||(_0x1fb4a0[_0x5ddae4]=_0x17cbc5[_0x520883(0x3f2)][_0x520883(0x34d)](_0x5ddae4));const _0x203d07=_0x1fb4a0[_0x5ddae4],_0x38718b=_0x203d07[_0x520883(0x279)];if(_0x203d07[_0x520883(0x2d9)])return String(_0x5238e5);if(_0x38718b)return{'v':_0x5238e5,'f':_0x5ddae4};}if(_0x5040d6===_0x17cbc5[_0x520883(0x384)][_0x520883(0x30a)])return Number(_0x5238e5);if(_0x5040d6===_0x17cbc5[_0x520883(0x384)][_0x520883(0x3a0)]||_0x5040d6===_0x17cbc5[_0x520883(0x384)][_0x520883(0x274)])return String(_0x5238e5);if(_0x5040d6===void 0x0){const _0x50b50d=Number(_0x5238e5);if(!Number['isNaN'](_0x50b50d)&&String(_0x50b50d)===_0x5238e5)return _0x50b50d;}return _0x5238e5!=null?_0x5238e5:null;}else return null;}[_0x34d75b(0x196)](_0x2658f0){const _0x4ff4a4=_0x34d75b,{sheetName:_0x566244,range:_0x5856aa,unitId:_0x46ca0d}=_0x2658f0,_0xb88678=this[_0x4ff4a4(0x2e8)][_0x4ff4a4(0x146)](_0x46ca0d);if(!_0xb88678)return console[_0x4ff4a4(0x2eb)](_0x4ff4a4(0x11d)),{'header':[],'data':[]};const _0x4a1658=_0xb88678[_0x4ff4a4(0x218)](_0x566244),_0x34c8b9=_0x4a1658[_0x4ff4a4(0x125)](),{startRow:_0x59b2eb,startColumn:_0x3e29ce,endRow:_0xa595cb,endColumn:_0x47958b}=this[_0x4ff4a4(0x200)](_0x5856aa,_0x4a1658),_0x22c6e0=_0xb88678[_0x4ff4a4(0x3a4)](),_0x26334f=[],_0x24aec3=[],_0x429f71={};for(let _0x27fe05=_0x59b2eb;_0x27fe05<=_0xa595cb;_0x27fe05++){const _0x4bf1d4=[];for(let _0xe76d36=_0x3e29ce;_0xe76d36<=_0x47958b;_0xe76d36++){const _0x4ea83d=_0x34c8b9['getValue'](_0x27fe05,_0xe76d36);_0x27fe05===_0x59b2eb?_0x26334f['push'](_0x4ea83d==null?null:String(_0x4ea83d['v'])):_0x4bf1d4['push'](this['adjustSheetCellData'](_0x4ea83d,_0x22c6e0,_0x429f71));}_0x24aec3[_0x4ff4a4(0x30f)](_0x4bf1d4);}return{'header':_0x26334f,'data':_0x24aec3};}[_0x34d75b(0x15f)](){const _0x5b1e4e=_0x34d75b;return super[_0x5b1e4e(0x15f)]();}[_0x34d75b(0x169)](_0x8847b3){const _0x5d015e=_0x34d75b;super[_0x5d015e(0x169)](_0x8847b3),this[_0x5d015e(0x3cf)]();}[_0x34d75b(0x2f3)](){const _0xa52c60=_0x34d75b;super[_0xa52c60(0x2f3)](),this[_0xa52c60(0x23c)]={},this[_0xa52c60(0x217)]=null;}}const _0x3de1b5=_0x5ab7dd=>{const _0x4180f3=_0x34d75b,{targetCellInfo:_0x43635b}=_0x5ab7dd,{matrixCache:_0x461c86,rangesCache:_0x1e5221}=_0x1ade2b({'filter':_0x4180f3(0x3f1),'row':_0x4180f3(0x34b),'column':_0x4180f3(0x347),'values':_0x4180f3(0x219)},_0x43635b),_0x3631ab=new _0x17cbc5[(_0x4180f3(0x1c4))]();return _0x461c86[_0x4180f3(0x26a)]((_0xc5bcc2,_0x791462,_0x14ea22)=>{const _0x3c9397=_0x4180f3;_0x3631ab[_0x3c9397(0x370)](_0xc5bcc2,_0x791462,_0x14ea22);}),{'matrix':_0x3631ab,'rangesCache':_0x1e5221};},_0x4b67a1=_0x1d1cd8=>{const _0x44bd18=_0x34d75b;let _0xf4b5a4;if(_0x1d1cd8!=null&&_0x1d1cd8['v']||(_0x1d1cd8==null?void 0x0:_0x1d1cd8['v'])===0x0){_0xf4b5a4||(_0xf4b5a4={});const _0x1fbd0d=_0x49a664(_0x1d1cd8['v']);typeof _0x1fbd0d==_0x44bd18(0x411)?_0xf4b5a4['t']=_0x17cbc5[_0x44bd18(0x384)][_0x44bd18(0x30a)]:typeof _0x1fbd0d==_0x44bd18(0x1ac)&&(_0xf4b5a4['t']=_0x17cbc5[_0x44bd18(0x384)][_0x44bd18(0x3a0)]),_0xf4b5a4['v']=_0x1fbd0d;}return _0xf4b5a4;},_0x43ee42=(_0x4c312e,_0x5954d4,_0x50605d)=>{const _0x103058=_0x34d75b;var _0xb4ff5c,_0x162c2d,_0x24d48f,_0x4535bc,_0x577693,_0xd0f4aa,_0x13d817,_0x178fed,_0xf445e9,_0xdae17c,_0x41bb56,_0x4dcdeb;const {cornerView:_0x14e8db,rowView:_0x27fba7,colView:_0x35a918,dataView:_0x5b7c17,pageView:_0x1c12d8,formatMap:_0x3f0529}=_0x4c312e,{row:_0x1041d2,col:_0x100274}=_0x5954d4,_0x53d071=new _0x17cbc5[(_0x103058(0x1c4))]();let _0x3f3e6d=_0x1041d2,_0x2307bb=_0x100274;Object['keys'](_0x1c12d8[_0x103058(0x27c)])[_0x103058(0x3f0)](_0x4fc3e8=>{const _0x221e0b=_0x103058;Object[_0x221e0b(0x2ec)](_0x1c12d8[_0x221e0b(0x27c)][Number(_0x4fc3e8)])['forEach'](_0x312c80=>{const _0x4f7e1c=_0x221e0b,_0x1492f1={..._0x1c12d8[_0x4f7e1c(0x27c)][Number(_0x4fc3e8)][Number(_0x312c80)]};_0x53d071[_0x4f7e1c(0x370)](Number(_0x4fc3e8)+_0x3f3e6d,Number(_0x312c80)+_0x2307bb,_0x4b67a1(_0x1492f1));});});const _0x1777d0=Object['keys'](_0x1c12d8[_0x103058(0x27c)])[_0x103058(0x233)];_0x3f3e6d+=_0x1777d0+(_0x1777d0?_0x3c0c8a:0x0);const _0xd60d67=_0x14e8db['getRowCount'](),_0x4dd2ae=_0x14e8db[_0x103058(0x22e)]();for(let _0x104de7=0x0;_0x104de7<_0xd60d67;_0x104de7++)for(let _0x4bd46d=0x0;_0x4bd46d<_0x4dd2ae;_0x4bd46d++){const _0x56b51f={...(_0x162c2d=(_0xb4ff5c=_0x14e8db[_0x103058(0x27c)])==null?void 0x0:_0xb4ff5c[_0x104de7])==null?void 0x0:_0x162c2d[_0x4bd46d]};_0x56b51f&&((_0x24d48f=_0x27fba7[_0x103058(0x2b6)][_0x4bd46d])!=null&&_0x24d48f['isValue'])&&_0x4bd46d===_0x4dd2ae-0x1&&_0x104de7===_0xd60d67-0x1&&(_0x56b51f['v']=''+_0x50605d[_0x103058(0x1ea)]),_0x53d071[_0x103058(0x370)](_0x104de7+_0x3f3e6d,_0x4bd46d+_0x2307bb,_0x4b67a1(_0x56b51f));}_0x2307bb+=_0x4dd2ae;const _0x4518ac=_0x35a918['headerMap'],_0x390231=_0x35a918[_0x103058(0x15a)]()>=0x0?_0x35a918[_0x103058(0x15a)]()+0x1:0x0,_0x2d6dfd=_0x35a918[_0x103058(0x1a1)]()>=0x0?_0x35a918['getLastCol']()+0x1:0x0;for(let _0x118a87=0x0;_0x118a87<_0x2d6dfd;_0x118a87++)for(let _0x549c0b=0x0;_0x549c0b<_0x390231;_0x549c0b++){const _0x5a573e={...(_0x577693=(_0x4535bc=_0x35a918[_0x103058(0x27c)])==null?void 0x0:_0x4535bc[_0x118a87])==null?void 0x0:_0x577693[_0x549c0b]},_0x1c6369=(_0xd0f4aa=_0x4518ac[_0x118a87])==null?void 0x0:_0xd0f4aa[_0x103058(0x107)],_0x254bbe=_0x3f0529[_0x1c6369];_0x5a573e&&(_0x5a573e['v']=_0x54dc09(_0x5a573e,_0x118a87===0x0&&((_0x13d817=_0x35a918[_0x103058(0x27b)](_0x549c0b+0x1))==null?void 0x0:_0x13d817[_0x103058(0x23f)]),_0x254bbe,_0x50605d)),_0x53d071[_0x103058(0x370)](_0x118a87+_0x3f3e6d,_0x549c0b+_0x2307bb,_0x4b67a1(_0x5a573e));}_0x3f3e6d+=_0xd60d67;const _0x5b80c4=_0x27fba7[_0x103058(0x2b6)],_0x39747e=_0x27fba7[_0x103058(0x15a)]()>=0x0?_0x27fba7['getLastRow']()+0x1:0x0,_0x2dfb2d=_0x27fba7[_0x103058(0x1a1)]()>=0x0?_0x27fba7['getLastCol']()+0x1:0x0;for(let _0x55a890=0x0;_0x55a890<_0x39747e;_0x55a890++)for(let _0x814eb3=0x0;_0x814eb3<_0x2dfb2d;_0x814eb3++){const _0x21acc4={...(_0xf445e9=(_0x178fed=_0x27fba7[_0x103058(0x27c)])==null?void 0x0:_0x178fed[_0x55a890])==null?void 0x0:_0xf445e9[_0x814eb3]},_0x13e912=(_0xdae17c=_0x5b80c4[_0x814eb3])==null?void 0x0:_0xdae17c[_0x103058(0x107)],_0x37e9ab=_0x3f0529[_0x13e912];_0x21acc4&&(_0x21acc4['v']=_0x54dc09(_0x21acc4,!0x1,_0x37e9ab,_0x50605d)),_0x53d071[_0x103058(0x370)](_0x55a890+_0x3f3e6d,_0x814eb3+_0x100274,_0x4b67a1(_0x21acc4));}const _0x579a13=_0x5b7c17[_0x103058(0x3d7)](),_0x5e23b2=_0x5b7c17['getColCount']();for(let _0x50746e=0x0;_0x50746e<_0x579a13;_0x50746e++)for(let _0x19dfb9=0x0;_0x19dfb9<_0x5e23b2;_0x19dfb9++){const _0x161b46={...(_0x4dcdeb=(_0x41bb56=_0x5b7c17[_0x103058(0x27c)])==null?void 0x0:_0x41bb56[_0x50746e])==null?void 0x0:_0x4dcdeb[_0x19dfb9]};_0x53d071[_0x103058(0x370)](_0x50746e+_0x3f3e6d,_0x19dfb9+_0x2307bb,_0x4b67a1(_0x161b46));}return _0x53d071;},_0x213826=_0x3cfdd9=>{const _0x56c0d2=_0x34d75b,{view:_0x24e20c,targetCellInfo:_0x4d3312,isEmpty:_0x37a87f,textInfo:_0xf8acac}=_0x3cfdd9;if(_0x37a87f)return _0x3de1b5(_0x3cfdd9);const {pageView:_0x4f9fd7,cornerView:_0x2804da,rowView:_0x267675,colView:_0x3853f3,dataView:_0xc6a46e}=_0x24e20c,_0x12220a=_0x3688b6(_0x4d3312,_0x4f9fd7,!0x0),_0x285cc1=_0x4f9fd7[_0x56c0d2(0x15e)]>=0x0?_0x4f9fd7[_0x56c0d2(0x15e)]+0x1:0x0,_0x42f4ca=_0x2804da[_0x56c0d2(0x3d7)](),_0x4c0229=_0x2804da[_0x56c0d2(0x22e)](),_0x527071=_0x12220a[_0x56c0d2(0x233)]>0x0?_0x3c0c8a:0x0,_0x33d54b=_0x3688b6({'row':_0x4d3312['row']+_0x285cc1+_0x527071,'col':_0x4d3312[_0x56c0d2(0x367)]},_0x2804da,!0x1,!0x1),_0x446138=_0x3688b6({'row':_0x4d3312[_0x56c0d2(0x2b4)]+_0x285cc1+_0x527071+_0x42f4ca,'col':_0x4d3312[_0x56c0d2(0x367)]},_0x267675,!0x1,!0x0),_0x3a8a67=_0x3688b6({'row':_0x4d3312[_0x56c0d2(0x2b4)]+_0x285cc1+_0x527071,'col':_0x4d3312['col']+_0x4c0229},_0x3853f3,!0x1,!0x0),_0x5b76e9=_0x3688b6({'row':_0x4d3312[_0x56c0d2(0x2b4)]+_0x285cc1+_0x527071+_0x42f4ca,'col':_0x4d3312[_0x56c0d2(0x367)]+_0x4c0229},_0xc6a46e,!0x1,!0x1),_0x395df7={'rowRanges':_0x446138,'colRanges':_0x3a8a67,'cornerRanges':_0x33d54b,'dataRanges':_0x5b76e9,'pageRanges':_0x12220a};return{'matrix':_0x43ee42(_0x24e20c,_0x4d3312,_0xf8acac),'rangesCache':_0x395df7};};var _0x8e3a52=Object[_0x34d75b(0x36d)],_0x12455c=(_0x31e2e0,_0x2ee7c4,_0x32a5a5,_0x2bd4d0)=>{const _0x2c4d68=_0x34d75b;for(var _0x52ce37=_0x2bd4d0>0x1?void 0x0:_0x2bd4d0?_0x8e3a52(_0x2ee7c4,_0x32a5a5):_0x2ee7c4,_0xfec353=_0x31e2e0[_0x2c4d68(0x233)]-0x1,_0x2da219;_0xfec353>=0x0;_0xfec353--)(_0x2da219=_0x31e2e0[_0xfec353])&&(_0x52ce37=_0x2da219(_0x52ce37)||_0x52ce37);return _0x52ce37;},_0x3624c2=(_0x35ef60,_0x221223)=>(_0x4de2ed,_0x47dba5)=>_0x221223(_0x4de2ed,_0x47dba5,_0x35ef60);_0x1f106f[_0x34d75b(0x13e)]=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x2a5ab8,_0x40fedf,_0x11c1dd,_0x1cff53,_0x3dbf39){const _0x512d84=_0x34d75b;super(),_0x1658bd(this,'_model',new Map()),_0x1658bd(this,_0x512d84(0x373),new Map()),_0x1658bd(this,'_viewData',new Map()),_0x1658bd(this,_0x512d84(0x2c6)),_0x1658bd(this,_0x512d84(0x3d0),new _0x2fd59f[(_0x512d84(0x26f))]()),_0x1658bd(this,_0x512d84(0x39f),this[_0x512d84(0x3d0)][_0x512d84(0x1d7)]()),_0x1658bd(this,_0x512d84(0x339),new _0x2fd59f['Subject']()),_0x1658bd(this,'viewData$',this['_viewData$'][_0x512d84(0x1d7)]()),_0x1658bd(this,_0x512d84(0x2b2),new _0x2fd59f['Subject']()),_0x1658bd(this,_0x512d84(0x3ea),this['_fieldsCollectionChange$'][_0x512d84(0x1d7)]()),_0x1658bd(this,_0x512d84(0x198),new Map()),_0x1658bd(this,_0x512d84(0x300),[]),_0x1658bd(this,_0x512d84(0x119),new Map()),(this['_injector']=_0x2a5ab8,this[_0x512d84(0x2e8)]=_0x40fedf,this[_0x512d84(0x2d4)]=_0x11c1dd,this['_commandService']=_0x1cff53,this['_resourceManagerService']=_0x3dbf39,this[_0x512d84(0x288)]());}[_0x34d75b(0x32b)](){const _0x34285f=_0x34d75b;return this[_0x34285f(0x2c6)]?this[_0x34285f(0x2c6)]:_0xd6f9d8;}[_0x34d75b(0x1d8)](_0x5b1f8e){const _0x259b6f=_0x34d75b;this[_0x259b6f(0x2c6)]=_0x5b1f8e;}[_0x34d75b(0x2bf)](_0x5c4003){const _0x563344=_0x34d75b;var _0x1696cd;const {from:_0x58b265,to:_0x4dde83,unitId:_0x22eb45,fromRange:_0x3f53d0,toRange:_0x2968bc}=_0x5c4003;if(_0x58b265&&_0x4dde83){const _0x4aae92=this['getDataFieldManager'](_0x22eb45),_0x51bf0e=this['_model'][_0x563344(0x42f)](_0x22eb45),_0x1361ac=(_0x1696cd=this[_0x563344(0x2e8)][_0x563344(0x146)](_0x22eb45))==null?void 0x0:_0x1696cd['getSheetBySheetId'](_0x4dde83['subUnitId']);if(!_0x51bf0e||!_0x1361ac)return;const _0x3e874d=_0x1361ac==null?void 0x0:_0x1361ac[_0x563344(0x18c)]();for(const [_0x5ca2e8,_0x3335b4]of _0x51bf0e[_0x563344(0x201)]())for(const [_0x3f77e4,_0x59bb64]of _0x3335b4[_0x563344(0x201)]()){const {sourceRangeInfo:_0x1e99b2}=_0x59bb64;if(_0x1e99b2[_0x563344(0x167)]===_0x22eb45&&_0x1e99b2[_0x563344(0x3c7)]===_0x58b265['subUnitId']&&_0x17cbc5['Rectangle'][_0x563344(0x14e)](_0x3f53d0,_0x1e99b2[_0x563344(0x262)])){const _0x198ed9={'row':_0x1e99b2[_0x563344(0x262)]['startRow']-_0x3f53d0[_0x563344(0x191)],'col':_0x1e99b2[_0x563344(0x262)]['startColumn']-_0x3f53d0[_0x563344(0x33c)]},_0x197fec={'unitId':_0x22eb45,'subUnitId':_0x4dde83[_0x563344(0x3c7)],'sheetName':_0x3e874d,'range':{'startRow':_0x2968bc[_0x563344(0x191)]+_0x198ed9['row'],'endRow':_0x2968bc[_0x563344(0x191)]+_0x198ed9[_0x563344(0x2b4)]+_0x1e99b2['range'][_0x563344(0x273)]-_0x1e99b2[_0x563344(0x262)]['startRow'],'startColumn':_0x2968bc[_0x563344(0x33c)]+_0x198ed9['col'],'endColumn':_0x2968bc['startColumn']+_0x198ed9[_0x563344(0x367)]+_0x1e99b2[_0x563344(0x262)][_0x563344(0x357)]-_0x1e99b2['range']['startColumn']}};_0x4aae92[_0x563344(0x2bf)](_0x3f77e4,_0x197fec);const _0x41f32e={..._0x59bb64,'sourceRangeInfo':_0x197fec};this[_0x563344(0x187)](_0x22eb45,_0x4dde83[_0x563344(0x3c7)],_0x3f77e4,_0x41f32e),this[_0x563344(0x319)]({'unitId':_0x22eb45,'token':_0x3f77e4,'type':_0x4de95a[_0x563344(0x2d8)],'oldSourceRangeInfo':_0x1e99b2,'dataRangeInfo':_0x197fec,'targetCellInfo':_0x59bb64['targetCellInfo']}),this[_0x563344(0x369)]({'unitId':_0x22eb45,'subUnitId':_0x4dde83[_0x563344(0x3c7)],'oldSubUnitId':_0x5ca2e8,'pivotTableId':_0x3f77e4,'pivotTableConfig':_0x41f32e,'collectionConfig':_0x4aae92[_0x563344(0x15f)]()});}}}}[_0x34d75b(0x319)](_0x5a9767){const _0x43a502=_0x34d75b;this[_0x43a502(0x3d0)][_0x43a502(0x1fc)](_0x5a9767);}[_0x34d75b(0x1a3)](_0x1e2929){const _0x4b3d8c=_0x34d75b;let _0x8560d7=this[_0x4b3d8c(0x198)][_0x4b3d8c(0x42f)](_0x1e2929);return _0x8560d7||(_0x8560d7=new _0x42d907(this,this[_0x4b3d8c(0x2e8)]),this[_0x4b3d8c(0x198)]['set'](_0x1e2929,_0x8560d7)),_0x8560d7;}[_0x34d75b(0x3c4)](_0x2d79cb,_0x492e6b){const _0x538d5f=_0x34d75b;return this[_0x538d5f(0x1a3)](_0x2d79cb)[_0x538d5f(0x304)][_0x492e6b];}['getUpdateRangeDeleteIds'](_0x4a0f15,_0x5a88a4,_0x3c664a){return this['getDataFieldManager'](_0x4a0f15)['getUpdateRangeDeleteIds'](_0x5a88a4,_0x3c664a);}[_0x34d75b(0x390)](_0x1d4b3a,_0x17cf2b){const _0xd3ffe8=_0x34d75b;let _0x1caa69=this[_0xd3ffe8(0x13f)][_0xd3ffe8(0x42f)](_0x1d4b3a);_0x1caa69||(_0x1caa69=new Map(),this[_0xd3ffe8(0x13f)]['set'](_0x1d4b3a,_0x1caa69));let _0x2fab49=_0x1caa69[_0xd3ffe8(0x42f)](_0x17cf2b);return _0x2fab49||(_0x2fab49=new Map(),_0x1caa69[_0xd3ffe8(0x314)](_0x17cf2b,_0x2fab49)),_0x2fab49;}['_updateModelCache'](_0x58b877,_0x5b014d,_0x5eed7a,_0x2c5ac3){const _0x3831e5=_0x34d75b;this[_0x3831e5(0x390)](_0x58b877,_0x5b014d)['set'](_0x5eed7a,_0x2c5ac3);}[_0x34d75b(0x352)](_0xc09047,_0x118a76,_0x23c3c7){const _0x20fa02=_0x34d75b;var _0x2f032a,_0x43e7ec,_0x58ab27,_0x2d359c;((_0x43e7ec=(_0x2f032a=this[_0x20fa02(0x13f)][_0x20fa02(0x42f)](_0xc09047))==null?void 0x0:_0x2f032a[_0x20fa02(0x42f)](_0x118a76))==null?void 0x0:_0x43e7ec[_0x20fa02(0x42f)](_0x23c3c7))&&((_0x2d359c=(_0x58ab27=this[_0x20fa02(0x13f)][_0x20fa02(0x42f)](_0xc09047))==null?void 0x0:_0x58ab27[_0x20fa02(0x42f)](_0x118a76))==null||_0x2d359c[_0x20fa02(0x221)](_0x23c3c7));}[_0x34d75b(0x3a6)](_0x5b1444,_0x432e7e){const _0x3d03c6=_0x34d75b;this[_0x3d03c6(0x373)][_0x3d03c6(0x314)](_0x5b1444,_0x432e7e);}[_0x34d75b(0x395)](_0x46b5a8){const _0x5d4eea=_0x34d75b;this[_0x5d4eea(0x373)][_0x5d4eea(0x221)](_0x46b5a8);}[_0x34d75b(0x2e6)](_0x4caafb,_0x3c6b0d){const _0x13135a=_0x34d75b;let _0x2dcf32=this[_0x13135a(0x322)]['get'](_0x4caafb);_0x2dcf32||(_0x2dcf32=new Map(),this[_0x13135a(0x322)][_0x13135a(0x314)](_0x4caafb,_0x2dcf32));let _0xc2b09d=_0x2dcf32[_0x13135a(0x42f)](_0x3c6b0d);return _0xc2b09d||(_0xc2b09d=new Map(),_0x2dcf32[_0x13135a(0x314)](_0x3c6b0d,_0xc2b09d)),_0xc2b09d;}[_0x34d75b(0x369)](_0x4ff998){const _0x1a600a=_0x34d75b,{unitId:_0x1ce12d,subUnitId:_0x6d05f8,pivotTableId:_0x3ad081,pivotTableConfig:_0x44943c,collectionConfig:_0x201e90}=_0x4ff998,_0x15b160={'unitId':_0x1ce12d,'subUnitId':_0x6d05f8,'oldSubUnitId':_0x6d05f8,'pivotTableId':_0x3ad081,'pivotTableConfig':_0x44943c,'collectionConfig':_0x201e90};this[_0x1a600a(0x260)][_0x1a600a(0x1df)](_0x4d6137['id'],_0x15b160,{'onlyLocal':!0x0});}[_0x34d75b(0x2bd)](_0x4df177,_0x5907af,_0x4db80a,_0x56dfd3,_0x53e0cf,_0x101e91,_0x6b673a,_0x5b2853=!0x1){const _0x4a4437=_0x34d75b;var _0x317a43;this[_0x4a4437(0x260)][_0x4a4437(0x1df)](_0x1f2b5f['id'],{'single':{'unitId':_0x4df177,'subUnitId':_0x5907af,'type':_0x4db80a,'pivotTableId':_0x56dfd3,'view':_0x53e0cf,'pivotConfig':_0x101e91},'collectionConfig':{[_0x4df177]:_0x6b673a}},{'onlyLocal':!0x0});const _0x8fa27a=!!((_0x317a43=this[_0x4a4437(0x179)](_0x56dfd3))!=null&&_0x317a43[_0x4a4437(0x381)]()),_0x5cf9fa=this[_0x4a4437(0x2d5)](_0x4df177,_0x5907af,_0x56dfd3);_0x5cf9fa&&this[_0x4a4437(0x1e5)]({'view':_0x53e0cf,'pivotTableId':_0x56dfd3,'textInfo':this['getTextInfo'](),'isEmpty':_0x8fa27a,'targetCellInfo':_0x5cf9fa[_0x4a4437(0x183)]},_0x5b2853);}[_0x34d75b(0x1e5)](_0xf4459e,_0x483215){const _0x2b1ce2=_0x34d75b,{targetCellInfo:_0x28706b,pivotTableId:_0x53b9ce}=_0xf4459e,{unitId:_0x5248ab,subUnitId:_0x2f1185}=_0x28706b,_0x534a89=this[_0x2b1ce2(0x2e6)](_0x5248ab,_0x2f1185),_0x519d0b=_0x534a89['get'](_0x53b9ce);let _0x5ad694,_0x32e777;_0x519d0b&&(_0x5ad694=_0x519d0b[_0x2b1ce2(0x2d6)],_0x32e777=_0x519d0b['matrix']);const {rangesCache:_0x4c59c0,matrix:_0xbb43ad}=_0x213826(_0xf4459e);_0x534a89[_0x2b1ce2(0x314)](_0x53b9ce,{'rangeCache':_0x4c59c0,'matrix':_0xbb43ad,'oldMatrix':_0x32e777,'oldRangeCache':_0x5ad694}),_0x483215||this[_0x2b1ce2(0x339)]['next']({'unitId':_0x5248ab,'subUnitId':_0x2f1185,'pivotTableId':_0x53b9ce});}['addPivotTable'](_0x5daaee,_0x5f0e9d,_0x26310a,_0x4e97f8,_0x203406){const _0x543c67=_0x34d75b;this[_0x543c67(0x187)](_0x5daaee,_0x5f0e9d,_0x26310a,_0x203406),this['_updatePivotTableInstanceCache'](_0x26310a,_0x4e97f8);}[_0x34d75b(0x33e)](_0x15b839,_0x2252a8,_0x1b688e){const _0x55af04=_0x34d75b,_0x5b7b92=this[_0x55af04(0x1a3)](_0x15b839);_0x5b7b92['getNoUsedDataFieldIds'](_0x1b688e)['forEach'](_0x589ae6=>{_0x5b7b92['deleteDataField'](_0x589ae6);}),this[_0x55af04(0x2a9)](_0x15b839,_0x1b688e),this[_0x55af04(0x352)](_0x15b839,_0x2252a8,_0x1b688e),this[_0x55af04(0x395)](_0x1b688e);}[_0x34d75b(0x2c3)](_0x4d5880,_0x496f95,_0x120f53,_0x5a2286){this['_updateModelCache'](_0x4d5880,_0x496f95,_0x120f53,_0x5a2286);}['getPivotTableConfig'](_0xc8bfc9,_0x27bc4a,_0x531d77){const _0x159bc8=_0x34d75b;var _0x39af72,_0x19467b;const _0x57eab9=(_0x19467b=(_0x39af72=this[_0x159bc8(0x13f)]['get'](_0xc8bfc9))==null?void 0x0:_0x39af72[_0x159bc8(0x42f)](_0x27bc4a))==null?void 0x0:_0x19467b[_0x159bc8(0x42f)](_0x531d77);if(_0x57eab9)return _0x57eab9;}[_0x34d75b(0x3bd)](_0x1a7e8c,_0x3040ef,_0x5e0f14){const _0x5b4a66=_0x34d75b;var _0x17f803,_0x5b0579;const _0x4e524e=(_0x5b0579=(_0x17f803=this['_model'][_0x5b4a66(0x42f)](_0x1a7e8c))==null?void 0x0:_0x17f803[_0x5b4a66(0x42f)](_0x3040ef))==null?void 0x0:_0x5b0579[_0x5b4a66(0x42f)](_0x5e0f14);if(_0x4e524e)return _0x4e524e[_0x5b4a66(0x35f)];}[_0x34d75b(0x179)](_0x13cc64){const _0xad59f7=_0x34d75b;return this[_0xad59f7(0x373)][_0xad59f7(0x42f)](_0x13cc64);}[_0x34d75b(0x1bd)](_0x4a1a22){const _0x2254c3=_0x34d75b;this[_0x2254c3(0x13f)][_0x2254c3(0x221)](_0x4a1a22);const _0x3f7f25=this[_0x2254c3(0x198)][_0x2254c3(0x42f)](_0x4a1a22);_0x3f7f25&&(_0x3f7f25[_0x2254c3(0x2f3)](),this[_0x2254c3(0x198)][_0x2254c3(0x221)](_0x4a1a22)),this[_0x2254c3(0x322)][_0x2254c3(0x221)](_0x4a1a22),this[_0x2254c3(0x300)][_0x2254c3(0x3f0)](_0x4b10b1=>{const _0x2ae699=_0x2254c3;_0x4b10b1[_0x2ae699(0x1bd)](_0x4a1a22);});}['addCollectionByJSON'](_0x1387d7,_0x396185,_0x26be2d,_0x48b841){const _0xf137c6=_0x34d75b;return this[_0xf137c6(0x1a3)](_0x26be2d[_0xf137c6(0x167)])[_0xf137c6(0x38f)](_0x1387d7,_0x396185,_0x26be2d,_0x48b841);}['createCollectionWithDataRange'](_0xdfa6a8){const _0x455dd2=_0x34d75b;return this[_0x455dd2(0x1a3)](_0xdfa6a8[_0x455dd2(0x167)])[_0x455dd2(0x2a3)](_0xdfa6a8);}[_0x34d75b(0x30e)](_0xf5c909,_0x5a8a0f,_0x58f7d2){const _0x1773f2=_0x34d75b;this[_0x1773f2(0x1a3)](_0x58f7d2[_0x1773f2(0x167)])[_0x1773f2(0x30e)](_0xf5c909,_0x5a8a0f,_0x58f7d2);}[_0x34d75b(0x222)](_0x56b72c,_0x13b259){const _0x103b42=_0x34d75b;this[_0x103b42(0x1a3)](_0x56b72c)[_0x103b42(0x371)](_0x13b259);}[_0x34d75b(0x2a9)](_0x49d698,_0x296fcd){const _0x15c793=_0x34d75b;this[_0x15c793(0x1a3)](_0x49d698)[_0x15c793(0x333)](_0x296fcd);}['getSubUnitPivotConfigs'](_0x32c4ef,_0x5cdee2){const _0xcac5d5=_0x34d75b;var _0x4ebb88;return(_0x4ebb88=this['_model'][_0xcac5d5(0x42f)](_0x32c4ef))==null?void 0x0:_0x4ebb88[_0xcac5d5(0x42f)](_0x5cdee2);}[_0x34d75b(0x278)](_0x1ab376){const _0x5a9a08=_0x34d75b;for(const [_0x585b15,_0x2edb63]of this[_0x5a9a08(0x13f)]['entries']())for(const [_0x3b2973,_0x1ba716]of _0x2edb63['entries']())if(_0x1ba716[_0x5a9a08(0x210)](_0x1ab376))return{'unitId':_0x585b15,'subUnitId':_0x3b2973};return null;}['sideEffectUpdateWorkerCache'](_0x6823c1,_0x11ff19,_0x423a04,_0x26d1be){const _0xbb0965=_0x34d75b,_0x5d7790=this[_0xbb0965(0x2e6)](_0x6823c1,_0x11ff19);_0x26d1be?_0x5d7790[_0xbb0965(0x314)](_0x423a04,_0x26d1be):_0x5d7790['delete'](_0x423a04),this[_0xbb0965(0x339)][_0xbb0965(0x1fc)]({'unitId':_0x6823c1,'subUnitId':_0x11ff19,'pivotTableId':_0x423a04});}[_0x34d75b(0x2f3)](){super['dispose']();}[_0x34d75b(0x3fe)](_0x556c13,_0x25bea8,_0xb617b){const _0x32d37a=_0x34d75b;var _0x51424b,_0x3a27fd;const _0x3d427c=(_0x3a27fd=(_0x51424b=this[_0x32d37a(0x322)]['get'](_0x556c13))==null?void 0x0:_0x51424b[_0x32d37a(0x42f)](_0x25bea8))==null?void 0x0:_0x3a27fd[_0x32d37a(0x42f)](_0xb617b);return _0x3d427c||null;}[_0x34d75b(0x1aa)](_0xce6387){const _0x463e1e=_0x34d75b;this[_0x463e1e(0x165)](_0xce6387);}[_0x34d75b(0x165)](_0x4bca46){const _0x187ba9=_0x34d75b,{token:_0x2e2e4e,unitId:_0x1f6caa,subUnitId:_0x37b8c0}=_0x4bca46,_0x4c3161=_0x1f6caa+'-'+_0x37b8c0+'-'+_0x2e2e4e;this[_0x187ba9(0x119)]['get'](_0x4c3161)&&clearTimeout(this[_0x187ba9(0x119)][_0x187ba9(0x42f)](_0x4c3161));const _0x1151e9=setTimeout(()=>{const _0x13d78a=_0x187ba9;this['queryDirtyPivotTable'](_0x4bca46),this[_0x13d78a(0x119)][_0x13d78a(0x221)](_0x4c3161);},_0x1a7670);this[_0x187ba9(0x119)]['set'](_0x4c3161,_0x1151e9);}['queryDirtyPivotTable'](_0x2ed944){const _0x2856e3=_0x34d75b,{unitId:_0x989142,subUnitId:_0x579d46,token:_0x41d8ee,type:_0x2a6986,pivotConfig:_0x46926b}=_0x2ed944,_0x1c90ba=this[_0x2856e3(0x179)](_0x41d8ee),_0x15a345=_0x1c90ba==null?void 0x0:_0x1c90ba[_0x2856e3(0x1a4)](),_0xd472b9=_0x46926b!=null?_0x46926b:this[_0x2856e3(0x2d5)](_0x989142,_0x579d46,_0x41d8ee);_0xd472b9&&(_0xd472b9['isEmpty']=!!(_0x1c90ba!=null&&_0x1c90ba[_0x2856e3(0x381)]())),(_0x15a345||_0x2a6986===_0x635b2f['Delete'])&&this['updateView'](_0x989142,_0x579d46,_0x2a6986,_0x41d8ee,_0x15a345,_0xd472b9,this['getDataFieldManager'](_0x989142)['toJSON']());}[_0x34d75b(0x15f)](_0x819a67){const _0x1e33d0=_0x34d75b,_0x4a75c6={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['getDataFieldManager'](_0x819a67)&&(_0x4a75c6['dataFieldManagerConfig'][_0x819a67]=this[_0x1e33d0(0x1a3)](_0x819a67)['toJSON']()),this[_0x1e33d0(0x13f)][_0x1e33d0(0x42f)](_0x819a67)){_0x4a75c6[_0x1e33d0(0x375)][_0x819a67]={};const _0x1f726a=this['_model'][_0x1e33d0(0x42f)](_0x819a67);_0x1f726a!=null&&_0x1f726a[_0x1e33d0(0x26c)]&&[..._0x1f726a[_0x1e33d0(0x2ec)]()][_0x1e33d0(0x3f0)](_0x4685c5=>{const _0x13ba2a=_0x1e33d0,_0x5b6430=_0x1f726a['get'](_0x4685c5);_0x5b6430!=null&&_0x5b6430[_0x13ba2a(0x26c)]&&(_0x4a75c6[_0x13ba2a(0x375)][_0x819a67][_0x4685c5]={},[..._0x5b6430[_0x13ba2a(0x2ec)]()][_0x13ba2a(0x3f0)](_0x569b20=>{const _0x5bba81=_0x13ba2a,_0x2f465c=_0x5b6430[_0x5bba81(0x42f)](_0x569b20);_0x2f465c&&(_0x4a75c6[_0x5bba81(0x375)][_0x819a67][_0x4685c5][_0x569b20]=_0x2f465c);}));});}return _0x4a75c6;}['fromJSON'](_0x4320a1){const _0x5d4687=_0x34d75b;var _0x25fc6a;const {dataFieldManagerConfig:_0x9eb532,pivotTableConfigs:_0x25891f}=_0x4320a1;_0x9eb532&&Object['keys'](_0x9eb532)['forEach'](_0x330085=>{const _0x160346=_0x2082;this[_0x160346(0x1a3)](_0x330085)[_0x160346(0x169)](_0x9eb532[_0x330085]);});const _0x589d42=[];if(_0x25891f){const _0x3d0952=(_0x25fc6a=this[_0x5d4687(0x264)]['get'](_0x17cbc5[_0x5d4687(0x234)])['getConfig'](_0x5e3b4f[_0x5d4687(0x250)]))!=null?_0x25fc6a:{},{ls:_0x3437c9,pbk:_0x54cd77}=_0x3d0952,_0x28c984=_0x1f03e8(_0x558300,_0x3437c9,_0x54cd77)['count'];Object[_0x5d4687(0x2ec)](_0x25891f)['forEach'](_0x25c8a0=>{const _0x16b370=_0x5d4687;let _0x8b391=0x0;const _0x1f2606=_0x25891f[_0x25c8a0];Object[_0x16b370(0x2ec)](_0x1f2606)[_0x16b370(0x3f0)](_0x1a941d=>{const _0xd80263=_0x16b370,_0x36de86=_0x1f2606[_0x1a941d];Object[_0xd80263(0x2ec)](_0x36de86)[_0xd80263(0x3f0)](_0x1626ad=>{const _0x27fa91=_0xd80263,_0x4ab8c1=_0x36de86[_0x1626ad];if(_0x4ab8c1){if(_0x8b391>=_0x28c984)return;_0x8b391++;const _0x37d1d1=this['getDataFieldManager'](_0x25c8a0),_0x3fdda8=_0x37d1d1[_0x27fa91(0x304)][_0x1626ad],_0x352a3a=_0x3fdda8[_0x27fa91(0x20b)]();let _0xa42f5f=0x0;const _0x53693f=[];for(const _0x4f5f66 of _0x352a3a){const _0x4688d9=_0x3fdda8['getFieldById'](_0x4f5f66);if(_0x4c0fcb[_0x27fa91(0x27d)](_0x4688d9)){const _0xfefff0=_0x4688d9[_0x27fa91(0x12c)](),_0x882693=_0x3fdda8[_0x27fa91(0x3b7)](_0xfefff0);_0x882693&&_0x53693f[_0x27fa91(0x30f)]([_0x4688d9,_0x882693]);continue;}_0x37d1d1[_0x27fa91(0x359)](_0x4f5f66,_0x4ab8c1[_0x27fa91(0x3a9)],_0xa42f5f),_0xa42f5f++;}_0x53693f[_0x27fa91(0x3f0)](([_0x2fe4d3,_0x359e17])=>{const _0x4474d1=_0x27fa91;_0x2fe4d3[_0x4474d1(0x2b7)](_0x359e17);});const _0x396637=new _0x4c0fcb[(_0x27fa91(0x20a))](_0x3fdda8);_0x396637[_0x27fa91(0x169)](_0x4ab8c1['fieldsConfig']),this[_0x27fa91(0x3fc)](_0x25c8a0,_0x1a941d,_0x1626ad,_0x396637,_0x4ab8c1);const _0x2c64e0=_0x396637['query']();_0x589d42['push']({'unitId':_0x25c8a0,'subUnitId':_0x1a941d,'pivotTableId':_0x1626ad,'view':_0x2c64e0[_0x27fa91(0x15f)](),'pivotConfig':_0x4ab8c1,'type':_0x635b2f[_0x27fa91(0x256)]});const _0x30a269=!!_0x396637[_0x27fa91(0x381)](),_0x6d6685={'view':_0x2c64e0,'pivotTableId':_0x1626ad,'textInfo':this[_0x27fa91(0x32b)](),'isEmpty':_0x30a269,'targetCellInfo':_0x4ab8c1[_0x27fa91(0x183)]};this[_0x27fa91(0x1e5)](_0x6d6685,!0x1);}});});});}_0x9eb532&&Object[_0x5d4687(0x2ec)](_0x9eb532)[_0x5d4687(0x3f0)](_0x3d4191=>{const _0x2cc637=_0x5d4687,_0x15f5cc=this[_0x2cc637(0x1a3)](_0x3d4191);this[_0x2cc637(0x2b2)][_0x2cc637(0x1fc)](_0x15f5cc[_0x2cc637(0x304)]);}),this[_0x5d4687(0x260)][_0x5d4687(0x1df)](_0x1f2b5f['id'],{'batch':_0x589d42,'collectionConfig':_0x9eb532},{'onlyLocal':!0x0});}['_initSnapshot'](){const _0x489fd2=_0x34d75b;this[_0x489fd2(0x216)](this[_0x489fd2(0x317)]['registerPluginResource']({'toJson':_0x468a05=>JSON['stringify'](this[_0x489fd2(0x15f)](_0x468a05)),'parseJson':_0x5141d1=>{const _0x1507de=_0x489fd2;if(!_0x5141d1)return{};try{return JSON[_0x1507de(0x37b)](_0x5141d1);}catch{return{};}},'businesses':[_0x17cbc5[_0x489fd2(0x1f1)]['UNIVER_SHEET']],'pluginName':_0x3f2959,'onLoad':(_0xadaff6,_0x566c83)=>{const _0x4ad3dc=_0x489fd2;this[_0x4ad3dc(0x169)](_0x566c83);},'onUnLoad':_0x2742f7=>{const _0xa7e8e6=_0x489fd2;this[_0xa7e8e6(0x1bd)](_0x2742f7);}}));}},_0x1f106f['SheetsPivotDataSourceModel']=_0x12455c([_0x3624c2(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x309)])),_0x3624c2(0x1,_0x17cbc5[_0x34d75b(0x204)]),_0x3624c2(0x2,_0x17cbc5['Inject'](_0x17cbc5[_0x34d75b(0x2ff)])),_0x3624c2(0x3,_0x17cbc5[_0x34d75b(0x275)]),_0x3624c2(0x4,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x36a)]))],_0x1f106f[_0x34d75b(0x13e)]);const _0x28b2d2={0x0:{0x0:{'v':_0x34d75b(0x33a),'s':_0x21984c}},0x2:{0x1:{'v':'','s':_0x21984c},0x2:{'v':'','s':_0x21984c},0x3:{'v':_0x34d75b(0x3ba),'s':_0x21984c},0x4:{'v':'','s':_0x21984c},0x5:{'v':'','s':_0x21984c}},0x3:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0x4:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0x5:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0x6:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0x7:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0x8:{0x0:{'v':_0x34d75b(0x2b4),'s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':_0x34d75b(0x3dc),'s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0x9:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0xa:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0xb:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0xc:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}},0xd:{0x0:{'v':'','s':_0x21984c},0x1:{'v':'','s':_0x15420a},0x2:{'v':'','s':_0x15420a},0x3:{'v':'','s':_0x15420a},0x4:{'v':'','s':_0x15420a},0x5:{'v':'','s':_0x15420a}}},_0x45807a={'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':[]},_0x1ade2b=(_0x5b5aeb,_0x4455fe)=>{const _0x4874e4=_0x34d75b,_0x55f232=new _0x17cbc5[(_0x4874e4(0x1c4))](),_0x3ec31c=new _0x17cbc5[(_0x4874e4(0x1c4))](_0x28b2d2),{row:_0x4a49c9,col:_0x325204}=_0x4455fe;_0x3ec31c['forValue']((_0x30b681,_0x401753,_0x6c159c)=>{const _0x4e6f61=_0x4874e4;let _0x5eef9e='';_0x6c159c['v']===_0x4e6f61(0x33a)?_0x5eef9e=_0x5b5aeb[_0x4e6f61(0x33a)]:_0x6c159c['v']===_0x4e6f61(0x2b4)?_0x5eef9e=_0x5b5aeb[_0x4e6f61(0x2b4)]:_0x6c159c['v']===_0x4e6f61(0x3ba)?_0x5eef9e=_0x5b5aeb['column']:_0x6c159c['v']===_0x4e6f61(0x3dc)&&(_0x5eef9e=_0x5b5aeb[_0x4e6f61(0x3dc)]),_0x55f232[_0x4e6f61(0x370)](_0x30b681+_0x4a49c9,_0x401753+_0x325204,{..._0x6c159c,'v':_0x5eef9e});});const _0x196c9b=_0x17cbc5[_0x4874e4(0x115)]['deepClone'](_0x45807a);return Object['keys'](_0x45807a)[_0x4874e4(0x3f0)](_0x25cdfe=>{const _0x4ef885=_0x4874e4;_0x196c9b[_0x25cdfe]=_0x45807a[_0x25cdfe][_0x4ef885(0x1be)](_0x5333bf=>({..._0x5333bf,'startRow':_0x5333bf[_0x4ef885(0x191)]+_0x4a49c9,'endRow':_0x5333bf['endRow']+_0x4a49c9,'startColumn':_0x5333bf['startColumn']+_0x325204,'endColumn':_0x5333bf['endColumn']+_0x325204}));}),{'matrixCache':_0x55f232,'rangesCache':_0x196c9b};};function _0x28966d(_0x429b3d,_0x489060){const _0x501b46=_0x34d75b;let _0x37589e='';const _0x105203=this[_0x501b46(0x32b)]();switch(_0x489060){case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x35d)]:_0x37589e=_0x105203['sheets-pivot.averageName']+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x1ba)]:_0x37589e=_0x105203[_0x501b46(0x160)]+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x1e1)]:_0x37589e=_0x105203['sheets-pivot.countNumsName']+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x388)]:_0x37589e=_0x105203[_0x501b46(0x23a)]+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)]['min']:_0x37589e=_0x105203['sheets-pivot.minName']+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x25f)]:_0x37589e=_0x105203[_0x501b46(0x2f0)]+_0x429b3d;break;case _0x4c0fcb['PivotSubtotalTypeEnum']['stdDev']:_0x37589e=_0x105203[_0x501b46(0x3d4)]+_0x429b3d;break;case _0x4c0fcb['PivotSubtotalTypeEnum'][_0x501b46(0x246)]:_0x37589e=_0x105203['sheets-pivot.stdDevpName']+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x212)]:_0x37589e=_0x105203[_0x501b46(0x2be)]+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x12f)]:_0x37589e=_0x105203[_0x501b46(0x344)]+_0x429b3d;break;case _0x4c0fcb[_0x501b46(0x236)][_0x501b46(0x431)]:_0x37589e=_0x105203[_0x501b46(0x2ac)]+_0x429b3d;break;default:_0x37589e=_0x429b3d;break;}return _0x37589e;}function _0x5349b6(_0x33eb1e,_0x259d0f,_0x2e230a,_0x58cd16,_0x17d93a){const _0x2e8aa3=_0x34d75b;var _0xe46f77,_0x117f66,_0x60fcf9,_0x3e67ac,_0x537a85;const _0xf088c3=_0x17cbc5[_0x2e8aa3(0x1c9)](_0x33eb1e,_0x259d0f),{rangesInfo:_0x42a201,areaInfo:_0x1f2aab,headerMap:_0x57534b}=_0x17d93a;if(!_0x42a201||!_0x1f2aab||!_0x57534b)return;const _0x3e5d40=Object['keys'](_0x42a201)['find'](_0x5ac49b=>_0x42a201[_0x5ac49b]['some'](_0xfb769d=>_0x17cbc5['Rectangle']['contains'](_0xfb769d,_0xf088c3))),_0x9cf9e7=_0x1f2aab;let _0x5841a3,_0x204e18,_0x13777a;if(_0x3e5d40===_0x2e8aa3(0x11f))_0x5841a3=(_0xe46f77=_0x9cf9e7==null?void 0x0:_0x9cf9e7[_0x2e8aa3(0x265)])==null?void 0x0:_0xe46f77[_0x33eb1e],_0x204e18=(_0x117f66=_0x57534b==null?void 0x0:_0x57534b[_0x2e8aa3(0x385)])==null?void 0x0:_0x117f66[_0x259d0f],_0x13777a=_0x204e18==null?void 0x0:_0x204e18[_0x2e8aa3(0x107)];else{if(_0x3e5d40===_0x2e8aa3(0x296))_0x5841a3=(_0x60fcf9=_0x9cf9e7==null?void 0x0:_0x9cf9e7[_0x2e8aa3(0x3e0)])==null?void 0x0:_0x60fcf9[_0x259d0f],_0x204e18=(_0x3e67ac=_0x57534b[_0x2e8aa3(0x1b5)])==null?void 0x0:_0x3e67ac[_0x33eb1e+0x1+_0x259d0f-_0x42a201['colRanges'][0x0][_0x2e8aa3(0x33c)]],_0x13777a=_0x204e18==null?void 0x0:_0x204e18[_0x2e8aa3(0x107)];else{if(_0x3e5d40===_0x2e8aa3(0x13a))_0x5841a3=(_0x537a85=_0x9cf9e7==null?void 0x0:_0x9cf9e7['cornerInfo'])==null?void 0x0:_0x537a85[_0x259d0f],_0x13777a=_0x5841a3==null?void 0x0:_0x5841a3[_0x2e8aa3(0x107)];else{if(_0x3e5d40===_0x2e8aa3(0x266)){const _0x8944bc=_0x2e230a==null?void 0x0:_0x2e230a['fi'];_0x8944bc!==void 0x0&&(_0x13777a=_0x58cd16[_0x2e8aa3(0x335)](_0x8944bc));}}}}return{'filterId':_0x13777a,'info':_0x5841a3,'data':_0x2e230a,'headerInfo':_0x204e18};}function _0x13a315(_0x45569,_0x35f2a8,_0x2b4c50){const _0x16519f=_0x34d75b,_0x5127c9=_0x45569[_0x16519f(0x337)],_0x296344=_0x5127c9[_0x16519f(0x20b)](),_0xc651e7=new Set();_0x45569[_0x16519f(0x38c)](_0x266182=>{const _0x370563=_0x16519f;_0xc651e7[_0x370563(0x283)](_0x266182[_0x370563(0x1b4)]);});const _0x3483e6=_0x296344['map'](_0x309716=>{const _0x40acfb=_0x16519f,_0x13ac88=_0x5127c9[_0x40acfb(0x3b7)](_0x309716);return{'checked':_0xc651e7[_0x40acfb(0x210)](_0x309716),'dataFieldId':_0x13ac88['id'],'id':_0x13ac88['id'],'name':_0x5127c9[_0x40acfb(0x3ee)](_0x13ac88['id']),'type':_0x13ac88[_0x40acfb(0x22d)](),'pivotTableId':_0x35f2a8};}),_0x35b20d=[];_0x45569['iterateFieldByArea'](_0x4c0fcb[_0x16519f(0x350)][_0x16519f(0x34b)],_0x186c41=>{const _0x1cf136=_0x16519f;_0x35b20d[_0x1cf136(0x30f)]({'dataFieldId':_0x186c41['dataFieldId'],'tableFieldId':_0x186c41[_0x1cf136(0x271)](),'displayName':_0x186c41[_0x1cf136(0x3ee)]()});});const _0x22fc15=[];_0x45569[_0x16519f(0x410)](_0x4c0fcb[_0x16519f(0x350)][_0x16519f(0x347)],_0x122493=>{const _0x42daa8=_0x16519f;_0x22fc15[_0x42daa8(0x30f)]({'dataFieldId':_0x122493[_0x42daa8(0x1b4)],'tableFieldId':_0x122493[_0x42daa8(0x271)](),'displayName':_0x122493[_0x42daa8(0x3ee)]()});});const _0x37ecce=[];if(_0x45569[_0x16519f(0x410)](_0x4c0fcb[_0x16519f(0x350)][_0x16519f(0x1d0)],_0xe4936=>{const _0x49bc1e=_0x16519f;_0x37ecce[_0x49bc1e(0x30f)]({'dataFieldId':_0xe4936[_0x49bc1e(0x1b4)],'tableFieldId':_0xe4936[_0x49bc1e(0x271)](),'displayName':_0xe4936[_0x49bc1e(0x3ee)](),'format':_0xe4936['getFormat'](),'subTotalType':_0xe4936[_0x49bc1e(0x416)]()});}),_0x37ecce['length']>0x1){const _0xf3d9c5=_0x45569[_0x16519f(0x361)]();(_0x45569['isColMultiMeasure']()?_0x22fc15:_0x35b20d)['splice'](_0xf3d9c5,0x0,{'dataFieldId':'','tableFieldId':_0x16519f(0x419),'displayName':_0x16519f(0x1b9)});}const _0x1264d2=[];_0x45569[_0x16519f(0x410)](_0x4c0fcb[_0x16519f(0x350)]['Filter'],_0x5e076a=>{const _0x592869=_0x16519f;_0x1264d2[_0x592869(0x30f)]({'dataFieldId':_0x5e076a['dataFieldId'],'tableFieldId':_0x5e076a[_0x592869(0x271)](),'displayName':_0x5e076a[_0x592869(0x3ee)]()});});const _0x4ef39d=_0x2b4c50[_0x16519f(0x3a9)];return{'sourceList':_0x3483e6,'sourceRange':_0x4ef39d,'rowFields':_0x35b20d,'columnFields':_0x22fc15,'valueFields':_0x37ecce,'filterFields':_0x1264d2,'positionInfo':_0x2b4c50[_0x16519f(0x183)]};}function _0x260e97(_0x3a9982,_0x3b1769,_0x52be9d='',_0x3365ac={}){const _0x176669=_0x34d75b,_0x1e02ef=_0x3a9982[_0x176669(0x42f)](_0x17cbc5['LocaleService']);for(const _0x253d4c in _0x3b1769)if(Object['prototype'][_0x176669(0x368)][_0x176669(0x1fd)](_0x3b1769,_0x253d4c)){const _0x7f4477=_0x52be9d?_0x52be9d+'.'+_0x253d4c:_0x253d4c;typeof _0x3b1769[_0x253d4c]==_0x176669(0x28c)&&_0x3b1769[_0x253d4c]!==null&&!Array[_0x176669(0x242)](_0x3b1769[_0x253d4c])?_0x260e97(_0x3a9982,_0x3b1769[_0x253d4c],_0x7f4477,_0x3365ac):_0x3365ac[_0x7f4477]=_0x1e02ef['t'](_0x7f4477);}return _0x3365ac;}const _0x59c4b0=_0x415011=>{const _0x249fb8=_0x34d75b;if(!_0x415011)return[];const {rowRanges:_0x355317,colRanges:_0x4bec9c,cornerRanges:_0x403b25,dataRanges:_0x1ac123,pageRanges:_0x4fdc96}=_0x415011,_0x8b6cfc=[..._0x4bec9c,..._0x355317,..._0x1ac123,..._0x403b25]['filter'](_0x498d05=>_0x498d05[_0x249fb8(0x191)]>=0x0&&_0x498d05[_0x249fb8(0x33c)]>=0x0&&_0x498d05[_0x249fb8(0x273)]>=0x0&&_0x498d05[_0x249fb8(0x357)]>=0x0);let _0xa292ee=Number['MAX_SAFE_INTEGER'],_0x17450e=Number[_0x249fb8(0x403)],_0x1d051f=Number['MAX_SAFE_INTEGER'],_0x532d8c=Number['MIN_SAFE_INTEGER'];for(let _0x5e6c84=0x0;_0x5e6c84<_0x8b6cfc[_0x249fb8(0x233)];_0x5e6c84++)_0xa292ee=Math[_0x249fb8(0x41e)](_0xa292ee,_0x8b6cfc[_0x5e6c84]['startRow']),_0x17450e=Math[_0x249fb8(0x388)](_0x17450e,_0x8b6cfc[_0x5e6c84][_0x249fb8(0x273)]),_0x1d051f=Math[_0x249fb8(0x41e)](_0x1d051f,_0x8b6cfc[_0x5e6c84]['startColumn']),_0x532d8c=Math['max'](_0x532d8c,_0x8b6cfc[_0x5e6c84][_0x249fb8(0x357)]);return[..._0x4fdc96,{'startRow':_0xa292ee,'endRow':_0x17450e,'startColumn':_0x1d051f,'endColumn':_0x532d8c}];};function _0x199f4f(_0x27aad8,_0x4fead7){const _0x4a5045=_0x34d75b,_0x31b6c9=_0x4fead7['params']['drillDown'],{pivotTableId:_0x503bdf,unitId:_0x381c24,subUnitId:_0x3e8091}=_0x4fead7;if(!_0x31b6c9)return;const _0x5914e2=_0x27aad8[_0x4a5045(0x42f)](_0x1f106f[_0x4a5045(0x13e)]),_0x348bb0=_0x5914e2[_0x4a5045(0x179)](_0x503bdf),_0x479106=_0x5914e2[_0x4a5045(0x2d5)](_0x381c24,_0x3e8091,_0x503bdf);if(!_0x348bb0||!_0x479106)return;const _0x7364c0=_0x348bb0['getIndexesByPathStr'](_0x31b6c9[_0x4a5045(0x295)]);if(!(_0x7364c0!=null&&_0x7364c0[_0x4a5045(0x233)]))return;const _0x1a1e96=_0x479106[_0x4a5045(0x3a9)],{unitId:_0x4368cb,subUnitId:_0x4db36e,range:_0x106900}=_0x1a1e96;let _0x50e43c=0x0;const _0x507900=_0x348bb0[_0x4a5045(0x337)][_0x4a5045(0x20b)]()[_0x4a5045(0x2fd)]((_0x1a83f8,_0x12498a)=>{const _0x13f5a8=_0x4a5045;var _0x478509;const _0x37e6d8=(_0x478509=_0x348bb0['getDataFieldByDataFieldId'](_0x12498a))==null?void 0x0:_0x478509[_0x13f5a8(0x376)]();return _0x37e6d8&&(_0x1a83f8[String(_0x50e43c)]=_0x37e6d8),_0x50e43c++,_0x1a83f8;},{});return{'indexes':_0x7364c0,'range':_0x106900,'sourceUnitId':_0x4368cb,'sourceSubUnitId':_0x4db36e,'formatMap':_0x507900};}function _0x510277(_0x2fbb27,_0x3458e9){const _0x187538=_0x34d75b;if(!_0x2fbb27||!_0x3458e9)return!0x0;const _0xf9621d=_0x5e3b4f[_0x187538(0x389)](_0x1c4fc3,_0x5dcfe3),_0x51a8d5=new Function(_0x187538(0x2da)+_0xf9621d)()(_0x2fbb27,_0x3458e9)[_0x187538(0x138)],_0xa1dac9=_0x5e3b4f[_0x187538(0x334)](_0x51a8d5,'sf',_0x2d3eae);return!((_0x51a8d5==null?void 0x0:_0x51a8d5['rt'])===_0x5e3b4f[_0x187538(0x409)][_0x187538(0x366)]&&!_0xa1dac9);}function _0x1f03e8(_0xe78d92,_0x2519d2,_0xccb43c){const _0x414ebd=_0x34d75b,_0x1d774f={'count':_0xe78d92,'timeValid':!0x1};if(!_0x2519d2||!_0xccb43c)return _0x1d774f;const _0x43a0ff=_0x5e3b4f[_0x414ebd(0x389)](_0x1c4fc3,_0x5dcfe3),_0x432dd0=new Function(_0x414ebd(0x2da)+_0x43a0ff)()(_0x2519d2,_0xccb43c);if(_0x432dd0!=null&&_0x432dd0[_0x414ebd(0x25a)]){const _0x593978=_0x432dd0[_0x414ebd(0x138)],_0x517d49=_0x5e3b4f[_0x414ebd(0x334)](_0x593978,'sf',_0x2d3eae);return{'count':_0x5e3b4f[_0x414ebd(0x1cb)](_0x593978,_0x517d49,_0x414ebd(0x157),_0xe78d92,_0xe78d92,0x0),'timeValid':_0x517d49};}return _0x1d774f;}function _0x496553(_0xa5f0d2,_0x19464d,_0x26c805,_0x23c52d){const _0x340f80=_0x34d75b,_0x1ba390={'subUnitId':_0x26c805,'unitId':_0x19464d,'cellValue':_0x57279f[_0x340f80(0x42e)](_0x23c52d)},_0x46918f=_0x57279f['SetRangeValuesUndoMutationFactory'](_0xa5f0d2,_0x1ba390);let _0x461053=!0x1;return new _0x17cbc5['ObjectMatrix'](_0x46918f[_0x340f80(0x320)])[_0x340f80(0x26a)]((_0x1657f0,_0x4ce083,_0x4b6af9)=>{const _0x42fd44=_0x340f80;if(!_0x461053&&_0x4b6af9&&(_0x4b6af9[_0x42fd44(0x226)]||_0x4b6af9['f']||_0x4b6af9['p']||_0x4b6af9['s']||_0x4b6af9['si']||_0x4b6af9['t']||_0x4b6af9['v']))return _0x461053=!0x0,!0x1;}),{'setRangeValueUndoMutation':{'id':_0x57279f[_0x340f80(0x254)]['id'],'params':_0x46918f},'setRangeValueRedoMutation':{'id':_0x57279f[_0x340f80(0x254)]['id'],'params':_0x1ba390},'shouldClear':_0x461053};}function _0x3622de(_0x32ea08){const {row:_0x529e63,col:_0x3e384f}=_0x32ea08,_0xc64eee={'startRow':_0x529e63,'endRow':_0x529e63,'startColumn':_0x3e384f,'endColumn':_0x3e384f},_0x3accab={'startRow':_0x529e63+0x2,'endRow':_0x529e63+0xe,'startColumn':_0x3e384f,'endColumn':_0x3e384f+0x6};return[_0xc64eee,_0x3accab];}function _0x2ff045(_0x11a09c,_0x3a858f,_0x49c14e){const _0x35a5a4=_0x34d75b,{cornerView:_0x67e02c,rowView:_0x4a85a2,colView:_0x8d1ea9,pageView:_0x5a71b5}=_0x11a09c,{row:_0x11e245,col:_0x34d6fb}=_0x3a858f;if(_0x49c14e)return{'rowCount':_0x1733b8+_0x11e245,'colCount':_0x5b1e60+_0x34d6fb};const _0x26474c=_0x5a71b5[_0x35a5a4(0x15e)]>-0x1?_0x5a71b5['lastRow']+0x1:0x0,_0x54bc45=_0x5a71b5[_0x35a5a4(0x3f9)]>-0x1?_0x5a71b5['lastCol']:0x0,_0x1b59b3=_0x11e245+_0x26474c+(_0x26474c?0x1:0x0)+_0x67e02c[_0x35a5a4(0x104)]+_0x4a85a2[_0x35a5a4(0x104)],_0x35ec5b=_0x34d6fb+_0x54bc45,_0x4bfba8=_0x34d6fb+_0x67e02c['colCount']+_0x8d1ea9[_0x35a5a4(0x113)],_0x49e923=Math[_0x35a5a4(0x388)](_0x35ec5b,_0x4bfba8);return{'rowCount':_0x1b59b3,'colCount':_0x49e923};}function _0xa15f20(_0x937123,_0xa8514e,_0x7cd3bf,_0x2ba133){const _0xa2a0a5=_0x34d75b,{row:_0x12d5db,col:_0x7c723c,unitId:_0x37a6b0,subUnitId:_0x535927}=_0x7cd3bf,_0x168101=_0x2ff045(_0xa8514e,{'row':_0x12d5db,'col':_0x7c723c},_0x2ba133),_0x37b22e=_0x937123[_0xa2a0a5(0x42f)](_0x17cbc5[_0xa2a0a5(0x204)]),_0x33e3be=_0x57279f['getSheetCommandTarget'](_0x37b22e,{'unitId':_0x37a6b0,'subUnitId':_0x535927}),_0x3a5bc7=[],_0x4658d4=[];if(!_0x33e3be)return{'undos':_0x4658d4,'redos':_0x3a5bc7};const {worksheet:_0x487d84}=_0x33e3be,_0x5df98c=_0x487d84[_0xa2a0a5(0x3d7)](),_0x48ca11=_0x487d84['getColumnCount']();return _0x5df98c<_0x168101[_0xa2a0a5(0x104)]&&(_0x3a5bc7['push']({'id':_0x57279f[_0xa2a0a5(0x3b0)]['id'],'params':{'unitId':_0x37a6b0,'subUnitId':_0x535927,'range':{'startRow':_0x5df98c,'endRow':_0x168101[_0xa2a0a5(0x104)]-0x1,'startColumn':0x0,'endColumn':_0x48ca11-0x1}}}),_0x4658d4[_0xa2a0a5(0x30f)]({'id':_0x57279f[_0xa2a0a5(0x150)]['id'],'params':{'unitId':_0x37a6b0,'subUnitId':_0x535927,'range':{'startRow':_0x5df98c,'endRow':_0x168101[_0xa2a0a5(0x104)]-0x1,'startColumn':0x0,'endColumn':_0x48ca11-0x1}}})),_0x48ca11<_0x168101[_0xa2a0a5(0x113)]&&(_0x3a5bc7[_0xa2a0a5(0x30f)]({'id':_0x57279f[_0xa2a0a5(0x247)]['id'],'params':{'unitId':_0x37a6b0,'subUnitId':_0x535927,'range':{'startRow':0x0,'endRow':_0x5df98c-0x1,'startColumn':_0x48ca11,'endColumn':_0x168101[_0xa2a0a5(0x113)]-0x1}}}),_0x4658d4[_0xa2a0a5(0x30f)]({'id':_0x57279f[_0xa2a0a5(0x423)]['id'],'params':{'unitId':_0x37a6b0,'subUnitId':_0x535927,'range':{'startRow':0x0,'endRow':_0x5df98c-0x1,'startColumn':_0x48ca11,'endColumn':_0x168101[_0xa2a0a5(0x113)]-0x1}}})),{'undos':_0x4658d4,'redos':_0x3a5bc7};}function _0x549ae9(_0x48e0d1){const _0x5471b2=_0x34d75b;let _0x23995e=0x0;for(let _0x260120=0x0;_0x260120<_0x48e0d1[_0x5471b2(0x233)];_0x260120++){const _0x4d39ee=_0x48e0d1['charCodeAt'](_0x260120);_0x4d39ee>=0x4e00&&_0x4d39ee<=0x9fff||_0x4d39ee>=0x3000&&_0x4d39ee<=0x303f||_0x4d39ee>=0xff00&&_0x4d39ee<=0xffef?_0x23995e+=0x2:_0x23995e+=0x1;}return _0x23995e;}function _0x3e0dce(_0x28178b,_0x4c764a,_0x3c9a79,_0x2e12d0){const _0x271568=_0x34d75b;var _0x22b334,_0x575d6a,_0x46e094,_0x52e9c1;const {rowCount:_0x5d6c7f,colCount:_0x188d79,headerMap:_0x64fe3e}=_0x28178b,_0x268d4d=0x64,_0x2c7422=Math['min'](_0x5d6c7f,_0x268d4d),_0x263d39=Math[_0x271568(0x41e)](_0x188d79,_0x268d4d);let _0x496539='',_0x41b872=0x0;for(let _0x58b087=0x0;_0x58b087<_0x2c7422;_0x58b087++)for(let _0x1e9532=0x0;_0x1e9532<_0x263d39;_0x1e9532++){const _0x1148d4={...(_0x575d6a=(_0x22b334=_0x28178b[_0x271568(0x27c)])==null?void 0x0:_0x22b334[_0x58b087])==null?void 0x0:_0x575d6a[_0x1e9532]},_0x1e0e92=(_0x46e094=_0x64fe3e[_0x58b087])==null?void 0x0:_0x46e094[_0x271568(0x107)],_0x2baa79=_0x2e12d0[_0x1e0e92];let _0x18261c=_0x28178b[_0x271568(0x3df)](_0x58b087,_0x1e9532);if(_0x1148d4){const _0x5e96f5=_0x3c9a79?_0x1e9532===0x0&&((_0x52e9c1=_0x28178b[_0x271568(0x27b)](_0x1e9532+0x1))==null?void 0x0:_0x52e9c1[_0x271568(0x23f)]):!0x1;_0x18261c=_0x54dc09(_0x1148d4,_0x5e96f5,_0x2baa79,_0x4c764a);}if(_0x18261c!==void 0x0){const _0x5d3f2d=_0x549ae9(String(_0x18261c));_0x41b872<_0x5d3f2d&&(_0x496539=String(_0x18261c),_0x41b872=_0x5d3f2d);}}return _0x496539;}function _0x466922(_0x29f754){const _0x43e74c=_0x34d75b,{rowCount:_0x4c7369,colCount:_0x1392b1}=_0x29f754;let _0x3482ba='',_0x6e51ed=0x0;for(let _0xbeb370=_0x4c7369-0x1;_0xbeb370>0x0&&_0xbeb370>_0x4c7369-0x3;_0xbeb370--)for(let _0x5778a2=0x0;_0x5778a2<_0x1392b1;_0x5778a2++){const _0x22904c=_0x29f754[_0x43e74c(0x3df)](_0xbeb370,_0x5778a2);if(_0x22904c!==void 0x0){const _0x203102=String(_0x22904c)[_0x43e74c(0x233)];_0x6e51ed<_0x203102&&(_0x3482ba=String(_0x22904c),_0x6e51ed=_0x203102);}}return _0x3482ba;}function _0x64a341(_0x498615){const _0x7ab1e1=_0x34d75b,{rowCount:_0xfc8efe,colCount:_0x51808d}=_0x498615;let _0x55a393='',_0x2dc0ed=0x0;for(let _0x29169c=0x0;_0x29169c<_0xfc8efe;_0x29169c++)for(let _0x1dd49e=0x0;_0x1dd49e<_0x51808d;_0x1dd49e++){const _0xd3b1ee=_0x498615[_0x7ab1e1(0x3df)](_0x29169c,_0x1dd49e);if(_0xd3b1ee!==void 0x0){const _0x1ab1d7=String(_0xd3b1ee)[_0x7ab1e1(0x233)];_0x2dc0ed<_0x1ab1d7&&(_0x55a393=String(_0xd3b1ee),_0x2dc0ed=_0x1ab1d7);}}return _0x55a393;}function _0x25901c(_0x377c04,_0x46a367){const _0x615d06=_0x34d75b,{rowFields:_0xc0027a,columnFields:_0x183a9b,valueFields:_0x4b638d,filterFields:_0x3bbee7,dimension:_0x46787d,measure:_0x130028}=_0x46a367;for(const _0x4ca417 of _0xc0027a){const _0x1404a5=_0x46787d[_0x4ca417];_0x1404a5&&_0x377c04[_0x615d06(0x387)](_0x1404a5[_0x615d06(0x1b4)])&&(_0x377c04[_0x615d06(0x3f4)](_0x1404a5[_0x615d06(0x1b4)],_0x4c0fcb[_0x615d06(0x350)][_0x615d06(0x34b)],void 0x0,_0x4ca417),_0x1404a5['displayName']&&_0x377c04['renameField'](_0x1404a5['id'],_0x1404a5[_0x615d06(0x38e)]),_0x1404a5[_0x615d06(0x424)]&&_0x377c04['setSortInfo'](_0x1404a5['id'],_0x1404a5[_0x615d06(0x424)]),_0x1404a5[_0x615d06(0x329)]&&_0x377c04[_0x615d06(0x412)](_0x1404a5['id'],_0x1404a5[_0x615d06(0x329)]));}for(const _0x362302 of _0x183a9b){const _0x416304=_0x46787d[_0x362302];_0x416304&&_0x377c04[_0x615d06(0x387)](_0x416304[_0x615d06(0x1b4)])&&(_0x377c04[_0x615d06(0x3f4)](_0x416304['dataFieldId'],_0x4c0fcb[_0x615d06(0x350)]['Column'],void 0x0,_0x362302),_0x416304['sortInfo']&&_0x377c04[_0x615d06(0x2d7)](_0x416304['id'],_0x416304['sortInfo']),_0x416304['filterInfo']&&_0x377c04[_0x615d06(0x412)](_0x416304['id'],_0x416304['filterInfo']),_0x416304[_0x615d06(0x38e)]&&_0x377c04[_0x615d06(0x2aa)](_0x416304['id'],_0x416304[_0x615d06(0x38e)]));}for(const _0x5530d4 of _0x3bbee7){const _0x277c3e=_0x46787d[_0x5530d4];_0x277c3e&&_0x377c04['getDataFieldByDataFieldId'](_0x277c3e[_0x615d06(0x1b4)])&&(_0x377c04[_0x615d06(0x3f4)](_0x277c3e[_0x615d06(0x1b4)],_0x4c0fcb[_0x615d06(0x350)][_0x615d06(0x3f1)],void 0x0,_0x5530d4),_0x277c3e['sortInfo']&&_0x377c04[_0x615d06(0x2d7)](_0x277c3e['id'],_0x277c3e[_0x615d06(0x424)]),_0x277c3e[_0x615d06(0x329)]&&_0x377c04[_0x615d06(0x412)](_0x277c3e['id'],_0x277c3e[_0x615d06(0x329)]),_0x277c3e['displayName']&&_0x377c04[_0x615d06(0x2aa)](_0x277c3e['id'],_0x277c3e[_0x615d06(0x38e)]));}for(const _0x4f0f6d of _0x4b638d){const _0xfbb770=_0x130028[_0x4f0f6d];_0xfbb770&&_0x377c04[_0x615d06(0x387)](_0xfbb770['dataFieldId'])&&(_0x377c04[_0x615d06(0x3f4)](_0xfbb770[_0x615d06(0x1b4)],_0x4c0fcb[_0x615d06(0x350)][_0x615d06(0x1d0)],void 0x0,_0x4f0f6d),_0xfbb770['subtotal']!==void 0x0&&_0x377c04[_0x615d06(0x189)](_0x4f0f6d,_0xfbb770[_0x615d06(0x40b)]),_0xfbb770['format']&&_0x377c04[_0x615d06(0x422)](_0x4f0f6d,_0xfbb770[_0x615d06(0x3d5)]),_0xfbb770[_0x615d06(0x38e)]&&_0x377c04[_0x615d06(0x2aa)](_0xfbb770['id'],_0xfbb770[_0x615d06(0x38e)]));}const _0x13ce01=_0x46a367[_0x615d06(0x257)];for(const {fieldId:_0x386786,filterInfo:_0x7894f8}of _0x13ce01)_0x377c04[_0x615d06(0x258)](_0x386786,_0x7894f8);}function _0x319753(_0x188464,_0x20d335){const _0x316477=_0x34d75b,_0x49b1d5=[];_0x20d335===_0x4c0fcb[_0x316477(0x350)][_0x316477(0x34b)]&&_0x188464[_0x316477(0x410)](_0x4c0fcb[_0x316477(0x350)][_0x316477(0x34b)],_0xcd5b4d=>{const _0x4690df=_0x316477;_0x49b1d5[_0x4690df(0x30f)](_0xcd5b4d[_0x4690df(0x271)]());}),_0x20d335===_0x4c0fcb['PivotTableFiledAreaEnum'][_0x316477(0x347)]&&_0x188464['iterateFieldByArea'](_0x4c0fcb[_0x316477(0x350)][_0x316477(0x347)],_0x2c2b88=>{const _0x28f2d8=_0x316477;_0x49b1d5[_0x28f2d8(0x30f)](_0x2c2b88[_0x28f2d8(0x271)]());}),_0x20d335===_0x4c0fcb[_0x316477(0x350)][_0x316477(0x3f1)]&&_0x188464[_0x316477(0x410)](_0x4c0fcb[_0x316477(0x350)][_0x316477(0x3f1)],_0x2fe1bc=>{_0x49b1d5['push'](_0x2fe1bc['getId']());}),_0x20d335===_0x4c0fcb[_0x316477(0x350)][_0x316477(0x1d0)]&&_0x188464['iterateFieldByArea'](_0x4c0fcb[_0x316477(0x350)][_0x316477(0x1d0)],_0x24c16d=>{const _0x1f1115=_0x316477;_0x49b1d5['push'](_0x24c16d[_0x1f1115(0x271)]());}),_0x20d335===void 0x0&&_0x188464['iterateField'](_0x31dbe5=>{const _0x20f446=_0x316477;_0x49b1d5[_0x20f446(0x30f)](_0x31dbe5[_0x20f446(0x271)]());});const _0xbb6b7c=_0x49b1d5[_0x316477(0x233)];for(let _0x3126de=_0xbb6b7c-0x1;_0x3126de>=0x0;_0x3126de--)_0x188464['removeField'](_0x49b1d5[_0x3126de]);const _0xc11161=_0x188464['getValueFilterInfos']();for(const _0x251012 in _0xc11161)_0x188464[_0x316477(0x12b)](_0x251012);}function _0x33cc48(_0x237e26,_0x2db65a){const _0x23b4ef=_0x34d75b,_0x489df8=new Date(_0x4c0fcb[_0x23b4ef(0x42a)](_0x2db65a)),_0x42a3b5=new Date(_0x4c0fcb[_0x23b4ef(0x42a)](_0x237e26)),_0x40f24b=_0x489df8[_0x23b4ef(0x2a6)](),_0x3d8045=_0x42a3b5[_0x23b4ef(0x2a6)](),_0x3ee318=_0x489df8[_0x23b4ef(0x1a5)](),_0x46f5a2=_0x42a3b5['getMonth'](),_0x171e4c=_0x489df8[_0x23b4ef(0x202)](),_0x516911=_0x42a3b5['getDate'](),_0x2a704e=_0x40f24b===_0x3d8045,_0x5ee652=_0x2a704e&&_0x3ee318===_0x46f5a2;return _0x2a704e&&_0x5ee652&&!(_0x5ee652&&_0x171e4c===_0x516911)?_0x4c0fcb[_0x23b4ef(0x20f)][_0x23b4ef(0x42d)]:_0x2a704e&&!_0x5ee652?_0x4c0fcb[_0x23b4ef(0x20f)][_0x23b4ef(0x282)]:_0x4c0fcb[_0x23b4ef(0x20f)]['Year'];}function _0xf6a5a4(_0x20d896,_0x4f9255){const _0x17368c=_0x34d75b,_0x35b25e=_0x20d896[_0x17368c(0x42f)](_0x1f106f['SheetsPivotDataSourceModel'])[_0x17368c(0x32b)]();let _0x3bdfe0='';switch(_0x4f9255){case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x42d)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x3e8)];break;case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x282)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x244)];break;case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x1c0)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x25d)];break;case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x2a7)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x3d9)];break;case _0x4c0fcb['PivotDateGroupFieldDateTypeEnum'][_0x17368c(0x17f)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x215)];break;case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x34f)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x3b6)];break;case _0x4c0fcb[_0x17368c(0x20f)]['HourMinute']:_0x3bdfe0=_0x35b25e[_0x17368c(0x2e2)];break;case _0x4c0fcb['PivotDateGroupFieldDateTypeEnum'][_0x17368c(0x267)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x21b)];break;case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x40c)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x13d)];break;case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x1f9)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x364)];break;case _0x4c0fcb[_0x17368c(0x20f)][_0x17368c(0x386)]:_0x3bdfe0=_0x35b25e[_0x17368c(0x2cb)];break;default:_0x3bdfe0='';break;}return _0x3bdfe0;}const _0x459d4f=_0x34d75b(0x28d),_0x7cd8ec={};var _0x2f8612=Object[_0x34d75b(0x36d)],_0x2673e0=(_0x26be1f,_0x138e88,_0x29446e,_0x817d39)=>{const _0x26ccfa=_0x34d75b;for(var _0x5919b7=_0x817d39>0x1?void 0x0:_0x817d39?_0x2f8612(_0x138e88,_0x29446e):_0x138e88,_0x1fb284=_0x26be1f[_0x26ccfa(0x233)]-0x1,_0x4d10ec;_0x1fb284>=0x0;_0x1fb284--)(_0x4d10ec=_0x26be1f[_0x1fb284])&&(_0x5919b7=_0x4d10ec(_0x5919b7)||_0x5919b7);return _0x5919b7;},_0x22b905=(_0x286bff,_0x516371)=>(_0x5976d2,_0x594e5c)=>_0x516371(_0x5976d2,_0x594e5c,_0x286bff);_0x1f106f[_0x34d75b(0x20e)]=class extends _0x17cbc5['Disposable']{constructor(_0x5a309b,_0x388fcb,_0x270967,_0x13ce6f,_0x5106bd){const _0x4da922=_0x34d75b;super(),_0x1658bd(this,'_model',new Map()),_0x1658bd(this,_0x4da922(0x2c7),new Map()),_0x1658bd(this,_0x4da922(0x2f6),new Map()),_0x1658bd(this,'_pivotTableMatrixInfo',new Map()),_0x1658bd(this,_0x4da922(0x285),new _0x2fd59f[(_0x4da922(0x26f))]()),_0x1658bd(this,_0x4da922(0x1ff),new _0x2fd59f[(_0x4da922(0x26f))]()),_0x1658bd(this,_0x4da922(0x398),this[_0x4da922(0x1ff)]['asObservable']()),_0x1658bd(this,'_pivotConfigChange$',new _0x2fd59f['Subject']()),_0x1658bd(this,_0x4da922(0x194),this[_0x4da922(0x310)][_0x4da922(0x1d7)]()),_0x1658bd(this,_0x4da922(0x2c6),{}),_0x1658bd(this,_0x4da922(0x342),this['_configVersion$'][_0x4da922(0x1d7)]()),(this['_injector']=_0x5a309b,this[_0x4da922(0x260)]=_0x388fcb,this['_univerInstanceService']=_0x270967,this[_0x4da922(0x317)]=_0x13ce6f,this[_0x4da922(0x31b)]=_0x5106bd,this[_0x4da922(0x186)](),this[_0x4da922(0x374)]());const _0x2ea8bd=this[_0x4da922(0x31b)][_0x4da922(0x19a)](_0x459d4f);(_0x2ea8bd==null?void 0x0:_0x2ea8bd[_0x4da922(0x321)])===!0x0&&this[_0x4da922(0x288)]();}[_0x34d75b(0x374)](){const _0x232c7d=_0x34d75b;this['disposeWithMe'](this[_0x232c7d(0x2e8)]['getTypeOfUnitDisposed$'](_0x17cbc5[_0x232c7d(0x1f1)][_0x232c7d(0x1d2)])['subscribe'](_0x4605cb=>{const _0x2a9915=_0x232c7d;this['deleteUnitId'](_0x4605cb[_0x2a9915(0x330)]());}));}[_0x34d75b(0x341)](){const _0x578a6b=_0x34d75b;this[_0x578a6b(0x1ff)][_0x578a6b(0x1fc)](!0x0);}['_initLocale'](){const _0x139a96=_0x34d75b,_0x2250ae=_0x260e97(this[_0x139a96(0x264)],_0x439b8d,'',{});this[_0x139a96(0x2c6)]=_0x2250ae,this[_0x139a96(0x260)]['executeCommand'](_0x1eb569['id'],{'textInfo':_0x2250ae},{'onlyLocal':!0x0});}['getTextInfo'](){return this['_textInfo'];}[_0x34d75b(0x24b)](_0xfaf9cb,_0x178d69,_0x333e07,_0x1033da,_0x528497){const _0x24298b=_0x34d75b;this['updatePivotTableMatrixInfo'](_0xfaf9cb,_0x178d69,_0x333e07,_0x1033da),this[_0x24298b(0x404)](_0xfaf9cb,_0x178d69,_0x333e07,_0x528497);}[_0x34d75b(0x2d5)](_0x54022f,_0x2abf0c,_0x477e5c){const _0x5cb8ce=_0x34d75b;var _0x24acba;const _0x19ed88=(_0x24acba=this[_0x5cb8ce(0x13f)]['get'](_0x54022f))==null?void 0x0:_0x24acba[_0x5cb8ce(0x42f)](_0x2abf0c);if(_0x19ed88)return _0x19ed88['get'](_0x477e5c);}[_0x34d75b(0x3af)](_0x956403,_0x5e0ef0){const _0x3f2d04=_0x34d75b,_0x1323e7=this[_0x3f2d04(0x13f)]['get'](_0x956403);if(_0x1323e7){for(const [_0x18be0a,_0xbe7a6f]of _0x1323e7['entries']())for(const [_0x41265c,_0x2270f8]of _0xbe7a6f[_0x3f2d04(0x201)]())if(_0x41265c===_0x5e0ef0)return _0x2270f8[_0x3f2d04(0x183)];}}[_0x34d75b(0x278)](_0x40f3e0,_0x689236,_0x2dbd33){const _0xdd151c=_0x34d75b,_0x1c0a28=this[_0xdd151c(0x2d5)](_0x40f3e0,_0x689236,_0x2dbd33);return _0x1c0a28==null?void 0x0:_0x1c0a28[_0xdd151c(0x183)];}['getSubUnitPivotConfigs'](_0x2ec56a,_0xdf4f1a){const _0x37556e=_0x34d75b;var _0x4271ac;return(_0x4271ac=this['_model']['get'](_0x2ec56a))==null?void 0x0:_0x4271ac[_0x37556e(0x42f)](_0xdf4f1a);}[_0x34d75b(0x1dc)](_0x17c36b,_0x342075,_0x320fe9,_0x4c635d){const _0x501946=_0x34d75b,_0x3f2b17=this['_ensurePivotMap'](_0x17c36b,_0x342075);_0x4c635d?_0x3f2b17[_0x501946(0x314)](_0x320fe9,_0x4c635d):_0x3f2b17[_0x501946(0x221)](_0x320fe9),this[_0x501946(0x310)][_0x501946(0x1fc)]({'unitId':_0x17c36b,'subUnitId':_0x342075,'pivotTableId':_0x320fe9,'pivotTableConfig':_0x4c635d});}[_0x34d75b(0x3c4)](_0x392d55,_0x56f2bc){const _0x548c3e=_0x34d75b;var _0x368987;return(_0x368987=this[_0x548c3e(0x2c7)]['get'](_0x392d55))==null?void 0x0:_0x368987[_0x548c3e(0x304)][_0x56f2bc];}[_0x34d75b(0x2f9)](_0x165716,_0x577f6c){const _0x30f09c=_0x34d75b;this[_0x30f09c(0x2c7)]['set'](_0x165716,_0x577f6c),this[_0x30f09c(0x285)][_0x30f09c(0x1fc)](Math[_0x30f09c(0x152)]());}['_ensurePivotMap'](_0x270607,_0x4838a5){const _0x4ff5a2=_0x34d75b;let _0x4bb773=this[_0x4ff5a2(0x13f)][_0x4ff5a2(0x42f)](_0x270607);_0x4bb773||(_0x4bb773=new Map(),this['_model'][_0x4ff5a2(0x314)](_0x270607,_0x4bb773));let _0x242b2b=_0x4bb773[_0x4ff5a2(0x42f)](_0x4838a5);return _0x242b2b||(_0x242b2b=new Map(),_0x4bb773[_0x4ff5a2(0x314)](_0x4838a5,_0x242b2b)),_0x242b2b;}[_0x34d75b(0x345)](_0x5a18c9,_0x48c95e){const _0x54807e=_0x34d75b;let _0x398401=this['_pivotTableRangeInfo']['get'](_0x5a18c9);_0x398401||(_0x398401=new Map(),this[_0x54807e(0x2f6)]['set'](_0x5a18c9,_0x398401));let _0x242351=_0x398401['get'](_0x48c95e);return _0x242351||(_0x242351=new Map(),_0x398401[_0x54807e(0x314)](_0x48c95e,_0x242351)),_0x242351;}[_0x34d75b(0x269)](_0x269e3e,_0x4d9c74){const _0xd85572=_0x34d75b;let _0x3bbe89=this['_pivotTableMatrixInfo'][_0xd85572(0x42f)](_0x269e3e);_0x3bbe89||(_0x3bbe89=new Map(),this[_0xd85572(0x290)][_0xd85572(0x314)](_0x269e3e,_0x3bbe89));let _0x25f887=_0x3bbe89[_0xd85572(0x42f)](_0x4d9c74);return _0x25f887||(_0x25f887=new Map(),_0x3bbe89[_0xd85572(0x314)](_0x4d9c74,_0x25f887)),_0x25f887;}[_0x34d75b(0x404)](_0x5ba487,_0x2cbcf6,_0x2d4082,_0x142145){const _0x213862=_0x34d75b;var _0x5dccff;const _0x186c48=this[_0x213862(0x345)](_0x5ba487,_0x2cbcf6),_0x1c7508=(_0x5dccff=_0x186c48['get'](_0x2d4082))==null?void 0x0:_0x5dccff[_0x213862(0x354)];_0x186c48[_0x213862(0x314)](_0x2d4082,{'oldRangeInfo':_0x1c7508,'rangeInfo':_0x142145});}[_0x34d75b(0x29a)](_0x9b35e5,_0xdd6939,_0x28bf32,_0x1bfff2){const _0x45fb5f=_0x34d75b;var _0x52bbca;const _0x3b2b71=this['_ensurePivotTableMatrixInfo'](_0x9b35e5,_0xdd6939),_0x137523=(_0x52bbca=_0x3b2b71[_0x45fb5f(0x42f)](_0x28bf32))==null?void 0x0:_0x52bbca['oldMatrix'];_0x3b2b71[_0x45fb5f(0x314)](_0x28bf32,{'oldMatrix':_0x137523,'matrix':_0x1bfff2});}[_0x34d75b(0x144)](_0x385ca7,_0x34f7d4,_0x3cc4ed){const _0xf77e90=_0x34d75b;var _0x14adf9,_0x40230c;return(_0x40230c=(_0x14adf9=this[_0xf77e90(0x2f6)][_0xf77e90(0x42f)](_0x385ca7))==null?void 0x0:_0x14adf9['get'](_0x34f7d4))==null?void 0x0:_0x40230c[_0xf77e90(0x42f)](_0x3cc4ed);}[_0x34d75b(0x172)](_0x3703d4,_0x1110e4,_0x32383e){const _0x1adeac=_0x34d75b;var _0x4336ef,_0x32764a;return(_0x32764a=(_0x4336ef=this['_pivotTableMatrixInfo'][_0x1adeac(0x42f)](_0x3703d4))==null?void 0x0:_0x4336ef['get'](_0x1110e4))==null?void 0x0:_0x32764a[_0x1adeac(0x42f)](_0x32383e);}[_0x34d75b(0x1bd)](_0x3fd991){const _0x16f4bb=_0x34d75b;this[_0x16f4bb(0x13f)]['delete'](_0x3fd991),this[_0x16f4bb(0x2c7)][_0x16f4bb(0x221)](_0x3fd991);}['_toJSON'](_0x51a64e){const _0x7cea7f=_0x34d75b,_0x5cdce0={'dataFieldManagerConfig':{},'pivotTableConfigs':{}};if(this['_collectionConfigModel'][_0x7cea7f(0x42f)](_0x51a64e)&&(_0x5cdce0[_0x7cea7f(0x284)][_0x51a64e]=this[_0x7cea7f(0x2c7)][_0x7cea7f(0x42f)](_0x51a64e)),this[_0x7cea7f(0x13f)][_0x7cea7f(0x42f)](_0x51a64e)){_0x5cdce0[_0x7cea7f(0x375)][_0x51a64e]={};const _0x13c7c0=this[_0x7cea7f(0x13f)]['get'](_0x51a64e);_0x13c7c0!=null&&_0x13c7c0[_0x7cea7f(0x26c)]&&[..._0x13c7c0[_0x7cea7f(0x2ec)]()][_0x7cea7f(0x3f0)](_0x3f692b=>{const _0x238fa6=_0x7cea7f,_0x29a758=_0x13c7c0[_0x238fa6(0x42f)](_0x3f692b);_0x29a758!=null&&_0x29a758['size']&&(_0x5cdce0[_0x238fa6(0x375)][_0x51a64e][_0x3f692b]={},[..._0x29a758[_0x238fa6(0x2ec)]()][_0x238fa6(0x3f0)](_0x35a66d=>{const _0x2cc52d=_0x238fa6,_0x4b2d29=_0x29a758['get'](_0x35a66d);_0x4b2d29&&(_0x5cdce0[_0x2cc52d(0x375)][_0x51a64e][_0x3f692b][_0x35a66d]=_0x4b2d29);}));});}return _0x5cdce0;}[_0x34d75b(0x288)](){const _0x52220a=_0x34d75b;this[_0x52220a(0x216)](this[_0x52220a(0x317)][_0x52220a(0x2e4)]({'toJson':_0x31992a=>JSON['stringify'](this['_toJSON'](_0x31992a)),'parseJson':_0x22d569=>({}),'businesses':[_0x17cbc5['UniverInstanceType'][_0x52220a(0x1d2)]],'pluginName':_0x3f2959,'onLoad':(_0x49b539,_0x105d65)=>{},'onUnLoad':_0x1cc317=>{const _0x186938=_0x52220a;this[_0x186938(0x1bd)](_0x1cc317);}}));}},_0x1f106f[_0x34d75b(0x20e)]=_0x2673e0([_0x22b905(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x309)])),_0x22b905(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x275)])),_0x22b905(0x2,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x204)])),_0x22b905(0x3,_0x17cbc5['Inject'](_0x17cbc5['IResourceManagerService'])),_0x22b905(0x4,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x234)]))],_0x1f106f['SheetsPivotTableConfigModel']);var _0x47c63b=Object[_0x34d75b(0x36d)],_0x18605b=(_0x56e2ff,_0x31e277,_0x2ea415,_0x5ba08)=>{const _0x4e2055=_0x34d75b;for(var _0x4e3af3=_0x5ba08>0x1?void 0x0:_0x5ba08?_0x47c63b(_0x31e277,_0x2ea415):_0x31e277,_0x26c29b=_0x56e2ff[_0x4e2055(0x233)]-0x1,_0x1432d7;_0x26c29b>=0x0;_0x26c29b--)(_0x1432d7=_0x56e2ff[_0x26c29b])&&(_0x4e3af3=_0x1432d7(_0x4e3af3)||_0x4e3af3);return _0x4e3af3;},_0x453e5a=(_0x1d0bd8,_0x396dfb)=>(_0x1ce6bc,_0x11b3cb)=>_0x396dfb(_0x1ce6bc,_0x11b3cb,_0x1d0bd8);_0x1f106f[_0x34d75b(0x2ae)]=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x2138ff,_0x17ce59,_0x1f9715,_0x4bfa84,_0x329fad){const _0x29ec55=_0x34d75b;super(),_0x1658bd(this,_0x29ec55(0x1fb),new Map()),_0x1658bd(this,'_pivotRenderValueMatrixCache',new Map()),_0x1658bd(this,'_markDirty$',new _0x2fd59f[(_0x29ec55(0x26f))]()),_0x1658bd(this,_0x29ec55(0x24c),this['_markDirty$']['asObservable']()),_0x1658bd(this,_0x29ec55(0x1b3),new _0x2fd59f[(_0x29ec55(0x26f))]()),_0x1658bd(this,_0x29ec55(0x136),this[_0x29ec55(0x1b3)]['asObservable']()),_0x1658bd(this,_0x29ec55(0x2c6)),(this['_localeService']=_0x2138ff,this[_0x29ec55(0x264)]=_0x17ce59,this[_0x29ec55(0x12d)]=_0x1f9715,this[_0x29ec55(0x2e8)]=_0x4bfa84,this[_0x29ec55(0x142)]=_0x329fad,this[_0x29ec55(0x186)](),this['_initUnitDisposed']());}[_0x34d75b(0x374)](){const _0x382883=_0x34d75b;this[_0x382883(0x216)](this['_univerInstanceService'][_0x382883(0x3f3)](_0x17cbc5[_0x382883(0x1f1)]['UNIVER_SHEET'])[_0x382883(0x205)](_0xb29523=>{const _0x26d3c3=_0x382883;this[_0x26d3c3(0x1bd)](_0xb29523[_0x26d3c3(0x330)]());}));}[_0x34d75b(0x186)](){const _0x4fb47f=_0x34d75b;this['_textInfo']=_0x260e97(this[_0x4fb47f(0x264)],_0x439b8d,'',{});}['updateRenderCache'](_0x1af321){const _0x3282e2=_0x34d75b,{view:_0x3d9fc0,unitId:_0x2122a1,subUnitId:_0x50621f,pivotTableId:_0x271469,type:_0x4b7d31}=_0x1af321,_0x2a7799=this[_0x3282e2(0x12d)][_0x3282e2(0x2d5)](_0x2122a1,_0x50621f,_0x271469);if(!_0x3d9fc0||!_0x2a7799||_0x4b7d31===_0x635b2f['Delete'])return;const {pageView:_0x26affe,cornerView:_0x39842c,rowView:_0x378f88,colView:_0x1f2f16,dataView:_0x42bdbe}=_0x3d9fc0,_0x1adaab=_0x2a7799[_0x3282e2(0x183)],_0x8b33dc=_0x2a7799[_0x3282e2(0x381)],_0x48959a=this['_ensurePivotItemRenderValueMatrixCache'](_0x2122a1,_0x50621f),_0x6a281c=this['_ensurePivotItemRenderInfoCache'](_0x2122a1,_0x50621f,_0x271469);if(_0x8b33dc)return this[_0x3282e2(0x124)](_0x1af321,_0x48959a,_0x1adaab,_0x6a281c);{const _0x1f6f22=_0x3688b6(_0x1adaab,_0x26affe,!0x0),_0x53c1cc=_0x26affe[_0x3282e2(0x15e)]>=0x0?_0x26affe[_0x3282e2(0x15e)]+0x1:0x0,_0x3333d0=_0x39842c[_0x3282e2(0x3d7)](),_0x3d8f5e=_0x39842c[_0x3282e2(0x22e)](),_0x278c8c=_0x1f6f22['length']>0x0?_0x3c0c8a:0x0,_0xa59e32=_0x3688b6({'row':_0x1adaab[_0x3282e2(0x2b4)]+_0x53c1cc+_0x278c8c,'col':_0x1adaab['col']},_0x39842c,!0x1,!0x1),_0x4cb121=_0x3688b6({'row':_0x1adaab['row']+_0x53c1cc+_0x278c8c+_0x3333d0,'col':_0x1adaab['col']},_0x378f88,!0x1,!0x0),_0x42839b=_0x3688b6({'row':_0x1adaab[_0x3282e2(0x2b4)]+_0x53c1cc+_0x278c8c,'col':_0x1adaab[_0x3282e2(0x367)]+_0x3d8f5e},_0x1f2f16,!0x1,!0x0),_0xbd540e=_0x3688b6({'row':_0x1adaab[_0x3282e2(0x2b4)]+_0x53c1cc+_0x278c8c+_0x3333d0,'col':_0x1adaab[_0x3282e2(0x367)]+_0x3d8f5e},_0x42bdbe,!0x1,!0x1);_0x6a281c[_0x3282e2(0x14d)]={'rowRanges':_0x4cb121,'colRanges':_0x42839b,'cornerRanges':_0xa59e32,'dataRanges':_0xbd540e,'pageRanges':_0x1f6f22};const _0x5eb6cc=_0x196470(this[_0x3282e2(0x264)],_0x3d9fc0,_0x2a7799,this[_0x3282e2(0x2c6)]),{valueMatrix:_0x4918ae,rowInfo:_0x4241cc,colInfo:_0x1bf112,cornerInfo:_0x2adf3e,rowHeaderMap:_0x4d7660,colHeaderMap:_0x4b34da}=_0x5eb6cc;return _0x6a281c[_0x3282e2(0x1d4)]={'rowInfo':_0x4241cc,'colInfo':_0x1bf112,'cornerInfo':_0x2adf3e},_0x6a281c['headerMap']={'rowHeaderMap':_0x4d7660,'colHeaderMap':_0x4b34da},_0x4918ae[_0x3282e2(0x3f0)]((_0x2e7a49,_0x1ef64c)=>{const _0x833035=_0x3282e2;Object['keys'](_0x1ef64c)[_0x833035(0x3f0)](_0x226b0e=>{const _0x403f70=_0x833035,_0x3e3d63=+_0x226b0e,_0x7d6c57=_0x4918ae[_0x403f70(0x3df)](_0x2e7a49,_0x3e3d63);_0x48959a[_0x403f70(0x370)](_0x2e7a49,_0x3e3d63,_0x7d6c57);});}),this[_0x3282e2(0x1b3)][_0x3282e2(0x1fc)]({'unitId':_0x2122a1,'subUnitId':_0x50621f,'valueMatrix':_0x48959a,'rangesCache':_0x6a281c[_0x3282e2(0x14d)],'pivotTableId':_0x271469,'type':_0x1af321[_0x3282e2(0x3e6)]}),this['_sheetsPivotTableConfigModel']['updateViewInfo'](_0x2122a1,_0x50621f,_0x271469,_0x48959a,_0x6a281c[_0x3282e2(0x14d)]),this[_0x3282e2(0x142)]['addExclusiveRange'](_0x2122a1,_0x50621f,_0x3f0aba,this[_0x3282e2(0x3f6)](_0x6a281c[_0x3282e2(0x14d)],_0x271469)),{'rangeCache':_0x6a281c['rangesInfo'],'matrix':_0x48959a};}}[_0x34d75b(0x124)](_0x4d8775,_0xab0d2a,_0x3fb299,_0x16e5ec){const _0x1d8b91=_0x34d75b,_0xa8c1b4=this['_localeService']['t'],{unitId:_0x490d09,subUnitId:_0x1a7382,pivotTableId:_0x1a6b56}=_0x4d8775,_0x5a27d8={'filter':_0xa8c1b4(_0x1d8b91(0x1ab)),'row':_0xa8c1b4(_0x1d8b91(0x30b)),'column':_0xa8c1b4(_0x1d8b91(0x23e)),'values':_0xa8c1b4('sheets-pivot.emptyPivot.values')},{matrixCache:_0x50917f,rangesCache:_0x4b08ee}=_0x1ade2b(_0x5a27d8,_0x3fb299);return _0x50917f[_0x1d8b91(0x26a)]((_0x1c1440,_0x472310,_0x395029)=>{const _0x159d2e=_0x1d8b91;_0xab0d2a[_0x159d2e(0x370)](_0x1c1440,_0x472310,_0x395029);}),_0x16e5ec[_0x1d8b91(0x14d)]=_0x4b08ee,this['_viewUpdate$'][_0x1d8b91(0x1fc)]({'unitId':_0x490d09,'subUnitId':_0x1a7382,'valueMatrix':_0xab0d2a,'rangesCache':_0x4b08ee,'pivotTableId':_0x1a6b56,'type':_0x4d8775[_0x1d8b91(0x3e6)],'isEmpty':!0x0}),this[_0x1d8b91(0x12d)][_0x1d8b91(0x24b)](_0x490d09,_0x1a7382,_0x1a6b56,_0xab0d2a,_0x4b08ee),this[_0x1d8b91(0x142)][_0x1d8b91(0x3fb)](_0x490d09,_0x1a7382,_0x3f0aba,this[_0x1d8b91(0x3f6)](_0x4b08ee,_0x1a6b56)),{'rangeCache':_0x16e5ec[_0x1d8b91(0x14d)],'matrix':_0xab0d2a};}['_createExclusiveRange'](_0x214b53,_0x43a5d9){const _0x359866=_0x34d75b,_0x9ca8d0=[],_0x49ce2a=_0x59c4b0(_0x214b53);for(const _0x53ad79 of _0x49ce2a)_0x9ca8d0[_0x359866(0x30f)]({'groupId':_0x43a5d9,'range':_0x53ad79});return _0x9ca8d0;}[_0x34d75b(0x289)](_0x1b2aa0){const _0x4ac2ac=_0x34d75b;var _0x59bf00,_0x2b5774,_0x48c652,_0x2d1172;const {pivotTableId:_0x546ecb,unitId:_0xd2579f,subUnitId:_0x5a6074}=_0x1b2aa0;if(!_0x546ecb||!_0xd2579f||!_0x5a6074)return;const _0x22a104=this[_0x4ac2ac(0x340)](_0xd2579f,_0x5a6074),_0x542c2e=(_0x2b5774=(_0x59bf00=this['_pivotRenderInfoCache'][_0x4ac2ac(0x42f)](_0xd2579f))==null?void 0x0:_0x59bf00[_0x4ac2ac(0x42f)](_0x5a6074))==null?void 0x0:_0x2b5774[_0x4ac2ac(0x42f)](_0x546ecb);if(_0x542c2e!=null&&_0x542c2e[_0x4ac2ac(0x14d)]){for(const _0x1ff1bf of Object[_0x4ac2ac(0x2ec)](_0x542c2e[_0x4ac2ac(0x14d)]))_0x542c2e[_0x4ac2ac(0x14d)][_0x1ff1bf][_0x4ac2ac(0x3f0)](_0x56d1a3=>{const _0x4f7785=_0x4ac2ac;for(let _0x38f700=_0x56d1a3['startRow'];_0x38f700<=_0x56d1a3[_0x4f7785(0x273)];_0x38f700++)for(let _0x5eb27e=_0x56d1a3[_0x4f7785(0x33c)];_0x5eb27e<=_0x56d1a3['endColumn'];_0x5eb27e++)_0x22a104[_0x4f7785(0x1cc)](_0x38f700,_0x5eb27e);});}_0x542c2e&&((_0x2d1172=(_0x48c652=this['_pivotRenderInfoCache'][_0x4ac2ac(0x42f)](_0xd2579f))==null?void 0x0:_0x48c652[_0x4ac2ac(0x42f)](_0x5a6074))==null||_0x2d1172['delete'](_0x546ecb)),this[_0x4ac2ac(0x1b3)][_0x4ac2ac(0x1fc)]({'unitId':_0xd2579f,'subUnitId':_0x5a6074,'valueMatrix':_0x22a104,'pivotTableId':_0x546ecb,'rangesCache':void 0x0,'type':_0x1b2aa0[_0x4ac2ac(0x3e6)]}),this[_0x4ac2ac(0x142)][_0x4ac2ac(0x1ad)](_0xd2579f,_0x5a6074,_0x3f0aba,_0x546ecb);}['_ensurePivotItemRenderInfoCache'](_0x46ce3e,_0x3ad7bf,_0xf38b85){const _0x436a70=_0x34d75b;var _0x5ee462,_0x5adf44,_0xee53ae,_0x18f5f0,_0x27b3c7,_0x3334ee;return this[_0x436a70(0x1fb)][_0x436a70(0x210)](_0x46ce3e)||this[_0x436a70(0x1fb)][_0x436a70(0x314)](_0x46ce3e,new Map()),(_0x5ee462=this['_pivotRenderInfoCache'][_0x436a70(0x42f)](_0x46ce3e))!=null&&_0x5ee462[_0x436a70(0x210)](_0x3ad7bf)||(_0x5adf44=this['_pivotRenderInfoCache'][_0x436a70(0x42f)](_0x46ce3e))==null||_0x5adf44['set'](_0x3ad7bf,new Map()),(_0x18f5f0=(_0xee53ae=this['_pivotRenderInfoCache'][_0x436a70(0x42f)](_0x46ce3e))==null?void 0x0:_0xee53ae[_0x436a70(0x42f)](_0x3ad7bf))!=null&&_0x18f5f0['has'](_0xf38b85)||(_0x3334ee=(_0x27b3c7=this['_pivotRenderInfoCache'][_0x436a70(0x42f)](_0x46ce3e))==null?void 0x0:_0x27b3c7['get'](_0x3ad7bf))==null||_0x3334ee[_0x436a70(0x314)](_0xf38b85,{}),this[_0x436a70(0x1fb)]['get'](_0x46ce3e)[_0x436a70(0x42f)](_0x3ad7bf)['get'](_0xf38b85);}[_0x34d75b(0x340)](_0x42f22e,_0x2e3129){const _0x13efbf=_0x34d75b;var _0x5ddfe8,_0x7152c9;return this[_0x13efbf(0x25e)][_0x13efbf(0x210)](_0x42f22e)||this['_pivotRenderValueMatrixCache'][_0x13efbf(0x314)](_0x42f22e,new Map()),(_0x5ddfe8=this[_0x13efbf(0x25e)][_0x13efbf(0x42f)](_0x42f22e))!=null&&_0x5ddfe8[_0x13efbf(0x210)](_0x2e3129)||(_0x7152c9=this[_0x13efbf(0x25e)][_0x13efbf(0x42f)](_0x42f22e))==null||_0x7152c9[_0x13efbf(0x314)](_0x2e3129,new _0x17cbc5[(_0x13efbf(0x1c4))]()),this[_0x13efbf(0x25e)][_0x13efbf(0x42f)](_0x42f22e)['get'](_0x2e3129);}[_0x34d75b(0x41b)](_0x25d47d,_0x18810a,_0x3054e4,_0x5f1c89){const _0x4a9ca3=_0x34d75b;var _0x2ceb91,_0x1b1b60;const _0x2ce5af=(_0x1b1b60=(_0x2ceb91=this[_0x4a9ca3(0x25e)][_0x4a9ca3(0x42f)](_0x25d47d))==null?void 0x0:_0x2ceb91[_0x4a9ca3(0x42f)](_0x18810a))==null?void 0x0:_0x1b1b60[_0x4a9ca3(0x3df)](_0x3054e4,_0x5f1c89);if(_0x2ce5af!=null)return _0x2ce5af;}[_0x34d75b(0x245)](_0x141b50,_0x19d530,_0x46cec4,_0xea9e94){const _0x13906d=_0x34d75b;var _0x2572eb;const _0x1d2a08=_0x17cbc5[_0x13906d(0x1c9)](_0x46cec4,_0xea9e94),_0x3d351a=(_0x2572eb=this['_pivotRenderInfoCache'][_0x13906d(0x42f)](_0x141b50))==null?void 0x0:_0x2572eb[_0x13906d(0x42f)](_0x19d530);return _0x3d351a?Array[_0x13906d(0x287)](_0x3d351a[_0x13906d(0x2ec)]())['find'](_0x36cf8e=>{const _0x314610=_0x13906d,_0x4564b0=_0x3d351a[_0x314610(0x42f)](_0x36cf8e),_0x75d9fc=_0x4564b0==null?void 0x0:_0x4564b0['rangesInfo'];return _0x75d9fc?Object['keys'](_0x75d9fc)[_0x314610(0x31a)](_0x5339bc=>_0x75d9fc[_0x5339bc][_0x314610(0x31a)](_0x336d32=>_0x17cbc5['Rectangle'][_0x314610(0x14e)](_0x336d32,_0x1d2a08))):!0x1;}):void 0x0;}[_0x34d75b(0x35c)](_0x508db2,_0x368893,_0x3689e7){const _0x34bfed=_0x34d75b;var _0xd1136;const _0x5f2d2a=(_0xd1136=this[_0x34bfed(0x1fb)][_0x34bfed(0x42f)](_0x508db2))==null?void 0x0:_0xd1136[_0x34bfed(0x42f)](_0x368893),_0xd9bfb2=[];return _0x5f2d2a&&Array['from'](_0x5f2d2a[_0x34bfed(0x2ec)]())[_0x34bfed(0x3f0)](_0x120ae3=>{const _0x321d98=_0x34bfed,_0x37d7cd=_0x5f2d2a[_0x321d98(0x42f)](_0x120ae3),_0x41f59a=_0x37d7cd==null?void 0x0:_0x37d7cd[_0x321d98(0x14d)];if(_0x41f59a)for(const _0x3dbba4 of Object[_0x321d98(0x3dc)](_0x41f59a)){let _0x211551=!0x1;for(const _0x5e58ec of _0x3dbba4)if(_0x17cbc5[_0x321d98(0x2db)]['intersects'](_0x5e58ec,_0x3689e7)){_0xd9bfb2['push'](_0x120ae3),_0x211551=!0x0;break;}if(_0x211551)break;}}),_0xd9bfb2;}[_0x34d75b(0x37d)](_0x248193,_0x40d863){const _0x2e9daf=_0x34d75b;var _0x3c6f2a,_0x16e759;return(_0x16e759=(_0x3c6f2a=this[_0x2e9daf(0x25e)][_0x2e9daf(0x42f)](_0x248193))==null?void 0x0:_0x3c6f2a[_0x2e9daf(0x42f)](_0x40d863))!=null?_0x16e759:new _0x17cbc5['ObjectMatrix']();}['getSubUnitPivotRenderCache'](_0x5387e0,_0x41ebfb){const _0x99cb6f=_0x34d75b;var _0x4fd0ed;return(_0x4fd0ed=this[_0x99cb6f(0x1fb)][_0x99cb6f(0x42f)](_0x5387e0))==null?void 0x0:_0x4fd0ed[_0x99cb6f(0x42f)](_0x41ebfb);}[_0x34d75b(0x3eb)](_0xab07f5,_0x1a7866,_0x4e1ed5){const _0x4c804c=_0x34d75b;var _0x2d04a7,_0x20b44c;return(_0x20b44c=(_0x2d04a7=this[_0x4c804c(0x1fb)][_0x4c804c(0x42f)](_0xab07f5))==null?void 0x0:_0x2d04a7[_0x4c804c(0x42f)](_0x1a7866))==null?void 0x0:_0x20b44c[_0x4c804c(0x42f)](_0x4e1ed5);}[_0x34d75b(0x1bd)](_0x1bf307){const _0x535d3f=_0x34d75b;this[_0x535d3f(0x1fb)][_0x535d3f(0x221)](_0x1bf307),this[_0x535d3f(0x25e)][_0x535d3f(0x221)](_0x1bf307);}[_0x34d75b(0x1ae)](_0x5bee10,_0x15ebe3){const _0x5a0db2=_0x34d75b;this[_0x5a0db2(0x3b1)][_0x5a0db2(0x1fc)]({'unitId':_0x5bee10,'subUnitId':_0x15ebe3});}},_0x1f106f['SheetsPivotTableAdaptorModel']=_0x18605b([_0x453e5a(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5['LocaleService'])),_0x453e5a(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x309)])),_0x453e5a(0x2,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f[_0x34d75b(0x20e)])),_0x453e5a(0x3,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x204)])),_0x453e5a(0x4,_0x17cbc5[_0x34d75b(0x15d)](_0x57279f[_0x34d75b(0x346)]))],_0x1f106f[_0x34d75b(0x2ae)]);var _0x1b0cc1=Object[_0x34d75b(0x36d)],_0x5eaf59=(_0x582a4a,_0x2e4838,_0x58c63c,_0x24874f)=>{for(var _0x477569=_0x24874f>0x1?void 0x0:_0x24874f?_0x1b0cc1(_0x2e4838,_0x58c63c):_0x2e4838,_0x1cb93e=_0x582a4a['length']-0x1,_0x5aefcf;_0x1cb93e>=0x0;_0x1cb93e--)(_0x5aefcf=_0x582a4a[_0x1cb93e])&&(_0x477569=_0x5aefcf(_0x477569)||_0x477569);return _0x477569;},_0x1117a6=(_0x466026,_0xa278ba)=>(_0x51fd18,_0x1af709)=>_0xa278ba(_0x51fd18,_0x1af709,_0x466026);_0x1f106f[_0x34d75b(0x286)]=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x495e67,_0x2a216a){const _0x4b014d=_0x34d75b;super(),_0x1658bd(this,_0x4b014d(0x356),new _0x17cbc5[(_0x4b014d(0x3a5))]({'PIVOT_PERFORM_CHECK':_0x18b11e})),_0x1658bd(this,_0x4b014d(0x225),new _0x17cbc5[(_0x4b014d(0x26d))]({'PIVOT_MUTATION_GENERATE':_0x5e2ef6})),(this[_0x4b014d(0x185)]=_0x495e67,this[_0x4b014d(0x182)]=_0x2a216a,this[_0x4b014d(0x38d)]());}[_0x34d75b(0x38d)](){this['_initViewModelBySheetInterceptor']();}[_0x34d75b(0x2b5)](_0xc2e5aa){const _0x3ef8ab=_0x34d75b;return this[_0x3ef8ab(0x356)][_0x3ef8ab(0x3ab)](_0x18b11e)(!0x1,_0xc2e5aa);}['_initViewModelBySheetInterceptor'](){const _0x18368f=_0x34d75b;this['disposeWithMe'](this['_sheetInterceptorService'][_0x18368f(0x2a4)](_0x57279f[_0x18368f(0x326)]['CELL_CONTENT'],{'priority':0xc8,'effect':_0x17cbc5['InterceptorEffectEnum'][_0x18368f(0x1d0)]|_0x17cbc5[_0x18368f(0x3e1)][_0x18368f(0x1d1)],'handler':(_0x4aafde,_0x248d95,_0x45ce2f)=>{const _0x14b962=_0x18368f,{row:_0x402490,col:_0x5f24cb,unitId:_0x46b11c,subUnitId:_0x33292d,workbook:_0x45a63f}=_0x248d95,_0x27386f=this[_0x14b962(0x182)][_0x14b962(0x41b)](_0x46b11c,_0x33292d,_0x402490,_0x5f24cb);if(!_0x27386f)return _0x45ce2f(_0x4aafde);const _0x59a09e={..._0x4aafde};(_0x27386f['v']||_0x27386f['v']===0x0)&&(_0x59a09e['v']=_0x27386f['v']),_0x27386f['t']&&(_0x59a09e['t']=_0x27386f['t']);const _0x53b681=(typeof(_0x4aafde==null?void 0x0:_0x4aafde['s'])==_0x14b962(0x1ac)?_0x45a63f[_0x14b962(0x3a4)]()['get'](_0x4aafde==null?void 0x0:_0x4aafde['s']):_0x4aafde==null?void 0x0:_0x4aafde['s'])||{},_0x551db4=_0x45a63f[_0x14b962(0x3a4)]()[_0x14b962(0x42f)](_0x27386f['s']),_0x8f8578={..._0x551db4,..._0x53b681};_0x551db4!=null&&_0x551db4['n']&&(_0x8f8578['n']=_0x551db4['n']);const _0x12749f=_0x45a63f[_0x14b962(0x3a4)]()[_0x14b962(0x370)](_0x8f8578);return _0x59a09e['s']=_0x12749f,(_0x27386f[_0x14b962(0x120)]===_0x4c0fcb[_0x14b962(0x2f5)]['Collapse']||_0x27386f[_0x14b962(0x120)]===_0x4c0fcb[_0x14b962(0x2f5)][_0x14b962(0x383)])&&(_0x59a09e[_0x14b962(0x255)]={},_0x59a09e[_0x14b962(0x255)][_0x14b962(0x25c)]=_0x41b574),_0x45ce2f(_0x59a09e);}}));}},_0x1f106f[_0x34d75b(0x286)]=_0x5eaf59([_0x1117a6(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x57279f[_0x34d75b(0x1dd)])),_0x1117a6(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f[_0x34d75b(0x2ae)]))],_0x1f106f[_0x34d75b(0x286)]);const _0x2f871f={'id':_0x34d75b(0x110),'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'handler':(_0x854e18,_0x316d89)=>{const _0x1ecf9e=_0x34d75b;if(!_0x316d89)return!0x1;if(!!_0x854e18[_0x1ecf9e(0x42f)](_0x17cbc5[_0x1ecf9e(0x234)])[_0x1ecf9e(0x19a)](_0x20ad14))return!0x0;const {pivotTableId:_0x104146,fieldJSON:_0x50c0d1,unitId:_0x428fa6,subUnitId:_0x19045b}=_0x316d89;let _0x48ff0c;const {dataFieldType:_0x3f9bd9,id:_0x2f2dcc,name:_0x404190,hexCode:_0x499e5d,originalFieldId:_0x456d89}=_0x50c0d1;if(_0x3f9bd9===_0x4c0fcb['PivotDataFieldTypeEnum']['dateGroupField']&&(_0x48ff0c=new _0x4c0fcb['DateGroupField'](_0x2f2dcc,_0x404190,_0x499e5d,_0x456d89)),!_0x48ff0c)return!0x1;const _0xce527c=_0x854e18[_0x1ecf9e(0x42f)](_0x1f106f[_0x1ecf9e(0x13e)]),_0x7fa872=_0xce527c[_0x1ecf9e(0x1a3)](_0x428fa6),_0x55ebd5=_0x7fa872['getCollection'](_0x104146);_0x7fa872['addDataFieldWithoutUnitInfo'](_0x48ff0c),_0x55ebd5[_0x1ecf9e(0x3b3)](_0x48ff0c[_0x1ecf9e(0x271)](),_0x48ff0c['getName']());const _0x104fcf=_0x55ebd5['getFieldById'](_0x48ff0c[_0x1ecf9e(0x12c)]());_0x104fcf&&_0x48ff0c[_0x1ecf9e(0x2b7)](_0x104fcf);const _0x43d852=_0xce527c['getPivotTableConfig'](_0x428fa6,_0x19045b,_0x104146);return _0xce527c[_0x1ecf9e(0x1aa)]({'unitId':_0x428fa6,'subUnitId':_0x19045b,'token':_0x104146,'type':_0x635b2f[_0x1ecf9e(0x28e)],'pivotConfig':_0x43d852}),!0x0;}},_0x566a76={'id':_0x34d75b(0x158),'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'handler':(_0xa86bf7,_0x58ddce)=>{const _0x411f97=_0x34d75b;if(!_0x58ddce)return!0x1;if(!!_0xa86bf7['get'](_0x17cbc5[_0x411f97(0x234)])[_0x411f97(0x19a)](_0x20ad14))return!0x0;const {pivotTableId:_0x315f0c,dataFieldId:_0x2ed6b3,unitId:_0xd022dd,subUnitId:_0x43d35b}=_0x58ddce,_0x373919=_0xa86bf7[_0x411f97(0x42f)](_0x1f106f[_0x411f97(0x13e)]),_0xf0e66b=_0x373919['getDataFieldManager'](_0xd022dd);_0xf0e66b[_0x411f97(0x3c4)](_0x315f0c)[_0x411f97(0x3b4)](_0x2ed6b3);let _0x53a4e8=!0x0;for(const _0x35da25 in _0xf0e66b['collections'])if(_0xf0e66b[_0x411f97(0x304)][_0x35da25][_0x411f97(0x20b)]()['includes'](_0x2ed6b3)){_0x53a4e8=!0x1;break;}_0x53a4e8&&_0xf0e66b[_0x411f97(0x371)](_0x2ed6b3);const _0x452e7f=_0x373919[_0x411f97(0x2d5)](_0xd022dd,_0x43d35b,_0x315f0c);return _0x373919[_0x411f97(0x1aa)]({'unitId':_0xd022dd,'subUnitId':_0x43d35b,'token':_0x315f0c,'type':_0x635b2f[_0x411f97(0x28e)],'pivotConfig':_0x452e7f}),!0x0;}};function _0x54c74c(_0x42c684,_0x561b09){const _0x3efcea=_0x34d75b;switch(_0x561b09){case _0x4c0fcb[_0x3efcea(0x350)]['Value']:return _0x42c684['valueFields'];case _0x4c0fcb['PivotTableFiledAreaEnum'][_0x3efcea(0x3f1)]:return _0x42c684['filterFields'];case _0x4c0fcb[_0x3efcea(0x350)][_0x3efcea(0x34b)]:return _0x42c684[_0x3efcea(0x14b)];case _0x4c0fcb['PivotTableFiledAreaEnum'][_0x3efcea(0x347)]:return _0x42c684[_0x3efcea(0x406)];default:return[];}}function _0x49b1f9(_0x24a12f,_0x597d40){const _0x2dee9b=_0x34d75b;return _0x24a12f['measure'][_0x597d40]||_0x24a12f[_0x2dee9b(0x2a0)][_0x597d40];}function _0x3a7088(_0x186903,_0x5c4b85){const _0x278ca9=_0x34d75b,{area:_0x3b8463,fieldJson:_0x964905,index:_0x3362f8}=_0x5c4b85;_0x3b8463===_0x4c0fcb[_0x278ca9(0x350)]['Value']?_0x186903[_0x278ca9(0x3d6)][_0x964905['id']]=_0x964905:_0x186903[_0x278ca9(0x2a0)][_0x964905['id']]=_0x964905,_0x54c74c(_0x186903,_0x3b8463)[_0x278ca9(0x35e)](_0x3362f8,0x0,_0x964905['id']);}function _0x1d68a3(_0x345c80,_0x47af17){const _0x2fa654=_0x34d75b,{area:_0x427429,fieldId:_0xe2d919,index:_0x3e099b}=_0x47af17;_0x427429===_0x4c0fcb[_0x2fa654(0x350)]['Value']?delete _0x345c80['measure'][_0xe2d919]:delete _0x345c80['dimension'][_0xe2d919],_0x54c74c(_0x345c80,_0x427429)['splice'](_0x3e099b,0x1);}function _0x338c4d(_0x937976,_0x7bae11){const {fieldId:_0x37fcaf,name:_0x1fc609}=_0x7bae11,_0x23e6ba=_0x49b1f9(_0x937976,_0x37fcaf);_0x23e6ba&&(_0x23e6ba['displayName']=_0x1fc609);}function _0x3d00a0(_0x3dd23f,_0x3d09fb){const _0x4ca36e=_0x34d75b,{fieldId:_0x2a35f8,collapse:_0x2add2c,item:_0x2fce2f}=_0x3d09fb;_0x2fce2f!==void 0x0?(_0x3dd23f[_0x4ca36e(0x24d)][_0x2a35f8]=_0x3dd23f[_0x4ca36e(0x24d)][_0x2a35f8]||{},_0x3dd23f[_0x4ca36e(0x24d)][_0x2a35f8][_0x2fce2f]=_0x2add2c):_0x3dd23f['collapseInfo'][_0x2a35f8]=_0x2add2c;}function _0x382112(_0x45c7f5,_0x38a8a1){const _0x4e8589=_0x34d75b,{fieldId:_0x35f7ca,format:_0x2ad8d8}=_0x38a8a1,_0x4b8b5b=_0x49b1f9(_0x45c7f5,_0x35f7ca);_0x4b8b5b&&(_0x4b8b5b[_0x4e8589(0x3d5)]=_0x2ad8d8);}function _0x208455(_0x433278,_0x49afcb){const _0x47ca4d=_0x34d75b,{fieldId:_0x2d3f23,filterInfo:_0x3fdded}=_0x49afcb,_0x1cc735=_0x49b1f9(_0x433278,_0x2d3f23);_0x1cc735&&(_0x1cc735[_0x47ca4d(0x329)]=_0x3fdded);}function _0x25d436(_0xe0c7ec,_0x4e045a){const _0x17f224=_0x34d75b,{fieldId:_0xded049,filterInfo:_0x58cc4f}=_0x4e045a,_0x459999=_0xe0c7ec['valueFilter']['filter'](_0x1e1b32=>_0x1e1b32[_0x17f224(0x405)]!==_0xded049);_0x58cc4f&&_0x459999['push']({'fieldId':_0xded049,'filterInfo':_0x58cc4f}),_0xe0c7ec[_0x17f224(0x257)]=_0x459999;}function _0x4fc75f(_0x43dc7b,_0x3a4118){const {fieldId:_0x34e0a1,subtotalType:_0x14dba2}=_0x3a4118,_0x2ba20e=_0x49b1f9(_0x43dc7b,_0x34e0a1);_0x2ba20e&&(_0x2ba20e['subtotal']=_0x14dba2);}function _0x545659(_0xfaa15,_0x35f9ea){const _0x5b4045=_0x34d75b,{fieldId:_0x4d43cf,oldArea:_0x3aead9,area:_0x887aab,oldIndex:_0x5241d3,index:_0x25068f}=_0x35f9ea,_0x53779f=_0x3aead9!==_0x4c0fcb[_0x5b4045(0x350)][_0x5b4045(0x1d0)]&&_0x887aab===_0x4c0fcb[_0x5b4045(0x350)][_0x5b4045(0x1d0)],_0x10dcd6=_0x3aead9===_0x4c0fcb[_0x5b4045(0x350)][_0x5b4045(0x1d0)]&&_0x887aab!==_0x4c0fcb[_0x5b4045(0x350)][_0x5b4045(0x1d0)];if(_0x53779f||_0x10dcd6){const _0x3cf9f6=_0x49b1f9(_0xfaa15,_0x4d43cf);_0x3cf9f6&&(_0x53779f?(delete _0xfaa15['dimension'][_0x4d43cf],_0xfaa15['measure'][_0x4d43cf]=_0x3cf9f6):(delete _0xfaa15[_0x5b4045(0x3d6)][_0x4d43cf],_0xfaa15[_0x5b4045(0x2a0)][_0x4d43cf]=_0x3cf9f6));}const _0x2343bf=_0x54c74c(_0xfaa15,_0x3aead9),_0x43336e=_0x54c74c(_0xfaa15,_0x887aab);_0x2343bf['splice'](_0x5241d3,0x1),_0x43336e[_0x5b4045(0x35e)](_0x25068f,0x0,_0x4d43cf);}function _0x50805d(_0x3a8051,_0x1628aa){const _0x35471c=_0x34d75b,{valuePosition:_0x217671,index:_0x310287}=_0x1628aa;_0x3a8051[_0x35471c(0x241)]=_0x217671,_0x3a8051[_0x35471c(0x358)]=_0x310287;}function _0x4cbe74(_0x798c45,_0x200f89){const {tableFieldId:_0x3d4d85,sourceName:_0x56616a,dataFieldId:_0x1fd3af}=_0x200f89,_0x20b733=_0x49b1f9(_0x798c45,_0x3d4d85);_0x20b733&&(_0x20b733['sourceName']=_0x56616a,_0x20b733['dataFieldId']=_0x1fd3af);}function _0x44c3b1(_0x48d81f,_0x5dde57){const {fieldId:_0x14c30f,sortInfo:_0x4b7620}=_0x5dde57,_0x42bfb5=_0x49b1f9(_0x48d81f,_0x14c30f);_0x42bfb5&&(_0x42bfb5['sortInfo']=_0x4b7620);}function _0x9dda05(_0x5ee6bb,_0x4996f0){const _0x101ab8=_0x34d75b,{options:_0xf9b465}=_0x4996f0;_0x5ee6bb[_0x101ab8(0x2e0)]={..._0x5ee6bb[_0x101ab8(0x2e0)],..._0xf9b465};}const _0x51496b={'type':_0x17cbc5['CommandType']['MUTATION'],'id':_0x34d75b(0x21d),'handler'(_0x2ead01,_0x27d4eb){const _0x177abf=_0x34d75b;if(!_0x27d4eb)return!0x1;if(!!_0x2ead01[_0x177abf(0x42f)](_0x17cbc5[_0x177abf(0x234)])[_0x177abf(0x19a)](_0x20ad14))return!0x0;const _0x4343c4=_0x2ead01['get'](_0x1f106f[_0x177abf(0x13e)]),{pivotTableId:_0x52c47d,fieldJson:_0x11793c,area:_0x896891,index:_0x1e7b94,unitId:_0x17f528,subUnitId:_0x551f18}=_0x27d4eb,_0x5ecf0f=_0x4343c4[_0x177abf(0x179)](_0x52c47d);if(!_0x5ecf0f)return!0x1;let _0x13dbc1;_0x896891===_0x4c0fcb[_0x177abf(0x350)][_0x177abf(0x1d0)]?_0x13dbc1=_0x4c0fcb[_0x177abf(0x1c2)](_0x11793c):_0x13dbc1=_0x4c0fcb[_0x177abf(0x1ef)](_0x11793c),_0x5ecf0f[_0x177abf(0x3b3)](_0x13dbc1,_0x896891,_0x1e7b94);const _0x21d951=_0x4343c4[_0x177abf(0x3bd)](_0x17f528,_0x551f18,_0x52c47d);_0x3a7088(_0x21d951,_0x27d4eb);const _0x3c0eb4=_0x4343c4[_0x177abf(0x2d5)](_0x17f528,_0x551f18,_0x52c47d);return _0x4343c4[_0x177abf(0x1aa)]({'unitId':_0x17f528,'subUnitId':_0x551f18,'token':_0x52c47d,'type':_0x635b2f['Set'],'pivotConfig':_0x3c0eb4}),!0x0;}},_0x4ee1fb={'type':_0x17cbc5['CommandType'][_0x34d75b(0x16c)],'id':_0x34d75b(0x1d5),'handler'(_0x3b9b45,_0x4df2b6){const _0x3dc384=_0x34d75b;if(!_0x4df2b6)return!0x1;if(!!_0x3b9b45['get'](_0x17cbc5[_0x3dc384(0x234)])[_0x3dc384(0x19a)](_0x20ad14))return!0x0;const _0xdc5223=_0x3b9b45[_0x3dc384(0x42f)](_0x1f106f[_0x3dc384(0x13e)]),{pivotTableId:_0x538608,fieldId:_0x5061fc,unitId:_0x1cf2e9,subUnitId:_0x5ca8e9}=_0x4df2b6,_0xa2a78d=_0xdc5223[_0x3dc384(0x179)](_0x538608);if(!_0xa2a78d)return!0x1;_0xa2a78d[_0x3dc384(0x365)](_0x5061fc);const _0x214ea4=_0xdc5223[_0x3dc384(0x3bd)](_0x1cf2e9,_0x5ca8e9,_0x538608);_0x1d68a3(_0x214ea4,_0x4df2b6);const _0x5f428f=_0xdc5223[_0x3dc384(0x2d5)](_0x1cf2e9,_0x5ca8e9,_0x538608);return _0xdc5223[_0x3dc384(0x1aa)]({'unitId':_0x1cf2e9,'subUnitId':_0x5ca8e9,'token':_0x538608,'type':_0x635b2f[_0x3dc384(0x28e)],'pivotConfig':_0x5f428f}),!0x0;}},_0x3df181={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':'sheet.mutation.rename-pivot-field','handler'(_0x2adeef,_0x152c28){const _0x3d5f79=_0x34d75b;if(!_0x152c28)return!0x1;if(!!_0x2adeef[_0x3d5f79(0x42f)](_0x17cbc5[_0x3d5f79(0x234)])['getConfig'](_0x20ad14))return!0x0;const _0x5bc161=_0x2adeef[_0x3d5f79(0x42f)](_0x1f106f[_0x3d5f79(0x13e)]),{unitId:_0x27b0af,subUnitId:_0x3a05cd,pivotTableId:_0x56db8e,fieldId:_0x177167,name:_0x4cdea4}=_0x152c28,_0x462b66=_0x5bc161[_0x3d5f79(0x179)](_0x56db8e);if(!_0x462b66)return!0x1;_0x462b66[_0x3d5f79(0x2aa)](_0x177167,_0x4cdea4);const _0x38ae27=_0x5bc161[_0x3d5f79(0x3bd)](_0x27b0af,_0x3a05cd,_0x56db8e);return _0x338c4d(_0x38ae27,_0x152c28),_0x5bc161[_0x3d5f79(0x1aa)]({'unitId':_0x27b0af,'subUnitId':_0x3a05cd,'token':_0x56db8e,'type':_0x635b2f['Set']}),!0x0;}},_0x45a8d1={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x18e),'handler'(_0x3d8928,_0x3201ac){const _0xae80a6=_0x34d75b;if(!_0x3201ac)return!0x1;if(!!_0x3d8928[_0xae80a6(0x42f)](_0x17cbc5['IConfigService'])['getConfig'](_0x20ad14))return!0x0;const _0x315486=_0x3d8928[_0xae80a6(0x42f)](_0x1f106f['SheetsPivotDataSourceModel']),{unitId:_0x3ce4b7,subUnitId:_0xab5ed7,pivotTableId:_0x5c642a,fieldId:_0x316e0a,collapse:_0x14f93a,item:_0x2a3f61}=_0x3201ac,_0x1581ea=_0x315486[_0xae80a6(0x179)](_0x5c642a);if(!_0x1581ea)return!0x1;_0x1581ea[_0xae80a6(0x2ce)](_0x316e0a,_0x14f93a,_0x2a3f61);const _0x434a18=_0x315486[_0xae80a6(0x3bd)](_0x3ce4b7,_0xab5ed7,_0x5c642a);return _0x3d00a0(_0x434a18,_0x3201ac),_0x315486[_0xae80a6(0x1aa)]({'unitId':_0x3ce4b7,'subUnitId':_0xab5ed7,'token':_0x5c642a,'type':_0x635b2f[_0xae80a6(0x28e)]}),!0x0;}},_0x2cf5c1={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x2b0),'handler'(_0x24fe1f,_0x30011a){const _0x47ac3e=_0x34d75b;if(!_0x30011a)return!0x1;if(!!_0x24fe1f['get'](_0x17cbc5[_0x47ac3e(0x234)])[_0x47ac3e(0x19a)](_0x20ad14))return!0x0;const _0x24237d=_0x24fe1f[_0x47ac3e(0x42f)](_0x1f106f[_0x47ac3e(0x13e)]),{unitId:_0x29afb0,subUnitId:_0x3eec25,pivotTableId:_0x388d7a,fieldId:_0x9f61f2,format:_0x20fbfa}=_0x30011a,_0x85da7d=_0x24237d[_0x47ac3e(0x179)](_0x388d7a);if(!_0x85da7d)return!0x1;_0x85da7d['setFieldFormat'](_0x9f61f2,_0x20fbfa);const _0x2b3d4f=_0x24237d[_0x47ac3e(0x3bd)](_0x29afb0,_0x3eec25,_0x388d7a);return _0x382112(_0x2b3d4f,_0x30011a),_0x24237d[_0x47ac3e(0x1aa)]({'unitId':_0x29afb0,'subUnitId':_0x3eec25,'token':_0x388d7a,'type':_0x635b2f[_0x47ac3e(0x28e)]}),!0x0;}},_0x5a3917={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x2dd),'handler'(_0x56f02e,_0x196452){const _0x257e41=_0x34d75b;if(!_0x196452)return!0x1;if(!!_0x56f02e[_0x257e41(0x42f)](_0x17cbc5[_0x257e41(0x234)])[_0x257e41(0x19a)](_0x20ad14))return!0x0;const _0x509839=_0x56f02e[_0x257e41(0x42f)](_0x1f106f['SheetsPivotDataSourceModel']),{unitId:_0x395304,subUnitId:_0x2ed136,pivotTableId:_0x4243b8,fieldId:_0x3b4c9f,filterInfo:_0x5be6bb}=_0x196452,_0x4f50ae=_0x509839['getPivotTableInstance'](_0x4243b8);if(!_0x4f50ae)return!0x1;_0x4f50ae[_0x257e41(0x412)](_0x3b4c9f,_0x5be6bb);const _0x2b9518=_0x509839[_0x257e41(0x3bd)](_0x395304,_0x2ed136,_0x4243b8);return _0x208455(_0x2b9518,_0x196452),_0x509839[_0x257e41(0x1aa)]({'unitId':_0x395304,'subUnitId':_0x2ed136,'token':_0x4243b8,'type':_0x635b2f[_0x257e41(0x28e)]}),!0x0;}},_0x8f757f={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x414),'handler'(_0x1ba02b,_0x16c840){const _0x4f47c5=_0x34d75b;if(!_0x16c840)return!0x1;if(!!_0x1ba02b['get'](_0x17cbc5['IConfigService'])[_0x4f47c5(0x19a)](_0x20ad14))return!0x0;const _0x1fc4bc=_0x1ba02b[_0x4f47c5(0x42f)](_0x1f106f[_0x4f47c5(0x13e)]),{unitId:_0x371b37,subUnitId:_0x1aaf95,pivotTableId:_0x5440ca,options:_0x4ab15f}=_0x16c840,_0x524245=_0x1fc4bc[_0x4f47c5(0x179)](_0x5440ca);if(!_0x524245)return!0x1;_0x524245[_0x4f47c5(0x396)](_0x4ab15f);const _0x125286=_0x1fc4bc[_0x4f47c5(0x3bd)](_0x371b37,_0x1aaf95,_0x5440ca);return _0x9dda05(_0x125286,_0x16c840),_0x1fc4bc[_0x4f47c5(0x1aa)]({'unitId':_0x371b37,'subUnitId':_0x1aaf95,'token':_0x5440ca,'type':_0x635b2f['Set']}),!0x0;}},_0x3940a4={'type':_0x17cbc5[_0x34d75b(0x298)]['MUTATION'],'id':_0x34d75b(0x229),'handler'(_0x1e23f2,_0x1aeea2){const _0x1687d3=_0x34d75b;if(!_0x1aeea2)return!0x1;if(!!_0x1e23f2['get'](_0x17cbc5[_0x1687d3(0x234)])['getConfig'](_0x20ad14))return!0x0;const _0x10eaa8=_0x1e23f2[_0x1687d3(0x42f)](_0x1f106f['SheetsPivotDataSourceModel']),{unitId:_0x373075,subUnitId:_0x262cf1,pivotTableId:_0x2388d7,sortInfo:_0x1ea22f,fieldId:_0xc5b7d1}=_0x1aeea2,_0x42a1ae=_0x10eaa8[_0x1687d3(0x179)](_0x2388d7);if(!_0x42a1ae)return!0x1;_0x42a1ae[_0x1687d3(0x2d7)](_0xc5b7d1,_0x1ea22f);const _0x1b083b=_0x10eaa8[_0x1687d3(0x3bd)](_0x373075,_0x262cf1,_0x2388d7);return _0x44c3b1(_0x1b083b,_0x1aeea2),_0x10eaa8[_0x1687d3(0x1aa)]({'unitId':_0x373075,'subUnitId':_0x262cf1,'token':_0x2388d7,'type':_0x635b2f[_0x1687d3(0x28e)]}),!0x0;}},_0x553c35={'type':_0x17cbc5[_0x34d75b(0x298)]['MUTATION'],'id':_0x34d75b(0x302),'handler'(_0x333dd1,_0x2c6282){const _0x4c5ae5=_0x34d75b;if(!_0x2c6282)return!0x1;if(!!_0x333dd1['get'](_0x17cbc5[_0x4c5ae5(0x234)])[_0x4c5ae5(0x19a)](_0x20ad14))return!0x0;const _0x392a02=_0x333dd1['get'](_0x1f106f[_0x4c5ae5(0x13e)]),{unitId:_0x23fc3d,subUnitId:_0x51f548,pivotTableId:_0x448668,fieldId:_0x17b8fa,subtotalType:_0x16c182}=_0x2c6282,_0x53bf28=_0x392a02[_0x4c5ae5(0x179)](_0x448668);if(!_0x53bf28)return!0x1;_0x53bf28[_0x4c5ae5(0x189)](_0x17b8fa,_0x16c182);const _0x4b3323=_0x392a02[_0x4c5ae5(0x3bd)](_0x23fc3d,_0x51f548,_0x448668);return _0x4fc75f(_0x4b3323,_0x2c6282),_0x392a02[_0x4c5ae5(0x1aa)]({'unitId':_0x23fc3d,'subUnitId':_0x51f548,'token':_0x448668,'type':_0x635b2f[_0x4c5ae5(0x28e)]}),!0x0;}},_0x45dae9={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x237),'handler'(_0x22da45,_0x11481a){const _0x1f0455=_0x34d75b;if(!_0x11481a)return!0x1;if(!!_0x22da45[_0x1f0455(0x42f)](_0x17cbc5[_0x1f0455(0x234)])[_0x1f0455(0x19a)](_0x20ad14))return!0x0;const _0x3ab80e=_0x22da45[_0x1f0455(0x42f)](_0x1f106f['SheetsPivotDataSourceModel']),{unitId:_0x3cbeef,subUnitId:_0x29356f,pivotTableId:_0x46db99,fieldId:_0x552557,filterInfo:_0x1898f0}=_0x11481a,_0x436cdb=_0x3ab80e[_0x1f0455(0x179)](_0x46db99);if(!_0x436cdb)return!0x1;_0x436cdb[_0x1f0455(0x258)](_0x552557,_0x1898f0);const _0x1dbd9b=_0x3ab80e['getPivotTableModelConfig'](_0x3cbeef,_0x29356f,_0x46db99);return _0x25d436(_0x1dbd9b,_0x11481a),_0x3ab80e['addDirtyPivotTable']({'unitId':_0x3cbeef,'subUnitId':_0x29356f,'token':_0x46db99,'type':_0x635b2f['Set']}),!0x0;}},_0x282678={'type':_0x17cbc5['CommandType'][_0x34d75b(0x16c)],'id':_0x34d75b(0x1e2),'handler'(_0x3932de,_0x25c589){const _0x2a34cf=_0x34d75b;if(!_0x25c589)return!0x1;if(!!_0x3932de[_0x2a34cf(0x42f)](_0x17cbc5[_0x2a34cf(0x234)])['getConfig'](_0x20ad14))return!0x0;const _0x333491=_0x3932de[_0x2a34cf(0x42f)](_0x1f106f[_0x2a34cf(0x13e)]),{unitId:_0x41e318,subUnitId:_0x1b5d70,pivotTableId:_0x14a3eb,area:_0xc7ff55,index:_0x465bc2,fieldId:_0x538ac5}=_0x25c589,_0xff23de=_0x333491[_0x2a34cf(0x179)](_0x14a3eb);if(!_0xff23de)return!0x1;_0xff23de['updateFieldPosition'](_0x538ac5,_0xc7ff55,_0x465bc2);const _0x3d4f65=_0x333491[_0x2a34cf(0x3bd)](_0x41e318,_0x1b5d70,_0x14a3eb);return _0x545659(_0x3d4f65,_0x25c589),_0x333491[_0x2a34cf(0x1aa)]({'unitId':_0x41e318,'subUnitId':_0x1b5d70,'token':_0x14a3eb,'type':_0x635b2f[_0x2a34cf(0x28e)]}),!0x0;}},_0x39a047={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x21c),'handler'(_0x8733c0,_0x3f73b7){const _0x5670e2=_0x34d75b;if(!_0x3f73b7)return!0x1;if(!!_0x8733c0[_0x5670e2(0x42f)](_0x17cbc5[_0x5670e2(0x234)])['getConfig'](_0x20ad14))return!0x0;const _0x217f01=_0x8733c0['get'](_0x1f106f[_0x5670e2(0x13e)]),{unitId:_0x10c3ea,subUnitId:_0x52d9ca,pivotTableId:_0x57b965,sourceName:_0x51bb88,dataFieldId:_0x2e1a6e,tableFieldId:_0x33dab1}=_0x3f73b7,_0xc19441=_0x217f01[_0x5670e2(0x179)](_0x57b965);if(!_0xc19441)return!0x1;_0xc19441['updateFieldSourceInfo'](_0x33dab1,_0x51bb88,_0x2e1a6e);const _0xb21e32=_0x217f01[_0x5670e2(0x3bd)](_0x10c3ea,_0x52d9ca,_0x57b965);return _0x4cbe74(_0xb21e32,_0x3f73b7),_0x217f01[_0x5670e2(0x1aa)]({'unitId':_0x10c3ea,'subUnitId':_0x52d9ca,'token':_0x57b965,'type':_0x635b2f['Set']}),!0x0;}},_0x4fa6ea={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':'sheet.mutation.pivot-update-value-position','handler'(_0x2f16d2,_0x220705){const _0x41837f=_0x34d75b;if(!_0x220705)return!0x1;if(!!_0x2f16d2[_0x41837f(0x42f)](_0x17cbc5[_0x41837f(0x234)])['getConfig'](_0x20ad14))return!0x0;const _0x160131=_0x2f16d2[_0x41837f(0x42f)](_0x1f106f['SheetsPivotDataSourceModel']),{unitId:_0x3ce758,subUnitId:_0x1504a6,pivotTableId:_0x38529e,valuePosition:_0x204a1f,index:_0x3da5f8}=_0x220705,_0x7faf43=_0x160131['getPivotTableInstance'](_0x38529e);if(!_0x7faf43)return!0x1;_0x7faf43[_0x41837f(0x232)](_0x204a1f,_0x3da5f8);const _0x27c52c=_0x160131[_0x41837f(0x3bd)](_0x3ce758,_0x1504a6,_0x38529e);return _0x50805d(_0x27c52c,_0x220705),_0x160131[_0x41837f(0x1aa)]({'unitId':_0x3ce758,'subUnitId':_0x1504a6,'token':_0x38529e,'type':_0x635b2f[_0x41837f(0x28e)]}),!0x0;}};function _0x5e1c02(_0x5ceb14,_0xf26e,_0x2bd175){const _0x2a7883=_0x34d75b,{pivotTableId:_0x4e4904,unitId:_0x564c1c,subUnitId:_0x4f874a}=_0xf26e,_0x324915=[],_0x157356=[];for(const _0x29556d of _0x2bd175)switch(_0x29556d['type']){case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x129)]:{const {fieldJson:_0x52edae,area:_0x47c1cb,index:_0x5e5a82}=_0x29556d,_0xae218b={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldJson':_0x52edae,'area':_0x47c1cb,'index':_0x5e5a82},_0x156b9e={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x52edae['id'],'area':_0x47c1cb,'index':_0x5e5a82};_0x324915[_0x2a7883(0x30f)]({'id':_0x51496b['id'],'params':_0xae218b}),_0x157356[_0x2a7883(0x126)]({'id':_0x4ee1fb['id'],'params':_0x156b9e});}break;case _0x4c0fcb[_0x2a7883(0x140)]['SetSubtotalType']:{const {fieldId:_0xf71dd1,newSubtotalType:_0x2c66e8,oldSubtotalType:_0x41da37}=_0x29556d,_0x514222={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0xf71dd1,'subtotalType':_0x2c66e8};_0x324915['push']({'id':_0x553c35['id'],'params':_0x514222});const _0x4ef8e9={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0xf71dd1,'subtotalType':_0x41da37};_0x157356[_0x2a7883(0x126)]({'id':_0x553c35['id'],'params':_0x4ef8e9});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x238)]:{const {fieldId:_0x578fd0,fieldJson:_0x3510d1,area:_0x430776,index:_0x17e3b7}=_0x29556d,_0xf1a5e={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x578fd0,'index':_0x17e3b7,'area':_0x430776};_0x324915[_0x2a7883(0x30f)]({'id':_0x4ee1fb['id'],'params':_0xf1a5e});const _0x408da4={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldJson':_0x3510d1,'area':_0x430776,'index':_0x17e3b7};_0x157356[_0x2a7883(0x126)]({'id':_0x51496b['id'],'params':_0x408da4});}break;case _0x4c0fcb[_0x2a7883(0x140)]['RenameField']:{const {fieldId:_0x29c2cf,oldName:_0x3bb5c0,newName:_0x57371d}=_0x29556d,_0x3f6a72={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x29c2cf,'name':_0x57371d};_0x324915[_0x2a7883(0x30f)]({'id':_0x3df181['id'],'params':_0x3f6a72});const _0x102fb9={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x29c2cf,'name':_0x3bb5c0};_0x157356[_0x2a7883(0x126)]({'id':_0x3df181['id'],'params':_0x102fb9});}break;case _0x4c0fcb['PivotTableChangeTypeEnum'][_0x2a7883(0x224)]:{const {fieldId:_0x1d45e0,oldFilterInfo:_0x40f6fe,newFilterInfo:_0x5ef5c3}=_0x29556d,_0x4eedd0={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x1d45e0,'filterInfo':_0x5ef5c3};_0x324915['push']({'id':_0x5a3917['id'],'params':_0x4eedd0});const _0x3d3451={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x1d45e0,'filterInfo':_0x40f6fe};_0x157356[_0x2a7883(0x126)]({'id':_0x5a3917['id'],'params':_0x3d3451});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x3be)]:{const {fieldId:_0x28e32c,oldSortInfo:_0x1a9ec5,newSortInfo:_0x2a06b2}=_0x29556d,_0x31c109={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x28e32c,'sortInfo':_0x2a06b2};_0x324915[_0x2a7883(0x30f)]({'id':_0x3940a4['id'],'params':_0x31c109});const _0x38290e={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x28e32c,'sortInfo':_0x1a9ec5};_0x157356[_0x2a7883(0x126)]({'id':_0x3940a4['id'],'params':_0x38290e});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x34a)]:{const {oldOptions:_0x5618ea,newOptions:_0x56c9db}=_0x29556d,_0x1df84f={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'options':_0x56c9db};_0x324915[_0x2a7883(0x30f)]({'id':_0x8f757f['id'],'params':_0x1df84f});const _0x264b2f={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'options':_0x5618ea};_0x157356[_0x2a7883(0x126)]({'id':_0x8f757f['id'],'params':_0x264b2f});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x402)]:{const {oldArea:_0x1284ad,newArea:_0x19ff28,oldIndex:_0x558aae,newIndex:_0x413bb0,fieldId:_0x2178ad}=_0x29556d,_0x46eed3={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x2178ad,'area':_0x19ff28,'index':_0x413bb0,'oldArea':_0x1284ad,'oldIndex':_0x558aae};_0x324915[_0x2a7883(0x30f)]({'id':_0x282678['id'],'params':_0x46eed3});const _0x3b89c3={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x2178ad,'area':_0x1284ad,'index':_0x558aae,'oldArea':_0x19ff28,'oldIndex':_0x413bb0};_0x157356[_0x2a7883(0x126)]({'id':_0x282678['id'],'params':_0x3b89c3});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x16e)]:{const {oldValuePosition:_0x3afa32,newValuePosition:_0xe3ef26,oldIndex:_0x2dc8b5,newIndex:_0x2b3d8b}=_0x29556d,_0x595522={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'valuePosition':_0xe3ef26,'index':_0x2b3d8b};_0x324915[_0x2a7883(0x30f)]({'id':_0x4fa6ea['id'],'params':_0x595522});const _0x11cb1c={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'valuePosition':_0x3afa32,'index':_0x2dc8b5};_0x157356['unshift']({'id':_0x4fa6ea['id'],'params':_0x11cb1c});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x3c2)]:{const {fieldId:_0x343093,collapse:_0x33fc26,item:_0x54833d}=_0x29556d,_0x27507={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x343093,'collapse':_0x33fc26,'item':_0x54833d};_0x324915[_0x2a7883(0x30f)]({'id':_0x45a8d1['id'],'params':_0x27507});const _0x577e47={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x343093,'collapse':!_0x33fc26,'item':_0x54833d};_0x157356[_0x2a7883(0x126)]({'id':_0x45a8d1['id'],'params':_0x577e47});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x3c0)]:{const {newFormat:_0x513352,oldFormat:_0x1fe5df,fieldId:_0x3e759e}=_0x29556d,_0x3967eb={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x3e759e,'format':_0x513352};_0x324915[_0x2a7883(0x30f)]({'id':_0x2cf5c1['id'],'params':_0x3967eb});const _0x2a0ee2={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x3e759e,'format':_0x1fe5df};_0x157356[_0x2a7883(0x126)]({'id':_0x2cf5c1['id'],'params':_0x2a0ee2});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x277)]:{const {tableFieldId:_0x3658ee,oldSourceName:_0x41d72e,newSourceName:_0x1eda6f,oldDataFieldId:_0xb7d041,newDataFieldId:_0x34a866}=_0x29556d,_0x1bc9d9={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'tableFieldId':_0x3658ee,'sourceName':_0x1eda6f,'dataFieldId':_0x34a866};_0x324915['push']({'id':_0x39a047['id'],'params':_0x1bc9d9});const _0x434f83={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'tableFieldId':_0x3658ee,'sourceName':_0x41d72e,'dataFieldId':_0xb7d041};_0x157356[_0x2a7883(0x126)]({'id':_0x39a047['id'],'params':_0x434f83});}break;case _0x4c0fcb[_0x2a7883(0x140)][_0x2a7883(0x401)]:{const {fieldId:_0x2e146d,filterInfo:_0x3765c0,oldFilterInfo:_0x384ee1}=_0x29556d,_0x319397={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x2e146d,'filterInfo':_0x3765c0};_0x324915[_0x2a7883(0x30f)]({'id':_0x45dae9['id'],'params':_0x319397});const _0xeaddb6={'unitId':_0x564c1c,'subUnitId':_0x4f874a,'pivotTableId':_0x4e4904,'fieldId':_0x2e146d,'filterInfo':_0x384ee1};_0x157356[_0x2a7883(0x126)]({'id':_0x45dae9['id'],'params':_0xeaddb6});}}return{'redos':_0x324915,'undos':_0x157356};}function _0x21c4d4(_0x551595,_0x149f52){const _0xe97552=_0x34d75b;var _0x2e4c78;const _0x296213=_0x551595[_0xe97552(0x42f)](_0x1f106f[_0xe97552(0x286)]),{cellInfo:_0x1d1f0b,view:_0x3aba79,isEmpty:_0x4fa910}=_0x149f52;return(_0x2e4c78=_0x296213[_0xe97552(0x225)][_0xe97552(0x41d)](_0x5e2ef6)(_0x277e75,{'cellInfo':_0x1d1f0b,'view':_0x3aba79,'isEmpty':_0x4fa910}))!=null?_0x2e4c78:_0x277e75;}const _0xc9e5bb={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x21e),async 'handler'(_0x12ce62,_0x364026){const _0x17fdc3=_0x34d75b;if(!_0x364026)return!0x1;const _0x40f7f9=_0x12ce62['get'](_0x17cbc5[_0x17fdc3(0x275)]),_0x474a02=_0x12ce62[_0x17fdc3(0x42f)](_0x1f106f[_0x17fdc3(0x391)]),_0x51aa36=_0x12ce62[_0x17fdc3(0x42f)](_0x17cbc5[_0x17fdc3(0x1f0)]),{pivotTableId:_0xc40fd5,dataFieldId:_0xc2d8c4,fieldArea:_0x331f27,index:_0x175a84,unitId:_0x3c448e,subUnitId:_0xe661b4}=_0x364026,_0x5495c0=(await _0x474a02['getPivotDisplayConfig']({'unitId':_0x3c448e,'subUnitId':_0xe661b4,'pivotTableId':_0xc40fd5,'params':{'type':_0x5559df['AddPivotField'],'addPivotField':{'dataFieldId':_0xc2d8c4,'fieldArea':_0x331f27,'index':_0x175a84}}}))[_0x17fdc3(0x161)]['addPivotField'];if(!_0x5495c0)return!0x1;const {view:_0x4711a8,changesets:_0x4be538,isEmpty:_0x2f6837,pivotTableConfig:_0x2e2d86,shouldBeAddedGroupJSON:_0x3d023a}=_0x5495c0,_0x31721b=_0x2e2d86['targetCellInfo'],_0x253a40=new _0x4c0fcb[(_0x17fdc3(0x29d))]();_0x253a40[_0x17fdc3(0x18b)](_0x4711a8);const _0x2cd52d={'cellInfo':_0x31721b,'view':_0x253a40,'isEmpty':_0x2f6837};if(!await _0x12ce62['get'](_0x1f106f[_0x17fdc3(0x286)])[_0x17fdc3(0x356)][_0x17fdc3(0x3ab)](_0x18b11e)(!0x0,_0x2cd52d))return!0x1;const _0x19c42c=_0xa15f20(_0x12ce62,_0x253a40,_0x31721b,_0x2f6837),_0x5c5436=_0x21c4d4(_0x12ce62,_0x2cd52d),{undos:_0x4029ab,redos:_0x30c14f}=_0x5e1c02(_0x40f7f9,{'pivotTableId':_0xc40fd5,'unitId':_0x3c448e,'subUnitId':_0xe661b4},_0x4be538);return _0x3d023a&&(_0x30c14f[_0x17fdc3(0x126)]({'id':_0x2f871f['id'],'params':{'pivotTableId':_0xc40fd5,'fieldJSON':_0x3d023a,'unitId':_0x3c448e,'subUnitId':_0xe661b4}}),_0x4029ab['push']({'id':_0x566a76['id'],'params':{'pivotTableId':_0xc40fd5,'dataFieldId':_0x3d023a['id'],'unitId':_0x3c448e,'subUnitId':_0xe661b4}})),_0x17cbc5['sequenceExecute']([..._0x19c42c[_0x17fdc3(0x109)],..._0x5c5436[_0x17fdc3(0x109)],..._0x30c14f],_0x40f7f9),_0x51aa36[_0x17fdc3(0x360)]({'unitID':_0x3c448e,'redoMutations':[..._0x19c42c[_0x17fdc3(0x109)],..._0x5c5436[_0x17fdc3(0x109)],..._0x30c14f],'undoMutations':[..._0x19c42c[_0x17fdc3(0x355)],..._0x5c5436['undos'],..._0x4029ab]}),!0x0;}},_0x2748f5=()=>typeof process<'u'&&process[_0x34d75b(0x155)]!=null&&process[_0x34d75b(0x155)]['node']!=null,_0x5c5117={'type':_0x17cbc5[_0x34d75b(0x298)]['MUTATION'],'id':_0x34d75b(0x176),'handler'(_0x1da8d1,_0x379114){const _0x20b7be=_0x34d75b;var _0x54513c;if(!_0x379114)return!0x1;const _0x30f961=_0x1da8d1[_0x20b7be(0x42f)](_0x17cbc5['IConfigService']);if(!!_0x30f961[_0x20b7be(0x19a)](_0x20ad14))return!0x0;const _0x1e951d=_0x1da8d1[_0x20b7be(0x42f)](_0x17cbc5[_0x20b7be(0x204)]),_0x33c821=_0x1da8d1['get'](_0x1f106f[_0x20b7be(0x13e)]),{pivotTableId:_0x587018,pivotTableConfig:_0x2c524f,collectionConfig:_0x1e9970,unitId:_0x9cf5e9,subUnitId:_0x1591e1}=_0x379114,{sourceRangeInfo:_0x3c4401,fieldsConfig:_0x4bd85c,targetCellInfo:_0x1ccf46}=_0x2c524f,_0x5d71f0=_0x1e951d[_0x20b7be(0x146)](_0x9cf5e9);if(!_0x5d71f0||!_0x5d71f0['getSheetBySheetId'](_0x1591e1))return!0x1;if(!_0x2748f5()){let _0x436d51=0x0;_0x5d71f0[_0x20b7be(0x3e9)]()[_0x20b7be(0x3f0)](_0x4e276f=>{const _0x505e6e=_0x20b7be;var _0x47b2e2,_0x9bd37a;_0x436d51+=(_0x9bd37a=(_0x47b2e2=_0x33c821[_0x505e6e(0x408)](_0x9cf5e9,_0x4e276f[_0x505e6e(0x18f)]()))==null?void 0x0:_0x47b2e2[_0x505e6e(0x26c)])!=null?_0x9bd37a:0x0;});const _0x576b96=(_0x54513c=_0x30f961[_0x20b7be(0x19a)](_0x5e3b4f['LS_CONFIG_KEY']))!=null?_0x54513c:{},{ls:_0x50c784,pbk:_0x5d52c3}=_0x576b96;if(!_0x510277(_0x50c784,_0x5d52c3))throw new _0x17cbc5[(_0x20b7be(0x328))](_0x20b7be(0x41c));const _0x40c3ac=_0x1f03e8(_0x558300,_0x50c784,_0x5d52c3)[_0x20b7be(0x1ba)];if(_0x436d51>=_0x40c3ac)throw new _0x17cbc5['CustomCommandExecutionError'](_0x20b7be(0x41c));}if(!_0x1e9970||!_0x4bd85c)return!0x1;const {collection:_0x50ff1b,updateDataFieldList:_0x4189e9}=_0x33c821['addCollectionByJSON'](_0x587018,_0x1e9970,_0x3c4401,_0x1ccf46);_0x33c821[_0x20b7be(0x30e)](_0x50ff1b,_0x4189e9,_0x3c4401);const _0x11a934=new _0x4c0fcb[(_0x20b7be(0x20a))](_0x50ff1b,void 0x0,_0x587018);_0x11a934['fromJSON'](_0x4bd85c);const _0x342be2=JSON[_0x20b7be(0x37b)](JSON[_0x20b7be(0x22a)](_0x2c524f));return _0x33c821[_0x20b7be(0x3fc)](_0x9cf5e9,_0x1591e1,_0x587018,_0x11a934,_0x342be2),_0x33c821[_0x20b7be(0x1aa)]({'unitId':_0x9cf5e9,'subUnitId':_0x1591e1,'token':_0x587018,'type':_0x635b2f[_0x20b7be(0x256)],'pivotConfig':_0x342be2}),!0x0;}},_0x34dbf8={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x112),async 'handler'(_0xb28bdd,_0x16a085){const _0x56d8fe=_0x34d75b;if(!_0x16a085)return!0x1;const {sourceDataInfo:_0xe6b74b,pivotTableConfig:_0x2944ef}=_0x16a085;if(!_0xe6b74b||!_0x2944ef)return!0x1;const {unitId:_0x5149e3,subUnitId:_0x49eaa5,range:_0x3db6d2}=_0xe6b74b,_0x9dbc9d=_0xb28bdd[_0x56d8fe(0x42f)](_0x17cbc5['IUniverInstanceService']),_0x2f114d=_0xb28bdd['get'](_0x1f106f['SheetsPivotRPCService']),_0x252f89=_0xb28bdd['get'](_0x17cbc5[_0x56d8fe(0x3fd)]),_0x467ecd=_0xb28bdd[_0x56d8fe(0x42f)](_0x17cbc5[_0x56d8fe(0x275)]),_0xc34554=_0x9dbc9d['getUnit'](_0x5149e3);if(!_0xc34554)return!0x1;const _0x8f2089=_0xc34554['getSheetBySheetId'](_0x49eaa5);if(!_0x8f2089)return!0x1;const _0x34ed31=_0x4c0fcb[_0x56d8fe(0x193)](0x8),_0x59b98e=_0x3db6d2||{'startRow':0x0,'startColumn':0x0,'endRow':_0x8f2089['getRowCount']()-0x1,'endColumn':_0x8f2089[_0x56d8fe(0x420)]()-0x1};_0x59b98e[_0x56d8fe(0x2b1)]=_0x17cbc5[_0x56d8fe(0x3d2)][_0x56d8fe(0x3c3)];const _0x1706db=(await _0x2f114d[_0x56d8fe(0x3ad)]({'unitId':_0x5149e3,'subUnitId':_0x49eaa5,'pivotTableId':_0x34ed31,'params':{'type':_0x5559df[_0x56d8fe(0x168)],'addPivotTableWithConfig':{'sourceRangeInfo':{'unitId':_0x5149e3,'sheetName':_0x8f2089['getName'](),'subUnitId':_0x49eaa5,'range':_0x59b98e},'pivotTableId':_0x34ed31,'pivotTableIndexConfig':_0x2944ef}}}))[_0x56d8fe(0x161)][_0x56d8fe(0x293)];if(!_0x1706db)return!0x1;const {isEmpty:_0x4a8afa,fieldsConfig:_0x9a85df,collectionConfig:_0x32c417,changesets:_0x5c6e39}=_0x1706db,_0x1ca3fd=_0xc34554['getSheets']()[_0x56d8fe(0x233)],_0x22929e=_0x17cbc5[_0x56d8fe(0x2fe)]({'rowCount':_0x8f2089['getRowCount']()-0x1,'columnCount':_0x8f2089[_0x56d8fe(0x420)]()-0x1});_0x22929e['id']=_0x17cbc5[_0x56d8fe(0x305)](),_0x22929e[_0x56d8fe(0x39e)]=_0xc34554[_0x56d8fe(0x2c1)](''+_0x252f89['t'](_0x56d8fe(0x1f5)));const _0x422a0a={'index':_0x1ca3fd,'sheet':_0x22929e,'unitId':_0x5149e3},{redos:_0x2585ca}=_0x5e1c02(_0x467ecd,{'pivotTableId':_0x34ed31,'unitId':_0x5149e3,'subUnitId':_0x22929e['id']},_0x5c6e39),_0x27c309=[{'id':_0x57279f['InsertSheetCommand']['id'],'params':_0x422a0a},{'id':_0x5c5117['id'],'params':{'unitId':_0x5149e3,'subUnitId':_0x22929e['id'],'pivotTableId':_0x34ed31,'pivotTableConfig':{'isEmpty':_0x4a8afa,'fieldsConfig':_0x9a85df,'targetCellInfo':{'row':0x0,'col':0x0,'unitId':_0x5149e3,'subUnitId':_0x22929e['id']},'sourceRangeInfo':{'subUnitId':_0x49eaa5,'unitId':_0x5149e3,'range':_0x59b98e,'sheetName':_0x8f2089['getName']()}},'collectionConfig':_0x32c417}},..._0x2585ca];return _0x17cbc5['sequenceExecute'](_0x27c309,_0x467ecd),!0x0;}},_0x1bdf78={'type':_0x17cbc5['CommandType'][_0x34d75b(0x16c)],'id':_0x34d75b(0x2b8),'handler'(_0x37d610,_0x2ff53c){const _0xfe4615=_0x34d75b;if(!_0x2ff53c)return!0x1;if(!!_0x37d610['get'](_0x17cbc5[_0xfe4615(0x234)])['getConfig'](_0x20ad14))return!0x0;const {pivotTableId:_0xd9c61,unitId:_0x142cdf,subUnitId:_0x896356}=_0x2ff53c,_0x40ead9=_0x37d610[_0xfe4615(0x42f)](_0x1f106f['SheetsPivotDataSourceModel']);return _0x40ead9[_0xfe4615(0x2d5)](_0x142cdf,_0x896356,_0xd9c61)?(_0x40ead9[_0xfe4615(0x1aa)]({'unitId':_0x142cdf,'subUnitId':_0x896356,'token':_0xd9c61,'type':_0x635b2f[_0xfe4615(0x24e)]}),_0x40ead9[_0xfe4615(0x33e)](_0x142cdf,_0x896356,_0xd9c61),!0x0):!0x1;}},_0x2f027f={'type':_0x17cbc5['CommandType'][_0x34d75b(0x10c)],'id':'sheet.command.add-pivot-table',async 'handler'(_0x2e1bcc,_0xc7a93c){const _0x4ddc71=_0x34d75b;var _0x14803e,_0x1ea05d;const _0xc1db29=_0x2e1bcc[_0x4ddc71(0x42f)](_0x17cbc5[_0x4ddc71(0x275)]),_0x29db5f=_0x2e1bcc[_0x4ddc71(0x42f)](_0x17cbc5[_0x4ddc71(0x204)]),_0x5ccef0=_0x2e1bcc[_0x4ddc71(0x42f)](_0x17cbc5[_0x4ddc71(0x3fd)]),_0x5a06f1=_0x2e1bcc[_0x4ddc71(0x42f)](_0x1f106f[_0x4ddc71(0x391)]),_0x497965=_0x2e1bcc[_0x4ddc71(0x42f)](_0x17cbc5[_0x4ddc71(0x1f0)]),_0x3ad8b8=_0x2e1bcc[_0x4ddc71(0x42f)](_0x1f106f[_0x4ddc71(0x20e)]),_0x251b80=_0x2e1bcc['get'](_0x17cbc5['IConfigService']);if(!_0xc7a93c)return!0x1;const {pivotTableConfig:_0x47dc58,positionType:_0x266637}=_0xc7a93c,{targetCellInfo:_0xd04ebb,sourceRangeInfo:_0x11a805}=_0x47dc58,{unitId:_0x1cf866,subUnitId:_0x1a64c2}=_0xd04ebb,_0x173f9d=_0x29db5f[_0x4ddc71(0x146)](_0x1cf866);if(!_0x173f9d)return!0x1;let _0x78be4b=0x0;_0x173f9d[_0x4ddc71(0x3e9)]()['forEach'](_0x1d6198=>{const _0x93b95=_0x4ddc71;var _0x55a9b2,_0xcd97a5;_0x78be4b+=(_0xcd97a5=(_0x55a9b2=_0x3ad8b8[_0x93b95(0x408)](_0x1cf866,_0x1d6198[_0x93b95(0x18f)]()))==null?void 0x0:_0x55a9b2['size'])!=null?_0xcd97a5:0x0;});const _0x5c0b92=(_0x14803e=_0x251b80[_0x4ddc71(0x19a)](_0x5e3b4f[_0x4ddc71(0x250)]))!=null?_0x14803e:{},{ls:_0x5f0457,pbk:_0x2be1b0}=_0x5c0b92;if(!_0x510277(_0x5f0457,_0x2be1b0))return!0x1;const _0x4d8e8a=_0x1f03e8(_0x558300,_0x5f0457,_0x2be1b0)[_0x4ddc71(0x1ba)];if(_0x78be4b>=_0x4d8e8a)return!0x1;const _0x580fc2=_0xc7a93c['pivotTableId']||_0x4c0fcb[_0x4ddc71(0x193)](0x8),_0x23360b=(await _0x5a06f1[_0x4ddc71(0x3ad)]({'unitId':_0x1cf866,'subUnitId':_0x1a64c2,'pivotTableId':_0x580fc2,'params':{'type':_0x5559df[_0x4ddc71(0x3cd)],'addPivotTable':{'sourceRangeInfo':_0x11a805,'pivotTableId':_0x580fc2}}}))[_0x4ddc71(0x161)]['addPivotTable'];if(!_0x23360b)return!0x1;const {view:_0x5cdd25,isEmpty:_0x19e819,fieldsConfig:_0x31814c,collectionConfig:_0x434740}=_0x23360b,_0x495265=[],_0x10303d=[];if(_0x266637===_0x47f0e2[_0x4ddc71(0x3de)]){const _0x338469=_0x173f9d[_0x4ddc71(0x3e9)]()['length'],_0x34507e=_0x17cbc5[_0x4ddc71(0x2fe)]({});_0x34507e['id']=_0x47dc58[_0x4ddc71(0x183)][_0x4ddc71(0x3c7)],_0x34507e[_0x4ddc71(0x39e)]=(_0x1ea05d=_0x47dc58[_0x4ddc71(0x183)]['sheetName'])!=null?_0x1ea05d:_0x173f9d[_0x4ddc71(0x2c1)](''+_0x5ccef0['t'](_0x4ddc71(0x1f5)));const _0x694c82={'index':_0x338469,'sheet':_0x34507e,'unitId':_0x1cf866},_0x193a7f=_0x57279f[_0x4ddc71(0x206)](_0x2e1bcc,_0x694c82);_0x495265[_0x4ddc71(0x30f)]({'id':_0x57279f['RemoveSheetMutation']['id'],'params':_0x193a7f}),_0x10303d[_0x4ddc71(0x30f)]({'id':_0x57279f[_0x4ddc71(0x2d3)]['id'],'params':_0x694c82});}else{if(!_0x173f9d['getSheetBySheetId'](_0x1a64c2))return!0x1;const _0x32d160=_0xa15f20(_0x2e1bcc,new _0x4c0fcb['PivotView'](),_0xd04ebb,!0x0);_0x10303d[_0x4ddc71(0x30f)](..._0x32d160[_0x4ddc71(0x109)]),_0x495265[_0x4ddc71(0x30f)](..._0x32d160[_0x4ddc71(0x355)]);const _0x67e88a={'cellInfo':_0xd04ebb,'view':_0x5cdd25,'isEmpty':_0x19e819};if(!await _0x2e1bcc[_0x4ddc71(0x42f)](_0x1f106f[_0x4ddc71(0x286)])[_0x4ddc71(0x356)]['fetchThroughAsyncInterceptors'](_0x18b11e)(!0x0,_0x67e88a))return!0x1;const _0x101c44=_0x21c4d4(_0x2e1bcc,_0x67e88a);_0x10303d[_0x4ddc71(0x30f)](..._0x101c44[_0x4ddc71(0x109)]),_0x495265[_0x4ddc71(0x30f)](..._0x101c44[_0x4ddc71(0x355)]);}return _0x10303d[_0x4ddc71(0x30f)]({'id':_0x5c5117['id'],'params':{'unitId':_0xd04ebb[_0x4ddc71(0x167)],'subUnitId':_0xd04ebb[_0x4ddc71(0x3c7)],'pivotTableId':_0x580fc2,'pivotTableConfig':{'targetCellInfo':_0xd04ebb,'sourceRangeInfo':_0x11a805,'fieldsConfig':_0x31814c},'collectionConfig':_0x434740}}),_0x495265['unshift']({'id':_0x1bdf78['id'],'params':{'unitId':_0x1cf866,'subUnitId':_0x1a64c2,'pivotTableId':_0x580fc2}}),_0x17cbc5[_0x4ddc71(0x235)](_0x10303d,_0xc1db29)&&_0x497965[_0x4ddc71(0x360)]({'unitID':_0x1cf866,'undoMutations':_0x495265,'redoMutations':_0x10303d}),!0x0;}},_0x991412={'type':_0x17cbc5['CommandType']['COMMAND'],'id':'sheet.command.move-pivot-field',async 'handler'(_0x421341,_0x15ec77){const _0x5b7fe3=_0x34d75b;if(!_0x15ec77)return!0x1;const _0x19a526=_0x421341[_0x5b7fe3(0x42f)](_0x17cbc5['ICommandService']),_0x398ac5=_0x421341['get'](_0x1f106f[_0x5b7fe3(0x391)]),_0x3476d1=_0x421341[_0x5b7fe3(0x42f)](_0x17cbc5[_0x5b7fe3(0x1f0)]),{pivotTableId:_0x46b492,fieldId:_0x526c81,area:_0x4e15bc,index:_0xe1f1b4,unitId:_0x5d5d84,subUnitId:_0x454104}=_0x15ec77,_0x3af818=(await _0x398ac5[_0x5b7fe3(0x3ad)]({'unitId':_0x5d5d84,'subUnitId':_0x454104,'pivotTableId':_0x46b492,'params':{'type':_0x5559df[_0x5b7fe3(0x37e)],'movePivotField':{'fieldId':_0x526c81,'area':_0x4e15bc,'index':_0xe1f1b4}}}))[_0x5b7fe3(0x161)][_0x5b7fe3(0x430)];if(!_0x3af818)return!0x1;const {changesets:_0x21953b,view:_0x4d2599,isEmpty:_0x2ae0d7,pivotTableConfig:_0x10ae71}=_0x3af818,_0x36b6d7=_0x10ae71['targetCellInfo'],_0x4d7c4b=new _0x4c0fcb[(_0x5b7fe3(0x29d))]();_0x4d7c4b[_0x5b7fe3(0x18b)](_0x4d2599);const _0xf3126={'cellInfo':_0x36b6d7,'view':_0x4d7c4b,'isEmpty':_0x2ae0d7};if(!await _0x421341[_0x5b7fe3(0x42f)](_0x1f106f[_0x5b7fe3(0x286)])[_0x5b7fe3(0x356)][_0x5b7fe3(0x3ab)](_0x18b11e)(!0x0,_0xf3126))return!0x1;const _0x5a3588=_0xa15f20(_0x421341,_0x4d7c4b,_0x36b6d7,_0x2ae0d7),_0x372be6=_0x21c4d4(_0x421341,_0xf3126),{redos:_0x256e65,undos:_0xce20e2}=_0x5e1c02(_0x19a526,{'pivotTableId':_0x46b492,'unitId':_0x5d5d84,'subUnitId':_0x454104},_0x21953b);return _0x17cbc5[_0x5b7fe3(0x235)]([..._0x5a3588[_0x5b7fe3(0x109)],..._0x372be6[_0x5b7fe3(0x109)],..._0x256e65],_0x19a526),_0x3476d1[_0x5b7fe3(0x360)]({'unitID':_0x5d5d84,'redoMutations':[..._0x5a3588[_0x5b7fe3(0x109)],..._0x372be6[_0x5b7fe3(0x109)],..._0x256e65],'undoMutations':[..._0x5a3588[_0x5b7fe3(0x355)],..._0x372be6[_0x5b7fe3(0x355)],..._0xce20e2]}),!0x0;}},_0x288175={'type':_0x17cbc5['CommandType'][_0x34d75b(0x16c)],'id':_0x34d75b(0x1ca),'handler'(_0x176e48,_0x2d82fd){const _0x537cc7=_0x34d75b;if(!_0x2d82fd)return!0x1;if(!!_0x176e48['get'](_0x17cbc5[_0x537cc7(0x234)])[_0x537cc7(0x19a)](_0x20ad14))return!0x0;const {pivotTableId:_0x10335e,targetCellPosition:_0x4bc229,unitId:_0x3a6e39,subUnitId:_0x2b2925}=_0x2d82fd,_0x336fd4=_0x176e48[_0x537cc7(0x42f)](_0x1f106f[_0x537cc7(0x13e)]);if(!_0x336fd4[_0x537cc7(0x179)](_0x2d82fd[_0x537cc7(0x2f1)]))return!0x1;const _0x17930b=_0x336fd4[_0x537cc7(0x278)](_0x10335e);if(!_0x17930b)return!0x1;const _0x184c37=_0x336fd4[_0x537cc7(0x3c4)](_0x17930b[_0x537cc7(0x167)],_0x2d82fd[_0x537cc7(0x2f1)]);if(!_0x184c37)return!0x1;const _0x48d45c=_0x336fd4['getPivotTableConfig'](_0x17930b['unitId'],_0x17930b['subUnitId'],_0x10335e);if(!_0x48d45c)return!0x1;const _0x22940f=_0x17cbc5[_0x537cc7(0x115)][_0x537cc7(0x3ed)](_0x48d45c);_0x22940f[_0x537cc7(0x183)]={'unitId':_0x3a6e39,'subUnitId':_0x2b2925,'row':_0x4bc229[_0x537cc7(0x2b4)],'col':_0x4bc229[_0x537cc7(0x367)]};const _0x5bba9b=_0x184c37[_0x537cc7(0x15f)]();if(_0x17930b['subUnitId']===_0x2b2925&&_0x17930b[_0x537cc7(0x167)]===_0x3a6e39)_0x336fd4['setPivotTable'](_0x3a6e39,_0x2b2925,_0x10335e,_0x22940f),_0x336fd4[_0x537cc7(0x1aa)]({'unitId':_0x3a6e39,'subUnitId':_0x2b2925,'token':_0x10335e,'type':_0x635b2f[_0x537cc7(0x28e)]});else{_0x336fd4[_0x537cc7(0x1aa)]({'unitId':_0x17930b['unitId'],'subUnitId':_0x17930b[_0x537cc7(0x3c7)],'token':_0x10335e,'type':_0x635b2f[_0x537cc7(0x24e)]}),_0x336fd4[_0x537cc7(0x33e)](_0x17930b[_0x537cc7(0x167)],_0x17930b[_0x537cc7(0x3c7)],_0x10335e);const _0x63c3e4=_0x336fd4[_0x537cc7(0x38f)](_0x10335e,_0x5bba9b,_0x48d45c['sourceRangeInfo'],_0x22940f[_0x537cc7(0x183)]),_0x5cd9fb=new _0x4c0fcb[(_0x537cc7(0x20a))](_0x63c3e4[_0x537cc7(0x40e)],void 0x0,_0x10335e);_0x5cd9fb[_0x537cc7(0x169)](_0x22940f[_0x537cc7(0x35f)]),_0x336fd4[_0x537cc7(0x3fc)](_0x3a6e39,_0x2b2925,_0x10335e,_0x5cd9fb,_0x22940f),_0x336fd4[_0x537cc7(0x1aa)]({'unitId':_0x3a6e39,'subUnitId':_0x2b2925,'token':_0x10335e,'type':_0x635b2f[_0x537cc7(0x256)],'pivotConfig':_0x22940f});}return!0x0;}},_0x477a7f={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x429),'handler':(_0x5672b7,_0x1dc332)=>{const _0x1b0528=_0x34d75b,_0x5b2afc=_0x5672b7[_0x1b0528(0x42f)](_0x17cbc5['ICommandService']),_0x1f1fb6=_0x5672b7[_0x1b0528(0x42f)](_0x17cbc5[_0x1b0528(0x1f0)]),_0x13546f=_0x5672b7[_0x1b0528(0x42f)](_0x1f106f[_0x1b0528(0x20e)]),_0x41a772=_0x5672b7[_0x1b0528(0x42f)](_0x17cbc5[_0x1b0528(0x204)]);if(!_0x1dc332)return!0x1;const _0x4773b1=_0x57279f['getSheetCommandTarget'](_0x41a772);if(!_0x4773b1)return!0x1;const {unitId:_0xfa22e0,subUnitId:_0x49e630,workbook:_0x5f1508}=_0x4773b1,_0x467ccb=_0x13546f[_0x1b0528(0x2d5)](_0x1dc332[_0x1b0528(0x2a1)][_0x1b0528(0x167)],_0x1dc332[_0x1b0528(0x2a1)]['subUnitId'],_0x1dc332[_0x1b0528(0x2f1)]);if(!_0x467ccb)return!0x1;const _0x24abe2=_0x5f1508[_0x1b0528(0x13b)](_0x1dc332[_0x1b0528(0x183)]['subUnitId']);if(!_0x24abe2)throw new Error(_0x1b0528(0x2ad));const _0x1dc659=_0x24abe2['getRowCount'](),_0x2444bc=_0x24abe2['getColumnCount']();if(_0x1dc332[_0x1b0528(0x183)]['row']>_0x1dc659||_0x1dc332[_0x1b0528(0x183)][_0x1b0528(0x367)]>_0x2444bc)throw new Error(_0x1b0528(0x1f6));const _0x55f41b=[{'id':_0x288175['id'],'params':{'unitId':_0xfa22e0,'subUnitId':_0x1dc332[_0x1b0528(0x183)][_0x1b0528(0x3c7)],'pivotTableId':_0x1dc332[_0x1b0528(0x2f1)],'targetCellPosition':{'row':_0x1dc332[_0x1b0528(0x183)]['row'],'col':_0x1dc332[_0x1b0528(0x183)][_0x1b0528(0x367)]}}}],_0xdba69=[{'id':_0x288175['id'],'params':{'unitId':_0xfa22e0,'subUnitId':_0x49e630,'pivotTableId':_0x1dc332[_0x1b0528(0x2f1)],'targetCellPosition':{'row':_0x467ccb[_0x1b0528(0x183)][_0x1b0528(0x2b4)],'col':_0x467ccb[_0x1b0528(0x183)]['col']}}}];return _0x17cbc5['sequenceExecute'](_0x55f41b,_0x5b2afc)&&_0x1f1fb6[_0x1b0528(0x360)]({'unitID':_0xfa22e0,'undoMutations':_0xdba69,'redoMutations':_0x55f41b}),!0x0;}},_0x3be990={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x154),async 'handler'(_0x2c1555,_0x6eaa38){const _0x1782bb=_0x34d75b;var _0x532b99;if(!_0x6eaa38)return!0x1;const _0x3c04c2=_0x2c1555[_0x1782bb(0x42f)](_0x17cbc5[_0x1782bb(0x204)]),_0x4a30a2=_0x57279f['getSheetCommandTarget'](_0x3c04c2);if(!_0x4a30a2)return!0x1;const {unitId:_0x37bfd1,subUnitId:_0x67e7b3,workbook:_0x47234b}=_0x4a30a2,{row:_0x59ad93,col:_0x84383d}=_0x6eaa38,_0xaa33ac=_0x2c1555[_0x1782bb(0x42f)](_0x1f106f[_0x1782bb(0x2ae)]),_0x4a2eff=_0xaa33ac[_0x1782bb(0x245)](_0x37bfd1,_0x67e7b3,_0x59ad93,_0x84383d);if(!_0x4a2eff)return!0x1;const _0x599838=(_0x532b99=_0xaa33ac[_0x1782bb(0x3eb)](_0x37bfd1,_0x67e7b3,_0x4a2eff))==null?void 0x0:_0x532b99[_0x1782bb(0x1d4)];if(!_0x599838)return!0x1;const _0x4c9bb3=_0x2c1555['get'](_0x1f106f[_0x1782bb(0x20e)])[_0x1782bb(0x2d5)](_0x37bfd1,_0x67e7b3,_0x4a2eff);if(!_0x4c9bb3)return!0x1;const {rowInfo:_0x299eba,colInfo:_0x715130}=_0x599838,_0x2a05c0=_0x299eba[_0x59ad93][_0x1782bb(0x3e4)],_0x4df90c=_0x715130[_0x84383d][_0x1782bb(0x3e4)],_0x4c8a7f=_0x299eba[_0x59ad93]['level'],_0x3c0cfa=_0x715130[_0x84383d]['level'],_0x3516b7=_0x2a05c0[_0x1782bb(0x180)](_0x4df90c),_0x2d67bc=_0x4c9bb3[_0x1782bb(0x35f)]['rowFields']['slice'](0x0,_0x4c8a7f),_0x2b433b=_0x4c9bb3['fieldsConfig'][_0x1782bb(0x406)][_0x1782bb(0x3bb)](0x0,_0x3c0cfa),_0x177140=_0x2d67bc[_0x1782bb(0x180)](_0x2b433b),_0x1db8f7=_0x3516b7[_0x1782bb(0x1be)]((_0x44b79e,_0x372b00)=>[_0x44b79e,_0x177140[_0x372b00]]),_0x104666=(await _0x2c1555[_0x1782bb(0x42f)](_0x1f106f[_0x1782bb(0x391)])[_0x1782bb(0x3ad)]({'unitId':_0x37bfd1,'subUnitId':_0x67e7b3,'pivotTableId':_0x4a2eff,'params':{'type':_0x5559df[_0x1782bb(0x2fc)],'drillDown':{'tuple':_0x1db8f7}}}))[_0x1782bb(0x161)][_0x1782bb(0x26b)];if(!_0x104666)return!0x1;const {indexes:_0x31796e,range:_0x4b3d8d,sourceUnitId:_0x2bb873,sourceSubUnitId:_0x527e1c,formatMap:_0x5ecb37}=_0x104666,{startRow:_0x4bc764,endRow:_0x1729ea,startColumn:_0x4d5300,endColumn:_0x368d04}=_0x4b3d8d,_0x314184=new _0x17cbc5['ObjectMatrix'](),_0x28e13e=_0x1729ea-_0x4bc764,_0x4d7929=_0x368d04-_0x4d5300,_0x1cd2bc={},_0x1640d7=_0x57279f['getSheetCommandTarget'](_0x3c04c2,{'unitId':_0x2bb873,'subUnitId':_0x527e1c});if(!_0x1640d7)return!0x1;const _0x38a826=_0x44466e['colStyle'],_0x10df97=_0x44466e[_0x1782bb(0x105)],_0x2dfe25=_0x44466e[_0x1782bb(0x105)],_0x29b72f=_0x47234b[_0x1782bb(0x3a4)]()[_0x1782bb(0x370)](_0x38a826),_0x8df6a9=_0x47234b[_0x1782bb(0x3a4)]()[_0x1782bb(0x370)](_0x10df97),_0x5a77bd=_0x47234b[_0x1782bb(0x3a4)]()[_0x1782bb(0x370)](_0x2dfe25),{worksheet:_0x22fc97}=_0x1640d7;let _0x39048c=0x0;const _0x3a9a45=0x1;_0x31796e['forEach'](_0x3358c0=>{const _0x4aca65=_0x1782bb;for(let _0x289d1a=0x0;_0x289d1a<=_0x368d04-_0x4d5300;_0x289d1a++)_0x314184[_0x4aca65(0x370)](_0x39048c,_0x289d1a,_0x22fc97[_0x4aca65(0x35a)](_0x3358c0+_0x4b3d8d[_0x4aca65(0x191)]+_0x3a9a45,_0x289d1a));_0x39048c++;});for(let _0x5920a6=_0x4d5300;_0x5920a6<=_0x368d04;_0x5920a6++){const _0xdfcc04=_0x22fc97[_0x1782bb(0x35a)](_0x4bc764,_0x5920a6);_0x1cd2bc[_0x4bc764]||(_0x1cd2bc[_0x4bc764]={}),_0x1cd2bc[_0x4bc764][_0x5920a6]={..._0xdfcc04,'s':_0x29b72f};}let _0x31e77a=0x1;const _0x179eb2={},_0x2aa0db={};_0x314184[_0x1782bb(0x2c5)]((_0x4ddc35,_0x344320)=>{const _0x1c4ae6=_0x1782bb;_0x344320[_0x1c4ae6(0x3f0)](_0xaaef67=>{const _0x1fc607=_0x1c4ae6,_0x5855b4=_0x314184[_0x1fc607(0x3df)](_0x4ddc35,_0xaaef67);if(_0x1cd2bc[_0x31e77a]||(_0x1cd2bc[_0x31e77a]={}),_0x1cd2bc[_0x31e77a][_0xaaef67]={..._0x5855b4,'s':_0x31e77a%0x2===0x0?_0x5a77bd:_0x8df6a9},_0x5ecb37[_0xaaef67]&&_0x4ddc35>=0x0){const _0x484c66=_0x31e77a%0x2===0x0;let _0x2143c6=_0x484c66?_0x2aa0db[_0xaaef67]:_0x179eb2[_0xaaef67];_0x2143c6||(_0x2143c6=_0x47234b[_0x1fc607(0x3a4)]()['setValue']({..._0x484c66?_0x2dfe25:_0x10df97,'n':{'pattern':_0x5ecb37[_0xaaef67]}}),_0x484c66?_0x2aa0db[_0xaaef67]=_0x2143c6:_0x179eb2[_0xaaef67]=_0x2143c6),_0x1cd2bc[_0x31e77a][_0xaaef67]['s']=_0x2143c6;}}),_0x31e77a++;});const _0xfc9a73=new _0x17cbc5[(_0x1782bb(0x1c4))](_0x1cd2bc),_0x2ec450={};_0xfc9a73[_0x1782bb(0x26a)]((_0x1cbc4f,_0x183329,_0x2568a9)=>{_0x2ec450[_0x1cbc4f]||(_0x2ec450[_0x1cbc4f]={}),_0x2ec450[_0x1cbc4f][_0x183329]={'s':null,'f':null,'si':null,'p':null,'v':null,'t':null,'custom':null};});const _0x3c7304=[],_0x11c5c3=[],_0x2612e9=_0x47234b[_0x1782bb(0x3e9)]()['length'],_0x588ea2=_0x17cbc5[_0x1782bb(0x2fe)]({'rowCount':Math[_0x1782bb(0x388)](_0x17cbc5[_0x1782bb(0x14a)],_0x28e13e+0xa),'columnCount':Math[_0x1782bb(0x388)](_0x17cbc5['DEFAULT_WORKSHEET_COLUMN_COUNT'],_0x4d7929+0x5)}),_0x16d306=_0x2c1555[_0x1782bb(0x42f)](_0x17cbc5[_0x1782bb(0x3fd)]);_0x588ea2['id']=_0x17cbc5[_0x1782bb(0x305)](),_0x588ea2[_0x1782bb(0x39e)]=_0x47234b[_0x1782bb(0x2c1)](''+_0x16d306['t'](_0x1782bb(0x1f5)));const _0x222837={'index':_0x2612e9,'sheet':_0x588ea2,'unitId':_0x37bfd1},_0x1b9a06=_0x57279f[_0x1782bb(0x206)](_0x2c1555,_0x222837);_0x11c5c3[_0x1782bb(0x30f)]({'id':_0x57279f[_0x1782bb(0x2d3)]['id'],'params':_0x222837}),_0x3c7304[_0x1782bb(0x30f)]({'id':_0x57279f[_0x1782bb(0x2d1)]['id'],'params':_0x1b9a06}),_0x11c5c3['push']({'id':_0x57279f[_0x1782bb(0x254)]['id'],'params':{'unitId':_0x37bfd1,'subUnitId':_0x588ea2['id'],'cellValue':_0x1cd2bc}}),_0x3c7304['unshift']({'id':_0x57279f['SetRangeValuesMutation']['id'],'params':{'unitId':_0x37bfd1,'subUnitId':_0x588ea2['id'],'cellValue':_0x2ec450}});const _0x27e51c={'startRow':0x0,'startColumn':0x0,'endRow':_0x31e77a-0x1,'endColumn':_0x368d04};_0x11c5c3[_0x1782bb(0x30f)]({'id':_0x2ae904[_0x1782bb(0x261)]['id'],'params':{'unitId':_0x37bfd1,'subUnitId':_0x588ea2['id'],'range':_0x27e51c}}),_0x3c7304['unshift']({'id':_0x2ae904['RemoveSheetsFilterMutation']['id'],'params':{'unitId':_0x37bfd1,'subUnitId':_0x588ea2['id']}});const _0x5b17b9=_0x2c1555['get'](_0x17cbc5[_0x1782bb(0x275)]);return _0x17cbc5[_0x1782bb(0x235)](_0x11c5c3,_0x5b17b9)&&_0x2c1555[_0x1782bb(0x42f)](_0x17cbc5[_0x1782bb(0x1f0)])[_0x1782bb(0x360)]({'unitID':_0x37bfd1,'undoMutations':_0x3c7304,'redoMutations':_0x11c5c3}),!0x0;}},_0x52970b={'type':_0x17cbc5[_0x34d75b(0x298)]['COMMAND'],'id':_0x34d75b(0x17b),async 'handler'(_0x2180fe,_0x598fce){const _0x5795a5=_0x34d75b;if(!_0x598fce)return!0x1;const _0xd1bfa8=_0x2180fe[_0x5795a5(0x42f)](_0x17cbc5[_0x5795a5(0x275)]),_0x323822=_0x2180fe[_0x5795a5(0x42f)](_0x1f106f[_0x5795a5(0x391)]),_0x1b3de6=_0x2180fe[_0x5795a5(0x42f)](_0x17cbc5['IUndoRedoService']),{pivotTableId:_0x173c9d,fieldIds:_0x2bc69f,unitId:_0x48755a,subUnitId:_0x56bbf0}=_0x598fce,_0x38e941=(await _0x323822[_0x5795a5(0x3ad)]({'unitId':_0x48755a,'subUnitId':_0x56bbf0,'pivotTableId':_0x173c9d,'params':{'type':_0x5559df[_0x5795a5(0x427)],'removePivotField':{'fieldIds':_0x2bc69f}}}))[_0x5795a5(0x161)][_0x5795a5(0x20c)];if(!_0x38e941)return!0x1;const {view:_0x35a5f2,changesets:_0x227301,isEmpty:_0x3094c3,pivotTableConfig:_0x9ce1f8}=_0x38e941,_0x15a114=_0x9ce1f8[_0x5795a5(0x183)],_0x5264d8=new _0x4c0fcb[(_0x5795a5(0x29d))]();_0x5264d8[_0x5795a5(0x18b)](_0x35a5f2);const _0x3bf42e={'cellInfo':_0x15a114,'view':_0x5264d8,'isEmpty':_0x3094c3};if(!await _0x2180fe['get'](_0x1f106f['SheetsPivotTableService'])[_0x5795a5(0x356)]['fetchThroughAsyncInterceptors'](_0x18b11e)(!0x0,_0x3bf42e))return!0x1;const _0x2b29c6=_0xa15f20(_0x2180fe,_0x5264d8,_0x15a114,_0x3094c3),_0x588af6=_0x21c4d4(_0x2180fe,_0x3bf42e),{redos:_0x595bad,undos:_0x4f5185}=_0x5e1c02(_0xd1bfa8,{'pivotTableId':_0x173c9d,'unitId':_0x48755a,'subUnitId':_0x56bbf0},_0x227301);return _0x17cbc5[_0x5795a5(0x235)]([..._0x2b29c6[_0x5795a5(0x109)],..._0x588af6[_0x5795a5(0x109)],..._0x595bad],_0xd1bfa8),_0x1b3de6['pushUndoRedo']({'unitID':_0x48755a,'redoMutations':[..._0x2b29c6[_0x5795a5(0x109)],..._0x588af6[_0x5795a5(0x109)],..._0x595bad],'undoMutations':[..._0x2b29c6[_0x5795a5(0x355)],..._0x588af6[_0x5795a5(0x355)],..._0x4f5185]}),!0x0;}},_0x55b4e2={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x2f7),async 'handler'(_0x10557e,_0x4979fb){const _0x2498bb=_0x34d75b;if(!_0x4979fb)return!0x1;const _0x4a725c=_0x10557e['get'](_0x17cbc5['ICommandService']),_0x1f3dd8=_0x10557e['get'](_0x17cbc5[_0x2498bb(0x1f0)]),_0x181de1=_0x10557e[_0x2498bb(0x42f)](_0x1f106f[_0x2498bb(0x391)]),{resetArea:_0x34c594,pivotTableId:_0x59113f,unitId:_0x2c2671,subUnitId:_0x4b7b93}=_0x4979fb,_0x10f07e=(await _0x181de1[_0x2498bb(0x3ad)]({'unitId':_0x2c2671,'subUnitId':_0x4b7b93,'pivotTableId':_0x59113f,'params':{'type':_0x5559df[_0x2498bb(0x208)],'resetPivotTable':{'pivotTableId':_0x59113f,'resetArea':_0x34c594}}}))[_0x2498bb(0x161)][_0x2498bb(0x10a)];if(!_0x10f07e)return!0x1;const {changesets:_0x437543}=_0x10f07e,{redos:_0x323c15,undos:_0x1e1197}=_0x5e1c02(_0x4a725c,{'pivotTableId':_0x59113f,'unitId':_0x2c2671,'subUnitId':_0x4b7b93},_0x437543);return _0x17cbc5[_0x2498bb(0x235)](_0x323c15,_0x4a725c),_0x1f3dd8[_0x2498bb(0x360)]({'unitID':_0x2c2671,'redoMutations':_0x323c15,'undoMutations':_0x1e1197}),!0x0;}},_0x4ffb0b={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x25b),async 'handler'(_0x5c8e97,_0x3bc345){const _0x38476f=_0x34d75b,_0x45e53e=_0x5c8e97[_0x38476f(0x42f)](_0x17cbc5[_0x38476f(0x275)]),_0x14185d=_0x5c8e97[_0x38476f(0x42f)](_0x1f106f['SheetsPivotRPCService']),_0x63ad8f=_0x5c8e97[_0x38476f(0x42f)](_0x1f106f[_0x38476f(0x2ae)]),_0x54b098=_0x5c8e97[_0x38476f(0x42f)](_0x17cbc5[_0x38476f(0x204)]),_0xa3de66=_0x5c8e97['get'](_0x17cbc5[_0x38476f(0x3fd)]),_0x11687e=_0x5c8e97[_0x38476f(0x42f)](_0x17cbc5[_0x38476f(0x1f0)]);if(!_0x3bc345)return!0x1;const {unitId:_0x44afa4,subUnitId:_0xa13271,row:_0x4b00e7,col:_0x50f8f9,collapse:_0x57c75d}=_0x3bc345,_0x422bd7=_0x54b098[_0x38476f(0x146)](_0x44afa4);if(!_0x422bd7||!_0x422bd7[_0x38476f(0x13b)](_0xa13271))return!0x1;const _0x492372=_0x63ad8f['getPivotTableIdByCell'](_0x44afa4,_0xa13271,_0x4b00e7,_0x50f8f9);if(!_0x492372)return!0x1;const _0x1c4449=_0x63ad8f[_0x38476f(0x3eb)](_0x44afa4,_0xa13271,_0x492372);if(!_0x1c4449)return!0x1;const _0x121489=_0x17cbc5['cellToRange'](_0x4b00e7,_0x50f8f9),{rangesInfo:_0x147614,areaInfo:_0x7d13cd,headerMap:_0x5b1a87}=_0x1c4449;if(!_0x147614||!_0x7d13cd||!_0x5b1a87)return!0x1;const _0x10a047=Object[_0x38476f(0x2ec)](_0x147614)[_0x38476f(0x170)](_0x4d7ba4=>_0x147614[_0x4d7ba4][_0x38476f(0x31a)](_0x2edc0c=>_0x17cbc5[_0x38476f(0x2db)][_0x38476f(0x14e)](_0x2edc0c,_0x121489)));let _0x202df8;_0x10a047===_0x38476f(0x11f)?_0x202df8=_0x5b1a87[_0x38476f(0x385)][_0x50f8f9]:_0x10a047===_0x38476f(0x296)&&(_0x202df8=_0x5b1a87[_0x38476f(0x1b5)][_0x4b00e7]);const _0x2e3c7f=_0x202df8==null?void 0x0:_0x202df8[_0x38476f(0x107)],_0x3cce0c=_0x63ad8f[_0x38476f(0x41b)](_0x44afa4,_0xa13271,_0x4b00e7,_0x50f8f9);let _0x69b362=_0x3cce0c==null?void 0x0:_0x3cce0c['v'];if(_0x69b362===_0xa3de66['t'](_0x38476f(0x28f))&&(_0x69b362=_0x4c0fcb[_0x38476f(0x313)][_0x38476f(0x188)]),_0x69b362==null||!_0x492372||!_0x2e3c7f)return!0x1;const _0x11aa39=await _0x14185d[_0x38476f(0x3ad)]({'unitId':_0x44afa4,'subUnitId':_0xa13271,'pivotTableId':_0x492372,'params':{'type':_0x5559df[_0x38476f(0x143)],'setPivotCollapse':{'tableFieldId':_0x2e3c7f,'collapse':_0x57c75d,'item':_0x69b362}}}),_0x3e3287=_0x11aa39==null?void 0x0:_0x11aa39['result'][_0x38476f(0x428)];if(!_0x3e3287)return!0x1;const {view:_0x4e947a,pivotTableConfig:_0x1c902c,isEmpty:_0x11cab1,changesets:_0x12b152}=_0x3e3287,_0x1caa0=new _0x4c0fcb[(_0x38476f(0x29d))]();_0x1caa0[_0x38476f(0x18b)](_0x4e947a);const _0x34e10c=_0x1c902c[_0x38476f(0x183)],_0x773787={'cellInfo':_0x34e10c,'view':_0x1caa0,'isEmpty':_0x11cab1};if(!await _0x5c8e97[_0x38476f(0x42f)](_0x1f106f['SheetsPivotTableService'])[_0x38476f(0x356)][_0x38476f(0x3ab)](_0x18b11e)(!0x0,_0x773787))return!0x1;const _0x4aab7a=_0xa15f20(_0x5c8e97,_0x1caa0,_0x34e10c,_0x11cab1),_0x180613=_0x21c4d4(_0x5c8e97,_0x773787),{redos:_0x3aed27,undos:_0x14e040}=_0x5e1c02(_0x45e53e,{'pivotTableId':_0x492372,'unitId':_0x44afa4,'subUnitId':_0xa13271},_0x12b152);return _0x17cbc5[_0x38476f(0x235)]([..._0x4aab7a[_0x38476f(0x109)],..._0x180613[_0x38476f(0x109)],..._0x3aed27],_0x45e53e),_0x11687e['pushUndoRedo']({'unitID':_0x44afa4,'redoMutations':[..._0x4aab7a[_0x38476f(0x109)],..._0x180613[_0x38476f(0x109)],..._0x3aed27],'undoMutations':[..._0x4aab7a['undos'],..._0x180613[_0x38476f(0x355)],..._0x14e040]}),!0x0;}},_0xcfd43a={'type':_0x17cbc5['CommandType'][_0x34d75b(0x10c)],'id':_0x34d75b(0x27a),async 'handler'(_0x4f40bb,_0x248399){const _0x268cc2=_0x34d75b;if(!_0x248399)return!0x1;const _0x5be4e6=_0x4f40bb[_0x268cc2(0x42f)](_0x17cbc5[_0x268cc2(0x275)]),_0x41dbd5=_0x4f40bb[_0x268cc2(0x42f)](_0x17cbc5[_0x268cc2(0x1f0)]),_0x25fe9d=_0x4f40bb[_0x268cc2(0x42f)](_0x1f106f[_0x268cc2(0x391)]),{pivotTableConfig:_0x54b11b,pivotTableId:_0x2b6485,unitId:_0x270cdb,subUnitId:_0x352652}=_0x248399,_0x551460=(await _0x25fe9d[_0x268cc2(0x3ad)]({'unitId':_0x270cdb,'subUnitId':_0x352652,'pivotTableId':_0x2b6485,'params':{'type':_0x5559df['SetPivotTableConfig'],'setPivotTableConfig':{'pivotTableId':_0x2b6485,'pivotTableConfig':_0x54b11b}}}))[_0x268cc2(0x161)]['setPivotTableConfig'];if(!_0x551460)return!0x1;const {changesets:_0x1f00e1}=_0x551460,{redos:_0x583d45,undos:_0x2df02e}=_0x5e1c02(_0x5be4e6,{'pivotTableId':_0x2b6485,'unitId':_0x270cdb,'subUnitId':_0x352652},_0x1f00e1);return _0x17cbc5[_0x268cc2(0x235)](_0x583d45,_0x5be4e6),_0x41dbd5[_0x268cc2(0x360)]({'unitID':_0x270cdb,'redoMutations':_0x583d45,'undoMutations':_0x2df02e}),!0x0;}},_0xcba1e0={'type':_0x17cbc5['CommandType'][_0x34d75b(0x10c)],'id':_0x34d75b(0x32a),async 'handler'(_0x3424a3,_0x518ee7){const _0x2b271f=_0x34d75b;if(!_0x518ee7)return!0x1;const _0x2097cf=_0x3424a3[_0x2b271f(0x42f)](_0x17cbc5[_0x2b271f(0x275)]),{pivotTableId:_0x57ee59,tableFieldId:_0x1ec9c4,items:_0x1235c5,unitId:_0x2afa4c,subUnitId:_0x29f4e8,isAll:_0x317452}=_0x518ee7,_0x37f21e=_0x3424a3[_0x2b271f(0x42f)](_0x1f106f[_0x2b271f(0x391)]),_0x5ecf7e=_0x3424a3[_0x2b271f(0x42f)](_0x17cbc5[_0x2b271f(0x1f0)]),_0x501632=(await _0x37f21e['getPivotDisplayConfig']({'unitId':_0x2afa4c,'subUnitId':_0x29f4e8,'pivotTableId':_0x57ee59,'params':{'type':_0x5559df[_0x2b271f(0x133)],'setPivotFilter':{'tableFieldId':_0x1ec9c4,'items':_0x1235c5,'isAll':_0x317452}}}))[_0x2b271f(0x161)]['setPivotFilter'];if(!_0x501632)return!0x1;const {changesets:_0x4a61f9,pivotTableConfig:_0x2c2d0a,isEmpty:_0x84f39f,view:_0x59ec60}=_0x501632,_0x3db32a=_0x2c2d0a[_0x2b271f(0x183)],_0x3e5a9f=new _0x4c0fcb[(_0x2b271f(0x29d))]();_0x3e5a9f['formJSON'](_0x59ec60);const _0x33a6fd={'cellInfo':_0x3db32a,'view':_0x3e5a9f,'isEmpty':_0x84f39f};if(!await _0x3424a3[_0x2b271f(0x42f)](_0x1f106f[_0x2b271f(0x286)])[_0x2b271f(0x356)][_0x2b271f(0x3ab)](_0x18b11e)(!0x0,_0x33a6fd))return!0x1;const _0x5eda18=_0xa15f20(_0x3424a3,_0x3e5a9f,_0x3db32a,_0x84f39f),_0x4eea7b=_0x21c4d4(_0x3424a3,_0x33a6fd),{undos:_0x4817a8,redos:_0x29f026}=_0x5e1c02(_0x2097cf,{'pivotTableId':_0x57ee59,'unitId':_0x2afa4c,'subUnitId':_0x29f4e8},_0x4a61f9);return _0x17cbc5[_0x2b271f(0x235)]([..._0x5eda18['redos'],..._0x4eea7b['redos'],..._0x29f026],_0x2097cf),_0x5ecf7e[_0x2b271f(0x360)]({'unitID':_0x2afa4c,'redoMutations':[..._0x5eda18[_0x2b271f(0x109)],..._0x4eea7b[_0x2b271f(0x109)],..._0x29f026],'undoMutations':[..._0x5eda18[_0x2b271f(0x355)],..._0x4eea7b[_0x2b271f(0x355)],..._0x4817a8]}),!0x0;}},_0x14bcd0={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x195),async 'handler'(_0x8cb32d,_0x2bd880){const _0x38d4c8=_0x34d75b;if(!_0x2bd880)return!0x1;const _0x5078a0=_0x8cb32d[_0x38d4c8(0x42f)](_0x17cbc5['ICommandService']),_0x57a2e9=_0x8cb32d[_0x38d4c8(0x42f)](_0x17cbc5[_0x38d4c8(0x1f0)]),_0x365a01=_0x8cb32d[_0x38d4c8(0x42f)](_0x1f106f[_0x38d4c8(0x391)]),{info:_0x9074bf,tableFieldId:_0xb9aecd,pivotTableId:_0xeb0b9,unitId:_0x47ab4c,subUnitId:_0x3e19dc}=_0x2bd880,_0x225cdc=(await _0x365a01[_0x38d4c8(0x3ad)]({'unitId':_0x47ab4c,'subUnitId':_0x3e19dc,'pivotTableId':_0xeb0b9,'params':{'type':_0x5559df[_0x38d4c8(0x24a)],'setPivotSort':{'tableFieldId':_0xb9aecd,'info':_0x9074bf}}}))['result'][_0x38d4c8(0x2ea)];if(!_0x225cdc)return!0x1;const {changesets:_0x1788f6}=_0x225cdc,{redos:_0x3ae535,undos:_0x26ca11}=_0x5e1c02(_0x5078a0,{'pivotTableId':_0xeb0b9,'unitId':_0x47ab4c,'subUnitId':_0x3e19dc},_0x1788f6);return _0x17cbc5[_0x38d4c8(0x235)](_0x3ae535,_0x5078a0),_0x57a2e9[_0x38d4c8(0x360)]({'unitID':_0x47ab4c,'redoMutations':_0x3ae535,'undoMutations':_0x26ca11}),!0x0;}},_0x244e7f={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x199),async 'handler'(_0x2472a5,_0x32fca4){const _0xaa55f8=_0x34d75b;if(!_0x32fca4)return!0x1;const _0x2630d5=_0x2472a5[_0xaa55f8(0x42f)](_0x17cbc5[_0xaa55f8(0x275)]),{pivotTableId:_0x2f1b72,fieldId:_0x410ded,valueFilterInfo:_0x21090c,unitId:_0x56b33a,subUnitId:_0x8d40f9}=_0x32fca4,_0x4e6aac=_0x2472a5[_0xaa55f8(0x42f)](_0x1f106f[_0xaa55f8(0x391)]),_0x2f1adf=_0x2472a5[_0xaa55f8(0x42f)](_0x17cbc5[_0xaa55f8(0x1f0)]),_0x16947b=(await _0x4e6aac[_0xaa55f8(0x3ad)]({'unitId':_0x56b33a,'subUnitId':_0x8d40f9,'pivotTableId':_0x2f1b72,'params':{'type':_0x5559df['SetValuePivotFilter'],'setValuePivotFilter':{'tableFieldId':_0x410ded,'filterInfo':_0x21090c}}}))[_0xaa55f8(0x161)][_0xaa55f8(0x3f7)];if(!_0x16947b)return!0x1;const {changesets:_0x20be45,pivotTableConfig:_0x14bc87,isEmpty:_0xb09eac,view:_0x49ab05}=_0x16947b,_0x271a81=_0x14bc87['targetCellInfo'],_0x4227ac=new _0x4c0fcb[(_0xaa55f8(0x29d))]();_0x4227ac['formJSON'](_0x49ab05);const _0x51208d={'cellInfo':_0x271a81,'view':_0x4227ac,'isEmpty':_0xb09eac};if(!await _0x2472a5[_0xaa55f8(0x42f)](_0x1f106f['SheetsPivotTableService'])[_0xaa55f8(0x356)][_0xaa55f8(0x3ab)](_0x18b11e)(!0x0,_0x51208d))return!0x1;const _0x3ff534=_0xa15f20(_0x2472a5,_0x4227ac,_0x271a81,_0xb09eac),_0xcad363=_0x21c4d4(_0x2472a5,_0x51208d),{undos:_0x2491e2,redos:_0x581f01}=_0x5e1c02(_0x2630d5,{'pivotTableId':_0x2f1b72,'unitId':_0x56b33a,'subUnitId':_0x8d40f9},_0x20be45);return _0x17cbc5[_0xaa55f8(0x235)]([..._0x3ff534[_0xaa55f8(0x109)],..._0xcad363[_0xaa55f8(0x109)],..._0x581f01],_0x2630d5),_0x2f1adf['pushUndoRedo']({'unitID':_0x56b33a,'redoMutations':[..._0x3ff534['redos'],..._0xcad363[_0xaa55f8(0x109)],..._0x581f01],'undoMutations':[..._0x3ff534['undos'],..._0xcad363[_0xaa55f8(0x355)],..._0x2491e2]}),!0x0;}},_0x29f2e5={'id':_0x34d75b(0x108),'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'handler':(_0xb0c345,_0x283705)=>{const _0x388e9b=_0x34d75b;if(!_0x283705)return!0x1;if(!!_0xb0c345[_0x388e9b(0x42f)](_0x17cbc5['IConfigService'])[_0x388e9b(0x19a)](_0x20ad14))return!0x0;const {unitId:_0x7c2216,subUnitId:_0x855406,pivotTableId:_0x37b0e9,tableFieldId:_0x4d737f,dateType:_0x563bca}=_0x283705,_0x4defc7=_0xb0c345[_0x388e9b(0x42f)](_0x1f106f[_0x388e9b(0x13e)]),_0x31b2e4=_0x4defc7[_0x388e9b(0x179)](_0x37b0e9);if(!_0x31b2e4)return!0x1;const _0x19d100=_0x31b2e4[_0x388e9b(0x29e)](_0x4d737f);if(!_0x19d100)return!0x1;const _0x338a28=_0x19d100[_0x388e9b(0x12c)](),_0x293d40=_0x31b2e4[_0x388e9b(0x387)](_0x338a28),_0x4c44ad=(_0x293d40==null?void 0x0:_0x293d40['getName']())+'\x20'+_0xf6a5a4(_0xb0c345,_0x563bca);_0x4defc7[_0x388e9b(0x3c4)](_0x7c2216,_0x37b0e9)[_0x388e9b(0x3c9)](_0x19d100['id'],_0x4c44ad);const _0x7546e8=_0x31b2e4[_0x388e9b(0x39a)](_0x4d737f);if(!_0x7546e8)return!0x1;_0x31b2e4[_0x388e9b(0x2aa)](_0x7546e8[_0x388e9b(0x271)](),_0x4c44ad),_0x19d100['setDateType'](_0x563bca);const _0x1859cc=_0x4defc7[_0x388e9b(0x2d5)](_0x7c2216,_0x855406,_0x37b0e9);return _0x4defc7[_0x388e9b(0x1aa)]({'unitId':_0x7c2216,'subUnitId':_0x855406,'token':_0x37b0e9,'type':_0x635b2f[_0x388e9b(0x28e)],'pivotConfig':_0x1859cc}),!0x0;}},_0x89676d={'id':_0x34d75b(0x362),'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'handler':(_0x6a8f98,_0x18fc58)=>{const _0x108c74=_0x34d75b;if(!_0x18fc58)return!0x1;const _0x951778=_0x6a8f98[_0x108c74(0x42f)](_0x17cbc5[_0x108c74(0x1f0)]),{unitId:_0x473f08,subUnitId:_0x728e7a,pivotTableId:_0x2d00d0,tableFieldId:_0x3a3f6d}=_0x18fc58,_0x564fb5=[],_0x372932=[],_0x370334=_0x6a8f98['get'](_0x1f106f[_0x108c74(0x20e)]),_0x4aae85=_0x370334[_0x108c74(0x3c4)](_0x473f08,_0x2d00d0),_0x120015=_0x370334[_0x108c74(0x2d5)](_0x473f08,_0x728e7a,_0x2d00d0);if(!(_0x120015!=null&&_0x120015['fieldsConfig'][_0x108c74(0x2a0)]))return!0x1;const _0x2e373b=Object['values'](_0x120015[_0x108c74(0x35f)][_0x108c74(0x2a0)])[_0x108c74(0x170)](_0x49c8aa=>_0x49c8aa['id']===_0x3a3f6d);if(!_0x2e373b)return!0x1;const _0x39343b=_0x2e373b[_0x108c74(0x1b4)];if(!(_0x4aae85!=null&&_0x4aae85[_0x108c74(0x3cb)]))return!0x1;const _0x476134=Object[_0x108c74(0x3dc)](_0x4aae85==null?void 0x0:_0x4aae85[_0x108c74(0x3cb)])[_0x108c74(0x170)](_0x532bd0=>_0x532bd0['id']===_0x39343b);if(!_0x476134)return!0x1;_0x4c0fcb[_0x108c74(0x268)](_0x476134)&&_0x564fb5['push']({'id':_0x29f2e5['id'],'params':{..._0x18fc58,'dateType':_0x476134[_0x108c74(0x19b)]}}),_0x372932[_0x108c74(0x30f)]({'id':_0x29f2e5['id'],'params':{..._0x18fc58}});const _0x2f8d12=_0x6a8f98[_0x108c74(0x42f)](_0x17cbc5[_0x108c74(0x275)]);return _0x17cbc5[_0x108c74(0x235)](_0x372932,_0x2f8d12)&&_0x951778[_0x108c74(0x360)]({'unitID':_0x473f08,'undoMutations':_0x564fb5,'redoMutations':_0x372932}),!0x0;}},_0x22f3e9={'type':_0x17cbc5[_0x34d75b(0x298)]['COMMAND'],'id':_0x34d75b(0x24f),async 'handler'(_0x72e2a8,_0x3f612c){const _0x5233d3=_0x34d75b;if(!_0x3f612c)return!0x1;const _0x50dda8=_0x72e2a8['get'](_0x17cbc5[_0x5233d3(0x275)]),_0x2a128e=_0x72e2a8[_0x5233d3(0x42f)](_0x17cbc5[_0x5233d3(0x1f0)]),_0x5ebf04=_0x72e2a8[_0x5233d3(0x42f)](_0x1f106f[_0x5233d3(0x391)]),{displayName:_0x19ebc7,subtotalType:_0x5cf72b,format:_0xf74362,tableFieldId:_0x2846ab,pivotTableId:_0x2a1518,unitId:_0xd13873,subUnitId:_0x551d53}=_0x3f612c,_0x1c911e=(await _0x5ebf04['getPivotDisplayConfig']({'unitId':_0xd13873,'subUnitId':_0x551d53,'pivotTableId':_0x2a1518,'params':{'type':_0x5559df['SetPivotSetting'],'setPivotSetting':{'tableFieldId':_0x2846ab,'displayName':_0x19ebc7,'subtotalType':_0x5cf72b,'format':_0xf74362}}}))[_0x5233d3(0x161)][_0x5233d3(0x311)];if(!_0x1c911e)return!0x1;const {changesets:_0xa1e0b4,view:_0x6a0d67,pivotTableConfig:_0x29448b,isEmpty:_0x76804b}=_0x1c911e,_0x2d0ea3=_0x29448b[_0x5233d3(0x183)],_0x1e7ffe=new _0x4c0fcb[(_0x5233d3(0x29d))]();_0x1e7ffe[_0x5233d3(0x18b)](_0x6a0d67);const _0x285bc2={'cellInfo':_0x2d0ea3,'view':_0x1e7ffe,'isEmpty':_0x76804b};if(!await _0x72e2a8[_0x5233d3(0x42f)](_0x1f106f[_0x5233d3(0x286)])[_0x5233d3(0x356)][_0x5233d3(0x3ab)](_0x18b11e)(!0x0,_0x285bc2))return!0x1;const _0x9ddbca=_0xa15f20(_0x72e2a8,_0x1e7ffe,_0x2d0ea3,_0x76804b),_0x157bbb=_0x21c4d4(_0x72e2a8,_0x285bc2),{undos:_0x2283ae,redos:_0x192e86}=_0x5e1c02(_0x50dda8,{'pivotTableId':_0x2a1518,'unitId':_0xd13873,'subUnitId':_0x551d53},_0xa1e0b4);return _0x17cbc5[_0x5233d3(0x235)]([..._0x9ddbca['redos'],..._0x157bbb[_0x5233d3(0x109)],..._0x192e86],_0x50dda8),_0x2a128e['pushUndoRedo']({'unitID':_0xd13873,'redoMutations':[..._0x9ddbca['redos'],..._0x157bbb['redos'],..._0x192e86],'undoMutations':[..._0x9ddbca[_0x5233d3(0x355)],..._0x157bbb[_0x5233d3(0x355)],..._0x2283ae]}),!0x0;}},_0x1605eb={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x16c)],'id':_0x34d75b(0x22c),'handler'(_0x389916,_0x222a9f){const _0x3b2ed3=_0x34d75b;if(!_0x222a9f)return!0x1;if(!!_0x389916[_0x3b2ed3(0x42f)](_0x17cbc5[_0x3b2ed3(0x234)])['getConfig'](_0x20ad14))return!0x0;const _0x15b15d=_0x389916['get'](_0x1f106f[_0x3b2ed3(0x13e)]),{pivotTableId:_0x541dae,deleteIds:_0x465c14,collectionJSON:_0x163a4c,dataRangeInfo:_0x27ab0d,unitId:_0x432e81,subUnitId:_0x1a7718}=_0x222a9f,_0x262000=_0x15b15d[_0x3b2ed3(0x179)](_0x541dae),_0x25995d=_0x15b15d[_0x3b2ed3(0x2d5)](_0x432e81,_0x1a7718,_0x541dae);if(!_0x262000||!_0x25995d)return!0x1;const {collection:_0x3ead9f,updateDataFieldList:_0xa46892}=_0x15b15d['addCollectionByJSON'](_0x541dae,_0x163a4c,_0x27ab0d,_0x25995d[_0x3b2ed3(0x183)]);_0x15b15d[_0x3b2ed3(0x30e)](_0x3ead9f,_0xa46892,_0x27ab0d),_0x262000[_0x3b2ed3(0x214)](_0x3ead9f);for(const _0x4d2bb2 of _0x465c14)_0x15b15d[_0x3b2ed3(0x222)](_0x27ab0d[_0x3b2ed3(0x167)],_0x4d2bb2);const _0x133f88=_0x15b15d[_0x3b2ed3(0x2d5)](_0x432e81,_0x1a7718,_0x541dae);return _0x133f88[_0x3b2ed3(0x3a9)]=JSON['parse'](JSON[_0x3b2ed3(0x22a)](_0x27ab0d)),_0x15b15d['addDirtyPivotTable']({'unitId':_0x432e81,'subUnitId':_0x1a7718,'token':_0x541dae,'type':_0x635b2f[_0x3b2ed3(0x28e)]}),!0x0;}},_0x153daa={'type':_0x17cbc5[_0x34d75b(0x298)][_0x34d75b(0x10c)],'id':_0x34d75b(0x213),async 'handler'(_0x32068d,_0x41b26c){const _0xc73291=_0x34d75b,_0x76456c=_0x32068d[_0xc73291(0x42f)](_0x17cbc5[_0xc73291(0x275)]),_0x5d077a=_0x32068d['get'](_0x1f106f['SheetsPivotRPCService']),_0x2f13ed=_0x32068d[_0xc73291(0x42f)](_0x17cbc5[_0xc73291(0x1f0)]);if(!_0x41b26c)return!0x1;const {token:_0x3c579,dataRangeInfo:_0x4d6979,unitId:_0x3832e5,subUnitId:_0x3bc4f5}=_0x41b26c,_0x503f4d=[],_0x4e808a=[],_0xb728b8=(await _0x5d077a[_0xc73291(0x3ad)]({'unitId':_0x3832e5,'subUnitId':_0x3bc4f5,'pivotTableId':_0x3c579,'params':{'type':_0x5559df[_0xc73291(0x137)],'updatePivotSource':{'dataRangeInfo':_0x4d6979,'unitId':_0x3832e5,'subUnitId':_0x3bc4f5}}}))['result']['updatePivotSource'];if(!_0xb728b8)return!0x1;const {changesets:_0x7cfec8,deleteIds:_0x1c9c01,collectionConfig:_0x5a16e7,oldCollectionConfig:_0x5a875d,view:_0x4ff078,isEmpty:_0x58694e,pivotTableConfig:_0x3efdd5}=_0xb728b8;_0x4e808a[_0xc73291(0x30f)]({'id':_0x1605eb['id'],'params':{'pivotTableId':_0x3c579,'deleteIds':_0x1c9c01,'collectionJSON':_0x5a16e7,'dataRangeInfo':_0x4d6979,'unitId':_0x3832e5,'subUnitId':_0x3bc4f5}}),_0x503f4d[_0xc73291(0x126)]({'id':_0x1605eb['id'],'params':{'pivotTableId':_0x3c579,'deleteIds':[],'collectionJSON':_0x5a875d,'dataRangeInfo':_0x3efdd5[_0xc73291(0x3a9)],'unitId':_0x3832e5,'subUnitId':_0x3bc4f5}});const _0x5cf630=_0x3efdd5['targetCellInfo'],_0x3739db=new _0x4c0fcb[(_0xc73291(0x29d))]();_0x3739db[_0xc73291(0x18b)](_0x4ff078);const _0x5dc27e={'cellInfo':_0x5cf630,'view':_0x3739db,'isEmpty':_0x58694e};if(!await _0x32068d['get'](_0x1f106f[_0xc73291(0x286)])[_0xc73291(0x356)][_0xc73291(0x3ab)](_0x18b11e)(!0x0,_0x5dc27e))return!0x1;const _0x344be3=_0xa15f20(_0x32068d,_0x3739db,_0x5cf630,_0x58694e),_0x35d097=_0x21c4d4(_0x32068d,_0x5dc27e),{undos:_0x3c80da,redos:_0x532e4a}=_0x5e1c02(_0x76456c,{'pivotTableId':_0x3c579,'unitId':_0x3832e5,'subUnitId':_0x3bc4f5},_0x7cfec8);return _0x17cbc5[_0xc73291(0x235)]([..._0x344be3['redos'],..._0x35d097['redos'],..._0x4e808a,..._0x3c80da],_0x76456c),_0x2f13ed[_0xc73291(0x360)]({'unitID':_0x3832e5,'redoMutations':[..._0x344be3[_0xc73291(0x109)],..._0x35d097['redos'],..._0x4e808a,..._0x3c80da],'undoMutations':[..._0x344be3[_0xc73291(0x355)],..._0x35d097[_0xc73291(0x355)],..._0x503f4d,..._0x532e4a]}),!0x0;}},_0x4d982b={'type':_0x17cbc5['CommandType'][_0x34d75b(0x10c)],'id':_0x34d75b(0x2ee),async 'handler'(_0x156f43,_0x71dac4){const _0x1b9048=_0x34d75b;if(!_0x71dac4)return!0x1;const _0x4d5f98=_0x156f43[_0x1b9048(0x42f)](_0x17cbc5[_0x1b9048(0x275)]),_0x26382a=_0x156f43[_0x1b9048(0x42f)](_0x1f106f['SheetsPivotRPCService']),_0x14fdec=_0x156f43[_0x1b9048(0x42f)](_0x17cbc5[_0x1b9048(0x204)]),_0x470c37=_0x156f43[_0x1b9048(0x42f)](_0x17cbc5[_0x1b9048(0x1f0)]),{pivotTableId:_0x53f588,position:_0x17256b,index:_0x200d73}=_0x71dac4,_0x4af572=_0x57279f[_0x1b9048(0x239)](_0x14fdec);if(!_0x4af572)return!0x1;const {unitId:_0x162da1,subUnitId:_0x496585}=_0x4af572,_0x1ad41b=(await _0x26382a[_0x1b9048(0x3ad)]({'unitId':_0x162da1,'subUnitId':_0x496585,'pivotTableId':_0x53f588,'params':{'type':_0x5559df['UpdateValuePosition'],'updateValuePosition':{'position':_0x17256b,'index':_0x200d73}}}))[_0x1b9048(0x161)][_0x1b9048(0x232)];if(!_0x1ad41b)return!0x1;const {changesets:_0x1f0ac2,view:_0x3fd19c,isEmpty:_0x5b57c8,pivotTableConfig:_0x42a900}=_0x1ad41b,_0x15eed3=_0x42a900[_0x1b9048(0x183)],_0x196d88=new _0x4c0fcb['PivotView']();_0x196d88[_0x1b9048(0x18b)](_0x3fd19c);const _0x1edd08=_0x156f43[_0x1b9048(0x42f)](_0x1f106f[_0x1b9048(0x286)]),_0x446ea7={'cellInfo':_0x15eed3,'view':_0x196d88,'isEmpty':_0x5b57c8};if(!await _0x1edd08[_0x1b9048(0x356)][_0x1b9048(0x3ab)](_0x18b11e)(!0x0,_0x446ea7))return!0x1;const _0x2356a5=_0xa15f20(_0x156f43,_0x196d88,_0x15eed3,_0x5b57c8),_0x20238e=_0x21c4d4(_0x156f43,_0x446ea7),{undos:_0x4f511f,redos:_0x252b26}=_0x5e1c02(_0x4d5f98,{'pivotTableId':_0x53f588,'unitId':_0x162da1,'subUnitId':_0x496585},_0x1f0ac2);return _0x17cbc5['sequenceExecute']([..._0x2356a5['redos'],..._0x20238e[_0x1b9048(0x109)],..._0x252b26],_0x4d5f98),_0x470c37[_0x1b9048(0x360)]({'unitID':_0x162da1,'redoMutations':[..._0x2356a5[_0x1b9048(0x109)],..._0x20238e[_0x1b9048(0x109)],..._0x252b26],'undoMutations':[..._0x2356a5[_0x1b9048(0x355)],..._0x20238e['undos'],..._0x4f511f]}),!0x0;}},_0x529f83={'type':_0x17cbc5['CommandType'][_0x34d75b(0x16c)],'id':_0x34d75b(0x418),'handler'(){return!0x0;}};var _0x23134e=Object[_0x34d75b(0x36d)],_0x276725=(_0x1dd78a,_0x4125c3,_0x3fb411,_0x3f6699)=>{const _0x13f582=_0x34d75b;for(var _0x5f3e5d=_0x3f6699>0x1?void 0x0:_0x3f6699?_0x23134e(_0x4125c3,_0x3fb411):_0x4125c3,_0x2e5448=_0x1dd78a[_0x13f582(0x233)]-0x1,_0x3c88b0;_0x2e5448>=0x0;_0x2e5448--)(_0x3c88b0=_0x1dd78a[_0x2e5448])&&(_0x5f3e5d=_0x3c88b0(_0x5f3e5d)||_0x5f3e5d);return _0x5f3e5d;},_0x49df08=(_0x2fc54d,_0x366572)=>(_0x1f25fd,_0x1fb034)=>_0x366572(_0x1f25fd,_0x1fb034,_0x2fc54d);const _0x54923f=()=>({'runtimeCellData':{},'dirtyRanges':{}}),_0x427474=(_0x569bb2,_0x154035,_0x459f58)=>{const _0x5bd5ff=_0x34d75b,_0x1a41ed=_0x569bb2[_0x5bd5ff(0x337)];_0x569bb2[_0x5bd5ff(0x413)](_0x57adc5=>{const _0x8d3435=_0x5bd5ff,_0xc2802b=_0x57adc5[_0x8d3435(0x271)](),_0x502144=_0x57adc5[_0x8d3435(0x297)](),_0x4d891d=_0x57adc5[_0x8d3435(0x31f)](),_0x53b81a=_0x57adc5['getDisplayName']();_0x154035[_0x502144]&&_0x154035[_0x502144]===_0x53b81a&&_0x4d891d===_0x53b81a&&(_0x569bb2[_0x8d3435(0x2aa)](_0xc2802b,_0x1a41ed[_0x8d3435(0x3ee)](_0x502144)),_0x57adc5[_0x8d3435(0x29b)](_0x1a41ed[_0x8d3435(0x3ee)](_0x502144)));}),_0x569bb2['iterateFieldByArea'](_0x4c0fcb['PivotTableFiledAreaEnum'][_0x5bd5ff(0x1d0)],_0x5807d5=>{const _0x58c4ed=_0x5bd5ff,_0x5c3a91=_0x5807d5[_0x58c4ed(0x271)](),_0x22ce54=_0x5807d5['getDataFieldId'](),_0x462511=_0x5807d5['getSourceName'](),_0x2fbc3c=_0x5807d5['getDisplayName'](),_0xfadf56=_0x5807d5[_0x58c4ed(0x416)](),_0x1ea282=_0x459f58(_0x462511,_0xfadf56);_0x154035[_0x22ce54]&&_0x154035[_0x22ce54]===_0x462511&&_0x1ea282===_0x2fbc3c&&(_0x569bb2[_0x58c4ed(0x2aa)](_0x5c3a91,_0x459f58(_0x1a41ed[_0x58c4ed(0x3ee)](_0x22ce54),_0xfadf56)),_0x5807d5[_0x58c4ed(0x29b)](_0x1a41ed[_0x58c4ed(0x3ee)](_0x22ce54)));});},_0x54707a=(_0x520b47,_0x3714ad,_0x54231f)=>{const _0x11e0da=_0x34d75b;var _0x1841bc,_0x31897c;const {arrayFormulaCellData:_0x318f03,unitData:_0x4ce35b}=_0x3714ad,{unitId:_0x1726f1,subUnitId:_0x348f5a}=_0x54231f,_0x54c4ac=_0x54231f[_0x11e0da(0x262)],{startColumn:_0x94958,endColumn:_0x125ace}=_0x54c4ac,_0x409a36=(_0x1841bc=_0x318f03==null?void 0x0:_0x318f03[_0x1726f1])==null?void 0x0:_0x1841bc[_0x348f5a],_0x3c8fa3=(_0x31897c=_0x4ce35b==null?void 0x0:_0x4ce35b[_0x1726f1])==null?void 0x0:_0x31897c[_0x348f5a],_0x314051=new Set(),_0x51e57e=_0x125ace-_0x94958+0x1,{dirtyRanges:_0x4f025f}=_0x520b47;if(_0x4f025f)for(const {range:_0x46c2ad,sheetId:_0x46946d,unitId:_0x342838}of _0x4f025f){if(_0x46946d!==_0x348f5a||_0x1726f1!==_0x342838)continue;const _0x476b37=_0x17cbc5[_0x11e0da(0x2db)][_0x11e0da(0x3f8)](_0x46c2ad,_0x54c4ac);if(_0x476b37){const {startColumn:_0x20c9fb,endColumn:_0x16fb71}=_0x476b37;for(let _0x10044b=_0x20c9fb;_0x10044b<=_0x16fb71;_0x10044b++)_0x314051['add'](_0x10044b);}}if(_0x314051[_0x11e0da(0x26c)]===_0x51e57e||_0x314051[_0x11e0da(0x26c)]===_0x51e57e)return Array[_0x11e0da(0x287)](_0x314051);if(_0x3c8fa3){const _0x485838=_0x3c8fa3['getMatrix'](),_0x1d242c=Object[_0x11e0da(0x2ec)](_0x485838);for(const _0x55b212 of _0x1d242c){const _0x45daaf=Number(_0x55b212),_0x460ff4=_0x485838[_0x45daaf];if(_0x314051[_0x11e0da(0x26c)]===_0x51e57e)break;for(const _0x3a6540 in _0x460ff4){const _0x1c7a9f=Number(_0x3a6540);_0x1c7a9f<_0x94958||_0x1c7a9f>_0x125ace||_0x314051['add'](_0x1c7a9f);}}}if(_0x409a36){const _0x211ee7=_0x409a36['getMatrix'](),_0x3ef8df=Object[_0x11e0da(0x2ec)](_0x211ee7);for(const _0x1ef8b0 of _0x3ef8df){const _0x35b129=Number(_0x1ef8b0),_0x11d750=_0x211ee7[_0x35b129];if(_0x314051[_0x11e0da(0x26c)]===_0x51e57e)break;for(const _0x463b0e in _0x11d750){const _0x23b886=Number(_0x463b0e);_0x23b886<_0x94958||_0x23b886>_0x125ace||_0x314051[_0x11e0da(0x283)](_0x23b886);}}}return Array['from'](_0x314051);},_0x27e10d=_0x4c1965=>{const _0x540265=_0x34d75b,_0x1ffed9=new Set(),_0x106c94=[];for(const _0x1a6dff of _0x4c1965){const _0x37134a=_0x1a6dff[_0x540265(0x191)]+','+_0x1a6dff[_0x540265(0x273)]+','+_0x1a6dff[_0x540265(0x33c)]+','+_0x1a6dff[_0x540265(0x357)];_0x1ffed9[_0x540265(0x210)](_0x37134a)||(_0x1ffed9[_0x540265(0x283)](_0x37134a),_0x106c94[_0x540265(0x30f)](_0x1a6dff));}return _0x106c94;};let _0x360ef9=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x3bff3d,_0x2d44bd,_0x294840,_0x5364c5,_0x48c999){const _0x30973e=_0x34d75b;super(),_0x1658bd(this,'_globalSubject',new _0x2fd59f['BehaviorSubject'](!0x0)),_0x1658bd(this,_0x30973e(0x1f7),_0x28c234=>{const _0x4267a5=_0x30973e;this[_0x4267a5(0x1b7)][_0x4267a5(0x1fc)](!0x1);}),_0x1658bd(this,_0x30973e(0x134),_0x326793=>{const _0x456dad=_0x30973e;this['_globalSubject'][_0x456dad(0x1fc)](!0x0);}),(this['_sheetsPivotDataSourceModel']=_0x3bff3d,this[_0x30973e(0x1ec)]=_0x2d44bd,this[_0x30973e(0x260)]=_0x294840,this['_globalComputingSrv']=_0x5364c5,this[_0x30973e(0x264)]=_0x48c999,this['_init'](),this[_0x30973e(0x1f2)]());}[_0x34d75b(0x38d)](){const _0x4e5c5e=_0x34d75b;this[_0x4e5c5e(0x166)](),this['_subjectViewChange'](),this[_0x4e5c5e(0x164)](),this[_0x4e5c5e(0x2e1)]();}[_0x34d75b(0x31c)](){const _0x4d4edf=_0x34d75b;this[_0x4d4edf(0x397)][_0x4d4edf(0x327)](this[_0x4d4edf(0x1b7)]),_0x4c0fcb['PivotTable'][_0x4d4edf(0x426)](_0x4c0fcb['PivotCallbackEnum'][_0x4d4edf(0x3ca)],this['_globalComputedStartHelpFunc']),_0x4c0fcb[_0x4d4edf(0x20a)][_0x4d4edf(0x426)](_0x4c0fcb[_0x4d4edf(0x31d)][_0x4d4edf(0x17e)],this[_0x4d4edf(0x134)]);}[_0x34d75b(0x1f2)](){const _0xb11f45=_0x34d75b;this[_0xb11f45(0x216)](this[_0xb11f45(0x260)][_0xb11f45(0x2c4)](_0x270d73=>{const _0x2f13f7=_0xb11f45;_0x270d73['id']===_0x57279f[_0x2f13f7(0x132)]['id']&&this[_0x2f13f7(0x3e5)]['handleMoveRange'](_0x270d73['params']);})),this[_0xb11f45(0x216)](this[_0xb11f45(0x260)][_0xb11f45(0x2c4)](_0x1f72a5=>{const _0x3b456c=_0xb11f45;if(_0x1f72a5['id']!==_0x373f83['id'])return;const _0x47ce75=_0x1f72a5[_0x3b456c(0x331)],{unitId:_0x2c63a3,subUnitId:_0x121b6c,pivotTableId:_0x7850c2}=_0x47ce75,_0x4f1e07=_0x47ce75['params'][_0x3b456c(0x3e6)],_0x13fcac={};switch(_0x4f1e07){case _0x5559df[_0x3b456c(0x3f1)]:{const _0x2446d5=_0x47ce75['params'][_0x3b456c(0x33a)];if(!_0x2446d5)return;const {row:_0x35c085,col:_0x3a1472,cellData:_0x2220c1,pivotItemRenderInfoCache:_0x5b537f,tableFieldId:_0x16e432}=_0x2446d5,_0x2d9ceb=this['_sheetsPivotDataSourceModel']['getPivotTableInstance'](_0x47ce75[_0x3b456c(0x2f1)]);if(!_0x2d9ceb||!_0x5b537f)return;if(_0x16e432){const _0x520a82=_0x2d9ceb[_0x3b456c(0x29e)](_0x16e432);if(!_0x520a82)return;_0x13fcac['filter']={..._0x2d9ceb[_0x3b456c(0x240)](_0x520a82),'tableFieldId':_0x16e432,'pivotTableId':_0x47ce75[_0x3b456c(0x2f1)],'filterInfo':_0x2d9ceb[_0x3b456c(0x3f5)](_0x16e432),'sortInfo':_0x2d9ceb[_0x3b456c(0x1cd)](_0x16e432),'format':_0x2d9ceb[_0x3b456c(0x2e5)](_0x16e432)};}else{const _0x4ff17a=_0x5349b6(_0x35c085,_0x3a1472,_0x2220c1,_0x2d9ceb,_0x5b537f),_0x4dc202=_0x4ff17a==null?void 0x0:_0x4ff17a[_0x3b456c(0x1c8)];if(!_0x4dc202)return;const _0x12fd7c=_0x2d9ceb[_0x3b456c(0x29e)](_0x4dc202);if(!_0x12fd7c)return;_0x13fcac[_0x3b456c(0x33a)]={..._0x2d9ceb[_0x3b456c(0x240)](_0x12fd7c),'tableFieldId':_0x4dc202,'pivotTableId':_0x47ce75['pivotTableId'],'filterInfo':_0x2d9ceb['getFilterInfo'](_0x4dc202),'sortInfo':_0x2d9ceb[_0x3b456c(0x1cd)](_0x4dc202),'format':_0x2d9ceb[_0x3b456c(0x2e5)](_0x4dc202)};}}break;case _0x5559df[_0x3b456c(0x139)]:{const _0x4f6d98=_0x47ce75['params'][_0x3b456c(0x1c6)];if(!_0x4f6d98)return;const {pivotTableId:_0x2f031c}=_0x4f6d98,_0x238645=this[_0x3b456c(0x3e5)]['getPivotTableInstance'](_0x2f031c);if(!_0x238645)return;const _0x177764=this[_0x3b456c(0x3e5)][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x2f031c),_0x284c1e=_0x13a315(_0x238645,_0x2f031c,_0x177764);_0x13fcac[_0x3b456c(0x1c6)]=_0x284c1e;}break;case _0x5559df[_0x3b456c(0x156)]:{const _0x251b4a=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x179)](_0x7850c2),_0x34fdfb=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x1a3)](_0x2c63a3),_0x53ca32=_0x34fdfb[_0x3b456c(0x3c4)](_0x7850c2);let _0x10c7b5=null;const _0x45d3b8=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x7850c2),_0x19bec0=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x3c8)];if(!_0x251b4a||!_0x45d3b8||!_0x19bec0)return!0x1;const {dataFieldId:_0x3eb147,fieldArea:_0x8df76,index:_0x15de3a}=_0x19bec0;_0x251b4a[_0x3b456c(0x11a)]();const _0x191e56=_0x251b4a[_0x3b456c(0x3f4)](_0x3eb147,_0x8df76,_0x15de3a);if(_0x191e56&&_0x8df76===_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x1d0)]){const _0x279d5d=_0x191e56['getId'](),_0x2b1997=_0x251b4a[_0x3b456c(0x29e)](_0x279d5d);if(_0x2b1997){const _0x11c02f=_0x2b1997==null?void 0x0:_0x2b1997[_0x3b456c(0x22d)]();_0x251b4a[_0x3b456c(0x189)](_0x191e56[_0x3b456c(0x271)](),_0x11c02f===_0x4c0fcb['PivotDataFieldDataTypeEnum'][_0x3b456c(0x411)]?_0x4c0fcb[_0x3b456c(0x236)]['sum']:_0x4c0fcb[_0x3b456c(0x236)][_0x3b456c(0x1ba)]);}const _0x4d6c63=_0x251b4a['getValueIndex'](),_0x2254af=_0x251b4a[_0x3b456c(0x27e)](),_0x1df7a1=_0x251b4a[_0x3b456c(0x3ff)](_0x4c0fcb['PivotTableFiledAreaEnum']['Value']);if(_0x4d6c63===-0x1&&_0x1df7a1>0x1){const _0x468d22=_0x2254af===_0x4c0fcb[_0x3b456c(0x21f)][_0x3b456c(0x377)]?_0x4c0fcb[_0x3b456c(0x21f)][_0x3b456c(0x347)]:_0x2254af,_0x2f5272=_0x468d22===_0x4c0fcb['PivotTableValuePositionEnum'][_0x3b456c(0x34b)]?_0x4c0fcb[_0x3b456c(0x350)]['Row']:_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x347)];_0x251b4a[_0x3b456c(0x232)](_0x468d22,_0x251b4a[_0x3b456c(0x3ff)](_0x2f5272));}}else{if(_0x191e56&&(_0x8df76===_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x34b)]||_0x8df76===_0x4c0fcb['PivotTableFiledAreaEnum'][_0x3b456c(0x347)])){const _0x43e3e8=_0x191e56[_0x3b456c(0x271)](),_0x4eb452=_0x251b4a[_0x3b456c(0x29e)](_0x43e3e8);if(_0x4eb452&&(_0x4eb452==null?void 0x0:_0x4eb452[_0x3b456c(0x22d)]())===_0x4c0fcb['PivotDataFieldDataTypeEnum'][_0x3b456c(0x1e9)]){const _0x148cae=_0x4eb452[_0x3b456c(0x376)]();if(_0x148cae&&_0x251b4a[_0x3b456c(0x422)](_0x191e56[_0x3b456c(0x271)](),_0x148cae),!_0x53ca32[_0x3b456c(0x20b)]()['some'](_0x233ba4=>{const _0x49ffa9=_0x3b456c,_0x3b4318=_0x53ca32['getFieldById'](_0x233ba4);return _0x4c0fcb[_0x49ffa9(0x30d)](_0x3b4318)?_0x3b4318[_0x49ffa9(0x382)]()[_0x49ffa9(0x37a)]===_0x3eb147:!0x1;})){const _0x5943c8=_0x34fdfb[_0x3b456c(0x308)](),_0x29c5c5=_0x33cc48(_0x4eb452['maxDate'],_0x4eb452[_0x3b456c(0x3a2)]),_0x34ca0d=_0x4eb452[_0x3b456c(0x18c)]()+'\x20-\x20'+_0xf6a5a4(this[_0x3b456c(0x264)],_0x29c5c5),_0x13a3ee=new _0x4c0fcb[(_0x3b456c(0x23b))](_0x5943c8,_0x34ca0d,_0x4c0fcb[_0x3b456c(0x193)](0x3),_0x4eb452[_0x3b456c(0x271)](),_0x29c5c5);_0x34fdfb[_0x3b456c(0x151)](_0x13a3ee),_0x53ca32[_0x3b456c(0x3b3)](_0x5943c8,_0x34ca0d),_0x251b4a['addFieldWithSourceId'](_0x5943c8,_0x8df76,(_0x15de3a!=null?_0x15de3a:0x0)+0x1),_0x10c7b5=_0x13a3ee;}}}}const _0x18d041=_0x251b4a[_0x3b456c(0x381)](),_0x14debe=_0x251b4a[_0x3b456c(0x1a4)]()[_0x3b456c(0x15f)]();let _0x43e05d;if(_0x10c7b5){_0x43e05d=_0x10c7b5[_0x3b456c(0x15f)]();const _0x4be5b6=_0x10c7b5[_0x3b456c(0x271)]();_0x53ca32[_0x3b456c(0x3b4)](_0x4be5b6);let _0x3b2721=!0x0;for(const _0x5806c6 in _0x34fdfb[_0x3b456c(0x304)])if(_0x34fdfb['collections'][_0x5806c6][_0x3b456c(0x20b)]()['includes'](_0x4be5b6)){_0x3b2721=!0x1;break;}_0x3b2721&&_0x34fdfb[_0x3b456c(0x371)](_0x4be5b6);}const _0x57a3bd=_0x251b4a[_0x3b456c(0x32d)]();_0x13fcac[_0x3b456c(0x3c8)]={'view':_0x14debe,'changesets':_0x57a3bd,'isEmpty':_0x18d041,'pivotTableConfig':_0x45d3b8,'shouldBeAddedGroupJSON':_0x43e05d};}break;case _0x5559df[_0x3b456c(0x3cd)]:{const _0x1d3434=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x3fc)];if(!_0x1d3434)return;const _0x57def8=_0x1d3434[_0x3b456c(0x3a9)],_0x1c18c8=_0x1d3434[_0x3b456c(0x2f1)],{collection:_0x54317d}=this[_0x3b456c(0x3e5)][_0x3b456c(0x2a3)]({'unitId':_0x57def8['unitId'],'sheetName':_0x57def8['sheetName'],'subUnitId':_0x57def8[_0x3b456c(0x3c7)],'range':_0x57def8[_0x3b456c(0x262)]}),_0x4ded1f=new _0x4c0fcb[(_0x3b456c(0x20a))](_0x54317d,void 0x0,_0x1c18c8),_0x367d53=_0x4ded1f[_0x3b456c(0x1a4)](),_0x5d3762=_0x4ded1f[_0x3b456c(0x15f)](),_0x42a51a=_0x54317d['toJSON']();_0x13fcac['addPivotTable']={'view':_0x367d53,'fieldsConfig':_0x5d3762,'collectionConfig':_0x42a51a,'isEmpty':_0x4ded1f[_0x3b456c(0x381)]()};}break;case _0x5559df[_0x3b456c(0x37e)]:{const _0x1e5fd2=_0x47ce75['params']['movePivotField'];if(!_0x1e5fd2)return;const {fieldId:_0x2efb7a,area:_0x230afd,index:_0x42caa9}=_0x1e5fd2,_0x413486=this[_0x3b456c(0x3e5)][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x413486)return;const _0x55a99b=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x179)](_0x7850c2);if(!_0x55a99b)return;_0x55a99b['startCollectChangeset']();const {area:_0xd2329a,index:_0x163d9e}=_0x55a99b['getFieldPositionInfoById'](_0x2efb7a);if(_0x55a99b[_0x3b456c(0x248)](_0x2efb7a,_0x230afd,_0x42caa9),_0x230afd===_0x4c0fcb['PivotTableFiledAreaEnum']['Value']&&_0x55a99b['getTableFieldById'](_0x2efb7a)[_0x3b456c(0x416)]()===void 0x0){const _0xda88ef=_0x55a99b[_0x3b456c(0x39a)](_0x2efb7a);if(_0xda88ef&&_0xda88ef['getSubtotal']()===void 0x0){const _0x3e5d80=_0x55a99b[_0x3b456c(0x29e)](_0x2efb7a);if(_0x3e5d80){const _0x3feacc=_0x3e5d80==null?void 0x0:_0x3e5d80[_0x3b456c(0x22d)]();_0x55a99b['setSubtotalType'](_0x2efb7a,_0x3feacc===_0x4c0fcb['PivotDataFieldDataTypeEnum'][_0x3b456c(0x411)]?_0x4c0fcb[_0x3b456c(0x236)]['sum']:_0x4c0fcb['PivotSubtotalTypeEnum'][_0x3b456c(0x1ba)]);}}}const _0x51b5da=_0x55a99b[_0x3b456c(0x27e)](),_0x11e9f1=_0x55a99b[_0x3b456c(0x361)](),_0x779103=_0x55a99b[_0x3b456c(0x3ff)](_0x4c0fcb['PivotTableFiledAreaEnum'][_0x3b456c(0x1d0)])>0x1;if(_0x779103&&_0xd2329a===_0x230afd&&(_0x230afd===_0x4c0fcb['PivotTableFiledAreaEnum'][_0x3b456c(0x34b)]&&_0x51b5da===_0x4c0fcb['PivotTableValuePositionEnum']['Row']||_0x230afd===_0x4c0fcb['PivotTableFiledAreaEnum']['Column']&&_0x51b5da===_0x4c0fcb[_0x3b456c(0x21f)][_0x3b456c(0x347)])){let _0x2faa0c=_0x11e9f1;_0x163d9e<=_0x11e9f1&&_0x2faa0c--,_0x42caa9<=_0x11e9f1&&_0x2faa0c++,_0x55a99b[_0x3b456c(0x232)](_0x51b5da,_0x2faa0c);}else _0x779103&&(_0xd2329a===_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x34b)]&&_0x51b5da===_0x4c0fcb[_0x3b456c(0x21f)][_0x3b456c(0x34b)]||_0xd2329a===_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x347)]&&_0x51b5da===_0x4c0fcb[_0x3b456c(0x21f)][_0x3b456c(0x347)])&&_0x11e9f1>=_0x163d9e&&_0x55a99b[_0x3b456c(0x232)](_0x51b5da,_0x11e9f1-0x1),_0x779103&&(_0x230afd===_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x34b)]&&_0x51b5da===_0x4c0fcb[_0x3b456c(0x21f)][_0x3b456c(0x34b)]||_0x230afd===_0x4c0fcb[_0x3b456c(0x350)]['Column']&&_0x51b5da===_0x4c0fcb[_0x3b456c(0x21f)][_0x3b456c(0x347)])&&_0x11e9f1>=_0x42caa9&&_0x55a99b[_0x3b456c(0x232)](_0x51b5da,_0x11e9f1+0x1);const _0x38e831=_0x55a99b[_0x3b456c(0x1a4)](),_0x99a851=_0x55a99b[_0x3b456c(0x381)](),_0x464809=_0x55a99b[_0x3b456c(0x32d)]();_0x13fcac[_0x3b456c(0x430)]={'view':_0x38e831[_0x3b456c(0x15f)](),'changesets':_0x464809,'isEmpty':_0x99a851,'pivotTableConfig':_0x413486};}break;case _0x5559df[_0x3b456c(0x427)]:{const _0x16390d=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x20c)];if(!_0x16390d)return;const _0x4bf88d=_0x16390d['fieldIds'],_0x2601b7=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x2601b7)return!0x1;const _0x2e6404=this[_0x3b456c(0x3e5)]['getPivotTableInstance'](_0x7850c2);if(!_0x2e6404)return!0x1;_0x2e6404[_0x3b456c(0x11a)]();for(const _0x327570 of _0x4bf88d){const {area:_0x136553}=_0x2e6404[_0x3b456c(0x2c9)](_0x327570);_0x136553===_0x4c0fcb['PivotTableFiledAreaEnum'][_0x3b456c(0x1d0)]&&_0x2e6404[_0x3b456c(0x1b2)](_0x327570),(_0x136553===_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x34b)]||_0x136553===_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x347)])&&_0x2e6404[_0x3b456c(0x12b)](_0x327570),_0x2e6404[_0x3b456c(0x365)](_0x327570);}const _0x50e7f3=_0x2e6404[_0x3b456c(0x381)](),_0x5ace8e=_0x2e6404['query']()[_0x3b456c(0x15f)](),_0x59c84d=_0x2e6404[_0x3b456c(0x32d)]();_0x13fcac[_0x3b456c(0x20c)]={'changesets':_0x59c84d,'pivotTableConfig':_0x2601b7,'isEmpty':_0x50e7f3,'view':_0x5ace8e};}break;case _0x5559df[_0x3b456c(0x133)]:{const _0xe2669d=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x197)];if(!_0xe2669d)return;const {tableFieldId:_0x2aafa5,items:_0x46fbf8,isAll:_0x1aa1bf}=_0xe2669d,_0x11d0fe=this[_0x3b456c(0x3e5)][_0x3b456c(0x179)](_0x7850c2),_0xcd6655=this[_0x3b456c(0x3e5)][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x11d0fe||!_0xcd6655)return;_0x11d0fe[_0x3b456c(0x11a)](),_0x11d0fe[_0x3b456c(0x412)](_0x2aafa5,{'type':_0x4c0fcb['PivotFilterTypeEnum'][_0x3b456c(0x2e7)],'list':_0x46fbf8,'isAll':_0x1aa1bf});const _0x43046f=_0x11d0fe[_0x3b456c(0x381)](),_0x226436=_0x11d0fe[_0x3b456c(0x1a4)]()[_0x3b456c(0x15f)](),_0x3f9dab=_0x11d0fe[_0x3b456c(0x32d)]();_0x13fcac[_0x3b456c(0x197)]={'view':_0x226436,'changesets':_0x3f9dab,'isEmpty':_0x43046f,'pivotTableConfig':_0xcd6655};}break;case _0x5559df[_0x3b456c(0x378)]:{const _0x238101=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x3f7)];if(!_0x238101)return;const {tableFieldId:_0x4d4a60,filterInfo:_0x2443be}=_0x238101,_0xde66bd=this[_0x3b456c(0x3e5)][_0x3b456c(0x179)](_0x7850c2),_0x3a24ab=this[_0x3b456c(0x3e5)]['getPivotTableConfig'](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0xde66bd||!_0x3a24ab)return;_0xde66bd['startCollectChangeset'](),_0xde66bd[_0x3b456c(0x258)](_0x4d4a60,_0x2443be);const _0x12dc71=_0xde66bd[_0x3b456c(0x381)](),_0x3c64bc=_0xde66bd['query']()['toJSON'](),_0x3bed03=_0xde66bd[_0x3b456c(0x32d)]();_0x13fcac[_0x3b456c(0x3f7)]={'view':_0x3c64bc,'changesets':_0x3bed03,'isEmpty':_0x12dc71,'pivotTableConfig':_0x3a24ab};}break;case _0x5559df['SetPivotSort']:{const _0x200783=_0x47ce75['params'][_0x3b456c(0x2ea)];if(!_0x200783)return;const {tableFieldId:_0x50f4b8,info:_0x44ecfb}=_0x200783,_0x4ac089=this[_0x3b456c(0x3e5)]['getPivotTableInstance'](_0x7850c2),_0x409f18=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x4ac089||!_0x409f18)return;_0x4ac089[_0x3b456c(0x11a)](),_0x4ac089[_0x3b456c(0x2d7)](_0x50f4b8,_0x44ecfb);const _0x4846e5=_0x4ac089[_0x3b456c(0x381)](),_0x15a344=_0x4ac089['query']()[_0x3b456c(0x15f)](),_0x437767=_0x4ac089[_0x3b456c(0x32d)]();_0x13fcac['setPivotSort']={'view':_0x15a344,'changesets':_0x437767,'isEmpty':_0x4846e5,'pivotTableConfig':_0x409f18};}break;case _0x5559df[_0x3b456c(0x40d)]:{const _0x5c62e1=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x311)];if(!_0x5c62e1)return;const {tableFieldId:_0x2bf137,displayName:_0x49cf02,subtotalType:_0x4d741f,format:_0x586e0b}=_0x5c62e1,_0x3e9274=this[_0x3b456c(0x3e5)][_0x3b456c(0x179)](_0x7850c2),_0xf71945=this[_0x3b456c(0x3e5)][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x3e9274||!_0xf71945)return;_0x3e9274[_0x3b456c(0x11a)](),_0x49cf02!==void 0x0&&_0x3e9274[_0x3b456c(0x2aa)](_0x2bf137,_0x49cf02),_0x4d741f!==void 0x0&&_0x3e9274['setSubtotalType'](_0x2bf137,_0x4d741f),_0x586e0b!==void 0x0&&_0x3e9274[_0x3b456c(0x422)](_0x2bf137,_0x586e0b);const _0x19ed4d=_0x3e9274['isEmpty'](),_0x57535b=_0x3e9274[_0x3b456c(0x1a4)]()[_0x3b456c(0x15f)](),_0x30da1c=_0x3e9274['endCollectChangeset']();_0x13fcac[_0x3b456c(0x311)]={'changesets':_0x30da1c,'pivotTableConfig':_0xf71945,'isEmpty':_0x19ed4d,'view':_0x57535b};}break;case _0x5559df[_0x3b456c(0x137)]:{const _0x67928a=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x40f)];if(!_0x67928a)return;const {dataRangeInfo:_0x5954e1,unitId:_0x4c0f76,subUnitId:_0x50a4f5}=_0x67928a,_0x4a4650=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x2d5)](_0x4c0f76,_0x50a4f5,_0x7850c2),_0x30e921=this[_0x3b456c(0x3e5)][_0x3b456c(0x179)](_0x7850c2);if(!this['_sheetsPivotDataSourceModel']['getCollection'](_0x4c0f76,_0x7850c2)||!_0x30e921||!_0x4a4650)return;const _0x340488=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x3aa)](_0x4c0f76,_0x7850c2,_0x5954e1),_0x524d9b=this[_0x3b456c(0x3e5)]['getCollection'](_0x4c0f76,_0x7850c2)[_0x3b456c(0x15f)](),{collection:_0x15998b}=this[_0x3b456c(0x3e5)][_0x3b456c(0x2a3)]({'unitId':_0x5954e1[_0x3b456c(0x167)],'sheetName':_0x5954e1[_0x3b456c(0x162)],'subUnitId':_0x5954e1[_0x3b456c(0x3c7)],'range':_0x5954e1[_0x3b456c(0x262)]}),_0x5843bf=_0x15998b[_0x3b456c(0x15f)]();_0x30e921['startCollectChangeset']();const _0x3a2172=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x1a3)](_0x4c0f76)['getAutoDisplayNameFunction']()||_0x4c0fcb['getAutoDisplayName'];_0x30e921[_0x3b456c(0x38c)](_0x36bb00=>{const _0x347f73=_0x3b456c,_0x169e4c=_0x36bb00[_0x347f73(0x297)]();if(!_0x15998b['hasField'](_0x169e4c)){const _0x502555=_0x15998b[_0x347f73(0x2c2)](_0x36bb00['getSourceName']());if(_0x502555){_0x30e921[_0x347f73(0x280)](_0x36bb00[_0x347f73(0x271)](),_0x502555['getName'](),_0x502555[_0x347f73(0x271)]());const {area:_0xdb279}=_0x30e921[_0x347f73(0x2c9)](_0x36bb00['getId']());let _0x2e38e7=_0x36bb00[_0x347f73(0x31f)]();const _0x22939c=_0x36bb00[_0x347f73(0x3ee)]();if(_0xdb279===_0x4c0fcb['PivotTableFiledAreaEnum']['Value']){const _0x14f6c2=_0x36bb00[_0x347f73(0x416)]();_0x2e38e7=_0x3a2172(_0x502555['getName'](),_0x14f6c2);}_0x22939c!==_0x2e38e7&&_0x30e921['renameField'](_0x36bb00['getId'](),_0x2e38e7);}else _0x30e921[_0x347f73(0x365)](_0x36bb00[_0x347f73(0x271)]());}});const _0x394dbc=_0x30e921[_0x3b456c(0x381)](),_0x2c4ed9=_0x30e921['query']()[_0x3b456c(0x15f)](),_0x331a13=_0x30e921['endCollectChangeset']();_0x13fcac['updatePivotSource']={'view':_0x2c4ed9,'changesets':_0x331a13,'isEmpty':_0x394dbc,'pivotTableConfig':_0x4a4650,'collectionConfig':_0x5843bf,'oldCollectionConfig':_0x524d9b,'deleteIds':_0x340488};}break;case _0x5559df[_0x3b456c(0x16e)]:{const _0x5a0352=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x232)];if(!_0x5a0352)return;const {position:_0x20ff06,index:_0x16f957}=_0x5a0352,_0x49c83d=this[_0x3b456c(0x3e5)]['getPivotTableConfig'](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x49c83d)return!0x1;const _0x550f73=this[_0x3b456c(0x3e5)]['getPivotTableInstance'](_0x7850c2);if(!_0x550f73)return!0x1;_0x550f73[_0x3b456c(0x11a)](),_0x550f73[_0x3b456c(0x232)](_0x20ff06,_0x16f957);const _0x5d89db=_0x550f73[_0x3b456c(0x381)](),_0x5b1cfb=_0x550f73[_0x3b456c(0x1a4)]()[_0x3b456c(0x15f)](),_0x2bfe89=_0x550f73[_0x3b456c(0x32d)]();_0x13fcac[_0x3b456c(0x232)]={'changesets':_0x2bfe89,'pivotTableConfig':_0x49c83d,'isEmpty':_0x5d89db,'view':_0x5b1cfb};}break;case _0x5559df[_0x3b456c(0x143)]:{const _0x40296c=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x428)];if(!_0x40296c)return;const {tableFieldId:_0x57bd36,collapse:_0x18fa78,item:_0x5c790d}=_0x40296c,_0x2d0598=this[_0x3b456c(0x3e5)][_0x3b456c(0x179)](_0x7850c2),_0x1ebf4c=this[_0x3b456c(0x3e5)]['getPivotTableConfig'](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x2d0598||!_0x1ebf4c)return;_0x2d0598[_0x3b456c(0x11a)](),_0x2d0598[_0x3b456c(0x2ce)](_0x57bd36,_0x18fa78,_0x5c790d);const _0x50e83c=_0x2d0598['isEmpty'](),_0x4637ba=_0x2d0598[_0x3b456c(0x1a4)]()['toJSON'](),_0xc33d4b=_0x2d0598[_0x3b456c(0x32d)]();_0x13fcac['setPivotCollapse']={'view':_0x4637ba,'isEmpty':_0x50e83c,'pivotTableConfig':_0x1ebf4c,'changesets':_0xc33d4b};}break;case _0x5559df[_0x3b456c(0x163)]:{const _0x58a635=_0x47ce75['params'][_0x3b456c(0x2fa)];if(!_0x58a635)return;const {pivotTableConfig:_0x93ea50}=_0x58a635,_0x8b4cb4=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x179)](_0x7850c2),_0x5d4b08=this[_0x3b456c(0x3e5)][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x8b4cb4||!_0x5d4b08)return;_0x8b4cb4[_0x3b456c(0x11a)](),_0x25901c(_0x8b4cb4,_0x93ea50);const _0x33e4c5=_0x8b4cb4['isEmpty'](),_0x424b0c=_0x8b4cb4['query']()[_0x3b456c(0x15f)](),_0x3c8f14=_0x8b4cb4['endCollectChangeset']();_0x13fcac[_0x3b456c(0x2fa)]={'view':_0x424b0c,'isEmpty':_0x33e4c5,'pivotTableConfig':{..._0x5d4b08,'fieldsConfig':_0x8b4cb4[_0x3b456c(0x15f)]()},'changesets':_0x3c8f14};}break;case _0x5559df[_0x3b456c(0x208)]:{const _0x1100dc=_0x47ce75['params'][_0x3b456c(0x10a)];if(!_0x1100dc)return;const _0x566071=this[_0x3b456c(0x3e5)]['getPivotTableInstance'](_0x7850c2),_0x15c1cf=this[_0x3b456c(0x3e5)][_0x3b456c(0x2d5)](_0x2c63a3,_0x121b6c,_0x7850c2);if(!_0x566071||!_0x15c1cf)return;_0x566071[_0x3b456c(0x11a)](),_0x319753(_0x566071,_0x1100dc['resetArea']);const _0x1a19f6=_0x566071[_0x3b456c(0x1a4)]()[_0x3b456c(0x15f)](),_0x1e7ee5=_0x566071[_0x3b456c(0x32d)]();_0x13fcac[_0x3b456c(0x10a)]={'view':_0x1a19f6,'isEmpty':!0x0,'pivotTableConfig':{..._0x15c1cf,'fieldsConfig':_0x566071[_0x3b456c(0x15f)]()},'changesets':_0x1e7ee5};}break;case _0x5559df[_0x3b456c(0x168)]:{const _0x1d31c0=_0x47ce75[_0x3b456c(0x331)][_0x3b456c(0x293)];if(!_0x1d31c0)return;const _0xcff7a3=_0x1d31c0[_0x3b456c(0x3a9)],_0x732ac4=_0x1d31c0[_0x3b456c(0x2f1)],{collection:_0xde1321}=this[_0x3b456c(0x3e5)][_0x3b456c(0x2a3)]({'unitId':_0xcff7a3['unitId'],'sheetName':_0xcff7a3[_0x3b456c(0x162)],'subUnitId':_0xcff7a3[_0x3b456c(0x3c7)],'range':_0xcff7a3[_0x3b456c(0x262)]}),_0x325f3e=new _0x4c0fcb[(_0x3b456c(0x20a))](_0xde1321,void 0x0,_0x732ac4),_0x38dc6b=_0xde1321['getFieldIds'](),{rows:_0x16ec30,columns:_0x1c0152,filters:_0x2df922,values:_0xee9c7d}=_0x1d31c0['pivotTableIndexConfig'];_0x325f3e[_0x3b456c(0x11a)]();for(const {field:_0x1605e6,selectedItems:_0x4bcdef}of _0x16ec30||[]){const _0x38d6ee=_0x38dc6b[_0x1605e6];if(_0x38d6ee){const _0x17a29b=_0x325f3e[_0x3b456c(0x3f4)](_0x38d6ee,_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x34b)]);_0x4bcdef&&_0x17a29b&&_0x325f3e[_0x3b456c(0x412)](_0x17a29b[_0x3b456c(0x271)](),{'type':_0x4c0fcb['PivotFilterTypeEnum'][_0x3b456c(0x2e7)],'list':_0x4bcdef,'isAll':!0x1});}}for(const {field:_0x3d3ea2,selectedItems:_0x2043b6}of _0x1c0152||[]){const _0x3aad0f=_0x38dc6b[_0x3d3ea2];if(_0x3aad0f){const _0x35802f=_0x325f3e[_0x3b456c(0x3f4)](_0x3aad0f,_0x4c0fcb[_0x3b456c(0x350)][_0x3b456c(0x347)]);_0x2043b6&&_0x35802f&&_0x325f3e[_0x3b456c(0x412)](_0x35802f[_0x3b456c(0x271)](),{'type':_0x4c0fcb['PivotFilterTypeEnum']['ManualFilter'],'list':_0x2043b6,'isAll':!0x1});}}for(const {field:_0x17d356,selectedItems:_0x14d019}of _0x2df922||[]){const _0x17fa61=_0x38dc6b[_0x17d356];if(_0x17fa61){const _0x4daa83=_0x325f3e[_0x3b456c(0x3f4)](_0x17fa61,_0x4c0fcb['PivotTableFiledAreaEnum'][_0x3b456c(0x3f1)]);_0x14d019&&_0x4daa83&&_0x325f3e[_0x3b456c(0x412)](_0x4daa83[_0x3b456c(0x271)](),{'type':_0x4c0fcb[_0x3b456c(0x3e2)][_0x3b456c(0x2e7)],'list':_0x14d019,'isAll':!0x1});}}for(const {field:_0x1c219e,subTotalType:_0x245c4f,formatString:_0x163674}of _0xee9c7d||[]){const _0x313fdd=_0xde1321[_0x3b456c(0x3b7)](_0x38dc6b[_0x1c219e]);if(!_0x313fdd)continue;const _0x264e3a=_0x38dc6b[_0x1c219e];if(_0x264e3a){const _0x495e6e=_0x325f3e[_0x3b456c(0x3f4)](_0x264e3a,_0x4c0fcb[_0x3b456c(0x350)]['Value']);if(_0x495e6e){if(_0x245c4f!==void 0x0){_0x325f3e[_0x3b456c(0x189)](_0x495e6e['getId'](),_0x245c4f);const _0x2afaa7=this['_sheetsPivotDataSourceModel'][_0x3b456c(0x1a3)](_0xcff7a3[_0x3b456c(0x167)])[_0x3b456c(0x3db)]()||_0x4c0fcb['getAutoDisplayName'],_0x4441fd=_0xde1321[_0x3b456c(0x3ee)](_0x264e3a),_0x5b224d=_0x2afaa7(_0x4441fd,_0x245c4f);_0x325f3e[_0x3b456c(0x2aa)](_0x495e6e[_0x3b456c(0x271)](),_0x5b224d);}else{if(_0x313fdd){const _0x31b009=_0x313fdd==null?void 0x0:_0x313fdd[_0x3b456c(0x22d)]();_0x325f3e['setSubtotalType'](_0x495e6e[_0x3b456c(0x271)](),_0x31b009===_0x4c0fcb[_0x3b456c(0x1a6)][_0x3b456c(0x411)]?_0x4c0fcb['PivotSubtotalTypeEnum'][_0x3b456c(0x212)]:_0x4c0fcb[_0x3b456c(0x236)][_0x3b456c(0x1ba)]);}}_0x163674&&_0x325f3e['setFieldFormat'](_0x495e6e[_0x3b456c(0x271)](),_0x163674);}}}const _0x1f817a=_0x325f3e[_0x3b456c(0x1a4)](),_0x185ae1=_0x325f3e[_0x3b456c(0x15f)](),_0x4c964e=_0x325f3e[_0x3b456c(0x381)](),_0x552c80=_0x325f3e[_0x3b456c(0x32d)](),_0x573bb1=_0xde1321[_0x3b456c(0x15f)]();_0x13fcac[_0x3b456c(0x293)]={'view':_0x1f817a,'fieldsConfig':_0x185ae1,'collectionConfig':_0x573bb1,'isEmpty':_0x4c964e,'changesets':_0x552c80};}break;case _0x5559df[_0x3b456c(0x2fc)]:{const _0xdbc75d=_0x199f4f(this[_0x3b456c(0x264)],_0x47ce75);if(!_0xdbc75d)return;const {range:_0x159a80,sourceSubUnitId:_0x43ed2f,sourceUnitId:_0x3f5b2d,formatMap:_0x1f837d,indexes:_0x558482}=_0xdbc75d;_0x13fcac[_0x3b456c(0x26b)]={'range':_0x159a80,'sourceSubUnitId':_0x43ed2f,'sourceUnitId':_0x3f5b2d,'formatMap':_0x1f837d,'indexes':_0x558482};}break;}this[_0x3b456c(0x260)][_0x3b456c(0x1df)](_0x148b12['id'],{'version':_0x47ce75[_0x3b456c(0x2cf)],'result':_0x13fcac},{'onlyLocal':!0x0});}));}[_0x34d75b(0x164)](){const _0x4096bf=_0x34d75b;this[_0x4096bf(0x216)](this[_0x4096bf(0x260)][_0x4096bf(0x2c4)](_0x55e40b=>{const _0x2b6847=_0x4096bf;if(_0x55e40b['id']!==_0x1eb569['id'])return;const _0x34f723=_0x55e40b[_0x2b6847(0x331)];return this['_sheetsPivotDataSourceModel'][_0x2b6847(0x1d8)](_0x34f723[_0x2b6847(0x3fa)]),!0x0;}));}[_0x34d75b(0x166)](){const _0x26fa06=_0x34d75b;this[_0x26fa06(0x3e5)][_0x26fa06(0x39f)][_0x26fa06(0x205)](_0x232c07=>{const _0x936920=_0x26fa06;switch(_0x232c07['type']){case _0x4de95a['add']:_0x232c07['dataRangeInfo']&&_0x232c07[_0x936920(0x183)]&&this['handleSourceRangeChange'](_0x232c07['token'],_0x232c07[_0x936920(0x1b0)],_0x232c07[_0x936920(0x183)]);break;case _0x4de95a[_0x936920(0x221)]:{const {unitId:_0x123e35,subUnitId:_0x2e1afb,token:_0x264fce}=_0x232c07;_0x123e35&&_0x2e1afb&&_0x264fce&&this[_0x936920(0x209)](_0x123e35,_0x2e1afb,_0x264fce);}break;case _0x4de95a[_0x936920(0x2d8)]:{const {token:_0x2d7bc9,oldSourceRangeInfo:_0x5c0dbd,dataRangeInfo:_0x31a20e,targetCellInfo:_0x40f70c}=_0x232c07,{unitId:_0x20d01a,subUnitId:_0x47327b}=_0x5c0dbd||{};_0x20d01a&&_0x47327b&&_0x2d7bc9&&this[_0x936920(0x209)](_0x20d01a,_0x47327b,_0x2d7bc9),_0x31a20e&&_0x40f70c&&this[_0x936920(0x123)](_0x2d7bc9,_0x31a20e,_0x40f70c);}break;}});}[_0x34d75b(0x2e1)](){const _0x591d9e=_0x34d75b;this[_0x591d9e(0x3e5)][_0x591d9e(0x3ea)]['subscribe'](_0x14533b=>{const _0x43a63f=_0x591d9e;Object[_0x43a63f(0x2ec)](_0x14533b)['forEach'](_0x2e502b=>{const _0x1d1a99=_0x43a63f,_0x47ac57=this[_0x1d1a99(0x3e5)]['getTargetByPivotId'](_0x2e502b);if(_0x47ac57){const _0x23f8f1=this['_sheetsPivotDataSourceModel']['getPivotTableConfig'](_0x47ac57==null?void 0x0:_0x47ac57[_0x1d1a99(0x167)],_0x47ac57==null?void 0x0:_0x47ac57[_0x1d1a99(0x3c7)],_0x2e502b);_0x23f8f1&&(this[_0x1d1a99(0x123)](_0x2e502b,_0x23f8f1[_0x1d1a99(0x3a9)],_0x23f8f1['targetCellInfo']),this[_0x1d1a99(0x380)]([{'unitId':_0x47ac57['unitId'],'subUnitId':_0x47ac57['subUnitId'],'token':_0x2e502b}]));}});});}[_0x34d75b(0x338)](){const _0x2a3685=_0x34d75b;this[_0x2a3685(0x3e5)]['viewData$'][_0x2a3685(0x205)](_0x3b673a=>{const _0x4c5bbb=_0x2a3685,{unitId:_0x2a269f,subUnitId:_0x2b4fc0,pivotTableId:_0x4e4c4d}=_0x3b673a;_0x2a269f&&_0x2b4fc0&&_0x4e4c4d&&this[_0x4c5bbb(0x380)]([{'unitId':_0x2a269f,'subUnitId':_0x2b4fc0,'token':_0x4e4c4d}]);});}[_0x34d75b(0x380)](_0x37ba5e){const _0xe082fb=_0x34d75b,_0x31ff43={};_0x37ba5e[_0xe082fb(0x3f0)](_0x569bfd=>{var _0x5ebc89,_0x2b8adc;const {unitId:_0x1423d8,subUnitId:_0x755452,token:_0x39c7a6}=_0x569bfd;_0x31ff43[_0x1423d8]=(_0x5ebc89=_0x31ff43[_0x1423d8])!=null?_0x5ebc89:{},_0x31ff43[_0x1423d8][_0x755452]=(_0x2b8adc=_0x31ff43[_0x1423d8][_0x755452])!=null?_0x2b8adc:{},_0x31ff43[_0x1423d8][_0x755452][_0x39c7a6]=!0x0;}),this['_commandService'][_0xe082fb(0x1df)](_0x529f83['id'],_0x31ff43);}['removeSourceRangeChange'](_0x23f40a,_0x2bfcd1,_0x4564f8){const _0x8dd58d=_0x34d75b;this['_featureCalculationManagerService'][_0x8dd58d(0x16d)](_0x23f40a,_0x2bfcd1,[_0x4564f8]);}['handleSourceRangeChange'](_0x3aba1d,_0x3b2878,_0xa6ef23){const _0x1fe2f4=_0x34d75b,{unitId:_0x214cc4,subUnitId:_0x4cecf1}=_0x3b2878;this[_0x1fe2f4(0x1ec)][_0x1fe2f4(0x210)](_0xa6ef23[_0x1fe2f4(0x167)],_0xa6ef23[_0x1fe2f4(0x3c7)],_0x3aba1d)&&this['removeSourceRangeChange'](_0x214cc4,_0x4cecf1,_0x3aba1d);const _0x33f70d={'sheetId':_0x4cecf1,..._0x3b2878};this[_0x1fe2f4(0x1ec)]['register'](_0xa6ef23['unitId'],_0xa6ef23[_0x1fe2f4(0x3c7)],_0x3aba1d,{'unitId':_0xa6ef23[_0x1fe2f4(0x167)],'subUnitId':_0xa6ef23[_0x1fe2f4(0x3c7)],'dependencyRanges':[_0x33f70d],'getDirtyData':(_0x4fafb4,_0x51e4a6)=>{const _0x300a0d=_0x1fe2f4,_0x47a8a8=this[_0x300a0d(0x3e5)],_0x50fa05=_0x47a8a8['getTargetByPivotId'](_0x3aba1d);if(!_0x50fa05)return _0x54923f();const {unitId:_0x2e75e9,subUnitId:_0x4cf0b3}=_0x50fa05,_0x112e2e=_0x54707a(_0x4fafb4,_0x51e4a6,_0x3b2878);if(_0x112e2e['length']>0x0){const _0x5ba154=_0x47a8a8[_0x300a0d(0x3c4)](_0x214cc4,_0x3aba1d),_0x441443=_0x5ba154['getFieldIds'](),_0xcd13d0=this[_0x300a0d(0x1a8)](_0x3b2878['unitId'],_0x3b2878[_0x300a0d(0x3c7)],_0x51e4a6),_0x3f64cc={},_0x5ad5d0=this['_sheetsPivotDataSourceModel'][_0x300a0d(0x1a3)](_0x2e75e9)[_0x300a0d(0x3db)]()||_0x4c0fcb[_0x300a0d(0x1a7)],_0x9bb2bf=[];for(const _0x1c7579 of _0x112e2e){const _0x41c3f5=_0x1c7579-(_0x3b2878['range'][_0x300a0d(0x33c)]||0x0),_0x25dfa4=_0x441443[_0x41c3f5];_0x9bb2bf['push'](_0x25dfa4),_0x3f64cc[_0x25dfa4]=_0x5ba154[_0x300a0d(0x3b7)](_0x25dfa4)[_0x300a0d(0x18c)](),_0x47a8a8['getDataFieldManager'](_0x214cc4)[_0x300a0d(0x359)](_0x25dfa4,_0x3b2878,_0x41c3f5,_0xcd13d0);}_0x5ba154[_0x300a0d(0x1cf)](_0x9bb2bf)[_0x300a0d(0x3f0)](_0x1af0ce=>{const _0x209210=_0x300a0d,[_0x23e02b,_0x1a75f1]=_0x1af0ce,_0x24e0c1=_0x5ba154[_0x209210(0x3b7)](_0x23e02b),_0x29410e=_0x5ba154['getFieldById'](_0x1a75f1);_0x24e0c1&&_0x29410e&&_0x24e0c1[_0x209210(0x2b7)](_0x29410e);}),_0x5ba154['updateAllDisplayName']();const _0x457148=_0x47a8a8['getPivotTableInstance'](_0x3aba1d);if(_0x457148){_0x427474(_0x457148,_0x3f64cc,_0x5ad5d0),_0x457148['setDirty'](!0x0);const _0x4a407c=_0x457148[_0x300a0d(0x1a4)](),_0x4474d4=_0x47a8a8[_0x300a0d(0x2d5)](_0x2e75e9,_0x4cf0b3,_0x3aba1d),_0x3dce0e=_0x47a8a8['getDataFieldManager'](_0x214cc4)[_0x300a0d(0x15f)]();_0x47a8a8[_0x300a0d(0x2bd)](_0x2e75e9,_0x4cf0b3,_0x635b2f[_0x300a0d(0x28e)],_0x3aba1d,_0x4a407c,_0x4474d4,_0x3dce0e,!0x0);}}return this[_0x300a0d(0x3ec)](_0x2e75e9,_0x4cf0b3,_0x3aba1d);}});}[_0x34d75b(0x1a8)](_0x5be6ff,_0x1c50b3,_0x2763b1){var _0x31682b,_0x4a579d;const {arrayFormulaCellData:_0x142d14,unitData:_0x55e950}=_0x2763b1,_0x544375=(_0x31682b=_0x142d14==null?void 0x0:_0x142d14[_0x5be6ff])==null?void 0x0:_0x31682b[_0x1c50b3],_0x377907=(_0x4a579d=_0x55e950==null?void 0x0:_0x55e950[_0x5be6ff])==null?void 0x0:_0x4a579d[_0x1c50b3];return{'arrayFormulaCellDataMatrix':_0x544375,'unitDataMatrix':_0x377907};}[_0x34d75b(0x3ec)](_0x4f054a,_0x2bcbde,_0x1e7147){const _0x2ece01=_0x34d75b,_0x509f3b=this[_0x2ece01(0x3e5)][_0x2ece01(0x3fe)](_0x4f054a,_0x2bcbde,_0x1e7147),_0x324df2=[],_0x450a5a=new _0x17cbc5[(_0x2ece01(0x1c4))]();if(_0x509f3b){const {rangeCache:_0x270a99,matrix:_0x134ba9,oldRangeCache:_0x5e39d3,oldMatrix:_0x49df1d}=_0x509f3b,_0x29fdcc=_0x59c4b0(_0x5e39d3),_0x28f5b5=_0x59c4b0(_0x270a99);_0x324df2['push'](..._0x28f5b5,..._0x29fdcc),_0x49df1d&&_0x5e39d3&&_0x29fdcc[_0x2ece01(0x3f0)](_0x3fffbc=>{const _0x3bea62=_0x2ece01;for(let _0x5b8a62=_0x3fffbc[_0x3bea62(0x191)];_0x5b8a62<=_0x3fffbc[_0x3bea62(0x273)];_0x5b8a62++)for(let _0x36928f=_0x3fffbc[_0x3bea62(0x33c)];_0x36928f<=_0x3fffbc[_0x3bea62(0x357)];_0x36928f++)_0x450a5a[_0x3bea62(0x1cc)](_0x5b8a62,_0x36928f);}),_0x134ba9&&_0x28f5b5&&_0x28f5b5[_0x2ece01(0x3f0)](_0x29f038=>{const _0x2c0f84=_0x2ece01;for(let _0x155071=_0x29f038[_0x2c0f84(0x191)];_0x155071<=_0x29f038[_0x2c0f84(0x273)];_0x155071++)for(let _0x4c501e=_0x29f038['startColumn'];_0x4c501e<=_0x29f038['endColumn'];_0x4c501e++)_0x450a5a[_0x2c0f84(0x370)](_0x155071,_0x4c501e,_0x134ba9[_0x2c0f84(0x3df)](_0x155071,_0x4c501e));});}const _0x383875={};return _0x383875[_0x4f054a]={[_0x2bcbde]:_0x27e10d(_0x324df2)},{'runtimeCellData':{[_0x4f054a]:{[_0x2bcbde]:_0x450a5a}},'dirtyRanges':_0x383875};}[_0x34d75b(0x2f3)](){}};_0x360ef9=_0x276725([_0x49df08(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f[_0x34d75b(0x13e)])),_0x49df08(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x488431[_0x34d75b(0x111)])),_0x49df08(0x2,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x275)])),_0x49df08(0x3,_0x17cbc5['Inject'](_0x488431['GlobalComputingStatusService'])),_0x49df08(0x4,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x309)]))],_0x360ef9);var _0x591e0e=Object[_0x34d75b(0x36d)],_0x60db6=(_0x545de9,_0x1e6223,_0x1485e8,_0x419e78)=>{const _0xacc47=_0x34d75b;for(var _0x47be90=_0x419e78>0x1?void 0x0:_0x419e78?_0x591e0e(_0x1e6223,_0x1485e8):_0x1e6223,_0x3f8caf=_0x545de9[_0xacc47(0x233)]-0x1,_0x854819;_0x3f8caf>=0x0;_0x3f8caf--)(_0x854819=_0x545de9[_0x3f8caf])&&(_0x47be90=_0x854819(_0x47be90)||_0x47be90);return _0x47be90;},_0x37486d=(_0x40e6e7,_0x2b5665)=>(_0xe279d1,_0x2e5826)=>_0x2b5665(_0xe279d1,_0x2e5826,_0x40e6e7);let _0x187d57=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x32ccd3,_0x2b2727,_0x3f8941,_0x80e180){const _0xf717a7=_0x34d75b;super(),_0x1658bd(this,'disposableCollection',new _0x17cbc5[(_0xf717a7(0x3ae))]()),(this['_univerInstanceService']=_0x32ccd3,this[_0xf717a7(0x185)]=_0x2b2727,this[_0xf717a7(0x392)]=_0x3f8941,this['_sheetsPivotTableConfigModel']=_0x80e180,this[_0xf717a7(0x175)]());}[_0x34d75b(0x175)](){const _0x54b948=_0x34d75b;this[_0x54b948(0x216)](this[_0x54b948(0x185)][_0x54b948(0x231)]({'getMutations':_0x2a2cff=>{const _0x2f6f29=_0x54b948;if(_0x2a2cff['id']===_0x57279f[_0x2f6f29(0x1f8)]['id']||_0x2a2cff['id']===_0x57279f[_0x2f6f29(0x203)]['id']){const _0x1ca927=[],_0x32101c=[],_0x382c98=this[_0x2f6f29(0x392)][_0x2f6f29(0x291)]()[_0x2f6f29(0x1be)](_0x1e3fd5=>_0x1e3fd5[_0x2f6f29(0x262)]),_0x22abeb=_0x57279f[_0x2f6f29(0x239)](this[_0x2f6f29(0x2e8)]);if(!_0x22abeb)return{'redos':[],'undos':[]};const {unitId:_0x920718,subUnitId:_0x12418a}=_0x22abeb,_0x2be312={},_0x31d3b5=this['_sheetsPivotTableConfigModel'][_0x2f6f29(0x408)](_0x920718,_0x12418a);if(_0x31d3b5!=null&&_0x31d3b5[_0x2f6f29(0x26c)])for(const [_0x258a89,_0x1756f0]of _0x31d3b5){const {unitId:_0x2e9b3e,subUnitId:_0x30e794,row:_0x4f23d0,col:_0x2e777c}=_0x1756f0[_0x2f6f29(0x183)];_0x2e9b3e===_0x22abeb[_0x2f6f29(0x167)]&&_0x30e794===_0x22abeb[_0x2f6f29(0x3c7)]&&(_0x2be312[_0x4f23d0+'-'+_0x2e777c]=_0x258a89);}return _0x382c98&&_0x22abeb&&_0x382c98[_0x2f6f29(0x3f0)](_0x12eba4=>{const _0x356501=_0x2f6f29;_0x17cbc5['Range'][_0x356501(0x2f2)](_0x12eba4,(_0x584bbe,_0x47a77c)=>{const _0x5745cf=_0x356501,_0x4232d9=_0x584bbe+'-'+_0x47a77c;if(_0x2be312[_0x4232d9]){const _0x454517=_0x2be312[_0x4232d9];_0x1ca927['push']({'id':_0x1bdf78['id'],'params':{'unitId':_0x920718,'subUnitId':_0x12418a,'pivotTableId':_0x454517}});const _0x1519f7=this[_0x5745cf(0x12d)]['getCollection'](_0x920718,_0x454517),_0x58e61b=this[_0x5745cf(0x12d)][_0x5745cf(0x2d5)](_0x920718,_0x12418a,_0x454517);_0x32101c['push']({'id':_0x5c5117['id'],'params':{'unitId':_0x920718,'subUnitId':_0x12418a,'pivotTableId':_0x454517,'pivotTableConfig':_0x58e61b,'collectionConfig':_0x1519f7}});}});}),{'redos':_0x1ca927,'undos':_0x32101c};}return{'redos':[],'undos':[]};}}));}};_0x187d57=_0x60db6([_0x37486d(0x0,_0x17cbc5[_0x34d75b(0x204)]),_0x37486d(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x57279f[_0x34d75b(0x1dd)])),_0x37486d(0x2,_0x17cbc5['Inject'](_0x57279f[_0x34d75b(0x106)])),_0x37486d(0x3,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f['SheetsPivotTableConfigModel']))],_0x187d57);var _0x544528=Object[_0x34d75b(0x36d)],_0x223d32=(_0xd8127d,_0x5a50cd,_0x2881a4,_0x9a3570)=>{const _0x3d262d=_0x34d75b;for(var _0x4d18fe=_0x9a3570>0x1?void 0x0:_0x9a3570?_0x544528(_0x5a50cd,_0x2881a4):_0x5a50cd,_0x20409c=_0xd8127d[_0x3d262d(0x233)]-0x1,_0x39f718;_0x20409c>=0x0;_0x20409c--)(_0x39f718=_0xd8127d[_0x20409c])&&(_0x4d18fe=_0x39f718(_0x4d18fe)||_0x4d18fe);return _0x4d18fe;},_0x45fa4f=(_0x2f1dbc,_0x15cc09)=>(_0x27d7c0,_0x55f756)=>_0x15cc09(_0x27d7c0,_0x55f756,_0x2f1dbc);let _0x409634=class extends _0x17cbc5['Disposable']{constructor(_0x4f9549,_0x1dc696,_0x4be70f,_0x2ab5b9,_0x4a08b7){const _0x490265=_0x34d75b;super(),this['_sheetInterceptorService']=_0x4f9549,this['_injector']=_0x1dc696,this[_0x490265(0x2e8)]=_0x4be70f,this[_0x490265(0x12d)]=_0x2ab5b9,this[_0x490265(0x12a)]=_0x4a08b7,this[_0x490265(0x32c)]();}[_0x34d75b(0x417)](_0x55ed31,_0x2c80c1,_0x406a8a){const _0x5b5e7f=_0x34d75b,{pageView:_0x87a386,cornerView:_0x2ba16b,rowView:_0x2d32d9,colView:_0x5a34ac,dataView:_0x4d4c83}=_0x2c80c1,_0x247d36=_0x55ed31;let _0x150277;if(_0x406a8a)_0x150277=[..._0x3622de(_0x247d36)];else{const _0xb5d998=_0x3688b6(_0x247d36,_0x87a386,!0x0),_0x407aa9=_0x87a386['lastRow']>=0x0?_0x87a386[_0x5b5e7f(0x15e)]+0x1:0x0,_0x2fe182=_0x2ba16b[_0x5b5e7f(0x104)],_0x30f47b=_0x2ba16b['colCount'],_0x2b63b6=_0xb5d998['length']>0x0?_0x3c0c8a:0x0,_0x36c666=_0x3688b6({'row':_0x247d36[_0x5b5e7f(0x2b4)]+_0x407aa9+_0x2b63b6,'col':_0x247d36[_0x5b5e7f(0x367)]},_0x2ba16b,!0x1,!0x1),_0x2e478e=_0x3688b6({'row':_0x247d36['row']+_0x407aa9+_0x2b63b6+_0x2fe182,'col':_0x247d36[_0x5b5e7f(0x367)]},_0x2d32d9,!0x1,!0x0),_0x2d8045=_0x3688b6({'row':_0x247d36[_0x5b5e7f(0x2b4)]+_0x407aa9+_0x2b63b6,'col':_0x247d36[_0x5b5e7f(0x367)]+_0x30f47b},_0x5a34ac,!0x1,!0x0),_0x877ea3=_0x3688b6({'row':_0x247d36[_0x5b5e7f(0x2b4)]+_0x407aa9+_0x2b63b6+_0x2fe182,'col':_0x247d36[_0x5b5e7f(0x367)]+_0x30f47b},_0x4d4c83,!0x1,!0x0);_0x150277=[..._0xb5d998,..._0x36c666,..._0x2e478e,..._0x2d8045,..._0x877ea3];}return _0x150277;}[_0x34d75b(0x32c)](){const _0x3865ef=_0x34d75b;this[_0x3865ef(0x216)](this[_0x3865ef(0x12a)][_0x3865ef(0x225)]['intercept'](this[_0x3865ef(0x12a)][_0x3865ef(0x225)][_0x3865ef(0x1c3)]()[_0x3865ef(0x3c1)],{'handler':(_0x49f5c4,_0x44496a)=>{const _0x59f268=_0x3865ef,{cellInfo:_0x2c7aa5,view:_0x54bfce,isEmpty:_0x420f02}=_0x44496a,_0x510a31=_0x2c7aa5,{unitId:_0x31c810,subUnitId:_0x4b2db8}=_0x510a31,_0x13d05c=this[_0x59f268(0x417)](_0x2c7aa5,_0x54bfce,_0x420f02),_0x3912e6=this['_sheetInterceptorService']['generateMutationsByRanges']({'unitId':_0x31c810,'subUnitId':_0x4b2db8,'ranges':_0x13d05c}),_0x5d449b=_0x496553(this[_0x59f268(0x264)],_0x31c810,_0x4b2db8,_0x13d05c);_0x5d449b[_0x59f268(0x1f3)]&&(_0x3912e6['redos'][_0x59f268(0x30f)](_0x5d449b['setRangeValueRedoMutation']),_0x3912e6['undos'][_0x59f268(0x30f)](_0x5d449b[_0x59f268(0x3b8)]));const _0x176225=this[_0x59f268(0x3a3)](_0x54bfce,_0x2c7aa5);return _0x3912e6[_0x59f268(0x109)][_0x59f268(0x30f)](..._0x176225[_0x59f268(0x109)]),_0x3912e6[_0x59f268(0x355)][_0x59f268(0x30f)](..._0x176225[_0x59f268(0x355)]),{'redos':_0x3912e6[_0x59f268(0x109)],'undos':_0x3912e6['undos']};}}));}[_0x34d75b(0x3a3)](_0x1d34bd,_0x2360fd){const _0x14df33=_0x34d75b,{col:_0x12065d,unitId:_0x8ffc94,subUnitId:_0x587bd2}=_0x2360fd,_0x20c9b9=[],_0x26ef31=[],_0xc51970=_0x57279f['getSheetCommandTarget'](this[_0x14df33(0x2e8)],{'unitId':_0x8ffc94,'subUnitId':_0x587bd2});if(!_0x2360fd||!_0x1d34bd||!_0xc51970)return{'undos':_0x26ef31,'redos':_0x20c9b9};const _0x27e4be=this['_sheetsPivotTableConfigModel'][_0x14df33(0x32b)](),{colView:_0x5cbcf7,dataView:_0x49a1b8,cornerView:_0x12ce1a,rowView:_0x37ef88,formatMap:_0x30b73f}=_0x1d34bd,_0x34802f=_0x3e0dce(_0x5cbcf7,_0x27e4be,!0x0,_0x30b73f),_0x4e4dc5=_0x3e0dce(_0x37ef88,_0x27e4be,!0x1,_0x30b73f),_0x280b0e=_0x466922(_0x49a1b8),_0x246fe6=_0x64a341(_0x12ce1a),{worksheet:_0x38185a}=_0xc51970;if(typeof window<'u'&&window[_0x14df33(0x1e4)]){const _0x4abe09=_0x386a90['getFontStyleString']({..._0x44466e[_0x14df33(0x23d)]}),_0x3e3e2d=_0x386a90['FontCache'][_0x14df33(0x393)](_0x34802f,_0x4abe09)[_0x14df33(0x324)]+0x10,_0x2c6ed5=_0x386a90[_0x14df33(0x36b)][_0x14df33(0x393)](_0x280b0e,_0x4abe09)[_0x14df33(0x324)],_0x54198a=Math[_0x14df33(0x363)](Math[_0x14df33(0x388)](_0x3e3e2d,_0x2c6ed5))+0x10,_0x4df40b=Math[_0x14df33(0x363)](_0x386a90[_0x14df33(0x36b)][_0x14df33(0x393)](_0x4e4dc5,_0x4abe09)['width']),_0x2fb41=Math[_0x14df33(0x363)](_0x386a90['FontCache'][_0x14df33(0x393)](_0x246fe6,_0x4abe09)['width']),_0x440424=Math['max'](_0x4df40b,_0x2fb41,0x28)+0xc,_0xc6f286=_0x5cbcf7[_0x14df33(0x113)]+_0x12ce1a[_0x14df33(0x113)],_0x23def5={},_0x4a3514={};for(let _0xf15644=_0x12065d;_0xf15644<_0x12065d+_0xc6f286;_0xf15644++){const _0x37e2ae=_0x38185a[_0x14df33(0x276)](_0xf15644);_0x23def5[_0xf15644]=_0x37e2ae,_0xf15644-_0x12065d<_0x12ce1a[_0x14df33(0x113)]?_0x4a3514[_0xf15644-_0x12065d]=_0x440424:_0x4a3514[_0xf15644-_0x12065d]=_0x54198a;}_0x20c9b9['push']({'id':_0x57279f[_0x14df33(0x3e3)]['id'],'params':{'subUnitId':_0x587bd2,'unitId':_0x8ffc94,'ranges':[{'startColumn':_0x12065d,'endColumn':_0x12065d+_0xc6f286-0x1,'startRow':0x0,'endRow':_0x38185a[_0x14df33(0x3d7)]()-0x1}],'colWidth':_0x4a3514}}),_0x26ef31['push']({'id':_0x57279f[_0x14df33(0x3e3)]['id'],'params':{'subUnitId':_0x587bd2,'unitId':_0x8ffc94,'ranges':[{'startColumn':_0x12065d,'endColumn':_0x12065d+_0xc6f286-0x1,'startRow':0x0,'endRow':_0x38185a[_0x14df33(0x3d7)]()-0x1}],'colWidth':_0x23def5}});}return{'undos':_0x26ef31,'redos':_0x20c9b9};}};_0x409634=_0x223d32([_0x45fa4f(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x57279f[_0x34d75b(0x1dd)])),_0x45fa4f(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x309)])),_0x45fa4f(0x2,_0x17cbc5['Inject'](_0x17cbc5[_0x34d75b(0x204)])),_0x45fa4f(0x3,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f['SheetsPivotTableConfigModel'])),_0x45fa4f(0x4,_0x17cbc5['Inject'](_0x1f106f[_0x34d75b(0x286)]))],_0x409634);var _0x21792d=Object[_0x34d75b(0x36d)],_0x3ede5f=(_0x3475c5,_0x5f19af,_0x451968,_0x21fa68)=>{const _0x4c2a41=_0x34d75b;for(var _0x5a1057=_0x21fa68>0x1?void 0x0:_0x21fa68?_0x21792d(_0x5f19af,_0x451968):_0x5f19af,_0x310dc6=_0x3475c5[_0x4c2a41(0x233)]-0x1,_0x3139c3;_0x310dc6>=0x0;_0x310dc6--)(_0x3139c3=_0x3475c5[_0x310dc6])&&(_0x5a1057=_0x3139c3(_0x5a1057)||_0x5a1057);return _0x5a1057;},_0x80701f=(_0x2062c5,_0x2d983e)=>(_0x358eac,_0x958bf7)=>_0x2d983e(_0x358eac,_0x958bf7,_0x2062c5);let _0xe66d5a=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x42a373,_0x2e17ca,_0xebd913,_0x102062,_0x3e8a2f,_0xe31f23,_0x3ed722){const _0x532103=_0x34d75b;super(),_0x1658bd(this,_0x532103(0x26e),new _0x17cbc5[(_0x532103(0x3ae))]()),(this['_injector']=_0x42a373,this[_0x532103(0x36e)]=_0x2e17ca,this[_0x532103(0x260)]=_0xebd913,this['_univerInstanceService']=_0x102062,this[_0x532103(0x12d)]=_0x3e8a2f,this[_0x532103(0x182)]=_0xe31f23,this[_0x532103(0x185)]=_0x3ed722,this[_0x532103(0x10e)]());}[_0x34d75b(0x10e)](){const _0xc36ad4=_0x34d75b,_0x219b03=(_0x561ea8,_0xa64176)=>{const _0x72bc23=_0x2082,_0x1f45cd=this[_0x72bc23(0x2e8)][_0x72bc23(0x1b8)](_0x17cbc5['UniverInstanceType'][_0x72bc23(0x1d2)]);if(!_0x1f45cd||!(_0x1f45cd==null?void 0x0:_0x1f45cd[_0x72bc23(0x13b)](_0xa64176)))return;this[_0x72bc23(0x26e)][_0x72bc23(0x2f3)]();const _0x27bb1b=_0x144b12=>this[_0x72bc23(0x171)](_0x144b12,_0x561ea8,_0xa64176),_0x340986=this[_0x72bc23(0x12d)][_0x72bc23(0x408)](_0x561ea8,_0xa64176);if(!(_0x340986!=null&&_0x340986[_0x72bc23(0x26c)]))return;Array[_0x72bc23(0x287)](_0x340986[_0x72bc23(0x3dc)]())[_0x72bc23(0x1be)](_0x58da88=>{const _0x33e8a9=_0x72bc23,{row:_0x139b79,col:_0x4c59bb}=_0x58da88[_0x33e8a9(0x183)];return _0x17cbc5[_0x33e8a9(0x1c9)](_0x139b79,_0x4c59bb);})[_0x72bc23(0x3f0)](_0x3b8ab6=>{const _0x4b382c=_0x72bc23;this[_0x4b382c(0x26e)][_0x4b382c(0x283)](this[_0x4b382c(0x36e)][_0x4b382c(0x252)](_0x3b8ab6,_0x27bb1b,_0x561ea8,_0xa64176));});},_0x1f0220=()=>{const _0x102d9b=_0x2082,_0xfd1e97=this[_0x102d9b(0x2e8)][_0x102d9b(0x1b8)](_0x17cbc5[_0x102d9b(0x1f1)][_0x102d9b(0x1d2)]);if(_0xfd1e97){const _0x5bfbc1=_0xfd1e97['getActiveSheet']();if(!_0x5bfbc1)return;_0x219b03(_0xfd1e97[_0x102d9b(0x330)](),_0x5bfbc1[_0x102d9b(0x18f)]());}};this[_0xc36ad4(0x216)](this['_commandService'][_0xc36ad4(0x2c4)](_0x410198=>{const _0x30744b=_0xc36ad4;if(_0x410198['id']===_0x57279f[_0x30744b(0x33f)]['id']){const _0xef6a3d=_0x410198[_0x30744b(0x331)],_0x168feb=_0xef6a3d[_0x30744b(0x3c7)],_0x1c6180=_0xef6a3d['unitId'];if(!_0x168feb||!_0x1c6180)return;_0x219b03(_0x1c6180,_0x168feb);}})),this[_0xc36ad4(0x216)](this[_0xc36ad4(0x12d)][_0xc36ad4(0x398)][_0xc36ad4(0x205)](_0x32f81e=>{_0x32f81e&&_0x1f0220();})),this[_0xc36ad4(0x216)](this[_0xc36ad4(0x12d)][_0xc36ad4(0x194)][_0xc36ad4(0x205)](_0x154ef0=>{const _0x502835=_0xc36ad4,_0x30b599=_0x57279f[_0x502835(0x239)](this[_0x502835(0x2e8)]);if(!_0x30b599)return;const {unitId:_0x206ebe,subUnitId:_0x3c63f4}=_0x30b599,{unitId:_0x1e19c8,subUnitId:_0xbc07}=_0x154ef0;_0x206ebe!==_0x1e19c8||_0x3c63f4!==_0xbc07||_0x219b03(_0x206ebe,_0x3c63f4);})),_0x1f0220();}[_0x34d75b(0x171)](_0x2fce8c,_0x1516e1,_0x44e639){const _0x32c342=_0x34d75b;switch(_0x2fce8c['id']){case _0x57279f[_0x32c342(0x184)]['id']:return this['getRefRangeMutationsByMoveRange'](_0x2fce8c[_0x32c342(0x331)],_0x1516e1,_0x44e639);}return{'redos':[],'undos':[]};}[_0x34d75b(0x294)](_0x2fb42b,_0x34123c,_0x13e713){const _0x129a1f=_0x34d75b,{fromRange:_0x2ca18f,toRange:_0x69dba0}=_0x2fb42b,_0x3341e5=[],_0x4ccdf1=[],_0x5cb134=_0x57279f[_0x129a1f(0x239)](this['_univerInstanceService']);if(!_0x5cb134)return{'undos':_0x4ccdf1,'redos':_0x3341e5};if(_0x34123c!==_0x5cb134['unitId']||_0x13e713!==_0x5cb134[_0x129a1f(0x3c7)])return{'undos':_0x4ccdf1,'redos':_0x3341e5};const _0x4e9977=this[_0x129a1f(0x12d)][_0x129a1f(0x408)](_0x34123c,_0x13e713);if(_0x4e9977!=null&&_0x4e9977[_0x129a1f(0x26c)])for(const [_0x124949,_0x4d4c1]of _0x4e9977){const {unitId:_0x51eb45,subUnitId:_0x59c205,row:_0x4560bf,col:_0x19e6f4}=_0x4d4c1[_0x129a1f(0x183)];if(_0x51eb45===_0x5cb134[_0x129a1f(0x167)]&&_0x59c205===_0x5cb134[_0x129a1f(0x3c7)]){const _0x32be76=_0x17cbc5[_0x129a1f(0x1c9)](_0x4560bf,_0x19e6f4);if(_0x17cbc5[_0x129a1f(0x2db)][_0x129a1f(0x270)](_0x32be76,_0x2ca18f)){const _0x16e1f8=_0x4560bf-_0x2ca18f[_0x129a1f(0x191)],_0x1addc2=_0x19e6f4-_0x2ca18f[_0x129a1f(0x33c)],_0x4bc871={'row':_0x69dba0[_0x129a1f(0x191)]+_0x16e1f8,'col':_0x69dba0['startColumn']+_0x1addc2};_0x3341e5[_0x129a1f(0x30f)]({'id':_0x288175['id'],'params':{'unitId':_0x51eb45,'subUnitId':_0x59c205,'pivotTableId':_0x124949,'targetCellPosition':_0x4bc871}}),_0x4ccdf1[_0x129a1f(0x30f)]({'id':_0x288175['id'],'params':{'unitId':_0x51eb45,'subUnitId':_0x59c205,'pivotTableId':_0x124949,'targetCellPosition':{'row':_0x4560bf,'col':_0x19e6f4}}});const _0x23c5cf=_0x4bc871['row']-_0x4560bf,_0x5cf8ec=_0x4bc871[_0x129a1f(0x367)]-_0x19e6f4,_0x403cfe=[],_0x5b6f44=this[_0x129a1f(0x182)][_0x129a1f(0x3eb)](_0x51eb45,_0x59c205,_0x124949),_0x17b3d7=_0x5b6f44==null?void 0x0:_0x5b6f44[_0x129a1f(0x14d)];if(_0x17b3d7){Object[_0x129a1f(0x2ec)](_0x17b3d7)[_0x129a1f(0x3f0)](_0x2cfb47=>{const _0x5a5e0b=_0x129a1f;_0x17b3d7[_0x2cfb47][_0x5a5e0b(0x3f0)](_0x3ddb94=>{const _0x5372c9=_0x5a5e0b,_0x5c0ffc={..._0x3ddb94};_0x5c0ffc[_0x5372c9(0x191)]=_0x3ddb94['startRow']+_0x23c5cf,_0x5c0ffc['endRow']=_0x3ddb94[_0x5372c9(0x273)]+_0x23c5cf,_0x5c0ffc['startColumn']=_0x3ddb94[_0x5372c9(0x33c)]+_0x5cf8ec,_0x5c0ffc['endColumn']=_0x3ddb94[_0x5372c9(0x357)]+_0x5cf8ec,_0x403cfe[_0x5372c9(0x30f)](_0x5c0ffc);});});const _0xaee10f=this[_0x129a1f(0x185)][_0x129a1f(0x2d2)]({'unitId':_0x51eb45,'subUnitId':_0x59c205,'ranges':_0x403cfe});_0x3341e5[_0x129a1f(0x30f)](..._0xaee10f[_0x129a1f(0x109)]),_0x4ccdf1[_0x129a1f(0x30f)](..._0xaee10f['undos']);const _0x3a4f9b=_0x496553(this[_0x129a1f(0x264)],_0x51eb45,_0x59c205,_0x403cfe);_0x3a4f9b[_0x129a1f(0x1f3)]&&(_0x3341e5['push'](_0x3a4f9b[_0x129a1f(0x173)]),_0x4ccdf1[_0x129a1f(0x30f)](_0x3a4f9b['setRangeValueUndoMutation']));}}}}return{'redos':_0x3341e5,'undos':_0x4ccdf1};}};_0xe66d5a=_0x3ede5f([_0x80701f(0x0,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x309)])),_0x80701f(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x57279f[_0x34d75b(0x145)])),_0x80701f(0x2,_0x17cbc5[_0x34d75b(0x275)]),_0x80701f(0x3,_0x17cbc5[_0x34d75b(0x204)]),_0x80701f(0x4,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f[_0x34d75b(0x20e)])),_0x80701f(0x5,_0x17cbc5['Inject'](_0x1f106f['SheetsPivotTableAdaptorModel'])),_0x80701f(0x6,_0x17cbc5['Inject'](_0x57279f['SheetInterceptorService']))],_0xe66d5a);var _0x3d7f4e=Object[_0x34d75b(0x36d)],_0x39936e=(_0x15ea76,_0x52e3bb,_0x483d94,_0x16df77)=>{const _0x4e1472=_0x34d75b;for(var _0x3c5cbc=_0x16df77>0x1?void 0x0:_0x16df77?_0x3d7f4e(_0x52e3bb,_0x483d94):_0x52e3bb,_0x5d71d0=_0x15ea76[_0x4e1472(0x233)]-0x1,_0x46d99b;_0x5d71d0>=0x0;_0x5d71d0--)(_0x46d99b=_0x15ea76[_0x5d71d0])&&(_0x3c5cbc=_0x46d99b(_0x3c5cbc)||_0x3c5cbc);return _0x3c5cbc;},_0x5e3972=(_0xbcc8af,_0x16d746)=>(_0x5a596e,_0x510ad5)=>_0x16d746(_0x5a596e,_0x510ad5,_0xbcc8af);let _0x24f8db=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x48376e,_0x48f0ec){const _0x26e3e3=_0x34d75b;super(),this[_0x26e3e3(0x185)]=_0x48376e,this['_sheetsPivotTableConfigModel']=_0x48f0ec,this[_0x26e3e3(0x2b9)]();}[_0x34d75b(0x2b9)](){const _0x20b7cc=_0x34d75b;this[_0x20b7cc(0x216)](this[_0x20b7cc(0x185)]['interceptCommand']({'getMutations':_0x8146d1=>{const _0x4147a1=_0x20b7cc;if(_0x8146d1['id']===_0x57279f[_0x4147a1(0x174)]['id']){const _0x3fb898=[],_0x524fea=[],_0x58c450=_0x8146d1[_0x4147a1(0x331)],{unitId:_0x1888c9,subUnitId:_0x35e016}=_0x58c450;if(!_0x1888c9||!_0x35e016)return{'undos':_0x524fea,'redos':_0x3fb898};const _0x199e21=this[_0x4147a1(0x12d)][_0x4147a1(0x408)](_0x1888c9,_0x35e016);if(_0x199e21!=null&&_0x199e21[_0x4147a1(0x26c)])for(const [_0x2d27f7,_0x2c8e06]of _0x199e21){_0x3fb898[_0x4147a1(0x30f)]({'id':_0x1bdf78['id'],'params':{'unitId':_0x1888c9,'subUnitId':_0x35e016,'pivotTableId':_0x2d27f7}});const _0x2f2d06={...this[_0x4147a1(0x12d)]['getCollection'](_0x1888c9,_0x2d27f7)};_0x524fea['push']({'id':_0x5c5117['id'],'params':{'unitId':_0x1888c9,'subUnitId':_0x35e016,'pivotTableId':_0x2d27f7,'pivotTableConfig':_0x2c8e06,'collectionConfig':_0x2f2d06}});}return{'redos':_0x3fb898,'undos':_0x524fea};}return{'redos':[],'undos':[]};}}));}};_0x24f8db=_0x39936e([_0x5e3972(0x0,_0x17cbc5['Inject'](_0x57279f[_0x34d75b(0x1dd)])),_0x5e3972(0x1,_0x17cbc5['Inject'](_0x1f106f['SheetsPivotTableConfigModel']))],_0x24f8db);var _0x325781=Object[_0x34d75b(0x36d)],_0x316c71=(_0x1fe9ac,_0x14f135,_0x52d8fb,_0x324d8a)=>{for(var _0x5c2be0=_0x324d8a>0x1?void 0x0:_0x324d8a?_0x325781(_0x14f135,_0x52d8fb):_0x14f135,_0x1749a3=_0x1fe9ac['length']-0x1,_0x226b61;_0x1749a3>=0x0;_0x1749a3--)(_0x226b61=_0x1fe9ac[_0x1749a3])&&(_0x5c2be0=_0x226b61(_0x5c2be0)||_0x5c2be0);return _0x5c2be0;},_0x391c5f=(_0x4e00db,_0xca429f)=>(_0x29216b,_0xb62a3b)=>_0xca429f(_0x29216b,_0xb62a3b,_0x4e00db);let _0x24e2af=class extends _0x17cbc5[_0x34d75b(0x130)]{constructor(_0x316b8b,_0x112080,_0x17d4e3,_0x5bbbe0,_0x49ca25,_0x4beb85){const _0x5a56f3=_0x34d75b;super(),this[_0x5a56f3(0x260)]=_0x316b8b,this[_0x5a56f3(0x2c8)]=_0x112080,this[_0x5a56f3(0x182)]=_0x17d4e3,this['_sheetsPivotTableConfigModel']=_0x5bbbe0,this['_univerInstanceService']=_0x49ca25,this['_activeDirtyManagerService']=_0x4beb85,this[_0x5a56f3(0x42c)](),this['registerDirtyService']();}[_0x34d75b(0x42c)](){const _0x5840a4=_0x34d75b;this[_0x5840a4(0x216)](this[_0x5840a4(0x260)][_0x5840a4(0x2c4)](_0x533e35=>{const _0x34e078=_0x5840a4;if(_0x533e35['id']!==_0x148b12['id'])return;const _0x392b3c=_0x533e35[_0x34e078(0x331)];this[_0x34e078(0x2c8)][_0x34e078(0x3c5)](_0x392b3c);})),this[_0x5840a4(0x216)](this[_0x5840a4(0x260)][_0x5840a4(0x2c4)](_0x345d82=>{const _0x23d5ea=_0x5840a4;if(_0x345d82['id']===_0x4d6137['id']){const _0x5489f5=_0x345d82[_0x23d5ea(0x331)];if(_0x5489f5){const {unitId:_0xa69aae,subUnitId:_0x1d5008,oldSubUnitId:_0x6355fe,pivotTableId:_0x595d90,pivotTableConfig:_0x56bc65,collectionConfig:_0x3d3b3a}=_0x5489f5;this['_sheetsPivotTableConfigModel']['updateConfigCache'](_0xa69aae,_0x6355fe,_0x5489f5['pivotTableId'],null),this[_0x23d5ea(0x12d)][_0x23d5ea(0x1dc)](_0xa69aae,_0x1d5008,_0x595d90,_0x56bc65),this['_sheetsPivotTableConfigModel']['updateCollectionConfig'](_0xa69aae,_0x3d3b3a);}}})),this[_0x5840a4(0x216)](this[_0x5840a4(0x260)][_0x5840a4(0x2c4)](_0x455608=>{const _0x391f80=_0x5840a4;if(_0x455608['id']!==_0x1f2b5f['id'])return;const _0x47651a=_0x57279f[_0x391f80(0x239)](this['_univerInstanceService']);if(!_0x47651a)return;const {unitId:_0x18a9e8,subUnitId:_0x535e75}=_0x47651a,_0x2930bd=_0x455608[_0x391f80(0x331)];if(_0x2930bd[_0x391f80(0x1d3)]&&Object['keys'](_0x2930bd[_0x391f80(0x1d3)])[_0x391f80(0x3f0)](_0x2eba56=>{const _0x5514fb=_0x391f80;var _0x3b6314;(_0x3b6314=_0x2930bd[_0x5514fb(0x1d3)])!=null&&_0x3b6314[_0x2eba56]&&this[_0x5514fb(0x12d)][_0x5514fb(0x2f9)](_0x2eba56,_0x2930bd[_0x5514fb(0x1d3)][_0x2eba56]);}),_0x2930bd[_0x391f80(0x13c)]){const _0x2f5fdd=_0x2930bd[_0x391f80(0x13c)],{unitId:_0x261b47,subUnitId:_0x417ee8,view:_0x58be14,pivotTableId:_0x30bfbc,type:_0x3094f7,pivotConfig:_0x3c05c7}=_0x2f5fdd;if(_0x3094f7===_0x635b2f[_0x391f80(0x24e)])this[_0x391f80(0x182)][_0x391f80(0x289)]({'unitId':_0x261b47,'subUnitId':_0x417ee8,'pivotTableId':_0x30bfbc,'type':_0x3094f7}),this[_0x391f80(0x12d)][_0x391f80(0x1dc)](_0x261b47,_0x417ee8,_0x30bfbc,null);else{const _0x2c839d=new _0x4c0fcb[(_0x391f80(0x29d))]();_0x2c839d['formJSON'](_0x58be14),this['_sheetsPivotTableConfigModel'][_0x391f80(0x1dc)](_0x261b47,_0x417ee8,_0x30bfbc,_0x3c05c7),this[_0x391f80(0x182)][_0x391f80(0x289)]({'unitId':_0x261b47,'subUnitId':_0x417ee8,'pivotTableId':_0x30bfbc,'type':_0x3094f7,'view':_0x2c839d}),this[_0x391f80(0x182)][_0x391f80(0x2d0)]({'unitId':_0x261b47,'subUnitId':_0x417ee8,'view':_0x2c839d,'pivotTableId':_0x30bfbc,'type':_0x3094f7});}}else _0x2930bd[_0x391f80(0x306)]&&(_0x2930bd[_0x391f80(0x306)]['forEach'](_0x210d43=>{const _0x11c24b=_0x391f80,{unitId:_0x2dfd0f,subUnitId:_0x388915,view:_0x24db27,pivotTableId:_0x142c75,type:_0x200f83,pivotConfig:_0x3b38a4}=_0x210d43,_0x2cecec=new _0x4c0fcb[(_0x11c24b(0x29d))]();_0x2cecec[_0x11c24b(0x18b)](_0x24db27),this[_0x11c24b(0x12d)][_0x11c24b(0x1dc)](_0x2dfd0f,_0x388915,_0x142c75,_0x3b38a4),this[_0x11c24b(0x182)][_0x11c24b(0x2d0)]({'unitId':_0x2dfd0f,'subUnitId':_0x388915,'view':_0x2cecec,'pivotTableId':_0x142c75,'type':_0x200f83});}),this['_sheetsPivotTableConfigModel']['setPivotInitCompleted']());this[_0x391f80(0x182)][_0x391f80(0x1ae)](_0x18a9e8,_0x535e75);}));}[_0x34d75b(0x3c6)](){const _0x5a160e=_0x34d75b;this[_0x5a160e(0x19c)][_0x5a160e(0x32f)](_0x529f83['id'],{'commandId':_0x529f83['id'],'getDirtyData'(_0x4c5345){const _0x1f75e0=_0x5a160e;return{'dirtyUnitFeatureMap':_0x4c5345[_0x1f75e0(0x331)]};}});}};_0x24e2af=_0x316c71([_0x391c5f(0x0,_0x17cbc5['Inject'](_0x17cbc5['ICommandService'])),_0x391c5f(0x1,_0x17cbc5['Inject'](_0x1f106f['SheetsPivotRPCService'])),_0x391c5f(0x2,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f[_0x34d75b(0x2ae)])),_0x391c5f(0x3,_0x17cbc5[_0x34d75b(0x15d)](_0x1f106f[_0x34d75b(0x20e)])),_0x391c5f(0x4,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5['IUniverInstanceService'])),_0x391c5f(0x5,_0x488431[_0x34d75b(0x1d9)])],_0x24e2af);var _0x125d72=Object[_0x34d75b(0x29c)],_0x4bd505=Object[_0x34d75b(0x36d)],_0x273885=(_0x339831,_0x57491c,_0x343948)=>_0x57491c in _0x339831?_0x125d72(_0x339831,_0x57491c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x343948}):_0x339831[_0x57491c]=_0x343948,_0x4094a7=(_0x560306,_0x50e6f8,_0x438ab7,_0x2858e8)=>{for(var _0x4cbfc1=_0x2858e8>0x1?void 0x0:_0x2858e8?_0x4bd505(_0x50e6f8,_0x438ab7):_0x50e6f8,_0x5ddfd4=_0x560306['length']-0x1,_0x45af30;_0x5ddfd4>=0x0;_0x5ddfd4--)(_0x45af30=_0x560306[_0x5ddfd4])&&(_0x4cbfc1=_0x45af30(_0x4cbfc1)||_0x4cbfc1);return _0x4cbfc1;},_0x2afad3=(_0x115ebb,_0x422964)=>(_0x274b9e,_0xa55b32)=>_0x422964(_0x274b9e,_0xa55b32,_0x115ebb),_0x439383=(_0x52eafc,_0xe366a6,_0x4849ec)=>_0x273885(_0x52eafc,typeof _0xe366a6!=_0x34d75b(0x19f)?_0xe366a6+'':_0xe366a6,_0x4849ec);_0x1f106f[_0x34d75b(0x207)]=class extends _0x17cbc5['Plugin']{constructor(_0x5962be=_0x7cd8ec,_0x5a5d81,_0x37f083,_0x1d613b,_0x4a438b){const _0x5f11b0=_0x34d75b;super(),this[_0x5f11b0(0x18a)]=_0x5962be,this[_0x5f11b0(0x264)]=_0x5a5d81,this[_0x5f11b0(0x260)]=_0x37f083,this['_configService']=_0x1d613b,this['_dataSyncPrimaryController']=_0x4a438b;const {..._0x5b77ac}=_0x17cbc5['merge']({},_0x7cd8ec,this[_0x5f11b0(0x18a)]);this[_0x5f11b0(0x31b)][_0x5f11b0(0x33d)](_0x459d4f,_0x5b77ac),this['_initRegisterCommand'](),this['_initConfig']();}[_0x34d75b(0x2c0)](){const _0x3908ea=_0x34d75b;var _0x585358;const _0x40dfae=(_0x585358=this[_0x3908ea(0x18a)])==null?void 0x0:_0x585358['notExecuteFormula'];this[_0x3908ea(0x31b)][_0x3908ea(0x33d)](_0x20ad14,_0x40dfae===!0x0);}['onStarting'](){const _0x46aa77=_0x34d75b;var _0x127573;let _0x2b626f=[];const _0x13253a=(_0x127573=this[_0x46aa77(0x18a)])==null?void 0x0:_0x127573[_0x46aa77(0x321)];_0x13253a===!0x0?_0x2b626f=[[_0x1f106f['SheetsPivotTableService']],[_0x1f106f['SheetsPivotRPCService']],[_0x24e2af],[_0x1f106f[_0x46aa77(0x2ae)]],[_0x1f106f[_0x46aa77(0x20e)]],[_0x24f8db],[_0x187d57],[_0xe66d5a],[_0x409634]]:_0x13253a===!0x1?_0x2b626f=[[_0x1f106f['SheetsPivotDataSourceModel']],[_0x360ef9]]:_0x13253a===void 0x0&&(_0x2b626f=[[_0x1f106f['SheetsPivotDataSourceModel']],[_0x360ef9],[_0x1f106f[_0x46aa77(0x286)]],[_0x1f106f[_0x46aa77(0x391)]],[_0x24e2af],[_0x1f106f[_0x46aa77(0x2ae)]],[_0x1f106f[_0x46aa77(0x20e)]],[_0x24f8db],[_0x187d57],[_0xe66d5a],[_0x409634]]),_0x2b626f['forEach'](_0x103e5e=>this[_0x46aa77(0x264)][_0x46aa77(0x283)](_0x103e5e)),[_0x360ef9,_0x24e2af,_0x1f106f[_0x46aa77(0x286)],_0x187d57,_0x24f8db,_0xe66d5a,_0x409634][_0x46aa77(0x3f0)](_0x25c49a=>{const _0x386a7f=_0x46aa77;this[_0x386a7f(0x264)][_0x386a7f(0x210)](_0x25c49a)&&this['_injector']['get'](_0x25c49a);});}[_0x34d75b(0x128)](){const _0xb6ef14=_0x34d75b;[_0x34dbf8,_0x2f027f,_0xc9e5bb,_0x991412,_0x52970b,_0x4d982b,_0x89676d,_0x4ffb0b,_0x14bcd0,_0xcba1e0,_0x22f3e9,_0x153daa,_0x477a7f,_0x3be990,_0x5c5117,_0x29f2e5,_0x1bdf78,_0x51496b,_0x2f871f,_0x566a76,_0x5a3917,_0x4ee1fb,_0x3df181,_0x45a8d1,_0x3940a4,_0x8f757f,_0x288175,_0x373f83,_0x148b12,_0x1f2b5f,_0x282678,_0x4fa6ea,_0x553c35,_0x2cf5c1,_0x1eb569,_0x1605eb,_0x39a047,_0x529f83,_0x4d6137,_0x244e7f,_0x45dae9,_0xcfd43a,_0x55b4e2][_0xb6ef14(0x3f0)](_0x3c195f=>{const _0x1bfedf=_0xb6ef14;var _0x3bb60e;(_0x3bb60e=this[_0x1bfedf(0x30c)])==null||_0x3bb60e[_0x1bfedf(0x272)](_0x3c195f),this[_0x1bfedf(0x260)][_0x1bfedf(0x343)](_0x3c195f);});}},_0x439383(_0x1f106f[_0x34d75b(0x207)],_0x34d75b(0x3a1),_0x3f2959),_0x439383(_0x1f106f[_0x34d75b(0x207)],_0x34d75b(0x3e6),_0x17cbc5[_0x34d75b(0x1f1)][_0x34d75b(0x1d2)]),_0x1f106f[_0x34d75b(0x207)]=_0x4094a7([_0x17cbc5[_0x34d75b(0x16b)](_0x5e3b4f[_0x34d75b(0x22b)]),_0x2afad3(0x1,_0x17cbc5[_0x34d75b(0x15d)](_0x17cbc5[_0x34d75b(0x309)])),_0x2afad3(0x2,_0x17cbc5['Inject'](_0x17cbc5[_0x34d75b(0x275)])),_0x2afad3(0x3,_0x17cbc5[_0x34d75b(0x234)]),_0x2afad3(0x4,_0x17cbc5[_0x34d75b(0x122)](_0x231bbd['DataSyncPrimaryController']))],_0x1f106f[_0x34d75b(0x207)]),_0x1f106f['AddPivotFieldCommand']=_0xc9e5bb,_0x1f106f[_0x34d75b(0x325)]=_0x51496b,_0x1f106f['AddPivotTableCommand']=_0x2f027f,_0x1f106f[_0x34d75b(0x1e0)]=_0x5c5117,_0x1f106f[_0x34d75b(0x41f)]=_0x34dbf8,_0x1f106f[_0x34d75b(0x2ba)]=_0x3c0c8a,_0x1f106f[_0x34d75b(0x3e7)]=_0x558300,_0x1f106f[_0x34d75b(0x2fb)]=_0x991412,_0x1f106f[_0x34d75b(0x1bf)]=_0x477a7f,_0x1f106f['PivotDisplayDataType']=_0x5559df,_0x1f106f[_0x34d75b(0x2a8)]=_0x3be990,_0x1f106f[_0x34d75b(0x3dd)]=_0x635b2f,_0x1f106f[_0x34d75b(0x1db)]=_0x529f83,_0x1f106f['PositionType']=_0x47f0e2,_0x1f106f[_0x34d75b(0x2b3)]=_0x52970b,_0x1f106f[_0x34d75b(0x14c)]=_0x4ee1fb,_0x1f106f[_0x34d75b(0x190)]=_0x1bdf78,_0x1f106f[_0x34d75b(0x19e)]=_0x3df181,_0x1f106f[_0x34d75b(0x192)]=_0x55b4e2,_0x1f106f['SHEETS_PIVOT_PLUGIN_CONFIG_KEY']=_0x459d4f,_0x1f106f[_0x34d75b(0x318)]=_0x3f2959,_0x1f106f['SetPivotCollapseCommand']=_0x4ffb0b,_0x1f106f[_0x34d75b(0x114)]=_0x45a8d1,_0x1f106f[_0x34d75b(0x1ee)]=_0x2cf5c1,_0x1f106f[_0x34d75b(0x1d6)]=_0xcfd43a,_0x1f106f['SetPivotFilterCommand']=_0xcba1e0,_0x1f106f[_0x34d75b(0x1c5)]=_0x5a3917,_0x1f106f[_0x34d75b(0x1b1)]=_0x8f757f,_0x1f106f['SetPivotPositionMutation']=_0x288175,_0x1f106f['SetPivotSortCommand']=_0x14bcd0,_0x1f106f[_0x34d75b(0x32e)]=_0x3940a4,_0x1f106f[_0x34d75b(0x332)]=_0x553c35,_0x1f106f[_0x34d75b(0x28a)]=_0x244e7f,_0x1f106f[_0x34d75b(0x3da)]=_0x45dae9,_0x1f106f[_0x34d75b(0x220)]=_0x89676d,_0x1f106f[_0x34d75b(0x312)]=_0x282678,_0x1f106f['UpdatePivotFieldSettingCommand']=_0x22f3e9,_0x1f106f[_0x34d75b(0x243)]=_0x39a047,_0x1f106f[_0x34d75b(0x41a)]=_0x153daa,_0x1f106f[_0x34d75b(0x1bb)]=_0x1605eb,_0x1f106f[_0x34d75b(0x415)]=_0x4d982b,_0x1f106f[_0x34d75b(0x1fa)]=_0x4fa6ea,_0x1f106f['applyChangeSet']=_0x5e1c02,_0x1f106f[_0x34d75b(0x307)]=_0x510277,_0x1f106f[_0x34d75b(0x323)]=_0x44466e,_0x1f106f[_0x34d75b(0x1c7)]=_0x496553,_0x1f106f['getAdjustRangesPosition']=_0x3688b6,_0x1f106f[_0x34d75b(0x348)]=_0x3622de,_0x1f106f[_0x34d75b(0x211)]=_0x54c74c,_0x1f106f[_0x34d75b(0x2dc)]=_0xa15f20,_0x1f106f['getPivotCellInfo']=_0x5349b6,_0x1f106f['getPivotInfoByLicense']=_0x1f03e8,_0x1f106f[_0x34d75b(0x3b2)]=_0x13a315,_0x1f106f[_0x34d75b(0x39c)]=_0x54dc09,_0x1f106f[_0x34d75b(0x10d)]=_0x59c4b0,Object[_0x34d75b(0x29c)](_0x1f106f,Symbol['toStringTag'],{'value':_0x34d75b(0x299)});}));function _0x2082(_0x594327,_0x242648){const _0x1d7775=_0x1d77();return _0x2082=function(_0x208245,_0x2d0a0c){_0x208245=_0x208245-0x104;let _0x5e5cfa=_0x1d7775[_0x208245];return _0x5e5cfa;},_0x2082(_0x594327,_0x242648);}function _0x1d77(){const _0x5b06d2=['SetSortInfo','11702608oEKYGC','SetFieldFormat','PIVOT_MUTATION_GENERATE','SetCollapse','NORMAL','getCollection','handleAsyncResponse','registerDirtyService','subUnitId','addPivotField','setDisplayName','onQueryStart','fields','UniverProEnginePivot','AddPivotTable','sheet.mutation.send-pivot-view-local','initDataRanges','_collectionChange$','function','RANGE_TYPE','sheets-pivot.cellDateGroupDisplay.yearQuarter','sheets-pivot.stdDevName','format','measure','getRowCount','adjustSheetCellData','sheets-pivot.dateGroup.month','SetPivotValueFilterMutation','getAutoDisplayNameFunction','values','PivotTableOperationEnum','New','getValue','colInfo','InterceptorEffectEnum','PivotFilterTypeEnum','SetWorksheetColWidthMutation','paths','_sheetsPivotDataSourceModel','type','DEFAULT_PIVOT_NUMBER','sheets-pivot.dateGroup.yearMonthDate','getSheets','fieldsCollectionChange$','getPivotItemRenderInfoCache','getDirtyInfo','deepClone','getDisplayName','@univerjs/sheets','forEach','Filter','numfmt','getTypeOfUnitDisposed$','addFieldWithSourceId','getFilterInfo','_createExclusiveRange','setValuePivotFilter','getIntersects','lastCol','textInfo','addExclusiveRange','addPivotTable','LocaleService','getViewData','getFieldCountByArea','parseInt','SetValueFilter','UpdateFieldPosition','MIN_SAFE_INTEGER','updatePivotTableRangeInfo','fieldId','columnFields','Count\x20of\x20','getSubUnitPivotConfigs','ReleaseType','isDateValue','subtotal','Minute','SetPivotSetting','collection','updatePivotSource','iterateFieldByArea','number','setLabelFilterInfo','iterateFieldDim','sheet.mutation.set-pivot-option','UpdatePivotValuePositionCommand','getSubtotal','_getPivotAppliedRanges','sheet.operation.pivot-table-view-formula-mark-dirty','PivotMultipleValueId','UpdatePivotTableSourceRangeCommand','getPivotTableCellData','limit\x20pivot','fetchThroughInterceptors','min','AddPivotTableWithConfigCommand','getColumnCount','dataStream','setFieldFormat','RemoveColMutation','sortInfo','sheet.mutation.send-pivot-config-local','registerCallbackWithEvent','RemovePivotField','setPivotCollapse','sheet.command.move-pivot-table','excelDateToUnixMilliseconds','#1d32e9','_initDataSendListener','YearMonthDate','generateNullCell','get','movePivotField','varp','rowCount','subTotalStyle','SheetsSelectionsService','tableFieldId','sheet.mutation.update-date-group','redos','resetPivotTable','UniverEngineRender','COMMAND','unionPivotViewRange','_onRefRangeChange','#FFFFFF','sheet.mutation.add-group-collection','IFeatureCalculationManagerService','sheet.command.add-pivot-table-with-config','colCount','SetPivotCollapseMutation','Tools','pivotMutationGenerate','Column\x20','pageStyle','_queryingMap','startCollectChangeset','UniverCore','existing','workbook\x20is\x20not\x20found','info','rowRanges','pbt','replace','Optional','handleSourceRangeChange','_updateRenderEmptyCache','getCellMatrix','unshift','REF','_initRegisterCommand','AddField','_sheetsPivotTableService','removeValueFilterInfo','getOriginFieldId','_sheetsPivotTableConfigModel','createAsyncInterceptorKey','var','Disposable','bind','MoveRangeMutation','SetPivotFilter','_globalComputedEndHelpFunc','isPrefixValue','viewUpdate$','UpdatePivotSource','message','Panel','cornerRanges','getSheetBySheetId','single','sheets-pivot.dateGroup.minute','SheetsPivotDataSourceModel','_model','PivotTableChangeTypeEnum','3345552YeIieA','_exclusiveRangeService','SetPivotCollapse','getPivotTableRangeInfo','RefRangeService','getUnit','sheets-pivot.subTotal','setName','PivotErrorTypeEnum','DEFAULT_WORKSHEET_ROW_COUNT','rowFields','RemovePivotFieldMutation','rangesInfo','contains','getMatrixValue','RemoveRowMutation','addDataFieldWithoutUnitInfo','random','Subtotal','sheet.command.pivot-drill-down','versions','AddPivotField','ptn','sheet.mutation.remove-group-collection','BadReference','getLastRow','Max\x20of\x20','toString','Inject','lastRow','toJSON','sheets-pivot.countName','result','sheetName','SetPivotTableConfig','_initPivotTextInfo','updateDirtyPivotTable','_subjectCollectionChange','unitId','AddPivotTableWithConfig','fromJSON','@univerjs/rpc','DependentOn','MUTATION','remove','UpdateValuePosition','4216352WaVbVV','find','_refRangeHandle','getPivotTableMatrixInfo','setRangeValueRedoMutation','RemoveSheetCommand','_initClearSelectionCommandInterceptor','sheet.mutation.add-pivot-table','sheets-pivot.cellDateGroupDisplay.hour','getDataFieldByRangeKey','getPivotTableInstance','NAME','sheet.command.remove-pivot-field','leafStyle','sheet.mutation.send-init-pivot-text-local','onQueryEnd','Quarter','concat','rangeKey','_sheetsPivotTableAdaptorModel','targetCellInfo','MoveRangeCommand','_sheetInterceptorService','_initLocale','_updateModelCache','BLANK_PLACEHOLDER','setSubtotalType','_config','formJSON','getName','blank','sheet.mutation.set-pivot-collapse','getSheetId','RemovePivotTableMutation','startRow','ResetPivotFieldsConfigCommand','generateHexNumber','pivotConfigChange$','sheet.command.set-pivot-sort','getRangeData','setPivotFilter','_dataFieldManagerCollection','sheet.command.set-pivot-value-filter','getConfig','dateType','_activeDirtyManagerService','addRecord','RenamePivotFieldMutation','symbol','@univerjs/engine-render','getLastCol','exports','getDataFieldManager','query','getMonth','PivotDataFieldDataTypeEnum','getAutoDisplayName','getMatrixFromRunTimeData','Average\x20of\x20','addDirtyPivotTable','sheets-pivot.emptyPivot.filter','string','clearExclusiveRangesByGroupId','markDirty','sheet.mutation.send-pivot-data-local','dataRangeInfo','SetPivotOptionMutation','removeValueFilterInfoByValueFieldId','_viewUpdate$','dataFieldId','colHeaderMap','4935360OeTMnt','_globalSubject','getCurrentUnitForType','ΣValue','count','UpdatePivotTableSourceRangeMutation','Total','deleteUnitId','map','MovePivotTableCommand','Year','UniverSheetsFilter','createValueField','getInterceptPoints','ObjectMatrix','SetPivotFilterMutation','panel','generateSetRangeValueMutations','filterId','cellToRange','sheet.mutation.set-pivot-position','getSheetFeatureLimit','realDeleteValue','getSortInfo','isBottomTotal','getGroupFieldsInfoByIds','Value','Style','UNIVER_SHEET','collectionConfig','areaInfo','sheet.mutation.remove-pivot-field','SetPivotFieldsConfigCommand','asObservable','setTextInfo','IActiveDirtyManagerService','Min\x20of\x20','PivotTableViewDirtyMarkOperation','updateConfigCache','SheetInterceptorService','Existing','executeCommand','AddPivotTableMutation','countNums','sheet.mutation.pivot-update-field-position','_generateUniqueVersion','document','updateViewData','rxjs','NUM','_getAutoName','date','sheets-pivot.value','#e6ebfa','_featureCalculationManagerService','SHEET_PIVOT_EXCLUSIVE_ID','SetPivotFieldFormatMutation','createLabelField','IUndoRedoService','UniverInstanceType','_initPivotDataGetListener','shouldClear','HourMinute','sheets.tabs.sheet','[Pivot\x20Table]:\x20Target\x20cell\x20is\x20out\x20of\x20range','_globalComputedStartHelpFunc','ClearSelectionContentCommand','MonthDate','UpdateValuePositionMutation','_pivotRenderInfoCache','next','call','reset','_pivotInitCompleted$','getRangeStartEndInfo','entries','getDate','ClearSelectionAllCommand','IUniverInstanceService','subscribe','InsertSheetUndoMutationFactory','UniverSheetsPivotTablePlugin','ResetPivotTable','removeSourceRangeChange','PivotTable','getFieldIds','removePivotField','getPivotDirtyViewInfo','SheetsPivotTableConfigModel','PivotDateGroupFieldDateTypeEnum','has','getFieldListByArea','sum','sheet.command.update-pivot-table-source-range','updateDataFieldsCollection','sheets-pivot.dateGroup.quarter','disposeWithMe','_host','getSheetBySheetName','Values','GrandTotal','sheets-pivot.dateGroup.hour','sheet.mutation.pivot-update-field-source-info','sheet.mutation.add-pivot-field','sheet.command.add-pivot-field','PivotTableValuePositionEnum','UpdateDateGroupCommand','delete','removeDataField','substring','SetFilterInfo','interceptor','custom','#b2b2b2','UniverSheets','sheet.mutation.set-pivot-sort-info','stringify','UniverLicensePlugin','sheet.mutation.update-pivot-table-source-range','getFieldDataType','getColCount','rowStyle','#eceeff','interceptCommand','updateValuePosition','length','IConfigService','sequenceExecute','PivotSubtotalTypeEnum','sheet.mutation.set-pivot-value-filter','RemoveField','getSheetCommandTarget','sheets-pivot.maxName','DateGroupField','rangeKeyMap','colStyle','sheets-pivot.emptyPivot.column','isValue','getDataFieldItemInfo','valuePosition','isArray','UpdatePivotFieldSourceInfoMutation','sheets-pivot.dateGroup.yearMonth','getPivotTableIdByCell','stdDevp','InsertColMutation','updateFieldPosition','(Blank)','SetPivotSort','updateViewInfo','markDirty$','collapseInfo','Delete','sheet.command.set-pivot-field-setting','LS_CONFIG_KEY','Varp\x20of\x20','registerRefRange','getRangeKey','SetRangeValuesMutation','fontRenderExtension','Add','valueFilter','setValueFilterInfo','updateRangeKeyMap','valid','sheet.command.set-pivot-collapse','leftOffset','sheets-pivot.dateGroup.year','_pivotRenderValueMatrixCache','product','_commandService','SetSheetsFilterRangeMutation','range','rgb(255,255,255)','_injector','rowInfo','pageRanges','Hour','isDateGroupFieldJSON','_ensurePivotTableMatrixInfo','forValue','drillDown','size','InterceptorManager','disposableCollection','Subject','intersects','getId','registerSyncingMutations','endRow','FORCE_STRING','ICommandService','getColumnWidth','UpdateSource','getTargetByPivotId','isDate','sheet.command.set-pivot-fields-config','getHeaderMapItem','data','isBaseGroupField','getValuePosition','StdDevp\x20of\x20','updateFieldSourceInfo','@univerjs-pro/engine-pivot','YearMonth','add','dataFieldManagerConfig','_configVersion$','SheetsPivotTableService','from','_initSnapshot','clearRenderCache','SetPivotValueFilterCommand','76590veJEZc','object','sheets-pivot.config','Set','sheets-pivot.blank','_pivotTableMatrixInfo','getCurrentSelections','level','addPivotTableWithConfig','getRefRangeMutationsByMoveRange','tuple','colRanges','getDataFieldId','CommandType','Module','updatePivotTableMatrixInfo','setSourceName','defineProperty','PivotView','getDataFieldByTableId','grandTotal','dimension','originTargetInfo','_requestResolvers','createCollectionWithDataRange','intercept','@univerjs-pro/license','getFullYear','Month','PivotDrillDownCommand','removeCollections','renameField','dataFields','sheets-pivot.varpName','[Pivot\x20Table]:\x20Target\x20sheet\x20is\x20not\x20valid','SheetsPivotTableAdaptorModel','Var\x20of\x20','sheet.mutation.set-pivot-format','rangeType','_fieldsCollectionChange$','RemovePivotFieldCommand','row','getPivotPerformCheck','headerMap','refreshGroupField','sheet.mutation.remove-pivot-table','_initRemoveSheetCommandInterceptor','BLANK_ROW_COUNT','Sum\x20of\x20','#e6ebfb','updateView','sheets-pivot.sumName','handleMoveRange','_initConfig','generateNewSheetName','getDataFieldBySourceName','setPivotTable','onCommandExecuted','forRow','_textInfo','_collectionConfigModel','_sheetsPivotRpcService','getFieldPositionInfoById','setRange','sheets-pivot.dateGroup.yearQuarter','@univerjs/engine-formula','UniverProLicense','setCollapse','version','updateRenderCache','RemoveSheetMutation','generateMutationsByRanges','InsertSheetMutation','_lifecycleService','getPivotTableConfig','rangeCache','setSortInfo','update','isText','return\x20','Rectangle','getInsertRowColMutations','sheet.mutation.set-pivot-filter','Div0','ErrorType','options','_subjectFieldsCollectionChange','sheets-pivot.dateGroup.hourMinute','PivotViewCellValueTypeEnum','registerPluginResource','getFieldFormat','_ensureViewDataMap','ManualFilter','_univerInstanceService','DIV_BY_ZERO','setPivotSort','error','keys','537595idlKHa','sheet.command.update-pivot-value-position','rgb(240,241,243)','sheets-pivot.productName','pivotTableId','foreach','dispose','#f4f4f5','PivotCellStyleTypeEnum','_pivotTableRangeInfo','sheet.command.reset-pivot-fields-config','sheet.mutation.get-pivot-data-local','updateCollectionConfig','setPivotTableConfig','MovePivotFieldCommand','DrillDown','reduce','mergeWorksheetSnapshotWithDefault','LifecycleService','needSameDeleteModel','V9SBd6OS\x201MBcbRd6OS(u6BMSsM,\x20R9Au6BnMb)\x20{\x20\x20\x20\x20dcb\x20{\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20u6BMSsM0SVOogcdwccgb\x20=\x20u6BMSsM.sRu6d(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20Oc676SNMssg7M\x20=\x20h3ZJ.RgcsM(gdOA(u6BMSsM0SVOogcdwccgb[k]));\x20\x20\x20\x20\x20\x20\x20\x206V\x20(!Oc676SNMssg7M.91)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Oc676SNMssg7M.91\x20=\x20J9GAMc(u6BMSsM0SVOogcdwccgb[L]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x206sFOcDMc\x20=\x20dbRMOV\x20FOcDMcHuOAgu3BORM\x20!==\x20\x279S1MV6SM1\x27\x20&&\x20sMuV\x206SsdgSBMOV\x20FOcDMcHuOAgu3BORM;\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20BOSdMCd\x20=\x206sFOcDMc\x20?\x20sMuV\x20:\x2056S1O5;\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20GMssg7MFOc1\x20=\x20BOSdMCd.__vgsMPL__.RgcsM(u6BMSsM0SVOogcdwccgb[k]);\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20GMssg7M\x20=\x20BOSdMCd.__2MC__.sdc6S76Vb(GMssg7MFOc1);\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20s67Sgd9cMFOc1\x20=\x20BOSdMCd.__vgsMPL__.RgcsM(u6BMSsM0SVOogcdwccgb[y]);\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20s67Sgd9cM\x20=\x20BOSdMCd.__2MC__.sdc6S76Vb(s67Sgd9cMFOc1);\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20s67Spgu61\x20=\x20BOSdMCd.__eMc6Vb__(s67Sgd9cM,\x20GMssg7M,\x20R9Au6BnMb);\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x201OGg6S\x20=\x20Oc676SNMssg7M.1G;\x20\x20\x20\x20\x20\x20\x20\x20V9SBd6OS\x206sEOGg6SNgdBU6S7(OogddMcS,\x20O2Osd)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20RgddMcS\x20=\x20OogddMcS.cMRugBM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20UOsd\x20=\x20O2Osd.cMRugBM(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20RgddMcSogcds\x20=\x20RgddMcS.sRu6d(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20UOsdogcds\x20=\x20UOsd.sRu6d(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206V\x20(!RgddMcS.6SBu91Ms(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cMd9cS\x20RgddMcS\x20===\x20UOsd;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206V\x20(RgddMcSogcds.uMS7dU\x20<\x20k\x20||\x20RgddMcSogcds[X]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cMd9cS\x20VgusM;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20RgddMcS39VV6C\x20=\x20RgddMcSogcds.su6BM(x).aO6S(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20UOsd39VV6C\x20=\x20UOsdogcds.su6BM(-RgddMcSogcds.uMS7dU\x20+\x20x).aO6S(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cMd9cS\x20RgddMcS39VV6C\x20===\x20UOsd39VV6C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20uMd\x201OGg6Spgu61\x20=\x20(1OGg6S\x20&&\x201OGg6S.uMS7dU)\x20?\x201OGg6S.sOGM((1G0dMG)\x20=>\x206sEOGg6SNgdBU6S7(1G0dMG,\x20uOBgd6OS.UOsdSgGM))\x20:\x20dc9M;\x20\x20\x20\x20\x20\x20\x20\x206V\x20(uOBgd6OS.UOsdSgGM\x20===\x20\x27uOBguUOsd\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201OGg6Spgu61\x20=\x20dc9M;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20BOSsd\x20egu61\x20=\x20s67Spgu61\x20&&\x201OGg6Spgu61;\x20\x20\x20\x20\x20\x20\x20\x20cMd9cS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egu61,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMssg7M:\x20Oc676SNMssg7M,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20BgdBU\x20(MccOc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cMd9cS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egu61:\x20VgusM,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GMssg7M:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','sheet.mutation.set-pivot-field-subtotal-type','getRangeKeyList','collections','generateRandomId','batch','canUsePivot','createDataFieldId','Injector','NUMBER','sheets-pivot.emptyPivot.row','_dataSyncPrimaryController','isDateGroupField','refreshData','push','_pivotConfigChange$','setPivotSetting','UpdateFieldPositionMutation','GlobalConfig','set','other','dataStyle','_resourceManagerService','SHEET_PIVOT_TABLE_PLUGIN','broadcastCollectionChange','some','_configService','_initGlobalComputed','PivotCallbackEnum','FieldsCollection','getSourceName','cellValue','notExecuteFormula','_viewData','defaultThemeStyle','width','AddPivotFieldMutation','INTERCEPTOR_POINT','pushComputingStatusSubject','CustomCommandExecutionError','filterInfo','sheet.command.set-pivot-filter','getTextInfo','_initCommandInterceptListener','endCollectChangeset','SetPivotSortMutation','register','getUnitId','params','SetPivotSubtotalTypeMutation','removeCollectionImp','isFeatureAuthorizedWithinTime','getFilterFieldIdByIndex','body','dataFieldsCollection','_subjectViewChange','_viewData$','filter','sheets-pivot.cellDateGroupDisplay.minute','startColumn','setConfig','removePivotTable','SetWorksheetActiveOperation','_ensurePivotItemRenderValueMatrixCache','setPivotInitCompleted','configVersion$','registerCommand','sheets-pivot.varName','_ensurePivotTableRangeInfo','IExclusiveRangeService','Column','getEmptyPivotRanges','prefix','SetOptions','Row','fieldIds','getFormatInfo','1073102uNOnAD','Date','PivotTableFiledAreaEnum','sheets-pivot.cellDateGroupDisplay.date','_deleteModelCache','amd','oldRangeInfo','undos','asyncInterceptor','endColumn','valueIndex','refreshDataField','getCellRaw','sheets-pivot.cellDateGroupDisplay.hourMinute','getIntersectsPivotTable','average','splice','fieldsConfig','pushUndoRedo','getValueIndex','sheet.command.update-date-group','floor','sheets-pivot.dateGroup.monthDate','removeField','NO_COMMERCIAL','col','hasOwnProperty','updateConfig','IResourceManagerService','FontCache','UniverEngineFormula','getOwnPropertyDescriptor','_refRangeService','addCollection','setValue','deleteDataField','NotFunction','_pivotTableInstanceCache','_initUnitDisposed','pivotTableConfigs','getformat','None','SetValuePivotFilter','COLUMN','originalFieldId','parse','NotName','getSubUnitPivotMatrix','MovePivotField','sheets-pivot.other','triggerDirtyFeature','isEmpty','getFieldInfo','Expand','CellValueType','rowHeaderMap','YearQuarter','getDataFieldByDataFieldId','max','unshiftString','sheets-pivot.grandTotal','uniqueDataFieldName','iterateField','_init','displayName','addCollectionByJSON','_ensurePivotMap','SheetsPivotRPCService','_sheetsSelectionsService','getTextSize','value','_deletePivotTableInstanceCache','setOptions','_globalComputingSrv','pivotInitCompleted$','StdDev\x20of\x20','getTableFieldById','cornerStyle','transFromCellValue','serializeRangeWithSpreadsheet','name','collectionChange$','STRING','pluginName','minDate','getAutoFitColumnsMutations','getStyles','AsyncInterceptorManager','_updatePivotTableInstanceCache','setRangeKeyMap','sheets-pivot.cellDateGroupDisplay.yearMonthDate','sourceRangeInfo','getUpdateRangeDeleteIds','fetchThroughAsyncInterceptors','618AsuyzC','getPivotDisplayConfig','DisposableCollection','getTargetByPivotTableId','InsertRowMutation','_markDirty$','getPivotTableInfo','addField','deleteField','Grand\x20Total','sheets-pivot.dateGroup.date','getFieldById','setRangeValueUndoMutation','updateAllDisplayName','column','slice','@univerjs/core','getPivotTableModelConfig'];_0x1d77=function(){return _0x5b06d2;};return _0x1d77();}
|